@jeecg/online 3.6.2-GA → 3.7.0-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 (118) hide show
  1. package/AiModal-fe3988fb.mjs +84 -0
  2. package/AuthButtonConfig-d50a0a65.mjs +134 -0
  3. package/{AuthButtonTree-c2602a7c.mjs → AuthButtonTree-589395ed.mjs} +2 -2
  4. package/AuthDataConfig-7bb0cd85.mjs +237 -0
  5. package/{AuthDataTree-9dc58b20.mjs → AuthDataTree-6e3bb86f.mjs} +1 -1
  6. package/AuthFieldConfig-490fc0ab.mjs +139 -0
  7. package/{AuthFieldTree-d836be59.mjs → AuthFieldTree-b7cd091e.mjs} +1 -1
  8. package/AuthManagerDrawer-5e2ed5ce.mjs +118 -0
  9. package/AuthSetterModal-6f74449c.mjs +273 -0
  10. package/{CgformCopyList-86157923.mjs → CgformCopyList-8077ccc6.mjs} +47 -45
  11. package/{CgformModal-5cf02d51.mjs → CgformModal-36faf29a.mjs} +256 -246
  12. package/{CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs → CgreportModal-5a23d089.mjs} +140 -117
  13. package/CheckDictTable-b5cb0e2b.mjs +226 -0
  14. package/{CodeFileListModal-f747daae.mjs → CodeFileListModal-0e26b7e0.mjs} +2 -2
  15. package/{CodeFileViewModal-a9fb2900.mjs → CodeFileViewModal-9d4a5b5f.mjs} +36 -32
  16. package/CodeGeneratorModal-b722d976.mjs +238 -0
  17. package/{CustomButtonList-b9b27a93.mjs → CustomButtonList-37639061.mjs} +118 -100
  18. package/{DBAttributeTable-6bdcb1e8.mjs → DBAttributeTable-95dc66c1.mjs} +110 -89
  19. package/{DbToOnlineModal-3705e91a.mjs → DbToOnlineModal-f49b9530.mjs} +56 -50
  20. package/DetailForm-4aa2570b.mjs +485 -0
  21. package/{EnhanceJavaModal-c13de6e0.mjs → EnhanceJavaModal-98934198.mjs} +3 -3
  22. package/{EnhanceJsHistory-154101f0.mjs → EnhanceJsHistory-9c4acdaf.mjs} +2 -2
  23. package/EnhanceJsModal-247f640d.mjs +532 -0
  24. package/{EnhanceSqlModal-221c22dc.mjs → EnhanceSqlModal-65b74b0f.mjs} +3 -3
  25. package/ExtendConfigModal-00f2fb55.mjs +117 -0
  26. package/FieldExtendJsonModal-cc7fce26.mjs +277 -0
  27. package/{FileSelectModal-de40a706.mjs → FileSelectModal-38660e3c.mjs} +1 -1
  28. package/{ForeignKeyTable-22989042.mjs → ForeignKeyTable-a78cb5ad.mjs} +3 -3
  29. package/{IndexTable-833d34ff.mjs → IndexTable-1b496559.mjs} +10 -10
  30. package/{JModalTip-0413ad6a.mjs → JModalTip-4a83aaed.mjs} +1 -1
  31. package/{JOnlineSearchSelect-9ea89e13.mjs → JOnlineSearchSelect-34a37ec9.mjs} +1 -1
  32. package/{LeftDepart-b0a535c0.mjs → LeftDepart-8ade4bf7.mjs} +1 -1
  33. package/{LeftRole-22c90d6b.mjs → LeftRole-7d8c5acc.mjs} +1 -1
  34. package/{LeftUser-a44d63dd.mjs → LeftUser-b4d1372a.mjs} +3 -3
  35. package/LinkTableConfigModal-a138c85e.mjs +240 -0
  36. package/{LinkTableFieldConfigModal-06693eaa.mjs → LinkTableFieldConfigModal-17b413b0.mjs} +41 -41
  37. package/{LinkTableListPiece-46e8af51.mjs → LinkTableListPiece-2660d709.mjs} +1 -1
  38. package/{ModalFormDemo-d107fa87.mjs → ModalFormDemo-0544737d.mjs} +1 -1
  39. package/OnlCgformErpList-30e416c8.mjs +470 -0
  40. package/OnlCgformErpSubTable-9a876058.mjs +427 -0
  41. package/OnlCgformInnerSubTable-290ace5d.mjs +266 -0
  42. package/OnlCgformInnerTableList-f89b6687.mjs +458 -0
  43. package/OnlCgformTabList-7a2f2c03.mjs +408 -0
  44. package/OnlineAutoList-46c6c8b9.mjs +493 -0
  45. package/OnlineAutoModal-971bef13.mjs +236 -0
  46. package/{OnlineAutoTreeList-ec27d271.mjs → OnlineAutoTreeList-3b92454c.mjs} +206 -204
  47. package/{OnlineCustomModal-3e6792d3.mjs → OnlineCustomModal-594244f3.mjs} +15 -11
  48. package/{OnlineDetailModal-f40e37e1.mjs → OnlineDetailModal-2a271e0b.mjs} +74 -64
  49. package/OnlineForm-018981b2.mjs +924 -0
  50. package/OnlineForm.vue_vue_type_style_index_0_scoped_0f9f2964_lang-4ed993c7.mjs +1 -0
  51. package/OnlineFormDetail-e036cd11.mjs +342 -0
  52. package/OnlineFormUrlAdd-7fb3dcca.mjs +115 -0
  53. package/OnlineFormUrlDetail-b2292137.mjs +119 -0
  54. package/OnlineFormUrlEdit-44080fb3.mjs +113 -0
  55. package/OnlineFormUrlSuccess-af285b02.mjs +59 -0
  56. package/OnlineQueryForm-998c12a4.mjs +444 -0
  57. package/{OnlineSearchFormItem-fe308194.mjs → OnlineSearchFormItem-6feacae6.mjs} +2 -2
  58. package/{OnlineSelectCascade-abc345f9.mjs → OnlineSelectCascade-471fcc76.mjs} +1 -1
  59. package/{OnlineSubFormDetail-02326a8c.mjs → OnlineSubFormDetail-03f8ee5c.mjs} +29 -27
  60. package/OnlineTabAutoModal-7b9bcd0b.mjs +306 -0
  61. package/{OnlineTabDetailModal-d23bd4c9.mjs → OnlineTabDetailModal-88143301.mjs} +22 -20
  62. package/OnlineTabForm-9ad7d29a.mjs +805 -0
  63. package/OnlineTabFormDetail-bbf23caa.mjs +327 -0
  64. package/PageAttributeTable-6c23547b.mjs +446 -0
  65. package/{ProcessOnlineForm-84f4d02d.mjs → ProcessOnlineForm-b42198f5.mjs} +32 -28
  66. package/QueryTable-96b3dbd0.mjs +144 -0
  67. package/SetSwitchOptions-a452fa0f.mjs +62 -0
  68. package/SuperQuery-cbfba908.mjs +975 -0
  69. package/{auth.data-8be5c9e3.mjs → auth.data-22948e87.mjs} +56 -14
  70. package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
  71. package/constant-fa63bd66.mjs +10 -0
  72. package/{enhance.data-efc7e155.mjs → enhance.data-3304d553.mjs} +3 -3
  73. package/index-173949bb.mjs +57 -0
  74. package/{index-0a93652b.mjs → index-581bef24.mjs} +29 -27
  75. package/{index-e1bda35b.mjs → index-d2abb8a0.mjs} +394 -361
  76. package/main.index.js +1 -1
  77. package/package.json +1 -1
  78. package/style.css +1 -1
  79. package/useCgformList-8755a94e.mjs +426 -0
  80. package/useExtendComponent-bb7cca20.mjs +4295 -0
  81. package/useFormUrl-2ee1a82d.mjs +24 -0
  82. package/useListButton-7ddb9a46.mjs +697 -0
  83. package/{useSchemas-0433a403.mjs → useSchemas-47e45edc.mjs} +167 -86
  84. package/{useTableSync-774c3774.mjs → useTableSync-f6089e8a.mjs} +1 -1
  85. package/AuthButtonConfig-f142147a.mjs +0 -125
  86. package/AuthDataConfig-8e5c7b0c.mjs +0 -212
  87. package/AuthFieldConfig-e9a45f94.mjs +0 -139
  88. package/AuthManagerDrawer-5b558c23.mjs +0 -114
  89. package/AuthSetterModal-0cc557cf.mjs +0 -267
  90. package/CgreportModal-2eb9c9e1.mjs +0 -13
  91. package/CheckDictTable-27102064.mjs +0 -211
  92. package/CodeGeneratorModal-3a0e9f0e.mjs +0 -233
  93. package/DetailForm-cdeb54e3.mjs +0 -462
  94. package/EnhanceJsModal-6158804c.mjs +0 -311
  95. package/ExtendConfigModal-0564ef83.mjs +0 -111
  96. package/FieldExtendJsonModal-40d961c1.mjs +0 -219
  97. package/LinkTableConfigModal-5edaa08d.mjs +0 -230
  98. package/OnlCgformErpList-4c51cdb3.mjs +0 -454
  99. package/OnlCgformErpSubTable-d7081b9f.mjs +0 -403
  100. package/OnlCgformInnerSubTable-4c3925bb.mjs +0 -253
  101. package/OnlCgformInnerTableList-1e5014fa.mjs +0 -444
  102. package/OnlCgformTabList-c59c7cc7.mjs +0 -395
  103. package/OnlineAutoList-a7a9de5d.mjs +0 -479
  104. package/OnlineAutoModal-a33f1a63.mjs +0 -207
  105. package/OnlineForm-fb3a2379.mjs +0 -750
  106. package/OnlineFormDetail-52b1c303.mjs +0 -297
  107. package/OnlineQueryForm-7c70734e.mjs +0 -386
  108. package/OnlineTabAutoModal-6d9da8b0.mjs +0 -254
  109. package/OnlineTabForm-29ca07f7.mjs +0 -766
  110. package/OnlineTabFormDetail-aa7e1144.mjs +0 -324
  111. package/PageAttributeTable-d82946c5.mjs +0 -404
  112. package/QueryTable-d4599fca.mjs +0 -115
  113. package/SuperQuery-07162778.mjs +0 -843
  114. package/constant-754f1a9d.mjs +0 -9
  115. package/index-73993b18.mjs +0 -56
  116. package/useCgformList-b135794d.mjs +0 -400
  117. package/useExtendComponent-f4e29152.mjs +0 -3926
  118. package/useListButton-4dd33e7a.mjs +0 -676
