major update for UI
This commit is contained in:
@@ -58,10 +58,7 @@
|
||||
</a>
|
||||
@endif
|
||||
|
||||
<a href="{{ route('warehouse-rules.index') }}" wire:navigate class="wms-sidebar-link @if(request()->routeIs('warehouse-rules.*')) is-active @endif" title="{{ __('Validation Rules') }}">
|
||||
<i class="fa-solid fa-shield-halved wms-sidebar-icon" aria-hidden="true"></i>
|
||||
<span data-wms-sidebar-label>{{ __('Validation Rules') }}</span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
@if(auth()->user()?->isMpbaPlatformAdmin())
|
||||
@@ -72,7 +69,10 @@
|
||||
<i class="fa-solid fa-warehouse wms-sidebar-icon" aria-hidden="true"></i>
|
||||
<span data-wms-sidebar-label>{{ __('Warehouses') }}</span>
|
||||
</a>
|
||||
|
||||
<a href="{{ route('warehouse-rules.index') }}" wire:navigate class="wms-sidebar-link @if(request()->routeIs('warehouse-rules.*')) is-active @endif" title="{{ __('Validation Rules') }}">
|
||||
<i class="fa-solid fa-shield-halved wms-sidebar-icon" aria-hidden="true"></i>
|
||||
<span data-wms-sidebar-label>{{ __('Validation Rules') }}</span>
|
||||
</a>
|
||||
<a href="{{ route('platform.companies.index') }}" wire:navigate class="wms-sidebar-link @if(request()->routeIs('platform.companies.*')) is-active @endif" title="{{ __('Companies') }}">
|
||||
<i class="fa-solid fa-building wms-sidebar-icon" aria-hidden="true"></i>
|
||||
<span data-wms-sidebar-label>{{ __('Companies') }}</span>
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<div {{ $getExtraAttributeBag() }}>
|
||||
{{ $getState() }}
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
{{-- Use $getChildSchema() to render the child schema() of this component. --}}
|
||||
</div>
|
||||
@@ -0,0 +1,8 @@
|
||||
<x-dynamic-component
|
||||
:component="$getEntryWrapperView()"
|
||||
:entry="$entry"
|
||||
>
|
||||
<div {{ $getExtraAttributeBag() }}>
|
||||
{{ $getState() }}
|
||||
</div>
|
||||
</x-dynamic-component>
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
<x-dynamic-component
|
||||
:component="$getFieldWrapperView()"
|
||||
:field="$field"
|
||||
>
|
||||
<div
|
||||
x-data="{ state: $wire.$entangle(@js($getStatePath())) }"
|
||||
{{ $getExtraAttributeBag() }}
|
||||
>
|
||||
{{-- Interact with the `state` property in Alpine.js --}}
|
||||
</div>
|
||||
</x-dynamic-component>
|
||||
@@ -0,0 +1,11 @@
|
||||
<div>
|
||||
<form wire:submit="{{ submitAction }}">
|
||||
{{ $this->form }}
|
||||
|
||||
<button type="submit">
|
||||
Submit
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<x-filament-actions::modals />
|
||||
</div>
|
||||
@@ -0,0 +1,5 @@
|
||||
<div>
|
||||
{{ $this->content }}
|
||||
|
||||
<x-filament-actions::modals />
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
{{ $this->table }}
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<x-filament-panels::page>
|
||||
{{-- Page content --}}
|
||||
</x-filament-panels::page>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
{{-- Custom block preview --}}
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<div>
|
||||
{{-- Custom block --}}
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
@import '../../../../vendor/filament/filament/resources/css/theme.css';
|
||||
|
||||
@source '../../../../app/Filament/{{ classDirectory }}**/*';
|
||||
@source '../../../../resources/views/filament/{{ viewDirectory }}**/*';
|
||||
@@ -0,0 +1,5 @@
|
||||
<x-filament-widgets::widget>
|
||||
<x-filament::section>
|
||||
{{-- Widget content --}}
|
||||
</x-filament::section>
|
||||
</x-filament-widgets::widget>
|
||||
@@ -0,0 +1,137 @@
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;
|
||||
|
||||
$__newAttributes = [];
|
||||
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
|
||||
'optionsRoute' => 'passkey.login-options',
|
||||
'submitRoute' => 'passkey.login',
|
||||
'label' => __('Sign in with a passkey'),
|
||||
'loadingLabel' => __('Authenticating...'),
|
||||
'separator' => __('Or continue with email'),
|
||||
]));
|
||||
|
||||
foreach ($attributes->all() as $__key => $__value) {
|
||||
if (in_array($__key, $__propNames)) {
|
||||
$$__key = $$__key ?? $__value;
|
||||
} else {
|
||||
$__newAttributes[$__key] = $__value;
|
||||
}
|
||||
}
|
||||
|
||||
$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);
|
||||
|
||||
unset($__propNames);
|
||||
unset($__newAttributes);
|
||||
|
||||
foreach (array_filter(([
|
||||
'optionsRoute' => 'passkey.login-options',
|
||||
'submitRoute' => 'passkey.login',
|
||||
'label' => __('Sign in with a passkey'),
|
||||
'loadingLabel' => __('Authenticating...'),
|
||||
'separator' => __('Or continue with email'),
|
||||
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
|
||||
$$__key = $$__key ?? $__value;
|
||||
}
|
||||
|
||||
$__defined_vars = get_defined_vars();
|
||||
|
||||
foreach ($attributes->all() as $__key => $__value) {
|
||||
if (array_key_exists($__key, $__defined_vars)) unset($$__key);
|
||||
}
|
||||
|
||||
unset($__defined_vars, $__key, $__value); ?>
|
||||
|
||||
<?php
|
||||
$__assetKey = '2307540050-0';
|
||||
|
||||
ob_start();
|
||||
?>
|
||||
<?php echo app('Illuminate\Foundation\Vite')('resources/js/passkeys.js'); ?>
|
||||
<?php
|
||||
$__output = ob_get_clean();
|
||||
|
||||
// If the asset has already been loaded anywhere during this request, skip it...
|
||||
if (in_array($__assetKey, \Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$alreadyRunAssetKeys)) {
|
||||
// Skip it...
|
||||
} else {
|
||||
\Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$alreadyRunAssetKeys[] = $__assetKey;
|
||||
|
||||
// Check if we're in a Livewire component or not and store the asset accordingly...
|
||||
if (isset($this)) {
|
||||
\Livewire\store($this)->push('assets', $__output, $__assetKey);
|
||||
} else {
|
||||
\Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$nonLivewireAssets[$__assetKey] = $__output;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<div
|
||||
x-data="{
|
||||
supported: false,
|
||||
loading: false,
|
||||
error: null,
|
||||
updateSupport() {
|
||||
this.supported = Boolean(window.Passkeys?.isSupported());
|
||||
},
|
||||
init() {
|
||||
this.updateSupport();
|
||||
|
||||
window.addEventListener('passkeys:ready', () => this.updateSupport(), { once: true });
|
||||
},
|
||||
async verify() {
|
||||
this.loading = true;
|
||||
this.error = null;
|
||||
try {
|
||||
const response = await window.Passkeys.verify({
|
||||
routes: {
|
||||
options: '<?php echo e(route($optionsRoute)); ?>',
|
||||
submit: '<?php echo e(route($submitRoute)); ?>',
|
||||
},
|
||||
});
|
||||
Livewire.navigate(response.redirect || '/dashboard');
|
||||
} catch (e) {
|
||||
if (e.constructor?.name !== 'UserCancelledError') {
|
||||
this.error = e.message;
|
||||
}
|
||||
} finally {
|
||||
this.loading = false;
|
||||
}
|
||||
},
|
||||
}"
|
||||
>
|
||||
<template x-if="supported">
|
||||
<div>
|
||||
<div class="grid gap-2">
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-3 pe-4 inline-flex bg-white hover:bg-zinc-50 dark:bg-zinc-700 dark:hover:bg-zinc-600/75 text-zinc-800 dark:text-white border border-zinc-200 hover:border-zinc-200 border-b-zinc-300/80 dark:border-zinc-600 dark:hover:border-zinc-600 shadow-xs [[data-flux-button-group]_&]:border-s-0 [:is([data-flux-button-group]>&:first-child,_[data-flux-button-group]_:first-child>&)]:border-s-[1px] w-full" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" x-on:click="verify()" x-bind:disabled="loading">
|
||||
<svg class="shrink-0 [:where(&)]:size-4" 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>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?>
|
||||
<span x-show="!loading"><?php echo e($label); ?></span>
|
||||
<span x-show="loading" x-cloak><?php echo e($loadingLabel); ?></span>
|
||||
<?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<p x-show="error" x-text="error" x-cloak
|
||||
class="text-sm text-center text-red-600 dark:text-red-400"></p>
|
||||
</div>
|
||||
|
||||
<div class="relative my-6">
|
||||
<div class="absolute inset-0 flex items-center">
|
||||
<div class="w-full border-t border-zinc-200 dark:border-zinc-700"></div>
|
||||
</div>
|
||||
<div class="relative flex justify-center text-xs uppercase">
|
||||
<span class="px-2 text-zinc-500 dark:text-zinc-400 bg-white dark:bg-zinc-900">
|
||||
<?php echo e($separator); ?>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/components/passkey-verify.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::subheading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/subheading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::separator}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/separator.blade.php}:{1776985208} ?>
|
||||
<div class="relative mb-6 w-full">
|
||||
<?php ob_start(); ?><h1 class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-2xl [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2" data-flux-heading><?php ob_start(); ?><?php echo e(__('Settings')); ?><?php echo trim(ob_get_clean()); ?></h1>
|
||||
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><div class="text-base [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70 mb-6" data-flux-subheading>
|
||||
<?php ob_start(); ?><?php echo e(__('Manage your profile and account settings')); ?><?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><div data-orientation="horizontal" role="none" class="border-0 [print-color-adjust:exact] bg-zinc-800/5 dark:bg-white/10 h-px w-full" data-flux-separator></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/partials/settings-heading.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
if (!function_exists('_2b50f1ba4461c6565361e1b333f98ee8')):
|
||||
function _2b50f1ba4461c6565361e1b333f98ee8($__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, [
|
||||
'type',
|
||||
'href',
|
||||
'as',
|
||||
]));
|
||||
?>
|
||||
|
||||
<?php
|
||||
$__defaults = [
|
||||
'type' => 'button',
|
||||
'href' => null,
|
||||
'as' => null,
|
||||
];
|
||||
$type ??= $attributes['type'] ?? $__defaults['type']; unset($attributes['type']);
|
||||
$href ??= $attributes['href'] ?? $__defaults['href']; unset($attributes['href']);
|
||||
$as ??= $attributes['as'] ?? $__defaults['as']; unset($attributes['as']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php if ($as === 'div' && ! $href): ?>
|
||||
<div <?php echo e($attributes); ?>>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</div>
|
||||
<?php elseif ($as === 'a' || $href): ?>
|
||||
|
||||
<a href="<?php echo e($href); ?>" <?php echo e($attributes); ?>>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<button <?php echo e($attributes->merge(['type' => $type])); ?>>
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
echo ltrim(ob_get_clean());
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button-or-link-pure.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::subheading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/subheading.blade.php}:{1776985208} ?>
|
||||
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;
|
||||
|
||||
$__newAttributes = [];
|
||||
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
|
||||
'title',
|
||||
'description',
|
||||
]));
|
||||
|
||||
foreach ($attributes->all() as $__key => $__value) {
|
||||
if (in_array($__key, $__propNames)) {
|
||||
$$__key = $$__key ?? $__value;
|
||||
} else {
|
||||
$__newAttributes[$__key] = $__value;
|
||||
}
|
||||
}
|
||||
|
||||
$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);
|
||||
|
||||
unset($__propNames);
|
||||
unset($__newAttributes);
|
||||
|
||||
foreach (array_filter(([
|
||||
'title',
|
||||
'description',
|
||||
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
|
||||
$$__key = $$__key ?? $__value;
|
||||
}
|
||||
|
||||
$__defined_vars = get_defined_vars();
|
||||
|
||||
foreach ($attributes->all() as $__key => $__value) {
|
||||
if (array_key_exists($__key, $__defined_vars)) unset($$__key);
|
||||
}
|
||||
|
||||
unset($__defined_vars, $__key, $__value); ?>
|
||||
|
||||
<div class="flex w-full flex-col text-center">
|
||||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-2xl [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2" data-flux-heading><?php ob_start(); ?><?php echo e($title); ?><?php echo trim(ob_get_clean()); ?></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><div class="text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70" data-flux-subheading>
|
||||
<?php ob_start(); ?><?php echo e($description); ?><?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/components/auth-header.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
if (!function_exists('_3bca31beee2d46308e0bda33fea64cc2')):
|
||||
function _3bca31beee2d46308e0bda33fea64cc2($__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="M2.036 12.322a1.012 1.012 0 0 1 0-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178Z"/>
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 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 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"/>
|
||||
<path fill-rule="evenodd" d="M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 0 1 0-1.113ZM17.25 12a5.25 5.25 0 1 1-10.5 0 5.25 5.25 0 0 1 10.5 0Z" 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 12.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"/>
|
||||
<path fill-rule="evenodd" d="M.664 10.59a1.651 1.651 0 0 1 0-1.186A10.004 10.004 0 0 1 10 3c4.257 0 7.893 2.66 9.336 6.41.147.381.146.804 0 1.186A10.004 10.004 0 0 1 10 17c-4.257 0-7.893-2.66-9.336-6.41ZM14 10a4 4 0 1 1-8 0 4 4 0 0 1 8 0Z" 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="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"/>
|
||||
<path fill-rule="evenodd" d="M1.38 8.28a.87.87 0 0 1 0-.566 7.003 7.003 0 0 1 13.238.006.87.87 0 0 1 0 .566A7.003 7.003 0 0 1 1.379 8.28ZM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z" clip-rule="evenodd"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo ltrim(ob_get_clean());
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/eye.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?php if (isset($component)) { $__componentOriginal6da4ac82edc751872ca5a34642b398d0 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal6da4ac82edc751872ca5a34642b398d0 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f4ac99e09542ff494432bc959d4fee61::auth.simple','data' => ['title' => $title ?? null]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('layouts::auth.simple'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
||||
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($title ?? null)]); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal6da4ac82edc751872ca5a34642b398d0)): ?>
|
||||
<?php $attributes = $__attributesOriginal6da4ac82edc751872ca5a34642b398d0; ?>
|
||||
<?php unset($__attributesOriginal6da4ac82edc751872ca5a34642b398d0); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal6da4ac82edc751872ca5a34642b398d0)): ?>
|
||||
<?php $component = $__componentOriginal6da4ac82edc751872ca5a34642b398d0; ?>
|
||||
<?php unset($__componentOriginal6da4ac82edc751872ca5a34642b398d0); ?>
|
||||
<?php endif; ?>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/layouts/auth.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,108 @@
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::link}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/link.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::text}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/text.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<section class="w-full">
|
||||
<?php echo $__env->make('partials.settings-heading', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
|
||||
|
||||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-sm [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2 sr-only" data-flux-heading><?php ob_start(); ?><?php echo e(__('Profile settings')); ?><?php echo trim(ob_get_clean()); ?></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<?php if (isset($component)) { $__componentOriginal951a5936e8413b65cd052beecc1fba57 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal951a5936e8413b65cd052beecc1fba57 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.settings.layout','data' => ['heading' => __('Profile'),'subheading' => __('Update your name and email address')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('settings.layout'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
||||
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes(['heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Profile')),'subheading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Update your name and email address'))]); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<form wire:submit="updateProfileInformation" class="my-6 w-full space-y-6">
|
||||
<?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(['wire:model' => 'name','label' => __('Name'),'type' => 'text','required' => true,'autofocus' => true,'autocomplete' => 'name']); ?>
|
||||
<?php _e9fe329cbd986d5723d2692e449cddae($__blaze, ['wire:model' => 'name','label' => __('Name'),'type' => 'text','required' => true,'autofocus' => true,'autocomplete' => 'name'], [], ['label', 'required', 'autofocus'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
|
||||
<div>
|
||||
<?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(['wire:model' => 'email','label' => __('Email'),'type' => 'email','required' => true,'autocomplete' => 'email']); ?>
|
||||
<?php _e9fe329cbd986d5723d2692e449cddae($__blaze, ['wire:model' => 'email','label' => __('Email'),'type' => 'email','required' => true,'autocomplete' => 'email'], [], ['label', 'required'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($this->hasUnverifiedEmail): ?>
|
||||
<div>
|
||||
<?php ob_start(); ?><p class="[:where(&)]:font-normal [:where(&)]:text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70 mt-4" data-flux-text ><?php ob_start(); ?>
|
||||
<?php echo e(__('Your email address is unverified.')); ?>
|
||||
|
||||
|
||||
<?php ob_start(); ?><a class="inline font-medium underline-offset-[6px] hover:decoration-current underline [[data-color]>&]:text-inherit [[data-color]>&]:decoration-current/20 dark:[[data-color]>&]:decoration-current/50 [[data-color]>&]:hover:decoration-current text-[var(--color-accent-content)] decoration-[color-mix(in_oklab,var(--color-accent-content),transparent_80%)] text-sm cursor-pointer" wire:click.prevent="resendVerificationNotification" data-flux-link ><?php ob_start(); ?>
|
||||
<?php echo e(__('Click here to re-send the verification email.')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></a><?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php echo trim(ob_get_clean()); ?></p><?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-4">
|
||||
<?php ob_start(); ?><button type="submit" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-[var(--color-accent)] hover:bg-[color-mix(in_oklab,_var(--color-accent),_transparent_10%)] text-[var(--color-accent-foreground)] border border-black/10 dark:border-0 shadow-[inset_0px_1px_--theme(--color-white/.2)] [[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%)] *:transition-opacity [&[disabled]>:not([data-flux-loading-indicator])]:opacity-0 [&[disabled]>[data-flux-loading-indicator]]:opacity-100 [&[disabled]]:pointer-events-none" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-4 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?><?php echo e(__('Save')); ?><?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($this->showDeleteUser): ?>
|
||||
<?php
|
||||
$__split = function ($name, $params = []) {
|
||||
return [$name, $params];
|
||||
};
|
||||
[$__name, $__params] = $__split('settings.delete-user-form', []);
|
||||
|
||||
$__keyOuter = $__key ?? null;
|
||||
|
||||
$__key = null;
|
||||
$__componentSlots = [];
|
||||
|
||||
$__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-111436983-0', $__key);
|
||||
|
||||
$__html = app('livewire')->mount($__name, $__params, $__key, $__componentSlots);
|
||||
|
||||
echo $__html;
|
||||
|
||||
unset($__html);
|
||||
unset($__key);
|
||||
$__key = $__keyOuter;
|
||||
unset($__keyOuter);
|
||||
unset($__name);
|
||||
unset($__params);
|
||||
unset($__componentSlots);
|
||||
unset($__split);
|
||||
?>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal951a5936e8413b65cd052beecc1fba57)): ?>
|
||||
<?php $attributes = $__attributesOriginal951a5936e8413b65cd052beecc1fba57; ?>
|
||||
<?php unset($__attributesOriginal951a5936e8413b65cd052beecc1fba57); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal951a5936e8413b65cd052beecc1fba57)): ?>
|
||||
<?php $component = $__componentOriginal951a5936e8413b65cd052beecc1fba57; ?>
|
||||
<?php unset($__componentOriginal951a5936e8413b65cd052beecc1fba57); ?>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/livewire/settings/profile.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 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,202 @@
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::modal.close}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/close.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::modal.close}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/close.blade.php}:{1776985208} ?>
|
||||
<?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; ?>
|
||||
<?php $__getScope = fn($scope = []) => $scope; ?><?php if (isset($scope)) $__scope = $scope; ?><?php $scope = $__getScope(scope: ['name' => $name]); ?>
|
||||
x-data="fluxModal(<?php echo \Illuminate\Support\Js::from($scope['name'])->toHtml() ?>, <?php echo \Illuminate\Support\Js::from(isset($__livewire) ? $__livewire->getId() : null)->toHtml() ?>)"
|
||||
<?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
|
||||
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 ob_start(); ?><ui-close data-flux-modal-close >
|
||||
<?php ob_start(); ?>
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-8 text-sm rounded-md w-8 inline-flex bg-transparent hover:bg-zinc-800/5 dark:hover:bg-white/15 text-zinc-800 dark:text-white text-zinc-400! hover:text-zinc-800! dark:text-zinc-500! dark:hover:text-white!" data-flux-button="data-flux-button" aria-label="<?php echo e(__('Close modal')); ?>">
|
||||
<svg class="shrink-0 [:where(&)]:size-5" 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>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</ui-close>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</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 ob_start(); ?><ui-close data-flux-modal-close >
|
||||
<?php ob_start(); ?>
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-8 text-sm rounded-md w-8 inline-flex bg-transparent hover:bg-zinc-800/5 dark:hover:bg-white/15 text-zinc-800 dark:text-white text-zinc-400! hover:text-zinc-800! dark:text-zinc-500! dark:hover:text-white!" data-flux-button="data-flux-button" aria-label="<?php echo e(__('Close modal')); ?>">
|
||||
<svg class="shrink-0 [:where(&)]:size-5" 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>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</ui-close>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
</dialog>
|
||||
</ui-modal>
|
||||
<?php
|
||||
echo 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,9 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 42" <?php echo e($attributes); ?>>
|
||||
<path
|
||||
fill="currentColor"
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="M17.2 5.633 8.6.855 0 5.633v26.51l16.2 9 16.2-9v-8.442l7.6-4.223V9.856l-8.6-4.777-8.6 4.777V18.3l-5.6 3.111V5.633ZM38 18.301l-5.6 3.11v-6.157l5.6-3.11V18.3Zm-1.06-7.856-5.54 3.078-5.54-3.079 5.54-3.078 5.54 3.079ZM24.8 18.3v-6.157l5.6 3.111v6.158L24.8 18.3Zm-1 1.732 5.54 3.078-13.14 7.302-5.54-3.078 13.14-7.3v-.002Zm-16.2 7.89 7.6 4.222V38.3L2 30.966V7.92l5.6 3.111v16.892ZM8.6 9.3 3.06 6.222 8.6 3.143l5.54 3.08L8.6 9.3Zm21.8 15.51-13.2 7.334V38.3l13.2-7.334v-6.156ZM9.6 11.034l5.6-3.11v14.6l-5.6 3.11v-14.6Z"
|
||||
/>
|
||||
</svg>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/components/app-logo-icon.blade.php ENDPATH**/ ?>
|
||||
|
After Width: | Height: | Size: 843 B |
@@ -0,0 +1,16 @@
|
||||
<?php $layout->viewContext->mergeIntoNewEnvironment($__env); ?>
|
||||
|
||||
@component($layout->view, $layout->params)
|
||||
@slot($layout->slotOrSection)
|
||||
{!! $content !!}
|
||||
@endslot
|
||||
|
||||
<?php
|
||||
// Manually forward slots defined in the Livewire template into the layout component...
|
||||
foreach ($layout->viewContext->slots[-1] ?? [] as $name => $slot) {
|
||||
$__env->slot($name, attributes: $slot->attributes->getAttributes());
|
||||
echo $slot->toHtml();
|
||||
$__env->endSlot();
|
||||
}
|
||||
?>
|
||||
@endcomponent
|
||||
@@ -0,0 +1,41 @@
|
||||
<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;
|
||||
|
||||
$__newAttributes = [];
|
||||
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
|
||||
'status',
|
||||
]));
|
||||
|
||||
foreach ($attributes->all() as $__key => $__value) {
|
||||
if (in_array($__key, $__propNames)) {
|
||||
$$__key = $$__key ?? $__value;
|
||||
} else {
|
||||
$__newAttributes[$__key] = $__value;
|
||||
}
|
||||
}
|
||||
|
||||
$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);
|
||||
|
||||
unset($__propNames);
|
||||
unset($__newAttributes);
|
||||
|
||||
foreach (array_filter(([
|
||||
'status',
|
||||
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
|
||||
$$__key = $$__key ?? $__value;
|
||||
}
|
||||
|
||||
$__defined_vars = get_defined_vars();
|
||||
|
||||
foreach ($attributes->all() as $__key => $__value) {
|
||||
if (array_key_exists($__key, $__defined_vars)) unset($$__key);
|
||||
}
|
||||
|
||||
unset($__defined_vars, $__key, $__value); ?>
|
||||
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($status): ?>
|
||||
<div <?php echo e($attributes->merge(['class' => 'font-medium text-sm text-green-600'])); ?>>
|
||||
<?php echo e($status); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/components/auth-session-status.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,65 @@
|
||||
<?php
|
||||
if (!function_exists('_5ef1befe2d124d71377b0897eaaa6efa')):
|
||||
function _5ef1befe2d124d71377b0897eaaa6efa($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$errors = $__blaze->errors;
|
||||
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 = [
|
||||
'icon' => 'exclamation-triangle',
|
||||
'bag' => 'default',
|
||||
'message' => null,
|
||||
'deep' => true,
|
||||
'nested' => true,
|
||||
'name' => null,
|
||||
];
|
||||
$icon ??= $attributes['icon'] ?? $__defaults['icon']; unset($attributes['icon']);
|
||||
$bag ??= $attributes['bag'] ?? $__defaults['bag']; unset($attributes['bag']);
|
||||
$message ??= $attributes['message'] ?? $__defaults['message']; unset($attributes['message']);
|
||||
$deep ??= $attributes['deep'] ?? $__defaults['deep']; unset($attributes['deep']);
|
||||
$nested ??= $attributes['nested'] ?? $__defaults['nested']; unset($attributes['nested']);
|
||||
$name ??= $attributes['name'] ?? $__defaults['name']; unset($attributes['name']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$errorBag = $errors->getBag($bag);
|
||||
$message ??= $name ? $errorBag->first($name) : null;
|
||||
|
||||
// Backwards compatibility...
|
||||
if ($nested === false) {
|
||||
$deep = false;
|
||||
}
|
||||
|
||||
if ($name && (is_null($message) || $message === '') && filter_var($deep, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE) !== false) {
|
||||
$message = $errorBag->first($name . '.*');
|
||||
}
|
||||
|
||||
$classes = Flux::classes('mt-3 text-sm font-medium text-red-500 dark:text-red-400')
|
||||
->add($message ? '' : 'hidden');
|
||||
?>
|
||||
|
||||
<div role="alert" aria-live="polite" aria-atomic="true" <?php echo e($attributes->class($classes)); ?> data-flux-error>
|
||||
<?php if ($message) : ?>
|
||||
<?php if ($icon) : ?>
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['name' => $icon, 'variant' => 'mini', 'class' => 'inline']); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
|
||||
<?php $__blaze->pushData(['name' => $icon,'variant' => 'mini','class' => 'inline']); ?>
|
||||
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['name' => $icon,'variant' => 'mini','class' => 'inline'], [], ['name'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php echo e($message); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php
|
||||
echo ltrim(ob_get_clean());
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/error.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?php if (isset($component)) { $__componentOriginal81a506f898233b9e7d58286e6bea3c18 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal81a506f898233b9e7d58286e6bea3c18 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f4ac99e09542ff494432bc959d4fee61::app','data' => ['title' => __('Payments')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('layouts::app'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
||||
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Payments'))]); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<div class="space-y-6">
|
||||
<div class="rounded-3xl bg-white p-6 shadow-sm ring-1 ring-zinc-200 dark:bg-zinc-900 dark:ring-zinc-800">
|
||||
<h1 class="text-2xl font-bold">Payments and overrides</h1>
|
||||
<form method="POST" action="<?php echo e(route('platform.payments.store')); ?>" class="mt-5 grid gap-4 md:grid-cols-6">
|
||||
<?php echo csrf_field(); ?>
|
||||
<select name="company_id" class="rounded-xl border-zinc-300 dark:border-zinc-700 dark:bg-zinc-950"><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $companies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $company): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoopIteration(); ?><?php endif; ?><option value="<?php echo e($company->id); ?>"><?php echo e($company->name); ?></option><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?></select>
|
||||
<input name="amount" type="number" value="0" class="rounded-xl border-zinc-300 dark:border-zinc-700 dark:bg-zinc-950" required>
|
||||
<input name="currency" value="gbp" class="rounded-xl border-zinc-300 dark:border-zinc-700 dark:bg-zinc-950" required>
|
||||
<select name="status" class="rounded-xl border-zinc-300 dark:border-zinc-700 dark:bg-zinc-950"><option>paid</option><option>pending</option><option>failed</option><option>refunded</option><option>override</option></select>
|
||||
<input name="description" placeholder="Description" class="rounded-xl border-zinc-300 dark:border-zinc-700 dark:bg-zinc-950">
|
||||
<button class="rounded-xl bg-zinc-900 px-4 py-2 font-semibold text-white dark:bg-white dark:text-zinc-900">Add</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="overflow-x-auto rounded-2xl bg-white shadow-sm ring-1 ring-zinc-200 dark:bg-zinc-900 dark:ring-zinc-800"><table class="min-w-full text-sm"><thead><tr class="border-b"><th class="p-4 text-left">Company</th><th class="p-4 text-left">Amount</th><th class="p-4 text-left">Status</th><th class="p-4 text-left">Description</th></tr></thead><tbody><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__currentLoopData = $payments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $payment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoopIteration(); ?><?php endif; ?><tr class="border-b border-zinc-100 dark:border-zinc-800"><td class="p-4"><?php echo e($payment->company->name); ?></td><td class="p-4 font-semibold"><?php echo e(strtoupper($payment->currency)); ?> <?php echo e(number_format($payment->amount / 100, 2)); ?></td><td class="p-4"><?php echo e($payment->status); ?></td><td class="p-4"><?php echo e($payment->description); ?></td></tr><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?></tbody></table></div>
|
||||
<?php echo e($payments->links()); ?>
|
||||
|
||||
</div>
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal81a506f898233b9e7d58286e6bea3c18)): ?>
|
||||
<?php $attributes = $__attributesOriginal81a506f898233b9e7d58286e6bea3c18; ?>
|
||||
<?php unset($__attributesOriginal81a506f898233b9e7d58286e6bea3c18); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal81a506f898233b9e7d58286e6bea3c18)): ?>
|
||||
<?php $component = $__componentOriginal81a506f898233b9e7d58286e6bea3c18; ?>
|
||||
<?php unset($__componentOriginal81a506f898233b9e7d58286e6bea3c18); ?>
|
||||
<?php endif; ?>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/modules/Platform/Providers/../resources/views/payments/index.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,121 @@
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php if (isset($component)) { $__componentOriginal08b8a564843783787e0bee3357e24f38 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal08b8a564843783787e0bee3357e24f38 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'f4ac99e09542ff494432bc959d4fee61::auth','data' => ['title' => __('Confirm password')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('layouts::auth'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
||||
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Confirm password'))]); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<div class="flex flex-col gap-6">
|
||||
<?php if (isset($component)) { $__componentOriginale5d2f2831f58fdbe96ad6d7cbd41a7dd = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginale5d2f2831f58fdbe96ad6d7cbd41a7dd = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.auth-header','data' => ['title' => __('Confirm password'),'description' => __('This is a secure area of the application. Please confirm your password before continuing.')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('auth-header'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
||||
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes(['title' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Confirm password')),'description' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('This is a secure area of the application. Please confirm your password before continuing.'))]); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginale5d2f2831f58fdbe96ad6d7cbd41a7dd)): ?>
|
||||
<?php $attributes = $__attributesOriginale5d2f2831f58fdbe96ad6d7cbd41a7dd; ?>
|
||||
<?php unset($__attributesOriginale5d2f2831f58fdbe96ad6d7cbd41a7dd); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginale5d2f2831f58fdbe96ad6d7cbd41a7dd)): ?>
|
||||
<?php $component = $__componentOriginale5d2f2831f58fdbe96ad6d7cbd41a7dd; ?>
|
||||
<?php unset($__componentOriginale5d2f2831f58fdbe96ad6d7cbd41a7dd); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (isset($component)) { $__componentOriginal7c1bf3a9346f208f66ee83b06b607fb5 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal7c1bf3a9346f208f66ee83b06b607fb5 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.auth-session-status','data' => ['class' => 'text-center','status' => session('status')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('auth-session-status'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
||||
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes(['class' => 'text-center','status' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(session('status'))]); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal7c1bf3a9346f208f66ee83b06b607fb5)): ?>
|
||||
<?php $attributes = $__attributesOriginal7c1bf3a9346f208f66ee83b06b607fb5; ?>
|
||||
<?php unset($__attributesOriginal7c1bf3a9346f208f66ee83b06b607fb5); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal7c1bf3a9346f208f66ee83b06b607fb5)): ?>
|
||||
<?php $component = $__componentOriginal7c1bf3a9346f208f66ee83b06b607fb5; ?>
|
||||
<?php unset($__componentOriginal7c1bf3a9346f208f66ee83b06b607fb5); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (isset($component)) { $__componentOriginal360dec750a5c22110ff2b6afe54f0581 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal360dec750a5c22110ff2b6afe54f0581 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.passkey-verify','data' => ['optionsRoute' => 'passkey.confirm-options','submitRoute' => 'passkey.confirm','label' => __('Confirm with passkey'),'loadingLabel' => __('Confirming...'),'separator' => __('Or confirm with password')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('passkey-verify'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
||||
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes(['options-route' => 'passkey.confirm-options','submit-route' => 'passkey.confirm','label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Confirm with passkey')),'loading-label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Confirming...')),'separator' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Or confirm with password'))]); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal360dec750a5c22110ff2b6afe54f0581)): ?>
|
||||
<?php $attributes = $__attributesOriginal360dec750a5c22110ff2b6afe54f0581; ?>
|
||||
<?php unset($__attributesOriginal360dec750a5c22110ff2b6afe54f0581); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal360dec750a5c22110ff2b6afe54f0581)): ?>
|
||||
<?php $component = $__componentOriginal360dec750a5c22110ff2b6afe54f0581; ?>
|
||||
<?php unset($__componentOriginal360dec750a5c22110ff2b6afe54f0581); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<form method="POST" action="<?php echo e(route('password.confirm.store')); ?>" class="flex flex-col gap-6">
|
||||
<?php echo csrf_field(); ?>
|
||||
|
||||
<?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(['name' => 'password','label' => __('Password'),'type' => 'password','required' => true,'autocomplete' => 'current-password','placeholder' => __('Password'),'viewable' => true]); ?>
|
||||
<?php _e9fe329cbd986d5723d2692e449cddae($__blaze, ['name' => 'password','label' => __('Password'),'type' => 'password','required' => true,'autocomplete' => 'current-password','placeholder' => __('Password'),'viewable' => true], [], ['label', 'required', 'placeholder', 'viewable'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
|
||||
<?php ob_start(); ?><button type="submit" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-[var(--color-accent)] hover:bg-[color-mix(in_oklab,_var(--color-accent),_transparent_10%)] text-[var(--color-accent-foreground)] border border-black/10 dark:border-0 shadow-[inset_0px_1px_--theme(--color-white/.2)] [[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%)] *:transition-opacity [&[disabled]>:not([data-flux-loading-indicator])]:opacity-0 [&[disabled]>[data-flux-loading-indicator]]:opacity-100 [&[disabled]]:pointer-events-none w-full" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" data-test="confirm-password-button">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-4 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?>
|
||||
<?php echo e(__('Confirm')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</form>
|
||||
</div>
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal08b8a564843783787e0bee3357e24f38)): ?>
|
||||
<?php $attributes = $__attributesOriginal08b8a564843783787e0bee3357e24f38; ?>
|
||||
<?php unset($__attributesOriginal08b8a564843783787e0bee3357e24f38); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal08b8a564843783787e0bee3357e24f38)): ?>
|
||||
<?php $component = $__componentOriginal08b8a564843783787e0bee3357e24f38; ?>
|
||||
<?php unset($__componentOriginal08b8a564843783787e0bee3357e24f38); ?>
|
||||
<?php endif; ?>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/livewire/auth/confirm-password.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,57 @@
|
||||
<?php
|
||||
if (!function_exists('_8f842a758cc18612d994501b9d6443ab')):
|
||||
function _8f842a758cc18612d994501b9d6443ab($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
|
||||
if (($__data['attributes'] ?? null) instanceof \Illuminate\View\ComponentAttributeBag) { $__data = $__data + $__data['attributes']->all(); unset($__data['attributes']); }
|
||||
extract($__slots, EXTR_SKIP); unset($__slots);
|
||||
extract($__data, EXTR_SKIP);
|
||||
$attributes = \Livewire\Blaze\Runtime\BlazeAttributeBag::make($__data, $__bound, $__keys);
|
||||
unset($__data, $__bound, $__keys);
|
||||
ob_start();
|
||||
?>
|
||||
|
||||
|
||||
<?php
|
||||
$__defaults = [
|
||||
'iconVariant' => 'mini',
|
||||
'size' => null,
|
||||
];
|
||||
$iconVariant ??= $attributes['icon-variant'] ?? $attributes['iconVariant'] ?? $__defaults['iconVariant']; unset($attributes['iconVariant'], $attributes['icon-variant']);
|
||||
$size ??= $attributes['size'] ?? $__defaults['size']; unset($attributes['size']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$attributes = $attributes->merge([
|
||||
'variant' => 'subtle',
|
||||
'class' => '-me-1',
|
||||
'square' => true,
|
||||
'size' => null,
|
||||
]);
|
||||
?>
|
||||
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php', $__blaze->compiledPath.'/bd16b08c390e007efc517e6a1e826ade.php'); ?>
|
||||
<?php if (isset($__slotsbd16b08c390e007efc517e6a1e826ade)) { $__slotsStackbd16b08c390e007efc517e6a1e826ade[] = $__slotsbd16b08c390e007efc517e6a1e826ade; } ?>
|
||||
<?php if (isset($__attrsbd16b08c390e007efc517e6a1e826ade)) { $__attrsStackbd16b08c390e007efc517e6a1e826ade[] = $__attrsbd16b08c390e007efc517e6a1e826ade; } ?>
|
||||
<?php $__attrsbd16b08c390e007efc517e6a1e826ade = ['attributes' => $attributes,'size' => $size === 'sm' || $size === 'xs' ? 'xs' : 'sm','xData' => 'fluxInputViewable','xOn:click' => 'toggle()','xBind:dataViewableOpen' => 'open','ariaLabel' => e(__('Toggle password visibility'))]; ?>
|
||||
<?php $__slotsbd16b08c390e007efc517e6a1e826ade = []; ?>
|
||||
<?php $__blaze->pushData($__attrsbd16b08c390e007efc517e6a1e826ade); ?>
|
||||
<?php ob_start(); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/eye-slash.blade.php', $__blaze->compiledPath.'/b7227739e7ad24d3459d5a586570ef67.php'); ?>
|
||||
<?php $__blaze->pushData(['variant' => $iconVariant,'class' => 'hidden [[data-viewable-open]>&]:block']); ?>
|
||||
<?php _b7227739e7ad24d3459d5a586570ef67($__blaze, ['variant' => $iconVariant,'class' => 'hidden [[data-viewable-open]>&]:block'], [], ['variant'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/eye.blade.php', $__blaze->compiledPath.'/3bca31beee2d46308e0bda33fea64cc2.php'); ?>
|
||||
<?php $__blaze->pushData(['variant' => $iconVariant,'class' => 'block [[data-viewable-open]>&]:hidden']); ?>
|
||||
<?php _3bca31beee2d46308e0bda33fea64cc2($__blaze, ['variant' => $iconVariant,'class' => 'block [[data-viewable-open]>&]:hidden'], [], ['variant'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php $__slotsbd16b08c390e007efc517e6a1e826ade['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotsbd16b08c390e007efc517e6a1e826ade); ?>
|
||||
<?php _bd16b08c390e007efc517e6a1e826ade($__blaze, $__attrsbd16b08c390e007efc517e6a1e826ade, $__slotsbd16b08c390e007efc517e6a1e826ade, ['attributes', 'size'], ['xData' => 'x-data', 'xOn:click' => 'x-on:click', 'xBind:dataViewableOpen' => 'x-bind:data-viewable-open', 'ariaLabel' => 'aria-label'], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackbd16b08c390e007efc517e6a1e826ade)) { $__slotsbd16b08c390e007efc517e6a1e826ade = array_pop($__slotsStackbd16b08c390e007efc517e6a1e826ade); } ?>
|
||||
<?php if (! empty($__attrsStackbd16b08c390e007efc517e6a1e826ade)) { $__attrsbd16b08c390e007efc517e6a1e826ade = array_pop($__attrsStackbd16b08c390e007efc517e6a1e826ade); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php
|
||||
echo ltrim(ob_get_clean());
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/viewable.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,121 @@
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::subheading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/subheading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::modal.trigger}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/trigger.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::subheading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/subheading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::modal.close}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/close.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::modal}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/index.blade.php}:{1776985208} ?>
|
||||
<section class="mt-10 space-y-6">
|
||||
<div class="relative mb-5">
|
||||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-sm [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2" data-flux-heading><?php ob_start(); ?><?php echo e(__('Delete account')); ?><?php echo trim(ob_get_clean()); ?></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><div class="text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70" data-flux-subheading>
|
||||
<?php ob_start(); ?><?php echo e(__('Delete your account and all of its resources')); ?><?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
|
||||
<?php ob_start(); ?><div
|
||||
class="contents"
|
||||
x-data
|
||||
x-on:click="$el.querySelector('button[disabled]') || $dispatch('modal-show', { name: 'confirm-user-deletion' })"
|
||||
data-flux-modal-trigger
|
||||
>
|
||||
<?php ob_start(); ?>
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-red-500 hover:bg-red-600 dark:bg-red-600 dark:hover:bg-red-500 text-white shadow-[inset_0px_1px_var(--color-red-500),inset_0px_2px_--theme(--color-white/.15)] dark:shadow-none [[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" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" x-data="" x-on:click.prevent="$dispatch('open-modal', 'confirm-user-deletion')">
|
||||
<?php ob_start(); ?>
|
||||
<?php echo e(__('Delete account')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<?php ob_start(); ?><ui-modal <?php if (($__blazeAttr = $errors->isNotEmpty()) !== false && !is_null($__blazeAttr)): ?>show="<?php echo e($__blazeAttr === true ? 'show' : $__blazeAttr); ?>"<?php endif; unset($__blazeAttr); ?> focusable="focusable" data-flux-modal>
|
||||
|
||||
<dialog
|
||||
wire:ignore.self
|
||||
class="p-6 [:where(&)]:max-w-xl [:where(&)]:min-w-xs shadow-lg rounded-xl bg-white dark:bg-zinc-800 ring ring-black/5 dark:ring-zinc-700 shadow-lg rounded-xl max-w-lg"
|
||||
data-modal="confirm-user-deletion" <?php if (isset($scope)) $__scope = $scope; ?><?php $scope = array (
|
||||
'name' => 'confirm-user-deletion',
|
||||
); ?>
|
||||
x-data="fluxModal(<?php echo \Illuminate\Support\Js::from($scope['name'])->toHtml() ?>, <?php echo \Illuminate\Support\Js::from(isset($__livewire) ? $__livewire->getId() : null)->toHtml() ?>)"
|
||||
<?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
|
||||
x-on:modal-show.document="handleShow($event)"
|
||||
x-on:modal-close.document="handleClose($event)"
|
||||
>
|
||||
<?php ob_start(); ?>
|
||||
<form method="POST" wire:submit="deleteUser" class="space-y-6">
|
||||
<div>
|
||||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-base [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2" data-flux-heading><?php ob_start(); ?><?php echo e(__('Are you sure you want to delete your account?')); ?><?php echo trim(ob_get_clean()); ?></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<?php ob_start(); ?><div class="text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70" data-flux-subheading>
|
||||
<?php ob_start(); ?>
|
||||
<?php echo e(__('Once your account is deleted, all of its resources and data will be permanently deleted. Please enter your password to confirm you would like to permanently delete your account.')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
|
||||
<?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(['wire:model' => 'password','label' => __('Password'),'type' => 'password','viewable' => true]); ?>
|
||||
<?php _e9fe329cbd986d5723d2692e449cddae($__blaze, ['wire:model' => 'password','label' => __('Password'),'type' => 'password','viewable' => true], [], ['label', 'viewable'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
|
||||
<div class="flex justify-end space-x-2 rtl:space-x-reverse">
|
||||
<?php ob_start(); ?><ui-close data-flux-modal-close >
|
||||
<?php ob_start(); ?>
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-zinc-800/5 hover:bg-zinc-800/10 dark:bg-white/10 dark:hover:bg-white/20 text-zinc-800 dark:text-white [[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" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target">
|
||||
<?php ob_start(); ?><?php echo e(__('Cancel')); ?><?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</ui-close>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<?php ob_start(); ?><button type="submit" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-red-500 hover:bg-red-600 dark:bg-red-600 dark:hover:bg-red-500 text-white shadow-[inset_0px_1px_var(--color-red-500),inset_0px_2px_--theme(--color-white/.15)] dark:shadow-none [[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 *:transition-opacity [&[disabled]>:not([data-flux-loading-indicator])]:opacity-0 [&[disabled]>[data-flux-loading-indicator]]:opacity-100 [&[disabled]]:pointer-events-none" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-4 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?><?php echo e(__('Delete account')); ?><?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
</form>
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
|
||||
<div class="absolute top-0 end-0 mt-4 me-4">
|
||||
<ui-close data-flux-modal-close >
|
||||
<button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-8 text-sm rounded-md w-8 inline-flex bg-transparent hover:bg-zinc-800/5 dark:hover:bg-white/15 text-zinc-800 dark:text-white text-zinc-400! hover:text-zinc-800! dark:text-zinc-500! dark:hover:text-white!" data-flux-button="data-flux-button" aria-label="Close modal">
|
||||
<svg class="shrink-0 [:where(&)]:size-5" 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>
|
||||
</button>
|
||||
</ui-close>
|
||||
</div>
|
||||
</dialog>
|
||||
</ui-modal>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</section>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/livewire/settings/delete-user-form.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
if (!function_exists('_b7227739e7ad24d3459d5a586570ef67')):
|
||||
function _b7227739e7ad24d3459d5a586570ef67($__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.98 8.223A10.477 10.477 0 0 0 1.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.451 10.451 0 0 1 12 4.5c4.756 0 8.773 3.162 10.065 7.498a10.522 10.522 0 0 1-4.293 5.774M6.228 6.228 3 3m3.228 3.228 3.65 3.65m7.894 7.894L21 21m-3.228-3.228-3.65-3.65m0 0a3 3 0 1 0-4.243-4.243m4.242 4.242L9.88 9.88"/>
|
||||
</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="M3.53 2.47a.75.75 0 0 0-1.06 1.06l18 18a.75.75 0 1 0 1.06-1.06l-18-18ZM22.676 12.553a11.249 11.249 0 0 1-2.631 4.31l-3.099-3.099a5.25 5.25 0 0 0-6.71-6.71L7.759 4.577a11.217 11.217 0 0 1 4.242-.827c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113Z"/>
|
||||
<path d="M15.75 12c0 .18-.013.357-.037.53l-4.244-4.243A3.75 3.75 0 0 1 15.75 12ZM12.53 15.713l-4.243-4.244a3.75 3.75 0 0 0 4.244 4.243Z"/>
|
||||
<path d="M6.75 12c0-.619.107-1.213.304-1.764l-3.1-3.1a11.25 11.25 0 0 0-2.63 4.31c-.12.362-.12.752 0 1.114 1.489 4.467 5.704 7.69 10.675 7.69 1.5 0 2.933-.294 4.242-.827l-2.477-2.477A5.25 5.25 0 0 1 6.75 12Z"/>
|
||||
</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.28 2.22a.75.75 0 0 0-1.06 1.06l14.5 14.5a.75.75 0 1 0 1.06-1.06l-1.745-1.745a10.029 10.029 0 0 0 3.3-4.38 1.651 1.651 0 0 0 0-1.185A10.004 10.004 0 0 0 9.999 3a9.956 9.956 0 0 0-4.744 1.194L3.28 2.22ZM7.752 6.69l1.092 1.092a2.5 2.5 0 0 1 3.374 3.373l1.091 1.092a4 4 0 0 0-5.557-5.557Z" clip-rule="evenodd"/>
|
||||
<path d="m10.748 13.93 2.523 2.523a9.987 9.987 0 0 1-3.27.547c-4.258 0-7.894-2.66-9.337-6.41a1.651 1.651 0 0 1 0-1.186A10.007 10.007 0 0 1 2.839 6.02L6.07 9.252a4 4 0 0 0 4.678 4.678Z"/>
|
||||
</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="M3.28 2.22a.75.75 0 0 0-1.06 1.06l10.5 10.5a.75.75 0 1 0 1.06-1.06l-1.322-1.323a7.012 7.012 0 0 0 2.16-3.11.87.87 0 0 0 0-.567A7.003 7.003 0 0 0 4.82 3.76l-1.54-1.54Zm3.196 3.195 1.135 1.136A1.502 1.502 0 0 1 9.45 8.389l1.136 1.135a3 3 0 0 0-4.109-4.109Z" clip-rule="evenodd"/>
|
||||
<path d="m7.812 10.994 1.816 1.816A7.003 7.003 0 0 1 1.38 8.28a.87.87 0 0 1 0-.566 6.985 6.985 0 0 1 1.113-2.039l2.513 2.513a3 3 0 0 0 2.806 2.806Z"/>
|
||||
</svg>
|
||||
|
||||
<?php break; ?>
|
||||
|
||||
<?php endswitch; ?>
|
||||
<?php
|
||||
echo ltrim(ob_get_clean());
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/eye-slash.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,74 @@
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::radio}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/radio/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::radio}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/radio/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::radio}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/radio/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::radio.group}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/radio/group/index.blade.php}:{1776985208} ?>
|
||||
<section class="w-full">
|
||||
<?php echo $__env->make('partials.settings-heading', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
|
||||
|
||||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-sm [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2 sr-only" data-flux-heading><?php ob_start(); ?><?php echo e(__('Appearance settings')); ?><?php echo trim(ob_get_clean()); ?></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<?php if (isset($component)) { $__componentOriginal951a5936e8413b65cd052beecc1fba57 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal951a5936e8413b65cd052beecc1fba57 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.settings.layout','data' => ['heading' => __('Appearance'),'subheading' => __('Update the appearance settings for your account')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('settings.layout'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
||||
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes(['heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Appearance')),'subheading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute( __('Update the appearance settings for your account'))]); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<?php ob_start(); ?><?php $__blaze->pushData(['xData' => true, 'variant' => 'segmented', 'xModel' => '$flux.appearance']); $__env->pushConsumableComponentData(['xData' => true, 'variant' => 'segmented', 'xModel' => '$flux.appearance']); ?><ui-radio-group class="block flex p-1 rounded-lg bg-zinc-800/5 dark:bg-white/10 h-10 p-1" x-data="" x-model="$flux.appearance" data-flux-radio-group-segmented>
|
||||
<?php ob_start(); ?>
|
||||
<?php ob_start(); ?><ui-radio class="flex whitespace-nowrap flex-1 justify-center items-center gap-2 rounded-md data-checked:shadow-xs 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 data-checked:bg-white dark:data-checked:bg-white/20 [&[disabled]]:opacity-50 dark:[&[disabled]]:opacity-75 [&[disabled]]:cursor-default [&[disabled]]:pointer-events-none px-4" value="light" data-flux-control data-flux-radio-segmented tabindex="-1">
|
||||
<svg class="shrink-0 [:where(&)]:size-5 text-zinc-500 dark:text-zinc-400 [ui-radio[data-checked]_&]:text-zinc-800 dark:[ui-radio[data-checked]_&]:text-white" 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 ob_start(); ?><?php echo e(__('Light')); ?><?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
|
||||
</ui-radio>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><ui-radio class="flex whitespace-nowrap flex-1 justify-center items-center gap-2 rounded-md data-checked:shadow-xs 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 data-checked:bg-white dark:data-checked:bg-white/20 [&[disabled]]:opacity-50 dark:[&[disabled]]:opacity-75 [&[disabled]]:cursor-default [&[disabled]]:pointer-events-none px-4" value="dark" data-flux-control data-flux-radio-segmented tabindex="-1">
|
||||
<svg class="shrink-0 [:where(&)]:size-5 text-zinc-500 dark:text-zinc-400 [ui-radio[data-checked]_&]:text-zinc-800 dark:[ui-radio[data-checked]_&]:text-white" 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 ob_start(); ?><?php echo e(__('Dark')); ?><?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
|
||||
</ui-radio>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><ui-radio class="flex whitespace-nowrap flex-1 justify-center items-center gap-2 rounded-md data-checked:shadow-xs 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 data-checked:bg-white dark:data-checked:bg-white/20 [&[disabled]]:opacity-50 dark:[&[disabled]]:opacity-75 [&[disabled]]:cursor-default [&[disabled]]:pointer-events-none px-4" value="system" data-flux-control data-flux-radio-segmented tabindex="-1">
|
||||
<svg class="shrink-0 [:where(&)]:size-5 text-zinc-500 dark:text-zinc-400 [ui-radio[data-checked]_&]:text-zinc-800 dark:[ui-radio[data-checked]_&]:text-white" 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 ob_start(); ?><?php echo e(__('System')); ?><?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
|
||||
</ui-radio>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</ui-radio-group>
|
||||
<?php $__blaze->popData(); $__env->popConsumableComponentData(); ?><?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal951a5936e8413b65cd052beecc1fba57)): ?>
|
||||
<?php $attributes = $__attributesOriginal951a5936e8413b65cd052beecc1fba57; ?>
|
||||
<?php unset($__attributesOriginal951a5936e8413b65cd052beecc1fba57); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal951a5936e8413b65cd052beecc1fba57)): ?>
|
||||
<?php $component = $__componentOriginal951a5936e8413b65cd052beecc1fba57; ?>
|
||||
<?php unset($__componentOriginal951a5936e8413b65cd052beecc1fba57); ?>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/livewire/settings/appearance.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_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => 'loading', 'variant' => $iconVariant, 'class' => $iconClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
|
||||
<?php $__blaze->pushData(['icon' => 'loading','variant' => $iconVariant,'class' => $iconClasses]); ?>
|
||||
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => 'loading','variant' => $iconVariant,'class' => $iconClasses], [], ['variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (is_string($iconLeading) && $iconLeading !== ''): ?>
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $iconLeading, 'variant' => $iconVariant, 'class' => $iconClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
|
||||
<?php $__blaze->pushData(['icon' => $iconLeading,'variant' => $iconVariant,'class' => $iconClasses]); ?>
|
||||
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconLeading,'variant' => $iconVariant,'class' => $iconClasses], [], ['icon', 'variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
<?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_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $iconTrailing, 'variant' => $iconTrailingVariant, 'class' => $iconTrailingClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
|
||||
<?php $__blaze->pushData(['icon' => $iconTrailing,'variant' => $iconTrailingVariant,'class' => $iconTrailingClasses]); ?>
|
||||
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconTrailing,'variant' => $iconTrailingVariant,'class' => $iconTrailingClasses], [], ['icon', 'variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
<?php elseif ($iconTrailing): ?>
|
||||
<?php echo e($iconTrailing); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
<?php $__slots2b50f1ba4461c6565361e1b333f98ee8['slot'] = new \Illuminate\View\ComponentSlot(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(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 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,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**/ ?>
|
||||
@@ -0,0 +1,69 @@
|
||||
<?php # [BlazeFolded]:{flux::navlist}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/navlist/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::separator}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/separator.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::subheading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/subheading.blade.php}:{1776985208} ?>
|
||||
<div class="flex items-start max-md:flex-col">
|
||||
<div class="me-10 w-full pb-4 md:w-[220px]">
|
||||
<?php ob_start(); ?><?php $__blaze->pushData(['ariaLabel' => e(__('Settings'))]); $__env->pushConsumableComponentData(['ariaLabel' => e(__('Settings'))]); ?><nav class="flex flex-col overflow-visible min-h-auto" aria-label="<?php echo e(__('Settings')); ?>" data-flux-navlist>
|
||||
<?php ob_start(); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/navlist/item.blade.php', $__blaze->compiledPath.'/cb96a141fef49d1dded67365a39bb17c.php'); ?>
|
||||
<?php if (isset($__slotscb96a141fef49d1dded67365a39bb17c)) { $__slotsStackcb96a141fef49d1dded67365a39bb17c[] = $__slotscb96a141fef49d1dded67365a39bb17c; } ?>
|
||||
<?php if (isset($__attrscb96a141fef49d1dded67365a39bb17c)) { $__attrsStackcb96a141fef49d1dded67365a39bb17c[] = $__attrscb96a141fef49d1dded67365a39bb17c; } ?>
|
||||
<?php $__attrscb96a141fef49d1dded67365a39bb17c = ['href' => route('profile.edit'),'wire:navigate' => true]; ?>
|
||||
<?php $__slotscb96a141fef49d1dded67365a39bb17c = []; ?>
|
||||
<?php $__blaze->pushData($__attrscb96a141fef49d1dded67365a39bb17c); ?>
|
||||
<?php ob_start(); ?><?php echo e(__('Profile')); ?><?php $__slotscb96a141fef49d1dded67365a39bb17c['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotscb96a141fef49d1dded67365a39bb17c); ?>
|
||||
<?php _cb96a141fef49d1dded67365a39bb17c($__blaze, $__attrscb96a141fef49d1dded67365a39bb17c, $__slotscb96a141fef49d1dded67365a39bb17c, ['href', 'wire:navigate'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackcb96a141fef49d1dded67365a39bb17c)) { $__slotscb96a141fef49d1dded67365a39bb17c = array_pop($__slotsStackcb96a141fef49d1dded67365a39bb17c); } ?>
|
||||
<?php if (! empty($__attrsStackcb96a141fef49d1dded67365a39bb17c)) { $__attrscb96a141fef49d1dded67365a39bb17c = array_pop($__attrsStackcb96a141fef49d1dded67365a39bb17c); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/navlist/item.blade.php', $__blaze->compiledPath.'/cb96a141fef49d1dded67365a39bb17c.php'); ?>
|
||||
<?php if (isset($__slotscb96a141fef49d1dded67365a39bb17c)) { $__slotsStackcb96a141fef49d1dded67365a39bb17c[] = $__slotscb96a141fef49d1dded67365a39bb17c; } ?>
|
||||
<?php if (isset($__attrscb96a141fef49d1dded67365a39bb17c)) { $__attrsStackcb96a141fef49d1dded67365a39bb17c[] = $__attrscb96a141fef49d1dded67365a39bb17c; } ?>
|
||||
<?php $__attrscb96a141fef49d1dded67365a39bb17c = ['href' => route('security.edit'),'wire:navigate' => true]; ?>
|
||||
<?php $__slotscb96a141fef49d1dded67365a39bb17c = []; ?>
|
||||
<?php $__blaze->pushData($__attrscb96a141fef49d1dded67365a39bb17c); ?>
|
||||
<?php ob_start(); ?><?php echo e(__('Security')); ?><?php $__slotscb96a141fef49d1dded67365a39bb17c['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotscb96a141fef49d1dded67365a39bb17c); ?>
|
||||
<?php _cb96a141fef49d1dded67365a39bb17c($__blaze, $__attrscb96a141fef49d1dded67365a39bb17c, $__slotscb96a141fef49d1dded67365a39bb17c, ['href', 'wire:navigate'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackcb96a141fef49d1dded67365a39bb17c)) { $__slotscb96a141fef49d1dded67365a39bb17c = array_pop($__slotsStackcb96a141fef49d1dded67365a39bb17c); } ?>
|
||||
<?php if (! empty($__attrsStackcb96a141fef49d1dded67365a39bb17c)) { $__attrscb96a141fef49d1dded67365a39bb17c = array_pop($__attrsStackcb96a141fef49d1dded67365a39bb17c); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/navlist/item.blade.php', $__blaze->compiledPath.'/cb96a141fef49d1dded67365a39bb17c.php'); ?>
|
||||
<?php if (isset($__slotscb96a141fef49d1dded67365a39bb17c)) { $__slotsStackcb96a141fef49d1dded67365a39bb17c[] = $__slotscb96a141fef49d1dded67365a39bb17c; } ?>
|
||||
<?php if (isset($__attrscb96a141fef49d1dded67365a39bb17c)) { $__attrsStackcb96a141fef49d1dded67365a39bb17c[] = $__attrscb96a141fef49d1dded67365a39bb17c; } ?>
|
||||
<?php $__attrscb96a141fef49d1dded67365a39bb17c = ['href' => route('appearance.edit'),'wire:navigate' => true]; ?>
|
||||
<?php $__slotscb96a141fef49d1dded67365a39bb17c = []; ?>
|
||||
<?php $__blaze->pushData($__attrscb96a141fef49d1dded67365a39bb17c); ?>
|
||||
<?php ob_start(); ?><?php echo e(__('Appearance')); ?><?php $__slotscb96a141fef49d1dded67365a39bb17c['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotscb96a141fef49d1dded67365a39bb17c); ?>
|
||||
<?php _cb96a141fef49d1dded67365a39bb17c($__blaze, $__attrscb96a141fef49d1dded67365a39bb17c, $__slotscb96a141fef49d1dded67365a39bb17c, ['href', 'wire:navigate'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackcb96a141fef49d1dded67365a39bb17c)) { $__slotscb96a141fef49d1dded67365a39bb17c = array_pop($__slotsStackcb96a141fef49d1dded67365a39bb17c); } ?>
|
||||
<?php if (! empty($__attrsStackcb96a141fef49d1dded67365a39bb17c)) { $__attrscb96a141fef49d1dded67365a39bb17c = array_pop($__attrsStackcb96a141fef49d1dded67365a39bb17c); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</nav>
|
||||
<?php $__blaze->popData(); $__env->popConsumableComponentData(); ?><?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
|
||||
<?php ob_start(); ?><div data-orientation="horizontal" role="none" class="border-0 [print-color-adjust:exact] bg-zinc-800/15 dark:bg-white/20 h-px w-full md:hidden" data-flux-separator></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<div class="flex-1 self-stretch max-md:pt-6">
|
||||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-sm [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2" data-flux-heading><?php ob_start(); ?><?php echo e($heading ?? ''); ?><?php echo trim(ob_get_clean()); ?></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><div class="text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70" data-flux-subheading>
|
||||
<?php ob_start(); ?><?php echo e($subheading ?? ''); ?><?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<div class="mt-5 w-full max-w-lg">
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/components/settings/layout.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,125 @@
|
||||
<?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(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(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); ?>
|
||||
|
||||
|
||||
|
||||
<?php $__getScope = fn($scope = []) => $scope; ?><?php if (isset($scope)) $__scope = $scope; ?><?php $scope = $__getScope(scope: ['attributes' => $errorAttributes->getAttributes()]); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/error.blade.php', $__blaze->compiledPath.'/5ef1befe2d124d71377b0897eaaa6efa.php'); ?>
|
||||
<?php $__blaze->pushData(['attributes' => new \Illuminate\View\ComponentAttributeBag($scope['attributes'])]); ?>
|
||||
<?php _5ef1befe2d124d71377b0897eaaa6efa($__blaze, ['attributes' => new \Illuminate\View\ComponentAttributeBag($scope['attributes'])], [], ['attributes'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
|
||||
|
||||
<?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(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(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 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,708 @@
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::subheading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/subheading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::text}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/text.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::text}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/text.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::icon.qr-code}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/qr-code.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::text}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/text.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::otp}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/otp/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::icon.loading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/loading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::icon.loading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/loading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::icon.document-duplicate}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/document-duplicate.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::icon.check}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/check.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::subheading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/subheading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::icon.key}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/key.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::badge}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/badge/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::icon.key}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/key.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::text}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/text.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::text}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/text.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<section class="w-full">
|
||||
<?php echo $__env->make('partials.settings-heading', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
|
||||
|
||||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-sm [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2 sr-only" data-flux-heading><?php ob_start(); ?><?php echo e(__('Security settings')); ?><?php echo trim(ob_get_clean()); ?></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<?php if (isset($component)) { $__componentOriginal951a5936e8413b65cd052beecc1fba57 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal951a5936e8413b65cd052beecc1fba57 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.settings.layout','data' => ['heading' => __('Update password'),'subheading' => __('Ensure your account is using a long, random password to stay secure')]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('settings.layout'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
||||
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes(['heading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Update password')),'subheading' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(__('Ensure your account is using a long, random password to stay secure'))]); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<form method="POST" wire:submit="updatePassword" class="mt-6 space-y-6">
|
||||
<?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(['wire:model' => 'current_password','label' => __('Current password'),'type' => 'password','required' => true,'autocomplete' => 'current-password','viewable' => true]); ?>
|
||||
<?php _e9fe329cbd986d5723d2692e449cddae($__blaze, ['wire:model' => 'current_password','label' => __('Current password'),'type' => 'password','required' => true,'autocomplete' => 'current-password','viewable' => true], [], ['label', 'required', 'viewable'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/index.blade.php', $__blaze->compiledPath.'/e9fe329cbd986d5723d2692e449cddae.php'); ?>
|
||||
<?php $__blaze->pushData(['wire:model' => 'password','label' => __('New password'),'type' => 'password','required' => true,'autocomplete' => 'new-password','passwordrules' => e(\Illuminate\Validation\Rules\Password::defaults()->toPasswordRulesString()),'viewable' => true]); ?>
|
||||
<?php _e9fe329cbd986d5723d2692e449cddae($__blaze, ['wire:model' => 'password','label' => __('New password'),'type' => 'password','required' => true,'autocomplete' => 'new-password','passwordrules' => e(\Illuminate\Validation\Rules\Password::defaults()->toPasswordRulesString()),'viewable' => true], [], ['label', 'required', 'viewable'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/index.blade.php', $__blaze->compiledPath.'/e9fe329cbd986d5723d2692e449cddae.php'); ?>
|
||||
<?php $__blaze->pushData(['wire:model' => 'password_confirmation','label' => __('Confirm password'),'type' => 'password','required' => true,'autocomplete' => 'new-password','passwordrules' => e(\Illuminate\Validation\Rules\Password::defaults()->toPasswordRulesString()),'viewable' => true]); ?>
|
||||
<?php _e9fe329cbd986d5723d2692e449cddae($__blaze, ['wire:model' => 'password_confirmation','label' => __('Confirm password'),'type' => 'password','required' => true,'autocomplete' => 'new-password','passwordrules' => e(\Illuminate\Validation\Rules\Password::defaults()->toPasswordRulesString()),'viewable' => true], [], ['label', 'required', 'viewable'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
|
||||
<div class="flex items-center gap-4">
|
||||
<?php ob_start(); ?><button type="submit" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-[var(--color-accent)] hover:bg-[color-mix(in_oklab,_var(--color-accent),_transparent_10%)] text-[var(--color-accent-foreground)] border border-black/10 dark:border-0 shadow-[inset_0px_1px_--theme(--color-white/.2)] [[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%)] *:transition-opacity [&[disabled]>:not([data-flux-loading-indicator])]:opacity-0 [&[disabled]>[data-flux-loading-indicator]]:opacity-100 [&[disabled]]:pointer-events-none" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" data-test="update-password-button">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-4 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?><?php echo e(__('Save')); ?><?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($canManageTwoFactor): ?>
|
||||
<section class="mt-12">
|
||||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-sm [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2" data-flux-heading><?php ob_start(); ?><?php echo e(__('Two-factor authentication')); ?><?php echo trim(ob_get_clean()); ?></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><div class="text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70" data-flux-subheading>
|
||||
<?php ob_start(); ?><?php echo e(__('Manage your two-factor authentication settings')); ?><?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<div class="flex flex-col w-full mx-auto space-y-6 text-sm" wire:cloak>
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($twoFactorEnabled): ?>
|
||||
<div class="space-y-4">
|
||||
<?php ob_start(); ?><p class="[:where(&)]:font-normal [:where(&)]:text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70" data-flux-text ><?php ob_start(); ?>
|
||||
<?php echo e(__('You will be prompted for a secure, random pin during login, which you can retrieve from the TOTP-supported application on your phone.')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></p><?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<div class="flex justify-start">
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-red-500 hover:bg-red-600 dark:bg-red-600 dark:hover:bg-red-500 text-white shadow-[inset_0px_1px_var(--color-red-500),inset_0px_2px_--theme(--color-white/.15)] dark:shadow-none [[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 *:transition-opacity [&[data-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-flux-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-loading]>[data-flux-loading-indicator]]:opacity-100 [&[data-flux-loading]>[data-flux-loading-indicator]]:opacity-100 data-loading:pointer-events-none data-flux-loading:pointer-events-none" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" wire:target="disable" wire:loading.attr="data-flux-loading" wire:click="disable">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-4 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?>
|
||||
<?php echo e(__('Disable 2FA')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
$__split = function ($name, $params = []) {
|
||||
return [$name, $params];
|
||||
};
|
||||
[$__name, $__params] = $__split('settings.two-factor.recovery-codes', ['requiresConfirmation' => $requiresConfirmation]);
|
||||
|
||||
$__keyOuter = $__key ?? null;
|
||||
|
||||
$__key = null;
|
||||
$__componentSlots = [];
|
||||
|
||||
$__key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-3491459521-0', $__key);
|
||||
|
||||
$__html = app('livewire')->mount($__name, $__params, $__key, $__componentSlots);
|
||||
|
||||
echo $__html;
|
||||
|
||||
unset($__html);
|
||||
unset($__key);
|
||||
$__key = $__keyOuter;
|
||||
unset($__keyOuter);
|
||||
unset($__name);
|
||||
unset($__params);
|
||||
unset($__componentSlots);
|
||||
unset($__split);
|
||||
?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="space-y-4">
|
||||
<?php ob_start(); ?><p class="[:where(&)]:font-normal [:where(&)]:text-sm [:where(&)]:text-zinc-400 [:where(&)]:dark:text-white/50" data-flux-text ><?php ob_start(); ?>
|
||||
<?php echo e(__('When you enable two-factor authentication, you will be prompted for a secure pin during login. This pin can be retrieved from a TOTP-supported application on your phone.')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></p><?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-[var(--color-accent)] hover:bg-[color-mix(in_oklab,_var(--color-accent),_transparent_10%)] text-[var(--color-accent-foreground)] border border-black/10 dark:border-0 shadow-[inset_0px_1px_--theme(--color-white/.2)] [[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%)] *:transition-opacity [&[data-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-flux-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-loading]>[data-flux-loading-indicator]]:opacity-100 [&[data-flux-loading]>[data-flux-loading-indicator]]:opacity-100 data-loading:pointer-events-none data-flux-loading:pointer-events-none" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" wire:target="enable" wire:loading.attr="data-flux-loading" wire:click="enable">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-4 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?>
|
||||
<?php echo e(__('Enable 2FA')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($canManageTwoFactor): ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/index.blade.php', $__blaze->compiledPath.'/3ff2ddb36f755add3b8b328d8cb6e0cb.php'); ?>
|
||||
<?php if (isset($__slots3ff2ddb36f755add3b8b328d8cb6e0cb)) { $__slotsStack3ff2ddb36f755add3b8b328d8cb6e0cb[] = $__slots3ff2ddb36f755add3b8b328d8cb6e0cb; } ?>
|
||||
<?php if (isset($__attrs3ff2ddb36f755add3b8b328d8cb6e0cb)) { $__attrsStack3ff2ddb36f755add3b8b328d8cb6e0cb[] = $__attrs3ff2ddb36f755add3b8b328d8cb6e0cb; } ?>
|
||||
<?php $__attrs3ff2ddb36f755add3b8b328d8cb6e0cb = ['name' => 'two-factor-setup-modal','class' => 'max-w-md md:min-w-md','@close' => 'closeModal','wire:model' => 'showModal']; ?>
|
||||
<?php $__slots3ff2ddb36f755add3b8b328d8cb6e0cb = []; ?>
|
||||
<?php $__blaze->pushData($__attrs3ff2ddb36f755add3b8b328d8cb6e0cb); ?>
|
||||
<?php ob_start(); ?>
|
||||
<div class="space-y-6">
|
||||
<div class="flex flex-col items-center space-y-4">
|
||||
<div class="p-0.5 w-auto rounded-full border border-stone-100 dark:border-stone-600 bg-white dark:bg-stone-800 shadow-sm">
|
||||
<div class="p-2.5 rounded-full border border-stone-200 dark:border-stone-600 overflow-hidden bg-stone-100 dark:bg-stone-200 relative">
|
||||
<div class="flex items-stretch absolute inset-0 w-full h-full divide-x [&>div]:flex-1 divide-stone-200 dark:divide-stone-300 justify-around opacity-50">
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php for($i = 1; $i <= 5; $i++): ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoopIteration(); ?><?php endif; ?>
|
||||
<div></div>
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endfor; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-col items-stretch absolute w-full h-full divide-y [&>div]:flex-1 inset-0 divide-stone-200 dark:divide-stone-300 justify-around opacity-50">
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php for($i = 1; $i <= 5; $i++): ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoopIteration(); ?><?php endif; ?>
|
||||
<div></div>
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endfor; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php ob_start(); ?><svg class="shrink-0 [:where(&)]:size-6 relative z-20 dark:text-accent-foreground" 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 echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="space-y-2 text-center">
|
||||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-base [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2" data-flux-heading><?php ob_start(); ?><?php echo e($this->modalConfig['title']); ?><?php echo trim(ob_get_clean()); ?></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><p class="[:where(&)]:font-normal [:where(&)]:text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70" data-flux-text ><?php ob_start(); ?><?php echo e($this->modalConfig['description']); ?><?php echo trim(ob_get_clean()); ?></p><?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($showVerificationStep): ?>
|
||||
<div class="space-y-6">
|
||||
<div
|
||||
class="flex flex-col items-center space-y-3 justify-center"
|
||||
x-data
|
||||
x-init="$nextTick(() => $el.querySelector('input')?.focus())"
|
||||
>
|
||||
<?php ob_start(); ?><ui-field class="min-w-0 [&:not(:has([data-flux-field])):has([data-flux-control][disabled])>[data-flux-label]]:opacity-50 [&:has(>[data-flux-radio-group][disabled])>[data-flux-label]]:opacity-50 [&:has(>[data-flux-checkbox-group][disabled])>[data-flux-label]]:opacity-50 block *:data-flux-label:mb-3 [&>[data-flux-label]:has(+[data-flux-description])]:mb-2 [&>[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" data-flux-field>
|
||||
<ui-label class="inline-flex items-center text-sm font-medium sr-only [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white [&:has([data-flux-label-trailing])]:flex" data-flux-label>
|
||||
OTP Code
|
||||
|
||||
|
||||
|
||||
</ui-label>
|
||||
|
||||
|
||||
<ui-otp
|
||||
class="flex items-center gap-2 isolate w-fit [&_[data-flux-input-group]]:w-auto mx-auto" name="code" wire:model="code" label="OTP Code" label:sr-only="label:sr-only"
|
||||
data-flux-otp
|
||||
data-flux-control
|
||||
role="group"
|
||||
data-flux-input-aria-label="Character {current} of {total}"
|
||||
>
|
||||
<div class="w-full relative block group/input w-8! grow-0 has-focus-within:z-10" data-flux-input>
|
||||
|
||||
<input
|
||||
type="text"
|
||||
|
||||
class="w-full border rounded-lg block disabled:shadow-none dark:shadow-none appearance-none text-base sm:text-sm py-2 h-10 leading-[1.375rem] ps-3 pe-3 bg-white dark:bg-white/10 dark:disabled:bg-white/[7%] 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 shadow-xs border-zinc-200 border-b-zinc-300/80 disabled:border-b-zinc-200 dark:border-white/10 dark:disabled:border-white/5 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 px-0! py-3 text-center disabled:opacity-75 disabled:shadow-xs! dark:disabled:shadow-none!" inputmode="numeric" data-flux-otp-input=""
|
||||
<?php if (isset($scope)) $__scope = $scope; ?><?php $scope = array (
|
||||
'name' => NULL,
|
||||
'invalid' => false,
|
||||
); ?>
|
||||
<?php if ($scope['invalid'] || ($scope['name'] && $errors->has($scope['name']))): ?>
|
||||
aria-invalid="true" data-invalid
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
|
||||
data-flux-control
|
||||
data-flux-group-target
|
||||
>
|
||||
|
||||
</div>
|
||||
<div class="w-full relative block group/input w-8! grow-0 has-focus-within:z-10" data-flux-input>
|
||||
|
||||
<input
|
||||
type="text"
|
||||
|
||||
class="w-full border rounded-lg block disabled:shadow-none dark:shadow-none appearance-none text-base sm:text-sm py-2 h-10 leading-[1.375rem] ps-3 pe-3 bg-white dark:bg-white/10 dark:disabled:bg-white/[7%] 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 shadow-xs border-zinc-200 border-b-zinc-300/80 disabled:border-b-zinc-200 dark:border-white/10 dark:disabled:border-white/5 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 px-0! py-3 text-center disabled:opacity-75 disabled:shadow-xs! dark:disabled:shadow-none!" inputmode="numeric" data-flux-otp-input=""
|
||||
<?php if (isset($scope)) $__scope = $scope; ?><?php $scope = array (
|
||||
'name' => NULL,
|
||||
'invalid' => false,
|
||||
); ?>
|
||||
<?php if ($scope['invalid'] || ($scope['name'] && $errors->has($scope['name']))): ?>
|
||||
aria-invalid="true" data-invalid
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
|
||||
data-flux-control
|
||||
data-flux-group-target
|
||||
>
|
||||
|
||||
</div>
|
||||
<div class="w-full relative block group/input w-8! grow-0 has-focus-within:z-10" data-flux-input>
|
||||
|
||||
<input
|
||||
type="text"
|
||||
|
||||
class="w-full border rounded-lg block disabled:shadow-none dark:shadow-none appearance-none text-base sm:text-sm py-2 h-10 leading-[1.375rem] ps-3 pe-3 bg-white dark:bg-white/10 dark:disabled:bg-white/[7%] 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 shadow-xs border-zinc-200 border-b-zinc-300/80 disabled:border-b-zinc-200 dark:border-white/10 dark:disabled:border-white/5 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 px-0! py-3 text-center disabled:opacity-75 disabled:shadow-xs! dark:disabled:shadow-none!" inputmode="numeric" data-flux-otp-input=""
|
||||
<?php if (isset($scope)) $__scope = $scope; ?><?php $scope = array (
|
||||
'name' => NULL,
|
||||
'invalid' => false,
|
||||
); ?>
|
||||
<?php if ($scope['invalid'] || ($scope['name'] && $errors->has($scope['name']))): ?>
|
||||
aria-invalid="true" data-invalid
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
|
||||
data-flux-control
|
||||
data-flux-group-target
|
||||
>
|
||||
|
||||
</div>
|
||||
<div class="w-full relative block group/input w-8! grow-0 has-focus-within:z-10" data-flux-input>
|
||||
|
||||
<input
|
||||
type="text"
|
||||
|
||||
class="w-full border rounded-lg block disabled:shadow-none dark:shadow-none appearance-none text-base sm:text-sm py-2 h-10 leading-[1.375rem] ps-3 pe-3 bg-white dark:bg-white/10 dark:disabled:bg-white/[7%] 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 shadow-xs border-zinc-200 border-b-zinc-300/80 disabled:border-b-zinc-200 dark:border-white/10 dark:disabled:border-white/5 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 px-0! py-3 text-center disabled:opacity-75 disabled:shadow-xs! dark:disabled:shadow-none!" inputmode="numeric" data-flux-otp-input=""
|
||||
<?php if (isset($scope)) $__scope = $scope; ?><?php $scope = array (
|
||||
'name' => NULL,
|
||||
'invalid' => false,
|
||||
); ?>
|
||||
<?php if ($scope['invalid'] || ($scope['name'] && $errors->has($scope['name']))): ?>
|
||||
aria-invalid="true" data-invalid
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
|
||||
data-flux-control
|
||||
data-flux-group-target
|
||||
>
|
||||
|
||||
</div>
|
||||
<div class="w-full relative block group/input w-8! grow-0 has-focus-within:z-10" data-flux-input>
|
||||
|
||||
<input
|
||||
type="text"
|
||||
|
||||
class="w-full border rounded-lg block disabled:shadow-none dark:shadow-none appearance-none text-base sm:text-sm py-2 h-10 leading-[1.375rem] ps-3 pe-3 bg-white dark:bg-white/10 dark:disabled:bg-white/[7%] 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 shadow-xs border-zinc-200 border-b-zinc-300/80 disabled:border-b-zinc-200 dark:border-white/10 dark:disabled:border-white/5 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 px-0! py-3 text-center disabled:opacity-75 disabled:shadow-xs! dark:disabled:shadow-none!" inputmode="numeric" data-flux-otp-input=""
|
||||
<?php if (isset($scope)) $__scope = $scope; ?><?php $scope = array (
|
||||
'name' => NULL,
|
||||
'invalid' => false,
|
||||
); ?>
|
||||
<?php if ($scope['invalid'] || ($scope['name'] && $errors->has($scope['name']))): ?>
|
||||
aria-invalid="true" data-invalid
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
|
||||
data-flux-control
|
||||
data-flux-group-target
|
||||
>
|
||||
|
||||
</div>
|
||||
<div class="w-full relative block group/input w-8! grow-0 has-focus-within:z-10" data-flux-input>
|
||||
|
||||
<input
|
||||
type="text"
|
||||
|
||||
class="w-full border rounded-lg block disabled:shadow-none dark:shadow-none appearance-none text-base sm:text-sm py-2 h-10 leading-[1.375rem] ps-3 pe-3 bg-white dark:bg-white/10 dark:disabled:bg-white/[7%] 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 shadow-xs border-zinc-200 border-b-zinc-300/80 disabled:border-b-zinc-200 dark:border-white/10 dark:disabled:border-white/5 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 px-0! py-3 text-center disabled:opacity-75 disabled:shadow-xs! dark:disabled:shadow-none!" inputmode="numeric" data-flux-otp-input=""
|
||||
<?php if (isset($scope)) $__scope = $scope; ?><?php $scope = array (
|
||||
'name' => NULL,
|
||||
'invalid' => false,
|
||||
); ?>
|
||||
<?php if ($scope['invalid'] || ($scope['name'] && $errors->has($scope['name']))): ?>
|
||||
aria-invalid="true" data-invalid
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
|
||||
data-flux-control
|
||||
data-flux-group-target
|
||||
>
|
||||
|
||||
</div>
|
||||
</ui-otp>
|
||||
|
||||
|
||||
<?php if (isset($scope)) $__scope = $scope; ?><?php $scope = array (
|
||||
'attributes' =>
|
||||
array (
|
||||
'name' => 'code',
|
||||
),
|
||||
); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/error.blade.php', $__blaze->compiledPath.'/5ef1befe2d124d71377b0897eaaa6efa.php'); ?>
|
||||
<?php $__blaze->pushData(['attributes' => new \Illuminate\View\ComponentAttributeBag($scope['attributes'])]); ?>
|
||||
<?php _5ef1befe2d124d71377b0897eaaa6efa($__blaze, ['attributes' => new \Illuminate\View\ComponentAttributeBag($scope['attributes'])], [], ['attributes'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
|
||||
</ui-field>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center space-x-3">
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-white hover:bg-zinc-50 dark:bg-zinc-700 dark:hover:bg-zinc-600/75 text-zinc-800 dark:text-white border border-zinc-200 hover:border-zinc-200 border-b-zinc-300/80 dark:border-zinc-600 dark:hover:border-zinc-600 shadow-xs [[data-flux-button-group]_&]:border-s-0 [:is([data-flux-button-group]>&:first-child,_[data-flux-button-group]_:first-child>&)]:border-s-[1px] *:transition-opacity [&[data-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-flux-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-loading]>[data-flux-loading-indicator]]:opacity-100 [&[data-flux-loading]>[data-flux-loading-indicator]]:opacity-100 data-loading:pointer-events-none data-flux-loading:pointer-events-none flex-1" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" wire:target="resetVerification" wire:loading.attr="data-flux-loading" wire:click="resetVerification">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-4 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?>
|
||||
<?php echo e(__('Back')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-[var(--color-accent)] hover:bg-[color-mix(in_oklab,_var(--color-accent),_transparent_10%)] text-[var(--color-accent-foreground)] border border-black/10 dark:border-0 shadow-[inset_0px_1px_--theme(--color-white/.2)] [[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%)] *:transition-opacity [&[data-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-flux-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-loading]>[data-flux-loading-indicator]]:opacity-100 [&[data-flux-loading]>[data-flux-loading-indicator]]:opacity-100 data-loading:pointer-events-none data-flux-loading:pointer-events-none flex-1" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" wire:target="confirmTwoFactor" wire:loading.attr="data-flux-loading" wire:click="confirmTwoFactor" x-bind:disabled="$wire.code.length < 6">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-4 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?>
|
||||
<?php echo e(__('Confirm')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['setupData'];
|
||||
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
|
||||
if ($__bag->has($__errorArgs[0])) :
|
||||
if (isset($message)) { $__messageOriginal = $message; }
|
||||
$message = $__bag->first($__errorArgs[0]); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/callout/index.blade.php', $__blaze->compiledPath.'/6ed849c0a3ee3767f92d7e7cedd8b65c.php'); ?>
|
||||
<?php $__blaze->pushData(['variant' => 'danger','icon' => 'x-circle','heading' => e($message)]); ?>
|
||||
<?php _6ed849c0a3ee3767f92d7e7cedd8b65c($__blaze, ['variant' => 'danger','icon' => 'x-circle','heading' => e($message)], [], [], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php unset($message);
|
||||
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
|
||||
endif;
|
||||
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
|
||||
<div class="flex justify-center">
|
||||
<div class="relative w-64 overflow-hidden border rounded-lg border-stone-200 dark:border-stone-700 aspect-square">
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(empty($qrCodeSvg)): ?>
|
||||
<div class="absolute inset-0 flex items-center justify-center bg-white dark:bg-stone-700 animate-pulse">
|
||||
<?php ob_start(); ?><svg class="shrink-0 [:where(&)]:size-6 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 echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div x-data class="flex items-center justify-center h-full p-4">
|
||||
<div
|
||||
class="bg-white p-3 rounded"
|
||||
:style="($flux.appearance === 'dark' || ($flux.appearance === 'system' && $flux.dark)) ? 'filter: invert(1) brightness(1.5)' : ''"
|
||||
>
|
||||
<?php echo $qrCodeSvg; ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-[var(--color-accent)] hover:bg-[color-mix(in_oklab,_var(--color-accent),_transparent_10%)] text-[var(--color-accent-foreground)] border border-black/10 dark:border-0 shadow-[inset_0px_1px_--theme(--color-white/.2)] [[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%)] *:transition-opacity [&[data-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-flux-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-loading]>[data-flux-loading-indicator]]:opacity-100 [&[data-flux-loading]>[data-flux-loading-indicator]]:opacity-100 data-loading:pointer-events-none data-flux-loading:pointer-events-none w-full" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" wire:target="showVerificationIfNecessary" wire:loading.attr="data-flux-loading" <?php if (($__blazeAttr = $errors->has('setupData')) !== false && !is_null($__blazeAttr)): ?>disabled="<?php echo e($__blazeAttr === true ? 'disabled' : $__blazeAttr); ?>"<?php endif; unset($__blazeAttr); ?> wire:click="showVerificationIfNecessary">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-4 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?>
|
||||
<?php echo e($this->modalConfig['buttonText']); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
|
||||
<div class="space-y-4">
|
||||
<div class="relative flex items-center justify-center w-full">
|
||||
<div class="absolute inset-0 w-full h-px top-1/2 bg-stone-200 dark:bg-stone-600"></div>
|
||||
<span class="relative px-2 text-sm bg-white dark:bg-stone-800 text-stone-600 dark:text-stone-400">
|
||||
<?php echo e(__('or, enter the code manually')); ?>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="flex items-center space-x-2"
|
||||
x-data="{
|
||||
copied: false,
|
||||
async copy() {
|
||||
try {
|
||||
await navigator.clipboard.writeText('<?php echo e($manualSetupKey); ?>');
|
||||
this.copied = true;
|
||||
setTimeout(() => this.copied = false, 1500);
|
||||
} catch (e) {
|
||||
console.warn('Could not copy to clipboard');
|
||||
}
|
||||
}
|
||||
}"
|
||||
>
|
||||
<div class="flex items-stretch w-full border rounded-xl dark:border-stone-700">
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(empty($manualSetupKey)): ?>
|
||||
<div class="flex items-center justify-center w-full p-3 bg-stone-100 dark:bg-stone-700">
|
||||
<?php ob_start(); ?><svg class="shrink-0 [:where(&)]:size-5 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 echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<input
|
||||
type="text"
|
||||
readonly
|
||||
value="<?php echo e($manualSetupKey); ?>"
|
||||
class="w-full p-3 bg-transparent outline-none text-stone-900 dark:text-stone-100"
|
||||
/>
|
||||
|
||||
<button
|
||||
@click="copy()"
|
||||
class="px-3 transition-colors border-l cursor-pointer border-stone-200 dark:border-stone-600"
|
||||
>
|
||||
<?php ob_start(); ?><svg class="shrink-0 [:where(&)]:size-6" x-show="!copied" 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 echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><svg class="shrink-0 [:where(&)]:size-6 text-green-500" x-show="copied" 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 echo ltrim(ob_get_clean()); ?>
|
||||
</button>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
</div>
|
||||
<?php $__slots3ff2ddb36f755add3b8b328d8cb6e0cb['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
||||
<?php $__blaze->pushSlots($__slots3ff2ddb36f755add3b8b328d8cb6e0cb); ?>
|
||||
<?php _3ff2ddb36f755add3b8b328d8cb6e0cb($__blaze, $__attrs3ff2ddb36f755add3b8b328d8cb6e0cb, $__slots3ff2ddb36f755add3b8b328d8cb6e0cb, [], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStack3ff2ddb36f755add3b8b328d8cb6e0cb)) { $__slots3ff2ddb36f755add3b8b328d8cb6e0cb = array_pop($__slotsStack3ff2ddb36f755add3b8b328d8cb6e0cb); } ?>
|
||||
<?php if (! empty($__attrsStack3ff2ddb36f755add3b8b328d8cb6e0cb)) { $__attrs3ff2ddb36f755add3b8b328d8cb6e0cb = array_pop($__attrsStack3ff2ddb36f755add3b8b328d8cb6e0cb); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($canManagePasskeys): ?>
|
||||
<section class="mt-12">
|
||||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-sm [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2" data-flux-heading><?php ob_start(); ?><?php echo e(__('Passkeys')); ?><?php echo trim(ob_get_clean()); ?></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><div class="text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70" data-flux-subheading>
|
||||
<?php ob_start(); ?><?php echo e(__('Manage your passkeys for passwordless sign-in')); ?><?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<div class="mt-6 flex flex-col w-full mx-auto space-y-6 text-sm" wire:cloak>
|
||||
<div class="border rounded-lg border-zinc-200 dark:border-zinc-700 overflow-hidden">
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::openLoop(); ?><?php endif; ?><?php $__empty_1 = true; $__currentLoopData = $passkeys; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $passkey): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::startLoopIteration(); ?><?php endif; ?>
|
||||
<div class="flex items-center justify-between p-4 <?php echo e(! $loop->last ? 'border-b border-zinc-200 dark:border-zinc-700' : ''); ?>">
|
||||
<div class="flex items-center gap-4">
|
||||
<div class="flex size-10 shrink-0 items-center justify-center rounded-xl bg-zinc-100 dark:bg-zinc-800">
|
||||
<?php ob_start(); ?><svg class="shrink-0 [:where(&)]:size-6 size-5 text-zinc-500 dark:text-zinc-400" 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 echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
<div class="space-y-1">
|
||||
<div class="flex items-center gap-2.5">
|
||||
<p class="font-medium tracking-tight"><?php echo e($passkey['name']); ?></p>
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($passkey['authenticator']): ?>
|
||||
<?php ob_start(); ?><div data-flux-badge="data-flux-badge" class="inline-flex items-center font-medium whitespace-nowrap [print-color-adjust:exact] text-xs py-1 **:data-flux-badge-icon:me-1 rounded-md px-2 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">
|
||||
<?php ob_start(); ?><?php echo e($passkey['authenticator']); ?><?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
</div>
|
||||
<p class="text-zinc-500 dark:text-zinc-400 text-xs">
|
||||
<?php echo e(__('Added :time', ['time' => $passkey['created_at_diff']])); ?>
|
||||
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($passkey['last_used_at_diff']): ?>
|
||||
<span class="opacity-50 mx-1">/</span>
|
||||
<?php echo e(__('Last used :time', ['time' => $passkey['last_used_at_diff']])); ?>
|
||||
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-8 text-sm rounded-md w-8 inline-flex bg-transparent hover:bg-zinc-800/5 dark:hover:bg-white/15 text-zinc-800 dark:text-white *:transition-opacity [&[data-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-flux-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-loading]>[data-flux-loading-indicator]]:opacity-100 [&[data-flux-loading]>[data-flux-loading-indicator]]:opacity-100 data-loading:pointer-events-none data-flux-loading:pointer-events-none text-red-500 hover:text-red-600 hover:bg-red-50 dark:hover:bg-red-950/50" data-flux-button="data-flux-button" wire:target="confirmDelete(<?php echo e($passkey['id']); ?>)" wire:loading.attr="data-flux-loading" wire:click="confirmDelete(<?php echo e($passkey['id']); ?>)">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-6 animate-spin size-5" 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>
|
||||
</div>
|
||||
|
||||
<svg class="shrink-0 [:where(&)]:size-6 size-5" 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>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::endLoop(); ?><?php endif; ?><?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::closeLoop(); ?><?php endif; ?>
|
||||
<div class="p-8 text-center">
|
||||
<div class="mx-auto mb-4 flex size-14 items-center justify-center rounded-2xl bg-zinc-100 dark:bg-zinc-800">
|
||||
<?php ob_start(); ?><svg class="shrink-0 [:where(&)]:size-6 size-7 text-zinc-400 dark:text-zinc-500" 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 echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
<p class="font-medium"><?php echo e(__('No passkeys yet')); ?></p>
|
||||
<?php ob_start(); ?><p class="[:where(&)]:font-normal [:where(&)]:text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70 mt-1" data-flux-text ><?php ob_start(); ?><?php echo e(__('Add a passkey to sign in without a password')); ?><?php echo trim(ob_get_clean()); ?></p><?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
</div>
|
||||
|
||||
<?php if (isset($component)) { $__componentOriginalcad4b87bbca5911b5f3566af2e934a37 = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginalcad4b87bbca5911b5f3566af2e934a37 = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.passkey-registration','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('passkey-registration'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
||||
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes([]); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginalcad4b87bbca5911b5f3566af2e934a37)): ?>
|
||||
<?php $attributes = $__attributesOriginalcad4b87bbca5911b5f3566af2e934a37; ?>
|
||||
<?php unset($__attributesOriginalcad4b87bbca5911b5f3566af2e934a37); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginalcad4b87bbca5911b5f3566af2e934a37)): ?>
|
||||
<?php $component = $__componentOriginalcad4b87bbca5911b5f3566af2e934a37; ?>
|
||||
<?php unset($__componentOriginalcad4b87bbca5911b5f3566af2e934a37); ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal951a5936e8413b65cd052beecc1fba57)): ?>
|
||||
<?php $attributes = $__attributesOriginal951a5936e8413b65cd052beecc1fba57; ?>
|
||||
<?php unset($__attributesOriginal951a5936e8413b65cd052beecc1fba57); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal951a5936e8413b65cd052beecc1fba57)): ?>
|
||||
<?php $component = $__componentOriginal951a5936e8413b65cd052beecc1fba57; ?>
|
||||
<?php unset($__componentOriginal951a5936e8413b65cd052beecc1fba57); ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/modal/index.blade.php', $__blaze->compiledPath.'/3ff2ddb36f755add3b8b328d8cb6e0cb.php'); ?>
|
||||
<?php if (isset($__slots3ff2ddb36f755add3b8b328d8cb6e0cb)) { $__slotsStack3ff2ddb36f755add3b8b328d8cb6e0cb[] = $__slots3ff2ddb36f755add3b8b328d8cb6e0cb; } ?>
|
||||
<?php if (isset($__attrs3ff2ddb36f755add3b8b328d8cb6e0cb)) { $__attrsStack3ff2ddb36f755add3b8b328d8cb6e0cb[] = $__attrs3ff2ddb36f755add3b8b328d8cb6e0cb; } ?>
|
||||
<?php $__attrs3ff2ddb36f755add3b8b328d8cb6e0cb = ['name' => 'delete-passkey-modal','class' => 'max-w-md md:min-w-md','@close' => 'closeDeleteModal','wire:model' => 'showDeleteModal']; ?>
|
||||
<?php $__slots3ff2ddb36f755add3b8b328d8cb6e0cb = []; ?>
|
||||
<?php $__blaze->pushData($__attrs3ff2ddb36f755add3b8b328d8cb6e0cb); ?>
|
||||
<?php ob_start(); ?>
|
||||
<div class="space-y-6">
|
||||
<div class="space-y-2">
|
||||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-base [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2" data-flux-heading><?php ob_start(); ?><?php echo e(__('Remove passkey')); ?><?php echo trim(ob_get_clean()); ?></div>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><p class="[:where(&)]:font-normal [:where(&)]:text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70" data-flux-text ><?php ob_start(); ?>
|
||||
<?php echo e(__('Are you sure you want to remove the passkey ":name"? You will no longer be able to use it to sign in.', ['name' => $deletingPasskeyName])); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></p><?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
|
||||
<div class="flex gap-3 justify-end">
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-white hover:bg-zinc-50 dark:bg-zinc-700 dark:hover:bg-zinc-600/75 text-zinc-800 dark:text-white border border-zinc-200 hover:border-zinc-200 border-b-zinc-300/80 dark:border-zinc-600 dark:hover:border-zinc-600 shadow-xs [[data-flux-button-group]_&]:border-s-0 [:is([data-flux-button-group]>&:first-child,_[data-flux-button-group]_:first-child>&)]:border-s-[1px] *:transition-opacity [&[data-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-flux-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-loading]>[data-flux-loading-indicator]]:opacity-100 [&[data-flux-loading]>[data-flux-loading-indicator]]:opacity-100 data-loading:pointer-events-none data-flux-loading:pointer-events-none" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" wire:target="closeDeleteModal" wire:loading.attr="data-flux-loading" wire:click="closeDeleteModal">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-4 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?>
|
||||
<?php echo e(__('Cancel')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-red-500 hover:bg-red-600 dark:bg-red-600 dark:hover:bg-red-500 text-white shadow-[inset_0px_1px_var(--color-red-500),inset_0px_2px_--theme(--color-white/.15)] dark:shadow-none [[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 *:transition-opacity [&[data-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-flux-loading]>:not([data-flux-loading-indicator])]:opacity-0 [&[data-loading]>[data-flux-loading-indicator]]:opacity-100 [&[data-flux-loading]>[data-flux-loading-indicator]]:opacity-100 data-loading:pointer-events-none data-flux-loading:pointer-events-none" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" wire:target="deletePasskey" wire:loading.attr="data-flux-loading" wire:click="deletePasskey">
|
||||
<div class="absolute inset-0 flex items-center justify-center opacity-0" data-flux-loading-indicator>
|
||||
<svg class="shrink-0 [:where(&)]:size-4 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>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?>
|
||||
<?php echo e(__('Remove passkey')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php $__slots3ff2ddb36f755add3b8b328d8cb6e0cb['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
||||
<?php $__blaze->pushSlots($__slots3ff2ddb36f755add3b8b328d8cb6e0cb); ?>
|
||||
<?php _3ff2ddb36f755add3b8b328d8cb6e0cb($__blaze, $__attrs3ff2ddb36f755add3b8b328d8cb6e0cb, $__slots3ff2ddb36f755add3b8b328d8cb6e0cb, [], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStack3ff2ddb36f755add3b8b328d8cb6e0cb)) { $__slots3ff2ddb36f755add3b8b328d8cb6e0cb = array_pop($__slotsStack3ff2ddb36f755add3b8b328d8cb6e0cb); } ?>
|
||||
<?php if (! empty($__attrsStack3ff2ddb36f755add3b8b328d8cb6e0cb)) { $__attrs3ff2ddb36f755add3b8b328d8cb6e0cb = array_pop($__attrsStack3ff2ddb36f755add3b8b328d8cb6e0cb); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
</section>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/livewire/settings/security.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,152 @@
|
||||
<?php
|
||||
if (!function_exists('_cb96a141fef49d1dded67365a39bb17c')):
|
||||
function _cb96a141fef49d1dded67365a39bb17c($__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 = [ 'variant' ];
|
||||
$variant = $__blaze->getConsumableData('variant'); unset($attributes['variant']);
|
||||
unset($__awareDefaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
$__defaults = [
|
||||
'iconVariant' => 'outline',
|
||||
'iconTrailing' => null,
|
||||
'badgeColor' => null,
|
||||
'variant' => null,
|
||||
'iconDot' => null,
|
||||
'accent' => true,
|
||||
'badge' => null,
|
||||
'icon' => 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']);
|
||||
$badgeColor ??= $attributes['badge-color'] ?? $attributes['badgeColor'] ?? $__defaults['badgeColor']; unset($attributes['badgeColor'], $attributes['badge-color']);
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
$iconDot ??= $attributes['icon-dot'] ?? $attributes['iconDot'] ?? $__defaults['iconDot']; unset($attributes['iconDot'], $attributes['icon-dot']);
|
||||
$accent ??= $attributes['accent'] ?? $__defaults['accent']; unset($attributes['accent']);
|
||||
$badge ??= $attributes['badge'] ?? $__defaults['badge']; unset($attributes['badge']);
|
||||
$icon ??= $attributes['icon'] ?? $__defaults['icon']; unset($attributes['icon']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
// Button should be a square if it has no text contents...
|
||||
$square ??= $slot->isEmpty();
|
||||
|
||||
// Size-up icons in square/icon-only buttons...
|
||||
$iconClasses = Flux::classes($square ? 'size-5!' : 'size-4!');
|
||||
|
||||
$classes = Flux::classes()
|
||||
->add('h-10 lg:h-8 relative flex items-center gap-3 rounded-lg')
|
||||
->add($square ? 'px-2.5!' : '')
|
||||
->add('py-0 text-start w-full px-3 my-px')
|
||||
->add('text-zinc-500 dark:text-white/80')
|
||||
->add(match ($variant) {
|
||||
'outline' => match ($accent) {
|
||||
true => [
|
||||
'data-current:text-(--color-accent-content) hover:data-current:text-(--color-accent-content)',
|
||||
'data-current:bg-white dark:data-current:bg-white/[7%] data-current:border data-current:border-zinc-200 dark:data-current:border-transparent',
|
||||
'hover:text-zinc-800 dark:hover:text-white dark:hover:bg-white/[7%] hover:bg-zinc-800/5 ',
|
||||
'border border-transparent',
|
||||
],
|
||||
false => [
|
||||
'data-current:text-zinc-800 dark:data-current:text-zinc-100 data-current:border-zinc-200',
|
||||
'data-current:bg-white dark:data-current:bg-white/10 data-current:border data-current:border-zinc-200 dark:data-current:border-white/10 data-current:shadow-xs',
|
||||
'hover:text-zinc-800 dark:hover:text-white',
|
||||
],
|
||||
},
|
||||
default => match ($accent) {
|
||||
true => [
|
||||
'data-current:text-(--color-accent-content) hover:data-current:text-(--color-accent-content)',
|
||||
'data-current:bg-zinc-800/[4%] dark:data-current:bg-white/[7%]',
|
||||
'hover:text-zinc-800 dark:hover:text-white hover:bg-zinc-800/[4%] dark:hover:bg-white/[7%]',
|
||||
],
|
||||
false => [
|
||||
'data-current:text-zinc-800 dark:data-current:text-zinc-100',
|
||||
'data-current:bg-zinc-800/[4%] dark:data-current:bg-white/10',
|
||||
'hover:text-zinc-800 dark:hover:text-white hover:bg-zinc-800/[4%] dark:hover:bg-white/10',
|
||||
],
|
||||
},
|
||||
})
|
||||
;
|
||||
?>
|
||||
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button-or-link.blade.php', $__blaze->compiledPath.'/cb898fdd3947cf78eb4438b240cdf4de.php'); ?>
|
||||
<?php if (isset($__slotscb898fdd3947cf78eb4438b240cdf4de)) { $__slotsStackcb898fdd3947cf78eb4438b240cdf4de[] = $__slotscb898fdd3947cf78eb4438b240cdf4de; } ?>
|
||||
<?php if (isset($__attrscb898fdd3947cf78eb4438b240cdf4de)) { $__attrsStackcb898fdd3947cf78eb4438b240cdf4de[] = $__attrscb898fdd3947cf78eb4438b240cdf4de; } ?>
|
||||
<?php $__attrscb898fdd3947cf78eb4438b240cdf4de = ['attributes' => $attributes->class($classes),'dataFluxNavlistItem' => true]; ?>
|
||||
<?php $__slotscb898fdd3947cf78eb4438b240cdf4de = []; ?>
|
||||
<?php $__blaze->pushData($__attrscb898fdd3947cf78eb4438b240cdf4de); ?>
|
||||
<?php ob_start(); ?>
|
||||
<?php if ($icon): ?>
|
||||
<div class="relative">
|
||||
<?php if (is_string($icon) && $icon !== ''): ?>
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $icon, 'variant' => $iconVariant, 'class' => $iconClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
|
||||
<?php $__blaze->pushData(['icon' => $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 $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php echo e($icon); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($iconDot): ?>
|
||||
<div class="absolute top-[-2px] end-[-2px]">
|
||||
<div class="size-[6px] rounded-full bg-zinc-500 dark:bg-zinc-400"></div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($slot->isNotEmpty()): ?>
|
||||
<div class="flex-1 text-sm font-medium leading-none whitespace-nowrap [[data-nav-footer]_&]:hidden [[data-nav-sidebar]_[data-nav-footer]_&]:block" data-content><?php echo e($slot); ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (is_string($iconTrailing) && $iconTrailing !== ''): ?>
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $iconTrailing, 'variant' => $iconVariant, 'class' => 'size-4!']); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
|
||||
<?php $__blaze->pushData(['icon' => $iconTrailing,'variant' => $iconVariant,'class' => 'size-4!']); ?>
|
||||
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconTrailing,'variant' => $iconVariant,'class' => 'size-4!'], [], ['icon', 'variant'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
<?php elseif ($iconTrailing): ?>
|
||||
<?php echo e($iconTrailing); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (isset($badge) && $badge !== ''): ?>
|
||||
<?php $badgeAttributes = Flux::attributesAfter('badge:', $attributes, ['color' => $badgeColor]); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/navlist/badge.blade.php', $__blaze->compiledPath.'/b2eaf527888cff247c1194008f860f3c.php'); ?>
|
||||
<?php if (isset($__slotsb2eaf527888cff247c1194008f860f3c)) { $__slotsStackb2eaf527888cff247c1194008f860f3c[] = $__slotsb2eaf527888cff247c1194008f860f3c; } ?>
|
||||
<?php if (isset($__attrsb2eaf527888cff247c1194008f860f3c)) { $__attrsStackb2eaf527888cff247c1194008f860f3c[] = $__attrsb2eaf527888cff247c1194008f860f3c; } ?>
|
||||
<?php $__attrsb2eaf527888cff247c1194008f860f3c = ['attributes' => $badgeAttributes]; ?>
|
||||
<?php $__slotsb2eaf527888cff247c1194008f860f3c = []; ?>
|
||||
<?php $__blaze->pushData($__attrsb2eaf527888cff247c1194008f860f3c); ?>
|
||||
<?php ob_start(); ?><?php echo e($badge); ?><?php $__slotsb2eaf527888cff247c1194008f860f3c['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotsb2eaf527888cff247c1194008f860f3c); ?>
|
||||
<?php _b2eaf527888cff247c1194008f860f3c($__blaze, $__attrsb2eaf527888cff247c1194008f860f3c, $__slotsb2eaf527888cff247c1194008f860f3c, ['attributes'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackb2eaf527888cff247c1194008f860f3c)) { $__slotsb2eaf527888cff247c1194008f860f3c = array_pop($__slotsStackb2eaf527888cff247c1194008f860f3c); } ?>
|
||||
<?php if (! empty($__attrsStackb2eaf527888cff247c1194008f860f3c)) { $__attrsb2eaf527888cff247c1194008f860f3c = array_pop($__attrsStackb2eaf527888cff247c1194008f860f3c); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php endif; ?>
|
||||
<?php $__slotscb898fdd3947cf78eb4438b240cdf4de['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotscb898fdd3947cf78eb4438b240cdf4de); ?>
|
||||
<?php _cb898fdd3947cf78eb4438b240cdf4de($__blaze, $__attrscb898fdd3947cf78eb4438b240cdf4de, $__slotscb898fdd3947cf78eb4438b240cdf4de, ['attributes', 'dataFluxNavlistItem'], ['dataFluxNavlistItem' => 'data-flux-navlist-item'], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackcb898fdd3947cf78eb4438b240cdf4de)) { $__slotscb898fdd3947cf78eb4438b240cdf4de = array_pop($__slotsStackcb898fdd3947cf78eb4438b240cdf4de); } ?>
|
||||
<?php if (! empty($__attrsStackcb898fdd3947cf78eb4438b240cdf4de)) { $__attrscb898fdd3947cf78eb4438b240cdf4de = array_pop($__attrsStackcb898fdd3947cf78eb4438b240cdf4de); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php
|
||||
echo ltrim(ob_get_clean());
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/navlist/item.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 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**/ ?>
|
||||
@@ -85,10 +85,7 @@
|
||||
</a>
|
||||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||||
|
||||
<a href="<?php echo e(route('warehouse-rules.index')); ?>" wire:navigate class="wms-sidebar-link <?php if(request()->routeIs('warehouse-rules.*')): ?> is-active <?php endif; ?>" title="<?php echo e(__('Validation Rules')); ?>">
|
||||
<i class="fa-solid fa-shield-halved wms-sidebar-icon" aria-hidden="true"></i>
|
||||
<span data-wms-sidebar-label><?php echo e(__('Validation Rules')); ?></span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()?->isMpbaPlatformAdmin()): ?>
|
||||
@@ -99,7 +96,10 @@
|
||||
<i class="fa-solid fa-warehouse wms-sidebar-icon" aria-hidden="true"></i>
|
||||
<span data-wms-sidebar-label><?php echo e(__('Warehouses')); ?></span>
|
||||
</a>
|
||||
|
||||
<a href="<?php echo e(route('warehouse-rules.index')); ?>" wire:navigate class="wms-sidebar-link <?php if(request()->routeIs('warehouse-rules.*')): ?> is-active <?php endif; ?>" title="<?php echo e(__('Validation Rules')); ?>">
|
||||
<i class="fa-solid fa-shield-halved wms-sidebar-icon" aria-hidden="true"></i>
|
||||
<span data-wms-sidebar-label><?php echo e(__('Validation Rules')); ?></span>
|
||||
</a>
|
||||
<a href="<?php echo e(route('platform.companies.index')); ?>" wire:navigate class="wms-sidebar-link <?php if(request()->routeIs('platform.companies.*')): ?> is-active <?php endif; ?>" title="<?php echo e(__('Companies')); ?>">
|
||||
<i class="fa-solid fa-building wms-sidebar-icon" aria-hidden="true"></i>
|
||||
<span data-wms-sidebar-label><?php echo e(__('Companies')); ?></span>
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
<?php $layout->viewContext->mergeIntoNewEnvironment($__env); ?>
|
||||
|
||||
<?php $__env->startComponent($layout->view, $layout->params); ?>
|
||||
<?php $__env->slot($layout->slotOrSection); ?>
|
||||
<?php echo $content; ?>
|
||||
|
||||
<?php $__env->endSlot(); ?>
|
||||
|
||||
<?php
|
||||
// Manually forward slots defined in the Livewire template into the layout component...
|
||||
foreach ($layout->viewContext->slots[-1] ?? [] as $name => $slot) {
|
||||
$__env->slot($name, attributes: $slot->attributes->getAttributes());
|
||||
echo $slot->toHtml();
|
||||
$__env->endSlot();
|
||||
}
|
||||
?>
|
||||
<?php echo $__env->renderComponent(); ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/storage/framework/views/4943bc92ebba41e8b0e508149542e0ad.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,110 @@
|
||||
<?php # [BlazeFolded]:{flux::toast}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/toast/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::toast.group}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/toast/group.blade.php}:{1776985208} ?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>" class="dark">
|
||||
<head>
|
||||
<?php echo $__env->make('partials.head', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
|
||||
</head>
|
||||
<body class="min-h-screen bg-white antialiased dark:bg-linear-to-b dark:from-neutral-950 dark:to-neutral-900">
|
||||
<div class="bg-background flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10">
|
||||
<div class="flex w-full max-w-sm flex-col gap-2">
|
||||
<a href="<?php echo e(route('home')); ?>" class="flex flex-col items-center gap-2 font-medium" wire:navigate>
|
||||
<span class="flex h-9 w-9 mb-1 items-center justify-center rounded-md">
|
||||
<?php if (isset($component)) { $__componentOriginal159d6670770cb479b1921cea6416c26c = $component; } ?>
|
||||
<?php if (isset($attributes)) { $__attributesOriginal159d6670770cb479b1921cea6416c26c = $attributes; } ?>
|
||||
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.app-logo-icon','data' => ['class' => 'size-9 fill-current text-black dark:text-white']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
||||
<?php $component->withName('app-logo-icon'); ?>
|
||||
<?php if ($component->shouldRender()): ?>
|
||||
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
||||
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
||||
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
||||
<?php endif; ?>
|
||||
<?php $component->withAttributes(['class' => 'size-9 fill-current text-black dark:text-white']); ?>
|
||||
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>
|
||||
|
||||
<?php echo $__env->renderComponent(); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__attributesOriginal159d6670770cb479b1921cea6416c26c)): ?>
|
||||
<?php $attributes = $__attributesOriginal159d6670770cb479b1921cea6416c26c; ?>
|
||||
<?php unset($__attributesOriginal159d6670770cb479b1921cea6416c26c); ?>
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__componentOriginal159d6670770cb479b1921cea6416c26c)): ?>
|
||||
<?php $component = $__componentOriginal159d6670770cb479b1921cea6416c26c; ?>
|
||||
<?php unset($__componentOriginal159d6670770cb479b1921cea6416c26c); ?>
|
||||
<?php endif; ?>
|
||||
</span>
|
||||
<span class="sr-only"><?php echo e(config('app.name', 'Laravel')); ?></span>
|
||||
</a>
|
||||
<div class="flex flex-col gap-6">
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php app("livewire")->forceAssetInjection(); ?><div x-persist="<?php echo e('toast'); ?>">
|
||||
<?php ob_start(); ?><ui-toast-group x-data x-on:toast-show.document="$el.showToast($event.detail)" popover="manual" position="bottom end" wire:ignore>
|
||||
<?php ob_start(); ?>
|
||||
<?php ob_start(); ?><ui-toast x-data x-on:toast-show.document="! $el.closest('ui-toast-group') && $el.showToast($event.detail)" popover="manual" position="bottom end" wire:ignore>
|
||||
<template>
|
||||
<div class="max-w-sm in-[ui-toast-group]:max-w-auto in-[ui-toast-group]:w-xs sm:in-[ui-toast-group]:w-sm" data-variant="" data-flux-toast-dialog>
|
||||
<div class="p-2 flex rounded-xl shadow-lg bg-white border border-zinc-200 border-b-zinc-300/80 dark:bg-zinc-700 dark:border-zinc-600">
|
||||
<div class="flex-1 flex items-start gap-4 overflow-hidden">
|
||||
<div class="flex-1 py-1.5 ps-2.5 flex gap-2">
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="hidden [[data-flux-toast-dialog][data-variant=success]_&]:block shrink-0 mt-0.5 size-4 text-lime-600 dark:text-lime-400">
|
||||
<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Zm3.844-8.791a.75.75 0 0 0-1.188-.918l-3.7 4.79-1.649-1.833a.75.75 0 1 0-1.114 1.004l2.25 2.5a.75.75 0 0 0 1.15-.043l4.25-5.5Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="hidden [[data-flux-toast-dialog][data-variant=warning]_&]:block shrink-0 mt-0.5 size-4 text-amber-500 dark:text-amber-400">
|
||||
<path fill-rule="evenodd" d="M6.701 2.25c.577-1 2.02-1 2.598 0l5.196 9a1.5 1.5 0 0 1-1.299 2.25H2.804a1.5 1.5 0 0 1-1.3-2.25l5.197-9ZM8 4a.75.75 0 0 1 .75.75v3a.75.75 0 1 1-1.5 0v-3A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="hidden [[data-flux-toast-dialog][data-variant=info]_&]:block shrink-0 mt-0.5 size-4 text-cyan-500 dark:text-cyan-400">
|
||||
<path fill-rule="evenodd" d="M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0ZM9 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6.75 8a.75.75 0 0 0 0 1.5h.75v1.75a.75.75 0 0 0 1.5 0v-2.5A.75.75 0 0 0 8.25 8h-1.5Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="hidden [[data-flux-toast-dialog][data-variant=danger]_&]:block shrink-0 mt-0.5 size-4 text-rose-500 dark:text-rose-400">
|
||||
<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM8 4a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0v-3A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
|
||||
<div>
|
||||
|
||||
<div class="font-medium text-sm text-zinc-800 dark:text-white [&:not(:empty)+div]:font-normal [&:not(:empty)+div]:text-zinc-500 [&:not(:empty)+div]:dark:text-zinc-300 [&:not(:empty)]:pb-2"><slot name="heading"></slot></div>
|
||||
|
||||
|
||||
<div class="font-medium text-sm text-zinc-800 dark:text-white"><slot name="text"></slot></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<ui-close class="flex items-center">
|
||||
<button type="button" class="inline-flex items-center font-medium justify-center gap-2 truncate disabled:opacity-50 dark:disabled:opacity-75 disabled:cursor-default h-8 text-sm rounded-md w-8 bg-transparent hover:bg-zinc-800/5 dark:hover:bg-white/15 text-zinc-400 hover:text-zinc-800 dark:text-zinc-400 dark:hover:text-white" as="button">
|
||||
<div>
|
||||
<svg class="[:where(&)]:size-5" 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"></path>
|
||||
</svg>
|
||||
</div>
|
||||
</button>
|
||||
</ui-close>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</ui-toast>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</ui-toast-group>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
|
||||
<?php app('livewire')->forceAssetInjection(); ?>
|
||||
<?php echo app('flux')->scripts(); ?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/layouts/auth/simple.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,336 @@
|
||||
<?php
|
||||
if (!function_exists('_e9fe329cbd986d5723d2692e449cddae')):
|
||||
function _e9fe329cbd986d5723d2692e449cddae($__blaze, $__data = [], $__slots = [], $__bound = [], $__keys = [], $__this = null) {
|
||||
$__env = $__blaze->env;
|
||||
$errors = $__blaze->errors;
|
||||
$__slots['slot'] ??= new \Illuminate\View\ComponentSlot('');
|
||||
if (($__data['attributes'] ?? null) instanceof \Illuminate\View\ComponentAttributeBag) { $__data = $__data + $__data['attributes']->all(); unset($__data['attributes']); }
|
||||
extract($__slots, EXTR_SKIP); unset($__slots);
|
||||
extract($__data, EXTR_SKIP);
|
||||
$attributes = \Livewire\Blaze\Runtime\BlazeAttributeBag::make($__data, $__bound, $__keys);
|
||||
unset($__data, $__bound, $__keys);
|
||||
ob_start();
|
||||
?>
|
||||
|
||||
|
||||
<?php $iconTrailing ??= $attributes->pluck('icon:trailing'); ?>
|
||||
<?php $iconLeading ??= $attributes->pluck('icon:leading'); ?>
|
||||
<?php $iconVariant ??= $attributes->pluck('icon:variant'); ?>
|
||||
<?php $maskDynamic ??= $attributes->pluck('mask:dynamic'); ?>
|
||||
|
||||
<?php
|
||||
$__defaults = [
|
||||
'name' => $attributes->whereStartsWith('wire:model')->first(),
|
||||
'iconVariant' => 'mini',
|
||||
'variant' => 'outline',
|
||||
'iconTrailing' => null,
|
||||
'iconLeading' => null,
|
||||
'maskDynamic' => null,
|
||||
'expandable' => null,
|
||||
'clearable' => null,
|
||||
'copyable' => null,
|
||||
'viewable' => null,
|
||||
'invalid' => null,
|
||||
'loading' => null,
|
||||
'type' => 'text',
|
||||
'mask' => null,
|
||||
'size' => null,
|
||||
'icon' => null,
|
||||
'kbd' => null,
|
||||
'as' => null,
|
||||
];
|
||||
$name ??= $attributes['name'] ?? $__defaults['name']; unset($attributes['name']);
|
||||
$iconVariant ??= $attributes['icon-variant'] ?? $attributes['iconVariant'] ?? $__defaults['iconVariant']; unset($attributes['iconVariant'], $attributes['icon-variant']);
|
||||
$variant ??= $attributes['variant'] ?? $__defaults['variant']; unset($attributes['variant']);
|
||||
$iconTrailing ??= $attributes['icon-trailing'] ?? $attributes['iconTrailing'] ?? $__defaults['iconTrailing']; unset($attributes['iconTrailing'], $attributes['icon-trailing']);
|
||||
$iconLeading ??= $attributes['icon-leading'] ?? $attributes['iconLeading'] ?? $__defaults['iconLeading']; unset($attributes['iconLeading'], $attributes['icon-leading']);
|
||||
$maskDynamic ??= $attributes['mask-dynamic'] ?? $attributes['maskDynamic'] ?? $__defaults['maskDynamic']; unset($attributes['maskDynamic'], $attributes['mask-dynamic']);
|
||||
$expandable ??= $attributes['expandable'] ?? $__defaults['expandable']; unset($attributes['expandable']);
|
||||
$clearable ??= $attributes['clearable'] ?? $__defaults['clearable']; unset($attributes['clearable']);
|
||||
$copyable ??= $attributes['copyable'] ?? $__defaults['copyable']; unset($attributes['copyable']);
|
||||
$viewable ??= $attributes['viewable'] ?? $__defaults['viewable']; unset($attributes['viewable']);
|
||||
$invalid ??= $attributes['invalid'] ?? $__defaults['invalid']; unset($attributes['invalid']);
|
||||
$loading ??= $attributes['loading'] ?? $__defaults['loading']; unset($attributes['loading']);
|
||||
$type ??= $attributes['type'] ?? $__defaults['type']; unset($attributes['type']);
|
||||
$mask ??= $attributes['mask'] ?? $__defaults['mask']; unset($attributes['mask']);
|
||||
$size ??= $attributes['size'] ?? $__defaults['size']; unset($attributes['size']);
|
||||
$icon ??= $attributes['icon'] ?? $__defaults['icon']; unset($attributes['icon']);
|
||||
$kbd ??= $attributes['kbd'] ?? $__defaults['kbd']; unset($attributes['kbd']);
|
||||
$as ??= $attributes['as'] ?? $__defaults['as']; unset($attributes['as']);
|
||||
unset($__defaults);
|
||||
?>
|
||||
|
||||
<?php
|
||||
|
||||
$inputAttributes = Flux::attributesAfter('input:', $attributes, []);
|
||||
|
||||
// There are a few loading scenarios that this covers:
|
||||
// If `:loading="false"` then never show loading.
|
||||
// If `:loading="true"` then always show loading.
|
||||
// If `:loading="foo"` then show loading when `foo` request is happening.
|
||||
// If `wire:model` then never show loading.
|
||||
// If `wire:model.live` then show loading when the `wire:model` value request is happening.
|
||||
$wireModel = $attributes->wire('model');
|
||||
$wireTarget = null;
|
||||
|
||||
if ($loading !== false) {
|
||||
if ($loading === true) {
|
||||
$loading = true;
|
||||
} elseif ($wireModel?->directive) {
|
||||
$loading = $wireModel->hasModifier('live');
|
||||
$wireTarget = $loading ? $wireModel->value() : null;
|
||||
} else {
|
||||
$wireTarget = $loading;
|
||||
$loading = (bool) $loading;
|
||||
}
|
||||
}
|
||||
|
||||
$iconLeading ??= $icon;
|
||||
|
||||
$hasLeadingIcon = (bool) ($iconLeading);
|
||||
$countOfTrailingIcons = collect([
|
||||
(bool) $iconTrailing,
|
||||
(bool) $kbd,
|
||||
(bool) $clearable,
|
||||
(bool) $copyable,
|
||||
(bool) $viewable,
|
||||
(bool) $expandable,
|
||||
])->filter()->count();
|
||||
|
||||
$iconClasses = Flux::classes()
|
||||
// When using the outline icon variant, we need to size it down to match the default icon sizes...
|
||||
->add($iconVariant === 'outline' ? 'size-5' : '')
|
||||
;
|
||||
|
||||
$inputLoadingClasses = Flux::classes()
|
||||
// When loading, we need to add some extra padding to the input to account for the loading icon...
|
||||
->add(match ($countOfTrailingIcons) {
|
||||
0 => 'pe-10',
|
||||
1 => 'pe-16',
|
||||
2 => 'pe-23',
|
||||
3 => 'pe-30',
|
||||
4 => 'pe-37',
|
||||
5 => 'pe-44',
|
||||
6 => 'pe-51',
|
||||
})
|
||||
;
|
||||
|
||||
$classes = Flux::classes()
|
||||
->add('w-full border rounded-lg block disabled:shadow-none dark:shadow-none')
|
||||
->add('appearance-none') // Without this, input[type="date"] on mobile doesn't respect w-full...
|
||||
->add(match ($size) {
|
||||
default => 'text-base sm:text-sm py-2 h-10 leading-[1.375rem]', // This makes the height of the input 40px (same as buttons and such...)
|
||||
'sm' => 'text-sm py-1.5 h-8 leading-[1.125rem]',
|
||||
'xs' => 'text-xs py-1.5 h-6 leading-[1.125rem]',
|
||||
})
|
||||
->add(match ($hasLeadingIcon) {
|
||||
true => 'ps-10',
|
||||
false => 'ps-3',
|
||||
})
|
||||
->add(match ($countOfTrailingIcons) {
|
||||
// Make sure there's enough padding on the right side of the input to account for all the icons...
|
||||
0 => 'pe-3',
|
||||
1 => 'pe-10',
|
||||
2 => 'pe-16',
|
||||
3 => 'pe-23',
|
||||
4 => 'pe-30',
|
||||
5 => 'pe-37',
|
||||
6 => 'pe-44',
|
||||
})
|
||||
->add(match ($variant) { // Background...
|
||||
'outline' => 'bg-white dark:bg-white/10 dark:disabled:bg-white/[7%]',
|
||||
'filled' => 'bg-zinc-800/5 dark:bg-white/10 dark:disabled:bg-white/[7%]',
|
||||
})
|
||||
->add(match ($variant) { // Text color
|
||||
'outline' => 'text-zinc-700 disabled:text-zinc-500 placeholder-zinc-400 disabled:placeholder-zinc-400/70 dark:text-zinc-300 dark:disabled:text-zinc-400 dark:placeholder-zinc-400 dark:disabled:placeholder-zinc-500',
|
||||
'filled' => 'text-zinc-700 placeholder-zinc-500 disabled:placeholder-zinc-400 dark:text-zinc-200 dark:placeholder-white/60 dark:disabled:placeholder-white/40',
|
||||
})
|
||||
->add(match ($variant) { // Border...
|
||||
'outline' => 'shadow-xs border-zinc-200 border-b-zinc-300/80 disabled:border-b-zinc-200 dark:border-white/10 dark:disabled:border-white/5',
|
||||
'filled' => 'border-0',
|
||||
})
|
||||
->add(match ($variant) { // Invalid...
|
||||
'outline' => 'data-invalid:shadow-none data-invalid:border-red-500 dark:data-invalid:border-red-500 disabled:data-invalid:border-red-500 dark:disabled:data-invalid:border-red-500',
|
||||
'filled' => 'data-invalid:border-red-500'
|
||||
})
|
||||
->add($attributes->pluck('class:input'))
|
||||
;
|
||||
?>
|
||||
|
||||
<?php if ($type === 'file'): ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/with-field.blade.php', $__blaze->compiledPath.'/c47a7698d859fe0603a8ccaf476ef2fa.php'); ?>
|
||||
<?php if (isset($__slotsc47a7698d859fe0603a8ccaf476ef2fa)) { $__slotsStackc47a7698d859fe0603a8ccaf476ef2fa[] = $__slotsc47a7698d859fe0603a8ccaf476ef2fa; } ?>
|
||||
<?php if (isset($__attrsc47a7698d859fe0603a8ccaf476ef2fa)) { $__attrsStackc47a7698d859fe0603a8ccaf476ef2fa[] = $__attrsc47a7698d859fe0603a8ccaf476ef2fa; } ?>
|
||||
<?php $__attrsc47a7698d859fe0603a8ccaf476ef2fa = ['attributes' => $attributes,'name' => $name]; ?>
|
||||
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa = []; ?>
|
||||
<?php $__blaze->pushData($__attrsc47a7698d859fe0603a8ccaf476ef2fa); ?>
|
||||
<?php ob_start(); ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/file.blade.php', $__blaze->compiledPath.'/c89f043107b28069800e6228c61d599c.php'); ?>
|
||||
<?php $__blaze->pushData(['attributes' => $attributes,'name' => $name,'size' => $size]); ?>
|
||||
<?php _c89f043107b28069800e6228c61d599c($__blaze, ['attributes' => $attributes,'name' => $name,'size' => $size], [], ['attributes', 'name', 'size'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotsc47a7698d859fe0603a8ccaf476ef2fa); ?>
|
||||
<?php _c47a7698d859fe0603a8ccaf476ef2fa($__blaze, $__attrsc47a7698d859fe0603a8ccaf476ef2fa, $__slotsc47a7698d859fe0603a8ccaf476ef2fa, ['attributes', 'name'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackc47a7698d859fe0603a8ccaf476ef2fa)) { $__slotsc47a7698d859fe0603a8ccaf476ef2fa = array_pop($__slotsStackc47a7698d859fe0603a8ccaf476ef2fa); } ?>
|
||||
<?php if (! empty($__attrsStackc47a7698d859fe0603a8ccaf476ef2fa)) { $__attrsc47a7698d859fe0603a8ccaf476ef2fa = array_pop($__attrsStackc47a7698d859fe0603a8ccaf476ef2fa); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php elseif ($as !== 'button'): ?>
|
||||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/with-field.blade.php', $__blaze->compiledPath.'/c47a7698d859fe0603a8ccaf476ef2fa.php'); ?>
|
||||
<?php if (isset($__slotsc47a7698d859fe0603a8ccaf476ef2fa)) { $__slotsStackc47a7698d859fe0603a8ccaf476ef2fa[] = $__slotsc47a7698d859fe0603a8ccaf476ef2fa; } ?>
|
||||
<?php if (isset($__attrsc47a7698d859fe0603a8ccaf476ef2fa)) { $__attrsStackc47a7698d859fe0603a8ccaf476ef2fa[] = $__attrsc47a7698d859fe0603a8ccaf476ef2fa; } ?>
|
||||
<?php $__attrsc47a7698d859fe0603a8ccaf476ef2fa = ['attributes' => $attributes,'name' => $name]; ?>
|
||||
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa = []; ?>
|
||||
<?php $__blaze->pushData($__attrsc47a7698d859fe0603a8ccaf476ef2fa); ?>
|
||||
<?php ob_start(); ?>
|
||||
<div <?php echo e($attributes->only('class')->class('w-full relative block group/input')); ?> data-flux-input>
|
||||
<?php if (is_string($iconLeading)): ?>
|
||||
<div class="pointer-events-none absolute top-0 bottom-0 border-s border-transparent flex items-center justify-center text-xs text-zinc-400/75 dark:text-white/60 ps-3 start-0">
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $iconLeading, 'variant' => $iconVariant, 'class' => $iconClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
|
||||
<?php $__blaze->pushData(['icon' => $iconLeading,'variant' => $iconVariant,'class' => $iconClasses]); ?>
|
||||
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconLeading,'variant' => $iconVariant,'class' => $iconClasses], [], ['icon', 'variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
</div>
|
||||
<?php elseif ($iconLeading): ?>
|
||||
<div <?php echo e($iconLeading->attributes->class('absolute top-0 bottom-0 border-s border-transparent flex items-center justify-center text-xs text-zinc-400/75 dark:text-white/60 ps-3 start-0')); ?>>
|
||||
<?php echo e($iconLeading); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<input
|
||||
type="<?php echo e($type); ?>"
|
||||
|
||||
<?php echo e($attributes->except('class')->class($type === 'file' ? '' : $classes)->merge($inputAttributes->getAttributes())); ?>
|
||||
|
||||
<?php if (isset($name)): ?> name="<?php echo e($name); ?>" <?php endif; ?>
|
||||
<?php if ($maskDynamic): ?> x-mask:dynamic="<?php echo e($maskDynamic); ?>" <?php elseif($mask): ?> x-mask="<?php echo e($mask); ?>" <?php endif; ?>
|
||||
<?php if (is_numeric($size)): ?> size="<?php echo e($size); ?>" <?php endif; ?>
|
||||
<?php $__getScope = fn($scope = []) => $scope; ?><?php if (isset($scope)) $__scope = $scope; ?><?php $scope = $__getScope(scope: ['name' => $name ?? null, 'invalid' => $invalid ?? false]); ?>
|
||||
<?php if ($scope['invalid'] || ($scope['name'] && $errors->has($scope['name']))): ?>
|
||||
aria-invalid="true" data-invalid
|
||||
<?php endif; ?>
|
||||
<?php if (isset($__scope)) { $scope = $__scope; unset($__scope); } ?>
|
||||
data-flux-control
|
||||
data-flux-group-target
|
||||
<?php if($loading): ?> wire:loading.class="<?php echo e($inputLoadingClasses); ?>" <?php endif; ?>
|
||||
<?php if($loading && $wireTarget): ?> wire:target="<?php echo e($wireTarget); ?>" <?php endif; ?>
|
||||
>
|
||||
|
||||
<?php if ($loading || $countOfTrailingIcons > 0): ?>
|
||||
<div class="absolute top-0 bottom-0 flex items-center gap-x-1.5 pe-2 border-e border-transparent end-0 text-xs text-zinc-400">
|
||||
|
||||
<?php if ($loading): ?>
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['name' => 'loading', 'variant' => $iconVariant, 'class' => $iconClasses, 'wire:loading' => true, 'wire:target' => $wireTarget]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
|
||||
<?php $__blaze->pushData(['name' => 'loading','variant' => $iconVariant,'class' => $iconClasses,'wire:loading' => true,'wire:target' => $wireTarget]); ?>
|
||||
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['name' => 'loading','variant' => $iconVariant,'class' => $iconClasses,'wire:loading' => true,'wire:target' => $wireTarget], [], ['variant', 'class', 'wire:loading', 'wire:target'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($clearable): ?>
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::input.clearable", ['inset' => 'left right', 'size' => $size, 'iconVariant' => $iconVariant]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/clearable.blade.php', $__blaze->compiledPath.'/7a1c4f952f71a97d0e2b4ce66d93baaf.php'); ?>
|
||||
<?php $__blaze->pushData(['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant]); ?>
|
||||
<?php _7a1c4f952f71a97d0e2b4ce66d93baaf($__blaze, ['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant], [], ['size', 'iconVariant'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($kbd): ?>
|
||||
<span class="pointer-events-none"><?php echo e($kbd); ?></span>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($expandable): ?>
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::input.expandable", ['inset' => 'left right', 'size' => $size, 'iconVariant' => $iconVariant]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/expandable.blade.php', $__blaze->compiledPath.'/e63bd898651ebbc613fed6b95b240e9e.php'); ?>
|
||||
<?php $__blaze->pushData(['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant]); ?>
|
||||
<?php _e63bd898651ebbc613fed6b95b240e9e($__blaze, ['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant], [], ['size', 'iconVariant'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($copyable): ?>
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::input.copyable", ['inset' => 'left right', 'size' => $size, 'iconVariant' => $iconVariant]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/copyable.blade.php', $__blaze->compiledPath.'/c4638b451ec227822c5dbb8d95d29e34.php'); ?>
|
||||
<?php $__blaze->pushData(['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant]); ?>
|
||||
<?php _c4638b451ec227822c5dbb8d95d29e34($__blaze, ['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant], [], ['size', 'iconVariant'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($viewable): ?>
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::input.viewable", ['inset' => 'left right', 'size' => $size, 'iconVariant' => $iconVariant]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/viewable.blade.php', $__blaze->compiledPath.'/8f842a758cc18612d994501b9d6443ab.php'); ?>
|
||||
<?php $__blaze->pushData(['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant]); ?>
|
||||
<?php _8f842a758cc18612d994501b9d6443ab($__blaze, ['inset' => 'left right','size' => $size,'iconVariant' => $iconVariant], [], ['size', 'iconVariant'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (is_string($iconTrailing)): ?>
|
||||
<?php
|
||||
$trailingIconClasses = clone $iconClasses;
|
||||
$trailingIconClasses->add('text-zinc-400/75 dark:text-white/60 pointer-events-none');
|
||||
?>
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $iconTrailing, 'variant' => $iconVariant, 'class' => $trailingIconClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
|
||||
<?php $__blaze->pushData(['icon' => $iconTrailing,'variant' => $iconVariant,'class' => $trailingIconClasses]); ?>
|
||||
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconTrailing,'variant' => $iconVariant,'class' => $trailingIconClasses], [], ['icon', 'variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
<?php elseif ($iconTrailing): ?>
|
||||
<?php echo e($iconTrailing); ?>
|
||||
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php $__slotsc47a7698d859fe0603a8ccaf476ef2fa['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
||||
<?php $__blaze->pushSlots($__slotsc47a7698d859fe0603a8ccaf476ef2fa); ?>
|
||||
<?php _c47a7698d859fe0603a8ccaf476ef2fa($__blaze, $__attrsc47a7698d859fe0603a8ccaf476ef2fa, $__slotsc47a7698d859fe0603a8ccaf476ef2fa, ['attributes', 'name'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php if (! empty($__slotsStackc47a7698d859fe0603a8ccaf476ef2fa)) { $__slotsc47a7698d859fe0603a8ccaf476ef2fa = array_pop($__slotsStackc47a7698d859fe0603a8ccaf476ef2fa); } ?>
|
||||
<?php if (! empty($__attrsStackc47a7698d859fe0603a8ccaf476ef2fa)) { $__attrsc47a7698d859fe0603a8ccaf476ef2fa = array_pop($__attrsStackc47a7698d859fe0603a8ccaf476ef2fa); } ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php else: ?>
|
||||
<button <?php echo e($attributes->merge(['type' => 'button'])->class([$classes, 'w-full relative flex'])); ?>>
|
||||
<?php if (is_string($iconLeading)): ?>
|
||||
<div class="absolute top-0 bottom-0 flex items-center justify-center text-xs text-zinc-400/75 ps-3 start-0">
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $iconLeading, 'variant' => $iconVariant, 'class' => $iconClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
|
||||
<?php $__blaze->pushData(['icon' => $iconLeading,'variant' => $iconVariant,'class' => $iconClasses]); ?>
|
||||
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconLeading,'variant' => $iconVariant,'class' => $iconClasses], [], ['icon', 'variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
</div>
|
||||
<?php elseif ($iconLeading): ?>
|
||||
<div <?php echo e($iconLeading->attributes->class('absolute top-0 bottom-0 flex items-center justify-center text-xs text-zinc-400/75 ps-3 start-0')); ?>>
|
||||
<?php echo e($iconLeading); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($attributes->has('placeholder')): ?>
|
||||
<div class="block self-center text-start flex-1 font-medium text-zinc-400 dark:text-white/40">
|
||||
<?php echo e($attributes->get('placeholder')); ?>
|
||||
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div class="text-start self-center flex-1 font-medium text-zinc-800 dark:text-white">
|
||||
<?php echo e($slot); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($kbd): ?>
|
||||
<div class="absolute top-0 bottom-0 flex items-center justify-center text-xs text-zinc-400/75 pe-4 end-0">
|
||||
<?php echo e($kbd); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (is_string($iconTrailing)): ?>
|
||||
<div class="absolute top-0 bottom-0 flex items-center justify-center text-xs text-zinc-400/75 pe-3 end-0">
|
||||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::icon", ['icon' => $iconTrailing, 'variant' => $iconVariant, 'class' => $iconClasses]); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/icon/index.blade.php', $__blaze->compiledPath.'/1a8b14bbfd4d1ccfc09a3006a01ef8d8.php'); ?>
|
||||
<?php $__blaze->pushData(['icon' => $iconTrailing,'variant' => $iconVariant,'class' => $iconClasses]); ?>
|
||||
<?php _1a8b14bbfd4d1ccfc09a3006a01ef8d8($__blaze, ['icon' => $iconTrailing,'variant' => $iconVariant,'class' => $iconClasses], [], ['icon', 'variant', 'class'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||||
</div>
|
||||
<?php elseif ($iconTrailing): ?>
|
||||
<div <?php echo e($iconTrailing->attributes->class('absolute top-0 bottom-0 flex items-center justify-center text-xs text-zinc-400/75 pe-2 end-0')); ?>>
|
||||
<?php echo e($iconTrailing); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</button>
|
||||
<?php endif; ?>
|
||||
<?php
|
||||
echo ltrim(ob_get_clean());
|
||||
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/input/index.blade.php ENDPATH**/ ?>
|
||||
@@ -0,0 +1,125 @@
|
||||
<?php # [BlazeFolded]:{flux::text}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/text.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::text}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/text.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php # [BlazeFolded]:{flux::button}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/button/index.blade.php}:{1776985208} ?>
|
||||
<?php
|
||||
$__assetKey = '2986292017-0';
|
||||
|
||||
ob_start();
|
||||
?>
|
||||
<?php echo app('Illuminate\Foundation\Vite')('resources/js/passkeys.js'); ?>
|
||||
<?php
|
||||
$__output = ob_get_clean();
|
||||
|
||||
// If the asset has already been loaded anywhere during this request, skip it...
|
||||
if (in_array($__assetKey, \Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$alreadyRunAssetKeys)) {
|
||||
// Skip it...
|
||||
} else {
|
||||
\Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$alreadyRunAssetKeys[] = $__assetKey;
|
||||
|
||||
// Check if we're in a Livewire component or not and store the asset accordingly...
|
||||
if (isset($this)) {
|
||||
\Livewire\store($this)->push('assets', $__output, $__assetKey);
|
||||
} else {
|
||||
\Livewire\Features\SupportScriptsAndAssets\SupportScriptsAndAssets::$nonLivewireAssets[$__assetKey] = $__output;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<div
|
||||
x-data="{
|
||||
supported: false,
|
||||
showForm: false,
|
||||
name: '',
|
||||
loading: false,
|
||||
error: null,
|
||||
updateSupport() {
|
||||
this.supported = Boolean(window.Passkeys?.isSupported());
|
||||
},
|
||||
init() {
|
||||
this.updateSupport();
|
||||
|
||||
window.addEventListener('passkeys:ready', () => this.updateSupport(), { once: true });
|
||||
},
|
||||
async register() {
|
||||
if (!this.name.trim()) return;
|
||||
|
||||
this.loading = true;
|
||||
this.error = null;
|
||||
|
||||
try {
|
||||
await window.Passkeys.register({ name: this.name });
|
||||
this.name = '';
|
||||
this.showForm = false;
|
||||
await $wire.loadPasskeys();
|
||||
} catch (e) {
|
||||
if (e.constructor?.name !== 'UserCancelledError') {
|
||||
this.error = e.message;
|
||||
}
|
||||
} finally {
|
||||
this.loading = false;
|
||||
}
|
||||
},
|
||||
cancel() {
|
||||
this.showForm = false;
|
||||
this.name = '';
|
||||
this.error = null;
|
||||
},
|
||||
}"
|
||||
>
|
||||
<template x-if="!supported">
|
||||
<?php ob_start(); ?><p class="[:where(&)]:font-normal [:where(&)]:text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70" data-flux-text ><?php ob_start(); ?><?php echo e(__('Passkeys are not supported in this browser.')); ?><?php echo trim(ob_get_clean()); ?></p><?php echo ltrim(ob_get_clean()); ?>
|
||||
</template>
|
||||
|
||||
<template x-if="supported && !showForm">
|
||||
<div>
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-3 pe-4 inline-flex bg-[var(--color-accent)] hover:bg-[color-mix(in_oklab,_var(--color-accent),_transparent_10%)] text-[var(--color-accent-foreground)] border border-black/10 dark:border-0 shadow-[inset_0px_1px_--theme(--color-white/.2)] [[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%)]" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" x-on:click="showForm = true">
|
||||
<svg class="shrink-0 [:where(&)]:size-4" 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>
|
||||
|
||||
|
||||
|
||||
|
||||
<span><?php ob_start(); ?>
|
||||
<?php echo e(__('Add passkey')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?></span>
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<template x-if="supported && showForm">
|
||||
<div class="space-y-4 rounded-lg border border-zinc-200 dark:border-zinc-700 bg-zinc-50 dark:bg-zinc-800/50 p-4">
|
||||
<?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(['label' => e(__('Passkey name')),'xModel' => 'name','placeholder' => e(__('e.g., MacBook Pro, iPhone')),'xOn:keydown.enter.prevent' => 'register()','xRef' => 'passkeyNameInput','xInit' => '$nextTick(() => $refs.passkeyNameInput?.focus())']); ?>
|
||||
<?php _e9fe329cbd986d5723d2692e449cddae($__blaze, ['label' => e(__('Passkey name')),'xModel' => 'name','placeholder' => e(__('e.g., MacBook Pro, iPhone')),'xOn:keydown.enter.prevent' => 'register()','xRef' => 'passkeyNameInput','xInit' => '$nextTick(() => $refs.passkeyNameInput?.focus())'], [], [], ['xModel' => 'x-model', 'xOn:keydown.enter.prevent' => 'x-on:keydown.enter.prevent', 'xRef' => 'x-ref', 'xInit' => 'x-init'], $__this ?? (isset($this) ? $this : null)); ?>
|
||||
<?php $__blaze->popData(); ?>
|
||||
<?php ob_start(); ?><p class="[:where(&)]:font-normal [:where(&)]:text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70 !mt-1" data-flux-text ><?php ob_start(); ?><?php echo e(__('Give this passkey a name to help you identify it later.')); ?><?php echo trim(ob_get_clean()); ?></p><?php echo ltrim(ob_get_clean()); ?>
|
||||
|
||||
<p x-show="error" x-text="error" x-cloak class="text-sm text-red-600 dark:text-red-400"></p>
|
||||
|
||||
<div class="flex gap-2">
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-[var(--color-accent)] hover:bg-[color-mix(in_oklab,_var(--color-accent),_transparent_10%)] text-[var(--color-accent-foreground)] border border-black/10 dark:border-0 shadow-[inset_0px_1px_--theme(--color-white/.2)] [[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%)]" data-flux-button="data-flux-button" data-flux-group-target="data-flux-group-target" x-on:click="register()" x-bind:disabled="loading || !name.trim()">
|
||||
<?php ob_start(); ?>
|
||||
<span x-show="!loading"><?php echo e(__('Register passkey')); ?></span>
|
||||
<span x-show="loading" x-cloak><?php echo e(__('Registering...')); ?></span>
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
<?php ob_start(); ?><button type="button" class="relative items-center font-medium justify-center gap-2 whitespace-nowrap disabled:opacity-75 dark:disabled:opacity-75 disabled:cursor-default disabled:pointer-events-none justify-center h-10 text-sm rounded-lg ps-4 pe-4 inline-flex bg-transparent hover:bg-zinc-800/5 dark:hover:bg-white/15 text-zinc-800 dark:text-white" data-flux-button="data-flux-button" x-on:click="cancel()">
|
||||
<?php ob_start(); ?>
|
||||
<?php echo e(__('Cancel')); ?>
|
||||
|
||||
<?php echo trim(ob_get_clean()); ?>
|
||||
|
||||
</button>
|
||||
<?php echo ltrim(ob_get_clean()); ?>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/components/passkey-registration.blade.php ENDPATH**/ ?>
|
||||
Reference in New Issue
Block a user