@jeecg/online 3.5.3-beta3 → 3.6.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 (163) hide show
  1. package/AuthButtonConfig-b6a674fa.mjs +125 -0
  2. package/AuthButtonTree-09e57bc4.mjs +156 -0
  3. package/AuthDataConfig-6e7e61ec.mjs +212 -0
  4. package/AuthDataTree-e83286c5.mjs +139 -0
  5. package/AuthFieldConfig-f1ec2708.mjs +139 -0
  6. package/AuthFieldTree-bb72e21f.mjs +232 -0
  7. package/AuthManagerDrawer-28a2d108.mjs +114 -0
  8. package/AuthSetterModal-2990d553.mjs +261 -0
  9. package/CgformCopyList-36a4cbf0.mjs +246 -0
  10. package/CgformModal-7399a5ac.mjs +611 -0
  11. package/CgreportModal-2eb9c9e1.mjs +13 -0
  12. package/CgreportModal.vue_vue_type_script_setup_true_lang-c2ceb064.mjs +566 -0
  13. package/CheckDictTable-3a8a54b3.mjs +211 -0
  14. package/CodeFileListModal-72f0d3bb.mjs +158 -0
  15. package/CodeFileViewModal-9eb88c47.mjs +244 -0
  16. package/CodeGeneratorModal-a89958f5.mjs +233 -0
  17. package/CustomButtonList-c44aec5a.mjs +363 -0
  18. package/DBAttributeTable-7d285e8d.mjs +473 -0
  19. package/DbToOnlineModal-d23cbeb1.mjs +160 -0
  20. package/DetailForm-2901d215.mjs +461 -0
  21. package/EnhanceJavaModal-153899a9.mjs +264 -0
  22. package/EnhanceJsHistory-7f5db3b1.mjs +184 -0
  23. package/EnhanceJsModal-c2fb75b8.mjs +311 -0
  24. package/EnhanceSqlModal-965e9b0a.mjs +268 -0
  25. package/ExtendConfigModal-8f08466f.mjs +111 -0
  26. package/FieldExtendJsonModal-adfcf5a7.mjs +219 -0
  27. package/FileSelectModal-432d4521.mjs +103 -0
  28. package/ForeignKeyTable-faab7ccf.mjs +69 -0
  29. package/IndexTable-0a2d3718.mjs +89 -0
  30. package/JModalTip-e1938b49.mjs +46 -0
  31. package/JOnlineSearchSelect-7e908492.mjs +95 -0
  32. package/LeftDepart-54f245b3.mjs +82 -0
  33. package/LeftRole-c138f892.mjs +86 -0
  34. package/LeftUser-9c812f8a.mjs +105 -0
  35. package/LinkTableConfigModal-c2c5c7e6.mjs +230 -0
  36. package/LinkTableFieldConfigModal-a3553b1f.mjs +176 -0
  37. package/LinkTableListPiece-7f793b08.mjs +34 -0
  38. package/ModalFormDemo-65685b0e.mjs +78 -0
  39. package/OnlCgformErpList-52c87ed3.mjs +449 -0
  40. package/OnlCgformErpSubTable-6e7fb17b.mjs +398 -0
  41. package/OnlCgformInnerSubTable-f0727b8f.mjs +248 -0
  42. package/OnlCgformInnerTableList-9f89c173.mjs +430 -0
  43. package/OnlCgformTabList-15516315.mjs +390 -0
  44. package/OnlineAutoList-63a0224f.mjs +474 -0
  45. package/OnlineAutoModal-ffe19c3f.mjs +206 -0
  46. package/OnlineAutoTreeList-317c7105.mjs +495 -0
  47. package/OnlineCustomModal-3939ce78.mjs +227 -0
  48. package/OnlineDetailModal-bfb1375f.mjs +177 -0
  49. package/OnlineForm-069f6092.mjs +749 -0
  50. package/OnlineFormDetail-ad5735fb.mjs +296 -0
  51. package/OnlineQueryForm-0771c80f.mjs +385 -0
  52. package/OnlineSearchFormItem-0db5834f.mjs +348 -0
  53. package/OnlineSelectCascade-a05c30f4.mjs +159 -0
  54. package/OnlineSubFormDetail-583d01eb.mjs +142 -0
  55. package/OnlineTabAutoModal-747e071d.mjs +253 -0
  56. package/OnlineTabDetailModal-887f0174.mjs +222 -0
  57. package/OnlineTabForm-b1dcd4b4.mjs +765 -0
  58. package/OnlineTabFormDetail-8e494a96.mjs +323 -0
  59. package/PageAttributeTable-5966b201.mjs +404 -0
  60. package/ProcessOnlineForm-4382bea7.mjs +177 -0
  61. package/QueryTable-6e8053ad.mjs +115 -0
  62. package/README.md +2 -1
  63. package/SuperQuery-78db6998.mjs +841 -0
  64. package/SuperQueryValComponent-471110b5.mjs +8 -0
  65. package/SuperQueryValComponent.vue_vue_type_script_lang-e3ad7ee8.mjs +101 -0
  66. package/auth.api-d3a6c4b3.mjs +39 -0
  67. package/auth.data-8be5c9e3.mjs +141 -0
  68. package/{cgform.data.js → cgform.data-cbdd88c3.mjs} +93 -62
  69. package/constant-754f1a9d.mjs +9 -0
  70. package/enhance.api-138e6826.mjs +104 -0
  71. package/enhance.data-efc7e155.mjs +175 -0
  72. package/index-0a93652b.mjs +237 -0
  73. package/index-7e9a23f2.mjs +1494 -0
  74. package/index-b70302f2.mjs +56 -0
  75. package/main.index.js +7 -1
  76. package/package.json +1 -1
  77. package/style.css +1 -1
  78. package/useCgformList-0c603af1.mjs +424 -0
  79. package/useCustomHook-acb00837.mjs +53 -0
  80. package/useExtendComponent-aa1cdfc8.mjs +3917 -0
  81. package/useListButton-0f18bf6a.mjs +671 -0
  82. package/useOnlinePopEvent-687070b7.mjs +19 -0
  83. package/useOnlineTest-e4bd8be3.mjs +42 -0
  84. package/useSchemas-43429d80.mjs +685 -0
  85. package/useTableSync-774c3774.mjs +87 -0
  86. package/AuthButtonConfig.js +0 -147
  87. package/AuthButtonTree.js +0 -183
  88. package/AuthDataConfig.js +0 -246
  89. package/AuthDataTree.js +0 -160
  90. package/AuthFieldConfig.js +0 -170
  91. package/AuthFieldTree.js +0 -281
  92. package/AuthManagerDrawer.js +0 -125
  93. package/AuthSetterModal.js +0 -316
  94. package/CgformCopyList.js +0 -266
  95. package/CgformModal.js +0 -780
  96. package/CgreportModal.js +0 -667
  97. package/CheckDictTable.js +0 -242
  98. package/CodeFileListModal.js +0 -175
  99. package/CodeFileViewModal.js +0 -325
  100. package/CodeGeneratorModal.js +0 -297
  101. package/CustomButtonList.js +0 -410
  102. package/DBAttributeTable.js +0 -526
  103. package/DbToOnlineModal.js +0 -192
  104. package/DetailForm.js +0 -608
  105. package/EnhanceJavaModal.js +0 -298
  106. package/EnhanceJsHistory.js +0 -229
  107. package/EnhanceJsModal.js +0 -293
  108. package/EnhanceSqlModal.js +0 -299
  109. package/ExtendConfigModal.js +0 -151
  110. package/FieldExtendJsonModal.js +0 -283
  111. package/FileSelectModal.js +0 -102
  112. package/ForeignKeyTable.js +0 -79
  113. package/IndexTable.js +0 -97
  114. package/JModalTip.js +0 -54
  115. package/JOnlineSearchSelect.js +0 -115
  116. package/LICENSE +0 -9
  117. package/LeftDepart.js +0 -96
  118. package/LeftRole.js +0 -98
  119. package/LeftUser.js +0 -117
  120. package/LinkTableConfigModal.js +0 -289
  121. package/LinkTableFieldConfigModal.js +0 -218
  122. package/LinkTableListPiece.js +0 -36
  123. package/ModalFormDemo.js +0 -85
  124. package/OnlineAutoList.js +0 -523
  125. package/OnlineAutoModal.js +0 -226
  126. package/OnlineAutoTreeList.js +0 -552
  127. package/OnlineCustomModal.js +0 -286
  128. package/OnlineDetailModal.js +0 -190
  129. package/OnlineForm.js +0 -1016
  130. package/OnlineFormDetail.js +0 -347
  131. package/OnlineQueryForm.js +0 -484
  132. package/OnlineSearchFormItem.js +0 -436
  133. package/OnlineSelectCascade.js +0 -228
  134. package/OnlineSubFormDetail.js +0 -166
  135. package/PageAttributeTable.js +0 -486
  136. package/ProcessOnlineForm.js +0 -208
  137. package/QueryTable.js +0 -129
  138. package/SuperQuery.js +0 -1020
  139. package/SuperQueryValComponent.js +0 -8
  140. package/SuperQueryValComponent.vue_vue_type_script_lang.js +0 -168
  141. package/_arrayPush.js +0 -278
  142. package/_baseClone.js +0 -471
  143. package/_baseSlice.js +0 -18
  144. package/_commonjsHelpers.js +0 -5
  145. package/_flatRest.js +0 -174
  146. package/auth.api.js +0 -43
  147. package/auth.data.js +0 -142
  148. package/clipboard.js +0 -565
  149. package/enhance.api.js +0 -129
  150. package/enhance.data.js +0 -196
  151. package/index.js +0 -87
  152. package/index2.js +0 -340
  153. package/index3.js +0 -264
  154. package/isArray.js +0 -47
  155. package/omit.js +0 -60
  156. package/pick.js +0 -68
  157. package/toString.js +0 -31
  158. package/useCgformList.js +0 -470
  159. package/useExtendComponent.js +0 -5205
  160. package/useListButton.js +0 -923
  161. package/useOnlineTest.js +0 -44
  162. package/useSchemas.js +0 -653
  163. package/useTableSync.js +0 -117
