@jeecg/online 3.6.2-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 (127) hide show
  1. package/AiModal-6de335e3.mjs +84 -0
  2. package/AuthButtonConfig-89763932.mjs +154 -0
  3. package/{AuthButtonTree-3aa0ed49.mjs → AuthButtonTree-2d87d0b3.mjs} +6 -5
  4. package/AuthDataConfig-5c3a8e6b.mjs +238 -0
  5. package/{AuthDataTree-94e026e3.mjs → AuthDataTree-dd7a1240.mjs} +6 -6
  6. package/AuthFieldConfig-9f6fa06c.mjs +245 -0
  7. package/{AuthFieldTree-69864163.mjs → AuthFieldTree-e326fc38.mjs} +2 -2
  8. package/AuthManagerDrawer-76f15e8d.mjs +119 -0
  9. package/AuthSetterModal-f5d2e87f.mjs +274 -0
  10. package/{CgformCopyList-14b76108.mjs → CgformCopyList-365b3e8f.mjs} +49 -46
  11. package/CgformModal-21c5c387.mjs +671 -0
  12. package/{CgreportModal.vue_vue_type_script_setup_true_lang-c89d9222.mjs → CgreportModal-edefa8e3.mjs} +153 -129
  13. package/CheckDictTable-1bc8322d.mjs +229 -0
  14. package/{CodeFileListModal-a6d3290d.mjs → CodeFileListModal-24601898.mjs} +5 -4
  15. package/CodeFileViewModal-2fe911f4.mjs +253 -0
  16. package/CodeGeneratorModal-f09fe903.mjs +282 -0
  17. package/CustomButtonList-f07bc695.mjs +397 -0
  18. package/{DBAttributeTable-370de07b.mjs → DBAttributeTable-285d40db.mjs} +118 -89
  19. package/DbToOnlineModal-5dcb67c3.mjs +169 -0
  20. package/DetailForm-deecbf3d.mjs +486 -0
  21. package/{EnhanceJavaModal-f63aa2d3.mjs → EnhanceJavaModal-45c66cd5.mjs} +3 -3
  22. package/{EnhanceJsHistory-352b46b1.mjs → EnhanceJsHistory-fab3102e.mjs} +2 -2
  23. package/EnhanceJsModal-175357a1.mjs +548 -0
  24. package/{EnhanceSqlModal-5e4ae84f.mjs → EnhanceSqlModal-7ea1b300.mjs} +3 -3
  25. package/ExtendConfigModal-a89ae052.mjs +117 -0
  26. package/FieldExtendJsonModal-32135634.mjs +277 -0
  27. package/{FileSelectModal-9a02560b.mjs → FileSelectModal-1643c8b9.mjs} +1 -1
  28. package/{ForeignKeyTable-6a843c4b.mjs → ForeignKeyTable-7f7e28a7.mjs} +3 -3
  29. package/{IndexTable-f8af9d44.mjs → IndexTable-cdcc2b48.mjs} +28 -20
  30. package/{JModalTip-33c7dc44.mjs → JModalTip-b055ab60.mjs} +1 -1
  31. package/JOnlineSearchSelect-22aae934.mjs +128 -0
  32. package/{LeftDepart-fa85523d.mjs → LeftDepart-d5615ed9.mjs} +1 -1
  33. package/{LeftRole-8b8dfe21.mjs → LeftRole-2ed8a2bf.mjs} +1 -1
  34. package/{LeftUser-dc24ef2f.mjs → LeftUser-22baa378.mjs} +3 -3
  35. package/LinkTableConfigModal-9242d750.mjs +240 -0
  36. package/{LinkTableFieldConfigModal-787bc55c.mjs → LinkTableFieldConfigModal-24adc50c.mjs} +41 -41
  37. package/{LinkTableListPiece-8499a318.mjs → LinkTableListPiece-f3a8e0d7.mjs} +1 -1
  38. package/{ModalFormDemo-977a49eb.mjs → ModalFormDemo-711418db.mjs} +1 -1
  39. package/OnlCgformErpList-58acdfa0.mjs +470 -0
  40. package/OnlCgformErpSubTable-9b1e1938.mjs +426 -0
  41. package/OnlCgformInnerSubTable-6c23781f.mjs +265 -0
  42. package/OnlCgformInnerTableList-4b5e14ed.mjs +458 -0
  43. package/OnlCgformTabList-019ad753.mjs +408 -0
  44. package/OnlineAutoList-48589d09.mjs +493 -0
  45. package/OnlineAutoModal-c2928847.mjs +239 -0
  46. package/{OnlineAutoTreeList-89265688.mjs → OnlineAutoTreeList-3baa1d00.mjs} +207 -204
  47. package/{OnlineCustomModal-518ad33c.mjs → OnlineCustomModal-9e17b6ce.mjs} +16 -12
  48. package/{OnlineDetailModal-9675390d.mjs → OnlineDetailModal-d5895734.mjs} +74 -64
  49. package/OnlineForm-9f1153ba.mjs +985 -0
  50. package/OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs +1 -0
  51. package/OnlineFormDetail-022ca117.mjs +342 -0
  52. package/OnlineFormUrlAdd-9715d70a.mjs +115 -0
  53. package/OnlineFormUrlDetail-8f864b1a.mjs +119 -0
  54. package/OnlineFormUrlEdit-ac985b36.mjs +113 -0
  55. package/OnlineFormUrlSuccess-3dfc54ab.mjs +59 -0
  56. package/OnlineQueryForm-eedb9a60.mjs +466 -0
  57. package/{OnlineSearchFormItem-0cc85a8a.mjs → OnlineSearchFormItem-6c557343.mjs} +2 -2
  58. package/{OnlineSelectCascade-4265c95d.mjs → OnlineSelectCascade-05c40fef.mjs} +1 -1
  59. package/{OnlineSubFormDetail-f0d2c016.mjs → OnlineSubFormDetail-58e896ce.mjs} +30 -28
  60. package/OnlineTabAutoModal-47b18ad6.mjs +306 -0
  61. package/{OnlineTabDetailModal-7356d3a8.mjs → OnlineTabDetailModal-82de1465.mjs} +22 -20
  62. package/OnlineTabForm-27655c83.mjs +817 -0
  63. package/OnlineTabFormDetail-8d0c40c0.mjs +327 -0
  64. package/PageAttributeTable-25e3b7da.mjs +466 -0
  65. package/{ProcessOnlineForm-67558898.mjs → ProcessOnlineForm-148632fe.mjs} +66 -56
  66. package/QueryTable-f7bfca7f.mjs +147 -0
  67. package/SetSwitchOptions-b2af757f.mjs +62 -0
  68. package/SuperQuery-a8592995.mjs +967 -0
  69. package/auth.api-ea1d33d4.mjs +41 -0
  70. package/auth.data-511e5197.mjs +217 -0
  71. package/{cgform.data-cbdd88c3.mjs → cgform.data-475d4984.mjs} +5 -1
  72. package/constant-fa63bd66.mjs +10 -0
  73. package/{enhance.data-efc7e155.mjs → enhance.data-a67572e1.mjs} +11 -10
  74. package/index-1d1a6e56.mjs +57 -0
  75. package/{index-b7a05eef.mjs → index-30e0e923.mjs} +396 -362
  76. package/{index-49508cad.mjs → index-f30613d1.mjs} +29 -27
  77. package/main.index.js +1 -1
  78. package/package.json +1 -1
  79. package/style.css +1 -1
  80. package/useCgformList-f41d4dc1.mjs +426 -0
  81. package/useExtendComponent-dcae5c78.mjs +4399 -0
  82. package/useFormUrl-2ee1a82d.mjs +24 -0
  83. package/useListButton-bfac4ecf.mjs +697 -0
  84. package/{useSchemas-0433a403.mjs → useSchemas-a9c75b0f.mjs} +191 -101
  85. package/useTableSync-d7e9f18d.mjs +89 -0
  86. package/AuthButtonConfig-244ec09f.mjs +0 -125
  87. package/AuthDataConfig-83891eea.mjs +0 -212
  88. package/AuthFieldConfig-6b21915c.mjs +0 -139
  89. package/AuthManagerDrawer-300dd4e4.mjs +0 -114
  90. package/AuthSetterModal-a414fb35.mjs +0 -267
  91. package/CgformModal-eccfc38e.mjs +0 -611
  92. package/CgreportModal-2065f5a9.mjs +0 -13
  93. package/CheckDictTable-134cbb83.mjs +0 -211
  94. package/CodeFileViewModal-373e8058.mjs +0 -244
  95. package/CodeGeneratorModal-f08a89cd.mjs +0 -233
  96. package/CustomButtonList-02e3d897.mjs +0 -363
  97. package/DbToOnlineModal-9f13956f.mjs +0 -160
  98. package/DetailForm-424638eb.mjs +0 -462
  99. package/EnhanceJsModal-05c73a59.mjs +0 -311
  100. package/ExtendConfigModal-1dde390a.mjs +0 -111
  101. package/FieldExtendJsonModal-a70a9ccd.mjs +0 -219
  102. package/JOnlineSearchSelect-c287af12.mjs +0 -95
  103. package/LinkTableConfigModal-d4fbdef2.mjs +0 -230
  104. package/OnlCgformErpList-db45e22b.mjs +0 -454
  105. package/OnlCgformErpSubTable-54b50eec.mjs +0 -403
  106. package/OnlCgformInnerSubTable-fbca73e0.mjs +0 -253
  107. package/OnlCgformInnerTableList-782eaf04.mjs +0 -444
  108. package/OnlCgformTabList-a9e1e36a.mjs +0 -395
  109. package/OnlineAutoList-0583a910.mjs +0 -479
  110. package/OnlineAutoModal-510991eb.mjs +0 -207
  111. package/OnlineForm-1fa2d893.mjs +0 -750
  112. package/OnlineFormDetail-0e7294ca.mjs +0 -297
  113. package/OnlineQueryForm-1bfc8320.mjs +0 -386
  114. package/OnlineTabAutoModal-6f636ee2.mjs +0 -254
  115. package/OnlineTabForm-512d3951.mjs +0 -766
  116. package/OnlineTabFormDetail-5a70219d.mjs +0 -324
  117. package/PageAttributeTable-965dc58e.mjs +0 -404
  118. package/QueryTable-eb9a5b21.mjs +0 -115
  119. package/SuperQuery-5d1ca957.mjs +0 -843
  120. package/auth.api-d3a6c4b3.mjs +0 -39
  121. package/auth.data-8be5c9e3.mjs +0 -141
  122. package/constant-754f1a9d.mjs +0 -9
  123. package/index-0e3ab3af.mjs +0 -56
  124. package/useCgformList-423282b7.mjs +0 -400
  125. package/useExtendComponent-325fe3f1.mjs +0 -3926
  126. package/useListButton-cdbab702.mjs +0 -676
  127. package/useTableSync-774c3774.mjs +0 -87
@@ -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-512d3951.mjs";
20
- import { b as re } from "./useExtendComponent-325fe3f1.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-0e3ab3af.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-8499a318.mjs";
49
- import "./OnlineSelectCascade-4265c95d.mjs";
50
- import "./JModalTip-33c7dc44.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
- };