@jeecg/online 3.8.2-beta → 3.9.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 (114) hide show
  1. package/{AccountLoginForm-79fa7b01.mjs → AccountLoginForm-cbc75a49.mjs} +1 -1
  2. package/{AiModal-942b59ec.mjs → AiModal-5bec5218.mjs} +1 -1
  3. package/{AppForgetPassword-d762e5b3.mjs → AppForgetPassword-dbc8377e.mjs} +2 -2
  4. package/{AppLogin-41372985.mjs → AppLogin-786949d3.mjs} +9 -9
  5. package/{AppLoginHeader-3b6fa33d.mjs → AppLoginHeader-37034b2f.mjs} +1 -1
  6. package/{AppNameEmail-8dfbad62.mjs → AppNameEmail-7c6a1406.mjs} +2 -2
  7. package/{AppRegister-433c54db.mjs → AppRegister-29a00a9d.mjs} +3 -3
  8. package/{AppTenant-e49dfa9b.mjs → AppTenant-92890383.mjs} +2 -2
  9. package/{AppThirdForm-7b75b4fc.mjs → AppThirdForm-760064e5.mjs} +1 -1
  10. package/{AuthButtonConfig-a0f59cb5.mjs → AuthButtonConfig-78180aec.mjs} +1 -1
  11. package/{AuthButtonTree-f0a5cc0b.mjs → AuthButtonTree-62c8e70c.mjs} +1 -1
  12. package/{AuthDataConfig-647c4a27.mjs → AuthDataConfig-c978c469.mjs} +1 -1
  13. package/{AuthDataTree-b80a3ea5.mjs → AuthDataTree-0647a06c.mjs} +1 -1
  14. package/{AuthFieldConfig-d36a1b2d.mjs → AuthFieldConfig-558283bc.mjs} +1 -1
  15. package/{AuthFieldTree-dba6af79.mjs → AuthFieldTree-106db4e2.mjs} +1 -1
  16. package/{AuthManagerDrawer-5acbd451.mjs → AuthManagerDrawer-ec5190d2.mjs} +4 -4
  17. package/{AuthSetterModal-95b5f616.mjs → AuthSetterModal-90a76886.mjs} +7 -7
  18. package/{CgformAddressModal-5d889870.mjs → CgformAddressModal-690b8940.mjs} +1 -1
  19. package/{CgformCopyList-cc5f76cd.mjs → CgformCopyList-af9c99a4.mjs} +40 -39
  20. package/{CgformModal-cebc698b.mjs → CgformModal-b04a492a.mjs} +10 -10
  21. package/{CgreportAigcModal-d1e62385.mjs → CgreportAigcModal-8fdcbd31.mjs} +1 -1
  22. package/{CgreportModal-2e4421e6.mjs → CgreportModal-da62724c.mjs} +143 -139
  23. package/{CheckDictTable-8fb7299c.mjs → CheckDictTable-7320189b.mjs} +1 -1
  24. package/{CodeFileListModal-25fad54f.mjs → CodeFileListModal-e5ec210d.mjs} +2 -2
  25. package/CodeFileViewModal-09053f3a.mjs +269 -0
  26. package/CodeGeneratorModal-aba790e3.mjs +298 -0
  27. package/{CustomButtonList-26490688.mjs → CustomButtonList-704e6d1c.mjs} +1 -1
  28. package/{DBAttributeTable-dea8ab11.mjs → DBAttributeTable-4a65c897.mjs} +40 -39
  29. package/{DbToOnlineModal-60317a16.mjs → DbToOnlineModal-cc398c70.mjs} +1 -1
  30. package/{DetailForm-b92a5e9d.mjs → DetailForm-a2bf8c33.mjs} +165 -153
  31. package/{DropMenuItem-82213be6.mjs → DropMenuItem-884f9464.mjs} +1 -1
  32. package/{EnhanceJavaModal-6ebefc8b.mjs → EnhanceJavaModal-fe8d475d.mjs} +1 -1
  33. package/{EnhanceJsHistory-8d9b86ca.mjs → EnhanceJsHistory-95ca545c.mjs} +1 -1
  34. package/{EnhanceJsModal-9439e6f8.mjs → EnhanceJsModal-742b0ee2.mjs} +2 -2
  35. package/{EnhanceSqlModal-ea4592bf.mjs → EnhanceSqlModal-6e36bc4f.mjs} +1 -1
  36. package/{ExtendConfigModal-f509db46.mjs → ExtendConfigModal-74d657c7.mjs} +1 -1
  37. package/{FieldExtendJsonModal-73bab5b5.mjs → FieldExtendJsonModal-fe7f7902.mjs} +2 -2
  38. package/{FileSelectModal-49d6dade.mjs → FileSelectModal-cf41604b.mjs} +1 -1
  39. package/{ForeignKeyTable-330963c1.mjs → ForeignKeyTable-4a59ded1.mjs} +1 -1
  40. package/{IndexTable-c0478faa.mjs → IndexTable-87d67830.mjs} +1 -1
  41. package/{JModalTip-b1d19eaa.mjs → JModalTip-5401f43d.mjs} +1 -1
  42. package/{JOnlineSearchSelect-97662e1b.mjs → JOnlineSearchSelect-d8c57973.mjs} +1 -1
  43. package/{LeftDepart-4b1003f0.mjs → LeftDepart-463bf432.mjs} +1 -1
  44. package/{LeftRole-8486ba4f.mjs → LeftRole-1631d3d4.mjs} +1 -1
  45. package/{LeftUser-09894a2f.mjs → LeftUser-5774a5db.mjs} +1 -1
  46. package/{LinkTableConfigModal-cd0980e9.mjs → LinkTableConfigModal-1bab1423.mjs} +1 -1
  47. package/{LinkTableFieldConfigModal-f4106ab7.mjs → LinkTableFieldConfigModal-49470140.mjs} +1 -1
  48. package/{LinkTableListPiece-4187ad7d.mjs → LinkTableListPiece-47f4286c.mjs} +1 -1
  49. package/{ModalFormDemo-4ec79769.mjs → ModalFormDemo-dbd0aa28.mjs} +1 -1
  50. package/OnlCgformErpList-35ad1d6e.mjs +528 -0
  51. package/{OnlCgformErpSubTable-421e2051.mjs → OnlCgformErpSubTable-5093d438.mjs} +43 -41
  52. package/{OnlCgformInnerSubTable-9616ebf2.mjs → OnlCgformInnerSubTable-f1dc90db.mjs} +106 -102
  53. package/{OnlCgformInnerTableList-5ed887e4.mjs → OnlCgformInnerTableList-1b82a7da.mjs} +21 -19
  54. package/{OnlCgformTabList-c03a1d0a.mjs → OnlCgformTabList-d66d1261.mjs} +21 -19
  55. package/{OnlineAutoList-e5a61211.mjs → OnlineAutoList-fbba2a52.mjs} +20 -18
  56. package/{OnlineAutoModal-38f2d522.mjs → OnlineAutoModal-68909692.mjs} +10 -9
  57. package/{OnlineAutoTreeList-16fa962f.mjs → OnlineAutoTreeList-5153f09d.mjs} +20 -18
  58. package/OnlineCustomModal-b5f8c799.mjs +247 -0
  59. package/{OnlineDetailModal-79085ba8.mjs → OnlineDetailModal-ac078a9a.mjs} +45 -43
  60. package/OnlineForm-20604e4f.mjs +1080 -0
  61. package/OnlineFormDetail-719118b6.mjs +350 -0
  62. package/{OnlineFormUrlAdd-2e05ba0f.mjs → OnlineFormUrlAdd-5b675f48.mjs} +12 -11
  63. package/{OnlineFormUrlDetail-06b2d9e6.mjs → OnlineFormUrlDetail-91156bf2.mjs} +15 -13
  64. package/{OnlineFormUrlEdit-77ac4bba.mjs → OnlineFormUrlEdit-fb810de6.mjs} +12 -11
  65. package/{OnlineFormUrlSuccess-cb3f7be4.mjs → OnlineFormUrlSuccess-302ecb21.mjs} +1 -1
  66. package/{OnlineQueryForm-528af6ed.mjs → OnlineQueryForm-5eeceb51.mjs} +120 -120
  67. package/{OnlineSearchFormItem-51eefaf4.mjs → OnlineSearchFormItem-5536a1a6.mjs} +2 -2
  68. package/{OnlineSelectCascade-b218691c.mjs → OnlineSelectCascade-180e8c9a.mjs} +61 -55
  69. package/{OnlineSubFormDetail-a1b7f33f.mjs → OnlineSubFormDetail-4d64e7be.mjs} +48 -44
  70. package/{OnlineTabAutoModal-1c7c4ed2.mjs → OnlineTabAutoModal-c127ed50.mjs} +9 -8
  71. package/{OnlineTabDetailModal-7c45e727.mjs → OnlineTabDetailModal-e4e9f7e3.mjs} +39 -37
  72. package/{OnlineTabForm-9682158f.mjs → OnlineTabForm-827e7089.mjs} +25 -24
  73. package/OnlineTabFormDetail-0f96377e.mjs +329 -0
  74. package/{PageAttributeTable-21314341.mjs → PageAttributeTable-5703e2f1.mjs} +5 -5
  75. package/{PhoneLoginForm-c3c16f16.mjs → PhoneLoginForm-15dc68ed.mjs} +18 -18
  76. package/ProcessOnlineForm-1fcbe0af.mjs +219 -0
  77. package/{QueryTable-413d1366.mjs → QueryTable-26c9ee22.mjs} +1 -1
  78. package/{SetSwitchOptions-82fd6265.mjs → SetSwitchOptions-a3428177.mjs} +1 -1
  79. package/{ShareAddView-a2dba2ef.mjs → ShareAddView-0512e884.mjs} +23 -21
  80. package/{ShareEditView-ecd590dc.mjs → ShareEditView-b89dfbd3.mjs} +23 -21
  81. package/{ShareView-84f333e7.mjs → ShareView-faf1a0ab.mjs} +21 -19
  82. package/{ShareView.vue_vue_type_script_setup_true_lang-9a3a259e.mjs → ShareView.vue_vue_type_script_setup_true_lang-d1597c0d.mjs} +2 -2
  83. package/{SingleView-d4f29169.mjs → SingleView-21d3a558.mjs} +16 -14
  84. package/{SingleView.vue_vue_type_style_index_0_lang-40ea7e64.mjs → SingleView.vue_vue_type_style_index_0_lang-914483d0.mjs} +4 -4
  85. package/{SuperQuery-290f5080.mjs → SuperQuery-c95f86ee.mjs} +41 -40
  86. package/TaskOpinionList-73ecb3c8.mjs +101 -0
  87. package/{aiModal-6e338c79.mjs → aiModal-b44fa135.mjs} +2 -2
  88. package/dayjs.min-eea532a3.mjs +301 -0
  89. package/{index-9bebbfe5.mjs → index-02f6dc7d.mjs} +2 -2
  90. package/{index-7890e2b4.mjs → index-22a99f2e.mjs} +1 -1
  91. package/{index-7bab525f.mjs → index-26940246.mjs} +3 -3
  92. package/{index-254a82b7.mjs → index-30da2fc0.mjs} +130 -123
  93. package/{index-c5737cbb.mjs → index-391aec04.mjs} +4 -4
  94. package/index-94b6319e.mjs +57 -0
  95. package/{index-bc0d747e.mjs → index-abbfd327.mjs} +2 -2
  96. package/main.index.js +1 -1
  97. package/package.json +1 -1
  98. package/style.css +1 -1
  99. package/useCgformList-aaa30c8c.mjs +410 -0
  100. package/useExtendComponent-ad499dff.mjs +4164 -0
  101. package/{useListButton-7f9674a0.mjs → useListButton-308458cd.mjs} +21 -21
  102. package/CodeFileViewModal-12299ab5.mjs +0 -253
  103. package/CodeGeneratorModal-791b1695.mjs +0 -281
  104. package/OnlCgformErpList-63089149.mjs +0 -498
  105. package/OnlineCustomModal-7e31297e.mjs +0 -232
  106. package/OnlineForm-0438f4bf.mjs +0 -1012
  107. package/OnlineFormDetail-76d243ed.mjs +0 -348
  108. package/OnlineTabFormDetail-b8650175.mjs +0 -327
  109. package/ProcessOnlineForm-d6113dec.mjs +0 -188
  110. package/README.md +0 -26
  111. package/index-30c0a14f.mjs +0 -57
  112. package/useCgformList-52631580.mjs +0 -395
  113. package/useExtendComponent-d1db211d.mjs +0 -4460
  114. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_60bd1850_lang-4ed993c7.mjs} +0 -0