package/enhance.data.js DELETED
@@ -1,196 +0,0 @@
1
- import { computed } from "vue";
2
- import { o as onlineDefaultButton } from "./cgform.data.js";
3
- function useJavaColumns(btnList) {
4
- let columns = [
5
- {
6
- title: "\u9875\u9762\u6309\u94AE",
7
- align: "center",
8
- dataIndex: "buttonCode",
9
- customRender: ({ text }) => renderButtonText(text, btnList.value)
10
- },
11
- {
12
- title: "\u4E8B\u4EF6\u72B6\u6001",
13
- align: "center",
14
- dataIndex: "event",
15
- customRender: ({ text }) => text == "start" ? "\u5F00\u59CB" : "\u7ED3\u675F"
16
- },
17
- {
18
- title: "\u7C7B\u578B",
19
- align: "center",
20
- dataIndex: "cgJavaType",
21
- customRender: ({ text }) => {
22
- if (text == "spring") {
23
- return "spring-key";
24
- } else if (text === "class") {
25
- return "java-class";
26
- } else if (text === "http") {
27
- return "http-api";
28
- } else {
29
- return text;
30
- }
31
- }
32
- },
33
- {
34
- title: "\u5185\u5BB9",
35
- align: "center",
36
- dataIndex: "cgJavaValue"
37
- },
38
- {
39
- title: "\u662F\u5426\u751F\u6548",
40
- align: "center",
41
- dataIndex: "activeStatus",
42
- customRender: ({ text }) => {
43
- if (text == "1") {
44
- return "\u6709\u6548";
45
- } else {
46
- return "\u65E0\u6548";
47
- }
48
- }
49
- }
50
- ];
51
- return { columns };
52
- }
53
- function useJavaFormSchemas(btnList) {
54
- const formSchemas = computed(() => {
55
- return [
56
- {
57
- label: "\u9875\u9762\u6309\u94AE",
58
- field: "buttonCode",
59
- component: "Select",
60
- componentProps: {
61
- options: [
62
- { label: "\u65B0\u589E", value: "add" },
63
- { label: "\u7F16\u8F91", value: "edit" },
64
- { label: "\u5220\u9664", value: "delete" },
65
- { label: "\u5BFC\u5165", value: "import" },
66
- { label: "\u5BFC\u51FA", value: "export" },
67
- { label: "\u67E5\u8BE2", value: "query" },
68
- ...btnList.value.map((item) => ({ label: item.buttonName, value: item.buttonCode }))
69
- ]
70
- },
71
- defaultValue: "add"
72
- },
73
- {
74
- label: "\u4E8B\u4EF6\u72B6\u6001",
75
- field: "event",
76
- component: "RadioButtonGroup",
77
- componentProps: {
78
- options: [
79
- { label: "\u5F00\u59CB", value: "start" },
80
- { label: "\u7ED3\u675F", value: "end" }
81
- ]
82
- },
83
- defaultValue: "end"
84
- },
85
- {
86
- label: "\u7C7B\u578B",
87
- field: "cgJavaType",
88
- component: "RadioButtonGroup",
89
- componentProps: {
90
- options: [
91
- { label: "spring-key", value: "spring" },
92
- { label: "java-class", value: "class" },
93
- { label: "http-api", value: "http" }
94
- ]
95
- },
96
- defaultValue: "spring"
97
- },
98
- {
99
- label: "\u5185\u5BB9",
100
- field: "cgJavaValue",
101
- component: "Input",
102
- required: true
103
- },
104
- {
105
- label: "\u662F\u5426\u751F\u6548",
106
- field: "activeStatus",
107
- component: "RadioButtonGroup",
108
- componentProps: {
109
- options: [
110
- { label: "\u6709\u6548", value: "1" },
111
- { label: "\u65E0\u6548", value: "0" }
112
- ]
113
- },
114
- defaultValue: "1"
115
- }
116
- ];
117
- });
118
- return { formSchemas };
119
- }
120
- function useSqlColumns(btnList) {
121
- let columns = [
122
- {
123
- title: "\u9875\u9762\u6309\u94AE",
124
- align: "center",
125
- dataIndex: "buttonCode",
126
- customRender: ({ text }) => renderButtonText(text, btnList.value)
127
- },
128
- {
129
- title: "\u589E\u5F3ASQL",
130
- align: "center",
131
- dataIndex: "cgbSql",
132
- ellipsis: true
133
- }
134
- ];
135
- return { columns };
136
- }
137
- function useSqlFormSchemas(btnList) {
138
- const formSchemas = computed(() => {
139
- return [
140
- {
141
- label: "\u9875\u9762\u6309\u94AE",
142
- field: "buttonCode",
143
- component: "Select",
144
- componentProps: {
145
- options: [
146
- { label: "\u65B0\u589E", value: "add" },
147
- { label: "\u7F16\u8F91", value: "edit" },
148
- { label: "\u5220\u9664", value: "delete" },
149
- ...btnList.value.map((item) => ({ label: item.buttonName, value: item.buttonCode }))
150
- ]
151
- },
152
- defaultValue: "add"
153
- },
154
- {
155
- label: "\u589E\u5F3ASQL",
156
- field: "cgbSql",
157
- component: "JCodeEditor",
158
- componentProps: {
159
- language: "sql",
160
- placeholder: "\u8BF7\u8F93\u5165SQL\u8BED\u53E5",
161
- languageChange: false,
162
- lineNumbers: false,
163
- fullScreen: true,
164
- height: "320px"
165
- },
166
- defaultValue: ""
167
- },
168
- {
169
- label: "\u63CF\u8FF0",
170
- field: "content",
171
- component: "InputTextArea",
172
- defaultValue: ""
173
- }
174
- ];
175
- });
176
- return { formSchemas };
177
- }
178
- function renderButtonText(text, btnList) {
179
- let str = text;
180
- for (let item of onlineDefaultButton) {
181
- if (item.code === text) {
182
- str = item.title;
183
- break;
184
- }
185
- }
186
- if (!str) {
187
- for (let item of btnList) {
188
- if (item.buttonCode === text) {
189
- str = item.buttonName;
190
- break;
191
- }
192
- }
193
- }
194
- return str;
195
- }
196
- export { useJavaColumns as a, useSqlFormSchemas as b, useSqlColumns as c, useJavaFormSchemas as u };
package/index.js DELETED
@@ -1,87 +0,0 @@
1
- const import_meta = {};
2
- import JPopupOnlReport from "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
3
- import { defineComponent, resolveComponent, openBlock, createElementBlock, createVNode, defineAsyncComponent } from "vue";
4
- import { useMessage } from "/@/hooks/web/useMessage";
5
- import { useRoute } from "vue-router";
6
- var _export_sfc = (sfc, props) => {
7
- const target = sfc.__vccOpts || sfc;
8
- for (const [key, val] of props) {
9
- target[key] = val;
10
- }
11
- return target;
12
- };
13
- const _sfc_main = defineComponent({
14
- name: "OnlCgReportList",
15
- components: {
16
- JPopupOnlReport
17
- },
18
- setup(props, { emit, refs }) {
19
- useMessage();
20
- const route = useRoute();
21
- const path = route.path;
22
- const id = path.substr(path.lastIndexOf("/") + 1);
23
- return {
24
- id
25
- };
26
- }
27
- });
28
- const _hoisted_1 = { class: "p-2" };
29
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
30
- const _component_JPopupOnlReport = resolveComponent("JPopupOnlReport");
31
- return openBlock(), createElementBlock("div", _hoisted_1, [
32
- createVNode(_component_JPopupOnlReport, {
33
- id: _ctx.id,
34
- clickToRowSelect: false
35
- }, null, 8, ["id"])
36
- ]);
37
- }
38
- var OnlCgReportList = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
39
- var OnlCgReportList$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40
- __proto__: null,
41
- "default": OnlCgReportList
42
- }, Symbol.toStringTag, { value: "Module" }));
43
- console.log("node_modules import.meta: ", import_meta);
44
- var index = {
45
- install(app, options) {
46
- app.provide("baseImport", options.baseImport);
47
- app.component("OnlCgReportList", OnlCgReportList);
48
- const JOnlineSearchSelect = defineAsyncComponent(() => import("./JOnlineSearchSelect.js"));
49
- app.component("JOnlineSearchSelect", JOnlineSearchSelect);
50
- const SuperQuery = defineAsyncComponent(() => import("./SuperQuery.js"));
51
- app.component("SuperQuery", SuperQuery);
52
- console.log("--- online init ----");
53
- },
54
- getViews() {
55
- return { "./src/views/super/online/cgform/CgformCopyList.vue": () => import("./CgformCopyList.js"), "./src/views/super/online/cgform/index.vue": () => import("./index2.js"), "./src/views/super/online/cgreport/index.vue": () => import("./index3.js"), "./src/views/super/online/cgform/components/CgformModal.vue": () => import("./CgformModal.js").then(function(n) {
56
- return n.h;
57
- }), "./src/views/super/online/cgform/components/CodeFileListModal.vue": () => import("./CodeFileListModal.js"), "./src/views/super/online/cgform/components/CodeFileViewModal.vue": () => import("./CodeFileViewModal.js"), "./src/views/super/online/cgform/components/CodeGeneratorModal.vue": () => import("./CodeGeneratorModal.js"), "./src/views/super/online/cgform/components/DbToOnlineModal.vue": () => import("./DbToOnlineModal.js"), "./src/views/super/online/cgform/components/ExtendConfigModal.vue": () => import("./ExtendConfigModal.js"), "./src/views/super/online/cgform/components/FileSelectModal.vue": () => import("./FileSelectModal.js"), "./src/views/super/online/cgform/extend/FieldExtendJsonModal.vue": () => import("./FieldExtendJsonModal.js"), "./src/views/super/online/cgreport/auto/OnlCgReportList.vue": () => Promise.resolve().then(function() {
58
- return OnlCgReportList$1;
59
- }), "./src/views/super/online/cgreport/components/CgreportModal.vue": () => import("./CgreportModal.js").then(function(n) {
60
- return n.C;
61
- }), "./src/views/super/online/cgreport/demo/ModalFormDemo.vue": () => import("./ModalFormDemo.js"), "./src/views/super/online/cgform/auto/comp/JOnlineSearchSelect.vue": () => import("./JOnlineSearchSelect.js"), "./src/views/super/online/cgform/auto/comp/OnlineForm.vue": () => import("./OnlineForm.js").then(function(n) {
62
- return n.a;
63
- }), "./src/views/super/online/cgform/auto/comp/OnlineFormDetail.vue": () => import("./OnlineFormDetail.js"), "./src/views/super/online/cgform/auto/comp/OnlinePopForm.vue": () => import("./useExtendComponent.js").then(function(n) {
64
- return n.s;
65
- }), "./src/views/super/online/cgform/auto/comp/OnlinePopListModal.vue": () => import("./useExtendComponent.js").then(function(n) {
66
- return n.w;
67
- }), "./src/views/super/online/cgform/auto/comp/OnlinePopModal.vue": () => import("./useExtendComponent.js").then(function(n) {
68
- return n.t;
69
- }), "./src/views/super/online/cgform/auto/comp/OnlineQueryForm.vue": () => import("./OnlineQueryForm.js"), "./src/views/super/online/cgform/auto/comp/OnlineSearchFormItem.vue": () => import("./OnlineSearchFormItem.js"), "./src/views/super/online/cgform/auto/comp/OnlineSelectCascade.vue": () => import("./OnlineSelectCascade.js"), "./src/views/super/online/cgform/auto/comp/OnlineSubForm.vue": () => import("./useExtendComponent.js").then(function(n) {
70
- return n.r;
71
- }), "./src/views/super/online/cgform/auto/comp/OnlineSubFormDetail.vue": () => import("./OnlineSubFormDetail.js"), "./src/views/super/online/cgform/auto/comp/ProcessOnlineForm.vue": () => import("./ProcessOnlineForm.js"), "./src/views/super/online/cgform/auto/default/OnlineAutoList.vue": () => import("./OnlineAutoList.js"), "./src/views/super/online/cgform/auto/default/OnlineAutoModal.vue": () => import("./OnlineAutoModal.js"), "./src/views/super/online/cgform/auto/default/OnlineCustomModal.vue": () => import("./OnlineCustomModal.js"), "./src/views/super/online/cgform/auto/default/OnlineDetailModal.vue": () => import("./OnlineDetailModal.js"), "./src/views/super/online/cgform/auto/tree/OnlineAutoTreeList.vue": () => import("./OnlineAutoTreeList.js"), "./src/views/super/online/cgform/components/auth/AuthManagerDrawer.vue": () => import("./AuthManagerDrawer.js"), "./src/views/super/online/cgform/components/auth/AuthSetterModal.vue": () => import("./AuthSetterModal.js"), "./src/views/super/online/cgform/components/button/CustomButtonList.vue": () => import("./CustomButtonList.js"), "./src/views/super/online/cgform/components/enhance/EnhanceJavaModal.vue": () => import("./EnhanceJavaModal.js"), "./src/views/super/online/cgform/components/enhance/EnhanceJsHistory.vue": () => import("./EnhanceJsHistory.js").then(function(n) {
72
- return n.a;
73
- }), "./src/views/super/online/cgform/components/enhance/EnhanceJsModal.vue": () => import("./EnhanceJsModal.js"), "./src/views/super/online/cgform/components/enhance/EnhanceSqlModal.vue": () => import("./EnhanceSqlModal.js"), "./src/views/super/online/cgform/components/tables/CheckDictTable.vue": () => import("./CheckDictTable.js"), "./src/views/super/online/cgform/components/tables/DBAttributeTable.vue": () => import("./DBAttributeTable.js"), "./src/views/super/online/cgform/components/tables/ForeignKeyTable.vue": () => import("./ForeignKeyTable.js"), "./src/views/super/online/cgform/components/tables/IndexTable.vue": () => import("./IndexTable.js"), "./src/views/super/online/cgform/components/tables/PageAttributeTable.vue": () => import("./PageAttributeTable.js"), "./src/views/super/online/cgform/components/tables/QueryTable.vue": () => import("./QueryTable.js"), "./src/views/super/online/cgform/extend/form/DetailForm.vue": () => import("./DetailForm.js"), "./src/views/super/online/cgform/extend/linkTable/JModalTip.vue": () => import("./JModalTip.js"), "./src/views/super/online/cgform/extend/linkTable/LinkTableCard.vue": () => import("./useExtendComponent.js").then(function(n) {
74
- return n.x;
75
- }), "./src/views/super/online/cgform/extend/linkTable/LinkTableConfigModal.vue": () => import("./LinkTableConfigModal.js"), "./src/views/super/online/cgform/extend/linkTable/LinkTableFieldConfigModal.vue": () => import("./LinkTableFieldConfigModal.js"), "./src/views/super/online/cgform/extend/linkTable/LinkTableListPiece.vue": () => import("./LinkTableListPiece.js"), "./src/views/super/online/cgform/extend/linkTable/LinkTableSelect.vue": () => import("./useExtendComponent.js").then(function(n) {
76
- return n.v;
77
- }), "./src/views/super/online/cgform/auto/comp/superquery/SuperQuery.vue": () => import("./SuperQuery.js"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQueryValComponent.vue": () => import("./SuperQueryValComponent.js"), "./src/views/super/online/cgform/components/auth/manager/AuthButtonConfig.vue": () => import("./AuthButtonConfig.js"), "./src/views/super/online/cgform/components/auth/manager/AuthDataConfig.vue": () => import("./AuthDataConfig.js"), "./src/views/super/online/cgform/components/auth/manager/AuthFieldConfig.vue": () => import("./AuthFieldConfig.js"), "./src/views/super/online/cgform/components/auth/setter/AuthButtonTree.vue": () => import("./AuthButtonTree.js"), "./src/views/super/online/cgform/components/auth/setter/AuthDataTree.vue": () => import("./AuthDataTree.js"), "./src/views/super/online/cgform/components/auth/setter/AuthFieldTree.vue": () => import("./AuthFieldTree.js"), "./src/views/super/online/cgform/components/auth/setter/LeftDepart.vue": () => import("./LeftDepart.js"), "./src/views/super/online/cgform/components/auth/setter/LeftRole.vue": () => import("./LeftRole.js"), "./src/views/super/online/cgform/components/auth/setter/LeftUser.vue": () => import("./LeftUser.js") };
78
- }
79
- };
80
- const OnlineSelectCascade = defineAsyncComponent(() => import("./OnlineSelectCascade.js"));
81
- const LinkTableCard = defineAsyncComponent(() => import("./useExtendComponent.js").then(function(n) {
82
- return n.x;
83
- }));
84
- const LinkTableSelect = defineAsyncComponent(() => import("./useExtendComponent.js").then(function(n) {
85
- return n.v;
86
- }));
87
- export { LinkTableCard as L, OnlineSelectCascade as O, _export_sfc as _, LinkTableSelect as a, index as i };
package/index2.js DELETED
@@ -1,340 +0,0 @@
1
- import { defineComponent, resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, normalizeClass, createVNode, mergeProps, withCtx, createTextVNode, createBlock, 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 CodeGeneratorModal from "./CodeGeneratorModal.js";
6
- import CustomButtonList from "./CustomButtonList.js";
7
- import EnhanceJsModal from "./EnhanceJsModal.js";
8
- import EnhanceJavaModal from "./EnhanceJavaModal.js";
9
- import EnhanceSqlModal from "./EnhanceSqlModal.js";
10
- import AuthManagerDrawer from "./AuthManagerDrawer.js";
11
- import AuthSetterModal from "./AuthSetterModal.js";
12
- import { u as useCgformList, C as CgformPageType } from "./useCgformList.js";
13
- import { c as columns, s as searchFormSchema } from "./cgform.data.js";
14
- import { _ as _export_sfc } from "./index.js";
15
- import "/@/components/Icon";
16
- import "/@/components/Modal";
17
- import "/@/components/Form/index";
18
- import "/@/hooks/web/useMessage";
19
- import "./useSchemas.js";
20
- import "ant-design-vue";
21
- import "@ant-design/icons-vue";
22
- import "/@/utils/common/compUtils";
23
- import "/@/hooks/web/usePermission";
24
- import "/@/utils/helper/validator";
25
- import "./DBAttributeTable.js";
26
- import "/@/components/jeecg/JVxeTable/types";
27
- import "./useTableSync.js";
28
- import "./pick.js";
29
- import "./_flatRest.js";
30
- import "./isArray.js";
31
- import "./toString.js";
32
- import "./_arrayPush.js";
33
- import "/@/utils/dict";
34
- import "/@/utils/dict/JDictSelectUtil";
35
- import "/@/utils/uuid";
36
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
37
- import "vue-router";
38
- import "./PageAttributeTable.js";
39
- import "./LinkTableConfigModal.js";
40
- import "/@/utils/http/axios";
41
- import "./omit.js";
42
- import "./_baseClone.js";
43
- import "./_baseSlice.js";
44
- import "./LinkTableFieldConfigModal.js";
45
- import "./FieldExtendJsonModal.js";
46
- import "./CheckDictTable.js";
47
- import "/@/components/jeecg/JPrompt";
48
- import "/@/hooks/web/useDesign";
49
- import "./ForeignKeyTable.js";
50
- import "./IndexTable.js";
51
- import "./QueryTable.js";
52
- import "./ExtendConfigModal.js";
53
- import "/@/components/Form";
54
- import "./useOnlineTest.js";
55
- import "/@/utils";
56
- import "./useExtendComponent.js";
57
- import "/@/components/Form/src/componentMap";
58
- import "/@/utils/propTypes";
59
- import "/@/components/Form/src/jeecg/components/JUpload";
60
- import "/@/views/system/user/user.api";
61
- import "./_commonjsHelpers.js";
62
- import "/@/store/modules/user";
63
- import "/@/utils/desform/customExpression";
64
- import "/@/store/modules/permission";
65
- import "/@/hooks/system/useListPage";
66
- import "/@/components/Form/src/utils/Area";
67
- import "/@/components/Preview/index";
68
- import "./LinkTableListPiece.js";
69
- import "./OnlineSelectCascade.js";
70
- import "/@/components/Loading";
71
- import "/@/utils/auth";
72
- import "./JModalTip.js";
73
- import "@vueuse/core";
74
- import "./CodeFileListModal.js";
75
- import "./CodeFileViewModal.js";
76
- import "/@/utils/file/download";
77
- import "./FileSelectModal.js";
78
- import "./EnhanceJsHistory.js";
79
- import "/@/utils/dateUtil";
80
- import "/@/store";
81
- import "pinia";
82
- import "/@/utils/cache";
83
- import "./enhance.api.js";
84
- import "/@/utils/is";
85
- import "./enhance.data.js";
86
- import "/@/components/Drawer";
87
- import "./AuthFieldConfig.js";
88
- import "./auth.api.js";
89
- import "./auth.data.js";
90
- import "./AuthButtonConfig.js";
91
- import "./AuthDataConfig.js";
92
- import "./LeftRole.js";
93
- import "./LeftDepart.js";
94
- import "/@/api/common/api";
95
- import "./LeftUser.js";
96
- import "./AuthFieldTree.js";
97
- import "./AuthButtonTree.js";
98
- import "./AuthDataTree.js";
99
- import "./clipboard.js";
100
- const _sfc_main = defineComponent({
101
- name: "CgformIndex",
102
- components: {
103
- BasicTable,
104
- TableAction,
105
- CgformModal,
106
- DbToOnlineModal,
107
- CodeGeneratorModal,
108
- CustomButtonList,
109
- EnhanceJsModal,
110
- EnhanceJavaModal,
111
- EnhanceSqlModal,
112
- AuthManagerDrawer,
113
- AuthSetterModal
114
- },
115
- setup() {
116
- const {
117
- pageContext,
118
- onAdd,
119
- onDeleteBatch,
120
- onImportDbTable,
121
- onGenerateCode,
122
- onShowCustomButton,
123
- onShowEnhanceJs,
124
- onShowEnhanceSql,
125
- onShowEnhanceJava,
126
- getTableAction,
127
- getDropDownAction,
128
- registerAuthManagerDrawer,
129
- registerAuthSetterModal,
130
- registerCustomButtonModal,
131
- registerEnhanceJsModal,
132
- registerEnhanceSqlModal,
133
- registerEnhanceJavaModal,
134
- registerCgformModal,
135
- registerDbToOnlineModal,
136
- registerCodeGeneratorModal
137
- } = useCgformList({
138
- pageType: CgformPageType.normal,
139
- designScope: "online-cgform-list",
140
- columns,
141
- formSchemas: searchFormSchema
142
- });
143
- const { prefixCls, tableContext } = pageContext;
144
- const [registerTable, { reload }, { rowSelection, selectedRowKeys }] = tableContext;
145
- return {
146
- prefixCls,
147
- reload,
148
- rowSelection,
149
- selectedRowKeys,
150
- onAdd,
151
- onDeleteBatch,
152
- onImportDbTable,
153
- onGenerateCode,
154
- onShowCustomButton,
155
- onShowEnhanceJs,
156
- onShowEnhanceSql,
157
- onShowEnhanceJava,
158
- getTableAction,
159
- getDropDownAction,
160
- registerAuthManagerDrawer,
161
- registerAuthSetterModal,
162
- registerCustomButtonModal,
163
- registerEnhanceJsModal,
164
- registerEnhanceSqlModal,
165
- registerEnhanceJavaModal,
166
- registerTable,
167
- registerCgformModal,
168
- registerDbToOnlineModal,
169
- registerCodeGeneratorModal
170
- };
171
- }
172
- });
173
- const _hoisted_1 = /* @__PURE__ */ createElementVNode("span", null, "\u5220\u9664", -1);
174
- const _hoisted_2 = /* @__PURE__ */ createElementVNode("span", null, "\u6279\u91CF\u64CD\u4F5C", -1);
175
- const _hoisted_3 = {
176
- key: 0,
177
- style: { "color": "limegreen" }
178
- };
179
- const _hoisted_4 = {
180
- key: 1,
181
- style: { "color": "red" }
182
- };
183
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
184
- const _component_a_button = resolveComponent("a-button");
185
- const _component_a_icon = resolveComponent("a-icon");
186
- const _component_a_menu_item = resolveComponent("a-menu-item");
187
- const _component_a_menu = resolveComponent("a-menu");
188
- const _component_a_dropdown = resolveComponent("a-dropdown");
189
- const _component_TableAction = resolveComponent("TableAction");
190
- const _component_BasicTable = resolveComponent("BasicTable");
191
- const _component_CgformModal = resolveComponent("CgformModal");
192
- const _component_DbToOnlineModal = resolveComponent("DbToOnlineModal");
193
- const _component_CodeGeneratorModal = resolveComponent("CodeGeneratorModal");
194
- const _component_CustomButtonList = resolveComponent("CustomButtonList");
195
- const _component_EnhanceJsModal = resolveComponent("EnhanceJsModal");
196
- const _component_EnhanceJavaModal = resolveComponent("EnhanceJavaModal");
197
- const _component_EnhanceSqlModal = resolveComponent("EnhanceSqlModal");
198
- const _component_AuthManagerDrawer = resolveComponent("AuthManagerDrawer");
199
- const _component_AuthSetterModal = resolveComponent("AuthSetterModal");
200
- return openBlock(), createElementBlock(Fragment, null, [
201
- createElementVNode("div", {
202
- class: normalizeClass(_ctx.prefixCls)
203
- }, [
204
- createVNode(_component_BasicTable, mergeProps({
205
- onRegister: _ctx.registerTable,
206
- rowSelection: _ctx.rowSelection
207
- }, _ctx.$attrs), {
208
- tableTitle: withCtx(() => [
209
- createVNode(_component_a_button, {
210
- onClick: _ctx.onAdd,
211
- type: "primary",
212
- preIcon: "ant-design:plus"
213
- }, {
214
- default: withCtx(() => [
215
- createTextVNode("\u65B0\u589E")
216
- ]),
217
- _: 1
218
- }, 8, ["onClick"]),
219
- createVNode(_component_a_button, {
220
- onClick: _ctx.onShowCustomButton,
221
- type: "primary",
222
- preIcon: "ant-design:highlight"
223
- }, {
224
- default: withCtx(() => [
225
- createTextVNode("\u81EA\u5B9A\u4E49\u6309\u94AE")
226
- ]),
227
- _: 1
228
- }, 8, ["onClick"]),
229
- createVNode(_component_a_button, {
230
- onClick: _ctx.onShowEnhanceJs,
231
- type: "primary",
232
- preIcon: "ant-design:strikethrough"
233
- }, {
234
- default: withCtx(() => [
235
- createTextVNode("JS\u589E\u5F3A")
236
- ]),
237
- _: 1
238
- }, 8, ["onClick"]),
239
- createVNode(_component_a_button, {
240
- onClick: _ctx.onShowEnhanceSql,
241
- type: "primary",
242
- preIcon: "ant-design:filter"
243
- }, {
244
- default: withCtx(() => [
245
- createTextVNode(" SQL\u589E\u5F3A ")
246
- ]),
247
- _: 1
248
- }, 8, ["onClick"]),
249
- createVNode(_component_a_button, {
250
- onClick: _ctx.onShowEnhanceJava,
251
- type: "primary",
252
- preIcon: "ant-design:tool"
253
- }, {
254
- default: withCtx(() => [
255
- createTextVNode("JAVA\u589E\u5F3A")
256
- ]),
257
- _: 1
258
- }, 8, ["onClick"]),
259
- createVNode(_component_a_button, {
260
- onClick: _ctx.onImportDbTable,
261
- type: "primary",
262
- preIcon: "ant-design:database"
263
- }, {
264
- default: withCtx(() => [
265
- createTextVNode("\u5BFC\u5165\u6570\u636E\u5E93\u8868")
266
- ]),
267
- _: 1
268
- }, 8, ["onClick"]),
269
- createVNode(_component_a_button, {
270
- onClick: _ctx.onGenerateCode,
271
- type: "primary",
272
- preIcon: "bx:bx-code-alt"
273
- }, {
274
- default: withCtx(() => [
275
- createTextVNode(" \u4EE3\u7801\u751F\u6210 ")
276
- ]),
277
- _: 1
278
- }, 8, ["onClick"]),
279
- _ctx.selectedRowKeys.length > 0 ? (openBlock(), createBlock(_component_a_dropdown, { key: 0 }, {
280
- overlay: withCtx(() => [
281
- createVNode(_component_a_menu, null, {
282
- default: withCtx(() => [
283
- createVNode(_component_a_menu_item, {
284
- key: "1",
285
- onClick: _ctx.onDeleteBatch
286
- }, {
287
- default: withCtx(() => [
288
- createVNode(_component_a_icon, { type: "delete" }),
289
- _hoisted_1
290
- ]),
291
- _: 1
292
- }, 8, ["onClick"])
293
- ]),
294
- _: 1
295
- })
296
- ]),
297
- default: withCtx(() => [
298
- createVNode(_component_a_button, null, {
299
- default: withCtx(() => [
300
- _hoisted_2,
301
- createVNode(_component_a_icon, { type: "down" })
302
- ]),
303
- _: 1
304
- })
305
- ]),
306
- _: 1
307
- })) : createCommentVNode("", true)
308
- ]),
309
- dbSync: withCtx(({ text }) => [
310
- text === "Y" ? (openBlock(), createElementBlock("span", _hoisted_3, "\u5DF2\u540C\u6B65")) : createCommentVNode("", true),
311
- text === "N" ? (openBlock(), createElementBlock("span", _hoisted_4, "\u672A\u540C\u6B65")) : createCommentVNode("", true)
312
- ]),
313
- action: withCtx(({ record }) => [
314
- createVNode(_component_TableAction, {
315
- actions: _ctx.getTableAction(record),
316
- dropDownActions: _ctx.getDropDownAction(record)
317
- }, null, 8, ["actions", "dropDownActions"])
318
- ]),
319
- _: 1
320
- }, 16, ["onRegister", "rowSelection"])
321
- ], 2),
322
- createVNode(_component_CgformModal, {
323
- onRegister: _ctx.registerCgformModal,
324
- onSuccess: _ctx.reload
325
- }, null, 8, ["onRegister", "onSuccess"]),
326
- createVNode(_component_DbToOnlineModal, {
327
- onRegister: _ctx.registerDbToOnlineModal,
328
- onSuccess: _ctx.reload
329
- }, null, 8, ["onRegister", "onSuccess"]),
330
- createVNode(_component_CodeGeneratorModal, { onRegister: _ctx.registerCodeGeneratorModal }, null, 8, ["onRegister"]),
331
- createVNode(_component_CustomButtonList, { onRegister: _ctx.registerCustomButtonModal }, null, 8, ["onRegister"]),
332
- createVNode(_component_EnhanceJsModal, { onRegister: _ctx.registerEnhanceJsModal }, null, 8, ["onRegister"]),
333
- createVNode(_component_EnhanceJavaModal, { onRegister: _ctx.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
334
- createVNode(_component_EnhanceSqlModal, { onRegister: _ctx.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
335
- createVNode(_component_AuthManagerDrawer, { onRegister: _ctx.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
336
- createVNode(_component_AuthSetterModal, { onRegister: _ctx.registerAuthSetterModal }, null, 8, ["onRegister"])
337
- ], 64);
338
- }
339
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
340
- export { index as default };