61 lines
3.4 KiB
PHP
Executable File
61 lines
3.4 KiB
PHP
Executable File
<?php
|
|
if (!function_exists('_3e67020b08ceeca960cbb88b2dabc310')):
|
|
function _3e67020b08ceeca960cbb88b2dabc310($__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/Core/vendor/livewire/flux/src/../stubs/resources/views/flux/tooltip/index.blade.php', $__blaze->compiledPath.'/d2493bdc3defe8869c6c05a47a680be0.php'); ?>
|
|
<?php if (isset($__slotsd2493bdc3defe8869c6c05a47a680be0)) { $__slotsStackd2493bdc3defe8869c6c05a47a680be0[] = $__slotsd2493bdc3defe8869c6c05a47a680be0; } ?>
|
|
<?php if (isset($__attrsd2493bdc3defe8869c6c05a47a680be0)) { $__attrsStackd2493bdc3defe8869c6c05a47a680be0[] = $__attrsd2493bdc3defe8869c6c05a47a680be0; } ?>
|
|
<?php $__attrsd2493bdc3defe8869c6c05a47a680be0 = ['content' => $tooltip,'position' => $tooltipPosition,'kbd' => $tooltipKbd]; ?>
|
|
<?php $__slotsd2493bdc3defe8869c6c05a47a680be0 = []; ?>
|
|
<?php $__blaze->pushData($__attrsd2493bdc3defe8869c6c05a47a680be0); ?>
|
|
<?php ob_start(); ?>
|
|
<?php echo e($slot); ?>
|
|
|
|
<?php $__slotsd2493bdc3defe8869c6c05a47a680be0['slot'] = new \Illuminate\View\ComponentSlot(trim(ob_get_clean()), []); ?>
|
|
<?php $__blaze->pushSlots($__slotsd2493bdc3defe8869c6c05a47a680be0); ?>
|
|
<?php _d2493bdc3defe8869c6c05a47a680be0($__blaze, $__attrsd2493bdc3defe8869c6c05a47a680be0, $__slotsd2493bdc3defe8869c6c05a47a680be0, ['content', 'position', 'kbd'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
|
<?php if (! empty($__slotsStackd2493bdc3defe8869c6c05a47a680be0)) { $__slotsd2493bdc3defe8869c6c05a47a680be0 = array_pop($__slotsStackd2493bdc3defe8869c6c05a47a680be0); } ?>
|
|
<?php if (! empty($__attrsStackd2493bdc3defe8869c6c05a47a680be0)) { $__attrsd2493bdc3defe8869c6c05a47a680be0 = array_pop($__attrsStackd2493bdc3defe8869c6c05a47a680be0); } ?>
|
|
<?php $__blaze->popData(); ?>
|
|
<?php else: ?>
|
|
<?php echo e($slot); ?>
|
|
|
|
<?php endif; ?>
|
|
<?php
|
|
echo ltrim(ob_get_clean());
|
|
} endif; ?><?php /**PATH /Users/mag/Sites/WMS/Core/vendor/livewire/flux/src/../stubs/resources/views/flux/with-tooltip.blade.php ENDPATH**/ ?>
|