@sakura-ui/sakura-ui 0.2.0 → 0.4.1
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 +77 -6
- package/package.json +28 -21
- package/packages/core/package.json +30 -17
- package/packages/core/src/components/Button.tsx +33 -32
- package/packages/core/src/components/Card.tsx +37 -20
- package/packages/core/src/components/Code.tsx +6 -4
- package/packages/core/src/components/Faq.tsx +13 -7
- package/packages/core/src/components/Heading.tsx +42 -32
- package/packages/core/src/components/Icon.tsx +43 -13
- package/packages/core/src/components/IconButton.tsx +54 -43
- package/packages/core/src/components/LangSelector.tsx +135 -0
- package/packages/core/src/components/Link.tsx +37 -66
- package/packages/core/src/components/LinkCard.tsx +126 -0
- package/packages/core/src/components/List.tsx +14 -12
- package/packages/core/src/components/MenuButton.tsx +112 -0
- package/packages/core/src/components/NavigationItem.tsx +41 -0
- package/packages/core/src/components/NotificationBanner.tsx +20 -0
- package/packages/core/src/components/OverflowContainer.tsx +24 -0
- package/packages/core/src/components/PopoverMenu.tsx +82 -0
- package/packages/core/src/components/Pre.tsx +6 -4
- package/packages/core/src/components/Table.tsx +31 -25
- package/packages/core/src/components/buttonStyle.ts +43 -32
- package/packages/core/src/components/index.ts +13 -25
- package/packages/core/src/icons/Close.tsx +21 -0
- package/packages/core/src/icons/CloseMobile.tsx +43 -0
- package/packages/core/src/icons/KeyboardArrowDown.tsx +24 -0
- package/packages/core/src/icons/Language.tsx +25 -0
- package/packages/core/src/icons/LanguageMobile.tsx +40 -0
- package/packages/core/src/icons/Menu.tsx +24 -0
- package/packages/core/src/icons/MenuMobile.tsx +40 -0
- package/packages/core/src/icons/index.ts +8 -0
- package/packages/core/src/icons/props.ts +5 -0
- package/packages/core/src/index.ts +10 -28
- package/packages/core/src/type.d.ts +1 -0
- package/packages/core/tests/Button.test.tsx +20 -10
- package/packages/core/tests/Card.test.tsx +16 -11
- package/packages/core/tests/IconButton.test.tsx +57 -0
- package/packages/core/tests/Link.test.tsx +60 -0
- package/packages/core/tests/vitest.setup.ts +1 -0
- package/packages/core/tsconfig.node.json +3 -2
- package/packages/core/vite.config.ts +2 -1
- package/packages/forms/.turbo/turbo-build.log +12 -0
- package/packages/forms/dist/index.cjs.js +183 -131
- package/packages/forms/dist/index.es.js +750 -1062
- package/packages/forms/dist/types/components/Checkbox.d.ts +9 -4
- package/packages/forms/dist/types/components/Checkbox.d.ts.map +1 -1
- package/packages/forms/dist/types/components/FieldsetControl.d.ts +14 -9
- package/packages/forms/dist/types/components/FieldsetControl.d.ts.map +1 -1
- package/packages/forms/dist/types/components/FileInput.d.ts +10 -3
- package/packages/forms/dist/types/components/FileInput.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Input.d.ts +9 -4
- package/packages/forms/dist/types/components/Input.d.ts.map +1 -1
- package/packages/forms/dist/types/components/LabelControl.d.ts +13 -8
- package/packages/forms/dist/types/components/LabelControl.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Radio.d.ts +9 -4
- package/packages/forms/dist/types/components/Radio.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Select.d.ts +9 -4
- package/packages/forms/dist/types/components/Select.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Textarea.d.ts +8 -3
- package/packages/forms/dist/types/components/Textarea.d.ts.map +1 -1
- package/packages/forms/dist/types/components/controlled/CheckboxGroup.d.ts +16 -11
- package/packages/forms/dist/types/components/controlled/CheckboxGroup.d.ts.map +1 -1
- package/packages/forms/dist/types/components/controlled/RadioGroup.d.ts +17 -12
- package/packages/forms/dist/types/components/controlled/RadioGroup.d.ts.map +1 -1
- package/packages/forms/dist/types/components/index.d.ts +8 -8
- package/packages/forms/dist/types/components/index.d.ts.map +1 -1
- package/packages/forms/dist/types/components/inputStyle.d.ts +1 -1
- package/packages/forms/dist/types/components/inputStyle.d.ts.map +1 -1
- package/packages/forms/dist/types/index.d.ts +0 -1
- package/packages/forms/dist/types/index.d.ts.map +1 -1
- package/packages/forms/node_modules/.bin/autoprefixer +44 -6
- package/packages/forms/package.json +21 -16
- package/packages/forms/src/components/Checkbox.tsx +76 -80
- package/packages/forms/src/components/FieldsetControl.tsx +21 -28
- package/packages/forms/src/components/FileInput.tsx +92 -63
- package/packages/forms/src/components/Input.tsx +29 -31
- package/packages/forms/src/components/LabelControl.tsx +19 -25
- package/packages/forms/src/components/Radio.tsx +68 -69
- package/packages/forms/src/components/Select.tsx +65 -65
- package/packages/forms/src/components/Textarea.tsx +49 -54
- package/packages/forms/src/components/controlled/CheckboxGroup.tsx +15 -17
- package/packages/forms/src/components/controlled/RadioGroup.tsx +16 -18
- package/packages/forms/src/components/index.ts +8 -8
- package/packages/forms/src/components/inputStyle.ts +7 -8
- package/packages/forms/src/index.ts +0 -11
- package/packages/forms/tests/Checkbox.test.tsx +44 -0
- package/packages/forms/tests/FieldsetControl.test.tsx +68 -11
- package/packages/forms/tests/FileInput.test.tsx +25 -0
- package/packages/forms/tests/Input.test.tsx +12 -83
- package/packages/forms/tests/LabelControl.test.tsx +88 -20
- package/packages/forms/tests/Radio.test.tsx +23 -78
- package/packages/forms/tests/Select.test.tsx +30 -0
- package/packages/forms/tests/Textarea.test.tsx +25 -0
- package/packages/forms/tests/vitest.setup.ts +1 -0
- package/packages/forms/tsconfig.node.json +3 -2
- package/packages/forms/vite.config.ts +2 -1
- package/packages/helper/.turbo/turbo-build.log +12 -0
- package/packages/helper/dist/index.cjs.js +76 -0
- package/packages/helper/dist/index.es.js +119 -0
- package/packages/helper/dist/types/calc.d.ts +2 -0
- package/packages/helper/dist/types/calc.d.ts.map +1 -0
- package/packages/{forms/dist/types/utils/class.d.ts → helper/dist/types/cx.d.ts} +1 -1
- package/packages/helper/dist/types/cx.d.ts.map +1 -0
- package/packages/helper/dist/types/index.d.ts +6 -0
- package/packages/helper/dist/types/index.d.ts.map +1 -0
- package/packages/helper/dist/types/querySelector.d.ts +2 -0
- package/packages/helper/dist/types/querySelector.d.ts.map +1 -0
- package/packages/helper/dist/types/styles.d.ts +22 -0
- package/packages/helper/dist/types/styles.d.ts.map +1 -0
- package/packages/helper/dist/types/treefy.d.ts +8 -0
- package/packages/helper/dist/types/treefy.d.ts.map +1 -0
- package/packages/helper/node_modules/.bin/vitest +55 -0
- package/packages/helper/package.json +50 -0
- package/packages/helper/src/calc.ts +1 -0
- package/packages/helper/src/cx.ts +2 -0
- package/packages/helper/src/index.ts +5 -0
- package/packages/helper/src/querySelector.ts +20 -0
- package/packages/helper/src/styles.ts +114 -0
- package/packages/helper/src/treefy.ts +24 -0
- package/packages/helper/tests/calc.test.ts +22 -0
- package/packages/helper/tests/cx.test.ts +30 -0
- package/packages/helper/tests/querySelector.test.ts +24 -0
- package/packages/helper/tests/treefy.test.ts +111 -0
- package/packages/helper/tests/vitest.setup.ts +2 -0
- package/packages/helper/tsconfig.json +13 -0
- package/packages/helper/tsconfig.node.json +6 -0
- package/packages/helper/vite.config.ts +26 -0
- package/packages/markdown/.turbo/turbo-build.log +12 -0
- package/packages/markdown/README.md +129 -0
- package/packages/markdown/dist/index.cjs.js +149 -0
- package/packages/markdown/dist/index.es.js +16960 -0
- package/packages/markdown/dist/types/components/Markdown.d.ts +15 -0
- package/packages/markdown/dist/types/components/Markdown.d.ts.map +1 -0
- package/packages/markdown/dist/types/components/index.d.ts +2 -0
- package/packages/markdown/dist/types/components/index.d.ts.map +1 -0
- package/packages/markdown/dist/types/index.d.ts +2 -0
- package/packages/markdown/dist/types/index.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/attr.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/attr.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/card.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/card.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/cell.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/cell.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/faq.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/faq.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/grid.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/grid.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/headings.d.ts +11 -0
- package/packages/markdown/dist/types/plugins/headings.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/helper.d.ts +9 -0
- package/packages/markdown/dist/types/plugins/helper.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/index.d.ts +9 -0
- package/packages/markdown/dist/types/plugins/index.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/linkButton.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/linkButton.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/youtube.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/youtube.d.ts.map +1 -0
- package/packages/markdown/node_modules/.bin/autoprefixer +55 -0
- package/packages/markdown/package.json +84 -0
- package/packages/markdown/src/components/Markdown.tsx +365 -0
- package/packages/markdown/src/components/index.ts +1 -0
- package/packages/markdown/src/global.d.ts +9 -0
- package/packages/markdown/src/index.ts +1 -0
- package/packages/markdown/src/plugins/attr.ts +19 -0
- package/packages/markdown/src/plugins/card.ts +57 -0
- package/packages/markdown/src/plugins/cell.ts +47 -0
- package/packages/markdown/src/plugins/faq.ts +40 -0
- package/packages/markdown/src/plugins/grid.ts +54 -0
- package/packages/markdown/src/plugins/headings.ts +38 -0
- package/packages/markdown/src/plugins/helper.ts +27 -0
- package/packages/markdown/src/plugins/index.ts +8 -0
- package/packages/markdown/src/plugins/linkButton.ts +26 -0
- package/packages/markdown/src/plugins/youtube.ts +49 -0
- package/packages/markdown/tsconfig.json +13 -0
- package/packages/markdown/tsconfig.node.json +7 -0
- package/packages/markdown/vite.config.ts +30 -0
- package/packages/tailwind-theme-plugin/#package.json# +51 -0
- package/packages/tailwind-theme-plugin/.turbo/turbo-build.log +12 -0
- package/packages/tailwind-theme-plugin/dist/index.cjs.js +1 -1
- package/packages/tailwind-theme-plugin/dist/index.es.js +4970 -6093
- package/packages/tailwind-theme-plugin/dist/types/index.d.ts +1 -4
- package/packages/tailwind-theme-plugin/dist/types/index.d.ts.map +1 -1
- package/packages/tailwind-theme-plugin/node_modules/.bin/autoprefixer +44 -6
- package/packages/tailwind-theme-plugin/package.json +11 -9
- package/packages/tailwind-theme-plugin/src/index.ts +241 -349
- package/packages/tailwind-theme-plugin/vite.config.ts +2 -0
- package/packages/core/src/libs/cx.ts +0 -2
- package/packages/core/src/libs/forward-ref.ts +0 -44
- package/packages/core/src/types/component.ts +0 -83
- package/packages/forms/dist/types/utils/class.d.ts.map +0 -1
- package/packages/forms/node_modules/.bin/acorn +0 -17
- package/packages/forms/node_modules/.bin/browserslist +0 -17
- package/packages/forms/node_modules/.bin/eslint +0 -17
- package/packages/forms/node_modules/.bin/tailwind +0 -17
- package/packages/forms/node_modules/.bin/tailwindcss +0 -17
- package/packages/forms/node_modules/.bin/ts-node +0 -17
- package/packages/forms/node_modules/.bin/ts-node-cwd +0 -17
- package/packages/forms/node_modules/.bin/ts-node-esm +0 -17
- package/packages/forms/node_modules/.bin/ts-node-script +0 -17
- package/packages/forms/node_modules/.bin/ts-node-transpile-only +0 -17
- package/packages/forms/node_modules/.bin/ts-script +0 -17
- package/packages/forms/node_modules/.bin/vitest +0 -17
- package/packages/forms/src/utils/class.ts +0 -2
- package/packages/tailwind-theme-plugin/node_modules/.bin/browserslist +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/tailwind +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/tailwindcss +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-cwd +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-esm +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-script +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-transpile-only +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-script +0 -17
|
@@ -1,657 +1,364 @@
|
|
|
1
|
-
import
|
|
2
|
-
var
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
x.call(a, h) && !u.hasOwnProperty(h) && (d[h] = a[h]);
|
|
23
|
-
if (o && o.defaultProps)
|
|
24
|
-
for (h in a = o.defaultProps, a)
|
|
25
|
-
d[h] === void 0 && (d[h] = a[h]);
|
|
26
|
-
return { $$typeof: g, type: o, key: j, ref: w, props: d, _owner: f.current };
|
|
1
|
+
import R from "react";
|
|
2
|
+
var I = { exports: {} }, E = {};
|
|
3
|
+
var W;
|
|
4
|
+
function fe() {
|
|
5
|
+
if (W) return E;
|
|
6
|
+
W = 1;
|
|
7
|
+
var r = /* @__PURE__ */ Symbol.for("react.transitional.element"), i = /* @__PURE__ */ Symbol.for("react.fragment");
|
|
8
|
+
function c(n, a, s) {
|
|
9
|
+
var o = null;
|
|
10
|
+
if (s !== void 0 && (o = "" + s), a.key !== void 0 && (o = "" + a.key), "key" in a) {
|
|
11
|
+
s = {};
|
|
12
|
+
for (var u in a)
|
|
13
|
+
u !== "key" && (s[u] = a[u]);
|
|
14
|
+
} else s = a;
|
|
15
|
+
return a = s.ref, {
|
|
16
|
+
$$typeof: r,
|
|
17
|
+
type: n,
|
|
18
|
+
key: o,
|
|
19
|
+
ref: a !== void 0 ? a : null,
|
|
20
|
+
props: s
|
|
21
|
+
};
|
|
27
22
|
}
|
|
28
|
-
return
|
|
23
|
+
return E.Fragment = i, E.jsx = c, E.jsxs = c, E;
|
|
29
24
|
}
|
|
30
|
-
var
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
*/
|
|
40
|
-
var Pe;
|
|
41
|
-
function Er() {
|
|
42
|
-
return Pe || (Pe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var v = y, g = Symbol.for("react.element"), b = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), o = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), j = Symbol.for("react.lazy"), w = Symbol.for("react.offscreen"), k = Symbol.iterator, $e = "@@iterator";
|
|
44
|
-
function Me(e) {
|
|
45
|
-
if (e === null || typeof e != "object")
|
|
46
|
-
return null;
|
|
47
|
-
var r = k && e[k] || e[$e];
|
|
48
|
-
return typeof r == "function" ? r : null;
|
|
49
|
-
}
|
|
50
|
-
var D = v.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
-
function T(e) {
|
|
52
|
-
{
|
|
53
|
-
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
|
|
54
|
-
t[n - 1] = arguments[n];
|
|
55
|
-
We("error", e, t);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
function We(e, r, t) {
|
|
59
|
-
{
|
|
60
|
-
var n = D.ReactDebugCurrentFrame, p = n.getStackAddendum();
|
|
61
|
-
p !== "" && (r += "%s", t = t.concat([p]));
|
|
62
|
-
var m = t.map(function(c) {
|
|
63
|
-
return String(c);
|
|
64
|
-
});
|
|
65
|
-
m.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, m);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
var Le = !1, Ye = !1, Ve = !1, Ue = !1, ze = !1, se;
|
|
69
|
-
se = Symbol.for("react.module.reference");
|
|
70
|
-
function Be(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === x || e === u || ze || e === f || e === R || e === h || Ue || e === w || Le || Ye || Ve || typeof e == "object" && e !== null && (e.$$typeof === j || e.$$typeof === d || e.$$typeof === i || e.$$typeof === o || e.$$typeof === a || // This needs to include all possible module reference object
|
|
72
|
-
// types supported by any Flight configuration anywhere since
|
|
73
|
-
// we don't know which Flight build this will end up being used
|
|
74
|
-
// with.
|
|
75
|
-
e.$$typeof === se || e.getModuleId !== void 0));
|
|
76
|
-
}
|
|
77
|
-
function Ge(e, r, t) {
|
|
78
|
-
var n = e.displayName;
|
|
79
|
-
if (n)
|
|
80
|
-
return n;
|
|
81
|
-
var p = r.displayName || r.name || "";
|
|
82
|
-
return p !== "" ? t + "(" + p + ")" : t;
|
|
83
|
-
}
|
|
84
|
-
function ie(e) {
|
|
85
|
-
return e.displayName || "Context";
|
|
86
|
-
}
|
|
87
|
-
function N(e) {
|
|
88
|
-
if (e == null)
|
|
89
|
-
return null;
|
|
90
|
-
if (typeof e.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
91
|
-
return e.displayName || e.name || null;
|
|
92
|
-
if (typeof e == "string")
|
|
93
|
-
return e;
|
|
25
|
+
var _ = {};
|
|
26
|
+
var B;
|
|
27
|
+
function pe() {
|
|
28
|
+
return B || (B = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
29
|
+
function r(e) {
|
|
30
|
+
if (e == null) return null;
|
|
31
|
+
if (typeof e == "function")
|
|
32
|
+
return e.$$typeof === de ? null : e.displayName || e.name || null;
|
|
33
|
+
if (typeof e == "string") return e;
|
|
94
34
|
switch (e) {
|
|
95
|
-
case
|
|
35
|
+
case k:
|
|
96
36
|
return "Fragment";
|
|
97
|
-
case
|
|
98
|
-
return "Portal";
|
|
99
|
-
case u:
|
|
37
|
+
case re:
|
|
100
38
|
return "Profiler";
|
|
101
|
-
case
|
|
39
|
+
case ee:
|
|
102
40
|
return "StrictMode";
|
|
103
|
-
case
|
|
41
|
+
case ae:
|
|
104
42
|
return "Suspense";
|
|
105
|
-
case
|
|
43
|
+
case oe:
|
|
106
44
|
return "SuspenseList";
|
|
45
|
+
case ne:
|
|
46
|
+
return "Activity";
|
|
107
47
|
}
|
|
108
48
|
if (typeof e == "object")
|
|
109
|
-
switch (
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
return
|
|
116
|
-
case
|
|
117
|
-
return
|
|
118
|
-
case
|
|
119
|
-
var
|
|
120
|
-
return
|
|
121
|
-
case
|
|
122
|
-
|
|
49
|
+
switch (typeof e.tag == "number" && console.error(
|
|
50
|
+
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
51
|
+
), e.$$typeof) {
|
|
52
|
+
case K:
|
|
53
|
+
return "Portal";
|
|
54
|
+
case te:
|
|
55
|
+
return e.displayName || "Context";
|
|
56
|
+
case se:
|
|
57
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
58
|
+
case le:
|
|
59
|
+
var l = e.render;
|
|
60
|
+
return e = e.displayName, e || (e = l.displayName || l.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
61
|
+
case ie:
|
|
62
|
+
return l = e.displayName || null, l !== null ? l : r(e.type) || "Memo";
|
|
63
|
+
case P:
|
|
64
|
+
l = e._payload, e = e._init;
|
|
123
65
|
try {
|
|
124
|
-
return
|
|
66
|
+
return r(e(l));
|
|
125
67
|
} catch {
|
|
126
|
-
return null;
|
|
127
68
|
}
|
|
128
|
-
}
|
|
129
69
|
}
|
|
130
70
|
return null;
|
|
131
71
|
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
}
|
|
135
|
-
ve.__reactDisabledLog = !0;
|
|
136
|
-
function Je() {
|
|
137
|
-
{
|
|
138
|
-
if (M === 0) {
|
|
139
|
-
oe = console.log, le = console.info, ue = console.warn, ce = console.error, de = console.group, fe = console.groupCollapsed, pe = console.groupEnd;
|
|
140
|
-
var e = {
|
|
141
|
-
configurable: !0,
|
|
142
|
-
enumerable: !0,
|
|
143
|
-
value: ve,
|
|
144
|
-
writable: !0
|
|
145
|
-
};
|
|
146
|
-
Object.defineProperties(console, {
|
|
147
|
-
info: e,
|
|
148
|
-
log: e,
|
|
149
|
-
warn: e,
|
|
150
|
-
error: e,
|
|
151
|
-
group: e,
|
|
152
|
-
groupCollapsed: e,
|
|
153
|
-
groupEnd: e
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
M++;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
function Ke() {
|
|
160
|
-
{
|
|
161
|
-
if (M--, M === 0) {
|
|
162
|
-
var e = {
|
|
163
|
-
configurable: !0,
|
|
164
|
-
enumerable: !0,
|
|
165
|
-
writable: !0
|
|
166
|
-
};
|
|
167
|
-
Object.defineProperties(console, {
|
|
168
|
-
log: F({}, e, {
|
|
169
|
-
value: oe
|
|
170
|
-
}),
|
|
171
|
-
info: F({}, e, {
|
|
172
|
-
value: le
|
|
173
|
-
}),
|
|
174
|
-
warn: F({}, e, {
|
|
175
|
-
value: ue
|
|
176
|
-
}),
|
|
177
|
-
error: F({}, e, {
|
|
178
|
-
value: ce
|
|
179
|
-
}),
|
|
180
|
-
group: F({}, e, {
|
|
181
|
-
value: de
|
|
182
|
-
}),
|
|
183
|
-
groupCollapsed: F({}, e, {
|
|
184
|
-
value: fe
|
|
185
|
-
}),
|
|
186
|
-
groupEnd: F({}, e, {
|
|
187
|
-
value: pe
|
|
188
|
-
})
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
M < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
var J = D.ReactCurrentDispatcher, K;
|
|
195
|
-
function U(e, r, t) {
|
|
196
|
-
{
|
|
197
|
-
if (K === void 0)
|
|
198
|
-
try {
|
|
199
|
-
throw Error();
|
|
200
|
-
} catch (p) {
|
|
201
|
-
var n = p.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
-
K = n && n[1] || "";
|
|
203
|
-
}
|
|
204
|
-
return `
|
|
205
|
-
` + K + e;
|
|
206
|
-
}
|
|
207
|
-
}
|
|
208
|
-
var H = !1, z;
|
|
209
|
-
{
|
|
210
|
-
var He = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
-
z = new He();
|
|
72
|
+
function i(e) {
|
|
73
|
+
return "" + e;
|
|
212
74
|
}
|
|
213
|
-
function
|
|
214
|
-
if (!e || H)
|
|
215
|
-
return "";
|
|
216
|
-
{
|
|
217
|
-
var t = z.get(e);
|
|
218
|
-
if (t !== void 0)
|
|
219
|
-
return t;
|
|
220
|
-
}
|
|
221
|
-
var n;
|
|
222
|
-
H = !0;
|
|
223
|
-
var p = Error.prepareStackTrace;
|
|
224
|
-
Error.prepareStackTrace = void 0;
|
|
225
|
-
var m;
|
|
226
|
-
m = J.current, J.current = null, Je();
|
|
75
|
+
function c(e) {
|
|
227
76
|
try {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
n = S;
|
|
248
|
-
}
|
|
249
|
-
e.call(c.prototype);
|
|
250
|
-
}
|
|
251
|
-
} else {
|
|
252
|
-
try {
|
|
253
|
-
throw Error();
|
|
254
|
-
} catch (S) {
|
|
255
|
-
n = S;
|
|
256
|
-
}
|
|
257
|
-
e();
|
|
258
|
-
}
|
|
259
|
-
} catch (S) {
|
|
260
|
-
if (S && n && typeof S.stack == "string") {
|
|
261
|
-
for (var l = S.stack.split(`
|
|
262
|
-
`), I = n.stack.split(`
|
|
263
|
-
`), E = l.length - 1, _ = I.length - 1; E >= 1 && _ >= 0 && l[E] !== I[_]; )
|
|
264
|
-
_--;
|
|
265
|
-
for (; E >= 1 && _ >= 0; E--, _--)
|
|
266
|
-
if (l[E] !== I[_]) {
|
|
267
|
-
if (E !== 1 || _ !== 1)
|
|
268
|
-
do
|
|
269
|
-
if (E--, _--, _ < 0 || l[E] !== I[_]) {
|
|
270
|
-
var P = `
|
|
271
|
-
` + l[E].replace(" at new ", " at ");
|
|
272
|
-
return e.displayName && P.includes("<anonymous>") && (P = P.replace("<anonymous>", e.displayName)), typeof e == "function" && z.set(e, P), P;
|
|
273
|
-
}
|
|
274
|
-
while (E >= 1 && _ >= 0);
|
|
275
|
-
break;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
} finally {
|
|
279
|
-
H = !1, J.current = m, Ke(), Error.prepareStackTrace = p;
|
|
280
|
-
}
|
|
281
|
-
var $ = e ? e.displayName || e.name : "", q = $ ? U($) : "";
|
|
282
|
-
return typeof e == "function" && z.set(e, q), q;
|
|
283
|
-
}
|
|
284
|
-
function Xe(e, r, t) {
|
|
285
|
-
return be(e, !1);
|
|
286
|
-
}
|
|
287
|
-
function Ze(e) {
|
|
288
|
-
var r = e.prototype;
|
|
289
|
-
return !!(r && r.isReactComponent);
|
|
290
|
-
}
|
|
291
|
-
function B(e, r, t) {
|
|
292
|
-
if (e == null)
|
|
293
|
-
return "";
|
|
294
|
-
if (typeof e == "function")
|
|
295
|
-
return be(e, Ze(e));
|
|
296
|
-
if (typeof e == "string")
|
|
297
|
-
return U(e);
|
|
298
|
-
switch (e) {
|
|
299
|
-
case R:
|
|
300
|
-
return U("Suspense");
|
|
301
|
-
case h:
|
|
302
|
-
return U("SuspenseList");
|
|
303
|
-
}
|
|
304
|
-
if (typeof e == "object")
|
|
305
|
-
switch (e.$$typeof) {
|
|
306
|
-
case a:
|
|
307
|
-
return Xe(e.render);
|
|
308
|
-
case d:
|
|
309
|
-
return B(e.type, r, t);
|
|
310
|
-
case j: {
|
|
311
|
-
var n = e, p = n._payload, m = n._init;
|
|
312
|
-
try {
|
|
313
|
-
return B(m(p), r, t);
|
|
314
|
-
} catch {
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
return "";
|
|
319
|
-
}
|
|
320
|
-
var W = Object.prototype.hasOwnProperty, me = {}, he = D.ReactDebugCurrentFrame;
|
|
321
|
-
function G(e) {
|
|
322
|
-
if (e) {
|
|
323
|
-
var r = e._owner, t = B(e.type, e._source, r ? r.type : null);
|
|
324
|
-
he.setExtraStackFrame(t);
|
|
325
|
-
} else
|
|
326
|
-
he.setExtraStackFrame(null);
|
|
327
|
-
}
|
|
328
|
-
function Qe(e, r, t, n, p) {
|
|
329
|
-
{
|
|
330
|
-
var m = Function.call.bind(W);
|
|
331
|
-
for (var c in e)
|
|
332
|
-
if (m(e, c)) {
|
|
333
|
-
var l = void 0;
|
|
334
|
-
try {
|
|
335
|
-
if (typeof e[c] != "function") {
|
|
336
|
-
var I = Error((n || "React class") + ": " + t + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
-
throw I.name = "Invariant Violation", I;
|
|
338
|
-
}
|
|
339
|
-
l = e[c](r, c, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
-
} catch (E) {
|
|
341
|
-
l = E;
|
|
342
|
-
}
|
|
343
|
-
l && !(l instanceof Error) && (G(p), T("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, c, typeof l), G(null)), l instanceof Error && !(l.message in me) && (me[l.message] = !0, G(p), T("Failed %s type: %s", t, l.message), G(null));
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
}
|
|
347
|
-
var er = Array.isArray;
|
|
348
|
-
function X(e) {
|
|
349
|
-
return er(e);
|
|
350
|
-
}
|
|
351
|
-
function rr(e) {
|
|
352
|
-
{
|
|
353
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
|
-
return t;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
function tr(e) {
|
|
77
|
+
i(e);
|
|
78
|
+
var l = !1;
|
|
79
|
+
} catch {
|
|
80
|
+
l = !0;
|
|
81
|
+
}
|
|
82
|
+
if (l) {
|
|
83
|
+
l = console;
|
|
84
|
+
var p = l.error, b = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
85
|
+
return p.call(
|
|
86
|
+
l,
|
|
87
|
+
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
88
|
+
b
|
|
89
|
+
), i(e);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
function n(e) {
|
|
93
|
+
if (e === k) return "<>";
|
|
94
|
+
if (typeof e == "object" && e !== null && e.$$typeof === P)
|
|
95
|
+
return "<...>";
|
|
358
96
|
try {
|
|
359
|
-
|
|
97
|
+
var l = r(e);
|
|
98
|
+
return l ? "<" + l + ">" : "<...>";
|
|
360
99
|
} catch {
|
|
361
|
-
return
|
|
100
|
+
return "<...>";
|
|
362
101
|
}
|
|
363
102
|
}
|
|
364
|
-
function
|
|
365
|
-
|
|
103
|
+
function a() {
|
|
104
|
+
var e = C.A;
|
|
105
|
+
return e === null ? null : e.getOwner();
|
|
366
106
|
}
|
|
367
|
-
function
|
|
368
|
-
|
|
369
|
-
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rr(e)), ge(e);
|
|
107
|
+
function s() {
|
|
108
|
+
return Error("react-stack-top-frame");
|
|
370
109
|
}
|
|
371
|
-
|
|
372
|
-
key
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
__source: !0
|
|
376
|
-
}, ye, Re, Z;
|
|
377
|
-
Z = {};
|
|
378
|
-
function nr(e) {
|
|
379
|
-
if (W.call(e, "ref")) {
|
|
380
|
-
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
|
-
if (r && r.isReactWarning)
|
|
382
|
-
return !1;
|
|
383
|
-
}
|
|
384
|
-
return e.ref !== void 0;
|
|
385
|
-
}
|
|
386
|
-
function sr(e) {
|
|
387
|
-
if (W.call(e, "key")) {
|
|
388
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
|
-
if (r && r.isReactWarning)
|
|
390
|
-
return !1;
|
|
110
|
+
function o(e) {
|
|
111
|
+
if (M.call(e, "key")) {
|
|
112
|
+
var l = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
113
|
+
if (l && l.isReactWarning) return !1;
|
|
391
114
|
}
|
|
392
115
|
return e.key !== void 0;
|
|
393
116
|
}
|
|
394
|
-
function
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
{
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
|
-
get: t,
|
|
418
|
-
configurable: !0
|
|
419
|
-
});
|
|
420
|
-
}
|
|
421
|
-
}
|
|
422
|
-
var ur = function(e, r, t, n, p, m, c) {
|
|
423
|
-
var l = {
|
|
424
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
425
|
-
$$typeof: g,
|
|
426
|
-
// Built-in properties that belong on the element
|
|
117
|
+
function u(e, l) {
|
|
118
|
+
function p() {
|
|
119
|
+
F || (F = !0, console.error(
|
|
120
|
+
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
121
|
+
l
|
|
122
|
+
));
|
|
123
|
+
}
|
|
124
|
+
p.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
125
|
+
get: p,
|
|
126
|
+
configurable: !0
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function d() {
|
|
130
|
+
var e = r(this.type);
|
|
131
|
+
return Y[e] || (Y[e] = !0, console.error(
|
|
132
|
+
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
133
|
+
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
134
|
+
}
|
|
135
|
+
function x(e, l, p, b, w, A) {
|
|
136
|
+
var m = p.ref;
|
|
137
|
+
return e = {
|
|
138
|
+
$$typeof: q,
|
|
427
139
|
type: e,
|
|
428
|
-
key:
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
140
|
+
key: l,
|
|
141
|
+
props: p,
|
|
142
|
+
_owner: b
|
|
143
|
+
}, (m !== void 0 ? m : null) !== null ? Object.defineProperty(e, "ref", {
|
|
144
|
+
enumerable: !1,
|
|
145
|
+
get: d
|
|
146
|
+
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
435
147
|
configurable: !1,
|
|
436
148
|
enumerable: !1,
|
|
437
149
|
writable: !0,
|
|
438
|
-
value:
|
|
439
|
-
}), Object.defineProperty(
|
|
150
|
+
value: 0
|
|
151
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
440
152
|
configurable: !1,
|
|
441
153
|
enumerable: !1,
|
|
442
|
-
writable: !
|
|
443
|
-
value:
|
|
444
|
-
}), Object.defineProperty(
|
|
154
|
+
writable: !0,
|
|
155
|
+
value: null
|
|
156
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
445
157
|
configurable: !1,
|
|
446
158
|
enumerable: !1,
|
|
447
|
-
writable: !
|
|
448
|
-
value:
|
|
449
|
-
}), Object.
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
}
|
|
477
|
-
var ee;
|
|
478
|
-
ee = !1;
|
|
479
|
-
function re(e) {
|
|
480
|
-
return typeof e == "object" && e !== null && e.$$typeof === g;
|
|
481
|
-
}
|
|
482
|
-
function _e() {
|
|
483
|
-
{
|
|
484
|
-
if (Q.current) {
|
|
485
|
-
var e = N(Q.current.type);
|
|
486
|
-
if (e)
|
|
487
|
-
return `
|
|
488
|
-
|
|
489
|
-
Check the render method of \`` + e + "`.";
|
|
490
|
-
}
|
|
491
|
-
return "";
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
function dr(e) {
|
|
495
|
-
return "";
|
|
496
|
-
}
|
|
497
|
-
var je = {};
|
|
498
|
-
function fr(e) {
|
|
499
|
-
{
|
|
500
|
-
var r = _e();
|
|
501
|
-
if (!r) {
|
|
502
|
-
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
503
|
-
t && (r = `
|
|
504
|
-
|
|
505
|
-
Check the top-level render call using <` + t + ">.");
|
|
506
|
-
}
|
|
507
|
-
return r;
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
function we(e, r) {
|
|
511
|
-
{
|
|
512
|
-
if (!e._store || e._store.validated || e.key != null)
|
|
513
|
-
return;
|
|
514
|
-
e._store.validated = !0;
|
|
515
|
-
var t = fr(r);
|
|
516
|
-
if (je[t])
|
|
517
|
-
return;
|
|
518
|
-
je[t] = !0;
|
|
519
|
-
var n = "";
|
|
520
|
-
e && e._owner && e._owner !== Q.current && (n = " It was passed a child from " + N(e._owner.type) + "."), A(e), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), A(null);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
function Te(e, r) {
|
|
524
|
-
{
|
|
525
|
-
if (typeof e != "object")
|
|
526
|
-
return;
|
|
527
|
-
if (X(e))
|
|
528
|
-
for (var t = 0; t < e.length; t++) {
|
|
529
|
-
var n = e[t];
|
|
530
|
-
re(n) && we(n, r);
|
|
531
|
-
}
|
|
532
|
-
else if (re(e))
|
|
533
|
-
e._store && (e._store.validated = !0);
|
|
534
|
-
else if (e) {
|
|
535
|
-
var p = Me(e);
|
|
536
|
-
if (typeof p == "function" && p !== e.entries)
|
|
537
|
-
for (var m = p.call(e), c; !(c = m.next()).done; )
|
|
538
|
-
re(c.value) && we(c.value, r);
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
function pr(e) {
|
|
543
|
-
{
|
|
544
|
-
var r = e.type;
|
|
545
|
-
if (r == null || typeof r == "string")
|
|
546
|
-
return;
|
|
547
|
-
var t;
|
|
548
|
-
if (typeof r == "function")
|
|
549
|
-
t = r.propTypes;
|
|
550
|
-
else if (typeof r == "object" && (r.$$typeof === a || // Note: Memo only checks outer props here.
|
|
551
|
-
// Inner props are checked in the reconciler.
|
|
552
|
-
r.$$typeof === d))
|
|
553
|
-
t = r.propTypes;
|
|
554
|
-
else
|
|
555
|
-
return;
|
|
556
|
-
if (t) {
|
|
557
|
-
var n = N(r);
|
|
558
|
-
Qe(t, e.props, "prop", n, e);
|
|
559
|
-
} else if (r.PropTypes !== void 0 && !ee) {
|
|
560
|
-
ee = !0;
|
|
561
|
-
var p = N(r);
|
|
562
|
-
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
|
|
563
|
-
}
|
|
564
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
function vr(e) {
|
|
568
|
-
{
|
|
569
|
-
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
570
|
-
var n = r[t];
|
|
571
|
-
if (n !== "children" && n !== "key") {
|
|
572
|
-
A(e), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), A(null);
|
|
573
|
-
break;
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
e.ref !== null && (A(e), T("Invalid attribute `ref` supplied to `React.Fragment`."), A(null));
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
var Ce = {};
|
|
580
|
-
function Ie(e, r, t, n, p, m) {
|
|
581
|
-
{
|
|
582
|
-
var c = Be(e);
|
|
583
|
-
if (!c) {
|
|
584
|
-
var l = "";
|
|
585
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
586
|
-
var I = dr();
|
|
587
|
-
I ? l += I : l += _e();
|
|
588
|
-
var E;
|
|
589
|
-
e === null ? E = "null" : X(e) ? E = "array" : e !== void 0 && e.$$typeof === g ? (E = "<" + (N(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, l);
|
|
590
|
-
}
|
|
591
|
-
var _ = cr(e, r, t, p, m);
|
|
592
|
-
if (_ == null)
|
|
593
|
-
return _;
|
|
594
|
-
if (c) {
|
|
595
|
-
var P = r.children;
|
|
596
|
-
if (P !== void 0)
|
|
597
|
-
if (n)
|
|
598
|
-
if (X(P)) {
|
|
599
|
-
for (var $ = 0; $ < P.length; $++)
|
|
600
|
-
Te(P[$], e);
|
|
601
|
-
Object.freeze && Object.freeze(P);
|
|
602
|
-
} else
|
|
603
|
-
T("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
604
|
-
else
|
|
605
|
-
Te(P, e);
|
|
606
|
-
}
|
|
607
|
-
if (W.call(r, "key")) {
|
|
608
|
-
var q = N(e), S = Object.keys(r).filter(function(yr) {
|
|
609
|
-
return yr !== "key";
|
|
610
|
-
}), te = S.length > 0 ? "{key: someKey, " + S.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
611
|
-
if (!Ce[q + te]) {
|
|
612
|
-
var xr = S.length > 0 ? "{" + S.join(": ..., ") + ": ...}" : "{}";
|
|
613
|
-
T(`A props object containing a "key" prop is being spread into JSX:
|
|
159
|
+
writable: !0,
|
|
160
|
+
value: w
|
|
161
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
162
|
+
configurable: !1,
|
|
163
|
+
enumerable: !1,
|
|
164
|
+
writable: !0,
|
|
165
|
+
value: A
|
|
166
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
167
|
+
}
|
|
168
|
+
function f(e, l, p, b, w, A) {
|
|
169
|
+
var m = l.children;
|
|
170
|
+
if (m !== void 0)
|
|
171
|
+
if (b)
|
|
172
|
+
if (ce(m)) {
|
|
173
|
+
for (b = 0; b < m.length; b++)
|
|
174
|
+
g(m[b]);
|
|
175
|
+
Object.freeze && Object.freeze(m);
|
|
176
|
+
} else
|
|
177
|
+
console.error(
|
|
178
|
+
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
179
|
+
);
|
|
180
|
+
else g(m);
|
|
181
|
+
if (M.call(l, "key")) {
|
|
182
|
+
m = r(e);
|
|
183
|
+
var j = Object.keys(l).filter(function(ue) {
|
|
184
|
+
return ue !== "key";
|
|
185
|
+
});
|
|
186
|
+
b = 0 < j.length ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}", L[m + b] || (j = 0 < j.length ? "{" + j.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
187
|
+
`A props object containing a "key" prop is being spread into JSX:
|
|
614
188
|
let props = %s;
|
|
615
189
|
<%s {...props} />
|
|
616
190
|
React keys must be passed directly to JSX without using spread:
|
|
617
191
|
let props = %s;
|
|
618
|
-
<%s key={someKey} {...props} />`,
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
192
|
+
<%s key={someKey} {...props} />`,
|
|
193
|
+
b,
|
|
194
|
+
m,
|
|
195
|
+
j,
|
|
196
|
+
m
|
|
197
|
+
), L[m + b] = !0);
|
|
198
|
+
}
|
|
199
|
+
if (m = null, p !== void 0 && (c(p), m = "" + p), o(l) && (c(l.key), m = "" + l.key), "key" in l) {
|
|
200
|
+
p = {};
|
|
201
|
+
for (var O in l)
|
|
202
|
+
O !== "key" && (p[O] = l[O]);
|
|
203
|
+
} else p = l;
|
|
204
|
+
return m && u(
|
|
205
|
+
p,
|
|
206
|
+
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
207
|
+
), x(
|
|
208
|
+
e,
|
|
209
|
+
m,
|
|
210
|
+
p,
|
|
211
|
+
a(),
|
|
212
|
+
w,
|
|
213
|
+
A
|
|
214
|
+
);
|
|
215
|
+
}
|
|
216
|
+
function g(e) {
|
|
217
|
+
h(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === P && (e._payload.status === "fulfilled" ? h(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
218
|
+
}
|
|
219
|
+
function h(e) {
|
|
220
|
+
return typeof e == "object" && e !== null && e.$$typeof === q;
|
|
221
|
+
}
|
|
222
|
+
var v = R, q = /* @__PURE__ */ Symbol.for("react.transitional.element"), K = /* @__PURE__ */ Symbol.for("react.portal"), k = /* @__PURE__ */ Symbol.for("react.fragment"), ee = /* @__PURE__ */ Symbol.for("react.strict_mode"), re = /* @__PURE__ */ Symbol.for("react.profiler"), se = /* @__PURE__ */ Symbol.for("react.consumer"), te = /* @__PURE__ */ Symbol.for("react.context"), le = /* @__PURE__ */ Symbol.for("react.forward_ref"), ae = /* @__PURE__ */ Symbol.for("react.suspense"), oe = /* @__PURE__ */ Symbol.for("react.suspense_list"), ie = /* @__PURE__ */ Symbol.for("react.memo"), P = /* @__PURE__ */ Symbol.for("react.lazy"), ne = /* @__PURE__ */ Symbol.for("react.activity"), de = /* @__PURE__ */ Symbol.for("react.client.reference"), C = v.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, ce = Array.isArray, S = console.createTask ? console.createTask : function() {
|
|
223
|
+
return null;
|
|
224
|
+
};
|
|
225
|
+
v = {
|
|
226
|
+
react_stack_bottom_frame: function(e) {
|
|
227
|
+
return e();
|
|
622
228
|
}
|
|
623
|
-
}
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
229
|
+
};
|
|
230
|
+
var F, Y = {}, z = v.react_stack_bottom_frame.bind(
|
|
231
|
+
v,
|
|
232
|
+
s
|
|
233
|
+
)(), D = S(n(s)), L = {};
|
|
234
|
+
_.Fragment = k, _.jsx = function(e, l, p) {
|
|
235
|
+
var b = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
236
|
+
return f(
|
|
237
|
+
e,
|
|
238
|
+
l,
|
|
239
|
+
p,
|
|
240
|
+
!1,
|
|
241
|
+
b ? Error("react-stack-top-frame") : z,
|
|
242
|
+
b ? S(n(e)) : D
|
|
243
|
+
);
|
|
244
|
+
}, _.jsxs = function(e, l, p) {
|
|
245
|
+
var b = 1e4 > C.recentlyCreatedOwnerStacks++;
|
|
246
|
+
return f(
|
|
247
|
+
e,
|
|
248
|
+
l,
|
|
249
|
+
p,
|
|
250
|
+
!0,
|
|
251
|
+
b ? Error("react-stack-top-frame") : z,
|
|
252
|
+
b ? S(n(e)) : D
|
|
253
|
+
);
|
|
254
|
+
};
|
|
255
|
+
})()), _;
|
|
633
256
|
}
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
257
|
+
var U;
|
|
258
|
+
function be() {
|
|
259
|
+
return U || (U = 1, process.env.NODE_ENV === "production" ? I.exports = fe() : I.exports = pe()), I.exports;
|
|
260
|
+
}
|
|
261
|
+
var t = be();
|
|
262
|
+
const y = (...r) => r.filter(Boolean).join(" ");
|
|
263
|
+
var N;
|
|
264
|
+
((r) => {
|
|
265
|
+
r.clickable = `
|
|
266
|
+
px-2
|
|
267
|
+
min-h-[calc(44/16*1rem)]
|
|
268
|
+
border
|
|
269
|
+
border-transparent
|
|
270
|
+
rounded-lg
|
|
271
|
+
hover:bg-solid-grey-50
|
|
272
|
+
`, r.selected = `
|
|
273
|
+
rounded-full
|
|
274
|
+
bg-yellow-50
|
|
275
|
+
`;
|
|
276
|
+
const i = `
|
|
277
|
+
focus-visible:outline-4
|
|
278
|
+
focus-visible:outline-black
|
|
279
|
+
focus-visible:ring-yellow-300
|
|
280
|
+
`;
|
|
281
|
+
r.focusRectCondensed = `
|
|
282
|
+
${i}
|
|
283
|
+
focus-visible:-outline-offset-4
|
|
284
|
+
focus-visible:ring-[calc(6/16*1rem)]
|
|
285
|
+
focus-visible:ring-inset
|
|
286
|
+
`, r.focusRectCondensedWithBg = `
|
|
287
|
+
${r.focusRectCondensed}
|
|
288
|
+
focus-visible:bg-yellow-300
|
|
289
|
+
`, r.focusRect = `
|
|
290
|
+
${i}
|
|
291
|
+
focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
292
|
+
focus-visible:ring-[calc(2/16*1rem)]
|
|
293
|
+
`, r.focusRounded = `
|
|
294
|
+
${r.focusRect}
|
|
295
|
+
focus-visible:rounded-sm
|
|
296
|
+
`, r.focusCard = `
|
|
297
|
+
${r.focusRect}
|
|
298
|
+
focus-visible:rounded-2xl
|
|
299
|
+
sm:focus-visible:rounded-3xl
|
|
300
|
+
`, r.focusRectWithBg = `
|
|
301
|
+
${r.focusRect}
|
|
302
|
+
focus-visible:bg-yellow-300
|
|
303
|
+
`, r.focusRoundedWithBg = `
|
|
304
|
+
${r.focusRectWithBg}
|
|
305
|
+
focus-visible:rounded-sm
|
|
306
|
+
`, r.hoverUnderline = `
|
|
307
|
+
hover:underline
|
|
308
|
+
hover:underline-offset-[calc(3/16*1rem)]
|
|
309
|
+
`, r.underline = `
|
|
310
|
+
underline
|
|
311
|
+
underline-offset-[calc(3/16*1rem)]
|
|
312
|
+
hover:decoration-[calc(3/16*1rem)]
|
|
313
|
+
`, r.underlineNoDeco = `
|
|
314
|
+
underline
|
|
315
|
+
underline-offset-[calc(3/16*1rem)]
|
|
316
|
+
`, r.popover = `
|
|
317
|
+
min-w-fit
|
|
318
|
+
w-auto
|
|
319
|
+
py-2
|
|
320
|
+
bg-white
|
|
321
|
+
shadow-1
|
|
322
|
+
rounded-lg
|
|
323
|
+
border
|
|
324
|
+
border-solid-grey-420
|
|
325
|
+
has-[>:nth-child(7)]:rounded-r-none
|
|
326
|
+
`, r.popoverPositionBottomRight = `
|
|
327
|
+
absolute
|
|
328
|
+
top-11
|
|
329
|
+
right-0
|
|
330
|
+
`, r.popoverPositionBottomLeft = `
|
|
331
|
+
absolute
|
|
332
|
+
top-11
|
|
333
|
+
left-0
|
|
334
|
+
`, ((c) => {
|
|
335
|
+
c.focus = `
|
|
336
|
+
peer-focus-visible:outline-4
|
|
337
|
+
peer-focus-visible:outline-black
|
|
338
|
+
peer-focus-visible:ring-yellow-300
|
|
339
|
+
`, c.focusRect = `
|
|
340
|
+
${c.focus}
|
|
341
|
+
peer-focus-visible:outline-offset-[calc(2/16*1rem)]
|
|
342
|
+
peer-focus-visible:ring-[calc(2/16*1rem)]
|
|
343
|
+
`;
|
|
344
|
+
})(r.Peer || (r.Peer = {}));
|
|
345
|
+
})(N || (N = {}));
|
|
346
|
+
const T = R.createContext({
|
|
637
347
|
helperTextId: "",
|
|
638
348
|
errorMessageId: "",
|
|
639
349
|
isInvalid: !1,
|
|
640
350
|
isRequired: !1
|
|
641
|
-
}),
|
|
351
|
+
}), G = `
|
|
642
352
|
bg-white
|
|
643
353
|
border
|
|
644
354
|
border-solid
|
|
645
|
-
border-
|
|
646
|
-
outline-offset-2
|
|
647
|
-
focus:outline
|
|
648
|
-
focus:outline-2
|
|
649
|
-
focus:outline-wood-500
|
|
355
|
+
border-solid-gray-900
|
|
650
356
|
disabled:bg-transparent
|
|
651
|
-
disabled:text-
|
|
652
|
-
disabled:border-
|
|
653
|
-
aria-invalid:border-
|
|
654
|
-
|
|
357
|
+
disabled:text-solid-gray-500
|
|
358
|
+
disabled:border-solid-gray-500
|
|
359
|
+
aria-invalid:border-red-800
|
|
360
|
+
${N.focusRect}
|
|
361
|
+
`, V = {
|
|
655
362
|
// 16(p-4) * 2 + 22(text-label * leading-snug) + boader * 2 = 56px
|
|
656
363
|
lg: `
|
|
657
364
|
p-4
|
|
@@ -675,13 +382,13 @@ const C = (...v) => v.filter(Boolean).join(" "), O = y.createContext({
|
|
|
675
382
|
rounded-md
|
|
676
383
|
leading-snug
|
|
677
384
|
`
|
|
678
|
-
},
|
|
385
|
+
}, J = `
|
|
679
386
|
inline-block
|
|
680
387
|
cursor-pointer
|
|
681
388
|
border
|
|
682
389
|
border-solid
|
|
683
390
|
border-transparent
|
|
684
|
-
`,
|
|
391
|
+
`, H = {
|
|
685
392
|
// 16(p-4) * 2 + 22(text-label * leading-snug) + boader(transparent) * 2 = 56px
|
|
686
393
|
lg: `
|
|
687
394
|
pr-8
|
|
@@ -703,513 +410,494 @@ const C = (...v) => v.filter(Boolean).join(" "), O = y.createContext({
|
|
|
703
410
|
text-label
|
|
704
411
|
leading-snug
|
|
705
412
|
`
|
|
706
|
-
},
|
|
413
|
+
}, X = {
|
|
707
414
|
lg: "w-[22px] h-[22px] mr-2",
|
|
708
415
|
md: "w-[18px] h-[18px] mr-1.5",
|
|
709
416
|
sm: "w-[18px] h-[18px] mr-1"
|
|
710
|
-
},
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
417
|
+
}, Z = (r) => {
|
|
418
|
+
const { id: i, className: c, size: n = "lg", children: a, ...s } = r, o = R.useId(), u = i || o, d = R.useContext(T);
|
|
419
|
+
d.isRequired && (s.required = !0), d.groupName && (s.name = d.groupName);
|
|
420
|
+
const x = {
|
|
421
|
+
lg: 22 / 24,
|
|
422
|
+
md: 18 / 24,
|
|
423
|
+
sm: 18 / 24
|
|
424
|
+
}, f = `
|
|
425
|
+
peer
|
|
426
|
+
sr-only
|
|
427
|
+
`, g = `
|
|
428
|
+
bg-clip-content
|
|
429
|
+
rounded-sm
|
|
430
|
+
border
|
|
431
|
+
border-solid
|
|
432
|
+
border-solid-gray-900
|
|
433
|
+
fill-transparent
|
|
434
|
+
peer-checked:fill-white
|
|
435
|
+
peer-checked:bg-blue-600
|
|
436
|
+
peer-checked:border-none
|
|
437
|
+
peer-disabled:border-solid-gray-500
|
|
438
|
+
${N.Peer.focusRect}
|
|
439
|
+
`;
|
|
440
|
+
return /* @__PURE__ */ t.jsx(
|
|
441
|
+
"label",
|
|
442
|
+
{
|
|
443
|
+
htmlFor: u,
|
|
444
|
+
className: y(
|
|
445
|
+
J,
|
|
446
|
+
H[n],
|
|
447
|
+
c
|
|
448
|
+
),
|
|
449
|
+
children: /* @__PURE__ */ t.jsxs("span", { className: "flex items-center", children: [
|
|
450
|
+
/* @__PURE__ */ t.jsx(
|
|
451
|
+
"input",
|
|
452
|
+
{
|
|
453
|
+
id: u,
|
|
454
|
+
className: f,
|
|
455
|
+
type: "checkbox",
|
|
456
|
+
"aria-describedby": d.helperTextId,
|
|
457
|
+
"aria-errormessage": d.errorMessageId,
|
|
458
|
+
"aria-invalid": d.isInvalid ?? !1,
|
|
459
|
+
"aria-required": d.isRequired ?? !1,
|
|
460
|
+
...s
|
|
461
|
+
}
|
|
462
|
+
),
|
|
463
|
+
/* @__PURE__ */ t.jsx("span", { className: y(g, X[n]), children: /* @__PURE__ */ t.jsx(
|
|
464
|
+
"svg",
|
|
465
|
+
{
|
|
466
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
467
|
+
"aria-hidden": !0,
|
|
468
|
+
width: "24",
|
|
469
|
+
height: "24",
|
|
470
|
+
viewBox: "0 0 24 24",
|
|
471
|
+
children: /* @__PURE__ */ t.jsx("g", { transform: `scale(${x[n]} ${x[n]})`, children: /* @__PURE__ */ t.jsx("path", { d: "m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z" }) })
|
|
472
|
+
}
|
|
473
|
+
) }),
|
|
474
|
+
/* @__PURE__ */ t.jsx("span", { className: "peer-disabled:text-solid-gray-500", children: a })
|
|
475
|
+
] })
|
|
476
|
+
}
|
|
477
|
+
);
|
|
478
|
+
};
|
|
479
|
+
Z.displayName = "Checkbox";
|
|
480
|
+
const Q = (r) => {
|
|
481
|
+
const { id: i, className: c, size: n = "lg", children: a, ...s } = r, o = R.useId(), u = i || o, d = R.useContext(T);
|
|
482
|
+
d.isRequired && (s.required = !0), d.groupName && (s.name = d.groupName);
|
|
483
|
+
const x = `
|
|
484
|
+
peer
|
|
485
|
+
sr-only
|
|
486
|
+
`, f = `
|
|
487
|
+
bg-clip-content
|
|
488
|
+
rounded-full
|
|
489
|
+
border
|
|
490
|
+
border-solid
|
|
491
|
+
border-solid-gray-900
|
|
492
|
+
peer-checked:bg-blue-600
|
|
493
|
+
peer-checked:border-blue-600
|
|
494
|
+
peer-disabled:border-solid-gray-500
|
|
495
|
+
${N.Peer.focusRect}
|
|
496
|
+
`, g = {
|
|
497
|
+
lg: "p-1",
|
|
498
|
+
md: "p-[3px]",
|
|
499
|
+
sm: "p-[3px]"
|
|
500
|
+
};
|
|
501
|
+
return /* @__PURE__ */ t.jsx(
|
|
502
|
+
"label",
|
|
503
|
+
{
|
|
504
|
+
htmlFor: u,
|
|
505
|
+
className: y(
|
|
506
|
+
J,
|
|
507
|
+
H[n],
|
|
508
|
+
c
|
|
509
|
+
),
|
|
510
|
+
children: /* @__PURE__ */ t.jsxs("span", { className: "flex items-center", children: [
|
|
511
|
+
/* @__PURE__ */ t.jsx(
|
|
512
|
+
"input",
|
|
513
|
+
{
|
|
514
|
+
id: u,
|
|
515
|
+
className: x,
|
|
516
|
+
type: "radio",
|
|
517
|
+
"aria-describedby": d.helperTextId,
|
|
518
|
+
"aria-errormessage": d.errorMessageId,
|
|
519
|
+
"aria-invalid": d.isInvalid ?? !1,
|
|
520
|
+
"aria-required": d.isRequired ?? !1,
|
|
521
|
+
...s
|
|
522
|
+
}
|
|
523
|
+
),
|
|
524
|
+
/* @__PURE__ */ t.jsx(
|
|
525
|
+
"span",
|
|
526
|
+
{
|
|
527
|
+
"aria-hidden": !0,
|
|
528
|
+
className: y(f, g[n], X[n])
|
|
529
|
+
}
|
|
530
|
+
),
|
|
531
|
+
/* @__PURE__ */ t.jsx("span", { className: "peer-disabled:text-solid-gray-500", children: a })
|
|
532
|
+
] })
|
|
533
|
+
}
|
|
534
|
+
);
|
|
535
|
+
};
|
|
536
|
+
Q.displayName = "Radio";
|
|
537
|
+
const me = (r) => {
|
|
538
|
+
const { id: i, className: c, size: n = "lg", children: a, ...s } = r, o = R.useContext(T);
|
|
539
|
+
return o.isRequired && (s.required = !0), /* @__PURE__ */ t.jsxs("div", { className: "inline-block relative", children: [
|
|
540
|
+
/* @__PURE__ */ t.jsx(
|
|
541
|
+
"select",
|
|
721
542
|
{
|
|
722
|
-
|
|
723
|
-
className:
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
543
|
+
id: i || o.id,
|
|
544
|
+
className: y(
|
|
545
|
+
`
|
|
546
|
+
!pr-8
|
|
547
|
+
peer
|
|
548
|
+
cursor-pointer
|
|
549
|
+
appearance-none
|
|
550
|
+
`,
|
|
551
|
+
G,
|
|
552
|
+
V[n],
|
|
553
|
+
c
|
|
727
554
|
),
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
peer
|
|
735
|
-
sr-only
|
|
736
|
-
`,
|
|
737
|
-
type: "checkbox",
|
|
738
|
-
"aria-describedby": a.helperTextId,
|
|
739
|
-
"aria-errormessage": a.errorMessageId,
|
|
740
|
-
"aria-invalid": a.isInvalid ?? !1,
|
|
741
|
-
"aria-required": a.isRequired ?? !1,
|
|
742
|
-
...i,
|
|
743
|
-
ref: g
|
|
744
|
-
}
|
|
745
|
-
),
|
|
746
|
-
/* @__PURE__ */ s.jsx("span", { className: C(`
|
|
747
|
-
bg-clip-content
|
|
748
|
-
rounded
|
|
749
|
-
border
|
|
750
|
-
border-solid
|
|
751
|
-
border-sumi-900
|
|
752
|
-
fill-transparent
|
|
753
|
-
peer-checked:fill-white
|
|
754
|
-
peer-checked:bg-sea-600
|
|
755
|
-
peer-checked:border-none
|
|
756
|
-
peer-disabled:border-sumi-500
|
|
757
|
-
peer-focus-visible:ring-2
|
|
758
|
-
peer-focus-visible:ring-offset-2
|
|
759
|
-
peer-focus-visible:ring-wood-500
|
|
760
|
-
`, qe[f]), children: /* @__PURE__ */ s.jsxs(
|
|
761
|
-
"svg",
|
|
762
|
-
{
|
|
763
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
764
|
-
"aria-hidden": !0,
|
|
765
|
-
width: "24",
|
|
766
|
-
height: "24",
|
|
767
|
-
viewBox: "0 0 24 24",
|
|
768
|
-
children: [
|
|
769
|
-
/* @__PURE__ */ s.jsx("title", { children: "check" }),
|
|
770
|
-
/* @__PURE__ */ s.jsx("g", { transform: `scale(${R[f]} ${R[f]})`, children: /* @__PURE__ */ s.jsx("path", { d: "m9.55 17.65-5.325-5.325 1.05-1.075 4.275 4.275 9.175-9.175 1.05 1.075Z" }) })
|
|
771
|
-
]
|
|
772
|
-
}
|
|
773
|
-
) }),
|
|
774
|
-
/* @__PURE__ */ s.jsx("span", { className: "peer-disabled:text-sumi-500", children: u })
|
|
775
|
-
] })
|
|
555
|
+
"aria-describedby": o.helperTextId,
|
|
556
|
+
"aria-errormessage": o.errorMessageId,
|
|
557
|
+
"aria-invalid": o.isInvalid ?? !1,
|
|
558
|
+
"aria-required": o.isRequired ?? !1,
|
|
559
|
+
...s,
|
|
560
|
+
children: a
|
|
776
561
|
}
|
|
777
|
-
)
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
De.displayName = "Checkbox";
|
|
781
|
-
const Ae = y.forwardRef(
|
|
782
|
-
(v, g) => {
|
|
783
|
-
const { id: b, className: x, size: f = "lg", children: u, ...i } = v, o = b || y.useId(), a = y.useContext(O);
|
|
784
|
-
a.isRequired && (i.required = !0), a.groupName && (i.name = a.groupName);
|
|
785
|
-
const R = `
|
|
786
|
-
peer
|
|
787
|
-
sr-only
|
|
788
|
-
`, h = `
|
|
789
|
-
bg-clip-content
|
|
790
|
-
rounded-full
|
|
791
|
-
border
|
|
792
|
-
border-solid
|
|
793
|
-
border-sumi-900
|
|
794
|
-
peer-checked:bg-sea-600
|
|
795
|
-
peer-checked:border-sea-600
|
|
796
|
-
peer-disabled:border-sumi-500
|
|
797
|
-
peer-focus-visible:ring-2
|
|
798
|
-
peer-focus-visible:ring-offset-2
|
|
799
|
-
peer-focus-visible:ring-wood-500
|
|
800
|
-
`, d = {
|
|
801
|
-
lg: "p-1",
|
|
802
|
-
md: "p-[3px]",
|
|
803
|
-
sm: "p-[3px]"
|
|
804
|
-
};
|
|
805
|
-
return /* @__PURE__ */ s.jsx(
|
|
806
|
-
"label",
|
|
562
|
+
),
|
|
563
|
+
/* @__PURE__ */ t.jsxs(
|
|
564
|
+
"svg",
|
|
807
565
|
{
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
}
|
|
828
|
-
),
|
|
829
|
-
/* @__PURE__ */ s.jsx(
|
|
830
|
-
"span",
|
|
566
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
567
|
+
"aria-hidden": !0,
|
|
568
|
+
className: `
|
|
569
|
+
pointer-events-none
|
|
570
|
+
absolute
|
|
571
|
+
right-4
|
|
572
|
+
top-1/2
|
|
573
|
+
-translate-y-1/2
|
|
574
|
+
text-solid-gray-900
|
|
575
|
+
peer-disabled:text-solid-gray-500
|
|
576
|
+
`,
|
|
577
|
+
fill: "none",
|
|
578
|
+
width: "16",
|
|
579
|
+
height: "16",
|
|
580
|
+
viewBox: "0 0 16 16",
|
|
581
|
+
children: [
|
|
582
|
+
/* @__PURE__ */ t.jsx("title", { children: "arrow down" }),
|
|
583
|
+
/* @__PURE__ */ t.jsx(
|
|
584
|
+
"path",
|
|
831
585
|
{
|
|
832
|
-
"
|
|
833
|
-
|
|
586
|
+
d: "M12 15.05 6.35 9.4 7.4 8.35l4.6 4.6 4.6-4.6 1.05 1.05Z",
|
|
587
|
+
fill: "currentColor"
|
|
834
588
|
}
|
|
835
|
-
)
|
|
836
|
-
|
|
837
|
-
] })
|
|
589
|
+
)
|
|
590
|
+
]
|
|
838
591
|
}
|
|
839
|
-
)
|
|
840
|
-
}
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
const
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
text-sumi-900
|
|
883
|
-
peer-disabled:text-sumi-500
|
|
884
|
-
`,
|
|
885
|
-
fill: "none",
|
|
886
|
-
width: "16",
|
|
887
|
-
height: "16",
|
|
888
|
-
viewBox: "0 0 16 16",
|
|
889
|
-
children: [
|
|
890
|
-
/* @__PURE__ */ s.jsx("title", { children: "arrow down" }),
|
|
891
|
-
/* @__PURE__ */ s.jsx(
|
|
892
|
-
"path",
|
|
893
|
-
{
|
|
894
|
-
d: "M12 15.05 6.35 9.4 7.4 8.35l4.6 4.6 4.6-4.6 1.05 1.05Z",
|
|
895
|
-
fill: "currentColor"
|
|
896
|
-
}
|
|
897
|
-
)
|
|
898
|
-
]
|
|
899
|
-
}
|
|
900
|
-
)
|
|
901
|
-
] });
|
|
902
|
-
}
|
|
903
|
-
), _r = y.forwardRef(
|
|
904
|
-
(v, g) => {
|
|
905
|
-
const { id: b, className: x, ...f } = v, u = y.useContext(O);
|
|
906
|
-
return u.isRequired && (f.required = !0), /* @__PURE__ */ s.jsx(
|
|
907
|
-
"input",
|
|
908
|
-
{
|
|
909
|
-
type: "file",
|
|
910
|
-
id: b || u.id,
|
|
911
|
-
className: C(`
|
|
912
|
-
file:mr-2
|
|
913
|
-
file:inline-block
|
|
914
|
-
file:text-button
|
|
915
|
-
file:text-center
|
|
916
|
-
file:cursor-pointer
|
|
917
|
-
file:select-none
|
|
918
|
-
file:touch-manipulation
|
|
919
|
-
file:whitespace-nowrap
|
|
920
|
-
file:border
|
|
921
|
-
file:border-solid
|
|
922
|
-
file:border-sea-800
|
|
923
|
-
file:active:border-sea-1200
|
|
924
|
-
file:hover:border-sea-900
|
|
925
|
-
file:disabled:border-sumi-500
|
|
926
|
-
file:disabled:cursor-not-allowed
|
|
927
|
-
`, `
|
|
928
|
-
file:text-sea-800
|
|
929
|
-
file:bg-transparent
|
|
930
|
-
file:active:bg-sea-200
|
|
931
|
-
file:hover:bg-sea-100
|
|
932
|
-
file:active:text-sea-1200
|
|
933
|
-
file:hover:text-sea-900
|
|
934
|
-
file:disabled:text-sumi-500
|
|
935
|
-
file:disabled:bg-transparent
|
|
936
|
-
`, `
|
|
592
|
+
)
|
|
593
|
+
] });
|
|
594
|
+
};
|
|
595
|
+
me.displayName = "Select";
|
|
596
|
+
const xe = (r) => {
|
|
597
|
+
const { id: i, className: c, size: n = "lg", ...a } = r, s = R.useContext(T);
|
|
598
|
+
s.isRequired && (a.required = !0);
|
|
599
|
+
const o = `
|
|
600
|
+
file:mr-2
|
|
601
|
+
file:inline-block
|
|
602
|
+
file:text-button
|
|
603
|
+
file:text-center
|
|
604
|
+
file:cursor-pointer
|
|
605
|
+
file:select-none
|
|
606
|
+
file:touch-manipulation
|
|
607
|
+
file:whitespace-nowrap
|
|
608
|
+
file:border
|
|
609
|
+
file:border-solid
|
|
610
|
+
file:border-blue-900
|
|
611
|
+
file:hover:border-blue-1000
|
|
612
|
+
file:active:border-blue-1200
|
|
613
|
+
file:disabled:border-solid-gray-500
|
|
614
|
+
file:disabled:cursor-not-allowed
|
|
615
|
+
`, u = `
|
|
616
|
+
file:text-blue-900
|
|
617
|
+
file:hover:text-blue-1000
|
|
618
|
+
file:active:text-blue-1200
|
|
619
|
+
file:bg-transparent
|
|
620
|
+
file:hover:bg-blue-200
|
|
621
|
+
file:active:bg-blue-300
|
|
622
|
+
file:disabled:text-solid-gray-500
|
|
623
|
+
file:disabled:bg-transparent
|
|
624
|
+
`, d = `
|
|
625
|
+
text-label
|
|
626
|
+
text-solid-gray-900
|
|
627
|
+
rounded-lg
|
|
628
|
+
outline-offset-2
|
|
629
|
+
aria-invalid:text-red-800
|
|
630
|
+
${N.hoverUnderline}
|
|
631
|
+
${N.focusRounded}
|
|
632
|
+
`, x = {
|
|
633
|
+
// 16(p-4) * 2 + 22(text-button * leading-snug) + boader * 2 = 56px
|
|
634
|
+
lg: `
|
|
937
635
|
file:p-4
|
|
938
636
|
file:text-button
|
|
939
637
|
file:rounded-lg
|
|
940
638
|
file:leading-snug
|
|
941
|
-
`,
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
(v, g) => {
|
|
964
|
-
const { id: b, className: x, size: f = "lg", ...u } = v, i = y.useContext(O);
|
|
965
|
-
return i.isRequired && (u.required = !0), /* @__PURE__ */ s.jsx(
|
|
639
|
+
`,
|
|
640
|
+
// 12(py-3) * 2 + 22(text-button * leading-snug) + boader * 2 = 48px
|
|
641
|
+
md: `
|
|
642
|
+
file:px-4
|
|
643
|
+
file:py-3
|
|
644
|
+
file:text-button
|
|
645
|
+
file:rounded-lg
|
|
646
|
+
file:leading-snug
|
|
647
|
+
`,
|
|
648
|
+
// 8(py-2) * 2 + 22(text-button * leading-snug) + boader * 2 = 40px
|
|
649
|
+
sm: `
|
|
650
|
+
file:px-3
|
|
651
|
+
file:py-2
|
|
652
|
+
file:text-button
|
|
653
|
+
file:rounded-md
|
|
654
|
+
file:leading-snug
|
|
655
|
+
`
|
|
656
|
+
};
|
|
657
|
+
return (
|
|
658
|
+
// biome-ignore lint/a11y/useAriaPropsSupportedByRole: see the TODO above
|
|
659
|
+
// biome-ignore lint/a11y/useSemanticElements: see the TODO above
|
|
660
|
+
/* @__PURE__ */ t.jsx(
|
|
966
661
|
"input",
|
|
967
662
|
{
|
|
968
|
-
type: "
|
|
969
|
-
id:
|
|
970
|
-
className:
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
"
|
|
976
|
-
"aria-
|
|
977
|
-
|
|
978
|
-
"aria-required": i.isRequired ?? !1,
|
|
979
|
-
ref: g,
|
|
980
|
-
...u
|
|
663
|
+
type: "file",
|
|
664
|
+
id: i || s.id,
|
|
665
|
+
className: y(o, u, x[n], d, c),
|
|
666
|
+
"aria-describedby": s.helperTextId,
|
|
667
|
+
"aria-errormessage": s.errorMessageId,
|
|
668
|
+
"aria-invalid": s.isInvalid ?? !1,
|
|
669
|
+
"aria-required": s.isRequired ?? !1,
|
|
670
|
+
role: "button",
|
|
671
|
+
"aria-label": "File Upload",
|
|
672
|
+
...a
|
|
981
673
|
}
|
|
982
|
-
)
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
const
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
674
|
+
)
|
|
675
|
+
);
|
|
676
|
+
};
|
|
677
|
+
xe.displayName = "FileInput";
|
|
678
|
+
const ge = (r) => {
|
|
679
|
+
const { id: i, className: c, size: n = "lg", ...a } = r, s = R.useContext(T);
|
|
680
|
+
return s.isRequired && (a.required = !0), /* @__PURE__ */ t.jsx(
|
|
681
|
+
"input",
|
|
682
|
+
{
|
|
683
|
+
type: "text",
|
|
684
|
+
id: i || s.id,
|
|
685
|
+
className: y(
|
|
686
|
+
G,
|
|
687
|
+
V[n],
|
|
688
|
+
c
|
|
689
|
+
),
|
|
690
|
+
"aria-describedby": s.helperTextId,
|
|
691
|
+
"aria-errormessage": s.errorMessageId,
|
|
692
|
+
"aria-invalid": s.isInvalid ?? !1,
|
|
693
|
+
"aria-required": s.isRequired ?? !1,
|
|
694
|
+
...a
|
|
695
|
+
}
|
|
696
|
+
);
|
|
697
|
+
};
|
|
698
|
+
ge.displayName = "Input";
|
|
699
|
+
const he = (r) => {
|
|
700
|
+
const { id: i, className: c, children: n, onChange: a, maxLength: s, ...o } = r, [u, d] = R.useState(0), x = (v) => {
|
|
701
|
+
a && a(v), d(v.target.value.length);
|
|
702
|
+
}, f = R.useContext(T);
|
|
703
|
+
f.isRequired && (o.required = !0);
|
|
704
|
+
const g = u > (s || 0) ? "text-red-800" : "text-solid-gray-700", h = `
|
|
999
705
|
p-4
|
|
1000
706
|
text-label
|
|
1001
707
|
rounded-lg
|
|
1002
708
|
border
|
|
1003
709
|
border-solid
|
|
1004
|
-
border-
|
|
1005
|
-
outline-offset-2
|
|
1006
|
-
focus:outline
|
|
1007
|
-
focus:outline-2
|
|
1008
|
-
focus:outline-wood-500
|
|
710
|
+
border-solid-gray-900
|
|
1009
711
|
disabled:bg-transparent
|
|
1010
|
-
disabled:text-
|
|
1011
|
-
disabled:border-
|
|
1012
|
-
aria-invalid:border-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
)
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
712
|
+
disabled:text-solid-gray-500
|
|
713
|
+
disabled:border-solid-gray-500
|
|
714
|
+
aria-invalid:border-red-800
|
|
715
|
+
${N.focusRect}
|
|
716
|
+
`;
|
|
717
|
+
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
718
|
+
/* @__PURE__ */ t.jsx(
|
|
719
|
+
"textarea",
|
|
720
|
+
{
|
|
721
|
+
id: i || f.id,
|
|
722
|
+
className: y(h, c),
|
|
723
|
+
"aria-describedby": f.helperTextId,
|
|
724
|
+
"aria-errormessage": f.errorMessageId,
|
|
725
|
+
"aria-invalid": f.isInvalid ?? !1,
|
|
726
|
+
"aria-required": f.isRequired ?? !1,
|
|
727
|
+
onChange: x,
|
|
728
|
+
...o,
|
|
729
|
+
children: n
|
|
730
|
+
}
|
|
731
|
+
),
|
|
732
|
+
s ? /* @__PURE__ */ t.jsxs("p", { className: "text-label text-solid-gray-700", children: [
|
|
733
|
+
/* @__PURE__ */ t.jsx("span", { className: g, children: u }),
|
|
734
|
+
"/",
|
|
735
|
+
/* @__PURE__ */ t.jsx("span", { children: s })
|
|
736
|
+
] }) : ""
|
|
737
|
+
] });
|
|
738
|
+
};
|
|
739
|
+
he.displayName = "Textarea";
|
|
740
|
+
const ve = (r) => {
|
|
741
|
+
const i = R.useId(), {
|
|
742
|
+
labelText: c,
|
|
743
|
+
className: n,
|
|
744
|
+
helperText: a,
|
|
745
|
+
errorMessage: s,
|
|
1039
746
|
isInvalid: o,
|
|
1040
|
-
isRequired:
|
|
1041
|
-
children:
|
|
1042
|
-
...
|
|
1043
|
-
} =
|
|
1044
|
-
id:
|
|
1045
|
-
helperTextId: `helper-text-${
|
|
1046
|
-
errorMessageId: `error-message-${
|
|
747
|
+
isRequired: u,
|
|
748
|
+
children: d,
|
|
749
|
+
...x
|
|
750
|
+
} = r, f = {
|
|
751
|
+
id: r.htmlFor ?? `input-${i}`,
|
|
752
|
+
helperTextId: `helper-text-${i}`,
|
|
753
|
+
errorMessageId: `error-message-${i}`,
|
|
1047
754
|
isInvalid: o ?? !1,
|
|
1048
|
-
isRequired:
|
|
755
|
+
isRequired: u ?? !1
|
|
1049
756
|
};
|
|
1050
|
-
return /* @__PURE__ */
|
|
1051
|
-
/* @__PURE__ */
|
|
757
|
+
return /* @__PURE__ */ t.jsx(T.Provider, { value: f, children: /* @__PURE__ */ t.jsxs("div", { className: y("flex flex-col items-start gap-2", n), children: [
|
|
758
|
+
/* @__PURE__ */ t.jsxs(
|
|
1052
759
|
"label",
|
|
1053
760
|
{
|
|
1054
|
-
className:
|
|
1055
|
-
htmlFor:
|
|
1056
|
-
|
|
1057
|
-
...h,
|
|
761
|
+
className: y("block text-label", o && "text-red-800"),
|
|
762
|
+
htmlFor: f.id,
|
|
763
|
+
...x,
|
|
1058
764
|
children: [
|
|
1059
|
-
|
|
1060
|
-
|
|
765
|
+
c,
|
|
766
|
+
u && /* @__PURE__ */ t.jsx("span", { className: "text-label text-red-800", children: " *" })
|
|
1061
767
|
]
|
|
1062
768
|
}
|
|
1063
769
|
),
|
|
1064
|
-
|
|
1065
|
-
text-label text-
|
|
1066
|
-
`,
|
|
1067
|
-
|
|
1068
|
-
o && /* @__PURE__ */
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
id: d.errorMessageId,
|
|
1072
|
-
className: C(`
|
|
1073
|
-
text-label text-sun-800
|
|
1074
|
-
`, u ? "mt-1" : "mt-2"),
|
|
1075
|
-
children: i
|
|
1076
|
-
}
|
|
1077
|
-
)
|
|
770
|
+
a && /* @__PURE__ */ t.jsx("p", { id: f.helperTextId, className: `
|
|
771
|
+
text-label text-solid-gray-700
|
|
772
|
+
`, children: a }),
|
|
773
|
+
d,
|
|
774
|
+
o && /* @__PURE__ */ t.jsx("p", { id: f.errorMessageId, className: `
|
|
775
|
+
text-label text-red-800
|
|
776
|
+
`, children: s })
|
|
1078
777
|
] }) });
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
const
|
|
1082
|
-
const
|
|
1083
|
-
labelText:
|
|
1084
|
-
className:
|
|
1085
|
-
helperText:
|
|
1086
|
-
errorMessage:
|
|
778
|
+
};
|
|
779
|
+
ve.displayName = "LabelControl";
|
|
780
|
+
const $ = (r) => {
|
|
781
|
+
const i = R.useId(), {
|
|
782
|
+
labelText: c,
|
|
783
|
+
className: n,
|
|
784
|
+
helperText: a,
|
|
785
|
+
errorMessage: s,
|
|
1087
786
|
isInvalid: o,
|
|
1088
|
-
isRequired:
|
|
1089
|
-
direction:
|
|
1090
|
-
children:
|
|
1091
|
-
...
|
|
1092
|
-
} =
|
|
1093
|
-
groupName:
|
|
1094
|
-
helperTextId: `helper-text-${
|
|
1095
|
-
errorMessageId: `error-message-${
|
|
787
|
+
isRequired: u,
|
|
788
|
+
direction: d,
|
|
789
|
+
children: x,
|
|
790
|
+
...f
|
|
791
|
+
} = r, h = {
|
|
792
|
+
groupName: f.name ?? `group-${i}`,
|
|
793
|
+
helperTextId: `helper-text-${i}`,
|
|
794
|
+
errorMessageId: `error-message-${i}`,
|
|
1096
795
|
isInvalid: o ?? !1,
|
|
1097
|
-
isRequired:
|
|
1098
|
-
},
|
|
1099
|
-
return /* @__PURE__ */
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
u ? "mt-1" : "mt-2"
|
|
1119
|
-
),
|
|
1120
|
-
children: i
|
|
1121
|
-
}
|
|
1122
|
-
)
|
|
1123
|
-
] }) });
|
|
1124
|
-
});
|
|
1125
|
-
ne.displayName = "FieldsetControl";
|
|
1126
|
-
const Cr = y.forwardRef((v, g) => {
|
|
796
|
+
isRequired: u ?? !1
|
|
797
|
+
}, v = d ?? "flex-col";
|
|
798
|
+
return /* @__PURE__ */ t.jsx(T.Provider, { value: h, children: /* @__PURE__ */ t.jsxs(
|
|
799
|
+
"fieldset",
|
|
800
|
+
{
|
|
801
|
+
className: y("flex flex-col items-start gap-2", n),
|
|
802
|
+
...f,
|
|
803
|
+
children: [
|
|
804
|
+
/* @__PURE__ */ t.jsx("legend", { children: /* @__PURE__ */ t.jsxs("p", { className: y("block text-label", o && "text-red-800"), children: [
|
|
805
|
+
c,
|
|
806
|
+
u && /* @__PURE__ */ t.jsx("span", { className: "text-red-800", children: " *" })
|
|
807
|
+
] }) }),
|
|
808
|
+
/* @__PURE__ */ t.jsx("div", { className: y("inline-flex", v), children: x }),
|
|
809
|
+
a && /* @__PURE__ */ t.jsx("p", { id: h.helperTextId, className: "text-sup text-solid-gray-700", children: a }),
|
|
810
|
+
o && /* @__PURE__ */ t.jsx("p", { id: h.errorMessageId, className: "text-label text-red-800", children: s })
|
|
811
|
+
]
|
|
812
|
+
}
|
|
813
|
+
) });
|
|
814
|
+
};
|
|
815
|
+
$.displayName = "FieldsetControl";
|
|
816
|
+
const ye = (r) => {
|
|
1127
817
|
const {
|
|
1128
|
-
items:
|
|
1129
|
-
onChange:
|
|
1130
|
-
className:
|
|
1131
|
-
labelText:
|
|
1132
|
-
helperText:
|
|
818
|
+
items: i,
|
|
819
|
+
onChange: c,
|
|
820
|
+
className: n,
|
|
821
|
+
labelText: a,
|
|
822
|
+
helperText: s,
|
|
1133
823
|
errorMessage: o,
|
|
1134
|
-
isInvalid:
|
|
1135
|
-
isRequired:
|
|
1136
|
-
size:
|
|
1137
|
-
...
|
|
1138
|
-
} =
|
|
1139
|
-
return /* @__PURE__ */
|
|
1140
|
-
|
|
824
|
+
isInvalid: u,
|
|
825
|
+
isRequired: d,
|
|
826
|
+
size: x,
|
|
827
|
+
...f
|
|
828
|
+
} = r;
|
|
829
|
+
return /* @__PURE__ */ t.jsx(
|
|
830
|
+
$,
|
|
1141
831
|
{
|
|
1142
|
-
className:
|
|
1143
|
-
labelText:
|
|
1144
|
-
helperText:
|
|
832
|
+
className: n,
|
|
833
|
+
labelText: a,
|
|
834
|
+
helperText: s,
|
|
1145
835
|
errorMessage: o,
|
|
1146
|
-
isInvalid:
|
|
1147
|
-
isRequired:
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
De,
|
|
836
|
+
isInvalid: u,
|
|
837
|
+
isRequired: d,
|
|
838
|
+
...f,
|
|
839
|
+
children: i.map(({ label: g, value: h }) => /* @__PURE__ */ t.jsx(
|
|
840
|
+
Z,
|
|
1152
841
|
{
|
|
1153
|
-
size:
|
|
1154
|
-
value:
|
|
1155
|
-
onChange:
|
|
1156
|
-
children:
|
|
842
|
+
size: x,
|
|
843
|
+
value: h,
|
|
844
|
+
onChange: c,
|
|
845
|
+
children: g
|
|
1157
846
|
},
|
|
1158
|
-
`${
|
|
847
|
+
`${g}-${h}`
|
|
1159
848
|
))
|
|
1160
849
|
}
|
|
1161
850
|
);
|
|
1162
|
-
}
|
|
1163
|
-
|
|
1164
|
-
const
|
|
851
|
+
};
|
|
852
|
+
ye.displayName = "CheckboxGroup";
|
|
853
|
+
const Re = (r) => {
|
|
1165
854
|
const {
|
|
1166
|
-
items:
|
|
1167
|
-
onChange:
|
|
1168
|
-
className:
|
|
1169
|
-
labelText:
|
|
1170
|
-
helperText:
|
|
855
|
+
items: i,
|
|
856
|
+
onChange: c,
|
|
857
|
+
className: n,
|
|
858
|
+
labelText: a,
|
|
859
|
+
helperText: s,
|
|
1171
860
|
errorMessage: o,
|
|
1172
|
-
isInvalid:
|
|
1173
|
-
isRequired:
|
|
1174
|
-
defaultValue:
|
|
1175
|
-
size:
|
|
1176
|
-
...
|
|
1177
|
-
} =
|
|
1178
|
-
return /* @__PURE__ */
|
|
1179
|
-
|
|
861
|
+
isInvalid: u,
|
|
862
|
+
isRequired: d,
|
|
863
|
+
defaultValue: x,
|
|
864
|
+
size: f,
|
|
865
|
+
...g
|
|
866
|
+
} = r;
|
|
867
|
+
return /* @__PURE__ */ t.jsx(
|
|
868
|
+
$,
|
|
1180
869
|
{
|
|
1181
|
-
className:
|
|
1182
|
-
labelText:
|
|
1183
|
-
helperText:
|
|
870
|
+
className: n,
|
|
871
|
+
labelText: a,
|
|
872
|
+
helperText: s,
|
|
1184
873
|
errorMessage: o,
|
|
1185
|
-
isInvalid:
|
|
1186
|
-
isRequired:
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
Ae,
|
|
874
|
+
isInvalid: u,
|
|
875
|
+
isRequired: d,
|
|
876
|
+
...g,
|
|
877
|
+
children: i.map(({ label: h, value: v }) => /* @__PURE__ */ t.jsx(
|
|
878
|
+
Q,
|
|
1191
879
|
{
|
|
1192
|
-
size:
|
|
1193
|
-
value:
|
|
1194
|
-
onChange:
|
|
1195
|
-
defaultChecked:
|
|
1196
|
-
children:
|
|
880
|
+
size: f,
|
|
881
|
+
value: v,
|
|
882
|
+
onChange: c,
|
|
883
|
+
defaultChecked: x === v,
|
|
884
|
+
children: h
|
|
1197
885
|
},
|
|
1198
|
-
`${
|
|
886
|
+
`${h}-${v}`
|
|
1199
887
|
))
|
|
1200
888
|
}
|
|
1201
889
|
);
|
|
1202
|
-
}
|
|
1203
|
-
|
|
890
|
+
};
|
|
891
|
+
Re.displayName = "RadioGroup";
|
|
1204
892
|
export {
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
893
|
+
Z as Checkbox,
|
|
894
|
+
ye as CheckboxGroup,
|
|
895
|
+
$ as FieldsetControl,
|
|
896
|
+
xe as FileInput,
|
|
897
|
+
ge as Input,
|
|
898
|
+
ve as LabelControl,
|
|
899
|
+
Q as Radio,
|
|
900
|
+
Re as RadioGroup,
|
|
901
|
+
me as Select,
|
|
902
|
+
he as Textarea
|
|
1215
903
|
};
|