jmash-core 0.0.13 → 0.0.15

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 (84) hide show
  1. package/dist/{401-LzXAVxnC.mjs → 401-BkJPlIzp.mjs} +2 -2
  2. package/dist/{404-BaS1xZmV.mjs → 404-BBmYfUdE.mjs} +1 -1
  3. package/dist/{BarChart-ClnlJEhi.mjs → BarChart-B6A8iUXj.mjs} +2 -2
  4. package/dist/{FileSaver.min-C7ddeQoo.mjs → FileSaver.min-CgOjN3Qg.mjs} +1 -1
  5. package/dist/{PieChart-BHM8amLk.mjs → PieChart-DX64TYZz.mjs} +1 -1
  6. package/dist/{PieChart.vue_vue_type_script_setup_true_lang-BaJNQr7Z.mjs → PieChart.vue_vue_type_script_setup_true_lang-DtGRvxtk.mjs} +2 -2
  7. package/dist/{RadarChart-ChaevZtZ.mjs → RadarChart-bUPojoRx.mjs} +1 -1
  8. package/dist/{RadarChart.vue_vue_type_script_setup_true_lang-DF4axEB-.mjs → RadarChart.vue_vue_type_script_setup_true_lang-BmDtds_e.mjs} +2 -2
  9. package/dist/{edit-D2udSsbu.mjs → edit-BSOs3vN5.mjs} +1 -1
  10. package/dist/{edit-ClmR7gql.mjs → edit-B_7Qd0xx.mjs} +1 -1
  11. package/dist/{edit-FahW6Usp.mjs → edit-Cm32AuKE.mjs} +24 -24
  12. package/dist/{edit-5MpAgj0J.mjs → edit-DI9xVL3f.mjs} +1 -1
  13. package/dist/{edit-Bz0L-kJZ.mjs → edit-HfjGZfbA.mjs} +1 -1
  14. package/dist/edit-K-SeNsHi.mjs +4 -0
  15. package/dist/{edit-oUUjQ6s5.mjs → edit-SaGTHCRi.mjs} +41 -40
  16. package/dist/edit-syovGHsx.mjs +4 -0
  17. package/dist/{edit.vue_vue_type_script_setup_true_lang-C5DH8_ra.mjs → edit.vue_vue_type_script_setup_true_lang-BY6U7HyH.mjs} +2 -2
  18. package/dist/{edit.vue_vue_type_script_setup_true_lang-F-7AWta2.mjs → edit.vue_vue_type_script_setup_true_lang-BZIGUF15.mjs} +38 -38
  19. package/dist/{edit.vue_vue_type_script_setup_true_lang-yaBZyiFi.mjs → edit.vue_vue_type_script_setup_true_lang-CXKNjagX.mjs} +32 -32
  20. package/dist/{edit.vue_vue_type_script_setup_true_lang-BpmgWV6c.mjs → edit.vue_vue_type_script_setup_true_lang-CvQyDvvs.mjs} +2 -2
  21. package/dist/{edit.vue_vue_type_script_setup_true_lang-BRk4mulZ.mjs → edit.vue_vue_type_script_setup_true_lang-DOBRRSJo.mjs} +4 -4
  22. package/dist/{edit.vue_vue_type_script_setup_true_lang-BFSwE0WY.mjs → edit.vue_vue_type_script_setup_true_lang-DdpRY-Il.mjs} +1 -1
  23. package/dist/{el-card-CjFpAXC4.mjs → el-card-DO00Wvz9.mjs} +1 -1
  24. package/dist/{el-col-D9kCVYAq.mjs → el-col-DFdwiQq6.mjs} +1 -1
  25. package/dist/{el-date-picker-_cuHa2hi.mjs → el-date-picker-BiAhUGOG.mjs} +1 -1
  26. package/dist/{el-divider-8Ov9f55F.mjs → el-divider-c2CLca4o.mjs} +1 -1
  27. package/dist/{el-dropdown-item-CSpUSfWV.mjs → el-dropdown-item-9E9GqcUL.mjs} +1 -1
  28. package/dist/{el-tree-select-BUK1QB3u.mjs → el-tree-select-CC0XwXVL.mjs} +2 -2
  29. package/dist/{index-DhjUimfd.mjs → index-B2TvQOt9.mjs} +4 -4
  30. package/dist/{index-hZzxBNan.mjs → index-BBMnmuNy.mjs} +8 -8
  31. package/dist/{index-CXJ-WW3h.mjs → index-BLIll5te.mjs} +6 -6
  32. package/dist/{index-Dav45Y13.mjs → index-Bozt9oGT.mjs} +64 -62
  33. package/dist/{index-BeFhB4ZJ.mjs → index-ByZF--LW.mjs} +1 -1
  34. package/dist/{index-C68JBxAE.mjs → index-CMrLCILj.mjs} +108 -107
  35. package/dist/{index-l9Oeu9G-.mjs → index-CRuu1sq3.mjs} +63 -60
  36. package/dist/{index-CYAfQz-w.mjs → index-CgTJTyzP.mjs} +1 -1
  37. package/dist/{index-DHQQEEWW.mjs → index-CiTJNDrg.mjs} +68 -65
  38. package/dist/{index-gaeN4E1_.mjs → index-CovctCXh.mjs} +64 -55
  39. package/dist/{index-D8zb68MK.mjs → index-DDZExl-h.mjs} +63 -59
  40. package/dist/{index-Cuk7sDz9.mjs → index-DQe98_8-.mjs} +65 -62
  41. package/dist/{index-GPbjfqQg.mjs → index-DSMgAe9r.mjs} +1 -1
  42. package/dist/{index-BYYYSOkP.mjs → index-DfG2Ushb.mjs} +1 -1
  43. package/dist/{index-CPqNZOs9.mjs → index-Dy5Mc1xa.mjs} +6055 -6154
  44. package/dist/{index-C34zVC-7.mjs → index-Dzz_DJ2A.mjs} +17 -16
  45. package/dist/{index-W4pvCYhJ.mjs → index-QGbAm-j4.mjs} +1 -1
  46. package/dist/{index-D9itg8P7.mjs → index-UYeY7Byx.mjs} +1 -1
  47. package/dist/{index-BkPB5eHC.mjs → index-WXrB1MMY.mjs} +76 -74
  48. package/dist/{index-DW1L3U1A.mjs → index-qw7NC8eE.mjs} +60 -58
  49. package/dist/index.mjs +10 -10
  50. package/dist/{index.vue_vue_type_script_setup_true_lang-DWjQT4jn.mjs → index.vue_vue_type_script_setup_true_lang-DNUiKzAB.mjs} +2 -2
  51. package/dist/index.vue_vue_type_script_setup_true_lang-KEqvSfud.mjs +280 -0
  52. package/dist/{picture-DRU19T9b.mjs → picture-B-Z93WvM.mjs} +2 -2
  53. package/dist/{position-Ba7wRAlR.mjs → position-vpBZqxst.mjs} +1 -1
  54. package/dist/{profile-3Wsx53aV.mjs → profile-yHqe9ckz.mjs} +6 -6
  55. package/dist/{runAs-CE2R49GJ.mjs → runAs-30DZ0fw7.mjs} +1 -1
  56. package/dist/{runAs.vue_vue_type_script_setup_true_lang-i0DdmfK1.mjs → runAs.vue_vue_type_script_setup_true_lang-Df5JuFXX.mjs} +13 -12
  57. package/dist/style.css +1 -1
  58. package/dist/{types-D3sIBzF1.mjs → types-B-kpFO60.mjs} +2 -2
  59. package/dist/{updatePwd-2Dc9-bnF.mjs → updatePwd-B0jx4S2G.mjs} +1 -1
  60. package/dist/{updatePwd.vue_vue_type_script_setup_true_lang-3mhiAxD4.mjs → updatePwd.vue_vue_type_script_setup_true_lang-DqPa62Sx.mjs} +3 -3
  61. package/dts/src/components/JmashColumnSelect/index.vue.d.ts +16 -0
  62. package/dts/src/components/JmashTable/index.vue.d.ts +31 -0
  63. package/dts/src/components/Table/index.vue.d.ts +2 -2
  64. package/dts/src/components/TableSet/index.vue.d.ts +5 -5
  65. package/dts/src/hooks/useList.d.ts +1 -0
  66. package/dts/src/index.d.ts +1 -0
  67. package/dts/src/lang/index.d.ts +1 -1
  68. package/dts/src/stores/modules/app.d.ts +2 -0
  69. package/dts/src/stores/modules/permission.d.ts +2 -0
  70. package/dts/src/stores/modules/settings.d.ts +1 -0
  71. package/dts/src/stores/modules/user.d.ts +2 -0
  72. package/dts/src/utils/common.d.ts +1 -1
  73. package/dts/src/views/system/dept/edit.vue.d.ts +3 -3
  74. package/dts/src/views/system/job/edit.vue.d.ts +3 -3
  75. package/dts/src/views/system/menu/edit.vue.d.ts +3 -3
  76. package/dts/src/views/system/module/edit.vue.d.ts +3 -3
  77. package/dts/src/views/system/operation/edit.vue.d.ts +3 -3
  78. package/dts/src/views/system/permission/edit.vue.d.ts +3 -3
  79. package/dts/src/views/system/role/edit.vue.d.ts +3 -3
  80. package/dts/src/views/system/user/edit.vue.d.ts +3 -3
  81. package/package.json +3 -4
  82. package/dist/edit-DXSp7oE2.mjs +0 -4
  83. package/dist/edit-zLDTi0zt.mjs +0 -4
  84. package/dts/tsconfig.tsbuildinfo +0 -1
