@gpustack/core-ui 1.0.9 → 1.0.10

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.
@@ -1,5 +1,5 @@
1
1
  import { a as e, n as t, r as n, t as r } from "./rolldown-runtime-gEudmnaM.js";
2
- import { t as i } from "./jszip-CNVWBM0E.js";
2
+ import { t as i } from "./jszip-D1TpRGO6.js";
3
3
  //#region ../../node_modules/.pnpm/underscore@1.13.8/node_modules/underscore/modules/_setup.js
4
4
  var a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b, x, S, C, w, T = t((() => {
5
5
  a = "1.13.8", o = typeof self == "object" && self.self === self && self || typeof global == "object" && global.global === global && global || Function("return this")() || {}, s = Array.prototype, c = Object.prototype, l = typeof Symbol < "u" ? Symbol.prototype : null, u = s.push, d = s.slice, f = c.toString, p = c.hasOwnProperty, m = typeof ArrayBuffer < "u", h = typeof DataView < "u", g = Array.isArray, _ = Object.keys, v = Object.create, y = m && ArrayBuffer.isView, b = isNaN, x = isFinite, S = !{ toString: null }.propertyIsEnumerable("toString"), C = [
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ type ModalOverlayViewProps = {
3
+ title: React.ReactNode;
4
+ open: boolean;
5
+ onCancel?: () => void;
6
+ children?: React.ReactNode;
7
+ onSubmit?: () => void;
8
+ footer?: React.ReactNode;
9
+ subTitle?: React.ReactNode;
10
+ width?: number | string;
11
+ className?: string;
12
+ style?: React.CSSProperties;
13
+ maskClosable?: boolean;
14
+ getContainer?: () => HTMLElement | null | undefined;
15
+ styles?: {
16
+ mask?: React.CSSProperties;
17
+ overlay?: React.CSSProperties;
18
+ header?: React.CSSProperties;
19
+ title?: React.CSSProperties;
20
+ subTitle?: React.CSSProperties;
21
+ container?: React.CSSProperties;
22
+ };
23
+ };
24
+ declare const ModalOverlayView: React.FC<ModalOverlayViewProps>;
25
+ export default ModalOverlayView;
@@ -5,5 +5,5 @@ import { DrawerProps } from 'antd';
5
5
  * @param props
6
6
  * @returns
7
7
  */
8
- declare const ScrollerModal: (props: DrawerProps) => import("react/jsx-runtime").JSX.Element;
9
- export default ScrollerModal;
8
+ declare const GSDrawer: (props: DrawerProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default GSDrawer;
@@ -1,6 +1,6 @@
1
1
  import { i as e, o as t, r as n } from "./rolldown-runtime-gEudmnaM.js";
2
- import { n as r, t as i } from "./excel-reader-jQgyThK1.js";
3
- import { a, i as o, n as s, r as c, t as l } from "./word-reader-CIrD60Ns.js";
2
+ import { n as r, t as i } from "./excel-reader-CiDeab7_.js";
3
+ import { a, i as o, n as s, r as c, t as l } from "./word-reader-Chcn6YoS.js";
4
4
  import { t as u } from "./lodash-DVkZQU_K.js";
5
5
  import { saveAs as d } from "file-saver";
6
6
  import { message as ee } from "antd";
package/dist/utils.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./excel-reader-jQgyThK1.js";
2
- import { a as n, i as r, n as i, r as a, t as o } from "./word-reader-CIrD60Ns.js";
3
- import { C as s, D as c, E as l, O as u, S as d, T as f, _ as p, a as m, b as h, c as g, d as _, f as v, g as y, h as b, i as x, j as S, k as C, l as w, m as T, n as E, o as D, p as O, r as k, s as A, t as j, u as M, v as N, w as P, x as F } from "./utils-8vGWRIPF.js";
1
+ import { n as e, t } from "./excel-reader-CiDeab7_.js";
2
+ import { a as n, i as r, n as i, r as a, t as o } from "./word-reader-Chcn6YoS.js";
3
+ import { C as s, D as c, E as l, O as u, S as d, T as f, _ as p, a as m, b as h, c as g, d as _, f as v, g as y, h as b, i as x, j as S, k as C, l as w, m as T, n as E, o as D, p as O, r as k, s as A, t as j, u as M, v as N, w as P, x as F } from "./utils-CIKJeIzI.js";
4
4
  export { j as base64ToFile, E as convertFileSize, k as convertFileSizeByUnit, F as convertFileToBase64, x as cosineSimilarity, P as createFormData, S as downloadFile, f as errorHandler, t as exportJsonToExcel, l as fetchChunkedData, c as fetchChunkedDataPostFormData, m as formatLargeNumber, D as formatNumber, A as formatTime, g as genColors, w as generateRandomNumber, M as handleBatchRequest, _ as isHTMLDocumentString, v as isNotEmptyValue, O as isNotEmptyValueAllowNull, T as isOnline, d as loadAudioData, b as loadLanguageConfig, y as parseParamsString, h as pcmToWav, p as platformCall, s as readAudioFile, N as readBlob, n as readEpubContent, e as readExcelContent, i as readHtmlContent, u as readLargeStreamData, r as readPDFContent, a as readPptxContent, C as readStreamData, o as readWordContent };