jmash-core 0.0.40 → 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 (70) hide show
  1. package/dist/{401-CEl3xZ9U.mjs → 401-CJFCHgSZ.mjs} +2 -2
  2. package/dist/{404-BJI4jQGp.mjs → 404-CIMxkP9D.mjs} +1 -1
  3. package/dist/{BarChart-DdL2YjH9.mjs → BarChart-DU09mkLm.mjs} +2 -2
  4. package/dist/{PieChart-DpRLzU_D.mjs → PieChart-CoqFm60I.mjs} +1 -1
  5. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-Db-lqTD8.mjs → PieChart.vue_vue_type_script_setup_true_lang-sfYOFNKO.mjs} +2 -2
  6. package/dist/{RadarChart-2a1QGb0r.mjs → RadarChart-0WISsxpt.mjs} +1 -1
  7. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-CwF9slnO.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BIOHXswr.mjs} +2 -2
  8. package/dist/{el-card-FMIPeWk6.mjs → el-card-DTXS4SWb.mjs} +1 -1
  9. package/dist/{el-col-8K1Xv7aq.mjs → el-col-C1oER81S.mjs} +1 -1
  10. package/dist/{el-form-item-J_27GFln.mjs → el-form-item-CJcAbcqr.mjs} +76 -76
  11. package/dist/{index-BB9i38wB.mjs → index-BAk-5oG9.mjs} +1 -1
  12. package/dist/{index--oHFkGGF.mjs → index-BwIx8FCt.mjs} +32 -32
  13. package/dist/{index-C_arFWKZ.mjs → index-C195Pa7c.mjs} +9759 -11332
  14. package/dist/{index-Ca93omwQ.mjs → index-DB4OW-7Q.mjs} +980 -944
  15. package/dist/{index-BUndPokw.mjs → index-ORr19rEl.mjs} +42 -42
  16. package/dist/index.mjs +36 -36
  17. package/dist/index.vue_vue_type_script_setup_true_lang-fPrQh0lj.mjs +720 -0
  18. package/dist/{picture-BQKPWIIU.mjs → picture-Cpgh-vo-.mjs} +106 -106
  19. package/dist/{position-DZbY0x3r.mjs → position-M0AZIV5D.mjs} +1 -1
  20. package/dist/profile-DBegP-cF.mjs +4904 -0
  21. package/dist/{runAs-DSfasz8M.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-BHZ78WKD.mjs → types-FkPgztcJ.mjs} +4 -3
  25. package/dist/{updatePwd-D2U2rq9Q.mjs → updatePwd-D1EnTbTY.mjs} +1 -1
  26. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-HlhGZun3.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/index.d.ts +2 -3
  30. package/dts/src/lang/package/zh-cn.d.ts +2 -0
  31. package/dts/src/utils/request.d.ts +2 -0
  32. package/package.json +1 -1
  33. package/dist/edit-BEz2CGVA.mjs +0 -4
  34. package/dist/edit-BfCUuHU7.mjs +0 -823
  35. package/dist/edit-BjIGOyRY.mjs +0 -4
  36. package/dist/edit-ByyeESA7.mjs +0 -4
  37. package/dist/edit-DCqdRa7R.mjs +0 -4
  38. package/dist/edit-DaPZ7RSc.mjs +0 -4
  39. package/dist/edit-Mg7mOWDc.mjs +0 -4
  40. package/dist/edit-voW3EO87.mjs +0 -459
  41. package/dist/edit.vue_vue_type_script_setup_true_lang-BCgNC4mY.mjs +0 -136
  42. package/dist/edit.vue_vue_type_script_setup_true_lang-BMYBrnHy.mjs +0 -280
  43. package/dist/edit.vue_vue_type_script_setup_true_lang-C-WS99W7.mjs +0 -157
  44. package/dist/edit.vue_vue_type_script_setup_true_lang-CylQxP9Z.mjs +0 -226
  45. package/dist/edit.vue_vue_type_script_setup_true_lang-DDCQNqdc.mjs +0 -593
  46. package/dist/edit.vue_vue_type_script_setup_true_lang-DyO-f1Lc.mjs +0 -216
  47. package/dist/el-checkbox-group-l0sNRNKZ.mjs +0 -1
  48. package/dist/el-date-picker-CHigi6WN.mjs +0 -3345
  49. package/dist/el-divider-Cg4Mgsu-.mjs +0 -45
  50. package/dist/el-dropdown-item-DHcRJ-Fg.mjs +0 -671
  51. package/dist/el-tree-select-C4cU2Ot7.mjs +0 -1313
  52. package/dist/index-9e59vbzb.mjs +0 -949
  53. package/dist/index-B5IfrzOt.mjs +0 -63
  54. package/dist/index-BcxeqvFF.mjs +0 -505
  55. package/dist/index-BoT8a4D9.mjs +0 -480
  56. package/dist/index-BzsE8aZb.mjs +0 -280
  57. package/dist/index-CKu3Vm7Y.mjs +0 -246
  58. package/dist/index-CPi9CcGt.mjs +0 -134
  59. package/dist/index-CdarTP7Q.mjs +0 -471
  60. package/dist/index-D3kdKwxs.mjs +0 -292
  61. package/dist/index-D7uxePGV.mjs +0 -501
  62. package/dist/index-DSwTLzp1.mjs +0 -74
  63. package/dist/index-Dd9wDjLG.mjs +0 -280
  64. package/dist/index-DdnQhmYX.mjs +0 -502
  65. package/dist/index-DsmvLyNJ.mjs +0 -93
  66. package/dist/index-VD2Oa87u.mjs +0 -280
  67. package/dist/index.vue_vue_type_script_setup_true_lang-BUTwLlja.mjs +0 -55
  68. package/dist/moment-CMYwqyVT.mjs +0 -2579
  69. package/dist/profile-Blgfj6Pw.mjs +0 -262
  70. package/dist/runAs.vue_vue_type_script_setup_true_lang-xOMc-WaC.mjs +0 -114
