liyu-pc-base 1.0.112 → 1.0.116
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-0465f5f1.js → FormRender3-aee64cd7.js} +10973 -10823
- package/dist/FormRender3-aee64cd7.js.map +1 -0
- package/dist/api/api-model.js +9 -9
- package/dist/components/FormRender/utils.js +3 -3
- package/dist/components/index.js +565 -584
- package/dist/components/index.js.map +1 -1
- package/dist/components/remotePages/index.js +2 -2
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/dist/{init-plugin-481311d3.js → init-plugin-515c0649.js} +64 -52
- package/dist/init-plugin-515c0649.js.map +1 -0
- package/dist/{modal-tools-de1d8105.js → modal-tools-76dc9770.js} +1 -1
- package/dist/{modal-tools-de1d8105.js.map → modal-tools-76dc9770.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/FormRender3-0465f5f1.js.map +0 -1
- package/dist/init-plugin-481311d3.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { reactive as I, createVNode as w, defineComponent as G, provide as ml, watch as fe, computed as k, onMounted as xt, onUnmounted as _l, Teleport as gl, ref as wt, TransitionGroup as $t, shallowRef as ae, render as Ze, toRaw as hl, watchEffect as qe } from "vue";
|
|
2
|
-
import { m as F, q as yl, av as et, aw as bl, a6 as ie, _ as $, a8 as Ne, a5 as vl, H as Pt, i as E, h as H, a9 as Ot, Q as Cl, g as Tt, e as It, a0 as ee, a1 as St, ad as ye, af as be, ae as ve, ag as Le, ax as Mt, f as Fe, E as xl, ay as wl, az as le, d as $l, L as Pl, aA as $e, aB as tt, u as Ol, aC as Tl, aD as Il, aE as Sl, aF as Ml, aG as At, aH as Al, aI as Vl, aJ as kl, aK as jl, ap as Dl, aq as Kl, aL as El, aM as zl, aN as ql, b as Nl, aO as Ll, aP as Fl, aQ as Rl, aR as Hl, ab as Bl } from "../../modal-tools-
|
|
2
|
+
import { m as F, q as yl, av as et, aw as bl, a6 as ie, _ as $, a8 as Ne, a5 as vl, H as Pt, i as E, h as H, a9 as Ot, Q as Cl, g as Tt, e as It, a0 as ee, a1 as St, ad as ye, af as be, ae as ve, ag as Le, ax as Mt, f as Fe, E as xl, ay as wl, az as le, d as $l, L as Pl, aA as $e, aB as tt, u as Ol, aC as Tl, aD as Il, aE as Sl, aF as Ml, aG as At, aH as Al, aI as Vl, aJ as kl, aK as jl, ap as Dl, aq as Kl, aL as El, aM as zl, aN as ql, b as Nl, aO as Ll, aP as Fl, aQ as Rl, aR as Hl, ab as Bl } from "../../modal-tools-76dc9770.js";
|
|
3
3
|
import { Modal as ce, message as R, notification as Y } from "ant-design-vue";
|
|
4
|
-
import {
|
|
4
|
+
import { o as J, B as z, p as W, t as U, C as Gl, D as Ul, y as Wl, E as Jl, F as Xl } from "../../init-plugin-515c0649.js";
|
|
5
5
|
import { ExclamationCircleOutlined as de } from "@ant-design/icons-vue";
|
|
6
6
|
import { getApiData as B } from "../../api/api-model.js";
|
|
7
7
|
import { l as te, c as Ql, g as Yl } from "../../lodash-18e68795.js";
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { e as
|
|
2
|
-
import { F as m, A as
|
|
1
|
+
import { e as R, g as _, b as M, u as n, a as q, r as v, c as j, d as F, f as x, l as A, s as T, h, i as E, j as J, k as P, m as U, n as V } from "./init-plugin-515c0649.js";
|
|
2
|
+
import { F as m, A as u, a, S as l, R as c, b as d, c as S, d as f, J as b, e as t, f as C, g as I, h as g } from "./FormRender3-aee64cd7.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-76dc9770.js";
|
|
7
7
|
import "vue-i18n";
|
|
8
8
|
import "moment";
|
|
9
9
|
import "./lodash-18e68795.js";
|
|
@@ -19,11 +19,10 @@ import "numeral";
|
|
|
19
19
|
import "./utils/excel.js";
|
|
20
20
|
import "xlsx";
|
|
21
21
|
import "emmet";
|
|
22
|
-
import "pinia";
|
|
23
22
|
import "mitt";
|
|
24
23
|
const ee = {
|
|
25
24
|
install(r, e) {
|
|
26
|
-
e != null && e.env && r.use(
|
|
25
|
+
e != null && e.env && r.use(R(e.env)), e != null && e.globMap && r.use(_(e.globMap)), e != null && e.bus && r.use(M(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(j(e.useRequiredConditionStore)), e != null && e.required_condition_event_obj && r.use(F(e.required_condition_event_obj)), e != null && e.event_obj && r.use(x(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)), r.component(m.name, m).component(u.name, u).component(a.name, a).component(l.name, l).component(c.name, c).component(d.name, d).component(S.name, S).component(f.name, f).component(b.name, b).component(t.name, t).component(C.name, C).component(I.name, I).component(g.name, g);
|
|
27
26
|
}
|
|
28
27
|
};
|
|
29
28
|
export {
|
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} 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 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","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} 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":";;;;;;;;;;;;;;;;;;;;;;AAkCA,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,EAA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MA,CAAO,EAC/B,UAAUC,EAAW,MAAMA,CAAU,EACrC,UAAUC,EAAa,MAAMA,CAAY,EACzC,UAAUC,EAAY,MAAMA,CAAW;AAAA,EAC5C;AACF;"}
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
const t = {}, o = "env",
|
|
2
|
-
function
|
|
1
|
+
const t = {}, o = "env", u = "bus", r = "useUserStore", s = "request", i = "useRequiredConditionStore", a = "required_condition_event_obj", c = "globMap", l = "event_obj", d = "ls", E = "sourceStore", p = "usePageConfigStore", _ = "remoteSelectStore", S = "cellComponentMap", f = "cellFormatExcelValueMap", C = "useAppStore", I = "menu_components", O = "debuge_code_component";
|
|
2
|
+
function M(n) {
|
|
3
3
|
return {
|
|
4
4
|
install(e) {
|
|
5
5
|
t[o] = n;
|
|
6
6
|
}
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function R(n) {
|
|
10
10
|
return {
|
|
11
11
|
install(e) {
|
|
12
|
-
t[
|
|
12
|
+
t[u] = n;
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function m(n) {
|
|
17
17
|
return {
|
|
18
18
|
install(e) {
|
|
19
|
-
t[
|
|
19
|
+
t[r] = n;
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function K(n) {
|
|
24
24
|
return {
|
|
25
25
|
install(e) {
|
|
26
26
|
t[C] = n;
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function T(n) {
|
|
31
31
|
return {
|
|
32
32
|
install(e) {
|
|
33
33
|
t[s] = n;
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Y(n) {
|
|
38
38
|
return {
|
|
39
39
|
install(e) {
|
|
40
40
|
t[i] = n;
|
|
@@ -48,7 +48,7 @@ function U(n) {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function b(n) {
|
|
52
52
|
return {
|
|
53
53
|
install(e) {
|
|
54
54
|
t[c] = n;
|
|
@@ -62,10 +62,10 @@ function N(n) {
|
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function g(n) {
|
|
66
66
|
return {
|
|
67
67
|
install(e) {
|
|
68
|
-
t[
|
|
68
|
+
t[d] = n;
|
|
69
69
|
}
|
|
70
70
|
};
|
|
71
71
|
}
|
|
@@ -104,89 +104,101 @@ function L(n) {
|
|
|
104
104
|
}
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function D(n) {
|
|
108
108
|
return {
|
|
109
109
|
install(e) {
|
|
110
110
|
t[I] = n;
|
|
111
111
|
}
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
function j() {
|
|
114
|
+
function j(n) {
|
|
115
|
+
return {
|
|
116
|
+
install(e) {
|
|
117
|
+
t[O] = n;
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
function B() {
|
|
115
122
|
return t[C]();
|
|
116
123
|
}
|
|
117
124
|
function V() {
|
|
118
125
|
return t[o] || {};
|
|
119
126
|
}
|
|
120
|
-
function
|
|
121
|
-
return t[
|
|
127
|
+
function F() {
|
|
128
|
+
return t[u] || {};
|
|
122
129
|
}
|
|
123
|
-
function
|
|
124
|
-
return t[
|
|
130
|
+
function G() {
|
|
131
|
+
return t[r]();
|
|
125
132
|
}
|
|
126
|
-
function
|
|
133
|
+
function x() {
|
|
127
134
|
return t[s];
|
|
128
135
|
}
|
|
129
|
-
function
|
|
136
|
+
function Q() {
|
|
130
137
|
return t[i]();
|
|
131
138
|
}
|
|
132
|
-
function
|
|
139
|
+
function J() {
|
|
133
140
|
return t[a];
|
|
134
141
|
}
|
|
135
|
-
function
|
|
142
|
+
function h(n) {
|
|
136
143
|
var e;
|
|
137
144
|
return ((e = t[c]) == null ? void 0 : e[n]) || {};
|
|
138
145
|
}
|
|
139
|
-
function
|
|
146
|
+
function k() {
|
|
140
147
|
return t[l];
|
|
141
148
|
}
|
|
142
|
-
function
|
|
149
|
+
function w() {
|
|
143
150
|
return t[E];
|
|
144
151
|
}
|
|
145
|
-
function
|
|
152
|
+
function y() {
|
|
146
153
|
return t[p]();
|
|
147
154
|
}
|
|
148
|
-
function
|
|
155
|
+
function z() {
|
|
149
156
|
return t[_];
|
|
150
157
|
}
|
|
151
|
-
function
|
|
158
|
+
function X() {
|
|
152
159
|
return t[S]() || {};
|
|
153
160
|
}
|
|
154
|
-
function
|
|
161
|
+
function H() {
|
|
155
162
|
return t[f]() || {};
|
|
156
163
|
}
|
|
157
|
-
function
|
|
164
|
+
function W() {
|
|
158
165
|
return t[I] || [];
|
|
159
166
|
}
|
|
167
|
+
function Z() {
|
|
168
|
+
return t[O] || null;
|
|
169
|
+
}
|
|
160
170
|
export {
|
|
161
|
-
|
|
171
|
+
z as A,
|
|
162
172
|
k as B,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
m as
|
|
173
|
+
W as C,
|
|
174
|
+
y as D,
|
|
175
|
+
X as E,
|
|
176
|
+
H as F,
|
|
177
|
+
F as G,
|
|
178
|
+
m as a,
|
|
179
|
+
R as b,
|
|
180
|
+
Y as c,
|
|
169
181
|
U as d,
|
|
170
|
-
|
|
182
|
+
M as e,
|
|
171
183
|
N as f,
|
|
172
|
-
|
|
184
|
+
b as g,
|
|
173
185
|
v as h,
|
|
174
186
|
L as i,
|
|
175
187
|
P as j,
|
|
176
188
|
q as k,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
189
|
+
g as l,
|
|
190
|
+
D as m,
|
|
191
|
+
j as n,
|
|
192
|
+
x as o,
|
|
193
|
+
V as p,
|
|
194
|
+
Q as q,
|
|
195
|
+
T as r,
|
|
184
196
|
A as s,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
197
|
+
G as t,
|
|
198
|
+
K as u,
|
|
199
|
+
B as v,
|
|
200
|
+
J as w,
|
|
201
|
+
w as x,
|
|
202
|
+
h as y,
|
|
203
|
+
Z as z
|
|
192
204
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init-plugin-515c0649.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';\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 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}\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","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","useEnv","useBus","useRequest","useGlobMap","key","_a","useCellComponentMap","useCellFormatExcelValueMap","useMenuComponents","useDebugCodeComponent"],"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;AAC3B,SAASC,EAAQC,GAA0B;AACzC,SAAA;AAAA,IACL,QAAQC,GAAU;AAChB,MAAApB,EAAMC,CAAO,IAAIkB;AAAA,IACnB;AAAA,EAAA;AAEJ;AACO,SAASE,EAAQC,GAAU;AACzB,SAAA;AAAA,IACL,QAAQF,GAAU;AAChB,MAAApB,EAAME,CAAO,IAAIoB;AAAA,IACnB;AAAA,EAAA;AAEJ;AACO,SAASC,EAAiBC,GAAmB;AAC3C,SAAA;AAAA,IACL,QAAQJ,GAAU;AAChB,MAAApB,EAAMG,CAAkB,IAAIqB;AAAAA,IAC9B;AAAA,EAAA;AAEJ;AACO,SAASC,EAAgBC,GAAkB;AACzC,SAAA;AAAA,IACL,QAAQN,GAAU;AAChB,MAAApB,EAAMe,CAAiB,IAAIW;AAAAA,IAC7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B;AACtC;AACO,SAAS+C,IAAsB;AACpC,SAAO3D,EAAMa,CAAsB,EAAE,KAAK;AAC5C;AACO,SAAS+C,IAA6B;AAC3C,SAAO5D,EAAMc,CAA+B,EAAE,KAAK;AACrD;AAEO,SAAS+C,IAAoB;AAC3B,SAAA7D,EAAMgB,CAAmB,KAAK;AACvC;AACO,SAAS8C,IAAwB;AAC/B,SAAA9D,EAAMiB,CAAyB,KAAK;AAC7C;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o as U, G as ma } from "./init-plugin-515c0649.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);
|