x-essential-lib 0.10.37 → 0.10.39
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.
|
@@ -3,12 +3,6 @@ import { t as __exportAll } from "./rolldown-runtime.c6i0pdwe.js";
|
|
|
3
3
|
//#region src/i18n/locales/en/index.ts
|
|
4
4
|
var en_exports = /* @__PURE__ */ __exportAll({ default: () => en_default });
|
|
5
5
|
var en_default = {
|
|
6
|
-
"dlg": { common: {
|
|
7
|
-
ask: "Do you want {verb} {object} '{name}'",
|
|
8
|
-
cancel: "Cancel",
|
|
9
|
-
confirm: "Confirm",
|
|
10
|
-
responding: "Responding..."
|
|
11
|
-
} },
|
|
12
6
|
"$vuetify": {
|
|
13
7
|
badge: "Badge",
|
|
14
8
|
open: "Open",
|
|
@@ -196,7 +190,15 @@ var en_default = {
|
|
|
196
190
|
changeFormat: "Change color format"
|
|
197
191
|
} }
|
|
198
192
|
},
|
|
199
|
-
"x-essential-lib": {
|
|
193
|
+
"x-essential-lib": {
|
|
194
|
+
dlg: {
|
|
195
|
+
ask: "Do you want {verb} {object} '{name}' ?",
|
|
196
|
+
cancel: "Cancel",
|
|
197
|
+
ok: "OK",
|
|
198
|
+
responding: "Responding..."
|
|
199
|
+
},
|
|
200
|
+
publicDomain: "Public Domain"
|
|
201
|
+
}
|
|
200
202
|
};
|
|
201
203
|
|
|
202
204
|
//#endregion
|
|
@@ -3,12 +3,6 @@ import { t as __exportAll } from "./rolldown-runtime.c6i0pdwe.js";
|
|
|
3
3
|
//#region src/i18n/locales/zhHans/index.ts
|
|
4
4
|
var zhHans_exports = /* @__PURE__ */ __exportAll({ default: () => zhHans_default });
|
|
5
5
|
var zhHans_default = {
|
|
6
|
-
"dlg": { common: {
|
|
7
|
-
ask: "你想要{verb}{object}'{name}'",
|
|
8
|
-
cancel: "取消",
|
|
9
|
-
confirm: "确定",
|
|
10
|
-
responding: "响应中..."
|
|
11
|
-
} },
|
|
12
6
|
"$vuetify": {
|
|
13
7
|
badge: "徽章",
|
|
14
8
|
open: "打开",
|
|
@@ -196,7 +190,15 @@ var zhHans_default = {
|
|
|
196
190
|
changeFormat: "更改颜色格式"
|
|
197
191
|
} }
|
|
198
192
|
},
|
|
199
|
-
"x-essential-lib": {
|
|
193
|
+
"x-essential-lib": {
|
|
194
|
+
dlg: {
|
|
195
|
+
ask: "你想要{verb}{object}'{name}'?",
|
|
196
|
+
cancel: "取消",
|
|
197
|
+
ok: "确定",
|
|
198
|
+
responding: "响应中..."
|
|
199
|
+
},
|
|
200
|
+
publicDomain: "公域"
|
|
201
|
+
}
|
|
200
202
|
};
|
|
201
203
|
|
|
202
204
|
//#endregion
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as EventType, t as Emitter } from "./vendor.
|
|
1
|
+
import { n as EventType, t as Emitter } from "./vendor.dqdzrw43.js";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
import { AxiosInstance } from "axios";
|
|
4
4
|
|
|
@@ -31,7 +31,7 @@ interface ConfirmParams {
|
|
|
31
31
|
subtitle?: string;
|
|
32
32
|
text: string;
|
|
33
33
|
cancel?: ButtonOptions;
|
|
34
|
-
|
|
34
|
+
ok?: ButtonOptions;
|
|
35
35
|
}
|
|
36
36
|
declare function openConfirmDlg(params: ConfirmParams): Promise<boolean | undefined>;
|
|
37
37
|
interface NumberParams {
|
|
@@ -53,7 +53,7 @@ interface PromptParams {
|
|
|
53
53
|
rules?: ((val: string) => string | boolean)[];
|
|
54
54
|
value?: string;
|
|
55
55
|
cancel?: ButtonOptions;
|
|
56
|
-
|
|
56
|
+
ok?: ButtonOptions;
|
|
57
57
|
}
|
|
58
58
|
declare function openPromptDlg(params: PromptParams): Promise<string | undefined>;
|
|
59
59
|
declare function openWaitDlg(text?: string): void;
|
|
@@ -76,136 +76,6 @@ declare function waitUtil(conditionFunc: () => boolean, timeout?: number, interv
|
|
|
76
76
|
declare function appAppear(name: string, diff: number): void;
|
|
77
77
|
//#endregion
|
|
78
78
|
//#region src/utils/permission.d.ts
|
|
79
|
-
declare enum Permission {
|
|
80
|
-
list_app_group = "list_app_group",
|
|
81
|
-
create_app_group = "create_app_group",
|
|
82
|
-
delete_app_group = "delete_app_group",
|
|
83
|
-
update_app_group = "update_app_group",
|
|
84
|
-
arrange_app_group = "arrange_app_group",
|
|
85
|
-
list_app = "list_app",
|
|
86
|
-
get_app = "get_app",
|
|
87
|
-
create_app = "create_app",
|
|
88
|
-
delete_app = "delete_app",
|
|
89
|
-
update_app = "update_app",
|
|
90
|
-
list_app_release = "list_app_release",
|
|
91
|
-
get_app_release = "get_app_release",
|
|
92
|
-
create_app_release = "create_app_release",
|
|
93
|
-
delete_app_release = "delete_app_release",
|
|
94
|
-
deploy_app_release = "deploy_app_release",
|
|
95
|
-
open_app_layer = "open_app_layer",
|
|
96
|
-
open_app = "open_app",
|
|
97
|
-
list_compute_space = "list_compute_space",
|
|
98
|
-
get_compute_space = "get_compute_space",
|
|
99
|
-
create_compute_space = "create_compute_space",
|
|
100
|
-
delete_compute_space = "delete_compute_space",
|
|
101
|
-
update_compute_space = "update_compute_space",
|
|
102
|
-
arrange_compute_space = "arrange_compute_space",
|
|
103
|
-
list_func_group = "list_func_group",
|
|
104
|
-
create_func_group = "create_func_group",
|
|
105
|
-
delete_func_group = "delete_func_group",
|
|
106
|
-
update_func_group = "update_func_group",
|
|
107
|
-
arrange_func_group = "arrange_func_group",
|
|
108
|
-
list_func = "list_func",
|
|
109
|
-
get_func = "get_func",
|
|
110
|
-
create_func = "create_func",
|
|
111
|
-
delete_func = "delete_func",
|
|
112
|
-
update_func = "update_func",
|
|
113
|
-
debug_func = "debug_func",
|
|
114
|
-
call_func = "call_func",
|
|
115
|
-
list_func_release = "list_func_release",
|
|
116
|
-
get_func_release = "get_func_release",
|
|
117
|
-
create_func_release = "create_func_release",
|
|
118
|
-
delete_func_release = "delete_func_release",
|
|
119
|
-
deploy_func_release = "deploy_func_release",
|
|
120
|
-
list_flow_group = "list_flow_group",
|
|
121
|
-
create_flow_group = "create_flow_group",
|
|
122
|
-
delete_flow_group = "delete_flow_group",
|
|
123
|
-
update_flow_group = "update_flow_group",
|
|
124
|
-
arrange_flow_group = "arrange_flow_group",
|
|
125
|
-
list_flow = "list_flow",
|
|
126
|
-
get_flow = "get_flow",
|
|
127
|
-
create_flow = "create_flow",
|
|
128
|
-
delete_flow = "delete_flow",
|
|
129
|
-
update_flow = "update_flow",
|
|
130
|
-
debug_flow = "debug_flow",
|
|
131
|
-
call_flow = "call_flow",
|
|
132
|
-
list_flow_release = "list_flow_release",
|
|
133
|
-
get_flow_release = "get_flow_release",
|
|
134
|
-
create_flow_release = "create_flow_release",
|
|
135
|
-
delete_flow_release = "delete_flow_release",
|
|
136
|
-
deploy_flow_release = "deploy_flow_release",
|
|
137
|
-
list_task_group = "list_task_group",
|
|
138
|
-
create_task_group = "create_task_group",
|
|
139
|
-
delete_task_group = "delete_task_group",
|
|
140
|
-
update_task_group = "update_task_group",
|
|
141
|
-
arrange_task_group = "arrange_task_group",
|
|
142
|
-
list_task = "list_task",
|
|
143
|
-
create_task = "create_task",
|
|
144
|
-
delete_task = "delete_task",
|
|
145
|
-
update_task = "update_task",
|
|
146
|
-
open_compute_layer = "open_compute_layer",
|
|
147
|
-
open_task = "open_task",
|
|
148
|
-
list_data_space = "list_data_space",
|
|
149
|
-
get_data_space = "get_data_space",
|
|
150
|
-
create_data_space = "create_data_space",
|
|
151
|
-
delete_data_space = "delete_data_space",
|
|
152
|
-
update_data_space = "update_data_space",
|
|
153
|
-
arrange_data_space = "arrange_data_space",
|
|
154
|
-
list_table_group = "list_table_group",
|
|
155
|
-
create_table_group = "create_table_group",
|
|
156
|
-
delete_table_group = "delete_table_group",
|
|
157
|
-
update_table_group = "update_table_group",
|
|
158
|
-
arrange_table_group = "arrange_table_group",
|
|
159
|
-
list_table = "list_table",
|
|
160
|
-
get_table = "get_table",
|
|
161
|
-
create_table = "create_table",
|
|
162
|
-
delete_table = "delete_table",
|
|
163
|
-
update_table = "update_table",
|
|
164
|
-
get_data = "get_data",
|
|
165
|
-
create_data = "create_data",
|
|
166
|
-
delete_data = "delete_data",
|
|
167
|
-
update_data = "update_data",
|
|
168
|
-
get_relation_graph = "get_relation_graph",
|
|
169
|
-
update_relation_graph = "update_relation_graph",
|
|
170
|
-
list_change = "list_change",
|
|
171
|
-
apply_change = "apply_change",
|
|
172
|
-
open_data_layer = "open_data_layer",
|
|
173
|
-
list_resource_space = "list_resource_space",
|
|
174
|
-
get_resource_space = "get_resource_space",
|
|
175
|
-
create_resource_space = "create_resource_space",
|
|
176
|
-
delete_resource_space = "delete_resource_space",
|
|
177
|
-
update_resource_space = "update_resource_space",
|
|
178
|
-
arrange_resource_space = "arrange_resource_space",
|
|
179
|
-
list_dir = "list_dir",
|
|
180
|
-
create_dir = "create_dir",
|
|
181
|
-
delete_dir = "delete_dir",
|
|
182
|
-
update_dir = "update_dir",
|
|
183
|
-
move_dir = "move_dir",
|
|
184
|
-
list_resource = "list_resource",
|
|
185
|
-
get_resource = "get_resource",
|
|
186
|
-
create_resource = "create_resource",
|
|
187
|
-
delete_resource = "delete_resource",
|
|
188
|
-
update_resource = "update_resource",
|
|
189
|
-
move_resource = "move_resource",
|
|
190
|
-
open_resource_layer = "open_resource_layer",
|
|
191
|
-
list_org_member = "list_org_member",
|
|
192
|
-
add_org_member = "add_org_member",
|
|
193
|
-
remove_org_member = "remove_org_member",
|
|
194
|
-
update_org_member = "update_org_member",
|
|
195
|
-
list_org_role_group = "list_org_role_group",
|
|
196
|
-
create_org_role_group = "create_org_role_group",
|
|
197
|
-
delete_org_role_group = "delete_org_role_group",
|
|
198
|
-
update_org_role_group = "update_org_role_group",
|
|
199
|
-
arrange_org_role_group = "arrange_org_role_group",
|
|
200
|
-
list_org_role = "list_org_role",
|
|
201
|
-
get_org_role = "get_org_role",
|
|
202
|
-
create_org_role = "create_org_role",
|
|
203
|
-
delete_org_role = "delete_org_role",
|
|
204
|
-
update_org_role = "update_org_role",
|
|
205
|
-
get_org_structure = "get_org_structure",
|
|
206
|
-
update_org_structure = "update_org_structure",
|
|
207
|
-
filter_table = "filter_table"
|
|
208
|
-
}
|
|
209
79
|
type InstanceTree = {
|
|
210
80
|
[key: string]: InstanceTree;
|
|
211
81
|
};
|
|
@@ -220,7 +90,7 @@ declare function toPermissionObjects(permissions: {
|
|
|
220
90
|
[key: string]: string;
|
|
221
91
|
}): PermissionObjects;
|
|
222
92
|
declare function isExist(instanceTree: InstanceTree | undefined, instance: string): boolean;
|
|
223
|
-
declare function verifyPermission(permissionObjects: PermissionObjects, permission:
|
|
93
|
+
declare function verifyPermission(permissionObjects: PermissionObjects, permission: string, instance: string): boolean;
|
|
224
94
|
//#endregion
|
|
225
95
|
//#region src/utils/provideInject.d.ts
|
|
226
96
|
declare function provideDark(dark: Ref<boolean>): void;
|
|
@@ -285,7 +155,7 @@ declare function usePageRoute(onRouteChange?: () => Promise<void>): {
|
|
|
285
155
|
//#endregion
|
|
286
156
|
//#region src/composables/permission.d.ts
|
|
287
157
|
declare function usePermission(): {
|
|
288
|
-
verifyPermission: (permission:
|
|
158
|
+
verifyPermission: (permission: string, instance?: string) => boolean;
|
|
289
159
|
};
|
|
290
160
|
//#endregion
|
|
291
161
|
//#region src/composables/system.d.ts
|
|
@@ -305,14 +175,6 @@ declare function useViewStack(name: string, hook?: (params: unknown) => void): {
|
|
|
305
175
|
//#endregion
|
|
306
176
|
//#region src/i18n/index.d.ts
|
|
307
177
|
declare function loadLocaleMessageEssential(locale: string): Promise<{
|
|
308
|
-
dlg: {
|
|
309
|
-
common: {
|
|
310
|
-
ask: string;
|
|
311
|
-
cancel: string;
|
|
312
|
-
confirm: string;
|
|
313
|
-
responding: string;
|
|
314
|
-
};
|
|
315
|
-
};
|
|
316
178
|
$vuetify: {
|
|
317
179
|
badge: string;
|
|
318
180
|
open: string;
|
|
@@ -519,6 +381,12 @@ declare function loadLocaleMessageEssential(locale: string): Promise<{
|
|
|
519
381
|
};
|
|
520
382
|
};
|
|
521
383
|
'x-essential-lib': {
|
|
384
|
+
dlg: {
|
|
385
|
+
ask: string;
|
|
386
|
+
cancel: string;
|
|
387
|
+
ok: string;
|
|
388
|
+
responding: string;
|
|
389
|
+
};
|
|
522
390
|
publicDomain: string;
|
|
523
391
|
};
|
|
524
392
|
}>;
|
|
@@ -528,4 +396,4 @@ declare const _default: {
|
|
|
528
396
|
install: (app: import("vue").App) => void;
|
|
529
397
|
};
|
|
530
398
|
//#endregion
|
|
531
|
-
export { GlobalStates,
|
|
399
|
+
export { GlobalStates, PermissionObjects, RouteMeta, Type, addView, appAppear, clearViews, closeWaitDlg, createAxios, _default as default, delView, eventBus, getTypeColor, getTypeDefault, globalObjects, hasView, injectDark, injectLocale, injectPermissionObjects, injectViews, isEmpty, isExist, lastView, loadLocaleMessageEssential, matchRouteMeta, messageError, messageInfo, messageSuccess, messageWarning, onBeforeEnter, openConfirmDlg, openNumberDlg, openPromptDlg, openWaitDlg, popView, provideDark, provideLocale, providePermissionObjects, provideViews, routeTransName, toPermissionObjects, types, useColor, useGlobalStates, useMicroApp, usePageRoute, usePermission, useSystem, useViewStack, verifyPermission, waitMs, waitUtil };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
(function(){try{document.getElementById(`x-essential-lib`)?.remove();const e = document.createElement(`style`);e.setAttribute(`id`, `x-essential-lib`);const t = document.createTextNode(`.fade-leave-active[data-v-x-essential-lib-c3545c8d]{transition:opacity .5s}.fade-leave-to[data-v-x-essential-lib-c3545c8d]{opacity:0}.x-cont[data-v-x-essential-lib-c3545c8d]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.lds-spinner[data-v-x-essential-lib-c3545c8d]{color:official;width:40px;height:40px;display:inline-block;position:relative}.lds-spinner div[data-v-x-essential-lib-c3545c8d]{transform-origin:20px 20px;animation:1.2s linear infinite lds-spinner-x-essential-lib-c3545c8d}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:after{content:" ";background:#9e9e9e;border-radius:5%;width:2px;height:6px;display:block;position:absolute;top:3px;left:18px}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:first-child{animation-delay:-1.1s;transform:rotate(0)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(2){animation-delay:-1s;transform:rotate(30deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(3){animation-delay:-.9s;transform:rotate(60deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(4){animation-delay:-.8s;transform:rotate(90deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(5){animation-delay:-.7s;transform:rotate(120deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(6){animation-delay:-.6s;transform:rotate(150deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(7){animation-delay:-.5s;transform:rotate(180deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(8){animation-delay:-.4s;transform:rotate(210deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(9){animation-delay:-.3s;transform:rotate(240deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(10){animation-delay:-.2s;transform:rotate(270deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(11){animation-delay:-.1s;transform:rotate(300deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(12){animation-delay:0s;transform:rotate(330deg)}@keyframes lds-spinner-x-essential-lib-c3545c8d{0%{opacity:1}to{opacity:0}}.x-item[data-v-x-essential-lib-cfcda9d9]{width:600px}@media (width<=600px){.x-item[data-v-x-essential-lib-cfcda9d9]{width:calc(100vw - 16px)}}.x-cont[data-v-x-essential-lib-b973907d]{z-index:9999;position:fixed;bottom:
|
|
2
|
-
import { a as api, i as mitt_default, o as usePreferredDark, r as toLower } from "./vendor.
|
|
1
|
+
(function(){try{document.getElementById(`x-essential-lib`)?.remove();const e = document.createElement(`style`);e.setAttribute(`id`, `x-essential-lib`);const t = document.createTextNode(`.fade-leave-active[data-v-x-essential-lib-c3545c8d]{transition:opacity .5s}.fade-leave-to[data-v-x-essential-lib-c3545c8d]{opacity:0}.x-cont[data-v-x-essential-lib-c3545c8d]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.lds-spinner[data-v-x-essential-lib-c3545c8d]{color:official;width:40px;height:40px;display:inline-block;position:relative}.lds-spinner div[data-v-x-essential-lib-c3545c8d]{transform-origin:20px 20px;animation:1.2s linear infinite lds-spinner-x-essential-lib-c3545c8d}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:after{content:" ";background:#9e9e9e;border-radius:5%;width:2px;height:6px;display:block;position:absolute;top:3px;left:18px}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:first-child{animation-delay:-1.1s;transform:rotate(0)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(2){animation-delay:-1s;transform:rotate(30deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(3){animation-delay:-.9s;transform:rotate(60deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(4){animation-delay:-.8s;transform:rotate(90deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(5){animation-delay:-.7s;transform:rotate(120deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(6){animation-delay:-.6s;transform:rotate(150deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(7){animation-delay:-.5s;transform:rotate(180deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(8){animation-delay:-.4s;transform:rotate(210deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(9){animation-delay:-.3s;transform:rotate(240deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(10){animation-delay:-.2s;transform:rotate(270deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(11){animation-delay:-.1s;transform:rotate(300deg)}.lds-spinner div[data-v-x-essential-lib-c3545c8d]:nth-child(12){animation-delay:0s;transform:rotate(330deg)}@keyframes lds-spinner-x-essential-lib-c3545c8d{0%{opacity:1}to{opacity:0}}.x-item[data-v-x-essential-lib-cfcda9d9]{width:600px}@media (width<=600px){.x-item[data-v-x-essential-lib-cfcda9d9]{width:calc(100vw - 16px)}}.x-cont[data-v-x-essential-lib-b973907d]{z-index:9999;position:fixed;bottom:50px;left:50%;transform:translate(-50%)}`);e.appendChild(t);document.head.appendChild(e);}catch(e){console.error('rolldown-plugin-inject-css', e);}})()
|
|
2
|
+
import { a as api, i as mitt_default, o as usePreferredDark, r as toLower } from "./vendor.dqdzrw43.js";
|
|
3
3
|
import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, isRef, normalizeStyle, onBeforeMount, onBeforeUnmount, onMounted, openBlock, provide, ref, renderList, resolveComponent, toDisplayString, unref, useTemplateRef, watch, watchEffect, withCtx, withKeys, withModifiers } from "vue";
|
|
4
4
|
import { useI18n } from "vue-i18n";
|
|
5
5
|
import { useDisplay, useTheme } from "vuetify";
|
|
@@ -247,137 +247,6 @@ function messageWarning(text, timeout) {
|
|
|
247
247
|
|
|
248
248
|
//#endregion
|
|
249
249
|
//#region src/utils/permission.ts
|
|
250
|
-
let Permission = /* @__PURE__ */ function(Permission) {
|
|
251
|
-
Permission["list_app_group"] = "list_app_group";
|
|
252
|
-
Permission["create_app_group"] = "create_app_group";
|
|
253
|
-
Permission["delete_app_group"] = "delete_app_group";
|
|
254
|
-
Permission["update_app_group"] = "update_app_group";
|
|
255
|
-
Permission["arrange_app_group"] = "arrange_app_group";
|
|
256
|
-
Permission["list_app"] = "list_app";
|
|
257
|
-
Permission["get_app"] = "get_app";
|
|
258
|
-
Permission["create_app"] = "create_app";
|
|
259
|
-
Permission["delete_app"] = "delete_app";
|
|
260
|
-
Permission["update_app"] = "update_app";
|
|
261
|
-
Permission["list_app_release"] = "list_app_release";
|
|
262
|
-
Permission["get_app_release"] = "get_app_release";
|
|
263
|
-
Permission["create_app_release"] = "create_app_release";
|
|
264
|
-
Permission["delete_app_release"] = "delete_app_release";
|
|
265
|
-
Permission["deploy_app_release"] = "deploy_app_release";
|
|
266
|
-
Permission["open_app_layer"] = "open_app_layer";
|
|
267
|
-
Permission["open_app"] = "open_app";
|
|
268
|
-
Permission["list_compute_space"] = "list_compute_space";
|
|
269
|
-
Permission["get_compute_space"] = "get_compute_space";
|
|
270
|
-
Permission["create_compute_space"] = "create_compute_space";
|
|
271
|
-
Permission["delete_compute_space"] = "delete_compute_space";
|
|
272
|
-
Permission["update_compute_space"] = "update_compute_space";
|
|
273
|
-
Permission["arrange_compute_space"] = "arrange_compute_space";
|
|
274
|
-
Permission["list_func_group"] = "list_func_group";
|
|
275
|
-
Permission["create_func_group"] = "create_func_group";
|
|
276
|
-
Permission["delete_func_group"] = "delete_func_group";
|
|
277
|
-
Permission["update_func_group"] = "update_func_group";
|
|
278
|
-
Permission["arrange_func_group"] = "arrange_func_group";
|
|
279
|
-
Permission["list_func"] = "list_func";
|
|
280
|
-
Permission["get_func"] = "get_func";
|
|
281
|
-
Permission["create_func"] = "create_func";
|
|
282
|
-
Permission["delete_func"] = "delete_func";
|
|
283
|
-
Permission["update_func"] = "update_func";
|
|
284
|
-
Permission["debug_func"] = "debug_func";
|
|
285
|
-
Permission["call_func"] = "call_func";
|
|
286
|
-
Permission["list_func_release"] = "list_func_release";
|
|
287
|
-
Permission["get_func_release"] = "get_func_release";
|
|
288
|
-
Permission["create_func_release"] = "create_func_release";
|
|
289
|
-
Permission["delete_func_release"] = "delete_func_release";
|
|
290
|
-
Permission["deploy_func_release"] = "deploy_func_release";
|
|
291
|
-
Permission["list_flow_group"] = "list_flow_group";
|
|
292
|
-
Permission["create_flow_group"] = "create_flow_group";
|
|
293
|
-
Permission["delete_flow_group"] = "delete_flow_group";
|
|
294
|
-
Permission["update_flow_group"] = "update_flow_group";
|
|
295
|
-
Permission["arrange_flow_group"] = "arrange_flow_group";
|
|
296
|
-
Permission["list_flow"] = "list_flow";
|
|
297
|
-
Permission["get_flow"] = "get_flow";
|
|
298
|
-
Permission["create_flow"] = "create_flow";
|
|
299
|
-
Permission["delete_flow"] = "delete_flow";
|
|
300
|
-
Permission["update_flow"] = "update_flow";
|
|
301
|
-
Permission["debug_flow"] = "debug_flow";
|
|
302
|
-
Permission["call_flow"] = "call_flow";
|
|
303
|
-
Permission["list_flow_release"] = "list_flow_release";
|
|
304
|
-
Permission["get_flow_release"] = "get_flow_release";
|
|
305
|
-
Permission["create_flow_release"] = "create_flow_release";
|
|
306
|
-
Permission["delete_flow_release"] = "delete_flow_release";
|
|
307
|
-
Permission["deploy_flow_release"] = "deploy_flow_release";
|
|
308
|
-
Permission["list_task_group"] = "list_task_group";
|
|
309
|
-
Permission["create_task_group"] = "create_task_group";
|
|
310
|
-
Permission["delete_task_group"] = "delete_task_group";
|
|
311
|
-
Permission["update_task_group"] = "update_task_group";
|
|
312
|
-
Permission["arrange_task_group"] = "arrange_task_group";
|
|
313
|
-
Permission["list_task"] = "list_task";
|
|
314
|
-
Permission["create_task"] = "create_task";
|
|
315
|
-
Permission["delete_task"] = "delete_task";
|
|
316
|
-
Permission["update_task"] = "update_task";
|
|
317
|
-
Permission["open_compute_layer"] = "open_compute_layer";
|
|
318
|
-
Permission["open_task"] = "open_task";
|
|
319
|
-
Permission["list_data_space"] = "list_data_space";
|
|
320
|
-
Permission["get_data_space"] = "get_data_space";
|
|
321
|
-
Permission["create_data_space"] = "create_data_space";
|
|
322
|
-
Permission["delete_data_space"] = "delete_data_space";
|
|
323
|
-
Permission["update_data_space"] = "update_data_space";
|
|
324
|
-
Permission["arrange_data_space"] = "arrange_data_space";
|
|
325
|
-
Permission["list_table_group"] = "list_table_group";
|
|
326
|
-
Permission["create_table_group"] = "create_table_group";
|
|
327
|
-
Permission["delete_table_group"] = "delete_table_group";
|
|
328
|
-
Permission["update_table_group"] = "update_table_group";
|
|
329
|
-
Permission["arrange_table_group"] = "arrange_table_group";
|
|
330
|
-
Permission["list_table"] = "list_table";
|
|
331
|
-
Permission["get_table"] = "get_table";
|
|
332
|
-
Permission["create_table"] = "create_table";
|
|
333
|
-
Permission["delete_table"] = "delete_table";
|
|
334
|
-
Permission["update_table"] = "update_table";
|
|
335
|
-
Permission["get_data"] = "get_data";
|
|
336
|
-
Permission["create_data"] = "create_data";
|
|
337
|
-
Permission["delete_data"] = "delete_data";
|
|
338
|
-
Permission["update_data"] = "update_data";
|
|
339
|
-
Permission["get_relation_graph"] = "get_relation_graph";
|
|
340
|
-
Permission["update_relation_graph"] = "update_relation_graph";
|
|
341
|
-
Permission["list_change"] = "list_change";
|
|
342
|
-
Permission["apply_change"] = "apply_change";
|
|
343
|
-
Permission["open_data_layer"] = "open_data_layer";
|
|
344
|
-
Permission["list_resource_space"] = "list_resource_space";
|
|
345
|
-
Permission["get_resource_space"] = "get_resource_space";
|
|
346
|
-
Permission["create_resource_space"] = "create_resource_space";
|
|
347
|
-
Permission["delete_resource_space"] = "delete_resource_space";
|
|
348
|
-
Permission["update_resource_space"] = "update_resource_space";
|
|
349
|
-
Permission["arrange_resource_space"] = "arrange_resource_space";
|
|
350
|
-
Permission["list_dir"] = "list_dir";
|
|
351
|
-
Permission["create_dir"] = "create_dir";
|
|
352
|
-
Permission["delete_dir"] = "delete_dir";
|
|
353
|
-
Permission["update_dir"] = "update_dir";
|
|
354
|
-
Permission["move_dir"] = "move_dir";
|
|
355
|
-
Permission["list_resource"] = "list_resource";
|
|
356
|
-
Permission["get_resource"] = "get_resource";
|
|
357
|
-
Permission["create_resource"] = "create_resource";
|
|
358
|
-
Permission["delete_resource"] = "delete_resource";
|
|
359
|
-
Permission["update_resource"] = "update_resource";
|
|
360
|
-
Permission["move_resource"] = "move_resource";
|
|
361
|
-
Permission["open_resource_layer"] = "open_resource_layer";
|
|
362
|
-
Permission["list_org_member"] = "list_org_member";
|
|
363
|
-
Permission["add_org_member"] = "add_org_member";
|
|
364
|
-
Permission["remove_org_member"] = "remove_org_member";
|
|
365
|
-
Permission["update_org_member"] = "update_org_member";
|
|
366
|
-
Permission["list_org_role_group"] = "list_org_role_group";
|
|
367
|
-
Permission["create_org_role_group"] = "create_org_role_group";
|
|
368
|
-
Permission["delete_org_role_group"] = "delete_org_role_group";
|
|
369
|
-
Permission["update_org_role_group"] = "update_org_role_group";
|
|
370
|
-
Permission["arrange_org_role_group"] = "arrange_org_role_group";
|
|
371
|
-
Permission["list_org_role"] = "list_org_role";
|
|
372
|
-
Permission["get_org_role"] = "get_org_role";
|
|
373
|
-
Permission["create_org_role"] = "create_org_role";
|
|
374
|
-
Permission["delete_org_role"] = "delete_org_role";
|
|
375
|
-
Permission["update_org_role"] = "update_org_role";
|
|
376
|
-
Permission["get_org_structure"] = "get_org_structure";
|
|
377
|
-
Permission["update_org_structure"] = "update_org_structure";
|
|
378
|
-
Permission["filter_table"] = "filter_table";
|
|
379
|
-
return Permission;
|
|
380
|
-
}({});
|
|
381
250
|
function toPermissionObjects(permissions) {
|
|
382
251
|
const permissionObjects = {};
|
|
383
252
|
for (const key in permissions) {
|
|
@@ -875,12 +744,12 @@ function useSystem() {
|
|
|
875
744
|
return name;
|
|
876
745
|
};
|
|
877
746
|
const sentenceOfAsk = (verb, object, name) => {
|
|
878
|
-
if (locale.value === "en") return t("dlg.
|
|
747
|
+
if (locale.value === "en") return t("x-essential-lib.dlg.ask", {
|
|
879
748
|
verb: toLower(t(verb)),
|
|
880
749
|
object: toLower(t(object)),
|
|
881
750
|
name
|
|
882
751
|
});
|
|
883
|
-
else return t("dlg.
|
|
752
|
+
else return t("x-essential-lib.dlg.ask", {
|
|
884
753
|
verb: t(verb),
|
|
885
754
|
object: t(object),
|
|
886
755
|
name
|
|
@@ -933,30 +802,30 @@ var index_vue_vue_type_script_setup_true_lang_default$6 = /*@__PURE__*/ defineCo
|
|
|
933
802
|
const text = ref("");
|
|
934
803
|
const cancelColor = ref("");
|
|
935
804
|
const cancelText = ref("");
|
|
936
|
-
const
|
|
937
|
-
const
|
|
805
|
+
const okColor = ref("");
|
|
806
|
+
const okText = ref("");
|
|
938
807
|
let seq = 0;
|
|
939
808
|
let handled = false;
|
|
940
|
-
|
|
809
|
+
function onOpen(params) {
|
|
941
810
|
title.value = params.title;
|
|
942
811
|
subtitle.value = params.subtitle ?? "";
|
|
943
812
|
text.value = params.text;
|
|
944
813
|
cancelColor.value = params.cancel?.color ?? "primary";
|
|
945
|
-
cancelText.value = params.cancel?.text ?? t("dlg.
|
|
946
|
-
|
|
947
|
-
|
|
814
|
+
cancelText.value = params.cancel?.text ?? t("x-essential-lib.dlg.cancel");
|
|
815
|
+
okColor.value = params.ok?.color ?? "primary";
|
|
816
|
+
okText.value = params.ok?.text ?? t("x-essential-lib.dlg.ok");
|
|
948
817
|
seq = params.seq;
|
|
949
818
|
handled = false;
|
|
950
819
|
open.value = true;
|
|
951
|
-
}
|
|
820
|
+
}
|
|
952
821
|
const { open } = useViewStack("confirmDlg", onOpen);
|
|
953
|
-
|
|
822
|
+
function onConfirm() {
|
|
954
823
|
open.value = false;
|
|
955
824
|
if (!handled) {
|
|
956
825
|
eventBus.emit("confirmDlgResult" + seq, true);
|
|
957
826
|
handled = true;
|
|
958
827
|
}
|
|
959
|
-
}
|
|
828
|
+
}
|
|
960
829
|
watch(open, (val) => {
|
|
961
830
|
if (!val && !handled) {
|
|
962
831
|
eventBus.emit("confirmDlgResult" + seq, false);
|
|
@@ -993,11 +862,11 @@ var index_vue_vue_type_script_setup_true_lang_default$6 = /*@__PURE__*/ defineCo
|
|
|
993
862
|
default: withCtx(() => [createTextVNode(toDisplayString(cancelText.value), 1)]),
|
|
994
863
|
_: 1
|
|
995
864
|
}, 8, ["color"]), createVNode(_component_v_btn, {
|
|
996
|
-
color:
|
|
865
|
+
color: okColor.value,
|
|
997
866
|
variant: "text",
|
|
998
867
|
onClick: onConfirm
|
|
999
868
|
}, {
|
|
1000
|
-
default: withCtx(() => [createTextVNode(toDisplayString(
|
|
869
|
+
default: withCtx(() => [createTextVNode(toDisplayString(okText.value), 1)]),
|
|
1001
870
|
_: 1
|
|
1002
871
|
}, 8, ["color"])]),
|
|
1003
872
|
_: 1
|
|
@@ -1170,15 +1039,15 @@ var index_vue_vue_type_script_setup_true_lang_default$4 = /*@__PURE__*/ defineCo
|
|
|
1170
1039
|
onBeforeUnmount(() => {
|
|
1171
1040
|
eventBus.off("message", onMessage);
|
|
1172
1041
|
});
|
|
1173
|
-
|
|
1042
|
+
function onMessage(params) {
|
|
1174
1043
|
const { type, text, timeout } = params;
|
|
1175
1044
|
addItem(type, text, timeout);
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1045
|
+
}
|
|
1046
|
+
function onItemTimeout(id) {
|
|
1178
1047
|
removeItem(id);
|
|
1179
|
-
}
|
|
1048
|
+
}
|
|
1180
1049
|
let seq = 0;
|
|
1181
|
-
|
|
1050
|
+
function addItem(type, text, timeout) {
|
|
1182
1051
|
const id = seq++;
|
|
1183
1052
|
items.value.push({
|
|
1184
1053
|
id,
|
|
@@ -1186,11 +1055,11 @@ var index_vue_vue_type_script_setup_true_lang_default$4 = /*@__PURE__*/ defineCo
|
|
|
1186
1055
|
text,
|
|
1187
1056
|
timeout
|
|
1188
1057
|
});
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1058
|
+
}
|
|
1059
|
+
function removeItem(id) {
|
|
1191
1060
|
const idx = items.value.findIndex((item) => item.id === id);
|
|
1192
1061
|
if (idx >= 0) items.value.splice(idx, 1);
|
|
1193
|
-
}
|
|
1062
|
+
}
|
|
1194
1063
|
return (_ctx, _cache) => {
|
|
1195
1064
|
return openBlock(), createElementBlock("div", {
|
|
1196
1065
|
class: "x-cont d-flex flex-column-reverse align-center",
|
|
@@ -1234,7 +1103,7 @@ var index_vue_vue_type_script_setup_true_lang_default$3 = /*@__PURE__*/ defineCo
|
|
|
1234
1103
|
let seq = 0;
|
|
1235
1104
|
let handled = false;
|
|
1236
1105
|
const target = useTemplateRef("target");
|
|
1237
|
-
|
|
1106
|
+
async function onOpen(params) {
|
|
1238
1107
|
title.value = params.title;
|
|
1239
1108
|
subtitle.value = params.subtitle ?? "";
|
|
1240
1109
|
value.value = params.value;
|
|
@@ -1247,16 +1116,19 @@ var index_vue_vue_type_script_setup_true_lang_default$3 = /*@__PURE__*/ defineCo
|
|
|
1247
1116
|
open.value = true;
|
|
1248
1117
|
await waitUtil(() => !!target.value);
|
|
1249
1118
|
target.value.focus();
|
|
1250
|
-
}
|
|
1119
|
+
}
|
|
1251
1120
|
const { open } = useViewStack("numberDlg", onOpen);
|
|
1252
1121
|
const formValid = ref(false);
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1122
|
+
function onSubmit() {
|
|
1123
|
+
try {
|
|
1124
|
+
if (!handled) {
|
|
1125
|
+
eventBus.emit(`numberDlgResult${seq}`, value.value);
|
|
1126
|
+
handled = true;
|
|
1127
|
+
}
|
|
1128
|
+
} finally {
|
|
1129
|
+
open.value = false;
|
|
1258
1130
|
}
|
|
1259
|
-
}
|
|
1131
|
+
}
|
|
1260
1132
|
watch(open, (val) => {
|
|
1261
1133
|
if (!val && !handled) {
|
|
1262
1134
|
eventBus.emit(`numberDlgResult${seq}`, void 0);
|
|
@@ -1307,7 +1179,7 @@ var index_vue_vue_type_script_setup_true_lang_default$3 = /*@__PURE__*/ defineCo
|
|
|
1307
1179
|
variant: "text",
|
|
1308
1180
|
onClick: _cache[1] || (_cache[1] = ($event) => open.value = false)
|
|
1309
1181
|
}, {
|
|
1310
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("dlg.
|
|
1182
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("x-essential-lib.dlg.cancel")), 1)]),
|
|
1311
1183
|
_: 1
|
|
1312
1184
|
}), createVNode(_component_v_btn, {
|
|
1313
1185
|
color: "primary",
|
|
@@ -1315,7 +1187,7 @@ var index_vue_vue_type_script_setup_true_lang_default$3 = /*@__PURE__*/ defineCo
|
|
|
1315
1187
|
type: "submit",
|
|
1316
1188
|
variant: "text"
|
|
1317
1189
|
}, {
|
|
1318
|
-
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("dlg.
|
|
1190
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("x-essential-lib.dlg.ok")), 1)]),
|
|
1319
1191
|
_: 1
|
|
1320
1192
|
}, 8, ["disabled"])]),
|
|
1321
1193
|
_: 1
|
|
@@ -1349,12 +1221,12 @@ var index_vue_vue_type_script_setup_true_lang_default$2 = /*@__PURE__*/ defineCo
|
|
|
1349
1221
|
const value = ref("");
|
|
1350
1222
|
const cancelColor = ref("");
|
|
1351
1223
|
const cancelText = ref("");
|
|
1352
|
-
const
|
|
1353
|
-
const
|
|
1224
|
+
const okColor = ref("");
|
|
1225
|
+
const okText = ref("");
|
|
1354
1226
|
let seq = 0;
|
|
1355
1227
|
let handled = false;
|
|
1356
1228
|
const target = useTemplateRef("target");
|
|
1357
|
-
|
|
1229
|
+
async function onOpen(params) {
|
|
1358
1230
|
title.value = params.title;
|
|
1359
1231
|
subtitle.value = params.subtitle ?? "";
|
|
1360
1232
|
text.value = params.text;
|
|
@@ -1363,24 +1235,27 @@ var index_vue_vue_type_script_setup_true_lang_default$2 = /*@__PURE__*/ defineCo
|
|
|
1363
1235
|
rules.value = params.rules;
|
|
1364
1236
|
value.value = params.value;
|
|
1365
1237
|
cancelColor.value = params.cancel?.color ?? "primary";
|
|
1366
|
-
cancelText.value = params.cancel?.text ?? t("dlg.
|
|
1367
|
-
|
|
1368
|
-
|
|
1238
|
+
cancelText.value = params.cancel?.text ?? t("x-essential-lib.dlg.cancel");
|
|
1239
|
+
okColor.value = params.ok?.color ?? "primary";
|
|
1240
|
+
okText.value = params.ok?.text ?? t("x-essential-lib.dlg.ok");
|
|
1369
1241
|
seq = params.seq;
|
|
1370
1242
|
handled = false;
|
|
1371
1243
|
open.value = true;
|
|
1372
1244
|
await waitUtil(() => !!target.value);
|
|
1373
1245
|
target.value.focus();
|
|
1374
|
-
}
|
|
1246
|
+
}
|
|
1375
1247
|
const { open } = useViewStack("promptDlg", onOpen);
|
|
1376
1248
|
const formValid = ref(false);
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1249
|
+
function onSubmit() {
|
|
1250
|
+
try {
|
|
1251
|
+
if (!handled) {
|
|
1252
|
+
eventBus.emit("promptDlgResult" + seq, value.value ?? "");
|
|
1253
|
+
handled = true;
|
|
1254
|
+
}
|
|
1255
|
+
} finally {
|
|
1256
|
+
open.value = false;
|
|
1382
1257
|
}
|
|
1383
|
-
}
|
|
1258
|
+
}
|
|
1384
1259
|
watch(open, (val) => {
|
|
1385
1260
|
if (!val && !handled) {
|
|
1386
1261
|
eventBus.emit("promptDlgResult" + seq, void 0);
|
|
@@ -1438,12 +1313,12 @@ var index_vue_vue_type_script_setup_true_lang_default$2 = /*@__PURE__*/ defineCo
|
|
|
1438
1313
|
default: withCtx(() => [createTextVNode(toDisplayString(cancelText.value), 1)]),
|
|
1439
1314
|
_: 1
|
|
1440
1315
|
}, 8, ["color"]), createVNode(_component_v_btn, {
|
|
1441
|
-
color:
|
|
1316
|
+
color: okColor.value,
|
|
1442
1317
|
disabled: !formValid.value,
|
|
1443
1318
|
type: "submit",
|
|
1444
1319
|
variant: "text"
|
|
1445
1320
|
}, {
|
|
1446
|
-
default: withCtx(() => [createTextVNode(toDisplayString(
|
|
1321
|
+
default: withCtx(() => [createTextVNode(toDisplayString(okText.value), 1)]),
|
|
1447
1322
|
_: 1
|
|
1448
1323
|
}, 8, ["color", "disabled"])]),
|
|
1449
1324
|
_: 1
|
|
@@ -1529,10 +1404,10 @@ var index_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
1529
1404
|
setup(__props) {
|
|
1530
1405
|
const { t } = useI18n();
|
|
1531
1406
|
const text = ref("");
|
|
1532
|
-
|
|
1533
|
-
text.value = params.text ?? t("dlg.
|
|
1407
|
+
function onOpen(params) {
|
|
1408
|
+
text.value = params.text ?? t("x-essential-lib.dlg.responding");
|
|
1534
1409
|
open.value = true;
|
|
1535
|
-
}
|
|
1410
|
+
}
|
|
1536
1411
|
const onClose = () => {
|
|
1537
1412
|
open.value = false;
|
|
1538
1413
|
};
|
|
@@ -1587,8 +1462,8 @@ const install = (app) => {
|
|
|
1587
1462
|
//#endregion
|
|
1588
1463
|
//#region src/i18n/index.ts
|
|
1589
1464
|
async function loadLocaleMessageEssential(locale) {
|
|
1590
|
-
if (locale === "en") return (await import("./i18n-en.
|
|
1591
|
-
else if (locale === "zhHans") return (await import("./i18n-zhHans.
|
|
1465
|
+
if (locale === "en") return (await import("./i18n-en.giopyqn9.js").then((n) => n.t)).default;
|
|
1466
|
+
else if (locale === "zhHans") return (await import("./i18n-zhHans.n7dz1nv0.js").then((n) => n.t)).default;
|
|
1592
1467
|
else throw new Error(`invalid locale=${locale}`);
|
|
1593
1468
|
}
|
|
1594
1469
|
|
|
@@ -1597,4 +1472,4 @@ async function loadLocaleMessageEssential(locale) {
|
|
|
1597
1472
|
var src_default = { install };
|
|
1598
1473
|
|
|
1599
1474
|
//#endregion
|
|
1600
|
-
export {
|
|
1475
|
+
export { addView, appAppear, clearViews, closeWaitDlg, createAxios, src_default as default, delView, eventBus, getTypeColor, getTypeDefault, globalObjects, hasView, injectDark, injectLocale, injectPermissionObjects, injectViews, isEmpty, isExist, lastView, loadLocaleMessageEssential, matchRouteMeta, messageError, messageInfo, messageSuccess, messageWarning, onBeforeEnter, openConfirmDlg, openNumberDlg, openPromptDlg, openWaitDlg, popView, provideDark, provideLocale, providePermissionObjects, provideViews, routeTransName, toPermissionObjects, types, useColor, useGlobalStates, useMicroApp, usePageRoute, usePermission, useSystem, useViewStack, verifyPermission, waitMs, waitUtil };
|
|
@@ -577,12 +577,12 @@ function toLower(value) {
|
|
|
577
577
|
//#endregion
|
|
578
578
|
//#region node_modules/.pnpm/mitt@3.0.1/node_modules/mitt/index.d.ts
|
|
579
579
|
var EventType = [
|
|
580
|
-
|
|
580
|
+
60,
|
|
581
581
|
() => [],
|
|
582
582
|
[]
|
|
583
583
|
];
|
|
584
584
|
var Handler = [
|
|
585
|
-
|
|
585
|
+
61,
|
|
586
586
|
(T) => [T],
|
|
587
587
|
[
|
|
588
588
|
"",
|
|
@@ -591,7 +591,7 @@ var Handler = [
|
|
|
591
591
|
]
|
|
592
592
|
];
|
|
593
593
|
var WildcardHandler = [
|
|
594
|
-
|
|
594
|
+
62,
|
|
595
595
|
(T) => [
|
|
596
596
|
Record,
|
|
597
597
|
T,
|
|
@@ -609,7 +609,7 @@ var WildcardHandler = [
|
|
|
609
609
|
]
|
|
610
610
|
];
|
|
611
611
|
var EventHandlerList = [
|
|
612
|
-
|
|
612
|
+
63,
|
|
613
613
|
(T) => [
|
|
614
614
|
T,
|
|
615
615
|
Handler,
|
|
@@ -623,7 +623,7 @@ var EventHandlerList = [
|
|
|
623
623
|
]
|
|
624
624
|
];
|
|
625
625
|
var WildCardEventHandlerList = [
|
|
626
|
-
|
|
626
|
+
64,
|
|
627
627
|
(T) => [
|
|
628
628
|
Record,
|
|
629
629
|
T,
|
|
@@ -639,7 +639,7 @@ var WildCardEventHandlerList = [
|
|
|
639
639
|
]
|
|
640
640
|
];
|
|
641
641
|
var EventHandlerMap = [
|
|
642
|
-
|
|
642
|
+
65,
|
|
643
643
|
(Events) => [
|
|
644
644
|
EventType,
|
|
645
645
|
Record,
|
|
@@ -665,7 +665,7 @@ var EventHandlerMap = [
|
|
|
665
665
|
]
|
|
666
666
|
];
|
|
667
667
|
var Emitter = [
|
|
668
|
-
|
|
668
|
+
66,
|
|
669
669
|
(Key, Events) => [
|
|
670
670
|
EventType,
|
|
671
671
|
Record,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-essential-lib",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.39",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepare": "husky"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"x-error-lib": "^0.6.
|
|
27
|
+
"x-error-lib": "^0.6.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/js-cookie": "^3.0.6",
|