sprint-asia-custom-component 0.1.52 → 0.1.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -101,14 +101,15 @@
101
101
  // THIS FILE IS AUTO GENERATED
102
102
  function PiBellDuotone(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M208,192H48a8,8,0,0,1-6.88-12C47.71,168.6,56,139.81,56,104a72,72,0,0,1,144,0c0,35.82,8.3,64.6,14.9,76A8,8,0,0,1,208,192Z","opacity":"0.2"}},{"tag":"path","attr":{"d":"M221.8,175.94C216.25,166.38,208,139.33,208,104a80,80,0,1,0-160,0c0,35.34-8.26,62.38-13.81,71.94A16,16,0,0,0,48,200H88.81a40,40,0,0,0,78.38,0H208a16,16,0,0,0,13.8-24.06ZM128,216a24,24,0,0,1-22.62-16h45.24A24,24,0,0,1,128,216ZM48,184c7.7-13.24,16-43.92,16-80a64,64,0,1,1,128,0c0,36.05,8.28,66.73,16,80Z"}}]})(props);}function PiCalendarDuotone(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z","opacity":"0.2"}},{"tag":"path","attr":{"d":"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Zm-96-88v64a8,8,0,0,1-16,0V132.94l-4.42,2.22a8,8,0,0,1-7.16-14.32l16-8A8,8,0,0,1,112,120Zm59.16,30.45L152,176h16a8,8,0,0,1,0,16H136a8,8,0,0,1-6.4-12.8l28.78-38.37A8,8,0,1,0,145.07,132a8,8,0,1,1-13.85-8A24,24,0,0,1,176,136,23.76,23.76,0,0,1,171.16,150.45Z"}}]})(props);}function PiDoorOpenDuotone(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M200,40V224H168V40a8,8,0,0,0-8-8h32A8,8,0,0,1,200,40Z","opacity":"0.2"}},{"tag":"path","attr":{"d":"M232,216H208V40a16,16,0,0,0-16-16H64A16,16,0,0,0,48,40V216H24a8,8,0,0,0,0,16H232a8,8,0,0,0,0-16ZM192,40V216H176V40ZM64,40h96V216H64Zm80,92a12,12,0,1,1-12-12A12,12,0,0,1,144,132Z"}}]})(props);}function PiDownloadSimpleDuotone(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M168,112l-40,40L88,112Z","opacity":"0.2"}},{"tag":"path","attr":{"d":"M224,152v56a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V152a8,8,0,0,1,16,0v56H208V152a8,8,0,0,1,16,0ZM82.34,117.66A8,8,0,0,1,88,104h32V40a8,8,0,0,1,16,0v64h32a8,8,0,0,1,5.66,13.66l-40,40a8,8,0,0,1-11.32,0Zm25,2.34L128,140.69,148.69,120Z"}}]})(props);}function PiFileArrowUpDuotone(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M208,88H152V32Z","opacity":"0.2"}},{"tag":"path","attr":{"d":"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-42.34-77.66a8,8,0,0,1-11.32,11.32L136,139.31V184a8,8,0,0,1-16,0V139.31l-10.34,10.35a8,8,0,0,1-11.32-11.32l24-24a8,8,0,0,1,11.32,0Z"}}]})(props);}function PiFileDuotone(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M208,88H152V32Z","opacity":"0.2"}},{"tag":"path","attr":{"d":"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Z"}}]})(props);}function PiFunnelDuotone(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M221.9,61.38l-67.74,72.31a8,8,0,0,0-2.16,5.47v55.49a8,8,0,0,1-3.56,6.66l-32,21.33A8,8,0,0,1,104,216V139.16a8,8,0,0,0-2.16-5.47L34.1,61.38A8,8,0,0,1,40,48H216A8,8,0,0,1,221.9,61.38Z","opacity":"0.2"}},{"tag":"path","attr":{"d":"M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm108.34,72.28A15.92,15.92,0,0,0,144,139.17v55.49L112,216V139.17a15.92,15.92,0,0,0-4.32-10.94L40,56H216Z"}}]})(props);}function PiInfoDuotone(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z","opacity":"0.2"}},{"tag":"path","attr":{"d":"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}}]})(props);}function PiMagnifyingGlassDuotone(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z","opacity":"0.2"}},{"tag":"path","attr":{"d":"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}}]})(props);}function PiUserCircleDuotone(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M224,128a95.76,95.76,0,0,1-31.8,71.37A72,72,0,0,0,128,160a40,40,0,1,0-40-40,40,40,0,0,0,40,40,72,72,0,0,0-64.2,39.37h0A96,96,0,1,1,224,128Z","opacity":"0.2"}},{"tag":"path","attr":{"d":"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24ZM74.08,197.5a64,64,0,0,1,107.84,0,87.83,87.83,0,0,1-107.84,0ZM96,120a32,32,0,1,1,32,32A32,32,0,0,1,96,120Zm97.76,66.41a79.66,79.66,0,0,0-36.06-28.75,48,48,0,1,0-59.4,0,79.66,79.66,0,0,0-36.06,28.75,88,88,0,1,1,131.52,0Z"}}]})(props);}function PiWalletDuotone(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M224,88V200a8,8,0,0,1-8,8H56a16,16,0,0,1-16-16V64A16,16,0,0,0,56,80H216A8,8,0,0,1,224,88Z","opacity":"0.2"}},{"tag":"path","attr":{"d":"M216,72H56a8,8,0,0,1,0-16H192a8,8,0,0,0,0-16H56A24,24,0,0,0,32,64V192a24,24,0,0,0,24,24H216a16,16,0,0,0,16-16V88A16,16,0,0,0,216,72Zm0,128H56a8,8,0,0,1-8-8V86.63A23.84,23.84,0,0,0,56,88H216Zm-48-60a12,12,0,1,1,12,12A12,12,0,0,1,168,140Z"}}]})(props);}function PiCheckCircleFill(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}}]})(props);}function PiFileTextFill(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,176H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm-8-56V44l44,44Z"}}]})(props);}function PiInfoFill(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}}]})(props);}function PiReceiptFill(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M216,40H40A16,16,0,0,0,24,56V208a8,8,0,0,0,11.58,7.15L64,200.94l28.42,14.21a8,8,0,0,0,7.16,0L128,200.94l28.42,14.21a8,8,0,0,0,7.16,0L192,200.94l28.42,14.21A8,8,0,0,0,232,208V56A16,16,0,0,0,216,40ZM176,144H80a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Zm0-32H80a8,8,0,0,1,0-16h96a8,8,0,0,1,0,16Z"}}]})(props);}function PiShoppingBagFill(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm-88,96A48.05,48.05,0,0,1,80,88a8,8,0,0,1,16,0,32,32,0,0,0,64,0,8,8,0,0,1,16,0A48.05,48.05,0,0,1,128,136Z"}}]})(props);}function PiWalletFill(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M216,72H56a8,8,0,0,1,0-16H192a8,8,0,0,0,0-16H56A24,24,0,0,0,32,64V192a24,24,0,0,0,24,24H216a16,16,0,0,0,16-16V88A16,16,0,0,0,216,72Zm-36,80a12,12,0,1,1,12-12A12,12,0,0,1,180,152Z"}}]})(props);}function PiEyeClosedLight(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M229.21,165a6,6,0,0,1-10.42,6l-20-35.08a122,122,0,0,1-39,18.09l6.17,37a6,6,0,0,1-4.93,6.91,6.85,6.85,0,0,1-1,.08,6,6,0,0,1-5.91-5L148,156.44a128.86,128.86,0,0,1-40,0L101.92,193A6,6,0,0,1,96,198a6.85,6.85,0,0,1-1-.08A6,6,0,0,1,90.08,191l6.17-37a122,122,0,0,1-39-18.09L37.21,171a6,6,0,1,1-10.42-6l20.85-36.48a152,152,0,0,1-20.31-20.77,6,6,0,0,1,9.34-7.54C53.54,121.11,83.07,146,128,146s74.46-24.89,91.33-45.77a6,6,0,0,1,9.34,7.54,152,152,0,0,1-20.31,20.77Z"}}]})(props);}function PiArchive(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M224,48H32A16,16,0,0,0,16,64V88a16,16,0,0,0,16,16v88a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V104a16,16,0,0,0,16-16V64A16,16,0,0,0,224,48ZM208,192H48V104H208ZM224,88H32V64H224V88ZM96,136a8,8,0,0,1,8-8h48a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Z"}}]})(props);}function PiCaretDown(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}}]})(props);}function PiCaretLeft(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}}]})(props);}function PiCaretRight(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}}]})(props);}function PiCaretUp(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M213.66,165.66a8,8,0,0,1-11.32,0L128,91.31,53.66,165.66a8,8,0,0,1-11.32-11.32l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,213.66,165.66Z"}}]})(props);}function PiClock(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}}]})(props);}function PiEye(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}}]})(props);}function PiFileArrowDown(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M213.66,82.34l-56-56A8,8,0,0,0,152,24H56A16,16,0,0,0,40,40V216a16,16,0,0,0,16,16H200a16,16,0,0,0,16-16V88A8,8,0,0,0,213.66,82.34ZM160,51.31,188.69,80H160ZM200,216H56V40h88V88a8,8,0,0,0,8,8h48V216Zm-42.34-61.66a8,8,0,0,1,0,11.32l-24,24a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L120,164.69V120a8,8,0,0,1,16,0v44.69l10.34-10.35A8,8,0,0,1,157.66,154.34Z"}}]})(props);}function PiFunnel(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M230.6,49.53A15.81,15.81,0,0,0,216,40H40A16,16,0,0,0,28.19,66.76l.08.09L96,139.17V216a16,16,0,0,0,24.87,13.32l32-21.34A16,16,0,0,0,160,194.66V139.17l67.74-72.32.08-.09A15.8,15.8,0,0,0,230.6,49.53ZM40,56h0Zm108.34,72.28A15.92,15.92,0,0,0,144,139.17v55.49L112,216V139.17a15.92,15.92,0,0,0-4.32-10.94L40,56H216Z"}}]})(props);}function PiImage(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40Zm0,16V158.75l-26.07-26.06a16,16,0,0,0-22.63,0l-20,20-44-44a16,16,0,0,0-22.62,0L40,149.37V56ZM40,172l52-52,80,80H40Zm176,28H194.63l-36-36,20-20L216,181.38V200ZM144,100a12,12,0,1,1,12,12A12,12,0,0,1,144,100Z"}}]})(props);}function PiInfo(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}}]})(props);}function PiMagnifyingGlass(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}}]})(props);}function PiNotePencil(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M229.66,58.34l-32-32a8,8,0,0,0-11.32,0l-96,96A8,8,0,0,0,88,128v32a8,8,0,0,0,8,8h32a8,8,0,0,0,5.66-2.34l96-96A8,8,0,0,0,229.66,58.34ZM124.69,152H104V131.31l64-64L188.69,88ZM200,76.69,179.31,56,192,43.31,212.69,64ZM224,120v88a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32h88a8,8,0,0,1,0,16H48V208H208V120a8,8,0,0,1,16,0Z"}}]})(props);}function PiPlus(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"}}]})(props);}function PiTrash(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M216,48H176V40a24,24,0,0,0-24-24H104A24,24,0,0,0,80,40v8H40a8,8,0,0,0,0,16h8V208a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64h8a8,8,0,0,0,0-16ZM96,40a8,8,0,0,1,8-8h48a8,8,0,0,1,8,8v8H96Zm96,168H64V64H192ZM112,104v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Zm48,0v64a8,8,0,0,1-16,0V104a8,8,0,0,1,16,0Z"}}]})(props);}function PiUser(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M230.92,212c-15.23-26.33-38.7-45.21-66.09-54.16a72,72,0,1,0-73.66,0C63.78,166.78,40.31,185.66,25.08,212a8,8,0,1,0,13.85,8c18.84-32.56,52.14-52,89.07-52s70.23,19.44,89.07,52a8,8,0,1,0,13.85-8ZM72,96a56,56,0,1,1,56,56A56.06,56.06,0,0,1,72,96Z"}}]})(props);}function PiX(props){return GenIcon({"tag":"svg","attr":{"viewBox":"0 0 256 256","fill":"currentColor"},"child":[{"tag":"path","attr":{"d":"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}}]})(props);}
103
103
 
104
- const OutlineButton = ({
105
- title = "Button",
106
- type = "wrap",
107
- isActive = true,
108
- size = "large",
109
- isIconVisible = false,
110
- onClick = () => {}
111
- }) => {
104
+ const OutlineButton = _ref => {
105
+ let {
106
+ title = "Button",
107
+ type = "wrap",
108
+ isActive = true,
109
+ size = "large",
110
+ isIconVisible = false,
111
+ onClick = () => {}
112
+ } = _ref;
112
113
  const [isPressed, setIsPressed] = React.useState(false);
113
114
  const handleButtonPress = () => {
114
115
  setIsPressed(true);
@@ -120,16 +121,7 @@
120
121
  onClick();
121
122
  };
122
123
  return /*#__PURE__*/React__default["default"].createElement("button", {
123
- className: `
124
- ${isPressed && isActive ? 'bg-white text-primary500 border-2 border-primary500 text-primary500' : isActive ? 'bg-white border-2 border-primary500 text-primary500' : 'bg-neutral30 text-neutral80 cursor-default'}
125
- ${type === "full" && "w-full"}
126
- ${size === "small" && "text-sm h-7 w-32"}
127
- ${size === "medium" && "text-md h-8"}
128
- ${size === "large" && "text-lg h-10"}
129
- ${size === "very large" && "text-xl h-12"}
130
- ${size === "extra very large" && "text-2xl h-14"}
131
- ${size === "detail division" && "text-sm h-10 w-24"}
132
- rounded-lg drop-shadow-md text-center py-1.5 px-4 flex justify-center items-center`,
124
+ className: "\n ".concat(isPressed && isActive ? 'bg-white text-primary500 border-2 border-primary500 text-primary500' : isActive ? 'bg-white border-2 border-primary500 text-primary500' : 'bg-neutral30 text-neutral80 cursor-default', "\n ").concat(type === "full" && "w-full", "\n ").concat(size === "small" && "text-sm h-7 w-32", "\n ").concat(size === "medium" && "text-md h-8", "\n ").concat(size === "large" && "text-lg h-10", "\n ").concat(size === "very large" && "text-xl h-12", "\n ").concat(size === "extra very large" && "text-2xl h-14", "\n ").concat(size === "detail division" && "text-sm h-10 w-24", "\n rounded-lg drop-shadow-md text-center py-1.5 px-4 flex justify-center items-center"),
133
125
  disabled: !isActive,
134
126
  onClick: handleClick,
135
127
  onMouseDown: handleButtonPress,
@@ -144,38 +136,29 @@
144
136
  }), /*#__PURE__*/React__default["default"].createElement("p", null, title)));
145
137
  };
146
138
 
