sprint-asia-custom-component 0.1.53 → 0.1.54

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,15 +101,14 @@
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 = _ref => {
105
- let {
106
- title = "Button",
107
- type = "wrap",
108
- isActive = true,
109
- size = "large",
110
- isIconVisible = false,
111
- onClick = () => {}
112
- } = _ref;
104
+ const OutlineButton = ({
105
+ title = "Button",
106
+ type = "wrap",
107
+ isActive = true,
108
+ size = "large",
109
+ isIconVisible = false,
110
+ onClick = () => {}
111
+ }) => {
113
112
  const [isPressed, setIsPressed] = React.useState(false);
114
113
  const handleButtonPress = () => {
115
114
  setIsPressed(true);
@@ -121,7 +120,16 @@
121
120
  onClick();
122
121
  };
123
122
  return /*#__PURE__*/React__default["default"].createElement("button", {
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"),
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`,
125
133
  disabled: !isActive,
126
134
  onClick: handleClick,
127
135
  onMouseDown: handleButtonPress,
@@ -136,29 +144,38 @@
136
144
  }), /*#__PURE__*/React__default["default"].createElement("p", null, title)));
137
145
  };
138
146
 
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;
147
+ const Alert = ({
148
+ title = "Title",
149
+ subtitle = "Subtitle",
150
+ type = "primary",
151
+ titleLeftButton,
152
+ titleRightButton,
153
+ onCloseButton,
154
+ onClickLeftButton,
155
+ onClickRightButton
156
+ }) => {
150
157
  return /*#__PURE__*/React__default["default"].createElement("div", {
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")
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`
152
164
  }, /*#__PURE__*/React__default["default"].createElement("div", {
153
165
  className: "w-full flex"
154
166
  }, /*#__PURE__*/React__default["default"].createElement("div", null, type === "success" ? /*#__PURE__*/React__default["default"].createElement(PiCheckCircleFill, {
155
167
  size: "24",
156
168
  variant: "Bold",
157
- className: "\n ".concat(type === "success" && "text-success600", " mr-2")
169
+ className: `
170
+ ${type === "success" && "text-success600"} mr-2`
158
171
  }) : /*#__PURE__*/React__default["default"].createElement(PiInfoFill, {
159
172
  size: "24",
160
173
  variant: "Bold",
161
- className: "\n ".concat(type === "primary" && "text-primary600", "\n ").concat(type === "warning" && "text-warning800", "\n ").concat(type === "danger" && "text-danger500", " \n mr-2")
174
+ className: `
175
+ ${type === "primary" && "text-primary600"}
176
+ ${type === "warning" && "text-warning800"}
177
+ ${type === "danger" && "text-danger500"}
178
+ mr-2`
162
179
  })), /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("p", {
163
180
  className: "text-md font-semibold text-black"
164
181
  }, title), /*#__PURE__*/React__default["default"].createElement("p", {
@@ -188,14 +205,13 @@
188
205
  }))));
189
206
  };
190
207
 
191
- const DangerButton = _ref => {
192
- let {
193
- title = "Button",
194
- type = "wrap",
195
- isActive = true,
196
- size = "large",
197
- onClick = () => {}
198
- } = _ref;
208
+ const DangerButton = ({
209
+ title = "Button",
210
+ type = "wrap",
211
+ isActive = true,
212
+ size = "large",
213
+ onClick = () => {}
214
+ }) => {
199
215
  const [isPressed, setIsPressed] = React.useState(false);
200
216
  const handleButtonPress = () => {
201
217
  setIsPressed(true);
@@ -207,7 +223,16 @@
207
223
  onClick();
208
224
  };
209
225
  return /*#__PURE__*/React__default["default"].createElement("button", {
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"),
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`,
211
236
  disabled: !isActive,
212
237
  onClick: handleClick,
213
238
  onMouseDown: handleButtonPress,
@@ -217,14 +242,13 @@
217
242
  }, title);
218
243
  };
219
244
 
220
- const PrimaryButton = _ref => {
221
- let {
222
- title = "Button",
223
- type = "wrap",
224
- isActive = true,
225
- size = "large",
226
- onClick = () => {}
227
- } = _ref;
245
+ const PrimaryButton = ({
246
+ title = "Button",
247
+ type = "wrap",
248
+ isActive = true,
249
+ size = "large",
250
+ onClick = () => {}
251
+ }) => {
228
252
  const [isPressed, setIsPressed] = React.useState(false);
229
253
  const handleButtonPress = () => {
230
254
  setIsPressed(true);
@@ -236,7 +260,16 @@
236
260
  onClick();
237
261
  };
238
262
  return /*#__PURE__*/React__default["default"].createElement("button", {
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"),
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`,
240
273
  disabled: !isActive,
241
274
  onClick: handleClick,
242
275
  onMouseDown: handleButtonPress,
@@ -246,20 +279,22 @@
246
279
  }, title);
247
280
  };
248
281
 
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;
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
+ }) => {
259
291
  return /*#__PURE__*/React__default["default"].createElement("div", {
260
292
  className: "w-full"
261
293
  }, /*#__PURE__*/React__default["default"].createElement("div", {
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")
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`
263
298
  }, /*#__PURE__*/React__default["default"].createElement("div", {
264
299
  className: "flex justify-between"
265
300
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -281,17 +316,23 @@
281
316
  }, "x")))));
282
317
  };
283
318
 
284
- const Chip = _ref => {
285
- let {
286
- title = "Approve",
287
- type = "success",
288
- onClick
289
- } = _ref;
319
+ const Chip = ({
320
+ title = "Approve",
321
+ type = "success",
322
+ onClick
323
+ }) => {
290
324
  return /*#__PURE__*/React__default["default"].createElement("div", {
291
325
  className: "w-fit",
292
326
  onClick: onClick
293
327
  }, /*#__PURE__*/React__default["default"].createElement("div", {
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")
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`
295
336
  }, /*#__PURE__*/React__default["default"].createElement("div", {
296
337
  className: "flex items-center"
297
338
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -23743,13 +23784,12 @@
23743
23784
  // ex: while focusing prev and next month buttons
23744
23785
  _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";
23745
23786
 
23746
- const CustomDatePicker = _ref => {
23747
- let {
23748
- startDate,
23749
- onChangeStartDate,
23750
- endDate,
23751
- onChangeEndDate
23752
- } = _ref;
23787
+ const CustomDatePicker = ({
23788
+ startDate,
23789
+ onChangeStartDate,
23790
+ endDate,
23791
+ onChangeEndDate
23792
+ }) => {
23753
23793
  const onChange = dates => {
23754
23794
  const [start, end] = dates;
23755
23795
  onChangeStartDate(start);
@@ -23773,15 +23813,14 @@
23773
23813
  }));
23774
23814
  };
23775
23815
 
23776
- const Description = _ref => {
23777
- let {
23778
- title = "Title",
23779
- value = "Description",
23780
- textColor = "default",
23781
- subtitle,
23782
- linkSubtitle,
23783
- onClickSubtitle
23784
- } = _ref;
23816
+ const Description = ({
23817
+ title = "Title",
23818
+ value = "Description",
23819
+ textColor = "default",
23820
+ subtitle,
23821
+ linkSubtitle,
23822
+ onClickSubtitle
23823
+ }) => {
23785
23824
  return /*#__PURE__*/React__default["default"].createElement("div", {
23786
23825
  className: "w-full"
23787
23826
  }, title && /*#__PURE__*/React__default["default"].createElement("p", {
@@ -23789,7 +23828,10 @@
23789
23828
  }, title), /*#__PURE__*/React__default["default"].createElement("div", {
23790
23829
  className: "py-1"
23791
23830
  }, /*#__PURE__*/React__default["default"].createElement("p", {
23792
- className: "\n ".concat(textColor == "default" && "text-black font-semibold text-base", " \n ").concat(textColor == "success" && "text-success500 font-semibold text-base", " \n ")
23831
+ className: `
23832
+ ${textColor == "default" && "text-black font-semibold text-base"}
23833
+ ${textColor == "success" && "text-success500 font-semibold text-base"}
23834
+ `
23793
23835
  }, value)), subtitle && /*#__PURE__*/React__default["default"].createElement("div", {
23794
23836
  className: "flex items-center mt-1"
23795
23837
  }, /*#__PURE__*/React__default["default"].createElement("p", {
@@ -23800,12 +23842,11 @@
23800
23842
  }, linkSubtitle)));
23801
23843
  };
23802
23844
 
23803
- const DescriptionFile = _ref => {
23804
- let {
23805
- title = "Title",
23806
- link = "https://sprintasia.atlassian.net/browse/NP-165",
23807
- fileName = ""
23808
- } = _ref;
23845
+ const DescriptionFile = ({
23846
+ title = "Title",
23847
+ link = "https://sprintasia.atlassian.net/browse/NP-165",
23848
+ fileName = ""
23849
+ }) => {
23809
23850
  return /*#__PURE__*/React__default["default"].createElement("div", {
23810
23851
  className: "w-full"
23811
23852
  }, title && /*#__PURE__*/React__default["default"].createElement("p", {
@@ -23822,18 +23863,17 @@
23822
23863
  }, fileName, ".pdf")));
23823
23864
  };
23824
23865
 
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;
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
+ }) => {
23837
23877
  const [isOpen, setIsOpen] = React.useState(false);
23838
23878
  const [dataDropdown, setDataDropdown] = React.useState(options);
23839
23879
  const [inputValue, setInputValue] = React.useState('');
@@ -23897,7 +23937,7 @@
23897
23937
  "aria-labelledby": "options-menu"
23898
23938
  }, /*#__PURE__*/React__default["default"].createElement("div", {
23899
23939
  className: "px-1 py-2 max-h-56 overflow-y-auto"
23900
- }, (dataDropdown === null || dataDropdown === void 0 ? void 0 : dataDropdown.length) > 0 ? dataDropdown.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
23940
+ }, dataDropdown?.length > 0 ? dataDropdown.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
23901
23941
  key: index,
23902
23942
  className: "hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md cursor-pointer",
23903
23943
  onClick: () => handleOptionClick(option)
@@ -23921,14 +23961,13 @@
23921
23961
  }, /*#__PURE__*/React__default["default"].createElement("p", null, "Data Not Available"))))));
