halo-fe 1.0.24 → 1.0.25
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.js +3604 -3524
- package/dist/style.css +1 -1
- package/esm/@types/CreateFeOptions.d.ts +4 -0
- package/esm/coms/@types/SocketProgressProps.d.ts +23 -0
- package/esm/coms/@types/TabProps.d.ts +11 -0
- package/esm/coms/@types/TableProps.d.ts +22 -0
- package/esm/coms/@types/index.d.ts +4 -1
- package/esm/coms/Empty.vue.d.ts +12 -10
- package/esm/coms/Fill.vue.d.ts +8 -10
- package/esm/coms/Scroller.vue.d.ts +11 -13
- package/esm/coms/Timer.vue.d.ts +7 -9
- package/esm/coms/cards/Index.vue.d.ts +16 -0
- package/esm/coms/cards/index.d.ts +2 -0
- package/esm/coms/conditions/Condition.vue.d.ts +1 -1
- package/esm/coms/conditions/Index.vue.d.ts +1 -1
- package/esm/coms/controls/Code.vue.d.ts +4 -6
- package/esm/coms/controls/Compare.vue.d.ts +16 -8
- package/esm/coms/controls/Input.vue.d.ts +2 -0
- package/esm/coms/controls/Option.vue.d.ts +1 -1
- package/esm/coms/controls/RichText.vue.d.ts +2 -4
- package/esm/coms/controls/Select.vue.d.ts +1 -1
- package/esm/coms/controls/index.d.ts +2 -1
- package/esm/coms/index.d.ts +1 -0
- package/esm/coms/layouts/Col.vue.d.ts +6 -8
- package/esm/coms/layouts/Container.vue.d.ts +12 -11
- package/esm/coms/layouts/Desc.vue.d.ts +2 -0
- package/esm/coms/layouts/Row.vue.d.ts +6 -8
- package/esm/coms/pagers/Index.vue.d.ts +2 -0
- package/esm/coms/pagers/index.d.ts +2 -0
- package/esm/coms/progresses/Index.vue.d.ts +6 -0
- package/esm/coms/progresses/SocketProgress.vue.d.ts +7 -9
- package/esm/coms/progresses/index.d.ts +1 -1
- package/esm/coms/tables/Index.vue.d.ts +14 -0
- package/esm/coms/tabs/Tab.vue.d.ts +2 -2
- package/esm/coms/tabs/TabPane.vue.d.ts +1 -1
- package/esm/drivers/cdns/Cdn.d.ts +6 -8
- package/esm/drivers/cdns/ICdn.d.ts +0 -5
- package/esm/drivers/encoders/EncoderFactory.d.ts +1 -0
- package/esm/drivers/encoders/implement/UrlEncoder.d.ts +7 -0
- package/esm/drivers/https/Http.d.ts +13 -2
- package/esm/drivers/https/IHttp.d.ts +4 -0
- package/esm/drivers/https/entities/HttpModel.d.ts +12 -0
- package/esm/drivers/https/implements/DefaultHttp.d.ts +1 -1
- package/esm/drivers/https/implements/HaloHttp.d.ts +1 -9
- package/esm/drivers/https/implements/MkHttp.d.ts +1 -2
- package/esm/drivers/index.d.ts +2 -1
- package/esm/drivers/sockets/ISocket.d.ts +35 -0
- package/esm/drivers/sockets/Socket.d.ts +8 -0
- package/esm/drivers/sockets/SocketFactory.d.ts +13 -0
- package/esm/drivers/sockets/implement/DefaultSocket.d.ts +39 -0
- package/esm/drivers/sockets/index.d.ts +2 -0
- package/esm/drivers/tasks/ITask.d.ts +3 -0
- package/esm/drivers/util/@types/JsonConfig.d.ts +10 -0
- package/esm/drivers/util/@types/TreeNodeProp.d.ts +9 -0
- package/esm/drivers/util/@types/index.d.ts +3 -0
- package/esm/drivers/util/IUtil.d.ts +8 -0
- package/esm/drivers/util/Util.d.ts +8 -0
- package/esm/drivers/util/UtilFactory.d.ts +32 -0
- package/esm/drivers/util/implements/ArrayUtil.d.ts +123 -0
- package/esm/drivers/util/implements/BrowserUtil.d.ts +12 -0
- package/esm/drivers/util/implements/ComponentUtil.d.ts +20 -0
- package/esm/drivers/util/implements/DictionaryUtil.d.ts +40 -0
- package/esm/drivers/util/implements/DomUtil.d.ts +118 -0
- package/esm/drivers/util/implements/EventUtil.d.ts +32 -0
- package/esm/drivers/util/implements/FileUtil.d.ts +24 -0
- package/esm/drivers/util/implements/HtmlUtil.d.ts +16 -0
- package/esm/drivers/util/implements/ImageUtil.d.ts +12 -0
- package/esm/drivers/util/implements/JsonUtil.d.ts +53 -0
- package/esm/drivers/util/implements/MathUtil.d.ts +52 -0
- package/esm/drivers/util/implements/MicroUtil.d.ts +12 -0
- package/esm/drivers/util/implements/MountUtil.d.ts +16 -0
- package/esm/drivers/util/implements/ObjectUtil.d.ts +44 -0
- package/esm/drivers/util/implements/ScrollUtil.d.ts +16 -0
- package/esm/drivers/util/implements/SignUtil.d.ts +16 -0
- package/esm/drivers/util/implements/StringUtil.d.ts +104 -0
- package/esm/drivers/util/implements/TaskUtil.d.ts +28 -0
- package/esm/drivers/util/implements/TimeUtil.d.ts +72 -0
- package/esm/drivers/util/implements/TreeUtil.d.ts +56 -0
- package/esm/drivers/util/implements/TypeUtil.d.ts +28 -0
- package/esm/drivers/util/implements/UrlUtil.d.ts +90 -0
- package/esm/drivers/util/index.d.ts +24 -0
- package/esm/factorying/Factories.d.ts +9 -5
- package/esm/factorying/Factory.d.ts +4 -7
- package/esm/factorying/IFactory.d.ts +6 -2
- package/esm/factorying/Utils.d.ts +24 -9
- package/esm/factorying/index.d.ts +7 -2
- package/esm/svcs/implement/ConfigSvc.d.ts +1 -1
- package/esm/svcs/index.d.ts +1 -3
- package/package.json +4 -4
package/dist/style.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
html{-webkit-user-select:initial;user-select:initial;font-size:14px;font-family:Consolas}a{text-decoration:none}p{margin:0;line-height:20px}input{outline:none;margin:0;font-family:inherit}ul,ol{margin:0;padding:0;outline:none}li{list-style-type:none}img{display:block}pre{margin:0;font-family:inherit}html.blue .ha-rich-text .ql-toolbar.ql-snow{border:1px solid #434e61;box-shadow:0 1px 4px #29374d;background-image:linear-gradient(to bottom,#354052,#354052)}html.blue .ha-rich-text .ql-container.ql-snow{border-color:#434e61;background:#354052}html.blue .ha-rich-text .ql-stroke{stroke:#ffffffb8}html.blue .ha-rich-text .ql-fill{fill:#ffffffb8}html.blue .ha-rich-text .ql-picker .ql-picker-label,html.blue .ha-rich-text .ql-date{color:#ffffffb8}html.light .ha-rich-text .ql-toolbar.ql-snow{border:1px solid #dcdfe6;box-shadow:0 1px 4px #ccc9;background-image:linear-gradient(to bottom,#fff,#f2f2f2)}html.light .ha-rich-text .ql-container.ql-snow{border-color:#dcdfe6}.ha-rich-text ol,.ha-rich-text ul{padding-left:1.5em}.ha-rich-text ol{counter-reset:my-counter}.ha-rich-text ol li{list-style-type:none;counter-increment:my-counter}.ha-rich-text ol li:before{content:counter(my-counter) "."}.ha-fill{width:100%}.ha-scroller{position:relative;height:100%}.ha-scroller:hover .scroller-thumb{display:block}.ha-scroller.hover .scroller-thumb{display:block;opacity:.5}.ha-scroller .scroller-container{height:100%;overflow:auto;width:100%;scrollbar-width:none}.ha-scroller .scroller-track{position:absolute;top:0;right:0;width:8px;height:100%}.ha-scroller .scroller-thumb{display:none;position:absolute;cursor:pointer;height:30px;width:100%;-webkit-user-select:none;user-select:none;background:#a3a6ad;opacity:.3;border-radius:5px}.ha-scroller .scroller-thumb:hover{opacity:.5}.ha-code{width:100%;height:100%}.ha-code.border{width:calc(100% - 2px);height:calc(100% - 2px);border-radius:4px}.ha-code.border .monaco-editor,.ha-code.border .overflow-guard{border-radius:4px}.ha-code.border:has(.monaco-editor.focused){border:1px solid #007fd4}.ha-compare{width:100%;height:100%}.ha-rich-text{width:100%}.ha-rich-text .ql-date{font-family:"Font Awesome 6 Free"}.ha-rich-text .ql-date:before{content:""}.ha-rich-text .ql-toolbar{line-height:20px}.ha-rich-text .ql-toolbar.ql-snow{padding:3px;position:sticky;top:0;z-index:10;border-top-left-radius:4px;border-top-right-radius:4px}.ha-rich-text .ql-body{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.ha-rich-text .ql-container{height:auto}.ha-rich-text .ql-container.ql-snow{font-family:inherit;border:0}.ha-rich-text .ql-editor{padding:8px 8px 620px;word-break:break-word;overflow:initial}.ha-rich-text .ql-formats .ql-picker+.ql-picker{display:block!important}.ha-rich-text .ql-formats .ql-picker:has(+.ql-picker){display:none}.ha-rich-text:has(.ql-editor:focus) .ql-snow.ql-toolbar{border-color:#007fd4;border-bottom-color:#4c4d4f}.ha-rich-text:has(.ql-editor:focus) .ql-snow+.ql-body{border-color:#007fd4}.ha-condition{display:flex}.ha-col{display:flex;gap:5px}.ha-container{padding:10px;width:calc(100% - 20px);height:calc(100% - 20px)}.ha-container .ha-operation:nth-child(1){margin-top:0;margin-bottom:10px;padding:8px 10px;line-height:32px}.ha-row{display:flex;gap:5px}.ha-row.between{justify-content:space-between}.ha-progress{position:absolute;width:0;z-index:1}.ha-socket-progress{width:100%;display:flex;line-height:24px;gap:5px}.ha-socket-progress .progress-tips{display:flex;gap:5px}.ha-socket-progress .progress-tip{font-size:12px;padding:0 8px;border-radius:4px}.ha-socket-progress .progress-tip.info{color:#409eff;background:#18222c;border:1px solid #1d3043}.ha-socket-progress .progress-tip.success{color:#67c23a;background:#1c2518;border:1px solid #25371c}.ha-socket-progress .progress-tip.error{color:#f56c6c;background:#2b1d1d;border:1px solid #412626}.ha-socket-progress .progress-chart{display:flex;flex:1;align-items:center;gap:5px}.ha-socket-progress .progress-bar{height:6px;background:#363637;width:100%;border-radius:4px}.ha-socket-progress .progress-percentage{height:100%;background:#67c23a;transition:width .5s;border-radius:4px}.ha-socket-progress .progress-text{color:#cfd3dc}.ha-socket-progress.error .progress-percentage{background:#f56c6c}.ha-socket-progress.error .progress-text{color:#f56c6c}
|
1
|
+
html{-webkit-user-select:initial;user-select:initial;font-size:14px;font-family:Consolas}a{text-decoration:none}p{margin:0;line-height:20px}input{outline:none;margin:0;font-family:inherit}ul,ol{margin:0;padding:0;outline:none}li{list-style-type:none}img{display:block}pre{margin:0;font-family:inherit}html.blue .ha-rich-text .ql-toolbar.ql-snow{border:1px solid #434e61;box-shadow:0 1px 4px #29374d;background-image:linear-gradient(to bottom,#354052,#354052)}html.blue .ha-rich-text .ql-container.ql-snow{border-color:#434e61;background:#354052}html.blue .ha-rich-text .ql-stroke{stroke:#ffffffb8}html.blue .ha-rich-text .ql-fill{fill:#ffffffb8}html.blue .ha-rich-text .ql-picker .ql-picker-label,html.blue .ha-rich-text .ql-date{color:#ffffffb8}html.light .ha-rich-text .ql-toolbar.ql-snow{border:1px solid #dcdfe6;box-shadow:0 1px 4px #ccc9;background-image:linear-gradient(to bottom,#fff,#f2f2f2)}html.light .ha-rich-text .ql-container.ql-snow{border-color:#dcdfe6}.ha-rich-text ol,.ha-rich-text ul{padding-left:1.5em}.ha-rich-text ol{counter-reset:my-counter}.ha-rich-text ol li{list-style-type:none;counter-increment:my-counter}.ha-rich-text ol li:before{content:counter(my-counter) "."}.ha-fill{width:100%;height:100%}.ha-scroller{position:relative;height:100%}.ha-scroller:hover .scroller-thumb{display:block}.ha-scroller.hover .scroller-thumb{display:block;opacity:.5}.ha-scroller .scroller-container{height:100%;overflow:auto;width:100%;scrollbar-width:none}.ha-scroller .scroller-track{position:absolute;top:0;right:0;width:8px;height:100%}.ha-scroller .scroller-thumb{display:none;position:absolute;cursor:pointer;height:30px;width:100%;-webkit-user-select:none;user-select:none;background:#a3a6ad;opacity:.3;border-radius:5px}.ha-scroller .scroller-thumb:hover{opacity:.5}.ha-card{padding:5px;border:1px solid #414243;background:#1d1e1f;border-radius:4px}.ha-code{width:100%;height:100%}.ha-code.border{width:calc(100% - 2px);height:calc(100% - 2px);border-radius:4px}.ha-code.border .monaco-editor,.ha-code.border .overflow-guard{border-radius:4px}.ha-code.border:has(.monaco-editor.focused){border:1px solid #007fd4}.ha-compare{width:100%;height:100%}.ha-rich-text{width:100%}.ha-rich-text .ql-date{font-family:"Font Awesome 6 Free"}.ha-rich-text .ql-date:before{content:""}.ha-rich-text .ql-toolbar{line-height:20px}.ha-rich-text .ql-toolbar.ql-snow{padding:3px;position:sticky;top:0;z-index:10;border-top-left-radius:4px;border-top-right-radius:4px}.ha-rich-text .ql-body{border-bottom-left-radius:4px;border-bottom-right-radius:4px}.ha-rich-text .ql-container{height:auto}.ha-rich-text .ql-container.ql-snow{font-family:inherit;border:0}.ha-rich-text .ql-editor{padding:8px 8px 620px;word-break:break-word;overflow:initial}.ha-rich-text .ql-formats .ql-picker+.ql-picker{display:block!important}.ha-rich-text .ql-formats .ql-picker:has(+.ql-picker){display:none}.ha-rich-text:has(.ql-editor:focus) .ql-snow.ql-toolbar{border-color:#007fd4;border-bottom-color:#4c4d4f}.ha-rich-text:has(.ql-editor:focus) .ql-snow+.ql-body{border-color:#007fd4}.ha-condition{display:flex}.ha-col{display:flex;gap:5px}.ha-container{padding:10px;width:calc(100% - 20px);height:calc(100% - 20px)}.ha-container .ha-operation:nth-child(1){margin-top:0;margin-bottom:10px;padding:8px 10px;line-height:32px}.ha-row{display:flex;gap:5px}.ha-row.between{justify-content:space-between}.ha-progress{position:absolute;width:0;z-index:1}.ha-socket-progress{width:100%;display:flex;line-height:24px;gap:5px}.ha-socket-progress .progress-tips{display:flex;gap:5px}.ha-socket-progress .progress-tip{font-size:12px;padding:0 8px;border-radius:4px}.ha-socket-progress .progress-tip.info{color:#409eff;background:#18222c;border:1px solid #1d3043}.ha-socket-progress .progress-tip.success{color:#67c23a;background:#1c2518;border:1px solid #25371c}.ha-socket-progress .progress-tip.error{color:#f56c6c;background:#2b1d1d;border:1px solid #412626}.ha-socket-progress .progress-chart{display:flex;flex:1;align-items:center;gap:5px}.ha-socket-progress .progress-bar{height:6px;background:#363637;width:100%;border-radius:4px}.ha-socket-progress .progress-percentage{height:100%;background:#67c23a;transition:width .5s;border-radius:4px}.ha-socket-progress .progress-text{color:#cfd3dc}.ha-socket-progress.error .progress-percentage{background:#f56c6c}.ha-socket-progress.error .progress-text{color:#f56c6c}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* 实时进度属性
|
3
|
+
*/
|
4
|
+
interface SocketProgressProps {
|
5
|
+
/**
|
6
|
+
* 进度数据
|
7
|
+
*/
|
8
|
+
progress: {
|
9
|
+
/**
|
10
|
+
* 成功数量
|
11
|
+
*/
|
12
|
+
succeed: number;
|
13
|
+
/**
|
14
|
+
* 异常数量
|
15
|
+
*/
|
16
|
+
errored: number;
|
17
|
+
/**
|
18
|
+
* 总数量
|
19
|
+
*/
|
20
|
+
total: number;
|
21
|
+
};
|
22
|
+
}
|
23
|
+
export default SocketProgressProps;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/**
|
2
|
+
* 表格属性
|
3
|
+
*/
|
4
|
+
interface TableProps {
|
5
|
+
/**
|
6
|
+
* 数据
|
7
|
+
*/
|
8
|
+
data: any[];
|
9
|
+
/**
|
10
|
+
* 数据更新时间间隔
|
11
|
+
*/
|
12
|
+
interval?: number;
|
13
|
+
/**
|
14
|
+
* 排序配置
|
15
|
+
*/
|
16
|
+
sort?: any;
|
17
|
+
/**
|
18
|
+
* 自动调整高度
|
19
|
+
*/
|
20
|
+
autoHeight?: boolean;
|
21
|
+
}
|
22
|
+
export default TableProps;
|
@@ -1,2 +1,5 @@
|
|
1
1
|
import ScrollerProps from "./ScrollerProps";
|
2
|
-
|
2
|
+
import SocketProgressProps from "./SocketProgressProps";
|
3
|
+
import TableProps from "./TableProps";
|
4
|
+
import TabProps from "./TabProps";
|
5
|
+
export { type ScrollerProps, type SocketProgressProps, type TableProps, type TabProps };
|
package/esm/coms/Empty.vue.d.ts
CHANGED
@@ -1,26 +1,28 @@
|
|
1
|
-
declare
|
2
|
-
declare const __VLS_templateResult: {
|
1
|
+
declare function __VLS_template(): {
|
3
2
|
slots: {
|
4
3
|
default?(_: {}): any;
|
5
4
|
};
|
6
5
|
refs: {};
|
7
|
-
attrs: Partial<
|
6
|
+
attrs: Partial<{}>;
|
8
7
|
};
|
9
|
-
type
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
10
9
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
11
10
|
message: {
|
12
11
|
type: StringConstructor;
|
13
12
|
default: string;
|
14
13
|
};
|
15
14
|
hasData: BooleanConstructor;
|
16
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
17
|
-
message:
|
18
|
-
|
19
|
-
|
15
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
16
|
+
message: {
|
17
|
+
type: StringConstructor;
|
18
|
+
default: string;
|
19
|
+
};
|
20
|
+
hasData: BooleanConstructor;
|
21
|
+
}>> & Readonly<{}>, {
|
20
22
|
message: string;
|
21
23
|
hasData: boolean;
|
22
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
23
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
24
26
|
export default _default;
|
25
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
26
28
|
new (): {
|
package/esm/coms/Fill.vue.d.ts
CHANGED
@@ -1,21 +1,19 @@
|
|
1
|
-
declare
|
2
|
-
declare var __VLS_inheritedAttrs: {};
|
3
|
-
declare const __VLS_templateResult: {
|
1
|
+
declare function __VLS_template(): {
|
4
2
|
slots: {
|
5
|
-
default?(_:
|
3
|
+
default?(_: {}): any;
|
6
4
|
};
|
7
5
|
refs: {
|
8
|
-
fillRef:
|
6
|
+
fillRef: HTMLDivElement;
|
9
7
|
};
|
10
|
-
attrs: Partial<
|
8
|
+
attrs: Partial<{}>;
|
11
9
|
};
|
12
|
-
type
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
13
11
|
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
14
12
|
resize: (...args: any[]) => void;
|
15
|
-
}, string, import("vue").PublicProps, Readonly<{
|
13
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
16
14
|
onResize?: (...args: any[]) => any;
|
17
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
19
17
|
export default _default;
|
20
18
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
21
19
|
new (): {
|
@@ -1,28 +1,26 @@
|
|
1
1
|
import ScrollerProps from "./@types/ScrollerProps";
|
2
|
-
declare
|
3
|
-
declare var __VLS_inheritedAttrs: {};
|
4
|
-
declare const __VLS_templateResult: {
|
2
|
+
declare function __VLS_template(): {
|
5
3
|
slots: {
|
6
|
-
default?(_:
|
4
|
+
default?(_: {}): any;
|
7
5
|
};
|
8
6
|
refs: {
|
9
|
-
scrollerRef:
|
10
|
-
containerRef:
|
11
|
-
trackRef:
|
12
|
-
thumbRef:
|
7
|
+
scrollerRef: HTMLDivElement;
|
8
|
+
containerRef: HTMLDivElement;
|
9
|
+
trackRef: HTMLDivElement;
|
10
|
+
thumbRef: HTMLDivElement;
|
13
11
|
};
|
14
|
-
attrs: Partial<
|
12
|
+
attrs: Partial<{}>;
|
15
13
|
};
|
16
|
-
type
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
17
15
|
declare const __VLS_component: import("vue").DefineComponent<ScrollerProps, {
|
18
16
|
scrollTo: (scrollTop: number) => void;
|
19
17
|
update: () => void;
|
20
18
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
21
19
|
scroll: (...args: any[]) => void;
|
22
|
-
}, string, import("vue").PublicProps, Readonly<ScrollerProps & {
|
20
|
+
}, string, import("vue").PublicProps, Readonly<ScrollerProps> & Readonly<{
|
23
21
|
onScroll?: (...args: any[]) => any;
|
24
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
25
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
22
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
26
24
|
export default _default;
|
27
25
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
28
26
|
new (): {
|
package/esm/coms/Timer.vue.d.ts
CHANGED
@@ -1,13 +1,11 @@
|
|
1
|
-
declare
|
2
|
-
declare var __VLS_inheritedAttrs: {};
|
3
|
-
declare const __VLS_templateResult: {
|
1
|
+
declare function __VLS_template(): {
|
4
2
|
slots: {
|
5
|
-
default?(_:
|
3
|
+
default?(_: {}): any;
|
6
4
|
};
|
7
5
|
refs: {};
|
8
|
-
attrs: Partial<
|
6
|
+
attrs: Partial<{}>;
|
9
7
|
};
|
10
|
-
type
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
9
|
declare const __VLS_component: import("vue").DefineComponent<{}, {
|
12
10
|
restart: () => void;
|
13
11
|
start: () => void;
|
@@ -15,10 +13,10 @@ declare const __VLS_component: import("vue").DefineComponent<{}, {
|
|
15
13
|
reset: () => void;
|
16
14
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
17
15
|
change: (...args: any[]) => void;
|
18
|
-
}, string, import("vue").PublicProps, Readonly<{
|
16
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
19
17
|
onChange?: (...args: any[]) => any;
|
20
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
21
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
22
20
|
export default _default;
|
23
21
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
24
22
|
new (): {
|
@@ -0,0 +1,16 @@
|
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
slots: {
|
3
|
+
default?(_: {}): any;
|
4
|
+
};
|
5
|
+
refs: {};
|
6
|
+
attrs: Partial<{}>;
|
7
|
+
};
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
11
|
+
export default _default;
|
12
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
13
|
+
new (): {
|
14
|
+
$slots: S;
|
15
|
+
};
|
16
|
+
};
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ConditionProps } from "./@types";
|
2
|
-
declare const _default: import("vue").DefineComponent<ConditionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ConditionProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
2
|
+
declare const _default: import("vue").DefineComponent<ConditionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ConditionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
3
3
|
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { ConditionGroupProps } from "./@types";
|
2
|
-
declare const _default: import("vue").DefineComponent<ConditionGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ConditionGroupProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
2
|
+
declare const _default: import("vue").DefineComponent<ConditionGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ConditionGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
3
3
|
export default _default;
|
@@ -10,18 +10,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
10
10
|
change: (value: string) => any;
|
11
11
|
mounted: (monaco: typeof Monaco, editor: Monaco.editor.IStandaloneCodeEditor) => any;
|
12
12
|
"update:modelValue": (value: any) => any;
|
13
|
-
}, string, import("vue").PublicProps, Readonly<
|
14
|
-
config
|
15
|
-
|
16
|
-
modelValue?: string;
|
17
|
-
} & {
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CodeProps>, {
|
14
|
+
config: any;
|
15
|
+
}>>> & Readonly<{
|
18
16
|
onScroll?: (scrollTop: number) => any;
|
19
17
|
onChange?: (value: string) => any;
|
20
18
|
onMounted?: (monaco: typeof Monaco, editor: Monaco.editor.IStandaloneCodeEditor) => any;
|
21
19
|
"onUpdate:modelValue"?: (value: any) => any;
|
22
20
|
}>, {
|
23
21
|
config: any;
|
24
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
25
23
|
export default _default;
|
26
24
|
type __VLS_WithDefaults<P, D> = {
|
27
25
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
@@ -16,17 +16,25 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
16
16
|
change: (...args: any[]) => void;
|
17
17
|
"update:modelValue": (...args: any[]) => void;
|
18
18
|
"update:original": (...args: any[]) => void;
|
19
|
-
}, string, import("vue").PublicProps, Readonly<{
|
20
|
-
inline:
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
19
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
20
|
+
inline: {
|
21
|
+
type: BooleanConstructor;
|
22
|
+
default: boolean;
|
23
|
+
};
|
24
|
+
language: {
|
25
|
+
type: StringConstructor;
|
26
|
+
};
|
27
|
+
original: {
|
28
|
+
type: StringConstructor;
|
29
|
+
};
|
30
|
+
modelValue: {
|
31
|
+
type: StringConstructor;
|
32
|
+
};
|
33
|
+
}>> & Readonly<{
|
26
34
|
onChange?: (...args: any[]) => any;
|
27
35
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
28
36
|
"onUpdate:original"?: (...args: any[]) => any;
|
29
37
|
}>, {
|
30
38
|
inline: boolean;
|
31
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
39
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
32
40
|
export default _default;
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
|
+
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
2
|
export default _default;
|
@@ -6,10 +6,8 @@ type __VLS_PublicProps = {
|
|
6
6
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
7
7
|
scroll: (...args: any[]) => void;
|
8
8
|
change: (...args: any[]) => void;
|
9
|
-
}, string, import("vue").PublicProps, Readonly<{
|
10
|
-
modelValue?: string;
|
11
|
-
} & RichTextProps & {
|
9
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
12
10
|
onScroll?: (...args: any[]) => any;
|
13
11
|
onChange?: (...args: any[]) => any;
|
14
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
12
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
15
13
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
2
|
export default _default;
|
@@ -1,7 +1,8 @@
|
|
1
1
|
import HaCode from "./Code.vue";
|
2
2
|
import HaCompare from "./Compare.vue";
|
3
|
+
import HaInput from "./Input.vue";
|
3
4
|
import HaOption from "./Option.vue";
|
4
5
|
import HaRichText from "./RichText.vue";
|
5
6
|
import HaSelect from "./Select.vue";
|
6
7
|
export * from "./@types";
|
7
|
-
export { HaCode, HaCompare, HaOption, HaRichText, HaSelect };
|
8
|
+
export { HaCode, HaCompare, HaInput, HaOption, HaRichText, HaSelect };
|
package/esm/coms/index.d.ts
CHANGED
@@ -1,15 +1,13 @@
|
|
1
|
-
declare
|
2
|
-
declare var __VLS_inheritedAttrs: {};
|
3
|
-
declare const __VLS_templateResult: {
|
1
|
+
declare function __VLS_template(): {
|
4
2
|
slots: {
|
5
|
-
default?(_:
|
3
|
+
default?(_: {}): any;
|
6
4
|
};
|
7
5
|
refs: {};
|
8
|
-
attrs: Partial<
|
6
|
+
attrs: Partial<{}>;
|
9
7
|
};
|
10
|
-
type
|
11
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
12
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
13
11
|
export default _default;
|
14
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
15
13
|
new (): {
|
@@ -1,24 +1,25 @@
|
|
1
|
-
declare
|
2
|
-
declare var __VLS_inheritedAttrs: {};
|
3
|
-
declare const __VLS_templateResult: {
|
1
|
+
declare function __VLS_template(): {
|
4
2
|
slots: {
|
5
|
-
default?(_:
|
3
|
+
default?(_: {}): any;
|
6
4
|
};
|
7
5
|
refs: {};
|
8
|
-
attrs: Partial<
|
6
|
+
attrs: Partial<{}>;
|
9
7
|
};
|
10
|
-
type
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
11
9
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
12
10
|
container: {
|
13
11
|
type: BooleanConstructor;
|
14
12
|
default: boolean;
|
15
13
|
};
|
16
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
17
|
-
container:
|
18
|
-
|
14
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
15
|
+
container: {
|
16
|
+
type: BooleanConstructor;
|
17
|
+
default: boolean;
|
18
|
+
};
|
19
|
+
}>> & Readonly<{}>, {
|
19
20
|
container: boolean;
|
20
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
21
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
22
23
|
export default _default;
|
23
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
24
25
|
new (): {
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
|
+
export default _default;
|
@@ -1,15 +1,13 @@
|
|
1
|
-
declare
|
2
|
-
declare var __VLS_inheritedAttrs: {};
|
3
|
-
declare const __VLS_templateResult: {
|
1
|
+
declare function __VLS_template(): {
|
4
2
|
slots: {
|
5
|
-
default?(_:
|
3
|
+
default?(_: {}): any;
|
6
4
|
};
|
7
5
|
refs: {};
|
8
|
-
attrs: Partial<
|
6
|
+
attrs: Partial<{}>;
|
9
7
|
};
|
10
|
-
type
|
11
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
12
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
13
11
|
export default _default;
|
14
12
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
15
13
|
new (): {
|
@@ -0,0 +1,2 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
|
+
export default _default;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
2
|
+
'update:modelValue': (modelValue: boolean) => any;
|
3
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
4
|
+
"onUpdate:modelValue"?: (modelValue: boolean) => any;
|
5
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
6
|
+
export default _default;
|
@@ -1,16 +1,14 @@
|
|
1
|
-
import { SocketProgressProps } from "
|
2
|
-
declare
|
3
|
-
declare var __VLS_inheritedAttrs: {};
|
4
|
-
declare const __VLS_templateResult: {
|
1
|
+
import { SocketProgressProps } from "../@types";
|
2
|
+
declare function __VLS_template(): {
|
5
3
|
slots: {
|
6
|
-
default?(_:
|
4
|
+
default?(_: {}): any;
|
7
5
|
};
|
8
6
|
refs: {};
|
9
|
-
attrs: Partial<
|
7
|
+
attrs: Partial<{}>;
|
10
8
|
};
|
11
|
-
type
|
12
|
-
declare const __VLS_component: import("vue").DefineComponent<SocketProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SocketProgressProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
13
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<SocketProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<SocketProgressProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
14
12
|
export default _default;
|
15
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
16
14
|
new (): {
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { TableProps } from "../@types";
|
2
|
+
declare let __VLS_typeProps: TableProps;
|
3
|
+
type __VLS_PublicProps = {
|
4
|
+
'page'?: number;
|
5
|
+
'size'?: number;
|
6
|
+
} & typeof __VLS_typeProps;
|
7
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
8
|
+
'update:page': (page: number) => any;
|
9
|
+
'update:size': (size: number) => any;
|
10
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
11
|
+
"onUpdate:page"?: (page: number) => any;
|
12
|
+
"onUpdate:size"?: (size: number) => any;
|
13
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
14
|
+
export default _default;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import { TabProps } from "
|
2
|
-
declare const _default: import("vue").DefineComponent<TabProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TabProps & {}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}>;
|
1
|
+
import { TabProps } from "../@types";
|
2
|
+
declare const _default: import("vue").DefineComponent<TabProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TabProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
3
3
|
export default _default;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}>;
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
2
2
|
export default _default;
|
@@ -11,23 +11,21 @@ declare abstract class Cdn implements ICdn {
|
|
11
11
|
task: ITask;
|
12
12
|
open(conn: string): Promise<void>;
|
13
13
|
abstract getCrypto(): Promise<any>;
|
14
|
-
getECharts(
|
14
|
+
abstract getECharts(): Promise<any>;
|
15
15
|
abstract getElementPlus(): Promise<any>;
|
16
16
|
abstract getFortAwesome(): Promise<any>;
|
17
17
|
getMonaco(baseUrl?: string): Promise<any>;
|
18
|
-
getQuill(
|
18
|
+
getQuill(): Promise<any>;
|
19
19
|
abstract getWeiXin(): Promise<any>;
|
20
20
|
abstract getXlsx(): Promise<any>;
|
21
|
-
loadFilesAsync(path: string, files: string[]): Promise<void>;
|
22
|
-
loadAsync(path: string | string[]): Promise<HTMLElement[]>;
|
23
21
|
/**
|
24
|
-
*
|
25
|
-
* 这种方式,依赖的内部资源,会从当前站点加载
|
22
|
+
* 使用并发限制顺序加载资源,并防止monaco-editor的define函数冲突
|
26
23
|
*/
|
27
|
-
|
24
|
+
loadByOrder(basePath: string, paths: string[], name: string): Promise<any>;
|
25
|
+
loadFilesAsync(path: string, files: string[]): Promise<void>;
|
28
26
|
/**
|
29
27
|
* 通过注入DOM标签异步加载脚本或样式表,已防重
|
30
28
|
*/
|
31
|
-
|
29
|
+
loadAsync: (url: string | string[]) => Promise<HTMLElement[]>;
|
32
30
|
}
|
33
31
|
export default Cdn;
|
@@ -47,10 +47,5 @@ interface ICdn extends IDriver {
|
|
47
47
|
* 异步加载单个路径下的多个文件
|
48
48
|
*/
|
49
49
|
loadFilesAsync(path: string, files: string[]): Promise<void>;
|
50
|
-
/**
|
51
|
-
* 加载资源,已防重
|
52
|
-
* VIP:同一异步方法被并发调用时,后续的调用会直接完成
|
53
|
-
*/
|
54
|
-
loadAsync(name: string | string[]): Promise<HTMLElement[]>;
|
55
50
|
}
|
56
51
|
export default ICdn;
|