@jeecg/online 3.5.3-beta2 → 3.5.3-vite4

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 (154) hide show
  1. package/AuthButtonConfig-2f71787c.mjs +125 -0
  2. package/AuthButtonTree-d73bccf5.mjs +156 -0
  3. package/AuthDataConfig-32cf23d2.mjs +212 -0
  4. package/AuthDataTree-03d62d3f.mjs +139 -0
  5. package/AuthFieldConfig-b1217a0c.mjs +139 -0
  6. package/AuthFieldTree-888e04a9.mjs +232 -0
  7. package/AuthManagerDrawer-f127b8a2.mjs +114 -0
  8. package/AuthSetterModal-37da78ed.mjs +261 -0
  9. package/CgformCopyList-3adab58f.mjs +245 -0
  10. package/CgformModal-6938d8c2.mjs +613 -0
  11. package/CgreportModal-77ec8c17.mjs +12 -0
  12. package/CgreportModal.vue_vue_type_script_setup_true_lang-52dcec5e.mjs +567 -0
  13. package/CheckDictTable-414313f2.mjs +211 -0
  14. package/CodeFileListModal-4831ce3d.mjs +158 -0
  15. package/CodeFileViewModal-5990dac4.mjs +244 -0
  16. package/CodeGeneratorModal-7df9e25d.mjs +234 -0
  17. package/CustomButtonList-1c9bd859.mjs +363 -0
  18. package/DBAttributeTable-cd1c41e5.mjs +473 -0
  19. package/DbToOnlineModal-dc5d2030.mjs +160 -0
  20. package/DetailForm-e4538e7a.mjs +446 -0
  21. package/EnhanceJavaModal-7f53d2ca.mjs +260 -0
  22. package/EnhanceJsHistory-c30805ce.mjs +184 -0
  23. package/EnhanceJsModal-0b133341.mjs +233 -0
  24. package/EnhanceSqlModal-33a94c83.mjs +259 -0
  25. package/ExtendConfigModal-60f2cf86.mjs +111 -0
  26. package/FieldExtendJsonModal-48f7d67f.mjs +220 -0
  27. package/FileSelectModal-64aaf623.mjs +91 -0
  28. package/ForeignKeyTable-cb1abd1d.mjs +69 -0
  29. package/IndexTable-4e94cd1f.mjs +89 -0
  30. package/JModalTip-abe1515a.mjs +46 -0
  31. package/JOnlineSearchSelect-5608a5cf.mjs +94 -0
  32. package/LeftDepart-ca7a7375.mjs +82 -0
  33. package/LeftRole-d0fa8398.mjs +86 -0
  34. package/LeftUser-0c88c240.mjs +105 -0
  35. package/LinkTableConfigModal-77d7c0b9.mjs +230 -0
  36. package/LinkTableFieldConfigModal-c5689ab0.mjs +178 -0
  37. package/LinkTableListPiece-34266919.mjs +34 -0
  38. package/ModalFormDemo-0eeea994.mjs +78 -0
  39. package/OnlCgformErpList-7a0388d8.mjs +425 -0
  40. package/OnlCgformErpSubTable-fc6ade76.mjs +388 -0
  41. package/OnlineAutoList-85e6a30d.mjs +472 -0
  42. package/OnlineAutoModal-2a146238.mjs +206 -0
  43. package/OnlineAutoTreeList-f8d0e100.mjs +495 -0
  44. package/OnlineCustomModal-456a85a6.mjs +227 -0
  45. package/OnlineDetailModal-f967f080.mjs +177 -0
  46. package/OnlineForm-630a22c2.mjs +778 -0
  47. package/OnlineFormDetail-1b216792.mjs +296 -0
  48. package/OnlineQueryForm-1c5949a7.mjs +378 -0
  49. package/OnlineSearchFormItem-7c2ea9ed.mjs +352 -0
  50. package/OnlineSelectCascade-c7baf52b.mjs +160 -0
  51. package/OnlineSubFormDetail-0aa4966c.mjs +140 -0
  52. package/PageAttributeTable-811185fd.mjs +404 -0
  53. package/ProcessOnlineForm-27be6f6f.mjs +177 -0
  54. package/QueryTable-4ba771ef.mjs +115 -0
  55. package/SuperQuery-3821f984.mjs +845 -0
  56. package/SuperQueryValComponent-471110b5.mjs +8 -0
  57. package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +101 -0
  58. package/auth.api-d3a6c4b3.mjs +39 -0
  59. package/auth.data-8be5c9e3.mjs +141 -0
  60. package/{cgform.data.js → cgform.data-cbdd88c3.mjs} +93 -62
  61. package/constant-fe20103a.mjs +6 -0
  62. package/enhance.api-138e6826.mjs +104 -0
  63. package/enhance.data-efc7e155.mjs +175 -0
  64. package/index-074b92e5.mjs +236 -0
  65. package/index-6a09a912.mjs +58 -0
  66. package/index-9d32ae88.mjs +313 -0
  67. package/main.index.js +7 -1
  68. package/package.json +1 -1
  69. package/style.css +1 -1
  70. package/useCgformList-2d6a5955.mjs +388 -0
  71. package/useExtendComponent-48d37d9b.mjs +3919 -0
  72. package/useListButton-cef1371a.mjs +656 -0
  73. package/useOnlinePopEvent-e9a042f8.mjs +19 -0
  74. package/useOnlineTest-0df0ae86.mjs +43 -0
  75. package/useSchemas-fc8d97ce.mjs +669 -0
  76. package/useTableSync-dc333087.mjs +83 -0
  77. package/AuthButtonConfig.js +0 -147
  78. package/AuthButtonTree.js +0 -183
  79. package/AuthDataConfig.js +0 -246
  80. package/AuthDataTree.js +0 -160
  81. package/AuthFieldConfig.js +0 -170
  82. package/AuthFieldTree.js +0 -281
  83. package/AuthManagerDrawer.js +0 -125
  84. package/AuthSetterModal.js +0 -316
  85. package/CgformCopyList.js +0 -266
  86. package/CgformModal.js +0 -780
  87. package/CgreportModal.js +0 -667
  88. package/CheckDictTable.js +0 -242
  89. package/CodeFileListModal.js +0 -175
  90. package/CodeFileViewModal.js +0 -325
  91. package/CodeGeneratorModal.js +0 -297
  92. package/CustomButtonList.js +0 -410
  93. package/DBAttributeTable.js +0 -526
  94. package/DbToOnlineModal.js +0 -192
  95. package/DetailForm.js +0 -608
  96. package/EnhanceJavaModal.js +0 -298
  97. package/EnhanceJsHistory.js +0 -229
  98. package/EnhanceJsModal.js +0 -293
  99. package/EnhanceSqlModal.js +0 -299
  100. package/ExtendConfigModal.js +0 -151
  101. package/FieldExtendJsonModal.js +0 -283
  102. package/FileSelectModal.js +0 -102
  103. package/ForeignKeyTable.js +0 -79
  104. package/IndexTable.js +0 -97
  105. package/JModalTip.js +0 -54
  106. package/JOnlineSearchSelect.js +0 -115
  107. package/LICENSE +0 -9
  108. package/LeftDepart.js +0 -96
  109. package/LeftRole.js +0 -98
  110. package/LeftUser.js +0 -117
  111. package/LinkTableConfigModal.js +0 -289
  112. package/LinkTableFieldConfigModal.js +0 -218
  113. package/LinkTableListPiece.js +0 -36
  114. package/ModalFormDemo.js +0 -85
  115. package/OnlineAutoList.js +0 -524
  116. package/OnlineAutoModal.js +0 -226
  117. package/OnlineAutoTreeList.js +0 -553
  118. package/OnlineCustomModal.js +0 -286
  119. package/OnlineDetailModal.js +0 -190
  120. package/OnlineForm.js +0 -1018
  121. package/OnlineFormDetail.js +0 -347
  122. package/OnlineQueryForm.js +0 -484
  123. package/OnlineSearchFormItem.js +0 -436
  124. package/OnlineSelectCascade.js +0 -228
  125. package/OnlineSubFormDetail.js +0 -166
  126. package/PageAttributeTable.js +0 -486
  127. package/ProcessOnlineForm.js +0 -208
  128. package/QueryTable.js +0 -129
  129. package/SuperQuery.js +0 -1021
  130. package/SuperQueryValComponent.js +0 -9
  131. package/SuperQueryValComponent.vue_vue_type_script_lang.js +0 -162
  132. package/_arrayPush.js +0 -278
  133. package/_baseClone.js +0 -471
  134. package/_baseSlice.js +0 -18
  135. package/_commonjsHelpers.js +0 -5
  136. package/_flatRest.js +0 -174
  137. package/auth.api.js +0 -43
  138. package/auth.data.js +0 -142
  139. package/clipboard.js +0 -565
  140. package/enhance.api.js +0 -129
  141. package/enhance.data.js +0 -196
  142. package/index.js +0 -87
  143. package/index2.js +0 -340
  144. package/index3.js +0 -264
  145. package/isArray.js +0 -47
  146. package/omit.js +0 -60
  147. package/pick.js +0 -68
  148. package/toString.js +0 -31
  149. package/useCgformList.js +0 -470
  150. package/useExtendComponent.js +0 -5205
  151. package/useListButton.js +0 -923
  152. package/useOnlineTest.js +0 -44
  153. package/useSchemas.js +0 -653
  154. package/useTableSync.js +0 -117
