jmash-core 0.0.2 → 0.0.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 (91) hide show
  1. package/dist/401-DoLCxv3l.mjs +103 -0
  2. package/dist/404-D1KiG-19.mjs +37 -0
  3. package/dist/BarChart-C1VgkGMN.mjs +203 -0
  4. package/dist/FileSaver.min-CbZYb_R2.mjs +77 -0
  5. package/dist/FunnelChart-Czy2TVI1.mjs +106 -0
  6. package/dist/PieChart-D4hXD0SH.mjs +4 -0
  7. package/dist/PieChart.vue_vue_type_script_setup_true_lang-BzbbPmOh.mjs +90 -0
  8. package/dist/RadarChart-BIL7VT1H.mjs +4 -0
  9. package/dist/RadarChart.vue_vue_type_script_setup_true_lang-DcuctIiI.mjs +109 -0
  10. package/dist/_plugin-vue_export-helper-CHgC5LLL.mjs +9 -0
  11. package/dist/caret-bottom-Cm1qBSrY.mjs +59 -0
  12. package/dist/common-DuVBTwAv.mjs +36 -0
  13. package/dist/debounce-C0G0JMal.mjs +81 -0
  14. package/dist/dropdown2-BiRFTrOq.mjs +160 -0
  15. package/dist/edit-Bpt21Eir.mjs +833 -0
  16. package/dist/edit-CYWeo3RE.mjs +4 -0
  17. package/dist/edit-Cde8RIRN.mjs +4 -0
  18. package/dist/edit-D3-EslTs.mjs +4 -0
  19. package/dist/edit-DLx0iRHQ.mjs +469 -0
  20. package/dist/edit-NICINRFG.mjs +4 -0
  21. package/dist/edit-Vk23bJyE.mjs +4 -0
  22. package/dist/edit-sqzPOfBX.mjs +4 -0
  23. package/dist/edit.vue_vue_type_script_setup_true_lang-BYoUZaYJ.mjs +157 -0
  24. package/dist/edit.vue_vue_type_script_setup_true_lang-CFHGaytm.mjs +137 -0
  25. package/dist/edit.vue_vue_type_script_setup_true_lang-C_NNjRjK.mjs +622 -0
  26. package/dist/edit.vue_vue_type_script_setup_true_lang-DBxZMZyS.mjs +222 -0
  27. package/dist/edit.vue_vue_type_script_setup_true_lang-_tHqd9tg.mjs +226 -0
  28. package/dist/edit.vue_vue_type_script_setup_true_lang-mM66jf9N.mjs +288 -0
  29. package/dist/el-card-BIRVdEQY.mjs +61 -0
  30. package/dist/el-checkbox-group-l0sNRNKZ.mjs +1 -0
  31. package/dist/el-checkbox-miY6QbQ8.mjs +548 -0
  32. package/dist/el-col-BOgRUJYE.mjs +135 -0
  33. package/dist/el-date-picker-D9yvdcj2.mjs +3349 -0
  34. package/dist/el-dialog-BSTwker5.mjs +378 -0
  35. package/dist/el-dropdown-item-YDb2-w9y.mjs +675 -0
  36. package/dist/el-form-item-BzKoZc6I.mjs +1489 -0
  37. package/dist/el-icon-l0sNRNKZ.mjs +1 -0
  38. package/dist/el-popover-DuRdut0P.mjs +159 -0
  39. package/dist/el-popper-AjIjI4wK.mjs +1656 -0
  40. package/dist/el-progress-BPv5gfee.mjs +898 -0
  41. package/dist/el-radio-NC-gfUsx.mjs +251 -0
  42. package/dist/el-scrollbar-p0O6uID0.mjs +607 -0
  43. package/dist/el-select-DAMII7lv.mjs +1040 -0
  44. package/dist/el-switch-C2AFgHGW.mjs +254 -0
  45. package/dist/el-table-IQFrP3zv.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-CyDKS6nF.mjs +1316 -0
  49. package/dist/importUpload.vue_vue_type_script_setup_true_lang-DWWbxFGH.mjs +117 -0
  50. package/dist/index-A3UILhe-.mjs +279 -0
  51. package/dist/index-Ax_8ZsXK.mjs +3163 -0
  52. package/dist/index-B46NFfoE.mjs +487 -0
  53. package/dist/index-BWx4KWAY.mjs +282 -0
  54. package/dist/index-BWyb1bu2.mjs +505 -0
  55. package/dist/index-BjqMDjBg.mjs +43994 -0
  56. package/dist/index-BnbEfNmI.mjs +134 -0
  57. package/dist/index-BpAihYhN.mjs +280 -0
  58. package/dist/index-Bs3AcT6R.mjs +107 -0
  59. package/dist/index-BvixCbHl.mjs +329 -0
  60. package/dist/index-C0UgbyoZ.mjs +452 -0
  61. package/dist/index-C0vV2_4K.mjs +63 -0
  62. package/dist/index-CBB_r4G5.mjs +965 -0
  63. package/dist/index-CCFtIl_h.mjs +516 -0
  64. package/dist/index-Cd3TOW5i.mjs +93 -0
  65. package/dist/index-CgNPGcHv.mjs +292 -0
  66. package/dist/index-CoOFKDgw.mjs +74 -0
  67. package/dist/index-CrNYgyNm.mjs +8800 -0
  68. package/dist/index-CurzO9C6.mjs +248 -0
  69. package/dist/index-DJ08yxAP.mjs +11 -0
  70. package/dist/index-DjkMA-Wh.mjs +40 -0
  71. package/dist/index-Url6hMpl.mjs +483 -0
  72. package/dist/index-eT2JltVa.mjs +55 -0
  73. package/dist/index-mkT_dTWL.mjs +13 -0
  74. package/dist/index-uykKwY2Z.mjs +12 -0
  75. package/dist/index-xtDIXRPY.mjs +633 -0
  76. package/dist/index.mjs +19 -273
  77. package/dist/index.vue_vue_type_script_setup_true_lang-BoxqootF.mjs +58 -0
  78. package/dist/index.vue_vue_type_script_setup_true_lang-C6yk_vUt.mjs +286 -0
  79. package/dist/isUndefined-CUQZk6oB.mjs +6 -0
  80. package/dist/moment-CMYwqyVT.mjs +2579 -0
  81. package/dist/picture-kPnmHaoS.mjs +599 -0
  82. package/dist/profile-RVQuIwXg.mjs +319 -0
  83. package/dist/refs-S3PYDmaW.mjs +9 -0
  84. package/dist/style.css +1 -1
  85. package/dist/types-CCG3Dvqs.mjs +205 -0
  86. package/dist/updatePwd-2UsTmJa5.mjs +4 -0
  87. package/dist/updatePwd.vue_vue_type_script_setup_true_lang-_Uadc2g3.mjs +151 -0
  88. package/dist/useColumnToggleTable-D_QF8Uy9.mjs +272 -0
  89. package/dist/vue-i18n-CE6tUbcO.mjs +3808 -0
  90. package/dts/tsconfig.tsbuildinfo +1 -1
  91. package/package.json +31 -2
