liyu-pc-base 1.0.200 → 1.0.204
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/{FormRender3-baef74c1.js → FormRender3-00fd478d.js} +2 -2
- package/dist/{FormRender3-baef74c1.js.map → FormRender3-00fd478d.js.map} +1 -1
- package/dist/api/api-model.js +1 -1
- package/dist/components/FormRender/utils.js +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/remotePages/index.js +4 -3
- package/dist/components/remotePages/index.js.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/{init-plugin-aca29fd8.js → init-plugin-47c892a4.js} +73 -61
- package/dist/init-plugin-47c892a4.js.map +1 -0
- package/dist/{modal-tools-15f2ef04.js → modal-tools-be7203ba.js} +1 -1
- package/dist/{modal-tools-15f2ef04.js.map → modal-tools-be7203ba.js.map} +1 -1
- package/dist/utils/function.js +209 -198
- package/dist/utils/function.js.map +1 -1
- package/dist/utils/hooks/useFetchData.js +1 -1
- package/package.json +1 -1
- package/dist/init-plugin-aca29fd8.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { e as M, g as R, b as _, u as n, a as
|
|
2
|
-
import { F as m, A as u, a, S as c, R as l, b as d, c as f, d as S, J as b, e as t, f as I, g as C, h as g } from "./FormRender3-
|
|
1
|
+
import { e as M, g as R, b as _, u as n, a as F, r as q, c as v, d as x, f as j, l as A, s as k, h as w, i as T, j as h, k as E, m as H, n as J, o as P, w as U } from "./init-plugin-47c892a4.js";
|
|
2
|
+
import { F as m, A as u, a, S as c, R as l, b as d, c as f, d as S, J as b, e as t, f as I, g as C, h as g } from "./FormRender3-00fd478d.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "@ant-design/icons-vue";
|
|
5
5
|
import "ant-design-vue";
|
|
6
|
-
import "./modal-tools-
|
|
6
|
+
import "./modal-tools-be7203ba.js";
|
|
7
7
|
import "vue-i18n";
|
|
8
8
|
import "moment";
|
|
9
9
|
import "./lodash-18e68795.js";
|
|
@@ -20,11 +20,11 @@ import "./utils/excel.js";
|
|
|
20
20
|
import "xlsx";
|
|
21
21
|
import "emmet";
|
|
22
22
|
import "mitt";
|
|
23
|
-
const
|
|
23
|
+
const me = {
|
|
24
24
|
install(r, e) {
|
|
25
|
-
e != null && e.env && r.use(M(e.env)), e != null && e.globMap && r.use(R(e.globMap)), e != null && e.bus && r.use(_(e.bus)), e != null && e.useAppStore && r.use(n(e.useAppStore)), e != null && e.useUserStore && r.use(
|
|
25
|
+
e != null && e.env && r.use(M(e.env)), e != null && e.globMap && r.use(R(e.globMap)), e != null && e.bus && r.use(_(e.bus)), e != null && e.useAppStore && r.use(n(e.useAppStore)), e != null && e.useUserStore && r.use(F(e.useUserStore)), e != null && e.request && r.use(q(e.request)), e != null && e.useRequiredConditionStore && r.use(v(e.useRequiredConditionStore)), e != null && e.required_condition_event_obj && r.use(x(e.required_condition_event_obj)), e != null && e.event_obj && r.use(j(e.event_obj)), e != null && e.ls && r.use(A(e.ls)), e != null && e.sourceStore && r.use(k(e.sourceStore)), e != null && e.usePageConfigStore && r.use(w(e.usePageConfigStore)), e != null && e.remoteSelectStore && r.use(T(e.remoteSelectStore)), e != null && e.cellComponentMap && r.use(h(e.cellComponentMap)), e != null && e.cellFormatExcelValueMap && r.use(E(e.cellFormatExcelValueMap)), e != null && e.menuComponents && r.use(H(e.menuComponents)), e != null && e.debugCodeComponent && r.use(J(e.debugCodeComponent)), e != null && e.extraMenuIcons && r.use(P(e.extraMenuIcons)), e != null && e.workerHostFunctions && r.use(U(e.workerHostFunctions)), r.component(m.name, m).component(u.name, u).component(a.name, a).component(c.name, c).component(l.name, l).component(d.name, d).component(f.name, f).component(S.name, S).component(b.name, b).component(t.name, t).component(I.name, I).component(C.name, C).component(g.name, g);
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
export {
|
|
29
|
-
|
|
29
|
+
me as default
|
|
30
30
|
};
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import {\n busInit,\n cellComponentMapInit,\n cellFormatExcelValueMapInit,\n envInit,\n event_objInit,\n globMapInit,\n lsInit,\n remoteSelectStoreInit,\n requestInit,\n required_condition_event_objInit,\n sourceStoreInit,\n useAppStoreInit,\n usePageConfigStoreInit,\n useRequiredConditionStoreInit,\n useUserStoreInit,\n menuComponentsInit,\n debugCodeComponentInit,\n extraMenuIconsInit,\n} from './init-plugin';\nimport 'uno.css';\nimport AttributeNomTable from './components/FormRender/AttributeNomTable/index.vue';\nimport AttributeTable from './components/FormRender/AttributeTable/index.vue';\nimport FieldRender from './components/FormRender/FieldRender.vue';\nimport JsonObj from './components/FormRender/JsonObj/index.vue';\nimport JsonStr from './components/FormRender/JsonStr/index.vue';\nimport RemoteCascader from './components/FormRender/RemoteCascader/RemoteCascader.vue';\nimport RemoteFilterSelect from './components/FormRender/RemoteFilterSelect/RemoteFilterSelect.vue';\nimport RemoteModal from './components/FormRender/RemoteModal/RemoteModal.vue';\nimport RemoteSelect from './components/FormRender/RemoteSelect/RemoteSelect.vue';\nimport RemoteTable2 from './components/FormRender/RemoteTable2/RemoteTable2.vue';\nimport RemoteText from './components/FormRender/RemoteText/RemoteText.vue';\nimport SearchRender from './components/FormRender/SearchRender.vue';\nimport FormRender3 from './components/FormRender/FormRender3.vue';\n\nexport default {\n install(app: any, options: any) {\n if (options?.env) {\n app.use(envInit(options.env));\n }\n if (options?.globMap) {\n app.use(globMapInit(options.globMap));\n }\n if (options?.bus) {\n app.use(busInit(options.bus));\n }\n if (options?.useAppStore) {\n app.use(useAppStoreInit(options.useAppStore));\n }\n if (options?.useUserStore) {\n app.use(useUserStoreInit(options.useUserStore));\n }\n if (options?.request) {\n app.use(requestInit(options.request));\n }\n if (options?.useRequiredConditionStore) {\n app.use(useRequiredConditionStoreInit(options.useRequiredConditionStore));\n }\n if (options?.required_condition_event_obj) {\n app.use(required_condition_event_objInit(options.required_condition_event_obj));\n }\n if (options?.event_obj) {\n app.use(event_objInit(options.event_obj));\n }\n if (options?.ls) {\n app.use(lsInit(options.ls));\n }\n if (options?.sourceStore) {\n app.use(sourceStoreInit(options.sourceStore));\n }\n if (options?.usePageConfigStore) {\n app.use(usePageConfigStoreInit(options.usePageConfigStore));\n }\n if (options?.remoteSelectStore) {\n app.use(remoteSelectStoreInit(options.remoteSelectStore));\n }\n if (options?.cellComponentMap) {\n app.use(cellComponentMapInit(options.cellComponentMap));\n }\n if (options?.cellFormatExcelValueMap) {\n app.use(cellFormatExcelValueMapInit(options.cellFormatExcelValueMap));\n }\n if (options?.menuComponents) {\n app.use(menuComponentsInit(options.menuComponents));\n }\n if (options?.debugCodeComponent) {\n app.use(debugCodeComponentInit(options.debugCodeComponent));\n }\n if (options?.extraMenuIcons) {\n app.use(extraMenuIconsInit(options.extraMenuIcons));\n }\n app\n .component(FieldRender.name, FieldRender)\n .component(AttributeTable.name, AttributeTable)\n .component(AttributeNomTable.name, AttributeNomTable)\n .component(SearchRender.name, SearchRender)\n .component(RemoteSelect.name, RemoteSelect)\n .component(RemoteCascader.name, RemoteCascader)\n .component(RemoteFilterSelect.name, RemoteFilterSelect)\n .component(RemoteModal.name, RemoteModal)\n .component(JsonStr.name, JsonStr)\n .component(JsonObj.name, JsonObj)\n .component(RemoteText.name, RemoteText)\n .component(RemoteTable2.name, RemoteTable2)\n .component(FormRender3.name, FormRender3);\n },\n};\n"],"names":["index","app","options","envInit","globMapInit","busInit","useAppStoreInit","useUserStoreInit","requestInit","useRequiredConditionStoreInit","required_condition_event_objInit","event_objInit","lsInit","sourceStoreInit","usePageConfigStoreInit","remoteSelectStoreInit","cellComponentMapInit","cellFormatExcelValueMapInit","menuComponentsInit","debugCodeComponentInit","extraMenuIconsInit","FieldRender","AttributeTable","AttributeNomTable","SearchRender","RemoteSelect","RemoteCascader","RemoteFilterSelect","RemoteModal","JsonStr","JsonObj","RemoteText","RemoteTable2","FormRender3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["import {\n busInit,\n cellComponentMapInit,\n cellFormatExcelValueMapInit,\n envInit,\n event_objInit,\n globMapInit,\n lsInit,\n remoteSelectStoreInit,\n requestInit,\n required_condition_event_objInit,\n sourceStoreInit,\n useAppStoreInit,\n usePageConfigStoreInit,\n useRequiredConditionStoreInit,\n useUserStoreInit,\n menuComponentsInit,\n debugCodeComponentInit,\n extraMenuIconsInit,\n workerHostFunctionsInit,\n} from './init-plugin';\nimport 'uno.css';\nimport AttributeNomTable from './components/FormRender/AttributeNomTable/index.vue';\nimport AttributeTable from './components/FormRender/AttributeTable/index.vue';\nimport FieldRender from './components/FormRender/FieldRender.vue';\nimport JsonObj from './components/FormRender/JsonObj/index.vue';\nimport JsonStr from './components/FormRender/JsonStr/index.vue';\nimport RemoteCascader from './components/FormRender/RemoteCascader/RemoteCascader.vue';\nimport RemoteFilterSelect from './components/FormRender/RemoteFilterSelect/RemoteFilterSelect.vue';\nimport RemoteModal from './components/FormRender/RemoteModal/RemoteModal.vue';\nimport RemoteSelect from './components/FormRender/RemoteSelect/RemoteSelect.vue';\nimport RemoteTable2 from './components/FormRender/RemoteTable2/RemoteTable2.vue';\nimport RemoteText from './components/FormRender/RemoteText/RemoteText.vue';\nimport SearchRender from './components/FormRender/SearchRender.vue';\nimport FormRender3 from './components/FormRender/FormRender3.vue';\n\nexport default {\n install(app: any, options: any) {\n if (options?.env) {\n app.use(envInit(options.env));\n }\n if (options?.globMap) {\n app.use(globMapInit(options.globMap));\n }\n if (options?.bus) {\n app.use(busInit(options.bus));\n }\n if (options?.useAppStore) {\n app.use(useAppStoreInit(options.useAppStore));\n }\n if (options?.useUserStore) {\n app.use(useUserStoreInit(options.useUserStore));\n }\n if (options?.request) {\n app.use(requestInit(options.request));\n }\n if (options?.useRequiredConditionStore) {\n app.use(useRequiredConditionStoreInit(options.useRequiredConditionStore));\n }\n if (options?.required_condition_event_obj) {\n app.use(required_condition_event_objInit(options.required_condition_event_obj));\n }\n if (options?.event_obj) {\n app.use(event_objInit(options.event_obj));\n }\n if (options?.ls) {\n app.use(lsInit(options.ls));\n }\n if (options?.sourceStore) {\n app.use(sourceStoreInit(options.sourceStore));\n }\n if (options?.usePageConfigStore) {\n app.use(usePageConfigStoreInit(options.usePageConfigStore));\n }\n if (options?.remoteSelectStore) {\n app.use(remoteSelectStoreInit(options.remoteSelectStore));\n }\n if (options?.cellComponentMap) {\n app.use(cellComponentMapInit(options.cellComponentMap));\n }\n if (options?.cellFormatExcelValueMap) {\n app.use(cellFormatExcelValueMapInit(options.cellFormatExcelValueMap));\n }\n if (options?.menuComponents) {\n app.use(menuComponentsInit(options.menuComponents));\n }\n if (options?.debugCodeComponent) {\n app.use(debugCodeComponentInit(options.debugCodeComponent));\n }\n if (options?.extraMenuIcons) {\n app.use(extraMenuIconsInit(options.extraMenuIcons));\n }\n if (options?.workerHostFunctions) {\n app.use(workerHostFunctionsInit(options.workerHostFunctions));\n }\n\n app\n .component(FieldRender.name, FieldRender)\n .component(AttributeTable.name, AttributeTable)\n .component(AttributeNomTable.name, AttributeNomTable)\n .component(SearchRender.name, SearchRender)\n .component(RemoteSelect.name, RemoteSelect)\n .component(RemoteCascader.name, RemoteCascader)\n .component(RemoteFilterSelect.name, RemoteFilterSelect)\n .component(RemoteModal.name, RemoteModal)\n .component(JsonStr.name, JsonStr)\n .component(JsonObj.name, JsonObj)\n .component(RemoteText.name, RemoteText)\n .component(RemoteTable2.name, RemoteTable2)\n .component(FormRender3.name, FormRender3);\n },\n};\n"],"names":["index","app","options","envInit","globMapInit","busInit","useAppStoreInit","useUserStoreInit","requestInit","useRequiredConditionStoreInit","required_condition_event_objInit","event_objInit","lsInit","sourceStoreInit","usePageConfigStoreInit","remoteSelectStoreInit","cellComponentMapInit","cellFormatExcelValueMapInit","menuComponentsInit","debugCodeComponentInit","extraMenuIconsInit","workerHostFunctionsInit","FieldRender","AttributeTable","AttributeNomTable","SearchRender","RemoteSelect","RemoteCascader","RemoteFilterSelect","RemoteModal","JsonStr","JsonObj","RemoteText","RemoteTable2","FormRender3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAoCA,MAAeA,KAAA;AAAA,EACb,QAAQC,GAAUC,GAAc;AAC9B,IAAIA,KAAA,QAAAA,EAAS,OACXD,EAAI,IAAIE,EAAQD,EAAQ,GAAG,CAAC,GAE1BA,KAAA,QAAAA,EAAS,WACXD,EAAI,IAAIG,EAAYF,EAAQ,OAAO,CAAC,GAElCA,KAAA,QAAAA,EAAS,OACXD,EAAI,IAAII,EAAQH,EAAQ,GAAG,CAAC,GAE1BA,KAAA,QAAAA,EAAS,eACXD,EAAI,IAAIK,EAAgBJ,EAAQ,WAAW,CAAC,GAE1CA,KAAA,QAAAA,EAAS,gBACXD,EAAI,IAAIM,EAAiBL,EAAQ,YAAY,CAAC,GAE5CA,KAAA,QAAAA,EAAS,WACXD,EAAI,IAAIO,EAAYN,EAAQ,OAAO,CAAC,GAElCA,KAAA,QAAAA,EAAS,6BACXD,EAAI,IAAIQ,EAA8BP,EAAQ,yBAAyB,CAAC,GAEtEA,KAAA,QAAAA,EAAS,gCACXD,EAAI,IAAIS,EAAiCR,EAAQ,4BAA4B,CAAC,GAE5EA,KAAA,QAAAA,EAAS,aACXD,EAAI,IAAIU,EAAcT,EAAQ,SAAS,CAAC,GAEtCA,KAAA,QAAAA,EAAS,MACXD,EAAI,IAAIW,EAAOV,EAAQ,EAAE,CAAC,GAExBA,KAAA,QAAAA,EAAS,eACXD,EAAI,IAAIY,EAAgBX,EAAQ,WAAW,CAAC,GAE1CA,KAAA,QAAAA,EAAS,sBACXD,EAAI,IAAIa,EAAuBZ,EAAQ,kBAAkB,CAAC,GAExDA,KAAA,QAAAA,EAAS,qBACXD,EAAI,IAAIc,EAAsBb,EAAQ,iBAAiB,CAAC,GAEtDA,KAAA,QAAAA,EAAS,oBACXD,EAAI,IAAIe,EAAqBd,EAAQ,gBAAgB,CAAC,GAEpDA,KAAA,QAAAA,EAAS,2BACXD,EAAI,IAAIgB,EAA4Bf,EAAQ,uBAAuB,CAAC,GAElEA,KAAA,QAAAA,EAAS,kBACXD,EAAI,IAAIiB,EAAmBhB,EAAQ,cAAc,CAAC,GAEhDA,KAAA,QAAAA,EAAS,sBACXD,EAAI,IAAIkB,EAAuBjB,EAAQ,kBAAkB,CAAC,GAExDA,KAAA,QAAAA,EAAS,kBACXD,EAAI,IAAImB,EAAmBlB,EAAQ,cAAc,CAAC,GAEhDA,KAAA,QAAAA,EAAS,uBACXD,EAAI,IAAIoB,EAAwBnB,EAAQ,mBAAmB,CAAC,GAG9DD,EACG,UAAUqB,EAAY,MAAMA,CAAW,EACvC,UAAUC,EAAe,MAAMA,CAAc,EAC7C,UAAUC,EAAkB,MAAMA,CAAiB,EACnD,UAAUC,EAAa,MAAMA,CAAY,EACzC,UAAUC,EAAa,MAAMA,CAAY,EACzC,UAAUC,EAAe,MAAMA,CAAc,EAC7C,UAAUC,EAAmB,MAAMA,CAAkB,EACrD,UAAUC,EAAY,MAAMA,CAAW,EACvC,UAAUC,EAAQ,MAAMA,CAAO,EAC/B,UAAUC,EAAQ,MAAMA,CAAO,EAC/B,UAAUC,EAAW,MAAMA,CAAU,EACrC,UAAUC,EAAa,MAAMA,CAAY,EACzC,UAAUC,EAAY,MAAMA,CAAW;AAAA,EAC5C;AACF;"}
|
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
const t = {}, o = "env", u = "bus", r = "useUserStore", s = "request",
|
|
2
|
-
function
|
|
1
|
+
const t = {}, o = "env", u = "bus", r = "useUserStore", s = "request", i = "useRequiredConditionStore", a = "required_condition_event_obj", c = "globMap", E = "event_obj", K = "ls", l = "sourceStore", _ = "usePageConfigStore", p = "remoteSelectStore", f = "cellComponentMap", S = "cellFormatExcelValueMap", C = "useAppStore", I = "menu_components", O = "debuge_code_component", M = "extraMenuIcons", R = "workerHostFunctions";
|
|
2
|
+
function T(n) {
|
|
3
3
|
return {
|
|
4
4
|
install(e) {
|
|
5
5
|
t[o] = n;
|
|
6
6
|
}
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function d(n) {
|
|
10
10
|
return {
|
|
11
11
|
install(e) {
|
|
12
12
|
t[u] = n;
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function N(n) {
|
|
17
17
|
return {
|
|
18
18
|
install(e) {
|
|
19
19
|
t[r] = n;
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Y(n) {
|
|
24
24
|
return {
|
|
25
25
|
install(e) {
|
|
26
26
|
t[C] = n;
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function m(n) {
|
|
31
31
|
return {
|
|
32
32
|
install(e) {
|
|
33
33
|
t[s] = n;
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function U(n) {
|
|
38
38
|
return {
|
|
39
39
|
install(e) {
|
|
40
|
-
t[
|
|
40
|
+
t[i] = n;
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function b(n) {
|
|
45
45
|
return {
|
|
46
46
|
install(e) {
|
|
47
|
-
t[
|
|
47
|
+
t[a] = n;
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function A(n) {
|
|
52
52
|
return {
|
|
53
53
|
install(e) {
|
|
54
54
|
t[c] = n;
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function g(n) {
|
|
59
59
|
return {
|
|
60
60
|
install(e) {
|
|
61
61
|
t[E] = n;
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function P(n) {
|
|
66
66
|
return {
|
|
67
67
|
install(e) {
|
|
68
|
-
t[
|
|
68
|
+
t[K] = n;
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function q(n) {
|
|
73
73
|
return {
|
|
74
74
|
install(e) {
|
|
75
75
|
t[l] = n;
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function v(n) {
|
|
80
80
|
return {
|
|
81
81
|
install(e) {
|
|
82
82
|
t[f] = n;
|
|
83
83
|
}
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function F(n) {
|
|
87
87
|
return {
|
|
88
88
|
install(e) {
|
|
89
89
|
t[S] = n;
|
|
@@ -125,32 +125,39 @@ function B(n) {
|
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
127
|
}
|
|
128
|
-
function V() {
|
|
128
|
+
function V(n) {
|
|
129
|
+
return {
|
|
130
|
+
install(e) {
|
|
131
|
+
t[R] = n;
|
|
132
|
+
}
|
|
133
|
+
};
|
|
134
|
+
}
|
|
135
|
+
function G() {
|
|
129
136
|
return t[C]();
|
|
130
137
|
}
|
|
131
|
-
function
|
|
138
|
+
function H() {
|
|
132
139
|
return t[o] || {};
|
|
133
140
|
}
|
|
134
|
-
function
|
|
141
|
+
function k() {
|
|
135
142
|
return t[u] || {};
|
|
136
143
|
}
|
|
137
|
-
function
|
|
144
|
+
function w() {
|
|
138
145
|
return t[r]();
|
|
139
146
|
}
|
|
140
147
|
function J() {
|
|
141
148
|
return t[s];
|
|
142
149
|
}
|
|
143
|
-
function
|
|
144
|
-
return t[
|
|
150
|
+
function Q() {
|
|
151
|
+
return t[i]();
|
|
145
152
|
}
|
|
146
|
-
function
|
|
147
|
-
return t[
|
|
153
|
+
function W() {
|
|
154
|
+
return t[a];
|
|
148
155
|
}
|
|
149
|
-
function
|
|
156
|
+
function X(n) {
|
|
150
157
|
var e;
|
|
151
158
|
return ((e = t[c]) == null ? void 0 : e[n]) || {};
|
|
152
159
|
}
|
|
153
|
-
function
|
|
160
|
+
function h() {
|
|
154
161
|
return t[E];
|
|
155
162
|
}
|
|
156
163
|
function y() {
|
|
@@ -159,58 +166,63 @@ function y() {
|
|
|
159
166
|
function z() {
|
|
160
167
|
return t[_]();
|
|
161
168
|
}
|
|
162
|
-
function
|
|
169
|
+
function Z() {
|
|
163
170
|
return t[p];
|
|
164
171
|
}
|
|
165
|
-
function
|
|
172
|
+
function $() {
|
|
166
173
|
return t[f]() || {};
|
|
167
174
|
}
|
|
168
|
-
function
|
|
175
|
+
function nn() {
|
|
169
176
|
return t[S]() || {};
|
|
170
177
|
}
|
|
171
|
-
function
|
|
178
|
+
function tn() {
|
|
172
179
|
return t[I] || [];
|
|
173
180
|
}
|
|
174
|
-
function
|
|
181
|
+
function en() {
|
|
175
182
|
return t[O] || null;
|
|
176
183
|
}
|
|
177
|
-
function
|
|
184
|
+
function on() {
|
|
178
185
|
return t[M] || [];
|
|
179
186
|
}
|
|
187
|
+
function un() {
|
|
188
|
+
return t[R] || {};
|
|
189
|
+
}
|
|
180
190
|
export {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
N as
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
191
|
+
X as A,
|
|
192
|
+
en as B,
|
|
193
|
+
on as C,
|
|
194
|
+
Z as D,
|
|
195
|
+
h as E,
|
|
196
|
+
tn as F,
|
|
197
|
+
z as G,
|
|
198
|
+
$ as H,
|
|
199
|
+
nn as I,
|
|
200
|
+
k as J,
|
|
201
|
+
un as K,
|
|
202
|
+
N as a,
|
|
203
|
+
d as b,
|
|
204
|
+
U as c,
|
|
205
|
+
b as d,
|
|
206
|
+
T as e,
|
|
207
|
+
g as f,
|
|
208
|
+
A as g,
|
|
197
209
|
L as h,
|
|
198
210
|
x as i,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
211
|
+
v as j,
|
|
212
|
+
F as k,
|
|
213
|
+
P as l,
|
|
202
214
|
D as m,
|
|
203
215
|
j as n,
|
|
204
216
|
B as o,
|
|
205
217
|
J as p,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
218
|
+
H as q,
|
|
219
|
+
m as r,
|
|
220
|
+
q as s,
|
|
221
|
+
Q as t,
|
|
222
|
+
Y as u,
|
|
223
|
+
w as v,
|
|
212
224
|
V as w,
|
|
213
|
-
|
|
214
|
-
y,
|
|
215
|
-
|
|
225
|
+
G as x,
|
|
226
|
+
W as y,
|
|
227
|
+
y as z
|
|
216
228
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init-plugin-47c892a4.js","sources":["../src/init-plugin.ts"],"sourcesContent":["import { App } from 'vue';\nconst _data = {};\nconst ENV_KEY = 'env';\nconst BUS_KEY = 'bus';\nconst USE_USER_STORE_KEY = 'useUserStore';\nconst REQUEST_KEY = 'request';\nconst USE_REQUIRED_CONDITION_STORE_KEY = 'useRequiredConditionStore';\nconst REQUIRED_CONDITION_EVENT_OBJ_KEY = 'required_condition_event_obj';\nconst GLOBAL_MAP_KEY = 'globMap';\nconst EVENT_OBJ_KEY = 'event_obj';\nconst LS_KEY = 'ls';\nconst SOURCE_STORE_KEY = 'sourceStore';\nconst USE_PAGE_CONFIG_STORE_KEY = 'usePageConfigStore';\nconst REMOTE_SELECT_STORE_KEY = 'remoteSelectStore';\nconst CELL_COMPONENT_MAP_KEY = 'cellComponentMap';\nconst CELL_FORMAT_EXCEL_VALUE_MAP_KEY = 'cellFormatExcelValueMap';\nconst USE_APP_STORE_KEY = 'useAppStore';\nconst MENU_COMPONENTS_KEY = 'menu_components';\nconst DEBUGE_CODE_COMPONENT_KEY = 'debuge_code_component';\nconst EXTRA_MENU_ICONS_KEY = 'extraMenuIcons';\nconst WORKER_HOST_FUNCTIONS_KEY = 'workerHostFunctions';\nexport function envInit(env: Record<string, any>) {\n return {\n install(app: App) {\n _data[ENV_KEY] = env;\n },\n };\n}\nexport function busInit(bus: any) {\n return {\n install(app: App) {\n _data[BUS_KEY] = bus;\n },\n };\n}\nexport function useUserStoreInit(useUserStore: any) {\n return {\n install(app: App) {\n _data[USE_USER_STORE_KEY] = useUserStore;\n },\n };\n}\nexport function useAppStoreInit(useAppStore: any) {\n return {\n install(app: App) {\n _data[USE_APP_STORE_KEY] = useAppStore;\n },\n };\n}\nexport function requestInit(request: any) {\n return {\n install(app: App) {\n _data[REQUEST_KEY] = request;\n },\n };\n}\nexport function useRequiredConditionStoreInit(useRequiredConditionStore: any) {\n return {\n install(app: App) {\n _data[USE_REQUIRED_CONDITION_STORE_KEY] = useRequiredConditionStore;\n },\n };\n}\nexport function required_condition_event_objInit(required_condition_event_obj: any) {\n return {\n install(app: App) {\n _data[REQUIRED_CONDITION_EVENT_OBJ_KEY] = required_condition_event_obj;\n },\n };\n}\nexport function globMapInit(globMap: Record<string, any>) {\n return {\n install(app: App) {\n _data[GLOBAL_MAP_KEY] = globMap;\n },\n };\n}\nexport function event_objInit(event_obj: any) {\n return {\n install(app: App) {\n _data[EVENT_OBJ_KEY] = event_obj;\n },\n };\n}\nexport function lsInit(ls: any) {\n return {\n install(app: App) {\n _data[LS_KEY] = ls;\n },\n };\n}\nexport function sourceStoreInit(sourceStore: any) {\n return {\n install(app: App) {\n _data[SOURCE_STORE_KEY] = sourceStore;\n },\n };\n}\nexport function cellComponentMapInit(cellComponentMap: any) {\n return {\n install(app: App) {\n _data[CELL_COMPONENT_MAP_KEY] = cellComponentMap;\n },\n };\n}\nexport function cellFormatExcelValueMapInit(cellFormatExcelValueMap: any) {\n return {\n install(app: App) {\n _data[CELL_FORMAT_EXCEL_VALUE_MAP_KEY] = cellFormatExcelValueMap;\n },\n };\n}\nexport function usePageConfigStoreInit(usePageConfigStore: any) {\n return {\n install(app: App) {\n _data[USE_PAGE_CONFIG_STORE_KEY] = usePageConfigStore;\n },\n };\n}\nexport function remoteSelectStoreInit(remoteSelectStore: any) {\n return {\n install(app: App) {\n _data[REMOTE_SELECT_STORE_KEY] = remoteSelectStore;\n },\n };\n}\n\nexport function menuComponentsInit(menuComponents: any) {\n return {\n install(app: App) {\n _data[MENU_COMPONENTS_KEY] = menuComponents;\n },\n };\n}\n\nexport function debugCodeComponentInit(debugCodeComponent: any) {\n return {\n install(app: App) {\n _data[DEBUGE_CODE_COMPONENT_KEY] = debugCodeComponent;\n },\n };\n}\nexport function extraMenuIconsInit(extraMenuIcons: any) {\n return {\n install(app: App) {\n _data[EXTRA_MENU_ICONS_KEY] = extraMenuIcons;\n },\n };\n}\n\nexport function workerHostFunctionsInit(workerHostFunctions: any) {\n return {\n install(app: App) {\n _data[WORKER_HOST_FUNCTIONS_KEY] = workerHostFunctions;\n },\n };\n}\n\nexport function useAppStore() {\n return _data[USE_APP_STORE_KEY]();\n}\nexport function useEnv() {\n return _data[ENV_KEY] || {};\n}\n\nexport function useBus() {\n return _data[BUS_KEY] || {};\n}\nexport function useUserStore() {\n return _data[USE_USER_STORE_KEY]();\n}\nexport function useRequest() {\n return _data[REQUEST_KEY];\n}\nexport function useRequiredConditionStore() {\n return _data[USE_REQUIRED_CONDITION_STORE_KEY]();\n}\n\nexport function required_condition_event_obj() {\n return _data[REQUIRED_CONDITION_EVENT_OBJ_KEY];\n}\nexport function useGlobMap(key: string) {\n return _data[GLOBAL_MAP_KEY]?.[key] || {};\n}\n\nexport function event_obj() {\n return _data[EVENT_OBJ_KEY];\n}\nexport function ls() {\n return _data[LS_KEY];\n}\nexport function sourceStore() {\n return _data[SOURCE_STORE_KEY];\n}\nexport function usePageConfigStore() {\n return _data[USE_PAGE_CONFIG_STORE_KEY]();\n}\nexport function remoteSelectStore() {\n return _data[REMOTE_SELECT_STORE_KEY];\n}\nexport function useCellComponentMap() {\n return _data[CELL_COMPONENT_MAP_KEY]() || {};\n}\nexport function useCellFormatExcelValueMap() {\n return _data[CELL_FORMAT_EXCEL_VALUE_MAP_KEY]() || {};\n}\n\nexport function useMenuComponents() {\n return _data[MENU_COMPONENTS_KEY] || [];\n}\nexport function useDebugCodeComponent() {\n return _data[DEBUGE_CODE_COMPONENT_KEY] || null;\n}\nexport function useExtraMenuIcons() {\n return _data[EXTRA_MENU_ICONS_KEY] || [];\n}\nexport function useWorkerHostFunctions() {\n return _data[WORKER_HOST_FUNCTIONS_KEY] || {};\n}\n"],"names":["_data","ENV_KEY","BUS_KEY","USE_USER_STORE_KEY","REQUEST_KEY","USE_REQUIRED_CONDITION_STORE_KEY","REQUIRED_CONDITION_EVENT_OBJ_KEY","GLOBAL_MAP_KEY","EVENT_OBJ_KEY","LS_KEY","SOURCE_STORE_KEY","USE_PAGE_CONFIG_STORE_KEY","REMOTE_SELECT_STORE_KEY","CELL_COMPONENT_MAP_KEY","CELL_FORMAT_EXCEL_VALUE_MAP_KEY","USE_APP_STORE_KEY","MENU_COMPONENTS_KEY","DEBUGE_CODE_COMPONENT_KEY","EXTRA_MENU_ICONS_KEY","WORKER_HOST_FUNCTIONS_KEY","envInit","env","app","busInit","bus","useUserStoreInit","useUserStore","useAppStoreInit","useAppStore","requestInit","request","useRequiredConditionStoreInit","useRequiredConditionStore","required_condition_event_objInit","required_condition_event_obj","globMapInit","globMap","event_objInit","event_obj","lsInit","ls","sourceStoreInit","sourceStore","cellComponentMapInit","cellComponentMap","cellFormatExcelValueMapInit","cellFormatExcelValueMap","usePageConfigStoreInit","usePageConfigStore","remoteSelectStoreInit","remoteSelectStore","menuComponentsInit","menuComponents","debugCodeComponentInit","debugCodeComponent","extraMenuIconsInit","extraMenuIcons","workerHostFunctionsInit","workerHostFunctions","useEnv","useBus","useRequest","useGlobMap","key","_a","useCellComponentMap","useCellFormatExcelValueMap","use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C;AACO,SAASqD,KAA6B;AAC3C,SAAOlE,EAAMc,CAA+B,EAAE,KAAK;AACrD;AAEO,SAASqD,KAAoB;AAC3B,SAAAnE,EAAMgB,CAAmB,KAAK;AACvC;AACO,SAASoD,KAAwB;AAC/B,SAAApE,EAAMiB,CAAyB,KAAK;AAC7C;AACO,SAASoD,KAAoB;AAC3B,SAAArE,EAAMkB,CAAoB,KAAK;AACxC;AACO,SAASoD,KAAyB;AAChC,SAAAtE,EAAMmB,CAAyB,KAAK;AAC7C;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as U,
|
|
1
|
+
import { p as U, J as ma } from "./init-plugin-47c892a4.js";
|
|
2
2
|
import { inject as B, ref as he, h as me, getCurrentInstance as In, nextTick as kn, defineComponent as Z, createVNode as T, shallowRef as De, watch as pt, unref as Re, provide as se, watchEffect as ya, onBeforeUnmount as ba, computed as m, triggerRef as Sa, Fragment as we, Comment as xa, Text as Ca, isVNode as Xe, onBeforeMount as Ta, onMounted as wa, onUpdated as _a, Teleport as Oa } from "vue";
|
|
3
3
|
async function Cp(e) {
|
|
4
4
|
return U().post("/org/query_org_for_login_list", e);
|