@jeecg/online 3.5.3-vite4 → 3.6.2-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/{AuthButtonConfig-2f71787c.mjs → AuthButtonConfig-244ec09f.mjs} +1 -1
  2. package/{AuthButtonTree-d73bccf5.mjs → AuthButtonTree-3aa0ed49.mjs} +1 -1
  3. package/{AuthDataConfig-32cf23d2.mjs → AuthDataConfig-83891eea.mjs} +1 -1
  4. package/{AuthDataTree-03d62d3f.mjs → AuthDataTree-94e026e3.mjs} +1 -1
  5. package/{AuthFieldConfig-b1217a0c.mjs → AuthFieldConfig-6b21915c.mjs} +1 -1
  6. package/{AuthFieldTree-888e04a9.mjs → AuthFieldTree-69864163.mjs} +1 -1
  7. package/{AuthManagerDrawer-f127b8a2.mjs → AuthManagerDrawer-300dd4e4.mjs} +4 -4
  8. package/{AuthSetterModal-37da78ed.mjs → AuthSetterModal-a414fb35.mjs} +58 -52
  9. package/{CgformCopyList-3adab58f.mjs → CgformCopyList-14b76108.mjs} +42 -39
  10. package/CgformModal-eccfc38e.mjs +611 -0
  11. package/{CgreportModal-77ec8c17.mjs → CgreportModal-2065f5a9.mjs} +2 -1
  12. package/{CgreportModal.vue_vue_type_script_setup_true_lang-52dcec5e.mjs → CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs} +170 -171
  13. package/{CheckDictTable-414313f2.mjs → CheckDictTable-134cbb83.mjs} +3 -3
  14. package/{CodeFileListModal-4831ce3d.mjs → CodeFileListModal-a6d3290d.mjs} +2 -2
  15. package/{CodeFileViewModal-5990dac4.mjs → CodeFileViewModal-373e8058.mjs} +2 -2
  16. package/{CodeGeneratorModal-7df9e25d.mjs → CodeGeneratorModal-f08a89cd.mjs} +5 -6
  17. package/{CustomButtonList-1c9bd859.mjs → CustomButtonList-02e3d897.mjs} +2 -2
  18. package/{DBAttributeTable-cd1c41e5.mjs → DBAttributeTable-370de07b.mjs} +2 -2
  19. package/{DbToOnlineModal-dc5d2030.mjs → DbToOnlineModal-9f13956f.mjs} +35 -35
  20. package/{DetailForm-e4538e7a.mjs → DetailForm-424638eb.mjs} +179 -163
  21. package/{EnhanceJavaModal-7f53d2ca.mjs → EnhanceJavaModal-f63aa2d3.mjs} +17 -13
  22. package/{EnhanceJsHistory-c30805ce.mjs → EnhanceJsHistory-352b46b1.mjs} +1 -1
  23. package/EnhanceJsModal-05c73a59.mjs +311 -0
  24. package/{EnhanceSqlModal-33a94c83.mjs → EnhanceSqlModal-5e4ae84f.mjs} +55 -46
  25. package/{ExtendConfigModal-60f2cf86.mjs → ExtendConfigModal-1dde390a.mjs} +2 -2
  26. package/FieldExtendJsonModal-a70a9ccd.mjs +219 -0
  27. package/FileSelectModal-9a02560b.mjs +103 -0
  28. package/{ForeignKeyTable-cb1abd1d.mjs → ForeignKeyTable-6a843c4b.mjs} +2 -2
  29. package/{IndexTable-4e94cd1f.mjs → IndexTable-f8af9d44.mjs} +2 -2
  30. package/JModalTip-33c7dc44.mjs +49 -0
  31. package/{JOnlineSearchSelect-5608a5cf.mjs → JOnlineSearchSelect-c287af12.mjs} +17 -16
  32. package/{LeftDepart-ca7a7375.mjs → LeftDepart-fa85523d.mjs} +1 -1
  33. package/{LeftRole-d0fa8398.mjs → LeftRole-8b8dfe21.mjs} +1 -1
  34. package/{LeftUser-0c88c240.mjs → LeftUser-dc24ef2f.mjs} +1 -1
  35. package/{LinkTableConfigModal-77d7c0b9.mjs → LinkTableConfigModal-d4fbdef2.mjs} +23 -23
  36. package/{LinkTableFieldConfigModal-c5689ab0.mjs → LinkTableFieldConfigModal-787bc55c.mjs} +44 -46
  37. package/LinkTableListPiece-8499a318.mjs +34 -0
  38. package/{ModalFormDemo-0eeea994.mjs → ModalFormDemo-977a49eb.mjs} +1 -1
  39. package/OnlCgformErpList-db45e22b.mjs +454 -0
  40. package/OnlCgformErpSubTable-54b50eec.mjs +403 -0
  41. package/OnlCgformInnerSubTable-fbca73e0.mjs +253 -0
  42. package/OnlCgformInnerTableList-782eaf04.mjs +444 -0
  43. package/OnlCgformTabList-a9e1e36a.mjs +395 -0
  44. package/OnlineAutoList-0583a910.mjs +479 -0
  45. package/{OnlineAutoModal-2a146238.mjs → OnlineAutoModal-510991eb.mjs} +59 -58
  46. package/{OnlineAutoTreeList-f8d0e100.mjs → OnlineAutoTreeList-89265688.mjs} +158 -153
  47. package/{OnlineCustomModal-456a85a6.mjs → OnlineCustomModal-518ad33c.mjs} +67 -66
  48. package/{OnlineDetailModal-f967f080.mjs → OnlineDetailModal-9675390d.mjs} +40 -39
  49. package/OnlineForm-1fa2d893.mjs +750 -0
  50. package/{OnlineFormDetail-1b216792.mjs → OnlineFormDetail-0e7294ca.mjs} +56 -55
  51. package/OnlineQueryForm-1bfc8320.mjs +386 -0
  52. package/{OnlineSearchFormItem-7c2ea9ed.mjs → OnlineSearchFormItem-0cc85a8a.mjs} +83 -87
  53. package/{OnlineSelectCascade-c7baf52b.mjs → OnlineSelectCascade-4265c95d.mjs} +31 -32
  54. package/{OnlineSubFormDetail-0aa4966c.mjs → OnlineSubFormDetail-f0d2c016.mjs} +53 -50
  55. package/OnlineTabAutoModal-6f636ee2.mjs +254 -0
  56. package/OnlineTabDetailModal-7356d3a8.mjs +223 -0
  57. package/OnlineTabForm-512d3951.mjs +766 -0
  58. package/OnlineTabFormDetail-5a70219d.mjs +324 -0
  59. package/{PageAttributeTable-811185fd.mjs → PageAttributeTable-965dc58e.mjs} +20 -20
  60. package/{ProcessOnlineForm-27be6f6f.mjs → ProcessOnlineForm-67558898.mjs} +39 -38
  61. package/{QueryTable-4ba771ef.mjs → QueryTable-eb9a5b21.mjs} +2 -2
  62. package/README.md +5 -2
  63. package/{SuperQuery-3821f984.mjs → SuperQuery-5d1ca957.mjs} +171 -173
  64. package/{SuperQueryValComponent-471110b5.mjs → SuperQueryValComponent-7ad86d4b.mjs} +1 -1
  65. package/SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs +101 -0
  66. package/cgformState-d9f8ec42.mjs +28 -0
  67. package/constant-754f1a9d.mjs +9 -0
  68. package/index-0e3ab3af.mjs +56 -0
  69. package/{index-074b92e5.mjs → index-49508cad.mjs} +4 -3
  70. package/index-b7a05eef.mjs +1496 -0
  71. package/main.index.js +1 -1
  72. package/package.json +1 -1
  73. package/style.css +1 -1
  74. package/useCgformList-423282b7.mjs +400 -0
  75. package/useCustomHook-acb00837.mjs +53 -0
  76. package/useExtendComponent-325fe3f1.mjs +3926 -0
  77. package/useListButton-cdbab702.mjs +676 -0
  78. package/useOnlinePopEvent-687070b7.mjs +19 -0
  79. package/useOnlineTest-e4bd8be3.mjs +42 -0
  80. package/{useSchemas-fc8d97ce.mjs → useSchemas-0433a403.mjs} +129 -109
  81. package/{useTableSync-dc333087.mjs → useTableSync-774c3774.mjs} +17 -13
  82. package/CgformModal-6938d8c2.mjs +0 -613
  83. package/EnhanceJsModal-0b133341.mjs +0 -233
  84. package/FieldExtendJsonModal-48f7d67f.mjs +0 -220
  85. package/FileSelectModal-64aaf623.mjs +0 -91
  86. package/JModalTip-abe1515a.mjs +0 -46
  87. package/LinkTableListPiece-34266919.mjs +0 -34
  88. package/OnlCgformErpList-7a0388d8.mjs +0 -425
  89. package/OnlCgformErpSubTable-fc6ade76.mjs +0 -388
  90. package/OnlineAutoList-85e6a30d.mjs +0 -472
  91. package/OnlineForm-630a22c2.mjs +0 -778
  92. package/OnlineQueryForm-1c5949a7.mjs +0 -378
  93. package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +0 -101
  94. package/constant-fe20103a.mjs +0 -6
  95. package/index-6a09a912.mjs +0 -58
  96. package/index-9d32ae88.mjs +0 -313
  97. package/useCgformList-2d6a5955.mjs +0 -388
  98. package/useExtendComponent-48d37d9b.mjs +0 -3919
  99. package/useListButton-cef1371a.mjs +0 -656
  100. package/useOnlinePopEvent-e9a042f8.mjs +0 -19
  101. package/useOnlineTest-0df0ae86.mjs +0 -43