23922
23962
  };
23923
23963
 
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;
23964
+ const DropdownChip = ({
23965
+ options = ["Type", "Company", "Category", "Location", "Product"],
23966
+ onSelect,
23967
+ selectedOptions,
23968
+ onRemoveOption,
23969
+ title = "Title Dropdown"
23970
+ }) => {
23932
23971
  const [isOpen, setIsOpen] = React.useState(false);
23933
23972
  const [inputValue, setInputValue] = React.useState('');
23934
23973
  const dropdownRef = React.useRef(null);
@@ -23965,7 +24004,7 @@
23965
24004
  className: "relative"
23966
24005
  }, /*#__PURE__*/React__default["default"].createElement("div", {
23967
24006
  className: "flex items-center bg-neutral20 border-neutral50 border rounded-md focus:outline-none"
23968
- }, (selectedOptions === null || selectedOptions === void 0 ? void 0 : selectedOptions.length) > 0 && selectedOptions.map(selectedOption => /*#__PURE__*/React__default["default"].createElement("div", {
24007
+ }, selectedOptions?.length > 0 && selectedOptions.map(selectedOption => /*#__PURE__*/React__default["default"].createElement("div", {
23969
24008
  className: "ml-4",
23970
24009
  key: selectedOption
23971
24010
  }, /*#__PURE__*/React__default["default"].createElement(Chip, {
@@ -23985,7 +24024,7 @@
23985
24024
  "aria-labelledby": "options-menu"
23986
24025
  }, /*#__PURE__*/React__default["default"].createElement("div", {
23987
24026
  className: "px-1 py-2 max-h-40 overflow-y-auto"
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", {
24027
+ }, options?.length > 0 && options.filter(option => option.toLowerCase().includes(inputValue.toLowerCase()) && !selectedOptions?.includes(option)).map(option => /*#__PURE__*/React__default["default"].createElement("div", {
23989
24028
  key: option,
23990
24029
  className: "hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md cursor-pointer",
23991
24030
  onClick: () => handleOptionClick(option)
@@ -23994,24 +24033,23 @@
23994
24033
  }, option)))))));
23995
24034
  };
23996
24035
 
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;
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
+ mode = "default",
24047
+ footer = null,
24048
+ currentOption = {
24049
+ option: "Name 1",
24050
+ value: "Value 1"
24051
+ }
24052
+ }) => {
24015
24053
  const [isOpen, setIsOpen] = React.useState(false);
24016
24054
  const [selectedOption, setSelectedOption] = React.useState(null);
24017
24055
  const dropdownRef = React.useRef(null);
@@ -24054,7 +24092,11 @@
24054
24092
  className: "rounded-md shadow-sm"
24055
24093
  }, /*#__PURE__*/React__default["default"].createElement("button", {
24056
24094
  type: "button",
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"),
24095
+ className: `
24096
+ ${isEdited == false && "bg-neutral30 cursor-not-allowed"}
24097
+ ${mode == "default" && "border-neutral50 bg-neutral20 cursor-pointer"}
24098
+ ${mode == "danger" && "border-danger500 bg-danger50 cursor-pointer"}
24099
+ 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`,
24058
24100
  onClick: () => isEdited && handleToggleDropdownText()
24059
24101
  }, /*#__PURE__*/React__default["default"].createElement("span", {
24060
24102
  className: "flex-grow overflow-hidden"
@@ -25883,20 +25925,19 @@
25883
25925
  }
25884
25926
  function noop() {}
25885
25927
 
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;
25928
+ const DropzoneUploadFile = ({
25929
+ title = "Title Dropzone",
25930
+ subtitle = "Format File PDF, JPEG JPG, Maximal File 5 MB",
25931
+ required = false,
25932
+ onDrop,
25933
+ maxFiles = 1,
25934
+ selectedFile,
25935
+ error = ""
25936
+ }) => {
25895
25937
  const [errorMessage, setErrorMessage] = React.useState("");
25896
25938
  const onDropRejected = rejectedFiles => {
25897
- var _file$errors$;
25898
25939
  const file = rejectedFiles[0];
25899
- if (((_file$errors$ = file.errors[0]) === null || _file$errors$ === void 0 ? void 0 : _file$errors$.code) === "file-too-large") {
25940
+ if (file.errors[0]?.code === "file-too-large") {
25900
25941
  setErrorMessage("Your file is too large, Max file size is 5 MB");
25901
25942
  }
25902
25943
  };
@@ -25927,7 +25968,7 @@
25927
25968
  }, /*#__PURE__*/React__default["default"].createElement("div", _extends$2({}, getRootProps({
25928
25969
  className: "dropzone"
25929
25970
  }), {
25930
- className: "bg-neutral20 w-full h-28 rounded-lg border-2 border-neutral50 border-dashed"
25971
+ className: `bg-neutral20 w-full h-28 rounded-lg border-2 ${error ? "border-danger500" : "border-neutral50"} border-dashed`
25931
25972
  }), /*#__PURE__*/React__default["default"].createElement("input", _extends$2({}, getInputProps(), {
25932
25973
  required: required
25933
25974
  })), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -25948,16 +25989,17 @@
25948
25989
  className: "text-neutral300"
25949
25990
  })), /*#__PURE__*/React__default["default"].createElement("p", {
25950
25991
  className: "text-sm text-black mt-2"
25951
- }, selectedFile === null || selectedFile === void 0 ? void 0 : selectedFile.name)))))), /*#__PURE__*/React__default["default"].createElement("p", {
25992
+ }, selectedFile?.name)))))), error && /*#__PURE__*/React__default["default"].createElement("p", {
25993
+ className: "text-danger500 text-xs mt-1"
25994
+ }, error), /*#__PURE__*/React__default["default"].createElement("p", {
25952
25995
  className: "text-xs text-neutral300 mt-1"
25953
25996
  }, subtitle));