147
- const Alert = ({
148
- title = "Title",
149
- subtitle = "Subtitle",
150
- type = "primary",
151
- titleLeftButton,
152
- titleRightButton,
153
- onCloseButton,
154
- onClickLeftButton,
155
- onClickRightButton
156
- }) => {
139
+ const Alert = _ref => {
140
+ let {
141
+ title = "Title",
142
+ subtitle = "Subtitle",
143
+ type = "primary",
144
+ titleLeftButton,
145
+ titleRightButton,
146
+ onCloseButton,
147
+ onClickLeftButton,
148
+ onClickRightButton
149
+ } = _ref;
157
150
  return /*#__PURE__*/React__default["default"].createElement("div", {
158
- className: `
159
- ${type === "primary" && "bg-primary50 border-primary600"}
160
- ${type === "warning" && "bg-warning50 border-warning800"}
161
- ${type === "success" && "bg-success50 border-success600"}
162
- ${type === "danger" && "bg-danger50 border-danger500"}
163
- w-full flex justify-between p-3 border rounded-md`
151
+ className: "\n ".concat(type === "primary" && "bg-primary50 border-primary600", " \n ").concat(type === "warning" && "bg-warning50 border-warning800", " \n ").concat(type === "success" && "bg-success50 border-success600", " \n ").concat(type === "danger" && "bg-danger50 border-danger500", " \n w-full flex justify-between p-3 border rounded-md")
164
152
  }, /*#__PURE__*/React__default["default"].createElement("div", {
165
153
  className: "w-full flex"
166
154
  }, /*#__PURE__*/React__default["default"].createElement("div", null, type === "success" ? /*#__PURE__*/React__default["default"].createElement(PiCheckCircleFill, {
167
155
  size: "24",
168
156
  variant: "Bold",
169
- className: `
170
- ${type === "success" && "text-success600"} mr-2`
157
+ className: "\n ".concat(type === "success" && "text-success600", " mr-2")
171
158
  }) : /*#__PURE__*/React__default["default"].createElement(PiInfoFill, {
172
159
  size: "24",
173
160
  variant: "Bold",
174
- className: `
175
- ${type === "primary" && "text-primary600"}
176
- ${type === "warning" && "text-warning800"}
177
- ${type === "danger" && "text-danger500"}
178
- mr-2`
161
+ className: "\n ".concat(type === "primary" && "text-primary600", "\n ").concat(type === "warning" && "text-warning800", "\n ").concat(type === "danger" && "text-danger500", " \n mr-2")
179
162
  })), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("p", {
180
163
  className: "text-md font-semibold text-black"
181
164
  }, title), /*#__PURE__*/React__default["default"].createElement("p", {
@@ -205,13 +188,14 @@
205
188
  }))));
206
189
  };
207
190
 
