@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
@@ -0,0 +1,104 @@
1
+ var J = Object.defineProperty, E = Object.defineProperties;
2
+ var $ = Object.getOwnPropertyDescriptors;
3
+ var f = Object.getOwnPropertySymbols;
4
+ var v = Object.prototype.hasOwnProperty, y = Object.prototype.propertyIsEnumerable;
5
+ var d = (n, t, e) => t in n ? J(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e, g = (n, t) => {
6
+ for (var e in t || (t = {}))
7
+ v.call(t, e) && d(n, e, t[e]);
8
+ if (f)
9
+ for (var e of f(t))
10
+ y.call(t, e) && d(n, e, t[e]);
11
+ return n;
12
+ }, m = (n, t) => E(n, $(t));
13
+ var u = (n, t, e) => new Promise((a, r) => {
14
+ var l = (o) => {
15
+ try {
16
+ i(e.next(o));
17
+ } catch (h) {
18
+ r(h);
19
+ }
20
+ }, c = (o) => {
21
+ try {
22
+ i(e.throw(o));
23
+ } catch (h) {
24
+ r(h);
25
+ }
26
+ }, i = (o) => o.done ? a(o.value) : Promise.resolve(o.value).then(l, c);
27
+ i((e = e.apply(n, t)).next());
28
+ });
29
+ import { defHttp as s } from "/@/utils/http/axios";
30
+ import { isArray as p } from "/@/utils/is";
31
+ function b(n, t, e) {
32
+ return u(this, null, function* () {
33
+ let { success: a, result: r } = yield s.get(
34
+ {
35
+ url: "/online/cgform/head/enhanceJs/" + n,
36
+ params: m(g({}, e), {
37
+ type: t
38
+ })
39
+ },
40
+ { isTransformResponse: !1 }
41
+ );
42
+ return a || (r = { cgJs: "" }), r;
43
+ });
44
+ }
45
+ const q = (n, t, e) => {
46
+ let a = `/online/cgform/head/enhanceJs/${n}`;
47
+ return e ? s.put({ url: a, params: t }, { successMessageMode: "none" }) : s.post({ url: a, params: t }, { successMessageMode: "none" });
48
+ };
49
+ function w(n, t) {
50
+ return u(this, null, function* () {
51
+ let e = yield s.get({ url: "/online/cgform/head/enhanceButton/" + n }, { isTransformResponse: !1 }), a = [];
52
+ e.success && p(e.result) && (a = e.result.filter((c) => c.optType == "action"));
53
+ let r = `/online/cgform/head/enhanceJava/${n}`, l = yield s.get({ url: r, params: t });
54
+ return { btnList: a, dataSource: l };
55
+ });
56
+ }
57
+ function R(n) {
58
+ return s.delete(
59
+ {
60
+ url: "/online/cgform/head/deleteBatchEnhanceJava",
61
+ params: {
62
+ ids: n.join(",")
63
+ }
64
+ },
65
+ { joinParamsToUrl: !0 }
66
+ );
67
+ }
68
+ const j = (n, t, e) => {
69
+ let a = `/online/cgform/head/enhanceJava/${n}`;
70
+ return e ? s.put({ url: a, params: t }) : s.post({ url: a, params: t });
71
+ };
72
+ function M(n, t) {
73
+ return u(this, null, function* () {
74
+ let e = yield s.get({ url: "/online/cgform/head/enhanceButton/" + n }, { isTransformResponse: !1 }), a = [];
75
+ e.success && p(e.result) && (a = e.result.filter((c) => c.optType == "action"));
76
+ let r = `/online/cgform/head/enhanceSql/${n}`, l = yield s.get({ url: r, params: t });
77
+ return { btnList: a, dataSource: l };
78
+ });
79
+ }
80
+ function C(n) {
81
+ return s.delete(
82
+ {
83
+ url: "/online/cgform/head/deletebatchEnhanceSql",
84
+ params: {
85
+ ids: n.join(",")
86
+ }
87
+ },
88
+ { joinParamsToUrl: !0 }
89
+ );
90
+ }
91
+ const D = (n, t, e) => {
92
+ let a = `/online/cgform/head/enhanceSql/${n}`;
93
+ return e ? s.put({ url: a, params: t }) : s.post({ url: a, params: t });
94
+ };
95
+ export {
96
+ w as a,
97
+ j as b,
98
+ M as c,
99
+ R as d,
100
+ D as e,
101
+ C as f,
102
+ b as g,
103
+ q as s
104
+ };
@@ -0,0 +1,175 @@
1
+ import { computed as n } from "vue";
2
+ import { o as u } from "./cgform.data-cbdd88c3.mjs";
3
+ function d(l) {
4
+ return { columns: [
5
+ {
6
+ title: "页面按钮",
7
+ align: "center",
8
+ dataIndex: "buttonCode",
9
+ customRender: ({ text: e }) => o(e, l.value)
10
+ },
11
+ {
12
+ title: "事件状态",
13
+ align: "center",
14
+ dataIndex: "event",
15
+ customRender: ({ text: e }) => e == "start" ? "开始" : "结束"
16
+ },
17
+ {
18
+ title: "类型",
19
+ align: "center",
20
+ dataIndex: "cgJavaType",
21
+ customRender: ({ text: e }) => e == "spring" ? "spring-key" : e === "class" ? "java-class" : e === "http" ? "http-api" : e
22
+ },
23
+ {
24
+ title: "内容",
25
+ align: "center",
26
+ dataIndex: "cgJavaValue"
27
+ },
28
+ {
29
+ title: "是否生效",
30
+ align: "center",
31
+ dataIndex: "activeStatus",
32
+ customRender: ({ text: e }) => e == "1" ? "有效" : "无效"
33
+ }
34
+ ] };
35
+ }
36
+ function i(l) {
37
+ return { formSchemas: n(() => [
38
+ {
39
+ label: "页面按钮",
40
+ field: "buttonCode",
41
+ component: "Select",
42
+ componentProps: {
43
+ options: [
44
+ { label: "新增", value: "add" },
45
+ { label: "编辑", value: "edit" },
46
+ { label: "删除", value: "delete" },
47
+ { label: "导入", value: "import" },
48
+ { label: "导出", value: "export" },
49
+ { label: "查询", value: "query" },
50
+ ...l.value.map((e) => ({ label: e.buttonName, value: e.buttonCode }))
51
+ ]
52
+ },
53
+ defaultValue: "add"
54
+ },
55
+ {
56
+ label: "事件状态",
57
+ field: "event",
58
+ component: "RadioButtonGroup",
59
+ componentProps: {
60
+ options: [
61
+ { label: "开始", value: "start" },
62
+ { label: "结束", value: "end" }
63
+ ]
64
+ },
65
+ defaultValue: "end"
66
+ },
67
+ {
68
+ label: "类型",
69
+ field: "cgJavaType",
70
+ component: "RadioButtonGroup",
71
+ componentProps: {
72
+ options: [
73
+ { label: "spring-key", value: "spring" },
74
+ { label: "java-class", value: "class" },
75
+ { label: "http-api", value: "http" }
76
+ ]
77
+ },
78
+ defaultValue: "spring"
79
+ },
80
+ {
81
+ label: "内容",
82
+ field: "cgJavaValue",
83
+ component: "Input",
84
+ required: !0
85
+ },
86
+ {
87
+ label: "是否生效",
88
+ field: "activeStatus",
89
+ component: "RadioButtonGroup",
90
+ componentProps: {
91
+ options: [
92
+ { label: "有效", value: "1" },
93
+ { label: "无效", value: "0" }
94
+ ]
95
+ },
96
+ defaultValue: "1"
97
+ }
98
+ ]) };
99
+ }
100
+ function c(l) {
101
+ return { columns: [
102
+ {
103
+ title: "页面按钮",
104
+ align: "center",
105
+ dataIndex: "buttonCode",
106
+ customRender: ({ text: e }) => o(e, l.value)
107
+ },
108
+ {
109
+ title: "增强SQL",
110
+ align: "center",
111
+ dataIndex: "cgbSql",
112
+ ellipsis: !0
113
+ }
114
+ ] };
115
+ }
116
+ function p(l) {
117
+ return { formSchemas: n(() => [
118
+ {
119
+ label: "页面按钮",
120
+ field: "buttonCode",
121
+ component: "Select",
122
+ componentProps: {
123
+ options: [
124
+ { label: "新增", value: "add" },
125
+ { label: "编辑", value: "edit" },
126
+ { label: "删除", value: "delete" },
127
+ ...l.value.map((e) => ({ label: e.buttonName, value: e.buttonCode }))
128
+ ]
129
+ },
130
+ defaultValue: "add"
131
+ },
132
+ {
133
+ label: "增强SQL",
134
+ field: "cgbSql",
135
+ component: "JCodeEditor",
136
+ componentProps: {
137
+ language: "sql",
138
+ placeholder: "请输入SQL语句",
139
+ languageChange: !1,
140
+ lineNumbers: !1,
141
+ fullScreen: !0,
142
+ height: "320px"
143
+ },
144
+ defaultValue: ""
145
+ },
146
+ {
147
+ label: "描述",
148
+ field: "content",
149
+ component: "InputTextArea",
150
+ defaultValue: ""
151
+ }
152
+ ]) };
153
+ }
154
+ function o(l, t) {
155
+ let e = l;
156
+ for (let a of u)
157
+ if (a.code === l) {
158
+ e = a.title;
159
+ break;
160
+ }
161
+ if (!e) {
162
+ for (let a of t)
163
+ if (a.buttonCode === l) {
164
+ e = a.buttonName;
165
+ break;
166
+ }
167
+ }
168
+ return e;
169
+ }
170
+ export {
171
+ d as a,
172
+ p as b,
173
+ c,
174
+ i as u
175
+ };
@@ -0,0 +1,236 @@
1
+ var L = (U, f, s) => new Promise((h, p) => {
2
+ var k = (i) => {
3
+ try {
4
+ n(s.next(i));
5
+ } catch (u) {
6
+ p(u);
7
+ }
8
+ }, g = (i) => {
9
+ try {
10
+ n(s.throw(i));
11
+ } catch (u) {
12
+ p(u);
13
+ }
14
+ }, n = (i) => i.done ? h(i.value) : Promise.resolve(i.value).then(k, g);
15
+ n((s = s.apply(U, f)).next());
16
+ });
17
+ import { defineComponent as E, resolveComponent as m, openBlock as S, createElementBlock as M, createVNode as r, unref as c, mergeProps as V, withCtx as a, createTextVNode as C, createBlock as q, createCommentVNode as F } from "vue";
18
+ import { BasicTable as K, TableAction as Q } from "/@/components/Table";
19
+ import { useListPage as H } from "/@/hooks/system/useListPage";
20
+ import { l as j, c as z, s as G, _ as J, b as W, g as X, d as Y } from "./CgreportModal.vue_vue_type_script_setup_true_lang-52dcec5e.mjs";
21
+ import { useModal as Z } from "/@/components/Modal";
22
+ import R from "clipboard";
23
+ import { useRouter as ee } from "vue-router";
24
+ import { buildUUID as te } from "/@/utils/uuid";
25
+ import "/@/components/Form/index";
26
+ import "/@/hooks/system/useJvxeMethods.ts";
27
+ import "/@/components/jeecg/JVxeTable/types";
28
+ import "/@/views/system/user/user.api";
29
+ import "/@/utils/http/axios";
30
+ import "/@/hooks/web/useMessage";
31
+ const ge = /* @__PURE__ */ E({
32
+ __name: "index",
33
+ setup(U, { expose: f }) {
34
+ let s = ee();
35
+ const [h, { openModal: p }] = Z(), {
36
+ prefixCls: k,
37
+ tableContext: g,
38
+ createMessage: n,
39
+ createConfirm: i
40
+ } = H({
41
+ designScope: "online-cgreport-list",
42
+ pagination: !0,
43
+ tableProps: {
44
+ title: "Online报表",
45
+ api: j,
46
+ rowKey: "id",
47
+ columns: z,
48
+ formConfig: {
49
+ autoSubmitOnEnter: !0,
50
+ showAdvancedButton: !0,
51
+ schemas: G
52
+ }
53
+ }
54
+ }), [u, { reload: b }, { rowSelection: T, selectedRowKeys: w }] = g;
55
+ function x() {
56
+ p(!0, {
57
+ isUpdate: !1,
58
+ showFooter: !0
59
+ });
60
+ }
61
+ function $(t) {
62
+ p(!0, {
63
+ record: t,
64
+ isUpdate: !0,
65
+ showFooter: !0
66
+ });
67
+ }
68
+ function P(t) {
69
+ return L(this, null, function* () {
70
+ yield Y({ id: t.id }, b);
71
+ });
72
+ }
73
+ function A() {
74
+ return L(this, null, function* () {
75
+ yield W({ ids: w.value }, () => {
76
+ b(), w.value = [];
77
+ });
78
+ });
79
+ }
80
+ function D() {
81
+ b();
82
+ }
83
+ function B(t) {
84
+ return [
85
+ {
86
+ label: "编辑",
87
+ onClick: $.bind(null, t)
88
+ }
89
+ ];
90
+ }
91
+ function v(t) {
92
+ return [
93
+ {
94
+ label: "功能测试",
95
+ class: ["low-app-hide"],
96
+ onClick: () => I(t.id)
97
+ },
98
+ {
99
+ label: "配置地址",
100
+ class: ["low-app-hide"],
101
+ onClick: () => O(t)
102
+ },
103
+ {
104
+ label: "删除",
105
+ popConfirm: {
106
+ title: "是否确认删除",
107
+ confirm: P.bind(null, t)
108
+ }
109
+ }
110
+ ];
111
+ }
112
+ function I(t) {
113
+ s.push({ path: "/online/cgreport/" + t });
114
+ }
115
+ function O(t) {
116
+ let y = t.id, l = `/online/cgreport/${y}`, d = `INSERT INTO sys_permission(id, parent_id, name, url, component, component_name, redirect, menu_type, perms, perms_type, sort_no, always_show, icon, is_route, is_leaf, keep_alive, hidden, hide_tab, description, status, del_flag, rule_flag, create_by, create_time, update_by, update_time, internal_or_external)
117
+ VALUES ('${te()}', NULL, '${t.name}', '${l}', '1', NULL, NULL, 0, NULL, '1', 0.00, 0, NULL, 0, 1, 0, 0, 0, NULL, '1', 0, 0, 'admin', null, NULL, NULL, 0)`;
118
+ X(y).then((o) => {
119
+ let e = "";
120
+ if (o && o.length > 0)
121
+ for (let _ of o)
122
+ e += _.paramName + "=${" + _.paramName + "}&";
123
+ e.length > 0 && (e = e.substring(0, e.length - 1), l += "?" + e);
124
+ }).catch(() => {
125
+ n.warning("获取参数失败!");
126
+ }).finally(() => {
127
+ i({
128
+ iconType: "info",
129
+ width: 500,
130
+ title: `菜单链接【${t.name}】`,
131
+ content: l,
132
+ closable: !0,
133
+ maskClosable: !0,
134
+ cancelText: "复制SQL",
135
+ okText: "复制URL",
136
+ cancelButtonProps: {
137
+ class: "copy-this-sql",
138
+ "data-clipboard-text": d
139
+ },
140
+ okButtonProps: {
141
+ class: "copy-this-text",
142
+ "data-clipboard-text": l
143
+ },
144
+ onOk() {
145
+ return new Promise((o) => {
146
+ const e = new R(".copy-this-text");
147
+ e.on("success", () => {
148
+ e.destroy(), n.success("复制URL成功"), o();
149
+ }), e.on("error", () => {
150
+ n.error("该浏览器不支持自动复制"), e.destroy(), o();
151
+ });
152
+ });
153
+ },
154
+ onCancel() {
155
+ return new Promise((o) => {
156
+ const e = new R(".copy-this-sql");
157
+ e.on("success", () => {
158
+ e.destroy(), n.success("复制插入菜单SQL成功"), o();
159
+ }), e.on("error", () => {
160
+ n.error("该浏览器不支持自动复制"), e.destroy(), o();
161
+ });
162
+ });
163
+ }
164
+ });
165
+ });
166
+ }
167
+ return f({
168
+ handleAdd: x
169
+ }), (t, y) => {
170
+ const l = m("a-button"), d = m("Icon"), o = m("a-menu-item"), e = m("a-menu"), _ = m("a-dropdown");
171
+ return S(), M("div", null, [
172
+ r(c(K), V({
173
+ onRegister: c(u),
174
+ rowSelection: c(T)
175
+ }, t.$attrs), {
176
+ tableTitle: a(() => [
177
+ r(l, {
178
+ preIcon: "ant-design:plus-outlined",
179
+ type: "primary",
180
+ onClick: x,
181
+ style: { "margin-right": "5px" }
182
+ }, {
183
+ default: a(() => [
184
+ C("录入")
185
+ ]),
186
+ _: 1
187
+ }),
188
+ c(w).length > 0 ? (S(), q(_, { key: 0 }, {
189
+ overlay: a(() => [
190
+ r(e, null, {
191
+ default: a(() => [
192
+ r(o, {
193
+ key: "1",
194
+ onClick: A
195
+ }, {
196
+ default: a(() => [
197
+ r(d, { icon: "ant-design:delete-outlined" }),
198
+ C(" 删除 ")
199
+ ]),
200
+ _: 1
201
+ })
202
+ ]),
203
+ _: 1
204
+ })
205
+ ]),
206
+ default: a(() => [
207
+ r(l, null, {
208
+ default: a(() => [
209
+ C("批量操作 "),
210
+ r(d, { icon: "mdi:chevron-down" })
211
+ ]),
212
+ _: 1
213
+ })
214
+ ]),
215
+ _: 1
216
+ })) : F("", !0)
217
+ ]),
218
+ action: a(({ record: N }) => [
219
+ r(c(Q), {
220
+ actions: B(N),
221
+ dropDownActions: v(N)
222
+ }, null, 8, ["actions", "dropDownActions"])
223
+ ]),
224
+ _: 1
225
+ }, 16, ["onRegister", "rowSelection"]),
226
+ r(J, {
227
+ onRegister: c(h),
228
+ onSuccess: D
229
+ }, null, 8, ["onRegister"])
230
+ ]);
231
+ };
232
+ }
233
+ });
234
+ export {
235
+ ge as default
236
+ };
@@ -0,0 +1,58 @@
1
+ import m from "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
2
+ import { defineComponent as u, resolveComponent as l, openBlock as a, createElementBlock as v, createVNode as f, defineAsyncComponent as s } from "vue";
3
+ import { useMessage as g } from "/@/hooks/web/useMessage";
4
+ import { useRoute as d } from "vue-router";
5
+ const w = u({
6
+ name: "OnlCgReportList",
7
+ components: {
8
+ JPopupOnlReport: m
9
+ },
10
+ setup(e, { emit: r, refs: o }) {
11
+ g();
12
+ const t = d().path;
13
+ return {
14
+ id: t.substr(t.lastIndexOf("/") + 1)
15
+ };
16
+ }
17
+ }), h = (e, r) => {
18
+ const o = e.__vccOpts || e;
19
+ for (const [n, t] of r)
20
+ o[n] = t;
21
+ return o;
22
+ }, b = { class: "p-2" };
23
+ function O(e, r, o, n, t, c) {
24
+ const p = l("JPopupOnlReport");
25
+ return a(), v("div", b, [
26
+ f(p, {
27
+ id: e.id,
28
+ clickToRowSelect: !1
29
+ }, null, 8, ["id"])
30
+ ]);
31
+ }
32
+ const i = /* @__PURE__ */ h(w, [["render", O]]), C = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
33
+ __proto__: null,
34
+ default: i
35
+ }, Symbol.toStringTag, { value: "Module" }));
36
+ console.log("node_modules import.meta: ", import.meta);
37
+ const x = {
38
+ /**
39
+ * 注册组件
40
+ */
41
+ install(e, r) {
42
+ e.provide("baseImport", r.baseImport), e.component("OnlCgReportList", i);
43
+ const o = s(() => import("./JOnlineSearchSelect-5608a5cf.mjs"));
44
+ e.component("JOnlineSearchSelect", o);
45
+ const n = s(() => import("./SuperQuery-3821f984.mjs"));
46
+ e.component("SuperQuery", n), console.log("--- online init ----");
47
+ },
48
+ getViews() {
49
+ return /* @__PURE__ */ Object.assign({ "./src/views/super/online/cgform/CgformCopyList.vue": () => import("./CgformCopyList-3adab58f.mjs"), "./src/views/super/online/cgform/auto/comp/JOnlineSearchSelect.vue": () => import("./JOnlineSearchSelect-5608a5cf.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineForm.vue": () => import("./OnlineForm-630a22c2.mjs").then((e) => e.a), "./src/views/super/online/cgform/auto/comp/OnlineFormDetail.vue": () => import("./OnlineFormDetail-1b216792.mjs"), "./src/views/super/online/cgform/auto/comp/OnlinePopForm.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.s), "./src/views/super/online/cgform/auto/comp/OnlinePopListModal.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.w), "./src/views/super/online/cgform/auto/comp/OnlinePopModal.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.t), "./src/views/super/online/cgform/auto/comp/OnlineQueryForm.vue": () => import("./OnlineQueryForm-1c5949a7.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSearchFormItem.vue": () => import("./OnlineSearchFormItem-7c2ea9ed.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSelectCascade.vue": () => import("./OnlineSelectCascade-c7baf52b.mjs"), "./src/views/super/online/cgform/auto/comp/OnlineSubForm.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.r), "./src/views/super/online/cgform/auto/comp/OnlineSubFormDetail.vue": () => import("./OnlineSubFormDetail-0aa4966c.mjs"), "./src/views/super/online/cgform/auto/comp/ProcessOnlineForm.vue": () => import("./ProcessOnlineForm-27be6f6f.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQuery.vue": () => import("./SuperQuery-3821f984.mjs"), "./src/views/super/online/cgform/auto/comp/superquery/SuperQueryValComponent.vue": () => import("./SuperQueryValComponent-471110b5.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoList.vue": () => import("./OnlineAutoList-85e6a30d.mjs"), "./src/views/super/online/cgform/auto/default/OnlineAutoModal.vue": () => import("./OnlineAutoModal-2a146238.mjs"), "./src/views/super/online/cgform/auto/default/OnlineCustomModal.vue": () => import("./OnlineCustomModal-456a85a6.mjs"), "./src/views/super/online/cgform/auto/default/OnlineDetailModal.vue": () => import("./OnlineDetailModal-f967f080.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpList.vue": () => import("./OnlCgformErpList-7a0388d8.mjs"), "./src/views/super/online/cgform/auto/erp/OnlCgformErpSubTable.vue": () => import("./OnlCgformErpSubTable-fc6ade76.mjs"), "./src/views/super/online/cgform/auto/tree/OnlineAutoTreeList.vue": () => import("./OnlineAutoTreeList-f8d0e100.mjs"), "./src/views/super/online/cgform/components/CgformModal.vue": () => import("./CgformModal-6938d8c2.mjs").then((e) => e.h), "./src/views/super/online/cgform/components/CodeFileListModal.vue": () => import("./CodeFileListModal-4831ce3d.mjs"), "./src/views/super/online/cgform/components/CodeFileViewModal.vue": () => import("./CodeFileViewModal-5990dac4.mjs"), "./src/views/super/online/cgform/components/CodeGeneratorModal.vue": () => import("./CodeGeneratorModal-7df9e25d.mjs"), "./src/views/super/online/cgform/components/DbToOnlineModal.vue": () => import("./DbToOnlineModal-dc5d2030.mjs"), "./src/views/super/online/cgform/components/ExtendConfigModal.vue": () => import("./ExtendConfigModal-60f2cf86.mjs"), "./src/views/super/online/cgform/components/FileSelectModal.vue": () => import("./FileSelectModal-64aaf623.mjs"), "./src/views/super/online/cgform/components/auth/AuthManagerDrawer.vue": () => import("./AuthManagerDrawer-f127b8a2.mjs"), "./src/views/super/online/cgform/components/auth/AuthSetterModal.vue": () => import("./AuthSetterModal-37da78ed.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthButtonConfig.vue": () => import("./AuthButtonConfig-2f71787c.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthDataConfig.vue": () => import("./AuthDataConfig-32cf23d2.mjs"), "./src/views/super/online/cgform/components/auth/manager/AuthFieldConfig.vue": () => import("./AuthFieldConfig-b1217a0c.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthButtonTree.vue": () => import("./AuthButtonTree-d73bccf5.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthDataTree.vue": () => import("./AuthDataTree-03d62d3f.mjs"), "./src/views/super/online/cgform/components/auth/setter/AuthFieldTree.vue": () => import("./AuthFieldTree-888e04a9.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftDepart.vue": () => import("./LeftDepart-ca7a7375.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftRole.vue": () => import("./LeftRole-d0fa8398.mjs"), "./src/views/super/online/cgform/components/auth/setter/LeftUser.vue": () => import("./LeftUser-0c88c240.mjs"), "./src/views/super/online/cgform/components/button/CustomButtonList.vue": () => import("./CustomButtonList-1c9bd859.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJavaModal.vue": () => import("./EnhanceJavaModal-7f53d2ca.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceJsHistory.vue": () => import("./EnhanceJsHistory-c30805ce.mjs").then((e) => e.a), "./src/views/super/online/cgform/components/enhance/EnhanceJsModal.vue": () => import("./EnhanceJsModal-0b133341.mjs"), "./src/views/super/online/cgform/components/enhance/EnhanceSqlModal.vue": () => import("./EnhanceSqlModal-33a94c83.mjs"), "./src/views/super/online/cgform/components/tables/CheckDictTable.vue": () => import("./CheckDictTable-414313f2.mjs"), "./src/views/super/online/cgform/components/tables/DBAttributeTable.vue": () => import("./DBAttributeTable-cd1c41e5.mjs"), "./src/views/super/online/cgform/components/tables/ForeignKeyTable.vue": () => import("./ForeignKeyTable-cb1abd1d.mjs"), "./src/views/super/online/cgform/components/tables/IndexTable.vue": () => import("./IndexTable-4e94cd1f.mjs"), "./src/views/super/online/cgform/components/tables/PageAttributeTable.vue": () => import("./PageAttributeTable-811185fd.mjs"), "./src/views/super/online/cgform/components/tables/QueryTable.vue": () => import("./QueryTable-4ba771ef.mjs"), "./src/views/super/online/cgform/extend/FieldExtendJsonModal.vue": () => import("./FieldExtendJsonModal-48f7d67f.mjs"), "./src/views/super/online/cgform/extend/form/DetailForm.vue": () => import("./DetailForm-e4538e7a.mjs"), "./src/views/super/online/cgform/extend/linkTable/JModalTip.vue": () => import("./JModalTip-abe1515a.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableCard.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.x), "./src/views/super/online/cgform/extend/linkTable/LinkTableConfigModal.vue": () => import("./LinkTableConfigModal-77d7c0b9.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableFieldConfigModal.vue": () => import("./LinkTableFieldConfigModal-c5689ab0.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableListPiece.vue": () => import("./LinkTableListPiece-34266919.mjs"), "./src/views/super/online/cgform/extend/linkTable/LinkTableSelect.vue": () => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.v), "./src/views/super/online/cgform/index.vue": () => import("./index-9d32ae88.mjs"), "./src/views/super/online/cgreport/auto/OnlCgReportList.vue": () => Promise.resolve().then(() => C), "./src/views/super/online/cgreport/components/CgreportModal.vue": () => import("./CgreportModal-77ec8c17.mjs"), "./src/views/super/online/cgreport/demo/ModalFormDemo.vue": () => import("./ModalFormDemo-0eeea994.mjs"), "./src/views/super/online/cgreport/index.vue": () => import("./index-074b92e5.mjs") });
50
+ }
51
+ }, _ = s(() => import("./OnlineSelectCascade-c7baf52b.mjs")), k = s(() => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.x)), F = s(() => import("./useExtendComponent-48d37d9b.mjs").then((e) => e.v));
52
+ export {
53
+ k as L,
54
+ _ as O,
55
+ h as _,
56
+ F as a,
57
+ x as i
58
+ };