25954
25997
  };
25955
25998
 
25956
- const DropzoneUploadPhoto = _ref => {
25957
- let {
25958
- onFileChange,
25959
- currentImage
25960
- } = _ref;
25999
+ const DropzoneUploadPhoto = ({
26000
+ onFileChange,
26001
+ currentImage
26002
+ }) => {
25961
26003
  const [selectedImage, setSelectedImage] = React.useState(null);
25962
26004
  const [isHovered, setIsHovered] = React.useState(false);
25963
26005
  const {
@@ -26547,12 +26589,11 @@
26547
26589
  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
26548
26590
  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}};
26549
26591
 
26550
- const ExportToExcel = _ref => {
26551
- let {
26552
- dataExport,
26553
- fileName,
26554
- title
26555
- } = _ref;
26592
+ const ExportToExcel = ({
26593
+ dataExport,
26594
+ fileName,
26595
+ title
26596
+ }) => {
26556
26597
  const fileType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8";
26557
26598
  const fileExtension = ".xlsx";
26558
26599
  const exportToCSV = (dataExport, fileName) => {
@@ -26578,11 +26619,10 @@
26578
26619
  });
26579
26620
  };
26580
26621
 
26581
- const FilterCheckbox = _ref => {
26582
- let {
26583
- options = ["Type", "Company"],
26584
- onSelect
26585
- } = _ref;
26622
+ const FilterCheckbox = ({
26623
+ options = ["Type", "Company"],
26624
+ onSelect
26625
+ }) => {
26586
26626
  const [isOpen, setIsOpen] = React.useState(false);
26587
26627
  const [selectedOptions, setSelectedOptions] = React.useState([]);
26588
26628
  const dropdownRef = React.useRef(null);
@@ -26609,7 +26649,7 @@
26609
26649
  onSelect(updatedOptions);
26610
26650
  }
26611
26651
  };
26612
- const buttonText = selectedOptions.length > 0 ? "".concat(selectedOptions.length, " Filter Selected") : 'Filter';
26652
+ const buttonText = selectedOptions.length > 0 ? `${selectedOptions.length} Filter Selected` : 'Filter';
26613
26653
  return /*#__PURE__*/React__default["default"].createElement("div", {
26614
26654
  className: "relative inline-block text-left",
26615
26655
  ref: dropdownRef
@@ -26635,7 +26675,7 @@
26635
26675
  className: "px-1 py-2"
26636
26676
  }, options.map(option => /*#__PURE__*/React__default["default"].createElement("div", {
26637
26677
  key: option,
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' : ''),
26678
+ 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' : ''}`,
26639
26679
  onClick: () => handleOptionClick(option)
26640
26680
  }, /*#__PURE__*/React__default["default"].createElement("input", {
26641
26681
  type: "checkbox",
@@ -26643,15 +26683,14 @@
26643
26683
  checked: selectedOptions.includes(option),
26644
26684
  onChange: () => handleOptionClick(option)
26645
26685
  }), /*#__PURE__*/React__default["default"].createElement("p", {
26646
- className: "text-sm ".concat(selectedOptions.includes(option) ? 'text-primary500' : 'text-black')
26686
+ className: `text-sm ${selectedOptions.includes(option) ? 'text-primary500' : 'text-black'}`
26647
26687
  }, option))))));
26648
26688
  };
26649
26689
 
26650
- const FilterText = _ref => {
26651
- let {
26652
- options = ["Type", "Company"],
26653
- onSelect
26654
- } = _ref;
26690
+ const FilterText = ({
26691
+ options = ["Type", "Company"],
26692
+ onSelect
26693
+ }) => {
26655
26694
  const [isOpen, setIsOpen] = React.useState(false);
26656
26695
  const [selectedOption, setSelectedOption] = React.useState(null);
26657
26696
  const dropdownRef = React.useRef(null);
@@ -26710,21 +26749,23 @@
26710
26749
  }, option))))));
26711
26750
  };
26712
26751
 
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;
26752
+ const Menu = ({
26753
+ isActive = true,
26754
+ title = "Navigation",
26755
+ iconMenuActive = PiArchive,
26756
+ iconMenuPassive = PiArchive,
26757
+ isOpen = false,
26758
+ type = "parent",
26759
+ isHaveChild = false,
26760
+ isExpand = true
26761
+ }) => {
26724
26762
  const IconComponentActive = iconMenuActive;
26725
26763
  const IconComponentPassive = iconMenuPassive;
26726
26764
  return /*#__PURE__*/React__default["default"].createElement("div", {
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")
26765
+ className: `
26766
+ ${isActive ? type === "parent" ? "bg-primary500" : "bg-primary50" : "bg-white hover:bg-neutral20"}
26767
+ ${isExpand ? "justify-between" : "justify-center"}
26768
+ flex items-center rounded-lg py-2.5 px-2 mb-1.5 cursor-pointer`
26728
26769
  }, /*#__PURE__*/React__default["default"].createElement("div", {
26729
26770
  className: "flex items-center"
26730
26771
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -26742,7 +26783,9 @@
26742
26783
  size: "20",
26743
26784
  className: "text-neutral500"
26744
26785
  }))), isExpand && /*#__PURE__*/React__default["default"].createElement("p", {
26745
- className: "\n ".concat(isActive ? type === "parent" ? "text-white" : "text-primary500" : "text-neutral500", "\n pl-3 font-semibold text-sm")
26786
+ className: `
26787
+ ${isActive ? type === "parent" ? "text-white" : "text-primary500" : "text-neutral500"}
26788
+ pl-3 font-semibold text-sm`
26746
26789
  }, title)), type === "parent" && isHaveChild && isExpand && /*#__PURE__*/React__default["default"].createElement("div", {
26747
26790
  className: "w-5 h-5"
26748
26791
  }, isOpen ? /*#__PURE__*/React__default["default"].createElement(PiCaretUp, {
@@ -28838,19 +28881,18 @@
28838
28881
  }, props.subtitle))))))));
