liyu-pc-base 1.0.189 → 1.0.191
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-473ff128.js → FormRender3-cca235a7.js} +233 -227
- package/dist/{FormRender3-473ff128.js.map → FormRender3-cca235a7.js.map} +1 -1
- package/dist/api/api-model.js +4 -4
- package/dist/components/FormRender/utils.js +1 -1
- package/dist/components/index.js +4 -4
- package/dist/components/remotePages/index.js +53 -54
- 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-515c0649.js → init-plugin-aca29fd8.js} +81 -69
- package/dist/init-plugin-aca29fd8.js.map +1 -0
- package/dist/{modal-tools-76dc9770.js → modal-tools-15f2ef04.js} +1 -1
- package/dist/{modal-tools-76dc9770.js.map → modal-tools-15f2ef04.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/function.js +1 -1
- package/dist/utils/hooks/useFetchData.js +1 -1
- package/package.json +1 -1
- package/dist/init-plugin-515c0649.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { e as
|
|
2
|
-
import { F as m, A as u, a, S as
|
|
1
|
+
import { e as M, g as R, b as _, u as n, a as q, r as v, c as x, d as j, f as F, l as A, s as T, h, i as E, j as J, k as P, m as U, n as V, o as k } from "./init-plugin-aca29fd8.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-cca235a7.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-15f2ef04.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 re = {
|
|
24
24
|
install(r, e) {
|
|
25
|
-
e != null && e.env && 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(q(e.useUserStore)), e != null && e.request && r.use(v(e.request)), e != null && e.useRequiredConditionStore && r.use(x(e.useRequiredConditionStore)), e != null && e.required_condition_event_obj && r.use(j(e.required_condition_event_obj)), e != null && e.event_obj && r.use(F(e.event_obj)), e != null && e.ls && r.use(A(e.ls)), e != null && e.sourceStore && r.use(T(e.sourceStore)), e != null && e.usePageConfigStore && r.use(h(e.usePageConfigStore)), e != null && e.remoteSelectStore && r.use(E(e.remoteSelectStore)), e != null && e.cellComponentMap && r.use(J(e.cellComponentMap)), e != null && e.cellFormatExcelValueMap && r.use(P(e.cellFormatExcelValueMap)), e != null && e.menuComponents && r.use(U(e.menuComponents)), e != null && e.debugCodeComponent && r.use(V(e.debugCodeComponent)), e != null && e.extraMenuIcons && r.use(k(e.extraMenuIcons)), 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
|
+
re 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} 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 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","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} 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":";;;;;;;;;;;;;;;;;;;;;;AAmCA,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,IAA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,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,50 +1,50 @@
|
|
|
1
|
-
const t = {}, o = "env", u = "bus", r = "useUserStore", s = "request",
|
|
2
|
-
function
|
|
1
|
+
const t = {}, o = "env", u = "bus", r = "useUserStore", s = "request", a = "useRequiredConditionStore", i = "required_condition_event_obj", c = "globMap", E = "event_obj", R = "ls", l = "sourceStore", _ = "usePageConfigStore", p = "remoteSelectStore", f = "cellComponentMap", S = "cellFormatExcelValueMap", C = "useAppStore", I = "menu_components", O = "debuge_code_component", M = "extraMenuIcons";
|
|
2
|
+
function d(n) {
|
|
3
3
|
return {
|
|
4
4
|
install(e) {
|
|
5
5
|
t[o] = n;
|
|
6
6
|
}
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function m(n) {
|
|
10
10
|
return {
|
|
11
11
|
install(e) {
|
|
12
12
|
t[u] = n;
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function K(n) {
|
|
17
17
|
return {
|
|
18
18
|
install(e) {
|
|
19
19
|
t[r] = n;
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function T(n) {
|
|
24
24
|
return {
|
|
25
25
|
install(e) {
|
|
26
26
|
t[C] = n;
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function Y(n) {
|
|
31
31
|
return {
|
|
32
32
|
install(e) {
|
|
33
33
|
t[s] = n;
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function N(n) {
|
|
38
38
|
return {
|
|
39
39
|
install(e) {
|
|
40
|
-
t[
|
|
40
|
+
t[a] = n;
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
function U(n) {
|
|
45
45
|
return {
|
|
46
46
|
install(e) {
|
|
47
|
-
t[
|
|
47
|
+
t[i] = n;
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
}
|
|
@@ -55,31 +55,24 @@ function b(n) {
|
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function A(n) {
|
|
59
59
|
return {
|
|
60
60
|
install(e) {
|
|
61
|
-
t[
|
|
61
|
+
t[E] = n;
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
65
|
function g(n) {
|
|
66
66
|
return {
|
|
67
67
|
install(e) {
|
|
68
|
-
t[
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
function A(n) {
|
|
73
|
-
return {
|
|
74
|
-
install(e) {
|
|
75
|
-
t[E] = n;
|
|
68
|
+
t[R] = n;
|
|
76
69
|
}
|
|
77
70
|
};
|
|
78
71
|
}
|
|
79
72
|
function P(n) {
|
|
80
73
|
return {
|
|
81
74
|
install(e) {
|
|
82
|
-
t[
|
|
75
|
+
t[l] = n;
|
|
83
76
|
}
|
|
84
77
|
};
|
|
85
78
|
}
|
|
@@ -93,7 +86,7 @@ function q(n) {
|
|
|
93
86
|
function v(n) {
|
|
94
87
|
return {
|
|
95
88
|
install(e) {
|
|
96
|
-
t[
|
|
89
|
+
t[S] = n;
|
|
97
90
|
}
|
|
98
91
|
};
|
|
99
92
|
}
|
|
@@ -104,6 +97,13 @@ function L(n) {
|
|
|
104
97
|
}
|
|
105
98
|
};
|
|
106
99
|
}
|
|
100
|
+
function x(n) {
|
|
101
|
+
return {
|
|
102
|
+
install(e) {
|
|
103
|
+
t[p] = n;
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
107
|
function D(n) {
|
|
108
108
|
return {
|
|
109
109
|
install(e) {
|
|
@@ -118,87 +118,99 @@ function j(n) {
|
|
|
118
118
|
}
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
|
-
function B() {
|
|
122
|
-
return
|
|
121
|
+
function B(n) {
|
|
122
|
+
return {
|
|
123
|
+
install(e) {
|
|
124
|
+
t[M] = n;
|
|
125
|
+
}
|
|
126
|
+
};
|
|
123
127
|
}
|
|
124
128
|
function V() {
|
|
125
|
-
return t[
|
|
129
|
+
return t[C]();
|
|
126
130
|
}
|
|
127
131
|
function F() {
|
|
128
|
-
return t[
|
|
132
|
+
return t[o] || {};
|
|
129
133
|
}
|
|
130
134
|
function G() {
|
|
135
|
+
return t[u] || {};
|
|
136
|
+
}
|
|
137
|
+
function Q() {
|
|
131
138
|
return t[r]();
|
|
132
139
|
}
|
|
133
|
-
function
|
|
140
|
+
function J() {
|
|
134
141
|
return t[s];
|
|
135
142
|
}
|
|
136
|
-
function
|
|
137
|
-
return t[
|
|
143
|
+
function X() {
|
|
144
|
+
return t[a]();
|
|
138
145
|
}
|
|
139
|
-
function
|
|
140
|
-
return t[
|
|
146
|
+
function h() {
|
|
147
|
+
return t[i];
|
|
141
148
|
}
|
|
142
|
-
function
|
|
149
|
+
function k(n) {
|
|
143
150
|
var e;
|
|
144
151
|
return ((e = t[c]) == null ? void 0 : e[n]) || {};
|
|
145
152
|
}
|
|
146
|
-
function k() {
|
|
147
|
-
return t[l];
|
|
148
|
-
}
|
|
149
153
|
function w() {
|
|
150
154
|
return t[E];
|
|
151
155
|
}
|
|
152
156
|
function y() {
|
|
153
|
-
return t[
|
|
157
|
+
return t[l];
|
|
154
158
|
}
|
|
155
159
|
function z() {
|
|
156
|
-
return t[_];
|
|
157
|
-
}
|
|
158
|
-
function X() {
|
|
159
|
-
return t[S]() || {};
|
|
160
|
+
return t[_]();
|
|
160
161
|
}
|
|
161
162
|
function H() {
|
|
162
|
-
return t[
|
|
163
|
+
return t[p];
|
|
163
164
|
}
|
|
164
165
|
function W() {
|
|
165
|
-
return t[
|
|
166
|
+
return t[f]() || {};
|
|
166
167
|
}
|
|
167
168
|
function Z() {
|
|
169
|
+
return t[S]() || {};
|
|
170
|
+
}
|
|
171
|
+
function $() {
|
|
172
|
+
return t[I] || [];
|
|
173
|
+
}
|
|
174
|
+
function nn() {
|
|
168
175
|
return t[O] || null;
|
|
169
176
|
}
|
|
177
|
+
function tn() {
|
|
178
|
+
return t[M] || [];
|
|
179
|
+
}
|
|
170
180
|
export {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
+
nn as A,
|
|
182
|
+
tn as B,
|
|
183
|
+
H as C,
|
|
184
|
+
w as D,
|
|
185
|
+
$ as E,
|
|
186
|
+
z as F,
|
|
187
|
+
W as G,
|
|
188
|
+
Z as H,
|
|
189
|
+
G as I,
|
|
190
|
+
K as a,
|
|
191
|
+
m as b,
|
|
192
|
+
N as c,
|
|
181
193
|
U as d,
|
|
182
|
-
|
|
183
|
-
|
|
194
|
+
d as e,
|
|
195
|
+
A as f,
|
|
184
196
|
b as g,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
197
|
+
L as h,
|
|
198
|
+
x as i,
|
|
199
|
+
q as j,
|
|
200
|
+
v as k,
|
|
189
201
|
g as l,
|
|
190
202
|
D as m,
|
|
191
203
|
j as n,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
+
B as o,
|
|
205
|
+
J as p,
|
|
206
|
+
F as q,
|
|
207
|
+
Y as r,
|
|
208
|
+
P as s,
|
|
209
|
+
X as t,
|
|
210
|
+
T as u,
|
|
211
|
+
Q as v,
|
|
212
|
+
V as w,
|
|
213
|
+
h as x,
|
|
214
|
+
y,
|
|
215
|
+
k as z
|
|
204
216
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init-plugin-aca29fd8.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';\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 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}\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","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","useEnv","useBus","useRequest","useGlobMap","key","_a","useCellComponentMap","useCellFormatExcelValueMap","useMenuComponents","useDebugCodeComponent","useExtraMenuIcons"],"mappings":"AACA,MAAMA,IAAQ,CAAA,GACRC,IAAU,OACVC,IAAU,OACVC,IAAqB,gBACrBC,IAAc,WACdC,IAAmC,6BACnCC,IAAmC,gCACnCC,IAAiB,WACjBC,IAAgB,aAChBC,IAAS,MACTC,IAAmB,eACnBC,IAA4B,sBAC5BC,IAA0B,qBAC1BC,IAAyB,oBACzBC,IAAkC,2BAClCC,IAAoB,eACpBC,IAAsB,mBACtBC,IAA4B,yBAC5BC,IAAuB;AACtB,SAASC,EAAQC,GAA0B;AACzC,SAAA;AAAA,IACL,QAAQC,GAAU;AAChB,MAAArB,EAAMC,CAAO,IAAImB;AAAA,IACnB;AAAA,EAAA;AAEJ;AACO,SAASE,EAAQC,GAAU;AACzB,SAAA;AAAA,IACL,QAAQF,GAAU;AAChB,MAAArB,EAAME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ACnC,SAAA/B,EAAMK,CAAgC;AAC/C;AAEO,SAAS4B,IAA+B;AAC7C,SAAOjC,EAAMM,CAAgC;AAC/C;AACO,SAASqD,EAAWC,GAAa;AA3KxC,MAAAC;AA4KE,WAAOA,IAAA7D,EAAMO,CAAc,MAApB,gBAAAsD,EAAwBD,OAAQ,CAAA;AACzC;AAEO,SAASvB,IAAY;AAC1B,SAAOrC,EAAMQ,CAAa;AAC5B;AAIO,SAASiC,IAAc;AAC5B,SAAOzC,EAAMU,CAAgB;AAC/B;AACO,SAASqC,IAAqB;AAC5B,SAAA/C,EAAMW,CAAyB;AACxC;AACO,SAASsC,IAAoB;AAClC,SAAOjD,EAAMY,CAAuB;AACtC;AACO,SAASkD,IAAsB;AACpC,SAAO9D,EAAMa,CAAsB,EAAE,KAAK;AAC5C;AACO,SAASkD,IAA6B;AAC3C,SAAO/D,EAAMc,CAA+B,EAAE,KAAK;AACrD;AAEO,SAASkD,IAAoB;AAC3B,SAAAhE,EAAMgB,CAAmB,KAAK;AACvC;AACO,SAASiD,KAAwB;AAC/B,SAAAjE,EAAMiB,CAAyB,KAAK;AAC7C;AACO,SAASiD,KAAoB;AAC3B,SAAAlE,EAAMkB,CAAoB,KAAK;AACxC;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { p as U, I as ma } from "./init-plugin-aca29fd8.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);
|