@alphakits/ui 2.5.18 → 2.6.1
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/empty-page/component.js +20 -19
- package/dist/image/index.d.ts +1 -0
- package/dist/image/index.js +13 -4
- package/dist/image/use-image-render-component.js +32 -46
- package/dist/image/utils.d.ts +12 -0
- package/dist/image/utils.js +29 -4
- package/dist/image-gallery/component.js +41 -33
- package/dist/index.js +291 -282
- package/dist/page-container/component.js +16 -8
- package/dist/settings-hint/component.js +24 -16
- package/dist/welcome-layout/component.js +11 -10
- package/package.json +1 -1
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
import { Button as
|
|
1
|
+
import { jsxs as c, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import h from "classnames";
|
|
3
|
+
import { Button as s } from "../button/component.js";
|
|
4
4
|
import { FlexColumns as y } from "../flex-columns/component.js";
|
|
5
|
-
import { Typography as
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
import { Typography as e } from "../typography/component.js";
|
|
6
|
+
import { getImageSrc as f } from "../image/utils.js";
|
|
7
|
+
import m from "./index.module.css.js";
|
|
8
|
+
const C = ({
|
|
9
|
+
code: l,
|
|
10
|
+
image: i,
|
|
10
11
|
overlay: p,
|
|
11
12
|
title: a,
|
|
12
|
-
subtitle:
|
|
13
|
+
subtitle: t,
|
|
13
14
|
buttonText: n,
|
|
14
15
|
view: d = "primary",
|
|
15
|
-
size:
|
|
16
|
-
...
|
|
17
|
-
}) => /* @__PURE__ */
|
|
18
|
-
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
|
|
21
|
-
/* @__PURE__ */ r(
|
|
22
|
-
|
|
16
|
+
size: g = "m",
|
|
17
|
+
...o
|
|
18
|
+
}) => /* @__PURE__ */ c("div", { className: h(m.wrapper, p && m.overlay), children: [
|
|
19
|
+
i && /* @__PURE__ */ r("img", { alt: a, className: m.image, src: f(i, "auto") ?? i }),
|
|
20
|
+
/* @__PURE__ */ c(y, { columns: 1, gr: 8, className: m.content, children: [
|
|
21
|
+
l && /* @__PURE__ */ r(e.Title, { view: "large", weight: "bold", color: "primary", tag: "div", children: l }),
|
|
22
|
+
/* @__PURE__ */ r(e.Title, { view: "small", weight: "bold", color: "primary", tag: "div", children: a }),
|
|
23
|
+
t && /* @__PURE__ */ r(e.Text, { color: "primary", weight: "medium", view: "primary-medium", children: t })
|
|
23
24
|
] }),
|
|
24
|
-
(!!
|
|
25
|
+
(!!o?.onClick || o?.href) && /* @__PURE__ */ r(s, { view: d, size: g, ...o, children: n })
|
|
25
26
|
] });
|
|
26
27
|
export {
|
|
27
|
-
|
|
28
|
+
C as EmptyPage
|
|
28
29
|
};
|
package/dist/image/index.d.ts
CHANGED
package/dist/image/index.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import { Image as
|
|
2
|
-
import { textSizes as
|
|
1
|
+
import { Image as m } from "./component.js";
|
|
2
|
+
import { textSizes as I } from "./types.js";
|
|
3
|
+
import { DEFAULT_IMAGE_DIMENSIONS as i, GALLERY_IMAGE_SIZE as r, getImageCdnHost as s, getImageSrc as t, imageSizes as E, isEscapenavigatorImage as S, isRuImageRegion as n, resolveImageDimensions as p } from "./utils.js";
|
|
3
4
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
i as DEFAULT_IMAGE_DIMENSIONS,
|
|
6
|
+
r as GALLERY_IMAGE_SIZE,
|
|
7
|
+
m as Image,
|
|
8
|
+
s as getImageCdnHost,
|
|
9
|
+
t as getImageSrc,
|
|
10
|
+
E as imageSizes,
|
|
11
|
+
S as isEscapenavigatorImage,
|
|
12
|
+
n as isRuImageRegion,
|
|
13
|
+
p as resolveImageDimensions,
|
|
14
|
+
I as textSizes
|
|
6
15
|
};
|
|
@@ -1,71 +1,57 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { Spinner as
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import l from "@alphakits/icons/dist/PhotoM";
|
|
3
|
+
import u from "@alphakits/icons/dist/PhotoS";
|
|
4
|
+
import w from "classnames";
|
|
5
|
+
import h, { useRef as x, useEffect as S } from "react";
|
|
6
|
+
import { Spinner as T } from "../spinner/component.js";
|
|
7
7
|
import { Typography as f } from "../typography/component.js";
|
|
8
|
-
import
|
|
8
|
+
import o from "./index.module.css.js";
|
|
9
9
|
import { textSizes as v } from "./types.js";
|
|
10
|
-
import { getCharsFromText as
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
m: "300x300",
|
|
15
|
-
l: "300x300",
|
|
16
|
-
xl: "300x300",
|
|
17
|
-
xxl: "640x640",
|
|
18
|
-
auto: "640x640"
|
|
19
|
-
}, C = ({ src: t, size: e }) => {
|
|
20
|
-
if (t?.includes("escapenavigator-images.s3") && e) {
|
|
21
|
-
const s = t.split("amazonaws.com/")[1];
|
|
22
|
-
return `https://d2z3luly8bezbw.cloudfront.net/fit-in/${y[e]}/${s}`;
|
|
23
|
-
}
|
|
24
|
-
return t;
|
|
25
|
-
}, F = ({
|
|
26
|
-
src: t = "",
|
|
27
|
-
size: e,
|
|
10
|
+
import { getImageSrc as C, getCharsFromText as N } from "./utils.js";
|
|
11
|
+
const L = ({
|
|
12
|
+
src: d = "",
|
|
13
|
+
size: n,
|
|
28
14
|
color: s,
|
|
29
|
-
alt:
|
|
30
|
-
text:
|
|
31
|
-
icon:
|
|
15
|
+
alt: g,
|
|
16
|
+
text: a,
|
|
17
|
+
icon: c
|
|
32
18
|
}) => {
|
|
33
|
-
const [
|
|
19
|
+
const [i, t] = h.useState("loading"), p = x(0), r = C(d, n);
|
|
34
20
|
return S(() => {
|
|
35
|
-
if (!
|
|
36
|
-
|
|
21
|
+
if (!r) {
|
|
22
|
+
t("error");
|
|
37
23
|
return;
|
|
38
24
|
}
|
|
39
|
-
p.current = Date.now(),
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
},
|
|
25
|
+
p.current = Date.now(), t("loading");
|
|
26
|
+
const m = new Image();
|
|
27
|
+
m.src = r, m.onload = () => {
|
|
28
|
+
t("loaded");
|
|
29
|
+
}, m.onerror = () => {
|
|
44
30
|
Date.now() - p.current < 2e3 ? setTimeout(() => {
|
|
45
|
-
|
|
46
|
-
}, 500) :
|
|
31
|
+
m.src = r;
|
|
32
|
+
}, 500) : t("error");
|
|
47
33
|
};
|
|
48
|
-
}, [
|
|
34
|
+
}, [r]), c || (i === "loading" ? /* @__PURE__ */ e(T, { className: o.spinner, size: "s", view: "dark" }) : i === "error" && a ? /* @__PURE__ */ e(
|
|
49
35
|
f.Text,
|
|
50
36
|
{
|
|
51
|
-
className:
|
|
37
|
+
className: w(o.textContent, o[v[n]]),
|
|
52
38
|
view: "caps",
|
|
53
39
|
color: s,
|
|
54
40
|
weight: "bold",
|
|
55
|
-
children:
|
|
41
|
+
children: N(a.toUpperCase())
|
|
56
42
|
}
|
|
57
|
-
) :
|
|
43
|
+
) : i === "error" ? /* @__PURE__ */ e(
|
|
58
44
|
f.Text,
|
|
59
45
|
{
|
|
60
|
-
className:
|
|
46
|
+
className: o.broken,
|
|
61
47
|
tag: "div",
|
|
62
48
|
view: "caps",
|
|
63
49
|
color: s,
|
|
64
50
|
weight: "bold",
|
|
65
|
-
children:
|
|
51
|
+
children: n === "xs" ? /* @__PURE__ */ e(u, {}) : /* @__PURE__ */ e(l, {})
|
|
66
52
|
}
|
|
67
|
-
) : /* @__PURE__ */
|
|
53
|
+
) : /* @__PURE__ */ e("img", { className: o.image, src: r, alt: g }));
|
|
68
54
|
};
|
|
69
55
|
export {
|
|
70
|
-
|
|
56
|
+
L as useImageRenderComponent
|
|
71
57
|
};
|
package/dist/image/utils.d.ts
CHANGED
|
@@ -1 +1,13 @@
|
|
|
1
|
+
import { ComponentSizes } from './types';
|
|
1
2
|
export declare const getCharsFromText: (textFromProps?: string) => string;
|
|
3
|
+
export declare const IMAGE_CDN_HOST_COM = "d2z3luly8bezbw.cloudfront.net";
|
|
4
|
+
export declare const IMAGE_CDN_HOST_RU = "picture.escapenavigator.ru";
|
|
5
|
+
export declare const imageSizes: Record<ComponentSizes, string>;
|
|
6
|
+
export declare const GALLERY_IMAGE_SIZE = "1280x1280";
|
|
7
|
+
export declare const isRuImageRegion: () => boolean;
|
|
8
|
+
export declare const getImageCdnHost: () => string;
|
|
9
|
+
export declare const extractStoragePath: (src: string) => string | null;
|
|
10
|
+
export declare const isEscapenavigatorImage: (src: string) => boolean;
|
|
11
|
+
export declare const DEFAULT_IMAGE_DIMENSIONS = "300x300";
|
|
12
|
+
export declare const resolveImageDimensions: (size?: ComponentSizes | string) => string;
|
|
13
|
+
export declare const getImageSrc: (src?: string, size?: ComponentSizes | string) => string | undefined;
|
package/dist/image/utils.js
CHANGED
|
@@ -1,7 +1,32 @@
|
|
|
1
|
-
const
|
|
2
|
-
const
|
|
3
|
-
return
|
|
1
|
+
const E = (t = "NN") => {
|
|
2
|
+
const n = t.split(" ");
|
|
3
|
+
return n.length >= 2 ? n[0][0] + n[1][0] : n[0][0] + n[0][1];
|
|
4
|
+
}, s = "d2z3luly8bezbw.cloudfront.net", a = "picture.escapenavigator.ru", r = "escapenavigator-images.s3", c = [s, a], o = {
|
|
5
|
+
xs: "300x300",
|
|
6
|
+
s: "300x300",
|
|
7
|
+
m: "300x300",
|
|
8
|
+
l: "300x300",
|
|
9
|
+
xl: "300x300",
|
|
10
|
+
xxl: "640x640",
|
|
11
|
+
auto: "640x640"
|
|
12
|
+
}, I = "1280x1280", u = () => process.env.REACT_APP_REGION === "ru", m = () => u() ? a : s, l = (t) => t.includes("amazonaws.com/") ? t.split("amazonaws.com/")[1]?.split("?")[0] ?? null : t.match(/fit-in\/[^/]+\/(.+?)(?:\?|$)/)?.[1] ?? null, x = (t) => t.includes(r) || c.some((n) => t.includes(n)), g = "300x300", _ = (t) => t ? t in o ? o[t] : t : g, p = (t, n) => {
|
|
13
|
+
if (!t || t.startsWith("data:")) return t;
|
|
14
|
+
const i = _(n);
|
|
15
|
+
if (!x(t)) return t;
|
|
16
|
+
const e = l(t);
|
|
17
|
+
return e ? `https://${m()}/fit-in/${i}/${e}` : t;
|
|
4
18
|
};
|
|
5
19
|
export {
|
|
6
|
-
|
|
20
|
+
g as DEFAULT_IMAGE_DIMENSIONS,
|
|
21
|
+
I as GALLERY_IMAGE_SIZE,
|
|
22
|
+
s as IMAGE_CDN_HOST_COM,
|
|
23
|
+
a as IMAGE_CDN_HOST_RU,
|
|
24
|
+
l as extractStoragePath,
|
|
25
|
+
E as getCharsFromText,
|
|
26
|
+
m as getImageCdnHost,
|
|
27
|
+
p as getImageSrc,
|
|
28
|
+
o as imageSizes,
|
|
29
|
+
x as isEscapenavigatorImage,
|
|
30
|
+
u as isRuImageRegion,
|
|
31
|
+
_ as resolveImageDimensions
|
|
7
32
|
};
|
|
@@ -1,60 +1,61 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import { jsx as a, jsxs as b } from "react/jsx-runtime";
|
|
2
|
+
import x from "@alphakits/icons/dist/ChevronBackM";
|
|
3
|
+
import C from "@alphakits/icons/dist/ChevronForwardM";
|
|
4
|
+
import w from "@alphakits/icons/dist/CloseM";
|
|
5
5
|
import o from "classnames";
|
|
6
|
-
import { useState as
|
|
7
|
-
import { Portal as
|
|
6
|
+
import { useState as E, useEffect as y, useCallback as k } from "react";
|
|
7
|
+
import { Portal as I } from "../portal/component.js";
|
|
8
|
+
import { getImageSrc as v, GALLERY_IMAGE_SIZE as M } from "../image/utils.js";
|
|
8
9
|
import e from "./index.module.css.js";
|
|
9
|
-
const
|
|
10
|
-
const [n, m] =
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}, [
|
|
14
|
-
const d =
|
|
10
|
+
const _ = ({ onClose: i, initialSlide: s = 0, photos: r, open: l }) => {
|
|
11
|
+
const [n, m] = E(s);
|
|
12
|
+
y(() => {
|
|
13
|
+
l && m(s);
|
|
14
|
+
}, [l, s]);
|
|
15
|
+
const d = k(() => {
|
|
15
16
|
m((t) => Math.max(0, t - 1));
|
|
16
|
-
}, []), u =
|
|
17
|
+
}, []), u = k(() => {
|
|
17
18
|
m((t) => Math.min(r.length - 1, t + 1));
|
|
18
19
|
}, [r.length]);
|
|
19
|
-
if (
|
|
20
|
-
if (!
|
|
21
|
-
const t = (
|
|
22
|
-
|
|
20
|
+
if (y(() => {
|
|
21
|
+
if (!l) return;
|
|
22
|
+
const t = (g) => {
|
|
23
|
+
g.key === "Escape" ? i() : g.key === "ArrowLeft" ? d() : g.key === "ArrowRight" && u();
|
|
23
24
|
};
|
|
24
25
|
document.addEventListener("keydown", t);
|
|
25
26
|
const { overflow: c } = document.body.style;
|
|
26
27
|
return document.body.style.overflow = "hidden", () => {
|
|
27
28
|
document.removeEventListener("keydown", t), document.body.style.overflow = c;
|
|
28
29
|
};
|
|
29
|
-
}, [
|
|
30
|
-
const
|
|
30
|
+
}, [l, i, d, u]), !l || !r.length) return null;
|
|
31
|
+
const f = r[Math.min(n, r.length - 1)], N = v(f.src, M) ?? f.src, h = (t) => {
|
|
31
32
|
t.target === t.currentTarget && i();
|
|
32
33
|
};
|
|
33
|
-
return /* @__PURE__ */
|
|
34
|
+
return /* @__PURE__ */ a(I, { children: /* @__PURE__ */ b(
|
|
34
35
|
"div",
|
|
35
36
|
{
|
|
36
37
|
className: e.overlay,
|
|
37
38
|
role: "dialog",
|
|
38
39
|
"aria-modal": "true",
|
|
39
|
-
onClick:
|
|
40
|
+
onClick: h,
|
|
40
41
|
children: [
|
|
41
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ a(
|
|
42
43
|
"button",
|
|
43
44
|
{
|
|
44
45
|
type: "button",
|
|
45
46
|
className: o(e.button, e.closeButton),
|
|
46
47
|
onClick: i,
|
|
47
48
|
"aria-label": "Close gallery",
|
|
48
|
-
children: /* @__PURE__ */
|
|
49
|
+
children: /* @__PURE__ */ a(w, {})
|
|
49
50
|
}
|
|
50
51
|
),
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */
|
|
52
|
+
/* @__PURE__ */ b("div", { className: e.stage, onClick: h, children: [
|
|
53
|
+
/* @__PURE__ */ b("div", { className: e.counter, children: [
|
|
53
54
|
n + 1,
|
|
54
55
|
" / ",
|
|
55
56
|
r.length
|
|
56
57
|
] }),
|
|
57
|
-
r.length > 1 && /* @__PURE__ */
|
|
58
|
+
r.length > 1 && /* @__PURE__ */ a(
|
|
58
59
|
"button",
|
|
59
60
|
{
|
|
60
61
|
type: "button",
|
|
@@ -62,11 +63,11 @@ const p = ({ onClose: i, initialSlide: s = 0, photos: r, open: a }) => {
|
|
|
62
63
|
onClick: d,
|
|
63
64
|
disabled: n === 0,
|
|
64
65
|
"aria-label": "Previous image",
|
|
65
|
-
children: /* @__PURE__ */
|
|
66
|
+
children: /* @__PURE__ */ a(x, {})
|
|
66
67
|
}
|
|
67
68
|
),
|
|
68
|
-
/* @__PURE__ */
|
|
69
|
-
r.length > 1 && /* @__PURE__ */
|
|
69
|
+
/* @__PURE__ */ a("img", { className: e.image, src: N, alt: "" }),
|
|
70
|
+
r.length > 1 && /* @__PURE__ */ a(
|
|
70
71
|
"button",
|
|
71
72
|
{
|
|
72
73
|
type: "button",
|
|
@@ -74,11 +75,11 @@ const p = ({ onClose: i, initialSlide: s = 0, photos: r, open: a }) => {
|
|
|
74
75
|
onClick: u,
|
|
75
76
|
disabled: n === r.length - 1,
|
|
76
77
|
"aria-label": "Next image",
|
|
77
|
-
children: /* @__PURE__ */
|
|
78
|
+
children: /* @__PURE__ */ a(C, {})
|
|
78
79
|
}
|
|
79
80
|
)
|
|
80
81
|
] }),
|
|
81
|
-
r.length > 1 && /* @__PURE__ */
|
|
82
|
+
r.length > 1 && /* @__PURE__ */ a("div", { className: e.thumbnails, children: r.map((t, c) => /* @__PURE__ */ a(
|
|
82
83
|
"button",
|
|
83
84
|
{
|
|
84
85
|
type: "button",
|
|
@@ -87,7 +88,14 @@ const p = ({ onClose: i, initialSlide: s = 0, photos: r, open: a }) => {
|
|
|
87
88
|
}),
|
|
88
89
|
onClick: () => m(c),
|
|
89
90
|
"aria-label": `Image ${c + 1}`,
|
|
90
|
-
children: /* @__PURE__ */
|
|
91
|
+
children: /* @__PURE__ */ a(
|
|
92
|
+
"img",
|
|
93
|
+
{
|
|
94
|
+
className: e.thumbnailImage,
|
|
95
|
+
src: v(t.src, "s") ?? t.src,
|
|
96
|
+
alt: ""
|
|
97
|
+
}
|
|
98
|
+
)
|
|
91
99
|
},
|
|
92
100
|
t.src
|
|
93
101
|
)) })
|
|
@@ -96,5 +104,5 @@ const p = ({ onClose: i, initialSlide: s = 0, photos: r, open: a }) => {
|
|
|
96
104
|
) });
|
|
97
105
|
};
|
|
98
106
|
export {
|
|
99
|
-
|
|
107
|
+
_ as ImageGallery
|
|
100
108
|
};
|
package/dist/index.js
CHANGED
|
@@ -5,17 +5,17 @@ import { BackButton as x } from "./back-button/component.js";
|
|
|
5
5
|
import { Badge as i } from "./badge/component.js";
|
|
6
6
|
import { BaseCard as u } from "./base-card/component.js";
|
|
7
7
|
import { BottomSheet as d } from "./bottom-sheet/component.js";
|
|
8
|
-
import { Box as c, Radiuses as
|
|
9
|
-
import { Button as
|
|
10
|
-
import { ButtonArrow as
|
|
11
|
-
import { Calendar as
|
|
12
|
-
import { useCalendar as
|
|
13
|
-
import { usePeriod as
|
|
14
|
-
import { DAYS_IN_WEEK as
|
|
15
|
-
import { CalendarInput as
|
|
16
|
-
import { DATE_FORMAT as
|
|
8
|
+
import { Box as c, Radiuses as I, Spaces as T } from "./box/component.js";
|
|
9
|
+
import { Button as A } from "./button/component.js";
|
|
10
|
+
import { ButtonArrow as g } from "./button-arrow/component.js";
|
|
11
|
+
import { Calendar as C } from "./calendar/component.js";
|
|
12
|
+
import { useCalendar as M } from "./calendar/use-calendar.js";
|
|
13
|
+
import { usePeriod as k } from "./calendar/use-period.js";
|
|
14
|
+
import { DAYS_IN_WEEK as P, MONTHS_IN_YEAR as R, SUNDAY_INDEX as L, dateInLimits as B, limitDate as y, monthName as N, russianWeekDay as b } from "./calendar/utils.js";
|
|
15
|
+
import { CalendarInput as G } from "./calendar-input/component.js";
|
|
16
|
+
import { DATE_FORMAT as Y, DATE_MASK as v, IS_BROWSER as H, NATIVE_DATE_FORMAT as U, SUPPORTS_INPUT_TYPE_DATE as z, isCompleteDateInput as q, isInputDateSupported as K, parseDateString as V } from "./calendar-input/utils.js";
|
|
17
17
|
import { Card as J } from "./card/component.js";
|
|
18
|
-
import { Cell as
|
|
18
|
+
import { Cell as Z } from "./cell/component.js";
|
|
19
19
|
import { Checkbox as $ } from "./checkbox/component.js";
|
|
20
20
|
import { CheckboxGroup as ro } from "./checkbox-group/component.js";
|
|
21
21
|
import { CheckboxGroups as to } from "./checkbox-lists/component.js";
|
|
@@ -24,19 +24,19 @@ import { Collapse as ao } from "./collapse/component.js";
|
|
|
24
24
|
import { ConfirmPopup as so, showAlert as io, showConfirm as no } from "./confirm-popup/component.js";
|
|
25
25
|
import { CopyButton as lo } from "./copy-button/component.js";
|
|
26
26
|
import { FormattedDate as co } from "./date/component.js";
|
|
27
|
-
import { DateSwitcher as
|
|
28
|
-
import { DecoratedItem as
|
|
29
|
-
import { Divider as
|
|
30
|
-
import { Dot as
|
|
31
|
-
import { EmptyPage as
|
|
32
|
-
import { FilterTag as
|
|
33
|
-
import { Flex as
|
|
34
|
-
import { FlexColumns as
|
|
35
|
-
import { Footer as
|
|
36
|
-
import { FiltersForm as
|
|
37
|
-
import { FormControl as
|
|
38
|
-
import { ErrorMessage as
|
|
39
|
-
import { Col as
|
|
27
|
+
import { DateSwitcher as To } from "./date-switcher/component.js";
|
|
28
|
+
import { DecoratedItem as Ao } from "./decorated-item/component.js";
|
|
29
|
+
import { Divider as go } from "./divider/component.js";
|
|
30
|
+
import { Dot as Co } from "./dot/component.js";
|
|
31
|
+
import { EmptyPage as Mo } from "./empty-page/component.js";
|
|
32
|
+
import { FilterTag as ko } from "./filter-tag/component.js";
|
|
33
|
+
import { Flex as Po } from "./flex/component.js";
|
|
34
|
+
import { FlexColumns as Lo } from "./flex-columns/component.js";
|
|
35
|
+
import { Footer as yo } from "./footer/component.js";
|
|
36
|
+
import { FiltersForm as bo } from "./form/templates/filters-form/index.js";
|
|
37
|
+
import { FormControl as Go } from "./form-control/component.js";
|
|
38
|
+
import { ErrorMessage as Yo, FastField as vo, Field as Ho, FieldArray as Uo, Form as zo, Formik as qo, connect as Ko, useField as Vo, useFormik as jo, useFormikContext as Jo, withFormik as Xo } from "formik";
|
|
39
|
+
import { Col as Qo, Grid as $o, Row as or } from "./grid/component.js";
|
|
40
40
|
import { HeaderSearch as er } from "./header-search/component.js";
|
|
41
41
|
import { useCrudFormRequests as pr } from "./hooks/use-crud-form-requests/index.js";
|
|
42
42
|
import { useGetOne as fr } from "./hooks/use-get-one/index.js";
|
|
@@ -45,289 +45,298 @@ import { useFocus as ir } from "./hooks/useFocus/index.js";
|
|
|
45
45
|
import { usePrevious as ur } from "./hooks/usePrevious/index.js";
|
|
46
46
|
import { IconButton as dr } from "./icon-button/component.js";
|
|
47
47
|
import { Image as cr } from "./image/component.js";
|
|
48
|
-
import { textSizes as
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
import {
|
|
129
|
-
import {
|
|
130
|
-
import {
|
|
48
|
+
import { textSizes as Tr } from "./image/types.js";
|
|
49
|
+
import { DEFAULT_IMAGE_DIMENSIONS as Ar, GALLERY_IMAGE_SIZE as hr, getImageCdnHost as gr, getImageSrc as Er, imageSizes as Cr, isEscapenavigatorImage as Dr, isRuImageRegion as Mr, resolveImageDimensions as _r } from "./image/utils.js";
|
|
50
|
+
import { ImageGallery as Fr } from "./image-gallery/component.js";
|
|
51
|
+
import { ImageUploader as Rr } from "./image-uploader/component.js";
|
|
52
|
+
import { InfoBlockHeader as Br } from "./info-block-header/component.js";
|
|
53
|
+
import { InfoBlockItem as Nr } from "./info-block-item/component.js";
|
|
54
|
+
import { InfoBlockWrapper as wr } from "./info-block-wrapper/component.js";
|
|
55
|
+
import { Input as Wr } from "./input/component.js";
|
|
56
|
+
import { InputAutocomplete as vr } from "./input-autocomplete/component.js";
|
|
57
|
+
import { InputGhost as Ur } from "./input-ghost/component.js";
|
|
58
|
+
import { Link as qr } from "./link/component.js";
|
|
59
|
+
import { ListAllert as Vr } from "./list-allert/component.js";
|
|
60
|
+
import { Loader as Jr } from "./loader/component.js";
|
|
61
|
+
import { MaskedInput as Zr, PLACEHOLDER_CHAR as Qr } from "./masked-input/component.js";
|
|
62
|
+
import { Menu as oe } from "./menu/component.js";
|
|
63
|
+
import { Message as ee } from "./message/component.js";
|
|
64
|
+
import { ModalContext as pe, ModalProvider as me } from "./modal/context.js";
|
|
65
|
+
import { Mq as ae } from "./mq/component.js";
|
|
66
|
+
import { useMatchMedia as se } from "./mq/use-match-media.js";
|
|
67
|
+
import { Notification as ne } from "./notification/component.js";
|
|
68
|
+
import { Padding as le } from "./padding/component.js";
|
|
69
|
+
import { PageContainer as Se } from "./page-container/component.js";
|
|
70
|
+
import { PageLoading as Ie } from "./page-loading/component.js";
|
|
71
|
+
import { PageWithControls as Oe } from "./page-with-controls/component.js";
|
|
72
|
+
import { LabeledButton as he } from "./picker-button/common/labeled-button/index.js";
|
|
73
|
+
import { PickerButton as Ee } from "./picker-button/component.js";
|
|
74
|
+
import { Popover as De } from "./popover/component.js";
|
|
75
|
+
import { Portal as _e } from "./portal/component.js";
|
|
76
|
+
import { ProgressBar as Fe } from "./progress-bar/component.js";
|
|
77
|
+
import { ProgressIndex as Re } from "./progress-index/component.js";
|
|
78
|
+
import { Radio as Be } from "./radio/component.js";
|
|
79
|
+
import { RadioGroup as Ne } from "./radio-group/component.js";
|
|
80
|
+
import { RadioGroups as we } from "./radio-groups/component.js";
|
|
81
|
+
import { SectionWrapper as We } from "./section-wrapper/component.js";
|
|
82
|
+
import { Select as ve } from "./select/component.js";
|
|
83
|
+
import { Arrow as Ue } from "./select/components/arrow/component.js";
|
|
84
|
+
import { BaseSelect as qe } from "./select/components/base-select/component.js";
|
|
85
|
+
import { SelectField as Ve } from "./select/components/field/component.js";
|
|
86
|
+
import { Optgroup as Je } from "./select/components/optgroup/component.js";
|
|
87
|
+
import { Option as Ze } from "./select/components/option/component.js";
|
|
88
|
+
import { OptionsList as $e } from "./select/components/options-list/component.js";
|
|
89
|
+
import { VirtualOptionsList as rt } from "./select/components/virtual-options-list/component.js";
|
|
90
|
+
import { useLazyLoading as tt } from "./select/presets/use-lazy-loading/index.js";
|
|
91
|
+
import { useSelectWithLoading as mt } from "./select/presets/use-select-with-loading/hook.js";
|
|
92
|
+
import { convertToOptions as at, isGroup as xt, isOptionShape as st, joinOptions as it, lastIndexOf as nt, processOptions as ut, useVisibleOptions as lt } from "./select/utils.js";
|
|
93
|
+
import { SettingsHint as St } from "./settings-hint/component.js";
|
|
94
|
+
import { SettingsInfoBlock as It } from "./settings-info-block/component.js";
|
|
95
|
+
import { Sidepanel as Ot } from "./sidepanel/component.js";
|
|
96
|
+
import { SidepanelHeader as ht } from "./sidepanel-header/component.js";
|
|
97
|
+
import { Skeleton as Et } from "./skeleton/component.js";
|
|
98
|
+
import { Space as Dt } from "./space/component.js";
|
|
99
|
+
import { Spinner as _t } from "./spinner/component.js";
|
|
100
|
+
import { Stack as Ft } from "./stack/component.js";
|
|
101
|
+
import { StackingContext as Rt, stackingOrder as Lt } from "./stack/context.js";
|
|
102
|
+
import { Status as yt } from "./status/component.js";
|
|
103
|
+
import { SteppedProgressBar as bt, useSteps as wt } from "./stepped-progress-bar/index.js";
|
|
104
|
+
import { Sticker as Wt } from "./sticker/component.js";
|
|
105
|
+
import { SuffixInput as vt } from "./suffix-input/component.js";
|
|
106
|
+
import { SuperListHeader as Ut } from "./super-list-header/component.js";
|
|
107
|
+
import { SuperListItem as qt } from "./super-list-item/component.js";
|
|
108
|
+
import { Switch as Vt } from "./switch/component.js";
|
|
109
|
+
import { Table as Jt } from "./table/component.js";
|
|
110
|
+
import { TableCell as Zt } from "./table/components/cell/component.js";
|
|
111
|
+
import { TableStatus as $t } from "./table-status/component.js";
|
|
112
|
+
import { Tag as rp } from "./tag/component.js";
|
|
113
|
+
import { TagsList as tp } from "./tags-list/component.js";
|
|
114
|
+
import { Textarea as mp } from "./textarea/component.js";
|
|
115
|
+
import { LOACAL_STORAGE_THEME_KEY as ap, STYLE_TAG_ID as xp, THEME as sp, THEME_DATA_ATTR as ip, ThemeProvider as np, useTheme as up } from "./theme-provider/component.js";
|
|
116
|
+
import { defaultThemes as dp } from "./theme-provider/default-themes.js";
|
|
117
|
+
import { Toast as cp } from "./toast/component.js";
|
|
118
|
+
import { ToastNotifier as Tp } from "./toast-notifier/component.js";
|
|
119
|
+
import { ToastPlate as Ap } from "./toast-plate/component.js";
|
|
120
|
+
import { Tooltip as gp } from "./tooltip/component.js";
|
|
121
|
+
import { Typography as Cp } from "./typography/component.js";
|
|
122
|
+
import { add as Mp, addDays as _p, addMonths as kp, addYears as Fp, eachDayOfInterval as Pp, eachMonthOfInterval as Rp, eachYearOfInterval as Lp, endOfDay as Bp, endOfISOWeek as yp, endOfWeek as Np, endOfYear as bp, format as wp, isAfter as Gp, isBefore as Wp, isEqual as Yp, isLastDayOfMonth as vp, isSameDay as Hp, isSameMonth as Up, isSameYear as zp, isThisMonth as qp, isThisYear as Kp, isToday as Vp, isWithinInterval as jp, lastDayOfMonth as Jp, max as Xp, min as Zp, parse as Qp, parseISO as $p, startOfDay as om, startOfISOWeek as rm, startOfMonth as em, startOfWeek as tm, startOfYear as pm, subDays as mm, subMonths as fm, subWeeks as am, subYears as xm, weekDaysShort as sm } from "./utils/date/index.js";
|
|
123
|
+
import { debounce as nm } from "./utils/debounce.js";
|
|
124
|
+
import { AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR as lm, THINSP as dm, formatAmount as Sm, isCurrencyFirst as cm } from "./utils/format-amount/util.js";
|
|
125
|
+
import { formatDate as Tm, locales as Om } from "./utils/format-date/index.js";
|
|
126
|
+
import { safeStringify as hm } from "./utils/safe-stringify.js";
|
|
127
|
+
import { showCompactSuccess as Em, showError as Cm, showSuccess as Dm } from "./utils/show-toast/index.js";
|
|
128
|
+
import { splitAmount as _m } from "./utils/split-amount/util.js";
|
|
129
|
+
import { capitalize as Fm } from "./utils/string.js";
|
|
130
|
+
import { WelcomeContainer as Rm } from "./welcome-layout/component.js";
|
|
131
|
+
import { withSuffix as Bm } from "./with-suffix/component.js";
|
|
131
132
|
export {
|
|
132
|
-
|
|
133
|
+
lm as AMOUNT_MAJOR_MINOR_PARTS_SEPARATOR,
|
|
133
134
|
e as Amount,
|
|
134
135
|
p as AmountInput,
|
|
135
|
-
|
|
136
|
+
Ue as Arrow,
|
|
136
137
|
f as Avatar,
|
|
137
138
|
x as BackButton,
|
|
138
139
|
i as Badge,
|
|
139
140
|
u as BaseCard,
|
|
140
|
-
|
|
141
|
+
qe as BaseSelect,
|
|
141
142
|
d as BottomSheet,
|
|
142
143
|
c as Box,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
144
|
+
A as Button,
|
|
145
|
+
g as ButtonArrow,
|
|
146
|
+
C as Calendar,
|
|
147
|
+
G as CalendarInput,
|
|
147
148
|
J as Card,
|
|
148
|
-
|
|
149
|
+
Z as Cell,
|
|
149
150
|
$ as Checkbox,
|
|
150
151
|
ro as CheckboxGroup,
|
|
151
152
|
to as CheckboxGroups,
|
|
152
|
-
|
|
153
|
+
Qo as Col,
|
|
153
154
|
mo as CollapsableRow,
|
|
154
155
|
ao as Collapse,
|
|
155
156
|
so as ConfirmPopup,
|
|
156
157
|
lo as CopyButton,
|
|
157
|
-
|
|
158
|
+
Y as DATE_FORMAT,
|
|
158
159
|
v as DATE_MASK,
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
go as
|
|
164
|
-
|
|
165
|
-
|
|
160
|
+
P as DAYS_IN_WEEK,
|
|
161
|
+
Ar as DEFAULT_IMAGE_DIMENSIONS,
|
|
162
|
+
To as DateSwitcher,
|
|
163
|
+
Ao as DecoratedItem,
|
|
164
|
+
go as Divider,
|
|
165
|
+
Co as Dot,
|
|
166
|
+
Mo as EmptyPage,
|
|
167
|
+
Yo as ErrorMessage,
|
|
166
168
|
vo as FastField,
|
|
167
|
-
|
|
169
|
+
Ho as Field,
|
|
168
170
|
Uo as FieldArray,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
171
|
+
ko as FilterTag,
|
|
172
|
+
bo as FiltersForm,
|
|
173
|
+
Po as Flex,
|
|
174
|
+
Lo as FlexColumns,
|
|
175
|
+
yo as Footer,
|
|
176
|
+
zo as Form,
|
|
177
|
+
Go as FormControl,
|
|
176
178
|
co as FormattedDate,
|
|
177
|
-
|
|
179
|
+
qo as Formik,
|
|
180
|
+
hr as GALLERY_IMAGE_SIZE,
|
|
178
181
|
$o as Grid,
|
|
179
182
|
er as HeaderSearch,
|
|
180
|
-
|
|
183
|
+
H as IS_BROWSER,
|
|
181
184
|
dr as IconButton,
|
|
182
185
|
cr as Image,
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
186
|
+
Fr as ImageGallery,
|
|
187
|
+
Rr as ImageUploader,
|
|
188
|
+
Br as InfoBlockHeader,
|
|
189
|
+
Nr as InfoBlockItem,
|
|
190
|
+
wr as InfoBlockWrapper,
|
|
191
|
+
Wr as Input,
|
|
192
|
+
vr as InputAutocomplete,
|
|
193
|
+
Ur as InputGhost,
|
|
194
|
+
ap as LOACAL_STORAGE_THEME_KEY,
|
|
195
|
+
he as LabeledButton,
|
|
196
|
+
qr as Link,
|
|
197
|
+
Vr as ListAllert,
|
|
198
|
+
Jr as Loader,
|
|
196
199
|
R as MONTHS_IN_YEAR,
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
200
|
+
Zr as MaskedInput,
|
|
201
|
+
oe as Menu,
|
|
202
|
+
ee as Message,
|
|
203
|
+
pe as ModalContext,
|
|
204
|
+
me as ModalProvider,
|
|
205
|
+
ae as Mq,
|
|
203
206
|
U as NATIVE_DATE_FORMAT,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
207
|
+
ne as Notification,
|
|
208
|
+
Je as Optgroup,
|
|
209
|
+
Ze as Option,
|
|
210
|
+
$e as OptionsList,
|
|
211
|
+
Qr as PLACEHOLDER_CHAR,
|
|
212
|
+
le as Padding,
|
|
213
|
+
Se as PageContainer,
|
|
214
|
+
Ie as PageLoading,
|
|
215
|
+
Oe as PageWithControls,
|
|
216
|
+
Ee as PickerButton,
|
|
217
|
+
De as Popover,
|
|
218
|
+
_e as Portal,
|
|
219
|
+
Fe as ProgressBar,
|
|
220
|
+
Re as ProgressIndex,
|
|
221
|
+
Be as Radio,
|
|
222
|
+
Ne as RadioGroup,
|
|
223
|
+
we as RadioGroups,
|
|
224
|
+
I as Radiuses,
|
|
222
225
|
or as Row,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
226
|
+
xp as STYLE_TAG_ID,
|
|
227
|
+
L as SUNDAY_INDEX,
|
|
228
|
+
z as SUPPORTS_INPUT_TYPE_DATE,
|
|
229
|
+
We as SectionWrapper,
|
|
230
|
+
ve as Select,
|
|
231
|
+
Ve as SelectField,
|
|
232
|
+
St as SettingsHint,
|
|
233
|
+
It as SettingsInfoBlock,
|
|
234
|
+
Ot as Sidepanel,
|
|
235
|
+
ht as SidepanelHeader,
|
|
236
|
+
Et as Skeleton,
|
|
237
|
+
Dt as Space,
|
|
238
|
+
T as Spaces,
|
|
239
|
+
_t as Spinner,
|
|
240
|
+
Ft as Stack,
|
|
241
|
+
Rt as StackingContext,
|
|
242
|
+
yt as Status,
|
|
243
|
+
bt as SteppedProgressBar,
|
|
244
|
+
Wt as Sticker,
|
|
245
|
+
vt as SuffixInput,
|
|
246
|
+
Ut as SuperListHeader,
|
|
247
|
+
qt as SuperListItem,
|
|
248
|
+
Vt as Switch,
|
|
249
|
+
sp as THEME,
|
|
250
|
+
ip as THEME_DATA_ATTR,
|
|
251
|
+
dm as THINSP,
|
|
252
|
+
Jt as Table,
|
|
253
|
+
Zt as TableCell,
|
|
254
|
+
$t as TableStatus,
|
|
255
|
+
rp as Tag,
|
|
256
|
+
tp as TagsList,
|
|
257
|
+
mp as Textarea,
|
|
258
|
+
np as ThemeProvider,
|
|
259
|
+
cp as Toast,
|
|
260
|
+
Tp as ToastNotifier,
|
|
261
|
+
Ap as ToastPlate,
|
|
262
|
+
gp as Tooltip,
|
|
263
|
+
Cp as Typography,
|
|
264
|
+
rt as VirtualOptionsList,
|
|
265
|
+
Rm as WelcomeContainer,
|
|
266
|
+
Mp as add,
|
|
267
|
+
_p as addDays,
|
|
268
|
+
kp as addMonths,
|
|
269
|
+
Fp as addYears,
|
|
270
|
+
Fm as capitalize,
|
|
268
271
|
Ko as connect,
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
272
|
+
at as convertToOptions,
|
|
273
|
+
B as dateInLimits,
|
|
274
|
+
nm as debounce,
|
|
275
|
+
dp as defaultThemes,
|
|
276
|
+
Pp as eachDayOfInterval,
|
|
277
|
+
Rp as eachMonthOfInterval,
|
|
278
|
+
Lp as eachYearOfInterval,
|
|
279
|
+
Bp as endOfDay,
|
|
280
|
+
yp as endOfISOWeek,
|
|
281
|
+
Np as endOfWeek,
|
|
282
|
+
bp as endOfYear,
|
|
283
|
+
wp as format,
|
|
284
|
+
Sm as formatAmount,
|
|
285
|
+
Tm as formatDate,
|
|
286
|
+
gr as getImageCdnHost,
|
|
287
|
+
Er as getImageSrc,
|
|
288
|
+
Cr as imageSizes,
|
|
289
|
+
Gp as isAfter,
|
|
290
|
+
Wp as isBefore,
|
|
291
|
+
q as isCompleteDateInput,
|
|
292
|
+
cm as isCurrencyFirst,
|
|
293
|
+
Yp as isEqual,
|
|
294
|
+
Dr as isEscapenavigatorImage,
|
|
295
|
+
xt as isGroup,
|
|
289
296
|
K as isInputDateSupported,
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
297
|
+
vp as isLastDayOfMonth,
|
|
298
|
+
st as isOptionShape,
|
|
299
|
+
Mr as isRuImageRegion,
|
|
300
|
+
Hp as isSameDay,
|
|
301
|
+
Up as isSameMonth,
|
|
302
|
+
zp as isSameYear,
|
|
303
|
+
qp as isThisMonth,
|
|
304
|
+
Kp as isThisYear,
|
|
305
|
+
Vp as isToday,
|
|
306
|
+
jp as isWithinInterval,
|
|
307
|
+
it as joinOptions,
|
|
308
|
+
Jp as lastDayOfMonth,
|
|
309
|
+
nt as lastIndexOf,
|
|
310
|
+
y as limitDate,
|
|
311
|
+
Om as locales,
|
|
312
|
+
Xp as max,
|
|
313
|
+
Zp as min,
|
|
314
|
+
N as monthName,
|
|
315
|
+
Qp as parse,
|
|
308
316
|
V as parseDateString,
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
317
|
+
$p as parseISO,
|
|
318
|
+
ut as processOptions,
|
|
319
|
+
_r as resolveImageDimensions,
|
|
320
|
+
b as russianWeekDay,
|
|
321
|
+
hm as safeStringify,
|
|
313
322
|
io as showAlert,
|
|
314
|
-
|
|
323
|
+
Em as showCompactSuccess,
|
|
315
324
|
no as showConfirm,
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
325
|
+
Cm as showError,
|
|
326
|
+
Dm as showSuccess,
|
|
327
|
+
_m as splitAmount,
|
|
328
|
+
Lt as stackingOrder,
|
|
329
|
+
om as startOfDay,
|
|
330
|
+
rm as startOfISOWeek,
|
|
331
|
+
em as startOfMonth,
|
|
332
|
+
tm as startOfWeek,
|
|
333
|
+
pm as startOfYear,
|
|
334
|
+
mm as subDays,
|
|
335
|
+
fm as subMonths,
|
|
336
|
+
am as subWeeks,
|
|
337
|
+
xm as subYears,
|
|
338
|
+
Tr as textSizes,
|
|
339
|
+
M as useCalendar,
|
|
331
340
|
xr as useClickOutside,
|
|
332
341
|
pr as useCrudFormRequests,
|
|
333
342
|
Vo as useField,
|
|
@@ -335,15 +344,15 @@ export {
|
|
|
335
344
|
jo as useFormik,
|
|
336
345
|
Jo as useFormikContext,
|
|
337
346
|
fr as useGetOne,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
347
|
+
tt as useLazyLoading,
|
|
348
|
+
se as useMatchMedia,
|
|
349
|
+
k as usePeriod,
|
|
341
350
|
ur as usePrevious,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
351
|
+
mt as useSelectWithLoading,
|
|
352
|
+
wt as useSteps,
|
|
353
|
+
up as useTheme,
|
|
354
|
+
lt as useVisibleOptions,
|
|
355
|
+
sm as weekDaysShort,
|
|
347
356
|
Xo as withFormik,
|
|
348
|
-
|
|
357
|
+
Bm as withSuffix
|
|
349
358
|
};
|
|
@@ -1,12 +1,20 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
/* @__PURE__ */
|
|
1
|
+
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { getImageSrc as c } from "../image/utils.js";
|
|
3
|
+
import s from "./index.module.css.js";
|
|
4
|
+
const d = ({ children: a, color: t, image: o, imageDescription: i }) => /* @__PURE__ */ e("div", { style: { backgroundColor: t }, className: s.pageContainer, children: [
|
|
5
|
+
o && /* @__PURE__ */ e("section", { children: [
|
|
6
|
+
/* @__PURE__ */ r(
|
|
7
|
+
"img",
|
|
8
|
+
{
|
|
9
|
+
className: s.image,
|
|
10
|
+
src: c(o, "auto") ?? o,
|
|
11
|
+
alt: i
|
|
12
|
+
}
|
|
13
|
+
),
|
|
14
|
+
/* @__PURE__ */ r("div", { className: s.bg })
|
|
7
15
|
] }),
|
|
8
|
-
/* @__PURE__ */
|
|
16
|
+
/* @__PURE__ */ r("div", { children: a })
|
|
9
17
|
] });
|
|
10
18
|
export {
|
|
11
|
-
|
|
19
|
+
d as PageContainer
|
|
12
20
|
};
|
|
@@ -1,30 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import d from "classnames";
|
|
3
|
-
import { Typography as
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
import { Typography as o } from "../typography/component.js";
|
|
4
|
+
import { getImageSrc as p } from "../image/utils.js";
|
|
5
|
+
import e from "./index.module.css.js";
|
|
6
|
+
const g = "https://escapenavigator-images.s3.eu-central-1.amazonaws.com/inside/art/explanation.webp", y = ({
|
|
7
|
+
title: r,
|
|
8
|
+
text: m,
|
|
9
|
+
image: i = g,
|
|
10
|
+
children: s,
|
|
10
11
|
reversed: c = !1,
|
|
11
12
|
className: n,
|
|
12
13
|
dataTestId: l
|
|
13
|
-
}) => /* @__PURE__ */
|
|
14
|
+
}) => /* @__PURE__ */ t(
|
|
14
15
|
"div",
|
|
15
16
|
{
|
|
16
|
-
className: d(
|
|
17
|
+
className: d(e.component, { [e.reversed]: c }, n),
|
|
17
18
|
"data-test-id": l,
|
|
18
19
|
children: [
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
/* @__PURE__ */ a("div", { className: e.imageWrapper, children: /* @__PURE__ */ a(
|
|
21
|
+
"img",
|
|
22
|
+
{
|
|
23
|
+
alt: r || "hint",
|
|
24
|
+
className: e.image,
|
|
25
|
+
src: p(i, "l") ?? i
|
|
26
|
+
}
|
|
27
|
+
) }),
|
|
28
|
+
/* @__PURE__ */ t("div", { className: e.content, children: [
|
|
29
|
+
r && /* @__PURE__ */ a(o.Title, { view: "xsmall", weight: "bold", color: "primary", tag: "div", children: r }),
|
|
30
|
+
/* @__PURE__ */ a(o.Text, { view: "primary-medium", color: "secondary", weight: "regular", tag: "div", children: m }),
|
|
31
|
+
s && /* @__PURE__ */ a("div", { className: e.actions, children: s })
|
|
24
32
|
] })
|
|
25
33
|
]
|
|
26
34
|
}
|
|
27
35
|
);
|
|
28
36
|
export {
|
|
29
|
-
|
|
37
|
+
y as SettingsHint
|
|
30
38
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as o, jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import s from "classnames";
|
|
3
|
+
import { getImageSrc as c } from "../image/utils.js";
|
|
3
4
|
import e from "./index.module.css.js";
|
|
4
|
-
const
|
|
5
|
-
children:
|
|
6
|
-
image:
|
|
7
|
-
color:
|
|
8
|
-
reversed:
|
|
9
|
-
}) => /* @__PURE__ */
|
|
10
|
-
/* @__PURE__ */ i("div", { className: e.left_side, children: /* @__PURE__ */ i("div", { className: e.left_side_inner, children:
|
|
11
|
-
/* @__PURE__ */ i("div", { className: s(e.right_side, e[
|
|
5
|
+
const _ = ({
|
|
6
|
+
children: t,
|
|
7
|
+
image: r,
|
|
8
|
+
color: m = "default",
|
|
9
|
+
reversed: a
|
|
10
|
+
}) => /* @__PURE__ */ o("div", { className: s(e.container, { [e.reversed]: a }), children: [
|
|
11
|
+
/* @__PURE__ */ i("div", { className: e.left_side, children: /* @__PURE__ */ i("div", { className: e.left_side_inner, children: t }) }),
|
|
12
|
+
/* @__PURE__ */ i("div", { className: s(e.right_side, e[m]), children: /* @__PURE__ */ i("img", { src: c(r, "auto") ?? r, alt: "right_side_image" }) })
|
|
12
13
|
] });
|
|
13
14
|
export {
|
|
14
|
-
|
|
15
|
+
_ as WelcomeContainer
|
|
15
16
|
};
|