@@ -1,20 +1,21 @@
1
- import { aj as le, a0 as ie, aX as re, aY as se, s as de, aq as pe, t as me, ai as ce, aZ as ue, E as _e, aV as fe, bd as be } from "./index-CPqNZOs9.mjs";
2
- import { E as ge, a as ye } from "./el-col-D9kCVYAq.mjs";
1
+ import { aj as le, a0 as ie, aW as re, aX as se, s as pe, aq as de, t as me, ai as ce, aY as ue, E as _e, bc as fe } from "./index-Dy5Mc1xa.mjs";
2
+ import { _ as be } from "./index.vue_vue_type_script_setup_true_lang-KEqvSfud.mjs";
3
+ import { E as ge, a as Ce } from "./el-col-DFdwiQq6.mjs";
3
4
  import "./el-form-item-l0sNRNKZ.mjs";
4
- import { defineComponent as Ce, reactive as c, resolveComponent as T, resolveDirective as ve, openBlock as d, createElementBlock as $, createVNode as t, withCtx as n, withKeys as N, unref as o, createTextVNode as p, toDisplayString as m, withDirectives as C, createBlock as v, isRef as he, createCommentVNode as S, createElementVNode as ke } from "vue";
5
- import { g as we, d as $e, b as Ee, m as Oe, a as Ie, _ as Re } from "./edit.vue_vue_type_script_setup_true_lang-BFSwE0WY.mjs";
6
- const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "clear" }, null, -1), Se = ["onClick"], Ve = ["onClick"], ze = /* @__PURE__ */ Ce({
5
+ import { defineComponent as ye, reactive as d, resolveComponent as R, resolveDirective as ve, openBlock as p, createElementBlock as $, createVNode as t, withCtx as n, withKeys as T, unref as o, createTextVNode as m, toDisplayString as c, withDirectives as C, createBlock as y, isRef as he, createCommentVNode as S, createElementVNode as ke } from "vue";
6
+ import { g as we, d as $e, b as Ee, m as Oe, a as Ie, _ as Ne } from "./edit.vue_vue_type_script_setup_true_lang-DdpRY-Il.mjs";
7
+ const Re = { class: "app-container" }, Te = /* @__PURE__ */ ke("div", { class: "clear" }, null, -1), Se = ["onClick"], De = ["onClick"], Ke = /* @__PURE__ */ ye({
7
8
  __name: "index",
8
- setup(De) {
9
- const { t: r } = le(), i = c({
9
+ setup(Ve) {
10
+ const { t: r } = le(), i = d({
10
11
  tenant: ie().user.tenant,
11
12
  curPage: 1,
12
13
  pageSize: 10
13
14
  });
14
- let u = c({
15
+ let v = d({
15
16
  operationCode: "",
16
17
  operationName: ""
17
- }), _ = c([
18
+ }), u = d([
18
19
  {
19
20
  label: r("sysOperation.code"),
20
21
  prop: "operationCode",
@@ -41,50 +42,51 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
41
42
  isColumn: !0
42
43
  }
43
44
  ]);
44
- const s = c({
45
+ const s = d({
45
46
  visible: !1,
46
47
  title: ""
47
- }), V = c({
48
+ }), D = d({
48
49
  list: we,
49
50
  del: $e,
50
51
  dels: Ee,
51
52
  up: Oe,
52
53
  down: Ie
53
54
  }), {
54
- tableData: D,
55
- total: f,
55
+ tableData: V,
56
+ total: _,
56
57
  listLoading: P,
57
58
  selectionRows: F,
58
59
  multipleTableRef: q,
59
60
  queryFormRef: E,
60
61
  getList: h,
61
- handleQuery: b,
62
+ handleQuery: f,
62
63
  deleteRecord: B,
63
64
  deleteRecords: U,
64
65
  handleMoveTop: z,
65
66
  // 上移
66
67
  handleMoveDown: K
67
68
  // 下移
68
- } = re(r, V, i), {
69
+ } = re(r, D, i), {
69
70
  parIndex: L,
70
71
  tableArray: j,
71
72
  getLocalStorageContent: x,
72
73
  fixedChange: A,
73
74
  isShowChange: M
74
- } = se(_, "/system/operation");
75
+ } = se(u, "/system/operation");
75
76
  function Q(e) {
76
77
  F.value = e;
77
78
  }
78
- function X() {
79
- E.value.resetFields(), b();
79
+ function W() {
80
+ E.value.resetFields(), f();
80
81
  }
81
- function Y() {
82
- for (const e in u)
83
- u[e] = "";
84
- s.title = r("common.add"), s.visible = !0;
82
+ function X() {
83
+ v = d({
84
+ operationCode: "",
85
+ operationName: ""
86
+ }), s.title = r("common.add"), s.visible = !0;
85
87
  }
86
- function Z(e) {
87
- s.title = r("common.edit"), s.visible = !0, u = { ...e };
88
+ function Y(e) {
89
+ s.title = r("common.edit"), s.visible = !0, v = { ...e };
88
90
  }
89
91
  function G(e) {
90
92
  s.visible = e;
@@ -92,9 +94,9 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
92
94
  function H(e) {
93
95
  e && h();
94
96
  }
95
- return x(), _ = j.value, h(), (e, l) => {
96
- const O = de, k = pe, g = me, J = ce, I = ge, W = ue, ee = ye, oe = T("Bottom"), R = _e, te = T("Top"), ae = fe, ne = be, y = ve("hasPerm");
97
- return d(), $("div", Te, [
97
+ return x(), u = j.value, h(), (e, l) => {
98
+ const O = pe, k = de, b = me, J = ce, I = ge, Z = ue, ee = Ce, oe = R("Bottom"), N = _e, te = R("Top"), ae = be, ne = fe, g = ve("hasPerm");
99
+ return p(), $("div", Re, [
98
100
  t(J, {
99
101
  ref_key: "queryFormRef",
100
102
  ref: E,
@@ -111,7 +113,7 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
111
113
  modelValue: i.operationCode,
112
114
  "onUpdate:modelValue": l[0] || (l[0] = (a) => i.operationCode = a),
113
115
  placeholder: e.$t("sysOperation.codeRequired"),
114
- onKeyup: N(o(b), ["enter"])
116
+ onKeyup: T(o(f), ["enter"])
115
117
  }, null, 8, ["modelValue", "placeholder", "onKeyup"])
116
118
  ]),
117
119
  _: 1
@@ -126,25 +128,25 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
126
128
  "onUpdate:modelValue": l[1] || (l[1] = (a) => i.likeOperationName = a),
127
129
  placeholder: e.$t("sysOperation.nameRequired"),
128
130
  clearable: "",
129
- onKeyup: N(o(b), ["enter"])
131
+ onKeyup: T(o(f), ["enter"])
130
132
  }, null, 8, ["modelValue", "placeholder", "onKeyup"])
131
133
  ]),
132
134
  _: 1
133
135
  }, 8, ["label"]),
134
136
  t(k, { class: "search-container" }, {
135
137
  default: n(() => [
136
- t(g, {
138
+ t(b, {
137
139
  type: "primary",
138
- onClick: o(b)
140
+ onClick: o(f)
139
141
  }, {
140
142
  default: n(() => [
141
- p(m(e.$t("common.search")), 1)
143
+ m(c(e.$t("common.search")), 1)
142
144
  ]),
143
145
  _: 1
144
146
  }, 8, ["onClick"]),
145
- t(g, { onClick: X }, {
147
+ t(b, { onClick: W }, {
146
148
  default: n(() => [
147
- p(m(e.$t("common.reset")), 1)
149
+ m(c(e.$t("common.reset")), 1)
148
150
  ]),
149
151
  _: 1
150
152
  })
@@ -154,32 +156,32 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
154
156
  ]),
155
157
  _: 1
156
158
  }, 8, ["model"]),
157
- Ne,
159
+ Te,
158
160
  t(ee, { justify: "space-between" }, {
159
161
  default: n(() => [
160
162
  t(I, { span: 19 }, {
161
163
  default: n(() => [
162
- C((d(), v(g, {
164
+ C((p(), y(b, {
163
165
  type: "primary",
164
- onClick: Y
166
+ onClick: X
165
167
  }, {
166
168
  default: n(() => [
167
- p(m(e.$t("common.add")), 1)
169
+ m(c(e.$t("common.add")), 1)
168
170
  ]),
169
171
  _: 1
170
172
  })), [
171
- [y, ["rbac:operation:add"]]
173
+ [g, ["rbac:operation:add"]]
172
174
  ]),
173
- C((d(), v(g, {
175
+ C((p(), y(b, {
174
176
  type: "primary",
175
177
  onClick: l[2] || (l[2] = (a) => o(U)("operationId"))
176
178
  }, {
177
179
  default: n(() => [
178
- p(m(e.$t("common.batchDelete")), 1)
180
+ m(c(e.$t("common.batchDelete")), 1)
179
181
  ]),
180
182
  _: 1
181
183
  })), [
182
- [y, ["rbac:operation:delete"]]
184
+ [g, ["rbac:operation:delete"]]
183
185
  ])
184
186
  ]),
185
187
  _: 1
@@ -189,8 +191,8 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
189
191
  class: "container-float"
190
192
  }, {
191
193
  default: n(() => [
192
- t(W, {
193
- "table-label": o(_),
194
+ t(Z, {
195
+ "table-label": o(u),
194
196
  "par-index": o(L),
195
197
  onFixedChange: o(A),
196
198
  onIsShowChange: o(M)
@@ -206,13 +208,13 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
206
208
  ref_key: "multipleTableRef",
207
209
  ref: q,
208
210
  "row-keys": "operationId",
209
- "table-data": o(D),
211
+ "table-data": o(V),
210
212
  "list-loading": o(P),
211
- "table-label": o(_),
213
+ "table-label": o(u),
212
214
  onTableSelected: Q
213
215
  }, {
214
216
  sort: n((a) => [
215
- t(R, {
217
+ t(N, {
216
218
  size: "16",
217
219
  onClick: (w) => o(K)(a.data.row.operationId)
218
220
  }, {
@@ -221,7 +223,7 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
221
223
  ]),
222
224
  _: 2
223
225
  }, 1032, ["onClick"]),
224
- t(R, {
226
+ t(N, {
225
227
  size: "16",
226
228
  onClick: (w) => o(z)(a.data.row.operationId)
227
229
  }, {
@@ -232,39 +234,39 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
232
234
  }, 1032, ["onClick"])
233
235
  ]),
234
236
  operation: n((a) => [
235
- C((d(), $("span", {
237
+ C((p(), $("span", {
236
238
  class: "el-button-color",
237
- onClick: (w) => Z(a.data.row)
239
+ onClick: (w) => Y(a.data.row)
238
240
  }, [
239
- p(m(e.$t("common.edit")), 1)
241
+ m(c(e.$t("common.edit")), 1)
240
242
  ], 8, Se)), [
241
- [y, ["rbac:operation:update"]]
243
+ [g, ["rbac:operation:update"]]
242
244
  ]),
243
- C((d(), $("span", {
245
+ C((p(), $("span", {
244
246
  class: "el-button-color dropdown-left",
245
247
  onClick: (w) => o(B)(a.data.row.operationId)
246
248
  }, [
247
- p(m(e.$t("common.delete")), 1)
248
- ], 8, Ve)), [
249
- [y, ["rbac:operation:delete"]]
249
+ m(c(e.$t("common.delete")), 1)
250
+ ], 8, De)), [
251
+ [g, ["rbac:operation:delete"]]
250
252
  ])
251
253
  ]),
252
254
  _: 1
253
255
  }, 8, ["table-data", "list-loading", "table-label"]),
254
- o(f) > 0 ? (d(), v(ne, {
256
+ o(_) > 0 ? (p(), y(ne, {
255
257
  key: 0,
256
- total: o(f),
257
- "onUpdate:total": l[3] || (l[3] = (a) => he(f) ? f.value = a : null),
258
+ total: o(_),
259
+ "onUpdate:total": l[3] || (l[3] = (a) => he(_) ? _.value = a : null),
258
260
  page: i.curPage,
259
261
  "onUpdate:page": l[4] || (l[4] = (a) => i.curPage = a),
260
262
  limit: i.pageSize,
261
263
  "onUpdate:limit": l[5] || (l[5] = (a) => i.pageSize = a),
262
264
  onPagination: o(h)
263
265
  }, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
264
- s.visible ? (d(), v(Re, {
266
+ s.visible ? (p(), y(Ne, {
265
267
  key: 1,
266
268
  dialog: s,
267
- "form-data": o(u),
269
+ "form-data": o(v),
268
270
  onDialogEvent: G,
269
271
  onRefresh: H
270
272
  }, null, 8, ["dialog", "form-data"])) : S("", !0)
@@ -273,5 +275,5 @@ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ ke("div", { class: "
273
275
  }
274
276
  });
275
277
  export {
276
- ze as default
278
+ Ke as default
277
279
  };
@@ -1,4 +1,4 @@
1
- import { b9 as t, a0 as a } from "./index-CPqNZOs9.mjs";
1
+ import { b8 as t, a0 as a } from "./index-Dy5Mc1xa.mjs";
2
2
  function n(e) {
3
3
  return t({
4
4
  url: "/v1/rbac/role/list",