jmash-core 0.0.3 → 0.0.5

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 (212) hide show
  1. package/dist/401-DZeMj80g.mjs +103 -0
  2. package/dist/404-D1KiG-19.mjs +37 -0
  3. package/dist/BarChart-BYm859ri.mjs +203 -0
  4. package/dist/FileSaver.min-DJ2XURfB.mjs +77 -0
  5. package/dist/FunnelChart-Czy2TVI1.mjs +106 -0
  6. package/dist/PieChart-BRbbIH3_.mjs +4 -0
  7. package/dist/PieChart.vue_vue_type_script_setup_true_lang-XjLBqCzM.mjs +90 -0
  8. package/dist/RadarChart-Bk_uy6Km.mjs +4 -0
  9. package/dist/RadarChart.vue_vue_type_script_setup_true_lang-COsDkkQU.mjs +109 -0
  10. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  11. package/dist/caret-bottom-DGvkHVYd.mjs +59 -0
  12. package/dist/common-DuVBTwAv.mjs +36 -0
  13. package/dist/debounce-XYByYe_I.mjs +81 -0
  14. package/dist/dropdown2-D_RJXnOl.mjs +160 -0
  15. package/dist/edit-BTjApg1x.mjs +468 -0
  16. package/dist/edit-BcLHrCSo.mjs +4 -0
  17. package/dist/edit-DC3SyT6J.mjs +4 -0
  18. package/dist/edit-DmP9tv3r.mjs +4 -0
  19. package/dist/edit-Dr-9X4r3.mjs +4 -0
  20. package/dist/edit-FjRAXd1B.mjs +832 -0
  21. package/dist/edit-bpHMc65Q.mjs +4 -0
  22. package/dist/edit-lB54egzx.mjs +4 -0
  23. package/dist/edit.vue_vue_type_script_setup_true_lang-BKutjIoX.mjs +621 -0
  24. package/dist/edit.vue_vue_type_script_setup_true_lang-BVXBx_a-.mjs +221 -0
  25. package/dist/edit.vue_vue_type_script_setup_true_lang-Bm1SAtWP.mjs +225 -0
  26. package/dist/edit.vue_vue_type_script_setup_true_lang-CYZNHUnm.mjs +156 -0
  27. package/dist/edit.vue_vue_type_script_setup_true_lang-CZmh3q4f.mjs +287 -0
  28. package/dist/edit.vue_vue_type_script_setup_true_lang-DqZ2GCoE.mjs +136 -0
  29. package/dist/el-card-Da9MvaWO.mjs +61 -0
  30. package/dist/el-checkbox-B44P9jFr.mjs +548 -0
  31. package/dist/el-checkbox-group-l0sNRNKZ.mjs +1 -0
  32. package/dist/el-col-BY0nB6k3.mjs +135 -0
  33. package/dist/el-date-picker-CVwJoDEA.mjs +3349 -0
  34. package/dist/el-dialog-CSWvTJrq.mjs +378 -0
  35. package/dist/el-dropdown-item-CD8hUpml.mjs +675 -0
  36. package/dist/el-form-item-f-baJSfe.mjs +1489 -0
  37. package/dist/el-icon-l0sNRNKZ.mjs +1 -0
  38. package/dist/el-popover-D8RrIMbA.mjs +159 -0
  39. package/dist/el-popper-C13p_dqu.mjs +1656 -0
  40. package/dist/el-progress-CHUzIxT1.mjs +898 -0
  41. package/dist/el-radio-BpdPD-RN.mjs +251 -0
  42. package/dist/el-scrollbar-B8QteGV0.mjs +607 -0
  43. package/dist/el-select-ChOy6agQ.mjs +1040 -0
  44. package/dist/el-switch-cqWxQwcb.mjs +254 -0
  45. package/dist/el-table-c9Sup56w.mjs +3168 -0
  46. package/dist/el-tag-l0sNRNKZ.mjs +1 -0
  47. package/dist/el-tooltip-l0sNRNKZ.mjs +1 -0
  48. package/dist/el-tree-select-CKOwMXR7.mjs +1316 -0
  49. package/dist/importUpload.vue_vue_type_script_setup_true_lang-DWrcOBGS.mjs +116 -0
  50. package/dist/index-B6wY38lY.mjs +13173 -0
  51. package/dist/index-BH-_mfRR.mjs +107 -0
  52. package/dist/index-BfhiNV8H.mjs +486 -0
  53. package/dist/index-BjqMDjBg.mjs +43994 -0
  54. package/dist/index-BuHauank.mjs +13 -0
  55. package/dist/index-CBJwB8q2.mjs +633 -0
  56. package/dist/index-CGCQHwLq.mjs +482 -0
  57. package/dist/index-CU0iVHXP.mjs +281 -0
  58. package/dist/index-CYxGYOaT.mjs +504 -0
  59. package/dist/index-Cjii0qCc.mjs +278 -0
  60. package/dist/index-Czh2Pqwr.mjs +63 -0
  61. package/dist/index-DJ08yxAP.mjs +11 -0
  62. package/dist/index-DUKlDGLk.mjs +2589 -0
  63. package/dist/index-DUVtKaDI.mjs +515 -0
  64. package/dist/index-Dgd4Zhxz.mjs +93 -0
  65. package/dist/index-Di5--Hao.mjs +328 -0
  66. package/dist/index-DjkMA-Wh.mjs +40 -0
  67. package/dist/index-DrKW_cyG.mjs +247 -0
  68. package/dist/index-LuiPOgGW.mjs +291 -0
  69. package/dist/index-VD-Tf32c.mjs +74 -0
  70. package/dist/index-cRrjzkNb.mjs +452 -0
  71. package/dist/index-cp7l4CIE.mjs +134 -0
  72. package/dist/index-dKz1IRM_.mjs +279 -0
  73. package/dist/index-dLPnFa10.mjs +964 -0
  74. package/dist/index-uykKwY2Z.mjs +12 -0
  75. package/dist/index-vp1_Sd0A.mjs +55 -0
  76. package/dist/index.mjs +22 -273
  77. package/dist/index.vue_vue_type_script_setup_true_lang-DcIQIMBC.mjs +286 -0
  78. package/dist/index.vue_vue_type_script_setup_true_lang-DidEhco6.mjs +58 -0
  79. package/dist/isUndefined-CUQZk6oB.mjs +6 -0
  80. package/dist/moment-CMYwqyVT.mjs +2579 -0
  81. package/dist/picture-kDaEiPHi.mjs +599 -0
  82. package/dist/profile-Sn98YUfh.mjs +319 -0
  83. package/dist/refs-COP_DuTD.mjs +9 -0
  84. package/dist/style.css +1 -1
  85. package/dist/types-BolK_Oyb.mjs +205 -0
  86. package/dist/updatePwd-B3rEU05i.mjs +4 -0
  87. package/dist/updatePwd.vue_vue_type_script_setup_true_lang-1LEdjkQ3.mjs +151 -0
  88. package/dist/useColumnToggleTable-CC9EXcfR.mjs +272 -0
  89. package/dts/src/App.vue.d.ts +1 -1
  90. package/dts/src/api/auth/index.d.ts +41 -0
  91. package/dts/src/api/auth/types.d.ts +180 -0
  92. package/dts/src/api/file/index.d.ts +14 -0
  93. package/dts/src/api/file/types.d.ts +7 -0
  94. package/dts/src/api/system/dept/index.d.ts +91 -0
  95. package/dts/src/api/system/dept/types.d.ts +63 -0
  96. package/dts/src/api/system/index.d.ts +7 -0
  97. package/dts/src/api/system/job/index.d.ts +42 -0
  98. package/dts/src/api/system/job/types.d.ts +60 -0
  99. package/dts/src/api/system/log/index.d.ts +29 -0
  100. package/dts/src/api/system/log/types.d.ts +42 -0
  101. package/dts/src/api/system/menu/index.d.ts +103 -0
  102. package/dts/src/api/system/menu/types.d.ts +96 -0
  103. package/dts/src/api/system/module/index.d.ts +57 -0
  104. package/dts/src/api/system/module/types.d.ts +13 -0
  105. package/dts/src/api/system/operation/index.d.ts +51 -0
  106. package/dts/src/api/system/operation/types.d.ts +12 -0
  107. package/dts/src/api/system/permission/index.d.ts +50 -0
  108. package/dts/src/api/system/permission/types.d.ts +12 -0
  109. package/dts/src/api/system/role/index.d.ts +77 -0
  110. package/dts/src/api/system/role/types.d.ts +26 -0
  111. package/dts/src/api/system/user/index.d.ts +133 -0
  112. package/dts/src/api/system/user/types.d.ts +53 -0
  113. package/dts/src/api/system/userLog/index.d.ts +29 -0
  114. package/dts/src/api/system/userLog/types.d.ts +22 -0
  115. package/dts/src/assets/icons/index.d.ts +0 -0
  116. package/dts/src/components/{icons/IconDocumentation.vue.d.ts → Breadcrumb/index.vue.d.ts} +1 -1
  117. package/dts/src/components/DictRadio/index.vue.d.ts +23 -0
  118. package/dts/src/components/DictSelect/index.vue.d.ts +41 -0
  119. package/dts/src/components/Dictionary/index.vue.d.ts +47 -0
  120. package/dts/src/components/{TheWelcome.vue.d.ts → GithubCorner/index.vue.d.ts} +1 -1
  121. package/dts/src/components/Hamburger/index.vue.d.ts +18 -0
  122. package/dts/src/components/IconSelect/index.vue.d.ts +20 -0
  123. package/dts/src/components/IconSelect/requireIcons.d.ts +2 -0
  124. package/dts/src/components/{icons/IconEcosystem.vue.d.ts → LangSelect/index.vue.d.ts} +1 -1
  125. package/dts/src/components/Pagination/index.vue.d.ts +88 -0
  126. package/dts/src/components/RightPanel/index.vue.d.ts +21 -0
  127. package/dts/src/components/{icons/IconCommunity.vue.d.ts → SizeSelect/index.vue.d.ts} +1 -1
  128. package/dts/src/components/SvgIcon/index.vue.d.ts +43 -0
  129. package/dts/src/components/Table/index.vue.d.ts +73 -0
  130. package/dts/src/components/TableSet/index.vue.d.ts +29 -0
  131. package/dts/src/components/Upload/MultiUpload.vue.d.ts +65 -0
  132. package/dts/src/components/Upload/SingleUpload.vue.d.ts +18 -0
  133. package/dts/src/components/Upload/importUpload.vue.d.ts +31 -0
  134. package/dts/src/components/Upload/index.vue.d.ts +18 -0
  135. package/dts/src/components/WangEditor/index.vue.d.ts +18 -0
  136. package/dts/src/directive/index.d.ts +5 -0
  137. package/dts/src/directive/permission/index.d.ts +9 -0
  138. package/dts/src/enums/MenuTypeEnum.d.ts +18 -0
  139. package/dts/src/hooks/useColumnToggleTable.d.ts +7 -0
  140. package/dts/src/index.d.ts +29 -3
  141. package/dts/src/lang/index.d.ts +534 -0
  142. package/dts/src/lang/package/en.d.ts +261 -0
  143. package/dts/src/lang/package/zh-cn.d.ts +275 -0
  144. package/dts/src/layout/components/AppMain.vue.d.ts +2 -0
  145. package/dts/src/layout/components/NavBar/NavRight.vue.d.ts +2 -0
  146. package/dts/src/layout/components/NavBar/index.vue.d.ts +2 -0
  147. package/dts/src/layout/components/Settings/index.vue.d.ts +2 -0
  148. package/dts/src/layout/components/Sidebar/Item.vue.d.ts +23 -0
  149. package/dts/src/layout/components/Sidebar/LeftMenu.vue.d.ts +24 -0
  150. package/dts/src/layout/components/Sidebar/Link.vue.d.ts +19 -0
  151. package/dts/src/layout/components/Sidebar/Logo.vue.d.ts +12 -0
  152. package/dts/src/layout/components/Sidebar/SidebarItem.vue.d.ts +42 -0
  153. package/dts/src/layout/components/Sidebar/TopMenu.vue.d.ts +2 -0
  154. package/dts/src/layout/components/Sidebar/index.vue.d.ts +2 -0
  155. package/dts/src/layout/components/TagsView/ScrollPane.vue.d.ts +16 -0
  156. package/dts/src/layout/components/TagsView/index.vue.d.ts +2 -0
  157. package/dts/src/layout/components/index.d.ts +4 -0
  158. package/dts/src/layout/index.vue.d.ts +2 -0
  159. package/dts/src/layout/main.vue.d.ts +2 -0
  160. package/dts/src/main.d.ts +5 -1
  161. package/dts/src/permission.d.ts +1 -0
  162. package/dts/src/router/index.d.ts +10 -0
  163. package/dts/src/settings.d.ts +13 -0
  164. package/dts/src/stores/index.d.ts +7 -0
  165. package/dts/src/stores/modules/tagsView.d.ts +82 -0
  166. package/dts/src/utils/common.d.ts +6 -0
  167. package/dts/src/utils/grpc.d.ts +2 -0
  168. package/dts/src/utils/i18n.d.ts +1 -0
  169. package/dts/src/utils/index.d.ts +24 -0
  170. package/dts/src/utils/request.d.ts +2 -0
  171. package/dts/src/utils/resize.d.ts +1 -0
  172. package/dts/src/utils/scroll-to.d.ts +6 -0
  173. package/dts/src/views/dashboard/components/BarChart.vue.d.ts +45 -0
  174. package/dts/src/views/dashboard/components/FunnelChart.vue.d.ts +45 -0
  175. package/dts/src/views/dashboard/components/PieChart.vue.d.ts +45 -0
  176. package/dts/src/views/dashboard/components/RadarChart.vue.d.ts +45 -0
  177. package/dts/src/views/dashboard/index.vue.d.ts +2 -0
  178. package/dts/src/views/error-page/401.vue.d.ts +2 -0
  179. package/dts/src/views/error-page/404.vue.d.ts +2 -0
  180. package/dts/src/views/login/components/types.vue.d.ts +2 -0
  181. package/dts/src/views/login/index.vue.d.ts +2 -0
  182. package/dts/src/views/my/profile.vue.d.ts +2 -0
  183. package/dts/src/views/my/updatePwd.vue.d.ts +18 -0
  184. package/dts/src/views/redirect/index.vue.d.ts +2 -0
  185. package/dts/src/views/system/dept/edit.vue.d.ts +31 -0
  186. package/dts/src/views/system/dept/index.vue.d.ts +2 -0
  187. package/dts/src/views/system/job/edit.vue.d.ts +30 -0
  188. package/dts/src/views/system/job/index.vue.d.ts +2 -0
  189. package/dts/src/views/system/log/index.vue.d.ts +2 -0
  190. package/dts/src/views/system/log/oplog/index.vue.d.ts +2 -0
  191. package/dts/src/views/system/log/userLog/index.vue.d.ts +2 -0
  192. package/dts/src/views/system/menu/edit.vue.d.ts +31 -0
  193. package/dts/src/views/system/menu/index.vue.d.ts +2 -0
  194. package/dts/src/views/system/module/edit.vue.d.ts +31 -0
  195. package/dts/src/views/system/module/index.vue.d.ts +2 -0
  196. package/dts/src/views/system/operation/edit.vue.d.ts +31 -0
  197. package/dts/src/views/system/operation/index.vue.d.ts +2 -0
  198. package/dts/src/views/system/permission/edit.vue.d.ts +30 -0
  199. package/dts/src/views/system/permission/index.vue.d.ts +2 -0
  200. package/dts/src/views/system/role/edit.vue.d.ts +31 -0
  201. package/dts/src/views/system/role/index.vue.d.ts +2 -0
  202. package/dts/src/views/system/user/edit.vue.d.ts +31 -0
  203. package/dts/src/views/system/user/index.vue.d.ts +2 -0
  204. package/dts/tsconfig.tsbuildinfo +1 -1
  205. package/package.json +31 -2
  206. package/dts/src/components/HelloWorld.vue.d.ts +0 -15
  207. package/dts/src/components/WelcomeItem.vue.d.ts +0 -11
  208. package/dts/src/components/icons/IconSupport.vue.d.ts +0 -2
  209. package/dts/src/components/icons/IconTooling.vue.d.ts +0 -2
  210. package/dts/src/stores/counter.d.ts +0 -13
  211. package/dts/src/views/AboutView.vue.d.ts +0 -2
  212. package/dts/src/views/HomeView.vue.d.ts +0 -2
