mimir-ui-kit 1.62.0 → 1.64.0

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 (55) hide show
  1. package/dist/Input-CqNPT8os.js +243 -0
  2. package/dist/components/Accordion/Accordion.d.ts +5 -0
  3. package/dist/components/Accordion/Accordion.js +242 -220
  4. package/dist/components/Accordion/AccordionItem/AccordionItem.d.ts +6 -1
  5. package/dist/components/Accordion/AccordionItem/AccordionItem.js +19 -8
  6. package/dist/components/Button/Button.d.ts +37 -0
  7. package/dist/components/Button/Button.js +77 -61
  8. package/dist/components/CheckboxMimir/CheckboxMimir.d.ts +9 -0
  9. package/dist/components/CheckboxMimir/CheckboxMimir.js +90 -59
  10. package/dist/components/DatePicker/DatePicker.js +1 -1
  11. package/dist/components/Drawer/Drawer.d.ts +5 -0
  12. package/dist/components/Drawer/Drawer.js +141 -135
  13. package/dist/components/GosZnak/GosZnak.d.ts +1 -1
  14. package/dist/components/GosZnak/GosZnak.js +88 -67
  15. package/dist/components/GosZnak/types.d.ts +5 -0
  16. package/dist/components/Image/Image.d.ts +5 -0
  17. package/dist/components/Image/Image.js +55 -50
  18. package/dist/components/Input/Input.d.ts +5 -0
  19. package/dist/components/Input/Input.js +1 -1
  20. package/dist/components/Input/index.js +1 -1
  21. package/dist/components/InputPassword/InputPassword.d.ts +5 -0
  22. package/dist/components/InputPassword/InputPassword.js +80 -69
  23. package/dist/components/InputPhoneNumber/InputPhoneNumber.d.ts +5 -1
  24. package/dist/components/InputPhoneNumber/InputPhoneNumber.js +39 -32
  25. package/dist/components/Loader/Loader.d.ts +6 -1
  26. package/dist/components/Loader/Loader.js +37 -14
  27. package/dist/components/MultiSelectSearch/MultiSelectSearch.js +1 -1
  28. package/dist/components/MultiSelectSearch/utils.js +1 -1
  29. package/dist/components/OtpInput/OtpInput.js +1 -1
  30. package/dist/components/RadioGroup/RadioGroup.d.ts +9 -0
  31. package/dist/components/RadioGroup/RadioGroup.js +142 -129
  32. package/dist/components/SelectSearch/SelectSearch.d.ts +1 -0
  33. package/dist/components/SelectSearch/SelectSearch.js +299 -277
  34. package/dist/components/SelectSearch/types.d.ts +5 -0
  35. package/dist/components/SelectSearch/utils.js +1 -1
  36. package/dist/components/TextArea/TextArea.d.ts +1 -1
  37. package/dist/components/TextArea/TextArea.js +1 -1
  38. package/dist/components/TextAreaV2/TextArea.js +155 -142
  39. package/dist/components/TextAreaV2/types.d.ts +5 -0
  40. package/dist/components/UniversalUploader/UniversalUploader.d.ts +1 -0
  41. package/dist/components/UniversalUploader/UniversalUploader.js +92 -88
  42. package/dist/components/UniversalUploader/types.d.ts +5 -0
  43. package/dist/components/Uploader/Uploader.d.ts +7 -2
  44. package/dist/components/Uploader/Uploader.js +121 -90
  45. package/dist/components/UploaderFiles/UploaderFiles.js +88 -79
  46. package/dist/components/UploaderFiles/types.d.ts +5 -0
  47. package/dist/components/UploaderPhotos/UploaderPhotos.d.ts +5 -0
  48. package/dist/components/UploaderPhotos/UploaderPhotos.js +60 -57
  49. package/dist/components/index.js +1 -1
  50. package/dist/index.js +1 -1
  51. package/dist/types/dataTestId.d.ts +1 -0
  52. package/dist/types/dataTestId.js +1 -0
  53. package/dist/types/index.d.ts +1 -0
  54. package/package.json +1 -1
  55. package/dist/Input-DPnH8pKc.js +0 -227
