@gpustack/core-ui 1.0.33 → 1.0.35

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.
Files changed (33) hide show
  1. package/dist/charts.d.ts +7 -0
  2. package/dist/charts.es.js +859 -0
  3. package/dist/{useIntl-ClqxSZNY.js → classnames-fDEzIsab.js} +4 -35
  4. package/dist/{editor-wrap-BYfIcvle.js → editor-wrap-CwTlkQeF.js} +1 -1
  5. package/dist/{excel-reader-Bgm6Gd2H.js → excel-reader-fp4wfcR5.js} +2 -2
  6. package/dist/excel.es.js +1 -1
  7. package/dist/file-readers.es.js +3 -3
  8. package/dist/{highlight-code-DrKwSNa-.js → highlight-code-D8pDWkNV.js} +79 -75
  9. package/dist/index.css +1 -1
  10. package/dist/index.es.js +10415 -19095
  11. package/dist/lib/components/form/wrapper/index.d.ts +5 -5
  12. package/dist/lib/components/index.d.ts +0 -9
  13. package/dist/lib/components/table/components/layout.d.ts +5 -5
  14. package/dist/lib-pzRljAkJ.js +2 -0
  15. package/dist/{mammoth-3bu5V8Au.js → mammoth-CCaoEfUd.js} +1 -1
  16. package/dist/markdown.es.js +8 -8
  17. package/dist/query-string-D_RrDOJF.js +325 -0
  18. package/dist/resize-panel-D5BF2EHO.js +529 -0
  19. package/dist/terminal.d.ts +5 -0
  20. package/dist/terminal.es.js +7333 -0
  21. package/dist/useCoreUIContext-_TAsecw_.js +29 -0
  22. package/dist/useIntl-CBh5liUu.js +12 -0
  23. package/dist/{utils-KsqXE63M.js → utils-CHekcXoK.js} +121 -440
  24. package/dist/utils.es.js +4 -4
  25. package/dist/{word-reader-CSmNlWcx.js → word-reader-Dy0F38kq.js} +4 -4
  26. package/dist/yaml-editor.es.js +19 -19
  27. package/package.json +9 -1
  28. package/dist/lib-EFH8CfCi.js +0 -2
  29. /package/dist/{epubjs-DKV8rhQU.js → epubjs-CCPXKy-j.js} +0 -0
  30. /package/dist/{jszip-1lXK4oQn.js → jszip-D49X9-jp.js} +0 -0
  31. /package/dist/{lodash-i3XVVuwG.js → lodash-CFrt21kh.js} +0 -0
  32. /package/dist/{pdfjs-dist-DwiA-2_8.js → pdfjs-dist-D4wgLSOe.js} +0 -0
  33. /package/dist/{xlsx-DLkyLHwb.js → xlsx-C7SIkCvo.js} +0 -0
@@ -1,31 +1,6 @@
1
1
  import { t as e } from "./rolldown-runtime-BETGA6I9.js";
