triafly-ui-kit 1.0.22 → 1.0.24
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/DatePicker.css +1 -0
- package/dist/components/Ui/DatePicker/DatePicker.js +175 -0
- package/dist/components/Ui/DatePicker/DatePicker.stories.js +114 -0
- package/dist/components/Ui/DatePicker/index.js +4 -0
- package/dist/main.d.ts +14 -0
- package/dist/main.js +149 -147
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
.datepicker{position:relative;width:160px;font-family:Arial,sans-serif}.datepicker .native-input{position:absolute;opacity:0;pointer-events:none;height:0;width:0}.datepicker-input{display:flex;align-items:center;gap:8px;height:44px;padding:8px;border:1px solid var(--color-border-primary-default);border-radius:8px;background-color:var(--color-bg-neutral-basic-default);cursor:pointer;transition:border-color .2s}.datepicker-input:hover{border-color:#9ca3af}.datepicker-input .calendar-icon{color:#6b7280}.datepicker-input .placeholder{color:#6b7280;margin:0 auto 0 0}.datepicker-input .placeholder:not(:empty){color:#111827}.datepicker-input .caret *{fill:var(--color-icon-secondary-default)}.datepicker-calendar{position:absolute;top:100%;left:0;z-index:100;padding:16px;background-color:var(--color-bg-neutral-basic-default);border-radius:8px;border:1px solid var(--color-border-primary-default)}.datepicker-calendar .calendar-controls{display:flex;justify-content:space-between;margin-bottom:16px}.datepicker-calendar .month-control,.datepicker-calendar .year-control{display:flex;align-items:center;justify-content:space-between}.datepicker-calendar .month-control{width:160px}.datepicker-calendar .year-control{width:99px}.datepicker-calendar .current-month,.datepicker-calendar .current-year{min-width:60px;text-align:center;font-weight:600}.datepicker-calendar .nav-button{display:flex;align-items:center;justify-content:center;border:none;background-color:transparent;cursor:pointer;transition:background-color .2s}.datepicker-calendar .calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:8px;text-align:center;font-size:12px;color:#6b7280}.datepicker-calendar .calendar-weekdays .weekday{font-weight:600}.datepicker-calendar .calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.datepicker-calendar .calendar-days .day{display:flex;align-items:center;justify-content:center;height:40px;width:40px;cursor:pointer;font-size:14px;flex-direction:column;border-radius:4px}.datepicker-calendar .calendar-days .day:hover{background-color:var(--color-bg-neutral-light-default)}.datepicker-calendar .calendar-days .day.selected{background-color:#3b82f6;color:#fff}.datepicker-calendar .calendar-days .day.disabled{color:#d1d5db;pointer-events:none}.datepicker-calendar .calendar-days .day.other-month{color:#9ca3af;opacity:.7}.datepicker-calendar .calendar-days .day.today{position:relative}.datepicker-calendar .calendar-days .day.today:after{content:"";display:block;position:absolute;width:5px;height:5px;border-radius:50%;background-color:var(--color-bg-brand-default);bottom:4px}.datepicker-calendar .calendar-days .day.today.selected:after{background-color:var(--color-bg-neutral-basic-default)}
|
@@ -0,0 +1,175 @@
|
|
1
|
+
import { jsxs as i, jsx as n } from "react/jsx-runtime";
|
2
|
+
import { useState as w, useRef as $, useEffect as N } from "react";
|
3
|
+
import { IconCalendarBlank as A, IconCaretUpDown as G, IconCaretLeft as I, IconCaretRight as S } from "../Icons/Icons.js";
|
4
|
+
import '../../../assets/DatePicker.css';const H = [
|
5
|
+
"Январь",
|
6
|
+
"Февраль",
|
7
|
+
"Март",
|
8
|
+
"Апрель",
|
9
|
+
"Май",
|
10
|
+
"Июнь",
|
11
|
+
"Июль",
|
12
|
+
"Август",
|
13
|
+
"Сентябрь",
|
14
|
+
"Октябрь",
|
15
|
+
"Ноябрь",
|
16
|
+
"Декабрь"
|
17
|
+
], X = ({
|
18
|
+
name: O = "date",
|
19
|
+
value: r = null,
|
20
|
+
onChange: x = () => {
|
21
|
+
},
|
22
|
+
placeholder: L = "Любая дата",
|
23
|
+
className: R = "",
|
24
|
+
inputClassName: T = "",
|
25
|
+
calendarClassName: E = "",
|
26
|
+
minDate: M,
|
27
|
+
maxDate: v
|
28
|
+
}) => {
|
29
|
+
const [c, k] = w(r), [d, u] = w(r ? new Date(r) : /* @__PURE__ */ new Date()), [F, g] = w(!1), m = $(null), D = $(null), j = (t) => {
|
30
|
+
const o = t.getDate(), e = t.getMonth() + 1, p = t.getFullYear();
|
31
|
+
return `${o}-${e < 10 ? "0" + e : e}-${p}`;
|
32
|
+
};
|
33
|
+
N(() => {
|
34
|
+
k(r), r && u(new Date(r));
|
35
|
+
}, [r]), N(() => {
|
36
|
+
D.current && (D.current.value = c ? c.toISOString().split("T")[0] : "");
|
37
|
+
}, [c]), N(() => {
|
38
|
+
const t = (o) => {
|
39
|
+
m.current && !m.current.contains(o.target) && g(!1);
|
40
|
+
};
|
41
|
+
return document.addEventListener("mousedown", t), () => document.removeEventListener("mousedown", t);
|
42
|
+
}, []);
|
43
|
+
const y = (t, o = 0) => {
|
44
|
+
const e = new Date(
|
45
|
+
d.getFullYear(),
|
46
|
+
d.getMonth() + o,
|
47
|
+
t
|
48
|
+
);
|
49
|
+
k(e), x(e), u(new Date(e)), g(!1);
|
50
|
+
}, Y = (t) => {
|
51
|
+
u((o) => {
|
52
|
+
const e = new Date(o);
|
53
|
+
return e.setMonth(e.getMonth() + t), e;
|
54
|
+
});
|
55
|
+
}, b = (t) => {
|
56
|
+
u((o) => {
|
57
|
+
const e = new Date(o);
|
58
|
+
return e.setFullYear(e.getFullYear() + t), e;
|
59
|
+
});
|
60
|
+
}, P = () => {
|
61
|
+
const t = d.getFullYear(), o = d.getMonth(), e = /* @__PURE__ */ new Date(), p = new Date(t, o, 1), B = new Date(t, o + 1, 0).getDate(), U = p.getDay() || 7, W = new Date(t, o, 0).getDate(), q = U - 1, h = [];
|
62
|
+
for (let a = q; a > 0; a--) {
|
63
|
+
const s = W - a + 1, l = new Date(t, o - 1, s), f = l.getDate() === e.getDate() && l.getMonth() === e.getMonth() && l.getFullYear() === e.getFullYear();
|
64
|
+
h.push(
|
65
|
+
/* @__PURE__ */ n(
|
66
|
+
"div",
|
67
|
+
{
|
68
|
+
className: `day other-month ${f ? "today" : ""}`,
|
69
|
+
onClick: () => y(s, -1),
|
70
|
+
children: s
|
71
|
+
},
|
72
|
+
`prev-${s}`
|
73
|
+
)
|
74
|
+
);
|
75
|
+
}
|
76
|
+
for (let a = 1; a <= B; a++) {
|
77
|
+
const s = new Date(t, o, a), l = c && s.getDate() === c.getDate() && s.getMonth() === c.getMonth() && s.getFullYear() === c.getFullYear(), f = s.getDate() === e.getDate() && s.getMonth() === e.getMonth() && s.getFullYear() === e.getFullYear(), C = M && s < M || v && s > v;
|
78
|
+
h.push(
|
79
|
+
/* @__PURE__ */ n(
|
80
|
+
"div",
|
81
|
+
{
|
82
|
+
className: `day ${l ? "selected" : ""} ${C ? "disabled" : ""} ${f ? "today" : ""}`,
|
83
|
+
onClick: () => !C && y(a),
|
84
|
+
children: a
|
85
|
+
},
|
86
|
+
`current-${a}`
|
87
|
+
)
|
88
|
+
);
|
89
|
+
}
|
90
|
+
const z = 42 - h.length;
|
91
|
+
for (let a = 1; a <= z; a++) {
|
92
|
+
const s = new Date(t, o + 1, a), l = s.getDate() === e.getDate() && s.getMonth() === e.getMonth() && s.getFullYear() === e.getFullYear();
|
93
|
+
h.push(
|
94
|
+
/* @__PURE__ */ n(
|
95
|
+
"div",
|
96
|
+
{
|
97
|
+
className: `day other-month ${l ? "today" : ""}`,
|
98
|
+
onClick: () => y(a, 1),
|
99
|
+
children: a
|
100
|
+
},
|
101
|
+
`next-${a}`
|
102
|
+
)
|
103
|
+
);
|
104
|
+
}
|
105
|
+
return h;
|
106
|
+
};
|
107
|
+
return /* @__PURE__ */ i("div", { className: `datepicker ${R}`, ref: m, children: [
|
108
|
+
/* @__PURE__ */ n(
|
109
|
+
"input",
|
110
|
+
{
|
111
|
+
type: "date",
|
112
|
+
ref: D,
|
113
|
+
name: O,
|
114
|
+
className: "native-input",
|
115
|
+
"aria-hidden": "true"
|
116
|
+
}
|
117
|
+
),
|
118
|
+
/* @__PURE__ */ i("div", { className: `datepicker-input ${T}`, onClick: () => g(!F), children: [
|
119
|
+
/* @__PURE__ */ n(A, {}),
|
120
|
+
/* @__PURE__ */ n("span", { className: "placeholder", children: c ? j(c) : L }),
|
121
|
+
/* @__PURE__ */ n(G, { className: "caret" })
|
122
|
+
] }),
|
123
|
+
F && /* @__PURE__ */ i("div", { className: `datepicker-calendar ${E}`, children: [
|
124
|
+
/* @__PURE__ */ i("div", { className: "calendar-controls", children: [
|
125
|
+
/* @__PURE__ */ i("div", { className: "month-control", children: [
|
126
|
+
/* @__PURE__ */ n(
|
127
|
+
"button",
|
128
|
+
{
|
129
|
+
className: "nav-button",
|
130
|
+
onClick: () => Y(-1),
|
131
|
+
"aria-label": "Предыдущий месяц",
|
132
|
+
children: /* @__PURE__ */ n(I, {})
|
133
|
+
}
|
134
|
+
),
|
135
|
+
/* @__PURE__ */ n("span", { className: "current-month", children: H[d.getMonth()] }),
|
136
|
+
/* @__PURE__ */ n(
|
137
|
+
"button",
|
138
|
+
{
|
139
|
+
className: "nav-button",
|
140
|
+
onClick: () => Y(1),
|
141
|
+
"aria-label": "Следующий месяц",
|
142
|
+
children: /* @__PURE__ */ n(S, {})
|
143
|
+
}
|
144
|
+
)
|
145
|
+
] }),
|
146
|
+
/* @__PURE__ */ i("div", { className: "year-control", children: [
|
147
|
+
/* @__PURE__ */ n(
|
148
|
+
"button",
|
149
|
+
{
|
150
|
+
className: "nav-button",
|
151
|
+
onClick: () => b(-1),
|
152
|
+
"aria-label": "Предыдущий год",
|
153
|
+
children: /* @__PURE__ */ n(I, {})
|
154
|
+
}
|
155
|
+
),
|
156
|
+
/* @__PURE__ */ n("span", { className: "current-year", children: d.getFullYear() }),
|
157
|
+
/* @__PURE__ */ n(
|
158
|
+
"button",
|
159
|
+
{
|
160
|
+
className: "nav-button",
|
161
|
+
onClick: () => b(1),
|
162
|
+
"aria-label": "Следующий год",
|
163
|
+
children: /* @__PURE__ */ n(S, {})
|
164
|
+
}
|
165
|
+
)
|
166
|
+
] })
|
167
|
+
] }),
|
168
|
+
/* @__PURE__ */ n("div", { className: "calendar-weekdays", children: ["Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"].map((t) => /* @__PURE__ */ n("div", { className: "weekday", children: t }, t)) }),
|
169
|
+
/* @__PURE__ */ n("div", { className: "calendar-days", children: P() })
|
170
|
+
] })
|
171
|
+
] });
|
172
|
+
};
|
173
|
+
export {
|
174
|
+
X as DatePicker
|
175
|
+
};
|
@@ -0,0 +1,114 @@
|
|
1
|
+
import { jsxs as a, jsx as e } from "react/jsx-runtime";
|
2
|
+
import l from "react";
|
3
|
+
import { DatePicker as r } from "./DatePicker.js";
|
4
|
+
const m = {
|
5
|
+
title: "UIKit/DatePicker",
|
6
|
+
component: r,
|
7
|
+
tags: ["autodocs"],
|
8
|
+
argTypes: {
|
9
|
+
value: {
|
10
|
+
control: "date",
|
11
|
+
description: "Выбранная дата (timestamp)"
|
12
|
+
},
|
13
|
+
onChange: {
|
14
|
+
action: "dateChanged",
|
15
|
+
description: "Обработчик изменения даты"
|
16
|
+
},
|
17
|
+
className: {
|
18
|
+
control: "text",
|
19
|
+
description: "Класс для основного контейнера"
|
20
|
+
},
|
21
|
+
inputClassName: {
|
22
|
+
control: "text",
|
23
|
+
description: "Класс для кастомного инпута"
|
24
|
+
},
|
25
|
+
calendarClassName: {
|
26
|
+
control: "text",
|
27
|
+
description: "Класс для календаря"
|
28
|
+
},
|
29
|
+
placeholder: {
|
30
|
+
control: "text",
|
31
|
+
description: "Текст плейсхолдера"
|
32
|
+
},
|
33
|
+
minDate: {
|
34
|
+
control: "date",
|
35
|
+
description: "Минимальная доступная дата"
|
36
|
+
},
|
37
|
+
maxDate: {
|
38
|
+
control: "date",
|
39
|
+
description: "Максимальная доступная дата"
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}, u = {
|
43
|
+
args: {
|
44
|
+
placeholder: "Любая дата"
|
45
|
+
}
|
46
|
+
}, x = {
|
47
|
+
args: {
|
48
|
+
value: new Date(2023, 5, 15),
|
49
|
+
placeholder: "Выберите дату"
|
50
|
+
}
|
51
|
+
}, h = {
|
52
|
+
args: {
|
53
|
+
minDate: new Date(2023, 0, 1),
|
54
|
+
maxDate: new Date(2023, 11, 31)
|
55
|
+
}
|
56
|
+
}, g = {
|
57
|
+
args: {
|
58
|
+
inputClassName: "custom-input",
|
59
|
+
calendarClassName: "custom-calendar"
|
60
|
+
},
|
61
|
+
decorators: [
|
62
|
+
(o) => /* @__PURE__ */ a("div", { children: [
|
63
|
+
/* @__PURE__ */ e("style", { children: `
|
64
|
+
.custom-input {
|
65
|
+
border: 2px solid #6366f1;
|
66
|
+
background-color: #f0f0ff;
|
67
|
+
padding: 12px;
|
68
|
+
border-radius: 8px;
|
69
|
+
}
|
70
|
+
.custom-calendar {
|
71
|
+
border: 2px solid #6366f1;
|
72
|
+
box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
|
73
|
+
}
|
74
|
+
.custom-calendar .day.selected {
|
75
|
+
background-color: #6366f1;
|
76
|
+
}
|
77
|
+
` }),
|
78
|
+
/* @__PURE__ */ e(o, {})
|
79
|
+
] })
|
80
|
+
]
|
81
|
+
}, D = {
|
82
|
+
render: function() {
|
83
|
+
const [t, n] = l.useState(null);
|
84
|
+
return /* @__PURE__ */ a("div", { style: { maxWidth: "300px" }, children: [
|
85
|
+
/* @__PURE__ */ e(r, { value: t, onChange: n, placeholder: "Контролируемый выбор" }),
|
86
|
+
/* @__PURE__ */ a("div", { style: { marginTop: "16px", fontSize: "14px" }, children: [
|
87
|
+
"Выбрано: ",
|
88
|
+
t ? t.toLocaleDateString("ru-RU") : "дата не выбрана"
|
89
|
+
] })
|
90
|
+
] });
|
91
|
+
}
|
92
|
+
}, f = {
|
93
|
+
render: function() {
|
94
|
+
const [t, n] = l.useState(null);
|
95
|
+
return /* @__PURE__ */ a("form", { onSubmit: (i) => {
|
96
|
+
i.preventDefault(), alert(`Выбрана дата: ${t == null ? void 0 : t.toLocaleDateString("ru-RU")}`);
|
97
|
+
}, style: { maxWidth: "300px" }, children: [
|
98
|
+
/* @__PURE__ */ a("div", { style: { marginBottom: "16px" }, children: [
|
99
|
+
/* @__PURE__ */ e("label", { style: { display: "block", marginBottom: "4px" }, children: "Дата события:" }),
|
100
|
+
/* @__PURE__ */ e(r, { name: "eventDate", value: t, onChange: n })
|
101
|
+
] }),
|
102
|
+
/* @__PURE__ */ e("button", { type: "submit", children: "Отправить" })
|
103
|
+
] });
|
104
|
+
}
|
105
|
+
};
|
106
|
+
export {
|
107
|
+
D as Controlled,
|
108
|
+
g as CustomStyled,
|
109
|
+
u as Default,
|
110
|
+
f as InForm,
|
111
|
+
h as WithDateRange,
|
112
|
+
x as WithInitialDate,
|
113
|
+
m as default
|
114
|
+
};
|
package/dist/main.d.ts
CHANGED
@@ -132,6 +132,20 @@ export declare type Column<T extends object = Record<string, unknown>> = {
|
|
132
132
|
|
133
133
|
export declare const CustomLink: default_2.FC<LinkProps>;
|
134
134
|
|
135
|
+
export declare const DatePicker: default_2.FC<DatePickerProps>;
|
136
|
+
|
137
|
+
declare interface DatePickerProps {
|
138
|
+
name?: string;
|
139
|
+
value?: Date | null;
|
140
|
+
onChange?: (date: Date | null) => void;
|
141
|
+
placeholder?: string;
|
142
|
+
className?: string;
|
143
|
+
inputClassName?: string;
|
144
|
+
calendarClassName?: string;
|
145
|
+
minDate?: Date;
|
146
|
+
maxDate?: Date;
|
147
|
+
}
|
148
|
+
|
135
149
|
export declare const DropdownInput: default_2.FC<DropdownInputProps>;
|
136
150
|
|
137
151
|
declare type DropdownInputProps = {
|
package/dist/main.js
CHANGED
@@ -3,160 +3,162 @@ import { Alert as I } from "./components/Ui/Alert/Alert.js";
|
|
3
3
|
import { Avatar as i } from "./components/Ui/Avatar/Avatar.js";
|
4
4
|
import { ModalWindow as p } from "./components/Ui/ModalWindow/ModalWindow.js";
|
5
5
|
import { Badge as f } from "./components/Ui/Badge/Badge.js";
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
6
|
+
import { DatePicker as x } from "./components/Ui/DatePicker/DatePicker.js";
|
7
|
+
import { Button as u } from "./components/Ui/Button/Button.js";
|
8
|
+
import { ButtonsArray as C } from "./components/Ui/ButtonsArray/ButtonsArray.js";
|
9
|
+
import { Checkbox as h } from "./components/Ui/Checkbox/Checkbox.js";
|
10
|
+
import { CliTextareaInput as T } from "./components/Ui/CliTextareaInput/CliTextareaInput.js";
|
10
11
|
import "react";
|
11
|
-
import { CustomLink as
|
12
|
-
import { DropdownInput as
|
13
|
-
import { DropdownMenu as
|
14
|
-
import { FileUpload as
|
15
|
-
import { Form as
|
16
|
-
import { useForm as
|
17
|
-
import { Loader as
|
18
|
-
import { Pagination as
|
19
|
-
import { Radio as
|
20
|
-
import { SearchInput as
|
21
|
-
import { Skeleton as
|
22
|
-
import { Switch as
|
23
|
-
import { Table as
|
24
|
-
import { TextInput as
|
25
|
-
import { TextareaInput as
|
26
|
-
import { Tooltip as
|
27
|
-
import { Tabs as
|
28
|
-
import { IconArrowBendUpRight as
|
29
|
-
import { ToastProvider as
|
30
|
-
import { TriaflyContext as
|
31
|
-
import { useBreakpointValueTriafly as
|
32
|
-
import { useThemeLogic as
|
33
|
-
import { useModalState as
|
12
|
+
import { CustomLink as A } from "./components/Ui/CustomLink/CustomLink.js";
|
13
|
+
import { DropdownInput as D } from "./components/Ui/DropdownInput/DropdownInput.js";
|
14
|
+
import { DropdownMenu as P } from "./components/Ui/DropdownMenu/DropdownMenu.js";
|
15
|
+
import { FileUpload as U } from "./components/Ui/FileUpload/FileUpload.js";
|
16
|
+
import { Form as F } from "./components/Ui/Form/FormRoot/FormRoot.js";
|
17
|
+
import { useForm as v } from "./components/Ui/Form/useForm/useForm.js";
|
18
|
+
import { Loader as X } from "./components/Ui/Loader/Loader.js";
|
19
|
+
import { Pagination as H } from "./components/Ui/Pagination/Pagination.js";
|
20
|
+
import { Radio as O } from "./components/Ui/Radio/Radio.js";
|
21
|
+
import { SearchInput as E } from "./components/Ui/SearchInput/SearchInput.js";
|
22
|
+
import { Skeleton as W } from "./components/Ui/Skeleton/Skeleton.js";
|
23
|
+
import { Switch as z } from "./components/Ui/Switch/Switch.js";
|
24
|
+
import { Table as Y } from "./components/Ui/Table/Table.js";
|
25
|
+
import { TextInput as q } from "./components/Ui/TextInput/TextInput.js";
|
26
|
+
import { TextareaInput as Z } from "./components/Ui/TextareaInput/TextareaInput.js";
|
27
|
+
import { Tooltip as $ } from "./components/Ui/Tooltip/Tooltip.js";
|
28
|
+
import { Tabs as no } from "./components/Ui/Tabs/Tabs.js";
|
29
|
+
import { IconArrowBendUpRight as eo, IconArrowClockwise as co, IconArrowDown as Io, IconArrowLeft as to, IconArrowLineDown as io, IconArrowLineLeft as ao, IconArrowLineRight as po, IconArrowLineUp as lo, IconArrowRight as fo, IconArrowUp as mo, IconArrowsOut as xo, IconArticle as so, IconAt as uo, IconBellSimple as Co, IconBookOpenText as wo, IconCalendarBlank as ho, IconCaretDown as So, IconCaretLeft as To, IconCaretRight as go, IconCaretUp as Ao, IconCaretUpDown as ko, IconChartPieSlice as Do, IconChatText as Lo, IconCheck as Po, IconCheckCircle as yo, IconChecks as Uo, IconCircleNotch as Bo, IconCopy as Fo, IconCornersOut as Mo, IconCsv as vo, IconCube as Ro, IconDatabase as Xo, IconDotsNine as bo, IconDotsThreeVertical as Ho, IconExport as No, IconEye as Oo, IconEyeSlash as Qo, IconFile as Eo, IconFiles as Go, IconFloppyDisk as Wo, IconFolderSimple as Vo, IconFolderSimpleX as zo, IconFunnel as Jo, IconGauge as Yo, IconGear as jo, IconGoogleDrive as qo, IconHand as Ko, IconHeadCircuit as Zo, IconHouse as _o, IconIcon as $o, IconInfo as on, IconJoin as nn, IconLanguage as rn, IconLink as en, IconList as cn, IconLock as In, IconLockOpen as tn, IconMariaDB as an, IconMinus as pn, IconMongoDB as ln, IconMoon as fn, IconMySQL as mn, IconNavigationArrow as xn, IconNotePencil as sn, IconPassword as un, IconPen as dn, IconPlay as Cn, IconPlugsX as wn, IconPlus as hn, IconPorsgteSQL as Sn, IconPresentationChart as Tn, IconQuestion as gn, IconQuestionFullfilled as An, IconRedo as kn, IconRoleX as Dn, IconSearch as Ln, IconSearchX as Pn, IconSelection as yn, IconServer as Un, IconSlidersHorizontal as Bn, IconSticker as Fn, IconSun as Mn, IconThreeDot as vn, IconTrash as Rn, IconTriangleDown as Xn, IconTriangleUp as bn, IconUndo as Hn, IconUploadSimple as Nn, IconUser as On, IconUserX as Qn, IconWarningCircle as En, IconWrench as Gn, IconX as Wn, IconYandexDisk as Vn } from "./components/Ui/Icons/Icons.js";
|
30
|
+
import { ToastProvider as Jn } from "./context/ToastContext/ToastContext.js";
|
31
|
+
import { TriaflyContext as jn, TriaflyProvider as qn, useTriafly as Kn } from "./context/TriaflyContext/TriaflyProvider.js";
|
32
|
+
import { useBreakpointValueTriafly as _n } from "./context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.js";
|
33
|
+
import { useThemeLogic as or } from "./context/TriaflyContext/hooks/useTheme/useTheme.js";
|
34
|
+
import { useModalState as rr } from "./context/TriaflyContext/hooks/useModal/useModal.js";
|
34
35
|
export {
|
35
36
|
e as Accordeon,
|
36
37
|
I as Alert,
|
37
38
|
i as Avatar,
|
38
39
|
f as Badge,
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
P as
|
47
|
-
U as
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
40
|
+
u as Button,
|
41
|
+
C as ButtonsArray,
|
42
|
+
h as Checkbox,
|
43
|
+
T as CliTextareaInput,
|
44
|
+
A as CustomLink,
|
45
|
+
x as DatePicker,
|
46
|
+
D as DropdownInput,
|
47
|
+
P as DropdownMenu,
|
48
|
+
U as FileUpload,
|
49
|
+
F as Form,
|
50
|
+
eo as IconArrowBendUpRight,
|
51
|
+
co as IconArrowClockwise,
|
52
|
+
Io as IconArrowDown,
|
53
|
+
to as IconArrowLeft,
|
54
|
+
io as IconArrowLineDown,
|
55
|
+
ao as IconArrowLineLeft,
|
56
|
+
po as IconArrowLineRight,
|
57
|
+
lo as IconArrowLineUp,
|
58
|
+
fo as IconArrowRight,
|
59
|
+
mo as IconArrowUp,
|
60
|
+
xo as IconArrowsOut,
|
61
|
+
so as IconArticle,
|
62
|
+
uo as IconAt,
|
63
|
+
Co as IconBellSimple,
|
64
|
+
wo as IconBookOpenText,
|
65
|
+
ho as IconCalendarBlank,
|
66
|
+
So as IconCaretDown,
|
67
|
+
To as IconCaretLeft,
|
68
|
+
go as IconCaretRight,
|
69
|
+
Ao as IconCaretUp,
|
70
|
+
ko as IconCaretUpDown,
|
71
|
+
Do as IconChartPieSlice,
|
70
72
|
Lo as IconChatText,
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
73
|
+
Po as IconCheck,
|
74
|
+
yo as IconCheckCircle,
|
75
|
+
Uo as IconChecks,
|
76
|
+
Bo as IconCircleNotch,
|
77
|
+
Fo as IconCopy,
|
78
|
+
Mo as IconCornersOut,
|
79
|
+
vo as IconCsv,
|
80
|
+
Ro as IconCube,
|
81
|
+
Xo as IconDatabase,
|
82
|
+
bo as IconDotsNine,
|
83
|
+
Ho as IconDotsThreeVertical,
|
84
|
+
No as IconExport,
|
85
|
+
Oo as IconEye,
|
86
|
+
Qo as IconEyeSlash,
|
87
|
+
Eo as IconFile,
|
88
|
+
Go as IconFiles,
|
89
|
+
Wo as IconFloppyDisk,
|
90
|
+
Vo as IconFolderSimple,
|
91
|
+
zo as IconFolderSimpleX,
|
92
|
+
Jo as IconFunnel,
|
93
|
+
Yo as IconGauge,
|
94
|
+
jo as IconGear,
|
95
|
+
qo as IconGoogleDrive,
|
96
|
+
Ko as IconHand,
|
97
|
+
Zo as IconHeadCircuit,
|
98
|
+
_o as IconHouse,
|
99
|
+
$o as IconIcon,
|
100
|
+
on as IconInfo,
|
101
|
+
nn as IconJoin,
|
102
|
+
rn as IconLanguage,
|
103
|
+
en as IconLink,
|
104
|
+
cn as IconList,
|
105
|
+
In as IconLock,
|
106
|
+
tn as IconLockOpen,
|
107
|
+
an as IconMariaDB,
|
108
|
+
pn as IconMinus,
|
109
|
+
ln as IconMongoDB,
|
110
|
+
fn as IconMoon,
|
111
|
+
mn as IconMySQL,
|
112
|
+
xn as IconNavigationArrow,
|
113
|
+
sn as IconNotePencil,
|
114
|
+
un as IconPassword,
|
115
|
+
dn as IconPen,
|
116
|
+
Cn as IconPlay,
|
117
|
+
wn as IconPlugsX,
|
118
|
+
hn as IconPlus,
|
119
|
+
Sn as IconPorsgteSQL,
|
120
|
+
Tn as IconPresentationChart,
|
121
|
+
gn as IconQuestion,
|
122
|
+
An as IconQuestionFullfilled,
|
123
|
+
kn as IconRedo,
|
124
|
+
Dn as IconRoleX,
|
123
125
|
Ln as IconSearch,
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
126
|
+
Pn as IconSearchX,
|
127
|
+
yn as IconSelection,
|
128
|
+
Un as IconServer,
|
129
|
+
Bn as IconSlidersHorizontal,
|
130
|
+
Fn as IconSticker,
|
131
|
+
Mn as IconSun,
|
132
|
+
vn as IconThreeDot,
|
133
|
+
Rn as IconTrash,
|
134
|
+
Xn as IconTriangleDown,
|
135
|
+
bn as IconTriangleUp,
|
136
|
+
Hn as IconUndo,
|
137
|
+
Nn as IconUploadSimple,
|
138
|
+
On as IconUser,
|
139
|
+
Qn as IconUserX,
|
140
|
+
En as IconWarningCircle,
|
141
|
+
Gn as IconWrench,
|
142
|
+
Wn as IconX,
|
143
|
+
Vn as IconYandexDisk,
|
144
|
+
X as Loader,
|
143
145
|
p as ModalWindow,
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
146
|
+
H as Pagination,
|
147
|
+
O as Radio,
|
148
|
+
E as SearchInput,
|
149
|
+
W as Skeleton,
|
150
|
+
z as Switch,
|
151
|
+
Y as Table,
|
152
|
+
no as Tabs,
|
153
|
+
q as TextInput,
|
154
|
+
Z as TextareaInput,
|
155
|
+
Jn as ToastProvider,
|
156
|
+
$ as Tooltip,
|
157
|
+
jn as TriaflyContext,
|
158
|
+
qn as TriaflyProvider,
|
159
|
+
_n as useBreakpointValueTriafly,
|
160
|
+
v as useForm,
|
161
|
+
rr as useModalState,
|
162
|
+
or as useThemeLogic,
|
163
|
+
Kn as useTriafly
|
162
164
|
};
|