@epam/ai-dial-attachment-canvas 1.3.0-dev.253 → 1.3.0-dev.259
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/{LazyContentBoundary-uhIGBROU.js → LazyContentBoundary-rT6s5wBc.js} +13 -12
- package/LazyContentBoundary.css +1 -0
- package/{PdfContent-CNj7_lpl.js → PdfContent-CyCIPzRp.js} +104 -103
- package/components/AttachmentCanvas/AttachmentCanvas.d.ts.map +1 -1
- package/components/AttachmentCanvasBody/AttachmentCanvasBody.d.ts.map +1 -1
- package/components/CodeContent/CodeContent.d.ts +4 -0
- package/components/CodeContent/CodeContent.d.ts.map +1 -1
- package/components/HtmlContent/HtmlContent.d.ts +2 -0
- package/components/HtmlContent/HtmlContent.d.ts.map +1 -1
- package/components/LazyContentBoundary/LazyContentBoundary.d.ts +3 -0
- package/components/LazyContentBoundary/LazyContentBoundary.d.ts.map +1 -1
- package/components/PdfContent/PdfContent.d.ts +2 -0
- package/components/PdfContent/PdfContent.d.ts.map +1 -1
- package/index.css +2 -2
- package/index.js +392 -377
- package/models/attachment-canvas.d.ts +18 -2
- package/models/attachment-canvas.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -117,7 +117,7 @@ var m = {
|
|
|
117
117
|
o(e.url, l);
|
|
118
118
|
return;
|
|
119
119
|
}
|
|
120
|
-
}, y = ({ loadingLabel: e, pendingContent: t }) => /* @__PURE__ */ p("div", {
|
|
120
|
+
}, y = { errorLabel: "_errorLabel_3lihu_2" }, b = ({ loadingLabel: e, pendingContent: t }) => /* @__PURE__ */ p("div", {
|
|
121
121
|
role: "status",
|
|
122
122
|
"aria-live": "polite",
|
|
123
123
|
className: "flex h-full items-center justify-center",
|
|
@@ -128,13 +128,13 @@ var m = {
|
|
|
128
128
|
className: "sr-only",
|
|
129
129
|
children: e
|
|
130
130
|
})]
|
|
131
|
-
}),
|
|
131
|
+
}), x = ({ errorLabel: e, retryLabel: t, onRetry: n, errorContent: r, errorLabelClassName: i = "dial-body-text" }) => /* @__PURE__ */ p("div", {
|
|
132
132
|
className: "flex h-full flex-col items-center justify-center gap-3 p-4",
|
|
133
133
|
children: [r, /* @__PURE__ */ p("div", {
|
|
134
134
|
className: "flex flex-col items-center gap-3 text-center",
|
|
135
135
|
children: [/* @__PURE__ */ f("p", {
|
|
136
136
|
role: "status",
|
|
137
|
-
className: a(
|
|
137
|
+
className: a(i, y.errorLabel),
|
|
138
138
|
children: e
|
|
139
139
|
}), /* @__PURE__ */ f(c, {
|
|
140
140
|
label: t,
|
|
@@ -142,7 +142,7 @@ var m = {
|
|
|
142
142
|
onClick: n
|
|
143
143
|
})]
|
|
144
144
|
})]
|
|
145
|
-
}),
|
|
145
|
+
}), S = class extends u {
|
|
146
146
|
state = { hasError: !1 };
|
|
147
147
|
static getDerivedStateFromError() {
|
|
148
148
|
return { hasError: !0 };
|
|
@@ -151,15 +151,16 @@ var m = {
|
|
|
151
151
|
e.retryKey !== this.props.retryKey && this.state.hasError && this.setState({ hasError: !1 });
|
|
152
152
|
}
|
|
153
153
|
render() {
|
|
154
|
-
let { children: e, onRetry: t, pendingContent: n, errorContent: r, labels: { loadingLabel:
|
|
155
|
-
return this.state.hasError ? /* @__PURE__ */ f(
|
|
156
|
-
errorLabel:
|
|
157
|
-
retryLabel:
|
|
154
|
+
let { children: e, onRetry: t, pendingContent: n, errorContent: r, errorLabelClassName: i, labels: { loadingLabel: a = "Loading…", errorLabel: o = "Failed to load content", retryLabel: s = "Retry" } = {} } = this.props;
|
|
155
|
+
return this.state.hasError ? /* @__PURE__ */ f(x, {
|
|
156
|
+
errorLabel: o,
|
|
157
|
+
retryLabel: s,
|
|
158
158
|
onRetry: t,
|
|
159
|
-
errorContent: r
|
|
159
|
+
errorContent: r,
|
|
160
|
+
errorLabelClassName: i
|
|
160
161
|
}) : /* @__PURE__ */ f(d, {
|
|
161
|
-
fallback: /* @__PURE__ */ f(
|
|
162
|
-
loadingLabel:
|
|
162
|
+
fallback: /* @__PURE__ */ f(b, {
|
|
163
|
+
loadingLabel: a,
|
|
163
164
|
pendingContent: n
|
|
164
165
|
}),
|
|
165
166
|
children: e
|
|
@@ -167,4 +168,4 @@ var m = {
|
|
|
167
168
|
}
|
|
168
169
|
};
|
|
169
170
|
//#endregion
|
|
170
|
-
export { g as a, v as i,
|
|
171
|
+
export { g as a, v as i, x as n, h as o, b as r, S as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._errorLabel_3lihu_2{color:var(--ac-status-text,var(--text-secondary,#57647a))}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./PdfContent.css";
|
|
2
|
-
import { a as e, n as t, r as n } from "./LazyContentBoundary-
|
|
2
|
+
import { a as e, n as t, r as n } from "./LazyContentBoundary-rT6s5wBc.js";
|
|
3
3
|
import { mergeClasses as r } from "@epam/ai-dial-chat-shared";
|
|
4
4
|
import { DIAL_ICON_SIZE as i, DIAL_KIT_ICON_STROKE as a, Dropdown as o, ElementSize as s, FabButton as c, Input as ee } from "@epam/ai-dial-ui-kit";
|
|
5
5
|
import { IconMenu2 as te, IconX as ne } from "@tabler/icons-react";
|
|
@@ -14,55 +14,55 @@ var oe = { viewer: "_viewer_1gfxm_1" }, h = null, se = (e) => (h ||= new Promise
|
|
|
14
14
|
}
|
|
15
15
|
}).catch((e) => {
|
|
16
16
|
throw h = null, e;
|
|
17
|
-
}), h),
|
|
18
|
-
let [
|
|
17
|
+
}), h), g = 15, _ = 3, ce = 172, le = 400, v = 150, ue = 60, y = ({ url: h, highlights: y, selectedHighlightId: b, selectedPageNumber: x, loadPdf: S, configurePdfWorker: C, hideHeader: de = !1, onLoadError: w, errorLabelClassName: fe, labels: { thumbnailsLabel: pe = "Thumbnails", showThumbnailsLabel: me = "Show thumbnails", hideThumbnailsLabel: he = "Hide thumbnails", pageNumberLabel: ge = "Page number", loadingLabel: _e = "Loading…", errorLabel: ve = "Failed to load content", retryLabel: T = "Retry" } = {} }) => {
|
|
18
|
+
let [E, D] = f(() => C ? "preparing" : "ready"), [ye, be] = f(0), xe = l(async (t) => {
|
|
19
19
|
try {
|
|
20
|
-
return await (
|
|
20
|
+
return await (S ?? e)(t);
|
|
21
21
|
} catch (e) {
|
|
22
|
-
throw
|
|
22
|
+
throw w?.(t), e;
|
|
23
23
|
}
|
|
24
|
-
}, [
|
|
24
|
+
}, [S, w]);
|
|
25
25
|
u(() => {
|
|
26
|
-
if (!
|
|
27
|
-
|
|
26
|
+
if (!C) return;
|
|
27
|
+
D("preparing");
|
|
28
28
|
let e = !1;
|
|
29
|
-
return se(
|
|
30
|
-
e ||
|
|
29
|
+
return se(C).then(() => {
|
|
30
|
+
e || D("ready");
|
|
31
31
|
}).catch(() => {
|
|
32
|
-
e ||
|
|
32
|
+
e || D("error");
|
|
33
33
|
}), () => {
|
|
34
34
|
e = !0;
|
|
35
35
|
};
|
|
36
|
-
}, [
|
|
36
|
+
}, [C, ye]);
|
|
37
37
|
let Se = l(() => {
|
|
38
38
|
be((e) => e + 1);
|
|
39
|
-
}, []),
|
|
39
|
+
}, []), O = re(), [k, A] = f(0), [j, Ce] = f(/* @__PURE__ */ new Map()), [M, we] = f(!1), [N, P] = f(() => x ?? (b ? y.find((e) => e.id === b)?.bboxes[0]?.page ?? 1 : 1)), F = d(null), I = d(null), [Te, L] = f([]), [R, Ee] = f(ce), [z, De] = f(le), [Oe, B] = f(0), V = d(!1), H = d(0), U = d(null);
|
|
40
40
|
u(() => {
|
|
41
|
-
if (
|
|
42
|
-
|
|
41
|
+
if (x != null) {
|
|
42
|
+
P(x);
|
|
43
43
|
return;
|
|
44
44
|
}
|
|
45
|
-
if (!
|
|
46
|
-
let e =
|
|
47
|
-
e != null &&
|
|
45
|
+
if (!b) return;
|
|
46
|
+
let e = y.find((e) => e.id === b)?.bboxes[0]?.page;
|
|
47
|
+
e != null && P(e);
|
|
48
48
|
}, [
|
|
49
|
+
x,
|
|
49
50
|
b,
|
|
50
|
-
y
|
|
51
|
-
v
|
|
51
|
+
y
|
|
52
52
|
]), u(() => {
|
|
53
|
-
let e =
|
|
54
|
-
if (!
|
|
53
|
+
let e = I.current;
|
|
54
|
+
if (!M || !e) return;
|
|
55
55
|
let t = new ResizeObserver((e) => {
|
|
56
56
|
let t = e[0]?.contentRect.height;
|
|
57
|
-
t &&
|
|
57
|
+
t && De(t);
|
|
58
58
|
});
|
|
59
59
|
return t.observe(e), () => t.disconnect();
|
|
60
|
-
}, [
|
|
61
|
-
let
|
|
60
|
+
}, [M]);
|
|
61
|
+
let ke = l((e) => {
|
|
62
62
|
if (!e || V.current) return;
|
|
63
63
|
let t = e.getBoundingClientRect().height;
|
|
64
|
-
t > 0 && (V.current = !0,
|
|
65
|
-
}, []),
|
|
64
|
+
t > 0 && (V.current = !0, Ee(t));
|
|
65
|
+
}, []), Ae = l((e) => {
|
|
66
66
|
H.current = e.currentTarget.scrollTop, U.current ??= requestAnimationFrame(() => {
|
|
67
67
|
U.current = null, B(H.current);
|
|
68
68
|
});
|
|
@@ -71,61 +71,61 @@ var oe = { viewer: "_viewer_1gfxm_1" }, h = null, se = (e) => (h ||= new Promise
|
|
|
71
71
|
U.current != null && cancelAnimationFrame(U.current);
|
|
72
72
|
}, []);
|
|
73
73
|
let W = l((e) => {
|
|
74
|
-
if (
|
|
75
|
-
let t = Math.max(0, (
|
|
74
|
+
if (k === 0) return;
|
|
75
|
+
let t = Math.max(0, (N - 1) * R - e.clientHeight / 2 + R / 2);
|
|
76
76
|
H.current = t, B(t), e.scrollTop = t;
|
|
77
77
|
}, [
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
]),
|
|
82
|
-
|
|
78
|
+
N,
|
|
79
|
+
k,
|
|
80
|
+
R
|
|
81
|
+
]), je = l((e) => {
|
|
82
|
+
I.current = e, e && W(e);
|
|
83
83
|
}, [W]);
|
|
84
84
|
u(() => {
|
|
85
|
-
let e =
|
|
85
|
+
let e = I.current;
|
|
86
86
|
e && W(e);
|
|
87
87
|
}, [W]);
|
|
88
|
-
let G = Math.max(0, Math.floor(
|
|
88
|
+
let G = Math.max(0, Math.floor(Oe / R) - _), Me = Math.ceil(z / R) + 6, K = Math.min(k - 1, G + Me);
|
|
89
89
|
u(() => {
|
|
90
|
-
if (
|
|
91
|
-
let e = Math.min(
|
|
92
|
-
|
|
93
|
-
}, [
|
|
94
|
-
if (!
|
|
90
|
+
if (k === 0) return;
|
|
91
|
+
let e = Math.min(k, g);
|
|
92
|
+
L(Array.from({ length: e }, (e, t) => t + 1));
|
|
93
|
+
}, [k]), u(() => {
|
|
94
|
+
if (!M || k === 0) return;
|
|
95
95
|
let e = setTimeout(() => {
|
|
96
|
-
|
|
96
|
+
L((e) => {
|
|
97
97
|
let t = new Set(e), n = !1;
|
|
98
98
|
for (let e = G + 1; e <= K + 1; e++) t.has(e) || (t.add(e), n = !0);
|
|
99
99
|
return n ? Array.from(t).sort((e, t) => e - t) : e;
|
|
100
100
|
});
|
|
101
|
-
},
|
|
101
|
+
}, v);
|
|
102
102
|
return () => clearTimeout(e);
|
|
103
103
|
}, [
|
|
104
|
-
|
|
104
|
+
M,
|
|
105
105
|
G,
|
|
106
106
|
K,
|
|
107
|
-
|
|
107
|
+
k
|
|
108
108
|
]), u(() => {
|
|
109
|
-
if (
|
|
109
|
+
if (k === 0) return;
|
|
110
110
|
let e = setTimeout(() => {
|
|
111
|
-
let e = Math.ceil(z /
|
|
112
|
-
|
|
111
|
+
let e = Math.ceil(z / R / 2) + _, t = Math.max(0, N - 1 - e), n = Math.min(k - 1, N - 1 + e);
|
|
112
|
+
L((e) => {
|
|
113
113
|
let r = new Set(e), i = !1;
|
|
114
114
|
for (let e = t + 1; e <= n + 1; e++) r.has(e) || (r.add(e), i = !0);
|
|
115
115
|
return i ? Array.from(r).sort((e, t) => e - t) : e;
|
|
116
116
|
});
|
|
117
|
-
},
|
|
117
|
+
}, v);
|
|
118
118
|
return () => clearTimeout(e);
|
|
119
119
|
}, [
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
N,
|
|
121
|
+
k,
|
|
122
122
|
z,
|
|
123
|
-
|
|
123
|
+
R
|
|
124
124
|
]);
|
|
125
|
-
let
|
|
126
|
-
|
|
127
|
-
}, []), [q,
|
|
128
|
-
|
|
125
|
+
let Ne = l((e) => {
|
|
126
|
+
Ce((t) => new Map([...t, ...e]));
|
|
127
|
+
}, []), [q, Pe] = f(!1), Fe = l((e) => {
|
|
128
|
+
F.current = e, Pe(!0);
|
|
129
129
|
}, []), J = d(null);
|
|
130
130
|
u(() => {
|
|
131
131
|
if (!q) return;
|
|
@@ -138,65 +138,66 @@ var oe = { viewer: "_viewer_1gfxm_1" }, h = null, se = (e) => (h ||= new Promise
|
|
|
138
138
|
r();
|
|
139
139
|
let i = new ResizeObserver(r);
|
|
140
140
|
i.observe(t), i.observe(n);
|
|
141
|
-
let a =
|
|
142
|
-
let e =
|
|
143
|
-
e !== a && (a = e, o =
|
|
141
|
+
let a = F.current?.getZoom(), o = 0, s, c = () => {
|
|
142
|
+
let e = F.current?.getZoom();
|
|
143
|
+
e !== a && (a = e, o = ue), o > 0 && (r(), --o), s = requestAnimationFrame(c);
|
|
144
144
|
};
|
|
145
145
|
return s = requestAnimationFrame(c), () => {
|
|
146
146
|
cancelAnimationFrame(s), i.disconnect();
|
|
147
147
|
};
|
|
148
148
|
}, [q]), u(() => {
|
|
149
|
-
if (!q ||
|
|
149
|
+
if (!q || b || x != null) return;
|
|
150
150
|
let e = requestAnimationFrame(() => {
|
|
151
|
-
|
|
151
|
+
F.current?.navigateToPage(1);
|
|
152
152
|
});
|
|
153
153
|
return () => cancelAnimationFrame(e);
|
|
154
154
|
}, [
|
|
155
155
|
q,
|
|
156
|
-
|
|
157
|
-
|
|
156
|
+
b,
|
|
157
|
+
x
|
|
158
158
|
]);
|
|
159
159
|
let Y = l((e) => {
|
|
160
|
-
|
|
161
|
-
}, []),
|
|
162
|
-
|
|
163
|
-
}, []), [X, Z] = f(() => String(
|
|
160
|
+
P(e), F.current?.navigateToPage(e);
|
|
161
|
+
}, []), Ie = l((e) => {
|
|
162
|
+
P(e);
|
|
163
|
+
}, []), [X, Z] = f(() => String(N));
|
|
164
164
|
u(() => {
|
|
165
|
-
Z(String(
|
|
166
|
-
}, [
|
|
165
|
+
Z(String(N));
|
|
166
|
+
}, [N]);
|
|
167
167
|
let Q = l((e) => {
|
|
168
168
|
let t = Number(e);
|
|
169
|
-
Number.isInteger(t) && t >= 1 && t <=
|
|
169
|
+
Number.isInteger(t) && t >= 1 && t <= k ? Y(t) : Z(String(N));
|
|
170
170
|
}, [
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
k,
|
|
172
|
+
N,
|
|
173
173
|
Y
|
|
174
174
|
]);
|
|
175
175
|
if (!h) return null;
|
|
176
|
-
if (
|
|
177
|
-
if (
|
|
176
|
+
if (E === "preparing") return /* @__PURE__ */ p(n, { loadingLabel: _e });
|
|
177
|
+
if (E === "error") return /* @__PURE__ */ p(t, {
|
|
178
178
|
errorLabel: ve,
|
|
179
|
-
retryLabel:
|
|
180
|
-
onRetry: Se
|
|
179
|
+
retryLabel: T,
|
|
180
|
+
onRetry: Se,
|
|
181
|
+
errorLabelClassName: fe
|
|
181
182
|
});
|
|
182
183
|
let $ = [];
|
|
183
|
-
for (let e = G + 1; e <= K + 1 && e <=
|
|
184
|
-
ref: e === G + 1 ?
|
|
184
|
+
for (let e = G + 1; e <= K + 1 && e <= k; e++) $.push(/* @__PURE__ */ p("div", {
|
|
185
|
+
ref: e === G + 1 ? ke : void 0,
|
|
185
186
|
children: /* @__PURE__ */ p(ae, {
|
|
186
187
|
pageNum: e,
|
|
187
188
|
onSelectPage: Y,
|
|
188
|
-
isSelected:
|
|
189
|
-
isLoading: !
|
|
190
|
-
thumbnailUrl:
|
|
189
|
+
isSelected: N === e,
|
|
190
|
+
isLoading: !j.has(e),
|
|
191
|
+
thumbnailUrl: j.get(e) ?? null
|
|
191
192
|
})
|
|
192
193
|
}, e));
|
|
193
|
-
let
|
|
194
|
+
let Le = G * R, Re = Math.max(0, k - K - 1) * R;
|
|
194
195
|
return /* @__PURE__ */ m("div", {
|
|
195
196
|
className: "relative flex h-full overflow-hidden",
|
|
196
|
-
children: [
|
|
197
|
+
children: [k > 0 && /* @__PURE__ */ p("div", {
|
|
197
198
|
className: "absolute inset-s-3 top-3 z-10",
|
|
198
199
|
children: /* @__PURE__ */ p(o, {
|
|
199
|
-
open:
|
|
200
|
+
open: M,
|
|
200
201
|
onOpenChange: we,
|
|
201
202
|
allowedPlacements: ["bottom-start"],
|
|
202
203
|
matchReferenceWidth: !1,
|
|
@@ -209,7 +210,7 @@ var oe = { viewer: "_viewer_1gfxm_1" }, h = null, se = (e) => (h ||= new Promise
|
|
|
209
210
|
size: s.Small,
|
|
210
211
|
"aria-label": ge,
|
|
211
212
|
value: X,
|
|
212
|
-
postfix: `/ ${
|
|
213
|
+
postfix: `/ ${k}`,
|
|
213
214
|
inputMode: "numeric",
|
|
214
215
|
onChange: (e) => Z(e ?? ""),
|
|
215
216
|
onBlur: () => Q(X),
|
|
@@ -218,28 +219,28 @@ var oe = { viewer: "_viewer_1gfxm_1" }, h = null, se = (e) => (h ||= new Promise
|
|
|
218
219
|
}
|
|
219
220
|
})
|
|
220
221
|
}), /* @__PURE__ */ m("div", {
|
|
221
|
-
ref:
|
|
222
|
-
id:
|
|
222
|
+
ref: je,
|
|
223
|
+
id: O,
|
|
223
224
|
role: "region",
|
|
224
225
|
"aria-label": pe,
|
|
225
|
-
onScroll:
|
|
226
|
+
onScroll: Ae,
|
|
226
227
|
className: "max-h-[min(70vh,calc(var(--fui-available-height,70vh)-2.5rem))] min-h-0 scrollbar-gutter-both overflow-x-hidden overflow-y-auto p-1",
|
|
227
228
|
children: [
|
|
228
|
-
/* @__PURE__ */ p("div", { style: { height:
|
|
229
|
+
/* @__PURE__ */ p("div", { style: { height: Le } }),
|
|
229
230
|
$,
|
|
230
|
-
/* @__PURE__ */ p("div", { style: { height:
|
|
231
|
+
/* @__PURE__ */ p("div", { style: { height: Re } })
|
|
231
232
|
]
|
|
232
233
|
})]
|
|
233
234
|
}),
|
|
234
235
|
children: /* @__PURE__ */ p(c, {
|
|
235
|
-
icon: p(
|
|
236
|
+
icon: p(M ? ne : te, {
|
|
236
237
|
size: i.LG,
|
|
237
238
|
stroke: a,
|
|
238
239
|
"aria-hidden": !0
|
|
239
240
|
}),
|
|
240
|
-
"aria-label":
|
|
241
|
-
"aria-expanded":
|
|
242
|
-
"aria-controls":
|
|
241
|
+
"aria-label": M ? he : me,
|
|
242
|
+
"aria-expanded": M,
|
|
243
|
+
"aria-controls": M ? O : void 0
|
|
243
244
|
})
|
|
244
245
|
})
|
|
245
246
|
}), /* @__PURE__ */ p("div", {
|
|
@@ -248,20 +249,20 @@ var oe = { viewer: "_viewer_1gfxm_1" }, h = null, se = (e) => (h ||= new Promise
|
|
|
248
249
|
children: /* @__PURE__ */ p(ie, {
|
|
249
250
|
fileUrl: h,
|
|
250
251
|
loadFileCb: xe,
|
|
251
|
-
highlights:
|
|
252
|
-
selectedHighlightId:
|
|
253
|
-
selectedPageNumber:
|
|
252
|
+
highlights: y,
|
|
253
|
+
selectedHighlightId: b,
|
|
254
|
+
selectedPageNumber: x,
|
|
254
255
|
showOccurrences: !1,
|
|
255
|
-
onTotalPagesChange:
|
|
256
|
+
onTotalPagesChange: A,
|
|
256
257
|
thumbnailPageNumbers: Te,
|
|
257
|
-
onThumbnailsLoaded:
|
|
258
|
-
onViewerReady:
|
|
259
|
-
onCurrentPageChange:
|
|
258
|
+
onThumbnailsLoaded: Ne,
|
|
259
|
+
onViewerReady: Fe,
|
|
260
|
+
onCurrentPageChange: Ie,
|
|
260
261
|
viewerOptions: { enableVirtualScrolling: !0 },
|
|
261
|
-
containerClassName:
|
|
262
|
+
containerClassName: de ? "[&>div:first-child]:hidden" : void 0
|
|
262
263
|
})
|
|
263
264
|
})]
|
|
264
265
|
});
|
|
265
266
|
};
|
|
266
267
|
//#endregion
|
|
267
|
-
export {
|
|
268
|
+
export { y as PdfContent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentCanvas.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentCanvas/AttachmentCanvas.tsx"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentCanvas.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentCanvas/AttachmentCanvas.tsx"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAmb5E,wGAAwG;AACxG,eAAO,MAAM,gBAAgB,6DAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AttachmentCanvasBody.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentCanvasBody/AttachmentCanvasBody.tsx"],"names":[],"mappings":"AAmBA,OAAO,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"AttachmentCanvasBody.d.ts","sourceRoot":"","sources":["../../../src/components/AttachmentCanvasBody/AttachmentCanvasBody.tsx"],"names":[],"mappings":"AAmBA,OAAO,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AA0jBhF,uNAAuN;AACvN,eAAO,MAAM,oBAAoB,iEAAiC,CAAC"}
|
|
@@ -18,6 +18,10 @@ export interface CodeContentProps {
|
|
|
18
18
|
codeBlockTheme?: CodeBlockTheme;
|
|
19
19
|
/** User-visible strings for the syntax-highlighter loading/error states. All fields have English defaults. */
|
|
20
20
|
labels?: CodeContentLabels;
|
|
21
|
+
/** Typography class of the code text. Defaults to `'dial-code-text'`. */
|
|
22
|
+
codeClassName?: string;
|
|
23
|
+
/** Typography class of the highlighter load-error message. Defaults to `'dial-body-text'`. */
|
|
24
|
+
errorLabelClassName?: string;
|
|
21
25
|
}
|
|
22
26
|
/** Renders syntax-highlighted source code or plain text for a `CodeCanvasContent` payload. */
|
|
23
27
|
export declare const CodeContent: FC<CodeContentProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeContent.d.ts","sourceRoot":"","sources":["../../../src/components/CodeContent/CodeContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAIf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAA8C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAyBxE,8FAA8F;AAC9F,MAAM,WAAW,iBAAiB;IAChC,qGAAqG;IACrG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uGAAuG;IACvG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qCAAqC;AACrC,MAAM,WAAW,gBAAgB;IAC/B,uCAAuC;IACvC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,wEAAwE;IACxE,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,8GAA8G;IAC9G,MAAM,CAAC,EAAE,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"CodeContent.d.ts","sourceRoot":"","sources":["../../../src/components/CodeContent/CodeContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAIf,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAA8C,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAC5E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAyBxE,8FAA8F;AAC9F,MAAM,WAAW,iBAAiB;IAChC,qGAAqG;IACrG,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uGAAuG;IACvG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,qCAAqC;AACrC,MAAM,WAAW,gBAAgB;IAC/B,uCAAuC;IACvC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,wEAAwE;IACxE,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,8GAA8G;IAC9G,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,yEAAyE;IACzE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,8FAA8F;IAC9F,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,8FAA8F;AAC9F,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA6E5C,CAAC"}
|
|
@@ -15,6 +15,8 @@ export interface HtmlContentProps {
|
|
|
15
15
|
codeBlockTheme?: CodeBlockTheme;
|
|
16
16
|
/** Typography class applied to the "Open in new tab" link in the blocked-state panel. Defaults to `'dial-body-semi-text'`. */
|
|
17
17
|
openInNewTabButtonTypographyClassName?: string;
|
|
18
|
+
/** Typography class of the source-view code, forwarded to `CodeContent`. When omitted, `CodeContent` falls back to `'dial-code-text'`. */
|
|
19
|
+
codeClassName?: string;
|
|
18
20
|
}
|
|
19
21
|
/** Renders HTML content inside a sandboxed iframe, or as highlighted source when `isSourceView` is true. */
|
|
20
22
|
export declare const HtmlContent: FC<HtmlContentProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HtmlContent.d.ts","sourceRoot":"","sources":["../../../src/components/HtmlContent/HtmlContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAGhE,OAAO,EACL,KAAK,EAAE,EAOR,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,gCAAgC,CAAC;AAKxC,qCAAqC;AACrC,MAAM,WAAW,gBAAgB;IAC/B,kCAAkC;IAClC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,0CAA0C;IAC1C,MAAM,EAAE,IAAI,CACV,sBAAsB,EACtB,uBAAuB,GAAG,uBAAuB,CAClD,CAAC;IACF,wFAAwF;IACxF,YAAY,EAAE,OAAO,CAAC;IACtB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iJAAiJ;IACjJ,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,8HAA8H;IAC9H,qCAAqC,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"HtmlContent.d.ts","sourceRoot":"","sources":["../../../src/components/HtmlContent/HtmlContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAGhE,OAAO,EACL,KAAK,EAAE,EAOR,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,gCAAgC,CAAC;AAKxC,qCAAqC;AACrC,MAAM,WAAW,gBAAgB;IAC/B,kCAAkC;IAClC,OAAO,EAAE,iBAAiB,CAAC;IAC3B,0CAA0C;IAC1C,MAAM,EAAE,IAAI,CACV,sBAAsB,EACtB,uBAAuB,GAAG,uBAAuB,CAClD,CAAC;IACF,wFAAwF;IACxF,YAAY,EAAE,OAAO,CAAC;IACtB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iJAAiJ;IACjJ,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,8HAA8H;IAC9H,qCAAqC,CAAC,EAAE,MAAM,CAAC;IAC/C,0IAA0I;IAC1I,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,4GAA4G;AAC5G,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAgP5C,CAAC"}
|
|
@@ -40,6 +40,8 @@ export interface LazyContentBoundaryProps {
|
|
|
40
40
|
errorContent?: ReactNode;
|
|
41
41
|
/** User-visible strings. All fields have English defaults. */
|
|
42
42
|
labels?: LazyContentBoundaryLabels;
|
|
43
|
+
/** Typography class of the retry message. Defaults to `'dial-body-text'`. */
|
|
44
|
+
errorLabelClassName?: string;
|
|
43
45
|
}
|
|
44
46
|
interface LazyContentPendingProps {
|
|
45
47
|
loadingLabel: string;
|
|
@@ -52,6 +54,7 @@ interface LazyContentErrorProps {
|
|
|
52
54
|
retryLabel: string;
|
|
53
55
|
onRetry: () => void;
|
|
54
56
|
errorContent?: ReactNode;
|
|
57
|
+
errorLabelClassName?: string;
|
|
55
58
|
}
|
|
56
59
|
/** Accessible retry state shared by lazy imports and asynchronous runtime preparation. */
|
|
57
60
|
export declare const LazyContentError: FC<LazyContentErrorProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LazyContentBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/LazyContentBoundary/LazyContentBoundary.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAY,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"LazyContentBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/LazyContentBoundary/LazyContentBoundary.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAY,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrE,8FAA8F;AAC9F,UAAU,yBAAyB;IACjC,+FAA+F;IAC/F,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iGAAiG;IACjG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,6CAA6C;AAC7C,MAAM,WAAW,wBAAwB;IACvC,oDAAoD;IACpD,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;;;OAMG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;;OAIG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B;;;;OAIG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,8DAA8D;IAC9D,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,6EAA6E;IAC7E,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,UAAU,uBAAuB;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED,4FAA4F;AAC5F,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAiB1D,CAAC;AAEF,UAAU,qBAAqB;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,0FAA0F;AAC1F,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAmBtD,CAAC;AAEF,UAAU,wBAAwB;IAChC,8EAA8E;IAC9E,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,SAAS,CAChD,wBAAwB,EACxB,wBAAwB,CACzB;IACU,KAAK,EAAE,wBAAwB,CAAuB;IAE/D,MAAM,CAAC,wBAAwB,IAAI,wBAAwB;IAIlD,kBAAkB,CAAC,SAAS,EAAE,wBAAwB,GAAG,IAAI;IAY7D,MAAM,IAAI,SAAS;CAuC7B"}
|
|
@@ -63,6 +63,8 @@ export interface PdfContentProps {
|
|
|
63
63
|
labels?: PdfContentLabels;
|
|
64
64
|
/** Called with the document URL when fetching the PDF blob rejects. */
|
|
65
65
|
onLoadError?: (url: string) => void;
|
|
66
|
+
/** Typography class of the worker-preparation error message. Defaults to `'dial-body-text'`. */
|
|
67
|
+
errorLabelClassName?: string;
|
|
66
68
|
}
|
|
67
69
|
/** Renders a PDF with highlight annotations, a floating collapsible thumbnails panel, and page navigation. */
|
|
68
70
|
export declare const PdfContent: FC<PdfContentProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfContent.d.ts","sourceRoot":"","sources":["../../../src/components/PdfContent/PdfContent.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EACL,KAAK,EAAE,EAQR,MAAM,OAAO,CAAC;AAgBf,OAAO,kBAAkB,CAAC;AAkF1B,mEAAmE;AACnE,MAAM,WAAW,gBAAgB;IAC/B,iGAAiG;IACjG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gHAAgH;IAChH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,8GAA8G;IAC9G,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,0HAA0H;IAC1H,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,0GAA0G;IAC1G,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4GAA4G;IAC5G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6FAA6F;IAC7F,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,4CAA4C;AAC5C,MAAM,WAAW,eAAe;IAC9B,sCAAsC;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,wDAAwD;IACxD,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,sEAAsE;IACtE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8EAA8E;IAC9E,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;;;;;;OAUG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAChD;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yFAAyF;IACzF,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,uEAAuE;IACvE,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"PdfContent.d.ts","sourceRoot":"","sources":["../../../src/components/PdfContent/PdfContent.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,OAAO,EACL,KAAK,EAAE,EAQR,MAAM,OAAO,CAAC;AAgBf,OAAO,kBAAkB,CAAC;AAkF1B,mEAAmE;AACnE,MAAM,WAAW,gBAAgB;IAC/B,iGAAiG;IACjG,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,gHAAgH;IAChH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,8GAA8G;IAC9G,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,0HAA0H;IAC1H,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,0GAA0G;IAC1G,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4GAA4G;IAC5G,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6FAA6F;IAC7F,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,4CAA4C;AAC5C,MAAM,WAAW,eAAe;IAC9B,sCAAsC;IACtC,GAAG,EAAE,MAAM,CAAC;IACZ,wDAAwD;IACxD,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,sEAAsE;IACtE,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B;;;;;OAKG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,8EAA8E;IAC9E,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACzC,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;;;;;;OAUG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAChD;;;;;;;;;OASG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yFAAyF;IACzF,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,uEAAuE;IACvE,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,gGAAgG;IAChG,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED,8GAA8G;AAC9G,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,eAAe,CA6hB1C,CAAC"}
|
package/index.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
._GzYRV{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;line-height:1.2}._3eOF8{margin-right:5px;font-weight:700}._3eOF8+._3eOF8{margin-left:-5px}._1MFti{cursor:pointer}._f10Tu{-webkit-user-select:none;user-select:none;margin-right:5px;font-size:1.2em}._1UmXx:after{content:"▸"}._1LId0:after{content:"▾"}._1pNG9{margin-right:5px}._1pNG9:after{content:"...";font-size:.8em}._2IvMF{background:#eee}._2bkNM{margin:0;padding:0 10px}._1BXBN{margin:0;padding:0}._1MGIk{color:#000;margin-right:5px;font-weight:600}._3uHL6{color:#000}._2T6PJ,._1Gho6{color:#df113a}._vGjyY{color:#2a3f3c}._1bQdo{color:#0b75f5}._3zQKs{color:#469038}._1xvuR{color:#43413d}._oLqym,._2AXVT,._2KJWg{color:#000}._11RoI{background:#002b36}._17H2C,._3QHg2,._3fDAz{color:#fdf6e3}._2bSDX{color:#fdf6e3;margin-right:5px;font-weight:bolder}._gsbQL{color:#fdf6e3}._LaAZe,._GTKgm{color:#81b5ac}._Chy1W{color:#cb4b16}._2bveF{color:#d33682}._2vRm-{color:#ae81ff}._1prJR{color:#268bd2}.
|
|
1
|
+
._GzYRV{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word;line-height:1.2}._3eOF8{margin-right:5px;font-weight:700}._3eOF8+._3eOF8{margin-left:-5px}._1MFti{cursor:pointer}._f10Tu{-webkit-user-select:none;user-select:none;margin-right:5px;font-size:1.2em}._1UmXx:after{content:"▸"}._1LId0:after{content:"▾"}._1pNG9{margin-right:5px}._1pNG9:after{content:"...";font-size:.8em}._2IvMF{background:#eee}._2bkNM{margin:0;padding:0 10px}._1BXBN{margin:0;padding:0}._1MGIk{color:#000;margin-right:5px;font-weight:600}._3uHL6{color:#000}._2T6PJ,._1Gho6{color:#df113a}._vGjyY{color:#2a3f3c}._1bQdo{color:#0b75f5}._3zQKs{color:#469038}._1xvuR{color:#43413d}._oLqym,._2AXVT,._2KJWg{color:#000}._11RoI{background:#002b36}._17H2C,._3QHg2,._3fDAz{color:#fdf6e3}._2bSDX{color:#fdf6e3;margin-right:5px;font-weight:bolder}._gsbQL{color:#fdf6e3}._LaAZe,._GTKgm{color:#81b5ac}._Chy1W{color:#cb4b16}._2bveF{color:#d33682}._2vRm-{color:#ae81ff}._1prJR{color:#268bd2}._container_k7ib4_1{background:var(--ac-code-bg,var(--bg-layer-raised,#fcfcfc))}._containerLight_k7ib4_5{background:var(--ac-code-bg,var(--bg-layer-base,#f5f7fa))}._openInNewTabButton_c1arc_1{color:var(--ac-open-in-new-tab-text,var(--text-accent,#1d4ed8))}._loadingOverlay_1kink_2{background-color:var(--ac-mcp-app-loading-bg,var(--bg-layer-1,#e0e6f0))}._fullscreenFrame_1kink_21 iframe{width:100%!important;max-width:none!important;height:100%!important;max-height:none!important}._loadingFrame_1kink_29 iframe{height:100%!important}._statusLabel_1kink_33{color:var(--ac-mcp-app-status-text,var(--text-primary,#161b2d))}._statusDetail_1kink_38{color:var(--ac-status-text,var(--text-secondary,#57647a))}._errorIcon_1kink_42{color:var(--ac-error-icon,var(--text-error,#ae2f2f))}._viewer_gdafg_2{background:var(--ac-ooxml-bg,var(--bg-layer-raised,#fcfcfc))}._spreadsheetCanvas_gdafg_6{width:100%;height:100%;display:block}._formulaPanel_gdafg_12{border-color:var(--ac-ooxml-formula-border,var(--stroke-secondary,#d1dbea));background:var(--ac-ooxml-bg,var(--bg-layer-raised,#fcfcfc));color:var(--ac-ooxml-formula-text,var(--text-primary,#161b2d))}._formulaValue_gdafg_18{border-color:var(--ac-ooxml-formula-border,var(--stroke-secondary,#d1dbea));background:var(--ac-ooxml-formula-bg,var(--bg-layer-base,#f5f7fa));color:var(--ac-ooxml-formula-text,var(--text-primary,#161b2d))}._formulaValue_gdafg_18:focus-visible{outline-color:var(--ac-focus-outline,var(--stroke-focus,#161b2d))}._statusOverlay_gdafg_27{background:var(--ac-ooxml-bg,var(--bg-layer-raised,#fcfcfc));color:var(--ac-status-text,var(--text-secondary,#57647a))}._errorIcon_gdafg_32{color:var(--ac-error-icon,var(--text-error,#ae2f2f))}._highlight_gdafg_40{border:1px solid var(--ac-ooxml-highlight-border,var(--stroke-accent,#1d4ed8));background:var(--ac-ooxml-highlight-bg,transparent);opacity:.55;border-radius:2px}._highlight_gdafg_40[data-selected=true]{opacity:1;border-width:2px}._highlight_gdafg_40[data-clipped=true]{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}._loadingOverlay_12637_1{background-color:var(--vs-loading-bg,var(--bg-layer-sunken,#eef1f7))}._statusLabel_12637_5{color:var(--vs-status-text,var(--text-primary,#161b2d))}._errorIcon_12637_9{color:var(--vs-error-icon,var(--text-error,#ae2f2f))}._body_fvnln_4{color:var(--ac-text,var(--text-primary,#161b2d));font-family:var(--ac-font-family);font-size:var(--ac-font-size);font-weight:var(--ac-font-weight);line-height:var(--ac-line-height);letter-spacing:var(--ac-letter-spacing)}._statusLabel_fvnln_13{color:var(--ac-status-text,var(--text-secondary,#57647a))}._errorIcon_fvnln_17{color:var(--ac-error-icon,var(--text-error,#ae2f2f))}._jsonWrapper_fvnln_21{border-color:var(--ac-json-border,var(--stroke-secondary,#d1dbea));background-color:var(--ac-json-bg,var(--bg-layer-base,#f5f7fa))}._jsonLabel_fvnln_26{color:var(--ac-json-label,var(--text-primary,#161b2d))}._jsonClickableLabel_fvnln_30{color:var(--ac-json-clickable-label,var(--text-primary,#161b2d))}._jsonPunctuation_fvnln_34{color:var(--ac-json-punctuation,var(--text-secondary,#57647a))}._jsonStringValue_fvnln_38{color:var(--ac-json-string,var(--text-success,#007274))}._jsonNumberValue_fvnln_42{color:var(--ac-json-number,var(--text-accent,#1d4ed8))}._jsonBooleanValue_fvnln_46{color:var(--ac-json-boolean,var(--text-warning,#7f6300))}._jsonNullValue_fvnln_50{color:var(--ac-json-null,var(--text-secondary,#57647a))}._jsonExpandIcon_fvnln_54{color:var(--ac-json-toggle-icon,var(--text-secondary,#57647a))}._jsonExpandIcon_fvnln_54:hover{color:var(--ac-json-toggle-icon-hover,var(--text-primary,#161b2d))}._jsonExpandIcon_fvnln_54:after{content:"▶";vertical-align:middle;font-size:.6em}._jsonCollapseIcon_fvnln_67{color:var(--ac-json-toggle-icon,var(--text-secondary,#57647a))}._jsonCollapseIcon_fvnln_67:hover{color:var(--ac-json-toggle-icon-hover,var(--text-primary,#161b2d))}._jsonCollapseIcon_fvnln_67:after{content:"▼";vertical-align:middle;font-size:.6em}.pdf-container:has(+.pdf-container){padding:0}._jsonCollapsedContent_fvnln_84{color:var(--ac-json-collapsed-text,var(--text-secondary,#57647a));background-color:var(--ac-json-collapsed-bg,var(--bg-layer-raised,#fcfcfc))}._jsonCollapsedContent_fvnln_84:after{content:"…"}._mcpAppDivider_1gxed_1{border-color:var(--ac-mcp-app-divider,var(--text-secondary,#57647a))}._mcpAppVersion_1gxed_5{color:var(--ac-mcp-app-version,var(--text-secondary,#57647a))}._panelHeader_1gxed_9{border-color:var(--ac-header-border,var(--stroke-tertiary,#e0e6f0))}._frame_1ys0b_1{background-color:var(--igv-bg,var(--bg-layer-2,#f3f4f6));border-color:var(--igv-border,var(--stroke-tertiary,#e0e6f0))}._header_1ys0b_6{border-block-end-color:var(--igv-border,var(--stroke-tertiary,#e0e6f0))}._title_1ys0b_10{color:var(--igv-title-text,var(--text-primary,#161b2d))}
|
|
2
2
|
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
3
|
-
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid}}}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-s-3{inset-inline-start:.75rem}.top-3{top:.75rem}.z-10{z-index:10}.m-0{margin:0}.m-3{margin:.75rem}.mx-1\.5{margin-inline:.375rem}.my-0{margin-block:0}.ms-2{margin-inline-start:.5rem}.me-1{margin-inline-end:.25rem}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.table-row{display:table-row}.h-3{height:.75rem}.h-8{height:2rem}.h-full{height:100%}.max-h-\[70vh\]{max-height:70vh}.max-h-\[min\(70vh\,calc\(var\(--fui-available-height\,70vh\)-2\.5rem\)\)\]{max-height:min(70vh, calc(var(--fui-available-height,70vh) - 2.5rem))}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-10{min-height:2.5rem}.min-h-\[100px\]{min-height:100px}.min-h-\[160px\]{min-height:160px}.w-0{width:0}.w-36{width:9rem}.w-\[88px\]{width:88px}.w-full{width:100%}.max-w-full{max-width:100%}.max-w-sm{max-width:24rem}.min-w-0{min-width:0}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.scale-1{--tw-scale-x:1%;--tw-scale-y:1%;--tw-scale-z:1%;scale:var(--tw-scale-x) var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.resize{resize:both}.scrollbar-gutter-both{scrollbar-gutter:stable both-edges}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:4px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none{--tw-border-style:none;border-style:none}.
|
|
3
|
+
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-outline-style:solid}}}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-s-3{inset-inline-start:.75rem}.top-3{top:.75rem}.z-10{z-index:10}.m-0{margin:0}.m-3{margin:.75rem}.mx-1\.5{margin-inline:.375rem}.my-0{margin-block:0}.ms-2{margin-inline-start:.5rem}.me-1{margin-inline-end:.25rem}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.table-row{display:table-row}.h-3{height:.75rem}.h-8{height:2rem}.h-full{height:100%}.max-h-\[70vh\]{max-height:70vh}.max-h-\[min\(70vh\,calc\(var\(--fui-available-height\,70vh\)-2\.5rem\)\)\]{max-height:min(70vh, calc(var(--fui-available-height,70vh) - 2.5rem))}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-10{min-height:2.5rem}.min-h-\[100px\]{min-height:100px}.min-h-\[160px\]{min-height:160px}.w-0{width:0}.w-36{width:9rem}.w-\[88px\]{width:88px}.w-full{width:100%}.max-w-full{max-width:100%}.max-w-sm{max-width:24rem}.min-w-0{min-width:0}.flex-1{flex:1}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.scale-1{--tw-scale-x:1%;--tw-scale-y:1%;--tw-scale-z:1%;scale:var(--tw-scale-x) var(--tw-scale-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.resize{resize:both}.scrollbar-gutter-both{scrollbar-gutter:stable both-edges}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:4px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-none{--tw-border-style:none;border-style:none}.object-contain{object-fit:contain}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-1{padding-inline:.25rem}.px-2{padding-inline:.5rem}.px-3{padding-inline:.75rem}.px-4{padding-inline:1rem}.py-1{padding-block:.25rem}.py-2{padding-block:.5rem}.ps-3{padding-inline-start:.75rem}.text-center{text-align:center}.align-middle{vertical-align:middle}.wrap-break-word{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.italic{font-style:italic}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,cubic-bezier(.4, 0, .2, 1));transition-duration:var(--tw-duration,.15s)}.select-none{-webkit-user-select:none;user-select:none}@media (hover:hover){.hover\:underline:hover{text-decoration-line:underline}}.focus-visible\:outline:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}@media (max-width:1279px){.mobile\:w-full{width:100%}.mobile\:max-w-full{max-width:100%}}.\[\&\>div\:first-child\]\:hidden>div:first-child{display:none}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
|