@tap-payments/os-micro-frontend-shared 0.3.255 → 0.3.256
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/build/_chunks/{chunk-5B3BM4HA.js → chunk-24X3BEJR.js} +1 -1
- package/build/_chunks/{chunk-YXRP3YVA.js → chunk-2FRVCEJY.js} +1 -1
- package/build/_chunks/chunk-2GSUGMI7.js +2 -0
- package/build/_chunks/{chunk-6AISJMRA.js → chunk-2J4W2CAI.js} +1 -1
- package/build/_chunks/{chunk-SFQF3NEZ.js → chunk-2QA5MXMV.js} +1 -1
- package/build/_chunks/{chunk-FXLC7QM6.js → chunk-3GA46JLW.js} +1 -1
- package/build/_chunks/{chunk-5CIBM232.js → chunk-4FOFVTQ2.js} +1 -1
- package/build/_chunks/{chunk-FEZOSRP2.js → chunk-4Y2COEZC.js} +1 -1
- package/build/_chunks/{chunk-7PCMUVPG.js → chunk-5RPLYU74.js} +1 -1
- package/build/_chunks/{chunk-BLPTYUL5.js → chunk-5VSOWOX2.js} +1 -1
- package/build/_chunks/chunk-6PLO2VOU.js +1 -0
- package/build/_chunks/{chunk-3ARGSIW6.js → chunk-6Q5NWGGT.js} +1 -1
- package/build/_chunks/{chunk-UDF64CIJ.js → chunk-6SBWV2KY.js} +1 -1
- package/build/_chunks/{chunk-467AH657.js → chunk-6WVAYA6W.js} +1 -1
- package/build/_chunks/chunk-7GJMLJ2X.js +1 -0
- package/build/_chunks/{chunk-LPVUMEPP.js → chunk-7UHNYLD7.js} +1 -1
- package/build/_chunks/{chunk-VTM5XAA4.js → chunk-ACIQTR6D.js} +1 -1
- package/build/_chunks/{chunk-TP36G4JZ.js → chunk-AO5K32SU.js} +1 -1
- package/build/_chunks/{chunk-BVZCPC4B.js → chunk-BDL56M7A.js} +1 -1
- package/build/_chunks/{chunk-MZ4CDPE6.js → chunk-C4ZTNHLR.js} +1 -1
- package/build/_chunks/{chunk-BNHPA7NL.js → chunk-CAZWVRDN.js} +1 -1
- package/build/_chunks/{chunk-USHKRLP3.js → chunk-CK64PBMR.js} +1 -1
- package/build/_chunks/{chunk-J7KCH7KM.js → chunk-CWNDTPM5.js} +1 -1
- package/build/_chunks/chunk-CZWXKHO7.js +1 -0
- package/build/_chunks/{chunk-N4CCG67Z.js → chunk-DFH5QS2C.js} +1 -1
- package/build/_chunks/{chunk-6JO37S7T.js → chunk-DN3GVPG7.js} +1 -1
- package/build/_chunks/{chunk-G7FUKYC4.js → chunk-DRBZWQC7.js} +1 -1
- package/build/_chunks/chunk-DRWSBTEH.js +1 -0
- package/build/_chunks/{chunk-6PNJ5QPQ.js → chunk-ECXZJHTU.js} +1 -1
- package/build/_chunks/{chunk-NUJYDXCY.js → chunk-ETTNSCF2.js} +1 -1
- package/build/_chunks/{chunk-53FTAIGE.js → chunk-F7TSJOX6.js} +1 -1
- package/build/_chunks/{chunk-LHPUWQK3.js → chunk-FGZVDVG2.js} +1 -1
- package/build/_chunks/{chunk-TXVDWYET.js → chunk-G5OEG7OX.js} +1 -1
- package/build/_chunks/{chunk-LSJ4DU5A.js → chunk-HKFOCHKQ.js} +1 -1
- package/build/_chunks/{chunk-667MADJD.js → chunk-IO5DNKRE.js} +1 -1
- package/build/_chunks/{chunk-ZDRR6O4Q.js → chunk-IQUQQVHU.js} +1 -1
- package/build/_chunks/{chunk-URDUQGSO.js → chunk-IULAG2J7.js} +1 -1
- package/build/_chunks/{chunk-EOEZUZCE.js → chunk-IUN4DEUF.js} +1 -1
- package/build/_chunks/{chunk-U7BM5XPI.js → chunk-IXZBLV5N.js} +1 -1
- package/build/_chunks/{chunk-IDIANGVR.js → chunk-IZLK35VJ.js} +2 -2
- package/build/_chunks/{chunk-KGG6V7HL.js → chunk-J2QN5EF5.js} +1 -1
- package/build/_chunks/{chunk-2FZQAWTT.js → chunk-J3CPRU2X.js} +1 -1
- package/build/_chunks/{chunk-YQKWAH6Y.js → chunk-JC7NZ5DQ.js} +1 -1
- package/build/_chunks/{chunk-ECCMCTOM.js → chunk-JLL4EOYJ.js} +1 -1
- package/build/_chunks/{chunk-M6YVU7V3.js → chunk-JNIXJXK3.js} +1 -1
- package/build/_chunks/{chunk-PGMH7MPJ.js → chunk-JO7EW2A3.js} +1 -1
- package/build/_chunks/{chunk-DJB73WJX.js → chunk-LBQWWXKH.js} +1 -1
- package/build/_chunks/{chunk-CUGWXBZN.js → chunk-LLOK2FPM.js} +1 -1
- package/build/_chunks/{chunk-BHQDWVM3.js → chunk-LNEWGSQE.js} +1 -1
- package/build/_chunks/chunk-M6JX6YSB.js +1 -0
- package/build/_chunks/{chunk-PCY4RMGU.js → chunk-MAPBEJDO.js} +1 -1
- package/build/_chunks/{chunk-N63SPB7J.js → chunk-MVWBQNBX.js} +1 -1
- package/build/_chunks/{chunk-QLBJFLHC.js → chunk-NVNFBBM3.js} +1 -1
- package/build/_chunks/{chunk-SQ6X7XQI.js → chunk-OGARNN6I.js} +1 -1
- package/build/_chunks/{chunk-2QYAHYYH.js → chunk-OQA73I3Z.js} +1 -1
- package/build/_chunks/{chunk-TSI47ZRD.js → chunk-PEV5GRRD.js} +1 -1
- package/build/_chunks/{chunk-NU6TMNMX.js → chunk-PGG4PIRO.js} +1 -1
- package/build/_chunks/{chunk-7EBCOZWQ.js → chunk-PIO2RM2Z.js} +1 -1
- package/build/_chunks/{chunk-KP2UMMK5.js → chunk-Q7C7A5RK.js} +1 -1
- package/build/_chunks/chunk-REMAOTWV.js +2 -0
- package/build/_chunks/{chunk-WX3CZG6V.js → chunk-RRBFJGS6.js} +1 -1
- package/build/_chunks/{chunk-OGUM23ZV.js → chunk-SKJZPJBN.js} +1 -1
- package/build/_chunks/{chunk-6QJCOTT4.js → chunk-SPZGODAQ.js} +1 -1
- package/build/_chunks/chunk-UFOU3EJK.js +1 -0
- package/build/_chunks/chunk-UOERDOEI.js +1 -0
- package/build/_chunks/{chunk-OTAHIU6Z.js → chunk-UZIT72EG.js} +1 -1
- package/build/_chunks/chunk-VTFUWYYT.js +1 -0
- package/build/_chunks/{chunk-Q2XPHAIX.js → chunk-X26MSUES.js} +1 -1
- package/build/_chunks/{chunk-QCVRHMCL.js → chunk-XKMKTJWE.js} +1 -1
- package/build/_chunks/{chunk-E7OZE7FK.js → chunk-Y2HHEHH2.js} +2 -2
- package/build/_chunks/{chunk-GRNUANVM.js → chunk-YAO5SBRE.js} +1 -1
- package/build/_chunks/chunk-YLVW27RP.js +2 -0
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/Alert/index.js +1 -1
- package/build/components/AnimatedSpinnerIcon/index.js +1 -1
- package/build/components/AnimatedSpinnerIcon/style.d.ts +1 -1
- package/build/components/AppServices/index.js +1 -1
- package/build/components/AppServicesBar/index.js +1 -1
- package/build/components/AppWindowWrapper/AppWindow/AppWindow.d.ts +2 -1
- package/build/components/AppWindowWrapper/AppWindowWrapper.d.ts +1 -1
- package/build/components/AppWindowWrapper/index.js +1 -1
- package/build/components/AppWindowWrapper/type.d.ts +0 -6
- package/build/components/AreaChart/index.js +1 -1
- package/build/components/Autocomplete/index.js +1 -1
- package/build/components/AvatarStack/index.js +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/Card/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ConfirmDialog/index.js +1 -1
- package/build/components/CountryFilter/index.js +1 -1
- package/build/components/CountryFlag/index.js +1 -1
- package/build/components/CurrenciesMenu/index.js +1 -1
- package/build/components/CurrencyAmount/index.js +1 -1
- package/build/components/CurrencyAmountInput/index.js +1 -1
- package/build/components/CurrencySymbol/index.js +1 -1
- package/build/components/DateFilter/index.js +1 -1
- package/build/components/DeviceIcon/index.js +1 -1
- package/build/components/DropdownMenu/index.js +1 -1
- package/build/components/EmptyState/index.js +1 -1
- package/build/components/ErrorToast/index.js +1 -1
- package/build/components/FileDropbox/index.js +1 -1
- package/build/components/FilePreview/index.js +1 -1
- package/build/components/FileUploader/index.js +1 -1
- package/build/components/FilterChip/FilterChip.d.ts +4 -0
- package/build/components/FilterChip/constants.d.ts +15 -0
- package/build/components/FilterChip/icons.d.ts +4 -0
- package/build/components/FilterChip/index.d.ts +4 -0
- package/build/components/FilterChip/index.js +1 -0
- package/build/components/FilterChip/style.d.ts +8 -0
- package/build/components/FilterChip/type.d.ts +43 -0
- package/build/components/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/FormSelect/index.js +1 -1
- package/build/components/GroupedSelect/index.js +1 -1
- package/build/components/HeatMap/index.js +1 -1
- package/build/components/InputBase/index.js +1 -1
- package/build/components/Inputs/index.js +1 -1
- package/build/components/JSONViewer/components/JSONSearchBar/styles.d.ts +2 -2
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListHeader/types.d.ts +0 -2
- package/build/components/ListLayout/index.js +1 -1
- package/build/components/Loader/index.js +1 -1
- package/build/components/Logo/index.js +1 -1
- package/build/components/MFWidgetLoader/index.js +1 -1
- package/build/components/MaskedText/index.js +1 -1
- package/build/components/MultiSelect/index.js +1 -1
- package/build/components/NestedDropdown/index.js +1 -1
- package/build/components/NestedMultiSelect/index.js +1 -1
- package/build/components/PaymentSourceFilter/index.js +1 -1
- package/build/components/PhoneFilter/index.js +1 -1
- package/build/components/PhoneInput/index.js +1 -1
- package/build/components/ProgressRing/index.js +1 -1
- package/build/components/RadioGroup/index.js +1 -1
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/RatingCount/index.js +1 -1
- package/build/components/ReferenceTypeFilter/index.js +1 -1
- package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
- package/build/components/SearchButton/SearchButton.d.ts +7 -2
- package/build/components/SearchButton/index.d.ts +2 -3
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchButton/{style.d.ts → styles.d.ts} +173 -173
- package/build/components/SearchInput/index.js +1 -1
- package/build/components/SheetViewChip/index.js +1 -1
- package/build/components/Sidebar/index.js +1 -1
- package/build/components/StatusBar/index.js +1 -1
- package/build/components/StatusButton/index.js +1 -1
- package/build/components/StatusFilter/index.js +1 -1
- package/build/components/StatusIcons/index.js +1 -1
- package/build/components/StatusLabel/index.js +1 -1
- package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/PayoutReportCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +1 -1
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TextInput/index.js +1 -1
- package/build/components/Timepicker/index.js +1 -1
- package/build/components/ToggleView/index.js +1 -1
- package/build/components/Toolbar/index.js +1 -1
- package/build/components/ToolbarIcon/index.js +1 -1
- package/build/components/TreeDropdown/index.js +1 -1
- package/build/components/VerificationIcon/index.js +1 -1
- package/build/components/ViewColumnRadioFilter/index.js +1 -1
- package/build/components/VirtualTables/components/style.d.ts +1 -1
- package/build/components/VirtualTables/index.js +1 -1
- package/build/components/Widget/index.js +1 -1
- package/build/components/index.d.ts +2 -2
- package/build/components/index.js +1 -1
- package/build/components/primitives/index.js +1 -1
- package/build/constants/assets.d.ts +0 -3
- package/build/constants/index.js +1 -1
- package/build/datetime/components/index.js +1 -1
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/utils/index.js +1 -1
- package/package.json +3 -3
- package/build/_chunks/chunk-AGUMSHB4.js +0 -1
- package/build/_chunks/chunk-C2QLJW5U.js +0 -1
- package/build/_chunks/chunk-GUU2BANS.js +0 -1
- package/build/_chunks/chunk-IDPTEI5C.js +0 -1
- package/build/_chunks/chunk-IRIZPPXM.js +0 -1
- package/build/_chunks/chunk-QK77GKMF.js +0 -2
- package/build/_chunks/chunk-RNBTIRD7.js +0 -2
- package/build/_chunks/chunk-SNMSU243.js +0 -1
- package/build/_chunks/chunk-T6FSTHWB.js +0 -2
- package/build/_chunks/chunk-UVXP2WAT.js +0 -1
- package/build/_chunks/chunk-VKTXI56O.js +0 -1
- package/build/_chunks/chunk-ZTZOHMJ3.js +0 -1
- package/build/components/ActiveFilterChip/ActiveFilterChip.d.ts +0 -5
- package/build/components/ActiveFilterChip/index.d.ts +0 -3
- package/build/components/ActiveFilterChip/index.js +0 -1
- package/build/components/ActiveFilterChip/styles.d.ts +0 -8
- package/build/components/ActiveFilterChip/types.d.ts +0 -7
- package/build/components/AppWindowWrapper/AppWindow/nestingContext.d.ts +0 -3
- package/build/components/SearchButton/constants.d.ts +0 -37
- package/build/components/SearchButton/icons.d.ts +0 -3
- package/build/components/SearchButton/type.d.ts +0 -28
- package/docs/README.md +0 -40
- package/src/components/TreeDropdown/README.md +0 -604
- package/src/components/primitives/README.md +0 -507
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b}from'./chunk-
|
|
1
|
+
import {b}from'./chunk-CAZWVRDN.js';import {L,aa,B}from'./chunk-4Y2COEZC.js';import {Dc}from'./chunk-CZWXKHO7.js';import {Db,A}from'./chunk-2GSUGMI7.js';import ne,{memo,useState,useEffect}from'react';import P from'@mui/material/Box';import te from'@mui/material/InputAdornment';import oe from'@mui/material/Skeleton';import {styled,Popper,Box,ClickAwayListener}from'@mui/material';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {styled as styled$1}from'@mui/material/styles';var N=styled("button")(({theme:e,disabled:o})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"12px",borderRadius:"3px"},".arrow":{width:14,alignSelf:""},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px",borderRadius:"2px"},cursor:o?"default":"pointer",opacity:o?.5:1,paddingTop:0,backgroundColor:"transparent",border:"none",paddingInlineStart:0,minWidth:70,marginTop:1})),_=styled(Popper)(({theme:e})=>({zIndex:9999,backgroundColor:e.palette.common.white,padding:"4px 8px",borderRadius:"4px",border:`1px solid ${e.palette.divider}`,width:100})),H=styled("ul")(()=>({listStyle:"none",padding:0,margin:0,maxHeight:100,overflow:"auto"})),q=styled("li")(({theme:e})=>({display:"flex",gap:"4px",alignItems:"center",".logo":{width:"15.568px",height:"10.889px",borderRadius:"3px"},".arrow":{width:14},span:{color:e.palette.text.primary,fontWeight:500,fontSize:"11px"},height:24,cursor:"pointer"})),z=styled(L)(()=>({flexGrow:1,maxWidth:"100%",height:24,padding:"4px",marginBottom:"4px"})),D=styled(Box)(()=>({color:"red !important"}));function G({isLoading:e,countries:o,value:n,onCountryChange:l,required:b,disabled:f}){let[a,C]=useState(),[u,g]=useState(null),[y,i]=useState([]),[I,S]=useState(""),s=!!u&&!f,w=t=>{t.stopPropagation(),g(t.currentTarget);},m=()=>{g(null);},L=t=>{l?.(t),C(t),m(),i(o);},k=t=>{let p=t.target.value.toString()??"";if(S(p),!p){i(o);return}let Y=o.filter(F=>F.idd_prefix.toString().startsWith(p)||F.iso2.toLowerCase().startsWith(p.toLowerCase()));i(Y);};return useEffect(()=>{n&&C(n);},[n?.countryId]),useEffect(()=>{o.length&&i(o);},[o.length]),jsxs(P,{"data-testid":"CountriesList",sx:{position:"relative"},children:[jsx(N,{type:"button","aria-describedby":"CountriesList_CountriesWrapper",onClick:w,disabled:e||f,children:e?jsx(oe,{variant:"rectangular",width:56.5,height:15,sx:{borderRadius:"4px"}}):jsxs(Fragment,{children:[a&&jsxs(Fragment,{children:[jsx("img",{src:a.logo,alt:"c",className:"logo"}),jsx(P,{component:"span",flex:1,children:`+${a?.idd_prefix}`})]}),b&&jsx(D,{component:"span",children:"*"}),jsx(P,{component:"img",src:Db,alt:"d",className:"arrow",sx:{...s&&{transform:"rotate(180deg)"}}})]})}),s&&jsx(B,{onClick:m,sx:{zIndex:9999}}),s&&jsx(ClickAwayListener,{onClickAway:m,children:jsxs(_,{id:"CountriesList_CountriesWrapper",open:s,anchorEl:u,"data-testid":"CountriesList_CountriesWrapper",placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[-8,6]}}],children:[jsx(z,{type:"number",endAdornment:jsx(te,{position:"end",children:jsx("img",{src:A,alt:"arrow"})}),onChange:k,hideArrows:true,disableFocusRing:true,"data-testid":"CountriesList_InputStyled",value:I}),jsx(H,{"data-testid":"CountriesList_CountriesListStyled",children:y.map(t=>{let p=a?.countryId===t.countryId;return jsxs(q,{onClick:()=>{L(t);},sx:{backgroundColor:p?"#F9F9F9":"transparent",color:p?"#000":"#8D8D94"},children:[jsx("img",{src:t.logo,alt:"c",className:"logo"}),jsx("span",{children:`+${t.idd_prefix}`})]},`country-code-${t.countryId}`)})})]})})]})}G.displayName="CountriesList";var V=memo(G);var v=V;styled$1(P,{shouldForwardProp:e=>!["feedbackType","hasFeedback"].includes(e)})(({theme:e,feedbackType:o,hasFeedback:n})=>{let{borderColor:l}=aa(e,o);return {border:`1px solid ${o?l:e.palette.divider}`,display:"flex",position:"relative",alignItems:"center",borderRadius:n?"4px 4px 0 0":"4px",borderBottom:n?"none":void 0}});var K=styled$1(b)({flexGrow:1,maxWidth:"100%",paddingInlineEnd:0,img:{cursor:"pointer"}});styled$1("small")(({theme:e})=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"}));styled$1(P)(()=>({flex:1}));function U({phoneValue:e,error:o,hasError:n,countries:l,isCountriesLoading:b,countryValue:f,onCountryChange:a,onPhoneChange:C,helperText:u,required:g,disabled:y,feedback:i,id:I="PhoneInput",...S},s){let w=t=>{a?.(t);},m=i?.message??u,{isProvided:L}=Dc(i,{message:m});return jsx(K,{id:I,type:"number",value:e,"data-testid":"PhoneInput",ref:s,disableFocusRing:true,inputProps:{autoComplete:"off"},error:(o??n??false)&&!L,disabled:y,feedback:i,helperText:u,startAdornment:jsx(v,{isLoading:b,countries:l,value:f,onCountryChange:w,required:g,disabled:y}),...S,onChange:C,hideArrows:true})}U.displayName="PhoneInput";var X=ne.forwardRef(U);export{v as a,X as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {Bc}from'./chunk-CZWXKHO7.js';import {Oj,j,m as m$1}from'./chunk-2GSUGMI7.js';import {memo,useId}from'react';import d from'@mui/material/Box';import {jsx}from'react/jsx-runtime';function g({countryCode:o,currencyCode:t,...n}){let l=Bc(useId(),"country-flag");return jsx(d,{...n,id:l,"data-testid":"CountryFlag",component:"img",src:o&&j(o)||t&&m$1(t)||Oj,width:n.width||16,alt:o??t??"flag",loading:"lazy",onError:u=>{u.currentTarget.src=Oj;}})}g.displayName="CountryFlag";var m=memo(g);var h=m;export{h as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {j,p,d as d$1}from'./chunk-4Y2COEZC.js';import {Bc}from'./chunk-CZWXKHO7.js';import {Ak,yk,wk,tk,jk,lk,Bk,ik,hk,zk,Mh,tb,mk,rb,nk,pk,qk,vk,uk,ok}from'./chunk-2GSUGMI7.js';import {useId}from'react';import W from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var R={ABANDONED:Mh,IN_PROGRESS:Bk,VOID:zk,CANCELLED:hk,CAPTURED:ik,INITIATED:Bk,FAILED:lk,DECLINED:jk,RESTRICTED:tk,TIMEDOUT:wk,UNKNOWN:yk,AUTHORIZED:Ak},O={UNKNOWN:{gatewayIcon:mk,acquirerIcon:tb,color:"#FF7A00",background:"#FF7A001A"},TIMEDOUT:{gatewayIcon:mk,acquirerIcon:tb,color:"#FF7A00",background:"#FFF3E5"},FAILED:{gatewayIcon:mk,acquirerIcon:tb,color:"#FF7A00",background:"#FFF3E5"},DECLINED:{gatewayIcon:nk,acquirerIcon:rb,color:"#FF3D00",background:"#FFEAE5"},RESTRICTED:{gatewayIcon:nk,acquirerIcon:rb,color:"#FF3D00",background:"#FFEAE5"},ABANDONED:{gatewayIcon:mk,acquirerIcon:tb,color:"#FFD600",background:"#FFFBE5"},CANCELLED:{gatewayIcon:mk,acquirerIcon:tb,color:"#FFD600",background:"#FFFBE5"},INITIATED:{color:"#8D8D94",background:"transparent",gatewayIcon:mk,acquirerIcon:tb}},K={PENDING:qk,REFUNDED:pk},M={PENDING:{color:"#FF7A00",backgroundColor:"#FF7A000D"},REFUNDED:{color:"#4E1FD0",backgroundColor:"#4E1FD00D"}},Z={PAID_OUT:ok,SETTLED:uk,PENDING:vk},_={AUTHORIZED:Ak},L={CAPTURED:{color:"#1F88D0",background:"#1F88D00D"}};var q=styled(W)(()=>({display:"flex",gap:"4px",alignItems:"center",justifyContent:"center",borderRadius:"56px",padding:"2px 4px",cursor:"default"})),U=styled(j)(({theme:r})=>({color:r.v2.palette.base.white,fontWeight:600,fontSize:"8px",padding:"3px 2.57px",borderRadius:"4px",lineHeight:"100%"}));function d({tooltip:r,status:e,statusCode:P}){let h=Bc(useId(),"status-label"),I=O[e]??L[e]??null;return jsx(p,{title:r,children:jsxs(q,{id:h,"data-testid":"StatusLabel",sx:{backgroundColor:I?.background||"transparent"},children:[jsx(d$1,{src:R[e]}),jsx(U,{sx:B=>({backgroundColor:I?.color||B.palette.info.dark}),children:P})]})})}var co=d;export{R as a,O as b,K as c,M as d,Z as e,_ as f,L as g,co as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {j}from'./chunk-
|
|
1
|
+
import {j}from'./chunk-4Y2COEZC.js';import {Ia,nc}from'./chunk-CZWXKHO7.js';import {forwardRef,memo}from'react';import {styled}from'@mui/material/styles';import {jsxs,jsx,Fragment}from'react/jsx-runtime';var r="os-shared-CurrencyAmount",e={root:`${r}-root`,integer:`${r}-integer`,separator:`${r}-separator`,decimal:`${r}-decimal`};var l=styled(j)(({theme:t})=>{let{fontSize:n,fontWeight:o}=t.v2.typography.textVariants.body.small.bold;return {fontSize:n,fontWeight:o,fontFamily:"inherit",lineHeight:"inherit",letterSpacing:"inherit",color:"inherit",display:"inline-flex",alignItems:"center",whiteSpace:"nowrap",overflow:"auto"}}),u=styled("span")(({theme:t})=>({fontWeight:t.v2.typography.fontWeightRegular}));var f=forwardRef(({amount:t,currency:n,id:o,className:C,sx:A,...d},g)=>{let{integerAmount:h,decimalAmount:s}=Ia(t,n??"");return jsxs(l,{ref:g,component:"span",id:o,"data-testid":o??"CurrencyAmount",className:nc(e.root,C),sx:A,...d,children:[jsx("span",{className:e.integer,children:h}),s?jsxs(Fragment,{children:[jsx("span",{className:e.separator,children:"."}),jsx(u,{className:e.decimal,children:s})]}):null]})});f.displayName="CurrencyAmount";var S=memo(f);export{e as a,S as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {c,d}from'./chunk-4FOFVTQ2.js';import {a,c as c$1,d as d$1}from'./chunk-DRBZWQC7.js';import {b,a as a$1}from'./chunk-JLL4EOYJ.js';import {Bc,xa}from'./chunk-CZWXKHO7.js';import {Hf}from'./chunk-2GSUGMI7.js';import {createContext,memo,useRef,useId,useContext,useMemo,useState,useLayoutEffect,useCallback}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {createPortal}from'react-dom';import {styled,Box,Button,alpha,Dialog}from'@mui/material';import dt from'@mui/material/Box';import {Resizable}from're-resizable';import lt from'react-draggable';import {motion}from'framer-motion';var Z=createContext({viewerDefaultWidth:555,viewerDefaultHeight:545,position:{x:0,y:0},setPosition:()=>{},dimensions:{width:0,height:0},windowZIndex:1e4,isOpen:true,setIsMaximized:()=>{},setIsSidebarExpanded:()=>{},setIsToolbarAnimationDisabled:()=>{},setIsResized:()=>{},setNewDimensions:()=>{},isMaximized:false,isToolbarAnimationDisabled:true,isSidebarExpanded:false,isResized:false,onClose:()=>{},fullWindowWidth:0,fullWindowHeight:0,viewportWidth:0,viewportHeight:0,resizableRef:{current:null},updateRefSize:()=>{},updateSize:()=>{},containerRef:{current:null}});var he=(e,t)=>t.toLowerCase().includes(e);function we(e,t,i){let r=he("top",t),n=he("left",t);return !r&&!n?null:{x:n?e.x+i.width:e.x,y:r?e.y-i.height:e.y}}var be=e=>{let{viewportWidth:t,viewportHeight:i,viewerDefaultWidth:r,viewerDefaultHeight:n,initialPosition:p,isMaximized:l,containerRef:a}=e,s=!l&&a?.current&&a.current!==document.body?a.current:null,d=s?.getBoundingClientRect(),u=d?.left??0,f=d?.top??0,m=s?.clientWidth||t,c=p?.x??t/2-r/2,o=p?.y??i/2-n/2;return {x:m-(c-u),y:o-f}};var Ve=555,je=545;function oe({children:e,isOpen:t,onClose:i,defaultWindowHeight:r,defaultWindowWidth:n,initialPosition:p,minWidth:l,maxWidth:a,minHeight:s,maxHeight:d,containerRef:u,windowZIndex:f=1}){let {height:m,width:c}=a$1(),[o,M]=useState(false),_=o?null:u?.current,y=_?.clientWidth||c,b=_?.clientHeight||m,v=n||Ve,g=r||je;useRef(false);let [k,A]=useState(()=>be({viewportWidth:c,viewportHeight:m,viewerDefaultWidth:v,viewerDefaultHeight:g,initialPosition:p,isMaximized:o,containerRef:u})),[B,N]=useState(false),[O,T]=useState(false),[S,E]=useState(true),x=useRef(),[L,D]=useState({width:n??0,height:r??0}),F=useCallback(W=>{x?.current?.updateSize(W);},[]),G=useCallback(W=>{x.current?.updateSize(W),D(P=>({width:W.width??P.width,height:W.height??P.height}));},[]),te=useMemo(()=>({position:k,setPosition:A,resizableRef:x,windowZIndex:f,isOpen:t,setIsMaximized:M,setIsSidebarExpanded:E,setIsToolbarAnimationDisabled:T,setIsResized:N,isMaximized:o,isToolbarAnimationDisabled:O,isSidebarExpanded:S,isResized:B,dimensions:L,setNewDimensions:D,viewerDefaultWidth:v,viewerDefaultHeight:g,onClose:i,fullWindowWidth:y,fullWindowHeight:b,viewportWidth:c,viewportHeight:m,updateRefSize:F,updateSize:G,minWidth:l,maxWidth:a,minHeight:s,maxHeight:d,containerRef:u}),[k,A,x,t,M,E,T,N,o,O,S,B,L,D,y,b,c,m,v,g,F,G,i,l,a,s,d,u,f]);return jsx(Z.Provider,{value:te,children:e})}var $=35;function Ke({title:e,onClose:t,onMaximize:i,maximized:r=false,id:n,onRequestClick:p,isSidebarExpanded:l=false,isHovered:a$1=false,onMouseHover:s,onMouseLeave:d$2,showSectionsButton:u,rightActions:f,icon:m}){return jsx(c,{id:n,"data-testid":"UserTitleBar",maximized:r||false,children:jsx(d,{onMouseEnter:s,onMouseLeave:d$2,isMaximized:r,isHovered:a$1,title:e,icon:m||Hf,leftActions:jsxs(Fragment,{children:[jsx(a,{onClick:t},"window-close"),jsx(c$1,{isMaximized:r,onClick:i},"window-maximize"),u&&jsx(d$1,{onClick:p,isExpanded:!l,isHovered:a$1,children:"Sidebar"},"window-sections")]}),rightActions:f})})}var ye=memo(Ke);var ie=ye;function Qe({isMaximized:e,setIsToolbarAnimationDisabled:t,setIsMaximized:i,onClose:r,isSidebarExpanded:n,setIsSidebarExpanded:p,isToolbarAnimationDisabled:l,title:a,showSectionsButton:s,rightActions:d,icon:u}){let{isHovered:f,onMouseEnter:m,onMouseLeave:c}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...l&&{duration:0}},children:jsx(ie,{title:a||"Users",showSectionsButton:s,onClose:r,onMaximize:()=>{i?.(o=>!o),t?.(true),setTimeout(()=>{t?.(false);},.5*1e3);},maximized:e,id:"draggable-dialog-title",onRequestClick:()=>{t?.(false),p(!n);},isSidebarExpanded:n,isHovered:f,onMouseHover:m,onMouseLeave:c,rightActions:d,icon:u})})}var Te=memo(Qe);var Se=Te;function ut({children:e,titleBar:t,titleBarText:i,mainAppOrder:r,mainAppIsMinimized:n,showSectionsButton:p=true,rightActions:l,titleBarIcon:a,overflow:s="hidden"}){let d=useRef(null),u=Bc(useId(),"app-window"),{dimensions:f,position:m,resizableRef:c,isMaximized:o,isOpen:M,onClose:_,viewerDefaultWidth:y,viewerDefaultHeight:b,windowZIndex:v,setPosition:g,setNewDimensions:ee,isToolbarAnimationDisabled:k,fullWindowWidth:A,fullWindowHeight:B,viewportWidth:N,viewportHeight:O,setIsMaximized:T,setIsResized:S,isResized:E,setIsToolbarAnimationDisabled:x,setIsSidebarExpanded:L,isSidebarExpanded:D,minWidth:F,maxWidth:G,minHeight:te,maxHeight:W,containerRef:P}=useContext(Z),h=useMemo(()=>document.createElement("div"),[]),[Be,Ne]=useState(null);useLayoutEffect(()=>{Ne(P?.current??document.body);},[P]);let w=o?document.body:Be;useLayoutEffect(()=>{if(!w)return;let H=w===document.body;return h.style.position=H?"":"absolute",h.style.inset=H?"":"0",h.style.pointerEvents="none",h.style.overflow="visible",w.appendChild(h),()=>{h.parentNode===w&&w.removeChild(h);}},[w,h]);let se=useRef({x:0,y:0}),de=xa(),Oe=useCallback((H,V,pe,Fe)=>{S(true),ee({width:pe.offsetWidth,height:pe.offsetHeight});let le=we(se.current,V,Fe);le&&g(le);},[ee,S,g]),U=f.width||y;if(!w)return null;let Le=jsx(lt,{nodeRef:d,disabled:o,handle:"#draggable-dialog-title",cancel:'[class*="MuiDialogContent-root"]',defaultClassName:"draggable-lead-dialog",defaultPosition:{x:A/2-U/2,y:B/2-b/2},position:{x:A-m.x,y:m.y},onStop:(H,V)=>{g({x:A-V.x,y:V.y});},...w===document.body&&{bounds:{top:10}},children:jsx(Dialog,{ref:d,sx:{backgroundColor:"transparent",pointerEvents:"none",zIndex:Number(r||0)+v+(o?1:0),...n&&{display:"none"},...w===document.body?!o&&{transform:"translate(180px, 14px)"}:!o&&{position:"absolute"},...!o&&{width:de?U:"fit-content",height:de?b:"fit-content"},...o&&{transform:"none !important"},boxShadow:"0px 0px 20px 0px rgba(0, 0, 0, 0.15)",overflow:"visible","& .MuiDialog-container":{overflow:"visible"}},PaperProps:{style:{margin:0,maxHeight:"100%",maxWidth:"none",background:"transparent",pointerEvents:"auto",overflow:s,width:E?"fit-content":U,height:E?"fit-content":"100%",...o&&{width:"100%",height:"100%"},position:"relative"}},onClose:()=>{T(false),x(true),setTimeout(()=>{x(false);},.5*1e3);},open:M,hideBackdrop:true,disableEnforceFocus:true,disableScrollLock:true,container:h,fullScreen:o,"aria-labelledby":"draggable-dialog-title",disablePortal:true,children:jsx(Resizable,{"data-testid":"Resizable",enable:{topLeft:true,topRight:true,bottomLeft:true,bottomRight:true,left:true,right:true,bottom:true,top:true},handleStyles:{bottom:{zIndex:2},bottomLeft:{zIndex:2},bottomRight:{zIndex:2}},size:{width:f.width,height:f.height},maxHeight:W??O-40,maxWidth:G??N,minWidth:o?"100vw":F??y,minHeight:o?"100vh":te??b,ref:H=>{c.current=H;},onResizeStart:()=>{se.current=m,x(true);},onResizeStop:()=>{x(false);},onResize:Oe,defaultSize:{width:U,height:b},style:{background:"transparent",height:f.height,overflow:s,...o&&{height:"100% !important",width:"100% !important",flex:1},...o&&{position:"relative"}},children:jsxs(dt,{sx:{height:"100%"},id:u,"data-testid":"AppWindow",children:[t??jsx(Se,{setIsToolbarAnimationDisabled:x,onClose:_,setIsMaximized:T,isToolbarAnimationDisabled:k,setIsSidebarExpanded:L,isSidebarExpanded:D,title:i,isMaximized:o,showSectionsButton:p,rightActions:l,icon:a}),e]})})})});return createPortal(Le,h)}var Pe=memo(ut);var ct=styled(Box,{shouldForwardProp:e=>e!=="isActive"})(({theme:e,isActive:t})=>({background:t?"linear-gradient(270deg, #147DC5 0.67%, #3DA6E1 98.91%)":"transparent",borderRadius:"4px",padding:"4px 8px",color:t?e.palette.common.white:e.palette.text.primary,fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"4px",cursor:"pointer"})),xt=styled(Button)(({theme:e,disabled:t})=>({background:t?alpha(e.palette.info.dark,.4):e.palette.info.dark,color:e.palette.common.white,padding:"0px 8px",fontSize:"9px",fontWeight:600,height:"24px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"4px",textTransform:"none","&:hover":{background:e.palette.info.dark,opacity:.8},"&.Mui-disabled":{color:e.palette.common.white}})),ht=styled(Box)(({theme:e})=>({display:"flex",justifyContent:"flex-end",alignItems:"center",gap:"8px",backgroundColor:e.palette.background.paper,padding:"6px",transform:"translateY(calc(-50% - 6px))",boxShadow:"0px 4px 40px 0px rgba(0, 0, 0, 0.19)",borderRadius:"4px",height:"36px",transition:e.transitions.create(["width"],{easing:e.transitions.easing.sharp,duration:e.transitions.duration.complex})})),wt=styled(Box)(()=>({position:"fixed",height:$,bottom:0,left:0,right:0,padding:"6px 16px",zIndex:1,backgroundColor:"#eaeaea",backdropFilter:"blur(12px)",display:"flex",justifyContent:"flex-end",borderBottomLeftRadius:"12px",borderBottomRightRadius:"12px"})),bt=styled(Button)(()=>({padding:"4px 8px",boxShadow:"0px 0px 4px 0px rgba(0, 0, 0, 0.08)",display:"flex",justifyContent:"flex-start",alignItems:"center",gap:"4px",color:"rgba(32, 35, 43, 0.80)",fontWeight:600,fontSize:"9px",textTransform:"none"}));var ne=Pe;function gt({children:e,windowProps:t,...i}){return i.isOpen?jsx(oe,{...i,children:jsx(ne,{...t,children:e})}):null}var Me=gt;function It({title:e,maximized:t=false,id:i,isHovered:r=false,onMouseHover:n,onMouseLeave:p,leftActions:l,titleIconSrc:a,sx:s,...d$1}){return jsx(c,{className:"header-wrapper",id:i,maximized:t||false,sx:s,...d$1,children:jsx(d,{onMouseEnter:n,onMouseLeave:p,isMaximized:t,isHovered:r,title:e||"",icon:a,leftActions:l})})}var ae=memo(It);function Rt({isMaximized:e,id:t,isToolbarAnimationDisabled:i,title:r,leftActions:n,onClose:p,onMaximize:l,sx:a$1}){let{isHovered:s,onMouseEnter:d,onMouseLeave:u}=b();return jsx(motion.div,{style:{...e&&{height:0,zIndex:1e3,position:"relative"}},animate:{...e&&{width:"100vw"},...!e&&{transform:"translateX(0px)",width:"100%"}},transition:{duration:.5,...i&&{duration:0}},children:jsx(ae,{title:r,maximized:e,id:t||"draggable-dialog-title",isHovered:s,onMouseHover:d,onMouseLeave:u,leftActions:n||jsxs(Fragment,{children:[jsx(a,{onClick:p}),jsx(c$1,{isMaximized:e,onClick:()=>l?.(!e)})]}),sx:a$1})})}var ke=memo(Rt);var Tt=ke;var Yo=Me;export{Z as a,oe as b,$ as c,ie as d,ct as e,xt as f,ht as g,wt as h,bt as i,ne as j,ae as k,Tt as l,Yo as m};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {nc}from'./chunk-
|
|
1
|
+
import {nc}from'./chunk-CZWXKHO7.js';import {Rh}from'./chunk-2GSUGMI7.js';import {forwardRef,memo}from'react';import h from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var o="os-shared-EmptyState",t={root:`${o}-root`,icon:`${o}-icon`,title:`${o}-title`,description:`${o}-description`},l="Empty state",n="No data found",y="There is nothing to show here yet.";var c=styled(h)(()=>({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"0.5rem"})),S=styled("img")(()=>({width:"2rem",height:"2rem"})),d=styled("h1")(({theme:e})=>({fontWeight:600,fontSize:"1rem",color:e.palette.text?.primary,padding:0,margin:0,textAlign:"center"})),f=styled("p")(({theme:e})=>({fontWeight:400,fontSize:"0.75rem",color:e.palette.text?.primary,padding:0,margin:0,opacity:.5,textAlign:"center"}));var T=jsx(S,{src:Rh,alt:l,className:t.icon}),x=forwardRef(({className:e,sx:E,icon:g=T,title:m=n,description:r=y,children:N,...u},D)=>jsxs(c,{ref:D,className:nc(t.root,e),sx:E,"data-testid":"EmptyState",...u,children:[g,m?jsx(d,{className:t.title,children:m}):null,r?jsx(f,{className:t.description,children:r}):null,N]}));x.displayName="EmptyState";var A=memo(x);export{t as a,A as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {a}from'./chunk-ZONDSLTR.js';import {p}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-ZONDSLTR.js';import {p}from'./chunk-4Y2COEZC.js';import {Bc,f as f$1}from'./chunk-CZWXKHO7.js';import {nb}from'./chunk-2GSUGMI7.js';import {useId}from'react';import {useTranslation}from'react-i18next';import {jsx,jsxs}from'react/jsx-runtime';var m=t=>({start:{x:t*6,transition:{duration:.3,type:"tween",ease:"easeIn"}},animate:{x:t*39,transition:{duration:.3,type:"tween",ease:"easeOut"}}});var d=({children:t})=>jsx("span",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2px"},children:t});function f({value:t,index:e}){let s=Bc(useId(),"rating-count"),{t:u}=useTranslation();return jsx(p,{title:u("totalPaymentCount",{amount:f$1(t)}),wrapperProps:{display:"inline-flex"},children:jsx(a,{id:s,order:e,variants:m(e),"data-testid":"RatingCount",children:jsxs(d,{children:[jsx("img",{src:nb,alt:"star",style:{width:"10px",height:"10px"}})," ",(t||0)>1&&jsx("span",{style:{fontSize:"9.782px"},children:t})]})})})}export{f as a};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {b}from'./chunk-MUR4ILTY.js';import {Bc}from'./chunk-
|
|
1
|
+
import {b}from'./chunk-MUR4ILTY.js';import {Bc}from'./chunk-CZWXKHO7.js';import {xb}from'./chunk-2GSUGMI7.js';import {useId,useCallback}from'react';import v,{autocompleteClasses}from'@mui/material/Autocomplete';import y from'@mui/material/Box';import M from'@mui/material/TextField';import R from'@mui/material/Popper';import {keyframes,styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var T=keyframes`
|
|
2
2
|
0% {
|
|
3
3
|
transform: rotate(-90deg);
|
|
4
4
|
}
|
|
5
5
|
100% {
|
|
6
6
|
transform: rotate(270deg);
|
|
7
7
|
}
|
|
8
|
-
`,u=styled(y)({width:12,height:12,display:"flex",alignItems:"center",justifyContent:"center","& svg":{width:"100%",height:"100%",display:"block"},animation:`${T} 2s linear infinite`}),m=styled(M)({"& .MuiInputBase-root":{paddingTop:13,paddingBottom:13,borderRadius:4,"& .MuiOutlinedInput-notchedOutline":{borderWidth:1,borderStyle:"solid",borderColor:"#F2F2F2"},"&:hover":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#F2F2F2"}},"&.Mui-focused":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#1F88D0",boxShadow:"0px 0px 4px 0px #1F88D080"},"&:hover":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#1F88D0"}}},[`& .${autocompleteClasses.input}`]:{fontSize:11,paddingTop:0,paddingBottom:0,paddingLeft:0},[`& .${autocompleteClasses.endAdornment}`]:{marginRight:8}}}),c=styled(R)({fontSize:11,borderRadius:"8px",border:"1px solid #F2F2F2",boxShadow:"0px 2px 56px 0px #20232B24"});var D=f=>{let{options:x,value:b$1,onChange:g,label:n,renderInput:P,slotProps:p,textFieldProps:o,loading:l,popupIcon:F,...I}=f,h=Bc(useId(),"auto-complete"),C=useCallback(r=>{let A=typeof o=="function"?o(r):o;return jsx(m,{...r,...A,label:n})},[o,n]);return jsx(v,{id:h,"data-testid":"AutoComplete",options:x,value:b$1,onChange:g,loading:l,popupIcon:l?jsx(u,{"aria-hidden":true,children:jsx(b,{})}):F??jsx(y,{component:"img",src:
|
|
8
|
+
`,u=styled(y)({width:12,height:12,display:"flex",alignItems:"center",justifyContent:"center","& svg":{width:"100%",height:"100%",display:"block"},animation:`${T} 2s linear infinite`}),m=styled(M)({"& .MuiInputBase-root":{paddingTop:13,paddingBottom:13,borderRadius:4,"& .MuiOutlinedInput-notchedOutline":{borderWidth:1,borderStyle:"solid",borderColor:"#F2F2F2"},"&:hover":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#F2F2F2"}},"&.Mui-focused":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#1F88D0",boxShadow:"0px 0px 4px 0px #1F88D080"},"&:hover":{"& .MuiOutlinedInput-notchedOutline":{borderColor:"#1F88D0"}}},[`& .${autocompleteClasses.input}`]:{fontSize:11,paddingTop:0,paddingBottom:0,paddingLeft:0},[`& .${autocompleteClasses.endAdornment}`]:{marginRight:8}}}),c=styled(R)({fontSize:11,borderRadius:"8px",border:"1px solid #F2F2F2",boxShadow:"0px 2px 56px 0px #20232B24"});var D=f=>{let{options:x,value:b$1,onChange:g,label:n,renderInput:P,slotProps:p,textFieldProps:o,loading:l,popupIcon:F,...I}=f,h=Bc(useId(),"auto-complete"),C=useCallback(r=>{let A=typeof o=="function"?o(r):o;return jsx(m,{...r,...A,label:n})},[o,n]);return jsx(v,{id:h,"data-testid":"AutoComplete",options:x,value:b$1,onChange:g,loading:l,popupIcon:l?jsx(u,{"aria-hidden":true,children:jsx(b,{})}):F??jsx(y,{component:"img",src:xb,sx:{transform:"rotate(90deg)"},width:8,alt:"close"}),renderInput:P||C,PopperComponent:c,...I,slotProps:{...p,popper:{modifiers:[{name:"offset",options:{offset:[0,4]}}],...p?.popper}}})},Y=D;export{Y as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b}from'./chunk-YQKWAH6Y.js';import {V as V$1,f,l,R,v}from'./chunk-FEZOSRP2.js';import {o}from'./chunk-ECCMCTOM.js';import {yb}from'./chunk-RNBTIRD7.js';import {createContext,forwardRef,useMemo,useState,useRef,useCallback,useEffect,useImperativeHandle,useContext}from'react';import Re from'@mui/material/Stack';import ne from'@mui/material/Typography';import ie from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import {Stack}from'@mui/material';import it from'lodash/debounce';import j from'memoize-one';var Ue=(r=>(r.CHECKED="CHECKED",r.UNCHECKED="UNCHECKED",r.INDETERMINATE="INDETERMINATE",r))(Ue||{});styled("img",{shouldForwardProp:e=>e!=="expanded"})(({theme:e,expanded:t})=>({transform:t?"rotate(180deg)":"rotate(0deg)",marginLeft:"auto",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})}));styled(ie)(()=>({display:"flex",justifyContent:"center",alignItems:"center",paddingBlock:"4px",borderTop:"1px solid #F2F2F2"}));var F=styled(V$1)({minWidth:120,minHeight:36,maxHeight:36,paddingTop:0,paddingBottom:0,backgroundColor:"#fff","--menuitem-border-rad":"4px","&:hover":{boxShadow:"0px 0px 16px rgba(0, 0, 0, 0.13)",zIndex:1}}),V=styled(e=>jsx(F,{startAdornment:null,...e}))(({theme:e})=>({fontSize:11,fontWeight:500,color:e.palette.grey[700],minHeight:36,maxHeight:"auto",cursor:"auto",":hover":{boxShadow:"none",zIndex:1}}));var _=createContext({treeMapper:{},handleSelect:()=>{},multiple:false}),Ve=({children:e,treeMapper:t,handleSelect:o,multiple:r,IconComponent:n})=>{let i=useMemo(()=>({treeMapper:t,handleSelect:o,multiple:r,IconComponent:n}),[t,o,r,n]);return jsx(_.Provider,{value:i,children:e})},re=Ve;var Ge=()=>{let e=useContext(_);if(!e)throw new Error("'useTreeDropdown' must be used within an 'TreeDropdownProvider'");return e},B=Ge;var ae=styled(f)({padding:0,paddingRight:"4px",width:"14px !important",".MuiSvgIcon-root":{width:"12px !important",height:"12px !important"}}),se=styled(l)({padding:0}),le=styled(ie)(()=>({display:"flex",gap:"8px",justifyContent:"space-between",flexGrow:1,width:"100%",alignItems:"center",minWidth:0})),pe=styled(e=>jsx(ne,{noWrap:true,component:"span",...e}))(({theme:e})=>({flex:1,fontSize:"inherit",width:"100%",display:"inline-block",color:e.palette.text.primary})),de=styled(e=>jsx(ne,{noWrap:true,...e}))(({theme:e})=>({color:alpha(e.palette.text.primary,.5),fontSize:8})),ce=styled(ie,{shouldForwardProp:e=>e!=="isOneDigit"})(({theme:e,isOneDigit:t=true})=>({borderRadius:t?"50%":"4px",background:e.palette.divider,width:t?13:"auto",height:14,fontSize:"8px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"10px",...!t&&{padding:"0 3px"}})),ue=styled("img")(()=>({height:12}));var Je=e=>{let{checked:t,indeterminate:o,onSelect:r}=e,{multiple:n}=B(),i=useCallback(a=>{a.stopPropagation(),r(a);},[r]);return n?jsx(ae,{size:"small",checked:t,indeterminate:o,onChange:i}):jsx(se,{checked:t,onChange:i})},he=Je;var Ze=e=>{let{renderItem:t,header:o,footer:r,...n}=e,{treeMapper:i,handleSelect:a,multiple:c,IconComponent:p}=B(),{label:s,icon:d,iconComponent:l,levelIndex:h=0,children:f,nestedMenuSx:I,hintText:y,disableHovering:m,itemProps:T,searchProps:u,subLevelKey:E}=n,[x,N]=useState(null),w=!!f,H=f?.length,L=useCallback(R=>{m||N(R.currentTarget);},[m]),S=useCallback(()=>{m||N(null);},[m]);useEffect(()=>{m&&N(null);},[m]);let M=useMemo(()=>l||(d&&p?jsx(p,{fileId:d.fileId,width:d.width??20,height:d.height??20}):null),[l,d,p]),g=i[n.id]?.status==="CHECKED",k=c?i[n.id]?.status==="INDETERMINATE":false,O=c||!w,v=useCallback(R=>{R.stopPropagation(),a(R.target.checked,n);},[a,n]);return jsxs(F,{startAdornment:null,onMouseEnter:L,onMouseLeave:S,"data-testid":n.id,onClick:()=>{a(!g,n);},...T,children:[t?t({nodeProps:n,checked:g,indeterminate:k,onSelect:v}):jsxs(le,{width:"100%","data-testid":"Content",children:[O&&jsx(he,{checked:g,indeterminate:k,onSelect:v}),M,jsxs(Stack,{flex:1,width:"100%",minWidth:0,children:[jsx(pe,{title:typeof s=="string"?s:void 0,children:s}),y&&jsx(de,{title:typeof y=="string"?y:void 0,children:y})]}),jsxs(Stack,{direction:"row",alignItems:"center",spacing:.5,children:[H&&jsx(ce,{isOneDigit:Math.floor(H/10)===0,children:H}),w&&jsx(ue,{src:yb,alt:"Expand"})]})]}),!!f&&jsx(U,{anchorEl:x,menuItems:f,levelIndex:h+1,sx:I,header:o,levelKey:E,footer:r,searchProps:u})]})},ge=Ze;var xe=ge;var Ce=styled(R)({maxHeight:"100%"}),ye=styled("div")({position:"relative","&:before, &:after":{display:"none"},"&.scrollable":{position:"relative","&::before, &::after":{display:"block",content:'""',position:"absolute",left:0,width:"100%",height:"20px",opacity:1,pointerEvents:"none",zIndex:2,transition:"opacity 0.3s ease-out"},"&::before":{top:0,background:"linear-gradient(to top, transparent, rgba(255, 255, 255, 1))"},"&::after":{bottom:0,background:"linear-gradient(to bottom, transparent, rgba(255, 255, 255, 1))"}},"&.scrolled-to-top":{"&::before":{opacity:0}},"&.scrolled-to-bottom":{"&::after":{opacity:0}}}),be=styled("ul")({listStyle:"none",padding:0,margin:0,maxHeight:300,overflow:"auto"});var rt=({children:e,onScroll:t})=>{let o$1=useRef(null),{scrolledToBottom:r,scrolledToTop:n,scrollable:i,handleScroll:a}=o({containerRef:o$1}),c=useMemo(()=>[r&&"scrolled-to-bottom",n&&"scrolled-to-top",i&&"scrollable"].filter(Boolean).join(" "),[r,n,i]),p=useCallback(s=>{t(s),a(s);},[t,a]);return jsx(ye,{sx:{position:"relative"},className:c,children:jsx(be,{ref:o$1,onScroll:p,children:e})})},Ne=rt;var at=e=>{let{initialValue:t="",getValues:o,filterItem:r,onChange:n,items:i,enabled:a=false,debounceMs:c=300}=e,[p,s]=useState(t),[d,l]=useState(t),h=useMemo(()=>it(m=>{l(m);},c),[c]);useEffect(()=>(h(p),()=>h.cancel()),[h,p]);let f=useCallback(m=>{let T=m.target.value;s(T),h(T),n?.(m);},[n,h]),I=useCallback(()=>{s(""),l(""),h.cancel(),n?.({target:{value:""}});},[n,h]),y=useMemo(()=>{if(!a||!d.trim())return i;let m=d.toLowerCase();return r?i.reduce((T,u)=>{let E=r(u,m);return E&&T.push(E),T},[]):o?i.filter(T=>o(T).some(u=>u.toLowerCase().includes(m))):(console.error("`searchProps.getValues` is required for searching, provide it on the tree node level or the global search props"),i)},[i,d,o,r,a]);return {searchText:p,filteredItems:y,handleSearch:f,handleReset:I}},ve=at;var ft=e=>{let{anchorEl:t,sx:o,levelIndex:r=0,placement:n,menuItems:i,header:a,footer:c,levelKey:p,searchProps:s}=e,[d,l]=useState(false),h=!!t,f=!!s,{searchText:I,filteredItems:y,handleSearch:m,handleReset:T}=ve({...s,enabled:f,items:i}),u=useRef(),E=useCallback(()=>{l(true),clearTimeout(u.current),u.current=setTimeout(()=>{l(false);},100);},[]);return useEffect(()=>()=>clearTimeout(u.current),[]),jsx(Ce,{open:h,anchorEl:t,placement:r>0?"right-start":n,"data-level":r,"data-level-key":p,onClick:x=>x.stopPropagation(),sx:{...o,"&.MuiPopper-dropdown":{"&:after":{display:"none"}}},children:jsxs(Re,{divider:jsx(v,{flexItem:true}),children:[a&&jsx(V,{children:a}),f&&jsxs(Re,{divider:jsx(v,{flexItem:true,sx:{my:1}}),children:[jsx(ie,{sx:{p:1},children:jsx(b,{id:`tree-search-input-${r}`,...s?.inputProps,placeholder:s?.inputProps?.placeholder??"Search...",onChange:m,value:I,inputProps:{autoComplete:"off"},onClear:T})}),y.length===0&&s?.noResultsText&&jsx(ne,{component:"div",fontSize:10,color:x=>alpha(x.palette.text.primary,.4),textAlign:"center",minHeight:36,fontWeight:500,display:"flex",alignItems:"center",justifyContent:"center",children:jsx("span",{children:"No results found"})})]}),jsx(Ne,{onScroll:E,children:y.map((x,N)=>jsx(xe,{disableHovering:d,...x,levelIndex:r,subLevelKey:x.levelKey,nestedMenuSx:o},`${r}-${x.id}-${N}`))}),c&&jsx(V,{children:c})]})})},U=ft;function ht(e){function t(o){let r=o.children?o.children.map(t):void 0;if(r?.length===1&&r[0].children?.length&&!r[0].disablePromotion){let n=r[0];r=n.children,o={...o,header:n.header??o.header,footer:n.footer??o.footer,searchProps:n.searchProps??o.searchProps};}return {...o,children:r}}return e.map(t)}function we(e,t,o=[]){for(let r of e)r.status==="CHECKED"&&o.push(r.id),r.children&&we(r.children,t,o);return o}function He(e,t=[],o={},r=false){for(let n of e){let i=r?"CHECKED":n.status??"UNCHECKED";o[n.id]={status:i,...t.length?{_parents:t}:{}},n.children&&He(n.children,[...t,n.id],o,i==="CHECKED");}return o}function Le(e,t){let o=He(e),r=we(e,t),n=o;for(let i of r)n=q(n,i,true);return n}function ke(e,t){return e.map(o=>({...o,status:t[o.id]?.status??"UNCHECKED",children:o.children?ke(o.children,t):void 0}))}function Tt(e){let t={};for(let o of Object.keys(e)){let r=e[o]._parents;if(!r?.length)continue;let n=r[r.length-1];t[n]??(t[n]=[]),t[n].push(o);}return t}function q(e,t,o){let r=structuredClone(e),n=Tt(e),i=o?"CHECKED":"UNCHECKED";function a(p){r[p].status=i;for(let s of n[p]??[])a(s);}function c(p){let s=r[p]._parents;if(!s?.length)return;let d=s[s.length-1],h=(n[d]??[]).map(f=>r[f].status);h.every(f=>f==="CHECKED")?r[d].status="CHECKED":h.every(f=>f==="UNCHECKED")?r[d].status="UNCHECKED":r[d].status="INDETERMINATE",c(d);}return a(t),c(t),r}function gt(e){function t(o){let r=o.children?.map(t).filter(Boolean);return o.status==="CHECKED"||o.status==="INDETERMINATE"||r&&r.length>0?{...o,children:r}:null}return e.map(t).filter(Boolean)}function De(e){let t={};for(let o in e)t[o]={status:"UNCHECKED",...e[o]._parents?{_parents:e[o]._parents}:{}};return t}function Ke(e,t,o,r){if(r)return q(e,t,o);if(!o)return De(e);let n=De(e);return q(n,t,true)}function xt(e,t){let o=[];function r(n){n.levelKey===t&&o.push(n),n.children?.forEach(i=>r(i));}return e.forEach(r),o}var C={denormalizeTree:j((e,t)=>ke(e,t)),extractSelectedBranches:j(e=>gt(e)),filterNodesByLevelKey:j((e,t)=>xt(e,t))};function J(e){let t=ht(e.children??[]);if(t.length===1&&t[0].children?.length&&!t[0].disablePromotion){let[o]=t;return J({levelKey:o.levelKey,children:o.children,header:o.header??e.header,footer:o.footer??e.footer,searchProps:o.searchProps??e.searchProps})}return {...e,children:t}}var It=forwardRef((e,t)=>{let{anchorEl:o,placement:r="bottom-start",treeDefinition:n,sx:i,onChange:a,multiple:c=true,exposeOnlySelectedTree:p=false,IconComponent:s,onMounted:d}=e,{children:l=[]}=n,h=useMemo(()=>J(n),[n]),{header:f,footer:I,children:y=[],searchProps:m,levelKey:T}=h,[u,E]=useState({}),x=useRef(d);x.current=d;let N=useCallback(()=>C.denormalizeTree(l,u),[l,u]),w=useCallback(()=>C.extractSelectedBranches(N()),[N]),H=useCallback((S,M)=>{let g=Ke(u,M.id,S,c);E(g),a&&a(p?C.extractSelectedBranches(C.denormalizeTree(l,g)):C.denormalizeTree(l,g));},[a,l,u,c,p]),L=useCallback(S=>{let g=((k,O)=>{let v={...k};return Object.keys(v).forEach(R=>{v[R]={...v[R],status:O?"CHECKED":"UNCHECKED"};}),v})(u,S);E(g),a&&a(p?C.extractSelectedBranches(C.denormalizeTree(l,g)):C.denormalizeTree(l,g));},[u,a,l,p]);return useEffect(()=>{let S=Le(l||[],c);E(S);let M=C.denormalizeTree(l,S),g=C.extractSelectedBranches(M);x.current?.({state:S,tree:M,selectedTree:g});},[l,c]),useImperativeHandle(t,()=>({treeMapper:u,getFullTree:N,getSelectedTree:w,toggleAll:L}),[u,N,w,L]),jsx(re,{treeMapper:u,IconComponent:s,handleSelect:H,multiple:c,children:jsx(U,{anchorEl:o,sx:i,header:f,footer:I,menuItems:y,levelKey:T,searchProps:m,placement:r})})}),ze=It;var Xo=ze;export{Ue as a,C as b,Xo as c};
|
|
1
|
+
import {b}from'./chunk-JC7NZ5DQ.js';import {V as V$1,f,l,R,v}from'./chunk-4Y2COEZC.js';import {o}from'./chunk-JLL4EOYJ.js';import {xb}from'./chunk-2GSUGMI7.js';import {createContext,forwardRef,useMemo,useState,useRef,useCallback,useEffect,useImperativeHandle,useContext}from'react';import Re from'@mui/material/Stack';import ne from'@mui/material/Typography';import ie from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';import {Stack}from'@mui/material';import it from'lodash/debounce';import j from'memoize-one';var Ue=(r=>(r.CHECKED="CHECKED",r.UNCHECKED="UNCHECKED",r.INDETERMINATE="INDETERMINATE",r))(Ue||{});styled("img",{shouldForwardProp:e=>e!=="expanded"})(({theme:e,expanded:t})=>({transform:t?"rotate(180deg)":"rotate(0deg)",marginLeft:"auto",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest})}));styled(ie)(()=>({display:"flex",justifyContent:"center",alignItems:"center",paddingBlock:"4px",borderTop:"1px solid #F2F2F2"}));var F=styled(V$1)({minWidth:120,minHeight:36,maxHeight:36,paddingTop:0,paddingBottom:0,backgroundColor:"#fff","--menuitem-border-rad":"4px","&:hover":{boxShadow:"0px 0px 16px rgba(0, 0, 0, 0.13)",zIndex:1}}),V=styled(e=>jsx(F,{startAdornment:null,...e}))(({theme:e})=>({fontSize:11,fontWeight:500,color:e.palette.grey[700],minHeight:36,maxHeight:"auto",cursor:"auto",":hover":{boxShadow:"none",zIndex:1}}));var _=createContext({treeMapper:{},handleSelect:()=>{},multiple:false}),Ve=({children:e,treeMapper:t,handleSelect:o,multiple:r,IconComponent:n})=>{let i=useMemo(()=>({treeMapper:t,handleSelect:o,multiple:r,IconComponent:n}),[t,o,r,n]);return jsx(_.Provider,{value:i,children:e})},re=Ve;var Ge=()=>{let e=useContext(_);if(!e)throw new Error("'useTreeDropdown' must be used within an 'TreeDropdownProvider'");return e},B=Ge;var ae=styled(f)({padding:0,paddingRight:"4px",width:"14px !important",".MuiSvgIcon-root":{width:"12px !important",height:"12px !important"}}),se=styled(l)({padding:0}),le=styled(ie)(()=>({display:"flex",gap:"8px",justifyContent:"space-between",flexGrow:1,width:"100%",alignItems:"center",minWidth:0})),pe=styled(e=>jsx(ne,{noWrap:true,component:"span",...e}))(({theme:e})=>({flex:1,fontSize:"inherit",width:"100%",display:"inline-block",color:e.palette.text.primary})),de=styled(e=>jsx(ne,{noWrap:true,...e}))(({theme:e})=>({color:alpha(e.palette.text.primary,.5),fontSize:8})),ce=styled(ie,{shouldForwardProp:e=>e!=="isOneDigit"})(({theme:e,isOneDigit:t=true})=>({borderRadius:t?"50%":"4px",background:e.palette.divider,width:t?13:"auto",height:14,fontSize:"8px",fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",lineHeight:"10px",...!t&&{padding:"0 3px"}})),ue=styled("img")(()=>({height:12}));var Je=e=>{let{checked:t,indeterminate:o,onSelect:r}=e,{multiple:n}=B(),i=useCallback(a=>{a.stopPropagation(),r(a);},[r]);return n?jsx(ae,{size:"small",checked:t,indeterminate:o,onChange:i}):jsx(se,{checked:t,onChange:i})},he=Je;var Ze=e=>{let{renderItem:t,header:o,footer:r,...n}=e,{treeMapper:i,handleSelect:a,multiple:c,IconComponent:p}=B(),{label:s,icon:d,iconComponent:l,levelIndex:h=0,children:f,nestedMenuSx:I,hintText:y,disableHovering:m,itemProps:T,searchProps:u,subLevelKey:E}=n,[x,N]=useState(null),w=!!f,H=f?.length,L=useCallback(R=>{m||N(R.currentTarget);},[m]),S=useCallback(()=>{m||N(null);},[m]);useEffect(()=>{m&&N(null);},[m]);let M=useMemo(()=>l||(d&&p?jsx(p,{fileId:d.fileId,width:d.width??20,height:d.height??20}):null),[l,d,p]),g=i[n.id]?.status==="CHECKED",k=c?i[n.id]?.status==="INDETERMINATE":false,O=c||!w,v=useCallback(R=>{R.stopPropagation(),a(R.target.checked,n);},[a,n]);return jsxs(F,{startAdornment:null,onMouseEnter:L,onMouseLeave:S,"data-testid":n.id,onClick:()=>{a(!g,n);},...T,children:[t?t({nodeProps:n,checked:g,indeterminate:k,onSelect:v}):jsxs(le,{width:"100%","data-testid":"Content",children:[O&&jsx(he,{checked:g,indeterminate:k,onSelect:v}),M,jsxs(Stack,{flex:1,width:"100%",minWidth:0,children:[jsx(pe,{title:typeof s=="string"?s:void 0,children:s}),y&&jsx(de,{title:typeof y=="string"?y:void 0,children:y})]}),jsxs(Stack,{direction:"row",alignItems:"center",spacing:.5,children:[H&&jsx(ce,{isOneDigit:Math.floor(H/10)===0,children:H}),w&&jsx(ue,{src:xb,alt:"Expand"})]})]}),!!f&&jsx(U,{anchorEl:x,menuItems:f,levelIndex:h+1,sx:I,header:o,levelKey:E,footer:r,searchProps:u})]})},ge=Ze;var xe=ge;var Ce=styled(R)({maxHeight:"100%"}),ye=styled("div")({position:"relative","&:before, &:after":{display:"none"},"&.scrollable":{position:"relative","&::before, &::after":{display:"block",content:'""',position:"absolute",left:0,width:"100%",height:"20px",opacity:1,pointerEvents:"none",zIndex:2,transition:"opacity 0.3s ease-out"},"&::before":{top:0,background:"linear-gradient(to top, transparent, rgba(255, 255, 255, 1))"},"&::after":{bottom:0,background:"linear-gradient(to bottom, transparent, rgba(255, 255, 255, 1))"}},"&.scrolled-to-top":{"&::before":{opacity:0}},"&.scrolled-to-bottom":{"&::after":{opacity:0}}}),be=styled("ul")({listStyle:"none",padding:0,margin:0,maxHeight:300,overflow:"auto"});var rt=({children:e,onScroll:t})=>{let o$1=useRef(null),{scrolledToBottom:r,scrolledToTop:n,scrollable:i,handleScroll:a}=o({containerRef:o$1}),c=useMemo(()=>[r&&"scrolled-to-bottom",n&&"scrolled-to-top",i&&"scrollable"].filter(Boolean).join(" "),[r,n,i]),p=useCallback(s=>{t(s),a(s);},[t,a]);return jsx(ye,{sx:{position:"relative"},className:c,children:jsx(be,{ref:o$1,onScroll:p,children:e})})},Ne=rt;var at=e=>{let{initialValue:t="",getValues:o,filterItem:r,onChange:n,items:i,enabled:a=false,debounceMs:c=300}=e,[p,s]=useState(t),[d,l]=useState(t),h=useMemo(()=>it(m=>{l(m);},c),[c]);useEffect(()=>(h(p),()=>h.cancel()),[h,p]);let f=useCallback(m=>{let T=m.target.value;s(T),h(T),n?.(m);},[n,h]),I=useCallback(()=>{s(""),l(""),h.cancel(),n?.({target:{value:""}});},[n,h]),y=useMemo(()=>{if(!a||!d.trim())return i;let m=d.toLowerCase();return r?i.reduce((T,u)=>{let E=r(u,m);return E&&T.push(E),T},[]):o?i.filter(T=>o(T).some(u=>u.toLowerCase().includes(m))):(console.error("`searchProps.getValues` is required for searching, provide it on the tree node level or the global search props"),i)},[i,d,o,r,a]);return {searchText:p,filteredItems:y,handleSearch:f,handleReset:I}},ve=at;var ft=e=>{let{anchorEl:t,sx:o,levelIndex:r=0,placement:n,menuItems:i,header:a,footer:c,levelKey:p,searchProps:s}=e,[d,l]=useState(false),h=!!t,f=!!s,{searchText:I,filteredItems:y,handleSearch:m,handleReset:T}=ve({...s,enabled:f,items:i}),u=useRef(),E=useCallback(()=>{l(true),clearTimeout(u.current),u.current=setTimeout(()=>{l(false);},100);},[]);return useEffect(()=>()=>clearTimeout(u.current),[]),jsx(Ce,{open:h,anchorEl:t,placement:r>0?"right-start":n,"data-level":r,"data-level-key":p,onClick:x=>x.stopPropagation(),sx:{...o,"&.MuiPopper-dropdown":{"&:after":{display:"none"}}},children:jsxs(Re,{divider:jsx(v,{flexItem:true}),children:[a&&jsx(V,{children:a}),f&&jsxs(Re,{divider:jsx(v,{flexItem:true,sx:{my:1}}),children:[jsx(ie,{sx:{p:1},children:jsx(b,{id:`tree-search-input-${r}`,...s?.inputProps,placeholder:s?.inputProps?.placeholder??"Search...",onChange:m,value:I,inputProps:{autoComplete:"off"},onClear:T})}),y.length===0&&s?.noResultsText&&jsx(ne,{component:"div",fontSize:10,color:x=>alpha(x.palette.text.primary,.4),textAlign:"center",minHeight:36,fontWeight:500,display:"flex",alignItems:"center",justifyContent:"center",children:jsx("span",{children:"No results found"})})]}),jsx(Ne,{onScroll:E,children:y.map((x,N)=>jsx(xe,{disableHovering:d,...x,levelIndex:r,subLevelKey:x.levelKey,nestedMenuSx:o},`${r}-${x.id}-${N}`))}),c&&jsx(V,{children:c})]})})},U=ft;function ht(e){function t(o){let r=o.children?o.children.map(t):void 0;if(r?.length===1&&r[0].children?.length&&!r[0].disablePromotion){let n=r[0];r=n.children,o={...o,header:n.header??o.header,footer:n.footer??o.footer,searchProps:n.searchProps??o.searchProps};}return {...o,children:r}}return e.map(t)}function we(e,t,o=[]){for(let r of e)r.status==="CHECKED"&&o.push(r.id),r.children&&we(r.children,t,o);return o}function He(e,t=[],o={},r=false){for(let n of e){let i=r?"CHECKED":n.status??"UNCHECKED";o[n.id]={status:i,...t.length?{_parents:t}:{}},n.children&&He(n.children,[...t,n.id],o,i==="CHECKED");}return o}function Le(e,t){let o=He(e),r=we(e,t),n=o;for(let i of r)n=q(n,i,true);return n}function ke(e,t){return e.map(o=>({...o,status:t[o.id]?.status??"UNCHECKED",children:o.children?ke(o.children,t):void 0}))}function Tt(e){let t={};for(let o of Object.keys(e)){let r=e[o]._parents;if(!r?.length)continue;let n=r[r.length-1];t[n]??(t[n]=[]),t[n].push(o);}return t}function q(e,t,o){let r=structuredClone(e),n=Tt(e),i=o?"CHECKED":"UNCHECKED";function a(p){r[p].status=i;for(let s of n[p]??[])a(s);}function c(p){let s=r[p]._parents;if(!s?.length)return;let d=s[s.length-1],h=(n[d]??[]).map(f=>r[f].status);h.every(f=>f==="CHECKED")?r[d].status="CHECKED":h.every(f=>f==="UNCHECKED")?r[d].status="UNCHECKED":r[d].status="INDETERMINATE",c(d);}return a(t),c(t),r}function gt(e){function t(o){let r=o.children?.map(t).filter(Boolean);return o.status==="CHECKED"||o.status==="INDETERMINATE"||r&&r.length>0?{...o,children:r}:null}return e.map(t).filter(Boolean)}function De(e){let t={};for(let o in e)t[o]={status:"UNCHECKED",...e[o]._parents?{_parents:e[o]._parents}:{}};return t}function Ke(e,t,o,r){if(r)return q(e,t,o);if(!o)return De(e);let n=De(e);return q(n,t,true)}function xt(e,t){let o=[];function r(n){n.levelKey===t&&o.push(n),n.children?.forEach(i=>r(i));}return e.forEach(r),o}var C={denormalizeTree:j((e,t)=>ke(e,t)),extractSelectedBranches:j(e=>gt(e)),filterNodesByLevelKey:j((e,t)=>xt(e,t))};function J(e){let t=ht(e.children??[]);if(t.length===1&&t[0].children?.length&&!t[0].disablePromotion){let[o]=t;return J({levelKey:o.levelKey,children:o.children,header:o.header??e.header,footer:o.footer??e.footer,searchProps:o.searchProps??e.searchProps})}return {...e,children:t}}var It=forwardRef((e,t)=>{let{anchorEl:o,placement:r="bottom-start",treeDefinition:n,sx:i,onChange:a,multiple:c=true,exposeOnlySelectedTree:p=false,IconComponent:s,onMounted:d}=e,{children:l=[]}=n,h=useMemo(()=>J(n),[n]),{header:f,footer:I,children:y=[],searchProps:m,levelKey:T}=h,[u,E]=useState({}),x=useRef(d);x.current=d;let N=useCallback(()=>C.denormalizeTree(l,u),[l,u]),w=useCallback(()=>C.extractSelectedBranches(N()),[N]),H=useCallback((S,M)=>{let g=Ke(u,M.id,S,c);E(g),a&&a(p?C.extractSelectedBranches(C.denormalizeTree(l,g)):C.denormalizeTree(l,g));},[a,l,u,c,p]),L=useCallback(S=>{let g=((k,O)=>{let v={...k};return Object.keys(v).forEach(R=>{v[R]={...v[R],status:O?"CHECKED":"UNCHECKED"};}),v})(u,S);E(g),a&&a(p?C.extractSelectedBranches(C.denormalizeTree(l,g)):C.denormalizeTree(l,g));},[u,a,l,p]);return useEffect(()=>{let S=Le(l||[],c);E(S);let M=C.denormalizeTree(l,S),g=C.extractSelectedBranches(M);x.current?.({state:S,tree:M,selectedTree:g});},[l,c]),useImperativeHandle(t,()=>({treeMapper:u,getFullTree:N,getSelectedTree:w,toggleAll:L}),[u,N,w,L]),jsx(re,{treeMapper:u,IconComponent:s,handleSelect:H,multiple:c,children:jsx(U,{anchorEl:o,sx:i,header:f,footer:I,menuItems:y,levelKey:T,searchProps:m,placement:r})})}),ze=It;var Xo=ze;export{Ue as a,C as b,Xo as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {f}from'./chunk-CK64PBMR.js';import {z}from'./chunk-4Y2COEZC.js';import {Bc,Ka,g}from'./chunk-CZWXKHO7.js';import {zl,ja,Ua,Og,jl,Za,Ta,Xg,Wg,Yg,Vg,_g,Ab,zb,Ak,ik,hb,vk,B,w as w$1,A,D,Th,hk,u,Bk}from'./chunk-2GSUGMI7.js';import {memo,useId,useState,useRef,useEffect,useMemo,useCallback}from'react';import {useTranslation}from'react-i18next';import {styled,Button,Box,alpha,useTheme}from'@mui/material';import {jsx,jsxs,Fragment}from'react/jsx-runtime';function w({isActive:t,disableHover:e}){let[n,g]=useState(false),l=useTheme(),r=()=>{e||g(true);},u=()=>{g(false);},C=t?l.palette.common.white:l.palette.grey[700],d=n?l.palette.common.black:"transparent";return jsx("svg",{width:"27",height:"30",viewBox:"0 0 27 32",xmlns:"http://www.w3.org/2000/svg",children:jsxs("g",{id:"Group 140343",children:[jsx("path",{id:"Active",d:"M0 0H11C19.8366 0 27 7.16344 27 16C27 24.8366 19.8366 32 11 32H0V0Z",fill:d,fillOpacity:"0.1",onMouseEnter:r,onMouseLeave:u}),jsx("path",{id:"Union",fillRule:"evenodd",clipRule:"evenodd",d:"M15.6941 15.0078C15.6494 15.0193 15.6083 15.043 15.5758 15.0769L12.5026 18.1501L12.5025 18.1501L15.5756 15.0769C15.6082 15.043 15.6493 15.0193 15.6941 15.0078ZM12.5619 18.7465C12.5426 18.7512 12.5227 18.7536 12.5026 18.7536C12.4363 18.7536 12.3727 18.7273 12.3258 18.6804L9.07581 15.4304C9.04012 15.3957 9.01559 15.3512 9.00535 15.3025C8.99511 15.2538 8.99963 15.2032 9.01833 15.1571C9.03703 15.111 9.06907 15.0715 9.11033 15.0437C9.13446 15.0275 9.16112 15.0156 9.18904 15.0086C9.16105 15.0156 9.13433 15.0275 9.11013 15.0438C9.06887 15.0716 9.03684 15.111 9.01814 15.1571C8.99944 15.2032 8.99492 15.2539 9.00516 15.3026C9.0154 15.3513 9.03993 15.3958 9.07562 15.4305L12.3256 18.6805C12.3725 18.7273 12.4361 18.7537 12.5024 18.7537C12.5226 18.7537 12.5426 18.7512 12.5619 18.7465ZM16.1965 15.342C16.1781 15.4301 16.1338 15.5105 16.0693 15.5731L12.8205 18.8219C12.7361 18.9063 12.6217 18.9537 12.5024 18.9537C12.3831 18.9537 12.2686 18.9062 12.1842 18.8219L8.93507 15.5728C8.87148 15.5105 8.82775 15.4308 8.80944 15.3437C8.79101 15.2561 8.79914 15.165 8.8328 15.082C8.86646 14.999 8.92412 14.9279 8.99839 14.8779C9.07266 14.8279 9.16022 14.8011 9.24978 14.8011C9.30998 14.8011 9.36958 14.8132 9.42503 14.8366C9.47997 14.8599 9.52973 14.8938 9.57144 14.9364L12.5024 17.8673L15.433 14.9368C15.5151 14.852 15.6273 14.803 15.7454 14.8002C15.836 14.798 15.9252 14.8233 16.0013 14.8728C16.0773 14.9222 16.1367 14.9935 16.1715 15.0772C16.2063 15.1609 16.2151 15.2533 16.1965 15.342Z",fill:C})]})})}var zt=t=>({...t.typography.subtitle1,borderRadius:"50px",borderWidth:"1px",borderStyle:"solid",minWidth:"135.11px",height:"32px",display:"flex",justifyContent:"center",alignItems:"center",gap:"8px",textTransform:"none",transition:"none",paddingInline:t.spacing(2)}),mt=styled(Button,{shouldForwardProp:t=>t!=="statusVariant"})(({theme:t,statusVariant:e})=>({...zt(t),...e==="active"?{background:t.palette.background.gradient.shadedBlue,color:t.palette.common.white,"&:hover":{background:t.palette.background.gradient.shadedBlue,opacity:.8}}:{backgroundColor:t.palette.common.white,borderColor:t.palette.grey[100],color:t.palette.text.primary,"&:hover":{backgroundColor:t.palette.common.white,opacity:.7}}})),gt={active:mt,inActive:mt};styled(Box)(({theme:t,variant:e})=>({borderRadius:"50px",backgroundColor:e==="active"?alpha(t.palette.text.primary,.1):t.palette.grey[100],display:"flex",justifyContent:"center",alignItems:"center",paddingInline:t.spacing(.5),paddingBlock:t.spacing(.25),color:e==="active"?t.palette.common.white:t.palette.text.primary,fontSize:"8px",fontWeight:700,lineHeight:"10px"}));styled("img")(({theme:t,variant:e,icon:n})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(n??"")&&e==="inActive")&&n!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"}));styled("p")(({theme:t})=>({fontSize:"0.6875rem",color:t.palette.background.default,fontStyle:"normal",margin:"auto",textTransform:"capitalize"}));var ht=styled(f)(({theme:t})=>({backgroundColor:"white",boxShadow:t.shadows[21],borderRadius:"0.25rem","& .MuiPaper-root":{borderRadius:"0.25rem",width:"12.5rem"}})),Ct=styled("span")(()=>({width:"27px",height:"100%",maxHeight:"100%",position:"absolute",top:"0",right:"0",bottom:"0",overflow:"hidden"})),ft=styled(Box)(({variant:t})=>({display:"flex",alignItems:"center",justifyContent:"flex-start",gap:"0.5rem",fontWeight:t==="active"?700:400})),vt=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"center",width:"100%"})),It=styled("img")(({theme:t,variant:e,icon:n})=>({fill:e==="active"?t.palette.common.white:t.palette.text.primary,color:e==="active"?t.palette.common.white:t.palette.text.primary,...!(["openFlag","closedFlag"].includes(n??"")&&e==="inActive")&&n!=="captured"&&{filter:e==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"},maxWidth:"14px",maxHeight:"14px"})),xt=styled(Box)(({variant:t})=>({width:"14px",height:"14px",display:"flex",alignItems:"center","& img":{width:"14px",height:"14px",filter:t==="active"?"brightness(0) invert(1)":"brightness(0) invert(0)"}}));var bt={inProgress:Bk,initiated:Bk,abandoned:u,cancelled:hk,reversed:Th,reports:D,search:A,chevronDown:w$1,unAuthorized:B,unSettled:vk,unCaptured:hb,captured:ik,authorized:Ak,openFlag:zb,closedFlag:Ab,unauthenticated:_g,authenticated:Vg,paidOut:Yg,scheduled:Wg,checked:Xg,dashedChecked:Ta,deactivated:Za,destination:jl,destinationReversed:Og,outstanding:Ua,active:ja,inactive:zl};var Ut=memo(t=>{let{variant:e="inActive",badgeCount:n,icon:g$1,label:l,dropdownOptions:r,selectedStatus:u,onButtonBodyClick:C,iconMapper:d=bt,buttonSx:yt,...wt}=t,kt=Bc(useId(),"status-button"),[Lt,M]=useState(0),{t:R}=useTranslation(),P=useRef(null),[T,x]=useState(null),[a,V]=useState(u??r?.[0]?.status);useEffect(()=>{u!==void 0&&V(u);},[u]);let p=useMemo(()=>!!r?.length,[r]),f=!!T&&Lt>1,m=e==="active",H=useMemo(()=>m?"active":"inactive",[m]),h=useMemo(()=>a?r?.find(o=>o.status===a):null,[a,r]),Mt=useMemo(()=>{if(h?.icon)return jsx(xt,{variant:e,children:h.icon});let o=a&&d[a]?a:g$1;if(o&&d[o])return jsx(It,{icon:o,variant:e,src:d[o],alt:`${o}-icon`})},[h,a,d,g$1,e]),Rt=useMemo(()=>!n||Number.isNaN(Ka(n))?null:jsx(z,{color:H,children:g(Number(n))}),[n,H]),W=useMemo(()=>p?jsx(w,{isActive:m}):null,[p,m]);useEffect(()=>{m||(M(0),x(null));},[m]);let b=useCallback(()=>{x(null);},[]),A=useCallback(()=>{p&&x(f?null:P.current);},[p,f]),Pt=useCallback(o=>{o.stopPropagation(),t?.onClick?.(o),C?.(a||r?.[0]?.status||"all"),A(),M(B=>B+1);},[t,C,a,r,A]),E=useCallback(o=>B=>{o?.onClick?.(B),V(o.status),b();},[b]),Tt=useMemo(()=>r?.map(o=>({...o,onClick:E(o)}))||[],[r,E]),Vt=gt[e],Ht=useMemo(()=>h?.label||(a?R(a):l),[h,a,R,l]);return jsxs(Fragment,{children:[jsx(Vt,{id:kt,"data-testid":"StatusButton",...wt,ref:P,onClick:Pt,statusVariant:e,sx:{...p&&{paddingInlineEnd:"27px"},...yt},children:jsxs(vt,{children:[jsxs(ft,{variant:e,children:[Mt,Ht,Rt]}),W&&jsx(Ct,{children:W})]})}),f&&p&&jsx(ht,{open:f,onClose:b,anchorEl:T,menuItems:Tt})]})}),St=Ut;var ge=St;
|
|
2
|
+
export{w as a,ge as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as ActionsDropdownMenu,b as AppMenuItem}from'../../_chunks/chunk-
|
|
1
|
+
export{a as ActionsDropdownMenu,b as AppMenuItem}from'../../_chunks/chunk-CWNDTPM5.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as alertClassNames,b as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as alertClassNames,b as default}from'../../_chunks/chunk-G5OEG7OX.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-2QA5MXMV.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -266,8 +266,8 @@ export declare const StyledAnimatedSpinner: import("@emotion/styled").StyledComp
|
|
|
266
266
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLImageElement> | undefined;
|
|
267
267
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLImageElement> | undefined;
|
|
268
268
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLImageElement> | undefined;
|
|
269
|
-
referrerPolicy?: import("react").HTMLAttributeReferrerPolicy | undefined;
|
|
270
269
|
loading?: "eager" | "lazy" | undefined;
|
|
270
|
+
referrerPolicy?: import("react").HTMLAttributeReferrerPolicy | undefined;
|
|
271
271
|
crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
272
272
|
useMap?: string | undefined;
|
|
273
273
|
fetchPriority?: "auto" | "high" | "low" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{uc as default}from'../../_chunks/chunk-
|
|
1
|
+
export{uc as default}from'../../_chunks/chunk-REMAOTWV.js';import'../../_chunks/chunk-DRWSBTEH.js';import'../../_chunks/chunk-MVWBQNBX.js';import'../../_chunks/chunk-F7TSJOX6.js';import'../../_chunks/chunk-YAO5SBRE.js';import'../../_chunks/chunk-UOERDOEI.js';import'../../_chunks/chunk-DFH5QS2C.js';import'../../_chunks/chunk-G3QDXDRW.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-3GA46JLW.js';import'../../_chunks/chunk-7GJMLJ2X.js';import'../../_chunks/chunk-XKMKTJWE.js';import'../../_chunks/chunk-JC7NZ5DQ.js';import'../../_chunks/chunk-5RPLYU74.js';import'../../_chunks/chunk-YLVW27RP.js';import'../../_chunks/chunk-7UHNYLD7.js';import'../../_chunks/chunk-2FRVCEJY.js';import'../../_chunks/chunk-IULAG2J7.js';import'../../_chunks/chunk-LLOK2FPM.js';import'../../_chunks/chunk-SPZGODAQ.js';import'../../_chunks/chunk-CAZWVRDN.js';import'../../_chunks/chunk-Q7C7A5RK.js';import'../../_chunks/chunk-PIO2RM2Z.js';import'../../_chunks/chunk-24X3BEJR.js';import'../../_chunks/chunk-6WVAYA6W.js';import'../../_chunks/chunk-OQA73I3Z.js';import'../../_chunks/chunk-6Q5NWGGT.js';import'../../_chunks/chunk-BDL56M7A.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-ACIQTR6D.js';import'../../_chunks/chunk-J2QN5EF5.js';import'../../_chunks/chunk-X26MSUES.js';import'../../_chunks/chunk-OGARNN6I.js';import'../../_chunks/chunk-IO5DNKRE.js';import'../../_chunks/chunk-RRBFJGS6.js';import'../../_chunks/chunk-LNEWGSQE.js';import'../../_chunks/chunk-SKJZPJBN.js';import'../../_chunks/chunk-ETTNSCF2.js';import'../../_chunks/chunk-6SBWV2KY.js';import'../../_chunks/chunk-IQUQQVHU.js';import'../../_chunks/chunk-6PLO2VOU.js';import'../../_chunks/chunk-PGG4PIRO.js';import'../../_chunks/chunk-C4ZTNHLR.js';import'../../_chunks/chunk-IZLK35VJ.js';import'../../_chunks/chunk-J3CPRU2X.js';import'../../_chunks/chunk-IXZBLV5N.js';import'../../_chunks/chunk-JO7EW2A3.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-PEV5GRRD.js';import'../../_chunks/chunk-UZIT72EG.js';import'../../_chunks/chunk-FGZVDVG2.js';import'../../_chunks/chunk-MAPBEJDO.js';import'../../_chunks/chunk-ECXZJHTU.js';import'../../_chunks/chunk-CK64PBMR.js';import'../../_chunks/chunk-M6JX6YSB.js';import'../../_chunks/chunk-5VSOWOX2.js';import'../../_chunks/chunk-IUN4DEUF.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-Y2HHEHH2.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-DN3GVPG7.js';import'../../_chunks/chunk-NVNFBBM3.js';import'../../_chunks/chunk-AO5K32SU.js';import'../../_chunks/chunk-UFOU3EJK.js';import'../../_chunks/chunk-2J4W2CAI.js';import'../../_chunks/chunk-CWNDTPM5.js';import'../../_chunks/chunk-G5OEG7OX.js';import'../../_chunks/chunk-2QA5MXMV.js';import'../../_chunks/chunk-VTFUWYYT.js';import'../../_chunks/chunk-4FOFVTQ2.js';import'../../_chunks/chunk-DRBZWQC7.js';import'../../_chunks/chunk-LBQWWXKH.js';import'../../_chunks/chunk-HKFOCHKQ.js';import'../../_chunks/chunk-JNIXJXK3.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-JLL4EOYJ.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{vc as default}from'../../_chunks/chunk-
|
|
1
|
+
export{vc as default}from'../../_chunks/chunk-REMAOTWV.js';import'../../_chunks/chunk-DRWSBTEH.js';import'../../_chunks/chunk-MVWBQNBX.js';import'../../_chunks/chunk-F7TSJOX6.js';import'../../_chunks/chunk-YAO5SBRE.js';import'../../_chunks/chunk-UOERDOEI.js';import'../../_chunks/chunk-DFH5QS2C.js';import'../../_chunks/chunk-G3QDXDRW.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-3GA46JLW.js';import'../../_chunks/chunk-7GJMLJ2X.js';import'../../_chunks/chunk-XKMKTJWE.js';import'../../_chunks/chunk-JC7NZ5DQ.js';import'../../_chunks/chunk-5RPLYU74.js';import'../../_chunks/chunk-YLVW27RP.js';import'../../_chunks/chunk-7UHNYLD7.js';import'../../_chunks/chunk-2FRVCEJY.js';import'../../_chunks/chunk-IULAG2J7.js';import'../../_chunks/chunk-LLOK2FPM.js';import'../../_chunks/chunk-SPZGODAQ.js';import'../../_chunks/chunk-CAZWVRDN.js';import'../../_chunks/chunk-Q7C7A5RK.js';import'../../_chunks/chunk-PIO2RM2Z.js';import'../../_chunks/chunk-24X3BEJR.js';import'../../_chunks/chunk-6WVAYA6W.js';import'../../_chunks/chunk-OQA73I3Z.js';import'../../_chunks/chunk-6Q5NWGGT.js';import'../../_chunks/chunk-BDL56M7A.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-ACIQTR6D.js';import'../../_chunks/chunk-J2QN5EF5.js';import'../../_chunks/chunk-X26MSUES.js';import'../../_chunks/chunk-OGARNN6I.js';import'../../_chunks/chunk-IO5DNKRE.js';import'../../_chunks/chunk-RRBFJGS6.js';import'../../_chunks/chunk-LNEWGSQE.js';import'../../_chunks/chunk-SKJZPJBN.js';import'../../_chunks/chunk-ETTNSCF2.js';import'../../_chunks/chunk-6SBWV2KY.js';import'../../_chunks/chunk-IQUQQVHU.js';import'../../_chunks/chunk-6PLO2VOU.js';import'../../_chunks/chunk-PGG4PIRO.js';import'../../_chunks/chunk-C4ZTNHLR.js';import'../../_chunks/chunk-IZLK35VJ.js';import'../../_chunks/chunk-J3CPRU2X.js';import'../../_chunks/chunk-IXZBLV5N.js';import'../../_chunks/chunk-JO7EW2A3.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-PEV5GRRD.js';import'../../_chunks/chunk-UZIT72EG.js';import'../../_chunks/chunk-FGZVDVG2.js';import'../../_chunks/chunk-MAPBEJDO.js';import'../../_chunks/chunk-ECXZJHTU.js';import'../../_chunks/chunk-CK64PBMR.js';import'../../_chunks/chunk-M6JX6YSB.js';import'../../_chunks/chunk-5VSOWOX2.js';import'../../_chunks/chunk-IUN4DEUF.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-Y2HHEHH2.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-DN3GVPG7.js';import'../../_chunks/chunk-NVNFBBM3.js';import'../../_chunks/chunk-AO5K32SU.js';import'../../_chunks/chunk-UFOU3EJK.js';import'../../_chunks/chunk-2J4W2CAI.js';import'../../_chunks/chunk-CWNDTPM5.js';import'../../_chunks/chunk-G5OEG7OX.js';import'../../_chunks/chunk-2QA5MXMV.js';import'../../_chunks/chunk-VTFUWYYT.js';import'../../_chunks/chunk-4FOFVTQ2.js';import'../../_chunks/chunk-DRBZWQC7.js';import'../../_chunks/chunk-LBQWWXKH.js';import'../../_chunks/chunk-HKFOCHKQ.js';import'../../_chunks/chunk-JNIXJXK3.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-JLL4EOYJ.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WindowProps } from './type';
|
|
3
|
-
declare
|
|
3
|
+
declare function Window({ children, titleBar, titleBarText, mainAppOrder, mainAppIsMinimized, showSectionsButton, rightActions, titleBarIcon, overflow, }: WindowProps): import("react").ReactPortal | null;
|
|
4
|
+
declare const _default: import("react").MemoExoticComponent<typeof Window>;
|
|
4
5
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { AppWindowProps } from './type';
|
|
3
|
-
declare
|
|
3
|
+
declare function AppWindow({ children, windowProps, ...props }: AppWindowProps): import("react").JSX.Element | null;
|
|
4
4
|
export default AppWindow;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{d as AccountHeaderTitle,j as AppWindow,a as AppWindowContext,b as AppWindowContextProvider,l as AppWindowHeader,k as AppWindowHeaderBase,c as FOOTER_HEIGHT,h as StyledFooter,i as StyledHideButton,e as StyledMenuLink,f as StyledSubmitButton,g as SubmitButtonWrapper,m as default}from'../../_chunks/chunk-
|
|
1
|
+
export{d as AccountHeaderTitle,j as AppWindow,a as AppWindowContext,b as AppWindowContextProvider,l as AppWindowHeader,k as AppWindowHeaderBase,c as FOOTER_HEIGHT,h as StyledFooter,i as StyledHideButton,e as StyledMenuLink,f as StyledSubmitButton,g as SubmitButtonWrapper,m as default}from'../../_chunks/chunk-VTFUWYYT.js';import'../../_chunks/chunk-4FOFVTQ2.js';import'../../_chunks/chunk-DRBZWQC7.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-JLL4EOYJ.js';import'../../_chunks/chunk-CZWXKHO7.js';export{so as LEFT_SIDEBAR_WIDTH,to as RIGHT_SIDEBAR_WIDTH,vo as VIEWER_HEIGHT,uo as VIEWER_WIDTH,ro as WINDOW_ANIMATION_DURATION}from'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -2,10 +2,4 @@ import { AppWindowProviderProps } from './context/type';
|
|
|
2
2
|
import { WindowProps } from './AppWindow/type';
|
|
3
3
|
export interface AppWindowProps extends AppWindowProviderProps {
|
|
4
4
|
windowProps?: Omit<WindowProps, 'children'>;
|
|
5
|
-
/**
|
|
6
|
-
* Portal a nested window into the enclosing window's root when `containerRef`
|
|
7
|
-
* is not provided. Defaults to `false` so existing windows keep their current
|
|
8
|
-
* portal target. An explicit `containerRef` always wins.
|
|
9
|
-
*/
|
|
10
|
-
inheritParentContainer?: boolean;
|
|
11
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as areaChartClassNames,b as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as areaChartClassNames,b as default}from'../../_chunks/chunk-LBQWWXKH.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import'../../_chunks/chunk-FQ2VMVUY.js';export{a as Autocomplete}from'../../_chunks/chunk-
|
|
1
|
+
import'../../_chunks/chunk-FQ2VMVUY.js';export{a as Autocomplete}from'../../_chunks/chunk-Y2HHEHH2.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as AVATAR_STACK_VARIANTS,d as AvatarStackItem,c as DEFAULT_AVATAR_STACK_VARIANT,a as avatarStackClassNames,e as default}from'../../_chunks/chunk-
|
|
1
|
+
export{b as AVATAR_STACK_VARIANTS,d as AvatarStackItem,c as DEFAULT_AVATAR_STACK_VARIANT,a as avatarStackClassNames,e as default}from'../../_chunks/chunk-IUN4DEUF.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-HKFOCHKQ.js';import'../../_chunks/chunk-JNIXJXK3.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as CardHeader,a as cardClassNames,b as default}from'../../_chunks/chunk-
|
|
1
|
+
export{c as CardHeader,a as cardClassNames,b as default}from'../../_chunks/chunk-NVNFBBM3.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-DN3GVPG7.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{rc as ColumnViewsMenu,oc as ColumnViewsPicker,qc as CreateViewDialog,mc as CustomViews,nc as DefaultViews,pc as ViewsDropdown,Ib as areAllColumnsSelected,Ob as areAllCurrentColumnsSelected,Rb as areColumnsEqual,Jb as areSomeColumnsSelected,Pb as areSomeCurrentColumnsSelected,hc as buildFullTemplateLayouts,fc as buildRequiredColumnView,pb as convertColumnsToLayoutSection,_b as convertTemplateToColumnsView,$b as convertTemplatesToColumnsView,xb as countCustomTemplates,yb as countCustomViewMenuItems,rb as createCustomViewMenuItem,Lb as deepCloneColumns,Eb as getColumnCheckState,Xb as getColumnOrder,ob as getColumnsByMode,dc as getLayoutCodesForMode,qb as getLayoutDataFromTemplates,ec as getOtherModeSectionCode,Wb as getSubmenuFromTemplateLayout,Bb as getSubmenuItems,Db as getSubmenuItemsForDisplay,tb as getTemplateRole,Yb as handleTemplateUpdate,gc as hasLayoutSectionForMode,Cb as hasSubmenu,Ub as initializeCreateColumns,Vb as initializeCreateColumnsWithCurrentState,Tb as initializeEditingColumns,cc as isCheckboxInteractionTarget,wb as isCustomTemplate,vb as isCustomView,lb as isDateColumn,mb as isIndexColumn,ub as isPresetView,Kb as isValidTemplateName,Ab as mapTemplatesToMenuItems,Qb as normalizeColumnsSelected,ac as replaceTemplateInList,Sb as resetColumnsToDefault,sb as setViewAsDefault,Zb as templateToViewMenuItem,Hb as toggleAllColumns,Nb as toggleAllCurrentColumns,Fb as toggleColumn,Mb as toggleSingleColumn,Gb as toggleSubItem,nb as transformLayoutToColumns,zb as transformTemplatesToViewMenuItems,bc as updateCurrentTemplate,lc as useCustomTableViews,kc as useSubmenuHover,ic as useViewsManager,jc as useViewsMenu}from'../../_chunks/chunk-
|
|
1
|
+
export{rc as ColumnViewsMenu,oc as ColumnViewsPicker,qc as CreateViewDialog,mc as CustomViews,nc as DefaultViews,pc as ViewsDropdown,Ib as areAllColumnsSelected,Ob as areAllCurrentColumnsSelected,Rb as areColumnsEqual,Jb as areSomeColumnsSelected,Pb as areSomeCurrentColumnsSelected,hc as buildFullTemplateLayouts,fc as buildRequiredColumnView,pb as convertColumnsToLayoutSection,_b as convertTemplateToColumnsView,$b as convertTemplatesToColumnsView,xb as countCustomTemplates,yb as countCustomViewMenuItems,rb as createCustomViewMenuItem,Lb as deepCloneColumns,Eb as getColumnCheckState,Xb as getColumnOrder,ob as getColumnsByMode,dc as getLayoutCodesForMode,qb as getLayoutDataFromTemplates,ec as getOtherModeSectionCode,Wb as getSubmenuFromTemplateLayout,Bb as getSubmenuItems,Db as getSubmenuItemsForDisplay,tb as getTemplateRole,Yb as handleTemplateUpdate,gc as hasLayoutSectionForMode,Cb as hasSubmenu,Ub as initializeCreateColumns,Vb as initializeCreateColumnsWithCurrentState,Tb as initializeEditingColumns,cc as isCheckboxInteractionTarget,wb as isCustomTemplate,vb as isCustomView,lb as isDateColumn,mb as isIndexColumn,ub as isPresetView,Kb as isValidTemplateName,Ab as mapTemplatesToMenuItems,Qb as normalizeColumnsSelected,ac as replaceTemplateInList,Sb as resetColumnsToDefault,sb as setViewAsDefault,Zb as templateToViewMenuItem,Hb as toggleAllColumns,Nb as toggleAllCurrentColumns,Fb as toggleColumn,Mb as toggleSingleColumn,Gb as toggleSubItem,nb as transformLayoutToColumns,zb as transformTemplatesToViewMenuItems,bc as updateCurrentTemplate,lc as useCustomTableViews,kc as useSubmenuHover,ic as useViewsManager,jc as useViewsMenu}from'../../_chunks/chunk-REMAOTWV.js';import'../../_chunks/chunk-DRWSBTEH.js';import'../../_chunks/chunk-MVWBQNBX.js';import'../../_chunks/chunk-F7TSJOX6.js';import'../../_chunks/chunk-YAO5SBRE.js';import'../../_chunks/chunk-UOERDOEI.js';import'../../_chunks/chunk-DFH5QS2C.js';import'../../_chunks/chunk-G3QDXDRW.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-3GA46JLW.js';import'../../_chunks/chunk-7GJMLJ2X.js';import'../../_chunks/chunk-XKMKTJWE.js';import'../../_chunks/chunk-JC7NZ5DQ.js';import'../../_chunks/chunk-5RPLYU74.js';import'../../_chunks/chunk-YLVW27RP.js';import'../../_chunks/chunk-7UHNYLD7.js';import'../../_chunks/chunk-2FRVCEJY.js';import'../../_chunks/chunk-IULAG2J7.js';import'../../_chunks/chunk-LLOK2FPM.js';import'../../_chunks/chunk-SPZGODAQ.js';import'../../_chunks/chunk-CAZWVRDN.js';import'../../_chunks/chunk-Q7C7A5RK.js';import'../../_chunks/chunk-PIO2RM2Z.js';import'../../_chunks/chunk-24X3BEJR.js';import'../../_chunks/chunk-6WVAYA6W.js';import'../../_chunks/chunk-OQA73I3Z.js';import'../../_chunks/chunk-6Q5NWGGT.js';import'../../_chunks/chunk-BDL56M7A.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-ACIQTR6D.js';import'../../_chunks/chunk-J2QN5EF5.js';import'../../_chunks/chunk-X26MSUES.js';import'../../_chunks/chunk-OGARNN6I.js';import'../../_chunks/chunk-IO5DNKRE.js';import'../../_chunks/chunk-RRBFJGS6.js';import'../../_chunks/chunk-LNEWGSQE.js';import'../../_chunks/chunk-SKJZPJBN.js';import'../../_chunks/chunk-ETTNSCF2.js';import'../../_chunks/chunk-6SBWV2KY.js';import'../../_chunks/chunk-IQUQQVHU.js';import'../../_chunks/chunk-6PLO2VOU.js';import'../../_chunks/chunk-PGG4PIRO.js';import'../../_chunks/chunk-C4ZTNHLR.js';import'../../_chunks/chunk-IZLK35VJ.js';import'../../_chunks/chunk-J3CPRU2X.js';import'../../_chunks/chunk-IXZBLV5N.js';import'../../_chunks/chunk-JO7EW2A3.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-PEV5GRRD.js';import'../../_chunks/chunk-UZIT72EG.js';import'../../_chunks/chunk-FGZVDVG2.js';import'../../_chunks/chunk-MAPBEJDO.js';import'../../_chunks/chunk-ECXZJHTU.js';import'../../_chunks/chunk-CK64PBMR.js';import'../../_chunks/chunk-M6JX6YSB.js';import'../../_chunks/chunk-5VSOWOX2.js';import'../../_chunks/chunk-IUN4DEUF.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-Y2HHEHH2.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-DN3GVPG7.js';import'../../_chunks/chunk-NVNFBBM3.js';import'../../_chunks/chunk-AO5K32SU.js';import'../../_chunks/chunk-UFOU3EJK.js';import'../../_chunks/chunk-2J4W2CAI.js';import'../../_chunks/chunk-CWNDTPM5.js';import'../../_chunks/chunk-G5OEG7OX.js';import'../../_chunks/chunk-2QA5MXMV.js';import'../../_chunks/chunk-VTFUWYYT.js';import'../../_chunks/chunk-4FOFVTQ2.js';import'../../_chunks/chunk-DRBZWQC7.js';import'../../_chunks/chunk-LBQWWXKH.js';import'../../_chunks/chunk-HKFOCHKQ.js';import'../../_chunks/chunk-JNIXJXK3.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-JLL4EOYJ.js';export{Bb as CUSTOM_VIEW,wb as DATE_COLUMN_CONFIG,Ab as DEFAULT_VIEW,Cb as DEFAULT_VIEW_OPTIONS,rb as DIALOG_HEIGHT,qb as DIALOG_WIDTH,vb as INDEX_COLUMN_CONFIG,sb as MAX_CUSTOM_VIEWS,tb as TEMPLATE_NAME_MAX_LENGTH,ub as TableViewColumnNames}from'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as ConfirmDialogProvider,a as useConfirm}from'../../_chunks/chunk-
|
|
1
|
+
export{b as ConfirmDialogProvider,a as useConfirm}from'../../_chunks/chunk-AO5K32SU.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as CountryFilter,b as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as CountryFilter,b as default}from'../../_chunks/chunk-ETTNSCF2.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-UFOU3EJK.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as currenciesMenuClassNames,b as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as currenciesMenuClassNames,b as default}from'../../_chunks/chunk-2J4W2CAI.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as currencyAmountClassNames,b as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as currencyAmountClassNames,b as default}from'../../_chunks/chunk-UZIT72EG.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as currencyAmountInputClassNames,b as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as currencyAmountInputClassNames,b as default}from'../../_chunks/chunk-FGZVDVG2.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-MAPBEJDO.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{Uc as DateFilter}from'../../_chunks/chunk-
|
|
1
|
+
export{Uc as DateFilter}from'../../_chunks/chunk-REMAOTWV.js';import'../../_chunks/chunk-DRWSBTEH.js';import'../../_chunks/chunk-MVWBQNBX.js';import'../../_chunks/chunk-F7TSJOX6.js';import'../../_chunks/chunk-YAO5SBRE.js';import'../../_chunks/chunk-UOERDOEI.js';import'../../_chunks/chunk-DFH5QS2C.js';import'../../_chunks/chunk-G3QDXDRW.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-3GA46JLW.js';import'../../_chunks/chunk-7GJMLJ2X.js';import'../../_chunks/chunk-XKMKTJWE.js';import'../../_chunks/chunk-JC7NZ5DQ.js';import'../../_chunks/chunk-5RPLYU74.js';import'../../_chunks/chunk-YLVW27RP.js';import'../../_chunks/chunk-7UHNYLD7.js';import'../../_chunks/chunk-2FRVCEJY.js';import'../../_chunks/chunk-IULAG2J7.js';import'../../_chunks/chunk-LLOK2FPM.js';import'../../_chunks/chunk-SPZGODAQ.js';import'../../_chunks/chunk-CAZWVRDN.js';import'../../_chunks/chunk-Q7C7A5RK.js';import'../../_chunks/chunk-PIO2RM2Z.js';import'../../_chunks/chunk-24X3BEJR.js';import'../../_chunks/chunk-6WVAYA6W.js';import'../../_chunks/chunk-OQA73I3Z.js';import'../../_chunks/chunk-6Q5NWGGT.js';import'../../_chunks/chunk-BDL56M7A.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-ACIQTR6D.js';import'../../_chunks/chunk-J2QN5EF5.js';import'../../_chunks/chunk-X26MSUES.js';import'../../_chunks/chunk-OGARNN6I.js';import'../../_chunks/chunk-IO5DNKRE.js';import'../../_chunks/chunk-RRBFJGS6.js';import'../../_chunks/chunk-LNEWGSQE.js';import'../../_chunks/chunk-SKJZPJBN.js';import'../../_chunks/chunk-ETTNSCF2.js';import'../../_chunks/chunk-6SBWV2KY.js';import'../../_chunks/chunk-IQUQQVHU.js';import'../../_chunks/chunk-6PLO2VOU.js';import'../../_chunks/chunk-PGG4PIRO.js';import'../../_chunks/chunk-C4ZTNHLR.js';import'../../_chunks/chunk-IZLK35VJ.js';import'../../_chunks/chunk-J3CPRU2X.js';import'../../_chunks/chunk-IXZBLV5N.js';import'../../_chunks/chunk-JO7EW2A3.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-PEV5GRRD.js';import'../../_chunks/chunk-UZIT72EG.js';import'../../_chunks/chunk-FGZVDVG2.js';import'../../_chunks/chunk-MAPBEJDO.js';import'../../_chunks/chunk-ECXZJHTU.js';import'../../_chunks/chunk-CK64PBMR.js';import'../../_chunks/chunk-M6JX6YSB.js';import'../../_chunks/chunk-5VSOWOX2.js';import'../../_chunks/chunk-IUN4DEUF.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-Y2HHEHH2.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-DN3GVPG7.js';import'../../_chunks/chunk-NVNFBBM3.js';import'../../_chunks/chunk-AO5K32SU.js';import'../../_chunks/chunk-UFOU3EJK.js';import'../../_chunks/chunk-2J4W2CAI.js';import'../../_chunks/chunk-CWNDTPM5.js';import'../../_chunks/chunk-G5OEG7OX.js';import'../../_chunks/chunk-2QA5MXMV.js';import'../../_chunks/chunk-VTFUWYYT.js';import'../../_chunks/chunk-4FOFVTQ2.js';import'../../_chunks/chunk-DRBZWQC7.js';import'../../_chunks/chunk-LBQWWXKH.js';import'../../_chunks/chunk-HKFOCHKQ.js';import'../../_chunks/chunk-JNIXJXK3.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-JLL4EOYJ.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as DEVICE_ICON,c as default,b as isDeviceIconShown}from'../../_chunks/chunk-
|
|
1
|
+
export{a as DEVICE_ICON,c as default,b as isDeviceIconShown}from'../../_chunks/chunk-ECXZJHTU.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{e as StyledIconForDropDown,d as StyledMenuTitle,b as StyledOption,a as StyledSelect,c as StyledSelectComponent,f as default}from'../../_chunks/chunk-
|
|
1
|
+
export{e as StyledIconForDropDown,d as StyledMenuTitle,b as StyledOption,a as StyledSelect,c as StyledSelectComponent,f as default}from'../../_chunks/chunk-CK64PBMR.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as default,a as emptyStateClassNames}from'../../_chunks/chunk-
|
|
1
|
+
export{b as default,a as emptyStateClassNames}from'../../_chunks/chunk-X26MSUES.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as default,a as errorToastClassNames}from'../../_chunks/chunk-
|
|
1
|
+
export{b as default,a as errorToastClassNames}from'../../_chunks/chunk-M6JX6YSB.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as FileDropbox,b as default,a as fileDropboxClassNames}from'../../_chunks/chunk-
|
|
1
|
+
export{b as FileDropbox,b as default,a as fileDropboxClassNames}from'../../_chunks/chunk-5VSOWOX2.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as FilePreview,b as default,a as filePreviewClassNames}from'../../_chunks/chunk-
|
|
1
|
+
export{b as FilePreview,b as default,a as filePreviewClassNames}from'../../_chunks/chunk-6SBWV2KY.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as FileUploader,b as default,a as fileUploaderClassNames}from'../../_chunks/chunk-
|
|
1
|
+
export{b as FileUploader,b as default,a as fileUploaderClassNames}from'../../_chunks/chunk-IQUQQVHU.js';import'../../_chunks/chunk-4Y2COEZC.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { FilterChipProps } from './type';
|
|
3
|
+
declare const _default: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<Readonly<FilterChipProps> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const filterChipClassNamePrefix: "os-shared-FilterChip";
|
|
2
|
+
export declare const filterChipClassNames: {
|
|
3
|
+
/** Gradient pill. Receives consumer `className` / `sx`. */
|
|
4
|
+
readonly root: "os-shared-FilterChip-root";
|
|
5
|
+
/** Ellipsized filter text. */
|
|
6
|
+
readonly label: "os-shared-FilterChip-label";
|
|
7
|
+
/** Circular dismiss (`X`) button. */
|
|
8
|
+
readonly dismissButton: "os-shared-FilterChip-dismissButton";
|
|
9
|
+
/** Dismiss (`X`) glyph. */
|
|
10
|
+
readonly dismissIcon: "os-shared-FilterChip-dismissIcon";
|
|
11
|
+
};
|
|
12
|
+
/** Joins array `value` when `label` is omitted. */
|
|
13
|
+
export declare const FILTER_CHIP_DEFAULT_SEPARATOR = ",";
|
|
14
|
+
/** Accessible name for the dismiss control when `dismissLabel` is omitted. */
|
|
15
|
+
export declare const FILTER_CHIP_DEFAULT_DISMISS_LABEL = "Dismiss filter";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { default } from './FilterChip';
|
|
2
|
+
export type { FilterChipClassNames, FilterChipProps, FilterChipSlotProps } from './type';
|
|
3
|
+
export { filterChipClassNames } from './constants';
|
|
4
|
+
export { FILTER_CHIP_DEFAULT_DISMISS_LABEL, FILTER_CHIP_DEFAULT_SEPARATOR } from './constants';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export{c as FILTER_CHIP_DEFAULT_DISMISS_LABEL,b as FILTER_CHIP_DEFAULT_SEPARATOR,d as default,a as filterChipClassNames}from'../../_chunks/chunk-6PLO2VOU.js';import'../../_chunks/chunk-CZWXKHO7.js';import'../../_chunks/chunk-2GSUGMI7.js';import'../../_chunks/chunk-ZDBICST5.js';
|