@jeecg/online 3.7.1-RC → 3.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/AccountLoginForm-d2fed52f.mjs +254 -0
  2. package/AiModal-fbe4b68a.mjs +84 -0
  3. package/AppForgetPassword-3b3bec82.mjs +310 -0
  4. package/AppLogin-cd2e2a87.mjs +287 -0
  5. package/AppLoginHeader-9b5be678.mjs +27 -0
  6. package/AppNameEmail-b4e32ae8.mjs +180 -0
  7. package/AppRegister-7117b66a.mjs +303 -0
  8. package/AppTenant-5817729b.mjs +373 -0
  9. package/AppThirdForm-d14fb5e5.mjs +189 -0
  10. package/AuthButtonConfig-5e3b6d72.mjs +156 -0
  11. package/AuthButtonTree-7b4ec967.mjs +165 -0
  12. package/{AuthDataConfig-5c3a8e6b.mjs → AuthDataConfig-48ee9228.mjs} +23 -23
  13. package/{AuthDataTree-dd7a1240.mjs → AuthDataTree-02b3ba05.mjs} +43 -43
  14. package/{AuthFieldConfig-9f6fa06c.mjs → AuthFieldConfig-562cc6b6.mjs} +71 -71
  15. package/AuthFieldTree-2d458c0c.mjs +232 -0
  16. package/{AuthManagerDrawer-76f15e8d.mjs → AuthManagerDrawer-38299230.mjs} +6 -6
  17. package/{AuthSetterModal-f5d2e87f.mjs → AuthSetterModal-78b06703.mjs} +9 -9
  18. package/BuiltInButtonList-bb6cf95c.mjs +10 -0
  19. package/BuiltInButtonList.vue_vue_type_script_setup_true_lang-07d0b7d0.mjs +338 -0
  20. package/CgformAddressModal-1b9cbe19.mjs +260 -0
  21. package/CgformCopyList-580bba0f.mjs +252 -0
  22. package/{CgformModal-21c5c387.mjs → CgformModal-12951453.mjs} +190 -194
  23. package/{CgreportModal-edefa8e3.mjs → CgreportModal-bfeb93ed.mjs} +181 -168
  24. package/{CheckDictTable-1bc8322d.mjs → CheckDictTable-3c1e59e0.mjs} +3 -3
  25. package/CodeFileListModal-71752603.mjs +159 -0
  26. package/{CodeFileViewModal-2fe911f4.mjs → CodeFileViewModal-eb803769.mjs} +66 -66
  27. package/CodeGeneratorModal-2fe1e920.mjs +281 -0
  28. package/CustomButtonList-22b5cdb3.mjs +274 -0
  29. package/{DBAttributeTable-285d40db.mjs → DBAttributeTable-eb25565c.mjs} +3 -3
  30. package/{DbToOnlineModal-5dcb67c3.mjs → DbToOnlineModal-049b4bbd.mjs} +53 -54
  31. package/{DetailForm-deecbf3d.mjs → DetailForm-c127c27f.mjs} +5 -5
  32. package/DropMenuItem-b1a8f47d.mjs +44 -0
  33. package/{EnhanceJavaModal-45c66cd5.mjs → EnhanceJavaModal-1a4d696b.mjs} +62 -62
  34. package/{EnhanceJsHistory-fab3102e.mjs → EnhanceJsHistory-48cf43ad.mjs} +35 -35
  35. package/{EnhanceJsModal-175357a1.mjs → EnhanceJsModal-0e1f15f8.mjs} +102 -102
  36. package/{EnhanceSqlModal-7ea1b300.mjs → EnhanceSqlModal-6a1aa471.mjs} +67 -67
  37. package/ErrorTip-bb616e32.mjs +7 -0
  38. package/ErrorTip.vue_vue_type_script_setup_true_lang-49d35987.mjs +60 -0
  39. package/{ExtendConfigModal-a89ae052.mjs → ExtendConfigModal-37af21a5.mjs} +2 -2
  40. package/{FieldExtendJsonModal-32135634.mjs → FieldExtendJsonModal-9441e08e.mjs} +2 -2
  41. package/{FileSelectModal-1643c8b9.mjs → FileSelectModal-04490919.mjs} +23 -23
  42. package/{ForeignKeyTable-7f7e28a7.mjs → ForeignKeyTable-06300a47.mjs} +3 -3
  43. package/{IndexTable-cdcc2b48.mjs → IndexTable-79bddd5c.mjs} +3 -3
  44. package/JModalTip-192fafa1.mjs +49 -0
  45. package/{JOnlineSearchSelect-22aae934.mjs → JOnlineSearchSelect-9abcf657.mjs} +1 -1
  46. package/{LeftDepart-d5615ed9.mjs → LeftDepart-35d78655.mjs} +1 -1
  47. package/LeftRole-9d88976d.mjs +86 -0
  48. package/{LeftUser-22baa378.mjs → LeftUser-04c89aea.mjs} +30 -30
  49. package/{LinkTableConfigModal-9242d750.mjs → LinkTableConfigModal-5f94ef13.mjs} +43 -31
  50. package/{LinkTableFieldConfigModal-24adc50c.mjs → LinkTableFieldConfigModal-40753de5.mjs} +1 -1
  51. package/{LinkTableListPiece-f3a8e0d7.mjs → LinkTableListPiece-179035c7.mjs} +1 -1
  52. package/{ModalFormDemo-711418db.mjs → ModalFormDemo-3a85920c.mjs} +1 -1
  53. package/OnlCgformErpList-8fd15fc1.mjs +488 -0
  54. package/OnlCgformErpSubTable-3515150b.mjs +441 -0
  55. package/{OnlCgformInnerSubTable-6c23781f.mjs → OnlCgformInnerSubTable-13e888c6.mjs} +38 -38
  56. package/OnlCgformInnerTableList-2e8f853c.mjs +474 -0
  57. package/OnlCgformTabList-583ac15f.mjs +424 -0
  58. package/OnlineAutoList-36ec0957.mjs +513 -0
  59. package/OnlineAutoModal-c0743caf.mjs +260 -0
  60. package/OnlineAutoTreeList-1cd718be.mjs +523 -0
  61. package/OnlineCustomModal-661ee850.mjs +232 -0
  62. package/{OnlineDetailModal-d5895734.mjs → OnlineDetailModal-785e848e.mjs} +74 -65
  63. package/OnlineForm-c1fb38eb.mjs +1012 -0
  64. package/{OnlineFormDetail-022ca117.mjs → OnlineFormDetail-50186870.mjs} +7 -7
  65. package/{OnlineFormUrlAdd-9715d70a.mjs → OnlineFormUrlAdd-905bf251.mjs} +9 -9
  66. package/{OnlineFormUrlDetail-8f864b1a.mjs → OnlineFormUrlDetail-a9dd2bfa.mjs} +11 -11
  67. package/{OnlineFormUrlEdit-ac985b36.mjs → OnlineFormUrlEdit-b8941f05.mjs} +9 -9
  68. package/OnlineFormUrlSuccess-ecaf6a21.mjs +59 -0
  69. package/OnlineQueryForm-ca6186a3.mjs +484 -0
  70. package/{OnlineSearchFormItem-6c557343.mjs → OnlineSearchFormItem-5c503a51.mjs} +82 -82
  71. package/{OnlineSelectCascade-05c40fef.mjs → OnlineSelectCascade-a3e686b3.mjs} +1 -1
  72. package/{OnlineSubFormDetail-58e896ce.mjs → OnlineSubFormDetail-be1ad3b9.mjs} +52 -53
  73. package/{OnlineTabAutoModal-47b18ad6.mjs → OnlineTabAutoModal-fb59b573.mjs} +108 -95
  74. package/{OnlineTabDetailModal-82de1465.mjs → OnlineTabDetailModal-4b9c4838.mjs} +36 -36
  75. package/OnlineTabForm-89389384.mjs +814 -0
  76. package/{OnlineTabFormDetail-8d0c40c0.mjs → OnlineTabFormDetail-72173ae4.mjs} +17 -17
  77. package/{PageAttributeTable-25e3b7da.mjs → PageAttributeTable-345b97fe.mjs} +108 -108
  78. package/PhoneLoginForm-8ca7e2d4.mjs +214 -0
  79. package/{ProcessOnlineForm-148632fe.mjs → ProcessOnlineForm-485b5679.mjs} +32 -32
  80. package/{QueryTable-f7bfca7f.mjs → QueryTable-f0a88d78.mjs} +3 -3
  81. package/SetSwitchOptions-cdcb22a1.mjs +62 -0
  82. package/ShareAddView-f713c0a5.mjs +86 -0
  83. package/ShareEditView-691764ad.mjs +92 -0
  84. package/ShareView-df344a8d.mjs +80 -0
  85. package/ShareView.vue_vue_type_script_setup_true_lang-560459c9.mjs +162 -0
  86. package/SingleView-ad0287d6.mjs +68 -0
  87. package/SingleView.vue_vue_type_style_index_0_lang-ce96670b.mjs +131 -0
  88. package/SuperQuery-2b293e3b.mjs +974 -0
  89. package/{SuperQueryValComponent-7ad86d4b.mjs → SuperQueryValComponent-5a9ccfd4.mjs} +1 -1
  90. package/{SuperQueryValComponent.vue_vue_type_script_lang-e9196096.mjs → SuperQueryValComponent.vue_vue_type_script_lang-8fe34917.mjs} +11 -11
  91. package/{auth.api-ea1d33d4.mjs → auth.api-53df4c33.mjs} +17 -17
  92. package/{auth.data-511e5197.mjs → auth.data-626c5083.mjs} +16 -12
  93. package/{cgform.data-475d4984.mjs → cgform.data-0ca62d09.mjs} +4 -1
  94. package/{enhance.data-a67572e1.mjs → enhance.data-6601ff44.mjs} +1 -1
  95. package/index-181f8344.mjs +219 -0
  96. package/index-19eaef11.mjs +11 -0
  97. package/{index-30e0e923.mjs → index-3c7392a4.mjs} +272 -262
  98. package/{index-f30613d1.mjs → index-3ccda826.mjs} +59 -59
  99. package/index-5e89258d.mjs +8 -0
  100. package/index-93341e02.mjs +110 -0
  101. package/index-bef7fe2d.mjs +74 -0
  102. package/index-d6f9ada7.mjs +135 -0
  103. package/index-f3683351.mjs +57 -0
  104. package/main.index.js +1 -1
  105. package/package.json +1 -1
  106. package/shareStore-7de6c7a6.mjs +67 -0
  107. package/style.css +1 -1
  108. package/useCgformList-13c8aab7.mjs +378 -0
  109. package/useExtendComponent-3f5734ca.mjs +4459 -0
  110. package/useListButton-ee23874a.mjs +719 -0
  111. package/{useSchemas-a9c75b0f.mjs → useSchemas-f1819e54.mjs} +72 -39
  112. package/{useTableSync-d7e9f18d.mjs → useTableSync-075826a1.mjs} +1 -1
  113. package/utils-9fce7606.mjs +16 -0
  114. package/AiModal-6de335e3.mjs +0 -84
  115. package/AuthButtonConfig-89763932.mjs +0 -154
  116. package/AuthButtonTree-2d87d0b3.mjs +0 -157
  117. package/AuthFieldTree-e326fc38.mjs +0 -232
  118. package/CgformCopyList-365b3e8f.mjs +0 -251
  119. package/CodeFileListModal-24601898.mjs +0 -159
  120. package/CodeGeneratorModal-f09fe903.mjs +0 -282
  121. package/CustomButtonList-f07bc695.mjs +0 -397
  122. package/JModalTip-b055ab60.mjs +0 -49
  123. package/LeftRole-2ed8a2bf.mjs +0 -86
  124. package/OnlCgformErpList-58acdfa0.mjs +0 -470
  125. package/OnlCgformErpSubTable-9b1e1938.mjs +0 -426
  126. package/OnlCgformInnerTableList-4b5e14ed.mjs +0 -458
  127. package/OnlCgformTabList-019ad753.mjs +0 -408
  128. package/OnlineAutoList-48589d09.mjs +0 -493
  129. package/OnlineAutoModal-c2928847.mjs +0 -239
  130. package/OnlineAutoTreeList-3baa1d00.mjs +0 -503
  131. package/OnlineCustomModal-9e17b6ce.mjs +0 -232
  132. package/OnlineForm-9f1153ba.mjs +0 -985
  133. package/OnlineFormUrlSuccess-3dfc54ab.mjs +0 -59
  134. package/OnlineQueryForm-eedb9a60.mjs +0 -466
  135. package/OnlineTabForm-27655c83.mjs +0 -817
  136. package/SetSwitchOptions-b2af757f.mjs +0 -62
  137. package/SuperQuery-a8592995.mjs +0 -967
  138. package/index-1d1a6e56.mjs +0 -57
  139. package/useCgformList-f41d4dc1.mjs +0 -426
  140. package/useExtendComponent-dcae5c78.mjs +0 -4399
  141. package/useListButton-bfac4ecf.mjs +0 -697
  142. /package/{OnlineForm.vue_vue_type_style_index_0_scoped_4657b304_lang-4ed993c7.mjs → OnlineForm.vue_vue_type_style_index_0_scoped_3f26e7bd_lang-4ed993c7.mjs} +0 -0
