@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
@@ -1,56 +1,29 @@
1
- var Te = Object.defineProperty, Oe = Object.defineProperties;
2
- var xe = Object.getOwnPropertyDescriptors;
3
- var he = Object.getOwnPropertySymbols;
4
- var Be = Object.prototype.hasOwnProperty, Me = Object.prototype.propertyIsEnumerable;
5
- var Ce = (y, o, S) => o in y ? Te(y, o, { enumerable: !0, configurable: !0, writable: !0, value: S }) : y[o] = S, X = (y, o) => {
1
+ var Fe = Object.defineProperty, Me = Object.defineProperties;
2
+ var Pe = Object.getOwnPropertyDescriptors;
3
+ var _e = Object.getOwnPropertySymbols;
4
+ var De = Object.prototype.hasOwnProperty, Ve = Object.prototype.propertyIsEnumerable;
5
+ var Ce = (y, o, S) => o in y ? Fe(y, o, { enumerable: !0, configurable: !0, writable: !0, value: S }) : y[o] = S, X = (y, o) => {
6
6
  for (var S in o || (o = {}))
7
- Be.call(o, S) && Ce(y, S, o[S]);
8
- if (he)
9
- for (var S of he(o))
10
- Me.call(o, S) && Ce(y, S, o[S]);
7
+ De.call(o, S) && Ce(y, S, o[S]);
8
+ if (_e)
9
+ for (var S of _e(o))
10
+ Ve.call(o, S) && Ce(y, S, o[S]);
11
11
  return y;
12
- }, Z = (y, o) => Oe(y, xe(o));
13
- import { ref as M, reactive as Se, watch as se, toRaw as we, computed as Pe, resolveComponent as v, openBlock as O, createElementBlock as ve, Fragment as ye, createElementVNode as D, createBlock as N, withCtx as c, createVNode as d, toDisplayString as de, Teleport as Ve, createTextVNode as H, createCommentVNode as Ie, normalizeClass as _e, withDirectives as Fe, vShow as be, normalizeStyle as Ne, renderList as ke } from "vue";
14
- import { useModalInner as Re, BasicModal as Ae, useModal as Qe } from "/@/components/Modal";
12
+ }, Z = (y, o) => Me(y, Pe(o));
13
+ import { ref as V, reactive as Se, watch as ue, toRaw as we, computed as Ie, resolveComponent as v, createElementBlock as ve, openBlock as M, Fragment as ye, createElementVNode as O, createBlock as E, createVNode as c, withCtx as d, toDisplayString as de, Teleport as Ne, createCommentVNode as Re, normalizeClass as ge, withDirectives as be, createTextVNode as H, vShow as ke, normalizeStyle as Ee, renderList as Te } from "vue";
14
+ import { useModalInner as Qe, BasicModal as je, useModal as qe } from "/@/components/Modal";
15
15
  import { randomString as fe } from "/@/utils/common/compUtils";
16
- import { useMessage as De } from "/@/hooks/web/useMessage";
17
- import { Modal as je, Divider as qe, Popconfirm as Le, Empty as Ye } from "ant-design-vue";
16
+ import { useMessage as Oe } from "/@/hooks/web/useMessage";
17
+ import { Modal as Ae, Popconfirm as Be, Divider as Le, Empty as Ye } from "ant-design-vue";
18
18
  import { createLocalStorage as Je } from "/@/utils/cache";
19
19
  import { useRoute as He } from "vue-router";
20
- import { c as Ue, F as Ke, d as ge } from "./useExtendComponent-95ce0719.mjs";
20
+ import { c as Ue, F as Ke, d as he } from "./useExtendComponent-P9wrWQwT.mjs";
21
21
  import { cloneDeep as pe } from "lodash-es";
22
- import { _ as ze } from "./SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs";
23
- import { MinusCircleOutlined as We, PlusOutlined as Ge, FileTextOutlined as Xe, CloseCircleOutlined as Ze, AppstoreTwoTone as $e } from "@ant-design/icons-vue";
22
+ import { _ as ze } from "./SuperQueryValComponent.vue_vue_type_script_lang-BM-iwlLi.mjs";
23
+ import { AppstoreTwoTone as We, CloseCircleOutlined as Ge, FileTextOutlined as Xe, PlusOutlined as Ze, MinusCircleOutlined as $e } from "@ant-design/icons-vue";
24
24
  import { useConditionFilter as et } from "/@/utils/index";
25
25
  import { useDesign as tt } from "/@/hooks/web/useDesign";
