@box/metadata-editor 1.55.6 → 1.56.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/field-action-bar.module.js +4 -3
- package/dist/chunks/utils2.js +26 -26
- package/dist/esm/lib/components/metadata-editor-fields/components/low-confidence-suggestion-field/low-confidence-suggestion-field.js +48 -29
- package/dist/esm/lib/components/metadata-editor-fields/components/low-confidence-suggestion-field/messages.js +6 -2
- package/dist/esm/lib/components/metadata-editor-fields/metadata-editor-field-wrapper.js +53 -53
- package/dist/i18n/bn-IN.js +1 -0
- package/dist/i18n/bn-IN.properties +2 -0
- package/dist/i18n/da-DK.js +1 -0
- package/dist/i18n/da-DK.properties +2 -0
- package/dist/i18n/de-DE.js +1 -0
- package/dist/i18n/de-DE.properties +2 -0
- package/dist/i18n/en-AU.js +1 -0
- package/dist/i18n/en-AU.properties +2 -0
- package/dist/i18n/en-CA.js +1 -0
- package/dist/i18n/en-CA.properties +2 -0
- package/dist/i18n/en-GB.js +1 -0
- package/dist/i18n/en-GB.properties +2 -0
- package/dist/i18n/en-US.js +1 -0
- package/dist/i18n/en-US.properties +2 -0
- package/dist/i18n/en-x-pseudo.js +151 -150
- package/dist/i18n/en-x-pseudo.properties +152 -150
- package/dist/i18n/es-419.js +1 -0
- package/dist/i18n/es-419.properties +2 -0
- package/dist/i18n/es-ES.js +1 -0
- package/dist/i18n/es-ES.properties +2 -0
- package/dist/i18n/fi-FI.js +1 -0
- package/dist/i18n/fi-FI.properties +2 -0
- package/dist/i18n/fr-CA.js +1 -0
- package/dist/i18n/fr-CA.properties +2 -0
- package/dist/i18n/fr-FR.js +1 -0
- package/dist/i18n/fr-FR.properties +2 -0
- package/dist/i18n/hi-IN.js +1 -0
- package/dist/i18n/hi-IN.properties +2 -0
- package/dist/i18n/it-IT.js +1 -0
- package/dist/i18n/it-IT.properties +2 -0
- package/dist/i18n/ja-JP.js +1 -0
- package/dist/i18n/ja-JP.properties +2 -0
- package/dist/i18n/json/src/lib/components/metadata-editor-fields/components/low-confidence-suggestion-field/messages.json +1 -1
- package/dist/i18n/ko-KR.js +1 -0
- package/dist/i18n/ko-KR.properties +2 -0
- package/dist/i18n/nb-NO.js +1 -0
- package/dist/i18n/nb-NO.properties +2 -0
- package/dist/i18n/nl-NL.js +1 -0
- package/dist/i18n/nl-NL.properties +2 -0
- package/dist/i18n/pl-PL.js +1 -0
- package/dist/i18n/pl-PL.properties +2 -0
- package/dist/i18n/pt-BR.js +1 -0
- package/dist/i18n/pt-BR.properties +2 -0
- package/dist/i18n/ru-RU.js +1 -0
- package/dist/i18n/ru-RU.properties +2 -0
- package/dist/i18n/sv-SE.js +1 -0
- package/dist/i18n/sv-SE.properties +2 -0
- package/dist/i18n/tr-TR.js +1 -0
- package/dist/i18n/tr-TR.properties +2 -0
- package/dist/i18n/zh-CN.js +1 -0
- package/dist/i18n/zh-CN.properties +2 -0
- package/dist/i18n/zh-TW.js +1 -0
- package/dist/i18n/zh-TW.properties +2 -0
- package/dist/styles/field-action-bar.css +1 -1
- package/dist/styles/utils.css +1 -1
- package/dist/types/lib/components/metadata-editor-fields/components/low-confidence-suggestion-field/messages.d.ts +5 -0
- package/package.json +9 -9
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import '../styles/field-action-bar.css';const r = "
|
|
1
|
+
import '../styles/field-action-bar.css';const r = "_wrapperGradient_9h730_1", t = "_wrapper_9h730_1", e = "_buttons_9h730_25", a = "_loader_9h730_30", p = {
|
|
2
2
|
wrapperGradient: r,
|
|
3
3
|
wrapper: t,
|
|
4
|
-
buttons:
|
|
4
|
+
buttons: e,
|
|
5
|
+
loader: a
|
|
5
6
|
};
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
p as s
|
|
8
9
|
};
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { convertISOStringtoRFC3339String as
|
|
3
|
-
import
|
|
4
|
-
import { jsxs as
|
|
1
|
+
import d from "clsx";
|
|
2
|
+
import { convertISOStringtoRFC3339String as b } from "../esm/lib/utils/convertDate.js";
|
|
3
|
+
import m from "../esm/lib/components/interactive-text/interactive-text.js";
|
|
4
|
+
import { jsxs as g, jsx as r } from "react/jsx-runtime";
|
|
5
5
|
import { isConfidenceScoreNeedingReview as T } from "../esm/lib/utils/confidence-score/is-confidence-score-needing-review.js";
|
|
6
6
|
import { LowConfidenceBadge as f } from "../esm/lib/components/metadata-editor-fields/components/low-confidence-badge/low-confidence-badge.js";
|
|
7
7
|
import { AiLogoBadge as x } from "../esm/lib/components/metadata-editor-fields/components/ai-logo-badge/ai-logo-badge.js";
|
|
8
|
-
import '../styles/utils.css';const
|
|
9
|
-
noAttributesText:
|
|
10
|
-
fieldWrapper:
|
|
11
|
-
hasSuggestion:
|
|
12
|
-
hasConfidenceReview:
|
|
13
|
-
dateField:
|
|
14
|
-
|
|
8
|
+
import '../styles/utils.css';const h = "_noAttributesText_1u4tq_2", q = "_fieldWrapper_1u4tq_6", v = "_hasSuggestion_1u4tq_11", C = "_hasConfidenceReview_1u4tq_16", N = "_dateField_1u4tq_44", w = "_aiApproved_1u4tq_48", A = "_labelWrapper_1u4tq_95", W = "_labelText_1u4tq_101", I = "_labelTruncated_1u4tq_104", F = "_labelIcon_1u4tq_111", l = {
|
|
9
|
+
noAttributesText: h,
|
|
10
|
+
fieldWrapper: q,
|
|
11
|
+
hasSuggestion: v,
|
|
12
|
+
hasConfidenceReview: C,
|
|
13
|
+
dateField: N,
|
|
14
|
+
aiApproved: w,
|
|
15
15
|
labelWrapper: A,
|
|
16
16
|
labelText: W,
|
|
17
17
|
labelTruncated: I,
|
|
18
18
|
labelIcon: F
|
|
19
|
-
}, O = (a, t,
|
|
19
|
+
}, O = (a, t, s = !1, i = "label", e) => (c) => {
|
|
20
20
|
const {
|
|
21
|
-
className:
|
|
21
|
+
className: u,
|
|
22
22
|
...n
|
|
23
|
-
} =
|
|
23
|
+
} = c, o = d(u || l.labelText, l.labelTruncated), _ = !!e && T(e), p = () => e && _ ? /* @__PURE__ */ r(f, {
|
|
24
24
|
confidenceScore: e
|
|
25
|
-
}) :
|
|
26
|
-
className:
|
|
25
|
+
}) : s || e ? /* @__PURE__ */ r(x, {
|
|
26
|
+
className: l.labelIcon,
|
|
27
27
|
confidenceScore: e
|
|
28
28
|
}) : null;
|
|
29
|
-
return /* @__PURE__ */
|
|
30
|
-
className:
|
|
31
|
-
children: [t ? /* @__PURE__ */
|
|
29
|
+
return /* @__PURE__ */ g("div", {
|
|
30
|
+
className: l.labelWrapper,
|
|
31
|
+
children: [t ? /* @__PURE__ */ r(m, {
|
|
32
32
|
as: i,
|
|
33
33
|
className: o,
|
|
34
34
|
tooltipText: t,
|
|
35
35
|
...n,
|
|
36
36
|
children: a
|
|
37
|
-
}) : /* @__PURE__ */
|
|
37
|
+
}) : /* @__PURE__ */ r("label", {
|
|
38
38
|
className: o,
|
|
39
39
|
...n,
|
|
40
40
|
children: a
|
|
41
|
-
}),
|
|
41
|
+
}), p()]
|
|
42
42
|
});
|
|
43
|
-
},
|
|
43
|
+
}, z = (a) => {
|
|
44
44
|
try {
|
|
45
|
-
const t =
|
|
46
|
-
return isNaN(
|
|
45
|
+
const t = b(a), s = new Date(t);
|
|
46
|
+
return isNaN(s.getTime()) ? null : t;
|
|
47
47
|
} catch {
|
|
48
48
|
return null;
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
export {
|
|
52
52
|
O as g,
|
|
53
|
-
s,
|
|
54
|
-
|
|
53
|
+
l as s,
|
|
54
|
+
z as t
|
|
55
55
|
};
|
|
@@ -1,50 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { useState as h, useRef as L, useEffect as b } from "react";
|
|
2
|
+
import { useIntl as M } from "react-intl";
|
|
3
|
+
import { useBlueprintModernization as v, Text as s, LoadingIndicator as x, Tooltip as c, IconButton as d } from "@box/blueprint-web";
|
|
4
|
+
import { Checkmark as A, XMark as I } from "@box/blueprint-web-assets/icons/Medium";
|
|
5
|
+
import { s as r } from "../../../../../../chunks/field-action-bar.module.js";
|
|
5
6
|
import t from "./messages.js";
|
|
6
|
-
import { jsx as e, jsxs as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
8
|
+
const T = 800;
|
|
9
|
+
function N({
|
|
10
|
+
onAccept: m,
|
|
11
|
+
onClear: u
|
|
10
12
|
}) {
|
|
11
|
-
const a =
|
|
12
|
-
enableModernizedComponents:
|
|
13
|
-
} =
|
|
13
|
+
const a = M(), {
|
|
14
|
+
enableModernizedComponents: f
|
|
15
|
+
} = v(), [p, n] = h(!1), o = L(void 0);
|
|
16
|
+
b(() => () => clearTimeout(o.current), []);
|
|
17
|
+
const l = (g) => {
|
|
18
|
+
clearTimeout(o.current), n(!0);
|
|
19
|
+
try {
|
|
20
|
+
g();
|
|
21
|
+
} finally {
|
|
22
|
+
o.current = setTimeout(() => {
|
|
23
|
+
n(!1);
|
|
24
|
+
}, T);
|
|
25
|
+
}
|
|
26
|
+
};
|
|
14
27
|
return /* @__PURE__ */ e("div", {
|
|
15
|
-
className:
|
|
16
|
-
"data-modern":
|
|
17
|
-
children: /* @__PURE__ */
|
|
18
|
-
className:
|
|
19
|
-
children: [/* @__PURE__ */
|
|
20
|
-
children: [/* @__PURE__ */ e(
|
|
28
|
+
className: r.wrapperGradient,
|
|
29
|
+
"data-modern": f,
|
|
30
|
+
children: /* @__PURE__ */ i("div", {
|
|
31
|
+
className: r.wrapper,
|
|
32
|
+
children: [/* @__PURE__ */ i("div", {
|
|
33
|
+
children: [/* @__PURE__ */ e(s, {
|
|
21
34
|
as: "p",
|
|
22
35
|
color: "textOnLightSecondary",
|
|
23
36
|
variant: "caption",
|
|
24
37
|
children: a.formatMessage(t.needsReview)
|
|
25
|
-
}), /* @__PURE__ */ e(
|
|
38
|
+
}), /* @__PURE__ */ e(s, {
|
|
26
39
|
as: "p",
|
|
27
40
|
color: "textOnLightDefault",
|
|
28
41
|
variant: "bodySmallSemibold",
|
|
29
42
|
children: a.formatMessage(t.description)
|
|
30
43
|
})]
|
|
31
|
-
}), /* @__PURE__ */
|
|
32
|
-
className:
|
|
33
|
-
children:
|
|
44
|
+
}), p ? /* @__PURE__ */ e("div", {
|
|
45
|
+
className: r.loader,
|
|
46
|
+
children: /* @__PURE__ */ e(x, {
|
|
47
|
+
"aria-label": a.formatMessage(t.reviewActionLoadingAriaLabel),
|
|
48
|
+
size: "small"
|
|
49
|
+
})
|
|
50
|
+
}) : /* @__PURE__ */ i("div", {
|
|
51
|
+
className: r.buttons,
|
|
52
|
+
children: [/* @__PURE__ */ e(c, {
|
|
34
53
|
content: a.formatMessage(t.acceptValueTooltip),
|
|
35
|
-
children: /* @__PURE__ */ e(
|
|
54
|
+
children: /* @__PURE__ */ e(d, {
|
|
36
55
|
"aria-label": a.formatMessage(t.acceptValueAriaLabel),
|
|
37
|
-
icon:
|
|
38
|
-
onClick:
|
|
56
|
+
icon: A,
|
|
57
|
+
onClick: () => l(m),
|
|
39
58
|
size: "x-small",
|
|
40
59
|
"data-target-id": "IconButton-acceptValueAriaLabel"
|
|
41
60
|
})
|
|
42
|
-
}), /* @__PURE__ */ e(
|
|
61
|
+
}), /* @__PURE__ */ e(c, {
|
|
43
62
|
content: a.formatMessage(t.clearValueTooltip),
|
|
44
|
-
children: /* @__PURE__ */ e(
|
|
63
|
+
children: /* @__PURE__ */ e(d, {
|
|
45
64
|
"aria-label": a.formatMessage(t.clearValueAriaLabel),
|
|
46
|
-
icon:
|
|
47
|
-
onClick:
|
|
65
|
+
icon: I,
|
|
66
|
+
onClick: () => l(u),
|
|
48
67
|
size: "x-small",
|
|
49
68
|
"data-target-id": "IconButton-clearValueAriaLabel"
|
|
50
69
|
})
|
|
@@ -54,5 +73,5 @@ function L({
|
|
|
54
73
|
});
|
|
55
74
|
}
|
|
56
75
|
export {
|
|
57
|
-
|
|
76
|
+
N as LowConfidenceSuggestionField
|
|
58
77
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages as e } from "react-intl";
|
|
2
|
-
const
|
|
2
|
+
const i = e({
|
|
3
3
|
needsReview: {
|
|
4
4
|
id: "metadataEditor.lowConfidenceSuggestionField.needsReview",
|
|
5
5
|
defaultMessage: "Needs review"
|
|
@@ -23,8 +23,12 @@ const t = e({
|
|
|
23
23
|
clearValueAriaLabel: {
|
|
24
24
|
id: "metadataEditor.lowConfidenceSuggestionField.clearValueAriaLabel",
|
|
25
25
|
defaultMessage: "Clear extracted value"
|
|
26
|
+
},
|
|
27
|
+
reviewActionLoadingAriaLabel: {
|
|
28
|
+
id: "metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel",
|
|
29
|
+
defaultMessage: "Processing review action"
|
|
26
30
|
}
|
|
27
31
|
});
|
|
28
32
|
export {
|
|
29
|
-
|
|
33
|
+
i as default
|
|
30
34
|
};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useFormikContext as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { forwardRef as
|
|
1
|
+
import G from "clsx";
|
|
2
|
+
import { useFormikContext as H } from "formik";
|
|
3
|
+
import J from "lodash/isEqual";
|
|
4
|
+
import K from "lodash/isUndefined";
|
|
5
|
+
import { forwardRef as Q, useCallback as d, useEffect as k, useMemo as X } from "react";
|
|
6
6
|
import { A as r } from "../../../../chunks/types.js";
|
|
7
|
-
import { UpdateModeFieldWrapper as
|
|
8
|
-
import { editorFieldTypes as
|
|
7
|
+
import { UpdateModeFieldWrapper as Y } from "./components/update-mode-field-wrapper/update-mode-field-wrapper.js";
|
|
8
|
+
import { editorFieldTypes as Z } from "./editor-field-types.js";
|
|
9
9
|
import { s as u } from "../../../../chunks/utils2.js";
|
|
10
|
-
import { jsx as l, jsxs as
|
|
11
|
-
import { isConfidenceScoreNeedingReview as
|
|
12
|
-
import { AiSuggestionField as
|
|
13
|
-
import { LowConfidenceSuggestionField as
|
|
14
|
-
const
|
|
10
|
+
import { jsx as l, jsxs as _ } from "react/jsx-runtime";
|
|
11
|
+
import { isConfidenceScoreNeedingReview as P } from "../../utils/confidence-score/is-confidence-score-needing-review.js";
|
|
12
|
+
import { AiSuggestionField as O } from "./components/ai-suggestion-field/ai-suggestion-field.js";
|
|
13
|
+
import { LowConfidenceSuggestionField as R } from "./components/low-confidence-suggestion-field/low-confidence-suggestion-field.js";
|
|
14
|
+
const ge = /* @__PURE__ */ Q(({
|
|
15
15
|
disableForm: h,
|
|
16
|
-
portalElement:
|
|
16
|
+
portalElement: v,
|
|
17
17
|
field: e,
|
|
18
|
-
index:
|
|
19
|
-
taxonomyOptionsFetcher:
|
|
20
|
-
isExternallyOwned:
|
|
21
|
-
isMultilevelTaxonomyFieldEnabled:
|
|
18
|
+
index: L,
|
|
19
|
+
taxonomyOptionsFetcher: $,
|
|
20
|
+
isExternallyOwned: C,
|
|
21
|
+
isMultilevelTaxonomyFieldEnabled: N,
|
|
22
22
|
isConfidenceScoreReviewEnabled: n = !1
|
|
23
|
-
},
|
|
23
|
+
}, V) => {
|
|
24
24
|
const {
|
|
25
25
|
setFieldValue: t
|
|
26
|
-
} =
|
|
26
|
+
} = H(), m = e.aiSuggestionState || r.Initial, s = m === r.Pending, F = m === r.Applied, x = m === r.Initial, f = Z[e.type], {
|
|
27
27
|
aiSuggestion: i,
|
|
28
28
|
aiSuggestionConfidenceScore: A,
|
|
29
29
|
type: g,
|
|
30
30
|
value: a
|
|
31
|
-
} = e,
|
|
32
|
-
[u.
|
|
31
|
+
} = e, U = f && !e.hidden, j = !K(e.updateMode), o = `metadata.fields[${L}]`, T = e.type === "taxonomy" && e.optionsRules?.multiSelect, M = n && !!e.confidenceScore, I = M && P(e.confidenceScore), q = M && !s && !P(e.confidenceScore), B = G({
|
|
32
|
+
[u.aiApproved]: F || q,
|
|
33
33
|
[u.hasSuggestion]: s,
|
|
34
|
-
[u.hasConfidenceReview]: !s &&
|
|
34
|
+
[u.hasConfidenceReview]: !s && I,
|
|
35
35
|
[u.dateField]: g === "date"
|
|
36
36
|
}), p = d((c) => {
|
|
37
37
|
t(`${o}.aiSuggestionState`, c);
|
|
@@ -39,58 +39,58 @@ const pe = /* @__PURE__ */ H(({
|
|
|
39
39
|
t(`${o}.value`, c), p(r.Applied), n && (t(`${o}.confidenceScore`, A), t(`${o}.aiSuggestionConfidenceScore`, void 0));
|
|
40
40
|
}, [o, t, p, A, n]), y = d(() => {
|
|
41
41
|
p(r.Initial), t(`${o}.aiSuggestion`, void 0), n && t(`${o}.aiSuggestionConfidenceScore`, void 0);
|
|
42
|
-
}, [p, t, o, n]),
|
|
42
|
+
}, [p, t, o, n]), w = d(() => {
|
|
43
43
|
t(`${o}.confidenceScore.isAccepted`, !0);
|
|
44
|
-
}, [o, t]),
|
|
44
|
+
}, [o, t]), z = d(() => {
|
|
45
45
|
const c = g === "multiSelect" || g === "taxonomy" ? [] : "";
|
|
46
46
|
t(`${o}.value`, c), t(`${o}.confidenceScore`, void 0);
|
|
47
|
-
}, [o, t, g]),
|
|
47
|
+
}, [o, t, g]), W = d(() => {
|
|
48
48
|
y(), n && e.confidenceScore && t(`${o}.confidenceScore`, void 0);
|
|
49
49
|
}, [y, n, e.confidenceScore, t, o]);
|
|
50
|
-
|
|
50
|
+
k(() => {
|
|
51
51
|
s && (!a || Array.isArray(a) && a.length === 0) && S(i);
|
|
52
|
-
}, [i, s, S]),
|
|
53
|
-
|
|
54
|
-
}, [
|
|
55
|
-
const
|
|
56
|
-
return
|
|
52
|
+
}, [i, s, S]), k(() => {
|
|
53
|
+
x && i && p(r.Pending);
|
|
54
|
+
}, [x, i, p]);
|
|
55
|
+
const D = X(() => i ? J(a, i) : !1, [i, a]);
|
|
56
|
+
return U ? j ? /* @__PURE__ */ l(Y, {
|
|
57
57
|
fieldNamePrefix: o,
|
|
58
58
|
fieldType: e.type,
|
|
59
|
-
isTaxonomyMultiSelect:
|
|
59
|
+
isTaxonomyMultiSelect: T,
|
|
60
60
|
children: /* @__PURE__ */ l(f, {
|
|
61
|
-
ref:
|
|
61
|
+
ref: V,
|
|
62
62
|
description: e.description,
|
|
63
63
|
disableForm: h,
|
|
64
64
|
fieldNamePrefix: o,
|
|
65
65
|
isAiSuggestionApplied: !1,
|
|
66
|
-
isExternallyOwned:
|
|
67
|
-
isMultilevelTaxonomyFieldEnabled:
|
|
66
|
+
isExternallyOwned: C,
|
|
67
|
+
isMultilevelTaxonomyFieldEnabled: N,
|
|
68
68
|
label: e.displayName,
|
|
69
69
|
levels: e.levels,
|
|
70
|
-
onValueEdited:
|
|
71
|
-
portalElement:
|
|
72
|
-
taxonomyOptionsFetcher:
|
|
70
|
+
onValueEdited: W,
|
|
71
|
+
portalElement: v,
|
|
72
|
+
taxonomyOptionsFetcher: $
|
|
73
73
|
})
|
|
74
|
-
}, e.key) : /* @__PURE__ */
|
|
74
|
+
}, e.key) : /* @__PURE__ */ _("div", {
|
|
75
75
|
className: u.fieldWrapper,
|
|
76
76
|
children: [/* @__PURE__ */ l(f, {
|
|
77
|
-
ref:
|
|
78
|
-
className:
|
|
77
|
+
ref: V,
|
|
78
|
+
className: B,
|
|
79
79
|
description: e.description,
|
|
80
80
|
disableForm: h,
|
|
81
81
|
fieldNamePrefix: o,
|
|
82
|
-
isAiSuggestionApplied:
|
|
83
|
-
isExternallyOwned:
|
|
82
|
+
isAiSuggestionApplied: F,
|
|
83
|
+
isExternallyOwned: C,
|
|
84
84
|
confidenceScore: n && !s ? e.confidenceScore : void 0,
|
|
85
|
-
isMultilevelTaxonomyFieldEnabled:
|
|
85
|
+
isMultilevelTaxonomyFieldEnabled: N,
|
|
86
86
|
label: e.displayName,
|
|
87
|
-
onValueEdited:
|
|
88
|
-
portalElement:
|
|
89
|
-
taxonomyOptionsFetcher:
|
|
90
|
-
}), s && /* @__PURE__ */ l(
|
|
87
|
+
onValueEdited: W,
|
|
88
|
+
portalElement: v,
|
|
89
|
+
taxonomyOptionsFetcher: $
|
|
90
|
+
}), s && /* @__PURE__ */ l(O, {
|
|
91
91
|
aiSuggestion: i,
|
|
92
92
|
confidenceLevel: n ? A?.level : void 0,
|
|
93
|
-
isSameValue:
|
|
93
|
+
isSameValue: D,
|
|
94
94
|
onAiSuggestionAppend: () => {
|
|
95
95
|
const c = [...new Set([a, i].flat().filter(Boolean))];
|
|
96
96
|
S(c);
|
|
@@ -98,12 +98,12 @@ const pe = /* @__PURE__ */ H(({
|
|
|
98
98
|
onAiSuggestionIgnore: y,
|
|
99
99
|
onAiSuggestionReplace: () => S(i),
|
|
100
100
|
type: g
|
|
101
|
-
}), !s &&
|
|
102
|
-
onAccept:
|
|
103
|
-
onClear:
|
|
101
|
+
}), !s && I && /* @__PURE__ */ l(R, {
|
|
102
|
+
onAccept: w,
|
|
103
|
+
onClear: z
|
|
104
104
|
})]
|
|
105
105
|
}, e.key) : null;
|
|
106
106
|
});
|
|
107
107
|
export {
|
|
108
|
-
|
|
108
|
+
ge as MetadataEditorFieldWrapper
|
|
109
109
|
};
|
package/dist/i18n/bn-IN.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
"metadataEditor.lowConfidenceSuggestionField.clearValueTooltip": "মান পরিষ্কার করুন",
|
|
97
97
|
"metadataEditor.lowConfidenceSuggestionField.description": "Box AI কম আত্মবিশ্বাস রিটার্ন করেছে",
|
|
98
98
|
"metadataEditor.lowConfidenceSuggestionField.needsReview": "পর্যালোচনা প্রয়োজন",
|
|
99
|
+
"metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel": "Processing review action",
|
|
99
100
|
"metadataEditor.managerLevel.emptyState.body": "মেটাডেটা প্রয়োগ ও সম্পাদনা করতে আপনার আইটেম ব্রাউজ করুন বা অনুসন্ধান করুন",
|
|
100
101
|
"metadataEditor.managerLevel.emptyState.heading": "মেটাডেটা টেমপ্লেট প্রয়োগ করুন",
|
|
101
102
|
"metadataEditor.metadataEditor.customIntanceNewField.addAttributeGroupAriaLabel": "কাস্টম মেটাডেটাতে নতুন অ্যাট্রিবিউট যোগ করুন",
|
|
@@ -192,6 +192,8 @@ metadataEditor.lowConfidenceSuggestionField.clearValueTooltip = মান পর
|
|
|
192
192
|
metadataEditor.lowConfidenceSuggestionField.description = Box AI কম আত্মবিশ্বাস রিটার্ন করেছে
|
|
193
193
|
# Title shown for low confidence AI extraction that needs user review
|
|
194
194
|
metadataEditor.lowConfidenceSuggestionField.needsReview = পর্যালোচনা প্রয়োজন
|
|
195
|
+
# Aria label for the loading indicator shown while a review accept or clear action is processing
|
|
196
|
+
metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel = Processing review action
|
|
195
197
|
# Description how metadata can be added
|
|
196
198
|
metadataEditor.managerLevel.emptyState.body = মেটাডেটা প্রয়োগ ও সম্পাদনা করতে আপনার আইটেম ব্রাউজ করুন বা অনুসন্ধান করুন
|
|
197
199
|
# Call to encourage user apply metadata templates
|
package/dist/i18n/da-DK.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
"metadataEditor.lowConfidenceSuggestionField.clearValueTooltip": "Ryd værdi",
|
|
97
97
|
"metadataEditor.lowConfidenceSuggestionField.description": "Box AI returnerede lav tillid",
|
|
98
98
|
"metadataEditor.lowConfidenceSuggestionField.needsReview": "Har brug for gennemgang",
|
|
99
|
+
"metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel": "Processing review action",
|
|
99
100
|
"metadataEditor.managerLevel.emptyState.body": "Gennemse eller søg efter dine genstande for at anvende og redigere metadata",
|
|
100
101
|
"metadataEditor.managerLevel.emptyState.heading": "Anvend metadata-skabeloner",
|
|
101
102
|
"metadataEditor.metadataEditor.customIntanceNewField.addAttributeGroupAriaLabel": "Tilføj ny attribut til brugerdefinerede metadata",
|
|
@@ -192,6 +192,8 @@ metadataEditor.lowConfidenceSuggestionField.clearValueTooltip = Ryd værdi
|
|
|
192
192
|
metadataEditor.lowConfidenceSuggestionField.description = Box AI returnerede lav tillid
|
|
193
193
|
# Title shown for low confidence AI extraction that needs user review
|
|
194
194
|
metadataEditor.lowConfidenceSuggestionField.needsReview = Har brug for gennemgang
|
|
195
|
+
# Aria label for the loading indicator shown while a review accept or clear action is processing
|
|
196
|
+
metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel = Processing review action
|
|
195
197
|
# Description how metadata can be added
|
|
196
198
|
metadataEditor.managerLevel.emptyState.body = Gennemse eller søg efter dine genstande for at anvende og redigere metadata
|
|
197
199
|
# Call to encourage user apply metadata templates
|
package/dist/i18n/de-DE.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
"metadataEditor.lowConfidenceSuggestionField.clearValueTooltip": "Wert löschen",
|
|
97
97
|
"metadataEditor.lowConfidenceSuggestionField.description": "Box AI hat ein niedriges Konfidenzniveau zurückgegeben",
|
|
98
98
|
"metadataEditor.lowConfidenceSuggestionField.needsReview": "Überprüfung erforderlich",
|
|
99
|
+
"metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel": "Processing review action",
|
|
99
100
|
"metadataEditor.managerLevel.emptyState.body": "Durchsuchen Sie Ihre Elemente, um Metadaten anzuwenden und zu bearbeiten",
|
|
100
101
|
"metadataEditor.managerLevel.emptyState.heading": "Metadaten-Vorlagen anwenden",
|
|
101
102
|
"metadataEditor.metadataEditor.customIntanceNewField.addAttributeGroupAriaLabel": "Neues Attribut zu benutzerspezifischen Metadaten hinzufügen",
|
|
@@ -192,6 +192,8 @@ metadataEditor.lowConfidenceSuggestionField.clearValueTooltip = Wert löschen
|
|
|
192
192
|
metadataEditor.lowConfidenceSuggestionField.description = Box AI hat ein niedriges Konfidenzniveau zurückgegeben
|
|
193
193
|
# Title shown for low confidence AI extraction that needs user review
|
|
194
194
|
metadataEditor.lowConfidenceSuggestionField.needsReview = Überprüfung erforderlich
|
|
195
|
+
# Aria label for the loading indicator shown while a review accept or clear action is processing
|
|
196
|
+
metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel = Processing review action
|
|
195
197
|
# Description how metadata can be added
|
|
196
198
|
metadataEditor.managerLevel.emptyState.body = Durchsuchen Sie Ihre Elemente, um Metadaten anzuwenden und zu bearbeiten
|
|
197
199
|
# Call to encourage user apply metadata templates
|
package/dist/i18n/en-AU.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
"metadataEditor.lowConfidenceSuggestionField.clearValueTooltip": "Clear Value",
|
|
97
97
|
"metadataEditor.lowConfidenceSuggestionField.description": "Box AI returned low confidence",
|
|
98
98
|
"metadataEditor.lowConfidenceSuggestionField.needsReview": "Needs review",
|
|
99
|
+
"metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel": "Processing review action",
|
|
99
100
|
"metadataEditor.managerLevel.emptyState.body": "Browse or search for your items to apply and edit metadata",
|
|
100
101
|
"metadataEditor.managerLevel.emptyState.heading": "Apply Metadata Templates",
|
|
101
102
|
"metadataEditor.metadataEditor.customIntanceNewField.addAttributeGroupAriaLabel": "Add new attribute to Custom Metadata",
|
|
@@ -192,6 +192,8 @@ metadataEditor.lowConfidenceSuggestionField.clearValueTooltip = Clear Value
|
|
|
192
192
|
metadataEditor.lowConfidenceSuggestionField.description = Box AI returned low confidence
|
|
193
193
|
# Title shown for low confidence AI extraction that needs user review
|
|
194
194
|
metadataEditor.lowConfidenceSuggestionField.needsReview = Needs review
|
|
195
|
+
# Aria label for the loading indicator shown while a review accept or clear action is processing
|
|
196
|
+
metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel = Processing review action
|
|
195
197
|
# Description how metadata can be added
|
|
196
198
|
metadataEditor.managerLevel.emptyState.body = Browse or search for your items to apply and edit metadata
|
|
197
199
|
# Call to encourage user apply metadata templates
|
package/dist/i18n/en-CA.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
"metadataEditor.lowConfidenceSuggestionField.clearValueTooltip": "Clear Value",
|
|
97
97
|
"metadataEditor.lowConfidenceSuggestionField.description": "Box AI returned low confidence",
|
|
98
98
|
"metadataEditor.lowConfidenceSuggestionField.needsReview": "Needs review",
|
|
99
|
+
"metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel": "Processing review action",
|
|
99
100
|
"metadataEditor.managerLevel.emptyState.body": "Browse or search for your items to apply and edit metadata",
|
|
100
101
|
"metadataEditor.managerLevel.emptyState.heading": "Apply Metadata Templates",
|
|
101
102
|
"metadataEditor.metadataEditor.customIntanceNewField.addAttributeGroupAriaLabel": "Add new attribute to Custom Metadata",
|
|
@@ -192,6 +192,8 @@ metadataEditor.lowConfidenceSuggestionField.clearValueTooltip = Clear Value
|
|
|
192
192
|
metadataEditor.lowConfidenceSuggestionField.description = Box AI returned low confidence
|
|
193
193
|
# Title shown for low confidence AI extraction that needs user review
|
|
194
194
|
metadataEditor.lowConfidenceSuggestionField.needsReview = Needs review
|
|
195
|
+
# Aria label for the loading indicator shown while a review accept or clear action is processing
|
|
196
|
+
metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel = Processing review action
|
|
195
197
|
# Description how metadata can be added
|
|
196
198
|
metadataEditor.managerLevel.emptyState.body = Browse or search for your items to apply and edit metadata
|
|
197
199
|
# Call to encourage user apply metadata templates
|
package/dist/i18n/en-GB.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
"metadataEditor.lowConfidenceSuggestionField.clearValueTooltip": "Clear Value",
|
|
97
97
|
"metadataEditor.lowConfidenceSuggestionField.description": "Box AI returned low confidence",
|
|
98
98
|
"metadataEditor.lowConfidenceSuggestionField.needsReview": "Needs review",
|
|
99
|
+
"metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel": "Processing review action",
|
|
99
100
|
"metadataEditor.managerLevel.emptyState.body": "Browse or search for your items to apply and edit metadata",
|
|
100
101
|
"metadataEditor.managerLevel.emptyState.heading": "Apply Metadata Templates",
|
|
101
102
|
"metadataEditor.metadataEditor.customIntanceNewField.addAttributeGroupAriaLabel": "Add new attribute to Custom Metadata",
|
|
@@ -192,6 +192,8 @@ metadataEditor.lowConfidenceSuggestionField.clearValueTooltip = Clear Value
|
|
|
192
192
|
metadataEditor.lowConfidenceSuggestionField.description = Box AI returned low confidence
|
|
193
193
|
# Title shown for low confidence AI extraction that needs user review
|
|
194
194
|
metadataEditor.lowConfidenceSuggestionField.needsReview = Needs review
|
|
195
|
+
# Aria label for the loading indicator shown while a review accept or clear action is processing
|
|
196
|
+
metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel = Processing review action
|
|
195
197
|
# Description how metadata can be added
|
|
196
198
|
metadataEditor.managerLevel.emptyState.body = Browse or search for your items to apply and edit metadata
|
|
197
199
|
# Call to encourage user apply metadata templates
|
package/dist/i18n/en-US.js
CHANGED
|
@@ -96,6 +96,7 @@ export default {
|
|
|
96
96
|
"metadataEditor.lowConfidenceSuggestionField.clearValueTooltip": "Clear Value",
|
|
97
97
|
"metadataEditor.lowConfidenceSuggestionField.description": "Box AI returned low confidence",
|
|
98
98
|
"metadataEditor.lowConfidenceSuggestionField.needsReview": "Needs review",
|
|
99
|
+
"metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel": "Processing review action",
|
|
99
100
|
"metadataEditor.managerLevel.emptyState.body": "Browse or search for your items to apply and edit metadata",
|
|
100
101
|
"metadataEditor.managerLevel.emptyState.heading": "Apply Metadata Templates",
|
|
101
102
|
"metadataEditor.metadataEditor.customIntanceNewField.addAttributeGroupAriaLabel": "Add new attribute to Custom Metadata",
|
|
@@ -192,6 +192,8 @@ metadataEditor.lowConfidenceSuggestionField.clearValueTooltip = Clear Value
|
|
|
192
192
|
metadataEditor.lowConfidenceSuggestionField.description = Box AI returned low confidence
|
|
193
193
|
# Title shown for low confidence AI extraction that needs user review
|
|
194
194
|
metadataEditor.lowConfidenceSuggestionField.needsReview = Needs review
|
|
195
|
+
# Aria label for the loading indicator shown while a review accept or clear action is processing
|
|
196
|
+
metadataEditor.lowConfidenceSuggestionField.reviewActionLoadingAriaLabel = Processing review action
|
|
195
197
|
# Description how metadata can be added
|
|
196
198
|
metadataEditor.managerLevel.emptyState.body = Browse or search for your items to apply and edit metadata
|
|
197
199
|
# Call to encourage user apply metadata templates
|