208
- const DangerButton = ({
209
- title = "Button",
210
- type = "wrap",
211
- isActive = true,
212
- size = "large",
213
- onClick = () => {}
214
- }) => {
191
+ const DangerButton = _ref => {
192
+ let {
193
+ title = "Button",
194
+ type = "wrap",
195
+ isActive = true,
196
+ size = "large",
197
+ onClick = () => {}
198
+ } = _ref;
215
199
  const [isPressed, setIsPressed] = React.useState(false);
216
200
  const handleButtonPress = () => {
217
201
  setIsPressed(true);
@@ -223,16 +207,7 @@
223
207
  onClick();
224
208
  };
225
209
  return /*#__PURE__*/React__default["default"].createElement("button", {
226
- className: `
227
- ${isPressed && isActive ? 'bg-danger700 text-white' : isActive ? 'bg-danger500 hover:bg-danger600 text-white' : 'bg-neutral30 text-neutral80 cursor-default'}
228
- ${type === "full" && "w-full"}
229
- ${size === "small" && "text-sm h-7"}
230
- ${size === "medium" && "text-md h-8"}
231
- ${size === "large" && "text-lg h-10"}
232
- ${size === "very large" && "text-xl h-12"}
233
- ${size === "extra very large" && "text-2xl h-14"}
234
- ${size === "detail division" && "text-sm h-10"}
235
- rounded-lg drop-shadow-md text-center py-1.5 px-4 flex justify-center items-center`,
210
+ className: "\n ".concat(isPressed && isActive ? 'bg-danger700 text-white' : isActive ? 'bg-danger500 hover:bg-danger600 text-white' : 'bg-neutral30 text-neutral80 cursor-default', " \n ").concat(type === "full" && "w-full", "\n ").concat(size === "small" && "text-sm h-7", "\n ").concat(size === "medium" && "text-md h-8", "\n ").concat(size === "large" && "text-lg h-10", "\n ").concat(size === "very large" && "text-xl h-12", "\n ").concat(size === "extra very large" && "text-2xl h-14", "\n ").concat(size === "detail division" && "text-sm h-10", "\n rounded-lg drop-shadow-md text-center py-1.5 px-4 flex justify-center items-center"),
236
211
  disabled: !isActive,
237
212
  onClick: handleClick,
238
213
  onMouseDown: handleButtonPress,
@@ -242,13 +217,14 @@
242
217
  }, title);
243
218
  };
244
219
 
245
- const PrimaryButton = ({
246
- title = "Button",
247
- type = "wrap",
248
- isActive = true,
249
- size = "large",
250
- onClick = () => {}
251
- }) => {
220
+ const PrimaryButton = _ref => {
221
+ let {
222
+ title = "Button",
223
+ type = "wrap",
224
+ isActive = true,
225
+ size = "large",
226
+ onClick = () => {}
227
+ } = _ref;
252
228
  const [isPressed, setIsPressed] = React.useState(false);
253
229
  const handleButtonPress = () => {
254
230
  setIsPressed(true);
@@ -260,16 +236,7 @@
260
236
  onClick();
261
237
  };
262
238
  return /*#__PURE__*/React__default["default"].createElement("button", {
263
- className: `
264
- ${isPressed && isActive ? 'bg-primary700 text-white' : isActive ? 'bg-primary500 hover:bg-primary600 text-white cursor-pointer' : 'bg-neutral30 text-neutral80 cursor-default'}
265
- ${type === "full" && "w-full"}
266
- ${size === "small" && "text-sm h-7"}
267
- ${size === "medium" && "text-md h-8"}
268
- ${size === "large" && "text-lg h-10"}
269
- ${size === "very large" && "text-xl h-12"}
270
- ${size === "extra very large" && "text-2xl h-14"}
271
- ${size === "detail division" && "text-sm h-10"}
272
- rounded-lg drop-shadow-md text-center py-1.5 px-4 flex justify-center items-center`,
239
+ className: "\n ".concat(isPressed && isActive ? 'bg-primary700 text-white' : isActive ? 'bg-primary500 hover:bg-primary600 text-white cursor-pointer' : 'bg-neutral30 text-neutral80 cursor-default', " \n ").concat(type === "full" && "w-full", "\n ").concat(size === "small" && "text-sm h-7", "\n ").concat(size === "medium" && "text-md h-8", "\n ").concat(size === "large" && "text-lg h-10", "\n ").concat(size === "very large" && "text-xl h-12", "\n ").concat(size === "extra very large" && "text-2xl h-14", "\n ").concat(size === "detail division" && "text-sm h-10", "\n rounded-lg drop-shadow-md text-center py-1.5 px-4 flex justify-center items-center"),
273
240
  disabled: !isActive,
274
241
  onClick: handleClick,
275
242
  onMouseDown: handleButtonPress,
@@ -279,22 +246,20 @@
279
246
  }, title);
280
247
  };
281
248
 
282
- const CardInternalProduct = ({
283
- title = "Loading...",
284
- productCode = "Loading...",
285
- company = "Loading...",
286
- image = "https://picsum.photos/200",
287
- isCloseButton = false,
288
- mode = "detail",
289
- onClick
290
- }) => {
249
+ const CardInternalProduct = _ref => {
250
+ let {
251
+ title = "Loading...",
252
+ productCode = "Loading...",
253
+ company = "Loading...",
254
+ image = "https://picsum.photos/200",
255
+ isCloseButton = false,
256
+ mode = "detail",
257
+ onClick
258
+ } = _ref;
291
259
  return /*#__PURE__*/React__default["default"].createElement("div", {
292
260
  className: "w-full"
293
261
  }, /*#__PURE__*/React__default["default"].createElement("div", {
294
- className: `
295
- ${mode == "detail" && "border-neutral40 bg-white"}
296
- ${mode == "add" && "border-black bg-neutral10"}
297
- w-full py-2.5 px-4 my-0.5 rounded-md border`
262
+ className: "\n ".concat(mode == "detail" && "border-neutral40 bg-white", " \n ").concat(mode == "add" && "border-black bg-neutral10", " \n w-full py-2.5 px-4 my-0.5 rounded-md border")
298
263
  }, /*#__PURE__*/React__default["default"].createElement("div", {
299
264
  className: "flex justify-between"
300
265
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -316,23 +281,17 @@
316
281
  }, "x")))));
317
282
  };
318
283
 
319
- const Chip = ({
320
- title = "Approve",
321
- type = "success",
322
- onClick
323
- }) => {
284
+ const Chip = _ref => {
285
+ let {
286
+ title = "Approve",
287
+ type = "success",
288
+ onClick
289
+ } = _ref;
324
290
  return /*#__PURE__*/React__default["default"].createElement("div", {
325
291
  className: "w-fit",
326
292
  onClick: onClick
327
293
  }, /*#__PURE__*/React__default["default"].createElement("div", {
328
- className: `
329
- ${type == "neutral" && "text-neutral300 border-neutral300 bg-neutral30 cursor-pointer"}
330
- ${type == "success" && "text-success600 border-success600 bg-success50"}
331
- ${type == "primary" && "text-primary500 border-primary500 bg-primary50"}
332
- ${type == "dropdown" && "text-primary500 border-primary500 bg-primary50"}
333
- ${type == "warning" && "text-warning800 border-warning800 bg-warning50"}
334
- ${type == "danger" && "text-danger800 border-danger800 bg-danger50"}
335
- ' rounded-full text-xs border-2 flex items-center px-3.5`
294
+ className: "\n ".concat(type == "neutral" && "text-neutral300 border-neutral300 bg-neutral30 cursor-pointer", " \n ").concat(type == "success" && "text-success600 border-success600 bg-success50", " \n ").concat(type == "primary" && "text-primary500 border-primary500 bg-primary50", " \n ").concat(type == "dropdown" && "text-primary500 border-primary500 bg-primary50", " \n ").concat(type == "warning" && "text-warning800 border-warning800 bg-warning50", " \n ").concat(type == "danger" && "text-danger800 border-danger800 bg-danger50", " \n ' rounded-full text-xs border-2 flex items-center px-3.5")
336
295
  }, /*#__PURE__*/React__default["default"].createElement("div", {
337
296
  className: "flex items-center"
338
297
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -23784,12 +23743,13 @@
23784
23743
  // ex: while focusing prev and next month buttons
23785
23744
  _defineProperty$2(_this,"onPopperKeyDown",function(event){var eventKey=event.key;if(eventKey==="Escape"){event.preventDefault();_this.sendFocusBackToInput();}});_defineProperty$2(_this,"onClearClick",function(event){if(event){if(event.preventDefault){event.preventDefault();}}_this.sendFocusBackToInput();if(_this.props.selectsRange){_this.props.onChange([null,null],event);}else {_this.props.onChange(null,event);}_this.setState({inputValue:null});});_defineProperty$2(_this,"clear",function(){_this.onClearClick();});_defineProperty$2(_this,"onScroll",function(event){if(typeof _this.props.closeOnScroll==="boolean"&&_this.props.closeOnScroll){if(event.target===document||event.target===document.documentElement||event.target===document.body){_this.setOpen(false);}}else if(typeof _this.props.closeOnScroll==="function"){if(_this.props.closeOnScroll(event)){_this.setOpen(false);}}});_defineProperty$2(_this,"renderCalendar",function(){if(!_this.props.inline&&!_this.isCalendarOpen()){return null;}return/*#__PURE__*/React__default["default"].createElement(WrappedCalendar,{ref:function ref(elem){_this.calendar=elem;},locale:_this.props.locale,calendarStartDay:_this.props.calendarStartDay,chooseDayAriaLabelPrefix:_this.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:_this.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:_this.props.weekAriaLabelPrefix,monthAriaLabelPrefix:_this.props.monthAriaLabelPrefix,adjustDateOnChange:_this.props.adjustDateOnChange,setOpen:_this.setOpen,shouldCloseOnSelect:_this.props.shouldCloseOnSelect,dateFormat:_this.props.dateFormatCalendar,useWeekdaysShort:_this.props.useWeekdaysShort,formatWeekDay:_this.props.formatWeekDay,dropdownMode:_this.props.dropdownMode,selected:_this.props.selected,preSelection:_this.state.preSelection,onSelect:_this.handleSelect,onWeekSelect:_this.props.onWeekSelect,openToDate:_this.props.openToDate,minDate:_this.props.minDate,maxDate:_this.props.maxDate,selectsStart:_this.props.selectsStart,selectsEnd:_this.props.selectsEnd,selectsRange:_this.props.selectsRange,selectsMultiple:_this.props.selectsMultiple,selectedDates:_this.props.selectedDates,startDate:_this.props.startDate,endDate:_this.props.endDate,excludeDates:_this.props.excludeDates,excludeDateIntervals:_this.props.excludeDateIntervals,filterDate:_this.props.filterDate,onClickOutside:_this.handleCalendarClickOutside,formatWeekNumber:_this.props.formatWeekNumber,highlightDates:_this.state.highlightDates,holidays:getHolidaysMap(_this.modifyHolidays()),includeDates:_this.props.includeDates,includeDateIntervals:_this.props.includeDateIntervals,includeTimes:_this.props.includeTimes,injectTimes:_this.props.injectTimes,inline:_this.props.inline,shouldFocusDayInline:_this.state.shouldFocusDayInline,peekNextMonth:_this.props.peekNextMonth,showMonthDropdown:_this.props.showMonthDropdown,showPreviousMonths:_this.props.showPreviousMonths,useShortMonthInDropdown:_this.props.useShortMonthInDropdown,showMonthYearDropdown:_this.props.showMonthYearDropdown,showWeekNumbers:_this.props.showWeekNumbers,showYearDropdown:_this.props.showYearDropdown,withPortal:_this.props.withPortal,forceShowMonthNavigation:_this.props.forceShowMonthNavigation,showDisabledMonthNavigation:_this.props.showDisabledMonthNavigation,scrollableYearDropdown:_this.props.scrollableYearDropdown,scrollableMonthYearDropdown:_this.props.scrollableMonthYearDropdown,todayButton:_this.props.todayButton,weekLabel:_this.props.weekLabel,outsideClickIgnoreClass:outsideClickIgnoreClass,fixedHeight:_this.props.fixedHeight,monthsShown:_this.props.monthsShown,monthSelectedIn:_this.state.monthSelectedIn,onDropdownFocus:_this.handleDropdownFocus,onMonthChange:_this.props.onMonthChange,onYearChange:_this.props.onYearChange,dayClassName:_this.props.dayClassName,weekDayClassName:_this.props.weekDayClassName,monthClassName:_this.props.monthClassName,timeClassName:_this.props.timeClassName,showDateSelect:_this.props.showDateSelect,showTimeSelect:_this.props.showTimeSelect,showTimeSelectOnly:_this.props.showTimeSelectOnly,onTimeChange:_this.handleTimeChange,timeFormat:_this.props.timeFormat,timeIntervals:_this.props.timeIntervals,minTime:_this.props.minTime,maxTime:_this.props.maxTime,excludeTimes:_this.props.excludeTimes,filterTime:_this.props.filterTime,timeCaption:_this.props.timeCaption,className:_this.props.calendarClassName,container:_this.props.calendarContainer,yearItemNumber:_this.props.yearItemNumber,yearDropdownItemNumber:_this.props.yearDropdownItemNumber,previousMonthAriaLabel:_this.props.previousMonthAriaLabel,previousMonthButtonLabel:_this.props.previousMonthButtonLabel,nextMonthAriaLabel:_this.props.nextMonthAriaLabel,nextMonthButtonLabel:_this.props.nextMonthButtonLabel,previousYearAriaLabel:_this.props.previousYearAriaLabel,previousYearButtonLabel:_this.props.previousYearButtonLabel,nextYearAriaLabel:_this.props.nextYearAriaLabel,nextYearButtonLabel:_this.props.nextYearButtonLabel,timeInputLabel:_this.props.timeInputLabel,disabledKeyboardNavigation:_this.props.disabledKeyboardNavigation,renderCustomHeader:_this.props.renderCustomHeader,popperProps:_this.props.popperProps,renderDayContents:_this.props.renderDayContents,renderMonthContent:_this.props.renderMonthContent,renderQuarterContent:_this.props.renderQuarterContent,renderYearContent:_this.props.renderYearContent,onDayMouseEnter:_this.props.onDayMouseEnter,onMonthMouseLeave:_this.props.onMonthMouseLeave,onYearMouseEnter:_this.props.onYearMouseEnter,onYearMouseLeave:_this.props.onYearMouseLeave,selectsDisabledDaysInRange:_this.props.selectsDisabledDaysInRange,showTimeInput:_this.props.showTimeInput,showMonthYearPicker:_this.props.showMonthYearPicker,showFullMonthYearPicker:_this.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:_this.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:_this.props.showFourColumnMonthYearPicker,showYearPicker:_this.props.showYearPicker,showQuarterYearPicker:_this.props.showQuarterYearPicker,showWeekPicker:_this.props.showWeekPicker,excludeScrollbar:_this.props.excludeScrollbar,handleOnKeyDown:_this.props.onKeyDown,handleOnDayKeyDown:_this.onDayKeyDown,isInputFocused:_this.state.focused,customTimeInput:_this.props.customTimeInput,setPreSelection:_this.setPreSelection,usePointerEvent:_this.props.usePointerEvent,yearClassName:_this.props.yearClassName},_this.props.children);});_defineProperty$2(_this,"renderAriaLiveRegion",function(){var _this$props3=_this.props,dateFormat=_this$props3.dateFormat,locale=_this$props3.locale;var isContainsTime=_this.props.showTimeInput||_this.props.showTimeSelect;var longDateFormat=isContainsTime?"PPPPp":"PPPP";var ariaLiveMessage;if(_this.props.selectsRange){ariaLiveMessage="Selected start date: ".concat(safeDateFormat(_this.props.startDate,{dateFormat:longDateFormat,locale:locale}),". ").concat(_this.props.endDate?"End date: "+safeDateFormat(_this.props.endDate,{dateFormat:longDateFormat,locale:locale}):"");}else {if(_this.props.showTimeSelectOnly){ariaLiveMessage="Selected time: ".concat(safeDateFormat(_this.props.selected,{dateFormat:dateFormat,locale:locale}));}else if(_this.props.showYearPicker){ariaLiveMessage="Selected year: ".concat(safeDateFormat(_this.props.selected,{dateFormat:"yyyy",locale:locale}));}else if(_this.props.showMonthYearPicker){ariaLiveMessage="Selected month: ".concat(safeDateFormat(_this.props.selected,{dateFormat:"MMMM yyyy",locale:locale}));}else if(_this.props.showQuarterYearPicker){ariaLiveMessage="Selected quarter: ".concat(safeDateFormat(_this.props.selected,{dateFormat:"yyyy, QQQ",locale:locale}));}else {ariaLiveMessage="Selected date: ".concat(safeDateFormat(_this.props.selected,{dateFormat:longDateFormat,locale:locale}));}}return/*#__PURE__*/React__default["default"].createElement("span",{role:"alert","aria-live":"polite",className:"react-datepicker__aria-live"},ariaLiveMessage);});_defineProperty$2(_this,"renderDateInput",function(){var _React$cloneElement;var className=clsx(_this.props.className,_defineProperty$2({},outsideClickIgnoreClass,_this.state.open));var customInput=_this.props.customInput||/*#__PURE__*/React__default["default"].createElement("input",{type:"text"});var customInputRef=_this.props.customInputRef||"ref";var inputValue=typeof _this.props.value==="string"?_this.props.value:typeof _this.state.inputValue==="string"?_this.state.inputValue:_this.props.selectsRange?safeDateRangeFormat(_this.props.startDate,_this.props.endDate,_this.props):_this.props.selectsMultiple?safeMultipleDatesFormat(_this.props.selectedDates,_this.props):safeDateFormat(_this.props.selected,_this.props);return/*#__PURE__*/React__default["default"].cloneElement(customInput,(_React$cloneElement={},_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_React$cloneElement,customInputRef,function(input){_this.input=input;}),"value",inputValue),"onBlur",_this.handleBlur),"onChange",_this.handleChange),"onClick",_this.onInputClick),"onFocus",_this.handleFocus),"onKeyDown",_this.onInputKeyDown),"id",_this.props.id),"name",_this.props.name),"form",_this.props.form),_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_defineProperty$2(_React$cloneElement,"autoFocus",_this.props.autoFocus),"placeholder",_this.props.placeholderText),"disabled",_this.props.disabled),"autoComplete",_this.props.autoComplete),"className",clsx(customInput.props.className,className)),"title",_this.props.title),"readOnly",_this.props.readOnly),"required",_this.props.required),"tabIndex",_this.props.tabIndex),"aria-describedby",_this.props.ariaDescribedBy),_defineProperty$2(_defineProperty$2(_defineProperty$2(_React$cloneElement,"aria-invalid",_this.props.ariaInvalid),"aria-labelledby",_this.props.ariaLabelledBy),"aria-required",_this.props.ariaRequired)));});_defineProperty$2(_this,"renderClearButton",function(){var _this$props4=_this.props,isClearable=_this$props4.isClearable,disabled=_this$props4.disabled,selected=_this$props4.selected,startDate=_this$props4.startDate,endDate=_this$props4.endDate,clearButtonTitle=_this$props4.clearButtonTitle,_this$props4$clearBut=_this$props4.clearButtonClassName,clearButtonClassName=_this$props4$clearBut===void 0?"":_this$props4$clearBut,_this$props4$ariaLabe=_this$props4.ariaLabelClose,ariaLabelClose=_this$props4$ariaLabe===void 0?"Close":_this$props4$ariaLabe,selectedDates=_this$props4.selectedDates;if(isClearable&&(selected!=null||startDate!=null||endDate!=null||selectedDates!==null&&selectedDates!==void 0&&selectedDates.length)){return/*#__PURE__*/React__default["default"].createElement("button",{type:"button",className:clsx("react-datepicker__close-icon",clearButtonClassName,{"react-datepicker__close-icon--disabled":disabled}),disabled:disabled,"aria-label":ariaLabelClose,onClick:_this.onClearClick,title:clearButtonTitle,tabIndex:-1});}else {return null;}});_this.state=_this.calcInitialState();_this.preventFocusTimeout=null;return _this;}_inherits(DatePicker,_React$Component);return _createClass(DatePicker,[{key:"componentDidMount",value:function componentDidMount(){window.addEventListener("scroll",this.onScroll,true);}},{key:"componentDidUpdate",value:function componentDidUpdate(prevProps,prevState){if(prevProps.inline&&hasPreSelectionChanged(prevProps.selected,this.props.selected)){this.setPreSelection(this.props.selected);}if(this.state.monthSelectedIn!==undefined&&prevProps.monthsShown!==this.props.monthsShown){this.setState({monthSelectedIn:0});}if(prevProps.highlightDates!==this.props.highlightDates){this.setState({highlightDates:getHightLightDaysMap(this.props.highlightDates)});}if(!prevState.focused&&!isEqual$1(prevProps.selected,this.props.selected)){this.setState({inputValue:null});}if(prevState.open!==this.state.open){if(prevState.open===false&&this.state.open===true){this.props.onCalendarOpen();}if(prevState.open===true&&this.state.open===false){this.props.onCalendarClose();}}}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.clearPreventFocusTimeout();window.removeEventListener("scroll",this.onScroll,true);}},{key:"renderInputContainer",value:function renderInputContainer(){var _this$props5=this.props,showIcon=_this$props5.showIcon,icon=_this$props5.icon,calendarIconClassname=_this$props5.calendarIconClassname,toggleCalendarOnIconClick=_this$props5.toggleCalendarOnIconClick;var open=this.state.open;return/*#__PURE__*/React__default["default"].createElement("div",{className:"react-datepicker__input-container".concat(showIcon?" react-datepicker__view-calendar-icon":"")},showIcon&&/*#__PURE__*/React__default["default"].createElement(CalendarIcon$1,_extends$3({icon:icon,className:"".concat(calendarIconClassname," ").concat(open&&"react-datepicker-ignore-onclickoutside")},toggleCalendarOnIconClick?{onClick:this.toggleCalendar}:null)),this.state.isRenderAriaLiveMessage&&this.renderAriaLiveRegion(),this.renderDateInput(),this.renderClearButton());}},{key:"render",value:function render(){var calendar=this.renderCalendar();if(this.props.inline)return calendar;if(this.props.withPortal){var portalContainer=this.state.open?/*#__PURE__*/React__default["default"].createElement(TabLoop,{enableTabLoop:this.props.enableTabLoop},/*#__PURE__*/React__default["default"].createElement("div",{className:"react-datepicker__portal",tabIndex:-1,onKeyDown:this.onPortalKeyDown},calendar)):null;if(this.state.open&&this.props.portalId){portalContainer=/*#__PURE__*/React__default["default"].createElement(Portal,{portalId:this.props.portalId,portalHost:this.props.portalHost},portalContainer);}return/*#__PURE__*/React__default["default"].createElement("div",null,this.renderInputContainer(),portalContainer);}return/*#__PURE__*/React__default["default"].createElement(PopperComponent$1,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,portalHost:this.props.portalHost,popperModifiers:this.props.popperModifiers,targetComponent:this.renderInputContainer(),popperContainer:this.props.popperContainer,popperComponent:calendar,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop,showArrow:this.props.showPopperArrow});}}],[{key:"defaultProps",get:function get(){return {allowSameDay:false,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function onChange(){},disabled:false,disabledKeyboardNavigation:false,dropdownMode:"scroll",onFocus:function onFocus(){},onBlur:function onBlur(){},onKeyDown:function onKeyDown(){},onInputClick:function onInputClick(){},onSelect:function onSelect(){},onClickOutside:function onClickOutside(){},onMonthChange:function onMonthChange(){},onCalendarOpen:function onCalendarOpen(){},onCalendarClose:function onCalendarClose(){},preventOpenOnFocus:false,onYearChange:function onYearChange(){},onInputError:function onInputError(){},monthsShown:1,readOnly:false,withPortal:false,selectsDisabledDaysInRange:false,shouldCloseOnSelect:true,showTimeSelect:false,showTimeInput:false,showPreviousMonths:false,showMonthYearPicker:false,showFullMonthYearPicker:false,showTwoColumnMonthYearPicker:false,showFourColumnMonthYearPicker:false,showYearPicker:false,showQuarterYearPicker:false,showWeekPicker:false,strictParsing:false,swapRange:false,timeIntervals:30,timeCaption:"Time",previousMonthAriaLabel:"Previous Month",previousMonthButtonLabel:"Previous Month",nextMonthAriaLabel:"Next Month",nextMonthButtonLabel:"Next Month",previousYearAriaLabel:"Previous Year",previousYearButtonLabel:"Previous Year",nextYearAriaLabel:"Next Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:true,yearItemNumber:DEFAULT_YEAR_ITEM_NUMBER,focusSelectedMonth:false,showPopperArrow:true,excludeScrollbar:true,customTimeInput:null,calendarStartDay:undefined,toggleCalendarOnIconClick:false,usePointerEvent:false};}}]);}(React__default["default"].Component);var PRESELECT_CHANGE_VIA_INPUT="input";var PRESELECT_CHANGE_VIA_NAVIGATE="navigate";
23786
23745
 
23787
- const CustomDatePicker = ({
23788
- startDate,
23789
- onChangeStartDate,
23790
- endDate,
23791
- onChangeEndDate
23792
- }) => {
23746
+ const CustomDatePicker = _ref => {
23747
+ let {
23748
+ startDate,
23749
+ onChangeStartDate,
23750
+ endDate,
23751
+ onChangeEndDate
23752
+ } = _ref;
23793
23753
  const onChange = dates => {
23794
23754
  const [start, end] = dates;
23795
23755
  onChangeStartDate(start);
@@ -23813,14 +23773,15 @@
23813
23773
  }));
23814
23774
  };
23815
23775
 
23816
- const Description = ({
23817
- title = "Title",
23818
- value = "Description",
23819
- textColor = "default",
23820
- subtitle,
23821
- linkSubtitle,
23822
- onClickSubtitle
23823
- }) => {
23776
+ const Description = _ref => {
23777
+ let {
23778
+ title = "Title",
23779
+ value = "Description",
23780
+ textColor = "default",
23781
+ subtitle,
23782
+ linkSubtitle,
23783
+ onClickSubtitle
23784
+ } = _ref;
23824
23785
  return /*#__PURE__*/React__default["default"].createElement("div", {
23825
23786
  className: "w-full"
23826
23787
  }, title && /*#__PURE__*/React__default["default"].createElement("p", {
@@ -23828,10 +23789,7 @@
23828
23789
  }, title), /*#__PURE__*/React__default["default"].createElement("div", {
23829
23790
  className: "py-1"
23830
23791
  }, /*#__PURE__*/React__default["default"].createElement("p", {
23831
- className: `
23832
- ${textColor == "default" && "text-black font-semibold text-base"}
23833
- ${textColor == "success" && "text-success500 font-semibold text-base"}
23834
- `
23792
+ className: "\n ".concat(textColor == "default" && "text-black font-semibold text-base", " \n ").concat(textColor == "success" && "text-success500 font-semibold text-base", " \n ")
23835
23793
  }, value)), subtitle && /*#__PURE__*/React__default["default"].createElement("div", {
23836
23794
  className: "flex items-center mt-1"
23837
23795
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -23842,11 +23800,12 @@
23842
23800
  }, linkSubtitle)));
23843
23801
  };
23844
23802
 
23845
- const DescriptionFile = ({
23846
- title = "Title",
23847
- link = "https://sprintasia.atlassian.net/browse/NP-165",
23848
- fileName = ""
23849
- }) => {
23803
+ const DescriptionFile = _ref => {
23804
+ let {
23805
+ title = "Title",
23806
+ link = "https://sprintasia.atlassian.net/browse/NP-165",
23807
+ fileName = ""
23808
+ } = _ref;
23850
23809
  return /*#__PURE__*/React__default["default"].createElement("div", {
23851
23810
  className: "w-full"
23852
23811
  }, title && /*#__PURE__*/React__default["default"].createElement("p", {
@@ -23863,17 +23822,18 @@
23863
23822
  }, fileName, ".pdf")));
23864
23823
  };
23865
23824
 
23866
- const DropdownCard = ({
23867
- options = [{
23868
- picture: "https://picsum.photos/200",
23869
- name: "Loading...",
23870
- code: "Loading...",
23871
- detail: "Loading..."
23872
- }],
23873
- placeholder = "Filter",
23874
- onSelect,
23875
- title
23876
- }) => {
23825
+ const DropdownCard = _ref => {
23826
+ let {
23827
+ options = [{
23828
+ picture: "https://picsum.photos/200",
23829
+ name: "Loading...",
23830
+ code: "Loading...",
23831
+ detail: "Loading..."
23832
+ }],
23833
+ placeholder = "Filter",
23834
+ onSelect,
23835
+ title
23836
+ } = _ref;
23877
23837
  const [isOpen, setIsOpen] = React.useState(false);
23878
23838
  const [dataDropdown, setDataDropdown] = React.useState(options);
23879
23839
  const [inputValue, setInputValue] = React.useState('');
@@ -23937,7 +23897,7 @@
23937
23897
  "aria-labelledby": "options-menu"
23938
23898
  }, /*#__PURE__*/React__default["default"].createElement("div", {
23939
23899
  className: "px-1 py-2 max-h-56 overflow-y-auto"
23940
- }, dataDropdown?.length > 0 ? dataDropdown.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
23900
+ }, (dataDropdown === null || dataDropdown === void 0 ? void 0 : dataDropdown.length) > 0 ? dataDropdown.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
23941
23901
  key: index,
23942
23902
  className: "hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md cursor-pointer",
23943
23903
  onClick: () => handleOptionClick(option)
@@ -23961,13 +23921,14 @@
23961
23921
  }, /*#__PURE__*/React__default["default"].createElement("p", null, "Data Not Available"))))));
