@jeecg/online 3.9.0-beta → 3.9.1-RC

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 (171) hide show
  1. package/{AccountLoginForm-cbc75a49.mjs → AccountLoginForm-BXyvcSds.mjs} +50 -53
  2. package/{AiModal-5bec5218.mjs → AiModal-BgVzn074.mjs} +18 -20
  3. package/{AppForgetPassword-dbc8377e.mjs → AppForgetPassword-B-2CvL62.mjs} +59 -63
  4. package/AppLogin-BMBmx2oq.mjs +272 -0
  5. package/AppLoginHeader-BtKXOMRR.mjs +23 -0
  6. package/{AppNameEmail-7c6a1406.mjs → AppNameEmail-DCqMNjaK.mjs} +20 -24
  7. package/{AppRegister-29a00a9d.mjs → AppRegister-C5iH-245.mjs} +33 -37
  8. package/{AppTenant-92890383.mjs → AppTenant-etPXeUcW.mjs} +49 -55
  9. package/AppThirdForm-NMob-JaS.mjs +185 -0
  10. package/AuthButtonConfig-zUioaGwn.mjs +155 -0
  11. package/AuthButtonTree-DYZwphe6.mjs +159 -0
  12. package/{AuthDataConfig-c978c469.mjs → AuthDataConfig-uQ5WT7rx.mjs} +57 -62
  13. package/AuthDataTree-Cr28_YKx.mjs +134 -0
  14. package/{AuthFieldConfig-558283bc.mjs → AuthFieldConfig-DjdaPIXF.mjs} +95 -101
  15. package/{AuthFieldTree-106db4e2.mjs → AuthFieldTree-DHmnDQ0I.mjs} +94 -99
  16. package/AuthManagerDrawer-DUb6QylS.mjs +108 -0
  17. package/{AuthSetterModal-90a76886.mjs → AuthSetterModal-BBFdNv1M.mjs} +89 -100
  18. package/BuiltInButtonList-Cgg5maxI.mjs +4 -0
  19. package/{BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs → BuiltInButtonList.vue_vue_type_script_setup_true_lang-5-4hU0bi.mjs} +8 -8
  20. package/{CgformAddressModal-690b8940.mjs → CgformAddressModal-BVoww1fk.mjs} +57 -63
  21. package/CgformCopyList-7e96RMbJ.mjs +176 -0
  22. package/{CgformModal-b04a492a.mjs → CgformModal-RH-Tr08S.mjs} +240 -241
  23. package/{CgreportAigcModal-8fdcbd31.mjs → CgreportAigcModal-rEfIpPF9.mjs} +35 -38
  24. package/{CgreportModal-da62724c.mjs → CgreportModal-Bajb_3ku.mjs} +49 -50
  25. package/{CheckDictTable-7320189b.mjs → CheckDictTable-BxJFrctQ.mjs} +44 -52
  26. package/{CodeFileListModal-e5ec210d.mjs → CodeFileListModal-C3uqsFvi.mjs} +32 -36
  27. package/{CodeFileViewModal-09053f3a.mjs → CodeFileViewModal-bEtZDbAY.mjs} +78 -81
  28. package/CodeGeneratorModal-ZWEIXRbY.mjs +291 -0
  29. package/{CustomButtonList-704e6d1c.mjs → CustomButtonList-7wjonhtu.mjs} +82 -85
  30. package/{DBAttributeTable-4a65c897.mjs → DBAttributeTable-DA2XttIQ.mjs} +50 -60
  31. package/{DbToOnlineModal-cc398c70.mjs → DbToOnlineModal-CDVqmEJH.mjs} +43 -45
  32. package/DetailForm-CnfJBMys.mjs +472 -0
  33. package/{DropMenuItem-884f9464.mjs → DropMenuItem-D8YWMle-.mjs} +8 -11
  34. package/EnhanceJavaModal-W8_oGY-U.mjs +255 -0
  35. package/{EnhanceJsHistory-95ca545c.mjs → EnhanceJsHistory-ZzXedCNI.mjs} +48 -49
  36. package/{EnhanceJsModal-742b0ee2.mjs → EnhanceJsModal-Djb5ItH4.mjs} +95 -104
  37. package/EnhanceSqlModal-DxPdRcQc.mjs +258 -0
  38. package/ErrorTip-BDS1uxkW.mjs +4 -0
  39. package/{ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs → ErrorTip.vue_vue_type_script_setup_true_lang-Bl9zMjvW.mjs} +11 -11
  40. package/ExtendConfigModal-CxJIWvV4.mjs +102 -0
  41. package/{FieldExtendJsonModal-fe7f7902.mjs → FieldExtendJsonModal-Bvmbb6yd.mjs} +27 -30
  42. package/{FileSelectModal-cf41604b.mjs → FileSelectModal-DXqL5msQ.mjs} +27 -31
  43. package/{ForeignKeyTable-4a59ded1.mjs → ForeignKeyTable-D6AlLbfd.mjs} +17 -25
  44. package/{IndexTable-87d67830.mjs → IndexTable-B7ef6Aox.mjs} +9 -17
  45. package/JModalTip-DHrn6ksJ.mjs +46 -0
  46. package/{JOnlineSearchSelect-d8c57973.mjs → JOnlineSearchSelect-CAv2Dm9V.mjs} +21 -23
  47. package/{LeftDepart-463bf432.mjs → LeftDepart-BC1jpYJP.mjs} +8 -11
  48. package/{LeftRole-1631d3d4.mjs → LeftRole-sq_2p6Qk.mjs} +16 -19
  49. package/{LeftUser-5774a5db.mjs → LeftUser-CYh4PBgd.mjs} +7 -10
  50. package/{LinkTableConfigModal-1bab1423.mjs → LinkTableConfigModal-BOWs0A5-.mjs} +38 -40
  51. package/{LinkTableFieldConfigModal-49470140.mjs → LinkTableFieldConfigModal-D7FTBP3E.mjs} +50 -52
  52. package/LinkTableListPiece-Bfu6vfo0.mjs +31 -0
  53. package/{ModalFormDemo-dbd0aa28.mjs → ModalFormDemo-C1qQT6lj.mjs} +13 -16
  54. package/{OnlCgformErpList-35ad1d6e.mjs → OnlCgformErpList-CavWG8GK.mjs} +139 -200
  55. package/OnlCgformErpSubTable-D3QM8oWi.mjs +382 -0
  56. package/OnlCgformInnerSubTable-BqmooFqy.mjs +213 -0
  57. package/OnlCgformInnerTableList-Dr1KdoSC.mjs +421 -0
  58. package/OnlCgformTabList-DCy3oudh.mjs +371 -0
  59. package/OnlineAutoList-C4pkORGb.mjs +500 -0
  60. package/OnlineAutoModal-Cuf_wcbU.mjs +222 -0
  61. package/{OnlineAutoTreeList-5153f09d.mjs → OnlineAutoTreeList-LDE9Sm7X.mjs} +124 -182
  62. package/OnlineCustomModal-Jz4MxkH0.mjs +209 -0
  63. package/OnlineDetailModal-So0YEah1.mjs +160 -0
  64. package/{OnlineForm-20604e4f.mjs → OnlineForm-CvcbzRIZ.mjs} +47 -74
  65. package/OnlineFormDetail-KaD6cV31.mjs +321 -0
  66. package/OnlineFormUrlAdd-CktstdFD.mjs +86 -0
  67. package/OnlineFormUrlDetail-C4qptuTQ.mjs +85 -0
  68. package/OnlineFormUrlEdit-C06vTiM_.mjs +84 -0
  69. package/{OnlineFormUrlSuccess-302ecb21.mjs → OnlineFormUrlSuccess-Cvbte2lW.mjs} +27 -30
  70. package/{OnlineQueryForm-5eeceb51.mjs → OnlineQueryForm-6E1IRi95.mjs} +139 -168
  71. package/{OnlineSearchFormItem-5536a1a6.mjs → OnlineSearchFormItem-CdRuXQPu.mjs} +112 -118
  72. package/{OnlineSelectCascade-180e8c9a.mjs → OnlineSelectCascade-O7iXAgdH.mjs} +31 -33
  73. package/OnlineSubFormDetail-DcMpAk8Z.mjs +109 -0
  74. package/OnlineTabAutoModal-DSOVDlOz.mjs +285 -0
  75. package/OnlineTabDetailModal-OXQ_2VLI.mjs +187 -0
  76. package/{OnlineTabForm-827e7089.mjs → OnlineTabForm-Cg3_IX2H.mjs} +228 -254
  77. package/OnlineTabFormDetail-BgFkUkva.mjs +299 -0
  78. package/{PageAttributeTable-5703e2f1.mjs → PageAttributeTable-C803SekP.mjs} +46 -59
  79. package/{PhoneLoginForm-15dc68ed.mjs → PhoneLoginForm-8a0Uehov.mjs} +40 -43
  80. package/ProcessOnlineForm-COeEaGc8.mjs +182 -0
  81. package/{QueryTable-26c9ee22.mjs → QueryTable-DHYaYbKC.mjs} +23 -31
  82. package/SetSwitchOptions-B4Q6l-54.mjs +58 -0
  83. package/ShareAddView-CxZuNTQB.mjs +11 -0
  84. package/ShareEditView-Dqdzjmpc.mjs +17 -0
  85. package/ShareView-B9TiMmkR.mjs +4 -0
  86. package/{ShareView.vue_vue_type_script_setup_true_lang-d1597c0d.mjs → ShareView.vue_vue_type_script_setup_true_lang-BCdP9KMD.mjs} +21 -21
  87. package/SingleView-BDXeMLV-.mjs +4 -0
  88. package/{SingleView.vue_vue_type_style_index_0_lang-914483d0.mjs → SingleView.vue_vue_type_style_index_0_lang-D3QcMcYT.mjs} +27 -27
  89. package/{SuperQuery-c95f86ee.mjs → SuperQuery-CgkajEWI.mjs} +342 -371
  90. package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
  91. package/TaskOpinionList-C8rcU6ee.mjs +10 -0
  92. package/{aiModal-b44fa135.mjs → aiModal-DTU-w5Xx.mjs} +33 -36
  93. package/{enhance.data-6601ff44.mjs → enhance.data-DRCzy5Bx.mjs} +5 -5
  94. package/index-0kQBIHx0.mjs +58 -0
  95. package/{index-02f6dc7d.mjs → index-B1H394jP.mjs} +35 -38
  96. package/index-CXD6__bJ.mjs +195 -0
  97. package/{index-abbfd327.mjs → index-DIjQbz6A.mjs} +37 -41
  98. package/{index-30da2fc0.mjs → index-Dbr1qL3H.mjs} +474 -609
  99. package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
  100. package/{index-391aec04.mjs → index-pGbTziKP.mjs} +32 -44
  101. package/{index-22a99f2e.mjs → index-siZ6JDIW.mjs} +17 -20
  102. package/main.index.js +8 -9
  103. package/online.css +1 -0
  104. package/package.json +1 -1
  105. package/{useCgformList-aaa30c8c.mjs → useCgformList-_o9GP7ca.mjs} +3 -3
  106. package/useExtendComponent-P9wrWQwT.mjs +4479 -0
  107. package/{useListButton-308458cd.mjs → useListButton-DyOAscwT.mjs} +7 -9
  108. package/{useSchemas-b074f3a1.mjs → useSchemas-svH7q1tm.mjs} +69 -42
  109. package/{useTableSync-dbfba20e.mjs → useTableSync-BAWujyoc.mjs} +1 -1
  110. package/{utils-9fce7606.mjs → utils-DcQ65Qmw.mjs} +1 -1
  111. package/AppLogin-786949d3.mjs +0 -287
  112. package/AppLoginHeader-37034b2f.mjs +0 -27
  113. package/AppThirdForm-760064e5.mjs +0 -189
  114. package/AuthButtonConfig-78180aec.mjs +0 -160
  115. package/AuthButtonTree-62c8e70c.mjs +0 -165
  116. package/AuthDataTree-0647a06c.mjs +0 -139
  117. package/AuthManagerDrawer-ec5190d2.mjs +0 -119
  118. package/BuiltInButtonList-bb6cf95c.mjs +0 -10
  119. package/CgformCopyList-af9c99a4.mjs +0 -260
  120. package/CodeGeneratorModal-aba790e3.mjs +0 -298
  121. package/DetailForm-a2bf8c33.mjs +0 -498
  122. package/EnhanceJavaModal-fe8d475d.mjs +0 -264
  123. package/EnhanceSqlModal-6e36bc4f.mjs +0 -268
  124. package/ErrorTip-bb616e32.mjs +0 -7
  125. package/ExtendConfigModal-74d657c7.mjs +0 -117
  126. package/JModalTip-5401f43d.mjs +0 -49
  127. package/LinkTableListPiece-47f4286c.mjs +0 -34
  128. package/OnlCgformErpSubTable-5093d438.mjs +0 -444
  129. package/OnlCgformInnerSubTable-f1dc90db.mjs +0 -270
  130. package/OnlCgformInnerTableList-1b82a7da.mjs +0 -482
  131. package/OnlCgformTabList-d66d1261.mjs +0 -432
  132. package/OnlineAutoList-fbba2a52.mjs +0 -559
  133. package/OnlineAutoModal-68909692.mjs +0 -261
  134. package/OnlineCustomModal-b5f8c799.mjs +0 -247
  135. package/OnlineDetailModal-ac078a9a.mjs +0 -199
  136. package/OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs +0 -1
  137. package/OnlineFormDetail-719118b6.mjs +0 -350
  138. package/OnlineFormUrlAdd-5b675f48.mjs +0 -117
  139. package/OnlineFormUrlDetail-91156bf2.mjs +0 -122
  140. package/OnlineFormUrlEdit-fb810de6.mjs +0 -115
  141. package/OnlineSubFormDetail-4d64e7be.mjs +0 -148
  142. package/OnlineTabAutoModal-c127ed50.mjs +0 -320
  143. package/OnlineTabDetailModal-e4e9f7e3.mjs +0 -227
  144. package/OnlineTabFormDetail-0f96377e.mjs +0 -329
  145. package/ProcessOnlineForm-1fcbe0af.mjs +0 -219
  146. package/SetSwitchOptions-a3428177.mjs +0 -62
  147. package/ShareAddView-0512e884.mjs +0 -89
  148. package/ShareEditView-b89dfbd3.mjs +0 -95
  149. package/ShareView-faf1a0ab.mjs +0 -83
  150. package/SingleView-21d3a558.mjs +0 -71
  151. package/SuperQueryValComponent-5a9ccfd4.mjs +0 -8
  152. package/TaskOpinionList-73ecb3c8.mjs +0 -101
  153. package/dayjs.min-eea532a3.mjs +0 -301
  154. package/index-26940246.mjs +0 -219
  155. package/index-94b6319e.mjs +0 -57
  156. package/style.css +0 -1
  157. package/useExtendComponent-ad499dff.mjs +0 -4164
  158. /package/{SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs → SuperQueryValComponent.vue_vue_type_script_lang-BM-iwlLi.mjs} +0 -0
  159. /package/{auth.api-53df4c33.mjs → auth.api-2QmzY0ji.mjs} +0 -0
  160. /package/{auth.data-e44c7975.mjs → auth.data-Cp8D9uZ7.mjs} +0 -0
  161. /package/{button.data-fe45d43b.mjs → button.data-CyUX77GQ.mjs} +0 -0
  162. /package/{cgform.data-0ca62d09.mjs → cgform.data-CviSPXEg.mjs} +0 -0
  163. /package/{cgformState-d9f8ec42.mjs → cgformState-CUyRXfhW.mjs} +0 -0
  164. /package/{constant-fa63bd66.mjs → constant-DnbpmwZg.mjs} +0 -0
  165. /package/{enhance.api-138e6826.mjs → enhance.api-BqHb-YGL.mjs} +0 -0
  166. /package/{index-5e89258d.mjs → index-aVGkB_J9.mjs} +0 -0
  167. /package/{shareStore-7de6c7a6.mjs → shareStore-k-kzyga5.mjs} +0 -0
  168. /package/{useCustomHook-3a17a690.mjs → useCustomHook-B35kFqDB.mjs} +0 -0
  169. /package/{useFormUrl-2ee1a82d.mjs → useFormUrl-D8ASmaz6.mjs} +0 -0
  170. /package/{useOnlinePopEvent-687070b7.mjs → useOnlinePopEvent-FOvbs0Ta.mjs} +0 -0
  171. /package/{useOnlineTest-e4bd8be3.mjs → useOnlineTest-_onDRxjY.mjs} +0 -0