@@ -1,254 +0,0 @@
1
- var A = (e, n, a) => new Promise((p, l) => {
2
- var b = (t) => {
3
- try {
4
- r(a.next(t));
5
- } catch (m) {
6
- l(m);
7
- }
8
- }, u = (t) => {
9
- try {
10
- r(a.throw(t));
11
- } catch (m) {
12
- l(m);
13
- }
14
- }, r = (t) => t.done ? p(t.value) : Promise.resolve(t.value).then(b, u);
15
- r((a = a.apply(e, n)).next());
16
- });
17
- import { defineComponent as x, ref as S, watch as ee, resolveComponent as d, openBlock as s, createBlock as h, mergeProps as te, createSlots as oe, withCtx as i, createElementBlock as w, Fragment as E, renderList as O, createTextVNode as g, toDisplayString as y, createCommentVNode as ne, createVNode as T, createElementVNode as B } from "vue";
18
- import { BasicModal as ae } from "/@/components/Modal";
19
- import ie from "./OnlineTabForm-29ca07f7.mjs";
20
- import { b as re } from "./useExtendComponent-f4e29152.mjs";
21
- import me from "/@/components/jeecg/comment/CommentPanel.vue";
22
- import { T as le } from "./constant-754f1a9d.mjs";
23
- import { _ as de } from "./index-73993b18.mjs";
24
- import "/@/hooks/web/useMessage";
25
- import "/@/components/Form/index";
26
- import "/@/utils/http/axios";
27
- import "lodash-es";
28
- import "/@/utils";
29
- import "/@/components/Loading";
30
- import "/@/utils/auth";
31
- import "@ant-design/icons-vue";
32
- import "./useCustomHook-acb00837.mjs";
33
- import "/@/utils/cache";
34
- import "/@/utils/common/compUtils";
35
- import "/@/store/modules/user";
36
- import "/@/components/Form/src/componentMap";
37
- import "/@/utils/propTypes";
38
- import "/@/components/Form/src/jeecg/components/JUpload";
39
- import "/@/views/system/user/user.api";
40
- import "/@/utils/desform/customExpression";
41
- import "/@/store/modules/permission";
42
- import "/@/utils/dict/JDictSelectUtil";
43
- import "/@/components/Table";
44
- import "/@/hooks/system/useListPage";
45
- import "vue-router";
46
- import "/@/components/Form/src/utils/Area";
47
- import "/@/components/Preview/index";
48
- import "./LinkTableListPiece-46e8af51.mjs";
49
- import "./OnlineSelectCascade-abc345f9.mjs";
50
- import "./JModalTip-0413ad6a.mjs";
51
- import "/@/hooks/web/useAppInject";
52
- import "ant-design-vue";
53
- import "@vueuse/core";
54
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
55
- const se = x({
56
- name: "OnlineTabAutoModal",
57
- props: {
58
- id: {
59
- type: String,
60
- default: ""
61
- }
62
- },
63
- components: {
64
- BasicModal: ae,
65
- OnlineForm: ie,
66
- CommentPanel: me
67
- },
68
- emits: ["success", "register", "formConfig"],
69
- setup(e, { emit: n }) {
70
- const a = S(), p = S([]), l = S("-1");
71
- function b() {
72
- a.value && a.value.reload();
73
- }
74
- const {
75
- title: u,
76
- modalWidth: r,
77
- registerModal: t,
78
- closeModal: m,
79
- cgButtonList: v,
80
- handleCgButtonClick: I,
81
- disableSubmit: o,
82
- handleSubmit: f,
83
- submitLoading: V,
84
- handleCancel: $,
85
- handleFormConfig: L,
86
- onlineFormCompRef: D,
87
- formTemplate: P,
88
- isTreeForm: j,
89
- pidFieldName: W,
90
- renderSuccess: H,
91
- formRendered: U,
92
- tableName: q,
93
- formDataId: z,
94
- enableComment: G,
95
- onCloseEvent: F,
96
- themeTemplate: J
97
- } = re(!1, { emit: n }, b);
98
- function K(c) {
99
- n("success", c), m(), F(), _();
100
- }
101
- ee(() => e.id, Q, { immediate: !0 });
102
- function Q() {
103
- return A(this, null, function* () {
104
- U.value = !1, e.id && (yield L(e.id, {}, (c) => {
105
- const M = [], k = [], { head: R, schema: Y } = c, { properties: Z } = Y;
106
- M.push({ tableName: R.tableName, tableTxt: R.tableTxt }), Object.entries(Z).forEach(([N, C]) => {
107
- C.view == "tab" && k.push({ tableName: N, tableTxt: C.describe });
108
- }), k.sort((N, C) => N.order - C.order), p.value = [...M, ...k];
109
- }));
110
- });
111
- }
112
- const X = (c) => String(c - 1), _ = () => {
113
- setTimeout(() => {
114
- l.value = "-1";
115
- }, 500);
116
- };
117
- return {
118
- title: u,
119
- onlineFormCompRef: D,
120
- renderSuccess: H,
121
- registerModal: t,
122
- handleSubmit: f,
123
- handleSuccess: K,
124
- handleCancel: $,
125
- modalWidth: r,
126
- formTemplate: P,
127
- disableSubmit: o,
128
- cgButtonList: v,
129
- handleCgButtonClick: I,
130
- isTreeForm: j,
131
- pidFieldName: W,
132
- submitLoading: V,
133
- tableName: q,
134
- formDataId: z,
135
- enableComment: G,
136
- commentPanelRef: a,
137
- onCloseEvent: F,
138
- themeTemplate: J,
139
- tabNav: p,
140
- tabValue: X,
141
- tabIndex: l,
142
- TAB: le,
143
- restTabIndex: _
144
- };
145
- }
146
- });
147
- const pe = { class: "titleArea" }, ue = { class: "title" }, ce = { class: "right" };
148
- function be(e, n, a, p, l, b) {
149
- const u = d("a-radio-button"), r = d("a-radio-group"), t = d("a-button"), m = d("online-form"), v = d("comment-panel"), I = d("BasicModal");
150
- return s(), h(I, te({
151
- title: e.title,
152
- onCancel: n[2] || (n[2] = () => {
153
- e.onCloseEvent(), e.restTabIndex();
154
- }),
155
- enableComment: e.enableComment,
156
- width: e.modalWidth
157
- }, e.$attrs, {
158
- maxHeight: 600,
159
- onRegister: e.registerModal,
160
- wrapClassName: "jeecg-online-modal",
161
- onOk: e.handleSubmit
162
- }), oe({
163
- footer: i(() => [
164
- (s(!0), w(E, null, O(e.cgButtonList, (o) => (s(), h(t, {
165
- key: o.id,
166
- type: "primary",
167
- onClick: (f) => e.handleCgButtonClick(o.optType, o.buttonCode),
168
- preIcon: o.buttonIcon ? "ant-design:" + o.buttonIcon : ""
169
- }, {
170
- default: i(() => [
171
- g(y(o.buttonName), 1)
172
- ]),
173
- _: 2
174
- }, 1032, ["onClick", "preIcon"]))), 128)),
175
- e.disableSubmit ? ne("", !0) : (s(), h(t, {
176
- key: "submit",
177
- type: "primary",
178
- onClick: e.handleSubmit,
179
- loading: e.submitLoading
180
- }, {
181
- default: i(() => [
182
- g("确定")
183
- ]),
184
- _: 1
185
- }, 8, ["onClick", "loading"])),
186
- T(t, {
187
- key: "back",
188
- onClick: n[1] || (n[1] = () => {
189
- e.handleCancel(), e.restTabIndex();
190
- })
191
- }, {
192
- default: i(() => [
193
- g("关闭")
194
- ]),
195
- _: 1
196
- })
197
- ]),
198
- comment: i(() => [
199
- T(v, {
200
- ref: "commentPanelRef",
201
- tableName: e.tableName,
202
- dataId: e.formDataId
203
- }, null, 8, ["tableName", "dataId"])
204
- ]),
205
- default: i(() => [
206
- T(m, {
207
- ref: "onlineFormCompRef",
208
- id: e.id,
209
- disabled: e.disableSubmit,
210
- "form-template": e.formTemplate,
211
- isTree: e.isTreeForm,
212
- pidField: e.pidFieldName,
213
- themeTemplate: e.themeTemplate,
214
- tabIndex: e.tabIndex,
215
- onRendered: e.renderSuccess,
216
- onSuccess: e.handleSuccess
217
- }, null, 8, ["id", "disabled", "form-template", "isTree", "pidField", "themeTemplate", "tabIndex", "onRendered", "onSuccess"])
218
- ]),
219
- _: 2
220
- }, [
221
- e.themeTemplate === e.TAB ? {
222
- name: "title",
223
- fn: i(() => [
224
- B("div", pe, [
225
- B("div", ue, y(e.title), 1),
226
- B("div", ce, [
227
- T(r, {
228
- value: e.tabIndex,
229
- "onUpdate:value": n[0] || (n[0] = (o) => e.tabIndex = o)
230
- }, {
231
- default: i(() => [
232
- (s(!0), w(E, null, O(e.tabNav, (o, f) => (s(), h(u, {
233
- value: e.tabValue(f),
234
- key: o.tableName
235
- }, {
236
- default: i(() => [
237
- g(y(o.tableTxt), 1)
238
- ]),
239
- _: 2
240
- }, 1032, ["value"]))), 128))
241
- ]),
242
- _: 1
243
- }, 8, ["value"])
244
- ])
245
- ])
246
- ]),
247
- key: "0"
248
- } : void 0
249
- ]), 1040, ["title", "enableComment", "width", "onRegister", "onOk"]);
250
- }
251
- const tt = /* @__PURE__ */ de(se, [["render", be], ["__scopeId", "data-v-1b8f2c75"]]);
252
- export {
253
- tt as default
254
- };