@oinone/kunlun-meta 6.4.1 → 7.1.0

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.
Files changed (92) hide show
  1. package/dist/oinone-kunlun-meta.esm.js +56 -70
  2. package/dist/types/index.d.ts +1 -1
  3. package/dist/types/src/element/ActionElement.d.ts +15 -15
  4. package/dist/types/src/element/ApiElement.d.ts +21 -21
  5. package/dist/types/src/element/ClearElement.d.ts +9 -9
  6. package/dist/types/src/element/ConfigElement.d.ts +6 -6
  7. package/dist/types/src/element/ContextElement.d.ts +9 -9
  8. package/dist/types/src/element/CustomElement.d.ts +7 -7
  9. package/dist/types/src/element/FieldElement.d.ts +25 -25
  10. package/dist/types/src/element/IBaseElement.d.ts +5 -5
  11. package/dist/types/src/element/PropElement.d.ts +6 -6
  12. package/dist/types/src/element/RequestElement.d.ts +9 -9
  13. package/dist/types/src/element/ResponseElement.d.ts +9 -9
  14. package/dist/types/src/element/SubscribeElement.d.ts +9 -9
  15. package/dist/types/src/element/ValidationElement.d.ts +12 -12
  16. package/dist/types/src/element/ViewElement.d.ts +15 -15
  17. package/dist/types/src/element/WidgetElement.d.ts +23 -23
  18. package/dist/types/src/element/index.d.ts +14 -14
  19. package/dist/types/src/global-config/index.d.ts +2 -2
  20. package/dist/types/src/global-config/runtime-config.d.ts +14 -14
  21. package/dist/types/src/global-config/type.d.ts +26 -26
  22. package/dist/types/src/index.d.ts +5 -5
  23. package/dist/types/src/metadata/constant/config.d.ts +1 -1
  24. package/dist/types/src/metadata/constant/index.d.ts +2 -2
  25. package/dist/types/src/metadata/constant/module-name.d.ts +24 -24
  26. package/dist/types/src/metadata/fragment/action.d.ts +6 -6
  27. package/dist/types/src/metadata/fragment/field.d.ts +2 -2
  28. package/dist/types/src/metadata/fragment/func.d.ts +2 -2
  29. package/dist/types/src/metadata/fragment/index.d.ts +13 -13
  30. package/dist/types/src/metadata/fragment/menu.d.ts +2 -2
  31. package/dist/types/src/metadata/fragment/model.d.ts +2 -2
  32. package/dist/types/src/metadata/fragment/page.d.ts +2 -2
  33. package/dist/types/src/metadata/index.d.ts +4 -4
  34. package/dist/types/src/metadata/runtime-fragment/action.d.ts +8 -8
  35. package/dist/types/src/metadata/runtime-fragment/function.d.ts +3 -3
  36. package/dist/types/src/metadata/runtime-fragment/index.d.ts +20 -20
  37. package/dist/types/src/metadata/runtime-fragment/model.d.ts +2 -2
  38. package/dist/types/src/metadata/runtime-fragment/module.d.ts +2 -2
  39. package/dist/types/src/metadata/runtime-fragment/view.d.ts +6 -6
  40. package/dist/types/src/metadata/types/dsl-node.d.ts +12 -12
  41. package/dist/types/src/metadata/types/enumeration.d.ts +18 -18
  42. package/dist/types/src/metadata/types/index.d.ts +8 -8
  43. package/dist/types/src/metadata/types/layout.d.ts +4 -4
  44. package/dist/types/src/metadata/types/model.d.ts +584 -584
  45. package/dist/types/src/metadata/types/tag.d.ts +23 -23
  46. package/dist/types/src/metadata/types/user.d.ts +22 -22
  47. package/dist/types/src/metadata/types/value.d.ts +3 -3
  48. package/dist/types/src/metadata/types/view.d.ts +170 -170
  49. package/dist/types/src/plugin-loader/factory/PluginLoaderFactory.d.ts +4 -4
  50. package/dist/types/src/plugin-loader/factory/index.d.ts +1 -1
  51. package/dist/types/src/plugin-loader/index.d.ts +5 -5
  52. package/dist/types/src/plugin-loader/loader/CJSPluginLoader.d.ts +7 -7
  53. package/dist/types/src/plugin-loader/loader/CSSPluginLoader.d.ts +7 -7
  54. package/dist/types/src/plugin-loader/loader/ESMPluginLoader.d.ts +7 -7
  55. package/dist/types/src/plugin-loader/loader/IIFEPluginLoader.d.ts +7 -7
  56. package/dist/types/src/plugin-loader/loader/LoadedEvent.d.ts +4 -4
  57. package/dist/types/src/plugin-loader/loader/PluginLoader.d.ts +5 -5
  58. package/dist/types/src/plugin-loader/loader/RemotePluginLoader.d.ts +5 -5
  59. package/dist/types/src/plugin-loader/loader/UMDPluginLoader.d.ts +6 -6
  60. package/dist/types/src/plugin-loader/loader/index.d.ts +1 -1
  61. package/dist/types/src/plugin-loader/typing/index.d.ts +2 -2
  62. package/dist/types/src/plugin-loader/typing/load-option.d.ts +48 -48
  63. package/dist/types/src/plugin-loader/typing/loader-config.d.ts +38 -38
  64. package/dist/types/src/plugin-loader/util/PluginLoadHelper.d.ts +7 -7
  65. package/dist/types/src/plugin-loader/util/index.d.ts +1 -1
  66. package/dist/types/src/util/element.d.ts +16 -16
  67. package/dist/types/src/util/field.d.ts +9 -9
  68. package/dist/types/src/util/helper.d.ts +2 -2
  69. package/dist/types/src/util/index.d.ts +6 -6
  70. package/dist/types/src/util/ke-common.d.ts +6 -6
  71. package/dist/types/src/util/lang.d.ts +4 -4
  72. package/dist/types/src/util/validation-utils.d.ts +3 -3
  73. package/package.json +19 -8
  74. package/src/element/SubscribeElement.ts +1 -1
  75. package/src/global-config/runtime-config.ts +1 -1
  76. package/src/metadata/runtime-fragment/index.ts +1 -10
  77. package/src/metadata/types/model.ts +2 -2
  78. package/src/metadata/types/view.ts +1 -1
  79. package/src/plugin-loader/factory/PluginLoaderFactory.ts +1 -1
  80. package/src/plugin-loader/index.ts +1 -1
  81. package/src/plugin-loader/loader/CJSPluginLoader.ts +1 -1
  82. package/src/plugin-loader/loader/CSSPluginLoader.ts +1 -1
  83. package/src/plugin-loader/loader/ESMPluginLoader.ts +1 -1
  84. package/src/plugin-loader/loader/IIFEPluginLoader.ts +1 -1
  85. package/src/plugin-loader/loader/PluginLoader.ts +1 -1
  86. package/src/plugin-loader/loader/RemotePluginLoader.ts +1 -1
  87. package/src/plugin-loader/loader/UMDPluginLoader.ts +1 -1
  88. package/src/plugin-loader/typing/loader-config.ts +1 -1
  89. package/src/plugin-loader/util/PluginLoadHelper.ts +1 -1
  90. package/src/util/element.ts +2 -12
  91. package/src/util/field.ts +1 -1
  92. package/rollup.config.js +0 -4