28839
28882
  };
28840
28883
 
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;
28884
+ const TextInput = ({
28885
+ title = "",
28886
+ leftIcon = null,
28887
+ rightIcon = null,
28888
+ placeholder = "",
28889
+ footer = null,
28890
+ type = 'text',
28891
+ mode = "default",
28892
+ isRequired = true,
28893
+ value,
28894
+ onChangeInput
28895
+ }) => {
28854
28896
  const [isFocused, setIsFocused] = React.useState(false);
28855
28897
  const [showPassword, setShowPassword] = React.useState(false);
28856
28898
  const handleFocus = () => {
@@ -28876,10 +28918,21 @@
28876
28918
  className: "absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none"
28877
28919
  }, /*#__PURE__*/React__default["default"].createElement(PiInfo, {
28878
28920
  size: 16,
28879
- className: "\n ".concat(mode === "primary" && "text-black", "\n ").concat(mode === "disable" && "text-neutral50", "\n ").concat(mode === "danger" && "text-danger500", "\n ")
28921
+ className: `
28922
+ ${mode === "primary" && "text-black"}
28923
+ ${mode === "disable" && "text-neutral50"}
28924
+ ${mode === "danger" && "text-danger500"}
28925
+ `
28880
28926
  })), /*#__PURE__*/React__default["default"].createElement("input", {
28881
28927
  type: type === 'password' ? showPassword ? 'text' : 'password' : type,
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'),
28928
+ className: `py-2.5 px-4 w-full font-normal text-sm text-neutral300 rounded-md border
28929
+ ${!value && mode === "default" && 'bg-neutral20 border-neutral50 focus:outline-2 outline-primary500'}
28930
+ ${value && mode === "default" && 'bg-neutral20 border-black focus:outline-2 outline-primary500'}
28931
+ ${isFocused && mode === "default" && 'bg-neutral20 border-primary500'}
28932
+ ${mode === "disable" && 'bg-neutral30 border-neutral50'}
28933
+ ${mode === "danger" && 'bg-danger50 border-danger500 focus:outline-2 outline-danger500'}
28934
+ ${leftIcon ? 'pl-10' : 'pl-3'}
28935
+ ${rightIcon ? 'pr-10' : 'pr-3'}`,
28883
28936
  placeholder: placeholder,
28884
28937
  disabled: mode === "disable",
28885
28938
  value: value,
@@ -28891,15 +28944,19 @@
28891
28944
  onClick: handleTogglePasswordVisibility
28892
28945
  }, showPassword ? /*#__PURE__*/React__default["default"].createElement(PiEye, {
28893
28946
  size: 16,
28894
- className: "text-black ".concat(mode === "danger" && "text-danger500")
28947
+ className: `text-black ${mode === "danger" && "text-danger500"}`
28895
28948
  }) : /*#__PURE__*/React__default["default"].createElement(PiEyeClosedLight, {
28896
28949
  size: 16,
28897
- className: "text-black ".concat(mode === "danger" && "text-danger500")
28950
+ className: `text-black ${mode === "danger" && "text-danger500"}`
28898
28951
  })), rightIcon && /*#__PURE__*/React__default["default"].createElement("span", {
28899
28952
  className: "absolute inset-y-0 right-0 pr-4 flex items-center pointer-events-none"
28900
28953
  }, /*#__PURE__*/React__default["default"].createElement(PiInfo, {
28901
28954
  size: 16,
28902
- className: "\n ".concat(mode === "primary" && "text-black", "\n ").concat(mode === "disable" && "text-neutral50", "\n ").concat(mode === "danger" && "text-danger500", "\n ")
28955
+ className: `
28956
+ ${mode === "primary" && "text-black"}
28957
+ ${mode === "disable" && "text-neutral50"}
28958
+ ${mode === "danger" && "text-danger500"}
28959
+ `
28903
28960
  }))), footer && /*#__PURE__*/React__default["default"].createElement("div", {
28904
28961
  className: "mt-1"
28905
28962
  }, mode === "danger" ? /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44083,24 +44140,23 @@
44083
44140
  }));
44084
44141
  };
44085
44142
 
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;
44143
+ const ModalState = ({
44144
+ isOpen = false,
44145
+ onClose = () => {},
44146
+ title = 'Title Modal',
44147
+ subtitle = 'Subtitle Modal',
44148
+ type = 'default',
44149
+ addition = "state",
44150
+ placeholderTextArea,
44151
+ onChangeTextArea,
44152
+ valueTextArea,
44153
+ titleButtonLeft = 'Cancel',
44154
+ titleButtonRight = 'Okay',
44155
+ leftAction = onClose,
44156
+ rightAction = onClose,
44157
+ fileUploaded,
44158
+ textInputValue
44159
+ }) => {
44104
44160
  const cancelButtonRef = React.useRef(null);
44105
44161
  React.useState(false);
44106
44162
  const isButtonActive = () => {
@@ -44727,7 +44783,7 @@
44727
44783
  }
44728
44784
  return /*#__PURE__*/React__default["default"].createElement("div", null, dataNotification.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
44729
44785
  key: index,
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' : ''),
44786
+ 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' : ''}`,
44731
44787
  onClick: () => handleNavigation(value.navigate)
44732
44788
  }, /*#__PURE__*/React__default["default"].createElement(value.logo, {
44733
44789
  size: 16,
@@ -44737,14 +44793,13 @@
44737
44793
  }, value.title))));
44738
44794
  };
44739
44795
 