23962
23922
  };
23963
23923
 
23964
- const DropdownChip = ({
23965
- options = ["Type", "Company", "Category", "Location", "Product"],
23966
- onSelect,
23967
- selectedOptions,
23968
- onRemoveOption,
23969
- title = "Title Dropdown"
23970
- }) => {
23924
+ const DropdownChip = _ref => {
23925
+ let {
23926
+ options = ["Type", "Company", "Category", "Location", "Product"],
23927
+ onSelect,
23928
+ selectedOptions,
23929
+ onRemoveOption,
23930
+ title = "Title Dropdown"
23931
+ } = _ref;
23971
23932
  const [isOpen, setIsOpen] = React.useState(false);
23972
23933
  const [inputValue, setInputValue] = React.useState('');
23973
23934
  const dropdownRef = React.useRef(null);
@@ -24004,7 +23965,7 @@
24004
23965
  className: "relative"
24005
23966
  }, /*#__PURE__*/React__default["default"].createElement("div", {
24006
23967
  className: "flex items-center bg-neutral20 border-neutral50 border rounded-md focus:outline-none"
24007
- }, selectedOptions?.length > 0 && selectedOptions.map(selectedOption => /*#__PURE__*/React__default["default"].createElement("div", {
23968
+ }, (selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.length) > 0 && selectedOptions.map(selectedOption => /*#__PURE__*/React__default["default"].createElement("div", {
24008
23969
  className: "ml-4",
24009
23970
  key: selectedOption
24010
23971
  }, /*#__PURE__*/React__default["default"].createElement(Chip, {
@@ -24024,7 +23985,7 @@
24024
23985
  "aria-labelledby": "options-menu"
24025
23986
  }, /*#__PURE__*/React__default["default"].createElement("div", {
24026
23987
  className: "px-1 py-2 max-h-40 overflow-y-auto"
24027
- }, options?.length > 0 && options.filter(option => option.toLowerCase().includes(inputValue.toLowerCase()) && !selectedOptions?.includes(option)).map(option => /*#__PURE__*/React__default["default"].createElement("div", {
23988
+ }, (options === null || options === void 0 ? void 0 : options.length) > 0 && options.filter(option => option.toLowerCase().includes(inputValue.toLowerCase()) && !(selectedOptions !== null && selectedOptions !== void 0 && selectedOptions.includes(option))).map(option => /*#__PURE__*/React__default["default"].createElement("div", {
24028
23989
  key: option,
24029
23990
  className: "hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md cursor-pointer",
24030
23991
  onClick: () => handleOptionClick(option)
@@ -24033,21 +23994,24 @@
24033
23994
  }, option)))))));
24034
23995
  };
24035
23996
 
24036
- const DropdownText = ({
24037
- options = [{
24038
- option: "Name 1",
24039
- value: "Value 1"
24040
- }],
24041
- onSelect,
24042
- title = "Title Dropdown",
24043
- placeholder = "Placeholder",
24044
- isRequired = true,
24045
- isEdited = true,
24046
- currentOption = {
24047
- option: "Name 1",
24048
- value: "Value 1"
24049
- }
24050
- }) => {
23997
+ const DropdownText = _ref => {
23998
+ let {
23999
+ options = [{
24000
+ option: "Name 1",
24001
+ value: "Value 1"
24002
+ }],
24003
+ onSelect,
24004
+ title = "Title Dropdown",
24005
+ placeholder = "Placeholder",
24006
+ isRequired = true,
24007
+ isEdited = true,
24008
+ mode = "default",
24009
+ footer = null,
24010
+ currentOption = {
24011
+ option: "Name 1",
24012
+ value: "Value 1"
24013
+ }
24014
+ } = _ref;
24051
24015
  const [isOpen, setIsOpen] = React.useState(false);
24052
24016
  const [selectedOption, setSelectedOption] = React.useState(null);
24053
24017
  const dropdownRef = React.useRef(null);
@@ -24090,7 +24054,7 @@
24090
24054
  className: "rounded-md shadow-sm"
24091
24055
  }, /*#__PURE__*/React__default["default"].createElement("button", {
24092
24056
  type: "button",
24093
- className: `${isEdited ? "bg-neutral20 cursor-pointer" : "bg-neutral30 cursor-not-allowed"} flex items-center w-full py-2.5 text-left px-4 border-neutral50 font-normal text-sm text-neutral300 rounded-md border focus:outline-none overflow-hidden`,
24057
+ className: "\n ".concat(isEdited == false && "bg-neutral30 cursor-not-allowed", " \n ").concat(mode == "default" && "border-neutral50 bg-neutral20 cursor-pointer", " \n ").concat(mode == "danger" && "border-danger500 bg-danger50 cursor-pointer", " \n flex items-center w-full py-2.5 text-left px-4 font-normal text-sm text-neutral300 rounded-md border focus:outline-none overflow-hidden"),
24094
24058
  onClick: () => isEdited && handleToggleDropdownText()
24095
24059
  }, /*#__PURE__*/React__default["default"].createElement("span", {
24096
24060
  className: "flex-grow overflow-hidden"
@@ -24119,7 +24083,18 @@
24119
24083
  }
24120
24084
  }, /*#__PURE__*/React__default["default"].createElement("p", {
24121
24085
  className: "text-sm text-black"
24122
- }, option.option))))));
24086
+ }, option.option))))), footer && /*#__PURE__*/React__default["default"].createElement("div", {
24087
+ className: "mt-1"
24088
+ }, mode === "danger" ? /*#__PURE__*/React__default["default"].createElement("div", {
24089
+ className: "flex"
24090
+ }, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(PiInfo, {
24091
+ size: 16,
24092
+ className: "text-danger500"
24093
+ })), /*#__PURE__*/React__default["default"].createElement("p", {
24094
+ className: "text-danger500 text-xs ml-1"
24095
+ }, footer)) : /*#__PURE__*/React__default["default"].createElement("p", {
24096
+ className: "text-black text-xs"
24097
+ }, footer)));
24123
24098
  };
24124
24099
 
24125
24100
  function _extends$2() {
@@ -25908,18 +25883,20 @@
25908
25883
  }
25909
25884
  function noop() {}
25910
25885
 
25911
- const DropzoneUploadFile = ({
25912
- title = "Title Dropzone",
25913
- subtitle = "Format File PDF, JPEG JPG, Maximal File 5 MB",
25914
- required = false,
25915
- onDrop,
25916
- maxFiles = 1,
25917
- selectedFile
25918
- }) => {
25886
+ const DropzoneUploadFile = _ref => {
25887
+ let {
25888
+ title = "Title Dropzone",
25889
+ subtitle = "Format File PDF, JPEG JPG, Maximal File 5 MB",
25890
+ required = false,
25891
+ onDrop,
25892
+ maxFiles = 1,
25893
+ selectedFile
25894
+ } = _ref;
25919
25895
  const [errorMessage, setErrorMessage] = React.useState("");
25920
25896
  const onDropRejected = rejectedFiles => {
25897
+ var _file$errors$;
25921
25898
  const file = rejectedFiles[0];
25922
- if (file.errors[0]?.code === "file-too-large") {
25899
+ if (((_file$errors$ = file.errors[0]) === null || _file$errors$ === void 0 ? void 0 : _file$errors$.code) === "file-too-large") {
25923
25900
  setErrorMessage("Your file is too large, Max file size is 5 MB");
25924
25901
  }
25925
25902
  };
@@ -25971,15 +25948,16 @@
25971
25948
  className: "text-neutral300"
25972
25949
  })), /*#__PURE__*/React__default["default"].createElement("p", {
25973
25950
  className: "text-sm text-black mt-2"
25974
- }, selectedFile?.name)))))), /*#__PURE__*/React__default["default"].createElement("p", {
25951
+ }, selectedFile === null || selectedFile === void 0 ? void 0 : selectedFile.name)))))), /*#__PURE__*/React__default["default"].createElement("p", {
25975
25952
  className: "text-xs text-neutral300 mt-1"
25976
25953
  }, subtitle));
25977
25954
  };
25978
25955
 
25979
- const DropzoneUploadPhoto = ({
25980
- onFileChange,
25981
- currentImage
25982
- }) => {
25956
+ const DropzoneUploadPhoto = _ref => {
25957
+ let {
25958
+ onFileChange,
25959
+ currentImage
25960
+ } = _ref;
25983
25961
  const [selectedImage, setSelectedImage] = React.useState(null);
25984
25962
  const [isHovered, setIsHovered] = React.useState(false);
25985
25963
  const {
@@ -26569,11 +26547,12 @@
26569
26547
  if(!wb.Workbook.Sheets[idx])wb.Workbook.Sheets[idx]={};switch(vis){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+vis);}// $FlowIgnore
26570
26548
  wb.Workbook.Sheets[idx].Hidden=vis;}/* set number format */function cell_set_number_format(cell/*:Cell*/,fmt/*:string|number*/){cell.z=fmt;return cell;}/* set cell hyperlink */function cell_set_hyperlink(cell/*:Cell*/,target/*:string*/,tooltip/*:?string*/){if(!target){delete cell.l;}else {cell.l={Target:target}/*:Hyperlink*/;if(tooltip)cell.l.Tooltip=tooltip;}return cell;}function cell_set_internal_link(cell/*:Cell*/,range/*:string*/,tooltip/*:?string*/){return cell_set_hyperlink(cell,"#"+range,tooltip);}/* add to cell comments */function cell_add_comment(cell/*:Cell*/,text/*:string*/,author/*:?string*/){if(!cell.c)cell.c=[];cell.c.push({t:text,a:author||"SheetJS"});}/* set array formula and flush related cells */function sheet_set_array_formula(ws/*:Worksheet*/,range,formula/*:string*/,dynamic/*:boolean*/){var rng=typeof range!="string"?range:safe_decode_range(range);var rngstr=typeof range=="string"?range:encode_range(range);for(var R=rng.s.r;R<=rng.e.r;++R)for(var C=rng.s.c;C<=rng.e.c;++C){var cell=ws_get_cell_stub(ws,R,C);cell.t='n';cell.F=rngstr;delete cell.v;if(R==rng.s.r&&C==rng.s.c){cell.f=formula;if(dynamic)cell.D=true;}}return ws;}var utils/*:any*/={encode_col:encode_col,encode_row:encode_row,encode_cell:encode_cell,encode_range:encode_range,decode_col:decode_col,decode_row:decode_row,split_cell:split_cell,decode_cell:decode_cell,decode_range:decode_range,format_cell:format_cell,sheet_add_aoa:sheet_add_aoa,sheet_add_json:sheet_add_json,sheet_add_dom:sheet_add_dom,aoa_to_sheet:aoa_to_sheet,json_to_sheet:json_to_sheet,table_to_sheet:parse_dom_table,table_to_book:table_to_book,sheet_to_csv:sheet_to_csv,sheet_to_txt:sheet_to_txt,sheet_to_json:sheet_to_json,sheet_to_html:sheet_to_html,sheet_to_formulae:sheet_to_formulae,sheet_to_row_object_array:sheet_to_json,sheet_get_cell:ws_get_cell_stub,book_new:book_new,book_append_sheet:book_append_sheet,book_set_sheet_visibility:book_set_sheet_visibility,cell_set_number_format:cell_set_number_format,cell_set_hyperlink:cell_set_hyperlink,cell_set_internal_link:cell_set_internal_link,cell_add_comment:cell_add_comment,sheet_set_array_formula:sheet_set_array_formula,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};
26571
26549
 
26572
- const ExportToExcel = ({
26573
- dataExport,
26574
- fileName,
26575
- title
26576
- }) => {
26550
+ const ExportToExcel = _ref => {
26551
+ let {
26552
+ dataExport,
26553
+ fileName,
26554
+ title
26555
+ } = _ref;
26577
26556
  const fileType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8";
26578
26557
  const fileExtension = ".xlsx";
26579
26558
  const exportToCSV = (dataExport, fileName) => {
@@ -26599,10 +26578,11 @@
26599
26578
  });
26600
26579
  };
26601
26580
 
26602
- const FilterCheckbox = ({
26603
- options = ["Type", "Company"],
26604
- onSelect
26605
- }) => {
26581
+ const FilterCheckbox = _ref => {
26582
+ let {
26583
+ options = ["Type", "Company"],
26584
+ onSelect
26585
+ } = _ref;
26606
26586
  const [isOpen, setIsOpen] = React.useState(false);
26607
26587
  const [selectedOptions, setSelectedOptions] = React.useState([]);
26608
26588
  const dropdownRef = React.useRef(null);
@@ -26629,7 +26609,7 @@
26629
26609
  onSelect(updatedOptions);
26630
26610
  }
26631
26611
  };
26632
- const buttonText = selectedOptions.length > 0 ? `${selectedOptions.length} Filter Selected` : 'Filter';
26612
+ const buttonText = selectedOptions.length > 0 ? "".concat(selectedOptions.length, " Filter Selected") : 'Filter';
26633
26613
  return /*#__PURE__*/React__default["default"].createElement("div", {
26634
26614
  className: "relative inline-block text-left",
26635
26615
  ref: dropdownRef
@@ -26655,7 +26635,7 @@
26655
26635
  className: "px-1 py-2"
26656
26636
  }, options.map(option => /*#__PURE__*/React__default["default"].createElement("div", {
26657
26637
  key: option,
26658
- className: `hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md flex items-center cursor-pointer ${selectedOptions.includes(option) ? 'bg-primary500' : ''}`,
26638
+ className: "hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md flex items-center cursor-pointer ".concat(selectedOptions.includes(option) ? 'bg-primary500' : ''),
26659
26639
  onClick: () => handleOptionClick(option)
26660
26640
  }, /*#__PURE__*/React__default["default"].createElement("input", {
26661
26641
  type: "checkbox",
@@ -26663,14 +26643,15 @@
26663
26643
  checked: selectedOptions.includes(option),
26664
26644
  onChange: () => handleOptionClick(option)
26665
26645
  }), /*#__PURE__*/React__default["default"].createElement("p", {
26666
- className: `text-sm ${selectedOptions.includes(option) ? 'text-primary500' : 'text-black'}`
26646
+ className: "text-sm ".concat(selectedOptions.includes(option) ? 'text-primary500' : 'text-black')
26667
26647
  }, option))))));
