@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,23 +1,23 @@
1
- var f = (e, s, t) => new Promise((l, c) => {
1
+ var f = (e, n, t) => new Promise((l, d) => {
2
2
  var i = (a) => {
3
3
  try {
4
- o(t.next(a));
5
- } catch (u) {
6
- c(u);
4
+ u(t.next(a));
5
+ } catch (r) {
6
+ d(r);
7
7
  }
8
- }, n = (a) => {
8
+ }, o = (a) => {
9
9
  try {
10
- o(t.throw(a));
11
- } catch (u) {
12
- c(u);
10
+ u(t.throw(a));
11
+ } catch (r) {
12
+ d(r);
13
13
  }
14
- }, o = (a) => a.done ? l(a.value) : Promise.resolve(a.value).then(i, n);
15
- o((t = t.apply(e, s)).next());
14
+ }, u = (a) => a.done ? l(a.value) : Promise.resolve(a.value).then(i, o);
15
+ u((t = t.apply(e, n)).next());
16
16
  });
17
- import { defineComponent as A, ref as r, computed as B, watch as F, resolveComponent as y, openBlock as h, createElementBlock as _, createBlock as g, Fragment as N, createElementVNode as M, createVNode as v, withCtx as E, createTextVNode as D } from "vue";
17
+ import { defineComponent as A, ref as s, computed as B, watch as F, resolveComponent as v, openBlock as y, createElementBlock as g, createBlock as _, Fragment as N, createElementVNode as M, createVNode as h, withCtx as E, createTextVNode as D } from "vue";
18
18
  import { useMessage as P } from "/@/hooks/web/useMessage";
19
- import { q as S, n as R, r as V } from "./auth.api-ea1d33d4.mjs";
20
- import { _ as $ } from "./index-1d1a6e56.mjs";
19
+ import { q as S, n as R, r as V } from "./auth.api-53df4c33.mjs";
20
+ import { _ as $ } from "./index-f3683351.mjs";
21
21
  import "/@/utils/http/axios";
22
22
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
23
23
  import "vue-router";
@@ -27,26 +27,26 @@ const q = A({
27
27
  cgformId: { type: String, required: !0 }
28
28
  },
29
29
  setup(e) {
30
- const { createMessage: s } = P(), t = r(""), l = r(3), c = r(!0), i = r([]), n = r([]), o = r([]), a = r(""), u = B(() => !t.value);
30
+ const { createMessage: n } = P(), t = s(""), l = s(3), d = s(!0), i = s([]), o = s([]), u = s([]), a = s(""), r = B(() => !t.value);
31
31
  F(() => e.cgformId, m, { immediate: !0 });
32
32
  function m() {
33
33
  return f(this, null, function* () {
34
34
  if (!e.cgformId)
35
35
  return;
36
- let d = yield S(e.cgformId, l.value);
37
- o.value = d.map((p) => ({ key: p.id, title: p.ruleName }));
36
+ let c = yield S(e.cgformId, l.value);
37
+ u.value = c.map((p) => ({ key: p.id, title: p.ruleName }));
38
38
  });
39
39
  }
40
- function k(d, p) {
40
+ function k(c, p) {
41
41
  return f(this, null, function* () {
42
- t.value = d, a.value = p, n.value = [], yield m();
42
+ t.value = c, a.value = p, o.value = [], yield m();
43
43
  let T = yield R({
44
- roleId: d,
44
+ roleId: c,
45
45
  cgformId: e.cgformId,
46
46
  type: l.value,
47
47
  authMode: p
48
48
  });
49
- n.value = T.map((w) => w.authId);
49
+ o.value = T.map((w) => w.authId);
50
50
  });
51
51
  }
52
52
  function I() {
@@ -58,25 +58,25 @@ const q = A({
58
58
  function K() {
59
59
  return f(this, null, function* () {
60
60
  yield V(t.value, e.cgformId, {
61
- authId: JSON.stringify(n.value),
61
+ authId: JSON.stringify(o.value),
62
62
  authMode: a.value
63
- }), s.success("保存成功");
63
+ }), n.success("保存成功");
64
64
  });
65
65
  }
66
- function b(d) {
67
- i.value = d, c.value = !1;
66
+ function b(c) {
67
+ i.value = c, d.value = !1;
68
68
  }
69
69
  function x() {
70
- t.value = "", n.value = [];
70
+ t.value = "", o.value = [];
71
71
  }
72
72
  return {
73
73
  loadChecked: k,
74
74
  clear: x,
75
75
  expandedKeys: i,
76
- autoExpandParent: c,
77
- checkedKeys: n,
78
- treeData: o,
79
- disabled: u,
76
+ autoExpandParent: d,
77
+ checkedKeys: o,
78
+ treeData: u,
79
+ disabled: r,
80
80
  onSave: K,
81
81
  onExpand: b,
82
82
  onRefresh: C,
@@ -85,46 +85,46 @@ const q = A({
85
85
  }
86
86
  });
87
87
  const z = { class: "onl-auth-tree-btns" };
88
- function J(e, s, t, l, c, i) {
89
- const n = y("a-empty"), o = y("a-button"), a = y("a-tree");
90
- return h(), _("div", null, [
91
- e.disabled ? (h(), g(n, {
88
+ function J(e, n, t, l, d, i) {
89
+ const o = v("a-empty"), u = v("a-button"), a = v("a-tree");
90
+ return y(), g("div", null, [
91
+ e.disabled ? (y(), _(o, {
92
92
  key: 0,
93
93
  description: "请先选中左侧角色/部门/用户"
94
- })) : e.treeData.length === 0 ? (h(), g(n, {
94
+ })) : e.treeData.length === 0 ? (y(), _(o, {
95
95
  key: 1,
96
96
  description: "无权限信息"
97
- })) : (h(), _(N, { key: 2 }, [
97
+ })) : (y(), g(N, { key: 2 }, [
98
98
  M("div", z, [
99
- v(o, {
99
+ h(u, {
100
100
  onClick: e.onRefresh,
101
101
  size: "small",
102
102
  type: "primary",
103
103
  preIcon: "ant-design:redo",
104
104
  ghost: ""
105
105
  }, {
106
- default: E(() => [
106
+ default: E(() => n[1] || (n[1] = [
107
107
  D("刷新")
108
- ]),
108
+ ])),
109
109
  _: 1
110
110
  }, 8, ["onClick"]),
111
- v(o, {
111
+ h(u, {
112
112
  onClick: e.onSave,
113
113
  size: "small",
114
114
  type: "primary",
115
115
  preIcon: "ant-design:save",
116
116
  ghost: ""
117
117
  }, {
118
- default: E(() => [
118
+ default: E(() => n[2] || (n[2] = [
119
119
  D("保存")
120
- ]),
120
+ ])),
121
121
  _: 1
122
122
  }, 8, ["onClick"])
123
123
  ]),
124
- v(a, {
124
+ h(a, {
125
125
  checkable: "",
126
126
  checkedKeys: e.checkedKeys,
127
- "onUpdate:checkedKeys": s[0] || (s[0] = (u) => e.checkedKeys = u),
127
+ "onUpdate:checkedKeys": n[0] || (n[0] = (r) => e.checkedKeys = r),
128
128
  expandedKeys: e.expandedKeys,
129
129
  autoExpandParent: e.autoExpandParent,
130
130
  treeData: e.treeData,
@@ -1,32 +1,32 @@
1
- var S = (s, g, m) => new Promise((y, k) => {
2
- var r = (h) => {
1
+ var S = (s, f, m) => new Promise((y, k) => {
2
+ var g = (r) => {
3
3
  try {
4
- f(m.next(h));
4
+ h(m.next(r));
5
5
  } catch (u) {
6
6
  k(u);
7
7
  }
8
- }, w = (h) => {
8
+ }, w = (r) => {
9
9
  try {
10
- f(m.throw(h));
10
+ h(m.throw(r));
11
11
  } catch (u) {
12
12
  k(u);
13
13
  }
14
- }, f = (h) => h.done ? y(h.value) : Promise.resolve(h.value).then(r, w);
15
- f((m = m.apply(s, g)).next());
14
+ }, h = (r) => r.done ? y(r.value) : Promise.resolve(r.value).then(g, w);
15
+ h((m = m.apply(s, f)).next());
16
16
  });
17
- import { defineComponent as z, ref as p, watch as V, resolveComponent as L, openBlock as E, createElementBlock as U, createVNode as b, withCtx as C, Fragment as B, createTextVNode as v, createBlock as P, toDisplayString as _ } from "vue";
18
- import { BasicTable as q, useTable as K } from "/@/components/Table";
19
- import { a as M, b as O, c as j, d as G, e as x } from "./auth.api-ea1d33d4.mjs";
20
- import { a as H } from "./auth.data-511e5197.mjs";
21
- import { _ as J } from "./index-1d1a6e56.mjs";
17
+ import { defineComponent as V, ref as p, watch as q, resolveComponent as L, openBlock as E, createElementBlock as U, createVNode as b, withCtx as C, Fragment as P, createTextVNode as v, createBlock as x, toDisplayString as R } from "vue";
18
+ import { BasicTable as K, useTable as M } from "/@/components/Table";
19
+ import { a as O, b as _, c as j, d as G, e as A } from "./auth.api-53df4c33.mjs";
20
+ import { a as H } from "./auth.data-626c5083.mjs";
21
+ import { _ as J } from "./index-f3683351.mjs";
22
22
  import "/@/utils/http/axios";
23
23
  import "/@/utils/index";
24
24
  import "/@/components/jeecg/OnLine/JPopupOnlReport.vue";
25
25
  import "/@/hooks/web/useMessage";
26
26
  import "vue-router";
27
- const Q = z({
27
+ const Q = V({
28
28
  name: "AuthFieldConfig",
29
- components: { BasicTable: q },
29
+ components: { BasicTable: K },
30
30
  props: {
31
31
  headId: {
32
32
  type: String,
@@ -35,25 +35,25 @@ const Q = z({
35
35
  }
36
36
  },
37
37
  emits: ["update:authFields"],
38
- setup(s, { emit: g }) {
39
- const m = p(""), [y, { reload: k, getTableRef: r, setPagination: w }] = K({
40
- api: A,
38
+ setup(s, { emit: f }) {
39
+ const m = p(""), [y, { reload: k, getTableRef: g, setPagination: w }] = M({
40
+ api: $,
41
41
  rowKey: "code",
42
42
  bordered: !0,
43
43
  columns: H,
44
44
  showIndexColumn: !1
45
- }), f = p(!1), h = p(!1), u = p(!1), i = p(!1), c = p(!1), I = p(!1), F = p(!1);
46
- V(
45
+ }), h = p(!1), r = p(!1), u = p(!1), i = p(!1), c = p(!1), I = p(!1), F = p(!1);
46
+ q(
47
47
  () => s.headId,
48
48
  (l) => {
49
- m.value = l.split("?")[0], r().value && w({ current: 1, pageSize: 10 }), k().catch(() => null);
49
+ m.value = l.split("?")[0], g().value && w({ current: 1, pageSize: 10 }), k().catch(() => null);
50
50
  },
51
51
  { immediate: !0 }
52
52
  );
53
- function A(l) {
53
+ function $(l) {
54
54
  return S(this, null, function* () {
55
55
  const e = ["id"];
56
- let n = yield M(m.value, l), t = [], d = [];
56
+ let n = yield O(m.value, l), t = [], d = [];
57
57
  return n.forEach((o) => {
58
58
  e.indexOf(o.code) < 0 && ((o.isShowForm == 1 || o.isShowList == 1) && d.push(o), o.dbIsPersist == 1 && t.push({
59
59
  text: o.title,
@@ -63,19 +63,19 @@ const Q = z({
63
63
  dbType: o.dbType
64
64
  // -update-end--author:liaozhiyang---date:20240617---for:【TV360X-201】权限管理条件根据控件过滤
65
65
  }));
66
- }), g("update:authFields", t), T(l.pageNo, l.pageSize, d), d;
66
+ }), f("update:authFields", t), T(l.pageNo, l.pageSize, d), d;
67
67
  });
68
68
  }
69
- function $(l, e) {
69
+ function N(l, e) {
70
70
  return S(this, null, function* () {
71
- yield O({
71
+ yield _({
72
72
  cgformId: m.value,
73
73
  code: e.code,
74
74
  status: l ? 1 : 0
75
- }), e.formEditable || e.formShow || e.listShow || (e.formEditable = !0, e.formShow = !0, e.listShow = !0), e.status = Math.abs(e.status - 1), R();
75
+ }), e.formEditable || e.formShow || e.listShow || (e.formEditable = !0, e.formShow = !0, e.listShow = !0), e.status = Math.abs(e.status - 1), B();
76
76
  });
77
77
  }
78
- function N(l, e, n) {
78
+ function z(l, e, n) {
79
79
  return S(this, null, function* () {
80
80
  let t = l.target.checked;
81
81
  yield j({
@@ -85,7 +85,7 @@ const Q = z({
85
85
  listShow: t,
86
86
  formShow: t,
87
87
  formEditable: t
88
- }), n == 1 ? e.listShow = t : n == 2 ? e.formShow = t : n == 3 && (e.formEditable = t), e.listShow === !1 && e.formShow === !1 && e.formEditable === !1 && (e.status = 0), R();
88
+ }), n == 1 ? e.listShow = t : n == 2 ? e.formShow = t : n == 3 && (e.formEditable = t), e.listShow === !1 && e.formShow === !1 && e.formEditable === !1 && (e.status = 0), B();
89
89
  });
90
90
  }
91
91
  function T(l, e, n) {
@@ -97,15 +97,15 @@ const Q = z({
97
97
  t.push(a);
98
98
  }
99
99
  }
100
- t.length ? (f.value = !0, h.value = !0, u.value = !0, t.forEach((d) => {
101
- f.value && d.status == 0 && (f.value = !1), h.value && d.listShow == !1 && (h.value = !1), u.value && (d.formEditable == !1 || d.formShow == !1) && (u.value = !1);
102
- }), h.value == !0 ? F.value = !1 : t.find((o) => o.listShow) ? F.value = !0 : F.value = !1, u.value == !0 ? I.value = !1 : t.find((o) => o.formEditable || o.formShow) ? I.value = !0 : I.value = !1) : (f.value = !1, h.value = !1, u.value = !1);
100
+ t.length ? (h.value = !0, r.value = !0, u.value = !0, t.forEach((d) => {
101
+ h.value && d.status == 0 && (h.value = !1), r.value && d.listShow == !1 && (r.value = !1), u.value && (d.formEditable == !1 || d.formShow == !1) && (u.value = !1);
102
+ }), r.value == !0 ? F.value = !1 : t.find((o) => o.listShow) ? F.value = !0 : F.value = !1, u.value == !0 ? I.value = !1 : t.find((o) => o.formEditable || o.formShow) ? I.value = !0 : I.value = !1) : (h.value = !1, r.value = !1, u.value = !1);
103
103
  }
104
- const R = () => {
105
- const { current: l, pageSize: e } = r().value.getPaginationRef(), n = r().value.getDataSource();
104
+ const B = () => {
105
+ const { current: l, pageSize: e } = g().value.getPaginationRef(), n = g().value.getDataSource();
106
106
  T(l, e, n);
107
107
  }, D = (l, e) => {
108
- const n = [], t = r().value.getDataSource();
108
+ const n = [], t = g().value.getDataSource();
109
109
  if (t != null && t.length) {
110
110
  const d = l * e > t.length ? t.length : l * e;
111
111
  for (let o = l * e - e; o < d; o++) {
@@ -115,83 +115,83 @@ const Q = z({
115
115
  }
116
116
  return n;
117
117
  };
118
- return { registerTable: y, onUpdateStatus: $, onCheckboxChange: N, handleChangeSwitch: (l) => S(this, null, function* () {
119
- c.value = !0, f.value = l;
120
- const { current: e, pageSize: n } = r().value.getPaginationRef(), t = D(e, n);
118
+ return { registerTable: y, onUpdateStatus: N, onCheckboxChange: z, handleChangeSwitch: (l) => S(this, null, function* () {
119
+ c.value = !0, h.value = l;
120
+ const { current: e, pageSize: n } = g().value.getPaginationRef(), t = D(e, n);
121
121
  let d = t.map((a) => ({ cgformId: a.cgformId, code: a.code, status: l ? 1 : 0 }));
122
122
  i.value = !0, yield G(d), t.forEach((a) => {
123
123
  l ? a.status = 1 : a.status = 0, a.formEditable || a.formShow || a.listShow || (a.formEditable = !0, a.formShow = !0, a.listShow = !0);
124
124
  }), i.value = !1, c.value = !1;
125
- const o = r().value.getDataSource();
125
+ const o = g().value.getDataSource();
126
126
  T(e, n, o);
127
- }), allSwitch: f, allFormControl: u, allListControl: h, allSloading: i, handleTableChange: (l) => {
127
+ }), allSwitch: h, allFormControl: u, allListControl: r, allSloading: i, handleTableChange: (l) => {
128
128
  }, handleChangeList: (l) => S(this, null, function* () {
129
129
  c.value = !0;
130
130
  const e = l.target.checked;
131
- h.value = e;
132
- const { current: n, pageSize: t } = r().value.getPaginationRef(), d = D(n, t);
131
+ r.value = e;
132
+ const { current: n, pageSize: t } = g().value.getPaginationRef(), d = D(n, t);
133
133
  let o = d.map((a) => ({ cgformId: a.cgformId, code: a.code, switchFlag: 1, listShow: !!e }));
134
- yield x(o), d.forEach((a) => {
135
- a.listShow = !!e, a.listShow === !1 && a.formShow === !1 && a.formEditable === !1 && (a.status = 0, f.value = !1);
134
+ yield A(o), d.forEach((a) => {
135
+ a.listShow = !!e, a.listShow === !1 && a.formShow === !1 && a.formEditable === !1 && (a.status = 0, h.value = !1);
136
136
  }), e && (F.value = !1), c.value = !1;
137
137
  }), handleChangeForm: (l) => S(this, null, function* () {
138
138
  c.value = !0;
139
139
  const e = l.target.checked;
140
140
  u.value = e;
141
- const { current: n, pageSize: t } = r().value.getPaginationRef(), d = D(n, t), o = [
141
+ const { current: n, pageSize: t } = g().value.getPaginationRef(), d = D(n, t), o = [
142
142
  ...d.map((a) => ({ cgformId: a.cgformId, code: a.code, switchFlag: 4, formShow: !!e, formEditable: !!e }))
143
143
  ];
144
- yield x(o), d.forEach((a) => {
145
- a.formEditable = !!e, a.formShow = !!e, a.listShow === !1 && a.formShow === !1 && a.formEditable === !1 && (a.status = 0, f.value = !1);
144
+ yield A(o), d.forEach((a) => {
145
+ a.formEditable = !!e, a.formShow = !!e, a.listShow === !1 && a.formShow === !1 && a.formEditable === !1 && (a.status = 0, h.value = !1);
146
146
  }), e && (I.value = !1), c.value = !1;
147
147
  }), tableLoading: c, formIndeterminate: I, listIndeterminate: F };
148
148
  }
149
149
  });
150
150
  const W = { class: "auth-field-config" };
151
- function X(s, g, m, y, k, r) {
152
- const w = L("a-switch"), f = L("a-checkbox"), h = L("BasicTable");
151
+ function X(s, f, m, y, k, g) {
152
+ const w = L("a-switch"), h = L("a-checkbox"), r = L("BasicTable");
153
153
  return E(), U("div", W, [
154
- b(h, {
154
+ b(r, {
155
155
  onRegister: s.registerTable,
156
156
  onChange: s.handleTableChange,
157
157
  loading: s.tableLoading
158
158
  }, {
159
159
  headerCell: C(({ column: u }) => [
160
- u.dataIndex === "switch" ? (E(), U(B, { key: 0 }, [
160
+ u.dataIndex === "switch" ? (E(), U(P, { key: 0 }, [
161
161
  b(w, {
162
162
  loading: s.allSloading,
163
163
  checked: s.allSwitch,
164
- "onUpdate:checked": g[0] || (g[0] = (i) => s.allSwitch = i),
164
+ "onUpdate:checked": f[0] || (f[0] = (i) => s.allSwitch = i),
165
165
  size: "small",
166
166
  onChange: s.handleChangeSwitch
167
167
  }, null, 8, ["loading", "checked", "onChange"]),
168
- v("启用 ")
169
- ], 64)) : u.dataIndex === "list" ? (E(), P(f, {
168
+ f[3] || (f[3] = v("启用 "))
169
+ ], 64)) : u.dataIndex === "list" ? (E(), x(h, {
170
170
  key: 1,
171
171
  indeterminate: s.listIndeterminate,
172
172
  checked: s.allListControl,
173
- "onUpdate:checked": g[1] || (g[1] = (i) => s.allListControl = i),
173
+ "onUpdate:checked": f[1] || (f[1] = (i) => s.allListControl = i),
174
174
  disabled: !s.allSwitch,
175
175
  onChange: s.handleChangeList
176
176
  }, {
177
177
  default: C(() => [
178
- v(_(u.customTitle), 1)
178
+ v(R(u.customTitle), 1)
179
179
  ]),
180
180
  _: 2
181
- }, 1032, ["indeterminate", "checked", "disabled", "onChange"])) : u.dataIndex === "form" ? (E(), P(f, {
181
+ }, 1032, ["indeterminate", "checked", "disabled", "onChange"])) : u.dataIndex === "form" ? (E(), x(h, {
182
182
  key: 2,
183
183
  indeterminate: s.formIndeterminate,
184
184
  checked: s.allFormControl,
185
- "onUpdate:checked": g[2] || (g[2] = (i) => s.allFormControl = i),
185
+ "onUpdate:checked": f[2] || (f[2] = (i) => s.allFormControl = i),
186
186
  disabled: !s.allSwitch,
187
187
  onChange: s.handleChangeForm
188
188
  }, {
189
189
  default: C(() => [
190
- v(_(u.customTitle), 1)
190
+ v(R(u.customTitle), 1)
191
191
  ]),
192
192
  _: 2
193
- }, 1032, ["indeterminate", "checked", "disabled", "onChange"])) : (E(), U(B, { key: 3 }, [
194
- v(_(u.customTitle), 1)
193
+ }, 1032, ["indeterminate", "checked", "disabled", "onChange"])) : (E(), U(P, { key: 3 }, [
194
+ v(R(u.customTitle), 1)
195
195
  ], 64))
196
196
  ]),
197
197
  switch: C(({ text: u, record: i }) => [
@@ -202,36 +202,36 @@ function X(s, g, m, y, k, r) {
202
202
  }, null, 8, ["checked", "onChange"])
203
203
  ]),
204
204
  list: C(({ text: u, record: i }) => [
205
- b(f, {
205
+ b(h, {
206
206
  checked: i.listShow,
207
207
  disabled: i.status === 0,
208
208
  onChange: (c) => s.onCheckboxChange(c, i, 1)
209
209
  }, {
210
- default: C(() => [
210
+ default: C(() => f[4] || (f[4] = [
211
211
  v(" 可见 ")
212
- ]),
212
+ ])),
213
213
  _: 2
214
214
  }, 1032, ["checked", "disabled", "onChange"])
215
215
  ]),
216
216
  form: C(({ text: u, record: i }) => [
217
- b(f, {
217
+ b(h, {
218
218
  checked: i.formShow,
219
219
  disabled: i.status === 0,
220
220
  onChange: (c) => s.onCheckboxChange(c, i, 2)
221
221
  }, {
222
- default: C(() => [
222
+ default: C(() => f[5] || (f[5] = [
223
223
  v(" 可见 ")
224
- ]),
224
+ ])),
225
225
  _: 2
226
226
  }, 1032, ["checked", "disabled", "onChange"]),
227
- b(f, {
227
+ b(h, {
228
228
  checked: i.formEditable,
229
229
  disabled: i.status === 0,
230
230
  onChange: (c) => s.onCheckboxChange(c, i, 3)
231
231
  }, {
232
- default: C(() => [
232
+ default: C(() => f[6] || (f[6] = [
233
233
  v(" 可编辑 ")
234
- ]),
234
+ ])),
235
235
  _: 2
236
236
  }, 1032, ["checked", "disabled", "onChange"])
237
237
  ]),
@@ -239,7 +239,7 @@ function X(s, g, m, y, k, r) {
239
239
  }, 8, ["onRegister", "onChange", "loading"])
240
240
  ]);
241
241
  }
242
- const re = /* @__PURE__ */ J(Q, [["render", X], ["__scopeId", "data-v-c48da65c"]]);
242
+ const ce = /* @__PURE__ */ J(Q, [["render", X], ["__scopeId", "data-v-c48da65c"]]);
243
243
  export {
244
- re as default
244
+ ce as default
245
245
  };