@alxgrn/telefrag-ui 0.0.60 → 0.0.61
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/assets/Header.css +1 -1
- package/dist/assets/MainMenu.css +1 -1
- package/dist/assets/TelefragLogo.css +1 -0
- package/dist/assets/TelefragSymbol.css +1 -0
- package/dist/components/form/date/DatePicker.js +21 -19
- package/dist/components/form/form/Form.js +6 -5
- package/dist/components/form/image/Image.js +6 -5
- package/dist/components/form/required/RequiredMark.js +5 -4
- package/dist/components/form/select/Select.js +6 -5
- package/dist/components/form/time/Time.js +5 -4
- package/dist/components/icons/TelefragLogo.d.ts +0 -1
- package/dist/components/icons/TelefragLogo.js +22 -73
- package/dist/components/icons/TelefragSymbol.d.ts +2 -0
- package/dist/components/icons/TelefragSymbol.js +19 -0
- package/dist/components/icons/index.d.ts +2 -1
- package/dist/components/icons/index.js +48 -46
- package/dist/components/layout/Footer.js +2 -3
- package/dist/components/layout/Header.js +8 -7
- package/dist/components/layout/Layout.js +14 -14
- package/dist/components/layout/MainMenu.d.ts +11 -1
- package/dist/components/layout/MainMenu.js +5 -5
- package/dist/components/layout/Page.js +5 -4
- package/dist/components/layout/PageHeader.js +10 -9
- package/dist/components/ui/modal/Modal.js +19 -17
- package/dist/{index-BNwZCY3z.js → index-D12KbdVs.js} +34 -32
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/dist/components/layout/Footer.d.ts +0 -2
package/dist/assets/Header.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.HeaderWrapper{z-index:100;display:block;position:fixed;top:0;width:100%;background-color:var(--alxgrn-bg-panel)}.Header{display:flex;align-items:center;
|
|
1
|
+
.HeaderWrapper{z-index:100;display:block;position:fixed;top:0;width:100%;background-color:var(--alxgrn-bg-panel)}.Header{display:flex;align-items:center;justify-content:space-between;max-width:var(--alxgrn-layout-width);height:var(--alxgrn-layout-header-height);margin:0 auto;padding-left:calc(var(--alxgrn-unit-half) + var(--alxgrn-layout-menu-width))}.HeaderMobile,.HeaderTablet{display:none}.HeaderDesktop{flex:0 0 auto;display:flex}.HeaderMobile svg,.HeaderTablet svg,.HeaderDesktop svg{width:auto;height:calc(2 * var(--alxgrn-unit));cursor:pointer}@media (max-width: 1024px){.Header{padding:0 var(--alxgrn-unit)}.HeaderTablet{flex:0 0 auto;display:flex}.HeaderMobile,.HeaderDesktop{display:none}}@media (max-width: 512px){.Header{padding:0 var(--alxgrn-unit)}.HeaderMobile{flex:0 0 auto;display:flex}.HeaderTablet,.HeaderDesktop{display:none}}
|
package/dist/assets/MainMenu.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.MainMenu{margin-top:var(--alxgrn-unit);margin-right:var(--alxgrn-unit-half)}.MainMenu
|
|
1
|
+
.MainMenu{margin-top:var(--alxgrn-unit);margin-right:var(--alxgrn-unit-half)}.Sidebar .MainMenu{margin-top:0}.MainMenu .MainMenuAlternative{display:flex;align-items:center;gap:var(--alxgrn-unit-half);cursor:pointer;padding:var(--alxgrn-unit-half);border-radius:var(--alxgrn-unit-half)}.MainMenu .MainMenuAlternative:hover{background-color:var(--alxgrn-bg-panel)}.MainMenu .MainMenuAlternative:hover *{color:var(--alxgrn-color-accent)}.MainMenu .MainMenuAlternative svg{color:var(--alxgrn-color-accent);font-size:var(--alxgrn-font-size-big)}.MainMenu .MainMenuAlternative img{width:var(--alxgrn-font-size-big);height:var(--alxgrn-font-size-big);border-radius:50%;flex:0 0 auto}.MainMenu .MainMenuAlternative span{font-size:var(--alxgrn-font-size);overflow-wrap:break-word;display:-webkit-box;line-clamp:1;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;flex:1 1 auto}.MainMenu .MainMenuAlternative span.MainMenuCheck{display:block;width:var(--alxgrn-unit-half);height:var(--alxgrn-unit-half);border-radius:50%;background-color:var(--alxgrn-color-accent);flex:0 0 auto}.MainMenu .MainMenuNode,.MainMenu .MainMenuTitle{padding:var(--alxgrn-unit-half)}.MainMenu .MainMenuTitle span{text-transform:uppercase;font-size:var(--alxgrn-font-size-small);font-weight:600;color:var(--alxgrn-color-light)}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.TelefragLogo{--color-back: #287BBF;--color-fore: white;--color-text: #555}[data-theme=dark] .TelefragLogo{--color-fore: #CCC;--color-text: #999}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.TelefragSymbol{--color-back: #287BBF;--color-fore: white}[data-theme=dark] .TelefragSymbol{--color-fore: #CCC}
|
|
@@ -1,22 +1,24 @@
|
|
|
1
|
-
import { jsxs as u, jsx as
|
|
1
|
+
import { jsxs as u, jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import { useState as m, useEffect as v } from "react";
|
|
3
3
|
import y from "../../icons/ChevronLeft.js";
|
|
4
4
|
import C from "../../icons/ChevronRight.js";
|
|
5
|
-
import '../../../assets/DatePicker.css';/* empty css
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
import '../../../assets/DatePicker.css';import '../../../assets/TelefragLogo.css';import '../../../assets/TelefragSymbol.css';/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
const J = ({ year: c, month: i, day: l, onChange: N }) => {
|
|
9
|
+
const Y = R(), f = /* @__PURE__ */ new Date(), p = f.getDate(), d = f.getMonth(), h = f.getFullYear(), [a, D] = m(h), [o, g] = m(d), [x, S] = m([]), [w, k] = m(0), [I, M] = m(0), [L, F] = m(0);
|
|
8
10
|
v(() => {
|
|
9
11
|
let e = c, t = i, n = l;
|
|
10
|
-
typeof e == "string" && (e = parseInt(e)), typeof t == "string" && (t = parseInt(t)), typeof n == "string" && (n = parseInt(n)), e !== void 0 && isNaN(e) && (e = h), t !== void 0 && isNaN(t) && (t = d), n !== void 0 && isNaN(n) && (n =
|
|
11
|
-
const
|
|
12
|
-
D(
|
|
13
|
-
}, [c, i, l, h, d,
|
|
12
|
+
typeof e == "string" && (e = parseInt(e)), typeof t == "string" && (t = parseInt(t)), typeof n == "string" && (n = parseInt(n)), e !== void 0 && isNaN(e) && (e = h), t !== void 0 && isNaN(t) && (t = d), n !== void 0 && isNaN(n) && (n = p);
|
|
13
|
+
const r = new Date(e ?? h, t ? t - 1 : d, n ?? p);
|
|
14
|
+
D(r.getFullYear()), g(r.getMonth()), k(r.getDate()), M(r.getMonth()), F(r.getFullYear());
|
|
15
|
+
}, [c, i, l, h, d, p]), v(() => {
|
|
14
16
|
const e = T(o, a);
|
|
15
17
|
let t = new Date(a, o, 1).getDay();
|
|
16
18
|
t === 0 && (t = 7);
|
|
17
19
|
const n = [];
|
|
18
|
-
for (let
|
|
19
|
-
for (let
|
|
20
|
+
for (let r = 1; r < t; r++) n.push(0);
|
|
21
|
+
for (let r = 1; r <= e; r++) n.push(r);
|
|
20
22
|
S(n);
|
|
21
23
|
}, [o, a]);
|
|
22
24
|
const P = (e) => {
|
|
@@ -27,15 +29,15 @@ const G = ({ year: c, month: i, day: l, onChange: N }) => {
|
|
|
27
29
|
}, E = (e) => {
|
|
28
30
|
if (!e) return "Empty";
|
|
29
31
|
if (e === w && o === I && a === L) return "Selected";
|
|
30
|
-
if (e ===
|
|
32
|
+
if (e === p && o === d && a === h) return "Current";
|
|
31
33
|
};
|
|
32
34
|
return /* @__PURE__ */ u("div", { className: "FormDatePicker", children: [
|
|
33
35
|
/* @__PURE__ */ u("div", { className: "FormDatePickerMenu", children: [
|
|
34
|
-
/* @__PURE__ */
|
|
35
|
-
/* @__PURE__ */
|
|
36
|
-
/* @__PURE__ */
|
|
36
|
+
/* @__PURE__ */ s("span", { className: "FormDatePickerPrev", onClick: () => P(-1), children: /* @__PURE__ */ s(y, {}) }),
|
|
37
|
+
/* @__PURE__ */ s("span", { className: "FormDatePickerText", children: Y[o] }),
|
|
38
|
+
/* @__PURE__ */ s("span", { className: "FormDatePickerNext", onClick: () => P(1), children: /* @__PURE__ */ s(C, {}) })
|
|
37
39
|
] }),
|
|
38
|
-
/* @__PURE__ */
|
|
40
|
+
/* @__PURE__ */ s("div", { className: "FormDatePickerDays", children: x.map((e, t) => /* @__PURE__ */ s(
|
|
39
41
|
"span",
|
|
40
42
|
{
|
|
41
43
|
className: E(e),
|
|
@@ -45,9 +47,9 @@ const G = ({ year: c, month: i, day: l, onChange: N }) => {
|
|
|
45
47
|
t
|
|
46
48
|
)) }),
|
|
47
49
|
/* @__PURE__ */ u("div", { className: "FormDatePickerMenu", children: [
|
|
48
|
-
/* @__PURE__ */
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
-
/* @__PURE__ */
|
|
50
|
+
/* @__PURE__ */ s("span", { className: "FormDatePickerPrev", onClick: () => D(a - 1), children: /* @__PURE__ */ s(y, {}) }),
|
|
51
|
+
/* @__PURE__ */ s("span", { className: "FormDatePickerText", children: a }),
|
|
52
|
+
/* @__PURE__ */ s("span", { className: "FormDatePickerNext", onClick: () => D(a + 1), children: /* @__PURE__ */ s(C, {}) })
|
|
51
53
|
] })
|
|
52
54
|
] });
|
|
53
55
|
}, T = (c, i) => new Date(i, c + 1, 0).getDate(), R = () => {
|
|
@@ -57,5 +59,5 @@ const G = ({ year: c, month: i, day: l, onChange: N }) => {
|
|
|
57
59
|
return i;
|
|
58
60
|
};
|
|
59
61
|
export {
|
|
60
|
-
|
|
62
|
+
J as default
|
|
61
63
|
};
|
|
@@ -4,9 +4,11 @@ import { deepForEach as y } from "react-children-utilities";
|
|
|
4
4
|
import x, { isValidDate as R } from "../date/Date.js";
|
|
5
5
|
import { Select as F } from "../select/Select.js";
|
|
6
6
|
import { Button as C } from "../button/Button.js";
|
|
7
|
-
import '../../../assets/Content.css';import '../../../assets/MainMenu.css';import '../../../assets/
|
|
7
|
+
import '../../../assets/Content.css';import '../../../assets/MainMenu.css';import '../../../assets/Header.css';import '../../../assets/Editable.css';import '../../../assets/Sidebar.css';import '../../../assets/Message.css';import '../../../assets/Modal.css';import '../../../assets/Overlay.css';import '../../../assets/Panel.css';import '../../../assets/Menu.css';import '../../../assets/Popup.css';import '../../../assets/Fieldset.css';import '../../../assets/Label.css';import '../../../assets/RequiredMark.css';import '../../../assets/DatePicker.css';import '../../../assets/TelefragLogo.css';import '../../../assets/TelefragSymbol.css';import '../../../assets/FormCol.css';import '../../../assets/FormRow.css';import '../../../assets/PageHeader.css';/* empty css */
|
|
8
8
|
/* empty css */
|
|
9
9
|
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
10
12
|
/* empty css */
|
|
11
13
|
import T from "../time/Time.js";
|
|
12
14
|
import { Files as E } from "../files/Files.js";
|
|
@@ -31,10 +33,9 @@ import l from "../../ui/block/Block.js";
|
|
|
31
33
|
/* empty css */
|
|
32
34
|
/* empty css */
|
|
33
35
|
/* empty css */
|
|
34
|
-
/* empty css */
|
|
35
36
|
/* empty css */
|
|
36
37
|
/* empty css */
|
|
37
|
-
const
|
|
38
|
+
const Ee = ({
|
|
38
39
|
info: d,
|
|
39
40
|
error: k,
|
|
40
41
|
success: b,
|
|
@@ -161,6 +162,6 @@ const Ce = ({
|
|
|
161
162
|
] });
|
|
162
163
|
};
|
|
163
164
|
export {
|
|
164
|
-
|
|
165
|
-
|
|
165
|
+
Ee as Form,
|
|
166
|
+
Ee as default
|
|
166
167
|
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { jsx as r, jsxs as F, Fragment as C } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n, useEffect as d } from "react";
|
|
3
3
|
import E from "../label/Label.js";
|
|
4
|
-
import '../../../assets/Content.css';import '../../../assets/MainMenu.css';import '../../../assets/
|
|
4
|
+
import '../../../assets/Content.css';import '../../../assets/MainMenu.css';import '../../../assets/Header.css';import '../../../assets/Editable.css';import '../../../assets/Sidebar.css';import '../../../assets/Message.css';import '../../../assets/Modal.css';import '../../../assets/Overlay.css';import '../../../assets/Panel.css';import '../../../assets/Block.css';import '../../../assets/RadioLabel.css';import '../../../assets/Input.css';import '../../../assets/Files.css';import '../../../assets/Fieldset.css';import '../../../assets/RequiredMark.css';import '../../../assets/Menu.css';import '../../../assets/FormCol.css';import '../../../assets/FormRow.css';import '../../../assets/Button.css';import '../../../assets/DatePicker.css';import '../../../assets/TelefragLogo.css';import '../../../assets/TelefragSymbol.css';import '../../../assets/Popup.css';import '../../../assets/PageHeader.css';/* empty css */
|
|
5
5
|
import "react-children-utilities";
|
|
6
6
|
import "react-transition-group";
|
|
7
7
|
import "react-dom";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import L from "../../icons/Clock.js";
|
|
10
10
|
import N from "../../icons/Image.js";
|
|
11
|
+
/* empty css */
|
|
12
|
+
/* empty css */
|
|
11
13
|
import j from "../../icons/Trash.js";
|
|
12
14
|
/* empty css */
|
|
13
15
|
/* empty css */
|
|
@@ -27,10 +29,9 @@ import j from "../../icons/Trash.js";
|
|
|
27
29
|
/* empty css */
|
|
28
30
|
/* empty css */
|
|
29
31
|
/* empty css */
|
|
30
|
-
/* empty css */
|
|
31
32
|
/* empty css */
|
|
32
33
|
/* empty css */
|
|
33
|
-
const
|
|
34
|
+
const lr = ({
|
|
34
35
|
id: u,
|
|
35
36
|
value: o,
|
|
36
37
|
text: l,
|
|
@@ -97,6 +98,6 @@ const nr = ({
|
|
|
97
98
|
) });
|
|
98
99
|
};
|
|
99
100
|
export {
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
lr as Image,
|
|
102
|
+
lr as default
|
|
102
103
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import t from "../../icons/Asterisk.js";
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import '../../../assets/RequiredMark.css';import '../../../assets/TelefragLogo.css';import '../../../assets/TelefragSymbol.css';/* empty css */
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
const p = ({ required: e = !1 }) => e ? /* @__PURE__ */ r("span", { className: "RequiredMark", children: /* @__PURE__ */ r(t, {}) }) : null;
|
|
6
7
|
export {
|
|
7
|
-
|
|
8
|
+
p as default
|
|
8
9
|
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { jsx as r, jsxs as u } from "react/jsx-runtime";
|
|
2
2
|
import { useRef as S, useState as a, useEffect as O } from "react";
|
|
3
3
|
import V from "../label/Label.js";
|
|
4
|
-
import '../../../assets/Content.css';import '../../../assets/MainMenu.css';import '../../../assets/
|
|
4
|
+
import '../../../assets/Content.css';import '../../../assets/MainMenu.css';import '../../../assets/Header.css';import '../../../assets/Editable.css';import '../../../assets/Sidebar.css';import '../../../assets/Message.css';import '../../../assets/Modal.css';import '../../../assets/Overlay.css';import '../../../assets/Panel.css';import '../../../assets/Block.css';import '../../../assets/RadioLabel.css';import '../../../assets/Input.css';import '../../../assets/Files.css';import '../../../assets/Fieldset.css';import '../../../assets/RequiredMark.css';import '../../../assets/FormCol.css';import '../../../assets/FormRow.css';import '../../../assets/Button.css';import '../../../assets/DatePicker.css';import '../../../assets/TelefragLogo.css';import '../../../assets/TelefragSymbol.css';import '../../../assets/Popup.css';import '../../../assets/PageHeader.css';/* empty css */
|
|
5
5
|
import "react-children-utilities";
|
|
6
6
|
import "react-transition-group";
|
|
7
7
|
import "react-dom";
|
|
8
8
|
/* empty css */
|
|
9
9
|
import j from "../../icons/Check.js";
|
|
10
10
|
import w from "../../icons/ChevronDown.js";
|
|
11
|
+
/* empty css */
|
|
12
|
+
/* empty css */
|
|
11
13
|
/* empty css */
|
|
12
14
|
/* empty css */
|
|
13
15
|
/* empty css */
|
|
@@ -26,10 +28,9 @@ import { Menu as E } from "../../ui/menu/Menu.js";
|
|
|
26
28
|
/* empty css */
|
|
27
29
|
/* empty css */
|
|
28
30
|
/* empty css */
|
|
29
|
-
/* empty css */
|
|
30
31
|
/* empty css */
|
|
31
32
|
/* empty css */
|
|
32
|
-
const
|
|
33
|
+
const ar = ({
|
|
33
34
|
id: f,
|
|
34
35
|
value: o,
|
|
35
36
|
onChange: d,
|
|
@@ -105,6 +106,6 @@ const lr = ({
|
|
|
105
106
|
] });
|
|
106
107
|
};
|
|
107
108
|
export {
|
|
108
|
-
|
|
109
|
-
|
|
109
|
+
ar as Select,
|
|
110
|
+
ar as default
|
|
110
111
|
};
|
|
@@ -2,12 +2,14 @@ import { jsxs as y, jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import { useRef as k, useState as s, useEffect as H } from "react";
|
|
3
3
|
import R from "../label/Label.js";
|
|
4
4
|
import { Menu as N } from "../../ui/menu/Menu.js";
|
|
5
|
-
import '../../../assets/Content.css';import '../../../assets/MainMenu.css';import '../../../assets/
|
|
5
|
+
import '../../../assets/Content.css';import '../../../assets/MainMenu.css';import '../../../assets/Header.css';import '../../../assets/Editable.css';import '../../../assets/Sidebar.css';import '../../../assets/Message.css';import '../../../assets/Modal.css';import '../../../assets/Overlay.css';import '../../../assets/Panel.css';import '../../../assets/Block.css';import '../../../assets/RadioLabel.css';import '../../../assets/Input.css';import '../../../assets/Files.css';import '../../../assets/Fieldset.css';import '../../../assets/RequiredMark.css';import '../../../assets/FormCol.css';import '../../../assets/FormRow.css';import '../../../assets/Button.css';import '../../../assets/DatePicker.css';import '../../../assets/TelefragLogo.css';import '../../../assets/TelefragSymbol.css';import '../../../assets/Popup.css';import '../../../assets/PageHeader.css';/* empty css */
|
|
6
6
|
import "react-children-utilities";
|
|
7
7
|
import "react-transition-group";
|
|
8
8
|
import "react-dom";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import O from "../../icons/Check.js";
|
|
11
|
+
/* empty css */
|
|
12
|
+
/* empty css */
|
|
11
13
|
/* empty css */
|
|
12
14
|
/* empty css */
|
|
13
15
|
/* empty css */
|
|
@@ -25,10 +27,9 @@ import O from "../../icons/Check.js";
|
|
|
25
27
|
/* empty css */
|
|
26
28
|
/* empty css */
|
|
27
29
|
/* empty css */
|
|
28
|
-
/* empty css */
|
|
29
30
|
/* empty css */
|
|
30
31
|
/* empty css */
|
|
31
|
-
const
|
|
32
|
+
const xr = ({
|
|
32
33
|
id: d,
|
|
33
34
|
value: m,
|
|
34
35
|
step: x = 1,
|
|
@@ -136,5 +137,5 @@ const dr = ({
|
|
|
136
137
|
] });
|
|
137
138
|
};
|
|
138
139
|
export {
|
|
139
|
-
|
|
140
|
+
xr as default
|
|
140
141
|
};
|
|
@@ -1,76 +1,25 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { jsxs as m, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/TelefragLogo.css';/* empty css */
|
|
3
|
+
const r = ({ onClick: c }) => /* @__PURE__ */ m(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "156.748mm",
|
|
8
|
+
height: "21.7468mm",
|
|
9
|
+
viewBox: "0 0 15503.88 2150.97",
|
|
10
|
+
className: "TelefragLogo",
|
|
11
|
+
onClick: () => {
|
|
12
|
+
c && c();
|
|
13
|
+
},
|
|
14
|
+
style: c ? { cursor: "pointer" } : void 0,
|
|
15
|
+
children: [
|
|
16
|
+
/* @__PURE__ */ l("path", { fill: "var(--color-back)", d: "M7990.87 2137.37c809.18,0 1467.66,-479.95 1467.66,-1071.46 0,-586 -658.48,-1065.91 -1467.66,-1065.91 -809.16,0 -1467.64,479.91 -1467.64,1065.91 0,591.51 658.48,1071.46 1467.64,1071.46z" }),
|
|
17
|
+
/* @__PURE__ */ l("path", { fill: "var(--color-fore)", d: "M8095.54 173.7c649.88,38.52 1162.11,457.13 1162.11,892.25 0,429.58 -380.01,743.54 -908.79,853.7 407.6,-104.67 699.52,-391.06 699.52,-699.48 0,-313.93 -264.38,-567.31 -638.9,-682.98l-60.62 286.42c331.79,120.61 672.43,399.28 253.36,666.43 11.06,-16.19 38.54,-40.29 38.54,-115.68 0,-101.9 -154.17,-203.75 -357.94,-264.35l-187.27 853.67 0 -1663.33 0 -126.66zm-209.34 126.66l0 1663.33 -313.93 -1431.99c-380.01,115.65 -644.39,379.99 -644.39,688.46 0,302.91 258.89,567.29 633.42,682.96 -484.68,-126.7 -837.17,-457.16 -837.17,-837.18 0,-468.16 512.2,-853.73 1162.07,-892.25l0 126.66z" }),
|
|
18
|
+
/* @__PURE__ */ l("path", { fill: "var(--color-text)", d: "M12822.53 694.56c0,-55.27 15.52,-90.65 46.41,-126.02 67.53,-77.3 166.98,-48.99 225.51,-30.94l66.31 -174.67c-158.22,-52.42 -328.93,-58.97 -453.18,75.17 -66.99,72.34 -101.71,159.21 -108.36,278.57l-141.48 0 0 190.1 141.48 0 0 800.26 227.73 0 0 -800.26 198.97 0 0 -190.1 -201.18 0c-2.22,-6.65 -2.22,-15.47 -2.22,-22.11zm1759.42 513.87c0,-148.24 42.71,-268.93 128.13,-362.08 85.41,-93.15 198.37,-139.89 338.56,-139.89 117.29,0 213.57,28.44 289.18,85.17 46.5,-49.6 103.19,-74.79 166.07,-85.17l0 998.16c0,139.22 -64.13,290.4 -197.73,378.03 -140.51,92.16 -371.92,81.14 -550.45,25.52l62.14 -208.11c92.6,25.77 242.22,61.15 343.11,9.58 109.17,-55.8 116.41,-127.36 116.41,-201.63l0 -43.8c-65,33.65 -141.22,50.5 -228.72,50.5 -147.61,0 -262.12,-46.11 -343.82,-138.34 -82.02,-92.22 -122.87,-215.08 -122.87,-367.96zm695.41 173.53l0 -350.65c-23.3,-50.52 -73.21,-138.97 -216.74,-138.97 -70.87,0 -138.86,27.66 -180.32,83.05 -41.78,55.71 -62.52,133.38 -62.52,233.03 0,213.85 86.86,320.46 240.67,320.46 116.1,0 197.65,-65.71 218.92,-146.93zm-3864.59 -1080.91l-227.69 55.27 0 1136.28c0,141.52 123.8,214.44 225.47,214.44l120.59 0 0 -198.94c-66.61,2.81 -118.39,-36.92 -118.38,-94.64l0 -1112.41zm3099.18 889.52c0.3,-187.89 -33.15,-316.13 -101.7,-382.43 -85.82,-83.02 -212.57,-101.68 -327.17,-101.68 -43.1,0 -83.67,3.52 -121.99,9.7 -56,9.04 -107.2,23.82 -154.35,41.72l49.75 189.89c58.77,-22.06 140.35,-42.37 226.58,-42.37 116.54,0 201.16,28.14 201.16,161.41 -68.7,-11.23 -106.65,-15.13 -174.64,-11.08 -117.48,7.02 -210.01,42.02 -278.53,92.86 -86.18,65.63 -126.03,156 -126.03,263.06 0,202.93 137.46,305.59 336.04,305.59 90.33,0 222.68,-42.36 267.49,-110.61 24.41,45.87 83.97,103.13 187.99,100.4l14.58 0 0.81 -516.47zm-225.47 127.32c0,136.27 -66.69,212.07 -203.4,215.35 -101.67,2.43 -150.32,-44.19 -150.32,-130.4 0,-95.07 57.6,-151.87 176.85,-170.24 65.04,-10.03 113.18,-8.33 176.87,6.62l0 78.68zm-2294.54 -609.04c-301.22,2.54 -481.95,229.89 -481.95,512.87 0,268.03 211.72,488.58 481.95,493.01 134.45,2.21 270.23,-17.77 384.65,-95.07l-83.95 -170.07c-57.04,46.2 -187.18,83.39 -300.7,72.82 -118.27,-11.02 -238.86,-126.76 -245.42,-241.01l701.79 0c52.02,-325.51 -120.19,-575.38 -456.37,-572.54zm-238.77 402.33c20.59,-129.42 105.2,-213.33 243.18,-212.25 139.27,1.09 230.31,71.86 239.24,212.25l-482.42 0zm-1109.76 -402.33c-301.22,2.54 -481.95,229.89 -481.95,512.87 0,268.03 211.72,488.58 481.95,493.01 134.45,2.21 270.23,-17.77 384.65,-95.07l-83.95 -170.07c-57.04,46.2 -187.18,83.39 -300.7,72.82 -118.27,-11.02 -238.86,-126.76 -245.42,-241.01l701.79 0c52.02,-325.51 -120.19,-575.38 -456.37,-572.54zm-238.77 402.33c20.59,-129.42 105.2,-213.33 243.18,-212.25 139.27,1.09 230.31,71.86 239.24,212.25l-482.42 0zm3290.99 -178.22l93.8 -187.56c-135.84,-67.86 -333.64,-43 -435.51,72.96l0 -101.68 -227.69 0 0 990.36 227.69 0 0 -557.1c0,-70.74 19.91,-128.24 61.91,-176.85 29.24,-33.84 159.31,-110.97 279.81,-40.13zm-3273.01 -353.38l64.16 0 0 -212.25 -64.16 0 -123.8 0 -921.85 0 0 212.25 426.66 0 0 1127.45 238.77 0 0 -1127.45 256.42 0 123.8 0z" }),
|
|
19
|
+
/* @__PURE__ */ l("path", { fill: "var(--color-text)", d: "M2337.88 708.85c-301.22,2.54 -481.95,229.89 -481.95,512.87 0,268.03 211.72,488.58 481.95,493.01 134.45,2.21 270.23,-17.77 384.65,-95.07l-83.95 -170.07c-57.04,46.2 -187.18,83.39 -300.7,72.82 -118.27,-11.02 -238.86,-126.76 -245.42,-241.01l701.79 0c52.02,-325.51 -120.19,-575.38 -456.37,-572.54zm-1174.7 -341.52c-369.93,0 -793.25,0 -1163.18,0l0 212.25 426.66 0 0 1127.45 238.77 0 0 -1127.45 267.83 0 0 1127.45 229.93 0 0 -696.33c38.7,-58.2 127.81,-99.5 196.75,-99.5 120.28,0 201.17,78.06 201.17,198.97l0 596.86 227.7 0 0 -596.86c0,-246.43 -132.79,-391.29 -382.45,-391.29 -103.9,0 -183.5,26.51 -243.17,79.56 0,-143.71 0,-287.41 0,-431.12zm5122.47 349.34l-236.54 672.03 -265.32 -672.03 -236.44 -0.14 397.83 970.6c-41.98,123.8 -91.45,143.26 -252.02,139.3l0 207.83c172.65,0 330.31,-0.33 402.37,-190.14l426.66 -1127.45 -236.52 0zm-2343.31 274.1c0,-70.73 -8.84,-134.83 -24.31,-196.71 -26.55,-97.29 -75.17,-183.53 -145.91,-254.24 -95.05,-95.07 -218.85,-143.7 -371.41,-154.77 -28.72,-2.22 -57.47,-4.39 -88.43,-4.39l-446.56 0 0 1326.38 386.88 0c53.08,0 101.7,-2.18 148.11,-8.85 285.2,-37.56 457.64,-192.29 517.32,-462 15.47,-72.99 24.31,-154.76 24.31,-245.42zm-344.88 378.07c-50.84,66.31 -117.15,101.64 -196.75,114.93 -26.51,4.4 -55.25,8.86 -83.99,8.86l-214.44 0 2.2 -906.41 196.77 0c35.37,0 68.52,2.22 99.46,6.62 196.75,33.18 296.24,165.81 296.24,413.43 0,154.73 -33.16,276.35 -99.48,362.56zm1198.42 -652.17l0 185.71 108.53 0 0 804.65 229.93 0 0 -990.36 -338.46 0zm-45.82 474.44c0.29,-187.89 -33.15,-316.13 -101.7,-382.43 -85.82,-83.02 -212.57,-101.68 -327.17,-101.68 -106.09,0 -196.93,21.28 -276.33,51.42l49.75 189.89c58.77,-22.06 140.35,-42.37 226.58,-42.37 116.54,0 201.16,28.14 201.16,161.41 -68.7,-11.23 -106.65,-15.13 -174.64,-11.08 -117.48,7.02 -210.01,42.02 -278.53,92.86 -86.18,65.63 -126.03,156 -126.03,263.06 0,202.93 137.46,304.5 336.04,304.5 90.33,0 222.68,-41.28 267.49,-109.52 30.95,52.41 83.99,102.59 188.01,99.86l14.58 0 0.79 -515.92zm-225.47 127.32c0,136.27 -66.69,212.07 -203.4,215.35 -101.67,2.43 -150.32,-44.19 -150.32,-130.4 0,-95.07 57.6,-151.87 176.85,-170.24 65.04,-10.03 113.18,-8.33 176.87,6.62l0 78.68zm497 -977.58c-35.37,0 -68.54,13.22 -92.86,39.8 -26.53,24.29 -39.78,55.24 -39.78,92.86 0,35.33 13.25,66.28 39.78,92.82 24.31,24.3 57.49,37.59 92.86,37.59 35.37,0 66.33,-13.28 92.86,-37.59 26.51,-26.54 37.55,-57.49 37.55,-92.82 0,-37.62 -11.04,-68.56 -37.55,-92.86 -26.53,-26.58 -57.49,-39.8 -92.86,-39.8zm493.63 -39.8l-227.69 55.27 0 1136.28c0,141.52 123.8,214.44 225.47,214.44l120.59 0 0 -198.94c-66.61,2.81 -118.39,-36.91 -118.38,-94.63l0 -1112.42zm-3416.1 810.12c20.59,-129.42 105.2,-213.33 243.18,-212.25 139.27,1.09 230.31,71.86 239.24,212.25l-482.42 0z" })
|
|
20
|
+
]
|
|
13
21
|
}
|
|
14
|
-
|
|
15
|
-
const [z, h] = d(window.innerWidth), [e, r] = d("light");
|
|
16
|
-
return s(() => {
|
|
17
|
-
const i = () => {
|
|
18
|
-
h(window.innerWidth);
|
|
19
|
-
};
|
|
20
|
-
return window.addEventListener("resize", i), () => {
|
|
21
|
-
window.removeEventListener("resize", i);
|
|
22
|
-
};
|
|
23
|
-
}, []), s(() => {
|
|
24
|
-
if (m) {
|
|
25
|
-
r(m);
|
|
26
|
-
return;
|
|
27
|
-
}
|
|
28
|
-
const i = document.documentElement.getAttribute("data-theme");
|
|
29
|
-
r(i === "dark" ? "dark" : "light");
|
|
30
|
-
let n = new MutationObserver(() => {
|
|
31
|
-
const a = document.documentElement.getAttribute("data-theme");
|
|
32
|
-
r(a === "dark" ? "dark" : "light");
|
|
33
|
-
});
|
|
34
|
-
return n.observe(document.documentElement, {
|
|
35
|
-
attributes: !0
|
|
36
|
-
// наблюдать за изменением атрибутов
|
|
37
|
-
}), () => n.disconnect();
|
|
38
|
-
}, [m]), z < 512 ? /* @__PURE__ */ o(
|
|
39
|
-
"svg",
|
|
40
|
-
{
|
|
41
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
42
|
-
width: "47.2642mm",
|
|
43
|
-
height: "34.4159mm",
|
|
44
|
-
viewBox: "0 0 5058.61 3683.48",
|
|
45
|
-
onClick: () => {
|
|
46
|
-
t && t();
|
|
47
|
-
},
|
|
48
|
-
style: t ? { cursor: "pointer" } : void 0,
|
|
49
|
-
children: [
|
|
50
|
-
/* @__PURE__ */ c("path", { fill: l[e].back, d: "M2529.3 3683.48c1394.52,0 2529.32,-827.13 2529.32,-1846.53 0,-1009.89 -1134.8,-1836.95 -2529.32,-1836.95 -1394.5,0 -2529.3,827.06 -2529.3,1836.95 0,1019.4 1134.8,1846.53 2529.3,1846.53z" }),
|
|
51
|
-
/* @__PURE__ */ c("path", { fill: l[e].fore, d: "M2709.68 299.33c1119.99,66.39 2002.76,787.82 2002.76,1537.69 0,740.31 -654.92,1281.4 -1566.19,1471.22 702.43,-180.38 1205.54,-673.93 1205.54,-1205.45 0,-541.02 -455.62,-977.67 -1101.07,-1177.02l-104.47 493.6c571.8,207.86 1158.84,688.11 436.62,1148.5 19.06,-27.89 66.41,-69.43 66.41,-199.33 0,-175.62 -265.69,-351.15 -616.88,-455.58l-322.72 1471.18 0 -2866.52 0 -218.3zm-360.76 218.3l0 2866.52 -541.02 -2467.83c-654.91,199.29 -1110.52,654.86 -1110.52,1186.47 0,522.02 446.15,977.65 1091.59,1176.99 -835.27,-218.36 -1442.74,-787.86 -1442.74,-1442.77 0,-806.82 882.72,-1471.3 2002.68,-1537.69l0 218.3z" })
|
|
52
|
-
]
|
|
53
|
-
}
|
|
54
|
-
) : /* @__PURE__ */ o(
|
|
55
|
-
"svg",
|
|
56
|
-
{
|
|
57
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
58
|
-
width: "156.748mm",
|
|
59
|
-
height: "21.7468mm",
|
|
60
|
-
viewBox: "0 0 15503.88 2150.97",
|
|
61
|
-
onClick: () => {
|
|
62
|
-
t && t();
|
|
63
|
-
},
|
|
64
|
-
style: t ? { cursor: "pointer" } : void 0,
|
|
65
|
-
children: [
|
|
66
|
-
/* @__PURE__ */ c("path", { fill: l[e].back, d: "M7990.87 2137.37c809.18,0 1467.66,-479.95 1467.66,-1071.46 0,-586 -658.48,-1065.91 -1467.66,-1065.91 -809.16,0 -1467.64,479.91 -1467.64,1065.91 0,591.51 658.48,1071.46 1467.64,1071.46z" }),
|
|
67
|
-
/* @__PURE__ */ c("path", { fill: l[e].fore, d: "M8095.54 173.7c649.88,38.52 1162.11,457.13 1162.11,892.25 0,429.58 -380.01,743.54 -908.79,853.7 407.6,-104.67 699.52,-391.06 699.52,-699.48 0,-313.93 -264.38,-567.31 -638.9,-682.98l-60.62 286.42c331.79,120.61 672.43,399.28 253.36,666.43 11.06,-16.19 38.54,-40.29 38.54,-115.68 0,-101.9 -154.17,-203.75 -357.94,-264.35l-187.27 853.67 0 -1663.33 0 -126.66zm-209.34 126.66l0 1663.33 -313.93 -1431.99c-380.01,115.65 -644.39,379.99 -644.39,688.46 0,302.91 258.89,567.29 633.42,682.96 -484.68,-126.7 -837.17,-457.16 -837.17,-837.18 0,-468.16 512.2,-853.73 1162.07,-892.25l0 126.66z" }),
|
|
68
|
-
/* @__PURE__ */ c("path", { fill: l[e].text, d: "M12822.53 694.56c0,-55.27 15.52,-90.65 46.41,-126.02 67.53,-77.3 166.98,-48.99 225.51,-30.94l66.31 -174.67c-158.22,-52.42 -328.93,-58.97 -453.18,75.17 -66.99,72.34 -101.71,159.21 -108.36,278.57l-141.48 0 0 190.1 141.48 0 0 800.26 227.73 0 0 -800.26 198.97 0 0 -190.1 -201.18 0c-2.22,-6.65 -2.22,-15.47 -2.22,-22.11zm1759.42 513.87c0,-148.24 42.71,-268.93 128.13,-362.08 85.41,-93.15 198.37,-139.89 338.56,-139.89 117.29,0 213.57,28.44 289.18,85.17 46.5,-49.6 103.19,-74.79 166.07,-85.17l0 998.16c0,139.22 -64.13,290.4 -197.73,378.03 -140.51,92.16 -371.92,81.14 -550.45,25.52l62.14 -208.11c92.6,25.77 242.22,61.15 343.11,9.58 109.17,-55.8 116.41,-127.36 116.41,-201.63l0 -43.8c-65,33.65 -141.22,50.5 -228.72,50.5 -147.61,0 -262.12,-46.11 -343.82,-138.34 -82.02,-92.22 -122.87,-215.08 -122.87,-367.96zm695.41 173.53l0 -350.65c-23.3,-50.52 -73.21,-138.97 -216.74,-138.97 -70.87,0 -138.86,27.66 -180.32,83.05 -41.78,55.71 -62.52,133.38 -62.52,233.03 0,213.85 86.86,320.46 240.67,320.46 116.1,0 197.65,-65.71 218.92,-146.93zm-3864.59 -1080.91l-227.69 55.27 0 1136.28c0,141.52 123.8,214.44 225.47,214.44l120.59 0 0 -198.94c-66.61,2.81 -118.39,-36.92 -118.38,-94.64l0 -1112.41zm3099.18 889.52c0.3,-187.89 -33.15,-316.13 -101.7,-382.43 -85.82,-83.02 -212.57,-101.68 -327.17,-101.68 -43.1,0 -83.67,3.52 -121.99,9.7 -56,9.04 -107.2,23.82 -154.35,41.72l49.75 189.89c58.77,-22.06 140.35,-42.37 226.58,-42.37 116.54,0 201.16,28.14 201.16,161.41 -68.7,-11.23 -106.65,-15.13 -174.64,-11.08 -117.48,7.02 -210.01,42.02 -278.53,92.86 -86.18,65.63 -126.03,156 -126.03,263.06 0,202.93 137.46,305.59 336.04,305.59 90.33,0 222.68,-42.36 267.49,-110.61 24.41,45.87 83.97,103.13 187.99,100.4l14.58 0 0.81 -516.47zm-225.47 127.32c0,136.27 -66.69,212.07 -203.4,215.35 -101.67,2.43 -150.32,-44.19 -150.32,-130.4 0,-95.07 57.6,-151.87 176.85,-170.24 65.04,-10.03 113.18,-8.33 176.87,6.62l0 78.68zm-2294.54 -609.04c-301.22,2.54 -481.95,229.89 -481.95,512.87 0,268.03 211.72,488.58 481.95,493.01 134.45,2.21 270.23,-17.77 384.65,-95.07l-83.95 -170.07c-57.04,46.2 -187.18,83.39 -300.7,72.82 -118.27,-11.02 -238.86,-126.76 -245.42,-241.01l701.79 0c52.02,-325.51 -120.19,-575.38 -456.37,-572.54zm-238.77 402.33c20.59,-129.42 105.2,-213.33 243.18,-212.25 139.27,1.09 230.31,71.86 239.24,212.25l-482.42 0zm-1109.76 -402.33c-301.22,2.54 -481.95,229.89 -481.95,512.87 0,268.03 211.72,488.58 481.95,493.01 134.45,2.21 270.23,-17.77 384.65,-95.07l-83.95 -170.07c-57.04,46.2 -187.18,83.39 -300.7,72.82 -118.27,-11.02 -238.86,-126.76 -245.42,-241.01l701.79 0c52.02,-325.51 -120.19,-575.38 -456.37,-572.54zm-238.77 402.33c20.59,-129.42 105.2,-213.33 243.18,-212.25 139.27,1.09 230.31,71.86 239.24,212.25l-482.42 0zm3290.99 -178.22l93.8 -187.56c-135.84,-67.86 -333.64,-43 -435.51,72.96l0 -101.68 -227.69 0 0 990.36 227.69 0 0 -557.1c0,-70.74 19.91,-128.24 61.91,-176.85 29.24,-33.84 159.31,-110.97 279.81,-40.13zm-3273.01 -353.38l64.16 0 0 -212.25 -64.16 0 -123.8 0 -921.85 0 0 212.25 426.66 0 0 1127.45 238.77 0 0 -1127.45 256.42 0 123.8 0z" }),
|
|
69
|
-
/* @__PURE__ */ c("path", { fill: l[e].text, d: "M2337.88 708.85c-301.22,2.54 -481.95,229.89 -481.95,512.87 0,268.03 211.72,488.58 481.95,493.01 134.45,2.21 270.23,-17.77 384.65,-95.07l-83.95 -170.07c-57.04,46.2 -187.18,83.39 -300.7,72.82 -118.27,-11.02 -238.86,-126.76 -245.42,-241.01l701.79 0c52.02,-325.51 -120.19,-575.38 -456.37,-572.54zm-1174.7 -341.52c-369.93,0 -793.25,0 -1163.18,0l0 212.25 426.66 0 0 1127.45 238.77 0 0 -1127.45 267.83 0 0 1127.45 229.93 0 0 -696.33c38.7,-58.2 127.81,-99.5 196.75,-99.5 120.28,0 201.17,78.06 201.17,198.97l0 596.86 227.7 0 0 -596.86c0,-246.43 -132.79,-391.29 -382.45,-391.29 -103.9,0 -183.5,26.51 -243.17,79.56 0,-143.71 0,-287.41 0,-431.12zm5122.47 349.34l-236.54 672.03 -265.32 -672.03 -236.44 -0.14 397.83 970.6c-41.98,123.8 -91.45,143.26 -252.02,139.3l0 207.83c172.65,0 330.31,-0.33 402.37,-190.14l426.66 -1127.45 -236.52 0zm-2343.31 274.1c0,-70.73 -8.84,-134.83 -24.31,-196.71 -26.55,-97.29 -75.17,-183.53 -145.91,-254.24 -95.05,-95.07 -218.85,-143.7 -371.41,-154.77 -28.72,-2.22 -57.47,-4.39 -88.43,-4.39l-446.56 0 0 1326.38 386.88 0c53.08,0 101.7,-2.18 148.11,-8.85 285.2,-37.56 457.64,-192.29 517.32,-462 15.47,-72.99 24.31,-154.76 24.31,-245.42zm-344.88 378.07c-50.84,66.31 -117.15,101.64 -196.75,114.93 -26.51,4.4 -55.25,8.86 -83.99,8.86l-214.44 0 2.2 -906.41 196.77 0c35.37,0 68.52,2.22 99.46,6.62 196.75,33.18 296.24,165.81 296.24,413.43 0,154.73 -33.16,276.35 -99.48,362.56zm1198.42 -652.17l0 185.71 108.53 0 0 804.65 229.93 0 0 -990.36 -338.46 0zm-45.82 474.44c0.29,-187.89 -33.15,-316.13 -101.7,-382.43 -85.82,-83.02 -212.57,-101.68 -327.17,-101.68 -106.09,0 -196.93,21.28 -276.33,51.42l49.75 189.89c58.77,-22.06 140.35,-42.37 226.58,-42.37 116.54,0 201.16,28.14 201.16,161.41 -68.7,-11.23 -106.65,-15.13 -174.64,-11.08 -117.48,7.02 -210.01,42.02 -278.53,92.86 -86.18,65.63 -126.03,156 -126.03,263.06 0,202.93 137.46,304.5 336.04,304.5 90.33,0 222.68,-41.28 267.49,-109.52 30.95,52.41 83.99,102.59 188.01,99.86l14.58 0 0.79 -515.92zm-225.47 127.32c0,136.27 -66.69,212.07 -203.4,215.35 -101.67,2.43 -150.32,-44.19 -150.32,-130.4 0,-95.07 57.6,-151.87 176.85,-170.24 65.04,-10.03 113.18,-8.33 176.87,6.62l0 78.68zm497 -977.58c-35.37,0 -68.54,13.22 -92.86,39.8 -26.53,24.29 -39.78,55.24 -39.78,92.86 0,35.33 13.25,66.28 39.78,92.82 24.31,24.3 57.49,37.59 92.86,37.59 35.37,0 66.33,-13.28 92.86,-37.59 26.51,-26.54 37.55,-57.49 37.55,-92.82 0,-37.62 -11.04,-68.56 -37.55,-92.86 -26.53,-26.58 -57.49,-39.8 -92.86,-39.8zm493.63 -39.8l-227.69 55.27 0 1136.28c0,141.52 123.8,214.44 225.47,214.44l120.59 0 0 -198.94c-66.61,2.81 -118.39,-36.91 -118.38,-94.63l0 -1112.42zm-3416.1 810.12c20.59,-129.42 105.2,-213.33 243.18,-212.25 139.27,1.09 230.31,71.86 239.24,212.25l-482.42 0z" })
|
|
70
|
-
]
|
|
71
|
-
}
|
|
72
|
-
);
|
|
73
|
-
};
|
|
22
|
+
);
|
|
74
23
|
export {
|
|
75
|
-
|
|
24
|
+
r as default
|
|
76
25
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsxs as o, jsx as l } from "react/jsx-runtime";
|
|
2
|
+
import '../../assets/TelefragSymbol.css';/* empty css */
|
|
3
|
+
const a = () => /* @__PURE__ */ o(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: "47.2642mm",
|
|
8
|
+
height: "34.4159mm",
|
|
9
|
+
viewBox: "0 0 5058.61 3683.48",
|
|
10
|
+
className: "TelefragSymbol",
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ l("path", { fill: "var(--color-back)", d: "M2529.3 3683.48c1394.52,0 2529.32,-827.13 2529.32,-1846.53 0,-1009.89 -1134.8,-1836.95 -2529.32,-1836.95 -1394.5,0 -2529.3,827.06 -2529.3,1836.95 0,1019.4 1134.8,1846.53 2529.3,1846.53z" }),
|
|
13
|
+
/* @__PURE__ */ l("path", { fill: "var(--color-fore)", d: "M2709.68 299.33c1119.99,66.39 2002.76,787.82 2002.76,1537.69 0,740.31 -654.92,1281.4 -1566.19,1471.22 702.43,-180.38 1205.54,-673.93 1205.54,-1205.45 0,-541.02 -455.62,-977.67 -1101.07,-1177.02l-104.47 493.6c571.8,207.86 1158.84,688.11 436.62,1148.5 19.06,-27.89 66.41,-69.43 66.41,-199.33 0,-175.62 -265.69,-351.15 -616.88,-455.58l-322.72 1471.18 0 -2866.52 0 -218.3zm-360.76 218.3l0 2866.52 -541.02 -2467.83c-654.91,199.29 -1110.52,654.86 -1110.52,1186.47 0,522.02 446.15,977.65 1091.59,1176.99 -835.27,-218.36 -1442.74,-787.86 -1442.74,-1442.77 0,-806.82 882.72,-1471.3 2002.68,-1537.69l0 218.3z" })
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
export {
|
|
18
|
+
a as default
|
|
19
|
+
};
|
|
@@ -58,10 +58,11 @@ import { default as Shrink } from './Shrink';
|
|
|
58
58
|
import { default as SquareDashed } from './SquareDashed';
|
|
59
59
|
import { default as Strikethrough } from './Strikethrough';
|
|
60
60
|
import { default as Table } from './Table';
|
|
61
|
+
import { default as TelefragSymbol } from './TelefragSymbol';
|
|
61
62
|
import { default as TelefragLogo } from './TelefragLogo';
|
|
62
63
|
import { default as Trash } from './Trash';
|
|
63
64
|
import { default as Type } from './Type';
|
|
64
65
|
import { default as Underline } from './Underline';
|
|
65
66
|
import { default as Undo } from './Undo';
|
|
66
67
|
import { default as Users } from './Users';
|
|
67
|
-
export { AlignBottom, AlignCenter, AlignJustify, AlignLeft, AlignMiddle, AlignRight, AlignTop, Asterisk, Bold, Book, Calendar, CellsMerge, CellsSplit, Check, ChevronDown, ChevronLeft, ChevronRight, Clock, Code, CodeXml, ColumnInsertAfter, ColumnInsertBefore, Expand, Eye, Feather, Files, Film, FlipVertical, Forum, Gamepad, Heading, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Image, IndentDecrease, Italic, Jam, JoinUp, Link, List, ListOrdered, Maximize, Menu, Minimize, Pilcrow, Plus, Quote, Redo, Rocket, RowInsertAfter, RowInsertBefore, ShowSidebar, Shrink, SquareDashed, Strikethrough, Table, TelefragLogo, Trash, Type, Underline, Undo, Users, };
|
|
68
|
+
export { AlignBottom, AlignCenter, AlignJustify, AlignLeft, AlignMiddle, AlignRight, AlignTop, Asterisk, Bold, Book, Calendar, CellsMerge, CellsSplit, Check, ChevronDown, ChevronLeft, ChevronRight, Clock, Code, CodeXml, ColumnInsertAfter, ColumnInsertBefore, Expand, Eye, Feather, Files, Film, FlipVertical, Forum, Gamepad, Heading, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, Image, IndentDecrease, Italic, Jam, JoinUp, Link, List, ListOrdered, Maximize, Menu, Minimize, Pilcrow, Plus, Quote, Redo, Rocket, RowInsertAfter, RowInsertBefore, ShowSidebar, Shrink, SquareDashed, Strikethrough, Table, TelefragSymbol, TelefragLogo, Trash, Type, Underline, Undo, Users, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as o } from "./AlignBottom.js";
|
|
2
|
-
import { default as
|
|
2
|
+
import { default as t } from "./AlignCenter.js";
|
|
3
3
|
import { default as l } from "./AlignJustify.js";
|
|
4
4
|
import { default as s } from "./AlignLeft.js";
|
|
5
5
|
import { default as u } from "./AlignMiddle.js";
|
|
@@ -9,13 +9,13 @@ import { default as h } from "./Asterisk.js";
|
|
|
9
9
|
import { default as A } from "./Bold.js";
|
|
10
10
|
import { default as c } from "./Book.js";
|
|
11
11
|
import { default as I } from "./Calendar.js";
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
14
|
-
import { default as
|
|
15
|
-
import { default as
|
|
16
|
-
import { default as
|
|
17
|
-
import { default as
|
|
18
|
-
import { default as
|
|
12
|
+
import { default as L } from "./CellsMerge.js";
|
|
13
|
+
import { default as T } from "./CellsSplit.js";
|
|
14
|
+
import { default as B } from "./Check.js";
|
|
15
|
+
import { default as M } from "./ChevronDown.js";
|
|
16
|
+
import { default as U } from "./ChevronLeft.js";
|
|
17
|
+
import { default as v } from "./ChevronRight.js";
|
|
18
|
+
import { default as J } from "./Clock.js";
|
|
19
19
|
import { default as E } from "./Code.js";
|
|
20
20
|
import { default as q } from "./CodeXml.js";
|
|
21
21
|
import { default as O } from "./ColumnInsertAfter.js";
|
|
@@ -26,7 +26,7 @@ import { default as Y } from "./Feather.js";
|
|
|
26
26
|
import { default as _ } from "./Files.js";
|
|
27
27
|
import { default as ee } from "./Film.js";
|
|
28
28
|
import { default as oe } from "./FlipVertical.js";
|
|
29
|
-
import { default as
|
|
29
|
+
import { default as te } from "./Forum.js";
|
|
30
30
|
import { default as le } from "./Gamepad.js";
|
|
31
31
|
import { default as se } from "./Heading.js";
|
|
32
32
|
import { default as ue } from "./Heading1.js";
|
|
@@ -36,13 +36,13 @@ import { default as he } from "./Heading4.js";
|
|
|
36
36
|
import { default as Ae } from "./Heading5.js";
|
|
37
37
|
import { default as ce } from "./Heading6.js";
|
|
38
38
|
import { default as Ie } from "./Image.js";
|
|
39
|
-
import { default as
|
|
40
|
-
import { default as
|
|
41
|
-
import { default as
|
|
42
|
-
import { default as
|
|
43
|
-
import { default as
|
|
44
|
-
import { default as
|
|
45
|
-
import { default as
|
|
39
|
+
import { default as Le } from "./IndentDecrease.js";
|
|
40
|
+
import { default as Te } from "./Italic.js";
|
|
41
|
+
import { default as Be } from "./Jam.js";
|
|
42
|
+
import { default as Me } from "./JoinUp.js";
|
|
43
|
+
import { default as Ue } from "./Link.js";
|
|
44
|
+
import { default as ve } from "./List.js";
|
|
45
|
+
import { default as Je } from "./ListOrdered.js";
|
|
46
46
|
import { default as Ee } from "./Maximize.js";
|
|
47
47
|
import { default as qe } from "./Menu.js";
|
|
48
48
|
import { default as Oe } from "./Minimize.js";
|
|
@@ -53,20 +53,21 @@ import { default as Ye } from "./Redo.js";
|
|
|
53
53
|
import { default as _e } from "./Rocket.js";
|
|
54
54
|
import { default as er } from "./RowInsertAfter.js";
|
|
55
55
|
import { default as or } from "./RowInsertBefore.js";
|
|
56
|
-
import { default as
|
|
56
|
+
import { default as tr } from "./ShowSidebar.js";
|
|
57
57
|
import { default as lr } from "./Shrink.js";
|
|
58
58
|
import { default as sr } from "./SquareDashed.js";
|
|
59
59
|
import { default as ur } from "./Strikethrough.js";
|
|
60
60
|
import { default as xr } from "./Table.js";
|
|
61
|
-
import { default as nr } from "./
|
|
62
|
-
import { default as hr } from "./
|
|
63
|
-
import { default as Ar } from "./
|
|
64
|
-
import { default as cr } from "./
|
|
65
|
-
import { default as Ir } from "./
|
|
66
|
-
import { default as
|
|
61
|
+
import { default as nr } from "./TelefragSymbol.js";
|
|
62
|
+
import { default as hr } from "./TelefragLogo.js";
|
|
63
|
+
import { default as Ar } from "./Trash.js";
|
|
64
|
+
import { default as cr } from "./Type.js";
|
|
65
|
+
import { default as Ir } from "./Underline.js";
|
|
66
|
+
import { default as Lr } from "./Undo.js";
|
|
67
|
+
import { default as Tr } from "./Users.js";
|
|
67
68
|
export {
|
|
68
69
|
o as AlignBottom,
|
|
69
|
-
|
|
70
|
+
t as AlignCenter,
|
|
70
71
|
l as AlignJustify,
|
|
71
72
|
s as AlignLeft,
|
|
72
73
|
u as AlignMiddle,
|
|
@@ -76,13 +77,13 @@ export {
|
|
|
76
77
|
A as Bold,
|
|
77
78
|
c as Book,
|
|
78
79
|
I as Calendar,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
80
|
+
L as CellsMerge,
|
|
81
|
+
T as CellsSplit,
|
|
82
|
+
B as Check,
|
|
83
|
+
M as ChevronDown,
|
|
84
|
+
U as ChevronLeft,
|
|
85
|
+
v as ChevronRight,
|
|
86
|
+
J as Clock,
|
|
86
87
|
E as Code,
|
|
87
88
|
q as CodeXml,
|
|
88
89
|
O as ColumnInsertAfter,
|
|
@@ -93,7 +94,7 @@ export {
|
|
|
93
94
|
_ as Files,
|
|
94
95
|
ee as Film,
|
|
95
96
|
oe as FlipVertical,
|
|
96
|
-
|
|
97
|
+
te as Forum,
|
|
97
98
|
le as Gamepad,
|
|
98
99
|
se as Heading,
|
|
99
100
|
ue as Heading1,
|
|
@@ -103,13 +104,13 @@ export {
|
|
|
103
104
|
Ae as Heading5,
|
|
104
105
|
ce as Heading6,
|
|
105
106
|
Ie as Image,
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
107
|
+
Le as IndentDecrease,
|
|
108
|
+
Te as Italic,
|
|
109
|
+
Be as Jam,
|
|
110
|
+
Me as JoinUp,
|
|
111
|
+
Ue as Link,
|
|
112
|
+
ve as List,
|
|
113
|
+
Je as ListOrdered,
|
|
113
114
|
Ee as Maximize,
|
|
114
115
|
qe as Menu,
|
|
115
116
|
Oe as Minimize,
|
|
@@ -120,15 +121,16 @@ export {
|
|
|
120
121
|
_e as Rocket,
|
|
121
122
|
er as RowInsertAfter,
|
|
122
123
|
or as RowInsertBefore,
|
|
123
|
-
|
|
124
|
+
tr as ShowSidebar,
|
|
124
125
|
lr as Shrink,
|
|
125
126
|
sr as SquareDashed,
|
|
126
127
|
ur as Strikethrough,
|
|
127
128
|
xr as Table,
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
Ar as
|
|
131
|
-
cr as
|
|
132
|
-
Ir as
|
|
133
|
-
|
|
129
|
+
hr as TelefragLogo,
|
|
130
|
+
nr as TelefragSymbol,
|
|
131
|
+
Ar as Trash,
|
|
132
|
+
cr as Type,
|
|
133
|
+
Ir as Underline,
|
|
134
|
+
Lr as Undo,
|
|
135
|
+
Tr as Users
|
|
134
136
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as r, jsxs as e } from "react/jsx-runtime";
|
|
2
|
-
import '../../assets/Footer.css'
|
|
3
|
-
const s = () => /* @__PURE__ */ r("footer", { className: "Footer", children: /* @__PURE__ */ e("div", { children: [
|
|
2
|
+
import '../../assets/Footer.css';const t = () => /* @__PURE__ */ r("footer", { className: "Footer", children: /* @__PURE__ */ e("div", { children: [
|
|
4
3
|
"Copyright © ",
|
|
5
4
|
/* @__PURE__ */ r("a", { href: "/user/1", children: "Alexander Fedorov" })
|
|
6
5
|
] }) });
|
|
7
6
|
export {
|
|
8
|
-
|
|
7
|
+
t as default
|
|
9
8
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as i } from "react/jsx-runtime";
|
|
2
|
-
import s from "../icons/
|
|
3
|
-
import
|
|
2
|
+
import s from "../icons/TelefragSymbol.js";
|
|
3
|
+
import a from "../icons/TelefragLogo.js";
|
|
4
4
|
import '../../assets/Header.css';/* empty css */
|
|
5
|
-
const
|
|
6
|
-
/* @__PURE__ */ e("div", { className: "
|
|
7
|
-
/* @__PURE__ */ e("div", { className: "
|
|
8
|
-
/* @__PURE__ */ e("div", { className: "
|
|
5
|
+
const n = ({ userMenu: l, onMenuSwitch: r, onLogoClick: d }) => /* @__PURE__ */ e("header", { className: "HeaderWrapper", children: /* @__PURE__ */ i("div", { className: "Header", children: [
|
|
6
|
+
/* @__PURE__ */ e("div", { className: "HeaderMobile", onClick: r, children: /* @__PURE__ */ e(s, {}) }),
|
|
7
|
+
/* @__PURE__ */ e("div", { className: "HeaderTablet", children: /* @__PURE__ */ e(a, { onClick: r }) }),
|
|
8
|
+
/* @__PURE__ */ e("div", { className: "HeaderDesktop", children: /* @__PURE__ */ e(a, { onClick: d }) }),
|
|
9
|
+
/* @__PURE__ */ e("div", { className: "HeaderRight", children: l })
|
|
9
10
|
] }) });
|
|
10
11
|
export {
|
|
11
|
-
|
|
12
|
+
n as default
|
|
12
13
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { jsxs as f, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { useState as n } from "react";
|
|
3
3
|
import l from "./Header.js";
|
|
4
|
-
import u from "./
|
|
5
|
-
import
|
|
6
|
-
import '../../assets/Editable.css';import '../../assets/Message.css';import '../../assets/Modal.css';import '../../assets/Overlay.css';import '../../assets/Panel.css';import '../../assets/Block.css';import '../../assets/RadioLabel.css';import '../../assets/Input.css';import '../../assets/Files.css';import '../../assets/Fieldset.css';import '../../assets/Menu.css';import '../../assets/FormCol.css';import '../../assets/FormRow.css';import '../../assets/Button.css';import '../../assets/DatePicker.css';import '../../assets/Label.css';import '../../assets/RequiredMark.css';import '../../assets/Popup.css';import '../../assets/PageHeader.css';/* empty css */
|
|
4
|
+
import u from "./Content.js";
|
|
5
|
+
import '../../assets/Editable.css';import '../../assets/Message.css';import '../../assets/Modal.css';import '../../assets/Overlay.css';import '../../assets/Panel.css';import '../../assets/Block.css';import '../../assets/RadioLabel.css';import '../../assets/Input.css';import '../../assets/Files.css';import '../../assets/Fieldset.css';import '../../assets/Menu.css';import '../../assets/FormCol.css';import '../../assets/FormRow.css';import '../../assets/Button.css';import '../../assets/DatePicker.css';import '../../assets/Label.css';import '../../assets/RequiredMark.css';import '../../assets/TelefragLogo.css';import '../../assets/TelefragSymbol.css';import '../../assets/Popup.css';import '../../assets/PageHeader.css';/* empty css */
|
|
7
6
|
import "react-children-utilities";
|
|
8
7
|
import "react-transition-group";
|
|
9
8
|
import "react-dom";
|
|
10
9
|
/* empty css */
|
|
10
|
+
/* empty css */
|
|
11
|
+
/* empty css */
|
|
11
12
|
/* empty css */
|
|
12
13
|
/* empty css */
|
|
13
14
|
/* empty css */
|
|
@@ -24,33 +25,32 @@ import "react-dom";
|
|
|
24
25
|
/* empty css */
|
|
25
26
|
/* empty css */
|
|
26
27
|
/* empty css */
|
|
27
|
-
import { Sidebar as
|
|
28
|
+
import { Sidebar as d } from "../ui/sidebar/Sidebar.js";
|
|
28
29
|
/* empty css */
|
|
29
|
-
import
|
|
30
|
-
const T = ({ children: p, mainMenu: m, userMenu: e, onLogoClick: s, onMenuClick:
|
|
31
|
-
const [a,
|
|
30
|
+
import c from "./MainMenu.js";
|
|
31
|
+
const T = ({ children: p, mainMenu: m, userMenu: e, onLogoClick: s, onMenuClick: t }) => {
|
|
32
|
+
const [a, r] = n(!1);
|
|
32
33
|
return /* @__PURE__ */ f("div", { className: "Layout", children: [
|
|
33
34
|
/* @__PURE__ */ o(
|
|
34
35
|
l,
|
|
35
36
|
{
|
|
36
37
|
userMenu: e,
|
|
37
|
-
onMenuSwitch: () =>
|
|
38
|
+
onMenuSwitch: () => r((i) => !i),
|
|
38
39
|
onLogoClick: s
|
|
39
40
|
}
|
|
40
41
|
),
|
|
41
|
-
/* @__PURE__ */ o(
|
|
42
|
-
/* @__PURE__ */ o(u, {}),
|
|
42
|
+
/* @__PURE__ */ o(u, { mainMenu: m, onMenuClick: t, children: p }),
|
|
43
43
|
/* @__PURE__ */ o(
|
|
44
|
-
|
|
44
|
+
d,
|
|
45
45
|
{
|
|
46
46
|
isOpen: a,
|
|
47
|
-
onClose: () =>
|
|
47
|
+
onClose: () => r(!1),
|
|
48
48
|
children: /* @__PURE__ */ o(
|
|
49
|
-
|
|
49
|
+
c,
|
|
50
50
|
{
|
|
51
51
|
items: m,
|
|
52
52
|
onMenuClick: (i) => {
|
|
53
|
-
|
|
53
|
+
r(!1), t && t(i);
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
)
|
|
@@ -5,6 +5,7 @@ export type MainMenuTitle = {
|
|
|
5
5
|
icon?: never;
|
|
6
6
|
title: string;
|
|
7
7
|
checked?: never;
|
|
8
|
+
node?: never;
|
|
8
9
|
};
|
|
9
10
|
export type MainMenuAlternative = {
|
|
10
11
|
id: string;
|
|
@@ -12,8 +13,17 @@ export type MainMenuAlternative = {
|
|
|
12
13
|
icon: ReactNode;
|
|
13
14
|
title?: never;
|
|
14
15
|
checked?: boolean;
|
|
16
|
+
node?: never;
|
|
15
17
|
};
|
|
16
|
-
export type
|
|
18
|
+
export type MainMenuNode = {
|
|
19
|
+
id?: never;
|
|
20
|
+
text?: never;
|
|
21
|
+
icon?: never;
|
|
22
|
+
title?: string;
|
|
23
|
+
checked?: never;
|
|
24
|
+
node: ReactNode;
|
|
25
|
+
};
|
|
26
|
+
export type MainMenuItem = MainMenuTitle | MainMenuAlternative | MainMenuNode;
|
|
17
27
|
type Props = {
|
|
18
28
|
items: MainMenuItem[];
|
|
19
29
|
onMenuClick?: (id: string) => void;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as l, Fragment as c } from "react/jsx-runtime";
|
|
2
2
|
import '../../assets/MainMenu.css';/* empty css */
|
|
3
|
-
const o = ({ items:
|
|
3
|
+
const o = ({ items: s, onMenuClick: a }) => /* @__PURE__ */ e("div", { className: "MainMenu", children: s.map((n, i) => /* @__PURE__ */ l(
|
|
4
4
|
"div",
|
|
5
5
|
{
|
|
6
6
|
onClick: () => {
|
|
7
7
|
a && n.id && a(n.id);
|
|
8
8
|
},
|
|
9
|
-
className: n.title ? "MainMenuTitle" :
|
|
9
|
+
className: n.node ? "MainMenuNode" : n.title ? "MainMenuTitle" : "MainMenuAlternative",
|
|
10
10
|
children: [
|
|
11
|
-
n.title ? /* @__PURE__ */ e("span", { className: "one-line", children: n.title }) : /* @__PURE__ */
|
|
11
|
+
n.node ? n.node : n.title ? /* @__PURE__ */ e("span", { className: "one-line", children: n.title }) : /* @__PURE__ */ l(c, { children: [
|
|
12
12
|
n.icon,
|
|
13
13
|
/* @__PURE__ */ e("span", { className: "one-line", children: n.text })
|
|
14
14
|
] }),
|
|
15
15
|
n.checked && /* @__PURE__ */ e("span", { className: "MainMenuCheck" })
|
|
16
16
|
]
|
|
17
17
|
},
|
|
18
|
-
|
|
18
|
+
i
|
|
19
19
|
)) });
|
|
20
20
|
export {
|
|
21
21
|
o as default
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { jsxs as m, jsx as r, Fragment as a } from "react/jsx-runtime";
|
|
2
|
-
import '../../assets/Content.css';import '../../assets/MainMenu.css';import '../../assets/
|
|
2
|
+
import '../../assets/Content.css';import '../../assets/MainMenu.css';import '../../assets/Header.css';import '../../assets/Editable.css';import '../../assets/Message.css';import '../../assets/Modal.css';import '../../assets/Overlay.css';import '../../assets/Panel.css';import '../../assets/Block.css';import '../../assets/RadioLabel.css';import '../../assets/Input.css';import '../../assets/Files.css';import '../../assets/Fieldset.css';import '../../assets/Menu.css';import '../../assets/FormCol.css';import '../../assets/FormRow.css';import '../../assets/Button.css';import '../../assets/DatePicker.css';import '../../assets/Label.css';import '../../assets/RequiredMark.css';import '../../assets/TelefragLogo.css';import '../../assets/TelefragSymbol.css';import '../../assets/Popup.css';import '../../assets/PageHeader.css';/* empty css */
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-children-utilities";
|
|
5
5
|
import "react-transition-group";
|
|
6
6
|
import "react-dom";
|
|
7
7
|
/* empty css */
|
|
8
|
+
/* empty css */
|
|
9
|
+
/* empty css */
|
|
8
10
|
/* empty css */
|
|
9
11
|
/* empty css */
|
|
10
12
|
/* empty css */
|
|
@@ -24,10 +26,9 @@ import "react-dom";
|
|
|
24
26
|
import { Sidebar as n } from "../ui/sidebar/Sidebar.js";
|
|
25
27
|
/* empty css */
|
|
26
28
|
/* empty css */
|
|
27
|
-
/* empty css */
|
|
28
29
|
/* empty css */
|
|
29
30
|
/* empty css */
|
|
30
|
-
const
|
|
31
|
+
const H = ({ header: o, children: p, sidebar: i, isSidebarVisible: e = !1, onSidebarClose: t }) => /* @__PURE__ */ m("div", { className: "Page", children: [
|
|
31
32
|
o && /* @__PURE__ */ r(a, { children: o }),
|
|
32
33
|
/* @__PURE__ */ m("div", { className: i ? "PageBody" : "PageBody Wide", children: [
|
|
33
34
|
/* @__PURE__ */ r("div", { className: "PageContent", children: p }),
|
|
@@ -46,5 +47,5 @@ const G = ({ header: o, children: p, sidebar: i, isSidebarVisible: e = !1, onSid
|
|
|
46
47
|
)
|
|
47
48
|
] });
|
|
48
49
|
export {
|
|
49
|
-
|
|
50
|
+
H as default
|
|
50
51
|
};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import h from "../icons/Image.js";
|
|
3
|
-
import
|
|
3
|
+
import '../../assets/Content.css';import '../../assets/MainMenu.css';import '../../assets/Header.css';import '../../assets/Editable.css';import '../../assets/Sidebar.css';import '../../assets/Message.css';import '../../assets/Modal.css';import '../../assets/Overlay.css';import '../../assets/Panel.css';import '../../assets/Block.css';import '../../assets/RadioLabel.css';import '../../assets/Input.css';import '../../assets/Files.css';import '../../assets/Fieldset.css';import '../../assets/Menu.css';import '../../assets/FormCol.css';import '../../assets/FormRow.css';import '../../assets/DatePicker.css';import '../../assets/Label.css';import '../../assets/RequiredMark.css';import '../../assets/Popup.css';import '../../assets/PageHeader.css';import '../../assets/TelefragLogo.css';import '../../assets/TelefragSymbol.css';/* empty css */
|
|
4
|
+
/* empty css */
|
|
4
5
|
import N from "../icons/Trash.js";
|
|
5
|
-
|
|
6
|
+
/* empty css */
|
|
7
|
+
import "react";
|
|
6
8
|
import "react-children-utilities";
|
|
7
9
|
import "react-transition-group";
|
|
8
10
|
import "react-dom";
|
|
@@ -26,14 +28,13 @@ import { Button as f } from "../form/button/Button.js";
|
|
|
26
28
|
/* empty css */
|
|
27
29
|
/* empty css */
|
|
28
30
|
/* empty css */
|
|
29
|
-
/* empty css */
|
|
30
31
|
/* empty css */
|
|
31
32
|
/* empty css */
|
|
32
|
-
const
|
|
33
|
-
menu:
|
|
33
|
+
const ee = ({
|
|
34
|
+
menu: t,
|
|
34
35
|
title: u,
|
|
35
36
|
subtitle: k,
|
|
36
|
-
logo:
|
|
37
|
+
logo: d,
|
|
37
38
|
back: m,
|
|
38
39
|
admin: o,
|
|
39
40
|
square: l,
|
|
@@ -69,7 +70,7 @@ const _ = ({
|
|
|
69
70
|
/* @__PURE__ */ r("div", { className: "PageHeaderTitle one-line", children: u }),
|
|
70
71
|
/* @__PURE__ */ r("div", { className: "PageHeaderSubtitle one-line", children: k })
|
|
71
72
|
] }),
|
|
72
|
-
|
|
73
|
+
t && /* @__PURE__ */ r("div", { className: "PageHeaderMenu", children: t }),
|
|
73
74
|
P && /* @__PURE__ */ r("div", { className: "PageHeaderShowSidebar", children: /* @__PURE__ */ r(
|
|
74
75
|
f,
|
|
75
76
|
{
|
|
@@ -85,7 +86,7 @@ const _ = ({
|
|
|
85
86
|
onClick: (e) => i(e, s),
|
|
86
87
|
style: {
|
|
87
88
|
cursor: s ? "pointer" : void 0,
|
|
88
|
-
backgroundImage:
|
|
89
|
+
backgroundImage: d ? `url(${d})` : void 0,
|
|
89
90
|
borderRadius: l ? void 0 : "50%"
|
|
90
91
|
},
|
|
91
92
|
children: [
|
|
@@ -97,5 +98,5 @@ const _ = ({
|
|
|
97
98
|
] });
|
|
98
99
|
};
|
|
99
100
|
export {
|
|
100
|
-
|
|
101
|
+
ee as default
|
|
101
102
|
};
|
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
1
|
+
import { jsx as t, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect as n } from "react";
|
|
3
3
|
import { Overlay as l } from "../overlay/Overlay.js";
|
|
4
|
-
import
|
|
5
|
-
import '../../../assets/Modal.css';/* empty css
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
import m from "../../icons/Plus.js";
|
|
5
|
+
import '../../../assets/Modal.css';import '../../../assets/TelefragLogo.css';import '../../../assets/TelefragSymbol.css';/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
/* empty css */
|
|
8
|
+
const M = ({ children: a, isOpen: r, onClose: e, close: i = !0 }) => (n(() => {
|
|
9
|
+
const o = (c) => {
|
|
10
|
+
c.key === "Escape" && e();
|
|
9
11
|
};
|
|
10
|
-
return
|
|
11
|
-
|
|
12
|
+
return r && document.body.addEventListener("keydown", o), () => {
|
|
13
|
+
r && document.body.removeEventListener("keydown", o);
|
|
12
14
|
};
|
|
13
|
-
}, [
|
|
15
|
+
}, [r, e]), /* @__PURE__ */ t(
|
|
14
16
|
l,
|
|
15
17
|
{
|
|
16
|
-
isOpen:
|
|
17
|
-
onClick:
|
|
18
|
-
children: /* @__PURE__ */
|
|
19
|
-
|
|
20
|
-
o.stopPropagation(),
|
|
21
|
-
}, children: /* @__PURE__ */ t(
|
|
18
|
+
isOpen: r,
|
|
19
|
+
onClick: e,
|
|
20
|
+
children: /* @__PURE__ */ d("div", { className: "Modal", onClick: (o) => o.stopPropagation(), children: [
|
|
21
|
+
i && /* @__PURE__ */ t("div", { className: "ModalClose", onClick: (o) => {
|
|
22
|
+
o.stopPropagation(), e();
|
|
23
|
+
}, children: /* @__PURE__ */ t(m, {}) }),
|
|
22
24
|
/* @__PURE__ */ t("div", { className: "ModalInner Scrollbar", children: a })
|
|
23
25
|
] })
|
|
24
26
|
}
|
|
25
27
|
));
|
|
26
28
|
export {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
M as Modal,
|
|
30
|
+
M as default
|
|
29
31
|
};
|
|
@@ -17,17 +17,17 @@ import C from "./components/icons/ChevronLeft.js";
|
|
|
17
17
|
import u from "./components/icons/ChevronRight.js";
|
|
18
18
|
import c from "./components/icons/Clock.js";
|
|
19
19
|
import A from "./components/icons/Code.js";
|
|
20
|
-
import
|
|
21
|
-
import
|
|
20
|
+
import S from "./components/icons/CodeXml.js";
|
|
21
|
+
import k from "./components/icons/ColumnInsertAfter.js";
|
|
22
22
|
import H from "./components/icons/ColumnInsertBefore.js";
|
|
23
23
|
import I from "./components/icons/Expand.js";
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
24
|
+
import T from "./components/icons/Eye.js";
|
|
25
|
+
import b from "./components/icons/Feather.js";
|
|
26
|
+
import y from "./components/icons/Files.js";
|
|
27
|
+
import L from "./components/icons/Film.js";
|
|
28
|
+
import M from "./components/icons/FlipVertical.js";
|
|
29
|
+
import R from "./components/icons/Forum.js";
|
|
30
|
+
import w from "./components/icons/Gamepad.js";
|
|
31
31
|
import B from "./components/icons/Heading.js";
|
|
32
32
|
import F from "./components/icons/Heading1.js";
|
|
33
33
|
import v from "./components/icons/Heading2.js";
|
|
@@ -58,13 +58,14 @@ import mo from "./components/icons/Shrink.js";
|
|
|
58
58
|
import io from "./components/icons/SquareDashed.js";
|
|
59
59
|
import to from "./components/icons/Strikethrough.js";
|
|
60
60
|
import eo from "./components/icons/Table.js";
|
|
61
|
-
import fo from "./components/icons/
|
|
62
|
-
import po from "./components/icons/
|
|
63
|
-
import no from "./components/icons/
|
|
64
|
-
import lo from "./components/icons/
|
|
65
|
-
import ao from "./components/icons/
|
|
66
|
-
import go from "./components/icons/
|
|
67
|
-
|
|
61
|
+
import fo from "./components/icons/TelefragSymbol.js";
|
|
62
|
+
import po from "./components/icons/TelefragLogo.js";
|
|
63
|
+
import no from "./components/icons/Trash.js";
|
|
64
|
+
import lo from "./components/icons/Type.js";
|
|
65
|
+
import ao from "./components/icons/Underline.js";
|
|
66
|
+
import go from "./components/icons/Undo.js";
|
|
67
|
+
import so from "./components/icons/Users.js";
|
|
68
|
+
const Mr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
68
69
|
__proto__: null,
|
|
69
70
|
AlignBottom: o,
|
|
70
71
|
AlignCenter: r,
|
|
@@ -85,17 +86,17 @@ const Rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
85
86
|
ChevronRight: u,
|
|
86
87
|
Clock: c,
|
|
87
88
|
Code: A,
|
|
88
|
-
CodeXml:
|
|
89
|
-
ColumnInsertAfter:
|
|
89
|
+
CodeXml: S,
|
|
90
|
+
ColumnInsertAfter: k,
|
|
90
91
|
ColumnInsertBefore: H,
|
|
91
92
|
Expand: I,
|
|
92
|
-
Eye:
|
|
93
|
-
Feather:
|
|
94
|
-
Files:
|
|
95
|
-
Film:
|
|
96
|
-
FlipVertical:
|
|
97
|
-
Forum:
|
|
98
|
-
Gamepad:
|
|
93
|
+
Eye: T,
|
|
94
|
+
Feather: b,
|
|
95
|
+
Files: y,
|
|
96
|
+
Film: L,
|
|
97
|
+
FlipVertical: M,
|
|
98
|
+
Forum: R,
|
|
99
|
+
Gamepad: w,
|
|
99
100
|
Heading: B,
|
|
100
101
|
Heading1: F,
|
|
101
102
|
Heading2: v,
|
|
@@ -126,13 +127,14 @@ const Rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
126
127
|
SquareDashed: io,
|
|
127
128
|
Strikethrough: to,
|
|
128
129
|
Table: eo,
|
|
129
|
-
TelefragLogo:
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
TelefragLogo: po,
|
|
131
|
+
TelefragSymbol: fo,
|
|
132
|
+
Trash: no,
|
|
133
|
+
Type: lo,
|
|
134
|
+
Underline: ao,
|
|
135
|
+
Undo: go,
|
|
136
|
+
Users: so
|
|
135
137
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
136
138
|
export {
|
|
137
|
-
|
|
139
|
+
Mr as i
|
|
138
140
|
};
|
package/dist/main.js
CHANGED
|
@@ -32,7 +32,7 @@ import { default as po } from "./components/ui/editable/Editable.js";
|
|
|
32
32
|
import { default as lo } from "./components/layout/Layout.js";
|
|
33
33
|
import { default as uo } from "./components/layout/Page.js";
|
|
34
34
|
import { default as no } from "./components/layout/PageHeader.js";
|
|
35
|
-
import { i as co } from "./index-
|
|
35
|
+
import { i as co } from "./index-D12KbdVs.js";
|
|
36
36
|
export {
|
|
37
37
|
$ as Alert,
|
|
38
38
|
q as Block,
|
package/package.json
CHANGED