@@ -1,292 +0,0 @@
1
- import { $ as ne, aS as de, aT as se, s as ie, t as re, aV as me, E as ue, aQ as pe, b9 as ce } from "./index-C_arFWKZ.mjs";
2
- import { E as fe, a as _e } from "./el-col-8K1Xv7aq.mjs";
3
- import { E as be, a as Ce } from "./el-form-item-J_27GFln.mjs";
4
- import { defineComponent as ge, reactive as m, resolveComponent as T, resolveDirective as ye, openBlock as r, createElementBlock as $, createVNode as l, withCtx as a, withKeys as R, unref as o, createTextVNode as u, toDisplayString as p, withDirectives as g, 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 Me, a as Ee, c as Ie } from "./index-DsmvLyNJ.mjs";
8
- import { _ as Ne } from "./edit.vue_vue_type_script_setup_true_lang-C-WS99W7.mjs";
9
- const Te = { class: "app-container" }, Re = /* @__PURE__ */ he("div", { class: "clear" }, null, -1), Se = ["onClick"], Ve = ["onClick"], Qe = /* @__PURE__ */ ge({
10
- __name: "index",
11
- setup(De) {
12
- const { t: s } = ke(), d = m({
13
- tenant: ne().user.tenant,
14
- curPage: 1,
15
- pageSize: 10
16
- });
17
- let v = m({
18
- moduleId: "",
19
- moduleCode: "",
20
- moduleName: "",
21
- description: ""
22
- }), c = m([
23
- {
24
- label: s("sysModule.code"),
25
- width: "200",
26
- prop: "moduleCode",
27
- isColumn: !0
28
- },
29
- {
30
- label: s("sysModule.name"),
31
- width: "200",
32
- prop: "moduleName",
33
- isColumn: !0
34
- },
35
- {
36
- label: s("sysModule.description"),
37
- prop: "description",
38
- isColumn: !0
39
- },
40
- {
41
- label: s("sysModule.sort"),
42
- width: "100",
43
- prop: "orderName",
44
- columnType: "slot",
45
- slotName: "sort",
46
- isColumn: !0
47
- },
48
- {
49
- label: s("common.operate"),
50
- width: "200",
51
- columnType: "slot",
52
- slotName: "operation",
53
- fixed: "right",
54
- isColumn: !0
55
- }
56
- ]);
57
- const i = m({
58
- visible: !1,
59
- title: ""
60
- }), V = m({
61
- list: we,
62
- del: $e,
63
- dels: Me,
64
- up: Ee,
65
- down: Ie
66
- }), {
67
- tableData: D,
68
- total: f,
69
- listLoading: P,
70
- selectionRows: F,
71
- multipleTableRef: B,
72
- queryFormRef: M,
73
- getList: h,
74
- handleQuery: _,
75
- deleteRecord: U,
76
- deleteRecords: q,
77
- handleMoveTop: z,
78
- // 上移
79
- handleMoveDown: K
80
- // 下移
81
- } = de(s, V, d), {
82
- parIndex: L,
83
- tableArray: Q,
84
- getLocalStorageContent: x,
85
- fixedChange: A,
86
- isShowChange: j
87
- } = se(c, "/system/module");
88
- function G(e) {
89
- F.value = e;
90
- }
91
- function H() {
92
- M.value.resetFields(), _();
93
- }
94
- function J() {
95
- v = m({
96
- moduleId: "",
97
- moduleCode: "",
98
- moduleName: "",
99
- description: ""
100
- }), i.title = s("common.add"), i.visible = !0;
101
- }
102
- function O(e) {
103
- i.title = s("common.edit"), i.visible = !0, v = { ...e };
104
- }
105
- function W(e) {
106
- i.visible = e;
107
- }
108
- function X(e) {
109
- e && h();
110
- }
111
- return x(), c = Q.value, h(), (e, n) => {
112
- const E = ie, k = be, b = re, Y = Ce, I = fe, Z = me, ee = _e, oe = T("Bottom"), N = ue, le = T("Top"), te = pe, ae = ce, C = ye("hasPerm");
113
- return r(), $("div", Te, [
114
- l(Y, {
115
- ref_key: "queryFormRef",
116
- ref: M,
117
- model: d,
118
- inline: !0
119
- }, {
120
- default: a(() => [
121
- l(k, {
122
- label: e.$t("sysModule.code"),
123
- prop: "moduleCode"
124
- }, {
125
- default: a(() => [
126
- l(E, {
127
- modelValue: d.moduleCode,
128
- "onUpdate:modelValue": n[0] || (n[0] = (t) => d.moduleCode = t),
129
- placeholder: e.$t("sysModule.codeRequired"),
130
- onKeyup: R(o(_), ["enter"])
131
- }, null, 8, ["modelValue", "placeholder", "onKeyup"])
132
- ]),
133
- _: 1
134
- }, 8, ["label"]),
135
- l(k, {
136
- label: e.$t("sysModule.name"),
137
- prop: "likeModuleName"
138
- }, {
139
- default: a(() => [
140
- l(E, {
141
- modelValue: d.likeModuleName,
142
- "onUpdate:modelValue": n[1] || (n[1] = (t) => d.likeModuleName = t),
143
- placeholder: e.$t("sysModule.nameRequired"),
144
- onKeyup: R(o(_), ["enter"])
145
- }, null, 8, ["modelValue", "placeholder", "onKeyup"])
146
- ]),
147
- _: 1
148
- }, 8, ["label"]),
149
- l(k, { class: "search-container" }, {
150
- default: a(() => [
151
- l(b, {
152
- type: "primary",
153
- onClick: o(_)
154
- }, {
155
- default: a(() => [
156
- u(p(e.$t("common.search")), 1)
157
- ]),
158
- _: 1
159
- }, 8, ["onClick"]),
160
- l(b, { onClick: H }, {
161
- default: a(() => [
162
- u(p(e.$t("common.reset")), 1)
163
- ]),
164
- _: 1
165
- })
166
- ]),
167
- _: 1
168
- })
169
- ]),
170
- _: 1
171
- }, 8, ["model"]),
172
- Re,
173
- l(ee, { justify: "space-between" }, {
174
- default: a(() => [
175
- l(I, { span: 19 }, {
176
- default: a(() => [
177
- g((r(), y(b, {
178
- type: "primary",
179
- onClick: J
180
- }, {
181
- default: a(() => [
182
- u(p(e.$t("common.add")), 1)
183
- ]),
184
- _: 1
185
- })), [
186
- [C, ["rbac:module:add"]]
187
- ]),
188
- g((r(), y(b, {
189
- type: "primary",
190
- onClick: n[2] || (n[2] = (t) => o(q)("moduleId"))
191
- }, {
192
- default: a(() => [
193
- u(p(e.$t("common.batchDelete")), 1)
194
- ]),
195
- _: 1
196
- })), [
197
- [C, ["rbac:module:delete"]]
198
- ])
199
- ]),
200
- _: 1
201
- }),
202
- l(I, {
203
- span: 5,
204
- class: "container-float"
205
- }, {
206
- default: a(() => [
207
- l(Z, {
208
- "table-label": o(c),
209
- "par-index": o(L),
210
- onFixedChange: o(A),
211
- onIsShowChange: o(j)
212
- }, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
213
- ]),
214
- _: 1
215
- })
216
- ]),
217
- _: 1
218
- }),
219
- l(te, {
220
- class: "table-top",
221
- ref_key: "multipleTableRef",
222
- ref: B,
223
- "row-keys": "moduleId",
224
- "table-data": o(D),
225
- "list-loading": o(P),
226
- "table-label": o(c),
227
- onTableSelected: G
228
- }, {
229
- sort: a((t) => [
230
- l(N, {
231
- size: "16",
232
- onClick: (w) => o(K)(t.data.row.moduleId)
233
- }, {
234
- default: a(() => [
235
- l(oe)
236
- ]),
237
- _: 2
238
- }, 1032, ["onClick"]),
239
- l(N, {
240
- size: "16",
241
- onClick: (w) => o(z)(t.data.row.moduleId)
242
- }, {
243
- default: a(() => [
244
- l(le)
245
- ]),
246
- _: 2
247
- }, 1032, ["onClick"])
248
- ]),
249
- operation: a((t) => [
250
- g((r(), $("span", {
251
- class: "el-button-color",
252
- onClick: (w) => O(t.data.row)
253
- }, [
254
- u(p(e.$t("common.edit")), 1)
255
- ], 8, Se)), [
256
- [C, ["rbac:module:update"]]
257
- ]),
258
- g((r(), $("span", {
259
- class: "el-button-color dropdown-left",
260
- onClick: (w) => o(U)(t.data.row.moduleId)
261
- }, [
262
- u(p(e.$t("common.delete")), 1)
263
- ], 8, Ve)), [
264
- [C, ["rbac:module:delete"]]
265
- ])
266
- ]),
267
- _: 1
268
- }, 8, ["table-data", "list-loading", "table-label"]),
269
- o(f) > 0 ? (r(), y(ae, {
270
- key: 0,
271
- total: o(f),
272
- "onUpdate:total": n[3] || (n[3] = (t) => ve(f) ? f.value = t : null),
273
- page: d.curPage,
274
- "onUpdate:page": n[4] || (n[4] = (t) => d.curPage = t),
275
- limit: d.pageSize,
276
- "onUpdate:limit": n[5] || (n[5] = (t) => d.pageSize = t),
277
- onPagination: o(h)
278
- }, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
279
- i.visible ? (r(), y(Ne, {
280
- key: 1,
281
- dialog: i,
282
- "form-data": o(v),
283
- onDialogEvent: W,
284
- onRefresh: X
285
- }, null, 8, ["dialog", "form-data"])) : S("", !0)
286
- ]);
287
- };
288
- }
289
- });
290
- export {
291
- Qe as default
292
- };