@@ -2,70 +2,41 @@ var Se = Object.defineProperty, De = Object.defineProperties;
2
2
  var Ye = Object.getOwnPropertyDescriptors;
3
3
  var ee = Object.getOwnPropertySymbols;
4
4
  var Oe = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable;
5
- var te = (h, f, l) => f in h ? Se(h, f, { enumerable: !0, configurable: !0, writable: !0, value: l }) : h[f] = l, v = (h, f) => {
6
- for (var l in f || (f = {}))
7
- Oe.call(f, l) && te(h, l, f[l]);
5
+ var te = (h, m, i) => m in h ? Se(h, m, { enumerable: !0, configurable: !0, writable: !0, value: i }) : h[m] = i, P = (h, m) => {
6
+ for (var i in m || (m = {}))
7
+ Oe.call(m, i) && te(h, i, m[i]);
8
8
  if (ee)
9
- for (var l of ee(f))
10
- Fe.call(f, l) && te(h, l, f[l]);
9
+ for (var i of ee(m))
10
+ Fe.call(m, i) && te(h, i, m[i]);
11
11
  return h;
12
- }, q = (h, f) => De(h, Ye(f));
13
- var P = (h, f, l) => new Promise((d, y) => {
12
+ }, q = (h, m) => De(h, Ye(m));
13
+ var v = (h, m, i) => new Promise((d, y) => {
14
14
  var B = (_) => {
15
15
  try {
16
- F(l.next(_));
16
+ F(i.next(_));
17
17
  } catch (D) {
18
18
  y(D);
19
19
  }
20
20
  }, M = (_) => {
21
21
  try {
22
- F(l.throw(_));
22
+ F(i.throw(_));
23
23
  } catch (D) {
24
24
  y(D);
25
25
  }
26
26
  }, F = (_) => _.done ? d(_.value) : Promise.resolve(_.value).then(B, M);
27
- F((l = l.apply(h, f)).next());
27
+ F((i = i.apply(h, m)).next());
28
28
  });
29
- import { BasicForm as xe, useForm as ve } from "/@/components/Form/index";
30
- import { ref as C, reactive as Pe, watch as U, toRaw as A, resolveComponent as N, openBlock as R, createElementBlock as oe, createVNode as j, withCtx as V, mergeProps as re, createElementVNode as G, createBlock as ne, toDisplayString as H, createCommentVNode as Q, createTextVNode as Ce } from "vue";
29
+ import { BasicForm as xe, useForm as Pe } from "/@/components/Form/index";
30
+ import { ref as C, reactive as ve, watch as U, toRaw as A, resolveComponent as N, createElementBlock as oe, createCommentVNode as R, openBlock as T, createVNode as j, withCtx as V, createElementVNode as G, createBlock as ne, toDisplayString as H, createTextVNode as Ce, mergeProps as re } from "vue";
31
31
  import { defHttp as Ve } from "/@/utils/http/axios";
32
32
  import { useMessage as Ie } from "/@/hooks/web/useMessage";
33
- import { c as Me, g as Ne, m as ae, n as je, F as W, o as Le, p as Be, q as se } from "./useExtendComponent-ad499dff.mjs";
34
- import { L as Ee } from "./constant-fa63bd66.mjs";
33
+ import { c as Me, g as Ne, d as I, n as ae, o as je, F as W, p as Le, q as Be, r as se } from "./useExtendComponent-P9wrWQwT.mjs";
34
+ import { L as Ee } from "./constant-DnbpmwZg.mjs";
35
35
  import "/@/utils/common/compUtils";
36
- import { d as I } from "./dayjs.min-eea532a3.mjs";
37
36
  import Je from "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
38
37
  import { useDebounceFn as qe } from "@vueuse/core";
39
- import { _ as Re } from "./index-94b6319e.mjs";
40
- import "/@/components/Form/src/componentMap";
41
- import "/@/utils/propTypes";
42
- import "@ant-design/icons-vue";
43
- import "/@/components/Modal";
44
- import "lodash-es";
45
- import "/@/components/Form/src/jeecg/components/JUpload";
46
- import "/@/utils/is";
47
- import "/@/views/system/user/user.api";
48
- import "/@/store/modules/user";
49
- import "/@/utils";
50
- import "/@/utils/desform/customExpression";
51
- import "/@/store/modules/permission";
52
- import "/@/utils/dict/JDictSelectUtil";
53
- import "/@/components/Table";
54
- import "/@/hooks/system/useListPage";
55
- import "vue-router";
56
- import "/@/components/Form/src/utils/Area";
57
- import "/@/components/Preview/index";
58
- import "./LinkTableListPiece-47f4286c.mjs";
59
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
60
- import "/@/utils/auth";
61
- import "/@/api/common/api";
62
- import "/@/hooks/web/useAppInject";
63
- import "/@/assets/images/placeholderImage.png";
64
- import "./OnlineSelectCascade-180e8c9a.mjs";
65
- import "/@/components/Loading";
66
- import "./JModalTip-5401f43d.mjs";
67
- import "ant-design-vue";
68
- const Qe = {
38
+ import { _ as Re } from "./index-0kQBIHx0.mjs";
39
+ const Te = {
69
40
  name: "OnlineQueryForm",
70
41
  components: {
71
42
  BasicForm: xe,
@@ -94,8 +65,8 @@ const Qe = {
94
65
  }
95
66
  },
96
67
  emits: ["search", "loaded"],
97
- setup(h, { emit: f }) {
98
- const l = "/online/cgform/api/getQueryInfoVue3/", d = C(null), y = C([]), B = C({ xs: 24, sm: 24, md: 12, lg: 6, xl: 6 }), M = C(!1), F = C(!1), _ = C({}), D = C([]), { createMessage: E } = Ie(), { linkTableCard2Select: T } = Me(), J = C(80), c = Pe({
68
+ setup(h, { emit: m }) {
69
+ const i = "/online/cgform/api/getQueryInfoVue3/", d = C(null), y = C([]), B = C({ xs: 24, sm: 24, md: 12, lg: 6, xl: 6 }), M = C(!1), F = C(!1), _ = C({}), D = C([]), { createMessage: E } = Ie(), { linkTableCard2Select: Q } = Me(), J = C(80), c = ve({
99
70
  config: {},
100
71
  cache: {},
101
72
  param: {},
@@ -103,98 +74,98 @@ const Qe = {
103
74
  }), b = qe(ce, 500);
104
75
  U(
105
76
  () => c.status,
106
- (e) => P(this, null, function* () {
107
- const { config: t, cache: o, param: r } = A(c);
108
- let n = Object.assign({}, t, o, r);
109
- yield b(n);
77
+ (e) => v(null, null, function* () {
78
+ const { config: t, cache: o, param: n } = A(c);
79
+ let r = Object.assign({}, t, o, n);
80
+ yield b(r);
110
81
  }),
111
82
  { immediate: !0, deep: !0 }
112
83
  );
113
84
  function w(e, t) {
114
- return P(this, null, function* () {
115
- c.cache = v({}, e), c.param = v({}, t), c.status = !c.status;
85
+ return v(this, null, function* () {
86
+ c.cache = P({}, e), c.param = P({}, t), c.status = !c.status;
116
87
  });
117
88
  }
118
89
  U(
119
90
  () => h.id,
120
91
  (e) => {
121
- e ? le() : y.value = [];
92
+ e ? ie() : y.value = [];
122
93
  },
123
94
  { immediate: !0 }
124
95
  );
125
96
  function L(e) {
126
- return P(this, null, function* () {
97
+ return v(this, null, function* () {
127
98
  var a, g, k, Y;
128
- let t = [], o = {}, r = Object.keys(e), n = -1;
129
- for (let p of r) {
130
- const i = e[p];
131
- p === "sys_org_code" && (i.fieldExtendJson || (i.fieldExtendJson = '{"store":"orgCode"}'));
132
- let u = i.view;
133
- if (i.originView = i.view, ae[u] && (i.view = ae[u]), yield je(p, i, o), i.mode == "group" && (u == "date" || u == "datetime" || u == "number" || u == "time")) {
134
- let x = W.createSlotFormSchema(p, i);
99
+ let t = [], o = {}, n = Object.keys(e), r = -1;
100
+ for (let p of n) {
101
+ const l = e[p];
102
+ p === "sys_org_code" && (l.fieldExtendJson || (l.fieldExtendJson = '{"store":"orgCode"}'));
103
+ let f = l.view;
104
+ if (l.originView = l.view, ae[f] && (l.view = ae[f]), yield je(p, l, o), l.mode == "group" && (f == "date" || f == "datetime" || f == "number" || f == "time")) {
105
+ let x = W.createSlotFormSchema(p, l);
135
106
  t.push(x);
136
- } else if (i.view === Le) {
137
- let x = Be(i, p);
107
+ } else if (l.view === Le) {
108
+ let x = Be(l, p);
138
109
  for (let O of x) {
139
110
  let Z = W.createFormSchema(O.key, O), $ = se(t, O.key);
140
111
  $ == -1 ? t.push(Z) : t[$] = Z;
141
112
  }
142
113
  } else if (se(t, p) == -1) {
143
- let O = W.createFormSchema(p, i);
114
+ let O = W.createFormSchema(p, l);
144
115
  t.push(O);
145
116
  }
146
- let S = i.fieldExtendJson;
147
- S && (S = JSON.parse(S), S.labelLength && (n > -1 ? n = S.labelLength > n ? S.labelLength : n : n = S.labelLength));
117
+ let S = l.fieldExtendJson;
118
+ S && (S = JSON.parse(S), S.labelLength && (r > -1 ? r = S.labelLength > r ? S.labelLength : r : r = S.labelLength));
148
119
  }
149
- n == -1 ? n = Ee : t.forEach((p) => {
150
- p.labelLength = n;
151
- }), t.sort(function(p, i) {
152
- return p.order - i.order;
120
+ r == -1 ? r = Ee : t.forEach((p) => {
121
+ p.labelLength = r;
122
+ }), t.sort(function(p, l) {
123
+ return p.order - l.order;
153
124
  });
154
125
  let s = [];
155
126
  t.length > 2 && (M.value = !0);
156
- let m = [];
127
+ let u = [];
157
128
  for (let p = 0; p < t.length; p++) {
158
- let i = t[p];
159
- i.setFormRef(d), i.noChange(), i.asSearchForm(), p > 1 && (m.push(i.field), i.isHidden());
160
- let u = i.getFormItemSchema();
161
- if (i.slot == "groupDatetime" && t.length <= 3 && (u.colProps = { xs: 24, sm: 24, md: 12, lg: 8, xl: 8 }), u.component === "JSwitch") {
162
- const O = (a = u.componentProps) != null ? a : {};
163
- u.componentProps = q(v({}, O), { query: !0 });
129
+ let l = t[p];
130
+ l.setFormRef(d), l.noChange(), l.asSearchForm(), p > 1 && (u.push(l.field), l.isHidden());
131
+ let f = l.getFormItemSchema();
132
+ if (l.slot == "groupDatetime" && t.length <= 3 && (f.colProps = { xs: 24, sm: 24, md: 12, lg: 8, xl: 8 }), f.component === "JSwitch") {
133
+ const O = (a = f.componentProps) != null ? a : {};
134
+ f.componentProps = q(P({}, O), { query: !0 });
164
135
  }
165
- if (T(u), u.component === "LinkTableSelect") {
166
- let O = (g = u.componentProps) != null ? g : {};
167
- u.componentProps = q(v({}, O), { editBtnShow: !1 });
136
+ if (Q(f), f.component === "LinkTableSelect") {
137
+ let O = (g = f.componentProps) != null ? g : {};
138
+ f.componentProps = q(P({}, O), { editBtnShow: !1 });
168
139
  }
169
- const S = (k = u.componentProps) != null ? k : {};
170
- S.getPopupContainer || (u.componentProps = q(v({}, S), { getPopupContainer: () => document.body }));
171
- const x = (Y = e[u.field]) != null ? Y : {};
172
- x.mode == "like" && x.view === "text" && x.originView === "text" && (u.component = "JInput"), s.push(u);
140
+ const S = (k = f.componentProps) != null ? k : {};
141
+ S.getPopupContainer || (f.componentProps = q(P({}, S), { getPopupContainer: () => document.body }));
142
+ const x = (Y = e[f.field]) != null ? Y : {};
143
+ x.mode == "like" && x.view === "text" && x.originView === "text" && (f.component = "JInput"), s.push(f);
173
144
  }
174
- D.value = m, y.value = s, c.config = v({}, o), c.status = !c.status, setTimeout(() => {
175
- const p = n * 14 + n + 24;
145
+ D.value = u, y.value = s, c.config = P({}, o), c.status = !c.status, setTimeout(() => {
146
+ const p = r * 14 + r + 24;
176
147
  J.value = p;
177
148
  }, 0);
178
149
  });
179
150
  }
180
- const ie = (e) => {
151
+ const le = (e) => {
181
152
  const t = e.properties;
182
- t && Object.entries(t).forEach(([o, r]) => {
183
- const n = r;
184
- if (["date_year", "date_month", "date_week", "date_quarter"].includes(n.view)) {
185
- const s = n.fieldExtendJson ? JSON.parse(n.fieldExtendJson) : {};
186
- s.picker = n.view.split("_")[1], n.fieldExtendJson = JSON.stringify(s), n.view = "date";
153
+ t && Object.entries(t).forEach(([o, n]) => {
154
+ const r = n;
155
+ if (["date_year", "date_month", "date_week", "date_quarter"].includes(r.view)) {
156
+ const s = r.fieldExtendJson ? JSON.parse(r.fieldExtendJson) : {};
157
+ s.picker = r.view.split("_")[1], r.fieldExtendJson = JSON.stringify(s), r.view = "date";
187
158
  }
188
159
  });
189
160
  };
190
- function le() {
191
- return P(this, null, function* () {
192
- let e = yield fe();
193
- ie(e);
194
- let t = ue(e);
195
- f("loaded", e);
196
- let { formProperties: o, hasField: r } = me(t, e);
197
- if (r == !1) {
161
+ function ie() {
162
+ return v(this, null, function* () {
163
+ let e = yield me();
164
+ le(e);
165
+ let t = fe(e);
166
+ m("loaded", e);
167
+ let { formProperties: o, hasField: n } = ue(t, e);
168
+ if (n == !1) {
198
169
  y.value = [];
199
170
  return;
200
171
  }
@@ -202,41 +173,41 @@ const Qe = {
202
173
  });
203
174
  }
204
175
  function ce(e) {
205
- return P(this, null, function* () {
176
+ return v(this, null, function* () {
206
177
  yield Ne(d);
207
178
  const t = be(e);
208
179
  yield K(t), Object.keys(t).length > 0 && z();
209
180
  });
210
181
  }
211
- function me(e, t) {
212
- const { searchFieldList: o, joinQuery: r, table: n } = t;
213
- let s = !1, m = {};
182
+ function ue(e, t) {
183
+ const { searchFieldList: o, joinQuery: n, table: r } = t;
184
+ let s = !1, u = {};
214
185
  return e && Object.keys(e).map((a) => {
215
- o.indexOf(a) >= 0 && (r == !0 ? a.indexOf("@") < 0 ? (m[n + "@" + a] = e[a], s = !0) : (m[a] = e[a], s = !0) : a.indexOf("@") < 0 && (m[a] = e[a], s = !0));
186
+ o.indexOf(a) >= 0 && (n == !0 ? a.indexOf("@") < 0 ? (u[r + "@" + a] = e[a], s = !0) : (u[a] = e[a], s = !0) : a.indexOf("@") < 0 && (u[a] = e[a], s = !0));
216
187
  }), {
217
- formProperties: m,
188
+ formProperties: u,
218
189
  hasField: s
219
190
  };
220
191
  }
221
- function ue(e) {
222
- const { properties: t, searchFieldList: o, joinQuery: r, table: n } = e;
223
- let s = {}, m = 1;
192
+ function fe(e) {
193
+ const { properties: t, searchFieldList: o, joinQuery: n, table: r } = e;
194
+ let s = {}, u = 1;
224
195
  return Object.keys(t).map((a) => {
225
196
  let g = t[a];
226
197
  if (g.view == "table") {
227
- let k = g.properties, Y = m * 100;
198
+ let k = g.properties, Y = u * 100;
228
199
  Object.keys(k).map((p) => {
229
- let i = k[p];
230
- i.order = Y + Number(i.order);
231
- let u = a + "@" + p;
232
- s[u] = i;
233
- }), m++;
200
+ let l = k[p];
201
+ l.order = Y + Number(l.order);
202
+ let f = a + "@" + p;
203
+ s[f] = l;
204
+ }), u++;
234
205
  } else
235
206
  g.order = Number(g.order), s[a] = g;
236
207
  }), s;
237
208
  }
238
- function fe() {
239
- let e = `${l}${h.id}`;
209
+ function me() {
210
+ let e = `${i}${h.id}`;
240
211
  return new Promise((t) => {
241
212
  Ve.get({ url: e }, { isTransformResponse: !1 }).then((o) => {
242
213
  o.success ? t(o.result) : (t(!1), E.warning(o.message));
@@ -245,7 +216,7 @@ const Qe = {
245
216
  });
246
217
  });
247
218
  }
248
- const [pe, { resetFields: de, setFieldsValue: K, updateSchema: ge, getFieldsValue: he }] = ve({
219
+ const [pe, { resetFields: de, setFieldsValue: K, updateSchema: ge, getFieldsValue: he }] = Pe({
249
220
  name: "online-query-form",
250
221
  schemas: y,
251
222
  showActionButtonGroup: !1,
@@ -262,17 +233,17 @@ const Qe = {
262
233
  let e = he();
263
234
  _e(e), ye(e);
264
235
  let t = Object.assign({}, A(c.param), ke(e));
265
- f("search", t, !0);
236
+ m("search", t, !0);
266
237
  }
267
238
  const be = (e) => {
268
- const t = v({}, e), o = y.value.filter((r) => ["groupTime", "groupDatetime", "groupNumber", "groupDate"].includes(r.slot));
269
- return o.length && Object.keys(t).forEach((r) => {
270
- let n;
271
- if (o.find((m) => m.field === r ? (n = r, !0) : !1)) {
272
- const m = t[n];
273
- if (typeof m == "string") {
274
- const a = m.split(",");
275
- t[n] = [...a];
239
+ const t = P({}, e), o = y.value.filter((n) => ["groupTime", "groupDatetime", "groupNumber", "groupDate"].includes(n.slot));
240
+ return o.length && Object.keys(t).forEach((n) => {
241
+ let r;
242
+ if (o.find((u) => u.field === n ? (r = n, !0) : !1)) {
243
+ const u = t[r];
244
+ if (typeof u == "string") {
245
+ const a = u.split(",");
246
+ t[r] = [...a];
276
247
  }
277
248
  }
278
249
  }), t;
@@ -280,42 +251,42 @@ const Qe = {
280
251
  if (e) {
281
252
  const t = y.value.filter((o) => ["groupTime", "groupDatetime", "groupDate", "groupNumber"].includes(o.slot));
282
253
  t.length && Object.keys(e).forEach((o) => {
283
- let r;
284
- if (t.find((s) => s.field === o ? (r = o, !0) : !1)) {
285
- const s = e[r];
254
+ let n;
255
+ if (t.find((s) => s.field === o ? (n = o, !0) : !1)) {
256
+ const s = e[n];
286
257
  if (typeof s == "string") {
287
- const m = s.split(",");
288
- e[`${r}_begin`] = m[0], e[`${r}_end`] = m[1], delete e[r];
258
+ const u = s.split(",");
259
+ e[`${n}_begin`] = u[0], e[`${n}_end`] = u[1], delete e[n];
289
260
  }
290
261
  }
291
262
  });
292
263
  }
293
264
  }, _e = (e) => {
294
265
  const t = y.value.filter((o) => {
295
- var r;
296
- return ((r = o.componentProps) == null ? void 0 : r.picker) && o.componentProps.picker != "default";
266
+ var n;
267
+ return ((n = o.componentProps) == null ? void 0 : n.picker) && o.componentProps.picker != "default";
297
268
  });
298
269
  t.length && Object.keys(e).forEach((o) => {
299
- let r;
300
- const n = t.find((s) => s.field === o || `${s.field}_begin` === o || `${s.field}_end` === o ? (r = o, !0) : !1);
301
- if (n) {
302
- const s = e[r];
270
+ let n;
271
+ const r = t.find((s) => s.field === o || `${s.field}_begin` === o || `${s.field}_end` === o ? (n = o, !0) : !1);
272
+ if (r) {
273
+ const s = e[n];
303
274
  if (s) {
304
- const m = (a, g, k) => {
305
- const Y = n.componentProps.picker;
275
+ const u = (a, g, k) => {
276
+ const Y = r.componentProps.picker;
306
277
  Y === "year" ? k ? e[g] = I(a).endOf("year").format("YYYY-MM-DD") : e[g] = I(a).startOf("year").format("YYYY-MM-DD") : Y === "month" ? k ? e[g] = I(a).endOf("month").format("YYYY-MM-DD") : e[g] = I(a).startOf("month").format("YYYY-MM-DD") : Y === "week" ? k ? e[g] = I(a).endOf("week").format("YYYY-MM-DD") : e[g] = I(a).startOf("week").format("YYYY-MM-DD") : Y === "quarter" && (k ? e[g] = I(a).endOf("quarter").format("YYYY-MM-DD") : e[g] = I(a).startOf("quarter").format("YYYY-MM-DD"));
307
278
  };
308
- if ((n == null ? void 0 : n.slot) === "groupDate") {
279
+ if ((r == null ? void 0 : r.slot) === "groupDate") {
309
280
  const a = s.split(",");
310
- m(a[0], `${r}_begin`, !1), m(a[1], `${r}_end`, !0), delete e[r];
281
+ u(a[0], `${n}_begin`, !1), u(a[1], `${n}_end`, !0), delete e[n];
311
282
  } else
312
- m(s, r, !1);
283
+ u(s, n, !1);
313
284
  }
314
285
  }
315
286
  });
316
287
  };
317
288
  function X() {
318
- return P(this, null, function* () {
289
+ return v(this, null, function* () {
319
290
  yield de();
320
291
  const { config: e, param: t } = A(c);
321
292
  let o = Object.assign({}, e, t);
@@ -323,9 +294,9 @@ const Qe = {
323
294
  });
324
295
  }
325
296
  function we() {
326
- return P(this, null, function* () {
297
+ return v(this, null, function* () {
327
298
  const e = yield X();
328
- f("search", e, !1);
299
+ m("search", e, !1);
329
300
  });
330
301
  }
331
302
  function ke(e) {
@@ -339,9 +310,9 @@ const Qe = {
339
310
  let t = D.value;
340
311
  if (t && t.length > 0) {
341
312
  let o = [];
342
- for (let r of t)
313
+ for (let n of t)
343
314
  o.push({
344
- field: r,
315
+ field: n,
345
316
  show: e
346
317
  });
347
318
  ge(o);
@@ -382,16 +353,16 @@ const Qe = {
382
353
  }
383
354
  };
384
355
  }
385
- }, Te = {
356
+ }, Qe = {
386
357
  key: 0,
387
358
  class: "jeecg-basic-table-form-container online-query-form p-0"
388
359
  }, Ue = {
389
360
  style: { float: "left", overflow: "hidden", "margin-left": "10px" },
390
361
  class: "table-page-search-submitButtons"
391
362
  };
392
- function Ae(h, f, l, d, y, B) {
393
- const M = N("a-range-picker"), F = N("a-time-range-picker"), _ = N("JRangeNumber"), D = N("a-button"), E = N("a-icon"), T = N("a-col"), J = N("BasicForm");
394
- return d.formSchemas && d.formSchemas.length > 0 ? (R(), oe("div", Te, [
363
+ function Ae(h, m, i, d, y, B) {
364
+ const M = N("a-range-picker"), F = N("a-time-range-picker"), _ = N("JRangeNumber"), D = N("a-button"), E = N("a-icon"), Q = N("a-col"), J = N("BasicForm");
365
+ return d.formSchemas && d.formSchemas.length > 0 ? (T(), oe("div", Qe, [
395
366
  j(J, {
396
367
  ref: "onlineQueryFormRef",
397
368
  onRegister: d.registerForm
@@ -430,45 +401,45 @@ function Ae(h, f, l, d, y, B) {
430
401
  }, w.componentProps), null, 16, ["value", "onUpdate:value"])
431
402
  ]),
432
403
  formFooter: V(() => [
433
- j(T, {
404
+ j(Q, {
434
405
  md: 6,
435
406
  sm: 8
436
407
  }, {
437
408
  default: V(() => [
438
409
  G("span", Ue, [
439
- l.queryBtnCfg.enabled ? (R(), ne(D, {
410
+ i.queryBtnCfg.enabled ? (T(), ne(D, {
440
411
  key: 0,
441
412
  type: "primary",
442
- preIcon: l.queryBtnCfg.buttonIcon,
413
+ preIcon: i.queryBtnCfg.buttonIcon,
443
414
  onClick: d.doSearch
444
415
  }, {
445
416
  default: V(() => [
446
- G("span", null, H(l.queryBtnCfg.buttonName), 1)
417
+ G("span", null, H(i.queryBtnCfg.buttonName), 1)
447
418
  ]),
448
419
  _: 1
449
- }, 8, ["preIcon", "onClick"])) : Q("", !0),
450
- l.resetBtnCfg.enabled ? (R(), ne(D, {
420
+ }, 8, ["preIcon", "onClick"])) : R("", !0),
421
+ i.resetBtnCfg.enabled ? (T(), ne(D, {
451
422
  key: 1,
452
423
  type: "primary",
453
- preIcon: l.resetBtnCfg.buttonIcon,
424
+ preIcon: i.resetBtnCfg.buttonIcon,
454
425
  style: { "margin-left": "8px" },
455
426
  onClick: d.resetSearch
456
427
  }, {
457
428
  default: V(() => [
458
- G("span", null, H(l.resetBtnCfg.buttonName), 1)
429
+ G("span", null, H(i.resetBtnCfg.buttonName), 1)
459
430
  ]),
460
431
  _: 1
461
- }, 8, ["preIcon", "onClick"])) : Q("", !0),
462
- d.toggleButtonShow ? (R(), oe("a", {
432
+ }, 8, ["preIcon", "onClick"])) : R("", !0),
433
+ d.toggleButtonShow ? (T(), oe("a", {
463
434
  key: 2,
464
- onClick: f[0] || (f[0] = (c) => d.toggleSearchStatus = !d.toggleSearchStatus),
435
+ onClick: m[0] || (m[0] = (c) => d.toggleSearchStatus = !d.toggleSearchStatus),
465
436
  style: { "margin-left": "8px" }
466
437
  }, [
467
438
  Ce(H(d.toggleSearchStatus ? "收起" : "展开") + " ", 1),
468
439
  j(E, {
469
440
  type: d.toggleSearchStatus ? "up" : "down"
470
441
  }, null, 8, ["type"])
471
- ])) : Q("", !0)
442
+ ])) : R("", !0)
472
443
  ])
473
444
  ]),
474
445
  _: 1
@@ -476,9 +447,9 @@ function Ae(h, f, l, d, y, B) {
476
447
  ]),
477
448
  _: 1
478
449
  }, 8, ["onRegister"])
479
- ])) : Q("", !0);
450
+ ])) : R("", !0);
480
451
  }
481
- const Mt = /* @__PURE__ */ Re(Qe, [["render", Ae], ["__scopeId", "data-v-22d578b7"]]);
452
+ const rt = /* @__PURE__ */ Re(Te, [["render", Ae], ["__scopeId", "data-v-7fd71623"]]);
482
453
  export {
483
- Mt as default
454
+ rt as default
484
455
  };