@box/metadata-editor 0.63.0 → 0.64.1
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/chunks/metadata-editor-field-wrapper.js +55 -50
- package/esm/index.js +26 -26
- package/esm/lib/components/combobox-with-api-pagination/combobox-with-api-pagination.js +132 -131
- package/esm/lib/components/metadata-editor-fields/components/metadata-date-field/metadata-date-field.js +37 -43
- package/esm/lib/components/metadata-editor-fields/components/metadata-enum-field/metadata-enum-field.js +38 -44
- package/esm/lib/components/metadata-editor-fields/components/metadata-float-field/metadata-float-field.js +30 -36
- package/esm/lib/components/metadata-editor-fields/components/metadata-multi-select-field/metadata-multi-select-field.js +39 -47
- package/esm/lib/components/metadata-editor-fields/components/metadata-string-field/metadata-string-field.js +28 -34
- package/esm/lib/components/metadata-editor-fields/components/metadata-taxonomy-field/metadata-taxonomy-field.js +54 -0
- package/esm/lib/components/metadata-editor-fields/components/update-mode-field-wrapper/update-mode-field-wrapper.js +49 -48
- package/esm/lib/components/metadata-editor-fields/editor-field-types.js +19 -15
- package/esm/lib/components/metadata-editor-fields/utils.js +13 -0
- package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form/metadata-instance-form.js +48 -46
- package/esm/lib/defaults.js +2 -1
- package/esm/lib/messages.js +4 -0
- package/i18n/bn-IN.js +1 -0
- package/i18n/da-DK.js +1 -0
- package/i18n/de-DE.js +1 -0
- package/i18n/en-AU.js +1 -0
- package/i18n/en-CA.js +1 -0
- package/i18n/en-GB.js +1 -0
- package/i18n/en-US.js +1 -0
- package/i18n/en-US.properties +2 -0
- package/i18n/en-x-pseudo.js +1 -0
- package/i18n/es-419.js +1 -0
- package/i18n/es-ES.js +1 -0
- package/i18n/fi-FI.js +1 -0
- package/i18n/fr-CA.js +1 -0
- package/i18n/fr-FR.js +1 -0
- package/i18n/hi-IN.js +1 -0
- package/i18n/it-IT.js +1 -0
- package/i18n/ja-JP.js +1 -0
- package/i18n/json/src/lib/messages.json +1 -1
- package/i18n/ko-KR.js +1 -0
- package/i18n/nb-NO.js +1 -0
- package/i18n/nl-NL.js +1 -0
- package/i18n/pl-PL.js +1 -0
- package/i18n/pt-BR.js +1 -0
- package/i18n/ru-RU.js +1 -0
- package/i18n/sv-SE.js +1 -0
- package/i18n/tr-TR.js +1 -0
- package/i18n/zh-CN.js +1 -0
- package/i18n/zh-TW.js +1 -0
- package/package.json +3 -3
- package/types/index.d.ts +1 -1
- package/types/lib/components/combobox-with-api-pagination/combobox-with-api-pagination.d.ts +16 -2
- package/types/lib/components/combobox-with-api-pagination/index.d.ts +1 -1
- package/types/lib/components/combobox-with-api-pagination/types.d.ts +5 -8
- package/types/lib/components/metadata-editor-fields/components/metadata-taxonomy-field/metadata-taxonomy-field.d.ts +3 -0
- package/types/lib/components/metadata-editor-fields/components/metadata-taxonomy-field/types.d.ts +6 -21
- package/types/lib/components/metadata-editor-fields/components/update-mode-field-wrapper/update-mode-field-wrapper.d.ts +2 -1
- package/types/lib/components/metadata-editor-fields/editor-field-types.d.ts +1 -0
- package/types/lib/components/metadata-editor-fields/metadata-editor-field-wrapper.d.ts +1 -0
- package/types/lib/components/metadata-editor-fields/types.d.ts +5 -0
- package/types/lib/components/metadata-editor-fields/utils.d.ts +3 -0
- package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form/types.d.ts +4 -2
- package/types/lib/components/metadata-instance-editor/types.d.ts +2 -4
- package/types/lib/messages.d.ts +5 -0
- package/types/lib/test-utils/sample-data.d.ts +4 -1
- package/types/lib/types.d.ts +11 -3
- package/esm/lib/components/metadata-editor-fields/components/metadata-taxonomy-field/index.js +0 -4
- package/esm/lib/components/metadata-editor-fields/components/metadata-taxonomy-field/single-level-taxonomy-field.js +0 -8
- package/types/lib/components/metadata-editor-fields/components/metadata-taxonomy-field/index.d.ts +0 -2
- package/types/lib/components/metadata-editor-fields/components/metadata-taxonomy-field/single-level-taxonomy-field.d.ts +0 -5
@@ -1,21 +1,21 @@
|
|
1
1
|
import "../../../../../../styles/metadata-instance-form.css";
|
2
|
-
import { Card as
|
3
|
-
import { Formik as
|
4
|
-
import { useState as c, useRef as U, useEffect as _, useMemo as
|
5
|
-
import { TEMPLATE_CUSTOM_PROPERTIES as
|
6
|
-
import { useAutofill as
|
7
|
-
import { TemplateInstance as
|
8
|
-
import { MetadataEmptyState as
|
9
|
-
import { UnsavedChangesModal as
|
10
|
-
import { CustomInstance as
|
11
|
-
import { DeleteConfirmationModal as
|
12
|
-
import { MetadataInstanceFormFooter as
|
13
|
-
import { MetadataInstanceFormHeader as
|
14
|
-
import { createJSONPatch as
|
2
|
+
import { Card as N } from "@box/blueprint-web";
|
3
|
+
import { Formik as x, Form as P } from "formik";
|
4
|
+
import { useState as c, useRef as U, useEffect as _, useMemo as L } from "react";
|
5
|
+
import { TEMPLATE_CUSTOM_PROPERTIES as R } from "../../../../constants.js";
|
6
|
+
import { useAutofill as B } from "../../../../utils/autofill-context.js";
|
7
|
+
import { TemplateInstance as K } from "../../../metadata-editor-fields/metadata-editor-fields.js";
|
8
|
+
import { MetadataEmptyState as j } from "../../../metadata-empty-state/metadata-empty-state.js";
|
9
|
+
import { UnsavedChangesModal as k } from "../../../unsaved-changes-modal/unsaved-changes-modal.js";
|
10
|
+
import { CustomInstance as $ } from "../custom-instance/custom-instance.js";
|
11
|
+
import { DeleteConfirmationModal as w } from "../delete-confirmation-modal/delete-confirmation-modal.js";
|
12
|
+
import { MetadataInstanceFormFooter as H } from "../metadata-instance-form-footer/metadata-instance-form-footer.js";
|
13
|
+
import { MetadataInstanceFormHeader as J } from "../metadata-instance-form-header/metadata-instance-form-header.js";
|
14
|
+
import { createJSONPatch as V } from "./utils.js";
|
15
15
|
import { jsx as t, jsxs as d } from "react/jsx-runtime";
|
16
|
-
const
|
17
|
-
metadataInstanceForm:
|
18
|
-
},
|
16
|
+
const q = "_metadataInstanceForm_1hu4u_1", z = {
|
17
|
+
metadataInstanceForm: q
|
18
|
+
}, le = (p) => {
|
19
19
|
const {
|
20
20
|
areAiSuggestionsAvailable: f,
|
21
21
|
isAiSuggestionsFeatureEnabled: o,
|
@@ -23,74 +23,76 @@ const V = "_metadataInstanceForm_1hu4u_1", q = {
|
|
23
23
|
isUnsavedChangesModalOpen: g = !1,
|
24
24
|
onCancel: h,
|
25
25
|
onDelete: C,
|
26
|
-
|
26
|
+
onDiscardUnsavedChanges: F,
|
27
|
+
onSubmit: M,
|
27
28
|
selectedTemplateInstance: e,
|
28
29
|
setIsUnsavedChangesModalOpen: i,
|
29
|
-
|
30
|
-
} = p, [
|
30
|
+
taxonomyOptionsFetcher: S
|
31
|
+
} = p, [E, r] = c(!1), {
|
31
32
|
isFetchingSuggestions: n,
|
32
|
-
getAiSuggestions:
|
33
|
-
} =
|
34
|
-
await
|
35
|
-
},
|
33
|
+
getAiSuggestions: I
|
34
|
+
} = B(), s = e.templateKey === R, D = async (a) => {
|
35
|
+
await M(a, V(a, e));
|
36
|
+
}, y = (a) => {
|
36
37
|
a ? i(!0) : h();
|
37
38
|
}, b = () => {
|
38
39
|
r(!0);
|
39
|
-
},
|
40
|
+
}, A = {
|
40
41
|
metadata: {
|
41
42
|
...e
|
42
43
|
}
|
43
|
-
}, m = U(null), [l,
|
44
|
+
}, m = U(null), [l, O] = c(null);
|
44
45
|
_(() => {
|
45
|
-
|
46
|
+
O(m.current);
|
46
47
|
}, [e.templateKey, e.scope]);
|
47
|
-
const
|
48
|
+
const T = L(() => {
|
48
49
|
const a = e.fields.length === 0;
|
49
|
-
return s ? /* @__PURE__ */ t(
|
50
|
+
return s ? /* @__PURE__ */ t($, {
|
50
51
|
isLoading: n
|
51
|
-
}) : a ? /* @__PURE__ */ t(
|
52
|
+
}) : a ? /* @__PURE__ */ t(j, {
|
52
53
|
isBoxAiSuggestionsFeatureEnabled: o,
|
53
54
|
level: "instance"
|
54
|
-
}) : /* @__PURE__ */ t(
|
55
|
+
}) : /* @__PURE__ */ t(K, {
|
55
56
|
disableForm: n,
|
56
|
-
portalElement: l
|
57
|
+
portalElement: l,
|
58
|
+
taxonomyOptionsFetcher: S
|
57
59
|
});
|
58
60
|
}, [s, e.fields.length, n, o, l]);
|
59
|
-
return /* @__PURE__ */ t(
|
60
|
-
initialValues:
|
61
|
-
onSubmit:
|
61
|
+
return /* @__PURE__ */ t(x, {
|
62
|
+
initialValues: A,
|
63
|
+
onSubmit: D,
|
62
64
|
children: ({
|
63
65
|
values: a,
|
64
|
-
dirty:
|
66
|
+
dirty: v
|
65
67
|
}) => /* @__PURE__ */ d(P, {
|
66
|
-
children: [/* @__PURE__ */ d(
|
68
|
+
children: [/* @__PURE__ */ d(N, {
|
67
69
|
ref: m,
|
68
|
-
className:
|
69
|
-
children: [/* @__PURE__ */ t(
|
70
|
+
className: z.metadataInstanceForm,
|
71
|
+
children: [/* @__PURE__ */ t(J, {
|
70
72
|
areAiSuggestionsAvailable: f,
|
71
73
|
isAiSuggestionsFeatureEnabled: o && !s,
|
72
74
|
isLoading: n,
|
73
|
-
onAutofill:
|
75
|
+
onAutofill: I,
|
74
76
|
templateName: e.displayName
|
75
|
-
}),
|
77
|
+
}), T, /* @__PURE__ */ t(H, {
|
76
78
|
isDeleteButtonDisabled: u,
|
77
79
|
isLoading: n,
|
78
|
-
onCancel: () =>
|
80
|
+
onCancel: () => y(v),
|
79
81
|
onDelete: b
|
80
82
|
})]
|
81
|
-
}), /* @__PURE__ */ t(
|
83
|
+
}), /* @__PURE__ */ t(k, {
|
82
84
|
onBackToEdit: () => i(!1),
|
83
|
-
onDiscardChanges:
|
85
|
+
onDiscardChanges: F,
|
84
86
|
open: g
|
85
|
-
}), /* @__PURE__ */ t(
|
87
|
+
}), /* @__PURE__ */ t(w, {
|
86
88
|
onConfirm: () => C(e),
|
87
89
|
onDismiss: () => r(!1),
|
88
|
-
open:
|
90
|
+
open: E,
|
89
91
|
templateName: e.displayName
|
90
92
|
})]
|
91
93
|
})
|
92
94
|
}, `${e.scope}.${e.templateKey}`);
|
93
95
|
};
|
94
96
|
export {
|
95
|
-
|
97
|
+
le as MetadataInstanceForm
|
96
98
|
};
|
package/esm/lib/defaults.js
CHANGED
package/esm/lib/messages.js
CHANGED
@@ -60,6 +60,10 @@ const t = e({
|
|
60
60
|
id: "groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth",
|
61
61
|
defaultMessage: "Switch to previous month"
|
62
62
|
},
|
63
|
+
taxonomyPlaceholder: {
|
64
|
+
id: "groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder",
|
65
|
+
defaultMessage: "Select an option"
|
66
|
+
},
|
63
67
|
templateSelectorModalHeader: {
|
64
68
|
id: "groupSharedFeatures.metadataEditor.metadataTemplateSelector.header",
|
65
69
|
defaultMessage: "Select Metadata Template"
|
package/i18n/bn-IN.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "মান সেট করুন",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "পরবর্তী মাসে যান",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "পূর্ববর্তী মাসে যান",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "আপডেট মোড নির্বাচনকারী টগল করুন",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "এর সাথে",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "যোগ করুন",
|
package/i18n/da-DK.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Indstil værdi",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Skift til næste måned",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Skift til forrige måned",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Slå valg af opdateringstilstand til eller fra",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Med",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Tilføj",
|
package/i18n/de-DE.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Wert festlegen",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Zum nächsten Monat wechseln",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Zum vorherigen Monat wechseln",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Wähler für Aktualisierungsmodus umschalten",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Mit",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Hinzufügen",
|
package/i18n/en-AU.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Set Value",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Switch to next month",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Switch to previous month",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Toggle update mode selector",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "With",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Add",
|
package/i18n/en-CA.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Set Value",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Switch to next month",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Switch to previous month",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Toggle update mode selector",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "With",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Add",
|
package/i18n/en-GB.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Set Value",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Switch to next month",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Switch to previous month",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Toggle update mode selector",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "With",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Add",
|
package/i18n/en-US.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Set Value",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Switch to next month",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Switch to previous month",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Toggle update mode selector",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "With",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Add",
|
package/i18n/en-US.properties
CHANGED
@@ -46,6 +46,8 @@ groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder = Se
|
|
46
46
|
groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth = Switch to next month
|
47
47
|
# Aria label for switching to the previous month in the calendar
|
48
48
|
groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth = Switch to previous month
|
49
|
+
# Placeholder text for selecting a taxonomy option
|
50
|
+
groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder = Select an option
|
49
51
|
# aria-label for an icon button that toggles visiblity of update mode slection radio control.
|
50
52
|
groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel = Toggle update mode selector
|
51
53
|
# Label for the additional input field that appears when the selected update mode is "Replace Entered"
|
package/i18n/en-x-pseudo.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "⟦萬萬 Ŝєτ Vàĺúē 國國⟧",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "⟦萬萬萬萬萬 Śшĭτçĥ ţő ŋέхţ móņţн 國國國國國⟧",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "⟦萬萬萬萬萬萬萬 Şщιťċн τσ Ρřéνįöŭѕ mõлťĥ 國國國國國國國⟧",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "⟦萬萬萬萬萬萬萬萬 Ťοğġļė ųΡďãτё möďέ ŝέļěçťòя 國國國國國國國國⟧",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "⟦萬 Щīŧĥ 國⟧",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "⟦ Äďď ⟧",
|
package/i18n/es-419.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Establecer un valor",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Cambiar al mes que viene",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Cambiar al mes anterior",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Alternar selector modo de actualización",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Con",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Agregar",
|
package/i18n/es-ES.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Establecer un valor",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Cambiar al mes que viene",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Cambiar al mes anterior",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Alternar selector modo de actualización",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Con",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Agregar",
|
package/i18n/fi-FI.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Aseta arvo",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Vaihda seuraavaan kuukauteen",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Vaihda edelliseen kuukauteen",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Vaihda päivityksen muodon valitsinta",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Korvaava syöte",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Lisää",
|
package/i18n/fr-CA.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Définir la valeur",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Passer au mois suivant",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Passer au mois précédent",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Basculer le sélecteur de mode de mise à jour",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Avec",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Ajouter",
|
package/i18n/fr-FR.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Définir la valeur",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Passer au mois suivant",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Passer au mois précédent",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Basculer le sélecteur de mode de mise à jour",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Avec",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Ajouter",
|
package/i18n/hi-IN.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "वैल्यू सेट करें",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "अगले महीने में स्विच करें",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "पिछले महीने में स्विच करें",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "अपडेट मोड सेलेक्टर को टॉगल करें",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "इसके साथ",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "जोड़ें",
|
package/i18n/it-IT.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Imposta valore",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Passa al mese successivo",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Passa al mese precedente",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Attiva/disattiva il selettore della modalità di aggiornamento",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Con",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Aggiungi",
|
package/i18n/ja-JP.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "値を設定",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "翌月に切り替え",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "前月に切り替え",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "更新モードセレクタの切り替え",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "置き換え後の値",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "追加",
|
@@ -1 +1 @@
|
|
1
|
-
[{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.afterDateValidationError","description":"Error message shown if an invalid after date is entered. {date} represents the date entered by the user.","defaultMessage":"Enter a date after {date}"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.beforeDateValidationError","description":"Error message shown if an invalid before date is entered. {date} represents the date entered by the user.","defaultMessage":"Enter a date before {date}"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.clearSelectedDate","description":"Aria label for clearing the selected date","defaultMessage":"Clear selected date"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.floatFieldInvalidValue","description":"Error message shown for an invalid field value","defaultMessage":"Invalid field value"},{"id":"groupSharedFeatures.metadataEditor.loading","description":"Aria label indicating that content is loading or in progress","defaultMessage":"loading"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.multiselectPlaceholder","description":"Placeholder text for the multiselect field","defaultMessage":"Select value(s)"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.noTemplateAtributesError","description":"Error message shown if no attributes are available in the template","defaultMessage":"There are no attributes in this template."},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.openCalendarLabel","description":"Aria label for opening the calendar to pick a date","defaultMessage":"Open calendar to pick a date"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.selectDate","description":"Aria label for selecting the date","defaultMessage":"Select the date"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate","description":"Placeholder text prompting the user to select a template","defaultMessage":"Select a Template"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError","description":"Error message displayed when templates fail to load","defaultMessage":"Could not load templates. Try again later"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.selectValuePlaceholder","description":"Placeholder text for selecting a value","defaultMessage":"Select a value"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder","description":"Placeholder text for setting a value","defaultMessage":"Set Value"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth","description":"Aria label for switching to the next month in the calendar","defaultMessage":"Switch to next month"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth","description":"Aria label for switching to the previous month in the calendar","defaultMessage":"Switch to previous month"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.header","description":"Title for the metadata template selection dialog","defaultMessage":"Select Metadata Template"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.searchInputPlaceholder","description":"Placeholder text for the search input in the metadata template selector modal","defaultMessage":"Search all templates"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.searchInputIconAriaLabel","description":"Accessibility label for icon inside the search input that filters the templates in the metadata template selection dialog","defaultMessage":"Search all templates"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.searchInputClearAriaLabel","description":"Accessibility label for the button that clears the value of the search input that filters the templates in the metadata template selection dialog","defaultMessage":"Clear"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.cancel","description":"Label for the button that dismisses the template selection dialog","defaultMessage":"Cancel"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add","description":"Label for the button that applies the selection and closes the template selection dialog","defaultMessage":"Add"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.close","description":"Aria label for the button that closes the template selection dialog","defaultMessage":"Close"}]
|
1
|
+
[{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.afterDateValidationError","description":"Error message shown if an invalid after date is entered. {date} represents the date entered by the user.","defaultMessage":"Enter a date after {date}"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.beforeDateValidationError","description":"Error message shown if an invalid before date is entered. {date} represents the date entered by the user.","defaultMessage":"Enter a date before {date}"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.clearSelectedDate","description":"Aria label for clearing the selected date","defaultMessage":"Clear selected date"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.floatFieldInvalidValue","description":"Error message shown for an invalid field value","defaultMessage":"Invalid field value"},{"id":"groupSharedFeatures.metadataEditor.loading","description":"Aria label indicating that content is loading or in progress","defaultMessage":"loading"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.multiselectPlaceholder","description":"Placeholder text for the multiselect field","defaultMessage":"Select value(s)"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.noTemplateAtributesError","description":"Error message shown if no attributes are available in the template","defaultMessage":"There are no attributes in this template."},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.openCalendarLabel","description":"Aria label for opening the calendar to pick a date","defaultMessage":"Open calendar to pick a date"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.selectDate","description":"Aria label for selecting the date","defaultMessage":"Select the date"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplate","description":"Placeholder text prompting the user to select a template","defaultMessage":"Select a Template"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.selectTemplateError","description":"Error message displayed when templates fail to load","defaultMessage":"Could not load templates. Try again later"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.selectValuePlaceholder","description":"Placeholder text for selecting a value","defaultMessage":"Select a value"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder","description":"Placeholder text for setting a value","defaultMessage":"Set Value"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth","description":"Aria label for switching to the next month in the calendar","defaultMessage":"Switch to next month"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth","description":"Aria label for switching to the previous month in the calendar","defaultMessage":"Switch to previous month"},{"id":"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder","description":"Placeholder text for selecting a taxonomy option","defaultMessage":"Select an option"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.header","description":"Title for the metadata template selection dialog","defaultMessage":"Select Metadata Template"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.searchInputPlaceholder","description":"Placeholder text for the search input in the metadata template selector modal","defaultMessage":"Search all templates"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.searchInputIconAriaLabel","description":"Accessibility label for icon inside the search input that filters the templates in the metadata template selection dialog","defaultMessage":"Search all templates"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.searchInputClearAriaLabel","description":"Accessibility label for the button that clears the value of the search input that filters the templates in the metadata template selection dialog","defaultMessage":"Clear"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.cancel","description":"Label for the button that dismisses the template selection dialog","defaultMessage":"Cancel"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add","description":"Label for the button that applies the selection and closes the template selection dialog","defaultMessage":"Add"},{"id":"groupSharedFeatures.metadataEditor.metadataTemplateSelector.close","description":"Aria label for the button that closes the template selection dialog","defaultMessage":"Close"}]
|
package/i18n/ko-KR.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "값 설정",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "다음 달로 전환",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "이전 달로 전환",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "업데이트 모드 선택기 토글",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "포함",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "추가",
|
package/i18n/nb-NO.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Angi verdi",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Bytt til neste måned",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Bytt til forrige måned",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Veksle mellom valg av oppdateringsmodus",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Med",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Legg til",
|
package/i18n/nl-NL.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Waarde instellen",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Overschakelen naar volgende maand",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Overschakelen naar vorige maand",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Selectie voor updatemodus aan-/uitschakelen",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Met",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Toevoegen",
|
package/i18n/pl-PL.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Ustaw wartość",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Przełącz na następny miesiąc",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Przełącz na poprzedni miesiąc",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Przełącz selektor trybu aktualizacji",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Z",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Dodaj",
|
package/i18n/pt-BR.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Definir valor",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Mudar para o próximo mês",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Mudar para o mês anterior",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Alternar seletor de modo de atualização",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Com",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Adicionar",
|
package/i18n/ru-RU.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Установить значение",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Перейти на следующий месяц",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Перейти на предыдущий месяц",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Переключение выбора режима обновления",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "на",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Добавить",
|
package/i18n/sv-SE.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Ange värde",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Byt till nästa månad",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Byt till föregående månad",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Växla väljare för uppdateringsläge",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Med",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Lägg till",
|
package/i18n/tr-TR.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "Değeri Ayarla",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "Bir sonraki aya geçin",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "Bir önceki aya geçin",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "Güncelleme modu seçicisini aç / kapat",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "Birlikte Olduğu Öğe",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "Ekle",
|
package/i18n/zh-CN.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "设置数值",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "切换到下一个月",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "切换到上一个月",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "切换更新模式选择器",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "具有",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "添加",
|
package/i18n/zh-TW.js
CHANGED
@@ -23,6 +23,7 @@ export default {
|
|
23
23
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.setValuePlaceholder": "設定值",
|
24
24
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToNextMonth": "切換至下個月",
|
25
25
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.switchToPreviousMonth": "切換至上個月",
|
26
|
+
"groupSharedFeatures.metadataEditor.metadataEditorFields.taxonomyPlaceholder": "Select an option",
|
26
27
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.toggleUpdateModeSelectiorAriaLabel": "切換更新模式選擇器",
|
27
28
|
"groupSharedFeatures.metadataEditor.metadataEditorFields.with": "換成",
|
28
29
|
"groupSharedFeatures.metadataEditor.metadataTemplateSelector.add": "新增",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@box/metadata-editor",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.64.1",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@ariakit/react": "0.4.5",
|
6
6
|
"@box/blueprint-web": "^7.30.3",
|
@@ -14,7 +14,7 @@
|
|
14
14
|
"devDependencies": {
|
15
15
|
"@ariakit/react": "0.4.5",
|
16
16
|
"@box/babel-plugin-target-attributes": "1.3.0",
|
17
|
-
"@box/blueprint-web": "^7.
|
17
|
+
"@box/blueprint-web": "^7.33.0",
|
18
18
|
"@box/blueprint-web-assets": "^4.27.0",
|
19
19
|
"@box/storybook-utils": "^0.6.1",
|
20
20
|
"@testing-library/react": "^15.0.6",
|
@@ -53,5 +53,5 @@
|
|
53
53
|
"**/*.css"
|
54
54
|
],
|
55
55
|
"license": "SEE LICENSE IN LICENSE",
|
56
|
-
"gitHead": "
|
56
|
+
"gitHead": "655a58b8accd00ab49186551834a7a0c7b9237f4"
|
57
57
|
}
|
package/types/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export * from './lib/components/add-metadata-template-dropdown';
|
2
|
+
export * from './lib/components/combobox-with-api-pagination';
|
2
3
|
export * from './lib/components/filter-dropdown-menu';
|
3
|
-
export * from './lib/components/metadata-editor-fields/components/metadata-taxonomy-field';
|
4
4
|
export * from './lib/components/metadata-empty-state/metadata-empty-state';
|
5
5
|
export * from './lib/components/metadata-instance-editor';
|
6
6
|
export * from './lib/components/metadata-instance-list';
|
@@ -1,2 +1,16 @@
|
|
1
|
-
import { type BaseOptionType
|
2
|
-
export declare const ComboboxWithApiPagination:
|
1
|
+
import { type BaseOptionType } from './types';
|
2
|
+
export declare const ComboboxWithApiPagination: import("react").ForwardRefExoticComponent<{
|
3
|
+
defaultFetcher(input: import("./types").PaginationQueryInput): Promise<import("./types").FetcherResponse<BaseOptionType>>;
|
4
|
+
placeholder?: string;
|
5
|
+
includeTextInputOption?: boolean;
|
6
|
+
noResultMessage?: string | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
7
|
+
onInputValueChange?: (inputValue: string) => void;
|
8
|
+
multiselect?: boolean;
|
9
|
+
onValueChange?: (selectedOptions: BaseOptionType[]) => void;
|
10
|
+
value?: BaseOptionType[];
|
11
|
+
defaultValue?: BaseOptionType[];
|
12
|
+
disabled?: boolean;
|
13
|
+
loadingAriaLabel?: string;
|
14
|
+
portalElement?: HTMLElement | (() => HTMLElement);
|
15
|
+
experimentalVirtualization?: boolean;
|
16
|
+
} & import("@box/blueprint-web").Labelable & import("react").RefAttributes<HTMLInputElement>>;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export { ComboboxWithApiPagination } from './combobox-with-api-pagination';
|
2
|
-
export type { ComboboxWithApiPaginationProps } from './types';
|
2
|
+
export type { ComboboxWithApiPaginationProps, PaginationQueryInput, BaseOptionType, FetcherResponse } from './types';
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { type ReactElement } from 'react';
|
2
|
+
import { type Labelable } from '@box/blueprint-web/src/lib/util-components/labelable/types';
|
2
3
|
export interface PaginationQueryInput {
|
3
4
|
marker?: string;
|
4
5
|
searchInput?: string;
|
@@ -15,22 +16,18 @@ export interface BaseOptionType {
|
|
15
16
|
displayValue?: string;
|
16
17
|
value: string;
|
17
18
|
}
|
18
|
-
|
19
|
+
export type ComboboxWithApiPaginationProps<T extends BaseOptionType> = {
|
19
20
|
defaultFetcher(input: PaginationQueryInput): Promise<FetcherResponse<T>>;
|
21
|
+
placeholder?: string;
|
20
22
|
includeTextInputOption?: boolean;
|
21
23
|
noResultMessage?: ReactElement | string;
|
22
24
|
onInputValueChange?: (inputValue: string) => void;
|
23
|
-
multiselect
|
25
|
+
multiselect?: boolean;
|
24
26
|
onValueChange?: (selectedOptions: T[]) => void;
|
25
27
|
value?: T[];
|
26
28
|
defaultValue?: T[];
|
27
29
|
disabled?: boolean;
|
28
|
-
label: string;
|
29
30
|
loadingAriaLabel?: string;
|
30
31
|
portalElement?: HTMLElement | (() => HTMLElement);
|
31
32
|
experimentalVirtualization?: boolean;
|
32
|
-
}
|
33
|
-
export type SingleSelectComboboxWithApiPaginationProps<T extends BaseOptionType> = BaseComboboxProps<T, false>;
|
34
|
-
export type MultiselectComboboxWithApiPaginationProps<T extends BaseOptionType> = BaseComboboxProps<T, true>;
|
35
|
-
export type ComboboxWithApiPaginationProps<T extends BaseOptionType> = SingleSelectComboboxWithApiPaginationProps<T> | MultiselectComboboxWithApiPaginationProps<T>;
|
36
|
-
export {};
|
33
|
+
} & Labelable;
|
package/types/lib/components/metadata-editor-fields/components/metadata-taxonomy-field/types.d.ts
CHANGED
@@ -1,21 +1,6 @@
|
|
1
|
-
import { type
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
*/
|
8
|
-
signal?: AbortSignal;
|
9
|
-
}
|
10
|
-
export interface TaxonomyFetcherResponse {
|
11
|
-
marker?: string;
|
12
|
-
options: TaxonomyComboboxOption[];
|
13
|
-
}
|
14
|
-
export interface TaxonomyComboboxOption {
|
15
|
-
id?: string;
|
16
|
-
value: string;
|
17
|
-
level?: number;
|
18
|
-
parentId?: string;
|
19
|
-
disabled?: boolean;
|
20
|
-
}
|
21
|
-
export type SingleLevelTaxonomyFieldProps = ComboboxWithApiPaginationProps<TaxonomyComboboxOption>;
|
1
|
+
import { type BaseOptionType, type FetcherResponse, type PaginationQueryInput } from '../../../combobox-with-api-pagination/types';
|
2
|
+
import { type MetadataFieldProps } from '../../types';
|
3
|
+
export type MetadataTaxonomyFieldProps = Omit<MetadataFieldProps, 'portalElement'> & {
|
4
|
+
portalElement?: HTMLElement | (() => HTMLElement);
|
5
|
+
};
|
6
|
+
export type TaxonomyOptionsFetcher = (scope: string, templateKey: string, fieldKey: string, level: number, options: PaginationQueryInput) => Promise<FetcherResponse<BaseOptionType>>;
|
@@ -5,8 +5,9 @@ export interface UpdateModeFieldWrapperProps {
|
|
5
5
|
children: React.ReactNode;
|
6
6
|
fieldType: MetadataTemplateFieldType;
|
7
7
|
fieldNamePrefix: string;
|
8
|
+
isTaxonomyMultiSelect: boolean;
|
8
9
|
}
|
9
10
|
export declare const UpdateModeFieldWrapper: {
|
10
|
-
({ children, fieldNamePrefix, fieldType }: UpdateModeFieldWrapperProps): import("react/jsx-runtime").JSX.Element;
|
11
|
+
({ children, fieldNamePrefix, fieldType, isTaxonomyMultiSelect, }: UpdateModeFieldWrapperProps): import("react/jsx-runtime").JSX.Element;
|
11
12
|
displayName: string;
|
12
13
|
};
|
@@ -5,4 +5,5 @@ export declare const editorFieldTypes: {
|
|
5
5
|
float: import("react").ForwardRefExoticComponent<MetadataFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
6
6
|
multiSelect: import("react").ForwardRefExoticComponent<MetadataFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
7
7
|
string: import("react").ForwardRefExoticComponent<MetadataFieldProps & import("react").RefAttributes<HTMLInputElement>>;
|
8
|
+
taxonomy: (props: MetadataFieldProps) => import("react/jsx-runtime").JSX.Element;
|
8
9
|
};
|