@box/metadata-editor 0.78.7 → 0.78.9

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.
Files changed (35) hide show
  1. package/esm/lib/components/metadata-editor-fields/components/ai-suggestion-field/ai-suggestion-field.js +81 -60
  2. package/esm/lib/components/metadata-editor-fields/components/ai-suggestion-field/messages.js +8 -0
  3. package/esm/lib/components/metadata-editor-fields/metadata-editor-field-wrapper.js +50 -49
  4. package/i18n/bn-IN.js +2 -0
  5. package/i18n/da-DK.js +2 -0
  6. package/i18n/de-DE.js +2 -0
  7. package/i18n/en-AU.js +2 -0
  8. package/i18n/en-CA.js +2 -0
  9. package/i18n/en-GB.js +2 -0
  10. package/i18n/en-US.js +2 -0
  11. package/i18n/en-US.properties +4 -0
  12. package/i18n/en-x-pseudo.js +2 -0
  13. package/i18n/es-419.js +2 -0
  14. package/i18n/es-ES.js +2 -0
  15. package/i18n/fi-FI.js +2 -0
  16. package/i18n/fr-CA.js +2 -0
  17. package/i18n/fr-FR.js +2 -0
  18. package/i18n/hi-IN.js +2 -0
  19. package/i18n/it-IT.js +2 -0
  20. package/i18n/ja-JP.js +2 -0
  21. package/i18n/json/src/lib/components/metadata-editor-fields/components/ai-suggestion-field/messages.json +1 -1
  22. package/i18n/ko-KR.js +2 -0
  23. package/i18n/nb-NO.js +2 -0
  24. package/i18n/nl-NL.js +2 -0
  25. package/i18n/pl-PL.js +2 -0
  26. package/i18n/pt-BR.js +2 -0
  27. package/i18n/ru-RU.js +2 -0
  28. package/i18n/sv-SE.js +2 -0
  29. package/i18n/tr-TR.js +2 -0
  30. package/i18n/zh-CN.js +2 -0
  31. package/i18n/zh-TW.js +2 -0
  32. package/package.json +3 -3
  33. package/types/lib/components/metadata-editor-fields/components/ai-suggestion-field/ai-suggestion-field.d.ts +1 -1
  34. package/types/lib/components/metadata-editor-fields/components/ai-suggestion-field/messages.d.ts +10 -0
  35. package/types/lib/components/metadata-editor-fields/components/ai-suggestion-field/types.d.ts +1 -0
@@ -1,81 +1,102 @@
1
1
  import "../../../../../../styles/ai-suggestion-field.css";
