@box/box-ai-agent-selector 0.30.1 → 0.32.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/box-ai-agent-selector-with-api.js +19 -17
- package/esm/lib/box-ai-agent-selector.js +62 -59
- package/i18n/bn-IN.js +1 -1
- package/i18n/bn-IN.properties +1 -1
- package/i18n/da-DK.js +1 -1
- package/i18n/da-DK.properties +1 -1
- package/i18n/de-DE.js +1 -1
- package/i18n/de-DE.properties +1 -1
- package/i18n/en-AU.js +1 -1
- package/i18n/en-AU.properties +1 -1
- package/i18n/en-GB.js +1 -1
- package/i18n/en-GB.properties +1 -1
- package/i18n/es-419.js +1 -1
- package/i18n/es-419.properties +1 -1
- package/i18n/es-ES.js +1 -1
- package/i18n/es-ES.properties +1 -1
- package/i18n/fi-FI.js +1 -1
- package/i18n/fi-FI.properties +1 -1
- package/i18n/fr-CA.js +1 -1
- package/i18n/fr-CA.properties +1 -1
- package/i18n/fr-FR.js +1 -1
- package/i18n/fr-FR.properties +1 -1
- package/i18n/hi-IN.js +1 -1
- package/i18n/hi-IN.properties +1 -1
- package/i18n/it-IT.js +1 -1
- package/i18n/it-IT.properties +1 -1
- package/i18n/ja-JP.js +1 -1
- package/i18n/ja-JP.properties +1 -1
- package/i18n/ko-KR.js +1 -1
- package/i18n/ko-KR.properties +1 -1
- package/i18n/nb-NO.js +1 -1
- package/i18n/nb-NO.properties +1 -1
- package/i18n/nl-NL.js +1 -1
- package/i18n/nl-NL.properties +1 -1
- package/i18n/pl-PL.js +1 -1
- package/i18n/pl-PL.properties +1 -1
- package/i18n/pt-BR.js +1 -1
- package/i18n/pt-BR.properties +1 -1
- package/i18n/ru-RU.js +1 -1
- package/i18n/ru-RU.properties +1 -1
- package/i18n/sv-SE.js +1 -1
- package/i18n/sv-SE.properties +1 -1
- package/i18n/tr-TR.js +1 -1
- package/i18n/tr-TR.properties +1 -1
- package/i18n/zh-CN.js +1 -1
- package/i18n/zh-CN.properties +1 -1
- package/i18n/zh-TW.js +1 -1
- package/i18n/zh-TW.properties +1 -1
- package/package.json +2 -2
- package/types/lib/box-ai-agent-selector-with-api.d.ts +1 -1
- package/types/lib/box-ai-agent-selector.d.ts +1 -1
- package/types/lib/types.d.ts +6 -0
@@ -1,27 +1,28 @@
|
|
1
|
-
import { useState as
|
2
|
-
import { BoxAiAgentSelector as
|
1
|
+
import { useState as I, useCallback as m, useEffect as f } from "react";
|
2
|
+
import { BoxAiAgentSelector as L } from "./box-ai-agent-selector.js";
|
3
3
|
import { LOGGER_BASE_CONFIG as a, LOGGER_TARGET as l } from "./constants.js";
|
4
4
|
import { ACTIONS as S } from "./contexts/actions.js";
|
5
|
-
import { useAgentsDispatch as
|
5
|
+
import { useAgentsDispatch as U, useAgents as x } from "./contexts/context.js";
|
6
6
|
import { R as r } from "../../chunks/types.js";
|
7
|
-
import { jsx as
|
8
|
-
function
|
7
|
+
import { jsx as D } from "react/jsx-runtime";
|
8
|
+
function k({
|
9
9
|
fetcher: u,
|
10
10
|
hostAppName: R,
|
11
11
|
onSelectAgent: i,
|
12
12
|
recordAction: T,
|
13
13
|
requestState: s,
|
14
14
|
disabled: G,
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
onAgentsListOpen: C,
|
16
|
+
shouldHideAgentSelectorOnLoad: h,
|
17
|
+
triggerChipClassName: p,
|
18
|
+
contentClassName: O,
|
19
|
+
variant: N = "modal"
|
19
20
|
}) {
|
20
|
-
const e =
|
21
|
+
const e = U(), {
|
21
22
|
agents: A,
|
22
23
|
requestState: E,
|
23
24
|
selectedAgent: n
|
24
|
-
} =
|
25
|
+
} = x(), [d, _] = I(!1), o = m((t) => {
|
25
26
|
T && (t.data ?? (t.data = {}), t.data.hostAppName = R, T(t));
|
26
27
|
}, [R, T]), c = m(async () => {
|
27
28
|
e({
|
@@ -61,19 +62,20 @@ function j({
|
|
61
62
|
}));
|
62
63
|
}, [e, E, s]), f(() => {
|
63
64
|
i && i(n);
|
64
|
-
}, [i, n]),
|
65
|
+
}, [i, n]), h && !d || E === r.SUCCESS && A.length <= 1 ? null : /* @__PURE__ */ D(L, {
|
65
66
|
agents: A,
|
66
|
-
contentClassName:
|
67
|
+
contentClassName: O,
|
67
68
|
disabled: G,
|
69
|
+
onAgentsListOpen: C,
|
68
70
|
onErrorAction: c,
|
69
71
|
recordAction: o,
|
70
72
|
requestState: E,
|
71
73
|
selectedAgent: n,
|
72
|
-
triggerChipClassName:
|
73
|
-
variant:
|
74
|
+
triggerChipClassName: p,
|
75
|
+
variant: N
|
74
76
|
});
|
75
77
|
}
|
76
78
|
export {
|
77
|
-
|
78
|
-
|
79
|
+
k as BoxAiAgentSelectorWithApi,
|
80
|
+
k as default
|
79
81
|
};
|
@@ -1,52 +1,53 @@
|
|
1
|
-
import { useFullTextTooltip as
|
2
|
-
import { AlertBadge as
|
1
|
+
import { useFullTextTooltip as X, FilterChip as c, Popover as d, Tooltip as Z, Status as $, LoadingIndicator as q, SmallList as tt, Button as et } from "@box/blueprint-web";
|
2
|
+
import { AlertBadge as at } from "@box/blueprint-web-assets/icons/Fill";
|
3
3
|
import m from "clsx";
|
4
|
-
import { useState as
|
5
|
-
import { useIntl as
|
6
|
-
import { BoxAiAgent as
|
4
|
+
import { useState as B, useRef as rt, useEffect as ot, useCallback as f } from "react";
|
5
|
+
import { useIntl as nt } from "react-intl";
|
6
|
+
import { BoxAiAgent as st } from "./box-ai-agent.js";
|
7
7
|
import { LOGGER_BASE_CONFIG as E, LOGGER_ACTION_CLICK as S, LOGGER_TARGET as T } from "./constants.js";
|
8
|
-
import { ACTIONS as
|
9
|
-
import { useAgentsDispatch as
|
8
|
+
import { ACTIONS as it } from "./contexts/actions.js";
|
9
|
+
import { useAgentsDispatch as lt } from "./contexts/context.js";
|
10
10
|
import s from "./messages.js";
|
11
11
|
import { R } from "../../chunks/types.js";
|
12
12
|
import { jsx as e, jsxs as I } from "react/jsx-runtime";
|
13
|
-
import '../../styles/box-ai-agent-selector.css';const
|
14
|
-
agentSelector:
|
15
|
-
agentStatus:
|
16
|
-
agentLoader:
|
17
|
-
agentError:
|
18
|
-
triggerChip:
|
19
|
-
agentLabel:
|
20
|
-
dropdownIndicator:
|
21
|
-
sidebar:
|
22
|
-
agentListItemIcon:
|
23
|
-
agentListContainer:
|
24
|
-
agentListRetryButton:
|
13
|
+
import '../../styles/box-ai-agent-selector.css';const pt = "_agentSelector_prbzs_1", gt = "_agentStatus_prbzs_4", ct = "_agentLoader_prbzs_18", dt = "_agentError_prbzs_21", mt = "_triggerChip_prbzs_24", ft = "_agentLabel_prbzs_30", _t = "_dropdownIndicator_prbzs_36", Lt = "_sidebar_prbzs_51", ht = "_agentListItemIcon_prbzs_64", ut = "_agentListContainer_prbzs_69", Ct = "_agentListRetryButton_prbzs_99", a = {
|
14
|
+
agentSelector: pt,
|
15
|
+
agentStatus: gt,
|
16
|
+
agentLoader: ct,
|
17
|
+
agentError: dt,
|
18
|
+
triggerChip: mt,
|
19
|
+
agentLabel: ft,
|
20
|
+
dropdownIndicator: _t,
|
21
|
+
sidebar: Lt,
|
22
|
+
agentListItemIcon: ht,
|
23
|
+
agentListContainer: ut,
|
24
|
+
agentListRetryButton: Ct
|
25
25
|
};
|
26
|
-
function
|
26
|
+
function At({
|
27
27
|
agents: _,
|
28
|
-
contentClassName:
|
28
|
+
contentClassName: P,
|
29
29
|
onErrorAction: y,
|
30
30
|
recordAction: r,
|
31
31
|
requestState: L,
|
32
32
|
disabled: k,
|
33
|
+
onAgentsListOpen: N,
|
33
34
|
selectedAgent: i,
|
34
35
|
triggerChipClassName: D,
|
35
|
-
variant:
|
36
|
+
variant: K = "modal"
|
36
37
|
}) {
|
37
38
|
const {
|
38
39
|
formatMessage: o
|
39
|
-
} =
|
40
|
+
} = nt(), [l, p] = B(!1), n = L === R.ERROR, [v, h] = B(n), w = lt(), O = L === R.SUCCESS, u = L === R.IN_PROGRESS, G = o(s.selectAgent), M = o(s.defaultAgent);
|
40
41
|
let g = "";
|
41
|
-
O ? g = (i == null ? void 0 : i.name) ||
|
42
|
-
const
|
43
|
-
Wrapper:
|
44
|
-
wrapperProps:
|
45
|
-
} =
|
46
|
-
ref:
|
42
|
+
O ? g = (i == null ? void 0 : i.name) || G : n && (g = M);
|
43
|
+
const z = rt(null), {
|
44
|
+
Wrapper: F,
|
45
|
+
wrapperProps: U
|
46
|
+
} = X({
|
47
|
+
ref: z,
|
47
48
|
textValue: g
|
48
49
|
});
|
49
|
-
|
50
|
+
ot(() => {
|
50
51
|
l && r && r({
|
51
52
|
...E,
|
52
53
|
action: S,
|
@@ -54,73 +55,75 @@ function Gt({
|
|
54
55
|
});
|
55
56
|
}, [l, r]);
|
56
57
|
const C = f((t) => {
|
57
|
-
p(!1),
|
58
|
-
type:
|
58
|
+
p(!1), w({
|
59
|
+
type: it.SET_SELECTED_AGENT,
|
59
60
|
id: t.id
|
60
61
|
}), r && r({
|
61
62
|
...E,
|
62
63
|
action: S,
|
63
64
|
target: T.SELECT_AGENT
|
64
65
|
});
|
65
|
-
}, [
|
66
|
+
}, [w, r]), j = f(() => {
|
66
67
|
p(!1), y(), r && r({
|
67
68
|
...E,
|
68
69
|
action: S,
|
69
70
|
target: T.RETRY_LOADING_AGENTS
|
70
71
|
});
|
71
|
-
}, [y, r]),
|
72
|
+
}, [y, r]), Q = f((t) => {
|
72
73
|
if (t.key === "Escape" && (p(!1), t.stopPropagation()), t.key === " ") {
|
73
74
|
const A = t.target;
|
74
75
|
if (A) {
|
75
|
-
const
|
76
|
-
|
76
|
+
const H = A.getAttribute("data-key"), x = _.find((J) => J.id === H);
|
77
|
+
x && C(x);
|
77
78
|
}
|
78
79
|
}
|
79
|
-
}, [_, C]),
|
80
|
+
}, [_, C]), V = f((t) => h(n && n && !l && t ? t : !1), [n, l]), W = (t) => {
|
81
|
+
t && N && N(), p(t);
|
82
|
+
}, b = K === "sidebar" && a.sidebar, Y = (t) => {
|
80
83
|
(t.key === "ArrowUp" || t.key === "ArrowDown" || t.key === "ArrowLeft" || t.key === "ArrowRight") && t.stopPropagation();
|
81
84
|
};
|
82
85
|
return /* @__PURE__ */ e(c.Group, {
|
83
86
|
className: m(a.agentSelector, D, b),
|
84
|
-
name:
|
85
|
-
onKeyDown:
|
87
|
+
name: G,
|
88
|
+
onKeyDown: Y,
|
86
89
|
type: "multiple",
|
87
90
|
children: /* @__PURE__ */ I(d.Root, {
|
88
91
|
modal: !1,
|
89
|
-
onOpenChange:
|
92
|
+
onOpenChange: W,
|
90
93
|
open: l,
|
91
|
-
children: [/* @__PURE__ */ e(
|
94
|
+
children: [/* @__PURE__ */ e(Z, {
|
92
95
|
content: o(s.errorTooltip),
|
93
|
-
onOpenChange:
|
94
|
-
open:
|
96
|
+
onOpenChange: V,
|
97
|
+
open: v,
|
95
98
|
side: "bottom",
|
96
99
|
variant: "error",
|
97
100
|
children: /* @__PURE__ */ e(d.Trigger, {
|
98
|
-
disabled: k ||
|
101
|
+
disabled: k || u,
|
99
102
|
children: /* @__PURE__ */ I(c.TriggerChip, {
|
100
103
|
className: a.triggerChip,
|
101
104
|
"data-target-id": "FilterChip.TriggerChip-agentSelectorTrigger",
|
102
105
|
value: "trigger-chip",
|
103
|
-
children: [/* @__PURE__ */ e(
|
106
|
+
children: [/* @__PURE__ */ e($, {
|
104
107
|
className: a.agentStatus,
|
105
108
|
colorIndex: 0,
|
106
109
|
text: o(s.agent)
|
107
|
-
}),
|
110
|
+
}), u && /* @__PURE__ */ e(q, {
|
108
111
|
"aria-label": o(s.loadingMessage),
|
109
112
|
className: a.agentLoader,
|
110
113
|
variant: "default"
|
111
|
-
}), n && /* @__PURE__ */ e(
|
114
|
+
}), n && /* @__PURE__ */ e(at, {
|
112
115
|
className: a.agentError,
|
113
116
|
height: "1rem",
|
114
117
|
role: "presentation",
|
115
118
|
width: "1rem"
|
116
|
-
}), /* @__PURE__ */ e(
|
117
|
-
...
|
119
|
+
}), /* @__PURE__ */ e(F, {
|
120
|
+
...U,
|
118
121
|
children: /* @__PURE__ */ e(c.Label, {
|
119
|
-
ref:
|
122
|
+
ref: z,
|
120
123
|
className: a.agentLabel,
|
121
124
|
children: g
|
122
125
|
})
|
123
|
-
}), !
|
126
|
+
}), !u && /* @__PURE__ */ e("div", {
|
124
127
|
className: a.dropdownIndicator,
|
125
128
|
children: /* @__PURE__ */ e(c.DropdownIndicator, {})
|
126
129
|
})]
|
@@ -129,19 +132,19 @@ function Gt({
|
|
129
132
|
}), /* @__PURE__ */ e(d.ContentContainer, {
|
130
133
|
align: "start",
|
131
134
|
className: m(a.agentListContainer, b),
|
132
|
-
onKeyDownCapture:
|
135
|
+
onKeyDownCapture: Q,
|
133
136
|
children: /* @__PURE__ */ I(d.MainContent, {
|
134
|
-
children: [O && /* @__PURE__ */ e(
|
137
|
+
children: [O && /* @__PURE__ */ e(tt, {
|
135
138
|
"aria-label": o(s.agentList),
|
136
|
-
className: m([a.agentList,
|
139
|
+
className: m([a.agentList, P]),
|
137
140
|
selectedKeys: [(i == null ? void 0 : i.id) || ""],
|
138
|
-
children: _.map((t) => /* @__PURE__ */ e(
|
141
|
+
children: _.map((t) => /* @__PURE__ */ e(st, {
|
139
142
|
agent: t,
|
140
143
|
onAction: () => C(t)
|
141
144
|
}, t.id))
|
142
|
-
}), n && /* @__PURE__ */ e(
|
145
|
+
}), n && /* @__PURE__ */ e(et, {
|
143
146
|
className: m(a.agentListRetryButton, b),
|
144
|
-
onClick:
|
147
|
+
onClick: j,
|
145
148
|
variant: "tertiary",
|
146
149
|
"data-target-id": "Button-errorMessage",
|
147
150
|
children: o(s.errorMessage)
|
@@ -152,6 +155,6 @@ function Gt({
|
|
152
155
|
});
|
153
156
|
}
|
154
157
|
export {
|
155
|
-
|
156
|
-
|
158
|
+
At as BoxAiAgentSelector,
|
159
|
+
At as default
|
157
160
|
};
|
package/i18n/bn-IN.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "ডিফল্ট",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "ডিফল্ট",
|
6
6
|
"boxAI.agentSelector.errorMessage": "উপলভ্য এজেন্টগুলো লোড করা যায়নি। আপনি বর্তমানে আপনার সংগঠনের ডিফল্ট এজেন্ট ব্যবহার করছেন। আবার চেষ্টা করার জন্য এখানে ক্লিক করুন।",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "উপলভ্য এজেন্ট লোড করা
|
7
|
+
"boxAI.agentSelector.errorTooltip": "উপলভ্য এজেন্ট লোড করা যায়নি। আবার চেষ্টা করুন।",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "উপলভ্য এজেন্ট লোড করা হচ্ছে",
|
9
9
|
"boxAI.agentSelector.selectAgent": "এজেন্ট নির্বাচন করুন"
|
10
10
|
}
|
package/i18n/bn-IN.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = ডিফল্ট
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = উপলভ্য এজেন্টগুলো লোড করা যায়নি। আপনি বর্তমানে আপনার সংগঠনের ডিফল্ট এজেন্ট ব্যবহার করছেন। আবার চেষ্টা করার জন্য এখানে ক্লিক করুন।
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = উপলভ্য এজেন্ট লোড করা
|
12
|
+
boxAI.agentSelector.errorTooltip = উপলভ্য এজেন্ট লোড করা যায়নি। আবার চেষ্টা করুন।
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = উপলভ্য এজেন্ট লোড করা হচ্ছে
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/da-DK.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Standard",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "STANDARD",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Kunne ikke indlæse tilgængelige agenter. Du bruger i øjeblikket din organisations standardagent. Klik her for at prøve igen.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "Kunne ikke indlæse tilgængelige agenter",
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Kunne ikke indlæse tilgængelige agenter. Prøv igen.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Indlæsning af tilgængelige agenter",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Vælge en agent"
|
10
10
|
}
|
package/i18n/da-DK.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = STANDARD
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Kunne ikke indlæse tilgængelige agenter. Du bruger i øjeblikket din organisations standardagent. Klik her for at prøve igen.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = Kunne ikke indlæse tilgængelige agenter
|
12
|
+
boxAI.agentSelector.errorTooltip = Kunne ikke indlæse tilgængelige agenter. Prøv igen.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Indlæsning af tilgængelige agenter
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/de-DE.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Standard",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "STANDARD",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Verfügbare Agenten konnten nicht geladen werden. Sie verwenden derzeit den Standardagenten Ihres Unternehmens. Klicken Sie hier, um es zu wiederholen.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "Verfügbare Agenten konnten nicht geladen werden",
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Verfügbare Agenten konnten nicht geladen werden. Versuchen Sie es noch einmal.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Verfügbare Agenten werden geladen",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Wählen Sie einen Agenten aus"
|
10
10
|
}
|
package/i18n/de-DE.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = STANDARD
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Verfügbare Agenten konnten nicht geladen werden. Sie verwenden derzeit den Standardagenten Ihres Unternehmens. Klicken Sie hier, um es zu wiederholen.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = Verfügbare Agenten konnten nicht geladen werden
|
12
|
+
boxAI.agentSelector.errorTooltip = Verfügbare Agenten konnten nicht geladen werden. Versuchen Sie es noch einmal.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Verfügbare Agenten werden geladen
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/en-AU.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Default",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "DEFAULT",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Failed to load available agents. You're currently using your organization's default agent. Click here to retry.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "Failed to load available agents",
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Failed to load available agents. Try again.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Loading available agents",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Select an Agent"
|
10
10
|
}
|
package/i18n/en-AU.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = DEFAULT
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Failed to load available agents. You're currently using your organization's default agent. Click here to retry.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = Failed to load available agents
|
12
|
+
boxAI.agentSelector.errorTooltip = Failed to load available agents. Try again.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Loading available agents
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/en-GB.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Default",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "DEFAULT",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Failed to load available agents. You're currently using your organization's default agent. Click here to retry.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "Failed to load available agents",
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Failed to load available agents. Try again.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Loading available agents",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Select an Agent"
|
10
10
|
}
|
package/i18n/en-GB.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = DEFAULT
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Failed to load available agents. You're currently using your organization's default agent. Click here to retry.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = Failed to load available agents
|
12
|
+
boxAI.agentSelector.errorTooltip = Failed to load available agents. Try again.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Loading available agents
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/es-419.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Predeterminado",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "PREDETERMINADO",
|
6
6
|
"boxAI.agentSelector.errorMessage": "No se pudo cargar los agentes disponibles. En este momento está utilizando el agente predeterminado de la organización. Haz clic aquí para volver a intentarlo.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "
|
7
|
+
"boxAI.agentSelector.errorTooltip": "No se pudieron cargar los agentes disponibles. Inténtelo de nuevo.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Cargando los agentes disponibles",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Seleccionar un agente"
|
10
10
|
}
|
package/i18n/es-419.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = PREDETERMINADO
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = No se pudo cargar los agentes disponibles. En este momento está utilizando el agente predeterminado de la organización. Haz clic aquí para volver a intentarlo.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip =
|
12
|
+
boxAI.agentSelector.errorTooltip = No se pudieron cargar los agentes disponibles. Inténtelo de nuevo.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Cargando los agentes disponibles
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/es-ES.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Predeterminado",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "PREDETERMINADO",
|
6
6
|
"boxAI.agentSelector.errorMessage": "No se pudo cargar los agentes disponibles. En este momento está utilizando el agente predeterminado de la organización. Haz clic aquí para volver a intentarlo.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "
|
7
|
+
"boxAI.agentSelector.errorTooltip": "No se pudieron cargar los agentes disponibles. Inténtelo de nuevo.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Cargando los agentes disponibles",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Seleccionar un agente"
|
10
10
|
}
|
package/i18n/es-ES.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = PREDETERMINADO
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = No se pudo cargar los agentes disponibles. En este momento está utilizando el agente predeterminado de la organización. Haz clic aquí para volver a intentarlo.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip =
|
12
|
+
boxAI.agentSelector.errorTooltip = No se pudieron cargar los agentes disponibles. Inténtelo de nuevo.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Cargando los agentes disponibles
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/fi-FI.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Oletusasetus",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "OLETUS",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Käytettävissä olevien edustajien lataaminen epäonnistui. Käytät parhaillaan organisaatiosi oletusedustajaa. Napsauta tästä yrittääksesi uudelleen.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "Käytettävissä olevien
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Käytettävissä olevien agenttien lataaminen epäonnistui. Yritä uudelleen.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Ladataan käytettävissä olevia edustajia",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Valitse edustaja"
|
10
10
|
}
|
package/i18n/fi-FI.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = OLETUS
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Käytettävissä olevien edustajien lataaminen epäonnistui. Käytät parhaillaan organisaatiosi oletusedustajaa. Napsauta tästä yrittääksesi uudelleen.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = Käytettävissä olevien
|
12
|
+
boxAI.agentSelector.errorTooltip = Käytettävissä olevien agenttien lataaminen epäonnistui. Yritä uudelleen.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Ladataan käytettävissä olevia edustajia
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/fr-CA.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Par défaut",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "PAR DÉFAUT",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Échec du chargement des agents disponibles. Vous utilisez actuellement l'agent par défaut de votre organisation. Cliquez ici pour réessayer.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Le chargement des agents disponibles a échoué.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Chargement des agents disponibles",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Sélectionner un agent"
|
10
10
|
}
|
package/i18n/fr-CA.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = PAR DÉFAUT
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Échec du chargement des agents disponibles. Vous utilisez actuellement l'agent par défaut de votre organisation. Cliquez ici pour réessayer.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip =
|
12
|
+
boxAI.agentSelector.errorTooltip = Le chargement des agents disponibles a échoué.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Chargement des agents disponibles
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/fr-FR.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Par défaut",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "PAR DÉFAUT",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Échec du chargement des agents disponibles. Vous utilisez actuellement l'agent par défaut de votre organisation. Cliquez ici pour réessayer.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Le chargement des agents disponibles a échoué.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Chargement des agents disponibles",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Sélectionner un agent"
|
10
10
|
}
|
package/i18n/fr-FR.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = PAR DÉFAUT
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Échec du chargement des agents disponibles. Vous utilisez actuellement l'agent par défaut de votre organisation. Cliquez ici pour réessayer.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip =
|
12
|
+
boxAI.agentSelector.errorTooltip = Le chargement des agents disponibles a échoué.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Chargement des agents disponibles
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/hi-IN.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "डिफ़ॉल्ट",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "डिफ़ॉल्ट",
|
6
6
|
"boxAI.agentSelector.errorMessage": "उपलब्ध एजेंट लोड नहीं हो सके. आप फ़िलहाल अपने संगठन का डिफ़ॉल्ट एजेंट उपयोग कर रहे हैं. पुनः प्रयास करने के लिए यहाँ क्लिक करें.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "उपलब्ध
|
7
|
+
"boxAI.agentSelector.errorTooltip": "उपलब्ध एजेंटों को लोड करने में विफल रहा। पुनः प्रयास करें।",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "उपलब्ध एजेंट लोड हो रहे हैं",
|
9
9
|
"boxAI.agentSelector.selectAgent": "एक एजेंट चुनें"
|
10
10
|
}
|
package/i18n/hi-IN.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = डिफ़ॉल्ट
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = उपलब्ध एजेंट लोड नहीं हो सके. आप फ़िलहाल अपने संगठन का डिफ़ॉल्ट एजेंट उपयोग कर रहे हैं. पुनः प्रयास करने के लिए यहाँ क्लिक करें.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = उपलब्ध
|
12
|
+
boxAI.agentSelector.errorTooltip = उपलब्ध एजेंटों को लोड करने में विफल रहा। पुनः प्रयास करें।
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = उपलब्ध एजेंट लोड हो रहे हैं
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/it-IT.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Predefinito",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "DEFAULT",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Impossibile caricare gli agenti disponibili. Al momento stai utilizzando l'agente predefinito della tua organizzazione. Fai clic qui per riprovare.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Non è stato possibile caricare gli agenti disponibili. Riprova.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Caricamento degli agenti disponibili",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Seleziona un agente"
|
10
10
|
}
|
package/i18n/it-IT.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = DEFAULT
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Impossibile caricare gli agenti disponibili. Al momento stai utilizzando l'agente predefinito della tua organizzazione. Fai clic qui per riprovare.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip =
|
12
|
+
boxAI.agentSelector.errorTooltip = Non è stato possibile caricare gli agenti disponibili. Riprova.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Caricamento degli agenti disponibili
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/ja-JP.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "デフォルト",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "デフォルト",
|
6
6
|
"boxAI.agentSelector.errorMessage": "利用可能なエージェントを読み込めませんでした。現在、組織のデフォルトエージェントを使用しています。こちらをクリックして再試行してください。",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "
|
7
|
+
"boxAI.agentSelector.errorTooltip": "使用可能なエージェントを読み込めませんでした。もう一度やり直してください。",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "利用可能なエージェントを読み込み中",
|
9
9
|
"boxAI.agentSelector.selectAgent": "エージェントを選択"
|
10
10
|
}
|
package/i18n/ja-JP.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = デフォルト
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = 利用可能なエージェントを読み込めませんでした。現在、組織のデフォルトエージェントを使用しています。こちらをクリックして再試行してください。
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip =
|
12
|
+
boxAI.agentSelector.errorTooltip = 使用可能なエージェントを読み込めませんでした。もう一度やり直してください。
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = 利用可能なエージェントを読み込み中
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/ko-KR.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "기본",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "기본",
|
6
6
|
"boxAI.agentSelector.errorMessage": "사용 가능한 에이전트를 로드하지 못했습니다. 현재 조직의 기본 에이전트를 사용하고 있습니다. 재시도 하려면 여기를 클릭하십시오",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "사용 가능한 에이전트를 로드하지
|
7
|
+
"boxAI.agentSelector.errorTooltip": "사용 가능한 에이전트를 로드하지 못했습니다. 다시 시도하십시오.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "사용 가능한 에이전트 로드",
|
9
9
|
"boxAI.agentSelector.selectAgent": "에이전트 선택"
|
10
10
|
}
|
package/i18n/ko-KR.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = 기본
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = 사용 가능한 에이전트를 로드하지 못했습니다. 현재 조직의 기본 에이전트를 사용하고 있습니다. 재시도 하려면 여기를 클릭하십시오
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = 사용 가능한 에이전트를 로드하지
|
12
|
+
boxAI.agentSelector.errorTooltip = 사용 가능한 에이전트를 로드하지 못했습니다. 다시 시도하십시오.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = 사용 가능한 에이전트 로드
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/nb-NO.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Standard",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "STANDARD",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Kunne ikke laste inn tilgjengelige agenter. Du bruker for øyeblikket organisasjonens standardagent. Klikk her for å prøve på nytt.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "Kunne ikke laste inn tilgjengelige agenter",
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Kunne ikke laste inn tilgjengelige agenter. Prøv igjen.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Laster tilgjengelige agenter",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Velg en agent"
|
10
10
|
}
|
package/i18n/nb-NO.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = STANDARD
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Kunne ikke laste inn tilgjengelige agenter. Du bruker for øyeblikket organisasjonens standardagent. Klikk her for å prøve på nytt.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = Kunne ikke laste inn tilgjengelige agenter
|
12
|
+
boxAI.agentSelector.errorTooltip = Kunne ikke laste inn tilgjengelige agenter. Prøv igjen.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Laster tilgjengelige agenter
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/nl-NL.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Standaard",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "STANDAARD",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Kan beschikbare agenten niet laden. U gebruikt momenteel de standaardagent van uw organisatie. Klik hier om het opnieuw te proberen.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "Kan beschikbare agenten
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Kan geen beschikbare agenten laden. Probeer het opnieuw.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Beschikbare agenten laden",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Selecteer een agent"
|
10
10
|
}
|
package/i18n/nl-NL.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = STANDAARD
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Kan beschikbare agenten niet laden. U gebruikt momenteel de standaardagent van uw organisatie. Klik hier om het opnieuw te proberen.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = Kan beschikbare agenten
|
12
|
+
boxAI.agentSelector.errorTooltip = Kan geen beschikbare agenten laden. Probeer het opnieuw.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Beschikbare agenten laden
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/pl-PL.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Domyślne",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "DOMYŚLNE",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Nie udało się wczytać dostępnych agentów. Obecnie używasz domyślnego agenta organizacji. Kliknij tutaj, aby spróbować ponownie",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "Nie udało się wczytać dostępnych agentów",
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Nie udało się wczytać dostępnych agentów. Spróbuj ponownie.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Wczytywanie dostępnych agentów",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Wybierz agenta"
|
10
10
|
}
|
package/i18n/pl-PL.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = DOMYŚLNE
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Nie udało się wczytać dostępnych agentów. Obecnie używasz domyślnego agenta organizacji. Kliknij tutaj, aby spróbować ponownie
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = Nie udało się wczytać dostępnych agentów
|
12
|
+
boxAI.agentSelector.errorTooltip = Nie udało się wczytać dostępnych agentów. Spróbuj ponownie.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Wczytywanie dostępnych agentów
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/pt-BR.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Padrão",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "PADRÃO",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Falha ao carregar agentes disponíveis. Você está usando atualmente o agente padrão de sua organização. Clique aqui para tentar novamente.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "Falha ao carregar agentes disponíveis",
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Falha ao carregar agentes disponíveis. Tente novamente.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Carregando agentes disponíveis",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Selecionar um agente"
|
10
10
|
}
|
package/i18n/pt-BR.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = PADRÃO
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Falha ao carregar agentes disponíveis. Você está usando atualmente o agente padrão de sua organização. Clique aqui para tentar novamente.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = Falha ao carregar agentes disponíveis
|
12
|
+
boxAI.agentSelector.errorTooltip = Falha ao carregar agentes disponíveis. Tente novamente.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Carregando agentes disponíveis
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/ru-RU.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "По умолчанию",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "ПО УМОЛЧАНИЮ",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Не удалось загрузить доступные агенты. В настоящее время вы используете агент вашей организации по умолчанию. Нажмите здесь для повторной попытки.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "Не удалось загрузить
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Не удалось загрузить доступных агентов. Повторите попытку.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Загрузка доступных агентов",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Выберите агента"
|
10
10
|
}
|
package/i18n/ru-RU.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = ПО УМОЛЧАНИЮ
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Не удалось загрузить доступные агенты. В настоящее время вы используете агент вашей организации по умолчанию. Нажмите здесь для повторной попытки.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip = Не удалось загрузить
|
12
|
+
boxAI.agentSelector.errorTooltip = Не удалось загрузить доступных агентов. Повторите попытку.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Загрузка доступных агентов
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/sv-SE.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Standard",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "STANDARD",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Det gick inte att ladda tillgängliga agenter. Du använder för närvarande din organisations standardagent. Klicka här för att försöka igen.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Misslyckades med att läsa in tillgängliga agenter. Försök igen.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Laddar tillgängliga agenter",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Välj en agent"
|
10
10
|
}
|
package/i18n/sv-SE.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = STANDARD
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Det gick inte att ladda tillgängliga agenter. Du använder för närvarande din organisations standardagent. Klicka här för att försöka igen.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip =
|
12
|
+
boxAI.agentSelector.errorTooltip = Misslyckades med att läsa in tillgängliga agenter. Försök igen.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Laddar tillgängliga agenter
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/tr-TR.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "Varsayılan",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "VARSAYILAN",
|
6
6
|
"boxAI.agentSelector.errorMessage": "Mevcut aracılar yüklenemedi. Şu anda kuruluşunuzun varsayılan aracısını kullanıyorsunuz. Yeniden denemek için buraya tıklayın.",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "
|
7
|
+
"boxAI.agentSelector.errorTooltip": "Kullanılabilir aracılar yüklenemedi. Tekrar deneyin.",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "Mevcut aracılar yükleniyor",
|
9
9
|
"boxAI.agentSelector.selectAgent": "Bir Aracı seçin"
|
10
10
|
}
|
package/i18n/tr-TR.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = VARSAYILAN
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = Mevcut aracılar yüklenemedi. Şu anda kuruluşunuzun varsayılan aracısını kullanıyorsunuz. Yeniden denemek için buraya tıklayın.
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip =
|
12
|
+
boxAI.agentSelector.errorTooltip = Kullanılabilir aracılar yüklenemedi. Tekrar deneyin.
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = Mevcut aracılar yükleniyor
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/zh-CN.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "默认",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "默认",
|
6
6
|
"boxAI.agentSelector.errorMessage": "无法加载可用代理。您当前正使用组织的默认代理。单击此处重试。",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "
|
7
|
+
"boxAI.agentSelector.errorTooltip": "无法加载可用代理。请重试。",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "正在加载可用代理",
|
9
9
|
"boxAI.agentSelector.selectAgent": "选择一个代理"
|
10
10
|
}
|
package/i18n/zh-CN.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = 默认
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = 无法加载可用代理。您当前正使用组织的默认代理。单击此处重试。
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip =
|
12
|
+
boxAI.agentSelector.errorTooltip = 无法加载可用代理。请重试。
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = 正在加载可用代理
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/i18n/zh-TW.js
CHANGED
@@ -4,7 +4,7 @@ export default {
|
|
4
4
|
"boxAI.agentSelector.defaultAgent": "預設",
|
5
5
|
"boxAI.agentSelector.defaultStatus": "預設",
|
6
6
|
"boxAI.agentSelector.errorMessage": "載入可用代理失敗。 您目前正在使用您組織的預設代理。 按一下這裡以重試。",
|
7
|
-
"boxAI.agentSelector.errorTooltip": "
|
7
|
+
"boxAI.agentSelector.errorTooltip": "無法載入可用的代理程式。請再試一次。",
|
8
8
|
"boxAI.agentSelector.loadingMessage": "正在載入可用的代理",
|
9
9
|
"boxAI.agentSelector.selectAgent": "選擇代理"
|
10
10
|
}
|
package/i18n/zh-TW.properties
CHANGED
@@ -9,7 +9,7 @@ boxAI.agentSelector.defaultStatus = 預設
|
|
9
9
|
# Error message for retry option when the agents failed to load
|
10
10
|
boxAI.agentSelector.errorMessage = 載入可用代理失敗。 您目前正在使用您組織的預設代理。 按一下這裡以重試。
|
11
11
|
# Error tooltip content for agent selector when the agents failed to load
|
12
|
-
boxAI.agentSelector.errorTooltip =
|
12
|
+
boxAI.agentSelector.errorTooltip = 無法載入可用的代理程式。請再試一次。
|
13
13
|
# Message for loading indicator while loading available agents
|
14
14
|
boxAI.agentSelector.loadingMessage = 正在載入可用的代理
|
15
15
|
# Label for the AI agent selector when the user has not selected any agent
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@box/box-ai-agent-selector",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.32.0",
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
5
5
|
"peerDependencies": {
|
6
6
|
"@box/blueprint-web": "^7.31.1",
|
@@ -47,5 +47,5 @@
|
|
47
47
|
"sideEffects": [
|
48
48
|
"**/*.css"
|
49
49
|
],
|
50
|
-
"gitHead": "
|
50
|
+
"gitHead": "d9896953657518cadffe1c467b9c60b05b13b1e7"
|
51
51
|
}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { BoxAiAgentSelectorWithApiProps } from './types';
|
2
|
-
export declare function BoxAiAgentSelectorWithApi({ fetcher, hostAppName, onSelectAgent, recordAction, requestState: requestStateProp, disabled, shouldHideAgentSelectorOnLoad, triggerChipClassName, contentClassName, variant, }: BoxAiAgentSelectorWithApiProps): import("react/jsx-runtime").JSX.Element | null;
|
2
|
+
export declare function BoxAiAgentSelectorWithApi({ fetcher, hostAppName, onSelectAgent, recordAction, requestState: requestStateProp, disabled, onAgentsListOpen, shouldHideAgentSelectorOnLoad, triggerChipClassName, contentClassName, variant, }: BoxAiAgentSelectorWithApiProps): import("react/jsx-runtime").JSX.Element | null;
|
3
3
|
export default BoxAiAgentSelectorWithApi;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { BoxAiAgentSelectorProps } from './types';
|
2
|
-
export declare function BoxAiAgentSelector({ agents, contentClassName, onErrorAction, recordAction, requestState, disabled, selectedAgent, triggerChipClassName, variant, }: BoxAiAgentSelectorProps): import("react/jsx-runtime").JSX.Element;
|
2
|
+
export declare function BoxAiAgentSelector({ agents, contentClassName, onErrorAction, recordAction, requestState, disabled, onAgentsListOpen, selectedAgent, triggerChipClassName, variant, }: BoxAiAgentSelectorProps): import("react/jsx-runtime").JSX.Element;
|
3
3
|
export default BoxAiAgentSelector;
|
package/types/lib/types.d.ts
CHANGED
@@ -70,6 +70,8 @@ export interface BoxAiAgentSelectorWithApiProps {
|
|
70
70
|
* Renders the dropdown in disabled state.
|
71
71
|
*/
|
72
72
|
disabled?: boolean;
|
73
|
+
/** Callback function when user opens agents list */
|
74
|
+
onAgentsListOpen?: () => void;
|
73
75
|
/**
|
74
76
|
* Determines whether the agent selector component should remain hidden
|
75
77
|
* until the initial data fetch is complete.
|
@@ -104,6 +106,10 @@ export interface BoxAiAgentSelectorProps {
|
|
104
106
|
* Renders the dropdown in disabled state.
|
105
107
|
*/
|
106
108
|
disabled?: boolean;
|
109
|
+
/**
|
110
|
+
* Callback function triggered when agents list is opened
|
111
|
+
* */
|
112
|
+
onAgentsListOpen?: () => void;
|
107
113
|
/**
|
108
114
|
* The currently selected agent, or null if no agent is selected.
|
109
115
|
*/
|