@@ -1,55 +1,56 @@
1
- import { jsxs as F, jsx as f, Fragment as j } from "react/jsx-runtime";
2
- import { c as A } from "../../index-DIxK0V-G.js";
3
- import { forwardRef as C, useState as O, useEffect as k, useMemo as q } from "react";
4
- import { imageTypes as g } from "./constants.js";
1
+ import { jsxs as x, jsx as p, Fragment as k } from "react/jsx-runtime";
2
+ import { c as q } from "../../index-DIxK0V-G.js";
3
+ import { forwardRef as G, useState as H, useEffect as J, useMemo as K } from "react";
5
4
  import "../Button/Button.js";
6
- import { EButtonVariantDefault as G } from "../Button/constants.js";
7
- import { ListFiles as H } from "../ListFiles/ListFiles.js";
8
- import { EFileItemVariant as J } from "../ListFiles/constants.js";
9
- import { ListPhotos as K } from "../ListPhotos/ListPhotos.js";
10
- import { Uploader as Q } from "../Uploader/Uploader.js";
11
- import '../../assets/UploaderPhotos.css';const v = {
5
+ import { EButtonVariantDefault as Q } from "../Button/constants.js";
6
+ import { ListFiles as W } from "../ListFiles/ListFiles.js";
7
+ import { EFileItemVariant as X } from "../ListFiles/constants.js";
8
+ import { ListPhotos as Y } from "../ListPhotos/ListPhotos.js";
9
+ import { Uploader as Z } from "../Uploader/Uploader.js";
10
+ import '../../assets/UploaderPhotos.css';const g = {
12
11
  "upload-file-wrapper": "_upload-file-wrapper_1a115_2"
13
- }, u = (i) => "file" in i && i.file instanceof File ? g.includes(i.file.type) : "type" in i && typeof i.type == "string" ? g.includes(i.type) : !1, oe = C(
14
- (i, x) => {
12
+ }, y = (r, d) => "file" in r && r.file instanceof File ? d.includes(r.file.type) : "type" in r && typeof r.type == "string" ? d.includes(r.type) : !1, le = G(
13
+ (r, d) => {
15
14
  const {
16
- type: a,
17
- filesType: w,
18
- arrayName: I,
19
- maxSize: z,
20
- onChange: s,
21
- value: r,
22
- maxFiles: n,
23
- titleUploader: P,
24
- buttonText: U = "Выберите файлы",
25
- showOnlyUploadButton: c = !1,
26
- uploadButtonVariant: b = G.SecondaryAsphalt,
27
- buttonSize: D = "m",
28
- buttonClassName: E,
29
- variantListFiles: S = J.white,
30
- onMaxFilesExceeded: V,
31
- onMaxSizeExceeded: L,
32
- onInvalidFileType: M,
33
- loadImage: N,
34
- isDownloadingImage: R
35
- } = i, [l, p] = O(
36
- r || []
37
- ), h = !!n && l.length >= n;
38
- k(() => {
39
- r && p(r);
40
- }, [r]);
41
- const T = (t) => {
42
- const o = t.value.map((e) => u(e.file) ? new Promise((d) => {
43
- const m = new FileReader();
44
- m.onload = () => {
45
- d({
15
+ type: s,
16
+ filesType: a,
17
+ arrayName: z,
18
+ maxSize: P,
19
+ onChange: l,
20
+ value: f,
21
+ maxFiles: m,
22
+ titleUploader: U,
23
+ buttonText: b = "Выберите файлы",
24
+ showOnlyUploadButton: v = !1,
25
+ uploadButtonVariant: D = Q.SecondaryAsphalt,
26
+ buttonSize: E = "m",
27
+ buttonClassName: S,
28
+ variantListFiles: V = X.white,
29
+ onMaxFilesExceeded: L,
30
+ onMaxSizeExceeded: N,
31
+ onInvalidFileType: B,
32
+ loadImage: _,
33
+ isDownloadingImage: j,
34
+ dataTestIdReactMap: t,
35
+ accept: A
36
+ } = r, [n, u] = H(
37
+ f || []
38
+ ), F = !!m && n.length >= m;
39
+ J(() => {
40
+ f && u(f);
41
+ }, [f]);
42
+ const C = (i) => {
43
+ const o = i.value.map((e) => y(e.file, a) ? new Promise((c) => {
44
+ const h = new FileReader();
45
+ h.onload = () => {
46
+ c({
46
47
  id: e.id,
47
- url: m.result,
48
+ url: h.result,
48
49
  type: e.file.type,
49
50
  name: e.file.name,
50
51
  size: e.file.size
51
52
  });
52
- }, m.readAsDataURL(e.file);
53
+ }, h.readAsDataURL(e.file);
53
54
  }) : Promise.resolve({
54
55
  id: e.id,
55
56
  url: "",
@@ -58,62 +59,65 @@ import '../../assets/UploaderPhotos.css';const v = {
58
59
  type: e.file.type
59
60
  }));
60
61
  Promise.all(o).then((e) => {
61
- p((d) => [...d, ...e]), s == null || s({ type: "add", data: t.value });
62
+ u((c) => [...c, ...e]), l == null || l({ type: "add", data: i.value });
62
63
  });
63
- }, y = (t) => {
64
- p((o) => o.filter((e) => e.id !== t)), s == null || s({ type: "delete", data: t });
65
- }, { photos: B, files: _ } = q(() => {
66
- const t = () => l.filter((e) => !u(e)), o = () => l.filter(u);
67
- return a === "all" ? { files: t(), photos: o() } : a === "files" ? { photos: [], files: t() } : a === "photos" ? { files: [], photos: o() } : { files: [], photos: [] };
68
- }, [l, a]);
69
- return /* @__PURE__ */ F(
64
+ }, w = (i) => {
65
+ u((o) => o.filter((e) => e.id !== i)), l == null || l({ type: "delete", data: i });
66
+ }, { photos: I, files: O } = K(() => {
67
+ const i = () => n.filter((e) => !y(e, a)), o = () => n.filter((e) => y(e, a));
68
+ return s === "all" ? { files: i(), photos: o() } : s === "files" ? { photos: [], files: i() } : s === "photos" ? { files: [], photos: o() } : { files: [], photos: [] };
69
+ }, [n, a, s]);
70
+ return /* @__PURE__ */ x(
70
71
  "div",
71
72
  {
72
73
  "data-testid": "universal-uploader",
73
- className: A(
74
- v["upload-file-wrapper"],
75
- h && v.disabled
74
+ "data-testid-react": t == null ? void 0 : t.wrapper,
75
+ className: q(
76
+ g["upload-file-wrapper"],
77
+ F && g.disabled
76
78
  ),
77
79
  children: [
78
- /* @__PURE__ */ f(
79
- Q,
80
+ /* @__PURE__ */ p(
81
+ Z,
80
82
  {
81
- filesType: w,
82
- arrayName: I,
83
- maxSize: z,
84
- onChangeValue: T,
85
- ref: x,
86
- maxFiles: n && n - l.length,
87
- isDisabled: h,
88
- titleUploader: P,
89
- showOnlyUploadButton: c,
90
- buttonText: U,
91
- uploadButtonVariant: b,
92
- buttonSize: D,
93
- buttonClassName: E,
94
- onMaxFilesExceeded: V,
95
- onMaxSizeExceeded: L,
96
- onInvalidFileType: M
83
+ dataTestIdReactMap: { wrapper: t == null ? void 0 : t.uploader },
84
+ filesType: a,
85
+ arrayName: z,
86
+ maxSize: P,
87
+ onChangeValue: C,
88
+ ref: d,
89
+ maxFiles: m && m - n.length,
90
+ isDisabled: F,
91
+ titleUploader: U,
92
+ showOnlyUploadButton: v,
93
+ buttonText: b,
94
+ uploadButtonVariant: D,
95
+ buttonSize: E,
96
+ buttonClassName: S,
97
+ onMaxFilesExceeded: L,
98
+ onMaxSizeExceeded: N,
99
+ onInvalidFileType: B,
100
+ accept: A
97
101
  }
98
102
  ),
99
- !c && /* @__PURE__ */ F(j, { children: [
100
- (a === "files" || a === "all") && /* @__PURE__ */ f(
101
- H,
103
+ !v && /* @__PURE__ */ x(k, { children: [
104
+ (s === "files" || s === "all") && /* @__PURE__ */ p("div", { "data-testid-react": t == null ? void 0 : t.listFiles, children: /* @__PURE__ */ p(
105
+ W,
102
106
  {
103
- value: _,
104
- onChange: (t) => y(t.deleteId),
105
- variant: S
107
+ value: O,
108
+ onChange: (i) => w(i.deleteId),
109
+ variant: V
106
110
  }
107
- ),
108
- (a === "photos" || a === "all") && /* @__PURE__ */ f(
109
- K,
111
+ ) }),
112
+ (s === "photos" || s === "all") && /* @__PURE__ */ p("div", { "data-testid-react": t == null ? void 0 : t.listPhotos, children: /* @__PURE__ */ p(
113
+ Y,
110
114
  {
111
- value: B,
112
- onChange: (t) => y(t.deleteId),
113
- loadImage: N,
114
- isDownloadingImage: R
115
+ value: I,
116
+ onChange: (i) => w(i.deleteId),
117
+ loadImage: _,
118
+ isDownloadingImage: j
115
119
  }
116
- )
120
+ ) })
117
121
  ] })
118
122
  ]
119
123
  }
@@ -121,5 +125,5 @@ import '../../assets/UploaderPhotos.css';const v = {
121
125
  }
122
126
  );
123
127
  export {
124
- oe as UniversalUploader
128
+ le as UniversalUploader
125
129
  };
@@ -1,3 +1,4 @@
1
+ import { TDataTestIdReactMap } from '../../types';
1
2
  import { EFileItemVariant } from '../ListFiles';
2
3
  import { TFilesDetail } from '../ListFiles/ListFiles';
3
4
  import { TPhotosDetail } from '../ListPhotos/ListPhotos';
@@ -8,6 +9,10 @@ export type TUniversalUploader = Omit<TUploader, 'onChangeValue'> & {
8
9
  onChange: (j: TOnChangeUpdate) => void;
9
10
  value?: TFilesDetail[] | TPhotosDetail[];
10
11
  variantListFiles?: EFileItemVariant | `${EFileItemVariant}`;
12
+ /**
13
+ * Объект, для передачи в компонент и его элементы data-testid-react, для автоматизированного тестирования
14
+ */
15
+ dataTestIdReactMap?: TDataTestIdReactMap<'wrapper' | 'uploader' | 'listFiles' | 'listPhotos'>;
11
16
  /**
12
17
  * Callback функция для загрузки изображения
13
18
  * Принимает src в качестве аргумента и возвращает Promise с URL изображения
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { imageTypesArr } from './constants';
2
+ import { TDataTestIdReactMap } from '../../types';
3
3
  import { EButtonSize } from '../Button';
4
4
  import { TButtonDefaultFormProps } from '../Button/types';
5
5
 
@@ -8,7 +8,7 @@ export type TUploader = {
8
8
  * Массив разрешенных типов файлов для настройки валидации
9
9
  * 'jpeg' | 'jpg' | 'png' | 'tiff' | 'gif' | 'heic' | 'doc' | 'xls' | 'pdf' | 'docx' | 'txt' | 'xlsx'
10
10
  */
11
- filesType: imageTypesArr[];
11
+ filesType: string[];
12
12
  /**
13
13
  * Наименование передаваемого массива файлов
14
14
  */
@@ -65,6 +65,11 @@ export type TUploader = {
65
65
  * Проп для обработки ошибки при загрузке файла неразрешенного типа
66
66
  */
67
67
  onInvalidFileType?: (fileName: string) => void;
68
+ /**
69
+ * Объект, для передачи в компонент и его элементы data-testid-react, для автоматизированного тестирования
70
+ */
71
+ dataTestIdReactMap?: TDataTestIdReactMap<'wrapper' | 'input' | 'label' | 'button' | 'buttonIcon' | 'title' | 'description'>;
72
+ accept?: Record<string, string>;
68
73
  };
69
74
  export type TUploadValue = {
70
75
  value: TFileItem[];
@@ -1,13 +1,13 @@
1
- import { jsxs as o, jsx as n, Fragment as B } from "react/jsx-runtime";
2
- import { forwardRef as R, useRef as M, useId as k } from "react";
3
- import { Icon as D } from "../../icons/Icon.js";
4
- import { Button as G } from "../Button/Button.js";
5
- import { EButtonVariantDefault as O } from "../Button/constants.js";
6
- import '../../assets/Uploader.css';const c = {
1
+ import { jsxs as r, jsx as l, Fragment as L } from "react/jsx-runtime";
2
+ import { forwardRef as G, useRef as O, useId as I } from "react";
3
+ import { Icon as P } from "../../icons/Icon.js";
4
+ import { Button as X } from "../Button/Button.js";
5
+ import { EButtonVariantDefault as Y } from "../Button/constants.js";
6
+ import '../../assets/Uploader.css';const m = {
7
7
  "upload-file-wrapper": "_upload-file-wrapper_bplvw_2",
8
8
  "upload-text": "_upload-text_bplvw_25",
9
9
  "upload-file-input": "_upload-file-input_bplvw_35"
10
- }, y = {
10
+ }, $ = {
11
11
  jpeg: "image/jpeg",
12
12
  jpg: "image/jpg",
13
13
  png: "image/png",
@@ -21,96 +21,127 @@ import '../../assets/Uploader.css';const c = {
21
21
  xls: "application/excel",
22
22
  txt: "text/plain",
23
23
  xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
24
- }, L = [
25
- "jpeg",
26
- "jpg",
27
- "png",
28
- "tiff",
29
- "gif",
30
- "heic"
31
- ], X = () => {
32
- let i = 0;
33
- return () => (i = (i + 1) % Number.MAX_SAFE_INTEGER, i);
34
- }, q = X(), W = R(
35
- (i, v) => {
24
+ }, q = ["jpeg", "jpg", "png", "tiff", "gif", "heic"], H = () => {
25
+ let n = 0;
26
+ return () => (n = (n + 1) % Number.MAX_SAFE_INTEGER, n);
27
+ }, J = H(), R = G(
28
+ (n, v) => {
36
29
  const {
37
- filesType: l = L,
38
- onChangeValue: _,
30
+ filesType: a = q,
31
+ onChangeValue: y,
39
32
  arrayName: j,
40
- maxSize: d = 15,
33
+ maxSize: u = 15,
41
34
  maxFiles: p,
42
35
  isDisabled: f,
43
- titleUploader: m = "Или перетащите сюда",
44
- buttonText: I = "Выберите файлы",
45
- showOnlyUploadButton: N = !1,
46
- uploadButtonVariant: T = O.SecondaryAsphalt,
47
- buttonSize: z = "m",
48
- buttonClassName: S,
49
- onMaxFilesExceeded: r,
50
- onMaxSizeExceeded: u,
51
- onInvalidFileType: g
52
- } = i, x = M(null), h = k(), C = (e) => {
53
- var a;
54
- return e.type ? e.type : ((a = e.name.split(".").pop()) == null ? void 0 : a.toLowerCase()) === "heic" ? "image/heic" : "";
55
- }, E = (e) => {
56
- var s;
57
- if (e.target.files && e.target.files[0]) {
58
- const a = Array.from(e.target.files);
59
- p && a.length > p && (r == null || r());
60
- const U = a.filter((t) => {
61
- const V = C(t), b = l.map((A) => y[A]).includes(V), w = t.size / 1024 ** 2 <= d;
62
- return !b && g && g(t.name), !w && u && u(t.name), b && w;
63
- }).slice(0, p).map((t) => ({ file: t, id: q() }));
64
- _({ arrayName: j, value: U }), (s = e.target) != null && s.value && (e.target.value = "");
36
+ titleUploader: d = "Или перетащите сюда",
37
+ buttonText: N = "Выберите файлы",
38
+ showOnlyUploadButton: E = !1,
39
+ uploadButtonVariant: S = Y.SecondaryAsphalt,
40
+ buttonSize: F = "m",
41
+ buttonClassName: z,
42
+ onMaxFilesExceeded: s,
43
+ onMaxSizeExceeded: g,
44
+ onInvalidFileType: x,
45
+ dataTestIdReactMap: e,
46
+ accept: U = $
47
+ } = n, b = O(null), h = I(), A = (i) => {
48
+ var o;
49
+ if (i.type) return i.type;
50
+ switch ((o = i.name.split(".").pop()) == null ? void 0 : o.toLowerCase()) {
51
+ case "heic":
52
+ return "image/heic";
53
+ case "msg":
54
+ return "application/vnd.ms-outlook";
55
+ default:
56
+ return "";
65
57
  }
66
- }, F = () => {
67
- var e;
68
- (e = x.current) == null || e.click();
58
+ }, B = (i) => {
59
+ var c;
60
+ if (i.target.files && i.target.files[0]) {
61
+ const o = Array.from(i.target.files);
62
+ p && o.length > p && (s == null || s());
63
+ const V = o.filter((t) => {
64
+ const k = A(t), w = a.map((D) => U[D]).includes(k), _ = t.size / 1024 ** 2 <= u;
65
+ return !w && x && x(t.name), !_ && g && g(t.name), w && _;
66
+ }).slice(0, p).map((t) => ({ file: t, id: J() }));
67
+ y({ arrayName: j, value: V }), (c = i.target) != null && c.value && (i.target.value = "");
68
+ }
69
+ }, C = () => {
70
+ var i;
71
+ (i = b.current) == null || i.click();
69
72
  };
70
- return /* @__PURE__ */ o("div", { className: c["upload-file-wrapper"], ref: v, children: [
71
- /* @__PURE__ */ n(
72
- "input",
73
- {
74
- type: "file",
75
- className: c["upload-file-input"],
76
- "aria-label": "Upload",
77
- name: "image[]",
78
- multiple: !0,
79
- onChange: E,
80
- title: "",
81
- id: h,
82
- accept: l.map((e) => y[e]).join(),
83
- disabled: f
84
- }
85
- ),
86
- /* @__PURE__ */ o("label", { htmlFor: h, ref: x, children: [
87
- /* @__PURE__ */ n(
88
- G,
89
- {
90
- size: z,
91
- variant: T,
92
- leftIcon: /* @__PURE__ */ n(D, { iconName: "UnionIcon16px" }),
93
- onClick: F,
94
- disabled: f,
95
- className: S,
96
- children: I
97
- }
98
- ),
99
- !N && /* @__PURE__ */ o(B, { children: [
100
- m && /* @__PURE__ */ n("b", { children: m }),
101
- /* @__PURE__ */ o("span", { className: c["upload-text"], children: [
102
- "Максимальный размер одного файла – ",
103
- d,
104
- " Мб",
105
- /* @__PURE__ */ n("br", {}),
106
- "Загрузить можно файлы следующих форматов: ",
107
- l.join(", ")
108
- ] })
109
- ] })
110
- ] })
111
- ] });
73
+ return /* @__PURE__ */ r(
74
+ "div",
75
+ {
76
+ "data-testid-react": e == null ? void 0 : e.wrapper,
77
+ className: m["upload-file-wrapper"],
78
+ ref: v,
79
+ children: [
80
+ /* @__PURE__ */ l(
81
+ "input",
82
+ {
83
+ "data-testid-react": e == null ? void 0 : e.input,
84
+ type: "file",
85
+ className: m["upload-file-input"],
86
+ "aria-label": "Upload",
87
+ name: "image[]",
88
+ multiple: !0,
89
+ onChange: B,
90
+ title: "",
91
+ id: h,
92
+ accept: a.map((i) => `.${i}`).join(", "),
93
+ disabled: f
94
+ }
95
+ ),
96
+ /* @__PURE__ */ r(
97
+ "label",
98
+ {
99
+ "data-testid-react": e == null ? void 0 : e.label,
100
+ htmlFor: h,
101
+ ref: b,
102
+ children: [
103
+ /* @__PURE__ */ l(
104
+ X,
105
+ {
106
+ dataTestIdReactMap: {
107
+ button: e == null ? void 0 : e.button,
108
+ isIconButton: e == null ? void 0 : e.buttonIcon
109
+ },
110
+ size: F,
111
+ variant: S,
112
+ leftIcon: /* @__PURE__ */ l(P, { iconName: "UnionIcon16px" }),
113
+ onClick: C,
114
+ disabled: f,
115
+ className: z,
116
+ children: N
117
+ }
118
+ ),
119
+ !E && /* @__PURE__ */ r(L, { children: [
120
+ d && /* @__PURE__ */ l("b", { "data-testid-react": e == null ? void 0 : e.title, children: d }),
121
+ /* @__PURE__ */ r(
122
+ "span",
123
+ {
124
+ "data-testid-react": e == null ? void 0 : e.description,
125
+ className: m["upload-text"],
126
+ children: [
127
+ "Максимальный размер одного файла – ",
128
+ u,
129
+ " Мб",
130
+ /* @__PURE__ */ l("br", {}),
131
+ "Загрузить можно файлы следующих форматов: ",
132
+ a.join(", ")
133
+ ]
134
+ }
135
+ )
136
+ ] })
137
+ ]
138
+ }
139
+ )
140
+ ]
141
+ }
142
+ );
112
143
  }
113
144
  );
114
145
  export {
115
- W as Uploader
146
+ R as Uploader
116
147
  };