@reportportal/ui-kit 0.0.1-alpha.12 → 0.0.1-alpha.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.
@@ -0,0 +1,24 @@
1
+ import { FC, ReactNode, ReactElement } from 'react';
2
+ interface DatePickerProps {
3
+ onChange?: (date: Date | any) => void;
4
+ onBlur?: () => void;
5
+ onFocus?: () => void;
6
+ headerNodes?: ReactNode;
7
+ disabled?: boolean;
8
+ shouldCloseOnSelect?: boolean;
9
+ fixedHeight?: boolean;
10
+ startDate?: Date | undefined;
11
+ endDate?: Date | undefined;
12
+ customClassName?: string;
13
+ popperClassName?: string;
14
+ calendarClassName?: string;
15
+ customTimeInput?: ReactElement;
16
+ language?: string;
17
+ yearsOptions?: number[];
18
+ placeholder?: string;
19
+ dateFormat?: string;
20
+ selects?: 'start' | 'end' | 'none';
21
+ value?: Date | null;
22
+ }
23
+ export declare const DatePicker: FC<DatePickerProps>;
24
+ export {};
@@ -0,0 +1,15 @@
1
+ import { FC, ReactNode } from 'react';
2
+ export interface DatePickerHeaderProps {
3
+ changeYear: (year: number) => void;
4
+ changeMonth: (month: number) => void;
5
+ decreaseMonth: () => void;
6
+ increaseMonth: () => void;
7
+ headerNodes: ReactNode;
8
+ date: Date;
9
+ prevMonthButtonDisabled: boolean;
10
+ nextMonthButtonDisabled: boolean;
11
+ customClassName: string;
12
+ yearsOptions: number[];
13
+ locale: string;
14
+ }
15
+ export declare const DatePickerHeader: FC<DatePickerHeaderProps>;
@@ -0,0 +1,3 @@
1
+ import { DatePickerHeader } from './datePickerHeader';
2
+ export { DatePickerHeader };
3
+ export default DatePickerHeader;
@@ -0,0 +1,3 @@
1
+ import { DatePicker } from './datePicker';
2
+ export { DatePicker };
3
+ export default DatePicker;
@@ -0,0 +1,3 @@
1
+ import { Locale } from 'date-fns';
2
+ export declare const registerDatePickerLocale: (language: string, locale: Locale) => void;
3
+ export declare const getYearsFrom: (start: number, amountYearsToGenerate?: number) => number[];
@@ -10,3 +10,5 @@ export { default as PrevChapterIcon } from './svg/prevChapter.svg';
10
10
  export { default as ArrowDownIcon } from './svg/arrowDown.svg';
11
11
  export { default as ArrowUpIcon } from './svg/arrowUp.svg';
12
12
  export { default as MeatballMenuIcon } from './svg/meatballMenu.svg';
13
+ export { default as CalendarArrowIcon } from './svg/calendarArrow.svg';
14
+ export { default as CalendarIcon } from './svg/calendar.svg';
@@ -14,4 +14,5 @@ export { Tooltip } from './tooltip';
14
14
  export { Popover } from './popover';
15
15
  export { Pagination } from './pagination';
16
16
  export { Table } from './table';
17
+ export { DatePicker } from './datePicker';
17
18
  export * from './icons';
@@ -3,9 +3,8 @@ import { ButtonProps } from '../button';
3
3
  import { ModalSize } from './modalFooter';
4
4
  type ModalOverlay = 'default' | 'light-cyan';