@@ -1,232 +0,0 @@
1
- var c = (o, s, r) => new Promise((m, p) => {
2
- var d = (t) => {
3
- try {
4
- a(r.next(t));
5
- } catch (l) {
6
- p(l);
7
- }
8
- }, u = (t) => {
9
- try {
10
- a(r.throw(t));
11
- } catch (l) {
12
- p(l);
13
- }
14
- }, a = (t) => t.done ? m(t.value) : Promise.resolve(t.value).then(d, u);
15
- a((r = r.apply(o, s)).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 F, openBlock as S, createBlock as k, mergeProps as Y, withCtx as f, 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 I } from "./useExtendComponent-d1db211d.mjs";
20
- import { defHttp as eo } from "/@/utils/http/axios";
21
- import to from "./OnlineForm-0438f4bf.mjs";
22
- import { importViewsFile as no } from "/@/utils";
23
- import { _ as ro } from "./index-30c0a14f.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-4187ad7d.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-b218691c.mjs";
51
- import "/@/components/Loading";
52
- import "./JModalTip-b1d19eaa.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-3a17a690.mjs";
59
- import "/@/utils/cache";
60
- import "./OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs";
61
- const io = {
62
- code: "",
63
- title: "自定义弹框",
64
- width: 600,
65
- row: {},
66
- hide: [],
67
- show: [],
68
- requestUrl: "",
69
- tableType: "",
70
- foreignKeys: "",
71
- formComponent: ""
72
- }, mo = z({
73
- name: "OnlineCustomModal",
74
- components: {
75
- OnlineForm: to,
76
- BasicModal: x
77
- },
78
- setup(o, { emit: s }) {
79
- const r = i(), m = i(""), p = i("自定义弹框"), d = i(600);
80
- let u = [], a = [], t = "", l = {};
81
- const B = {
82
- loadFormItems: "/online/cgform/api/getFormItem/",
83
- optPre: "/online/cgform/api/form/"
84
- }, E = { position: "relative" }, $ = i(!1), h = i(!1);
85
- function N() {
86
- h.value = !0;
87
- }
88
- const w = i(!0), [D, { setModalProps: L, closeModal: b }] = oo((e) => c(this, null, function* () {
89
- L({ confirmLoading: !1 }), _(e), yield T(() => c(this, null, function* () {
90
- e.formComponent ? K(e.formComponent) : yield H();
91
- }));
92
- }));
93
- function _(e) {
94
- let n = Object.assign({}, io, e);
95
- m.value = n.code, p.value = n.title, d.value = n.width, u = n.hide || [], a = n.show || [], t = U(n.requestUrl), l = n.row;
96
- }
97
- function U(e) {
98
- return e || B.optPre + m.value;
99
- }
100
- const g = i(!1);
101
- function V() {
102
- g.value = !0, w.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(e) {
110
- s("success", e), b();
111
- }
112
- function H() {
113
- return c(this, null, function* () {
114
- w.value = !0, yield I(h), r.value.handleCustomFormSh(a, u), r.value.handleCustomFormEdit(l, t);
115
- });
116
- }
117
- const O = i(1);
118
- J(m, q, { immediate: !0 });
119
- function q() {
120
- return c(this, null, function* () {
121
- if (h.value = !1, !m.value)
122
- return;
123
- let e = yield G(), n = e.head.formTemplate;
124
- O.value = n ? Number(n) : 1, T(() => c(this, null, function* () {
125
- (yield I(r)).createRootProperties(e);
126
- }));
127
- });
128
- }
129
- function G() {
130
- let e = `/online/cgform/api/getFormItem/${m.value}`;
131
- return new Promise((n, v) => {
132
- eo.get({ url: e }, { isTransformResponse: !1 }).then((y) => {
133
- y.success ? n(y.result) : v(y.message);
134
- }).catch(() => {
135
- v();
136
- });
137
- });
138
- }
139
- const M = i(), C = Q({
140
- url: "",
141
- is: "",
142
- row: {}
143
- });
144
- function K(e) {
145
- w.value = !1, C.url = t, C.row = l, C.is = W(X(() => no(e)));
146
- }
147
- return {
148
- //modal
149
- registerModal: D,
150
- title: p,
151
- width: d,
152
- modalStyle: E,
153
- handleSubmit: V,
154
- handleCancel: j,
155
- // online表单
156
- id: m,
157
- onlineFormCompRef: r,
158
- formTemplate: O,
159
- renderSuccess: N,
160
- //自定义表单
161
- customFormRef: M,
162
- customFormComponent: C,
163
- //通用
164
- open,
165
- isOnlineForm: w,
166
- confirmLoading: $,
167
- submitLoading: g,
168
- handleSuccess: A
169
- };
170
- }
171
- });
172
- function lo(o, s, r, m, p, d) {
173
- const u = F("a-button"), a = F("online-form"), t = F("a-spin"), l = F("BasicModal");
174
- return S(), k(l, Y({
175
- title: o.title,
176
- width: o.width
177
- }, o.$attrs, {
178
- style: o.modalStyle,
179
- onRegister: o.registerModal,
180
- wrapClassName: "jeecg-online-modal2",
181
- onOk: o.handleSubmit
182
- }), {
183
- footer: f(() => [
184
- R(u, {
185
- key: "submit",
186
- type: "primary",
187
- onClick: o.handleSubmit
188
- }, {
189
- default: f(() => s[0] || (s[0] = [
190
- P("确定")
191
- ])),
192
- _: 1
193
- }, 8, ["onClick"]),
194
- R(u, {
195
- key: "back",
196
- onClick: o.handleCancel
197
- }, {
198
- default: f(() => s[1] || (s[1] = [
199
- P("关闭")
200
- ])),
201
- _: 1
202
- }, 8, ["onClick"])
203
- ]),
204
- default: f(() => [
205
- R(t, { spinning: o.confirmLoading }, {
206
- default: f(() => [
207
- o.isOnlineForm ? (S(), k(a, {
208
- key: 0,
209
- ref: "onlineFormCompRef",
210
- id: o.id,
211
- "form-template": o.formTemplate,
212
- onRendered: o.renderSuccess,
213
- onSuccess: o.handleSuccess,
214
- modalClass: "jeecg-online-modal2"
215
- }, null, 8, ["id", "form-template", "onRendered", "onSuccess"])) : (S(), k(Z(o.customFormComponent.is), {
216
- key: 1,
217
- ref: "customFormRef",
218
- url: o.customFormComponent.url,
219
- row: o.customFormComponent.row,
220
- onClose: o.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 oe = /* @__PURE__ */ ro(mo, [["render", lo]]);
230
- export {
231
- oe as default
232
- };