@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,232 +0,0 @@
1
- var p = (e, f, r) => new Promise((m, u) => {
2
- var c = (t) => {
3
- try {
4
- s(r.next(t));
5
- } catch (l) {
6
- u(l);
7
- }
8
- }, a = (t) => {
9
- try {
10
- s(r.throw(t));
11
- } catch (l) {
12
- u(l);
13
- }
14
- }, s = (t) => t.done ? m(t.value) : Promise.resolve(t.value).then(c, a);
15
- s((r = r.apply(e, f)).next());
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 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-dcae5c78.mjs";
20
- import { defHttp as oe } from "/@/utils/http/axios";
21
- import te from "./OnlineForm-9f1153ba.mjs";
22
- import { importViewsFile as ne } from "/@/utils";
23
- import { _ as re } from "./index-1d1a6e56.mjs";
24
- import "/@/components/Form/src/componentMap";
25
- import "/@/utils/propTypes";
26
- import "@ant-design/icons-vue";
27
- import "/@/hooks/web/useMessage";
28
- import "/@/components/Form/index";
29
- import "lodash-es";
30
- import "./constant-fa63bd66.mjs";
31
- import "/@/utils/common/compUtils";
32
- import "/@/components/Form/src/jeecg/components/JUpload";
33
- import "/@/utils/is";
34
- import "/@/views/system/user/user.api";
35
- import "/@/store/modules/user";
36
- import "/@/utils/desform/customExpression";
37
- import "/@/store/modules/permission";
38
- import "/@/utils/dict/JDictSelectUtil";
39
- import "/@/components/Table";
40
- import "/@/hooks/system/useListPage";
41
- import "vue-router";
42
- import "/@/components/Form/src/utils/Area";
43
- import "/@/components/Preview/index";
44
- import "./LinkTableListPiece-f3a8e0d7.mjs";
45
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
46
- import "/@/utils/auth";
47
- import "/@/api/common/api";
48
- import "/@/hooks/web/useAppInject";
49
- import "/@/assets/images/placeholderImage.png";
50
- import "./OnlineSelectCascade-05c40fef.mjs";
51
- import "/@/components/Loading";
52
- import "./JModalTip-b055ab60.mjs";
53
- import "ant-design-vue";
54
- import "@vueuse/core";
55
- import "/@/components/jeecg/JVxeTable/types";
56
- import "/@/hooks/core/useContext";
57
- import "/@/utils/mitt";
58
- import "./useCustomHook-acb00837.mjs";
59
- import "/@/utils/cache";
60
- import "./OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs";
61
- const ie = {
62
- code: "",
63
- title: "自定义弹框",
64
- width: 600,
65
- row: {},
66
- hide: [],
67
- show: [],
68
- requestUrl: "",
69
- tableType: "",
70
- foreignKeys: "",
71
- formComponent: ""
72
- }, me = z({
73
- name: "OnlineCustomModal",
74
- components: {
75
- OnlineForm: te,
76
- BasicModal: x
77
- },
78
- setup(e, { emit: f }) {
79
- const r = i(), m = i(""), u = i("自定义弹框"), c = i(600);
80
- let a = [], s = [], t = "", l = {};
81
- const I = {
82
- loadFormItems: "/online/cgform/api/getFormItem/",
83
- optPre: "/online/cgform/api/form/"
84
- }, B = { position: "relative" }, E = i(!1), F = i(!1);
85
- function $() {
86
- F.value = !0;
87
- }
88
- const h = i(!0), [N, { setModalProps: D, closeModal: b }] = ee((o) => p(this, null, function* () {
89
- D({ confirmLoading: !1 }), L(o), yield T(() => p(this, null, function* () {
90
- o.formComponent ? K(o.formComponent) : yield H();
91
- }));
92
- }));
93
- function L(o) {
94
- let n = Object.assign({}, ie, o);
95
- 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;
96
- }
97
- function U(o) {
98
- return o || I.optPre + m.value;
99
- }
100
- const g = i(!1);
101
- function V() {
102
- g.value = !0, h.value === !0 ? r.value.handleSubmit() : M.value.handleSubmit(), setTimeout(() => {
103
- g.value = !0;
104
- }, 3500);
105
- }
106
- function j() {
107
- b();
108
- }
109
- function A(o) {
110
- f("success", o), b();
111
- }
112
- function H() {
113
- return p(this, null, function* () {
114
- h.value = !0, yield _(F), r.value.handleCustomFormSh(s, a), r.value.handleCustomFormEdit(l, t);
115
- });
116
- }
117
- const O = i(1);
118
- J(m, q, { immediate: !0 });
119
- function q() {
120
- return p(this, null, function* () {
121
- if (F.value = !1, !m.value)
122
- return;
123
- let o = yield G(), n = o.head.formTemplate;
124
- O.value = n ? Number(n) : 1, T(() => p(this, null, function* () {
125
- (yield _(r)).createRootProperties(o);
126
- }));
127
- });
128
- }
129
- function G() {
130
- let o = `/online/cgform/api/getFormItem/${m.value}`;
131
- return new Promise((n, v) => {
132
- oe.get({ url: o }, { isTransformResponse: !1 }).then((y) => {
133
- y.success ? n(y.result) : v(y.message);
134
- }).catch(() => {
135
- v();
136
- });
137
- });
138
- }
139
- const M = i(), w = Q({
140
- url: "",
141
- is: "",
142
- row: {}
143
- });
144
- function K(o) {
145
- h.value = !1, w.url = t, w.row = l, w.is = W(X(() => ne(o)));
146
- }
147
- return {
148
- //modal
149
- registerModal: N,
150
- title: u,
151
- width: c,
152
- modalStyle: B,
153
- handleSubmit: V,
154
- handleCancel: j,
155
- // online表单
156
- id: m,
157
- onlineFormCompRef: r,
158
- formTemplate: O,
159
- renderSuccess: $,
160
- //自定义表单
161
- customFormRef: M,
162
- customFormComponent: w,
163
- //通用
164
- open,
165
- isOnlineForm: h,
166
- confirmLoading: E,
167
- submitLoading: g,
168
- handleSuccess: A
169
- };
170
- }
171
- });
172
- function le(e, f, r, m, u, c) {
173
- const a = C("a-button"), s = C("online-form"), t = C("a-spin"), l = C("BasicModal");
174
- return S(), k(l, Y({
175
- title: e.title,
176
- width: e.width
177
- }, e.$attrs, {
178
- style: e.modalStyle,
179
- onRegister: e.registerModal,
180
- wrapClassName: "jeecg-online-modal2",
181
- onOk: e.handleSubmit
182
- }), {
183
- footer: d(() => [
184
- R(a, {
185
- key: "submit",
186
- type: "primary",
187
- onClick: e.handleSubmit
188
- }, {
189
- default: d(() => [
190
- P("确定")
191
- ]),
192
- _: 1
193
- }, 8, ["onClick"]),
194
- R(a, {
195
- key: "back",
196
- onClick: e.handleCancel
197
- }, {
198
- default: d(() => [
199
- P("关闭")
200
- ]),
201
- _: 1
202
- }, 8, ["onClick"])
203
- ]),
204
- default: d(() => [
205
- R(t, { spinning: e.confirmLoading }, {
206
- default: d(() => [
207
- e.isOnlineForm ? (S(), k(s, {
208
- key: 0,
209
- ref: "onlineFormCompRef",
210
- id: e.id,
211
- "form-template": e.formTemplate,
212
- onRendered: e.renderSuccess,
213
- onSuccess: e.handleSuccess,
214
- modalClass: "jeecg-online-modal2"
215
- }, null, 8, ["id", "form-template", "onRendered", "onSuccess"])) : (S(), k(Z(e.customFormComponent.is), {
216
- key: 1,
217
- ref: "customFormRef",
218
- url: e.customFormComponent.url,
219
- row: e.customFormComponent.row,
220
- onClose: e.handleSuccess
221
- }, null, 40, ["url", "row", "onClose"]))
222
- ]),
223
- _: 1
224
- }, 8, ["spinning"])
225
- ]),
226
- _: 1
227
- }, 16, ["title", "width", "style", "onRegister", "onOk"]);
228
- }
229
- const xe = /* @__PURE__ */ re(me, [["render", le]]);
230
- export {
231
- xe as default
232
- };