@@ -1,23 +1,23 @@
1
- declare enum ElementType {
2
- MASK = "MASK",
3
- BLOCK = "BLOCK",
4
- HEADER = "HEADER",
5
- CONTAINER = "CONTAINER",
6
- SIDEBAR = "SIDEBAR",
7
- CONTENT = "CONTENT",
8
- VIEW = "VIEW",
9
- FIELD = "FIELD",
10
- GROUP = "GROUP",
11
- GRID = "GRID",
12
- ACTION = "ACTION",
13
- API = "API",
14
- CONTEXT = "CONTEXT",
15
- REQUEST = "REQUEST",
16
- RESPONSE = "RESPONSE",
17
- CLEAR = "CLEAR",
18
- FILTER = "FILTER",
19
- WIDGET = "WIDGET",
20
- PROP = "PROP",
21
- VALIDATION = "VALIDATION"
22
- }
23
- export { ElementType };
1
+ declare enum ElementType {
2
+ MASK = "MASK",
3
+ BLOCK = "BLOCK",
4
+ HEADER = "HEADER",
5
+ CONTAINER = "CONTAINER",
6
+ SIDEBAR = "SIDEBAR",
7
+ CONTENT = "CONTENT",
8
+ VIEW = "VIEW",
9
+ FIELD = "FIELD",
10
+ GROUP = "GROUP",
11
+ GRID = "GRID",
12
+ ACTION = "ACTION",
13
+ API = "API",
14
+ CONTEXT = "CONTEXT",
15
+ REQUEST = "REQUEST",
16
+ RESPONSE = "RESPONSE",
17
+ CLEAR = "CLEAR",
18
+ FILTER = "FILTER",
19
+ WIDGET = "WIDGET",
20
+ PROP = "PROP",
21
+ VALIDATION = "VALIDATION"
22
+ }
23
+ export { ElementType };
@@ -1,22 +1,22 @@
1
- export declare enum UserBehaviorEventEnum {
2
- SIGN_UP_PHONE = "SIGN_UP_PHONE",
3
- SIGN_UP_EMAIL = "SIGN_UP_EMAIL",
4
- PHONE_MODIFY_PASSWORD_BY_PHONE_SUBMIT = "MODIFY_PASSWORD_BY_PHONE",
5
- PHONE_MODIFY_PASSWORD_BY_PHONE_SEND_CODE = "MODIFY_PASSWORD_BYPHONE_SEND_CODE",
6
- EMAIL_MODIFY_PASSWORD_BY_EMAIL_SUBMIT = "MODIFY_PASSWORD_BY_EMAIL",
7
- EMAIL_MODIFY_PASSWORD_BY_EMAIL_SEND_CODE = "MODIFY_PASSWORD_SEND_RESET_EMAIL",
8
- PHONE_MODIFY_PHONE_SUBMIT = "MODIFY_PHONE",
9
- PHONE_MODIFY_PHONE_OLD_PHONE_CODE = "MODIFY_PHONE_OLD_PHONE_CODE",
10
- EMAIL_MODIFY_PHONE_SEND_EMAIL_CODE = "MODIFY_PHONE_SEND_EMAIL",
11
- PHONE_MODIFY_PHONE_NEW_PHONE_CODE = "MODIFY_PHONE_NEW_PHONE_CODE",
12
- EMAIL_MODIFY_EMAIL_SUBMIT = "MODIFY_EMAIL",
13
- EMAIL_MODIFY_EMAIL_SEND_OLD_EMAIL = "MODIFY_EMAIL_SEND_OLD_EMAIL",
14
- PHONE_MODIFY_EMAIL_SEND_PHONE_CODE = "MODIFY_EMAIL_SEND_PHONE_CODE",
15
- EMAIL_MODIFY_EMAIL_SEND_NEW_EMAIL = "MODIFY_EMAIL_SEND_NEW_EMAIL",
16
- PHONE_ADD_CORP_SEND_PHONE_CODE = "ADD_CORP_SEND_PHONE_CODE",
17
- EMAIL_ADD_CORP_SEND_EMAIL_CODE = "ADD_CORP_SEND_EMAIL_CODE",
18
- PHONE_LOGIN_BY_PHONE_CODE = "LOGIN_BY_PHONE_CODE",
19
- PHONE_SEND_LOGIN_BY_PHONE_CODE = "SEND_LOGIN_BY_PHONE_CODE",
20
- EMAIL_LOGIN_BY_EMAIL_CODE = "LOGIN_BY_EMAIL_CODE",
21
- EMAIL_SEND_LOGIN_BY_EMAIL_CODE = "SEND_LOGIN_BY_EMAIL_CODE"
22
- }
1
+ export declare enum UserBehaviorEventEnum {
2
+ SIGN_UP_PHONE = "SIGN_UP_PHONE",// 手机号注册
3
+ SIGN_UP_EMAIL = "SIGN_UP_EMAIL",// 邮箱注册
4
+ PHONE_MODIFY_PASSWORD_BY_PHONE_SUBMIT = "MODIFY_PASSWORD_BY_PHONE",// "手机验证修改密码"
5
+ PHONE_MODIFY_PASSWORD_BY_PHONE_SEND_CODE = "MODIFY_PASSWORD_BYPHONE_SEND_CODE",// "发送修改手机密码验证码"
6
+ EMAIL_MODIFY_PASSWORD_BY_EMAIL_SUBMIT = "MODIFY_PASSWORD_BY_EMAIL",// "邮箱验证修改密码"
7
+ EMAIL_MODIFY_PASSWORD_BY_EMAIL_SEND_CODE = "MODIFY_PASSWORD_SEND_RESET_EMAIL",// "发送重置密码邮件"
8
+ PHONE_MODIFY_PHONE_SUBMIT = "MODIFY_PHONE",// "修改手机号"
9
+ PHONE_MODIFY_PHONE_OLD_PHONE_CODE = "MODIFY_PHONE_OLD_PHONE_CODE",// "发送修改手机号-原手机验证码"
10
+ EMAIL_MODIFY_PHONE_SEND_EMAIL_CODE = "MODIFY_PHONE_SEND_EMAIL",// "发送修改手机号-邮箱验证码"
11
+ PHONE_MODIFY_PHONE_NEW_PHONE_CODE = "MODIFY_PHONE_NEW_PHONE_CODE",// "发送修改手机号-新手机验证码"
12
+ EMAIL_MODIFY_EMAIL_SUBMIT = "MODIFY_EMAIL",// "修改邮箱", "修改邮箱"),
13
+ EMAIL_MODIFY_EMAIL_SEND_OLD_EMAIL = "MODIFY_EMAIL_SEND_OLD_EMAIL",// "修改邮箱-发送原邮箱确认邮件"
14
+ PHONE_MODIFY_EMAIL_SEND_PHONE_CODE = "MODIFY_EMAIL_SEND_PHONE_CODE",// "修改邮箱-手机验证码"
15
+ EMAIL_MODIFY_EMAIL_SEND_NEW_EMAIL = "MODIFY_EMAIL_SEND_NEW_EMAIL",// "修改邮箱-发送新邮箱确认邮件"
16
+ PHONE_ADD_CORP_SEND_PHONE_CODE = "ADD_CORP_SEND_PHONE_CODE",// "加入团队手机验证码"
17
+ EMAIL_ADD_CORP_SEND_EMAIL_CODE = "ADD_CORP_SEND_EMAIL_CODE",// "加入团队邮件验证码"
18
+ PHONE_LOGIN_BY_PHONE_CODE = "LOGIN_BY_PHONE_CODE",// 手机验证码登录
19
+ PHONE_SEND_LOGIN_BY_PHONE_CODE = "SEND_LOGIN_BY_PHONE_CODE",// 发送手机验证码
20
+ EMAIL_LOGIN_BY_EMAIL_CODE = "LOGIN_BY_EMAIL_CODE",// 邮箱验证码登录
21
+ EMAIL_SEND_LOGIN_BY_EMAIL_CODE = "SEND_LOGIN_BY_EMAIL_CODE"
22
+ }
@@ -1,3 +1,3 @@
1
- export declare type EntityId = string;
2
- export declare type BIGINT = number | string;
3
- export declare type Entity = Record<string, unknown>;
1
+ export type EntityId = string;
2
+ export type BIGINT = number | string;
3
+ export type Entity = Record<string, unknown>;
@@ -1,170 +1,170 @@
1
- import { BIGINT, EntityId } from './value';
2
- export declare type ViewId = EntityId;
3
- export declare enum DataClass {
4
- List = "LIST",
5
- Object = "OBJECT"
6
- }
7
- /**
8
- * 视图客户端类型
9
- */
10
- export declare enum ViewClientType {
11
- /**
12
- * PC端
13
- */
14
- PC = "PC",
15
- /**
16
- * 移动端
17
- */
18
- MOBILE = "MOBILE"
19
- }
20
- /**
21
- * <h3>视图类型</h3>
22
- * <p>
23
- * 视图类型是描述数据类型、数据传递、数据交互的基本属性
24
- * </p>
25
- */
26
- export declare enum ViewType {
27
- /**
28
- * 表格
29
- */
30
- Table = "TABLE",
31
- /**
32
- * 表单
33
- */
34
- Form = "FORM",
35
- /**
36
- * 详情
37
- */
38
- Detail = "DETAIL",
39
- /**
40
- * 搜索
41
- */
42
- Search = "SEARCH",
43
- /**
44
- * 画廊
45
- */
46
- Gallery = "GALLERY",
47
- /**
48
- * 树
49
- */
50
- Tree = "TREE",
51
- /**
52
- * 多视图
53
- */
54
- Multiple = "MULTIPLE",
55
- /**
56
- * 自定义
57
- */
58
- Custom = "CUSTOM"
59
- }
60
- /**
61
- * <h3>视图模式</h3>
62
- * <p>
63
- * 视图模式是视图类型更具备操作性的定义,相同的视图类型会有不同模式进行描述。
64
- * <p>例如:</p>
65
- * <ul>
66
- * <li>【表单】视图类型可能会存在【创建】和【编辑】两种不同的模式</li>
67
- * <li>【表单】视图类型可能会在某些情况下手动修改为【只读】状态</li>
68
- * </ul>
69
- * </p>
70
- */
71
- export declare enum ViewMode {
72
- /**
73
- * 创建
74
- */
75
- Create = "CREATE",
76
- /**
77
- * 编辑
78
- */
79
- Editor = "EDITOR",
80
- /**
81
- * 查看
82
- */
83
- Lookup = "LOOKUP"
84
- }
85
- /**
86
- * 跳转动作路由类型
87
- */
88
- export declare enum ViewActionTarget {
89
- /**
90
- * 页面路由
91
- */
92
- Router = "ROUTER",
93
- /**
94
- * 页面弹窗
95
- */
96
- Dialog = "DIALOG",
97
- /**
98
- * 页面抽屉
99
- */
100
- Drawer = "DRAWER",
101
- /**
102
- * 页内路由
103
- */
104
- Inner = "INNER",
105
- /**
106
- * 打开新窗口
107
- */
108
- OpenWindow = "OPEN_WINDOW",
109
- /**
110
- * 页面嵌入
111
- */
112
- Frame = "iframe"
113
- }
114
- export declare enum SystemSource {
115
- SYSTEM = "SYSTEM",
116
- BASE = "BASE",
117
- MANUAL = "MANUAL",
118
- UI = "UI",
119
- RELATION = "RELATION",
120
- ABSTRACT_INHERITED = "ABSTRACT_INHERITED",
121
- TRANSIENT_INHERITED = "TRANSIENT_INHERITED",
122
- EXTEND_INHERITED = "EXTEND_INHERITED",
123
- MULTI_TABLE_INHERITED = "MULTI_TABLE_INHERITED",
124
- PROXY_INHERITED = "PROXY_INHERITED"
125
- }
126
- export interface IView {
127
- id: ViewId;
128
- name: string;
129
- type: ViewType;
130
- model: string;
131
- priority: BIGINT;
132
- template: string;
133
- active?: any;
134
- title?: string;
135
- systemSource?: SystemSource;
136
- moduleDisplayName?: SystemSource;
137
- extension?: Record<string, string>;
138
- modelDefinition?: {
139
- model?: string;
140
- name?: string;
141
- moduleName?: string;
142
- module?: string;
143
- };
144
- baseLayoutName?: string;
145
- baseLayoutDefinition?: {
146
- name: string;
147
- template: string;
148
- };
149
- }
150
- /**
151
- * 组件的标签内的 <config /> 配置
152
- */
153
- export interface IBaseWidgetConfig {
154
- }
155
- /**
156
- * 视图组件基础配置
157
- */
158
- export interface IViewWidgetConfig extends IBaseWidgetConfig {
159
- submit?: string;
160
- excludedActions?: string;
161
- validateTip?: boolean;
162
- }
163
- /**
164
- * select组件配置
165
- */
166
- export interface IBaseSelectWidgetConfig extends IBaseWidgetConfig {
167
- searchField?: string;
168
- labelField?: string;
169
- separator?: string;
170
- }
1
+ import type { BIGINT, EntityId } from './value';
2
+ export type ViewId = EntityId;
3
+ export declare enum DataClass {
4
+ List = "LIST",// 数据源为 ListValue
5
+ Object = "OBJECT"
6
+ }
7
+ /**
8
+ * 视图客户端类型
9
+ */
10
+ export declare enum ViewClientType {
11
+ /**
12
+ * PC端
13
+ */
14
+ PC = "PC",
15
+ /**
16
+ * 移动端
17
+ */
18
+ MOBILE = "MOBILE"
19
+ }
20
+ /**
21
+ * <h3>视图类型</h3>
22
+ * <p>
23
+ * 视图类型是描述数据类型、数据传递、数据交互的基本属性
24
+ * </p>
25
+ */
26
+ export declare enum ViewType {
27
+ /**
28
+ * 表格
29
+ */
30
+ Table = "TABLE",
31
+ /**
32
+ * 表单
33
+ */
34
+ Form = "FORM",
35
+ /**
36
+ * 详情
37
+ */
38
+ Detail = "DETAIL",
39
+ /**
40
+ * 搜索
41
+ */
42
+ Search = "SEARCH",
43
+ /**
44
+ * 画廊
45
+ */
46
+ Gallery = "GALLERY",
47
+ /**
48
+ * 树
49
+ */
50
+ Tree = "TREE",
51
+ /**
52
+ * 多视图
53
+ */
54
+ Multiple = "MULTIPLE",
55
+ /**
56
+ * 自定义
57
+ */
58
+ Custom = "CUSTOM"
59
+ }
60
+ /**
61
+ * <h3>视图模式</h3>
62
+ * <p>
63
+ * 视图模式是视图类型更具备操作性的定义,相同的视图类型会有不同模式进行描述。
64
+ * <p>例如:</p>
65
+ * <ul>
66
+ * <li>【表单】视图类型可能会存在【创建】和【编辑】两种不同的模式</li>
67
+ * <li>【表单】视图类型可能会在某些情况下手动修改为【只读】状态</li>
68
+ * </ul>
69
+ * </p>
70
+ */
71
+ export declare enum ViewMode {
72
+ /**
73
+ * 创建
74
+ */
75
+ Create = "CREATE",
76
+ /**
77
+ * 编辑
78
+ */
79
+ Editor = "EDITOR",
80
+ /**
81
+ * 查看
82
+ */
83
+ Lookup = "LOOKUP"
84
+ }
85
+ /**
86
+ * 跳转动作路由类型
87
+ */
88
+ export declare enum ViewActionTarget {
89
+ /**
90
+ * 页面路由
91
+ */
92
+ Router = "ROUTER",
93
+ /**
94
+ * 页面弹窗
95
+ */
96
+ Dialog = "DIALOG",
97
+ /**
98
+ * 页面抽屉
99
+ */
100
+ Drawer = "DRAWER",
101
+ /**
102
+ * 页内路由
103
+ */
104
+ Inner = "INNER",
105
+ /**
106
+ * 打开新窗口
107
+ */
108
+ OpenWindow = "OPEN_WINDOW",
109
+ /**
110
+ * 页面嵌入
111
+ */
112
+ Frame = "iframe"
113
+ }
114
+ export declare enum SystemSource {
115
+ SYSTEM = "SYSTEM",// 内核
116
+ BASE = "BASE",// 系统原生
117
+ MANUAL = "MANUAL",// 手工新增
118
+ UI = "UI",// 界面新增
119
+ RELATION = "RELATION",// 关联关系生成
120
+ ABSTRACT_INHERITED = "ABSTRACT_INHERITED",// 抽象继承
121
+ TRANSIENT_INHERITED = "TRANSIENT_INHERITED",// 临时继承
122
+ EXTEND_INHERITED = "EXTEND_INHERITED",// 同表继承
123
+ MULTI_TABLE_INHERITED = "MULTI_TABLE_INHERITED",// 多表继承
124
+ PROXY_INHERITED = "PROXY_INHERITED"
125
+ }
126
+ export interface IView {
127
+ id: ViewId;
128
+ name: string;
129
+ type: ViewType;
130
+ model: string;
131
+ priority: BIGINT;
132
+ template: string;
133
+ active?: any;
134
+ title?: string;
135
+ systemSource?: SystemSource;
136
+ moduleDisplayName?: SystemSource;
137
+ extension?: Record<string, string>;
138
+ modelDefinition?: {
139
+ model?: string;
140
+ name?: string;
141
+ moduleName?: string;
142
+ module?: string;
143
+ };
144
+ baseLayoutName?: string;
145
+ baseLayoutDefinition?: {
146
+ name: string;
147
+ template: string;
148
+ };
149
+ }
150
+ /**
151
+ * 组件的标签内的 <config /> 配置
152
+ */
153
+ export interface IBaseWidgetConfig {
154
+ }
155
+ /**
156
+ * 视图组件基础配置
157
+ */
158
+ export interface IViewWidgetConfig extends IBaseWidgetConfig {
159
+ submit?: string;
160
+ excludedActions?: string;
161
+ validateTip?: boolean;
162
+ }
163
+ /**
164
+ * select组件配置
165
+ */
166
+ export interface IBaseSelectWidgetConfig extends IBaseWidgetConfig {
167
+ searchField?: string;
168
+ labelField?: string;
169
+ separator?: string;
170
+ }
@@ -1,4 +1,4 @@
1
- import { PluginLoader, PluginLoadType } from '../typing';
2
- export declare class PluginLoaderFactory {
3
- static get(type: PluginLoadType): PluginLoader | undefined;
4
- }
1
+ import type { PluginLoader, PluginLoadType } from '../typing';
2
+ export declare class PluginLoaderFactory {
3
+ static get(type: PluginLoadType): PluginLoader | undefined;
4
+ }
@@ -1 +1 @@
1
- export * from './PluginLoaderFactory';
1
+ export * from './PluginLoaderFactory';
@@ -1,5 +1,5 @@
1
- import { PluginLoadDependencies, PluginsLoaderConfig } from './typing';
2
- export declare class PluginsLoader {
3
- static load(config: PluginsLoaderConfig, localDependencies?: PluginLoadDependencies): Promise<void>;
4
- }
5
- export * from './typing';
1
+ import type { PluginLoadDependencies, PluginsLoaderConfig } from './typing';
2
+ export declare class PluginsLoader {
3
+ static load(config: PluginsLoaderConfig, localDependencies?: PluginLoadDependencies): Promise<void>;
4
+ }
5
+ export * from './typing';
@@ -1,7 +1,7 @@
1
- import { PluginLoader, PluginLoadOption } from '../typing';
2
- export declare class CJSPluginLoader implements PluginLoader {
3
- static readonly INSTANCE: CJSPluginLoader;
4
- private constructor();
5
- load(option: PluginLoadOption): Promise<void>;
6
- loadDependencies(dependencies: Record<string, unknown>): Promise<void>;
7
- }
1
+ import type { PluginLoader, PluginLoadOption } from '../typing';
2
+ export declare class CJSPluginLoader implements PluginLoader {
3
+ static readonly INSTANCE: CJSPluginLoader;
4
+ private constructor();
5
+ load(option: PluginLoadOption): Promise<void>;
6
+ loadDependencies(dependencies: Record<string, unknown>): Promise<void>;
7
+ }
@@ -1,7 +1,7 @@
1
- import { PluginLoader, PluginLoadOption } from '../typing';
2
- export declare class CSSPluginLoader implements PluginLoader {
3
- static readonly INSTANCE: CSSPluginLoader;
4
- private constructor();
5
- load(option: PluginLoadOption): Promise<void>;
6
- loadDependencies(): Promise<void>;
7
- }
1
+ import type { PluginLoader, PluginLoadOption } from '../typing';
2
+ export declare class CSSPluginLoader implements PluginLoader {
3
+ static readonly INSTANCE: CSSPluginLoader;
4
+ private constructor();
5
+ load(option: PluginLoadOption): Promise<void>;
6
+ loadDependencies(): Promise<void>;
7
+ }
@@ -1,7 +1,7 @@
1
- import { PluginLoader, PluginLoadOption } from '../typing';
2
- export declare class ESMPluginLoader implements PluginLoader {
3
- static readonly INSTANCE: ESMPluginLoader;
4
- private constructor();
5
- load(option: PluginLoadOption): Promise<void>;
6
- loadDependencies(dependencies: Record<string, unknown>): Promise<void>;
7
- }
1
+ import type { PluginLoader, PluginLoadOption } from '../typing';
2
+ export declare class ESMPluginLoader implements PluginLoader {
3
+ static readonly INSTANCE: ESMPluginLoader;
4
+ private constructor();
5
+ load(option: PluginLoadOption): Promise<void>;
6
+ loadDependencies(dependencies: Record<string, unknown>): Promise<void>;
7
+ }
@@ -1,7 +1,7 @@
1
- import { PluginLoader, PluginLoadOption } from '../typing';
2
- export declare class IIFEPluginLoader implements PluginLoader {
3
- static readonly INSTANCE: IIFEPluginLoader;
4
- private constructor();
5
- load(option: PluginLoadOption): Promise<void>;
6
- loadDependencies(dependencies: Record<string, unknown>): Promise<void>;
7
- }
1
+ import type { PluginLoader, PluginLoadOption } from '../typing';
2
+ export declare class IIFEPluginLoader implements PluginLoader {
3
+ static readonly INSTANCE: IIFEPluginLoader;
4
+ private constructor();
5
+ load(option: PluginLoadOption): Promise<void>;
6
+ loadDependencies(dependencies: Record<string, unknown>): Promise<void>;
7
+ }
@@ -1,4 +1,4 @@
1
- declare type ResolveFunction = () => void;
2
- export declare function bindScriptLoadedEvent(script: HTMLScriptElement, resolve: ResolveFunction): void;
3
- export declare function bindLinkLoadedEvent(link: HTMLLinkElement, resolve: ResolveFunction): void;
4
- export {};
1
+ type ResolveFunction = () => void;
2
+ export declare function bindScriptLoadedEvent(script: HTMLScriptElement, resolve: ResolveFunction): void;
3
+ export declare function bindLinkLoadedEvent(link: HTMLLinkElement, resolve: ResolveFunction): void;
4
+ export {};
@@ -1,5 +1,5 @@
1
- import { PluginLoadOption, PluginLoadType } from '../typing';
2
- export declare class PluginLoader {
3
- static load(options: PluginLoadOption[]): Promise<void>;
4
- static loadDependencies(type: PluginLoadType, dependencies: Record<string, unknown>): Promise<void>;
5
- }
1
+ import type { PluginLoadOption, PluginLoadType } from '../typing';
2
+ export declare class PluginLoader {
3
+ static load(options: PluginLoadOption[]): Promise<void>;
4
+ static loadDependencies(type: PluginLoadType, dependencies: Record<string, unknown>): Promise<void>;
5
+ }
@@ -1,5 +1,5 @@
1
- export declare class RemotePluginLoader {
2
- static readonly INSTANCE: RemotePluginLoader;
3
- private cache;
4
- load(): Promise<void>;
5
- }
1
+ export declare class RemotePluginLoader {
2
+ static readonly INSTANCE: RemotePluginLoader;
3
+ private cache;
4
+ load(): Promise<void>;
5
+ }
@@ -1,6 +1,6 @@
1
- import { PluginLoader, PluginLoadOption } from '../typing';
2
- export declare class UMDPluginLoader implements PluginLoader {
3
- static readonly INSTANCE: UMDPluginLoader;
4
- load(option: PluginLoadOption): Promise<void>;
5
- loadDependencies(dependencies: Record<string, unknown>): Promise<void>;
6
- }
1
+ import type { PluginLoader, PluginLoadOption } from '../typing';
2
+ export declare class UMDPluginLoader implements PluginLoader {
3
+ static readonly INSTANCE: UMDPluginLoader;
4
+ load(option: PluginLoadOption): Promise<void>;
5
+ loadDependencies(dependencies: Record<string, unknown>): Promise<void>;
6
+ }
@@ -1 +1 @@
1
- export * from './PluginLoader';
1
+ export * from './PluginLoader';
@@ -1,2 +1,2 @@
1
- export * from './load-option';
2
- export * from './loader-config';
1
+ export * from './load-option';
2
+ export * from './loader-config';