@gpustack/core-ui 1.0.4 → 1.0.6
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/index.css +2 -1
- package/dist/index.es.js +1318 -1308
- package/dist/markdown.es.js +1 -1
- package/dist/src/lib/components/echarts/bar-chart.d.ts +2 -2
- package/dist/src/lib/components/echarts/h-bar.d.ts +1 -0
- package/dist/src/lib/components/echarts/index.d.ts +2 -2
- package/dist/src/lib/components/form-drawer/index.d.ts +1 -0
- package/dist/src/lib/components/label-selector/index.d.ts +1 -1
- package/dist/src/lib/components/list-input/index.d.ts +2 -2
- package/dist/src/lib/components/page-tools/index.d.ts +2 -1
- package/dist/yaml-editor.es.js +1 -1
- package/package.json +1 -1
- package/dist/editor-wrap.css +0 -1
- package/dist/highlight-code.css +0 -1
- package/dist/markdown.css +0 -1
- /package/dist/{editor-wrap-CMFkPgsW.js → editor-wrap-DFbXkvlV.js} +0 -0
- /package/dist/{highlight-code-CyMnhIMR.js → highlight-code-BGo6UgwT.js} +0 -0
package/dist/markdown.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as e, r as t, t as n } from "./rolldown-runtime-BETGA6I9.js";
|
|
2
2
|
import { t as r } from "./lodash-k2j6dYGv.js";
|
|
3
|
-
import { t as i } from "./highlight-code-
|
|
3
|
+
import { t as i } from "./highlight-code-BGo6UgwT.js";
|
|
4
4
|
import a, { Fragment as o, useCallback as s, useEffect as c, useMemo as l } from "react";
|
|
5
5
|
import { Fragment as u, jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
6
6
|
import { EyeOutlined as p } from "@ant-design/icons";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BarSeriesOption, GaugeSeriesOption, LineSeriesOption, ScatterSeriesOption } from 'echarts/charts';
|
|
1
|
+
import { BarSeriesOption, GaugeSeriesOption, LineSeriesOption, PieSeriesOption, ScatterSeriesOption } from 'echarts/charts';
|
|
2
2
|
import { DatasetComponentOption, GridComponentOption, TitleComponentOption, TooltipComponentOption } from 'echarts/components';
|
|
3
3
|
import { ComposeOption } from 'echarts/core';
|
|
4
4
|
import * as echarts from 'echarts/core';
|
|
5
|
-
type ECOption = ComposeOption<BarSeriesOption | LineSeriesOption | TitleComponentOption | TooltipComponentOption | GridComponentOption | DatasetComponentOption | GaugeSeriesOption | ScatterSeriesOption>;
|
|
5
|
+
type ECOption = ComposeOption<BarSeriesOption | LineSeriesOption | TitleComponentOption | TooltipComponentOption | GridComponentOption | DatasetComponentOption | GaugeSeriesOption | ScatterSeriesOption | PieSeriesOption>;
|
|
6
6
|
export type { ECOption };
|
|
7
7
|
export default echarts;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
interface ListInputProps {
|
|
3
3
|
required?: boolean;
|
|
4
|
-
|
|
4
|
+
value?: string[];
|
|
5
5
|
label?: React.ReactNode;
|
|
6
6
|
description?: React.ReactNode;
|
|
7
7
|
btnText?: string;
|
|
@@ -13,7 +13,7 @@ interface ListInputProps {
|
|
|
13
13
|
wrapper?: React.CSSProperties;
|
|
14
14
|
item?: React.CSSProperties;
|
|
15
15
|
};
|
|
16
|
-
onChange
|
|
16
|
+
onChange?: (data: string[]) => void;
|
|
17
17
|
onBlur?: (e: any, index: number) => void;
|
|
18
18
|
onDelete?: (index: number) => void;
|
|
19
19
|
renderItem?: (data: any, props: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SelectProps } from 'antd';
|
|
1
2
|
import { default as React } from 'react';
|
|
2
3
|
type PageToolsProps = {
|
|
3
4
|
left?: React.ReactNode;
|
|
@@ -48,7 +49,7 @@ interface FilterBarProps {
|
|
|
48
49
|
onClear: () => void;
|
|
49
50
|
};
|
|
50
51
|
select?: {
|
|
51
|
-
showSearch?:
|
|
52
|
+
showSearch?: SelectProps['showSearch'];
|
|
52
53
|
};
|
|
53
54
|
widths?: {
|
|
54
55
|
input?: number;
|
package/dist/yaml-editor.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./useIntl-BZWVSOXz.js";
|
|
2
|
-
import { t } from "./editor-wrap-
|
|
2
|
+
import { t } from "./editor-wrap-DFbXkvlV.js";
|
|
3
3
|
import { forwardRef as n, useEffect as r, useImperativeHandle as i, useRef as a } from "react";
|
|
4
4
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
5
|
import { ImportOutlined as c, LoadingOutlined as l } from "@ant-design/icons";
|
package/package.json
CHANGED
package/dist/editor-wrap.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.editor-wrap{border-radius:var(--border-radius-mini);font-size:0;overflow:hidden}.editor-wrap .code-pre{margin-bottom:0}.editor-wrap .editor-header{background-color:var(--color-editor-header-bg);justify-content:space-between;align-items:center;padding-block:0;padding-inline:12px 10px;display:flex}.editor-wrap .scrollbar .slider{border-radius:6px}
|
package/dist/highlight-code.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.index-module__wrapper___AP3Au{width:100%;padding-inline:8px;overflow-y:auto}.code-pre.dark .hljs{color:#abb2bf;background:var(--color-editor-dark)}.code-pre.dark .hljs-comment,.code-pre.dark .hljs-quote{color:#5c6370;font-style:italic}.code-pre.dark .hljs-doctag,.code-pre.dark .hljs-keyword,.code-pre.dark .hljs-formula{color:#c678dd}.code-pre.dark .hljs-section,.code-pre.dark .hljs-name,.code-pre.dark .hljs-selector-tag,.code-pre.dark .hljs-deletion,.code-pre.dark .hljs-subst{color:#e06c75}.code-pre.dark .hljs-literal{color:#56b6c2}.code-pre.dark .hljs-string,.code-pre.dark .hljs-regexp,.code-pre.dark .hljs-addition,.code-pre.dark .hljs-attribute,.code-pre.dark .hljs-meta .hljs-string{color:#98c379}.code-pre.dark .hljs-attr,.code-pre.dark .hljs-variable,.code-pre.dark .hljs-template-variable,.code-pre.dark .hljs-type,.code-pre.dark .hljs-selector-class,.code-pre.dark .hljs-selector-attr,.code-pre.dark .hljs-selector-pseudo,.code-pre.dark .hljs-number{color:#d19a66}.code-pre.dark .hljs-symbol,.code-pre.dark .hljs-bullet,.code-pre.dark .hljs-link,.code-pre.dark .hljs-meta,.code-pre.dark .hljs-selector-id,.code-pre.dark .hljs-title{color:#61aeee}.code-pre.dark .hljs-built_in,.code-pre.dark .hljs-title.class_,.code-pre.dark .hljs-class .hljs-title{color:#e6c07b}.code-pre.dark .hljs-emphasis{font-style:italic}.code-pre.dark .hljs-strong{font-weight:700}.code-pre.dark .hljs-link{text-decoration:underline}pre code.hljs{padding:1em;display:block;overflow-x:auto}code.hljs{padding:3px 5px}.code-pre.light .hljs{color:#383a42;background:var(--color-editor-light)}.code-pre.light .hljs-comment,.code-pre.light .hljs-quote{color:#a0a1a7;font-style:italic}.code-pre.light .hljs-doctag,.code-pre.light .hljs-keyword,.code-pre.light .hljs-formula{color:#a626a4}.code-pre.light .hljs-section,.code-pre.light .hljs-name,.code-pre.light .hljs-selector-tag,.code-pre.light .hljs-deletion,.code-pre.light .hljs-subst{color:#e45649}.code-pre.light .hljs-literal{color:#0184bb}.code-pre.light .hljs-string,.code-pre.light .hljs-regexp,.code-pre.light .hljs-addition,.code-pre.light .hljs-attribute,.code-pre.light .hljs-meta .hljs-string{color:#50a14f}.code-pre.light .hljs-attr,.code-pre.light .hljs-variable,.code-pre.light .hljs-template-variable,.code-pre.light .hljs-type,.code-pre.light .hljs-selector-class,.code-pre.light .hljs-selector-attr,.code-pre.light .hljs-selector-pseudo,.code-pre.light .hljs-number{color:#986801}.code-pre.light .hljs-symbol,.code-pre.light .hljs-bullet,.code-pre.light .hljs-link,.code-pre.light .hljs-meta,.code-pre.light .hljs-selector-id,.code-pre.light .hljs-title{color:#4078f2}.code-pre.light .hljs-built_in,.code-pre.light .hljs-title.class_,.code-pre.light .hljs-class .hljs-title{color:#c18401}.code-pre.light .hljs-emphasis{font-style:italic}.code-pre.light .hljs-strong{font-weight:700}.code-pre.light .hljs-link{text-decoration:underline}.high-light-wrapper{text-align:left;font-size:var(--font-size-code)}.high-light-wrapper .hljs{font-weight:var(--font-weight-normal);padding-block:1.2em;padding-inline:0}.high-light-wrapper .hljs::-webkit-scrollbar{height:var(--scrollbar-size)}.high-light-wrapper .hljs::-webkit-scrollbar-thumb{background-color:#0000;border-radius:4px}.high-light-wrapper .hljs::-webkit-scrollbar-track{background-color:#0000}.high-light-wrapper .hljs.light:hover::-webkit-scrollbar-thumb{background-color:var(--color-scrollbar-thumb);border-radius:4px}.high-light-wrapper .hljs.dark:hover::-webkit-scrollbar-thumb{background-color:var(--scrollbar-handle-light-bg);border-radius:4px}.high-light-wrapper .code-pre{border-radius:0 0 var(--border-radius-mini) var(--border-radius-mini);white-space:pre-wrap;padding-inline:12px;position:relative}.high-light-wrapper .code-pre code{line-height:1.6}.high-light-wrapper .code-pre.copyable{padding-inline:12px 32px}.high-light-wrapper .code-pre .copy-button{position:absolute;top:6px;right:6px}.high-light-wrapper .code-pre.dark{background-color:var(--color-editor-dark)}.high-light-wrapper .code-pre.dark:hover::-webkit-scrollbar-thumb{background-color:var(--scrollbar-handle-light-bg);border-radius:4px}.high-light-wrapper .code-pre.light{background-color:#fafafa}.high-light-wrapper .code-pre.light:hover::-webkit-scrollbar-thumb{background-color:var(--color-scrollbar-thumb);border-radius:4px}
|