halo-fe 1.0.19 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.js +107 -102
- package/esm/@types/CreateFeOptions.d.ts +25 -0
- package/esm/@types/index.d.ts +2 -0
- package/esm/coms/@types/ScrollerProps.d.ts +15 -0
- package/esm/coms/@types/index.d.ts +2 -0
- package/esm/coms/Scroller.vue.d.ts +1 -1
- package/esm/coms/conditions/@types/ConditionGroupProps.d.ts +11 -0
- package/esm/coms/conditions/@types/ConditionProps.d.ts +18 -0
- package/esm/coms/conditions/@types/index.d.ts +3 -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/@types/CodeEmit.d.ts +23 -0
- package/esm/coms/controls/@types/CodeProps.d.ts +28 -0
- package/esm/coms/controls/@types/Range.d.ts +26 -0
- package/esm/coms/controls/@types/RichTextOptions.d.ts +14 -0
- package/esm/coms/controls/@types/RichTextProps.d.ts +12 -0
- package/esm/coms/controls/@types/index.d.ts +6 -0
- package/esm/coms/controls/Code.vue.d.ts +1 -1
- package/esm/coms/controls/RichText.vue.d.ts +1 -1
- package/esm/coms/controls/index.d.ts +1 -1
- package/esm/coms/index.d.ts +1 -1
- package/esm/coms/layouts/@types/RowProps.d.ts +14 -0
- package/esm/coms/layouts/@types/index.d.ts +2 -0
- package/esm/coms/layouts/Row.vue.d.ts +1 -1
- package/esm/coms/layouts/index.d.ts +1 -1
- package/esm/coms/progresses/@types/SocketProgressProps.d.ts +23 -0
- package/esm/coms/progresses/@types/index.d.ts +2 -0
- package/esm/coms/progresses/SocketProgress.vue.d.ts +1 -1
- package/esm/coms/tabs/@types/TabProps.d.ts +7 -0
- package/esm/coms/tabs/@types/index.d.ts +2 -0
- package/esm/coms/tabs/Tab.vue.d.ts +1 -1
- package/esm/drivers/@types/IDispose.d.ts +10 -0
- package/esm/drivers/@types/IDriver.d.ts +10 -0
- package/esm/drivers/@types/IOpen.d.ts +10 -0
- package/esm/drivers/@types/index.d.ts +4 -0
- package/esm/drivers/bridges/IBridge.d.ts +1 -1
- package/esm/drivers/builders/IBuilder.d.ts +1 -1
- package/esm/drivers/cdns/ICdn.d.ts +1 -1
- package/esm/drivers/excels/IExcel.d.ts +1 -1
- package/esm/drivers/explainers/IExplainer.d.ts +1 -1
- package/esm/drivers/features/IFeature.d.ts +1 -1
- package/esm/drivers/https/IHttp.d.ts +1 -1
- package/esm/drivers/i18ns/I18n.d.ts +0 -3
- package/esm/drivers/i18ns/II18n.d.ts +7 -1
- package/esm/drivers/index.d.ts +1 -1
- package/esm/drivers/messengers/IMessenger.d.ts +1 -1
- package/esm/drivers/providers/IProvider.d.ts +1 -1
- package/esm/drivers/ssos/ISso.d.ts +1 -1
- package/esm/drivers/tasks/ITask.d.ts +1 -1
- package/esm/drivers/templates/ITemplate.d.ts +1 -1
- package/esm/drivers/videos/IVideo.d.ts +1 -1
- package/esm/drivers/voices/IVoice.d.ts +1 -1
- package/esm/factorying/Factory.d.ts +1 -1
- package/esm/factorying/index.d.ts +2 -2
- package/esm/helpers/@types/JsonConfig.d.ts +10 -0
- package/esm/helpers/@types/TreeNodeProp.d.ts +9 -0
- package/esm/helpers/@types/index.d.ts +3 -0
- package/esm/helpers/JsonHelper.d.ts +1 -1
- package/esm/main.d.ts +2 -2
- package/esm/svcs/@types/Dictionary.d.ts +4 -0
- package/esm/svcs/@types/index.d.ts +2 -0
- package/esm/svcs/implement/ConfigSvc.d.ts +1 -1
- package/esm/svcs/implement/LogSvc.d.ts +3 -0
- package/esm/svcs/index.d.ts +1 -1
- package/esm/utilities/@types/DragEvent.d.ts +11 -0
- package/esm/utilities/@types/DragOptions.d.ts +28 -0
- package/esm/utilities/@types/Position.d.ts +15 -0
- package/esm/utilities/@types/Rect.d.ts +10 -0
- package/esm/utilities/@types/index.d.ts +5 -0
- package/esm/utilities/EventUtility.d.ts +1 -1
- package/esm/utilities/index.d.ts +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ConditionProps } from "
|
1
|
+
import { ConditionProps } from "./@types";
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ConditionProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ConditionProps>>>, {}, {}>;
|
3
3
|
export default _default;
|
4
4
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ConditionGroupProps } from "
|
1
|
+
import { ConditionGroupProps } from "./@types";
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<ConditionGroupProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<ConditionGroupProps>>>, {}, {}>;
|
3
3
|
export default _default;
|
4
4
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { Monaco } from "../../../plugins";
|
2
|
+
/**
|
3
|
+
* 代码控件事件
|
4
|
+
*/
|
5
|
+
interface CodeEmit {
|
6
|
+
/**
|
7
|
+
* 挂载完毕事件
|
8
|
+
*/
|
9
|
+
(event: 'mounted', monaco: typeof Monaco, editor: Monaco.editor.IStandaloneCodeEditor): void;
|
10
|
+
/**
|
11
|
+
* 值变动事件
|
12
|
+
*/
|
13
|
+
(event: 'change', value: string): void;
|
14
|
+
/**
|
15
|
+
* 滚动事件
|
16
|
+
*/
|
17
|
+
(event: 'scroll', scrollTop: number): void;
|
18
|
+
/**
|
19
|
+
* 值更新
|
20
|
+
*/
|
21
|
+
(event: 'update:modelValue', value: any): void;
|
22
|
+
}
|
23
|
+
export default CodeEmit;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import Range from "./Range";
|
2
|
+
/**
|
3
|
+
* 代码属性
|
4
|
+
*/
|
5
|
+
interface CodeProps {
|
6
|
+
/**
|
7
|
+
* 配置
|
8
|
+
*/
|
9
|
+
config?: {
|
10
|
+
readonly?: boolean;
|
11
|
+
lineNumbers?: string;
|
12
|
+
minimap?: boolean;
|
13
|
+
category?: string;
|
14
|
+
schema?: any;
|
15
|
+
language?: string;
|
16
|
+
scrollTop?: number;
|
17
|
+
selection?: Range;
|
18
|
+
};
|
19
|
+
/**
|
20
|
+
* 是否显示边框
|
21
|
+
*/
|
22
|
+
border?: boolean;
|
23
|
+
/**
|
24
|
+
* 值
|
25
|
+
*/
|
26
|
+
modelValue?: string;
|
27
|
+
}
|
28
|
+
export default CodeProps;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
/**
|
2
|
+
* 范围
|
3
|
+
*/
|
4
|
+
declare class Range {
|
5
|
+
/**
|
6
|
+
* 起始行号
|
7
|
+
*/
|
8
|
+
startLine: number;
|
9
|
+
/**
|
10
|
+
* 结束行号
|
11
|
+
*/
|
12
|
+
endLine: number;
|
13
|
+
/**
|
14
|
+
* 起始列
|
15
|
+
*/
|
16
|
+
startColumn: number;
|
17
|
+
/**
|
18
|
+
* 结束列
|
19
|
+
*/
|
20
|
+
endColumn: number;
|
21
|
+
/**
|
22
|
+
* 初始化
|
23
|
+
*/
|
24
|
+
constructor(startLine: number, endLine: number, startColumn: number, endColumn: number);
|
25
|
+
}
|
26
|
+
export default Range;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import CodeEmit from "./CodeEmit";
|
2
|
+
import CodeProps from "./CodeProps";
|
3
|
+
import Range from "./Range";
|
4
|
+
import RichTextOptions from "./RichTextOptions";
|
5
|
+
import RichTextProps from "./RichTextProps";
|
6
|
+
export { type CodeEmit, type CodeProps, Range, type RichTextOptions, type RichTextProps, };
|
@@ -3,5 +3,5 @@ import HaCompare from "./Compare.vue";
|
|
3
3
|
import HaOption from "./Option.vue";
|
4
4
|
import HaRichText from "./RichText.vue";
|
5
5
|
import HaSelect from "./Select.vue";
|
6
|
-
export * from "
|
6
|
+
export * from "./@types";
|
7
7
|
export { HaCode, HaCompare, HaOption, HaRichText, HaSelect };
|
package/esm/coms/index.d.ts
CHANGED
@@ -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;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { SocketProgressProps } from "
|
1
|
+
import { SocketProgressProps } from "./@types";
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<SocketProgressProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<SocketProgressProps>>>, {}, {}>;
|
3
3
|
export default _default;
|
4
4
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { TabProps } from "
|
1
|
+
import { TabProps } from "./@types";
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<TabProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<TabProps>>>, {}, {}>;
|
3
3
|
export default _default;
|
4
4
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { IDriver, IOpen } from "
|
1
|
+
import { IDriver, IOpen } from "../@types";
|
2
2
|
/**
|
3
3
|
* 多语言翻译接口
|
4
4
|
*/
|
@@ -58,6 +58,12 @@ interface II18n extends IDriver, IOpen {
|
|
58
58
|
* 系统标题
|
59
59
|
*/
|
60
60
|
t_title(): string;
|
61
|
+
/**
|
62
|
+
* 添加自定义多语言包
|
63
|
+
*/
|
64
|
+
addMessages(messages: {
|
65
|
+
[key: string]: string;
|
66
|
+
}): void;
|
61
67
|
/**
|
62
68
|
* 加载指定语言包
|
63
69
|
*/
|
package/esm/drivers/index.d.ts
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
export * from "./@types";
|
1
2
|
export * from "./bridges";
|
2
3
|
export * from "./builders";
|
3
4
|
export * from "./cdns";
|
@@ -14,6 +15,5 @@ export * from "./signers";
|
|
14
15
|
export * from "./ssos";
|
15
16
|
export * from "./tasks";
|
16
17
|
export * from "./templates";
|
17
|
-
export * from "./types";
|
18
18
|
export * from "./videos";
|
19
19
|
export * from "./voices";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import Factories from "./Factories";
|
2
2
|
import { ICdn, IEncoder, IHasher, II18n, IHttp, IMessenger, ITemplate } from "../drivers";
|
3
|
-
import { CreateFeOptions } from "
|
3
|
+
import { CreateFeOptions } from "../@types";
|
4
4
|
/**
|
5
5
|
* 默认base64编码
|
6
6
|
*/
|
@@ -40,5 +40,5 @@ declare let initI18n: () => Promise<void>;
|
|
40
40
|
/**
|
41
41
|
* 提取可导出的翻译方法,当i18n实例变化后,导出的方案会跟着变化?
|
42
42
|
*/
|
43
|
-
declare let t:
|
43
|
+
declare let t: typeof i18n.t, t_exists: typeof i18n.t_exists, t_sys: typeof i18n.t_sys, t_enum: typeof i18n.t_enum, t_field: typeof i18n.t_field, t_field_choose_placeholder: typeof i18n.t_field_choose_placeholder, t_field_placeholder: typeof i18n.t_field_placeholder, t_table: typeof i18n.t_table, t_module: typeof i18n.t_module, t_menu: typeof i18n.t_menu;
|
44
44
|
export { base64, cdn, http, i18n, md5, template, messenger, initDriver, initI18n, Factories, t, t_exists, t_sys, t_enum, t_field, t_field_choose_placeholder, t_field_placeholder, t_table, t_module, t_menu };
|
package/esm/main.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CreateFeOptions } from "
|
1
|
+
import { CreateFeOptions } from "./@types";
|
2
2
|
import "./styles/index.scss";
|
3
3
|
export * from "./coms";
|
4
4
|
export * from "./drivers";
|
@@ -7,7 +7,7 @@ export * from "./helpers";
|
|
7
7
|
export * from "./plugins";
|
8
8
|
export * from "./repos";
|
9
9
|
export * from "./svcs";
|
10
|
-
export * from "
|
10
|
+
export * from "./@types";
|
11
11
|
export * from "./utilities";
|
12
12
|
/**
|
13
13
|
* 初始化前端基础框架
|
package/esm/svcs/index.d.ts
CHANGED
@@ -4,7 +4,7 @@ import LogSvc from "./implement/LogSvc";
|
|
4
4
|
import SocketSvc from "./implement/SocketSvc";
|
5
5
|
import UserSvc from "./implement/UserSvc";
|
6
6
|
import SvcFactory from "./SvcFactory";
|
7
|
-
import { CreateFeOptions } from "
|
7
|
+
import { CreateFeOptions } from "../@types";
|
8
8
|
/**
|
9
9
|
* 驱动服务实例
|
10
10
|
*/
|