@box/metadata-editor 0.111.3 → 0.111.4

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.
@@ -1,53 +1,53 @@
1
- import { Tooltip as r, IconButton as c } from "@box/blueprint-web";
1
+ import { Tooltip as r, IconButton as l } from "@box/blueprint-web";
2
2
  import { Pencil as I } from "@box/blueprint-web-assets/icons/Line";
3
3
  import { BoxAiLogo as A } from "@box/blueprint-web-assets/icons/Logo";
4
- import { useLocalStorageAIAgents as b } from "@box/box-ai-agent-selector";
5
- import { useMemo as C } from "react";
6
- import { useIntl as L } from "react-intl";
7
- import { EXTRACT_AI_AGENT_LOCAL_STORAGE_KEY as T } from "../../../../constants.js";
8
- import { autofillMessages as M } from "../../../../messages.js";
9
- import { getTooltipContent as H } from "../../../../utils/utils.js";
10
- import h from "../../../interactive-header-text/interactive-header-text.js";
11
- import n from "./messages.js";
12
- import { jsxs as l, jsx as o } from "react/jsx-runtime";
13
- import '../../../../../../styles/metadata-instance-header.css';const x = "_metadataInstanceHeader_17bsu_1", v = "_iconButtonsContainer_17bsu_6", E = "_title_17bsu_14", a = {
4
+ import { useLocalStorageAIAgents as T } from "@box/box-ai-agent-selector";
5
+ import { useMemo as b } from "react";
6
+ import { useIntl as C } from "react-intl";
7
+ import { EXTRACT_AI_AGENT_LOCAL_STORAGE_KEY as L } from "../../../../constants.js";
8
+ import { autofillMessages as h } from "../../../../messages.js";
9
+ import { getTooltipContent as M } from "../../../../utils/utils.js";
10
+ import H from "../../../interactive-header-text/interactive-header-text.js";
11
+ import a from "./messages.js";
12
+ import { jsxs as c, jsx as o } from "react/jsx-runtime";
13
+ import '../../../../../../styles/metadata-instance-header.css';const x = "_metadataInstanceHeader_17bsu_1", v = "_iconButtonsContainer_17bsu_6", E = "_title_17bsu_14", n = {
14
14
  metadataInstanceHeader: x,
15
15
  iconButtonsContainer: v,
16
16
  title: E
17
- }, q = ({
17
+ }, Y = ({
18
18
  areAiSuggestionsAvailable: m,
19
19
  canEdit: d,
20
20
  isAiSuggestionsFeatureEnabled: u,
21
- isBetaLanguageEnabled: j,
21
+ isBetaLanguageEnabled: N,
22
22
  onEdit: f,
23
- onAutofill: g,
23
+ onAutofill: p,
24
24
  templateName: e,
25
25
  isAdvancedExtractAgentEnabled: i = !1
26
26
  }) => {
27
- const t = L(), B = e || t.formatMessage(n.customInstanceTitle), p = u && e, [s] = b(T), _ = C(() => H(i, s, t), [i, s, t]);
28
- return /* @__PURE__ */ l("div", {
29
- className: a.metadataInstanceHeader,
30
- children: [/* @__PURE__ */ o(h, {
31
- className: a.title,
32
- title: B
33
- }), d && /* @__PURE__ */ l("div", {
34
- className: a.iconButtonsContainer,
35
- children: [p && /* @__PURE__ */ o(r, {
27
+ const t = C(), g = e || t.formatMessage(a.customInstanceTitle), B = u && e, [s] = T(L), _ = b(() => M(i, s, t), [i, s, t]);
28
+ return /* @__PURE__ */ c("div", {
29
+ className: n.metadataInstanceHeader,
30
+ children: [/* @__PURE__ */ o(H, {
31
+ className: n.title,
32
+ title: g
33
+ }), d && /* @__PURE__ */ c("div", {
34
+ className: n.iconButtonsContainer,
35
+ children: [B && /* @__PURE__ */ o(r, {
36
36
  content: _,
37
- children: /* @__PURE__ */ o(c, {
38
- "aria-label": t.formatMessage(M.autofillButtonAriaLabel, {
37
+ children: /* @__PURE__ */ o(l, {
38
+ "aria-label": t.formatMessage(h.autofillButtonAriaLabelWithTemplateName, {
39
39
  templateName: e
40
40
  }),
41
41
  disabled: !m,
42
42
  icon: A,
43
- onClick: g,
43
+ onClick: p,
44
44
  variant: "icon-logo",
45
- "data-target-id": "IconButton-autofillButtonAriaLabel"
45
+ "data-target-id": "IconButton-autofillButtonAriaLabelWithTemplateName"
46
46
  })
47
47
  }), /* @__PURE__ */ o(r, {
48
- content: t.formatMessage(n.editButtonTooltip),
49
- children: /* @__PURE__ */ o(c, {
50
- "aria-label": t.formatMessage(n.editButtonAriaLabel, {
48
+ content: t.formatMessage(a.editButtonTooltip),
49
+ children: /* @__PURE__ */ o(l, {
50
+ "aria-label": t.formatMessage(a.editButtonAriaLabel, {
51
51
  templateName: e
52
52
  }),
53
53
  icon: I,
@@ -59,5 +59,5 @@ import '../../../../../../styles/metadata-instance-header.css';const x = "_metad
59
59
  });
60
60
  };
61
61
  export {
62
- q as MetadataInstanceHeader
62
+ Y as MetadataInstanceHeader
63
63
  };
@@ -105,9 +105,13 @@ const t = e({
105
105
  id: "metadataEditor.autofillButton.tooltip.enhanced",
106
106
  defaultMessage: "Autofill with Box AI (Enhanced)"
107
107
  },
108
+ autofillButtonAriaLabelWithTemplateName: {
109
+ id: "metadataEditor.autofillButton.ariaLabelWithTemplateName",
110
+ defaultMessage: "Autofill {templateName} with Box AI"
111
+ },
108
112
  autofillButtonAriaLabel: {
109
113
  id: "metadataEditor.autofillButton.ariaLabel",
110
- defaultMessage: "Autofill {templateName} with Box AI"
114
+ defaultMessage: "Autofill with Box AI"
111
115
  }
112
116
  });
113
117
  export {
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "উপেক্ষা করুন",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI উপরের মতো একই মান প্রস্তাব করে",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Box AI দিয়ে {templateName} অটোফিল করুন",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Box AI (বর্ধিত)-এর মাধ্যমে অটোফিল করুন",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Box AI-এর মাধ্যমে অটোফিল করুন",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Box AI (স্ট্যান্ডার্ড)-এর মাধ্যমে অটোফিল করুন",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorer",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI foreslår den samme værdi som ovenfor",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Automatisk udfyldning af {templateName} med Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Automatisk udfyldning med Box AI (Forbedret)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Automatisk udfyldning med Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Automatisk udfyldning med Box AI (Standard)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorieren",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI schlägt denselben Wert wie oben vor",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Mit Box KI automatisch ausfüllen {templateName}",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Automatisch ausfüllen mit Box AI (erweitert)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Automatisch ausfüllen mit Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Automatisch ausfüllen mit Box AI (Standard)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Autofill {templateName} with Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Autofill with Box AI (Enhanced)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Autofill with Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Autofill with Box AI (Standard)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Autofill {templateName} with Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Autofill with Box AI (Enhanced)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Autofill with Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Autofill with Box AI (Standard)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Autofill {templateName} with Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Autofill with Box AI (Enhanced)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Autofill with Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Autofill with Box AI (Standard)",
@@ -45,7 +45,8 @@ export default {
45
45
  "metadataEditor.aiSuggestionField.dismissLabel": "Confirm",
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignore",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggests the same value as above",
48
- "metadataEditor.autofillButton.ariaLabel": "Autofill {templateName} with Box AI",
48
+ "metadataEditor.autofillButton.ariaLabel": "Autofill with Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Autofill with Box AI (Enhanced)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Autofill with Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Autofill with Box AI (Standard)",
@@ -91,7 +91,9 @@ metadataEditor.aiSuggestionField.ignoreLabel = Ignore
91
91
  # Label informing that AI suggestion value is the same as already existing value
92
92
  metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption = Box AI suggests the same value as above
93
93
  # Aria label for the autofill button
94
- metadataEditor.autofillButton.ariaLabel = Autofill {templateName} with Box AI
94
+ metadataEditor.autofillButton.ariaLabel = Autofill with Box AI
95
+ # Aria label for the autofill button with the template name
96
+ metadataEditor.autofillButton.ariaLabelWithTemplateName = Autofill {templateName} with Box AI
95
97
  # Tooltip for the autofill button when using enhanced AI agent
96
98
  metadataEditor.autofillButton.tooltip.enhanced = Autofill with Box AI (Enhanced)
97
99
  # Tooltip for the autofill button in GA
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "⟦萬 Ĩġηôґē 國⟧",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "⟦萬萬萬萬萬萬萬萬萬萬萬 ßō× ÁĪ śůğğέşτѕ ťнē śàmέ νăļµĕ άş αьóνë 國國國國國國國國國國國⟧",
48
48
  "metadataEditor.autofillButton.ariaLabel": "⟦萬萬萬萬萬萬萬 Àũŧŏƒіļľ {templateName} ωìŧħ Бóх ÁĮ 國國國國國國國⟧",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "⟦萬萬萬萬萬萬萬萬萬 Åŭτőƒïļĺ ώìţħ βőх ΑĨ (Ėπĥáη¢έď) 國國國國國國國國國⟧",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "⟦萬萬萬萬萬 Äùťôƒìľľ шĭţн Βõ× ÀΪ 國國國國國⟧",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "⟦萬萬萬萬萬萬萬萬萬 Áůτοƒįļĺ ẃĭţн ßøх ÀÌ (Ѕţàπďäѓď) 國國國國國國國國國⟧",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorar",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI recomienda el mismo valor que el anterior",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Autocompletar {templateName} con Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Autocompletar con Box AI (mejorado)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Autocompletar con Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Autocompletar con Box AI (estándar)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorar",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI recomienda el mismo valor que el anterior",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Autocompletar {templateName} con Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Autocompletar con Box AI (mejorado)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Autocompletar con Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Autocompletar con Box AI (estándar)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ohita",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI ehdottaa samaa arvoa kuin yllä",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Täytä {templateName} automaattisesti Box AI:n avulla",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Automaattinen täyttö Box AI:n avulla (tehostettu)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Automaattinen täyttö Box AI:n avulla",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Automaattinen täyttö Box AI:n avulla (vakio)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorer",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggère la même valeur que celle ci-dessus",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Remplir automatiquement {templateName} avec Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Remplissage automatique avec Box AI (amélioré)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Remplissage automatique avec Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Remplissage automatique avec Box AI (Standard)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorer",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggère la même valeur que celle ci-dessus",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Remplir automatiquement {templateName} avec Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Remplissage automatique avec Box AI (amélioré)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Remplissage automatique avec Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Remplissage automatique avec Box AI (Standard)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "नज़रअंदाज़ करें",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI, ऊपर की तरह एक समान मूल्य का सुझाव देता है",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Box AI के साथ {templateName} को ऑटोफ़ाइल करें",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Box AI (उन्नत) के साथ ऑटोफिल करें",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Box AI के साथ ऑटोफिल करें",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Box AI (मानक) के साथ ऑटोफिल करें",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignora",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI suggerisce lo stesso valore indicato sopra",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Compila automaticamente {templateName} con Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Compilazione automatica con Box AI (migliorato)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Compilazione automatica con Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Compilazione automatica con Box AI (Standard)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "無視する",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AIは上記と同じ値をお勧めします",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Box AIで{templateName}を自動入力",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Box AIによる自動入力 (拡張版)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Box AIによる自動入力",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Box AIによる自動入力 (標準版)",
@@ -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.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"},{"id":"metadataEditor.autofillButton.tooltip.ga","description":"Tooltip for the autofill button in GA","defaultMessage":"Autofill with Box AI"},{"id":"metadataEditor.autofillButton.tooltip.standard","description":"Tooltip for the autofill button when using standard AI agent","defaultMessage":"Autofill with Box AI (Standard)"},{"id":"metadataEditor.autofillButton.tooltip.enhanced","description":"Tooltip for the autofill button when using enhanced AI agent","defaultMessage":"Autofill with Box AI (Enhanced)"},{"id":"metadataEditor.autofillButton.ariaLabel","description":"Aria label for the autofill button","defaultMessage":"Autofill {templateName} with Box AI"}]
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"},{"id":"metadataEditor.autofillButton.tooltip.ga","description":"Tooltip for the autofill button in GA","defaultMessage":"Autofill with Box AI"},{"id":"metadataEditor.autofillButton.tooltip.standard","description":"Tooltip for the autofill button when using standard AI agent","defaultMessage":"Autofill with Box AI (Standard)"},{"id":"metadataEditor.autofillButton.tooltip.enhanced","description":"Tooltip for the autofill button when using enhanced AI agent","defaultMessage":"Autofill with Box AI (Enhanced)"},{"id":"metadataEditor.autofillButton.ariaLabelWithTemplateName","description":"Aria label for the autofill button with the template name","defaultMessage":"Autofill {templateName} with Box AI"},{"id":"metadataEditor.autofillButton.ariaLabel","description":"Aria label for the autofill button","defaultMessage":"Autofill with Box AI"}]
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "무시",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI는 위와 동일한 값을 제안합니다",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Box AI를 사용한 {templateName}자동 입력",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Box AI로 자동 완성하기(고급형)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Box AI로 자동 완성하기",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Box AI로 자동 완성하기(표준형)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorer",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI foreslår den samme verdien som ovenfor",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Fyll {templateName} automatisk med Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Automatisk utfylling med Box AI (forbedret)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Automatisk utfylling med Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Automatisk utfylling med Box AI (standard)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Negeren",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI stelt dezelfde waarde voor als hierboven",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Autofill {templateName} met Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Automatisch invullen met Box AI (Verbeterd)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Automatisch invullen met Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Automatisch invullen met Box AI (Standaard)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignoruj",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI sugeruje tę samą wartość, co powyżej",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Automatycznie wypełnij {templateName} za pomocą Box AI.",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Autouzupełnianie za pomocą Box AI (ulepszone)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Autouzupełnianie za pomocą Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Autouzupełnianie za pomocą Box AI (standard)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorar",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "O Box AI sugere o mesmo valor acima",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Preencher automaticamente {templateName} com o Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Preenchimento automático com o Box AI (aprimorado)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Preenchimento automático com o Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Preenchimento automático com o Box AI (padrão)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Пропустить",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI предлагает то же значение, что и выше",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Автозаполнение {templateName} с помощью Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Автозаполнение с Box AI (улучшенное)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Автозаполнение с Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Автозаполнение с Box AI (стандартное)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Ignorera",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI föreslår samma värde som ovan",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Autofyll {templateName} med Box AI",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Autofyll med Box AI (Förbättrad)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Autofyll med Box AI",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Autofyll med Box AI (Standard)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "Yoksay",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI yukarıdaki ile aynı değeri öneriyor",
48
48
  "metadataEditor.autofillButton.ariaLabel": "Box AI ile {templateName} şablonunu otomatik olarak doldurun",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "Box AI ile otomatik doldurma (Geliştirilmiş)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "Box AI ile otomatik doldurma",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "Box AI ile otomatik doldurma (Standart)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "忽略",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI 建议与上述相同的值",
48
48
  "metadataEditor.autofillButton.ariaLabel": "使用 Box AI 自动填充 {templateName}",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "使用 Box AI 自动填充(增强型)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "使用 Box AI 自动填充",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "使用 Box AI 自动填充(标准)",
@@ -46,6 +46,7 @@ export default {
46
46
  "metadataEditor.aiSuggestionField.ignoreLabel": "略過",
47
47
  "metadataEditor.aiSuggestionField.sameValueAiSuggestionCaption": "Box AI 建議與上方相同的值",
48
48
  "metadataEditor.autofillButton.ariaLabel": "使用 Box AI 自動填充 {templateName}",
49
+ "metadataEditor.autofillButton.ariaLabelWithTemplateName": "Autofill {templateName} with Box AI",
49
50
  "metadataEditor.autofillButton.tooltip.enhanced": "使用 Box AI 自動填充 (增強)",
50
51
  "metadataEditor.autofillButton.tooltip.ga": "使用 Box AI 自動填充",
51
52
  "metadataEditor.autofillButton.tooltip.standard": "使用 Box AI 自動填充 (標準)",
@@ -131,6 +131,11 @@ export declare const autofillMessages: {
131
131
  description: string;
132
132
  id: string;
133
133
  };
134
+ autofillButtonAriaLabelWithTemplateName: {
135
+ defaultMessage: string;
136
+ description: string;
137
+ id: string;
138
+ };
134
139
  autofillButtonAriaLabel: {
135
140
  defaultMessage: string;
136
141
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@box/metadata-editor",
3
- "version": "0.111.3",
3
+ "version": "0.111.4",
4
4
  "peerDependencies": {
5
5
  "@ariakit/react": "0.4.15",
6
6
  "@box/box-ai-agent-selector": "^0.41.7",
@@ -15,9 +15,9 @@
15
15
  },
16
16
  "devDependencies": {
17
17
  "@ariakit/react": "0.4.15",
18
- "@box/box-ai-agent-selector": "^0.43.3",
18
+ "@box/box-ai-agent-selector": "^0.43.4",
19
19
  "@box/babel-plugin-target-attributes": "1.3.0",
20
- "@box/blueprint-web": "^12.9.5",
20
+ "@box/blueprint-web": "^12.10.0",
21
21
  "@box/blueprint-web-assets": "^4.53.0",
22
22
  "@box/storybook-utils": "^0.13.6",
23
23
  "@testing-library/react": "^15.0.6",