@fluidattacks/design 3.7.9 → 3.7.10-pr
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/dist/components/@core/index.js +1 -1
- package/dist/components/accordion/accordion-content/index.js +1 -1
- package/dist/components/accordion/index.js +1 -1
- package/dist/components/alert/index.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/card/card-header/index.js +1 -1
- package/dist/components/card/card-with-image/index.js +1 -1
- package/dist/components/card/card-with-input/index.js +1 -1
- package/dist/components/card/card-with-options/index.js +1 -1
- package/dist/components/card/card-with-options/types.d.ts +2 -2
- package/dist/components/card/card-with-selector/index.js +1 -1
- package/dist/components/card/card-with-switch/index.js +1 -1
- package/dist/components/card/index.js +1 -1
- package/dist/components/carousel/index.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/types.d.ts +2 -1
- package/dist/components/cloud-image/index.js +1 -1
- package/dist/components/code-snippet/index.js +1 -1
- package/dist/components/code-snippet/location-code/index.js +1 -1
- package/dist/components/colors/index.js +1 -1
- package/dist/components/confirm-dialog/index.js +1 -1
- package/dist/components/container/index.js +1 -1
- package/dist/components/content-card/category-tag/index.js +1 -1
- package/dist/components/content-card/event-date/index.js +1 -1
- package/dist/components/content-card/index.js +1 -1
- package/dist/components/content-card-carousel/index.js +1 -1
- package/dist/components/content-card-carousel/scroll-buttons/index.js +1 -1
- package/dist/components/divider/index.js +1 -1
- package/dist/components/empty-state/empty-button/index.js +1 -1
- package/dist/components/empty-state/index.js +1 -1
- package/dist/components/file-preview/index.js +1 -1
- package/dist/components/form/index.js +1 -1
- package/dist/components/grid-container/index.js +1 -1
- package/dist/components/group-selector/index.js +1 -1
- package/dist/components/group-selector/option-container/index.js +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon-button/index.js +1 -1
- package/dist/components/indicator-card/index.js +1 -1
- package/dist/components/info-sidebar/index.js +1 -1
- package/dist/components/inputs/fields/combobox/index.js +1 -1
- package/dist/components/inputs/fields/combobox/option/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/cell/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/grid/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/header/index.js +1 -1
- package/dist/components/inputs/fields/date/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date/index.js +1 -1
- package/dist/components/inputs/fields/date-range/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-range/index.js +1 -1
- package/dist/components/inputs/fields/date-time/calendar/index.js +1 -1
- package/dist/components/inputs/fields/date-time/index.js +1 -1
- package/dist/components/inputs/fields/editable/index.js +1 -1
- package/dist/components/inputs/fields/input/index.js +1 -1
- package/dist/components/inputs/fields/input-file/index.js +1 -1
- package/dist/components/inputs/fields/input-tags/index.js +1 -1
- package/dist/components/inputs/fields/number/index.js +1 -1
- package/dist/components/inputs/fields/number-range/index.js +1 -1
- package/dist/components/inputs/fields/phone/index.js +1 -1
- package/dist/components/inputs/fields/text-area/index.js +1 -1
- package/dist/components/inputs/index.js +1 -1
- package/dist/components/inputs/label/index.js +1 -1
- package/dist/components/inputs/outline-container/index.js +1 -1
- package/dist/components/inputs/utils/action-button/index.js +1 -1
- package/dist/components/inputs/utils/calendar-button/index.js +1 -1
- package/dist/components/inputs/utils/date-selector/index.js +1 -1
- package/dist/components/inputs/utils/date-time-field/index.js +1 -1
- package/dist/components/inputs/utils/dialog/index.js +1 -1
- package/dist/components/inputs/utils/number-field/index.js +1 -1
- package/dist/components/inputs/utils/popover/index.js +1 -1
- package/dist/components/inputs/utils/types.d.ts +1 -1
- package/dist/components/interactive-card/icon/index.js +1 -1
- package/dist/components/interactive-card/index.js +1 -1
- package/dist/components/language-selector/index.js +1 -1
- package/dist/components/language-selector/item-list/index.js +1 -1
- package/dist/components/layout/categories/buttons/index.js +1 -1
- package/dist/components/layout/categories/column/index.js +1 -1
- package/dist/components/layout/categories/gap/index.js +1 -1
- package/dist/components/layout/categories/row/index.js +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/link/index.js +1 -1
- package/dist/components/list-item/index.d.ts +1 -1
- package/dist/components/list-item/index.js +1 -1
- package/dist/components/list-item/types.d.ts +4 -0
- package/dist/components/little-flag/index.js +1 -1
- package/dist/components/loading/index.js +1 -1
- package/dist/components/logo/index.js +1 -1
- package/dist/components/logo-carousel/index.js +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/message-banner/index.js +1 -1
- package/dist/components/modal/columns-modal/index.d.ts +1 -1
- package/dist/components/modal/columns-modal/index.js +1 -1
- package/dist/components/modal/columns-modal/preview-panel/index.d.ts +3 -0
- package/dist/components/modal/columns-modal/preview-panel/index.js +1 -0
- package/dist/components/{sortable-list → modal/columns-modal/preview-panel}/styles.d.ts +2 -2
- package/dist/components/modal/columns-modal/preview-panel/types.d.ts +17 -0
- package/dist/components/modal/columns-modal/search-panel/index.d.ts +3 -0
- package/dist/components/modal/columns-modal/search-panel/index.js +1 -0
- package/dist/components/{columns-selector → modal/columns-modal/search-panel}/styles.d.ts +2 -2
- package/dist/components/{columns-selector → modal/columns-modal/search-panel}/types.d.ts +6 -6
- package/dist/components/modal/columns-modal/search-panel/utils.d.ts +3 -0
- package/dist/components/modal/columns-modal/types.d.ts +3 -2
- package/dist/components/modal/filters-modal/filters-list/index.d.ts +3 -0
- package/dist/components/modal/filters-modal/filters-list/index.js +1 -0
- package/dist/components/modal/filters-modal/filters-list/styles.d.ts +4 -0
- package/dist/components/modal/filters-modal/filters-list/types.d.ts +22 -0
- package/dist/components/modal/filters-modal/options-selector/index.d.ts +3 -0
- package/dist/components/modal/filters-modal/options-selector/index.js +1 -0
- package/dist/components/modal/{multiple-selection → filters-modal/options-selector}/types.d.ts +2 -2
- package/dist/components/modal/filters-modal/single-column-filters/index.d.ts +3 -0
- package/dist/components/{sortable-list → modal/filters-modal/single-column-filters}/index.js +1 -1
- package/dist/components/modal/{multiple-selection → filters-modal}/styles.d.ts +1 -1
- package/dist/components/modal/filters-modal/two-columns-filters/index.d.ts +3 -0
- package/dist/components/{columns-selector → modal/filters-modal/two-columns-filters}/index.js +1 -1
- package/dist/components/modal/filters-modal/two-columns-filters/types.d.ts +12 -0
- package/dist/components/modal/footer/index.js +1 -1
- package/dist/components/modal/header/index.d.ts +1 -1
- package/dist/components/modal/header/index.js +1 -1
- package/dist/components/modal/index.d.ts +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/modal-confirm/index.js +1 -1
- package/dist/components/modal/types.d.ts +3 -0
- package/dist/components/notification/index.js +1 -1
- package/dist/components/notification-sign/index.js +1 -1
- package/dist/components/number-input/index.js +1 -1
- package/dist/components/oauth-selector/index.js +1 -1
- package/dist/components/oauth-selector/option-container/index.js +1 -1
- package/dist/components/plan-card/index.js +1 -1
- package/dist/components/plan-card/recommended-tag/index.js +1 -1
- package/dist/components/pop-up/description/index.js +1 -1
- package/dist/components/pop-up/index.js +1 -1
- package/dist/components/premium-feature/index.js +1 -1
- package/dist/components/priority-score/index.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress-bar/index.js +1 -1
- package/dist/components/radio-button/index.js +1 -1
- package/dist/components/scroll-button/index.js +1 -1
- package/dist/components/search/index.js +1 -1
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/search-bar/item-searching/index.js +1 -1
- package/dist/components/severity-badge/index.js +1 -1
- package/dist/components/severity-overview/badge/index.js +1 -1
- package/dist/components/severity-overview/index.js +1 -1
- package/dist/components/show-on-hover/index.js +1 -1
- package/dist/components/slide-out-menu/index.js +1 -1
- package/dist/components/slide-out-menu/menu-item/index.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/thumb/index.js +1 -1
- package/dist/components/step-lapse/index.js +1 -1
- package/dist/components/table-button/index.js +1 -1
- package/dist/components/tabs/fixed-tabs/index.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/styles.d.ts +2 -1
- package/dist/components/tabs/tab/index.js +1 -1
- package/dist/components/tabs/types.d.ts +4 -3
- package/dist/components/tag/index.js +1 -1
- package/dist/components/timeline/card/index.js +1 -1
- package/dist/components/timeline/index.js +1 -1
- package/dist/components/toggle/index.js +1 -1
- package/dist/components/toggle-buttons/index.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tour/index.js +1 -1
- package/dist/components/typography/heading/index.js +1 -1
- package/dist/components/typography/index.js +1 -1
- package/dist/components/typography/span/index.js +1 -1
- package/dist/components/typography/text/index.js +1 -1
- package/dist/components/web-form/index.js +1 -1
- package/dist/{components-CDDm5OE_.mjs → components-DJo1axtP.mjs} +2263 -2162
- package/dist/{components-m-smJZ1c.js → components-oZ4sfgHx.js} +420 -418
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/use-columns-modal.d.ts +6 -11
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/components/columns-selector/index.d.ts +0 -3
- package/dist/components/columns-selector/utils.d.ts +0 -3
- package/dist/components/modal/multiple-selection/index.d.ts +0 -3
- package/dist/components/modal/multiple-selection/index.js +0 -1
- package/dist/components/sortable-list/index.d.ts +0 -3
- package/dist/components/sortable-list/types.d.ts +0 -23
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),g=require("react"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),g=require("react"),o=require("./vendor-CURwPSaG.js"),te=require("react-dom"),De=require("react-router-dom"),U=e=>({getVariant:(n,i)=>e(n)[i]}),rt=["padding","px","py","pl","pr","pt","pb","margin","mx","my","ml","mr","mt","mb","zIndex","position","top","right","bottom","left","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","scroll","visibility","display","height","width","maxHeight","maxWidth","minHeight","minWidth","shadow","bgColor","bgGradient","gap","flexDirection","flexGrow","justify","justifySelf","alignItems","alignSelf","wrap","color","fontFamily","fontSize","fontWeight","textAlign","whiteSpace","letterSpacing","lineSpacing","textDecoration","textOverflow","whiteSpace","wordBreak","wordWrap","cursor","transition","borderColorHover","bgColorHover","shadowHover"],sn={25:"#fcfcfd",50:"#f9fafb",100:"#f2f4f7",200:"#eaecf0",300:"#d0d5dd",400:"#98a2b3",500:"#667085",600:"#475467",700:"#2f394b",800:"#212a36",900:"#161b25"},ln={25:"#fef2f3",50:"#fddfe2",100:"#fbbac0",200:"#f9959e",300:"#f65e6a",400:"#f32637",500:"#bf0b1a",600:"#ac0a17",700:"#9a0915",800:"#870812",900:"#750710"},cn={25:"",50:"",100:"#ffe6ff",200:"",300:"#b8075d",400:"",500:"#7f0540",600:"",700:"#59042d",800:"",900:"#460323"},dn={25:"",50:"#fef3f2",100:"",200:"#fecdca",300:"",400:"",500:"#f04438",600:"",700:"#b42318",800:"",900:""},pn={25:"",50:"#fffaeb",100:"",200:"#fef0c7",300:"",400:"#ffd562",500:"#fdb022",600:"#dc6803",700:"#b54708",800:"",900:""},gn={25:"",50:"#f6fef9",100:"",200:"#a6f4c5",300:"",400:"",500:"#12b76a",600:"",700:"#027a48",800:"",900:""},un={25:"",50:"#eff8ff",100:"",200:"#b2ddff",300:"",400:"",500:"#2e90fa",600:"",700:"#175cd3",800:"",900:""},xn={"01":"linear-gradient(45deg, #f32637 0%, #b8075d 100%)","02":"linear-gradient(45deg, #fcfcfd 0%, #667085 100%)"},fn={type:{primary:"Roboto, sans-serif",poppins:"'Poppins', sans-serif",mono:"'Space Mono', monospace"},heading:{xxl:"64px",xl:"48px",lg:"32px",md:"24px",sm:"20px",xs:"16px"},text:{xl:"20px",lg:"18px",md:"16px",sm:"14px",xs:"12px"},weight:{bold:"700",semibold:"600",regular:"400"}},hn={none:"none",sm:"0px 1px 2px 0px rgba(16, 24, 40, 0.15)",md:"0px 4px 6px 0px rgba(16, 24, 40, 0.15)",lg:"0px 8px 24px 0px rgba(16, 24, 40, 0.15)"},bn={mobile:"480px",tablet:"960px",sm:"1024px",md:"1440px",lg:"1920px"},$n={0:"0rem",.125:"0.125rem",.188:"0.188rem",.25:"0.25rem",.5:"0.5rem",.625:"0.625rem",.75:"0.75rem",1:"1rem",1.25:"1.25rem",1.5:"1.5rem",1.75:"1.75rem",2:"2rem",2.25:"2.25rem",2.5:"2.5rem",3:"3rem",3.5:"3.5rem",4:"4rem",4.5:"4.5rem",5:"5rem",6:"6rem"},yn=["lock-keyhole","bars-sort","bolt","books","brain-circuit","briefcase","bug","buildings","bullseye-pointer","calendar-clock","calendar-xmark","chart-network","clipboard-check","comment","envelope","eye","file","flag","globe","hand-holding-dollar","hands-clapping","headset","hexagon-exclamation","light-emergency-on","magnifying-glass","pen-line","plane-departure","screwdriver-wrench","sensor-triangle-exclamation","shield-check","sidebar","skull","sliders","star-christmas","telescope","trash","unlock","user-group","user-hoodie","xmark"],mn=[["fal","arrow-down"],["fal","arrow-left"],["fal","arrow-right"],["fal","arrow-up"],["fal","plus"],["fal","minus"],["fas","check"],["fas","circle-question"]],C={typography:fn,shadows:hn,breakpoints:bn,spacing:$n,palette:{primary:ln,complementary:cn,error:dn,info:un,warning:pn,success:gn,black:"#0c111d",white:"#ffffff",gray:sn,gradients:xn}},wn=({children:e})=>t.jsx(o.ot,{theme:C,children:e}),I=(e,n)=>n===void 0?"":`${e}: ${n};`,le=e=>{const n=e.py??e.pt??0,i=e.px??e.pr??0,a=e.py??e.pb??0,r=e.px??e.pl??0;if(e.padding){const[s,l,c,d]=e.padding;return`padding: ${C.spacing[s]} ${C.spacing[l]} ${C.spacing[c]} ${C.spacing[d]};`}return`padding: ${C.spacing[n]} ${C.spacing[i]} ${C.spacing[a]} ${C.spacing[r]};`},ce=e=>{const n=e.my??e.mt??0,i=e.mx??e.mr??0,a=e.my??e.mb??0,r=e.mx??e.ml??0;if(e.margin){const[s,l,c,d]=e.margin;return`margin: ${C.spacing[s]} ${C.spacing[l]} ${C.spacing[c]} ${C.spacing[d]};`}return`margin: ${C.spacing[n]} ${C.spacing[i]} ${C.spacing[a]} ${C.spacing[r]};`},de=e=>{const n=I("position",e.position),i=I("top",e.top),a=I("right",e.right),r=I("bottom",e.bottom),s=I("left",e.left),l=I("z-index",e.zIndex);return`
|
|
2
2
|
${n}
|
|
3
3
|
${i}
|
|
4
|
-
${
|
|
4
|
+
${a}
|
|
5
5
|
${r}
|
|
6
6
|
${s}
|
|
7
7
|
${l}
|
|
8
|
-
`},pe=e=>{const n=I("border",e.border),i=I("border-top",e.borderTop),
|
|
8
|
+
`},pe=e=>{const n=I("border",e.border),i=I("border-top",e.borderTop),a=I("border-right",e.borderRight),r=I("border-bottom",e.borderBottom),s=I("border-left",e.borderLeft),l=I("border-color",e.borderColor),c=I("border-radius",e.borderRadius);return`
|
|
9
9
|
${n}
|
|
10
10
|
${i}
|
|
11
|
-
${
|
|
11
|
+
${a}
|
|
12
12
|
${r}
|
|
13
13
|
${s}
|
|
14
14
|
${l}
|
|
15
15
|
${c}
|
|
16
|
-
`},
|
|
17
|
-
${wn(e.scroll)}
|
|
16
|
+
`},jn=e=>e.includes("x")?"overflow-x: auto;":"",kn=e=>e.includes("y")?"overflow-y: auto;":"",ge=e=>{const n=e.scroll?`
|
|
18
17
|
${jn(e.scroll)}
|
|
19
|
-
|
|
18
|
+
${kn(e.scroll)}
|
|
19
|
+
`:"",i=I("visibility",e.visibility),a=I("display",e.display),r=I("height",e.height),s=I("width",e.width),l=I("max-height",e.maxHeight),c=I("max-width",e.maxWidth),d=I("min-height",e.minHeight),p=I("min-width",e.minWidth),u=I("box-shadow",e.shadow?C.shadows[e.shadow]:void 0),x=I("gap",e.gap===void 0?void 0:C.spacing[e.gap]),f=I("background-color",e.bgColor),b=I("background",e.bgGradient),$=I("flex-direction",e.flexDirection),m=I("flex-grow",e.flexGrow),y=I("justify-content",e.justify),w=I("justify-self",e.justifySelf),k=I("align-items",e.alignItems),S=I("align-self",e.alignSelf),z=I("flex-wrap",e.wrap);return`
|
|
20
20
|
${n}
|
|
21
21
|
${i}
|
|
22
|
-
${
|
|
22
|
+
${a}
|
|
23
23
|
${r}
|
|
24
24
|
${s}
|
|
25
25
|
${l}
|
|
@@ -27,20 +27,20 @@
|
|
|
27
27
|
${d}
|
|
28
28
|
${p}
|
|
29
29
|
${u}
|
|
30
|
-
${x}
|
|
31
|
-
${h}
|
|
32
30
|
${f}
|
|
31
|
+
${b}
|
|
32
|
+
${x}
|
|
33
33
|
${$}
|
|
34
|
-
${w}
|
|
35
|
-
${y}
|
|
36
34
|
${m}
|
|
35
|
+
${y}
|
|
36
|
+
${w}
|
|
37
37
|
${k}
|
|
38
38
|
${S}
|
|
39
39
|
${z}
|
|
40
|
-
`},ue=e=>{const n=I("color",e.color),i=I("font-family",e.fontFamily),
|
|
40
|
+
`},ue=e=>{const n=I("color",e.color),i=I("font-family",e.fontFamily),a=I("font-size",e.fontSize),r=I("font-weight",e.fontWeight),s=I("line-spacing",e.letterSpacing),l=I("line-height",e.lineSpacing),c=I("text-align",e.textAlign),d=I("text-decoration",e.textDecoration),p=I("text-overflow",e.textOverflow),u=I("white-space",e.whiteSpace),x=I("word-break",e.wordBreak),f=I("word-wrap",e.wordWrap);return`
|
|
41
41
|
${n}
|
|
42
42
|
${i}
|
|
43
|
-
${
|
|
43
|
+
${a}
|
|
44
44
|
${r}
|
|
45
45
|
${s}
|
|
46
46
|
${l}
|
|
@@ -48,18 +48,18 @@
|
|
|
48
48
|
${d}
|
|
49
49
|
${p}
|
|
50
50
|
${u}
|
|
51
|
-
${f}
|
|
52
51
|
${x}
|
|
53
|
-
|
|
52
|
+
${f}
|
|
53
|
+
`},xe=e=>{const n=I("cursor",e.cursor),i=I("border-color",e.borderColorHover),a=I("background-color",e.bgColorHover),r=I("box-shadow",e.shadowHover===void 0?void 0:C.shadows[e.shadowHover]),s=I("transition",e.transition);return`
|
|
54
54
|
${n}
|
|
55
55
|
|
|
56
56
|
&:hover {
|
|
57
57
|
${s||"transition: all 0.2s;"}
|
|
58
58
|
${i}
|
|
59
|
-
${
|
|
59
|
+
${a}
|
|
60
60
|
${r}
|
|
61
61
|
}
|
|
62
|
-
`},fe=()=>({shouldForwardProp:e=>!
|
|
62
|
+
`},fe=()=>({shouldForwardProp:e=>!rt.includes(e)}),ne=o.dt.div.withConfig(fe())`
|
|
63
63
|
${le}
|
|
64
64
|
${ce}
|
|
65
65
|
${de}
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
${ue}
|
|
68
68
|
${pe}
|
|
69
69
|
${xe}
|
|
70
|
-
`,
|
|
70
|
+
`,Oe=o.dt.button.withConfig(fe())`
|
|
71
71
|
${le}
|
|
72
72
|
${ce}
|
|
73
73
|
${de}
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
${ue}
|
|
76
76
|
${pe}
|
|
77
77
|
${xe}
|
|
78
|
-
`,
|
|
78
|
+
`,Ae=o.dt.p.withConfig(fe())`
|
|
79
79
|
${le}
|
|
80
80
|
${ce}
|
|
81
81
|
${de}
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
${ue}
|
|
84
84
|
${pe}
|
|
85
85
|
${xe}
|
|
86
|
-
`,
|
|
86
|
+
`,at=o.dt.span.withConfig(fe())`
|
|
87
87
|
${le}
|
|
88
88
|
${ce}
|
|
89
89
|
${de}
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
${ue}
|
|
92
92
|
${pe}
|
|
93
93
|
${xe}
|
|
94
|
-
`,
|
|
95
|
-
${({theme:e,$center:n=!1,$styleMd:i,$styleSm:
|
|
94
|
+
`,Cn=o.dt(ne)`
|
|
95
|
+
${({theme:e,$center:n=!1,$styleMd:i,$styleSm:a})=>`
|
|
96
96
|
${n?"margin: auto;":""}
|
|
97
97
|
scrollbar-color: ${e.palette.gray[600]} ${e.palette.gray[100]};
|
|
98
98
|
scroll-padding: ${e.spacing[.5]};
|
|
@@ -105,24 +105,24 @@
|
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
108
|
-
${
|
|
108
|
+
${a};
|
|
109
109
|
}
|
|
110
110
|
`}
|
|
111
|
-
`,
|
|
112
|
-
${({theme:e,$bgGradient:n="unset",$color:i=e.palette.gray[800],$display:
|
|
111
|
+
`,h=g.forwardRef(function({as:n="div",center:i,children:a,id:r,onHover:s,onLeave:l,styleMd:c,styleSm:d,...p},u){return t.jsx(Cn,{$center:i,$styleMd:c,$styleSm:d,as:n,id:r,onMouseLeave:l,onMouseOver:s,ref:u,...p,children:a})}),vn=o.dt(Ae)`
|
|
112
|
+
${({theme:e,$bgGradient:n="unset",$color:i=e.palette.gray[800],$display:a="block",$fontFamily:r=e.typography.type.primary,$fontWeight:s="bold",$letterSpacing:l=0,$lineSpacing:c=1.5,$lineSpacingSm:d,$size:p,$sizeMd:u,$sizeSm:x,$textFill:f="unset",$wordBreak:b="normal"})=>`
|
|
113
113
|
background: ${n};
|
|
114
114
|
color: ${i};
|
|
115
|
-
display: ${
|
|
115
|
+
display: ${a};
|
|
116
116
|
font-family: ${r};
|
|
117
117
|
font-size: ${e.typography.heading[p]};
|
|
118
118
|
font-weight: ${e.typography.weight[s]};
|
|
119
119
|
letter-spacing: ${l};
|
|
120
120
|
line-height: ${e.spacing[c]};
|
|
121
|
-
width: ${
|
|
122
|
-
word-break: ${
|
|
121
|
+
width: ${a==="block"?"100%":"auto"};
|
|
122
|
+
word-break: ${b};
|
|
123
123
|
background-clip: text;
|
|
124
124
|
-webkit-background-clip: text;
|
|
125
|
-
-webkit-text-fill-color: ${
|
|
125
|
+
-webkit-text-fill-color: ${f};
|
|
126
126
|
|
|
127
127
|
@media screen
|
|
128
128
|
and (min-width: ${e.breakpoints.mobile})
|
|
@@ -132,25 +132,25 @@
|
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
135
|
-
font-size: ${e.typography.heading[
|
|
135
|
+
font-size: ${e.typography.heading[x??p]};
|
|
136
136
|
line-height: ${e.spacing[d??c]};
|
|
137
137
|
}
|
|
138
138
|
`}
|
|
139
|
-
`,
|
|
140
|
-
${({theme:e,$bgGradient:n="unset",$color:i=e.palette.gray[600],$display:
|
|
139
|
+
`,ot=o.dt(Ae)`
|
|
140
|
+
${({theme:e,$bgGradient:n="unset",$color:i=e.palette.gray[600],$display:a="block",$fontFamily:r=e.typography.type.primary,$fontWeight:s="regular",$letterSpacing:l=0,$lineSpacing:c=1.25,$lineSpacingSm:d,$size:p,$sizeMd:u,$sizeSm:x,$textFill:f="unset",$wordBreak:b="normal"})=>`
|
|
141
141
|
background: ${n};
|
|
142
142
|
color: ${i};
|
|
143
|
-
display: ${
|
|
143
|
+
display: ${a};
|
|
144
144
|
font-family: ${r};
|
|
145
145
|
font-size: ${e.typography.text[p]};
|
|
146
146
|
font-weight: ${e.typography.weight[s]};
|
|
147
147
|
letter-spacing: ${l};
|
|
148
148
|
line-height: ${e.spacing[c]};
|
|
149
|
-
width: ${
|
|
150
|
-
word-break: ${
|
|
149
|
+
width: ${a==="block"?"100%":"auto"};
|
|
150
|
+
word-break: ${b};
|
|
151
151
|
background-clip: text;
|
|
152
152
|
-webkit-background-clip: text;
|
|
153
|
-
-webkit-text-fill-color: ${
|
|
153
|
+
-webkit-text-fill-color: ${f};
|
|
154
154
|
|
|
155
155
|
@media screen
|
|
156
156
|
and (min-width: ${e.breakpoints.mobile})
|
|
@@ -160,27 +160,27 @@
|
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
@media screen and (max-width: ${e.breakpoints.mobile}) {
|
|
163
|
-
font-size: ${e.typography.text[
|
|
163
|
+
font-size: ${e.typography.text[x??p]};
|
|
164
164
|
line-height: ${e.spacing[d??c]};
|
|
165
165
|
}
|
|
166
166
|
`}
|
|
167
|
-
`,
|
|
168
|
-
${({theme:e,$color:n=e.palette.gray[600],$content:i=void 0,$display:
|
|
167
|
+
`,Sn=o.dt.span`
|
|
168
|
+
${({theme:e,$color:n=e.palette.gray[600],$content:i=void 0,$display:a="inline",$fontWeight:r="regular",$size:s,$lineSpacing:l=1.25})=>`
|
|
169
169
|
color: ${n};
|
|
170
|
-
display: ${
|
|
170
|
+
display: ${a};
|
|
171
171
|
font-family: ${e.typography.type.primary};
|
|
172
172
|
font-size: ${e.typography.text[s]};
|
|
173
173
|
font-weight: ${e.typography.weight[r]};
|
|
174
174
|
line-height: ${e.spacing[l]};
|
|
175
|
-
width: ${
|
|
175
|
+
width: ${a==="block"?"100%":"auto"};
|
|
176
176
|
|
|
177
177
|
${i===void 0?"":`&::after { content: "${i}"; }`}
|
|
178
178
|
`}
|
|
179
|
-
`,W=g.forwardRef(function({bgGradient:n,children:i,className:
|
|
180
|
-
${({$clickable:e,$color:n="inherit",$disabled:i=!1,$hoverColor:
|
|
179
|
+
`,W=g.forwardRef(function({bgGradient:n,children:i,className:a,color:r,display:s,fontFamily:l,fontWeight:c,letterSpacing:d,lineSpacing:p,lineSpacingSm:u,size:x,sizeMd:f,sizeSm:b,textFill:$,wordBreak:m,...y},w){return t.jsx(vn,{$bgGradient:n,$color:r,$display:s,$fontFamily:l,$fontWeight:c,$letterSpacing:d,$lineSpacing:p,$lineSpacingSm:u,$size:x,$sizeMd:f,$sizeSm:b,$textFill:$,$wordBreak:m,className:a,ref:w,...y,children:i})}),je=g.forwardRef(function({children:n,color:i,content:a,display:r,fontFamily:s,fontWeight:l,letterSpacing:c,lineSpacing:d,lineSpacingSm:p,size:u,sizeMd:x,sizeSm:f,...b},$){return t.jsx(Sn,{$color:i,$content:a,$display:r,$fontFamily:s,$fontWeight:l,$letterSpacing:c,$lineSpacing:d,$lineSpacingSm:p,$size:u,$sizeMd:x,$sizeSm:f,ref:$,...b,children:n})}),j=g.forwardRef(function({bgGradient:n,children:i,className:a,color:r,display:s,fontFamily:l,fontWeight:c,letterSpacing:d,lineSpacing:p,lineSpacingSm:u,size:x,sizeMd:f,sizeSm:b,textFill:$,wordBreak:m,...y},w){return t.jsx(ot,{$bgGradient:n,$color:r,$display:s,$fontFamily:l,$fontWeight:c,$letterSpacing:d,$lineSpacing:p,$lineSpacingSm:u,$size:x,$sizeMd:f,$sizeSm:b,$textFill:$,$wordBreak:m,className:a,ref:w,...y,children:i})}),st=({item:e})=>t.jsxs(h,{display:"block",id:`panel-${e.title}`,padding:[.75,.75,.75,.75],children:[e.description?t.jsx(j,{mb:e.extraElement?.5:void 0,size:"sm",children:e.description}):void 0,e.extraElement?t.jsx(h,{children:e.extraElement}):void 0]}),zn={xl:"96px",lg:"64px",md:"32px",sm:"24px",xs:"16px",xxs:"12px",xxss:"10px"},In=o.dt(at)`
|
|
180
|
+
${({$clickable:e,$color:n="inherit",$disabled:i=!1,$hoverColor:a,$rotation:r,$size:s,$secondaryColor:l})=>{const c=a?"":"brightness(50%)",d=a??"";return`
|
|
181
181
|
color: ${n};
|
|
182
182
|
cursor: ${e?"pointer":"inherit"};
|
|
183
|
-
font-size: ${
|
|
183
|
+
font-size: ${zn[s]};
|
|
184
184
|
line-height: 0;
|
|
185
185
|
vertical-align: middle;
|
|
186
186
|
pointer-events: inherit;
|
|
@@ -205,14 +205,14 @@
|
|
|
205
205
|
color: ${d};
|
|
206
206
|
}`:""}
|
|
207
207
|
`}}
|
|
208
|
-
`;
|
|
208
|
+
`;o.dt.div`
|
|
209
209
|
cursor: pointer;
|
|
210
210
|
transition: all 0.2s ease-in-out;
|
|
211
211
|
|
|
212
212
|
&:hover:not([disabled]) {
|
|
213
213
|
transform: scale(1.2);
|
|
214
214
|
}
|
|
215
|
-
`;const v=g.forwardRef(function({clickable:n,disabled:i,hoverColor:
|
|
215
|
+
`;const v=g.forwardRef(function({clickable:n,disabled:i,hoverColor:a,icon:r,iconClass:s="",iconColor:l,iconMask:c,iconSize:d,iconTransform:p,iconType:u="fa-solid",onClick:x,rotation:f,spanClass:b,secondaryColor:$,...m},y){return t.jsx(In,{$clickable:n,$color:l,$disabled:i,$hoverColor:a,$rotation:f,$secondaryColor:$,$size:d,className:b,"data-testid":`${r}-icon`,onClick:x,ref:y,...m,children:t.jsx("i",{className:`${u} fa-${r} ${s}`,...c!==void 0?{"data-fa-mask":c}:{},...p!==void 0?{"data-fa-transform":p}:{}})},`${u}-${r}`)}),Tn=g.forwardRef(function({aligned:n="end",items:i,bgColor:a},r){const s=o.nt(),[l,c]=g.useState(!1),[d,p]=g.useState(-1),u=g.useCallback(x=>()=>{p(x),c(x===d?f=>!f:!0)},[d]);return t.jsx(h,{ref:r,children:i.map((x,f)=>{const b=f===d&&l;return t.jsxs(h,{bgColor:a??s.palette.white,children:[t.jsx(h,{"aria-controls":`panel-${x.title}`,"aria-expanded":l,"aria-label":x.title,as:"button",bgColor:a??s.palette.white,bgColorHover:s.palette.gray[100],borderBottom:b||f===i.length-1?"1px solid":void 0,borderColor:s.palette.gray[200],borderTop:"1px solid",cursor:"pointer",display:"flex",onClick:u(f),padding:[.75,.75,.75,.75],width:"100%",children:t.jsxs(h,{as:"summary",display:"flex",flexDirection:n==="end"?"row":"row-reverse",gap:.75,justify:"space-between",width:"100%",children:[t.jsx(j,{color:s.palette.gray[800],fontWeight:"bold",size:"sm",sizeSm:"sm",textAlign:"start",children:x.title}),t.jsx(v,{icon:b?"chevron-up":"chevron-down",iconColor:s.palette.gray[400],iconSize:"xs",iconType:"fa-light"})]})}),b&&t.jsx(st,{item:x})]},x.title)})})}),Nn=e=>{switch(e){case"warning":return"triangle-exclamation";case"info":return"circle-info";case"success":return"circle-check";case"error":default:return"circle-exclamation"}},{getVariant:Rn}=U(e=>({error:`
|
|
216
216
|
background: ${e.palette.error[50]};
|
|
217
217
|
border: 1px solid ${e.palette.error[500]};
|
|
218
218
|
color: ${e.palette.error[700]};
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
color: ${e.palette.warning[700]};
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
-
`})),
|
|
267
|
+
`})),En=o.dt.div`
|
|
268
268
|
${({theme:e,$variant:n})=>`
|
|
269
269
|
background: transparent;
|
|
270
270
|
align-items: center;
|
|
@@ -284,12 +284,12 @@
|
|
|
284
284
|
background-color: transparent;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
${
|
|
287
|
+
${Rn(e,n??"error")}
|
|
288
288
|
`}
|
|
289
|
-
`,
|
|
289
|
+
`,Dn=o.dt.div`
|
|
290
290
|
padding-right: 4px;
|
|
291
291
|
width: 100%;
|
|
292
|
-
`,{getVariant:
|
|
292
|
+
`,{getVariant:Fn}=U(e=>({ghost:`
|
|
293
293
|
background: transparent;
|
|
294
294
|
border: none;
|
|
295
295
|
color: ${e.palette.gray[800]};
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
background-color: ${e.palette.primary[500]};
|
|
364
364
|
color: ${e.palette.white};
|
|
365
365
|
}
|
|
366
|
-
`})),
|
|
366
|
+
`})),lt=o.dt(Oe)`
|
|
367
367
|
${({theme:e,$variant:n})=>`
|
|
368
368
|
align-items: center;
|
|
369
369
|
border-radius: var(--btn-spacing);
|
|
@@ -385,13 +385,13 @@
|
|
|
385
385
|
${n!=="link"?`--btn-padding-y: ${e.spacing[1]}`:""};
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
-
${
|
|
388
|
+
${Fn(e,n??"primary")}
|
|
389
389
|
`}
|
|
390
|
-
`,
|
|
391
|
-
${({theme:e,$borderRadius:n="4px",$px:i=.5,$py:
|
|
390
|
+
`,Pn=o.dt(lt)`
|
|
391
|
+
${({theme:e,$borderRadius:n="4px",$px:i=.5,$py:a=.5})=>`
|
|
392
392
|
--btn-spacing: ${n};
|
|
393
393
|
--btn-padding-x: ${e.spacing[i]};
|
|
394
|
-
--btn-padding-y: ${e.spacing[
|
|
394
|
+
--btn-padding-y: ${e.spacing[a]};
|
|
395
395
|
|
|
396
396
|
align-items: center;
|
|
397
397
|
line-height: 0;
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
margin: 0 !important;
|
|
402
402
|
}
|
|
403
403
|
`}
|
|
404
|
-
`,
|
|
404
|
+
`,Ln=o.dt(ne)``,Wn=o.dt.div`
|
|
405
405
|
${({theme:e,$maxWidth:n="320px"})=>`
|
|
406
406
|
> :is(.react-tooltip, .react-tooltip__show, .react-tooltip__closing) {
|
|
407
407
|
background-color: ${e.palette.gray[700]};
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
--rt-opacity: 1;
|
|
415
415
|
}
|
|
416
416
|
`}
|
|
417
|
-
`,Y=g.forwardRef(function({children:n,disabled:i=!1,display:
|
|
417
|
+
`,Y=g.forwardRef(function({children:n,disabled:i=!1,display:a="inline-block",effect:r="solid",icon:s,iconColor:l,iconSize:c,id:d,maxWidth:p,nodeTip:u,place:x="bottom",tip:f="",title:b="",hide:$=f===""&&b===""&&u===void 0,...m},y){const w=o.nt(),[k,S]=g.useState(!1),z=g.useRef(null),N=g.useCallback(()=>{z.current!==null&&clearTimeout(z.current),z.current=setTimeout(()=>{S(!0)},100)},[]),T=g.useCallback(()=>{z.current!==null&&clearTimeout(z.current),z.current=setTimeout(()=>{S(!1)},100)},[]);return i?t.jsx(g.StrictMode,{children:n}):t.jsxs(Ln,{"data-tooltip-id":d,display:a,onMouseLeave:T,onMouseMove:N,ref:y,role:"tooltip",...m,children:[s?t.jsx(v,{clickable:!0,disabled:i,icon:s,iconColor:l,iconSize:c??"xxs",iconType:k?"fa-solid":"fa-light"}):n,te.createPortal(t.jsx(Wn,{$maxWidth:p,children:t.jsxs(o.M,{delayShow:500,float:r==="float"?!0:void 0,globalCloseEvents:{resize:!0},hidden:$||!k,id:d,middlewares:[o.flip({fallbackAxisSideDirection:"start"}),o.offset({mainAxis:10})],noArrow:r==="float",place:x,children:[o.lodashExports.isEmpty(b)?void 0:t.jsx(j,{color:w.palette.white,fontWeight:"bold",lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:b}),o.lodashExports.isEmpty(f)?void 0:t.jsx(j,{color:w.palette.gray[100],lineSpacing:1.5,size:"xs",textAlign:"start",wordWrap:"break-word",children:f}),o.lodashExports.isEmpty(u)?void 0:u]})}),document.getElementById("root")??document.body)]})}),O=g.forwardRef(function({borderRadius:n,disabled:i,icon:a,iconColor:r,iconSize:s="xxs",iconTransform:l,iconType:c,id:d,justify:p="center",onClick:u,px:x,py:f,type:b="button",tooltip:$,tooltipPlace:m,value:y,variant:w="primary",...k},S){const z=t.jsx(Pn,{$borderRadius:n,$px:x,$py:f,$variant:w,"aria-disabled":i,"aria-label":d,borderRadius:n,disabled:i,id:d,justify:p,onClick:u,ref:S,type:b,value:y,...k,children:t.jsx(v,{clickable:!1,icon:a,iconColor:r,iconSize:s,iconTransform:l,iconType:c})}),T=(b+(w??"")+(d??a)).replace(/ /u,"_");return $===void 0?z:t.jsx(Y,{id:`${T}-tooltip`,place:m,tip:$,children:z})}),Bn=g.forwardRef(function({autoHide:n=!1,children:i,closable:a=!1,onTimeOut:r,show:s=!0,time:l=8,variant:c="error",id:d,...p},u){const[x,f]=g.useState(s),b=g.useCallback(()=>{f(!1)},[]);return g.useEffect(()=>{const $=setTimeout(()=>{r==null||r(!0),n&&b()},l*1e3);return()=>{clearTimeout($)}},[n,b,l,r]),g.useEffect(()=>{f(s)},[s,f]),t.jsx(h,{display:x?"block":"none",ref:u,role:"alert",...p,children:t.jsxs(En,{$variant:c,id:d,children:[t.jsx(v,{clickable:!1,icon:Nn(c),iconSize:"xs",iconType:"fa-light"}),t.jsx(Dn,{children:i}),a?t.jsx(O,{height:"fit-content",icon:"close",iconSize:"xs",iconType:"fa-light",onClick:b,px:.125,py:.125,variant:"ghost"}):void 0]})})}),{getVariant:Mn}=U(e=>({default:`
|
|
418
418
|
background-color: ${e.palette.gray[200]};
|
|
419
419
|
color: ${e.palette.gray[800]};
|
|
420
420
|
`,error:`
|
|
@@ -489,7 +489,7 @@
|
|
|
489
489
|
background-color: ${e.palette.warning[400]};
|
|
490
490
|
color: ${e.palette.warning[700]};
|
|
491
491
|
}
|
|
492
|
-
`})),
|
|
492
|
+
`})),On=o.dt.span`
|
|
493
493
|
${({theme:e,$fontSize:n=e.typography.text.xs,$variant:i})=>`
|
|
494
494
|
align-items: center;
|
|
495
495
|
border-radius: ${e.spacing[i==="technique"?1:.25]};
|
|
@@ -510,9 +510,9 @@
|
|
|
510
510
|
display: flex;
|
|
511
511
|
}
|
|
512
512
|
|
|
513
|
-
${
|
|
513
|
+
${Mn(e,i)}
|
|
514
514
|
`}
|
|
515
|
-
`,{getVariant:
|
|
515
|
+
`,{getVariant:An}=U(e=>({highRelevance:`
|
|
516
516
|
color: ${e.palette.primary[500]};
|
|
517
517
|
|
|
518
518
|
&:hover:not([disabled]) {
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
&:hover:not([disabled]) {
|
|
525
525
|
color: ${e.palette.gray[500]};
|
|
526
526
|
}
|
|
527
|
-
`})),
|
|
527
|
+
`})),ct=o.lt`
|
|
528
528
|
${({theme:e,$color:n,$variant:i})=>`
|
|
529
529
|
align-items: center;
|
|
530
530
|
cursor: pointer;
|
|
@@ -546,13 +546,13 @@
|
|
|
546
546
|
text-decoration: none;
|
|
547
547
|
}
|
|
548
548
|
|
|
549
|
-
${n??
|
|
549
|
+
${n??An(e,i)}
|
|
550
550
|
`}
|
|
551
|
-
`,
|
|
552
|
-
${
|
|
553
|
-
`,_n=
|
|
554
|
-
${
|
|
555
|
-
`,Z=({children:e,color:n,download:i,href:
|
|
551
|
+
`,Hn=o.dt.a`
|
|
552
|
+
${ct}
|
|
553
|
+
`,_n=o.dt(De.Link)`
|
|
554
|
+
${ct}
|
|
555
|
+
`,Z=({children:e,color:n,download:i,href:a,iconPosition:r="right",onClick:s,target:l,variant:c="lowRelevance"})=>{const d=a.startsWith("https://"),p=t.jsx(v,{icon:i===void 0?"arrow-up-right-from-square":"arrow-down-to-bracket",iconSize:"xxs",iconType:"fa-regular",ml:.25,mr:.25});return d?t.jsxs(Hn,{$color:n,$variant:c,download:i,href:a,onClick:s,rel:"nofollow noopener noreferrer",target:l??"_blank",children:[r==="left"?p:void 0,e,r==="right"?p:void 0]}):t.jsxs(_n,{$variant:c,download:i,onClick:s,rel:"nofollow noopener noreferrer",target:l,to:a,children:[l!==void 0&&r==="left"?p:void 0,e,l!==void 0&&r==="right"?p:void 0]})},J=({disabled:e,icon:n,iconColor:i="inherit",iconType:a="fa-light",id:r="close-tag",filterValues:s="",fontSize:l,href:c,linkLabel:d,onClose:p,priority:u="default",tagTitle:x="",tagLabel:f,variant:b="default"})=>{const $=f.length>25&&o.lodashExports.isEmpty(x+s),m=`${f.slice(0,25)}...`;return t.jsxs(je,{className:"gap-0.5",display:c===void 0?"initial":"flex",size:"sm",children:[t.jsxs(On,{$fontSize:l,$variant:b,className:u,children:[n&&t.jsx(v,{icon:n,iconColor:i,iconSize:"xxs",iconType:a}),t.jsxs("span",{children:[t.jsx("strong",{children:x}),t.jsx("span",{children:$?m:f}),t.jsx("strong",{children:s})]}),p?t.jsx(O,{disabled:e,icon:"xmark",iconSize:"xxs",iconType:"fa-light",id:r,onClick:p,px:.125,py:.125,variant:"ghost"}):void 0]}),c===void 0?void 0:t.jsx(Z,{href:c,children:d})]})},Vn=(e,n=!0)=>{const i=window.open(e,n?void 0:"_self","noopener,noreferrer,");o.lodashExports.isObject(i)&&(i.opener=null)},E=g.forwardRef(function({children:n,disabled:i=!1,external:a=!1,href:r,id:s,icon:l,name:c,onClick:d,showArrow:p=!1,tag:u,type:x="button",tooltip:f,tooltipPlace:b="bottom",underline:$=!1,value:m,variant:y="primary",...w},k){const S=f!==void 0,z=`${s}-tooltip`,N=g.useCallback(()=>{r&&Vn(r,a)},[a,r]);return t.jsx(Y,{disabled:!S,id:z,place:b,tip:f,children:t.jsxs(lt,{$variant:y,"aria-disabled":i,className:$?"underline":void 0,disabled:i,id:s,name:c,onClick:y==="link"?N:d,ref:k,type:x,value:m,...S?{"data-tooltip-id":z}:{},...w,children:[l!==void 0&&t.jsx(v,{icon:l,iconSize:"xs",iconType:"fa-light"}),n,(p||y==="link")&&t.jsx(v,{icon:"arrow-right",iconSize:"xs",iconType:"fa-light"}),u===void 0?null:t.jsx(J,{tagLabel:u,variant:"inactive"})]})})}),ze=({authorEmail:e,date:n,description:i,descriptionColor:a,id:r,title:s,titleColor:l,textAlign:c,textSpacing:d=0,tooltip:p})=>{const u=o.nt();return t.jsxs(h,{width:"100%",children:[typeof s=="string"?t.jsx(j,{color:l??u.palette.gray[800],fontWeight:"bold",mb:d,size:"sm",textAlign:c,wordBreak:"break-word",children:s}):s,t.jsxs(h,{alignItems:"start",display:"flex",flexDirection:"column",gap:.25,children:[i&&t.jsx(j,{color:a??u.palette.gray[800],fontWeight:i===void 0?"bold":"regular",size:"sm",textAlign:c,wordBreak:"break-word",children:i}),n&&t.jsx(j,{color:u.palette.gray[800],fontWeight:"bold",size:"sm",textAlign:c,wordBreak:"break-word",children:`Date: ${n.split(" ")[0]}`}),e&&t.jsx(j,{color:u.palette.gray[800],fontWeight:"bold",size:"sm",textAlign:c,wordBreak:"break-word",children:`$Author: ${e}`}),p&&t.jsx(Y,{icon:"circle-info",id:r,tip:p})]})]})},Xe=o.dt(h).attrs(({...e})=>({display:"inline-block",position:"relative",...e}))`
|
|
556
556
|
& img {
|
|
557
557
|
display: block;
|
|
558
558
|
}
|
|
@@ -567,8 +567,8 @@
|
|
|
567
567
|
pointer-events: none;
|
|
568
568
|
${({$opacity:e=0})=>`background-color: rgba(0, 0, 0, ${e});`}
|
|
569
569
|
}
|
|
570
|
-
`,
|
|
571
|
-
${({theme:e,$align:n="center",$minWidth:i="auto",$minHeight:
|
|
570
|
+
`,Gn=e=>{if(o._.isNil(e))return"";const n=e.split(".");return(n.length>1?o._.last(n):"").toLowerCase()},Un=(e,n)=>o._.isUndefined(n)?!1:o._.includes(e,Gn(n)),dt=({alt:e,fileType:n,width:i="100%",opacity:a=0,src:r,height:s="auto"})=>n==="video"||Un(["webm"],r)?t.jsx(Xe,{$opacity:a,children:t.jsxs("video",{controls:!0,height:s,muted:!0,width:i,children:[t.jsx("source",{src:r,type:"video/webm"}),t.jsx(Z,{href:r,iconPosition:"hidden",children:r})]})}):t.jsx(Xe,{$opacity:a,children:t.jsx("img",{alt:e,height:s,src:r,width:i})}),Yn=({alt:e,authorEmail:n,date:i,description:a,src:r,children:s,isEditing:l,onClick:c,title:d,hideDescription:p=!1,headerType:u="image",showMaximize:x=!0})=>{const f=o.nt(),[b,$]=g.useState(!1),m=g.useCallback(()=>{$(!0)},[]),y=g.useCallback(()=>{$(!1)},[]);return t.jsxs(h,{bgColor:"transparent",border:"1px solid transparent",borderColorHover:"black",borderRadius:f.spacing[.25],display:"flex",flexDirection:"column",gap:1,onHover:m,onLeave:y,padding:[.5,.5,.5,.5],width:"100%",children:[t.jsx(h,{cursor:l?"unset":"pointer",display:"inline-flex",justify:"center",onClick:c,position:"relative",width:"100%",children:s===void 0?t.jsxs(g.Fragment,{children:[t.jsx(dt,{alt:e,fileType:u,height:"147px",opacity:b?.3:0,src:r,width:"100%"}),x?t.jsx(h,{bottom:"10px",position:"absolute",right:"10px",children:t.jsx(O,{color:"white",icon:"arrows-maximize",iconSize:"xxs",iconType:"fa-light",variant:"secondary"})}):void 0]}):s}),p?null:t.jsx(ze,{authorEmail:n,date:i,description:a,descriptionColor:f.palette.gray[600],id:`${e}-card-header`,title:d})]})},Kn=o.dt.div`
|
|
571
|
+
${({theme:e,$align:n="center",$minWidth:i="auto",$minHeight:a="auto"})=>`
|
|
572
572
|
display: flex;
|
|
573
573
|
background-color: ${e.palette.white};
|
|
574
574
|
border-radius: ${e.spacing[.25]};
|
|
@@ -577,7 +577,7 @@
|
|
|
577
577
|
justify-content: center;
|
|
578
578
|
gap: ${e.spacing[.5]};
|
|
579
579
|
min-width: ${i};
|
|
580
|
-
min-height: ${
|
|
580
|
+
min-height: ${a};
|
|
581
581
|
padding: ${e.spacing[1]};
|
|
582
582
|
|
|
583
583
|
input {
|
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
text-align: ${n};
|
|
587
587
|
}
|
|
588
588
|
`}
|
|
589
|
-
`,
|
|
589
|
+
`,qn=o.dt.ul`
|
|
590
590
|
${({theme:e})=>`
|
|
591
591
|
align-self: center;
|
|
592
592
|
background: ${e.palette.white};
|
|
@@ -601,7 +601,7 @@
|
|
|
601
601
|
scroll-padding: ${e.spacing[.5]};
|
|
602
602
|
width: 95%;
|
|
603
603
|
`}
|
|
604
|
-
`,
|
|
604
|
+
`,Xn=o.dt.li`
|
|
605
605
|
${({theme:e})=>`
|
|
606
606
|
align-items: center;
|
|
607
607
|
color: ${e.palette.gray[800]};
|
|
@@ -634,7 +634,7 @@
|
|
|
634
634
|
cursor: not-allowed;
|
|
635
635
|
}
|
|
636
636
|
`}
|
|
637
|
-
`,
|
|
637
|
+
`,pt=({item:e,state:n})=>{const i=g.useRef(null),{optionProps:a,isSelected:r,isFocused:s,isDisabled:l}=o.$293f70390ea03370$export$497855f14858aa34({key:e.key},n,i),c=[r?"selected":"",s?"focused":"",l?"disabled":""].join(" ");return t.jsxs(Xn,{...a,className:c,ref:i,children:[e.rendered,r?t.jsx(v,{icon:"check",iconSize:"xxs",iconType:"fa-light"}):void 0]})},He=({htmlFor:e,label:n,required:i,tooltip:a,weight:r="normal"})=>{const s=o.nt(),l=`${e}-tooltip`,c=a!==void 0&&!o.lodashExports.isEmpty(a);return t.jsxs("label",{className:`flex font-${r} gap-1 w-full`,htmlFor:e,children:[n,i&&t.jsx(v,{icon:"asterisk",iconColor:s.palette.error[500],iconSize:"xxss"}),c?t.jsx(Y,{display:"inline-flex",icon:"circle-info",id:l,place:"top",tip:a}):null]})},Zn=o.dt.div`
|
|
638
638
|
${({theme:e})=>`
|
|
639
639
|
align-items: flex-start;
|
|
640
640
|
display: inline-flex;
|
|
@@ -672,7 +672,7 @@
|
|
|
672
672
|
line-height: ${e.spacing[1.25]};
|
|
673
673
|
}
|
|
674
674
|
`}
|
|
675
|
-
`,X=
|
|
675
|
+
`,X=o.dt.div`
|
|
676
676
|
${({theme:e,$overflowX:n})=>`
|
|
677
677
|
align-items: center;
|
|
678
678
|
display: flex;
|
|
@@ -773,7 +773,7 @@
|
|
|
773
773
|
border: 1px solid ${e.palette.gray[600]};
|
|
774
774
|
}
|
|
775
775
|
`}
|
|
776
|
-
`,
|
|
776
|
+
`,H=({children:e,error:n,helpLink:i,helpLinkText:a="Link here",helpText:r,htmlFor:s,label:l,maxLength:c,required:d,tooltip:p,value:u,weight:x})=>{const f=o.nt(),b=u?u.length:0;return t.jsxs(Zn,{children:[l===void 0?void 0:t.jsx(He,{htmlFor:s,label:l,required:d,tooltip:p,weight:x}),e,n||c?t.jsxs(h,{display:"flex",justify:n===void 0?"end":"space-between",width:"100%",children:[n&&t.jsx(j,{className:"error-msg",color:f.palette.error[500],display:"block",lineSpacing:1,size:"sm",children:n}),c&&t.jsx(J,{priority:"low",tagLabel:`${b}/${c}`,variant:"error"})]}):void 0,r||i?t.jsxs(h,{alignItems:"center",display:"flex",gap:.25,width:"100%",children:[r&&t.jsxs(t.Fragment,{children:[t.jsx(v,{icon:"circle-info",iconColor:f.palette.gray[400],iconSize:"xxs",iconType:"fa-light"}),t.jsx(j,{color:f.palette.gray[400],display:"inline-block",size:"sm",children:r})]}),i&&t.jsx(Z,{href:i,children:a})]}):void 0]})},he=({className:e,children:n,isFilter:i=!1,popoverRef:a,state:r,triggerRef:s,...l})=>{var x;const c=g.useRef(null),d=(x=s==null?void 0:s.current)==null?void 0:x.getBoundingClientRect(),{popoverProps:p}=o.$f2f8a6077418541e$export$542a6fd13ac93354({...l,popoverRef:a??c,triggerRef:s,isNonModal:a?!0:void 0},r),u=g.useCallback(f=>{f.preventDefault()},[]);return t.jsx(o.$337b884510726a0d$export$c6fdb837b070b4ff,{children:t.jsx("div",{...p,className:e,onPointerDown:i?u:void 0,ref:a??c,style:{...p.style,...e==="dropdown"?{display:"flex",justifyContent:"center",width:d==null?void 0:d.width}:{}},children:n})})},Jn=({disabled:e=!1,helpLink:n,helpLinkText:i,helpText:a,label:r,loadingItems:s,name:l,items:c,onBlur:d,onChange:p,placeholder:u,required:x,tooltip:f,weight:b})=>{var qe;const $=o.nt(),{control:m}=o.useFormContext(),{field:{value:y,onBlur:w,onChange:k,...S},fieldState:{error:z}}=o.useController({name:l,control:m,disabled:e,rules:{required:x}}),[N,T]=g.useState(((qe=c.find(F=>F.value===y))==null?void 0:qe.name)??""),[R,P]=g.useState(y),[A,D]=g.useState(c),[L,M]=g.useState(!1),{contains:B}=o.$bb77f239b46e8c72$export$3274cf84b703fff({sensitivity:"base"}),V=g.useRef(null),K=g.useRef(null),ie=g.useRef(null),Ue=g.useRef(null),Ye=g.useRef(null),Zt=g.useMemo(()=>c.map(F=>B(F.name,N)||L?t.jsx(o.$c1d7fb2ec91bae71$export$6d08773d2e66f8f2,{children:F.name},F.value):null),[B,N,c,L]),Jt=g.useCallback(F=>{T(F),F===""?M(!0):(P(_=>{const ye=F===""?"":_;return k(ye),p&&p(F),ye}),D(c.filter(_=>B(_.name,F))))},[B,c,k,p]),Qt=g.useCallback(F=>{var _;T(((_=c.find(ye=>ye.value===F))==null?void 0:_.name)??""),P(F?String(F):""),k(F),p&&p(F?String(F):""),D(c)},[c,k,p]),Ke=g.useCallback(F=>{F.key==="Enter"&&F.preventDefault(),M(!1)},[]),en=g.useCallback(()=>{d&&d(),w()},[w,d]),q=o.$a9e7382a7d111cb5$export$b453a3bfd4a5fa9e({allowsEmptyCollection:!0,autoFocus:!1,inputValue:N,items:A,menuTrigger:"focus",shouldCloseOnBlur:!0,selectedKey:R,onBlur:en,onInputChange:Jt,onKeyDown:Ke,onKeyUp:()=>{M(!0)},onOpenChange(F,_){M(F&&(_==="manual"||_==="focus"))},onSelectionChange:Qt,children:Zt}),{buttonProps:tn,inputProps:nn,listBoxProps:rn}=o.$c350ade66beef0af$export$8c18d1b4f7232bbf({inputValue:N,buttonRef:K,id:l,inputRef:V,label:r,listBoxRef:ie,name:l,placeholder:u,popoverRef:Ye},q),{listBoxProps:an}=o.$c132121280ec012d$export$50eacbbf140a3141(rn,q,ie),{buttonProps:on}=o.$701a24aa0da5b062$export$ea18c227d4417cc3(tn,K);return g.useEffect(()=>{var F;s===!1&&T(((F=c.find(_=>_.value===y))==null?void 0:F.name)??"")},[y,c,s]),t.jsxs(H,{error:z?z.message:void 0,helpLink:n,helpLinkText:i,helpText:a,htmlFor:l,label:r,required:x,tooltip:f,weight:b,children:[t.jsxs(X,{className:`${e?"disabled":""} ${z?"error":""}`,ref:Ue,children:[t.jsx("input",{...nn,...S,"aria-invalid":z?"true":"false","aria-label":l,onKeyDown:Ke,ref:V}),z?t.jsx(v,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:$.palette.error[500],iconSize:"xs"}):void 0,t.jsx(O,{...on,className:"action",icon:q.isOpen?"chevron-up":"chevron-down",iconColor:$.palette.gray[400],iconSize:"xxs",iconType:"fa-light",px:.125,py:.125,ref:K,type:"button",variant:"ghost"})]}),q.isOpen&&q.collection.size>0&&!e?t.jsx(he,{className:"dropdown",offset:4,placement:"bottom start",popoverRef:Ye,state:q,triggerRef:Ue,children:t.jsx(qn,{...an,ref:ie,children:[...q.collection].map(F=>t.jsx(pt,{item:F,state:q},F.key))})}):null]})},Qn=o.dt.div`
|
|
777
777
|
${({theme:e})=>`
|
|
778
778
|
align-items: center;
|
|
779
779
|
color: ${e.palette.gray[800]};
|
|
@@ -794,7 +794,7 @@
|
|
|
794
794
|
display: none;
|
|
795
795
|
}
|
|
796
796
|
`}
|
|
797
|
-
`,
|
|
797
|
+
`,ei=o.dt.div.attrs({className:"year-selection"})`
|
|
798
798
|
align-items: flex-start;
|
|
799
799
|
display: flex;
|
|
800
800
|
flex-direction: column;
|
|
@@ -805,12 +805,12 @@
|
|
|
805
805
|
padding: 0 0.5px;
|
|
806
806
|
position: relative;
|
|
807
807
|
width: 8px;
|
|
808
|
-
`,
|
|
808
|
+
`,Ze=o.dt.tr`
|
|
809
809
|
align-items: flex-start;
|
|
810
810
|
display: flex;
|
|
811
811
|
padding: ${({theme:e})=>e.spacing[.25]} 0;
|
|
812
812
|
width: 100%;
|
|
813
|
-
`,
|
|
813
|
+
`,gt=o.lt`
|
|
814
814
|
${({theme:e})=>`
|
|
815
815
|
align-items: center;
|
|
816
816
|
color: ${e.palette.gray[800]};
|
|
@@ -826,11 +826,11 @@
|
|
|
826
826
|
text-align: center;
|
|
827
827
|
width: ${e.spacing[2.5]};
|
|
828
828
|
`}
|
|
829
|
-
`,
|
|
830
|
-
${
|
|
831
|
-
`,
|
|
829
|
+
`,ti=o.dt.th`
|
|
830
|
+
${gt}
|
|
831
|
+
`,ni=o.dt.td`
|
|
832
832
|
${({theme:e})=>`
|
|
833
|
-
${
|
|
833
|
+
${gt}
|
|
834
834
|
height: ${e.spacing[2.5]};
|
|
835
835
|
width: ${e.spacing[2.5]};
|
|
836
836
|
|
|
@@ -878,14 +878,14 @@
|
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
880
|
`}
|
|
881
|
-
`,
|
|
881
|
+
`,ii=o.dt.div.attrs({className:"dot"})`
|
|
882
882
|
position: absolute;
|
|
883
883
|
top: 48%;
|
|
884
884
|
|
|
885
885
|
> span {
|
|
886
886
|
font-size: 4px;
|
|
887
887
|
}
|
|
888
|
-
`,
|
|
888
|
+
`,Je=o.dt.button`
|
|
889
889
|
cursor: pointer;
|
|
890
890
|
display: flex;
|
|
891
891
|
|
|
@@ -893,7 +893,7 @@
|
|
|
893
893
|
height: 3.5px;
|
|
894
894
|
width: 7px;
|
|
895
895
|
}
|
|
896
|
-
`,
|
|
896
|
+
`,_e=o.dt.div`
|
|
897
897
|
${({theme:e})=>`
|
|
898
898
|
align-items: end;
|
|
899
899
|
border-top: 1px solid ${e.palette.gray[200]};
|
|
@@ -905,9 +905,9 @@
|
|
|
905
905
|
padding: 0 ${e.spacing[.25]};
|
|
906
906
|
width: 100%;
|
|
907
907
|
`}
|
|
908
|
-
`,
|
|
909
|
-
${c?"disabled":""} ${
|
|
910
|
-
${!e.isFocused&&!
|
|
908
|
+
`,ut=({state:e,date:n})=>{const i=g.useRef(null),a=o.$14e0f24ef4ac5c92$export$629b0a497aa65267(n,o.$14e0f24ef4ac5c92$export$aa8b41735afcabd2()),{cellProps:r,buttonProps:s,isSelected:l,isDisabled:c,formattedDate:d}=o.$36a0ac60f04457c5$export$136073280381448e({date:n},e,i),p="highlightedRange"in e&&!o.lodashExports.isNull(e.highlightedRange)?o.$14e0f24ef4ac5c92$export$ea39ec197993aef0(n,e.highlightedRange.start):l,u="highlightedRange"in e&&!o.lodashExports.isNull(e.highlightedRange)?o.$14e0f24ef4ac5c92$export$ea39ec197993aef0(n,e.highlightedRange.end):l,x=l&&!c&&!(p||u)?"range":"";return t.jsx(ni,{id:x,...r,children:t.jsxs("div",{...s,className:`cell ${p||u?"selected":""}
|
|
909
|
+
${c?"disabled":""} ${a?"today":""}
|
|
910
|
+
${!e.isFocused&&!a?"focused":""} ${x}`,ref:i,children:[d,a?t.jsx(ii,{children:t.jsx(v,{clickable:!1,icon:"circle",iconSize:"xxs"})}):void 0]})})},Ie=({state:e,...n})=>{const{locale:i}=o.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),{weekDays:a}=o.$e3031d1f8c9d64eb$export$cb95147730a423f5(n,e),r=o.$14e0f24ef4ac5c92$export$ccc1b2479e7dd654(e.visibleRange.start,i);return t.jsxs("table",{children:[t.jsx("thead",{children:t.jsx(Ze,{children:a.map((s,l)=>{const c=`key_${l}`;return t.jsx(ti,{children:s},c)})})}),t.jsx("tbody",{children:[...new Array(r).keys()].map(s=>t.jsx(Ze,{children:e.getDatesInWeek(s).map((l,c)=>{const d=`key_${c}`;return l?t.jsx(ut,{date:l,state:e},d):t.jsx("td",{},d)})},s))})]})},ri=o.dt(Oe)`
|
|
911
911
|
align-items: center;
|
|
912
912
|
background-color: inherit;
|
|
913
913
|
border-color: inherit;
|
|
@@ -915,7 +915,7 @@
|
|
|
915
915
|
height: 38px;
|
|
916
916
|
justify-content: center;
|
|
917
917
|
width: 40px;
|
|
918
|
-
margin: ${({$margin:e="0"})=>
|
|
918
|
+
margin: ${({$margin:e="0"})=>o.lt`
|
|
919
919
|
${e}
|
|
920
920
|
`};
|
|
921
921
|
|
|
@@ -923,7 +923,7 @@
|
|
|
923
923
|
background-color: ${({theme:e})=>e.palette.gray[100]};
|
|
924
924
|
cursor: pointer;
|
|
925
925
|
}
|
|
926
|
-
`,
|
|
926
|
+
`,ai=o.dt.div`
|
|
927
927
|
${({theme:e})=>`
|
|
928
928
|
align-items: flex-start;
|
|
929
929
|
background: ${e.palette.white};
|
|
@@ -937,22 +937,22 @@
|
|
|
937
937
|
padding: ${e.spacing[.25]};
|
|
938
938
|
width: 292px;
|
|
939
939
|
`}
|
|
940
|
-
`,
|
|
941
|
-
${({theme:e,$disabled:n,$focus:i,$header:
|
|
940
|
+
`,oi=o.dt.button`
|
|
941
|
+
${({theme:e,$disabled:n,$focus:i,$header:a})=>{const r=i?"34px":"40px";return`
|
|
942
942
|
align-items: center;
|
|
943
|
-
border-radius: ${
|
|
943
|
+
border-radius: ${a?`0 ${e.spacing[.5]} ${e.spacing[.5]} 0`:"4px"};
|
|
944
944
|
border-left: inherit;
|
|
945
945
|
display: flex;
|
|
946
|
-
height: ${
|
|
946
|
+
height: ${a?"38px":r};
|
|
947
947
|
justify-content: center;
|
|
948
948
|
outline: none;
|
|
949
|
-
width: ${
|
|
949
|
+
width: ${a?"38px":"40px"};
|
|
950
950
|
|
|
951
951
|
&:hover {
|
|
952
952
|
background-color: ${e.palette.gray[n?500:100]};
|
|
953
953
|
}
|
|
954
954
|
`}}
|
|
955
|
-
`,
|
|
955
|
+
`,si=o.dt.div`
|
|
956
956
|
${({theme:e})=>`
|
|
957
957
|
align-items: center;
|
|
958
958
|
background: transparent;
|
|
@@ -963,13 +963,13 @@
|
|
|
963
963
|
justify-content: space-between;
|
|
964
964
|
width: calc(100% - 40px);
|
|
965
965
|
`}
|
|
966
|
-
`,
|
|
966
|
+
`,li=o.dt.div`
|
|
967
967
|
align-items: center;
|
|
968
968
|
display: flex;
|
|
969
969
|
justify-content: flex-end;
|
|
970
970
|
gap: ${({theme:e})=>e.spacing[.5]};
|
|
971
971
|
flex: 1 0 0;
|
|
972
|
-
`,
|
|
972
|
+
`,Qe=o.dt.div`
|
|
973
973
|
${({theme:e})=>`
|
|
974
974
|
align-items: center;
|
|
975
975
|
align-self: stretch;
|
|
@@ -981,7 +981,7 @@
|
|
|
981
981
|
line-height: ${e.spacing[1.5]};
|
|
982
982
|
padding: 2px ${e.spacing[.25]};
|
|
983
983
|
`}
|
|
984
|
-
`,
|
|
984
|
+
`,et=o.dt.button`
|
|
985
985
|
${({theme:e})=>`
|
|
986
986
|
align-items: center;
|
|
987
987
|
background-color: inherit;
|
|
@@ -1001,7 +1001,7 @@
|
|
|
1001
1001
|
font-weight: ${e.typography.weight.bold};
|
|
1002
1002
|
}
|
|
1003
1003
|
`}
|
|
1004
|
-
`,
|
|
1004
|
+
`,ke=({disabled:e=!1,icon:n,props:i})=>{const a=g.useRef(null),{buttonProps:r}=o.$701a24aa0da5b062$export$ea18c227d4417cc3(i,a);return t.jsx(oi,{...r,$disabled:e,$focus:!!r["aria-expanded"],$header:n==="calendar"||n==="calendar-clock",disabled:e,ref:a,type:"button",children:t.jsx(v,{icon:n,iconColor:C.palette.gray[e?400:700],iconSize:"xs",iconType:"fa-light"})})},Te=({state:e,prevButtonProps:n,nextButtonProps:i,title:a})=>{const r=e.focusedDate,s=g.useCallback(()=>{e.setFocusedDate(r.add({years:1}))},[r,e]),l=g.useCallback(()=>{e.setFocusedDate(r.subtract({years:1}))},[r,e]);return t.jsxs("div",{className:"header flex items-start",children:[t.jsx(ke,{icon:"chevron-left",props:n}),t.jsxs(Qn,{children:[a,t.jsxs(ei,{children:[t.jsx(Je,{"aria-label":"top",onClick:s,children:t.jsx(v,{icon:"caret-up",iconClass:"fa-sharp",iconSize:"xxss"})}),t.jsx(Je,{"aria-label":"bottom",onClick:l,children:t.jsx(v,{icon:"caret-down",iconClass:"fa-sharp",iconSize:"xxss"})})]})]}),t.jsx(ke,{icon:"chevron-right",props:i})]})},xt=({onClose:e,props:n})=>{const{locale:i}=o.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),a=o.$131cf43a05231e1e$export$6d095e787d2b5e1f({...n,createCalendar:o.$64244302c3013299$export$dd0bbc9b26defe37,locale:i}),{prevButtonProps:r,nextButtonProps:s,title:l}=o.$9942cad8a072a530$export$3ee915f8151bd4f1(n,a);return t.jsxs("div",{className:"calendar",children:[t.jsx(Te,{nextButtonProps:s,prevButtonProps:r,state:a,title:l}),t.jsx(Ie,{state:a}),t.jsx(_e,{children:t.jsx(E,{onClick:e,variant:"ghost",children:"Cancel"})})]})},ft=({segment:e,state:n})=>{const i=o.nt(),a=g.useRef(null),s={...e,placeholder:{day:"dd",dayPeriod:"(AM/PM)",era:"",hour:"hh",literal:"",minute:"mm",month:"mm",second:"",timeZoneName:"",year:"yyyy"}[e.type]},{segmentProps:l}=o.$32489daedd52963e$export$1315d136e6f7581(s,n,a),c=i.palette.gray[s.isEditable?800:500];return t.jsx("div",{...s.type!=="literal"&&{...l,className:"segment-cell"},ref:a,style:s.type==="literal"?void 0:{color:s.isPlaceholder?i.palette.gray[400]:c},children:s.isPlaceholder?s.placeholder:s.text})},ht=({disabled:e,error:n=!1,props:i})=>{const a=o.nt(),r=g.useRef(null),s=o.$3c0fc76039f1c516$export$60e84778edff6d26({...i,createCalendar:o.$64244302c3013299$export$dd0bbc9b26defe37,locale:"en-US"}),{fieldProps:l}=o.$16f0b7bb276bc17e$export$5591b0b878c1a989(i,s,r),c=g.useCallback(d=>{const p=document.getElementsByClassName("segment-cell"),u=d.currentTarget;Object.values(p).some(x=>x.contains(u))||(d.preventDefault(),d.stopPropagation())},[]);return t.jsxs(si,{...l,onClick:c,children:[t.jsx("div",{className:"flex flex-row",style:{color:a.palette.gray[o.lodashExports.isNil(s.value)?400:800]},tabIndex:-1,children:s.segments.map((d,p)=>{const u=`key_${p}`;return t.jsx(ft,{segment:{...d,isEditable:!e},state:s},u)})}),n?t.jsx(v,{icon:"exclamation-circle",iconColor:a.palette.error[500],iconSize:"xs"}):void 0]})},bt=e=>{const n=g.useRef(null),i=o.$eff5d8ee529ac4bb$export$fd53cef0cc796101({...e,locale:"en-US",shouldForceLeadingZeros:!0}),{timeValue:a}=i,r=!o.lodashExports.isNil(a)&&a.hour<12?"AM":"PM",[s,l]=g.useState(o.lodashExports.isNil(a)?"AM":r),{fieldProps:c}=o.$16f0b7bb276bc17e$export$4c842f6a241dc825(e,i,n),d=g.useCallback(p=>{const u=p.currentTarget.name;u!==s&&(o.lodashExports.isNil(a)||(u==="AM"?i.setSegment("dayPeriod",0):u==="PM"&&i.setSegment("dayPeriod",12))),l(u)},[s,i,a]);return t.jsxs(li,{children:[t.jsx(Qe,{...c,ref:n,children:i.segments.slice(0,-2).map((p,u)=>{const x=`key_${u}`;return t.jsx(ft,{segment:p,state:i},x)})}),t.jsxs(Qe,{children:[t.jsx(et,{id:s==="AM"?"active":"",name:"AM",onClick:d,type:"button",children:"AM"}),t.jsx(et,{id:s==="PM"?"active":"",name:"PM",onClick:d,type:"button",children:"PM"})]})]})},Ce=e=>e&&e!=="-"?o.dayjs(e).format("YYYY-MM-DD"):"-",ci=e=>e&&e!=="-"?o.dayjs(e).format("YYYY-MM-DD hh:mm A"):"-",di=e=>e&&e!=="-"?o.dayjs(e).format("YYYY/MM/DD hh:mm A"):"-",oe=({error:e,buttonProps:n,datePickerRef:i,disabled:a=!1,granularity:r="day",fieldProps:s,groupProps:l,name:c,onBlur:d,onChange:p,formRef:u})=>{const x=g.useCallback(f=>{s.onChange&&s.onChange(f),p&&p(r==="day"?Ce(String(f)):ci(String(f)))},[s,r,p]);return t.jsxs(X,{...l,className:`${a?"disabled":""} ${e?"error":""}`,ref:i,children:[t.jsx(ht,{disabled:a,error:e!=null,props:{...s,autoFocus:!1,granularity:r,onChange:x,shouldForceLeadingZeros:!0}}),t.jsx(ke,{disabled:a,icon:r==="minute"?"calendar-clock":"calendar",props:n}),t.jsx("input",{"aria-label":c,className:"date-input",disabled:a,id:c,name:c,onBlur:d,onChange:p,ref:u,type:"text"})]})},Ne=({children:e,...n})=>{const i=g.useRef(null),{dialogProps:a}=o.$40df3f8667284809$export$d55e7ee900f34e93(n,i);return t.jsx(ai,{...a,ref:i,children:e})},$t=({disabled:e=!1,helpLink:n,helpLinkText:i,helpText:a,required:r,label:s,name:l,tooltip:c,...d})=>{const{control:p}=o.useFormContext(),{field:{onBlur:u,onChange:x,value:f,ref:b},fieldState:{error:$}}=o.useController({name:l,control:p,disabled:e,rules:{required:r}}),m=g.useRef(null),y=o.$ab5bf3f618090389$export$87194bb378cc3ac2({...d,onBlur:u,onChange:x,value:o._.isNil(f)||o._.isEmpty(f)||f==="-"?null:o.$fae977aafc393c5c$export$6b862160d295c8e(f.replace(/\//gu,"-"))}),{close:w}=y,{groupProps:k,fieldProps:S,buttonProps:z,dialogProps:N,calendarProps:T}=o.$6057a3d2a53a12fd$export$42df105a73306d51({...d,"aria-label":s??l,name:l},y,m),R=g.useCallback(P=>{T.onChange&&T.onChange(P),x(Ce(P.toString()))},[T,x]);return t.jsxs(H,{error:$?$.message:void 0,helpLink:n,helpLinkText:i,helpText:a,htmlFor:l,label:s,required:r,tooltip:c,children:[t.jsx(oe,{buttonProps:z,datePickerRef:m,disabled:e,error:$==null?void 0:$.message,fieldProps:S,formRef:b,groupProps:k,name:l,onBlur:u,onChange:x,required:r}),y.isOpen&&!e?t.jsx(he,{offset:8,placement:"bottom start",state:y,triggerRef:m,children:t.jsx(Ne,{...N,children:t.jsx(xt,{onClose:w,props:{...T,onChange:R}})})}):null]})},yt=({onClose:e,props:n})=>{const{locale:i}=o.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),a=g.useRef(null),r=o.$9a36b6ba2fb1a7c5$export$9a987164d97ecc90({...n,createCalendar:o.$64244302c3013299$export$dd0bbc9b26defe37,locale:i}),{prevButtonProps:s,nextButtonProps:l,title:c}=o.$46a4342aab3d8076$export$87e0539f600c24e5(n,r,a);return t.jsxs("div",{className:"calendar-range",ref:a,children:[t.jsx(Te,{nextButtonProps:l,prevButtonProps:s,state:r,title:c}),t.jsx(Ie,{state:r}),t.jsx(_e,{children:t.jsx(E,{onClick:e,variant:"ghost",children:"Cancel"})})]})},pi=o.dt.div`
|
|
1005
1005
|
${({theme:e,$disabled:n,$show:i})=>`
|
|
1006
1006
|
border-color: ${i?e.palette.error[500]:e.palette.gray[300]};
|
|
1007
1007
|
display: flex;
|
|
@@ -1012,7 +1012,7 @@
|
|
|
1012
1012
|
background: ${n?e.palette.gray[200]:e.palette.white};
|
|
1013
1013
|
}
|
|
1014
1014
|
`}
|
|
1015
|
-
`,
|
|
1015
|
+
`,gi=({disabled:e=!1,label:n,name:i,required:a,tooltip:r,...s})=>{const{control:l}=o.useFormContext(),c=`${i}Max`,d=`${i}Min`,{field:{onBlur:p,onChange:u,ref:x},fieldState:{error:f}}=o.useController({name:c,control:l,disabled:e,rules:{required:a}}),{field:{onBlur:b,onChange:$,ref:m},fieldState:{error:y}}=o.useController({name:d,control:l,disabled:e,rules:{required:a}}),w=(f==null?void 0:f.message)??(y==null?void 0:y.message),k=g.useRef(null),S=o.$93c38a5e28be6249$export$e50a61c1de9f574(s),{close:z}=S,{groupProps:N,startFieldProps:T,endFieldProps:R,buttonProps:P,dialogProps:A,calendarProps:D}=o.$887cac91b7cc8801$export$12fd5f0e9f4bb192({...s,"aria-label":n??i},S,k),L=g.useCallback(M=>{M&&(D.onChange&&D.onChange(M),$(Ce(String(M.start))),u(Ce(String(M.end))))},[D,$,u]);return t.jsxs(H,{error:w,htmlFor:i,label:n,required:a,tooltip:r,children:[t.jsxs(pi,{$disabled:e,$show:w!==void 0,ref:k,children:[t.jsx(oe,{buttonProps:P,datePickerRef:k,disabled:e,error:w,fieldProps:{...T,"aria-label":`${T["aria-label"]} ${i}`,validate:M=>R.value&&M>R.value?"Start date must be less than or equal to end date":null},formRef:m,groupProps:N,name:d,onBlur:b,onChange:$}),t.jsx(oe,{buttonProps:P,datePickerRef:k,disabled:e,error:w,fieldProps:{...R,"aria-label":`${R["aria-label"]} ${i}`,validate:M=>T.value&&M<T.value?"End date must be greater than or equal to start date":null},formRef:x,groupProps:N,name:c,onBlur:p,onChange:u})]}),S.isOpen&&!e?t.jsx(he,{offset:8,placement:"bottom start",state:S,triggerRef:k,children:t.jsx(Ne,{...A,children:t.jsx(yt,{onClose:z,props:{...D,onChange:L}})})}):null]})},ui=o.dt.div`
|
|
1016
1016
|
${({theme:e})=>`
|
|
1017
1017
|
align-items: center;
|
|
1018
1018
|
border-top: 1px solid ${e.palette.gray[200]};
|
|
@@ -1021,32 +1021,32 @@
|
|
|
1021
1021
|
justify-content: center;
|
|
1022
1022
|
padding: ${e.spacing[.5]} ${e.spacing[1.25]};
|
|
1023
1023
|
`}
|
|
1024
|
-
`,
|
|
1024
|
+
`,xi=o.dt.div`
|
|
1025
1025
|
align-items: center;
|
|
1026
1026
|
display: flex;
|
|
1027
1027
|
gap: ${({theme:e})=>e.spacing[.5]};
|
|
1028
1028
|
justify-content: flex-end;
|
|
1029
1029
|
flex: 1 0 0;
|
|
1030
|
-
|
|
1030
|
+
`,mt=({handleTimeChange:e,onClose:n,props:i,timeState:a})=>{const r=o.nt(),{locale:s}=o.$18f2051aff69b9bf$export$43bb16f9c6d9e3f7(),l=o.$131cf43a05231e1e$export$6d095e787d2b5e1f({...i,createCalendar:o.$64244302c3013299$export$dd0bbc9b26defe37,locale:s}),{prevButtonProps:c,nextButtonProps:d,title:p}=o.$9942cad8a072a530$export$3ee915f8151bd4f1(i,l);return t.jsxs("div",{className:"calendar",children:[t.jsx(Te,{nextButtonProps:d,prevButtonProps:c,state:l,title:p}),t.jsx(Ie,{state:l}),t.jsxs(ui,{children:[t.jsx(j,{color:r.palette.gray[800],fontWeight:"bold",size:"sm",children:"Time"}),t.jsx(xi,{children:t.jsx(bt,{hourCycle:12,label:"time-field",onChange:e,value:a.timeValue})})]}),t.jsx(_e,{children:t.jsx(E,{onClick:n,variant:"ghost",children:"Cancel"})})]})},fi=e=>{const{disabled:n=!1,required:i,label:a,name:r,tooltip:s}=e,l=g.useRef(null),{control:c}=o.useFormContext(),{field:{onBlur:d,onChange:p,ref:u,value:x},fieldState:{error:f}}=o.useController({name:r,control:c,disabled:n,rules:{required:i}}),b=o.$ab5bf3f618090389$export$87194bb378cc3ac2({...e,granularity:"minute",hourCycle:12,isDisabled:n,isRequired:i,shouldCloseOnSelect:!1,onBlur:d,onChange:p,value:o._.isNil(x)||o._.isEmpty(x)||x==="-"?null:o.$fae977aafc393c5c$export$588937bcd60ade55(x.replace(/\//gu,"-"))}),{close:$}=b,{groupProps:m,fieldProps:y,buttonProps:w,dialogProps:k,calendarProps:S}=o.$6057a3d2a53a12fd$export$42df105a73306d51(e,b,l),z=g.useCallback(T=>{S.onChange&&S.onChange(T),p(di(String(T).replace(/-/gu,"/")))},[S,p]),N=g.useCallback(T=>{T&&b.setTimeValue(T)},[b]);return t.jsxs(H,{error:f==null?void 0:f.message,htmlFor:r,label:a,required:i,tooltip:s,children:[t.jsx(oe,{buttonProps:w,datePickerRef:l,disabled:n,error:f==null?void 0:f.message,fieldProps:y,formRef:u,granularity:"minute",groupProps:m,name:r,onBlur:d,onChange:p}),b.isOpen&&!n?t.jsx(he,{offset:8,placement:"bottom start",state:b,triggerRef:l,children:t.jsx(Ne,{...k,children:t.jsx(mt,{handleTimeChange:N,onClose:$,props:{...S,onChange:z},timeState:b})})}):null]})},hi=({children:e,currentValue:n,externalLink:i,isEditing:a,label:r,name:s,tooltip:l})=>{if(a)return t.jsx("div",{children:e});const c=o.lodashExports.isNil(n)?"":n,d=String(i??c);return t.jsxs(h,{children:[t.jsx(He,{htmlFor:s,label:r,tooltip:l,weight:"bold"}),d.startsWith("https://")?t.jsx(Z,{href:d,children:c}):t.jsx(j,{size:"md",children:c})]})},wt=({disabled:e=!1,hasIcon:n=!1,helpLink:i,helpLinkText:a,helpText:r,label:s,name:l,maskValue:c=!1,onBlur:d,onChange:p,onPaste:u,placeholder:x,required:f,tooltip:b,type:$="text",weight:m})=>{const y=o.nt(),{register:w,formState:{errors:k,isValid:S},getFieldState:z}=o.useFormContext(),{isTouched:N}=z(l),T=k[l]?String(k[l].message):void 0,R=S&&N&&!e,P=g.useCallback(A=>{A.key==="Enter"&&A.preventDefault()},[]);return t.jsx(H,{error:T,helpLink:i,helpLinkText:a,helpText:r,htmlFor:l,label:s,required:f,tooltip:b,weight:m,children:t.jsxs(X,{className:`
|
|
1031
1031
|
${e?"disabled":""} ${T?"error":""} ${R?"success":""}
|
|
1032
|
-
`,children:[n?t.jsx(v,{icon:"user",iconSize:"sm",iconType:"fa-light"}):void 0,t.jsx("input",{"aria-hidden":!1,"aria-invalid":T?"true":"false","aria-label":l,"aria-required":
|
|
1032
|
+
`,children:[n?t.jsx(v,{icon:"user",iconSize:"sm",iconType:"fa-light"}):void 0,t.jsx("input",{"aria-hidden":!1,"aria-invalid":T?"true":"false","aria-label":l,"aria-required":f,autoComplete:"off",className:c?"sr-block":"","data-testid":`${l}-input`,id:l,onKeyDown:P,onPaste:u,placeholder:x,type:$,...w(l,{disabled:e,required:f,onBlur:d,onChange:p})}),T?t.jsx(v,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:y.palette.error[500],iconSize:"xs"}):void 0,R?t.jsx(v,{icon:"check-circle",iconClass:"success-icon",iconColor:y.palette.success[500],iconSize:"xs"}):void 0]})})},bi=o.dt(ot)`
|
|
1033
1033
|
white-space: nowrap;
|
|
1034
1034
|
margin-right: ${({theme:e})=>e.spacing[.25]};
|
|
1035
1035
|
text-overflow: ellipsis;
|
|
1036
1036
|
overflow: hidden;
|
|
1037
1037
|
max-width: 80%;
|
|
1038
|
-
|
|
1038
|
+
`,$i=o.dt.input`
|
|
1039
1039
|
opacity: 0;
|
|
1040
1040
|
position: absolute;
|
|
1041
1041
|
visibility: hidden;
|
|
1042
1042
|
width: 0;
|
|
1043
|
-
`,
|
|
1043
|
+
`,Fe=(e,n,i)=>{const a=new Event(e);return Object.defineProperty(a,"target",{value:{name:n,value:i}}),a},yi=e=>{const n=e;return n?Array.from(n).map(i=>i.name).join(", "):""},mi=({accept:e,disabled:n=!1,label:i,helpLink:a,helpText:r,id:s,multiple:l,name:c,onChange:d,required:p,tooltip:u,weight:x})=>{const f=o.nt(),b=g.useRef(null),{control:$,setValue:m}=o.useFormContext(),{field:{value:y,onChange:w},fieldState:{error:k}}=o.useController({name:c,control:$,disabled:n,rules:{required:p}}),S=yi(y),z=g.useCallback(()=>{const R=Fe("change",c,void 0);w(R),m(c,"")},[c,w,m]),N=g.useCallback(R=>{const{files:P}=R.currentTarget,A=Fe("change",c,P&&P.length>0?P:void 0);d==null||d(A),w(A)},[c,w,d]),T=g.useCallback(R=>{n?R.preventDefault():b.current&&b.current.click()},[n]);return t.jsxs(H,{error:k?k.message:void 0,helpLink:a,helpText:r,htmlFor:s??c,label:i,required:p,tooltip:u,weight:x,children:[t.jsxs(X,{className:`${n?"disabled":""} ${k?"error":""}`,children:[t.jsx(bi,{$size:"xs",children:S}),t.jsxs(h,{alignItems:"center",display:"flex",gap:.5,children:[o.lodashExports.isEmpty(S)?void 0:t.jsx(O,{color:f.palette.gray[400],height:"20px",icon:"xmark",iconSize:"lg",iconType:"fa-light",onClick:z,variant:"ghost",width:"20px"}),k&&t.jsx(v,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:f.palette.error[500],iconSize:"xs"})]}),t.jsxs(E,{border:n?`1px solid ${f.palette.gray[300]} !important`:"",borderRadius:"0px 8px 8px 0px !important",disabled:n,height:"40px",onClick:T,variant:"primary",width:"96px",children:[t.jsx(v,{icon:"search",iconSize:"sm",mr:.5}),"Add file"]})]}),t.jsx($i,{accept:e,"aria-label":c,"data-testid":c,disabled:n,id:s??c,multiple:l,name:c,onChange:N,onClick:z,ref:b,required:void 0,type:"file",value:void 0})]})},wi=o.dt.input`
|
|
1044
1044
|
border: none;
|
|
1045
1045
|
background: transparent;
|
|
1046
1046
|
min-width: 15rem;
|
|
1047
1047
|
padding: 0;
|
|
1048
1048
|
flex: 1;
|
|
1049
|
-
`,
|
|
1049
|
+
`,ji=({disabled:e=!1,helpLink:n,helpLinkText:i,helpText:a,label:r,name:s="input-tag",onRemove:l,placeholder:c,required:d,tooltip:p,weight:u})=>{const x=o.nt(),[f,b]=g.useState(""),{control:$}=o.useFormContext(),{field:{value:m,onBlur:y,onChange:w,ref:k},fieldState:{error:S}}=o.useController({name:s,control:$,disabled:e,rules:{required:d}}),z=g.useMemo(()=>m&&typeof m=="string"?m.split(",").filter(Boolean):[],[m]),N=g.useCallback(D=>{const M=[...new Set(D.filter(Boolean))].join(","),B=Fe("change",s,M);w(B)},[s,w]),T=g.useCallback(D=>{b(D.target.value)},[]),R=g.useCallback(D=>{const L=f.trim();L.length&&!z.includes(L)&&(D.preventDefault(),N([...z,L]),b("")),y()},[f,y,N,z]),P=g.useCallback(D=>{const L=f.trim();D.key==="Enter"&&L.length===0&&D.preventDefault(),["Enter",","].includes(D.key)&&L.length>0&&!z.includes(L)?(D.preventDefault(),N([...z,L]),b("")):D.key==="Backspace"&&!L.length&&z.length&&(D.preventDefault(),l==null||l(z[z.length-1]),N(z.slice(0,-1)))},[f,l,N,z]),A=g.useCallback(D=>()=>{l==null||l(D),N(z.filter(L=>L!==D))},[l,N,z]);return t.jsx(H,{error:S?S.message:void 0,helpLink:n,helpLinkText:i,helpText:a,htmlFor:s,label:r,required:d,tooltip:p,weight:u,children:t.jsxs(X,{$overflowX:"auto",className:`${e?"disabled":""} ${S?"error":""}`,children:[z.map(D=>t.jsx(J,{disabled:e,onClose:A(D),tagLabel:D},D)),t.jsx(wi,{"aria-hidden":!1,"aria-invalid":S?"true":"false","aria-label":s,"aria-required":d,autoComplete:"off",id:s,onBlur:R,onChange:T,onKeyDown:P,placeholder:z.length===0?c:void 0,ref:k,type:"text",value:f}),S?t.jsx(v,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:x.palette.error[500],iconSize:"xs"}):void 0]})})},Pe=g.forwardRef(function({disabled:n,icon:i,margin:a,onClick:r,...s},l){return t.jsx(ri,{$margin:a,"aria-label":i,className:"action-btn",disabled:n,onClick:r,ref:l,type:"button",...s,children:t.jsx(v,{icon:i,iconClass:"action",iconSize:"xs",iconType:"fa-light"})})}),ve=({error:e,decimalPlaces:n=0,disabled:i=!1,id:a,maxLength:r,max:s=1/0,min:l=0,name:c,onChange:d,placeholder:p,required:u})=>{const x=o.nt(),{control:f,setValue:b}=o.useFormContext(),{field:{value:$,onChange:m,onBlur:y,ref:w}}=o.useController({name:c,control:f,disabled:i,rules:{required:u,maxLength:r,max:s,min:l}}),k=g.useMemo(()=>n<0?0:n,[n]),S=g.useCallback(()=>$===void 0?0:o._.toNumber($),[$]),z=g.useCallback(()=>{const R=(S()-10**-k).toFixed(k);b(c,Math.max(Number(l),Number(R)))},[k,S,l,c,b]),N=g.useCallback(()=>{const R=(S()+10**-k).toFixed(k);b(c,Math.min(Number(s),Number(R)>Number(l)?Number(R):Number(l)))},[k,S,s,l,c,b]),T=g.useCallback(R=>{const{value:P}=R.target;/\d+/u.test(P)&&!o._.isEmpty(P)?d?d(R):m(R):b(c,void 0)},[c,m,d,b]);return t.jsxs(X,{className:`${i?"disabled":""} ${e?"error":""}`,children:[t.jsx("input",{"aria-hidden":!1,"aria-invalid":e?"true":"false","aria-label":c,"aria-required":u,autoComplete:"off",disabled:i,id:a??c,max:s,min:l,name:c,onBlur:y,onChange:T,placeholder:p,ref:w,required:void 0,step:10**-k,type:"number",value:/^-?\d+/u.test(String($))?$:""}),e&&t.jsx(v,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:x.palette.error[500],iconSize:"xs"}),t.jsx(Pe,{borderLeft:"inherit",borderRight:"inherit",disabled:i,icon:"minus",margin:"0 -0.625rem 0 0",onClick:z,px:.75,py:.75}),t.jsx(Pe,{borderRadius:`0 ${x.spacing[.5]} ${x.spacing[.5]} 0`,disabled:i,icon:"plus",onClick:N,px:.75,py:.75})]})},jt=({decimalPlaces:e,disabled:n=!1,helpLink:i,helpText:a,id:r,label:s,maxLength:l,max:c,min:d,name:p,onChange:u,placeholder:x,required:f,tooltip:b,weight:$})=>{const{formState:{errors:m}}=o.useFormContext(),y=m[p]?String(m[p].message):void 0;return t.jsx(H,{error:y,helpLink:i,helpText:a,htmlFor:p,label:s,maxLength:l,required:f,tooltip:b,weight:$,children:t.jsx(ve,{decimalPlaces:e,disabled:n,error:y,id:r,max:c,maxLength:l,min:d,name:p,onChange:u,placeholder:x,required:f})})},ki=({disabled:e=!1,name:n,label:i,propsMax:a,propsMin:r,required:s,tooltip:l})=>{const{formState:{errors:c}}=o.useFormContext(),d=`${n}Max`,p=`${n}Min`,u=c[d]?String(c[d].message):void 0,x=c[p]?String(c[p].message):void 0,f=u??x;return t.jsx(H,{error:f,htmlFor:n,label:i,required:s,tooltip:l,children:t.jsxs(h,{display:"flex",gap:.25,width:"100%",children:[t.jsx(ve,{...r,disabled:e,error:f,name:d}),t.jsx(ve,{...a,disabled:e,error:f,name:p})]})})},Ci=o.dt.div`
|
|
1050
1050
|
${({theme:e})=>`
|
|
1051
1051
|
align-items: flex-start;
|
|
1052
1052
|
align-self: stretch;
|
|
@@ -1086,7 +1086,7 @@
|
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
1088
|
`}
|
|
1089
|
-
`,
|
|
1089
|
+
`,vi=o.dt.button`
|
|
1090
1090
|
${({theme:e})=>`
|
|
1091
1091
|
align-items: center;
|
|
1092
1092
|
background: inherit;
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
cursor: not-allowed;
|
|
1103
1103
|
}
|
|
1104
1104
|
`}
|
|
1105
|
-
`,
|
|
1105
|
+
`,Si=o.dt.ul`
|
|
1106
1106
|
${({theme:e})=>`
|
|
1107
1107
|
align-items: flex-start;
|
|
1108
1108
|
box-shadow: ${e.shadows.md};
|
|
@@ -1115,7 +1115,7 @@
|
|
|
1115
1115
|
scrollbar-width: thin;
|
|
1116
1116
|
width: max-content;
|
|
1117
1117
|
`}
|
|
1118
|
-
`,
|
|
1118
|
+
`,zi=o.dt.li`
|
|
1119
1119
|
${({theme:e})=>`
|
|
1120
1120
|
align-items: center;
|
|
1121
1121
|
background: ${e.palette.white};
|
|
@@ -1132,16 +1132,16 @@
|
|
|
1132
1132
|
background: ${e.palette.gray[100]};
|
|
1133
1133
|
}
|
|
1134
1134
|
`}
|
|
1135
|
-
`,
|
|
1135
|
+
`,Ii=o.dt.p`
|
|
1136
1136
|
color: ${({theme:e})=>e.palette.gray[800]};
|
|
1137
1137
|
font-size: inherit;
|
|
1138
1138
|
min-width: 55%;
|
|
1139
1139
|
overflow: hidden;
|
|
1140
1140
|
text-overflow: ellipsis;
|
|
1141
1141
|
white-space: nowrap;
|
|
1142
|
-
`,Q=(e,n,i=!1)=>{g.useEffect(()=>{var r;const
|
|
1142
|
+
`,Q=(e,n,i=!1)=>{g.useEffect(()=>{var r;const a=s=>{e&&!e.contains(s.target)&&n()};return i?(document.addEventListener("click",a,!0),()=>{document.removeEventListener("click",a,!0)}):((r=document.getElementById("root"))==null||r.addEventListener("click",a,!0),()=>{var s;(s=document.getElementById("root"))==null||s.removeEventListener("click",a,!0)})},[i,e,n])},Ti=({disabled:e,label:n,name:i,placeholder:a,required:r,tooltip:s,weight:l})=>{const c=o.nt(),d=g.useRef(null),{control:p}=o.useFormContext(),{field:{onBlur:u,onChange:x,ref:f,value:b},fieldState:{error:$}}=o.useController({name:i,control:p,disabled:e,rules:{required:r}}),[m,y]=g.useState(!1),[w,k]=g.useState(""),{refs:S,floatingStyles:z}=o.useFloating({placement:"bottom-start",whileElementsMounted:o.autoUpdate}),{inputValue:N,handlePhoneValueChange:T,country:R,setCountry:P}=o.ee({countries:o.R,defaultCountry:"us",forceDialCode:!0,onChange:x,value:b?String(b):void 0}),A=g.useCallback(()=>{y(B=>!B),m||k("")},[m]),D=g.useCallback(B=>()=>{P(B),y(!1),k("")},[P,y]),L=g.useCallback(B=>{B.key.length===1?k(V=>V+B.key):B.key==="Backspace"&&k(V=>V.slice(0,-1))},[]),M=o.R.filter(B=>{const{name:V}=o.M$1(B);return V.toLowerCase().includes(w.toLowerCase())});return Q(S.floating.current,()=>{y(!1),k("")},!0),t.jsx(H,{error:$?$.message:void 0,htmlFor:i,label:n,required:r,tooltip:s,weight:l,children:t.jsxs(Ci,{className:`${e?"disabled":""} ${$?"error":""}`,ref:d,children:[t.jsxs(vi,{"aria-label":"country-selector","data-testid":"country-selector",disabled:e,id:"country-selector",onClick:A,onKeyDown:L,ref:S.setReference,children:[t.jsx(o.q,{iso2:R.iso2,size:"16px"}),t.jsx(v,{icon:"angle-down",iconColor:c.palette.gray[400],iconSize:"xs",iconType:"fa-light"})]}),t.jsxs(X,{className:`${e?"disabled":""} ${$?"error":""}`,children:[t.jsx("input",{"aria-hidden":!1,"aria-invalid":$?"true":"false","aria-label":i,"aria-required":r,autoComplete:"off","data-testid":`${i}-input`,disabled:e,id:i,name:i,onBlur:u,onChange:T,placeholder:a,ref:f,type:"tel",value:N}),$?t.jsx(v,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:c.palette.error[500],iconSize:"xs"}):void 0]}),m&&te.createPortal(t.jsx(Si,{ref:S.setFloating,style:z,children:M.map(B=>{const{dialCode:V,iso2:K,name:ie}=o.M$1(B);return t.jsxs(zi,{onClick:D(K),value:K,children:[t.jsx(o.q,{iso2:K,size:"16px"}),t.jsx(Ii,{children:ie}),t.jsx(j,{color:c.palette.gray[400],size:"sm",sizeSm:"xs",textAlign:"end",children:"+"+V})]},K)})}),document.getElementById("root")??document.body)]})})},Ni=({disabled:e=!1,helpLink:n,helpText:i,label:a,name:r="input-text",id:s,maskValue:l=!1,maxLength:c,placeholder:d,required:p,rows:u,tooltip:x,weight:f})=>{const b=o.nt(),{control:$}=o.useFormContext(),{field:m,fieldState:{error:y,isTouched:w},formState:{isValid:k}}=o.useController({name:r,control:$,disabled:e,rules:{maxLength:c,required:p}}),S=k&&w&&!e;return t.jsx(H,{error:y?y.message:void 0,helpLink:n,helpText:i,htmlFor:r,label:a,maxLength:c,required:p,tooltip:x,value:m.value?String(m.value):void 0,weight:f,children:t.jsxs(X,{className:`
|
|
1143
1143
|
${e?"disabled":""} ${y?"error":""} ${S?"success":""}
|
|
1144
|
-
`,children:[t.jsx("textarea",{"aria-hidden":!1,"aria-invalid":y?"true":"false","aria-label":r,"aria-required":p,className:l?"sr-block":"","data-testid":`${r}-text-area`,disabled:e,id:s??r,maxLength:c,placeholder:d,rows:u,...
|
|
1144
|
+
`,children:[t.jsx("textarea",{"aria-hidden":!1,"aria-invalid":y?"true":"false","aria-label":r,"aria-required":p,className:l?"sr-block":"","data-testid":`${r}-text-area`,disabled:e,id:s??r,maxLength:c,placeholder:d,rows:u,...m}),y?t.jsx(v,{icon:"exclamation-circle",iconClass:"error-icon",iconColor:b.palette.error[500],iconSize:"xs"}):void 0,S?t.jsx(v,{icon:"check-circle",iconClass:"success-icon",iconColor:b.palette.success[500],iconSize:"xs"}):void 0]})})},Ri=({description:e,disabled:n,id:i,align:a,inputType:r="text",inputNumberProps:s,minHeight:l,minWidth:c,name:d,placeholder:p,tooltip:u,title:x})=>{const f=g.useMemo(()=>{if(r==="text")return t.jsx(wt,{disabled:n,name:d,placeholder:p});if(r==="date")return t.jsx($t,{disabled:n,name:d});const{decimalPlaces:b,max:$,min:m}=s??{};return t.jsx(jt,{decimalPlaces:b,disabled:n,max:$,min:m,name:d,placeholder:p})},[n,s,r,d,p]);return t.jsxs(Kn,{$align:a,$minHeight:l,$minWidth:c,children:[t.jsx(ze,{description:e,id:i,title:x,tooltip:u}),f]})},Ei=o.dt.label`
|
|
1145
1145
|
${({theme:e})=>`
|
|
1146
1146
|
align-items: start;
|
|
1147
1147
|
color: ${e.palette.gray[600]};
|
|
@@ -1213,7 +1213,7 @@
|
|
|
1213
1213
|
fill: ${e.palette.white};
|
|
1214
1214
|
}
|
|
1215
1215
|
`}
|
|
1216
|
-
`,
|
|
1216
|
+
`,Re=g.forwardRef(function({defaultChecked:n=!1,disabled:i=!1,label:a,name:r,onChange:s,onClick:l,onFocus:c,onKeyDown:d,value:p,...u},x){return t.jsxs(Ei,{"aria-disabled":i,children:[t.jsx("input",{"aria-checked":n,"aria-disabled":i,"aria-label":r,checked:n,disabled:i,id:r,name:r,onChange:s,onClick:l,onFocus:c,onKeyDown:d,ref:x,type:"checkbox",value:p,...u}),t.jsx(v,{disabled:i,icon:"check",iconSize:"sm"}),a??p]})}),kt=({options:e,title:n,checkboxesName:i,onChange:a})=>{const r=o.nt(),[s,l]=g.useState(!1),c=g.useCallback(()=>{l(d=>!d)},[]);return t.jsxs(h,{bgColor:s?r.palette.gray[50]:r.palette.white,border:"1px solid"+r.palette.gray[300],borderRadius:"8px",display:"inline-flex",flexDirection:"column",gap:1.25,px:.75,py:.625,width:"100%",children:[t.jsxs(h,{alignItems:"center",cursor:"pointer",display:"flex",onClick:c,children:[t.jsx(W,{size:"xs",children:n}),t.jsx(v,{icon:s?"chevron-up":"chevron-down",iconColor:r.palette.gray[400],iconSize:"xs"})]}),s?t.jsx(h,{display:"flex",gap:.75,wrap:"wrap",children:e.map(d=>t.jsx(h,{border:"1px solid",borderColor:r.palette.gray[300],borderRadius:"4px",px:.5,py:.5,children:t.jsx(Re,{defaultChecked:d.visible,disabled:d.locked,label:d.name,name:i,onChange:a,value:d.name})},d.name))}):void 0]})},Ct=(e,n)=>{const[a,r]=g.useState(0),[s,l]=g.useState(0);return g.useEffect(()=>{s===100&&(()=>{r(d=>d===n-1?0:d+1)})()},[s,n]),g.useEffect(()=>{const c=setInterval(()=>{l(d=>d===100?0:d+1)},e);return()=>{clearInterval(c)}},[e]),{cycle:a,progress:s,setCycle:r,setProgress:l}},vt=({publicId:e,format:n="webp"})=>{const i=g.useMemo(()=>new o.Cloudinary({cloud:{cloudName:"fluid-attacks"}}),[]);return g.useMemo(()=>i.image(e).format(n),[i,e,n])},St=(e,n)=>g.useMemo(()=>o._.debounce(e,n),[e,n]),zt=e=>{const[n,i]=g.useState(!1),a=g.useCallback(()=>{i(!0)},[]),r=g.useCallback(()=>{i(!1)},[]),s=g.useCallback(()=>{i(l=>!l)},[]);return{close:r,isOpen:n,name:e,open:a,setIsOpen:i,toggle:s}},Di=e=>{const[n,i]=g.useState(),a=St(r=>{i(r)},(e==null?void 0:e.debounceWait)??300);return[n,a]},Fi=({alt:e="img",height:n="",width:i="",plugins:a=[o.lazyload(),o.placeholder()],publicId:r})=>{const s=vt({publicId:r});return t.jsx(o.AdvancedImage,{alt:e,cldImg:s,height:n,plugins:a,width:i})},G=g.memo(Fi),Pi=o.dt.label`
|
|
1217
1217
|
${({theme:e})=>`
|
|
1218
1218
|
align-items: center;
|
|
1219
1219
|
display: flex;
|
|
@@ -1292,7 +1292,7 @@
|
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
1294
|
`}
|
|
1295
|
-
`,
|
|
1295
|
+
`,Li=o.dt.span.attrs({className:"checkmark"})``,It=g.forwardRef(function({defaultChecked:n=!1,disabled:i=!1,label:a,name:r,onChange:s,onClick:l,value:c,...d},p){return t.jsxs(Pi,{"aria-disabled":i,"aria-label":r,role:"radiogroup",children:[t.jsx("input",{"aria-checked":n,"aria-disabled":i,"aria-label":r,defaultChecked:n,disabled:i,name:r,onChange:s,onClick:l,ref:p,type:"radio",value:c,...d}),t.jsx(Li,{}),a??null]})}),Wi=({alt:e,imageId:n,icon:i,selectorProps:a,onClick:r,title:s,width:l="fit-content"})=>{const c=o.nt();return t.jsxs(h,{alignItems:"center",border:`1px solid ${c.palette.gray[200]}`,borderColorHover:c.palette.gray[600],borderRadius:c.spacing[.25],display:"inline-flex",padding:[1,1,1,1],shadowHover:"md",width:l,children:[t.jsx(h,{alignSelf:"start",display:"flex",width:"fit-content",children:t.jsx(It,{name:a.name,onClick:r,value:a.value})}),t.jsxs(h,{alignItems:"center",display:"flex",gap:.5,justify:"space-between",ml:1,mr:1,width:"100%",children:[n===void 0?void 0:t.jsx(G,{alt:e??"card image",height:"32px",publicId:n,width:"32px"}),i===void 0?void 0:t.jsx(v,{icon:i,iconSize:"sm",iconType:"fa-light"}),t.jsx(W,{fontWeight:"bold",lineSpacing:1.75,size:"xs",children:s})]})]})},re=o.dt.div`
|
|
1296
1296
|
${({theme:e})=>`
|
|
1297
1297
|
align-items: center;
|
|
1298
1298
|
background-color: ${e.palette.gray[200]};
|
|
@@ -1304,7 +1304,7 @@
|
|
|
1304
1304
|
transition: 0.2s;
|
|
1305
1305
|
width: 36px;
|
|
1306
1306
|
`}
|
|
1307
|
-
`,
|
|
1307
|
+
`,Bi=o.dt.div`
|
|
1308
1308
|
${({theme:e})=>`
|
|
1309
1309
|
background-color: ${e.palette.white};
|
|
1310
1310
|
border-radius: 50%;
|
|
@@ -1315,7 +1315,7 @@
|
|
|
1315
1315
|
width: ${e.spacing[1]};
|
|
1316
1316
|
z-index: 1;
|
|
1317
1317
|
`}
|
|
1318
|
-
`,
|
|
1318
|
+
`,Mi=o.dt.label`
|
|
1319
1319
|
display: inline-block;
|
|
1320
1320
|
|
|
1321
1321
|
input {
|
|
@@ -1342,22 +1342,22 @@
|
|
|
1342
1342
|
background-color: ${({theme:e})=>e.palette.gray[200]};
|
|
1343
1343
|
border: 1px solid ${({theme:e})=>e.palette.gray[200]};
|
|
1344
1344
|
}
|
|
1345
|
-
`,
|
|
1345
|
+
`,Tt=g.forwardRef(function({defaultChecked:n,disabled:i=!1,justify:a,name:r,leftDescription:s,rightDescription:l,...c},d){const p=n===!0?"on":"off",u=typeof s=="object"&&s.on&&s.off?s[p]:s,x=g.useCallback(f=>{f.stopPropagation()},[]);return t.jsxs(h,{alignItems:"center",display:"flex",fontSize:"14px",gap:.75,justify:a,children:[u,t.jsxs(Mi,{onClick:x,role:"switch",children:[t.jsx("input",{...c,"aria-disabled":i,"aria-label":r,checked:n===!0,disabled:i,name:r,ref:d,type:"checkbox"}),t.jsx(re,{"aria-label":"Toggle Switch",id:`${r}Toggle`,children:t.jsx(Bi,{})})]}),l]})}),Oi=({id:e,title:n,toggles:i,minWidth:a="auto",height:r="auto"})=>{const s=o.nt();return t.jsxs(h,{alignItems:"center",bgColor:s.palette.white,border:`1px solid ${s.palette.gray[200]}`,borderRadius:s.spacing[.25],display:"flex",flexDirection:"column",gap:.5,height:r,justify:"center",minHeight:"100px",minWidth:a,padding:[1.25,1.25,1.25,1.25],children:[t.jsx(ze,{id:e,title:n}),t.jsx(h,{display:"flex",flexDirection:"column",gap:.5,minHeight:"40px",width:"100%",children:i.map(l=>t.jsx(Tt,{...l},`$card-toggle-${l.name}`))})]})},Ai=o.dt.div`
|
|
1346
1346
|
position: relative;
|
|
1347
1347
|
margin: auto;
|
|
1348
1348
|
overflow: hidden;
|
|
1349
|
-
`,
|
|
1349
|
+
`,Hi=o.dt.div`
|
|
1350
1350
|
display: flex;
|
|
1351
1351
|
transition: transform 0.5s ease-in-out;
|
|
1352
1352
|
transform: translateX(
|
|
1353
1353
|
${({$currentIndex:e})=>-e*100}%
|
|
1354
1354
|
);
|
|
1355
|
-
`,_i=
|
|
1355
|
+
`,_i=o.dt.div`
|
|
1356
1356
|
align-items: center;
|
|
1357
1357
|
display: flex;
|
|
1358
1358
|
justify-content: center;
|
|
1359
1359
|
min-width: 100%;
|
|
1360
|
-
`,Vi=
|
|
1360
|
+
`,Vi=o.dt.button`
|
|
1361
1361
|
${({theme:e,$isActive:n})=>`
|
|
1362
1362
|
background-color: ${n?e.palette.primary[400]:e.palette.white};
|
|
1363
1363
|
border: none;
|
|
@@ -1366,13 +1366,13 @@
|
|
|
1366
1366
|
height: ${e.spacing[.75]};
|
|
1367
1367
|
width: ${e.spacing[.75]};
|
|
1368
1368
|
`}
|
|
1369
|
-
`,
|
|
1369
|
+
`,Gi=o.dt.div`
|
|
1370
1370
|
align-items: center;
|
|
1371
1371
|
display: flex;
|
|
1372
1372
|
gap: ${({theme:e})=>e.spacing[.5]};
|
|
1373
1373
|
justify-content: center;
|
|
1374
1374
|
margin-top: ${({theme:e})=>e.spacing[2]};
|
|
1375
|
-
`,
|
|
1375
|
+
`,Ui=({slides:e,interval:n=300})=>{const{cycle:i,setCycle:a,setProgress:r}=Ct(n,e.length),s=g.useCallback(l=>()=>{a(l),r(0)},[a,r]);return t.jsxs(Ai,{"aria-roledescription":"carousel",children:[t.jsx(Hi,{$currentIndex:i,children:e.map((l,c)=>{const d=`slide-${c}`;return t.jsx(_i,{"aria-label":d,"aria-roledescription":"slide",children:l.content},d)})}),t.jsx(Gi,{children:e.map((l,c)=>{const d=`nav-button-${c}`;return t.jsx(Vi,{$isActive:c===i,"aria-label":`Go to slide ${c+1}`,"data-testid":c===i?"active":"inactive",onClick:s(c)},d)})})]})},Nt=o.dt.div`
|
|
1376
1376
|
${({theme:e})=>`
|
|
1377
1377
|
background-color: ${e.palette.gray[100]};
|
|
1378
1378
|
border-radius: ${e.spacing[.25]};
|
|
@@ -1424,7 +1424,7 @@
|
|
|
1424
1424
|
padding-bottom: unset;
|
|
1425
1425
|
}
|
|
1426
1426
|
`}
|
|
1427
|
-
`,
|
|
1427
|
+
`,Yi=o.dt.div`
|
|
1428
1428
|
${({theme:e})=>`
|
|
1429
1429
|
align-items: end;
|
|
1430
1430
|
background-color: ${e.palette.gray[100]};
|
|
@@ -1442,121 +1442,13 @@
|
|
|
1442
1442
|
background-color: ${e.palette.gray[200]};
|
|
1443
1443
|
}
|
|
1444
1444
|
`}
|
|
1445
|
-
`,
|
|
1446
|
-
`);return
|
|
1445
|
+
`,Ki=({noCodeMessage:e="Code snippet not available",snippet:n})=>{const i=o.nt(),[a,r]=g.useState(!1),[s,l]=g.useState(!0),c=g.useCallback(()=>{r(x=>!x)},[r]),d=g.useCallback(()=>{if(o._.isNil(n)||o._.isEmpty(n)||!o._.isString(n))return l(!1),e;const x=n.split(`
|
|
1446
|
+
`);return x.length>8&&!a?`${[...x].splice(0,7).join(`
|
|
1447
1447
|
`)}
|
|
1448
|
-
${
|
|
1449
|
-
${({theme:e})=>`
|
|
1450
|
-
align-items: center;
|
|
1451
|
-
background-color: ${e.palette.white};
|
|
1452
|
-
color: ${e.palette.gray[800]};
|
|
1453
|
-
cursor: pointer;
|
|
1454
|
-
display: flex;
|
|
1455
|
-
font-size: ${e.typography.text.sm};
|
|
1456
|
-
font-weight: ${e.typography.weight.regular};
|
|
1457
|
-
justify-content: space-between;
|
|
1458
|
-
gap: ${e.spacing[.625]};
|
|
1459
|
-
line-height: ${e.spacing[1.25]};
|
|
1460
|
-
list-style-type: none;
|
|
1461
|
-
min-height: 40px;
|
|
1462
|
-
min-width: 240px;
|
|
1463
|
-
padding: ${e.spacing[.625]} ${e.spacing[1]};
|
|
1464
|
-
pointer-events: auto;
|
|
1465
|
-
|
|
1466
|
-
p,
|
|
1467
|
-
a {
|
|
1468
|
-
word-break: break-word;
|
|
1469
|
-
}
|
|
1470
|
-
|
|
1471
|
-
& > label {
|
|
1472
|
-
margin: unset;
|
|
1473
|
-
}
|
|
1474
|
-
|
|
1475
|
-
a {
|
|
1476
|
-
color: ${e.palette.gray[500]};
|
|
1477
|
-
}
|
|
1478
|
-
|
|
1479
|
-
&[aria-disabled="true"] {
|
|
1480
|
-
color: ${e.palette.gray[300]};
|
|
1481
|
-
pointer-events: none;
|
|
1482
|
-
|
|
1483
|
-
a {
|
|
1484
|
-
color: ${e.palette.gray[300]};
|
|
1485
|
-
}
|
|
1486
|
-
}
|
|
1487
|
-
|
|
1488
|
-
&[aria-selected="true"] {
|
|
1489
|
-
background-color: ${e.palette.gray[200]};
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
&:hover:not([aria-selected="true"]) {
|
|
1493
|
-
background-color: ${e.palette.gray[100]};
|
|
1494
|
-
}
|
|
1495
|
-
`}
|
|
1496
|
-
`,Tt=a.dt.ul`
|
|
1497
|
-
${({theme:e})=>`
|
|
1498
|
-
background-color: ${e.palette.white};
|
|
1499
|
-
border: 1px solid ${e.palette.gray[200]};
|
|
1500
|
-
border-radius: ${e.spacing[.25]};
|
|
1501
|
-
box-shadow: ${e.shadows.md};
|
|
1502
|
-
display: inline-block;
|
|
1503
|
-
margin: unset;
|
|
1504
|
-
min-width: 240px;
|
|
1505
|
-
padding: ${e.spacing[.25]} 0 ${e.spacing[.25]} 0;
|
|
1506
|
-
`}
|
|
1507
|
-
`,Te=({children:e,disabled:n=!1,icon:i,iconType:o="fa-light",href:r,onClick:s,onKeyDown:l,rightIcon:c,selected:d=!1,value:p,...u})=>{const x=a.nt().palette.gray[n?300:800],h=n?g.Children.map(e,$=>g.isValidElement($)?g.cloneElement($,{disabled:n,...$.props}):$):e;return t.jsxs(qi,{"aria-disabled":n,"aria-label":p,"aria-selected":d,"data-testid":p,onClick:s,onKeyDown:l,value:p,...u,children:[i!==void 0||p!==void 0?t.jsxs(b,{alignItems:"center",display:"flex",gap:.625,children:[i?t.jsx(v,{disabled:n,icon:i,iconColor:x,iconSize:"xs",iconType:o}):null,r===void 0?h:t.jsx(Z,{href:r,children:h})]}):null,d||c?t.jsx(v,{disabled:n,icon:c??"check",iconColor:x,iconSize:"xs",iconType:o}):null]})},Xi=a.dt(Te)`
|
|
1508
|
-
padding: 7px 8px;
|
|
1509
|
-
|
|
1510
|
-
svg.fa-check {
|
|
1511
|
-
border-radius: 2px;
|
|
1512
|
-
}
|
|
1513
|
-
`,Zi=e=>e.reduce((i,o)=>i[o.name]?{...i,[o.name]:[...i[o.name],o]}:{...i,[o.name]:[o]},{}),Ji=a.dt.input`
|
|
1514
|
-
${({theme:e})=>`
|
|
1515
|
-
background: none;
|
|
1516
|
-
border: none !important;
|
|
1517
|
-
box-shadow: none;
|
|
1518
|
-
box-sizing: border-box;
|
|
1519
|
-
color: ${e.palette.gray[800]};
|
|
1520
|
-
font-family: ${e.typography.type.primary};
|
|
1521
|
-
font-size: ${e.typography.text.sm};
|
|
1522
|
-
outline: none;
|
|
1523
|
-
width: 100%;
|
|
1524
|
-
|
|
1525
|
-
&::placeholder {
|
|
1526
|
-
color: ${e.palette.gray[400]};
|
|
1527
|
-
}
|
|
1528
|
-
`}
|
|
1529
|
-
`,Qi=a.dt.div`
|
|
1530
|
-
${({theme:e})=>`
|
|
1531
|
-
align-items: center;
|
|
1532
|
-
background-color: ${e.palette.white};
|
|
1533
|
-
border: 1px solid ${e.palette.gray[300]};
|
|
1534
|
-
border-radius: ${e.spacing[.5]};
|
|
1535
|
-
display: flex;
|
|
1536
|
-
height: 40px;
|
|
1537
|
-
gap: ${e.spacing[.5]};
|
|
1538
|
-
padding: ${e.spacing[.5]};
|
|
1539
|
-
width: 100%;
|
|
1540
|
-
|
|
1541
|
-
&:hover {
|
|
1542
|
-
border-color: ${e.palette.gray[600]};
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
&:focus-within {
|
|
1546
|
-
border: 2px solid ${e.palette.black};
|
|
1547
|
-
}
|
|
1548
|
-
`}
|
|
1549
|
-
`,er=a.dt.div`
|
|
1550
|
-
${({theme:e})=>`
|
|
1551
|
-
background-color: ${e.palette.white};
|
|
1552
|
-
border-radius: ${e.spacing[.5]};
|
|
1553
|
-
width: 250px;
|
|
1554
|
-
`}
|
|
1555
|
-
`,se=g.forwardRef(function({name:n,smallSearch:i=!1,value:o,...r},s){const l=a.nt(),[c,d]=g.useState(!1),{refs:p,floatingStyles:u}=a.useFloating(),f=g.useCallback(()=>{d(h=>!h)},[]);Q(p.floating.current,()=>{d(!1)},!0);const x=t.jsxs(Qi,{children:[t.jsx(v,{icon:"magnifying-glass",iconColor:l.palette.gray[700],iconSize:"xs",iconType:"fa-light"}),t.jsx(Ji,{...r,id:n,name:n,ref:s,value:o}),!a.lodashExports.isEmpty(o)&&t.jsx(O,{icon:"xmark",iconColor:l.palette.gray[300],iconSize:"xs",iconType:"fa-light",px:.25,py:.25,type:"reset",variant:"ghost"})]});return i?t.jsxs(g.Fragment,{children:[t.jsx(O,{border:`1px solid ${l.palette.gray[300]} !important`,icon:"magnifying-glass",iconSize:"xs",iconType:"fa-light",onClick:f,ref:p.setReference,variant:"ghost"}),c?t.jsx(er,{ref:p.setFloating,style:u,children:x}):void 0]}):x}),Nt=({columns:e,formId:n,onChangeHandler:i,variant:o})=>o==="grouped"?t.jsxs(b,{display:"flex",flexDirection:"column",gap:.625,py:1.25,width:"55%",children:[t.jsx(se,{}),t.jsx("form",{id:n,style:{display:"flex",flexDirection:"column",gap:"0.625rem",overflowY:"auto",overflowX:"hidden"},children:Object.entries(Zi(e)).map(([r,s])=>{const l=`li-checkbox${r}`;return t.jsx(wt,{checkboxesName:r,onChange:i,options:s,title:r},l)})})]}):t.jsxs(b,{py:1.25,width:"55%",children:[t.jsx(se,{}),t.jsx("form",{id:n,style:{paddingTop:"0.625rem",overflowY:"auto",overflowX:"hidden"},children:e.map((r,s)=>{const l=`li-checkbox${s}`;return t.jsx(Xi,{value:l,width:"content",children:t.jsx(Ie,{defaultChecked:r.defaultChecked,disabled:r.disabled,label:r.label,name:r.name,onChange:i,value:r.value})},l)})})]}),{getVariant:tr}=U(e=>({fixed:`
|
|
1448
|
+
${x[8]}...`:(x.length<8&&l(!1),n)},[a,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(async()=>{await navigator.clipboard.writeText(p)},[p]);return t.jsxs(h,{bgColor:i.palette.gray[100],borderRadius:"4px",display:"inline-flex",minWidth:"565px",position:"relative",children:[t.jsx(Nt,{"data-private":!0,children:t.jsx("pre",{children:t.jsx("code",{className:"language-none",children:p})})}),t.jsxs(Yi,{children:[t.jsx(O,{height:i.spacing[2.5],icon:"copy",iconColor:i.palette.gray[700],iconSize:"xs",iconType:"fa-light",onClick:u,variant:"ghost",width:i.spacing[2.5]}),s?t.jsxs(E,{onClick:c,variant:"ghost",children:[a?"Show Less":"Show more",t.jsx(v,{icon:a?"chevron-up":"chevron-down",iconColor:i.palette.gray[700],iconSize:"xxs",iconType:"fa-light",ml:.25,onClick:u})]}):!1]})]})},qi=({noCodeMessage:e="Code snippet not available",snippet:n,specific:i})=>(g.useEffect(()=>{o.prismExports.highlightAll()},[]),t.jsx(Nt,{"data-private":!0,children:t.jsx("pre",{className:"line-highlight","data-line-offset":o._.isNil(n)||o._.isString(n)?0:n.offset+.7,...i!==void 0?{"data-line":String(Number(i))}:{},children:o._.isNil(n)||o._.isString(n)||o._.isEmpty(n.content)?t.jsx("div",{className:"no-data",children:t.jsx("p",{children:e})}):t.jsx("code",{className:"language-none",children:n.content})})})),{getVariant:Xi}=U(e=>({fixed:`
|
|
1556
1449
|
width: 300px;
|
|
1557
1450
|
padding: ${e.spacing[1.25]};
|
|
1558
1451
|
overflow: hidden auto;
|
|
1559
|
-
gap: ${e.spacing[1.25]};
|
|
1560
1452
|
`,lg:`
|
|
1561
1453
|
width: 80%;
|
|
1562
1454
|
|
|
@@ -1575,13 +1467,13 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1575
1467
|
@media screen and (min-width: ${e.breakpoints.sm}) {
|
|
1576
1468
|
width: 32%;
|
|
1577
1469
|
}
|
|
1578
|
-
`})),
|
|
1470
|
+
`})),Zi=o.dt.div.attrs({className:"comp-modal fixed inset-0 overflow-auto"})`
|
|
1579
1471
|
align-items: center;
|
|
1580
1472
|
background-color: rgb(52 64 84 / 70%);
|
|
1581
1473
|
display: flex;
|
|
1582
1474
|
justify-content: center;
|
|
1583
1475
|
z-index: 99999;
|
|
1584
|
-
`,
|
|
1476
|
+
`,be=o.dt(h)`
|
|
1585
1477
|
${({theme:e,$size:n})=>`
|
|
1586
1478
|
background-color: ${e.palette.white};
|
|
1587
1479
|
border: 1px solid ${e.palette.gray[200]};
|
|
@@ -1606,14 +1498,15 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1606
1498
|
}
|
|
1607
1499
|
}
|
|
1608
1500
|
|
|
1609
|
-
${
|
|
1501
|
+
${Xi(e,n)}
|
|
1610
1502
|
`}
|
|
1611
|
-
`,
|
|
1503
|
+
`,Ji=o.dt.div`
|
|
1612
1504
|
${({theme:e})=>`
|
|
1613
1505
|
background-color: ${e.palette.white};
|
|
1614
1506
|
border-bottom: 1px solid ${e.palette.gray[200]};
|
|
1615
1507
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
1616
1508
|
display: flex;
|
|
1509
|
+
flex-direction: column;
|
|
1617
1510
|
overflow: hidden auto;
|
|
1618
1511
|
padding: ${e.spacing[1.5]};
|
|
1619
1512
|
scrollbar-color: ${e.palette.gray[600]} ${e.palette.gray[100]};
|
|
@@ -1624,7 +1517,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1624
1517
|
padding: 0;
|
|
1625
1518
|
}
|
|
1626
1519
|
`}
|
|
1627
|
-
`,
|
|
1520
|
+
`,Qi=o.dt.div`
|
|
1628
1521
|
border-radius: ${({theme:e})=>`${e.spacing[.25]} ${e.spacing[.25]} 0 0`};
|
|
1629
1522
|
display: block;
|
|
1630
1523
|
overflow: unset;
|
|
@@ -1633,7 +1526,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1633
1526
|
max-width: 100%;
|
|
1634
1527
|
padding: ${({theme:e})=>`${e.spacing[1.25]}`};
|
|
1635
1528
|
position: sticky;
|
|
1636
|
-
`,
|
|
1529
|
+
`,er=o.dt.div.attrs({className:"flex items-center justify-between mb-1.5"})``,tr=o.dt.div`
|
|
1637
1530
|
${({theme:e})=>`
|
|
1638
1531
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
1639
1532
|
display: flex;
|
|
@@ -1664,7 +1557,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1664
1557
|
margin-right: 0;
|
|
1665
1558
|
}
|
|
1666
1559
|
`}
|
|
1667
|
-
`,
|
|
1560
|
+
`,nr=o.dt.div`
|
|
1668
1561
|
img {
|
|
1669
1562
|
margin: 0 calc(-${({theme:e})=>e.spacing[1.25]} - 1px)
|
|
1670
1563
|
${({theme:e})=>e.spacing[1.25]};
|
|
@@ -1680,7 +1573,99 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1680
1573
|
margin-right: 0;
|
|
1681
1574
|
`:""}
|
|
1682
1575
|
}
|
|
1683
|
-
`,Rt=({alert:e,modalRef:n,confirmButton:i=void 0,cancelButton:
|
|
1576
|
+
`,Rt=({alert:e,modalRef:n,confirmButton:i=void 0,cancelButton:a=void 0})=>{const{close:r}=n,s=g.useCallback(()=>{a!=null&&a.onClick&&a.onClick(),r()},[a,r]),l=g.useCallback(()=>{i!=null&&i.onClick&&i.onClick(),r()},[i,r]);return[i,a].some(d=>!o.lodashExports.isEmpty(d))?t.jsxs(h,{display:"flex",flexDirection:"column",gap:.625,position:"sticky",px:1.25,py:1.25,children:[e,t.jsx(tr,{children:t.jsxs("div",{children:[a&&t.jsx(E,{onClick:s,variant:"tertiary",width:"100%",children:a.text}),i&&t.jsx(E,{onClick:l,variant:"primary",width:"100%",children:i.text})]})})]}):null},ir=o.dt.button`
|
|
1577
|
+
${({theme:e})=>`
|
|
1578
|
+
align-items: center;
|
|
1579
|
+
color: ${e.palette.gray[500]};
|
|
1580
|
+
display: flex;
|
|
1581
|
+
gap: ${e.spacing[.625]};
|
|
1582
|
+
justify-content: center;
|
|
1583
|
+
padding: ${e.spacing[.75]};
|
|
1584
|
+
text-align: center;
|
|
1585
|
+
width: 151px;
|
|
1586
|
+
|
|
1587
|
+
&.active {
|
|
1588
|
+
color: ${e.palette.gray[800]};
|
|
1589
|
+
border-bottom: 3px solid ${e.palette.primary[400]};
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
&:hover {
|
|
1593
|
+
color: ${e.palette.gray[800]};
|
|
1594
|
+
}
|
|
1595
|
+
`}
|
|
1596
|
+
`,rr=o.dt.div`
|
|
1597
|
+
${({theme:e})=>`
|
|
1598
|
+
align-items: center;
|
|
1599
|
+
border-bottom: 2px solid ${e.palette.gray[200]};
|
|
1600
|
+
display: flex;
|
|
1601
|
+
gap: ${e.spacing[3]};
|
|
1602
|
+
height: ${e.spacing[3]};
|
|
1603
|
+
width: max-content;
|
|
1604
|
+
`}
|
|
1605
|
+
`,ar=(e,n,i)=>i?n==="secondary"?`3px solid ${e.palette.primary[100]}`:`3px solid ${e.palette.primary[500]}`:"unset",or=o.dt.div`
|
|
1606
|
+
display: flex;
|
|
1607
|
+
flex-direction: row;
|
|
1608
|
+
gap: ${({theme:e})=>e.spacing[.25]};
|
|
1609
|
+
border-bottom: ${({theme:e,$borderButton:n,$variant:i})=>ar(e,i,n)};
|
|
1610
|
+
align-items: center;
|
|
1611
|
+
padding: ${({theme:e})=>e.spacing[.625]}
|
|
1612
|
+
${({theme:e})=>e.spacing[.5]};
|
|
1613
|
+
padding-bottom: ${({theme:e,$borderButton:n})=>n?`calc(${e.spacing[.625]} - 2px)`:e.spacing[.625]};
|
|
1614
|
+
|
|
1615
|
+
&:hover:not([disabled]) {
|
|
1616
|
+
background-color: ${({theme:e})=>e.palette.gray[100]};
|
|
1617
|
+
color: ${({theme:e})=>e.palette.gray[800]};
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
a {
|
|
1621
|
+
align-items: center;
|
|
1622
|
+
background: transparent;
|
|
1623
|
+
color: ${({theme:e})=>e.palette.gray[800]};
|
|
1624
|
+
font-family: ${({theme:e})=>e.typography.type.primary};
|
|
1625
|
+
font-size: ${({theme:e})=>e.typography.text.sm};
|
|
1626
|
+
display: flex;
|
|
1627
|
+
font-weight: ${({theme:e})=>e.typography.weight.regular};
|
|
1628
|
+
position: relative;
|
|
1629
|
+
text-align: center;
|
|
1630
|
+
text-decoration: unset;
|
|
1631
|
+
width: auto;
|
|
1632
|
+
cursor: pointer;
|
|
1633
|
+
|
|
1634
|
+
&:disabled {
|
|
1635
|
+
cursor: not-allowed;
|
|
1636
|
+
background-color: ${({theme:e})=>e.palette.gray[300]};
|
|
1637
|
+
color: ${({theme:e})=>e.palette.gray[300]};
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
&.active {
|
|
1641
|
+
background-color: transparent;
|
|
1642
|
+
|
|
1643
|
+
&:hover {
|
|
1644
|
+
background-color: transparent;
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
`,sr=o.dt(ne)`
|
|
1649
|
+
${({theme:e,$variant:n})=>`
|
|
1650
|
+
align-items: center;
|
|
1651
|
+
background: ${n==="error"?e.palette.primary[400]:e.palette.warning[500]};
|
|
1652
|
+
border-radius: 100%;
|
|
1653
|
+
font-family: ${e.typography.type.primary};
|
|
1654
|
+
justify-content: center;
|
|
1655
|
+
padding: 0;
|
|
1656
|
+
position: absolute;
|
|
1657
|
+
z-index: 11;
|
|
1658
|
+
width: ${e.spacing[.5]};
|
|
1659
|
+
height: ${e.spacing[.5]};
|
|
1660
|
+
`}
|
|
1661
|
+
`,lr=o.dt.div`
|
|
1662
|
+
align-items: center;
|
|
1663
|
+
color: ${({theme:e})=>e.palette.white};
|
|
1664
|
+
display: flex;
|
|
1665
|
+
font-size: 6px;
|
|
1666
|
+
font-weight: ${({theme:e})=>e.typography.weight.bold};
|
|
1667
|
+
justify-content: center;
|
|
1668
|
+
`,Et=g.forwardRef(function({numberIndicator:n,show:i,variant:a="error",...r},s){return t.jsx(sr,{$variant:a,className:i?"flex":"hidden","data-testid":"notification-sign",ref:s,...r,children:n&&t.jsx(lr,{children:n<=9?n:9})})}),Dt=({end:e=!1,label:n,id:i,isActive:a=!1,link:r,notificationSign:s,onClick:l,tooltip:c="",variant:d="primary",tag:p})=>{const{pathname:u}=De.useLocation(),x=a||(d==="primary"?u.includes(r):u.endsWith(r));return t.jsx(Y,{display:"flex",id:`${i}-tooltip`,tip:c,children:t.jsxs(or,{$borderButton:x,$variant:d,children:[t.jsxs(De.NavLink,{end:e,id:i,onClick:l,to:r,children:[n,t.jsx(Et,{left:s==null?void 0:s.left,numberIndicator:s==null?void 0:s.numberIndicator,show:s==null?void 0:s.show,top:s==null?void 0:s.top,variant:s==null?void 0:s.variant})]}),p===void 0?null:t.jsx(J,{tagLabel:`${p}`,variant:"default"})]})})},Ve=({items:e,borders:n=!0,box:i=!1,variant:a="primary"})=>{const r=o.nt();return t.jsx(h,{alignItems:"center",bgColor:r.palette.white,border:i?"1px solid":void 0,borderBottom:n?`1px solid ${r.palette.gray[300]}`:void 0,borderColor:i?r.palette.gray[200]:void 0,borderRadius:i?r.spacing[.25]:void 0,display:"inline-flex",gap:.25,id:"tablist",padding:i?[0,0,0,0]:void 0,pl:n?1.25:void 0,pr:n?1.25:void 0,role:"tablist",width:i?"max-content":"100%",children:e.map(({end:s,id:l,isActive:c,link:d,label:p,notificationSign:u,onClick:x,tag:f,tooltip:b})=>t.jsx(Dt,{end:s,id:l,isActive:c,label:p,link:d,notificationSign:u,onClick:x,tag:f,tooltip:b,variant:a},l))})},Ft=({tabItems:e,title:n,description:i,modalRef:a,otherActions:r,onClose:s})=>{const l=o.nt(),c=g.useCallback(()=>{s==null||s(),a.close()},[a,s]);return g.useEffect(()=>{const d=p=>{p.key==="Escape"&&c()};return window.addEventListener("keydown",d),()=>{window.removeEventListener("keydown",d)}},[c]),t.jsxs(t.Fragment,{children:[t.jsxs(Qi,{children:[t.jsxs(er,{children:[typeof n=="string"?t.jsx(W,{fontWeight:"bold",lineSpacing:1.75,mr:1,size:"sm",children:n}):n,t.jsxs("div",{className:"items-center flex gap-3",children:[r,t.jsx(O,{icon:"close",iconColor:l.palette.gray[400],iconSize:"xs",iconTransform:"grow-2",iconType:"fa-light",id:"modal-close",onClick:c,px:.25,py:.25,variant:"ghost"})]})]}),i&&o.lodashExports.isString(i)&&!o.lodashExports.isEmpty(i)?t.jsx(j,{mt:.5,size:"sm",children:i}):i]}),e&&t.jsx(h,{borderTop:`1px solid ${l.palette.gray[300]}`,display:"block",pb:1.25,position:"sticky",children:t.jsx(Ve,{items:e})})]})},Pt=({disabled:e,id:n="modal-confirm",onCancel:i,onConfirm:a="submit",txtCancel:r,txtConfirm:s})=>{const l=a==="submit";return t.jsxs(h,{display:"flex",gap:.75,maxWidth:i?"392px":"190px",mt:1.5,children:[i?t.jsx(E,{id:`${n}-cancel`,justify:"center",onClick:i,variant:"tertiary",width:"100%",children:r??"Cancel"}):void 0,t.jsx(E,{disabled:e,id:n,justify:"center",onClick:l?void 0:a,type:l?"submit":"button",variant:"primary",width:"100%",children:s??"Confirm"})]})},Lt=({_portal:e=!0,alert:n,cancelButton:i=void 0,children:a=void 0,confirmButton:r=void 0,content:s=void 0,description:l="",modalRef:c,otherActions:d=void 0,onClose:p=void 0,tabItems:u,title:x="",size:f,id:b="modal-container"})=>{const $=()=>t.jsx(Zi,{"aria-label":c.name,"aria-modal":"true",id:"modal-wrapper",children:t.jsxs(be,{$size:f,"data-testid":b,id:b,children:[!o._.isEmpty(x)&&t.jsx(Ft,{description:l,modalRef:c,onClose:p,otherActions:d,tabItems:u,title:x}),(o._.isObject(s)||a)&&t.jsxs(Ji,{children:[a,o._.isObject(s)&&o._.isString(s.imageSrc)&&t.jsx(nr,{$framed:s.imageFramed,children:t.jsx(G,{alt:"modal-img",publicId:s.imageSrc})}),o._.isObject(s)&&o._.isString(s.imageText)&&t.jsx(j,{size:"sm",children:s.imageText})]}),t.jsx(Rt,{alert:n,cancelButton:i,confirmButton:r,modalRef:c})]})});return e&&c.isOpen?te.createPortal($(),document.getElementById("portals")??document.body):c.isOpen?$():null},cr=()=>{const[e,n]=g.useState(!1),[i,a]=g.useState(),r=g.useRef(null),s=zt("confirm-dialog-modal"),l=g.useCallback(async u=>(a(u),n(!0),new Promise(x=>{r.current=x})),[]),c=g.useCallback(()=>{var u;n(!1),a(void 0),(u=r.current)==null||u.call(r,!0)},[]),d=g.useCallback(()=>{var u;n(!1),a(void 0),(u=r.current)==null||u.call(r,!1)},[]);return g.useEffect(()=>{s.setIsOpen(e)},[e,s]),{ConfirmDialog:({id:u="confirm-dialog-modal",children:x})=>t.jsx(Lt,{id:u,modalRef:{...s,close:d},size:"sm",title:i==null?void 0:i.title,children:t.jsxs(h,{display:"flex",flexDirection:"column",children:[x,i==null?void 0:i.message,t.jsx(Pt,{id:i==null?void 0:i.id,onCancel:d,onConfirm:c})]})}),confirm:l}},dr=o.dt.button`
|
|
1684
1669
|
display: flex;
|
|
1685
1670
|
position: relative;
|
|
1686
1671
|
height: 32px;
|
|
@@ -1703,7 +1688,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1703
1688
|
display: none;
|
|
1704
1689
|
}
|
|
1705
1690
|
}
|
|
1706
|
-
`,
|
|
1691
|
+
`,pr=o.dt.div`
|
|
1707
1692
|
${({theme:e})=>`
|
|
1708
1693
|
display: flex;
|
|
1709
1694
|
flex-direction: column;
|
|
@@ -1744,7 +1729,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1744
1729
|
}
|
|
1745
1730
|
}
|
|
1746
1731
|
`}
|
|
1747
|
-
`,
|
|
1732
|
+
`,Le=({containerRef:e,id:n})=>{const i=o.nt(),a=n==="desktop"?380:342,r=g.useCallback(l=>()=>{if(e!=null&&e.current){const{current:c}=e;c.scrollBy({left:l==="right"?a:-a,behavior:"smooth"})}},[e,a]),s=g.useCallback(l=>t.jsxs(dr,{onClick:r(l),children:[t.jsx(v,{clickable:!0,icon:`circle-arrow-${l}`,iconClass:"hovered",iconColor:i.palette.gray[800],iconSize:"md",iconType:"fa-solid"}),t.jsx(v,{clickable:!0,icon:`circle-arrow-${l}`,iconClass:"uncover",iconColor:i.palette.gray[800],iconSize:"md",iconType:"fa-light"})]}),[r,i]);return t.jsxs(h,{alignItems:"center",display:"flex",gap:1,id:n,width:"max-content",children:[s("left"),s("right")]})},We=({tag:e,tagPosition:n})=>{const i=o.nt();return e?t.jsx(h,{alignItems:"center",bgColor:i.palette.white,borderRadius:"8px",display:"flex",justify:"center",margin:n==="top"?[.75,.75,.75,.75]:void 0,padding:[.25,.5,.25,.5],position:n==="top"?"absolute":"relative",top:"0",width:"max-content",children:t.jsx(j,{color:i.palette.gray[900],lineSpacing:1.5,lineSpacingSm:1.25,size:"md",sizeSm:"sm",textAlign:"center",children:e})}):null},Wt=({eventDate:e})=>{const n=o.nt(),i=o.lodashExports.isEmpty(e)?null:e==null?void 0:e.split("-");if(i){const[a,r]=i;return t.jsxs(h,{alignItems:"center",bgColor:n.palette.white,borderRadius:"8px",display:"flex",flexDirection:"column",margin:[.75,.75,.75,.75],padding:[.75,1.5,.75,1.5],position:"absolute",right:"0",shadow:"md",top:"0",children:[t.jsx(W,{fontWeight:"semibold",lineSpacingSm:1.25,size:"md",sizeSm:"sm",textAlign:"center",children:a}),t.jsx(j,{color:n.palette.gray[800],fontWeight:"semibold",lineSpacing:1.5,lineSpacingSm:1.25,size:"md",sizeSm:"sm",textAlign:"center",children:r.toUpperCase()})]})}return null},gr=o.dt.div`
|
|
1748
1733
|
${({theme:e})=>`
|
|
1749
1734
|
align-items: flex-start;
|
|
1750
1735
|
display: flex;
|
|
@@ -1789,7 +1774,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1789
1774
|
}
|
|
1790
1775
|
}
|
|
1791
1776
|
`}
|
|
1792
|
-
`,
|
|
1777
|
+
`,Bt=({author:e,buttonText:n,description:i,eventDate:a,href:r,imageId:s,mode:l="light",publishDate:c,readingTime:d,tag:p,tagPosition:u="top",title:x})=>{const f=o.nt(),b=c==null?void 0:c.split("-"),$=l==="dark",m=t.jsxs(gr,{"data-testid":`content-card-${x}`,children:[s||a||p&&u==="top"?t.jsxs(h,{id:"card-image",position:"relative",children:[s&&t.jsx(G,{publicId:s}),u==="top"&&t.jsx(We,{tag:p,tagPosition:u}),t.jsx(Wt,{eventDate:a})]}):void 0,t.jsxs(h,{alignItems:"flex-start",display:"flex",flexDirection:"column",gap:.5,id:"card-content",children:[u==="bottom"&&t.jsx(We,{tag:p,tagPosition:u}),e||b||d?t.jsxs(h,{display:"flex",justify:"space-between",width:"100%",children:[e&&b&&t.jsx(j,{color:f.palette.gray[$?300:400],fontWeight:"semibold",size:"sm",sizeSm:"xs",children:e+` • ${b[0]} ${b[1]}, ${b[2]}`}),d&&t.jsxs(h,{alignItems:"center",display:"flex",gap:.25,justify:"center",minWidth:"60px",children:[t.jsx(v,{icon:"eye",iconColor:f.palette.gray[$?300:400],iconSize:"xs",iconType:"fa-light"}),t.jsx(j,{color:f.palette.gray[$?300:400],size:"sm",sizeSm:"xs",textAlign:"right",children:d})]})]}):void 0,t.jsx(W,{className:`title-${l}`,color:$?f.palette.white:f.palette.gray[800],fontWeight:"semibold",size:"sm",sizeSm:"xs",children:x}),i&&t.jsx(j,{color:f.palette.gray[$?100:600],size:"md",sizeSm:"sm",children:i}),n&&r&&t.jsx(E,{href:r,variant:"link",children:n})]})]});return r?t.jsx("a",{className:"flex w-fit",href:r,rel:"noopener noreferrer",target:"_self",children:m}):m},ur=({description:e,items:n,title:i,titleHighlighted:a})=>{const r=g.useRef(null);return t.jsxs(pr,{"data-testid":"content-card-carousel",children:[t.jsxs(h,{alignItems:"flex-start",display:"flex",justify:"space-between",children:[t.jsxs(h,{alignItems:"flex-start",display:"flex",flexDirection:"column",gap:.625,maxWidth:"800px",children:[t.jsxs(W,{display:"inline",fontWeight:"semibold",lineSpacing:2.25,lineSpacingSm:1.75,size:"lg",sizeSm:"md",children:[i+" "," ",t.jsx("span",{className:"inline",children:a})]}),t.jsx(j,{lineSpacing:1.5,lineSpacingSm:1.25,size:"md",sizeSm:"sm",children:e})]}),t.jsx(Le,{containerRef:r,id:"desktop"})]}),t.jsx(h,{alignSelf:"stretch",display:"flex",id:"carousel",pb:1,pr:2.25,ref:r,scroll:"x",children:t.jsx(h,{alignItems:"flex-start",display:"flex",gap:1.5,width:"max-content",children:n.map((s,l)=>t.jsx(Bt,{...s},`${l}-${s.title}`))})}),t.jsx(Le,{containerRef:r,id:"mobile"})]})},ee=g.forwardRef(function({color:n=C.palette.gray[100],mt:i=.5,mb:a=.5,...r},s){return t.jsx(h,{as:"hr",borderBottom:`1px solid ${n}`,mb:a,mt:i,ref:s,width:"100%",...r})}),Be=({buttonProps:e,variant:n})=>t.jsx(E,{onClick:e.onClick,variant:n,children:e.text}),xr=o.dt.div`
|
|
1793
1778
|
display: flex;
|
|
1794
1779
|
flex-direction: column;
|
|
1795
1780
|
align-items: center;
|
|
@@ -1797,7 +1782,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1797
1782
|
max-width: 900px;
|
|
1798
1783
|
white-space: pre-line;
|
|
1799
1784
|
margin: 0 auto;
|
|
1800
|
-
`,
|
|
1785
|
+
`,fr=o.dt.div`
|
|
1801
1786
|
display: flex;
|
|
1802
1787
|
flex-direction: row;
|
|
1803
1788
|
justify-content: center;
|
|
@@ -1810,7 +1795,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1810
1795
|
> img {
|
|
1811
1796
|
width: 100%;
|
|
1812
1797
|
}
|
|
1813
|
-
`,
|
|
1798
|
+
`,hr=o.dt.div`
|
|
1814
1799
|
display: flex;
|
|
1815
1800
|
flex-direction: row;
|
|
1816
1801
|
margin: 0;
|
|
@@ -1823,7 +1808,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1823
1808
|
> *:last-child {
|
|
1824
1809
|
margin-right: 0;
|
|
1825
1810
|
}
|
|
1826
|
-
`,
|
|
1811
|
+
`,tt={md:{description:"md",title:"lg"},sm:{description:"sm",title:"xs"}},br=({cancelButton:e=void 0,confirmButton:n=void 0,description:i,imageSrc:a="integrates/empty/addRoot",padding:r=1.25,title:s,size:l="md"})=>{const c=(n??e)!==void 0;return t.jsxs(xr,{$padding:r,children:[t.jsx(fr,{children:t.jsx(G,{alt:"empty-icon",publicId:a})}),t.jsx(W,{fontWeight:"bold",lineSpacing:1.75,mb:.25,size:tt[l].title,textAlign:"center",children:s}),t.jsx(j,{mb:c?2:void 0,size:tt[l].description,textAlign:"center",children:i}),c?t.jsxs(hr,{children:[e&&t.jsx(Be,{buttonProps:e,variant:"tertiary"}),n&&t.jsx(Be,{buttonProps:n,variant:"primary"})]}):void 0]})},$r=o.dt.form`
|
|
1827
1812
|
${({theme:e})=>`
|
|
1828
1813
|
align-items: flex-start;
|
|
1829
1814
|
align-self: stretch;
|
|
@@ -1833,14 +1818,14 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1833
1818
|
overflow: hidden auto;
|
|
1834
1819
|
width: 100%;
|
|
1835
1820
|
`}
|
|
1836
|
-
|
|
1821
|
+
`,yr=({alert:e,cancelLabel:n,children:i,id:a="modal-confirm",mode:r,onCancel:s,onSubmit:l,showButtons:c=!0,submitLabel:d,submitDisabled:p=!1,yupSchema:u,...x})=>{const f=o.nt(),b=o.useForm({...x,mode:r??"all",resolver:u?o.o(u):void 0});return t.jsx(o.FormProvider,{...b,children:t.jsx($r,{onSubmit:b.handleSubmit(l),children:t.jsxs(h,{scroll:"y",width:"100%",children:[t.jsx(h,{borderRadius:`0 0 ${f.spacing[.25]} ${f.spacing[.25]}`,display:"flex",flexDirection:"column",gap:.5,height:e?"calc(100% - 139px)":"calc(100% - 83px)",px:1.5,py:1.5,scroll:"y",children:i}),c&&t.jsxs(h,{borderRadius:`0 0 ${f.spacing[.25]} ${f.spacing[.25]}`,borderTop:`1px solid ${f.palette.gray[200]}`,display:"flex",flexDirection:"column",gap:.625,position:"sticky",px:1.25,py:1.25,children:[e,t.jsxs(h,{display:"flex",gap:.75,maxWidth:"392px",children:[s?t.jsx(E,{id:`${a}-cancel`,justify:"center",onClick:s,type:"reset",variant:"tertiary",width:"100%",children:n??"Cancel"}):void 0,t.jsx(E,{disabled:p,id:a,justify:"center",type:"submit",width:"100%",children:d??"Confirm"})]})]})]})})})},mr=o.dt(ne)`
|
|
1837
1822
|
display: grid;
|
|
1838
1823
|
gap: ${({$gap:e=1.25})=>`${e}rem`};
|
|
1839
1824
|
grid-template-columns: ${({$sm:e})=>`repeat(${e}, 1fr)`};
|
|
1840
1825
|
|
|
1841
|
-
${({theme:e,$xl:n,$lg:i,$md:
|
|
1826
|
+
${({theme:e,$xl:n,$lg:i,$md:a})=>`
|
|
1842
1827
|
@media (width >= ${e.breakpoints.sm}) {
|
|
1843
|
-
grid-template-columns: repeat(${
|
|
1828
|
+
grid-template-columns: repeat(${a}, 1fr);
|
|
1844
1829
|
}
|
|
1845
1830
|
|
|
1846
1831
|
@media (width >= ${e.breakpoints.md}) {
|
|
@@ -1851,7 +1836,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1851
1836
|
grid-template-columns: repeat(${n}, 1fr);
|
|
1852
1837
|
}
|
|
1853
1838
|
`}
|
|
1854
|
-
`,
|
|
1839
|
+
`,wr=g.forwardRef(function({children:n,md:i,sm:a,lg:r,xl:s,gap:l,...c},d){return t.jsx(mr,{$gap:l,$lg:r,$md:i,$sm:a,$xl:s,ref:d,...c,children:n})}),jr=o.dt.div`
|
|
1855
1840
|
${({theme:e,$itemsLength:n})=>`
|
|
1856
1841
|
display: flex;
|
|
1857
1842
|
background-color: ${e.palette.white};
|
|
@@ -1870,7 +1855,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1870
1855
|
width: 507px;
|
|
1871
1856
|
}
|
|
1872
1857
|
`}
|
|
1873
|
-
`,
|
|
1858
|
+
`,Ge=o.dt.div`
|
|
1874
1859
|
${({theme:e,$isSelected:n})=>`
|
|
1875
1860
|
align-items: center;
|
|
1876
1861
|
background-color: ${n?e.palette.gray[100]:e.palette.white};
|
|
@@ -1887,99 +1872,49 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
1887
1872
|
background-color: ${e.palette.gray[100]};
|
|
1888
1873
|
}
|
|
1889
1874
|
`}
|
|
1890
|
-
`,
|
|
1875
|
+
`,Mt=({isSelected:e=!1,label:n,onSelect:i})=>{const a=o.nt(),r=g.useCallback(()=>{i&&i(n)},[i,n]);return t.jsxs(Ge,{$isSelected:e,onClick:r,children:[e?t.jsx(v,{icon:"check",iconColor:a.palette.gray[800],iconSize:"md"}):null,t.jsx(j,{color:a.palette.gray[800],fontWeight:"bold",size:"sm",children:n})]})},kr=o.dt.input`
|
|
1891
1876
|
${({theme:e})=>`
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
&.active {
|
|
1902
|
-
color: ${e.palette.gray[800]};
|
|
1903
|
-
border-bottom: 3px solid ${e.palette.primary[400]};
|
|
1904
|
-
}
|
|
1877
|
+
background: none;
|
|
1878
|
+
border: none !important;
|
|
1879
|
+
box-shadow: none;
|
|
1880
|
+
box-sizing: border-box;
|
|
1881
|
+
color: ${e.palette.gray[800]};
|
|
1882
|
+
font-family: ${e.typography.type.primary};
|
|
1883
|
+
font-size: ${e.typography.text.sm};
|
|
1884
|
+
outline: none;
|
|
1885
|
+
width: 100%;
|
|
1905
1886
|
|
|
1906
|
-
|
|
1907
|
-
color: ${e.palette.gray[
|
|
1887
|
+
&::placeholder {
|
|
1888
|
+
color: ${e.palette.gray[400]};
|
|
1908
1889
|
}
|
|
1909
1890
|
`}
|
|
1910
|
-
`,
|
|
1891
|
+
`,Cr=o.dt.div`
|
|
1911
1892
|
${({theme:e})=>`
|
|
1912
1893
|
align-items: center;
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
height: ${e.spacing[3]};
|
|
1917
|
-
width: max-content;
|
|
1918
|
-
`}
|
|
1919
|
-
`,Sr=(e,n,i)=>i?n==="primary"?`3px solid ${e.palette.primary[500]}`:`3px solid ${e.palette.primary[100]}`:"unset",zr=a.dt.div`
|
|
1920
|
-
display: flex;
|
|
1921
|
-
flex-direction: row;
|
|
1922
|
-
gap: ${({theme:e})=>e.spacing[.25]};
|
|
1923
|
-
border-bottom: ${({theme:e,$borderButton:n,$variant:i})=>Sr(e,i,n)};
|
|
1924
|
-
align-items: center;
|
|
1925
|
-
padding: ${({theme:e})=>e.spacing[.625]}
|
|
1926
|
-
${({theme:e})=>e.spacing[.5]};
|
|
1927
|
-
padding-bottom: ${({theme:e,$borderButton:n})=>n?`calc(${e.spacing[.625]} - 2px)`:e.spacing[.625]};
|
|
1928
|
-
|
|
1929
|
-
&:hover:not([disabled]) {
|
|
1930
|
-
background-color: ${({theme:e})=>e.palette.gray[100]};
|
|
1931
|
-
color: ${({theme:e})=>e.palette.gray[800]};
|
|
1932
|
-
}
|
|
1933
|
-
|
|
1934
|
-
a {
|
|
1935
|
-
align-items: center;
|
|
1936
|
-
background: transparent;
|
|
1937
|
-
color: ${({theme:e})=>e.palette.gray[800]};
|
|
1938
|
-
font-family: ${({theme:e})=>e.typography.type.primary};
|
|
1939
|
-
font-size: ${({theme:e})=>e.typography.text.sm};
|
|
1894
|
+
background-color: ${e.palette.white};
|
|
1895
|
+
border: 1px solid ${e.palette.gray[300]};
|
|
1896
|
+
border-radius: ${e.spacing[.5]};
|
|
1940
1897
|
display: flex;
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
width: auto;
|
|
1946
|
-
cursor: pointer;
|
|
1898
|
+
height: 40px;
|
|
1899
|
+
gap: ${e.spacing[.5]};
|
|
1900
|
+
padding: ${e.spacing[.5]};
|
|
1901
|
+
width: 100%;
|
|
1947
1902
|
|
|
1948
|
-
&:
|
|
1949
|
-
|
|
1950
|
-
background-color: ${({theme:e})=>e.palette.gray[300]};
|
|
1951
|
-
color: ${({theme:e})=>e.palette.gray[300]};
|
|
1903
|
+
&:hover {
|
|
1904
|
+
border-color: ${e.palette.gray[600]};
|
|
1952
1905
|
}
|
|
1953
1906
|
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
&:hover {
|
|
1958
|
-
background-color: transparent;
|
|
1959
|
-
}
|
|
1907
|
+
&:focus-within {
|
|
1908
|
+
border: 2px solid ${e.palette.black};
|
|
1960
1909
|
}
|
|
1961
|
-
}
|
|
1962
|
-
`,Ir=a.dt(ne)`
|
|
1963
|
-
${({theme:e,$variant:n})=>`
|
|
1964
|
-
align-items: center;
|
|
1965
|
-
background: ${n==="error"?e.palette.primary[400]:e.palette.warning[500]};
|
|
1966
|
-
border-radius: 100%;
|
|
1967
|
-
font-family: ${e.typography.type.primary};
|
|
1968
|
-
justify-content: center;
|
|
1969
|
-
padding: 0;
|
|
1970
|
-
position: absolute;
|
|
1971
|
-
z-index: 11;
|
|
1972
|
-
width: ${e.spacing[.5]};
|
|
1973
|
-
height: ${e.spacing[.5]};
|
|
1974
1910
|
`}
|
|
1975
|
-
`,
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
`,Bt=g.forwardRef(function({numberIndicator:n,show:i,variant:o="error",...r},s){return t.jsx(Ir,{$variant:o,className:i?"flex":"hidden","data-testid":"notification-sign",ref:s,...r,children:n&&t.jsx(Tr,{children:n<=9?n:9})})}),Lt=({end:e=!1,label:n,id:i,isActive:o=!1,link:r,notificationSign:s,onClick:l,tooltip:c="",variant:d="primary",tag:p})=>{const{pathname:u}=Re.useLocation(),f=o||(d==="primary"?u.includes(r):u.endsWith(r));return t.jsx(Y,{display:"flex",id:`${i}-tooltip`,tip:c,children:t.jsxs(zr,{$borderButton:f,$variant:d,children:[t.jsxs(Re.NavLink,{end:e,id:i,onClick:l,to:r,children:[n,t.jsx(Bt,{left:s==null?void 0:s.left,numberIndicator:s==null?void 0:s.numberIndicator,show:s==null?void 0:s.show,top:s==null?void 0:s.top,variant:s==null?void 0:s.variant})]}),p===void 0?null:t.jsx(J,{tagLabel:`${p}`,variant:"default"})]})})},Ot=({items:e,borders:n=!0,box:i=!1,variant:o="primary"})=>{const r=a.nt();return t.jsx(b,{alignItems:"center",bgColor:r.palette.white,border:i?"1px solid":void 0,borderBottom:n?`1px solid ${r.palette.gray[300]}`:void 0,borderColor:i?r.palette.gray[200]:void 0,borderRadius:i?r.spacing[.25]:void 0,display:"inline-flex",gap:.25,padding:i?[0,0,0,0]:void 0,pl:n?1.25:void 0,pr:n?1.25:void 0,role:"tablist",width:i?"max-content":"100%",children:e.map(({end:s,id:l,isActive:c,link:d,label:p,notificationSign:u,onClick:f,tag:x,tooltip:h})=>t.jsx(Lt,{end:s,id:l,isActive:c,label:p,link:d,notificationSign:u,onClick:f,tag:x,tooltip:h,variant:o},l))})},Nr=({actions:e,children:n,header:i,title:o,tabs:r,footer:s})=>{const l=a.nt();return t.jsxs(b,{alignItems:"flex-start",bgColor:l.palette.white,borderLeft:`1px solid ${l.palette.gray[300]}`,display:"flex",flexDirection:"column",maxHeight:"750px",width:"480px",children:[t.jsxs(b,{alignItems:"flex-start",alignSelf:"stretch",borderBottom:`1px solid ${l.palette.gray[300]}`,display:"flex",gap:.25,justify:"space-between",px:1.25,py:1,children:[t.jsxs(b,{display:"flex",flexDirection:"column",gap:.25,children:[t.jsx(j,{color:l.palette.gray[800],fontWeight:"bold",lineSpacing:1.75,size:"xl",children:o}),i]}),e&&t.jsx(b,{display:"flex",gap:.25,children:e.map(({icon:c,onClick:d},p)=>t.jsx(O,{icon:c??"paper-plane",iconColor:l.palette.gray[400],iconSize:"xxs",iconType:"fa-light",onClick:d,variant:"ghost"},`${p}-${c}`))})]}),t.jsx(b,{display:"flex",pt:.25,width:"100%",children:t.jsx(Ot,{items:r})}),t.jsx(b,{alignSelf:"stretch",display:"flex",flexDirection:"column",px:1.25,py:1,scroll:"y",children:n}),s&&t.jsx(b,{alignSelf:"stretch",borderTop:`1px solid ${l.palette.gray[300]}`,display:"flex",gap:.5,justify:"end",px:1.25,py:1,children:s.map(({icon:c,text:d,onClick:p},u)=>t.jsx(E,{icon:c,onClick:p,variant:u===0?"primary":"tertiary",width:"100%",children:d},`${u}-${d}`))})]})},Rr=a.dt.div`
|
|
1911
|
+
`,vr=o.dt.div`
|
|
1912
|
+
${({theme:e})=>`
|
|
1913
|
+
background-color: ${e.palette.white};
|
|
1914
|
+
border-radius: ${e.spacing[.5]};
|
|
1915
|
+
width: 250px;
|
|
1916
|
+
`}
|
|
1917
|
+
`,se=g.forwardRef(function({name:n,smallSearch:i=!1,value:a,...r},s){const l=o.nt(),[c,d]=g.useState(!1),{refs:p,floatingStyles:u}=o.useFloating(),x=g.useCallback(()=>{d(b=>!b)},[]);Q(p.floating.current,()=>{d(!1)},!0);const f=t.jsxs(Cr,{children:[t.jsx(v,{icon:"magnifying-glass",iconColor:l.palette.gray[700],iconSize:"xs",iconType:"fa-light"}),t.jsx(kr,{...r,id:n,name:n,ref:s,value:a}),!o.lodashExports.isEmpty(a)&&t.jsx(O,{icon:"xmark",iconColor:l.palette.gray[300],iconSize:"xs",iconType:"fa-light",px:.25,py:.25,type:"reset",variant:"ghost"})]});return i?t.jsxs(g.Fragment,{children:[t.jsx(O,{border:`1px solid ${l.palette.gray[300]} !important`,icon:"magnifying-glass",iconSize:"xs",iconType:"fa-light",onClick:x,ref:p.setReference,variant:"ghost"}),c?t.jsx(vr,{ref:p.setFloating,style:u,children:f}):void 0]}):f}),Sr=({isOpen:e=!0,items:n,handleNewOrganization:i,onSelect:a,onClose:r,selectedItem:s,title:l,variant:c})=>{const d=o.nt(),[p,u]=g.useState(n),[x,f]=g.useState(""),b=g.useCallback(y=>{u(w=>w.filter(k=>String(k.name).toLowerCase().includes(y.toLocaleLowerCase())))},[u]),$=g.useCallback(y=>{y.currentTarget&&(f(y.currentTarget.value),b(y.currentTarget.value))},[f,b]);g.useEffect(()=>{u(n),b(x)},[n,b,x]);const m=()=>t.jsx(h,{"aria-modal":"true",className:"comp-modal fixed inset-0 overflow-auto",zIndex:99999,children:t.jsx(h,{alignItems:"center",bgColor:"rgb(52 64 84 / 70%)",display:"flex",height:"100vh",justify:"center",left:"0",top:"0",width:"100%",children:t.jsxs(jr,{$itemsLength:p.length,children:[t.jsxs(h,{alignItems:"center",display:"flex",justify:"space-between",children:[t.jsx(j,{color:d.palette.gray[800],fontWeight:"bold",size:"lg",children:l}),t.jsx(O,{icon:"xmark",iconColor:d.palette.gray[400],iconSize:"xs",iconType:"fa-light",onClick:r,variant:"ghost"})]}),t.jsx(h,{mt:1,children:t.jsx(se,{onInput:$,placeholder:"Search"})}),t.jsx(ee,{mb:1,mt:1}),t.jsxs(h,{display:"inline-flex",gap:1,maxHeight:"332px",scroll:"y",wrap:"wrap",children:[c==="organization-selector"?t.jsx(Ge,{onClick:i,children:t.jsxs(h,{alignItems:"center",display:"flex",children:[t.jsx(v,{icon:"square-plus",iconColor:d.palette.gray[400],iconSize:"xs",iconType:"fa-light",mr:.5}),t.jsx(j,{color:d.palette.gray[400],size:"sm",children:"New organization"})]})}):void 0,p.map(y=>t.jsx(Mt,{isSelected:s.toLowerCase()===y.name,label:y.name.charAt(0).toUpperCase()+y.name.slice(1),onSelect:a},y.name))]})]})})});return e?te.createPortal(m(),document.body):t.jsx("div",{})},zr=({description:e,height:n="auto",leftIconName:i,children:a,rightIconName:r,title:s,tooltipId:l,tooltipTip:c,tooltipPlace:d="bottom",variant:p="centered",width:u="318px"})=>{const x=o.nt(),f=p==="centered",b=t.jsx(Y,{icon:r??i,iconColor:x.palette.gray[800],id:l,place:d,tip:c});return t.jsxs(h,{alignItems:f?"center":"flex-start",bgColor:x.palette.gray[50],border:`1px solid ${x.palette.gray[200]}`,borderRadius:"4px",display:"inline-flex",flexDirection:f?"column":"column-reverse",gap:.5,height:n,justify:"center",padding:[1.25,1.25,1.25,1.25],width:u,children:[t.jsxs(h,{alignItems:"center",display:"flex",gap:.5,children:[f||o.lodashExports.isUndefined(i)?void 0:b,t.jsx(j,{color:f?x.palette.gray[800]:x.palette.gray[400],size:"md",textAlign:f?"center":"start",children:e}),f||o.lodashExports.isUndefined(r)?void 0:b]}),t.jsxs(h,{alignItems:"center",display:"flex",gap:.5,my:.5,children:[f&&!o.lodashExports.isUndefined(i)?b:void 0,t.jsxs("div",{style:{display:"flex",gap:"12px"},children:[o.lodashExports.isUndefined(s)?void 0:t.jsx(W,{fontWeight:"bold",size:"md",children:s}),a]}),f&&!o.lodashExports.isUndefined(r)?b:void 0]})]})},Ir=({actions:e,children:n,header:i,title:a,tabs:r,footer:s})=>{const l=o.nt();return t.jsxs(h,{alignItems:"flex-start",bgColor:l.palette.white,borderLeft:`1px solid ${l.palette.gray[300]}`,display:"flex",flexDirection:"column",maxHeight:"750px",width:"480px",children:[t.jsxs(h,{alignItems:"flex-start",alignSelf:"stretch",borderBottom:`1px solid ${l.palette.gray[300]}`,display:"flex",gap:.25,justify:"space-between",px:1.25,py:1,children:[t.jsxs(h,{display:"flex",flexDirection:"column",gap:.25,children:[t.jsx(j,{color:l.palette.gray[800],fontWeight:"bold",lineSpacing:1.75,size:"xl",children:a}),i]}),e&&t.jsx(h,{display:"flex",gap:.25,children:e.map(({icon:c,onClick:d},p)=>t.jsx(O,{icon:c??"paper-plane",iconColor:l.palette.gray[400],iconSize:"xxs",iconType:"fa-light",onClick:d,variant:"ghost"},`${p}-${c}`))})]}),t.jsx(h,{display:"flex",pt:.25,width:"100%",children:t.jsx(Ve,{items:r})}),t.jsx(h,{alignSelf:"stretch",display:"flex",flexDirection:"column",px:1.25,py:1,scroll:"y",children:n}),s&&t.jsx(h,{alignSelf:"stretch",borderTop:`1px solid ${l.palette.gray[300]}`,display:"flex",gap:.5,justify:"end",px:1.25,py:1,children:s.map(({icon:c,text:d,onClick:p},u)=>t.jsx(E,{icon:c,onClick:p,variant:u===0?"primary":"tertiary",width:"100%",children:d},`${u}-${d}`))})]})},Tr=o.dt.div`
|
|
1983
1918
|
${({theme:e})=>`
|
|
1984
1919
|
align-items: flex-start;
|
|
1985
1920
|
backdrop-filter: blur(3.15px);
|
|
@@ -2031,7 +1966,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2031
1966
|
}
|
|
2032
1967
|
}
|
|
2033
1968
|
`}
|
|
2034
|
-
`,
|
|
1969
|
+
`,Nr=o.dt.div`
|
|
2035
1970
|
align-items: center;
|
|
2036
1971
|
position: absolute;
|
|
2037
1972
|
justify-content: center;
|
|
@@ -2045,7 +1980,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2045
1980
|
height: 260px;
|
|
2046
1981
|
width: 260px;
|
|
2047
1982
|
}
|
|
2048
|
-
`,
|
|
1983
|
+
`,Ot=({icon:e})=>t.jsx(Nr,{children:t.jsx(v,{icon:e,iconColor:C.palette.white,iconSize:"xs",iconTransform:"shrink-2",iconType:"fa-light"})}),Rr=({category:e,description:n,href:i,icon:a,location:r,title:s})=>{const l=o.nt();return t.jsxs(Tr,{children:[t.jsxs(h,{alignItems:"flex-start",display:"flex",flexDirection:"column",gap:1.5,height:"100%",id:"uncover",justify:"space-between",children:[t.jsxs("div",{className:"flex flex-col gap-0.5",children:[t.jsx(j,{color:l.palette.white,size:"sm",sizeSm:"xs",children:e}),t.jsx(W,{color:l.palette.white,fontWeight:"bold",lineSpacing:2.25,lineSpacingSm:1.75,size:"lg",sizeSm:"md",children:s})]}),t.jsxs("div",{className:"flex flex-col gap-0.5",children:[t.jsx(j,{color:l.palette.white,size:"sm",sizeSm:"xs",children:"Location"}),t.jsx(j,{color:l.palette.white,fontWeight:"bold",lineSpacing:1.5,lineSpacingSm:1.25,size:"md",sizeSm:"sm",children:r})]})]}),t.jsxs(h,{alignItems:"self-start",display:"flex",flexDirection:"column",gap:2,height:"100%",id:"hovered",justify:"space-between",pt:1,children:[t.jsx(W,{color:l.palette.white,fontWeight:"bold",lineSpacing:1.75,lineSpacingSm:1.5,size:"md",sizeSm:"sm",children:s}),t.jsxs("div",{className:"flex flex-col gap-8",children:[t.jsx(j,{color:l.palette.gray[100],lineSpacing:1.5,lineSpacingSm:1.25,size:"md",sizeSm:"sm",children:n}),t.jsx(E,{external:!0,href:i,variant:"link",width:"max-content",children:"Download now"})]})]}),t.jsx(Ot,{icon:a})]})},Er=o.dt.button`
|
|
2049
1984
|
${({theme:e})=>`
|
|
2050
1985
|
align-items: center;
|
|
2051
1986
|
border-left: 3px solid transparent;
|
|
@@ -2088,7 +2023,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2088
2023
|
}
|
|
2089
2024
|
}
|
|
2090
2025
|
`}
|
|
2091
|
-
`,
|
|
2026
|
+
`,Dr=o.dt.div`
|
|
2092
2027
|
${({theme:e})=>`
|
|
2093
2028
|
align-items: center;
|
|
2094
2029
|
background-color: transparent;
|
|
@@ -2118,7 +2053,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2118
2053
|
color: ${e.palette.gray[800]};
|
|
2119
2054
|
}
|
|
2120
2055
|
`}
|
|
2121
|
-
`,
|
|
2056
|
+
`,Fr=o.dt.div`
|
|
2122
2057
|
${({theme:e})=>`
|
|
2123
2058
|
background-color: ${e.palette.white};
|
|
2124
2059
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
@@ -2133,7 +2068,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2133
2068
|
border-radius: 0 0 ${e.spacing[.25]} ${e.spacing[.25]};
|
|
2134
2069
|
}
|
|
2135
2070
|
`}
|
|
2136
|
-
`,
|
|
2071
|
+
`,Pr=o.dt.div`
|
|
2137
2072
|
${({theme:e})=>`
|
|
2138
2073
|
align-items: flex-start;
|
|
2139
2074
|
cursor: pointer;
|
|
@@ -2155,11 +2090,11 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2155
2090
|
}
|
|
2156
2091
|
}
|
|
2157
2092
|
`}
|
|
2158
|
-
`,
|
|
2093
|
+
`,At=({disabled:e=!1,mode:n,onClick:i,text:a})=>t.jsx(Er,{className:`${e&&"disabled"} ${n}`,disabled:e,onClick:i,children:t.jsx(j,{color:"inherit",size:"sm",sizeSm:"xs",children:a})}),Lr=[{text:"EN"},{text:"ES"}],Wr=({items:e,handleClick:n,mode:i="light"})=>{const a=e??Lr,[r,s]=g.useState(a[0].text),l=g.useCallback(c=>()=>{n(c.text),s(c.text)},[n]);return t.jsxs(Pr,{children:[t.jsxs(Dr,{className:i,children:[t.jsx(v,{icon:"globe",iconSize:"xs",iconType:"fa-light"}),r]}),t.jsx(Fr,{children:a.map((c,d)=>t.jsx(At,{disabled:c.disabled,mode:i,onClick:l(c),text:c.text},`${c.text}_${d}`))})]})},Br=o.dt.div.attrs({className:"flex flex-wrap justify-center pv3 w-100"})``,Mr=o.dt.div.attrs({className:"flex flex-wrap items-center justify-start mb2"})`
|
|
2159
2094
|
gap: 12px;
|
|
2160
|
-
`,
|
|
2095
|
+
`,Or=o.dt.div.attrs({className:"flex flex-wrap items-center justify-end mb2"})`
|
|
2161
2096
|
gap: 8px;
|
|
2162
|
-
|
|
2097
|
+
`,me=e=>e===void 0?"flex-grow: 1;":`width: calc(${e}00% / var(--cols));`,Ar=o.dt.div.attrs({className:"comp-col"})`
|
|
2163
2098
|
word-break: break-word;
|
|
2164
2099
|
|
|
2165
2100
|
${({$width:e=null})=>e===null?"":`width: ${e}`};
|
|
@@ -2167,23 +2102,23 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2167
2102
|
${({$paddingTop:e})=>`padding-top: ${e??0}px;`}
|
|
2168
2103
|
|
|
2169
2104
|
@media (width <= 768px) {
|
|
2170
|
-
${({$sm:e})
|
|
2105
|
+
${({$sm:e})=>me(e)}
|
|
2171
2106
|
}
|
|
2172
2107
|
|
|
2173
2108
|
@media (width >= 768px) and (width <= 992px) {
|
|
2174
|
-
${({$md:e})
|
|
2109
|
+
${({$md:e})=>me(e)}
|
|
2175
2110
|
}
|
|
2176
2111
|
|
|
2177
2112
|
@media (width >= 992px) {
|
|
2178
|
-
${({$lg:e})
|
|
2113
|
+
${({$lg:e})=>me(e)}
|
|
2179
2114
|
}
|
|
2180
2115
|
|
|
2181
|
-
${({$xl:e})=>
|
|
2116
|
+
${({$xl:e})=>o.isNumber(e)?`@media (min-width: 1200px) { ${me(e)} }`:""}
|
|
2182
2117
|
|
|
2183
2118
|
> .comp-card {
|
|
2184
2119
|
height: 100%;
|
|
2185
2120
|
}
|
|
2186
|
-
`,Hr=({children:e,xl:n,lg:i,md:
|
|
2121
|
+
`,Hr=({children:e,xl:n,lg:i,md:a,sm:r,paddingTop:s,width:l})=>t.jsx(Ar,{$lg:i,$md:a,$paddingTop:s,$sm:r,$width:l,$xl:n,children:e}),_r=o.dt.div.attrs({className:"comp-gap"})`
|
|
2187
2122
|
${({$disp:e="flex",$mh:n=4,$mv:i=4})=>`
|
|
2188
2123
|
align-items: center;
|
|
2189
2124
|
display: ${e};
|
|
@@ -2193,12 +2128,12 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2193
2128
|
margin: ${i}px ${n}px;
|
|
2194
2129
|
}
|
|
2195
2130
|
`}
|
|
2196
|
-
`,
|
|
2197
|
-
${({$align:e="stretch",$cols:n=100,$colsPadding:i=6,$justify:
|
|
2131
|
+
`,Vr=({children:e,disp:n,mh:i,mv:a})=>t.jsx(_r,{$disp:n,$mh:i,$mv:a,children:e}),Gr=o.dt.div.attrs({className:"comp-row flex flex-row flex-wrap"})`
|
|
2132
|
+
${({$align:e="stretch",$cols:n=100,$colsPadding:i=6,$justify:a="start"})=>`
|
|
2198
2133
|
align-items: ${e};
|
|
2199
|
-
justify-content: ${
|
|
2134
|
+
justify-content: ${a};
|
|
2200
2135
|
margin: -6px;
|
|
2201
|
-
text-align: ${
|
|
2136
|
+
text-align: ${a};
|
|
2202
2137
|
|
|
2203
2138
|
--cols: ${n};
|
|
2204
2139
|
|
|
@@ -2211,7 +2146,66 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2211
2146
|
padding: ${i}px;
|
|
2212
2147
|
}
|
|
2213
2148
|
`}
|
|
2214
|
-
`,
|
|
2149
|
+
`,Ur=({align:e,children:n,cols:i,colsPadding:a,justify:r})=>t.jsx(Gr,{$align:e,$cols:i,$colsPadding:a,$justify:r,children:n}),Yr=o.dt.li`
|
|
2150
|
+
${({theme:e})=>`
|
|
2151
|
+
align-items: center;
|
|
2152
|
+
background-color: ${e.palette.white};
|
|
2153
|
+
color: ${e.palette.gray[800]};
|
|
2154
|
+
cursor: pointer;
|
|
2155
|
+
display: flex;
|
|
2156
|
+
font-size: ${e.typography.text.sm};
|
|
2157
|
+
font-weight: ${e.typography.weight.regular};
|
|
2158
|
+
justify-content: space-between;
|
|
2159
|
+
gap: ${e.spacing[.625]};
|
|
2160
|
+
line-height: ${e.spacing[1.25]};
|
|
2161
|
+
list-style-type: none;
|
|
2162
|
+
min-height: 40px;
|
|
2163
|
+
min-width: 240px;
|
|
2164
|
+
padding: ${e.spacing[.625]} ${e.spacing[1]};
|
|
2165
|
+
pointer-events: auto;
|
|
2166
|
+
|
|
2167
|
+
p,
|
|
2168
|
+
a {
|
|
2169
|
+
word-break: break-word;
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
& > label {
|
|
2173
|
+
margin: unset;
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
a {
|
|
2177
|
+
color: ${e.palette.gray[500]};
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
&[aria-disabled="true"] {
|
|
2181
|
+
color: ${e.palette.gray[300]};
|
|
2182
|
+
pointer-events: none;
|
|
2183
|
+
|
|
2184
|
+
a {
|
|
2185
|
+
color: ${e.palette.gray[300]};
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
|
|
2189
|
+
&[aria-selected="true"] {
|
|
2190
|
+
background-color: ${e.palette.gray[200]};
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
&:hover:not([aria-selected="true"]) {
|
|
2194
|
+
background-color: ${e.palette.gray[100]};
|
|
2195
|
+
}
|
|
2196
|
+
`}
|
|
2197
|
+
`,Ht=o.dt.ul`
|
|
2198
|
+
${({theme:e})=>`
|
|
2199
|
+
background-color: ${e.palette.white};
|
|
2200
|
+
border: 1px solid ${e.palette.gray[200]};
|
|
2201
|
+
border-radius: ${e.spacing[.25]};
|
|
2202
|
+
box-shadow: ${e.shadows.md};
|
|
2203
|
+
display: inline-block;
|
|
2204
|
+
margin: unset;
|
|
2205
|
+
min-width: 240px;
|
|
2206
|
+
padding: ${e.spacing[.25]} 0 ${e.spacing[.25]} 0;
|
|
2207
|
+
`}
|
|
2208
|
+
`,$e=({children:e,disabled:n=!1,icon:i,iconType:a="fa-light",href:r,onClick:s,onClickIcon:l,onKeyDown:c,rightIcon:d,selected:p=!1,value:u,...x})=>{const b=o.nt().palette.gray[n?300:800],$=n?g.Children.map(e,m=>g.isValidElement(m)?g.cloneElement(m,{disabled:n,...m.props}):m):e;return t.jsxs(Yr,{"aria-disabled":n,"aria-label":u,"aria-selected":p,"data-testid":u,onClick:s,onKeyDown:c,value:u,...x,children:[i!==void 0||u!==void 0?t.jsxs(h,{alignItems:"center",display:"flex",gap:.625,children:[i?t.jsx(v,{disabled:n,icon:i,iconColor:b,iconSize:"xs",iconType:a}):null,r===void 0?$:t.jsx(Z,{href:r,children:$})]}):null,p||d?t.jsx(v,{disabled:n,icon:d??"check",iconColor:b,iconSize:"xs",iconType:a,onClick:l}):null]})},Kr=o.dt.span`
|
|
2215
2209
|
${({theme:e,$bgColor:n=e.palette.secondary[500],$txtDecoration:i="none"})=>`
|
|
2216
2210
|
background-color: ${n};
|
|
2217
2211
|
border-radius: 5px;
|
|
@@ -2220,14 +2214,14 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2220
2214
|
padding: ${e.spacing[.125]} ${e.spacing[.25]} ${e.spacing[.125]} ${e.spacing[.25]};
|
|
2221
2215
|
text-decoration: ${i}
|
|
2222
2216
|
`}
|
|
2223
|
-
`,
|
|
2217
|
+
`,qr=({bgColor:e,children:n,txtDecoration:i,ml:a=1})=>t.jsx(Kr,{$bgColor:e,$txtDecoration:i,className:`ml-${a}`,children:n}),Xr={lg:"56",md:"30",sm:"12"},{getVariant:Zr}=U(e=>({red:`stroke: ${e.palette.primary[500]};`,white:`stroke: ${e.palette.white};`})),Jr=o.mt`
|
|
2224
2218
|
0% {
|
|
2225
2219
|
transform: rotateZ(0deg);
|
|
2226
2220
|
}
|
|
2227
2221
|
100% {
|
|
2228
2222
|
transform: rotateZ(360deg)
|
|
2229
2223
|
}
|
|
2230
|
-
`,
|
|
2224
|
+
`,Qr=o.mt`
|
|
2231
2225
|
0%,
|
|
2232
2226
|
25% {
|
|
2233
2227
|
stroke-dashoffset: 280;
|
|
@@ -2244,16 +2238,16 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2244
2238
|
stroke-dashoffset: 280;
|
|
2245
2239
|
transform: rotate(360deg);
|
|
2246
2240
|
}
|
|
2247
|
-
`,
|
|
2248
|
-
${({$size:e="md"})=>
|
|
2249
|
-
animation: ${
|
|
2241
|
+
`,ea=o.dt.svg`
|
|
2242
|
+
${({$size:e="md"})=>o.lt`
|
|
2243
|
+
animation: ${Jr} 2s linear infinite;
|
|
2250
2244
|
animation-timing-function: linear;
|
|
2251
2245
|
display: inline-block;
|
|
2252
|
-
width: ${
|
|
2246
|
+
width: ${Xr[e]}px;
|
|
2253
2247
|
`}
|
|
2254
|
-
`,
|
|
2255
|
-
${({theme:e,$color:n="red"})=>
|
|
2256
|
-
animation: 1.4s ease-in-out infinite both ${
|
|
2248
|
+
`,ta=o.dt.circle`
|
|
2249
|
+
${({theme:e,$color:n="red"})=>o.lt`
|
|
2250
|
+
animation: 1.4s ease-in-out infinite both ${Qr};
|
|
2257
2251
|
display: block;
|
|
2258
2252
|
fill: transparent;
|
|
2259
2253
|
stroke-linecap: round;
|
|
@@ -2262,9 +2256,9 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2262
2256
|
stroke-width: 10px;
|
|
2263
2257
|
transform-origin: 50% 50%;
|
|
2264
2258
|
|
|
2265
|
-
${
|
|
2259
|
+
${Zr(e,n)}
|
|
2266
2260
|
`}
|
|
2267
|
-
`,
|
|
2261
|
+
`,na=o.dt.circle`
|
|
2268
2262
|
display: block;
|
|
2269
2263
|
fill: transparent;
|
|
2270
2264
|
stroke: ${({theme:e})=>e.palette.gray[200]};
|
|
@@ -2272,13 +2266,13 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2272
2266
|
stroke-width: 10px;
|
|
2273
2267
|
transform-origin: 50% 50%;
|
|
2274
2268
|
opacity: ${({$color:e})=>e==="white"?"20%":"unset"};
|
|
2275
|
-
`,
|
|
2269
|
+
`,ia=({color:e="red",label:n,size:i})=>{const a=o.nt();return t.jsxs(h,{alignItems:"center",display:"flex",children:[t.jsxs(ea,{$size:i,viewBox:"0 0 100 100",children:[t.jsx(na,{$color:e,cx:"50",cy:"50",r:"45"}),t.jsx(ta,{$color:e,cx:"50",cy:"50",r:"45"})]}),n&&t.jsx(j,{color:e==="red"?a.palette.gray[700]:a.palette.white,ml:.5,size:"sm",children:n})]})},ra=o.dt.div`
|
|
2276
2270
|
display: flex;
|
|
2277
2271
|
height: 80px;
|
|
2278
2272
|
max-width: 1440px;
|
|
2279
2273
|
overflow: hidden;
|
|
2280
2274
|
position: relative;
|
|
2281
|
-
`,
|
|
2275
|
+
`,nt=o.dt.div`
|
|
2282
2276
|
height: 79px;
|
|
2283
2277
|
width: 64px;
|
|
2284
2278
|
flex-shrink: 0;
|
|
@@ -2302,7 +2296,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2302
2296
|
);
|
|
2303
2297
|
right: 0;
|
|
2304
2298
|
}
|
|
2305
|
-
`,
|
|
2299
|
+
`,aa=o.dt.div`
|
|
2306
2300
|
display: flex;
|
|
2307
2301
|
gap: 40px;
|
|
2308
2302
|
animation: clients-animation 50s linear infinite;
|
|
@@ -2317,7 +2311,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2317
2311
|
transform: translateX(calc(-180px * 15));
|
|
2318
2312
|
}
|
|
2319
2313
|
}
|
|
2320
|
-
`,
|
|
2314
|
+
`,oa=["airs/clients-carousel/color/bancolombia","airs/clients-carousel/color/itau_colombia","airs/clients-carousel/color/lulo_bank","airs/clients-carousel/color/oxxo_international","airs/clients-carousel/color/interbank","airs/clients-carousel/color/global_bank","airs/clients-carousel/color/gesa","airs/clients-carousel/color/copa_airlines","airs/clients-carousel/color/consubanco","airs/clients-carousel/color/bantrab","airs/clients-carousel/color/banistmo","airs/clients-carousel/color/banco_internacional","airs/clients-carousel/color/banco_general","airs/clients-carousel/color/banbif","airs/clients-carousel/color/avianca"],sa=({fusion:e=!1,logos:n=oa})=>t.jsxs(ra,{children:[e&&t.jsx(nt,{className:"left"}),t.jsx(aa,{children:[...n,...n].map((i,a)=>t.jsx(G,{alt:`${i}-${a}`,height:"80px",plugins:[o.placeholder()],publicId:i,width:"140px"},`${i}-${a}`))}),e&&t.jsx(nt,{className:"right"})]}),la={company:{height:"83px",width:"460px"},footer:{height:"57px",width:"315px"},header:{height:"35px",width:"160px"},icon:{height:"40px",width:"40px"},inline:{width:"150px"}},ca=({publicId:e,variant:n})=>t.jsx(h,{...la[n],children:t.jsx(G,{alt:"logo",publicId:e})}),da=({children:e,commitSha:n,commitShortSha:i,parentElement:a,userInfo:r,setVisibility:s})=>{const l=o.nt(),{userName:c,email:d,phone:p,userRole:u}=r;return Q(a,()=>{s(!1)}),t.jsxs(Ht,{children:[t.jsx("li",{className:"user-info",children:t.jsxs(h,{display:"inline-flex",gap:.25,width:"100%",children:[t.jsxs(h,{display:"flex",flexDirection:"column",gap:.25,width:"100%",children:[t.jsx(j,{color:l.palette.gray[800],fontWeight:"bold",size:"sm",children:c}),t.jsx(j,{color:l.palette.gray[400],size:"sm",children:d}),o.lodashExports.isUndefined(p)?void 0:t.jsx(j,{color:l.palette.gray[400],size:"sm",children:p})]}),t.jsx(h,{children:t.jsx(J,{tagLabel:u,variant:"role"})})]})}),t.jsx(ee,{}),e,t.jsx(ee,{}),t.jsx("li",{className:"commit-info",children:t.jsx(Z,{href:`https://gitlab.com/fluidattacks/universe/-/tree/${n}`,iconPosition:"hidden",children:t.jsx(j,{color:l.palette.gray[400],size:"xs",children:`commit : ${i}`})})})]})},pa=o.dt.button`
|
|
2321
2315
|
align-items: center;
|
|
2322
2316
|
background-color: transparent;
|
|
2323
2317
|
border: unset;
|
|
@@ -2334,18 +2328,26 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2334
2328
|
&:hover span {
|
|
2335
2329
|
color: ${C.palette.primary[200]};
|
|
2336
2330
|
}
|
|
2337
|
-
`,
|
|
2331
|
+
`,ga=e=>e==="platform"?{normal:"sm",small:void 0}:{normal:"md",small:"sm"},ua=({message:e,onClickButton:n,buttonText:i,buttonFontWeight:a="regular",icon:r,onClose:s,variant:l="web"})=>{const c=o.nt(),[d,p]=g.useState(!0),u=g.useCallback(()=>{p(!1),s==null||s()},[s]),x=ga(l);return t.jsxs(h,{alignItems:"center",bgGradient:c.palette.gradients["01"],display:d?"flex":"none",id:"message-banner",justify:"space-between",padding:[.75,.75,.75,.75],children:[t.jsxs(h,{display:"flex",gap:.5,justify:"center",width:"100%",children:[t.jsx(h,{children:typeof e=="string"?t.jsx(j,{color:c.palette.white,display:"inline",size:x.normal,sizeSm:x.small,children:e}):e}),n?t.jsxs(pa,{onClick:n,children:[t.jsx(j,{color:c.palette.white,fontWeight:a,size:x.normal,sizeSm:x.small,textDecoration:"underline",children:i}),t.jsx(v,{icon:r??"arrow-right",iconColor:c.palette.white,iconSize:"xs",iconType:a==="bold"?"fa-regular":"fa-light"})]}):void 0]}),t.jsx(v,{clickable:!0,hoverColor:c.palette.primary[200],icon:"close",iconColor:c.palette.white,iconSize:"xs",iconType:"fa-light",onClick:u})]})},xa=o.dt($e)`
|
|
2338
2332
|
margin-top: 10px;
|
|
2339
2333
|
border: 1px solid ${({theme:e})=>e.palette.gray[300]};
|
|
2340
2334
|
border-radius: 4px;
|
|
2341
2335
|
min-width: unset;
|
|
2342
|
-
`,
|
|
2336
|
+
`,_t=({items:e,onReorder:n,title:i,description:a,onClickClose:r})=>{const s=g.useCallback(l=>()=>{r(l)},[r]);return t.jsxs(o.ReorderGroup,{as:"div",axis:"y",layoutScroll:!0,onReorder:n,style:{overflowY:"auto",width:"content-fit"},values:e,children:[t.jsxs(h,{display:"flex",gap:.25,children:[t.jsx(W,{display:"flex",size:"xs",children:i}),t.jsx(J,{priority:"high",tagLabel:String(e.length),variant:"error"})]}),t.jsx(j,{size:"sm",children:a}),e.map(l=>l.visible?t.jsx(o.ReorderItem,{as:"div",dragListener:!l.locked,item:l.name,value:l,children:t.jsx(xa,{disabled:l.locked,icon:"grid-horizontal",label:l.name,onClickIcon:s(l.name),rightIcon:l.locked?"lock":"close",value:l.name,children:l.name})},l.name):void 0)]})},fa=o.dt($e)`
|
|
2337
|
+
padding: 7px 8px;
|
|
2338
|
+
|
|
2339
|
+
svg.fa-check {
|
|
2340
|
+
border-radius: 2px;
|
|
2341
|
+
}
|
|
2342
|
+
`,ha=e=>e.reduce((i,a)=>a.group?i[a.group]?{...i,[a.group]:[...i[a.group],a]}:{...i,[a.group]:[a]}:i,{}),Vt=({columns:e,formId:n,onChangeHandler:i,variant:a})=>{const[r,s]=g.useState([...e]),l=g.useCallback(c=>{const{value:d}=c.target;s(e.filter(p=>{var u;return a==="grouped"?p.name.toLowerCase().includes(d.toLowerCase())||((u=p.group)==null?void 0:u.includes(d.toLowerCase())):p.name.toLowerCase().includes(d.toLowerCase())}))},[e,a]);return a==="grouped"?t.jsxs(h,{display:"flex",flexDirection:"column",gap:.625,py:1.25,width:"55%",children:[t.jsx(se,{name:"search",onChange:l,type:"search"}),t.jsx("form",{id:n,style:{display:"flex",flexDirection:"column",gap:"0.625rem",overflowY:"auto",overflowX:"hidden"},children:Object.entries(ha(r)).map(([c,d])=>{const p=`li-checkbox${c}`;return t.jsx(kt,{checkboxesName:c,onChange:i,options:d,title:c},p)})})]}):t.jsxs(h,{py:1.25,width:"55%",children:[t.jsx(se,{name:"search",onChange:l,type:"search"}),t.jsx("form",{id:n,style:{paddingTop:"0.625rem",overflowY:"auto",overflowX:"hidden"},children:e.map(c=>{const d=`li-checkbox-${c.name}`;return t.jsx(fa,{value:d,width:"content",children:t.jsx(Re,{defaultChecked:c.visible,disabled:c.locked,label:c.name,name:c.name,onChange:i,value:c.name})},d)})})]})},ba=({_portal:e=!0,title:n,modalRef:i,variant:a})=>{const r=o.nt(),s=g.useCallback(d=>{const{checked:p,value:u}=d.target;i.setColumns(i.columns.map(x=>x.name===u?{...x,visible:p}:x))},[i]),l=g.useCallback(d=>{const p=i.columns.map(u=>u.name===d?{...u,visible:!1}:u);i.setColumns(p)},[i]),c=t.jsxs(be,{$size:"md",children:[t.jsxs(h,{display:"flex",justify:"space-between",px:1.25,py:1.25,children:[t.jsx(W,{size:"sm",children:n}),t.jsx(O,{icon:"close",iconColor:r.palette.gray[400],iconSize:"xs",iconTransform:"grow-2",iconType:"fa-light",id:"modal-close",onClick:i.close,px:.25,py:.25,variant:"ghost"})]}),t.jsx(ee,{mb:0,mt:0}),t.jsxs(h,{display:"flex",px:1.25,width:"100%",children:[t.jsx(Vt,{columns:i.columns,formId:"columns-visibility",onChangeHandler:s,variant:a}),t.jsx(h,{borderLeft:`2px solid ${r.palette.gray[100]}`,mx:1.25}),t.jsx(h,{py:1.25,width:"45%",children:t.jsx(_t,{description:"Drag and drop to reorder columns",items:i.columns,onClickClose:l,onReorder:i.setColumns,title:"Columns"})})]}),t.jsx(ee,{mb:0,mt:0}),t.jsxs(h,{display:"flex",justify:"space-between",px:1.25,py:1.25,children:[t.jsx(E,{disabled:!i.hasChanged,form:"columns-visibility",id:"columns-modal-cancel",justify:"center",onClick:i.resetToDefault,type:"reset",variant:"tertiary",children:"Reset to Default"}),t.jsx(E,{id:"columns-modal-submit",justify:"center",onClick:i.close,variant:"primary",children:"Save Changes"})]})]});return e&&i.isOpen?te.createPortal(c,document.getElementById("portals")??document.body):i.isOpen?c:t.jsx("div",{})},$a=o.dt($e)`
|
|
2343
|
+
padding: 8px;
|
|
2344
|
+
`,Se=({options:e})=>{const n=g.useCallback((i,a)=>()=>{a(i)},[]);return t.jsx(h,{flexGrow:1,children:e.map(({label:i,icon:a="filter-list",onClick:r})=>{const s=`li-filter-option-${i}`;return t.jsx($a,{icon:a,onClick:n(i,r),value:s,width:"100%",children:i},s)})})},ya=o.dt($e)`
|
|
2343
2345
|
padding: 7px 8px;
|
|
2344
2346
|
|
|
2345
2347
|
svg.fa-check {
|
|
2346
2348
|
border-radius: 2px;
|
|
2347
2349
|
}
|
|
2348
|
-
|
|
2350
|
+
`,ma=({options:e,onSubmit:n,id:i})=>{const a=e.filter(c=>c.checked).map(c=>c.value),{register:r,handleSubmit:s}=o.useForm({defaultValues:{checkbox:a}}),l=g.useCallback(c=>{n&&n(c.checkbox)},[n]);return t.jsxs(be,{$size:"fixed",gap:1.25,children:[t.jsx(se,{}),t.jsxs("form",{id:i,onSubmit:s(l),style:{overflowY:"auto"},children:[e.map((c,d)=>{const p=`li-checkbox${d}`;return t.jsx(ya,{value:p,width:"content",children:t.jsx(Re,{...r("checkbox"),label:c.label,value:c.value})},p)}),t.jsx(E,{mt:1,type:"submit",children:"Apply"})]})]})},wa=({options:e})=>t.jsx(be,{$size:"fixed",children:t.jsx(Se,{options:e})}),ja=({rightColumnOptions:e,leftColumnOptions:n})=>t.jsx(be,{$size:"sm",children:t.jsxs(h,{display:"flex",justify:"space-between",px:1.25,py:1.25,children:[t.jsx(Se,{options:n}),t.jsx(Se,{options:e})]})}),ka=o.dt.div`
|
|
2349
2351
|
${({theme:e,$variant:n})=>`
|
|
2350
2352
|
background: ${e.palette.white};
|
|
2351
2353
|
border: 1px solid ${e.palette.gray[200]};
|
|
@@ -2364,7 +2366,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2364
2366
|
right: 16px;
|
|
2365
2367
|
}
|
|
2366
2368
|
`}
|
|
2367
|
-
`,
|
|
2369
|
+
`,Ca=o.dt.div`
|
|
2368
2370
|
${({theme:e,$variant:n})=>`
|
|
2369
2371
|
height: ${e.spacing[2.5]};
|
|
2370
2372
|
width: ${e.spacing[2.5]};
|
|
@@ -2395,7 +2397,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2395
2397
|
color: ${e.palette[n][500]};
|
|
2396
2398
|
}
|
|
2397
2399
|
`}
|
|
2398
|
-
`,
|
|
2400
|
+
`,va=e=>e==="warning"?"triangle-exclamation":e==="info"?"circle-info":e==="success"?"circle-check":"circle-exclamation",Sa=({description:e,onClose:n,title:i,variant:a})=>{const r=o.nt(),s=g.useCallback(()=>{n==null||n()},[n]);return t.jsxs(ka,{$variant:a,className:`notification notification__${a}`,role:"alertdialog",children:[t.jsxs(Ca,{$variant:a,children:[t.jsx(v,{icon:"circle",iconClass:"ellipse-1",iconSize:"xs"}),t.jsx(v,{icon:"circle",iconClass:"ellipse-2",iconSize:"xs"}),t.jsx(v,{icon:va(a),iconClass:"icon",iconSize:"xs",iconType:"fa-light"})]}),t.jsxs(h,{pr:1.5,children:[t.jsx(W,{fontWeight:"bold",size:"xs",children:i}),t.jsx(j,{size:"sm",whiteSpace:"break-spaces",wordWrap:"break-word",children:e})]}),t.jsx(O,{height:"fit-content",icon:"close",iconColor:r.palette.gray[400],iconSize:"xs",iconType:"fa-light",onClick:s,px:.125,py:.125,variant:"ghost"})]})},za=o.dt.div`
|
|
2399
2401
|
width: fit-content;
|
|
2400
2402
|
border: ${({theme:e})=>`1px solid ${e.palette.gray[300]}`};
|
|
2401
2403
|
border-radius: 4px;
|
|
@@ -2408,7 +2410,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2408
2410
|
align-items: center;
|
|
2409
2411
|
justify-content: center;
|
|
2410
2412
|
padding: 0.5em;
|
|
2411
|
-
`,
|
|
2413
|
+
`,Ia=o.dt.input`
|
|
2412
2414
|
width: 4em;
|
|
2413
2415
|
appearance: textfield;
|
|
2414
2416
|
border-style: none;
|
|
@@ -2428,7 +2430,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2428
2430
|
&::-webkit-inner-spin-button {
|
|
2429
2431
|
opacity: 1;
|
|
2430
2432
|
}
|
|
2431
|
-
`,
|
|
2433
|
+
`,Ta=g.forwardRef(function({autoUpdate:n=!1,decimalPlaces:i=0,defaultValue:a=0,max:r,min:s,name:l,onEnter:c,tooltipMessage:d,...p},u){const x=i<0?0:i,[f,b]=g.useState(Number(a).toFixed(x)),$=g.useCallback(w=>{const k=o.lodashExports.toNumber(w.target.value);w.target.value.endsWith(".")?b(w.target.value):k>=Number(s)&&k<=Number(r)&&(b(String(k)),n&&c(o.lodashExports.toNumber(k.toFixed(x)))),w.stopPropagation()},[n,x,r,s,c]),m=g.useCallback(w=>{w.currentTarget.contains(w.relatedTarget)||b(Number(a).toFixed(x)),w.stopPropagation()},[x,a]),y=g.useCallback(w=>{w.stopPropagation(),w.key==="Enter"&&!o.lodashExports.isEmpty(w.currentTarget.value)&&c(o.lodashExports.toNumber(w.currentTarget.value))},[c]);return t.jsx(za,{onBlur:m,tabIndex:-1,children:t.jsx(Y,{id:"numberInputTooltip",tip:d,children:t.jsx(Ia,{...p,"aria-label":l,"aria-valuemax":Number(r),"aria-valuemin":Number(s),"aria-valuenow":Number(f),max:r,min:s,name:l,onChange:$,onKeyUp:y,ref:u,step:10**-x,type:"number",value:f})})})}),Na={Azure:"integrates/autoenrollment/azureIcon",Bitbucket:"integrates/autoenrollment/bitbucketLogo",GitHub:"integrates/autoenrollment/githubLogo",GitLab:"integrates/autoenrollment/gitlabIcon"},Me=({icon:e,label:n,onClick:i,onlyLabel:a=!1,provider:r="GitLab"})=>{const s=o.nt();return t.jsxs(h,{alignItems:"center",bgColorHover:s.palette.gray[100],borderRadius:"4px",cursor:"pointer",display:"flex",flexDirection:"column",gap:.25,height:"62px",justify:"center",minWidth:"64px",onClick:i,pb:.5,pl:.25,pr:.25,pt:.5,children:[a?!1:t.jsx(h,{height:"24px",width:"24px",children:e===void 0?t.jsx(G,{alt:`${r} Logo`,height:"100%",publicId:Na[r],width:"100%"}):t.jsx(v,{icon:e,iconColor:"#000",iconSize:"sm",iconType:"fa-light"})}),t.jsx(h,{alignItems:"center",display:"flex",minWidth:"24px",children:t.jsx(j,{color:s.palette.gray[800],display:"inline",size:"xs",textAlign:"center",whiteSpace:a?"break-spaces":"nowrap",wordWrap:"unset",children:n??r})})]})},Ra=({align:e="end",buttonLabel:n="Add Credential",children:i,id:a,manualOption:r,providers:s})=>{const l=o.nt(),[c,d]=g.useState(!1),p=g.useRef(null);Q(p.current,()=>{d(!1)},!0);const u=g.useCallback(b=>{r==null||r.onClick(b),d(!1)},[r]),x=g.useCallback(()=>{d(b=>!b)},[d]),f=g.useCallback(b=>$=>{var m;(m=s[b])==null||m.onClick($),d(!1)},[s]);return t.jsxs(h,{alignItems:e,display:"flex",flexDirection:"column",position:"relative",ref:p,width:"max-content",zIndex:10,children:[t.jsx(E,{icon:"plus",onClick:x,variant:"primary",children:n}),t.jsxs(h,{alignItems:"center",bgColor:"#fff",border:`1px solid ${l.palette.gray[200]}`,borderRadius:"4px",display:"flex",gap:.5,height:"78px",id:a,pb:.5,pl:.75,position:"absolute",pr:.75,pt:.5,shadow:"md",top:"40px",visibility:c?"visible":"hidden",zIndex:10,children:[Object.keys(s).map(b=>t.jsx(Me,{onClick:f(b),provider:b},b)),r===void 0?void 0:t.jsx(Me,{icon:"square-plus",label:r.label??"Add manually",onClick:u}),i]})]})},Gt=()=>t.jsx(h,{alignItems:"center",bgColor:C.palette.primary[25],borderRadius:"8px",gap:.5,justify:"center",padding:[.125,.25,.125,.25],width:"max-content",children:t.jsx(j,{bgGradient:C.palette.gradients["01"],fontWeight:"semibold",size:"xs",textFill:"transparent",children:"Recommended"})}),Ea=o.dt.div`
|
|
2432
2434
|
${({className:e,theme:n})=>`
|
|
2433
2435
|
align-items: flex-start;
|
|
2434
2436
|
border-radius: ${n.spacing[1]};
|
|
@@ -2462,7 +2464,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2462
2464
|
}
|
|
2463
2465
|
`}
|
|
2464
2466
|
`}
|
|
2465
|
-
`;
|
|
2467
|
+
`;o.dt.div`
|
|
2466
2468
|
${({className:e,theme:n})=>`
|
|
2467
2469
|
align-items: flex-start;
|
|
2468
2470
|
border-radius: ${n.spacing[1]};
|
|
@@ -2493,8 +2495,8 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2493
2495
|
width: 320px;
|
|
2494
2496
|
}
|
|
2495
2497
|
`}
|
|
2496
|
-
`;const
|
|
2497
|
-
through our scanning tool.`,priceAuthor:"$499",priceGroup:"$1,579"}},
|
|
2498
|
+
`;const Da={advanced:{title:"Advanced plan",benefits:"Leverage vulnerability scanning + AI + expert intelligence",buttonText:"Contact sales",description:"For teams that want to discover risk exposure with speed and accuracy.",priceGroup:"$1,579"},essential:{title:"Essential plan",benefits:"Leverage vulnerability scanning",buttonText:"Start a 21-day free trial",description:`For teams that want to discover risk exposure quickly
|
|
2499
|
+
through our scanning tool.`,priceAuthor:"$499",priceGroup:"$1,579"}},Fa=({description:e,onClick:n,plan:i})=>{const{title:a,description:r,benefits:s,buttonText:l}=Da[i],c=e??r;return t.jsxs(Ea,{className:i,children:[t.jsxs(h,{display:"flex",flexDirection:"column",gap:.25,pt:i==="essential"?1.75:0,children:[i==="advanced"&&t.jsx(Gt,{}),t.jsx(W,{color:C.palette.gray[900],fontWeight:"semibold",size:"sm",sizeSm:"xs",children:a}),t.jsx(j,{color:C.palette.gray[400],fontWeight:"semibold",pb:i==="essential"?1.25:0,size:"sm",sizeSm:"xs",children:s})]}),t.jsx(j,{lineSpacing:1.5,lineSpacingSm:1.25,pb:i==="advanced"?1.5:0,size:"md",sizeSm:"sm",children:c}),t.jsx(E,{onClick:n,variant:"primary",children:l})]})},Ut=({description:e="",highlightDescription:n=""})=>{const i=o.nt(),a=typeof n=="string",r=a?"":new RegExp(`(${n.join("|")})`,"u");return n.length>0?t.jsx(j,{display:"inline",lineSpacing:1.5,size:"lg",textAlign:"center",children:a?t.jsxs(g.Fragment,{children:[t.jsx(je,{color:i.palette.gray[600],display:"inline",fontWeight:"bold",lineSpacing:1.5,size:"lg",children:n}),e]}):e.split(r).map((s,l)=>n.includes(s)?t.jsx(je,{color:i.palette.gray[600],display:"inline",fontWeight:"bold",lineSpacing:1.5,size:"lg",children:s},`${l+1}-bold`):s)}):t.jsx(j,{lineSpacing:1.5,size:"lg",textAlign:"center",children:e})},Pa=({_portal:e=!1,cancelButton:n,darkBackground:i=!1,children:a,confirmButton:r,container:s,description:l,highlightDescription:c="",image:d,maxWidth:p,title:u,titleColor:x})=>{const f=o.nt(),{alt:b,src:$,width:m="77px",height:y="77px"}=d,w=g.useCallback(()=>{n==null||n.onClick()},[n]),k=g.useCallback(()=>{r==null||r.onClick()},[r]),S=t.jsx(h,{alignItems:"center","aria-label":u,"aria-modal":"true",bgColor:i?"rgba(52, 64, 84, 70%)":"",display:"flex",height:"100vh",justify:"center",left:"0",position:e?"fixed":"absolute",top:"0px",width:"100%",zIndex:99999,children:t.jsxs(h,{bgColor:f.palette.white,border:`1px solid ${f.palette.gray[200]}`,borderRadius:"8px",display:"inline-flex",flexDirection:"column",maxWidth:p,pb:2.5,pl:2.5,pr:2.5,pt:2.5,shadow:"lg",width:"100%",zIndex:11,children:[t.jsxs(h,{alignItems:"center",display:"flex",flexDirection:"column",width:"100%",children:[t.jsx(h,{children:t.jsx(G,{alt:b,height:y,publicId:$,width:m})}),t.jsxs(h,{display:"flex",flexDirection:"column",gap:.5,mb:1.5,mt:1.5,children:[t.jsx(W,{color:x,fontWeight:"bold",lineSpacing:2.5,size:"lg",textAlign:"center",children:u}),t.jsx(Ut,{description:l,highlightDescription:c})]})]}),a&&t.jsx(h,{mb:1,scroll:"y",children:t.jsx(h,{height:"100%",children:a})}),t.jsxs(h,{alignItems:"flex-start",display:"flex",gap:1,justify:"center",children:[o.lodashExports.isObject(r)?t.jsx(E,{onClick:k,variant:(r==null?void 0:r.variant)??"primary",children:r==null?void 0:r.text},r==null?void 0:r.key):void 0,o.lodashExports.isObject(n)?t.jsx(E,{onClick:w,variant:(n==null?void 0:n.variant)??"tertiary",children:n==null?void 0:n.text},n==null?void 0:n.key):void 0]})]})});return e?te.createPortal(S,s??document.body):S},La=o.dt.div`
|
|
2498
2500
|
${({theme:e})=>`
|
|
2499
2501
|
height: ${e.spacing[1]};
|
|
2500
2502
|
width: ${e.spacing[1]};
|
|
@@ -2525,7 +2527,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2525
2527
|
font-size: ${e.spacing[.5]};
|
|
2526
2528
|
}
|
|
2527
2529
|
`}
|
|
2528
|
-
`,
|
|
2530
|
+
`,Yt=({margin:e,onClick:n,text:i})=>{const a=o.nt(),r=t.jsxs(La,{children:[t.jsx(v,{icon:"circle",iconClass:"ellipse-1",iconSize:"xs"}),t.jsx(v,{icon:"circle",iconClass:"ellipse-2",iconSize:"xs"}),t.jsx(v,{icon:"crown",iconClass:"icon",iconSize:"xs"})]});return i!==void 0?t.jsx(h,{cursor:"pointer",display:"inline-block",mr:e,onClick:n,children:t.jsxs(h,{alignItems:"center",bgColor:a.palette.warning[50],borderRadius:"4px",display:"flex",padding:[.25,.25,.25,.25],width:"fit-content",children:[r,t.jsx(j,{color:a.palette.warning[500],display:"inline",ml:.25,size:"xs",children:i})]})}):t.jsx(h,{display:"inline-block",mr:e,onClick:n,children:r})},Wa=({score:e})=>{const n=o.nt(),i=e<=33?"priority-bars-low":"priority-bars-medium",a=e>66||e===0?"priority-bars-high":i;return t.jsxs(h,{alignItems:"center",display:"inline-flex",gap:.25,children:[t.jsx(v,{icon:a,iconClass:e<=66?"fa-kit-duotone":"",iconColor:e>0?n.palette.primary[500]:n.palette.gray[200],iconSize:"xs",iconType:"fa-kit",secondaryColor:n.palette.gray[200]}),t.jsx(j,{color:n.palette.gray[800],size:"sm",textAlign:"right",children:e+"%"})]})},{getVariant:Ba}=U(e=>({compliance:`
|
|
2529
2531
|
display: inline-flex;
|
|
2530
2532
|
|
|
2531
2533
|
&.horizontal {
|
|
@@ -2583,18 +2585,18 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2583
2585
|
.progress-bar {
|
|
2584
2586
|
background-color: ${e.palette.primary[500]};
|
|
2585
2587
|
}
|
|
2586
|
-
`})),
|
|
2587
|
-
${({theme:e,$minWidth:n,$orientation:i,$rounded:
|
|
2588
|
+
`})),Ma=(e,n)=>n<50?e.palette.error[500]:n<80?e.palette.warning[500]:e.palette.success[500],Oa=o.dt.div`
|
|
2589
|
+
${({theme:e,$minWidth:n,$orientation:i,$rounded:a,$variant:r})=>`
|
|
2588
2590
|
background-color: ${e.palette.gray[100]};
|
|
2589
|
-
border-radius: ${
|
|
2591
|
+
border-radius: ${a?"100px":"unset"};
|
|
2590
2592
|
${i==="horizontal"?"min-width":"min-height"}: ${n}px;
|
|
2591
2593
|
${i==="horizontal"?"":"height: 100%;"}
|
|
2592
2594
|
|
|
2593
|
-
${
|
|
2595
|
+
${Ba(e,r)}
|
|
2594
2596
|
|
|
2595
2597
|
`}
|
|
2596
|
-
`,
|
|
2597
|
-
${({theme:e,$percentage:n,$rounded:i,$variant:
|
|
2598
|
+
`,Aa=o.dt.div`
|
|
2599
|
+
${({theme:e,$percentage:n,$rounded:i,$variant:a})=>`
|
|
2598
2600
|
display: inline-flex;
|
|
2599
2601
|
width: ${n}%;
|
|
2600
2602
|
max-width: 100%;
|
|
@@ -2603,9 +2605,9 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2603
2605
|
border-radius: ${i?"100px":"unset"};
|
|
2604
2606
|
border-end-end-radius: ${i&&n<100?"0":"inherit"};
|
|
2605
2607
|
border-start-end-radius: ${i&&n<100?"0":"inherit"};
|
|
2606
|
-
background-color: ${
|
|
2608
|
+
background-color: ${a==="compliance"?Ma(e,n):"inherit"};
|
|
2607
2609
|
`}
|
|
2608
|
-
`,
|
|
2610
|
+
`,Ha=({minWidth:e=100,percentage:n,percentageLocation:i="right",showPercentage:a=!1,orientation:r="horizontal",rounded:s=!0,variant:l="default"})=>{const c=a&&i==="left",d=a?t.jsx(h,{alignItems:"center",display:"flex",justify:c?"flex-end":"flex-start",width:"40px",children:t.jsx(j,{ml:.5,mr:c?.5:0,size:"sm",children:`${n}%`})}):null,p=t.jsx(Oa,{$minWidth:e,$orientation:r,$rounded:s,$variant:l,className:r,children:t.jsx(Aa,{$percentage:n,$rounded:s,$variant:l,className:"progress-bar"})});return t.jsxs(h,{alignItems:"center",display:"inline-flex",flexDirection:c?"row-reverse":"row",height:r==="horizontal"?"auto":"100%",maxWidth:c?`${e+43}px`:void 0,minWidth:c?`${e+43}px`:void 0,textAlign:"end",children:[p,d]})},_a=o.dt(ne)`
|
|
2609
2611
|
animation: ${({$animationTime:e})=>`progress-bar ${e}s ease-in-out`};
|
|
2610
2612
|
animation-fill-mode: both;
|
|
2611
2613
|
|
|
@@ -2618,12 +2620,12 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2618
2620
|
width: 100%;
|
|
2619
2621
|
}
|
|
2620
2622
|
}
|
|
2621
|
-
`,
|
|
2623
|
+
`,Va=e=>e*1e3/100,Ga=({progressTime:e=10,onComplete:n})=>{const i=o.nt(),a=100,[r,s]=g.useState(0);return g.useEffect(()=>{r===a&&(n==null||n())},[r,n]),g.useEffect(()=>{const l=setInterval(()=>{s(c=>c===a?0:c+1)},Va(e));return()=>{clearInterval(l)}},[r,e]),t.jsx(h,{bgColor:i.palette.gray[200],height:"4px",children:t.jsx(_a,{$animationTime:e,bgGradient:i.palette.gradients["01"],height:"100%",width:`${r}%`})})},Ua=o.dt.div.attrs({className:"comp-scroll-up"})`
|
|
2622
2624
|
bottom: 15px;
|
|
2623
2625
|
position: fixed;
|
|
2624
2626
|
right: 140px;
|
|
2625
2627
|
z-index: 100;
|
|
2626
|
-
`,
|
|
2628
|
+
`,Ya=({scrollerId:e="dashboard",visibleAt:n=500})=>{const[i,a]=g.useState(!1),[r,s]=g.useState(null);g.useEffect(()=>{s(document.getElementById(e)),r==null||r.addEventListener("scroll",()=>{a(r.scrollTop>n)})},[r,e,n]);const l=g.useCallback(()=>{r==null||r.scrollTo({behavior:"smooth",top:0})},[r]);return i?t.jsx(Ua,{children:t.jsx(O,{height:"40px",icon:"arrow-up",iconSize:"sm",id:"scroll-up",onClick:l,width:"40px"})}):null},Ka=o.dt.a`
|
|
2627
2629
|
${({theme:e})=>`
|
|
2628
2630
|
align-items: center;
|
|
2629
2631
|
display: flex;
|
|
@@ -2668,7 +2670,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2668
2670
|
width: 270px;
|
|
2669
2671
|
}
|
|
2670
2672
|
`}
|
|
2671
|
-
`,
|
|
2673
|
+
`,qa=o.dt.div.attrs({className:"icon-wrap"})`
|
|
2672
2674
|
${({theme:e})=>`
|
|
2673
2675
|
align-items: center;
|
|
2674
2676
|
background: ${e.palette.primary[25]};
|
|
@@ -2683,7 +2685,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2683
2685
|
font-size: 20px;
|
|
2684
2686
|
}
|
|
2685
2687
|
`}
|
|
2686
|
-
`,
|
|
2688
|
+
`,Xa=o.dt.div`
|
|
2687
2689
|
${({theme:e})=>`
|
|
2688
2690
|
align-items: flex-start;
|
|
2689
2691
|
display: flex;
|
|
@@ -2715,7 +2717,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2715
2717
|
width: 320px;
|
|
2716
2718
|
}
|
|
2717
2719
|
`}
|
|
2718
|
-
`,
|
|
2720
|
+
`,Za=o.dt.form`
|
|
2719
2721
|
${({theme:e})=>`
|
|
2720
2722
|
align-items: center;
|
|
2721
2723
|
display: flex;
|
|
@@ -2724,7 +2726,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2724
2726
|
padding: ${e.spacing[1]} ${e.spacing[1.5]};
|
|
2725
2727
|
width: 100%;
|
|
2726
2728
|
`}
|
|
2727
|
-
`,
|
|
2729
|
+
`,Ja=o.dt.input`
|
|
2728
2730
|
${({theme:e})=>`
|
|
2729
2731
|
flex: 1 0 0;
|
|
2730
2732
|
border: none;
|
|
@@ -2750,7 +2752,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2750
2752
|
font-size: ${e.typography.text.sm};
|
|
2751
2753
|
}
|
|
2752
2754
|
`}
|
|
2753
|
-
`,
|
|
2755
|
+
`,Qa=o.dt.button`
|
|
2754
2756
|
${({theme:e})=>`
|
|
2755
2757
|
align-items: center;
|
|
2756
2758
|
border-radius: ${e.spacing[.5]};
|
|
@@ -2770,7 +2772,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2770
2772
|
background-color: ${e.palette.gray[100]};
|
|
2771
2773
|
}
|
|
2772
2774
|
`}
|
|
2773
|
-
`,
|
|
2775
|
+
`,Ee=o.dt.div.attrs({className:"dropdown"})`
|
|
2774
2776
|
${({theme:e,$empty:n=!1,$showHits:i=!1})=>`
|
|
2775
2777
|
align-items: flex-start;
|
|
2776
2778
|
align-self: stretch;
|
|
@@ -2813,7 +2815,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2813
2815
|
height: ${e.spacing[.5]};
|
|
2814
2816
|
}
|
|
2815
2817
|
`}
|
|
2816
|
-
`,
|
|
2818
|
+
`,we=({hit:e,icon:n="infinity",showIcon:i=!1})=>{const{slug:a,title:r}=e,s=String(a).startsWith("/pages/")?String(a).replace("/pages/","/"):String(a);return t.jsxs(Ka,{href:s,rel:"nofollow noopener noreferrer",children:[i&&t.jsx(qa,{children:t.jsx(v,{icon:n,iconClass:"fill-gradient-01",iconSize:"sm",iconType:"fa-light"})}),t.jsx(j,{color:C.palette.gray[800],lineSpacing:1.5,size:"md",sizeSm:"sm",whiteSpace:"wrap",children:String(r)})]})},eo=[{hit:{slug:"/services/continuous-hacking/",title:"Continuous Hacking"},icon:"infinity"},{hit:{slug:"/platform/",title:"Platform"},icon:"sidebar"},{hit:{slug:"/plans/",title:"Plans"},icon:"star-christmas"},{hit:{slug:"/blog/",title:"Blog"},icon:"pen-line"}],it={hit:{slug:"/contact-us/",title:"Contact Support"},icon:"envelope"},to=({items:e,placeholder:n="Search",refine:i,query:a})=>{const[r,s]=g.useState(a),[l,c]=g.useState(!1),d=g.useRef(null),p=g.useRef(null),u=r.length>=2,x=g.useCallback(w=>{s(w),i(w)},[i]),f=g.useCallback(()=>{x("")},[x]),b=g.useCallback(()=>{c(!0)},[]),$=g.useCallback(w=>{x(w.currentTarget.value)},[x]),m=g.useCallback(w=>{w.preventDefault(),w.stopPropagation(),f(),p.current&&p.current.focus()},[f]),y=g.useCallback(w=>{w.preventDefault(),w.stopPropagation(),p.current&&p.current.blur()},[]);return Q(d.current,()=>{f(),c(!1)},!0),t.jsxs(Xa,{ref:d,children:[t.jsxs(Za,{action:"",noValidate:!0,onReset:m,onSubmit:y,role:"search",children:[t.jsxs("div",{className:"flex gap-2 w-full",children:[t.jsx("div",{className:"h-10 p-2",children:t.jsx(v,{icon:"magnifying-glass",iconSize:"sm",iconType:"fa-light"})}),t.jsx(Ja,{autoCapitalize:"off",autoComplete:"off",autoCorrect:"off",maxLength:512,onChange:$,onFocus:b,placeholder:n,ref:p,spellCheck:!1,type:"search",value:r})]}),u&&t.jsx(Qa,{type:"reset",children:t.jsx(v,{icon:"xmark",iconSize:"sm",iconType:"fa-light"})})]}),l&&r.length<2&&t.jsxs(Ee,{children:[t.jsx(j,{color:C.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Suggested"}),t.jsx("div",{className:"flex flex-col items-start self-stretch",children:eo.map(({hit:w,icon:k},S)=>t.jsx(we,{hit:w,icon:k,showIcon:!0},`${k}-${S}`))}),t.jsx(j,{color:C.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Can’t find what you’re looking for?"}),t.jsx(we,{hit:it.hit,icon:it.icon,showIcon:!0})]}),u&&e.length>0&&t.jsxs(Ee,{$showHits:u,children:[t.jsx(j,{color:C.palette.gray[400],fontWeight:"bold",lineSpacing:1.5,size:"md",sizeSm:"sm",children:"Results"}),t.jsx("div",{className:"flex flex-col items-start self-stretch",children:e.map(w=>t.jsx(we,{hit:w},w.objectID))})]}),u&&e.length===0&&t.jsx(Ee,{$empty:e.length===0,children:t.jsxs("div",{className:"items-center flex flex-col gap-4 py-[90px] w-full",children:[t.jsx(G,{height:96,publicId:"airs/search-bar/empty-state-icon",width:96}),t.jsx(W,{display:"flex",size:"sm",sizeSm:"xs",textAlign:"center",children:"No results found"}),t.jsxs(j,{display:"flex",lineSpacing:1.5,size:"md",sizeSm:"sm",textAlign:"center",children:[`“${r}” did not match.`,t.jsx("br",{}),"Please try again."]}),t.jsx(E,{onClick:f,variant:"secondary",children:"Clear search"})]})})]})},no={critical:{bgColor:C.palette.primary[700],colorL:C.palette.gray[800],colorR:C.palette.white},disable:{bgColor:C.palette.gray[200],colorL:C.palette.gray[400],colorR:C.palette.gray[400]},high:{bgColor:C.palette.error[500],colorL:C.palette.gray[800],colorR:C.palette.white},low:{bgColor:C.palette.warning[200],colorL:C.palette.gray[800],colorR:C.palette.gray[800]},medium:{bgColor:C.palette.warning[500],colorL:C.palette.gray[800],colorR:C.palette.gray[800]}},io=({textL:e,textR:n,variant:i})=>{const a=o.nt(),{bgColor:r,colorL:s,colorR:l}=no[i];return t.jsxs(h,{alignItems:"flex-start",display:"inline-flex",children:[e?t.jsx(h,{alignItems:"center",bgColor:a.palette.white,border:`1px solid ${r}`,borderRadius:"4px 0px 0px 4px",display:"flex",justify:"center",padding:[0,.25,0,.25],children:t.jsx(j,{color:s,size:"xs",children:e})}):void 0,t.jsx(h,{alignItems:"center",bgColor:r,border:`1px solid ${r}`,borderRadius:e?"0px 4px 4px 0px":"4px",display:"flex",padding:e?[0,.25,0,.125]:[0,.25,0,.25],pb:.125,pl:.125,pr:.125,pt:.125,children:t.jsx(j,{color:l,size:"xs",children:n})})]})},ro=(e,n)=>{const i={critical:C.palette.primary[700],high:C.palette.error[500],low:C.palette.warning[200],medium:C.palette.warning[500],none:C.palette.gray[200]},a={disabled:C.palette.gray[400],enabled:C.palette.gray[800]},r={critical:C.palette.white,high:C.palette.white,low:C.palette.gray[800],medium:C.palette.gray[800],none:C.palette.gray[400]};return{iconColor:n<1?i.none:i[e],iconText:o.lodashExports.capitalize(e.charAt(0)),iconTextColor:n<1?r.none:r[e],textColor:n<1?a.disabled:a.enabled}},ae=({variant:e,value:n})=>{const{iconColor:i,iconText:a,iconTextColor:r,textColor:s}=ro(e,n),l=o.lodashExports.capitalize(e.charAt(0))+e.slice(1);return t.jsxs(h,{alignItems:"center",display:"inline-flex",gap:.5,minWidth:"43px",children:[t.jsx(Y,{id:l,place:"top",tip:l,children:t.jsx(h,{alignItems:"center",bgColor:i,borderRadius:"4px",cursor:"pointer",display:"flex",height:"22px",maxWidth:"22px",minWidth:"22px",children:t.jsx(j,{color:r,size:"sm",textAlign:"center",children:a})})}),t.jsx(j,{color:s,size:"sm",children:n})]})},ao=({critical:e,high:n,medium:i,low:a})=>t.jsxs(h,{alignItems:"center",display:"inline-flex",gap:1,children:[t.jsx(ae,{value:e,variant:"critical"}),t.jsx(ae,{value:n,variant:"high"}),t.jsx(ae,{value:i,variant:"medium"}),t.jsx(ae,{value:a,variant:"low"})]}),oo=o.dt.div`
|
|
2817
2819
|
${({theme:e})=>`
|
|
2818
2820
|
border-radius: ${e.spacing[.25]};
|
|
2819
2821
|
cursor: pointer;
|
|
@@ -2831,7 +2833,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2831
2833
|
display: block;
|
|
2832
2834
|
}
|
|
2833
2835
|
`}
|
|
2834
|
-
`,
|
|
2836
|
+
`,so=({visibleElement:e,hiddenElement:n})=>t.jsxs(oo,{children:[e,t.jsx(h,{display:"none",position:"absolute",top:"100%",zIndex:10,children:n})]}),Kt=({customBadge:e=void 0,description:n,icon:i,onClick:a,requiresUpgrade:r=!1,title:s})=>{const l=o.nt();return t.jsxs(h,{bgColor:l.palette.white,bgColorHover:l.palette.gray[100],cursor:"pointer",display:"flex",gap:.5,onClick:a,px:1.25,py:1,width:"100%",children:[t.jsx(h,{alignItems:"center",bgColor:l.palette.gray[300],borderRadius:l.spacing[.25],display:"flex",height:"24px",justify:"center",width:"24px",children:t.jsx(v,{icon:i,iconColor:l.palette.gray[800],iconSize:"xxs",ml:.5,mr:.5})}),t.jsxs(h,{children:[t.jsxs(h,{alignItems:"center",display:"inline-flex",gap:.5,children:[t.jsx(j,{color:l.palette.gray[800],size:"sm",children:s}),r?t.jsx(Yt,{text:"Upgrade"}):void 0,e]}),t.jsx(j,{color:l.palette.gray[400],size:"xs",children:n})]})]})},lo=o.dt(o.m.div)`
|
|
2835
2837
|
${({theme:e})=>`
|
|
2836
2838
|
background-color: ${e.palette.white};
|
|
2837
2839
|
box-shadow: ${e.shadows.lg};
|
|
@@ -2854,7 +2856,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2854
2856
|
height: auto;
|
|
2855
2857
|
}
|
|
2856
2858
|
`}
|
|
2857
|
-
`,
|
|
2859
|
+
`,co=({children:e,closeIconId:n="close-menu",isOpen:i,items:a,onClose:r,primaryButtonText:s,primaryOnClick:l,secondaryButtonText:c,secondaryOnClick:d,title:p})=>{const u=o.nt(),x=g.useRef(null),f=g.useCallback(b=>()=>{b(),r()},[r]);return Q(x.current,()=>{r()},!0),t.jsx(o.LazyMotion,{features:o.domAnimation,children:t.jsx(lo,{animate:i?{display:"block",x:0}:{transitionEnd:{display:"none"},x:"100%"},initial:{display:"none",x:"100%"},ref:x,transition:{bounce:0,duration:.6,type:"spring"},children:t.jsxs(h,{height:"100%",position:"relative",children:[t.jsxs(h,{alignItems:"center",bgColor:u.palette.white,borderBottom:"1px solid",borderColor:u.palette.gray[200],display:"flex",gap:1.25,justify:"space-between",padding:[1.25,1.25,1.25,1.25],position:"sticky",top:"0",zIndex:40,children:[t.jsx(j,{color:u.palette.black,display:"inline",fontWeight:"bold",size:"xl",children:p}),t.jsx(O,{icon:"close",iconColor:u.palette.gray[400],iconSize:"xs",iconTransform:"grow-4",iconType:"fa-light",id:n,onClick:r,px:.25,py:.25,variant:"ghost"})]}),t.jsxs(h,{display:"flex",flexDirection:"column",justify:"space-between",minHeight:"100vh",children:[t.jsxs(h,{py:1.25,children:[(a??[]).map(({customBadge:b,description:$,icon:m,onClick:y,requiresUpgrade:w,title:k})=>t.jsx(Kt,{customBadge:b,description:$,icon:m,onClick:f(y),requiresUpgrade:w,title:k},k)),e&&t.jsx(h,{px:1.25,children:e})]}),s===void 0?void 0:t.jsxs(h,{alignItems:"center",bgColor:u.palette.white,borderColor:u.palette.gray[200],borderTop:"1px solid",bottom:"0",display:"flex",gap:1.25,justify:"end",padding:[1.25,1.25,1.25,1.25],position:"sticky",width:"100%",zIndex:40,children:[c===void 0?void 0:t.jsx(E,{color:`${u.palette.primary[500]} !important`,onClick:d,pl:.5,pr:.5,variant:"ghost",children:c}),t.jsx(E,{onClick:l,type:"submit",children:s})]})]})]})})})},po=(e,n)=>n>=50?`
|
|
2858
2860
|
${e.palette.gray[200]} 50%,
|
|
2859
2861
|
${e.palette.primary[500]} 50.05%,
|
|
2860
2862
|
${e.palette.primary[500]} ${n}%,
|
|
@@ -2865,7 +2867,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2865
2867
|
${e.palette.primary[500]} 50%,
|
|
2866
2868
|
${e.palette.gray[200]} 50.05%,
|
|
2867
2869
|
${e.palette.gray[200]} 100%
|
|
2868
|
-
`,
|
|
2870
|
+
`,go=o.dt.div`
|
|
2869
2871
|
${({theme:e,$min:n,$value:i})=>`
|
|
2870
2872
|
align-items: center;
|
|
2871
2873
|
align-self: stretch;
|
|
@@ -2881,7 +2883,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2881
2883
|
${n>=0?`
|
|
2882
2884
|
${e.palette.primary[500]} ${i}%,
|
|
2883
2885
|
${e.palette.gray[200]} ${i}%
|
|
2884
|
-
`:
|
|
2886
|
+
`:po(e,i)}
|
|
2885
2887
|
);
|
|
2886
2888
|
border-radius: ${e.spacing[.125]};
|
|
2887
2889
|
height: ${e.spacing[.25]};
|
|
@@ -2905,7 +2907,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2905
2907
|
border: 1px solid ${e.palette.primary[500]};
|
|
2906
2908
|
}
|
|
2907
2909
|
`}
|
|
2908
|
-
`,
|
|
2910
|
+
`,uo=o.dt.div`
|
|
2909
2911
|
${({theme:e})=>`
|
|
2910
2912
|
align-items: center;
|
|
2911
2913
|
display: flex;
|
|
@@ -2919,7 +2921,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2919
2921
|
font-size: ${e.spacing[.5]};
|
|
2920
2922
|
}
|
|
2921
2923
|
`}
|
|
2922
|
-
`,
|
|
2924
|
+
`,xo=o.dt.output`
|
|
2923
2925
|
${({theme:e})=>`
|
|
2924
2926
|
align-items: flex-end;
|
|
2925
2927
|
border-radius: ${e.spacing[.5]};
|
|
@@ -2930,7 +2932,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2930
2932
|
padding: ${e.spacing[.625]} ${e.spacing[.75]};
|
|
2931
2933
|
width: 59px;
|
|
2932
2934
|
`}
|
|
2933
|
-
`,
|
|
2935
|
+
`,qt=({state:e,trackRef:n,index:i})=>{const a=g.useRef(null),{thumbProps:r,inputProps:s,isDragging:l}=o.$47b897dc8cdb026b$export$8d15029008292ae({index:i,trackRef:n,inputRef:a},e);return t.jsx("div",{...r,className:`thumb ${l?"dragging":""}`,children:t.jsx(o.$5c3e21d68f1c4674$export$439d29a4e110a164,{children:t.jsx("input",{ref:a,...s})})})},fo=(e,n,i)=>Math.round((i-e)/(n-e)*100),ho=e=>{const n=o.nt(),i=g.useRef(null),{isDisabled:a,label:r,name:s}=e,{control:l}=o.useFormContext(),{field:{onChange:c,value:d}}=o.useController({name:s,control:l,disabled:a}),{minValue:p=0,maxValue:u=100}=e,x=o.$a916eb452884faea$export$b7a616150fdb9f44(),f=o.$28f99e3e86e6ec45$export$e5fda3247f5d67f9({...e,numberFormatter:x,onChange:c,value:d}),b=fo(p,u,f.getThumbValue(0)),{groupProps:$,trackProps:m}=o.$bcca50147b47f54d$export$56b2c08e277f365({...e,"aria-label":"slider",id:s},f,i);return t.jsx(H,{htmlFor:s,label:r,children:t.jsxs(h,{alignItems:"center",display:"inline-flex",gap:1.25,pl:.5,width:"100%",children:[t.jsxs(go,{...$,$min:p??0,$value:b,className:"slider",children:[t.jsx("div",{...m,className:`track ${f.isDisabled?"disabled":""}`,ref:i,children:t.jsx(qt,{index:0,state:f,trackRef:i})}),t.jsxs(uo,{children:[t.jsx("p",{children:`${x.format(p)} (Low)`}),p<0&&t.jsx("p",{children:"0"}),t.jsx("p",{children:`${x.format(u)} (High)`})]})]}),t.jsx(xo,{children:t.jsx(j,{color:n.palette.gray[800],size:"sm",textAlign:"right",children:f.getThumbValueLabel(0)})})]})})},{getVariant:bo}=U(e=>({completed:`
|
|
2934
2936
|
background-color: ${e.palette.primary[500]};
|
|
2935
2937
|
color: ${e.palette.white};
|
|
2936
2938
|
|
|
@@ -2953,7 +2955,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2953
2955
|
&::after {
|
|
2954
2956
|
background-color: ${e.palette.gray[200]};
|
|
2955
2957
|
}
|
|
2956
|
-
`}))
|
|
2958
|
+
`})),$o=o.dt.div`
|
|
2957
2959
|
${({theme:e})=>`
|
|
2958
2960
|
align-items: stretch;
|
|
2959
2961
|
background-color: ${e.palette.white};
|
|
@@ -2963,7 +2965,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2963
2965
|
padding: ${`${e.spacing[1]} ${e.spacing[1]}`};
|
|
2964
2966
|
scroll-behavior: unset;
|
|
2965
2967
|
`}
|
|
2966
|
-
`,
|
|
2968
|
+
`,yo=o.dt.div`
|
|
2967
2969
|
display: flex;
|
|
2968
2970
|
flex-direction: row;
|
|
2969
2971
|
margin-bottom: ${({theme:e})=>e.spacing[2]};
|
|
@@ -2971,7 +2973,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2971
2973
|
&:last-child > div:first-child > span::after {
|
|
2972
2974
|
display: none;
|
|
2973
2975
|
}
|
|
2974
|
-
`,
|
|
2976
|
+
`,mo=o.dt.div`
|
|
2975
2977
|
${({theme:e})=>`
|
|
2976
2978
|
display: inline-flex;
|
|
2977
2979
|
font-family: ${e.typography.type.primary};
|
|
@@ -2983,7 +2985,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
2983
2985
|
margin-right: ${e.spacing[.5]};
|
|
2984
2986
|
}
|
|
2985
2987
|
`}
|
|
2986
|
-
`,
|
|
2988
|
+
`,wo=o.dt.span`
|
|
2987
2989
|
${({theme:e,$variant:n})=>`
|
|
2988
2990
|
border-radius: 6px;
|
|
2989
2991
|
display: inline-block;
|
|
@@ -3006,9 +3008,9 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
3006
3008
|
height: calc(100% - ${e.spacing[1]});
|
|
3007
3009
|
}
|
|
3008
3010
|
|
|
3009
|
-
${
|
|
3011
|
+
${bo(e,n)}
|
|
3010
3012
|
`}
|
|
3011
|
-
|
|
3013
|
+
`,jo=({button:{disabled:e=!1,text:n,type:i="button",onClick:a},steps:r})=>{const[s,l]=g.useState(1),c=g.useCallback((d,p)=>()=>{l(u=>u+d),p==null||p()},[]);return t.jsx($o,{children:r.map((d,p)=>{const{content:u,title:x,nextAction:f,previousAction:b}=d,$=p+1,m=$===s?"current":"disabled",y=$<s?"completed":m;return t.jsxs(yo,{children:[t.jsx(h,{maxWidth:"40px",position:"relative",children:t.jsx(wo,{$variant:y,children:y==="completed"?t.jsx(v,{icon:"check",iconSize:"xs",iconType:"fa-solid"}):$})}),t.jsxs(h,{ml:1.5,width:"100%",children:[t.jsx(W,{fontWeight:"bold",lineSpacing:1.25,mb:1.5,size:"xs",children:x}),y==="current"&&t.jsxs(h,{children:[u,t.jsxs(mo,{children:[s>1&&t.jsx(E,{disabled:d.isDisabledPrevious??!1,onClick:c(-1,b),variant:"tertiary",children:"Previous"}),s<r.length?t.jsx(E,{disabled:d.isDisabledNext??!1,onClick:c(1,f),variant:"primary",children:"Next step"}):t.jsx(E,{disabled:e,onClick:a,type:i,variant:"primary",children:n})]})]})]})]},d.title)})})},ko=o.dt.button`
|
|
3012
3014
|
${({theme:e})=>`
|
|
3013
3015
|
align-items: center;
|
|
3014
3016
|
background-color: ${e.palette.white};
|
|
@@ -3050,7 +3052,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
3050
3052
|
background-color: ${e.palette.gray[100]};
|
|
3051
3053
|
}
|
|
3052
3054
|
`}
|
|
3053
|
-
`,
|
|
3055
|
+
`,Co={add:{icon:"plus"},approve:{icon:"check"},disabled:{icon:"ban"},reject:{icon:"xmark"},submit:{icon:"arrow-right"},success:{icon:"check"}},vo=({disabled:e=!1,icon:n,id:i,label:a,name:r,onClick:s,type:l="button",variant:c})=>{const d=o.nt(),p=t.jsxs(ko,{"aria-label":r??void 0,className:c,disabled:e,id:i,onClick:s,type:l,children:[t.jsx(v,{clickable:!1,icon:n??Co[c].icon,iconSize:r===void 0?"xxs":"xs",iconType:"fa-light"}),r??void 0]});return t.jsxs(h,{alignItems:"center",display:"flex",children:[p,a&&t.jsx(j,{color:d.palette.gray[800],ml:.5,size:"sm",children:a})]})},So=({items:e})=>t.jsx(rr,{children:e.map(({isActive:n,label:i,onClick:a},r)=>t.jsx(ir,{className:n?"active":"",onClick:a,type:"button",children:t.jsx(W,{color:"inherit",fontWeight:"semibold",size:"sm",sizeSm:"xs",children:i})},`${i}-${r}`))}),zo=o.dt.div`
|
|
3054
3056
|
${({theme:e})=>`
|
|
3055
3057
|
align-items: center;
|
|
3056
3058
|
background-color: ${e.palette.white};
|
|
@@ -3072,7 +3074,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
3072
3074
|
border: 1px solid ${e.palette.gray[600]};
|
|
3073
3075
|
}
|
|
3074
3076
|
`}
|
|
3075
|
-
`,
|
|
3077
|
+
`,Io=o.dt.div`
|
|
3076
3078
|
${({theme:e})=>`
|
|
3077
3079
|
display: flex;
|
|
3078
3080
|
flex-direction: column;
|
|
@@ -3143,7 +3145,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
3143
3145
|
}
|
|
3144
3146
|
}
|
|
3145
3147
|
`}
|
|
3146
|
-
`,
|
|
3148
|
+
`,Xt=({date:e,description:n,title:i})=>{const a=o.nt();return t.jsxs(zo,{className:"timeline-card",children:[t.jsx(j,{color:a.palette.gray[800],fontWeight:"bold",lineSpacing:1.75,size:"xl",children:e}),t.jsx(j,{color:a.palette.gray[800],fontWeight:"bold",lineSpacing:1.5,mb:.5,size:"md",textAlign:"center",children:i}),t.jsx("div",{children:n.map((r,s)=>{const l=`${r}#${s}`;return t.jsx(j,{size:"sm",textAlign:"center",wordBreak:"break-word",children:r},l)})})]})},To=({items:e})=>t.jsx(Io,{children:e.map((n,i)=>t.jsx(Xt,{date:n.date,description:n.description,title:n.title},`${n.title}-${i}`))}),No=o.dt.div`
|
|
3147
3149
|
${({theme:e})=>`
|
|
3148
3150
|
align-items: center;
|
|
3149
3151
|
display: flex;
|
|
@@ -3173,7 +3175,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
3173
3175
|
width: 320px;
|
|
3174
3176
|
}
|
|
3175
3177
|
`}
|
|
3176
|
-
`,
|
|
3178
|
+
`,Ro=o.dt.button`
|
|
3177
3179
|
${({theme:e})=>`
|
|
3178
3180
|
align-items: center;
|
|
3179
3181
|
background: linear-gradient(
|
|
@@ -3202,7 +3204,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
3202
3204
|
color: ${e.palette.white};
|
|
3203
3205
|
}
|
|
3204
3206
|
`}
|
|
3205
|
-
`,
|
|
3207
|
+
`,Eo=({defaultSelection:e,options:n,handleClick:i})=>{const[a,r]=g.useState(e??n[0]),s=g.useCallback(l=>()=>{r(l),i(l)},[i]);return t.jsx(No,{children:n.map((l,c)=>t.jsx(Ro,{className:`${l.includes(a)&&"selected"}`,onClick:s(l),children:t.jsx(j,{color:"inherit",fontWeight:"bold",size:"md",sizeSm:"sm",textAlign:"center",children:l})},`${l}-${c}`))})},Do={content:"",disableBeacon:!0,hideCloseButton:!1,locale:{back:"Back",close:"Close",last:"Close",next:"Next",open:"Open the dialog",skip:"Skip"},showSkipButton:!0,styles:{buttonBack:{fontFamily:"roboto"},buttonNext:{fontFamily:"roboto"},buttonSkip:{fontFamily:"roboto"},options:{zIndex:9999},tooltipContainer:{fontFamily:"roboto",textAlign:"left"}},target:""},Fo=({run:e,steps:n,onFinish:i})=>{const[a,r]=g.useState(e),[s,l]=g.useState(0),c=g.useCallback(d=>{const{action:p,index:u,status:x,type:f}=d;[o.EVENTS.STEP_AFTER,o.EVENTS.TARGET_NOT_FOUND].includes(f)?l(u+(p===o.ACTIONS.PREV?-1:1)):([o.STATUS.FINISHED,o.STATUS.SKIPPED].includes(x)||p==="close")&&(r(!1),o.lodashExports.isUndefined(i)||i())},[i]);return t.jsx(o.components_default,{callback:c,continuous:!0,disableOverlayClose:!0,disableScrollParentFix:!0,run:a,spotlightClicks:!0,stepIndex:s,steps:n,styles:{buttonNext:{display:s===n.length-1?"none":"block"},options:{zIndex:9999}}})},Po=o.dt.form`
|
|
3206
3208
|
${({theme:e})=>`
|
|
3207
3209
|
align-items: center;
|
|
3208
3210
|
background: ${e.palette.gray[50]};
|
|
@@ -3230,7 +3232,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
3230
3232
|
width: 320px;
|
|
3231
3233
|
}
|
|
3232
3234
|
`}
|
|
3233
|
-
`,
|
|
3235
|
+
`,Lo=o.dt.div`
|
|
3234
3236
|
align-items: flex-start;
|
|
3235
3237
|
align-self: stretch;
|
|
3236
3238
|
display: flex;
|
|
@@ -3244,7 +3246,7 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
3244
3246
|
text-align: center;
|
|
3245
3247
|
}
|
|
3246
3248
|
}
|
|
3247
|
-
`,
|
|
3249
|
+
`,Wo=o.dt.div`
|
|
3248
3250
|
${({theme:e})=>`
|
|
3249
3251
|
align-items: flex-start;
|
|
3250
3252
|
align-self: stretch;
|
|
@@ -3265,4 +3267,4 @@ ${f[8]}...`:(f.length<8&&l(!1),n)},[o,n,e]),p=g.useMemo(d,[d]),u=g.useCallback(a
|
|
|
3265
3267
|
flex-direction: column;
|
|
3266
3268
|
}
|
|
3267
3269
|
`}
|
|
3268
|
-
`,
|
|
3270
|
+
`,Bo=({children:e,name:n,onSubmit:i,submitDisabled:a,submitLabel:r="Submit"})=>t.jsx(Po,{"aria-label":n,name:n,onSubmit:i,children:t.jsxs(Lo,{children:[e,t.jsx(E,{disabled:a,type:"submit",children:r})]})});exports.Accordion=Tn;exports.AccordionContent=st;exports.ActionButton=Pe;exports.Alert=Bn;exports.BaseButtonComponent=Oe;exports.BaseComponent=ne;exports.BaseSpanComponent=at;exports.BaseTextComponent=Ae;exports.Button=E;exports.Button$1=ke;exports.ButtonToolbarCenter=Br;exports.ButtonToolbarRow=Or;exports.ButtonToolbarStartRow=Mr;exports.Calendar=xt;exports.Calendar$1=yt;exports.Calendar$2=mt;exports.CalendarCell=ut;exports.CalendarGrid=Ie;exports.CardHeader=ze;exports.CardWithImage=Yn;exports.CardWithInput=Ri;exports.CardWithOptions=kt;exports.CardWithSelector=Wi;exports.CardWithSwitch=Oi;exports.Carousel=Ui;exports.CategoryTag=We;exports.Checkbox=Re;exports.Code=qi;exports.CodeSnippet=Ki;exports.Col=Hr;exports.ColumnsModal=ba;exports.ComboBox=Jn;exports.Container=h;exports.ContentCard=Bt;exports.ContentCardCarousel=ur;exports.CustomThemeProvider=wn;exports.DateField=ht;exports.DateSelector=oe;exports.Description=Ut;exports.Dialog=Ne;exports.Divider=ee;exports.Editable=hi;exports.EmptyButton=Be;exports.EmptyState=br;exports.EventDate=Wt;exports.FilePreview=dt;exports.FiltersList=Se;exports.FixedTabs=So;exports.Form=yr;exports.FormItem=Wo;exports.Gap=Vr;exports.GridContainer=wr;exports.GroupSelector=Sr;exports.Header=Te;exports.Header$1=Ft;exports.Heading=W;exports.Icon=v;exports.IconButton=O;exports.IndicatorCard=zr;exports.InfoSidebar=Ir;exports.Input=wt;exports.InputDate=$t;exports.InputDateRange=gi;exports.InputDateTime=fi;exports.InputFile=mi;exports.InputNumber=jt;exports.InputNumberRange=ki;exports.InputTags=ji;exports.InteractiveCard=Rr;exports.InteractiveIcon=Ot;exports.ItemList=At;exports.ItemSearching=we;exports.Label=He;exports.LanguageSelector=Wr;exports.Link=Z;exports.ListItem=$e;exports.ListItemsWrapper=Ht;exports.LittleFlag=qr;exports.Loading=ia;exports.Logo=ca;exports.LogoCarousel=sa;exports.MemoizedImage=G;exports.Menu=da;exports.MenuItem=Kt;exports.MessageBanner=ua;exports.Modal=Lt;exports.ModalConfirm=Pt;exports.ModalFooter=Rt;exports.Notification=Sa;exports.NotificationSign=Et;exports.NumberField=ve;exports.NumberInput=Ta;exports.OAuthSelector=Ra;exports.Option=pt;exports.OptionBoxContainer=Ge;exports.OptionContainer=Me;exports.OptionContainer$1=Mt;exports.OptionsSelector=ma;exports.OutlineContainer=H;exports.PhoneInput=Ti;exports.PlanCard=Fa;exports.PopUp=Pa;exports.Popover=he;exports.PremiumFeature=Yt;exports.PreviewPanel=_t;exports.PriorityScore=Wa;exports.Progress=Ga;exports.ProgressBar=Ha;exports.RadioButton=It;exports.RecommendedTag=Gt;exports.Row=Ur;exports.ScrollButtons=Le;exports.ScrollUpButton=Ya;exports.Search=se;exports.SearchBar=to;exports.SearchPanel=Vt;exports.SeverityBadge=io;exports.SeverityOverview=ao;exports.SeverityOverviewBadge=ae;exports.ShowOnHover=so;exports.SingleColumFilters=wa;exports.SlideOutMenu=co;exports.Slider=ho;exports.Span=je;exports.StepLapse=jo;exports.Tab=Dt;exports.TableButton=vo;exports.Tabs=Ve;exports.Tag=J;exports.Text=j;exports.TextArea=Ni;exports.Thumb=qt;exports.TimeField=bt;exports.TimeLine=To;exports.TimeLineCard=Xt;exports.Toggle=Tt;exports.ToggleButton=Eo;exports.Tooltip=Y;exports.Tour=Fo;exports.TwoColumnsFilters=ja;exports.WebForm=Bo;exports.baseStep=Do;exports.getStyledConfig=fe;exports.hiddenProps=rt;exports.icons=yn;exports.setBorder=pe;exports.setDisplay=ge;exports.setInteraction=xe;exports.setMargin=ce;exports.setPadding=le;exports.setPosition=de;exports.setText=ue;exports.theme=C;exports.uniqueIcons=mn;exports.useCarousel=Ct;exports.useClickOutside=Q;exports.useCloudinaryImage=vt;exports.useConfirmDialog=cr;exports.useDebouncedCallback=St;exports.useModal=zt;exports.useSearch=Di;exports.variantBuilder=U;
|