major update for UI
This commit is contained in:
@@ -0,0 +1,154 @@
|
||||
<?php
|
||||
if (!function_exists('__0577bf0e84f411fae32f30b0a05b6d0b')):
|
||||
function __0577bf0e84f411fae32f30b0a05b6d0b($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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 $iconVariant ??= $attributes->pluck('icon:variant'); ?>
|
||||
|
||||
<?php
|
||||
$__defaults = [
|
||||
'iconVariant' => 'micro',
|
||||
'iconTrailing' => null,
|
||||
'variant' => null,
|
||||
'rounded' => null,
|
||||
'color' => null,
|
||||
'inset' => null,
|
||||
'size' => null,
|
||||
'icon' => null,
|
||||
'label' => null,
|
||||
];
|
||||
$iconVariant ??= $attributes['icon-variant'] ?? $attributes['iconVariant'] ?? $__defaults['iconVariant']; unset($attributes['iconVariant'], $attributes['icon-variant']);
|
||||
$iconTrailing ??= $attributes['icon-trailing'] ?? $attributes['iconTrailing'] ?? $__defaults['iconTrailing']; unset($attributes['iconTrailing'], $attributes['icon-trailing']);
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
$rounded ??= $attributes['rounded'] ?? $__defaults['rounded']; unset($attributes['rounded']);
|
||||
$color ??= $attributes['color'] ?? $__defaults['color']; unset($attributes['color']);
|
||||
$inset ??= $attributes['inset'] ?? $__defaults['inset']; unset($attributes['inset']);
|
||||
$size ??= $attributes['size'] ?? $__defaults['size']; unset($attributes['size']);
|
||||
$icon ??= $attributes['icon'] ?? $__defaults['icon']; unset($attributes['icon']);
|
||||
$label ??= $attributes['label'] ?? $__defaults['label']; unset($attributes['label']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
// Backwards compatibility for 'pill' variant...
|
||||
if ($variant === 'pill') {
|
||||
$rounded = true;
|
||||
$variant = null;
|
||||
}
|
||||
|
||||
$insetClasses = Flux::applyInset($inset, top: '-mt-1', right: '-me-2', bottom: '-mb-1', left: '-ms-2');
|
||||
|
||||
// When using the outline icon variant, we need to size it down to match the default icon sizes...
|
||||
$iconClasses = Flux::classes()
|
||||
->add($size === 'sm' ? 'size-3' : ($iconVariant === 'outline' ? 'size-4' : ''));
|
||||
|
||||
$classes = Flux::classes()
|
||||
->add('inline-flex items-center font-medium whitespace-nowrap')
|
||||
->add($insetClasses)
|
||||
->add('[print-color-adjust:exact]')
|
||||
->add(match ($size) {
|
||||
'lg' => 'text-sm py-1.5 **:data-flux-badge-icon:me-2',
|
||||
default => 'text-sm py-1 **:data-flux-badge-icon:me-1.5',
|
||||
'sm' => 'text-xs py-1 **:data-flux-badge-icon:me-1',
|
||||
})
|
||||
->add(match ($rounded) {
|
||||
true => 'rounded-full px-3',
|
||||
default => 'rounded-md px-2',
|
||||
})
|
||||
/**
|
||||
* We can't compile classes for each color because of variants color to color and Tailwind's JIT compiler.
|
||||
* We instead need to write out each one by hand. Sorry...
|
||||
*/
|
||||
->add($variant === 'solid' ? match ($color) {
|
||||
default => 'text-white dark:text-white bg-zinc-600 dark:bg-zinc-600 [&:is(button)]:hover:bg-zinc-700 dark:[button]:hover:bg-zinc-500',
|
||||
'red' => 'text-white dark:text-white bg-red-500 dark:bg-red-600 [&:is(button)]:hover:bg-red-600 dark:[button]:hover:bg-red-500',
|
||||
'orange' => 'text-white dark:text-white bg-orange-500 dark:bg-orange-600 [&:is(button)]:hover:bg-orange-600 dark:[button]:hover:bg-orange-500',
|
||||
'amber' => 'text-white dark:text-zinc-950 bg-amber-500 dark:bg-amber-500 [&:is(button)]:hover:bg-amber-600 dark:[button]:hover:bg-amber-400',
|
||||
'yellow' => 'text-white dark:text-zinc-950 bg-yellow-500 dark:bg-yellow-400 [&:is(button)]:hover:bg-yellow-600 dark:[button]:hover:bg-yellow-300',
|
||||
'lime' => 'text-white dark:text-white bg-lime-500 dark:bg-lime-600 [&:is(button)]:hover:bg-lime-600 dark:[button]:hover:bg-lime-500',
|
||||
'green' => 'text-white dark:text-white bg-green-500 dark:bg-green-600 [&:is(button)]:hover:bg-green-600 dark:[button]:hover:bg-green-500',
|
||||
'emerald' => 'text-white dark:text-white bg-emerald-500 dark:bg-emerald-600 [&:is(button)]:hover:bg-emerald-600 dark:[button]:hover:bg-emerald-500',
|
||||
'teal' => 'text-white dark:text-white bg-teal-500 dark:bg-teal-600 [&:is(button)]:hover:bg-teal-600 dark:[button]:hover:bg-teal-500',
|
||||
'cyan' => 'text-white dark:text-white bg-cyan-500 dark:bg-cyan-600 [&:is(button)]:hover:bg-cyan-600 dark:[button]:hover:bg-cyan-500',
|
||||
'sky' => 'text-white dark:text-white bg-sky-500 dark:bg-sky-600 [&:is(button)]:hover:bg-sky-600 dark:[button]:hover:bg-sky-500',
|
||||
'blue' => 'text-white dark:text-white bg-blue-500 dark:bg-blue-600 [&:is(button)]:hover:bg-blue-600 dark:[button]:hover:bg-blue-500',
|
||||
'indigo' => 'text-white dark:text-white bg-indigo-500 dark:bg-indigo-600 [&:is(button)]:hover:bg-indigo-600 dark:[button]:hover:bg-indigo-500',
|
||||
'violet' => 'text-white dark:text-white bg-violet-500 dark:bg-violet-600 [&:is(button)]:hover:bg-violet-600 dark:[button]:hover:bg-violet-500',
|
||||
'purple' => 'text-white dark:text-white bg-purple-500 dark:bg-purple-600 [&:is(button)]:hover:bg-purple-600 dark:[button]:hover:bg-purple-500',
|
||||
'fuchsia' => 'text-white dark:text-white bg-fuchsia-500 dark:bg-fuchsia-600 [&:is(button)]:hover:bg-fuchsia-600 dark:[button]:hover:bg-fuchsia-500',
|
||||
'pink' => 'text-white dark:text-white bg-pink-500 dark:bg-pink-600 [&:is(button)]:hover:bg-pink-600 dark:[button]:hover:bg-pink-500',
|
||||
'rose' => 'text-white dark:text-white bg-rose-500 dark:bg-rose-600 [&:is(button)]:hover:bg-rose-600 dark:[button]:hover:bg-rose-500',
|
||||
} : match ($color) {
|
||||
default => 'text-zinc-700 [&_button]:text-zinc-700! dark:text-zinc-200 dark:[&_button]:text-zinc-200! bg-zinc-400/15 dark:bg-zinc-400/40 [&:is(button)]:hover:bg-zinc-400/25 dark:[button]:hover:bg-zinc-400/50',
|
||||
'red' => 'text-red-700 [&_button]:text-red-700! dark:text-red-200 dark:[&_button]:text-red-200! bg-red-400/20 dark:bg-red-400/40 [&:is(button)]:hover:bg-red-400/30 dark:[button]:hover:bg-red-400/50',
|
||||
'orange' => 'text-orange-700 [&_button]:text-orange-700! dark:text-orange-200 dark:[&_button]:text-orange-200! bg-orange-400/20 dark:bg-orange-400/40 [&:is(button)]:hover:bg-orange-400/30 dark:[button]:hover:bg-orange-400/50',
|
||||
'amber' => 'text-amber-700 [&_button]:text-amber-700! dark:text-amber-200 dark:[&_button]:text-amber-200! bg-amber-400/25 dark:bg-amber-400/40 [&:is(button)]:hover:bg-amber-400/40 dark:[button]:hover:bg-amber-400/50',
|
||||
'yellow' => 'text-yellow-800 [&_button]:text-yellow-800! dark:text-yellow-200 dark:[&_button]:text-yellow-200! bg-yellow-400/25 dark:bg-yellow-400/40 [&:is(button)]:hover:bg-yellow-400/40 dark:[button]:hover:bg-yellow-400/50',
|
||||
'lime' => 'text-lime-800 [&_button]:text-lime-800! dark:text-lime-200 dark:[&_button]:text-lime-200! bg-lime-400/25 dark:bg-lime-400/40 [&:is(button)]:hover:bg-lime-400/35 dark:[button]:hover:bg-lime-400/50',
|
||||
'green' => 'text-green-800 [&_button]:text-green-800! dark:text-green-200 dark:[&_button]:text-green-200! bg-green-400/20 dark:bg-green-400/40 [&:is(button)]:hover:bg-green-400/30 dark:[button]:hover:bg-green-400/50',
|
||||
'emerald' => 'text-emerald-800 [&_button]:text-emerald-800! dark:text-emerald-200 dark:[&_button]:text-emerald-200! bg-emerald-400/20 dark:bg-emerald-400/40 [&:is(button)]:hover:bg-emerald-400/30 dark:[button]:hover:bg-emerald-400/50',
|
||||
'teal' => 'text-teal-800 [&_button]:text-teal-800! dark:text-teal-200 dark:[&_button]:text-teal-200! bg-teal-400/20 dark:bg-teal-400/40 [&:is(button)]:hover:bg-teal-400/30 dark:[button]:hover:bg-teal-400/50',
|
||||
'cyan' => 'text-cyan-800 [&_button]:text-cyan-800! dark:text-cyan-200 dark:[&_button]:text-cyan-200! bg-cyan-400/20 dark:bg-cyan-400/40 [&:is(button)]:hover:bg-cyan-400/30 dark:[button]:hover:bg-cyan-400/50',
|
||||
'sky' => 'text-sky-800 [&_button]:text-sky-800! dark:text-sky-200 dark:[&_button]:text-sky-200! bg-sky-400/20 dark:bg-sky-400/40 [&:is(button)]:hover:bg-sky-400/30 dark:[button]:hover:bg-sky-400/50',
|
||||
'blue' => 'text-blue-800 [&_button]:text-blue-800! dark:text-blue-200 dark:[&_button]:text-blue-200! bg-blue-400/20 dark:bg-blue-400/40 [&:is(button)]:hover:bg-blue-400/30 dark:[button]:hover:bg-blue-400/50',
|
||||
'indigo' => 'text-indigo-700 [&_button]:text-indigo-700! dark:text-indigo-200 dark:[&_button]:text-indigo-200! bg-indigo-400/20 dark:bg-indigo-400/40 [&:is(button)]:hover:bg-indigo-400/30 dark:[button]:hover:bg-indigo-400/50',
|
||||
'violet' => 'text-violet-700 [&_button]:text-violet-700! dark:text-violet-200 dark:[&_button]:text-violet-200! bg-violet-400/20 dark:bg-violet-400/40 [&:is(button)]:hover:bg-violet-400/30 dark:[button]:hover:bg-violet-400/50',
|
||||
'purple' => 'text-purple-700 [&_button]:text-purple-700! dark:text-purple-200 dark:[&_button]:text-purple-200! bg-purple-400/20 dark:bg-purple-400/40 [&:is(button)]:hover:bg-purple-400/30 dark:[button]:hover:bg-purple-400/50',
|
||||
'fuchsia' => 'text-fuchsia-700 [&_button]:text-fuchsia-700! dark:text-fuchsia-200 dark:[&_button]:text-fuchsia-200! bg-fuchsia-400/20 dark:bg-fuchsia-400/40 [&:is(button)]:hover:bg-fuchsia-400/30 dark:[button]:hover:bg-fuchsia-400/50',
|
||||
'pink' => 'text-pink-700 [&_button]:text-pink-700! dark:text-pink-200 dark:[&_button]:text-pink-200! bg-pink-400/20 dark:bg-pink-400/40 [&:is(button)]:hover:bg-pink-400/30 dark:[button]:hover:bg-pink-400/50',
|
||||
'rose' => 'text-rose-700 [&_button]:text-rose-700! dark:text-rose-200 dark:[&_button]:text-rose-200! bg-rose-400/20 dark:bg-rose-400/40 [&:is(button)]:hover:bg-rose-400/30 dark:[button]:hover:bg-rose-400/50',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button-or-div.blade.php', $__blaze->compiledPath.'/93abc76419b6a951751607e03ca2f829.php'); ?>
|
||||
<?php if (isset($__slots93abc76419b6a951751607e03ca2f829)) { $__slotsStack93abc76419b6a951751607e03ca2f829[] = $__slots93abc76419b6a951751607e03ca2f829; } ?>
|
||||
<?php if (isset($__attrs93abc76419b6a951751607e03ca2f829)) { $__attrsStack93abc76419b6a951751607e03ca2f829[] = $__attrs93abc76419b6a951751607e03ca2f829; } ?>
|
||||
<?php $__attrs93abc76419b6a951751607e03ca2f829 = ['attributes' => $attributes->class($classes),'dataFluxBadge' => true]; ?>
|
||||
<?php $__slots93abc76419b6a951751607e03ca2f829 = []; ?>
|
||||
<?php $__blaze->pushData($__attrs93abc76419b6a951751607e03ca2f829); ?>
|
||||
<?php ob_start(); ?>
|
||||
<?php if (is_string($icon) && $icon !== ''): ?>
|
||||
<?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' => $icon,'variant' => $iconVariant,'class' => $iconClasses,'dataFluxBadgeIcon' => true]); ?>
|
||||
<?php __1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $icon,'variant' => $iconVariant,'class' => $iconClasses,'dataFluxBadgeIcon' => true], [], ['icon', 'variant', 'class', 'dataFluxBadgeIcon'], ['dataFluxBadgeIcon' => 'data-flux-badge-icon'], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php else: ?>
|
||||
<?php echo e($icon); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo e($slot->isEmpty() ? $label : $slot); ?>
|
||||
|
||||
|
||||
<?php if ($iconTrailing): ?>
|
||||
<div class="ps-1 flex items-center" data-flux-badge-icon:trailing>
|
||||
<?php if (is_string($iconTrailing)): ?>
|
||||
<?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 else: ?>
|
||||
<?php echo e($iconTrailing); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php $__slots93abc76419b6a951751607e03ca2f829['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slots93abc76419b6a951751607e03ca2f829); ?>
|
||||
<?php __93abc76419b6a951751607e03ca2f829($__blaze, $__attrs93abc76419b6a951751607e03ca2f829, $__slots93abc76419b6a951751607e03ca2f829, ['attributes', 'dataFluxBadge'], ['dataFluxBadge' => 'data-flux-badge'], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStack93abc76419b6a951751607e03ca2f829)) { $__slots93abc76419b6a951751607e03ca2f829 = array_pop($__slotsStack93abc76419b6a951751607e03ca2f829); } ?>
|
||||
<?php if (! empty($__attrsStack93abc76419b6a951751607e03ca2f829)) { $__attrs93abc76419b6a951751607e03ca2f829 = array_pop($__attrsStack93abc76419b6a951751607e03ca2f829); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/badge/index.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if (!function_exists('__081909a3bddb07a6e0350158129ed54e')):
|
||||
function __081909a3bddb07a6e0350158129ed54e($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M9 17.25v1.007a3 3 0 0 1-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0 1 15 18.257V17.25m6-12V15a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 15V5.25m18 0A2.25 2.25 0 0 0 18.75 3H5.25A2.25 2.25 0 0 0 3 5.25m18 0V12a2.25 2.25 0 0 1-2.25 2.25H5.25A2.25 2.25 0 0 1 3 12V5.25"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M2.25 5.25a3 3 0 0 1 3-3h13.5a3 3 0 0 1 3 3V15a3 3 0 0 1-3 3h-3v.257c0 .597.237 1.17.659 1.591l.621.622a.75.75 0 0 1-.53 1.28h-9a.75.75 0 0 1-.53-1.28l.621-.622a2.25 2.25 0 0 0 .659-1.59V18h-3a3 3 0 0 1-3-3V5.25Zm1.5 0v7.5a1.5 1.5 0 0 0 1.5 1.5h13.5a1.5 1.5 0 0 0 1.5-1.5v-7.5a1.5 1.5 0 0 0-1.5-1.5H5.25a1.5 1.5 0 0 0-1.5 1.5Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M2 4.25A2.25 2.25 0 0 1 4.25 2h11.5A2.25 2.25 0 0 1 18 4.25v8.5A2.25 2.25 0 0 1 15.75 15h-3.105a3.501 3.501 0 0 0 1.1 1.677A.75.75 0 0 1 13.26 18H6.74a.75.75 0 0 1-.484-1.323A3.501 3.501 0 0 0 7.355 15H4.25A2.25 2.25 0 0 1 2 12.75v-8.5Zm1.5 0a.75.75 0 0 1 .75-.75h11.5a.75.75 0 0 1 .75.75v7.5a.75.75 0 0 1-.75.75H4.25a.75.75 0 0 1-.75-.75v-7.5Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M2 4.25A2.25 2.25 0 0 1 4.25 2h7.5A2.25 2.25 0 0 1 14 4.25v5.5A2.25 2.25 0 0 1 11.75 12h-1.312c.1.128.21.248.328.36a.75.75 0 0 1 .234.545v.345a.75.75 0 0 1-.75.75h-4.5a.75.75 0 0 1-.75-.75v-.345a.75.75 0 0 1 .234-.545c.118-.111.228-.232.328-.36H4.25A2.25 2.25 0 0 1 2 9.75v-5.5Zm2.25-.75a.75.75 0 0 0-.75.75v4.5c0 .414.336.75.75.75h7.5a.75.75 0 0 0 .75-.75v-4.5a.75.75 0 0 0-.75-.75h-7.5Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/computer-desktop.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if (!function_exists('__08facf36f2e0905b349bcb946edf77ad')):
|
||||
function __08facf36f2e0905b349bcb946edf77ad($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M12 3.75a.75.75 0 0 1 .75.75v6.75h6.75a.75.75 0 0 1 0 1.5h-6.75v6.75a.75.75 0 0 1-1.5 0v-6.75H4.5a.75.75 0 0 1 0-1.5h6.75V4.5a.75.75 0 0 1 .75-.75Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M10.75 4.75a.75.75 0 0 0-1.5 0v4.5h-4.5a.75.75 0 0 0 0 1.5h4.5v4.5a.75.75 0 0 0 1.5 0v-4.5h4.5a.75.75 0 0 0 0-1.5h-4.5v-4.5Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M8.75 3.75a.75.75 0 0 0-1.5 0v3.5h-3.5a.75.75 0 0 0 0 1.5h3.5v3.5a.75.75 0 0 0 1.5 0v-3.5h3.5a.75.75 0 0 0 0-1.5h-3.5v-3.5Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/plus.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
if (!function_exists('__1475d986e94a362903d230e9de4b93bb')):
|
||||
function __1475d986e94a362903d230e9de4b93bb($__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
|
||||
$__awareDefaults = ['mode' => 'numeric', 'private' => false];
|
||||
$mode = $__blaze->getConsumableData('mode', $__awareDefaults['mode']); unset($attributes['mode']);
|
||||
$private = $__blaze->getConsumableData('private', $__awareDefaults['private']); unset($attributes['private']);
|
||||
unset($__awareDefaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$attributes = $attributes
|
||||
->merge([
|
||||
'class' => 'w-8! grow-0 has-focus-within:z-10',
|
||||
'class:input' => 'px-0! py-3 text-center disabled:opacity-75 disabled:shadow-xs! dark:disabled:shadow-none!',
|
||||
])
|
||||
->merge(['data-flux-otp-input' => ''])
|
||||
;
|
||||
|
||||
if ($mode == 'numeric') {
|
||||
$attributes = $attributes->merge(['inputmode' => 'numeric']);
|
||||
}
|
||||
|
||||
if ($private) {
|
||||
$attributes = $attributes->merge(['type' => 'password']);
|
||||
}
|
||||
?>
|
||||
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/index.blade.php', $__blaze->compiledPath.'/e9fe329cbd986d5723d2692e449cddae.php'); ?>
|
||||
<?php $__blaze->pushData(['attributes' => $attributes]); ?>
|
||||
<?php __e9fe329cbd986d5723d2692e449cddae($__blaze, ['attributes' => $attributes], [], ['attributes'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/otp/input.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if (!function_exists('__2583cc5b44f778be0bd1ea3504c67ed0')):
|
||||
function __2583cc5b44f778be0bd1ea3504c67ed0($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M9.528 1.718a.75.75 0 0 1 .162.819A8.97 8.97 0 0 0 9 6a9 9 0 0 0 9 9 8.97 8.97 0 0 0 3.463-.69.75.75 0 0 1 .981.98 10.503 10.503 0 0 1-9.694 6.46c-5.799 0-10.5-4.7-10.5-10.5 0-4.368 2.667-8.112 6.46-9.694a.75.75 0 0 1 .818.162Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M7.455 2.004a.75.75 0 0 1 .26.77 7 7 0 0 0 9.958 7.967.75.75 0 0 1 1.067.853A8.5 8.5 0 1 1 6.647 1.921a.75.75 0 0 1 .808.083Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M14.438 10.148c.19-.425-.321-.787-.748-.601A5.5 5.5 0 0 1 6.453 2.31c.186-.427-.176-.938-.6-.748a6.501 6.501 0 1 0 8.585 8.586Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/moon.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
if (!function_exists('__2f8c2bffa6cd66ede6ef38a7e5463e5a')):
|
||||
function __2f8c2bffa6cd66ede6ef38a7e5463e5a($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M3.75 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 3.75 9.375v-4.5ZM3.75 14.625c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5a1.125 1.125 0 0 1-1.125-1.125v-4.5ZM13.5 4.875c0-.621.504-1.125 1.125-1.125h4.5c.621 0 1.125.504 1.125 1.125v4.5c0 .621-.504 1.125-1.125 1.125h-4.5A1.125 1.125 0 0 1 13.5 9.375v-4.5Z"/>
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M6.75 6.75h.75v.75h-.75v-.75ZM6.75 16.5h.75v.75h-.75v-.75ZM16.5 6.75h.75v.75h-.75v-.75ZM13.5 13.5h.75v.75h-.75v-.75ZM13.5 19.5h.75v.75h-.75v-.75ZM19.5 13.5h.75v.75h-.75v-.75ZM19.5 19.5h.75v.75h-.75v-.75ZM16.5 16.5h.75v.75h-.75v-.75Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M3 4.875C3 3.839 3.84 3 4.875 3h4.5c1.036 0 1.875.84 1.875 1.875v4.5c0 1.036-.84 1.875-1.875 1.875h-4.5A1.875 1.875 0 0 1 3 9.375v-4.5ZM4.875 4.5a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5Zm7.875.375c0-1.036.84-1.875 1.875-1.875h4.5C20.16 3 21 3.84 21 4.875v4.5c0 1.036-.84 1.875-1.875 1.875h-4.5a1.875 1.875 0 0 1-1.875-1.875v-4.5Zm1.875-.375a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5ZM6 6.75A.75.75 0 0 1 6.75 6h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75A.75.75 0 0 1 6 7.5v-.75Zm9.75 0A.75.75 0 0 1 16.5 6h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75ZM3 14.625c0-1.036.84-1.875 1.875-1.875h4.5c1.036 0 1.875.84 1.875 1.875v4.5c0 1.035-.84 1.875-1.875 1.875h-4.5A1.875 1.875 0 0 1 3 19.125v-4.5Zm1.875-.375a.375.375 0 0 0-.375.375v4.5c0 .207.168.375.375.375h4.5a.375.375 0 0 0 .375-.375v-4.5a.375.375 0 0 0-.375-.375h-4.5Zm7.875-.75a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm6 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75ZM6 16.5a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm9.75 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm-3 3a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Zm6 0a.75.75 0 0 1 .75-.75h.75a.75.75 0 0 1 .75.75v.75a.75.75 0 0 1-.75.75h-.75a.75.75 0 0 1-.75-.75v-.75Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M3.75 2A1.75 1.75 0 0 0 2 3.75v3.5C2 8.216 2.784 9 3.75 9h3.5A1.75 1.75 0 0 0 9 7.25v-3.5A1.75 1.75 0 0 0 7.25 2h-3.5ZM3.5 3.75a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.5a.25.25 0 0 1-.25.25h-3.5a.25.25 0 0 1-.25-.25v-3.5ZM3.75 11A1.75 1.75 0 0 0 2 12.75v3.5c0 .966.784 1.75 1.75 1.75h3.5A1.75 1.75 0 0 0 9 16.25v-3.5A1.75 1.75 0 0 0 7.25 11h-3.5Zm-.25 1.75a.25.25 0 0 1 .25-.25h3.5a.25.25 0 0 1 .25.25v3.5a.25.25 0 0 1-.25.25h-3.5a.25.25 0 0 1-.25-.25v-3.5Zm7.5-9c0-.966.784-1.75 1.75-1.75h3.5c.966 0 1.75.784 1.75 1.75v3.5A1.75 1.75 0 0 1 16.25 9h-3.5A1.75 1.75 0 0 1 11 7.25v-3.5Zm1.75-.25a.25.25 0 0 0-.25.25v3.5c0 .138.112.25.25.25h3.5a.25.25 0 0 0 .25-.25v-3.5a.25.25 0 0 0-.25-.25h-3.5Zm-7.26 1a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1h.01a1 1 0 0 0 1-1V5.5a1 1 0 0 0-1-1h-.01Zm9 0a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1h.01a1 1 0 0 0 1-1V5.5a1 1 0 0 0-1-1h-.01Zm-9 9a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1h.01a1 1 0 0 0 1-1v-.01a1 1 0 0 0-1-1h-.01Zm9 0a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1h.01a1 1 0 0 0 1-1v-.01a1 1 0 0 0-1-1h-.01Zm-3.5-1.5a1 1 0 0 1 1-1H12a1 1 0 0 1 1 1v.01a1 1 0 0 1-1 1h-.01a1 1 0 0 1-1-1V12Zm6-1a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1H17a1 1 0 0 0 1-1V12a1 1 0 0 0-1-1h-.01Zm-1 6a1 1 0 0 1 1-1H17a1 1 0 0 1 1 1v.01a1 1 0 0 1-1 1h-.01a1 1 0 0 1-1-1V17Zm-4-1a1 1 0 0 0-1 1v.01a1 1 0 0 0 1 1H12a1 1 0 0 0 1-1V17a1 1 0 0 0-1-1h-.01Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M4.75 4.25a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Z"/>
|
||||
<path fill-rule="evenodd" d="M2 3.5A1.5 1.5 0 0 1 3.5 2H6a1.5 1.5 0 0 1 1.5 1.5V6A1.5 1.5 0 0 1 6 7.5H3.5A1.5 1.5 0 0 1 2 6V3.5Zm1.5 0H6V6H3.5V3.5Z" clip-rule="evenodd"/>
|
||||
<path d="M4.25 11.25a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Z"/>
|
||||
<path fill-rule="evenodd" d="M2 10a1.5 1.5 0 0 1 1.5-1.5H6A1.5 1.5 0 0 1 7.5 10v2.5A1.5 1.5 0 0 1 6 14H3.5A1.5 1.5 0 0 1 2 12.5V10Zm1.5 2.5V10H6v2.5H3.5Z" clip-rule="evenodd"/>
|
||||
<path d="M11.25 4.25a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Z"/>
|
||||
<path fill-rule="evenodd" d="M10 2a1.5 1.5 0 0 0-1.5 1.5V6A1.5 1.5 0 0 0 10 7.5h2.5A1.5 1.5 0 0 0 14 6V3.5A1.5 1.5 0 0 0 12.5 2H10Zm2.5 1.5H10V6h2.5V3.5Z" clip-rule="evenodd"/>
|
||||
<path d="M8.5 9.417a.917.917 0 1 1 1.833 0 .917.917 0 0 1-1.833 0ZM8.5 13.083a.917.917 0 1 1 1.833 0 .917.917 0 0 1-1.833 0ZM13.083 8.5a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.833ZM12.166 13.084a.917.917 0 1 1 1.833 0 .917.917 0 0 1-1.833 0ZM11.25 10.333a.917.917 0 1 0 0 1.833.917.917 0 0 0 0-1.833Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/qr-code.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if (!function_exists('__382f7aa9250c70d73d253c4c39ed66ee')):
|
||||
function __382f7aa9250c70d73d253c4c39ed66ee($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class([$classes, 'animate-spin'])); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" aria-hidden="true" data-slot="icon">
|
||||
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
|
||||
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
|
||||
</svg>
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class([$classes, 'animate-spin'])); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" aria-hidden="true" data-slot="icon">
|
||||
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
|
||||
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
|
||||
</svg>
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class([$classes, 'animate-spin'])); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" aria-hidden="true" data-slot="icon">
|
||||
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
|
||||
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
|
||||
</svg>
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class([$classes, 'animate-spin'])); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" aria-hidden="true" data-slot="icon">
|
||||
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
|
||||
<path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
|
||||
</svg>
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/loading.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,73 @@
|
||||
<?php
|
||||
if (!function_exists('__3f517801b5f092fe4d21317230b28eb5')):
|
||||
function __3f517801b5f092fe4d21317230b28eb5($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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 $srOnly = $srOnly ??= $attributes->pluck('sr-only'); ?>
|
||||
|
||||
<?php
|
||||
$__defaults = [
|
||||
'badge' => null,
|
||||
'aside' => null,
|
||||
'trailing' => null,
|
||||
'srOnly' => null,
|
||||
];
|
||||
$badge ??= $attributes['badge'] ?? $__defaults['badge']; unset($attributes['badge']);
|
||||
$aside ??= $attributes['aside'] ?? $__defaults['aside']; unset($attributes['aside']);
|
||||
$trailing ??= $attributes['trailing'] ?? $__defaults['trailing']; unset($attributes['trailing']);
|
||||
$srOnly ??= $attributes['sr-only'] ?? $attributes['srOnly'] ?? $__defaults['srOnly']; unset($attributes['srOnly'], $attributes['sr-only']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes()
|
||||
->add('inline-flex items-center')
|
||||
->add('text-sm font-medium')
|
||||
->add($srOnly ? 'sr-only' : '')
|
||||
->add('[:where(&)]:text-zinc-800 [:where(&)]:dark:text-white')
|
||||
->add('[&:has([data-flux-label-trailing])]:flex')
|
||||
;
|
||||
?>
|
||||
|
||||
<ui-label <?php echo e($attributes->class($classes)); ?> data-flux-label>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
|
||||
<?php if (is_string($badge)): ?>
|
||||
<span class="ms-1.5 text-zinc-800/70 text-xs bg-zinc-800/5 px-1.5 py-1 -my-1 rounded-[4px] dark:bg-white/10 dark:text-zinc-300" aria-hidden="true">
|
||||
<?php echo e($badge); ?>
|
||||
|
||||
</span>
|
||||
<?php elseif ($badge): ?>
|
||||
<span class="ms-1.5" aria-hidden="true">
|
||||
<?php echo e($badge); ?>
|
||||
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($aside): ?>
|
||||
<span class="ms-1.5 text-zinc-800/70 text-xs bg-zinc-800/5 px-1.5 py-1 -my-1 rounded-[4px] dark:bg-white/10 dark:text-zinc-300" aria-hidden="true">
|
||||
<?php echo e($aside); ?>
|
||||
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($trailing): ?>
|
||||
<div class="ml-auto" data-flux-label-trailing>
|
||||
<?php echo e($trailing); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</ui-label>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/label.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,222 @@
|
||||
<?php
|
||||
if (!function_exists('__3ff2ddb36f755add3b8b328d8cb6e0cb')):
|
||||
function __3ff2ddb36f755add3b8b328d8cb6e0cb($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__livewire = $__env->shared('__livewire');
|
||||
$__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
|
||||
$__defaults = [
|
||||
'dismissible' => null,
|
||||
'position' => null,
|
||||
'closable' => null,
|
||||
'trigger' => null,
|
||||
'variant' => null,
|
||||
'scroll' => null,
|
||||
'flyout' => null,
|
||||
'name' => null,
|
||||
];
|
||||
$dismissible ??= $attributes['dismissible'] ?? $__defaults['dismissible']; unset($attributes['dismissible']);
|
||||
$position ??= $attributes['position'] ?? $__defaults['position']; unset($attributes['position']);
|
||||
$closable ??= $attributes['closable'] ?? $__defaults['closable']; unset($attributes['closable']);
|
||||
$trigger ??= $attributes['trigger'] ?? $__defaults['trigger']; unset($attributes['trigger']);
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
$scroll ??= $attributes['scroll'] ?? $__defaults['scroll']; unset($attributes['scroll']);
|
||||
$flyout ??= $attributes['flyout'] ?? $__defaults['flyout']; unset($attributes['flyout']);
|
||||
$name ??= $attributes['name'] ?? $__defaults['name']; unset($attributes['name']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
// Blaze doesn't support View::share, this supplements it...
|
||||
$__livewire = $__env->shared('__livewire');
|
||||
|
||||
if ($variant === 'flyout') {
|
||||
$flyout = true;
|
||||
$variant = null;
|
||||
}
|
||||
|
||||
$closable ??= $variant === 'bare' ? false : true;
|
||||
$overflow = $scroll === 'body' && ! $flyout;
|
||||
|
||||
if ($flyout) {
|
||||
$classes = Flux::classes()
|
||||
->add(match ($variant) {
|
||||
default => match($position) {
|
||||
// For bottom flyout we intentionally use 100% instead of 100vw because Firefox includes scrollbar gutter in vw...
|
||||
'bottom' => 'fixed m-0 p-8 min-w-[100%] overflow-y-auto mt-auto [--flux-flyout-translate:translateY(50px)] border-t',
|
||||
'left' => 'fixed m-0 p-8 max-h-dvh min-h-dvh md:[:where(&)]:min-w-[25rem] overflow-y-auto mr-auto [--flux-flyout-translate:translateX(-50px)] border-e rtl:mr-0 rtl:ml-auto rtl:[--flux-flyout-translate:translateX(50px)]',
|
||||
default => 'fixed m-0 p-8 max-h-dvh min-h-dvh md:[:where(&)]:min-w-[25rem] overflow-y-auto ml-auto [--flux-flyout-translate:translateX(50px)] border-s rtl:ml-0 rtl:mr-auto rtl:[--flux-flyout-translate:translateX(-50px)]',
|
||||
},
|
||||
'floating' => match($position) {
|
||||
// For bottom flyout we intentionally use 100% instead of 100vw because Firefox includes scrollbar gutter in vw...
|
||||
'bottom' => 'fixed m-2 p-8 min-w-[calc(100%-1rem)] overflow-y-auto mt-auto [--flux-flyout-translate:translateY(50px)]',
|
||||
'left' => 'fixed m-2 p-8 max-h-[calc(100dvh-1rem)] min-h-[calc(100dvh-1rem)] md:[:where(&)]:min-w-[25rem] overflow-y-auto mr-auto [--flux-flyout-translate:translateX(-50px)] rtl:mr-0 rtl:ml-auto rtl:[--flux-flyout-translate:translateX(50px)]',
|
||||
default => 'fixed m-2 p-8 max-h-[calc(100dvh-1rem)] min-h-[calc(100dvh-1rem)] md:[:where(&)]:min-w-[25rem] overflow-y-auto ml-auto [--flux-flyout-translate:translateX(50px)] rtl:ml-0 rtl:mr-auto rtl:[--flux-flyout-translate:translateX(-50px)]',
|
||||
},
|
||||
'bare' => '',
|
||||
})
|
||||
->add(match ($variant) {
|
||||
default => 'bg-white dark:bg-zinc-800 border-transparent dark:border-zinc-700',
|
||||
'floating' => 'bg-white dark:bg-zinc-800 ring ring-black/5 dark:ring-zinc-700 shadow-lg rounded-xl',
|
||||
'bare' => 'bg-transparent',
|
||||
});
|
||||
} elseif ($overflow) {
|
||||
$classes = Flux::classes();
|
||||
|
||||
$contentClasses = Flux::classes()
|
||||
->add('relative')
|
||||
->add(match ($variant) {
|
||||
default => 'p-6 [:where(&)]:max-w-xl [:where(&)]:min-w-xs shadow-lg rounded-xl',
|
||||
'bare' => '',
|
||||
})
|
||||
->add(match ($variant) {
|
||||
default => 'bg-white dark:bg-zinc-800 ring ring-black/5 dark:ring-zinc-700 shadow-lg rounded-xl',
|
||||
'bare' => 'bg-transparent',
|
||||
});
|
||||
} else {
|
||||
$classes = Flux::classes()
|
||||
->add(match ($variant) {
|
||||
default => 'p-6 [:where(&)]:max-w-xl [:where(&)]:min-w-xs shadow-lg rounded-xl',
|
||||
'bare' => '',
|
||||
})
|
||||
->add(match ($variant) {
|
||||
default => 'bg-white dark:bg-zinc-800 ring ring-black/5 dark:ring-zinc-700 shadow-lg rounded-xl',
|
||||
'bare' => 'bg-transparent',
|
||||
});
|
||||
}
|
||||
|
||||
// Support adding the .self modifier to the wire:model directive...
|
||||
if (($wireModel = $attributes->wire('model')) && $wireModel->directive && ! $wireModel->hasModifier('self')) {
|
||||
unset($attributes[$wireModel->directive]);
|
||||
|
||||
$wireModel->directive .= '.self';
|
||||
|
||||
$attributes = $attributes->merge([$wireModel->directive => $wireModel->value]);
|
||||
}
|
||||
|
||||
if ($attributes['@close'] ?? null) {
|
||||
$attributes['wire:close'] = $attributes['@close'];
|
||||
|
||||
unset($attributes['@close']);
|
||||
}
|
||||
|
||||
if ($attributes['@cancel'] ?? null) {
|
||||
$attributes['wire:cancel'] = $attributes['@cancel'];
|
||||
|
||||
unset($attributes['@cancel']);
|
||||
}
|
||||
|
||||
if ($dismissible === false) {
|
||||
$attributes = $attributes->merge(['disable-click-outside' => '']);
|
||||
}
|
||||
|
||||
[ $contentAttributes, $attributes ] = Flux::splitAttributes($attributes, ['autofocus', 'class', 'style']);
|
||||
[ $dialogAttributes, $attributes ] = Flux::splitAttributes($attributes, ['wire:close', 'x-on:close', 'wire:cancel', 'x-on:cancel']);
|
||||
|
||||
if (! $overflow) {
|
||||
$dialogAttributes = $dialogAttributes->merge($contentAttributes->getAttributes());
|
||||
}
|
||||
?>
|
||||
|
||||
<ui-modal <?php echo e($attributes); ?> data-flux-modal>
|
||||
<?php if ($trigger): ?>
|
||||
<?php echo e($trigger); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<dialog
|
||||
wire:ignore.self
|
||||
<?php echo e($dialogAttributes->class($classes)); ?>
|
||||
|
||||
<?php if ($name): ?> data-modal="<?php echo e($name); ?>" <?php endif; ?>
|
||||
<?php if ($flyout): ?> data-flux-flyout <?php endif; ?>
|
||||
<?php if ($overflow): ?> data-flux-modal-overflow <?php endif; ?>
|
||||
[STARTCOMPILEDUNBLAZE:2Z14fCD5uc]<?php \Livewire\Blaze\Unblaze::storeScope("2Z14fCD5uc", scope: ['name' => $name]) ?>[ENDCOMPILEDUNBLAZE:2Z14fCD5uc]
|
||||
x-on:modal-show.document="handleShow($event)"
|
||||
x-on:modal-close.document="handleClose($event)"
|
||||
>
|
||||
<?php if ($overflow): ?>
|
||||
<div class="flex min-h-full items-center justify-center p-4 sm:p-6">
|
||||
<div <?php echo e($contentAttributes->class($contentClasses)); ?> data-flux-modal-content>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
|
||||
<?php if ($closable): ?>
|
||||
<div class="absolute top-0 end-0 mt-4 me-4">
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/close.blade.php', $__blaze->compiledPath.'/9119ba229b86d18f5fa3eba0f9f852d9.php'); ?>
|
||||
<?php if (isset($__slots9119ba229b86d18f5fa3eba0f9f852d9)) { $__slotsStack9119ba229b86d18f5fa3eba0f9f852d9[] = $__slots9119ba229b86d18f5fa3eba0f9f852d9; } ?>
|
||||
<?php if (isset($__attrs9119ba229b86d18f5fa3eba0f9f852d9)) { $__attrsStack9119ba229b86d18f5fa3eba0f9f852d9[] = $__attrs9119ba229b86d18f5fa3eba0f9f852d9; } ?>
|
||||
<?php $__attrs9119ba229b86d18f5fa3eba0f9f852d9 = []; ?>
|
||||
<?php $__slots9119ba229b86d18f5fa3eba0f9f852d9 = []; ?>
|
||||
<?php $__blaze->pushData($__attrs9119ba229b86d18f5fa3eba0f9f852d9); ?>
|
||||
<?php ob_start(); ?>
|
||||
<?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 = ['variant' => 'ghost','icon' => 'x-mark','size' => 'sm','ariaLabel' => e(__('Close modal')),'class' => 'text-zinc-400! hover:text-zinc-800! dark:text-zinc-500! dark:hover:text-white!']; ?>
|
||||
<?php $__slotsbd16b08c390e007efc517e6a1e826ade = []; ?>
|
||||
<?php $__blaze->pushData($__attrsbd16b08c390e007efc517e6a1e826ade); ?>
|
||||
<?php ob_start(); ?><?php $__slotsbd16b08c390e007efc517e6a1e826ade['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotsbd16b08c390e007efc517e6a1e826ade); ?>
|
||||
<?php __bd16b08c390e007efc517e6a1e826ade($__blaze, $__attrsbd16b08c390e007efc517e6a1e826ade, $__slotsbd16b08c390e007efc517e6a1e826ade, [], ['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 $__slots9119ba229b86d18f5fa3eba0f9f852d9['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slots9119ba229b86d18f5fa3eba0f9f852d9); ?>
|
||||
<?php __9119ba229b86d18f5fa3eba0f9f852d9($__blaze, $__attrs9119ba229b86d18f5fa3eba0f9f852d9, $__slots9119ba229b86d18f5fa3eba0f9f852d9, [], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStack9119ba229b86d18f5fa3eba0f9f852d9)) { $__slots9119ba229b86d18f5fa3eba0f9f852d9 = array_pop($__slotsStack9119ba229b86d18f5fa3eba0f9f852d9); } ?>
|
||||
<?php if (! empty($__attrsStack9119ba229b86d18f5fa3eba0f9f852d9)) { $__attrs9119ba229b86d18f5fa3eba0f9f852d9 = array_pop($__attrsStack9119ba229b86d18f5fa3eba0f9f852d9); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
|
||||
<?php if ($closable): ?>
|
||||
<div class="absolute top-0 end-0 mt-4 me-4">
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/close.blade.php', $__blaze->compiledPath.'/9119ba229b86d18f5fa3eba0f9f852d9.php'); ?>
|
||||
<?php if (isset($__slots9119ba229b86d18f5fa3eba0f9f852d9)) { $__slotsStack9119ba229b86d18f5fa3eba0f9f852d9[] = $__slots9119ba229b86d18f5fa3eba0f9f852d9; } ?>
|
||||
<?php if (isset($__attrs9119ba229b86d18f5fa3eba0f9f852d9)) { $__attrsStack9119ba229b86d18f5fa3eba0f9f852d9[] = $__attrs9119ba229b86d18f5fa3eba0f9f852d9; } ?>
|
||||
<?php $__attrs9119ba229b86d18f5fa3eba0f9f852d9 = []; ?>
|
||||
<?php $__slots9119ba229b86d18f5fa3eba0f9f852d9 = []; ?>
|
||||
<?php $__blaze->pushData($__attrs9119ba229b86d18f5fa3eba0f9f852d9); ?>
|
||||
<?php ob_start(); ?>
|
||||
<?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 = ['variant' => 'ghost','icon' => 'x-mark','size' => 'sm','ariaLabel' => e(__('Close modal')),'class' => 'text-zinc-400! hover:text-zinc-800! dark:text-zinc-500! dark:hover:text-white!']; ?>
|
||||
<?php $__slotsbd16b08c390e007efc517e6a1e826ade = []; ?>
|
||||
<?php $__blaze->pushData($__attrsbd16b08c390e007efc517e6a1e826ade); ?>
|
||||
<?php ob_start(); ?><?php $__slotsbd16b08c390e007efc517e6a1e826ade['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotsbd16b08c390e007efc517e6a1e826ade); ?>
|
||||
<?php __bd16b08c390e007efc517e6a1e826ade($__blaze, $__attrsbd16b08c390e007efc517e6a1e826ade, $__slotsbd16b08c390e007efc517e6a1e826ade, [], ['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 $__slots9119ba229b86d18f5fa3eba0f9f852d9['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slots9119ba229b86d18f5fa3eba0f9f852d9); ?>
|
||||
<?php __9119ba229b86d18f5fa3eba0f9f852d9($__blaze, $__attrs9119ba229b86d18f5fa3eba0f9f852d9, $__slots9119ba229b86d18f5fa3eba0f9f852d9, [], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStack9119ba229b86d18f5fa3eba0f9f852d9)) { $__slots9119ba229b86d18f5fa3eba0f9f852d9 = array_pop($__slotsStack9119ba229b86d18f5fa3eba0f9f852d9); } ?>
|
||||
<?php if (! empty($__attrsStack9119ba229b86d18f5fa3eba0f9f852d9)) { $__attrs9119ba229b86d18f5fa3eba0f9f852d9 = array_pop($__attrsStack9119ba229b86d18f5fa3eba0f9f852d9); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</dialog>
|
||||
</ui-modal>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/index.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,90 @@
|
||||
<?php
|
||||
if (!function_exists('__443a4a7b6c596f8a1f63355b56294192')):
|
||||
function __443a4a7b6c596f8a1f63355b56294192($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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 $iconVariant ??= $attributes->pluck('icon:variant'); ?>
|
||||
|
||||
<?php
|
||||
$__awareDefaults = [ 'size' ];
|
||||
$size = $__blaze->getConsumableData('size'); unset($attributes['size']);
|
||||
unset($__awareDefaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$__defaults = [
|
||||
'iconTrailing' => null,
|
||||
'iconVariant' => null,
|
||||
'label' => null,
|
||||
'icon' => null,
|
||||
'size' => null,
|
||||
];
|
||||
$iconTrailing ??= $attributes['icon-trailing'] ?? $attributes['iconTrailing'] ?? $__defaults['iconTrailing']; unset($attributes['iconTrailing'], $attributes['icon-trailing']);
|
||||
$iconVariant ??= $attributes['icon-variant'] ?? $attributes['iconVariant'] ?? $__defaults['iconVariant']; unset($attributes['iconVariant'], $attributes['icon-variant']);
|
||||
$label ??= $attributes['label'] ?? $__defaults['label']; unset($attributes['label']);
|
||||
$icon ??= $attributes['icon'] ?? $__defaults['icon']; unset($attributes['icon']);
|
||||
$size ??= $attributes['size'] ?? $__defaults['size']; unset($attributes['size']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes()
|
||||
->add('flex whitespace-nowrap flex-1 justify-center items-center gap-2')
|
||||
->add('rounded-md data-checked:shadow-xs')
|
||||
->add('text-sm font-medium text-zinc-600 hover:text-zinc-800 dark:hover:text-white dark:text-white/70 data-checked:text-zinc-800 dark:data-checked:text-white')
|
||||
->add('data-checked:bg-white dark:data-checked:bg-white/20')
|
||||
->add('[&[disabled]]:opacity-50 dark:[&[disabled]]:opacity-75 [&[disabled]]:cursor-default [&[disabled]]:pointer-events-none')
|
||||
->add(match ($size) {
|
||||
'sm' => 'px-3 text-sm',
|
||||
default => 'px-4',
|
||||
})
|
||||
;
|
||||
|
||||
$iconVariant ??= 'mini';
|
||||
|
||||
$iconClasses = Flux::classes('text-zinc-500 dark:text-zinc-400 [ui-radio[data-checked]_&]:text-zinc-800 dark:[ui-radio[data-checked]_&]:text-white')
|
||||
// When using the outline icon variant, we need to size it down to match the default icon sizes...
|
||||
->add($iconVariant === 'outline' ? 'size-5' : '')
|
||||
;
|
||||
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<ui-radio <?php echo e($attributes->class($classes)); ?> data-flux-control data-flux-radio-segmented tabindex="-1">
|
||||
<?php if (is_string($icon) && $icon !== ''): ?>
|
||||
<?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' => $icon,'variant' => $iconVariant,'class' => $iconClasses]); ?>
|
||||
<?php __1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $icon,'variant' => $iconVariant,'class' => $iconClasses], [], ['icon', 'variant'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php elseif ($icon): ?>
|
||||
<?php echo e($icon); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo e($slot->isNotEmpty() ? $slot : $label); ?>
|
||||
|
||||
|
||||
<?php if (is_string($iconTrailing) && $iconTrailing !== ''): ?>
|
||||
<?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' => 'micro']); ?>
|
||||
<?php __1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconTrailing,'variant' => 'micro'], [], ['icon'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php elseif ($iconTrailing): ?>
|
||||
<?php echo e($iconTrailing); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</ui-radio>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/radio/variants/segmented.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if (!function_exists('__50e3ce6eeaf40bd8e6db85365dc3beb3')):
|
||||
function __50e3ce6eeaf40bd8e6db85365dc3beb3($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="m14.74 9-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 0 1-2.244 2.077H8.084a2.25 2.25 0 0 1-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 0 0-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 0 1 3.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 0 0-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 0 0-7.5 0"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M16.5 4.478v.227a48.816 48.816 0 0 1 3.878.512.75.75 0 1 1-.256 1.478l-.209-.035-1.005 13.07a3 3 0 0 1-2.991 2.77H8.084a3 3 0 0 1-2.991-2.77L4.087 6.66l-.209.035a.75.75 0 0 1-.256-1.478A48.567 48.567 0 0 1 7.5 4.705v-.227c0-1.564 1.213-2.9 2.816-2.951a52.662 52.662 0 0 1 3.369 0c1.603.051 2.815 1.387 2.815 2.951Zm-6.136-1.452a51.196 51.196 0 0 1 3.273 0C14.39 3.05 15 3.684 15 4.478v.113a49.488 49.488 0 0 0-6 0v-.113c0-.794.609-1.428 1.364-1.452Zm-.355 5.945a.75.75 0 1 0-1.5.058l.347 9a.75.75 0 1 0 1.499-.058l-.346-9Zm5.48.058a.75.75 0 1 0-1.498-.058l-.347 9a.75.75 0 0 0 1.5.058l.345-9Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M8.75 1A2.75 2.75 0 0 0 6 3.75v.443c-.795.077-1.584.176-2.365.298a.75.75 0 1 0 .23 1.482l.149-.022.841 10.518A2.75 2.75 0 0 0 7.596 19h4.807a2.75 2.75 0 0 0 2.742-2.53l.841-10.52.149.023a.75.75 0 0 0 .23-1.482A41.03 41.03 0 0 0 14 4.193V3.75A2.75 2.75 0 0 0 11.25 1h-2.5ZM10 4c.84 0 1.673.025 2.5.075V3.75c0-.69-.56-1.25-1.25-1.25h-2.5c-.69 0-1.25.56-1.25 1.25v.325C8.327 4.025 9.16 4 10 4ZM8.58 7.72a.75.75 0 0 0-1.5.06l.3 7.5a.75.75 0 1 0 1.5-.06l-.3-7.5Zm4.34.06a.75.75 0 1 0-1.5-.06l-.3 7.5a.75.75 0 1 0 1.5.06l.3-7.5Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M5 3.25V4H2.75a.75.75 0 0 0 0 1.5h.3l.815 8.15A1.5 1.5 0 0 0 5.357 15h5.285a1.5 1.5 0 0 0 1.493-1.35l.815-8.15h.3a.75.75 0 0 0 0-1.5H11v-.75A2.25 2.25 0 0 0 8.75 1h-1.5A2.25 2.25 0 0 0 5 3.25Zm2.25-.75a.75.75 0 0 0-.75.75V4h3v-.75a.75.75 0 0 0-.75-.75h-1.5ZM6.05 6a.75.75 0 0 1 .787.713l.275 5.5a.75.75 0 0 1-1.498.075l-.275-5.5A.75.75 0 0 1 6.05 6Zm3.9 0a.75.75 0 0 1 .712.787l-.275 5.5a.75.75 0 0 1-1.498-.075l.275-5.5a.75.75 0 0 1 .786-.711Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/trash.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if (!function_exists('__5a9f993127b6c6c24a8e92c0cda61bc7')):
|
||||
function __5a9f993127b6c6c24a8e92c0cda61bc7($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M5.28 4.22a.75.75 0 0 0-1.06 1.06L6.94 8l-2.72 2.72a.75.75 0 1 0 1.06 1.06L8 9.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L9.06 8l2.72-2.72a.75.75 0 0 0-1.06-1.06L8 6.94 5.28 4.22Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/x-mark.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if (!function_exists('__5ee747ec33a93b239530d2818c73d490')):
|
||||
function __5ee747ec33a93b239530d2818c73d490($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M7.864 4.243A7.5 7.5 0 0 1 19.5 10.5c0 2.92-.556 5.709-1.568 8.268M5.742 6.364A7.465 7.465 0 0 0 4.5 10.5a7.464 7.464 0 0 1-1.15 3.993m1.989 3.559A11.209 11.209 0 0 0 8.25 10.5a3.75 3.75 0 1 1 7.5 0c0 .527-.021 1.049-.064 1.565M12 10.5a14.94 14.94 0 0 1-3.6 9.75m6.633-4.596a18.666 18.666 0 0 1-2.485 5.33"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M12 3.75a6.715 6.715 0 0 0-3.722 1.118.75.75 0 1 1-.828-1.25 8.25 8.25 0 0 1 12.8 6.883c0 3.014-.574 5.897-1.62 8.543a.75.75 0 0 1-1.395-.551A21.69 21.69 0 0 0 18.75 10.5 6.75 6.75 0 0 0 12 3.75ZM6.157 5.739a.75.75 0 0 1 .21 1.04A6.715 6.715 0 0 0 5.25 10.5c0 1.613-.463 3.12-1.265 4.393a.75.75 0 0 1-1.27-.8A6.715 6.715 0 0 0 3.75 10.5c0-1.68.503-3.246 1.367-4.55a.75.75 0 0 1 1.04-.211ZM12 7.5a3 3 0 0 0-3 3c0 3.1-1.176 5.927-3.105 8.056a.75.75 0 1 1-1.112-1.008A10.459 10.459 0 0 0 7.5 10.5a4.5 4.5 0 1 1 9 0c0 .547-.022 1.09-.067 1.626a.75.75 0 0 1-1.495-.123c.041-.495.062-.996.062-1.503a3 3 0 0 0-3-3Zm0 2.25a.75.75 0 0 1 .75.75c0 3.908-1.424 7.485-3.781 10.238a.75.75 0 0 1-1.14-.975A14.19 14.19 0 0 0 11.25 10.5a.75.75 0 0 1 .75-.75Zm3.239 5.183a.75.75 0 0 1 .515.927 19.417 19.417 0 0 1-2.585 5.544.75.75 0 0 1-1.243-.84 17.915 17.915 0 0 0 2.386-5.116.75.75 0 0 1 .927-.515Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M10 2.5c-1.31 0-2.526.386-3.546 1.051a.75.75 0 0 1-.82-1.256A8 8 0 0 1 18 9a22.47 22.47 0 0 1-1.228 7.351.75.75 0 1 1-1.417-.49A20.97 20.97 0 0 0 16.5 9 6.5 6.5 0 0 0 10 2.5ZM4.333 4.416a.75.75 0 0 1 .218 1.038A6.466 6.466 0 0 0 3.5 9a7.966 7.966 0 0 1-1.293 4.362.75.75 0 0 1-1.257-.819A6.466 6.466 0 0 0 2 9c0-1.61.476-3.11 1.295-4.365a.75.75 0 0 1 1.038-.219ZM10 6.12a3 3 0 0 0-3.001 3.041 11.455 11.455 0 0 1-2.697 7.24.75.75 0 0 1-1.148-.965A9.957 9.957 0 0 0 5.5 9c0-.028.002-.055.004-.082a4.5 4.5 0 0 1 8.996.084V9.15l-.005.297a.75.75 0 1 1-1.5-.034c.003-.11.004-.219.005-.328a3 3 0 0 0-3-2.965Zm0 2.13a.75.75 0 0 1 .75.75c0 3.51-1.187 6.745-3.181 9.323a.75.75 0 1 1-1.186-.918A13.687 13.687 0 0 0 9.25 9a.75.75 0 0 1 .75-.75Zm3.529 3.698a.75.75 0 0 1 .584.885 18.883 18.883 0 0 1-2.257 5.84.75.75 0 1 1-1.29-.764 17.386 17.386 0 0 0 2.078-5.377.75.75 0 0 1 .885-.584Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M8 3c-.988 0-1.908.286-2.682.78a.75.75 0 0 1-.806-1.266A6.5 6.5 0 0 1 14.5 8c0 1.665-.333 3.254-.936 4.704a.75.75 0 0 1-1.385-.577C12.708 10.857 13 9.464 13 8a5 5 0 0 0-5-5ZM3.55 4.282a.75.75 0 0 1 .23 1.036A4.973 4.973 0 0 0 3 8a.75.75 0 0 1-1.5 0c0-1.282.372-2.48 1.014-3.488a.75.75 0 0 1 1.036-.23ZM8 5.875A2.125 2.125 0 0 0 5.875 8a3.625 3.625 0 0 1-3.625 3.625H2.213a.75.75 0 1 1 .008-1.5h.03A2.125 2.125 0 0 0 4.376 8a3.625 3.625 0 1 1 7.25 0c0 .078-.001.156-.003.233a.75.75 0 1 1-1.5-.036c.002-.066.003-.131.003-.197A2.125 2.125 0 0 0 8 5.875ZM7.995 7.25a.75.75 0 0 1 .75.75 6.502 6.502 0 0 1-4.343 6.133.75.75 0 1 1-.498-1.415A5.002 5.002 0 0 0 7.245 8a.75.75 0 0 1 .75-.75Zm2.651 2.87a.75.75 0 0 1 .463.955 9.39 9.39 0 0 1-3.008 4.25.75.75 0 0 1-.936-1.171 7.892 7.892 0 0 0 2.527-3.57.75.75 0 0 1 .954-.463Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/finger-print.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
if (!function_exists('__6321f0e85db397741b422f7f845e3c2d')):
|
||||
function __6321f0e85db397741b422f7f845e3c2d($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
$__defaults = [
|
||||
'name' => null,
|
||||
'variant' => null,
|
||||
'size' => null,
|
||||
];
|
||||
$name ??= $attributes['name'] ?? $__defaults['name']; unset($attributes['name']);
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
$size ??= $attributes['size'] ?? $__defaults['size']; unset($attributes['size']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
// We only want to show the name attribute on the checkbox if it has been set
|
||||
// manually, but not if it has been set from the wire:model attribute...
|
||||
$showName = isset($name);
|
||||
|
||||
if (! isset($name)) {
|
||||
$name = $attributes->whereStartsWith('wire:model')->first();
|
||||
}
|
||||
|
||||
$classes = Flux::classes()
|
||||
->add('block flex p-1')
|
||||
->add('rounded-lg bg-zinc-800/5 dark:bg-white/10')
|
||||
->add($size === 'sm' ? 'h-8 py-[3px] px-[3px]' : 'h-10 p-1')
|
||||
->add($size === 'sm' ? '-my-px h-[calc(2rem+2px)]' : '')
|
||||
;
|
||||
?>
|
||||
|
||||
<?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]; ?>
|
||||
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa = []; ?>
|
||||
<?php $__blaze->pushData($__attrsc47a7698d859fe0603a8ccaf476ef2fa); ?>
|
||||
<?php ob_start(); ?>
|
||||
<ui-radio-group <?php echo e($attributes->class($classes)); ?> <?php if($showName): ?> name="<?php echo e($name); ?>" <?php endif; ?> data-flux-radio-group-segmented>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</ui-radio-group>
|
||||
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotsc47a7698d859fe0603a8ccaf476ef2fa); ?>
|
||||
<?php __c47a7698d859fe0603a8ccaf476ef2fa($__blaze, $__attrsc47a7698d859fe0603a8ccaf476ef2fa, $__slotsc47a7698d859fe0603a8ccaf476ef2fa, ['attributes'], [], $__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
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/radio/group/variants/segmented.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
if (!function_exists('__783b38f06cc8198d1a8f98f4dc9aa936')):
|
||||
function __783b38f06cc8198d1a8f98f4dc9aa936($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
$__defaults = [
|
||||
'variant' => 'default',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php $__resolved = $__blaze->resolve('flux::' . 'radio.group.variants.' . $variant); ?>
|
||||
<?php $__blaze->pushData($attributes->all()); ?>
|
||||
<?php if ($__resolved !== false): ?>
|
||||
<?php if (isset($__slotsbc7e314f6de596e6a79abc61d634bf39)) { $__slotsStackbc7e314f6de596e6a79abc61d634bf39[] = $__slotsbc7e314f6de596e6a79abc61d634bf39; } ?>
|
||||
<?php $__slotsbc7e314f6de596e6a79abc61d634bf39 = []; ?>
|
||||
<?php ob_start(); ?><?php echo e($slot); ?><?php $__slotsbc7e314f6de596e6a79abc61d634bf39['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__slotsbc7e314f6de596e6a79abc61d634bf39 = array_merge($__blaze->mergedComponentSlots(), $__slotsbc7e314f6de596e6a79abc61d634bf39); ?>
|
||||
<?php ('__' . $__resolved)($__blaze, $attributes->all(), $__slotsbc7e314f6de596e6a79abc61d634bf39, [], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackbc7e314f6de596e6a79abc61d634bf39)) { $__slotsbc7e314f6de596e6a79abc61d634bf39 = array_pop($__slotsStackbc7e314f6de596e6a79abc61d634bf39); } ?>
|
||||
<?php else: ?>
|
||||
<?php if (!Flux::componentExists($name = 'radio.group.variants.' . $variant)) throw new \Exception("Flux component [{$name}] does not exist."); ?><?php if (isset($component)) { $__componentOriginalf6b376e50e9192a3af54df033b02996a = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginalf6b376e50e9192a3af54df033b02996a = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve([
|
||||
'view' => (app()->version() >= 12 ? hash('xxh128', 'flux') : md5('flux')) . '::' . 'radio.group.variants.' . $variant,
|
||||
'data' => $__env->getCurrentComponentData(),
|
||||
] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('flux::' . 'radio.group.variants.' . $variant); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php $component->withAttributes($attributes->getAttributes()); ?><?php echo e($slot); ?> <?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginalf6b376e50e9192a3af54df033b02996a)): ?>
|
||||
<?php $attributes = $__attributesOriginalf6b376e50e9192a3af54df033b02996a; ?>
|
||||
<?php unset($__attributesOriginalf6b376e50e9192a3af54df033b02996a); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginalf6b376e50e9192a3af54df033b02996a)): ?>
|
||||
<?php $component = $__componentOriginalf6b376e50e9192a3af54df033b02996a; ?>
|
||||
<?php unset($__componentOriginalf6b376e50e9192a3af54df033b02996a); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php unset($__resolved) ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/radio/group/index.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
if (!function_exists('__8713902841812059eb7a1110b32b0cf6')):
|
||||
function __8713902841812059eb7a1110b32b0cf6($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
$__defaults = [
|
||||
'length' => null,
|
||||
'private' => false,
|
||||
];
|
||||
$length ??= $attributes['length'] ?? $__defaults['length']; unset($attributes['length']);
|
||||
$private ??= $attributes['private'] ?? $__defaults['private']; unset($attributes['private']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes()
|
||||
->add('flex items-center gap-2 isolate w-fit')
|
||||
->add('[&_[data-flux-input-group]]:w-auto')
|
||||
?>
|
||||
|
||||
<?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]; ?>
|
||||
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa = []; ?>
|
||||
<?php $__blaze->pushData($__attrsc47a7698d859fe0603a8ccaf476ef2fa); ?>
|
||||
<?php ob_start(); ?>
|
||||
<ui-otp
|
||||
<?php echo e($attributes->class($classes)); ?>
|
||||
|
||||
data-flux-otp
|
||||
data-flux-control
|
||||
role="group"
|
||||
data-flux-input-aria-label="<?php echo e(__('Character {current} of {total}')); ?>"
|
||||
>
|
||||
<?php if($slot->isEmpty() && $length): ?>
|
||||
<?php for($i = 0; $i < $length; $i++): ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/otp/input.blade.php', $__blaze->compiledPath.'/1475d986e94a362903d230e9de4b93bb.php'); ?>
|
||||
<?php $__blaze->pushData([]); ?>
|
||||
<?php __1475d986e94a362903d230e9de4b93bb($__blaze, [], [], [], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php endfor; ?>
|
||||
<?php else: ?>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</ui-otp>
|
||||
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotsc47a7698d859fe0603a8ccaf476ef2fa); ?>
|
||||
<?php __c47a7698d859fe0603a8ccaf476ef2fa($__blaze, $__attrsc47a7698d859fe0603a8ccaf476ef2fa, $__slotsc47a7698d859fe0603a8ccaf476ef2fa, ['attributes'], [], $__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
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/otp/index.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
if (!function_exists('__9119ba229b86d18f5fa3eba0f9f852d9')):
|
||||
function __9119ba229b86d18f5fa3eba0f9f852d9($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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();
|
||||
?>
|
||||
|
||||
|
||||
<ui-close data-flux-modal-close <?php echo e($attributes); ?>>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</ui-close>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/close.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
if (!function_exists('__93abc76419b6a951751607e03ca2f829')):
|
||||
function __93abc76419b6a951751607e03ca2f829($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
$__defaults = [
|
||||
'as' => null,
|
||||
];
|
||||
$as ??= $attributes['as'] ?? $__defaults['as']; unset($attributes['as']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php if ($as === 'button'): ?>
|
||||
<button <?php echo e($attributes->merge(['type' => 'button'])); ?>>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</button>
|
||||
<?php else: ?>
|
||||
<div <?php echo e($attributes); ?>>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button-or-div.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
if (!function_exists('__aa95fbce23418b137067494ed04f2103')):
|
||||
function __aa95fbce23418b137067494ed04f2103($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
extract(Flux::forwardedAttributes($attributes, [
|
||||
'tooltipPosition',
|
||||
'tooltipKbd',
|
||||
'tooltip',
|
||||
]));
|
||||
?>
|
||||
|
||||
<?php $tooltipPosition = $tooltipPosition ??= $attributes->pluck('tooltip:position'); ?>
|
||||
<?php $tooltipKbd = $tooltipKbd ??= $attributes->pluck('tooltip:kbd'); ?>
|
||||
<?php $tooltip = $tooltip ??= $attributes->pluck('tooltip'); ?>
|
||||
|
||||
<?php
|
||||
$__defaults = [
|
||||
'tooltipPosition' => 'top',
|
||||
'tooltipKbd' => null,
|
||||
'tooltip' => null,
|
||||
];
|
||||
$tooltipPosition ??= $attributes['tooltip-position'] ?? $attributes['tooltipPosition'] ?? $__defaults['tooltipPosition']; unset($attributes['tooltipPosition'], $attributes['tooltip-position']);
|
||||
$tooltipKbd ??= $attributes['tooltip-kbd'] ?? $attributes['tooltipKbd'] ?? $__defaults['tooltipKbd']; unset($attributes['tooltipKbd'], $attributes['tooltip-kbd']);
|
||||
$tooltip ??= $attributes['tooltip'] ?? $__defaults['tooltip']; unset($attributes['tooltip']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php if ($tooltip): ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/tooltip/index.blade.php', $__blaze->compiledPath.'/c30dda39d94c3d521c2bd541f74b2f98.php'); ?>
|
||||
<?php if (isset($__slotsc30dda39d94c3d521c2bd541f74b2f98)) { $__slotsStackc30dda39d94c3d521c2bd541f74b2f98[] = $__slotsc30dda39d94c3d521c2bd541f74b2f98; } ?>
|
||||
<?php if (isset($__attrsc30dda39d94c3d521c2bd541f74b2f98)) { $__attrsStackc30dda39d94c3d521c2bd541f74b2f98[] = $__attrsc30dda39d94c3d521c2bd541f74b2f98; } ?>
|
||||
<?php $__attrsc30dda39d94c3d521c2bd541f74b2f98 = ['content' => $tooltip,'position' => $tooltipPosition,'kbd' => $tooltipKbd]; ?>
|
||||
<?php $__slotsc30dda39d94c3d521c2bd541f74b2f98 = []; ?>
|
||||
<?php $__blaze->pushData($__attrsc30dda39d94c3d521c2bd541f74b2f98); ?>
|
||||
<?php ob_start(); ?>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
<?php $__slotsc30dda39d94c3d521c2bd541f74b2f98['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotsc30dda39d94c3d521c2bd541f74b2f98); ?>
|
||||
<?php __c30dda39d94c3d521c2bd541f74b2f98($__blaze, $__attrsc30dda39d94c3d521c2bd541f74b2f98, $__slotsc30dda39d94c3d521c2bd541f74b2f98, ['content', 'position', 'kbd'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackc30dda39d94c3d521c2bd541f74b2f98)) { $__slotsc30dda39d94c3d521c2bd541f74b2f98 = array_pop($__slotsStackc30dda39d94c3d521c2bd541f74b2f98); } ?>
|
||||
<?php if (! empty($__attrsStackc30dda39d94c3d521c2bd541f74b2f98)) { $__attrsc30dda39d94c3d521c2bd541f74b2f98 = array_pop($__attrsStackc30dda39d94c3d521c2bd541f74b2f98); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php else: ?>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/with-tooltip.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,275 @@
|
||||
<?php
|
||||
if (!function_exists('__bd16b08c390e007efc517e6a1e826ade')):
|
||||
function __bd16b08c390e007efc517e6a1e826ade($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
$__defaults = [
|
||||
'iconTrailing' => null,
|
||||
'variant' => 'outline',
|
||||
'iconVariant' => null,
|
||||
'iconLeading' => null,
|
||||
'type' => 'button',
|
||||
'loading' => null,
|
||||
'align' => 'center',
|
||||
'size' => 'base',
|
||||
'square' => null,
|
||||
'color' => null,
|
||||
'inset' => null,
|
||||
'icon' => null,
|
||||
'kbd' => null,
|
||||
];
|
||||
$iconTrailing ??= $attributes['icon-trailing'] ?? $attributes['iconTrailing'] ?? $__defaults['iconTrailing']; unset($attributes['iconTrailing'], $attributes['icon-trailing']);
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
$iconVariant ??= $attributes['icon-variant'] ?? $attributes['iconVariant'] ?? $__defaults['iconVariant']; unset($attributes['iconVariant'], $attributes['icon-variant']);
|
||||
$iconLeading ??= $attributes['icon-leading'] ?? $attributes['iconLeading'] ?? $__defaults['iconLeading']; unset($attributes['iconLeading'], $attributes['icon-leading']);
|
||||
$type ??= $attributes['type'] ?? $__defaults['type']; unset($attributes['type']);
|
||||
$loading ??= $attributes['loading'] ?? $__defaults['loading']; unset($attributes['loading']);
|
||||
$align ??= $attributes['align'] ?? $__defaults['align']; unset($attributes['align']);
|
||||
$size ??= $attributes['size'] ?? $__defaults['size']; unset($attributes['size']);
|
||||
$square ??= $attributes['square'] ?? $__defaults['square']; unset($attributes['square']);
|
||||
$color ??= $attributes['color'] ?? $__defaults['color']; unset($attributes['color']);
|
||||
$inset ??= $attributes['inset'] ?? $__defaults['inset']; unset($attributes['inset']);
|
||||
$icon ??= $attributes['icon'] ?? $__defaults['icon']; unset($attributes['icon']);
|
||||
$kbd ??= $attributes['kbd'] ?? $__defaults['kbd']; unset($attributes['kbd']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$iconLeading = $icon ??= $iconLeading;
|
||||
|
||||
// Button should be a square if it has no text contents...
|
||||
$square ??= $slot->isEmpty();
|
||||
|
||||
// Size-up icons in square/icon-only buttons... (xs buttons just get micro size/style...)
|
||||
$iconVariant ??= ($size === 'xs')
|
||||
? ($square ? 'micro' : 'micro')
|
||||
: ($square ? 'mini' : 'micro');
|
||||
|
||||
$iconTrailingVariant ??= $attributes->pluck('icon-trailing:variant', $iconVariant);
|
||||
|
||||
// When using the outline icon variant, we need to size it down to match the default icon sizes...
|
||||
$iconClasses = Flux::classes()
|
||||
->add($iconVariant === 'outline' ? ($square && $size !== 'xs' ? 'size-5' : 'size-4') : '')
|
||||
->add($attributes->pluck('icon:class'))
|
||||
;
|
||||
|
||||
$iconTrailingClasses = Flux::classes()
|
||||
->add($iconTrailingVariant === 'outline' ? ($square && $size !== 'xs' ? 'size-5' : 'size-4') : '')
|
||||
->add($attributes->pluck('icon-trailing:class'))
|
||||
;
|
||||
|
||||
$isTypeSubmitAndNotDisabledOnRender = $type === 'submit' && ! $attributes->has('disabled');
|
||||
|
||||
$isJsMethod = str_starts_with($attributes->whereStartsWith('wire:click')->first() ?? '', '$js.');
|
||||
|
||||
$loading ??= $loading ?? ($isTypeSubmitAndNotDisabledOnRender || $attributes->whereStartsWith('wire:click')->isNotEmpty() && ! $isJsMethod);
|
||||
|
||||
if ($loading && $type !== 'submit' && ! $isJsMethod) {
|
||||
$attributes = $attributes->merge(['wire:loading.attr' => 'data-flux-loading']);
|
||||
|
||||
// We need to add `wire:target` here because without it the loading indicator won't be scoped
|
||||
// by method params, causing multiple buttons with the same method but different params to
|
||||
// trigger each other's loading indicators...
|
||||
if (! $attributes->has('wire:target') && $target = $attributes->whereStartsWith('wire:click')->first()) {
|
||||
$attributes = $attributes->merge(['wire:target' => $target], escape: false);
|
||||
}
|
||||
}
|
||||
|
||||
$classes = Flux::classes()
|
||||
->add('relative items-center font-medium justify-center gap-2 whitespace-nowrap')
|
||||
->add('disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none')
|
||||
->add(match ($align) {
|
||||
'start' => 'justify-start',
|
||||
'center' => 'justify-center',
|
||||
'end' => 'justify-end',
|
||||
})
|
||||
->add(match ($size) { // Size...
|
||||
'base' => 'h-10 text-sm rounded-lg' . ' ' . (
|
||||
$square
|
||||
? 'w-10'
|
||||
// If we have an icon, we want to reduce the padding on the side that has the icon...
|
||||
: ($iconLeading && $iconLeading !== '' ? 'ps-3' : 'ps-4') . ' ' . ($iconTrailing && $iconTrailing !== '' ? 'pe-3' : 'pe-4')
|
||||
),
|
||||
'sm' => 'h-8 text-sm rounded-md' . ' ' . ($square ? 'w-8' : 'px-3'),
|
||||
'xs' => 'h-6 text-xs rounded-md' . ' ' . ($square ? 'w-6' : 'px-2'),
|
||||
})
|
||||
->add('inline-flex') // Buttons are inline by default but links are blocks, so inline-flex is needed here to ensure link-buttons are displayed the same as buttons...
|
||||
->add($inset ? match ($size) { // Inset...
|
||||
'base' => $square
|
||||
? Flux::applyInset($inset, top: '-mt-2.5', right: '-me-2.5', bottom: '-mb-2.5', left: '-ms-2.5')
|
||||
: Flux::applyInset($inset, top: '-mt-2.5', right: '-me-4', bottom: '-mb-3', left: '-ms-4'),
|
||||
'sm' => $square
|
||||
? Flux::applyInset($inset, top: '-mt-1.5', right: '-me-1.5', bottom: '-mb-1.5', left: '-ms-1.5')
|
||||
: Flux::applyInset($inset, top: '-mt-1.5', right: '-me-3', bottom: '-mb-1.5', left: '-ms-3'),
|
||||
'xs' => $square
|
||||
? Flux::applyInset($inset, top: '-mt-1', right: '-me-1', bottom: '-mb-1', left: '-ms-1')
|
||||
: Flux::applyInset($inset, top: '-mt-1', right: '-me-2', bottom: '-mb-1', left: '-ms-2'),
|
||||
} : '')
|
||||
->add(match ($variant) { // Background color...
|
||||
'primary' => 'bg-[var(--color-accent)] hover:bg-[color-mix(in_oklab,_var(--color-accent),_transparent_10%)]',
|
||||
'filled' => 'bg-zinc-800/5 hover:bg-zinc-800/10 dark:bg-white/10 dark:hover:bg-white/20',
|
||||
'outline' => 'bg-white hover:bg-zinc-50 dark:bg-zinc-700 dark:hover:bg-zinc-600/75',
|
||||
'danger' => 'bg-red-500 hover:bg-red-600 dark:bg-red-600 dark:hover:bg-red-500',
|
||||
'ghost' => 'bg-transparent hover:bg-zinc-800/5 dark:hover:bg-white/15',
|
||||
'subtle' => 'bg-transparent hover:bg-zinc-800/5 dark:hover:bg-white/15',
|
||||
})
|
||||
->add(match ($variant) { // Text color...
|
||||
'primary' => 'text-[var(--color-accent-foreground)]',
|
||||
'filled' => 'text-zinc-800 dark:text-white',
|
||||
'outline' => 'text-zinc-800 dark:text-white',
|
||||
'danger' => 'text-white',
|
||||
'ghost' => 'text-zinc-800 dark:text-white',
|
||||
'subtle' => 'text-zinc-500 hover:text-zinc-800 dark:text-zinc-400 dark:hover:text-white',
|
||||
})
|
||||
->add(match ($variant) { // Border color...
|
||||
'primary' => 'border border-black/10 dark:border-0',
|
||||
'outline' => 'border border-zinc-200 hover:border-zinc-200 border-b-zinc-300/80 dark:border-zinc-600 dark:hover:border-zinc-600',
|
||||
default => '',
|
||||
})
|
||||
->add(match ($variant) { // Shadows...
|
||||
'primary' => 'shadow-[inset_0px_1px_--theme(--color-white/.2)]',
|
||||
'danger' => 'shadow-[inset_0px_1px_var(--color-red-500),inset_0px_2px_--theme(--color-white/.15)] dark:shadow-none',
|
||||
'outline' => match ($size) {
|
||||
'base' => 'shadow-xs',
|
||||
'sm' => 'shadow-xs',
|
||||
'xs' => 'shadow-none',
|
||||
},
|
||||
default => '',
|
||||
})
|
||||
->add(match ($variant) { // Grouped border treatments...
|
||||
'ghost' => '',
|
||||
'subtle' => '',
|
||||
'outline' => '[[data-flux-button-group]_&]:border-s-0 [:is([data-flux-button-group]>&:first-child,_[data-flux-button-group]_:first-child>&)]:border-s-[1px]',
|
||||
'filled' => '[[data-flux-button-group]_&]:border-e [:is([data-flux-button-group]>&:last-child,_[data-flux-button-group]_:last-child>&)]:border-e-0 [[data-flux-button-group]_&]:border-zinc-200/80 dark:[[data-flux-button-group]_&]:border-zinc-900/50',
|
||||
'danger' => '[[data-flux-button-group]_&]:border-e [:is([data-flux-button-group]>&:last-child,_[data-flux-button-group]_:last-child>&)]:border-e-0 [[data-flux-button-group]_&]:border-red-600 dark:[[data-flux-button-group]_&]:border-red-900/25',
|
||||
'primary' => '[[data-flux-button-group]_&]:border-e-0 [:is([data-flux-button-group]>&:last-child,_[data-flux-button-group]_:last-child>&)]:border-e-[1px] dark:[:is([data-flux-button-group]>&:last-child,_[data-flux-button-group]_:last-child>&)]:border-e-0 dark:[:is([data-flux-button-group]>&:last-child,_[data-flux-button-group]_:last-child>&)]:border-s-[1px] [:is([data-flux-button-group]>&:not(:first-child),_[data-flux-button-group]_:not(:first-child)>&)]:border-s-[color-mix(in_srgb,var(--color-accent-foreground),transparent_85%)]',
|
||||
})
|
||||
->add($loading ? [ // Loading states...
|
||||
'*:transition-opacity',
|
||||
$type === 'submit' ? '[&[disabled]>:not([data-flux-loading-indicator])]:opacity-0' : '[&[data-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-flux-loading]>:not([data-flux-loading-indicator])]:opacity-0',
|
||||
$type === 'submit' ? '[&[disabled]>[data-flux-loading-indicator]]:opacity-100' : '[&[data-loading]>[data-flux-loading-indicator]]:opacity-100 [&[data-flux-loading]>[data-flux-loading-indicator]]:opacity-100',
|
||||
$type === 'submit' ? '[&[disabled]]:pointer-events-none' : 'data-loading:pointer-events-none data-flux-loading:pointer-events-none',
|
||||
] : [])
|
||||
->add($variant === 'primary' ? match ($color) {
|
||||
'slate' => '[--color-accent:var(--color-slate-800)] [--color-accent-content:var(--color-slate-800)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-white)] dark:[--color-accent-content:var(--color-white)] dark:[--color-accent-foreground:var(--color-slate-800)]',
|
||||
'gray' => '[--color-accent:var(--color-gray-800)] [--color-accent-content:var(--color-gray-800)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-white)] dark:[--color-accent-content:var(--color-white)] dark:[--color-accent-foreground:var(--color-gray-800)]',
|
||||
'zinc' => '[--color-accent:var(--color-zinc-800)] [--color-accent-content:var(--color-zinc-800)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-white)] dark:[--color-accent-content:var(--color-white)] dark:[--color-accent-foreground:var(--color-zinc-800)]',
|
||||
'neutral' => '[--color-accent:var(--color-neutral-800)] [--color-accent-content:var(--color-neutral-800)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-white)] dark:[--color-accent-content:var(--color-white)] dark:[--color-accent-foreground:var(--color-neutral-800)]',
|
||||
'stone' => '[--color-accent:var(--color-stone-800)] [--color-accent-content:var(--color-stone-800)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-white)] dark:[--color-accent-content:var(--color-white)] dark:[--color-accent-foreground:var(--color-stone-800)]',
|
||||
'mauve' => '[--color-accent:var(--color-mauve-800)] [--color-accent-content:var(--color-mauve-800)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-white)] dark:[--color-accent-content:var(--color-white)] dark:[--color-accent-foreground:var(--color-mauve-800)]',
|
||||
'olive' => '[--color-accent:var(--color-olive-800)] [--color-accent-content:var(--color-olive-800)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-white)] dark:[--color-accent-content:var(--color-white)] dark:[--color-accent-foreground:var(--color-olive-800)]',
|
||||
'mist' => '[--color-accent:var(--color-mist-800)] [--color-accent-content:var(--color-mist-800)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-white)] dark:[--color-accent-content:var(--color-white)] dark:[--color-accent-foreground:var(--color-mist-800)]',
|
||||
'taupe' => '[--color-accent:var(--color-taupe-800)] [--color-accent-content:var(--color-taupe-800)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-white)] dark:[--color-accent-content:var(--color-white)] dark:[--color-accent-foreground:var(--color-taupe-800)]',
|
||||
'red' => '[--color-accent:var(--color-red-500)] [--color-accent-content:var(--color-red-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-red-500)] dark:[--color-accent-content:var(--color-red-400)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'orange' => '[--color-accent:var(--color-orange-500)] [--color-accent-content:var(--color-orange-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-orange-400)] dark:[--color-accent-content:var(--color-orange-400)] dark:[--color-accent-foreground:var(--color-orange-950)]',
|
||||
'amber' => '[--color-accent:var(--color-amber-400)] [--color-accent-content:var(--color-amber-600)] [--color-accent-foreground:var(--color-amber-950)] dark:[--color-accent:var(--color-amber-400)] dark:[--color-accent-content:var(--color-amber-400)] dark:[--color-accent-foreground:var(--color-amber-950)]',
|
||||
'yellow' => '[--color-accent:var(--color-yellow-400)] [--color-accent-content:var(--color-yellow-600)] [--color-accent-foreground:var(--color-yellow-950)] dark:[--color-accent:var(--color-yellow-400)] dark:[--color-accent-content:var(--color-yellow-400)] dark:[--color-accent-foreground:var(--color-yellow-950)]',
|
||||
'lime' => '[--color-accent:var(--color-lime-400)] [--color-accent-content:var(--color-lime-600)] [--color-accent-foreground:var(--color-lime-900)] dark:[--color-accent:var(--color-lime-400)] dark:[--color-accent-content:var(--color-lime-400)] dark:[--color-accent-foreground:var(--color-lime-950)]',
|
||||
'green' => '[--color-accent:var(--color-green-600)] [--color-accent-content:var(--color-green-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-green-600)] dark:[--color-accent-content:var(--color-green-400)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'emerald' => '[--color-accent:var(--color-emerald-600)] [--color-accent-content:var(--color-emerald-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-emerald-600)] dark:[--color-accent-content:var(--color-emerald-400)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'teal' => '[--color-accent:var(--color-teal-600)] [--color-accent-content:var(--color-teal-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-teal-600)] dark:[--color-accent-content:var(--color-teal-400)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'cyan' => '[--color-accent:var(--color-cyan-600)] [--color-accent-content:var(--color-cyan-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-cyan-600)] dark:[--color-accent-content:var(--color-cyan-400)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'sky' => '[--color-accent:var(--color-sky-600)] [--color-accent-content:var(--color-sky-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-sky-600)] dark:[--color-accent-content:var(--color-sky-400)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'blue' => '[--color-accent:var(--color-blue-500)] [--color-accent-content:var(--color-blue-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-blue-500)] dark:[--color-accent-content:var(--color-blue-400)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'indigo' => '[--color-accent:var(--color-indigo-500)] [--color-accent-content:var(--color-indigo-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-indigo-500)] dark:[--color-accent-content:var(--color-indigo-300)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'violet' => '[--color-accent:var(--color-violet-500)] [--color-accent-content:var(--color-violet-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-violet-500)] dark:[--color-accent-content:var(--color-violet-400)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'purple' => '[--color-accent:var(--color-purple-500)] [--color-accent-content:var(--color-purple-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-purple-500)] dark:[--color-accent-content:var(--color-purple-300)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'fuchsia' => '[--color-accent:var(--color-fuchsia-600)] [--color-accent-content:var(--color-fuchsia-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-fuchsia-600)] dark:[--color-accent-content:var(--color-fuchsia-400)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'pink' => '[--color-accent:var(--color-pink-600)] [--color-accent-content:var(--color-pink-600)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-pink-600)] dark:[--color-accent-content:var(--color-pink-400)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
'rose' => '[--color-accent:var(--color-rose-500)] [--color-accent-content:var(--color-rose-500)] [--color-accent-foreground:var(--color-white)] dark:[--color-accent:var(--color-rose-500)] dark:[--color-accent-content:var(--color-rose-400)] dark:[--color-accent-foreground:var(--color-white)]',
|
||||
default => '',
|
||||
} : '')
|
||||
;
|
||||
|
||||
// Exempt subtle and ghost buttons from receiving border roundness overrides from button.group...
|
||||
$attributes = $attributes->merge([
|
||||
'data-flux-group-target' => ! in_array($variant, ['subtle', 'ghost']),
|
||||
]);
|
||||
?>
|
||||
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/with-tooltip.blade.php', $__blaze->compiledPath.'/aa95fbce23418b137067494ed04f2103.php'); ?>
|
||||
<?php if (isset($__slotsaa95fbce23418b137067494ed04f2103)) { $__slotsStackaa95fbce23418b137067494ed04f2103[] = $__slotsaa95fbce23418b137067494ed04f2103; } ?>
|
||||
<?php if (isset($__attrsaa95fbce23418b137067494ed04f2103)) { $__attrsStackaa95fbce23418b137067494ed04f2103[] = $__attrsaa95fbce23418b137067494ed04f2103; } ?>
|
||||
<?php $__attrsaa95fbce23418b137067494ed04f2103 = ['attributes' => $attributes]; ?>
|
||||
<?php $__slotsaa95fbce23418b137067494ed04f2103 = []; ?>
|
||||
<?php $__blaze->pushData($__attrsaa95fbce23418b137067494ed04f2103); ?>
|
||||
<?php ob_start(); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button-or-link-pure.blade.php', $__blaze->compiledPath.'/2b50f1ba4461c6565361e1b333f98ee8.php'); ?>
|
||||
<?php if (isset($__slots2b50f1ba4461c6565361e1b333f98ee8)) { $__slotsStack2b50f1ba4461c6565361e1b333f98ee8[] = $__slots2b50f1ba4461c6565361e1b333f98ee8; } ?>
|
||||
<?php if (isset($__attrs2b50f1ba4461c6565361e1b333f98ee8)) { $__attrsStack2b50f1ba4461c6565361e1b333f98ee8[] = $__attrs2b50f1ba4461c6565361e1b333f98ee8; } ?>
|
||||
<?php $__attrs2b50f1ba4461c6565361e1b333f98ee8 = ['type' => $type,'attributes' => $attributes->class($classes),'dataFluxButton' => true]; ?>
|
||||
<?php $__slots2b50f1ba4461c6565361e1b333f98ee8 = []; ?>
|
||||
<?php $__blaze->pushData($__attrs2b50f1ba4461c6565361e1b333f98ee8); ?>
|
||||
<?php ob_start(); ?>
|
||||
<?php if ($loading): ?>
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<?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' => 'loading','variant' => $iconVariant,'class' => $iconClasses]); ?>
|
||||
<?php __1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => 'loading','variant' => $iconVariant,'class' => $iconClasses], [], ['variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (is_string($iconLeading) && $iconLeading !== ''): ?>
|
||||
<?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 elseif ($iconLeading): ?>
|
||||
<?php echo e($iconLeading); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (($loading || $iconLeading || $iconTrailing) && ! $slot->isEmpty()): ?>
|
||||
|
||||
|
||||
<span><?php echo e($slot); ?></span>
|
||||
<?php else: ?>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($kbd): ?>
|
||||
<div class="text-xs text-zinc-400 dark:text-zinc-400"><?php echo e($kbd); ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (is_string($iconTrailing) && $iconTrailing !== ''): ?>
|
||||
|
||||
<?php $iconClasses->add($square ? '' : '-ms-1'); ?>
|
||||
<?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' => $iconTrailingVariant,'class' => $iconTrailingClasses]); ?>
|
||||
<?php __1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconTrailing,'variant' => $iconTrailingVariant,'class' => $iconTrailingClasses], [], ['icon', 'variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php elseif ($iconTrailing): ?>
|
||||
<?php echo e($iconTrailing); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php $__slots2b50f1ba4461c6565361e1b333f98ee8['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slots2b50f1ba4461c6565361e1b333f98ee8); ?>
|
||||
<?php __2b50f1ba4461c6565361e1b333f98ee8($__blaze, $__attrs2b50f1ba4461c6565361e1b333f98ee8, $__slots2b50f1ba4461c6565361e1b333f98ee8, ['type', 'attributes', 'dataFluxButton'], ['dataFluxButton' => 'data-flux-button'], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStack2b50f1ba4461c6565361e1b333f98ee8)) { $__slots2b50f1ba4461c6565361e1b333f98ee8 = array_pop($__slotsStack2b50f1ba4461c6565361e1b333f98ee8); } ?>
|
||||
<?php if (! empty($__attrsStack2b50f1ba4461c6565361e1b333f98ee8)) { $__attrs2b50f1ba4461c6565361e1b333f98ee8 = array_pop($__attrsStack2b50f1ba4461c6565361e1b333f98ee8); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php $__slotsaa95fbce23418b137067494ed04f2103['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotsaa95fbce23418b137067494ed04f2103); ?>
|
||||
<?php __aa95fbce23418b137067494ed04f2103($__blaze, $__attrsaa95fbce23418b137067494ed04f2103, $__slotsaa95fbce23418b137067494ed04f2103, ['attributes'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackaa95fbce23418b137067494ed04f2103)) { $__slotsaa95fbce23418b137067494ed04f2103 = array_pop($__slotsStackaa95fbce23418b137067494ed04f2103); } ?>
|
||||
<?php if (! empty($__attrsStackaa95fbce23418b137067494ed04f2103)) { $__attrsaa95fbce23418b137067494ed04f2103 = array_pop($__attrsStackaa95fbce23418b137067494ed04f2103); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
if (!function_exists('__bd9217854e052b6e6cedc5747168a781')):
|
||||
function __bd9217854e052b6e6cedc5747168a781($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
$__defaults = [
|
||||
'variant' => null,
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes()
|
||||
->add('flex flex-col')
|
||||
->add('overflow-visible min-h-auto')
|
||||
;
|
||||
?>
|
||||
|
||||
<nav <?php echo e($attributes->class($classes)); ?> data-flux-navlist>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</nav>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/navlist/index.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if (!function_exists('__c28c8bb9dc3d44b8298bf2be2d202363')):
|
||||
function __c28c8bb9dc3d44b8298bf2be2d202363($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M15.75 5.25a3 3 0 0 1 3 3m3 0a6 6 0 0 1-7.029 5.912c-.563-.097-1.159.026-1.563.43L10.5 17.25H8.25v2.25H6v2.25H2.25v-2.818c0-.597.237-1.17.659-1.591l6.499-6.499c.404-.404.527-1 .43-1.563A6 6 0 1 1 21.75 8.25Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M15.75 1.5a6.75 6.75 0 0 0-6.651 7.906c.067.39-.032.717-.221.906l-6.5 6.499a3 3 0 0 0-.878 2.121v2.818c0 .414.336.75.75.75H6a.75.75 0 0 0 .75-.75v-1.5h1.5A.75.75 0 0 0 9 19.5V18h1.5a.75.75 0 0 0 .53-.22l2.658-2.658c.19-.189.517-.288.906-.22A6.75 6.75 0 1 0 15.75 1.5Zm0 3a.75.75 0 0 0 0 1.5A2.25 2.25 0 0 1 18 8.25a.75.75 0 0 0 1.5 0 3.75 3.75 0 0 0-3.75-3.75Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M8 7a5 5 0 1 1 3.61 4.804l-1.903 1.903A1 1 0 0 1 9 14H8v1a1 1 0 0 1-1 1H6v1a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-2a1 1 0 0 1 .293-.707L8.196 8.39A5.002 5.002 0 0 1 8 7Zm5-3a.75.75 0 0 0 0 1.5A1.5 1.5 0 0 1 14.5 7 .75.75 0 0 0 16 7a3 3 0 0 0-3-3Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M14 6a4 4 0 0 1-4.899 3.899l-1.955 1.955a.5.5 0 0 1-.353.146H5v1.5a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1-.5-.5v-2.293a.5.5 0 0 1 .146-.353l3.955-3.955A4 4 0 1 1 14 6Zm-4-2a.75.75 0 0 0 0 1.5.5.5 0 0 1 .5.5.75.75 0 0 0 1.5 0 2 2 0 0 0-2-2Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/key.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,120 @@
|
||||
<?php
|
||||
if (!function_exists('__c47a7698d859fe0603a8ccaf476ef2fa')):
|
||||
function __c47a7698d859fe0603a8ccaf476ef2fa($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
extract(Flux::forwardedAttributes($attributes, [
|
||||
'name',
|
||||
'descriptionTrailing',
|
||||
'description',
|
||||
'label',
|
||||
'badge',
|
||||
]));
|
||||
?>
|
||||
|
||||
<?php $descriptionTrailing = $descriptionTrailing ??= $attributes->pluck('description:trailing'); ?>
|
||||
|
||||
<?php
|
||||
$__defaults = [
|
||||
'name' => $attributes->whereStartsWith('wire:model')->first(),
|
||||
'descriptionTrailing' => null,
|
||||
'description' => null,
|
||||
'label' => null,
|
||||
'badge' => null,
|
||||
];
|
||||
$name ??= $attributes['name'] ?? $__defaults['name']; unset($attributes['name']);
|
||||
$descriptionTrailing ??= $attributes['description-trailing'] ?? $attributes['descriptionTrailing'] ?? $__defaults['descriptionTrailing']; unset($attributes['descriptionTrailing'], $attributes['description-trailing']);
|
||||
$description ??= $attributes['description'] ?? $__defaults['description']; unset($attributes['description']);
|
||||
$label ??= $attributes['label'] ?? $__defaults['label']; unset($attributes['label']);
|
||||
$badge ??= $attributes['badge'] ?? $__defaults['badge']; unset($attributes['badge']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php if (isset($label) || isset($description)): ?>
|
||||
<?php
|
||||
|
||||
$fieldAttributes = Flux::attributesAfter('field:', $attributes, []);
|
||||
$labelAttributes = Flux::attributesAfter('label:', $attributes, ['badge' => $badge]);
|
||||
$descriptionAttributes = Flux::attributesAfter('description:', $attributes, []);
|
||||
$errorAttributes = Flux::attributesAfter('error:', $attributes, ['name' => $name]);
|
||||
?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/field.blade.php', $__blaze->compiledPath.'/ce9b687ed5c22cf630d893c65a283cef.php'); ?>
|
||||
<?php if (isset($__slotsce9b687ed5c22cf630d893c65a283cef)) { $__slotsStackce9b687ed5c22cf630d893c65a283cef[] = $__slotsce9b687ed5c22cf630d893c65a283cef; } ?>
|
||||
<?php if (isset($__attrsce9b687ed5c22cf630d893c65a283cef)) { $__attrsStackce9b687ed5c22cf630d893c65a283cef[] = $__attrsce9b687ed5c22cf630d893c65a283cef; } ?>
|
||||
<?php $__attrsce9b687ed5c22cf630d893c65a283cef = ['attributes' => $fieldAttributes]; ?>
|
||||
<?php $__slotsce9b687ed5c22cf630d893c65a283cef = []; ?>
|
||||
<?php $__blaze->pushData($__attrsce9b687ed5c22cf630d893c65a283cef); ?>
|
||||
<?php ob_start(); ?>
|
||||
<?php if (isset($label)): ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/label.blade.php', $__blaze->compiledPath.'/3f517801b5f092fe4d21317230b28eb5.php'); ?>
|
||||
<?php if (isset($__slots3f517801b5f092fe4d21317230b28eb5)) { $__slotsStack3f517801b5f092fe4d21317230b28eb5[] = $__slots3f517801b5f092fe4d21317230b28eb5; } ?>
|
||||
<?php if (isset($__attrs3f517801b5f092fe4d21317230b28eb5)) { $__attrsStack3f517801b5f092fe4d21317230b28eb5[] = $__attrs3f517801b5f092fe4d21317230b28eb5; } ?>
|
||||
<?php $__attrs3f517801b5f092fe4d21317230b28eb5 = ['attributes' => $labelAttributes]; ?>
|
||||
<?php $__slots3f517801b5f092fe4d21317230b28eb5 = []; ?>
|
||||
<?php $__blaze->pushData($__attrs3f517801b5f092fe4d21317230b28eb5); ?>
|
||||
<?php ob_start(); ?><?php echo e($label); ?><?php $__slots3f517801b5f092fe4d21317230b28eb5['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slots3f517801b5f092fe4d21317230b28eb5); ?>
|
||||
<?php __3f517801b5f092fe4d21317230b28eb5($__blaze, $__attrs3f517801b5f092fe4d21317230b28eb5, $__slots3f517801b5f092fe4d21317230b28eb5, ['attributes'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStack3f517801b5f092fe4d21317230b28eb5)) { $__slots3f517801b5f092fe4d21317230b28eb5 = array_pop($__slotsStack3f517801b5f092fe4d21317230b28eb5); } ?>
|
||||
<?php if (! empty($__attrsStack3f517801b5f092fe4d21317230b28eb5)) { $__attrs3f517801b5f092fe4d21317230b28eb5 = array_pop($__attrsStack3f517801b5f092fe4d21317230b28eb5); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (isset($description)): ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/description.blade.php', $__blaze->compiledPath.'/28fe7d5cd6608b5b07e3a8f31e8619b9.php'); ?>
|
||||
<?php if (isset($__slots28fe7d5cd6608b5b07e3a8f31e8619b9)) { $__slotsStack28fe7d5cd6608b5b07e3a8f31e8619b9[] = $__slots28fe7d5cd6608b5b07e3a8f31e8619b9; } ?>
|
||||
<?php if (isset($__attrs28fe7d5cd6608b5b07e3a8f31e8619b9)) { $__attrsStack28fe7d5cd6608b5b07e3a8f31e8619b9[] = $__attrs28fe7d5cd6608b5b07e3a8f31e8619b9; } ?>
|
||||
<?php $__attrs28fe7d5cd6608b5b07e3a8f31e8619b9 = ['attributes' => $descriptionAttributes]; ?>
|
||||
<?php $__slots28fe7d5cd6608b5b07e3a8f31e8619b9 = []; ?>
|
||||
<?php $__blaze->pushData($__attrs28fe7d5cd6608b5b07e3a8f31e8619b9); ?>
|
||||
<?php ob_start(); ?><?php echo e($description); ?><?php $__slots28fe7d5cd6608b5b07e3a8f31e8619b9['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slots28fe7d5cd6608b5b07e3a8f31e8619b9); ?>
|
||||
<?php __28fe7d5cd6608b5b07e3a8f31e8619b9($__blaze, $__attrs28fe7d5cd6608b5b07e3a8f31e8619b9, $__slots28fe7d5cd6608b5b07e3a8f31e8619b9, ['attributes'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStack28fe7d5cd6608b5b07e3a8f31e8619b9)) { $__slots28fe7d5cd6608b5b07e3a8f31e8619b9 = array_pop($__slotsStack28fe7d5cd6608b5b07e3a8f31e8619b9); } ?>
|
||||
<?php if (! empty($__attrsStack28fe7d5cd6608b5b07e3a8f31e8619b9)) { $__attrs28fe7d5cd6608b5b07e3a8f31e8619b9 = array_pop($__attrsStack28fe7d5cd6608b5b07e3a8f31e8619b9); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
|
||||
|
||||
[STARTCOMPILEDUNBLAZE:v7j85YI7i1]<?php \Livewire\Blaze\Unblaze::storeScope("v7j85YI7i1", scope: ['attributes' => $errorAttributes->getAttributes()]) ?>[ENDCOMPILEDUNBLAZE:v7j85YI7i1]
|
||||
|
||||
<?php if (isset($descriptionTrailing)): ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/description.blade.php', $__blaze->compiledPath.'/28fe7d5cd6608b5b07e3a8f31e8619b9.php'); ?>
|
||||
<?php if (isset($__slots28fe7d5cd6608b5b07e3a8f31e8619b9)) { $__slotsStack28fe7d5cd6608b5b07e3a8f31e8619b9[] = $__slots28fe7d5cd6608b5b07e3a8f31e8619b9; } ?>
|
||||
<?php if (isset($__attrs28fe7d5cd6608b5b07e3a8f31e8619b9)) { $__attrsStack28fe7d5cd6608b5b07e3a8f31e8619b9[] = $__attrs28fe7d5cd6608b5b07e3a8f31e8619b9; } ?>
|
||||
<?php $__attrs28fe7d5cd6608b5b07e3a8f31e8619b9 = ['attributes' => $descriptionAttributes]; ?>
|
||||
<?php $__slots28fe7d5cd6608b5b07e3a8f31e8619b9 = []; ?>
|
||||
<?php $__blaze->pushData($__attrs28fe7d5cd6608b5b07e3a8f31e8619b9); ?>
|
||||
<?php ob_start(); ?><?php echo e($descriptionTrailing); ?><?php $__slots28fe7d5cd6608b5b07e3a8f31e8619b9['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slots28fe7d5cd6608b5b07e3a8f31e8619b9); ?>
|
||||
<?php __28fe7d5cd6608b5b07e3a8f31e8619b9($__blaze, $__attrs28fe7d5cd6608b5b07e3a8f31e8619b9, $__slots28fe7d5cd6608b5b07e3a8f31e8619b9, ['attributes'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStack28fe7d5cd6608b5b07e3a8f31e8619b9)) { $__slots28fe7d5cd6608b5b07e3a8f31e8619b9 = array_pop($__slotsStack28fe7d5cd6608b5b07e3a8f31e8619b9); } ?>
|
||||
<?php if (! empty($__attrsStack28fe7d5cd6608b5b07e3a8f31e8619b9)) { $__attrs28fe7d5cd6608b5b07e3a8f31e8619b9 = array_pop($__attrsStack28fe7d5cd6608b5b07e3a8f31e8619b9); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php endif; ?>
|
||||
<?php $__slotsce9b687ed5c22cf630d893c65a283cef['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotsce9b687ed5c22cf630d893c65a283cef); ?>
|
||||
<?php __ce9b687ed5c22cf630d893c65a283cef($__blaze, $__attrsce9b687ed5c22cf630d893c65a283cef, $__slotsce9b687ed5c22cf630d893c65a283cef, ['attributes'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackce9b687ed5c22cf630d893c65a283cef)) { $__slotsce9b687ed5c22cf630d893c65a283cef = array_pop($__slotsStackce9b687ed5c22cf630d893c65a283cef); } ?>
|
||||
<?php if (! empty($__attrsStackce9b687ed5c22cf630d893c65a283cef)) { $__attrsce9b687ed5c22cf630d893c65a283cef = array_pop($__attrsStackce9b687ed5c22cf630d893c65a283cef); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php else: ?>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/with-field.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
if (!function_exists('__cc174b1d5cdad28ce47151081fcf545d')):
|
||||
function __cc174b1d5cdad28ce47151081fcf545d($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
$__defaults = [
|
||||
'shortcut' => null,
|
||||
'name' => null,
|
||||
];
|
||||
$shortcut ??= $attributes['shortcut'] ?? $__defaults['shortcut']; unset($attributes['shortcut']);
|
||||
$name ??= $attributes['name'] ?? $__defaults['name']; unset($attributes['name']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<div
|
||||
<?php echo e($attributes->class('contents')); ?>
|
||||
|
||||
x-data
|
||||
x-on:click="$el.querySelector('button[disabled]') || $dispatch('modal-show', { name: '<?php echo e($name); ?>' })"
|
||||
<?php if($shortcut): ?>
|
||||
x-on:keydown.<?php echo e($shortcut); ?>.document="$event.preventDefault(); $dispatch('modal-show', { name: '<?php echo e($name); ?>' })"
|
||||
<?php endif; ?>
|
||||
data-flux-modal-trigger
|
||||
>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/trigger.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
if (!function_exists('__ce9b687ed5c22cf630d893c65a283cef')):
|
||||
function __ce9b687ed5c22cf630d893c65a283cef($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
$__defaults = [
|
||||
'variant' => 'block',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes()
|
||||
->add('min-w-0') // This is here to allow nested input elements like flux::input.file to truncate properly...
|
||||
->add('[&:not(:has([data-flux-field])):has([data-flux-control][disabled])>[data-flux-label]]:opacity-50') // Dim labels for fields with no nested fields when a control is disabled...
|
||||
->add('[&:has(>[data-flux-radio-group][disabled])>[data-flux-label]]:opacity-50') // Special case for radio groups because they are nested fields...
|
||||
->add('[&:has(>[data-flux-checkbox-group][disabled])>[data-flux-label]]:opacity-50') // Special case for checkbox groups because they are nested fields...
|
||||
->add(match ($variant) {
|
||||
default => 'block',
|
||||
'bare' => '[:where(&)]:block',
|
||||
'inline' => [
|
||||
'grid gap-x-3 gap-y-1.5',
|
||||
'has-[[data-flux-label]~[data-flux-control]]:grid-cols-[1fr_auto]',
|
||||
'has-[[data-flux-control]~[data-flux-label]]:grid-cols-[auto_1fr]',
|
||||
'[&>[data-flux-control]~[data-flux-description]]:row-start-2 [&>[data-flux-control]~[data-flux-description]]:col-start-2',
|
||||
'[&>[data-flux-control]~[data-flux-error]]:col-span-2 [&>[data-flux-control]~[data-flux-error]]:mt-1', // Position error messages...
|
||||
'[&>[data-flux-label]~[data-flux-control]]:row-start-1 [&>[data-flux-label]~[data-flux-control]]:col-start-2',
|
||||
],
|
||||
})
|
||||
->add(match ($variant) {
|
||||
default => [ // Adjust spacing around label...
|
||||
'*:data-flux-label:mb-3 [&>[data-flux-label]:has(+[data-flux-description])]:mb-2',
|
||||
],
|
||||
'bare' => '',
|
||||
'inline' => '',
|
||||
})
|
||||
->add(match ($variant) {
|
||||
default => [ // Adjust spacing around description...
|
||||
'[&>[data-flux-label]+[data-flux-description]]:mt-0',
|
||||
'[&>[data-flux-label]+[data-flux-description]]:mb-3',
|
||||
'[&>*:not([data-flux-label])+[data-flux-description]]:mt-3',
|
||||
],
|
||||
'bare' => '',
|
||||
'inline' => '',
|
||||
});
|
||||
?>
|
||||
|
||||
<ui-field <?php echo e($attributes->class($classes)); ?> data-flux-field>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</ui-field>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/field.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,72 @@
|
||||
<?php
|
||||
if (!function_exists('__cf33fba849d963227eb8693ab9ed17c2')):
|
||||
function __cf33fba849d963227eb8693ab9ed17c2($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
$__awareDefaults = [ 'variant', 'size', 'indicator' ];
|
||||
$variant = $__blaze->getConsumableData('variant'); unset($attributes['variant']);
|
||||
$size = $__blaze->getConsumableData('size'); unset($attributes['size']);
|
||||
$indicator = $__blaze->getConsumableData('indicator'); unset($attributes['indicator']);
|
||||
unset($__awareDefaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$__defaults = [
|
||||
'variant' => 'default',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
// This prevents variants picked up by `@aware()` from other wrapping components like flux::modal from being used here...
|
||||
$variant = $variant !== 'default' && Flux::componentExists('radio.variants.' . $variant)
|
||||
? $variant
|
||||
: 'default';
|
||||
?>
|
||||
|
||||
<?php $__resolved = $__blaze->resolve('flux::' . 'radio.variants.' . $variant); ?>
|
||||
<?php $__blaze->pushData($attributes->all()); ?>
|
||||
<?php if ($__resolved !== false): ?>
|
||||
<?php if (isset($__slotsf8c87abf09e99b80a7402be5146c697b)) { $__slotsStackf8c87abf09e99b80a7402be5146c697b[] = $__slotsf8c87abf09e99b80a7402be5146c697b; } ?>
|
||||
<?php $__slotsf8c87abf09e99b80a7402be5146c697b = []; ?>
|
||||
<?php ob_start(); ?><?php echo e($slot); ?><?php $__slotsf8c87abf09e99b80a7402be5146c697b['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
||||
<?php $__slotsf8c87abf09e99b80a7402be5146c697b = array_merge($__blaze->mergedComponentSlots(), $__slotsf8c87abf09e99b80a7402be5146c697b); ?>
|
||||
<?php ('__' . $__resolved)($__blaze, $attributes->all(), $__slotsf8c87abf09e99b80a7402be5146c697b, [], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackf8c87abf09e99b80a7402be5146c697b)) { $__slotsf8c87abf09e99b80a7402be5146c697b = array_pop($__slotsStackf8c87abf09e99b80a7402be5146c697b); } ?>
|
||||
<?php else: ?>
|
||||
<?php if (!Flux::componentExists($name = 'radio.variants.' . $variant)) throw new \Exception("Flux component [{$name}] does not exist."); ?><?php if (isset($component)) { $__componentOriginal265f91d25e15cdf8789a0aea59dc939c = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal265f91d25e15cdf8789a0aea59dc939c = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve([
|
||||
'view' => (app()->version() >= 12 ? hash('xxh128', 'flux') : md5('flux')) . '::' . 'radio.variants.' . $variant,
|
||||
'data' => $__env->getCurrentComponentData(),
|
||||
] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('flux::' . 'radio.variants.' . $variant); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php $component->withAttributes($attributes->getAttributes()); ?><?php echo e($slot); ?> <?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal265f91d25e15cdf8789a0aea59dc939c)): ?>
|
||||
<?php $attributes = $__attributesOriginal265f91d25e15cdf8789a0aea59dc939c; ?>
|
||||
<?php unset($__attributesOriginal265f91d25e15cdf8789a0aea59dc939c); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal265f91d25e15cdf8789a0aea59dc939c)): ?>
|
||||
<?php $component = $__componentOriginal265f91d25e15cdf8789a0aea59dc939c; ?>
|
||||
<?php unset($__componentOriginal265f91d25e15cdf8789a0aea59dc939c); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php unset($__resolved) ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/radio/index.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
if (!function_exists('__d25d862612e39e11217d828f2c2707b8')):
|
||||
function __d25d862612e39e11217d828f2c2707b8($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 0 1-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 0 1 1.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 0 0-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 0 1-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H9.75"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M7.5 3.375c0-1.036.84-1.875 1.875-1.875h.375a3.75 3.75 0 0 1 3.75 3.75v1.875C13.5 8.161 14.34 9 15.375 9h1.875A3.75 3.75 0 0 1 21 12.75v3.375C21 17.16 20.16 18 19.125 18h-9.75A1.875 1.875 0 0 1 7.5 16.125V3.375Z"/>
|
||||
<path d="M15 5.25a5.23 5.23 0 0 0-1.279-3.434 9.768 9.768 0 0 1 6.963 6.963A5.23 5.23 0 0 0 17.25 7.5h-1.875A.375.375 0 0 1 15 7.125V5.25ZM4.875 6H6v10.125A3.375 3.375 0 0 0 9.375 19.5H16.5v1.125c0 1.035-.84 1.875-1.875 1.875h-9.75A1.875 1.875 0 0 1 3 20.625V7.875C3 6.839 3.84 6 4.875 6Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M7 3.5A1.5 1.5 0 0 1 8.5 2h3.879a1.5 1.5 0 0 1 1.06.44l3.122 3.12A1.5 1.5 0 0 1 17 6.622V12.5a1.5 1.5 0 0 1-1.5 1.5h-1v-3.379a3 3 0 0 0-.879-2.121L10.5 5.379A3 3 0 0 0 8.379 4.5H7v-1Z"/>
|
||||
<path d="M4.5 6A1.5 1.5 0 0 0 3 7.5v9A1.5 1.5 0 0 0 4.5 18h7a1.5 1.5 0 0 0 1.5-1.5v-5.879a1.5 1.5 0 0 0-.44-1.06L9.44 6.439A1.5 1.5 0 0 0 8.378 6H4.5Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M5.5 3.5A1.5 1.5 0 0 1 7 2h2.879a1.5 1.5 0 0 1 1.06.44l2.122 2.12a1.5 1.5 0 0 1 .439 1.061V9.5A1.5 1.5 0 0 1 12 11V8.621a3 3 0 0 0-.879-2.121L9 4.379A3 3 0 0 0 6.879 3.5H5.5Z"/>
|
||||
<path d="M4 5a1.5 1.5 0 0 0-1.5 1.5v6A1.5 1.5 0 0 0 4 14h5a1.5 1.5 0 0 0 1.5-1.5V8.621a1.5 1.5 0 0 0-.44-1.06L7.94 5.439A1.5 1.5 0 0 0 6.878 5H4Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/document-duplicate.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
if (!function_exists('__da85d770d21a34740fbce1c2f553e5c7')):
|
||||
function __da85d770d21a34740fbce1c2f553e5c7($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
$__defaults = [
|
||||
'as' => null,
|
||||
'external' => null,
|
||||
'accent' => true,
|
||||
'variant' => null,
|
||||
'strong' => false,
|
||||
];
|
||||
$as ??= $attributes['as'] ?? $__defaults['as']; unset($attributes['as']);
|
||||
$external ??= $attributes['external'] ?? $__defaults['external']; unset($attributes['external']);
|
||||
$accent ??= $attributes['accent'] ?? $__defaults['accent']; unset($attributes['accent']);
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
$strong ??= $attributes['strong'] ?? $__defaults['strong']; unset($attributes['strong']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes()
|
||||
->add('inline font-medium')
|
||||
->add('underline-offset-[6px] hover:decoration-current')
|
||||
->add(match ($variant) {
|
||||
'ghost' => 'no-underline hover:underline',
|
||||
'subtle' => 'no-underline',
|
||||
default => 'underline',
|
||||
})
|
||||
->add('[[data-color]>&]:text-inherit [[data-color]>&]:decoration-current/20 dark:[[data-color]>&]:decoration-current/50 [[data-color]>&]:hover:decoration-current')
|
||||
->add(match ($variant) {
|
||||
'subtle' => 'text-zinc-500 dark:text-white/70 hover:text-zinc-800 dark:hover:text-white',
|
||||
default => match ($accent) {
|
||||
true => 'text-[var(--color-accent-content)] decoration-[color-mix(in_oklab,var(--color-accent-content),transparent_80%)]',
|
||||
false => 'text-zinc-800 dark:text-white decoration-zinc-800/20 dark:decoration-white/20',
|
||||
},
|
||||
})
|
||||
;
|
||||
?>
|
||||
|
||||
<?php if ($as !== 'button') : ?><a <?php echo e($attributes->class($classes)); ?> data-flux-link <?php if ($external) : ?>target="_blank"<?php endif; ?>><?php echo e($slot); ?></a><?php else : ?><button <?php echo e($attributes->merge(['class' => $classes, 'type' => 'button'])); ?> data-flux-link><?php echo e($slot); ?></button><?php endif; ?><?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/link.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
if (!function_exists('__daaa9501a88d6b8fd078d59fa3df78a6')):
|
||||
function __daaa9501a88d6b8fd078d59fa3df78a6($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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
|
||||
$__defaults = [
|
||||
'size' => 'base',
|
||||
];
|
||||
$size ??= $attributes['size'] ?? $__defaults['size']; unset($attributes['size']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes()
|
||||
->add(match ($size) {
|
||||
'xl' => 'text-lg',
|
||||
'lg' => 'text-base',
|
||||
default => 'text-sm',
|
||||
'sm' => 'text-xs',
|
||||
})
|
||||
->add('[:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70')
|
||||
;
|
||||
?>
|
||||
|
||||
<div <?php echo e($attributes->class($classes)); ?> data-flux-subheading>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</div>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/subheading.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if (!function_exists('__db44e7e7e9b0fcf1f3f21ead9f88d181')):
|
||||
function __db44e7e7e9b0fcf1f3f21ead9f88d181($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 0 1 .143 1.052l-8 10.5a.75.75 0 0 1-1.127.075l-4.5-4.5a.75.75 0 0 1 1.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 0 1 1.05-.143Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path fill-rule="evenodd" d="M12.416 3.376a.75.75 0 0 1 .208 1.04l-5 7.5a.75.75 0 0 1-1.154.114l-3-3a.75.75 0 0 1 1.06-1.06l2.353 2.353 4.493-6.74a.75.75 0 0 1 1.04-.207Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/check.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if (!function_exists('__e6b13c17fce02b7f69294bdf8f2c9b74')):
|
||||
function __e6b13c17fce02b7f69294bdf8f2c9b74($__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 = [
|
||||
'variant' => 'outline',
|
||||
];
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$classes = Flux::classes('shrink-0')
|
||||
->add(match($variant) {
|
||||
'outline' => '[:where(&)]:size-6',
|
||||
'solid' => '[:where(&)]:size-6',
|
||||
'mini' => '[:where(&)]:size-5',
|
||||
'micro' => '[:where(&)]:size-4',
|
||||
});
|
||||
?>
|
||||
|
||||
<?php switch ($variant): case ('outline'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('solid'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M12 2.25a.75.75 0 0 1 .75.75v2.25a.75.75 0 0 1-1.5 0V3a.75.75 0 0 1 .75-.75ZM7.5 12a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM18.894 6.166a.75.75 0 0 0-1.06-1.06l-1.591 1.59a.75.75 0 1 0 1.06 1.061l1.591-1.59ZM21.75 12a.75.75 0 0 1-.75.75h-2.25a.75.75 0 0 1 0-1.5H21a.75.75 0 0 1 .75.75ZM17.834 18.894a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 1 0-1.061 1.06l1.59 1.591ZM12 18a.75.75 0 0 1 .75.75V21a.75.75 0 0 1-1.5 0v-2.25A.75.75 0 0 1 12 18ZM7.758 17.303a.75.75 0 0 0-1.061-1.06l-1.591 1.59a.75.75 0 0 0 1.06 1.061l1.591-1.59ZM6 12a.75.75 0 0 1-.75.75H3a.75.75 0 0 1 0-1.5h2.25A.75.75 0 0 1 6 12ZM6.697 7.757a.75.75 0 0 0 1.06-1.06l-1.59-1.591a.75.75 0 0 0-1.061 1.06l1.59 1.591Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('mini'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M10 2a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 2ZM10 15a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 10 15ZM10 7a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM15.657 5.404a.75.75 0 1 0-1.06-1.06l-1.061 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM6.464 14.596a.75.75 0 1 0-1.06-1.06l-1.06 1.06a.75.75 0 0 0 1.06 1.06l1.06-1.06ZM18 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 18 10ZM5 10a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 5 10ZM14.596 15.657a.75.75 0 0 0 1.06-1.06l-1.06-1.061a.75.75 0 1 0-1.06 1.06l1.06 1.06ZM5.404 6.464a.75.75 0 0 0 1.06-1.06l-1.06-1.06a.75.75 0 1 0-1.061 1.06l1.06 1.06Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php case ('micro'): ?>
|
||||
<svg <?php echo e($attributes->class($classes)); ?> data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||||
<path d="M8 1a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 8 1ZM10.5 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0ZM12.95 4.11a.75.75 0 1 0-1.06-1.06l-1.062 1.06a.75.75 0 0 0 1.061 1.062l1.06-1.061ZM15 8a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 15 8ZM11.89 12.95a.75.75 0 0 0 1.06-1.06l-1.06-1.062a.75.75 0 0 0-1.062 1.061l1.061 1.06ZM8 12a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5A.75.75 0 0 1 8 12ZM5.172 11.89a.75.75 0 0 0-1.061-1.062L3.05 11.89a.75.75 0 1 0 1.06 1.06l1.06-1.06ZM4 8a.75.75 0 0 1-.75.75h-1.5a.75.75 0 0 1 0-1.5h1.5A.75.75 0 0 1 4 8ZM4.11 5.172A.75.75 0 0 0 5.173 4.11L4.11 3.05a.75.75 0 1 0-1.06 1.06l1.06 1.06Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/sun.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,331 @@
|
||||
<?php
|
||||
if (!function_exists('__e9fe329cbd986d5723d2692e449cddae')):
|
||||
function __e9fe329cbd986d5723d2692e449cddae($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$__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($__blaze->processPassthroughContent('trim', 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->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(); ?>
|
||||
</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; ?>
|
||||
[STARTCOMPILEDUNBLAZE:rjNysOB5PM]<?php \Livewire\Blaze\Unblaze::storeScope("rjNysOB5PM", scope: ['name' => $name ?? null, 'invalid' => $invalid ?? false]) ?>[ENDCOMPILEDUNBLAZE:rjNysOB5PM]
|
||||
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->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 endif; ?>
|
||||
|
||||
<?php if ($clearable): ?>
|
||||
<?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 endif; ?>
|
||||
|
||||
<?php if ($kbd): ?>
|
||||
<span class="pointer-events-none"><?php echo e($kbd); ?></span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($expandable): ?>
|
||||
<?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 endif; ?>
|
||||
|
||||
<?php if ($copyable): ?>
|
||||
<?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 endif; ?>
|
||||
|
||||
<?php if ($viewable): ?>
|
||||
<?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 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->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 elseif ($iconTrailing): ?>
|
||||
<?php echo e($iconTrailing); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', 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->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(); ?>
|
||||
</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->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(); ?>
|
||||
</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 $__blaze->processPassthroughContent('ltrim', 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**/ ?>
|
||||
Reference in New Issue
Block a user