@jeecg/online 3.5.3-vite4 → 3.6.2-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/{AuthButtonConfig-2f71787c.mjs → AuthButtonConfig-244ec09f.mjs} +1 -1
  2. package/{AuthButtonTree-d73bccf5.mjs → AuthButtonTree-3aa0ed49.mjs} +1 -1
  3. package/{AuthDataConfig-32cf23d2.mjs → AuthDataConfig-83891eea.mjs} +1 -1
  4. package/{AuthDataTree-03d62d3f.mjs → AuthDataTree-94e026e3.mjs} +1 -1
  5. package/{AuthFieldConfig-b1217a0c.mjs → AuthFieldConfig-6b21915c.mjs} +1 -1
  6. package/{AuthFieldTree-888e04a9.mjs → AuthFieldTree-69864163.mjs} +1 -1
  7. package/{AuthManagerDrawer-f127b8a2.mjs → AuthManagerDrawer-300dd4e4.mjs} +4 -4
  8. package/{AuthSetterModal-37da78ed.mjs → AuthSetterModal-a414fb35.mjs} +58 -52
  9. package/{CgformCopyList-3adab58f.mjs → CgformCopyList-14b76108.mjs} +42 -39
  10. package/CgformModal-eccfc38e.mjs +611 -0
  11. package/{CgreportModal-77ec8c17.mjs → CgreportModal-2065f5a9.mjs} +2 -1
  12. package/{CgreportModal.vue_vue_type_script_setup_true_lang-52dcec5e.mjs → CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs} +170 -171
  13. package/{CheckDictTable-414313f2.mjs → CheckDictTable-134cbb83.mjs} +3 -3
  14. package/{CodeFileListModal-4831ce3d.mjs → CodeFileListModal-a6d3290d.mjs} +2 -2
  15. package/{CodeFileViewModal-5990dac4.mjs → CodeFileViewModal-373e8058.mjs} +2 -2
  16. package/{CodeGeneratorModal-7df9e25d.mjs → CodeGeneratorModal-f08a89cd.mjs} +5 -6
  17. package/{CustomButtonList-1c9bd859.mjs → CustomButtonList-02e3d897.mjs} +2 -2
  18. package/{DBAttributeTable-cd1c41e5.mjs → DBAttributeTable-370de07b.mjs} +2 -2
  19. package/{DbToOnlineModal-dc5d2030.mjs → DbToOnlineModal-9f13956f.mjs} +35 -35
  20. package/{DetailForm-e4538e7a.mjs → DetailForm-424638eb.mjs} +179 -163
  21. package/{EnhanceJavaModal-7f53d2ca.mjs → EnhanceJavaModal-f63aa2d3.mjs} +17 -13
  22. package/{EnhanceJsHistory-c30805ce.mjs → EnhanceJsHistory-352b46b1.mjs} +1 -1
  23. package/EnhanceJsModal-05c73a59.mjs +311 -0
  24. package/{EnhanceSqlModal-33a94c83.mjs → EnhanceSqlModal-5e4ae84f.mjs} +55 -46
  25. package/{ExtendConfigModal-60f2cf86.mjs → ExtendConfigModal-1dde390a.mjs} +2 -2
  26. package/FieldExtendJsonModal-a70a9ccd.mjs +219 -0
  27. package/FileSelectModal-9a02560b.mjs +103 -0
  28. package/{ForeignKeyTable-cb1abd1d.mjs → ForeignKeyTable-6a843c4b.mjs} +2 -2
  29. package/{IndexTable-4e94cd1f.mjs → IndexTable-f8af9d44.mjs} +2 -2
  30. package/JModalTip-33c7dc44.mjs +49 -0
  31. package/{JOnlineSearchSelect-5608a5cf.mjs → JOnlineSearchSelect-c287af12.mjs} +17 -16
  32. package/{LeftDepart-ca7a7375.mjs → LeftDepart-fa85523d.mjs} +1 -1
  33. package/{LeftRole-d0fa8398.mjs → LeftRole-8b8dfe21.mjs} +1 -1
  34. package/{LeftUser-0c88c240.mjs → LeftUser-dc24ef2f.mjs} +1 -1
  35. package/{LinkTableConfigModal-77d7c0b9.mjs → LinkTableConfigModal-d4fbdef2.mjs} +23 -23
  36. package/{LinkTableFieldConfigModal-c5689ab0.mjs → LinkTableFieldConfigModal-787bc55c.mjs} +44 -46
  37. package/LinkTableListPiece-8499a318.mjs +34 -0
  38. package/{ModalFormDemo-0eeea994.mjs → ModalFormDemo-977a49eb.mjs} +1 -1
  39. package/OnlCgformErpList-db45e22b.mjs +454 -0
  40. package/OnlCgformErpSubTable-54b50eec.mjs +403 -0
  41. package/OnlCgformInnerSubTable-fbca73e0.mjs +253 -0
  42. package/OnlCgformInnerTableList-782eaf04.mjs +444 -0
  43. package/OnlCgformTabList-a9e1e36a.mjs +395 -0
  44. package/OnlineAutoList-0583a910.mjs +479 -0
  45. package/{OnlineAutoModal-2a146238.mjs → OnlineAutoModal-510991eb.mjs} +59 -58
  46. package/{OnlineAutoTreeList-f8d0e100.mjs → OnlineAutoTreeList-89265688.mjs} +158 -153
  47. package/{OnlineCustomModal-456a85a6.mjs → OnlineCustomModal-518ad33c.mjs} +67 -66
  48. package/{OnlineDetailModal-f967f080.mjs → OnlineDetailModal-9675390d.mjs} +40 -39
  49. package/OnlineForm-1fa2d893.mjs +750 -0
  50. package/{OnlineFormDetail-1b216792.mjs → OnlineFormDetail-0e7294ca.mjs} +56 -55
  51. package/OnlineQueryForm-1bfc8320.mjs +386 -0
  52. package/{OnlineSearchFormItem-7c2ea9ed.mjs → OnlineSearchFormItem-0cc85a8a.mjs} +83 -87
  53. package/{OnlineSelectCascade-c7baf52b.mjs → OnlineSelectCascade-4265c95d.mjs} +31 -32
  54. package/{OnlineSubFormDetail-0aa4966c.mjs → OnlineSubFormDetail-f0d2c016.mjs} +53 -50
  55. package/OnlineTabAutoModal-6f636ee2.mjs +254 -0
  56. package/OnlineTabDetailModal-7356d3a8.mjs +223 -0
  57. package/OnlineTabForm-512d3951.mjs +766 -0
  58. package/OnlineTabFormDetail-5a70219d.mjs +324 -0
  59. package/{PageAttributeTable-811185fd.mjs → PageAttributeTable-965dc58e.mjs} +20 -20
  60. package/{ProcessOnlineForm-27be6f6f.mjs → ProcessOnlineForm-67558898.mjs} +39 -38
  61. package/{QueryTable-4ba771ef.mjs → QueryTable-eb9a5b21.mjs} +2 -2
  62. package/README.md +5 -2
  63. package/{SuperQuery-3821f984.mjs → SuperQuery-5d1ca957.mjs} +171 -173
  64. package/{SuperQueryValComponent-471110b5.mjs → SuperQueryValComponent-7ad86d4b.mjs} +1 -1
  65. package/SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs +101 -0
  66. package/cgformState-d9f8ec42.mjs +28 -0
  67. package/constant-754f1a9d.mjs +9 -0
  68. package/index-0e3ab3af.mjs +56 -0
  69. package/{index-074b92e5.mjs → index-49508cad.mjs} +4 -3
  70. package/index-b7a05eef.mjs +1496 -0
  71. package/main.index.js +1 -1
  72. package/package.json +1 -1
  73. package/style.css +1 -1
  74. package/useCgformList-423282b7.mjs +400 -0
  75. package/useCustomHook-acb00837.mjs +53 -0
  76. package/useExtendComponent-325fe3f1.mjs +3926 -0
  77. package/useListButton-cdbab702.mjs +676 -0
  78. package/useOnlinePopEvent-687070b7.mjs +19 -0
  79. package/useOnlineTest-e4bd8be3.mjs +42 -0
  80. package/{useSchemas-fc8d97ce.mjs → useSchemas-0433a403.mjs} +129 -109
  81. package/{useTableSync-dc333087.mjs → useTableSync-774c3774.mjs} +17 -13
  82. package/CgformModal-6938d8c2.mjs +0 -613
  83. package/EnhanceJsModal-0b133341.mjs +0 -233
  84. package/FieldExtendJsonModal-48f7d67f.mjs +0 -220
  85. package/FileSelectModal-64aaf623.mjs +0 -91
  86. package/JModalTip-abe1515a.mjs +0 -46
  87. package/LinkTableListPiece-34266919.mjs +0 -34
  88. package/OnlCgformErpList-7a0388d8.mjs +0 -425
  89. package/OnlCgformErpSubTable-fc6ade76.mjs +0 -388
  90. package/OnlineAutoList-85e6a30d.mjs +0 -472
  91. package/OnlineForm-630a22c2.mjs +0 -778
  92. package/OnlineQueryForm-1c5949a7.mjs +0 -378
  93. package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +0 -101
  94. package/constant-fe20103a.mjs +0 -6
  95. package/index-6a09a912.mjs +0 -58
  96. package/index-9d32ae88.mjs +0 -313
  97. package/useCgformList-2d6a5955.mjs +0 -388
  98. package/useExtendComponent-48d37d9b.mjs +0 -3919
  99. package/useListButton-cef1371a.mjs +0 -656
  100. package/useOnlinePopEvent-e9a042f8.mjs +0 -19
  101. package/useOnlineTest-0df0ae86.mjs +0 -43
