65 lines
3.7 KiB
PHP
Executable File
65 lines
3.7 KiB
PHP
Executable File
<?php
|
|
if (!function_exists('__28ffc7e14571aa8294e72d7090e73e52')):
|
|
function __28ffc7e14571aa8294e72d7090e73e52($__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/Core/vendor/livewire/flux/src/../stubs/resources/views/flux/with-field.blade.php', $__blaze->compiledPath.'/6d9b56edd9c9c8e51fa8e057a8020521.php'); ?>
|
|
<?php if (isset($__slots6d9b56edd9c9c8e51fa8e057a8020521)) { $__slotsStack6d9b56edd9c9c8e51fa8e057a8020521[] = $__slots6d9b56edd9c9c8e51fa8e057a8020521; } ?>
|
|
<?php if (isset($__attrs6d9b56edd9c9c8e51fa8e057a8020521)) { $__attrsStack6d9b56edd9c9c8e51fa8e057a8020521[] = $__attrs6d9b56edd9c9c8e51fa8e057a8020521; } ?>
|
|
<?php $__attrs6d9b56edd9c9c8e51fa8e057a8020521 = ['attributes' => $attributes]; ?>
|
|
<?php $__slots6d9b56edd9c9c8e51fa8e057a8020521 = []; ?>
|
|
<?php $__blaze->pushData($__attrs6d9b56edd9c9c8e51fa8e057a8020521); ?>
|
|
<?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/Core/vendor/livewire/flux/src/../stubs/resources/views/flux/otp/input.blade.php', $__blaze->compiledPath.'/93de554cb51419b7cd63a71bcd81b0e6.php'); ?>
|
|
<?php $__blaze->pushData([]); ?>
|
|
<?php __93de554cb51419b7cd63a71bcd81b0e6($__blaze, [], [], [], [], $__this ?? (isset($this) ? $this : null)); ?>
|
|
<?php $__blaze->popData(); ?>
|
|
<?php endfor; ?>
|
|
<?php else: ?>
|
|
<?php echo e($slot); ?>
|
|
|
|
<?php endif; ?>
|
|
</ui-otp>
|
|
<?php $__slots6d9b56edd9c9c8e51fa8e057a8020521['slot'] = new \Illuminate\View\ComponentSlot($__blaze->processPassthroughContent('trim', trim(ob_get_clean())), []); ?>
|
|
<?php $__blaze->pushSlots($__slots6d9b56edd9c9c8e51fa8e057a8020521); ?>
|
|
<?php __6d9b56edd9c9c8e51fa8e057a8020521($__blaze, $__attrs6d9b56edd9c9c8e51fa8e057a8020521, $__slots6d9b56edd9c9c8e51fa8e057a8020521, ['attributes'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
|
<?php if (! empty($__slotsStack6d9b56edd9c9c8e51fa8e057a8020521)) { $__slots6d9b56edd9c9c8e51fa8e057a8020521 = array_pop($__slotsStack6d9b56edd9c9c8e51fa8e057a8020521); } ?>
|
|
<?php if (! empty($__attrsStack6d9b56edd9c9c8e51fa8e057a8020521)) { $__attrs6d9b56edd9c9c8e51fa8e057a8020521 = array_pop($__attrsStack6d9b56edd9c9c8e51fa8e057a8020521); } ?>
|
|
<?php $__blaze->popData(); ?><?php
|
|
echo $__blaze->processPassthroughContent('ltrim', ltrim(ob_get_clean()));
|
|
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Core/vendor/livewire/flux/src/../stubs/resources/views/flux/otp/index.blade.php ENDPATH**/ ?>
|