jmash-core 0.0.39 → 0.0.41

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 (73) hide show
  1. package/dist/{401-CdhEu4T4.mjs → 401-CJFCHgSZ.mjs} +2 -2
  2. package/dist/{404-DkL9XgVz.mjs → 404-CIMxkP9D.mjs} +1 -1
  3. package/dist/{BarChart-BAUAF2EM.mjs → BarChart-DU09mkLm.mjs} +2 -2
  4. package/dist/{PieChart-DawdhjgV.mjs → PieChart-CoqFm60I.mjs} +1 -1
  5. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-BNpfYKP_.mjs → PieChart.vue_vue_type_script_setup_true_lang-sfYOFNKO.mjs} +2 -2
  6. package/dist/{RadarChart-Cmy4Kx6_.mjs → RadarChart-0WISsxpt.mjs} +1 -1
  7. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DSbItcHQ.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BIOHXswr.mjs} +2 -2
  8. package/dist/{el-card-C34Q0Uym.mjs → el-card-DTXS4SWb.mjs} +1 -1
  9. package/dist/{el-col-B52VUKzg.mjs → el-col-C1oER81S.mjs} +1 -1
  10. package/dist/{el-form-item-B4UdYQRs.mjs → el-form-item-CJcAbcqr.mjs} +76 -76
  11. package/dist/{index-C8YRqnUz.mjs → index-BAk-5oG9.mjs} +1 -1
  12. package/dist/{index-C80YQc_W.mjs → index-BwIx8FCt.mjs} +32 -32
  13. package/dist/{index-uMvRmAE4.mjs → index-C195Pa7c.mjs} +9761 -11328
  14. package/dist/{index-C8BZXM0g.mjs → index-DB4OW-7Q.mjs} +982 -946
  15. package/dist/{index-Bo7YJt82.mjs → index-ORr19rEl.mjs} +48 -48
  16. package/dist/index.mjs +40 -37
  17. package/dist/index.vue_vue_type_script_setup_true_lang-fPrQh0lj.mjs +720 -0
  18. package/dist/{picture-BWU-5yjz.mjs → picture-Cpgh-vo-.mjs} +106 -106
  19. package/dist/{position-C-x4QW6J.mjs → position-M0AZIV5D.mjs} +1 -1
  20. package/dist/profile-DBegP-cF.mjs +4904 -0
  21. package/dist/{runAs-TvH5stYU.mjs → runAs-xhA9mf-i.mjs} +1 -1
  22. package/dist/runAs.vue_vue_type_script_setup_true_lang-DLfQ0lsg.mjs +610 -0
  23. package/dist/style.css +1 -1
  24. package/dist/{types-D2erVkDs.mjs → types-FkPgztcJ.mjs} +4 -3
  25. package/dist/{updatePwd-B2_g0SZo.mjs → updatePwd-D1EnTbTY.mjs} +1 -1
  26. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-BizfnzzV.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DkH3J5K0.mjs} +20 -20
  27. package/dts/src/api/auth/index.d.ts +27 -2
  28. package/dts/src/api/auth/types.d.ts +42 -34
  29. package/dts/src/api/index.d.ts +7 -1
  30. package/dts/src/api/types.d.ts +10 -0
  31. package/dts/src/index.d.ts +9 -8
  32. package/dts/src/lang/package/zh-cn.d.ts +2 -0
  33. package/dts/src/router/index.d.ts +5 -3
  34. package/dts/src/utils/request.d.ts +2 -0
  35. package/package.json +1 -1
  36. package/dist/edit-BLaPAzUL.mjs +0 -4
  37. package/dist/edit-BXuyxZh9.mjs +0 -4
  38. package/dist/edit-CFf0s07O.mjs +0 -823
  39. package/dist/edit-DZ9hTXeR.mjs +0 -4
  40. package/dist/edit-DlrFLzTL.mjs +0 -4
  41. package/dist/edit-EdaB9SSf.mjs +0 -4
  42. package/dist/edit-Kne2PwwU.mjs +0 -459
  43. package/dist/edit-jg9l_Reg.mjs +0 -4
  44. package/dist/edit.vue_vue_type_script_setup_true_lang-4rHDZXXI.mjs +0 -216
  45. package/dist/edit.vue_vue_type_script_setup_true_lang-BC1zWgeA.mjs +0 -593
  46. package/dist/edit.vue_vue_type_script_setup_true_lang-BckjVLbr.mjs +0 -136
  47. package/dist/edit.vue_vue_type_script_setup_true_lang-Bd_6zzD7.mjs +0 -157
  48. package/dist/edit.vue_vue_type_script_setup_true_lang-BmDTKxvL.mjs +0 -280
  49. package/dist/edit.vue_vue_type_script_setup_true_lang-BwDzJpxL.mjs +0 -226
  50. package/dist/el-checkbox-group-l0sNRNKZ.mjs +0 -1
  51. package/dist/el-date-picker-ZuZ7Icew.mjs +0 -3345
  52. package/dist/el-divider-B2Q7h8Ue.mjs +0 -45
  53. package/dist/el-dropdown-item-CF7AWJJk.mjs +0 -671
  54. package/dist/el-tree-select-B2n1iK36.mjs +0 -1313
  55. package/dist/index-BBtOEuTE.mjs +0 -280
  56. package/dist/index-BYBALKYQ.mjs +0 -74
  57. package/dist/index-BZ0HWESU.mjs +0 -949
  58. package/dist/index-BoC2W_nt.mjs +0 -280
  59. package/dist/index-CLxvt-Vt.mjs +0 -292
  60. package/dist/index-CoJe3ek6.mjs +0 -280
  61. package/dist/index-CtCbUL0r.mjs +0 -471
  62. package/dist/index-D-Ce5smQ.mjs +0 -505
  63. package/dist/index-DDBu5r9o.mjs +0 -93
  64. package/dist/index-DFRe9_oD.mjs +0 -480
  65. package/dist/index-DHMuTZ7a.mjs +0 -246
  66. package/dist/index-DqfVM012.mjs +0 -502
  67. package/dist/index-Niej8SwP.mjs +0 -134
  68. package/dist/index-Orr0L_H3.mjs +0 -63
  69. package/dist/index-wDuQo7A0.mjs +0 -501
  70. package/dist/index.vue_vue_type_script_setup_true_lang-DIcVpe9M.mjs +0 -55
  71. package/dist/moment-CMYwqyVT.mjs +0 -2579
  72. package/dist/profile-VVxA40z5.mjs +0 -262
  73. package/dist/runAs.vue_vue_type_script_setup_true_lang-BHqTCD_Q.mjs +0 -114