2
- import { Text as g, IconButton as d, DropdownMenu as t } from "@box/blueprint-web";
3
- import { Checkmark as u, Ellipsis as S } from "@box/blueprint-web-assets/icons/Fill";
4
- import { useIntl as h, FormattedMessage as n } from "react-intl";
5
- import r from "./messages.js";
6
- import { formatSuggestionValue as w } from "./utils.js";
7
- import { jsx as e, jsxs as a } from "react/jsx-runtime";
8
- const _ = "_wrapperGradient_t2yak_1", I = "_wrapper_t2yak_1", f = "_buttons_t2yak_18", k = "_selectTrigger_t2yak_22", o = {
9
- wrapperGradient: _,
2
+ import { Text as l, IconButton as c, DropdownMenu as a } from "@box/blueprint-web";
3
+ import { Checkmark as m, Ellipsis as f } from "@box/blueprint-web-assets/icons/Fill";
4
+ import { useIntl as w, FormattedMessage as r } from "react-intl";
5
+ import t from "./messages.js";
6
+ import { formatSuggestionValue as _ } from "./utils.js";
7
+ import { jsx as e, jsxs as i, Fragment as u } from "react/jsx-runtime";
8
+ const C = "_wrapperGradient_t2yak_1", I = "_wrapper_t2yak_1", b = "_buttons_t2yak_18", k = "_selectTrigger_t2yak_22", n = {
9
+ wrapperGradient: C,
10
10
  wrapper: I,
11
- buttons: f,
11
+ buttons: b,
12
12
  selectTrigger: k
13
13
  };
14
14
  function D({
15
- aiSuggestion: p,
16
- onAiSuggestionAppend: l,
17
- onAiSuggestionReplace: c,
18
- onAiSuggestionIgnore: m,
19
- type: i
15
+ aiSuggestion: S,
16
+ onAiSuggestionAppend: g,
17
+ onAiSuggestionReplace: d,
18
+ onAiSuggestionIgnore: p,
19
+ type: o,
20
+ isSameValue: h
20
21
  }) {
21
- const s = h();
22
+ const s = w();
22
23
  return /* @__PURE__ */ e("div", {
23
- className: o.wrapperGradient,
24
- children: /* @__PURE__ */ a("div", {
25
- className: o.wrapper,
26
- children: [/* @__PURE__ */ a("div", {
27
- children: [/* @__PURE__ */ e(g, {
24
+ className: n.wrapperGradient,
25
+ children: /* @__PURE__ */ e("div", {
26
+ className: n.wrapper,
27
+ children: h ? /* @__PURE__ */ i(u, {
28
+ children: [/* @__PURE__ */ e(l, {
28
29
  as: "p",
29
30
  color: "textOnLightSecondary",
30
31
  variant: "caption",
31
- children: /* @__PURE__ */ e(n, {
32
- ...r.aiSuggestionCaption
32
+ children: /* @__PURE__ */ e(r, {
33
+ ...t.sameValueAiSuggestionCaption
33
34
  })
34
- }), /* @__PURE__ */ e(g, {
35
- as: "p",
36
- children: w(p, {
37
- type: i,
38
- locale: s.locale
35
+ }), /* @__PURE__ */ e("div", {
36
+ className: n.buttons,
37
+ children: /* @__PURE__ */ e(c, {
38
+ "aria-label": s.formatMessage(t.aiSuggestionConfirm),
39
+ icon: m,
40
+ onClick: p,
41
+ size: "x-small",
42
+ "data-target-id": "IconButton-aiSuggestionConfirm"
39
43
  })
40
44
  })]
41
- }), /* @__PURE__ */ a("div", {
42
- className: o.buttons,
43
- children: [/* @__PURE__ */ e(d, {
44
- "aria-label": s.formatMessage(i === "multiSelect" ? r.aiSuggestionAppend : r.aiSuggestionClearAndReplace),
45
- icon: u,
46
- onClick: i === "multiSelect" ? l : c,
47
- size: "x-small"
48
- }), /* @__PURE__ */ a(t.Root, {
49
- children: [/* @__PURE__ */ e(t.Trigger, {
50
- className: o.selectTrigger,
51
- children: /* @__PURE__ */ e(d, {
52
- "aria-label": s.formatMessage(r.aiSuggestionOptions),
53
- icon: S,
54
- "data-target-id": "IconButton-aiSuggestionOptions"
45
+ }) : /* @__PURE__ */ i(u, {
46
+ children: [/* @__PURE__ */ i("div", {
47
+ children: [/* @__PURE__ */ e(l, {
48
+ as: "p",
49
+ color: "textOnLightSecondary",
50
+ variant: "caption",
51
+ children: /* @__PURE__ */ e(r, {
52
+ ...t.aiSuggestionCaption
55
53
  })
56
- }), /* @__PURE__ */ a(t.Content, {
57
- children: [i === "multiSelect" && /* @__PURE__ */ e(t.Item, {
58
- onSelect: l,
59
- "data-target-id": "DropdownMenu.Item-aiSuggestionAppend",
60
- children: /* @__PURE__ */ e(n, {
61
- ...r.aiSuggestionAppend
62
- })
63
- }), /* @__PURE__ */ e(t.Item, {
64
- onSelect: c,
65
- "data-target-id": "DropdownMenu.Item-aiSuggestionClearAndReplace",
66
- children: /* @__PURE__ */ e(n, {
67
- ...r.aiSuggestionClearAndReplace
68
- })
69
- }), /* @__PURE__ */ e(t.Separator, {}), /* @__PURE__ */ e(t.Item, {
70
- onSelect: m,
71
- "data-target-id": "DropdownMenu.Item-aiSuggestionIgnore",
72
- children: /* @__PURE__ */ e(n, {
73
- ...r.aiSuggestionIgnore
54
+ }), /* @__PURE__ */ e(l, {
55
+ as: "p",
56
+ children: _(S, {
57
+ type: o,
58
+ locale: s.locale
59
+ })
60
+ })]
61
+ }), /* @__PURE__ */ i("div", {
62
+ className: n.buttons,
63
+ children: [/* @__PURE__ */ e(c, {
64
+ "aria-label": s.formatMessage(o === "multiSelect" ? t.aiSuggestionAppend : t.aiSuggestionClearAndReplace),
65
+ icon: m,
66
+ onClick: o === "multiSelect" ? g : d,
67
+ size: "x-small"
68
+ }), /* @__PURE__ */ i(a.Root, {
69
+ children: [/* @__PURE__ */ e(a.Trigger, {
70
+ className: n.selectTrigger,
71
+ children: /* @__PURE__ */ e(c, {
72
+ "aria-label": s.formatMessage(t.aiSuggestionOptions),
73
+ icon: f,
74
+ "data-target-id": "IconButton-aiSuggestionOptions"
74
75
  })
76
+ }), /* @__PURE__ */ i(a.Content, {
77
+ children: [o === "multiSelect" && /* @__PURE__ */ e(a.Item, {
78
+ onSelect: g,
79
+ "data-target-id": "DropdownMenu.Item-aiSuggestionAppend",
80
+ children: /* @__PURE__ */ e(r, {
81
+ ...t.aiSuggestionAppend
82
+ })
83
+ }), /* @__PURE__ */ e(a.Item, {
84
+ onSelect: d,
85
+ "data-target-id": "DropdownMenu.Item-aiSuggestionClearAndReplace",
86
+ children: /* @__PURE__ */ e(r, {
87
+ ...t.aiSuggestionClearAndReplace
88
+ })
89
+ }), /* @__PURE__ */ e(a.Separator, {}), /* @__PURE__ */ e(a.Item, {
90
+ onSelect: p,
91
+ "data-target-id": "DropdownMenu.Item-aiSuggestionIgnore",
92
+ children: /* @__PURE__ */ e(r, {
93
+ ...t.aiSuggestionIgnore
94
+ })
95
+ })]
75
96
  })]
76
97
  })]
77
98
  })]
78
- })]
99
+ })
79
100
  })
80
101
  });
81
102
  }
@@ -4,6 +4,10 @@ const i = e({
4
4
  id: "metadataEditor.aiSuggestionField.aiSuggestionCaption",
5
5
  defaultMessage: "Box AI suggestion:"
6
6
  },
7
+ sameValueAiSuggestionCaption: {
8
+ id: "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption",
9
+ defaultMessage: "Box AI suggests the same value as above"
10
+ },
7
11
  aiSuggestionOptions: {
8
12
  id: "metadataEditor.aiSuggestionField.aiSuggestionOptions",
9
13
  defaultMessage: "Options"
@@ -19,6 +23,10 @@ const i = e({
19
23
  aiSuggestionIgnore: {
20
24
  id: "metadataEditor.aiSuggestionField.ignoreLabel",
21
25
  defaultMessage: "Ignore"
26
+ },
27
+ aiSuggestionConfirm: {
28
+ id: "metadataEditor.aiSuggestionField.dismissLabel",
29
+ defaultMessage: "Confirm"
22
30
  }
23
31
  });
24
32
  export {
@@ -1,79 +1,80 @@
1
1
  import I from "clsx";
2
- import { useFormikContext as V } from "formik";
3
- import v from "lodash/isUndefined";
4
- import { forwardRef as C, useState as F, useCallback as P, useEffect as R } from "react";
5
- import { AiSuggestionField as T } from "./components/ai-suggestion-field/ai-suggestion-field.js";
6
- import { UpdateModeFieldWrapper as U } from "./components/update-mode-field-wrapper/update-mode-field-wrapper.js";
7
- import { editorFieldTypes as b } from "./editor-field-types.js";
2
+ import { useFormikContext as v } from "formik";
3
+ import C from "lodash/isUndefined";
4
+ import { forwardRef as P, useState as N, useCallback as R, useEffect as T, useMemo as U } from "react";
5
+ import { AiSuggestionField as b } from "./components/ai-suggestion-field/ai-suggestion-field.js";
6
+ import { UpdateModeFieldWrapper as j } from "./components/update-mode-field-wrapper/update-mode-field-wrapper.js";
7
+ import { editorFieldTypes as $ } from "./editor-field-types.js";
8
8
  import { s as n } from "../../../../chunks/utils.js";
9
- import { jsx as a, jsxs as j } from "react/jsx-runtime";
10
- const L = /* @__PURE__ */ C(({
11
- disableForm: d,
12
- portalElement: u,
9
+ import { jsx as a, jsxs as B } from "react/jsx-runtime";
10
+ const X = /* @__PURE__ */ P(({
11
+ disableForm: g,
12
+ portalElement: c,
13
13
  field: e,
14
- index: M,
15
- taxonomyOptionsFetcher: g
16
- }, c) => {
17
- var x;
14
+ index: V,
15
+ taxonomyOptionsFetcher: m
16
+ }, f) => {
17
+ var M;
18
18
  const {
19
- setFieldValue: m
20
- } = V(), [N, f] = F(!0), [p, S] = F(!1), r = b[e.type], {
19
+ setFieldValue: S
20
+ } = v(), [A, p] = N(!0), [r, y] = N(!1), l = $[e.type], {
21
21
  aiSuggestion: t,
22
- type: A,
23
- value: y
24
- } = e, W = r && !e.hidden, k = !v(e.updateMode), s = `metadata.fields[${M}]`, w = e.type === "taxonomy" && ((x = e.optionsRules) == null ? void 0 : x.multiSelect), i = t && N, E = I({
25
- [n.suggestionApplied]: p,
22
+ type: h,
23
+ value: d
24
+ } = e, W = l && !e.hidden, k = !C(e.updateMode), s = `metadata.fields[${V}]`, w = e.type === "taxonomy" && ((M = e.optionsRules) == null ? void 0 : M.multiSelect), i = t && A, E = I({
25
+ [n.suggestionApplied]: r,
26
26
  [n.hasSuggestion]: i,
27
- [n.dateField]: A === "date"
28
- }), o = P((l) => {
29
- m(`${s}.value`, l), f(!1), S(!0);
30
- }, [s, m]);
31
- R(() => {
32
- !i || y || o(t);
27
+ [n.dateField]: h === "date"
28
+ }), o = R((u) => {
29
+ S(`${s}.value`, u), p(!1), y(!0);
30
+ }, [s, S]);
31
+ T(() => {
32
+ !i || d || o(t);
33
33
  }, [i, t, o]);
34
- const h = () => {
35
- p && S(!1);
34
+ const x = U(() => t && d === t, [A]), F = () => {
35
+ r && y(!1), x && p(!1);
36
36
  };
37
- return W ? k ? /* @__PURE__ */ a(U, {
37
+ return W ? k ? /* @__PURE__ */ a(j, {
38
38
  fieldNamePrefix: s,
39
39
  fieldType: e.type,
40
40
  isTaxonomyMultiSelect: w,
41
- children: /* @__PURE__ */ a(r, {
42
- ref: c,
41
+ children: /* @__PURE__ */ a(l, {
42
+ ref: f,
43
43
  description: e.description,
44
- disableForm: d,
44
+ disableForm: g,
45
45
  fieldNamePrefix: s,
46
46
  isAiSuggestionApplied: !1,
47
47
  label: e.displayName,
48
- onValueEdited: h,
49
- portalElement: u,
50
- taxonomyOptionsFetcher: g
48
+ onValueEdited: F,
49
+ portalElement: c,
50
+ taxonomyOptionsFetcher: m
51
51
  })
52
- }, e.key) : /* @__PURE__ */ j("div", {
52
+ }, e.key) : /* @__PURE__ */ B("div", {
53
53
  className: n.fieldWrapper,
54
- children: [/* @__PURE__ */ a(r, {
55
- ref: c,
54
+ children: [/* @__PURE__ */ a(l, {
55
+ ref: f,
56
56
  className: E,
57
57
  description: e.description,
58
- disableForm: d,
58
+ disableForm: g,
59
59
  fieldNamePrefix: s,
60
- isAiSuggestionApplied: p,
60
+ isAiSuggestionApplied: r,
61
61
  label: e.displayName,
62
- onValueEdited: h,
63
- portalElement: u,
64
- taxonomyOptionsFetcher: g
65
- }), i && /* @__PURE__ */ a(T, {
62
+ onValueEdited: F,
63
+ portalElement: c,
64
+ taxonomyOptionsFetcher: m
65
+ }), i && /* @__PURE__ */ a(b, {
66
66
  aiSuggestion: t,
67
+ isSameValue: x,
67
68
  onAiSuggestionAppend: () => {
68
- const l = [...new Set([y, t].flat().filter(Boolean))];
69
- o(l);
69
+ const u = [...new Set([d, t].flat().filter(Boolean))];
70
+ o(u);
70
71
  },
71
- onAiSuggestionIgnore: () => f(!1),
72
+ onAiSuggestionIgnore: () => p(!1),
72
73
  onAiSuggestionReplace: () => o(t),
73
- type: A
74
+ type: h
74
75
  })]
75
76
  }, e.key) : null;
76
77
  });
77
78
  export {
78
- L as MetadataEditorFieldWrapper
79
+ X as MetadataEditorFieldWrapper
79
80
  };
package/i18n/bn-IN.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "বিকল্প",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "সংযুক্ত করুন",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "পরিষ্কার করুন এবং প্রতিস্থাপন করুন",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "উপেক্ষা করুন",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "আপনি কি সত্যিই \"{templateName}\" মেটাডেটা টেমপ্লেট এবং এই ফাইল থেকে এটির সব মান মুছে ফেলতে চান?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "মুছে দেওয়া নিশ্চিত করতে মেটাডেটা টেমপ্লেটর নাম লিখুন",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "মুছে দেওয়ার পর মেটাডেটার মানগুলো আর পুনরুদ্ধার করা যাবে না।",
package/i18n/da-DK.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Indstillingsmuligheder",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Tilføj",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Ryd og Erstat",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorer",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Er du sikker på, at du vil slette \"{templateName}\" metadataskabelon og alle dens værdier fra denne fil?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Indtast navnet på metadata-skabelonen for at bekræfte sletning",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Når metadata-værdier er slettet, kan de ikke gendannes.",
package/i18n/de-DE.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Optionen",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Anfügen",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Löschen und ersetzen",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorieren",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Möchten Sie die Metadaten-Vorlage „{templateName}“ und alle ihre Werte aus dieser Datei wirklich löschen?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Geben Sie den Namen der Metadaten-Vorlage ein, um das Löschen zu bestätigen",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Nach dem Löschen können die Metadaten-Werte nicht wiederhergestellt werden.",
package/i18n/en-AU.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Append",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Are you sure you want to delete the \"{templateName}\" Metadata template, and all of its values from this file?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Type the Metadata Template's name to confirm deletion",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Once deleted, Metadata values cannot be restored.",
package/i18n/en-CA.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Append",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Are you sure you want to delete the \"{templateName}\" Metadata template, and all of its values from this file?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Type the Metadata Template’s name to confirm deletion",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Once deleted, Metadata values cannot be restored.",
package/i18n/en-GB.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Append",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Are you sure you want to delete the \"{templateName}\" Metadata template, and all of its values from this file?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Type the Metadata Template's name to confirm deletion",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Once deleted, Metadata values cannot be restored.",
package/i18n/en-US.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Append",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Clear and Replace",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Are you sure you want to delete the \"{templateName}\" Metadata template, and all of its values from this file?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Type the Metadata Template’s name to confirm deletion",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Once deleted, Metadata values cannot be restored.",
@@ -84,8 +84,12 @@ metadataEditor.aiSuggestionField.aiSuggestionOptions = Options
84
84
  metadataEditor.aiSuggestionField.appendLabel = Append
85
85
  # Label for clearing the current value and applying the AI suggestion
86
86
  metadataEditor.aiSuggestionField.clearAndReplaceLabel = Clear and Replace
87
+ # Label for confirming the message informing that AI suggestion is the same as already applied value
88
+ metadataEditor.aiSuggestionField.dismissLabel = Confirm
87
89
  # Label for ignoring the AI suggestion
88
90
  metadataEditor.aiSuggestionField.ignoreLabel = Ignore
91
+ # Label informing that AI suggestion value is the same as already existing value
92
+ metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption = Box AI suggests the same value as above
89
93
  # Paragraph asking user are they sure that they want to delete the template
90
94
  metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph = Are you sure you want to delete the "{templateName}" Metadata template, and all of its values from this file?
91
95
  # Label informing how to confirm deletion of the template
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "⟦萬萬 ÒΡτīòπś 國國⟧",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "⟦萬 ÄΡΡéлď 國⟧",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "⟦萬萬萬萬萬 Čļèαř ăήď ŖēΡļāçê 國國國國國⟧",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "⟦萬 Ĩĝлóŗė 國⟧",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Άяĕ γøũ şũгë γоμ ẁáητ ţο ďêļęťε τħé \"{templateName}\" Μετάďάťά ŧёmΡļãτè, āηď ǻļľ οƒ įţś νăĺűеś ƒѓőm ŧĥιş ƒϊļě? 國國國國國國國國國國國國國國國國國國國國國國國國國國國國國⟧",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬萬 ŤУΡĕ τħε Мêťâďāţâ ŦĕmΡľăτē’ŝ ήàmĕ ţσ çôлƒĩŕm ďęľëŧϊőņ 國國國國國國國國國國國國國國國⟧",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "⟦萬萬萬萬萬萬萬萬萬萬萬萬萬萬 Οʼn¢ë ďèľёţěď, Μëţäďáţá νăļůεŝ ćåŋηøτ вê гēşţōŗèď. 國國國國國國國國國國國國國國⟧",
package/i18n/es-419.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Opciones",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Anexar",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Eliminar y reemplazar",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorar",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "¿Seguro que deseas eliminar la plantilla de metadatos \"{templateName}\" y todos sus valores de este archivo?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Escriba el nombre de la plantilla de metadatos para confirmar que se ha eliminado.",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Una vez eliminados, los valores de metadatos no se podrán recuperar.",
package/i18n/es-ES.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Opciones",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Anexar",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Eliminar y reemplazar",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorar",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "¿Seguro que deseas eliminar la plantilla de metadatos \"{templateName}\" y todos sus valores de este archivo?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Escriba el nombre de la plantilla de metadatos para confirmar que se ha eliminado.",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Una vez eliminados, los valores de metadatos no se podrán recuperar.",
package/i18n/fi-FI.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Vaihtoehdot",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Liitä",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Tyhjennä ja korvaa",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ohita",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Oletko varma, että haluat poistaa \"{templateName}\" Metatietomallin ja kaikki sen arvot tästä tiedostosta?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Vahvista poisto kirjoittamalla metatietomallin nimi",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Metatietoarvoja ei voi palauttaa, kun ne on poistettu.",
package/i18n/fr-CA.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Ajouter",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Effacer et remplacer",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorer",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "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 ?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Saisissez le nom du modèle de métadonnées pour valider la suppression",
48
50
  "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
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Options",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Ajouter",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Effacer et remplacer",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorer",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "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 ?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Saisissez le nom du modèle de métadonnées pour valider la suppression",
48
50
  "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
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "विकल्प",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "शामिल करें",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "साफ करें और बदलें",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "नज़रअंदाज़ करें",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "क्या आप वाकई इस फ़ाइल से \"{templateName}\" मेटाडेटा टेम्पलेट, और उसके सभी मूल्यमानों को हटाना चाहते हैं?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "हटाने की पुष्टि करने के लिए एक मेटाडेटा टेम्पलेट का नाम टाइप करें",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "हटने के बाद, मेटाडेटा मूल्यमानों को बहाल नहीं किया जा सकता है।",
package/i18n/it-IT.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Opzioni",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Accoda",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Cancella e sostituisci",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignora",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Confermi di voler eliminare il modello di metadati \"{templateName}\" e tutti i suoi valori da questo file?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Digita il nome del modello di metadati per confermare l'eliminazione",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Una volta eliminati, i valori dei metadati non possono essere ripristinati.",
package/i18n/ja-JP.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "オプション",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "追加",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "クリアして置き換え",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "無視する",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "このファイルから、メタデータテンプレート「{templateName}」とそのすべての値を削除してもよろしいですか?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "削除を確認するには、メタデータテンプレートの名前を入力してください",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "一度削除すると、メタデータ値は復元できません。",
@@ -1 +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"}]
1
+ [{"id":"metadataEditor.aiSuggestionField.aiSuggestionCaption","description":"Label for value suggested by Box AI","defaultMessage":"Box AI suggestion:"},{"id":"metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption","description":"Label informing that AI suggestion value is the same as already existing value","defaultMessage":"Box AI suggests the same value as above"},{"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"},{"id":"metadataEditor.aiSuggestionField.dismissLabel","description":"Label for confirming the message informing that AI suggestion is the same as already applied value","defaultMessage":"Confirm"}]
package/i18n/ko-KR.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "옵션",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "추가",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "지우기 및 바꾸기",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "무시",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "\"{templateName}\" 메타데이터 템플릿 및 이 파일에서 모든 값을 삭제하시겠습니까?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "메타데이터 템플릿의 이름을 입력하여 삭제를 확인합니다",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "일단 삭제된 메타데이터 값은 복원할 수 없습니다.",
package/i18n/nb-NO.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Alternativer",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Tilføy",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Tøm og erstatt",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorer",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Er du sikker på at du vil slette metadatamalen «{templateName}», og alle verdiene i den fra denne filen?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Skriv inn navnet på metadatamalen for å bekrefte slettingen",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Metadataverdier kan ikke gjenopprettes etter sletting.",
package/i18n/nl-NL.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Opties",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Toevoegen",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Wissen en vervangen",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Negeren",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Weet u zeker dat u de metagegevenssjabloon ‘{templateName}’ en al zijn waarden uit dit bestand wilt verwijderen?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Typ de naam van de metagegevenssjabloon om verwijdering te bevestigen",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Eenmaal verwijderd, kunnen metagegevenwaarden niet worden hersteld.",
package/i18n/pl-PL.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Opcje",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Dołącz",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Wyczyść i zamień",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignoruj",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Czy na pewno chcesz usunąć szablon metadanych „{templateName}” i wszystkie jego wartości z tego pliku?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Wpisz nazwę szablonu metadanych, aby potwierdzić usunięcie",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Po usunięciu wartości metadanych nie można przywrócić .",
package/i18n/pt-BR.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Opções",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Acrescentar",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Limpar e substituir",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorar",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Tem certeza de que deseja excluir o modelo de metadados \"{templateName}\" e todos os seus valores deste arquivo?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Digite o nome do modelo de metadados para confirmar a exclusão",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Após excluídos, os valores de metadados não podem ser restaurados.",
package/i18n/ru-RU.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Параметры",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Добавить",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Очистить и заменить",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Пропустить",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "Удалить шаблон метаданных „{templateName}“ и все его значения из этого файла?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Введите имя шаблона метаданных для подтверждения удаления",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "После удаления значения метаданных не могут быть восстановлены.",
package/i18n/sv-SE.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Alternativ",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Lägg till",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Rensa och ersätt",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorera",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "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?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Skriv metadatamallens namn för att bekräfta radering",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "När de har raderats kan metadatavärden inte återställas.",
package/i18n/tr-TR.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "Seçenekler",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "Ekle",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "Temizle ve Değiştir",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Yoksay",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "\"{templateName}\" Meta Veri şablonunu ve tüm değerlerini bu dosyadan silmek istediğinizden emin misiniz?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "Silmeyi onaylamak için Meta Veri Şablonunun adını yazın",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "Silindikten sonra Meta Veri değerleri geri yüklenemez.",
package/i18n/zh-CN.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "选项",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "追加",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "清除和替换",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "忽略",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "是否确定要删除 “{templateName}” 元数据模板及其此文件中的所有值?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "键入元数据模板的名称以确认删除",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "元数据值一旦删除就无法恢复。",
package/i18n/zh-TW.js CHANGED
@@ -42,7 +42,9 @@ export default {
42
42
  "metadataEditor.aiSuggestionField.aiSuggestionOptions": "選項",
43
43
  "metadataEditor.aiSuggestionField.appendLabel": "附加",
44
44
  "metadataEditor.aiSuggestionField.clearAndReplaceLabel": "清除並取代",
45
+ "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
45
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "略過",
47
+ "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
46
48
  "metadataEditor.editInstance.deleteConfirmationModal.body.firstParagraph": "確定要刪除「{templateName}」中繼資料範本,以及此檔案中的所有值?",
47
49
  "metadataEditor.editInstance.deleteConfirmationModal.body.inputFieldLabel": "輸入中繼資料範本的名稱以確認刪除",
48
50
  "metadataEditor.editInstance.deleteConfirmationModal.body.secondParagraph": "刪除後,中繼資料值將無法恢復。",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/metadata-editor",
3
- "version": "0.78.7",
3
+ "version": "0.78.9",
4
4
  "peerDependencies": {
5
5
  "@ariakit/react": "0.4.14",
6
6
  "@box/blueprint-web": "^7.30.3",
@@ -14,7 +14,7 @@
14
14
  "devDependencies": {
15
15
  "@ariakit/react": "0.4.14",
16
16
  "@box/babel-plugin-target-attributes": "1.3.0",
17
- "@box/blueprint-web": "^9.1.2",
17
+ "@box/blueprint-web": "^9.2.0",
18
18
  "@box/blueprint-web-assets": "^4.30.0",
19
19
  "@box/storybook-utils": "^0.7.0",
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": "fc7471f2055ee977d4caf07e744e3a86070d2411"
56
+ "gitHead": "aea7aacd8bd8226934231748787d65edac379e02"
57
57
  }
@@ -1,2 +1,2 @@
1
1
  import { type AiSuggestionFieldProps } from './types';
2
- export declare function AiSuggestionField({ aiSuggestion, onAiSuggestionAppend, onAiSuggestionReplace, onAiSuggestionIgnore, type, }: AiSuggestionFieldProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function AiSuggestionField({ aiSuggestion, onAiSuggestionAppend, onAiSuggestionReplace, onAiSuggestionIgnore, type, isSameValue, }: AiSuggestionFieldProps): import("react/jsx-runtime").JSX.Element;
@@ -4,6 +4,11 @@ declare const _default: {
4
4
  description: string;
5
5
  id: string;
6
6
  };
7
+ sameValueAiSuggestionCaption: {
8
+ defaultMessage: string;
9
+ description: string;
10
+ id: string;
11
+ };
7
12
  aiSuggestionOptions: {
8
13
  defaultMessage: string;
9
14
  description: string;
@@ -24,5 +29,10 @@ declare const _default: {
24
29
  description: string;
25
30
  id: string;
26
31
  };
32
+ aiSuggestionConfirm: {
33
+ defaultMessage: string;
34
+ description: string;
35
+ id: string;
36
+ };
27
37
  };
28
38
  export default _default;
@@ -22,4 +22,5 @@ export interface AiSuggestionFieldProps {
22
22
  * Type of the metadata field to display the suggestion for.
23
23
  */
24
24
  type: MetadataTemplateFieldType;
25
+ isSameValue: boolean;
25
26
  }