package/CgformCopyList.js DELETED
@@ -1,266 +0,0 @@
1
- import { defineComponent, provide, watch, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, withCtx, createTextVNode, createCommentVNode } from "vue";
2
- import { BasicTable, TableAction } from "/@/components/Table";
3
- import { C as CgformModal } from "./CgformModal.js";
4
- import DbToOnlineModal from "./DbToOnlineModal.js";
5
- import CustomButtonList from "./CustomButtonList.js";
6
- import EnhanceJsModal from "./EnhanceJsModal.js";
7
- import EnhanceJavaModal from "./EnhanceJavaModal.js";
8
- import EnhanceSqlModal from "./EnhanceSqlModal.js";
9
- import AuthManagerDrawer from "./AuthManagerDrawer.js";
10
- import AuthSetterModal from "./AuthSetterModal.js";
11
- import { C as CgformPageType, u as useCgformList } from "./useCgformList.js";
12
- import { _ as _export_sfc } from "./index.js";
13
- import "/@/components/Icon";
14
- import "/@/components/Modal";
15
- import "/@/components/Form/index";
16
- import "/@/hooks/web/useMessage";
17
- import "./useSchemas.js";
18
- import "ant-design-vue";
19
- import "@ant-design/icons-vue";
20
- import "/@/utils/common/compUtils";
21
- import "/@/hooks/web/usePermission";
22
- import "/@/utils/helper/validator";
23
- import "./DBAttributeTable.js";
24
- import "/@/components/jeecg/JVxeTable/types";
25
- import "./useTableSync.js";
26
- import "./cgform.data.js";
27
- import "/@/utils/dict";
28
- import "/@/utils/dict/JDictSelectUtil";
29
- import "/@/utils/uuid";
30
- import "./pick.js";
31
- import "./_flatRest.js";
32
- import "./isArray.js";
33
- import "./toString.js";
34
- import "./_arrayPush.js";
35
- import "./PageAttributeTable.js";
36
- import "./LinkTableConfigModal.js";
37
- import "/@/utils/http/axios";
38
- import "./omit.js";
39
- import "./_baseClone.js";
40
- import "./_baseSlice.js";
41
- import "./LinkTableFieldConfigModal.js";
42
- import "./FieldExtendJsonModal.js";
43
- import "./CheckDictTable.js";
44
- import "/@/components/jeecg/JPrompt";
45
- import "/@/hooks/web/useDesign";
46
- import "./ForeignKeyTable.js";
47
- import "./IndexTable.js";
48
- import "./QueryTable.js";
49
- import "./ExtendConfigModal.js";
50
- import "/@/components/Form";
51
- import "./useOnlineTest.js";
52
- import "/@/utils";
53
- import "./useExtendComponent.js";
54
- import "/@/components/Form/src/componentMap";
55
- import "/@/utils/propTypes";
56
- import "/@/components/Form/src/jeecg/components/JUpload";
57
- import "/@/views/system/user/user.api";
58
- import "./_commonjsHelpers.js";
59
- import "/@/store/modules/user";
60
- import "/@/utils/desform/customExpression";
61
- import "/@/store/modules/permission";
62
- import "/@/hooks/system/useListPage";
63
- import "vue-router";
64
- import "/@/components/Form/src/utils/Area";
65
- import "/@/components/Preview/index";
66
- import "./LinkTableListPiece.js";
67
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
68
- import "./OnlineSelectCascade.js";
69
- import "/@/components/Loading";
70
- import "/@/utils/auth";
71
- import "./JModalTip.js";
72
- import "@vueuse/core";
73
- import "./EnhanceJsHistory.js";
74
- import "/@/utils/dateUtil";
75
- import "/@/store";
76
- import "pinia";
77
- import "/@/utils/cache";
78
- import "./enhance.api.js";
79
- import "/@/utils/is";
80
- import "./enhance.data.js";
81
- import "/@/components/Drawer";
82
- import "./AuthFieldConfig.js";
83
- import "./auth.api.js";
84
- import "./auth.data.js";
85
- import "./AuthButtonConfig.js";
86
- import "./AuthDataConfig.js";
87
- import "./LeftRole.js";
88
- import "./LeftDepart.js";
89
- import "/@/api/common/api";
90
- import "./LeftUser.js";
91
- import "./AuthFieldTree.js";
92
- import "./AuthButtonTree.js";
93
- import "./AuthDataTree.js";
94
- import "./clipboard.js";
95
- const _sfc_main = defineComponent({
96
- name: "CgformCopyList",
97
- components: {
98
- BasicTable,
99
- TableAction,
100
- CgformModal,
101
- DbToOnlineModal,
102
- CustomButtonList,
103
- EnhanceJsModal,
104
- EnhanceJavaModal,
105
- EnhanceSqlModal,
106
- AuthManagerDrawer,
107
- AuthSetterModal
108
- },
109
- setup() {
110
- const pageType = CgformPageType.copy;
111
- provide("cgformPageType", pageType);
112
- const {
113
- router,
114
- pageContext,
115
- getTableAction,
116
- getDropDownAction,
117
- onShowCustomButton,
118
- onShowEnhanceJs,
119
- onShowEnhanceSql,
120
- onShowEnhanceJava,
121
- registerCustomButtonModal,
122
- registerEnhanceJsModal,
123
- registerEnhanceSqlModal,
124
- registerEnhanceJavaModal,
125
- registerAuthManagerDrawer,
126
- registerAuthSetterModal,
127
- registerCgformModal,
128
- registerDbToOnlineModal
129
- } = useCgformList({
130
- pageType,
131
- designScope: "online-cgform-list",
132
- columns: [
133
- { title: "\u89C6\u56FE\u8868\u540D", dataIndex: "tableName" },
134
- { title: "\u89C6\u56FE\u8868\u63CF\u8FF0", dataIndex: "tableTxt" },
135
- { title: "\u539F\u8868\u7248\u672C", dataIndex: "copyVersion" },
136
- { title: "\u89C6\u56FE\u7248\u672C", dataIndex: "tableVersion" }
137
- ],
138
- formSchemas: [{ label: "\u8868\u540D", field: "tableName", component: "JInput" }]
139
- });
140
- const { prefixCls, tableContext } = pageContext;
141
- const [registerTable, { reload }, { rowSelection }] = tableContext;
142
- watch(router.currentRoute, () => reload());
143
- return {
144
- prefixCls,
145
- reload,
146
- rowSelection,
147
- getTableAction,
148
- getDropDownAction,
149
- onShowCustomButton,
150
- onShowEnhanceJs,
151
- onShowEnhanceSql,
152
- onShowEnhanceJava,
153
- registerCustomButtonModal,
154
- registerEnhanceJsModal,
155
- registerEnhanceSqlModal,
156
- registerEnhanceJavaModal,
157
- registerAuthManagerDrawer,
158
- registerAuthSetterModal,
159
- registerTable,
160
- registerCgformModal,
161
- registerDbToOnlineModal
162
- };
163
- }
164
- });
165
- const _hoisted_1 = {
166
- key: 0,
167
- style: { "color": "limegreen" }
168
- };
169
- const _hoisted_2 = {
170
- key: 1,
171
- style: { "color": "red" }
172
- };
173
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
174
- const _component_a_button = resolveComponent("a-button");
175
- const _component_TableAction = resolveComponent("TableAction");
176
- const _component_BasicTable = resolveComponent("BasicTable");
177
- const _component_CgformModal = resolveComponent("CgformModal");
178
- const _component_EnhanceJsModal = resolveComponent("EnhanceJsModal");
179
- const _component_EnhanceJavaModal = resolveComponent("EnhanceJavaModal");
180
- const _component_EnhanceSqlModal = resolveComponent("EnhanceSqlModal");
181
- const _component_DbToOnlineModal = resolveComponent("DbToOnlineModal");
182
- const _component_CustomButtonList = resolveComponent("CustomButtonList");
183
- const _component_AuthManagerDrawer = resolveComponent("AuthManagerDrawer");
184
- const _component_AuthSetterModal = resolveComponent("AuthSetterModal");
185
- return openBlock(), createElementBlock(Fragment, null, [
186
- createElementVNode("div", {
187
- class: normalizeClass(_ctx.prefixCls)
188
- }, [
189
- createVNode(_component_BasicTable, {
190
- onRegister: _ctx.registerTable,
191
- rowSelection: _ctx.rowSelection
192
- }, {
193
- tableTitle: withCtx(() => [
194
- createVNode(_component_a_button, {
195
- onClick: _ctx.onShowCustomButton,
196
- type: "primary",
197
- preIcon: "ant-design:highlight"
198
- }, {
199
- default: withCtx(() => [
200
- createTextVNode("\u81EA\u5B9A\u4E49\u6309\u94AE")
201
- ]),
202
- _: 1
203
- }, 8, ["onClick"]),
204
- createVNode(_component_a_button, {
205
- onClick: _ctx.onShowEnhanceJs,
206
- type: "primary",
207
- preIcon: "ant-design:strikethrough"
208
- }, {
209
- default: withCtx(() => [
210
- createTextVNode("JS\u589E\u5F3A")
211
- ]),
212
- _: 1
213
- }, 8, ["onClick"]),
214
- createVNode(_component_a_button, {
215
- onClick: _ctx.onShowEnhanceSql,
216
- type: "primary",
217
- preIcon: "ant-design:filter"
218
- }, {
219
- default: withCtx(() => [
220
- createTextVNode("SQL\u589E\u5F3A")
221
- ]),
222
- _: 1
223
- }, 8, ["onClick"]),
224
- createVNode(_component_a_button, {
225
- onClick: _ctx.onShowEnhanceJava,
226
- type: "primary",
227
- preIcon: "ant-design:tool"
228
- }, {
229
- default: withCtx(() => [
230
- createTextVNode("Java\u589E\u5F3A")
231
- ]),
232
- _: 1
233
- }, 8, ["onClick"])
234
- ]),
235
- dbSync: withCtx(({ text }) => [
236
- text === "Y" ? (openBlock(), createElementBlock("span", _hoisted_1, "\u5DF2\u540C\u6B65")) : createCommentVNode("", true),
237
- text === "N" ? (openBlock(), createElementBlock("span", _hoisted_2, "\u672A\u540C\u6B65")) : createCommentVNode("", true)
238
- ]),
239
- action: withCtx(({ record }) => [
240
- createVNode(_component_TableAction, {
241
- actions: _ctx.getTableAction(record),
242
- dropDownActions: _ctx.getDropDownAction(record)
243
- }, null, 8, ["actions", "dropDownActions"])
244
- ]),
245
- _: 1
246
- }, 8, ["onRegister", "rowSelection"])
247
- ], 2),
248
- createVNode(_component_CgformModal, {
249
- onRegister: _ctx.registerCgformModal,
250
- actionButton: false,
251
- onSuccess: _ctx.reload
252
- }, null, 8, ["onRegister", "onSuccess"]),
253
- createVNode(_component_EnhanceJsModal, { onRegister: _ctx.registerEnhanceJsModal }, null, 8, ["onRegister"]),
254
- createVNode(_component_EnhanceJavaModal, { onRegister: _ctx.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
255
- createVNode(_component_EnhanceSqlModal, { onRegister: _ctx.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
256
- createVNode(_component_DbToOnlineModal, {
257
- onRegister: _ctx.registerDbToOnlineModal,
258
- onSuccess: _ctx.reload
259
- }, null, 8, ["onRegister", "onSuccess"]),
260
- createVNode(_component_CustomButtonList, { onRegister: _ctx.registerCustomButtonModal }, null, 8, ["onRegister"]),
261
- createVNode(_component_AuthManagerDrawer, { onRegister: _ctx.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
262
- createVNode(_component_AuthSetterModal, { onRegister: _ctx.registerAuthSetterModal }, null, 8, ["onRegister"])
263
- ], 64);
264
- }
265
- var CgformCopyList = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
266
- export { CgformCopyList as default };