2
- import "axios";
3
- import { createContext as t, useContext as n, useMemo as r } from "react";
4
- //#region src/lib/context/CoreUIContext.ts
5
- var i = t({
6
- config: {
7
- apiBaseUrl: "",
8
- iconUrl: "",
9
- theme: "light"
10
- },
11
- i18n: { formatMessage: (e, t) => e.id },
12
- locale: {
13
- getAllLocales: () => [],
14
- setLocale: () => {}
15
- },
16
- hooks: {
17
- useIntl: () => ({
18
- locale: "en-US",
19
- formatMessage: (e, t) => e.id
20
- }),
21
- useCurrentUser: () => void 0,
22
- useTableFetch: (() => {
23
- throw Error("useTableFetch was not provided by the host CoreUIProvider");
24
- })
25
- },
26
- tokens: {},
27
- services: { request: async (e, t) => Promise.resolve({}) }
28
- }), a = () => n(i), o = /* @__PURE__ */ e(((e, t) => {
2
+ //#region node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js
3
+ var t = /* @__PURE__ */ e(((e, t) => {
29
4
  (function() {
30
5
  var e = {}.hasOwnProperty;
31
6
  function n() {
@@ -51,12 +26,6 @@ var i = t({
51
26
  return n;
52
27
  }) : window.classNames = n;
53
28
  })();
54
- })), s = () => {
55
- let { hooks: e } = a(), t = e.useIntl();
56
- return r(() => ({
57
- ...t,
58
- locale: t.locale || "en-US"
59
- }), [t]);
60
- };
29
+ }));
61
30
  //#endregion
62
- export { i, o as n, a as r, s as t };
31
+ export { t };
@@ -1,5 +1,5 @@
1
1
  import { o as e } from "./rolldown-runtime-BETGA6I9.js";
2
- import { n as t } from "./useIntl-ClqxSZNY.js";
2
+ import { t } from "./classnames-fDEzIsab.js";
3
3
  import "react";
4
4
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
5
5
  import i from "styled-components";
@@ -5,7 +5,7 @@ function t(e) {
5
5
  let r = new FileReader();
6
6
  r.onload = async function(e) {
7
7
  try {
8
- let { default: n } = await import("./xlsx-DLkyLHwb.js").then((e) => e.t), r = e.target.result, i = n.read(r, { type: "string" }), a = i.SheetNames[0];
8
+ let { default: n } = await import("./xlsx-C7SIkCvo.js").then((e) => e.t), r = e.target.result, i = n.read(r, { type: "string" }), a = i.SheetNames[0];
9
9
  if (!a) {
10
10
  t("[]");
11
11
  return;
@@ -24,7 +24,7 @@ function t(e) {
24
24
  });
25
25
  }
26
26
  function n({ sheets: t, fileName: n = "data.xlsx" }) {
27
- import("./xlsx-DLkyLHwb.js").then((e) => e.t).then(({ default: r }) => {
27
+ import("./xlsx-C7SIkCvo.js").then((e) => e.t).then(({ default: r }) => {
28
28
  let i = r.utils.book_new();
29
29
  t.forEach((e) => {
30
30
  let { sheetName: t, jsonData: n, fields: a, fieldLabels: o, formatMap: s } = e, c = n.map((e) => {
package/dist/excel.es.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./excel-reader-Bgm6Gd2H.js";
1
+ import { t as e } from "./excel-reader-fp4wfcR5.js";
2
2
  export { e as exportJsonToExcel };
@@ -1,3 +1,3 @@
1
- import { n as e } from "./excel-reader-Bgm6Gd2H.js";
2
- import { a as t, i as n, n as r, r as i, t as a } from "./word-reader-CSmNlWcx.js";
3
- export { t as readEpubContent, e as readExcelContent, r as readHtmlContent, n as readPDFContent, i as readPptxContent, a as readWordContent };
1
+ import { a as e, i as t, n, r, t as i } from "./word-reader-Dy0F38kq.js";
2
+ import { n as a } from "./excel-reader-fp4wfcR5.js";
3
+ export { e as readEpubContent, a as readExcelContent, n as readHtmlContent, t as readPDFContent, r as readPptxContent, i as readWordContent };
@@ -1,17 +1,19 @@
1
1
  import { o as e, t } from "./rolldown-runtime-BETGA6I9.js";
2
- import { n, r, t as i } from "./useIntl-ClqxSZNY.js";
3
- import { t as a } from "./lodash-i3XVVuwG.js";
2
+ import { t as n } from "./lodash-CFrt21kh.js";
3
+ import { t as r } from "./useCoreUIContext-_TAsecw_.js";
4
+ import { t as i } from "./useIntl-CBh5liUu.js";
5
+ import { t as a } from "./classnames-fDEzIsab.js";
4
6
  import o, { useCallback as s, useEffect as c, useMemo as l, useRef as u, useState as d } from "react";
5
7
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
6
- import { CheckCircleFilled as m, CloseOutlined as h, CopyOutlined as g } from "@ant-design/icons";
7
- import { Button as _, Tag as v, Tooltip as y, message as b } from "antd";
8
- import x from "styled-components";
9
- import { useMemoizedFn as S } from "ahooks";
10
- import { useOverlayScrollbars as C } from "overlayscrollbars-react";
8
+ import { Button as m, Tag as h, Tooltip as g, message as _ } from "antd";
9
+ import { useMemoizedFn as v } from "ahooks";
10
+ import { useOverlayScrollbars as y } from "overlayscrollbars-react";
11
+ import { CheckCircleFilled as b, CloseOutlined as x, CopyOutlined as S } from "@ant-design/icons";
12
+ import C from "styled-components";
11
13
  //#region src/lib/hooks/use-overlay-scroller.ts
12
- var w = /* @__PURE__ */ e(n(), 1), T = /* @__PURE__ */ e(a(), 1), E = 5e3;
13
- function D(e) {
14
- let { config: t } = r(), { theme: n } = t, { options: i, events: a, defer: s = !0 } = e || {}, { scrollbars: l, overflow: u, oppositeTheme: d } = i || {}, f = o.useRef(null), p = o.useRef(null), m = o.useRef(!1), h = o.useRef(null), g = o.useRef(!1), _ = o.useRef(null), [v, y] = C({
14
+ var w = /* @__PURE__ */ e(n(), 1), T = 5e3;
15
+ function E(e) {
16
+ let { config: t } = r(), { theme: n } = t, { options: i, events: a, defer: s = !0 } = e || {}, { scrollbars: l, overflow: u, oppositeTheme: d } = i || {}, f = o.useRef(null), p = o.useRef(null), m = o.useRef(!1), h = o.useRef(null), g = o.useRef(!1), _ = o.useRef(null), [b, x] = y({
15
17
  options: {
16
18
  update: { debounce: 0 },
17
19
  overflow: {
@@ -29,65 +31,65 @@ function D(e) {
29
31
  events: { ...a },
30
32
  defer: s
31
33
  });
32
- p.current = y?.(), f.current = p.current?.elements()?.scrollEventElement;
33
- let b = () => {
34
+ p.current = x?.(), f.current = p.current?.elements()?.scrollEventElement;
35
+ let S = () => {
34
36
  let e = f.current?.scrollTop, t = f.current?.scrollHeight;
35
37
  e + f.current?.clientHeight + 20 >= t ? g.current = !1 : g.current = !0;
36
- }, x = S((0, T.throttle)(() => {
38
+ }, C = v((0, w.throttle)(() => {
37
39
  f.current?.scrollTo?.({
38
40
  top: f.current?.scrollHeight,
39
41
  behavior: "smooth"
40
42
  }), p.current?.update?.();
41
- }, 100)), w = S(() => {
43
+ }, 100)), E = v(() => {
42
44
  f.current?.scrollTo?.({
43
45
  top: f.current.scrollHeight,
44
46
  behavior: "auto"
45
47
  }), p.current?.update?.();
46
- }), D = S((e) => {
47
- g.current || (e === 0 ? w() : x());
48
- }), O = S(() => {
48
+ }), D = v((e) => {
49
+ g.current || (e === 0 ? E() : C());
50
+ }), O = v(() => {
49
51
  f.current?.scrollTo?.({
50
52
  top: 0,
51
53
  behavior: "auto"
52
54
  }), p.current?.update?.();
53
55
  }), k = () => {
54
- p.current = y?.(), f.current = p.current?.elements()?.scrollEventElement;
55
- }, A = S((e) => {
56
- b(), _.current && clearTimeout(_.current), _.current = setTimeout(() => {
56
+ p.current = x?.(), f.current = p.current?.elements()?.scrollEventElement;
57
+ }, A = v((e) => {
58
+ S(), _.current && clearTimeout(_.current), _.current = setTimeout(() => {
57
59
  g.current = !1;
58
- }, E);
60
+ }, T);
59
61
  }), j = () => {
60
62
  h.current?.addEventListener?.("wheel", A, { passive: !0 });
61
63
  }, M = () => {
62
64
  h.current?.removeEventListener?.("wheel", A, { passive: !0 });
63
- }, N = S((e) => (p.current || e && (v(e), h.current = e, m.current = !0, p.current = y?.(), f.current = p.current?.elements()?.scrollEventElement, j()), p.current));
65
+ }, N = v((e) => (p.current || e && (b(e), h.current = e, m.current = !0, p.current = x?.(), f.current = p.current?.elements()?.scrollEventElement, j()), p.current));
64
66
  return c(() => () => {
65
67
  p.current?.destroy?.(), M();
66
- }, [y]), {
68
+ }, [x]), {
67
69
  initialize: N,
68
70
  instance: p,
69
71
  scrollEventElement: f,
70
72
  initialized: m.current,
71
73
  getScrollElementScrollableHeight: () => {
72
- (!p.current || !f.current) && (p.current = y?.(), f.current = p.current?.elements()?.scrollEventElement);
74
+ (!p.current || !f.current) && (p.current = x?.(), f.current = p.current?.elements()?.scrollEventElement);
73
75
  let e = p.current?.elements().viewport;
74
76
  return {
75
77
  scrollTop: e?.scrollTop,
76
78
  scrollHeight: e?.scrollHeight - e?.clientHeight
77
79
  };
78
80
  },
79
- getScrollElement: () => ((!p.current || !f.current) && (p.current = y?.(), f.current = p.current?.elements()?.scrollEventElement), f),
81
+ getScrollElement: () => ((!p.current || !f.current) && (p.current = x?.(), f.current = p.current?.elements()?.scrollEventElement), f),
80
82
  generateInstance: k,
81
83
  destroyInstance: () => {
82
84
  p.current?.destroy?.(), M(), p.current = null;
83
85
  },
84
86
  updateScrollerPosition: D,
85
87
  updateScrollerPositionToTop: O,
86
- scrollToBottom: w,
88
+ scrollToBottom: E,
87
89
  scrollToTop: O,
88
90
  scrollToTarget: (e, t = 100) => {
89
91
  if (!e) return;
90
- (!p.current || !f.current) && (p.current = y?.(), f.current = p.current?.elements()?.scrollEventElement);
92
+ (!p.current || !f.current) && (p.current = x?.(), f.current = p.current?.elements()?.scrollEventElement);
91
93
  let n = (p.current?.elements().viewport).getBoundingClientRect(), r = e.getBoundingClientRect(), i = (p.current?.state()).current?.overflowAmount?.y, a = r.top - n.top + i;
92
94
  f.current.scroll({
93
95
  y: a - t,
@@ -96,8 +98,10 @@ function D(e) {
96
98
  }
97
99
  };
98
100
  }
99
- var O = { wrapper: "index-module__wrapper___AP3Au" }, k = ({ children: e, maxHeight: t, scrollbars: n, oppositeTheme: r, style: i, styles: a, onScroll: s }) => {
100
- let c = o.useRef(null), { initialize: l } = D({ options: {
101
+ //#endregion
102
+ //#region src/lib/components/overlay-scroller/index.module.less
103
+ var D = /* @__PURE__ */ e(a(), 1), O = { wrapper: "index-module__wrapper___AP3Au" }, k = ({ children: e, maxHeight: t, scrollbars: n, oppositeTheme: r, style: i, styles: a, onScroll: s }) => {
104
+ let c = o.useRef(null), { initialize: l } = E({ options: {
101
105
  scrollbars: n,
102
106
  oppositeTheme: r
103
107
  } });
@@ -106,7 +110,7 @@ var O = { wrapper: "index-module__wrapper___AP3Au" }, k = ({ children: e, maxHei
106
110
  }, []), /* @__PURE__ */ f("div", {
107
111
  ref: c,
108
112
  "data-overlayscrollbars-initialize": !0,
109
- className: (0, w.default)(O.wrapper, "overlay-scroller-wrapper"),
113
+ className: (0, D.default)(O.wrapper, "overlay-scroller-wrapper"),
110
114
  hidden: !1,
111
115
  onWheel: s,
112
116
  style: {
@@ -118,7 +122,7 @@ var O = { wrapper: "index-module__wrapper___AP3Au" }, k = ({ children: e, maxHei
118
122
  });
119
123
  }, A = ({ children: e, maxHeight: t, title: n, toolTipProps: r, scrollbars: i, oppositeTheme: a }) => {
120
124
  let { styles: o, ...s } = r || {}, c = typeof o == "function" ? void 0 : o;
121
- return /* @__PURE__ */ f(y, {
125
+ return /* @__PURE__ */ f(g, {
122
126
  styles: {
123
127
  ...c,
124
128
  container: {
@@ -138,64 +142,64 @@ var O = { wrapper: "index-module__wrapper___AP3Au" }, k = ({ children: e, maxHei
138
142
  ...s,
139
143
  children: e
140
144
  });
141
- }, j = x(v)`
145
+ }, j = C(h)`
142
146
  margin: 0;
143
147
  &.tag-filled {
144
148
  border: none;
145
149
  background-color: var(--ant-color-fill-secondary);
146
150
  }
147
- `, M = ({ children: e, maxWidth: t = "100%", minWidth: n, ghost: r = !1, title: i, showTitle: a = !1, tooltipProps: o, radius: p = 12, filled: m = !1, ...g }) => {
148
- let _ = u(null), [v, y] = d(!1), b = u(null), x = s(() => {
149
- if (_.current) {
150
- let { scrollWidth: e, clientWidth: t } = _.current;
151
- y(e > t);
151
+ `, M = ({ children: e, maxWidth: t = "100%", minWidth: n, ghost: r = !1, title: i, showTitle: a = !1, tooltipProps: o, radius: p = 12, filled: m = !1, ...h }) => {
152
+ let g = u(null), [_, v] = d(!1), y = u(null), b = s(() => {
153
+ if (g.current) {
154
+ let { scrollWidth: e, clientWidth: t } = g.current;
155
+ v(e > t);
152
156
  }
153
- }, [_.current]);
157
+ }, [g.current]);
154
158
  c(() => {
155
- let e = _.current;
156
- if (e) return b.current?.disconnect(), b.current = new ResizeObserver(() => {
157
- x();
158
- }), b.current?.observe(e), x(), () => {
159
- b.current?.disconnect(), b.current = null;
160
- };
161
- }, [x]), c(() => {
162
- let e = (0, T.throttle)(x, 200);
159
+ let e = g.current;
160
+ if (e) return y.current?.disconnect(), y.current = new ResizeObserver(() => {
161
+ b();
162
+ }), y.current?.observe(e), b(), () => {
163
+ y.current?.disconnect(), y.current = null;
164
+ };
165
+ }, [b]), c(() => {
166
+ let e = (0, w.throttle)(b, 200);
163
167
  return window.addEventListener("resize", e), () => {
164
168
  window.removeEventListener("resize", e), e.cancel();
165
169
  };
166
- }, [x]), c(() => {
167
- x();
168
- }, [e, x]);
170
+ }, [b]), c(() => {
171
+ b();
172
+ }, [e, b]);
169
173
  let S = l(() => ({
170
174
  maxWidth: t,
171
175
  minWidth: n,
172
176
  overflow: "hidden",
173
177
  textOverflow: "ellipsis",
174
178
  whiteSpace: "nowrap",
175
- ...g.style
176
- }), [t, g.style]);
179
+ ...h.style
180
+ }), [t, h.style]);
177
181
  return /* @__PURE__ */ f(A, {
178
182
  toolTipProps: {
179
183
  ...o,
180
184
  destroyOnHidden: !1
181
185
  },
182
- title: v || a ? i || e : !1,
186
+ title: _ || a ? i || e : !1,
183
187
  children: r ? /* @__PURE__ */ f("div", {
184
- ref: _,
188
+ ref: g,
185
189
  style: S,
186
- "data-overflow": v,
190
+ "data-overflow": _,
187
191
  children: e
188
192
  }) : /* @__PURE__ */ f(j, {
189
- ...g,
193
+ ...h,
190
194
  variant: "outlined",
191
- className: `${g.className || ""} ${m ? "tag-filled" : ""}`,
192
- ref: _,
195
+ className: `${h.className || ""} ${m ? "tag-filled" : ""}`,
196
+ ref: g,
193
197
  style: {
194
- paddingInline: g.closable ? "8px 22px" : 8,
198
+ paddingInline: h.closable ? "8px 22px" : 8,
195
199
  borderRadius: p,
196
200
  ...S
197
201
  },
198
- closeIcon: g.closable ? /* @__PURE__ */ f(h, { style: {
202
+ closeIcon: h.closable ? /* @__PURE__ */ f(x, { style: {
199
203
  position: "absolute",
200
204
  right: 8,
201
205
  top: "50%",
@@ -204,8 +208,8 @@ var O = { wrapper: "index-module__wrapper___AP3Au" }, k = ({ children: e, maxHei
204
208
  children: e
205
209
  })
206
210
  });
207
- }, N = ({ children: e, tips: t, text: n, type: r = "text", shape: a = "default", fontSize: o = "14px", style: s, btnStyle: h, placement: v, size: x = "small" }) => {
208
- let S = i(), [C, w] = d(!1), T = u(), E = () => {
211
+ }, N = ({ children: e, tips: t, text: n, type: r = "text", shape: a = "default", fontSize: o = "14px", style: s, btnStyle: h, placement: v, size: y = "small" }) => {
212
+ let x = i(), [C, w] = d(!1), T = u(), E = () => {
209
213
  window.clearTimeout(T.current), T.current = window.setTimeout(() => {
210
214
  w(!1);
211
215
  }, 3e3);
@@ -243,11 +247,11 @@ var O = { wrapper: "index-module__wrapper___AP3Au" }, k = ({ children: e, maxHei
243
247
  w(!0);
244
248
  return;
245
249
  }
246
- b.error(S.formatMessage({ id: "common.copy.fail" }));
247
- }, A = l(() => C ? S.formatMessage({ id: "common.button.copied" }) : t ?? S.formatMessage({ id: "common.button.copy" }), [
250
+ _.error(x.formatMessage({ id: "common.copy.fail" }));
251
+ }, A = l(() => C ? x.formatMessage({ id: "common.button.copied" }) : t ?? x.formatMessage({ id: "common.button.copy" }), [
248
252
  C,
249
253
  t,
250
- S
254
+ x
251
255
  ]);
252
256
  return c(() => (E(), () => {
253
257
  window.clearTimeout(T.current);
@@ -258,20 +262,20 @@ var O = { wrapper: "index-module__wrapper___AP3Au" }, k = ({ children: e, maxHei
258
262
  minWidth: 20,
259
263
  ghost: !0,
260
264
  children: e
261
- }), /* @__PURE__ */ f(y, {
265
+ }), /* @__PURE__ */ f(g, {
262
266
  title: A,
263
267
  placement: v,
264
- children: /* @__PURE__ */ f("span", { children: /* @__PURE__ */ f(_, {
268
+ children: /* @__PURE__ */ f("span", { children: /* @__PURE__ */ f(m, {
265
269
  className: "copy-button",
266
270
  type: r,
267
271
  shape: a,
268
- size: x,
272
+ size: y,
269
273
  onClick: k,
270
274
  style: { ...h },
271
- icon: C ? /* @__PURE__ */ f(m, { style: {
275
+ icon: C ? /* @__PURE__ */ f(b, { style: {
272
276
  color: "var(--ant-color-success)",
273
277
  fontSize: o
274
- } }) : /* @__PURE__ */ f(g, { style: {
278
+ } }) : /* @__PURE__ */ f(S, { style: {
275
279
  fontSize: o,
276
280
  ...s
277
281
  } })
@@ -19038,7 +19042,7 @@ function pr(e) {
19038
19042
  }
19039
19043
  //#endregion
19040
19044
  //#region src/lib/components/highlight-code/code-viewer.tsx
19041
- var mr = x.div`
19045
+ var mr = C.div`
19042
19046
  display: flex;
19043
19047
  justify-content: space-between;
19044
19048
  align-items: center;
@@ -19053,7 +19057,7 @@ var mr = x.div`
19053
19057
  background-color: var(--color-editor-header-bg);
19054
19058
  color: rgba(255, 255, 255, 0.65);
19055
19059
  }
19056
- `, hr = x.div`
19060
+ `, hr = C.div`
19057
19061
  border-radius: var(--border-radius-mini);
19058
19062
  &:hover {
19059
19063
  .custome-scrollbar {
@@ -19064,7 +19068,7 @@ var mr = x.div`
19064
19068
  }
19065
19069
  }
19066
19070
  `, gr = ({ copyValue: e, lang: t, theme: n, copyable: r }) => r ? /* @__PURE__ */ p(mr, {
19067
- className: (0, w.default)({
19071
+ className: (0, D.default)({
19068
19072
  dark: n === "dark",
19069
19073
  light: n === "light"
19070
19074
  }),
@@ -19103,7 +19107,7 @@ var mr = x.div`
19103
19107
  copyable: o,
19104
19108
  theme: e.theme || "light"
19105
19109
  }), /* @__PURE__ */ f("pre", {
19106
- className: (0, w.default)("code-pre custome-scrollbar custom-scrollbar-horizontal ", {
19110
+ className: (0, D.default)("code-pre custome-scrollbar custom-scrollbar-horizontal ", {
19107
19111
  dark: e.theme === "dark",
19108
19112
  light: e.theme === "light",
19109
19113
  "x-scrollable": u
@@ -19118,7 +19122,7 @@ var mr = x.div`
19118
19122
  minHeight: s,
19119
19123
  ...u ? { width: "max-content" } : {}
19120
19124
  },
19121
- className: (0, w.default)(d.className, {
19125
+ className: (0, D.default)(d.className, {
19122
19126
  dark: e.theme === "dark",
19123
19127
  light: e.theme === "light"
19124
19128
  }),
@@ -19177,4 +19181,4 @@ var mr = x.div`
19177
19181
  });
19178
19182
  };
19179
19183
  //#endregion
19180
- export { A as a, k as i, N as n, D as o, M as r, br as t };
19184
+ export { A as a, k as i, N as n, E as o, M as r, br as t };