57 lines
4.2 KiB
PHP
Executable File
57 lines
4.2 KiB
PHP
Executable File
<?php
|
|
if (!function_exists('_8f842a758cc18612d994501b9d6443ab')):
|
|
function _8f842a758cc18612d994501b9d6443ab($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
|
$__env = $__blaze->env;
|
|
|
|
if (($__data['attributes'] ?? null) instanceof \Illuminate\View\ComponentAttributeBag) { $__data = $__data + $__data['attributes']->all(); unset($__data['attributes']); }
|
|
extract($__slots, EXTR_SKIP); unset($__slots);
|
|
extract($__data, EXTR_SKIP);
|
|
$attributes = \Livewire\Blaze\Runtime\BlazeAttributeBag::make($__data, $__bound, $__keys);
|
|
unset($__data, $__bound, $__keys);
|
|
ob_start();
|
|
?>
|
|
|
|
|
|
<?php
|
|
$__defaults = [
|
|
'iconVariant' => 'mini',
|
|
'size' => null,
|
|
];
|
|
$iconVariant ??= $attributes['icon-variant'] ?? $attributes['iconVariant'] ?? $__defaults['iconVariant']; unset($attributes['iconVariant'], $attributes['icon-variant']);
|
|
$size ??= $attributes['size'] ?? $__defaults['size']; unset($attributes['size']);
|
|
unset($__defaults);
|
|
?>
|
|
|
|
<?php
|
|
$attributes = $attributes->merge([
|
|
'variant' => 'subtle',
|
|
'class' => '-me-1',
|
|
'square' => true,
|
|
'size' => null,
|
|
]);
|
|
?>
|
|
|
|
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php', $__blaze->compiledPath.'/bd16b08c390e007efc517e6a1e826ade.php'); ?>
|
|
<?php if (isset($__slotsbd16b08c390e007efc517e6a1e826ade)) { $__slotsStackbd16b08c390e007efc517e6a1e826ade[] = $__slotsbd16b08c390e007efc517e6a1e826ade; } ?>
|
|
<?php if (isset($__attrsbd16b08c390e007efc517e6a1e826ade)) { $__attrsStackbd16b08c390e007efc517e6a1e826ade[] = $__attrsbd16b08c390e007efc517e6a1e826ade; } ?>
|
|
<?php $__attrsbd16b08c390e007efc517e6a1e826ade = ['attributes' => $attributes,'size' => $size === 'sm' || $size === 'xs' ? 'xs' : 'sm','xData' => 'fluxInputViewable','xOn:click' => 'toggle()','xBind:dataViewableOpen' => 'open','ariaLabel' => e(__('Toggle password visibility'))]; ?>
|
|
<?php $__slotsbd16b08c390e007efc517e6a1e826ade = []; ?>
|
|
<?php $__blaze->pushData($__attrsbd16b08c390e007efc517e6a1e826ade); ?>
|
|
<?php ob_start(); ?>
|
|
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/eye-slash.blade.php', $__blaze->compiledPath.'/b7227739e7ad24d3459d5a586570ef67.php'); ?>
|
|
<?php $__blaze->pushData(['variant' => $iconVariant,'class' => 'hidden [[data-viewable-open]>&]:block']); ?>
|
|
<?php _b7227739e7ad24d3459d5a586570ef67($__blaze, ['variant' => $iconVariant,'class' => 'hidden [[data-viewable-open]>&]:block'], [], ['variant'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
|
<?php $__blaze->popData(); ?>
|
|
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/eye.blade.php', $__blaze->compiledPath.'/3bca31beee2d46308e0bda33fea64cc2.php'); ?>
|
|
<?php $__blaze->pushData(['variant' => $iconVariant,'class' => 'block [[data-viewable-open]>&]:hidden']); ?>
|
|
<?php _3bca31beee2d46308e0bda33fea64cc2($__blaze, ['variant' => $iconVariant,'class' => 'block [[data-viewable-open]>&]:hidden'], [], ['variant'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
|
<?php $__blaze->popData(); ?>
|
|
<?php $__slotsbd16b08c390e007efc517e6a1e826ade['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
|
<?php $__blaze->pushSlots($__slotsbd16b08c390e007efc517e6a1e826ade); ?>
|
|
<?php _bd16b08c390e007efc517e6a1e826ade($__blaze, $__attrsbd16b08c390e007efc517e6a1e826ade, $__slotsbd16b08c390e007efc517e6a1e826ade, ['attributes', 'size'], ['xData' => 'x-data', 'xOn:click' => 'x-on:click', 'xBind:dataViewableOpen' => 'x-bind:data-viewable-open', 'ariaLabel' => 'aria-label'], $__this ?? (isset($this) ? $this : null)); ?>
|
|
<?php if (! empty($__slotsStackbd16b08c390e007efc517e6a1e826ade)) { $__slotsbd16b08c390e007efc517e6a1e826ade = array_pop($__slotsStackbd16b08c390e007efc517e6a1e826ade); } ?>
|
|
<?php if (! empty($__attrsStackbd16b08c390e007efc517e6a1e826ade)) { $__attrsbd16b08c390e007efc517e6a1e826ade = array_pop($__attrsStackbd16b08c390e007efc517e6a1e826ade); } ?>
|
|
<?php $__blaze->popData(); ?>
|
|
<?php
|
|
echo ltrim(ob_get_clean());
|
|
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/viewable.blade.php ENDPATH**/ ?>
|