@box/metadata-editor 0.45.0 → 0.46.0
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 +65 -0
- package/esm/lib/components/metadata-editor-fields/components/ai-suggestion-field/ai-suggestion-field.js +76 -0
- package/esm/lib/components/metadata-editor-fields/components/ai-suggestion-field/index.js +4 -0
- package/esm/lib/components/metadata-editor-fields/components/ai-suggestion-field/messages.js +26 -0
- package/esm/lib/components/metadata-editor-fields/components/ai-suggestion-field/utils.js +13 -0
- package/esm/lib/components/metadata-editor-fields/components/metadata-date-field/metadata-date-field.js +49 -45
- package/esm/lib/components/metadata-editor-fields/components/metadata-enum-field/metadata-enum-field.js +21 -19
- package/esm/lib/components/metadata-editor-fields/components/metadata-float-field/metadata-float-field.js +28 -26
- package/esm/lib/components/metadata-editor-fields/components/metadata-multi-select-field/metadata-multi-select-field.js +27 -25
- package/esm/lib/components/metadata-editor-fields/components/metadata-string-field/metadata-string-field.js +22 -20
- package/esm/lib/components/metadata-editor-fields/metadata-editor-field-wrapper.js +12 -0
- package/esm/lib/components/metadata-editor-fields/metadata-editor-fields.js +22 -43
- package/esm/lib/test-utils/sample-data.js +8 -8
- package/i18n/bn-IN.js +5 -0
- package/i18n/da-DK.js +5 -0
- package/i18n/de-DE.js +5 -0
- package/i18n/en-AU.js +5 -0
- package/i18n/en-CA.js +5 -0
- package/i18n/en-GB.js +5 -0
- package/i18n/en-US.js +5 -0
- package/i18n/en-US.properties +10 -0
- package/i18n/en-x-pseudo.js +5 -0
- package/i18n/es-419.js +5 -0
- package/i18n/es-ES.js +5 -0
- package/i18n/fi-FI.js +5 -0
- package/i18n/fr-CA.js +5 -0
- package/i18n/fr-FR.js +5 -0
- package/i18n/hi-IN.js +5 -0
- package/i18n/it-IT.js +5 -0
- package/i18n/ja-JP.js +5 -0
- package/i18n/json/src/lib/components/metadata-editor-fields/components/ai-suggestion-field/messages.json +1 -0
- package/i18n/ko-KR.js +5 -0
- package/i18n/nb-NO.js +5 -0
- package/i18n/nl-NL.js +5 -0
- package/i18n/pl-PL.js +5 -0
- package/i18n/pt-BR.js +5 -0
- package/i18n/ru-RU.js +5 -0
- package/i18n/sv-SE.js +5 -0
- package/i18n/tr-TR.js +5 -0
- package/i18n/zh-CN.js +5 -0
- package/i18n/zh-TW.js +5 -0
- package/package.json +2 -2
- package/styles/ai-suggestion-field.css +1 -0
- package/styles/metadata-editor-field-wrapper.css +1 -0
- package/types/lib/components/metadata-editor-fields/components/ai-suggestion-field/ai-suggestion-field.d.ts +2 -0
- package/types/lib/components/metadata-editor-fields/components/ai-suggestion-field/index.d.ts +1 -0
- package/types/lib/components/metadata-editor-fields/components/ai-suggestion-field/messages.d.ts +28 -0
- package/types/lib/components/metadata-editor-fields/components/ai-suggestion-field/types.d.ts +21 -0
- package/types/lib/components/metadata-editor-fields/components/ai-suggestion-field/utils.d.ts +3 -0
- package/types/lib/components/metadata-editor-fields/components/metadata-date-field/metadata-date-field.d.ts +1 -1
- package/types/lib/components/metadata-editor-fields/components/metadata-enum-field/metadata-enum-field.d.ts +1 -1
- package/types/lib/components/metadata-editor-fields/components/metadata-float-field/metadata-float-field.d.ts +1 -1
- package/types/lib/components/metadata-editor-fields/components/metadata-multi-select-field/metadata-multi-select-field.d.ts +1 -1
- package/types/lib/components/metadata-editor-fields/components/metadata-string-field/metadata-string-field.d.ts +1 -1
- package/types/lib/components/metadata-editor-fields/metadata-editor-field-wrapper.d.ts +2 -0
- package/types/lib/components/metadata-editor-fields/metadata-editor-fields.d.ts +1 -1
- package/types/lib/components/metadata-editor-fields/types.d.ts +6 -1
- package/types/lib/test-utils/sample-data.d.ts +2 -2
- package/types/lib/types.d.ts +2 -1
- package/styles/metadata-editor-fields.css +0 -1
@@ -1,52 +1,31 @@
|
|
1
|
-
import "
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import
|
5
|
-
import {
|
6
|
-
import
|
7
|
-
|
8
|
-
import { editorFieldTypes as g } from "./editor-field-types.js";
|
9
|
-
import { jsx as t } from "react/jsx-runtime";
|
10
|
-
const A = "_noAttributesText_1d0oi_1", F = {
|
11
|
-
noAttributesText: A
|
12
|
-
}, O = ({
|
13
|
-
disableForm: a,
|
14
|
-
portalElement: o
|
15
|
-
}) => {
|
1
|
+
import { Text as n } from "@box/blueprint-web";
|
2
|
+
import { useFormikContext as i, getIn as l, FieldArray as d } from "formik";
|
3
|
+
import { FormattedMessage as p } from "react-intl";
|
4
|
+
import c from "../../messages.js";
|
5
|
+
import { M as f, s as g } from "../../../../chunks/metadata-editor-field-wrapper.js";
|
6
|
+
import { jsx as e } from "react/jsx-runtime";
|
7
|
+
const A = (s) => {
|
16
8
|
const {
|
17
|
-
values:
|
18
|
-
} =
|
19
|
-
return
|
20
|
-
name:
|
9
|
+
values: o
|
10
|
+
} = i(), t = "metadata.fields", a = l(o, t);
|
11
|
+
return a.length ? /* @__PURE__ */ e(d, {
|
12
|
+
name: t,
|
21
13
|
validateOnChange: !1,
|
22
|
-
children: () =>
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
disableForm: a,
|
29
|
-
fieldNamePrefix: m,
|
30
|
-
label: e.displayName,
|
31
|
-
portalElement: o
|
32
|
-
})
|
33
|
-
}, e.key) : /* @__PURE__ */ t(r, {
|
34
|
-
disableForm: a,
|
35
|
-
fieldNamePrefix: `metadata.fields[${n}]`,
|
36
|
-
label: e.displayName,
|
37
|
-
portalElement: o
|
38
|
-
}, e.key) : null;
|
39
|
-
})
|
40
|
-
}) : /* @__PURE__ */ t(c, {
|
14
|
+
children: () => a.map((r, m) => /* @__PURE__ */ e(f, {
|
15
|
+
...s,
|
16
|
+
field: r,
|
17
|
+
index: m
|
18
|
+
}, r.key))
|
19
|
+
}) : /* @__PURE__ */ e(n, {
|
41
20
|
as: "span",
|
42
|
-
className:
|
21
|
+
className: g.noAttributesText,
|
43
22
|
color: "textOnLightSecondary",
|
44
|
-
children: /* @__PURE__ */
|
45
|
-
...
|
23
|
+
children: /* @__PURE__ */ e(p, {
|
24
|
+
...c.noTemplateAtributesError
|
46
25
|
})
|
47
26
|
});
|
48
27
|
};
|
49
28
|
export {
|
50
|
-
|
51
|
-
|
29
|
+
A as TemplateInstance,
|
30
|
+
A as default
|
52
31
|
};
|
@@ -66,7 +66,7 @@ const a = {
|
|
66
66
|
type: "metadata_template",
|
67
67
|
hidden: !1,
|
68
68
|
fields: [a, d, s, i, n, h, k]
|
69
|
-
},
|
69
|
+
}, M = {
|
70
70
|
hidden: !1,
|
71
71
|
id: "2",
|
72
72
|
displayName: "Non hidden metadata fields",
|
@@ -90,14 +90,14 @@ const a = {
|
|
90
90
|
type: "metadata_template",
|
91
91
|
fields: [],
|
92
92
|
hidden: !0
|
93
|
-
}, _ = [F, g, N],
|
93
|
+
}, _ = [F, g, N], U = {
|
94
94
|
id: "5",
|
95
95
|
scope: "enterprise_3",
|
96
96
|
templateKey: "properties",
|
97
97
|
type: "metadata_template",
|
98
98
|
fields: [],
|
99
99
|
hidden: !1
|
100
|
-
},
|
100
|
+
}, W = f(_), D = [a, d, s, i, n], l = {
|
101
101
|
id: "1",
|
102
102
|
type: "string",
|
103
103
|
key: "signature",
|
@@ -148,7 +148,7 @@ const a = {
|
|
148
148
|
id: "Engineering",
|
149
149
|
key: "Engineering"
|
150
150
|
}],
|
151
|
-
value: "Sales"
|
151
|
+
value: ["Sales", "Marketing"]
|
152
152
|
}, c = {
|
153
153
|
id: "6",
|
154
154
|
type: "string",
|
@@ -258,7 +258,7 @@ const a = {
|
|
258
258
|
export {
|
259
259
|
F as allFieldsTemplate,
|
260
260
|
K as allFieldsTemplateInstance,
|
261
|
-
|
261
|
+
U as customTemplate,
|
262
262
|
V as customTemplateInstance,
|
263
263
|
A as customTemplateInstanceWithAllFieldsEmpty,
|
264
264
|
C as customTemplateInstanceWithoutEmptyValues,
|
@@ -266,16 +266,16 @@ export {
|
|
266
266
|
b as emptyCustomTemplateInstance,
|
267
267
|
v as emptyTemplateInstance,
|
268
268
|
d as enumField,
|
269
|
-
|
269
|
+
D as fields,
|
270
270
|
s as floatField,
|
271
271
|
n as multiSelectField,
|
272
272
|
g as noFieldsTemplate,
|
273
273
|
k as noValueField,
|
274
|
-
|
274
|
+
M as nonHiddenFieldsTemplate,
|
275
275
|
a as stringField,
|
276
276
|
S as templateInstanceWithAllFieldsEmpty,
|
277
277
|
T as templateInstanceWithoutEmptyValues,
|
278
278
|
O as templateInstancesList,
|
279
|
-
|
279
|
+
W as templateOptions,
|
280
280
|
_ as templates
|
281
281
|
};
|
package/i18n/bn-IN.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "কাস্টম মেটাডেটা",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "টেমপ্লেট খুঁজুন",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "টেমপ্লেট যোগ করুন",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "আপনি কি সত্যিই \"{templateName}\" মেটাডেটা টেমপ্লেট এবং এই ফাইল থেকে এটির সব মান মুছে ফেলতে চান?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "নিশ্চিত করার জন্য \"{templateName}\" লিখুন",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "মুছে দেওয়ার পর মেটাডেটার মানগুলো আর পুনরুদ্ধার করা যাবে না।",
|
package/i18n/da-DK.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Brugerdefineret metadata",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Søg efter skabeloner",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Tilføj skabelon",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Er du sikker på, at du vil slette \"{templateName}\" metadataskabelon og alle dens værdier fra denne fil?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Type \"{templateName}\" for at bekræfte",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Når metadata-værdier er slettet, kan de ikke gendannes.",
|
package/i18n/de-DE.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Selbst definierte Metadaten",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Suchvorlagen",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Vorlage hinzufügen",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Möchten Sie die Metadaten-Vorlage „{templateName}“ und alle ihre Werte aus dieser Datei wirklich löschen?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Geben Sie „{templateName}“ ein, um zu bestätigen",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Nach dem Löschen können die Metadaten-Werte nicht wiederhergestellt werden.",
|
package/i18n/en-AU.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Custom Metadata",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Search templates",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Add template",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Are you sure you want to delete the \"{templateName}\" Metadata template, and all of its values from this file?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Type \"{templateName}\" to confirm",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Once deleted, Metadata values cannot be restored.",
|
package/i18n/en-CA.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Custom Metadata",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Search templates",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Add template",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Are you sure you want to delete the \"{templateName}\" Metadata template, and all of its values from this file?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Type \"{templateName}\" to confirm",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Once deleted, Metadata values cannot be restored.",
|
package/i18n/en-GB.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Custom Metadata",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Search templates",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Add template",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Are you sure you want to delete the \"{templateName}\" Metadata template, and all of its values from this file?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Type \"{templateName}\" to confirm",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Once deleted, Metadata values cannot be restored.",
|
package/i18n/en-US.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Custom Metadata",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Search templates",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Add template",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Are you sure you want to delete the \"{templateName}\" Metadata template, and all of its values from this file?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Type \"{templateName}\" to confirm",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Once deleted, Metadata values cannot be restored.",
|
package/i18n/en-US.properties
CHANGED
@@ -74,6 +74,16 @@ metadataEditor.addMetadataTemplate.customMetadataName = Custom Metadata
|
|
74
74
|
metadataEditor.addMetadataTemplate.search.placeholder = Search templates
|
75
75
|
# Call to encourage user to add metadata templates
|
76
76
|
metadataEditor.addMetadataTemplate.trigger.label = Add template
|
77
|
+
# Label for value suggested by Box AI
|
78
|
+
metadataEditor.aiSuggestionField.aiSuggestionCaption = Box AI suggestion:
|
79
|
+
# Aria-label for AI suggestion options
|
80
|
+
metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
|
81
|
+
# Label for appending the AI suggestion
|
82
|
+
metadataEditor.aiSuggestionField.appendLabel = Append
|
83
|
+
# Label for clearing the current value and applying the AI suggestion
|
84
|
+
metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
|
85
|
+
# Label for ignoring the AI suggestion
|
86
|
+
metadataEditor.aiSuggestionField.ignoreLabel = Ignore
|
77
87
|
# Paragraph asking user are they sure that they want to delete the template
|
78
88
|
metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Are you sure you want to delete the "{templateName}" Metadata template, and all of its values from this file?
|
79
89
|
# Label informing how to confirm deletion of the template
|
package/i18n/en-x-pseudo.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "⟦萬萬萬萬 Čũŝţôm Μĕŧãďατǻ 國國國國⟧",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "⟦萬萬萬萬 Ѕёàяçн ţęmΡļāţėѕ 國國國國⟧",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "⟦萬萬萬 Άďď τёmΡĺäŧє 國國國⟧",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Αŗё ŷòù ѕüґê ÿòũ ẁäπţ ťò ďεļëτê ţĥė \"{templateName}\" Мēτåďāτα ťеmΡĺäτê, áйď åľĺ ôƒ ιτŝ νåľųеş ƒŗõm ťнįŝ ƒįľê? 國國國國國國國國國國國國國國國國國國國國國國國國國國國國國⟧",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "⟦萬萬萬萬萬萬 ŦўΡε \"{templateName}\" ŧő čöήƒíŗm 國國國國國國⟧",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Óπ¢ė ďëľέťєď, Μėταďãτα νąĺūĕś ĉāńήõţ вê ґёѕŧοгéď. 國國國國國國國國國國國國國國⟧",
|
package/i18n/es-419.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Metadatos personalizados",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Buscar plantillas",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Agregar plantilla",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "¿Seguro que deseas eliminar la plantilla de metadatos \"{templateName}\" y todos sus valores de este archivo?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Escribe \"{templateName}\" para confirmar",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Una vez eliminados, los valores de metadatos no se podrán recuperar.",
|
package/i18n/es-ES.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Metadatos personalizados",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Buscar plantillas",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Agregar plantilla",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "¿Seguro que deseas eliminar la plantilla de metadatos \"{templateName}\" y todos sus valores de este archivo?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Escribe \"{templateName}\" para confirmar",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Una vez eliminados, los valores de metadatos no se podrán recuperar.",
|
package/i18n/fi-FI.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Mukautetut metatiedot",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Hae malleja",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Lisää malli",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Oletko varma, että haluat poistaa \"{templateName}\" Metatietomallin ja kaikki sen arvot tästä tiedostosta?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Kirjoita \"{templateName}\" vahvistaaksesi.",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Metatietoarvoja ei voi palauttaa, kun ne on poistettu.",
|
package/i18n/fr-CA.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Métadonnées personnalisées",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Modèles de recherche",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Ajouter un modèle",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Êtes-vous sûr de vouloir supprimer le modèle de métadonnées « {templateName} » et toutes ses valeurs contenues dans ce fichier ?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Saisissez « {templateName} » pour confirmer",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Une fois supprimées, les valeurs de métadonnées ne peuvent pas être restaurées.",
|
package/i18n/fr-FR.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Métadonnées personnalisées",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Modèles de recherche",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Ajouter un modèle",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Êtes-vous sûr de vouloir supprimer le modèle de métadonnées « {templateName} » et toutes ses valeurs contenues dans ce fichier ?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Saisissez « {templateName} » pour confirmer",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Une fois supprimées, les valeurs de métadonnées ne peuvent pas être restaurées.",
|
package/i18n/hi-IN.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "कस्टम मेटाडेटा",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "टेम्पलेट्स खोजें",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "टेम्पलेट जोड़ें",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "क्या आप वाकई इस फ़ाइल से \"{templateName}\" मेटाडेटा टेम्पलेट, और उसके सभी मूल्यमानों को हटाना चाहते हैं?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "पुष्टि करने के लिए \"{templateName}\" टाइप करें",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "हटने के बाद, मेटाडेटा मूल्यमानों को बहाल नहीं किया जा सकता है।",
|
package/i18n/it-IT.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Metadati personalizzati",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Cerca modelli",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Aggiungi modello",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Confermi di voler eliminare il modello di metadati \"{templateName}\" e tutti i suoi valori da questo file?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Digita \"{templateName}\" per confermare",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Una volta eliminati, i valori dei metadati non possono essere ripristinati.",
|
package/i18n/ja-JP.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "カスタムメタデータ",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "テンプレートを検索",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "テンプレートを追加",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "このファイルから、メタデータテンプレート「{templateName}」とそのすべての値を削除してもよろしいですか?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "「{templateName}」と入力して確認します",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "一度削除すると、メタデータ値は復元できません。",
|
@@ -0,0 +1 @@
|
|
1
|
+
[{"id":"metadataEditor.aiSuggestionField.aiSuggestionCaption","description":"Label for value suggested by Box AI","defaultMessage":"Box AI suggestion:"},{"id":"metadataEditor.aiSuggestionField.aiSuggestionOptions","description":"Aria-label for AI suggestion options","defaultMessage":"Options"},{"id":"metadataEditor.aiSuggestionField.appendLabel","description":"Label for appending the AI suggestion","defaultMessage":"Append"},{"id":"metadataEditor.aiSuggestionField.clearAndReplaceLabel","description":"Label for clearing the current value and applying the AI suggestion","defaultMessage":"Clear and Replace"},{"id":"metadataEditor.aiSuggestionField.ignoreLabel","description":"Label for ignoring the AI suggestion","defaultMessage":"Ignore"}]
|
package/i18n/ko-KR.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "사용자 정의 메타데이터",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "검색 템플릿",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "템플릿 추가",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "\"{templateName}\" 메타데이터 템플릿 및 이 파일에서 모든 값을 삭제하시겠습니까?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "확인하려면 \"{templateName}\"을 입력합니다.",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "일단 삭제된 메타데이터 값은 복원할 수 없습니다.",
|
package/i18n/nb-NO.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Tilpasset metadata",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Søk etter maler",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Legg til mal",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Er du sikker på at du vil slette metadatamalen «{templateName}», og alle verdiene i den fra denne filen?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Skriv «{templateName}» for å bekrefte",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Metadataverdier kan ikke gjenopprettes etter sletting.",
|
package/i18n/nl-NL.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Aangepaste metagegevens",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Sjablonen zoeken",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Sjabloon toevoegen",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Weet u zeker dat u de metagegevenssjabloon ‘{templateName}’ en al zijn waarden uit dit bestand wilt verwijderen?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Typ ‘{templateName}’ om te bevestigen",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Eenmaal verwijderd, kunnen metagegevenwaarden niet worden hersteld.",
|
package/i18n/pl-PL.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Niestandardowe metadane",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Szablony wyszukiwania",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Dodaj szablon",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Czy na pewno chcesz usunąć szablon metadanych „{templateName}” i wszystkie jego wartości z tego pliku?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Wpisz „{templateName}”, aby potwierdzić",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Po usunięciu wartości metadanych nie można przywrócić .",
|
package/i18n/pt-BR.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Metadados personalizados",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Modelos de pesquisa",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Adicionar modelo",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Tem certeza de que deseja excluir o modelo de metadados \"{templateName}\" e todos os seus valores deste arquivo?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Digite \"{templateName}\" para confirmar",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Após excluídos, os valores de metadados não podem ser restaurados.",
|
package/i18n/ru-RU.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Настраиваемые метаданные",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Шаблоны для поиска",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Добавить шаблон",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Удалить шаблон метаданных „{templateName}“ и все его значения из этого файла?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Введите „{templateName}“ для подтверждения",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "После удаления значения метаданных не могут быть восстановлены.",
|
package/i18n/sv-SE.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Anpassade metadata",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Sökmallar",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Lägg till mall",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Är du säker på att du vill radera metadatamallen \"{templateName}\" och alla dess värden från den här filen?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Skriv \"{templateName}\" för att bekräfta",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "När de har raderats kan metadatavärden inte återställas.",
|
package/i18n/tr-TR.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "Özel Meta Veri",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "Şablonları ara",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "Şablon ekle",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "\"{templateName}\" Meta Veri şablonunu ve tüm değerlerini bu dosyadan silmek istediğinizden emin misiniz?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Onaylamak için \"{templateName}\" yazın",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Silindikten sonra Meta Veri değerleri geri yüklenemez.",
|
package/i18n/zh-CN.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "自定义元数据",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "搜索模板",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "添加模板",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "是否确定要删除 “{templateName}” 元数据模板及其此文件中的所有值?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "键入 “{templateName}” 确认",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "元数据值一旦删除就无法恢复。",
|
package/i18n/zh-TW.js
CHANGED
@@ -37,6 +37,11 @@ export default {
|
|
37
37
|
"metadataEditor.addMetadataTemplate.customMetadataName": "自訂中繼資料",
|
38
38
|
"metadataEditor.addMetadataTemplate.search.placeholder": "搜尋範本",
|
39
39
|
"metadataEditor.addMetadataTemplate.trigger.label": "新增範本",
|
40
|
+
"metadataEditor.aiSuggestionField.aiSuggestionCaption": "Box AI suggestion:",
|
41
|
+
"metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
|
42
|
+
"metadataEditor.aiSuggestionField.appendLabel": "Append",
|
43
|
+
"metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
|
44
|
+
"metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
|
40
45
|
"metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "確定要刪除「{templateName}」中繼資料範本,以及此檔案中的所有值?",
|
41
46
|
"metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "輸入「{templateName}」以確認",
|
42
47
|
"metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "刪除後,中繼資料值將無法恢復。",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@box/metadata-editor",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.46.0",
|
4
4
|
"peerDependencies": {
|
5
5
|
"@ariakit/react": "0.4.5",
|
6
6
|
"@box/blueprint-web": "^7.20.0",
|
@@ -51,5 +51,5 @@
|
|
51
51
|
"**/*.css"
|
52
52
|
],
|
53
53
|
"license": "SEE LICENSE IN LICENSE",
|
54
|
-
"gitHead": "
|
54
|
+
"gitHead": "a1d739d4d115f44ddb2da0add592cd55804b9ebd"
|
55
55
|
}
|
@@ -0,0 +1 @@
|
|
1
|
+
._wrapperGradient_1izxt_1{background:linear-gradient(135deg,#fe03dc 0%,#2784fa 100%);border-radius:0 0 var(--radius-2) var(--radius-2)}._wrapperGradient_1izxt_1 ._wrapper_1izxt_1{display:flex;justify-content:space-between;align-items:center;-webkit-user-select:none;user-select:none;padding:var(--space-2) var(--space-3);position:relative;box-sizing:border-box;background:var(--background-background);background-clip:padding-box;border:var(--border-1) solid transparent;border-radius:inherit}._wrapperGradient_1izxt_1 ._wrapper_1izxt_1 ._buttons_1izxt_18{display:flex;gap:var(--space-1)}._wrapperGradient_1izxt_1 ._wrapper_1izxt_1 ._selectTrigger_1izxt_22{width:var(--size-6);height:var(--size-6)}
|
@@ -0,0 +1 @@
|
|
1
|
+
._noAttributesText_vykxc_1{text-align:center}._fieldWrapper_vykxc_5 ._hasSuggestion_vykxc_5>input,._fieldWrapper_vykxc_5 ._hasSuggestion_vykxc_5>button,._fieldWrapper_vykxc_5 ._hasSuggestion_vykxc_5>div[role=group]>div,._fieldWrapper_vykxc_5 ._hasSuggestion_vykxc_5>div>div{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}._fieldWrapper_vykxc_5 ._hasSuggestion_vykxc_5>input:not(:disabled):not(:focus-visible):not(._error_vykxc_13):hover,._fieldWrapper_vykxc_5 ._hasSuggestion_vykxc_5>button:not(:disabled):not(:focus-visible):not(._error_vykxc_13):hover,._fieldWrapper_vykxc_5 ._hasSuggestion_vykxc_5>div[role=group]>div:not(:disabled):not(:focus-visible):not(._error_vykxc_13):hover,._fieldWrapper_vykxc_5 ._hasSuggestion_vykxc_5>div>div:not(:disabled):not(:focus-visible):not(._error_vykxc_13):hover{border-bottom:none}._fieldWrapper_vykxc_5 ._hasSuggestion_vykxc_5 div[role=group]>div{margin-left:var(--border-1);margin-right:var(--border-1)}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { AiSuggestionField } from './ai-suggestion-field';
|
package/types/lib/components/metadata-editor-fields/components/ai-suggestion-field/messages.d.ts
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
aiSuggestionCaption: {
|
3
|
+
defaultMessage: string;
|
4
|
+
description: string;
|
5
|
+
id: string;
|
6
|
+
};
|
7
|
+
aiSuggestionOptions: {
|
8
|
+
defaultMessage: string;
|
9
|
+
description: string;
|
10
|
+
id: string;
|
11
|
+
};
|
12
|
+
aiSuggestionAppend: {
|
13
|
+
defaultMessage: string;
|
14
|
+
description: string;
|
15
|
+
id: string;
|
16
|
+
};
|
17
|
+
aiSuggestionClearAndReplace: {
|
18
|
+
defaultMessage: string;
|
19
|
+
description: string;
|
20
|
+
id: string;
|
21
|
+
};
|
22
|
+
aiSuggestionIgnore: {
|
23
|
+
defaultMessage: string;
|
24
|
+
description: string;
|
25
|
+
id: string;
|
26
|
+
};
|
27
|
+
};
|
28
|
+
export default _default;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { type MetadataFieldValue } from '../../../../types';
|
2
|
+
export interface AiSuggestionFieldProps {
|
3
|
+
/**
|
4
|
+
* Represents the AI suggestion to be displayed or processed.
|
5
|
+
* This should contain the metadata value that is relevant for the field.
|
6
|
+
*/
|
7
|
+
aiSuggestion: MetadataFieldValue;
|
8
|
+
/**
|
9
|
+
* Callback function to handle updating field value by appending the AI suggestion.
|
10
|
+
*/
|
11
|
+
onAiSuggestionAppend: () => void;
|
12
|
+
/**
|
13
|
+
* Callback function to handle replacing field value with the AI suggestion.
|
14
|
+
*/
|
15
|
+
onAiSuggestionReplace: () => void;
|
16
|
+
/**
|
17
|
+
* Callback function to be executed when user ignored the AI suggestion.
|
18
|
+
* This function does not accept any parameters and does not return any value.
|
19
|
+
*/
|
20
|
+
onAiSuggestionIgnore: () => void;
|
21
|
+
}
|