44740
- const SearchInput = _ref => {
44741
- let {
44742
- onChange = () => {},
44743
- onEnterPress = () => {},
44744
- valueInput,
44745
- placeholder = 'Search Client',
44746
- width = 'medium'
44747
- } = _ref;
44796
+ const SearchInput = ({
44797
+ onChange = () => {},
44798
+ onEnterPress = () => {},
44799
+ valueInput,
44800
+ placeholder = 'Search Client',
44801
+ width = 'medium'
44802
+ }) => {
44748
44803
  const handleKeyDown = event => {
44749
44804
  if (event.key === 'Enter') {
44750
44805
  onEnterPress();
@@ -44767,15 +44822,14 @@
44767
44822
  placeholder: placeholder,
44768
44823
  onChange: onChange,
44769
44824
  onKeyDown: handleKeyDown,
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")
44825
+ 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`
44771
44826
  }));
44772
44827
  };
44773
44828
 
44774
- const Stepper = _ref => {
44775
- let {
44776
- data = ["Basic Information", "Address Information", "Billing Information"],
44777
- currentStep = 2
44778
- } = _ref;
44829
+ const Stepper = ({
44830
+ data = ["Basic Information", "Address Information", "Billing Information"],
44831
+ currentStep = 2
44832
+ }) => {
44779
44833
  return /*#__PURE__*/React__default["default"].createElement("div", {
44780
44834
  className: "flex w-full justify-center items-center"
44781
44835
  }, data.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44784,13 +44838,13 @@
44784
44838
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44785
44839
  className: "flex items-center justify-center w-full"
44786
44840
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44787
- className: "".concat(index === 0 ? "opacity-0" : "opacity-100", " h-px bg-neutral40 flex-grow")
44841
+ className: `${index === 0 ? "opacity-0" : "opacity-100"} h-px bg-neutral40 flex-grow`
44788
44842
  }), /*#__PURE__*/React__default["default"].createElement("div", {
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')
44843
+ 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'}`
44790
44844
  }, /*#__PURE__*/React__default["default"].createElement("p", {
44791
44845
  className: "text-center"
44792
44846
  }, index + 1)), /*#__PURE__*/React__default["default"].createElement("div", {
44793
- className: "".concat(index === data.length - 1 ? "opacity-0" : "opacity-100", " h-px bg-neutral40 flex-grow")
44847
+ className: `${index === data.length - 1 ? "opacity-0" : "opacity-100"} h-px bg-neutral40 flex-grow`
44794
44848
  })), /*#__PURE__*/React__default["default"].createElement("div", {
44795
44849
  className: "justify-center w-full flex"
44796
44850
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44802,34 +44856,32 @@
44802
44856
  }, value))))));
44803
44857
  };
44804
44858
 
44805
- const Switch = _ref => {
44806
- let {
44807
- onChange,
44808
- checked,
44809
- isEdit
44810
- } = _ref;
44859
+ const Switch = ({
44860
+ onChange,
44861
+ checked,
44862
+ isEdit
44863
+ }) => {
44811
44864
  const handleClick = () => {
44812
44865
  if (isEdit) {
44813
44866
  onChange();
44814
44867
  }
44815
44868
  };
44816
44869
  return /*#__PURE__*/React__default["default"].createElement("div", {
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"),
44870
+ className: `relative inline-block ${checked ? 'bg-primary500' : 'bg-neutral40'} rounded-full w-12 h-6 transition-all duration-300 ${isEdit ? "cursor-pointer" : "cursor-default"}`,
44818
44871
  onClick: handleClick
44819
44872
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44820
- className: "absolute flex items-center justify-center w-6 h-6 transition-all duration-300 ".concat(checked ? 'right-0' : 'left-0')
44873
+ className: `absolute flex items-center justify-center w-6 h-6 transition-all duration-300 ${checked ? 'right-0' : 'left-0'}`
44821
44874
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44822
- className: "w-4 h-4 bg-white rounded-full shadow-md transition-all"
44875
+ className: `w-4 h-4 bg-white rounded-full shadow-md transition-all`
44823
44876
  })));
44824
44877
  };
44825
44878
 
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;
44879
+ const ChipBar = ({
44880
+ currentTab = "Pulsa",
44881
+ dataBar = ["All Client", "Waiting for approval", "Approved", "Declined"],
44882
+ dataValue = ["All Client", "Waiting for approval", "Approved", "Declined"],
44883
+ onChangeChipBar
44884
+ }) => {
44833
44885
  return /*#__PURE__*/React__default["default"].createElement("div", {
44834
44886
  className: "w-full flex bg-white border-b border-neutral40 py-2 px-8"
44835
44887
  }, dataBar.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44841,21 +44893,20 @@
44841
44893
  }))));
44842
44894
  };
44843
44895
 
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;
44896
+ const TabBar = ({
44897
+ currentTab = "all",
44898
+ dataBar = ["All Voucher", "Digital Voucher", "PPOB Voucher", "Loyalty Voucher"],
44899
+ dataValue = ["All Voucher", "Digital Voucher", "PPOB Voucher", "Loyalty Voucher"],
44900
+ onChangeTabBar
44901
+ }) => {
44851
44902
  return /*#__PURE__*/React__default["default"].createElement("div", {
44852
44903
  className: "w-full flex bg-white border-b border-neutral40 pt-1.5 px-8"
44853
44904
  }, dataBar.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
44854
44905
  key: dataValue[index],
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"),
44906
+ 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`,
44856
44907
  onClick: () => onChangeTabBar(dataValue[index])
44857
44908
  }, /*#__PURE__*/React__default["default"].createElement("p", {
44858
- className: "".concat(currentTab === dataValue[index] ? "font-medium" : "font-normal", " text-sm py-2.5 px-4 font-medium")
44909
+ className: `${currentTab === dataValue[index] ? "font-medium" : "font-normal"} text-sm py-2.5 px-4 font-medium`
44859
44910
  }, value))));
44860
44911
  };
44861
44912
 
@@ -45247,15 +45298,14 @@
45247
45298
  }, "Rp", price)))))));
45248
45299
  };
45249
45300
 
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;
45301
+ const Pagination = ({
45302
+ firstData = 0,
45303
+ lastData = 0,
45304
+ totalCount = 0,
45305
+ currentPage = 1,
45306
+ totalPage = 10,
45307
+ onChangePages
45308
+ }) => {
45259
45309
  const pageNumbers = Array.from({
45260
45310
  length: totalPage
45261
45311
  }, (_, index) => index + 1);
@@ -45271,7 +45321,7 @@
45271
45321
  }, "From ", firstData, " to ", lastData, " of total : ", totalCount)), /*#__PURE__*/React__default["default"].createElement("div", {
45272
45322
  className: "flex px-4 py-2"
45273
45323
  }, /*#__PURE__*/React__default["default"].createElement("div", {
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"),
45324
+ 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`,
45275
45325
  onClick: () => {
45276
45326
  if (currentPage !== 1) {
45277
45327
  handleChangePages(currentPage - 1);
@@ -45282,7 +45332,7 @@
45282
45332
  className: "text-neutral300"
45283
45333
  })), totalPage < 4 ? pageNumbers.map(pageNumber => /*#__PURE__*/React__default["default"].createElement("div", {
45284
45334
  key: pageNumber,
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"),
45335
+ 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`,
45286
45336
  onClick: () => handleChangePages(pageNumber)
45287
45337
  }, /*#__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", {
45288
45338
  key: currentPage,
@@ -45345,7 +45395,7 @@
45345
45395
  className: "m-1 w-10 h-10 rounded-full bg-primary500 text-white cursor-pointer flex items-center justify-center font-semibold",
45346
45396
  onClick: () => handleChangePages(currentPage)
45347
45397
  }, /*#__PURE__*/React__default["default"].createElement("p", null, currentPage)))), /*#__PURE__*/React__default["default"].createElement("div", {
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"),
45398
+ 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`,
45349
45399
  onClick: () => {
45350
45400
  if (currentPage !== totalPage) {
45351
45401
  handleChangePages(currentPage + 1);
@@ -45357,10 +45407,9 @@
45357
45407
  })))));
45358
45408
  };
45359
45409
 
