42 lines
1.7 KiB
PHP
Executable File
42 lines
1.7 KiB
PHP
Executable File
<?php
|
|
if (!function_exists('__21300ad040f0f0c96c52349eadaba096')):
|
|
function __21300ad040f0f0c96c52349eadaba096($__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 = [
|
|
'position' => 'bottom',
|
|
'align' => 'start',
|
|
];
|
|
$position ??= $attributes['position'] ?? $__defaults['position']; unset($attributes['position']);
|
|
$align ??= $attributes['align'] ?? $__defaults['align']; unset($attributes['align']);
|
|
unset($__defaults);
|
|
?>
|
|
|
|
<?php
|
|
// 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]);
|
|
}
|
|
?>
|
|
|
|
<ui-dropdown position="<?php echo e($position); ?> <?php echo e($align); ?>" <?php echo e($attributes); ?> data-flux-dropdown>
|
|
<?php echo e($slot); ?>
|
|
|
|
</ui-dropdown>
|
|
<?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/dropdown.blade.php ENDPATH**/ ?>
|