@@ -1,280 +0,0 @@
1
- import { $ as le, aS as ie, aT as re, s as se, t as pe, aV as de, E as me, aQ as ce, b9 as ue } from "./index-uMvRmAE4.mjs";
2
- import { E as _e, a as fe } from "./el-col-B52VUKzg.mjs";
3
- import { E as be, a as ge } from "./el-form-item-B4UdYQRs.mjs";
4
- import { defineComponent as Ce, reactive as d, resolveComponent as N, resolveDirective as ye, openBlock as p, createElementBlock as $, createVNode as t, withCtx as n, withKeys as R, unref as o, createTextVNode as m, toDisplayString as c, withDirectives as C, createBlock as y, isRef as ve, createCommentVNode as S, createElementVNode as he } from "vue";
5
- import "element-plus";
6
- import { useI18n as ke } from "vue-i18n";
7
- import { g as we, d as $e, b as Ee, m as Oe, a as Te, _ as Ie } from "./edit.vue_vue_type_script_setup_true_lang-BwDzJpxL.mjs";
8
- const Ne = { class: "app-container" }, Re = /* @__PURE__ */ he("div", { class: "clear" }, null, -1), Se = ["onClick"], Ve = ["onClick"], Le = /* @__PURE__ */ Ce({
9
- __name: "index",
10
- setup(De) {
11
- const { t: r } = ke(), i = d({
12
- tenant: le().user.tenant,
13
- curPage: 1,
14
- pageSize: 10
15
- });
16
- let v = d({
17
- operationCode: "",
18
- operationName: ""
19
- }), u = d([
20
- {
21
- label: r("sysOperation.code"),
22
- prop: "operationCode",
23
- isColumn: !0
24
- },
25
- {
26
- label: r("sysOperation.name"),
27
- prop: "operationName",
28
- isColumn: !0
29
- },
30
- {
31
- label: r("sysOperation.sort"),
32
- width: "100",
33
- columnType: "slot",
34
- slotName: "sort",
35
- isColumn: !0
36
- },
37
- {
38
- label: r("common.operate"),
39
- width: "200",
40
- columnType: "slot",
41
- slotName: "operation",
42
- fixed: "right",
43
- isColumn: !0
44
- }
45
- ]);
46
- const s = d({
47
- visible: !1,
48
- title: ""
49
- }), V = d({
50
- list: we,
51
- del: $e,
52
- dels: Ee,
53
- up: Oe,
54
- down: Te
55
- }), {
56
- tableData: D,
57
- total: _,
58
- listLoading: P,
59
- selectionRows: F,
60
- multipleTableRef: B,
61
- queryFormRef: E,
62
- getList: h,
63
- handleQuery: f,
64
- deleteRecord: U,
65
- deleteRecords: q,
66
- handleMoveTop: z,
67
- // 上移
68
- handleMoveDown: K
69
- // 下移
70
- } = ie(r, V, i), {
71
- parIndex: L,
72
- tableArray: Q,
73
- getLocalStorageContent: x,
74
- fixedChange: A,
75
- isShowChange: M
76
- } = re(u, "/system/operation");
77
- function j(e) {
78
- F.value = e;
79
- }
80
- function G() {
81
- E.value.resetFields(), f();
82
- }
83
- function H() {
84
- v = d({
85
- operationCode: "",
86
- operationName: ""
87
- }), s.title = r("common.add"), s.visible = !0;
88
- }
89
- function J(e) {
90
- s.title = r("common.edit"), s.visible = !0, v = { ...e };
91
- }
92
- function W(e) {
93
- s.visible = e;
94
- }
95
- function X(e) {
96
- e && h();
97
- }
98
- return x(), u = Q.value, h(), (e, l) => {
99
- const O = se, k = be, b = pe, Y = ge, T = _e, Z = de, ee = fe, oe = N("Bottom"), I = me, te = N("Top"), ae = ce, ne = ue, g = ye("hasPerm");
100
- return p(), $("div", Ne, [
101
- t(Y, {
102
- ref_key: "queryFormRef",
103
- ref: E,
104
- model: i,
105
- inline: !0
106
- }, {
107
- default: n(() => [
108
- t(k, {
109
- label: e.$t("sysOperation.code"),
110
- prop: "operationCode"
111
- }, {
112
- default: n(() => [
113
- t(O, {
114
- modelValue: i.operationCode,
115
- "onUpdate:modelValue": l[0] || (l[0] = (a) => i.operationCode = a),
116
- placeholder: e.$t("sysOperation.codeRequired"),
117
- onKeyup: R(o(f), ["enter"])
118
- }, null, 8, ["modelValue", "placeholder", "onKeyup"])
119
- ]),
120
- _: 1
121
- }, 8, ["label"]),
122
- t(k, {
123
- label: e.$t("sysOperation.name"),
124
- prop: "likeOperationName"
125
- }, {
126
- default: n(() => [
127
- t(O, {
128
- modelValue: i.likeOperationName,
129
- "onUpdate:modelValue": l[1] || (l[1] = (a) => i.likeOperationName = a),
130
- placeholder: e.$t("sysOperation.nameRequired"),
131
- clearable: "",
132
- onKeyup: R(o(f), ["enter"])
133
- }, null, 8, ["modelValue", "placeholder", "onKeyup"])
134
- ]),
135
- _: 1
136
- }, 8, ["label"]),
137
- t(k, { class: "search-container" }, {
138
- default: n(() => [
139
- t(b, {
140
- type: "primary",
141
- onClick: o(f)
142
- }, {
143
- default: n(() => [
144
- m(c(e.$t("common.search")), 1)
145
- ]),
146
- _: 1
147
- }, 8, ["onClick"]),
148
- t(b, { onClick: G }, {
149
- default: n(() => [
150
- m(c(e.$t("common.reset")), 1)
151
- ]),
152
- _: 1
153
- })
154
- ]),
155
- _: 1
156
- })
157
- ]),
158
- _: 1
159
- }, 8, ["model"]),
160
- Re,
161
- t(ee, { justify: "space-between" }, {
162
- default: n(() => [
163
- t(T, { span: 19 }, {
164
- default: n(() => [
165
- C((p(), y(b, {
166
- type: "primary",
167
- onClick: H
168
- }, {
169
- default: n(() => [
170
- m(c(e.$t("common.add")), 1)
171
- ]),
172
- _: 1
173
- })), [
174
- [g, ["rbac:operation:add"]]
175
- ]),
176
- C((p(), y(b, {
177
- type: "primary",
178
- onClick: l[2] || (l[2] = (a) => o(q)("operationId"))
179
- }, {
180
- default: n(() => [
181
- m(c(e.$t("common.batchDelete")), 1)
182
- ]),
183
- _: 1
184
- })), [
185
- [g, ["rbac:operation:delete"]]
186
- ])
187
- ]),
188
- _: 1
189
- }),
190
- t(T, {
191
- span: 5,
192
- class: "container-float"
193
- }, {
194
- default: n(() => [
195
- t(Z, {
196
- "table-label": o(u),
197
- "par-index": o(L),
198
- onFixedChange: o(A),
199
- onIsShowChange: o(M)
200
- }, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
201
- ]),
202
- _: 1
203
- })
204
- ]),
205
- _: 1
206
- }),
207
- t(ae, {
208
- class: "table-top",
209
- ref_key: "multipleTableRef",
210
- ref: B,
211
- "row-keys": "operationId",
212
- "table-data": o(D),
213
- "list-loading": o(P),
214
- "table-label": o(u),
215
- onTableSelected: j
216
- }, {
217
- sort: n((a) => [
218
- t(I, {
219
- size: "16",
220
- onClick: (w) => o(K)(a.data.row.operationId)
221
- }, {
222
- default: n(() => [
223
- t(oe)
224
- ]),
225
- _: 2
226
- }, 1032, ["onClick"]),
227
- t(I, {
228
- size: "16",
229
- onClick: (w) => o(z)(a.data.row.operationId)
230
- }, {
231
- default: n(() => [
232
- t(te)
233
- ]),
234
- _: 2
235
- }, 1032, ["onClick"])
236
- ]),
237
- operation: n((a) => [
238
- C((p(), $("span", {
239
- class: "el-button-color",
240
- onClick: (w) => J(a.data.row)
241
- }, [
242
- m(c(e.$t("common.edit")), 1)
243
- ], 8, Se)), [
244
- [g, ["rbac:operation:update"]]
245
- ]),
246
- C((p(), $("span", {
247
- class: "el-button-color dropdown-left",
248
- onClick: (w) => o(U)(a.data.row.operationId)
249
- }, [
250
- m(c(e.$t("common.delete")), 1)
251
- ], 8, Ve)), [
252
- [g, ["rbac:operation:delete"]]
253
- ])
254
- ]),
255
- _: 1
256
- }, 8, ["table-data", "list-loading", "table-label"]),
257
- o(_) > 0 ? (p(), y(ne, {
258
- key: 0,
259
- total: o(_),
260
- "onUpdate:total": l[3] || (l[3] = (a) => ve(_) ? _.value = a : null),
261
- page: i.curPage,
262
- "onUpdate:page": l[4] || (l[4] = (a) => i.curPage = a),
263
- limit: i.pageSize,
264
- "onUpdate:limit": l[5] || (l[5] = (a) => i.pageSize = a),
265
- onPagination: o(h)
266
- }, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
267
- s.visible ? (p(), y(Ie, {
268
- key: 1,
269
- dialog: s,
270
- "form-data": o(v),
271
- onDialogEvent: W,
272
- onRefresh: X
273
- }, null, 8, ["dialog", "form-data"])) : S("", !0)
274
- ]);
275
- };
276
- }
277
- });
278
- export {
279
- Le as default
280
- };
@@ -1,74 +0,0 @@
1
- import { b5 as r, $ as a } from "./index-uMvRmAE4.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
- };