45360
- const HeaderTable = _ref => {
45361
- let {
45362
- dataHeader = ["CLIENT NAME", "DIVISION", "PIC", "CONTACT", "TYPE", "STATE"]
45363
- } = _ref;
45410
+ const HeaderTable = ({
45411
+ dataHeader = ["CLIENT NAME", "DIVISION", "PIC", "CONTACT", "TYPE", "STATE"]
45412
+ }) => {
45364
45413
  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", {
45365
45414
  key: index,
45366
45415
  className: "py-3.5 px-4 bg-neutral40 text-neutral500 text-sm font-semibold text-left"
@@ -45501,32 +45550,31 @@
45501
45550
  }, "\xA0"))))));
45502
45551
  };
45503
45552
 
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;
45553
+ const ModalBilling = ({
45554
+ isOpen = false,
45555
+ onClose = () => {},
45556
+ title = 'Title Modal',
45557
+ subtitle = 'Subtitle Modal',
45558
+ type = 'default',
45559
+ addition,
45560
+ placeholderTextArea,
45561
+ onChangeTextArea,
45562
+ valueTextArea,
45563
+ titleButtonLeft = 'Cancel',
45564
+ titleButtonRight = 'Okay',
45565
+ leftAction = onClose,
45566
+ rightAction = onClose,
45567
+ fileName = "Bukti Pembayaran",
45568
+ clientName = "",
45569
+ billingID = "",
45570
+ totalAmount = "",
45571
+ paymentMethod = "",
45572
+ divisionName = "",
45573
+ dateAndTime = "",
45574
+ titleStatus = "",
45575
+ divisisonId = "",
45576
+ declineReason = ""
45577
+ }) => {
45530
45578
  const cancelButtonRef = React.useRef(null);
45531
45579
  function handleBackgroundClick(e) {
45532
45580
  e.stopPropagation();
@@ -45825,10 +45873,9 @@
45825
45873
  }, "\xA0"))))));
45826
45874
  };
45827
45875
 
45828
- const VerticalStepBar = _ref => {
45829
- let {
45830
- steps
45831
- } = _ref;
45876
+ const VerticalStepBar = ({
45877
+ steps
45878
+ }) => {
45832
45879
  const [showMore, setShowMore] = React.useState(false);
45833
45880
  const toggleShowMore = () => {
45834
45881
  setShowMore(!showMore);
@@ -45863,7 +45910,7 @@
45863
45910
  }, step.date)), /*#__PURE__*/React__default["default"].createElement("div", {
45864
45911
  className: "flex flex-col items-center mr-4"
45865
45912
  }, /*#__PURE__*/React__default["default"].createElement("div", {
45866
- className: "w-5 h-5 rounded-full ".concat(index === 0 ? 'bg-primary500' : 'bg-neutral40')
45913
+ className: `w-5 h-5 rounded-full ${index === 0 ? 'bg-primary500' : 'bg-neutral40'}`
45867
45914
  }), index < stepsToShow.length - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
45868
45915
  className: "w-0.5 bg-neutral40",
45869
45916
  style: {
@@ -45880,7 +45927,7 @@
45880
45927
  }
45881
45928
  }, /*#__PURE__*/React__default["default"].createElement("p", {
45882
45929
  className: "font-bold text-blue-500"
45883
- }, "Request Limit ".concat(steps.length - index)), /*#__PURE__*/React__default["default"].createElement("p", {
45930
+ }, `Request Limit ${steps.length - index}`), /*#__PURE__*/React__default["default"].createElement("p", {
45884
45931
  className: "font-bold text-primary700 mt-1"
45885
45932
  }, step.balance), index === 0 && sliceIntoChunks(step.reason, "Initial submiaaaa".length).map((chunk, idx) => /*#__PURE__*/React__default["default"].createElement("p", {
45886
45933
  key: idx,
@@ -45902,36 +45949,35 @@
45902
45949
  })))));
45903
45950
  };
45904
45951
 
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;
45952
+ const ModalLimit = ({
45953
+ isOpen = false,
45954
+ onClose = () => {},
45955
+ title = 'Title Modal',
45956
+ subtitle = 'Subtitle Modal',
45957
+ type = 'default',
45958
+ addition,
45959
+ placeholderTextArea,
45960
+ onChangeTextArea,
45961
+ valueTextArea,
45962
+ valueTextInput,
45963
+ titleButtonLeft = 'Cancel',
45964
+ titleButtonRight = 'Okay',
45965
+ leftAction = onClose,
45966
+ rightAction = onClose,
45967
+ fileName = "Bukti Pembayaran",
45968
+ clientName = "",
45969
+ billingID = "",
45970
+ totalAmount = "",
45971
+ paymentMethod = "",
45972
+ divisionName = "",
45973
+ dateAndTime = "",
45974
+ titleStatus = "",
45975
+ divisisonId = "",
45976
+ declineReason = "",
45977
+ textInputValue,
45978
+ steps,
45979
+ onChangeTextInput
45980
+ }) => {
45935
45981
  const cancelButtonRef = React.useRef(null);
45936
45982
  React.useState("");
45937
45983
  React.useState('');
@@ -46280,24 +46326,23 @@
46280
46326
  }, "\xA0"))))));
46281
46327
  };
46282
46328
 
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;
46329
+ const ModalDeposit = ({
46330
+ isOpen = false,
46331
+ onClose = () => {},
46332
+ title = 'Title Modal',
46333
+ subtitle = 'Subtitle Modal',
46334
+ type = 'default',
46335
+ addition,
46336
+ valueTextArea,
46337
+ valueTextInput,
46338
+ clientName = "",
46339
+ totalAmount = "",
46340
+ divisionName = "",
46341
+ dateAndTime = "",
46342
+ titleStatus = "",
46343
+ divisisonId = "",
46344
+ depositType = ''
46345
+ }) => {
46301
46346
  const cancelButtonRef = React.useRef(null);
46302
46347
  const [showMore, setShowMore] = React.useState(false);
46303
46348
  const toggleSeeMore = () => {
@@ -46388,16 +46433,16 @@
46388
46433
  }, /*#__PURE__*/React__default["default"].createElement("div", {
46389
46434
  className: "text-center p-4"
46390
46435
  }, /*#__PURE__*/React__default["default"].createElement("div", {
46391
- className: "inline-flex p-8 rounded-full ".concat(bgColorClass)
46436
+ className: `inline-flex p-8 rounded-full ${bgColorClass}`
46392
46437
  }, /*#__PURE__*/React__default["default"].createElement(IconComponent, {
46393
46438
  size: 34,
46394
- className: "".concat(amountClass)
46439
+ className: `${amountClass}`
46395
46440
  })), /*#__PURE__*/React__default["default"].createElement("div", {
46396
46441
  className: "mt-4"
46397
46442
  }, /*#__PURE__*/React__default["default"].createElement("p", {
46398
- className: "text-lg font-semibold"
46443
+ className: `text-lg font-semibold`
46399
46444
  }, totalAmount), /*#__PURE__*/React__default["default"].createElement("p", {
46400
- className: "text-sm text-gray-500"
46445
+ className: `text-sm text-gray-500`
46401
46446
  }, depositType)))), /*#__PURE__*/React__default["default"].createElement("div", {
46402
46447
  className: "mx-3 w-auto h-fit rounded-md border border-neutral40 bg-gray-100 p-1"
46403
46448
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -47548,22 +47593,21 @@
47548
47593
  })))));
