@dhasdk/simple-ui 1.0.57 → 1.0.58
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 +2 -0
- package/index.js +1 -1
- package/index.mjs +76 -76
- package/package.json +1 -1
package/README.md
CHANGED
package/index.js
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
16.141 11.5718 16.2845 11.7155C16.4282 11.859 16.5 12.0372 16.5 12.25C16.5 12.4628 16.4282 12.641 16.2845
|
|
12
12
|
12.7845C16.141 12.9282 15.9628 13 15.75 13Z`,fill:"#939194"})})]})})}),!y&&t.jsx("div",{className:f("relative -z-10 -mx-[0.1em] flex-1 h-1 bg-gray-300",`${x&&`bg-linear-to-r ${a} from-50%`}`),children:b<s&&b>s-2&&t.jsx("div",{className:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2",children:t.jsx("svg",{viewBox:"0 0 23 18",className:"size-8",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:t.jsxs("g",{id:"Arrow",children:[t.jsx("rect",{width:"22.48",height:"18"}),t.jsx("path",{id:"Polygon 1",className:r,d:`M13.452 9.79161C13.9706 9.39128 13.9706 8.60871 13.452
|
|
13
13
|
8.20839L9.61096 5.24354C8.95357 4.73611 7.99993 5.2047 7.99993 6.03514L7.99993
|
|
14
|
-
11.9649C7.99993 12.7953 8.95357 13.2639 9.61096 12.7565L13.452 9.79161Z`})]})})})})]})}):t.jsx("div",{className:f("z-0 -mx-[0.1em] w-full h-2 bg-gray-300 rounded-full",g),children:t.jsx("div",{className:f("z-10 -mx-[0.1em] h-2 bg-blue-300 rounded-full",d),style:{width:M}})})})};function m0({className:e}){return
|
|
14
|
+
11.9649C7.99993 12.7953 8.95357 13.2639 9.61096 12.7565L13.452 9.79161Z`})]})})})})]})}):t.jsx("div",{className:f("z-0 -mx-[0.1em] w-full h-2 bg-gray-300 rounded-full",g),children:t.jsx("div",{className:f("z-10 -mx-[0.1em] h-2 bg-blue-300 rounded-full",d),style:{width:M}})})})};function m0({className:e}){return t.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",className:e,children:t.jsx("circle",{cx:"50",cy:"50",r:"35",fill:"currentColor"})})}const f0=({title:e,classNameLabel:s,classNameInput:n,classNameContainer:r,options:d,dataTestId:c})=>{const[a,m]=o.useState(""),i=g=>{m(g)},w=a;return t.jsxs("fieldset",{role:"radiogroup",className:r,"data-testid":c,children:[t.jsx("p",{className:"mb-2",children:e}),d.map(({label:g,value:p,id:M,disabled:L})=>t.jsxs("label",{className:f(`flex mb-2 items-center gap-1 cursor-pointer ${L?"opacity-50 cursor-not-allowed":""}`,s),children:[t.jsx("span",{className:"rounded-full size-4 border border-black flex items-center justify-center",children:p===a&&t.jsx(m0,{className:""})}),t.jsx("input",{id:M,className:"hidden",type:"radio",value:p,disabled:L,checked:w===p,onChange:()=>i(p)})," ",g]},p))]})},g0="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='arrow_circle_up'%3e%3cmask%20id='mask0_3137_24196'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_3137_24196)'%3e%3cpath%20id='search'%20d='M21.7157%2023.6094L13.7733%2015.6788C13.1806%2016.1505%2012.4879%2016.5212%2011.6953%2016.7911C10.9026%2017.0612%2010.0503%2017.1962%209.13843%2017.1962C6.86716%2017.1962%204.94299%2016.4071%203.36592%2014.8288C1.78864%2013.2505%201%2011.3403%201%209.09825C1%206.85598%201.78914%204.94571%203.36743%203.36743C4.94571%201.78914%206.85931%201%209.10822%201C11.3571%201%2013.2673%201.78914%2014.8387%203.36743C16.4104%204.94571%2017.1962%206.85699%2017.1962%209.10127C17.1962%209.99463%2017.0647%2010.8322%2016.8017%2011.614C16.5387%2012.3958%2016.1576%2013.1147%2015.6586%2013.7709L23.6266%2021.7042L21.7157%2023.6094ZM9.12211%2014.5333C10.6341%2014.5333%2011.9141%2014.0044%2012.9619%2012.9465C14.0095%2011.8884%2014.5333%2010.6056%2014.5333%209.09825C14.5333%207.59065%2014.0089%206.30791%2012.9601%205.25001C11.9113%204.19191%2010.6319%203.66286%209.12211%203.66286C7.60123%203.66286%206.31113%204.19191%205.25182%205.25001C4.19252%206.30791%203.66286%207.59065%203.66286%209.09825C3.66286%2010.6056%204.19191%2011.8884%205.25001%2012.9465C6.30831%2014.0044%207.59901%2014.5333%209.12211%2014.5333Z'%20fill='white'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",rt="data:image/svg+xml,%3csvg%20width='30'%20height='30'%20viewBox='0%200%2030%2030'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='search'%3e%3cmask%20id='mask0_3137_24325'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='30'%20height='30'%3e%3crect%20id='Bounding%20box'%20x='0.5'%20y='0.5'%20width='29'%20height='29'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_3137_24325)'%3e%3cpath%20id='search_2'%20d='M24.4022%2026.3907L16.4598%2018.4601C15.8671%2018.9317%2015.1745%2019.3025%2014.3818%2019.5724C13.5891%2019.8424%2012.7369%2019.9774%2011.825%2019.9774C9.5537%2019.9774%207.62953%2019.1883%206.05246%2017.61C4.47518%2016.0317%203.68654%2014.1216%203.68654%2011.8795C3.68654%209.63723%204.47568%207.72696%206.05397%206.14868C7.63225%204.57039%209.54585%203.78125%2011.7948%203.78125C14.0437%203.78125%2015.9538%204.57039%2017.5253%206.14868C19.0969%207.72696%2019.8827%209.63824%2019.8827%2011.8825C19.8827%2012.7759%2019.7512%2013.6135%2019.4882%2014.3952C19.2252%2015.177%2018.8442%2015.896%2018.3451%2016.5521L26.3132%2024.4854L24.4022%2026.3907ZM11.8087%2017.3146C13.3207%2017.3146%2014.6006%2016.7856%2015.6484%2015.7277C16.6961%2014.6696%2017.2199%2013.3869%2017.2199%2011.8795C17.2199%2010.3719%2016.6955%209.08916%2015.6466%208.03126C14.5978%206.97316%2013.3185%206.44411%2011.8087%206.44411C10.2878%206.44411%208.99767%206.97316%207.93836%208.03126C6.87906%209.08916%206.3494%2010.3719%206.3494%2011.8795C6.3494%2013.3869%206.87845%2014.6696%207.93655%2015.7277C8.99485%2016.7856%2010.2855%2017.3146%2011.8087%2017.3146Z'%20fill='%236A686B'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",h0="data:image/svg+xml,%3csvg%20width='25'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='arrow_circle_up'%3e%3cmask%20id='mask0_3137_24331'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='25'%20height='24'%3e%3crect%20id='Bounding%20box'%20x='0.5'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_3137_24331)'%3e%3cpath%20id='close'%20d='M12.4999%2013.5165L7.19154%2018.8249C6.99293%2019.0235%206.74015%2019.1228%206.4332%2019.1228C6.12626%2019.1228%205.87348%2019.0235%205.67487%2018.8249C5.47626%2018.6263%205.37695%2018.3735%205.37695%2018.0665C5.37695%2017.7596%205.47626%2017.5068%205.67487%2017.3082L10.9832%2011.9999L5.67487%206.69154C5.47626%206.49293%205.37695%206.24015%205.37695%205.9332C5.37695%205.62626%205.47626%205.37348%205.67487%205.17487C5.87348%204.97626%206.12626%204.87695%206.4332%204.87695C6.74015%204.87695%206.99293%204.97626%207.19154%205.17487L12.4999%2010.4832L17.8082%205.17487C18.0068%204.97626%2018.2596%204.87695%2018.5665%204.87695C18.8735%204.87695%2019.1263%204.97626%2019.3249%205.17487C19.5235%205.37348%2019.6228%205.62626%2019.6228%205.9332C19.6228%206.24015%2019.5235%206.49293%2019.3249%206.69154L14.0165%2011.9999L19.3249%2017.3082C19.5235%2017.5068%2019.6228%2017.7596%2019.6228%2018.0665C19.6228%2018.3735%2019.5235%2018.6263%2019.3249%2018.8249C19.1263%2019.0235%2018.8735%2019.1228%2018.5665%2019.1228C18.2596%2019.1228%2018.0068%2019.0235%2017.8082%2018.8249L12.4999%2013.5165Z'%20fill='%236A686B'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",jt=o.forwardRef(({className:e,classNameContainer:s,classNameInputContainer:n,classNameListOutput:r,ariaLabel:d="Search",iconLink:c=!1,iconLinkHandler:a,searchableData:m,setSearchResults:i,mobileOnly:w=!1,variant:g,dataTestIdInput:p,dataTestIdResults:M,...L},b)=>{const v=o.useRef(null),x=o.useRef(null),[y,D]=o.useState(""),[N,h]=o.useState(),[V,$]=o.useState(c),[z,j]=o.useState(!1),T=100,O=8,[R,F]=o.useState(`${T}px`);o.useLayoutEffect(()=>{let _=0;const E=()=>{if(!x.current)return;const U=x.current.getBoundingClientRect(),Y=window.visualViewport,Z=Y?.height??window.innerHeight,W=Y?.offsetTop??0,J=Math.max(T,Z+W-U.top-O);F(`${J}px`)},H=()=>{cancelAnimationFrame(_),_=requestAnimationFrame(E)};return H(),window.addEventListener("scroll",H,{passive:!0}),window.addEventListener("resize",H),window.visualViewport?.addEventListener("resize",H),window.visualViewport?.addEventListener("scroll",H),()=>{window.removeEventListener("scroll",H),window.removeEventListener("resize",H),window.visualViewport?.removeEventListener("resize",H),window.visualViewport?.removeEventListener("scroll",H),cancelAnimationFrame(_)}},[]),o.useEffect(()=>{g==="rounded"&&j(!0)},[g]),o.useEffect(()=>{if(!x.current)return;const _=requestAnimationFrame(()=>{const E=new Event("resize");window.dispatchEvent(E)});return()=>cancelAnimationFrame(_)},[N]);const B=_=>{_.key==="Enter"&&(i?S():N&&N.pages[0].path&&(window.location.href=N.pages[0].path))},C=()=>{D(""),h(void 0)};o.useEffect(()=>{$(c)},[c]);function u(_){const E=_.toLowerCase(),H=[];return m.forEach((U,Y)=>{const Z=[];let W=U.content.toLowerCase().indexOf(E);for(;W!==-1;){const J=U.content.substring(W+E.length,W+E.length+15);Z.push({characters:J,index:Y}),W=U.content.toLowerCase().indexOf(E,W+1)}Z.length&&H.push({title:U.title,path:U.path,results:Z})}),{input:_,pages:H}}const k=_=>{const E=_.target.value;if(D(E),!E){h(void 0);return}const H=u(E);h(H)},S=()=>{const _=v.current?.value??"";if(i)if(_.length>0){const E=u(_);i?.(E)}else i({input:"",pages:[{results:[]}]})},l=()=>{a&&a(),$(!1)};return V?t.jsx("span",{className:`w-[52px] h-[50px] p-2 rounded-sm border border-[#6a686b]
|
|
15
15
|
inline-flex flex-col justify-center items-center bg-white`,children:t.jsx("button",{className:"appearance-none p-0 m-0 border-0 flex items-center justify-center align-middle",onClick:()=>l(),"aria-label":"open search bar",children:t.jsx("img",{className:"",src:rt,alt:"search icon"})})}):t.jsxs("span",{className:f(`h-12 md:h-[50px] lg:h-14 flex items-center max-w-full
|
|
16
16
|
relative ${V&&"hidden"}`,s),children:[t.jsxs("span",{className:f(`
|
|
17
17
|
border-[#6a686b] w-[309px] md:w-[334px] lg:w-[350px]
|
package/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as A, jsx as s, Fragment as ae } from "react/jsx-runtime";
|
|
2
2
|
import * as le from "react";
|
|
3
|
-
import m2, { forwardRef as re, useState as
|
|
3
|
+
import m2, { forwardRef as re, useState as Y, useEffect as G, Children as We, isValidElement as xe, cloneElement as De, useRef as Q, useMemo as je, useImperativeHandle as g2, useCallback as $e, useLayoutEffect as f2, createContext as z2, useContext as H2 } from "react";
|
|
4
4
|
import { useLocation as B2, Link as Be, NavLink as A2 } from "react-router-dom";
|
|
5
5
|
const qe = "-", I2 = (e) => {
|
|
6
6
|
const t = O2(e), {
|
|
@@ -76,7 +76,7 @@ const qe = "-", I2 = (e) => {
|
|
|
76
76
|
validators: []
|
|
77
77
|
}), n = n.nextPart.get(r);
|
|
78
78
|
}), n;
|
|
79
|
-
}, T2 = (e) => e.isThemeGetter,
|
|
79
|
+
}, T2 = (e) => e.isThemeGetter, Y2 = (e) => {
|
|
80
80
|
if (e < 1)
|
|
81
81
|
return {
|
|
82
82
|
get: () => {
|
|
@@ -100,7 +100,7 @@ const qe = "-", I2 = (e) => {
|
|
|
100
100
|
n.has(i) ? n.set(i, a) : c(i, a);
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
|
-
}, Pe = "!", Ge = ":",
|
|
103
|
+
}, Pe = "!", Ge = ":", R2 = Ge.length, F2 = (e) => {
|
|
104
104
|
const {
|
|
105
105
|
prefix: t,
|
|
106
106
|
experimentalParseClassName: n
|
|
@@ -112,7 +112,7 @@ const qe = "-", I2 = (e) => {
|
|
|
112
112
|
let w = c[b];
|
|
113
113
|
if (a === 0 && u === 0) {
|
|
114
114
|
if (w === Ge) {
|
|
115
|
-
i.push(c.slice(l, b)), l = b +
|
|
115
|
+
i.push(c.slice(l, b)), l = b + R2;
|
|
116
116
|
continue;
|
|
117
117
|
}
|
|
118
118
|
if (w === "/") {
|
|
@@ -160,7 +160,7 @@ const qe = "-", I2 = (e) => {
|
|
|
160
160
|
}), c.push(...i.sort()), c;
|
|
161
161
|
};
|
|
162
162
|
}, Z2 = (e) => ({
|
|
163
|
-
cache:
|
|
163
|
+
cache: Y2(e.cacheSize),
|
|
164
164
|
parseClassName: F2(e),
|
|
165
165
|
sortModifiers: j2(e),
|
|
166
166
|
...I2(e)
|
|
@@ -273,7 +273,7 @@ const J = (e) => {
|
|
|
273
273
|
"bottom-left",
|
|
274
274
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
275
275
|
"left-bottom"
|
|
276
|
-
], z = () => [...f(), O, E], S = () => ["auto", "hidden", "clip", "visible", "scroll"], H = () => ["auto", "contain", "none"], k = () => [O, E, l], F = () => [fe, "full", "auto", ...k()],
|
|
276
|
+
], z = () => [...f(), O, E], S = () => ["auto", "hidden", "clip", "visible", "scroll"], H = () => ["auto", "contain", "none"], k = () => [O, E, l], F = () => [fe, "full", "auto", ...k()], R = () => [de, "none", "subgrid", O, E], T = () => ["auto", {
|
|
277
277
|
span: ["full", de, O, E]
|
|
278
278
|
}, de, O, E], U = () => [de, "auto", O, E], B = () => ["auto", "min", "max", "fr", O, E], v = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], d = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], y = () => ["auto", ...k()], M = () => [fe, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...k()], o = () => [e, O, E], $ = () => [...f(), Qe, Je, {
|
|
279
279
|
position: [O, E]
|
|
@@ -601,7 +601,7 @@ const J = (e) => {
|
|
|
601
601
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
602
602
|
*/
|
|
603
603
|
"grid-cols": [{
|
|
604
|
-
"grid-cols":
|
|
604
|
+
"grid-cols": R()
|
|
605
605
|
}],
|
|
606
606
|
/**
|
|
607
607
|
* Grid Column Start / End
|
|
@@ -629,7 +629,7 @@ const J = (e) => {
|
|
|
629
629
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
630
630
|
*/
|
|
631
631
|
"grid-rows": [{
|
|
632
|
-
"grid-rows":
|
|
632
|
+
"grid-rows": R()
|
|
633
633
|
}],
|
|
634
634
|
/**
|
|
635
635
|
* Grid Row Start / End
|
|
@@ -2746,7 +2746,7 @@ const J = (e) => {
|
|
|
2746
2746
|
children: C,
|
|
2747
2747
|
...D
|
|
2748
2748
|
}, N) => {
|
|
2749
|
-
const [f, z] =
|
|
2749
|
+
const [f, z] = Y(!1), [S, H] = Y(Oe), [k, F] = Y(Ee), [R, T] = Y(""), U = `accordion-${p ?? t.replace(/\s+/g, "-").toLowerCase()}`, B = () => {
|
|
2750
2750
|
x && g && x(z), z(!f);
|
|
2751
2751
|
}, v = (d) => {
|
|
2752
2752
|
(d.key === "Enter" || d.key === " ") && (d.preventDefault(), B());
|
|
@@ -2790,7 +2790,7 @@ const J = (e) => {
|
|
|
2790
2790
|
"aria-labelledby": `${U}-header`,
|
|
2791
2791
|
"data-testid": w,
|
|
2792
2792
|
children: [
|
|
2793
|
-
L && a && /* @__PURE__ */ s("hr", { className:
|
|
2793
|
+
L && a && /* @__PURE__ */ s("hr", { className: R }),
|
|
2794
2794
|
C
|
|
2795
2795
|
]
|
|
2796
2796
|
}
|
|
@@ -2815,7 +2815,7 @@ const J = (e) => {
|
|
|
2815
2815
|
dataTestId: L,
|
|
2816
2816
|
..._
|
|
2817
2817
|
}, b) => {
|
|
2818
|
-
const [w, p] =
|
|
2818
|
+
const [w, p] = Y(
|
|
2819
2819
|
null
|
|
2820
2820
|
), C = (D) => {
|
|
2821
2821
|
w && w(!1), p(() => D);
|
|
@@ -2862,7 +2862,7 @@ const J = (e) => {
|
|
|
2862
2862
|
dataTestIdList: L,
|
|
2863
2863
|
..._
|
|
2864
2864
|
}) => {
|
|
2865
|
-
const b = Q(null), w = Q(null), p = Q(null), [C, D] =
|
|
2865
|
+
const b = Q(null), w = Q(null), p = Q(null), [C, D] = Y(!1), [N, f] = Y(!1), [z, S] = Y(c || "Options"), [H, k] = Y(null), F = Q("bottom-[60px]"), [R, T] = Y("");
|
|
2866
2866
|
G(() => {
|
|
2867
2867
|
if (w.current) {
|
|
2868
2868
|
const o = w.current.getBoundingClientRect(), $ = Math.floor(o.height) + 2;
|
|
@@ -2878,7 +2878,7 @@ const J = (e) => {
|
|
|
2878
2878
|
G(() => {
|
|
2879
2879
|
B.current = B.current.slice(0, r.length);
|
|
2880
2880
|
}, [r]);
|
|
2881
|
-
const [v, d] =
|
|
2881
|
+
const [v, d] = Y(0), y = () => {
|
|
2882
2882
|
D(!C), d(0);
|
|
2883
2883
|
};
|
|
2884
2884
|
G(() => {
|
|
@@ -2942,7 +2942,7 @@ const J = (e) => {
|
|
|
2942
2942
|
className: m(
|
|
2943
2943
|
yt,
|
|
2944
2944
|
e2[a] || e2.default,
|
|
2945
|
-
|
|
2945
|
+
R,
|
|
2946
2946
|
e,
|
|
2947
2947
|
C && N && "rounded-b-lg" || C && !N && "rounded-t-lg" || "rounded-lg"
|
|
2948
2948
|
),
|
|
@@ -3138,7 +3138,7 @@ const zt = {
|
|
|
3138
3138
|
// separator = separatorSvg,
|
|
3139
3139
|
...l
|
|
3140
3140
|
}, x) => {
|
|
3141
|
-
const g = Q(null), [h, L] =
|
|
3141
|
+
const g = Q(null), [h, L] = Y("/"), [_, b] = Y(!1), [w, p] = Y(), [C, D] = Y(0), { pathname: N } = B2(), f = je(() => r && r.length > 0 ? (L(r[0].route), r.slice(1)) : N.split("/").filter(Boolean).map((H, k, F) => ({
|
|
3142
3142
|
name: Vt(decodeURIComponent(H)),
|
|
3143
3143
|
route: "/" + F.slice(0, k + 1).join("/")
|
|
3144
3144
|
})), [r, N]);
|
|
@@ -3285,7 +3285,7 @@ const zt = {
|
|
|
3285
3285
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3286
3286
|
children: /* @__PURE__ */ s("path", { id: "Vector 1", d: "M1 1L5 5.5L1 10", "stroke-width": "2", className: e })
|
|
3287
3287
|
}
|
|
3288
|
-
), Ht = 'inline-flex items-center justify-center whitespace-nowrap rounded-md ring-offset-background transition-colors focus-visible:outline-hidden font-["Arial"] disabled:pointer-events-none text-sm md:text-base lg:text-lg disabled:opacity-50 px-6 py-[8px] md:py-[12px] lg:py-[16px] h-[40px] md:h-[48px] lg:h-[56px] ',
|
|
3288
|
+
), Ht = 'inline-flex items-center justify-center whitespace-nowrap rounded-md ring-offset-background transition-colors focus-visible:outline-hidden font-["Arial"] disabled:pointer-events-none text-sm md:text-base lg:text-lg disabled:opacity-50 px-6 py-[8px] md:py-[12px] lg:py-[16px] h-[40px] md:h-[48px] lg:h-[56px] ', Ye = {
|
|
3289
3289
|
default: {
|
|
3290
3290
|
normal: "border-2 border-gray-300 rounded-md bg-gray-200 hover:bg-slate-400 text-black text-sm md:text-base lg:text-lg hover:text-black hover:border-slate-600 disabled:bg-dha-mc-bottom-nav-background disabled:text-dha-mc-checkbox-inactive focus:border-black disabled:border-dha-mc-bottom-nav-background disabled:border-2 py-0 md:py-0 lg:py-0 h-[48px] mt-1",
|
|
3291
3291
|
selected: "bg-gray-500 text-white"
|
|
@@ -3327,10 +3327,10 @@ const zt = {
|
|
|
3327
3327
|
classNameGroup: p = "",
|
|
3328
3328
|
...C
|
|
3329
3329
|
}, D) => {
|
|
3330
|
-
const [N, f] =
|
|
3330
|
+
const [N, f] = Y("");
|
|
3331
3331
|
G(() => {
|
|
3332
|
-
let H =
|
|
3333
|
-
b && !w ? H = m(H,
|
|
3332
|
+
let H = Ye[g].normal || Ye.default.normal;
|
|
3333
|
+
b && !w ? H = m(H, Ye[g].selected) : b && w && (H = m(H, w)), f(m(Ht, H));
|
|
3334
3334
|
}, [b, w, g]);
|
|
3335
3335
|
const z = u ?? (a && (x === "left" || x === "both") ? a : void 0), S = l ?? (a && (x === "right" || x === "both") ? a : void 0);
|
|
3336
3336
|
return /* @__PURE__ */ A(
|
|
@@ -3455,7 +3455,7 @@ const G0 = ({
|
|
|
3455
3455
|
dataTestId: u,
|
|
3456
3456
|
dataTestIdMessage: l
|
|
3457
3457
|
}) => {
|
|
3458
|
-
const [x, g] =
|
|
3458
|
+
const [x, g] = Y(`${r} characters allowed`), [h, L] = Y(!1);
|
|
3459
3459
|
return /* @__PURE__ */ A("div", { className: e, children: [
|
|
3460
3460
|
/* @__PURE__ */ s(
|
|
3461
3461
|
"div",
|
|
@@ -3487,7 +3487,7 @@ const G0 = ({
|
|
|
3487
3487
|
),
|
|
3488
3488
|
" "
|
|
3489
3489
|
] });
|
|
3490
|
-
}, Rt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_18737'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_18737)'%3e%3cpath%20id='Icon'%20d='M10.6%2013.7463L8.277%2011.423C8.1385%2011.2847%207.96442%2011.2138%207.75475%2011.2105C7.54525%2011.2073%207.368%2011.2782%207.223%2011.423C7.07817%2011.568%207.00575%2011.7437%207.00575%2011.95C7.00575%2012.1563%207.07817%2012.332%207.223%2012.477L9.96725%2015.2213C10.1481%2015.4019%2010.359%2015.4923%2010.6%2015.4923C10.841%2015.4923%2011.0519%2015.4019%2011.2327%2015.2213L16.7962%209.65775C16.9346%209.51925%2017.0054%209.34517%2017.0087%209.1355C17.0119%208.926%2016.9411%208.74875%2016.7962%208.60375C16.6512%208.45892%2016.4756%208.3865%2016.2693%208.3865C16.0629%208.3865%2015.8873%208.45892%2015.7423%208.60375L10.6%2013.7463ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", s2 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_18737'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_18737)'%3e%3cpath%20d='M5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Yt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='indeterminate_check_box'%3e%3cmask%20id='mask0_4956_9240'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_9240)'%3e%3cpath%20id='Icon'%20d='M8%2012.75H16C16.2128%2012.75%2016.391%2012.6782%2016.5345%2012.5345C16.6782%2012.391%2016.75%2012.2128%2016.75%2012C16.75%2011.7872%2016.6782%2011.609%2016.5345%2011.4655C16.391%2011.3218%2016.2128%2011.25%2016%2011.25H8C7.78717%2011.25%207.609%2011.3218%207.4655%2011.4655C7.32183%2011.609%207.25%2011.7872%207.25%2012C7.25%2012.2128%207.32183%2012.391%207.4655%2012.5345C7.609%2012.6782%207.78717%2012.75%208%2012.75ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ft = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_19567'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19567)'%3e%3cpath%20id='Icon'%20d='M10.6%2013.7463L8.277%2011.423C8.1385%2011.2847%207.96442%2011.2138%207.75475%2011.2105C7.54525%2011.2073%207.368%2011.2782%207.223%2011.423C7.07817%2011.568%207.00575%2011.7437%207.00575%2011.95C7.00575%2012.1563%207.07817%2012.332%207.223%2012.477L9.96725%2015.2213C10.1481%2015.4019%2010.359%2015.4923%2010.6%2015.4923C10.841%2015.4923%2011.0519%2015.4019%2011.2327%2015.2213L16.7962%209.65775C16.9346%209.51925%2017.0054%209.34517%2017.0087%209.1355C17.0119%208.926%2016.9411%208.74875%2016.7962%208.60375C16.6512%208.45892%2016.4756%208.3865%2016.2693%208.3865C16.0629%208.3865%2015.8873%208.45892%2015.7423%208.60375L10.6%2013.7463ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ut = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_19567'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19567)'%3e%3cpath%20d='M5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", jt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='indeterminate_check_box'%3e%3cmask%20id='mask0_4956_22386'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_22386)'%3e%3cpath%20id='Icon'%20d='M8%2012.75H16C16.2128%2012.75%2016.391%2012.6782%2016.5345%2012.5345C16.6782%2012.391%2016.75%2012.2128%2016.75%2012C16.75%2011.7872%2016.6782%2011.609%2016.5345%2011.4655C16.391%2011.3218%2016.2128%2011.25%2016%2011.25H8C7.78717%2011.25%207.609%2011.3218%207.4655%2011.4655C7.32183%2011.609%207.25%2011.7872%207.25%2012C7.25%2012.2128%207.32183%2012.391%207.4655%2012.5345C7.609%2012.6782%207.78717%2012.75%208%2012.75ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Zt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='disabled_by_default'%3e%3cmask%20id='mask0_4956_21631'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_21631)'%3e%3cpath%20id='Icon'%20d='M12%2013.0442L15.0828%2016.127C15.2213%2016.2653%2015.3953%2016.3329%2015.6048%2016.3298C15.8144%2016.3266%2015.9885%2016.2558%2016.127%2016.1173C16.2653%2015.9788%2016.3345%2015.8048%2016.3345%2015.5953C16.3345%2015.3856%2016.2653%2015.2115%2016.127%2015.073L13.0443%2012L16.127%208.91725C16.2653%208.77875%2016.3345%208.60475%2016.3345%208.39525C16.3345%208.18558%2016.2653%208.0115%2016.127%207.873C15.9885%207.73467%2015.8144%207.6655%2015.6048%207.6655C15.3953%207.6655%2015.2213%207.73467%2015.0828%207.873L12%2010.9557L8.91725%207.873C8.77875%207.73467%208.60633%207.6655%208.4%207.6655C8.19367%207.6655%208.02125%207.73467%207.88275%207.873C7.74425%208.0115%207.675%208.18558%207.675%208.39525C7.675%208.60475%207.74425%208.77875%207.88275%208.91725L10.9558%2012L7.873%2015.0828C7.73467%2015.2213%207.66708%2015.3937%207.67025%2015.6C7.67342%2015.8063%207.74425%2015.9788%207.88275%2016.1173C8.02125%2016.2558%208.19525%2016.325%208.40475%2016.325C8.61442%2016.325%208.7885%2016.2558%208.927%2016.1173L12%2013.0442ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Pt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='disabled_by_default'%3e%3cmask%20id='mask0_4956_19169'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19169)'%3e%3cpath%20id='Icon'%20d='M12%2013.0442L15.0828%2016.127C15.2213%2016.2653%2015.3953%2016.3329%2015.6048%2016.3298C15.8144%2016.3266%2015.9885%2016.2558%2016.127%2016.1173C16.2653%2015.9788%2016.3345%2015.8048%2016.3345%2015.5953C16.3345%2015.3856%2016.2653%2015.2115%2016.127%2015.073L13.0443%2012L16.127%208.91725C16.2653%208.77875%2016.3345%208.60475%2016.3345%208.39525C16.3345%208.18558%2016.2653%208.0115%2016.127%207.873C15.9885%207.73467%2015.8144%207.6655%2015.6048%207.6655C15.3953%207.6655%2015.2213%207.73467%2015.0828%207.873L12%2010.9557L8.91725%207.873C8.77875%207.73467%208.60633%207.6655%208.4%207.6655C8.19367%207.6655%208.02125%207.73467%207.88275%207.873C7.74425%208.0115%207.675%208.18558%207.675%208.39525C7.675%208.60475%207.74425%208.77875%207.88275%208.91725L10.9558%2012L7.873%2015.0828C7.73467%2015.2213%207.66708%2015.3937%207.67025%2015.6C7.67342%2015.8063%207.74425%2015.9788%207.88275%2016.1173C8.02125%2016.2558%208.19525%2016.325%208.40475%2016.325C8.61442%2016.325%208.7885%2016.2558%208.927%2016.1173L12%2013.0442ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
3490
|
+
}, Yt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_18737'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_18737)'%3e%3cpath%20id='Icon'%20d='M10.6%2013.7463L8.277%2011.423C8.1385%2011.2847%207.96442%2011.2138%207.75475%2011.2105C7.54525%2011.2073%207.368%2011.2782%207.223%2011.423C7.07817%2011.568%207.00575%2011.7437%207.00575%2011.95C7.00575%2012.1563%207.07817%2012.332%207.223%2012.477L9.96725%2015.2213C10.1481%2015.4019%2010.359%2015.4923%2010.6%2015.4923C10.841%2015.4923%2011.0519%2015.4019%2011.2327%2015.2213L16.7962%209.65775C16.9346%209.51925%2017.0054%209.34517%2017.0087%209.1355C17.0119%208.926%2016.9411%208.74875%2016.7962%208.60375C16.6512%208.45892%2016.4756%208.3865%2016.2693%208.3865C16.0629%208.3865%2015.8873%208.45892%2015.7423%208.60375L10.6%2013.7463ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", s2 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_18737'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_18737)'%3e%3cpath%20d='M5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Rt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='indeterminate_check_box'%3e%3cmask%20id='mask0_4956_9240'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_9240)'%3e%3cpath%20id='Icon'%20d='M8%2012.75H16C16.2128%2012.75%2016.391%2012.6782%2016.5345%2012.5345C16.6782%2012.391%2016.75%2012.2128%2016.75%2012C16.75%2011.7872%2016.6782%2011.609%2016.5345%2011.4655C16.391%2011.3218%2016.2128%2011.25%2016%2011.25H8C7.78717%2011.25%207.609%2011.3218%207.4655%2011.4655C7.32183%2011.609%207.25%2011.7872%207.25%2012C7.25%2012.2128%207.32183%2012.391%207.4655%2012.5345C7.609%2012.6782%207.78717%2012.75%208%2012.75ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ft = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_19567'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19567)'%3e%3cpath%20id='Icon'%20d='M10.6%2013.7463L8.277%2011.423C8.1385%2011.2847%207.96442%2011.2138%207.75475%2011.2105C7.54525%2011.2073%207.368%2011.2782%207.223%2011.423C7.07817%2011.568%207.00575%2011.7437%207.00575%2011.95C7.00575%2012.1563%207.07817%2012.332%207.223%2012.477L9.96725%2015.2213C10.1481%2015.4019%2010.359%2015.4923%2010.6%2015.4923C10.841%2015.4923%2011.0519%2015.4019%2011.2327%2015.2213L16.7962%209.65775C16.9346%209.51925%2017.0054%209.34517%2017.0087%209.1355C17.0119%208.926%2016.9411%208.74875%2016.7962%208.60375C16.6512%208.45892%2016.4756%208.3865%2016.2693%208.3865C16.0629%208.3865%2015.8873%208.45892%2015.7423%208.60375L10.6%2013.7463ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ut = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_19567'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19567)'%3e%3cpath%20d='M5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", jt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='indeterminate_check_box'%3e%3cmask%20id='mask0_4956_22386'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_22386)'%3e%3cpath%20id='Icon'%20d='M8%2012.75H16C16.2128%2012.75%2016.391%2012.6782%2016.5345%2012.5345C16.6782%2012.391%2016.75%2012.2128%2016.75%2012C16.75%2011.7872%2016.6782%2011.609%2016.5345%2011.4655C16.391%2011.3218%2016.2128%2011.25%2016%2011.25H8C7.78717%2011.25%207.609%2011.3218%207.4655%2011.4655C7.32183%2011.609%207.25%2011.7872%207.25%2012C7.25%2012.2128%207.32183%2012.391%207.4655%2012.5345C7.609%2012.6782%207.78717%2012.75%208%2012.75ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Zt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='disabled_by_default'%3e%3cmask%20id='mask0_4956_21631'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_21631)'%3e%3cpath%20id='Icon'%20d='M12%2013.0442L15.0828%2016.127C15.2213%2016.2653%2015.3953%2016.3329%2015.6048%2016.3298C15.8144%2016.3266%2015.9885%2016.2558%2016.127%2016.1173C16.2653%2015.9788%2016.3345%2015.8048%2016.3345%2015.5953C16.3345%2015.3856%2016.2653%2015.2115%2016.127%2015.073L13.0443%2012L16.127%208.91725C16.2653%208.77875%2016.3345%208.60475%2016.3345%208.39525C16.3345%208.18558%2016.2653%208.0115%2016.127%207.873C15.9885%207.73467%2015.8144%207.6655%2015.6048%207.6655C15.3953%207.6655%2015.2213%207.73467%2015.0828%207.873L12%2010.9557L8.91725%207.873C8.77875%207.73467%208.60633%207.6655%208.4%207.6655C8.19367%207.6655%208.02125%207.73467%207.88275%207.873C7.74425%208.0115%207.675%208.18558%207.675%208.39525C7.675%208.60475%207.74425%208.77875%207.88275%208.91725L10.9558%2012L7.873%2015.0828C7.73467%2015.2213%207.66708%2015.3937%207.67025%2015.6C7.67342%2015.8063%207.74425%2015.9788%207.88275%2016.1173C8.02125%2016.2558%208.19525%2016.325%208.40475%2016.325C8.61442%2016.325%208.7885%2016.2558%208.927%2016.1173L12%2013.0442ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Pt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='disabled_by_default'%3e%3cmask%20id='mask0_4956_19169'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19169)'%3e%3cpath%20id='Icon'%20d='M12%2013.0442L15.0828%2016.127C15.2213%2016.2653%2015.3953%2016.3329%2015.6048%2016.3298C15.8144%2016.3266%2015.9885%2016.2558%2016.127%2016.1173C16.2653%2015.9788%2016.3345%2015.8048%2016.3345%2015.5953C16.3345%2015.3856%2016.2653%2015.2115%2016.127%2015.073L13.0443%2012L16.127%208.91725C16.2653%208.77875%2016.3345%208.60475%2016.3345%208.39525C16.3345%208.18558%2016.2653%208.0115%2016.127%207.873C15.9885%207.73467%2015.8144%207.6655%2015.6048%207.6655C15.3953%207.6655%2015.2213%207.73467%2015.0828%207.873L12%2010.9557L8.91725%207.873C8.77875%207.73467%208.60633%207.6655%208.4%207.6655C8.19367%207.6655%208.02125%207.73467%207.88275%207.873C7.74425%208.0115%207.675%208.18558%207.675%208.39525C7.675%208.60475%207.74425%208.77875%207.88275%208.91725L10.9558%2012L7.873%2015.0828C7.73467%2015.2213%207.66708%2015.3937%207.67025%2015.6C7.67342%2015.8063%207.74425%2015.9788%207.88275%2016.1173C8.02125%2016.2558%208.19525%2016.325%208.40475%2016.325C8.61442%2016.325%208.7885%2016.2558%208.927%2016.1173L12%2013.0442ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
3491
3491
|
function Gt(e, t, n) {
|
|
3492
3492
|
const r = e[t].props.level ?? 0;
|
|
3493
3493
|
if (t === e.length - 1)
|
|
@@ -3558,13 +3558,13 @@ function W0({
|
|
|
3558
3558
|
className: h,
|
|
3559
3559
|
customIcons: L
|
|
3560
3560
|
}) {
|
|
3561
|
-
const [_, b] =
|
|
3561
|
+
const [_, b] = Y(), w = je(
|
|
3562
3562
|
() => m2.Children.toArray(e).filter(
|
|
3563
3563
|
(N) => xe(N) && N.type === $2
|
|
3564
3564
|
),
|
|
3565
3565
|
[e]
|
|
3566
3566
|
// execute when children changes
|
|
3567
|
-
), [p, C] =
|
|
3567
|
+
), [p, C] = Y(() => w.map(() => "unchecked"));
|
|
3568
3568
|
G(() => {
|
|
3569
3569
|
if (!_) return;
|
|
3570
3570
|
const { index: N, status: f } = _, z = w[N].props.level ?? 0, S = [...p];
|
|
@@ -3581,7 +3581,7 @@ function W0({
|
|
|
3581
3581
|
}, [_]);
|
|
3582
3582
|
const D = je(
|
|
3583
3583
|
() => w.map((N, f) => {
|
|
3584
|
-
const z = Wt(w, f, t), S = N.props.name, H = N.props.className || h, k = N.props.classNameLabel || l, F = N.props.classNameSvg || x,
|
|
3584
|
+
const z = Wt(w, f, t), S = N.props.name, H = N.props.className || h, k = N.props.classNameLabel || l, F = N.props.classNameSvg || x, R = N.props.classNameSvg || g, T = N.props.customIcons || L, U = (B, v) => {
|
|
3585
3585
|
b({ status: B, index: v }), u && u(B, S);
|
|
3586
3586
|
};
|
|
3587
3587
|
return De(N, {
|
|
@@ -3595,7 +3595,7 @@ function W0({
|
|
|
3595
3595
|
setStatusUpdate: U,
|
|
3596
3596
|
classNameLabel: k,
|
|
3597
3597
|
classNameSvg: F,
|
|
3598
|
-
classNameInput:
|
|
3598
|
+
classNameInput: R,
|
|
3599
3599
|
className: H,
|
|
3600
3600
|
customIcons: T
|
|
3601
3601
|
});
|
|
@@ -3629,7 +3629,7 @@ const $2 = m2.forwardRef(
|
|
|
3629
3629
|
name: N,
|
|
3630
3630
|
...f
|
|
3631
3631
|
}, z) => {
|
|
3632
|
-
const [S, H] =
|
|
3632
|
+
const [S, H] = Y("unchecked"), k = Q(null), [F, R] = Y(s2);
|
|
3633
3633
|
g2(z, () => k.current), G(() => {
|
|
3634
3634
|
b && H(b);
|
|
3635
3635
|
}, [b]), G(() => {
|
|
@@ -3637,10 +3637,10 @@ const $2 = m2.forwardRef(
|
|
|
3637
3637
|
}, [S]), G(() => {
|
|
3638
3638
|
if (t) {
|
|
3639
3639
|
if (i && i[S]) {
|
|
3640
|
-
|
|
3640
|
+
R(i[S]);
|
|
3641
3641
|
return;
|
|
3642
3642
|
}
|
|
3643
|
-
S === "checked" ?
|
|
3643
|
+
S === "checked" ? R(u ? h ? Pt : Ft : h ? Zt : Yt) : S === "unchecked" ? R(u ? Ut : s2) : S === "indeterminate" && R(u ? jt : Rt);
|
|
3644
3644
|
}
|
|
3645
3645
|
}, [u, t, S, h]);
|
|
3646
3646
|
const T = (U) => {
|
|
@@ -3822,13 +3822,13 @@ function Jt() {
|
|
|
3822
3822
|
S[I] = d, o = I;
|
|
3823
3823
|
}
|
|
3824
3824
|
return !M && o && (z = o), o || !M && z;
|
|
3825
|
-
},
|
|
3825
|
+
}, R = function(v, d) {
|
|
3826
3826
|
if (k(v)) return v.clone();
|
|
3827
3827
|
var y = typeof d == "object" ? d : {};
|
|
3828
3828
|
return y.date = v, y.args = arguments, new U(y);
|
|
3829
3829
|
}, T = f;
|
|
3830
3830
|
T.l = F, T.i = k, T.w = function(v, d) {
|
|
3831
|
-
return
|
|
3831
|
+
return R(v, { locale: d.$L, utc: d.$u, x: d.$x, $offset: d.$offset });
|
|
3832
3832
|
};
|
|
3833
3833
|
var U = function() {
|
|
3834
3834
|
function v(y) {
|
|
@@ -3858,12 +3858,12 @@ function Jt() {
|
|
|
3858
3858
|
}, d.isValid = function() {
|
|
3859
3859
|
return this.$d.toString() !== w;
|
|
3860
3860
|
}, d.isSame = function(y, M) {
|
|
3861
|
-
var o =
|
|
3861
|
+
var o = R(y);
|
|
3862
3862
|
return this.startOf(M) <= o && o <= this.endOf(M);
|
|
3863
3863
|
}, d.isAfter = function(y, M) {
|
|
3864
|
-
return
|
|
3864
|
+
return R(y) < this.startOf(M);
|
|
3865
3865
|
}, d.isBefore = function(y, M) {
|
|
3866
|
-
return this.endOf(M) <
|
|
3866
|
+
return this.endOf(M) < R(y);
|
|
3867
3867
|
}, d.$g = function(y, M, o) {
|
|
3868
3868
|
return T.u(y) ? this[M] : this.set(o, y);
|
|
3869
3869
|
}, d.unix = function() {
|
|
@@ -3914,7 +3914,7 @@ function Jt() {
|
|
|
3914
3914
|
var o, $ = this;
|
|
3915
3915
|
y = Number(y);
|
|
3916
3916
|
var V = T.p(M), I = function(W) {
|
|
3917
|
-
var K =
|
|
3917
|
+
var K = R($);
|
|
3918
3918
|
return T.w(K.date(K.date() + Math.round(W * y)), $);
|
|
3919
3919
|
};
|
|
3920
3920
|
if (V === h) return this.set(h, this.$M + y);
|
|
@@ -3994,7 +3994,7 @@ function Jt() {
|
|
|
3994
3994
|
}, d.utcOffset = function() {
|
|
3995
3995
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
3996
3996
|
}, d.diff = function(y, M, o) {
|
|
3997
|
-
var $, V = this, I = T.p(M), Z =
|
|
3997
|
+
var $, V = this, I = T.p(M), Z = R(y), j = (Z.utcOffset() - this.utcOffset()) * r, W = this - Z, K = function() {
|
|
3998
3998
|
return T.m(V, Z);
|
|
3999
3999
|
};
|
|
4000
4000
|
switch (I) {
|
|
@@ -4046,15 +4046,15 @@ function Jt() {
|
|
|
4046
4046
|
return this.$d.toUTCString();
|
|
4047
4047
|
}, v;
|
|
4048
4048
|
}(), B = U.prototype;
|
|
4049
|
-
return
|
|
4049
|
+
return R.prototype = B, [["$ms", i], ["$s", a], ["$m", u], ["$H", l], ["$W", x], ["$M", h], ["$y", _], ["$D", b]].forEach(function(v) {
|
|
4050
4050
|
B[v[1]] = function(d) {
|
|
4051
4051
|
return this.$g(d, v[0], v[1]);
|
|
4052
4052
|
};
|
|
4053
|
-
}),
|
|
4054
|
-
return v.$i || (v(d, U,
|
|
4055
|
-
},
|
|
4056
|
-
return
|
|
4057
|
-
},
|
|
4053
|
+
}), R.extend = function(v, d) {
|
|
4054
|
+
return v.$i || (v(d, U, R), v.$i = !0), R;
|
|
4055
|
+
}, R.locale = F, R.isDayjs = k, R.unix = function(v) {
|
|
4056
|
+
return R(1e3 * v);
|
|
4057
|
+
}, R.en = S[z], R.Ls = S, R.p = {}, R;
|
|
4058
4058
|
});
|
|
4059
4059
|
}(Le)), Le.exports;
|
|
4060
4060
|
}
|
|
@@ -4121,7 +4121,7 @@ function t0() {
|
|
|
4121
4121
|
function w(p) {
|
|
4122
4122
|
var C, D;
|
|
4123
4123
|
C = p, D = l && l.formats;
|
|
4124
|
-
for (var N = (p = C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(
|
|
4124
|
+
for (var N = (p = C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(R, T, U) {
|
|
4125
4125
|
var B = U && U.toUpperCase();
|
|
4126
4126
|
return T || D[U] || n[U] || D[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(v, d, y) {
|
|
4127
4127
|
return d || y.slice(1);
|
|
@@ -4130,13 +4130,13 @@ function t0() {
|
|
|
4130
4130
|
var S = N[z], H = b[S], k = H && H[0], F = H && H[1];
|
|
4131
4131
|
N[z] = F ? { regex: k, parser: F } : S.replace(/^\[|\]$/g, "");
|
|
4132
4132
|
}
|
|
4133
|
-
return function(
|
|
4133
|
+
return function(R) {
|
|
4134
4134
|
for (var T = {}, U = 0, B = 0; U < f; U += 1) {
|
|
4135
4135
|
var v = N[U];
|
|
4136
4136
|
if (typeof v == "string") B += v.length;
|
|
4137
4137
|
else {
|
|
4138
|
-
var d = v.regex, y = v.parser, M =
|
|
4139
|
-
y.call(T, o),
|
|
4138
|
+
var d = v.regex, y = v.parser, M = R.slice(B), o = d.exec(M)[0];
|
|
4139
|
+
y.call(T, o), R = R.replace(o, "");
|
|
4140
4140
|
}
|
|
4141
4141
|
}
|
|
4142
4142
|
return function($) {
|
|
@@ -4156,8 +4156,8 @@ function t0() {
|
|
|
4156
4156
|
this.$u = H;
|
|
4157
4157
|
var F = k[1];
|
|
4158
4158
|
if (typeof F == "string") {
|
|
4159
|
-
var
|
|
4160
|
-
T && (B = k[2]), l = this.$locale(), !
|
|
4159
|
+
var R = k[2] === !0, T = k[3] === !0, U = R || T, B = k[2];
|
|
4160
|
+
T && (B = k[2]), l = this.$locale(), !R && B && (l = D.Ls[B]), this.$d = function(M, o, $, V) {
|
|
4161
4161
|
try {
|
|
4162
4162
|
if (["x", "X"].indexOf(o) > -1) return new Date((o === "X" ? 1e3 : 1) * M);
|
|
4163
4163
|
var I = w(o)(M), Z = I.year, j = I.month, W = I.day, K = I.hours, te = I.minutes, q = I.seconds, oe = I.milliseconds, se = I.zone, X = I.week, ee = /* @__PURE__ */ new Date(), ne = W || (Z || j ? 1 : ee.getDate()), ce = Z || ee.getFullYear(), we = 0;
|
|
@@ -4195,7 +4195,7 @@ const q0 = ({
|
|
|
4195
4195
|
dataTestIdInput: i,
|
|
4196
4196
|
onChange: a
|
|
4197
4197
|
}) => {
|
|
4198
|
-
const u = ge(n, "M-D-YYYY", !0), [l, x] =
|
|
4198
|
+
const u = ge(n, "M-D-YYYY", !0), [l, x] = Y(!1), [g, h] = Y(""), [L, _] = Y(ge()), [b, w] = Y(!1), [p, C] = Y(
|
|
4199
4199
|
g ? u.isValid() : !0
|
|
4200
4200
|
), D = Q(null), N = Q(null), f = Q(null), z = L?.daysInMonth() || 30, S = L?.startOf("month").day() || 0;
|
|
4201
4201
|
G(() => {
|
|
@@ -4224,7 +4224,7 @@ const q0 = ({
|
|
|
4224
4224
|
}
|
|
4225
4225
|
const M = ge(d, "M-D-YYYY", !0);
|
|
4226
4226
|
M.isValid() ? (_(M), C(!0), a(d)) : (C(!1), a(d));
|
|
4227
|
-
},
|
|
4227
|
+
}, R = () => {
|
|
4228
4228
|
x((v) => !v);
|
|
4229
4229
|
}, T = () => {
|
|
4230
4230
|
L && _(L.subtract(1, "month"));
|
|
@@ -4276,7 +4276,7 @@ const q0 = ({
|
|
|
4276
4276
|
"button",
|
|
4277
4277
|
{
|
|
4278
4278
|
type: "button",
|
|
4279
|
-
onClick:
|
|
4279
|
+
onClick: R,
|
|
4280
4280
|
className: `px-3 py-2 bg-gray-100 border-2 border-gray-300 rounded-r-md rounded-l-none hover:bg-gray-200
|
|
4281
4281
|
focus:outline-hidden focus:border-blue-500`,
|
|
4282
4282
|
"aria-label": "Open calendar",
|
|
@@ -4353,7 +4353,7 @@ const q0 = ({
|
|
|
4353
4353
|
dataTestIdButton: x,
|
|
4354
4354
|
clickHandler: g
|
|
4355
4355
|
}) => {
|
|
4356
|
-
const [h, L] =
|
|
4356
|
+
const [h, L] = Y(!1), _ = `expandable-text-${Math.random().toString(36).slice(2)}`;
|
|
4357
4357
|
if (!e || typeof e != "string" || t < 0)
|
|
4358
4358
|
return /* @__PURE__ */ s("span", { className: u, children: e || "" });
|
|
4359
4359
|
const w = ((C, D) => {
|
|
@@ -4400,7 +4400,7 @@ const q0 = ({
|
|
|
4400
4400
|
}
|
|
4401
4401
|
)
|
|
4402
4402
|
] }) });
|
|
4403
|
-
},
|
|
4403
|
+
}, Re = {
|
|
4404
4404
|
default: {
|
|
4405
4405
|
container: "flex border-b border-gray-200",
|
|
4406
4406
|
tab: "text-[#092068]",
|
|
@@ -4434,7 +4434,7 @@ const X0 = ({
|
|
|
4434
4434
|
dataTestIdContainer: a,
|
|
4435
4435
|
dataTestIdTabButton: u
|
|
4436
4436
|
}) => {
|
|
4437
|
-
const [l, x] =
|
|
4437
|
+
const [l, x] = Y(0), [g, h] = Y(!1), [L, _] = Y(""), b = Q([]);
|
|
4438
4438
|
e === "" && (e = "default");
|
|
4439
4439
|
const w = $e((f) => {
|
|
4440
4440
|
b.current[f]?.focus();
|
|
@@ -4462,7 +4462,7 @@ const X0 = ({
|
|
|
4462
4462
|
{
|
|
4463
4463
|
role: "tablist",
|
|
4464
4464
|
"aria-label": "Tabs",
|
|
4465
|
-
className: m(
|
|
4465
|
+
className: m(Re[e].container, n),
|
|
4466
4466
|
children: t.map((f, z) => /* @__PURE__ */ A(
|
|
4467
4467
|
"button",
|
|
4468
4468
|
{
|
|
@@ -4475,7 +4475,7 @@ const X0 = ({
|
|
|
4475
4475
|
"data-testid": u,
|
|
4476
4476
|
tabIndex: l === z ? 0 : -1,
|
|
4477
4477
|
ref: C(z),
|
|
4478
|
-
className: `flex px-6 py-3 md:py-[14px] lg:py-4 focus:outline-hidden ${e === "outline" ? `border-[#092068] ${z === 0 ? "border-l-2 border-t-2 border-b-2 rounded-l-md focus:rounded-l-md" : z === t.length - 1 ? "border-r-2 border-t-2 border-b-2 rounded-r-md focus:rounded-r-md" : "border-t-2 border-b-2"}` : ""} ${l === z ? m(
|
|
4478
|
+
className: `flex px-6 py-3 md:py-[14px] lg:py-4 focus:outline-hidden ${e === "outline" ? `border-[#092068] ${z === 0 ? "border-l-2 border-t-2 border-b-2 rounded-l-md focus:rounded-l-md" : z === t.length - 1 ? "border-r-2 border-t-2 border-b-2 rounded-r-md focus:rounded-r-md" : "border-t-2 border-b-2"}` : ""} ${l === z ? m(Re[e].active, c) : m(Re[e].inactive, i)}`,
|
|
4479
4479
|
onClick: () => p(z, f.onClick),
|
|
4480
4480
|
onKeyDown: (S) => D(S, z),
|
|
4481
4481
|
children: [
|
|
@@ -4555,7 +4555,7 @@ const c2 = "px-4 py-3 arial rounded-lg border border-[#B3B3B3] mx-2 bg-white hov
|
|
|
4555
4555
|
disabled: L,
|
|
4556
4556
|
..._
|
|
4557
4557
|
}, b) => {
|
|
4558
|
-
const [w, p] =
|
|
4558
|
+
const [w, p] = Y(), [C, D] = Y(c2), [N, f] = Y(""), [z, S] = Y(!1), H = Q(null), [k, F] = Y(""), R = "border-[#D54309] border", T = (B) => {
|
|
4559
4559
|
const v = B.target.value;
|
|
4560
4560
|
F(h ? U(v) : v);
|
|
4561
4561
|
};
|
|
@@ -4570,7 +4570,7 @@ const c2 = "px-4 py-3 arial rounded-lg border border-[#B3B3B3] mx-2 bg-white hov
|
|
|
4570
4570
|
t && (D(m(
|
|
4571
4571
|
c2,
|
|
4572
4572
|
Fe.find((B) => B.variant === t)?.classes,
|
|
4573
|
-
x &&
|
|
4573
|
+
x && R,
|
|
4574
4574
|
e
|
|
4575
4575
|
)), f(m(r ? Fe.find((B) => B.variant === t)?.insetLabelClasses : Fe.find((B) => B.variant === t)?.labelClasses, c)));
|
|
4576
4576
|
}, [e, c, t, z, r, x]), G(() => {
|
|
@@ -4734,7 +4734,7 @@ const l0 = ({
|
|
|
4734
4734
|
dataTestIdTitle: w,
|
|
4735
4735
|
children: p
|
|
4736
4736
|
}) => {
|
|
4737
|
-
const C = Q(null), D = Q(null), N = "fixed inset-0 z-50 flex items-center justify-center bg-black/50", [f, z] =
|
|
4737
|
+
const C = Q(null), D = Q(null), N = "fixed inset-0 z-50 flex items-center justify-center bg-black/50", [f, z] = Y("");
|
|
4738
4738
|
if (G(() => {
|
|
4739
4739
|
if (L) {
|
|
4740
4740
|
const H = "backdrop-blur-" + L;
|
|
@@ -4754,10 +4754,10 @@ const l0 = ({
|
|
|
4754
4754
|
const H = (F) => {
|
|
4755
4755
|
F.key === "Escape" && e && n();
|
|
4756
4756
|
}, k = (F) => {
|
|
4757
|
-
const
|
|
4757
|
+
const R = C.current?.querySelectorAll(
|
|
4758
4758
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
4759
|
-
), T =
|
|
4760
|
-
F.key === "Tab" &&
|
|
4759
|
+
), T = R?.[0], U = R?.[R.length - 1];
|
|
4760
|
+
F.key === "Tab" && R && (F.shiftKey && document.activeElement === T ? (F.preventDefault(), U?.focus()) : !F.shiftKey && document.activeElement === U && (F.preventDefault(), T?.focus()));
|
|
4761
4761
|
};
|
|
4762
4762
|
return e ? (document.body.style.overflow = "hidden", window.addEventListener("keydown", H), window.addEventListener("keydown", k), D.current?.focus()) : document.body.style.overflow = "auto", () => {
|
|
4763
4763
|
window.removeEventListener("keydown", H), window.removeEventListener("keydown", k), document.body.style.overflow = "auto";
|
|
@@ -4848,7 +4848,7 @@ const l0 = ({
|
|
|
4848
4848
|
disabled: x = !1,
|
|
4849
4849
|
...g
|
|
4850
4850
|
}, h) => {
|
|
4851
|
-
const [L, _] =
|
|
4851
|
+
const [L, _] = Y(), [b, w] = Y(), [p, C] = Y("bg-white");
|
|
4852
4852
|
return G(() => {
|
|
4853
4853
|
const D = "text-lg font-normal font-['Arial'] leading-normal ";
|
|
4854
4854
|
w(t && r ? D : t ? D + "mr-6" : r ? D + "ml-6" : D + "ml-6 mr-6");
|
|
@@ -4888,7 +4888,7 @@ const l0 = ({
|
|
|
4888
4888
|
showMarkers: x = !0,
|
|
4889
4889
|
classNameMarkerFalse: g = ""
|
|
4890
4890
|
}) => {
|
|
4891
|
-
const h = Array.from({ length: e }, (b, w) => w + 1), [L, _] =
|
|
4891
|
+
const h = Array.from({ length: e }, (b, w) => w + 1), [L, _] = Y(Math.round(t / e * 100).toString() + "%");
|
|
4892
4892
|
return f2(() => {
|
|
4893
4893
|
const w = Math.round(t / e * 100).toString() + "%";
|
|
4894
4894
|
_(w);
|
|
@@ -4956,7 +4956,7 @@ const l0 = ({
|
|
|
4956
4956
|
) });
|
|
4957
4957
|
};
|
|
4958
4958
|
function c0({ className: e }) {
|
|
4959
|
-
return
|
|
4959
|
+
return /* @__PURE__ */ s(
|
|
4960
4960
|
"svg",
|
|
4961
4961
|
{
|
|
4962
4962
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4974,7 +4974,7 @@ const ts = ({
|
|
|
4974
4974
|
options: c,
|
|
4975
4975
|
dataTestId: i
|
|
4976
4976
|
}) => {
|
|
4977
|
-
const [a, u] =
|
|
4977
|
+
const [a, u] = Y(""), l = (g) => {
|
|
4978
4978
|
u(g);
|
|
4979
4979
|
}, x = a;
|
|
4980
4980
|
return /* @__PURE__ */ A("fieldset", { role: "radiogroup", className: r, "data-testid": i, children: [
|
|
@@ -5028,14 +5028,14 @@ const ts = ({
|
|
|
5028
5028
|
dataTestIdResults: L,
|
|
5029
5029
|
..._
|
|
5030
5030
|
}, b) => {
|
|
5031
|
-
const w = Q(null), p = Q(null), [C, D] =
|
|
5031
|
+
const w = Q(null), p = Q(null), [C, D] = Y(""), [N, f] = Y(), [z, S] = Y(i), [H, k] = Y(!1), F = 100, R = 8, [T, U] = Y(`${F}px`);
|
|
5032
5032
|
f2(() => {
|
|
5033
5033
|
let $ = 0;
|
|
5034
5034
|
const V = () => {
|
|
5035
5035
|
if (!p.current) return;
|
|
5036
5036
|
const Z = p.current.getBoundingClientRect(), j = window.visualViewport, W = j?.height ?? window.innerHeight, K = j?.offsetTop ?? 0, te = Math.max(
|
|
5037
5037
|
F,
|
|
5038
|
-
W + K - Z.top -
|
|
5038
|
+
W + K - Z.top - R
|
|
5039
5039
|
);
|
|
5040
5040
|
U(`${te}px`);
|
|
5041
5041
|
}, I = () => {
|
|
@@ -5238,7 +5238,7 @@ const g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
5238
5238
|
children: w,
|
|
5239
5239
|
...p
|
|
5240
5240
|
}, C) => {
|
|
5241
|
-
const [D, N] =
|
|
5241
|
+
const [D, N] = Y(""), [f, z] = Y(""), [S, H] = Y(""), k = `${l === "page" ? "pt-4 pb-2" : "py-2"} flex pl-6 pr-2 justify-start items-center gap-4 inline-flex w-full`;
|
|
5242
5242
|
return G(() => {
|
|
5243
5243
|
N(m(k, i ? "border-b-2 border-[#07192D]" : "", u ? "bg-[#092068] text-[#f0f0f0]" : "bg-transparent text-[#07192d]", x && g ? "mx-4 " : x ? "ms-4" : g ? "me-4" : "", e));
|
|
5244
5244
|
}, [e, i, u, k, x, g]), G(() => {
|
|
@@ -5404,7 +5404,7 @@ const g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
5404
5404
|
dataTestId: l,
|
|
5405
5405
|
...x
|
|
5406
5406
|
}, g) => {
|
|
5407
|
-
const [h, L] =
|
|
5407
|
+
const [h, L] = Y(), [_, b] = Y(), [w, p] = Y(p0), C = () => {
|
|
5408
5408
|
L(m(h, "hidden"));
|
|
5409
5409
|
};
|
|
5410
5410
|
return G(() => {
|
|
@@ -5469,7 +5469,7 @@ function ns({
|
|
|
5469
5469
|
dataTestIdHamburger: z = "hamburgerMenu",
|
|
5470
5470
|
children: S
|
|
5471
5471
|
}) {
|
|
5472
|
-
const H = Q(null), [k, F] =
|
|
5472
|
+
const H = Q(null), [k, F] = Y(!1), [R, T] = Y(!1), U = Q(null);
|
|
5473
5473
|
G(() => {
|
|
5474
5474
|
const M = () => {
|
|
5475
5475
|
k ? v() : B();
|
|
@@ -5532,7 +5532,7 @@ function ns({
|
|
|
5532
5532
|
// --- MODIFIED: Duration class uses a variable for consistency ---
|
|
5533
5533
|
"transition-transform duration-200 ease-in-out",
|
|
5534
5534
|
// --- MODIFIED: Animation is now controlled by 'isShowing' state ---
|
|
5535
|
-
|
|
5535
|
+
R ? "translate-x-0" : "translate-x-full",
|
|
5536
5536
|
g
|
|
5537
5537
|
),
|
|
5538
5538
|
children: [
|
|
@@ -5768,7 +5768,7 @@ const _0 = "_slider_87un4_28", $0 = {
|
|
|
5768
5768
|
label: l,
|
|
5769
5769
|
...x
|
|
5770
5770
|
}, g) => {
|
|
5771
|
-
const [h, L] =
|
|
5771
|
+
const [h, L] = Y(i), _ = Q(null);
|
|
5772
5772
|
g2(g, () => _.current), G(() => {
|
|
5773
5773
|
L(i);
|
|
5774
5774
|
}, []);
|
|
@@ -5834,7 +5834,7 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5834
5834
|
children: u,
|
|
5835
5835
|
...l
|
|
5836
5836
|
}, x) => {
|
|
5837
|
-
const [g, h] =
|
|
5837
|
+
const [g, h] = Y(), [L, _] = Y(), [b, w] = Y();
|
|
5838
5838
|
return G(() => {
|
|
5839
5839
|
h(m(
|
|
5840
5840
|
Ue.find((p) => p.variant === e)?.classes,
|
|
@@ -5892,7 +5892,7 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5892
5892
|
children: x,
|
|
5893
5893
|
...g
|
|
5894
5894
|
}, h) => {
|
|
5895
|
-
const [L, _] =
|
|
5895
|
+
const [L, _] = Y(e);
|
|
5896
5896
|
return /* @__PURE__ */ s(
|
|
5897
5897
|
"button",
|
|
5898
5898
|
{
|
|
@@ -5935,7 +5935,7 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5935
5935
|
dataTestId: c,
|
|
5936
5936
|
...i
|
|
5937
5937
|
}, a) => {
|
|
5938
|
-
const [u, l] =
|
|
5938
|
+
const [u, l] = Y(!1);
|
|
5939
5939
|
let x;
|
|
5940
5940
|
const g = $e(() => {
|
|
5941
5941
|
x = setTimeout(() => l(!0), t);
|
|
@@ -5971,7 +5971,7 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5971
5971
|
I0.displayName = "Tooltip";
|
|
5972
5972
|
const E0 = re(
|
|
5973
5973
|
({ children: e, className: t, position: n, dataTestId: r, ...c }, i) => {
|
|
5974
|
-
const [a, u] =
|
|
5974
|
+
const [a, u] = Y("mt-2"), l = H2(V2);
|
|
5975
5975
|
if (!l)
|
|
5976
5976
|
throw new Error("TooltipContent must be used within a tooltip");
|
|
5977
5977
|
const { id: x } = l;
|