Files
WMS/storage/framework/views/blaze/8713902841812059eb7a1110b32b0cf6.php
T

65 lines
3.7 KiB
PHP
Executable File

<?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**/ ?>