@jeecg/online 3.9.0-beta2 → 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 (170) hide show
  1. package/{AccountLoginForm-634a76b1.mjs → AccountLoginForm-BXyvcSds.mjs} +50 -53
  2. package/{AiModal-204a2146.mjs → AiModal-BgVzn074.mjs} +18 -20
  3. package/{AppForgetPassword-f9a6258a.mjs → AppForgetPassword-B-2CvL62.mjs} +59 -63
  4. package/AppLogin-BMBmx2oq.mjs +272 -0
  5. package/AppLoginHeader-BtKXOMRR.mjs +23 -0
  6. package/{AppNameEmail-54026ea8.mjs → AppNameEmail-DCqMNjaK.mjs} +20 -24
  7. package/{AppRegister-043efc45.mjs → AppRegister-C5iH-245.mjs} +33 -37
  8. package/{AppTenant-c7bb8700.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-3cd10ca2.mjs → AuthDataConfig-uQ5WT7rx.mjs} +57 -62
  13. package/AuthDataTree-Cr28_YKx.mjs +134 -0
  14. package/{AuthFieldConfig-bb65f78b.mjs → AuthFieldConfig-DjdaPIXF.mjs} +95 -101
  15. package/{AuthFieldTree-3e38b12b.mjs → AuthFieldTree-DHmnDQ0I.mjs} +94 -99
  16. package/AuthManagerDrawer-DUb6QylS.mjs +108 -0
  17. package/{AuthSetterModal-f176c221.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-a3903b24.mjs → CgformAddressModal-BVoww1fk.mjs} +57 -63
  21. package/CgformCopyList-7e96RMbJ.mjs +176 -0
  22. package/{CgformModal-115710a6.mjs → CgformModal-RH-Tr08S.mjs} +240 -241
  23. package/{CgreportAigcModal-3bef8abe.mjs → CgreportAigcModal-rEfIpPF9.mjs} +35 -38
  24. package/{CgreportModal-0cc48587.mjs → CgreportModal-Bajb_3ku.mjs} +49 -50
  25. package/{CheckDictTable-65157c48.mjs → CheckDictTable-BxJFrctQ.mjs} +44 -52
  26. package/{CodeFileListModal-305c1a62.mjs → CodeFileListModal-C3uqsFvi.mjs} +32 -36
  27. package/{CodeFileViewModal-320d7acf.mjs → CodeFileViewModal-bEtZDbAY.mjs} +78 -81
  28. package/CodeGeneratorModal-ZWEIXRbY.mjs +291 -0
  29. package/{CustomButtonList-98db8fd2.mjs → CustomButtonList-7wjonhtu.mjs} +82 -85
  30. package/{DBAttributeTable-56701599.mjs → DBAttributeTable-DA2XttIQ.mjs} +50 -60
  31. package/{DbToOnlineModal-a82cdeb5.mjs → DbToOnlineModal-CDVqmEJH.mjs} +43 -45
  32. package/DetailForm-CnfJBMys.mjs +472 -0
  33. package/{DropMenuItem-b3a9cd6a.mjs → DropMenuItem-D8YWMle-.mjs} +8 -11
  34. package/EnhanceJavaModal-W8_oGY-U.mjs +255 -0
  35. package/{EnhanceJsHistory-bb6ba865.mjs → EnhanceJsHistory-ZzXedCNI.mjs} +48 -49
  36. package/{EnhanceJsModal-b0527cbf.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-536e6d5b.mjs → FieldExtendJsonModal-Bvmbb6yd.mjs} +27 -30
  42. package/{FileSelectModal-eb026170.mjs → FileSelectModal-DXqL5msQ.mjs} +27 -31
  43. package/{ForeignKeyTable-97a5827f.mjs → ForeignKeyTable-D6AlLbfd.mjs} +17 -25
  44. package/{IndexTable-4d350e4e.mjs → IndexTable-B7ef6Aox.mjs} +9 -17
  45. package/JModalTip-DHrn6ksJ.mjs +46 -0
  46. package/{JOnlineSearchSelect-ffeac61d.mjs → JOnlineSearchSelect-CAv2Dm9V.mjs} +21 -23
  47. package/{LeftDepart-a727aab7.mjs → LeftDepart-BC1jpYJP.mjs} +8 -11
  48. package/{LeftRole-b533dcf6.mjs → LeftRole-sq_2p6Qk.mjs} +16 -19
  49. package/{LeftUser-aaac52cb.mjs → LeftUser-CYh4PBgd.mjs} +7 -10
  50. package/{LinkTableConfigModal-4053b62d.mjs → LinkTableConfigModal-BOWs0A5-.mjs} +38 -40
  51. package/{LinkTableFieldConfigModal-93552099.mjs → LinkTableFieldConfigModal-D7FTBP3E.mjs} +50 -52
  52. package/LinkTableListPiece-Bfu6vfo0.mjs +31 -0
  53. package/{ModalFormDemo-b8478356.mjs → ModalFormDemo-C1qQT6lj.mjs} +13 -16
  54. package/{OnlCgformErpList-b0605798.mjs → OnlCgformErpList-CavWG8GK.mjs} +139 -199
  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-624106c1.mjs → OnlineAutoTreeList-LDE9Sm7X.mjs} +124 -181
  62. package/OnlineCustomModal-Jz4MxkH0.mjs +209 -0
  63. package/OnlineDetailModal-So0YEah1.mjs +160 -0
  64. package/{OnlineForm-86b5966d.mjs → OnlineForm-CvcbzRIZ.mjs} +47 -73
  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-0c2431a4.mjs → OnlineFormUrlSuccess-Cvbte2lW.mjs} +27 -30
  70. package/{OnlineQueryForm-3017a4ca.mjs → OnlineQueryForm-6E1IRi95.mjs} +139 -167
  71. package/{OnlineSearchFormItem-1b54585f.mjs → OnlineSearchFormItem-CdRuXQPu.mjs} +112 -118
  72. package/{OnlineSelectCascade-fab4426d.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-5c04cbc5.mjs → OnlineTabForm-Cg3_IX2H.mjs} +228 -253
  77. package/OnlineTabFormDetail-BgFkUkva.mjs +299 -0
  78. package/{PageAttributeTable-18aabf81.mjs → PageAttributeTable-C803SekP.mjs} +46 -59
  79. package/{PhoneLoginForm-4a9d7869.mjs → PhoneLoginForm-8a0Uehov.mjs} +40 -43
  80. package/ProcessOnlineForm-COeEaGc8.mjs +182 -0
  81. package/{QueryTable-342fd89a.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-9ea579c2.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-24d417dc.mjs → SingleView.vue_vue_type_style_index_0_lang-D3QcMcYT.mjs} +27 -27
  89. package/{SuperQuery-270b0968.mjs → SuperQuery-CgkajEWI.mjs} +342 -370
  90. package/SuperQueryValComponent-UO10kRg5.mjs +4 -0
  91. package/TaskOpinionList-C8rcU6ee.mjs +10 -0
  92. package/{aiModal-e7362c3f.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-b811abb9.mjs → index-B1H394jP.mjs} +35 -38
  96. package/index-CXD6__bJ.mjs +195 -0
  97. package/{index-6d1a78e2.mjs → index-DIjQbz6A.mjs} +37 -41
  98. package/{index-e2c3e6f3.mjs → index-Dbr1qL3H.mjs} +474 -608
  99. package/{index-19eaef11.mjs → index-dmWvLQET.mjs} +2 -2
  100. package/{index-d95bb7c2.mjs → index-pGbTziKP.mjs} +32 -44
  101. package/{index-b5fe9bd4.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-6d5547ff.mjs → useCgformList-_o9GP7ca.mjs} +3 -3
  106. package/useExtendComponent-P9wrWQwT.mjs +4479 -0
  107. package/{useListButton-73071548.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-bf783eab.mjs +0 -287
  112. package/AppLoginHeader-55594326.mjs +0 -27
  113. package/AppThirdForm-5e7e1144.mjs +0 -189
  114. package/AuthButtonConfig-4887be0d.mjs +0 -160
  115. package/AuthButtonTree-7e47b44b.mjs +0 -165
  116. package/AuthDataTree-714c259c.mjs +0 -139
  117. package/AuthManagerDrawer-dee39b07.mjs +0 -119
  118. package/BuiltInButtonList-bb6cf95c.mjs +0 -10
  119. package/CgformCopyList-4be1000f.mjs +0 -259
  120. package/CodeGeneratorModal-2ba18bd1.mjs +0 -298
  121. package/DetailForm-7d4f630e.mjs +0 -497
  122. package/EnhanceJavaModal-469e645e.mjs +0 -264
  123. package/EnhanceSqlModal-c6e8bce1.mjs +0 -268
  124. package/ErrorTip-bb616e32.mjs +0 -7
  125. package/ExtendConfigModal-7b00b49a.mjs +0 -117
  126. package/JModalTip-c3e6726c.mjs +0 -49
  127. package/LinkTableListPiece-0f4ca559.mjs +0 -34
  128. package/OnlCgformErpSubTable-89699bc9.mjs +0 -443
  129. package/OnlCgformInnerSubTable-f2722f77.mjs +0 -269
  130. package/OnlCgformInnerTableList-992aa7e9.mjs +0 -481
  131. package/OnlCgformTabList-882a0e0c.mjs +0 -431
  132. package/OnlineAutoList-caedb54a.mjs +0 -558
  133. package/OnlineAutoModal-a0d1a6b8.mjs +0 -260
  134. package/OnlineCustomModal-f4e17bed.mjs +0 -246
  135. package/OnlineDetailModal-35394778.mjs +0 -198
  136. package/OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs +0 -1
  137. package/OnlineFormDetail-4b3ad130.mjs +0 -349
  138. package/OnlineFormUrlAdd-708c91fb.mjs +0 -116
  139. package/OnlineFormUrlDetail-5c8efaeb.mjs +0 -121
  140. package/OnlineFormUrlEdit-8f08474e.mjs +0 -114
  141. package/OnlineSubFormDetail-bbc48c3e.mjs +0 -147
  142. package/OnlineTabAutoModal-b0f9fce8.mjs +0 -319
  143. package/OnlineTabDetailModal-401a26ad.mjs +0 -226
  144. package/OnlineTabFormDetail-2a28febf.mjs +0 -328
  145. package/ProcessOnlineForm-0ddce4fb.mjs +0 -218
  146. package/SetSwitchOptions-e1d5a6b4.mjs +0 -62
  147. package/ShareAddView-a5154da3.mjs +0 -88
  148. package/ShareEditView-cf761cf3.mjs +0 -94
  149. package/ShareView-3b2f5457.mjs +0 -82
  150. package/SingleView-3cab20a9.mjs +0 -70
  151. package/SuperQueryValComponent-5a9ccfd4.mjs +0 -8
  152. package/TaskOpinionList-60cf4080.mjs +0 -13
  153. package/index-740b2c4a.mjs +0 -57
  154. package/index-8fd12d0f.mjs +0 -219
  155. package/style.css +0 -1
  156. package/useExtendComponent-95ce0719.mjs +0 -4460
  157. /package/{SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs → SuperQueryValComponent.vue_vue_type_script_lang-BM-iwlLi.mjs} +0 -0
  158. /package/{auth.api-53df4c33.mjs → auth.api-2QmzY0ji.mjs} +0 -0
  159. /package/{auth.data-e44c7975.mjs → auth.data-Cp8D9uZ7.mjs} +0 -0
  160. /package/{button.data-fe45d43b.mjs → button.data-CyUX77GQ.mjs} +0 -0
  161. /package/{cgform.data-0ca62d09.mjs → cgform.data-CviSPXEg.mjs} +0 -0
  162. /package/{cgformState-d9f8ec42.mjs → cgformState-CUyRXfhW.mjs} +0 -0
  163. /package/{constant-fa63bd66.mjs → constant-DnbpmwZg.mjs} +0 -0
  164. /package/{enhance.api-138e6826.mjs → enhance.api-BqHb-YGL.mjs} +0 -0
  165. /package/{index-5e89258d.mjs → index-aVGkB_J9.mjs} +0 -0
  166. /package/{shareStore-7de6c7a6.mjs → shareStore-k-kzyga5.mjs} +0 -0
  167. /package/{useCustomHook-3a17a690.mjs → useCustomHook-B35kFqDB.mjs} +0 -0
  168. /package/{useFormUrl-2ee1a82d.mjs → useFormUrl-D8ASmaz6.mjs} +0 -0
  169. /package/{useOnlinePopEvent-687070b7.mjs → useOnlinePopEvent-FOvbs0Ta.mjs} +0 -0
  170. /package/{useOnlineTest-e4bd8be3.mjs → useOnlineTest-_onDRxjY.mjs} +0 -0
@@ -2,69 +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, n as ae, o as je, F as W, p as Le, q as Be, r as se, d as I } from "./useExtendComponent-95ce0719.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
36
  import Je from "/@/components/Form/src/jeecg/components/JRangeNumber.vue";
