mhz-ui 1.0.19 → 1.0.21

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.
@@ -1,7 +1,7 @@
1
1
  import "./UiTable.css";
2
- import { defineComponent as g, ref as i, onMounted as v, onBeforeUnmount as f, openBlock as o, createElementBlock as n, normalizeClass as t, createCommentVNode as m, createElementVNode as s, Fragment as k, renderList as z, toDisplayString as h, renderSlot as w } from "vue";
3
- import { _ as B } from "../_plugin-vue_export-helper-dad06003.js";
4
- const V = ["data-loading"], $ = ["onClick"], S = ["data-current", "data-loading"], C = ["data-current", "data-loading"], L = /* @__PURE__ */ g({
2
+ import { defineComponent as g, ref as i, onMounted as v, onBeforeUnmount as f, openBlock as o, createElementBlock as n, normalizeClass as l, createCommentVNode as m, createElementVNode as a, Fragment as k, renderList as h, toDisplayString as z, renderSlot as V } from "vue";
3
+ import { _ as w } from "../_plugin-vue_export-helper-dad06003.js";
4
+ const B = ["data-loading"], $ = { "data-test": "ui-table-header-title" }, S = ["onClick", "data-current"], C = ["data-current", "data-loading"], L = ["data-current", "data-loading"], M = /* @__PURE__ */ g({
5
5
  __name: "UiTable",
6
6
  props: {
7
7
  headers: {},
@@ -10,86 +10,91 @@ const V = ["data-loading"], $ = ["onClick"], S = ["data-current", "data-loading"
10
10
  },
11
11
  emits: ["update:modelValue", "reset"],
12
12
  setup(y, { emit: u }) {
13
- const l = y, r = i(), c = i(), _ = i(!1);
14
- function d() {
15
- if (r.value && c.value) {
16
- const e = Number(getComputedStyle(r.value).width.slice(0, -2)), b = Number(getComputedStyle(c.value).width.slice(0, -2));
17
- _.value = b > e;
13
+ const t = y, r = i(), d = i(), b = i(!1);
14
+ function c() {
15
+ if (r.value && d.value) {
16
+ const e = Number(getComputedStyle(r.value).width.slice(0, -2)), _ = Number(getComputedStyle(d.value).width.slice(0, -2));
17
+ b.value = _ > e;
18
18
  }
19
19
  }
20
20
  function p(e) {
21
- l.modelValue?.value === e ? u("update:modelValue", { value: e, isAsc: !l.modelValue.isAsc }) : u("reset", e);
21
+ t.modelValue?.value === e ? u("update:modelValue", { value: e, isAsc: !t.modelValue.isAsc }) : u("reset", e);
22
22
  }
23
23
  return v(() => {
24
- d(), window.addEventListener("resize", d, !0);
24
+ c(), window.addEventListener("resize", c, !0);
25
25
  }), f(() => {
26
- window.removeEventListener("resize", d, !0);
27
- }), (e, b) => (o(), n("div", {
28
- class: t(e.$style.tableBlock),
26
+ window.removeEventListener("resize", c, !0);
27
+ }), (e, _) => (o(), n("div", {
28
+ class: l(e.$style.tableBlock),
29
29
  ref_key: "tableBlock",
30
30
  ref: r
31
31
  }, [
32
- _.value ? (o(), n("div", {
32
+ b.value ? (o(), n("div", {
33
33
  key: 0,
34
- class: t(e.$style.scrollMessage)
34
+ class: l(e.$style.scrollMessage)
35
35
  }, "Table is scrollable →", 2)) : m("", !0),
36
- s("table", {
37
- class: t(e.$style.table),
36
+ a("table", {
37
+ class: l(e.$style.table),
38
38
  cellpadding: "8",
39
39
  cellspacing: "0",
40
40
  border: 0,
41
41
  ref_key: "table",
42
- ref: c
42
+ ref: d
43
43
  }, [
44
- s("thead", null, [
45
- s("tr", null, [
46
- (o(!0), n(k, null, z(l.headers, (a) => (o(), n("th", {
47
- key: a.value,
48
- class: t(e.$style.th)
44
+ a("thead", null, [
45
+ a("tr", null, [
46
+ (o(!0), n(k, null, h(t.headers, (s) => (o(), n("th", {
47
+ key: s.value,
48
+ class: l(e.$style.th),
49
+ "data-test": "ui-table-header"
49
50
  }, [
50
- s("label", {
51
- class: t(e.$style.label),
52
- "data-loading": l.isLoading
51
+ a("label", {
52
+ class: l(e.$style.label),
53
+ "data-loading": t.isLoading
53
54
  }, [
54
- s("span", null, h(a.title), 1),
55
- a.value ? (o(), n("button", {
55
+ a("span", $, z(s.title), 1),
56
+ s.value ? (o(), n("button", {
56
57
  key: 0,
58
+ onClick: (G) => p(s.value),
59
+ class: l(e.$style.sort),
57
60
  type: "button",
58
- onClick: (q) => p(a.value),
59
- class: t(e.$style.sort)
61
+ "data-current": t.modelValue?.value === s.value,
62
+ "data-test": "ui-table-header-sort"
60
63
  }, [
61
- s("span", {
62
- "data-current": l.modelValue?.isAsc && l.modelValue?.value === a.value,
63
- class: t(e.$style.arrow),
64
- "data-loading": l.isLoading
65
- }, " ", 10, S),
66
- s("span", {
67
- "data-current": !l.modelValue?.isAsc && l.modelValue?.value === a.value,
68
- class: t(e.$style.arrow),
69
- "data-loading": l.isLoading
70
- }, "", 10, C)
71
- ], 10, $)) : m("", !0)
72
- ], 10, V)
64
+ a("span", {
65
+ class: l(e.$style.arrow),
66
+ "data-current": t.modelValue?.isAsc && t.modelValue?.value === s.value,
67
+ "data-loading": t.isLoading,
68
+ "data-test": "ui-table-header-sort-asc"
69
+ }, "", 10, C),
70
+ a("span", {
71
+ class: l(e.$style.arrow),
72
+ "data-current": !t.modelValue?.isAsc && t.modelValue?.value === s.value,
73
+ "data-loading": t.isLoading,
74
+ "data-test": "ui-table-header-sort-desc"
75
+ }, " ↓ ", 10, L)
76
+ ], 10, S)) : m("", !0)
77
+ ], 10, B)
73
78
  ], 2))), 128))
74
79
  ])
75
80
  ]),
76
- s("tbody", null, [
77
- w(e.$slots, "default")
81
+ a("tbody", null, [
82
+ V(e.$slots, "default")
78
83
  ])
79
84
  ], 2)
80
85
  ], 2));
81
86
  }
82
- }), M = "_tableBlock_szy89_1", A = "_scrollMessage_szy89_6", E = "_table_szy89_1", N = "_th_szy89_27", T = "_label_szy89_39", U = "_sort_szy89_57", D = "_arrow_szy89_69", F = {
83
- tableBlock: M,
84
- scrollMessage: A,
85
- table: E,
86
- th: N,
87
- label: T,
88
- sort: U,
89
- arrow: D
90
- }, j = {
91
- $style: F
92
- }, I = /* @__PURE__ */ B(L, [["__cssModules", j]]);
87
+ }), A = "_tableBlock_szy89_1", E = "_scrollMessage_szy89_6", N = "_table_szy89_1", T = "_th_szy89_27", U = "_label_szy89_39", D = "_sort_szy89_57", F = "_arrow_szy89_69", j = {
88
+ tableBlock: A,
89
+ scrollMessage: E,
90
+ table: N,
91
+ th: T,
92
+ label: U,
93
+ sort: D,
94
+ arrow: F
95
+ }, q = {
96
+ $style: j
97
+ }, J = /* @__PURE__ */ w(M, [["__cssModules", q]]);
93
98
  export {
94
- I as default
99
+ J as default
95
100
  };
@@ -1 +1 @@
1
- ._container_1r8ww_1{display:flex;gap:16px}._upload_1r8ww_6{display:flex;flex-direction:column;gap:4px}._addButton_1r8ww_12{display:flex;flex-direction:column;gap:8px;min-width:200px}._text_1r8ww_19{font-size:.75rem}._text_1r8ww_19[data-error=true]{color:var(--color-error)}._input_1r8ww_26{display:none}._name_1r8ww_30{flex:1;max-width:136px;overflow:hidden;font-size:.875rem;text-overflow:ellipsis}._files_1r8ww_38{display:flex;gap:8px;align-items:center}._error_1r8ww_44{color:var(--color-error)}._uploadButton_1r8ww_48[data-label=true]{margin-top:28px}
1
+ ._container_1acec_1{display:flex;gap:16px}._upload_1acec_6{display:flex;flex-direction:column;gap:4px}._addButton_1acec_12{display:flex;flex-direction:column;gap:8px;min-width:200px}._text_1acec_19{font-size:.75rem}._text_1acec_19[data-error=true]{color:var(--color-error)}._input_1acec_26{display:none}._name_1acec_30{flex:1;max-width:136px;overflow:hidden;font-size:.875rem;text-overflow:ellipsis}._file_1acec_38{display:flex;gap:8px;align-items:center}._error_1acec_44{color:var(--color-error)}._uploadButton_1acec_48[data-label=true]{margin-top:28px}
@@ -3,10 +3,6 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: import("vue").PropType<string>;
4
4
  default: undefined;
5
5
  };
6
- layout: {
7
- type: import("vue").PropType<"primary" | "secondary">;
8
- default: string;
9
- };
10
6
  isDisabled: {
11
7
  type: import("vue").PropType<boolean>;
12
8
  };
@@ -37,10 +33,6 @@ declare const _default: import("vue").DefineComponent<{
37
33
  type: import("vue").PropType<string>;
38
34
  default: undefined;
39
35
  };
40
- layout: {
41
- type: import("vue").PropType<"primary" | "secondary">;
42
- default: string;
43
- };
44
36
  isDisabled: {
45
37
  type: import("vue").PropType<boolean>;
46
38
  };
@@ -72,7 +64,6 @@ declare const _default: import("vue").DefineComponent<{
72
64
  onUpload?: ((...args: any[]) => any) | undefined;
73
65
  }, {
74
66
  label: string;
75
- layout: "primary" | "secondary";
76
67
  error: string | boolean;
77
68
  extensions: string[];
78
69
  file: File;
@@ -1,22 +1,24 @@
1
1
  import "./UiUpload.css";
2
- import { openBlock as i, createElementBlock as s, createStaticVNode as S, defineComponent as b, ref as w, computed as z, normalizeClass as o, createElementVNode as a, toDisplayString as c, createCommentVNode as d, createVNode as p, unref as D, withCtx as f, createTextVNode as u, Fragment as g, renderList as M, withDirectives as N, vShow as U } from "vue";
2
+ import { openBlock as n, createElementBlock as o, createStaticVNode as z, defineComponent as I, ref as $, computed as M, normalizeClass as i, createElementVNode as s, toDisplayString as u, createCommentVNode as c, createVNode as p, unref as k, withCtx as f, createTextVNode as r, Fragment as B, renderList as D, withDirectives as F, vShow as N } from "vue";
3
3
  import _ from "../UiButton/UiButton.js";
4
- import { _ as V } from "../_plugin-vue_export-helper-dad06003.js";
5
- const R = {
4
+ import { _ as U } from "../_plugin-vue_export-helper-dad06003.js";
5
+ const v = 10 * 1024 * 1024;
6
+ new File([""], "file1.png");
7
+ new File([""], "file2.png");
8
+ const V = {
6
9
  xmlns: "http://www.w3.org/2000/svg",
7
10
  width: "16",
8
11
  height: "16",
9
12
  fill: "none"
10
- }, j = /* @__PURE__ */ S('<g fill="currentColor" fill-rule="evenodd" clip-path="url(#a)" clip-rule="evenodd"><path d="M12.219 0h.875C14.719.313 15.688 1.281 16 2.906v.875a3.576 3.576 0 0 1-.766 1.719l-4.546 4.547c-1.024.792-2.149.98-3.376.562a3.552 3.552 0 0 1-1.234-.828c-.247-.498-.117-.857.39-1.078a.979.979 0 0 1 .438.031c.2.169.408.325.625.47.727.375 1.435.344 2.125-.095 1.525-1.494 3.041-2.999 4.547-4.515.619-.881.598-1.746-.062-2.594-.858-.79-1.77-.857-2.735-.203a143.12 143.12 0 0 1-2.531 2.5c-.48.2-.819.06-1.016-.422a.8.8 0 0 1 .094-.563L10.531.735A3.614 3.614 0 0 1 12.22 0Z"></path><path d="M3.781 16h-.875C1.281 15.687.312 14.719 0 13.094v-.875c.101-.64.356-1.213.766-1.719l4.171-4.172c1.105-.844 2.303-1 3.594-.469.307.151.588.339.844.563a.75.75 0 0 1 .266.797c-.182.406-.49.546-.922.422l-.688-.5c-.71-.342-1.398-.3-2.062.125-1.4 1.369-2.791 2.749-4.172 4.14-.627.9-.595 1.774.094 2.625.792.72 1.652.808 2.578.266l2.281-2.219c.586-.212.93-.014 1.031.594a.708.708 0 0 1-.11.39c-.723.725-1.447 1.448-2.171 2.172A3.576 3.576 0 0 1 3.781 16Z"></path></g><defs><clipPath id="a"><path fill="currentColor" d="M0 0h16v16H0z"></path></clipPath></defs>', 2), x = [
11
- j
13
+ }, x = /* @__PURE__ */ z('<g fill="currentColor" fill-rule="evenodd" clip-path="url(#a)" clip-rule="evenodd"><path d="M12.219 0h.875C14.719.313 15.688 1.281 16 2.906v.875a3.576 3.576 0 0 1-.766 1.719l-4.546 4.547c-1.024.792-2.149.98-3.376.562a3.552 3.552 0 0 1-1.234-.828c-.247-.498-.117-.857.39-1.078a.979.979 0 0 1 .438.031c.2.169.408.325.625.47.727.375 1.435.344 2.125-.095 1.525-1.494 3.041-2.999 4.547-4.515.619-.881.598-1.746-.062-2.594-.858-.79-1.77-.857-2.735-.203a143.12 143.12 0 0 1-2.531 2.5c-.48.2-.819.06-1.016-.422a.8.8 0 0 1 .094-.563L10.531.735A3.614 3.614 0 0 1 12.22 0Z"></path><path d="M3.781 16h-.875C1.281 15.687.312 14.719 0 13.094v-.875c.101-.64.356-1.213.766-1.719l4.171-4.172c1.105-.844 2.303-1 3.594-.469.307.151.588.339.844.563a.75.75 0 0 1 .266.797c-.182.406-.49.546-.922.422l-.688-.5c-.71-.342-1.398-.3-2.062.125-1.4 1.369-2.791 2.749-4.172 4.14-.627.9-.595 1.774.094 2.625.792.72 1.652.808 2.578.266l2.281-2.219c.586-.212.93-.014 1.031.594a.708.708 0 0 1-.11.39c-.723.725-1.447 1.448-2.171 2.172A3.576 3.576 0 0 1 3.781 16Z"></path></g><defs><clipPath id="a"><path fill="currentColor" d="M0 0h16v16H0z"></path></clipPath></defs>', 2), E = [
14
+ x
12
15
  ];
13
- function A(y, r) {
14
- return i(), s("svg", R, x);
16
+ function L(m, d) {
17
+ return n(), o("svg", V, E);
15
18
  }
16
- const F = { render: A }, I = { key: 0 }, q = ["data-error"], E = ["accept", "multiple"], L = ["data-label"], P = /* @__PURE__ */ b({
19
+ const R = { render: L }, j = { key: 0 }, q = { "data-test": "ui-upload-label" }, A = ["data-error"], Z = ["accept", "multiple"], P = ["data-label"], H = /* @__PURE__ */ I({
17
20
  __name: "UiUpload",
18
21
  props: {
19
- layout: { default: "secondary" },
20
22
  label: { default: void 0 },
21
23
  file: { default: void 0 },
22
24
  files: { default: () => [] },
@@ -27,136 +29,147 @@ const F = { render: A }, I = { key: 0 }, q = ["data-error"], E = ["accept", "mul
27
29
  isSingle: { type: Boolean }
28
30
  },
29
31
  emits: ["add", "remove", "upload"],
30
- setup(y, { emit: r }) {
31
- const e = y, v = w(), m = w(0), $ = z(() => e.extensions.map((t) => `.${t}`).join());
32
- function k() {
33
- v?.value?.click?.();
32
+ setup(m, { emit: d }) {
33
+ const e = m, y = $(), g = $(0), C = M(() => e.extensions.map((t) => `.${t}`).join());
34
+ function S() {
35
+ y?.value?.click?.();
34
36
  }
35
37
  async function h(t) {
36
- r("remove", t), m.value++;
38
+ d("remove", t), g.value++;
37
39
  }
38
- function B(t) {
40
+ function b(t) {
39
41
  if (e.isSingle) {
40
42
  const l = t.files?.[0];
41
- l?.size && l.size < 10 * 1024 * 1024 && r("add", l);
43
+ l?.size && l.size < v && d("add", l);
42
44
  } else {
43
45
  const l = t.files;
44
46
  if (l === null)
45
47
  return;
46
- for (let n = 0; n < l.length; n++)
47
- l[n].size && l[n].size < 10 * 1024 * 1024 && r("add", l[n]);
48
+ for (let a = 0; a < l.length; a++)
49
+ l[a].size && l[a].size < v && d("add", l[a]);
48
50
  }
49
51
  }
50
- return (t, l) => (i(), s("div", {
51
- class: o(t.$style.container)
52
+ return (t, l) => (n(), o("div", {
53
+ class: i(t.$style.container)
52
54
  }, [
53
- a("div", {
54
- class: o(t.$style.upload)
55
+ s("div", {
56
+ class: i(t.$style.upload)
55
57
  }, [
56
- e.label ? (i(), s("div", I, [
57
- a("span", null, c(e.label), 1),
58
- e.isRequired ? (i(), s("span", {
58
+ e.label ? (n(), o("div", j, [
59
+ s("span", q, u(e.label), 1),
60
+ e.isRequired ? (n(), o("span", {
59
61
  key: 0,
60
- class: o(t.$style.error)
61
- }, "*", 2)) : d("", !0)
62
- ])) : d("", !0),
63
- a("div", {
64
- class: o(t.$style.addButton)
62
+ class: i(t.$style.error),
63
+ "data-test": "ui-upload-required"
64
+ }, "*", 2)) : c("", !0)
65
+ ])) : c("", !0),
66
+ s("div", {
67
+ class: i(t.$style.addButton)
65
68
  }, [
66
69
  p(_, {
67
- layout: e.layout,
70
+ onClick: S,
71
+ layout: "secondary",
68
72
  isDisabled: e.isDisabled || e.isSingle && e.files.length >= 1 || e.isSingle && !!e.file,
69
- onClick: k,
70
- icon: D(F)
73
+ icon: k(R),
74
+ "data-test": "ui-upload-add"
71
75
  }, {
72
76
  default: f(() => [
73
- u(" Add file"),
74
- e.isSingle ? d("", !0) : (i(), s(g, { key: 0 }, [
75
- u("s")
77
+ r(" Add file"),
78
+ e.isSingle ? c("", !0) : (n(), o(B, { key: 0 }, [
79
+ r("s")
76
80
  ], 64))
77
81
  ]),
78
82
  _: 1
79
- }, 8, ["layout", "isDisabled", "icon"]),
80
- a("div", {
81
- class: o(t.$style.text),
82
- "data-error": !!e.error
83
- }, "Size up to 10 Mb, " + c(e.extensions.join(", ")) + ".", 11, q)
83
+ }, 8, ["isDisabled", "icon"]),
84
+ s("div", {
85
+ class: i(t.$style.text),
86
+ "data-error": !!e.error,
87
+ "data-test": "ui-upload-text"
88
+ }, " Size up to " + u(k(v) / (1024 * 1024)) + " Mb, " + u(e.extensions.join(", ")) + ". ", 11, A)
84
89
  ], 2),
85
- (i(), s("input", {
86
- ref_key: "input",
87
- ref: v,
88
- class: o(t.$style.input),
89
- key: m.value,
90
+ (n(), o("input", {
90
91
  type: "file",
91
- accept: $.value,
92
+ onInput: l[0] || (l[0] = (a) => b(a.target)),
93
+ ref_key: "input",
94
+ ref: y,
95
+ class: i(t.$style.input),
96
+ key: g.value,
97
+ accept: C.value,
92
98
  multiple: !e.isSingle,
93
- onInput: l[0] || (l[0] = (n) => B(n.target))
94
- }, null, 42, E)),
95
- e.files?.length && !e.file ? (i(!0), s(g, { key: 1 }, M(t.files, (n, C) => (i(), s("div", {
96
- key: `${n}-${C}`,
97
- class: o(t.$style.files)
99
+ "data-test": "ui-upload-input"
100
+ }, null, 42, Z)),
101
+ e.files?.length && !e.file ? (n(!0), o(B, { key: 1 }, D(t.files, (a, w) => (n(), o("div", {
102
+ key: `${a}-${w}`,
103
+ class: i(t.$style.file),
104
+ "data-test": "ui-upload-file"
98
105
  }, [
99
- a("div", {
100
- class: o(t.$style.name)
101
- }, c(n.name), 3),
106
+ s("div", {
107
+ class: i(t.$style.name),
108
+ "data-test": "ui-upload-file-name"
109
+ }, u(a.name), 3),
102
110
  p(_, {
103
- onClick: (ee) => h(n),
104
- layout: "plain"
111
+ onClick: (le) => h(a),
112
+ layout: "plain",
113
+ "data-test": "ui-upload-file-remove"
105
114
  }, {
106
115
  default: f(() => [
107
- u("Remove")
116
+ r("Remove")
108
117
  ]),
109
118
  _: 2
110
119
  }, 1032, ["onClick"])
111
- ], 2))), 128)) : d("", !0),
112
- e.isSingle && e.file ? (i(), s("div", {
120
+ ], 2))), 128)) : c("", !0),
121
+ e.isSingle && e.file ? (n(), o("div", {
113
122
  key: 2,
114
- class: o(t.$style.files)
123
+ class: i(t.$style.file),
124
+ "data-test": "ui-upload-file-single"
115
125
  }, [
116
- a("div", {
117
- class: o(t.$style.name)
118
- }, c(e.file.name), 3),
126
+ s("div", {
127
+ class: i(t.$style.name),
128
+ "data-test": "ui-upload-file-name-single"
129
+ }, u(e.file.name), 3),
119
130
  p(_, {
120
- onClick: l[1] || (l[1] = (n) => h(e.file)),
121
- layout: "plain"
131
+ onClick: l[1] || (l[1] = (a) => h(e.file)),
132
+ layout: "plain",
133
+ "data-test": "ui-upload-file-remove-single"
122
134
  }, {
123
135
  default: f(() => [
124
- u("Remove")
136
+ r("Remove")
125
137
  ]),
126
138
  _: 1
127
139
  })
128
- ], 2)) : d("", !0)
140
+ ], 2)) : c("", !0)
129
141
  ], 2),
130
- N(a("div", {
131
- class: o(t.$style.uploadButton),
142
+ F(s("div", {
143
+ class: i(t.$style.uploadButton),
132
144
  "data-label": !!e.label
133
145
  }, [
134
146
  p(_, {
135
- onClick: l[2] || (l[2] = (n) => r("upload"))
147
+ onClick: l[2] || (l[2] = (a) => d("upload")),
148
+ "data-test": "ui-upload"
136
149
  }, {
137
150
  default: f(() => [
138
- u("Upload")
151
+ r("Upload")
139
152
  ]),
140
153
  _: 1
141
154
  })
142
- ], 10, L), [
143
- [U, e.isSingle && e.file || !!e.files.length]
155
+ ], 10, P), [
156
+ [N, e.isSingle && e.file || !!e.files.length]
144
157
  ])
145
158
  ], 2));
146
159
  }
147
- }), Z = "_container_1r8ww_1", H = "_upload_1r8ww_6", K = "_addButton_1r8ww_12", G = "_text_1r8ww_19", J = "_input_1r8ww_26", O = "_name_1r8ww_30", Q = "_files_1r8ww_38", W = "_error_1r8ww_44", X = "_uploadButton_1r8ww_48", Y = {
148
- container: Z,
149
- upload: H,
150
- addButton: K,
151
- text: G,
152
- input: J,
153
- name: O,
154
- files: Q,
155
- error: W,
156
- uploadButton: X
157
- }, T = {
158
- $style: Y
159
- }, oe = /* @__PURE__ */ V(P, [["__cssModules", T]]);
160
+ }), K = "_container_1acec_1", G = "_upload_1acec_6", J = "_addButton_1acec_12", O = "_text_1acec_19", Q = "_input_1acec_26", T = "_name_1acec_30", W = "_file_1acec_38", X = "_error_1acec_44", Y = "_uploadButton_1acec_48", ee = {
161
+ container: K,
162
+ upload: G,
163
+ addButton: J,
164
+ text: O,
165
+ input: Q,
166
+ name: T,
167
+ file: W,
168
+ error: X,
169
+ uploadButton: Y
170
+ }, te = {
171
+ $style: ee
172
+ }, oe = /* @__PURE__ */ U(H, [["__cssModules", te]]);
160
173
  export {
161
174
  oe as default
162
175
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mhz-ui",
3
3
  "description": "mhz-ui",
4
- "version": "1.0.19",
4
+ "version": "1.0.21",
5
5
  "author": "Alexandr Dergunov <dergunovs@mail.ru> (https://github.com/dergunovs)",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -32,37 +32,37 @@
32
32
  "@vueuse/integrations": "10.4.1",
33
33
  "perfect-debounce": "1.0.0",
34
34
  "vue": "3.3.4",
35
- "vue-router": "4.2.4"
35
+ "vue-router": "4.2.5"
36
36
  },
37
37
  "devDependencies": {
38
- "@storybook/addon-essentials": "7.4.3",
39
- "@storybook/addon-interactions": "7.4.3",
40
- "@storybook/addon-links": "7.4.3",
41
- "@storybook/blocks": "7.4.3",
42
- "@storybook/core-events": "7.4.3",
43
- "@storybook/preview-api": "7.4.3",
44
- "@storybook/vue3": "7.4.3",
45
- "@storybook/vue3-vite": "7.4.3",
46
- "@types/node": "20.6.3",
38
+ "@storybook/addon-essentials": "7.4.4",
39
+ "@storybook/addon-interactions": "7.4.4",
40
+ "@storybook/addon-links": "7.4.4",
41
+ "@storybook/blocks": "7.4.4",
42
+ "@storybook/core-events": "7.4.4",
43
+ "@storybook/preview-api": "7.4.4",
44
+ "@storybook/vue3": "7.4.4",
45
+ "@storybook/vue3-vite": "7.4.4",
46
+ "@types/node": "20.6.4",
47
47
  "@typescript-eslint/eslint-plugin": "6.7.2",
48
48
  "@typescript-eslint/parser": "6.7.2",
49
49
  "@vitejs/plugin-vue": "4.3.4",
50
- "@vitest/coverage-v8": "0.34.4",
50
+ "@vitest/coverage-v8": "0.34.5",
51
51
  "@vue/test-utils": "2.4.1",
52
- "eslint": "8.49.0",
52
+ "eslint": "8.50.0",
53
53
  "eslint-config-prettier": "9.0.0",
54
- "eslint-import-resolver-typescript": "3.6.0",
54
+ "eslint-import-resolver-typescript": "3.6.1",
55
55
  "eslint-plugin-import": "2.28.1",
56
56
  "eslint-plugin-prettier": "5.0.0",
57
57
  "eslint-plugin-vue": "9.17.0",
58
- "happy-dom": "12.1.5",
58
+ "happy-dom": "12.1.6",
59
59
  "postcss-html": "1.5.0",
60
60
  "postcss-scss": "4.0.8",
61
61
  "prettier": "3.0.3",
62
62
  "react": "18.2.0",
63
63
  "react-dom": "18.2.0",
64
64
  "sass": "1.68.0",
65
- "storybook": "7.4.3",
65
+ "storybook": "7.4.4",
66
66
  "stylelint": "15.10.3",
67
67
  "stylelint-config-recess-order": "4.3.0",
68
68
  "stylelint-config-recommended-scss": "13.0.0",
@@ -70,16 +70,16 @@
70
70
  "stylelint-prettier": "4.0.2",
71
71
  "typescript": "5.2.2",
72
72
  "vite": "4.4.9",
73
- "vite-plugin-dts": "3.5.3",
73
+ "vite-plugin-dts": "3.5.4",
74
74
  "vite-plugin-static-copy": "0.17.0",
75
75
  "vite-svg-loader": "4.0.0",
76
- "vitest": "0.34.4",
76
+ "vitest": "0.34.5",
77
77
  "vue-linters-config": "0.1.12",
78
78
  "vue-tsc": "1.8.13"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "vue": "3.3.4",
82
- "vue-router": "4.2.4"
82
+ "vue-router": "4.2.5"
83
83
  },
84
84
  "engines": {
85
85
  "npm": ">=9.8.1",