@@ -0,0 +1,282 @@
1
+ import { _ as le } from "./index-xtDIXRPY.mjs";
2
+ import { _ as ie } from "./index.vue_vue_type_script_setup_true_lang-C6yk_vUt.mjs";
3
+ import { c as re, e as se, f as pe, y as de } from "./index-CrNYgyNm.mjs";
4
+ import "./el-icon-l0sNRNKZ.mjs";
5
+ import { E as me, a as ce } from "./el-col-BOgRUJYE.mjs";
6
+ import { u as ue, a as fe, _ as _e } from "./useColumnToggleTable-D_QF8Uy9.mjs";
7
+ import { a as be, E as ge } from "./el-form-item-BzKoZc6I.mjs";
8
+ import { defineComponent as ye, reactive as c, resolveComponent as T, resolveDirective as Ce, openBlock as p, createElementBlock as $, createVNode as t, withCtx as n, withKeys as N, unref as o, createTextVNode as d, toDisplayString as m, withDirectives as C, createBlock as v, isRef as ve, createCommentVNode as S, createElementVNode as he } from "vue";
9
+ import { u as ke } from "./vue-i18n-CE6tUbcO.mjs";
10
+ 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-_tHqd9tg.mjs";
11
+ const Te = { class: "app-container" }, Ne = /* @__PURE__ */ he("div", { class: "clear" }, null, -1), Se = ["onClick"], De = ["onClick"], Me = /* @__PURE__ */ ye({
12
+ __name: "index",
13
+ setup(Ve) {
14
+ const { t: r } = ke(), i = c({
15
+ tenant: re().user.tenant,
16
+ curPage: 1,
17
+ pageSize: 10
18
+ });
19
+ let u = c({
20
+ operationCode: "",
21
+ operationName: ""
22
+ }), f = c([
23
+ {
24
+ label: r("sysOperation.code"),
25
+ prop: "operationCode",
26
+ isColumn: !0
27
+ },
28
+ {
29
+ label: r("sysOperation.name"),
30
+ prop: "operationName",
31
+ isColumn: !0
32
+ },
33
+ {
34
+ label: r("sysOperation.sort"),
35
+ width: "100",
36
+ columnType: "slot",
37
+ slotName: "sort",
38
+ isColumn: !0
39
+ },
40
+ {
41
+ label: r("common.operate"),
42
+ width: "200",
43
+ columnType: "slot",
44
+ slotName: "operation",
45
+ fixed: "right",
46
+ isColumn: !0
47
+ }
48
+ ]);
49
+ const s = c({
50
+ visible: !1,
51
+ title: ""
52
+ }), D = c({
53
+ list: we,
54
+ del: $e,
55
+ dels: Ee,
56
+ up: Oe,
57
+ down: Ie
58
+ }), {
59
+ tableData: V,
60
+ total: _,
61
+ listLoading: P,
62
+ selectionRows: F,
63
+ multipleTableRef: B,
64
+ queryFormRef: E,
65
+ getList: h,
66
+ handleQuery: b,
67
+ deleteRecord: U,
68
+ deleteRecords: q,
69
+ handleMoveTop: z,
70
+ // 上移
71
+ handleMoveDown: K
72
+ // 下移
73
+ } = ue(r, D, i), {
74
+ parIndex: L,
75
+ tableArray: x,
76
+ getLocalStorageContent: A,
77
+ fixedChange: M,
78
+ isShowChange: Q
79
+ } = fe(f, "/system/operation");
80
+ function j(e) {
81
+ F.value = e;
82
+ }
83
+ function G() {
84
+ E.value.resetFields(), b();
85
+ }
86
+ function H() {
87
+ for (const e in u)
88
+ u[e] = "";
89
+ s.title = r("common.add"), s.visible = !0;
90
+ }
91
+ function J(e) {
92
+ s.title = r("common.edit"), s.visible = !0, u = { ...e };
93
+ }
94
+ function W(e) {
95
+ s.visible = e;
96
+ }
97
+ function X(e) {
98
+ e && h();
99
+ }
100
+ return A(), f = x.value, h(), (e, l) => {
101
+ const O = se, k = be, g = pe, Y = ge, I = me, Z = _e, ee = ce, oe = T("Bottom"), R = de, te = T("Top"), ae = ie, ne = le, y = Ce("hasPerm");
102
+ return p(), $("div", Te, [
103
+ t(Y, {
104
+ ref_key: "queryFormRef",
105
+ ref: E,
106
+ model: i,
107
+ inline: !0
108
+ }, {
109
+ default: n(() => [
110
+ t(k, {
111
+ label: e.$t("sysOperation.code"),
112
+ prop: "operationCode"
113
+ }, {
114
+ default: n(() => [
115
+ t(O, {
116
+ modelValue: i.operationCode,
117
+ "onUpdate:modelValue": l[0] || (l[0] = (a) => i.operationCode = a),
118
+ placeholder: e.$t("sysOperation.codeRequired"),
119
+ onKeyup: N(o(b), ["enter"])
120
+ }, null, 8, ["modelValue", "placeholder", "onKeyup"])
121
+ ]),
122
+ _: 1
123
+ }, 8, ["label"]),
124
+ t(k, {
125
+ label: e.$t("sysOperation.name"),
126
+ prop: "likeOperationName"
127
+ }, {
128
+ default: n(() => [
129
+ t(O, {
130
+ modelValue: i.likeOperationName,
131
+ "onUpdate:modelValue": l[1] || (l[1] = (a) => i.likeOperationName = a),
132
+ placeholder: e.$t("sysOperation.nameRequired"),
133
+ clearable: "",
134
+ onKeyup: N(o(b), ["enter"])
135
+ }, null, 8, ["modelValue", "placeholder", "onKeyup"])
136
+ ]),
137
+ _: 1
138
+ }, 8, ["label"]),
139
+ t(k, { class: "search-container" }, {
140
+ default: n(() => [
141
+ t(g, {
142
+ type: "primary",
143
+ onClick: o(b)
144
+ }, {
145
+ default: n(() => [
146
+ d(m(e.$t("common.search")), 1)
147
+ ]),
148
+ _: 1
149
+ }, 8, ["onClick"]),
150
+ t(g, { onClick: G }, {
151
+ default: n(() => [
152
+ d(m(e.$t("common.reset")), 1)
153
+ ]),
154
+ _: 1
155
+ })
156
+ ]),
157
+ _: 1
158
+ })
159
+ ]),
160
+ _: 1
161
+ }, 8, ["model"]),
162
+ Ne,
163
+ t(ee, { justify: "space-between" }, {
164
+ default: n(() => [
165
+ t(I, { span: 19 }, {
166
+ default: n(() => [
167
+ C((p(), v(g, {
168
+ type: "primary",
169
+ onClick: H
170
+ }, {
171
+ default: n(() => [
172
+ d(m(e.$t("common.add")), 1)
173
+ ]),
174
+ _: 1
175
+ })), [
176
+ [y, ["rbac:operation:add"]]
177
+ ]),
178
+ C((p(), v(g, {
179
+ type: "primary",
180
+ onClick: l[2] || (l[2] = (a) => o(q)("operationId"))
181
+ }, {
182
+ default: n(() => [
183
+ d(m(e.$t("common.batchDelete")), 1)
184
+ ]),
185
+ _: 1
186
+ })), [
187
+ [y, ["rbac:operation:delete"]]
188
+ ])
189
+ ]),
190
+ _: 1
191
+ }),
192
+ t(I, {
193
+ span: 5,
194
+ class: "container-float"
195
+ }, {
196
+ default: n(() => [
197
+ t(Z, {
198
+ "table-label": o(f),
199
+ "par-index": o(L),
200
+ onFixedChange: o(M),
201
+ onIsShowChange: o(Q)
202
+ }, null, 8, ["table-label", "par-index", "onFixedChange", "onIsShowChange"])
203
+ ]),
204
+ _: 1
205
+ })
206
+ ]),
207
+ _: 1
208
+ }),
209
+ t(ae, {
210
+ class: "table-top",
211
+ ref_key: "multipleTableRef",
212
+ ref: B,
213
+ "row-keys": "operationId",
214
+ "table-data": o(V),
215
+ "list-loading": o(P),
216
+ "table-label": o(f),
217
+ onTableSelected: j
218
+ }, {
219
+ sort: n((a) => [
220
+ t(R, {
221
+ size: "16",
222
+ onClick: (w) => o(K)(a.data.row.operationId)
223
+ }, {
224
+ default: n(() => [
225
+ t(oe)
226
+ ]),
227
+ _: 2
228
+ }, 1032, ["onClick"]),
229
+ t(R, {
230
+ size: "16",
231
+ onClick: (w) => o(z)(a.data.row.operationId)
232
+ }, {
233
+ default: n(() => [
234
+ t(te)
235
+ ]),
236
+ _: 2
237
+ }, 1032, ["onClick"])
238
+ ]),
239
+ operation: n((a) => [
240
+ C((p(), $("span", {
241
+ class: "el-button-color",
242
+ onClick: (w) => J(a.data.row)
243
+ }, [
244
+ d(m(e.$t("common.edit")), 1)
245
+ ], 8, Se)), [
246
+ [y, ["rbac:operation:update"]]
247
+ ]),
248
+ C((p(), $("span", {
249
+ class: "el-button-color dropdown-left",
250
+ onClick: (w) => o(U)(a.data.row.operationId)
251
+ }, [
252
+ d(m(e.$t("common.delete")), 1)
253
+ ], 8, De)), [
254
+ [y, ["rbac:operation:delete"]]
255
+ ])
256
+ ]),
257
+ _: 1
258
+ }, 8, ["table-data", "list-loading", "table-label"]),
259
+ o(_) > 0 ? (p(), v(ne, {
260
+ key: 0,
261
+ total: o(_),
262
+ "onUpdate:total": l[3] || (l[3] = (a) => ve(_) ? _.value = a : null),
263
+ page: i.curPage,
264
+ "onUpdate:page": l[4] || (l[4] = (a) => i.curPage = a),
265
+ limit: i.pageSize,
266
+ "onUpdate:limit": l[5] || (l[5] = (a) => i.pageSize = a),
267
+ onPagination: o(h)
268
+ }, null, 8, ["total", "page", "limit", "onPagination"])) : S("", !0),
269
+ s.visible ? (p(), v(Re, {
270
+ key: 1,
271
+ dialog: s,
272
+ "form-data": o(u),
273
+ onDialogEvent: W,
274
+ onRefresh: X
275
+ }, null, 8, ["dialog", "form-data"])) : S("", !0)
276
+ ]);
277
+ };
278
+ }
279
+ });
280
+ export {
281
+ Me as default
282
+ };