Introduced a new Livewire component for statistics redirection and added a corresponding route to enhance navigation within the Proxmox extension. This update lays the groundwork for future statistics-related features.
438 lines
31 KiB
PHP
438 lines
31 KiB
PHP
<?php
|
|
use Filament\Infolists\Components\TextEntry\TextEntrySize;
|
|
use Filament\Support\Enums\Alignment;
|
|
use Filament\Support\Enums\FontFamily;
|
|
use Filament\Support\Enums\FontWeight;
|
|
use Filament\Support\Enums\IconPosition;
|
|
?>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal511d4862ff04963c3c16115c05a86a9d = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal511d4862ff04963c3c16115c05a86a9d = $attributes; } ?>
|
|
<?php $component = Illuminate\View\DynamicComponent::resolve(['component' => $getEntryWrapperView()] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('dynamic-component'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\DynamicComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['entry' => $entry]); ?>
|
|
<?php
|
|
$alignment = $getAlignment();
|
|
$isBadge = $isBadge();
|
|
$isBulleted = $isBulleted();
|
|
$iconPosition = $getIconPosition();
|
|
$isListWithLineBreaks = $isListWithLineBreaks();
|
|
$isLimitedListExpandable = $isLimitedListExpandable();
|
|
$isProse = $isProse();
|
|
$isMarkdown = $isMarkdown();
|
|
$url = $getUrl();
|
|
|
|
if (! $alignment instanceof Alignment) {
|
|
$alignment = filled($alignment) ? (Alignment::tryFrom($alignment) ?? $alignment) : null;
|
|
}
|
|
|
|
$arrayState = $getState();
|
|
|
|
if ($arrayState instanceof \Illuminate\Support\Collection) {
|
|
$arrayState = $arrayState->all();
|
|
}
|
|
|
|
$listLimit = 1;
|
|
|
|
if (is_array($arrayState)) {
|
|
if ($listLimit = $getListLimit()) {
|
|
$limitedArrayStateCount = (count($arrayState) > $listLimit) ? (count($arrayState) - $listLimit) : 0;
|
|
|
|
if (! $isListWithLineBreaks) {
|
|
$arrayState = array_slice($arrayState, 0, $listLimit);
|
|
}
|
|
}
|
|
|
|
$listLimit ??= count($arrayState);
|
|
|
|
if ((! $isListWithLineBreaks) && (! $isBadge)) {
|
|
$arrayState = implode(
|
|
', ',
|
|
array_map(
|
|
fn ($value) => $value instanceof \Filament\Support\Contracts\HasLabel ? $value->getLabel() : $value,
|
|
$arrayState,
|
|
),
|
|
);
|
|
}
|
|
}
|
|
|
|
$arrayState = \Illuminate\Support\Arr::wrap($arrayState);
|
|
?>
|
|
|
|
<div
|
|
<?php echo e($attributes
|
|
->merge($getExtraAttributes(), escape: false)
|
|
->class(['fi-in-text w-full'])); ?>
|
|
|
|
>
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($arrayState): ?>
|
|
<?php if (isset($component)) { $__componentOriginal1226b05f0d92df8a1a59756322a79fc3 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal1226b05f0d92df8a1a59756322a79fc3 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament-infolists::components.affixes','data' => ['prefixActions' => $getPrefixActions(),'suffixActions' => $getSuffixActions()]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('filament-infolists::affixes'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['prefix-actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getPrefixActions()),'suffix-actions' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($getSuffixActions())]); ?>
|
|
<<?php echo e($isListWithLineBreaks ? 'ul' : 'div'); ?>
|
|
|
|
class="<?php echo \Illuminate\Support\Arr::toCssClasses([
|
|
'flex' => ! $isBulleted,
|
|
'flex-col' => (! $isBulleted) && $isListWithLineBreaks,
|
|
'list-inside list-disc' => $isBulleted,
|
|
'gap-1.5' => $isBadge,
|
|
'flex-wrap' => $isBadge && (! $isListWithLineBreaks),
|
|
match ($alignment) {
|
|
Alignment::Start => 'text-start',
|
|
Alignment::Center => 'text-center',
|
|
Alignment::End => 'text-end',
|
|
Alignment::Left => 'text-left',
|
|
Alignment::Right => 'text-right',
|
|
Alignment::Justify, Alignment::Between => 'text-justify',
|
|
default => $alignment,
|
|
},
|
|
match ($alignment) {
|
|
Alignment::Start, Alignment::Left => 'justify-start',
|
|
Alignment::Center => 'justify-center',
|
|
Alignment::End, Alignment::Right => 'justify-end',
|
|
Alignment::Between, Alignment::Justify => 'justify-between',
|
|
default => null,
|
|
} => $isBulleted || (! $isListWithLineBreaks),
|
|
match ($alignment) {
|
|
Alignment::Start, Alignment::Left => 'items-start',
|
|
Alignment::Center => 'items-center',
|
|
Alignment::End, Alignment::Right => 'items-end',
|
|
Alignment::Between, Alignment::Justify => 'items-stretch',
|
|
default => null,
|
|
} => $isListWithLineBreaks && (! $isBulleted),
|
|
]); ?>"
|
|
<?php if($isListWithLineBreaks && $isLimitedListExpandable): ?>
|
|
x-data="{ isLimited: true }"
|
|
<?php endif; ?>
|
|
>
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__currentLoopData = $arrayState; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $state): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(filled($formattedState = $formatState($state)) &&
|
|
(! ($isListWithLineBreaks && (! $isLimitedListExpandable) && ($loop->iteration > $listLimit)))): ?>
|
|
<?php
|
|
$color = $getColor($state);
|
|
$copyableState = $getCopyableState($state) ?? $state;
|
|
$copyMessage = $getCopyMessage($state);
|
|
$copyMessageDuration = $getCopyMessageDuration($state);
|
|
$fontFamily = $getFontFamily($state);
|
|
$icon = $getIcon($state);
|
|
$iconColor = $getIconColor($state);
|
|
$itemIsCopyable = $isCopyable($state);
|
|
$lineClamp = $getLineClamp($state);
|
|
$size = $getSize($state);
|
|
$weight = $getWeight($state);
|
|
|
|
$proseClasses = \Illuminate\Support\Arr::toCssClasses([
|
|
'fi-in-text-item-prose prose max-w-none dark:prose-invert [&>*:first-child]:mt-0 [&>*:last-child]:mb-0',
|
|
'pt-2' => ! $isLabelHidden(),
|
|
match ($size) {
|
|
TextEntrySize::ExtraSmall, 'xs' => 'prose-xs',
|
|
TextEntrySize::Small, 'sm', null => 'prose-sm',
|
|
TextEntrySize::Medium, 'base', 'md' => 'prose-base',
|
|
TextEntrySize::Large, 'lg' => 'prose-lg',
|
|
default => $size,
|
|
},
|
|
]);
|
|
|
|
$iconClasses = \Illuminate\Support\Arr::toCssClasses([
|
|
'fi-in-text-item-icon h-5 w-5 shrink-0',
|
|
match ($iconColor) {
|
|
'gray', null => 'text-gray-400 dark:text-gray-500',
|
|
default => 'text-custom-500',
|
|
},
|
|
]);
|
|
|
|
$iconStyles = \Illuminate\Support\Arr::toCssStyles([
|
|
\Filament\Support\get_color_css_variables(
|
|
$iconColor,
|
|
shades: [500],
|
|
alias: 'infolists::components.text-entry.item.icon',
|
|
) => $iconColor !== 'gray',
|
|
]);
|
|
?>
|
|
|
|
<<?php echo e($isListWithLineBreaks ? 'li' : 'div'); ?>
|
|
|
|
<?php if($itemIsCopyable): ?>
|
|
x-on:click="
|
|
window.navigator.clipboard.writeText(<?php echo \Illuminate\Support\Js::from($copyableState)->toHtml() ?>)
|
|
$tooltip(<?php echo \Illuminate\Support\Js::from($copyMessage)->toHtml() ?>, {
|
|
theme: $store.theme,
|
|
timeout: <?php echo \Illuminate\Support\Js::from($copyMessageDuration)->toHtml() ?>,
|
|
})
|
|
"
|
|
<?php endif; ?>
|
|
<?php if($isListWithLineBreaks && ($loop->iteration > $listLimit)): ?>
|
|
x-cloak
|
|
x-show="! isLimited"
|
|
x-transition
|
|
<?php endif; ?>
|
|
class="<?php echo \Illuminate\Support\Arr::toCssClasses([
|
|
'flex' => ! $isBulleted,
|
|
'max-w-max' => ! ($isBulleted || $isBadge),
|
|
'w-max' => $isBadge,
|
|
'cursor-pointer' => $itemIsCopyable,
|
|
match ($color) {
|
|
null => 'text-gray-950 dark:text-white',
|
|
'gray' => 'text-gray-500 dark:text-gray-400',
|
|
default => 'text-custom-600 dark:text-custom-400',
|
|
} => $isBulleted,
|
|
]); ?>"
|
|
style="<?php echo \Illuminate\Support\Arr::toCssStyles([
|
|
\Filament\Support\get_color_css_variables(
|
|
$color,
|
|
shades: [400, 600],
|
|
alias: 'infolists::components.text-entry.item.container',
|
|
) => $isBulleted && (! in_array($color, [null, 'gray'])),
|
|
]) ?>"
|
|
>
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($isBadge): ?>
|
|
<?php if (isset($component)) { $__componentOriginal986dce9114ddce94a270ab00ce6c273d = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal986dce9114ddce94a270ab00ce6c273d = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament::components.badge','data' => ['color' => $color,'icon' => $icon,'iconPosition' => $iconPosition]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('filament::badge'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['color' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($color),'icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'icon-position' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconPosition)]); ?>
|
|
<?php echo e($formattedState); ?>
|
|
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal986dce9114ddce94a270ab00ce6c273d)): ?>
|
|
<?php $attributes = $__attributesOriginal986dce9114ddce94a270ab00ce6c273d; ?>
|
|
<?php unset($__attributesOriginal986dce9114ddce94a270ab00ce6c273d); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal986dce9114ddce94a270ab00ce6c273d)): ?>
|
|
<?php $component = $__componentOriginal986dce9114ddce94a270ab00ce6c273d; ?>
|
|
<?php unset($__componentOriginal986dce9114ddce94a270ab00ce6c273d); ?>
|
|
<?php endif; ?>
|
|
<?php else: ?>
|
|
<div
|
|
class="<?php echo \Illuminate\Support\Arr::toCssClasses([
|
|
'fi-in-text-item inline-flex items-center gap-1.5',
|
|
'group/item' => $url,
|
|
match ($color) {
|
|
null, 'gray' => null,
|
|
default => 'fi-color-custom',
|
|
},
|
|
is_string($color) ? "fi-color-{$color}" : null,
|
|
]); ?>"
|
|
>
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($icon && in_array($iconPosition, [IconPosition::Before, 'before'])): ?>
|
|
<?php if (isset($component)) { $__componentOriginalbfc641e0710ce04e5fe02876ffc6f950 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament::components.icon','data' => ['icon' => $icon,'class' => $iconClasses,'style' => $iconStyles]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('filament::icon'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconClasses),'style' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconStyles)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950)): ?>
|
|
<?php $attributes = $__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950; ?>
|
|
<?php unset($__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginalbfc641e0710ce04e5fe02876ffc6f950)): ?>
|
|
<?php $component = $__componentOriginalbfc641e0710ce04e5fe02876ffc6f950; ?>
|
|
<?php unset($__componentOriginalbfc641e0710ce04e5fe02876ffc6f950); ?>
|
|
<?php endif; ?>
|
|
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
|
|
<div
|
|
class="<?php echo \Illuminate\Support\Arr::toCssClasses([
|
|
'group-hover/item:underline group-focus-visible/item:underline' => $url,
|
|
$proseClasses => $isProse || $isMarkdown,
|
|
'line-clamp-[--line-clamp]' => $lineClamp,
|
|
match ($size) {
|
|
TextEntrySize::ExtraSmall, 'xs' => 'text-xs',
|
|
TextEntrySize::Small, 'sm', null => 'text-sm leading-6',
|
|
TextEntrySize::Medium, 'base', 'md' => 'text-base',
|
|
TextEntrySize::Large, 'lg' => 'text-lg',
|
|
default => $size,
|
|
},
|
|
match ($color) {
|
|
null => 'text-gray-950 dark:text-white',
|
|
'gray' => 'text-gray-500 dark:text-gray-400',
|
|
default => 'text-custom-600 dark:text-custom-400',
|
|
},
|
|
match ($weight) {
|
|
FontWeight::Thin, 'thin' => 'font-thin',
|
|
FontWeight::ExtraLight, 'extralight' => 'font-extralight',
|
|
FontWeight::Light, 'light' => 'font-light',
|
|
FontWeight::Medium, 'medium' => 'font-medium',
|
|
FontWeight::SemiBold, 'semibold' => 'font-semibold',
|
|
FontWeight::Bold, 'bold' => 'font-bold',
|
|
FontWeight::ExtraBold, 'extrabold' => 'font-extrabold',
|
|
FontWeight::Black, 'black' => 'font-black',
|
|
default => $weight,
|
|
},
|
|
match ($fontFamily) {
|
|
FontFamily::Sans, 'sans' => 'font-sans',
|
|
FontFamily::Serif, 'serif' => 'font-serif',
|
|
FontFamily::Mono, 'mono' => 'font-mono',
|
|
default => $fontFamily,
|
|
},
|
|
]); ?>"
|
|
style="<?php echo \Illuminate\Support\Arr::toCssStyles([
|
|
\Filament\Support\get_color_css_variables(
|
|
$color,
|
|
shades: [400, 600],
|
|
alias: 'infolists::components.text-entry.item.label',
|
|
) => ! in_array($color, [null, 'gray']),
|
|
"--line-clamp: {$lineClamp}" => $lineClamp,
|
|
]) ?>"
|
|
>
|
|
<?php echo e($formattedState); ?>
|
|
|
|
</div>
|
|
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($icon && in_array($iconPosition, [IconPosition::After, 'after'])): ?>
|
|
<?php if (isset($component)) { $__componentOriginalbfc641e0710ce04e5fe02876ffc6f950 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament::components.icon','data' => ['icon' => $icon,'class' => $iconClasses,'style' => $iconStyles]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('filament::icon'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['icon' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($icon),'class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconClasses),'style' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($iconStyles)]); ?>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950)): ?>
|
|
<?php $attributes = $__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950; ?>
|
|
<?php unset($__attributesOriginalbfc641e0710ce04e5fe02876ffc6f950); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginalbfc641e0710ce04e5fe02876ffc6f950)): ?>
|
|
<?php $component = $__componentOriginalbfc641e0710ce04e5fe02876ffc6f950; ?>
|
|
<?php unset($__componentOriginalbfc641e0710ce04e5fe02876ffc6f950); ?>
|
|
<?php endif; ?>
|
|
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
</div>
|
|
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
</<?php echo e($isListWithLineBreaks ? 'li' : 'div'); ?>>
|
|
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($limitedArrayStateCount ?? 0): ?>
|
|
<<?php echo e($isListWithLineBreaks ? 'li' : 'div'); ?>>
|
|
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if($isLimitedListExpandable): ?>
|
|
<?php if (isset($component)) { $__componentOriginal549c94d872270b69c72bdf48cb183bc9 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal549c94d872270b69c72bdf48cb183bc9 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament::components.link','data' => ['color' => 'gray','tag' => 'button','xOn:click.prevent' => 'isLimited = false','xShow' => 'isLimited']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('filament::link'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['color' => 'gray','tag' => 'button','x-on:click.prevent' => 'isLimited = false','x-show' => 'isLimited']); ?>
|
|
<?php echo e(trans_choice('filament-infolists::components.entries.text.actions.expand_list', $limitedArrayStateCount)); ?>
|
|
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal549c94d872270b69c72bdf48cb183bc9)): ?>
|
|
<?php $attributes = $__attributesOriginal549c94d872270b69c72bdf48cb183bc9; ?>
|
|
<?php unset($__attributesOriginal549c94d872270b69c72bdf48cb183bc9); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal549c94d872270b69c72bdf48cb183bc9)): ?>
|
|
<?php $component = $__componentOriginal549c94d872270b69c72bdf48cb183bc9; ?>
|
|
<?php unset($__componentOriginal549c94d872270b69c72bdf48cb183bc9); ?>
|
|
<?php endif; ?>
|
|
|
|
<?php if (isset($component)) { $__componentOriginal549c94d872270b69c72bdf48cb183bc9 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginal549c94d872270b69c72bdf48cb183bc9 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament::components.link','data' => ['color' => 'gray','tag' => 'button','xCloak' => true,'xOn:click.prevent' => 'isLimited = true','xShow' => '! isLimited']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('filament::link'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes(['color' => 'gray','tag' => 'button','x-cloak' => true,'x-on:click.prevent' => 'isLimited = true','x-show' => '! isLimited']); ?>
|
|
<?php echo e(trans_choice('filament-infolists::components.entries.text.actions.collapse_list', $limitedArrayStateCount)); ?>
|
|
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal549c94d872270b69c72bdf48cb183bc9)): ?>
|
|
<?php $attributes = $__attributesOriginal549c94d872270b69c72bdf48cb183bc9; ?>
|
|
<?php unset($__attributesOriginal549c94d872270b69c72bdf48cb183bc9); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal549c94d872270b69c72bdf48cb183bc9)): ?>
|
|
<?php $component = $__componentOriginal549c94d872270b69c72bdf48cb183bc9; ?>
|
|
<?php unset($__componentOriginal549c94d872270b69c72bdf48cb183bc9); ?>
|
|
<?php endif; ?>
|
|
<?php else: ?>
|
|
<span
|
|
class="text-sm text-gray-500 dark:text-gray-400"
|
|
>
|
|
<?php echo e(trans_choice('filament-infolists::components.entries.text.more_list_items', $limitedArrayStateCount)); ?>
|
|
|
|
</span>
|
|
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
</<?php echo e($isListWithLineBreaks ? 'li' : 'div'); ?>>
|
|
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
</<?php echo e($isListWithLineBreaks ? 'ul' : 'div'); ?>>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal1226b05f0d92df8a1a59756322a79fc3)): ?>
|
|
<?php $attributes = $__attributesOriginal1226b05f0d92df8a1a59756322a79fc3; ?>
|
|
<?php unset($__attributesOriginal1226b05f0d92df8a1a59756322a79fc3); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal1226b05f0d92df8a1a59756322a79fc3)): ?>
|
|
<?php $component = $__componentOriginal1226b05f0d92df8a1a59756322a79fc3; ?>
|
|
<?php unset($__componentOriginal1226b05f0d92df8a1a59756322a79fc3); ?>
|
|
<?php endif; ?>
|
|
<?php elseif(($placeholder = $getPlaceholder()) !== null): ?>
|
|
<?php if (isset($component)) { $__componentOriginale647119d200eac5fcc6d6ed603b86297 = $component; } ?>
|
|
<?php if (isset($attributes)) { $__attributesOriginale647119d200eac5fcc6d6ed603b86297 = $attributes; } ?>
|
|
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament-infolists::components.entries.placeholder','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
|
|
<?php $component->withName('filament-infolists::entries.placeholder'); ?>
|
|
<?php if ($component->shouldRender()): ?>
|
|
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
|
|
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
|
|
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
|
|
<?php endif; ?>
|
|
<?php $component->withAttributes([]); ?>
|
|
<?php echo e($placeholder); ?>
|
|
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginale647119d200eac5fcc6d6ed603b86297)): ?>
|
|
<?php $attributes = $__attributesOriginale647119d200eac5fcc6d6ed603b86297; ?>
|
|
<?php unset($__attributesOriginale647119d200eac5fcc6d6ed603b86297); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginale647119d200eac5fcc6d6ed603b86297)): ?>
|
|
<?php $component = $__componentOriginale647119d200eac5fcc6d6ed603b86297; ?>
|
|
<?php unset($__componentOriginale647119d200eac5fcc6d6ed603b86297); ?>
|
|
<?php endif; ?>
|
|
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
|
</div>
|
|
<?php echo $__env->renderComponent(); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__attributesOriginal511d4862ff04963c3c16115c05a86a9d)): ?>
|
|
<?php $attributes = $__attributesOriginal511d4862ff04963c3c16115c05a86a9d; ?>
|
|
<?php unset($__attributesOriginal511d4862ff04963c3c16115c05a86a9d); ?>
|
|
<?php endif; ?>
|
|
<?php if (isset($__componentOriginal511d4862ff04963c3c16115c05a86a9d)): ?>
|
|
<?php $component = $__componentOriginal511d4862ff04963c3c16115c05a86a9d; ?>
|
|
<?php unset($__componentOriginal511d4862ff04963c3c16115c05a86a9d); ?>
|
|
<?php endif; ?>
|
|
<?php /**PATH C:\Users\Owner\Virtnet.bond\vendor\filament\infolists\resources\views\components\text-entry.blade.php ENDPATH**/ ?>
|