@box/metadata-editor 0.80.6 → 0.81.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/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form/metadata-instance-form-card-wrapper.js +31 -29
- package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form/metadata-instance-form.js +48 -46
- package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-autofill-button/messages.js +1 -1
- package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/messages.js +11 -3
- package/esm/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/metadata-instance-form-header.js +42 -25
- package/esm/lib/components/metadata-instance-list/subcomponents/metadata-instance-header/messages.js +1 -1
- package/esm/lib/components/metadata-instance-list/subcomponents/metadata-instance-header/metadata-instance-header.js +9 -11
- package/i18n/bn-IN.js +2 -0
- package/i18n/da-DK.js +2 -0
- package/i18n/de-DE.js +2 -0
- package/i18n/en-AU.js +2 -0
- package/i18n/en-CA.js +2 -0
- package/i18n/en-GB.js +2 -0
- package/i18n/en-US.js +4 -2
- package/i18n/en-US.properties +6 -2
- package/i18n/en-x-pseudo.js +2 -0
- package/i18n/es-419.js +2 -0
- package/i18n/es-ES.js +2 -0
- package/i18n/fi-FI.js +2 -0
- package/i18n/fr-CA.js +2 -0
- package/i18n/fr-FR.js +2 -0
- package/i18n/hi-IN.js +2 -0
- package/i18n/it-IT.js +2 -0
- package/i18n/ja-JP.js +2 -0
- package/i18n/json/src/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-autofill-button/messages.json +1 -1
- package/i18n/json/src/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/messages.json +1 -1
- package/i18n/json/src/lib/components/metadata-instance-list/subcomponents/metadata-instance-header/messages.json +1 -1
- package/i18n/ko-KR.js +2 -0
- package/i18n/nb-NO.js +2 -0
- package/i18n/nl-NL.js +2 -0
- package/i18n/pl-PL.js +2 -0
- package/i18n/pt-BR.js +2 -0
- package/i18n/ru-RU.js +2 -0
- package/i18n/sv-SE.js +2 -0
- package/i18n/tr-TR.js +2 -0
- package/i18n/zh-CN.js +2 -0
- package/i18n/zh-TW.js +2 -0
- package/package.json +3 -3
- package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form/types.d.ts +2 -1
- package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/messages.d.ts +10 -0
- package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/metadata-instance-form-header.d.ts +1 -1
- package/types/lib/components/metadata-instance-editor/subcomponents/metadata-instance-form-header/types.d.ts +1 -0
@@ -1,40 +1,42 @@
|
|
1
|
-
import { Card as
|
2
|
-
import { TEMPLATE_CUSTOM_PROPERTIES as
|
3
|
-
import { MetadataInstanceFormFooter as
|
4
|
-
import { MetadataInstanceFormHeader as
|
5
|
-
import { jsxs as
|
6
|
-
const
|
1
|
+
import { Card as A } from "@box/blueprint-web";
|
2
|
+
import { TEMPLATE_CUSTOM_PROPERTIES as h } from "../../../../constants.js";
|
3
|
+
import { MetadataInstanceFormFooter as C } from "../metadata-instance-form-footer/metadata-instance-form-footer.js";
|
4
|
+
import { MetadataInstanceFormHeader as E } from "../metadata-instance-form-header/metadata-instance-form-header.js";
|
5
|
+
import { jsxs as M, jsx as a } from "react/jsx-runtime";
|
6
|
+
const L = (t) => {
|
7
7
|
const {
|
8
|
-
areAiSuggestionsAvailable:
|
9
|
-
children:
|
8
|
+
areAiSuggestionsAvailable: r,
|
9
|
+
children: e,
|
10
10
|
className: s,
|
11
11
|
formRef: n,
|
12
|
-
isAiSuggestionsFeatureEnabled:
|
13
|
-
isDeleteButtonDisabled:
|
14
|
-
|
12
|
+
isAiSuggestionsFeatureEnabled: g,
|
13
|
+
isDeleteButtonDisabled: m,
|
14
|
+
suggestions: u,
|
15
|
+
isFetchingSuggestions: i,
|
15
16
|
isFormDirty: d = !1,
|
16
|
-
selectedTemplateInstance:
|
17
|
-
getAiSuggestions:
|
18
|
-
handleCancel:
|
19
|
-
handleDelete:
|
20
|
-
} = t,
|
21
|
-
return /* @__PURE__ */
|
17
|
+
selectedTemplateInstance: o,
|
18
|
+
getAiSuggestions: l,
|
19
|
+
handleCancel: f,
|
20
|
+
handleDelete: F
|
21
|
+
} = t, S = (o == null ? void 0 : o.templateKey) === h, p = !!u[o == null ? void 0 : o.templateKey];
|
22
|
+
return /* @__PURE__ */ M(A, {
|
22
23
|
ref: n,
|
23
24
|
className: s,
|
24
|
-
children: [/* @__PURE__ */
|
25
|
-
areAiSuggestionsAvailable:
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
25
|
+
children: [/* @__PURE__ */ a(E, {
|
26
|
+
areAiSuggestionsAvailable: r,
|
27
|
+
hasSuggestions: p,
|
28
|
+
isAiSuggestionsFeatureEnabled: g && !S,
|
29
|
+
isLoading: i,
|
30
|
+
onAutofill: l,
|
31
|
+
templateName: o == null ? void 0 : o.displayName
|
32
|
+
}), o && e, /* @__PURE__ */ a(C, {
|
33
|
+
isDeleteButtonDisabled: m,
|
34
|
+
isLoading: i,
|
35
|
+
onCancel: () => f(d),
|
36
|
+
onDelete: F
|
35
37
|
})]
|
36
38
|
});
|
37
39
|
};
|
38
40
|
export {
|
39
|
-
|
41
|
+
L as MetadataInstanceFormCardWrapper
|
40
42
|
};
|
@@ -1,19 +1,19 @@
|
|
1
1
|
import "../../../../../../styles/metadata-instance-form.css";
|
2
|
-
import { Formik as
|
3
|
-
import { useState as
|
4
|
-
import { TEMPLATE_CUSTOM_PROPERTIES as
|
5
|
-
import { useAutofill as
|
6
|
-
import { TemplateInstance as
|
7
|
-
import { MetadataEmptyState as
|
8
|
-
import { UnsavedChangesModal as
|
9
|
-
import { CustomInstance as
|
10
|
-
import { DeleteConfirmationModal as
|
11
|
-
import { c as
|
12
|
-
import { MetadataInstanceFormCardWrapper as
|
13
|
-
import { jsx as r, jsxs as
|
14
|
-
const
|
15
|
-
metadataInstanceForm:
|
16
|
-
},
|
2
|
+
import { Formik as K, Form as W } from "formik";
|
3
|
+
import { useState as p, useEffect as d, useRef as j, useMemo as k } from "react";
|
4
|
+
import { TEMPLATE_CUSTOM_PROPERTIES as L } from "../../../../constants.js";
|
5
|
+
import { useAutofill as V } from "../../../../utils/autofill-context.js";
|
6
|
+
import { TemplateInstance as $ } from "../../../metadata-editor-fields/metadata-editor-fields.js";
|
7
|
+
import { MetadataEmptyState as w } from "../../../metadata-empty-state/metadata-empty-state.js";
|
8
|
+
import { UnsavedChangesModal as J } from "../../../unsaved-changes-modal/unsaved-changes-modal.js";
|
9
|
+
import { CustomInstance as q } from "../custom-instance/custom-instance.js";
|
10
|
+
import { DeleteConfirmationModal as z } from "../delete-confirmation-modal/delete-confirmation-modal.js";
|
11
|
+
import { c as G } from "../../../../../../chunks/utils.js";
|
12
|
+
import { MetadataInstanceFormCardWrapper as H } from "./metadata-instance-form-card-wrapper.js";
|
13
|
+
import { jsx as r, jsxs as Q } from "react/jsx-runtime";
|
14
|
+
const X = "_metadataInstanceForm_1hu4u_1", Y = {
|
15
|
+
metadataInstanceForm: X
|
16
|
+
}, fo = (c) => {
|
17
17
|
const {
|
18
18
|
areAiSuggestionsAvailable: h,
|
19
19
|
customRef: a,
|
@@ -28,67 +28,69 @@ const Q = "_metadataInstanceForm_1hu4u_1", X = {
|
|
28
28
|
onSubmit: y,
|
29
29
|
setIsUnsavedChangesModalOpen: s,
|
30
30
|
taxonomyOptionsFetcher: e
|
31
|
-
} = c, b = M ??
|
31
|
+
} = c, b = M ?? H, [O, m] = p(!1), {
|
32
32
|
isFetchingSuggestions: n,
|
33
33
|
getAiSuggestions: A,
|
34
|
-
clearSuggestions: u
|
35
|
-
|
36
|
-
|
34
|
+
clearSuggestions: u,
|
35
|
+
suggestions: v
|
36
|
+
} = V();
|
37
|
+
d(() => () => {
|
37
38
|
u();
|
38
39
|
}, [u]);
|
39
|
-
const f = (o == null ? void 0 : o.templateKey) ===
|
40
|
-
await y(t,
|
41
|
-
},
|
40
|
+
const f = (o == null ? void 0 : o.templateKey) === L, x = async (t) => {
|
41
|
+
await y(t, G(t, o));
|
42
|
+
}, P = (t) => {
|
42
43
|
t ? s(!0) : S();
|
43
|
-
},
|
44
|
+
}, R = () => {
|
44
45
|
m(!0);
|
45
|
-
},
|
46
|
+
}, U = {
|
46
47
|
metadata: {
|
47
48
|
...o
|
48
49
|
}
|
49
|
-
}, l =
|
50
|
-
|
51
|
-
|
50
|
+
}, l = j(null), [g, _] = p(null);
|
51
|
+
d(() => {
|
52
|
+
_(a ?? l.current);
|
52
53
|
}, [a, o == null ? void 0 : o.templateKey, o == null ? void 0 : o.scope]);
|
53
|
-
const
|
54
|
+
const N = k(() => {
|
54
55
|
const t = (o == null ? void 0 : o.fields.length) === 0;
|
55
|
-
return f ? /* @__PURE__ */ r(
|
56
|
+
return f ? /* @__PURE__ */ r(q, {
|
56
57
|
isLoading: n
|
57
|
-
}) : t ? /* @__PURE__ */ r(
|
58
|
+
}) : t ? /* @__PURE__ */ r(w, {
|
58
59
|
isBoxAiSuggestionsFeatureEnabled: i,
|
59
60
|
level: "instance"
|
60
|
-
}) : /* @__PURE__ */ r(
|
61
|
+
}) : /* @__PURE__ */ r($, {
|
61
62
|
disableForm: n,
|
62
|
-
portalElement: a ??
|
63
|
+
portalElement: a ?? g,
|
63
64
|
taxonomyOptionsFetcher: e
|
64
65
|
});
|
65
|
-
}, [o == null ? void 0 : o.fields.length, f, n, a,
|
66
|
-
return /* @__PURE__ */ r(
|
67
|
-
initialValues:
|
68
|
-
onSubmit:
|
66
|
+
}, [o == null ? void 0 : o.fields.length, f, n, a, g, e, i]);
|
67
|
+
return /* @__PURE__ */ r(K, {
|
68
|
+
initialValues: U,
|
69
|
+
onSubmit: x,
|
69
70
|
children: ({
|
70
71
|
values: t,
|
71
|
-
dirty:
|
72
|
-
}) => /* @__PURE__ */
|
72
|
+
dirty: B
|
73
|
+
}) => /* @__PURE__ */ Q(W, {
|
73
74
|
children: [/* @__PURE__ */ r(b, {
|
74
75
|
areAiSuggestionsAvailable: h,
|
75
|
-
className:
|
76
|
+
className: Y.metadataInstanceForm,
|
76
77
|
formRef: l,
|
77
78
|
formValues: t,
|
78
79
|
getAiSuggestions: A,
|
79
|
-
handleCancel:
|
80
|
-
handleDelete:
|
80
|
+
handleCancel: P,
|
81
|
+
handleDelete: R,
|
81
82
|
isAiSuggestionsFeatureEnabled: i,
|
82
83
|
isDeleteButtonDisabled: C,
|
83
84
|
isFetchingSuggestions: n,
|
84
|
-
isFormDirty:
|
85
|
+
isFormDirty: B,
|
85
86
|
selectedTemplateInstance: o,
|
86
|
-
|
87
|
-
|
87
|
+
suggestions: v,
|
88
|
+
children: o && N
|
89
|
+
}), /* @__PURE__ */ r(J, {
|
88
90
|
onBackToEdit: () => s(!1),
|
89
91
|
onDiscardChanges: D,
|
90
92
|
open: F
|
91
|
-
}), /* @__PURE__ */ r(
|
93
|
+
}), /* @__PURE__ */ r(z, {
|
92
94
|
onConfirm: () => E(o),
|
93
95
|
onDismiss: () => m(!1),
|
94
96
|
open: O,
|
@@ -98,5 +100,5 @@ const Q = "_metadataInstanceForm_1hu4u_1", X = {
|
|
98
100
|
}, `${o == null ? void 0 : o.scope}.${o == null ? void 0 : o.templateKey}`);
|
99
101
|
};
|
100
102
|
export {
|
101
|
-
|
103
|
+
fo as MetadataInstanceForm
|
102
104
|
};
|
@@ -10,7 +10,7 @@ const e = a({
|
|
10
10
|
},
|
11
11
|
autofillButtonTooltip: {
|
12
12
|
id: "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip",
|
13
|
-
defaultMessage: "Autofill with Box AI"
|
13
|
+
defaultMessage: "Autofill with Box AI (Beta)"
|
14
14
|
},
|
15
15
|
loadingButtonAriaLabel: {
|
16
16
|
id: "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel",
|
@@ -1,10 +1,18 @@
|
|
1
|
-
import { defineMessages as
|
2
|
-
const
|
1
|
+
import { defineMessages as e } from "react-intl";
|
2
|
+
const t = e({
|
3
3
|
customInstanceTitle: {
|
4
4
|
id: "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle",
|
5
5
|
defaultMessage: "Custom Metadata"
|
6
|
+
},
|
7
|
+
aiSuggestionNoticeHeader: {
|
8
|
+
id: "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader",
|
9
|
+
defaultMessage: "Box AI Autofill is in Beta"
|
10
|
+
},
|
11
|
+
aiSuggestionNoticeBody: {
|
12
|
+
id: "metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody",
|
13
|
+
defaultMessage: "Please check responses before saving."
|
6
14
|
}
|
7
15
|
});
|
8
16
|
export {
|
9
|
-
|
17
|
+
t as default
|
10
18
|
};
|
@@ -1,32 +1,49 @@
|
|
1
1
|
import "../../../../../../styles/metadata-instance-form-header.css";
|
2
|
-
import { useIntl as
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
2
|
+
import { useIntl as I } from "react-intl";
|
3
|
+
import { InlineNotice as g, Text as n } from "@box/blueprint-web";
|
4
|
+
import p from "../../../interactive-header-text/interactive-header-text.js";
|
5
|
+
import { MetadataInstanceFormAutofillButton as u } from "../metadata-instance-form-autofill-button/metadata-instance-form-autofill-button.js";
|
6
|
+
import e from "./messages.js";
|
7
|
+
import { jsxs as a, Fragment as H, jsx as r } from "react/jsx-runtime";
|
8
|
+
const x = "_metadataInstanceFormHeader_13lxr_1", F = "_title_13lxr_9", s = {
|
9
|
+
metadataInstanceFormHeader: x,
|
10
|
+
title: F
|
11
|
+
}, T = ({
|
12
|
+
areAiSuggestionsAvailable: o,
|
13
|
+
hasSuggestions: i,
|
14
|
+
isAiSuggestionsFeatureEnabled: m,
|
15
|
+
isLoading: c,
|
16
|
+
templateName: l,
|
17
|
+
onAutofill: d
|
16
18
|
}) => {
|
17
|
-
const
|
18
|
-
return /* @__PURE__ */
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
19
|
+
const t = I(), f = l ?? t.formatMessage(e.customInstanceTitle);
|
20
|
+
return /* @__PURE__ */ a(H, {
|
21
|
+
children: [/* @__PURE__ */ a("div", {
|
22
|
+
className: s.metadataInstanceFormHeader,
|
23
|
+
children: [/* @__PURE__ */ r(p, {
|
24
|
+
className: s.title,
|
25
|
+
title: f
|
26
|
+
}), m ? /* @__PURE__ */ r(u, {
|
27
|
+
areAiSuggestionsAvailable: o,
|
28
|
+
isLoading: c,
|
29
|
+
onAutofill: d
|
30
|
+
}) : null]
|
31
|
+
}), i && o ? /* @__PURE__ */ r("div", {
|
32
|
+
children: /* @__PURE__ */ a(g, {
|
33
|
+
variant: "info",
|
34
|
+
variantIconAriaLabel: t.formatMessage(e.aiSuggestionNoticeHeader),
|
35
|
+
children: [/* @__PURE__ */ r(n, {
|
36
|
+
as: "p",
|
37
|
+
variant: "bodyDefaultBold",
|
38
|
+
children: t.formatMessage(e.aiSuggestionNoticeHeader)
|
39
|
+
}), /* @__PURE__ */ a(n, {
|
40
|
+
as: "p",
|
41
|
+
children: [t.formatMessage(e.aiSuggestionNoticeBody), " "]
|
42
|
+
})]
|
43
|
+
})
|
27
44
|
}) : null]
|
28
45
|
});
|
29
46
|
};
|
30
47
|
export {
|
31
|
-
|
48
|
+
T as MetadataInstanceFormHeader
|
32
49
|
};
|
package/esm/lib/components/metadata-instance-list/subcomponents/metadata-instance-header/messages.js
CHANGED
@@ -6,7 +6,7 @@ const e = t({
|
|
6
6
|
},
|
7
7
|
autofillButtonTooltip: {
|
8
8
|
id: "metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonTooltip",
|
9
|
-
defaultMessage: "Autofill
|
9
|
+
defaultMessage: "Autofill with Box AI (Beta)"
|
10
10
|
},
|
11
11
|
autofillButtonAriaLabel: {
|
12
12
|
id: "metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonAriaLabel",
|
@@ -4,7 +4,7 @@ import { Pencil as p } from "@box/blueprint-web-assets/icons/Line";
|
|
4
4
|
import { BoxAiLogo as I } from "@box/blueprint-web-assets/icons/Logo";
|
5
5
|
import { useIntl as g } from "react-intl";
|
6
6
|
import _ from "../../../interactive-header-text/interactive-header-text.js";
|
7
|
-
import
|
7
|
+
import o from "./messages.js";
|
8
8
|
import { jsxs as s, jsx as a } from "react/jsx-runtime";
|
9
9
|
const x = "_metadataInstanceHeader_54pdx_1", b = "_iconButtonsContainer_54pdx_6", A = "_title_54pdx_14", e = {
|
10
10
|
metadataInstanceHeader: x,
|
@@ -16,9 +16,9 @@ const x = "_metadataInstanceHeader_54pdx_1", b = "_iconButtonsContainer_54pdx_6"
|
|
16
16
|
isAiSuggestionsFeatureEnabled: d,
|
17
17
|
onEdit: m,
|
18
18
|
onAutofill: u,
|
19
|
-
templateName:
|
19
|
+
templateName: n
|
20
20
|
}) => {
|
21
|
-
const
|
21
|
+
const t = g(), f = n || t.formatMessage(o.customInstanceTitle), B = d && n;
|
22
22
|
return /* @__PURE__ */ s("div", {
|
23
23
|
className: e.metadataInstanceHeader,
|
24
24
|
children: [/* @__PURE__ */ a(_, {
|
@@ -27,12 +27,10 @@ const x = "_metadataInstanceHeader_54pdx_1", b = "_iconButtonsContainer_54pdx_6"
|
|
27
27
|
}), l && /* @__PURE__ */ s("div", {
|
28
28
|
className: e.iconButtonsContainer,
|
29
29
|
children: [B && /* @__PURE__ */ a(i, {
|
30
|
-
content:
|
31
|
-
templateName: t
|
32
|
-
}),
|
30
|
+
content: t.formatMessage(o.autofillButtonTooltip),
|
33
31
|
children: /* @__PURE__ */ a(r, {
|
34
|
-
"aria-label":
|
35
|
-
templateName:
|
32
|
+
"aria-label": t.formatMessage(o.autofillButtonAriaLabel, {
|
33
|
+
templateName: n
|
36
34
|
}),
|
37
35
|
disabled: !c,
|
38
36
|
icon: I,
|
@@ -41,10 +39,10 @@ const x = "_metadataInstanceHeader_54pdx_1", b = "_iconButtonsContainer_54pdx_6"
|
|
41
39
|
"data-target-id": "IconButton-autofillButtonAriaLabel"
|
42
40
|
})
|
43
41
|
}), /* @__PURE__ */ a(i, {
|
44
|
-
content:
|
42
|
+
content: t.formatMessage(o.editButtonTooltip),
|
45
43
|
children: /* @__PURE__ */ a(r, {
|
46
|
-
"aria-label":
|
47
|
-
templateName:
|
44
|
+
"aria-label": t.formatMessage(o.editButtonAriaLabel, {
|
45
|
+
templateName: n
|
48
46
|
}),
|
49
47
|
icon: p,
|
50
48
|
onClick: m,
|
package/i18n/bn-IN.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "মুছুন",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "লোড করা হচ্ছে...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "সেভ করুন",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "অটোফিল",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Box AI দিয়ে অটোফিল করুন",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Box AI দিয়ে অটোফিল করুন",
|
package/i18n/da-DK.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Slet",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Indlæser...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Gem",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Automatisk udfyldning",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Automatisk udfyldning med Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Automatisk udfyldning med Box AI",
|
package/i18n/de-DE.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Löschen",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Laden…",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Speichern",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Automatisch ausfüllen",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Mit Box AI automatisch ausfüllen",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Mit Box AI automatisch ausfüllen",
|
package/i18n/en-AU.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Delete",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Loading...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Save",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Autofill",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Autofill with Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Autofill with Box AI",
|
package/i18n/en-CA.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Delete",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Loading...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Save",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Autofill",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Autofill with Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Autofill with Box AI",
|
package/i18n/en-GB.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Delete",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Loading...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Save",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Autofill",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Autofill with Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Autofill with Box AI",
|
package/i18n/en-US.js
CHANGED
@@ -87,9 +87,11 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Delete",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Loading...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Save",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Autofill",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Autofill with Box AI",
|
92
|
-
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Autofill with Box AI",
|
94
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Autofill with Box AI (Beta)",
|
93
95
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle": "Custom Metadata",
|
94
96
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel": "Loading...",
|
95
97
|
"metadataEditor.unsavedChangesModal.body": "Metadata template(s) have unsaved changes. How would you like to proceed?",
|
@@ -100,7 +102,7 @@ export default {
|
|
100
102
|
"metadataEditor.viewInstance.metadataInstanceFooter.hideEmptyValuesCTA": "Hide empty values",
|
101
103
|
"metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA": "Show empty values",
|
102
104
|
"metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonAriaLabel": "Autofill {templateName} with Box AI",
|
103
|
-
"metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonTooltip": "Autofill
|
105
|
+
"metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonTooltip": "Autofill with Box AI (Beta)",
|
104
106
|
"metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle": "Custom Metadata",
|
105
107
|
"metadataEditor.viewInstance.metadataInstanceHeader.editButtonAriaLabel": "Edit {templateName}",
|
106
108
|
"metadataEditor.viewInstance.metadataInstanceHeader.editButtonTooltip": "Edit",
|
package/i18n/en-US.properties
CHANGED
@@ -174,12 +174,16 @@ metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton =
|
|
174
174
|
metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel = Loading...
|
175
175
|
# Call to action to save Metadata Instance.
|
176
176
|
metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton = Save
|
177
|
+
# Body for AI suggestions is in Beta notice to inform user to check responses before saving
|
178
|
+
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody = Please check responses before saving.
|
179
|
+
# Header for AI suggestions is in Beta notice
|
180
|
+
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader = Box AI Autofill is in Beta
|
177
181
|
# Button with "Autofill" text. Call to action to automatically fill in form fields based on AI information
|
178
182
|
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton = Autofill
|
179
183
|
# Aria label for the "Autofill" button.
|
180
184
|
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel = Autofill with Box AI
|
181
185
|
# Tooltip text explaining that by clicking button user can autofill template using Box AI
|
182
|
-
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip = Autofill with Box AI
|
186
|
+
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip = Autofill with Box AI (Beta)
|
183
187
|
# Header with Custom Metadata template name
|
184
188
|
metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle = Custom Metadata
|
185
189
|
# Aria label used to indicate that the button is currently loading.
|
@@ -201,7 +205,7 @@ metadataEditor.viewInstance.metadataInstanceFooter.showEmptyValuesCTA = Show emp
|
|
201
205
|
# Aria label for the autofill button
|
202
206
|
metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonAriaLabel = Autofill {templateName} with Box AI
|
203
207
|
# Tooltip text explaining that by clicking button user can autofill template using Box AI
|
204
|
-
metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonTooltip = Autofill
|
208
|
+
metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonTooltip = Autofill with Box AI (Beta)
|
205
209
|
# Header with Custom Metadata template name
|
206
210
|
metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle = Custom Metadata
|
207
211
|
# Aria label for the edit button
|
package/i18n/en-x-pseudo.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "⟦萬 Ðεľеţé 國⟧",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "⟦萬萬 Ŀòåďïņĝ... 國國⟧",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "⟦萬 Śάνė 國⟧",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "⟦萬萬 Άûţοƒíľļ 國國⟧",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "⟦萬萬萬萬萬 Ãũţöƒîľĺ ŵïţĥ Βόх ǺĪ 國國國國國⟧",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "⟦萬萬萬萬萬 Ăüţöƒϊļļ ẁĭťħ Βŏ× ÄІ 國國國國國⟧",
|
package/i18n/es-419.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Eliminar",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Cargando…",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Guardar",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Autorrellenar",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Autocompletar con Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Autocompletar con Box AI",
|
package/i18n/es-ES.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Eliminar",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Cargando…",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Guardar",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Autorrellenar",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Autocompletar con Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Autocompletar con Box AI",
|
package/i18n/fi-FI.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Poista",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Ladataan...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Tallenna",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Automaattinen täyttö",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Täytä metatiedot automaattisesti Box AI:n avulla",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Täytä metatiedot automaattisesti Box AI:n avulla",
|
package/i18n/fr-CA.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Supprimer",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Chargement en cours...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Mettre à jour la balise",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Remplissage automatique",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Remplissez automatiquement avec Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Remplissez automatiquement avec Box AI",
|
package/i18n/fr-FR.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Supprimer",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Chargement en cours...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Mettre à jour la balise",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Remplissage automatique",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Remplissez automatiquement avec Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Remplissez automatiquement avec Box AI",
|
package/i18n/hi-IN.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "हटाएं",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "लोड हो रहा है...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "सहेजें",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "ऑटोफिल",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Box AI के साथ ऑटोफ़िल",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Box AI के साथ ऑटोफ़िल",
|
package/i18n/it-IT.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Elimina",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Caricamento in corso...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Salva",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Riempimento automatico",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Riempimento automatico con Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Riempimento automatico con Box AI",
|
package/i18n/ja-JP.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "削除",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "読み込み中...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "保存",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "自動入力",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Box AIで自動入力",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Box AIで自動入力",
|
@@ -1 +1 @@
|
|
1
|
-
[{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton","description":"Button with \"Autofill\" text. Call to action to automatically fill in form fields based on AI information","defaultMessage":"Autofill"},{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel","description":"Aria label for the \"Autofill\" button.","defaultMessage":"Autofill with Box AI"},{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip","description":"Tooltip text explaining that by clicking button user can autofill template using Box AI","defaultMessage":"Autofill with Box AI"},{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel","description":"Aria label used to indicate that the button is currently loading.","defaultMessage":"Loading..."}]
|
1
|
+
[{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton","description":"Button with \"Autofill\" text. Call to action to automatically fill in form fields based on AI information","defaultMessage":"Autofill"},{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel","description":"Aria label for the \"Autofill\" button.","defaultMessage":"Autofill with Box AI"},{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip","description":"Tooltip text explaining that by clicking button user can autofill template using Box AI","defaultMessage":"Autofill with Box AI (Beta)"},{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.loadingButtonAriaLabel","description":"Aria label used to indicate that the button is currently loading.","defaultMessage":"Loading..."}]
|
@@ -1 +1 @@
|
|
1
|
-
[{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle","description":"Header with Custom Metadata template name","defaultMessage":"Custom Metadata"}]
|
1
|
+
[{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.customInstanceTitle","description":"Header with Custom Metadata template name","defaultMessage":"Custom Metadata"},{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader","description":"Header for AI suggestions is in Beta notice","defaultMessage":"Box AI Autofill is in Beta"},{"id":"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody","description":"Body for AI suggestions is in Beta notice to inform user to check responses before saving","defaultMessage":"Please check responses before saving."}]
|
@@ -1 +1 @@
|
|
1
|
-
[{"id":"metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle","description":"Header with Custom Metadata template name","defaultMessage":"Custom Metadata"},{"id":"metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonTooltip","description":"Tooltip text explaining that by clicking button user can autofill template using Box AI","defaultMessage":"Autofill
|
1
|
+
[{"id":"metadataEditor.viewInstance.metadataInstanceHeader.customMetadataTitle","description":"Header with Custom Metadata template name","defaultMessage":"Custom Metadata"},{"id":"metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonTooltip","description":"Tooltip text explaining that by clicking button user can autofill template using Box AI","defaultMessage":"Autofill with Box AI (Beta)"},{"id":"metadataEditor.viewInstance.metadataInstanceHeader.autofillButtonAriaLabel","description":"Aria label for the autofill button","defaultMessage":"Autofill {templateName} with Box AI"},{"id":"metadataEditor.viewInstance.metadataInstanceHeader.editButtonTooltip","description":"Tooltip text explaining that by clicking button user can edit template","defaultMessage":"Edit"},{"id":"metadataEditor.viewInstance.metadataInstanceHeader.editButtonAriaLabel","description":"Aria label for the edit button","defaultMessage":"Edit {templateName}"}]
|
package/i18n/ko-KR.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "삭제",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "로드 중...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "저장",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "자동 입력",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Box AI를 사용한 자동 입력",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Box AI를 사용한 자동 입력",
|
package/i18n/nb-NO.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Slett",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Laster inn …",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Lagre",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Autofyll",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Automatisk utfylling med Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Automatisk utfylling med Box AI",
|
package/i18n/nl-NL.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Verwijderen",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Laden...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Opslaan",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Automatisch invullen",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Automatisch invullen met Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Automatisch invullen met Box AI",
|
package/i18n/pl-PL.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Usuń",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Trwa wczytywanie...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Zapisz",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Autouzupełnianie",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Automatyczne wypełnianie za pomocą Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Automatyczne wypełnianie za pomocą Box AI",
|
package/i18n/pt-BR.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Excluir",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Carregando...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Salvar",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Preenchimento automático",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Preencher automaticamente com o Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Preencher automaticamente com o Box AI",
|
package/i18n/ru-RU.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Удалить",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Загрузка...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Сохранить",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Автозаполнение",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Автозаполнение с помощью ИИ Box",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Автозаполнение с помощью ИИ Box",
|
package/i18n/sv-SE.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Radera",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Läser in...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Spara",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Autofyll",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Autofyll med Box AI",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Autofyll med Box AI",
|
package/i18n/tr-TR.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "Sil",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "Yükleniyor...",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "Kaydet",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "Otomatik doldurma",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "Box AI ile otomatik olarak doldurun",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "Box AI ile otomatik olarak doldurun",
|
package/i18n/zh-CN.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "删除",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "正在加载......",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "保存",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "自动填充",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "使用 Box AI 自动填充",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "使用 Box AI 自动填充",
|
package/i18n/zh-TW.js
CHANGED
@@ -87,6 +87,8 @@ export default {
|
|
87
87
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.deleteButton": "刪除",
|
88
88
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.loadingAriaLabel": "載入中......",
|
89
89
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormFooter.saveButton": "儲存",
|
90
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeBody": "Please check responses before saving.",
|
91
|
+
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.aiSuggestionNoticeHeader": "Box AI Autofill is in Beta",
|
90
92
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButton": "自動填充",
|
91
93
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonAriaLabel": "使用 Box AI 自動填充",
|
92
94
|
"metadataEditor.metadataInstanceEditor.metadataInstanceFormHeader.autofillButtonTooltip": "使用 Box AI 自動填充",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@box/metadata-editor",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.81.0",
|
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.6.
|
17
|
+
"@box/blueprint-web": "^9.6.1",
|
18
18
|
"@box/blueprint-web-assets": "^4.31.0",
|
19
19
|
"@box/storybook-utils": "^0.8.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": "
|
56
|
+
"gitHead": "956d0fd3110985b7565940b0662f02906b452c58"
|
57
57
|
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { type MetadataFormFieldValue, type MetadataTemplateField, type MetadataTemplateInstance } from '../../../../types';
|
1
|
+
import { type AutofillSuggestions, type MetadataFormFieldValue, type MetadataTemplateField, type MetadataTemplateInstance } from '../../../../types';
|
2
2
|
import { type TaxonomyOptionsFetcher } from '../../../metadata-editor-fields/components/metadata-taxonomy-field/types';
|
3
3
|
import { type FormValues } from '../../types';
|
4
4
|
export type MetadataInstanceFormProps = {
|
@@ -26,6 +26,7 @@ export type MetadataInstanceFormWrapperProps<T> = {
|
|
26
26
|
isFetchingSuggestions: boolean;
|
27
27
|
isFormDirty: boolean;
|
28
28
|
selectedTemplateInstance: MetadataTemplateInstance | null;
|
29
|
+
suggestions: AutofillSuggestions;
|
29
30
|
handleDelete: () => void;
|
30
31
|
handleCancel: (isDirty: boolean) => void;
|
31
32
|
getAiSuggestions: (templateKey: MetadataTemplateInstance['templateKey'], scope: MetadataTemplateInstance['scope']) => Promise<MetadataTemplateField[]>;
|
@@ -4,5 +4,15 @@ declare const messages: {
|
|
4
4
|
description: string;
|
5
5
|
id: string;
|
6
6
|
};
|
7
|
+
aiSuggestionNoticeHeader: {
|
8
|
+
defaultMessage: string;
|
9
|
+
description: string;
|
10
|
+
id: string;
|
11
|
+
};
|
12
|
+
aiSuggestionNoticeBody: {
|
13
|
+
defaultMessage: string;
|
14
|
+
description: string;
|
15
|
+
id: string;
|
16
|
+
};
|
7
17
|
};
|
8
18
|
export default messages;
|
@@ -1,2 +1,2 @@
|
|
1
1
|
import { type MetadataInstanceFormHeaderProps } from './types';
|
2
|
-
export declare const MetadataInstanceFormHeader: ({ areAiSuggestionsAvailable, isAiSuggestionsFeatureEnabled, isLoading, templateName, onAutofill, }: MetadataInstanceFormHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
2
|
+
export declare const MetadataInstanceFormHeader: ({ areAiSuggestionsAvailable, hasSuggestions, isAiSuggestionsFeatureEnabled, isLoading, templateName, onAutofill, }: MetadataInstanceFormHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { type MetadataTemplateField, type MetadataTemplateInstance } from '../../../../types';
|
2
2
|
export type MetadataInstanceFormHeaderProps = {
|
3
3
|
areAiSuggestionsAvailable: boolean;
|
4
|
+
hasSuggestions: boolean;
|
4
5
|
isAiSuggestionsFeatureEnabled: boolean;
|
5
6
|
isLoading: boolean;
|
6
7
|
onAutofill?: (templateKey: MetadataTemplateInstance['templateKey'], scope: MetadataTemplateInstance['scope']) => Promise<MetadataTemplateField[]>;
|