@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 p = (o, f, r) => new Promise((m, u) => {
1
+ var p = (e, f, r) => new Promise((m, u) => {
2
2
  var c = (t) => {
3
3
  try {
4
4
  s(r.next(t));
@@ -12,21 +12,22 @@ var p = (o, f, r) => new Promise((m, u) => {
12
12
  u(l);
13
13
  }
14
14
  }, s = (t) => t.done ? m(t.value) : Promise.resolve(t.value).then(c, a);
15
- s((r = r.apply(o, f)).next());
15
+ s((r = r.apply(e, f)).next());
16
16
  });
17
- import { defineComponent as z, ref as i, nextTick as T, watch as J, reactive as Q, markRaw as W, defineAsyncComponent as X, resolveComponent as F, openBlock as S, createBlock as k, mergeProps as Y, withCtx as d, createVNode as R, createTextVNode as P, resolveDynamicComponent as Z } from "vue";
18
- import { BasicModal as x, useModalInner as oo } from "/@/components/Modal";
19
- import { g as _ } from "./useExtendComponent-48d37d9b.mjs";
20
- import { defHttp as eo } from "/@/utils/http/axios";
21
- import { O as to } from "./OnlineForm-630a22c2.mjs";
22
- import { importViewsFile as no } from "/@/utils";
23
- import { _ as ro } from "./index-6a09a912.mjs";
17
+ import { defineComponent as z, ref as i, nextTick as T, watch as J, reactive as Q, markRaw as W, defineAsyncComponent as X, resolveComponent as C, openBlock as S, createBlock as k, mergeProps as Y, withCtx as d, createVNode as R, createTextVNode as P, resolveDynamicComponent as Z } from "vue";
18
+ import { BasicModal as x, useModalInner as ee } from "/@/components/Modal";
19
+ import { g as _ } from "./useExtendComponent-325fe3f1.mjs";
20
+ import { defHttp as oe } from "/@/utils/http/axios";
21
+ import te from "./OnlineForm-1fa2d893.mjs";
22
+ import { importViewsFile as ne } from "/@/utils";
23
+ import { _ as re } from "./index-0e3ab3af.mjs";
24
24
  import "/@/components/Form/src/componentMap";
25
25
  import "/@/utils/propTypes";
26
26
  import "@ant-design/icons-vue";
27
27
  import "/@/hooks/web/useMessage";
28
28
  import "/@/components/Form/index";
29
29
  import "lodash-es";
30
+ import "./constant-754f1a9d.mjs";
30
31
  import "/@/components/Form/src/jeecg/components/JUpload";
31
32
  import "/@/views/system/user/user.api";
32
33
  import "/@/store/modules/user";
@@ -39,20 +40,21 @@ import "/@/hooks/system/useListPage";
39
40
  import "vue-router";
40
41
  import "/@/components/Form/src/utils/Area";
41
42
  import "/@/components/Preview/index";
42
- import "./LinkTableListPiece-34266919.mjs";
43
- import "./OnlineSelectCascade-c7baf52b.mjs";
43
+ import "./LinkTableListPiece-8499a318.mjs";
44
+ import "./OnlineSelectCascade-4265c95d.mjs";
44
45
  import "/@/components/Loading";
45
46
  import "/@/utils/auth";
46
- import "./JModalTip-abe1515a.mjs";
47
+ import "./JModalTip-33c7dc44.mjs";
48
+ import "/@/hooks/web/useAppInject";
47
49
  import "ant-design-vue";
48
50
  import "@vueuse/core";
49
51
  import "/@/components/jeecg/JVxeTable/types";
50
52
  import "/@/hooks/core/useContext";
51
53
  import "/@/utils/mitt";
54
+ import "./useCustomHook-acb00837.mjs";
52
55
  import "/@/utils/cache";
53
- import "./constant-fe20103a.mjs";
54
56
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
55
- const io = {
57
+ const ie = {
56
58
  code: "",
57
59
  title: "自定义弹框",
58
60
  width: 600,
@@ -63,71 +65,70 @@ const io = {
63
65
  tableType: "",
64
66
  foreignKeys: "",
65
67
  formComponent: ""
66
- }, mo = z({
68
+ }, me = z({
67
69
  name: "OnlineCustomModal",
68
70
  components: {
69
- OnlineForm: to,
71
+ OnlineForm: te,
70
72
  BasicModal: x
71
73
  },
72
- setup(o, { emit: f }) {
74
+ setup(e, { emit: f }) {
73
75
  const r = i(), m = i(""), u = i("自定义弹框"), c = i(600);
74
76
  let a = [], s = [], t = "", l = {};
75
77
  const I = {
76
78
  loadFormItems: "/online/cgform/api/getFormItem/",
77
79
  optPre: "/online/cgform/api/form/"
78
- }, B = { position: "relative" }, E = i(!1), g = i(!1);
80
+ }, B = { position: "relative" }, E = i(!1), F = i(!1);
79
81
  function $() {
80
- g.value = !0;
82
+ F.value = !0;
81
83
  }
82
- const h = i(!0), [N, { setModalProps: D, closeModal: b }] = oo((e) => p(this, null, function* () {
83
- D({ confirmLoading: !1 }), L(e), yield T(() => p(this, null, function* () {
84
- e.formComponent ? K(e.formComponent) : yield H();
84
+ const h = i(!0), [N, { setModalProps: D, closeModal: b }] = ee((o) => p(this, null, function* () {
85
+ D({ confirmLoading: !1 }), L(o), yield T(() => p(this, null, function* () {
86
+ o.formComponent ? K(o.formComponent) : yield H();
85
87
  }));
86
88
  }));
87
- function L(e) {
88
- let n = Object.assign({}, io, e);
89
+ function L(o) {
90
+ let n = Object.assign({}, ie, o);
89
91
  m.value = n.code, u.value = n.title, c.value = n.width, a = n.hide || [], s = n.show || [], t = U(n.requestUrl), l = n.row;
90
92
  }
91
- function U(e) {
92
- return e || I.optPre + m.value;
93
+ function U(o) {
94
+ return o || I.optPre + m.value;
93
95
  }
94
- const v = i(!1);
96
+ const g = i(!1);
95
97
  function V() {
96
- v.value = !0, h.value === !0 ? r.value.handleSubmit() : M.value.handleSubmit(), setTimeout(() => {
97
- v.value = !0;
98
+ g.value = !0, h.value === !0 ? r.value.handleSubmit() : M.value.handleSubmit(), setTimeout(() => {
99
+ g.value = !0;
98
100
  }, 3500);
99
101
  }
100
102
  function j() {
101
103
  b();
102
104
  }
103
- function A(e) {
104
- f("success", e), b();
105
+ function A(o) {
106
+ f("success", o), b();
105
107
  }
106
108
  function H() {
107
109
  return p(this, null, function* () {
108
- h.value = !0, yield _(g), r.value.handleCustomFormSh(s, a), r.value.handleCustomFormEdit(l, t);
110
+ h.value = !0, yield _(F), r.value.handleCustomFormSh(s, a), r.value.handleCustomFormEdit(l, t);
109
111
  });
110
112
  }
111
113
  const O = i(1);
112
114
  J(m, q, { immediate: !0 });
113
115
  function q() {
114
116
  return p(this, null, function* () {
115
- if (g.value = !1, !m.value)
117
+ if (F.value = !1, !m.value)
116
118
  return;
117
- console.log("重新渲染表单》》》》modal");
118
- let e = yield G(), n = e.head.formTemplate;
119
+ let o = yield G(), n = o.head.formTemplate;
119
120
  O.value = n ? Number(n) : 1, T(() => p(this, null, function* () {
120
- (yield _(r)).createRootProperties(e);
121
+ (yield _(r)).createRootProperties(o);
121
122
  }));
122
123
  });
123
124
  }
124
125
  function G() {
125
- let e = `/online/cgform/api/getFormItem/${m.value}`;
126
- return new Promise((n, y) => {
127
- eo.get({ url: e }, { isTransformResponse: !1 }).then((C) => {
128
- console.log("表单结果》》modal:", C), C.success ? n(C.result) : y(C.message);
126
+ let o = `/online/cgform/api/getFormItem/${m.value}`;
127
+ return new Promise((n, v) => {
128
+ oe.get({ url: o }, { isTransformResponse: !1 }).then((y) => {
129
+ y.success ? n(y.result) : v(y.message);
129
130
  }).catch(() => {
130
- y();
131
+ v();
131
132
  });
132
133
  });
133
134
  }
@@ -136,8 +137,8 @@ const io = {
136
137
  is: "",
137
138
  row: {}
138
139
  });
139
- function K(e) {
140
- h.value = !1, w.url = t, w.row = l, w.is = W(X(() => no(e)));
140
+ function K(o) {
141
+ h.value = !1, w.url = t, w.row = l, w.is = W(X(() => ne(o)));
141
142
  }
142
143
  return {
143
144
  //modal
@@ -159,27 +160,27 @@ const io = {
159
160
  open,
160
161
  isOnlineForm: h,
161
162
  confirmLoading: E,
162
- submitLoading: v,
163
+ submitLoading: g,
163
164
  handleSuccess: A
164
165
  };
165
166
  }
166
167
  });
167
- function lo(o, f, r, m, u, c) {
168
- const a = F("a-button"), s = F("online-form"), t = F("a-spin"), l = F("BasicModal");
168
+ function le(e, f, r, m, u, c) {
169
+ const a = C("a-button"), s = C("online-form"), t = C("a-spin"), l = C("BasicModal");
169
170
  return S(), k(l, Y({
170
- title: o.title,
171
- width: o.width
172
- }, o.$attrs, {
173
- style: o.modalStyle,
174
- onRegister: o.registerModal,
171
+ title: e.title,
172
+ width: e.width
173
+ }, e.$attrs, {
174
+ style: e.modalStyle,
175
+ onRegister: e.registerModal,
175
176
  wrapClassName: "jeecg-online-modal2",
176
- onOk: o.handleSubmit
177
+ onOk: e.handleSubmit
177
178
  }), {
178
179
  footer: d(() => [
179
180
  R(a, {
180
181
  key: "submit",
181
182
  type: "primary",
182
- onClick: o.handleSubmit
183
+ onClick: e.handleSubmit
183
184
  }, {
184
185
  default: d(() => [
185
186
  P("确定")
@@ -188,7 +189,7 @@ function lo(o, f, r, m, u, c) {
188
189
  }, 8, ["onClick"]),
189
190
  R(a, {
190
191
  key: "back",
191
- onClick: o.handleCancel
192
+ onClick: e.handleCancel
192
193
  }, {
193
194
  default: d(() => [
194
195
  P("关闭")
@@ -197,22 +198,22 @@ function lo(o, f, r, m, u, c) {
197
198
  }, 8, ["onClick"])
198
199
  ]),
199
200
  default: d(() => [
200
- R(t, { spinning: o.confirmLoading }, {
201
+ R(t, { spinning: e.confirmLoading }, {
201
202
  default: d(() => [
202
- o.isOnlineForm ? (S(), k(s, {
203
+ e.isOnlineForm ? (S(), k(s, {
203
204
  key: 0,
204
205
  ref: "onlineFormCompRef",
205
- id: o.id,
206
- "form-template": o.formTemplate,
207
- onRendered: o.renderSuccess,
208
- onSuccess: o.handleSuccess,
206
+ id: e.id,
207
+ "form-template": e.formTemplate,
208
+ onRendered: e.renderSuccess,
209
+ onSuccess: e.handleSuccess,
209
210
  modalClass: "jeecg-online-modal2"
210
- }, null, 8, ["id", "form-template", "onRendered", "onSuccess"])) : (S(), k(Z(o.customFormComponent.is), {
211
+ }, null, 8, ["id", "form-template", "onRendered", "onSuccess"])) : (S(), k(Z(e.customFormComponent.is), {
211
212
  key: 1,
212
213
  ref: "customFormRef",
213
- url: o.customFormComponent.url,
214
- row: o.customFormComponent.row,
215
- onClose: o.handleSuccess
214
+ url: e.customFormComponent.url,
215
+ row: e.customFormComponent.row,
216
+ onClose: e.handleSuccess
216
217
  }, null, 40, ["url", "row", "onClose"]))
217
218
  ]),
218
219
  _: 1
@@ -221,7 +222,7 @@ function lo(o, f, r, m, u, c) {
221
222
  _: 1
222
223
  }, 16, ["title", "width", "style", "onRegister", "onOk"]);
223
224
  }
224
- const Qo = /* @__PURE__ */ ro(mo, [["render", lo]]);
225
+ const We = /* @__PURE__ */ re(me, [["render", le]]);
225
226
  export {
226
- Qo as default
227
+ We as default
227
228
  };
@@ -1,31 +1,31 @@
1
- var c = (e, a, t) => new Promise((l, n) => {
2
- var p = (o) => {
1
+ var c = (e, a, o) => new Promise((l, i) => {
2
+ var p = (t) => {
3
3
  try {
4
- m(t.next(o));
4
+ m(o.next(t));
5
5
  } catch (r) {
6
- n(r);
6
+ i(r);
7
7
  }
8
- }, i = (o) => {
8
+ }, n = (t) => {
9
9
  try {
10
- m(t.throw(o));
10
+ m(o.throw(t));
11
11
  } catch (r) {
12
- n(r);
12
+ i(r);
13
13
  }
14
- }, m = (o) => o.done ? l(o.value) : Promise.resolve(o.value).then(p, i);
15
- m((t = t.apply(e, a)).next());
14
+ }, m = (t) => t.done ? l(t.value) : Promise.resolve(t.value).then(p, n);
15
+ m((o = o.apply(e, a)).next());
16
16
  });
17
17
  import { defineComponent as I, ref as $, watch as v, resolveComponent as d, openBlock as P, createBlock as y, mergeProps as O, withCtx as s, createVNode as f, createTextVNode as L } from "vue";
18
18
  import { BasicModal as V } from "/@/components/Modal";
19
- import W from "./OnlineFormDetail-1b216792.mjs";
20
- import { e as j } from "./useExtendComponent-48d37d9b.mjs";
19
+ import W from "./OnlineFormDetail-0e7294ca.mjs";
20
+ import { b as j } from "./useExtendComponent-325fe3f1.mjs";
21
21
  import q from "/@/components/jeecg/comment/CommentPanel.vue";
22
- import { _ as A } from "./index-6a09a912.mjs";
22
+ import { _ as A } from "./index-0e3ab3af.mjs";
23
23
  import "/@/hooks/web/useMessage";
24
24
  import "/@/components/Loading";
25
25
  import "/@/utils/auth";
26
26
  import "/@/utils";
27
27
  import "@ant-design/icons-vue";
28
- import "./DetailForm-e4538e7a.mjs";
28
+ import "./DetailForm-424638eb.mjs";
29
29
  import "/@/utils/propTypes";
30
30
  import "/@/utils/dict";
31
31
  import "/@/utils/dict/JDictSelectUtil";
@@ -35,9 +35,10 @@ import "/@/utils/http/axios";
35
35
  import "/@/components/Form/src/utils/Area";
36
36
  import "/@/utils/common/compUtils";
37
37
  import "/@/components/Preview/index";
38
- import "./OnlineSubFormDetail-0aa4966c.mjs";
38
+ import "/@/components/Markdown";
39
+ import "./OnlineSubFormDetail-f0d2c016.mjs";
39
40
  import "/@/components/Form/index";
40
- import "./constant-fe20103a.mjs";
41
+ import "./constant-754f1a9d.mjs";
41
42
  import "/@/components/Form/src/componentMap";
42
43
  import "lodash-es";
43
44
  import "/@/components/Form/src/jeecg/components/JUpload";
@@ -48,9 +49,10 @@ import "/@/store/modules/permission";
48
49
  import "/@/components/Table";
49
50
  import "/@/hooks/system/useListPage";
50
51
  import "vue-router";
51
- import "./LinkTableListPiece-34266919.mjs";
52
- import "./OnlineSelectCascade-c7baf52b.mjs";
53
- import "./JModalTip-abe1515a.mjs";
52
+ import "./LinkTableListPiece-8499a318.mjs";
53
+ import "./OnlineSelectCascade-4265c95d.mjs";
54
+ import "./JModalTip-33c7dc44.mjs";
55
+ import "/@/hooks/web/useAppInject";
54
56
  import "ant-design-vue";
55
57
  import "@vueuse/core";
56
58
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
@@ -70,22 +72,21 @@ const E = I({
70
72
  },
71
73
  emits: ["success", "register", "formConfig"],
72
74
  setup(e, { emit: a }) {
73
- console.log("进入表单弹框》》》》modal");
74
- const t = $();
75
+ const o = $();
75
76
  function l() {
76
- t.value && t.value.reload();
77
+ o.value && o.value.reload();
77
78
  }
78
79
  const {
79
- title: n,
80
+ title: i,
80
81
  modalWidth: p,
81
- registerModal: i,
82
+ registerModal: n,
82
83
  cgButtonList: m,
83
- handleCgButtonClick: o,
84
+ handleCgButtonClick: t,
84
85
  disableSubmit: r,
85
86
  handleSubmit: u,
86
87
  submitLoading: h,
87
- handleCancel: C,
88
- handleFormConfig: b,
88
+ handleCancel: b,
89
+ handleFormConfig: C,
89
90
  onlineFormCompRef: g,
90
91
  formTemplate: w,
91
92
  isTreeForm: _,
@@ -101,21 +102,21 @@ const E = I({
101
102
  v(() => e.id, D, { immediate: !0 });
102
103
  function D() {
103
104
  return c(this, null, function* () {
104
- M.value = !1, e.id && (console.log("重新渲染表单》》》》modal"), yield b(e.id, {}));
105
+ M.value = !1, e.id && (yield C(e.id, {}));
105
106
  });
106
107
  }
107
108
  return {
108
- title: n,
109
+ title: i,
109
110
  onlineFormCompRef: g,
110
111
  renderSuccess: F,
111
- registerModal: i,
112
+ registerModal: n,
112
113
  handleSubmit: u,
113
- handleCancel: C,
114
+ handleCancel: b,
114
115
  modalWidth: p,
115
116
  formTemplate: w,
116
117
  disableSubmit: r,
117
118
  cgButtonList: m,
118
- handleCgButtonClick: o,
119
+ handleCgButtonClick: t,
119
120
  isTreeForm: _,
120
121
  pidFieldName: R,
121
122
  submitLoading: h,
@@ -123,17 +124,17 @@ const E = I({
123
124
  tableName: T,
124
125
  formDataId: k,
125
126
  enableComment: B,
126
- commentPanelRef: t,
127
+ commentPanelRef: o,
127
128
  themeTemplate: S
128
129
  };
129
130
  }
130
131
  });
131
- function z(e, a, t, l, n, p) {
132
- const i = d("a-button"), m = d("online-form-detail"), o = d("comment-panel"), r = d("BasicModal");
132
+ function H(e, a, o, l, i, p) {
133
+ const n = d("a-button"), m = d("online-form-detail"), t = d("comment-panel"), r = d("BasicModal");
133
134
  return P(), y(r, O({
134
135
  title: e.title,
135
136
  width: e.modalWidth,
136
- height: 600,
137
+ maxHeight: 600,
137
138
  enableComment: e.enableComment,
138
139
  defaultFullscreen: !1
139
140
  }, e.$attrs, {
@@ -141,7 +142,7 @@ function z(e, a, t, l, n, p) {
141
142
  wrapClassName: "jeecg-online-detail-modal"
142
143
  }), {
143
144
  footer: s(() => [
144
- f(i, {
145
+ f(n, {
145
146
  key: "back",
146
147
  onClick: e.handleCancel
147
148
  }, {
@@ -152,7 +153,7 @@ function z(e, a, t, l, n, p) {
152
153
  }, 8, ["onClick"])
153
154
  ]),
154
155
  comment: s(() => [
155
- f(o, {
156
+ f(t, {
156
157
  ref: "commentPanelRef",
157
158
  tableName: e.tableName,
158
159
  dataId: e.formDataId
@@ -171,7 +172,7 @@ function z(e, a, t, l, n, p) {
171
172
  _: 1
172
173
  }, 16, ["title", "width", "enableComment", "onRegister"]);
173
174
  }
174
- const ve = /* @__PURE__ */ A(E, [["render", z]]);
175
+ const ye = /* @__PURE__ */ A(E, [["render", H]]);
175
176
  export {
176
- ve as default
177
+ ye as default
177
178
  };