@cagatayfdn/flora-components 0.0.136 → 0.0.138
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/package.json +1 -1
- package/dist/Accordion.css +0 -1
- package/dist/ActionButton.css +0 -1
- package/dist/AlertCard.css +0 -1
- package/dist/Autocomplete.css +0 -1
- package/dist/Button.css +0 -1
- package/dist/Card.css +0 -1
- package/dist/Checkbox.css +0 -1
- package/dist/Config.css +0 -1
- package/dist/Confirm.css +0 -1
- package/dist/ContentHeader.css +0 -1
- package/dist/Datepicker.css +0 -1
- package/dist/Divider.css +0 -1
- package/dist/DropdownList.css +0 -1
- package/dist/ErrorLogModal.css +0 -1
- package/dist/FileUpload.css +0 -1
- package/dist/FileUpload.module-BxCEtOHx.js +0 -32
- package/dist/Heading.css +0 -1
- package/dist/IconBox.css +0 -1
- package/dist/InfoBoxList.css +0 -1
- package/dist/InfoBoxList.module-BHkAHgos.js +0 -8
- package/dist/InfoDate.css +0 -1
- package/dist/InfoText.css +0 -1
- package/dist/Input.css +0 -1
- package/dist/Label.css +0 -1
- package/dist/Legends.css +0 -1
- package/dist/Loading.css +0 -1
- package/dist/MenuItem-Df6Zsa7E.js +0 -53
- package/dist/MenuItem.css +0 -1
- package/dist/Modal.css +0 -1
- package/dist/NoResult.css +0 -1
- package/dist/PageWrap.css +0 -1
- package/dist/Pager.css +0 -1
- package/dist/Panel.css +0 -1
- package/dist/Radio.css +0 -1
- package/dist/ResultError.css +0 -1
- package/dist/ScrollContainer.css +0 -1
- package/dist/Select-BE_y91ZN.js +0 -1831
- package/dist/Select.css +0 -1
- package/dist/Select.module-ByPQ6qr4.js +0 -21
- package/dist/StatusTag.css +0 -1
- package/dist/StatusTypography.css +0 -1
- package/dist/Stepper.css +0 -1
- package/dist/Switch.css +0 -1
- package/dist/Tab.css +0 -1
- package/dist/Table.css +0 -1
- package/dist/Table.module-DUqpZOLt.js +0 -29
- package/dist/Textarea.css +0 -1
- package/dist/Tooltip.css +0 -1
- package/dist/Trans-B4ILpbwK.js +0 -343
- package/dist/TypographyText.css +0 -1
- package/dist/ValidationError.css +0 -1
- package/dist/_commonjsHelpers-CT_km90n.js +0 -30
- package/dist/_isArray-CBUZFxFA.js +0 -6
- package/dist/_isString-BUpNGP_8.js +0 -6
- package/dist/_reduce-DsUCMz4O.js +0 -148
- package/dist/assets/icons/icons.js +0 -70
- package/dist/assets/images/500_error_2x.gif +0 -0
- package/dist/assets/images/oms.png +0 -0
- package/dist/components/Accordion/Accordion.js +0 -60
- package/dist/components/ActionButton/ActionButton.js +0 -54
- package/dist/components/AlertCard/AlertCard.js +0 -29
- package/dist/components/AuthUserCan/Permission.js +0 -18
- package/dist/components/AuthUserCan/index.js +0 -23
- package/dist/components/Autocomplete/Autocomplete.js +0 -87
- package/dist/components/Button/Button.js +0 -87
- package/dist/components/Card/Card.js +0 -21
- package/dist/components/Charts/Bar.js +0 -18
- package/dist/components/Charts/Legends.js +0 -21
- package/dist/components/Charts/Line.js +0 -18
- package/dist/components/Charts/Pie.js +0 -43
- package/dist/components/Charts/index.js +0 -31
- package/dist/components/Charts/types.js +0 -1
- package/dist/components/Charts/utils.js +0 -12
- package/dist/components/Checkbox/Checkbox.js +0 -68
- package/dist/components/Config/Config.js +0 -32
- package/dist/components/Confirm/Confirm.js +0 -60
- package/dist/components/ContentHeader/ContentHeader.js +0 -75
- package/dist/components/ContentLoader/ContentLoader.js +0 -16
- package/dist/components/Countdown/Countdown.js +0 -20
- package/dist/components/Datepicker/Datepicker.js +0 -1478
- package/dist/components/Divider/Divider.js +0 -27
- package/dist/components/Drawer/Provider.js +0 -24
- package/dist/components/Drawer/index.js +0 -55
- package/dist/components/Dropdown/DropdownList.js +0 -90
- package/dist/components/ErrorLogModal/ErrorLogModal.js +0 -69
- package/dist/components/FileUpload/FileUpload.js +0 -237
- package/dist/components/FileUpload/ImagePreview.js +0 -19
- package/dist/components/FileUpload/LengthCard.js +0 -6
- package/dist/components/FileUpload/PreviewModal.js +0 -53
- package/dist/components/Grid/Column.js +0 -29
- package/dist/components/Grid/Row.js +0 -6
- package/dist/components/Heading/Heading.js +0 -22
- package/dist/components/Icon/index.js +0 -24
- package/dist/components/IconBox/IconBox.js +0 -13
- package/dist/components/InfiniteScroll/InfiniteScroll.js +0 -41
- package/dist/components/InfoBoxList/InfoBoxList.js +0 -30
- package/dist/components/InfoBoxList/helper.js +0 -83
- package/dist/components/InfoDate/InfoDate.js +0 -19
- package/dist/components/InfoText/InfoText.js +0 -13
- package/dist/components/Input/Input.js +0 -140
- package/dist/components/Label/Label.js +0 -22
- package/dist/components/Loading/Loading.js +0 -62
- package/dist/components/Modal/Modal.js +0 -74
- package/dist/components/NavigatorCard/index.js +0 -59
- package/dist/components/NoResult/NoResult.js +0 -12
- package/dist/components/Notification/Notification.js +0 -26
- package/dist/components/PageWrapper/PageWrap.js +0 -46
- package/dist/components/Pager/Pager.js +0 -103
- package/dist/components/Panel/Panel.js +0 -71
- package/dist/components/PermaLink/PermaLink.js +0 -387
- package/dist/components/Radio/Radio.js +0 -96
- package/dist/components/ResultError/ResultError.js +0 -20
- package/dist/components/ScrollContainer/ScrollContainer.js +0 -23
- package/dist/components/Select/NoData.js +0 -10
- package/dist/components/Select/OptionItem.js +0 -19
- package/dist/components/Select/Select.js +0 -13
- package/dist/components/Sidebar/MenuItem.js +0 -9
- package/dist/components/Sidebar/index.js +0 -137
- package/dist/components/StatusTag/StatusTag.js +0 -24
- package/dist/components/StatusTypography/StatusTypography.js +0 -51
- package/dist/components/Stepper/Stepper.js +0 -75
- package/dist/components/Switch/Switch.js +0 -84
- package/dist/components/Tab/Tab.js +0 -28
- package/dist/components/Table/Table.js +0 -271
- package/dist/components/Table/TableHeader.js +0 -137
- package/dist/components/Table/TableSort.js +0 -25
- package/dist/components/Textarea/Textarea.js +0 -95
- package/dist/components/Tooltip/Tooltip.js +0 -1548
- package/dist/components/TypographyText/TypographyText.js +0 -91
- package/dist/components/ValidationError/ValidationError.js +0 -7
- package/dist/components/index.js +0 -133
- package/dist/defineProperty-DeKy1XT0.js +0 -37
- package/dist/enums/appearance.js +0 -14
- package/dist/enums/applicationTypeSlug.js +0 -4
- package/dist/enums/index.js +0 -29
- package/dist/enums/isActiveColor.js +0 -4
- package/dist/enums/size.js +0 -4
- package/dist/enums/status.js +0 -11
- package/dist/equals-PL9KqVQf.js +0 -119
- package/dist/flatpickr-CRz1AV0e.js +0 -59
- package/dist/hooks/index.js +0 -15
- package/dist/hooks/useAauth.js +0 -40
- package/dist/hooks/useDisclosure.js +0 -14
- package/dist/hooks/useDrawer.js +0 -9
- package/dist/hooks/useMediaQuery.js +0 -21
- package/dist/hooks/useNiceModal.js +0 -13
- package/dist/i18nInstance-CiCZbaCK.js +0 -55
- package/dist/includes-8YTFrx85.js +0 -46
- package/dist/index-9ZLCCecr.js +0 -364
- package/dist/index-BHf7G3IG.js +0 -35
- package/dist/index-BJU1K2Aw.js +0 -8003
- package/dist/index-CB61CB0b.js +0 -669
- package/dist/index-H7XbDVmH.js +0 -320
- package/dist/index-JNaMEwgt.js +0 -1413
- package/dist/index.css +0 -1
- package/dist/index.d.mts +0 -1463
- package/dist/index.d.ts +0 -1463
- package/dist/index.js +0 -200
- package/dist/index2.css +0 -1
- package/dist/jsx-runtime-BcAkpsdy.js +0 -631
- package/dist/keys-B0bo5Q7o.js +0 -67
- package/dist/locales/en/index.js +0 -613
- package/dist/locales/i18n.js +0 -1417
- package/dist/locales/index.js +0 -5
- package/dist/locales/tr/index.js +0 -613
- package/dist/main.css +0 -1
- package/dist/main.js +0 -56
- package/dist/prodivers.css +0 -6
- package/dist/prodivers.js +0 -13
- package/dist/react-content-loader.es-CswLCxkm.js +0 -90
- package/dist/react-toastify.esm-BUWNP7Nm.js +0 -808
- package/dist/types/common/date.js +0 -1
- package/dist/types/common/events.js +0 -1
- package/dist/types/common/forms.js +0 -1
- package/dist/types/common/option.js +0 -1
- package/dist/types/index.js +0 -1
- package/dist/useTranslation-CnCPcxVj.js +0 -142
- package/dist/utils/date.js +0 -413
- package/dist/utils/flatpickr.js +0 -4
- package/dist/utils/helper.js +0 -55
- package/dist/utils/index.js +0 -24
- package/dist/utils/language.js +0 -46
- package/dist/utils/validation.js +0 -27
- package/dist/utils/yup.js +0 -2921
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { j as a } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { useState as F, useEffect as g } from "react";
|
|
3
|
-
import { c as l } from "../../index-BHf7G3IG.js";
|
|
4
|
-
import { Icons as h } from "../../assets/icons/icons.js";
|
|
5
|
-
import { ThemeAppearance as I } from "../../enums/appearance.js";
|
|
6
|
-
import _ from "../Icon/index.js";
|
|
7
|
-
import '../../Pager.css';const D = "_wrap_1jmhu_2", H = "_pager_1jmhu_2", L = "_disabled_1jmhu_2", R = "_inputField_1jmhu_2", S = "_totalPage_1jmhu_2", E = "_currentPage_1jmhu_2", V = "_dark_1jmhu_2", t = {
|
|
8
|
-
wrap: D,
|
|
9
|
-
pager: H,
|
|
10
|
-
disabled: L,
|
|
11
|
-
inputField: R,
|
|
12
|
-
totalPage: S,
|
|
13
|
-
currentPage: E,
|
|
14
|
-
dark: V
|
|
15
|
-
}, B = (f) => {
|
|
16
|
-
const {
|
|
17
|
-
currentPage: n = 1,
|
|
18
|
-
reset: j,
|
|
19
|
-
totalCount: x,
|
|
20
|
-
onChange: m,
|
|
21
|
-
className: N,
|
|
22
|
-
showInput: u = !0,
|
|
23
|
-
pageSize: P = 10,
|
|
24
|
-
appearance: p = I.LIGHT
|
|
25
|
-
} = f, [s, d] = F(n), r = Math.ceil(x / P), c = r >= 10, v = s === r, b = s === 1, o = (e) => {
|
|
26
|
-
d(e), m && m(e);
|
|
27
|
-
}, C = () => {
|
|
28
|
-
s > 1 && o(s - 1);
|
|
29
|
-
}, k = () => {
|
|
30
|
-
r > s && o(s + 1);
|
|
31
|
-
}, T = (e) => {
|
|
32
|
-
const w = e.target.value.slice(0, 1), i = Number(c ? e.target.value : w);
|
|
33
|
-
setTimeout(() => {
|
|
34
|
-
r >= i && i > 0 ? o(i) : i <= 0 ? o(1) : o(r), c || e.target.select();
|
|
35
|
-
}, 300);
|
|
36
|
-
};
|
|
37
|
-
return g(() => {
|
|
38
|
-
d(n);
|
|
39
|
-
}, [n]), g(() => {
|
|
40
|
-
d(1);
|
|
41
|
-
}, [j]), /* @__PURE__ */ a.jsx(
|
|
42
|
-
"div",
|
|
43
|
-
{
|
|
44
|
-
"data-testid": "pager-container",
|
|
45
|
-
className: l(t.wrap, N, {
|
|
46
|
-
[t[p]]: p
|
|
47
|
-
}),
|
|
48
|
-
children: /* @__PURE__ */ a.jsxs("div", { className: t.pager, children: [
|
|
49
|
-
/* @__PURE__ */ a.jsx(
|
|
50
|
-
"a",
|
|
51
|
-
{
|
|
52
|
-
"data-testid": "pager-prev",
|
|
53
|
-
className: l(t.prev, {
|
|
54
|
-
[t.disabled]: b
|
|
55
|
-
}),
|
|
56
|
-
onClick: C,
|
|
57
|
-
children: /* @__PURE__ */ a.jsx(_, { name: h.ChevronLeft })
|
|
58
|
-
}
|
|
59
|
-
),
|
|
60
|
-
u && /* @__PURE__ */ a.jsx(
|
|
61
|
-
"input",
|
|
62
|
-
{
|
|
63
|
-
name: "pageNumber",
|
|
64
|
-
"data-testid": "pager-input",
|
|
65
|
-
className: t.inputField,
|
|
66
|
-
maxLength: r <= 9 ? 1 : void 0,
|
|
67
|
-
value: s,
|
|
68
|
-
onFocus: (e) => {
|
|
69
|
-
c || e.currentTarget.select();
|
|
70
|
-
},
|
|
71
|
-
onClick: (e) => {
|
|
72
|
-
c || (e.currentTarget.setSelectionRange(0, 0), e.currentTarget.select());
|
|
73
|
-
},
|
|
74
|
-
onChange: (e) => {
|
|
75
|
-
c || (e.target.autofocus = !0), T(e);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
),
|
|
79
|
-
/* @__PURE__ */ a.jsxs("span", { className: l(t.totalPage, {
|
|
80
|
-
[t.currentPage]: !u
|
|
81
|
-
}), children: [
|
|
82
|
-
!u && /* @__PURE__ */ a.jsx("span", { className: t.currentPage, children: n > 1 ? n : s }),
|
|
83
|
-
"/",
|
|
84
|
-
r === 0 ? 1 : r
|
|
85
|
-
] }),
|
|
86
|
-
/* @__PURE__ */ a.jsx(
|
|
87
|
-
"a",
|
|
88
|
-
{
|
|
89
|
-
className: l(t.next, {
|
|
90
|
-
[t.disabled]: v
|
|
91
|
-
}),
|
|
92
|
-
onClick: k,
|
|
93
|
-
"data-testid": "pager-next",
|
|
94
|
-
children: /* @__PURE__ */ a.jsx(_, { name: h.ChevronRight })
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
] })
|
|
98
|
-
}
|
|
99
|
-
);
|
|
100
|
-
};
|
|
101
|
-
export {
|
|
102
|
-
B as default
|
|
103
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { c as r } from "../../index-BHf7G3IG.js";
|
|
3
|
-
import { ThemeAppearance as x } from "../../enums/appearance.js";
|
|
4
|
-
import '../../Panel.css';const p = "_box_1bthr_2", j = "_header_1bthr_2", f = "_hasBorder_1bthr_2", N = "_body_1bthr_2", y = "_noHeaders_1bthr_2", u = "_description_1bthr_2", v = "_dark_1bthr_2", B = "_line_1bthr_2", s = {
|
|
5
|
-
box: p,
|
|
6
|
-
header: j,
|
|
7
|
-
hasBorder: f,
|
|
8
|
-
body: N,
|
|
9
|
-
noHeaders: y,
|
|
10
|
-
description: u,
|
|
11
|
-
dark: v,
|
|
12
|
-
line: B
|
|
13
|
-
}, $ = ({
|
|
14
|
-
title: a,
|
|
15
|
-
children: i,
|
|
16
|
-
description: d,
|
|
17
|
-
className: _,
|
|
18
|
-
type: n = "box",
|
|
19
|
-
appearance: t = x.DARK,
|
|
20
|
-
headerDescription: c,
|
|
21
|
-
headerRightChild: o,
|
|
22
|
-
headerClass: l,
|
|
23
|
-
hasBorder: h,
|
|
24
|
-
bodyClass: b,
|
|
25
|
-
isLoading: m
|
|
26
|
-
}) => /* @__PURE__ */ e.jsxs(
|
|
27
|
-
"div",
|
|
28
|
-
{
|
|
29
|
-
"data-testid": "panel-container",
|
|
30
|
-
className: r(_, s.container, {
|
|
31
|
-
[s[`${t}`]]: t,
|
|
32
|
-
[s[`${n}`]]: n
|
|
33
|
-
}),
|
|
34
|
-
children: [
|
|
35
|
-
a && /* @__PURE__ */ e.jsxs(
|
|
36
|
-
"div",
|
|
37
|
-
{
|
|
38
|
-
"data-testid": "panel-header",
|
|
39
|
-
className: r(s.header, l, {
|
|
40
|
-
flex: o,
|
|
41
|
-
slide: m,
|
|
42
|
-
"justify-between": o,
|
|
43
|
-
[s.hasBorder]: h
|
|
44
|
-
}),
|
|
45
|
-
children: [
|
|
46
|
-
/* @__PURE__ */ e.jsxs("div", { children: [
|
|
47
|
-
/* @__PURE__ */ e.jsx("h1", { children: a }),
|
|
48
|
-
c && /* @__PURE__ */ e.jsx("p", { className: r("m-0", s.description), children: c })
|
|
49
|
-
] }),
|
|
50
|
-
o
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
),
|
|
54
|
-
/* @__PURE__ */ e.jsxs(
|
|
55
|
-
"div",
|
|
56
|
-
{
|
|
57
|
-
className: r(b, s.body, {
|
|
58
|
-
[s.noHeaders]: !a
|
|
59
|
-
}),
|
|
60
|
-
children: [
|
|
61
|
-
d && /* @__PURE__ */ e.jsx("p", { "data-testid": "panel-description", className: s.description, children: d }),
|
|
62
|
-
i
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
)
|
|
66
|
-
]
|
|
67
|
-
}
|
|
68
|
-
);
|
|
69
|
-
export {
|
|
70
|
-
$ as default
|
|
71
|
-
};
|
|
@@ -1,387 +0,0 @@
|
|
|
1
|
-
import { j as Y } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import * as m from "react";
|
|
3
|
-
import "react-dom";
|
|
4
|
-
import { a as D, u as I, D as J, N as P, s as E, i as S, m as M, w as B, b as Q, c as Z, d as ee, e as A, f as te, R as ne, j as re, g as ae } from "../../index-9ZLCCecr.js";
|
|
5
|
-
/**
|
|
6
|
-
* React Router DOM v6.22.0
|
|
7
|
-
*
|
|
8
|
-
* Copyright (c) Remix Software Inc.
|
|
9
|
-
*
|
|
10
|
-
* This source code is licensed under the MIT license found in the
|
|
11
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
12
|
-
*
|
|
13
|
-
* @license MIT
|
|
14
|
-
*/
|
|
15
|
-
function x() {
|
|
16
|
-
return x = Object.assign ? Object.assign.bind() : function(e) {
|
|
17
|
-
for (var n = 1; n < arguments.length; n++) {
|
|
18
|
-
var r = arguments[n];
|
|
19
|
-
for (var a in r)
|
|
20
|
-
Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
|
|
21
|
-
}
|
|
22
|
-
return e;
|
|
23
|
-
}, x.apply(this, arguments);
|
|
24
|
-
}
|
|
25
|
-
function K(e, n) {
|
|
26
|
-
if (e == null)
|
|
27
|
-
return {};
|
|
28
|
-
var r = {}, a = Object.keys(e), t, i;
|
|
29
|
-
for (i = 0; i < a.length; i++)
|
|
30
|
-
t = a[i], !(n.indexOf(t) >= 0) && (r[t] = e[t]);
|
|
31
|
-
return r;
|
|
32
|
-
}
|
|
33
|
-
const _ = "get", L = "application/x-www-form-urlencoded";
|
|
34
|
-
function F(e) {
|
|
35
|
-
return e != null && typeof e.tagName == "string";
|
|
36
|
-
}
|
|
37
|
-
function ie(e) {
|
|
38
|
-
return F(e) && e.tagName.toLowerCase() === "button";
|
|
39
|
-
}
|
|
40
|
-
function oe(e) {
|
|
41
|
-
return F(e) && e.tagName.toLowerCase() === "form";
|
|
42
|
-
}
|
|
43
|
-
function le(e) {
|
|
44
|
-
return F(e) && e.tagName.toLowerCase() === "input";
|
|
45
|
-
}
|
|
46
|
-
function se(e) {
|
|
47
|
-
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
48
|
-
}
|
|
49
|
-
function ue(e, n) {
|
|
50
|
-
return e.button === 0 && // Ignore everything but left clicks
|
|
51
|
-
(!n || n === "_self") && // Let browser handle "target=_blank" etc.
|
|
52
|
-
!se(e);
|
|
53
|
-
}
|
|
54
|
-
let R = null;
|
|
55
|
-
function ce() {
|
|
56
|
-
if (R === null)
|
|
57
|
-
try {
|
|
58
|
-
new FormData(
|
|
59
|
-
document.createElement("form"),
|
|
60
|
-
// @ts-expect-error if FormData supports the submitter parameter, this will throw
|
|
61
|
-
0
|
|
62
|
-
), R = !1;
|
|
63
|
-
} catch {
|
|
64
|
-
R = !0;
|
|
65
|
-
}
|
|
66
|
-
return R;
|
|
67
|
-
}
|
|
68
|
-
const fe = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
|
|
69
|
-
function U(e) {
|
|
70
|
-
return e != null && !fe.has(e) ? (process.env.NODE_ENV !== "production" && B(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + L + '"')), null) : e;
|
|
71
|
-
}
|
|
72
|
-
function me(e, n) {
|
|
73
|
-
let r, a, t, i, o;
|
|
74
|
-
if (oe(e)) {
|
|
75
|
-
let s = e.getAttribute("action");
|
|
76
|
-
a = s ? E(s, n) : null, r = e.getAttribute("method") || _, t = U(e.getAttribute("enctype")) || L, i = new FormData(e);
|
|
77
|
-
} else if (ie(e) || le(e) && (e.type === "submit" || e.type === "image")) {
|
|
78
|
-
let s = e.form;
|
|
79
|
-
if (s == null)
|
|
80
|
-
throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
|
|
81
|
-
let u = e.getAttribute("formaction") || s.getAttribute("action");
|
|
82
|
-
if (a = u ? E(u, n) : null, r = e.getAttribute("formmethod") || s.getAttribute("method") || _, t = U(e.getAttribute("formenctype")) || U(s.getAttribute("enctype")) || L, i = new FormData(s, e), !ce()) {
|
|
83
|
-
let {
|
|
84
|
-
name: l,
|
|
85
|
-
type: d,
|
|
86
|
-
value: h
|
|
87
|
-
} = e;
|
|
88
|
-
if (d === "image") {
|
|
89
|
-
let v = l ? l + "." : "";
|
|
90
|
-
i.append(v + "x", "0"), i.append(v + "y", "0");
|
|
91
|
-
} else
|
|
92
|
-
l && i.append(l, h);
|
|
93
|
-
}
|
|
94
|
-
} else {
|
|
95
|
-
if (F(e))
|
|
96
|
-
throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
|
|
97
|
-
r = _, a = null, t = L, o = e;
|
|
98
|
-
}
|
|
99
|
-
return i && t === "text/plain" && (o = i, i = void 0), {
|
|
100
|
-
action: a,
|
|
101
|
-
method: r.toLowerCase(),
|
|
102
|
-
encType: t,
|
|
103
|
-
formData: i,
|
|
104
|
-
body: o
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
const de = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset", "unstable_viewTransition"], pe = ["aria-current", "caseSensitive", "className", "end", "style", "to", "unstable_viewTransition", "children"], he = ["fetcherKey", "navigate", "reloadDocument", "replace", "state", "method", "action", "onSubmit", "relative", "preventScrollReset", "unstable_viewTransition"], ve = "6";
|
|
108
|
-
try {
|
|
109
|
-
window.__reactRouterVersion = ve;
|
|
110
|
-
} catch {
|
|
111
|
-
}
|
|
112
|
-
const z = /* @__PURE__ */ m.createContext({
|
|
113
|
-
isTransitioning: !1
|
|
114
|
-
});
|
|
115
|
-
process.env.NODE_ENV !== "production" && (z.displayName = "ViewTransition");
|
|
116
|
-
const be = /* @__PURE__ */ m.createContext(/* @__PURE__ */ new Map());
|
|
117
|
-
process.env.NODE_ENV !== "production" && (be.displayName = "Fetchers");
|
|
118
|
-
process.env.NODE_ENV;
|
|
119
|
-
const we = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", ye = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, $ = /* @__PURE__ */ m.forwardRef(function(n, r) {
|
|
120
|
-
let {
|
|
121
|
-
onClick: a,
|
|
122
|
-
relative: t,
|
|
123
|
-
reloadDocument: i,
|
|
124
|
-
replace: o,
|
|
125
|
-
state: s,
|
|
126
|
-
target: u,
|
|
127
|
-
to: l,
|
|
128
|
-
preventScrollReset: d,
|
|
129
|
-
unstable_viewTransition: h
|
|
130
|
-
} = n, v = K(n, de), {
|
|
131
|
-
basename: N
|
|
132
|
-
} = m.useContext(P), b, w = !1;
|
|
133
|
-
if (typeof l == "string" && ye.test(l) && (b = l, we))
|
|
134
|
-
try {
|
|
135
|
-
let p = new URL(window.location.href), f = l.startsWith("//") ? new URL(p.protocol + l) : new URL(l), C = E(f.pathname, N);
|
|
136
|
-
f.origin === p.origin && C != null ? l = C + f.search + f.hash : w = !0;
|
|
137
|
-
} catch {
|
|
138
|
-
process.env.NODE_ENV !== "production" && B(!1, '<Link to="' + l + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
|
|
139
|
-
}
|
|
140
|
-
let y = Q(l, {
|
|
141
|
-
relative: t
|
|
142
|
-
}), g = Se(l, {
|
|
143
|
-
replace: o,
|
|
144
|
-
state: s,
|
|
145
|
-
target: u,
|
|
146
|
-
preventScrollReset: d,
|
|
147
|
-
relative: t,
|
|
148
|
-
unstable_viewTransition: h
|
|
149
|
-
});
|
|
150
|
-
function c(p) {
|
|
151
|
-
a && a(p), p.defaultPrevented || g(p);
|
|
152
|
-
}
|
|
153
|
-
return (
|
|
154
|
-
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
155
|
-
/* @__PURE__ */ m.createElement("a", x({}, v, {
|
|
156
|
-
href: b || y,
|
|
157
|
-
onClick: w || i ? a : c,
|
|
158
|
-
ref: r,
|
|
159
|
-
target: u
|
|
160
|
-
}))
|
|
161
|
-
);
|
|
162
|
-
});
|
|
163
|
-
process.env.NODE_ENV !== "production" && ($.displayName = "Link");
|
|
164
|
-
const q = /* @__PURE__ */ m.forwardRef(function(n, r) {
|
|
165
|
-
let {
|
|
166
|
-
"aria-current": a = "page",
|
|
167
|
-
caseSensitive: t = !1,
|
|
168
|
-
className: i = "",
|
|
169
|
-
end: o = !1,
|
|
170
|
-
style: s,
|
|
171
|
-
to: u,
|
|
172
|
-
unstable_viewTransition: l,
|
|
173
|
-
children: d
|
|
174
|
-
} = n, h = K(n, pe), v = D(u, {
|
|
175
|
-
relative: h.relative
|
|
176
|
-
}), N = I(), b = m.useContext(J), {
|
|
177
|
-
navigator: w,
|
|
178
|
-
basename: y
|
|
179
|
-
} = m.useContext(P), g = b != null && // Conditional usage is OK here because the usage of a data router is static
|
|
180
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
181
|
-
Le(v) && l === !0, c = w.encodeLocation ? w.encodeLocation(v).pathname : v.pathname, p = N.pathname, f = b && b.navigation && b.navigation.location ? b.navigation.location.pathname : null;
|
|
182
|
-
t || (p = p.toLowerCase(), f = f ? f.toLowerCase() : null, c = c.toLowerCase()), f && y && (f = E(f, y) || f);
|
|
183
|
-
const C = c !== "/" && c.endsWith("/") ? c.length - 1 : c.length;
|
|
184
|
-
let O = p === c || !o && p.startsWith(c) && p.charAt(C) === "/", j = f != null && (f === c || !o && f.startsWith(c) && f.charAt(c.length) === "/"), k = {
|
|
185
|
-
isActive: O,
|
|
186
|
-
isPending: j,
|
|
187
|
-
isTransitioning: g
|
|
188
|
-
}, H = O ? a : void 0, V;
|
|
189
|
-
typeof i == "function" ? V = i(k) : V = [i, O ? "active" : null, j ? "pending" : null, g ? "transitioning" : null].filter(Boolean).join(" ");
|
|
190
|
-
let X = typeof s == "function" ? s(k) : s;
|
|
191
|
-
return /* @__PURE__ */ m.createElement($, x({}, h, {
|
|
192
|
-
"aria-current": H,
|
|
193
|
-
className: V,
|
|
194
|
-
ref: r,
|
|
195
|
-
style: X,
|
|
196
|
-
to: u,
|
|
197
|
-
unstable_viewTransition: l
|
|
198
|
-
}), typeof d == "function" ? d(k) : d);
|
|
199
|
-
});
|
|
200
|
-
process.env.NODE_ENV !== "production" && (q.displayName = "NavLink");
|
|
201
|
-
const ge = /* @__PURE__ */ m.forwardRef((e, n) => {
|
|
202
|
-
let {
|
|
203
|
-
fetcherKey: r,
|
|
204
|
-
navigate: a,
|
|
205
|
-
reloadDocument: t,
|
|
206
|
-
replace: i,
|
|
207
|
-
state: o,
|
|
208
|
-
method: s = _,
|
|
209
|
-
action: u,
|
|
210
|
-
onSubmit: l,
|
|
211
|
-
relative: d,
|
|
212
|
-
preventScrollReset: h,
|
|
213
|
-
unstable_viewTransition: v
|
|
214
|
-
} = e, N = K(e, he), b = Re(), w = _e(u, {
|
|
215
|
-
relative: d
|
|
216
|
-
}), y = s.toLowerCase() === "get" ? "get" : "post", g = (c) => {
|
|
217
|
-
if (l && l(c), c.defaultPrevented)
|
|
218
|
-
return;
|
|
219
|
-
c.preventDefault();
|
|
220
|
-
let p = c.nativeEvent.submitter, f = (p == null ? void 0 : p.getAttribute("formmethod")) || s;
|
|
221
|
-
b(p || c.currentTarget, {
|
|
222
|
-
fetcherKey: r,
|
|
223
|
-
method: f,
|
|
224
|
-
navigate: a,
|
|
225
|
-
replace: i,
|
|
226
|
-
state: o,
|
|
227
|
-
relative: d,
|
|
228
|
-
preventScrollReset: h,
|
|
229
|
-
unstable_viewTransition: v
|
|
230
|
-
});
|
|
231
|
-
};
|
|
232
|
-
return /* @__PURE__ */ m.createElement("form", x({
|
|
233
|
-
ref: n,
|
|
234
|
-
method: y,
|
|
235
|
-
action: w,
|
|
236
|
-
onSubmit: t ? l : g
|
|
237
|
-
}, N));
|
|
238
|
-
});
|
|
239
|
-
process.env.NODE_ENV !== "production" && (ge.displayName = "Form");
|
|
240
|
-
process.env.NODE_ENV;
|
|
241
|
-
var T;
|
|
242
|
-
(function(e) {
|
|
243
|
-
e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFetcher", e.useViewTransitionState = "useViewTransitionState";
|
|
244
|
-
})(T || (T = {}));
|
|
245
|
-
var W;
|
|
246
|
-
(function(e) {
|
|
247
|
-
e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
|
|
248
|
-
})(W || (W = {}));
|
|
249
|
-
function Ee(e) {
|
|
250
|
-
return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
|
|
251
|
-
}
|
|
252
|
-
function G(e) {
|
|
253
|
-
let n = m.useContext(Z);
|
|
254
|
-
return n || (process.env.NODE_ENV !== "production" ? S(!1, Ee(e)) : S(!1)), n;
|
|
255
|
-
}
|
|
256
|
-
function Se(e, n) {
|
|
257
|
-
let {
|
|
258
|
-
target: r,
|
|
259
|
-
replace: a,
|
|
260
|
-
state: t,
|
|
261
|
-
preventScrollReset: i,
|
|
262
|
-
relative: o,
|
|
263
|
-
unstable_viewTransition: s
|
|
264
|
-
} = n === void 0 ? {} : n, u = ee(), l = I(), d = D(e, {
|
|
265
|
-
relative: o
|
|
266
|
-
});
|
|
267
|
-
return m.useCallback((h) => {
|
|
268
|
-
if (ue(h, r)) {
|
|
269
|
-
h.preventDefault();
|
|
270
|
-
let v = a !== void 0 ? a : A(l) === A(d);
|
|
271
|
-
u(e, {
|
|
272
|
-
replace: v,
|
|
273
|
-
state: t,
|
|
274
|
-
preventScrollReset: i,
|
|
275
|
-
relative: o,
|
|
276
|
-
unstable_viewTransition: s
|
|
277
|
-
});
|
|
278
|
-
}
|
|
279
|
-
}, [l, u, d, a, t, r, e, i, o, s]);
|
|
280
|
-
}
|
|
281
|
-
function xe() {
|
|
282
|
-
if (typeof document > "u")
|
|
283
|
-
throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");
|
|
284
|
-
}
|
|
285
|
-
let Ne = 0, Ce = () => "__" + String(++Ne) + "__";
|
|
286
|
-
function Re() {
|
|
287
|
-
let {
|
|
288
|
-
router: e
|
|
289
|
-
} = G(T.UseSubmit), {
|
|
290
|
-
basename: n
|
|
291
|
-
} = m.useContext(P), r = te();
|
|
292
|
-
return m.useCallback(function(a, t) {
|
|
293
|
-
t === void 0 && (t = {}), xe();
|
|
294
|
-
let {
|
|
295
|
-
action: i,
|
|
296
|
-
method: o,
|
|
297
|
-
encType: s,
|
|
298
|
-
formData: u,
|
|
299
|
-
body: l
|
|
300
|
-
} = me(a, n);
|
|
301
|
-
if (t.navigate === !1) {
|
|
302
|
-
let d = t.fetcherKey || Ce();
|
|
303
|
-
e.fetch(d, r, t.action || i, {
|
|
304
|
-
preventScrollReset: t.preventScrollReset,
|
|
305
|
-
formData: u,
|
|
306
|
-
body: l,
|
|
307
|
-
formMethod: t.method || o,
|
|
308
|
-
formEncType: t.encType || s,
|
|
309
|
-
unstable_flushSync: t.unstable_flushSync
|
|
310
|
-
});
|
|
311
|
-
} else
|
|
312
|
-
e.navigate(t.action || i, {
|
|
313
|
-
preventScrollReset: t.preventScrollReset,
|
|
314
|
-
formData: u,
|
|
315
|
-
body: l,
|
|
316
|
-
formMethod: t.method || o,
|
|
317
|
-
formEncType: t.encType || s,
|
|
318
|
-
replace: t.replace,
|
|
319
|
-
state: t.state,
|
|
320
|
-
fromRouteId: r,
|
|
321
|
-
unstable_flushSync: t.unstable_flushSync,
|
|
322
|
-
unstable_viewTransition: t.unstable_viewTransition
|
|
323
|
-
});
|
|
324
|
-
}, [e, n, r]);
|
|
325
|
-
}
|
|
326
|
-
function _e(e, n) {
|
|
327
|
-
let {
|
|
328
|
-
relative: r
|
|
329
|
-
} = n === void 0 ? {} : n, {
|
|
330
|
-
basename: a
|
|
331
|
-
} = m.useContext(P), t = m.useContext(ne);
|
|
332
|
-
t || (process.env.NODE_ENV !== "production" ? S(!1, "useFormAction must be used inside a RouteContext") : S(!1));
|
|
333
|
-
let [i] = t.matches.slice(-1), o = x({}, D(e || ".", {
|
|
334
|
-
relative: r
|
|
335
|
-
})), s = I();
|
|
336
|
-
if (e == null) {
|
|
337
|
-
o.search = s.search;
|
|
338
|
-
let u = new URLSearchParams(o.search);
|
|
339
|
-
u.has("index") && u.get("index") === "" && (u.delete("index"), o.search = u.toString() ? "?" + u.toString() : "");
|
|
340
|
-
}
|
|
341
|
-
return (!e || e === ".") && i.route.index && (o.search = o.search ? o.search.replace(/^\?/, "?index&") : "?index"), a !== "/" && (o.pathname = o.pathname === "/" ? a : re([a, o.pathname])), A(o);
|
|
342
|
-
}
|
|
343
|
-
function Le(e, n) {
|
|
344
|
-
n === void 0 && (n = {});
|
|
345
|
-
let r = m.useContext(z);
|
|
346
|
-
r == null && (process.env.NODE_ENV !== "production" ? S(!1, "`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : S(!1));
|
|
347
|
-
let {
|
|
348
|
-
basename: a
|
|
349
|
-
} = G(T.useViewTransitionState), t = D(e, {
|
|
350
|
-
relative: n.relative
|
|
351
|
-
});
|
|
352
|
-
if (!r.isTransitioning)
|
|
353
|
-
return !1;
|
|
354
|
-
let i = E(r.currentLocation.pathname, a) || r.currentLocation.pathname, o = E(r.nextLocation.pathname, a) || r.nextLocation.pathname;
|
|
355
|
-
return M(t.pathname, o) != null || M(t.pathname, i) != null;
|
|
356
|
-
}
|
|
357
|
-
const Fe = ({
|
|
358
|
-
to: e,
|
|
359
|
-
params: n,
|
|
360
|
-
children: r,
|
|
361
|
-
className: a,
|
|
362
|
-
activeClassName: t,
|
|
363
|
-
style: i,
|
|
364
|
-
onClick: o,
|
|
365
|
-
state: s,
|
|
366
|
-
isDisabled: u
|
|
367
|
-
}) => {
|
|
368
|
-
const l = ae(e, n), d = (h) => {
|
|
369
|
-
if (u)
|
|
370
|
-
return h.preventDefault();
|
|
371
|
-
o && o();
|
|
372
|
-
};
|
|
373
|
-
return /* @__PURE__ */ Y.jsx(
|
|
374
|
-
q,
|
|
375
|
-
{
|
|
376
|
-
to: s ? { pathname: l } : l,
|
|
377
|
-
style: i,
|
|
378
|
-
state: s,
|
|
379
|
-
className: ({ isActive: h }) => h ? `${a} ${t}` : a,
|
|
380
|
-
onClick: d,
|
|
381
|
-
children: r
|
|
382
|
-
}
|
|
383
|
-
);
|
|
384
|
-
};
|
|
385
|
-
export {
|
|
386
|
-
Fe as default
|
|
387
|
-
};
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { j as a } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { c as _ } from "../../index-BHf7G3IG.js";
|
|
3
|
-
import h from "../Label/Label.js";
|
|
4
|
-
import u from "../ValidationError/ValidationError.js";
|
|
5
|
-
import '../../Radio.css';const f = "_container_a9a9s_2", N = "_checkmark_a9a9s_2", b = "_inline_a9a9s_2", v = "_disabled_a9a9s_2", g = "_text_a9a9s_2", s = {
|
|
6
|
-
container: f,
|
|
7
|
-
checkmark: N,
|
|
8
|
-
inline: b,
|
|
9
|
-
disabled: v,
|
|
10
|
-
text: g
|
|
11
|
-
}, R = ({
|
|
12
|
-
name: i,
|
|
13
|
-
label: n,
|
|
14
|
-
isDisabled: t,
|
|
15
|
-
checked: c,
|
|
16
|
-
isInline: l,
|
|
17
|
-
onChange: r,
|
|
18
|
-
setContext: e,
|
|
19
|
-
suffixBtn: m,
|
|
20
|
-
...x
|
|
21
|
-
}) => {
|
|
22
|
-
const d = (o) => {
|
|
23
|
-
e && e({ label: `${n}`, value: o.currentTarget.value }), r && r(o);
|
|
24
|
-
};
|
|
25
|
-
return /* @__PURE__ */ a.jsxs("div", { className: _("flex", s.container), "data-testid": "radio-container", children: [
|
|
26
|
-
/* @__PURE__ */ a.jsxs(
|
|
27
|
-
h,
|
|
28
|
-
{
|
|
29
|
-
className: _({
|
|
30
|
-
[s.inline]: l,
|
|
31
|
-
[s.disabled]: t
|
|
32
|
-
}),
|
|
33
|
-
name: i,
|
|
34
|
-
children: [
|
|
35
|
-
/* @__PURE__ */ a.jsx("span", { className: s.text, children: n }),
|
|
36
|
-
/* @__PURE__ */ a.jsx(
|
|
37
|
-
"input",
|
|
38
|
-
{
|
|
39
|
-
type: "radio",
|
|
40
|
-
"data-testid": "radio-input",
|
|
41
|
-
name: i,
|
|
42
|
-
disabled: t,
|
|
43
|
-
defaultChecked: c,
|
|
44
|
-
...x,
|
|
45
|
-
onChange: d
|
|
46
|
-
}
|
|
47
|
-
),
|
|
48
|
-
/* @__PURE__ */ a.jsx("span", { className: s.checkmark, "data-testid": "radio-checkmark" })
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
),
|
|
52
|
-
m
|
|
53
|
-
] });
|
|
54
|
-
}, C = ({
|
|
55
|
-
name: i,
|
|
56
|
-
items: n,
|
|
57
|
-
value: t,
|
|
58
|
-
label: c,
|
|
59
|
-
isInline: l = !0,
|
|
60
|
-
setContext: r,
|
|
61
|
-
error: e,
|
|
62
|
-
className: m,
|
|
63
|
-
...x
|
|
64
|
-
}) => /* @__PURE__ */ a.jsxs("div", { className: "form-group", "data-testid": "radiolist", children: [
|
|
65
|
-
c && /* @__PURE__ */ a.jsx(h, { children: c }),
|
|
66
|
-
/* @__PURE__ */ a.jsx(
|
|
67
|
-
"div",
|
|
68
|
-
{
|
|
69
|
-
className: _(s.container, m, {
|
|
70
|
-
[s.error]: e
|
|
71
|
-
}),
|
|
72
|
-
children: n.map(
|
|
73
|
-
({ value: d, label: o, isDisabled: j, suffixBtn: k }, p) => /* @__PURE__ */ a.jsx(
|
|
74
|
-
R,
|
|
75
|
-
{
|
|
76
|
-
label: o,
|
|
77
|
-
name: i,
|
|
78
|
-
checked: t === d,
|
|
79
|
-
value: d,
|
|
80
|
-
isDisabled: j,
|
|
81
|
-
isInline: l,
|
|
82
|
-
setContext: r,
|
|
83
|
-
suffixBtn: k,
|
|
84
|
-
...x
|
|
85
|
-
},
|
|
86
|
-
`${t}-${p}`
|
|
87
|
-
)
|
|
88
|
-
)
|
|
89
|
-
}
|
|
90
|
-
),
|
|
91
|
-
e && /* @__PURE__ */ a.jsx(u, { ...e })
|
|
92
|
-
] });
|
|
93
|
-
export {
|
|
94
|
-
C as RadioList,
|
|
95
|
-
R as default
|
|
96
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { j as r } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import p from "../Button/Button.js";
|
|
3
|
-
import { AppearanceButton as i } from "../../enums/appearance.js";
|
|
4
|
-
import '../../ResultError.css';const n = "_wrap_1dz1s_2", c = {
|
|
5
|
-
wrap: n
|
|
6
|
-
}, j = ({
|
|
7
|
-
title: t,
|
|
8
|
-
text: e,
|
|
9
|
-
image: a,
|
|
10
|
-
buttonText: s,
|
|
11
|
-
onClick: o
|
|
12
|
-
}) => /* @__PURE__ */ r.jsx("div", { className: c.wrap, "data-testid": "resulterror", children: /* @__PURE__ */ r.jsxs("div", { children: [
|
|
13
|
-
/* @__PURE__ */ r.jsx("h1", { children: t }),
|
|
14
|
-
/* @__PURE__ */ r.jsx("p", { children: e }),
|
|
15
|
-
/* @__PURE__ */ r.jsx("img", { src: a, alt: "Error" }),
|
|
16
|
-
s && /* @__PURE__ */ r.jsx(p, { onClick: o, appearance: i.DEFAULT, children: s })
|
|
17
|
-
] }) });
|
|
18
|
-
export {
|
|
19
|
-
j as default
|
|
20
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { j as r } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { c as e } from "../../index-BHf7G3IG.js";
|
|
3
|
-
import '../../ScrollContainer.css';const c = "_container_12r4s_2", i = {
|
|
4
|
-
container: c
|
|
5
|
-
}, d = ({
|
|
6
|
-
children: s,
|
|
7
|
-
maxHeight: t,
|
|
8
|
-
height: o,
|
|
9
|
-
className: a,
|
|
10
|
-
onScroll: n
|
|
11
|
-
}) => /* @__PURE__ */ r.jsx(
|
|
12
|
-
"div",
|
|
13
|
-
{
|
|
14
|
-
onScroll: n,
|
|
15
|
-
"data-testid": "scroll-container",
|
|
16
|
-
className: e(a, i.container),
|
|
17
|
-
style: { maxHeight: t, height: o },
|
|
18
|
-
children: s
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
export {
|
|
22
|
-
d as default
|
|
23
|
-
};
|