halo-fe 1.0.26 → 1.0.27

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/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%;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;box-shadow:0 0 12px #000000b8;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;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;width:200px}.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.warning .progress-percentage{background:#e6a23c}.ha-socket-progress.warning .progress-text{color:#e6a23c}.ha-socket-progress.error .progress-percentage{background:#f56c6c}.ha-socket-progress.error .progress-text{color:#f56c6c}@keyframes antRotate{to{transform:rotate(405deg)}}@keyframes antSpinMove{to{opacity:1}}.ha-spinner .spinner-dots{position:relative;font-size:20px;width:20px;height:20px;transform:rotate(45deg);animation:antRotate 1.2s linear infinite;margin:0 auto}.ha-spinner .spinner-dots i{position:absolute;display:block;width:9px;height:9px;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s linear infinite alternate}.ha-spinner .spinner-dots i:first-child{top:0;left:0}.ha-spinner .spinner-dots i:nth-child(2){top:0;right:0;animation-delay:.4s}.ha-spinner .spinner-dots i:nth-child(3){right:0;bottom:0;animation-delay:.8s}.ha-spinner .spinner-dots i:nth-child(4){bottom:0;left:0;animation-delay:1.2s}.ha-spinner .spinner-title{color:#f40}.ha-spinner .stack{color:#a3a6ad;white-space:pre-wrap}.ha-spinner .spinner-text{text-align:center;font-size:14px;margin-top:10px}.ha-spinner.is-loading{height:100%;display:flex;align-items:center;justify-content:center}.ha-spinner.is-error{padding:10px;font-size:14px;transition:none}.ha-spinner.is-error .retry{color:#38c;cursor:pointer;margin-left:5px}.ha-spinner.is-error .retry:active{color:#f40}
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;box-shadow:0 0 12px #000000b8;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;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;display:flex;align-items:center}.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;width:400px}.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-info{font-size:12px;display:flex;justify-content:space-between;color:#aaa}.ha-socket-progress .progress-text{color:#cfd3dc}.ha-socket-progress.warning .progress-percentage{background:#e6a23c}.ha-socket-progress.warning .progress-text{color:#e6a23c}.ha-socket-progress.error .progress-percentage{background:#f56c6c}.ha-socket-progress.error .progress-text{color:#f56c6c}@keyframes antRotate{to{transform:rotate(405deg)}}@keyframes antSpinMove{to{opacity:1}}.ha-spinner .spinner-dots{position:relative;font-size:20px;width:20px;height:20px;transform:rotate(45deg);animation:antRotate 1.2s linear infinite;margin:0 auto}.ha-spinner .spinner-dots i{position:absolute;display:block;width:9px;height:9px;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s linear infinite alternate}.ha-spinner .spinner-dots i:first-child{top:0;left:0}.ha-spinner .spinner-dots i:nth-child(2){top:0;right:0;animation-delay:.4s}.ha-spinner .spinner-dots i:nth-child(3){right:0;bottom:0;animation-delay:.8s}.ha-spinner .spinner-dots i:nth-child(4){bottom:0;left:0;animation-delay:1.2s}.ha-spinner .spinner-title{color:#f40}.ha-spinner .stack{color:#a3a6ad;white-space:pre-wrap}.ha-spinner .spinner-text{text-align:center;font-size:14px;margin-top:10px}.ha-spinner.is-loading{height:100%;display:flex;align-items:center;justify-content:center}.ha-spinner.is-error{padding:10px;font-size:14px;transition:none}.ha-spinner.is-error .retry{color:#38c;cursor:pointer;margin-left:5px}.ha-spinner.is-error .retry:active{color:#f40}.ha-dance{display:flex;align-items:center}.ha-dance .char{animation:animationText 1s ease-in-out infinite alternate}@keyframes animationText{0%{transform:matrix(1,0,0,1,0,-2)}to{transform:matrix(1,0,0,1,0,2)}}
@@ -2,6 +2,14 @@
2
2
  * 实时进度属性