5
5
  interface ModalProps {
6
- onClose: () => void;
6
+ onClose?: () => void;
7
7
  title?: ReactNode;
8
- headerNode?: ReactNode;
9
8
  children?: ReactNode;
10
9
  footerNode?: ReactNode;
11
10
  className?: string;
@@ -16,6 +15,11 @@ interface ModalProps {
16
15
  okButton?: ButtonProps;
17
16
  cancelButton?: ButtonProps;
18
17
  scrollable?: boolean;
18
+ withoutFooter?: boolean;
19
+ CustomFooter?: FC<{
20
+ closeHandler: () => void;
21
+ }>;
22
+ description?: ReactNode;
19
23
  }
20
24
  export declare const Modal: FC<ModalProps>;
21
25
  export {};
@@ -1,8 +1,8 @@
1
1
  import { ReactNode, FC } from 'react';
2
2
  interface ModalHeaderProps {
3
3
  title?: ReactNode;
4
- headerNode?: ReactNode;
5
4
  onClose: () => void;
5
+ withDescription?: boolean;
6
6
  }
7
7
  export declare const ModalHeader: FC<ModalHeaderProps>;
8
8
  export {};
@@ -8,18 +8,18 @@ import { Scrollbars as de } from "rc-scrollbars";
8
8
  import { u as oe } from "./useOnClickOutside-c332f7d3.js";
9
9
  import { K as f } from "./keyCodes-f63c0e11.js";
10
10
  import { B as se } from "./baseIconButton-7bc53dec.js";
11
- const ae = (t) => /* @__PURE__ */ R.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ R.createElement("path", { d: "M14.2174 5.82426C14.3736 5.66805 14.3736 5.41479 14.2174 5.25858L14.0759 5.11716C13.9197 4.96095 13.6665 4.96095 13.5103 5.11716L8.16726 10.4602L2.82426 5.11716C2.66805 4.96095 2.41479 4.96095 2.25858 5.11716L2.11716 5.25858C1.96095 5.41479 1.96095 5.66805 2.11716 5.82426L7.89176 11.5989C8.04797 11.7551 8.30124 11.7551 8.45745 11.5989L8.88171 11.1746L8.87436 11.1673L14.2174 5.82426Z", fill: "#A2AAB5" })), le = "_disabled_nx3fh_13", re = "_hidden_nx3fh_17", ie = "_selected_nx3fh_23", ce = "_hover_nx3fh_26", _e = {
11
+ const ae = (t) => /* @__PURE__ */ R.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ R.createElement("path", { d: "M14.2174 5.82426C14.3736 5.66805 14.3736 5.41479 14.2174 5.25858L14.0759 5.11716C13.9197 4.96095 13.6665 4.96095 13.5103 5.11716L8.16726 10.4602L2.82426 5.11716C2.66805 4.96095 2.41479 4.96095 2.25858 5.11716L2.11716 5.25858C1.96095 5.41479 1.96095 5.66805 2.11716 5.82426L7.89176 11.5989C8.04797 11.7551 8.30124 11.7551 8.45745 11.5989L8.88171 11.1746L8.87436 11.1673L14.2174 5.82426Z", fill: "#A2AAB5" })), re = "_disabled_nx3fh_13", ie = "_hidden_nx3fh_17", le = "_selected_nx3fh_23", ce = "_hover_nx3fh_26", _e = {
12
12
  "dropdown-option": "_dropdown-option_nx3fh_1",
13
- disabled: le,
14
- hidden: re,
15
- selected: ie,
13
+ disabled: re,
14
+ hidden: ie,
15
+ selected: le,
16
16
  hover: ce,
17
17
  "single-option": "_single-option_nx3fh_39",
18
18
  "sub-option": "_sub-option_nx3fh_45"
19
19
  }, P = A.bind(_e), he = F(
20
20
  (t, n) => {
21
21
  const {
22
- option: { value: s, disabled: i, hidden: O, label: l, title: d, groupRef: E },
22
+ option: { value: s, disabled: l, hidden: O, label: r, title: d, groupRef: E },
23
23
  selected: D,
24
24
  onChange: p,
25
25
  render: g,
@@ -33,15 +33,15 @@ const ae = (t) => /* @__PURE__ */ R.createElement("svg", { width: 16, height: 16
33
33
  {
34
34
  className: P("dropdown-option", {
35
35
  selected: D,
36
- disabled: i,
36
+ disabled: l,
37
37
  hidden: O,
38
38
  hover: b
39
39
  }),
40
- title: i && d || void 0,
40
+ title: l && d || void 0,
41
41
  onClick: N,
42
42
  ref: n,
43
43
  onMouseEnter: w,
44
- children: /* @__PURE__ */ a("div", { className: P("single-option", { "sub-option": !!E }), children: g ? g(t) : l })
44
+ children: /* @__PURE__ */ a("div", { className: P("single-option", { "sub-option": !!E }), children: g ? g(t) : r })
45
45
  }
46
46
  );
47
47
  }
@@ -51,16 +51,16 @@ const ae = (t) => /* @__PURE__ */ R.createElement("svg", { width: 16, height: 16
51
51
  f.ARROW_DOWN_KEY_CODE
52
52
  ], ge = [f.ESCAPE_KEY_CODE, f.TAB_KEY_CODE];
53
53
  var h = /* @__PURE__ */ ((t) => (t.ON_KEY_DOWN = "onKeyDown", t.ON_CLICK = "onClick", t))(h || {});
54
- const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t % n + n) % n, v = (t, n = 0, s = 1) => {
54
+ const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t % n + n) % n, K = (t, n = 0, s = 1) => {
55
55
  if (!t[n].disabled)
56
56
  return n;
57
- const i = t.length;
58
- return v(
57
+ const l = t.length;
58
+ return K(
59
59
  t,
60
- we(n + s, i),
60
+ we(n + s, l),
61
61
  s
62
62
  );
63
- }, me = (t, n) => v(t, n), ue = (t, n) => v(t, n, -1), Ce = "_container_3wi7d_1", Oe = "_icon_3wi7d_7", Ee = "_arrow_3wi7d_13", De = "_dropdown_3wi7d_19", be = "_disabled_3wi7d_36", Ne = "_value_3wi7d_43", xe = "_error_3wi7d_46", ve = "_touched_3wi7d_46", Ke = "_opened_3wi7d_50", ye = "_placeholder_3wi7d_72", Ie = "_ghost_3wi7d_108", ke = {
63
+ }, me = (t, n) => K(t, n), ue = (t, n) => K(t, n, -1), Ce = "_container_3wi7d_1", Oe = "_icon_3wi7d_7", Ee = "_arrow_3wi7d_13", De = "_dropdown_3wi7d_19", be = "_disabled_3wi7d_36", Ne = "_value_3wi7d_43", xe = "_error_3wi7d_46", Ke = "_touched_3wi7d_46", ve = "_opened_3wi7d_50", ye = "_placeholder_3wi7d_72", Ie = "_ghost_3wi7d_108", ke = {
64
64
  container: Ce,
65
65
  icon: Oe,
66
66
  arrow: Ee,
@@ -69,8 +69,8 @@ const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t %
69
69
  disabled: be,
70
70
  value: Ne,
71
71
  error: xe,
72
- touched: ve,
73
- opened: Ke,
72
+ touched: Ke,
73
+ opened: ve,
74
74
  placeholder: ye,
75
75
  "mobile-disabled": "_mobile-disabled_3wi7d_87",
76
76
  "select-list": "_select-list_3wi7d_92",
@@ -79,9 +79,9 @@ const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t %
79
79
  value: t = "",
80
80
  options: n = [],
81
81
  disabled: s = !1,
82
- error: i,
82
+ error: l,
83
83
  onChange: O,
84
- onFocus: l,
84
+ onFocus: r,
85
85
  onBlur: d,
86
86
  mobileDisabled: E,
87
87
  title: D,
@@ -94,7 +94,7 @@ const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t %
94
94
  className: W,
95
95
  toggleButtonClassName: H
96
96
  }) => {
97
- const [r, c] = Y(!1), K = B(null), [M, m] = Y(null), { refs: y, floatingStyles: $ } = ee({
97
+ const [i, c] = Y(!1), v = B(null), [M, m] = Y(null), { refs: y, floatingStyles: $ } = ee({
98
98
  middleware: [
99
99
  te(5),
100
100
  ne({
@@ -102,8 +102,8 @@ const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t %
102
102
  })
103
103
  ]
104
104
  });
105
- oe(K, () => {
106
- r && (c(!1), d == null || d());
105
+ oe(v, () => {
106
+ i && (c(!1), d == null || d());
107
107
  });
108
108
  const I = (e) => {
109
109
  e.disabled || (O(e.value), c((o) => !o));
@@ -118,7 +118,7 @@ const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t %
118
118
  items: n,
119
119
  itemToString: (e) => (e != null && e.label ? String(e.label) : w) || "",
120
120
  selectedItem: j(),
121
- isOpen: r,
121
+ isOpen: i,
122
122
  circularNavigation: !0,
123
123
  defaultHighlightedIndex: k,
124
124
  onHighlightedIndexChange: (e) => {
@@ -132,9 +132,9 @@ const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t %
132
132
  }
133
133
  }
134
134
  }), q = () => {
135
- s || (c((e) => !e), r ? d == null || d() : l == null || l(), m(h.ON_CLICK));
135
+ s || (c((e) => !e), i ? d == null || d() : r == null || r(), m(h.ON_CLICK));
136
136
  }, z = () => {
137
- if (!t && t !== !1)
137
+ if (!t && t !== !1 && t !== 0)
138
138
  return w;
139
139
  let e = t;
140
140
  return n.forEach((o) => {
@@ -142,7 +142,7 @@ const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t %
142
142
  }), e;
143
143
  }, G = (e) => {
144
144
  const { keyCode: o } = e;
145
- fe.includes(o) && !r && (e.preventDefault(), u(k), c(!0), l == null || l(), m(h.ON_KEY_DOWN));
145
+ fe.includes(o) && !i && (e.preventDefault(), u(k), c(!0), r == null || r(), m(h.ON_KEY_DOWN));
146
146
  }, J = (e) => {
147
147
  const { keyCode: o } = e;
148
148
  if (o === f.ENTER_KEY_CODE) {
@@ -167,7 +167,7 @@ const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t %
167
167
  },
168
168
  e.value
169
169
  ));
170
- return /* @__PURE__ */ L("div", { ref: K, className: _("container", W), title: D, children: [
170
+ return /* @__PURE__ */ L("div", { ref: v, className: _("container", W), title: D, children: [
171
171
  /* @__PURE__ */ L(
172
172
  "button",
173
173
  {
@@ -175,9 +175,9 @@ const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t %
175
175
  ...V({
176
176
  className: _("dropdown", b, H, {
177
177
  "transparent-background": T,
178
- opened: r,
178
+ opened: i,
179
179
  disabled: s,
180
- error: i,
180
+ error: l,
181
181
  touched: p,
182
182
  "mobile-disabled": E
183
183
  }),
@@ -192,11 +192,11 @@ const pe = (t, n) => t.map(({ value: s }) => s).indexOf(n), we = (t, n) => (t %
192
192
  ]
193
193
  }
194
194
  ),
195
- r && /* @__PURE__ */ a(
195
+ i && /* @__PURE__ */ a(
196
196
  "div",
197
197
  {
198
198
  style: $,
199
- className: _("select-list", { opened: r }),
199
+ className: _("select-list", { opened: i }),
200
200
  ...U({
201
201
  onKeyDown: J,
202
202
  ref: y.setFloating
package/dist/dropdown.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as r } from "./dropdown-e07f2a71.js";
1
+ import { D as r } from "./dropdown-c3ca9c1a.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  import "./bind-06a7ff84.js";
@@ -0,0 +1,145 @@
1
+ import { jsx as e, jsxs as d, Fragment as B } from "react/jsx-runtime";
2
+ import * as M from "react";
3
+ import { useState as f, useEffect as g, useRef as j } from "react";
4
+ import { Scrollbars as G } from "rc-scrollbars";
5
+ import { AnimatePresence as K, motion as P } from "framer-motion";
6
+ import { c as u } from "./bind-06a7ff84.js";
7
+ import { u as Y } from "./useOnClickOutside-c332f7d3.js";
8
+ import { K as F } from "./keyCodes-f63c0e11.js";
9
+ import { B as L } from "./button-7fb84fde.js";
10
+ import { B as U } from "./baseIconButton-7bc53dec.js";
11
+ const X = (t) => /* @__PURE__ */ M.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ M.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M0.732179 15.2698C0.330639 14.8683 0.33064 14.2172 0.73218 13.8157L6.54858 7.99928L0.73218 2.18288C0.33064 1.78134 0.330639 1.13031 0.732179 0.728774C1.13372 0.327235 1.78474 0.327235 2.18628 0.728774L8.00269 6.54518L13.8191 0.728767C14.2206 0.327229 14.8717 0.327228 15.2732 0.728767C15.6747 1.13031 15.6747 1.78133 15.2732 2.18287L9.45679 7.99928L15.2732 13.8157C15.6747 14.2172 15.6747 14.8683 15.2732 15.2698C14.8717 15.6713 14.2206 15.6713 13.8191 15.2698L8.00269 9.45338L2.18628 15.2698C1.78474 15.6713 1.13372 15.6713 0.732179 15.2698Z", fill: "#A2AAB5" })), Z = () => {
12
+ const [t, s] = f({ width: 0, height: 0 });
13
+ return g(() => {
14
+ const n = () => {
15
+ s({
16
+ width: window.innerWidth,
17
+ height: window.innerHeight
18
+ });
19
+ };
20
+ return window.addEventListener("resize", n), n(), () => window.removeEventListener("resize", n);
21
+ }, []), t;
22
+ }, q = {
23
+ "modal-content": "_modal-content_17fct_1"
24
+ }, J = u.bind(q), A = ({ children: t }) => /* @__PURE__ */ e("div", { className: J("modal-content"), children: t }), Q = {
25
+ "buttons-block": "_buttons-block_1dgm4_1",
26
+ "button-container": "_button-container_1dgm4_5",
27
+ "modal-footer": "_modal-footer_1dgm4_14",
28
+ "with-extra-node": "_with-extra-node_1dgm4_21",
29
+ "size-small": "_size-small_1dgm4_25"
30
+ }, m = u.bind(Q), V = ({
31
+ footerNode: t,
32
+ closeHandler: s,
33
+ okButton: n,
34
+ cancelButton: r,
35
+ size: a
36
+ }) => /* @__PURE__ */ d("div", { className: m("modal-footer", { "with-extra-node": t, [`size-${a}`]: a }), children: [
37
+ t && t,
38
+ /* @__PURE__ */ d("div", { className: m("buttons-block"), children: [
39
+ r && /* @__PURE__ */ e("div", { className: m("button-container"), children: /* @__PURE__ */ e(
40
+ L,
41
+ {
42
+ variant: "ghost",
43
+ adjustWidthOn: a === "small" ? "parent" : "content",
44
+ onClick: s,
45
+ ...r
46
+ }
47
+ ) }),
48
+ n && /* @__PURE__ */ e("div", { className: m("button-container"), children: /* @__PURE__ */ e(L, { adjustWidthOn: a === "small" ? "parent" : "content", ...n }) })
49
+ ] })
50
+ ] }), ee = {
51
+ "modal-header": "_modal-header_1rhdb_1",
52
+ "width-description": "_width-description_1rhdb_10",
53
+ "modal-header-content": "_modal-header-content_1rhdb_14",
54
+ "modal-title": "_modal-title_1rhdb_20",
55
+ "close-modal-icon": "_close-modal-icon_1rhdb_28"
56
+ }, _ = u.bind(ee), te = ({ title: t, onClose: s, withDescription: n = !1 }) => /* @__PURE__ */ d("div", { className: _("modal-header", { "width-description": n }), children: [
57
+ /* @__PURE__ */ e("div", { className: _("modal-header-content"), children: t && /* @__PURE__ */ e("span", { className: _("modal-title"), children: t }) }),
58
+ /* @__PURE__ */ e(U, { className: _("close-modal-icon"), onClick: s, children: /* @__PURE__ */ e(X, {}) })
59
+ ] }), oe = "_modal_sp7xo_1", ne = "_description_sp7xo_42", se = {
60
+ modal: oe,
61
+ "overlay-default": "_overlay-default_sp7xo_11",
62
+ "overlay-light-cyan": "_overlay-light-cyan_sp7xo_15",
63
+ "scrolling-content": "_scrolling-content_sp7xo_19",
64
+ "modal-window": "_modal-window_sp7xo_25",
65
+ description: ne,
66
+ "size-default": "_size-default_sp7xo_53",
67
+ "size-small": "_size-small_sp7xo_65",
68
+ "size-large": "_size-large_sp7xo_77"
69
+ }, h = u.bind(se), ae = 0.9, ie = 32 + 24, le = 32 + 8, de = 36 + 16, ce = 32 * 2, xe = ({
70
+ title: t,
71
+ children: s,
72
+ footerNode: n,
73
+ okButton: r,
74
+ cancelButton: a,
75
+ className: N,
76
+ size: w = "default",
77
+ onClose: O = () => {
78
+ },
79
+ overlay: x = "default",
80
+ zIndex: z = 2,
81
+ allowCloseOutside: D = !0,
82
+ scrollable: R = !1,
83
+ withoutFooter: v = !1,
84
+ CustomFooter: b = null,
85
+ description: i = null
86
+ }) => {
87
+ const [S, H] = f(!1), [T, I] = f(0), l = j(null), E = Z(), C = E.height, k = C * ae, p = (C - T) / 2, $ = () => {
88
+ let o = k - ce;
89
+ return v || (o = o - de), i ? o = o - le : o = o - ie, o;
90
+ }, c = () => {
91
+ H(!1);
92
+ }, y = (o) => {
93
+ const { keyCode: W } = o;
94
+ W === F.ESCAPE_KEY_CODE && c();
95
+ };
96
+ return g(() => {
97
+ if (l && l.current) {
98
+ const { clientHeight: o } = l.current;
99
+ I(o);
100
+ }
101
+ }, [s, E]), g(() => (H(!0), document.addEventListener("keydown", y, !1), () => document.removeEventListener("keydown", y, !1)), []), Y(l, D ? c : void 0), /* @__PURE__ */ e(K, { onExitComplete: O, children: S && /* @__PURE__ */ e("div", { className: h("modal", { [`overlay-${x}`]: x }), style: { zIndex: z }, children: /* @__PURE__ */ d(
102
+ P.div,
103
+ {
104
+ className: h("modal-window", { [`size-${w}`]: w }, N),
105
+ ref: l,
106
+ tabIndex: 0,
107
+ initial: { opacity: 0, marginTop: -p },
108
+ animate: { opacity: 1, marginTop: p },
109
+ exit: { opacity: 0, marginTop: -p },
110
+ transition: { duration: 0.3 },
111
+ onAnimationStart: () => {
112
+ var o;
113
+ return (o = l.current) == null ? void 0 : o.focus();
114
+ },
115
+ children: [
116
+ /* @__PURE__ */ e(te, { title: t, onClose: c, withDescription: !!i }),
117
+ R ? /* @__PURE__ */ d(G, { autoHeight: !0, autoHeightMax: $(), hideTracksWhenNotNeeded: !0, children: [
118
+ i && /* @__PURE__ */ e("span", { className: h("description"), children: i }),
119
+ /* @__PURE__ */ e(A, { children: s })
120
+ ] }) : /* @__PURE__ */ d(B, { children: [
121
+ i && /* @__PURE__ */ e("span", { className: h("description"), children: i }),
122
+ /* @__PURE__ */ e(A, { children: s })
123
+ ] }),
124
+ !v && (b ? /* @__PURE__ */ e(b, { closeHandler: c }) : /* @__PURE__ */ e(
125
+ V,
126
+ {
127
+ size: w,
128
+ footerNode: n,
129
+ okButton: r,
130
+ cancelButton: a,
131
+ closeHandler: c
132
+ }
133
+ ))
134
+ ]
135
+ },
136
+ "modal-window"
137
+ ) }) });
138
+ };
139
+ export {
140
+ xe as M,
141
+ X as S,
142
+ A as a,
143
+ te as b,
144
+ V as c
145
+ };