mwl-components 0.0.13 → 0.0.14

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.
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { defineComponent as $, useSlots as P, ref as E, createBlock as r, openBlock as a, unref as i, normalizeClass as L, createSlots as W, withCtx as s, renderSlot as C, createElementVNode as x, createElementBlock as g, createCommentVNode as p, toDisplayString as V, createVNode as S, watch as q, nextTick as G, computed as Y, resolveComponent as H, mergeProps as D, normalizeStyle as T, createTextVNode as M, Fragment as w, renderList as k, getCurrentInstance as J, onMounted as K, onUnmounted as Q, resolveDynamicComponent as X, normalizeProps as Z, guardReactiveProps as _, withDirectives as ee, vShow as te } from "vue";
2
- import { ElCard as ae, ElTooltip as le, ElIcon as ne, ElDialog as oe, ElScrollbar as re, ElForm as ue, ElFormItem as B, ElInput as R, ElRadio as de, ElCheckbox as se, ElSelect as ie, ElOption as ce, ElCascader as me, ElSwitch as fe, ElDatePicker as O, ElTableColumn as z, ElTable as he, ElButton as pe, ElSubMenu as ge, ElMenuItem as be, ElMenu as ye, ElPagination as ve } from "element-plus";
3
- const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex items-center" }, De = { class: "text-16px font-700" }, we = { class: "max-w-200px" }, Ve = {
1
+ import { defineComponent as w, useSlots as Y, ref as V, createBlock as u, openBlock as l, unref as r, normalizeClass as q, createSlots as M, withCtx as i, renderSlot as b, createElementVNode as D, createElementBlock as g, createCommentVNode as h, toDisplayString as k, createVNode as x, watch as G, nextTick as J, computed as F, mergeProps as v, normalizeStyle as N, createTextVNode as $, Fragment as C, renderList as y, resolveComponent as A, getCurrentInstance as K, onMounted as Q, onUnmounted as X, resolveDynamicComponent as Z, normalizeProps as _, guardReactiveProps as ee, withDirectives as te, vShow as ae } from "vue";
2
+ import { ElCard as le, ElTooltip as ne, ElIcon as oe, ElDialog as re, ElScrollbar as ue, ElButton as L, ElForm as de, ElFormItem as z, ElInput as R, ElInputNumber as se, ElRadioGroup as ie, ElRadio as ce, ElCheckboxGroup as me, ElCheckbox as fe, ElSelect as he, ElOption as ge, ElCascader as pe, ElSwitch as be, ElDatePicker as B, ElTableColumn as P, ElTable as ye, ElSubMenu as ve, ElMenuItem as Ce, ElMenu as ke, ElPagination as De } from "element-plus";
3
+ const we = { class: "flex items-center justify-between" }, Ve = { class: "flex items-center" }, xe = { class: "text-16px font-700" }, Ee = { class: "max-w-200px" }, $e = {
4
4
  key: 0,
5
5
  class: "flex justify-end"
6
- }, xe = {
6
+ }, Se = {
7
7
  key: 0,
8
8
  class: "mt-8px flex items-center"
9
- }, $e = /* @__PURE__ */ $({
9
+ }, He = /* @__PURE__ */ w({
10
10
  name: "ContentWarp",
11
11
  __name: "index",
12
12
  props: {
@@ -14,58 +14,58 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
14
14
  message: String
15
15
  },
16
16
  setup(t) {
17
- const u = P(), d = E("content-wrap");
18
- return (c, n) => (a(), r(i(ae), {
19
- class: L([d.value, "mb-[10px]"]),
17
+ const d = Y(), s = V("content-wrap");
18
+ return (c, o) => (l(), u(r(le), {
19
+ class: q([s.value, "mb-[10px]"]),
20
20
  shadow: "never"
21
- }, W({
22
- default: s(() => [
23
- C(c.$slots, "default", {}, void 0, !0)
21
+ }, M({
22
+ default: i(() => [
23
+ b(c.$slots, "default", {}, void 0, !0)
24
24
  ]),
25
25
  _: 2
26
26
  }, [
27
27
  t.title ? {
28
28
  name: "header",
29
- fn: s(() => [
30
- x("div", Ce, [
31
- x("div", ke, [
32
- x("span", De, V(t.title), 1),
33
- t.message ? (a(), r(i(le), {
29
+ fn: i(() => [
30
+ D("div", we, [
31
+ D("div", Ve, [
32
+ D("span", xe, k(t.title), 1),
33
+ t.message ? (l(), u(r(ne), {
34
34
  key: 0,
35
35
  effect: "dark",
36
36
  placement: "right"
37
37
  }, {
38
- content: s(() => [
39
- x("div", we, V(t.message), 1)
38
+ content: i(() => [
39
+ D("div", Ee, k(t.message), 1)
40
40
  ]),
41
- default: s(() => [
42
- S(i(ne), {
41
+ default: i(() => [
42
+ x(r(oe), {
43
43
  size: 14,
44
44
  class: "ml-5px",
45
45
  icon: "ep:question-filled"
46
46
  })
47
47
  ]),
48
48
  _: 1
49
- })) : p("", !0)
49
+ })) : h("", !0)
50
50
  ]),
51
- u.buttonTip ? (a(), g("div", Ve, [
52
- C(c.$slots, "buttonTip", {}, void 0, !0)
53
- ])) : p("", !0)
51
+ d.buttonTip ? (l(), g("div", $e, [
52
+ b(c.$slots, "buttonTip", {}, void 0, !0)
53
+ ])) : h("", !0)
54
54
  ]),
55
- u.descTip ? (a(), g("div", xe, [
56
- C(c.$slots, "descTip", {}, void 0, !0)
57
- ])) : p("", !0)
55
+ d.descTip ? (l(), g("div", Se, [
56
+ b(c.$slots, "descTip", {}, void 0, !0)
57
+ ])) : h("", !0)
58
58
  ]),
59
59
  key: "0"
60
60
  } : void 0
61
61
  ]), 1032, ["class"]));
62
62
  }
63
- }), F = (t, u) => {
64
- const d = t.__vccOpts || t;
65
- for (const [c, n] of u)
66
- d[c] = n;
67
- return d;
68
- }, Ee = /* @__PURE__ */ F($e, [["__scopeId", "data-v-cce44bc6"]]), Se = { class: "dialog-header" }, He = /* @__PURE__ */ $({
63
+ }), I = (t, d) => {
64
+ const s = t.__vccOpts || t;
65
+ for (const [c, o] of d)
66
+ s[c] = o;
67
+ return s;
68
+ }, Me = /* @__PURE__ */ I(He, [["__scopeId", "data-v-cce44bc6"]]), Ie = { class: "dialog-header" }, Ue = /* @__PURE__ */ w({
69
69
  name: "Dialog",
70
70
  __name: "index",
71
71
  props: {
@@ -91,79 +91,76 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
91
91
  }
92
92
  },
93
93
  setup(t) {
94
- const u = P(), d = t, c = E(!1), n = () => {
94
+ const d = Y(), s = t, c = V(!1), o = () => {
95
95
  c.value = !unref(c);
96
- }, m = E(d.maxHeight);
97
- q(
96
+ }, m = V(s.maxHeight);
97
+ G(
98
98
  () => c.value,
99
- async (h) => {
100
- if (await G(), h) {
101
- const f = document.documentElement.offsetHeight;
102
- m.value = `${f - 55 - 40 - (u.footer ? 63 : 0)}px`;
99
+ async (n) => {
100
+ if (await J(), n) {
101
+ const e = document.documentElement.offsetHeight;
102
+ m.value = `${e - 55 - 40 - (d.footer ? 63 : 0)}px`;
103
103
  } else
104
- m.value = d.maxHeight;
104
+ m.value = s.maxHeight;
105
105
  },
106
106
  {
107
107
  immediate: !0
108
108
  }
109
109
  );
110
- const b = Y(() => {
111
- if (d.maxHeight)
110
+ const p = F(() => {
111
+ if (s.maxHeight)
112
112
  return {
113
113
  height: unref(m)
114
114
  };
115
115
  });
116
- return console.log(d), (h, f) => {
117
- const y = H("el-button");
118
- return a(), r(i(oe), D(h.$attrs, {
119
- "close-on-click-modal": !1,
120
- fullscreen: c.value,
121
- width: t.width,
122
- "destroy-on-close": "",
123
- draggable: "",
124
- "lock-scroll": "",
125
- class: "custom-dialog",
126
- "append-to-body": ""
127
- }), W({
128
- header: s(() => [
129
- x("div", Se, [
130
- C(h.$slots, "title", {}, () => [
131
- M(V(t.title), 1)
132
- ]),
133
- x("div", { onClick: n }, [
134
- S(y, {
135
- link: "",
136
- icon: "FullScreen",
137
- color: "#909399"
138
- })
139
- ])
116
+ return console.log(s), (n, e) => (l(), u(r(re), v(n.$attrs, {
117
+ "close-on-click-modal": !1,
118
+ fullscreen: c.value,
119
+ width: t.width,
120
+ "destroy-on-close": "",
121
+ draggable: "",
122
+ "lock-scroll": "",
123
+ class: "custom-dialog",
124
+ "append-to-body": ""
125
+ }), M({
126
+ header: i(() => [
127
+ D("div", Ie, [
128
+ b(n.$slots, "title", {}, () => [
129
+ $(k(t.title), 1)
130
+ ]),
131
+ D("div", { onClick: o }, [
132
+ x(r(L), {
133
+ link: "",
134
+ icon: "FullScreen",
135
+ color: "#909399"
136
+ })
140
137
  ])
141
- ]),
142
- default: s(() => [
143
- t.scroll ? (a(), r(i(re), {
144
- key: 0,
145
- style: T(b.value)
146
- }, {
147
- default: s(() => [
148
- C(h.$slots, "default")
149
- ]),
150
- _: 3
151
- }, 8, ["style"])) : C(h.$slots, "default", { key: 1 })
152
- ]),
153
- _: 2
154
- }, [
155
- u.footer ? {
156
- name: "footer",
157
- fn: s(() => [
158
- C(h.$slots, "footer")
138
+ ])
139
+ ]),
140
+ default: i(() => [
141
+ t.scroll ? (l(), u(r(ue), {
142
+ key: 0,
143
+ style: N(p.value)
144
+ }, {
145
+ default: i(() => [
146
+ b(n.$slots, "default")
159
147
  ]),
160
- key: "0"
161
- } : void 0
162
- ]), 1040, ["fullscreen", "width"]);
163
- };
148
+ _: 3
149
+ }, 8, ["style"])) : b(n.$slots, "default", { key: 1 })
150
+ ]),
151
+ _: 2
152
+ }, [
153
+ d.footer ? {
154
+ name: "footer",
155
+ fn: i(() => [
156
+ b(n.$slots, "footer")
157
+ ]),
158
+ key: "0"
159
+ } : void 0
160
+ ]), 1040, ["fullscreen", "width"]));
164
161
  }
165
- }), Me = {}, Ue = /* @__PURE__ */ $({
166
- ...Me,
162
+ }), We = {}, Fe = /* @__PURE__ */ w({
163
+ ...We,
167
164
  name: "EasyForm",
168
165
  __name: "index",
169
166
  props: {
@@ -192,228 +189,225 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
192
189
  default: "200px"
193
190
  }
194
191
  },
195
- setup(t, { expose: u }) {
196
- const d = E();
197
- return u({
192
+ setup(t, { expose: d }) {
193
+ const s = V();
194
+ return d({
198
195
  resetFields: () => {
199
- d.value?.resetFields();
196
+ s.value?.resetFields();
200
197
  },
201
198
  getFormData: async () => {
202
- const m = await d.value.validate();
199
+ const m = await s.value.validate();
203
200
  return m || null;
204
201
  }
205
- }), (m, b) => {
206
- const h = H("el-input-number"), f = H("el-radio-group"), y = H("el-checkbox-group");
207
- return a(), r(i(ue), {
208
- ref_key: "formRef",
209
- ref: d,
210
- model: t.formData,
211
- "label-width": t.labelWidth,
212
- inline: t.inline,
213
- "scroll-to-error": ""
214
- }, {
215
- default: s(() => [
216
- (a(!0), g(w, null, k(t.formItems, ({ type: o, ...e }) => (a(), g(w, null, [
217
- o != "custom" && !e.hidden ? (a(), r(i(B), {
218
- key: 0,
219
- label: e.label,
220
- prop: e.prop,
221
- rules: e.rule
222
- }, {
223
- default: s(() => [
224
- o == "text" || o == "" ? (a(), r(i(R), D({
225
- key: 0,
226
- placeholder: "请输入" + e.label
227
- }, { ref_for: !0 }, { ...e }, {
228
- modelValue: t.formData[e.prop],
229
- "onUpdate:modelValue": (l) => t.formData[e.prop] = l,
230
- "show-word-limit": "",
231
- style: { width: e.width ? e.width : t.itemWidth }
232
- }), null, 16, ["placeholder", "modelValue", "onUpdate:modelValue", "style"])) : p("", !0),
233
- o == "textarea" ? (a(), r(i(R), D({
234
- key: 1,
235
- ref_for: !0
236
- }, { ...e }, {
237
- modelValue: t.formData[e.prop],
238
- "onUpdate:modelValue": (l) => t.formData[e.prop] = l,
239
- type: "textarea",
240
- style: { width: e.width ? e.width : t.itemWidth }
241
- }), null, 16, ["modelValue", "onUpdate:modelValue", "style"])) : p("", !0),
242
- o == "number" ? (a(), r(h, D({
243
- key: 2,
244
- "controls-position": "right"
245
- }, { ref_for: !0 }, { ...e }, {
246
- modelValue: t.formData[e.prop],
247
- "onUpdate:modelValue": (l) => t.formData[e.prop] = l,
248
- style: { width: e.width ? e.width : t.itemWidth }
249
- }), null, 16, ["modelValue", "onUpdate:modelValue", "style"])) : p("", !0),
250
- o == "radio" ? (a(), r(f, D({
251
- key: 3,
252
- modelValue: t.formData[e.prop],
253
- "onUpdate:modelValue": (l) => t.formData[e.prop] = l,
254
- style: { width: e.width ? e.width : t.itemWidth },
255
- onChange: (l) => e.change && e.change(t.formData[e.prop])
256
- }, { ref_for: !0 }, { ...e }), {
257
- default: s(() => [
258
- (a(!0), g(w, null, k(e.options, (l, v) => (a(), r(i(de), {
259
- key: v,
260
- value: l.value
261
- }, {
262
- default: s(() => [
263
- M(V(l.label), 1)
264
- ]),
265
- _: 2
266
- }, 1032, ["value"]))), 128))
267
- ]),
268
- _: 2
269
- }, 1040, ["modelValue", "onUpdate:modelValue", "style", "onChange"])) : p("", !0),
270
- o == "checkbox" ? (a(), r(y, D({
271
- key: 4,
272
- modelValue: t.formData[e.prop],
273
- "onUpdate:modelValue": (l) => t.formData[e.prop] = l,
274
- style: { width: e.width ? e.width : t.itemWidth },
275
- onChange: (l) => e.change && e.change(t.formData[e.prop])
276
- }, { ref_for: !0 }, { ...e }), {
277
- default: s(() => [
278
- (a(!0), g(w, null, k(e.options, (l, v) => (a(), r(i(se), {
279
- key: v,
280
- value: l.value
281
- }, {
282
- default: s(() => [
283
- M(V(l.label), 1)
284
- ]),
285
- _: 2
286
- }, 1032, ["value"]))), 128))
287
- ]),
288
- _: 2
289
- }, 1040, ["modelValue", "onUpdate:modelValue", "style", "onChange"])) : p("", !0),
290
- o == "select" || o == "multipleselect" ? (a(), r(i(ie), D({
291
- key: 5,
292
- modelValue: t.formData[e.prop],
293
- "onUpdate:modelValue": (l) => t.formData[e.prop] = l,
294
- placeholder: "请选择",
295
- style: { width: e.width ? e.width : t.itemWidth },
296
- onChange: (l) => e.change && e.change(t.formData[e.prop])
297
- }, { ref_for: !0 }, { ...e }), {
298
- default: s(() => [
299
- (a(!0), g(w, null, k(e.options, (l, v) => (a(), r(i(ce), {
300
- key: v,
301
- label: e.defaultProp ? l[e.defaultProp.label] : l.label,
302
- value: e.defaultProp ? l[e.defaultProp.value] : l.value
303
- }, null, 8, ["label", "value"]))), 128))
304
- ]),
305
- _: 2
306
- }, 1040, ["modelValue", "onUpdate:modelValue", "style", "onChange"])) : p("", !0),
307
- o == "cascader" ? (a(), r(i(me), {
308
- key: 6,
309
- modelValue: t.formData[e.prop],
310
- "onUpdate:modelValue": (l) => t.formData[e.prop] = l,
311
- options: e.options || [],
312
- props: e.defaultProp || { label: "label", value: "value" },
313
- style: T({ width: e.width ? e.width : t.itemWidth }),
314
- disabled: e.disabled,
315
- clearable: e.clearable,
316
- placeholder: e.placeholder,
317
- "popper-class": e.popperClass,
318
- teleported: e.teleported,
319
- "disabled-date": e.disabledDate,
320
- onChange: (l) => e.change && e.change(t.formData[e.prop])
321
- }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "style", "disabled", "clearable", "placeholder", "popper-class", "teleported", "disabled-date", "onChange"])) : p("", !0),
322
- o === "switch" ? (a(), r(i(fe), {
323
- key: 7,
324
- modelValue: t.formData[e.prop],
325
- "onUpdate:modelValue": (l) => t.formData[e.prop] = l,
326
- disabled: e.disabled,
327
- style: T({ width: e.width ? e.width : t.itemWidth }),
328
- onChange: (l) => e.change && e.change(t.formData[e.prop])
329
- }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "style", "onChange"])) : p("", !0),
330
- o == "date" || o == "datetime" || o == "year" || o == "month" ? (a(), r(i(O), D({
331
- key: 8,
332
- style: { width: e.width ? e.width : t.itemWidth },
333
- modelValue: t.formData[e.prop],
334
- "onUpdate:modelValue": (l) => t.formData[e.prop] = l
335
- }, { ref_for: !0 }, { ...e }, {
336
- format: e.format || "YYYY-MM-DD HH:mm:ss",
337
- "value-format": e.valueFormat || "YYYY-MM-DD HH:mm:ss",
338
- disabled: e.disabled,
339
- clearable: e.clearable,
340
- placeholder: e.placeholder || "请选择",
341
- "disabled-date": e.disabledDate,
342
- type: o,
343
- onChange: (l) => e.change && e.change(t.formData[e.prop])
344
- }), null, 16, ["style", "modelValue", "onUpdate:modelValue", "format", "value-format", "disabled", "clearable", "placeholder", "disabled-date", "type", "onChange"])) : p("", !0),
345
- o == "daterange" ? (a(), r(i(O), {
346
- key: 9,
347
- modelValue: t.formData[e.prop],
348
- "onUpdate:modelValue": (l) => t.formData[e.prop] = l,
349
- format: e.format || "YYYY-MM-DD HH:mm:ss",
350
- "value-format": e.valueFormat || "YYYY-MM-DD HH:mm:ss",
351
- type: o,
352
- disabled: e.disabled,
353
- "range-separator": "",
354
- "start-placeholder": "开始日期",
355
- "end-placeholder": "结束日期",
356
- onChange: (l) => e.change && e.change(t.formData[e.prop])
357
- }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "disabled", "onChange"])) : p("", !0)
358
- ]),
359
- _: 2
360
- }, 1032, ["label", "prop", "rules"])) : p("", !0),
361
- o == "custom" ? C(m.$slots, e.prop, {
362
- key: 1,
363
- item: e
364
- }, void 0, !0) : p("", !0)
365
- ], 64))), 256)),
366
- S(i(B), null, {
367
- default: s(() => [
368
- C(m.$slots, "append", {}, void 0, !0)
202
+ }), (m, p) => (l(), u(r(de), {
203
+ ref_key: "formRef",
204
+ ref: s,
205
+ model: t.formData,
206
+ "label-width": t.labelWidth,
207
+ inline: t.inline,
208
+ "scroll-to-error": ""
209
+ }, {
210
+ default: i(() => [
211
+ (l(!0), g(C, null, y(t.formItems, ({ type: n, ...e }) => (l(), g(C, null, [
212
+ n != "custom" && !e.hidden ? (l(), u(r(z), {
213
+ key: 0,
214
+ label: e.label,
215
+ prop: e.prop,
216
+ rules: e.rule
217
+ }, {
218
+ default: i(() => [
219
+ n == "text" || n == "" ? (l(), u(r(R), v({
220
+ key: 0,
221
+ placeholder: "请输入" + e.label
222
+ }, { ref_for: !0 }, { ...e }, {
223
+ modelValue: t.formData[e.prop],
224
+ "onUpdate:modelValue": (a) => t.formData[e.prop] = a,
225
+ "show-word-limit": "",
226
+ style: { width: e.width ? e.width : t.itemWidth }
227
+ }), null, 16, ["placeholder", "modelValue", "onUpdate:modelValue", "style"])) : h("", !0),
228
+ n == "textarea" ? (l(), u(r(R), v({
229
+ key: 1,
230
+ ref_for: !0
231
+ }, { ...e }, {
232
+ modelValue: t.formData[e.prop],
233
+ "onUpdate:modelValue": (a) => t.formData[e.prop] = a,
234
+ type: "textarea",
235
+ style: { width: e.width ? e.width : t.itemWidth }
236
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "style"])) : h("", !0),
237
+ n == "number" ? (l(), u(r(se), v({
238
+ key: 2,
239
+ "controls-position": "right"
240
+ }, { ref_for: !0 }, { ...e }, {
241
+ modelValue: t.formData[e.prop],
242
+ "onUpdate:modelValue": (a) => t.formData[e.prop] = a,
243
+ style: { width: e.width ? e.width : t.itemWidth }
244
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "style"])) : h("", !0),
245
+ n == "radio" ? (l(), u(r(ie), v({
246
+ key: 3,
247
+ modelValue: t.formData[e.prop],
248
+ "onUpdate:modelValue": (a) => t.formData[e.prop] = a,
249
+ style: { width: e.width ? e.width : t.itemWidth },
250
+ onChange: (a) => e.change && e.change(t.formData[e.prop])
251
+ }, { ref_for: !0 }, { ...e }), {
252
+ default: i(() => [
253
+ (l(!0), g(C, null, y(e.options, (a, f) => (l(), u(r(ce), {
254
+ key: f,
255
+ value: a.value
256
+ }, {
257
+ default: i(() => [
258
+ $(k(a.label), 1)
259
+ ]),
260
+ _: 2
261
+ }, 1032, ["value"]))), 128))
262
+ ]),
263
+ _: 2
264
+ }, 1040, ["modelValue", "onUpdate:modelValue", "style", "onChange"])) : h("", !0),
265
+ n == "checkbox" ? (l(), u(r(me), v({
266
+ key: 4,
267
+ modelValue: t.formData[e.prop],
268
+ "onUpdate:modelValue": (a) => t.formData[e.prop] = a,
269
+ style: { width: e.width ? e.width : t.itemWidth },
270
+ onChange: (a) => e.change && e.change(t.formData[e.prop])
271
+ }, { ref_for: !0 }, { ...e }), {
272
+ default: i(() => [
273
+ (l(!0), g(C, null, y(e.options, (a, f) => (l(), u(r(fe), {
274
+ key: f,
275
+ value: a.value
276
+ }, {
277
+ default: i(() => [
278
+ $(k(a.label), 1)
279
+ ]),
280
+ _: 2
281
+ }, 1032, ["value"]))), 128))
282
+ ]),
283
+ _: 2
284
+ }, 1040, ["modelValue", "onUpdate:modelValue", "style", "onChange"])) : h("", !0),
285
+ n == "select" || n == "multipleselect" ? (l(), u(r(he), v({
286
+ key: 5,
287
+ modelValue: t.formData[e.prop],
288
+ "onUpdate:modelValue": (a) => t.formData[e.prop] = a,
289
+ placeholder: "请选择",
290
+ style: { width: e.width ? e.width : t.itemWidth },
291
+ onChange: (a) => e.change && e.change(t.formData[e.prop])
292
+ }, { ref_for: !0 }, { ...e }), {
293
+ default: i(() => [
294
+ (l(!0), g(C, null, y(e.options, (a, f) => (l(), u(r(ge), {
295
+ key: f,
296
+ label: e.defaultProp ? a[e.defaultProp.label] : a.label,
297
+ value: e.defaultProp ? a[e.defaultProp.value] : a.value
298
+ }, null, 8, ["label", "value"]))), 128))
299
+ ]),
300
+ _: 2
301
+ }, 1040, ["modelValue", "onUpdate:modelValue", "style", "onChange"])) : h("", !0),
302
+ n == "cascader" ? (l(), u(r(pe), {
303
+ key: 6,
304
+ modelValue: t.formData[e.prop],
305
+ "onUpdate:modelValue": (a) => t.formData[e.prop] = a,
306
+ options: e.options || [],
307
+ props: e.defaultProp || { label: "label", value: "value" },
308
+ style: N({ width: e.width ? e.width : t.itemWidth }),
309
+ disabled: e.disabled,
310
+ clearable: e.clearable,
311
+ placeholder: e.placeholder,
312
+ "popper-class": e.popperClass,
313
+ teleported: e.teleported,
314
+ "disabled-date": e.disabledDate,
315
+ onChange: (a) => e.change && e.change(t.formData[e.prop])
316
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "options", "props", "style", "disabled", "clearable", "placeholder", "popper-class", "teleported", "disabled-date", "onChange"])) : h("", !0),
317
+ n === "switch" ? (l(), u(r(be), {
318
+ key: 7,
319
+ modelValue: t.formData[e.prop],
320
+ "onUpdate:modelValue": (a) => t.formData[e.prop] = a,
321
+ disabled: e.disabled,
322
+ style: N({ width: e.width ? e.width : t.itemWidth }),
323
+ onChange: (a) => e.change && e.change(t.formData[e.prop])
324
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled", "style", "onChange"])) : h("", !0),
325
+ n == "date" || n == "datetime" || n == "year" || n == "month" ? (l(), u(r(B), v({
326
+ key: 8,
327
+ style: { width: e.width ? e.width : t.itemWidth },
328
+ modelValue: t.formData[e.prop],
329
+ "onUpdate:modelValue": (a) => t.formData[e.prop] = a
330
+ }, { ref_for: !0 }, { ...e }, {
331
+ format: e.format || "YYYY-MM-DD HH:mm:ss",
332
+ "value-format": e.valueFormat || "YYYY-MM-DD HH:mm:ss",
333
+ disabled: e.disabled,
334
+ clearable: e.clearable,
335
+ placeholder: e.placeholder || "请选择",
336
+ "disabled-date": e.disabledDate,
337
+ type: n,
338
+ onChange: (a) => e.change && e.change(t.formData[e.prop])
339
+ }), null, 16, ["style", "modelValue", "onUpdate:modelValue", "format", "value-format", "disabled", "clearable", "placeholder", "disabled-date", "type", "onChange"])) : h("", !0),
340
+ n == "daterange" ? (l(), u(r(B), {
341
+ key: 9,
342
+ modelValue: t.formData[e.prop],
343
+ "onUpdate:modelValue": (a) => t.formData[e.prop] = a,
344
+ format: e.format || "YYYY-MM-DD HH:mm:ss",
345
+ "value-format": e.valueFormat || "YYYY-MM-DD HH:mm:ss",
346
+ type: n,
347
+ disabled: e.disabled,
348
+ "range-separator": "至",
349
+ "start-placeholder": "开始日期",
350
+ "end-placeholder": "结束日期",
351
+ onChange: (a) => e.change && e.change(t.formData[e.prop])
352
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "format", "value-format", "type", "disabled", "onChange"])) : h("", !0)
369
353
  ]),
370
- _: 3
371
- })
372
- ]),
373
- _: 3
374
- }, 8, ["model", "label-width", "inline"]);
375
- };
354
+ _: 2
355
+ }, 1032, ["label", "prop", "rules"])) : h("", !0),
356
+ n == "custom" ? b(m.$slots, e.prop, {
357
+ key: 1,
358
+ item: e
359
+ }, void 0, !0) : h("", !0)
360
+ ], 64))), 256)),
361
+ x(r(z), null, {
362
+ default: i(() => [
363
+ b(m.$slots, "append", {}, void 0, !0)
364
+ ]),
365
+ _: 3
366
+ })
367
+ ]),
368
+ _: 3
369
+ }, 8, ["model", "label-width", "inline"]));
376
370
  }
377
- }), Ie = /* @__PURE__ */ F(Ue, [["__scopeId", "data-v-b55b4189"]]), We = /* @__PURE__ */ $({
371
+ }), Ye = /* @__PURE__ */ I(Fe, [["__scopeId", "data-v-84850699"]]), Ne = /* @__PURE__ */ w({
378
372
  __name: "tableColumnItem",
379
373
  props: {
380
374
  tableColumn: {}
381
375
  },
382
376
  setup(t) {
383
- const u = P(), d = t, c = () => {
384
- const { tableColumn: n } = d;
385
- return n.children?.length || delete n.children, n;
377
+ const d = Y(), s = t, c = () => {
378
+ const { tableColumn: o } = s;
379
+ return o.children?.length || delete o.children, o;
386
380
  };
387
- return (n, m) => {
388
- const b = H("tableColumnItem", !0);
389
- return !n.tableColumn.children || n.tableColumn.children?.length == 0 ? (a(), r(i(z), D({ key: 0 }, { ...c() }, {
390
- prop: n.tableColumn.prop,
391
- label: n.tableColumn.label
392
- }), W({ _: 2 }, [
393
- n.tableColumn.prop && u[n.tableColumn.prop] ? {
381
+ return (o, m) => {
382
+ const p = A("tableColumnItem", !0);
383
+ return !o.tableColumn.children || o.tableColumn.children?.length == 0 ? (l(), u(r(P), v({ key: 0 }, { ...c() }, {
384
+ prop: o.tableColumn.prop,
385
+ label: o.tableColumn.label
386
+ }), M({ _: 2 }, [
387
+ o.tableColumn.prop && d[o.tableColumn.prop] ? {
394
388
  name: "default",
395
- fn: s((h) => [
396
- C(n.$slots, n.tableColumn.prop, {
397
- row: h.row
389
+ fn: i((n) => [
390
+ b(o.$slots, o.tableColumn.prop, {
391
+ row: n.row
398
392
  })
399
393
  ]),
400
394
  key: "0"
401
395
  } : void 0
402
- ]), 1040, ["prop", "label"])) : (a(), r(i(z), {
396
+ ]), 1040, ["prop", "label"])) : (l(), u(r(P), {
403
397
  key: 1,
404
- align: n.tableColumn.align,
405
- label: n.tableColumn.label
398
+ align: o.tableColumn.align,
399
+ label: o.tableColumn.label
406
400
  }, {
407
- default: s(() => [
408
- (a(!0), g(w, null, k(n.tableColumn.children, (h, f) => (a(), r(b, {
409
- key: f,
410
- "table-column": { align: h.align || n.tableColumn.align, ...h }
411
- }, W({ _: 2 }, [
412
- k(u, (y, o) => ({
413
- name: o,
414
- fn: s(({ row: e }) => [
415
- C(n.$slots, o, { row: e }, () => [
416
- M(V(e[o]), 1)
401
+ default: i(() => [
402
+ (l(!0), g(C, null, y(o.tableColumn.children, (n, e) => (l(), u(p, {
403
+ key: e,
404
+ "table-column": { align: n.align || o.tableColumn.align, ...n }
405
+ }, M({ _: 2 }, [
406
+ y(d, (a, f) => ({
407
+ name: f,
408
+ fn: i(({ row: U }) => [
409
+ b(o.$slots, f, { row: U }, () => [
410
+ $(k(U[f]), 1)
417
411
  ])
418
412
  ])
419
413
  }))
@@ -423,7 +417,7 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
423
417
  }, 8, ["align", "label"]));
424
418
  };
425
419
  }
426
- }), Fe = /* @__PURE__ */ $({
420
+ }), Pe = /* @__PURE__ */ w({
427
421
  name: "EasyTable",
428
422
  __name: "index",
429
423
  props: {
@@ -458,81 +452,81 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
458
452
  }
459
453
  },
460
454
  setup(t) {
461
- const u = t, d = Y(() => (u.buttonWidth.toString().indexOf("px") > -1 ? u.buttonWidth.toString().slice(0, -2) : u.buttonWidth, u.buttonWidth)), c = P(), n = E(), m = E("auto");
462
- let b = J();
463
- const h = () => {
464
- let o = "auto";
465
- if (b?.parent?.attrs?.class?.indexOf("content-wrap") > -1) {
455
+ const d = t, s = F(() => (d.buttonWidth.toString().indexOf("px") > -1 ? d.buttonWidth.toString().slice(0, -2) : d.buttonWidth, d.buttonWidth)), c = Y(), o = V(), m = V("auto");
456
+ let p = K();
457
+ const n = () => {
458
+ let f = "auto";
459
+ if (p?.parent?.attrs?.class?.indexOf("content-wrap") > -1) {
466
460
  try {
467
- const U = b?.refs.tableRef, { top: I } = U?.getBoundingClientRect();
468
- o = document.documentElement.clientHeight - I - 65 - 20;
461
+ const S = p?.refs.tableRef, { top: H } = S?.getBoundingClientRect();
462
+ f = document.documentElement.clientHeight - H - 65 - 20;
469
463
  } catch {
470
464
  }
471
- return o;
465
+ return f;
472
466
  }
473
- return o;
474
- }, f = E(), y = () => {
475
- f.value && clearTimeout(f.value), f.value = setTimeout(() => {
476
- m.value = h(), f.value = null;
467
+ return f;
468
+ }, e = V(), a = () => {
469
+ e.value && clearTimeout(e.value), e.value = setTimeout(() => {
470
+ m.value = n(), e.value = null;
477
471
  }, 100);
478
472
  };
479
- return K(() => {
480
- m.value = h(), window.addEventListener("resize", y);
481
- }), Q(() => {
482
- window.removeEventListener("resize", y);
483
- }), (o, e) => (a(), g("div", {
473
+ return Q(() => {
474
+ m.value = n(), window.addEventListener("resize", a);
475
+ }), X(() => {
476
+ window.removeEventListener("resize", a);
477
+ }), (f, U) => (l(), g("div", {
484
478
  ref_key: "tableRef",
485
- ref: n
479
+ ref: o
486
480
  }, [
487
- S(i(he), D({ style: { width: "100%" } }, o.$attrs, {
481
+ x(r(ye), v({ style: { width: "100%" } }, f.$attrs, {
488
482
  data: t.data,
489
483
  height: t.height,
490
484
  maxHeight: t.maxHeight ? t.maxHeight : m.value
491
485
  }), {
492
- default: s(() => [
493
- (a(!0), g(w, null, k(t.tableColumns, (l, v) => (a(), r(We, {
494
- key: v,
495
- "table-column": { align: t.align, ...l }
496
- }, W({ _: 2 }, [
497
- k(c, (U, I) => ({
498
- name: I,
499
- fn: s(({ row: N }) => [
500
- C(o.$slots, I, { row: N }, () => [
501
- M(V(N[I]), 1)
486
+ default: i(() => [
487
+ (l(!0), g(C, null, y(t.tableColumns, (W, E) => (l(), u(Ne, {
488
+ key: E,
489
+ "table-column": { align: t.align, ...W }
490
+ }, M({ _: 2 }, [
491
+ y(c, (S, H) => ({
492
+ name: H,
493
+ fn: i(({ row: T }) => [
494
+ b(f.$slots, H, { row: T }, () => [
495
+ $(k(T[H]), 1)
502
496
  ], !0)
503
497
  ])
504
498
  }))
505
499
  ]), 1032, ["table-column"]))), 128)),
506
- t.buttons && t.buttons.length ? (a(), r(i(z), {
500
+ t.buttons && t.buttons.length ? (l(), u(r(P), {
507
501
  key: 0,
508
502
  align: "center",
509
503
  fixed: "right",
510
504
  label: "操作",
511
- width: d.value
505
+ width: s.value
512
506
  }, {
513
- default: s((l) => [
514
- (a(!0), g(w, null, k(t.buttons, (v, U) => (a(), r(i(pe), {
515
- key: U,
516
- type: v.type.includes("del") ? "danger" : "primary",
507
+ default: i((W) => [
508
+ (l(!0), g(C, null, y(t.buttons, (E, S) => (l(), u(r(L), {
509
+ key: S,
510
+ type: E.type.includes("del") ? "danger" : "primary",
517
511
  onClick: () => {
518
- v.click?.(l.row);
512
+ E.click?.(W.row);
519
513
  },
520
514
  link: ""
521
515
  }, {
522
- default: s(() => [
523
- M(V(v.label), 1)
516
+ default: i(() => [
517
+ $(k(E.label), 1)
524
518
  ]),
525
519
  _: 2
526
520
  }, 1032, ["type", "onClick"]))), 128))
527
521
  ]),
528
522
  _: 1
529
- }, 8, ["width"])) : p("", !0)
523
+ }, 8, ["width"])) : h("", !0)
530
524
  ]),
531
525
  _: 3
532
526
  }, 16, ["data", "height", "maxHeight"])
533
527
  ], 512));
534
528
  }
535
- }), Ye = /* @__PURE__ */ F(Fe, [["__scopeId", "data-v-283c4a1e"]]), Pe = {
529
+ }), Te = /* @__PURE__ */ I(Pe, [["__scopeId", "data-v-283c4a1e"]]), ze = {
536
530
  name: "",
537
531
  components: {},
538
532
  props: {
@@ -542,13 +536,13 @@ const Ce = { class: "flex items-center justify-between" }, ke = { class: "flex i
542
536
  }
543
537
  }
544
538
  };
545
- function Te(t, u, d, c, n, m) {
546
- return d.icon ? (a(), r(X(d.icon), {
539
+ function Re(t, d, s, c, o, m) {
540
+ return s.icon ? (l(), u(Z(s.icon), {
547
541
  key: 0,
548
542
  class: "menu_icon"
549
- })) : p("", !0);
543
+ })) : h("", !0);
550
544
  }
551
- const j = /* @__PURE__ */ F(Pe, [["render", Te], ["__scopeId", "data-v-261ce99a"]]), ze = /* @__PURE__ */ $({
545
+ const O = /* @__PURE__ */ I(ze, [["render", Re], ["__scopeId", "data-v-261ce99a"]]), Be = /* @__PURE__ */ w({
552
546
  name: "subMenu",
553
547
  __name: "subMenu",
554
548
  props: {
@@ -558,43 +552,43 @@ const j = /* @__PURE__ */ F(Pe, [["render", Te], ["__scopeId", "data-v-261ce99a"
558
552
  }
559
553
  },
560
554
  emits: ["handleMenuItemClick"],
561
- setup(t, { emit: u }) {
562
- const d = u;
563
- function c(n) {
564
- d("handleMenuItemClick", n);
555
+ setup(t, { emit: d }) {
556
+ const s = d;
557
+ function c(o) {
558
+ s("handleMenuItemClick", o);
565
559
  }
566
- return (n, m) => {
567
- const b = H("subMenu", !0);
568
- return t.routeData.children && t.routeData.children.length > 0 ? (a(), r(i(ge), {
560
+ return (o, m) => {
561
+ const p = A("subMenu", !0);
562
+ return t.routeData.children && t.routeData.children.length > 0 ? (l(), u(r(ve), {
569
563
  key: 0,
570
564
  index: t.routeData.path
571
565
  }, {
572
- title: s(() => [
573
- S(j, {
566
+ title: i(() => [
567
+ x(O, {
574
568
  icon: t.routeData.meta.icon
575
569
  }, null, 8, ["icon"]),
576
- x("span", null, V(t.routeData.meta.title), 1)
570
+ D("span", null, k(t.routeData.meta.title), 1)
577
571
  ]),
578
- default: s(() => [
579
- (a(!0), g(w, null, k(t.routeData.children, (h, f) => (a(), r(b, {
572
+ default: i(() => [
573
+ (l(!0), g(C, null, y(t.routeData.children, (n, e) => (l(), u(p, {
580
574
  onHandleMenuItemClick: c,
581
- routeData: h,
582
- key: f
575
+ routeData: n,
576
+ key: e
583
577
  }, null, 8, ["routeData"]))), 128))
584
578
  ]),
585
579
  _: 1
586
- }, 8, ["index"])) : (a(), g("div", {
580
+ }, 8, ["index"])) : (l(), g("div", {
587
581
  key: 1,
588
- onClick: m[0] || (m[0] = (h) => c(t.routeData))
582
+ onClick: m[0] || (m[0] = (n) => c(t.routeData))
589
583
  }, [
590
- S(i(be), {
584
+ x(r(Ce), {
591
585
  index: t.routeData.path
592
586
  }, {
593
- title: s(() => [
594
- x("span", null, V(t.routeData.meta.title), 1)
587
+ title: i(() => [
588
+ D("span", null, k(t.routeData.meta.title), 1)
595
589
  ]),
596
- default: s(() => [
597
- S(j, {
590
+ default: i(() => [
591
+ x(O, {
598
592
  icon: t.routeData.meta.icon
599
593
  }, null, 8, ["icon"])
600
594
  ]),
@@ -603,7 +597,7 @@ const j = /* @__PURE__ */ F(Pe, [["render", Te], ["__scopeId", "data-v-261ce99a"
603
597
  ]));
604
598
  };
605
599
  }
606
- }), Ne = /* @__PURE__ */ $({
600
+ }), Oe = /* @__PURE__ */ w({
607
601
  name: "MenuTree",
608
602
  __name: "index",
609
603
  props: {
@@ -613,21 +607,21 @@ const j = /* @__PURE__ */ F(Pe, [["render", Te], ["__scopeId", "data-v-261ce99a"
613
607
  }
614
608
  },
615
609
  emits: ["handleMenuItemClick"],
616
- setup(t, { emit: u }) {
617
- const d = u, c = (n) => {
618
- d("handleMenuItemClick", n);
610
+ setup(t, { emit: d }) {
611
+ const s = d, c = (o) => {
612
+ s("handleMenuItemClick", o);
619
613
  };
620
- return (n, m) => (a(), r(i(ye), Z(_(n.$attrs)), {
621
- default: s(() => [
622
- (a(!0), g(w, null, k(t.menuList, (b) => (a(), r(ze, {
623
- routeData: b,
614
+ return (o, m) => (l(), u(r(ke), _(ee(o.$attrs)), {
615
+ default: i(() => [
616
+ (l(!0), g(C, null, y(t.menuList, (p) => (l(), u(Be, {
617
+ routeData: p,
624
618
  onHandleMenuItemClick: c
625
619
  }, null, 8, ["routeData"]))), 256))
626
620
  ]),
627
621
  _: 1
628
622
  }, 16));
629
623
  }
630
- }), Be = /* @__PURE__ */ $({
624
+ }), je = /* @__PURE__ */ w({
631
625
  name: "Pagination",
632
626
  __name: "index",
633
627
  props: {
@@ -655,62 +649,62 @@ const j = /* @__PURE__ */ F(Pe, [["render", Te], ["__scopeId", "data-v-261ce99a"
655
649
  onPagination: { type: Function }
656
650
  },
657
651
  emits: ["update:page", "update:limit", "pagination"],
658
- setup(t, { emit: u }) {
659
- const d = t, c = u, n = Y({
652
+ setup(t, { emit: d }) {
653
+ const s = t, c = d, o = F({
660
654
  get() {
661
- return d.page;
655
+ return s.page;
662
656
  },
663
- set(f) {
664
- c("update:page", f);
657
+ set(e) {
658
+ c("update:page", e);
665
659
  }
666
- }), m = Y({
660
+ }), m = F({
667
661
  get() {
668
- return d.limit;
662
+ return s.limit;
669
663
  },
670
- set(f) {
671
- c("update:limit", f);
664
+ set(e) {
665
+ c("update:limit", e);
672
666
  }
673
- }), b = (f) => {
674
- n.value * f > d.total && (n.value = 1), c("pagination", { page: n.value, limit: f });
675
- }, h = (f) => {
676
- c("pagination", { page: f, limit: m.value });
667
+ }), p = (e) => {
668
+ o.value * e > s.total && (o.value = 1), c("pagination", { page: o.value, limit: e });
669
+ }, n = (e) => {
670
+ c("pagination", { page: e, limit: m.value });
677
671
  };
678
- return (f, y) => ee((a(), r(i(ve), {
679
- "current-page": n.value,
680
- "onUpdate:currentPage": y[0] || (y[0] = (o) => n.value = o),
672
+ return (e, a) => te((l(), u(r(De), {
673
+ "current-page": o.value,
674
+ "onUpdate:currentPage": a[0] || (a[0] = (f) => o.value = f),
681
675
  "page-size": m.value,
682
- "onUpdate:pageSize": y[1] || (y[1] = (o) => m.value = o),
676
+ "onUpdate:pageSize": a[1] || (a[1] = (f) => m.value = f),
683
677
  background: !0,
684
678
  "page-sizes": [10, 20, 30, 50, 100],
685
679
  "pager-count": t.pagerCount,
686
680
  total: t.total,
687
681
  class: "pagination",
688
682
  layout: "total, sizes, prev, pager, next, jumper",
689
- onSizeChange: b,
690
- onCurrentChange: h
683
+ onSizeChange: p,
684
+ onCurrentChange: n
691
685
  }, null, 8, ["current-page", "page-size", "pager-count", "total"])), [
692
- [te, t.total > 0]
686
+ [ae, t.total > 0]
693
687
  ]);
694
688
  }
695
- }), Re = /* @__PURE__ */ F(Be, [["__scopeId", "data-v-e3fa4ed7"]]), Oe = [
696
- Ee,
697
- He,
698
- Ie,
689
+ }), Ae = /* @__PURE__ */ I(je, [["__scopeId", "data-v-e3fa4ed7"]]), Le = [
690
+ Me,
691
+ Ue,
699
692
  Ye,
700
- Ne,
701
- Re
702
- ], A = [], je = (t) => {
703
- Oe.forEach((u) => {
704
- A.push(u.name), t.component(u.name, u);
705
- }), console.log("mwl-components", A);
706
- }, qe = { install: je };
693
+ Te,
694
+ Oe,
695
+ Ae
696
+ ], j = [], qe = (t) => {
697
+ Le.forEach((d) => {
698
+ j.push(d.name), t.component(d.name, d);
699
+ }), console.log("mwl-components", j);
700
+ }, Ke = { install: qe };
707
701
  export {
708
- Ee as ContentWarp,
709
- He as Dialog,
710
- Ie as EasyForm,
711
- Ye as EasyTable,
712
- Ne as MenuTree,
713
- Re as Pagination,
714
- qe as default,
715
- je as install
702
+ Me as ContentWarp,
703
+ Ue as Dialog,
704
+ Ye as EasyForm,
705
+ Te as EasyTable,
706
+ Oe as MenuTree,
707
+ Ae as Pagination,
708
+ Ke as default,
709
+ qe as install
716
710
  };
@@ -1 +1 @@
1
- .el-card[data-v-cce44bc6]{background-color:transparent;margin-bottom:10px}[data-v-cce44bc6] .el-card__body:has(>.el-form){padding:18px 20px 0}[data-v-cce44bc6] .el-card__body{padding:20px}.custom-dialog{padding:0}.custom-dialog .el-dialog__header{--el-dialog-padding-primary: 20px;margin-right:0!important;border-bottom:1px solid #eee;padding:var(--el-dialog-padding-primary);padding-bottom:10px}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-right:30px}.dialog-header .fullScreen{cursor:pointer;z-index:99}.el-dialog__headerbtn{top:8px}.el-dialog__body{padding:20px 30px;color:#606266;font-size:14px}.el-dialog__footer{padding:10px 20px 20px;border-top:1px solid #eee}[data-v-b55b4189] .el-form-item__label{font-size:var(--el-font-size-base)}[data-v-283c4a1e] .el-table,[data-v-283c4a1e] th.el-table__cell,[data-v-283c4a1e] tr{background-color:transparent!important}.menu_icon[data-v-261ce99a]{width:22px;height:22px;margin-right:5px;fill:currentColor;display:inline-block;font-size:16px}.pagination[data-v-e3fa4ed7]{margin-top:15px;margin-bottom:15px;float:right}@media screen and (max-width: 1370px){.pagination[data-v-e3fa4ed7]{margin-top:8px;margin-bottom:8px}}
1
+ .el-card[data-v-cce44bc6]{background-color:transparent;margin-bottom:10px}[data-v-cce44bc6] .el-card__body:has(>.el-form){padding:18px 20px 0}[data-v-cce44bc6] .el-card__body{padding:20px}.custom-dialog{padding:0}.custom-dialog .el-dialog__header{--el-dialog-padding-primary: 20px;margin-right:0!important;border-bottom:1px solid #eee;padding:var(--el-dialog-padding-primary);padding-bottom:10px}.dialog-header{display:flex;align-items:center;justify-content:space-between;margin-right:30px}.dialog-header .fullScreen{cursor:pointer;z-index:99}.el-dialog__headerbtn{top:8px}.el-dialog__body{padding:20px 30px;color:#606266;font-size:14px}.el-dialog__footer{padding:10px 20px 20px;border-top:1px solid #eee}[data-v-84850699] .el-form-item__label{font-size:var(--el-font-size-base)}[data-v-283c4a1e] .el-table,[data-v-283c4a1e] th.el-table__cell,[data-v-283c4a1e] tr{background-color:transparent!important}.menu_icon[data-v-261ce99a]{width:22px;height:22px;margin-right:5px;fill:currentColor;display:inline-block;font-size:16px}.pagination[data-v-e3fa4ed7]{margin-top:15px;margin-bottom:15px;float:right}@media screen and (max-width: 1370px){.pagination[data-v-e3fa4ed7]{margin-top:8px;margin-bottom:8px}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mwl-components",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "module": "dist/index.js",