3
3
  */
4
4
  interface SocketProgressProps {
5
+ /**
6
+ * 标题
7
+ */
8
+ title?: string;
9
+ /**
10
+ * 当前处理项的属性名
11
+ */
12
+ current?: string;
5
13
  /**
6
14
  * 进度数据
7
15
  */
@@ -10,4 +10,5 @@ export * from "./layouts";
10
10
  export * from "./progresses";
11
11
  export * from "./tables";
12
12
  export * from "./tabs";
13
+ export * from "./texts";
13
14
  export { HaEmpty, HaFill, HaScroller, HaTimer };
@@ -3,11 +3,15 @@ declare function __VLS_template(): {
3
3
  slots: {
4
4
  default?(_: {}): any;
5
5
  };
6
- refs: {};
6
+ refs: {
7
+ rowRef: HTMLDivElement;
8
+ };
7
9
  attrs: Partial<{}>;
8
10
  };
9
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
- declare const __VLS_component: import("vue").DefineComponent<RowProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RowProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ declare const __VLS_component: import("vue").DefineComponent<RowProps, {
13
+ ref: import("vue").Ref<any, any>;
14
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RowProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
11
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
16
  export default _default;
13
17
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,14 @@
1
+ /**
2
+ * 跳动属性
3
+ */
4
+ interface DanceProps {
5
+ /**
6
+ * 文本
7
+ */
8
+ text: string;
9
+ /**
10
+ * 动画开始延时
11
+ */
12
+ delay?: number;
13
+ }
14
+ export default DanceProps;
@@ -0,0 +1,2 @@
1
+ import DanceProps from "./DanceProps";
2
+ export { type DanceProps };
@@ -0,0 +1,5 @@
1
+ import { DanceProps } from "./@types";
2
+ declare const _default: import("vue").DefineComponent<DanceProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DanceProps> & Readonly<{}>, {
3
+ delay: number;
4
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import HaDance from "./Dance.vue";
2
+ export { HaDance };
@@ -29,7 +29,7 @@ declare abstract class Http implements IHttp {
29
29
  set onRequest(value: (request: HttpRequest) => Promise<void>);
30
30
  get onResponse(): (response: HttpResponse) => Promise<void>;
31
31
  set onResponse(value: (response: HttpResponse) => Promise<void>);
32
- prepareAsync(request: HttpRequest, variables: string[]): Promise<void>;
32
+ prepareAsync(request: HttpRequest, variables?: string[]): Promise<void>;
33
33
  get: (path: string, params?: any) => Promise<any>;
34
34
  getAsync: (path: string, params?: any) => Promise<HttpResponse>;
35
35
  post: (path: string, body: any) => Promise<any>;
@@ -0,0 +1,8 @@
1
+ import Http from "../Http";
2
+ /**
3
+ * 飞书Http请求器
4
+ */
5
+ declare class FeiShuHttp extends Http {
6
+ type: string;
7
+ }
8
+ export default FeiShuHttp;
@@ -36,7 +36,7 @@ declare abstract class I18n implements II18n {
36
36
  addMessages: (messages: {
37
37
  [key: string]: string;
38
38
  }) => void;
39
- abstract load(lang: string): Promise<void>;
39
+ abstract loadAsync(lang: string): Promise<void>;
40
40
  switch: (lang: string) => Promise<void>;
41
41
  }
42
42
  export default I18n;
@@ -75,7 +75,7 @@ interface II18n extends IDriver, IOpen {
75
75
  /**
76
76
  * 加载指定语言包,需http请求器先加载完毕
77
77
  */
78
- load(lang: string): Promise<void>;
78
+ loadAsync(lang: string): Promise<void>;
79
79
  /**
80
80
  * 切换语言,自动加载菜单
81
81
  */
@@ -8,6 +8,6 @@ declare class DefaultI18n extends I18n {
8
8
  openAsync(conn?: string): Promise<void>;
9
9
  translate: (key: string, params?: any) => string;
10
10
  t_exists: (key: string) => boolean;
11
- load: (lang: string) => Promise<void>;
11
+ loadAsync: (lang: string) => Promise<void>;
12
12
  }
13
13
  export default DefaultI18n;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Socket响应消息
3
3
  */
4
- interface SocketResponse<T> {
4
+ declare class SocketResponse<T> {
5
5
  /**
6
6
  * 是否执行成功
7
7
  */
@@ -10,10 +10,14 @@ interface SocketResponse<T> {
10
10
  * 异常消息
11
11
  */
12
12
  message: string;
13
+ /**
14
+ * 耗时
15
+ */
16
+ elapsed: number;
13
17
  /**
14
18
  * 消息类别
15
19
  */
16
- king: string;
20
+ kind: string;
17
21
  /**
18
22
  * 消息类型
19
23
  */
@@ -22,5 +26,17 @@ interface SocketResponse<T> {
22
26
  * 数据体
23
27
  */
24
28
  data: T;
29
+ /**
30
+ * 初始化并设置数据
31
+ */
32
+ constructor(kind: string, type: string, data: T);
33
+ /**
34
+ * 成功输出
35
+ */
36
+ onOk(message?: string): void;
37
+ /**
38
+ * 异常输出
39
+ */
40
+ onError(message: string): void;
25
41
  }
26
42
  export default SocketResponse;
@@ -1,3 +1,3 @@
1
1
  import SocketProgress from "./SocketProgress";
2
2
  import SocketResponse from "./SocketResponse";
3
- export { SocketProgress, type SocketResponse, };
3
+ export { SocketProgress, SocketResponse, };
@@ -6,6 +6,6 @@ interface ITemplate extends IDriver {
6
6
  /**
7
7
  * 模板渲染
8
8
  */
9
- render(template: string, model: any): Promise<string>;
9
+ renderAsync(template: string, model: any): Promise<string>;
10
10
  }
11
11
  export default ITemplate;
@@ -1,6 +1,6 @@
1
1
  import ITemplate from "./ITemplate";
2
2
  declare abstract class Template implements ITemplate {
3
3
  type: string;
4
- abstract render(template: string, model: any): Promise<string>;
4
+ abstract renderAsync(template: string, model: any): Promise<string>;
5
5
  }
6
6
  export default Template;
@@ -1,6 +1,6 @@
1
1
  import Template from "../Template";
2
2
  declare class LiquidTemplate extends Template {
3
3
  type: string;
4
- render(template: string, model: any): Promise<string>;
4
+ renderAsync(template: string, model: any): Promise<string>;
5
5
  }
6
6
  export default LiquidTemplate;
@@ -5,7 +5,7 @@ import Util from "../Util";
5
5
  declare class ObjectUtil extends Util {
6
6
  type: string;
7
7
  /**
8
- * 净化对象,返回不带默认属性的对象
8
+ * 净化对象,只清除默认值属性
9
9
  */
10
10
  pure(input: object): {};
11
11
  /**
@@ -35,7 +35,7 @@ declare class TimeUtil extends Util {
35
35
  /**
36
36
  * 格式化时间
37
37
  */
38
- formatDateTime: (value: number) => string;
38
+ formatDateTime: (value: any) => string;
39
39
  /**
40
40
  * 获取当前日期时间的字符串
41
41
  */
@@ -1,6 +1,6 @@
1
1
  import Factory from "../factory/Factory";
2
2
  import IRepo from "./IRepo";
3
- import PageRepo from "./implements/PageRepo";
3
+ import ModuleRepo from "./implements/ModuleRepo";
4
4
  import QueryRepo from "./implements/QueryRepo";
5
5
  import SettingRepo from "./implements/SettingRepo";
6
6
  /**
@@ -9,9 +9,9 @@ import SettingRepo from "./implements/SettingRepo";
9
9
  declare class RepoFactory extends Factory<IRepo> {
10
10
  open(): void;
11
11
  /**
12
- * 页面仓储
12
+ * 模块仓储
13
13
  */
14
- get page(): PageRepo;
14
+ get module(): ModuleRepo;
15
15
  /**
16
16
  * 查询仓储
17
17
  */
@@ -0,0 +1,8 @@
1
+ /**
2
+ * 键盘事件类型
3
+ */
4
+ declare enum KeyboardType {
5
+ ctrlS = 0,
6
+ ctrlEnter = 1
7
+ }
8
+ export default KeyboardType;
@@ -0,0 +1,2 @@
1
+ import KeyboardType from "./KeyboardType";
2
+ export { KeyboardType };
@@ -0,0 +1,36 @@
1
+ import Repo from "../Repo";
2
+ import { KeyboardType } from "../entities";
3
+ /**
4
+ * 模块仓储
5
+ */
6
+ declare class ModuleRepo extends Repo {
7
+ type: string;
8
+ /**
9
+ * 获取表的默认行数据
10
+ */
11
+ getDefaultRow: (table: any) => any;
12
+ /**
13
+ * 更新提示内容
14
+ */
15
+ updateTooltipByFields(table: string, row: any, fields: any[]): void;
16
+ /**
17
+ * 展开数据和架构信息
18
+ */
19
+ expandSet: (schema: any[], set: any) => any;
20
+ /**
21
+ * 展开架构信息
22
+ */
23
+ expandSchema(schema: any[], set: {
24
+ [key: string]: any;
25
+ }): any[];
26
+ /**
27
+ * 展开所有数据表的搜索字段信息
28
+ */
29
+ expandSearch(schema: any[]): any[];
30
+ /**
31
+ * 触发键盘事件
32
+ * 统一封装,方便重构
33
+ */
34
+ triggerKeyboardHandler: (ref: any, type: KeyboardType, event: KeyboardEvent) => boolean;
35
+ }
36
+ export default ModuleRepo;
@@ -1,12 +1,13 @@
1
1
  import RepoFactory from "./RepoFactory";
2
- import PageRepo from "./implements/PageRepo";
2
+ import ModuleRepo from "./implements/ModuleRepo";
3
3
  import QueryRepo from "./implements/QueryRepo";
4
4
  import SettingRepo from "./implements/SettingRepo";
5
- declare let pageRepo: PageRepo;
5
+ export * from "./entities";
6
+ declare let moduleRepo: ModuleRepo;
6
7
  declare let queryRepo: QueryRepo;
7
8
  declare let settingRepo: SettingRepo;
8
9
  /**
9
10
  * 初始化全局仓储对象
10
11
  */
11
12
  declare let initRepoAsync: () => Promise<void>;
12
- export { initRepoAsync, pageRepo, queryRepo, settingRepo, RepoFactory, };
13
+ export { initRepoAsync, moduleRepo, queryRepo, settingRepo, RepoFactory, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "halo-fe",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "Halo front end sdk",
5
5
  "scripts": {
6
6
  "halo-fe:tsc": "vue-tsc",
@@ -37,18 +37,18 @@
37
37
  "moment": "2.30.1",
38
38
  "underscore": "1.13.7",
39
39
  "underscore.string": "3.3.6",
40
- "vue": "3.5.9"
40
+ "vue": "3.5.12"
41
41
  },
42
42
  "devDependencies": {
43
- "@types/node": "22.7.3",
43
+ "@types/node": "22.7.5",
44
44
  "@vitejs/plugin-vue": "5.1.4",
45
45
  "@vitejs/plugin-vue-jsx": "4.0.1",
46
46
  "crypto-js": "4.2.0",
47
47
  "echarts": "5.5.1",
48
48
  "monaco-editor": "0.52.0",
49
49
  "quill": "2.0.2",
50
- "sass": "1.79.3",
51
- "vite": "5.4.8",
50
+ "sass": "1.79.5",
51
+ "vite": "5.4.9",
52
52
  "vue-tsc": "2.1.6",
53
53
  "xlsx-js-style": "1.2.0"
54
54
  }