triafly-ui-kit 1.0.22 → 1.0.23
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/README.md +93 -93
- package/package.json +106 -106
- package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
- package/dist/assets/Accordeon.css +0 -1
- package/dist/assets/Alert.css +0 -1
- package/dist/assets/Avatar.css +0 -1
- package/dist/assets/Badge.css +0 -1
- package/dist/assets/Button.css +0 -1
- package/dist/assets/ButtonsArray.css +0 -1
- package/dist/assets/Checkbox.css +0 -1
- package/dist/assets/CliTextareaInput.css +0 -1
- package/dist/assets/CustomLink.css +0 -1
- package/dist/assets/DropdownInput.css +0 -1
- package/dist/assets/DropdownMenu.css +0 -1
- package/dist/assets/FileUpload.css +0 -1
- package/dist/assets/FormRoot.css +0 -1
- package/dist/assets/Loader.css +0 -1
- package/dist/assets/ModalWindow.css +0 -1
- package/dist/assets/Pagination.css +0 -1
- package/dist/assets/Radio.css +0 -1
- package/dist/assets/SearchInput.css +0 -1
- package/dist/assets/Skeleton.css +0 -1
- package/dist/assets/Switch.css +0 -1
- package/dist/assets/Table.css +0 -1
- package/dist/assets/Tabs.css +0 -1
- package/dist/assets/TextInput.css +0 -1
- package/dist/assets/TextareaInput.css +0 -1
- package/dist/assets/ToastContext.css +0 -1
- package/dist/assets/Tooltip.css +0 -1
- package/dist/assets/Tooltip2.css +0 -1
- package/dist/assets/fonts/FiraCode-Regular.ttf +0 -0
- package/dist/assets/fonts/Manrope-Bold.ttf +0 -0
- package/dist/assets/fonts/Manrope-Regular.ttf +0 -0
- package/dist/assets/fonts/Manrope-SemiBold.ttf +0 -0
- package/dist/assets/fonts/RobotoSlab-SemiBold.ttf +0 -0
- package/dist/components/Ui/Accordeon/Accordeon.js +0 -33
- package/dist/components/Ui/Accordeon/Accordeon.stories.js +0 -72
- package/dist/components/Ui/Accordeon/index.js +0 -4
- package/dist/components/Ui/Alert/Alert.js +0 -14
- package/dist/components/Ui/Alert/index.js +0 -4
- package/dist/components/Ui/Avatar/Avatar.js +0 -10
- package/dist/components/Ui/Avatar/index.js +0 -4
- package/dist/components/Ui/Badge/Badge.js +0 -43
- package/dist/components/Ui/Badge/index.js +0 -4
- package/dist/components/Ui/Button/Button.js +0 -49
- package/dist/components/Ui/Button/index.js +0 -4
- package/dist/components/Ui/ButtonsArray/ButtonsArray.js +0 -28
- package/dist/components/Ui/ButtonsArray/ButtonsArray.stories.js +0 -78
- package/dist/components/Ui/ButtonsArray/index.js +0 -4
- package/dist/components/Ui/Checkbox/Checkbox.js +0 -39
- package/dist/components/Ui/Checkbox/Checkbox.stories.js +0 -120
- package/dist/components/Ui/Checkbox/index.js +0 -4
- package/dist/components/Ui/CliTextareaInput/CliTextareaInput.js +0 -121
- package/dist/components/Ui/CliTextareaInput/index.js +0 -23
- package/dist/components/Ui/CliTextareaInput/utils/escapeHtml/escapeHtml.js +0 -4
- package/dist/components/Ui/CliTextareaInput/utils/fixJson/fixJson.js +0 -12
- package/dist/components/Ui/CliTextareaInput/utils/highlightSyntax/highlightSyntax.js +0 -20
- package/dist/components/Ui/CliTextareaInput/utils/highlightSyntax/index.js +0 -4
- package/dist/components/Ui/CliTextareaInput/utils/hooks/index.js +0 -17
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useFixFormat/index.js +0 -4
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useFixFormat/useFixFormat.js +0 -29
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useHistoryNavigation/index.js +0 -4
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useHistoryNavigation/useHistoryNavigation.js +0 -34
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useKeyHandlers/index.js +0 -4
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useKeyHandlers/useKeyHandlers.js +0 -45
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useLineNumbers/index.js +0 -5
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useLineNumbers/useLineNumbers.js +0 -17
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useScrollSync/index.js +0 -4
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useScrollSync/useScrollSync.js +0 -13
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextActions/index.js +0 -4
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextActions/useTextActions.js +0 -37
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextCoursore/index.js +0 -4
- package/dist/components/Ui/CliTextareaInput/utils/hooks/useTextCoursore/useTextCoursore.js +0 -14
- package/dist/components/Ui/CliTextareaInput/utils/index.js +0 -21
- package/dist/components/Ui/CliTextareaInput/utils/processJson/index.js +0 -4
- package/dist/components/Ui/CliTextareaInput/utils/processJson/processJson.js +0 -11
- package/dist/components/Ui/CliTextareaInput/utils/processXml/processXml.js +0 -8
- package/dist/components/Ui/CliTextareaInput/utils/processYml/processYml.js +0 -27
- package/dist/components/Ui/CliTextareaInput/utils/types.js +0 -1
- package/dist/components/Ui/CustomLink/CustomLink.js +0 -49
- package/dist/components/Ui/CustomLink/index.js +0 -4
- package/dist/components/Ui/DropdownInput/DropdownInput.js +0 -91
- package/dist/components/Ui/DropdownInput/DropdownInput.stories.js +0 -77
- package/dist/components/Ui/DropdownInput/index.js +0 -4
- package/dist/components/Ui/DropdownMenu/DropdownMenu.js +0 -83
- package/dist/components/Ui/DropdownMenu/DropdownMenu.stories.js +0 -50
- package/dist/components/Ui/DropdownMenu/index.js +0 -4
- package/dist/components/Ui/FileUpload/FileUpload.js +0 -615
- package/dist/components/Ui/FileUpload/fn.js +0 -10
- package/dist/components/Ui/FileUpload/index.js +0 -4
- package/dist/components/Ui/FileUpload/types.js +0 -1
- package/dist/components/Ui/Form/FormContext/FormContext.js +0 -5
- package/dist/components/Ui/Form/FormItem/FormItem.js +0 -107
- package/dist/components/Ui/Form/FormItem/fn.js +0 -25
- package/dist/components/Ui/Form/FormItem/types.js +0 -1
- package/dist/components/Ui/Form/FormRoot/FormRoot.js +0 -25
- package/dist/components/Ui/Form/FormRoot/index.js +0 -4
- package/dist/components/Ui/Form/FormRoot/types.js +0 -1
- package/dist/components/Ui/Form/index.js +0 -6
- package/dist/components/Ui/Form/useForm/index.js +0 -4
- package/dist/components/Ui/Form/useForm/useForm.js +0 -111
- package/dist/components/Ui/Form/utils/fn.js +0 -31
- package/dist/components/Ui/Form/utils/types.js +0 -1
- package/dist/components/Ui/Icons/Icons.js +0 -577
- package/dist/components/Ui/Icons/index.js +0 -97
- package/dist/components/Ui/Icons/utils/CreateIcon.js +0 -23
- package/dist/components/Ui/Loader/Loader.js +0 -6
- package/dist/components/Ui/Loader/index.js +0 -4
- package/dist/components/Ui/ModalWindow/ModalWindow.js +0 -50
- package/dist/components/Ui/ModalWindow/index.js +0 -4
- package/dist/components/Ui/Pagination/Pagination.js +0 -294
- package/dist/components/Ui/Pagination/index.js +0 -4
- package/dist/components/Ui/Radio/Radio.js +0 -30
- package/dist/components/Ui/Radio/Radio.stories.js +0 -42
- package/dist/components/Ui/Radio/index.js +0 -4
- package/dist/components/Ui/SearchInput/SearchData.js +0 -30
- package/dist/components/Ui/SearchInput/SearchInput.js +0 -109
- package/dist/components/Ui/Skeleton/Skeleton.js +0 -28
- package/dist/components/Ui/Skeleton/index.js +0 -4
- package/dist/components/Ui/Switch/Switch.js +0 -25
- package/dist/components/Ui/Switch/index.js +0 -4
- package/dist/components/Ui/Table/MemoizedRow/MemoizedRow.js +0 -79
- package/dist/components/Ui/Table/Table.js +0 -160
- package/dist/components/Ui/Table/TableTypes.js +0 -1
- package/dist/components/Ui/Table/index.js +0 -4
- package/dist/components/Ui/Tabs/Tabs.js +0 -24
- package/dist/components/Ui/Tabs/Tabs.stories.js +0 -67
- package/dist/components/Ui/Tabs/index.js +0 -4
- package/dist/components/Ui/TextInput/TextInput.js +0 -85
- package/dist/components/Ui/TextInput/TextInput.stories.js +0 -225
- package/dist/components/Ui/TextInput/index.js +0 -4
- package/dist/components/Ui/TextareaInput/TextareaInput.js +0 -68
- package/dist/components/Ui/TextareaInput/TextareaInput.stories.js +0 -19
- package/dist/components/Ui/TextareaInput/index.js +0 -4
- package/dist/components/Ui/Tooltip/Tooltip.js +0 -92
- package/dist/components/Ui/Tooltip/Tooltip.stories.js +0 -92
- package/dist/components/Ui/Tooltip/index.js +0 -4
- package/dist/context/ToastContext/ToastContext.js +0 -40
- package/dist/context/ToastContext/index.js +0 -5
- package/dist/context/TriaflyContext/TriaflyContext.types.js +0 -1
- package/dist/context/TriaflyContext/TriaflyProvider.js +0 -27
- package/dist/context/TriaflyContext/hooks/index.js +0 -8
- package/dist/context/TriaflyContext/hooks/useBreakpointValue/index.js +0 -4
- package/dist/context/TriaflyContext/hooks/useBreakpointValue/useBreakpointValue.js +0 -11
- package/dist/context/TriaflyContext/hooks/useModal/index.js +0 -4
- package/dist/context/TriaflyContext/hooks/useModal/useModal.js +0 -16
- package/dist/context/TriaflyContext/hooks/useTheme/index.js +0 -4
- package/dist/context/TriaflyContext/hooks/useTheme/useTheme.js +0 -17
- package/dist/context/TriaflyContext/index.js +0 -12
- package/dist/index-2QXL0WYc.js +0 -45
- package/dist/main.d.ts +0 -1229
- package/dist/main.js +0 -162
- package/dist/vite-env.d.js +0 -1
@@ -1,97 +0,0 @@
|
|
1
|
-
import { IconArrowBendUpRight as c, IconArrowClockwise as I, IconArrowDown as e, IconArrowLeft as r, IconArrowLineDown as i, IconArrowLineLeft as t, IconArrowLineRight as a, IconArrowLineUp as l, IconArrowRight as s, IconArrowUp as C, IconArrowsOut as w, IconArticle as h, IconAt as p, IconBellSimple as g, IconBookOpenText as u, IconCalendarBlank as S, IconCaretDown as A, IconCaretLeft as D, IconCaretRight as L, IconCaretUp as d, IconCaretUpDown as k, IconChartPieSlice as U, IconChatText as P, IconCheck as F, IconCheckCircle as T, IconChecks as f, IconCircleNotch as y, IconCopy as B, IconCornersOut as R, IconCsv as X, IconCube as m, IconDatabase as x, IconDotsNine as M, IconDotsThreeVertical as v, IconExport as H, IconEye as N, IconEyeSlash as O, IconFile as Q, IconFiles as E, IconFloppyDisk as G, IconFolderSimple as b, IconFolderSimpleX as W, IconFunnel as z, IconGauge as J, IconGear as V, IconGoogleDrive as Y, IconHand as j, IconHeadCircuit as q, IconHouse as K, IconIcon as Z, IconInfo as _, IconJoin as $, IconLanguage as oo, IconLink as no, IconList as co, IconLock as Io, IconLockOpen as eo, IconMariaDB as ro, IconMinus as io, IconMongoDB as to, IconMoon as ao, IconMySQL as lo, IconNavigationArrow as so, IconNotePencil as Co, IconPassword as wo, IconPen as ho, IconPlay as po, IconPlugsX as go, IconPlus as uo, IconPorsgteSQL as So, IconPresentationChart as Ao, IconQuestion as Do, IconQuestionFullfilled as Lo, IconRedo as ko, IconRoleX as Uo, IconSearch as Po, IconSearchX as Fo, IconSelection as To, IconServer as fo, IconSlidersHorizontal as yo, IconSticker as Bo, IconSun as Ro, IconThreeDot as Xo, IconTrash as mo, IconTriangleDown as xo, IconTriangleUp as Mo, IconUndo as vo, IconUploadSimple as Ho, IconUser as No, IconUserX as Oo, IconWarningCircle as Qo, IconWrench as Eo, IconX as Go, IconYandexDisk as bo } from "./Icons.js";
|
2
|
-
export {
|
3
|
-
c as IconArrowBendUpRight,
|
4
|
-
I as IconArrowClockwise,
|
5
|
-
e as IconArrowDown,
|
6
|
-
r as IconArrowLeft,
|
7
|
-
i as IconArrowLineDown,
|
8
|
-
t as IconArrowLineLeft,
|
9
|
-
a as IconArrowLineRight,
|
10
|
-
l as IconArrowLineUp,
|
11
|
-
s as IconArrowRight,
|
12
|
-
C as IconArrowUp,
|
13
|
-
w as IconArrowsOut,
|
14
|
-
h as IconArticle,
|
15
|
-
p as IconAt,
|
16
|
-
g as IconBellSimple,
|
17
|
-
u as IconBookOpenText,
|
18
|
-
S as IconCalendarBlank,
|
19
|
-
A as IconCaretDown,
|
20
|
-
D as IconCaretLeft,
|
21
|
-
L as IconCaretRight,
|
22
|
-
d as IconCaretUp,
|
23
|
-
k as IconCaretUpDown,
|
24
|
-
U as IconChartPieSlice,
|
25
|
-
P as IconChatText,
|
26
|
-
F as IconCheck,
|
27
|
-
T as IconCheckCircle,
|
28
|
-
f as IconChecks,
|
29
|
-
y as IconCircleNotch,
|
30
|
-
B as IconCopy,
|
31
|
-
R as IconCornersOut,
|
32
|
-
X as IconCsv,
|
33
|
-
m as IconCube,
|
34
|
-
x as IconDatabase,
|
35
|
-
M as IconDotsNine,
|
36
|
-
v as IconDotsThreeVertical,
|
37
|
-
H as IconExport,
|
38
|
-
N as IconEye,
|
39
|
-
O as IconEyeSlash,
|
40
|
-
Q as IconFile,
|
41
|
-
E as IconFiles,
|
42
|
-
G as IconFloppyDisk,
|
43
|
-
b as IconFolderSimple,
|
44
|
-
W as IconFolderSimpleX,
|
45
|
-
z as IconFunnel,
|
46
|
-
J as IconGauge,
|
47
|
-
V as IconGear,
|
48
|
-
Y as IconGoogleDrive,
|
49
|
-
j as IconHand,
|
50
|
-
q as IconHeadCircuit,
|
51
|
-
K as IconHouse,
|
52
|
-
Z as IconIcon,
|
53
|
-
_ as IconInfo,
|
54
|
-
$ as IconJoin,
|
55
|
-
oo as IconLanguage,
|
56
|
-
no as IconLink,
|
57
|
-
co as IconList,
|
58
|
-
Io as IconLock,
|
59
|
-
eo as IconLockOpen,
|
60
|
-
ro as IconMariaDB,
|
61
|
-
io as IconMinus,
|
62
|
-
to as IconMongoDB,
|
63
|
-
ao as IconMoon,
|
64
|
-
lo as IconMySQL,
|
65
|
-
so as IconNavigationArrow,
|
66
|
-
Co as IconNotePencil,
|
67
|
-
wo as IconPassword,
|
68
|
-
ho as IconPen,
|
69
|
-
po as IconPlay,
|
70
|
-
go as IconPlugsX,
|
71
|
-
uo as IconPlus,
|
72
|
-
So as IconPorsgteSQL,
|
73
|
-
Ao as IconPresentationChart,
|
74
|
-
Do as IconQuestion,
|
75
|
-
Lo as IconQuestionFullfilled,
|
76
|
-
ko as IconRedo,
|
77
|
-
Uo as IconRoleX,
|
78
|
-
Po as IconSearch,
|
79
|
-
Fo as IconSearchX,
|
80
|
-
To as IconSelection,
|
81
|
-
fo as IconServer,
|
82
|
-
yo as IconSlidersHorizontal,
|
83
|
-
Bo as IconSticker,
|
84
|
-
Ro as IconSun,
|
85
|
-
Xo as IconThreeDot,
|
86
|
-
mo as IconTrash,
|
87
|
-
xo as IconTriangleDown,
|
88
|
-
Mo as IconTriangleUp,
|
89
|
-
vo as IconUndo,
|
90
|
-
Ho as IconUploadSimple,
|
91
|
-
No as IconUser,
|
92
|
-
Oo as IconUserX,
|
93
|
-
Qo as IconWarningCircle,
|
94
|
-
Eo as IconWrench,
|
95
|
-
Go as IconX,
|
96
|
-
bo as IconYandexDisk
|
97
|
-
};
|
@@ -1,23 +0,0 @@
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
2
|
-
const g = ({
|
3
|
-
displayName: r,
|
4
|
-
path: o,
|
5
|
-
viewBox: i = "0 0 24 24"
|
6
|
-
}) => {
|
7
|
-
const n = ({ size: t = 20, color: l = "currentColor", className: c = "", viewBox: s }) => /* @__PURE__ */ e(
|
8
|
-
"svg",
|
9
|
-
{
|
10
|
-
width: t,
|
11
|
-
height: t,
|
12
|
-
viewBox: s || i,
|
13
|
-
fill: "none",
|
14
|
-
xmlns: "http://www.w3.org/2000/svg",
|
15
|
-
className: c,
|
16
|
-
children: typeof o == "string" ? /* @__PURE__ */ e("path", { d: o, fill: l }) : o
|
17
|
-
}
|
18
|
-
);
|
19
|
-
return n.displayName = r, n;
|
20
|
-
};
|
21
|
-
export {
|
22
|
-
g as createIcon
|
23
|
-
};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
import { jsx as m } from "react/jsx-runtime";
|
2
|
-
import { IconCircleNotch as t } from "../Icons/Icons.js";
|
3
|
-
import '../../../assets/Loader.css';const i = ({ size: o, color: r, viewBox: c, className: e }) => /* @__PURE__ */ m(t, { size: o, color: r, viewBox: c, className: `loader ${e}` });
|
4
|
-
export {
|
5
|
-
i as Loader
|
6
|
-
};
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import { jsx as s, Fragment as h, jsxs as l } from "react/jsx-runtime";
|
2
|
-
import { createElement as f } from "react";
|
3
|
-
import { createPortal as u } from "react-dom";
|
4
|
-
import { Button as v } from "../Button/Button.js";
|
5
|
-
import { IconX as N } from "../Icons/Icons.js";
|
6
|
-
import '../../../assets/ModalWindow.css';const k = ({
|
7
|
-
isOpen: m,
|
8
|
-
onClose: n,
|
9
|
-
width: a,
|
10
|
-
size: r = "md",
|
11
|
-
iconHeader: o,
|
12
|
-
title: t,
|
13
|
-
children: d,
|
14
|
-
usePortal: e = !1,
|
15
|
-
foolHeight: c,
|
16
|
-
position: w = "center"
|
17
|
-
}) => {
|
18
|
-
if (!m) return null;
|
19
|
-
const p = (o == null ? void 0 : o.size) ?? 20, i = /* @__PURE__ */ s(h, { children: /* @__PURE__ */ s("div", { className: `modal-window overlay position-${w}`, onClick: () => n(!1), children: /* @__PURE__ */ l(
|
20
|
-
"div",
|
21
|
-
{
|
22
|
-
className: `modal-window__body size-${r} ${c ? "foolHeight" : ""}`,
|
23
|
-
onClick: (_) => _.stopPropagation(),
|
24
|
-
style: {
|
25
|
-
width: `${a}`,
|
26
|
-
pointerEvents: "auto"
|
27
|
-
},
|
28
|
-
children: [
|
29
|
-
/* @__PURE__ */ l("div", { className: "modal-window__header", children: [
|
30
|
-
(o == null ? void 0 : o.view) && /* @__PURE__ */ s("div", { className: `modal-window__header__icon status-${o.status}`, children: f(o.icon, { size: p }) }),
|
31
|
-
t != null && t.toString() ? /* @__PURE__ */ s("span", { className: "modal-window__header__title", children: t }) : t,
|
32
|
-
/* @__PURE__ */ s(
|
33
|
-
v,
|
34
|
-
{
|
35
|
-
type: "button",
|
36
|
-
icon: /* @__PURE__ */ s(N, { size: 24 }),
|
37
|
-
className: "icon-button",
|
38
|
-
onClick: () => n(!1)
|
39
|
-
}
|
40
|
-
)
|
41
|
-
] }),
|
42
|
-
d
|
43
|
-
]
|
44
|
-
}
|
45
|
-
) }) });
|
46
|
-
return e ? u(i, document.body) : i;
|
47
|
-
};
|
48
|
-
export {
|
49
|
-
k as ModalWindow
|
50
|
-
};
|
@@ -1,294 +0,0 @@
|
|
1
|
-
import { jsx as X } from "react/jsx-runtime";
|
2
|
-
import { g as pe } from "../../../_commonjsHelpers-C6fGbg64.js";
|
3
|
-
import ue from "react";
|
4
|
-
import { IconCaretRight as ge, IconCaretLeft as de } from "../Icons/Icons.js";
|
5
|
-
import '../../../assets/Pagination.css';var ee = { exports: {} }, fe = ee.exports, oe;
|
6
|
-
function be() {
|
7
|
-
return oe || (oe = 1, function(ae, J) {
|
8
|
-
(function(Z, M) {
|
9
|
-
ae.exports = M(ue);
|
10
|
-
})(fe, (Z) => (() => {
|
11
|
-
var M = { 703: (u, g, C) => {
|
12
|
-
var a = C(414);
|
13
|
-
function I() {
|
14
|
-
}
|
15
|
-
function F() {
|
16
|
-
}
|
17
|
-
F.resetWarningCache = I, u.exports = function() {
|
18
|
-
function m(ie, E, Y, K, se, U) {
|
19
|
-
if (U !== a) {
|
20
|
-
var $ = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
|
21
|
-
throw $.name = "Invariant Violation", $;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
function N() {
|
25
|
-
return m;
|
26
|
-
}
|
27
|
-
m.isRequired = m;
|
28
|
-
var q = { array: m, bigint: m, bool: m, func: m, number: m, object: m, string: m, symbol: m, any: m, arrayOf: N, element: m, elementType: m, instanceOf: N, node: m, objectOf: N, oneOf: N, oneOfType: N, shape: N, exact: N, checkPropTypes: F, resetWarningCache: I };
|
29
|
-
return q.PropTypes = q, q;
|
30
|
-
};
|
31
|
-
}, 697: (u, g, C) => {
|
32
|
-
u.exports = C(703)();
|
33
|
-
}, 414: (u) => {
|
34
|
-
u.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
35
|
-
}, 98: (u) => {
|
36
|
-
u.exports = Z;
|
37
|
-
} }, V = {};
|
38
|
-
function h(u) {
|
39
|
-
var g = V[u];
|
40
|
-
if (g !== void 0) return g.exports;
|
41
|
-
var C = V[u] = { exports: {} };
|
42
|
-
return M[u](C, C.exports, h), C.exports;
|
43
|
-
}
|
44
|
-
h.n = (u) => {
|
45
|
-
var g = u && u.__esModule ? () => u.default : () => u;
|
46
|
-
return h.d(g, { a: g }), g;
|
47
|
-
}, h.d = (u, g) => {
|
48
|
-
for (var C in g) h.o(g, C) && !h.o(u, C) && Object.defineProperty(u, C, { enumerable: !0, get: g[C] });
|
49
|
-
}, h.o = (u, g) => Object.prototype.hasOwnProperty.call(u, g), h.r = (u) => {
|
50
|
-
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(u, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(u, "__esModule", { value: !0 });
|
51
|
-
};
|
52
|
-
var te = {};
|
53
|
-
return (() => {
|
54
|
-
h.r(te), h.d(te, { default: () => le });
|
55
|
-
var u = h(98), g = h.n(u), C = h(697), a = h.n(C);
|
56
|
-
function I() {
|
57
|
-
return I = Object.assign ? Object.assign.bind() : function(r) {
|
58
|
-
for (var i = 1; i < arguments.length; i++) {
|
59
|
-
var o = arguments[i];
|
60
|
-
for (var l in o) Object.prototype.hasOwnProperty.call(o, l) && (r[l] = o[l]);
|
61
|
-
}
|
62
|
-
return r;
|
63
|
-
}, I.apply(this, arguments);
|
64
|
-
}
|
65
|
-
var F = function(r) {
|
66
|
-
var i = r.pageClassName, o = r.pageLinkClassName, l = r.page, S = r.selected, _ = r.activeClassName, R = r.activeLinkClassName, t = r.getEventListener, e = r.pageSelectedHandler, p = r.href, n = r.extraAriaContext, s = r.pageLabelBuilder, c = r.rel, f = r.ariaLabel || "Page " + l + (n ? " " + n : ""), v = null;
|
67
|
-
return S && (v = "page", f = r.ariaLabel || "Page " + l + " is your current page", i = i !== void 0 ? i + " " + _ : _, o !== void 0 ? R !== void 0 && (o = o + " " + R) : o = R), g().createElement("li", { className: i }, g().createElement("a", I({ rel: c, role: p ? void 0 : "button", className: o, href: p, tabIndex: S ? "-1" : "0", "aria-label": f, "aria-current": v, onKeyPress: e }, t(e)), s(l)));
|
68
|
-
};
|
69
|
-
F.propTypes = { pageSelectedHandler: a().func.isRequired, selected: a().bool.isRequired, pageClassName: a().string, pageLinkClassName: a().string, activeClassName: a().string, activeLinkClassName: a().string, extraAriaContext: a().string, href: a().string, ariaLabel: a().string, page: a().number.isRequired, getEventListener: a().func.isRequired, pageLabelBuilder: a().func.isRequired, rel: a().string };
|
70
|
-
const m = F;
|
71
|
-
function N() {
|
72
|
-
return N = Object.assign ? Object.assign.bind() : function(r) {
|
73
|
-
for (var i = 1; i < arguments.length; i++) {
|
74
|
-
var o = arguments[i];
|
75
|
-
for (var l in o) Object.prototype.hasOwnProperty.call(o, l) && (r[l] = o[l]);
|
76
|
-
}
|
77
|
-
return r;
|
78
|
-
}, N.apply(this, arguments);
|
79
|
-
}
|
80
|
-
var q = function(r) {
|
81
|
-
var i = r.breakLabel, o = r.breakAriaLabel, l = r.breakClassName, S = r.breakLinkClassName, _ = r.breakHandler, R = r.getEventListener, t = l || "break";
|
82
|
-
return g().createElement("li", { className: t }, g().createElement("a", N({ className: S, role: "button", tabIndex: "0", "aria-label": o, onKeyPress: _ }, R(_)), i));
|
83
|
-
};
|
84
|
-
q.propTypes = { breakLabel: a().oneOfType([a().string, a().node]), breakAriaLabel: a().string, breakClassName: a().string, breakLinkClassName: a().string, breakHandler: a().func.isRequired, getEventListener: a().func.isRequired };
|
85
|
-
const ie = q;
|
86
|
-
function E(r) {
|
87
|
-
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
|
88
|
-
return r ?? i;
|
89
|
-
}
|
90
|
-
function Y(r) {
|
91
|
-
return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(i) {
|
92
|
-
return typeof i;
|
93
|
-
} : function(i) {
|
94
|
-
return i && typeof Symbol == "function" && i.constructor === Symbol && i !== Symbol.prototype ? "symbol" : typeof i;
|
95
|
-
}, Y(r);
|
96
|
-
}
|
97
|
-
function K() {
|
98
|
-
return K = Object.assign ? Object.assign.bind() : function(r) {
|
99
|
-
for (var i = 1; i < arguments.length; i++) {
|
100
|
-
var o = arguments[i];
|
101
|
-
for (var l in o) Object.prototype.hasOwnProperty.call(o, l) && (r[l] = o[l]);
|
102
|
-
}
|
103
|
-
return r;
|
104
|
-
}, K.apply(this, arguments);
|
105
|
-
}
|
106
|
-
function se(r, i) {
|
107
|
-
for (var o = 0; o < i.length; o++) {
|
108
|
-
var l = i[o];
|
109
|
-
l.enumerable = l.enumerable || !1, l.configurable = !0, "value" in l && (l.writable = !0), Object.defineProperty(r, l.key, l);
|
110
|
-
}
|
111
|
-
}
|
112
|
-
function U(r, i) {
|
113
|
-
return U = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, l) {
|
114
|
-
return o.__proto__ = l, o;
|
115
|
-
}, U(r, i);
|
116
|
-
}
|
117
|
-
function $(r, i) {
|
118
|
-
if (i && (Y(i) === "object" || typeof i == "function")) return i;
|
119
|
-
if (i !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
120
|
-
return k(r);
|
121
|
-
}
|
122
|
-
function k(r) {
|
123
|
-
if (r === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
124
|
-
return r;
|
125
|
-
}
|
126
|
-
function z(r) {
|
127
|
-
return z = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(i) {
|
128
|
-
return i.__proto__ || Object.getPrototypeOf(i);
|
129
|
-
}, z(r);
|
130
|
-
}
|
131
|
-
function P(r, i, o) {
|
132
|
-
return i in r ? Object.defineProperty(r, i, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : r[i] = o, r;
|
133
|
-
}
|
134
|
-
var re = function(r) {
|
135
|
-
(function(t, e) {
|
136
|
-
if (typeof e != "function" && e !== null) throw new TypeError("Super expression must either be null or a function");
|
137
|
-
t.prototype = Object.create(e && e.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), e && U(t, e);
|
138
|
-
})(R, r);
|
139
|
-
var i, o, l, S, _ = (l = R, S = function() {
|
140
|
-
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
141
|
-
if (typeof Proxy == "function") return !0;
|
142
|
-
try {
|
143
|
-
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
144
|
-
})), !0;
|
145
|
-
} catch {
|
146
|
-
return !1;
|
147
|
-
}
|
148
|
-
}(), function() {
|
149
|
-
var t, e = z(l);
|
150
|
-
if (S) {
|
151
|
-
var p = z(this).constructor;
|
152
|
-
t = Reflect.construct(e, arguments, p);
|
153
|
-
} else t = e.apply(this, arguments);
|
154
|
-
return $(this, t);
|
155
|
-
});
|
156
|
-
function R(t) {
|
157
|
-
var e, p;
|
158
|
-
return function(n, s) {
|
159
|
-
if (!(n instanceof s)) throw new TypeError("Cannot call a class as a function");
|
160
|
-
}(this, R), P(k(e = _.call(this, t)), "handlePreviousPage", function(n) {
|
161
|
-
var s = e.state.selected;
|
162
|
-
e.handleClick(n, null, s > 0 ? s - 1 : void 0, { isPrevious: !0 });
|
163
|
-
}), P(k(e), "handleNextPage", function(n) {
|
164
|
-
var s = e.state.selected, c = e.props.pageCount;
|
165
|
-
e.handleClick(n, null, s < c - 1 ? s + 1 : void 0, { isNext: !0 });
|
166
|
-
}), P(k(e), "handlePageSelected", function(n, s) {
|
167
|
-
if (e.state.selected === n) return e.callActiveCallback(n), void e.handleClick(s, null, void 0, { isActive: !0 });
|
168
|
-
e.handleClick(s, null, n);
|
169
|
-
}), P(k(e), "handlePageChange", function(n) {
|
170
|
-
e.state.selected !== n && (e.setState({ selected: n }), e.callCallback(n));
|
171
|
-
}), P(k(e), "getEventListener", function(n) {
|
172
|
-
return P({}, e.props.eventListener, n);
|
173
|
-
}), P(k(e), "handleClick", function(n, s, c) {
|
174
|
-
var f = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, v = f.isPrevious, O = v !== void 0 && v, H = f.isNext, W = H !== void 0 && H, D = f.isBreak, x = D !== void 0 && D, w = f.isActive, A = w !== void 0 && w;
|
175
|
-
n.preventDefault ? n.preventDefault() : n.returnValue = !1;
|
176
|
-
var j = e.state.selected, d = e.props.onClick, L = c;
|
177
|
-
if (d) {
|
178
|
-
var y = d({ index: s, selected: j, nextSelectedPage: c, event: n, isPrevious: O, isNext: W, isBreak: x, isActive: A });
|
179
|
-
if (y === !1) return;
|
180
|
-
Number.isInteger(y) && (L = y);
|
181
|
-
}
|
182
|
-
L !== void 0 && e.handlePageChange(L);
|
183
|
-
}), P(k(e), "handleBreakClick", function(n, s) {
|
184
|
-
var c = e.state.selected;
|
185
|
-
e.handleClick(s, n, c < n ? e.getForwardJump() : e.getBackwardJump(), { isBreak: !0 });
|
186
|
-
}), P(k(e), "callCallback", function(n) {
|
187
|
-
e.props.onPageChange !== void 0 && typeof e.props.onPageChange == "function" && e.props.onPageChange({ selected: n });
|
188
|
-
}), P(k(e), "callActiveCallback", function(n) {
|
189
|
-
e.props.onPageActive !== void 0 && typeof e.props.onPageActive == "function" && e.props.onPageActive({ selected: n });
|
190
|
-
}), P(k(e), "getElementPageRel", function(n) {
|
191
|
-
var s = e.state.selected, c = e.props, f = c.nextPageRel, v = c.prevPageRel, O = c.selectedPageRel;
|
192
|
-
return s - 1 === n ? v : s === n ? O : s + 1 === n ? f : void 0;
|
193
|
-
}), P(k(e), "pagination", function() {
|
194
|
-
var n = [], s = e.props, c = s.pageRangeDisplayed, f = s.pageCount, v = s.marginPagesDisplayed, O = s.breakLabel, H = s.breakClassName, W = s.breakLinkClassName, D = s.breakAriaLabels, x = e.state.selected;
|
195
|
-
if (f <= c) for (var w = 0; w < f; w++) n.push(e.getPageElement(w));
|
196
|
-
else {
|
197
|
-
var A = c / 2, j = c - A;
|
198
|
-
x > f - c / 2 ? A = c - (j = f - x) : x < c / 2 && (j = c - (A = x));
|
199
|
-
var d, L, y = function(T) {
|
200
|
-
return e.getPageElement(T);
|
201
|
-
}, b = [];
|
202
|
-
for (d = 0; d < f; d++) {
|
203
|
-
var G = d + 1;
|
204
|
-
if (G <= v) b.push({ type: "page", index: d, display: y(d) });
|
205
|
-
else if (G > f - v) b.push({ type: "page", index: d, display: y(d) });
|
206
|
-
else if (d >= x - A && d <= x + (x === 0 && c > 1 ? j - 1 : j)) b.push({ type: "page", index: d, display: y(d) });
|
207
|
-
else if (O && b.length > 0 && b[b.length - 1].display !== L && (c > 0 || v > 0)) {
|
208
|
-
var ne = d < x ? D.backward : D.forward;
|
209
|
-
L = g().createElement(ie, { key: d, breakAriaLabel: ne, breakLabel: O, breakClassName: H, breakLinkClassName: W, breakHandler: e.handleBreakClick.bind(null, d), getEventListener: e.getEventListener }), b.push({ type: "break", index: d, display: L });
|
210
|
-
}
|
211
|
-
}
|
212
|
-
b.forEach(function(T, B) {
|
213
|
-
var Q = T;
|
214
|
-
T.type === "break" && b[B - 1] && b[B - 1].type === "page" && b[B + 1] && b[B + 1].type === "page" && b[B + 1].index - b[B - 1].index <= 2 && (Q = { type: "page", index: T.index, display: y(T.index) }), n.push(Q.display);
|
215
|
-
});
|
216
|
-
}
|
217
|
-
return n;
|
218
|
-
}), t.initialPage !== void 0 && t.forcePage !== void 0 && console.warn("(react-paginate): Both initialPage (".concat(t.initialPage, ") and forcePage (").concat(t.forcePage, ") props are provided, which is discouraged.") + ` Use exclusively forcePage prop for a controlled component.
|
219
|
-
See https://reactjs.org/docs/forms.html#controlled-components`), p = t.initialPage ? t.initialPage : t.forcePage ? t.forcePage : 0, e.state = { selected: p }, e;
|
220
|
-
}
|
221
|
-
return i = R, (o = [{ key: "componentDidMount", value: function() {
|
222
|
-
var t = this.props, e = t.initialPage, p = t.disableInitialCallback, n = t.extraAriaContext, s = t.pageCount, c = t.forcePage;
|
223
|
-
e === void 0 || p || this.callCallback(e), n && console.warn("DEPRECATED (react-paginate): The extraAriaContext prop is deprecated. You should now use the ariaLabelBuilder instead."), Number.isInteger(s) || console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(s, "). Did you forget a Math.ceil()?")), e !== void 0 && e > s - 1 && console.warn("(react-paginate): The initialPage prop provided is greater than the maximum page index from pageCount prop (".concat(e, " > ").concat(s - 1, ").")), c !== void 0 && c > s - 1 && console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(c, " > ").concat(s - 1, ")."));
|
224
|
-
} }, { key: "componentDidUpdate", value: function(t) {
|
225
|
-
this.props.forcePage !== void 0 && this.props.forcePage !== t.forcePage && (this.props.forcePage > this.props.pageCount - 1 && console.warn("(react-paginate): The forcePage prop provided is greater than the maximum page index from pageCount prop (".concat(this.props.forcePage, " > ").concat(this.props.pageCount - 1, ").")), this.setState({ selected: this.props.forcePage })), Number.isInteger(t.pageCount) && !Number.isInteger(this.props.pageCount) && console.warn("(react-paginate): The pageCount prop value provided is not an integer (".concat(this.props.pageCount, "). Did you forget a Math.ceil()?"));
|
226
|
-
} }, { key: "getForwardJump", value: function() {
|
227
|
-
var t = this.state.selected, e = this.props, p = e.pageCount, n = t + e.pageRangeDisplayed;
|
228
|
-
return n >= p ? p - 1 : n;
|
229
|
-
} }, { key: "getBackwardJump", value: function() {
|
230
|
-
var t = this.state.selected - this.props.pageRangeDisplayed;
|
231
|
-
return t < 0 ? 0 : t;
|
232
|
-
} }, { key: "getElementHref", value: function(t) {
|
233
|
-
var e = this.props, p = e.hrefBuilder, n = e.pageCount, s = e.hrefAllControls;
|
234
|
-
if (p) return s || t >= 0 && t < n ? p(t + 1, n, this.state.selected) : void 0;
|
235
|
-
} }, { key: "ariaLabelBuilder", value: function(t) {
|
236
|
-
var e = t === this.state.selected;
|
237
|
-
if (this.props.ariaLabelBuilder && t >= 0 && t < this.props.pageCount) {
|
238
|
-
var p = this.props.ariaLabelBuilder(t + 1, e);
|
239
|
-
return this.props.extraAriaContext && !e && (p = p + " " + this.props.extraAriaContext), p;
|
240
|
-
}
|
241
|
-
} }, { key: "getPageElement", value: function(t) {
|
242
|
-
var e = this.state.selected, p = this.props, n = p.pageClassName, s = p.pageLinkClassName, c = p.activeClassName, f = p.activeLinkClassName, v = p.extraAriaContext, O = p.pageLabelBuilder;
|
243
|
-
return g().createElement(m, { key: t, pageSelectedHandler: this.handlePageSelected.bind(null, t), selected: e === t, rel: this.getElementPageRel(t), pageClassName: n, pageLinkClassName: s, activeClassName: c, activeLinkClassName: f, extraAriaContext: v, href: this.getElementHref(t), ariaLabel: this.ariaLabelBuilder(t), page: t + 1, pageLabelBuilder: O, getEventListener: this.getEventListener });
|
244
|
-
} }, { key: "render", value: function() {
|
245
|
-
var t = this.props.renderOnZeroPageCount;
|
246
|
-
if (this.props.pageCount === 0 && t !== void 0) return t && t(this.props);
|
247
|
-
var e = this.props, p = e.disabledClassName, n = e.disabledLinkClassName, s = e.pageCount, c = e.className, f = e.containerClassName, v = e.previousLabel, O = e.previousClassName, H = e.previousLinkClassName, W = e.previousAriaLabel, D = e.prevRel, x = e.nextLabel, w = e.nextClassName, A = e.nextLinkClassName, j = e.nextAriaLabel, d = e.nextRel, L = this.state.selected, y = L === 0, b = L === s - 1, G = "".concat(E(O)).concat(y ? " ".concat(E(p)) : ""), ne = "".concat(E(w)).concat(b ? " ".concat(E(p)) : ""), T = "".concat(E(H)).concat(y ? " ".concat(E(n)) : ""), B = "".concat(E(A)).concat(b ? " ".concat(E(n)) : ""), Q = y ? "true" : "false", ce = b ? "true" : "false";
|
248
|
-
return g().createElement("ul", { className: c || f, role: "navigation", "aria-label": "Pagination" }, g().createElement("li", { className: G }, g().createElement("a", K({ className: T, href: this.getElementHref(L - 1), tabIndex: y ? "-1" : "0", role: "button", onKeyPress: this.handlePreviousPage, "aria-disabled": Q, "aria-label": W, rel: D }, this.getEventListener(this.handlePreviousPage)), v)), this.pagination(), g().createElement("li", { className: ne }, g().createElement("a", K({ className: B, href: this.getElementHref(L + 1), tabIndex: b ? "-1" : "0", role: "button", onKeyPress: this.handleNextPage, "aria-disabled": ce, "aria-label": j, rel: d }, this.getEventListener(this.handleNextPage)), x)));
|
249
|
-
} }]) && se(i.prototype, o), Object.defineProperty(i, "prototype", { writable: !1 }), R;
|
250
|
-
}(u.Component);
|
251
|
-
P(re, "propTypes", { pageCount: a().number.isRequired, pageRangeDisplayed: a().number, marginPagesDisplayed: a().number, previousLabel: a().node, previousAriaLabel: a().string, prevPageRel: a().string, prevRel: a().string, nextLabel: a().node, nextAriaLabel: a().string, nextPageRel: a().string, nextRel: a().string, breakLabel: a().oneOfType([a().string, a().node]), breakAriaLabels: a().shape({ forward: a().string, backward: a().string }), hrefBuilder: a().func, hrefAllControls: a().bool, onPageChange: a().func, onPageActive: a().func, onClick: a().func, initialPage: a().number, forcePage: a().number, disableInitialCallback: a().bool, containerClassName: a().string, className: a().string, pageClassName: a().string, pageLinkClassName: a().string, pageLabelBuilder: a().func, activeClassName: a().string, activeLinkClassName: a().string, previousClassName: a().string, nextClassName: a().string, previousLinkClassName: a().string, nextLinkClassName: a().string, disabledClassName: a().string, disabledLinkClassName: a().string, breakClassName: a().string, breakLinkClassName: a().string, extraAriaContext: a().string, ariaLabelBuilder: a().func, eventListener: a().string, renderOnZeroPageCount: a().func, selectedPageRel: a().string }), P(re, "defaultProps", { pageRangeDisplayed: 2, marginPagesDisplayed: 3, activeClassName: "selected", previousLabel: "Previous", previousClassName: "previous", previousAriaLabel: "Previous page", prevPageRel: "prev", prevRel: "prev", nextLabel: "Next", nextClassName: "next", nextAriaLabel: "Next page", nextPageRel: "next", nextRel: "next", breakLabel: "...", breakAriaLabels: { forward: "Jump forward", backward: "Jump backward" }, disabledClassName: "disabled", disableInitialCallback: !1, pageLabelBuilder: function(r) {
|
252
|
-
return r;
|
253
|
-
}, eventListener: "onClick", renderOnZeroPageCount: void 0, selectedPageRel: "canonical", hrefAllControls: !1 });
|
254
|
-
const le = re;
|
255
|
-
})(), te;
|
256
|
-
})());
|
257
|
-
}(ee)), ee.exports;
|
258
|
-
}
|
259
|
-
var me = be();
|
260
|
-
const ve = /* @__PURE__ */ pe(me), ke = ({
|
261
|
-
currentPage: ae,
|
262
|
-
totalPages: J,
|
263
|
-
onPageChange: Z
|
264
|
-
}) => {
|
265
|
-
const M = (V) => {
|
266
|
-
Z(V.selected + 1);
|
267
|
-
};
|
268
|
-
return /* @__PURE__ */ X("div", { className: "Pagination__Wrap", children: /* @__PURE__ */ X(
|
269
|
-
ve,
|
270
|
-
{
|
271
|
-
previousLabel: /* @__PURE__ */ X(de, {}),
|
272
|
-
nextLabel: /* @__PURE__ */ X(ge, {}),
|
273
|
-
breakLabel: "...",
|
274
|
-
pageCount: J,
|
275
|
-
marginPagesDisplayed: J > 7 ? 1 : 0,
|
276
|
-
pageRangeDisplayed: J > 7 ? 5 : J,
|
277
|
-
onPageChange: M,
|
278
|
-
containerClassName: "pagination",
|
279
|
-
pageClassName: "page-item",
|
280
|
-
pageLinkClassName: "page-link",
|
281
|
-
previousClassName: "page-item page-toggler",
|
282
|
-
previousLinkClassName: "page-link",
|
283
|
-
nextClassName: "page-item page-toggler",
|
284
|
-
nextLinkClassName: "page-link",
|
285
|
-
breakClassName: "page-item",
|
286
|
-
breakLinkClassName: "page-link",
|
287
|
-
activeClassName: "active",
|
288
|
-
forcePage: ae - 1
|
289
|
-
}
|
290
|
-
) });
|
291
|
-
};
|
292
|
-
export {
|
293
|
-
ke as Pagination
|
294
|
-
};
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { jsx as a, jsxs as r } from "react/jsx-runtime";
|
2
|
-
import '../../../assets/Radio.css';const m = ({
|
3
|
-
label: s,
|
4
|
-
value: l,
|
5
|
-
name: d = "Radio",
|
6
|
-
isDisabled: e = !1,
|
7
|
-
isChecked: i,
|
8
|
-
radioId: c,
|
9
|
-
onChange: o
|
10
|
-
}) => /* @__PURE__ */ a("div", { className: `radio ${e ? "disabled" : ""}`, children: /* @__PURE__ */ r("label", { className: "radio-label", children: [
|
11
|
-
/* @__PURE__ */ a(
|
12
|
-
"input",
|
13
|
-
{
|
14
|
-
className: "",
|
15
|
-
id: c,
|
16
|
-
type: "radio",
|
17
|
-
name: d,
|
18
|
-
value: l,
|
19
|
-
disabled: e,
|
20
|
-
checked: i,
|
21
|
-
onChange: o
|
22
|
-
}
|
23
|
-
),
|
24
|
-
/* @__PURE__ */ a("span", { className: "checkmark" }),
|
25
|
-
/* @__PURE__ */ a("span", { className: "label", children: s })
|
26
|
-
] }) });
|
27
|
-
m.displayName = "Radio";
|
28
|
-
export {
|
29
|
-
m as Radio
|
30
|
-
};
|
@@ -1,42 +0,0 @@
|
|
1
|
-
import { jsx as i } from "react/jsx-runtime";
|
2
|
-
import { Radio as a } from "./Radio.js";
|
3
|
-
const d = {
|
4
|
-
title: "UIKit/Radio",
|
5
|
-
component: a
|
6
|
-
}, e = {
|
7
|
-
render: (o) => /* @__PURE__ */ i(a, { ...o })
|
8
|
-
}, l = {
|
9
|
-
...e,
|
10
|
-
args: {
|
11
|
-
label: "Опция 1",
|
12
|
-
name: "options",
|
13
|
-
value: "3",
|
14
|
-
isChecked: !1,
|
15
|
-
radioId: "id1"
|
16
|
-
}
|
17
|
-
}, r = {
|
18
|
-
...e,
|
19
|
-
args: {
|
20
|
-
label: "Опция 2",
|
21
|
-
name: "options",
|
22
|
-
value: "1",
|
23
|
-
isChecked: !1,
|
24
|
-
isDisabled: !0,
|
25
|
-
radioId: "id2"
|
26
|
-
}
|
27
|
-
}, n = {
|
28
|
-
...e,
|
29
|
-
args: {
|
30
|
-
label: "Опция 3",
|
31
|
-
name: "options",
|
32
|
-
value: "2",
|
33
|
-
isChecked: !0,
|
34
|
-
radioId: "id3"
|
35
|
-
}
|
36
|
-
};
|
37
|
-
export {
|
38
|
-
n as Checked,
|
39
|
-
l as Default,
|
40
|
-
r as Disabled,
|
41
|
-
d as default
|
42
|
-
};
|
@@ -1,30 +0,0 @@
|
|
1
|
-
const e = [
|
2
|
-
"Apple",
|
3
|
-
"Banana",
|
4
|
-
"Cherry",
|
5
|
-
"Date",
|
6
|
-
"Elderberry",
|
7
|
-
"Fig",
|
8
|
-
"Grape",
|
9
|
-
"Honeydew",
|
10
|
-
"Kiwi",
|
11
|
-
"Lemon",
|
12
|
-
"Mango",
|
13
|
-
"Nectarine",
|
14
|
-
"Orange",
|
15
|
-
"Peach",
|
16
|
-
"Quince",
|
17
|
-
"Raspberry",
|
18
|
-
"Strawberry",
|
19
|
-
"Tangerine",
|
20
|
-
"Watermelon",
|
21
|
-
"Blueberry",
|
22
|
-
"Blackberry",
|
23
|
-
"Pineapple",
|
24
|
-
"Papaya",
|
25
|
-
"Apricot",
|
26
|
-
"Plum"
|
27
|
-
];
|
28
|
-
export {
|
29
|
-
e as demoSearchData
|
30
|
-
};
|