@tap-payments/os-micro-frontend-shared 0.3.240-test.31 → 0.3.241
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-MYQ54BZG.js → chunk-3T7G4PAY.js} +1 -1
- package/build/_chunks/{chunk-BS7VRTAV.js → chunk-3Z6ULCGA.js} +1 -1
- package/build/_chunks/{chunk-PJXOFZPW.js → chunk-52SSIU72.js} +1 -1
- package/build/_chunks/{chunk-EXLFOMSC.js → chunk-5H7MD7LO.js} +1 -1
- package/build/_chunks/{chunk-YO27LSWX.js → chunk-5WL77ZBM.js} +1 -1
- package/build/_chunks/{chunk-VBNMIWI4.js → chunk-6ASQZ2RI.js} +1 -1
- package/build/_chunks/{chunk-CSCIVTMM.js → chunk-6E2SGPTJ.js} +1 -1
- package/build/_chunks/{chunk-WL4X5KGY.js → chunk-6JLKJPL3.js} +1 -1
- package/build/_chunks/{chunk-3GXTVG5R.js → chunk-6RTZSBSD.js} +1 -1
- package/build/_chunks/{chunk-DJE254UH.js → chunk-6USHHZAA.js} +1 -1
- package/build/_chunks/{chunk-2MPXMNN4.js → chunk-7DMSRKG7.js} +1 -1
- package/build/_chunks/{chunk-HTLVX3G5.js → chunk-7FWE55BT.js} +1 -1
- package/build/_chunks/{chunk-YNKTXBPM.js → chunk-7PLZT2KW.js} +1 -1
- package/build/_chunks/{chunk-WGDRJVXR.js → chunk-7R6GKSYQ.js} +1 -1
- package/build/_chunks/{chunk-KO4LEPWI.js → chunk-7THWDMHL.js} +1 -1
- package/build/_chunks/chunk-AVTZV3J7.js +1 -0
- package/build/_chunks/{chunk-5QFR3DWY.js → chunk-B5TZKBR5.js} +1 -1
- package/build/_chunks/{chunk-4WDB6GQY.js → chunk-BA5OFEBT.js} +1 -1
- package/build/_chunks/{chunk-UQYYABJO.js → chunk-BMSJV3FH.js} +1 -1
- package/build/_chunks/{chunk-XCJECLRL.js → chunk-BQWD3KO4.js} +1 -1
- package/build/_chunks/{chunk-WD56ABUM.js → chunk-BUPWQI3W.js} +1 -1
- package/build/_chunks/{chunk-ZTP3WQBJ.js → chunk-CWNHOUN5.js} +1 -1
- package/build/_chunks/{chunk-5I5M4Y2L.js → chunk-D23EYDCG.js} +1 -1
- package/build/_chunks/{chunk-NOW327WP.js → chunk-ECBP7JZ6.js} +1 -1
- package/build/_chunks/{chunk-QDQKI2OP.js → chunk-EGFHFXWK.js} +1 -1
- package/build/_chunks/{chunk-P4MC3PFJ.js → chunk-EJ2GRPAY.js} +1 -1
- package/build/_chunks/{chunk-GZUDPTKY.js → chunk-FWPVRT34.js} +1 -1
- package/build/_chunks/{chunk-6KP3OKV3.js → chunk-G3QKYZM2.js} +1 -1
- package/build/_chunks/{chunk-SJDVKG2Q.js → chunk-GEJI7SEX.js} +1 -1
- package/build/_chunks/{chunk-Z4JLH4XB.js → chunk-GLTYG62E.js} +1 -1
- package/build/_chunks/{chunk-KLSGCSDA.js → chunk-GP7PBSOF.js} +1 -1
- package/build/_chunks/{chunk-KID3D7KU.js → chunk-GRKRA3TP.js} +1 -1
- package/build/_chunks/chunk-GUXJEFPL.js +2 -0
- package/build/_chunks/{chunk-XKDYZ4ZM.js → chunk-HWDODLOQ.js} +1 -1
- package/build/_chunks/{chunk-YL3FUXQI.js → chunk-I6RRJ7ME.js} +1 -1
- package/build/_chunks/{chunk-6PWHIZFE.js → chunk-I7KBFAH7.js} +1 -1
- package/build/_chunks/chunk-J7R6JFXM.js +1 -0
- package/build/_chunks/{chunk-LA7X2KPG.js → chunk-JCFOE4DQ.js} +1 -1
- package/build/_chunks/{chunk-WDZGN64W.js → chunk-JG5OM35T.js} +1 -1
- package/build/_chunks/{chunk-3QTAQRMI.js → chunk-JI5U3KGK.js} +1 -1
- package/build/_chunks/{chunk-YICDAFBX.js → chunk-KDRRRYZL.js} +1 -1
- package/build/_chunks/{chunk-BTR5PD6Y.js → chunk-KTFIN54Q.js} +1 -1
- package/build/_chunks/{chunk-GMQ53XVP.js → chunk-KVC3QSDQ.js} +1 -1
- package/build/_chunks/chunk-L7L22FDR.js +1 -0
- package/build/_chunks/chunk-LFBTKZ3V.js +1 -0
- package/build/_chunks/{chunk-M4DEHVYL.js → chunk-LOFKIY7J.js} +1 -1
- package/build/_chunks/{chunk-6CXB2LE2.js → chunk-LXD5Y42H.js} +1 -1
- package/build/_chunks/{chunk-4TXOJ4LP.js → chunk-MFZ3F3JQ.js} +1 -1
- package/build/_chunks/{chunk-JCOZG4PE.js → chunk-MXQFATMM.js} +1 -1
- package/build/_chunks/{chunk-MVKLLCHM.js → chunk-NPCTL2R7.js} +1 -1
- package/build/_chunks/{chunk-6KU44WGR.js → chunk-OBK62FOF.js} +1 -1
- package/build/_chunks/{chunk-4E4TCT4G.js → chunk-OMISGJLX.js} +1 -1
- package/build/_chunks/{chunk-TKYWVFNH.js → chunk-QDW7GZN6.js} +1 -1
- package/build/_chunks/{chunk-K473J5UJ.js → chunk-QHK62NO3.js} +1 -1
- package/build/_chunks/{chunk-5IWE2PGQ.js → chunk-QLF4C46U.js} +1 -1
- package/build/_chunks/{chunk-7DIB47I7.js → chunk-QLXQSDL7.js} +1 -1
- package/build/_chunks/{chunk-UVDVSMDQ.js → chunk-QWWU4QAA.js} +1 -1
- package/build/_chunks/{chunk-7PWNYYUK.js → chunk-R6Y42OPH.js} +1 -1
- package/build/_chunks/chunk-RE3HH2T6.js +2 -0
- package/build/_chunks/{chunk-R4CAXMKG.js → chunk-S4ZHXBPB.js} +1 -1
- package/build/_chunks/{chunk-CXPYYHID.js → chunk-SR3UFTU3.js} +1 -1
- package/build/_chunks/{chunk-EGWCKYZW.js → chunk-SYEHTDS6.js} +1 -1
- package/build/_chunks/{chunk-A5QRZLTA.js → chunk-TDFNWFK7.js} +1 -1
- package/build/_chunks/{chunk-GMOL7KWH.js → chunk-U2PXB4YH.js} +1 -1
- package/build/_chunks/{chunk-BT4OV2QN.js → chunk-V4YG7AP4.js} +1 -1
- package/build/_chunks/chunk-VNHVDZKL.js +1 -0
- package/build/_chunks/{chunk-3D6B42L2.js → chunk-VV5IC3DP.js} +1 -1
- package/build/_chunks/{chunk-UEXZDSF2.js → chunk-WZQR2LCT.js} +1 -1
- package/build/_chunks/{chunk-3HWDXRKR.js → chunk-X5HJKL6O.js} +1 -1
- package/build/_chunks/{chunk-BMBJPVOW.js → chunk-YNOCNDOA.js} +1 -1
- package/build/_chunks/{chunk-JEVXGACR.js → chunk-ZEQDF7FG.js} +1 -1
- package/build/components/ActionsDropdownMenu/index.js +1 -1
- package/build/components/ActiveFilterChip/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/index.js +1 -1
- 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/AvatarStack/style.d.ts +1 -1
- package/build/components/Calender/index.js +1 -1
- package/build/components/ColorPicker/index.js +1 -1
- package/build/components/ColumnViews/index.js +1 -1
- package/build/components/ColumnViews/styles.d.ts +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/DateFilter.d.ts +6 -15
- 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/FilterDropdown/index.js +1 -1
- package/build/components/Filters/index.js +1 -1
- package/build/components/FlippingCard/index.js +1 -1
- package/build/components/FlippingCard/style.d.ts +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/IconWithBadge/index.js +1 -1
- package/build/components/ImageWrapper/ImageWrapper.d.ts +2 -2
- 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 +4 -4
- package/build/components/JSONViewer/index.js +1 -1
- package/build/components/JSONViewer/style.d.ts +2 -2
- package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
- package/build/components/LeftPeekRightExpandingChip/style.d.ts +3 -3
- package/build/components/ListColumnFilter/index.js +1 -1
- package/build/components/ListHeader/index.js +1 -1
- package/build/components/ListHeader/types.d.ts +4 -15
- 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/RangeCalender.d.ts +1 -1
- package/build/components/RangeCalender/components/Timezone/Timezone.d.ts +6 -6
- package/build/components/RangeCalender/components/Timezone/components/EntitiesTimezone.d.ts +5 -5
- package/build/components/RangeCalender/components/Timezone/components/UserTimezone.d.ts +5 -5
- package/build/components/RangeCalender/index.js +1 -1
- package/build/components/RangeCalender/type.d.ts +4 -27
- package/build/components/RangeCalender/utils.d.ts +1 -11
- 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/RightLeftExpandingCenterChip/style.d.ts +13 -13
- package/build/components/SearchButton/index.js +1 -1
- package/build/components/SearchButton/styles.d.ts +2 -2
- 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/AuthIcons/style.d.ts +2 -2
- package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +1 -1
- package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +6 -6
- package/build/components/StatusIcons/SourceIcons/style.d.ts +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/AgreementCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/DateCell/DateCell.d.ts +1 -8
- package/build/components/TableCells/CustomCells/DateCell/DateViewer.d.ts +1 -5
- package/build/components/TableCells/CustomCells/DueDateCell/DueDateCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/DueDateCell/type.d.ts +0 -6
- package/build/components/TableCells/CustomCells/DueDateCell/utils.d.ts +3 -4
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/InvoiceStatusCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/InvoiceStatusCell/type.d.ts +0 -6
- package/build/components/TableCells/CustomCells/PayoutDateCell/PayoutDateCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/PayoutReportCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +5 -5
- package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/RefundStatusCell.d.ts +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/components/RefundStatus.d.ts +1 -1
- package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +2 -2
- package/build/components/TableCells/CustomCells/RefundStatusCell/type.d.ts +2 -6
- package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +6 -6
- package/build/components/TableCells/CustomCells/index.d.ts +0 -1
- package/build/components/TableCells/CustomCells/style.d.ts +1 -1
- package/build/components/TableCells/CustomCells/type.d.ts +2 -8
- package/build/components/TableCells/index.js +1 -1
- package/build/components/TableReports/components/DownloadButton/style.d.ts +1 -1
- package/build/components/TableReports/index.js +1 -1
- package/build/components/TableReports/style.d.ts +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/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 +0 -1
- package/build/components/index.js +1 -1
- package/build/components/primitives/Backdrop/style.d.ts +1 -0
- package/build/components/primitives/Backdrop/type.d.ts +15 -1
- package/build/components/primitives/index.js +1 -1
- package/build/constants/timezones.d.ts +0 -12
- package/build/hooks/index.js +1 -1
- package/build/index.js +1 -1
- package/build/types/appConfig.d.ts +0 -4
- package/build/types/day.d.ts +0 -2
- package/build/utils/date.d.ts +16 -33
- package/build/utils/index.js +1 -1
- package/build/utils/localStorage.d.ts +0 -2
- package/build/utils/payout.d.ts +3 -4
- package/build/utils/timezone.d.ts +0 -7
- package/package.json +2 -8
- package/build/_chunks/chunk-2NGD5ZN6.js +0 -1
- package/build/_chunks/chunk-4PIM52J3.js +0 -2
- package/build/_chunks/chunk-5FBYWZ3H.js +0 -2
- package/build/_chunks/chunk-O7HXFCBN.js +0 -1
- package/build/_chunks/chunk-OWIQBLU3.js +0 -1
- package/build/_chunks/chunk-OY44HMKS.js +0 -1
- package/build/_chunks/chunk-YAYRJE52.js +0 -1
- package/build/_chunks/chunk-ZKTR2WPD.js +0 -1
- package/build/components/CustomBackdrop/CustomBackdrop.d.ts +0 -5
- package/build/components/CustomBackdrop/index.d.ts +0 -2
- package/build/components/CustomBackdrop/index.js +0 -1
- package/build/components/CustomBackdrop/style.d.ts +0 -4
- package/build/components/TableCells/CustomCells/ZonedDateCell/ZonedDateCell.d.ts +0 -33
- package/build/components/TableCells/CustomCells/ZonedDateCell/index.d.ts +0 -2
- package/build/components/TableCells/CustomCells/utils.d.ts +0 -6
- package/build/datetime/index.d.ts +0 -9
- package/build/datetime/index.js +0 -1
- package/build/datetime/instant.d.ts +0 -73
- package/build/datetime/zone.d.ts +0 -31
|
@@ -1 +1 @@
|
|
|
1
|
-
import {v}from'./chunk-
|
|
1
|
+
import {v}from'./chunk-GUXJEFPL.js';import {Bc,Ba,Ca}from'./chunk-L7L22FDR.js';import {Eb,Vc}from'./chunk-GCJPCGH3.js';import mo,{useId,useState,useRef,useCallback,useEffect,useMemo}from'react';import B from'@mui/material/Box';import uo from'@mui/material/ClickAwayListener';import ro from'@mui/material/Stack';import Y from'@mui/material/Typography';import {styled,alpha}from'@mui/material/styles';import O from'@mui/material/Button';import lo from'@mui/material/TextField';import po from'@mui/material/MenuList';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {useTranslation}from'react-i18next';import {RgbColorPicker,RgbaColorPicker}from'react-colorful';import fo from'@mui/material/Popper';import J from'@mui/material/MenuItem';import j from'@mui/material/InputAdornment';import v$1 from'color';import {Popper}from'@mui/material';var G=styled("button")({background:"transparent",border:"none",padding:0,margin:0,cursor:"pointer",width:10,height:10,display:"flex",justifyContent:"center",alignItems:"center","&:disabled, &.Mui-disabled":{opacity:.5,cursor:"not-allowed"}}),D=styled(B)(({theme:o})=>({boxShadow:"0px 8px 30px rgba(0, 0, 0, 0.16)",width:264,backgroundColor:"#ffffff",padding:"12px",borderRadius:o.spacing(1),"& .react-colorful":{width:"100%","&__saturation":{minHeight:152,borderRadius:"4px",marginBottom:o.spacing(2),border:0,"&-pointer":{width:13,height:13}},"&__hue":{borderRadius:"4px",height:"8px","&-pointer":{width:10,height:10}},"&__alpha":{marginTop:o.spacing(2),marginBottom:0,border:0,borderRadius:"4px",height:"8px","&-pointer":{width:10,height:10}}}})),V=styled(B)(()=>({display:"flex",gap:"8px",justifyContent:"flex-end"})),X=styled(o=>jsx(Y,{...o,component:"button"}))(({theme:o})=>({fontWeight:500,fontSize:"9px",color:o.palette.info.dark,textDecoration:"underline",cursor:"pointer",background:"transparent",border:"none",padding:0,margin:0,"&:disabled, &.Mui-disabled":{color:alpha(o.palette.info.dark,.5),textDecoration:"none"},"&:hover":{textDecoration:"none"}})),$=styled(O)(({theme:o})=>({textTransform:"capitalize",minWidth:"auto",width:74,borderRadius:"4px",border:`1px solid ${o.palette.info.dark}`,backgroundColor:o.palette.info.dark,fontWeight:700,fontSize:"11px",color:o.palette.common.white,"&:hover":{backgroundColor:o.palette.info.dark}})),U=styled(O)(({theme:o})=>({textTransform:"capitalize",minWidth:"auto",width:74,borderRadius:"4px",border:`1px solid ${o.palette.divider}`,backgroundColor:o.palette.common.white,fontWeight:500,fontSize:"11px",color:o.palette.text.primary,"&:hover":{background:"transparent"}})),Z=styled(B,{shouldForwardProp:o=>o!=="active"})(({theme:o,active:s})=>({display:"flex",justifyContent:"space-between",alignItems:"center",color:o.palette.text.primary,border:"1px solid #F2F2F2",fontSize:12,fontWeight:500,backgroundColor:"transparent",padding:"4px 8px",borderRadius:"4px",minWidth:70,cursor:"pointer",...s&&{border:"1px solid #1F88D0",boxShadow:"0px 0px 4px 0px #1F88D080"}})),q=styled(po)({backgroundColor:"#ffffff",borderRadius:"4px",boxShadow:"0px 8px 30px 0px #00000029",minWidth:70,"& .MuiMenuItem-root":{fontSize:12,fontWeight:500,padding:"4px 8px"}}),x=styled(lo)(({theme:o})=>({"& .MuiOutlinedInput-root":{fontSize:"12px",fontWeight:500,borderRadius:"4px","& input":{padding:"4px","&::-webkit-outer-spin-button, &::-webkit-inner-spin-button":{WebkitAppearance:"none",margin:0},"&[type=number]":{MozAppearance:"textfield"}},"& .MuiOutlinedInput-notchedOutline":{borderColor:o.palette.divider,borderWidth:"1px"},"&:hover, &.Mui-focused":{"& .MuiOutlinedInput-notchedOutline":{borderColor:o.palette.divider,borderWidth:"1px"}}}}));var ho=({scheme:o,setScheme:s})=>{let[n,r]=mo.useState(null),m=!!n,a=useCallback(c=>{r(n?null:c.currentTarget);},[n]),i=useCallback(()=>{r(null);},[]),d=useCallback(c=>{i(),s(c);},[i,s]);return jsxs(Fragment,{children:[jsxs(Z,{component:"button",active:m,onClick:a,children:[o,jsx(B,{component:"img",sx:{transform:m?"rotateZ(180deg)":"rotateZ(0)",transition:"200ms transform ease-out"},src:Vc})]}),jsx(fo,{anchorEl:n,open:!!n,placement:"bottom",disablePortal:true,keepMounted:true,modifiers:[{name:"offset",options:{offset:[0,4]}}],children:jsx(uo,{onClickAway:c=>{n?.contains(c.target)||i();},children:jsxs(q,{children:[jsx(J,{onClick:()=>d("RGB"),children:"RGB"}),jsx(J,{onClick:()=>d("HEX"),children:"HEX"})]})})})]})},K=ho;var Ro=({value:o,onChange:s,disableAlpha:n=false})=>{let[r,m]=useState(o),{r:a,g:i,b:d,a:c}=r;useEffect(()=>{m(o);},[o]);let u=useCallback((l,f)=>(isNaN(l)&&(l=0),l<0&&(l=0),l>f&&(l=f),console.log("num",l),l),[]),t=useCallback((l,f)=>P=>{m({...r,[l]:u(+P.target.value,f)});},[r,u]),e=useCallback((l,f)=>{s({...r,[l]:u(r[l],f)});},[s,r,u]);return jsxs(ro,{direction:"row",spacing:1,...n&&{flex:1},children:[jsx(x,{type:"number",value:a,onBlur:()=>e("r",255),onChange:t("r",255),inputProps:{min:0,max:255,style:{textAlign:"center"}},variant:"outlined",size:"small",...n&&{sx:{flex:1}}}),jsx(x,{type:"number",value:i,onBlur:()=>e("g",255),onChange:t("g",255),inputProps:{min:0,max:255,style:{textAlign:"center"}},variant:"outlined",size:"small",...n&&{sx:{flex:1}}}),jsx(x,{type:"number",value:d,onBlur:()=>e("b",255),onChange:t("b",255),inputProps:{min:0,max:255,style:{textAlign:"center"}},variant:"outlined",size:"small",...n&&{sx:{flex:1}}}),!n&&jsx(x,{type:"number",value:c,onBlur:()=>e("a",100),onChange:t("a",100),inputProps:{min:0,max:100,style:{textAlign:"center"}},variant:"outlined",sx:{"& .MuiOutlinedInput-root":{pr:1}},InputProps:{endAdornment:jsx(j,{position:"end",sx:{m:0},children:jsx(Y,{component:"span",display:"inline-block",fontSize:12,fontWeight:500,children:"%"})})},size:"small"})]})},Q=Ro;var vo=({value:o,onChange:s,disableAlpha:n=false})=>{let r=useMemo(()=>v$1.rgb(o.r,o.g,o.b,o.a).hex().replace("#",""),[o]),[m,a]=useState(r),i=Math.round(o.a*100);return useEffect(()=>{let t=v$1.rgb(o.r,o.g,o.b).hex().replace("#","");a(t);},[o.r,o.g,o.b]),jsxs(ro,{direction:"row",spacing:1,alignItems:"flex-start",children:[jsx(x,{value:m,onChange:t=>{let e=t.target.value.replace(/[^0-9a-fA-F]/g,"").toUpperCase();e.length>6&&(e=e.slice(0,6)),a(e);},onBlur:()=>{let t=m;if(t.length===3&&(t=t.split("").map(e=>e+e).join(""),a(t)),t.length===6)try{let e=v$1(`#${t}`).alpha(o.a);s({r:e.red(),g:e.green(),b:e.blue(),a:e.alpha()});}catch{a(r);}else a(r);},placeholder:"FFFFFF",sx:{flex:1.4,"& .MuiOutlinedInput-root":{pl:1}},InputProps:{startAdornment:jsx(j,{position:"start",sx:{m:0},children:jsx(Y,{component:"span",color:t=>alpha(t.palette.text.primary,.5),display:"inline-block",fontSize:12,fontWeight:500,children:"#"})})}}),!n&&jsx(x,{type:"number",value:i,onChange:t=>{let e=parseInt(t.target.value,10);isNaN(e)&&(e=0),e<0&&(e=0),e>100&&(e=100),s({...o,a:e/100});},inputProps:{min:0,max:100},sx:{flex:.8,"& .MuiOutlinedInput-root":{pr:1}},InputProps:{endAdornment:jsx(j,{position:"end",sx:{m:0},children:jsx(Y,{component:"span",color:"text.primary",display:"inline-block",fontSize:12,fontWeight:500,children:"%"})})}})]})},oo=vo;var Wo=({initialValue:o="#ffffff",onCancel:s,onConfirm:n,disableAlpha:r=false})=>{let[m,a]=useState("RGB"),[i,d]=useState(()=>{let{alpha:p,...y}=Ba(o).value;return {...y,a:p}}),{t:c}=useTranslation(),u=useCallback(()=>{let{alpha:p,...y}=Ba(o).value;d({...y,a:p}),s();},[o,s]),t=useCallback(()=>{let{a:p,...y}=i;n(Ca({...y,alpha:r?1:p}));},[i,n,r]),e=useCallback(p=>{d(r?{...p,a:1}:p);},[r]),l=useCallback(p=>{d({...p,a:p.a/100});},[]),f=useCallback(p=>{d({...p,a:p.a});},[]);return jsxs(D,{className:"color-picker__widget",children:[jsx(r?RgbColorPicker:RgbaColorPicker,{color:i,onChange:e}),jsxs(ro,{mt:2,spacing:1,direction:"row",children:[jsx(K,{scheme:m,setScheme:a}),m==="RGB"?jsx(Q,{value:{...i,a:Math.round(i.a*100)},onChange:l,disableAlpha:r}):jsx(oo,{value:{...i,a:i.a},onChange:f,disableAlpha:r})]}),jsx(v,{sx:{my:"12px"}}),jsxs(V,{className:"color-picker__widget-actions",children:[jsx(U,{className:"color-picker__widget-actions__cancel",onClick:u,children:c("cancel")}),jsx($,{className:"color-picker__widget-actions__confirm",onClick:t,children:c("okay")})]})]})},to=Wo;var no={hideReset:false,disableAlpha:false},Vo=({value:o="#ffffff",onChange:s,onReset:n,sx:r,options:m=no,disabled:a=false})=>{let i=Bc(useId(),"color-picker"),[d,c]=useState(null),{disableAlpha:u=false,hideReset:t=false}={...no,...m},e=useRef(null),l=useCallback(()=>{a||c(e.current);},[a]),f=useCallback(()=>{a||c(null);},[a]),P=useCallback(p=>{s(u?p.substring(0,7):p),c(null);},[s,u]);return jsx(uo,{onClickAway:()=>c(null),children:jsxs(ro,{ref:e,id:i,"data-testid":"ColorPicker",bgcolor:"grey.400",borderRadius:"4px",p:"4px",pr:"12px",direction:"row",justifyContent:"space-between",spacing:1,alignItems:"center",className:"color-picker",sx:r,children:[jsxs(ro,{direction:"row",spacing:1,alignItems:"center",className:"color-picker__controls-wrapper",children:[jsx(B,{borderRadius:"5px",width:32,height:32,sx:{backgroundColor:o},className:"color-picker__viewer"}),jsxs(B,{className:"color-picker__actions-wrapper",children:[jsx(Y,{className:"color-picker__label",fontWeight:500,fontSize:9,color:"text.primary",textTransform:"uppercase",children:o}),jsx(X,{className:"color-picker__edit-btn",type:"button",onClick:l,disabled:a,children:"Edit"})]})]}),t?jsx("div",{}):jsx(G,{className:"color-picker__close-btn",type:"button",disabled:a,onClick:n,children:jsx(B,{component:"img",src:Eb,width:10,height:10})}),jsx(Popper,{anchorEl:d,open:!!d,placement:"top",children:jsx(to,{initialValue:o,onCancel:f,onConfirm:P,disableAlpha:u})})]})})},ao=Vo;var ot=ao;export{ot as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {j}from'./chunk-
|
|
1
|
+
import {j}from'./chunk-GUXJEFPL.js';import {Ia,nc}from'./chunk-L7L22FDR.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {L,K,j}from'./chunk-
|
|
1
|
+
import {L,K,j}from'./chunk-GUXJEFPL.js';import {xa,Ia,l,nc}from'./chunk-L7L22FDR.js';import {forwardRef,useState,useMemo,memo}from'react';import V from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs,Fragment}from'react/jsx-runtime';var r="os-shared-CurrencyAmountInput",t={root:`${r}-root`,field:`${r}-field`,display:`${r}-display`,integer:`${r}-integer`,separator:`${r}-separator`,decimal:`${r}-decimal`};var N=styled(V)(({theme:e})=>({color:e.v2.palette.foreground.primary,border:`1px solid ${e.v2.palette.border.default}`,padding:e.v2.spacing(8),borderRadius:e.v2.radius(4),display:"flex",alignItems:"center",justifyContent:"flex-end",width:93,height:32,textAlign:"right",input:{fontSize:"11px",border:"none",color:e.v2.palette.foreground.primary,height:30,padding:0,textAlign:"right"}})),I=styled(L)(({theme:e})=>({flexGrow:1,maxWidth:"100%",padding:0,border:"none",backgroundColor:"transparent",borderRadius:"none",height:24,[`& .${K.input}`]:{padding:0},input:{textAlign:"right",width:"100%",fontWeight:e.v2.typography.fontWeightRegular}})),b=styled(j)(({theme:e})=>({...e.v2.typography.textVariants.body.small.bold,display:"inline-flex",alignItems:"center",whiteSpace:"nowrap",overflow:"auto"})),v=styled("span")(({theme:e})=>({fontWeight:e.v2.typography.fontWeightRegular}));var q=xa(),D=forwardRef(({amount:e,setAmount:u,maxAmount:l$1,isError:R,placeholder:E,selectedCurrency:p,id:o,className:k,sx:P,...B},M)=>{let[W,m]=useState(false),[c,S]=useState(e||""),{integerAmount:F,decimalAmount:d}=Ia(e,p?.code?.english),K=useMemo(()=>l(p?.decimals),[p]),T=n=>{let i=Number(n.target.value)||0;if(l$1&&i>l$1)return false;S(i),u(i);},H=()=>{m(false),u(Number(c));},L=n=>{q&&isNaN(Number(n.key))&&n.key!=="Backspace"&&n.key!=="."&&n.preventDefault();};return jsx(N,{id:o,"data-testid":o??"CurrencyAmountInput",className:nc(t.root,k),sx:P,...B,children:W?jsx(I,{ref:M,id:o,className:t.field,type:"number",placeholder:E??K,value:c,onChange:T,onBlur:H,onKeyDown:L,error:!!R,inputProps:{step:"0.01"},hideArrows:true,autoFocus:true,disableFocusRing:true}):jsxs(b,{id:o?`${o}-display`:void 0,"data-testid":o?`${o}-display`:"CurrencyAmount",className:t.display,component:"span",onClick:()=>{m(true);},children:[jsx("span",{className:t.integer,children:F}),d?jsxs(Fragment,{children:[jsx("span",{className:t.separator,children:"."}),jsx(v,{className:t.decimal,children:d})]}):null]})})});D.displayName="CurrencyAmountInput";var J=memo(D);export{t as a,J as b};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Bc}from'./chunk-ZKTR2WPD.js';import {useId,useState,useRef,useCallback,useMemo,useEffect,useLayoutEffect}from'react';import {motion,AnimatePresence,useMotionValue,animate}from'framer-motion';import zt from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var x=3,ft=styled(motion.div)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",gap:0,minWidth:0,height:"auto",lineHeight:1,position:"relative",zIndex:1001,fontSize:"12px",color:t.palette.text.primary})),ht=styled(motion.div)(()=>({display:"inline-flex"})),ut=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),gt=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),tt=styled(motion.div)(({side:t})=>({position:"absolute",display:"flex",alignItems:"center",...t==="left"?{right:"100%",flexDirection:"row-reverse",transformOrigin:"right center"}:{},...t==="right"?{left:"100%",flexDirection:"row",transformOrigin:"left center"}:{},top:"50%",transform:"translateY(-50%)",gap:0,pointerEvents:"auto",overflow:"visible"})),et=styled("div")(({side:t})=>({position:"absolute",top:0,bottom:0,...t==="left"?{right:"100%"}:{left:"100%"},pointerEvents:"auto",background:"transparent"})),xt=styled(motion.div)(()=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",height:24,overflow:"visible"})),j=t=>({border:`1px solid ${t.palette.divider}`,borderRadius:"12px",backgroundColor:t.palette.background.paper,paddingInline:"8px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:1,fontSize:12,boxSizing:"border-box",whiteSpace:"nowrap",overflow:"visible"}),mt=styled(motion.div)(({theme:t})=>({...j(t),position:"relative",zIndex:2,minWidth:24,flex:"0 0 auto",display:"inline-flex",overflow:"hidden",willChange:"transform"})),Ct=styled(motion.span)(()=>({display:"inline-flex",alignItems:"center",transform:"translateZ(0)"})),nt=styled(motion.span)(({theme:t})=>({display:"inline-flex",whiteSpace:"nowrap",overflow:"hidden",boxSizing:"border-box",willChange:"width",border:`1px solid ${t.palette.divider}`,backgroundColor:t.palette.background.paper,height:"24px",alignItems:"center",paddingInline:"0px"})),it=styled(motion.span)(()=>({display:"inline-flex",whiteSpace:"nowrap",alignItems:"center",height:"100%"})),yt=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",left:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),Et=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",right:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),rt=styled(motion.div)(({theme:t})=>({...j(t),minWidth:24,flex:"0 0 auto",display:"inline-flex"})),vt=styled(zt)(()=>({position:"relative",overflow:"visible",zIndex:101,display:"flex",alignItems:"center",justifyContent:"center",minHeight:"20px"}));var L=24;function Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}){let[l,P]=useState(false),[r,q]=useState({left:0,right:0}),[c,G]=useState([]),[d,X]=useState([]),[f,J]=useState(0),[b,Y]=useState(0),m=useRef(null),k=useRef(null),z=useRef(null),M=useRef(null),A=useRef([]),O=useRef([]),T=useRef(null),$=useRef(null),I=useRef(null),w=useCallback((e,i)=>{if(e===i)return true;if(e.length!==i.length)return false;for(let a=0;a<e.length;a++)if(e[a]!==i[a])return false;return true},[]),D=useCallback((e,i)=>e.left===i.left&&e.right===i.right,[]),g=useMotionValue(0),n=useMotionValue(0),N=useMotionValue(0),C=useMemo(()=>{if(!c.length)return [];let e=[],i=x+c[0]/2;e.push(i);for(let a=1;a<c.length;a++)i+=c[a-1]/2+x+c[a]/2,e.push(i);return e},[c]),y=useMemo(()=>{if(!d.length)return [];let e=[],i=x+d[0]/2;e.push(i);for(let a=1;a<d.length;a++)i+=d[a-1]/2+x+d[a]/2,e.push(i);return e},[d]),Lt=l&&h?f:0,K=l&&u?b:0,at=h?f:0,Wt=useCallback(()=>{m.current&&clearTimeout(m.current),P(true);},[]),St=useCallback(()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>P(false),120);},[]),_=useCallback(()=>{let e=k.current,i=M.current,a=z.current,Q=r;if(e){let R=e.getBoundingClientRect(),Z=(i??a)?.getBoundingClientRect();if(Z){let Pt=Math.round(Z.left-R.left),kt=Math.round(Z.right-R.left);Q={left:Pt,right:kt};}}let st=A.current.map(R=>R?R.offsetWidth:L),lt=O.current.map(R=>R?R.offsetWidth:L),pt=T.current?.scrollWidth??0,ct=$.current?.scrollWidth??0;D(r,Q)||q(Q),w(c,st)||G(st),w(d,lt)||X(lt),f!==pt&&J(pt),b!==ct&&Y(ct);},[r,c,d,f,b,D,w]),B=useCallback(()=>{I.current&&cancelAnimationFrame(I.current),I.current=requestAnimationFrame(()=>{_();});},[_]);useEffect(()=>()=>{m.current&&clearTimeout(m.current);},[]),useLayoutEffect(()=>{_();},[H,t,v,h,u,_]),useEffect(()=>(B(),window.addEventListener("resize",B),()=>{window.removeEventListener("resize",B),I.current&&cancelAnimationFrame(I.current);}),[B]),useEffect(()=>{let i=animate(g,l&&h?f:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,h,f,g]),useEffect(()=>{let i=animate(n,l&&u?b:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,u,b,n]);let wt=useMemo(()=>{if(!C.length)return 0;let e=C.length-1,i=c[e]??L;return C[e]+i/2+K+x},[C,c,K]),Ht=useMemo(()=>{if(!y.length)return 0;let e=y.length-1,i=d[e]??L;return at+y[e]+i/2+x},[y,d,at]);return {isHovering:l,handleMouseEnter:Wt,handleMouseLeave:St,centerWrapRef:k,centerContentRef:z,centerChipRef:M,anchors:r,leftChipRefs:A,rightChipRefs:O,leftOffsets:C,rightOffsets:y,expandableRightInnerRef:T,expandableLeftInnerRef:$,expandableRightWidth:f,expandableLeftWidth:b,expandedRightMV:g,expandedLeftMV:n,shiftX:N,rightShift:Lt,leftShift:K,leftHoverWidth:wt,rightHoverWidth:Ht}}function Ot({leftIcons:t=[],rightIcons:v=[],centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u,expandedZIndex:l=1e3,...P}){let{isHovering:r,handleMouseEnter:q,handleMouseLeave:c,centerWrapRef:G,centerContentRef:d,centerChipRef:X,anchors:f,leftChipRefs:J,rightChipRefs:b,leftOffsets:Y,rightOffsets:m,expandableRightInnerRef:k,expandableLeftInnerRef:z,expandedRightMV:M,expandedLeftMV:A,shiftX:O,rightShift:T,leftShift:$,leftHoverWidth:I,rightHoverWidth:w}=Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}),D=Bc(useId(),"right-left-expanding-center-chip");return jsx(vt,{...P,id:D,"data-testid":"RightLeftExpandingCenterChipBox",children:jsx(ht,{"data-testid":"CenterShiftWrapper",initial:false,style:{x:O},children:jsxs(ft,{"data-testid":"CenterIconWrapper",ref:G,onMouseLeave:c,children:[jsxs(xt,{"data-testid":"PeekContainer",children:[jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(yt,{"data-testid":"LeftPeekChip",initial:{opacity:0,scale:.95,x:-4},animate:r?{opacity:0,scale:.9,x:-6}:{opacity:1,scale:1,x:-5},exit:{opacity:0,scale:.95,x:-4},transition:{duration:.18,ease:"easeOut"}},"left-peek")}),jsx(mt,{"data-testid":"CenterChip",ref:X,onMouseEnter:q,style:{borderRadius:(()=>{let g=u&&r,n=h&&r;return g&&n?"0":g?"0 12px 12px 0":n?"12px 0 0 12px":"12px"})(),borderLeft:u&&r?"none":void 0,borderRight:h&&r?"none":void 0},children:jsx(Ct,{"data-testid":"CenterContent",ref:d,children:H})}),u&&jsx(nt,{"data-testid":"ExpandableLeftContainer",style:{width:A,position:"absolute",right:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"12px 0 0 12px",borderRight:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableLeftInner",ref:z,children:u})}),h&&jsx(nt,{"data-testid":"ExpandableRightContainer",style:{width:M,position:"absolute",left:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"0 12px 12px 0",borderLeft:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableRightInner",ref:k,children:h})}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(Et,{"data-testid":"RightPeekChip",initial:{opacity:0,scale:.95,x:4},animate:r?{opacity:0,scale:.9,x:6}:{opacity:1,scale:1,x:5},exit:{opacity:0,scale:.95,x:4},transition:{duration:.18,ease:"easeOut"}},"right-peek")})]}),r&&t.length>0&&jsx(et,{"data-testid":"LeftHoverBridge",side:"left",style:{width:I,right:`calc(100% - ${f.left}px)`,zIndex:l,pointerEvents:"auto"}}),r&&v.length>0&&jsx(et,{"data-testid":"RightHoverBridge",side:"right",style:{width:w,left:`${f.right}px`,zIndex:l,pointerEvents:"auto"}}),jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(tt,{"data-testid":"LeftExpandedSection",side:"left",style:{right:`calc(100% - ${f.left}px)`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:t.map((g,n)=>{let C=(Y[n]??(L+x)*(n+1))+$;return jsx(ut,{"data-testid":`LeftExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:-C}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(t.length-n)},children:jsx(rt,{"data-testid":`LeftExpandChip-${n}`,ref:y=>J.current[n]=y,children:g})},`left-${n}`)})},"left-expanded")}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(tt,{"data-testid":"RightExpandedSection",side:"right",style:{left:`${f.right}px`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:v.map((g,n)=>{let N=m[n]??(L+x)*(n+1),C=T;return jsx(gt,{"data-testid":`RightExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:C+N}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(v.length-n)},children:jsx(rt,{"data-testid":`RightExpandChip-${n}`,ref:y=>b.current[n]=y,children:g})},`right-${n}`)})},"right-expanded")})]})})})}var Tt=Ot;export{Tt as a};
|
|
1
|
+
import {Bc}from'./chunk-L7L22FDR.js';import {useId,useState,useRef,useCallback,useMemo,useEffect,useLayoutEffect}from'react';import {motion,AnimatePresence,useMotionValue,animate}from'framer-motion';import zt from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var x=3,ft=styled(motion.div)(({theme:t})=>({display:"flex",alignItems:"center",justifyContent:"center",gap:0,minWidth:0,height:"auto",lineHeight:1,position:"relative",zIndex:1001,fontSize:"12px",color:t.palette.text.primary})),ht=styled(motion.div)(()=>({display:"inline-flex"})),ut=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),gt=styled(motion.span)(({theme:t})=>({position:"static",display:"inline-flex",alignItems:"center",justifyContent:"center",width:0,overflow:"visible",margin:0,padding:0,fontSize:"10px",lineHeight:1,color:t.palette.text.secondary,userSelect:"none"})),tt=styled(motion.div)(({side:t})=>({position:"absolute",display:"flex",alignItems:"center",...t==="left"?{right:"100%",flexDirection:"row-reverse",transformOrigin:"right center"}:{},...t==="right"?{left:"100%",flexDirection:"row",transformOrigin:"left center"}:{},top:"50%",transform:"translateY(-50%)",gap:0,pointerEvents:"auto",overflow:"visible"})),et=styled("div")(({side:t})=>({position:"absolute",top:0,bottom:0,...t==="left"?{right:"100%"}:{left:"100%"},pointerEvents:"auto",background:"transparent"})),xt=styled(motion.div)(()=>({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",height:24,overflow:"visible"})),j=t=>({border:`1px solid ${t.palette.divider}`,borderRadius:"12px",backgroundColor:t.palette.background.paper,paddingInline:"8px",height:"24px",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:1,fontSize:12,boxSizing:"border-box",whiteSpace:"nowrap",overflow:"visible"}),mt=styled(motion.div)(({theme:t})=>({...j(t),position:"relative",zIndex:2,minWidth:24,flex:"0 0 auto",display:"inline-flex",overflow:"hidden",willChange:"transform"})),Ct=styled(motion.span)(()=>({display:"inline-flex",alignItems:"center",transform:"translateZ(0)"})),nt=styled(motion.span)(({theme:t})=>({display:"inline-flex",whiteSpace:"nowrap",overflow:"hidden",boxSizing:"border-box",willChange:"width",border:`1px solid ${t.palette.divider}`,backgroundColor:t.palette.background.paper,height:"24px",alignItems:"center",paddingInline:"0px"})),it=styled(motion.span)(()=>({display:"inline-flex",whiteSpace:"nowrap",alignItems:"center",height:"100%"})),yt=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",left:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),Et=styled(motion.div)(({theme:t})=>({...j(t),position:"absolute",right:0,zIndex:1,pointerEvents:"none",minWidth:24,paddingInline:0})),rt=styled(motion.div)(({theme:t})=>({...j(t),minWidth:24,flex:"0 0 auto",display:"inline-flex"})),vt=styled(zt)(()=>({position:"relative",overflow:"visible",zIndex:101,display:"flex",alignItems:"center",justifyContent:"center",minHeight:"20px"}));var L=24;function Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}){let[l,P]=useState(false),[r,q]=useState({left:0,right:0}),[c,G]=useState([]),[d,X]=useState([]),[f,J]=useState(0),[b,Y]=useState(0),m=useRef(null),k=useRef(null),z=useRef(null),M=useRef(null),A=useRef([]),O=useRef([]),T=useRef(null),$=useRef(null),I=useRef(null),w=useCallback((e,i)=>{if(e===i)return true;if(e.length!==i.length)return false;for(let a=0;a<e.length;a++)if(e[a]!==i[a])return false;return true},[]),D=useCallback((e,i)=>e.left===i.left&&e.right===i.right,[]),g=useMotionValue(0),n=useMotionValue(0),N=useMotionValue(0),C=useMemo(()=>{if(!c.length)return [];let e=[],i=x+c[0]/2;e.push(i);for(let a=1;a<c.length;a++)i+=c[a-1]/2+x+c[a]/2,e.push(i);return e},[c]),y=useMemo(()=>{if(!d.length)return [];let e=[],i=x+d[0]/2;e.push(i);for(let a=1;a<d.length;a++)i+=d[a-1]/2+x+d[a]/2,e.push(i);return e},[d]),Lt=l&&h?f:0,K=l&&u?b:0,at=h?f:0,Wt=useCallback(()=>{m.current&&clearTimeout(m.current),P(true);},[]),St=useCallback(()=>{m.current&&clearTimeout(m.current),m.current=setTimeout(()=>P(false),120);},[]),_=useCallback(()=>{let e=k.current,i=M.current,a=z.current,Q=r;if(e){let R=e.getBoundingClientRect(),Z=(i??a)?.getBoundingClientRect();if(Z){let Pt=Math.round(Z.left-R.left),kt=Math.round(Z.right-R.left);Q={left:Pt,right:kt};}}let st=A.current.map(R=>R?R.offsetWidth:L),lt=O.current.map(R=>R?R.offsetWidth:L),pt=T.current?.scrollWidth??0,ct=$.current?.scrollWidth??0;D(r,Q)||q(Q),w(c,st)||G(st),w(d,lt)||X(lt),f!==pt&&J(pt),b!==ct&&Y(ct);},[r,c,d,f,b,D,w]),B=useCallback(()=>{I.current&&cancelAnimationFrame(I.current),I.current=requestAnimationFrame(()=>{_();});},[_]);useEffect(()=>()=>{m.current&&clearTimeout(m.current);},[]),useLayoutEffect(()=>{_();},[H,t,v,h,u,_]),useEffect(()=>(B(),window.addEventListener("resize",B),()=>{window.removeEventListener("resize",B),I.current&&cancelAnimationFrame(I.current);}),[B]),useEffect(()=>{let i=animate(g,l&&h?f:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,h,f,g]),useEffect(()=>{let i=animate(n,l&&u?b:0,{duration:.2,ease:"easeOut"});return ()=>i.stop()},[l,u,b,n]);let wt=useMemo(()=>{if(!C.length)return 0;let e=C.length-1,i=c[e]??L;return C[e]+i/2+K+x},[C,c,K]),Ht=useMemo(()=>{if(!y.length)return 0;let e=y.length-1,i=d[e]??L;return at+y[e]+i/2+x},[y,d,at]);return {isHovering:l,handleMouseEnter:Wt,handleMouseLeave:St,centerWrapRef:k,centerContentRef:z,centerChipRef:M,anchors:r,leftChipRefs:A,rightChipRefs:O,leftOffsets:C,rightOffsets:y,expandableRightInnerRef:T,expandableLeftInnerRef:$,expandableRightWidth:f,expandableLeftWidth:b,expandedRightMV:g,expandedLeftMV:n,shiftX:N,rightShift:Lt,leftShift:K,leftHoverWidth:wt,rightHoverWidth:Ht}}function Ot({leftIcons:t=[],rightIcons:v=[],centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u,expandedZIndex:l=1e3,...P}){let{isHovering:r,handleMouseEnter:q,handleMouseLeave:c,centerWrapRef:G,centerContentRef:d,centerChipRef:X,anchors:f,leftChipRefs:J,rightChipRefs:b,leftOffsets:Y,rightOffsets:m,expandableRightInnerRef:k,expandableLeftInnerRef:z,expandedRightMV:M,expandedLeftMV:A,shiftX:O,rightShift:T,leftShift:$,leftHoverWidth:I,rightHoverWidth:w}=Rt({leftIcons:t,rightIcons:v,centerIcon:H,expandableCenterRight:h,expandableCenterLeft:u}),D=Bc(useId(),"right-left-expanding-center-chip");return jsx(vt,{...P,id:D,"data-testid":"RightLeftExpandingCenterChipBox",children:jsx(ht,{"data-testid":"CenterShiftWrapper",initial:false,style:{x:O},children:jsxs(ft,{"data-testid":"CenterIconWrapper",ref:G,onMouseLeave:c,children:[jsxs(xt,{"data-testid":"PeekContainer",children:[jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(yt,{"data-testid":"LeftPeekChip",initial:{opacity:0,scale:.95,x:-4},animate:r?{opacity:0,scale:.9,x:-6}:{opacity:1,scale:1,x:-5},exit:{opacity:0,scale:.95,x:-4},transition:{duration:.18,ease:"easeOut"}},"left-peek")}),jsx(mt,{"data-testid":"CenterChip",ref:X,onMouseEnter:q,style:{borderRadius:(()=>{let g=u&&r,n=h&&r;return g&&n?"0":g?"0 12px 12px 0":n?"12px 0 0 12px":"12px"})(),borderLeft:u&&r?"none":void 0,borderRight:h&&r?"none":void 0},children:jsx(Ct,{"data-testid":"CenterContent",ref:d,children:H})}),u&&jsx(nt,{"data-testid":"ExpandableLeftContainer",style:{width:A,position:"absolute",right:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"12px 0 0 12px",borderRight:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableLeftInner",ref:z,children:u})}),h&&jsx(nt,{"data-testid":"ExpandableRightContainer",style:{width:M,position:"absolute",left:"100%",top:0,height:"24px",zIndex:1,opacity:r?1:0,pointerEvents:r?"auto":"none",borderRadius:"0 12px 12px 0",borderLeft:"none"},initial:false,transition:{duration:.2,ease:"easeOut"},children:jsx(it,{"data-testid":"ExpandableRightInner",ref:k,children:h})}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(Et,{"data-testid":"RightPeekChip",initial:{opacity:0,scale:.95,x:4},animate:r?{opacity:0,scale:.9,x:6}:{opacity:1,scale:1,x:5},exit:{opacity:0,scale:.95,x:4},transition:{duration:.18,ease:"easeOut"}},"right-peek")})]}),r&&t.length>0&&jsx(et,{"data-testid":"LeftHoverBridge",side:"left",style:{width:I,right:`calc(100% - ${f.left}px)`,zIndex:l,pointerEvents:"auto"}}),r&&v.length>0&&jsx(et,{"data-testid":"RightHoverBridge",side:"right",style:{width:w,left:`${f.right}px`,zIndex:l,pointerEvents:"auto"}}),jsx(AnimatePresence,{initial:false,children:t.length>0&&jsx(tt,{"data-testid":"LeftExpandedSection",side:"left",style:{right:`calc(100% - ${f.left}px)`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:t.map((g,n)=>{let C=(Y[n]??(L+x)*(n+1))+$;return jsx(ut,{"data-testid":`LeftExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:-C}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(t.length-n)},children:jsx(rt,{"data-testid":`LeftExpandChip-${n}`,ref:y=>J.current[n]=y,children:g})},`left-${n}`)})},"left-expanded")}),jsx(AnimatePresence,{initial:false,children:v.length>0&&jsx(tt,{"data-testid":"RightExpandedSection",side:"right",style:{left:`${f.right}px`,top:"50%",position:"absolute",pointerEvents:r?"auto":"none",zIndex:l},initial:{opacity:0,x:0,y:"-50%"},animate:r?{opacity:1,x:0,y:"-50%"}:{opacity:0,x:0,y:"-50%"},exit:{opacity:0,x:0,y:"-50%"},transition:{duration:.25,ease:"easeOut"},children:v.map((g,n)=>{let N=m[n]??(L+x)*(n+1),C=T;return jsx(gt,{"data-testid":`RightExpandIcon-${n}`,initial:{opacity:0,x:0},animate:r?{opacity:1,x:C+N}:{opacity:0,x:0},exit:{opacity:0,x:0},transition:{duration:.25+n*.04,ease:"easeOut"},style:{zIndex:l+(v.length-n)},children:jsx(rt,{"data-testid":`RightExpandChip-${n}`,ref:y=>b.current[n]=y,children:g})},`right-${n}`)})},"right-expanded")})]})})})}var Tt=Ot;export{Tt as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {d,r as r$1}from'./chunk-
|
|
1
|
+
import {d,r as r$1}from'./chunk-GUXJEFPL.js';import {nc}from'./chunk-L7L22FDR.js';import {Rd,We}from'./chunk-GCJPCGH3.js';import {forwardRef,useMemo,memo}from'react';import {styled}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var c="os-shared-Logo",r={root:`${c}-root`,skeleton:`${c}-skeleton`},x="logo";var N=styled(d)(({theme:n})=>({borderRadius:"50%",backgroundColor:n.palette.common.white}));var C=forwardRef(({className:n,sx:I,id:s,src:o,width:i=24,height:f=24,isError:e,isLoading:R,fallback:t,alt:w=x},P)=>{let m=useMemo(()=>typeof o!="string"&&!!o?.type?.includes("application/pdf"),[o]),g=useMemo(()=>o?typeof o=="string"?o:(window.URL?URL:webkitURL).createObjectURL(o):"",[o]),U=useMemo(()=>e||!o?typeof t=="string"&&t?t:Rd:m?We:g,[o,t,e,m,g]);return R?jsx(r$1,{variant:"circular",width:i,height:f,className:r.skeleton,"data-testid":s??"Logo"}):(e||!o)&&t!==void 0&&typeof t!="string"?jsx(Fragment,{children:t}):jsx(N,{ref:P,id:s,"data-testid":s??"Logo",alt:w,src:U,className:nc(r.root,n),sx:{width:i,height:f,objectFit:m&&o&&!e?"none":"contain",...I}})});C.displayName="Logo";var v=memo(C);export{r as a,v as b};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {j}from'./chunk-
|
|
1
|
+
import {j}from'./chunk-GUXJEFPL.js';import {nc}from'./chunk-L7L22FDR.js';import {forwardRef,memo}from'react';import {jsxs,jsx}from'react/jsx-runtime';import S from'@mui/material/Box';import {styled}from'@mui/material/styles';var l="os-shared-Alert",r={root:`${l}-root`,icon:`${l}-icon`,message:`${l}-message`},p={error:e=>({color:e.v2.palette.error[500],background:e.v2.palette.status.danger.subtle}),warning:e=>({color:e.v2.palette.warning[500],background:e.v2.palette.status.warning.subtle}),success:e=>({color:e.v2.palette.success[700],background:e.v2.palette.status.success.subtle}),info:e=>({color:e.v2.palette.brand[500],background:e.v2.palette.interactive.primary.subtle})};var C=()=>jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:jsx("path",{d:"M6 12C9.30838 12 12 9.30838 12 6C12 2.69162 9.30838 -2.35309e-07 6 -5.24537e-07C2.69162 -8.13764e-07 8.13764e-07 2.69162 5.24537e-07 6C2.35309e-07 9.30838 2.69162 12 6 12ZM6 11.1C3.17801 11.1 0.9 8.82198 0.9 6C0.9 3.17802 3.17802 0.899999 6 0.899999C8.82199 0.899999 11.1 3.17802 11.1 6C11.1 8.82198 8.82198 11.1 6 11.1ZM6 9C6.15913 9 6.31174 8.93679 6.42426 8.82426C6.53679 8.71174 6.6 8.55913 6.6 8.4C6.6 8.24087 6.53679 8.08826 6.42426 7.97574C6.31174 7.86321 6.15913 7.8 6 7.8C5.84087 7.8 5.68826 7.86321 5.57574 7.97574C5.46321 8.08826 5.4 8.24087 5.4 8.4C5.4 8.55913 5.46321 8.71174 5.57574 8.82426C5.68826 8.93679 5.84087 9 6 9ZM6.00703 6.90644C6.12628 6.90458 6.23991 6.85546 6.32296 6.76988C6.40602 6.6843 6.45171 6.56925 6.45 6.45L6.45 3.15C6.45084 3.09037 6.43983 3.03116 6.41759 2.97583C6.39535 2.92049 6.36234 2.87013 6.32047 2.82766C6.2786 2.7852 6.22871 2.75148 6.17369 2.72846C6.11868 2.70544 6.05964 2.69359 6 2.69359C5.94036 2.69359 5.88132 2.70544 5.82631 2.72846C5.77129 2.75148 5.7214 2.7852 5.67953 2.82766C5.63766 2.87013 5.60465 2.92049 5.58241 2.97583C5.56017 3.03116 5.54916 3.09037 5.55 3.15L5.55 6.45C5.54914 6.51023 5.56037 6.57002 5.58304 6.62583C5.60571 6.68163 5.63935 6.73232 5.68197 6.77489C5.72459 6.81745 5.77533 6.85103 5.83116 6.87363C5.887 6.89623 5.9468 6.90739 6.00703 6.90644Z",fill:"currentColor"})}),d=()=>jsx("svg",{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:jsx("path",{d:"M9.63285 0.429835C9.54018 0.432536 9.45219 0.471196 9.38752 0.537631L3.21672 6.70844L0.614302 4.10602C0.581421 4.07177 0.542037 4.04443 0.498457 4.0256C0.454877 4.00676 0.407977 3.99681 0.360503 3.99633C0.313029 3.99585 0.265937 4.00484 0.221983 4.02279C0.178029 4.04073 0.138097 4.06727 0.104526 4.10084C0.0709555 4.13441 0.0444206 4.17434 0.0264755 4.21829C0.00853037 4.26225 -0.000464234 4.30934 1.8446e-05 4.35681C0.000501126 4.40429 0.0104514 4.45119 0.0292865 4.49477C0.0481216 4.53835 0.0754629 4.57773 0.109709 4.61061L2.96442 7.46533C3.03134 7.53222 3.12209 7.5698 3.21672 7.5698C3.31134 7.5698 3.40209 7.53222 3.46901 7.46533L9.89212 1.04222C9.9436 0.992086 9.97874 0.927576 9.99295 0.857134C10.0072 0.786693 9.99978 0.713603 9.97176 0.647428C9.94374 0.581254 9.8964 0.525079 9.83593 0.486255C9.77546 0.447431 9.70468 0.427767 9.63285 0.429835Z",fill:"currentColor"})}),m=()=>jsx("svg",{width:"12",height:"11",viewBox:"0 0 12 11",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",children:jsx("path",{d:"M6 7.5V5.5M6 3.5H6.005M11 5.5C11 8.26142 8.76142 10.5 6 10.5C3.23858 10.5 1 8.26142 1 5.5C1 2.73858 3.23858 0.5 6 0.5C8.76142 0.5 11 2.73858 11 5.5Z",stroke:"currentColor",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})});var g=styled(S,{shouldForwardProp:e=>e!=="$severity"})(({theme:e,$severity:s})=>({...p[s](e),display:"flex",alignItems:"center",gap:e.v2.spacing(4),minHeight:e.v2.spacing(32),padding:e.v2.spacing(8),borderRadius:e.v2.radius(4)})),f=styled("span")({width:12,height:12,flexShrink:0,display:"inline-flex",alignItems:"center",justifyContent:"center","& svg":{width:12,height:12,display:"block"}}),u=styled(j)({color:"inherit",wordBreak:"break-word"});function k(e){switch(e){case "success":return jsx(d,{});case "info":return jsx(m,{});case "error":case "warning":return jsx(C,{})}}var y=forwardRef(({severity:e="error",message:s,icon:v,className:h,sx:w,id:i,...A},x)=>jsxs(g,{ref:x,...A,$severity:e,className:nc(r.root,h),sx:w,id:i,"data-testid":i??"Alert",children:[jsx(f,{className:r.icon,children:v??k(e)}),jsx(u,{component:"p",textVariant:"body.xsmall.regular",className:r.message,children:s})]}));y.displayName="Alert";var M=memo(y);
|
|
2
2
|
export{r as a,M as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {n}from'./chunk-QWWU4QAA.js';import {p,B,d,r}from'./chunk-GUXJEFPL.js';import {_b,Bc,Mb}from'./chunk-L7L22FDR.js';import {Ve,hm,Ze,Ij,Xe,Ye}from'./chunk-GCJPCGH3.js';import {memo,useCallback,useState,useId,useReducer,useEffect}from'react';import {useTranslation}from'react-i18next';import {motion,AnimatePresence}from'framer-motion';import Vo from'@mui/material/CircularProgress';import U from'@mui/material/LinearProgress';import Qo from'@mui/material/Popper';import $ from'dayjs';import {styled,Box,alpha,CircularProgress}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';import {styled as styled$1}from'@mui/material/styles';var no=styled(motion.div,{shouldForwardProp:o=>!["notificationState","open","loading","ready","failed"].includes(o)})(({theme:o,notificationState:n,open:a,loading:r,ready:p,failed:t})=>({position:"relative",border:`1px solid ${o.palette.divider}`,padding:"0 8px",height:32,borderRadius:"4px",display:"flex",alignItems:"center",overflow:"hidden",fontSize:"11px",fontWeight:500,color:o.palette.text.primary,transition:"width 2s ease-in-out",cursor:"pointer",...(n?.success||n?.failed)&&!r&&!p&&!t&&{"&:after":{content:'""',width:7,height:7,backgroundColor:n?.failed?o.palette.common.red:o.palette.success.dark,borderRadius:"50%",position:"absolute",top:5,border:`1px solid ${o.palette.common.white}`,right:6}},...a&&{border:`1px solid ${o.palette.info.dark}`,boxShadow:o.shadows[7]}})),io=styled(Box)(()=>({position:"relative"})),ao=styled(Box)(({theme:o})=>({background:o.palette.common.white,boxShadow:o.shadows[9],borderRadius:"4px",marginTop:"8px"})),po=styled(Box)(({theme:o})=>({background:o.palette.background.transparent[2],backdropFilter:"blur(2px)",color:o.palette.text.primary,fontSize:"11px",fontWeight:500,height:31,textAlign:"center",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",overflow:"hidden",borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px"})),so=styled(Box)(({theme:o})=>({display:"flex",alignItems:"center",gap:"8px",padding:"5.5px 8px",minHeight:48,height:"auto",borderBottom:`1px solid ${o.palette.divider}`,cursor:"pointer","&:hover":{boxShadow:o.shadows[3]}})),lo=styled("img")(()=>({width:16,height:16,objectFit:"contain",flexShrink:0,display:"block"})),co=styled(Box)(()=>({display:"flex",flexDirection:"column",gap:"2px"})),mo=styled(Box)(()=>({display:"flex",alignItems:"center",justifyContent:"space-between",flex:1})),uo=styled(Box)(({theme:o})=>({fontSize:"11px",color:o.palette.text.primary,fontWeight:500,wordBreak:"break-all",paddingInlineEnd:"8px"})),fo=styled(Box)(({theme:o})=>({fontSize:"9px",color:o.palette.text.textSecondary,fontWeight:600})),go=styled(Box)(({theme:o})=>({display:"flex",alignItems:"center",gap:"8px",height:32,padding:"4px 8px",borderBottom:`1px solid ${o.palette.divider}`,cursor:"pointer","&:hover":{boxShadow:o.shadows[3]}})),xo=styled(Box)(({theme:o})=>({fontSize:"11px",color:o.palette.text.primary,fontWeight:400,textTransform:"uppercase"})),T=styled(Box)(({theme:o})=>({borderTop:`2px solid ${o.palette.divider}`})),M=styled(Box)(({theme:o})=>({position:"absolute",bottom:0,right:0,left:0,".MuiLinearProgress-root":{backgroundColor:o.palette.divider,height:2},".MuiLinearProgress-bar":{background:o.palette.background.gradient.shadedBlue},"&.done .MuiLinearProgress-bar":{background:o.palette.success.dark},"&.failed .MuiLinearProgress-bar":{background:o.palette.common.red}})),u=styled(Box)(({theme:o})=>({display:"flex",alignItems:"center",gap:"8px",".MuiCircularProgress-root":{width:"14px !important",height:"14px !important",display:"flex"},".MuiCircularProgress-circle":{strokeWidth:"1.017px",stroke:alpha(o.palette.common.black,.62)}})),I=styled(Box)(()=>({position:"relative"})),P=styled(Box)(({theme:o})=>({position:"absolute",color:o.palette.common.black,fontSize:"7.875px",fontWeight:700,width:14,height:14,display:"flex",alignItems:"center",justifyContent:"center"})),k=styled("img")(()=>({width:14,height:14})),Do=styled(Box)(()=>({display:"flex",flexDirection:"row",alignItems:"center",gap:"8px",padding:"8px"}));var yo=o=>{let n=new Date,a=$(o).isSame(n,"year"),r={sameDay:"DD MMM, YYYY",nextDay:"DD MMM, YYYY",lastDay:"DD MMM, YYYY",sameElse:"DD MMM, YYYY",lastWeek:"DD MMM, YYYY",nextWeek:"DD MMM, YYYY"};return a&&(r={sameDay:"DD MMM",nextDay:"DD MMM",lastDay:"DD MMM",sameElse:"DD MMM",lastWeek:"DD MMM",nextWeek:"DD MMM"}),$(o).calendar(null,r)},Ro=(o,n)=>{let a=new Date().toISOString().split("T")[0],r=n??`file_${a}`,t=/\.(xlx|xlsx|csv|txt|doc|docx|pdf|jpg|png|gif|zip|rar)$/i.exec(o),c=t?t[0]:".csv";return `${r}${c}`};var A={loading:false,success:false,error:null},Wo=(o=A,n)=>{switch(n.type){case "RESET":return A;case "LOADING":return {...o,loading:true};case "SUCCESS":return {...o,success:true};case "ERROR":return {...o,error:n.error};default:return o}},C=({onDownload:o})=>{let n$1=n(),[{loading:a,error:r,success:p},t]=useReducer(Wo,A),c=useCallback(()=>t({type:"LOADING"}),[]),m=useCallback(()=>t({type:"SUCCESS"}),[]),D=useCallback(l=>t({type:"ERROR",error:l}),[]),h=useCallback(()=>t({type:"RESET"}),[]);useEffect(()=>{(p||r)&&setTimeout(()=>{h();},3e3);},[p,r,h]);let L=useCallback(()=>{o&&(c(),o().then(l=>{m(),Mb(l.url,Ro(l.result_file,l.id));}).catch(l=>{D(l),n$1.error(l?.response?.data?.error?.message||l?.message||"Failed to download report");}));},[o,c,m,D]);return {loading:a,error:r,success:p,handleDownloadReport:L}};function No({onDownload:o}){let{loading:n,error:a,success:r,handleDownloadReport:p}=C({onDownload:o});return n?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsx(u,{children:jsxs(I,{children:[jsx(P,{children:"1"}),jsx(CircularProgress,{})]})})}):r?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsx(u,{children:jsx(k,{src:Ze,alt:"done"})})}):a?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsx(u,{children:jsx(k,{src:Ij,alt:"failed"})})}):jsx(k,{onClick:p,src:Xe,alt:"reports"})}var Y=No;function O(){return jsxs(Do,{children:[jsx(r,{width:"16px",height:"16px",variant:"rectangular"}),jsx(r,{width:"100%",variant:"text"}),jsx(r,{width:"12px",height:"12px",variant:"circular"})]})}function Uo({reports:o,isLoading:n=false,onDownloadReport:a}){let r=useCallback(t=>a?a(t):Promise.reject(new Error("No download report function provided")),[a]),p=o.map(t=>{let c=$(t.created_at).isBefore($().subtract(1,"day")),m=_b(t.result_file);return jsxs(so,{children:[jsx(lo,{src:m,alt:"download"}),jsxs(mo,{children:[jsxs(co,{children:[jsx(uo,{children:t.result_file}),jsx(fo,{children:c?yo(new Date(t.created_at)):$(new Date(t.created_at)).fromNow()})]}),jsx(Y,{onDownload:()=>r(t.id)})]})]},t.id)});return n?jsxs(T,{children:[jsx(O,{}),jsx(O,{})]}):jsx(T,{children:p})}var ho=memo(Uo);function Jo(o){let{progress:n,reportsQueryResult:a,isStatusReady:r,isStatusFailed:p$1,isLoading:t,notificationState:c,onOpenDropdown:m,onRequestReportFile:D,onOpenReportsApp:h,hideOpenReportsApp:L=false,onDownloadReport:l,customContent:Mo}=o,[H,G]=useState(null),{t:w}=useTranslation(),E=!!H,{data:Io,isLoading:Po}=a,ko=useCallback(F=>{t||r||(m?.(),G(F.currentTarget));},[t,r,m]),y=useCallback(()=>{G(null);},[]),Co=useCallback(()=>{t||(y(),D?.());},[t,y,D]),Bo=F=>{F.stopPropagation(),h?.(),y();},Lo=()=>t?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsxs(u,{children:[jsxs(I,{children:[jsx(P,{children:"1"}),jsx(Vo,{})]}),jsx("span",{children:w("preparing")}),jsx(M,{children:jsx(U,{variant:"determinate",value:n})})]})}):r?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsxs(u,{children:[jsx("img",{src:Ze,alt:"done"}),jsx("span",{children:w("ready")}),jsx(M,{className:"done",children:jsx(U,{variant:"determinate",value:100})})]})}):p$1?jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsxs(u,{children:[jsx("img",{src:Ij,alt:"failed"}),jsx("span",{children:w("failed")}),jsx(M,{className:"failed",children:jsx(U,{variant:"determinate",value:100})})]})}):jsx("img",{src:Ye,alt:"reports"});return jsxs(io,{"data-testid":"TableReports_ReportsWrapper",children:[jsx(AnimatePresence,{children:jsx(p,{title:w("reports"),children:jsx(no,{"data-testid":"TableReports_ExportButton",onClick:ko,notificationState:c,open:E,loading:t,ready:r,failed:p$1,sx:{...(t||r||p$1)&&{borderBottom:"none"}},initial:{width:"auto"},transition:{duration:.25},children:Lo()})})}),E&&jsx(B,{onClick:y}),jsx(Qo,{open:E,anchorEl:H,placement:"bottom-end",children:jsxs(ao,{sx:{width:208},children:[Mo?.({closeDropdown:y})??jsxs(go,{onClick:Co,children:[jsx("img",{src:Ve,alt:"download"}),jsx(xo,{children:"csv"})]}),jsx(ho,{reports:Io?.reports??[],isLoading:Po,onDownloadReport:l}),!L&&jsx(po,{onClick:Bo,children:w("openReportsApp")})]})})]})}var bo=memo(Jo);var vo=styled$1(motion.div)(({theme:o})=>({display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",width:54,height:18,backgroundColor:"#1F88D0",borderRadius:"2px",fontSize:"8px",fontWeight:600,color:o.palette.common.white}));function nt({onDownload:o}){let n=Bc(useId(),"download-button"),{loading:a,error:r,success:p,handleDownloadReport:t}=C({onDownload:o}),{t:c}=useTranslation(),m=!a&&!r&&!p;return jsx(vo,{id:n,"data-testid":"DownloadButton",onClick:t,children:jsxs(AnimatePresence,{mode:"wait",initial:false,children:[a&&jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},style:{display:"flex",alignItems:"center"},children:jsx(Vo,{size:"10px",sx:{color:"rgba(255, 255, 255, 0.62)"}})},"loading"),!!r&&jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:jsx(d,{src:hm,sx:{width:"auto",height:"auto"},alt:"error"})},"error"),m&&jsx(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:c("download")},"text")]})})}var So=memo(nt);var at=So;var fe=bo;export{C as a,Y as b,at as c,fe as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {s as s$1}from'./chunk-QWWU4QAA.js';import {j}from'./chunk-GUXJEFPL.js';import {Bc}from'./chunk-L7L22FDR.js';import {Mj}from'./chunk-GCJPCGH3.js';import {memo,useId}from'react';import r from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var s=styled(r)(({theme:e})=>({border:`1px solid ${e.palette.divider}`,background:"#FBFBFB",borderRadius:"8px",fontSize:"11px",display:"flex",flexDirection:"column",height:"233px",transform:"scale(1)"})),l=styled(r)(({theme:e})=>({padding:"8px 12px",borderBottom:`1px solid ${e.palette.divider}`,display:"flex",justifyContent:"space-between",alignItems:"center",height:39,flexShrink:0,overflow:"visible"})),c=styled(r)(({theme:e})=>({color:e.palette.text.primary,fontSize:"11px",fontWeight:600,textTransform:"capitalize"})),x=styled(r)(({theme:e})=>({display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:"12px",paddingBottom:"12px",paddingInlineStart:"12px",paddingInlineEnd:"8px",borderBottom:`1px solid ${e.palette.divider}`,height:40})),f=styled(j)(({theme:e})=>({color:e.v2.palette.base.black,fontSize:"11px",fontWeight:500,lineHeight:"13.2px"})),g=styled(r)(()=>({display:"flex",alignItems:"center",gap:"8px"})),I=styled(r)(()=>({display:"flex",alignItems:"center",gap:"4px"})),y=styled(r)(()=>({borderRadius:"8px",overflow:"auto",flexGrow:1,height:"100%",listStyle:"none",margin:0,padding:0,".list-item:last-of-type":{borderBottom:"none"}}));styled(r)(()=>({margin:"12px "}));function b({children:e,...t}){let i=Bc(useId(),"widget");return jsx(s,{id:i,component:"article","data-testid":"Widget",...t,children:e})}var S=memo(b);function P({children:e,action:t,...i}){let d=Bc(useId(),"widget-header");return jsxs(l,{id:d,"data-testid":"Widget_WidgetHeader",component:"header",...i,children:[jsx(c,{children:e}),t&&t]})}var T=memo(P);function k({allowShadow:e=true,children:t,...i}){let d=Bc(useId(),"widget-list"),{onScrollHandler:u,showShadow:L}=s$1();return jsxs(y,{id:d,component:"ul","data-testid":"Widget_List",onScroll:u,...i,children:[t,L&&e&&jsx(r,{component:"img",src:Mj,sx:{width:"100%",position:"fixed",bottom:0,pointerEvents:"none",right:0,left:0}})]})}var A=memo(k);function G({children:e,icon:t,actions:i,...d}){return jsxs(x,{component:"li","data-testid":"Widget_ListItem",className:`list-item ${d.className}`,...d,children:[jsxs(g,{component:"aside",children:[t&&t,jsx(f,{noWrap:true,className:"content",children:e})]}),i&&jsx(I,{component:"aside",children:i})]})}var J=memo(G);var ue=S;export{T as a,A as b,J as c,ue as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Bc}from'./chunk-
|
|
1
|
+
import {Bc}from'./chunk-L7L22FDR.js';import {Bn}from'./chunk-GCJPCGH3.js';import {useId}from'react';import f from'@mui/material/Stack';import a from'@mui/material/Box';import d from'@mui/material/Skeleton';import {jsx,jsxs}from'react/jsx-runtime';function h(){let o=Bc(useId(),"default-mf-widget-loader");return jsxs(f,{id:o,"data-testid":"DefaultMFWidgetLoader",height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",children:[jsxs(f,{direction:"row",spacing:1,height:"4.1875rem",sx:{pb:"1.2rem",paddingInline:"32px",pt:"10px",background:g=>g.palette.background.transparent[0]},children:[jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31}),jsx(d,{sx:{bgcolor:"gray.300"},variant:"rounded",width:60,height:31})]}),jsx(a,{flex:1,bgcolor:"#fff"})]})}var W=4;function x(){let o=Bc(useId(),"reports-mf-widget-loader");return jsx(f,{id:o,"data-testid":"ReportsMFWidgetLoader",height:"100%",borderRadius:"0 0 12px 12px",overflow:"hidden",sx:{padding:"8px 32px"},children:Array.from({length:W}).map((g,u)=>jsx(a,{children:jsxs(f,{direction:"row",spacing:1,sx:{py:1,height:56,borderTop:"1px solid rgb(242, 242, 242)"},children:[jsx(d,{variant:"rounded",width:32,height:32}),jsxs(a,{sx:{display:"flex",flexDirection:"column",gap:"4px"},children:[jsx(d,{width:80,height:12.29}),jsxs(a,{sx:{display:"flex",gap:"4px"},children:[jsx(d,{width:50,height:12.29}),jsx(d,{width:125,height:12.29})]})]})]})},u))})}var F=({appCode:o})=>o===Bn.reports.code||o===Bn.upload.code?jsx(x,{}):jsx(h,{}),c=F;var G=c;export{G as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Bc}from'./chunk-
|
|
1
|
+
import {Bc}from'./chunk-L7L22FDR.js';import {useId}from'react';import {Box,FormControl,InputLabel,Select,MenuItem}from'@mui/material';import {useFormContext,Controller}from'react-hook-form';import {jsx,jsxs}from'react/jsx-runtime';function i(l){let m=Bc(useId(),"inputs-select"),{control:d}=useFormContext();return jsx(Controller,{name:l.name,control:d,render:({field:a,fieldState:{error:o}})=>jsxs(Box,{id:m,"data-testid":"InputsSelect",sx:{display:"flex",alignItems:"stretch",height:"100%",flexDirection:"column",flex:1},children:[jsxs(FormControl,{variant:"filled",sx:{minWidth:52,height:"40px !important",maxHeight:"40px !important",width:"100%","& .MuiFormLabel-asterisk":{color:"red"},"& .MuiFormLabel-root":{fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%",transform:"translate(8px, 15px) scale(1)"},".MuiFormLabel-root.MuiFormLabel-filled":{transform:"translate(8px, 8px) scale(0.75) "},".MuiFormLabel-root.Mui-focused":{transform:"translate(8px, 8px) scale(0.75)",fontSize:"10px",fontStyle:"normal",fontWeight:500,lineHeight:"100%"}},required:l.required,children:[jsx(InputLabel,{id:"demo-simple-select-filled-label",sx:{fontSize:"11px",color:"#8D8D94 !important"},children:l.label}),jsx(Select,{inputProps:{sx:{backgroundColor:"#F9F9F9 !important",borderRadius:"4px",fontSize:"11px"}},...a,value:a.value??"",error:!!o,disableUnderline:true,required:true,labelId:"demo-simple-select-filled-label",id:"demo-simple-select-filled",sx:{width:"100%",height:"40px !important",maxHeight:"40px !important",borderRadius:"4px",overflow:"hidden",".MuiSelect-select":{padding:"0px 8px !important",height:"40px !important",maxHeight:"40px !important",display:"flex",alignItems:"flex-end !important"},".MuiSelect-filled":{padding:"0px 8px !important"},...o&&{border:"1px solid #FF3D00"}},children:(l.options||[]).map((e,s)=>jsx(MenuItem,{value:e.value??"",sx:{fontSize:"12px"},children:e.label},`${s}-${e.value??""}`))})]}),o?.message&&jsx(Box,{component:"small",sx:e=>({color:e.palette.error.main,fontSize:"10px",lineHeight:"10px",marginTop:"4px",display:"block"}),children:o.message})]})})}var h=i;export{h as a};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {p}from'./chunk-
|
|
1
|
+
import {p}from'./chunk-GUXJEFPL.js';import {Wa,Bc,cb}from'./chunk-L7L22FDR.js';import {Rk,ya,xa,wa,Oj}from'./chunk-GCJPCGH3.js';import {memo,useId}from'react';import C from'@mui/material/Box';import O from'lodash/capitalize';import {useTranslation}from'react-i18next';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var D=styled(C,{shouldForwardProp:o=>o!=="tableMode"})(({theme:o,tableMode:t})=>({fontSize:"11px",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",borderRadius:"24px",border:`1px solid ${o.palette.divider}`,color:o.palette.text.primary,height:Wa(t)?"18px":"24px"}));var e={DESKTOP:wa,PHONE:xa,TABLET:ya,TERMINAL:Rk};var i=o=>!!e[o];function S({type:o,isTextShown:t,tableMode:T,...E}){let p$1=Bc(useId(),"device-icon"),{t:v}=useTranslation(),m=i(o)?e[o]:null;return jsx(p,{title:m?`Device - ${cb((o??"").toLowerCase())}`:v("unKnown"),children:t?jsx(D,{id:p$1,"data-testid":"DeviceIcon",tableMode:T,children:o?O(o):"Unknown"}):jsx(C,{...E,id:p$1,"data-testid":"DeviceIcon",component:"img",src:o?m||Oj:Oj,alt:o})})}var b=memo(S);var X=b;export{e as a,i as b,X as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Bc}from'./chunk-
|
|
1
|
+
import {Bc}from'./chunk-L7L22FDR.js';import {oi,pi}from'./chunk-GCJPCGH3.js';import {styled,Box}from'@mui/material';import I,{useId,useMemo}from'react';import {jsx,jsxs}from'react/jsx-runtime';var c=styled(Box)(({theme:e})=>({height:"32px",borderRadius:"4px",backgroundColor:e.palette.action.hover,padding:"2px",display:"flex",alignItems:"center",position:"relative",cursor:"pointer",zIndex:1})),u=styled(Box,{shouldForwardProp:e=>e!=="isActive"})(({isActive:e})=>({flex:1,display:"flex",justifyContent:"center",alignItems:"center",position:"relative",zIndex:2,opacity:e?1:.5})),x=styled(Box,{shouldForwardProp:e=>e!=="activeIndex"})(({theme:e,activeIndex:o})=>({position:"absolute",top:2,left:o*30+2,transition:"all 0.25s ease-in-out",width:"28px",height:"28px",backgroundColor:e.palette.common.white,borderRadius:"2px",boxShadow:"0px 0px 4px 0px rgba(0, 0, 0, 0.20)"}));var m=(t=>(t.LIST="LIST",t.CARDS="CARDS",t.MAP="MAP",t))(m||{});var y=e=>{let o=I.Children.count(e.children)-1;return jsx(c,{...e,sx:{width:o*30+2}})},w=y;var T=[{icon:jsx("img",{src:oi,alt:"card"}),value:"CARDS"},{icon:jsx("img",{src:pi,alt:"LIST"}),value:"LIST"}],S=e=>{let{currentView:o,onToggleClick:s,getOverrideViews:t}=e,v=Bc(useId(),"toggle-view"),l=useMemo(()=>t?t(T):T,[t]),h=useMemo(()=>l.findIndex(r=>r.value===o),[l,o]);return s?jsxs(w,{id:v,"data-testid":"ToggleView",children:[l.map(r=>jsx(u,{onClick:()=>s(r.value),sx:{height:"11.6px",width:"11.6px"},isActive:o===r.value,children:r.icon},r.value)),jsx(x,{activeIndex:h})]}):null},f=S;var $=f;export{m as a,$ 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-FWPVRT34.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-6USHHZAA.js';import'../../_chunks/chunk-6RTZSBSD.js';import'../../_chunks/chunk-7THWDMHL.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.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-V4YG7AP4.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-GRKRA3TP.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -52,7 +52,7 @@ export declare const StyledAnimatedSpinner: import("@emotion/styled").StyledComp
|
|
|
52
52
|
results?: number | undefined;
|
|
53
53
|
security?: string | undefined;
|
|
54
54
|
unselectable?: "off" | "on" | undefined;
|
|
55
|
-
inputMode?: "text" | "url" | "email" | "search" | "
|
|
55
|
+
inputMode?: "text" | "url" | "email" | "search" | "none" | "tel" | "numeric" | "decimal" | undefined;
|
|
56
56
|
is?: string | undefined;
|
|
57
57
|
exportparts?: string | undefined;
|
|
58
58
|
part?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{xc as default}from'../../_chunks/chunk-RE3HH2T6.js';import'../../_chunks/chunk-LFBTKZ3V.js';import'../../_chunks/chunk-VV5IC3DP.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-ZEQDF7FG.js';import'../../_chunks/chunk-CWNHOUN5.js';import'../../_chunks/chunk-QDW7GZN6.js';import'../../_chunks/chunk-ECBP7JZ6.js';import'../../_chunks/chunk-VNHVDZKL.js';import'../../_chunks/chunk-AVTZV3J7.js';import'../../_chunks/chunk-QLF4C46U.js';import'../../_chunks/chunk-TDFNWFK7.js';import'../../_chunks/chunk-I7KBFAH7.js';import'../../_chunks/chunk-6E2SGPTJ.js';import'../../_chunks/chunk-5H7MD7LO.js';import'../../_chunks/chunk-D23EYDCG.js';import'../../_chunks/chunk-QHK62NO3.js';import'../../_chunks/chunk-GLTYG62E.js';import'../../_chunks/chunk-NPCTL2R7.js';import'../../_chunks/chunk-KTFIN54Q.js';import'../../_chunks/chunk-J7R6JFXM.js';import'../../_chunks/chunk-BQWD3KO4.js';import'../../_chunks/chunk-6ASQZ2RI.js';import'../../_chunks/chunk-BMSJV3FH.js';import'../../_chunks/chunk-GEJI7SEX.js';import'../../_chunks/chunk-LXD5Y42H.js';import'../../_chunks/chunk-U2PXB4YH.js';import'../../_chunks/chunk-WZQR2LCT.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-OMISGJLX.js';import'../../_chunks/chunk-7R6GKSYQ.js';import'../../_chunks/chunk-BUPWQI3W.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-X5HJKL6O.js';import'../../_chunks/chunk-MXQFATMM.js';import'../../_chunks/chunk-JCFOE4DQ.js';import'../../_chunks/chunk-EGFHFXWK.js';import'../../_chunks/chunk-R6Y42OPH.js';import'../../_chunks/chunk-LOFKIY7J.js';import'../../_chunks/chunk-3T7G4PAY.js';import'../../_chunks/chunk-GP7PBSOF.js';import'../../_chunks/chunk-7FWE55BT.js';import'../../_chunks/chunk-HWDODLOQ.js';import'../../_chunks/chunk-B5TZKBR5.js';import'../../_chunks/chunk-EJ2GRPAY.js';import'../../_chunks/chunk-7PLZT2KW.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-QLXQSDL7.js';import'../../_chunks/chunk-SR3UFTU3.js';import'../../_chunks/chunk-SYEHTDS6.js';import'../../_chunks/chunk-52SSIU72.js';import'../../_chunks/chunk-YNOCNDOA.js';import'../../_chunks/chunk-JI5U3KGK.js';import'../../_chunks/chunk-7DMSRKG7.js';import'../../_chunks/chunk-6JLKJPL3.js';import'../../_chunks/chunk-G3QKYZM2.js';import'../../_chunks/chunk-I6RRJ7ME.js';import'../../_chunks/chunk-S4ZHXBPB.js';import'../../_chunks/chunk-KDRRRYZL.js';import'../../_chunks/chunk-JG5OM35T.js';import'../../_chunks/chunk-MFZ3F3JQ.js';import'../../_chunks/chunk-OBK62FOF.js';import'../../_chunks/chunk-6USHHZAA.js';import'../../_chunks/chunk-6RTZSBSD.js';import'../../_chunks/chunk-7THWDMHL.js';import'../../_chunks/chunk-V4YG7AP4.js';import'../../_chunks/chunk-GRKRA3TP.js';import'../../_chunks/chunk-3Z6ULCGA.js';import'../../_chunks/chunk-BA5OFEBT.js';import'../../_chunks/chunk-CTGKNHG3.js';import'../../_chunks/chunk-KVC3QSDQ.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-5WL77ZBM.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-QWWU4QAA.js';import'../../_chunks/chunk-FWPVRT34.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{yc as default}from'../../_chunks/chunk-RE3HH2T6.js';import'../../_chunks/chunk-LFBTKZ3V.js';import'../../_chunks/chunk-VV5IC3DP.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-ZEQDF7FG.js';import'../../_chunks/chunk-CWNHOUN5.js';import'../../_chunks/chunk-QDW7GZN6.js';import'../../_chunks/chunk-ECBP7JZ6.js';import'../../_chunks/chunk-VNHVDZKL.js';import'../../_chunks/chunk-AVTZV3J7.js';import'../../_chunks/chunk-QLF4C46U.js';import'../../_chunks/chunk-TDFNWFK7.js';import'../../_chunks/chunk-I7KBFAH7.js';import'../../_chunks/chunk-6E2SGPTJ.js';import'../../_chunks/chunk-5H7MD7LO.js';import'../../_chunks/chunk-D23EYDCG.js';import'../../_chunks/chunk-QHK62NO3.js';import'../../_chunks/chunk-GLTYG62E.js';import'../../_chunks/chunk-NPCTL2R7.js';import'../../_chunks/chunk-KTFIN54Q.js';import'../../_chunks/chunk-J7R6JFXM.js';import'../../_chunks/chunk-BQWD3KO4.js';import'../../_chunks/chunk-6ASQZ2RI.js';import'../../_chunks/chunk-BMSJV3FH.js';import'../../_chunks/chunk-GEJI7SEX.js';import'../../_chunks/chunk-LXD5Y42H.js';import'../../_chunks/chunk-U2PXB4YH.js';import'../../_chunks/chunk-WZQR2LCT.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-OMISGJLX.js';import'../../_chunks/chunk-7R6GKSYQ.js';import'../../_chunks/chunk-BUPWQI3W.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-X5HJKL6O.js';import'../../_chunks/chunk-MXQFATMM.js';import'../../_chunks/chunk-JCFOE4DQ.js';import'../../_chunks/chunk-EGFHFXWK.js';import'../../_chunks/chunk-R6Y42OPH.js';import'../../_chunks/chunk-LOFKIY7J.js';import'../../_chunks/chunk-3T7G4PAY.js';import'../../_chunks/chunk-GP7PBSOF.js';import'../../_chunks/chunk-7FWE55BT.js';import'../../_chunks/chunk-HWDODLOQ.js';import'../../_chunks/chunk-B5TZKBR5.js';import'../../_chunks/chunk-EJ2GRPAY.js';import'../../_chunks/chunk-7PLZT2KW.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-QLXQSDL7.js';import'../../_chunks/chunk-SR3UFTU3.js';import'../../_chunks/chunk-SYEHTDS6.js';import'../../_chunks/chunk-52SSIU72.js';import'../../_chunks/chunk-YNOCNDOA.js';import'../../_chunks/chunk-JI5U3KGK.js';import'../../_chunks/chunk-7DMSRKG7.js';import'../../_chunks/chunk-6JLKJPL3.js';import'../../_chunks/chunk-G3QKYZM2.js';import'../../_chunks/chunk-I6RRJ7ME.js';import'../../_chunks/chunk-S4ZHXBPB.js';import'../../_chunks/chunk-KDRRRYZL.js';import'../../_chunks/chunk-JG5OM35T.js';import'../../_chunks/chunk-MFZ3F3JQ.js';import'../../_chunks/chunk-OBK62FOF.js';import'../../_chunks/chunk-6USHHZAA.js';import'../../_chunks/chunk-6RTZSBSD.js';import'../../_chunks/chunk-7THWDMHL.js';import'../../_chunks/chunk-V4YG7AP4.js';import'../../_chunks/chunk-GRKRA3TP.js';import'../../_chunks/chunk-3Z6ULCGA.js';import'../../_chunks/chunk-BA5OFEBT.js';import'../../_chunks/chunk-CTGKNHG3.js';import'../../_chunks/chunk-KVC3QSDQ.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-5WL77ZBM.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-QWWU4QAA.js';import'../../_chunks/chunk-FWPVRT34.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -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-3Z6ULCGA.js';import'../../_chunks/chunk-BA5OFEBT.js';import'../../_chunks/chunk-CTGKNHG3.js';import'../../_chunks/chunk-QWWU4QAA.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';export{qo as LEFT_SIDEBAR_WIDTH,ro as RIGHT_SIDEBAR_WIDTH,to as VIEWER_HEIGHT,so as VIEWER_WIDTH,po as WINDOW_ANIMATION_DURATION}from'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as areaChartClassNames,b as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as areaChartClassNames,b as default}from'../../_chunks/chunk-KVC3QSDQ.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.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-5WL77ZBM.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.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-6JLKJPL3.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -75,7 +75,7 @@ export declare const AvatarStackSlotStyled: import("@emotion/styled").StyledComp
|
|
|
75
75
|
results?: number | undefined;
|
|
76
76
|
security?: string | undefined;
|
|
77
77
|
unselectable?: "off" | "on" | undefined;
|
|
78
|
-
inputMode?: "text" | "url" | "email" | "search" | "
|
|
78
|
+
inputMode?: "text" | "url" | "email" | "search" | "none" | "tel" | "numeric" | "decimal" | undefined;
|
|
79
79
|
is?: string | undefined;
|
|
80
80
|
exportparts?: string | undefined;
|
|
81
81
|
part?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-G3QKYZM2.js';import'../../_chunks/chunk-I6RRJ7ME.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-S4ZHXBPB.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{uc as ColumnViewsMenu,rc as ColumnViewsPicker,tc as CreateViewDialog,pc as CustomViews,qc as DefaultViews,sc as ViewsDropdown,Lb as areAllColumnsSelected,Rb as areAllCurrentColumnsSelected,Ub as areColumnsEqual,Mb as areSomeColumnsSelected,Sb as areSomeCurrentColumnsSelected,kc as buildFullTemplateLayouts,ic as buildRequiredColumnView,sb as convertColumnsToLayoutSection,bc as convertTemplateToColumnsView,cc as convertTemplatesToColumnsView,Ab as countCustomTemplates,Bb as countCustomViewMenuItems,ub as createCustomViewMenuItem,Ob as deepCloneColumns,Hb as getColumnCheckState,_b as getColumnOrder,rb as getColumnsByMode,gc as getLayoutCodesForMode,tb as getLayoutDataFromTemplates,hc as getOtherModeSectionCode,Zb as getSubmenuFromTemplateLayout,Eb as getSubmenuItems,Gb as getSubmenuItemsForDisplay,wb as getTemplateRole,$b as handleTemplateUpdate,jc as hasLayoutSectionForMode,Fb as hasSubmenu,Xb as initializeCreateColumns,Yb as initializeCreateColumnsWithCurrentState,Wb as initializeEditingColumns,fc as isCheckboxInteractionTarget,zb as isCustomTemplate,yb as isCustomView,ob as isDateColumn,pb as isIndexColumn,xb as isPresetView,Nb as isValidTemplateName,Db as mapTemplatesToMenuItems,Tb as normalizeColumnsSelected,dc as replaceTemplateInList,Vb as resetColumnsToDefault,vb as setViewAsDefault,ac as templateToViewMenuItem,Kb as toggleAllColumns,Qb as toggleAllCurrentColumns,Ib as toggleColumn,Pb as toggleSingleColumn,Jb as toggleSubItem,qb as transformLayoutToColumns,Cb as transformTemplatesToViewMenuItems,ec as updateCurrentTemplate,oc as useCustomTableViews,nc as useSubmenuHover,lc as useViewsManager,mc as useViewsMenu}from'../../_chunks/chunk-RE3HH2T6.js';import'../../_chunks/chunk-LFBTKZ3V.js';import'../../_chunks/chunk-VV5IC3DP.js';import'../../_chunks/chunk-XB7FBOZY.js';import'../../_chunks/chunk-ZEQDF7FG.js';import'../../_chunks/chunk-CWNHOUN5.js';import'../../_chunks/chunk-QDW7GZN6.js';import'../../_chunks/chunk-ECBP7JZ6.js';import'../../_chunks/chunk-VNHVDZKL.js';import'../../_chunks/chunk-AVTZV3J7.js';import'../../_chunks/chunk-QLF4C46U.js';import'../../_chunks/chunk-TDFNWFK7.js';import'../../_chunks/chunk-I7KBFAH7.js';import'../../_chunks/chunk-6E2SGPTJ.js';import'../../_chunks/chunk-5H7MD7LO.js';import'../../_chunks/chunk-D23EYDCG.js';import'../../_chunks/chunk-QHK62NO3.js';import'../../_chunks/chunk-GLTYG62E.js';import'../../_chunks/chunk-NPCTL2R7.js';import'../../_chunks/chunk-KTFIN54Q.js';import'../../_chunks/chunk-J7R6JFXM.js';import'../../_chunks/chunk-BQWD3KO4.js';import'../../_chunks/chunk-6ASQZ2RI.js';import'../../_chunks/chunk-BMSJV3FH.js';import'../../_chunks/chunk-GEJI7SEX.js';import'../../_chunks/chunk-LXD5Y42H.js';import'../../_chunks/chunk-U2PXB4YH.js';import'../../_chunks/chunk-WZQR2LCT.js';import'../../_chunks/chunk-MAZVGT6F.js';import'../../_chunks/chunk-OMISGJLX.js';import'../../_chunks/chunk-7R6GKSYQ.js';import'../../_chunks/chunk-BUPWQI3W.js';import'../../_chunks/chunk-ZONDSLTR.js';import'../../_chunks/chunk-X5HJKL6O.js';import'../../_chunks/chunk-MXQFATMM.js';import'../../_chunks/chunk-JCFOE4DQ.js';import'../../_chunks/chunk-EGFHFXWK.js';import'../../_chunks/chunk-R6Y42OPH.js';import'../../_chunks/chunk-LOFKIY7J.js';import'../../_chunks/chunk-3T7G4PAY.js';import'../../_chunks/chunk-GP7PBSOF.js';import'../../_chunks/chunk-7FWE55BT.js';import'../../_chunks/chunk-HWDODLOQ.js';import'../../_chunks/chunk-B5TZKBR5.js';import'../../_chunks/chunk-EJ2GRPAY.js';import'../../_chunks/chunk-7PLZT2KW.js';import'../../_chunks/chunk-HDCNWBW5.js';import'../../_chunks/chunk-QLXQSDL7.js';import'../../_chunks/chunk-SR3UFTU3.js';import'../../_chunks/chunk-SYEHTDS6.js';import'../../_chunks/chunk-52SSIU72.js';import'../../_chunks/chunk-YNOCNDOA.js';import'../../_chunks/chunk-JI5U3KGK.js';import'../../_chunks/chunk-7DMSRKG7.js';import'../../_chunks/chunk-6JLKJPL3.js';import'../../_chunks/chunk-G3QKYZM2.js';import'../../_chunks/chunk-I6RRJ7ME.js';import'../../_chunks/chunk-S4ZHXBPB.js';import'../../_chunks/chunk-KDRRRYZL.js';import'../../_chunks/chunk-JG5OM35T.js';import'../../_chunks/chunk-MFZ3F3JQ.js';import'../../_chunks/chunk-OBK62FOF.js';import'../../_chunks/chunk-6USHHZAA.js';import'../../_chunks/chunk-6RTZSBSD.js';import'../../_chunks/chunk-7THWDMHL.js';import'../../_chunks/chunk-V4YG7AP4.js';import'../../_chunks/chunk-GRKRA3TP.js';import'../../_chunks/chunk-3Z6ULCGA.js';import'../../_chunks/chunk-BA5OFEBT.js';import'../../_chunks/chunk-CTGKNHG3.js';import'../../_chunks/chunk-KVC3QSDQ.js';import'../../_chunks/chunk-FQ2VMVUY.js';import'../../_chunks/chunk-5WL77ZBM.js';import'../../_chunks/chunk-MUR4ILTY.js';import'../../_chunks/chunk-QWWU4QAA.js';import'../../_chunks/chunk-FWPVRT34.js';import'../../_chunks/chunk-GUXJEFPL.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-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -119,7 +119,7 @@ export declare const CreateViewDialogSurface: import("@emotion/styled").StyledCo
|
|
|
119
119
|
results?: number | undefined;
|
|
120
120
|
security?: string | undefined;
|
|
121
121
|
unselectable?: "off" | "on" | undefined;
|
|
122
|
-
inputMode?: "text" | "url" | "email" | "search" | "
|
|
122
|
+
inputMode?: "text" | "url" | "email" | "search" | "none" | "tel" | "numeric" | "decimal" | undefined;
|
|
123
123
|
is?: string | undefined;
|
|
124
124
|
exportparts?: string | undefined;
|
|
125
125
|
part?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as ConfirmDialogProvider,a as useConfirm}from'../../_chunks/chunk-
|
|
1
|
+
export{b as ConfirmDialogProvider,a as useConfirm}from'../../_chunks/chunk-KDRRRYZL.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.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-JG5OM35T.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-MFZ3F3JQ.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.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-OBK62FOF.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.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-SR3UFTU3.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.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-SYEHTDS6.js';import'../../_chunks/chunk-GUXJEFPL.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as default}from'../../_chunks/chunk-
|
|
1
|
+
export{a as default}from'../../_chunks/chunk-52SSIU72.js';import'../../_chunks/chunk-L7L22FDR.js';import'../../_chunks/chunk-GCJPCGH3.js';import'../../_chunks/chunk-ZDBICST5.js';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { type ZoneId } from '../../datetime/index.js';
|
|
3
2
|
import type { CalenderMode, Timezone } from '../../types/index.js';
|
|
4
3
|
import type { CustomColumnFilterProps } from '../VirtualTables/components/ColumnFilter/type';
|
|
5
4
|
/**
|
|
@@ -10,24 +9,16 @@ export interface DateFilterProps {
|
|
|
10
9
|
onConfirm: (dateRange: [Date, Date] | undefined) => void;
|
|
11
10
|
/** Committed range; undefined means no filter applied. */
|
|
12
11
|
dateRange?: [Date, Date];
|
|
13
|
-
/** Fires on every calendar pick, before the user confirms.
|
|
14
|
-
onDateRangeChange: (dateRange?: [Date, Date]
|
|
12
|
+
/** Fires on every calendar pick, before the user confirms. */
|
|
13
|
+
onDateRangeChange: (dateRange?: [Date, Date]) => void;
|
|
15
14
|
calendarMode: CalenderMode;
|
|
16
15
|
onCalendarModeChange: (calenderMode: CalenderMode) => void;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
onZoneChange?: (zone: ZoneId) => void;
|
|
20
|
-
/** The entity's own zone, offered as the default entry in the picker. */
|
|
21
|
-
countryZone?: ZoneId;
|
|
16
|
+
timezone: Timezone | null;
|
|
17
|
+
onTimezoneChange: (timezone: Timezone) => void;
|
|
22
18
|
/** Detected browser timezone, used as fallback. */
|
|
23
19
|
browserTimezone: string;
|
|
20
|
+
defaultCountryTimezone: Timezone;
|
|
24
21
|
/** Country codes for the timezone picker. */
|
|
25
22
|
timezoneCountriesCodes: string[];
|
|
26
|
-
/** @deprecated Renamed `zone`. */
|
|
27
|
-
timezone: Timezone | null;
|
|
28
|
-
/** @deprecated Renamed `onZoneChange`. */
|
|
29
|
-
onTimezoneChange: (timezone: Timezone) => void;
|
|
30
|
-
/** @deprecated Renamed `countryZone`. */
|
|
31
|
-
defaultCountryTimezone: Timezone;
|
|
32
23
|
}
|
|
33
|
-
export default function DateFilter({ dateRange, onDateRangeChange, calendarMode, onCalendarModeChange,
|
|
24
|
+
export default function DateFilter({ dateRange, onDateRangeChange, calendarMode, onCalendarModeChange, timezone, browserTimezone, defaultCountryTimezone, onTimezoneChange, timezoneCountriesCodes, onConfirm, onCloseDropdown, }: Readonly<DateFilterProps & CustomColumnFilterProps>): import("react").JSX.Element;
|