26668
26648
  };
26669
26649
 
26670
- const FilterText = ({
26671
- options = ["Type", "Company"],
26672
- onSelect
26673
- }) => {
26650
+ const FilterText = _ref => {
26651
+ let {
26652
+ options = ["Type", "Company"],
26653
+ onSelect
26654
+ } = _ref;
26674
26655
  const [isOpen, setIsOpen] = React.useState(false);
26675
26656
  const [selectedOption, setSelectedOption] = React.useState(null);
26676
26657
  const dropdownRef = React.useRef(null);
@@ -26729,23 +26710,21 @@
26729
26710
  }, option))))));
26730
26711
  };
26731
26712
 
26732
- const Menu = ({
26733
- isActive = true,
26734
- title = "Navigation",
26735
- iconMenuActive = PiArchive,
26736
- iconMenuPassive = PiArchive,
26737
- isOpen = false,
26738
- type = "parent",
26739
- isHaveChild = false,
26740
- isExpand = true
26741
- }) => {
26713
+ const Menu = _ref => {
26714
+ let {
26715
+ isActive = true,
26716
+ title = "Navigation",
26717
+ iconMenuActive = PiArchive,
26718
+ iconMenuPassive = PiArchive,
26719
+ isOpen = false,
26720
+ type = "parent",
26721
+ isHaveChild = false,
26722
+ isExpand = true
26723
+ } = _ref;
26742
26724
  const IconComponentActive = iconMenuActive;
26743
26725
  const IconComponentPassive = iconMenuPassive;
26744
26726
  return /*#__PURE__*/React__default["default"].createElement("div", {
26745
- className: `
26746
- ${isActive ? type === "parent" ? "bg-primary500" : "bg-primary50" : "bg-white hover:bg-neutral20"}
26747
- ${isExpand ? "justify-between" : "justify-center"}
26748
- flex items-center rounded-lg py-2.5 px-2 mb-1.5 cursor-pointer`
26727
+ className: "\n ".concat(isActive ? type === "parent" ? "bg-primary500" : "bg-primary50" : "bg-white hover:bg-neutral20", "\n ").concat(isExpand ? "justify-between" : "justify-center", "\n flex items-center rounded-lg py-2.5 px-2 mb-1.5 cursor-pointer")
26749
26728
  }, /*#__PURE__*/React__default["default"].createElement("div", {
26750
26729
  className: "flex items-center"
26751
26730
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -26763,9 +26742,7 @@
26763
26742
  size: "20",
26764
26743
  className: "text-neutral500"
26765
26744
  }))), isExpand && /*#__PURE__*/React__default["default"].createElement("p", {
26766
- className: `
26767
- ${isActive ? type === "parent" ? "text-white" : "text-primary500" : "text-neutral500"}
26768
- pl-3 font-semibold text-sm`
26745
+ className: "\n ".concat(isActive ? type === "parent" ? "text-white" : "text-primary500" : "text-neutral500", "\n pl-3 font-semibold text-sm")
26769
26746
  }, title)), type === "parent" && isHaveChild && isExpand && /*#__PURE__*/React__default["default"].createElement("div", {
26770
26747
  className: "w-5 h-5"
26771
26748
  }, isOpen ? /*#__PURE__*/React__default["default"].createElement(PiCaretUp, {
@@ -28861,18 +28838,19 @@
28861
28838
  }, props.subtitle))))))));
28862
28839
  };
28863
28840
 
28864
- const TextInput = ({
28865
- title = "",
28866
- leftIcon = null,
28867
- rightIcon = null,
28868
- placeholder = "",
28869
- footer = null,
28870
- type = 'text',
28871
- mode = "default",
28872
- isRequired = true,
28873
- value,
28874
- onChangeInput
28875
- }) => {
28841
+ const TextInput = _ref => {
28842
+ let {
28843
+ title = "",
28844
+ leftIcon = null,
28845
+ rightIcon = null,
28846
+ placeholder = "",
28847
+ footer = null,
28848
+ type = 'text',
28849
+ mode = "default",
28850
+ isRequired = true,
28851
+ value,
28852
+ onChangeInput
28853
+ } = _ref;
28876
28854
  const [isFocused, setIsFocused] = React.useState(false);
28877
28855
  const [showPassword, setShowPassword] = React.useState(false);
28878
28856
  const handleFocus = () => {
@@ -28898,21 +28876,10 @@
28898
28876
  className: "absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none"
28899
28877
  }, /*#__PURE__*/React__default["default"].createElement(PiInfo, {
28900
28878
  size: 16,
28901
- className: `
28902
- ${mode === "primary" && "text-black"}
28903
- ${mode === "disable" && "text-neutral50"}
28904
- ${mode === "danger" && "text-danger500"}
28905
- `
28879
+ className: "\n ".concat(mode === "primary" && "text-black", "\n ").concat(mode === "disable" && "text-neutral50", "\n ").concat(mode === "danger" && "text-danger500", "\n ")
28906
28880
  })), /*#__PURE__*/React__default["default"].createElement("input", {
28907
28881
  type: type === 'password' ? showPassword ? 'text' : 'password' : type,
28908
- className: `py-2.5 px-4 w-full font-normal text-sm text-neutral300 rounded-md border
28909
- ${!value && mode === "default" && 'bg-neutral20 border-neutral50 focus:outline-2 outline-primary500'}
28910
- ${value && mode === "default" && 'bg-neutral20 border-black focus:outline-2 outline-primary500'}
28911
- ${isFocused && mode === "default" && 'bg-neutral20 border-primary500'}
28912
- ${mode === "disable" && 'bg-neutral30 border-neutral50'}
28913
- ${mode === "danger" && 'bg-danger50 border-danger500 focus:outline-2 outline-danger500'}
28914
- ${leftIcon ? 'pl-10' : 'pl-3'}
28915
- ${rightIcon ? 'pr-10' : 'pr-3'}`,
28882
+ className: "py-2.5 px-4 w-full font-normal text-sm text-neutral300 rounded-md border\n ".concat(!value && mode === "default" && 'bg-neutral20 border-neutral50 focus:outline-2 outline-primary500', "\n ").concat(value && mode === "default" && 'bg-neutral20 border-black focus:outline-2 outline-primary500', "\n ").concat(isFocused && mode === "default" && 'bg-neutral20 border-primary500', "\n ").concat(mode === "disable" && 'bg-neutral30 border-neutral50', "\n ").concat(mode === "danger" && 'bg-danger50 border-danger500 focus:outline-2 outline-danger500', "\n ").concat(leftIcon ? 'pl-10' : 'pl-3', "\n ").concat(rightIcon ? 'pr-10' : 'pr-3'),
28916
28883
  placeholder: placeholder,
28917
28884
  disabled: mode === "disable",
28918
28885
  value: value,
@@ -28924,19 +28891,15 @@
28924
28891
  onClick: handleTogglePasswordVisibility
28925
28892
  }, showPassword ? /*#__PURE__*/React__default["default"].createElement(PiEye, {
28926
28893
  size: 16,
28927
- className: `text-black ${mode === "danger" && "text-danger500"}`
28894
+ className: "text-black ".concat(mode === "danger" && "text-danger500")
28928
28895
  }) : /*#__PURE__*/React__default["default"].createElement(PiEyeClosedLight, {
28929
28896
  size: 16,
28930
- className: `text-black ${mode === "danger" && "text-danger500"}`
28897
+ className: "text-black ".concat(mode === "danger" && "text-danger500")
28931
28898
  })), rightIcon && /*#__PURE__*/React__default["default"].createElement("span", {
28932
28899
  className: "absolute inset-y-0 right-0 pr-4 flex items-center pointer-events-none"
28933
28900
  }, /*#__PURE__*/React__default["default"].createElement(PiInfo, {
28934
28901
  size: 16,
28935
- className: `
28936
- ${mode === "primary" && "text-black"}
28937
- ${mode === "disable" && "text-neutral50"}
28938
- ${mode === "danger" && "text-danger500"}
28939
- `
28902
+ className: "\n ".concat(mode === "primary" && "text-black", "\n ").concat(mode === "disable" && "text-neutral50", "\n ").concat(mode === "danger" && "text-danger500", "\n ")
28940
28903
  }))), footer && /*#__PURE__*/React__default["default"].createElement("div", {
28941
28904
  className: "mt-1"
28942
28905
  }, mode === "danger" ? /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44120,23 +44083,24 @@
44120
44083
  }));
44121
44084
  };
44122
44085
 
44123
- const ModalState = ({
44124
- isOpen = false,
44125
- onClose = () => {},
44126
- title = 'Title Modal',
44127
- subtitle = 'Subtitle Modal',
44128
- type = 'default',
44129
- addition = "state",
44130
- placeholderTextArea,
44131
- onChangeTextArea,
44132
- valueTextArea,
44133
- titleButtonLeft = 'Cancel',
44134
- titleButtonRight = 'Okay',
44135
- leftAction = onClose,
44136
- rightAction = onClose,
44137
- fileUploaded,
44138
- textInputValue
44139
- }) => {
44086
+ const ModalState = _ref => {
44087
+ let {
44088
+ isOpen = false,
44089
+ onClose = () => {},
44090
+ title = 'Title Modal',
44091
+ subtitle = 'Subtitle Modal',
44092
+ type = 'default',
44093
+ addition = "state",
44094
+ placeholderTextArea,
44095
+ onChangeTextArea,
44096
+ valueTextArea,
44097
+ titleButtonLeft = 'Cancel',
44098
+ titleButtonRight = 'Okay',
44099
+ leftAction = onClose,
44100
+ rightAction = onClose,
44101
+ fileUploaded,
44102
+ textInputValue
44103
+ } = _ref;
44140
44104
  const cancelButtonRef = React.useRef(null);
44141
44105
  React.useState(false);
44142
44106
  const isButtonActive = () => {
@@ -44763,7 +44727,7 @@
44763
44727
  }
44764
44728
  return /*#__PURE__*/React__default["default"].createElement("div", null, dataNotification.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
44765
44729
  key: index,
44766
- className: `px-2 flex items-center cursor-pointer bg-white hover:bg-neutral20 p-2 ${index === 0 ? 'rounded-t-md' : index === dataNotification.length - 1 ? 'rounded-b-md' : ''}`,
44730
+ className: "px-2 flex items-center cursor-pointer bg-white hover:bg-neutral20 p-2 ".concat(index === 0 ? 'rounded-t-md' : index === dataNotification.length - 1 ? 'rounded-b-md' : ''),
44767
44731
  onClick: () => handleNavigation(value.navigate)
44768
44732
  }, /*#__PURE__*/React__default["default"].createElement(value.logo, {
44769
44733
  size: 16,
@@ -44773,13 +44737,14 @@
44773
44737
  }, value.title))));
44774
44738
  };
44775
44739
 
44776
- const SearchInput = ({
44777
- onChange = () => {},
44778
- onEnterPress = () => {},
44779
- valueInput,
44780
- placeholder = 'Search Client',
44781
- width = 'medium'
44782
- }) => {
44740
+ const SearchInput = _ref => {
44741
+ let {
44742
+ onChange = () => {},
44743
+ onEnterPress = () => {},
44744
+ valueInput,
44745
+ placeholder = 'Search Client',
44746
+ width = 'medium'
44747
+ } = _ref;
44783
44748
  const handleKeyDown = event => {
44784
44749
  if (event.key === 'Enter') {
44785
44750
  onEnterPress();
@@ -44802,14 +44767,15 @@
44802
44767
  placeholder: placeholder,
44803
44768
  onChange: onChange,
44804
44769
  onKeyDown: handleKeyDown,
44805
- className: `${selectedWidthClass} py-2.5 pl-8 pr-4 bg-neutral-200 border-neutral-500 font-normal text-sm text-neutral-800 rounded-md border focus:outline-none`
44770
+ className: "".concat(selectedWidthClass, " py-2.5 pl-8 pr-4 bg-neutral-200 border-neutral-500 font-normal text-sm text-neutral-800 rounded-md border focus:outline-none")
44806
44771
  }));
44807
44772
  };
44808
44773
 
44809
- const Stepper = ({
44810
- data = ["Basic Information", "Address Information", "Billing Information"],
44811
- currentStep = 2
44812
- }) => {
44774
+ const Stepper = _ref => {
44775
+ let {
44776
+ data = ["Basic Information", "Address Information", "Billing Information"],
44777
+ currentStep = 2
44778
+ } = _ref;
44813
44779
  return /*#__PURE__*/React__default["default"].createElement("div", {
44814
44780
  className: "flex w-full justify-center items-center"
44815
44781
  }, data.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44818,13 +44784,13 @@
44818
44784
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44819
44785
  className: "flex items-center justify-center w-full"
44820
44786
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44821
- className: `${index === 0 ? "opacity-0" : "opacity-100"} h-px bg-neutral40 flex-grow`
44787
+ className: "".concat(index === 0 ? "opacity-0" : "opacity-100", " h-px bg-neutral40 flex-grow")
44822
44788
  }), /*#__PURE__*/React__default["default"].createElement("div", {
44823
- className: `w-10 h-10 rounded-full bg-primary500 cursor-pointer flex items-center justify-center font-semibold ${index === currentStep ? 'bg-primary500 text-white' : 'bg-white text-black'}`
44789
+ className: "w-10 h-10 rounded-full bg-primary500 cursor-pointer flex items-center justify-center font-semibold ".concat(index === currentStep ? 'bg-primary500 text-white' : 'bg-white text-black')
44824
44790
  }, /*#__PURE__*/React__default["default"].createElement("p", {
44825
44791
  className: "text-center"
44826
44792
  }, index + 1)), /*#__PURE__*/React__default["default"].createElement("div", {
44827
- className: `${index === data.length - 1 ? "opacity-0" : "opacity-100"} h-px bg-neutral40 flex-grow`
44793
+ className: "".concat(index === data.length - 1 ? "opacity-0" : "opacity-100", " h-px bg-neutral40 flex-grow")
44828
44794
  })), /*#__PURE__*/React__default["default"].createElement("div", {
44829
44795
  className: "justify-center w-full flex"
44830
44796
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44836,32 +44802,34 @@
44836
44802
  }, value))))));
