@php /** @var \Botble\DataSynchronize\Importer\Importer $importer */ $acceptedFiles = Arr::join(array_map(fn ($item) => $item, $importer->getAcceptedFiles()), ','); @endphp {!! apply_filters('data_synchronize_import_page_before', null, $importer) !!} @if($importer->getHeading()) {{ $importer->getHeading() }} @endif @if($importer->getExportUrl()) {!! BaseHelper::clean(trans( 'packages/data-synchronize::data-synchronize.import.form.quick_export_message', [ 'label' => $importer->getLabel(), 'export_csv_link' => Html::tag('button', trans('packages/data-synchronize::data-synchronize.import.form.quick_export_button', ['format' => 'CSV']), [ 'class' => 'data-synchronize-quick-export-button', 'data-bb-toggle' => 'quick-export', 'data-value' => 'csv', ]), 'export_excel_link' => Html::tag('button', trans('packages/data-synchronize::data-synchronize.import.form.quick_export_button', ['format' => 'Excel']), [ 'class' => 'data-synchronize-quick-export-button', 'data-bb-toggle' => 'quick-export', 'data-value' => 'xlsx', ]), ] )) !!} @endif {!! apply_filters('data_synchronize_import_form_before', null, $importer) !!}
{{ trans('packages/data-synchronize::data-synchronize.import.form.dropzone_message') }}
{{ trans('packages/data-synchronize::data-synchronize.import.form.allowed_extensions', ['extensions' => Arr::join($importer->getFileExtensions(), ', ')]) }}
{{ trans('packages/data-synchronize::data-synchronize.import.form.chunk_size') }} {{ trans('packages/data-synchronize::data-synchronize.import.form.chunk_size_helper') }}
{!! apply_filters('data_synchronize_import_form_after', null, $importer) !!}
{{ trans('packages/data-synchronize::data-synchronize.import.form.import_button') }}
{!! apply_filters('data_synchronize_import_page_after', null, $importer) !!} @if($importer->getExportUrl()) @endif @if ($importer->getExamples()) @include('packages/data-synchronize::partials.example') @endif @includeWhen($importer->showRulesCheatSheet(), 'packages/data-synchronize::partials.rules')

{!! apply_filters('data_synchronize_import_page_footer', null, $importer) !!}