@tap-payments/os-micro-frontend-shared 0.3.250 → 0.3.252

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.
Files changed (185) hide show
  1. package/build/_chunks/{chunk-TI5WSFQU.js → chunk-24X3BEJR.js} +1 -1
  2. package/build/_chunks/{chunk-VCDTSTQU.js → chunk-2FRVCEJY.js} +1 -1
  3. package/build/_chunks/{chunk-CZLLJ6SR.js → chunk-2GSUGMI7.js} +1 -1
  4. package/build/_chunks/{chunk-5HWKHF3E.js → chunk-2J4W2CAI.js} +1 -1
  5. package/build/_chunks/{chunk-IRJWGXJJ.js → chunk-2QA5MXMV.js} +1 -1
  6. package/build/_chunks/{chunk-O7YCNPVY.js → chunk-3GA46JLW.js} +1 -1
  7. package/build/_chunks/{chunk-4SP6Q3EY.js → chunk-3TTOSX76.js} +1 -1
  8. package/build/_chunks/{chunk-4O2NNPPJ.js → chunk-4FOFVTQ2.js} +1 -1
  9. package/build/_chunks/{chunk-N76O4JDU.js → chunk-4Y2COEZC.js} +1 -1
  10. package/build/_chunks/{chunk-TKU2TNIN.js → chunk-5VSOWOX2.js} +1 -1
  11. package/build/_chunks/{chunk-WFIGJMBF.js → chunk-6Q5NWGGT.js} +1 -1
  12. package/build/_chunks/{chunk-QQGPNDCP.js → chunk-6SBWV2KY.js} +1 -1
  13. package/build/_chunks/{chunk-2UKFRII4.js → chunk-7UHNYLD7.js} +1 -1
  14. package/build/_chunks/{chunk-YRXXFAEV.js → chunk-ACIQTR6D.js} +1 -1
  15. package/build/_chunks/{chunk-3SHK7LE5.js → chunk-AO5K32SU.js} +1 -1
  16. package/build/_chunks/{chunk-IXCCTAHR.js → chunk-BDL56M7A.js} +1 -1
  17. package/build/_chunks/{chunk-AGEPU6KI.js → chunk-C4ZTNHLR.js} +1 -1
  18. package/build/_chunks/{chunk-NCBWDLV3.js → chunk-CAZWVRDN.js} +1 -1
  19. package/build/_chunks/{chunk-MWBCSFTX.js → chunk-CK64PBMR.js} +1 -1
  20. package/build/_chunks/{chunk-VFR37ZIO.js → chunk-CWNDTPM5.js} +1 -1
  21. package/build/_chunks/{chunk-NTNU6XF2.js → chunk-CZWXKHO7.js} +1 -1
  22. package/build/_chunks/{chunk-LQEFOWM7.js → chunk-DFH5QS2C.js} +1 -1
  23. package/build/_chunks/{chunk-WWYUHMAI.js → chunk-DN3GVPG7.js} +1 -1
  24. package/build/_chunks/{chunk-NSUJX7C7.js → chunk-DRBZWQC7.js} +1 -1
  25. package/build/_chunks/{chunk-NND2ZEYZ.js → chunk-DRWSBTEH.js} +1 -1
  26. package/build/_chunks/{chunk-SPXAF7BU.js → chunk-DYQCOTHJ.js} +1 -1
  27. package/build/_chunks/{chunk-DY3GC5DB.js → chunk-ECXZJHTU.js} +1 -1
  28. package/build/_chunks/{chunk-4WABGY2R.js → chunk-ETTNSCF2.js} +1 -1
  29. package/build/_chunks/{chunk-EWMTPSAT.js → chunk-F7TSJOX6.js} +1 -1
  30. package/build/_chunks/{chunk-6PBMGBFD.js → chunk-FGZVDVG2.js} +1 -1
  31. package/build/_chunks/{chunk-MFMOVQ5M.js → chunk-G5OEG7OX.js} +1 -1
  32. package/build/_chunks/{chunk-5GICLCXP.js → chunk-HKFOCHKQ.js} +1 -1
  33. package/build/_chunks/{chunk-WMGELW2U.js → chunk-HLGWZAIE.js} +1 -1
  34. package/build/_chunks/{chunk-O2C4QF4L.js → chunk-IO5DNKRE.js} +1 -1
  35. package/build/_chunks/{chunk-QFCGWCIC.js → chunk-IQUQQVHU.js} +1 -1
  36. package/build/_chunks/{chunk-DXJQKSYR.js → chunk-IULAG2J7.js} +1 -1
  37. package/build/_chunks/{chunk-VWIVGP4W.js → chunk-IUN4DEUF.js} +1 -1
  38. package/build/_chunks/{chunk-SYMF32J5.js → chunk-IXZBLV5N.js} +1 -1
  39. package/build/_chunks/{chunk-XRLART6Z.js → chunk-IZLK35VJ.js} +1 -1
  40. package/build/_chunks/{chunk-PMBEZ6OR.js → chunk-J2QN5EF5.js} +1 -1
  41. package/build/_chunks/{chunk-R23AMJCY.js → chunk-J3CPRU2X.js} +1 -1
  42. package/build/_chunks/{chunk-ZDE3HHHG.js → chunk-JC7NZ5DQ.js} +1 -1
  43. package/build/_chunks/{chunk-FCIYZFCI.js → chunk-JCEHXR4N.js} +1 -1
  44. package/build/_chunks/{chunk-DQGA7KCO.js → chunk-JLL4EOYJ.js} +1 -1
  45. package/build/_chunks/{chunk-RCJQ4Y5F.js → chunk-JNIXJXK3.js} +1 -1
  46. package/build/_chunks/{chunk-PFDLGYL7.js → chunk-JO7EW2A3.js} +1 -1
  47. package/build/_chunks/{chunk-3TMU7URM.js → chunk-LBQWWXKH.js} +1 -1
  48. package/build/_chunks/{chunk-5NLHGOQM.js → chunk-LLOK2FPM.js} +1 -1
  49. package/build/_chunks/{chunk-TAUOSNEX.js → chunk-LNEWGSQE.js} +1 -1
  50. package/build/_chunks/{chunk-JY337SQD.js → chunk-M6JX6YSB.js} +1 -1
  51. package/build/_chunks/{chunk-B2Y3FJ3F.js → chunk-MAPBEJDO.js} +1 -1
  52. package/build/_chunks/{chunk-R7DN4AIN.js → chunk-MVWBQNBX.js} +1 -1
  53. package/build/_chunks/{chunk-SQ575ZJ2.js → chunk-NVNFBBM3.js} +1 -1
  54. package/build/_chunks/{chunk-76GYXT6V.js → chunk-OGARNN6I.js} +1 -1
  55. package/build/_chunks/{chunk-W67UP7VI.js → chunk-OQA73I3Z.js} +1 -1
  56. package/build/_chunks/{chunk-365ELBRX.js → chunk-PEV5GRRD.js} +1 -1
  57. package/build/_chunks/{chunk-BZJYOLJX.js → chunk-PGG4PIRO.js} +1 -1
  58. package/build/_chunks/{chunk-IJWEQ72W.js → chunk-PIO2RM2Z.js} +1 -1
  59. package/build/_chunks/{chunk-POTSD7PO.js → chunk-Q7C7A5RK.js} +1 -1
  60. package/build/_chunks/chunk-R4T2G3EB.js +2 -0
  61. package/build/_chunks/{chunk-TEC76BRB.js → chunk-RGKJLODO.js} +1 -1
  62. package/build/_chunks/{chunk-HRVZB6DH.js → chunk-RRBFJGS6.js} +1 -1
  63. package/build/_chunks/{chunk-EYUPIADW.js → chunk-SKJZPJBN.js} +1 -1
  64. package/build/_chunks/{chunk-72CWL2S7.js → chunk-SPZGODAQ.js} +1 -1
  65. package/build/_chunks/{chunk-RCTLL5VU.js → chunk-UFOU3EJK.js} +1 -1
  66. package/build/_chunks/{chunk-YPUHUMOP.js → chunk-UOERDOEI.js} +1 -1
  67. package/build/_chunks/{chunk-HUDWUAD5.js → chunk-UZIT72EG.js} +1 -1
  68. package/build/_chunks/{chunk-ON2WVW4D.js → chunk-VTFUWYYT.js} +1 -1
  69. package/build/_chunks/{chunk-PDI7HVTD.js → chunk-WUBVGS4H.js} +1 -1
  70. package/build/_chunks/{chunk-JGJQASLQ.js → chunk-X26MSUES.js} +1 -1
  71. package/build/_chunks/{chunk-NIVBAGVE.js → chunk-XKMKTJWE.js} +1 -1
  72. package/build/_chunks/{chunk-7NZ2ECHV.js → chunk-Y2HHEHH2.js} +1 -1
  73. package/build/_chunks/{chunk-MBNU6SUO.js → chunk-YAO5SBRE.js} +1 -1
  74. package/build/components/ActionsDropdownMenu/index.js +1 -1
  75. package/build/components/ActiveFilterChip/index.js +1 -1
  76. package/build/components/Alert/index.js +1 -1
  77. package/build/components/AnimatedSpinnerIcon/index.js +1 -1
  78. package/build/components/AppServices/index.js +1 -1
  79. package/build/components/AppServicesBar/index.js +1 -1
  80. package/build/components/AppWindowWrapper/index.js +1 -1
  81. package/build/components/AreaChart/index.js +1 -1
  82. package/build/components/Autocomplete/index.js +1 -1
  83. package/build/components/AvatarStack/index.js +1 -1
  84. package/build/components/Calender/index.js +1 -1
  85. package/build/components/Card/index.js +1 -1
  86. package/build/components/ColorPicker/index.js +1 -1
  87. package/build/components/ColumnViews/index.js +1 -1
  88. package/build/components/ConfirmDialog/index.js +1 -1
  89. package/build/components/CountryFilter/index.js +1 -1
  90. package/build/components/CountryFlag/index.js +1 -1
  91. package/build/components/CurrenciesMenu/index.js +1 -1
  92. package/build/components/CurrencyAmount/index.js +1 -1
  93. package/build/components/CurrencyAmountInput/index.js +1 -1
  94. package/build/components/CurrencySymbol/index.js +1 -1
  95. package/build/components/DateFilter/index.js +1 -1
  96. package/build/components/DeviceIcon/index.js +1 -1
  97. package/build/components/DropdownMenu/index.js +1 -1
  98. package/build/components/EmptyState/index.js +1 -1
  99. package/build/components/ErrorToast/index.js +1 -1
  100. package/build/components/FileDropbox/index.js +1 -1
  101. package/build/components/FilePreview/index.js +1 -1
  102. package/build/components/FileUploader/index.js +1 -1
  103. package/build/components/FilterDropdown/index.js +1 -1
  104. package/build/components/Filters/index.js +1 -1
  105. package/build/components/FlippingCard/index.js +1 -1
  106. package/build/components/FormSelect/index.js +1 -1
  107. package/build/components/GroupedSelect/index.js +1 -1
  108. package/build/components/HeatMap/index.js +1 -1
  109. package/build/components/InputBase/index.js +1 -1
  110. package/build/components/Inputs/index.js +1 -1
  111. package/build/components/JSONViewer/index.js +1 -1
  112. package/build/components/LeftPeekRightExpandingChip/index.js +1 -1
  113. package/build/components/ListColumnFilter/index.js +1 -1
  114. package/build/components/ListHeader/index.js +1 -1
  115. package/build/components/ListLayout/index.js +1 -1
  116. package/build/components/Loader/index.js +1 -1
  117. package/build/components/Logo/index.js +1 -1
  118. package/build/components/MFWidgetLoader/index.js +1 -1
  119. package/build/components/MaskedText/index.js +1 -1
  120. package/build/components/MultiSelect/index.js +1 -1
  121. package/build/components/NestedDropdown/index.js +1 -1
  122. package/build/components/NestedMultiSelect/index.js +1 -1
  123. package/build/components/PaymentSourceFilter/index.js +1 -1
  124. package/build/components/PhoneFilter/index.js +1 -1
  125. package/build/components/PhoneInput/index.js +1 -1
  126. package/build/components/ProgressRing/index.js +1 -1
  127. package/build/components/RadioGroup/index.js +1 -1
  128. package/build/components/RangeCalender/index.js +1 -1
  129. package/build/components/RatingCount/index.js +1 -1
  130. package/build/components/ReferenceTypeFilter/index.js +1 -1
  131. package/build/components/RightLeftExpandingCenterChip/index.js +1 -1
  132. package/build/components/SearchButton/index.js +1 -1
  133. package/build/components/SearchInput/index.js +1 -1
  134. package/build/components/SheetViewChip/index.js +1 -1
  135. package/build/components/Sidebar/index.js +1 -1
  136. package/build/components/StatusBar/index.js +1 -1
  137. package/build/components/StatusButton/index.js +1 -1
  138. package/build/components/StatusFilter/index.js +1 -1
  139. package/build/components/StatusIcons/index.js +1 -1
  140. package/build/components/StatusLabel/index.js +1 -1
  141. package/build/components/TableCells/CustomCells/index.d.ts +0 -3
  142. package/build/components/TableCells/index.js +1 -1
  143. package/build/components/TableReports/index.js +1 -1
  144. package/build/components/TextInput/index.js +1 -1
  145. package/build/components/Timepicker/index.js +1 -1
  146. package/build/components/ToggleView/index.js +1 -1
  147. package/build/components/Toolbar/index.js +1 -1
  148. package/build/components/ToolbarIcon/index.js +1 -1
  149. package/build/components/TreeDropdown/index.js +1 -1
  150. package/build/components/VerificationIcon/index.js +1 -1
  151. package/build/components/ViewColumnRadioFilter/index.js +1 -1
  152. package/build/components/VirtualTables/index.js +1 -1
  153. package/build/components/Widget/index.js +1 -1
  154. package/build/components/index.js +1 -1
  155. package/build/components/primitives/index.js +1 -1
  156. package/build/constants/index.js +1 -1
  157. package/build/constants/table/cell/leadsTableCellWidth.d.ts +32 -22
  158. package/build/datetime/components/index.js +1 -1
  159. package/build/hooks/index.js +1 -1
  160. package/build/index.js +1 -1
  161. package/build/types/accountWidget.d.ts +1 -1
  162. package/build/utils/index.js +1 -1
  163. package/package.json +1 -1
  164. package/build/_chunks/chunk-V7XTFGZX.js +0 -2
  165. package/build/_chunks/chunk-YU4P4WBT.js +0 -3
  166. package/build/components/IconWithBadge/IconWithBadge.d.ts +0 -3
  167. package/build/components/IconWithBadge/index.d.ts +0 -3
  168. package/build/components/IconWithBadge/index.js +0 -1
  169. package/build/components/IconWithBadge/style.d.ts +0 -7
  170. package/build/components/IconWithBadge/type.d.ts +0 -20
  171. package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.d.ts +0 -3
  172. package/build/components/TableCells/CustomCells/ApplicationStatusCell/index.d.ts +0 -2
  173. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +0 -287
  174. package/build/components/TableCells/CustomCells/ApplicationStatusCell/type.d.ts +0 -8
  175. package/build/components/TableCells/CustomCells/LeadStatusCell/LeadStatusCell.d.ts +0 -3
  176. package/build/components/TableCells/CustomCells/LeadStatusCell/constant.d.ts +0 -8
  177. package/build/components/TableCells/CustomCells/LeadStatusCell/index.d.ts +0 -1
  178. package/build/components/TableCells/CustomCells/LeadStatusCell/style.d.ts +0 -2
  179. package/build/components/TableCells/CustomCells/LeadStatusCell/type.d.ts +0 -6
  180. package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.d.ts +0 -4
  181. package/build/components/TableCells/CustomCells/SegmentsCell/constant.d.ts +0 -7
  182. package/build/components/TableCells/CustomCells/SegmentsCell/index.d.ts +0 -2
  183. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +0 -287
  184. package/build/components/TableCells/CustomCells/SegmentsCell/type.d.ts +0 -13
  185. package/build/components/TableCells/CustomCells/SegmentsCell/utils.d.ts +0 -2