44837
44803
  };
44838
44804
 
44839
- const Switch = ({
44840
- onChange,
44841
- checked,
44842
- isEdit
44843
- }) => {
44805
+ const Switch = _ref => {
44806
+ let {
44807
+ onChange,
44808
+ checked,
44809
+ isEdit
44810
+ } = _ref;
44844
44811
  const handleClick = () => {
44845
44812
  if (isEdit) {
44846
44813
  onChange();
44847
44814
  }
44848
44815
  };
44849
44816
  return /*#__PURE__*/React__default["default"].createElement("div", {
44850
- className: `relative inline-block ${checked ? 'bg-primary500' : 'bg-neutral40'} rounded-full w-12 h-6 transition-all duration-300 ${isEdit ? "cursor-pointer" : "cursor-default"}`,
44817
+ className: "relative inline-block ".concat(checked ? 'bg-primary500' : 'bg-neutral40', " rounded-full w-12 h-6 transition-all duration-300 ").concat(isEdit ? "cursor-pointer" : "cursor-default"),
44851
44818
  onClick: handleClick
44852
44819
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44853
- className: `absolute flex items-center justify-center w-6 h-6 transition-all duration-300 ${checked ? 'right-0' : 'left-0'}`
44820
+ className: "absolute flex items-center justify-center w-6 h-6 transition-all duration-300 ".concat(checked ? 'right-0' : 'left-0')
44854
44821
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44855
- className: `w-4 h-4 bg-white rounded-full shadow-md transition-all`
44822
+ className: "w-4 h-4 bg-white rounded-full shadow-md transition-all"
44856
44823
  })));
44857
44824
  };
44858
44825
 
44859
- const ChipBar = ({
44860
- currentTab = "Pulsa",
44861
- dataBar = ["All Client", "Waiting for approval", "Approved", "Declined"],
44862
- dataValue = ["All Client", "Waiting for approval", "Approved", "Declined"],
44863
- onChangeChipBar
44864
- }) => {
44826
+ const ChipBar = _ref => {
44827
+ let {
44828
+ currentTab = "Pulsa",
44829
+ dataBar = ["All Client", "Waiting for approval", "Approved", "Declined"],
44830
+ dataValue = ["All Client", "Waiting for approval", "Approved", "Declined"],
44831
+ onChangeChipBar
44832
+ } = _ref;
44865
44833
  return /*#__PURE__*/React__default["default"].createElement("div", {
44866
44834
  className: "w-full flex bg-white border-b border-neutral40 py-2 px-8"
44867
44835
  }, dataBar.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44873,20 +44841,21 @@
44873
44841
  }))));
44874
44842
  };
44875
44843
 
44876
- const TabBar = ({
44877
- currentTab = "all",
44878
- dataBar = ["All Voucher", "Digital Voucher", "PPOB Voucher", "Loyalty Voucher"],
44879
- dataValue = ["All Voucher", "Digital Voucher", "PPOB Voucher", "Loyalty Voucher"],
44880
- onChangeTabBar
44881
- }) => {
44844
+ const TabBar = _ref => {
44845
+ let {
44846
+ currentTab = "all",
44847
+ dataBar = ["All Voucher", "Digital Voucher", "PPOB Voucher", "Loyalty Voucher"],
44848
+ dataValue = ["All Voucher", "Digital Voucher", "PPOB Voucher", "Loyalty Voucher"],
44849
+ onChangeTabBar
44850
+ } = _ref;
44882
44851
  return /*#__PURE__*/React__default["default"].createElement("div", {
44883
44852
  className: "w-full flex bg-white border-b border-neutral40 pt-1.5 px-8"
44884
44853
  }, dataBar.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
44885
44854
  key: dataValue[index],
44886
- className: `${currentTab === dataValue[index] ? "text-primary500 border-b-2 border-primary500" : "text-neutral300 border-b-2 border-white"} cursor-pointer w-fit mx-1.5`,
44855
+ className: "".concat(currentTab === dataValue[index] ? "text-primary500 border-b-2 border-primary500" : "text-neutral300 border-b-2 border-white", " cursor-pointer w-fit mx-1.5"),
44887
44856
  onClick: () => onChangeTabBar(dataValue[index])
44888
44857
  }, /*#__PURE__*/React__default["default"].createElement("p", {
44889
- className: `${currentTab === dataValue[index] ? "font-medium" : "font-normal"} text-sm py-2.5 px-4 font-medium`
44858
+ className: "".concat(currentTab === dataValue[index] ? "font-medium" : "font-normal", " text-sm py-2.5 px-4 font-medium")
44890
44859
  }, value))));
44891
44860
  };
44892
44861
 
@@ -45278,14 +45247,15 @@
45278
45247
  }, "Rp", price)))))));
45279
45248
  };
45280
45249
 
45281
- const Pagination = ({
45282
- firstData = 0,
45283
- lastData = 0,
45284
- totalCount = 0,
45285
- currentPage = 1,
45286
- totalPage = 10,
45287
- onChangePages
45288
- }) => {
45250
+ const Pagination = _ref => {
45251
+ let {
45252
+ firstData = 0,
45253
+ lastData = 0,
45254
+ totalCount = 0,
45255
+ currentPage = 1,
45256
+ totalPage = 10,
45257
+ onChangePages
45258
+ } = _ref;
45289
45259
  const pageNumbers = Array.from({
45290
45260
  length: totalPage
45291
45261
  }, (_, index) => index + 1);
@@ -45301,7 +45271,7 @@
45301
45271
  }, "From ", firstData, " to ", lastData, " of total : ", totalCount)), /*#__PURE__*/React__default["default"].createElement("div", {
45302
45272
  className: "flex px-4 py-2"
45303
45273
  }, /*#__PURE__*/React__default["default"].createElement("div", {
45304
- className: `m-1 w-10 h-10 rounded-full ${currentPage === 1 ? 'bg-neutral20 cursor-default' : 'bg-white cursor-pointer border border-neutral40'} flex items-center justify-center`,
45274
+ className: "m-1 w-10 h-10 rounded-full ".concat(currentPage === 1 ? 'bg-neutral20 cursor-default' : 'bg-white cursor-pointer border border-neutral40', " flex items-center justify-center"),
45305
45275
  onClick: () => {
45306
45276
  if (currentPage !== 1) {
45307
45277
  handleChangePages(currentPage - 1);
@@ -45312,7 +45282,7 @@
45312
45282
  className: "text-neutral300"
45313
45283
  })), totalPage < 4 ? pageNumbers.map(pageNumber => /*#__PURE__*/React__default["default"].createElement("div", {
45314
45284
  key: pageNumber,
45315
- className: `m-1 w-10 h-10 rounded-full cursor-pointer ${currentPage === pageNumber ? 'bg-primary500 text-white' : 'bg-white text-black border border-neutral40'} flex items-center justify-center font-semibold`,
45285
+ className: "m-1 w-10 h-10 rounded-full cursor-pointer ".concat(currentPage === pageNumber ? 'bg-primary500 text-white' : 'bg-white text-black border border-neutral40', " flex items-center justify-center font-semibold"),
45316
45286
  onClick: () => handleChangePages(pageNumber)
45317
45287
  }, /*#__PURE__*/React__default["default"].createElement("p", null, pageNumber))) : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, currentPage == 1 && /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement("div", {
45318
45288
  key: currentPage,
@@ -45375,7 +45345,7 @@
45375
45345
  className: "m-1 w-10 h-10 rounded-full bg-primary500 text-white cursor-pointer flex items-center justify-center font-semibold",
45376
45346
  onClick: () => handleChangePages(currentPage)
45377
45347
  }, /*#__PURE__*/React__default["default"].createElement("p", null, currentPage)))), /*#__PURE__*/React__default["default"].createElement("div", {
45378
- className: `m-1 w-10 h-10 rounded-full ${currentPage === totalPage ? 'bg-neutral20 cursor-default' : 'bg-white cursor-pointer border border-neutral40'} flex items-center justify-center`,
45348
+ className: "m-1 w-10 h-10 rounded-full ".concat(currentPage === totalPage ? 'bg-neutral20 cursor-default' : 'bg-white cursor-pointer border border-neutral40', " flex items-center justify-center"),
45379
45349
  onClick: () => {
45380
45350
  if (currentPage !== totalPage) {
45381
45351
  handleChangePages(currentPage + 1);
@@ -45387,9 +45357,10 @@
45387
45357
  })))));
45388
45358
  };
45389
45359
 
45390
- const HeaderTable = ({
45391
- dataHeader = ["CLIENT NAME", "DIVISION", "PIC", "CONTACT", "TYPE", "STATE"]
45392
- }) => {
45360
+ const HeaderTable = _ref => {
45361
+ let {
45362
+ dataHeader = ["CLIENT NAME", "DIVISION", "PIC", "CONTACT", "TYPE", "STATE"]
45363
+ } = _ref;
45393
45364
  return /*#__PURE__*/React__default["default"].createElement("thead", null, /*#__PURE__*/React__default["default"].createElement("tr", null, dataHeader.map((value, index) => /*#__PURE__*/React__default["default"].createElement("th", {
45394
45365
  key: index,
45395
45366
  className: "py-3.5 px-4 bg-neutral40 text-neutral500 text-sm font-semibold text-left"
@@ -45530,31 +45501,32 @@
45530
45501
  }, "\xA0"))))));
45531
45502
  };
45532
45503
 
45533
- const ModalBilling = ({
45534
- isOpen = false,
45535
- onClose = () => {},
45536
- title = 'Title Modal',
45537
- subtitle = 'Subtitle Modal',
45538
- type = 'default',
45539
- addition,
45540
- placeholderTextArea,
45541
- onChangeTextArea,
45542
- valueTextArea,
45543
- titleButtonLeft = 'Cancel',
45544
- titleButtonRight = 'Okay',
45545
- leftAction = onClose,
45546
- rightAction = onClose,
45547
- fileName = "Bukti Pembayaran",
45548
- clientName = "",
45549
- billingID = "",
45550
- totalAmount = "",
45551
- paymentMethod = "",
45552
- divisionName = "",
45553
- dateAndTime = "",
45554
- titleStatus = "",
45555
- divisisonId = "",
45556
- declineReason = ""
45557
- }) => {
45504
+ const ModalBilling = _ref => {
45505
+ let {
45506
+ isOpen = false,
45507
+ onClose = () => {},
45508
+ title = 'Title Modal',
45509
+ subtitle = 'Subtitle Modal',
45510
+ type = 'default',
45511
+ addition,
45512
+ placeholderTextArea,
45513
+ onChangeTextArea,
45514
+ valueTextArea,
45515
+ titleButtonLeft = 'Cancel',
45516
+ titleButtonRight = 'Okay',
45517
+ leftAction = onClose,
45518
+ rightAction = onClose,
45519
+ fileName = "Bukti Pembayaran",
45520
+ clientName = "",
45521
+ billingID = "",
45522
+ totalAmount = "",
45523
+ paymentMethod = "",
45524
+ divisionName = "",
45525
+ dateAndTime = "",
45526
+ titleStatus = "",
45527
+ divisisonId = "",
45528
+ declineReason = ""
45529
+ } = _ref;
45558
45530
  const cancelButtonRef = React.useRef(null);
45559
45531
  function handleBackgroundClick(e) {
45560
45532
  e.stopPropagation();
@@ -45853,9 +45825,10 @@
45853
45825
  }, "\xA0"))))));
45854
45826
  };
45855
45827
 
45856
- const VerticalStepBar = ({
45857
- steps
45858
- }) => {
45828
+ const VerticalStepBar = _ref => {
45829
+ let {
45830
+ steps
45831
+ } = _ref;
45859
45832
  const [showMore, setShowMore] = React.useState(false);
45860
45833
  const toggleShowMore = () => {
45861
45834
  setShowMore(!showMore);
@@ -45890,7 +45863,7 @@
45890
45863
  }, step.date)), /*#__PURE__*/React__default["default"].createElement("div", {
45891
45864
  className: "flex flex-col items-center mr-4"
45892
45865
  }, /*#__PURE__*/React__default["default"].createElement("div", {
45893
- className: `w-5 h-5 rounded-full ${index === 0 ? 'bg-primary500' : 'bg-neutral40'}`
45866
+ className: "w-5 h-5 rounded-full ".concat(index === 0 ? 'bg-primary500' : 'bg-neutral40')
45894
45867
  }), index < stepsToShow.length - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
45895
45868
  className: "w-0.5 bg-neutral40",
45896
45869
  style: {
@@ -45907,7 +45880,7 @@
45907
45880
  }
45908
45881
  }, /*#__PURE__*/React__default["default"].createElement("p", {
45909
45882
  className: "font-bold text-blue-500"
45910
- }, `Request Limit ${steps.length - index}`), /*#__PURE__*/React__default["default"].createElement("p", {
45883
+ }, "Request Limit ".concat(steps.length - index)), /*#__PURE__*/React__default["default"].createElement("p", {
45911
45884
  className: "font-bold text-primary700 mt-1"
45912
45885
  }, step.balance), index === 0 && sliceIntoChunks(step.reason, "Initial submiaaaa".length).map((chunk, idx) => /*#__PURE__*/React__default["default"].createElement("p", {
45913
45886
  key: idx,
@@ -45929,35 +45902,36 @@
45929
45902
  })))));
45930
45903
  };
45931
45904
 
45932
- const ModalLimit = ({
45933
- isOpen = false,
45934
- onClose = () => {},
45935
- title = 'Title Modal',
45936
- subtitle = 'Subtitle Modal',
45937
- type = 'default',
45938
- addition,
45939
- placeholderTextArea,
45940
- onChangeTextArea,
45941
- valueTextArea,
45942
- valueTextInput,
45943
- titleButtonLeft = 'Cancel',
45944
- titleButtonRight = 'Okay',
45945
- leftAction = onClose,
45946
- rightAction = onClose,
45947
- fileName = "Bukti Pembayaran",
45948
- clientName = "",
45949
- billingID = "",
45950
- totalAmount = "",
45951
- paymentMethod = "",
45952
- divisionName = "",
45953
- dateAndTime = "",
45954
- titleStatus = "",
45955
- divisisonId = "",
45956
- declineReason = "",
45957
- textInputValue,
45958
- steps,
45959
- onChangeTextInput
45960
- }) => {
45905
+ const ModalLimit = _ref => {
45906
+ let {
45907
+ isOpen = false,
45908
+ onClose = () => {},
45909
+ title = 'Title Modal',
45910
+ subtitle = 'Subtitle Modal',
45911
+ type = 'default',
45912
+ addition,
45913
+ placeholderTextArea,
45914
+ onChangeTextArea,
45915
+ valueTextArea,
45916
+ valueTextInput,
45917
+ titleButtonLeft = 'Cancel',
45918
+ titleButtonRight = 'Okay',
45919
+ leftAction = onClose,
45920
+ rightAction = onClose,
45921
+ fileName = "Bukti Pembayaran",
45922
+ clientName = "",
45923
+ billingID = "",
45924
+ totalAmount = "",
45925
+ paymentMethod = "",
45926
+ divisionName = "",
45927
+ dateAndTime = "",
45928
+ titleStatus = "",
45929
+ divisisonId = "",
45930
+ declineReason = "",
45931
+ textInputValue,
45932
+ steps,
45933
+ onChangeTextInput
45934
+ } = _ref;
45961
45935
  const cancelButtonRef = React.useRef(null);
45962
45936
  React.useState("");
45963
45937
  React.useState('');
@@ -46306,23 +46280,24 @@
46306
46280
  }, "\xA0"))))));
