@jeecg/online 3.7.1-RC → 3.7.4

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 (142) hide show
  1. package/AccountLoginForm-d2fed52f.mjs +254 -0
  2. package/AiModal-fbe4b68a.mjs +84 -0
  3. package/AppForgetPassword-3b3bec82.mjs +310 -0
  4. package/AppLogin-cd2e2a87.mjs +287 -0
  5. package/AppLoginHeader-9b5be678.mjs +27 -0
  6. package/AppNameEmail-b4e32ae8.mjs +180 -0
  7. package/AppRegister-7117b66a.mjs +303 -0
  8. package/AppTenant-5817729b.mjs +373 -0
  9. package/AppThirdForm-d14fb5e5.mjs +189 -0
  10. package/AuthButtonConfig-5e3b6d72.mjs +156 -0
  11. package/AuthButtonTree-7b4ec967.mjs +165 -0
  12. package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-48ee9228.mjs} +23 -23
  13. package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-02b3ba05.mjs} +43 -43
  14. package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-562cc6b6.mjs} +71 -71
  15. package/AuthFieldTree-2d458c0c.mjs +232 -0
  16. package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-38299230.mjs} +6 -6
  17. package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-78b06703.mjs} +9 -9
  18. package/BuiltInButtonList-bb6cf95c.mjs +10 -0
  19. package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
  20. package/CgformAddressModal-1b9cbe19.mjs +260 -0
  21. package/CgformCopyList-580bba0f.mjs +252 -0
  22. package/{CgformModal-21c5c387.mjs → CgformModal-12951453.mjs} +190 -194
  23. package/{CgreportModal-edefa8e3.mjs → CgreportModal-bfeb93ed.mjs} +181 -168
  24. package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-3c1e59e0.mjs} +3 -3
  25. package/CodeFileListModal-71752603.mjs +159 -0
  26. package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-eb803769.mjs} +66 -66
  27. package/CodeGeneratorModal-2fe1e920.mjs +281 -0
  28. package/CustomButtonList-22b5cdb3.mjs +274 -0
  29. package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-eb25565c.mjs} +3 -3
  30. package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-049b4bbd.mjs} +53 -54
  31. package/{DetailForm-deecbf3d.mjs → DetailForm-c127c27f.mjs} +5 -5
  32. package/DropMenuItem-b1a8f47d.mjs +44 -0
  33. package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-1a4d696b.mjs} +62 -62
  34. package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-48cf43ad.mjs} +35 -35
  35. package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-0e1f15f8.mjs} +102 -102
  36. package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-6a1aa471.mjs} +67 -67
  37. package/ErrorTip-bb616e32.mjs +7 -0
  38. package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
  39. package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-37af21a5.mjs} +2 -2
  40. package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-9441e08e.mjs} +2 -2
  41. package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-04490919.mjs} +23 -23
  42. package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-06300a47.mjs} +3 -3
  43. package/{IndexTable-cdcc2b48.mjs → IndexTable-79bddd5c.mjs} +3 -3
  44. package/JModalTip-192fafa1.mjs +49 -0
  45. package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-9abcf657.mjs} +1 -1
  46. package/{LeftDepart-d5615ed9.mjs → LeftDepart-35d78655.mjs} +1 -1
  47. package/LeftRole-9d88976d.mjs +86 -0
  48. package/{LeftUser-22baa378.mjs → LeftUser-04c89aea.mjs} +30 -30
  49. package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-5f94ef13.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-40753de5.mjs} +1 -1
  51. package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-179035c7.mjs} +1 -1
  52. package/{ModalFormDemo-711418db.mjs → ModalFormDemo-3a85920c.mjs} +1 -1
  53. package/OnlCgformErpList-8fd15fc1.mjs +488 -0
  54. package/OnlCgformErpSubTable-3515150b.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-13e888c6.mjs} +38 -38
  56. package/OnlCgformInnerTableList-2e8f853c.mjs +474 -0
  57. package/OnlCgformTabList-583ac15f.mjs +424 -0
  58. package/OnlineAutoList-36ec0957.mjs +513 -0
  59. package/OnlineAutoModal-c0743caf.mjs +260 -0
  60. package/OnlineAutoTreeList-1cd718be.mjs +523 -0
  61. package/OnlineCustomModal-661ee850.mjs +232 -0
  62. package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-785e848e.mjs} +74 -65
  63. package/OnlineForm-c1fb38eb.mjs +1012 -0
  64. package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-50186870.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-905bf251.mjs} +9 -9
  66. package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-a9dd2bfa.mjs} +11 -11
  67. package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-b8941f05.mjs} +9 -9
  68. package/OnlineFormUrlSuccess-ecaf6a21.mjs +59 -0
  69. package/OnlineQueryForm-ca6186a3.mjs +484 -0
  70. package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-5c503a51.mjs} +82 -82
  71. package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-a3e686b3.mjs} +1 -1
  72. package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-be1ad3b9.mjs} +52 -53
  73. package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-fb59b573.mjs} +108 -95
  74. package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-4b9c4838.mjs} +36 -36
  75. package/OnlineTabForm-89389384.mjs +814 -0
  76. package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-72173ae4.mjs} +17 -17
  77. package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-345b97fe.mjs} +108 -108
  78. package/PhoneLoginForm-8ca7e2d4.mjs +214 -0
  79. package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-485b5679.mjs} +32 -32
  80. package/{QueryTable-f7bfca7f.mjs → QueryTable-f0a88d78.mjs} +3 -3
  81. package/SetSwitchOptions-cdcb22a1.mjs +62 -0
  82. package/ShareAddView-f713c0a5.mjs +86 -0
  83. package/ShareEditView-691764ad.mjs +92 -0
  84. package/ShareView-df344a8d.mjs +80 -0
  85. package/ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs +162 -0
  86. package/SingleView-ad0287d6.mjs +68 -0
  87. package/SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs +131 -0
  88. package/SuperQuery-2b293e3b.mjs +974 -0
  89. package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
  90. package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
  91. package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
  92. package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
  93. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  94. package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
  95. package/index-181f8344.mjs +219 -0
  96. package/index-19eaef11.mjs +11 -0
  97. package/{index-30e0e923.mjs → index-3c7392a4.mjs} +272 -262
  98. package/{index-f30613d1.mjs → index-3ccda826.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-93341e02.mjs +110 -0
  101. package/index-bef7fe2d.mjs +74 -0
  102. package/index-d6f9ada7.mjs +135 -0
  103. package/index-f3683351.mjs +57 -0
  104. package/main.index.js +1 -1
  105. package/package.json +1 -1
  106. package/shareStore-7de6c7a6.mjs +67 -0
  107. package/style.css +1 -1
  108. package/useCgformList-13c8aab7.mjs +378 -0
  109. package/useExtendComponent-3f5734ca.mjs +4459 -0
  110. package/useListButton-ee23874a.mjs +719 -0
  111. package/{useSchemas-a9c75b0f.mjs → useSchemas-f1819e54.mjs} +72 -39
  112. package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
  113. package/utils-9fce7606.mjs +16 -0
  114. package/AiModal-6de335e3.mjs +0 -84
  115. package/AuthButtonConfig-89763932.mjs +0 -154
  116. package/AuthButtonTree-2d87d0b3.mjs +0 -157
  117. package/AuthFieldTree-e326fc38.mjs +0 -232
  118. package/CgformCopyList-365b3e8f.mjs +0 -251
  119. package/CodeFileListModal-24601898.mjs +0 -159
  120. package/CodeGeneratorModal-f09fe903.mjs +0 -282
  121. package/CustomButtonList-f07bc695.mjs +0 -397
  122. package/JModalTip-b055ab60.mjs +0 -49
  123. package/LeftRole-2ed8a2bf.mjs +0 -86
  124. package/OnlCgformErpList-58acdfa0.mjs +0 -470
  125. package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
  126. package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
  127. package/OnlCgformTabList-019ad753.mjs +0 -408
  128. package/OnlineAutoList-48589d09.mjs +0 -493
  129. package/OnlineAutoModal-c2928847.mjs +0 -239
  130. package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
  131. package/OnlineCustomModal-9e17b6ce.mjs +0 -232
  132. package/OnlineForm-9f1153ba.mjs +0 -985
  133. package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
  134. package/OnlineQueryForm-eedb9a60.mjs +0 -466
  135. package/OnlineTabForm-27655c83.mjs +0 -817
  136. package/SetSwitchOptions-b2af757f.mjs +0 -62
  137. package/SuperQuery-a8592995.mjs +0 -967
  138. package/index-1d1a6e56.mjs +0 -57
  139. package/useCgformList-f41d4dc1.mjs +0 -426
  140. package/useExtendComponent-dcae5c78.mjs +0 -4399
  141. package/useListButton-bfac4ecf.mjs +0 -697
  142. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
@@ -1,27 +1,27 @@
1
- var P = (e, n, i) => new Promise((c, d) => {
2
- var h = (a) => {
1
+ var L = (e, n, i) => new Promise((c, d) => {
2
+ var C = (a) => {
3
3
  try {
4
4
  s(i.next(a));
5
5
  } catch (p) {
6
6
  d(p);
7
7
  }
8
- }, C = (a) => {
8
+ }, h = (a) => {
9
9
  try {
10
10
  s(i.throw(a));
11
11
  } catch (p) {
12
12
  d(p);
13
13
  }
14
- }, s = (a) => a.done ? c(a.value) : Promise.resolve(a.value).then(h, C);
14
+ }, s = (a) => a.done ? c(a.value) : Promise.resolve(a.value).then(C, h);
15
15
  s((i = i.apply(e, n)).next());
16
16
  });
17
- import { defineComponent as te, ref as I, watch as ne, computed as ae, resolveComponent as l, openBlock as r, createBlock as u, mergeProps as le, createSlots as me, withCtx as t, createVNode as f, createElementBlock as A, Fragment as R, renderList as E, createTextVNode as g, toDisplayString as k, createCommentVNode as re, createElementVNode as V } from "vue";
17
+ import { defineComponent as oe, ref as B, watch as ne, computed as ae, resolveComponent as r, openBlock as m, createBlock as u, mergeProps as re, createSlots as le, withCtx as o, createVNode as f, createElementBlock as A, Fragment as V, renderList as j, createTextVNode as I, toDisplayString as g, createElementVNode as N, createCommentVNode as me } from "vue";
18
18
  import { BasicModal as ie } from "/@/components/Modal";
19
- import de from "./OnlineTabForm-27655c83.mjs";
20
- import { b as se } from "./useExtendComponent-dcae5c78.mjs";
19
+ import de from "./OnlineTabForm-89389384.mjs";
20
+ import { b as se } from "./useExtendComponent-3f5734ca.mjs";
21
21
  import pe from "/@/components/jeecg/comment/CommentPanel.vue";
22
22
  import { T as ue } from "./constant-fa63bd66.mjs";
23
23
  import { useAppInject as ce } from "/@/hooks/web/useAppInject";
24
- import { _ as be } from "./index-1d1a6e56.mjs";
24
+ import { _ as be } from "./index-f3683351.mjs";
25
25
  import "/@/hooks/web/useMessage";
26
26
  import "/@/components/Form/index";
27
27
  import "/@/utils/http/axios";
@@ -47,20 +47,30 @@ import "/@/hooks/system/useListPage";
47
47
  import "vue-router";
48
48
  import "/@/components/Form/src/utils/Area";
49
49
  import "/@/components/Preview/index";
50
- import "./LinkTableListPiece-f3a8e0d7.mjs";
50
+ import "./LinkTableListPiece-179035c7.mjs";
51
51
  import "/@/api/common/api";
52
52
  import "/@/assets/images/placeholderImage.png";
53
- import "./OnlineSelectCascade-05c40fef.mjs";
54
- import "./JModalTip-b055ab60.mjs";
53
+ import "./OnlineSelectCascade-a3e686b3.mjs";
54
+ import "./JModalTip-192fafa1.mjs";
55
55
  import "ant-design-vue";
56
56
  import "@vueuse/core";
57
57
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
58
- const fe = te({
58
+ const fe = oe({
59
59
  name: "OnlineTabAutoModal",
60
60
  props: {
61
61
  id: {
62
62
  type: String,
63
63
  default: ""
64
+ },
65
+ cgBIBtnMap: Object,
66
+ buttonSwitch: Object,
67
+ confirmBtnCfg: {
68
+ type: Object,
69
+ default: () => ({
70
+ enabled: !0,
71
+ buttonName: "确定",
72
+ buttonIcon: ""
73
+ })
64
74
  }
65
75
  },
66
76
  components: {
@@ -70,23 +80,23 @@ const fe = te({
70
80
  },
71
81
  emits: ["success", "register", "formConfig"],
72
82
  setup(e, { emit: n }) {
73
- const i = I(), c = I([]), d = I("-1"), h = I(0), { getIsMobile: C } = ce();
83
+ const i = B(), c = B([]), d = B("-1"), C = B(0), { getIsMobile: h } = ce();
74
84
  function s() {
75
85
  i.value && i.value.reload();
76
86
  }
77
87
  const {
78
88
  title: a,
79
89
  modalWidth: p,
80
- registerModal: N,
90
+ registerModal: S,
81
91
  closeModal: T,
82
92
  cgButtonList: y,
83
- handleCgButtonClick: S,
84
- disableSubmit: w,
85
- handleSubmit: B,
86
- submitLoading: M,
87
- handleCancel: o,
93
+ handleCgButtonClick: w,
94
+ disableSubmit: M,
95
+ handleSubmit: _,
96
+ submitLoading: O,
97
+ handleCancel: t,
88
98
  handleFormConfig: b,
89
- onlineFormCompRef: j,
99
+ onlineFormCompRef: P,
90
100
  formTemplate: W,
91
101
  isTreeForm: H,
92
102
  pidFieldName: U,
@@ -98,41 +108,41 @@ const fe = te({
98
108
  onCloseEvent: D,
99
109
  themeTemplate: Q
100
110
  } = se(!1, { emit: n }, s);
101
- function X(m) {
102
- n("success", m), T(), D(), $();
111
+ function X(l) {
112
+ n("success", l), T(), D(), E();
103
113
  }
104
114
  ne(() => e.id, Y, { immediate: !0 });
105
115
  function Y() {
106
- return P(this, null, function* () {
107
- z.value = !1, e.id && (yield b(e.id, {}, (m) => {
108
- const _ = [], F = [], { head: L, schema: ee } = m, { properties: oe } = ee;
109
- _.push({ tableName: L.tableName, tableTxt: L.tableTxt }), Object.entries(oe).forEach(([O, v]) => {
110
- v.view == "tab" && F.push({ tableName: O, tableTxt: v.describe, order: v.order });
111
- }), F.sort((O, v) => O.order - v.order), c.value = [..._, ...F];
116
+ return L(this, null, function* () {
117
+ z.value = !1, e.id && (yield b(e.id, {}, (l) => {
118
+ const k = [], F = [], { head: $, schema: ee } = l, { properties: te } = ee;
119
+ k.push({ tableName: $.tableName, tableTxt: $.tableTxt }), Object.entries(te).forEach(([R, v]) => {
120
+ v.view == "tab" && F.push({ tableName: R, tableTxt: v.describe, order: v.order });
121
+ }), F.sort((R, v) => R.order - v.order), c.value = [...k, ...F];
112
122
  }));
113
123
  });
114
124
  }
115
- const Z = (m) => String(m - 1), $ = () => {
125
+ const Z = (l) => String(l - 1), E = () => {
116
126
  setTimeout(() => {
117
127
  d.value = "-1";
118
128
  }, 500);
119
- }, x = ae(() => C.value && c.value.length > 2);
129
+ }, x = ae(() => h.value && c.value.length > 2);
120
130
  return {
121
131
  title: a,
122
- onlineFormCompRef: j,
132
+ onlineFormCompRef: P,
123
133
  renderSuccess: q,
124
- registerModal: N,
125
- handleSubmit: B,
134
+ registerModal: S,
135
+ handleSubmit: _,
126
136
  handleSuccess: X,
127
- handleCancel: o,
137
+ handleCancel: t,
128
138
  modalWidth: p,
129
139
  formTemplate: W,
130
- disableSubmit: w,
140
+ disableSubmit: M,
131
141
  cgButtonList: y,
132
- handleCgButtonClick: S,
142
+ handleCgButtonClick: w,
133
143
  isTreeForm: H,
134
144
  pidFieldName: U,
135
- submitLoading: M,
145
+ submitLoading: O,
136
146
  tableName: G,
137
147
  formDataId: J,
138
148
  enableComment: K,
@@ -143,25 +153,25 @@ const fe = te({
143
153
  tabValue: Z,
144
154
  tabIndex: d,
145
155
  TAB: ue,
146
- restTabIndex: $,
147
- handleMenuClick: ({ key: m }) => {
148
- d.value = m;
156
+ restTabIndex: E,
157
+ handleMenuClick: ({ key: l }) => {
158
+ d.value = l;
149
159
  },
150
160
  showDropdownBtn: x,
151
- handleToggleTab: (m) => {
152
- d.value = m;
161
+ handleToggleTab: (l) => {
162
+ d.value = l;
153
163
  },
154
- handleCommentOpen: (m, _) => {
155
- h.value = _;
164
+ handleCommentOpen: (l, k) => {
165
+ C.value = k;
156
166
  },
157
- commentSpan: h
167
+ commentSpan: C
158
168
  };
159
169
  }
160
170
  });
161
- const ge = { class: "titleArea" }, he = { class: "title" }, Ce = { class: "right" };
162
- function Te(e, n, i, c, d, h) {
163
- const C = l("a-menu-item"), s = l("a-menu"), a = l("a-dropdown-button"), p = l("a-radio-button"), N = l("a-radio-group"), T = l("a-button"), y = l("a-col"), S = l("a-row"), w = l("online-form"), B = l("comment-panel"), M = l("BasicModal");
164
- return r(), u(M, le({
171
+ const ge = { class: "titleArea" }, Ce = { class: "title" }, he = { class: "right" };
172
+ function Te(e, n, i, c, d, C) {
173
+ const h = r("a-menu-item"), s = r("a-menu"), a = r("a-dropdown-button"), p = r("a-radio-button"), S = r("a-radio-group"), T = r("a-button"), y = r("a-col"), w = r("a-row"), M = r("online-form"), _ = r("comment-panel"), O = r("BasicModal");
174
+ return m(), u(O, re({
165
175
  title: e.title,
166
176
  onCancel: n[2] || (n[2] = () => {
167
177
  e.onCloseEvent(), e.restTabIndex();
@@ -174,45 +184,46 @@ function Te(e, n, i, c, d, h) {
174
184
  wrapClassName: "jeecg-online-modal",
175
185
  onOk: e.handleSubmit,
176
186
  onCommentOpen: e.handleCommentOpen
177
- }), me({
178
- footer: t(() => [
179
- f(S, null, {
180
- default: t(() => [
187
+ }), le({
188
+ footer: o(() => [
189
+ f(w, null, {
190
+ default: o(() => [
181
191
  f(y, {
182
192
  span: 24 - e.commentSpan
183
193
  }, {
184
- default: t(() => [
185
- (r(!0), A(R, null, E(e.cgButtonList, (o) => (r(), u(T, {
186
- key: o.id,
194
+ default: o(() => [
195
+ (m(!0), A(V, null, j(e.cgButtonList, (t) => (m(), u(T, {
196
+ key: t.id,
187
197
  type: "primary",
188
- onClick: (b) => e.handleCgButtonClick(o.optType, o.buttonCode),
189
- preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
198
+ onClick: (b) => e.handleCgButtonClick(t.optType, t.buttonCode),
199
+ preIcon: t.buttonIcon ? "ant-design:" + t.buttonIcon : ""
190
200
  }, {
191
- default: t(() => [
192
- g(k(o.buttonName), 1)
201
+ default: o(() => [
202
+ I(g(t.buttonName), 1)
193
203
  ]),
194
204
  _: 2
195
205
  }, 1032, ["onClick", "preIcon"]))), 128)),
196
- e.disableSubmit ? re("", !0) : (r(), u(T, {
206
+ !e.disableSubmit && e.confirmBtnCfg.enabled ? (m(), u(T, {
197
207
  key: "submit",
198
208
  type: "primary",
199
- onClick: e.handleSubmit,
200
- loading: e.submitLoading
209
+ preIcon: e.confirmBtnCfg.buttonIcon,
210
+ loading: e.submitLoading,
211
+ onClick: e.handleSubmit
201
212
  }, {
202
- default: t(() => [
203
- g("确定")
213
+ default: o(() => [
214
+ N("span", null, g(e.confirmBtnCfg.buttonName), 1)
204
215
  ]),
205
216
  _: 1
206
- }, 8, ["onClick", "loading"])),
217
+ }, 8, ["preIcon", "loading", "onClick"])) : me("", !0),
207
218
  f(T, {
208
219
  key: "back",
209
220
  onClick: n[1] || (n[1] = () => {
210
221
  e.handleCancel(), e.restTabIndex();
211
222
  })
212
223
  }, {
213
- default: t(() => [
214
- g("关闭")
215
- ]),
224
+ default: o(() => n[3] || (n[3] = [
225
+ I("关闭")
226
+ ])),
216
227
  _: 1
217
228
  })
218
229
  ]),
@@ -222,15 +233,15 @@ function Te(e, n, i, c, d, h) {
222
233
  _: 1
223
234
  })
224
235
  ]),
225
- comment: t(() => [
226
- f(B, {
236
+ comment: o(() => [
237
+ f(_, {
227
238
  ref: "commentPanelRef",
228
239
  tableName: e.tableName,
229
240
  dataId: e.formDataId
230
241
  }, null, 8, ["tableName", "dataId"])
231
242
  ]),
232
- default: t(() => [
233
- f(w, {
243
+ default: o(() => [
244
+ f(M, {
234
245
  ref: "onlineFormCompRef",
235
246
  id: e.id,
236
247
  disabled: e.disableSubmit,
@@ -239,31 +250,33 @@ function Te(e, n, i, c, d, h) {
239
250
  pidField: e.pidFieldName,
240
251
  themeTemplate: e.themeTemplate,
241
252
  tabIndex: e.tabIndex,
253
+ cgBIBtnMap: e.cgBIBtnMap,
254
+ buttonSwitch: e.buttonSwitch,
242
255
  onRendered: e.renderSuccess,
243
256
  onSuccess: e.handleSuccess,
244
257
  onToggleTab: e.handleToggleTab
245
- }, null, 8, ["id", "disabled", "form-template", "isTree", "pidField", "themeTemplate", "tabIndex", "onRendered", "onSuccess", "onToggleTab"])
258
+ }, null, 8, ["id", "disabled", "form-template", "isTree", "pidField", "themeTemplate", "tabIndex", "cgBIBtnMap", "buttonSwitch", "onRendered", "onSuccess", "onToggleTab"])
246
259
  ]),
247
260
  _: 2
248
261
  }, [
249
262
  e.themeTemplate === e.TAB ? {
250
263
  name: "title",
251
- fn: t(() => [
252
- V("div", ge, [
253
- V("div", he, k(e.title), 1),
254
- V("div", Ce, [
255
- e.showDropdownBtn ? (r(), u(a, {
264
+ fn: o(() => [
265
+ N("div", ge, [
266
+ N("div", Ce, g(e.title), 1),
267
+ N("div", he, [
268
+ e.showDropdownBtn ? (m(), u(a, {
256
269
  key: 0,
257
270
  trigger: "click"
258
271
  }, {
259
- overlay: t(() => [
272
+ overlay: o(() => [
260
273
  f(s, { onClick: e.handleMenuClick }, {
261
- default: t(() => [
262
- (r(!0), A(R, null, E(e.tabNav, (o, b) => (r(), u(C, {
274
+ default: o(() => [
275
+ (m(!0), A(V, null, j(e.tabNav, (t, b) => (m(), u(h, {
263
276
  key: e.tabValue(b)
264
277
  }, {
265
- default: t(() => [
266
- g(k(o.tableTxt), 1)
278
+ default: o(() => [
279
+ I(g(t.tableTxt), 1)
267
280
  ]),
268
281
  _: 2
269
282
  }, 1024))), 128))
@@ -271,22 +284,22 @@ function Te(e, n, i, c, d, h) {
271
284
  _: 1
272
285
  }, 8, ["onClick"])
273
286
  ]),
274
- default: t(() => [
275
- g(k(e.tabNav[+e.tabIndex + 1].tableTxt) + " ", 1)
287
+ default: o(() => [
288
+ I(g(e.tabNav[+e.tabIndex + 1].tableTxt) + " ", 1)
276
289
  ]),
277
290
  _: 1
278
- })) : (r(), u(N, {
291
+ })) : (m(), u(S, {
279
292
  key: 1,
280
293
  value: e.tabIndex,
281
- "onUpdate:value": n[0] || (n[0] = (o) => e.tabIndex = o)
294
+ "onUpdate:value": n[0] || (n[0] = (t) => e.tabIndex = t)
282
295
  }, {
283
- default: t(() => [
284
- (r(!0), A(R, null, E(e.tabNav, (o, b) => (r(), u(p, {
296
+ default: o(() => [
297
+ (m(!0), A(V, null, j(e.tabNav, (t, b) => (m(), u(p, {
285
298
  value: e.tabValue(b),
286
- key: o.tableName
299
+ key: t.tableName
287
300
  }, {
288
- default: t(() => [
289
- g(k(o.tableTxt), 1)
301
+ default: o(() => [
302
+ I(g(t.tableTxt), 1)
290
303
  ]),
291
304
  _: 2
292
305
  }, 1032, ["value"]))), 128))
@@ -300,7 +313,7 @@ function Te(e, n, i, c, d, h) {
300
313
  } : void 0
301
314
  ]), 1040, ["title", "enableComment", "width", "onRegister", "onOk", "onCommentOpen"]);
302
315
  }
303
- const co = /* @__PURE__ */ be(fe, [["render", Te], ["__scopeId", "data-v-95f03815"]]);
316
+ const ut = /* @__PURE__ */ be(fe, [["render", Te], ["__scopeId", "data-v-e1588480"]]);
304
317
  export {
305
- co as default
318
+ ut as default
306
319
  };
@@ -1,32 +1,32 @@
1
- var F = (e, o, a) => new Promise((s, i) => {
2
- var u = (t) => {
1
+ var F = (e, t, a) => new Promise((s, i) => {
2
+ var u = (o) => {
3
3
  try {
4
- n(a.next(t));
4
+ n(a.next(o));
5
5
  } catch (r) {
6
6
  i(r);
7
7
  }
8
- }, p = (t) => {
8
+ }, p = (o) => {
9
9
  try {
10
- n(a.throw(t));
10
+ n(a.throw(o));
11
11
  } catch (r) {
12
12
  i(r);
13
13
  }
14
- }, n = (t) => t.done ? s(t.value) : Promise.resolve(t.value).then(u, p);
15
- n((a = a.apply(e, o)).next());
14
+ }, n = (o) => o.done ? s(o.value) : Promise.resolve(o.value).then(u, p);
15
+ n((a = a.apply(e, t)).next());
16
16
  });
17
17
  import { defineComponent as z, ref as C, watch as G, resolveComponent as d, openBlock as I, createBlock as M, mergeProps as J, withCtx as m, createElementVNode as N, toDisplayString as R, createVNode as f, createElementBlock as K, Fragment as Q, renderList as X, createTextVNode as S } from "vue";
18
18
  import { BasicModal as Y } from "/@/components/Modal";
19
- import Z from "./OnlineTabFormDetail-8d0c40c0.mjs";
20
- import { b as ee } from "./useExtendComponent-dcae5c78.mjs";
19
+ import Z from "./OnlineTabFormDetail-72173ae4.mjs";
20
+ import { b as ee } from "./useExtendComponent-3f5734ca.mjs";
21
21
  import te from "/@/components/jeecg/comment/CommentPanel.vue";
22
22
  import { T as oe } from "./constant-fa63bd66.mjs";
23
- import { _ as ae } from "./index-1d1a6e56.mjs";
23
+ import { _ as ae } from "./index-f3683351.mjs";
24
24
  import "/@/hooks/web/useMessage";
25
25
  import "/@/components/Loading";
26
26
  import "/@/utils/auth";
27
27
  import "/@/utils";
28
28
  import "@ant-design/icons-vue";
29
- import "./DetailForm-deecbf3d.mjs";
29
+ import "./DetailForm-c127c27f.mjs";
30
30
  import "/@/utils/propTypes";
31
31
  import "/@/utils/dict";
32
32
  import "/@/utils/dict/JDictSelectUtil";
@@ -37,7 +37,7 @@ import "/@/components/Form/src/utils/Area";
37
37
  import "/@/utils/common/compUtils";
38
38
  import "/@/components/Preview/index";
39
39
  import "/@/components/Markdown";
40
- import "./OnlineSubFormDetail-58e896ce.mjs";
40
+ import "./OnlineSubFormDetail-be1ad3b9.mjs";
41
41
  import "/@/components/Form/index";
42
42
  import "/@/hooks/web/useAppInject";
43
43
  import "/@/components/Form/src/componentMap";
@@ -51,10 +51,10 @@ import "/@/store/modules/permission";
51
51
  import "/@/components/Table";
52
52
  import "/@/hooks/system/useListPage";
53
53
  import "vue-router";
54
- import "./LinkTableListPiece-f3a8e0d7.mjs";
54
+ import "./LinkTableListPiece-179035c7.mjs";
55
55
  import "/@/assets/images/placeholderImage.png";
56
- import "./OnlineSelectCascade-05c40fef.mjs";
57
- import "./JModalTip-b055ab60.mjs";
56
+ import "./OnlineSelectCascade-a3e686b3.mjs";
57
+ import "./JModalTip-192fafa1.mjs";
58
58
  import "ant-design-vue";
59
59
  import "@vueuse/core";
60
60
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
@@ -73,7 +73,7 @@ const ne = z({
73
73
  CommentPanel: te
74
74
  },
75
75
  emits: ["success", "register", "formConfig"],
76
- setup(e, { emit: o }) {
76
+ setup(e, { emit: t }) {
77
77
  const a = C(), s = C([]), i = C("-1");
78
78
  function u() {
79
79
  a.value && a.value.reload();
@@ -81,12 +81,12 @@ const ne = z({
81
81
  const {
82
82
  title: p,
83
83
  modalWidth: n,
84
- registerModal: t,
84
+ registerModal: o,
85
85
  cgButtonList: r,
86
86
  handleCgButtonClick: c,
87
87
  disableSubmit: h,
88
88
  handleSubmit: l,
89
- submitLoading: _,
89
+ submitLoading: g,
90
90
  handleCancel: k,
91
91
  handleFormConfig: D,
92
92
  onlineFormCompRef: y,
@@ -100,15 +100,15 @@ const ne = z({
100
100
  formDataId: j,
101
101
  enableComment: W,
102
102
  themeTemplate: q
103
- } = ee(!1, { emit: o }, u);
103
+ } = ee(!1, { emit: t }, u);
104
104
  G(() => e.id, H, { immediate: !0 });
105
105
  function H() {
106
106
  return F(this, null, function* () {
107
- P.value = !1, e.id && (yield D(e.id, {}, (g) => {
108
- const w = [], T = [], { head: B, schema: U } = g, { properties: x } = U;
107
+ P.value = !1, e.id && (yield D(e.id, {}, (T) => {
108
+ const w = [], _ = [], { head: B, schema: U } = T, { properties: x } = U;
109
109
  w.push({ tableName: B.tableName, tableTxt: B.tableTxt }), Object.entries(x).forEach(([v, b]) => {
110
- b.view == "tab" && T.push({ tableName: v, tableTxt: b.describe });
111
- }), T.sort((v, b) => v.order - b.order), s.value = [...w, ...T];
110
+ b.view == "tab" && _.push({ tableName: v, tableTxt: b.describe });
111
+ }), _.sort((v, b) => v.order - b.order), s.value = [...w, ..._];
112
112
  }));
113
113
  });
114
114
  }
@@ -116,7 +116,7 @@ const ne = z({
116
116
  title: p,
117
117
  onlineFormCompRef: y,
118
118
  renderSuccess: E,
119
- registerModal: t,
119
+ registerModal: o,
120
120
  handleSubmit: l,
121
121
  handleCancel: k,
122
122
  modalWidth: n,
@@ -126,7 +126,7 @@ const ne = z({
126
126
  handleCgButtonClick: c,
127
127
  isTreeForm: O,
128
128
  pidFieldName: $,
129
- submitLoading: _,
129
+ submitLoading: g,
130
130
  showSub: A,
131
131
  tableName: L,
132
132
  formDataId: j,
@@ -134,7 +134,7 @@ const ne = z({
134
134
  commentPanelRef: a,
135
135
  themeTemplate: q,
136
136
  tabNav: s,
137
- tabValue: (g) => String(g - 1),
137
+ tabValue: (T) => String(T - 1),
138
138
  tabIndex: i,
139
139
  TAB: oe,
140
140
  restTabIndex: () => {
@@ -146,11 +146,11 @@ const ne = z({
146
146
  }
147
147
  });
148
148
  const re = { class: "titleArea" }, me = { class: "title" }, ie = { class: "right" };
149
- function le(e, o, a, s, i, u) {
150
- const p = d("a-radio-button"), n = d("a-radio-group"), t = d("a-button"), r = d("online-form-detail"), c = d("comment-panel"), h = d("BasicModal");
149
+ function le(e, t, a, s, i, u) {
150
+ const p = d("a-radio-button"), n = d("a-radio-group"), o = d("a-button"), r = d("online-form-detail"), c = d("comment-panel"), h = d("BasicModal");
151
151
  return I(), M(h, J({
152
152
  title: e.title,
153
- onCancel: o[2] || (o[2] = () => {
153
+ onCancel: t[2] || (t[2] = () => {
154
154
  e.restTabIndex();
155
155
  }),
156
156
  width: e.modalWidth,
@@ -167,11 +167,11 @@ function le(e, o, a, s, i, u) {
167
167
  N("div", ie, [
168
168
  f(n, {
169
169
  value: e.tabIndex,
170
- "onUpdate:value": o[0] || (o[0] = (l) => e.tabIndex = l)
170
+ "onUpdate:value": t[0] || (t[0] = (l) => e.tabIndex = l)
171
171
  }, {
172
172
  default: m(() => [
173
- (I(!0), K(Q, null, X(e.tabNav, (l, _) => (I(), M(p, {
174
- value: e.tabValue(_),
173
+ (I(!0), K(Q, null, X(e.tabNav, (l, g) => (I(), M(p, {
174
+ value: e.tabValue(g),
175
175
  key: l.tableName
176
176
  }, {
177
177
  default: m(() => [
@@ -186,15 +186,15 @@ function le(e, o, a, s, i, u) {
186
186
  ])
187
187
  ]),
188
188
  footer: m(() => [
189
- f(t, {
189
+ f(o, {
190
190
  key: "back",
191
- onClick: o[1] || (o[1] = () => {
191
+ onClick: t[1] || (t[1] = () => {
192
192
  e.handleCancel(), e.restTabIndex();
193
193
  })
194
194
  }, {
195
- default: m(() => [
195
+ default: m(() => t[3] || (t[3] = [
196
196
  S("关闭")
197
- ]),
197
+ ])),
198
198
  _: 1
199
199
  })
200
200
  ]),