OwlCyberSecurity - MANAGER
Edit File: d2ff3211f053407cc8a2f55bec79cad9.php
<?php use Filament\Support\Facades\FilamentView; $hasInlineLabel = $hasInlineLabel(); $isConcealed = $isConcealed(); $isDisabled = $isDisabled(); $rows = $getRows(); $shouldAutosize = $shouldAutosize(); $statePath = $getStatePath(); $initialHeight = (($rows ?? 2) * 1.5) + 0.75; ?> <?php if (isset($component)) { $__componentOriginal511d4862ff04963c3c16115c05a86a9d = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal511d4862ff04963c3c16115c05a86a9d = $attributes; } ?> <?php $component = Illuminate\View\DynamicComponent::resolve(['component' => $getFieldWrapperView()] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?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 && $constructor = (new ReflectionClass(Illuminate\View\DynamicComponent::class))->getConstructor()): ?> <?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?> <?php endif; ?> <?php $component->withAttributes(['field' => $field,'has-inline-label' => $hasInlineLabel]); ?> <?php $__env->slot('label', null, ['class' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(\Illuminate\Support\Arr::toCssClasses([ 'sm:pt-1.5' => $hasInlineLabel, ]))]); ?> <?php echo e($getLabel()); ?> <?php $__env->endSlot(); ?> <?php if (isset($component)) { $__componentOriginal505efd9768415fdb4543e8c564dad437 = $component; } ?> <?php if (isset($attributes)) { $__attributesOriginal505efd9768415fdb4543e8c564dad437 = $attributes; } ?> <?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'filament::components.input.wrapper','data' => ['disabled' => $isDisabled,'valid' => ! $errors->has($statePath),'attributes' => \Filament\Support\prepare_inherited_attributes($getExtraAttributeBag()) ->class(['fi-fo-textarea overflow-hidden']) ]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> <?php $component->withName('filament::input.wrapper'); ?> <?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(['disabled' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($isDisabled),'valid' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(! $errors->has($statePath)),'attributes' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute( \Filament\Support\prepare_inherited_attributes($getExtraAttributeBag()) ->class(['fi-fo-textarea overflow-hidden']) )]); ?> <div wire:ignore.self style="height: '<?php echo e($initialHeight . 'rem'); ?>'"> <textarea x-ignore <?php if(FilamentView::hasSpaMode()): ?> ax-load="visible || event (ax-modal-opened)" <?php else: ?> ax-load <?php endif; ?> ax-load-src="<?php echo e(\Filament\Support\Facades\FilamentAsset::getAlpineComponentSrc('textarea', 'filament/forms')); ?>" x-data="textareaFormComponent({ initialHeight: <?php echo \Illuminate\Support\Js::from($initialHeight)->toHtml() ?>, shouldAutosize: <?php echo \Illuminate\Support\Js::from($shouldAutosize)->toHtml() ?>, state: $wire.$entangle('<?php echo e($statePath); ?>'), })" <?php if($shouldAutosize): ?> x-intersect.once="resize()" x-on:resize.window="resize()" <?php endif; ?> x-model="state" <?php echo e($getExtraAlpineAttributeBag()); ?> <?php echo e($getExtraInputAttributeBag() ->merge([ 'autocomplete' => $getAutocomplete(), 'autofocus' => $isAutofocused(), 'cols' => $getCols(), 'disabled' => $isDisabled, 'id' => $getId(), 'maxlength' => (! $isConcealed) ? $getMaxLength() : null, 'minlength' => (! $isConcealed) ? $getMinLength() : null, 'placeholder' => $getPlaceholder(), 'readonly' => $isReadOnly(), 'required' => $isRequired() && (! $isConcealed), 'rows' => $rows, $applyStateBindingModifiers('wire:model') => $statePath, ], escape: false) ->class([ 'block h-full w-full border-none bg-transparent px-3 py-1.5 text-base text-gray-950 placeholder:text-gray-400 focus:ring-0 disabled:text-gray-500 disabled:[-webkit-text-fill-color:theme(colors.gray.500)] disabled:placeholder:[-webkit-text-fill-color:theme(colors.gray.400)] dark:text-white dark:placeholder:text-gray-500 dark:disabled:text-gray-400 dark:disabled:[-webkit-text-fill-color:theme(colors.gray.400)] dark:disabled:placeholder:[-webkit-text-fill-color:theme(colors.gray.500)] sm:text-sm sm:leading-6', 'resize-none' => $shouldAutosize, ])); ?> ></textarea> </div> <?php echo $__env->renderComponent(); ?> <?php endif; ?> <?php if (isset($__attributesOriginal505efd9768415fdb4543e8c564dad437)): ?> <?php $attributes = $__attributesOriginal505efd9768415fdb4543e8c564dad437; ?> <?php unset($__attributesOriginal505efd9768415fdb4543e8c564dad437); ?> <?php endif; ?> <?php if (isset($__componentOriginal505efd9768415fdb4543e8c564dad437)): ?> <?php $component = $__componentOriginal505efd9768415fdb4543e8c564dad437; ?> <?php unset($__componentOriginal505efd9768415fdb4543e8c564dad437); ?> <?php endif; ?> <?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 /var/www/back/vendor/filament/forms/src/../resources/views/components/textarea.blade.php ENDPATH**/ ?>