46307
46281
  };
46308
46282
 
46309
- const ModalDeposit = ({
46310
- isOpen = false,
46311
- onClose = () => {},
46312
- title = 'Title Modal',
46313
- subtitle = 'Subtitle Modal',
46314
- type = 'default',
46315
- addition,
46316
- valueTextArea,
46317
- valueTextInput,
46318
- clientName = "",
46319
- totalAmount = "",
46320
- divisionName = "",
46321
- dateAndTime = "",
46322
- titleStatus = "",
46323
- divisisonId = "",
46324
- depositType = ''
46325
- }) => {
46283
+ const ModalDeposit = _ref => {
46284
+ let {
46285
+ isOpen = false,
46286
+ onClose = () => {},
46287
+ title = 'Title Modal',
46288
+ subtitle = 'Subtitle Modal',
46289
+ type = 'default',
46290
+ addition,
46291
+ valueTextArea,
46292
+ valueTextInput,
46293
+ clientName = "",
46294
+ totalAmount = "",
46295
+ divisionName = "",
46296
+ dateAndTime = "",
46297
+ titleStatus = "",
46298
+ divisisonId = "",
46299
+ depositType = ''
46300
+ } = _ref;
46326
46301
  const cancelButtonRef = React.useRef(null);
46327
46302
  const [showMore, setShowMore] = React.useState(false);
46328
46303
  const toggleSeeMore = () => {
@@ -46413,16 +46388,16 @@
46413
46388
  }, /*#__PURE__*/React__default["default"].createElement("div", {
46414
46389
  className: "text-center p-4"
46415
46390
  }, /*#__PURE__*/React__default["default"].createElement("div", {
46416
- className: `inline-flex p-8 rounded-full ${bgColorClass}`
46391
+ className: "inline-flex p-8 rounded-full ".concat(bgColorClass)
46417
46392
  }, /*#__PURE__*/React__default["default"].createElement(IconComponent, {
46418
46393
  size: 34,
46419
- className: `${amountClass}`
46394
+ className: "".concat(amountClass)
46420
46395
  })), /*#__PURE__*/React__default["default"].createElement("div", {
46421
46396
  className: "mt-4"
46422
46397
  }, /*#__PURE__*/React__default["default"].createElement("p", {
46423
- className: `text-lg font-semibold`
46398
+ className: "text-lg font-semibold"
46424
46399
  }, totalAmount), /*#__PURE__*/React__default["default"].createElement("p", {
46425
- className: `text-sm text-gray-500`
46400
+ className: "text-sm text-gray-500"
46426
46401
  }, depositType)))), /*#__PURE__*/React__default["default"].createElement("div", {
46427
46402
  className: "mx-3 w-auto h-fit rounded-md border border-neutral40 bg-gray-100 p-1"
46428
46403
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -47573,21 +47548,22 @@
47573
47548
  })))));
47574
47549
  };
47575
47550
 
47576
- const SearchDropdown = ({
47577
- options = [{
47578
- option: "Name 1",
47579
- value: "Value 1"
47580
- }, {
47581
- option: "Name 2",
47582
- value: "Value 2"
47583
- }],
47584
- placeholderSearch = "Search Here",
47585
- filterDropdown = "Filter",
47586
- setFilterDropdown,
47587
- filterSearch,
47588
- setFilterSearch,
47589
- onEnterPress
47590
- }) => {
47551
+ const SearchDropdown = _ref => {
47552
+ let {
47553
+ options = [{
47554
+ option: "Name 1",
47555
+ value: "Value 1"
47556
+ }, {
47557
+ option: "Name 2",
47558
+ value: "Value 2"
47559
+ }],
47560
+ placeholderSearch = "Search Here",
47561
+ filterDropdown = "Filter",
47562
+ setFilterDropdown,
47563
+ filterSearch,
47564
+ setFilterSearch,
47565
+ onEnterPress
47566
+ } = _ref;
47591
47567
  const [isOpen, setIsOpen] = React.useState(false);
47592
47568
  const dropdownRef = React.useRef(null);
47593
47569
  const handleKeyDown = event => {
@@ -47605,14 +47581,14 @@
47605
47581
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47606
47582
  className: "flex items-center h-full"
47607
47583
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47608
- className: `${filterSearch ? "border-black" : "border-neutral50"} relative cursor-pointer border-t border-b border-l rounded-tl-md rounded-bl-md`,
47584
+ className: "".concat(filterSearch ? "border-black" : "border-neutral50", " relative cursor-pointer border-t border-b border-l rounded-tl-md rounded-bl-md"),
47609
47585
  onClick: () => setIsOpen(!isOpen)
47610
47586
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47611
47587
  className: "flex items-center bg-white rounded-tl-md rounded-bl-md"
47612
47588
  }, /*#__PURE__*/React__default["default"].createElement("p", {
47613
47589
  className: "flex items-center w-full py-2.5 text-left pl-4 pr-4 bg-white rounded-md font-bold text-sm text-neutral300"
47614
47590
  }, filterDropdown.option), isOpen ? /*#__PURE__*/React__default["default"].createElement(PiCaretUp, null) : /*#__PURE__*/React__default["default"].createElement(PiCaretDown, null), /*#__PURE__*/React__default["default"].createElement("p", {
47615
- className: `${filterSearch ? "text-black" : "text-neutral50"} ml-3`
47591
+ className: "".concat(filterSearch ? "text-black" : "text-neutral50", " ml-3")
47616
47592
  }, "|")), isOpen && /*#__PURE__*/React__default["default"].createElement("div", {
47617
47593
  className: "z-10 origin-top-left absolute left-0 mt-2 w-full rounded-md shadow-md bg-white ring-1 ring-black ring-opacity-5 focus:outline-none overflow-hidden",
47618
47594
  role: "menu",
@@ -47620,7 +47596,7 @@
47620
47596
  "aria-labelledby": "options-menu"
47621
47597
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47622
47598
  className: "px-1 py-2 max-h-56 overflow-y-auto"
47623
- }, options?.length > 0 ? options.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47599
+ }, (options === null || options === void 0 ? void 0 : options.length) > 0 ? options.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47624
47600
  key: index,
47625
47601
  className: "hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md cursor-pointer",
47626
47602
  onClick: () => handleClickOption(option)
@@ -47631,11 +47607,11 @@
47631
47607
  }, option.option)))) : /*#__PURE__*/React__default["default"].createElement("div", {
47632
47608
  className: "text-sm font-normal text-black flex justify-center"
47633
47609
  }, /*#__PURE__*/React__default["default"].createElement("p", null, "Data Not Available"))))), /*#__PURE__*/React__default["default"].createElement("div", {
47634
- className: `${filterSearch ? "border-black" : "border-neutral50"} relative border-t border-b border-r rounded-tr-md rounded-br-md`
47610
+ className: "".concat(filterSearch ? "border-black" : "border-neutral50", " relative border-t border-b border-r rounded-tr-md rounded-br-md")
47635
47611
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47636
47612
  className: "flex items-center bg-white rounded-tr-md rounded-br-md focus:outline-none"
47637
47613
  }, /*#__PURE__*/React__default["default"].createElement(PiMagnifyingGlass, {
47638
- className: `${filterSearch ? "text-black" : "text-neutral50"} absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4`
47614
+ className: "".concat(filterSearch ? "text-black" : "text-neutral50", " absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4")
47639
47615
  }), /*#__PURE__*/React__default["default"].createElement("input", {
47640
47616
  type: "text",
47641
47617
  value: filterSearch,
@@ -47646,35 +47622,36 @@
47646
47622
  })))));
47647
47623
  };
47648
47624
 
47649
- const FilterDropdown = ({
47650
- options = [{
47651
- menu: "Type",
47652
- parameter: "type",
47653
- submenu: [{
47654
- option: "Type 1",
47655
- value: "type1"
47656
- }],
47657
- type: "checkbox"
47658
- }, {
47659
- menu: "Status",
47660
- parameter: "status",
47661
- submenu: [{
47662
- option: "Status 1",
47663
- value: "status1"
47664
- }],
47665
- type: "radiobutton"
47666
- }, {
47667
- menu: "Payment",
47668
- parameter: "payment",
47669
- submenu: [{
47670
- option: "Payment 1",
47671
- value: "payment1"
47625
+ const FilterDropdown = _ref => {
47626
+ let {
47627
+ options = [{
47628
+ menu: "Type",
47629
+ parameter: "type",
47630
+ submenu: [{
47631
+ option: "Type 1",
47632
+ value: "type1"
47633
+ }],
47634
+ type: "checkbox"
47635
+ }, {
47636
+ menu: "Status",
47637
+ parameter: "status",
47638
+ submenu: [{
47639
+ option: "Status 1",
47640
+ value: "status1"
47641
+ }],
47642
+ type: "radiobutton"
47643
+ }, {
47644
+ menu: "Payment",
47645
+ parameter: "payment",
47646
+ submenu: [{
47647
+ option: "Payment 1",
47648
+ value: "payment1"
47649
+ }],
47650
+ type: "checkbox"
47672
47651
  }],
47673
- type: "checkbox"
47674
- }],
47675
- dataFilterResult,
47676
- setDataFilterResult = () => {}
47677
- }) => {
47652
+ dataFilterResult,
47653
+ setDataFilterResult = () => {}
47654
+ } = _ref;
47678
47655
  const [showFilterMenu, setShowFilterMenu] = React.useState(false);
47679
47656
  const [showFilterSubmenu, setShowFilterSubmenu] = React.useState(false);
47680
47657
  const [dataSelectionOptionMenu, setDataSelectionOptionMenu] = React.useState();
@@ -47703,7 +47680,8 @@
47703
47680
  };
47704
47681
  const handleOnClickOption = (submenu, type, parameter) => {
47705
47682
  if (type === "checkbox") {
47706
- const isSubmenuExist = dataFilterResult[parameter]?.includes(submenu.value);
47683
+ var _dataFilterResult$par;
47684
+ const isSubmenuExist = (_dataFilterResult$par = dataFilterResult[parameter]) === null || _dataFilterResult$par === void 0 ? void 0 : _dataFilterResult$par.includes(submenu.value);
47707
47685
  const updatedData = [...(dataFilterResult[parameter] || [])];
47708
47686
  if (isSubmenuExist) {
47709
47687
  const index = updatedData.indexOf(submenu.value);
@@ -47716,7 +47694,8 @@
47716
47694
  [parameter]: updatedData
47717
47695
  }));
47718
47696
  } else if (type === "radiobutton") {
47719
- if (dataFilterResult[parameter]?.[0] === submenu.value) {
47697
+ var _dataFilterResult$par2;
47698
+ if (((_dataFilterResult$par2 = dataFilterResult[parameter]) === null || _dataFilterResult$par2 === void 0 ? void 0 : _dataFilterResult$par2[0]) === submenu.value) {
47720
47699
  setDataFilterResult(prevState => ({
47721
47700
  ...prevState,
47722
47701
  [parameter]: []
@@ -47729,14 +47708,14 @@
47729
47708
  }
47730
47709
  }
47731
47710
  };
47732
- const buttonText = Object.values(dataFilterResult).flat().length > 0 ? `${Object.values(dataFilterResult).flat().length} Filter Selected` : 'Filter';
47711
+ const buttonText = Object.values(dataFilterResult).flat().length > 0 ? "".concat(Object.values(dataFilterResult).flat().length, " Filter Selected") : 'Filter';
47733
47712
  return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("span", {
47734
47713
  className: "rounded-md shadow-sm"
47735
47714
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47736
47715
  className: "flex"
47737
47716
  }, /*#__PURE__*/React__default["default"].createElement("button", {
47738
47717
  type: "button",
47739
- className: `${Object.values(dataFilterResult).flat().length ? "border-black text-black" : "border-neutral50 text-neutral300"} flex items-center w-60 text-left px-4 bg-white font-normal text-sm rounded-md border focus:outline-none`
47718
+ className: "".concat(Object.values(dataFilterResult).flat().length ? "border-black text-black" : "border-neutral50 text-neutral300", " flex items-center w-60 text-left px-4 bg-white font-normal text-sm rounded-md border focus:outline-none")
47740
47719
  }, /*#__PURE__*/React__default["default"].createElement("span", {
47741
47720
  className: "flex-grow py-2.5",
47742
47721
  onClick: () => setShowFilterMenu(!showFilterMenu)
@@ -47756,60 +47735,67 @@
47756
47735
  }, showFilterMenu && /*#__PURE__*/React__default["default"].createElement("div", {
47757
47736
  ref: dropdownRef,
47758
47737
  className: "bg-white border border-neutral40 w-48 rounded-md p-3 top-1 absolute z-10 rounded-md shadow-md bg-white"
47759
- }, options.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47760
- key: index
47761
- }, /*#__PURE__*/React__default["default"].createElement("div", {
47762
- className: `hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md flex items-center cursor-pointer justify-between`,
47763
- onClick: () => {
47764
- setShowFilterSubmenu(true);
47765
- setDataSelectionOptionMenu(option.menu);
47766
- }
47767
- }, /*#__PURE__*/React__default["default"].createElement("p", null, option.menu), (dataFilterResult[option.parameter]?.length || 0) === 0 ? /*#__PURE__*/React__default["default"].createElement(PiCaretRight, {
47768
- size: 16,
47769
- className: "text-neutral300"
47770
- }) : /*#__PURE__*/React__default["default"].createElement("div", {
47771
- className: "w-4 h-4 border border-primary500 rounded-full flex items-center justify-center text-primary500"
47772
- }, /*#__PURE__*/React__default["default"].createElement("p", {
47773
- style: {
47774
- fontSize: "8px"
47775
- }
47776
- }, dataFilterResult[option.parameter]?.length || 0))), showFilterSubmenu && option.submenu.length > 0 && dataSelectionOptionMenu === option.menu && /*#__PURE__*/React__default["default"].createElement("div", {
47777
- className: `ml-1 border border-neutral40 bg-white p-3 shadow-md rounded-md w-56 absolute left-48 cursor-pointer ${index == 0 && "top-0"} ${index == 1 && "top-16"} ${index == 2 && "top-24"} ${index == 3 && "top-36"}`
47778
- }, option.submenu.map((submenu, subIndex) => /*#__PURE__*/React__default["default"].createElement("div", {
47779
- key: subIndex,
47780
- className: "flex bg-white hover:bg-neutral20 rounded-md py-2.5 px-4 my-0.5",
47781
- onClick: () => {
47782
- handleOnClickOption(submenu, option.type, option.parameter);
47783
- }
47784
- }, option.type === "checkbox" && /*#__PURE__*/React__default["default"].createElement("div", {
47785
- className: "flex items-center"
47786
- }, /*#__PURE__*/React__default["default"].createElement("input", {
47787
- type: "checkbox",
47788
- className: "mr-2",
47789
- checked: dataFilterResult[option.parameter]?.includes(submenu.value) || false,
47790
- onChange: () => handleOnClickOption(submenu, option.type, option.parameter)
47791
- }), /*#__PURE__*/React__default["default"].createElement("p", {
47792
- className: `text-sm ${dataFilterResult[option.parameter]?.includes(submenu.value) ? 'text-primary500' : 'text-black'}`
47793
- }, submenu.option)), option.type === "radiobutton" && /*#__PURE__*/React__default["default"].createElement("div", {
47794
- className: "flex items-center"
47795
- }, /*#__PURE__*/React__default["default"].createElement("input", {
47796
- type: "radio",
47797
- className: "mr-2",
47798
- checked: dataFilterResult[option.parameter]?.[0] === submenu.value,
47799
- onChange: () => handleOnClickOption(submenu, option.type, option.parameter)
47800
- }), /*#__PURE__*/React__default["default"].createElement("p", {
47801
- className: `text-sm ${dataFilterResult[option.parameter]?.[0] === submenu.value ? 'text-primary500' : 'text-black'}`
47802
- }, submenu.option))))))))));
47738
+ }, options.map((option, index) => {
47739
+ var _dataFilterResult$opt, _dataFilterResult$opt2;
47740
+ return /*#__PURE__*/React__default["default"].createElement("div", {
47741
+ key: index
47742
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
47743
+ className: "hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md flex items-center cursor-pointer justify-between",
47744
+ onClick: () => {
47745
+ setShowFilterSubmenu(true);
47746
+ setDataSelectionOptionMenu(option.menu);
47747
+ }
47748
+ }, /*#__PURE__*/React__default["default"].createElement("p", null, option.menu), (((_dataFilterResult$opt = dataFilterResult[option.parameter]) === null || _dataFilterResult$opt === void 0 ? void 0 : _dataFilterResult$opt.length) || 0) === 0 ? /*#__PURE__*/React__default["default"].createElement(PiCaretRight, {
47749
+ size: 16,
47750
+ className: "text-neutral300"
47751
+ }) : /*#__PURE__*/React__default["default"].createElement("div", {
47752
+ className: "w-4 h-4 border border-primary500 rounded-full flex items-center justify-center text-primary500"
47753
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
47754
+ style: {
47755
+ fontSize: "8px"
47756
+ }
47757
+ }, ((_dataFilterResult$opt2 = dataFilterResult[option.parameter]) === null || _dataFilterResult$opt2 === void 0 ? void 0 : _dataFilterResult$opt2.length) || 0))), showFilterSubmenu && option.submenu.length > 0 && dataSelectionOptionMenu === option.menu && /*#__PURE__*/React__default["default"].createElement("div", {
47758
+ className: "ml-1 border border-neutral40 bg-white p-3 shadow-md rounded-md w-56 absolute left-48 cursor-pointer ".concat(index == 0 && "top-0", " ").concat(index == 1 && "top-16", " ").concat(index == 2 && "top-24", " ").concat(index == 3 && "top-36")
47759
+ }, option.submenu.map((submenu, subIndex) => {
47760
+ var _dataFilterResult$opt3, _dataFilterResult$opt4, _dataFilterResult$opt5, _dataFilterResult$opt6;
47761
+ return /*#__PURE__*/React__default["default"].createElement("div", {
47762
+ key: subIndex,
47763
+ className: "flex bg-white hover:bg-neutral20 rounded-md py-2.5 px-4 my-0.5",
47764
+ onClick: () => {
47765
+ handleOnClickOption(submenu, option.type, option.parameter);
47766
+ }
47767
+ }, option.type === "checkbox" && /*#__PURE__*/React__default["default"].createElement("div", {
47768
+ className: "flex items-center"
47769
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
47770
+ type: "checkbox",
47771
+ className: "mr-2",
47772
+ checked: ((_dataFilterResult$opt3 = dataFilterResult[option.parameter]) === null || _dataFilterResult$opt3 === void 0 ? void 0 : _dataFilterResult$opt3.includes(submenu.value)) || false,
47773
+ onChange: () => handleOnClickOption(submenu, option.type, option.parameter)
47774
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
47775
+ className: "text-sm ".concat((_dataFilterResult$opt4 = dataFilterResult[option.parameter]) !== null && _dataFilterResult$opt4 !== void 0 && _dataFilterResult$opt4.includes(submenu.value) ? 'text-primary500' : 'text-black')
47776
+ }, submenu.option)), option.type === "radiobutton" && /*#__PURE__*/React__default["default"].createElement("div", {
47777
+ className: "flex items-center"
47778
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
47779
+ type: "radio",
47780
+ className: "mr-2",
47781
+ checked: ((_dataFilterResult$opt5 = dataFilterResult[option.parameter]) === null || _dataFilterResult$opt5 === void 0 ? void 0 : _dataFilterResult$opt5[0]) === submenu.value,
47782
+ onChange: () => handleOnClickOption(submenu, option.type, option.parameter)
47783
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
47784
+ className: "text-sm ".concat(((_dataFilterResult$opt6 = dataFilterResult[option.parameter]) === null || _dataFilterResult$opt6 === void 0 ? void 0 : _dataFilterResult$opt6[0]) === submenu.value ? 'text-primary500' : 'text-black')
47785
+ }, submenu.option)));
47786
+ })));
47787
+ }))));
47803
47788
  };
