$getFieldWrapperView()] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('dynamic-component'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['field' => $field,'label-sr-only' => $isLabelHidden()]); ?>
toHtml() ?>, minSize: toHtml() ?>, removeUploadedFileUsing: async (fileKey) => { return await $wire.removeFormUploadedFile(toHtml() ?>, fileKey) }, removeUploadedFileButtonPosition: toHtml() ?>, reorderUploadedFilesUsing: async (files) => { return await $wire.reorderFormUploadedFiles(toHtml() ?>, files) }, shouldAppendFiles: toHtml() ?>, shouldOrientImageFromExif: toHtml() ?>, shouldTransformImage: toHtml() ?>, state: $wire., uploadButtonPosition: toHtml() ?>, uploadProgressIndicatorPosition: toHtml() ?>, uploadUsing: (fileKey, file, success, error, progress) => { $wire.upload( `.${fileKey}`, file, () => { success(fileKey) }, error, (progressEvent) => { progress(true, progressEvent.detail.progress, 100) }, ) }, })" wire:ignore x-ignore merge([ 'id' => $getId(), ], escape: false) ->merge($getExtraAttributes(), escape: false) ->merge($getExtraAlpineAttributes(), escape: false) ->class([ 'fi-fo-file-upload flex', match ($getAlignment()) { Alignment::Center, 'center' => 'justify-center', Alignment::End, 'end' => 'justify-end', Alignment::Left, 'left' => 'justify-left', Alignment::Right, 'right' => 'justify-right', Alignment::Start, 'start', null => 'justify-start', }, ])); ?> >
merge([ 'disabled' => $isDisabled, 'multiple' => $isMultiple(), 'type' => 'file', ], escape: false)); ?> />
__('filament-forms::components.file_upload.editor.fields.x_position.label'), 'ref' => 'xPositionInput', 'unit' => __('filament-forms::components.file_upload.editor.fields.x_position.unit'), 'alpineSaveHandler' => 'editor.setData({...editor.getData(true), x: +$el.value})', ], [ 'label' => __('filament-forms::components.file_upload.editor.fields.y_position.label'), 'ref' => 'yPositionInput', 'unit' => __('filament-forms::components.file_upload.editor.fields.y_position.unit'), 'alpineSaveHandler' => 'editor.setData({...editor.getData(true), y: +$el.value})', ], [ 'label' => __('filament-forms::components.file_upload.editor.fields.width.label'), 'ref' => 'widthInput', 'unit' => __('filament-forms::components.file_upload.editor.fields.width.unit'), 'alpineSaveHandler' => 'editor.setData({...editor.getData(true), width: +$el.value})', ], [ 'label' => __('filament-forms::components.file_upload.editor.fields.height.label'), 'ref' => 'heightInput', 'unit' => __('filament-forms::components.file_upload.editor.fields.height.unit'), 'alpineSaveHandler' => 'editor.setData({...editor.getData(true), height: +$el.value})', ], [ 'label' => __('filament-forms::components.file_upload.editor.fields.rotation.label'), 'ref' => 'rotationInput', 'unit' => __('filament-forms::components.file_upload.editor.fields.rotation.unit'), 'alpineSaveHandler' => 'editor.rotateTo(+$el.value)', ], ]; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $input): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
addLoop($__currentLoopData); foreach($__currentLoopData as $groupedActions): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 'filament::components.button.group','data' => ['class' => 'w-full']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament::button.group'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['class' => 'w-full']); ?> addLoop($__currentLoopData); foreach($__currentLoopData as $action): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 'filament::components.button.index','data' => ['xTooltip' => '{ content: ' . \Illuminate\Support\Js::from($action['label']) . ', theme: $store.theme }','xOn:click.stop.prevent' => ''.e($action['alpineClickHandler']).'','color' => 'gray','grouped' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament::button'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['x-tooltip' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('{ content: ' . \Illuminate\Support\Js::from($action['label']) . ', theme: $store.theme }'),'x-on:click.stop.prevent' => ''.e($action['alpineClickHandler']).'','color' => 'gray','grouped' => true]); ?> renderComponent(); ?> popLoop(); $loop = $__env->getLastLoop(); ?> renderComponent(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
chunk(5); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ratiosChunk): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 'filament::components.button.group','data' => ['class' => 'w-full']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament::button.group'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['class' => 'w-full']); ?> addLoop($__currentLoopData); foreach($__currentLoopData as $label => $ratio): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 'filament::components.button.index','data' => ['xTooltip' => '{ content: ' . \Illuminate\Support\Js::from(__('filament-forms::components.file_upload.editor.actions.set_aspect_ratio.label', ['ratio' => $label])) . ', theme: $store.theme }','xOn:click.stop.prevent' => 'currentRatio = \''.e($label).'\'; editor.setAspectRatio('.e($ratio).')','color' => 'gray','xBind:class' => '{\'!bg-gray-50 dark:!bg-gray-700\': currentRatio === \''.e($label).'\'}','grouped' => true]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament::button'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['x-tooltip' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute('{ content: ' . \Illuminate\Support\Js::from(__('filament-forms::components.file_upload.editor.actions.set_aspect_ratio.label', ['ratio' => $label])) . ', theme: $store.theme }'),'x-on:click.stop.prevent' => 'currentRatio = \''.e($label).'\'; editor.setAspectRatio('.e($ratio).')','color' => 'gray','x-bind:class' => '{\'!bg-gray-50 dark:!bg-gray-700\': currentRatio === \''.e($label).'\'}','grouped' => true]); ?> renderComponent(); ?> popLoop(); $loop = $__env->getLastLoop(); ?> renderComponent(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>
'filament::components.button.index','data' => ['color' => 'gray','xOn:click.prevent' => 'pond.imageEditEditor.oncancel']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament::button'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['color' => 'gray','x-on:click.prevent' => 'pond.imageEditEditor.oncancel']); ?> renderComponent(); ?> 'filament::components.button.index','data' => ['color' => 'warning','xOn:click.stop.prevent' => 'editor.reset()','class' => 'ml-auto']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament::button'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['color' => 'warning','x-on:click.stop.prevent' => 'editor.reset()','class' => 'ml-auto']); ?> renderComponent(); ?> 'filament::components.button.index','data' => ['color' => 'success','xOn:click.prevent' => 'saveEditor']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('filament::button'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['color' => 'success','x-on:click.prevent' => 'saveEditor']); ?> renderComponent(); ?>
renderComponent(); ?>