@jeecg/online 3.7.0-beta → 3.7.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 (95) hide show
  1. package/{AiModal-fe3988fb.mjs → AiModal-6de335e3.mjs} +1 -1
  2. package/AuthButtonConfig-89763932.mjs +154 -0
  3. package/{AuthButtonTree-589395ed.mjs → AuthButtonTree-2d87d0b3.mjs} +6 -5
  4. package/{AuthDataConfig-7bb0cd85.mjs → AuthDataConfig-5c3a8e6b.mjs} +11 -10
  5. package/{AuthDataTree-6e3bb86f.mjs → AuthDataTree-dd7a1240.mjs} +6 -6
  6. package/AuthFieldConfig-9f6fa06c.mjs +245 -0
  7. package/{AuthFieldTree-b7cd091e.mjs → AuthFieldTree-e326fc38.mjs} +2 -2
  8. package/{AuthManagerDrawer-5e2ed5ce.mjs → AuthManagerDrawer-76f15e8d.mjs} +9 -8
  9. package/{AuthSetterModal-6f74449c.mjs → AuthSetterModal-f5d2e87f.mjs} +12 -11
  10. package/{CgformCopyList-8077ccc6.mjs → CgformCopyList-365b3e8f.mjs} +43 -42
  11. package/CgformModal-21c5c387.mjs +671 -0
  12. package/{CgreportModal-5a23d089.mjs → CgreportModal-edefa8e3.mjs} +15 -14
  13. package/{CheckDictTable-b5cb0e2b.mjs → CheckDictTable-1bc8322d.mjs} +36 -33
  14. package/{CodeFileListModal-0e26b7e0.mjs → CodeFileListModal-24601898.mjs} +5 -4
  15. package/{CodeFileViewModal-9d4a5b5f.mjs → CodeFileViewModal-2fe911f4.mjs} +89 -84
  16. package/CodeGeneratorModal-f09fe903.mjs +282 -0
  17. package/{CustomButtonList-37639061.mjs → CustomButtonList-f07bc695.mjs} +108 -92
  18. package/{DBAttributeTable-95dc66c1.mjs → DBAttributeTable-285d40db.mjs} +79 -71
  19. package/DbToOnlineModal-5dcb67c3.mjs +169 -0
  20. package/{DetailForm-4aa2570b.mjs → DetailForm-deecbf3d.mjs} +50 -49
  21. package/{EnhanceJavaModal-98934198.mjs → EnhanceJavaModal-45c66cd5.mjs} +2 -2
  22. package/{EnhanceJsHistory-9c4acdaf.mjs → EnhanceJsHistory-fab3102e.mjs} +1 -1
  23. package/{EnhanceJsModal-247f640d.mjs → EnhanceJsModal-175357a1.mjs} +119 -103
  24. package/{EnhanceSqlModal-65b74b0f.mjs → EnhanceSqlModal-7ea1b300.mjs} +2 -2
  25. package/{ExtendConfigModal-00f2fb55.mjs → ExtendConfigModal-a89ae052.mjs} +2 -2
  26. package/{FieldExtendJsonModal-cc7fce26.mjs → FieldExtendJsonModal-32135634.mjs} +2 -2
  27. package/{FileSelectModal-38660e3c.mjs → FileSelectModal-1643c8b9.mjs} +1 -1
  28. package/{ForeignKeyTable-a78cb5ad.mjs → ForeignKeyTable-7f7e28a7.mjs} +2 -2
  29. package/{IndexTable-1b496559.mjs → IndexTable-cdcc2b48.mjs} +27 -19
  30. package/{JModalTip-4a83aaed.mjs → JModalTip-b055ab60.mjs} +1 -1
  31. package/JOnlineSearchSelect-22aae934.mjs +128 -0
  32. package/{LeftDepart-8ade4bf7.mjs → LeftDepart-d5615ed9.mjs} +1 -1
  33. package/{LeftRole-7d8c5acc.mjs → LeftRole-2ed8a2bf.mjs} +1 -1
  34. package/{LeftUser-b4d1372a.mjs → LeftUser-22baa378.mjs} +1 -1
  35. package/{LinkTableConfigModal-a138c85e.mjs → LinkTableConfigModal-9242d750.mjs} +1 -1
  36. package/{LinkTableFieldConfigModal-17b413b0.mjs → LinkTableFieldConfigModal-24adc50c.mjs} +1 -1
  37. package/{LinkTableListPiece-2660d709.mjs → LinkTableListPiece-f3a8e0d7.mjs} +1 -1
  38. package/{ModalFormDemo-0544737d.mjs → ModalFormDemo-711418db.mjs} +1 -1
  39. package/{OnlCgformErpList-30e416c8.mjs → OnlCgformErpList-58acdfa0.mjs} +121 -121
  40. package/{OnlCgformErpSubTable-9a876058.mjs → OnlCgformErpSubTable-9b1e1938.mjs} +149 -150
  41. package/{OnlCgformInnerSubTable-290ace5d.mjs → OnlCgformInnerSubTable-6c23781f.mjs} +96 -97
  42. package/{OnlCgformInnerTableList-f89b6687.mjs → OnlCgformInnerTableList-4b5e14ed.mjs} +156 -156
  43. package/{OnlCgformTabList-7a2f2c03.mjs → OnlCgformTabList-019ad753.mjs} +138 -138
  44. package/{OnlineAutoList-46c6c8b9.mjs → OnlineAutoList-48589d09.mjs} +90 -90
  45. package/{OnlineAutoModal-971bef13.mjs → OnlineAutoModal-c2928847.mjs} +64 -61
  46. package/{OnlineAutoTreeList-3b92454c.mjs → OnlineAutoTreeList-3baa1d00.mjs} +20 -19
  47. package/{OnlineCustomModal-594244f3.mjs → OnlineCustomModal-9e17b6ce.mjs} +8 -8
  48. package/{OnlineDetailModal-2a271e0b.mjs → OnlineDetailModal-d5895734.mjs} +8 -8
  49. package/OnlineForm-9f1153ba.mjs +985 -0
  50. package/{OnlineFormDetail-e036cd11.mjs → OnlineFormDetail-022ca117.mjs} +7 -7
  51. package/{OnlineFormUrlAdd-7fb3dcca.mjs → OnlineFormUrlAdd-9715d70a.mjs} +10 -10
  52. package/{OnlineFormUrlDetail-b2292137.mjs → OnlineFormUrlDetail-8f864b1a.mjs} +12 -12
  53. package/{OnlineFormUrlEdit-44080fb3.mjs → OnlineFormUrlEdit-ac985b36.mjs} +10 -10
  54. package/{OnlineFormUrlSuccess-af285b02.mjs → OnlineFormUrlSuccess-3dfc54ab.mjs} +1 -1
  55. package/OnlineQueryForm-eedb9a60.mjs +466 -0
  56. package/{OnlineSearchFormItem-6feacae6.mjs → OnlineSearchFormItem-6c557343.mjs} +2 -2
  57. package/{OnlineSelectCascade-471fcc76.mjs → OnlineSelectCascade-05c40fef.mjs} +1 -1
  58. package/{OnlineSubFormDetail-03f8ee5c.mjs → OnlineSubFormDetail-58e896ce.mjs} +7 -7
  59. package/{OnlineTabAutoModal-7b9bcd0b.mjs → OnlineTabAutoModal-47b18ad6.mjs} +7 -7
  60. package/{OnlineTabDetailModal-88143301.mjs → OnlineTabDetailModal-82de1465.mjs} +8 -8
  61. package/{OnlineTabForm-9ad7d29a.mjs → OnlineTabForm-27655c83.mjs} +236 -224
  62. package/{OnlineTabFormDetail-bbf23caa.mjs → OnlineTabFormDetail-8d0c40c0.mjs} +7 -7
  63. package/{PageAttributeTable-6c23547b.mjs → PageAttributeTable-25e3b7da.mjs} +156 -136
  64. package/{ProcessOnlineForm-b42198f5.mjs → ProcessOnlineForm-148632fe.mjs} +61 -55
  65. package/{QueryTable-96b3dbd0.mjs → QueryTable-f7bfca7f.mjs} +39 -36
  66. package/{SetSwitchOptions-a452fa0f.mjs → SetSwitchOptions-b2af757f.mjs} +1 -1
  67. package/SuperQuery-a8592995.mjs +967 -0
  68. package/auth.api-ea1d33d4.mjs +41 -0
  69. package/{auth.data-22948e87.mjs → auth.data-511e5197.mjs} +62 -28
  70. package/{enhance.data-3304d553.mjs → enhance.data-a67572e1.mjs} +8 -7
  71. package/index-1d1a6e56.mjs +57 -0
  72. package/{index-d2abb8a0.mjs → index-30e0e923.mjs} +48 -47
  73. package/{index-581bef24.mjs → index-f30613d1.mjs} +2 -2
  74. package/main.index.js +1 -1
  75. package/package.json +1 -1
  76. package/style.css +1 -1
  77. package/{useCgformList-8755a94e.mjs → useCgformList-f41d4dc1.mjs} +1 -1
  78. package/useExtendComponent-dcae5c78.mjs +4399 -0
  79. package/{useListButton-7ddb9a46.mjs → useListButton-bfac4ecf.mjs} +45 -45
  80. package/{useSchemas-47e45edc.mjs → useSchemas-a9c75b0f.mjs} +55 -46
  81. package/useTableSync-d7e9f18d.mjs +89 -0
  82. package/AuthButtonConfig-d50a0a65.mjs +0 -134
  83. package/AuthFieldConfig-490fc0ab.mjs +0 -139
  84. package/CgformModal-36faf29a.mjs +0 -621
  85. package/CodeGeneratorModal-b722d976.mjs +0 -238
  86. package/DbToOnlineModal-f49b9530.mjs +0 -166
  87. package/JOnlineSearchSelect-34a37ec9.mjs +0 -95
  88. package/OnlineForm-018981b2.mjs +0 -924
  89. package/OnlineQueryForm-998c12a4.mjs +0 -444
  90. package/SuperQuery-cbfba908.mjs +0 -975
  91. package/auth.api-d3a6c4b3.mjs +0 -39
  92. package/index-173949bb.mjs +0 -57
  93. package/useExtendComponent-bb7cca20.mjs +0 -4295
  94. package/useTableSync-f6089e8a.mjs +0 -87
  95. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs} +0 -0