@@ -0,0 +1,291 @@
1
+ import { _ as ne } from "./index-CBJwB8q2.mjs";
2
+ import { _ as de } from "./index.vue_vue_type_script_setup_true_lang-DcIQIMBC.mjs";
3
+ import { a as se, d as ie, f as re, h as me, z as ue } from "./index-B6wY38lY.mjs";
4
+ import "./el-icon-l0sNRNKZ.mjs";
5
+ import { E as pe, a as ce } from "./el-col-BY0nB6k3.mjs";
6
+ import { u as fe, a as _e, _ as be } from "./useColumnToggleTable-CC9EXcfR.mjs";
7
+ import { a as ge, E as ye } from "./el-form-item-f-baJSfe.mjs";
8
+ import { defineComponent as Ce, reactive as p, resolveComponent as R, resolveDirective as he, openBlock as r, createElementBlock as $, createVNode as t, withCtx as a, withKeys as T, unref as o, createTextVNode as m, toDisplayString as u, withDirectives as C, createBlock as h, isRef as ve, createCommentVNode as S, createElementVNode as ke } from "vue";
9
+ import { g as we, d as $e, b as Me, a as Ee, c as Ie } from "./index-Dgd4Zhxz.mjs";
10
+ import { _ as Ne } from "./edit.vue_vue_type_script_setup_true_lang-CYZNHUnm.mjs";
11
+ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "clear" }, null, -1), Se = ["onClick"], De = ["onClick"], Qe = /* @__PURE__ */ Ce({
12
+ __name: "index",
13
+ setup(Ve) {
14
+ const { t: s } = se(), d = p({
15
+ tenant: ie().user.tenant,
16
+ curPage: 1,
17
+ pageSize: 10
18
+ });
19
+ let c = p({
20
+ moduleId: "",
21
+ moduleCode: "",
22
+ moduleName: "",
23
+ description: ""
24
+ }), f = p([
25
+ {
26
+ label: s("sysModule.code"),
27
+ width: "200",
28
+ prop: "moduleCode",
29
+ isColumn: !0
30
+ },
31
+ {
32
+ label: s("sysModule.name"),
33
+ width: "200",
34
+ prop: "moduleName",
35
+ isColumn: !0
36
+ },
37
+ {
38
+ label: s("sysModule.description"),
39
+ prop: "description",
40
+ isColumn: !0
41
+ },
42
+ {
43
+ label: s("sysModule.sort"),
44
+ width: "100",
45
+ prop: "orderName",
46
+ columnType: "slot",
47
+ slotName: "sort",
48
+ isColumn: !0
49
+ },
50
+ {
51
+ label: s("common.operate"),
52
+ width: "200",
53
+ columnType: "slot",
54
+ slotName: "operation",
55
+ fixed: "right",
56
+ isColumn: !0
57
+ }
58
+ ]);
59
+ const i = p({
60
+ visible: !1,
61
+ title: ""
62
+ }), D = p({
63
+ list: we,
64
+ del: $e,
65
+ dels: Me,
66
+ up: Ee,
67
+ down: Ie
68
+ }), {
69
+ tableData: V,
70
+ total: _,
71
+ listLoading: P,
72
+ selectionRows: F,
73
+ multipleTableRef: z,
74
+ queryFormRef: M,
75
+ getList: v,
76
+ handleQuery: b,
77
+ deleteRecord: B,
78
+ deleteRecords: U,
79
+ handleMoveTop: q,
80
+ // 上移
81
+ handleMoveDown: K
82
+ // 下移
83
+ } = fe(s, D, d), {
84
+ parIndex: L,
85
+ tableArray: x,
86
+ getLocalStorageContent: A,
87
+ fixedChange: Q,
88
+ isShowChange: j
89
+ } = _e(f, "/system/module");
90
+ function G(e) {
91
+ F.value = e;
92
+ }
93
+ function H() {
94
+ M.value.resetFields(), b();
95
+ }
96
+ function J() {
97
+ for (const e in c)
98
+ c[e] = "";
99
+ i.title = s("common.add"), i.visible = !0;
100
+ }
101
+ function O(e) {
102
+ i.title = s("common.edit"), i.visible = !0, c = { ...e };
103
+ }
104
+ function W(e) {
105
+ i.visible = e;
106
+ }
107
+ function X(e) {
108
+ e && v();
109
+ }
110
+ return A(), f = x.value, v(), (e, n) => {
111
+ const E = re, k = ge, g = me, Y = ye, I = pe, Z = be, ee = ce, oe = R("Bottom"), N = ue, te = R("Top"), le = de, ae = ne, y = he("hasPerm");
112
+ return r(), $("div", Re, [
113
+ t(Y, {
114
+ ref_key: "queryFormRef",
115
+ ref: M,
116
+ model: d,
117
+ inline: !0
118
+ }, {
119
+ default: a(() => [
120
+ t(k, {
121
+ label: e.$t("sysModule.code"),
122
+ prop: "moduleCode"
123
+ }, {
124
+ default: a(() => [
125
+ t(E, {
126
+ modelValue: d.moduleCode,
127
+ "onUpdate:modelValue": n[0] || (n[0] = (l) => d.moduleCode = l),
128
+ placeholder: e.$t("sysModule.codeRequired"),
129
+ onKeyup: T(o(b), ["enter"])
130
+ }, null, 8, ["modelValue", "placeholder", "onKeyup"])
131
+ ]),
132
+ _: 1
133
+ }, 8, ["label"]),
134
+ t(k, {
135
+ label: e.$t("sysModule.name"),
136
+ prop: "likeModuleName"
137
+ }, {
138
+ default: a(() => [
139
+ t(E, {
140
+ modelValue: d.likeModuleName,
141
+ "onUpdate:modelValue": n[1] || (n[1] = (l) => d.likeModuleName = l),
142
+ placeholder: e.$t("sysModule.nameRequired"),
143
+ onKeyup: T(o(b), ["enter"])
144
+ }, null, 8, ["modelValue", "placeholder", "onKeyup"])
145
+ ]),
146
+ _: 1
147
+ }, 8, ["label"]),
148
+ t(k, { class: "search-container" }, {
149
+ default: a(() => [
150
+ t(g, {
151
+ type: "primary",
152
+ onClick: o(b)
153
+ }, {
154
+ default: a(() => [
155
+ m(u(e.$t("common.search")), 1)
156
+ ]),
157
+ _: 1
158
+ }, 8, ["onClick"]),
159
+ t(g, { onClick: H }, {
160
+ default: a(() => [
161
+ m(u(e.$t("common.reset")), 1)
162
+ ]),
163
+ _: 1
164
+ })
165
+ ]),
166
+ _: 1
167
+ })
168
+ ]),
169
+ _: 1
170
+ }, 8, ["model"]),
171
+ Te,
172
+ t(ee, { justify: "space-between" }, {
173
+ default: a(() => [
174
+ t(I, { span: 19 }, {
175
+ default: a(() => [
176
+ C((r(), h(g, {
177
+ type: "primary",
178
+ onClick: J
179
+ }, {
180
+ default: a(() => [
181
+ m(u(e.$t("common.add")), 1)
182
+ ]),
183
+ _: 1
184
+ })), [
185
+ [y, ["rbac:module:add"]]
186
+ ]),
187
+ C((r(), h(g, {
188
+ type: "primary",
189
+ onClick: n[2] || (n[2] = (l) => o(U)("moduleId"))
190
+ }, {
191
+ default: a(() => [
192
+ m(u(e.$t("common.batchDelete")), 1)
193
+ ]),
194
+ _: 1
195
+ })), [
196
+ [y, ["rbac:module:delete"]]
197
+ ])
198
+ ]),
199
+ _: 1
200
+ }),
201
+ t(I, {
202
+ span: 5,
203
+ class: "container-float"
204
+ }, {
205
+ default: a(() => [
206
+ t(Z, {
207
+ "table-label": o(f),
208
+ "par-index": o(L),
209
+ onFixedChange: o(Q),
210
+ onIsShowChange: o(j)
211
+ }, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
212
+ ]),
213
+ _: 1
214
+ })
215
+ ]),
216
+ _: 1
217
+ }),
218
+ t(le, {
219
+ class: "table-top",
220
+ ref_key: "multipleTableRef",
221
+ ref: z,
222
+ "row-keys": "moduleId",
223
+ "table-data": o(V),
224
+ "list-loading": o(P),
225
+ "table-label": o(f),
226
+ onTableSelected: G
227
+ }, {
228
+ sort: a((l) => [
229
+ t(N, {
230
+ size: "16",
231
+ onClick: (w) => o(K)(l.data.row.moduleId)
232
+ }, {
233
+ default: a(() => [
234
+ t(oe)
235
+ ]),
236
+ _: 2
237
+ }, 1032, ["onClick"]),
238
+ t(N, {
239
+ size: "16",
240
+ onClick: (w) => o(q)(l.data.row.moduleId)
241
+ }, {
242
+ default: a(() => [
243
+ t(te)
244
+ ]),
245
+ _: 2
246
+ }, 1032, ["onClick"])
247
+ ]),
248
+ operation: a((l) => [
249
+ C((r(), $("span", {
250
+ class: "el-button-color",
251
+ onClick: (w) => O(l.data.row)
252
+ }, [
253
+ m(u(e.$t("common.edit")), 1)
254
+ ], 8, Se)), [
255
+ [y, ["rbac:module:update"]]
256
+ ]),
257
+ C((r(), $("span", {
258
+ class: "el-button-color dropdown-left",
259
+ onClick: (w) => o(B)(l.data.row.moduleId)
260
+ }, [
261
+ m(u(e.$t("common.delete")), 1)
262
+ ], 8, De)), [
263
+ [y, ["rbac:module:delete"]]
264
+ ])
265
+ ]),
266
+ _: 1
267
+ }, 8, ["table-data", "list-loading", "table-label"]),
268
+ o(_) > 0 ? (r(), h(ae, {
269
+ key: 0,
270
+ total: o(_),
271
+ "onUpdate:total": n[3] || (n[3] = (l) => ve(_) ? _.value = l : null),
272
+ page: d.curPage,
273
+ "onUpdate:page": n[4] || (n[4] = (l) => d.curPage = l),
274
+ limit: d.pageSize,
275
+ "onUpdate:limit": n[5] || (n[5] = (l) => d.pageSize = l),
276
+ onPagination: o(v)
277
+ }, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
278
+ i.visible ? (r(), h(Ne, {
279
+ key: 1,
280
+ dialog: i,
281
+ "form-data": o(c),
282
+ onDialogEvent: W,
283
+ onRefresh: X
284
+ }, null, 8, ["dialog", "form-data"])) : S("", !0)
285
+ ]);
286
+ };
287
+ }
288
+ });
289
+ export {
290
+ Qe as default
291
+ };
@@ -0,0 +1,74 @@
1
+ import { ar as r, d as a } from "./index-B6wY38lY.mjs";
2
+ function u(e) {
3
+ return r({
4
+ url: "/v1/rbac/perm/page",
5
+ method: "get",
6
+ params: e
7
+ });
8
+ }
9
+ function m(e) {
10
+ const t = {
11
+ tenant: a().user.tenant,
12
+ permId: e
13
+ };
14
+ return r({
15
+ url: "/v1/rbac/perm/id",
16
+ method: "delete",
17
+ params: t
18
+ });
19
+ }
20
+ function c(e) {
21
+ return r({
22
+ url: "/v1/rbac/perm",
23
+ method: "post",
24
+ data: e
25
+ });
26
+ }
27
+ function s(e) {
28
+ return r({
29
+ url: "/v1/rbac/perm",
30
+ method: "patch",
31
+ data: e
32
+ });
33
+ }
34
+ function o(e) {
35
+ const t = {
36
+ tenant: a().user.tenant,
37
+ permId: e
38
+ };
39
+ return r({
40
+ url: "/v1/rbac/perm/batch",
41
+ method: "put",
42
+ data: t
43
+ });
44
+ }
45
+ function p(e) {
46
+ const t = {
47
+ tenant: a().user.tenant,
48
+ moduleId: e
49
+ };
50
+ return r({
51
+ url: "/v1/rbac/perm/permlist",
52
+ method: "get",
53
+ params: t
54
+ });
55
+ }
56
+ function d(e) {
57
+ return r({
58
+ url: "/v1/rbac/perm/check",
59
+ method: "get",
60
+ params: {
61
+ tenant: a().user.tenant,
62
+ permCode: e
63
+ }
64
+ });
65
+ }
66
+ export {
67
+ c as a,
68
+ o as b,
69
+ d as c,
70
+ m as d,
71
+ s as e,
72
+ u as g,
73
+ p
74
+ };