@@ -1,157 +0,0 @@
1
- var y = (e, l, a) => new Promise((f, i) => {
2
- var m = (t) => {
3
- try {
4
- u(a.next(t));
5
- } catch (s) {
6
- i(s);
7
- }
8
- }, n = (t) => {
9
- try {
10
- u(a.throw(t));
11
- } catch (s) {
12
- i(s);
13
- }
14
- }, u = (t) => t.done ? f(t.value) : Promise.resolve(t.value).then(m, n);
15
- u((a = a.apply(e, l)).next());
16
- });
17
- import { defineComponent as w, ref as d, computed as A, watch as N, resolveComponent as g, openBlock as v, createElementBlock as E, createBlock as I, Fragment as M, createElementVNode as P, createVNode as k, withCtx as B, createTextVNode as C } from "vue";
18
- import { useMessage as S } from "/@/hooks/web/useMessage";
19
- import { c as R } from "./auth.data-511e5197.mjs";
20
- import { o as V, n as $, p as z } from "./auth.api-ea1d33d4.mjs";
21
- import { _ as L } from "./index-1d1a6e56.mjs";
22
- import "/@/utils/index";
23
- import "/@/utils/http/axios";
24
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
25
- import "vue-router";
26
- const q = w({
27
- name: "AuthButtonTree",
28
- props: {
29
- cgformId: { type: String, required: !0 }
30
- },
31
- setup(e) {
32
- const { createMessage: l } = S(), a = d(""), f = d(2), i = d(!0), m = d([]), n = d([]), u = d([]), t = d(""), s = A(() => !a.value);
33
- N(() => e.cgformId, h, { immediate: !0 });
34
- function h() {
35
- return y(this, null, function* () {
36
- if (!e.cgformId)
37
- return;
38
- let o = yield V(e.cgformId, f.value);
39
- o.forEach((c) => {
40
- for (const p of R)
41
- if (c.code == p.code) {
42
- c.title = p.title;
43
- break;
44
- }
45
- });
46
- let r = [];
47
- for (let c of o) {
48
- let p = T(c);
49
- r.push({ key: c.id, title: p });
50
- }
51
- u.value = r;
52
- });
53
- }
54
- function D() {
55
- h(), _(a.value, t.value);
56
- }
57
- function _(o, r) {
58
- return y(this, null, function* () {
59
- a.value = o, t.value = r, n.value = [], yield h();
60
- let c = yield $({
61
- roleId: o,
62
- cgformId: e.cgformId,
63
- type: f.value,
64
- authMode: r
65
- });
66
- n.value = c.map((p) => p.authId);
67
- });
68
- }
69
- function K() {
70
- a.value = "", h();
71
- }
72
- function x() {
73
- return y(this, null, function* () {
74
- yield z(a.value, e.cgformId, {
75
- authId: JSON.stringify(n.value),
76
- authMode: t.value
77
- }), l.success("保存成功");
78
- });
79
- }
80
- function T(o) {
81
- let r = o.title + "-";
82
- return o.page == 3 ? r += "列表可见" : o.page == 5 && (r += "表单可见"), r;
83
- }
84
- function b(o) {
85
- m.value = o, i.value = !1;
86
- }
87
- function F() {
88
- a.value = "", n.value = [];
89
- }
90
- return {
91
- loadChecked: _,
92
- clear: F,
93
- expandedKeys: m,
94
- autoExpandParent: i,
95
- checkedKeys: n,
96
- treeData: u,
97
- disabled: s,
98
- onSave: x,
99
- onExpand: b,
100
- onRefresh: D,
101
- clearChecked: K
102
- };
103
- }
104
- });
105
- const J = { class: "onl-auth-tree-btns" };
106
- function O(e, l, a, f, i, m) {
107
- const n = g("a-empty"), u = g("a-button"), t = g("a-tree");
108
- return v(), E("div", null, [
109
- e.disabled ? (v(), I(n, {
110
- key: 0,
111
- description: "请先选中左侧角色/部门/用户"
112
- })) : e.treeData.length === 0 ? (v(), I(n, {
113
- key: 1,
114
- description: "无权限信息"
115
- })) : (v(), E(M, { key: 2 }, [
116
- P("div", J, [
117
- k(u, {
118
- onClick: e.onRefresh,
119
- size: "small",
120
- type: "primary",
121
- preIcon: "ant-design:redo",
122
- ghost: ""
123
- }, {
124
- default: B(() => [
125
- C("刷新")
126
- ]),
127
- _: 1
128
- }, 8, ["onClick"]),
129
- k(u, {
130
- onClick: e.onSave,
131
- size: "small",
132
- type: "primary",
133
- preIcon: "ant-design:save",
134
- ghost: ""
135
- }, {
136
- default: B(() => [
137
- C("保存")
138
- ]),
139
- _: 1
140
- }, 8, ["onClick"])
141
- ]),
142
- k(t, {
143
- checkable: "",
144
- checkedKeys: e.checkedKeys,
145
- "onUpdate:checkedKeys": l[0] || (l[0] = (s) => e.checkedKeys = s),
146
- expandedKeys: e.expandedKeys,
147
- autoExpandParent: e.autoExpandParent,
148
- treeData: e.treeData,
149
- onExpand: e.onExpand
150
- }, null, 8, ["checkedKeys", "expandedKeys", "autoExpandParent", "treeData", "onExpand"])
151
- ], 64))
152
- ]);
153
- }
154
- const te = /* @__PURE__ */ L(q, [["render", O], ["__scopeId", "data-v-d165a23e"]]);
155
- export {
156
- te as default
157
- };
@@ -1,232 +0,0 @@
1
- var g = (e, m, u) => new Promise((C, h) => {
2
- var s = (a) => {
3
- try {
4
- o(u.next(a));
5
- } catch (i) {
6
- h(i);
7
- }
8
- }, l = (a) => {
9
- try {
10
- o(u.throw(a));
11
- } catch (i) {
12
- h(i);
13
- }
14
- }, o = (a) => a.done ? C(a.value) : Promise.resolve(a.value).then(s, l);
15
- o((u = u.apply(e, m)).next());
16
- });
17
- import { defineComponent as P, ref as p, computed as R, watch as V, unref as $, resolveComponent as f, openBlock as E, createElementBlock as A, createBlock as b, Fragment as q, createElementVNode as H, createVNode as d, withCtx as v, createTextVNode as k } from "vue";
18
- import { useMessage as J } from "/@/hooks/web/useMessage";
19
- import { m as L, n as j, s as G } from "./auth.api-ea1d33d4.mjs";
20
- import { DownCircleOutlined as Q, HomeOutlined as W, UpCircleOutlined as X, UndoOutlined as Y, CheckOutlined as Z } from "@ant-design/icons-vue";
21
- import { _ as ee } from "./index-1d1a6e56.mjs";
22
- import "/@/utils/http/axios";
23
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
24
- import "vue-router";
25
- const ne = P({
26
- name: "AuthFieldTree",
27
- components: {
28
- DownCircleOutlined: Q,
29
- HomeOutlined: W,
30
- UpCircleOutlined: X,
31
- UndoOutlined: Y,
32
- CheckOutlined: Z
33
- },
34
- props: {
35
- cgformId: { type: String, required: !0 }
36
- },
37
- setup(e) {
38
- const { createMessage: m } = J(), u = p(""), C = p(1), h = p(!0), s = p([]), l = p([]), o = p([]), a = p([]), i = p(""), O = R(() => !u.value);
39
- V(() => e.cgformId, y, { immediate: !0 });
40
- function y() {
41
- return g(this, null, function* () {
42
- if (!e.cgformId)
43
- return;
44
- let n = yield L(e.cgformId, C.value), t = [], c = [];
45
- n.forEach((r) => {
46
- c.includes(r.code) || (c.push(r.code), t.push({ key: r.code, title: r.title }));
47
- });
48
- for (let r of t) {
49
- let I = [];
50
- for (let F of n)
51
- if (r.key === F.code) {
52
- let M = D(F);
53
- I.push({ key: F.id, title: M });
54
- }
55
- r.children = I;
56
- }
57
- a.value = t, s.value = [...c], o.value = c;
58
- });
59
- }
60
- function D(n) {
61
- let t = "";
62
- return n.page == 3 ? t += "列表" : n.page == 5 && (t += "表单"), n.control == 3 ? t += "可编辑" : n.control == 5 && (t += "可见"), t;
63
- }
64
- function _(n, t) {
65
- return g(this, null, function* () {
66
- u.value = n, i.value = t, l.value = [], yield y();
67
- let c = yield j({
68
- roleId: n,
69
- cgformId: e.cgformId,
70
- type: C.value,
71
- authMode: t
72
- });
73
- l.value = c.map((r) => r.authId);
74
- });
75
- }
76
- function K() {
77
- u.value = "", y();
78
- }
79
- function w() {
80
- y(), _(u.value, i.value);
81
- }
82
- function T() {
83
- return g(this, null, function* () {
84
- let n = l.value.filter((t) => o.value.indexOf(t) < 0);
85
- yield G(u.value, e.cgformId, {
86
- authId: JSON.stringify(n),
87
- authMode: i.value
88
- }), m.success("保存成功");
89
- });
90
- }
91
- function S() {
92
- s.value = [...o.value];
93
- }
94
- function x() {
95
- s.value = [];
96
- }
97
- function U(n) {
98
- s.value = n, h.value = !1;
99
- }
100
- function z() {
101
- u.value = "", l.value = [];
102
- }
103
- function B() {
104
- l.value = [];
105
- }
106
- function N() {
107
- const n = function(t) {
108
- for (let c of t)
109
- l.value.push(c.key), c.children && c.children.length > 0 && n.call(null, c.children);
110
- };
111
- l.value = [], n.call(null, $(a));
112
- }
113
- return {
114
- loadChecked: _,
115
- clear: z,
116
- expandedKeys: s,
117
- autoExpandParent: h,
118
- checkedKeys: l,
119
- treeData: a,
120
- disabled: O,
121
- onSave: T,
122
- onExpand: U,
123
- clearChecked: K,
124
- onCloseAll: x,
125
- onExpandAll: S,
126
- onRefresh: w,
127
- onClearSelected: B,
128
- onSelectAll: N
129
- };
130
- }
131
- });
132
- const te = { class: "onl-auth-tree-btns" };
133
- function oe(e, m, u, C, h, s) {
134
- const l = f("a-empty"), o = f("a-button"), a = f("DownCircleOutlined"), i = f("UpCircleOutlined"), O = f("CheckOutlined"), y = f("UndoOutlined"), D = f("a-tree");
135
- return E(), A("div", null, [
136
- e.disabled ? (E(), b(l, {
137
- key: 0,
138
- description: "请先选中左侧角色/部门/用户"
139
- })) : e.treeData.length === 0 ? (E(), b(l, {
140
- key: 1,
141
- description: "无权限信息"
142
- })) : (E(), A(q, { key: 2 }, [
143
- H("div", te, [
144
- d(o, {
145
- onClick: e.onRefresh,
146
- size: "small",
147
- type: "primary",
148
- preIcon: "ant-design:redo",
149
- ghost: ""
150
- }, {
151
- default: v(() => [
152
- k("刷新")
153
- ]),
154
- _: 1
155
- }, 8, ["onClick"]),
156
- d(o, {
157
- onClick: e.onExpandAll,
158
- size: "small",
159
- type: "primary",
160
- ghost: ""
161
- }, {
162
- default: v(() => [
163
- d(a),
164
- k("展开")
165
- ]),
166
- _: 1
167
- }, 8, ["onClick"]),
168
- d(o, {
169
- onClick: e.onCloseAll,
170
- size: "small",
171
- type: "primary",
172
- ghost: ""
173
- }, {
174
- default: v(() => [
175
- d(i),
176
- k("折叠")
177
- ]),
178
- _: 1
179
- }, 8, ["onClick"]),
180
- d(o, {
181
- onClick: e.onSave,
182
- size: "small",
183
- type: "primary",
184
- preIcon: "ant-design:save",
185
- ghost: ""
186
- }, {
187
- default: v(() => [
188
- k("保存")
189
- ]),
190
- _: 1
191
- }, 8, ["onClick"]),
192
- d(o, {
193
- onClick: e.onSelectAll,
194
- size: "small",
195
- type: "primary",
196
- ghost: ""
197
- }, {
198
- default: v(() => [
199
- d(O),
200
- k("全选")
201
- ]),
202
- _: 1
203
- }, 8, ["onClick"]),
204
- d(o, {
205
- onClick: e.onClearSelected,
206
- size: "small",
207
- type: "primary",
208
- ghost: ""
209
- }, {
210
- default: v(() => [
211
- d(y),
212
- k("重置")
213
- ]),
214
- _: 1
215
- }, 8, ["onClick"])
216
- ]),
217
- d(D, {
218
- checkable: "",
219
- checkedKeys: e.checkedKeys,
220
- "onUpdate:checkedKeys": m[0] || (m[0] = (_) => e.checkedKeys = _),
221
- expandedKeys: e.expandedKeys,
222
- autoExpandParent: e.autoExpandParent,
223
- treeData: e.treeData,
224
- onExpand: e.onExpand
225
- }, null, 8, ["checkedKeys", "expandedKeys", "autoExpandParent", "treeData", "onExpand"])
226
- ], 64))
227
- ]);
228
- }
229
- const fe = /* @__PURE__ */ ee(ne, [["render", oe], ["__scopeId", "data-v-e6dabb1d"]]);
230
- export {
231
- fe as default
232
- };
@@ -1,251 +0,0 @@
1
- import { defineComponent as J, provide as B, watch as k, resolveComponent as e, openBlock as C, createElementBlock as M, Fragment as v, createElementVNode as I, normalizeClass as q, createVNode as t, withCtx as n, createTextVNode as a, createCommentVNode as T } from "vue";
2
- import { BasicTable as L, TableAction as N } from "/@/components/Table";
3
- import { C as V } from "./CgformModal-21c5c387.mjs";
4
- import F from "./DbToOnlineModal-5dcb67c3.mjs";
5
- import O from "./CustomButtonList-f07bc695.mjs";
6
- import $ from "./EnhanceJsModal-175357a1.mjs";
7
- import P from "./EnhanceJavaModal-45c66cd5.mjs";
8
- import z from "./EnhanceSqlModal-7ea1b300.mjs";
9
- import Q from "./AuthManagerDrawer-76f15e8d.mjs";
10
- import Y from "./AuthSetterModal-f5d2e87f.mjs";
11
- import { C as j, u as G } from "./useCgformList-f41d4dc1.mjs";
12
- import { _ as H } from "./index-1d1a6e56.mjs";
13
- import "/@/components/Icon";
14
- import "/@/components/Modal";
15
- import "/@/components/Form/index";
16
- import "/@/hooks/web/useMessage";
17
- import "./useSchemas-a9c75b0f.mjs";
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-285d40db.mjs";
24
- import "/@/components/jeecg/JVxeTable/types";
25
- import "./useTableSync-d7e9f18d.mjs";
26
- import "./cgform.data-475d4984.mjs";
27
- import "/@/utils/dict";
28
- import "/@/utils/dict/JDictSelectUtil";
29
- import "/@/utils/uuid";
30
- import "lodash-es";
31
- import "./PageAttributeTable-25e3b7da.mjs";
32
- import "./LinkTableConfigModal-9242d750.mjs";
33
- import "/@/utils/http/axios";
34
- import "./LinkTableFieldConfigModal-24adc50c.mjs";
35
- import "./FieldExtendJsonModal-32135634.mjs";
36
- import "./SetSwitchOptions-b2af757f.mjs";
37
- import "/@/utils/is";
38
- import "./constant-fa63bd66.mjs";
39
- import "./CheckDictTable-1bc8322d.mjs";
40
- import "/@/components/jeecg/JPrompt";
41
- import "/@/hooks/web/useDesign";
42
- import "./ForeignKeyTable-7f7e28a7.mjs";
43
- import "./IndexTable-cdcc2b48.mjs";
44
- import "./QueryTable-f7bfca7f.mjs";
45
- import "./ExtendConfigModal-a89ae052.mjs";
46
- import "/@/components/Form";
47
- import "./useOnlineTest-e4bd8be3.mjs";
48
- import "/@/utils";
49
- import "./useExtendComponent-dcae5c78.mjs";
50
- import "/@/components/Form/src/componentMap";
51
- import "/@/utils/propTypes";
52
- import "/@/components/Form/src/jeecg/components/JUpload";
53
- import "/@/views/system/user/user.api";
54
- import "/@/store/modules/user";
55
- import "/@/utils/desform/customExpression";
56
- import "/@/store/modules/permission";
57
- import "/@/hooks/system/useListPage";
58
- import "vue-router";
59
- import "/@/components/Form/src/utils/Area";
60
- import "/@/components/Preview/index";
61
- import "./LinkTableListPiece-f3a8e0d7.mjs";
62
- import "/@/utils/auth";
63
- import "/@/api/common/api";
64
- import "/@/hooks/web/useAppInject";
65
- import "/@/assets/images/placeholderImage.png";
66
- import "./OnlineSelectCascade-05c40fef.mjs";
67
- import "/@/components/Loading";
68
- import "./JModalTip-b055ab60.mjs";
69
- import "@vueuse/core";
70
- import "./EnhanceJsHistory-fab3102e.mjs";
71
- import "/@/utils/dateUtil";
72
- import "/@/store";
73
- import "pinia";
74
- import "/@/utils/cache";
75
- import "./enhance.api-138e6826.mjs";
76
- import "./enhance.data-a67572e1.mjs";
77
- import "/@/components/Drawer";
78
- import "./AuthFieldConfig-9f6fa06c.mjs";
79
- import "./auth.api-ea1d33d4.mjs";
80
- import "./auth.data-511e5197.mjs";
81
- import "/@/utils/index";
82
- import "./AuthButtonConfig-89763932.mjs";
83
- import "./AuthDataConfig-5c3a8e6b.mjs";
84
- import "./LeftRole-2ed8a2bf.mjs";
85
- import "./LeftDepart-d5615ed9.mjs";
86
- import "./LeftUser-22baa378.mjs";
87
- import "./AuthFieldTree-e326fc38.mjs";
88
- import "./AuthButtonTree-2d87d0b3.mjs";
89
- import "./AuthDataTree-dd7a1240.mjs";
90
- import "clipboard";
91
- import "./cgformState-d9f8ec42.mjs";
92
- import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
93
- const K = J({
94
- name: "CgformCopyList",
95
- components: {
96
- BasicTable: L,
97
- TableAction: N,
98
- CgformModal: V,
99
- DbToOnlineModal: F,
100
- CustomButtonList: O,
101
- EnhanceJsModal: $,
102
- EnhanceJavaModal: P,
103
- EnhanceSqlModal: z,
104
- AuthManagerDrawer: Q,
105
- AuthSetterModal: Y
106
- },
107
- setup() {
108
- const o = j.copy;
109
- B("cgformPageType", o);
110
- const {
111
- router: S,
112
- pageContext: E,
113
- getTableAction: A,
114
- getDropDownAction: b,
115
- onShowCustomButton: w,
116
- onShowEnhanceJs: i,
117
- onShowEnhanceSql: m,
118
- onShowEnhanceJava: p,
119
- registerCustomButtonModal: l,
120
- registerEnhanceJsModal: s,
121
- registerEnhanceSqlModal: c,
122
- registerEnhanceJavaModal: u,
123
- registerAuthManagerDrawer: g,
124
- registerAuthSetterModal: d,
125
- registerCgformModal: h,
126
- registerDbToOnlineModal: f
127
- } = G({
128
- pageType: o,
129
- designScope: "online-cgform-list",
130
- columns: [
131
- { title: "视图表名", dataIndex: "tableName" },
132
- { title: "视图表描述", dataIndex: "tableTxt" },
133
- { title: "原表版本", dataIndex: "copyVersion" },
134
- { title: "视图版本", dataIndex: "tableVersion" }
135
- ],
136
- formSchemas: [{ label: "表名", field: "tableName", component: "JInput" }]
137
- }), { prefixCls: r, tableContext: y } = E, [R, { reload: _ }, { rowSelection: D }] = y;
138
- return k(S.currentRoute, () => _()), {
139
- prefixCls: r,
140
- reload: _,
141
- rowSelection: D,
142
- getTableAction: A,
143
- getDropDownAction: b,
144
- onShowCustomButton: w,
145
- onShowEnhanceJs: i,
146
- onShowEnhanceSql: m,
147
- onShowEnhanceJava: p,
148
- registerCustomButtonModal: l,
149
- registerEnhanceJsModal: s,
150
- registerEnhanceSqlModal: c,
151
- registerEnhanceJavaModal: u,
152
- registerAuthManagerDrawer: g,
153
- registerAuthSetterModal: d,
154
- registerTable: R,
155
- registerCgformModal: h,
156
- registerDbToOnlineModal: f
157
- };
158
- }
159
- }), U = {
160
- key: 0,
161
- style: { color: "limegreen" }
162
- }, W = {
163
- key: 1,
164
- style: { color: "red" }
165
- };
166
- function X(o, S, E, A, b, w) {
167
- const i = e("a-button"), m = e("TableAction"), p = e("BasicTable"), l = e("CgformModal"), s = e("EnhanceJsModal"), c = e("EnhanceJavaModal"), u = e("EnhanceSqlModal"), g = e("DbToOnlineModal"), d = e("CustomButtonList"), h = e("AuthManagerDrawer"), f = e("AuthSetterModal");
168
- return C(), M(v, null, [
169
- I("div", {
170
- class: q(o.prefixCls)
171
- }, [
172
- t(p, {
173
- onRegister: o.registerTable,
174
- rowSelection: o.rowSelection
175
- }, {
176
- tableTitle: n(() => [
177
- t(i, {
178
- onClick: o.onShowCustomButton,
179
- type: "primary",
180
- preIcon: "ant-design:highlight"
181
- }, {
182
- default: n(() => [
183
- a("自定义按钮")
184
- ]),
185
- _: 1
186
- }, 8, ["onClick"]),
187
- t(i, {
188
- onClick: o.onShowEnhanceJs,
189
- type: "primary",
190
- preIcon: "ant-design:strikethrough"
191
- }, {
192
- default: n(() => [
193
- a("JS增强")
194
- ]),
195
- _: 1
196
- }, 8, ["onClick"]),
197
- t(i, {
198
- onClick: o.onShowEnhanceSql,
199
- type: "primary",
200
- preIcon: "ant-design:filter"
201
- }, {
202
- default: n(() => [
203
- a("SQL增强")
204
- ]),
205
- _: 1
206
- }, 8, ["onClick"]),
207
- t(i, {
208
- onClick: o.onShowEnhanceJava,
209
- type: "primary",
210
- preIcon: "ant-design:tool"
211
- }, {
212
- default: n(() => [
213
- a("Java增强")
214
- ]),
215
- _: 1
216
- }, 8, ["onClick"])
217
- ]),
218
- dbSync: n(({ text: r }) => [
219
- r === "Y" ? (C(), M("span", U, "已同步")) : T("", !0),
220
- r === "N" ? (C(), M("span", W, "未同步")) : T("", !0)
221
- ]),
222
- action: n(({ record: r }) => [
223
- t(m, {
224
- actions: o.getTableAction(r),
225
- dropDownActions: o.getDropDownAction(r)
226
- }, null, 8, ["actions", "dropDownActions"])
227
- ]),
228
- _: 1
229
- }, 8, ["onRegister", "rowSelection"])
230
- ], 2),
231
- t(l, {
232
- onRegister: o.registerCgformModal,
233
- actionButton: !1,
234
- onSuccess: o.reload
235
- }, null, 8, ["onRegister", "onSuccess"]),
236
- t(s, { onRegister: o.registerEnhanceJsModal }, null, 8, ["onRegister"]),
237
- t(c, { onRegister: o.registerEnhanceJavaModal }, null, 8, ["onRegister"]),
238
- t(u, { onRegister: o.registerEnhanceSqlModal }, null, 8, ["onRegister"]),
239
- t(g, {
240
- onRegister: o.registerDbToOnlineModal,
241
- onSuccess: o.reload
242
- }, null, 8, ["onRegister", "onSuccess"]),
243
- t(d, { onRegister: o.registerCustomButtonModal }, null, 8, ["onRegister"]),
244
- t(h, { onRegister: o.registerAuthManagerDrawer }, null, 8, ["onRegister"]),
245
- t(f, { onRegister: o.registerAuthSetterModal }, null, 8, ["onRegister"])
246
- ], 64);
247
- }
248
- const Vt = /* @__PURE__ */ H(K, [["render", X]]);
249
- export {
250
- Vt as default
251
- };