@@ -1,47 +1,49 @@
1
- var wt = Object.defineProperty;
1
+ var Ct = Object.defineProperty, kt = Object.defineProperties;
2
+ var Ot = Object.getOwnPropertyDescriptors;
2
3
  var ye = Object.getOwnPropertySymbols;
3
- var St = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable;
4
- var ve = (r, c, i) => c in r ? wt(r, c, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[c] = i, R = (r, c) => {
5
- for (var i in c || (c = {}))
6
- St.call(c, i) && ve(r, i, c[i]);
4
+ var Pt = Object.prototype.hasOwnProperty, Rt = Object.prototype.propertyIsEnumerable;
5
+ var ve = (i, c, r) => c in i ? Ct(i, c, { enumerable: !0, configurable: !0, writable: !0, value: r }) : i[c] = r, R = (i, c) => {
6
+ for (var r in c || (c = {}))
7
+ Pt.call(c, r) && ve(i, r, c[r]);
7
8
  if (ye)
8
- for (var i of ye(c))
9
- Ct.call(c, i) && ve(r, i, c[i]);
10
- return r;
11
- };
12
- var _ = (r, c, i) => new Promise((a, V) => {
13
- var T = (h) => {
9
+ for (var r of ye(c))
10
+ Rt.call(c, r) && ve(i, r, c[r]);
11
+ return i;
12
+ }, Fe = (i, c) => kt(i, Ot(c));
13
+ var _ = (i, c, r) => new Promise((a, V) => {
14
+ var w = (g) => {
14
15
  try {
15
- y(i.next(h));
16
- } catch (p) {
17
- V(p);
16
+ y(r.next(g));
17
+ } catch (h) {
18
+ V(h);
18
19
  }
19
- }, O = (h) => {
20
+ }, O = (g) => {
20
21
  try {
21
- y(i.throw(h));
22
- } catch (p) {
23
- V(p);
22
+ y(r.throw(g));
23
+ } catch (h) {
24
+ V(h);
24
25
  }
25
- }, y = (h) => h.done ? a(h.value) : Promise.resolve(h.value).then(T, O);
26
- y((i = i.apply(r, c)).next());
26
+ }, y = (g) => g.done ? a(g.value) : Promise.resolve(g.value).then(w, O);
27
+ y((r = r.apply(i, c)).next());
27
28
  });
28
- import { useMessage as kt } from "/@/hooks/web/useMessage";
29
- import { ref as m, reactive as Ot, computed as Pt, watch as Vt, resolveComponent as v, openBlock as C, createElementBlock as U, normalizeClass as xt, createVNode as k, withCtx as A, createBlock as q, Fragment as Rt, renderList as At, normalizeStyle as Mt, createElementVNode as oe, createCommentVNode as $, renderSlot as Dt, unref as Fe, nextTick as _e, toRaw as M, pushScopeId as Et, popScopeId as It } from "vue";
30
- import { BasicForm as jt, useForm as Bt } from "/@/components/Form/index";
31
- import { c as Nt, O as Lt, d as Jt, e as Ut, u as qt, l as K, g as Kt, V as j, S as Ht, f as Wt, h as Te } from "./useExtendComponent-bb7cca20.mjs";
29
+ import { useMessage as Vt } from "/@/hooks/web/useMessage";
30
+ import { ref as p, reactive as xt, computed as At, watch as Mt, resolveComponent as v, openBlock as C, createElementBlock as U, normalizeClass as Dt, createVNode as k, withCtx as A, createBlock as q, Fragment as Et, renderList as jt, normalizeStyle as It, createElementVNode as oe, createCommentVNode as $, renderSlot as Bt, unref as _e, nextTick as we, toRaw as M, pushScopeId as Nt, popScopeId as Lt } from "vue";
31
+ import { BasicForm as Jt, useForm as Ut } from "/@/components/Form/index";
32
+ import { c as qt, O as Kt, d as Ht, e as Wt, u as Gt, l as K, g as zt, V as I, S as Qt, f as Yt, h as Te } from "./useExtendComponent-dcae5c78.mjs";
32
33
  import { defHttp as ee } from "/@/utils/http/axios";
33
- import { pick as Gt, omit as we } from "lodash-es";
34
- import { sleep as zt, goJmReportViewPage as Qt } from "/@/utils";
35
- import { Loading as Yt } from "/@/components/Loading";
36
- import { getToken as Xt } from "/@/utils/auth";
37
- import { PrinterOutlined as Zt, DiffOutlined as $t, FormOutlined as eo } from "@ant-design/icons-vue";
38
- import { useModal as to } from "/@/components/Modal";
39
- import { u as oo, G as lo } from "./useCustomHook-acb00837.mjs";
40
- import { useAppInject as no } from "/@/hooks/web/useAppInject";
41
- import { _ as ao } from "./index-173949bb.mjs";
34
+ import { pick as Xt, omit as Se } from "lodash-es";
35
+ import { sleep as Zt, goJmReportViewPage as $t } from "/@/utils";
36
+ import { Loading as eo } from "/@/components/Loading";
37
+ import { getToken as to } from "/@/utils/auth";
38
+ import { PrinterOutlined as oo, DiffOutlined as lo, FormOutlined as no } from "@ant-design/icons-vue";
39
+ import { useModal as ao } from "/@/components/Modal";
40
+ import { u as io, G as ro } from "./useCustomHook-acb00837.mjs";
41
+ import { useAppInject as so } from "/@/hooks/web/useAppInject";
42
+ import { _ as uo } from "./index-1d1a6e56.mjs";
42
43
  import "/@/components/Form/src/componentMap";
43
44
  import "/@/utils/propTypes";
44
45
  import "./constant-fa63bd66.mjs";
46
+ import "/@/utils/common/compUtils";
45
47
  import "/@/components/Form/src/jeecg/components/JUpload";
46
48
  import "/@/utils/is";
47
49
  import "/@/views/system/user/user.api";
@@ -49,17 +51,16 @@ import "/@/store/modules/user";
49
51
  import "/@/utils/desform/customExpression";
50
52
  import "/@/store/modules/permission";
51
53
  import "/@/utils/dict/JDictSelectUtil";
52
- import "/@/utils/common/compUtils";
53
54
  import "/@/components/Table";
54
55
  import "/@/hooks/system/useListPage";
55
56
  import "vue-router";
56
57
  import "/@/components/Form/src/utils/Area";
57
58
  import "/@/components/Preview/index";
58
- import "./LinkTableListPiece-2660d709.mjs";
59
+ import "./LinkTableListPiece-f3a8e0d7.mjs";
59
60
  import "/@/api/common/api";
60
61
  import "/@/assets/images/placeholderImage.png";
61
- import "./OnlineSelectCascade-471fcc76.mjs";
62
- import "./JModalTip-4a83aaed.mjs";
62
+ import "./OnlineSelectCascade-05c40fef.mjs";
63
+ import "./JModalTip-b055ab60.mjs";
63
64
  import "ant-design-vue";
64
65
  import "@vueuse/core";
65
66
  import "/@/utils/cache";
@@ -67,16 +68,16 @@ import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
67
68
  const te = {
68
69
  optPre: "/online/cgform/api/form/",
69
70
  urlButtonAction: "/online/cgform/api/doButton"
70
- }, io = {
71
+ }, co = {
71
72
  name: "OnlineTabForm",
72
73
  components: {
73
- BasicForm: jt,
74
- Loading: Yt,
75
- OnlineSubForm: Nt,
76
- PrinterOutlined: Zt,
77
- DiffOutlined: $t,
78
- FormOutlined: eo,
79
- OnlinePopModal: Lt
74
+ BasicForm: Jt,
75
+ Loading: eo,
76
+ OnlineSubForm: qt,
77
+ PrinterOutlined: oo,
78
+ DiffOutlined: lo,
79
+ FormOutlined: no,
80
+ OnlinePopModal: Kt
80
81
  },
81
82
  props: {
82
83
  id: {
@@ -117,64 +118,64 @@ const te = {
117
118
  }
118
119
  },
119
120
  emits: ["success", "rendered", "toggleTab"],
120
- setup(r, { emit: c }) {
121
- const { createMessage: i } = kt(), a = m(null), V = m(!0), T = m(!1), O = m(1), y = m(""), h = m(!1), p = m(!1), { getIsMobile: B } = no(), H = m(!B.value), P = Ot({
121
+ setup(i, { emit: c }) {
122
+ const { createMessage: r } = Vt(), a = p(null), V = p(!0), w = p(!1), O = p(1), y = p(""), g = p(!1), h = p(!1), { getIsMobile: B } = so(), H = p(!B.value), P = xt({
122
123
  reportPrintShow: 0,
123
124
  reportPrintUrl: "",
124
125
  joinQuery: 0,
125
126
  modelFullscreen: 0,
126
127
  modalMinWidth: "",
127
128
  commentStatus: 0
128
- }), { onlineFormContext: f, resetContext: W } = Jt(), {
129
+ }), { onlineFormContext: f, resetContext: W } = Ht(), {
129
130
  formSchemas: D,
130
131
  defaultValueFields: s,
131
132
  changeDataIfArray2String: N,
132
133
  tableName: d,
133
- dbData: w,
134
- checkOnlyFieldValue: Se,
135
- hasSubTable: Ce,
134
+ dbData: T,
135
+ checkOnlyFieldValue: Ce,
136
+ hasSubTable: ke,
136
137
  subTabInfo: E,
137
138
  refMap: G,
138
139
  subDataSource: L,
139
- baseColProps: ke,
140
- createFormSchemas: Oe,
141
- fieldDisplayStatus: I,
142
- labelCol: Pe,
140
+ baseColProps: Oe,
141
+ createFormSchemas: Pe,
142
+ fieldDisplayStatus: j,
143
+ labelCol: Re,
143
144
  wrapperCol: Ve,
144
145
  labelWidth: xe
145
- } = Ut(r, a);
146
- let { EnhanceJS: u, initCgEnhanceJs: Re } = qt(f, !1);
147
- const { executeJsEnhanced: Ae } = oo({}, f), [Me, { setProps: De, validate: le, resetFields: ne, clearValidate: Ee, setFieldsValue: S, updateSchema: z, getFieldsValue: Q, scrollToField: ae }] = Bt({
146
+ } = Wt(i, a);
147
+ let { EnhanceJS: u, initCgEnhanceJs: Ae } = Gt(f, !1);
148
+ const { executeJsEnhanced: Me } = io({}, f), [De, { setProps: Ee, validate: le, resetFields: ne, clearValidate: je, setFieldsValue: S, updateSchema: z, getFieldsValue: Q, scrollToField: ae }] = Ut({
148
149
  schemas: D,
149
150
  showActionButtonGroup: !1,
150
- baseColProps: ke,
151
+ baseColProps: Oe,
151
152
  // update-begin--author:liaozhiyang---date:20240329---for:【QQYUN-7872】online表单label较长优化
152
153
  labelWidth: xe,
153
154
  // update-end--author:liaozhiyang---date:20240329---for:【QQYUN-7872】online表单label较长优化
154
155
  // update-begin--author:liaozhiyang---date:20240105---for:【QQYUN-7499】多列风格富文本、markdown增加独占一行功能
155
- labelCol: Pe,
156
+ labelCol: Re,
156
157
  wrapperCol: Ve
157
158
  // update-end--author:liaozhiyang---date:20240105---for:【QQYUN-7499】多列风格富文本、markdown增加独占一行功能
158
- }), ie = m(!1);
159
+ }), ie = p(!1);
159
160
  function Ie() {
160
- let e = r.disabled;
161
- ie.value = e, De({ disabled: e });
161
+ let e = i.disabled;
162
+ ie.value = e, Ee({ disabled: e });
162
163
  }
163
- function je(e, t, o) {
164
+ function Be(e, t, o) {
164
165
  return _(this, null, function* () {
165
- yield Be(), y.value = "", yield ne(), setTimeout(() => {
166
- Ee();
167
- }, 0), w.value = "";
168
- let l = Fe(e);
169
- p.value = l, l ? yield se(t) : ue(), _e(() => {
170
- !l && o && S(o), Ne(), Y("js", "loaded"), Ie();
166
+ yield Ne(), y.value = "", yield ne(), setTimeout(() => {
167
+ je();
168
+ }, 0), T.value = "";
169
+ let l = _e(e);
170
+ h.value = l, l ? yield se(t) : ue(), we(() => {
171
+ !l && o && S(o), Le(), Y("js", "loaded"), Ie();
171
172
  });
172
173
  });
173
174
  }
174
- function Be() {
175
+ function Ne() {
175
176
  return _(this, null, function* () {
176
- if (r.isTree === !0) {
177
- let e = r.pidField, t = D.value;
177
+ if (i.isTree === !0) {
178
+ let e = i.pidField, t = D.value;
178
179
  t && t.length > 0 && t.filter((l) => l.field === e).length > 0 && (yield z({
179
180
  field: e,
180
181
  componentProps: {
@@ -187,8 +188,8 @@ const te = {
187
188
  }
188
189
  });
189
190
  }
190
- function Ne() {
191
- if (Fe(p) === !1) {
191
+ function Le() {
192
+ if (_e(h) === !1) {
192
193
  let e = M(s[d.value]);
193
194
  K(e, (t) => {
194
195
  S(t);
@@ -198,17 +199,17 @@ const te = {
198
199
  function re(e, t) {
199
200
  let o = M(s[e.key]);
200
201
  K(o, (l) => {
201
- const { row: n, target: g } = t;
202
+ const { row: n, target: m } = t;
202
203
  let F = [{ rowKey: n.id, values: R({}, l) }];
203
- g.setValues(F);
204
+ m.setValues(F);
204
205
  });
205
206
  }
206
207
  function se(e) {
207
208
  return _(this, null, function* () {
208
- let t = yield Je(e.id);
209
- w.value = Object.assign({}, e, t);
210
- let o = Le.value, l = Gt(t, ...o);
211
- r.disabled && Object.keys(l).map((n) => {
209
+ let t = yield Ue(e.id);
210
+ T.value = Object.assign({}, e, t);
211
+ let o = Je.value, l = Xt(t, ...o);
212
+ i.disabled && Object.keys(l).map((n) => {
212
213
  !l[n] && l[n] !== 0 && l[n] !== "0" && delete l[n];
213
214
  }), yield S(l), ue(t);
214
215
  });
@@ -223,68 +224,68 @@ const te = {
223
224
  L.value = o;
224
225
  }
225
226
  }
226
- let Le = Pt(() => {
227
+ let Je = At(() => {
227
228
  let e = D.value, t = [];
228
229
  for (let o of e)
229
230
  t.push(o.field);
230
231
  return t;
231
232
  });
232
- function Je(e) {
233
- let t = `${te.optPre}${r.id}/${e}`;
233
+ function Ue(e) {
234
+ let t = `${te.optPre}${i.id}/${e}`;
234
235
  return new Promise((o, l) => {
235
236
  ee.get({ url: t }, { isTransformResponse: !1 }).then((n) => {
236
- n.success ? o(n.result) : (l(), i.warning(n.message));
237
+ n.success ? o(n.result) : (l(), r.warning(n.message));
237
238
  }).catch(() => {
238
239
  l();
239
240
  });
240
241
  });
241
242
  }
242
- function Ue(e) {
243
+ function qe(e) {
243
244
  return _(this, null, function* () {
244
- O.value = e.head.tableType, d.value = e.head.tableName, V.value = e.head.tableType == 1, He(e.head.extConfigJson), Oe(e.schema.properties, e.schema.required, Se, P), u = Re(e.enhanceJs), c("rendered", P);
245
- let t = yield Kt(a);
245
+ O.value = e.head.tableType, d.value = e.head.tableName, V.value = e.head.tableType == 1, We(e.head.extConfigJson), Pe(e.schema.properties, e.schema.required, Ce, P), u = Ae(e.enhanceJs), c("rendered", P);
246
+ let t = yield zt(a);
246
247
  t.$formValueChange = (o, l, n) => {
247
- rt(o, l), n && S(n), qe(o, l, n);
248
+ ut(o, l), n && S(n), Ke(o, l, n);
248
249
  }, u && u.setup && me(u.setup);
249
250
  });
250
251
  }
251
- function qe(e, t, o) {
252
+ function Ke(e, t, o) {
252
253
  f.changEvent(e, t, o);
253
254
  }
254
- function Ke(e) {
255
+ function He(e) {
255
256
  f.addObject2Context("changEvent", e);
256
257
  }
257
- function He(e) {
258
+ function We(e) {
258
259
  let t = { reportPrintShow: 0, reportPrintUrl: "", joinQuery: 0, modelFullscreen: 0, modalMinWidth: "", commentStatus: 0, formLabelLength: null };
259
260
  e && (t = JSON.parse(e)), Object.keys(t).map((o) => {
260
261
  P[o] = t[o];
261
262
  });
262
263
  }
263
- function We() {
264
- V.value === !0 ? Xe() : Ge();
265
- }
266
264
  function Ge() {
267
- ze().then((e) => {
265
+ V.value === !0 ? Ze() : ze();
266
+ }
267
+ function ze() {
268
+ Qe().then((e) => {
268
269
  ce(e);
269
270
  });
270
271
  }
271
- function ze() {
272
+ function Qe() {
272
273
  let e = {};
273
274
  return new Promise((t, o) => {
274
275
  le().then(
275
276
  (l) => t(l),
276
277
  ({ errorFields: l }) => {
277
278
  o({
278
- code: j,
279
+ code: I,
279
280
  key: d.value,
280
281
  // 滚动到未通过校验的字段上
281
282
  scrollToField: () => l[0] && ae(l[0].name, { behavior: "smooth", block: "center" })
282
283
  });
283
284
  }
284
285
  );
285
- }).then((t) => (Object.assign(e, N(t)), Ye())).then((t) => (Object.assign(e, t), Promise.resolve(e))).catch((t) => ((t === j || (t == null ? void 0 : t.code) === j) && (i.warning("校验未通过"), t.key && (Qe(t.key), t.scrollToField && setTimeout(() => t.scrollToField(), 150))), Promise.reject(null)));
286
+ }).then((t) => (Object.assign(e, N(t)), Xe())).then((t) => (Object.assign(e, t), Promise.resolve(e))).catch((t) => ((t === I || (t == null ? void 0 : t.code) === I) && (r.warning("校验未通过"), t.key && (Ye(t.key), t.scrollToField && setTimeout(() => t.scrollToField(), 150))), Promise.reject(null)));
286
287
  }
287
- function Qe(e) {
288
+ function Ye(e) {
288
289
  if (e === d.value) {
289
290
  c("toggleTab", "-1");
290
291
  return;
@@ -297,29 +298,29 @@ const te = {
297
298
  break;
298
299
  if (c("toggleTab", l), t[o].relationType === 0) {
299
300
  let n = b(e);
300
- zt(300, () => n == null ? void 0 : n.validateTable());
301
+ Zt(300, () => n == null ? void 0 : n.validateTable());
301
302
  }
302
303
  break;
303
304
  }
304
305
  }
305
- function Ye() {
306
+ function Xe() {
306
307
  return new Promise((e, t) => _(this, null, function* () {
307
308
  let o = {};
308
309
  try {
309
310
  let l = E.value;
310
311
  for (let n = 0; n < l.length; n++) {
311
- let g = l[n].key, F = b(g);
312
+ let m = l[n].key, F = b(m);
312
313
  if (l[n].relationType == 1)
313
314
  try {
314
315
  let x = yield F.getAll();
315
- o[g] = [], o[g].push(x);
316
+ o[m] = [], o[m].push(x);
316
317
  } catch (x) {
317
- return t(R({ code: j, key: g }, x));
318
+ return t(R({ code: I, key: m }, x));
318
319
  }
319
320
  else {
320
321
  if (yield F.fullValidateTable())
321
- return t({ code: j, key: g });
322
- o[g] = F.getTableData();
322
+ return t({ code: I, key: m });
323
+ o[m] = F.getTableData();
323
324
  }
324
325
  }
325
326
  } catch (l) {
@@ -328,39 +329,39 @@ const te = {
328
329
  e(o);
329
330
  }));
330
331
  }
331
- function Xe() {
332
+ function Ze() {
332
333
  return _(this, null, function* () {
333
334
  try {
334
335
  let e = yield le();
335
- e = Object.assign({}, w.value, e), e = N(e), T.value = !0, ce(e);
336
+ e = Object.assign({}, T.value, e), e = N(e), w.value = !0, ce(e);
336
337
  } catch (e) {
337
338
  Array.isArray(e == null ? void 0 : e.errorFields) && e.errorFields[0] && ae(e.errorFields[0].name, { behavior: "smooth", block: "center" });
338
339
  } finally {
339
- T.value = !1;
340
+ w.value = !1;
340
341
  }
341
342
  });
342
343
  }
343
344
  function ce(e) {
344
- ct(be, e).then(() => {
345
- Ze(e);
345
+ dt(be, e).then(() => {
346
+ $e(e);
346
347
  }).catch((t) => {
347
- i.warning(t);
348
+ r.warning(t);
348
349
  });
349
350
  }
350
- function Ze(e) {
351
+ function $e(e) {
351
352
  Object.keys(e).map((n) => {
352
353
  Array.isArray(e[n]) && e[n].length == 0 && (e[n] = "");
353
354
  });
354
- let t = y.value, o = `${te.optPre}${r.id}?tabletype=${O.value}`;
355
- t && (o = `${t}?tabletype=${O.value}`), h.value === !0 && (e[Ht] = 1);
356
- let l = p.value === !0 ? "put" : "post";
355
+ let t = y.value, o = `${te.optPre}${i.id}?tabletype=${O.value}`;
356
+ t && (o = `${t}?tabletype=${O.value}`), g.value === !0 && (e[Qt] = 1);
357
+ let l = h.value === !0 ? "put" : "post";
357
358
  ee.request({ url: o, method: l, params: e }, { isTransformResponse: !1 }).then((n) => {
358
- n.success ? (n.result && (e[Wt] = n.result), c("success", e), r.submitTip === !0 && i.success(n.message)) : i.warning(n.message);
359
+ n.success ? (n.result && (e[Yt] = n.result), c("success", e), i.submitTip === !0 && r.success(n.message)) : r.warning(n.message);
359
360
  }).finally(() => {
360
- T.value = !1;
361
+ w.value = !1;
361
362
  });
362
363
  }
363
- function $e(e, t, o) {
364
+ function et(e, t, o) {
364
365
  t && o ? o.vxeProps ? o.setValues([
365
366
  {
366
367
  rowKey: t,
@@ -368,20 +369,20 @@ const te = {
368
369
  }
369
370
  ]) : o.setValues(e) : S(e);
370
371
  }
371
- function et(e, t) {
372
+ function tt(e, t) {
372
373
  let o = {};
373
374
  o[e] = t, S(o);
374
375
  }
375
- const J = m("0"), fe = m("auto"), de = m(340);
376
- function tt(e) {
377
- if (p.value === !0) {
378
- let t = w.value;
379
- return ot(t, e);
376
+ const J = p("0"), fe = p("auto"), de = p(340);
377
+ function ot(e) {
378
+ if (h.value === !0) {
379
+ let t = T.value;
380
+ return lt(t, e);
380
381
  }
381
382
  return "";
382
383
  }
383
- Vt(
384
- () => r.tabIndex,
384
+ Mt(
385
+ () => i.tabIndex,
385
386
  (e) => {
386
387
  J.value = e;
387
388
  },
@@ -389,26 +390,26 @@ const te = {
389
390
  immediate: !0
390
391
  }
391
392
  );
392
- function ot(e, t) {
393
+ function lt(e, t) {
393
394
  if (e) {
394
395
  let o = e[t];
395
396
  return !o && o !== 0 && (o = e[t.toLowerCase()], !o && o !== 0 && (o = e[t.toUpperCase()])), o;
396
397
  }
397
398
  return "";
398
399
  }
399
- function lt(e, t) {
400
+ function nt(e, t) {
400
401
  if (u && u[t + "_onlChange"]) {
401
402
  let o = u[t + "_onlChange"](), l = Object.keys(e)[0];
402
403
  if (o[l]) {
403
- let g = b(t).getFormEvent(), F = R({
404
+ let m = b(t).getFormEvent(), F = R({
404
405
  column: { key: l },
405
406
  value: e[l]
406
- }, g);
407
+ }, m);
407
408
  o[l].call(f, f, F);
408
409
  }
409
410
  }
410
411
  }
411
- function nt(e, t) {
412
+ function at(e, t) {
412
413
  if (u && u[t + "_onlChange"]) {
413
414
  let o = u[t + "_onlChange"](f);
414
415
  if (e.column === "all") {
@@ -422,13 +423,22 @@ const te = {
422
423
  }
423
424
  }
424
425
  }
425
- function at(e, t) {
426
+ function it(e, t) {
427
+ var o;
428
+ if (u && u[t + "_onlChange"]) {
429
+ let l = u[t + "_onlChange"](f), n = Object.keys(l);
430
+ if (n.length > 0)
431
+ for (let m of n)
432
+ (o = l[m]) == null || o.call(f, f, Fe(R({}, e), { row: e.deleteRows }));
433
+ }
434
+ }
435
+ function rt(e, t) {
426
436
  t.isModalData || re(e, t);
427
437
  }
428
- function it(e) {
438
+ function st(e) {
429
439
  return "online_" + e + ":";
430
440
  }
431
- function rt(e, t) {
441
+ function ut(e, t) {
432
442
  return _(this, null, function* () {
433
443
  if (!u || !u.onlChange || !e)
434
444
  return !1;
@@ -444,10 +454,10 @@ const te = {
444
454
  });
445
455
  }
446
456
  function me(e) {
447
- let o = e.toLocaleString().match(lo);
457
+ let o = e.toLocaleString().match(ro);
448
458
  if (o.length > 1) {
449
459
  let l = o[1];
450
- Ae(l);
460
+ Me(l);
451
461
  }
452
462
  }
453
463
  function Y(e, t) {
@@ -455,8 +465,8 @@ const te = {
455
465
  let o = t + "_hook";
456
466
  u && u[t] ? u[t].call(f, f) : u && u[o] && me(u[o]);
457
467
  } else if (e == "action") {
458
- let o = w.value, l = {
459
- formId: r.id,
468
+ let o = T.value, l = {
469
+ formId: i.id,
460
470
  buttonCode: t,
461
471
  dataId: o.id,
462
472
  uiFormData: Object.assign({}, o)
@@ -468,7 +478,7 @@ const te = {
468
478
  },
469
479
  { isTransformResponse: !1 }
470
480
  ).then((n) => {
471
- n.success ? i.success("处理完成!") : i.warning("处理失败!");
481
+ n.success ? r.success("处理完成!") : r.warning("处理失败!");
472
482
  });
473
483
  }
474
484
  }
@@ -481,16 +491,16 @@ const te = {
481
491
  l.push(n.id);
482
492
  t.removeRowsById(l);
483
493
  }
484
- function ge(e, t) {
494
+ function he(e, t) {
485
495
  if (!t)
486
496
  return !1;
487
497
  let o = b(e);
488
498
  typeof t == "object" ? o.addRows(t, !0) : this.$message.error("添加子表数据,参数不识别!");
489
499
  }
490
- function st(e, t) {
491
- pe(e), ge(e, t);
500
+ function ct(e, t) {
501
+ pe(e), he(e, t);
492
502
  }
493
- function ut(e, t) {
503
+ function ft(e, t) {
494
504
  !t && t.length <= 0 && (t = []), t.map((o) => {
495
505
  o.hasOwnProperty("label") || (o.label = o.text);
496
506
  }), z({
@@ -500,20 +510,20 @@ const te = {
500
510
  }
501
511
  });
502
512
  }
503
- function ct(e, t) {
513
+ function dt(e, t) {
504
514
  return u && u.beforeSubmit ? u.beforeSubmit(e, t) : Promise.resolve();
505
515
  }
506
- function ft(e, t) {
507
- let o = M(I);
516
+ function mt(e, t) {
517
+ let o = M(j);
508
518
  e && e.length > 0 ? Object.keys(o).map((l) => {
509
- !l.endsWith("_load") && e.indexOf(l) < 0 && (I[l] = !1);
519
+ !l.endsWith("_load") && e.indexOf(l) < 0 && (j[l] = !1);
510
520
  }) : t && t.length > 0 && Object.keys(o).map((l) => {
511
- t.indexOf(l) >= 0 && (I[l] = !1);
521
+ t.indexOf(l) >= 0 && (j[l] = !1);
512
522
  });
513
523
  }
514
- function dt(e, t) {
524
+ function pt(e, t) {
515
525
  return _(this, null, function* () {
516
- y.value = t, yield ne(), w.value = "", p.value = !0, yield se(e), yield _e(() => {
526
+ y.value = t, yield ne(), T.value = "", h.value = !0, yield se(e), yield we(() => {
517
527
  Y("js", "loaded");
518
528
  });
519
529
  });
@@ -521,37 +531,37 @@ const te = {
521
531
  function b(e) {
522
532
  let t = G[e].value;
523
533
  if (t instanceof Array && (t = t[0]), !t) {
524
- i.warning("子表ref找不到:" + e);
534
+ r.warning("子表ref找不到:" + e);
525
535
  return;
526
536
  }
527
537
  return t;
528
538
  }
529
- function mt() {
530
- let e = P.reportPrintUrl, t = w.value.id, o = Xt();
531
- Qt(e, t, o);
539
+ function ht() {
540
+ let e = P.reportPrintUrl, t = T.value.id, o = to();
541
+ $t(e, t, o);
532
542
  }
533
- const [pt, { openModal: he }] = to(), X = m(""), Z = m(!0);
534
- function gt(e) {
535
- X.value = e.id, Z.value = !1, he(!0, { isUpdate: !1, tableType: "3" });
543
+ const [gt, { openModal: ge }] = ao(), X = p(""), Z = p(!0);
544
+ function bt(e) {
545
+ X.value = e.id, Z.value = !1, ge(!0, { isUpdate: !1, tableType: "3" });
536
546
  }
537
- function ht(e) {
547
+ function yt(e) {
538
548
  let o = b(e.key).getSelectedData();
539
549
  if (o.length != 1) {
540
- i.warning("请选择一条数据");
550
+ r.warning("请选择一条数据");
541
551
  return;
542
552
  }
543
- X.value = e.id, Z.value = !1, he(!0, { isUpdate: !0, record: o[0] });
553
+ X.value = e.id, Z.value = !1, ge(!0, { isUpdate: !0, record: o[0] });
544
554
  }
545
- function bt(e) {
555
+ function vt(e) {
546
556
  const t = e[Te];
547
- let o = we(e, [Te]);
557
+ let o = Se(e, [Te]);
548
558
  if (o.id) {
549
- let l = we(R({}, o), "id"), n = [{ rowKey: o.id, values: l }];
559
+ let l = Se(R({}, o), "id"), n = [{ rowKey: o.id, values: l }];
550
560
  b(t).setValues(n);
551
561
  } else
552
562
  b(t).addRows(o, { isOnlineJS: !1, setActive: !1, emitChange: !0, isModalData: !0 });
553
563
  }
554
- function yt() {
564
+ function Ft() {
555
565
  let e = E.value;
556
566
  if (e && e.length > 0) {
557
567
  for (let t of e)
@@ -561,7 +571,7 @@ const te = {
561
571
  }
562
572
  }
563
573
  }
564
- function vt() {
574
+ function _t() {
565
575
  let e = Q(), t = M(s[d.value]);
566
576
  K(
567
577
  t,
@@ -571,7 +581,7 @@ const te = {
571
581
  e
572
582
  );
573
583
  }
574
- function Ft(e, t) {
584
+ function wt(e, t) {
575
585
  let o = E.value;
576
586
  if (o && o.length > 0) {
577
587
  let l = o.filter((n) => n.key === e);
@@ -580,94 +590,95 @@ const te = {
580
590
  if (l[0].relationType == 1)
581
591
  b(e).executeFillRule();
582
592
  else {
583
- let n = M(s[e]), g = M(t.row);
593
+ let n = M(s[e]), m = M(t.row);
584
594
  K(
585
595
  n,
586
596
  (F) => {
587
- const { row: x, target: _t } = t;
588
- let Tt = [{ rowKey: x.id, values: R({}, F) }];
589
- _t.setValues(Tt);
597
+ const { row: x, target: Tt } = t;
598
+ let St = [{ rowKey: x.id, values: R({}, F) }];
599
+ Tt.setValues(St);
590
600
  },
591
- g
601
+ m
592
602
  );
593
603
  }
594
604
  }
595
605
  }
596
606
  let be = {
597
607
  tableName: d,
598
- loading: T,
608
+ loading: w,
599
609
  subActiveKey: J,
600
610
  onlineFormRef: a,
601
611
  getFieldsValue: Q,
602
612
  setFieldsValue: S,
603
- submitFlowFlag: h,
613
+ submitFlowFlag: g,
604
614
  subFormHeight: fe,
605
615
  subTableHeight: de,
606
616
  refMap: G,
607
- triggleChangeValues: $e,
608
- triggleChangeValue: et,
609
- sh: I,
617
+ triggleChangeValues: et,
618
+ triggleChangeValue: tt,
619
+ sh: j,
610
620
  clearSubRows: pe,
611
- addSubRows: ge,
612
- clearThenAddRows: st,
613
- changeOptions: ut,
614
- isUpdate: p,
621
+ addSubRows: he,
622
+ clearThenAddRows: ct,
623
+ changeOptions: ft,
624
+ isUpdate: h,
615
625
  getSubTableInstance: b,
616
626
  updateSchema: z,
617
- executeMainFillRule: vt,
618
- executeSubFillRule: Ft,
627
+ executeMainFillRule: _t,
628
+ executeSubFillRule: wt,
619
629
  changEvent: () => {
620
630
  },
621
- onlineFormValueChange: Ke
631
+ onlineFormValueChange: He
622
632
  };
623
633
  return W(be), {
624
634
  //主表
625
635
  tableName: d,
626
636
  onlineFormRef: a,
627
- registerForm: Me,
628
- loading: T,
637
+ registerForm: De,
638
+ loading: w,
629
639
  //子表
630
640
  subActiveKey: J,
631
- hasSubTable: Ce,
641
+ hasSubTable: ke,
632
642
  subTabInfo: E,
633
643
  refMap: G,
634
644
  //一对一子表
635
645
  subFormHeight: fe,
636
- getSubTableForeignKeyValue: tt,
637
- isUpdate: p,
638
- handleSubFormChange: lt,
646
+ getSubTableForeignKeyValue: ot,
647
+ isUpdate: h,
648
+ handleSubFormChange: nt,
639
649
  //一对多子表
640
650
  subTableHeight: de,
641
651
  onlineFormDisabled: ie,
642
652
  subDataSource: L,
643
- getSubTableAuthPre: it,
644
- handleAdded: at,
653
+ getSubTableAuthPre: st,
654
+ handleAdded: rt,
645
655
  handleSubTableDefaultValue: re,
646
- handleValueChange: nt,
647
- openSubFormModalForAdd: gt,
648
- openSubFormModalForEdit: ht,
656
+ handleValueChange: at,
657
+ openSubFormModalForAdd: bt,
658
+ openSubFormModalForEdit: yt,
659
+ handleRemoved: it,
649
660
  //父组件调用
650
- show: je,
651
- createRootProperties: Ue,
652
- handleSubmit: We,
653
- sh: I,
661
+ show: Be,
662
+ createRootProperties: qe,
663
+ handleSubmit: Ge,
664
+ sh: j,
654
665
  handleCgButtonClick: Y,
655
- handleCustomFormSh: ft,
656
- handleCustomFormEdit: dt,
666
+ handleCustomFormSh: mt,
667
+ handleCustomFormEdit: pt,
657
668
  //跳转
658
- dbData: w,
659
- onOpenReportPrint: mt,
669
+ dbData: T,
670
+ onOpenReportPrint: ht,
660
671
  onlineExtConfigJson: P,
661
672
  //一对多子表弹窗操作数据
662
- registerPopModal: pt,
673
+ registerPopModal: gt,
663
674
  popTableName: X,
664
- getPopFormData: bt,
675
+ getPopFormData: vt,
665
676
  popModalRequest: Z,
666
- onCloseModal: yt,
677
+ onCloseModal: Ft,
667
678
  rowNumber: H
668
679
  };
669
680
  }
670
- }, ro = (r) => (Et("data-v-4a631fb5"), r = r(), It(), r), so = ["id"], uo = { key: 1 }, co = { class: "add" }, fo = /* @__PURE__ */ ro(() => /* @__PURE__ */ oe("svg", {
681
+ }, fo = (i) => (Nt("data-v-dec72f46"), i = i(), Lt(), i), mo = ["id"], po = { key: 1 }, ho = { class: "add" }, go = /* @__PURE__ */ fo(() => /* @__PURE__ */ oe("svg", {
671
682
  t: "1714390025804",
672
683
  class: "icon",
673
684
  viewBox: "0 0 1024 1024",
@@ -683,11 +694,11 @@ const te = {
683
694
  "p-id": "50961"
684
695
  })
685
696
  ], -1));
686
- function mo(r, c, i, a, V, T) {
687
- const O = v("BasicForm"), y = v("a-tab-pane"), h = v("online-sub-form"), p = v("diff-outlined"), B = v("a-button"), H = v("form-outlined"), P = v("JVxeTable"), f = v("a-tabs"), W = v("Loading"), D = v("online-pop-modal");
697
+ function bo(i, c, r, a, V, w) {
698
+ const O = v("BasicForm"), y = v("a-tab-pane"), g = v("online-sub-form"), h = v("diff-outlined"), B = v("a-button"), H = v("form-outlined"), P = v("JVxeTable"), f = v("a-tabs"), W = v("Loading"), D = v("online-pop-modal");
688
699
  return C(), U("div", {
689
700
  id: a.tableName + "_form",
690
- class: xt(["onlineFormWrap", [`formTemplate_${i.formTemplate}`]])
701
+ class: Dt(["onlineFormWrap", [`formTemplate_${r.formTemplate}`]])
691
702
  }, [
692
703
  k(f, {
693
704
  class: "tabTheme",
@@ -707,7 +718,7 @@ function mo(r, c, i, a, V, T) {
707
718
  ]),
708
719
  _: 1
709
720
  })),
710
- a.hasSubTable ? (C(!0), U(Rt, { key: 0 }, At(a.subTabInfo, (s, N) => (C(), q(y, {
721
+ a.hasSubTable ? (C(!0), U(Et, { key: 0 }, jt(a.subTabInfo, (s, N) => (C(), q(y, {
711
722
  tab: s.describe,
712
723
  key: N + "",
713
724
  forceRender: !0
@@ -715,21 +726,21 @@ function mo(r, c, i, a, V, T) {
715
726
  default: A(() => [
716
727
  s.relationType == 1 ? (C(), U("div", {
717
728
  key: 0,
718
- style: Mt({ "overflow-y": "auto", "overflow-x": "hidden", "max-height": a.subFormHeight + "px" })
729
+ style: It({ "overflow-y": "auto", "overflow-x": "hidden", "max-height": a.subFormHeight + "px" })
719
730
  }, [
720
- k(h, {
731
+ k(g, {
721
732
  ref_for: !0,
722
733
  ref: a.refMap[s.key],
723
734
  table: s.key,
724
735
  disabled: a.onlineFormDisabled,
725
- "form-template": i.formTemplate,
736
+ "form-template": r.formTemplate,
726
737
  "main-id": a.getSubTableForeignKeyValue(s.foreignKey),
727
738
  properties: s.properties,
728
739
  "required-fields": s.requiredFields,
729
740
  "is-update": a.isUpdate,
730
741
  onFormChange: (d) => a.handleSubFormChange(d, s.key)
731
742
  }, null, 8, ["table", "disabled", "form-template", "main-id", "properties", "required-fields", "is-update", "onFormChange"])
732
- ], 4)) : (C(), U("div", uo, [
743
+ ], 4)) : (C(), U("div", po, [
733
744
  k(P, {
734
745
  ref_for: !0,
735
746
  ref: a.refMap[s.key],
@@ -745,6 +756,7 @@ function mo(r, c, i, a, V, T) {
745
756
  columns: s.columns,
746
757
  dataSource: a.subDataSource[s.key],
747
758
  onValueChange: (d) => a.handleValueChange(d, s.key),
759
+ onRemoved: (d) => a.handleRemoved(d, s.key),
748
760
  authPre: a.getSubTableAuthPre(s.key),
749
761
  onAdded: (d) => a.handleAdded(s, d),
750
762
  onExecuteFillRule: (d) => a.handleSubTableDefaultValue(s, d)
@@ -756,9 +768,9 @@ function mo(r, c, i, a, V, T) {
756
768
  onClick: (d) => a.openSubFormModalForAdd(s)
757
769
  }, {
758
770
  default: A(() => [
759
- oe("div", co, [
760
- fo,
761
- k(p)
771
+ oe("div", ho, [
772
+ go,
773
+ k(h)
762
774
  ])
763
775
  ]),
764
776
  _: 2
@@ -775,7 +787,7 @@ function mo(r, c, i, a, V, T) {
775
787
  }, 1032, ["onClick"]))
776
788
  ]),
777
789
  _: 2
778
- }, 1032, ["row-number", "height", "disabled", "columns", "dataSource", "onValueChange", "authPre", "onAdded", "onExecuteFillRule"])
790
+ }, 1032, ["row-number", "height", "disabled", "columns", "dataSource", "onValueChange", "onRemoved", "authPre", "onAdded", "onExecuteFillRule"])
779
791
  ]))
780
792
  ]),
781
793
  _: 2
@@ -787,7 +799,7 @@ function mo(r, c, i, a, V, T) {
787
799
  loading: a.loading,
788
800
  absolute: !1
789
801
  }, null, 8, ["loading"]),
790
- Dt(r.$slots, "bottom", {}, void 0, !0),
802
+ Bt(i.$slots, "bottom", {}, void 0, !0),
791
803
  k(D, {
792
804
  formTableType: "3",
793
805
  request: a.popModalRequest,
@@ -797,9 +809,9 @@ function mo(r, c, i, a, V, T) {
797
809
  topTip: "",
798
810
  isVxeTableData: ""
799
811
  }, null, 8, ["request", "id", "onRegister", "onSuccess"])
800
- ], 10, so);
812
+ ], 10, mo);
801
813
  }
802
- const el = /* @__PURE__ */ ao(io, [["render", mo], ["__scopeId", "data-v-4a631fb5"]]);
814
+ const nl = /* @__PURE__ */ uo(co, [["render", bo], ["__scopeId", "data-v-dec72f46"]]);
803
815
  export {
804
- el as default
816
+ nl as default
805
817
  };