@firecms/core 3.3.0-canary.d3242eb → 3.4.0-canary.63041d0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app/useApp.d.ts +1 -0
- package/dist/components/EntityCollectionTable/column_utils.d.ts +4 -3
- package/dist/components/EntityCollectionTable/internal/CollectionTableToolbar.d.ts +6 -1
- package/dist/components/EntityCollectionView/EntityCollectionView.d.ts +7 -0
- package/dist/components/EntityCollectionView/FiltersDialog.d.ts +2 -1
- package/dist/components/EntityPreview.d.ts +3 -1
- package/dist/components/SelectableTable/filters/filter_text_input.d.ts +30 -0
- package/dist/components/SelectableTable/filters/filter_text_input.test.d.ts +1 -0
- package/dist/components/common/table_url_params.d.ts +24 -0
- package/dist/components/common/useDataSourceTableController.d.ts +7 -1
- package/dist/components/common/useTableSearchHelper.d.ts +7 -1
- package/dist/core/DefaultDrawer.d.ts +10 -3
- package/dist/core/EntityEditView.d.ts +7 -1
- package/dist/core/field_configs.d.ts +1 -1
- package/dist/form/field_bindings/GeopointFieldBinding.d.ts +5 -0
- package/dist/form/index.d.ts +1 -0
- package/dist/hooks/data/save.d.ts +1 -1
- package/dist/hooks/data/useEntityFetch.d.ts +6 -1
- package/dist/index.es.js +2960 -1338
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2958 -1336
- package/dist/index.umd.js.map +1 -1
- package/dist/locales/pl.d.ts +2 -0
- package/dist/preview/index.d.ts +1 -0
- package/dist/preview/property_previews/GeopointPropertyPreview.d.ts +4 -0
- package/dist/types/collections.d.ts +24 -0
- package/dist/types/datasource.d.ts +42 -0
- package/dist/types/properties.d.ts +17 -1
- package/dist/types/side_entity_controller.d.ts +6 -0
- package/dist/types/translations.d.ts +17 -3
- package/dist/util/__tests__/collections.test.d.ts +1 -0
- package/dist/util/__tests__/urls.test.d.ts +1 -0
- package/dist/util/collections.d.ts +1 -1
- package/dist/util/entities.d.ts +1 -0
- package/dist/util/geopoint.d.ts +22 -0
- package/dist/util/index.d.ts +2 -0
- package/dist/util/navigation_blocking.d.ts +22 -0
- package/dist/util/navigation_from_path.d.ts +17 -0
- package/dist/util/navigation_utils.d.ts +23 -1
- package/dist/util/urls.d.ts +22 -0
- package/package.json +16 -9
- package/src/app/Scaffold.tsx +47 -45
- package/src/app/useApp.tsx +1 -0
- package/src/components/EntityCollectionTable/EntityCollectionTable.tsx +3 -1
- package/src/components/EntityCollectionTable/column_utils.tsx +11 -19
- package/src/components/EntityCollectionTable/fields/TableReferenceField.tsx +1 -1
- package/src/components/EntityCollectionTable/internal/CollectionTableToolbar.tsx +7 -0
- package/src/components/EntityCollectionView/EntityCollectionView.tsx +24 -3
- package/src/components/EntityCollectionView/EntityCollectionViewStartActions.tsx +4 -1
- package/src/components/EntityCollectionView/FiltersDialog.tsx +39 -28
- package/src/components/EntityPreview.tsx +41 -40
- package/src/components/HomePage/NavigationCardBinding.tsx +6 -3
- package/src/components/ReferenceWidget.tsx +1 -1
- package/src/components/SelectableTable/filters/ReferenceFilterField.tsx +2 -2
- package/src/components/SelectableTable/filters/StringNumberFilterField.tsx +33 -7
- package/src/components/SelectableTable/filters/filter_text_input.test.ts +184 -0
- package/src/components/SelectableTable/filters/filter_text_input.ts +71 -0
- package/src/components/VirtualTable/VirtualTable.tsx +19 -8
- package/src/components/common/table_url_params.ts +172 -0
- package/src/components/common/useDataSourceTableController.tsx +98 -159
- package/src/components/common/useTableSearchHelper.ts +21 -2
- package/src/contexts/SnackbarProvider.tsx +14 -1
- package/src/core/DefaultDrawer.tsx +151 -65
- package/src/core/DrawerNavigationGroup.tsx +27 -29
- package/src/core/DrawerNavigationItem.tsx +10 -12
- package/src/core/EntityEditView.tsx +75 -32
- package/src/core/EntitySidePanel.tsx +2 -0
- package/src/core/field_configs.tsx +15 -0
- package/src/form/EntityForm.tsx +1 -1
- package/src/form/field_bindings/ArrayOfReferencesFieldBinding.tsx +1 -1
- package/src/form/field_bindings/GeopointFieldBinding.tsx +139 -0
- package/src/form/index.tsx +1 -0
- package/src/hooks/data/save.ts +2 -0
- package/src/hooks/data/useEntityFetch.tsx +9 -0
- package/src/hooks/useBuildNavigationController.tsx +5 -1
- package/src/hooks/useValidateAuthenticator.tsx +4 -0
- package/src/i18n/FireCMSi18nProvider.tsx +2 -0
- package/src/internal/useBuildDataSource.ts +11 -0
- package/src/internal/useBuildSideEntityController.tsx +8 -1
- package/src/locales/de.ts +18 -5
- package/src/locales/en.ts +18 -5
- package/src/locales/es.ts +18 -5
- package/src/locales/fr.ts +18 -5
- package/src/locales/hi.ts +18 -5
- package/src/locales/it.ts +18 -5
- package/src/locales/pl.ts +735 -0
- package/src/locales/pt.ts +18 -5
- package/src/preview/PropertyPreview.tsx +12 -0
- package/src/preview/components/StorageThumbnail.tsx +24 -2
- package/src/preview/index.ts +1 -0
- package/src/preview/property_previews/GeopointPropertyPreview.tsx +23 -0
- package/src/routes/FireCMSRoute.tsx +47 -25
- package/src/types/collections.ts +26 -0
- package/src/types/datasource.ts +42 -0
- package/src/types/properties.ts +17 -0
- package/src/types/side_entity_controller.tsx +6 -0
- package/src/types/translations.ts +17 -3
- package/src/util/__tests__/collections.test.ts +32 -0
- package/src/util/__tests__/urls.test.ts +131 -0
- package/src/util/collections.ts +1 -1
- package/src/util/entities.ts +13 -0
- package/src/util/geopoint.ts +81 -0
- package/src/util/index.ts +2 -0
- package/src/util/navigation_blocking.ts +45 -0
- package/src/util/navigation_from_path.ts +41 -6
- package/src/util/navigation_utils.ts +40 -2
- package/src/util/parent_references_from_path.ts +4 -2
- package/src/util/previews.ts +8 -1
- package/src/util/resolutions.ts +11 -0
- package/src/util/urls.ts +52 -0
package/src/locales/hi.ts
CHANGED
|
@@ -146,8 +146,8 @@ export const hi: FireCMSTranslations = {
|
|
|
146
146
|
// ─── Error states ─────────────────────────────────────────────
|
|
147
147
|
error: "त्रुटि",
|
|
148
148
|
error_uploading_file: "फ़ाइल अपलोड करने में त्रुटि",
|
|
149
|
-
error_deleting: "हटाने में
|
|
150
|
-
error_before_delete: "हटाने से पहले
|
|
149
|
+
error_deleting: "हटाने में त्रुटि: {{message}}",
|
|
150
|
+
error_before_delete: "हटाने से पहले त्रुटि: {{message}}",
|
|
151
151
|
error_updating_asset: "एसेट अपडेट करने में त्रुटि",
|
|
152
152
|
error_deleting_asset: "एसेट हटाने में त्रुटि",
|
|
153
153
|
error_firestore_index: "इस क्वेरी के लिए Firestore इंडेक्स आवश्यक है।",
|
|
@@ -389,6 +389,7 @@ export const hi: FireCMSTranslations = {
|
|
|
389
389
|
download: "डाउनलोड",
|
|
390
390
|
large_number_of_documents: "इस संग्रह में बड़ी संख्या में दस्तावेज़ हैं ({{count}})।",
|
|
391
391
|
include_undefined_values: "अपरिभाषित (undefined) मान शामिल करें",
|
|
392
|
+
export_apply_filter_sort: "केवल वर्तमान फ़िल्टर/सॉर्ट से मेल खाने वाले परिणाम निर्यात करें",
|
|
392
393
|
submit: "सबमिट करें",
|
|
393
394
|
|
|
394
395
|
no_filterable_properties: "कोई फ़िल्टर करने योग्य गुण उपलब्ध नहीं हैं",
|
|
@@ -437,8 +438,8 @@ export const hi: FireCMSTranslations = {
|
|
|
437
438
|
cms_users: "CMS उपयोगकर्ता",
|
|
438
439
|
roles_menu: "भूमिकाएँ",
|
|
439
440
|
project_settings: "परियोजना सेटिंग",
|
|
440
|
-
|
|
441
|
-
|
|
441
|
+
firestore_manager: "Firestore मैनेजर",
|
|
442
|
+
manage_your_firestore_data: "अपने Firestore डेटा का प्रबंधन करें",
|
|
442
443
|
|
|
443
444
|
// ─── FireCMS Cloud Login ──────────────────────────────────────
|
|
444
445
|
build_admin_panel_in_minutes: "मिनटों में अपना Firebase एडमिन पैनल बनाएं",
|
|
@@ -514,10 +515,18 @@ export const hi: FireCMSTranslations = {
|
|
|
514
515
|
auto_setup_collections_button: "संग्रहों को स्वचालित रूप से सेट करें",
|
|
515
516
|
auto_setup_collections_title: "संग्रहों की स्वचालित सेटअप",
|
|
516
517
|
auto_setup_collections_desc: "अपने मौजूदा Firestore डेटा के आधार पर संग्रहों को स्वचालित रूप से सेट करें। FireCMS को आपके लिए परफेक्ट CMS कॉन्फ़िगर करने दें।",
|
|
517
|
-
|
|
518
|
+
setting_up_collections: "संग्रह सेट किए जा रहे हैं",
|
|
519
|
+
setting_up_collection: "{{name}} सेट किया जा रहा है",
|
|
518
520
|
no_collections_found_to_setup: "सेट करने के लिए कोई संग्रह नहीं मिला",
|
|
519
521
|
collections_have_been_setup: "संग्रहों को सेट कर दिया गया है",
|
|
520
522
|
error_setting_up_collections: "संग्रह सेट करने में त्रुटि",
|
|
523
|
+
setup_collections_title: "Set up collections",
|
|
524
|
+
setup_collections_select_desc: "Select which collections to automatically set up:",
|
|
525
|
+
select_all: "Select all",
|
|
526
|
+
deselect_all: "Deselect all",
|
|
527
|
+
setup_collections_confirm: "Set up ({{count}})",
|
|
528
|
+
collection_setup_success: "{{name}} has been set up",
|
|
529
|
+
go_to_collection: "Go to collection",
|
|
521
530
|
add_your: "अपने",
|
|
522
531
|
database_collections: "डेटाबेस संग्रह",
|
|
523
532
|
to_firecms: "को FireCMS में जोड़ें",
|
|
@@ -578,6 +587,10 @@ export const hi: FireCMSTranslations = {
|
|
|
578
587
|
order_property_not_found: "प्रॉपर्टी \"{{property}}\" मौजूद नहीं है या एक संख्या प्रॉपर्टी नहीं है। कृपया एक वैध प्रॉपर्टी चुनें या चयन साफ़ करें।",
|
|
579
588
|
no_number_properties: "कोई संख्या प्रॉपर्टी नहीं मिली। क्रम सक्षम करने के लिए एक संख्या प्रॉपर्टी जोड़ें।",
|
|
580
589
|
order_property_description: "आइटम का क्रम बनाए रखने के लिए एक संख्या प्रॉपर्टी चुनें",
|
|
590
|
+
image_property: "इमेज प्रॉपर्टी",
|
|
591
|
+
image_property_not_found: "प्रॉपर्टी \"{{property}}\" मौजूद नहीं है या एक इमेज प्रॉपर्टी नहीं है। कृपया एक वैध प्रॉपर्टी चुनें या चयन साफ़ करें।",
|
|
592
|
+
no_image_properties: "कोई इमेज प्रॉपर्टी नहीं मिली। थंबनेल के रूप में उपयोग करने के लिए एक स्टोरेज या URL इमेज प्रॉपर्टी जोड़ें।",
|
|
593
|
+
image_property_description: "कार्ड्स और कानबन व्यू मोड में थंबनेल इमेज के रूप में उपयोग की जाने वाली प्रॉपर्टी चुनें। यदि सेट नहीं किया गया है, तो पहली मिलान वाली इमेज प्रॉपर्टी स्वचालित रूप से उपयोग की जाएगी।",
|
|
581
594
|
display_settings: "प्रदर्शन सेटिंग्स",
|
|
582
595
|
default_row_size: "डिफ़ॉल्ट पंक्ति आकार",
|
|
583
596
|
side_dialog_width: "साइड डायलॉग चौड़ाई",
|
package/src/locales/it.ts
CHANGED
|
@@ -146,8 +146,8 @@ export const it: FireCMSTranslations = {
|
|
|
146
146
|
// ─── Error states ─────────────────────────────────────────────
|
|
147
147
|
error: "Errore",
|
|
148
148
|
error_uploading_file: "Errore durante il caricamento del file",
|
|
149
|
-
error_deleting: "Errore durante l'eliminazione",
|
|
150
|
-
error_before_delete: "Errore prima dell'eliminazione",
|
|
149
|
+
error_deleting: "Errore durante l'eliminazione: {{message}}",
|
|
150
|
+
error_before_delete: "Errore prima dell'eliminazione: {{message}}",
|
|
151
151
|
error_updating_asset: "Errore durante l'aggiornamento dell'asset",
|
|
152
152
|
error_deleting_asset: "Errore durante l'eliminazione dell'asset",
|
|
153
153
|
error_firestore_index: "Per questa query è richiesto un indice Firestore.",
|
|
@@ -389,6 +389,7 @@ export const it: FireCMSTranslations = {
|
|
|
389
389
|
download: "Scarica",
|
|
390
390
|
large_number_of_documents: "Questa collezione contiene un numero elevato di documenti ({{count}})",
|
|
391
391
|
include_undefined_values: "Includi valori non definiti",
|
|
392
|
+
export_apply_filter_sort: "Esporta solo i risultati che corrispondono al filtro/ordinamento attuale",
|
|
392
393
|
submit: "Invia",
|
|
393
394
|
|
|
394
395
|
no_filterable_properties: "Nessuna proprietà filtrabile disponibile",
|
|
@@ -437,8 +438,8 @@ export const it: FireCMSTranslations = {
|
|
|
437
438
|
cms_users: "Utenti CMS",
|
|
438
439
|
roles_menu: "Ruoli",
|
|
439
440
|
project_settings: "Impostazioni del progetto",
|
|
440
|
-
|
|
441
|
-
|
|
441
|
+
firestore_manager: "Gestore Firestore",
|
|
442
|
+
manage_your_firestore_data: "Gestisci i tuoi dati Firestore",
|
|
442
443
|
|
|
443
444
|
// ─── FireCMS Cloud Login ──────────────────────────────────────
|
|
444
445
|
build_admin_panel_in_minutes: "Crea il tuo pannello di amministrazione Firebase in pochi minuti",
|
|
@@ -514,10 +515,18 @@ export const it: FireCMSTranslations = {
|
|
|
514
515
|
auto_setup_collections_button: "Configura le collezioni automaticamente",
|
|
515
516
|
auto_setup_collections_title: "Configurazione automatica delle collezioni",
|
|
516
517
|
auto_setup_collections_desc: "Configura le collezioni automaticamente in base ai dati Firestore esistenti. Lascia che FireCMS configuri il CMS perfetto per te.",
|
|
517
|
-
|
|
518
|
+
setting_up_collections: "Configurazione delle collezioni",
|
|
519
|
+
setting_up_collection: "Configurazione di {{name}}",
|
|
518
520
|
no_collections_found_to_setup: "Nessuna collezione trovata da configurare",
|
|
519
521
|
collections_have_been_setup: "Le collezioni sono state configurate",
|
|
520
522
|
error_setting_up_collections: "Errore durante la configurazione delle collezioni",
|
|
523
|
+
setup_collections_title: "Set up collections",
|
|
524
|
+
setup_collections_select_desc: "Select which collections to automatically set up:",
|
|
525
|
+
select_all: "Select all",
|
|
526
|
+
deselect_all: "Deselect all",
|
|
527
|
+
setup_collections_confirm: "Set up ({{count}})",
|
|
528
|
+
collection_setup_success: "{{name}} has been set up",
|
|
529
|
+
go_to_collection: "Go to collection",
|
|
521
530
|
add_your: "Aggiungi le tue",
|
|
522
531
|
database_collections: "collezioni del database",
|
|
523
532
|
to_firecms: "a FireCMS",
|
|
@@ -578,6 +587,10 @@ export const it: FireCMSTranslations = {
|
|
|
578
587
|
order_property_not_found: "La proprietà \"{{property}}\" non esiste o non è una proprietà numerica. Seleziona una proprietà valida o cancella la selezione.",
|
|
579
588
|
no_number_properties: "Nessuna proprietà numerica trovata. Aggiungi una proprietà numerica per abilitare l'ordinamento.",
|
|
580
589
|
order_property_description: "Seleziona una proprietà numerica per mantenere l'ordine degli elementi",
|
|
590
|
+
image_property: "Proprietà immagine",
|
|
591
|
+
image_property_not_found: "La proprietà \"{{property}}\" non esiste o non è una proprietà immagine. Seleziona una proprietà valida o cancella la selezione.",
|
|
592
|
+
no_image_properties: "Nessuna proprietà immagine trovata. Aggiungi una proprietà di archiviazione o URL immagine da usare come miniatura.",
|
|
593
|
+
image_property_description: "Seleziona la proprietà utilizzata come miniatura nelle viste Schede e Kanban. Se non impostata, verrà utilizzata automaticamente la prima proprietà immagine corrispondente.",
|
|
581
594
|
display_settings: "Impostazioni di visualizzazione",
|
|
582
595
|
default_row_size: "Dimensione riga predefinita",
|
|
583
596
|
side_dialog_width: "Larghezza del dialogo laterale",
|