47549
47594
  };
47550
47595
 
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;
47596
+ const SearchDropdown = ({
47597
+ options = [{
47598
+ option: "Name 1",
47599
+ value: "Value 1"
47600
+ }, {
47601
+ option: "Name 2",
47602
+ value: "Value 2"
47603
+ }],
47604
+ placeholderSearch = "Search Here",
47605
+ filterDropdown = "Filter",
47606
+ setFilterDropdown,
47607
+ filterSearch,
47608
+ setFilterSearch,
47609
+ onEnterPress
47610
+ }) => {
47567
47611
  const [isOpen, setIsOpen] = React.useState(false);
47568
47612
  const dropdownRef = React.useRef(null);
47569
47613
  const handleKeyDown = event => {
@@ -47581,14 +47625,14 @@
47581
47625
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47582
47626
  className: "flex items-center h-full"
47583
47627
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47584
- className: "".concat(filterSearch ? "border-black" : "border-neutral50", " relative cursor-pointer border-t border-b border-l rounded-tl-md rounded-bl-md"),
47628
+ className: `${filterSearch ? "border-black" : "border-neutral50"} relative cursor-pointer border-t border-b border-l rounded-tl-md rounded-bl-md`,
47585
47629
  onClick: () => setIsOpen(!isOpen)
47586
47630
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47587
47631
  className: "flex items-center bg-white rounded-tl-md rounded-bl-md"
47588
47632
  }, /*#__PURE__*/React__default["default"].createElement("p", {
47589
47633
  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"
47590
47634
  }, filterDropdown.option), isOpen ? /*#__PURE__*/React__default["default"].createElement(PiCaretUp, null) : /*#__PURE__*/React__default["default"].createElement(PiCaretDown, null), /*#__PURE__*/React__default["default"].createElement("p", {
47591
- className: "".concat(filterSearch ? "text-black" : "text-neutral50", " ml-3")
47635
+ className: `${filterSearch ? "text-black" : "text-neutral50"} ml-3`
47592
47636
  }, "|")), isOpen && /*#__PURE__*/React__default["default"].createElement("div", {
47593
47637
  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",
47594
47638
  role: "menu",
@@ -47596,7 +47640,7 @@
47596
47640
  "aria-labelledby": "options-menu"
47597
47641
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47598
47642
  className: "px-1 py-2 max-h-56 overflow-y-auto"
47599
- }, (options === null || options === void 0 ? void 0 : options.length) > 0 ? options.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47643
+ }, options?.length > 0 ? options.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47600
47644
  key: index,
47601
47645
  className: "hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md cursor-pointer",
47602
47646
  onClick: () => handleClickOption(option)
@@ -47607,11 +47651,11 @@
47607
47651
  }, option.option)))) : /*#__PURE__*/React__default["default"].createElement("div", {
47608
47652
  className: "text-sm font-normal text-black flex justify-center"
47609
47653
  }, /*#__PURE__*/React__default["default"].createElement("p", null, "Data Not Available"))))), /*#__PURE__*/React__default["default"].createElement("div", {
47610
- className: "".concat(filterSearch ? "border-black" : "border-neutral50", " relative border-t border-b border-r rounded-tr-md rounded-br-md")
47654
+ className: `${filterSearch ? "border-black" : "border-neutral50"} relative border-t border-b border-r rounded-tr-md rounded-br-md`
47611
47655
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47612
47656
  className: "flex items-center bg-white rounded-tr-md rounded-br-md focus:outline-none"
47613
47657
  }, /*#__PURE__*/React__default["default"].createElement(PiMagnifyingGlass, {
47614
- className: "".concat(filterSearch ? "text-black" : "text-neutral50", " absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4")
47658
+ className: `${filterSearch ? "text-black" : "text-neutral50"} absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4`
47615
47659
  }), /*#__PURE__*/React__default["default"].createElement("input", {
47616
47660
  type: "text",
47617
47661
  value: filterSearch,
@@ -47622,36 +47666,35 @@
47622
47666
  })))));
47623
47667
  };
47624
47668
 
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"
47669
+ const FilterDropdown = ({
47670
+ options = [{
47671
+ menu: "Type",
47672
+ parameter: "type",
47673
+ submenu: [{
47674
+ option: "Type 1",
47675
+ value: "type1"
47651
47676
  }],
47652
- dataFilterResult,
47653
- setDataFilterResult = () => {}
47654
- } = _ref;
47677
+ type: "checkbox"
47678
+ }, {
47679
+ menu: "Status",
47680
+ parameter: "status",
47681
+ submenu: [{
47682
+ option: "Status 1",
47683
+ value: "status1"
47684
+ }],
47685
+ type: "radiobutton"
47686
+ }, {
47687
+ menu: "Payment",
47688
+ parameter: "payment",
47689
+ submenu: [{
47690
+ option: "Payment 1",
47691
+ value: "payment1"
47692
+ }],
47693
+ type: "checkbox"
47694
+ }],
47695
+ dataFilterResult,
47696
+ setDataFilterResult = () => {}
47697
+ }) => {
47655
47698
  const [showFilterMenu, setShowFilterMenu] = React.useState(false);
47656
47699
  const [showFilterSubmenu, setShowFilterSubmenu] = React.useState(false);
47657
47700
  const [dataSelectionOptionMenu, setDataSelectionOptionMenu] = React.useState();
@@ -47680,8 +47723,7 @@
47680
47723
  };
47681
47724
  const handleOnClickOption = (submenu, type, parameter) => {
47682
47725
  if (type === "checkbox") {
47683
- var _dataFilterResult$par;
47684
- const isSubmenuExist = (_dataFilterResult$par = dataFilterResult[parameter]) === null || _dataFilterResult$par === void 0 ? void 0 : _dataFilterResult$par.includes(submenu.value);
47726
+ const isSubmenuExist = dataFilterResult[parameter]?.includes(submenu.value);
47685
47727
  const updatedData = [...(dataFilterResult[parameter] || [])];
47686
47728
  if (isSubmenuExist) {
47687
47729
  const index = updatedData.indexOf(submenu.value);
@@ -47694,8 +47736,7 @@
47694
47736
  [parameter]: updatedData
47695
47737
  }));