@@ -1 +1 @@
1
- import {j}from'./chunk-N76O4JDU.js';import {nc}from'./chunk-NTNU6XF2.js';import {if as _if}from'./chunk-CZLLJ6SR.js';import {forwardRef,memo}from'react';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var a="os-shared-ErrorToast",t={root:`${a}-root`,message:`${a}-message`,icon:`${a}-icon`};var i=styled(Box,{shouldForwardProp:o=>o!=="toastPosition"})(({theme:o,toastPosition:r})=>({width:160,position:"absolute",bottom:12,zIndex:1e3,display:"flex",justifyContent:"space-between",alignItems:"center",backgroundColor:o.v2.palette.background.primary,height:31,gap:o.v2.spacing(8),borderRadius:o.v2.radius(8),borderWidth:1,padding:o.v2.spacing(8),border:`1px solid ${o.v2.palette.border.default}`,boxShadow:"0px 0px 16px 0px #00000014",animation:"slideIn 0.5s ease-out",...r==="bottom-center"&&{left:"50%",transform:"translateX(-50%)"},...r==="bottom-right"&&{right:12,transform:"none"},...r==="bottom-left"&&{left:12,transform:"none"},"@keyframes slideIn":{"0%":{opacity:0,transform:r==="bottom-center"?"translate(-50%, 100%)":r==="bottom-right"?"translateX(100%)":"translateX(-100%)"},"100%":{opacity:1,transform:r==="bottom-center"?"translate(-50%, 0)":"translateX(0)"}}})),l=styled("img")({cursor:"pointer"});var c=forwardRef(({message:o="Something went wrong",onRetry:r,position:f="bottom-center",id:e,className:T,sx:y,...g},x)=>jsxs(i,{ref:x,...g,className:nc(t.root,T),sx:y,id:e,"data-testid":e??"ErrorToast",toastPosition:f,children:[jsx(j,{component:"p",textVariant:"body.small.medium",noWrap:true,className:t.message,children:o}),jsx(l,{className:t.icon,onClick:b=>r?.(b),src:_if,alt:"toast-icon"})]}));c.displayName="ErrorToast";var N=memo(c);export{t as a,N as b};
1
+ import {j}from'./chunk-4Y2COEZC.js';import {nc}from'./chunk-CZWXKHO7.js';import {if as _if}from'./chunk-2GSUGMI7.js';import {forwardRef,memo}from'react';import {styled,Box}from'@mui/material';import {jsxs,jsx}from'react/jsx-runtime';var a="os-shared-ErrorToast",t={root:`${a}-root`,message:`${a}-message`,icon:`${a}-icon`};var i=styled(Box,{shouldForwardProp:o=>o!=="toastPosition"})(({theme:o,toastPosition:r})=>({width:160,position:"absolute",bottom:12,zIndex:1e3,display:"flex",justifyContent:"space-between",alignItems:"center",backgroundColor:o.v2.palette.background.primary,height:31,gap:o.v2.spacing(8),borderRadius:o.v2.radius(8),borderWidth:1,padding:o.v2.spacing(8),border:`1px solid ${o.v2.palette.border.default}`,boxShadow:"0px 0px 16px 0px #00000014",animation:"slideIn 0.5s ease-out",...r==="bottom-center"&&{left:"50%",transform:"translateX(-50%)"},...r==="bottom-right"&&{right:12,transform:"none"},...r==="bottom-left"&&{left:12,transform:"none"},"@keyframes slideIn":{"0%":{opacity:0,transform:r==="bottom-center"?"translate(-50%, 100%)":r==="bottom-right"?"translateX(100%)":"translateX(-100%)"},"100%":{opacity:1,transform:r==="bottom-center"?"translate(-50%, 0)":"translateX(0)"}}})),l=styled("img")({cursor:"pointer"});var c=forwardRef(({message:o="Something went wrong",onRetry:r,position:f="bottom-center",id:e,className:T,sx:y,...g},x)=>jsxs(i,{ref:x,...g,className:nc(t.root,T),sx:y,id:e,"data-testid":e??"ErrorToast",toastPosition:f,children:[jsx(j,{component:"p",textVariant:"body.small.medium",noWrap:true,className:t.message,children:o}),jsx(l,{className:t.icon,onClick:b=>r?.(b),src:_if,alt:"toast-icon"})]}));c.displayName="ErrorToast";var N=memo(c);export{t as a,N as b};
@@ -1 +1 @@
1
- import {Bc}from'./chunk-NTNU6XF2.js';import {t,s}from'./chunk-CZLLJ6SR.js';import {useId}from'react';import S from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var c=styled(S)(()=>({height:10}));styled("span")(({theme:o})=>({fontSize:o.typography.body2.fontSize,lineHeight:"17px",fontWeight:"700"}));styled("span")(()=>({fontWeight:"400"}));var l=styled("span")(({symbol:o,fontSize:e,color:t})=>({display:"inline-block",height:e,width:e,backgroundColor:t,maskImage:`url("${o}")`,maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center",WebkitMaskImage:`url("${o}")`,WebkitMaskSize:"contain",WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"center"}));var u={SAR:s,AED:t};function g({currency:o,fontSize:e,color:t,sx:m={}}){let a=Bc(useId(),"currency-symbol"),n=u[o];return n?t?jsx(l,{id:a,"data-testid":"CurrencySymbol",symbol:n,fontSize:e,color:t,"aria-label":o,role:"img",sx:m}):jsx(c,{id:a,"data-testid":"CurrencySymbol",component:"img",src:n,alt:o,sx:{height:e,...m}}):jsx(Fragment,{children:o})}var b=g;var B=b;export{B as a};
1
+ import {Bc}from'./chunk-CZWXKHO7.js';import {t,s}from'./chunk-2GSUGMI7.js';import {useId}from'react';import S from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,Fragment}from'react/jsx-runtime';var c=styled(S)(()=>({height:10}));styled("span")(({theme:o})=>({fontSize:o.typography.body2.fontSize,lineHeight:"17px",fontWeight:"700"}));styled("span")(()=>({fontWeight:"400"}));var l=styled("span")(({symbol:o,fontSize:e,color:t})=>({display:"inline-block",height:e,width:e,backgroundColor:t,maskImage:`url("${o}")`,maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center",WebkitMaskImage:`url("${o}")`,WebkitMaskSize:"contain",WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"center"}));var u={SAR:s,AED:t};function g({currency:o,fontSize:e,color:t,sx:m={}}){let a=Bc(useId(),"currency-symbol"),n=u[o];return n?t?jsx(l,{id:a,"data-testid":"CurrencySymbol",symbol:n,fontSize:e,color:t,"aria-label":o,role:"img",sx:m}):jsx(c,{id:a,"data-testid":"CurrencySymbol",component:"img",src:n,alt:o,sx:{height:e,...m}}):jsx(Fragment,{children:o})}var b=g;var B=b;export{B as a};
@@ -1 +1 @@
1
- import {j}from'./chunk-N76O4JDU.js';import {s}from'./chunk-DQGA7KCO.js';import {Bc}from'./chunk-NTNU6XF2.js';import {Nj}from'./chunk-CZLLJ6SR.js';import {memo,useId}from'react';import o from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var a=styled(o)(({theme:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:"12px",paddingBottom:"12px",paddingInlineStart:"12px",paddingInlineEnd:"8px",borderBottom:`1px solid ${t.palette.divider}`,height:40})),l=styled(j)(({theme:t})=>({color:t.v2.palette.base.black,fontSize:"11px",fontWeight:500,lineHeight:"13.2px"})),c=styled(o)(()=>({display:"flex",alignItems:"center",gap:"8px"})),x=styled(o)(()=>({display:"flex",alignItems:"center",gap:"4px"})),I=styled(o)(()=>({borderRadius:"8px",overflow:"auto",flexGrow:1,height:"100%",listStyle:"none",margin:0,padding:0,".list-item:last-of-type":{borderBottom:"none"}}));styled(o)(()=>({margin:"12px "}));function w({allowShadow:t=true,children:i,...p}){let r=Bc(useId(),"widget-list"),{onScrollHandler:y,showShadow:L}=s();return jsxs(I,{id:r,component:"ul","data-testid":"Widget_List",onScroll:y,...p,children:[i,L&&t&&jsx(o,{component:"img",src:Nj,sx:{width:"100%",position:"fixed",bottom:0,pointerEvents:"none",right:0,left:0}})]})}var W=memo(w);function T({children:t,icon:i,actions:p,...r}){return jsxs(a,{component:"li","data-testid":"Widget_ListItem",className:`list-item ${r.className}`,...r,children:[jsxs(c,{component:"aside",children:[i&&i,jsx(l,{noWrap:true,className:"content",children:t})]}),p&&jsx(x,{component:"aside",children:p})]})}var R=memo(T);export{W as a,R as b};
1
+ import {j}from'./chunk-4Y2COEZC.js';import {s}from'./chunk-JLL4EOYJ.js';import {Bc}from'./chunk-CZWXKHO7.js';import {Nj}from'./chunk-2GSUGMI7.js';import {memo,useId}from'react';import o from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var a=styled(o)(({theme:t})=>({display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:"12px",paddingBottom:"12px",paddingInlineStart:"12px",paddingInlineEnd:"8px",borderBottom:`1px solid ${t.palette.divider}`,height:40})),l=styled(j)(({theme:t})=>({color:t.v2.palette.base.black,fontSize:"11px",fontWeight:500,lineHeight:"13.2px"})),c=styled(o)(()=>({display:"flex",alignItems:"center",gap:"8px"})),x=styled(o)(()=>({display:"flex",alignItems:"center",gap:"4px"})),I=styled(o)(()=>({borderRadius:"8px",overflow:"auto",flexGrow:1,height:"100%",listStyle:"none",margin:0,padding:0,".list-item:last-of-type":{borderBottom:"none"}}));styled(o)(()=>({margin:"12px "}));function w({allowShadow:t=true,children:i,...p}){let r=Bc(useId(),"widget-list"),{onScrollHandler:y,showShadow:L}=s();return jsxs(I,{id:r,component:"ul","data-testid":"Widget_List",onScroll:y,...p,children:[i,L&&t&&jsx(o,{component:"img",src:Nj,sx:{width:"100%",position:"fixed",bottom:0,pointerEvents:"none",right:0,left:0}})]})}var W=memo(w);function T({children:t,icon:i,actions:p,...r}){return jsxs(a,{component:"li","data-testid":"Widget_ListItem",className:`list-item ${r.className}`,...r,children:[jsxs(c,{component:"aside",children:[i&&i,jsx(l,{noWrap:true,className:"content",children:t})]}),p&&jsx(x,{component:"aside",children:p})]})}var R=memo(T);export{W as a,R as b};
@@ -1 +1 @@
1
- import {j}from'./chunk-N76O4JDU.js';import {nc}from'./chunk-NTNU6XF2.js';import {forwardRef,memo}from'react';import C from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var p="os-shared-Card",o={root:`${p}-root`,header:`${p}-header`,title:`${p}-title`},n=233,f=39;var c=styled(C)(({theme:r})=>{let{grey:e}=r.v2.palette;return {display:"flex",flexDirection:"column",height:n,border:`1px solid ${e[100]}`,borderRadius:r.v2.radius(8),backgroundColor:"#FBFBFB",fontSize:r.v2.typography.textVariants.body.small.regular.fontSize,transform:"scale(1)"}}),y=styled(C,{shouldForwardProp:r=>r!=="$hasStartAdornment"})(({theme:r,$hasStartAdornment:e})=>({display:"flex",alignItems:"center",...e&&{gap:r.v2.spacing(8)},height:f,flexShrink:0,overflow:"visible",padding:`${r.v2.spacing(8)} ${r.v2.spacing(12)}`,borderBottom:`1px solid ${r.v2.palette.grey[100]}`})),x=styled(j)(({theme:r})=>({flexGrow:1,minWidth:0,color:r.v2.palette.grey[900],textTransform:"capitalize"}));var H=forwardRef(({id:r,className:e,sx:d,children:s,...a},l)=>jsx(c,{ref:l,component:"article",id:r,"data-testid":r??"Card",...a,className:nc(o.root,e),sx:d,children:s}));H.displayName="Card";var v=memo(H);var g=forwardRef(({id:r,className:e,sx:d,children:s,startAdornment:a,endAdornment:l,...S},N)=>jsxs(y,{ref:N,component:"header",id:r,"data-testid":r??"CardHeader",...S,$hasStartAdornment:a!=null,className:nc(o.header,e),sx:d,children:[a,jsx(x,{component:"div",textVariant:"body.small.semibold",className:o.title,children:s}),l]}));g.displayName="CardHeader";var T=memo(g);export{o as a,v as b,T as c};
1
+ import {j}from'./chunk-4Y2COEZC.js';import {nc}from'./chunk-CZWXKHO7.js';import {forwardRef,memo}from'react';import C from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx,jsxs}from'react/jsx-runtime';var p="os-shared-Card",o={root:`${p}-root`,header:`${p}-header`,title:`${p}-title`},n=233,f=39;var c=styled(C)(({theme:r})=>{let{grey:e}=r.v2.palette;return {display:"flex",flexDirection:"column",height:n,border:`1px solid ${e[100]}`,borderRadius:r.v2.radius(8),backgroundColor:"#FBFBFB",fontSize:r.v2.typography.textVariants.body.small.regular.fontSize,transform:"scale(1)"}}),y=styled(C,{shouldForwardProp:r=>r!=="$hasStartAdornment"})(({theme:r,$hasStartAdornment:e})=>({display:"flex",alignItems:"center",...e&&{gap:r.v2.spacing(8)},height:f,flexShrink:0,overflow:"visible",padding:`${r.v2.spacing(8)} ${r.v2.spacing(12)}`,borderBottom:`1px solid ${r.v2.palette.grey[100]}`})),x=styled(j)(({theme:r})=>({flexGrow:1,minWidth:0,color:r.v2.palette.grey[900],textTransform:"capitalize"}));var H=forwardRef(({id:r,className:e,sx:d,children:s,...a},l)=>jsx(c,{ref:l,component:"article",id:r,"data-testid":r??"Card",...a,className:nc(o.root,e),sx:d,children:s}));H.displayName="Card";var v=memo(H);var g=forwardRef(({id:r,className:e,sx:d,children:s,startAdornment:a,endAdornment:l,...S},N)=>jsxs(y,{ref:N,component:"header",id:r,"data-testid":r??"CardHeader",...S,$hasStartAdornment:a!=null,className:nc(o.header,e),sx:d,children:[a,jsx(x,{component:"div",textVariant:"body.small.semibold",className:o.title,children:s}),l]}));g.displayName="CardHeader";var T=memo(g);export{o as a,v as b,T as c};
@@ -1 +1 @@
1
- import {r,p as p$1}from'./chunk-N76O4JDU.js';import {Bc}from'./chunk-NTNU6XF2.js';import {useId,Fragment}from'react';import p from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var u=styled(p)(({rows:e,columns:t})=>({display:"grid",gridTemplateColumns:`auto repeat(${t}, 1fr)`,gridTemplateRows:`auto repeat(${e}, 1fr)`,gap:"6px"})),L=styled(p)(()=>({width:24,position:"sticky",top:0,left:0,zIndex:3})),g=styled(p)(({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",textAlign:"center",fontSize:"10px",fontWeight:500,color:e.palette.grey[700],lineHeight:"100%",letterSpacing:"0",position:"sticky",top:0,zIndex:2,backgroundColor:"#fbfbfb"})),M=styled(p)(({theme:e,percentage:t=0})=>({width:"24px",height:"8px",borderRadius:"1px",backgroundColor:t===0?alpha(e.palette.grey[700],.1):alpha(e.palette.info.dark,t)})),O=styled(g)(()=>({fontSize:"9px",top:"auto",left:0,zIndex:1})),w=styled(p)(()=>({padding:"22px 12px",overflow:"auto",maxHeight:"480px"}));function x({xAxis:e,yAxis:t,series:n,isLoading:s,tooltip:l}){let c=Bc(useId(),"heat-map"),d=e.labels,y=t.labels;return jsxs(w,{id:c,"data-testid":"HeatMap",children:[jsxs(u,{className:"x-labels",rows:1,columns:d.length,children:[jsx(L,{}),d.map((r,i)=>jsx(g,{children:e.render?e.render(r):r},`x-${i}-${r}`))]}),jsx(u,{className:"y-labels",rows:y.length,columns:d.length,children:y.map((r$1,i)=>jsxs(Fragment,{children:[jsx(O,{sx:{minWidth:"25px"},children:t.render?t.render(r$1):r$1},`y-${i}-${r$1}`),d.map((m,h)=>{if(s)return jsx(r,{variant:"rectangular",width:"24px",height:"8px"},`${m}-${h}`);let f=n?.[m]?.[r$1]??{};return jsx(p$1,{title:l?.render&&f?.value?l.render(f,m,r$1):null,children:jsx(M,{percentage:f?.colorOpacityDegree})},`${m}-${h}`)})]},`y-${i}-${r$1}`))})]})}var H=[.06,.1,.2,.3,.4,.5,.6,.7,.8,.9,1];function D(e,t,n){if(t===n)return 0;let s=n-t,l=(e-t)/s,c=Math.floor(l*10);return H[Math.max(0,Math.min(10,c))]}var j=x;export{D as a,j as b};
1
+ import {r,p as p$1}from'./chunk-4Y2COEZC.js';import {Bc}from'./chunk-CZWXKHO7.js';import {useId,Fragment}from'react';import p from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';import {jsxs,jsx}from'react/jsx-runtime';var u=styled(p)(({rows:e,columns:t})=>({display:"grid",gridTemplateColumns:`auto repeat(${t}, 1fr)`,gridTemplateRows:`auto repeat(${e}, 1fr)`,gap:"6px"})),L=styled(p)(()=>({width:24,position:"sticky",top:0,left:0,zIndex:3})),g=styled(p)(({theme:e})=>({display:"flex",justifyContent:"center",alignItems:"center",textAlign:"center",fontSize:"10px",fontWeight:500,color:e.palette.grey[700],lineHeight:"100%",letterSpacing:"0",position:"sticky",top:0,zIndex:2,backgroundColor:"#fbfbfb"})),M=styled(p)(({theme:e,percentage:t=0})=>({width:"24px",height:"8px",borderRadius:"1px",backgroundColor:t===0?alpha(e.palette.grey[700],.1):alpha(e.palette.info.dark,t)})),O=styled(g)(()=>({fontSize:"9px",top:"auto",left:0,zIndex:1})),w=styled(p)(()=>({padding:"22px 12px",overflow:"auto",maxHeight:"480px"}));function x({xAxis:e,yAxis:t,series:n,isLoading:s,tooltip:l}){let c=Bc(useId(),"heat-map"),d=e.labels,y=t.labels;return jsxs(w,{id:c,"data-testid":"HeatMap",children:[jsxs(u,{className:"x-labels",rows:1,columns:d.length,children:[jsx(L,{}),d.map((r,i)=>jsx(g,{children:e.render?e.render(r):r},`x-${i}-${r}`))]}),jsx(u,{className:"y-labels",rows:y.length,columns:d.length,children:y.map((r$1,i)=>jsxs(Fragment,{children:[jsx(O,{sx:{minWidth:"25px"},children:t.render?t.render(r$1):r$1},`y-${i}-${r$1}`),d.map((m,h)=>{if(s)return jsx(r,{variant:"rectangular",width:"24px",height:"8px"},`${m}-${h}`);let f=n?.[m]?.[r$1]??{};return jsx(p$1,{title:l?.render&&f?.value?l.render(f,m,r$1):null,children:jsx(M,{percentage:f?.colorOpacityDegree})},`${m}-${h}`)})]},`y-${i}-${r$1}`))})]})}var H=[.06,.1,.2,.3,.4,.5,.6,.7,.8,.9,1];function D(e,t,n){if(t===n)return 0;let s=n-t,l=(e-t)/s,c=Math.floor(l*10);return H[Math.max(0,Math.min(10,c))]}var j=x;export{D as a,j as b};
@@ -1 +1 @@
1
- import {Bc}from'./chunk-NTNU6XF2.js';import {memo,useId}from'react';import a from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var o=styled(a)(()=>({flex:1,position:"relative",display:"flex",flexDirection:"column",height:"100%"}));function e({children:p,...r}){let s=Bc(useId(),"list-layout");return jsx(o,{id:s,component:"article","data-testid":"ListLayout",...r,children:p})}e.displayName="ListLayout";var i=memo(e);var C=i;export{C as a};
1
+ import {Bc}from'./chunk-CZWXKHO7.js';import {memo,useId}from'react';import a from'@mui/material/Box';import {styled}from'@mui/material/styles';import {jsx}from'react/jsx-runtime';var o=styled(a)(()=>({flex:1,position:"relative",display:"flex",flexDirection:"column",height:"100%"}));function e({children:p,...r}){let s=Bc(useId(),"list-layout");return jsx(o,{id:s,component:"article","data-testid":"ListLayout",...r,children:p})}e.displayName="ListLayout";var i=memo(e);var C=i;export{C as a};
@@ -1 +1 @@
1
- import {j,P as P$1,O,V as V$1,R as R$1,d}from'./chunk-N76O4JDU.js';import {nc,mc}from'./chunk-NTNU6XF2.js';import {Qc}from'./chunk-CZLLJ6SR.js';import {forwardRef,useRef,useState,memo}from'react';import Te from'@mui/material/ClickAwayListener';import Le from'@mui/material/CircularProgress';import Ce from'@mui/material/SvgIcon';import {jsx,jsxs}from'react/jsx-runtime';import m from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';var i="os-shared-GroupedSelect",r={root:`${i}-root`,trigger:`${i}-trigger`,hasLabel:`${i}-hasLabel`,triggerIcon:`${i}-triggerIcon`,menu:`${i}-menu`,groups:`${i}-groups`,group:`${i}-group`,groupLabel:`${i}-groupLabel`,option:`${i}-option`,optionCheck:`${i}-optionCheck`};function P({open:e}){return jsx(Ce,{viewBox:"0 0 8 5",sx:{width:8,height:5,transform:e?"rotate(180deg)":"none",transition:"transform 0.2s ease"},children:jsx("path",{d:"M7.30273 0.117188C7.3806 0.115307 7.4565 0.138248 7.52051 0.182617C7.58455 0.227088 7.63373 0.290458 7.66211 0.363281C7.69046 0.436073 7.69761 0.516047 7.68262 0.592773C7.66777 0.668745 7.63069 0.738375 7.57715 0.793945L4.17285 4.43164C4.10255 4.50662 4.00523 4.55078 3.90234 4.55078C3.79964 4.55064 3.703 4.5065 3.63281 4.43164L0.227539 0.794922L0.228516 0.793945C0.175799 0.738766 0.139848 0.669812 0.125 0.594727C0.11011 0.519097 0.116275 0.440194 0.143555 0.368164C0.170957 0.296002 0.218752 0.232474 0.28125 0.1875C0.343758 0.14262 0.418162 0.11821 0.495117 0.118164C0.546901 0.118166 0.598306 0.12907 0.645508 0.150391C0.691832 0.171346 0.733094 0.201824 0.767578 0.239258L3.90234 3.58691L7.03711 0.239258C7.10547 0.164191 7.20108 0.119752 7.30273 0.117188Z",fill:"#20232B",stroke:"#20232B",strokeWidth:.233333})})}var W=styled(m,{shouldForwardProp:e=>e!=="open"&&e!=="disabled"})(({disabled:e})=>({display:"flex",alignItems:"center",cursor:e?"not-allowed":"pointer",position:"relative",maxWidth:"100%"})),A=styled(m,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:t})=>({flex:1,minWidth:0,height:32,maxHeight:32,borderRadius:"4px",overflow:"hidden",backgroundColor:e.palette.grey[400],cursor:t?"default":"pointer",position:"relative",display:"flex",flexDirection:"column",justifyContent:"center",padding:"0 28px 0 8px",[`&:where(.${r.hasLabel})`]:{height:40,maxHeight:40,justifyContent:"flex-end"}})),R=styled(j,{shouldForwardProp:e=>e!=="$disabled"})(({theme:e,$disabled:t})=>({fontSize:"10px",fontWeight:500,lineHeight:"10px",color:t?e.palette.text.disabled:e.palette.grey[700],whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:8})),B=styled(m,{shouldForwardProp:e=>e!=="$placeholder"&&e!=="$disabled"})(({theme:e,$placeholder:t,$disabled:S})=>({fontSize:"11px",lineHeight:"11px",color:S?e.palette.text.disabled:t?e.palette.text.secondary:"#000",height:22,display:"flex",alignItems:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"})),D=styled(m,{shouldForwardProp:e=>e!=="$disabled"})(({theme:e,$disabled:t})=>({position:"absolute",right:8,top:"50%",transform:"translateY(-50%)",width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",opacity:t?e.palette.action.disabledOpacity:1})),F=styled(m)(()=>({display:"flex",flexDirection:"column",maxHeight:180,overflow:"auto",scrollbarWidth:"thin",scrollbarColor:"#E5E5E5 #E5E5E5"})),z=styled(P$1)(({theme:e})=>{let t=`1px solid ${alpha(e.palette.common.black,.1)}`;return {flexShrink:0,border:0,borderRadius:0,"&.Mui-expanded:not(:last-of-type)":{borderBottom:t},[`&:last-of-type .${O.summary}`]:{borderBottom:"none"},[`&.Mui-expanded:last-of-type .${O.summary}`]:{borderBottom:t},[`& .${O.summary}`]:{backgroundColor:e.palette.common.white,borderBottom:t,minHeight:28,height:"auto","& .MuiAccordionSummary-content":{margin:"auto"},"&.Mui-expanded":{backgroundColor:"#F8F8F8",minHeight:28,height:"auto"}},[`& .${O.content}`]:{borderTop:"none"}}}),K=styled(j)(({theme:e})=>({fontSize:"10px",color:e.v2.palette.grey[500],fontWeight:600,lineHeight:"10px"})),V=styled(V$1)(()=>({fontSize:"10px",fontWeight:500,textTransform:"none",justifyContent:"space-between",padding:"8px 20px"}));function Ee(e,t){return e?.id===t?.id}var Y=forwardRef(({id:e,label:t,placeholder:S,renderValue:Z,IconComponent:J,isLoading:Q=false,options:U,value:f,onChange:X,isOptionEqualToValue:_=Ee,renderOption:ee,renderGroupLabel:oe,open:te,onOpenChange:re,expandedGroupIndex:b,defaultExpandedGroupIndex:le=0,onExpandedGroupChange:ne,disabled:p=false,sx:ae,menuSx:ie,className:de},se)=>{let C=useRef(null),[G,pe]=useState(null),[ce,ue]=useState(le),s=te??G!==null,c=G??C.current,me=b??ce,w=useRef(void 0);s&&c&&c.clientWidth>0&&(w.current=c.clientWidth);let ge=w.current,h=(o,l)=>{pe(l),re?.(o);},Se=o=>{if(p)return;let l=!s;h(l,l?o.currentTarget:null);},$=()=>{s&&h(false,null);},fe=o=>{o.key==="Escape"&&$();},he=(o,l)=>{let a=l?o:null;b===void 0&&ue(a),ne?.(a);},ye=o=>{o.disabled||(X?.(o),h(false,null));},T=Z?.(f)??f?.label??null,L=J,E=!!t;return jsx(Te,{onClickAway:$,children:jsxs(W,{ref:se,id:e,"data-testid":"GroupedSelect",className:nc(r.root,de),sx:ae,open:s,disabled:p,onClick:Se,onKeyDown:fe,children:[jsxs(A,{ref:C,className:nc(r.trigger,E&&r.hasLabel),disabled:p,children:[E&&jsx(R,{$disabled:p,children:t}),jsx(B,{$placeholder:T==null,$disabled:p,children:T??S??""}),jsx(D,{className:r.triggerIcon,$disabled:p,children:Q?jsx(Le,{size:14,sx:{color:"text.secondary"}}):L?jsx(L,{className:nc(s&&"MuiSelect-iconOpen")}):jsx(P,{open:s})})]}),jsx(R$1,{open:s,anchorEl:c,placement:"bottom-start",className:r.menu,sx:mc({width:ge??c?.clientWidth,marginTop:"4px"},ie),children:jsx(F,{className:r.groups,onClick:o=>o.stopPropagation(),onMouseDown:o=>o.stopPropagation(),children:(U??[]).map((o,l)=>jsx(z,{className:r.group,expanded:me===l,onChange:a=>he(l,a),slotProps:{root:{square:true}},label:oe?.(o.group,l)??jsx(K,{variant:"caption",className:r.groupLabel,children:o.group}),content:(o?.options||[]).map((a,xe)=>{let be=_(a,f);return jsxs(V,{className:r.option,startAdornment:null,isDisabled:a.disabled,onClick:()=>ye(a),children:[ee?.(a)??a.label,be&&jsx(d,{src:Qc,alt:"selected",sx:{width:14,height:10},className:r.optionCheck})]},`${l}-${xe}`)})},`${l}`))})})]})})});Y.displayName="GroupedSelect";var ke=memo(Y);export{r as a,ke as b};
1
+ import {j,P as P$1,O,V as V$1,R as R$1,d}from'./chunk-4Y2COEZC.js';import {nc,mc}from'./chunk-CZWXKHO7.js';import {Qc}from'./chunk-2GSUGMI7.js';import {forwardRef,useRef,useState,memo}from'react';import Te from'@mui/material/ClickAwayListener';import Le from'@mui/material/CircularProgress';import Ce from'@mui/material/SvgIcon';import {jsx,jsxs}from'react/jsx-runtime';import m from'@mui/material/Box';import {styled,alpha}from'@mui/material/styles';var i="os-shared-GroupedSelect",r={root:`${i}-root`,trigger:`${i}-trigger`,hasLabel:`${i}-hasLabel`,triggerIcon:`${i}-triggerIcon`,menu:`${i}-menu`,groups:`${i}-groups`,group:`${i}-group`,groupLabel:`${i}-groupLabel`,option:`${i}-option`,optionCheck:`${i}-optionCheck`};function P({open:e}){return jsx(Ce,{viewBox:"0 0 8 5",sx:{width:8,height:5,transform:e?"rotate(180deg)":"none",transition:"transform 0.2s ease"},children:jsx("path",{d:"M7.30273 0.117188C7.3806 0.115307 7.4565 0.138248 7.52051 0.182617C7.58455 0.227088 7.63373 0.290458 7.66211 0.363281C7.69046 0.436073 7.69761 0.516047 7.68262 0.592773C7.66777 0.668745 7.63069 0.738375 7.57715 0.793945L4.17285 4.43164C4.10255 4.50662 4.00523 4.55078 3.90234 4.55078C3.79964 4.55064 3.703 4.5065 3.63281 4.43164L0.227539 0.794922L0.228516 0.793945C0.175799 0.738766 0.139848 0.669812 0.125 0.594727C0.11011 0.519097 0.116275 0.440194 0.143555 0.368164C0.170957 0.296002 0.218752 0.232474 0.28125 0.1875C0.343758 0.14262 0.418162 0.11821 0.495117 0.118164C0.546901 0.118166 0.598306 0.12907 0.645508 0.150391C0.691832 0.171346 0.733094 0.201824 0.767578 0.239258L3.90234 3.58691L7.03711 0.239258C7.10547 0.164191 7.20108 0.119752 7.30273 0.117188Z",fill:"#20232B",stroke:"#20232B",strokeWidth:.233333})})}var W=styled(m,{shouldForwardProp:e=>e!=="open"&&e!=="disabled"})(({disabled:e})=>({display:"flex",alignItems:"center",cursor:e?"not-allowed":"pointer",position:"relative",maxWidth:"100%"})),A=styled(m,{shouldForwardProp:e=>e!=="disabled"})(({theme:e,disabled:t})=>({flex:1,minWidth:0,height:32,maxHeight:32,borderRadius:"4px",overflow:"hidden",backgroundColor:e.palette.grey[400],cursor:t?"default":"pointer",position:"relative",display:"flex",flexDirection:"column",justifyContent:"center",padding:"0 28px 0 8px",[`&:where(.${r.hasLabel})`]:{height:40,maxHeight:40,justifyContent:"flex-end"}})),R=styled(j,{shouldForwardProp:e=>e!=="$disabled"})(({theme:e,$disabled:t})=>({fontSize:"10px",fontWeight:500,lineHeight:"10px",color:t?e.palette.text.disabled:e.palette.grey[700],whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingTop:8})),B=styled(m,{shouldForwardProp:e=>e!=="$placeholder"&&e!=="$disabled"})(({theme:e,$placeholder:t,$disabled:S})=>({fontSize:"11px",lineHeight:"11px",color:S?e.palette.text.disabled:t?e.palette.text.secondary:"#000",height:22,display:"flex",alignItems:"center",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"})),D=styled(m,{shouldForwardProp:e=>e!=="$disabled"})(({theme:e,$disabled:t})=>({position:"absolute",right:8,top:"50%",transform:"translateY(-50%)",width:16,height:16,display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",opacity:t?e.palette.action.disabledOpacity:1})),F=styled(m)(()=>({display:"flex",flexDirection:"column",maxHeight:180,overflow:"auto",scrollbarWidth:"thin",scrollbarColor:"#E5E5E5 #E5E5E5"})),z=styled(P$1)(({theme:e})=>{let t=`1px solid ${alpha(e.palette.common.black,.1)}`;return {flexShrink:0,border:0,borderRadius:0,"&.Mui-expanded:not(:last-of-type)":{borderBottom:t},[`&:last-of-type .${O.summary}`]:{borderBottom:"none"},[`&.Mui-expanded:last-of-type .${O.summary}`]:{borderBottom:t},[`& .${O.summary}`]:{backgroundColor:e.palette.common.white,borderBottom:t,minHeight:28,height:"auto","& .MuiAccordionSummary-content":{margin:"auto"},"&.Mui-expanded":{backgroundColor:"#F8F8F8",minHeight:28,height:"auto"}},[`& .${O.content}`]:{borderTop:"none"}}}),K=styled(j)(({theme:e})=>({fontSize:"10px",color:e.v2.palette.grey[500],fontWeight:600,lineHeight:"10px"})),V=styled(V$1)(()=>({fontSize:"10px",fontWeight:500,textTransform:"none",justifyContent:"space-between",padding:"8px 20px"}));function Ee(e,t){return e?.id===t?.id}var Y=forwardRef(({id:e,label:t,placeholder:S,renderValue:Z,IconComponent:J,isLoading:Q=false,options:U,value:f,onChange:X,isOptionEqualToValue:_=Ee,renderOption:ee,renderGroupLabel:oe,open:te,onOpenChange:re,expandedGroupIndex:b,defaultExpandedGroupIndex:le=0,onExpandedGroupChange:ne,disabled:p=false,sx:ae,menuSx:ie,className:de},se)=>{let C=useRef(null),[G,pe]=useState(null),[ce,ue]=useState(le),s=te??G!==null,c=G??C.current,me=b??ce,w=useRef(void 0);s&&c&&c.clientWidth>0&&(w.current=c.clientWidth);let ge=w.current,h=(o,l)=>{pe(l),re?.(o);},Se=o=>{if(p)return;let l=!s;h(l,l?o.currentTarget:null);},$=()=>{s&&h(false,null);},fe=o=>{o.key==="Escape"&&$();},he=(o,l)=>{let a=l?o:null;b===void 0&&ue(a),ne?.(a);},ye=o=>{o.disabled||(X?.(o),h(false,null));},T=Z?.(f)??f?.label??null,L=J,E=!!t;return jsx(Te,{onClickAway:$,children:jsxs(W,{ref:se,id:e,"data-testid":"GroupedSelect",className:nc(r.root,de),sx:ae,open:s,disabled:p,onClick:Se,onKeyDown:fe,children:[jsxs(A,{ref:C,className:nc(r.trigger,E&&r.hasLabel),disabled:p,children:[E&&jsx(R,{$disabled:p,children:t}),jsx(B,{$placeholder:T==null,$disabled:p,children:T??S??""}),jsx(D,{className:r.triggerIcon,$disabled:p,children:Q?jsx(Le,{size:14,sx:{color:"text.secondary"}}):L?jsx(L,{className:nc(s&&"MuiSelect-iconOpen")}):jsx(P,{open:s})})]}),jsx(R$1,{open:s,anchorEl:c,placement:"bottom-start",className:r.menu,sx:mc({width:ge??c?.clientWidth,marginTop:"4px"},ie),children:jsx(F,{className:r.groups,onClick:o=>o.stopPropagation(),onMouseDown:o=>o.stopPropagation(),children:(U??[]).map((o,l)=>jsx(z,{className:r.group,expanded:me===l,onChange:a=>he(l,a),slotProps:{root:{square:true}},label:oe?.(o.group,l)??jsx(K,{variant:"caption",className:r.groupLabel,children:o.group}),content:(o?.options||[]).map((a,xe)=>{let be=_(a,f);return jsxs(V,{className:r.option,startAdornment:null,isDisabled:a.disabled,onClick:()=>ye(a),children:[ee?.(a)??a.label,be&&jsx(d,{src:Qc,alt:"selected",sx:{width:14,height:10},className:r.optionCheck})]},`${l}-${xe}`)})},`${l}`))})})]})})});Y.displayName="GroupedSelect";var ke=memo(Y);export{r as a,ke as b};
@@ -1 +1 @@
1
- import {j}from'./chunk-N76O4JDU.js';import {styled,Box,Button}from'@mui/material';var d=styled(j)(({theme:o})=>{let{grey:r}=o.v2.palette;return {fontWeight:o.v2.typography.fontWeightMedium,fontSize:"0.6875rem",color:r[500],paddingInlineStart:o.v2.spacing(16),paddingTop:o.v2.spacing(8),paddingBottom:o.v2.spacing(8),paddingInlineEnd:o.v2.spacing(8),borderBottom:`1px solid ${r[100]}`}}),l=styled(Box)(({theme:o})=>({padding:"8px 16px",display:"flex",gap:"8px",justifyContent:"center",position:"sticky",bottom:0,backgroundColor:"white",zIndex:99999,borderTop:`1px solid ${o.palette.divider}`})),c=styled(Button)(({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}})),s=styled(Button)(({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"}}));export{d as a,l as b,c,s as d};
1
+ import {j}from'./chunk-4Y2COEZC.js';import {styled,Box,Button}from'@mui/material';var d=styled(j)(({theme:o})=>{let{grey:r}=o.v2.palette;return {fontWeight:o.v2.typography.fontWeightMedium,fontSize:"0.6875rem",color:r[500],paddingInlineStart:o.v2.spacing(16),paddingTop:o.v2.spacing(8),paddingBottom:o.v2.spacing(8),paddingInlineEnd:o.v2.spacing(8),borderBottom:`1px solid ${r[100]}`}}),l=styled(Box)(({theme:o})=>({padding:"8px 16px",display:"flex",gap:"8px",justifyContent:"center",position:"sticky",bottom:0,backgroundColor:"white",zIndex:99999,borderTop:`1px solid ${o.palette.divider}`})),c=styled(Button)(({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}})),s=styled(Button)(({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"}}));export{d as a,l as b,c,s as d};
@@ -1 +1 @@
1
- import {Bc}from'./chunk-NTNU6XF2.js';import {Dn}from'./chunk-CZLLJ6SR.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===Dn.reports.code||o===Dn.upload.code?jsx(x,{}):jsx(h,{}),c=F;var G=c;export{G as a};
1
+ import {Bc}from'./chunk-CZWXKHO7.js';import {Dn}from'./chunk-2GSUGMI7.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===Dn.reports.code||o===Dn.upload.code?jsx(x,{}):jsx(h,{}),c=F;var G=c;export{G as a};
@@ -1 +1 @@
1
- import {r}from'./chunk-N76O4JDU.js';import {Bc,db}from'./chunk-NTNU6XF2.js';import {useId}from'react';import {motion}from'framer-motion';import {Box,Typography}from'@mui/material';import {styled}from'@mui/material/styles';import I from'@mui/material/Box';import {jsxs,jsx}from'react/jsx-runtime';var u=styled(Box)(({size:t})=>({display:"flex",flexDirection:"column",alignItems:"center",width:t,height:t,position:"relative"})),y=styled(Box)({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",textAlign:"center"}),b=styled(Typography,{shouldForwardProp:t=>t!=="isEmpty"})(({isEmpty:t})=>({fontSize:"17px",fontWeight:700,color:t?"#CFD0D2":"#000"})),D=styled(Typography,{shouldForwardProp:t=>t!=="isEmpty"})(({isEmpty:t})=>({whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:t?"#CFD0D2":"#8D8D94",fontSize:"11px",fontWeight:500,letterSpacing:"0%",textAlign:"right",verticalAlign:"middle"}));var C=()=>jsxs(I,{component:"span",sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:"6px"},children:[jsx(r,{width:51,height:16}),jsx(r,{width:84,height:8})]});var v=({value:t,label:k,size:o=172,strokeWidth:p=22,isLoading:l=false})=>{let E=Bc(useId(),"progress-ring"),m=t==null||t==="",F=db(t||"0"),s=Math.min(Math.max(F??0,0),100),c=(o-p)/2,n=2*Math.PI*c,r=o/2;return jsxs(u,{id:E,"data-testid":"ProgressRing",size:o,children:[jsxs("svg",{width:o,height:o,viewBox:`0 0 ${o} ${o}`,style:{position:"absolute",top:0,left:0},children:[jsx("defs",{children:jsxs("linearGradient",{id:"progressGradient",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[jsx("stop",{offset:"0.67%",stopColor:"#3DA6E1"}),jsx("stop",{offset:"98.91%",stopColor:"#147DC5"})]})}),jsx("circle",{cx:r,cy:r,r:c,stroke:"#F3F3F3",strokeWidth:p,fill:"transparent"}),jsx(motion.circle,{cx:r,cy:r,r:c,stroke:"url(#progressGradient)",strokeWidth:p,fill:"transparent",strokeLinecap:"round",strokeDasharray:n,strokeDashoffset:n,transform:`rotate(-90 ${r} ${r})`,animate:{strokeDashoffset:l?n:n-n*s/100},transition:{duration:1,ease:"easeOut"}})]}),jsxs(y,{children:[jsx(b,{isEmpty:m,children:l?jsx(C,{}):m?"----":jsxs(motion.span,{initial:{opacity:0},animate:{opacity:1},transition:{ease:"easeOut",duration:.5},children:[Number.isInteger(s)?s:s.toFixed(1),"%"]})}),!l&&jsx(D,{isEmpty:m,children:k})]})]})},T=v;var U=T;export{U as a};
1
+ import {r}from'./chunk-4Y2COEZC.js';import {Bc,db}from'./chunk-CZWXKHO7.js';import {useId}from'react';import {motion}from'framer-motion';import {Box,Typography}from'@mui/material';import {styled}from'@mui/material/styles';import I from'@mui/material/Box';import {jsxs,jsx}from'react/jsx-runtime';var u=styled(Box)(({size:t})=>({display:"flex",flexDirection:"column",alignItems:"center",width:t,height:t,position:"relative"})),y=styled(Box)({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",textAlign:"center"}),b=styled(Typography,{shouldForwardProp:t=>t!=="isEmpty"})(({isEmpty:t})=>({fontSize:"17px",fontWeight:700,color:t?"#CFD0D2":"#000"})),D=styled(Typography,{shouldForwardProp:t=>t!=="isEmpty"})(({isEmpty:t})=>({whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:t?"#CFD0D2":"#8D8D94",fontSize:"11px",fontWeight:500,letterSpacing:"0%",textAlign:"right",verticalAlign:"middle"}));var C=()=>jsxs(I,{component:"span",sx:{display:"flex",flexDirection:"column",alignItems:"center",gap:"6px"},children:[jsx(r,{width:51,height:16}),jsx(r,{width:84,height:8})]});var v=({value:t,label:k,size:o=172,strokeWidth:p=22,isLoading:l=false})=>{let E=Bc(useId(),"progress-ring"),m=t==null||t==="",F=db(t||"0"),s=Math.min(Math.max(F??0,0),100),c=(o-p)/2,n=2*Math.PI*c,r=o/2;return jsxs(u,{id:E,"data-testid":"ProgressRing",size:o,children:[jsxs("svg",{width:o,height:o,viewBox:`0 0 ${o} ${o}`,style:{position:"absolute",top:0,left:0},children:[jsx("defs",{children:jsxs("linearGradient",{id:"progressGradient",x1:"0%",y1:"0%",x2:"100%",y2:"0%",children:[jsx("stop",{offset:"0.67%",stopColor:"#3DA6E1"}),jsx("stop",{offset:"98.91%",stopColor:"#147DC5"})]})}),jsx("circle",{cx:r,cy:r,r:c,stroke:"#F3F3F3",strokeWidth:p,fill:"transparent"}),jsx(motion.circle,{cx:r,cy:r,r:c,stroke:"url(#progressGradient)",strokeWidth:p,fill:"transparent",strokeLinecap:"round",strokeDasharray:n,strokeDashoffset:n,transform:`rotate(-90 ${r} ${r})`,animate:{strokeDashoffset:l?n:n-n*s/100},transition:{duration:1,ease:"easeOut"}})]}),jsxs(y,{children:[jsx(b,{isEmpty:m,children:l?jsx(C,{}):m?"----":jsxs(motion.span,{initial:{opacity:0},animate:{opacity:1},transition:{ease:"easeOut",duration:.5},children:[Number.isInteger(s)?s:s.toFixed(1),"%"]})}),!l&&jsx(D,{isEmpty:m,children:k})]})]})},T=v;var U=T;export{U as a};