@firecms/collection_editor 3.2.0 → 3.3.0-canary.451aa49
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/index.es.js +40 -9
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +40 -9
- package/dist/index.umd.js.map +1 -1
- package/dist/locales/de.d.ts +2 -0
- package/dist/locales/en.d.ts +2 -0
- package/dist/locales/es.d.ts +2 -0
- package/dist/locales/fr.d.ts +2 -0
- package/dist/locales/hi.d.ts +2 -0
- package/dist/locales/it.d.ts +2 -0
- package/dist/locales/pt.d.ts +2 -0
- package/package.json +8 -8
- package/src/locales/de.ts +2 -0
- package/src/locales/en.ts +2 -0
- package/src/locales/es.ts +2 -0
- package/src/locales/fr.ts +2 -0
- package/src/locales/hi.ts +2 -0
- package/src/locales/it.ts +2 -0
- package/src/locales/pt.ts +2 -0
- package/src/ui/collection_editor/properties/advanced/AdvancedPropertyValidation.tsx +16 -0
package/dist/index.umd.js
CHANGED
|
@@ -6752,7 +6752,7 @@
|
|
|
6752
6752
|
return /* @__PURE__ */ jsxRuntime.jsx(ui.SelectItem, { value: tz_0.value, children: tz_0.label }, tz_0.value);
|
|
6753
6753
|
}
|
|
6754
6754
|
function AdvancedPropertyValidation(t0) {
|
|
6755
|
-
const $ = reactCompilerRuntime.c(
|
|
6755
|
+
const $ = reactCompilerRuntime.c(13);
|
|
6756
6756
|
const {
|
|
6757
6757
|
disabled
|
|
6758
6758
|
} = t0;
|
|
@@ -6790,18 +6790,35 @@
|
|
|
6790
6790
|
t2 = $[5];
|
|
6791
6791
|
}
|
|
6792
6792
|
let t3;
|
|
6793
|
-
if ($[6] !==
|
|
6794
|
-
t3 = /* @__PURE__ */ jsxRuntime.
|
|
6795
|
-
|
|
6796
|
-
|
|
6797
|
-
|
|
6798
|
-
|
|
6799
|
-
|
|
6793
|
+
if ($[6] !== disabled || $[7] !== t) {
|
|
6794
|
+
t3 = /* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-12", children: /* @__PURE__ */ jsxRuntime.jsx(formex.Field, { name: "nullable", type: "checkbox", children: (t42) => {
|
|
6795
|
+
const {
|
|
6796
|
+
field: field_1,
|
|
6797
|
+
form: form_1
|
|
6798
|
+
} = t42;
|
|
6799
|
+
return /* @__PURE__ */ jsxRuntime.jsx(SwitchControl, { label: t("nullable"), size: "medium", disabled, tooltip: t("nullable_tooltip"), form: form_1, field: field_1 });
|
|
6800
|
+
} }) });
|
|
6801
|
+
$[6] = disabled;
|
|
6802
|
+
$[7] = t;
|
|
6800
6803
|
$[8] = t3;
|
|
6801
6804
|
} else {
|
|
6802
6805
|
t3 = $[8];
|
|
6803
6806
|
}
|
|
6804
|
-
|
|
6807
|
+
let t4;
|
|
6808
|
+
if ($[9] !== t1 || $[10] !== t2 || $[11] !== t3) {
|
|
6809
|
+
t4 = /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-12 gap-2", children: [
|
|
6810
|
+
t1,
|
|
6811
|
+
t2,
|
|
6812
|
+
t3
|
|
6813
|
+
] });
|
|
6814
|
+
$[9] = t1;
|
|
6815
|
+
$[10] = t2;
|
|
6816
|
+
$[11] = t3;
|
|
6817
|
+
$[12] = t4;
|
|
6818
|
+
} else {
|
|
6819
|
+
t4 = $[12];
|
|
6820
|
+
}
|
|
6821
|
+
return t4;
|
|
6805
6822
|
}
|
|
6806
6823
|
function ConditionsPanel(t0) {
|
|
6807
6824
|
const $ = reactCompilerRuntime.c(3);
|
|
@@ -17638,6 +17655,8 @@
|
|
|
17638
17655
|
hide_from_collection_tooltip: "Hide this field from the collection view. It will still be visible in the form view",
|
|
17639
17656
|
read_only: "Read only",
|
|
17640
17657
|
read_only_tooltip: "Is this a read only field. Display only as a preview",
|
|
17658
|
+
nullable: "Nullable",
|
|
17659
|
+
nullable_tooltip: "Allow this field to be explicitly set to null. A clear button will be shown to the user",
|
|
17641
17660
|
// Dialog & Tabs
|
|
17642
17661
|
tab_general: "General",
|
|
17643
17662
|
tab_display: "Display",
|
|
@@ -17760,6 +17779,8 @@
|
|
|
17760
17779
|
hide_from_collection_tooltip: "Ocultar este campo de la vista de colección. Seguirá visible en la vista de formulario",
|
|
17761
17780
|
read_only: "Solo lectura",
|
|
17762
17781
|
read_only_tooltip: "Es un campo de solo lectura. Mostrar solo como vista previa",
|
|
17782
|
+
nullable: "Nullable",
|
|
17783
|
+
nullable_tooltip: "Permitir que este campo se establezca explícitamente como null. Se mostrará un botón de borrar al usuario",
|
|
17763
17784
|
tab_general: "General",
|
|
17764
17785
|
tab_display: "Visualización",
|
|
17765
17786
|
tab_properties: "Propiedades",
|
|
@@ -17880,6 +17901,8 @@
|
|
|
17880
17901
|
hide_from_collection_tooltip: "Dieses Feld aus der Sammlungsansicht ausblenden. Es wird weiterhin in der Formularansicht sichtbar sein",
|
|
17881
17902
|
read_only: "Nur lesen",
|
|
17882
17903
|
read_only_tooltip: "Ist dieses Feld schreibgeschützt. Nur als Vorschau anzeigen",
|
|
17904
|
+
nullable: "Nullable",
|
|
17905
|
+
nullable_tooltip: "Erlaubt es, dieses Feld explizit auf null zu setzen. Dem Benutzer wird eine Löschen-Schaltfläche angezeigt",
|
|
17883
17906
|
tab_general: "Allgemein",
|
|
17884
17907
|
tab_display: "Anzeige",
|
|
17885
17908
|
tab_properties: "Eigenschaften",
|
|
@@ -18000,6 +18023,8 @@
|
|
|
18000
18023
|
hide_from_collection_tooltip: "Masquer ce champ de la vue collection. Il restera visible dans la vue formulaire",
|
|
18001
18024
|
read_only: "Lecture seule",
|
|
18002
18025
|
read_only_tooltip: "Ce champ est en lecture seule. Affichage en aperçu uniquement",
|
|
18026
|
+
nullable: "Nullable",
|
|
18027
|
+
nullable_tooltip: "Permettre de définir explicitement ce champ comme null. Un bouton d'effacement sera affiché à l'utilisateur",
|
|
18003
18028
|
tab_general: "Général",
|
|
18004
18029
|
tab_display: "Affichage",
|
|
18005
18030
|
tab_properties: "Propriétés",
|
|
@@ -18120,6 +18145,8 @@
|
|
|
18120
18145
|
hide_from_collection_tooltip: "Nascondi questo campo dalla vista collezione. Sarà comunque visibile nella vista modulo",
|
|
18121
18146
|
read_only: "Sola lettura",
|
|
18122
18147
|
read_only_tooltip: "Questo è un campo di sola lettura. Visualizza solo come anteprima",
|
|
18148
|
+
nullable: "Nullable",
|
|
18149
|
+
nullable_tooltip: "Consenti di impostare esplicitamente questo campo su null. All'utente verrà mostrato un pulsante di cancellazione",
|
|
18123
18150
|
tab_general: "Generale",
|
|
18124
18151
|
tab_display: "Visualizzazione",
|
|
18125
18152
|
tab_properties: "Proprietà",
|
|
@@ -18240,6 +18267,8 @@
|
|
|
18240
18267
|
hide_from_collection_tooltip: "इस फ़ील्ड को संग्रह दृश्य से छिपाएँ। यह फ़ॉर्म दृश्य में अभी भी दिखाई देगा",
|
|
18241
18268
|
read_only: "केवल पढ़ने के लिए",
|
|
18242
18269
|
read_only_tooltip: "क्या यह फ़ील्ड केवल पढ़ने के लिए है। केवल पूर्वावलोकन के रूप में प्रदर्शित करें",
|
|
18270
|
+
nullable: "Nullable",
|
|
18271
|
+
nullable_tooltip: "इस फ़ील्ड को स्पष्ट रूप से null पर सेट करने की अनुमति दें। उपयोगकर्ता को एक क्लियर बटन दिखाया जाएगा",
|
|
18243
18272
|
tab_general: "सामान्य",
|
|
18244
18273
|
tab_display: "प्रदर्शन",
|
|
18245
18274
|
tab_properties: "प्रॉपर्टीज़",
|
|
@@ -18360,6 +18389,8 @@
|
|
|
18360
18389
|
hide_from_collection_tooltip: "Ocultar este campo da visualização da coleção. Ele ainda estará visível na visualização do formulário",
|
|
18361
18390
|
read_only: "Somente leitura",
|
|
18362
18391
|
read_only_tooltip: "Este é um campo somente leitura. Exibir apenas como pré-visualização",
|
|
18392
|
+
nullable: "Nullable",
|
|
18393
|
+
nullable_tooltip: "Permitir que este campo seja explicitamente definido como null. Um botão de limpar será exibido ao usuário",
|
|
18363
18394
|
tab_general: "Geral",
|
|
18364
18395
|
tab_display: "Exibição",
|
|
18365
18396
|
tab_properties: "Propriedades",
|