47696
47738
  } else if (type === "radiobutton") {
47697
- var _dataFilterResult$par2;
47698
- if (((_dataFilterResult$par2 = dataFilterResult[parameter]) === null || _dataFilterResult$par2 === void 0 ? void 0 : _dataFilterResult$par2[0]) === submenu.value) {
47739
+ if (dataFilterResult[parameter]?.[0] === submenu.value) {
47699
47740
  setDataFilterResult(prevState => ({
47700
47741
  ...prevState,
47701
47742
  [parameter]: []
@@ -47708,14 +47749,14 @@
47708
47749
  }
47709
47750
  }
47710
47751
  };
47711
- const buttonText = Object.values(dataFilterResult).flat().length > 0 ? "".concat(Object.values(dataFilterResult).flat().length, " Filter Selected") : 'Filter';
47752
+ const buttonText = Object.values(dataFilterResult).flat().length > 0 ? `${Object.values(dataFilterResult).flat().length} Filter Selected` : 'Filter';
47712
47753
  return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("span", {
47713
47754
  className: "rounded-md shadow-sm"
47714
47755
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47715
47756
  className: "flex"
47716
47757
  }, /*#__PURE__*/React__default["default"].createElement("button", {
47717
47758
  type: "button",
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")
47759
+ 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`
47719
47760
  }, /*#__PURE__*/React__default["default"].createElement("span", {
47720
47761
  className: "flex-grow py-2.5",
47721
47762
  onClick: () => setShowFilterMenu(!showFilterMenu)
@@ -47735,67 +47776,60 @@
47735
47776
  }, showFilterMenu && /*#__PURE__*/React__default["default"].createElement("div", {
47736
47777
  ref: dropdownRef,
47737
47778
  className: "bg-white border border-neutral40 w-48 rounded-md p-3 top-1 absolute z-10 rounded-md shadow-md bg-white"
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
- }))));
47779
+ }, options.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47780
+ key: index
47781
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
47782
+ className: `hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md flex items-center cursor-pointer justify-between`,
47783
+ onClick: () => {
47784
+ setShowFilterSubmenu(true);
47785
+ setDataSelectionOptionMenu(option.menu);
47786
+ }
47787
+ }, /*#__PURE__*/React__default["default"].createElement("p", null, option.menu), (dataFilterResult[option.parameter]?.length || 0) === 0 ? /*#__PURE__*/React__default["default"].createElement(PiCaretRight, {
47788
+ size: 16,
47789
+ className: "text-neutral300"
47790
+ }) : /*#__PURE__*/React__default["default"].createElement("div", {
47791
+ className: "w-4 h-4 border border-primary500 rounded-full flex items-center justify-center text-primary500"
47792
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
47793
+ style: {
47794
+ fontSize: "8px"
47795
+ }
47796
+ }, dataFilterResult[option.parameter]?.length || 0))), showFilterSubmenu && option.submenu.length > 0 && dataSelectionOptionMenu === option.menu && /*#__PURE__*/React__default["default"].createElement("div", {
47797
+ 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"}`
47798
+ }, option.submenu.map((submenu, subIndex) => /*#__PURE__*/React__default["default"].createElement("div", {
47799
+ key: subIndex,
47800
+ className: "flex bg-white hover:bg-neutral20 rounded-md py-2.5 px-4 my-0.5",
47801
+ onClick: () => {
47802
+ handleOnClickOption(submenu, option.type, option.parameter);
47803
+ }
47804
+ }, option.type === "checkbox" && /*#__PURE__*/React__default["default"].createElement("div", {
47805
+ className: "flex items-center"
47806
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
47807
+ type: "checkbox",
47808
+ className: "mr-2",
47809
+ checked: dataFilterResult[option.parameter]?.includes(submenu.value) || false,
47810
+ onChange: () => handleOnClickOption(submenu, option.type, option.parameter)
47811
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
47812
+ className: `text-sm ${dataFilterResult[option.parameter]?.includes(submenu.value) ? 'text-primary500' : 'text-black'}`
47813
+ }, submenu.option)), option.type === "radiobutton" && /*#__PURE__*/React__default["default"].createElement("div", {
47814
+ className: "flex items-center"
47815
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
47816
+ type: "radio",
47817
+ className: "mr-2",
47818
+ checked: dataFilterResult[option.parameter]?.[0] === submenu.value,
47819
+ onChange: () => handleOnClickOption(submenu, option.type, option.parameter)
47820
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
47821
+ className: `text-sm ${dataFilterResult[option.parameter]?.[0] === submenu.value ? 'text-primary500' : 'text-black'}`
47822
+ }, submenu.option))))))))));
47788
47823
  };
47789
47824
 
47790
- const Footer = _ref => {
47791
- let {
47792
- titleLeftButton = "Cancel",
47793
- titleRightButton = "Submit",
47794
- isActiveLeftButton,
47795
- isActiveRightButton,
47796
- onClickLeftButton,
47797
- onClickRightButton
47798
- } = _ref;
47825
+ const Footer = ({
47826
+ titleLeftButton = "Cancel",
47827
+ titleRightButton = "Submit",
47828
+ isActiveLeftButton,
47829
+ isActiveRightButton,
47830
+ onClickLeftButton,
47831
+ onClickRightButton
47832
+ }) => {
47799
47833
  return /*#__PURE__*/React__default["default"].createElement("div", {
47800
47834
  className: "fixed bottom-0 flex justify-end w-full items-center py-1 px-6 bg-white"
47801
47835
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -47817,28 +47851,27 @@
47817
47851
 
47818
47852
  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";
47819
47853
 
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;
47854
+ const Header = ({
47855
+ title = "Label",
47856
+ fullName = "Undefined Name",
47857
+ roleName = "Undefined Role",
47858
+ dataProfile = [{
47859
+ title: "Change Password",
47860
+ action: () => {
47861
+ console.log("Change Password");
47862
+ },
47863
+ logo: PiUserCircleDuotone
47864
+ }, {
47865
+ title: "Logout",
47866
+ action: () => {
47867
+ console.log("Logout");
47868
+ },
47869
+ logo: PiDoorOpenDuotone
47870
+ }],
47871
+ isNotificationActive = false,
47872
+ dataNotification = ["Notification 1", "Notification 2"],
47873
+ dataBalance = "0"
47874
+ }) => {
47842
47875
  const [isProfileContentVisible, setProfileContentVisible] = React.useState(false);
47843
47876
  const [isNotificationContentVisible, setNotificationContentVisible] = React.useState(false);
47844
47877
  const modalRefProfile = React.useRef(null);
@@ -47889,7 +47922,9 @@
47889
47922
  className: "z-50 w-48 bg-white border border-neutral40 rounded-md shadow-md"
47890
47923
  }, dataNotification.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47891
47924
  key: index,
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 "),
47925
+ className: `px-2 flex items-center cursor-pointer bg-white hover:bg-neutral20 p-2
47926
+ ${dataProfile.length == 1 ? "rounded-md" : index === 0 ? "rounded-t-md" : index === dataProfile.length - 1 ? 'rounded-b-md' : ""}
47927
+ `,
47893
47928
  onClick: value.action
47894
47929
  }, /*#__PURE__*/React__default["default"].createElement("p", {
47895
47930
  className: "text-sm"
@@ -47914,7 +47949,9 @@
47914
47949
  className: "z-50 w-48 bg-white border border-neutral40 rounded-md shadow-md"
47915
47950
  }, dataProfile.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47916
47951
  key: index,
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 "),
47952
+ className: `px-2 flex items-center cursor-pointer bg-white hover:bg-neutral20 p-2
47953
+ ${dataProfile.length == 1 ? "rounded-md" : index === 0 ? "rounded-t-md" : index === dataProfile.length - 1 ? 'rounded-b-md' : ""}
47954
+ `,
47918
47955
  onClick: value.action
47919
47956
  }, /*#__PURE__*/React__default["default"].createElement(value.logo, {
47920
47957
  size: 16,