37
37
  import { useDebounceFn as qe } from "@vueuse/core";
38
- import { _ as Re } from "./index-740b2c4a.mjs";
39
- import "/@/components/Form/src/componentMap";
40
- import "/@/utils/propTypes";
41
- import "@ant-design/icons-vue";
42
- import "/@/components/Modal";
43
- import "lodash-es";
44
- import "/@/components/Form/src/jeecg/components/JUpload";
45
- import "/@/utils/is";
46
- import "/@/views/system/user/user.api";
47
- import "/@/store/modules/user";
48
- import "/@/utils";
49
- import "/@/utils/desform/customExpression";
50
- import "/@/store/modules/permission";
51
- import "/@/utils/dict/JDictSelectUtil";
52
- import "/@/components/Table";
53
- import "/@/hooks/system/useListPage";
54
- import "vue-router";
55
- import "/@/components/Form/src/utils/Area";
56
- import "/@/components/Preview/index";
57
- import "./LinkTableListPiece-0f4ca559.mjs";
58
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
59
- import "/@/utils/auth";
60
- import "/@/api/common/api";
61
- import "/@/hooks/web/useAppInject";
62
- import "/@/assets/images/placeholderImage.png";
63
- import "./OnlineSelectCascade-fab4426d.mjs";
64
- import "/@/components/Loading";
65
- import "./JModalTip-c3e6726c.mjs";
66
- import "ant-design-vue";
67
- const Qe = {
38
+ import { _ as Re } from "./index-0kQBIHx0.mjs";
39
+ const Te = {
68
40
  name: "OnlineQueryForm",
69
41
  components: {
70
42
  BasicForm: xe,
@@ -93,8 +65,8 @@ const Qe = {
93
65
  }
94
66
  },
95
67
  emits: ["search", "loaded"],
96
- setup(h, { emit: f }) {
97
- 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({
98
70
  config: {},
99
71
  cache: {},
100
72
  param: {},
@@ -102,98 +74,98 @@ const Qe = {
102
74
  }), b = qe(ce, 500);
103
75
  U(
104
76
  () => c.status,
105
- (e) => P(this, null, function* () {
106
- const { config: t, cache: o, param: r } = A(c);
107
- let n = Object.assign({}, t, o, r);
108
- 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);
109
81
  }),
110
82
  { immediate: !0, deep: !0 }
111
83
  );
112
84
  function w(e, t) {
113
- return P(this, null, function* () {
114
- 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;
115
87
  });
116
88
  }
117
89
  U(
118
90
  () => h.id,
119
91
  (e) => {
120
- e ? le() : y.value = [];
92
+ e ? ie() : y.value = [];
121
93
  },
122
94
  { immediate: !0 }
123
95
  );
124
96
  function L(e) {
125
- return P(this, null, function* () {
97
+ return v(this, null, function* () {
126
98
  var a, g, k, Y;
127
- let t = [], o = {}, r = Object.keys(e), n = -1;
128
- for (let p of r) {
129
- const i = e[p];
130
- p === "sys_org_code" && (i.fieldExtendJson || (i.fieldExtendJson = '{"store":"orgCode"}'));
131
- let u = i.view;
132
- 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")) {
133
- 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);
134
106
  t.push(x);
135
- } else if (i.view === Le) {
136
- let x = Be(i, p);
107
+ } else if (l.view === Le) {
108
+ let x = Be(l, p);
137
109
  for (let O of x) {
138
110
  let Z = W.createFormSchema(O.key, O), $ = se(t, O.key);
139
111
  $ == -1 ? t.push(Z) : t[$] = Z;
140
112
  }
141
113
  } else if (se(t, p) == -1) {
142
- let O = W.createFormSchema(p, i);
114
+ let O = W.createFormSchema(p, l);
143
115
  t.push(O);
144
116
  }
145
- let S = i.fieldExtendJson;
146
- 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));
147
119
  }
148
- n == -1 ? n = Ee : t.forEach((p) => {
149
- p.labelLength = n;
150
- }), t.sort(function(p, i) {
151
- 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;
152
124
  });
153
125
  let s = [];
154
126
  t.length > 2 && (M.value = !0);
155
- let m = [];
127
+ let u = [];
156
128
  for (let p = 0; p < t.length; p++) {
157
- let i = t[p];
158
- i.setFormRef(d), i.noChange(), i.asSearchForm(), p > 1 && (m.push(i.field), i.isHidden());
159
- let u = i.getFormItemSchema();
160
- if (i.slot == "groupDatetime" && t.length <= 3 && (u.colProps = { xs: 24, sm: 24, md: 12, lg: 8, xl: 8 }), u.component === "JSwitch") {
161
- const O = (a = u.componentProps) != null ? a : {};
162
- 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 });
163
135
  }
164
- if (T(u), u.component === "LinkTableSelect") {
165
- let O = (g = u.componentProps) != null ? g : {};
166
- 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 });
167
139
  }
168
- const S = (k = u.componentProps) != null ? k : {};
169
- S.getPopupContainer || (u.componentProps = q(v({}, S), { getPopupContainer: () => document.body }));
170
- const x = (Y = e[u.field]) != null ? Y : {};
171
- 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);
172
144
  }