47804
47789
 
47805
- const Footer = ({
47806
- titleLeftButton = "Cancel",
47807
- titleRightButton = "Submit",
47808
- isActiveLeftButton,
47809
- isActiveRightButton,
47810
- onClickLeftButton,
47811
- onClickRightButton
47812
- }) => {
47790
+ const Footer = _ref => {
47791
+ let {
47792
+ titleLeftButton = "Cancel",
47793
+ titleRightButton = "Submit",
47794
+ isActiveLeftButton,
47795
+ isActiveRightButton,
47796
+ onClickLeftButton,
47797
+ onClickRightButton
47798
+ } = _ref;
47813
47799
  return /*#__PURE__*/React__default["default"].createElement("div", {
47814
47800
  className: "fixed bottom-0 flex justify-end w-full items-center py-1 px-6 bg-white"
47815
47801
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -47831,27 +47817,28 @@
47831
47817
 
47832
47818
  var img = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAXmSURBVHgBvVhrbBRVFP5mdrvU3ba03XbbVbFbCArIo40aAaMshcQAIiVGG/wDRUhMjLb8ABMTA/yCCJFtTOQHShc1AhoVHwlREtk/lkQTKY+ikDbZUh62tbAt+37MeO7sbnfp7s7c2RK/ZPbO7P3m3u+ec+bOOSOgSMjnnU6IaIKAFXTZREdl6mDwQYaX+rzUXoAEj9Ds8aAICHrIJKqSRHXQXZ1ZYjhvVgR7kMBeEuvlvY1LYErY7pSwBwE3r1BNgfIF52ZiuaDXYpoDk0UlRaRbjSZoiDv0AK1WCC5hsWdHoc68AhWXGtBNp634f3CKXN5O1vRN7TDmpXOICwaBa33A1T4Zd0aBIS8wNpLsM1uAahvw+AJg9ToB1lpooZXmZNg4tSPHgjxuPecBvnLLCAbAhbZ2AS1ruag57hazL8i1W3hi7u5EjFscw8luGQf3RTAyImlRO5WHMgtCljgHyT1L/zjURvjx+wi+PSbCZDBCD8KJGGIlIbg+KofNJqpRfRSPjel4zDBF7NESNzIs4eTxiG5xaQQCMroOBbVo7AHdnZGFlPUEbNa68/iXYUSCul4+k4iQBRkuX4orQjXQqewkaYGK9TjABmeISnGMR0MYC/txJxJQzkOJKGQ5d2KzZQZKraXUH8sZR0sk+0n7aoUWm606HeRMFIOlrBQta5phKS9Ncu6FEQvFUSKIqLNXwVpXgablc+G/F0Tn1sMI+MMKb3hY82FhW10H/e4xypcoK5HVYy/foOtfXYpN7S2T4tRgLpuB9a8tw4mjZ5VrjqeZoZJlTCK9D5087DJLJvYWNjuw7Z21XOLSWEWWToMjBpOgdI7FYBMP11YnYuEiY85kvLDVVyohwbDpde6FOZnABl52yyqT0tbWF5fY2OyVeHZpidY+mIGAJUatvS8bS5dbKaBexOy5dhSDbW+vgcU0QGcXeW+pFOSLTs6AIMxYBpQuw7Qx/iE3ldPWKcgTmDYSo7roTKCPmx3rx7QRH9LD9om0B45z0+WIbgvkIH6Dn0tVIbNgL/TA/zkgFenq4M8kUIcXJAwygR7oRbECZX5npdArUhTqsyBD5Bx0Izagz70MrOBnLW01d6G3rCyZA8m0DqJROzeUo4MQwj8lY5gfXkr/G5PbDOWR0AuySGD4FqS4euoUGae1hwf0imPwsJ+kQEkpzPWh4jlF3L2b1xG+O4ZENKpcp48YlX2h0X9gMgoQzHPJ4vW6hmdfHliTqUkuOF101cF1s42S77otiI0NIHTtDOT4/dYRBAGmh0pRajEDM2cT92mKvztA/3aa2M8zg5vc285OMm8SScmqVTftiYkaXL7yAvoHVyrXJdY5sCx+BQYzfboxGmA0mRRR5daqpLjqeYB9Oc1CSYapHj1/bMbQjfmIRMxq03jT1lMWm92jlJ3Jol3ByGgDDbgAQzfnU/vk5MAzawzYvj+rGo+RVa6foTarFq1ZnDxS6PsthNPdmW1m1qNXYKvxUvsXbLWDqKiYfAG0k/XceQUqIsnVI/86Ok5+877qStt2VmPWE6b8IplLq+bdxz/y7ijGxxIFx3uq+TRWPv9Zl7DEc19dnpMsMMLX373n0XADen6YEkslZQjYVuL3WxU54pj11MQx/Hl+7amp4hjybmIxf+1G2RDpFiAX/D4zdDWqHGkr9vxyE4e/2E/pfBBr/o6jrW0DKqzJDy6Xe0JQAz3npwzlofb8fSo4+MYtlwyh4JPNxLW+VYVfT0ygj0T0hg5QfEfgML2M2XXN2EB9tEgc2ztWcA4ZcteuTx/uLCxeAx9svb2Fdg1W6Tu0uL3RfUr7iGE1ag3PqHLJaj5JlHfsOmJ3q/E0E9ZdR+1uYwloX5GOqfEScjhzjrAaVbEaubRRSxyDru8Yh9687YjHpD20LlboO7L7opSpXIl9rJxXi4vwmPGlKRMJPlmQu4xlYdcOVyN3klzchxbCgW23nZIkOemt0SRQ4e+Ht6E/dkJJOKrEeb4GQ+u4LKCX+jwQhd6dn9g9KAL/AeM0NLmkDzUcAAAAAElFTkSuQmCC";
47833
47819
 
47834
- const Header = ({
47835
- title = "Label",
47836
- fullName = "Undefined Name",
47837
- roleName = "Undefined Role",
47838
- dataProfile = [{
47839
- title: "Change Password",
47840
- action: () => {
47841
- console.log("Change Password");
47842
- },
47843
- logo: PiUserCircleDuotone
47844
- }, {
47845
- title: "Logout",
47846
- action: () => {
47847
- console.log("Logout");
47848
- },
47849
- logo: PiDoorOpenDuotone
47850
- }],
47851
- isNotificationActive = false,
47852
- dataNotification = ["Notification 1", "Notification 2"],
47853
- dataBalance = "0"
47854
- }) => {
47820
+ const Header = _ref => {
47821
+ let {
47822
+ title = "Label",
47823
+ fullName = "Undefined Name",
47824
+ roleName = "Undefined Role",
47825
+ dataProfile = [{
47826
+ title: "Change Password",
47827
+ action: () => {
47828
+ console.log("Change Password");
47829
+ },
47830
+ logo: PiUserCircleDuotone
47831
+ }, {
47832
+ title: "Logout",
47833
+ action: () => {
47834
+ console.log("Logout");
47835
+ },
47836
+ logo: PiDoorOpenDuotone
47837
+ }],
47838
+ isNotificationActive = false,
47839
+ dataNotification = ["Notification 1", "Notification 2"],
47840
+ dataBalance = "0"
47841
+ } = _ref;
47855
47842
  const [isProfileContentVisible, setProfileContentVisible] = React.useState(false);
47856
47843
  const [isNotificationContentVisible, setNotificationContentVisible] = React.useState(false);
47857
47844
  const modalRefProfile = React.useRef(null);
@@ -47902,9 +47889,7 @@
47902
47889
  className: "z-50 w-48 bg-white border border-neutral40 rounded-md shadow-md"
47903
47890
  }, dataNotification.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47904
47891
  key: index,
47905
- className: `px-2 flex items-center cursor-pointer bg-white hover:bg-neutral20 p-2
47906
- ${dataProfile.length == 1 ? "rounded-md" : index === 0 ? "rounded-t-md" : index === dataProfile.length - 1 ? 'rounded-b-md' : ""}
47907
- `,
47892
+ className: "px-2 flex items-center cursor-pointer bg-white hover:bg-neutral20 p-2 \n ".concat(dataProfile.length == 1 ? "rounded-md" : index === 0 ? "rounded-t-md" : index === dataProfile.length - 1 ? 'rounded-b-md' : "", "\n "),
47908
47893
  onClick: value.action
47909
47894
  }, /*#__PURE__*/React__default["default"].createElement("p", {
47910
47895
  className: "text-sm"
@@ -47929,9 +47914,7 @@
47929
47914
  className: "z-50 w-48 bg-white border border-neutral40 rounded-md shadow-md"
47930
47915
  }, dataProfile.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47931
47916
  key: index,
47932
- className: `px-2 flex items-center cursor-pointer bg-white hover:bg-neutral20 p-2
47933
- ${dataProfile.length == 1 ? "rounded-md" : index === 0 ? "rounded-t-md" : index === dataProfile.length - 1 ? 'rounded-b-md' : ""}
47934
- `,
47917
+ className: "px-2 flex items-center cursor-pointer bg-white hover:bg-neutral20 p-2 \n ".concat(dataProfile.length == 1 ? "rounded-md" : index === 0 ? "rounded-t-md" : index === dataProfile.length - 1 ? 'rounded-b-md' : "", "\n "),
47935
47918
  onClick: value.action
47936
47919
  }, /*#__PURE__*/React__default["default"].createElement(value.logo, {
47937
47920
  size: 16,