From c2f0014a8ecb521a807fb2b4b4e39837fb598073 Mon Sep 17 00:00:00 2001 From: fsociety Date: Sun, 29 Sep 2024 18:21:09 +0200 Subject: [PATCH] add members table --- app/Livewire/EinundzwanzigPlebTable.php | 166 ++++++++++++++++++ app/Livewire/Forms/ApplicationForm.php | 12 ++ composer.json | 5 +- config/app.php | 4 +- ...on_fields_to_einundzwanzig_plebs_table.php | 27 +++ .../livewire-powergrid/ar/datatable.php | 76 ++++++++ .../livewire-powergrid/ca/datatable.php | 75 ++++++++ .../livewire-powergrid/cs/datatable.php | 76 ++++++++ .../livewire-powergrid/de/datatable.php | 75 ++++++++ .../livewire-powergrid/en/datatable.php | 75 ++++++++ .../livewire-powergrid/es/datatable.php | 75 ++++++++ .../livewire-powergrid/fa/datatable.php | 75 ++++++++ .../livewire-powergrid/fr/datatable.php | 76 ++++++++ .../livewire-powergrid/id/datatable.php | 75 ++++++++ .../livewire-powergrid/it/datatable.php | 75 ++++++++ .../livewire-powergrid/ms_MY/datatable.php | 75 ++++++++ .../livewire-powergrid/nl/datatable.php | 75 ++++++++ .../livewire-powergrid/pl/datatable.php | 75 ++++++++ .../livewire-powergrid/pt/datatable.php | 75 ++++++++ .../livewire-powergrid/pt_BR/datatable.php | 75 ++++++++ .../livewire-powergrid/ru/datatable.php | 76 ++++++++ .../livewire-powergrid/tr/datatable.php | 75 ++++++++ .../livewire-powergrid/uk/datatable.php | 76 ++++++++ .../livewire-powergrid/yr/datatable.php | 75 ++++++++ resources/views/components/detail.blade.php | 14 ++ .../layouts/navigation/association.blade.php | 8 + .../components/layouts/sidebar.blade.php | 73 -------- .../views/livewire/layout/sidebar.blade.php | 2 +- .../election/[Election:year].blade.php | 4 +- .../pages/association/members/admin.blade.php | 33 ++++ .../views/pages/association/profile.blade.php | 141 ++++++++++++--- 31 files changed, 1815 insertions(+), 104 deletions(-) create mode 100644 app/Livewire/EinundzwanzigPlebTable.php create mode 100644 app/Livewire/Forms/ApplicationForm.php create mode 100644 database/migrations/2024_09_29_152902_add_application_fields_to_einundzwanzig_plebs_table.php create mode 100644 lang/vendor/livewire-powergrid/ar/datatable.php create mode 100644 lang/vendor/livewire-powergrid/ca/datatable.php create mode 100644 lang/vendor/livewire-powergrid/cs/datatable.php create mode 100644 lang/vendor/livewire-powergrid/de/datatable.php create mode 100644 lang/vendor/livewire-powergrid/en/datatable.php create mode 100644 lang/vendor/livewire-powergrid/es/datatable.php create mode 100644 lang/vendor/livewire-powergrid/fa/datatable.php create mode 100644 lang/vendor/livewire-powergrid/fr/datatable.php create mode 100644 lang/vendor/livewire-powergrid/id/datatable.php create mode 100644 lang/vendor/livewire-powergrid/it/datatable.php create mode 100644 lang/vendor/livewire-powergrid/ms_MY/datatable.php create mode 100644 lang/vendor/livewire-powergrid/nl/datatable.php create mode 100644 lang/vendor/livewire-powergrid/pl/datatable.php create mode 100644 lang/vendor/livewire-powergrid/pt/datatable.php create mode 100644 lang/vendor/livewire-powergrid/pt_BR/datatable.php create mode 100644 lang/vendor/livewire-powergrid/ru/datatable.php create mode 100644 lang/vendor/livewire-powergrid/tr/datatable.php create mode 100644 lang/vendor/livewire-powergrid/uk/datatable.php create mode 100644 lang/vendor/livewire-powergrid/yr/datatable.php create mode 100644 resources/views/components/detail.blade.php delete mode 100644 resources/views/components/layouts/sidebar.blade.php create mode 100644 resources/views/pages/association/members/admin.blade.php diff --git a/app/Livewire/EinundzwanzigPlebTable.php b/app/Livewire/EinundzwanzigPlebTable.php new file mode 100644 index 0000000..472bf9d --- /dev/null +++ b/app/Livewire/EinundzwanzigPlebTable.php @@ -0,0 +1,166 @@ +striped() + ->type(Exportable::TYPE_XLS, Exportable::TYPE_CSV), + Header::make()->showSearchInput(), + Footer::make() + ->showPerPage(25) + ->showRecordCount(), + Detail::make() + ->view('components.detail') + ->showCollapseIcon() + ->params([]), + ]; + } + + public function datasource(): Builder + { + return EinundzwanzigPleb::query() + ->with([ + 'profile', + ]) + ->where('association_status', '>', 1) + ->orWhereNotNull('application_for'); + } + + public function fields(): PowerGridFields + { + return PowerGrid::fields() + ->add('pubkey') + ->add( + 'avatar', + fn($model, + ) + => '', + ) + ->add( + 'for', + fn($model, + ) + => $model->application_for ? '
' . AssociationStatus::from( + $model->application_for, + )->label() . '
' : '', + ) + ->add( + 'npub', + fn(EinundzwanzigPleb $model) + => 'Nostr Profile', + ) + ->add( + 'association_status_formatted', + fn(EinundzwanzigPleb $model) + => $model->association_status->label(), + ) + ->add( + 'name_lower', + fn(EinundzwanzigPleb $model) + => strtolower( + e($model->profile?->name ?? $model->profile?->display_name ?? ''), + ), + ); + } + + public function columns(): array + { + return [ + Column::make('Avatar', 'avatar'), + + Column::make('Npub', 'npub') + ->searchable() + ->sortable(), + + Column::make('Name', 'name_lower') + ->searchable() + ->sortable(), + + Column::make('Aktueller Status', 'association_status_formatted', 'association_status') + ->searchable() + ->sortable(), + + Column::make('Bewirbt sich für', 'for', 'application_for') + ->searchable() + ->sortable(), + + Column::action('Action'), + ]; + } + + public function filters(): array + { + return [ + Filter::inputText('name'), + Filter::datepicker('created_at_formatted', 'created_at'), + ]; + } + + #[\Livewire\Attributes\On('edit')] + public function edit($rowId): void + { + $pleb = EinundzwanzigPleb::query()->findOrFail($rowId); + $for = $pleb->application_for; + $pleb->association_status = AssociationStatus::from($for); + $pleb->application_for = null; + $pleb->application_text = null; + $pleb->save(); + + $this->fillData(); + } + + public function actions(EinundzwanzigPleb $row): array + { + return [ + Button::add('edit') + ->slot('Approve') + ->id() + ->class( + 'btn bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700/60 hover:border-gray-300 dark:hover:border-gray-600 text-green-500', + ) + ->dispatch('edit', ['rowId' => $row->id]), + ]; + } + + public function actionRules(EinundzwanzigPleb $row): array + { + return [ + // Hide button edit for ID 1 + Rule::button('edit') + ->when(fn($row) => false) + ->hide(), + ]; + } + +} diff --git a/app/Livewire/Forms/ApplicationForm.php b/app/Livewire/Forms/ApplicationForm.php new file mode 100644 index 0000000..1621818 --- /dev/null +++ b/app/Livewire/Forms/ApplicationForm.php @@ -0,0 +1,12 @@ + env('APP_LOCALE', 'en'), + 'locale' => env('APP_LOCALE', 'de'), 'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'), - 'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'), + 'faker_locale' => env('APP_FAKER_LOCALE', 'de'), /* |-------------------------------------------------------------------------- diff --git a/database/migrations/2024_09_29_152902_add_application_fields_to_einundzwanzig_plebs_table.php b/database/migrations/2024_09_29_152902_add_application_fields_to_einundzwanzig_plebs_table.php new file mode 100644 index 0000000..573ee99 --- /dev/null +++ b/database/migrations/2024_09_29_152902_add_application_fields_to_einundzwanzig_plebs_table.php @@ -0,0 +1,27 @@ +unsignedInteger('application_for')->nullable(); + $table->text('application_text')->nullable(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('einundzwanzig_plebs', function (Blueprint $table) { + }); + } +}; diff --git a/lang/vendor/livewire-powergrid/ar/datatable.php b/lang/vendor/livewire-powergrid/ar/datatable.php new file mode 100644 index 0000000..469f669 --- /dev/null +++ b/lang/vendor/livewire-powergrid/ar/datatable.php @@ -0,0 +1,76 @@ + [ + 'filter' => 'تصفية', + 'clear_all_filters' => 'مسح الكل', + ], + 'labels' => [ + 'action' => 'العمليات', + 'results_per_page' => 'عدد السجلات في الصفحة', + 'clear_filter' => 'مسح الفلاتر', + 'no_data' => 'لا يوجد اي سجلات', + 'all' => 'الكل', + 'selected' => 'محدد', + 'filtered' => 'مصفى', + ], + 'placeholders' => [ + 'search' => 'البحث...', + 'select' => 'اختر فترة', + ], + 'pagination' => [ + 'showing' => 'يتم عرض', + 'to' => 'الى', + 'of' => 'من', + 'results' => 'النتائج', + 'all' => 'الكل', + ], + 'multi_select' => [ + 'select' => 'اختيار', + 'all' => 'الكل', + ], + 'select' => [ + 'select' => 'اختيار', + 'all' => 'الكل', + ], + 'boolean_filter' => [ + 'all' => 'الكل', + ], + 'input_text_options' => [ + 'is' => 'يساوي', + 'is_not' => 'لا يساوي', + 'contains' => 'يحتوي', + 'contains_not' => 'لا يحتوي', + 'starts_with' => 'يبدأ ب', + 'ends_with' => 'ينتهي ب', + 'is_empty' => 'فارغ', + 'is_not_empty' => 'غير فارغ', + 'is_null' => 'غير مهيئ', + 'is_not_null' => 'ليس غير مهيئ', + 'is_blank' => 'فراغ', + 'is_not_blank' => 'ليس فراغ', + + ], + 'export' => [ + 'exporting' => 'الرجاء الانتظار!', + 'completed' => 'تم الانتهاء من التصدير، الملف جاهز للتحميل', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'عرض جميع السجلات بما فيها المحذوفة', + 'message_only_trashed' => 'عرض فقط السجلات المحذوفة', + 'without_trashed' => 'بدون المحذوف', + 'with_trashed' => 'مع المحذوف', + 'only_trashed' => 'فقط محذوف', + ], + 'multi_sort' => [ + 'message' => 'Multiple sort is active', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/ca/datatable.php b/lang/vendor/livewire-powergrid/ca/datatable.php new file mode 100644 index 0000000..b388f16 --- /dev/null +++ b/lang/vendor/livewire-powergrid/ca/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Filtre', + 'clear_all_filters' => 'Clear all', + ], + 'labels' => [ + 'action' => 'Accions', + 'results_per_page' => 'Registres per pàgina', + 'clear_filter' => 'Esborra el filtre', + 'no_data' => 'No s\'han trobat registres.', + 'all' => 'Tots', + 'selected' => 'Seleccionat', + 'filtered' => 'Filtrat', + ], + 'placeholders' => [ + 'search' => 'Cerca...', + 'select' => 'Seleccioneu un període', + ], + 'pagination' => [ + 'showing' => 'Mostrant', + 'to' => 'a', + 'of' => 'de', + 'results' => 'Registres', + 'all' => 'Tots', + ], + 'multi_select' => [ + 'select' => 'Seleccioneu', + 'all' => 'Tots', + ], + 'select' => [ + 'select' => 'Seleccioneu', + 'all' => 'Tots', + ], + 'boolean_filter' => [ + 'all' => 'Tots', + ], + 'input_text_options' => [ + 'is' => 'És', + 'is_not' => 'No és', + 'contains' => 'Té contingut', + 'contains_not' => 'No té contingut', + 'starts_with' => 'Comença per', + 'ends_with' => 'Acaba en', + 'is_null' => 'És nul', + 'is_not_null' => 'No és nul', + 'is_blank' => 'És blanc', + 'is_not_blank' => 'No és blanc', + 'is_empty' => 'És omplit', + 'is_not_empty' => 'No és omplit', + ], + 'export' => [ + 'exporting' => 'Espereu, si us plau!', + 'completed' => 'S\'ha completat l\'exportació. Els vostres fitxers estan a punt per descarregar-se', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Displaying all records, including deleted ones.', + 'message_only_trashed' => 'Displaying only deleted records.', + 'without_trashed' => 'Without deleted', + 'with_trashed' => 'With deleted', + 'only_trashed' => 'Only deleted', + ], + 'multi_sort' => [ + 'message' => 'Multiple sort is active', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/cs/datatable.php b/lang/vendor/livewire-powergrid/cs/datatable.php new file mode 100644 index 0000000..68d8021 --- /dev/null +++ b/lang/vendor/livewire-powergrid/cs/datatable.php @@ -0,0 +1,76 @@ + [ + 'filter' => 'Filtrovat', + 'clear_all_filters' => 'Vymazat vše', + ], + 'labels' => [ + 'action' => 'Akce', + 'results_per_page' => 'Záznamy na stránku', + 'clear_filter' => 'Vymazat filtry', + 'no_data' => 'Nebyly nalezeny žádné záznamy', + 'all' => 'Všechny', + 'selected' => 'Vybrané', + 'filtered' => 'Filtrovaný', + ], + 'placeholders' => [ + 'search' => 'Hledat...', + 'select' => 'Vyberte období', + ], + 'pagination' => [ + 'showing' => 'Zobrazeno', + 'to' => 'až', + 'of' => 'z', + 'results' => 'Výsledků', + 'all' => 'Všechny', + ], + 'multi_select' => [ + 'select' => 'Vybrat', + 'all' => 'Všechny', + ], + 'select' => [ + 'select' => 'Vybrat', + 'all' => 'Všechny', + ], + 'boolean_filter' => [ + 'all' => 'Všechny', + ], + 'input_text_options' => [ + 'is' => 'Je', + 'is_not' => 'Není', + 'contains' => 'Obsahuje', + 'contains_not' => 'Neobsahuje', + 'starts_with' => 'Začíná na', + 'ends_with' => 'Končí na', + 'is_empty' => 'Je prázdný', + 'is_not_empty' => 'Není prázdný', + 'is_null' => 'Je nulový', + 'is_not_null' => 'Není nulový', + 'is_blank' => 'Je prázdný', + 'is_not_blank' => 'Není prázdný', + + ], + 'export' => [ + 'exporting' => 'Počkejte prosím!', + 'completed' => 'Export dokončen! Vaše soubory jsou připraveny ke stažení', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Zobrazení všech záznamů, včetně smazaných.', + 'message_only_trashed' => 'Zobrazení pouze smazaných záznamů.', + 'without_trashed' => 'Bez smazaných záznamů', + 'with_trashed' => 'Se smazanými', + 'only_trashed' => 'Pouze smazané', + ], + 'multi_sort' => [ + 'message' => 'Multiple sort is active', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/de/datatable.php b/lang/vendor/livewire-powergrid/de/datatable.php new file mode 100644 index 0000000..c98a5e6 --- /dev/null +++ b/lang/vendor/livewire-powergrid/de/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Aktionen', + 'clear_all_filters' => 'Alle löschen', + ], + 'labels' => [ + 'action' => 'Aktionen', + 'results_per_page' => 'Ergebnisse pro Seite', + 'clear_filter' => 'Filter löschen', + 'no_data' => 'Keine Ergebnisse gefunden', + 'all' => 'Alle', + 'selected' => 'Ausgewählt', + 'filtered' => 'Gefiltert', + ], + 'placeholders' => [ + 'search' => 'Suche', + 'select' => 'wählen Sie einen Zeitraum', + ], + 'pagination' => [ + 'showing' => 'Anzeigen von', + 'to' => 'bis', + 'of' => 'von', + 'results' => 'Ergebnissen', + 'all' => 'Alle', + ], + 'multi_select' => [ + 'select' => 'Bitte wählen', + 'all' => 'Alle', + ], + 'select' => [ + 'select' => 'Bitte wählen', + 'all' => 'Alle', + ], + 'boolean_filter' => [ + 'all' => 'Alle', + ], + 'input_text_options' => [ + 'is' => 'ist genau', + 'is_not' => 'ist nicht genau', + 'contains' => 'enthält', + 'contains_not' => 'enthält nicht', + 'starts_with' => 'beginnt mit', + 'ends_with' => 'endet with', + 'is_null' => 'Null', + 'is_not_null' => 'nicht null ', + 'is_blank' => 'Leer', + 'is_not_blank' => 'nicht leer', + 'is_empty' => 'unausgefüllt', + 'is_not_empty' => 'ausgefüllt', + ], + 'export' => [ + 'exporting' => 'Warten Sie mal!', + 'completed' => 'Export abgeschlossen! Ihre Dateien stehen zum Download bereit', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Alle Datensätze anzeigen, einschließlich gelöschter.', + 'message_only_trashed' => 'Nur gelöschte Datensätze anzeigen.', + 'without_trashed' => 'Ohne gelöschte', + 'with_trashed' => 'Mit gelöschten', + 'only_trashed' => 'Nur gelöschte', + ], + 'multi_sort' => [ + 'message' => 'Multiple Suche ist aktiv', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/en/datatable.php b/lang/vendor/livewire-powergrid/en/datatable.php new file mode 100644 index 0000000..5308f7f --- /dev/null +++ b/lang/vendor/livewire-powergrid/en/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Filter', + 'clear_all_filters' => 'Clear all', + ], + 'labels' => [ + 'action' => 'Actions', + 'results_per_page' => 'Records per page', + 'clear_filter' => 'Clear filter', + 'no_data' => 'No records found', + 'all' => 'All', + 'selected' => 'Selected', + 'filtered' => 'Filtered', + ], + 'placeholders' => [ + 'search' => 'Search...', + 'select' => 'Select a period', + ], + 'pagination' => [ + 'showing' => 'Showing', + 'to' => 'to', + 'of' => 'of', + 'results' => 'Results', + 'all' => 'All', + ], + 'multi_select' => [ + 'select' => 'Select', + 'all' => 'All', + ], + 'select' => [ + 'select' => 'Select', + 'all' => 'All', + ], + 'boolean_filter' => [ + 'all' => 'All', + ], + 'input_text_options' => [ + 'is' => 'Is', + 'is_not' => 'Is not', + 'contains' => 'Contains', + 'contains_not' => 'Does not contain', + 'starts_with' => 'Starts with', + 'ends_with' => 'Ends with', + 'is_empty' => 'Is empty', + 'is_not_empty' => 'Is not empty', + 'is_null' => 'Is null', + 'is_not_null' => 'Is not null', + 'is_blank' => 'Is blank', + 'is_not_blank' => 'Is not blank', + ], + 'export' => [ + 'exporting' => 'Please wait!', + 'completed' => 'Export completed! Your files are ready for download', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Displaying all records, including deleted ones.', + 'message_only_trashed' => 'Displaying only deleted records.', + 'without_trashed' => 'Without deleted', + 'with_trashed' => 'With deleted', + 'only_trashed' => 'Only deleted', + ], + 'multi_sort' => [ + 'message' => 'Multiple sort is active', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/es/datatable.php b/lang/vendor/livewire-powergrid/es/datatable.php new file mode 100644 index 0000000..de40898 --- /dev/null +++ b/lang/vendor/livewire-powergrid/es/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Filtrar', + 'clear_all_filters' => 'Clear all', + ], + 'labels' => [ + 'action' => 'Acción', + 'results_per_page' => 'Registros por página', + 'clear_filter' => 'Borrar el filtro', + 'no_data' => 'No se encontraron registros.', + 'all' => 'Todos', + 'selected' => 'Seleccionado', + 'filtered' => 'Filtrada', + ], + 'placeholders' => [ + 'search' => 'Buscar', + 'select' => 'Seleccione un período', + ], + 'pagination' => [ + 'showing' => 'Mostrando', + 'to' => 'a', + 'of' => 'de', + 'results' => 'registros', + 'all' => 'Todos', + ], + 'multi_select' => [ + 'select' => 'Seleccione', + 'all' => 'Todos', + ], + 'select' => [ + 'select' => 'Seleccione', + 'all' => 'Todos', + ], + 'boolean_filter' => [ + 'all' => 'Todos', + ], + 'input_text_options' => [ + 'is' => 'Es exactamente', + 'is_not' => 'No es exactamente', + 'contains' => 'Contiene', + 'contains_not' => 'No contiene', + 'starts_with' => 'Comienza por', + 'ends_with' => 'Termina en', + 'is_null' => 'És nulo', + 'is_not_null' => 'No és nulo', + 'is_blank' => 'És blanco', + 'is_not_blank' => 'No és blanco', + 'is_empty' => 'Esta relleno', + 'is_not_empty' => 'No está relleno', + ], + 'export' => [ + 'exporting' => '¡Espere por favor!', + 'completed' => '¡Exportación completada! Tus archivos están listos para descargar', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Displaying all records, including deleted ones.', + 'message_only_trashed' => 'Displaying only deleted records.', + 'without_trashed' => 'Without deleted', + 'with_trashed' => 'With deleted', + 'only_trashed' => 'Only deleted', + ], + 'multi_sort' => [ + 'message' => 'Multiple sort is active', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/fa/datatable.php b/lang/vendor/livewire-powergrid/fa/datatable.php new file mode 100644 index 0000000..6b82889 --- /dev/null +++ b/lang/vendor/livewire-powergrid/fa/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'فیلتر', + 'clear_all_filters' => 'حذف همه', + ], + 'labels' => [ + 'action' => 'اقدام ها', + 'results_per_page' => 'آیتم در صفحه', + 'clear_filter' => 'بدون فیلتر', + 'no_data' => 'هیچ رکوردی یافت نشد', + 'all' => 'همه', + 'selected' => 'انتخاب شد', + 'filtered' => 'پالوده', + ], + 'placeholders' => [ + 'search' => 'جستجو...', + 'select' => 'انتخاب یک بازه زمانی', + ], + 'pagination' => [ + 'showing' => 'نمایش', + 'to' => 'تا', + 'of' => 'از', + 'results' => 'نتایج', + 'all' => 'همه', + ], + 'multi_select' => [ + 'select' => 'انتخاب', + 'all' => 'همه', + ], + 'select' => [ + 'select' => 'انتخاب', + 'all' => 'همه', + ], + 'boolean_filter' => [ + 'all' => 'همه', + ], + 'input_text_options' => [ + 'is' => 'برابرباشد', + 'is_not' => 'برابرنباشد', + 'contains' => 'شامل', + 'contains_not' => 'شامل نباشد', + 'starts_with' => 'شروع شود با', + 'ends_with' => 'خاتمه یابد با', + 'is_null' => 'is_null', + 'is_not_null' => 'is_not_null', + 'is_blank' => 'is_blank', + 'is_not_blank' => 'is_not_blank', + 'is_empty' => 'is_empty', + 'is_not_empty' => 'is_not_empty', + ], + 'export' => [ + 'exporting' => 'لطفا صبر کنید!', + 'completed' => 'صادرات به پایان رسید! فایل های شما آماده بارگیری هستند', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'نمایش همه سطرها همراه با حذف شده ها.', + 'message_only_trashed' => 'نمایش حذف شده ها.', + 'without_trashed' => 'بدون حذف شده ها', + 'with_trashed' => 'همراه حذف شده ها', + 'only_trashed' => 'فقط حذف شده ها', + ], + 'multi_sort' => [ + 'message' => 'سطح چند مدله فعال شد', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'آیا از انجام این اقدام اطمینان دارید؟', + ], + 'confirm_prompt' => [ + 'message' => "آیا از انجام این کار اطمینان دارید؟\n\n برای تایید :confirmValue را وارد کنید.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/fr/datatable.php b/lang/vendor/livewire-powergrid/fr/datatable.php new file mode 100644 index 0000000..45d7765 --- /dev/null +++ b/lang/vendor/livewire-powergrid/fr/datatable.php @@ -0,0 +1,76 @@ + [ + 'filter' => 'Filtrer', + 'clear_all_filters' => 'Enlever tous les filtres', + ], + 'labels' => [ + 'action' => 'Actions', + 'results_per_page' => 'Résultats par page', + 'clear_filter' => 'Enlever les Filtres', + 'no_data' => 'Aucune réponse', + 'all' => 'Tous', + 'selected' => 'Sélectionné', + 'filtered' => 'Filtrée', + ], + 'placeholders' => [ + 'search' => 'Recherche...', + 'select' => 'Sélectionner une période', + ], + 'pagination' => [ + 'showing' => 'Résultats', + 'to' => 'à', + 'of' => 'sur', + 'results' => '', + 'all' => 'Tous', + ], + 'multi_select' => [ + 'select' => 'Sélectionner', + 'all' => 'Tous', + ], + 'select' => [ + 'select' => 'Sélectionner', + 'all' => 'Tous', + ], + 'boolean_filter' => [ + 'all' => 'Tous', + ], + 'input_text_options' => [ + 'is' => 'Est', + 'is_not' => 'N\'est pas', + 'contains' => 'Contient', + 'contains_not' => 'Ne contient pas', + 'starts_with' => 'Commence par', + 'ends_with' => 'Termine par', + 'is_empty' => 'Est vide ou nul', + 'is_not_empty' => 'N\'est ni vide ni nul', + 'is_null' => 'Est nul', + 'is_not_null' => 'N\'est pas nul', + 'is_blank' => 'Est vide', + 'is_not_blank' => 'N\'est pas vide', + + ], + 'export' => [ + 'exporting' => 'Veuillez patienter !', + 'completed' => 'Exportation terminée ! Vos fichiers sont téléchargés', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Afficher toutes les lignes, même celles supprimées', + 'message_only_trashed' => 'Afficher seulement les lignes supprimées', + 'without_trashed' => 'Sans les lignes supprimées', + 'with_trashed' => 'Avec les lignes supprimées', + 'only_trashed' => 'Uniquement les lignes supprimées', + ], + 'multi_sort' => [ + 'message' => 'Multiple sort is active', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/id/datatable.php b/lang/vendor/livewire-powergrid/id/datatable.php new file mode 100644 index 0000000..53b2350 --- /dev/null +++ b/lang/vendor/livewire-powergrid/id/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Filter', + 'clear_all_filters' => 'Clear all', + ], + 'labels' => [ + 'action' => 'Aksi', + 'results_per_page' => 'Data per halaman', + 'clear_filter' => 'Hapus filter', + 'no_data' => 'Tidak ada data yang ditemukan', + 'all' => 'Semua', + 'selected' => 'Dipilih', + 'filtered' => 'Tersaring', + ], + 'placeholders' => [ + 'search' => 'Cari...', + 'select' => 'Pilih periode', + ], + 'pagination' => [ + 'showing' => 'Menampilkan', + 'to' => 'hingga', + 'of' => 'dari', + 'results' => 'Hasil', + 'all' => 'Semua', + ], + 'multi_select' => [ + 'select' => 'Pilih', + 'all' => 'Semua', + ], + 'select' => [ + 'select' => 'Pilih', + 'all' => 'Semua', + ], + 'boolean_filter' => [ + 'all' => 'Semua', + ], + 'input_text_options' => [ + 'is' => 'Tepat', + 'is_not' => 'Tidak tepat', + 'contains' => 'Terkait', + 'contains_not' => 'Tidak terkait', + 'starts_with' => 'Dimulai dengan', + 'ends_with' => 'Diakhiri dengan', + 'is_null' => 'Tidak ada', + 'is_not_null' => 'Ada', + 'is_blank' => 'Kosong', + 'is_not_blank' => 'Tidak kosong', + 'is_empty' => 'Kosong atau tidak ada', + 'is_not_empty' => 'Tidak kosong dan ada', + ], + 'export' => [ + 'exporting' => 'Harap tunggu!', + 'completed' => 'Ekspor selesai! File anda siap diunduh', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Menampilkan semua data, termasuk yang telah dihapus', + 'message_only_trashed' => 'Menampilkan data yang telah dihapus', + 'without_trashed' => 'Tanpa data yang dihapus', + 'with_trashed' => 'Dengan data yang dihapus', + 'only_trashed' => 'Hanya data yang dihapus', + ], + 'multi_sort' => [ + 'message' => 'Pengurutan ganda diaktifkan', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/it/datatable.php b/lang/vendor/livewire-powergrid/it/datatable.php new file mode 100644 index 0000000..5151f31 --- /dev/null +++ b/lang/vendor/livewire-powergrid/it/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Filtra', + 'clear_all_filters' => 'Svuota filtri', + ], + 'labels' => [ + 'action' => 'Azioni', + 'results_per_page' => 'Risultati per pagina', + 'clear_filter' => 'Rimuovi filtri', + 'no_data' => 'Nessun risultato', + 'all' => 'Tutti', + 'selected' => 'Selezionati', + 'filtered' => 'Filtrati', + ], + 'placeholders' => [ + 'search' => 'Cerca...', + 'select' => 'Scegli un periodo', + ], + 'pagination' => [ + 'showing' => 'mostrati da', + 'to' => 'a', + 'of' => 'di', + 'results' => 'risultati', + 'all' => 'Tutti', + ], + 'multi_select' => [ + 'select' => 'Seleziona', + 'all' => 'Tutti', + ], + 'select' => [ + 'select' => 'Seleziona', + 'all' => 'Tutti', + ], + 'boolean_filter' => [ + 'all' => 'Tutti', + ], + 'input_text_options' => [ + 'is' => 'È', + 'is_not' => 'Non è', + 'contains' => 'Contiene', + 'contains_not' => 'Non contiene', + 'starts_with' => 'Inizia con', + 'ends_with' => 'Termina con', + 'is_null' => 'È nullo', + 'is_not_null' => 'Non è nullo', + 'is_blank' => 'È vergine', + 'is_not_blank' => 'Non è vergine', + 'is_empty' => 'È vuoto', + 'is_not_empty' => 'Non è vuoto', + ], + 'export' => [ + 'exporting' => 'Attendere prego!', + 'completed' => 'Esportazione completata! I tuoi file sono pronti per il download', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Visualizza tutti i risultati, includendo quelli eliminati.', + 'message_only_trashed' => 'Visualizza solo i risultati eliminati.', + 'without_trashed' => 'Senza eliminati', + 'with_trashed' => 'Con eliminati', + 'only_trashed' => 'Solo eliminati', + ], + 'multi_sort' => [ + 'message' => 'E\' attivo l\'ordinamento multiplo', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Si è sicuri di voler eseguire questa azione?', + ], + 'confirm_prompt' => [ + 'message' => "Si è sicuri di voler eseguire questa azione? \n\n Scrivi :confirmValue per confermare.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/ms_MY/datatable.php b/lang/vendor/livewire-powergrid/ms_MY/datatable.php new file mode 100644 index 0000000..8d31166 --- /dev/null +++ b/lang/vendor/livewire-powergrid/ms_MY/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Carian', + 'clear_all_filters' => 'Clear all', + ], + 'labels' => [ + 'action' => 'Action', + 'results_per_page' => 'Rekod per muka', + 'clear_filter' => 'Kosongkan Carian', + 'no_data' => 'Tiada rekod ditemui', + 'all' => 'Semua', + 'selected' => 'Pilihan', + 'filtered' => 'Hasil yang ditapis', + ], + 'placeholders' => [ + 'search' => 'Cari...', + 'select' => 'Pilih tempoh', + ], + 'pagination' => [ + 'showing' => 'Dalam Proses', + 'to' => 'hingga', + 'of' => 'daripada', + 'results' => 'Keputusan', + 'all' => 'Semua', + ], + 'multi_select' => [ + 'select' => 'Pilih', + 'all' => 'Semua', + ], + 'select' => [ + 'select' => 'Pilih', + 'all' => 'Semua', + ], + 'boolean_filter' => [ + 'all' => 'Semua', + ], + 'input_text_options' => [ + 'is' => 'Sama dengan', + 'is_not' => 'Tidak sama dengan', + 'contains' => 'Mengandungi', + 'contains_not' => 'Tidak mengandungi', + 'starts_with' => 'Bermula dengan', + 'ends_with' => 'Berakhir dengan', + 'is_null' => 'is_null', + 'is_not_null' => 'is_not_null', + 'is_blank' => 'is_blank', + 'is_not_blank' => 'is_not_blank', + 'is_empty' => 'is_empty', + 'is_not_empty' => 'is_not_empty', + ], + 'export' => [ + 'exporting' => 'Sila tunggu!', + 'completed' => 'Eksport selepas! Fail anda sudah siap untuk dimuatturun', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Displaying all records, including deleted ones.', + 'message_only_trashed' => 'Displaying only deleted records.', + 'without_trashed' => 'Without deleted', + 'with_trashed' => 'With deleted', + 'only_trashed' => 'Only deleted', + ], + 'multi_sort' => [ + 'message' => 'Multiple sort is active', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/nl/datatable.php b/lang/vendor/livewire-powergrid/nl/datatable.php new file mode 100644 index 0000000..e686bfb --- /dev/null +++ b/lang/vendor/livewire-powergrid/nl/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Filter', + 'clear_all_filters' => 'Wis alle filters', + ], + 'labels' => [ + 'action' => 'Acties', + 'results_per_page' => 'Records per pagina', + 'clear_filter' => 'Wis filter', + 'no_data' => 'Geen records gevonden', + 'all' => 'Alles', + 'selected' => 'Geselecteerd', + 'filtered' => 'Gefilterd', + ], + 'placeholders' => [ + 'search' => 'Zoek...', + 'select' => 'Selecteer een periode', + ], + 'pagination' => [ + 'showing' => 'Toont', + 'to' => 'tot', + 'of' => 'van', + 'results' => 'Resultaten', + 'all' => 'Alles', + ], + 'multi_select' => [ + 'select' => 'Selecteer', + 'all' => 'Alles', + ], + 'select' => [ + 'select' => 'Selecteer', + 'all' => 'Alles', + ], + 'boolean_filter' => [ + 'all' => 'Alles', + ], + 'input_text_options' => [ + 'is' => 'Is', + 'is_not' => 'Is not', + 'contains' => 'Bevat', + 'contains_not' => 'Bevat geen', + 'starts_with' => 'Begint met', + 'ends_with' => 'Eindigt met', + 'is_empty' => 'Is leeg', + 'is_not_empty' => 'Is niet leeg', + 'is_null' => 'Is null', + 'is_not_null' => 'Is niet null', + 'is_blank' => 'Is niet ingevuld', + 'is_not_blank' => 'Is ingevuld', + ], + 'export' => [ + 'exporting' => 'Even geduld a.u.b.!', + 'completed' => 'Export voltooid! Uw bestaanden staan klaar voor download.', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Toont alle records, inclusief verwijderde.', + 'message_only_trashed' => 'Toont enkele verwijderde records.', + 'without_trashed' => 'Exclusief verwijderde', + 'with_trashed' => 'Inclusief verwijderde', + 'only_trashed' => 'Enkel verwijderde', + ], + 'multi_sort' => [ + 'message' => 'Meervoudige sortering is actief', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/pl/datatable.php b/lang/vendor/livewire-powergrid/pl/datatable.php new file mode 100644 index 0000000..9c75b14 --- /dev/null +++ b/lang/vendor/livewire-powergrid/pl/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Filtry', + 'clear_all_filters' => 'Wyczyść wszystkie filtry', + ], + 'labels' => [ + 'action' => 'Akcje', + 'results_per_page' => 'Pozycji na stronę', + 'clear_filter' => 'Wyczyść filtr', + 'no_data' => 'Nie znaleziono pasujących pozycji', + 'all' => 'Wszystkie', + 'selected' => 'Zaznaczone', + 'filtered' => 'Przefiltrowany', + ], + 'placeholders' => [ + 'search' => 'Szukaj...', + 'select' => 'Wybierz okres', + ], + 'pagination' => [ + 'showing' => 'Pozycje', + 'to' => 'do', + 'of' => 'z', + 'results' => 'dostępnych', + 'all' => 'Wszystko', + ], + 'multi_select' => [ + 'select' => 'Wybierz', + 'all' => 'Wszystko', + ], + 'select' => [ + 'select' => 'Wybierz', + 'all' => 'Wszystko', + ], + 'boolean_filter' => [ + 'all' => 'Wszystko', + ], + 'input_text_options' => [ + 'is' => 'Jest równy', + 'is_not' => 'Nie jest równy', + 'contains' => 'Zawiera', + 'contains_not' => 'Nie zawiera', + 'starts_with' => 'Zaczyna się od', + 'ends_with' => 'Kończy się na', + 'is_empty' => 'Jest pusty', + 'is_not_empty' => 'Nie jest pusty', + 'is_null' => 'Jest pusty (null)', + 'is_not_null' => 'Nie pusty (null)', + 'is_blank' => 'Jest pusty (blank)', + 'is_not_blank' => 'Nie jest pusty (blank)', + ], + 'export' => [ + 'exporting' => 'Proszę czekać!', + 'completed' => 'Eksport gotowy! Twoje pliki są gotowe do pobrania', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Wyświetlam wszystkie pozycję, uwzględniając skasowane.', + 'message_only_trashed' => 'Wyświetlam tylko pozycję w koszu.', + 'without_trashed' => 'Bez skasowanych', + 'with_trashed' => 'Uwzględnij kosz', + 'only_trashed' => 'Pokaż tylko kosz', + ], + 'multi_sort' => [ + 'message' => 'Wielokolumnowe sortowanie jest aktywne', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/pt/datatable.php b/lang/vendor/livewire-powergrid/pt/datatable.php new file mode 100644 index 0000000..9f9df29 --- /dev/null +++ b/lang/vendor/livewire-powergrid/pt/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Filtrar', + 'clear_all_filters' => 'Limpar Todos', + ], + 'labels' => [ + 'action' => 'Ações', + 'results_per_page' => 'Registos por página', + 'clear_filter' => 'Limpar filtro', + 'no_data' => 'Nenhum registo encontrado', + 'all' => 'Todos', + 'selected' => 'Selecionados', + 'filtered' => 'Filtrados', + ], + 'placeholders' => [ + 'search' => 'Pesquisar ...', + 'select' => 'Selecione um período', + ], + 'pagination' => [ + 'showing' => 'A mostrar', + 'to' => 'até', + 'of' => 'de', + 'results' => 'resultados', + 'all' => 'Todos', + ], + 'multi_select' => [ + 'select' => 'Selecione', + 'all' => 'Todos', + ], + 'select' => [ + 'select' => 'Selecione', + 'all' => 'Todos', + ], + 'boolean_filter' => [ + 'all' => 'Todos', + ], + 'input_text_options' => [ + 'is' => 'É exatamente', + 'is_not' => 'É diferente de', + 'contains' => 'Contém', + 'contains_not' => 'Não contém', + 'starts_with' => 'Começa com', + 'ends_with' => 'Termina com', + 'is_null' => 'É nulo', + 'is_not_null' => 'Não é núlo', + 'is_blank' => 'Está em branco', + 'is_not_blank' => 'Não está em branco', + 'is_empty' => 'Não está preenchido', + 'is_not_empty' => 'Está preenchido', + ], + 'export' => [ + 'exporting' => 'Por favor, aguarde!', + 'completed' => 'Exportação concluída! Os seus ficheiros estão prontos para download', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'A mostrar todos os registos, incluindo os excluídos.', + 'message_only_trashed' => 'A mostrar apenas os registos excluídos.', + 'without_trashed' => 'Sem excluídos', + 'with_trashed' => 'Com excluídos', + 'only_trashed' => 'Apenas excluídos', + ], + 'multi_sort' => [ + 'message' => 'A classificação múltipla está ativa', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Tem a certeza que pretende executar esta ação?', + ], + 'confirm_prompt' => [ + 'message' => "Tem a certeza que pretende executar esta ação? \n\n Escreva :confirmValue para confirmar.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/pt_BR/datatable.php b/lang/vendor/livewire-powergrid/pt_BR/datatable.php new file mode 100644 index 0000000..d886f3b --- /dev/null +++ b/lang/vendor/livewire-powergrid/pt_BR/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Filtrar', + 'clear_all_filters' => 'Limpar Todos', + ], + 'labels' => [ + 'action' => 'Ações', + 'results_per_page' => 'Registros por página', + 'clear_filter' => 'Limpar filtro', + 'no_data' => 'Nenhum registro encontrado', + 'all' => 'Todos', + 'selected' => 'Selecionados', + 'filtered' => 'Filtrados', + ], + 'placeholders' => [ + 'search' => 'Buscar ...', + 'select' => 'Selecione um período', + ], + 'pagination' => [ + 'showing' => 'Mostrando', + 'to' => 'até', + 'of' => 'de', + 'results' => 'Registros', + 'all' => 'Todos', + ], + 'multi_select' => [ + 'select' => 'Selecione', + 'all' => 'Todos', + ], + 'select' => [ + 'select' => 'Selecione', + 'all' => 'Todos', + ], + 'boolean_filter' => [ + 'all' => 'Todos', + ], + 'input_text_options' => [ + 'is' => 'É exatamente', + 'is_not' => 'É diferente de', + 'contains' => 'Contém', + 'contains_not' => 'Não contém', + 'starts_with' => 'Começa com', + 'ends_with' => 'Termina com', + 'is_null' => 'É nulo', + 'is_not_null' => 'Não é núlo', + 'is_blank' => 'Está em branco', + 'is_not_blank' => 'Não está em branco', + 'is_empty' => 'Não está preenchido', + 'is_not_empty' => 'Está preenchido', + ], + 'export' => [ + 'exporting' => 'Por favor, aguarde!', + 'completed' => 'Exportação concluída! Seus arquivos estão prontos para download', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Exibindo todos os registros, incluindo os excluídos.', + 'message_only_trashed' => 'Exibindo apenas os registros excluídos.', + 'without_trashed' => 'Sem excluídos', + 'with_trashed' => 'Com excluídos', + 'only_trashed' => 'Apenas excluídos', + ], + 'multi_sort' => [ + 'message' => 'A classificação múltipla está ativa', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Tem a certeza que pretende executar esta ação?', + ], + 'confirm_prompt' => [ + 'message' => "Tem a certeza que pretende executar esta ação? \n\n Escreva :confirmValue para confirmar.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/ru/datatable.php b/lang/vendor/livewire-powergrid/ru/datatable.php new file mode 100644 index 0000000..4833342 --- /dev/null +++ b/lang/vendor/livewire-powergrid/ru/datatable.php @@ -0,0 +1,76 @@ + [ + 'filter' => 'Фильтр', + 'clear_all_filters' => 'Очистить все', + ], + 'labels' => [ + 'action' => 'Действия', + 'results_per_page' => 'Записей на страницу', + 'clear_filter' => 'Удалить фильтры', + 'no_data' => 'Записи не найдены', + 'all' => 'Все', + 'selected' => 'Выбранные', + 'filtered' => 'Отфильтровано', + ], + 'placeholders' => [ + 'search' => 'Поиск...', + 'select' => 'Выбрать период', + ], + 'pagination' => [ + 'showing' => 'Отображение', + 'to' => 'к', + 'of' => 'из', + 'results' => 'Результаты', + 'all' => 'Все', + ], + 'multi_select' => [ + 'select' => 'Выбрать', + 'all' => 'Все', + ], + 'select' => [ + 'select' => 'Выбрать', + 'all' => 'Все', + ], + 'boolean_filter' => [ + 'all' => 'Все', + ], + 'input_text_options' => [ + 'is' => 'Равно', + 'is_not' => 'Не равно', + 'contains' => 'Содержит', + 'contains_not' => 'Не содержит', + 'starts_with' => 'Начинается с', + 'ends_with' => 'Заканчивается на', + 'is_empty' => 'Пусто', + 'is_not_empty' => 'Не пусто', + 'is_null' => 'Пусто (null)', + 'is_not_null' => 'Не пусто (null)', + 'is_blank' => 'Пусто (blank)', + 'is_not_blank' => 'Не пусто (blank)', + + ], + 'export' => [ + 'exporting' => 'Пожалуйста подождите!', + 'completed' => 'Экспорт завершен! Файлы готово для скачивания', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Displaying all records, including deleted ones.', + 'message_only_trashed' => 'Displaying only deleted records.', + 'without_trashed' => 'Without deleted', + 'with_trashed' => 'With deleted', + 'only_trashed' => 'Only deleted', + ], + 'multi_sort' => [ + 'message' => 'Multiple sort is active', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/tr/datatable.php b/lang/vendor/livewire-powergrid/tr/datatable.php new file mode 100644 index 0000000..05ddd6a --- /dev/null +++ b/lang/vendor/livewire-powergrid/tr/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'Filtre', + 'clear_all_filters' => 'Tümünü Temizle', + ], + 'labels' => [ + 'action' => 'İşlemler', + 'results_per_page' => 'Sayfa başına veri', + 'clear_filter' => 'Filtreleri temizle', + 'no_data' => 'Veri bulunamadı', + 'all' => 'Tümü', + 'selected' => 'Seçili', + 'filtered' => 'Filtrelenmiş', + ], + 'placeholders' => [ + 'search' => 'Arama yap...', + 'select' => 'Seç', + ], + 'pagination' => [ + 'showing' => 'Gösterilen:', + 'to' => 'ile', + 'of' => 'arası. Toplam:', + 'results' => 'Sonuç', + 'all' => 'Tümü', + ], + 'multi_select' => [ + 'select' => 'Seç', + 'all' => 'Tümü', + ], + 'select' => [ + 'select' => 'Seç', + 'all' => 'Tümü', + ], + 'boolean_filter' => [ + 'all' => 'Tümü', + ], + 'input_text_options' => [ + 'is' => 'Eşit', + 'is_not' => 'Eşit olmayan', + 'contains' => 'İçeren', + 'contains_not' => 'İçermeyen', + 'starts_with' => 'ile Başlayan', + 'ends_with' => 'ile Biten', + 'is_null' => 'Yok olan', + 'is_not_null' => 'Yok olmayan', + 'is_blank' => 'Boş olan', + 'is_not_blank' => 'Boş olmayan', + 'is_empty' => 'Boş olan', + 'is_not_empty' => 'Boş olmayan', + ], + 'export' => [ + 'exporting' => 'Dışarı aktarılıyor, lütfen bekleyin!', + 'completed' => 'Dışa aktarım tamamlandı! Dosyalarınız indirmek için hazır', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Silinenler dahil tüm kayıtlar listeleniyor.', + 'message_only_trashed' => 'Sadece silinenler listeleniyor.', + 'without_trashed' => 'Silinenler hariç', + 'with_trashed' => 'Silinenlerle birlikte', + 'only_trashed' => 'Sadece silinenler', + ], + 'multi_sort' => [ + 'message' => 'Çoklu sıralama etkin', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/uk/datatable.php b/lang/vendor/livewire-powergrid/uk/datatable.php new file mode 100644 index 0000000..6170b69 --- /dev/null +++ b/lang/vendor/livewire-powergrid/uk/datatable.php @@ -0,0 +1,76 @@ + [ + 'filter' => 'Фильтр', + 'clear_all_filters' => 'Очистити все', + ], + 'labels' => [ + 'action' => 'Дія', + 'results_per_page' => 'Записів на сторінку', + 'clear_filter' => 'Видалити фільтри', + 'no_data' => 'Записи не знайдені', + 'all' => 'Всі', + 'selected' => 'Вибрані', + 'filtered' => 'Відфільтровані', + ], + 'placeholders' => [ + 'search' => 'Пошук...', + 'select' => 'Вибрати період', + ], + 'pagination' => [ + 'showing' => 'Відображення від', + 'to' => 'до', + 'of' => 'з', + 'results' => 'результатів', + 'all' => 'Всі', + ], + 'multi_select' => [ + 'select' => 'Вибрати', + 'all' => 'Всі', + ], + 'select' => [ + 'select' => 'Вибрати', + 'all' => 'Всі', + ], + 'boolean_filter' => [ + 'all' => 'Всі', + ], + 'input_text_options' => [ + 'is' => 'Дорівнює', + 'is_not' => 'Не дорівнює', + 'contains' => 'Містить', + 'contains_not' => 'Не містить', + 'starts_with' => 'Починається з', + 'ends_with' => 'Закінчується на', + 'is_empty' => 'Пусто', + 'is_not_empty' => 'Не пусто', + 'is_null' => 'Пусто (null)', + 'is_not_null' => 'Не пусто (null)', + 'is_blank' => 'Пусто (blank)', + 'is_not_blank' => 'Не пусто (blank)', + + ], + 'export' => [ + 'exporting' => 'Будь ласка зачекайте!', + 'completed' => 'Експорт завершено! Файли готові для скачування', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Показати всі записи, включаючи видалені', + 'message_only_trashed' => 'Показати тільки видалені записи', + 'without_trashed' => 'Без видалених записів', + 'with_trashed' => 'З видаленими записами', + 'only_trashed' => 'Тільки видалені записи', + ], + 'multi_sort' => [ + 'message' => 'Сортувати за', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/lang/vendor/livewire-powergrid/yr/datatable.php b/lang/vendor/livewire-powergrid/yr/datatable.php new file mode 100644 index 0000000..b6256b4 --- /dev/null +++ b/lang/vendor/livewire-powergrid/yr/datatable.php @@ -0,0 +1,75 @@ + [ + 'filter' => 'àlẹmọ', + 'clear_all_filters' => 'Clear all', + ], + 'labels' => [ + 'action' => 'Awọn Igbese', + 'results_per_page' => 'Esi Ni oju-iwe', + 'clear_filter' => 'Ko àlẹmọ', + 'no_data' => 'Ko si awọn igbasilẹ ti a rii', + 'all' => 'Gbogbo e', + 'selected' => 'Oun To Mu', + 'filtered' => 'Filter', + ], + 'placeholders' => [ + 'search' => 'Wa...', + 'select' => 'Mu akoko Kan', + ], + 'pagination' => [ + 'showing' => 'Afihan', + 'to' => 'Si', + 'of' => 'ti', + 'results' => 'Esi', + 'all' => 'Gbogbo e', + ], + 'multi_select' => [ + 'select' => 'Mu', + 'all' => 'Gbogbo e', + ], + 'select' => [ + 'select' => 'Mu', + 'all' => 'Gbogbo e', + ], + 'boolean_filter' => [ + 'all' => 'Gbogbo e', + ], + 'input_text_options' => [ + 'is' => 'Ni', + 'is_not' => 'kiise', + 'contains' => 'Ninu', + 'contains_not' => 'Ko Si Ninu', + 'starts_with' => 'Bere Pelu', + 'ends_with' => 'Pari Pelu', + 'is_null' => 'is_null', + 'is_not_null' => 'is_not_null', + 'is_blank' => 'is_blank', + 'is_not_blank' => 'is_not_blank', + 'is_empty' => 'is_empty', + 'is_not_empty' => 'is_not_empty', + ], + 'export' => [ + 'exporting' => 'jọwọ duro!', + 'completed' => 'O ti setan! Awọn faili rẹ ti šetan fun igbasilẹ', + ], + 'soft_deletes' => [ + 'message_with_trashed' => 'Displaying all records, including deleted ones.', + 'message_only_trashed' => 'Displaying only deleted records.', + 'without_trashed' => 'Without deleted', + 'with_trashed' => 'With deleted', + 'only_trashed' => 'Only deleted', + ], + 'multi_sort' => [ + 'message' => 'Multiple sort is active', + ], + 'buttons_macros' => [ + 'confirm' => [ + 'message' => 'Are you sure you want to perform this action?', + ], + 'confirm_prompt' => [ + 'message' => "Are you sure you want to perform this action? \n\n Enter :confirmValue to confirm.", + ], + ], +]; diff --git a/resources/views/components/detail.blade.php b/resources/views/components/detail.blade.php new file mode 100644 index 0000000..a5fe684 --- /dev/null +++ b/resources/views/components/detail.blade.php @@ -0,0 +1,14 @@ +
+ @if($row->application_text ) +
+
+ + + +
{{ $row->application_text }}
+
+
+ @else + keine Bewerbung vorhanden + @endif +
diff --git a/resources/views/components/layouts/navigation/association.blade.php b/resources/views/components/layouts/navigation/association.blade.php index 71d5631..e70643a 100644 --- a/resources/views/components/layouts/navigation/association.blade.php +++ b/resources/views/components/layouts/navigation/association.blade.php @@ -30,5 +30,13 @@ +
  • + +
    + + Mitglieder +
    +
    +
  • diff --git a/resources/views/components/layouts/sidebar.blade.php b/resources/views/components/layouts/sidebar.blade.php deleted file mode 100644 index 2eca9d8..0000000 --- a/resources/views/components/layouts/sidebar.blade.php +++ /dev/null @@ -1,73 +0,0 @@ -
    - @php - $isCurrentRouteClass = 'pl-4 pr-3 py-2 rounded-lg mb-0.5 last:mb-0 bg-[linear-gradient(135deg,var(--tw-gradient-stops))] from-violet-500/[0.12] dark:from-violet-500/[0.24] to-violet-500/[0.04]'; - $isNotCurrentRouteClass = 'pl-4 pr-3 py-2 rounded-lg mb-0.5 last:mb-0'; - $isCurrentSubItem = 'block text-violet-500 transition truncate'; - $isNotCurrentSubItem = 'block text-gray-500/90 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 transition truncate'; - @endphp - - - - - - -
    diff --git a/resources/views/livewire/layout/sidebar.blade.php b/resources/views/livewire/layout/sidebar.blade.php index e61f3a9..e1970c2 100644 --- a/resources/views/livewire/layout/sidebar.blade.php +++ b/resources/views/livewire/layout/sidebar.blade.php @@ -59,7 +59,7 @@ mount(function() {
    - @include('components.layouts.navigation.meetups') + {{--@include('components.layouts.navigation.meetups')--}} @include('components.layouts.navigation.association') {{--@include('components.layouts.navigation.events') @include('components.layouts.navigation.courses') diff --git a/resources/views/pages/association/election/[Election:year].blade.php b/resources/views/pages/association/election/[Election:year].blade.php index 6f50556..55bdcf5 100644 --- a/resources/views/pages/association/election/[Election:year].blade.php +++ b/resources/views/pages/association/election/[Election:year].blade.php @@ -278,8 +278,8 @@ $signEvent = function ($event) {
  • {{ $pleb['pubkey'] }} diff --git a/resources/views/pages/association/members/admin.blade.php b/resources/views/pages/association/members/admin.blade.php new file mode 100644 index 0000000..6cdd35a --- /dev/null +++ b/resources/views/pages/association/members/admin.blade.php @@ -0,0 +1,33 @@ + null]); +state(['members' => []]); + +on([ + 'nostrLoggedIn' => function ($pubkey) { + $this->currentPubkey = $pubkey; + }, +]); + +?> + + + @volt +
    + +
    + @endvolt +
    diff --git a/resources/views/pages/association/profile.blade.php b/resources/views/pages/association/profile.blade.php index d6d0a43..8ef6836 100644 --- a/resources/views/pages/association/profile.blade.php +++ b/resources/views/pages/association/profile.blade.php @@ -8,10 +8,31 @@ use function Livewire\Volt\state; use function Livewire\Volt\with; use function Laravel\Folio\{middleware}; use function Laravel\Folio\name; -use function Livewire\Volt\{on}; +use function Livewire\Volt\{on, form}; name('association.profile'); +state(['currentPubkey' => null]); +state(['currentPleb' => null]); + +form(\App\Livewire\Forms\ApplicationForm::class); + +on([ + 'nostrLoggedIn' => function ($pubkey) { + $this->currentPubkey = $pubkey; + $this->currentPleb = \App\Models\EinundzwanzigPleb::query()->where('pubkey', $pubkey)->first(); + }, +]); + +$save = function ($type) { + $this->form->validate(); + $this->currentPleb + ->update([ + 'application_for' => $type, + 'application_text' => $this->form->reason, + ]); +}; + ?> @@ -42,7 +63,7 @@ name('association.profile');