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