26
- import { _ as lt } from "./index-740b2c4a.mjs";
27
- import "/@/components/Form/src/componentMap";
28
- import "/@/utils/propTypes";
29
- import "/@/components/Form/index";
30
- import "/@/utils/http/axios";
31
- import "./constant-fa63bd66.mjs";
32
- import "/@/components/Form/src/jeecg/components/JUpload";
33
- import "/@/utils/is";
34
- import "/@/views/system/user/user.api";
35
- import "/@/store/modules/user";
36
- import "/@/utils";
37
- import "/@/utils/desform/customExpression";
38
- import "/@/store/modules/permission";
39
- import "/@/utils/dict/JDictSelectUtil";
40
- import "/@/components/Table";
41
- import "/@/hooks/system/useListPage";
42
- import "/@/components/Form/src/utils/Area";
43
- import "/@/components/Preview/index";
44
- import "./LinkTableListPiece-0f4ca559.mjs";
45
- import "/@/utils/auth";
46
- import "/@/api/common/api";
47
- import "/@/hooks/web/useAppInject";
48
- import "/@/assets/images/placeholderImage.png";
49
- import "./OnlineSelectCascade-fab4426d.mjs";
50
- import "/@/components/Loading";
51
- import "./JModalTip-c3e6726c.mjs";
52
- import "@vueuse/core";
53
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
26
+ import { _ as lt } from "./index-0kQBIHx0.mjs";
54
27
  const nt = {
55
28
  password: "text",
56
29
  file: "text",
@@ -62,40 +35,40 @@ const nt = {
62
35
  radio: "list"
63
36
  }, ot = "JSuperQuerySaved_";
64
37
  function at(y) {
65
- const { linkTableCard2Select: o } = Ue(), { createMessage: S } = De(), l = M(), k = Se({
38
+ const { linkTableCard2Select: o } = Ue(), { createMessage: S } = Oe(), l = V(), T = Se({
66
39
  values: []
67
- }), R = M("and"), I = M(!1), [$, { setModalProps: T }] = Re(() => {
68
- T({ confirmLoading: !1 });
69
- }), A = Object.assign({}, { link_down: "text" }, nt);
70
- function j() {
40
+ }), Q = V("and"), R = V(!1), [$, { setModalProps: F }] = Qe(() => {
41
+ F({ confirmLoading: !1 });
42
+ }), j = Object.assign({}, { link_down: "text" }, nt);
43
+ function A() {
71
44
  }
72
45
  function ee() {
73
46
  }
74
47
  function U(t, n, i) {
75
48
  i.val = n;
76
49
  }
77
- const x = M({}), Y = M([]), P = (t) => {
50
+ const P = V({}), Y = V([]), I = (t) => {
78
51
  const { properties: n = {} } = t;
79
52
  Object.entries(n).forEach(([i, a]) => {
80
- a.view === "table" && P(a), ["link_down"].includes(a.originView || a.view) && delete n[i];
53
+ a.view === "table" && I(a), ["link_down"].includes(a.originView || a.view) && delete n[i];
81
54
  });
82
55
  };
83
- function q(t) {
56
+ function B(t) {
84
57
  var r;
85
- P(t);
58
+ I(t);
86
59
  let { allFields: n, treeData: i } = re(t);
87
- x.value = n;
60
+ P.value = n;
88
61
  const a = (r = t.properties) != null ? r : {}, m = [], p = t.table;
89
- if (Object.entries(a).forEach(([h, e]) => {
90
- e.view === "table" && m.push(h);
62
+ if (Object.entries(a).forEach(([_, e]) => {
63
+ e.view === "table" && m.push(_);
91
64
  }), m.length) {
92
- let h = [];
93
- h = i.filter((e) => !m.includes(e.value));
94
- for (let e = 0, u = i.length; e < u; e++) {
65
+ let _ = [];
66
+ _ = i.filter((e) => !m.includes(e.value));
67
+ for (let e = 0, s = i.length; e < s; e++) {
95
68
  const f = i[e];
96
- m.includes(f.value) || (i.splice(e, 1), e--, u--);
69
+ m.includes(f.value) || (i.splice(e, 1), e--, s--);
97
70
  }
98
- i.unshift({ title: "主表", value: p, disabled: !0, order: 200, children: h, view: "table" });
71
+ i.unshift({ title: "主表", value: p, disabled: !0, order: 200, children: _, view: "table" });
99
72
  }
100
73
  Y.value = i;
101
74
  }
@@ -106,16 +79,16 @@ function at(y) {
106
79
  val: "",
107
80
  key: fe(16)
108
81
  };
109
- t === !1 ? (k.values = [], k.values.push(n)) : t === !0 ? k.values.length == 0 && k.values.push(n) : k.values.splice(++t, 0, n);
82
+ t === !1 ? (T.values = [], T.values.push(n)) : t === !0 ? T.values.length == 0 && T.values.push(n) : T.values.splice(++t, 0, n);
110
83
  }
111
84
  function te(t) {
112
- let n = we(k.values), i = -1;
85
+ let n = we(T.values), i = -1;
113
86
  for (let a = 0; a < n.length; a++)
114
87
  if (t.key == n[a].key) {
115
88
  i = a;
116
89
  break;
117
90
  }
118
- i != -1 && k.values.splice(i, 1);
91
+ i != -1 && T.values.splice(i, 1);
119
92
  }
120
93
  const le = {
121
94
  field: "val",
@@ -123,11 +96,11 @@ function at(y) {
123
96
  component: "Input"
124
97
  };
125
98
  function ne(t, n) {
126
- var h, e, u;
127
- let a = x.value[t.field];
99
+ var _, e, s;
100
+ let a = P.value[t.field];
128
101
  if (!a)
129
102
  return le;
130
- A[a.view] && (a.view = A[a.view]);
103
+ j[a.view] && (a.view = j[a.view]);
131
104
  let m = Ke.createFormSchema(t.field, a);
132
105
  m.noChange(), m.asSearchForm(), m.updateField(t.field + n);
133
106
  const p = (f) => {
@@ -136,7 +109,7 @@ function at(y) {
136
109
  m.setFunctionForFieldValue(p);
137
110
  let r = m.getFormItemSchema();
138
111
  if (["empty", "not_empty"].includes(t.rule) && (r.componentProps = Z(X({}, r.componentProps), { disabled: !0 })), o(r), r.component === "LinkTableSelect") {
139
- let f = (h = r.componentProps) != null ? h : {};
112
+ let f = (_ = r.componentProps) != null ? _ : {};
140
113
  r.componentProps = Z(X({}, f), { editBtnShow: !1 });
141
114
  }
142
115
  if (r && r.component === "InputNumber" && (t.curLineAlign = "start"), (r == null ? void 0 : r.component) === "JTreeSelect") {
@@ -148,24 +121,24 @@ function at(y) {
148
121
  r.componentProps = Z(X({}, f), { query: !0 });
149
122
  }
150
123
  if ((r == null ? void 0 : r.component) === "JSelectUser") {
151
- const f = (u = r.componentProps) != null ? u : {};
124
+ const f = (s = r.componentProps) != null ? s : {};
152
125
  r.componentProps = Z(X({}, f), { showButton: !1 });
153
126
  }
154
127
  return r;
155
128
  }
156
- const J = M(""), Q = Je(), E = Se({
129
+ const J = V(""), q = Je(), x = Se({
157
130
  visible: !1,
158
131
  title: "",
159
132
  content: "",
160
133
  saveCode: ""
161
- }), oe = M(!1), z = He();
162
- y.isCustomSave ? se(y.saveSearchData, () => {
163
- F.value = y.saveSearchData;
164
- }) : se(() => z.fullPath, (t) => {
134
+ }), oe = V(!1), z = He();
135
+ y.isCustomSave ? ue(y.saveSearchData, () => {
136
+ b.value = y.saveSearchData;
137
+ }) : ue(() => z.fullPath, (t) => {
165
138
  W();
166
139
  });
167
- const F = M([]);
168
- se(() => F.value, (t) => {
140
+ const b = V([]);
141
+ ue(() => b.value, (t) => {
169
142
  let n = [];
170
143
  t && t.length > 0 && t.map((i) => {
171
144
  let a = fe(16);
@@ -178,12 +151,12 @@ function at(y) {
178
151
  }, { immediate: !0, deep: !0 });
179
152
  function W() {
180
153
  if (y.isCustomSave)
181
- F.value = pe(y.saveSearchData);
154
+ b.value = pe(y.saveSearchData);
182
155
  else {
183
156
  let t = ot + z.fullPath;
184
- E.saveCode = t;
185
- let n = Q.get(t);
186
- n && n instanceof Array && (F.value = n);
157
+ x.saveCode = t;
158
+ let n = q.get(t);
159
+ n && n instanceof Array && (b.value = n);
187
160
  }
188
161
  }
189
162
  W();
@@ -197,31 +170,31 @@ function at(y) {
197
170
  ae(n);
198
171
  }
199
172
  function ae(t) {
200
- E.visible = !0, E.title = "", E.content = t;
173
+ x.visible = !0, x.title = "", x.content = t;
201
174
  }
202
175
  function ie() {
203
- let { title: t, content: n, saveCode: i } = E, a = V(t);
176
+ let { title: t, content: n, saveCode: i } = x, a = N(t);
204
177
  const m = (p) => {
205
- const r = pe(F.value);
206
- I.value = !0, p ? r.splice(a, 1, {
178
+ const r = pe(b.value);
179
+ R.value = !0, p ? r.splice(a, 1, {
207
180
  content: n,
208
181
  title: t,
209
- type: R.value
182
+ type: Q.value
210
183
  }) : r.push({
211
184
  content: n,
212
185
  title: t,
213
- type: R.value
186
+ type: Q.value
214
187
  });
215
- const h = () => {
216
- E.visible = !1, S.success("保存成功"), F.value = r, I.value = !1;
188
+ const _ = () => {
189
+ x.visible = !1, S.success("保存成功"), b.value = r, R.value = !1;
217
190
  };
218
191
  y.isCustomSave ? y.save(r, 0).then(() => {
219
- h();
192
+ _();
220
193
  }).catch((e) => {
221
- I.value = !1;
222
- }) : (Q.set(i, r, 2592e3), h());
194
+ R.value = !1;
195
+ }) : (q.set(i, r, 2592e3), _());
223
196
  };
224
- a >= 0 ? je.confirm({
197
+ a >= 0 ? Ae.confirm({
225
198
  title: "提示",
226
199
  content: `${t} 已存在,是否覆盖?`,
227
200
  okText: "确认",
@@ -231,8 +204,8 @@ function at(y) {
231
204
  }
232
205
  }) : m(0);
233
206
  }
234
- function V(t) {
235
- let n = F.value, i = -1;
207
+ function N(t) {
208
+ let n = b.value, i = -1;
236
209
  for (let a = 0; a < n.length; a++)
237
210
  if (n[a].title == t) {
238
211
  i = a;
@@ -242,74 +215,74 @@ function at(y) {
242
215
  }
243
216
  function L(t = !1) {
244
217
  var m;
245
- let n = k.values;
218
+ let n = T.values;
246
219
  if (!n || n.length == 0)
247
220
  return !1;
248
- let i = [], a = x.value;
221
+ let i = [], a = P.value;
249
222
  for (let p of n) {
250
223
  let r = ["empty", "not_empty"].includes(p.rule);
251
224
  if (p.field && (r || p.val || p.val === 0) && p.rule) {
252
- let h = a[p.field], e = (m = h == null ? void 0 : h.formatValue) != null ? m : (_) => _, u = we(p.val);
253
- u instanceof Array ? u = u.map((_) => e(_)).join(",") : u = e(u);
225
+ let _ = a[p.field], e = (m = _ == null ? void 0 : _.formatValue) != null ? m : ((g) => g), s = we(p.val);
226
+ s instanceof Array ? s = s.map((g) => e(g)).join(",") : s = e(s);
254
227
  let w = {
255
- field: s(p),
228
+ field: u(p),
256
229
  rule: p.rule,
257
- val: u,
230
+ val: s,
258
231
  fileType: p.fileType
259
232
  };
260
233
  if (t === !0) {
261
- let _ = a[p.field];
262
- _ && (w.type = _.view, w.dbType = _.type);
234
+ let g = a[p.field];
235
+ g && (w.type = g.view, w.dbType = g.type);
263
236
  }
264
237
  i.push(w);
265
238
  }
266
239
  }
267
240
  return i.length == 0 ? !1 : i;
268
241
  }
269
- function s(t) {
242
+ function u(t) {
270
243
  let n = t.field;
271
244
  return n.indexOf("@") > 0 && (n = n.replace("@", ",")), n;
272
245
  }
273
- function B(t, { node: n }) {
274
- let i = n.dataRef.title, a = F.value.filter((m) => m.title == i);
246
+ function D(t, { node: n }) {
247
+ let i = n.dataRef.title, a = b.value.filter((m) => m.title == i);
275
248
  if (a && a.length > 0) {
276
- let { content: m, type: p } = a[0], r = JSON.parse(m), h = [];
249
+ let { content: m, type: p } = a[0], r = JSON.parse(m), _ = [];
277
250
  for (let e of r)
278
- e.field = e.field.replace(",", "@"), h.push(Object.assign({}, { key: fe(16) }, e));
279
- k.values = h, R.value = p;
251
+ e.field = e.field.replace(",", "@"), _.push(Object.assign({}, { key: fe(16) }, e));
252
+ T.values = _, Q.value = p;
280
253
  }
281
254
  }
282
- function b(t) {
283
- let n = V(t);
255
+ function k(t) {
256
+ let n = N(t);
284
257
  if (n >= 0)
285
258
  if (y.isCustomSave) {
286
- const i = pe(F.value);
259
+ const i = pe(b.value);
287
260
  i.splice(n, 1), y.save(i, 1).then(() => {
288
- F.value = i;
261
+ b.value = i;
289
262
  }).catch((a) => {
290
263
  });
291
264
  } else
292
- F.value.splice(n, 1), Q.set(E.saveCode, F.value);
265
+ b.value.splice(n, 1), q.set(x.saveCode, b.value);
293
266
  }
294
267
  function re(t) {
295
268
  let n = {}, i = 1, a = [];
296
269
  return t.properties && (t = t.properties), Object.keys(t).map((m) => {
297
270
  let p = t[m];
298
271
  if (p.view == "table") {
299
- let r = p.properties || p.fields, h = i * 100, e = {
272
+ let r = p.properties || p.fields, _ = i * 100, e = {
300
273
  title: p.title,
301
274
  value: m,
302
275
  disabled: !0,
303
276
  children: [],
304
- order: h,
277
+ order: _,
305
278
  // update-begin--author:liaozhiyang---date:20240306---for:【TV360X-461】字段类型是string,则默认模糊查询
306
279
  fieldType: p.type
307
280
  // update-end--author:liaozhiyang---date:20240306---for:【TV360X-461】字段类型是string,则默认模糊查询
308
281
  };
309
- Object.keys(r).map((u) => {
310
- let f = r[u];
311
- f.order = h + f.order;
312
- let w = m + "@" + u;
282
+ Object.keys(r).map((s) => {
283
+ let f = r[s];
284
+ f.order = _ + f.order;
285
+ let w = m + "@" + s;
313
286
  n[w] = f, e.children.push({
314
287
  title: f.title,
315
288
  value: w,
@@ -321,7 +294,7 @@ function at(y) {
321
294
  originView: f.view
322
295
  // update-end--author:liaozhiyang---date:20240306---for:【TV360X-461】字段类型是string,则默认模糊查询
323
296
  });
324
- }), ue(e), a.push(e), i++;
297
+ }), se(e), a.push(e), i++;
325
298
  } else {
326
299
  let r = m;
327
300
  n[r] = p, a.push({
@@ -336,9 +309,9 @@ function at(y) {
336
309
  // update-end--author:liaozhiyang---date:20240306---for:【TV360X-461】字段类型是string,则默认模糊查询
337
310
  });
338
311
  }
339
- }), ue(a), { allFields: n, treeData: a };
312
+ }), se(a), { allFields: n, treeData: a };
340
313
  }
341
- function ue(t) {
314
+ function se(t) {
342
315
  (t.children || t).sort(function(i, a) {
343
316
  return i.order - a.order;
344
317
  });
@@ -349,23 +322,23 @@ function at(y) {
349
322
  let a = [];
350
323
  for (let m of n)
351
324
  a.push(Object.assign({}, { key: fe(16) }, m));
352
- k.values = a, i.value = i;
325
+ T.values = a, i.value = i;
353
326
  }
354
327
  }
355
328
  return {
356
329
  formRef: l,
357
- init: q,
358
- dynamicRowValues: k,
359
- matchType: R,
330
+ init: B,
331
+ dynamicRowValues: T,
332
+ matchType: Q,
360
333
  registerModal: $,
361
- handleSubmit: j,
334
+ handleSubmit: A,
362
335
  handleCancel: ee,
363
336
  handleSave: G,
364
337
  doSaveQueryInfo: ie,
365
- saveInfo: E,
338
+ saveInfo: x,
366
339
  saveTreeData: J,
367
- handleRemoveSaveInfo: b,
368
- handleTreeSelect: B,
340
+ handleRemoveSaveInfo: k,
341
+ handleTreeSelect: D,
369
342
  fieldTreeData: Y,
370
343
  addOne: K,
371
344
  removeOne: te,
@@ -374,8 +347,8 @@ function at(y) {
374
347
  loading: oe,
375
348
  getQueryInfo: L,
376
349
  initDefaultValues: me,
377
- saveModalLoading: I,
378
- fieldProperties: x
350
+ saveModalLoading: R,
351
+ fieldProperties: P
379
352
  };
380
353
  }
381
354
  const it = {
@@ -415,125 +388,125 @@ const it = {
415
388
  }
416
389
  },
417
390
  components: {
418
- BasicModal: Ae,
419
- MinusCircleOutlined: We,
420
- PlusOutlined: Ge,
391
+ BasicModal: je,
392
+ MinusCircleOutlined: $e,
393
+ PlusOutlined: Ze,
421
394
  OnlineSuperQueryValComponent: ze,
422
395
  FileTextOutlined: Xe,
423
- CloseCircleOutlined: Ze,
424
- AppstoreTwoTone: $e,
425
- Divider: qe,
426
- Popconfirm: Le
396
+ CloseCircleOutlined: Ge,
397
+ AppstoreTwoTone: We,
398
+ Divider: Le,
399
+ Popconfirm: Be
427
400
  },
428
401
  emits: ["search"],
429
402
  setup(y, { emit: o }) {
430
- const [S, l] = Qe(), { createMessage: k } = De(), R = M({}), I = M(180), { prefixCls: $ } = tt("super-query"), T = `${$}-tree-popup`, A = M(!0);
431
- let j = null;
403
+ const [S, l] = qe(), { createMessage: T } = Oe(), Q = V({}), R = V(180), { prefixCls: $ } = tt("super-query"), F = `${$}-tree-popup`, j = V(!0);
404
+ let A = null;
432
405
  const { filterCondition: ee } = et(), U = (e) => {
433
406
  var f, w;
434
- const u = (_, C) => {
407
+ const s = (g, C) => {
435
408
  var ce;
436
- const g = (ce = _.find((Ee) => Ee.value === C)) != null ? ce : {};
437
- return ee({ view: g.originView || g.view, fieldType: g.fieldType });
409
+ const h = (ce = g.find((xe) => xe.value === C)) != null ? ce : {};
410
+ return ee({ view: h.originView || h.view, fieldType: h.fieldType });
438
411
  };
439
412
  if (((f = e.field) == null ? void 0 : f.indexOf("@")) == -1 || !e.field)
440
- return u(V.value, e.field);
413
+ return s(N.value, e.field);
441
414
  {
442
- const _ = e.field.split("@")[0], C = V.value.find((g) => g.value === _);
415
+ const g = e.field.split("@")[0], C = N.value.find((h) => h.value === g);
443
416
  if ((w = C == null ? void 0 : C.children) != null && w.length)
444
- return u(C.children, e.field);
417
+ return s(C.children, e.field);
445
418
  }
446
419
  };
447
- function x() {
420
+ function P() {
448
421
  l.closeModal();
449
422
  }
450
423
  function Y() {
451
424
  if (y.online === !0) {
452
- let e = ue(!0);
453
- e && e.length > 0 ? (P(e), o("search", e, E.value), x(), j = e) : k.warning("空条件无法查询!");
425
+ let e = se(!0);
426
+ e && e.length > 0 ? (I(e), o("search", e, x.value), P(), A = e) : T.warning("空条件无法查询!");
454
427
  } else {
455
- let e = ue(!0);
428
+ let e = se(!0);
456
429
  if (e && e.length > 0) {
457
- P(e);
458
- let u = q(e);
459
- o("search", u), x();
430
+ I(e);
431
+ let s = B(e);
432
+ o("search", s), P();
460
433
  } else
461
- k.warning("空条件无法查询!");
434
+ T.warning("空条件无法查询!");
462
435
  }
463
- A.value = !0;
436
+ j.value = !0;
464
437
  }
465
- const P = (e) => {
466
- e.forEach((u) => {
467
- const f = u.val;
468
- if (u.type === "date" && typeof f == "string" && f != "") {
469
- const w = n.value[u.field];
438
+ const I = (e) => {
439
+ e.forEach((s) => {
440
+ const f = s.val;
441
+ if (s.type === "date" && typeof f == "string" && f != "") {
442
+ const w = n.value[s.field];
470
443
  if (w) {
471
- let _ = w.fieldExtendJson;
472
- if (_ && (_ = JSON.parse(_), _.picker && _.picker !== "default")) {
473
- const C = _.picker;
474
- C === "year" ? u.val = ge(f).set("month", 0).set("date", 1).format("YYYY-MM-DD") : C === "month" ? u.val = ge(f).set("date", 1).format("YYYY-MM-DD") : C === "week" && (u.val = ge(f).startOf("week").format("YYYY-MM-DD"));
444
+ let g = w.fieldExtendJson;
445
+ if (g && (g = JSON.parse(g), g.picker && g.picker !== "default")) {
446
+ const C = g.picker;
447
+ C === "year" ? s.val = he(f).set("month", 0).set("date", 1).format("YYYY-MM-DD") : C === "month" ? s.val = he(f).set("date", 1).format("YYYY-MM-DD") : C === "week" && (s.val = he(f).startOf("week").format("YYYY-MM-DD"));
475
448
  }
476
449
  }
477
450
  }
478
451
  });
479
452
  };
480
- function q(e) {
481
- let u = [];
453
+ function B(e) {
454
+ let s = [];
482
455
  for (let w of e) {
483
- let _ = w.field, C = w.val;
484
- C instanceof Array && (C = C.join(",")), u.push(Z(X({}, w), {
485
- field: _,
456
+ let g = w.field, C = w.val;
457
+ C instanceof Array && (C = C.join(",")), s.push(Z(X({}, w), {
458
+ field: g,
486
459
  val: C
487
460
  }));
488
461
  }
489
- return u.length > 0 ? i.value = !0 : i.value = !1, {
490
- superQueryMatchType: E.value,
491
- superQueryParams: encodeURI(JSON.stringify(u))
462
+ return s.length > 0 ? i.value = !0 : i.value = !1, {
463
+ superQueryMatchType: x.value,
464
+ superQueryParams: encodeURI(JSON.stringify(s))
492
465
  };
493
466
  }
494
467
  function K() {
495
- let e = q([]);
468
+ let e = B([]);
496
469
  o("search", e);
497
470
  }
498
471
  function te() {
499
- Q.values = [], L(!1);
500
- let e = q([]);
501
- j = null, A.value = !0, o("search", e);
472
+ q.values = [], L(!1);
473
+ let e = B([]);
474
+ A = null, j.value = !0, o("search", e);
502
475
  }
503
476
  const le = (e) => {
504
477
  if (e) {
505
- const u = document.documentElement.clientHeight - 165;
506
- R.value = { maxHeight: `${u}px` }, I.value = u * 0.62;
478
+ const s = document.documentElement.clientHeight - 165;
479
+ Q.value = { maxHeight: `${s}px` }, R.value = s * 0.62;
507
480
  } else
508
- R.value = {}, I.value = 180;
481
+ Q.value = {}, R.value = 180;
509
482
  }, {
510
483
  formRef: ne,
511
484
  init: J,
512
- dynamicRowValues: Q,
513
- matchType: E,
485
+ dynamicRowValues: q,
486
+ matchType: x,
514
487
  registerModal: oe,
515
488
  handleSave: z,
516
- doSaveQueryInfo: F,
489
+ doSaveQueryInfo: b,
517
490
  saveInfo: W,
518
491
  saveTreeData: G,
519
492
  handleTreeSelect: ae,
520
493
  handleRemoveSaveInfo: ie,
521
- fieldTreeData: V,
494
+ fieldTreeData: N,
522
495
  addOne: L,
523
- removeOne: s,
524
- setFormModel: B,
525
- getSchema: b,
496
+ removeOne: u,
497
+ setFormModel: D,
498
+ getSchema: k,
526
499
  loading: re,
527
- getQueryInfo: ue,
500
+ getQueryInfo: se,
528
501
  initDefaultValues: me,
529
502
  saveModalLoading: t,
530
503
  fieldProperties: n
531
- } = at(y), i = M(!1);
532
- se(() => y.status, (e) => {
504
+ } = at(y), i = V(!1);
505
+ ue(() => y.status, (e) => {
533
506
  i.value = e;
534
507
  }, { immediate: !0 });
535
508
  function a() {
536
- i.value && j && (Q.values = pe(j)), l.openModal(), A.value = !0, L(!0);
509
+ i.value && A && (q.values = pe(A)), l.openModal(), j.value = !0, L(!0);
537
510
  }
538
511
  function m() {
539
512
  return document.getElementsByClassName("jee-super-query-form")[0];
@@ -543,44 +516,44 @@ const it = {
543
516
  function r(e) {
544
517
  var f, w;
545
518
  e.val = "";
546
- const u = (_, C) => {
547
- const g = _.find((ce) => ce.value === C);
548
- (g == null ? void 0 : g.fieldType) === "string" && ["text"].includes((g == null ? void 0 : g.originView) || (g == null ? void 0 : g.view)) ? e.rule = "like" : ["file", "image", "password"].includes((g == null ? void 0 : g.originView) || (g == null ? void 0 : g.view)) ? e.rule = "empty" : e.rule = "eq";
519
+ const s = (g, C) => {
520
+ const h = g.find((ce) => ce.value === C);
521
+ (h == null ? void 0 : h.fieldType) === "string" && ["text"].includes((h == null ? void 0 : h.originView) || (h == null ? void 0 : h.view)) ? e.rule = "like" : ["file", "image", "password"].includes((h == null ? void 0 : h.originView) || (h == null ? void 0 : h.view)) ? e.rule = "empty" : e.rule = "eq";
549
522
  };
550
523
  if (((f = e.field) == null ? void 0 : f.indexOf("@")) == -1)
551
- u(V.value, e.field);
524
+ s(N.value, e.field);
552
525
  else {
553
- const _ = e.field.split("@")[0], C = V.value.find((g) => g.value === _);
554
- (w = C == null ? void 0 : C.children) != null && w.length && u(C.children, e.field);
526
+ const g = e.field.split("@")[0], C = N.value.find((h) => h.value === g);
527
+ (w = C == null ? void 0 : C.children) != null && w.length && s(C.children, e.field);
555
528
  }
556
529
  }
557
- se(() => y.config, (e) => {
530
+ ue(() => y.config, (e) => {
558
531
  e && J(e);
559
532
  }, { immediate: !0 });
560
- const h = Pe(() => V.value.find((u) => u.children) ? `${T} containTable` : `${T} noTable`);
533
+ const _ = Ie(() => N.value.find((s) => s.children) ? `${F} containTable` : `${F} noTable`);
561
534
  return {
562
535
  formRef: ne,
563
536
  registerFormModal: S,
564
537
  init: J,
565
538
  handleChangeField: r,
566
- dynamicRowValues: Q,
567
- matchType: E,
568
- historyCollapsed: A,
539
+ dynamicRowValues: q,
540
+ matchType: x,
541
+ historyCollapsed: j,
569
542
  registerModal: oe,
570
543
  handleSubmit: Y,
571
- handleCancel: x,
544
+ handleCancel: P,
572
545
  handleSave: z,
573
546
  handleReset: te,
574
- doSaveQueryInfo: F,
547
+ doSaveQueryInfo: b,
575
548
  saveInfo: W,
576
549
  saveTreeData: G,
577
550
  handleTreeSelect: ae,
578
551
  handleRemoveSaveInfo: ie,
579
- fieldTreeData: V,
552
+ fieldTreeData: N,
580
553
  addOne: L,
581
- removeOne: s,
582
- setFormModel: B,
583
- getSchema: b,
554
+ removeOne: u,
555
+ setFormModel: D,
556
+ getSchema: k,
584
557
  loading: re,
585
558
  onFinish: p,
586
559
  getPopupContainer: m,
@@ -589,44 +562,43 @@ const it = {
589
562
  initDefaultValues: me,
590
563
  simpleImage: Ye.PRESENTED_IMAGE_SIMPLE,
591
564
  saveModalLoading: t,
592
- queryFormStyle: R,
565
+ queryFormStyle: Q,
593
566
  handleFullScreen: le,
594
- fieldTreeSelectHeight: I,
595
- getTreePopupClass: h,
567
+ fieldTreeSelectHeight: R,
568
+ getTreePopupClass: _,
596
569
  handleStop: K,
597
570
  getQueryCondition: U
598
571
  };
599
572
  }
600
- };
601
- const rt = { class: "j-super-query-button" }, ut = { style: { float: "left" } }, st = { slot: "description" }, ct = ["title"], dt = { style: { height: "80px", "line-height": "75px", width: "100%", "text-align": "center" } };
602
- function ft(y, o, S, l, k, R) {
603
- const I = v("divider"), $ = v("AppstoreTwoTone"), T = v("a-button"), A = v("a-button-group"), j = v("a-tooltip"), ee = v("a-divider"), U = v("a-empty"), x = v("a-select-option"), Y = v("a-select"), P = v("a-form-item"), q = v("a-col"), K = v("a-row"), te = v("a-tree-select"), le = v("online-super-query-val-component"), ne = v("PlusOutlined"), J = v("MinusCircleOutlined"), Q = v("a-space"), E = v("a-form"), oe = v("close-circle-outlined"), z = v("a-popconfirm"), F = v("file-text-outlined"), W = v("a-tree"), G = v("Icon"), ae = v("a-card"), ie = v("BasicModal"), V = v("a-input"), L = v("a-modal");
604
- return O(), ve(ye, null, [
605
- D("div", rt, [
606
- l.superQueryFlag ? (O(), N(j, {
573
+ }, rt = { class: "j-super-query-button" }, st = { style: { float: "left" } }, ut = { slot: "description" }, ct = ["title"], dt = { style: { height: "80px", "line-height": "75px", width: "100%", "text-align": "center" } };
574
+ function ft(y, o, S, l, T, Q) {
575
+ const R = v("divider"), $ = v("AppstoreTwoTone"), F = v("a-button"), j = v("a-button-group"), A = v("a-tooltip"), ee = v("a-divider"), U = v("a-empty"), P = v("a-select-option"), Y = v("a-select"), I = v("a-form-item"), B = v("a-col"), K = v("a-row"), te = v("a-tree-select"), le = v("online-super-query-val-component"), ne = v("PlusOutlined"), J = v("MinusCircleOutlined"), q = v("a-space"), x = v("a-form"), oe = v("close-circle-outlined"), z = v("a-popconfirm"), b = v("file-text-outlined"), W = v("a-tree"), G = v("Icon"), ae = v("a-card"), ie = v("BasicModal"), N = v("a-input"), L = v("a-modal");
576
+ return M(), ve(ye, null, [
577
+ O("div", rt, [
578
+ l.superQueryFlag ? (M(), E(A, {
607
579
  key: 0,
608
580
  mouseLeaveDelay: 0.2
609
581
  }, {
610
- title: c(() => [
611
- o[7] || (o[7] = D("span", null, "执行查询中...", -1)),
612
- d(I, {
582
+ title: d(() => [
583
+ o[7] || (o[7] = O("span", null, "执行查询中...", -1)),
584
+ c(R, {
613
585
  type: "vertical",
614
586
  style: { "background-color": "#fff" }
615
587
  }),
616
- D("a", {
617
- onClick: o[0] || (o[0] = (...s) => l.handleStop && l.handleStop(...s))
588
+ O("a", {
589
+ onClick: o[0] || (o[0] = (...u) => l.handleStop && l.handleStop(...u))
618
590
  }, "取消查询")
619
591
  ]),
620
- default: c(() => [
621
- d(A, null, {
622
- default: c(() => [
623
- d(T, {
592
+ default: d(() => [
593
+ c(j, null, {
594
+ default: d(() => [
595
+ c(F, {
624
596
  type: "primary",
625
597
  onClick: l.handleOpen
626
598
  }, {
627
- default: c(() => [
628
- d($, { spin: !0 }),
629
- D("span", null, de(S.queryBtnCfg.buttonName), 1)
599
+ default: d(() => [
600
+ c($, { spin: !0 }),
601
+ O("span", null, de(S.queryBtnCfg.buttonName), 1)
630
602
  ]),
631
603
  _: 1
632
604
  }, 8, ["onClick"])
@@ -635,20 +607,20 @@ function ft(y, o, S, l, k, R) {
635
607
  })
636
608
  ]),
637
609
  _: 1
638
- })) : (O(), N(T, {
610
+ })) : (M(), E(F, {
639
611
  key: 1,
640
612
  type: "primary",
641
613
  preIcon: S.queryBtnCfg.buttonIcon,
642
614
  onClick: l.handleOpen
643
615
  }, {
644
- default: c(() => [
645
- D("span", null, de(S.queryBtnCfg.buttonName), 1)
616
+ default: d(() => [
617
+ O("span", null, de(S.queryBtnCfg.buttonName), 1)
646
618
  ]),
647
619
  _: 1
648
620
  }, 8, ["preIcon", "onClick"]))
649
621
  ]),
650
- (O(), N(Ve, { to: "body" }, [
651
- d(ie, {
622
+ (M(), E(Ne, { to: "body" }, [
623
+ c(ie, {
652
624
  title: S.queryBtnCfg.buttonName + "构造器",
653
625
  "wrap-class-name": "j-super-query-modal",
654
626
  canFullscreen: !0,
@@ -657,100 +629,100 @@ function ft(y, o, S, l, k, R) {
657
629
  onOk: l.handleSubmit,
658
630
  onFullScreen: l.handleFullScreen
659
631
  }, {
660
- footer: c(() => [
661
- D("div", ut, [
662
- d(T, {
632
+ footer: d(() => [
633
+ O("div", st, [
634
+ c(F, {
663
635
  loading: l.loading,
664
636
  onClick: l.handleReset
665
637
  }, {
666
- default: c(() => o[8] || (o[8] = [
667
- H("清空")
668
- ])),
638
+ default: d(() => [...o[8] || (o[8] = [
639
+ H("清空", -1)
640
+ ])]),
669
641
  _: 1
670
642
  }, 8, ["loading", "onClick"]),
671
- d(T, {
643
+ c(F, {
672
644
  loading: l.loading,
673
645
  onClick: l.handleSave
674
646
  }, {
675
- default: c(() => o[9] || (o[9] = [
676
- H("保存查询")
677
- ])),
647
+ default: d(() => [...o[9] || (o[9] = [
648
+ H("保存查询", -1)
649
+ ])]),
678
650
  _: 1
679
651
  }, 8, ["loading", "onClick"])
680
652
  ]),
681
- d(T, {
653
+ c(F, {
682
654
  key: "submit",
683
655
  type: "primary",
684
656
  onClick: l.handleSubmit
685
657
  }, {
686
- default: c(() => o[10] || (o[10] = [
687
- H("执行查询")
688
- ])),
658
+ default: d(() => [...o[10] || (o[10] = [
659
+ H("执行查询", -1)
660
+ ])]),
689
661
  _: 1
690
662
  }, 8, ["onClick"]),
691
- d(T, {
663
+ c(F, {
692
664
  key: "back",
693
665
  onClick: l.handleCancel
694
666
  }, {
695
- default: c(() => o[11] || (o[11] = [
696
- H("关闭")
697
- ])),
667
+ default: d(() => [...o[11] || (o[11] = [
668
+ H("关闭", -1)
669
+ ])]),
698
670
  _: 1
699
671
  }, 8, ["onClick"])
700
672
  ]),
701
- default: c(() => [
702
- l.dynamicRowValues.values.length == 0 ? (O(), N(U, { key: 0 }, {
703
- default: c(() => [
704
- D("div", st, [
705
- o[12] || (o[12] = D("span", null, "没有任何查询条件", -1)),
706
- d(ee, { type: "vertical" }),
707
- D("a", {
708
- onClick: o[1] || (o[1] = (s) => l.addOne(-1))
673
+ default: d(() => [
674
+ l.dynamicRowValues.values.length == 0 ? (M(), E(U, { key: 0 }, {
675
+ default: d(() => [
676
+ O("div", ut, [
677
+ o[12] || (o[12] = O("span", null, "没有任何查询条件", -1)),
678
+ c(ee, { type: "vertical" }),
679
+ O("a", {
680
+ onClick: o[1] || (o[1] = (u) => l.addOne(-1))
709
681
  }, "点击新增")
710
682
  ])
711
683
  ]),
712
684
  _: 1
713
- })) : Ie("", !0),
714
- d(K, {
715
- class: _e("j-super-query-modal-content")
685
+ })) : Re("", !0),
686
+ c(K, {
687
+ class: ge("j-super-query-modal-content")
716
688
  }, {
717
- default: c(() => [
718
- d(q, {
689
+ default: d(() => [
690
+ c(B, {
719
691
  sm: 24,
720
692
  md: 24
721
693
  }, {
722
- default: c(() => [
723
- Fe(d(K, null, {
724
- default: c(() => [
725
- d(q, {
694
+ default: d(() => [
695
+ be(c(K, null, {
696
+ default: d(() => [
697
+ c(B, {
726
698
  md: 12,
727
699
  xs: 24
728
700
  }, {
729
- default: c(() => [
730
- d(P, {
701
+ default: d(() => [
702
+ c(I, {
731
703
  label: "匹配模式",
732
704
  labelCol: { md: 6, xs: 24 },
733
705
  wrapperCol: { md: 18, xs: 24 },
734
706
  style: { width: "100%" }
735
707
  }, {
736
- default: c(() => [
737
- d(Y, {
708
+ default: d(() => [
709
+ c(Y, {
738
710
  value: l.matchType,
739
- "onUpdate:value": o[2] || (o[2] = (s) => l.matchType = s),
740
- getPopupContainer: (s) => s == null ? void 0 : s.parentNode,
711
+ "onUpdate:value": o[2] || (o[2] = (u) => l.matchType = u),
712
+ getPopupContainer: (u) => u == null ? void 0 : u.parentNode,
741
713
  style: { width: "100%" }
742
714
  }, {
743
- default: c(() => [
744
- d(x, { value: "and" }, {
745
- default: c(() => o[13] || (o[13] = [
746
- H("AND(所有条件匹配)")
747
- ])),
715
+ default: d(() => [
716
+ c(P, { value: "and" }, {
717
+ default: d(() => [...o[13] || (o[13] = [
718
+ H("AND(所有条件匹配)", -1)
719
+ ])]),
748
720
  _: 1
749
721
  }),
750
- d(x, { value: "or" }, {
751
- default: c(() => o[14] || (o[14] = [
752
- H("OR(任意一个匹配)")
753
- ])),
722
+ c(P, { value: "or" }, {
723
+ default: d(() => [...o[14] || (o[14] = [
724
+ H("OR(任意一个匹配)", -1)
725
+ ])]),
754
726
  _: 1
755
727
  })
756
728
  ]),
@@ -765,63 +737,63 @@ function ft(y, o, S, l, k, R) {
765
737
  ]),
766
738
  _: 1
767
739
  }, 512), [
768
- [be, l.dynamicRowValues.values.length > 0]
740
+ [ke, l.dynamicRowValues.values.length > 0]
769
741
  ]),
770
- Fe(d(E, {
742
+ be(c(x, {
771
743
  ref: "formRef",
772
- class: _e("jee-super-query-form"),
744
+ class: ge("jee-super-query-form"),
773
745
  model: l.dynamicRowValues,
774
746
  onFinish: l.onFinish,
775
- style: Ne(l.queryFormStyle)
747
+ style: Ee(l.queryFormStyle)
776
748
  }, {
777
- default: c(() => [
778
- (O(!0), ve(ye, null, ke(l.dynamicRowValues.values, (s, B) => (O(), N(Q, {
779
- key: s.key,
749
+ default: d(() => [
750
+ (M(!0), ve(ye, null, Te(l.dynamicRowValues.values, (u, D) => (M(), E(q, {
751
+ key: u.key,
780
752
  style: { display: "flex", "margin-bottom": "8px" },
781
- align: s.curLineAlign ? s.align : "baseline"
753
+ align: u.curLineAlign ? u.align : "baseline"
782
754
  }, {
783
- default: c(() => [
784
- d(P, {
755
+ default: d(() => [
756
+ c(I, {
785
757
  class: "field-clos",
786
- name: ["values", B, "field"]
758
+ name: ["values", D, "field"]
787
759
  }, {
788
- default: c(() => [
789
- d(te, {
760
+ default: d(() => [
761
+ c(te, {
790
762
  popupClassName: l.getTreePopupClass,
791
763
  style: { width: "100%" },
792
764
  placeholder: "请选择字段",
793
- value: s.field,
794
- "onUpdate:value": (b) => s.field = b,
765
+ value: u.field,
766
+ "onUpdate:value": (k) => u.field = k,
795
767
  "show-search": "",
796
768
  "tree-node-filter-prop": "title",
797
769
  "allow-clear": "",
798
770
  "tree-default-expand-all": "",
799
771
  "dropdown-style": { maxHeight: `${l.fieldTreeSelectHeight}px`, overflow: "auto" },
800
772
  listHeight: l.fieldTreeSelectHeight - 20,
801
- onChange: (b) => l.handleChangeField(s),
773
+ onChange: (k) => l.handleChangeField(u),
802
774
  "tree-data": l.fieldTreeData
803
775
  }, null, 8, ["popupClassName", "value", "onUpdate:value", "dropdown-style", "listHeight", "onChange", "tree-data"])
804
776
  ]),
805
777
  _: 2
806
778
  }, 1032, ["name"]),
807
- d(P, {
779
+ c(I, {
808
780
  class: "rule-clos",
809
- name: ["values", B, "rule"]
781
+ name: ["values", D, "rule"]
810
782
  }, {
811
- default: c(() => [
812
- d(Y, {
783
+ default: d(() => [
784
+ c(Y, {
813
785
  style: { width: "100%" },
814
786
  placeholder: "请选择匹配规则",
815
- value: s.rule,
816
- "onUpdate:value": (b) => s.rule = b
787
+ value: u.rule,
788
+ "onUpdate:value": (k) => u.rule = k
817
789
  }, {
818
- default: c(() => [
819
- (O(!0), ve(ye, null, ke(l.getQueryCondition(s), (b) => (O(), N(x, {
820
- value: b.value,
821
- key: b.value
790
+ default: d(() => [
791
+ (M(!0), ve(ye, null, Te(l.getQueryCondition(u), (k) => (M(), E(P, {
792
+ value: k.value,
793
+ key: k.value
822
794
  }, {
823
- default: c(() => [
824
- H(de(b.label), 1)
795
+ default: d(() => [
796
+ H(de(k.label), 1)
825
797
  ]),
826
798
  _: 2
827
799
  }, 1032, ["value"]))), 128))
@@ -831,42 +803,42 @@ function ft(y, o, S, l, k, R) {
831
803
  ]),
832
804
  _: 2
833
805
  }, 1032, ["name"]),
834
- d(P, {
806
+ c(I, {
835
807
  class: "component-clos",
836
- name: ["values", B, "val"]
808
+ name: ["values", D, "val"]
837
809
  }, {
838
- default: c(() => [
839
- d(le, {
810
+ default: d(() => [
811
+ c(le, {
840
812
  style: { width: "100%" },
841
- schema: l.getSchema(s, B),
842
- formModel: s,
843
- setFormModel: (b, re) => {
844
- l.setFormModel(b, re, s);
813
+ schema: l.getSchema(u, D),
814
+ formModel: u,
815
+ setFormModel: (k, re) => {
816
+ l.setFormModel(k, re, u);
845
817
  },
846
818
  onSubmit: l.handleSubmit
847
819
  }, null, 8, ["schema", "formModel", "setFormModel", "onSubmit"])
848
820
  ]),
849
821
  _: 2
850
822
  }, 1032, ["name"]),
851
- d(P, null, {
852
- default: c(() => [
853
- d(T, {
854
- onClick: (b) => l.addOne(B),
823
+ c(I, null, {
824
+ default: d(() => [
825
+ c(F, {
826
+ onClick: (k) => l.addOne(D),
855
827
  style: { "margin-right": "6px" }
856
828
  }, {
857
- default: c(() => [
858
- d(ne)
829
+ default: d(() => [
830
+ c(ne)
859
831
  ]),
860
- _: 2
861
- }, 1032, ["onClick"]),
862
- d(T, {
863
- onClick: (b) => l.removeOne(s)
832
+ _: 1
833
+ }, 8, ["onClick"]),
834
+ c(F, {
835
+ onClick: (k) => l.removeOne(u)
864
836
  }, {
865
- default: c(() => [
866
- d(J)
837
+ default: d(() => [
838
+ c(J)
867
839
  ]),
868
- _: 2
869
- }, 1032, ["onClick"])
840
+ _: 1
841
+ }, 8, ["onClick"])
870
842
  ]),
871
843
  _: 2
872
844
  }, 1024)
@@ -876,7 +848,7 @@ function ft(y, o, S, l, k, R) {
876
848
  ]),
877
849
  _: 1
878
850
  }, 8, ["model", "onFinish", "style"]), [
879
- [be, l.dynamicRowValues.values.length > 0]
851
+ [ke, l.dynamicRowValues.values.length > 0]
880
852
  ])
881
853
  ]),
882
854
  _: 1
@@ -884,20 +856,20 @@ function ft(y, o, S, l, k, R) {
884
856
  ]),
885
857
  _: 1
886
858
  }),
887
- d(ae, {
888
- class: _e(["j-super-query-history-card", { collapsed: l.historyCollapsed }]),
859
+ c(ae, {
860
+ class: ge(["j-super-query-history-card", { collapsed: l.historyCollapsed }]),
889
861
  bordered: !1
890
862
  }, {
891
- title: c(() => o[15] || (o[15] = [
892
- D("div", null, "保存的查询", -1)
893
- ])),
894
- default: c(() => [
895
- l.saveTreeData.length === 0 ? (O(), N(U, {
863
+ title: d(() => [...o[15] || (o[15] = [
864
+ O("div", null, "保存的查询", -1)
865
+ ])]),
866
+ default: d(() => [
867
+ l.saveTreeData.length === 0 ? (M(), E(U, {
896
868
  key: 0,
897
869
  class: "j-super-query-history-empty",
898
870
  image: l.simpleImage,
899
871
  description: "没有保存的查询"
900
- }, null, 8, ["image"])) : (O(), N(W, {
872
+ }, null, 8, ["image"])) : (M(), E(W, {
901
873
  key: 1,
902
874
  class: "j-super-query-history-tree",
903
875
  treeData: l.saveTreeData,
@@ -905,38 +877,38 @@ function ft(y, o, S, l, k, R) {
905
877
  "show-icon": !0,
906
878
  onSelect: l.handleTreeSelect
907
879
  }, {
908
- title: c(({ title: s }) => [
909
- D("div", null, [
910
- D("span", { title: s }, de(s.length > 10 ? s.substring(0, 10) + "..." : s), 9, ct),
911
- d(z, {
880
+ title: d(({ title: u }) => [
881
+ O("div", null, [
882
+ O("span", { title: u }, de(u.length > 10 ? u.substring(0, 10) + "..." : u), 9, ct),
883
+ c(z, {
912
884
  title: "确定删除吗?",
913
- onConfirm: (B) => l.handleRemoveSaveInfo(s)
885
+ onConfirm: (D) => l.handleRemoveSaveInfo(u)
914
886
  }, {
915
- default: c(() => [
916
- D("span", {
887
+ default: d(() => [
888
+ O("span", {
917
889
  class: "icon-cancle",
918
- onClick: o[3] || (o[3] = (B) => B.stopPropagation())
890
+ onClick: o[3] || (o[3] = (D) => D.stopPropagation())
919
891
  }, [
920
- d(oe)
892
+ c(oe)
921
893
  ])
922
894
  ]),
923
- _: 2
924
- }, 1032, ["onConfirm"])
895
+ _: 1
896
+ }, 8, ["onConfirm"])
925
897
  ])
926
898
  ]),
927
- custom: c(() => [
928
- d(F)
899
+ custom: d(() => [
900
+ c(b)
929
901
  ]),
930
902
  _: 1
931
903
  }, 8, ["treeData", "onSelect"])),
932
- D("div", {
904
+ O("div", {
933
905
  class: "collapse-box",
934
- onClick: o[4] || (o[4] = (s) => l.historyCollapsed = !l.historyCollapsed)
906
+ onClick: o[4] || (o[4] = (u) => l.historyCollapsed = !l.historyCollapsed)
935
907
  }, [
936
- l.historyCollapsed ? (O(), N(G, {
908
+ l.historyCollapsed ? (M(), E(G, {
937
909
  key: 0,
938
910
  icon: "ant-design:caret-left"
939
- })) : (O(), N(G, {
911
+ })) : (M(), E(G, {
940
912
  key: 1,
941
913
  icon: "ant-design:caret-right"
942
914
  }))
@@ -948,18 +920,18 @@ function ft(y, o, S, l, k, R) {
948
920
  _: 1
949
921
  }, 8, ["title", "onRegister", "onOk", "onFullScreen"])
950
922
  ])),
951
- d(L, {
923
+ c(L, {
952
924
  title: "请输入保存的名称",
953
925
  open: l.saveInfo.visible,
954
- onCancel: o[6] || (o[6] = (s) => l.saveInfo.visible = !1),
926
+ onCancel: o[6] || (o[6] = (u) => l.saveInfo.visible = !1),
955
927
  onOk: l.doSaveQueryInfo,
956
928
  confirmLoading: l.saveModalLoading
957
929
  }, {
958
- default: c(() => [
959
- D("div", dt, [
960
- d(V, {
930
+ default: d(() => [
931
+ O("div", dt, [
932
+ c(N, {
961
933
  value: l.saveInfo.title,
962
- "onUpdate:value": o[5] || (o[5] = (s) => l.saveInfo.title = s),
934
+ "onUpdate:value": o[5] || (o[5] = (u) => l.saveInfo.title = u),
963
935
  style: { width: "90%" },
964
936
  placeholder: "请输入保存的名称"
965
937
  }, null, 8, ["value"])
@@ -969,7 +941,7 @@ function ft(y, o, S, l, k, R) {
969
941
  }, 8, ["open", "onOk", "confirmLoading"])
970
942
  ], 64);
971
943
  }
972
- const tl = /* @__PURE__ */ lt(it, [["render", ft], ["__scopeId", "data-v-6fccff78"]]);
944
+ const Ft = /* @__PURE__ */ lt(it, [["render", ft], ["__scopeId", "data-v-6fccff78"]]);
973
945
  export {
974
- tl as default
946
+ Ft as default
975
947
  };