@box/box-ai-content-answers 0.86.2 → 0.87.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chunks/clear-conversation-button.js +12 -13
- package/chunks/markdown.js +12168 -0
- package/esm/lib/box-ai-content-answers.js +11 -12
- package/esm/lib/components/agents/agent-editor.js +7 -8
- package/esm/lib/components/agents/agent-selector.js +3 -4
- package/esm/lib/components/answer/answer-content.js +5 -6
- package/esm/lib/components/answer/answer.js +604 -107
- package/esm/lib/components/answer/citation.js +4 -5
- package/esm/lib/components/answer/inline-error.js +4 -5
- package/esm/lib/components/answer/loading-element.js +4 -5
- package/esm/lib/components/answer/references.js +19 -20
- package/esm/lib/components/answer/thumb-buttons.js +11 -12
- package/esm/lib/components/chat/chat.js +13 -14
- package/esm/lib/components/common/markdown.js +3 -12212
- package/esm/lib/components/common/media-container.js +10 -11
- package/esm/lib/components/content/content.js +4 -5
- package/esm/lib/components/footer/footer-actions.js +3 -4
- package/esm/lib/components/footer/footer.js +3 -4
- package/esm/lib/components/modal-error/modal-error.js +3 -4
- package/esm/lib/components/question/question.js +12 -13
- package/esm/lib/components/suggested-questions/suggested-questions.js +10 -11
- package/esm/lib/components/suggested-questions/suggestions.js +8 -9
- package/esm/lib/components/welcome-message/contextual-items-message.js +4 -5
- package/esm/lib/components/welcome-message/items-dropdown.js +15 -16
- package/esm/lib/components/welcome-message/unsupported-items-notice.js +9 -10
- package/esm/lib/components/welcome-message/welcome-message.js +11 -12
- package/i18n/bn-IN.js +3 -3
- package/i18n/bn-IN.properties +7 -3
- package/i18n/da-DK.js +3 -3
- package/i18n/da-DK.properties +7 -3
- package/i18n/de-DE.js +3 -3
- package/i18n/de-DE.properties +7 -3
- package/i18n/en-AU.js +3 -3
- package/i18n/en-AU.properties +7 -3
- package/i18n/en-CA.js +1 -1
- package/i18n/en-CA.properties +5 -1
- package/i18n/en-GB.js +3 -3
- package/i18n/en-GB.properties +7 -3
- package/i18n/en-x-pseudo.js +59 -59
- package/i18n/en-x-pseudo.properties +61 -57
- package/i18n/es-419.js +3 -3
- package/i18n/es-419.properties +7 -3
- package/i18n/es-ES.js +3 -3
- package/i18n/es-ES.properties +7 -3
- package/i18n/fi-FI.js +3 -3
- package/i18n/fi-FI.properties +7 -3
- package/i18n/fr-CA.js +3 -3
- package/i18n/fr-CA.properties +7 -3
- package/i18n/fr-FR.js +3 -3
- package/i18n/fr-FR.properties +7 -3
- package/i18n/hi-IN.js +3 -3
- package/i18n/hi-IN.properties +7 -3
- package/i18n/it-IT.js +3 -3
- package/i18n/it-IT.properties +7 -3
- package/i18n/ja-JP.js +4 -4
- package/i18n/ja-JP.properties +8 -4
- package/i18n/ko-KR.js +3 -3
- package/i18n/ko-KR.properties +7 -3
- package/i18n/nb-NO.js +3 -3
- package/i18n/nb-NO.properties +7 -3
- package/i18n/nl-NL.js +3 -3
- package/i18n/nl-NL.properties +7 -3
- package/i18n/pl-PL.js +3 -3
- package/i18n/pl-PL.properties +7 -3
- package/i18n/pt-BR.js +3 -3
- package/i18n/pt-BR.properties +7 -3
- package/i18n/ru-RU.js +3 -3
- package/i18n/ru-RU.properties +7 -3
- package/i18n/sv-SE.js +3 -3
- package/i18n/sv-SE.properties +7 -3
- package/i18n/tr-TR.js +3 -3
- package/i18n/tr-TR.properties +7 -3
- package/i18n/zh-CN.js +3 -3
- package/i18n/zh-CN.properties +7 -3
- package/i18n/zh-TW.js +3 -3
- package/i18n/zh-TW.properties +7 -3
- package/package.json +7 -7
- package/types/lib/box-ai-content-answers.d.ts +1 -1
- package/types/lib/components/agents/agent-editor.d.ts +1 -1
- package/types/lib/components/agents/agent-selector.d.ts +1 -1
- package/types/lib/components/agents/stories/shared.d.ts +3 -3
- package/types/lib/components/answer/answer-content.d.ts +2 -2
- package/types/lib/components/answer/answer.d.ts +1 -1
- package/types/lib/components/answer/citation.d.ts +1 -1
- package/types/lib/components/answer/copy-button.d.ts +1 -1
- package/types/lib/components/answer/inline-error.d.ts +1 -1
- package/types/lib/components/answer/loading-element.d.ts +1 -1
- package/types/lib/components/answer/no-citations.d.ts +1 -1
- package/types/lib/components/answer/references.d.ts +1 -1
- package/types/lib/components/answer/stories/shared.d.ts +1 -1
- package/types/lib/components/answer/thumb-buttons.d.ts +1 -1
- package/types/lib/components/api-wrapper/api-wrapper.d.ts +1 -1
- package/types/lib/components/api-wrapper/constants.d.ts +1 -1
- package/types/lib/components/api-wrapper/content-answers-component.d.ts +1 -1
- package/types/lib/components/api-wrapper/hooks/useContentAnswers.d.ts +4 -4
- package/types/lib/components/api-wrapper/records.d.ts +1 -1
- package/types/lib/components/api-wrapper/stories/shared.d.ts +1 -1
- package/types/lib/components/api-wrapper/test-utils/ReadableStreamSimulator.d.ts +1 -1
- package/types/lib/components/api-wrapper/types.d.ts +3 -3
- package/types/lib/components/api-wrapper/utils/format.d.ts +1 -1
- package/types/lib/components/api-wrapper/utils/request.d.ts +3 -3
- package/types/lib/components/api-wrapper/utils/stream.d.ts +1 -1
- package/types/lib/components/chat/chat.d.ts +1 -1
- package/types/lib/components/common/constants.d.ts +1 -1
- package/types/lib/components/common/media-container.d.ts +2 -2
- package/types/lib/components/common/mock-data.d.ts +4 -4
- package/types/lib/components/content/content.d.ts +1 -1
- package/types/lib/components/footer/footer-actions.d.ts +1 -1
- package/types/lib/components/footer/footer.d.ts +1 -1
- package/types/lib/components/footer/stories/shared.d.ts +7 -7
- package/types/lib/components/modal/modal.d.ts +5 -5
- package/types/lib/components/modal/stories/shared.d.ts +2 -2
- package/types/lib/components/modal-error/stories/shared.d.ts +1 -1
- package/types/lib/components/question/question.d.ts +1 -1
- package/types/lib/components/question/stories/shared.d.ts +1 -1
- package/types/lib/components/suggested-questions/mocks.d.ts +1 -1
- package/types/lib/components/suggested-questions/stories/shared.d.ts +1 -1
- package/types/lib/components/suggested-questions/suggested-questions.d.ts +1 -1
- package/types/lib/components/suggested-questions/suggestions.d.ts +1 -1
- package/types/lib/components/welcome-message/contextual-items-message.d.ts +1 -1
- package/types/lib/components/welcome-message/items-dropdown.d.ts +1 -1
- package/types/lib/components/welcome-message/stories/shared.d.ts +4 -4
- package/types/lib/components/welcome-message/unsupported-items-notice.d.ts +1 -1
- package/types/lib/components/welcome-message/welcome-message.d.ts +1 -1
- package/types/lib/contexts/AgentsContext.d.ts +1 -1
- package/types/lib/stories/shared.d.ts +3 -3
- package/types/lib/types.d.ts +2 -2
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import "../../../../styles/media-container.css";
|
|
2
1
|
import { Card as d } from "@box/blueprint-web";
|
|
3
|
-
import
|
|
4
|
-
import { jsx as
|
|
5
|
-
const _ = "_mediaContainer_14y0z_1", c = "_figure_14y0z_7", m = "_sidebar_14y0z_14", l = "_question_14y0z_33", y = "_contentCard_14y0z_44", g = "_body_14y0z_47", u = "_answer_14y0z_53", C = "_welcomeMessage_14y0z_56", b = "_error_14y0z_62", e = {
|
|
2
|
+
import t from "clsx";
|
|
3
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
4
|
+
import '../../../../styles/media-container.css';const _ = "_mediaContainer_14y0z_1", c = "_figure_14y0z_7", m = "_sidebar_14y0z_14", l = "_question_14y0z_33", y = "_contentCard_14y0z_44", g = "_body_14y0z_47", u = "_answer_14y0z_53", C = "_welcomeMessage_14y0z_56", b = "_error_14y0z_62", e = {
|
|
6
5
|
mediaContainer: _,
|
|
7
6
|
figure: c,
|
|
8
7
|
sidebar: m,
|
|
@@ -18,8 +17,8 @@ const _ = "_mediaContainer_14y0z_1", c = "_figure_14y0z_7", m = "_sidebar_14y0z_
|
|
|
18
17
|
children: r,
|
|
19
18
|
className: a,
|
|
20
19
|
variant: n = "modal"
|
|
21
|
-
}) => /* @__PURE__ */
|
|
22
|
-
className:
|
|
20
|
+
}) => /* @__PURE__ */ s("div", {
|
|
21
|
+
className: t(e.mediaContainer, e[a], n === "sidebar" && e.sidebar),
|
|
23
22
|
"data-testid": "content-answers-grid-card",
|
|
24
23
|
children: r
|
|
25
24
|
}), o = z;
|
|
@@ -27,8 +26,8 @@ o.Figure = ({
|
|
|
27
26
|
children: r,
|
|
28
27
|
isUsedInsideSidebar: a = !1,
|
|
29
28
|
variant: n
|
|
30
|
-
}) => /* @__PURE__ */
|
|
31
|
-
className:
|
|
29
|
+
}) => /* @__PURE__ */ s("div", {
|
|
30
|
+
className: t(e.figure, e[n], a && e.sidebar),
|
|
32
31
|
children: r
|
|
33
32
|
});
|
|
34
33
|
o.Content = ({
|
|
@@ -36,9 +35,9 @@ o.Content = ({
|
|
|
36
35
|
isUsedInsideSidebar: a = !1,
|
|
37
36
|
variant: n,
|
|
38
37
|
shouldAddCard: i = !0
|
|
39
|
-
}) => /* @__PURE__ */
|
|
40
|
-
className:
|
|
41
|
-
children: i ? /* @__PURE__ */
|
|
38
|
+
}) => /* @__PURE__ */ s("div", {
|
|
39
|
+
className: t(e.body, e[n], a && e.sidebar),
|
|
40
|
+
children: i ? /* @__PURE__ */ s(d, {
|
|
42
41
|
className: e.contentCard,
|
|
43
42
|
children: r
|
|
44
43
|
}) : r
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "../../../../styles/content.css";
|
|
2
1
|
import { LoadingIndicator as y } from "@box/blueprint-web";
|
|
3
2
|
import H from "clsx";
|
|
4
3
|
import * as n from "react";
|
|
@@ -7,14 +6,14 @@ import T from "../../messages.js";
|
|
|
7
6
|
import { Chat as V } from "../chat/chat.js";
|
|
8
7
|
import { ModalError as B } from "../modal-error/modal-error.js";
|
|
9
8
|
import { jsx as t, jsxs as F, Fragment as S } from "react/jsx-runtime";
|
|
10
|
-
const A = "_loadingIndicatorWrapper_n9px6_1", D = "_content_n9px6_5", G = "_sidebar_n9px6_12", J = "_isLoading_n9px6_15", K = "_messagesEnd_n9px6_19", Q = "_innerContent_n9px6_23", r = {
|
|
9
|
+
import '../../../../styles/content.css';const A = "_loadingIndicatorWrapper_n9px6_1", D = "_content_n9px6_5", G = "_sidebar_n9px6_12", J = "_isLoading_n9px6_15", K = "_messagesEnd_n9px6_19", Q = "_innerContent_n9px6_23", r = {
|
|
11
10
|
loadingIndicatorWrapper: A,
|
|
12
11
|
content: D,
|
|
13
12
|
sidebar: G,
|
|
14
13
|
isLoading: J,
|
|
15
14
|
messagesEnd: K,
|
|
16
15
|
innerContent: Q
|
|
17
|
-
},
|
|
16
|
+
}, ee = ({
|
|
18
17
|
error: _,
|
|
19
18
|
hasCustomSuggestedQuestions: g,
|
|
20
19
|
hasRequestInProgress: c = !1,
|
|
@@ -115,6 +114,6 @@ const A = "_loadingIndicatorWrapper_n9px6_1", D = "_content_n9px6_5", G = "_side
|
|
|
115
114
|
});
|
|
116
115
|
};
|
|
117
116
|
export {
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
ee as Content,
|
|
118
|
+
ee as default
|
|
120
119
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "../../../../styles/footer-actions.css";
|
|
2
1
|
import { Button as l } from "@box/blueprint-web";
|
|
3
2
|
import { useRef as O, useCallback as p, useEffect as w } from "react";
|
|
4
3
|
import { useIntl as y } from "react-intl";
|
|
@@ -6,10 +5,10 @@ import { A as m } from "../../../../chunks/types.js";
|
|
|
6
5
|
import { LOGGER_BASE_CONFIG as u, LOGGER_ACTION_CLICK as R } from "../common/constants.js";
|
|
7
6
|
import d from "./messages.js";
|
|
8
7
|
import { jsxs as g, jsx as E } from "react/jsx-runtime";
|
|
9
|
-
const k = "_footerActions_poeou_1", v = "_footerActionButton_poeou_11", a = {
|
|
8
|
+
import '../../../../styles/footer-actions.css';const k = "_footerActions_poeou_1", v = "_footerActionButton_poeou_11", a = {
|
|
10
9
|
footerActions: k,
|
|
11
10
|
footerActionButton: v
|
|
12
|
-
},
|
|
11
|
+
}, j = ({
|
|
13
12
|
isStopResponseEnabled: _ = !1,
|
|
14
13
|
isStreamingEnabled: B = !1,
|
|
15
14
|
lastQuestion: o,
|
|
@@ -62,5 +61,5 @@ const k = "_footerActions_poeou_1", v = "_footerActionButton_poeou_11", a = {
|
|
|
62
61
|
}) : null;
|
|
63
62
|
};
|
|
64
63
|
export {
|
|
65
|
-
|
|
64
|
+
j as FooterActions
|
|
66
65
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "../../../../styles/footer.css";
|
|
2
1
|
import z from "clsx";
|
|
3
2
|
import * as r from "react";
|
|
4
3
|
import { useIntl as D } from "react-intl";
|
|
@@ -15,14 +14,14 @@ import { TEXT_AREA as o } from "./constants.js";
|
|
|
15
14
|
import n from "./messages.js";
|
|
16
15
|
import { LOGGER_BASE_CONFIG as R, LOGGER_ACTION_CLICK as mt, LOGGER_ACTION_KEYPRESS as ct } from "../common/constants.js";
|
|
17
16
|
import { jsxs as q, jsx as u } from "react/jsx-runtime";
|
|
18
|
-
const ut = "_questionInput_95q5i_1", lt = "_avatar_95q5i_11", ft = "_submitButton_95q5i_14", pt = "_textArea_95q5i_17", _t = "_sidebar_95q5i_25", dt = "_submitButtonTooltip_95q5i_41", p = {
|
|
17
|
+
import '../../../../styles/footer.css';const ut = "_questionInput_95q5i_1", lt = "_avatar_95q5i_11", ft = "_submitButton_95q5i_14", pt = "_textArea_95q5i_17", _t = "_sidebar_95q5i_25", dt = "_submitButtonTooltip_95q5i_41", p = {
|
|
19
18
|
questionInput: ut,
|
|
20
19
|
avatar: lt,
|
|
21
20
|
submitButton: ft,
|
|
22
21
|
textArea: pt,
|
|
23
22
|
sidebar: _t,
|
|
24
23
|
submitButtonTooltip: dt
|
|
25
|
-
},
|
|
24
|
+
}, Xt = ({
|
|
26
25
|
askSuggestedQuestion: C,
|
|
27
26
|
contentType: x,
|
|
28
27
|
enableDebugMode: M = !1,
|
|
@@ -148,5 +147,5 @@ const ut = "_questionInput_95q5i_1", lt = "_avatar_95q5i_11", ft = "_submitButto
|
|
|
148
147
|
});
|
|
149
148
|
};
|
|
150
149
|
export {
|
|
151
|
-
|
|
150
|
+
Xt as Footer
|
|
152
151
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "../../../../styles/modal-error.css";
|
|
2
1
|
import { EmptyState as i, Text as l } from "@box/blueprint-web";
|
|
3
2
|
import { ErrorState404 as w, Unplugged as b } from "@box/blueprint-web-assets/illustrations/Medium";
|
|
4
3
|
import * as n from "react";
|
|
@@ -8,9 +7,9 @@ import g from "../../messages.js";
|
|
|
8
7
|
import o from "./messages.js";
|
|
9
8
|
import { LOGGER_BASE_CONFIG as c, LOGGER_ACTION_CLICK as E } from "../common/constants.js";
|
|
10
9
|
import { jsx as t, jsxs as p, Fragment as A } from "react/jsx-runtime";
|
|
11
|
-
const F = {
|
|
10
|
+
import '../../../../styles/modal-error.css';const F = {
|
|
12
11
|
"ContentAnswersModalError-secondaryAction": "_ContentAnswersModalError-secondaryAction_3szwg_1"
|
|
13
|
-
},
|
|
12
|
+
}, k = ({
|
|
14
13
|
error: u = f.GENERAL,
|
|
15
14
|
onModalClose: m,
|
|
16
15
|
recordAction: e,
|
|
@@ -74,5 +73,5 @@ const F = {
|
|
|
74
73
|
});
|
|
75
74
|
};
|
|
76
75
|
export {
|
|
77
|
-
|
|
76
|
+
k as ModalError
|
|
78
77
|
};
|
|
@@ -1,23 +1,22 @@
|
|
|
1
|
-
import "../../../../styles/question.css";
|
|
2
1
|
import { useBreakpoint as b, Avatar as h, Breakpoint as _, Text as f } from "@box/blueprint-web";
|
|
3
2
|
import q from "clsx";
|
|
4
3
|
import { useIntl as v } from "react-intl";
|
|
5
4
|
import g from "../../messages.js";
|
|
6
5
|
import { MediaContainer as s } from "../common/media-container.js";
|
|
7
6
|
import { jsx as t, jsxs as o, Fragment as d } from "react/jsx-runtime";
|
|
8
|
-
const I = "_question_183tu_1", S = "_text_183tu_5", k = "_sidebar_183tu_8",
|
|
7
|
+
import '../../../../styles/question.css';const I = "_question_183tu_1", S = "_text_183tu_5", k = "_sidebar_183tu_8", a = {
|
|
9
8
|
question: I,
|
|
10
9
|
text: S,
|
|
11
10
|
sidebar: k
|
|
12
|
-
},
|
|
11
|
+
}, F = ({
|
|
13
12
|
prompt: c,
|
|
14
|
-
userInfo:
|
|
15
|
-
variant:
|
|
13
|
+
userInfo: l,
|
|
14
|
+
variant: r = "modal"
|
|
16
15
|
}) => {
|
|
17
16
|
const {
|
|
18
|
-
avatarURL:
|
|
17
|
+
avatarURL: m,
|
|
19
18
|
name: u
|
|
20
|
-
} =
|
|
19
|
+
} = l, e = r === "sidebar", p = b(), {
|
|
21
20
|
formatMessage: x
|
|
22
21
|
} = v(), n = /* @__PURE__ */ t(s.Figure, {
|
|
23
22
|
isUsedInsideSidebar: e,
|
|
@@ -25,7 +24,7 @@ const I = "_question_183tu_1", S = "_text_183tu_5", k = "_sidebar_183tu_8", r =
|
|
|
25
24
|
alt: x(g.userAvatar),
|
|
26
25
|
colorIndex: 0,
|
|
27
26
|
size: p === _.Small ? "small" : "large",
|
|
28
|
-
src:
|
|
27
|
+
src: m || void 0,
|
|
29
28
|
text: u.charAt(0)
|
|
30
29
|
})
|
|
31
30
|
}), i = /* @__PURE__ */ t(s.Content, {
|
|
@@ -33,16 +32,16 @@ const I = "_question_183tu_1", S = "_text_183tu_5", k = "_sidebar_183tu_8", r =
|
|
|
33
32
|
variant: "question",
|
|
34
33
|
children: /* @__PURE__ */ t(f, {
|
|
35
34
|
as: "span",
|
|
36
|
-
className: q(
|
|
35
|
+
className: q(a.text, e && a.sidebar),
|
|
37
36
|
children: c
|
|
38
37
|
})
|
|
39
38
|
});
|
|
40
39
|
return /* @__PURE__ */ t("div", {
|
|
41
|
-
className:
|
|
40
|
+
className: a.question,
|
|
42
41
|
"data-testid": "content-answers-question",
|
|
43
42
|
children: /* @__PURE__ */ t(s, {
|
|
44
43
|
className: "question",
|
|
45
|
-
variant:
|
|
44
|
+
variant: r,
|
|
46
45
|
children: e ? /* @__PURE__ */ o(d, {
|
|
47
46
|
children: [n, i]
|
|
48
47
|
}) : /* @__PURE__ */ o(d, {
|
|
@@ -52,6 +51,6 @@ const I = "_question_183tu_1", S = "_text_183tu_5", k = "_sidebar_183tu_8", r =
|
|
|
52
51
|
});
|
|
53
52
|
};
|
|
54
53
|
export {
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
F as Question,
|
|
55
|
+
F as default
|
|
57
56
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import "../../../../styles/suggested-questions.css";
|
|
2
1
|
import { Text as E, LoadingIndicator as R } from "@box/blueprint-web";
|
|
3
2
|
import { AlertTriangle as h } from "@box/blueprint-web-assets/icons/Line";
|
|
4
|
-
import { Gray65 as u, Size4 as
|
|
5
|
-
import
|
|
3
|
+
import { Gray65 as u, Size4 as g } from "@box/blueprint-web-assets/tokens/tokens";
|
|
4
|
+
import p from "clsx";
|
|
6
5
|
import * as N from "react";
|
|
7
6
|
import { useIntl as O } from "react-intl";
|
|
8
7
|
import { Suggestions as w } from "./suggestions.js";
|
|
@@ -10,13 +9,13 @@ import { R as r } from "../../../../chunks/types.js";
|
|
|
10
9
|
import { LOGGER_BASE_CONFIG as x } from "../common/constants.js";
|
|
11
10
|
import n from "./messages.js";
|
|
12
11
|
import { jsxs as C, jsx as o } from "react/jsx-runtime";
|
|
13
|
-
const G = "_wrapper_1q5c2_1", T = "_sidebar_1q5c2_4", q = "_label_1q5c2_7", y = "_loadingIndicator_1q5c2_16", L = "_alertIcon_1q5c2_24", a = {
|
|
12
|
+
import '../../../../styles/suggested-questions.css';const G = "_wrapper_1q5c2_1", T = "_sidebar_1q5c2_4", q = "_label_1q5c2_7", y = "_loadingIndicator_1q5c2_16", L = "_alertIcon_1q5c2_24", a = {
|
|
14
13
|
wrapper: G,
|
|
15
14
|
sidebar: T,
|
|
16
15
|
label: q,
|
|
17
16
|
loadingIndicator: y,
|
|
18
17
|
alertIcon: L
|
|
19
|
-
},
|
|
18
|
+
}, D = ({
|
|
20
19
|
askSuggestedQuestion: _,
|
|
21
20
|
hasCustomSuggestedQuestions: c,
|
|
22
21
|
isLoading: f,
|
|
@@ -47,10 +46,10 @@ const G = "_wrapper_1q5c2_1", T = "_sidebar_1q5c2_4", q = "_label_1q5c2_7", y =
|
|
|
47
46
|
}
|
|
48
47
|
};
|
|
49
48
|
return /* @__PURE__ */ C("div", {
|
|
50
|
-
className:
|
|
49
|
+
className: p(a.wrapper, m && a.sidebar),
|
|
51
50
|
children: [/* @__PURE__ */ o(E, {
|
|
52
51
|
as: "p",
|
|
53
|
-
className:
|
|
52
|
+
className: p(a.label, m && a.sidebar),
|
|
54
53
|
color: "textOnLightSecondary",
|
|
55
54
|
children: I()
|
|
56
55
|
}), e === r.SUCCESS && /* @__PURE__ */ o(w, {
|
|
@@ -70,13 +69,13 @@ const G = "_wrapper_1q5c2_1", T = "_sidebar_1q5c2_4", q = "_label_1q5c2_7", y =
|
|
|
70
69
|
className: a.alertIcon,
|
|
71
70
|
color: u,
|
|
72
71
|
"data-testid": "content-answers-suggested-questions-failed-alert-icon",
|
|
73
|
-
height:
|
|
72
|
+
height: g,
|
|
74
73
|
role: "presentation",
|
|
75
|
-
width:
|
|
74
|
+
width: g
|
|
76
75
|
})]
|
|
77
76
|
});
|
|
78
77
|
};
|
|
79
78
|
export {
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
D as SuggestedQuestions,
|
|
80
|
+
D as default
|
|
82
81
|
};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import "../../../../styles/suggestions.css";
|
|
2
1
|
import { FilterChip as e } from "@box/blueprint-web";
|
|
3
2
|
import l from "clsx";
|
|
4
3
|
import { jsx as t } from "react/jsx-runtime";
|
|
5
|
-
const u = "_suggestions_dsu66_1", c = "_sidebar_dsu66_5", m = "_suggestion_dsu66_1", i = {
|
|
4
|
+
import '../../../../styles/suggestions.css';const u = "_suggestions_dsu66_1", c = "_sidebar_dsu66_5", m = "_suggestion_dsu66_1", i = {
|
|
6
5
|
suggestions: u,
|
|
7
6
|
sidebar: c,
|
|
8
7
|
suggestion: m
|
|
9
|
-
},
|
|
8
|
+
}, h = ({
|
|
10
9
|
askSuggestedQuestion: o,
|
|
11
|
-
isLoading:
|
|
12
|
-
onSuggestedQuestionClick:
|
|
10
|
+
isLoading: a,
|
|
11
|
+
onSuggestedQuestionClick: r,
|
|
13
12
|
suggestedQuestions: g,
|
|
14
13
|
variant: d = "modal"
|
|
15
14
|
}) => /* @__PURE__ */ t(e.Group, {
|
|
@@ -23,8 +22,8 @@ const u = "_suggestions_dsu66_1", c = "_sidebar_dsu66_5", m = "_suggestion_dsu66
|
|
|
23
22
|
return /* @__PURE__ */ t(e.ChipButton, {
|
|
24
23
|
className: i.suggestion,
|
|
25
24
|
"data-testid": `content-answers-${s.id}`,
|
|
26
|
-
disabled:
|
|
27
|
-
onClick: () =>
|
|
25
|
+
disabled: a,
|
|
26
|
+
onClick: () => r(s.prompt),
|
|
28
27
|
value: n,
|
|
29
28
|
children: /* @__PURE__ */ t(e.Label, {
|
|
30
29
|
children: n
|
|
@@ -33,6 +32,6 @@ const u = "_suggestions_dsu66_1", c = "_sidebar_dsu66_5", m = "_suggestion_dsu66
|
|
|
33
32
|
})
|
|
34
33
|
});
|
|
35
34
|
export {
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
h as Suggestions,
|
|
36
|
+
h as default
|
|
38
37
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import "../../../../styles/contextual-items-message.css";
|
|
2
1
|
import f from "clsx";
|
|
3
2
|
import { FormattedMessage as x } from "react-intl";
|
|
4
3
|
import { ItemsDropdown as u } from "./items-dropdown.js";
|
|
5
4
|
import b from "./messages.js";
|
|
6
5
|
import { jsx as o, jsxs as a } from "react/jsx-runtime";
|
|
7
|
-
const _ = "_askQuestionText_cd7at_1", k = "_sidebar_cd7at_5", m = {
|
|
6
|
+
import '../../../../styles/contextual-items-message.css';const _ = "_askQuestionText_cd7at_1", k = "_sidebar_cd7at_5", m = {
|
|
8
7
|
askQuestionText: _,
|
|
9
8
|
sidebar: k
|
|
10
|
-
},
|
|
9
|
+
}, v = ({
|
|
11
10
|
contentName: r,
|
|
12
11
|
isUsedInsideSidebar: c = !1,
|
|
13
12
|
supportedItems: e,
|
|
@@ -39,6 +38,6 @@ const _ = "_askQuestionText_cd7at_1", k = "_sidebar_cd7at_5", m = {
|
|
|
39
38
|
});
|
|
40
39
|
};
|
|
41
40
|
export {
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
v as ContextualItemsMessage,
|
|
42
|
+
v as default
|
|
44
43
|
};
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import { DropdownMenu as n, Link as _, Text as g } from "@box/blueprint-web";
|
|
1
|
+
import { DropdownMenu as o, Link as _, Text as g } from "@box/blueprint-web";
|
|
3
2
|
import { Size5 as L } from "@box/blueprint-web-assets/tokens/tokens";
|
|
4
3
|
import { ItemIcon as f } from "@box/item-icon";
|
|
5
4
|
import { useCallback as I } from "react";
|
|
6
5
|
import { useIntl as N } from "react-intl";
|
|
7
6
|
import i from "./messages.js";
|
|
8
|
-
import { jsxs as a, jsx as
|
|
9
|
-
const T = "_itemsDropdownTriggerLink_12lcp_1", b = "_itemsDropdownContent_12lcp_6", k = "_itemsDropdownItemIcon_12lcp_11", x = "_itemsDropdownItemName_12lcp_15", y = "_itemsDropdownLabel_12lcp_21", e = {
|
|
7
|
+
import { jsxs as a, jsx as n, Fragment as u } from "react/jsx-runtime";
|
|
8
|
+
import '../../../../styles/items-dropdown.css';const T = "_itemsDropdownTriggerLink_12lcp_1", b = "_itemsDropdownContent_12lcp_6", k = "_itemsDropdownItemIcon_12lcp_11", x = "_itemsDropdownItemName_12lcp_15", y = "_itemsDropdownLabel_12lcp_21", e = {
|
|
10
9
|
itemsDropdownTriggerLink: T,
|
|
11
10
|
itemsDropdownContent: b,
|
|
12
11
|
itemsDropdownItemIcon: k,
|
|
13
12
|
itemsDropdownItemName: x,
|
|
14
13
|
itemsDropdownLabel: y
|
|
15
|
-
},
|
|
14
|
+
}, z = ({
|
|
16
15
|
supportedItems: l = [],
|
|
17
16
|
unsupportedItems: p = [],
|
|
18
17
|
noPermissionItems: w = [],
|
|
@@ -26,39 +25,39 @@ const T = "_itemsDropdownTriggerLink_12lcp_1", b = "_itemsDropdownContent_12lcp_
|
|
|
26
25
|
}) => {
|
|
27
26
|
t == null || t(r, s);
|
|
28
27
|
}, [t]), h = l.length > 0 ? i.welcomeMessageFilesLink : i.welcomeMessageItemsLink, c = (r, s) => s.length === 0 ? null : /* @__PURE__ */ a(u, {
|
|
29
|
-
children: [r && /* @__PURE__ */ o
|
|
28
|
+
children: [r && /* @__PURE__ */ n(o.Header, {
|
|
30
29
|
className: e.itemsDropdownLabel,
|
|
31
|
-
children: /* @__PURE__ */
|
|
30
|
+
children: /* @__PURE__ */ n(g, {
|
|
32
31
|
as: "label",
|
|
33
32
|
color: "textOnLightSecondary",
|
|
34
33
|
children: r
|
|
35
34
|
})
|
|
36
|
-
}), s.map((m) => /* @__PURE__ */ a(
|
|
35
|
+
}), s.map((m) => /* @__PURE__ */ a(o.Item, {
|
|
37
36
|
className: e.itemsDropdownItem,
|
|
38
37
|
onClick: () => D(m),
|
|
39
|
-
children: [/* @__PURE__ */
|
|
38
|
+
children: [/* @__PURE__ */ n(f, {
|
|
40
39
|
ariaHidden: !0,
|
|
41
40
|
className: e.itemsDropdownItemIcon,
|
|
42
41
|
dimension: L,
|
|
43
42
|
iconType: m.fileType
|
|
44
|
-
}), /* @__PURE__ */
|
|
43
|
+
}), /* @__PURE__ */ n(g, {
|
|
45
44
|
as: "span",
|
|
46
45
|
className: e.itemsDropdownItemName,
|
|
47
46
|
children: m.name
|
|
48
47
|
})]
|
|
49
48
|
}, m.id))]
|
|
50
49
|
});
|
|
51
|
-
return /* @__PURE__ */ a(
|
|
52
|
-
children: [/* @__PURE__ */ o
|
|
50
|
+
return /* @__PURE__ */ a(o.Root, {
|
|
51
|
+
children: [/* @__PURE__ */ n(o.Trigger, {
|
|
53
52
|
className: e.itemsDropdownTrigger,
|
|
54
|
-
children: /* @__PURE__ */
|
|
53
|
+
children: /* @__PURE__ */ n(_, {
|
|
55
54
|
className: e.itemsDropdownTriggerLink,
|
|
56
55
|
href: "#",
|
|
57
56
|
children: d(h, {
|
|
58
57
|
numberOfItems: l.length + p.length + w.length
|
|
59
58
|
})
|
|
60
59
|
})
|
|
61
|
-
}), /* @__PURE__ */ a(
|
|
60
|
+
}), /* @__PURE__ */ a(o.Content, {
|
|
62
61
|
align: "start",
|
|
63
62
|
className: e.itemsDropdownContent,
|
|
64
63
|
"data-testid": "content-answers-items-dropdown-content",
|
|
@@ -67,6 +66,6 @@ const T = "_itemsDropdownTriggerLink_12lcp_1", b = "_itemsDropdownContent_12lcp_
|
|
|
67
66
|
});
|
|
68
67
|
};
|
|
69
68
|
export {
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
z as ItemsDropdown,
|
|
70
|
+
z as default
|
|
72
71
|
};
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import "../../../../styles/unsupported-items-notice.css";
|
|
2
1
|
import { InlineNotice as o } from "@box/blueprint-web";
|
|
3
2
|
import { FormattedMessage as r } from "react-intl";
|
|
4
3
|
import { ItemsDropdown as s } from "./items-dropdown.js";
|
|
5
4
|
import a from "./messages.js";
|
|
6
5
|
import { jsx as e } from "react/jsx-runtime";
|
|
7
|
-
const m = "_inlineNotice_15y3b_1", l = {
|
|
6
|
+
import '../../../../styles/unsupported-items-notice.css';const m = "_inlineNotice_15y3b_1", l = {
|
|
8
7
|
inlineNotice: m
|
|
9
|
-
},
|
|
8
|
+
}, N = ({
|
|
10
9
|
unsupportedItems: t,
|
|
11
|
-
noPermissionsItems:
|
|
12
|
-
onItemClick:
|
|
10
|
+
noPermissionsItems: n,
|
|
11
|
+
onItemClick: i
|
|
13
12
|
}) => /* @__PURE__ */ e(o, {
|
|
14
13
|
className: l.inlineNotice,
|
|
15
14
|
"data-testid": "content-answers-unsupported-items-notice",
|
|
@@ -19,15 +18,15 @@ const m = "_inlineNotice_15y3b_1", l = {
|
|
|
19
18
|
...a.unsupportedItems,
|
|
20
19
|
values: {
|
|
21
20
|
files: /* @__PURE__ */ e(s, {
|
|
22
|
-
noPermissionItems:
|
|
23
|
-
onItemClick:
|
|
21
|
+
noPermissionItems: n,
|
|
22
|
+
onItemClick: i,
|
|
24
23
|
unsupportedItems: t
|
|
25
24
|
}),
|
|
26
|
-
numberOfFiles: t.length +
|
|
25
|
+
numberOfFiles: t.length + n.length
|
|
27
26
|
}
|
|
28
27
|
})
|
|
29
28
|
});
|
|
30
29
|
export {
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
N as UnsupportedItemsNotice,
|
|
31
|
+
N as default
|
|
33
32
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import { InlineNotice as C, Text as r } from "@box/blueprint-web";
|
|
1
|
+
import { Text as r, InlineNotice as C } from "@box/blueprint-web";
|
|
3
2
|
import { BoxAiLogo as b } from "@box/blueprint-web-assets/icons/Logo";
|
|
4
3
|
import { Size6 as h } from "@box/blueprint-web-assets/tokens/tokens";
|
|
5
4
|
import { useMemo as n } from "react";
|
|
@@ -9,25 +8,25 @@ import { ContextualItemsMessage as A } from "./contextual-items-message.js";
|
|
|
9
8
|
import u from "./messages.js";
|
|
10
9
|
import { UnsupportedItemsNotice as S } from "./unsupported-items-notice.js";
|
|
11
10
|
import { jsx as e, jsxs as w } from "react/jsx-runtime";
|
|
12
|
-
const z = "_welcomeMessage_k2z4m_1", U = "_clearChatText_k2z4m_4", k = "_warningNotice_k2z4m_8", y = "_iconAvatar_k2z4m_11", a = {
|
|
11
|
+
import '../../../../styles/welcome-message.css';const z = "_welcomeMessage_k2z4m_1", U = "_clearChatText_k2z4m_4", k = "_warningNotice_k2z4m_8", y = "_iconAvatar_k2z4m_11", a = {
|
|
13
12
|
welcomeMessage: z,
|
|
14
13
|
clearChatText: U,
|
|
15
14
|
warningNotice: k,
|
|
16
15
|
iconAvatar: y
|
|
17
|
-
},
|
|
16
|
+
}, G = ({
|
|
18
17
|
contentName: f,
|
|
19
18
|
contentType: _,
|
|
20
19
|
items: t = [],
|
|
21
20
|
parentItem: M,
|
|
22
21
|
onItemClick: c,
|
|
23
|
-
variant:
|
|
24
|
-
warningNotice:
|
|
22
|
+
variant: l = "modal",
|
|
23
|
+
warningNotice: m,
|
|
25
24
|
warningNoticeAriaLabel: x,
|
|
26
25
|
welcomeMessageClearText: I
|
|
27
26
|
}) => {
|
|
28
|
-
const o =
|
|
27
|
+
const o = l === "sidebar", {
|
|
29
28
|
formatMessage: d
|
|
30
|
-
} = T(), v = n(() => t.filter((s) => s.status === "supported"), [t]), p = n(() => t.filter((s) => s.status === "unsupported"), [t]), g = n(() => t.filter((s) => s.status === "no_permission"), [t]), N =
|
|
29
|
+
} = T(), v = n(() => t.filter((s) => s.status === "supported"), [t]), p = n(() => t.filter((s) => s.status === "unsupported"), [t]), g = n(() => t.filter((s) => s.status === "no_permission"), [t]), N = m && /* @__PURE__ */ e(C, {
|
|
31
30
|
className: a.warningNotice,
|
|
32
31
|
"data-testid": "content-answers-warning-notice",
|
|
33
32
|
variant: "warning",
|
|
@@ -35,14 +34,14 @@ const z = "_welcomeMessage_k2z4m_1", U = "_clearChatText_k2z4m_4", k = "_warning
|
|
|
35
34
|
children: /* @__PURE__ */ e(r, {
|
|
36
35
|
as: "p",
|
|
37
36
|
variant: "bodyDefaultBold",
|
|
38
|
-
children:
|
|
37
|
+
children: m
|
|
39
38
|
})
|
|
40
39
|
});
|
|
41
40
|
return /* @__PURE__ */ e("div", {
|
|
42
41
|
className: a.welcomeMessage,
|
|
43
42
|
"data-testid": "content-answers-welcome-message",
|
|
44
43
|
children: /* @__PURE__ */ w(i, {
|
|
45
|
-
variant:
|
|
44
|
+
variant: l,
|
|
46
45
|
children: [/* @__PURE__ */ e(i.Figure, {
|
|
47
46
|
isUsedInsideSidebar: o,
|
|
48
47
|
children: /* @__PURE__ */ e("div", {
|
|
@@ -83,6 +82,6 @@ const z = "_welcomeMessage_k2z4m_1", U = "_clearChatText_k2z4m_4", k = "_warning
|
|
|
83
82
|
});
|
|
84
83
|
};
|
|
85
84
|
export {
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
G as WelcomeMessage,
|
|
86
|
+
G as default
|
|
88
87
|
};
|
package/i18n/bn-IN.js
CHANGED
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
"boxAI.contentAnswers.cardTooltipTitleWithDocumentName": "\"{title}\"-এর থেকে:",
|
|
11
11
|
"boxAI.contentAnswers.clearConversationLabel": "কথোপকথন মুছে দিন",
|
|
12
12
|
"boxAI.contentAnswers.closeModalAriaLabel": "মোডাল বন্ধ করুন",
|
|
13
|
-
"boxAI.contentAnswers.collapseModalAriaLabel": "
|
|
13
|
+
"boxAI.contentAnswers.collapseModalAriaLabel": "সাইডবার ভিউতে পাল্টান",
|
|
14
14
|
"boxAI.contentAnswers.contentAnswersTitle": "Box AI",
|
|
15
15
|
"boxAI.contentAnswers.continueAnyway": "তবুও চালিয়ে যান",
|
|
16
16
|
"boxAI.contentAnswers.copyToClipboard": "ক্লিপবোর্ডে কপি করুন",
|
|
@@ -51,10 +51,10 @@ export default {
|
|
|
51
51
|
"boxAI.contentAnswers.unsupportedFormatLabel": "অসমর্থিত ফরম্যাট",
|
|
52
52
|
"boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,one{{files} Box AI এর জন্য বিদ্যমান নেই।} other{{files} Box AI এর জন্য বিদ্যমান নেই।}}",
|
|
53
53
|
"boxAI.contentAnswers.userAvatar": "ব্যবহারকারীর অবতার",
|
|
54
|
-
"boxAI.contentAnswers.welcomeAskQuestionText": "এই ব্যাপারে প্রশ্ন করুন {numberOfItems,plural,one{{firstItemName}} other{{files}}}{parentItem,select,
|
|
54
|
+
"boxAI.contentAnswers.welcomeAskQuestionText": "এই ব্যাপারে প্রশ্ন করুন {numberOfItems,plural,one{{firstItemName}} other{these {files}}}{parentItem,select,other{এতে {parentItem}}}",
|
|
55
55
|
"boxAI.contentAnswers.welcomeClearChatText": "আপনি যখন এই {type}-টি বন্ধ করবেন, তখন এই চ্যাটটি মুছে দেওয়া হবে",
|
|
56
56
|
"boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,one{#টি ফাইল} other{# ফাইল}}",
|
|
57
|
-
"boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems,
|
|
57
|
+
"boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems,plural,one{# আইটেম} other{# আইটেম}}",
|
|
58
58
|
"boxAI.contentAnswers.welcomeMessageTitle": "Box AI-এ স্বাগত",
|
|
59
59
|
"boxAI.popup.closeButtonText": "বন্ধ করুন",
|
|
60
60
|
"boxAI.textInputWithCopyButton.copyButtonSuccessText": "অনুলিপি হয়েছে"
|
package/i18n/bn-IN.properties
CHANGED
|
@@ -21,7 +21,7 @@ boxAI.contentAnswers.clearConversationLabel = কথোপকথন মুছে
|
|
|
21
21
|
# Content Answers close button aria label
|
|
22
22
|
boxAI.contentAnswers.closeModalAriaLabel = মোডাল বন্ধ করুন
|
|
23
23
|
# Content Answers collapse button aria label
|
|
24
|
-
boxAI.contentAnswers.collapseModalAriaLabel =
|
|
24
|
+
boxAI.contentAnswers.collapseModalAriaLabel = সাইডবার ভিউতে পাল্টান
|
|
25
25
|
# Content Answers feature name shown on menu item and modal title
|
|
26
26
|
boxAI.contentAnswers.contentAnswersTitle = Box AI
|
|
27
27
|
# Box AI primary action when file is too large
|
|
@@ -92,6 +92,10 @@ boxAI.contentAnswers.selectAgent = এজেন্ট নির্বাচন
|
|
|
92
92
|
boxAI.contentAnswers.stopResponse = জবাব বন্ধ করুন
|
|
93
93
|
# Suggested questions title
|
|
94
94
|
boxAI.contentAnswers.suggestedQuestions = প্রস্তাবিত প্রশ্ন:
|
|
95
|
+
# Aria label for thumbs down icon
|
|
96
|
+
boxAI.contentAnswers.thumbsDownAriaLabel = Not helpful
|
|
97
|
+
# Aria label for thumbs up icon
|
|
98
|
+
boxAI.contentAnswers.thumbsUpAriaLabel = Helpful
|
|
95
99
|
# Label that shows within the modal to show how many files are not supported by Box AI due to correct format
|
|
96
100
|
boxAI.contentAnswers.unsupportedFormatLabel = অসমর্থিত ফরম্যাট
|
|
97
101
|
# Warning message that shows how many files are not supported by Box AI
|
|
@@ -99,13 +103,13 @@ boxAI.contentAnswers.unsupportedItems = {numberOfFiles,plural,one{{files} Box AI
|
|
|
99
103
|
# Alt text for user avatar image
|
|
100
104
|
boxAI.contentAnswers.userAvatar = ব্যবহারকারীর অবতার
|
|
101
105
|
# Content Answers welcome message for asking questions. {firstItemName} is the name of the content, {files} is a list of items, and {parentItem} is the name of the parent item.
|
|
102
|
-
boxAI.contentAnswers.welcomeAskQuestionText = এই ব্যাপারে প্রশ্ন করুন {numberOfItems,plural,one{{firstItemName}} other{{files}}}{parentItem,select,
|
|
106
|
+
boxAI.contentAnswers.welcomeAskQuestionText = এই ব্যাপারে প্রশ্ন করুন {numberOfItems,plural,one{{firstItemName}} other{these {files}}}{parentItem,select,other{এতে {parentItem}}}
|
|
103
107
|
# Content Answers welcome message for clearing the chat. {type} is the type of content that we are going to query
|
|
104
108
|
boxAI.contentAnswers.welcomeClearChatText = আপনি যখন এই {type}-টি বন্ধ করবেন, তখন এই চ্যাটটি মুছে দেওয়া হবে
|
|
105
109
|
# Link that show the number of files that are going to be displayed within the modal
|
|
106
110
|
boxAI.contentAnswers.welcomeMessageFilesLink = {numberOfItems,plural,one{#টি ফাইল} other{# ফাইল}}
|
|
107
111
|
# Link that show the number of items that are going to be displayed within the modal
|
|
108
|
-
boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems,
|
|
112
|
+
boxAI.contentAnswers.welcomeMessageItemsLink = {numberOfItems,plural,one{# আইটেম} other{# আইটেম}}
|
|
109
113
|
# Content Answers welcome message title
|
|
110
114
|
boxAI.contentAnswers.welcomeMessageTitle = Box AI-এ স্বাগত
|
|
111
115
|
# Text for close button in popup
|
package/i18n/da-DK.js
CHANGED
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
"boxAI.contentAnswers.cardTooltipTitleWithDocumentName": "Fra \"{title}\":",
|
|
11
11
|
"boxAI.contentAnswers.clearConversationLabel": "Ryd samtale",
|
|
12
12
|
"boxAI.contentAnswers.closeModalAriaLabel": "Luk modal",
|
|
13
|
-
"boxAI.contentAnswers.collapseModalAriaLabel": "
|
|
13
|
+
"boxAI.contentAnswers.collapseModalAriaLabel": "Skift til visning med sidebjælke",
|
|
14
14
|
"boxAI.contentAnswers.contentAnswersTitle": "Box AI",
|
|
15
15
|
"boxAI.contentAnswers.continueAnyway": "Fortsæt alligevel",
|
|
16
16
|
"boxAI.contentAnswers.copyToClipboard": "Kopier til udklipsholder",
|
|
@@ -51,10 +51,10 @@ export default {
|
|
|
51
51
|
"boxAI.contentAnswers.unsupportedFormatLabel": "Ikke-understøttet format",
|
|
52
52
|
"boxAI.contentAnswers.unsupportedItems": "{numberOfFiles,plural,one{{files} ikke tilgængelig for Box AI} other{{files} er ikke tilgængelige for Box AI}}",
|
|
53
53
|
"boxAI.contentAnswers.userAvatar": "Brugeravatar",
|
|
54
|
-
"boxAI.contentAnswers.welcomeAskQuestionText": "Stil spørgsmål om {numberOfItems,plural,one{{firstItemName}} other{{files}}}
|
|
54
|
+
"boxAI.contentAnswers.welcomeAskQuestionText": "Stil spørgsmål om {numberOfItems,plural,one{{firstItemName}} other{disse {files}}}{parentItem,select,undefined{ } other{ i {parentItem}}}",
|
|
55
55
|
"boxAI.contentAnswers.welcomeClearChatText": "Denne chat vil blive ryddet, når du lukker dette {type}",
|
|
56
56
|
"boxAI.contentAnswers.welcomeMessageFilesLink": "{numberOfItems,plural,one{# fil} other{# filer}}",
|
|
57
|
-
"boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems,
|
|
57
|
+
"boxAI.contentAnswers.welcomeMessageItemsLink": "{numberOfItems,plural,one{# element} other{# elementer}}",
|
|
58
58
|
"boxAI.contentAnswers.welcomeMessageTitle": "Velkommen til Box AI",
|
|
59
59
|
"boxAI.popup.closeButtonText": "Luk",
|
|
60
60
|
"boxAI.textInputWithCopyButton.copyButtonSuccessText": "Kopieret"
|