Current File : /home/getxxhzo/app.genicards.com/storage/framework/views/e1f915d731a420f7d1e481ebed128429.php |
<?php foreach ((['component', 'tableName']) as $__key => $__value) {
$__consumeVariable = is_string($__key) ? $__key : $__value;
$$__consumeVariable = is_string($__key) ? $__env->getConsumableComponentData($__key, $__value) : $__env->getConsumableComponentData($__value);
} ?>
<div
x-data="{ open: false, childElementOpen: false, isTailwind: <?php echo \Illuminate\Support\Js::from($component->isTailwind())->toHtml() ?>, isBootstrap: <?php echo \Illuminate\Support\Js::from($component->isBootstrap())->toHtml() ?> }"
x-cloak x-show="(selectedItems.length > 0 || alwaysShowBulkActions)"
class="<?php echo \Illuminate\Support\Arr::toCssClasses([
'mb-3 mb-md-0' => $component->isBootstrap(),
'w-full md:w-auto mb-4 md:mb-0' => $component->isTailwind(),
]); ?>"
>
<div class="<?php echo \Illuminate\Support\Arr::toCssClasses([
'dropdown d-block d-md-inline' => $component->isBootstrap(),
'relative inline-block text-left z-10 w-full md:w-auto' => $component->isTailwind(),
]); ?>"
>
<!--[if BLOCK]><![endif]--><?php if($component->isTailwind()): ?>
<div
x-on:click.away="if (!childElementOpen) { open = false }"
@keydown.window.escape="if (!childElementOpen) { open = false }"
x-cloak x-show="open"
x-transition:enter="transition ease-out duration-100"
x-transition:enter-start="transform opacity-0 scale-95"
x-transition:enter-end="transform opacity-100 scale-100"
x-transition:leave="transition ease-in duration-75"
x-transition:leave-start="transform opacity-100 scale-100"
x-transition:leave-end="transform opacity-0 scale-95"
class="origin-top-right absolute right-0 mt-2 w-full md:w-48 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 divide-y divide-gray-100 focus:outline-none z-50"
>
<div class="rounded-md bg-white shadow-xs dark:bg-gray-700 dark:text-white">
<div class="py-1" role="menu" aria-orientation="vertical">
<!--[if BLOCK]><![endif]--><?php $__currentLoopData = $component->getBulkActions(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $action => $title): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<button
wire:click="<?php echo e($action); ?>"
<?php if($component->hasConfirmationMessage($action)): ?>
wire:confirm="<?php echo e($component->getBulkActionConfirmMessage($action)); ?>"
<?php endif; ?>
wire:key="<?php echo e($tableName); ?>-bulk-action-<?php echo e($action); ?>"
type="button"
class="block w-full px-4 py-2 text-sm leading-5 text-gray-700 hover:bg-gray-100 hover:text-gray-900 focus:outline-none focus:bg-gray-100 focus:text-gray-900 flex items-center space-x-2 dark:text-white dark:hover:bg-gray-600"
role="menuitem"
>
<span><?php echo e($title); ?></span>
</button>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]-->
</div>
</div>
</div>
<?php else: ?>
<div
class="<?php echo \Illuminate\Support\Arr::toCssClasses([
'dropdown-menu dropdown-menu-right w-100' => $component->isBootstrap4(),
'dropdown-menu dropdown-menu-end w-100' => $component->isBootstrap5(),
]); ?>"
aria-labelledby="<?php echo e($tableName); ?>-bulkActionsDropdown"
>
<!--[if BLOCK]><![endif]--><?php $__currentLoopData = $component->getBulkActions(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $action => $title): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a
href="#"
<?php if($component->hasConfirmationMessage($action)): ?>
wire:confirm="<?php echo e($component->getBulkActionConfirmMessage($action)); ?>"
<?php endif; ?>
wire:click="<?php echo e($action); ?>"
wire:key="<?php echo e($tableName); ?>-bulk-action-<?php echo e($action); ?>"
class="<?php echo \Illuminate\Support\Arr::toCssClasses([
'dropdown-item' => $component->isBootstrap(),
]); ?>"
>
<?php echo e($title); ?>
</a>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><!--[if ENDBLOCK]><![endif]-->
</div>
<?php endif; ?><!--[if ENDBLOCK]><![endif]-->
</div>
</div>
<?php /**PATH /home/getxxhzo/app.genicards.com/resources/views/vendor/livewire-tables/components/tools/toolbar/items/bulk-actions.blade.php ENDPATH**/ ?>