<?php
$columns = [
    [
        'label' => 'Nombre',
        'width' => '400px',
        'render' => fn($user) => e($user->name),
    ],
    [
        'label' => 'Correo',
        'width' => '400px',
        'render' => fn($user) => e($user->email),
    ],
     [
        'label' => 'Acciones',
        'width' => '240px',
        'render' => fn($user) => '<a href="' . route('superadmin.users.show', $user->id) . '" class="hover:underline font-bold">Ver detalle</a>',
    ],
];
?>
<?php if (isset($component)) { $__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6 = $attributes; } ?>
<?php $component = App\View\Components\Layouts\AuthLayout::resolve([] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('layouts.auth-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\Layouts\AuthLayout::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
    <div class="flex flex-col max-w-[960px]">
        <div class="flex flex-wrap justify-between gap-3 py-4">
            <h2 class="text-complement300 font-roboto text-size-subtitle font-medium">Usuarios</h2>
             <?php if (isset($component)) { $__componentOriginal8565cc6e3559fc0755ba5bce504752a5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal8565cc6e3559fc0755ba5bce504752a5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.controls.button','data' => ['href' => ''.e(route('superadmin.users.create')).'','variant' => 'primary']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('controls.button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['href' => ''.e(route('superadmin.users.create')).'','variant' => 'primary']); ?>
                Añadir usuario
             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal8565cc6e3559fc0755ba5bce504752a5)): ?>
<?php $attributes = $__attributesOriginal8565cc6e3559fc0755ba5bce504752a5; ?>
<?php unset($__attributesOriginal8565cc6e3559fc0755ba5bce504752a5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal8565cc6e3559fc0755ba5bce504752a5)): ?>
<?php $component = $__componentOriginal8565cc6e3559fc0755ba5bce504752a5; ?>
<?php unset($__componentOriginal8565cc6e3559fc0755ba5bce504752a5); ?>
<?php endif; ?>
        </div>
        <div class="py-3">
            <?php if (isset($component)) { $__componentOriginal1225fd4ba77114871882f9a9e53eeab5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal1225fd4ba77114871882f9a9e53eeab5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.tables.table-with-pagination','data' => ['columns' => $columns,'items' => $users]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('tables.table-with-pagination'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['columns' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($columns),'items' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($users)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal1225fd4ba77114871882f9a9e53eeab5)): ?>
<?php $attributes = $__attributesOriginal1225fd4ba77114871882f9a9e53eeab5; ?>
<?php unset($__attributesOriginal1225fd4ba77114871882f9a9e53eeab5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal1225fd4ba77114871882f9a9e53eeab5)): ?>
<?php $component = $__componentOriginal1225fd4ba77114871882f9a9e53eeab5; ?>
<?php unset($__componentOriginal1225fd4ba77114871882f9a9e53eeab5); ?>
<?php endif; ?>
        </div>
    </div>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6)): ?>
<?php $attributes = $__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6; ?>
<?php unset($__attributesOriginale9b1828e76ebe0c7e000efe9977b8aa6); ?>
<?php endif; ?>
<?php if (isset($__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6)): ?>
<?php $component = $__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6; ?>
<?php unset($__componentOriginale9b1828e76ebe0c7e000efe9977b8aa6); ?>
<?php endif; ?><?php /**PATH /home/cnllsandbox/public_html/house-contract.cnll-sandbox.com/resources/views/superadmin/users/index.blade.php ENDPATH**/ ?>