@@ -1,4 +1,4 @@
1
- var I = (e, T, m) => new Promise((i, k) => {
1
+ var B = (e, T, m) => new Promise((i, k) => {
2
2
  var y = (s) => {
3
3
  try {
4
4
  r(m.next(s));
@@ -14,22 +14,22 @@ var I = (e, T, m) => new Promise((i, k) => {
14
14
  }, r = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(y, c);
15
15
  r((m = m.apply(e, T)).next());
16
16
  });
17
- import { BasicTable as $e, TableAction as Je } from "/@/components/Table";
17
+ import { BasicTable as Je, TableAction as He } from "/@/components/Table";
18
18
  import { useMessage as Ke } from "/@/hooks/web/useMessage";
19
- import He from "./OnlineAutoModal-2a146238.mjs";
20
- import Pe from "./OnlineDetailModal-f967f080.mjs";
21
- import qe from "./OnlineCustomModal-456a85a6.mjs";
22
- import { ref as H, watch as Ne, resolveComponent as d, openBlock as l, createElementBlock as S, createVNode as f, createBlock as p, normalizeClass as Ve, withCtx as a, createTextVNode as C, createCommentVNode as g, Fragment as P, renderList as ze, toDisplayString as E, withDirectives as je, vShow as Ue, createElementVNode as _, mergeProps as We, toHandlers as Ge, resolveDynamicComponent as Xe, normalizeProps as Ye, guardReactiveProps as Ze } from "vue";
23
- import xe from "/@/components/Form/src/jeecg/components/JImportModal.vue";
24
- import { u as eo, a as oo } from "./useListButton-cef1371a.mjs";
25
- import { u as no, a as to, g as io } from "./useExtendComponent-48d37d9b.mjs";
26
- import { defHttp as lo } from "/@/utils/http/axios";
27
- import ao from "./OnlineQueryForm-1c5949a7.mjs";
28
- import ro from "./SuperQuery-3821f984.mjs";
29
- import { T as so } from "./constant-fe20103a.mjs";
30
- import { _ as uo } from "./index-6a09a912.mjs";
19
+ import Pe from "./OnlineAutoModal-510991eb.mjs";
20
+ import qe from "./OnlineDetailModal-9675390d.mjs";
21
+ import Ne from "./OnlineCustomModal-518ad33c.mjs";
22
+ import { ref as K, watch as Ve, resolveComponent as d, openBlock as l, createElementBlock as S, createVNode as f, createBlock as p, normalizeClass as ze, withCtx as a, createTextVNode as C, createCommentVNode as g, Fragment as P, renderList as je, toDisplayString as E, withDirectives as Ue, vShow as We, createElementVNode as _, mergeProps as Ge, toHandlers as Xe, resolveDynamicComponent as Ye, normalizeProps as Ze, guardReactiveProps as xe } from "vue";
23
+ import eo from "/@/components/Form/src/jeecg/components/JImportModal.vue";
24
+ import { u as oo, a as no } from "./useListButton-cdbab702.mjs";
25
+ import { u as to, a as io, g as lo } from "./useExtendComponent-325fe3f1.mjs";
26
+ import { defHttp as ao } from "/@/utils/http/axios";
27
+ import ro from "./OnlineQueryForm-1bfc8320.mjs";
28
+ import so from "./SuperQuery-5d1ca957.mjs";
29
+ import { a as q } from "./constant-754f1a9d.mjs";
30
+ import { _ as uo } from "./index-0e3ab3af.mjs";
31
31
  import "/@/components/Modal";
32
- import "./OnlineForm-630a22c2.mjs";
32
+ import "./OnlineForm-1fa2d893.mjs";
33
33
  import "/@/components/Form/index";
34
34
  import "lodash-es";
35
35
  import "/@/utils";
@@ -39,12 +39,13 @@ import "/@/utils/auth";
39
39
  import "@ant-design/icons-vue";
40
40
  import "/@/hooks/core/useContext";
41
41
  import "/@/utils/mitt";
42
+ import "./useCustomHook-acb00837.mjs";
42
43
  import "/@/utils/cache";
43
44
  import "/@/utils/common/compUtils";
44
45
  import "/@/store/modules/user";
45
46
  import "/@/components/jeecg/comment/CommentPanel.vue";
46
- import "./OnlineFormDetail-1b216792.mjs";
47
- import "./DetailForm-e4538e7a.mjs";
47
+ import "./OnlineFormDetail-0e7294ca.mjs";
48
+ import "./DetailForm-424638eb.mjs";
48
49
  import "/@/utils/propTypes";
49
50
  import "/@/utils/dict";
50
51
  import "/@/utils/dict/JDictSelectUtil";
@@ -52,10 +53,15 @@ import "/@/utils/dict/index";
52
53
  import "/@/api/common/api";
53
54
  import "/@/components/Form/src/utils/Area";
54
55
  import "/@/components/Preview/index";
55
- import "./OnlineSubFormDetail-0aa4966c.mjs";
56
+ import "/@/components/Markdown";
57
+ import "./OnlineSubFormDetail-f0d2c016.mjs";
56
58
  import "vue-router";
57
59
  import "/@/router";
58
60
  import "/@/hooks/core/onMountedOrActivated";
61
+ import "/@/store/modules/multipleTab";
62
+ import "./cgformState-d9f8ec42.mjs";
63
+ import "pinia";
64
+ import "/@/store";
59
65
  import "ant-design-vue";
60
66
  import "/@/hooks/system/useMethods";
61
67
  import "/@/components/Form/src/componentMap";
@@ -64,27 +70,28 @@ import "/@/views/system/user/user.api";
64
70
  import "/@/utils/desform/customExpression";
65
71
  import "/@/store/modules/permission";
66
72
  import "/@/hooks/system/useListPage";
67
- import "./LinkTableListPiece-34266919.mjs";
68
- import "./OnlineSelectCascade-c7baf52b.mjs";
69
- import "./JModalTip-abe1515a.mjs";
73
+ import "./LinkTableListPiece-8499a318.mjs";
74
+ import "./OnlineSelectCascade-4265c95d.mjs";
75
+ import "./JModalTip-33c7dc44.mjs";
76
+ import "/@/hooks/web/useAppInject";
70
77
  import "@vueuse/core";
71
- import "./SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs";
78
+ import "./SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs";
72
79
  import "/@/utils/is";
73
80
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
74
81
  const po = {
75
82
  name: "DefaultOnlineList",
76
83
  components: {
77
- BasicTable: $e,
78
- TableAction: Je,
79
- OnlineAutoModal: He,
80
- JImportModal: xe,
81
- OnlineQueryForm: ao,
82
- OnlineSuperQuery: ro,
83
- OnlineCustomModal: qe,
84
- OnlineDetailModal: Pe
84
+ BasicTable: Je,
85
+ TableAction: He,
86
+ OnlineAutoModal: Pe,
87
+ JImportModal: eo,
88
+ OnlineQueryForm: ro,
89
+ OnlineSuperQuery: so,
90
+ OnlineCustomModal: Ne,
91
+ OnlineDetailModal: qe
85
92
  },
86
93
  setup() {
87
- const { createMessage: e } = Ke(), T = H(), {
94
+ const { createMessage: e } = Ke(), T = K(), {
88
95
  ID: m,
89
96
  onlineTableContext: i,
90
97
  onlineQueryFormOuter: k,
@@ -93,8 +100,8 @@ const po = {
93
100
  dataSource: r,
94
101
  pagination: s,
95
102
  handleSpecialConfig: h,
96
- getColumnList: v,
97
- handleChangeInTable: D,
103
+ getColumnList: D,
104
+ handleChangeInTable: v,
98
105
  loadData: A,
99
106
  superQueryButtonRef: R,
100
107
  superQueryStatus: L,
@@ -102,90 +109,88 @@ const po = {
102
109
  registerCustomModal: o,
103
110
  getTreeDataByResult: w,
104
111
  expandedRowKeys: u,
105
- handleExpandedRowsChange: q,
106
- tableReloading: N,
112
+ handleExpandedRowsChange: N,
113
+ tableReloading: V,
107
114
  onlineExtConfigJson: Q,
108
- handleFormConfig: V
109
- } = eo();
110
- if (!m.value) {
111
- e.warning("地址错误, 配置ID不存在!");
112
- return;
113
- }
115
+ handleFormConfig: z
116
+ } = oo();
117
+ if (!m.value)
118
+ throw e.warning("地址错误, 配置ID不存在!"), new Error("地址错误, 配置ID不存在!");
114
119
  i.isTree(!0);
115
- let { initCgEnhanceJs: z } = no(i);
120
+ let { initCgEnhanceJs: j } = to(i);
116
121
  const {
117
- buttonSwitch: j,
118
- cgLinkButtonList: U,
119
- cgTopButtonList: W,
120
- importUrl: G,
121
- registerModal: X,
122
+ buttonSwitch: U,
123
+ cgLinkButtonList: W,
124
+ cgTopButtonList: G,
125
+ importUrl: X,
126
+ registerModal: Y,
122
127
  handleAdd: $,
123
- handleEdit: Y,
124
- handleBatchDelete: Z,
125
- registerImportModal: x,
126
- onImportExcel: ee,
127
- onExportExcel: oe,
128
- cgButtonJsHandler: ne,
129
- cgButtonActionHandler: te,
130
- cgButtonLinkHandler: ie,
131
- handleSubmitFlow: le,
132
- getDropDownActions: ae,
133
- getActions: re,
134
- initButtonList: se,
135
- initButtonSwitch: ue,
136
- registerDetailModal: de
137
- } = oo(i, Q), {
138
- columns: pe,
139
- actionColumn: me,
140
- selectedKeys: ce,
141
- rowSelection: ge,
142
- enableScrollBar: he,
143
- tableScroll: fe,
144
- downloadRowFile: Ce,
145
- getImgView: ye,
146
- getPcaText: we,
147
- getFormatDate: be,
148
- handleColumnResult: Se,
149
- hrefComponent: Te,
150
- viewOnlineCellImage: ke
151
- } = to(i, Q);
152
- Ne(
128
+ handleEdit: Z,
129
+ handleBatchDelete: x,
130
+ registerImportModal: ee,
131
+ onImportExcel: oe,
132
+ onExportExcel: ne,
133
+ cgButtonJsHandler: te,
134
+ cgButtonActionHandler: ie,
135
+ cgButtonLinkHandler: le,
136
+ handleSubmitFlow: ae,
137
+ getDropDownActions: re,
138
+ getActions: se,
139
+ initButtonList: ue,
140
+ initButtonSwitch: de,
141
+ registerDetailModal: pe
142
+ } = no(i, Q), {
143
+ columns: me,
144
+ actionColumn: ce,
145
+ selectedKeys: ge,
146
+ rowSelection: he,
147
+ enableScrollBar: fe,
148
+ tableScroll: Ce,
149
+ downloadRowFile: ye,
150
+ getImgView: we,
151
+ getPcaText: be,
152
+ getFormatDate: Se,
153
+ handleColumnResult: Te,
154
+ hrefComponent: ke,
155
+ viewOnlineCellImage: Re
156
+ } = io(i, Q);
157
+ Ve(
153
158
  m,
154
159
  () => {
155
- Re();
160
+ Fe();
156
161
  },
157
162
  { immediate: !0 }
158
163
  );
159
- function Re() {
160
- return I(this, null, function* () {
164
+ function Fe() {
165
+ return B(this, null, function* () {
161
166
  y.value = !0;
162
- let n = yield v(so);
163
- Fe(n), yield A(), y.value = !1, i.execButtonEnhance("setup");
167
+ let n = yield D(q);
168
+ Ie(n), yield A(), y.value = !1, i.execButtonEnhance("setup");
164
169
  });
165
170
  }
166
- function Fe(n) {
167
- let t = z(n.enhanceJs);
168
- i.EnhanceJS = t, se(n.cgButtonList), ue(n.hideColumns), Se(n), h(n), i.hasChildrenField = n.hasChildrenField, i.pidField = n.pidField;
171
+ function Ie(n) {
172
+ let t = j(n.enhanceJs);
173
+ i.EnhanceJS = t, ue(n.cgButtonList), de(n.hideColumns), Te(n), h(n), i.hasChildrenField = n.hasChildrenField, i.pidField = n.pidField;
169
174
  }
170
175
  function Be(n, t) {
171
- i.queryParam = n, t === !0 ? c() : J();
176
+ i.queryParam = n, t === !0 ? c({ mode: "search" }) : J();
172
177
  }
173
- function Ie(n) {
174
- return I(this, null, function* () {
175
- yield io(R), R.value.init(n);
178
+ function Ee(n) {
179
+ return B(this, null, function* () {
180
+ yield lo(R), R.value.init(n);
176
181
  });
177
182
  }
178
- function Ee(n, t) {
183
+ function De(n, t) {
179
184
  let b = u.value;
180
185
  if (n) {
181
186
  if (ve(t.id), t.children.length > 0 && t.children[0].isLoading === !0) {
182
187
  let F = i.hasChildrenField;
183
- const { sortField: Me, sortType: _e } = i;
184
- let M = Object.assign({}, { column: Me, order: _e });
188
+ const { sortField: _e, sortType: Qe } = i;
189
+ let M = Object.assign({}, { column: _e, order: Qe });
185
190
  M[i.pidField] = t.id, M[F] = t[F];
186
- let Qe = `${i.onlineUrl.getTreeData}${i.ID}`;
187
- lo.get({ url: Qe, params: M }, { isTransformResponse: !1 }).then((B) => {
188
- console.log("handleExpand", B.result), B.success ? Number(B.result.total) > 0 ? t.children = w(B.result.records) : (t.children = "", t.hasChildrenField = "0") : e.warning(B.message);
191
+ let $e = `${i.onlineUrl.getTreeData}${i.ID}`;
192
+ ao.get({ url: $e, params: M }, { isTransformResponse: !1 }).then((I) => {
193
+ I.success ? Number(I.result.total) > 0 ? t.children = w(I.result.records) : (t.children = "", t.hasChildrenField = "0") : e.warning(I.message);
189
194
  }).catch(() => {
190
195
  e.warning("加载子节点失败!");
191
196
  });
@@ -200,12 +205,12 @@ const po = {
200
205
  t && t.indexOf(n) < 0 && t.push(n), u.value = t;
201
206
  }
202
207
  function J() {
203
- return I(this, null, function* () {
208
+ return B(this, null, function* () {
204
209
  i.isTree() === !0 && (u.value = [], T.value.collapseAll()), c();
205
210
  });
206
211
  }
207
- function De(n) {
208
- if (console.log("expandedRowKeys.value", u.value), K.value === !0) {
212
+ function Ae(n) {
213
+ if (H.value === !0) {
209
214
  let t = n[i.pidField];
210
215
  if (t) {
211
216
  let b = u.value;
@@ -214,27 +219,27 @@ const po = {
214
219
  }
215
220
  c();
216
221
  }
217
- const Ae = (n) => ({
222
+ const Le = (n) => ({
218
223
  label: "添加下级",
219
- onClick: Le.bind(null, n)
220
- }), K = H(!1);
221
- function Le(n) {
222
- K.value = !0;
224
+ onClick: Oe.bind(null, n)
225
+ }), H = K(!1);
226
+ function Oe(n) {
227
+ H.value = !0;
223
228
  let t = {
224
229
  [i.pidField]: n.id
225
230
  };
226
231
  $(t);
227
232
  }
228
- function Oe(n) {
229
- let t = ae(n);
230
- return t.unshift(Ae(n)), t;
233
+ function Me(n) {
234
+ let t = re(n, { themeTemplate: q });
235
+ return t.unshift(Le(n)), t;
231
236
  }
232
237
  return {
233
238
  ID: m,
234
239
  // 查询区域
235
240
  onlineQueryFormOuter: k,
236
241
  queryWithCondition: Be,
237
- onQueryFormLoaded: Ie,
242
+ onQueryFormLoaded: Ee,
238
243
  reload: c,
239
244
  //高级查询
240
245
  superQueryButtonRef: R,
@@ -242,54 +247,54 @@ const po = {
242
247
  handleSuperQuery: O,
243
248
  // table区域
244
249
  loading: y,
245
- columns: pe,
246
- actionColumn: me,
250
+ columns: me,
251
+ actionColumn: ce,
247
252
  dataSource: r,
248
253
  pagination: s,
249
- rowSelection: ge,
250
- selectedKeys: ce,
251
- tableScroll: fe,
252
- enableScrollBar: he,
253
- handleChangeInTable: D,
254
+ rowSelection: he,
255
+ selectedKeys: ge,
256
+ tableScroll: Ce,
257
+ enableScrollBar: fe,
258
+ handleChangeInTable: v,
254
259
  //按钮
255
- buttonSwitch: j,
260
+ buttonSwitch: U,
256
261
  handleAdd: $,
257
- handleEdit: Y,
258
- onImportExcel: ee,
259
- onExportExcel: oe,
260
- cgTopButtonList: W,
261
- cgLinkButtonList: U,
262
- cgButtonJsHandler: ne,
263
- cgButtonActionHandler: te,
264
- cgButtonLinkHandler: ie,
265
- handleBatchDelete: Z,
262
+ handleEdit: Z,
263
+ onImportExcel: oe,
264
+ onExportExcel: ne,
265
+ cgTopButtonList: G,
266
+ cgLinkButtonList: W,
267
+ cgButtonJsHandler: te,
268
+ cgButtonActionHandler: ie,
269
+ cgButtonLinkHandler: le,
270
+ handleBatchDelete: x,
266
271
  // table-slot
267
- downloadRowFile: Ce,
268
- getImgView: ye,
269
- getPcaText: we,
270
- getFormatDate: be,
272
+ downloadRowFile: ye,
273
+ getImgView: we,
274
+ getPcaText: be,
275
+ getFormatDate: Se,
271
276
  // 操作列
272
- getActions: re,
273
- getTreeDropDownActions: Oe,
277
+ getActions: se,
278
+ getTreeDropDownActions: Me,
274
279
  // 弹窗
275
- registerModal: X,
280
+ registerModal: Y,
276
281
  registerCustomModal: o,
277
- registerImportModal: x,
278
- importUrl: G,
279
- handleFormConfig: V,
282
+ registerImportModal: ee,
283
+ importUrl: X,
284
+ handleFormConfig: z,
280
285
  //其他
281
- tableReloading: N,
282
- handleSubmitFlow: le,
283
- hrefComponent: Te,
284
- viewOnlineCellImage: ke,
286
+ tableReloading: V,
287
+ handleSubmitFlow: ae,
288
+ hrefComponent: ke,
289
+ viewOnlineCellImage: Re,
285
290
  //树特定的配置
286
291
  onlineTreeTableRef: T,
287
- handlerFormSuccess: De,
292
+ handlerFormSuccess: Ae,
288
293
  searchReset: J,
289
- handleExpand: Ee,
294
+ handleExpand: De,
290
295
  expandedRowKeys: u,
291
- handleExpandedRowsChange: q,
292
- registerDetailModal: de
296
+ handleExpandedRowsChange: N,
297
+ registerDetailModal: pe
293
298
  };
294
299
  }
295
300
  // 1引入了loadsh console.log(that.simpleDateFormat(new Date().getTime(),'yyyy-MM-dd'));
@@ -309,7 +314,7 @@ const mo = { class: "p-2" }, co = {
309
314
  style: { "font-size": "12px", "font-style": "italic" }
310
315
  }, ho = ["src", "onClick"], fo = ["innerHTML"], Co = ["title"];
311
316
  function yo(e, T, m, i, k, y) {
312
- const c = d("online-query-form"), r = d("a-button"), s = d("online-super-query"), h = d("TableAction"), v = d("BasicTable"), D = d("OnlineAutoModal"), A = d("JImportModal"), R = d("a-modal"), L = d("online-custom-modal"), O = d("online-detail-modal");
317
+ const c = d("online-query-form"), r = d("a-button"), s = d("online-super-query"), h = d("TableAction"), D = d("BasicTable"), v = d("OnlineAutoModal"), A = d("JImportModal"), R = d("a-modal"), L = d("online-custom-modal"), O = d("online-detail-modal");
313
318
  return l(), S("div", mo, [
314
319
  f(c, {
315
320
  ref: "onlineQueryFormOuter",
@@ -317,7 +322,7 @@ function yo(e, T, m, i, k, y) {
317
322
  onSearch: e.queryWithCondition,
318
323
  onLoaded: e.onQueryFormLoaded
319
324
  }, null, 8, ["id", "onSearch", "onLoaded"]),
320
- e.tableReloading ? g("", !0) : (l(), p(v, {
325
+ e.tableReloading ? g("", !0) : (l(), p(D, {
321
326
  key: 0,
322
327
  ref: "onlineTreeTableRef",
323
328
  isTreeTable: !0,
@@ -338,7 +343,7 @@ function yo(e, T, m, i, k, y) {
338
343
  clickToRowSelect: !1,
339
344
  scroll: e.tableScroll,
340
345
  onTableRedo: e.reload,
341
- class: Ve({ "j-table-force-nowrap": e.enableScrollBar }),
346
+ class: ze({ "j-table-force-nowrap": e.enableScrollBar }),
342
347
  onChange: e.handleChangeInTable
343
348
  }, {
344
349
  tableTitle: a(() => [
@@ -375,7 +380,7 @@ function yo(e, T, m, i, k, y) {
375
380
  ]),
376
381
  _: 1
377
382
  }, 8, ["onClick"])) : g("", !0),
378
- e.cgTopButtonList && e.cgTopButtonList.length > 0 ? (l(!0), S(P, { key: 3 }, ze(e.cgTopButtonList, (o, w) => (l(), S(P, null, [
383
+ e.cgTopButtonList && e.cgTopButtonList.length > 0 ? (l(!0), S(P, { key: 3 }, je(e.cgTopButtonList, (o, w) => (l(), S(P, null, [
379
384
  o.optType == "js" ? (l(), p(r, {
380
385
  key: "cgbtn" + w,
381
386
  onClick: (u) => e.cgButtonJsHandler(o.buttonCode),
@@ -398,7 +403,7 @@ function yo(e, T, m, i, k, y) {
398
403
  _: 2
399
404
  }, 1032, ["onClick", "preIcon"])) : g("", !0)
400
405
  ], 64))), 256)) : g("", !0),
401
- e.buttonSwitch.batch_delete ? je((l(), p(r, {
406
+ e.buttonSwitch.batch_delete ? Ue((l(), p(r, {
402
407
  key: 4,
403
408
  preIcon: "ant-design:delete-outlined",
404
409
  onClick: e.handleBatchDelete
@@ -408,7 +413,7 @@ function yo(e, T, m, i, k, y) {
408
413
  ]),
409
414
  _: 1
410
415
  }, 8, ["onClick"])), [
411
- [Ue, e.selectedKeys.length > 0]
416
+ [We, e.selectedKeys.length > 0]
412
417
  ]) : g("", !0),
413
418
  e.buttonSwitch.super_query ? (l(), p(s, {
414
419
  key: 5,
@@ -461,7 +466,7 @@ function yo(e, T, m, i, k, y) {
461
466
  ]),
462
467
  _: 1
463
468
  }, 8, ["expandedRowKeys", "onExpandedRowsChange", "onExpand", "loading", "columns", "dataSource", "pagination", "rowSelection", "actionColumn", "scroll", "onTableRedo", "class", "onChange"])),
464
- f(D, {
469
+ f(v, {
465
470
  id: e.ID,
466
471
  onRegister: e.registerModal,
467
472
  onSuccess: e.handlerFormSuccess,
@@ -473,9 +478,9 @@ function yo(e, T, m, i, k, y) {
473
478
  onOk: e.reload,
474
479
  online: ""
475
480
  }, null, 8, ["onRegister", "url", "onOk"]),
476
- f(R, We(e.hrefComponent.model, Ge(e.hrefComponent.on)), {
481
+ f(R, Ge(e.hrefComponent.model, Xe(e.hrefComponent.on)), {
477
482
  default: a(() => [
478
- (l(), p(Xe(e.hrefComponent.is), Ye(Ze(e.hrefComponent.params)), null, 16))
483
+ (l(), p(Ye(e.hrefComponent.is), Ze(xe(e.hrefComponent.params)), null, 16))
479
484
  ]),
480
485
  _: 1
481
486
  }, 16),
@@ -489,7 +494,7 @@ function yo(e, T, m, i, k, y) {
489
494
  }, null, 8, ["id", "onRegister"])
490
495
  ]);
491
496
  }
492
- const Fn = /* @__PURE__ */ uo(po, [["render", yo]]);
497
+ const Ln = /* @__PURE__ */ uo(po, [["render", yo]]);
493
498
  export {
494
- Fn as default
499
+ Ln as default
495
500
  };