Files
WMS/storage/framework/views/e9fe329cbd986d5723d2692e449cddae.php
T

336 lines
26 KiB
PHP
Executable File

<?php
if (!function_exists('_e9fe329cbd986d5723d2692e449cddae')):
function _e9fe329cbd986d5723d2692e449cddae($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
$__env = $__blaze->env;
$errors = $__blaze->errors;
$__slots['slot'] ??= new \Illuminate\View\ComponentSlot('');
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 $iconTrailing ??= $attributes->pluck('icon:trailing'); ?>
<?php $iconLeading ??= $attributes->pluck('icon:leading'); ?>
<?php $iconVariant ??= $attributes->pluck('icon:variant'); ?>
<?php $maskDynamic ??= $attributes->pluck('mask:dynamic'); ?>
<?php
$__defaults = [
'name' => $attributes->whereStartsWith('wire:model')->first(),
'iconVariant' => 'mini',
'variant' => 'outline',
'iconTrailing' => null,
'iconLeading' => null,
'maskDynamic' => null,
'expandable' => null,
'clearable' => null,
'copyable' => null,
'viewable' => null,
'invalid' => null,
'loading' => null,
'type' => 'text',
'mask' => null,
'size' => null,
'icon' => null,
'kbd' => null,
'as' => null,
];
$name ??= $attributes['name'] ?? $__defaults['name']; unset($attributes['name']);
$iconVariant ??= $attributes['icon-variant'] ?? $attributes['iconVariant'] ?? $__defaults['iconVariant']; unset($attributes['iconVariant'], $attributes['icon-variant']);
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
$iconTrailing ??= $attributes['icon-trailing'] ?? $attributes['iconTrailing'] ?? $__defaults['iconTrailing']; unset($attributes['iconTrailing'], $attributes['icon-trailing']);
$iconLeading ??= $attributes['icon-leading'] ?? $attributes['iconLeading'] ?? $__defaults['iconLeading']; unset($attributes['iconLeading'], $attributes['icon-leading']);
$maskDynamic ??= $attributes['mask-dynamic'] ?? $attributes['maskDynamic'] ?? $__defaults['maskDynamic']; unset($attributes['maskDynamic'], $attributes['mask-dynamic']);
$expandable ??= $attributes['expandable'] ?? $__defaults['expandable']; unset($attributes['expandable']);
$clearable ??= $attributes['clearable'] ?? $__defaults['clearable']; unset($attributes['clearable']);
$copyable ??= $attributes['copyable'] ?? $__defaults['copyable']; unset($attributes['copyable']);
$viewable ??= $attributes['viewable'] ?? $__defaults['viewable']; unset($attributes['viewable']);
$invalid ??= $attributes['invalid'] ?? $__defaults['invalid']; unset($attributes['invalid']);
$loading ??= $attributes['loading'] ?? $__defaults['loading']; unset($attributes['loading']);
$type ??= $attributes['type'] ?? $__defaults['type']; unset($attributes['type']);
$mask ??= $attributes['mask'] ?? $__defaults['mask']; unset($attributes['mask']);
$size ??= $attributes['size'] ?? $__defaults['size']; unset($attributes['size']);
$icon ??= $attributes['icon'] ?? $__defaults['icon']; unset($attributes['icon']);
$kbd ??= $attributes['kbd'] ?? $__defaults['kbd']; unset($attributes['kbd']);
$as ??= $attributes['as'] ?? $__defaults['as']; unset($attributes['as']);
unset($__defaults);
?>
<?php
$inputAttributes = Flux::attributesAfter('input:', $attributes, []);
// There are a few loading scenarios that this covers:
// If `:loading="false"` then never show loading.
// If `:loading="true"` then always show loading.
// If `:loading="foo"` then show loading when `foo` request is happening.
// If `wire:model` then never show loading.
// If `wire:model.live` then show loading when the `wire:model` value request is happening.
$wireModel = $attributes->wire('model');
$wireTarget = null;
if ($loading !== false) {
if ($loading === true) {
$loading = true;
} elseif ($wireModel?->directive) {
$loading = $wireModel->hasModifier('live');
$wireTarget = $loading ? $wireModel->value() : null;
} else {
$wireTarget = $loading;
$loading = (bool) $loading;
}
}
$iconLeading ??= $icon;
$hasLeadingIcon = (bool) ($iconLeading);
$countOfTrailingIcons = collect([
(bool) $iconTrailing,
(bool) $kbd,
(bool) $clearable,
(bool) $copyable,
(bool) $viewable,
(bool) $expandable,
])->filter()->count();
$iconClasses = Flux::classes()
// When using the outline icon variant, we need to size it down to match the default icon sizes...
->add($iconVariant === 'outline' ? 'size-5' : '')
;
$inputLoadingClasses = Flux::classes()
// When loading, we need to add some extra padding to the input to account for the loading icon...
->add(match ($countOfTrailingIcons) {
0 => 'pe-10',
1 => 'pe-16',
2 => 'pe-23',
3 => 'pe-30',
4 => 'pe-37',
5 => 'pe-44',
6 => 'pe-51',
})
;
$classes = Flux::classes()
->add('w-full border rounded-lg block disabled:shadow-none dark:shadow-none')
->add('appearance-none') // Without this, input[type="date"] on mobile doesn't respect w-full...
->add(match ($size) {
default => 'text-base sm:text-sm py-2 h-10 leading-[1.375rem]', // This makes the height of the input 40px (same as buttons and such...)
'sm' => 'text-sm py-1.5 h-8 leading-[1.125rem]',
'xs' => 'text-xs py-1.5 h-6 leading-[1.125rem]',
})
->add(match ($hasLeadingIcon) {
true => 'ps-10',
false => 'ps-3',
})
->add(match ($countOfTrailingIcons) {
// Make sure there's enough padding on the right side of the input to account for all the icons...
0 => 'pe-3',
1 => 'pe-10',
2 => 'pe-16',
3 => 'pe-23',
4 => 'pe-30',
5 => 'pe-37',
6 => 'pe-44',
})
->add(match ($variant) { // Background...
'outline' => 'bg-white dark:bg-white/10 dark:disabled:bg-white/[7%]',
'filled' => 'bg-zinc-800/5 dark:bg-white/10 dark:disabled:bg-white/[7%]',
})
->add(match ($variant) { // Text color
'outline' => 'text-zinc-700 disabled:text-zinc-500 placeholder-zinc-400 disabled:placeholder-zinc-400/70 dark:text-zinc-300 dark:disabled:text-zinc-400 dark:placeholder-zinc-400 dark:disabled:placeholder-zinc-500',
'filled' => 'text-zinc-700 placeholder-zinc-500 disabled:placeholder-zinc-400 dark:text-zinc-200 dark:placeholder-white/60 dark:disabled:placeholder-white/40',
})
->add(match ($variant) { // Border...
'outline' => 'shadow-xs border-zinc-200 border-b-zinc-300/80 disabled:border-b-zinc-200 dark:border-white/10 dark:disabled:border-white/5',
'filled' => 'border-0',
})
->add(match ($variant) { // Invalid...
'outline' => 'data-invalid:shadow-none data-invalid:border-red-500 dark:data-invalid:border-red-500 disabled:data-invalid:border-red-500 dark:disabled:data-invalid:border-red-500',
'filled' => 'data-invalid:border-red-500'
})
->add($attributes->pluck('class:input'))
;
?>
<?php if ($type === 'file'): ?>
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/with-field.blade.php', $__blaze->compiledPath.'/c47a7698d859fe0603a8ccaf476ef2fa.php'); ?>
<?php if (isset($__slotsc47a7698d859fe0603a8ccaf476ef2fa)) { $__slotsStackc47a7698d859fe0603a8ccaf476ef2fa[] = $__slotsc47a7698d859fe0603a8ccaf476ef2fa; } ?>
<?php if (isset($__attrsc47a7698d859fe0603a8ccaf476ef2fa)) { $__attrsStackc47a7698d859fe0603a8ccaf476ef2fa[] = $__attrsc47a7698d859fe0603a8ccaf476ef2fa; } ?>
<?php $__attrsc47a7698d859fe0603a8ccaf476ef2fa = ['attributes' => $attributes,'name' => $name]; ?>
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa = []; ?>
<?php $__blaze->pushData($__attrsc47a7698d859fe0603a8ccaf476ef2fa); ?>
<?php ob_start(); ?>
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/file.blade.php', $__blaze->compiledPath.'/c89f043107b28069800e6228c61d599c.php'); ?>
<?php $__blaze->pushData(['attributes' => $attributes,'name' => $name,'size' => $size]); ?>
<?php _c89f043107b28069800e6228c61d599c($__blaze, ['attributes' => $attributes,'name' => $name,'size' => $size], [], ['attributes', 'name', 'size'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php $__blaze->popData(); ?>
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
<?php $__blaze->pushSlots($__slotsc47a7698d859fe0603a8ccaf476ef2fa); ?>
<?php _c47a7698d859fe0603a8ccaf476ef2fa($__blaze, $__attrsc47a7698d859fe0603a8ccaf476ef2fa, $__slotsc47a7698d859fe0603a8ccaf476ef2fa, ['attributes', 'name'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php if (! empty($__slotsStackc47a7698d859fe0603a8ccaf476ef2fa)) { $__slotsc47a7698d859fe0603a8ccaf476ef2fa = array_pop($__slotsStackc47a7698d859fe0603a8ccaf476ef2fa); } ?>
<?php if (! empty($__attrsStackc47a7698d859fe0603a8ccaf476ef2fa)) { $__attrsc47a7698d859fe0603a8ccaf476ef2fa = array_pop($__attrsStackc47a7698d859fe0603a8ccaf476ef2fa); } ?>
<?php $__blaze->popData(); ?>
<?php elseif ($as !== 'button'): ?>
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/with-field.blade.php', $__blaze->compiledPath.'/c47a7698d859fe0603a8ccaf476ef2fa.php'); ?>
<?php if (isset($__slotsc47a7698d859fe0603a8ccaf476ef2fa)) { $__slotsStackc47a7698d859fe0603a8ccaf476ef2fa[] = $__slotsc47a7698d859fe0603a8ccaf476ef2fa; } ?>
<?php if (isset($__attrsc47a7698d859fe0603a8ccaf476ef2fa)) { $__attrsStackc47a7698d859fe0603a8ccaf476ef2fa[] = $__attrsc47a7698d859fe0603a8ccaf476ef2fa; } ?>
<?php $__attrsc47a7698d859fe0603a8ccaf476ef2fa = ['attributes' => $attributes,'name' => $name]; ?>
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa = []; ?>
<?php $__blaze->pushData($__attrsc47a7698d859fe0603a8ccaf476ef2fa); ?>
<?php ob_start(); ?>
<div <?php echo e($attributes->only('class')->class('w-full relative block group/input')); ?> data-flux-input>
<?php if (is_string($iconLeading)): ?>
<div class="pointer-events-none absolute top-0 bottom-0 border-s border-transparent flex items-center justify-center text-xs text-zinc-400/75 dark:text-white/60 ps-3 start-0">
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $iconLeading, 'variant' => $iconVariant, 'class' => $iconClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
<?php $__blaze->pushData(['icon' => $iconLeading,'variant' => $iconVariant,'class' => $iconClasses]); ?>
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconLeading,'variant' => $iconVariant,'class' => $iconClasses], [], ['icon', 'variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
</div>
<?php elseif ($iconLeading): ?>
<div <?php echo e($iconLeading->attributes->class('absolute top-0 bottom-0 border-s border-transparent flex items-center justify-center text-xs text-zinc-400/75 dark:text-white/60 ps-3 start-0')); ?>>
<?php echo e($iconLeading); ?>
</div>
<?php endif; ?>
<input
type="<?php echo e($type); ?>"
<?php echo e($attributes->except('class')->class($type === 'file' ? '' : $classes)->merge($inputAttributes->getAttributes())); ?>
<?php if (isset($name)): ?> name="<?php echo e($name); ?>" <?php endif; ?>
<?php if ($maskDynamic): ?> x-mask:dynamic="<?php echo e($maskDynamic); ?>" <?php elseif($mask): ?> x-mask="<?php echo e($mask); ?>" <?php endif; ?>
<?php if (is_numeric($size)): ?> size="<?php echo e($size); ?>" <?php endif; ?>
<?php $__getScope = fn($scope = []) => $scope; ?><?php if (isset($scope)) $__scope = $scope; ?><?php $scope = $__getScope(scope: ['name' => $name ?? null, 'invalid' => $invalid ?? false]); ?>
<?php if ($scope['invalid'] || ($scope['name'] && $errors->has($scope['name']))): ?>
aria-invalid="true" data-invalid
<?php endif; ?>
<?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
data-flux-control
data-flux-group-target
<?php if($loading): ?> wire:loading.class="<?php echo e($inputLoadingClasses); ?>" <?php endif; ?>
<?php if($loading && $wireTarget): ?> wire:target="<?php echo e($wireTarget); ?>" <?php endif; ?>
>
<?php if ($loading || $countOfTrailingIcons > 0): ?>
<div class="absolute top-0 bottom-0 flex items-center gap-x-1.5 pe-2 border-e border-transparent end-0 text-xs text-zinc-400">
<?php if ($loading): ?>
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['name' => 'loading', 'variant' => $iconVariant, 'class' => $iconClasses, 'wire:loading' => true, 'wire:target' => $wireTarget]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
<?php $__blaze->pushData(['name' => 'loading','variant' => $iconVariant,'class' => $iconClasses,'wire:loading' => true,'wire:target' => $wireTarget]); ?>
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['name' => 'loading','variant' => $iconVariant,'class' => $iconClasses,'wire:loading' => true,'wire:target' => $wireTarget], [], ['variant', 'class', 'wire:loading', 'wire:target'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
<?php endif; ?>
<?php if ($clearable): ?>
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::input.clearable", ['inset' => 'left right', 'size' => $size, 'iconVariant' => $iconVariant]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/clearable.blade.php', $__blaze->compiledPath.'/7a1c4f952f71a97d0e2b4ce66d93baaf.php'); ?>
<?php $__blaze->pushData(['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant]); ?>
<?php _7a1c4f952f71a97d0e2b4ce66d93baaf($__blaze, ['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant], [], ['size', 'iconVariant'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
<?php endif; ?>
<?php if ($kbd): ?>
<span class="pointer-events-none"><?php echo e($kbd); ?></span>
<?php endif; ?>
<?php if ($expandable): ?>
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::input.expandable", ['inset' => 'left right', 'size' => $size, 'iconVariant' => $iconVariant]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/expandable.blade.php', $__blaze->compiledPath.'/e63bd898651ebbc613fed6b95b240e9e.php'); ?>
<?php $__blaze->pushData(['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant]); ?>
<?php _e63bd898651ebbc613fed6b95b240e9e($__blaze, ['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant], [], ['size', 'iconVariant'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
<?php endif; ?>
<?php if ($copyable): ?>
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::input.copyable", ['inset' => 'left right', 'size' => $size, 'iconVariant' => $iconVariant]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/copyable.blade.php', $__blaze->compiledPath.'/c4638b451ec227822c5dbb8d95d29e34.php'); ?>
<?php $__blaze->pushData(['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant]); ?>
<?php _c4638b451ec227822c5dbb8d95d29e34($__blaze, ['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant], [], ['size', 'iconVariant'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
<?php endif; ?>
<?php if ($viewable): ?>
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::input.viewable", ['inset' => 'left right', 'size' => $size, 'iconVariant' => $iconVariant]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/viewable.blade.php', $__blaze->compiledPath.'/8f842a758cc18612d994501b9d6443ab.php'); ?>
<?php $__blaze->pushData(['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant]); ?>
<?php _8f842a758cc18612d994501b9d6443ab($__blaze, ['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant], [], ['size', 'iconVariant'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
<?php endif; ?>
<?php if (is_string($iconTrailing)): ?>
<?php
$trailingIconClasses = clone $iconClasses;
$trailingIconClasses->add('text-zinc-400/75 dark:text-white/60 pointer-events-none');
?>
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $iconTrailing, 'variant' => $iconVariant, 'class' => $trailingIconClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
<?php $__blaze->pushData(['icon' => $iconTrailing,'variant' => $iconVariant,'class' => $trailingIconClasses]); ?>
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconTrailing,'variant' => $iconVariant,'class' => $trailingIconClasses], [], ['icon', 'variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
<?php elseif ($iconTrailing): ?>
<?php echo e($iconTrailing); ?>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
<?php $__blaze->pushSlots($__slotsc47a7698d859fe0603a8ccaf476ef2fa); ?>
<?php _c47a7698d859fe0603a8ccaf476ef2fa($__blaze, $__attrsc47a7698d859fe0603a8ccaf476ef2fa, $__slotsc47a7698d859fe0603a8ccaf476ef2fa, ['attributes', 'name'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php if (! empty($__slotsStackc47a7698d859fe0603a8ccaf476ef2fa)) { $__slotsc47a7698d859fe0603a8ccaf476ef2fa = array_pop($__slotsStackc47a7698d859fe0603a8ccaf476ef2fa); } ?>
<?php if (! empty($__attrsStackc47a7698d859fe0603a8ccaf476ef2fa)) { $__attrsc47a7698d859fe0603a8ccaf476ef2fa = array_pop($__attrsStackc47a7698d859fe0603a8ccaf476ef2fa); } ?>
<?php $__blaze->popData(); ?>
<?php else: ?>
<button <?php echo e($attributes->merge(['type' => 'button'])->class([$classes, 'w-full relative flex'])); ?>>
<?php if (is_string($iconLeading)): ?>
<div class="absolute top-0 bottom-0 flex items-center justify-center text-xs text-zinc-400/75 ps-3 start-0">
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $iconLeading, 'variant' => $iconVariant, 'class' => $iconClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
<?php $__blaze->pushData(['icon' => $iconLeading,'variant' => $iconVariant,'class' => $iconClasses]); ?>
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconLeading,'variant' => $iconVariant,'class' => $iconClasses], [], ['icon', 'variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
</div>
<?php elseif ($iconLeading): ?>
<div <?php echo e($iconLeading->attributes->class('absolute top-0 bottom-0 flex items-center justify-center text-xs text-zinc-400/75 ps-3 start-0')); ?>>
<?php echo e($iconLeading); ?>
</div>
<?php endif; ?>
<?php if ($attributes->has('placeholder')): ?>
<div class="block self-center text-start flex-1 font-medium text-zinc-400 dark:text-white/40">
<?php echo e($attributes->get('placeholder')); ?>
</div>
<?php else: ?>
<div class="text-start self-center flex-1 font-medium text-zinc-800 dark:text-white">
<?php echo e($slot); ?>
</div>
<?php endif; ?>
<?php if ($kbd): ?>
<div class="absolute top-0 bottom-0 flex items-center justify-center text-xs text-zinc-400/75 pe-4 end-0">
<?php echo e($kbd); ?>
</div>
<?php endif; ?>
<?php if (is_string($iconTrailing)): ?>
<div class="absolute top-0 bottom-0 flex items-center justify-center text-xs text-zinc-400/75 pe-3 end-0">
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $iconTrailing, 'variant' => $iconVariant, 'class' => $iconClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
<?php $__blaze->pushData(['icon' => $iconTrailing,'variant' => $iconVariant,'class' => $iconClasses]); ?>
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconTrailing,'variant' => $iconVariant,'class' => $iconClasses], [], ['icon', 'variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
</div>
<?php elseif ($iconTrailing): ?>
<div <?php echo e($iconTrailing->attributes->class('absolute top-0 bottom-0 flex items-center justify-center text-xs text-zinc-400/75 pe-2 end-0')); ?>>
<?php echo e($iconTrailing); ?>
</div>
<?php endif; ?>
</button>
<?php endif; ?>
<?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/index.blade.php ENDPATH**/ ?>