@reportportal/ui-kit 0.0.1-alpha.8 → 0.0.1-alpha.81
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 +71 -13
- package/dist/arrowUp-4a5caee7.js +6 -0
- package/dist/baseIconButton-251479f7.js +25 -0
- package/dist/baseIconButton.js +1 -1
- package/dist/button-e0bd064d.js +66 -0
- package/dist/button.js +1 -1
- package/dist/calendarArrow-3e1339ea.js +6 -0
- package/dist/checkbox-aa91985d.js +73 -0
- package/dist/checkbox.js +1 -1
- package/dist/close-4d480ef7.js +5 -0
- package/dist/common/hooks/useOnClickOutside.d.ts +1 -0
- package/dist/common/types.d.ts +3 -0
- package/dist/components/{icons/baseIconButton → baseIconButton}/baseIconButton.d.ts +1 -0
- package/dist/components/{icons/baseIconButton → baseIconButton}/index.d.ts +1 -0
- package/dist/components/bubblesLoader/bubblesLoader.d.ts +1 -0
- package/dist/components/bubblesLoader/index.d.ts +1 -0
- package/dist/components/button/button.d.ts +5 -4
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/checkbox/checkbox.d.ts +4 -1
- package/dist/components/checkbox/index.d.ts +1 -0
- package/dist/components/datePicker/datePicker.d.ts +25 -0
- package/dist/components/datePicker/header/datePickerHeader.d.ts +16 -0
- package/dist/components/datePicker/header/index.d.ts +4 -0
- package/dist/components/datePicker/index.d.ts +5 -0
- package/dist/components/datePicker/utils.d.ts +4 -0
- package/dist/components/dropdown/constants.d.ts +1 -0
- package/dist/components/dropdown/dropdown.d.ts +13 -4
- package/dist/components/dropdown/dropdownOption/dropdownOption.d.ts +1 -0
- package/dist/components/dropdown/dropdownOption/index.d.ts +1 -0
- package/dist/components/dropdown/index.d.ts +1 -0
- package/dist/components/dropdown/types.d.ts +3 -0
- package/dist/components/dropdown/utils.d.ts +2 -1
- package/dist/components/fieldLabel/fieldLabel.d.ts +7 -0
- package/dist/components/fieldLabel/index.d.ts +1 -0
- package/dist/components/fieldNumber/constants.d.ts +1 -0
- package/dist/components/fieldNumber/fieldNumber.d.ts +3 -2
- package/dist/components/fieldNumber/index.d.ts +1 -0
- package/dist/components/fieldText/fieldText.d.ts +13 -4
- package/dist/components/fieldText/index.d.ts +1 -0
- package/dist/components/fieldTextFlex/fieldTextFlex.d.ts +4 -2
- package/dist/components/fieldTextFlex/index.d.ts +1 -0
- package/dist/components/icons/index.d.ts +46 -3
- package/dist/components/index.d.ts +10 -0
- package/dist/components/maxValueDisplay/index.d.ts +4 -0
- package/dist/components/maxValueDisplay/maxValueDisplay.d.ts +8 -0
- package/dist/components/maxValueDisplay/utils/index.d.ts +1 -0
- package/dist/components/maxValueDisplay/utils/isPositiveInteger.d.ts +1 -0
- package/dist/components/modal/modal.d.ts +5 -2
- package/dist/components/modal/modalContent/modalContent.d.ts +2 -0
- package/dist/components/modal/modalFooter/modalFooter.d.ts +1 -0
- package/dist/components/modal/modalHeader/modalHeader.d.ts +2 -1
- package/dist/components/pagination/index.d.ts +5 -0
- package/dist/components/pagination/itemsCounter/index.d.ts +1 -0
- package/dist/components/pagination/itemsCounter/itemCounter.d.ts +10 -0
- package/dist/components/pagination/pageControls/activePage/activePage.d.ts +13 -0
- package/dist/components/pagination/pageControls/activePage/index.d.ts +1 -0
- package/dist/components/pagination/pageControls/activePage/pageSelector/index.d.ts +1 -0
- package/dist/components/pagination/pageControls/activePage/pageSelector/pageSelector.d.ts +11 -0
- package/dist/components/pagination/pageControls/index.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageControls.d.ts +17 -0
- package/dist/components/pagination/pageControls/pageNavigator/bar/bar.d.ts +12 -0
- package/dist/components/pagination/pageControls/pageNavigator/bar/index.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageNavigator/index.d.ts +1 -0
- package/dist/components/pagination/pageControls/pageNavigator/pageNavigator.d.ts +12 -0
- package/dist/components/pagination/pageSizeControl/index.d.ts +1 -0
- package/dist/components/pagination/pageSizeControl/pageSizeControl.d.ts +11 -0
- package/dist/components/pagination/pageSizeControl/sizeSelector/index.d.ts +1 -0
- package/dist/components/pagination/pageSizeControl/sizeSelector/sizeSelector.d.ts +9 -0
- package/dist/components/pagination/pagination.d.ts +23 -0
- package/dist/components/pagination/types.d.ts +2 -0
- package/dist/components/popover/index.d.ts +4 -0
- package/dist/components/popover/popover.d.ts +19 -0
- package/dist/components/radio/index.d.ts +1 -0
- package/dist/components/radio/radio.d.ts +1 -0
- package/dist/components/radio/radioGroup.d.ts +1 -0
- package/dist/components/spinLoader/index.d.ts +4 -0
- package/dist/components/spinLoader/spinLoader.d.ts +8 -0
- package/dist/components/systemAlert/index.d.ts +1 -0
- package/dist/components/systemAlert/systemAlert.d.ts +4 -0
- package/dist/components/systemAlert/types.d.ts +16 -0
- package/dist/components/systemMessage/index.d.ts +1 -0
- package/dist/components/systemMessage/systemMessage.d.ts +1 -0
- package/dist/components/table/constants.d.ts +2 -0
- package/dist/components/table/index.d.ts +4 -0
- package/dist/components/table/table.d.ts +4 -0
- package/dist/components/table/types.d.ts +52 -0
- package/dist/components/table/utils.d.ts +6 -0
- package/dist/components/themeProvider/index.d.ts +1 -0
- package/dist/components/themeProvider/themeProvider.d.ts +1 -0
- package/dist/components/toggle/index.d.ts +1 -0
- package/dist/components/toggle/toggle.d.ts +1 -0
- package/dist/components/tooltip/index.d.ts +1 -0
- package/dist/components/tooltip/tooltip.d.ts +23 -0
- package/dist/datePicker-27b11ae9.js +201 -0
- package/dist/datePicker.js +28 -0
- package/dist/dropdown-0260bb66.js +5 -0
- package/dist/dropdown-9427f821.js +282 -0
- package/dist/dropdown.js +5 -2
- package/dist/fieldLabel.js +18 -0
- package/dist/fieldNumber-2542b311.js +128 -0
- package/dist/fieldNumber.js +4 -2
- package/dist/fieldText-a61890cd.js +166 -0
- package/dist/fieldText.js +6 -2
- package/dist/fieldTextFlex-9e616f66.js +78 -0
- package/dist/fieldTextFlex.js +10 -0
- package/dist/fonts/OpenSans/OpenSans-Bold.ttf +0 -0
- package/dist/fonts/OpenSans/OpenSans-Medium.ttf +0 -0
- package/dist/icons.js +62 -0
- package/dist/index.js +106 -30
- package/dist/maxValueDisplay-9be01a75.js +13 -0
- package/dist/maxValueDisplay.js +6 -0
- package/dist/modal.js +144 -14
- package/dist/openEye-7b9cf080.js +7 -0
- package/dist/pagination-0e7eebc6.js +345 -0
- package/dist/pagination.js +20 -0
- package/dist/plus-0929dda4.js +6 -0
- package/dist/popover.js +99 -0
- package/dist/prevPage-87faf576.js +6 -0
- package/dist/radio-62546efa.js +76 -0
- package/dist/radio.js +9 -0
- package/dist/spinLoader-c4a53718.js +11 -0
- package/dist/spinLoader.js +7 -0
- package/dist/style.css +1 -1
- package/dist/success-8fd8bd2c.js +7 -0
- package/dist/systemAlert.js +63 -0
- package/dist/systemMessage-924fdaa6.js +30 -0
- package/dist/systemMessage.js +1 -1
- package/dist/table-20aa2cdf.js +142 -0
- package/dist/table.js +11 -0
- package/dist/toggle-304107fa.js +59 -0
- package/dist/toggle.js +1 -1
- package/dist/tooltip.js +101 -0
- package/package.json +30 -17
- package/dist/baseIconButton-7bc53dec.js +0 -25
- package/dist/button-497b4d19.js +0 -62
- package/dist/checkbox-1e21cf3e.js +0 -68
- package/dist/dropdown-e07f2a71.js +0 -212
- package/dist/fieldNumber-46fe79b9.js +0 -127
- package/dist/fieldText-65a50d9d.js +0 -101
- package/dist/index-2bee4457.js +0 -131
- package/dist/systemMessage-1ced6079.js +0 -30
- package/dist/toggle-707ecb74.js +0 -67
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { jsxs as x, Fragment as U, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import $ from "react-datepicker/dist/es/index.js";
|
|
3
|
+
import { c as R } from "./bind-06a7ff84.js";
|
|
4
|
+
import { useMemo as P, useRef as B } from "react";
|
|
5
|
+
import { F as D } from "./fieldText-a61890cd.js";
|
|
6
|
+
import { a as E, S as j } from "./calendarArrow-3e1339ea.js";
|
|
7
|
+
import { D as T } from "./dropdown-9427f821.js";
|
|
8
|
+
import { registerLocale as G } from "react-datepicker";
|
|
9
|
+
const pe = (r, s) => {
|
|
10
|
+
G(r, s);
|
|
11
|
+
}, H = (r, s = 20) => {
|
|
12
|
+
const l = r + s;
|
|
13
|
+
return new Array(l - r).fill(void 0).map((g, o) => r - o);
|
|
14
|
+
}, V = "_header_1q16i_1", O = "_disabled_1q16i_25", W = "_dropdown_1q16i_8", z = {
|
|
15
|
+
header: V,
|
|
16
|
+
"dropdowns-wrapper": "_dropdowns-wrapper_1q16i_8",
|
|
17
|
+
"button-prev": "_button-prev_1q16i_13",
|
|
18
|
+
"button-next": "_button-next_1q16i_14",
|
|
19
|
+
disabled: O,
|
|
20
|
+
dropdown: W,
|
|
21
|
+
"month-dropdown": "_month-dropdown_1q16i_44",
|
|
22
|
+
"toggle-button": "_toggle-button_1q16i_47"
|
|
23
|
+
}, a = R.bind(z), J = ({
|
|
24
|
+
date: r = /* @__PURE__ */ new Date(),
|
|
25
|
+
changeYear: s = () => {
|
|
26
|
+
},
|
|
27
|
+
changeMonth: l = () => {
|
|
28
|
+
},
|
|
29
|
+
decreaseMonth: g = () => {
|
|
30
|
+
},
|
|
31
|
+
increaseMonth: o = () => {
|
|
32
|
+
},
|
|
33
|
+
prevMonthButtonDisabled: n = !1,
|
|
34
|
+
nextMonthButtonDisabled: h = !1,
|
|
35
|
+
headerNodes: b = null,
|
|
36
|
+
customClassName: w = "",
|
|
37
|
+
yearsOptions: i = [],
|
|
38
|
+
locale: C
|
|
39
|
+
}) => {
|
|
40
|
+
const p = r.getFullYear(), N = r.getMonth(), f = P(() => {
|
|
41
|
+
const e = Array(12).keys(), d = new Intl.DateTimeFormat(C, {
|
|
42
|
+
month: "long"
|
|
43
|
+
}), c = (m) => d.format(new Date(p, m));
|
|
44
|
+
return Array.from(e, c).reduce((m, k, S) => m.concat({
|
|
45
|
+
value: S,
|
|
46
|
+
label: k
|
|
47
|
+
}), []);
|
|
48
|
+
}, []), v = P(() => (i.length > 0 ? i : H(p)).reduce(
|
|
49
|
+
(d, c) => d.concat({ value: c, label: `${c}` }),
|
|
50
|
+
[]
|
|
51
|
+
), [i]), y = (e) => {
|
|
52
|
+
l(e);
|
|
53
|
+
}, A = (e) => {
|
|
54
|
+
s(e);
|
|
55
|
+
};
|
|
56
|
+
return /* @__PURE__ */ x(U, { children: [
|
|
57
|
+
b && /* @__PURE__ */ t("div", { className: a(w), children: b }),
|
|
58
|
+
/* @__PURE__ */ x("div", { className: a("header"), children: [
|
|
59
|
+
/* @__PURE__ */ t(
|
|
60
|
+
"button",
|
|
61
|
+
{
|
|
62
|
+
"aria-label": "Previous Months",
|
|
63
|
+
disabled: n,
|
|
64
|
+
onClick: (e) => {
|
|
65
|
+
e.stopPropagation(), g();
|
|
66
|
+
},
|
|
67
|
+
className: a("button-prev", { disabled: n }),
|
|
68
|
+
children: /* @__PURE__ */ t(E, {})
|
|
69
|
+
}
|
|
70
|
+
),
|
|
71
|
+
/* @__PURE__ */ x("div", { className: a("dropdowns-wrapper"), children: [
|
|
72
|
+
/* @__PURE__ */ t(
|
|
73
|
+
T,
|
|
74
|
+
{
|
|
75
|
+
options: f,
|
|
76
|
+
value: N,
|
|
77
|
+
onChange: y,
|
|
78
|
+
transparentBackground: !0,
|
|
79
|
+
className: a("dropdown", "month-dropdown"),
|
|
80
|
+
toggleButtonClassName: a("toggle-button")
|
|
81
|
+
}
|
|
82
|
+
),
|
|
83
|
+
/* @__PURE__ */ t(
|
|
84
|
+
T,
|
|
85
|
+
{
|
|
86
|
+
options: v,
|
|
87
|
+
value: p,
|
|
88
|
+
onChange: A,
|
|
89
|
+
transparentBackground: !0,
|
|
90
|
+
className: a("dropdown"),
|
|
91
|
+
toggleButtonClassName: a("toggle-button")
|
|
92
|
+
}
|
|
93
|
+
)
|
|
94
|
+
] }),
|
|
95
|
+
/* @__PURE__ */ t(
|
|
96
|
+
"button",
|
|
97
|
+
{
|
|
98
|
+
"aria-label": "Next Months",
|
|
99
|
+
disabled: h,
|
|
100
|
+
onClick: (e) => {
|
|
101
|
+
e.stopPropagation(), o();
|
|
102
|
+
},
|
|
103
|
+
className: a("button-next", { disabled: h }),
|
|
104
|
+
children: /* @__PURE__ */ t(E, {})
|
|
105
|
+
}
|
|
106
|
+
)
|
|
107
|
+
] })
|
|
108
|
+
] });
|
|
109
|
+
}, K = "_calendar_1pok6_5", Q = "_date_1pok6_90", X = "_disabled_1pok6_202", Z = "_popper_1pok6_210", ee = "_input_1pok6_214", oe = {
|
|
110
|
+
calendar: K,
|
|
111
|
+
"current-date": "_current-date_1pok6_89",
|
|
112
|
+
date: Q,
|
|
113
|
+
"selected-range": "_selected-range_1pok6_119",
|
|
114
|
+
"end-date": "_end-date_1pok6_119",
|
|
115
|
+
disabled: X,
|
|
116
|
+
popper: Z,
|
|
117
|
+
input: ee
|
|
118
|
+
}, _ = R.bind(oe), ne = "en", L = "MM-dd-yyyy", me = ({
|
|
119
|
+
onChange: r = () => {
|
|
120
|
+
},
|
|
121
|
+
disabled: s = !1,
|
|
122
|
+
onBlur: l = () => {
|
|
123
|
+
},
|
|
124
|
+
onFocus: g = () => {
|
|
125
|
+
},
|
|
126
|
+
endDate: o = void 0,
|
|
127
|
+
startDate: n = void 0,
|
|
128
|
+
headerNodes: h = null,
|
|
129
|
+
customClassName: b = "",
|
|
130
|
+
customTimeInput: w = void 0,
|
|
131
|
+
shouldCloseOnSelect: i = !0,
|
|
132
|
+
popperClassName: C = "",
|
|
133
|
+
calendarClassName: p = "",
|
|
134
|
+
fixedHeight: N = !1,
|
|
135
|
+
language: f = ne,
|
|
136
|
+
yearsOptions: v = [],
|
|
137
|
+
placeholder: y = L.toUpperCase(),
|
|
138
|
+
dateFormat: A = L,
|
|
139
|
+
selects: e = "start",
|
|
140
|
+
value: d = null
|
|
141
|
+
}) => {
|
|
142
|
+
const c = B(null), F = n == null ? void 0 : n.toDateString(), m = o == null ? void 0 : o.toDateString(), k = o && n && o > n, S = (u) => {
|
|
143
|
+
const M = u.toDateString(), Y = M === F, q = k && M === m, I = n && o && u > n && u < o;
|
|
144
|
+
return _("date", {
|
|
145
|
+
"current-date": Y,
|
|
146
|
+
"selected-range": I && !q,
|
|
147
|
+
"end-date": q && k,
|
|
148
|
+
disabled: s
|
|
149
|
+
});
|
|
150
|
+
};
|
|
151
|
+
return /* @__PURE__ */ t(
|
|
152
|
+
$,
|
|
153
|
+
{
|
|
154
|
+
customInput: /* @__PURE__ */ t(
|
|
155
|
+
D,
|
|
156
|
+
{
|
|
157
|
+
className: _("input"),
|
|
158
|
+
defaultWidth: !1,
|
|
159
|
+
endIcon: /* @__PURE__ */ t(j, {}),
|
|
160
|
+
ref: c
|
|
161
|
+
}
|
|
162
|
+
),
|
|
163
|
+
placeholderText: y,
|
|
164
|
+
selected: d,
|
|
165
|
+
startDate: n,
|
|
166
|
+
endDate: o,
|
|
167
|
+
minDate: e === "end" ? n : void 0,
|
|
168
|
+
disabled: s,
|
|
169
|
+
shouldCloseOnSelect: i,
|
|
170
|
+
fixedHeight: N,
|
|
171
|
+
locale: f,
|
|
172
|
+
showPopperArrow: !1,
|
|
173
|
+
dayClassName: S,
|
|
174
|
+
calendarClassName: _(p, "calendar"),
|
|
175
|
+
renderCustomHeader: (u) => /* @__PURE__ */ t(
|
|
176
|
+
J,
|
|
177
|
+
{
|
|
178
|
+
...u,
|
|
179
|
+
headerNodes: h,
|
|
180
|
+
customClassName: b,
|
|
181
|
+
yearsOptions: v,
|
|
182
|
+
locale: f
|
|
183
|
+
}
|
|
184
|
+
),
|
|
185
|
+
onChange: r,
|
|
186
|
+
onBlur: l,
|
|
187
|
+
onFocus: g,
|
|
188
|
+
customTimeInput: w,
|
|
189
|
+
showTimeInput: !!w,
|
|
190
|
+
popperClassName: _(C, "popper"),
|
|
191
|
+
dateFormat: A,
|
|
192
|
+
selectsStart: e === "start",
|
|
193
|
+
selectsEnd: e === "end",
|
|
194
|
+
className: _("datepicker")
|
|
195
|
+
}
|
|
196
|
+
);
|
|
197
|
+
};
|
|
198
|
+
export {
|
|
199
|
+
me as D,
|
|
200
|
+
pe as r
|
|
201
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { D as t } from "./datePicker-27b11ae9.js";
|
|
2
|
+
import { r as v } from "./datePicker-27b11ae9.js";
|
|
3
|
+
import "react/jsx-runtime";
|
|
4
|
+
import "react-datepicker/dist/es/index.js";
|
|
5
|
+
import "./bind-06a7ff84.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import "./fieldText-a61890cd.js";
|
|
8
|
+
import "./openEye-7b9cf080.js";
|
|
9
|
+
import "./button-e0bd064d.js";
|
|
10
|
+
import "./spinLoader-c4a53718.js";
|
|
11
|
+
import "./maxValueDisplay-9be01a75.js";
|
|
12
|
+
import "./fieldLabel.js";
|
|
13
|
+
import "./calendarArrow-3e1339ea.js";
|
|
14
|
+
import "./dropdown-9427f821.js";
|
|
15
|
+
import "@floating-ui/react-dom";
|
|
16
|
+
import "downshift";
|
|
17
|
+
import "rc-scrollbars";
|
|
18
|
+
import "./useOnClickOutside-c332f7d3.js";
|
|
19
|
+
import "./keyCodes-f63c0e11.js";
|
|
20
|
+
import "./baseIconButton-251479f7.js";
|
|
21
|
+
import "./dropdown-0260bb66.js";
|
|
22
|
+
import "./checkbox-aa91985d.js";
|
|
23
|
+
import "react-datepicker";
|
|
24
|
+
export {
|
|
25
|
+
t as DatePicker,
|
|
26
|
+
t as default,
|
|
27
|
+
v as registerDatePickerLocale
|
|
28
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const o = (t) => /* @__PURE__ */ e.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ e.createElement("path", { d: "M14.2174 5.82426C14.3736 5.66805 14.3736 5.41479 14.2174 5.25858L14.0759 5.11716C13.9197 4.96095 13.6665 4.96095 13.5103 5.11716L8.16726 10.4602L2.82426 5.11716C2.66805 4.96095 2.41479 4.96095 2.25858 5.11716L2.11716 5.25858C1.96095 5.41479 1.96095 5.66805 2.11716 5.82426L7.89176 11.5989C8.04797 11.7551 8.30124 11.7551 8.45745 11.5989L8.88171 11.1746L8.87436 11.1673L14.2174 5.82426Z", fill: "#A2AAB5" }));
|
|
3
|
+
export {
|
|
4
|
+
o as S
|
|
5
|
+
};
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
import { jsxs as u, jsx as d, Fragment as U } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as _e, useState as q, useRef as he } from "react";
|
|
3
|
+
import { c as J } from "./bind-06a7ff84.js";
|
|
4
|
+
import { useFloating as fe, offset as ue, flip as ge } from "@floating-ui/react-dom";
|
|
5
|
+
import { useSelect as P } from "downshift";
|
|
6
|
+
import { Scrollbars as pe } from "rc-scrollbars";
|
|
7
|
+
import { u as me } from "./useOnClickOutside-c332f7d3.js";
|
|
8
|
+
import { K as p } from "./keyCodes-f63c0e11.js";
|
|
9
|
+
import { B as ye } from "./baseIconButton-251479f7.js";
|
|
10
|
+
import { S as be } from "./dropdown-0260bb66.js";
|
|
11
|
+
import { FieldLabel as Ce } from "./fieldLabel.js";
|
|
12
|
+
import { C as Oe } from "./checkbox-aa91985d.js";
|
|
13
|
+
const ke = "_disabled_1etj7_12", Ne = "_hidden_1etj7_16", De = "_hover_1etj7_22", Ee = "_selected_1etj7_34", we = {
|
|
14
|
+
"dropdown-option": "_dropdown-option_1etj7_1",
|
|
15
|
+
disabled: ke,
|
|
16
|
+
hidden: Ne,
|
|
17
|
+
hover: De,
|
|
18
|
+
selected: Ee,
|
|
19
|
+
"multi-select": "_multi-select_1etj7_34",
|
|
20
|
+
"single-option": "_single-option_1etj7_39",
|
|
21
|
+
"sub-option": "_sub-option_1etj7_46"
|
|
22
|
+
}, z = J.bind(we), G = _e(
|
|
23
|
+
(n, t) => {
|
|
24
|
+
const {
|
|
25
|
+
option: { value: r, disabled: i, hidden: v, label: m, title: c, groupRef: a },
|
|
26
|
+
selected: b,
|
|
27
|
+
onChange: y,
|
|
28
|
+
render: C,
|
|
29
|
+
highlightHovered: O,
|
|
30
|
+
onMouseEnter: K,
|
|
31
|
+
multiSelect: h,
|
|
32
|
+
isPartiallyChecked: k = !1
|
|
33
|
+
} = n, A = (N) => {
|
|
34
|
+
(N.target instanceof HTMLDivElement || N.target instanceof HTMLInputElement) && (y == null || y(r));
|
|
35
|
+
};
|
|
36
|
+
return /* @__PURE__ */ u(
|
|
37
|
+
"div",
|
|
38
|
+
{
|
|
39
|
+
className: z("dropdown-option", {
|
|
40
|
+
selected: b,
|
|
41
|
+
disabled: i,
|
|
42
|
+
hidden: v,
|
|
43
|
+
hover: O,
|
|
44
|
+
"multi-select": h
|
|
45
|
+
}),
|
|
46
|
+
title: c,
|
|
47
|
+
onClick: A,
|
|
48
|
+
ref: t,
|
|
49
|
+
onMouseEnter: K,
|
|
50
|
+
children: [
|
|
51
|
+
h && /* @__PURE__ */ d(Oe, { value: !!b, partiallyChecked: k }),
|
|
52
|
+
/* @__PURE__ */ d("div", { className: z("single-option", { "sub-option": !!a }), children: C ? C(n) : m })
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
), ve = [
|
|
58
|
+
p.ENTER_KEY_CODE,
|
|
59
|
+
p.SPACE_KEY_CODE,
|
|
60
|
+
p.ARROW_DOWN_KEY_CODE
|
|
61
|
+
], Ke = [p.ESCAPE_KEY_CODE, p.TAB_KEY_CODE];
|
|
62
|
+
var g = /* @__PURE__ */ ((n) => (n.ON_KEY_DOWN = "onKeyDown", n.ON_CLICK = "onClick", n))(g || {});
|
|
63
|
+
const Ae = (n, t) => {
|
|
64
|
+
const r = Array.isArray(t) ? t : [t];
|
|
65
|
+
return n.findIndex(({ value: i }) => r.includes(i));
|
|
66
|
+
}, xe = (n, t) => (n % t + t) % t, Y = (n, t = 0, r = 1) => {
|
|
67
|
+
if (!n[t].disabled)
|
|
68
|
+
return t;
|
|
69
|
+
const i = n.length;
|
|
70
|
+
return Y(
|
|
71
|
+
n,
|
|
72
|
+
xe(t + r, i),
|
|
73
|
+
r
|
|
74
|
+
);
|
|
75
|
+
}, Ie = (n, t) => Y(n, t), Pe = (n, t) => Y(n, t, -1), Ye = "_container_5enku_1", je = "_icon_5enku_7", Re = "_arrow_5enku_13", Te = "_dropdown_5enku_19", He = "_disabled_5enku_36", Me = "_value_5enku_43", We = "_error_5enku_46", Le = "_touched_5enku_46", Se = "_opened_5enku_50", Ve = "_placeholder_5enku_83", $e = "_ghost_5enku_118", Ue = "_divider_5enku_139", qe = {
|
|
76
|
+
container: Ye,
|
|
77
|
+
icon: je,
|
|
78
|
+
arrow: Re,
|
|
79
|
+
dropdown: Te,
|
|
80
|
+
"transparent-background": "_transparent-background_5enku_33",
|
|
81
|
+
disabled: He,
|
|
82
|
+
value: Me,
|
|
83
|
+
error: We,
|
|
84
|
+
touched: Le,
|
|
85
|
+
opened: Se,
|
|
86
|
+
placeholder: Ve,
|
|
87
|
+
"mobile-disabled": "_mobile-disabled_5enku_87",
|
|
88
|
+
"select-list": "_select-list_5enku_92",
|
|
89
|
+
"limited-width": "_limited-width_5enku_109",
|
|
90
|
+
"options-container": "_options-container_5enku_113",
|
|
91
|
+
ghost: $e,
|
|
92
|
+
divider: Ue
|
|
93
|
+
}, o = J.bind(qe), dt = ({
|
|
94
|
+
multiSelect: n = !1,
|
|
95
|
+
value: t = n ? [] : "",
|
|
96
|
+
options: r = [],
|
|
97
|
+
disabled: i = !1,
|
|
98
|
+
error: v,
|
|
99
|
+
onChange: m,
|
|
100
|
+
onFocus: c,
|
|
101
|
+
onBlur: a,
|
|
102
|
+
mobileDisabled: b,
|
|
103
|
+
title: y,
|
|
104
|
+
touched: C = !1,
|
|
105
|
+
icon: O,
|
|
106
|
+
variant: K,
|
|
107
|
+
placeholder: h = "",
|
|
108
|
+
label: k = "",
|
|
109
|
+
renderOption: A,
|
|
110
|
+
transparentBackground: N = !1,
|
|
111
|
+
className: Q,
|
|
112
|
+
toggleButtonClassName: X,
|
|
113
|
+
isListWidthLimited: Z = !1,
|
|
114
|
+
optionAll: j = { value: "all", label: "All" },
|
|
115
|
+
isOptionAllVisible: R = !1,
|
|
116
|
+
onSelectAll: F = () => {
|
|
117
|
+
},
|
|
118
|
+
formatDisplayedValue: T,
|
|
119
|
+
notScrollable: B = !1,
|
|
120
|
+
footer: H
|
|
121
|
+
}) => {
|
|
122
|
+
const [_, f] = q(!1), M = he(null), [ee, D] = q(null), x = n && Array.isArray(t) ? r.filter((e) => t.includes(e.value)) : null, { refs: W, floatingStyles: te } = fe({
|
|
123
|
+
placement: "bottom-start",
|
|
124
|
+
middleware: [
|
|
125
|
+
ue(5),
|
|
126
|
+
ge({
|
|
127
|
+
fallbackPlacements: ["bottom-start", "top-start", "bottom", "top"]
|
|
128
|
+
})
|
|
129
|
+
]
|
|
130
|
+
}), ne = () => {
|
|
131
|
+
if (R && Array.isArray(t)) {
|
|
132
|
+
const e = r.map((s) => s.value);
|
|
133
|
+
m(t.length === r.length ? [] : e), F();
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
me(M, () => {
|
|
137
|
+
_ && (f(!1), a == null || a());
|
|
138
|
+
});
|
|
139
|
+
const L = (e) => {
|
|
140
|
+
if (!e.disabled) {
|
|
141
|
+
if (n) {
|
|
142
|
+
const s = Array.isArray(t) ? [...t] : [], l = s.indexOf(e.value);
|
|
143
|
+
l === -1 ? s.push(e.value) : s.splice(l, 1), m(s);
|
|
144
|
+
} else
|
|
145
|
+
m(e.value);
|
|
146
|
+
f((s) => n || !s);
|
|
147
|
+
}
|
|
148
|
+
}, re = () => r.find(({ value: e }) => e === t), S = Ae(r, t), {
|
|
149
|
+
getToggleButtonProps: se,
|
|
150
|
+
getLabelProps: ae,
|
|
151
|
+
getMenuProps: de,
|
|
152
|
+
getItemProps: le,
|
|
153
|
+
setHighlightedIndex: E,
|
|
154
|
+
highlightedIndex: V,
|
|
155
|
+
selectedItem: w
|
|
156
|
+
} = P({
|
|
157
|
+
items: r,
|
|
158
|
+
itemToString: (e) => (e != null && e.label ? String(e.label) : h) || "",
|
|
159
|
+
selectedItem: re(),
|
|
160
|
+
isOpen: _,
|
|
161
|
+
circularNavigation: !0,
|
|
162
|
+
defaultHighlightedIndex: S,
|
|
163
|
+
onHighlightedIndexChange: (e) => {
|
|
164
|
+
switch (e.type) {
|
|
165
|
+
case P.stateChangeTypes.MenuKeyDownArrowUp:
|
|
166
|
+
return D(g.ON_KEY_DOWN), E(Pe(r, e.highlightedIndex)), e;
|
|
167
|
+
case P.stateChangeTypes.MenuKeyDownArrowDown:
|
|
168
|
+
return D(g.ON_KEY_DOWN), E(Ie(r, e.highlightedIndex)), e;
|
|
169
|
+
default:
|
|
170
|
+
return e;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}), ie = () => {
|
|
174
|
+
i || (f((e) => !e), _ ? a == null || a() : c == null || c(), D(g.ON_CLICK));
|
|
175
|
+
}, I = (() => {
|
|
176
|
+
if (n && Array.isArray(t) && r.length === t.length)
|
|
177
|
+
return j.label;
|
|
178
|
+
const e = r.reduce((s, l) => ((Array.isArray(t) && t.includes(l.value) || l.value === t) && s.push(l.label), s), []);
|
|
179
|
+
if (e.length > 0)
|
|
180
|
+
return e.join(", ");
|
|
181
|
+
if (!t && t !== !1 && t !== 0 || Array.isArray(t) && !t.length)
|
|
182
|
+
return h;
|
|
183
|
+
})(), oe = (e) => {
|
|
184
|
+
const { keyCode: s } = e;
|
|
185
|
+
ve.includes(s) && !_ && (e.preventDefault(), E(S), f(!0), c == null || c(), D(g.ON_KEY_DOWN));
|
|
186
|
+
}, ce = (e) => {
|
|
187
|
+
const { keyCode: s } = e;
|
|
188
|
+
if (s === p.ENTER_KEY_CODE) {
|
|
189
|
+
const l = r[V];
|
|
190
|
+
L(l), n || (f(!1), a == null || a());
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
Ke.includes(s) && (e.stopPropagation(), f(!1), a == null || a());
|
|
194
|
+
}, $ = () => /* @__PURE__ */ u("div", { className: o("options-container"), children: [
|
|
195
|
+
n && R && Array.isArray(t) && /* @__PURE__ */ u(U, { children: [
|
|
196
|
+
/* @__PURE__ */ d(
|
|
197
|
+
G,
|
|
198
|
+
{
|
|
199
|
+
option: j,
|
|
200
|
+
selected: t.length === r.length,
|
|
201
|
+
onChange: ne,
|
|
202
|
+
multiSelect: n,
|
|
203
|
+
isPartiallyChecked: !!t.length
|
|
204
|
+
}
|
|
205
|
+
),
|
|
206
|
+
/* @__PURE__ */ d("div", { className: o("divider") }),
|
|
207
|
+
" "
|
|
208
|
+
] }),
|
|
209
|
+
r.map((e, s) => /* @__PURE__ */ d(
|
|
210
|
+
G,
|
|
211
|
+
{
|
|
212
|
+
...le({
|
|
213
|
+
item: e,
|
|
214
|
+
index: s
|
|
215
|
+
}),
|
|
216
|
+
multiSelect: n,
|
|
217
|
+
selected: n ? x == null ? void 0 : x.some((l) => l.value === e.value) : e.value === ((w == null ? void 0 : w.value) ?? w),
|
|
218
|
+
option: { title: e.label, ...e },
|
|
219
|
+
highlightHovered: V === s && ee !== g.ON_CLICK,
|
|
220
|
+
render: A,
|
|
221
|
+
onChange: e.disabled ? null : () => L(e),
|
|
222
|
+
onMouseEnter: () => E(s)
|
|
223
|
+
},
|
|
224
|
+
e.value
|
|
225
|
+
)),
|
|
226
|
+
H && /* @__PURE__ */ u(U, { children: [
|
|
227
|
+
/* @__PURE__ */ d("div", { className: o("divider") }),
|
|
228
|
+
H
|
|
229
|
+
] })
|
|
230
|
+
] });
|
|
231
|
+
return /* @__PURE__ */ u("div", { ref: M, className: o("container", Q), title: y, children: [
|
|
232
|
+
k && /* @__PURE__ */ d(Ce, { ...ae(), children: k }),
|
|
233
|
+
/* @__PURE__ */ u(
|
|
234
|
+
"button",
|
|
235
|
+
{
|
|
236
|
+
disabled: i,
|
|
237
|
+
...se({
|
|
238
|
+
className: o("dropdown", K, X, {
|
|
239
|
+
"transparent-background": N,
|
|
240
|
+
opened: _,
|
|
241
|
+
disabled: i,
|
|
242
|
+
error: v,
|
|
243
|
+
touched: C,
|
|
244
|
+
"mobile-disabled": b
|
|
245
|
+
}),
|
|
246
|
+
onClick: ie,
|
|
247
|
+
onKeyDown: oe,
|
|
248
|
+
ref: W.setReference
|
|
249
|
+
}),
|
|
250
|
+
type: "button",
|
|
251
|
+
children: [
|
|
252
|
+
O && /* @__PURE__ */ d("span", { className: o("icon"), children: O }),
|
|
253
|
+
/* @__PURE__ */ d(
|
|
254
|
+
"span",
|
|
255
|
+
{
|
|
256
|
+
className: o("value", {
|
|
257
|
+
placeholder: I === h
|
|
258
|
+
}),
|
|
259
|
+
children: T ? T(I) : I
|
|
260
|
+
}
|
|
261
|
+
),
|
|
262
|
+
/* @__PURE__ */ d(ye, { className: o("arrow"), tabIndex: -1, children: /* @__PURE__ */ d(be, {}) })
|
|
263
|
+
]
|
|
264
|
+
}
|
|
265
|
+
),
|
|
266
|
+
_ && /* @__PURE__ */ d(
|
|
267
|
+
"div",
|
|
268
|
+
{
|
|
269
|
+
style: te,
|
|
270
|
+
className: o("select-list", { opened: _, "limited-width": Z }),
|
|
271
|
+
...de({
|
|
272
|
+
onKeyDown: ce,
|
|
273
|
+
ref: W.setFloating
|
|
274
|
+
}),
|
|
275
|
+
children: B ? $() : /* @__PURE__ */ d(pe, { autoHeight: !0, autoHeightMax: 216, hideTracksWhenNotNeeded: !0, children: $() })
|
|
276
|
+
}
|
|
277
|
+
)
|
|
278
|
+
] });
|
|
279
|
+
};
|
|
280
|
+
export {
|
|
281
|
+
dt as D
|
|
282
|
+
};
|
package/dist/dropdown.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as r } from "./dropdown-
|
|
1
|
+
import { D as r } from "./dropdown-9427f821.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import "./bind-06a7ff84.js";
|
|
@@ -7,7 +7,10 @@ import "downshift";
|
|
|
7
7
|
import "rc-scrollbars";
|
|
8
8
|
import "./useOnClickOutside-c332f7d3.js";
|
|
9
9
|
import "./keyCodes-f63c0e11.js";
|
|
10
|
-
import "./baseIconButton-
|
|
10
|
+
import "./baseIconButton-251479f7.js";
|
|
11
|
+
import "./dropdown-0260bb66.js";
|
|
12
|
+
import "./fieldLabel.js";
|
|
13
|
+
import "./checkbox-aa91985d.js";
|
|
11
14
|
export {
|
|
12
15
|
r as Dropdown,
|
|
13
16
|
r as default
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsxs as d, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { c } from "./bind-06a7ff84.js";
|
|
3
|
+
const r = "_asterisk_10m6x_11", m = "_disabled_10m6x_17", o = {
|
|
4
|
+
"field-label": "_field-label_10m6x_1",
|
|
5
|
+
asterisk: r,
|
|
6
|
+
disabled: m
|
|
7
|
+
}, s = c.bind(o), _ = ({
|
|
8
|
+
children: e,
|
|
9
|
+
isRequired: l = !1,
|
|
10
|
+
className: a,
|
|
11
|
+
...i
|
|
12
|
+
}) => /* @__PURE__ */ d("label", { className: s("field-label", a), ...i, children: [
|
|
13
|
+
e,
|
|
14
|
+
l && /* @__PURE__ */ t("span", { className: s("asterisk"), children: "*" })
|
|
15
|
+
] });
|
|
16
|
+
export {
|
|
17
|
+
_ as FieldLabel
|
|
18
|
+
};
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { jsxs as K, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { useRef as T, useId as I, useMemo as W } from "react";
|
|
3
|
+
import { c as y } from "./bind-06a7ff84.js";
|
|
4
|
+
import { K as _ } from "./keyCodes-f63c0e11.js";
|
|
5
|
+
import { B as f } from "./baseIconButton-251479f7.js";
|
|
6
|
+
import { S as B, a as S } from "./plus-0929dda4.js";
|
|
7
|
+
import { FieldLabel as x } from "./fieldLabel.js";
|
|
8
|
+
const F = 5, p = 16, b = [
|
|
9
|
+
_.TAB_KEY_CODE,
|
|
10
|
+
_.BACKSPACE_KEY_CODE,
|
|
11
|
+
_.ARROW_LEFT_KEY_CODE,
|
|
12
|
+
_.ARROW_UP_KEY_CODE,
|
|
13
|
+
_.ARROW_RIGHT_KEY_CODE,
|
|
14
|
+
_.ARROW_DOWN_KEY_CODE,
|
|
15
|
+
_.DELETE_KEY_CODE,
|
|
16
|
+
_.NUM_LOCK_0_KEY_CODE,
|
|
17
|
+
_.NUM_LOCK_1_KEY_CODE,
|
|
18
|
+
_.NUM_LOCK_2_KEY_CODE,
|
|
19
|
+
_.NUM_LOCK_3_KEY_CODE,
|
|
20
|
+
_.NUM_LOCK_4_KEY_CODE,
|
|
21
|
+
_.NUM_LOCK_5_KEY_CODE,
|
|
22
|
+
_.NUM_LOCK_6_KEY_CODE,
|
|
23
|
+
_.NUM_LOCK_7_KEY_CODE,
|
|
24
|
+
_.NUM_LOCK_8_KEY_CODE,
|
|
25
|
+
_.NUM_LOCK_9_KEY_CODE
|
|
26
|
+
], k = "_disabled_1wxs7_6", H = "_label_1wxs7_10", V = "_sign_1wxs7_21", P = "_error_1wxs7_36", j = "_touched_1wxs7_36", G = "_filled_1wxs7_44", X = "_input_1wxs7_26", $ = {
|
|
27
|
+
"field-number": "_field-number_1wxs7_1",
|
|
28
|
+
disabled: k,
|
|
29
|
+
label: H,
|
|
30
|
+
sign: V,
|
|
31
|
+
"input-container": "_input-container_1wxs7_26",
|
|
32
|
+
error: P,
|
|
33
|
+
touched: j,
|
|
34
|
+
filled: G,
|
|
35
|
+
"input-field": "_input-field_1wxs7_51",
|
|
36
|
+
input: X
|
|
37
|
+
}, c = y.bind($), e_ = ({
|
|
38
|
+
value: e = "",
|
|
39
|
+
placeholder: h = "0",
|
|
40
|
+
disabled: t = !1,
|
|
41
|
+
onChange: o,
|
|
42
|
+
onFocus: u,
|
|
43
|
+
onBlur: q,
|
|
44
|
+
label: O,
|
|
45
|
+
postfix: r = "",
|
|
46
|
+
min: l = 0,
|
|
47
|
+
max: E = Number.MAX_SAFE_INTEGER,
|
|
48
|
+
title: m,
|
|
49
|
+
error: N,
|
|
50
|
+
touched: Y = !1,
|
|
51
|
+
id: a,
|
|
52
|
+
...w
|
|
53
|
+
}) => {
|
|
54
|
+
const C = T(null), D = I(), L = (n) => {
|
|
55
|
+
let s = n.target.value.replace(/^0(?=\d+|^\d)/g, "");
|
|
56
|
+
if (s === "") {
|
|
57
|
+
o("");
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
s = +s, s >= l && s <= E && o(s);
|
|
61
|
+
}, M = (n) => {
|
|
62
|
+
const { keyCode: s } = n;
|
|
63
|
+
b.includes(s) || (s < _.NUMBER_START_KEY_CODE || s > _.NUMBER_END_KEY_CODE || n.shiftKey) && n.preventDefault();
|
|
64
|
+
}, R = () => {
|
|
65
|
+
const n = +e - 1;
|
|
66
|
+
n >= l && n <= E && o(n);
|
|
67
|
+
}, U = () => {
|
|
68
|
+
const n = +e + 1;
|
|
69
|
+
n >= l && n <= E && o(n);
|
|
70
|
+
}, d = h + r, A = W(() => {
|
|
71
|
+
let n = (String(e) || d).length;
|
|
72
|
+
return r && !e && (n += 1), n > p ? `${p}ch` : `${n || F}ch`;
|
|
73
|
+
}, [d, r, e]), g = () => {
|
|
74
|
+
C && C.current && C.current.focus(), u && u();
|
|
75
|
+
};
|
|
76
|
+
return /* @__PURE__ */ K("div", { className: c("field-number", { disabled: t }), children: [
|
|
77
|
+
O && /* @__PURE__ */ i(x, { htmlFor: a ?? D, children: O }),
|
|
78
|
+
/* @__PURE__ */ K(
|
|
79
|
+
"div",
|
|
80
|
+
{
|
|
81
|
+
className: c("input-container", {
|
|
82
|
+
filled: !!e || e === 0,
|
|
83
|
+
error: N,
|
|
84
|
+
disabled: t,
|
|
85
|
+
touched: Y
|
|
86
|
+
}),
|
|
87
|
+
title: m,
|
|
88
|
+
children: [
|
|
89
|
+
/* @__PURE__ */ i(
|
|
90
|
+
f,
|
|
91
|
+
{
|
|
92
|
+
className: c("sign", "minus"),
|
|
93
|
+
disabled: t,
|
|
94
|
+
onClick: R,
|
|
95
|
+
children: /* @__PURE__ */ i(B, {})
|
|
96
|
+
}
|
|
97
|
+
),
|
|
98
|
+
/* @__PURE__ */ K("span", { className: c("input-field", { disabled: t }), onClick: g, children: [
|
|
99
|
+
/* @__PURE__ */ i(
|
|
100
|
+
"input",
|
|
101
|
+
{
|
|
102
|
+
id: a ?? D,
|
|
103
|
+
ref: C,
|
|
104
|
+
className: c("input"),
|
|
105
|
+
type: "number",
|
|
106
|
+
value: e,
|
|
107
|
+
placeholder: d,
|
|
108
|
+
disabled: t,
|
|
109
|
+
min: l,
|
|
110
|
+
max: E,
|
|
111
|
+
onKeyDown: t ? void 0 : M,
|
|
112
|
+
onChange: t ? void 0 : L,
|
|
113
|
+
onFocus: t ? void 0 : u,
|
|
114
|
+
style: { width: A },
|
|
115
|
+
...w
|
|
116
|
+
}
|
|
117
|
+
),
|
|
118
|
+
!!r && (e === 0 || !!e) && /* @__PURE__ */ i("span", { children: r.slice(0, 1) })
|
|
119
|
+
] }),
|
|
120
|
+
/* @__PURE__ */ i(f, { className: c("sign", "plus"), disabled: t, onClick: U, children: /* @__PURE__ */ i(S, {}) })
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
)
|
|
124
|
+
] });
|
|
125
|
+
};
|
|
126
|
+
export {
|
|
127
|
+
e_ as F
|
|
128
|
+
};
|
package/dist/fieldNumber.js
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { F as m } from "./fieldNumber-
|
|
1
|
+
import { F as m } from "./fieldNumber-2542b311.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
import "./bind-06a7ff84.js";
|
|
5
5
|
import "./keyCodes-f63c0e11.js";
|
|
6
|
-
import "./baseIconButton-
|
|
6
|
+
import "./baseIconButton-251479f7.js";
|
|
7
|
+
import "./plus-0929dda4.js";
|
|
8
|
+
import "./fieldLabel.js";
|
|
7
9
|
export {
|
|
8
10
|
m as FieldNumber,
|
|
9
11
|
m as default
|