173
- D.value = m, y.value = s, c.config = v({}, o), c.status = !c.status, setTimeout(() => {
174
- 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;
175
147
  J.value = p;
176
148
  }, 0);
177
149
  });
178
150
  }
179
- const ie = (e) => {
151
+ const le = (e) => {
180
152
  const t = e.properties;
181
- t && Object.entries(t).forEach(([o, r]) => {
182
- const n = r;
183
- if (["date_year", "date_month", "date_week", "date_quarter"].includes(n.view)) {
184
- const s = n.fieldExtendJson ? JSON.parse(n.fieldExtendJson) : {};
185
- 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";
186
158
  }
187
159
  });
188
160
  };
189
- function le() {
190
- return P(this, null, function* () {
191
- let e = yield fe();
192
- ie(e);
193
- let t = ue(e);
194
- f("loaded", e);
195
- let { formProperties: o, hasField: r } = me(t, e);
196
- 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) {
197
169
  y.value = [];
198
170
  return;
199
171
  }
@@ -201,41 +173,41 @@ const Qe = {
201
173
  });
202
174
  }
203
175
  function ce(e) {
204
- return P(this, null, function* () {
176
+ return v(this, null, function* () {
205
177
  yield Ne(d);
206
178
  const t = be(e);
207
179
  yield K(t), Object.keys(t).length > 0 && z();
208
180
  });
209
181
  }
210
- function me(e, t) {
211
- const { searchFieldList: o, joinQuery: r, table: n } = t;
212
- let s = !1, m = {};
182
+ function ue(e, t) {
183
+ const { searchFieldList: o, joinQuery: n, table: r } = t;
184
+ let s = !1, u = {};
213
185
  return e && Object.keys(e).map((a) => {
214
- 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));
215
187
  }), {
216
- formProperties: m,
188
+ formProperties: u,
217
189
  hasField: s
218
190
  };
219
191
  }
220
- function ue(e) {
221
- const { properties: t, searchFieldList: o, joinQuery: r, table: n } = e;
222
- let s = {}, m = 1;
192
+ function fe(e) {
193
+ const { properties: t, searchFieldList: o, joinQuery: n, table: r } = e;
194
+ let s = {}, u = 1;
223
195
  return Object.keys(t).map((a) => {
224
196
  let g = t[a];
225
197
  if (g.view == "table") {
226
- let k = g.properties, Y = m * 100;
198
+ let k = g.properties, Y = u * 100;
227
199
  Object.keys(k).map((p) => {
228
- let i = k[p];
229
- i.order = Y + Number(i.order);
230
- let u = a + "@" + p;
231
- s[u] = i;
232
- }), m++;
200
+ let l = k[p];
201
+ l.order = Y + Number(l.order);
202
+ let f = a + "@" + p;
203
+ s[f] = l;
204
+ }), u++;
233
205
  } else
234
206
  g.order = Number(g.order), s[a] = g;
235
207
  }), s;
236
208
  }
237
- function fe() {
238
- let e = `${l}${h.id}`;
209
+ function me() {
210
+ let e = `${i}${h.id}`;
239
211
  return new Promise((t) => {
240
212
  Ve.get({ url: e }, { isTransformResponse: !1 }).then((o) => {
241
213
  o.success ? t(o.result) : (t(!1), E.warning(o.message));
@@ -244,7 +216,7 @@ const Qe = {
244
216
  });
245
217
  });
246
218
  }
247
- const [pe, { resetFields: de, setFieldsValue: K, updateSchema: ge, getFieldsValue: he }] = ve({
219
+ const [pe, { resetFields: de, setFieldsValue: K, updateSchema: ge, getFieldsValue: he }] = Pe({
248
220
  name: "online-query-form",
249
221
  schemas: y,
250
222
  showActionButtonGroup: !1,
@@ -261,17 +233,17 @@ const Qe = {
261
233
  let e = he();
262
234
  _e(e), ye(e);
263
235
  let t = Object.assign({}, A(c.param), ke(e));
264
- f("search", t, !0);
236
+ m("search", t, !0);
265
237
  }
266
238
  const be = (e) => {
267
- const t = v({}, e), o = y.value.filter((r) => ["groupTime", "groupDatetime", "groupNumber", "groupDate"].includes(r.slot));
268
- return o.length && Object.keys(t).forEach((r) => {
269
- let n;
270
- if (o.find((m) => m.field === r ? (n = r, !0) : !1)) {
271
- const m = t[n];
272
- if (typeof m == "string") {
273
- const a = m.split(",");
274
- 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];
275
247
  }
276
248
  }
277
249
  }), t;
@@ -279,42 +251,42 @@ const Qe = {
279
251
  if (e) {
280
252
  const t = y.value.filter((o) => ["groupTime", "groupDatetime", "groupDate", "groupNumber"].includes(o.slot));
281
253
  t.length && Object.keys(e).forEach((o) => {
282
- let r;
283
- if (t.find((s) => s.field === o ? (r = o, !0) : !1)) {
284
- const s = e[r];
254
+ let n;
255
+ if (t.find((s) => s.field === o ? (n = o, !0) : !1)) {
256
+ const s = e[n];
285
257
  if (typeof s == "string") {
286
- const m = s.split(",");
287
- 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];
288
260
  }
289
261
  }
290
262
  });
291
263
  }
292
264
  }, _e = (e) => {
293
265
  const t = y.value.filter((o) => {
294
- var r;
295
- 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";
296
268
  });
297
269
  t.length && Object.keys(e).forEach((o) => {
298
- let r;
299
- const n = t.find((s) => s.field === o || `${s.field}_begin` === o || `${s.field}_end` === o ? (r = o, !0) : !1);
300
- if (n) {
301
- 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];
302
274
  if (s) {
303
- const m = (a, g, k) => {
304
- const Y = n.componentProps.picker;
275
+ const u = (a, g, k) => {
276
+ const Y = r.componentProps.picker;
305
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"));
306
278
  };
307
- if ((n == null ? void 0 : n.slot) === "groupDate") {
279
+ if ((r == null ? void 0 : r.slot) === "groupDate") {
308
280
  const a = s.split(",");
309
- 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];
310
282
  } else
311
- m(s, r, !1);
283
+ u(s, n, !1);
312
284
  }
313
285
  }
314
286
  });
315
287
  };
316
288
  function X() {
317
- return P(this, null, function* () {
289
+ return v(this, null, function* () {
318
290
  yield de();
319
291
  const { config: e, param: t } = A(c);
320
292
  let o = Object.assign({}, e, t);
@@ -322,9 +294,9 @@ const Qe = {
322
294
  });
323
295
  }
324
296
  function we() {
325
- return P(this, null, function* () {
297
+ return v(this, null, function* () {
326
298
  const e = yield X();
327
- f("search", e, !1);
299
+ m("search", e, !1);
328
300
  });
329
301
  }
330
302
  function ke(e) {
@@ -338,9 +310,9 @@ const Qe = {
338
310
  let t = D.value;
339
311
  if (t && t.length > 0) {
340
312
  let o = [];
341
- for (let r of t)
313
+ for (let n of t)
342
314
  o.push({
343
- field: r,
315
+ field: n,
344
316
  show: e
345
317
  });
346
318
  ge(o);
@@ -381,16 +353,16 @@ const Qe = {
381
353
  }
382
354
  };
383
355
  }
384
- }, Te = {
356
+ }, Qe = {
385
357
  key: 0,
386
358
  class: "jeecg-basic-table-form-container online-query-form p-0"
387
359
  }, Ue = {
388
360
  style: { float: "left", overflow: "hidden", "margin-left": "10px" },
389
361
  class: "table-page-search-submitButtons"
390
362
  };
391
- function Ae(h, f, l, d, y, B) {
392
- 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");
393
- 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, [
394
366
  j(J, {
395
367
  ref: "onlineQueryFormRef",
396
368
  onRegister: d.registerForm
@@ -429,45 +401,45 @@ function Ae(h, f, l, d, y, B) {
429
401
  }, w.componentProps), null, 16, ["value", "onUpdate:value"])
430
402
  ]),
431
403
  formFooter: V(() => [
432
- j(T, {
404
+ j(Q, {
433
405
  md: 6,
434
406
  sm: 8
435
407
  }, {
436
408
  default: V(() => [
437
409
  G("span", Ue, [
438
- l.queryBtnCfg.enabled ? (R(), ne(D, {
410
+ i.queryBtnCfg.enabled ? (T(), ne(D, {
439
411
  key: 0,
440
412
  type: "primary",
441
- preIcon: l.queryBtnCfg.buttonIcon,
413
+ preIcon: i.queryBtnCfg.buttonIcon,
442
414
  onClick: d.doSearch
443
415
  }, {
444
416
  default: V(() => [
445
- G("span", null, H(l.queryBtnCfg.buttonName), 1)
417
+ G("span", null, H(i.queryBtnCfg.buttonName), 1)
446
418
  ]),
447
419
  _: 1
448
- }, 8, ["preIcon", "onClick"])) : Q("", !0),
449
- l.resetBtnCfg.enabled ? (R(), ne(D, {
420
+ }, 8, ["preIcon", "onClick"])) : R("", !0),
421
+ i.resetBtnCfg.enabled ? (T(), ne(D, {
450
422
  key: 1,
451
423
  type: "primary",
452
- preIcon: l.resetBtnCfg.buttonIcon,
424
+ preIcon: i.resetBtnCfg.buttonIcon,
453
425
  style: { "margin-left": "8px" },
454
426
  onClick: d.resetSearch
455
427
  }, {
456
428
  default: V(() => [
457
- G("span", null, H(l.resetBtnCfg.buttonName), 1)
429
+ G("span", null, H(i.resetBtnCfg.buttonName), 1)
458
430
  ]),
459
431
  _: 1
460
- }, 8, ["preIcon", "onClick"])) : Q("", !0),
461
- d.toggleButtonShow ? (R(), oe("a", {
432
+ }, 8, ["preIcon", "onClick"])) : R("", !0),
433
+ d.toggleButtonShow ? (T(), oe("a", {
462
434
  key: 2,
463
- onClick: f[0] || (f[0] = (c) => d.toggleSearchStatus = !d.toggleSearchStatus),
435
+ onClick: m[0] || (m[0] = (c) => d.toggleSearchStatus = !d.toggleSearchStatus),
464
436
  style: { "margin-left": "8px" }
465
437
  }, [
466
438
  Ce(H(d.toggleSearchStatus ? "收起" : "展开") + " ", 1),
467
439
  j(E, {
468
440
  type: d.toggleSearchStatus ? "up" : "down"
469
441
  }, null, 8, ["type"])
470
- ])) : Q("", !0)
442
+ ])) : R("", !0)
471
443
  ])
472
444
  ]),
473
445
  _: 1
@@ -475,9 +447,9 @@ function Ae(h, f, l, d, y, B) {
475
447
  ]),
476
448
  _: 1
477
449
  }, 8, ["onRegister"])
478
- ])) : Q("", !0);
450
+ ])) : R("", !0);
479
451
  }
480
- const It = /* @__PURE__ */ Re(Qe, [["render", Ae], ["__scopeId", "data-v-22d578b7"]]);
452
+ const rt = /* @__PURE__ */ Re(Te, [["render", Ae], ["__scopeId", "data-v-7fd71623"]]);
481
453
  export {
482
- It as default
454
+ rt as default
483
455
  };