impact-nova 3.0.0-alpha.20 → 3.0.0-alpha.23
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/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +32 -31
- package/dist/components/data-display/chart/chart-heatmap-layout.d.ts +31 -0
- package/dist/components/data-display/chart/chart-heatmap-layout.js +72 -0
- package/dist/components/data-display/chart/chart.category-cluster-heatmap.stories-data.d.ts +1 -1
- package/dist/components/data-display/chart/chart.js +165 -150
- package/dist/components/data-display/chart/chart.types.d.ts +17 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid-play.d.ts +9 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.d.ts +32 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.js +93 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.layout.d.ts +46 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.layout.js +80 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.types.d.ts +54 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.variants.d.ts +18 -0
- package/dist/components/data-display/heatmap-grid/heatmap-grid.variants.js +80 -0
- package/dist/components/data-display/heatmap-grid/index.d.ts +3 -0
- package/dist/components/data-display/heatmap-grid/index.js +14 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-cell.d.ts +14 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-cell.js +39 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-context.d.ts +29 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-context.js +33 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-tooltip.d.ts +4 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-tooltip.js +49 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-viewport.d.ts +3 -0
- package/dist/components/data-display/heatmap-grid/internals/heatmap-grid-viewport.js +173 -0
- package/dist/components/data-display/heatmap-grid/internals/use-heatmap-grid-viewport.d.ts +12 -0
- package/dist/components/data-display/heatmap-grid/internals/use-heatmap-grid-viewport.js +161 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.js +35 -33
- package/dist/components/data-display/hex-tilemap/hex-tilemap.types.d.ts +2 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-camera.js +30 -28
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.d.ts +1 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.js +36 -34
- package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.d.ts +2 -1
- package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.js +87 -84
- package/dist/components/flows/iris-chat/iris-chat-chrome.js +203 -185
- package/dist/i18n/defaultMessages.d.ts +6 -0
- package/dist/i18n/defaultMessages.js +16 -11
- package/dist/i18n/locales/de.js +5 -0
- package/dist/i18n/locales/es.js +5 -0
- package/dist/i18n/locales/hi.js +5 -0
- package/dist/i18n/locales/kn.js +5 -0
- package/dist/impact-nova.css +1 -1
- package/dist/lib/primitives/use-field-chrome.js +22 -22
- package/dist/llms/rules/installation.js +1 -1
- package/dist/llms/rules/requirements.js +1 -1
- package/package.json +5 -1
|
@@ -1,260 +1,278 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import { Slot as
|
|
4
|
-
import { Back as
|
|
5
|
-
import { Popover as
|
|
1
|
+
import { jsx as i, jsxs as f, Fragment as T } from "react/jsx-runtime";
|
|
2
|
+
import * as v from "react";
|
|
3
|
+
import { Slot as k } from "@radix-ui/react-slot";
|
|
4
|
+
import { Back as R, Cross as z, Draw as W } from "impact-nova-icons";
|
|
5
|
+
import { Popover as L, PopoverTrigger as D, PopoverContent as E, PopoverHeader as M, PopoverTitle as F, PopoverBody as O } from "../../feedback/popover/popover.js";
|
|
6
6
|
import { ButtonIconTooltip as G } from "../../feedback/tooltip/button-icon-tooltip.js";
|
|
7
|
-
import { Button as
|
|
8
|
-
import { IrisButton as
|
|
9
|
-
import { IrisAlanGradientIcon as
|
|
10
|
-
import { useImpactNovaI18n as
|
|
11
|
-
import { useComposedRefs as
|
|
7
|
+
import { Button as S } from "../../primitives/button/button.js";
|
|
8
|
+
import { IrisButton as q } from "../../primitives/iris/iris.js";
|
|
9
|
+
import { IrisAlanGradientIcon as N } from "../../primitives/iris/iris-alan-gradient-icon.js";
|
|
10
|
+
import { useImpactNovaI18n as p } from "../../../i18n/use-impact-nova-i18n.js";
|
|
11
|
+
import { useComposedRefs as P } from "../../../lib/compose-refs.js";
|
|
12
12
|
import { createComponent as l } from "../../../lib/primitives/create-component.js";
|
|
13
|
-
import { cn as
|
|
14
|
-
import { IrisChatHeaderWindowSizeButton as
|
|
15
|
-
import { useIrisChat as
|
|
13
|
+
import { cn as d } from "../../../lib/utils.js";
|
|
14
|
+
import { IrisChatHeaderWindowSizeButton as A } from "./IrisChatHeaderWindowSizeButton.js";
|
|
15
|
+
import { useIrisChat as g, useIrisChatOptional as j } from "./iris-chat-context.js";
|
|
16
16
|
import { IrisChatHamburgerIcon as V } from "./iris-chat-icons.js";
|
|
17
|
-
import { useIrisChatWindowGeometryOptional as
|
|
18
|
-
import { IrisChatWindowShell as
|
|
19
|
-
import { useIrisChatWindowGeometry as
|
|
20
|
-
import { irisChatHeaderVariants as
|
|
21
|
-
import { readIrisChatHorizontalPaddingClass as
|
|
22
|
-
const
|
|
17
|
+
import { useIrisChatWindowGeometryOptional as J, IrisChatWindowGeometryProvider as K } from "./iris-chat-window-geometry-context.js";
|
|
18
|
+
import { IrisChatWindowShell as Q } from "./iris-chat-window-shell.js";
|
|
19
|
+
import { useIrisChatWindowGeometry as U } from "./iris-chat-window-geometry.js";
|
|
20
|
+
import { irisChatHeaderVariants as X, irisChatPanelVariants as Y } from "./iris-chat.variants.js";
|
|
21
|
+
import { readIrisChatHorizontalPaddingClass as y, readIrisChatDisclaimerPaddingClass as Z } from "./iris-chat-window-chrome.js";
|
|
22
|
+
const we = l(
|
|
23
23
|
"IrisChatPanel",
|
|
24
|
-
({ className:
|
|
25
|
-
const
|
|
26
|
-
frame:
|
|
27
|
-
commitFrame:
|
|
28
|
-
resetFrame:
|
|
29
|
-
}),
|
|
30
|
-
return s ? null :
|
|
31
|
-
|
|
24
|
+
({ className: e, hidden: r, children: n, ...o }, a) => {
|
|
25
|
+
const t = g(), s = r ?? !t.open, m = U({
|
|
26
|
+
frame: t.frame,
|
|
27
|
+
commitFrame: t.commitFrame,
|
|
28
|
+
resetFrame: t.resetFrame
|
|
29
|
+
}), u = P(a, m.panelRef, t.registerPanelNode);
|
|
30
|
+
return s ? null : t.isWindowPlacement ? /* @__PURE__ */ i(K, { value: m.geometry, children: /* @__PURE__ */ i(
|
|
31
|
+
Q,
|
|
32
32
|
{
|
|
33
|
-
panelRef:
|
|
34
|
-
isClosing:
|
|
35
|
-
isOpening:
|
|
36
|
-
className:
|
|
37
|
-
children:
|
|
33
|
+
panelRef: u,
|
|
34
|
+
isClosing: t.isClosing,
|
|
35
|
+
isOpening: t.isOpening,
|
|
36
|
+
className: e,
|
|
37
|
+
children: n
|
|
38
38
|
}
|
|
39
|
-
) }) : /* @__PURE__ */
|
|
39
|
+
) }) : /* @__PURE__ */ i(
|
|
40
40
|
"div",
|
|
41
41
|
{
|
|
42
|
-
ref:
|
|
42
|
+
ref: a,
|
|
43
43
|
"data-component": "iris-chat-panel",
|
|
44
|
-
"data-placement":
|
|
45
|
-
className:
|
|
46
|
-
...
|
|
47
|
-
children:
|
|
44
|
+
"data-placement": t.placement,
|
|
45
|
+
className: d(Y({ placement: t.placement }), e),
|
|
46
|
+
...o,
|
|
47
|
+
children: n
|
|
48
48
|
}
|
|
49
49
|
);
|
|
50
50
|
}
|
|
51
|
-
),
|
|
51
|
+
), ve = l(
|
|
52
52
|
"IrisChatHeader",
|
|
53
|
-
({ className:
|
|
54
|
-
const
|
|
55
|
-
return /* @__PURE__ */
|
|
53
|
+
({ className: e, onPointerDown: r, onDoubleClick: n, ...o }, a) => {
|
|
54
|
+
const t = J();
|
|
55
|
+
return /* @__PURE__ */ i(
|
|
56
56
|
"header",
|
|
57
57
|
{
|
|
58
|
-
ref:
|
|
58
|
+
ref: a,
|
|
59
59
|
"data-component": "iris-chat-header",
|
|
60
|
-
"aria-grabbed":
|
|
61
|
-
className:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
"aria-grabbed": t?.isDragging ? !0 : void 0,
|
|
61
|
+
className: d(
|
|
62
|
+
X(),
|
|
63
|
+
t ? "cursor-grab active:cursor-grabbing" : void 0,
|
|
64
|
+
e
|
|
65
65
|
),
|
|
66
66
|
onPointerDown: (s) => {
|
|
67
|
-
|
|
67
|
+
t?.onHeaderPointerDown(s), r?.(s);
|
|
68
68
|
},
|
|
69
69
|
onDoubleClick: (s) => {
|
|
70
|
-
|
|
70
|
+
t?.onHeaderDoubleClick(s), n?.(s);
|
|
71
71
|
},
|
|
72
|
-
...
|
|
72
|
+
...o
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
75
|
}
|
|
76
|
-
),
|
|
76
|
+
), He = l("IrisChatHeaderLeading", ({ className: e, ...r }, n) => /* @__PURE__ */ i(
|
|
77
77
|
"div",
|
|
78
78
|
{
|
|
79
|
-
ref:
|
|
79
|
+
ref: n,
|
|
80
80
|
"data-component": "iris-chat-header-leading",
|
|
81
|
-
className:
|
|
81
|
+
className: d("flex min-w-0 items-center gap-2", e),
|
|
82
82
|
...r
|
|
83
83
|
}
|
|
84
|
-
)),
|
|
84
|
+
)), be = l("IrisChatHeaderTrailing", ({ className: e, ...r }, n) => /* @__PURE__ */ i(
|
|
85
85
|
"div",
|
|
86
86
|
{
|
|
87
|
-
ref:
|
|
87
|
+
ref: n,
|
|
88
88
|
"data-component": "iris-chat-header-trailing",
|
|
89
|
-
className:
|
|
89
|
+
className: d("flex shrink-0 items-center gap-2", e),
|
|
90
90
|
...r
|
|
91
91
|
}
|
|
92
|
-
)),
|
|
92
|
+
)), xe = l(
|
|
93
93
|
"IrisChatHeaderTitle",
|
|
94
|
-
({ className:
|
|
95
|
-
const { t
|
|
96
|
-
return /* @__PURE__ */
|
|
97
|
-
r ? /* @__PURE__ */
|
|
98
|
-
/* @__PURE__ */
|
|
94
|
+
({ className: e, showBrand: r = !1, children: n, ...o }, a) => {
|
|
95
|
+
const { t } = p();
|
|
96
|
+
return /* @__PURE__ */ f("div", { className: "flex min-w-0 items-center gap-1", children: [
|
|
97
|
+
r ? /* @__PURE__ */ i(N, { size: 18 }) : null,
|
|
98
|
+
/* @__PURE__ */ i(
|
|
99
99
|
"h2",
|
|
100
100
|
{
|
|
101
|
-
ref:
|
|
101
|
+
ref: a,
|
|
102
102
|
"data-component": "iris-chat-header-title",
|
|
103
|
-
className:
|
|
104
|
-
...
|
|
105
|
-
children:
|
|
103
|
+
className: d("truncate text-sm font-semibold leading-5 text-content", e),
|
|
104
|
+
...o,
|
|
105
|
+
children: n ?? t("irisChat.askIris")
|
|
106
106
|
}
|
|
107
107
|
)
|
|
108
108
|
] });
|
|
109
109
|
}
|
|
110
|
-
),
|
|
110
|
+
), H = l(
|
|
111
111
|
"IrisChatIconButton",
|
|
112
|
-
({ className:
|
|
113
|
-
|
|
112
|
+
({ className: e, label: r, children: n, type: o = "button", variant: a = "secondary", disabled: t, ...s }, m) => /* @__PURE__ */ i(G, { label: r, disabled: t, children: /* @__PURE__ */ i(
|
|
113
|
+
S,
|
|
114
114
|
{
|
|
115
|
-
ref:
|
|
116
|
-
type:
|
|
117
|
-
variant:
|
|
115
|
+
ref: m,
|
|
116
|
+
type: o,
|
|
117
|
+
variant: a,
|
|
118
118
|
size: "icon",
|
|
119
119
|
"aria-label": r,
|
|
120
|
-
disabled:
|
|
120
|
+
disabled: t,
|
|
121
121
|
"data-component": "iris-chat-icon-button",
|
|
122
|
-
className:
|
|
122
|
+
className: d(
|
|
123
123
|
"text-content",
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
a === "secondary" ? "rounded-full" : "rounded-lg",
|
|
125
|
+
e
|
|
126
126
|
),
|
|
127
127
|
...s,
|
|
128
|
-
children:
|
|
128
|
+
children: n
|
|
129
129
|
}
|
|
130
130
|
) })
|
|
131
|
-
),
|
|
132
|
-
const { t:
|
|
133
|
-
return /* @__PURE__ */
|
|
134
|
-
}),
|
|
135
|
-
const { t:
|
|
136
|
-
return /* @__PURE__ */
|
|
137
|
-
}),
|
|
138
|
-
const { t:
|
|
139
|
-
return /* @__PURE__ */
|
|
140
|
-
}),
|
|
141
|
-
const { t:
|
|
142
|
-
return /* @__PURE__ */
|
|
143
|
-
|
|
131
|
+
), Be = l("IrisChatHeaderMenuButton", ({ label: e, ...r }, n) => {
|
|
132
|
+
const { t: o } = p();
|
|
133
|
+
return /* @__PURE__ */ i(H, { ref: n, variant: "ghost", label: e ?? o("irisChat.menu"), ...r, children: /* @__PURE__ */ i(V, { size: 16 }) });
|
|
134
|
+
}), Ne = l("IrisChatHeaderBackButton", ({ label: e, ...r }, n) => {
|
|
135
|
+
const { t: o } = p();
|
|
136
|
+
return /* @__PURE__ */ i(H, { ref: n, variant: "ghost", label: e ?? o("irisChat.back"), ...r, children: /* @__PURE__ */ i(R, { size: 16 }) });
|
|
137
|
+
}), Pe = l("IrisChatHeaderNewChatButton", ({ label: e, ...r }, n) => {
|
|
138
|
+
const { t: o } = p();
|
|
139
|
+
return /* @__PURE__ */ i(H, { ref: n, label: e ?? o("irisChat.newChat"), ...r, children: /* @__PURE__ */ i(W, { size: 16 }) });
|
|
140
|
+
}), ye = A, Te = l("IrisChatHeaderCloseButton", ({ label: e, onClick: r, ...n }, o) => {
|
|
141
|
+
const { t: a } = p(), t = g();
|
|
142
|
+
return /* @__PURE__ */ i(
|
|
143
|
+
H,
|
|
144
144
|
{
|
|
145
|
-
ref:
|
|
146
|
-
label:
|
|
145
|
+
ref: o,
|
|
146
|
+
label: e ?? a("aria.close"),
|
|
147
147
|
onClick: (s) => {
|
|
148
|
-
|
|
148
|
+
t.requestClose(), r?.(s);
|
|
149
149
|
},
|
|
150
|
-
...
|
|
151
|
-
children: /* @__PURE__ */
|
|
150
|
+
...n,
|
|
151
|
+
children: /* @__PURE__ */ i(z, { size: 16 })
|
|
152
152
|
}
|
|
153
153
|
);
|
|
154
|
-
})
|
|
154
|
+
});
|
|
155
|
+
function _(e) {
|
|
156
|
+
const r = e.querySelectorAll("[data-iris-turn]"), n = r.length > 0 ? r : e.querySelectorAll(
|
|
157
|
+
'[data-component="iris-chat-thinking"], [data-component="iris-chat-message"]'
|
|
158
|
+
), o = n.item(n.length - 1);
|
|
159
|
+
if (!(o instanceof HTMLElement) || o.offsetHeight <= e.clientHeight) {
|
|
160
|
+
e.scrollTop = e.scrollHeight;
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
const a = o.getBoundingClientRect().top - e.getBoundingClientRect().top + e.scrollTop;
|
|
164
|
+
e.scrollTop = Math.max(0, a);
|
|
165
|
+
}
|
|
166
|
+
const ke = l(
|
|
155
167
|
"IrisChatBody",
|
|
156
|
-
({ className:
|
|
157
|
-
const
|
|
158
|
-
return
|
|
159
|
-
const c =
|
|
168
|
+
({ className: e, onScroll: r, ...n }, o) => {
|
|
169
|
+
const a = g(), t = v.useRef(null), s = v.useRef(!0), m = v.useRef(!1), u = P(o, t);
|
|
170
|
+
return v.useEffect(() => {
|
|
171
|
+
const c = t.current;
|
|
160
172
|
if (!c)
|
|
161
173
|
return;
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
174
|
+
const h = () => {
|
|
175
|
+
const C = document.activeElement;
|
|
176
|
+
!s.current || m.current || C instanceof Node && C !== c && c.contains(C) || _(c);
|
|
177
|
+
}, b = () => {
|
|
178
|
+
m.current = !0;
|
|
179
|
+
}, I = () => {
|
|
180
|
+
m.current = !1;
|
|
181
|
+
}, w = new ResizeObserver(h), x = () => {
|
|
182
|
+
w.disconnect(), w.observe(c);
|
|
183
|
+
for (const C of c.children)
|
|
184
|
+
w.observe(C);
|
|
185
|
+
}, B = new MutationObserver(() => {
|
|
186
|
+
x(), h();
|
|
170
187
|
});
|
|
171
|
-
return
|
|
172
|
-
|
|
188
|
+
return B.observe(c, { childList: !0 }), c.addEventListener("pointerdown", b), window.addEventListener("pointerup", I), window.addEventListener("pointercancel", I), x(), h(), () => {
|
|
189
|
+
w.disconnect(), B.disconnect(), c.removeEventListener("pointerdown", b), window.removeEventListener("pointerup", I), window.removeEventListener("pointercancel", I);
|
|
173
190
|
};
|
|
174
|
-
}, []), /* @__PURE__ */
|
|
191
|
+
}, []), /* @__PURE__ */ i(
|
|
175
192
|
"div",
|
|
176
193
|
{
|
|
177
|
-
ref:
|
|
194
|
+
ref: u,
|
|
178
195
|
"data-component": "iris-chat-body",
|
|
179
|
-
"data-placement":
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
x
|
|
183
|
-
|
|
184
|
-
|
|
196
|
+
"data-placement": a.placement,
|
|
197
|
+
"data-scroll-surface": "",
|
|
198
|
+
className: d(
|
|
199
|
+
"flex min-h-0 min-w-0 flex-1 flex-col overflow-x-hidden overflow-y-auto overscroll-x-contain [scrollbar-gutter:stable] [overflow-anchor:none]",
|
|
200
|
+
y({
|
|
201
|
+
isWindowPlacement: a.isWindowPlacement,
|
|
202
|
+
placement: a.placement
|
|
185
203
|
}),
|
|
186
|
-
|
|
204
|
+
e
|
|
187
205
|
),
|
|
188
206
|
onScroll: (c) => {
|
|
189
|
-
const
|
|
190
|
-
s.current =
|
|
207
|
+
const h = c.currentTarget;
|
|
208
|
+
s.current = h.scrollHeight - h.scrollTop - h.clientHeight < 64, r?.(c);
|
|
191
209
|
},
|
|
192
|
-
...
|
|
210
|
+
...n
|
|
193
211
|
}
|
|
194
212
|
);
|
|
195
213
|
}
|
|
196
|
-
),
|
|
214
|
+
), Re = l(
|
|
197
215
|
"IrisChatFooter",
|
|
198
|
-
({ className:
|
|
199
|
-
const
|
|
200
|
-
return /* @__PURE__ */
|
|
216
|
+
({ className: e, ...r }, n) => {
|
|
217
|
+
const o = g();
|
|
218
|
+
return /* @__PURE__ */ i(
|
|
201
219
|
"div",
|
|
202
220
|
{
|
|
203
|
-
ref:
|
|
221
|
+
ref: n,
|
|
204
222
|
"data-component": "iris-chat-footer",
|
|
205
|
-
"data-placement":
|
|
206
|
-
className:
|
|
223
|
+
"data-placement": o.placement,
|
|
224
|
+
className: d(
|
|
207
225
|
"min-w-0 shrink-0 pb-2",
|
|
208
|
-
|
|
209
|
-
isWindowPlacement:
|
|
210
|
-
placement:
|
|
226
|
+
y({
|
|
227
|
+
isWindowPlacement: o.isWindowPlacement,
|
|
228
|
+
placement: o.placement
|
|
211
229
|
}),
|
|
212
|
-
|
|
230
|
+
e
|
|
213
231
|
),
|
|
214
232
|
...r
|
|
215
233
|
}
|
|
216
234
|
);
|
|
217
235
|
}
|
|
218
|
-
),
|
|
236
|
+
), ze = l(
|
|
219
237
|
"IrisChatDisclaimer",
|
|
220
|
-
({ className:
|
|
221
|
-
const { t
|
|
222
|
-
return /* @__PURE__ */
|
|
238
|
+
({ className: e, href: r, children: n, ...o }, a) => {
|
|
239
|
+
const { t } = p(), s = g();
|
|
240
|
+
return /* @__PURE__ */ i(
|
|
223
241
|
"p",
|
|
224
242
|
{
|
|
225
|
-
ref:
|
|
243
|
+
ref: a,
|
|
226
244
|
"data-component": "iris-chat-disclaimer",
|
|
227
|
-
className:
|
|
245
|
+
className: d(
|
|
228
246
|
"shrink-0 text-center text-xs font-medium leading-4 text-content-caption",
|
|
229
|
-
|
|
230
|
-
|
|
247
|
+
Z({ isWindowPlacement: s.isWindowPlacement }),
|
|
248
|
+
e
|
|
231
249
|
),
|
|
232
|
-
...
|
|
233
|
-
children:
|
|
234
|
-
|
|
250
|
+
...o,
|
|
251
|
+
children: n ?? /* @__PURE__ */ f(T, { children: [
|
|
252
|
+
t("irisChat.disclaimer"),
|
|
235
253
|
" ",
|
|
236
|
-
r ? /* @__PURE__ */
|
|
237
|
-
/* @__PURE__ */
|
|
254
|
+
r ? /* @__PURE__ */ i("a", { href: r, className: "underline hover:text-brand", children: t("irisChat.learnMore") }) : /* @__PURE__ */ f(L, { children: [
|
|
255
|
+
/* @__PURE__ */ i(D, { asChild: !0, children: /* @__PURE__ */ i(
|
|
238
256
|
"button",
|
|
239
257
|
{
|
|
240
258
|
type: "button",
|
|
241
259
|
className: "underline hover:text-brand",
|
|
242
260
|
"data-testid": "iris-chat-learn-more",
|
|
243
|
-
children:
|
|
261
|
+
children: t("irisChat.learnMore")
|
|
244
262
|
}
|
|
245
263
|
) }),
|
|
246
|
-
/* @__PURE__ */
|
|
247
|
-
|
|
264
|
+
/* @__PURE__ */ f(
|
|
265
|
+
E,
|
|
248
266
|
{
|
|
249
267
|
align: "center",
|
|
250
268
|
side: "top",
|
|
251
269
|
className: "iris-menu-surface w-[320px] rounded-xl p-4",
|
|
252
270
|
children: [
|
|
253
|
-
/* @__PURE__ */
|
|
254
|
-
/* @__PURE__ */
|
|
255
|
-
/* @__PURE__ */
|
|
271
|
+
/* @__PURE__ */ i(M, { className: "mb-2", children: /* @__PURE__ */ f("div", { className: "flex items-center gap-2", children: [
|
|
272
|
+
/* @__PURE__ */ i(N, { size: 18 }),
|
|
273
|
+
/* @__PURE__ */ i(F, { className: "text-sm font-semibold", children: t("irisChat.disclaimerTitle") })
|
|
256
274
|
] }) }),
|
|
257
|
-
/* @__PURE__ */
|
|
275
|
+
/* @__PURE__ */ i(O, { className: "text-sm leading-5 text-content-secondary", children: t("irisChat.disclaimerBody") })
|
|
258
276
|
]
|
|
259
277
|
}
|
|
260
278
|
)
|
|
@@ -263,49 +281,49 @@ const Ce = l(
|
|
|
263
281
|
}
|
|
264
282
|
);
|
|
265
283
|
}
|
|
266
|
-
),
|
|
284
|
+
), We = l(
|
|
267
285
|
"IrisChatTrigger",
|
|
268
|
-
({ asChild:
|
|
269
|
-
const
|
|
270
|
-
|
|
286
|
+
({ asChild: e = !1, onClick: r, size: n = "md", shape: o = "default", className: a, ...t }, s) => {
|
|
287
|
+
const m = j(), u = (c) => {
|
|
288
|
+
m?.setOpen(!0), r?.(c);
|
|
271
289
|
};
|
|
272
|
-
return
|
|
273
|
-
|
|
290
|
+
return e ? /* @__PURE__ */ i(
|
|
291
|
+
k,
|
|
274
292
|
{
|
|
275
293
|
ref: s,
|
|
276
294
|
"data-component": "iris-chat-trigger",
|
|
277
|
-
className:
|
|
278
|
-
onClick:
|
|
279
|
-
...
|
|
295
|
+
className: d("pointer-events-auto", a),
|
|
296
|
+
onClick: u,
|
|
297
|
+
...t
|
|
280
298
|
}
|
|
281
|
-
) : /* @__PURE__ */
|
|
282
|
-
|
|
299
|
+
) : /* @__PURE__ */ i(
|
|
300
|
+
q,
|
|
283
301
|
{
|
|
284
302
|
ref: s,
|
|
285
|
-
size:
|
|
286
|
-
shape:
|
|
303
|
+
size: n,
|
|
304
|
+
shape: o,
|
|
287
305
|
"data-component": "iris-chat-trigger",
|
|
288
|
-
className:
|
|
289
|
-
onClick:
|
|
290
|
-
...
|
|
306
|
+
className: d("pointer-events-auto", a),
|
|
307
|
+
onClick: u,
|
|
308
|
+
...t
|
|
291
309
|
}
|
|
292
310
|
);
|
|
293
311
|
}
|
|
294
312
|
);
|
|
295
313
|
export {
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
314
|
+
ke as IrisChatBody,
|
|
315
|
+
ze as IrisChatDisclaimer,
|
|
316
|
+
Re as IrisChatFooter,
|
|
317
|
+
ve as IrisChatHeader,
|
|
318
|
+
Ne as IrisChatHeaderBackButton,
|
|
319
|
+
Te as IrisChatHeaderCloseButton,
|
|
320
|
+
He as IrisChatHeaderLeading,
|
|
321
|
+
Be as IrisChatHeaderMenuButton,
|
|
322
|
+
ye as IrisChatHeaderMinimizeButton,
|
|
323
|
+
Pe as IrisChatHeaderNewChatButton,
|
|
324
|
+
xe as IrisChatHeaderTitle,
|
|
325
|
+
be as IrisChatHeaderTrailing,
|
|
326
|
+
H as IrisChatIconButton,
|
|
327
|
+
we as IrisChatPanel,
|
|
328
|
+
We as IrisChatTrigger
|
|
311
329
|
};
|
|
@@ -475,6 +475,11 @@ export interface GlobeMapMessages {
|
|
|
475
475
|
trendingNow: string;
|
|
476
476
|
slideLabel: string;
|
|
477
477
|
}
|
|
478
|
+
export interface HeatmapGridMessages {
|
|
479
|
+
gridLabel: string;
|
|
480
|
+
rowHeaderLabel: string;
|
|
481
|
+
loadingMore: string;
|
|
482
|
+
}
|
|
478
483
|
export interface StereoScatterMessages {
|
|
479
484
|
chartLabel: string;
|
|
480
485
|
legend: string;
|
|
@@ -525,6 +530,7 @@ export interface ImpactNovaMessages {
|
|
|
525
530
|
hexTilemap: HexTilemapMessages;
|
|
526
531
|
globeMap: GlobeMapMessages;
|
|
527
532
|
stereoScatter: StereoScatterMessages;
|
|
533
|
+
heatmapGrid: HeatmapGridMessages;
|
|
528
534
|
}
|
|
529
535
|
/** Default English messages used when no provider or partial override */
|
|
530
536
|
export declare const defaultMessages: ImpactNovaMessages;
|
|
@@ -283,6 +283,10 @@ const e = {
|
|
|
283
283
|
trendingNow: "Trending now",
|
|
284
284
|
slideLabel: "Slide {{number}}"
|
|
285
285
|
}, y = {
|
|
286
|
+
gridLabel: "Heatmap",
|
|
287
|
+
rowHeaderLabel: "Row",
|
|
288
|
+
loadingMore: "Loading more rows"
|
|
289
|
+
}, C = {
|
|
286
290
|
chartLabel: "Cluster scatter",
|
|
287
291
|
legend: "Cluster legend",
|
|
288
292
|
hideCluster: "Hide {{label}}",
|
|
@@ -305,10 +309,10 @@ const e = {
|
|
|
305
309
|
interactionHint: "Drag to rotate · click a cluster to focus",
|
|
306
310
|
clearFocus: "Clear focus",
|
|
307
311
|
webglUnavailable: "3D view is unavailable in this browser."
|
|
308
|
-
},
|
|
312
|
+
}, A = {
|
|
309
313
|
endTour: "End tour",
|
|
310
314
|
actionRequiredBadge: "Action required"
|
|
311
|
-
},
|
|
315
|
+
}, T = {
|
|
312
316
|
askIris: "Ask Iris",
|
|
313
317
|
askAnything: "Ask Iris Anything",
|
|
314
318
|
greetingHello: "Good morning",
|
|
@@ -402,7 +406,7 @@ const e = {
|
|
|
402
406
|
generationErrorBody: "The model or a tool failed. Try again.",
|
|
403
407
|
cancelled: "Response stopped",
|
|
404
408
|
copyCode: "Copy code"
|
|
405
|
-
},
|
|
409
|
+
}, k = {
|
|
406
410
|
title: "Advanced Filter",
|
|
407
411
|
currentColumn: "Current Column",
|
|
408
412
|
allFilters: "Active Filters",
|
|
@@ -416,7 +420,7 @@ const e = {
|
|
|
416
420
|
addRule: "+ Add Rule",
|
|
417
421
|
deleteColumn: "Delete",
|
|
418
422
|
noValueNeeded: "No value needed"
|
|
419
|
-
},
|
|
423
|
+
}, F = {
|
|
420
424
|
activeFilter: "Active filter",
|
|
421
425
|
search: "Search",
|
|
422
426
|
selection: "Selection",
|
|
@@ -451,7 +455,7 @@ const e = {
|
|
|
451
455
|
columnOptions: "Column Options",
|
|
452
456
|
chooseColumns: "Choose Columns",
|
|
453
457
|
resetColumns: "Reset Columns"
|
|
454
|
-
},
|
|
458
|
+
}, D = {
|
|
455
459
|
calendar: e,
|
|
456
460
|
datePicker: t,
|
|
457
461
|
filter: a,
|
|
@@ -465,19 +469,20 @@ const e = {
|
|
|
465
469
|
fileUpload: u,
|
|
466
470
|
filterStrip: p,
|
|
467
471
|
filterPanel: h,
|
|
468
|
-
advancedFilter:
|
|
469
|
-
gridHeader:
|
|
472
|
+
advancedFilter: k,
|
|
473
|
+
gridHeader: F,
|
|
470
474
|
notificationPanel: m,
|
|
471
475
|
helpCenter: g,
|
|
472
476
|
horizontalScroller: f,
|
|
473
477
|
sidebar: S,
|
|
474
478
|
stepper: v,
|
|
475
|
-
guidance:
|
|
476
|
-
irisChat:
|
|
479
|
+
guidance: A,
|
|
480
|
+
irisChat: T,
|
|
477
481
|
hexTilemap: w,
|
|
478
482
|
globeMap: b,
|
|
479
|
-
stereoScatter:
|
|
483
|
+
stereoScatter: C,
|
|
484
|
+
heatmapGrid: y
|
|
480
485
|
};
|
|
481
486
|
export {
|
|
482
|
-
|
|
487
|
+
D as defaultMessages
|
|
483
488
|
};
|
package/dist/i18n/locales/de.js
CHANGED
|
@@ -476,6 +476,11 @@ const e = {
|
|
|
476
476
|
interactionHint: "Ziehen zum Drehen · Cluster anklicken zum Fokussieren",
|
|
477
477
|
clearFocus: "Fokus aufheben",
|
|
478
478
|
webglUnavailable: "3D-Ansicht ist in diesem Browser nicht verfügbar."
|
|
479
|
+
},
|
|
480
|
+
heatmapGrid: {
|
|
481
|
+
gridLabel: "Heatmap",
|
|
482
|
+
rowHeaderLabel: "Zeile",
|
|
483
|
+
loadingMore: "Weitere Zeilen werden geladen"
|
|
479
484
|
}
|
|
480
485
|
};
|
|
481
486
|
export {
|
package/dist/i18n/locales/es.js
CHANGED
|
@@ -476,6 +476,11 @@ const e = {
|
|
|
476
476
|
interactionHint: "Arrastra para rotar · haz clic en un clúster para enfocarlo",
|
|
477
477
|
clearFocus: "Quitar enfoque",
|
|
478
478
|
webglUnavailable: "La vista 3D no está disponible en este navegador."
|
|
479
|
+
},
|
|
480
|
+
heatmapGrid: {
|
|
481
|
+
gridLabel: "Mapa de calor",
|
|
482
|
+
rowHeaderLabel: "Fila",
|
|
483
|
+
loadingMore: "Cargando más filas"
|
|
479
484
|
}
|
|
480
485
|
};
|
|
481
486
|
export {
|
package/dist/i18n/locales/hi.js
CHANGED
|
@@ -476,6 +476,11 @@ const e = {
|
|
|
476
476
|
interactionHint: "घुमाने के लिए खींचें · फ़ोकस के लिए क्लस्टर पर क्लिक करें",
|
|
477
477
|
clearFocus: "फ़ोकस हटाएँ",
|
|
478
478
|
webglUnavailable: "इस ब्राउज़र में 3D व्यू उपलब्ध नहीं है।"
|
|
479
|
+
},
|
|
480
|
+
heatmapGrid: {
|
|
481
|
+
gridLabel: "हीटमैप",
|
|
482
|
+
rowHeaderLabel: "पंक्ति",
|
|
483
|
+
loadingMore: "और पंक्तियाँ लोड हो रही हैं"
|
|
479
484
|
}
|
|
480
485
|
};
|
|
481
486
|
export {
|