@@ -1,378 +0,0 @@
1
- var le = Object.defineProperty;
2
- var A = Object.getOwnPropertySymbols;
3
- var ie = Object.prototype.hasOwnProperty, ce = Object.prototype.propertyIsEnumerable;
4
- var H = (l, n, s) => n in l ? le(l, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : l[n] = s, U = (l, n) => {
5
- for (var s in n || (n = {}))
6
- ie.call(n, s) && H(l, s, n[s]);
7
- if (A)
8
- for (var s of A(n))
9
- ce.call(n, s) && H(l, s, n[s]);
10
- return l;
11
- };
12
- var k = (l, n, s) => new Promise((c, w) => {
13
- var j = (h) => {
14
- try {
15
- _(s.next(h));
16
- } catch (F) {
17
- w(F);
18
- }
19
- }, b = (h) => {
20
- try {
21
- _(s.throw(h));
22
- } catch (F) {
23
- w(F);
24
- }
25
- }, _ = (h) => h.done ? c(h.value) : Promise.resolve(h.value).then(j, b);
26
- _((s = s.apply(l, n)).next());
27
- });
28
- import { BasicForm as me, useForm as ue } from "/@/components/Form/index";
29
- import { ref as D, reactive as pe, watch as N, toRaw as B, resolveComponent as I, openBlock as q, createElementBlock as W, createVNode as p, withCtx as v, createElementVNode as M, createTextVNode as E, toDisplayString as de, createCommentVNode as J, pushScopeId as fe, popScopeId as he } from "vue";
30
- import { defHttp as ge } from "/@/utils/http/axios";
31
- import { useMessage as _e } from "/@/hooks/web/useMessage";
32
- import { b as ye, g as ve, c as K, l as we, F as P, L as be, h as Fe, d as G } from "./useExtendComponent-48d37d9b.mjs";
33
- import { _ as Se } from "./index-6a09a912.mjs";
34
- import "/@/components/Form/src/componentMap";
35
- import "/@/utils/propTypes";
36
- import "@ant-design/icons-vue";
37
- import "/@/components/Modal";
38
- import "lodash-es";
39
- import "/@/components/Form/src/jeecg/components/JUpload";
40
- import "/@/views/system/user/user.api";
41
- import "/@/store/modules/user";
42
- import "/@/utils";
43
- import "/@/utils/desform/customExpression";
44
- import "/@/store/modules/permission";
45
- import "/@/utils/dict/JDictSelectUtil";
46
- import "/@/utils/common/compUtils";
47
- import "/@/components/Table";
48
- import "/@/hooks/system/useListPage";
49
- import "vue-router";
50
- import "/@/components/Form/src/utils/Area";
51
- import "/@/components/Preview/index";
52
- import "./LinkTableListPiece-34266919.mjs";
53
- import "./OnlineSelectCascade-c7baf52b.mjs";
54
- import "/@/components/Loading";
55
- import "/@/utils/auth";
56
- import "./JModalTip-abe1515a.mjs";
57
- import "ant-design-vue";
58
- import "@vueuse/core";
59
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
60
- const xe = {
61
- name: "OnlineQueryForm",
62
- components: {
63
- BasicForm: me
64
- },
65
- props: {
66
- id: {
67
- type: String,
68
- default: ""
69
- }
70
- },
71
- emits: ["search", "loaded"],
72
- setup(l, { emit: n }) {
73
- const s = "/online/cgform/api/getQueryInfoVue3/", c = D(null), w = D([]), j = D({ xs: 24, sm: 24, md: 12, lg: 6, xl: 6 }), b = D(!1), _ = D(!1), h = D({}), F = D([]), { createMessage: C } = _e(), { linkTableCard2Select: Q } = ye(), d = pe({
74
- config: {},
75
- cache: {},
76
- param: {},
77
- status: !1
78
- });
79
- N(
80
- () => d.status,
81
- (e) => k(this, null, function* () {
82
- console.log("-------------defaultValues发生改变,需要重置表单---------------");
83
- const { config: t, cache: r, param: y } = B(d);
84
- let S = Object.assign({}, t, r, y);
85
- yield z(S);
86
- }),
87
- { immediate: !0, deep: !0 }
88
- );
89
- function i(e, t) {
90
- return k(this, null, function* () {
91
- d.cache = U({}, e), d.param = U({}, t), d.status = !d.status;
92
- });
93
- }
94
- N(
95
- () => l.id,
96
- (e) => {
97
- e ? f() : w.value = [];
98
- },
99
- { immediate: !0 }
100
- );
101
- function m(e) {
102
- return k(this, null, function* () {
103
- let t = [], r = {}, y = Object.keys(e);
104
- for (let o of y) {
105
- const a = e[o];
106
- o === "sys_org_code" && (a.fieldExtendJson || (a.fieldExtendJson = '{"store":"orgCode"}'));
107
- let u = a.view;
108
- if (K[u] && (a.view = K[u]), yield we(o, a, r), a.mode == "group" && (u == "date" || u == "datetime" || u == "number")) {
109
- let x = P.createSlotFormSchema(o, a);
110
- t.push(x);
111
- } else if (a.view === be) {
112
- let x = Fe(a, o);
113
- for (let O of x) {
114
- let Y = P.createFormSchema(O.key, O), V = G(t, O.key);
115
- V == -1 ? t.push(Y) : t[V] = Y;
116
- }
117
- } else if (G(t, o) == -1) {
118
- let O = P.createFormSchema(o, a);
119
- t.push(O);
120
- }
121
- }
122
- t.sort(function(o, a) {
123
- return o.order - a.order;
124
- });
125
- let S = [];
126
- t.length > 2 && (b.value = !0);
127
- let g = [];
128
- for (let o = 0; o < t.length; o++) {
129
- let a = t[o];
130
- a.setFormRef(c), a.noChange(), a.asSearchForm(), o > 1 && (g.push(a.field), a.isHidden());
131
- let u = a.getFormItemSchema();
132
- a.slot == "groupDatetime" && (u.colProps = { xs: 24, sm: 24, md: 12, lg: 8, xl: 8 }), Q(u), S.push(u);
133
- }
134
- F.value = g, w.value = S, d.config = U({}, r), d.status = !d.status;
135
- });
136
- }
137
- function f() {
138
- return k(this, null, function* () {
139
- let e = yield $(), t = Z(e);
140
- n("loaded", e);
141
- let { formProperties: r, hasField: y } = X(t, e);
142
- if (y == !1) {
143
- w.value = [];
144
- return;
145
- }
146
- yield m(r);
147
- });
148
- }
149
- function z(e) {
150
- return k(this, null, function* () {
151
- yield ve(c), console.log("rawValues", e), yield L(e), Object.keys(e).length > 0 && R();
152
- });
153
- }
154
- function X(e, t) {
155
- const { searchFieldList: r, joinQuery: y, table: S } = t;
156
- let g = !1, o = {};
157
- return e && Object.keys(e).map((a) => {
158
- r.indexOf(a) >= 0 && (y == !0 ? a.indexOf("@") < 0 ? (o[S + "@" + a] = e[a], g = !0) : (o[a] = e[a], g = !0) : a.indexOf("@") < 0 && (o[a] = e[a], g = !0));
159
- }), {
160
- formProperties: o,
161
- hasField: g
162
- };
163
- }
164
- function Z(e) {
165
- const { properties: t, searchFieldList: r, joinQuery: y, table: S } = e;
166
- let g = {}, o = 1;
167
- return Object.keys(t).map((a) => {
168
- let u = t[a];
169
- if (u.view == "table") {
170
- let x = u.properties, O = o * 100;
171
- Object.keys(x).map((Y) => {
172
- let V = x[Y];
173
- V.order = O + Number(V.order);
174
- let se = a + "@" + Y;
175
- g[se] = V;
176
- }), o++;
177
- } else
178
- u.order = Number(u.order), g[a] = u;
179
- }), g;
180
- }
181
- function $() {
182
- let e = `${s}${l.id}`;
183
- return new Promise((t) => {
184
- ge.get({ url: e }, { isTransformResponse: !1 }).then((r) => {
185
- r.success ? t(r.result) : (t(!1), C.warning(r.message));
186
- }).catch(() => {
187
- C.warning("获取查询条件失败!"), t(!1);
188
- });
189
- });
190
- }
191
- const [ee, { resetFields: te, setFieldsValue: L, updateSchema: ae, getFieldsValue: oe }] = ue({
192
- schemas: w,
193
- showActionButtonGroup: !1,
194
- baseColProps: j,
195
- autoSubmitOnEnter: !0,
196
- submitFunc() {
197
- R();
198
- }
199
- /* labelCol: ONL_QUERY_LABEL_COL,
200
- wrapperCol: ONL_QUERY_WRAPPER_COL*/
201
- });
202
- function R() {
203
- let e = oe(), t = Object.assign({}, B(d.param), ne(e));
204
- n("search", t, !0);
205
- }
206
- function re() {
207
- return k(this, null, function* () {
208
- yield te();
209
- const { config: e, param: t } = B(d);
210
- let r = Object.assign({}, e, t);
211
- Object.keys(r).length > 0 && (yield L(r)), n("search", r, !1);
212
- });
213
- }
214
- function ne(e) {
215
- return Object.keys(e).map((t) => {
216
- e[t] && e[t] instanceof Array && (e[t] = e[t].join(","));
217
- }), e;
218
- }
219
- return N(
220
- () => _.value,
221
- (e) => {
222
- let t = F.value;
223
- if (t && t.length > 0) {
224
- let r = [];
225
- for (let y of t)
226
- r.push({
227
- field: y,
228
- show: e
229
- });
230
- ae(r);
231
- }
232
- },
233
- { immediate: !1 }
234
- ), {
235
- onlineQueryFormRef: c,
236
- registerForm: ee,
237
- initDefaultValues: i,
238
- toggleButtonShow: b,
239
- toggleSearchStatus: _,
240
- doSearch: R,
241
- resetSearch: re,
242
- queryParams: h,
243
- formSchemas: w
244
- };
245
- }
246
- }, T = (l) => (fe("data-v-90f5c109"), l = l(), he(), l), Oe = {
247
- key: 0,
248
- class: "jeecg-basic-table-form-container p-0"
249
- }, ke = /* @__PURE__ */ T(() => /* @__PURE__ */ M("span", { class: "group-query-string" }, "~", -1)), De = /* @__PURE__ */ T(() => /* @__PURE__ */ M("span", { class: "group-query-string" }, "~", -1)), Ie = /* @__PURE__ */ T(() => /* @__PURE__ */ M("span", { class: "group-query-string" }, "~", -1)), Ve = {
250
- style: { float: "left", overflow: "hidden", "margin-left": "10px" },
251
- class: "table-page-search-submitButtons"
252
- };
253
- function Ye(l, n, s, c, w, j) {
254
- const b = I("a-date-picker"), _ = I("a-form-item-rest"), h = I("a-input-number"), F = I("a-button"), C = I("a-icon"), Q = I("a-col"), d = I("BasicForm");
255
- return c.formSchemas && c.formSchemas.length > 0 ? (q(), W("div", Oe, [
256
- p(d, {
257
- ref: "onlineQueryFormRef",
258
- onRegister: c.registerForm
259
- }, {
260
- groupDate: v(({ model: i, field: m }) => [
261
- p(b, {
262
- showTime: !1,
263
- valueFormat: "YYYY-MM-DD",
264
- placeholder: "开始日期",
265
- value: i[m + "_begin"],
266
- "onUpdate:value": (f) => i[m + "_begin"] = f,
267
- style: { width: "calc(50% - 15px)", "min-width": "100px" }
268
- }, null, 8, ["value", "onUpdate:value"]),
269
- ke,
270
- p(_, null, {
271
- default: v(() => [
272
- p(b, {
273
- showTime: !1,
274
- valueFormat: "YYYY-MM-DD",
275
- placeholder: "结束日期",
276
- value: i[m + "_end"],
277
- "onUpdate:value": (f) => i[m + "_end"] = f,
278
- style: { width: "calc(50% - 15px)", "min-width": "100px" }
279
- }, null, 8, ["value", "onUpdate:value"])
280
- ]),
281
- _: 2
282
- }, 1024)
283
- ]),
284
- groupDatetime: v(({ model: i, field: m }) => [
285
- p(b, {
286
- showTime: !0,
287
- valueFormat: "YYYY-MM-DD HH:mm:ss",
288
- placeholder: "开始时间",
289
- value: i[m + "_begin"],
290
- "onUpdate:value": (f) => i[m + "_begin"] = f,
291
- style: { "min-width": "100px", width: "calc(50% - 15px)" }
292
- }, null, 8, ["value", "onUpdate:value"]),
293
- De,
294
- p(_, null, {
295
- default: v(() => [
296
- p(b, {
297
- showTime: !0,
298
- valueFormat: "YYYY-MM-DD HH:mm:ss",
299
- placeholder: "结束时间",
300
- value: i[m + "_end"],
301
- "onUpdate:value": (f) => i[m + "_end"] = f,
302
- style: { "min-width": "100px", width: "calc(50% - 15px)" }
303
- }, null, 8, ["value", "onUpdate:value"])
304
- ]),
305
- _: 2
306
- }, 1024)
307
- ]),
308
- groupNumber: v(({ model: i, field: m }) => [
309
- p(h, {
310
- placeholder: "开始值",
311
- value: i[m + "_begin"],
312
- "onUpdate:value": (f) => i[m + "_begin"] = f,
313
- style: { width: "calc(50% - 15px)" }
314
- }, null, 8, ["value", "onUpdate:value"]),
315
- Ie,
316
- p(_, null, {
317
- default: v(() => [
318
- p(h, {
319
- placeholder: "结束值",
320
- value: i[m + "_end"],
321
- "onUpdate:value": (f) => i[m + "_end"] = f,
322
- style: { width: "calc(50% - 15px)" }
323
- }, null, 8, ["value", "onUpdate:value"])
324
- ]),
325
- _: 2
326
- }, 1024)
327
- ]),
328
- formFooter: v(() => [
329
- p(Q, {
330
- md: 6,
331
- sm: 8
332
- }, {
333
- default: v(() => [
334
- M("span", Ve, [
335
- p(F, {
336
- preIcon: "ant-design:search",
337
- type: "primary",
338
- onClick: c.doSearch
339
- }, {
340
- default: v(() => [
341
- E("查询")
342
- ]),
343
- _: 1
344
- }, 8, ["onClick"]),
345
- p(F, {
346
- preIcon: "ant-design:reload",
347
- type: "primary",
348
- onClick: c.resetSearch,
349
- style: { "margin-left": "8px" }
350
- }, {
351
- default: v(() => [
352
- E("重置")
353
- ]),
354
- _: 1
355
- }, 8, ["onClick"]),
356
- c.toggleButtonShow ? (q(), W("a", {
357
- key: 0,
358
- onClick: n[0] || (n[0] = (i) => c.toggleSearchStatus = !c.toggleSearchStatus),
359
- style: { "margin-left": "8px" }
360
- }, [
361
- E(de(c.toggleSearchStatus ? "收起" : "展开") + " ", 1),
362
- p(C, {
363
- type: c.toggleSearchStatus ? "up" : "down"
364
- }, null, 8, ["type"])
365
- ])) : J("", !0)
366
- ])
367
- ]),
368
- _: 1
369
- })
370
- ]),
371
- _: 1
372
- }, 8, ["onRegister"])
373
- ])) : J("", !0);
374
- }
375
- const mt = /* @__PURE__ */ Se(xe, [["render", Ye], ["__scopeId", "data-v-90f5c109"]]);
376
- export {
377
- mt as default
378
- };
@@ -1,101 +0,0 @@
1
- var _ = Object.defineProperty, x = Object.defineProperties;
2
- var A = Object.getOwnPropertyDescriptors;
3
- var C = Object.getOwnPropertySymbols;
4
- var E = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
5
- var b = (e, o, n) => o in e ? _(e, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[o] = n, a = (e, o) => {
6
- for (var n in o || (o = {}))
7
- E.call(o, n) && b(e, n, o[n]);
8
- if (C)
9
- for (var n of C(o))
10
- N.call(o, n) && b(e, n, o[n]);
11
- return e;
12
- }, g = (e, o) => x(e, A(o));
13
- import { defineComponent as S, computed as v, createVNode as M, unref as f } from "vue";
14
- import { upperFirst as D } from "lodash-es";
15
- import { componentMap as I } from "/@/components/Form/src/componentMap";
16
- import { isFunction as K } from "/@/utils/is";
17
- const G = /* @__PURE__ */ S({
18
- name: "OnlineSuperQueryValComponent",
19
- inheritAttrs: !1,
20
- props: {
21
- schema: {
22
- type: Object,
23
- default: () => ({})
24
- },
25
- formModel: {
26
- type: Object,
27
- default: () => ({})
28
- },
29
- setFormModel: {
30
- type: Function,
31
- default: null
32
- }
33
- },
34
- emits: ["submit"],
35
- setup(e, {
36
- emit: o
37
- }) {
38
- const n = v(() => {
39
- var s;
40
- const {
41
- schema: t,
42
- formModel: c
43
- } = e;
44
- let {
45
- componentProps: l = {}
46
- } = t;
47
- return K(l) && (l = (s = l({
48
- schema: t,
49
- formModel: c
50
- })) != null ? s : {}), l;
51
- }), P = v(() => {
52
- const {
53
- formModel: t,
54
- schema: c
55
- } = e;
56
- return {
57
- field: c.field,
58
- model: t,
59
- values: a({}, t),
60
- schema: c
61
- };
62
- });
63
- function F() {
64
- var h;
65
- const {
66
- component: t,
67
- changeEvent: c = "change",
68
- valueField: l
69
- } = e.schema, s = "val", p = t && ["Switch", "Checkbox"].includes(t), u = `on${D(c)}`, k = {
70
- [u]: (...i) => {
71
- const [m] = i;
72
- r[u] && r[u](...i);
73
- const d = m ? m.target : null, O = d ? p ? d.checked : d.value : m;
74
- e.setFormModel(s, O);
75
- }
76
- }, V = I.get(t), r = a({
77
- allowClear: !0,
78
- getPopupContainer: (i) => i.parentNode
79
- }, f(n));
80
- !r.disabled && t !== "RangePicker" && t && (r.placeholder = ((h = f(n)) == null ? void 0 : h.placeholder) || y(t) + e.schema.label), r.codeField = s, r.formValues = f(P);
81
- const j = {
82
- [l || (p ? "checked" : "value")]: e.formModel[s]
83
- }, w = g(a(a(a({}, r), k), j), {
84
- allowClear: !0,
85
- onPressEnter() {
86
- o("submit");
87
- }
88
- });
89
- return M(V, w, null);
90
- }
91
- return () => M("div", {
92
- style: "width:100%"
93
- }, [F()]);
94
- function y(t) {
95
- return t.includes("Input") || t.includes("Complete") ? "请输入" : "请选择";
96
- }
97
- }
98
- });
99
- export {
100
- G as _
101
- };
@@ -1,6 +0,0 @@
1
- const e = "erp", s = "tree", o = "normal";
2
- export {
3
- e as E,
4
- o as N,
5
- s as T
6
- };
@@ -1,58 +0,0 @@
1
- import m from "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
2
- import { defineComponent as u, resolveComponent as l, openBlock as a, createElementBlock as v, createVNode as f, defineAsyncComponent as s } from "vue";
3
- import { useMessage as g } from "/@/hooks/web/useMessage";
4
- import { useRoute as d } from "vue-router";
5
- const w = u({
6
- name: "OnlCgReportList",
7
- components: {
8
- JPopupOnlReport: m
9
- },
10
- setup(e, { emit: r, refs: o }) {
11
- g();
12
- const t = d().path;
13
- return {
14
- id: t.substr(t.lastIndexOf("/") + 1)
15
- };
16
- }
17
- }), h = (e, r) => {
18
- const o = e.__vccOpts || e;
19
- for (const [n, t] of r)
20
- o[n] = t;
21
- return o;
22
- }, b = { class: "p-2" };
23
- function O(e, r, o, n, t, c) {
24
- const p = l("JPopupOnlReport");
25
- return a(), v("div", b, [
26
- f(p, {
27
- id: e.id,
28
- clickToRowSelect: !1
29
- }, null, 8, ["id"])
30
- ]);
31
- }
32
- const i = /* @__PURE__ */ h(w, [["render", O]]), C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33
- __proto__: null,
34
- default: i
35
- }, Symbol.toStringTag, { value: "Module" }));
36
- console.log("node_modules import.meta: ", import.meta);
37
- const x = {
38
- /**
39
- * 注册组件
40
- */
41
- install(e, r) {
42
- e.provide("baseImport", r.baseImport), e.component("OnlCgReportList", i);
43
- const o = s(() => import("./JOnlineSearchSelect-5608a5cf.mjs"));
44
- e.component("JOnlineSearchSelect", o);
45
- const n = s(() => import("./SuperQuery-3821f984.mjs"));
46
- e.component("SuperQuery", n), console.log("--- online init ----");
47
- },
48
- getViews() {
49
- return /* @__PURE__ */ Object.assign({ "./src/views/super/online/cgform/CgformCopyList.vue": () => import("./CgformCopyList-3adab58f.mjs"), "./src/views/super/online/cgform/auto/comp/JOnlineSearchSelect.vue": () => import("./JOnlineSearchSelect-5608a5cf.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineForm.vue": () => import("./OnlineForm-630a22c2.mjs").then((e) => e.a), "./src/views/super/online/cgform/auto/comp/OnlineFormDetail.vue": () => import("./OnlineFormDetail-1b216792.mjs"), "./src/views/super/online/cgform/auto/comp/OnlinePopForm.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.s), "./src/views/super/online/cgform/auto/comp/OnlinePopListModal.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.w), "./src/views/super/online/cgform/auto/comp/OnlinePopModal.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.t), "./src/views/super/online/cgform/auto/comp/OnlineQueryForm.vue": () => import("./OnlineQueryForm-1c5949a7.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSearchFormItem.vue": () => import("./OnlineSearchFormItem-7c2ea9ed.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSelectCascade.vue": () => import("./OnlineSelectCascade-c7baf52b.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSubForm.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.r), "./src/views/super/online/cgform/auto/comp/OnlineSubFormDetail.vue": () => import("./OnlineSubFormDetail-0aa4966c.mjs"), "./src/views/super/online/cgform/auto/comp/ProcessOnlineForm.vue": () => import("./ProcessOnlineForm-27be6f6f.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQuery.vue": () => import("./SuperQuery-3821f984.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQueryValComponent.vue": () => import("./SuperQueryValComponent-471110b5.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoList.vue": () => import("./OnlineAutoList-85e6a30d.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoModal.vue": () => import("./OnlineAutoModal-2a146238.mjs"), "./src/views/super/online/cgform/auto/default/OnlineCustomModal.vue": () => import("./OnlineCustomModal-456a85a6.mjs"), "./src/views/super/online/cgform/auto/default/OnlineDetailModal.vue": () => import("./OnlineDetailModal-f967f080.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpList.vue": () => import("./OnlCgformErpList-7a0388d8.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpSubTable.vue": () => import("./OnlCgformErpSubTable-fc6ade76.mjs"), "./src/views/super/online/cgform/auto/tree/OnlineAutoTreeList.vue": () => import("./OnlineAutoTreeList-f8d0e100.mjs"), "./src/views/super/online/cgform/components/CgformModal.vue": () => import("./CgformModal-6938d8c2.mjs").then((e) => e.h), "./src/views/super/online/cgform/components/CodeFileListModal.vue": () => import("./CodeFileListModal-4831ce3d.mjs"), "./src/views/super/online/cgform/components/CodeFileViewModal.vue": () => import("./CodeFileViewModal-5990dac4.mjs"), "./src/views/super/online/cgform/components/CodeGeneratorModal.vue": () => import("./CodeGeneratorModal-7df9e25d.mjs"), "./src/views/super/online/cgform/components/DbToOnlineModal.vue": () => import("./DbToOnlineModal-dc5d2030.mjs"), "./src/views/super/online/cgform/components/ExtendConfigModal.vue": () => import("./ExtendConfigModal-60f2cf86.mjs"), "./src/views/super/online/cgform/components/FileSelectModal.vue": () => import("./FileSelectModal-64aaf623.mjs"), "./src/views/super/online/cgform/components/auth/AuthManagerDrawer.vue": () => import("./AuthManagerDrawer-f127b8a2.mjs"), "./src/views/super/online/cgform/components/auth/AuthSetterModal.vue": () => import("./AuthSetterModal-37da78ed.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthButtonConfig.vue": () => import("./AuthButtonConfig-2f71787c.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthDataConfig.vue": () => import("./AuthDataConfig-32cf23d2.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthFieldConfig.vue": () => import("./AuthFieldConfig-b1217a0c.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthButtonTree.vue": () => import("./AuthButtonTree-d73bccf5.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthDataTree.vue": () => import("./AuthDataTree-03d62d3f.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthFieldTree.vue": () => import("./AuthFieldTree-888e04a9.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftDepart.vue": () => import("./LeftDepart-ca7a7375.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftRole.vue": () => import("./LeftRole-d0fa8398.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftUser.vue": () => import("./LeftUser-0c88c240.mjs"), "./src/views/super/online/cgform/components/button/CustomButtonList.vue": () => import("./CustomButtonList-1c9bd859.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJavaModal.vue": () => import("./EnhanceJavaModal-7f53d2ca.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJsHistory.vue": () => import("./EnhanceJsHistory-c30805ce.mjs").then((e) => e.a), "./src/views/super/online/cgform/components/enhance/EnhanceJsModal.vue": () => import("./EnhanceJsModal-0b133341.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceSqlModal.vue": () => import("./EnhanceSqlModal-33a94c83.mjs"), "./src/views/super/online/cgform/components/tables/CheckDictTable.vue": () => import("./CheckDictTable-414313f2.mjs"), "./src/views/super/online/cgform/components/tables/DBAttributeTable.vue": () => import("./DBAttributeTable-cd1c41e5.mjs"), "./src/views/super/online/cgform/components/tables/ForeignKeyTable.vue": () => import("./ForeignKeyTable-cb1abd1d.mjs"), "./src/views/super/online/cgform/components/tables/IndexTable.vue": () => import("./IndexTable-4e94cd1f.mjs"), "./src/views/super/online/cgform/components/tables/PageAttributeTable.vue": () => import("./PageAttributeTable-811185fd.mjs"), "./src/views/super/online/cgform/components/tables/QueryTable.vue": () => import("./QueryTable-4ba771ef.mjs"), "./src/views/super/online/cgform/extend/FieldExtendJsonModal.vue": () => import("./FieldExtendJsonModal-48f7d67f.mjs"), "./src/views/super/online/cgform/extend/form/DetailForm.vue": () => import("./DetailForm-e4538e7a.mjs"), "./src/views/super/online/cgform/extend/linkTable/JModalTip.vue": () => import("./JModalTip-abe1515a.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableCard.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.x), "./src/views/super/online/cgform/extend/linkTable/LinkTableConfigModal.vue": () => import("./LinkTableConfigModal-77d7c0b9.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableFieldConfigModal.vue": () => import("./LinkTableFieldConfigModal-c5689ab0.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableListPiece.vue": () => import("./LinkTableListPiece-34266919.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableSelect.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.v), "./src/views/super/online/cgform/index.vue": () => import("./index-9d32ae88.mjs"), "./src/views/super/online/cgreport/auto/OnlCgReportList.vue": () => Promise.resolve().then(() => C), "./src/views/super/online/cgreport/components/CgreportModal.vue": () => import("./CgreportModal-77ec8c17.mjs"), "./src/views/super/online/cgreport/demo/ModalFormDemo.vue": () => import("./ModalFormDemo-0eeea994.mjs"), "./src/views/super/online/cgreport/index.vue": () => import("./index-074b92e5.mjs") });
50
- }
51
- }, _ = s(() => import("./OnlineSelectCascade-c7baf52b.mjs")), k = s(() => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.x)), F = s(() => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.v));
52
- export {
53
- k as L,
54
- _ as O,
55
- h as _,
56
- F as a,
57
- x as i
58
- };