sprint-asia-custom-component 0.1.53 → 0.1.55

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,26 +24033,18 @@
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
+ onSelect,
24039
+ title = "Title Dropdown",
24040
+ placeholder = "Placeholder",
24041
+ isRequired = true,
24042
+ isEdited = true,
24043
+ mode = "default",
24044
+ footer = null,
24045
+ currentOption = ""
24046
+ }) => {
24015
24047
  const [isOpen, setIsOpen] = React.useState(false);
24016
- const [selectedOption, setSelectedOption] = React.useState(null);
24017
24048
  const dropdownRef = React.useRef(null);
24018
24049
  React.useEffect(() => {
24019
24050
  const handleOutsideClick = event => {
@@ -24022,17 +24053,16 @@
24022
24053
  }
24023
24054
  };
24024
24055
  if (isOpen) {
24025
- document.addEventListener('mousedown', handleOutsideClick);
24056
+ document.addEventListener("mousedown", handleOutsideClick);
24026
24057
  }
24027
24058
  return () => {
24028
- document.removeEventListener('mousedown', handleOutsideClick);
24059
+ document.removeEventListener("mousedown", handleOutsideClick);
24029
24060
  };
24030
24061
  }, [isOpen]);
24031
24062
  const handleToggleDropdownText = () => {
24032
24063
  setIsOpen(!isOpen);
24033
24064
  };
24034
24065
  const handleOptionClick = (option, value) => {
24035
- setSelectedOption(option);
24036
24066
  setIsOpen(false);
24037
24067
  if (onSelect) {
24038
24068
  onSelect({
@@ -24041,6 +24071,9 @@
24041
24071
  });
24042
24072
  }
24043
24073
  };
24074
+ const selectedValue = options.filter(val => {
24075
+ return val.value === currentOption;
24076
+ });
24044
24077
  return /*#__PURE__*/React__default["default"].createElement("div", {
24045
24078
  className: "relative inline-block text-left w-full",
24046
24079
  ref: dropdownRef
@@ -24054,11 +24087,15 @@
24054
24087
  className: "rounded-md shadow-sm"
24055
24088
  }, /*#__PURE__*/React__default["default"].createElement("button", {
24056
24089
  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"),
24090
+ className: `
24091
+ ${!isEdited && "bg-neutral30 cursor-not-allowed"}
24092
+ ${mode === "default" && "border-neutral50 bg-neutral20 cursor-pointer"}
24093
+ ${mode === "danger" && "border-danger500 bg-danger50 cursor-pointer"}
24094
+ 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
24095
  onClick: () => isEdited && handleToggleDropdownText()
24059
24096
  }, /*#__PURE__*/React__default["default"].createElement("span", {
24060
24097
  className: "flex-grow overflow-hidden"
24061
- }, selectedOption ? selectedOption : currentOption.option ? currentOption.option : placeholder), /*#__PURE__*/React__default["default"].createElement("span", {
24098
+ }, selectedValue?.length ? selectedValue[0]?.option : placeholder), /*#__PURE__*/React__default["default"].createElement("span", {
24062
24099
  className: "ml-2"
24063
24100
  }, isOpen ? /*#__PURE__*/React__default["default"].createElement(PiCaretUp, {
24064
24101
  size: 16,
@@ -25883,20 +25920,19 @@
25883
25920
  }
25884
25921
  function noop() {}
25885
25922
 
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;
25923
+ const DropzoneUploadFile = ({
25924
+ title = "Title Dropzone",
25925
+ subtitle = "Format File PDF, JPEG JPG, Maximal File 5 MB",
25926
+ required = false,
25927
+ onDrop,
25928
+ maxFiles = 1,
25929
+ selectedFile,
25930
+ error = ""
25931
+ }) => {
25895
25932
  const [errorMessage, setErrorMessage] = React.useState("");
25896
25933
  const onDropRejected = rejectedFiles => {
25897
- var _file$errors$;
25898
25934
  const file = rejectedFiles[0];
25899
- if (((_file$errors$ = file.errors[0]) === null || _file$errors$ === void 0 ? void 0 : _file$errors$.code) === "file-too-large") {
25935
+ if (file.errors[0]?.code === "file-too-large") {
25900
25936
  setErrorMessage("Your file is too large, Max file size is 5 MB");
25901
25937
  }
25902
25938
  };
@@ -25927,7 +25963,7 @@
25927
25963
  }, /*#__PURE__*/React__default["default"].createElement("div", _extends$2({}, getRootProps({
25928
25964
  className: "dropzone"
25929
25965
  }), {
25930
- className: "bg-neutral20 w-full h-28 rounded-lg border-2 border-neutral50 border-dashed"
25966
+ className: `bg-neutral20 w-full h-28 rounded-lg border-2 ${error ? "border-danger500" : "border-neutral50"} border-dashed`
25931
25967
  }), /*#__PURE__*/React__default["default"].createElement("input", _extends$2({}, getInputProps(), {
25932
25968
  required: required
25933
25969
  })), /*#__PURE__*/React__default["default"].createElement("div", {
@@ -25948,16 +25984,17 @@
25948
25984
  className: "text-neutral300"
25949
25985
  })), /*#__PURE__*/React__default["default"].createElement("p", {
25950
25986
  className: "text-sm text-black mt-2"
25951
- }, selectedFile === null || selectedFile === void 0 ? void 0 : selectedFile.name)))))), /*#__PURE__*/React__default["default"].createElement("p", {
25987
+ }, selectedFile?.name)))))), error && /*#__PURE__*/React__default["default"].createElement("p", {
25988
+ className: "text-danger500 text-xs mt-1"
25989
+ }, error), /*#__PURE__*/React__default["default"].createElement("p", {
25952
25990
  className: "text-xs text-neutral300 mt-1"
25953
25991
  }, subtitle));
25954
25992
  };
25955
25993
 
25956
- const DropzoneUploadPhoto = _ref => {
25957
- let {
25958
- onFileChange,
25959
- currentImage
25960
- } = _ref;
25994
+ const DropzoneUploadPhoto = ({
25995
+ onFileChange,
25996
+ currentImage
25997
+ }) => {
25961
25998
  const [selectedImage, setSelectedImage] = React.useState(null);
25962
25999
  const [isHovered, setIsHovered] = React.useState(false);
25963
26000
  const {
@@ -26547,12 +26584,11 @@
26547
26584
  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
26585
  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
26586
 
26550
- const ExportToExcel = _ref => {
26551
- let {
26552
- dataExport,
26553
- fileName,
26554
- title
26555
- } = _ref;
26587
+ const ExportToExcel = ({
26588
+ dataExport,
26589
+ fileName,
26590
+ title
26591
+ }) => {
26556
26592
  const fileType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8";
26557
26593
  const fileExtension = ".xlsx";
26558
26594
  const exportToCSV = (dataExport, fileName) => {
@@ -26578,11 +26614,10 @@
26578
26614
  });
26579
26615
  };
26580
26616
 
26581
- const FilterCheckbox = _ref => {
26582
- let {
26583
- options = ["Type", "Company"],
26584
- onSelect
26585
- } = _ref;
26617
+ const FilterCheckbox = ({
26618
+ options = ["Type", "Company"],
26619
+ onSelect
26620
+ }) => {
26586
26621
  const [isOpen, setIsOpen] = React.useState(false);
26587
26622
  const [selectedOptions, setSelectedOptions] = React.useState([]);
26588
26623
  const dropdownRef = React.useRef(null);
@@ -26609,7 +26644,7 @@
26609
26644
  onSelect(updatedOptions);
26610
26645
  }
26611
26646
  };
26612
- const buttonText = selectedOptions.length > 0 ? "".concat(selectedOptions.length, " Filter Selected") : 'Filter';
26647
+ const buttonText = selectedOptions.length > 0 ? `${selectedOptions.length} Filter Selected` : 'Filter';
26613
26648
  return /*#__PURE__*/React__default["default"].createElement("div", {
26614
26649
  className: "relative inline-block text-left",
26615
26650
  ref: dropdownRef
@@ -26635,7 +26670,7 @@
26635
26670
  className: "px-1 py-2"
26636
26671
  }, options.map(option => /*#__PURE__*/React__default["default"].createElement("div", {
26637
26672
  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' : ''),
26673
+ 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
26674
  onClick: () => handleOptionClick(option)
26640
26675
  }, /*#__PURE__*/React__default["default"].createElement("input", {
26641
26676
  type: "checkbox",
@@ -26643,15 +26678,14 @@
26643
26678
  checked: selectedOptions.includes(option),
26644
26679
  onChange: () => handleOptionClick(option)
26645
26680
  }), /*#__PURE__*/React__default["default"].createElement("p", {
26646
- className: "text-sm ".concat(selectedOptions.includes(option) ? 'text-primary500' : 'text-black')
26681
+ className: `text-sm ${selectedOptions.includes(option) ? 'text-primary500' : 'text-black'}`
26647
26682
  }, option))))));
26648
26683
  };
26649
26684
 
26650
- const FilterText = _ref => {
26651
- let {
26652
- options = ["Type", "Company"],
26653
- onSelect
26654
- } = _ref;
26685
+ const FilterText = ({
26686
+ options = ["Type", "Company"],
26687
+ onSelect
26688
+ }) => {
26655
26689
  const [isOpen, setIsOpen] = React.useState(false);
26656
26690
  const [selectedOption, setSelectedOption] = React.useState(null);
26657
26691
  const dropdownRef = React.useRef(null);
@@ -26710,21 +26744,23 @@
26710
26744
  }, option))))));
26711
26745
  };
26712
26746
 
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;
26747
+ const Menu = ({
26748
+ isActive = true,
26749
+ title = "Navigation",
26750
+ iconMenuActive = PiArchive,
26751
+ iconMenuPassive = PiArchive,
26752
+ isOpen = false,
26753
+ type = "parent",
26754
+ isHaveChild = false,
26755
+ isExpand = true
26756
+ }) => {
26724
26757
  const IconComponentActive = iconMenuActive;
26725
26758
  const IconComponentPassive = iconMenuPassive;
26726
26759
  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")
26760
+ className: `
26761
+ ${isActive ? type === "parent" ? "bg-primary500" : "bg-primary50" : "bg-white hover:bg-neutral20"}
26762
+ ${isExpand ? "justify-between" : "justify-center"}
26763
+ flex items-center rounded-lg py-2.5 px-2 mb-1.5 cursor-pointer`
26728
26764
  }, /*#__PURE__*/React__default["default"].createElement("div", {
26729
26765
  className: "flex items-center"
26730
26766
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -26742,7 +26778,9 @@
26742
26778
  size: "20",
26743
26779
  className: "text-neutral500"
26744
26780
  }))), 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")
26781
+ className: `
26782
+ ${isActive ? type === "parent" ? "text-white" : "text-primary500" : "text-neutral500"}
26783
+ pl-3 font-semibold text-sm`
26746
26784
  }, title)), type === "parent" && isHaveChild && isExpand && /*#__PURE__*/React__default["default"].createElement("div", {
26747
26785
  className: "w-5 h-5"
26748
26786
  }, isOpen ? /*#__PURE__*/React__default["default"].createElement(PiCaretUp, {
@@ -28838,19 +28876,18 @@
28838
28876
  }, props.subtitle))))))));
28839
28877
  };
28840
28878
 
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;
28879
+ const TextInput = ({
28880
+ title = "",
28881
+ leftIcon = null,
28882
+ rightIcon = null,
28883
+ placeholder = "",
28884
+ footer = null,
28885
+ type = 'text',
28886
+ mode = "default",
28887
+ isRequired = true,
28888
+ value,
28889
+ onChangeInput
28890
+ }) => {
28854
28891
  const [isFocused, setIsFocused] = React.useState(false);
28855
28892
  const [showPassword, setShowPassword] = React.useState(false);
28856
28893
  const handleFocus = () => {
@@ -28876,10 +28913,21 @@
28876
28913
  className: "absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none"
28877
28914
  }, /*#__PURE__*/React__default["default"].createElement(PiInfo, {
28878
28915
  size: 16,
28879
- className: "\n ".concat(mode === "primary" && "text-black", "\n ").concat(mode === "disable" && "text-neutral50", "\n ").concat(mode === "danger" && "text-danger500", "\n ")
28916
+ className: `
28917
+ ${mode === "primary" && "text-black"}
28918
+ ${mode === "disable" && "text-neutral50"}
28919
+ ${mode === "danger" && "text-danger500"}
28920
+ `
28880
28921
  })), /*#__PURE__*/React__default["default"].createElement("input", {
28881
28922
  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'),
28923
+ className: `py-2.5 px-4 w-full font-normal text-sm text-neutral300 rounded-md border
28924
+ ${!value && mode === "default" && 'bg-neutral20 border-neutral50 focus:outline-2 outline-primary500'}
28925
+ ${value && mode === "default" && 'bg-neutral20 border-black focus:outline-2 outline-primary500'}
28926
+ ${isFocused && mode === "default" && 'bg-neutral20 border-primary500'}
28927
+ ${mode === "disable" && 'bg-neutral30 border-neutral50'}
28928
+ ${mode === "danger" && 'bg-danger50 border-danger500 focus:outline-2 outline-danger500'}
28929
+ ${leftIcon ? 'pl-10' : 'pl-3'}
28930
+ ${rightIcon ? 'pr-10' : 'pr-3'}`,
28883
28931
  placeholder: placeholder,
28884
28932
  disabled: mode === "disable",
28885
28933
  value: value,
@@ -28891,15 +28939,19 @@
28891
28939
  onClick: handleTogglePasswordVisibility
28892
28940
  }, showPassword ? /*#__PURE__*/React__default["default"].createElement(PiEye, {
28893
28941
  size: 16,
28894
- className: "text-black ".concat(mode === "danger" && "text-danger500")
28942
+ className: `text-black ${mode === "danger" && "text-danger500"}`
28895
28943
  }) : /*#__PURE__*/React__default["default"].createElement(PiEyeClosedLight, {
28896
28944
  size: 16,
28897
- className: "text-black ".concat(mode === "danger" && "text-danger500")
28945
+ className: `text-black ${mode === "danger" && "text-danger500"}`
28898
28946
  })), rightIcon && /*#__PURE__*/React__default["default"].createElement("span", {
28899
28947
  className: "absolute inset-y-0 right-0 pr-4 flex items-center pointer-events-none"
28900
28948
  }, /*#__PURE__*/React__default["default"].createElement(PiInfo, {
28901
28949
  size: 16,
28902
- className: "\n ".concat(mode === "primary" && "text-black", "\n ").concat(mode === "disable" && "text-neutral50", "\n ").concat(mode === "danger" && "text-danger500", "\n ")
28950
+ className: `
28951
+ ${mode === "primary" && "text-black"}
28952
+ ${mode === "disable" && "text-neutral50"}
28953
+ ${mode === "danger" && "text-danger500"}
28954
+ `
28903
28955
  }))), footer && /*#__PURE__*/React__default["default"].createElement("div", {
28904
28956
  className: "mt-1"
28905
28957
  }, mode === "danger" ? /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44083,24 +44135,23 @@
44083
44135
  }));
44084
44136
  };
44085
44137
 
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;
44138
+ const ModalState = ({
44139
+ isOpen = false,
44140
+ onClose = () => {},
44141
+ title = 'Title Modal',
44142
+ subtitle = 'Subtitle Modal',
44143
+ type = 'default',
44144
+ addition = "state",
44145
+ placeholderTextArea,
44146
+ onChangeTextArea,
44147
+ valueTextArea,
44148
+ titleButtonLeft = 'Cancel',
44149
+ titleButtonRight = 'Okay',
44150
+ leftAction = onClose,
44151
+ rightAction = onClose,
44152
+ fileUploaded,
44153
+ textInputValue
44154
+ }) => {
44104
44155
  const cancelButtonRef = React.useRef(null);
44105
44156
  React.useState(false);
44106
44157
  const isButtonActive = () => {
@@ -44727,7 +44778,7 @@
44727
44778
  }
44728
44779
  return /*#__PURE__*/React__default["default"].createElement("div", null, dataNotification.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
44729
44780
  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' : ''),
44781
+ 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
44782
  onClick: () => handleNavigation(value.navigate)
44732
44783
  }, /*#__PURE__*/React__default["default"].createElement(value.logo, {
44733
44784
  size: 16,
@@ -44737,14 +44788,13 @@
44737
44788
  }, value.title))));
44738
44789
  };
44739
44790
 
44740
- const SearchInput = _ref => {
44741
- let {
44742
- onChange = () => {},
44743
- onEnterPress = () => {},
44744
- valueInput,
44745
- placeholder = 'Search Client',
44746
- width = 'medium'
44747
- } = _ref;
44791
+ const SearchInput = ({
44792
+ onChange = () => {},
44793
+ onEnterPress = () => {},
44794
+ valueInput,
44795
+ placeholder = 'Search Client',
44796
+ width = 'medium'
44797
+ }) => {
44748
44798
  const handleKeyDown = event => {
44749
44799
  if (event.key === 'Enter') {
44750
44800
  onEnterPress();
@@ -44767,15 +44817,14 @@
44767
44817
  placeholder: placeholder,
44768
44818
  onChange: onChange,
44769
44819
  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")
44820
+ 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
44821
  }));
44772
44822
  };
44773
44823
 
44774
- const Stepper = _ref => {
44775
- let {
44776
- data = ["Basic Information", "Address Information", "Billing Information"],
44777
- currentStep = 2
44778
- } = _ref;
44824
+ const Stepper = ({
44825
+ data = ["Basic Information", "Address Information", "Billing Information"],
44826
+ currentStep = 2
44827
+ }) => {
44779
44828
  return /*#__PURE__*/React__default["default"].createElement("div", {
44780
44829
  className: "flex w-full justify-center items-center"
44781
44830
  }, data.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44784,13 +44833,13 @@
44784
44833
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44785
44834
  className: "flex items-center justify-center w-full"
44786
44835
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44787
- className: "".concat(index === 0 ? "opacity-0" : "opacity-100", " h-px bg-neutral40 flex-grow")
44836
+ className: `${index === 0 ? "opacity-0" : "opacity-100"} h-px bg-neutral40 flex-grow`
44788
44837
  }), /*#__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')
44838
+ 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
44839
  }, /*#__PURE__*/React__default["default"].createElement("p", {
44791
44840
  className: "text-center"
44792
44841
  }, 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")
44842
+ className: `${index === data.length - 1 ? "opacity-0" : "opacity-100"} h-px bg-neutral40 flex-grow`
44794
44843
  })), /*#__PURE__*/React__default["default"].createElement("div", {
44795
44844
  className: "justify-center w-full flex"
44796
44845
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44802,34 +44851,32 @@
44802
44851
  }, value))))));
44803
44852
  };
44804
44853
 
44805
- const Switch = _ref => {
44806
- let {
44807
- onChange,
44808
- checked,
44809
- isEdit
44810
- } = _ref;
44854
+ const Switch = ({
44855
+ onChange,
44856
+ checked,
44857
+ isEdit
44858
+ }) => {
44811
44859
  const handleClick = () => {
44812
44860
  if (isEdit) {
44813
44861
  onChange();
44814
44862
  }
44815
44863
  };
44816
44864
  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"),
44865
+ 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
44866
  onClick: handleClick
44819
44867
  }, /*#__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')
44868
+ className: `absolute flex items-center justify-center w-6 h-6 transition-all duration-300 ${checked ? 'right-0' : 'left-0'}`
44821
44869
  }, /*#__PURE__*/React__default["default"].createElement("div", {
44822
- className: "w-4 h-4 bg-white rounded-full shadow-md transition-all"
44870
+ className: `w-4 h-4 bg-white rounded-full shadow-md transition-all`
44823
44871
  })));
44824
44872
  };
44825
44873
 
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;
44874
+ const ChipBar = ({
44875
+ currentTab = "Pulsa",
44876
+ dataBar = ["All Client", "Waiting for approval", "Approved", "Declined"],
44877
+ dataValue = ["All Client", "Waiting for approval", "Approved", "Declined"],
44878
+ onChangeChipBar
44879
+ }) => {
44833
44880
  return /*#__PURE__*/React__default["default"].createElement("div", {
44834
44881
  className: "w-full flex bg-white border-b border-neutral40 py-2 px-8"
44835
44882
  }, dataBar.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
@@ -44841,21 +44888,20 @@
44841
44888
  }))));
44842
44889
  };
44843
44890
 
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;
44891
+ const TabBar = ({
44892
+ currentTab = "all",
44893
+ dataBar = ["All Voucher", "Digital Voucher", "PPOB Voucher", "Loyalty Voucher"],
44894
+ dataValue = ["All Voucher", "Digital Voucher", "PPOB Voucher", "Loyalty Voucher"],
44895
+ onChangeTabBar
44896
+ }) => {
44851
44897
  return /*#__PURE__*/React__default["default"].createElement("div", {
44852
44898
  className: "w-full flex bg-white border-b border-neutral40 pt-1.5 px-8"
44853
44899
  }, dataBar.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
44854
44900
  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"),
44901
+ 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
44902
  onClick: () => onChangeTabBar(dataValue[index])
44857
44903
  }, /*#__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")
44904
+ className: `${currentTab === dataValue[index] ? "font-medium" : "font-normal"} text-sm py-2.5 px-4 font-medium`
44859
44905
  }, value))));
44860
44906
  };
44861
44907
 
@@ -45247,15 +45293,14 @@
45247
45293
  }, "Rp", price)))))));
45248
45294
  };
45249
45295
 
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;
45296
+ const Pagination = ({
45297
+ firstData = 0,
45298
+ lastData = 0,
45299
+ totalCount = 0,
45300
+ currentPage = 1,
45301
+ totalPage = 10,
45302
+ onChangePages
45303
+ }) => {
45259
45304
  const pageNumbers = Array.from({
45260
45305
  length: totalPage
45261
45306
  }, (_, index) => index + 1);
@@ -45271,7 +45316,7 @@
45271
45316
  }, "From ", firstData, " to ", lastData, " of total : ", totalCount)), /*#__PURE__*/React__default["default"].createElement("div", {
45272
45317
  className: "flex px-4 py-2"
45273
45318
  }, /*#__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"),
45319
+ 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
45320
  onClick: () => {
45276
45321
  if (currentPage !== 1) {
45277
45322
  handleChangePages(currentPage - 1);
@@ -45282,7 +45327,7 @@
45282
45327
  className: "text-neutral300"
45283
45328
  })), totalPage < 4 ? pageNumbers.map(pageNumber => /*#__PURE__*/React__default["default"].createElement("div", {
45284
45329
  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"),
45330
+ 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
45331
  onClick: () => handleChangePages(pageNumber)
45287
45332
  }, /*#__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
45333
  key: currentPage,
@@ -45345,7 +45390,7 @@
45345
45390
  className: "m-1 w-10 h-10 rounded-full bg-primary500 text-white cursor-pointer flex items-center justify-center font-semibold",
45346
45391
  onClick: () => handleChangePages(currentPage)
45347
45392
  }, /*#__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"),
45393
+ 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
45394
  onClick: () => {
45350
45395
  if (currentPage !== totalPage) {
45351
45396
  handleChangePages(currentPage + 1);
@@ -45357,10 +45402,9 @@
45357
45402
  })))));
45358
45403
  };
45359
45404
 
45360
- const HeaderTable = _ref => {
45361
- let {
45362
- dataHeader = ["CLIENT NAME", "DIVISION", "PIC", "CONTACT", "TYPE", "STATE"]
45363
- } = _ref;
45405
+ const HeaderTable = ({
45406
+ dataHeader = ["CLIENT NAME", "DIVISION", "PIC", "CONTACT", "TYPE", "STATE"]
45407
+ }) => {
45364
45408
  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
45409
  key: index,
45366
45410
  className: "py-3.5 px-4 bg-neutral40 text-neutral500 text-sm font-semibold text-left"
@@ -45501,32 +45545,31 @@
45501
45545
  }, "\xA0"))))));
45502
45546
  };
45503
45547
 
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;
45548
+ const ModalBilling = ({
45549
+ isOpen = false,
45550
+ onClose = () => {},
45551
+ title = 'Title Modal',
45552
+ subtitle = 'Subtitle Modal',
45553
+ type = 'default',
45554
+ addition,
45555
+ placeholderTextArea,
45556
+ onChangeTextArea,
45557
+ valueTextArea,
45558
+ titleButtonLeft = 'Cancel',
45559
+ titleButtonRight = 'Okay',
45560
+ leftAction = onClose,
45561
+ rightAction = onClose,
45562
+ fileName = "Bukti Pembayaran",
45563
+ clientName = "",
45564
+ billingID = "",
45565
+ totalAmount = "",
45566
+ paymentMethod = "",
45567
+ divisionName = "",
45568
+ dateAndTime = "",
45569
+ titleStatus = "",
45570
+ divisisonId = "",
45571
+ declineReason = ""
45572
+ }) => {
45530
45573
  const cancelButtonRef = React.useRef(null);
45531
45574
  function handleBackgroundClick(e) {
45532
45575
  e.stopPropagation();
@@ -45825,10 +45868,9 @@
45825
45868
  }, "\xA0"))))));
45826
45869
  };
45827
45870
 
45828
- const VerticalStepBar = _ref => {
45829
- let {
45830
- steps
45831
- } = _ref;
45871
+ const VerticalStepBar = ({
45872
+ steps
45873
+ }) => {
45832
45874
  const [showMore, setShowMore] = React.useState(false);
45833
45875
  const toggleShowMore = () => {
45834
45876
  setShowMore(!showMore);
@@ -45863,7 +45905,7 @@
45863
45905
  }, step.date)), /*#__PURE__*/React__default["default"].createElement("div", {
45864
45906
  className: "flex flex-col items-center mr-4"
45865
45907
  }, /*#__PURE__*/React__default["default"].createElement("div", {
45866
- className: "w-5 h-5 rounded-full ".concat(index === 0 ? 'bg-primary500' : 'bg-neutral40')
45908
+ className: `w-5 h-5 rounded-full ${index === 0 ? 'bg-primary500' : 'bg-neutral40'}`
45867
45909
  }), index < stepsToShow.length - 1 && /*#__PURE__*/React__default["default"].createElement("div", {
45868
45910
  className: "w-0.5 bg-neutral40",
45869
45911
  style: {
@@ -45880,7 +45922,7 @@
45880
45922
  }
45881
45923
  }, /*#__PURE__*/React__default["default"].createElement("p", {
45882
45924
  className: "font-bold text-blue-500"
45883
- }, "Request Limit ".concat(steps.length - index)), /*#__PURE__*/React__default["default"].createElement("p", {
45925
+ }, `Request Limit ${steps.length - index}`), /*#__PURE__*/React__default["default"].createElement("p", {
45884
45926
  className: "font-bold text-primary700 mt-1"
45885
45927
  }, step.balance), index === 0 && sliceIntoChunks(step.reason, "Initial submiaaaa".length).map((chunk, idx) => /*#__PURE__*/React__default["default"].createElement("p", {
45886
45928
  key: idx,
@@ -45902,36 +45944,35 @@
45902
45944
  })))));
45903
45945
  };
45904
45946
 
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;
45947
+ const ModalLimit = ({
45948
+ isOpen = false,
45949
+ onClose = () => {},
45950
+ title = 'Title Modal',
45951
+ subtitle = 'Subtitle Modal',
45952
+ type = 'default',
45953
+ addition,
45954
+ placeholderTextArea,
45955
+ onChangeTextArea,
45956
+ valueTextArea,
45957
+ valueTextInput,
45958
+ titleButtonLeft = 'Cancel',
45959
+ titleButtonRight = 'Okay',
45960
+ leftAction = onClose,
45961
+ rightAction = onClose,
45962
+ fileName = "Bukti Pembayaran",
45963
+ clientName = "",
45964
+ billingID = "",
45965
+ totalAmount = "",
45966
+ paymentMethod = "",
45967
+ divisionName = "",
45968
+ dateAndTime = "",
45969
+ titleStatus = "",
45970
+ divisisonId = "",
45971
+ declineReason = "",
45972
+ textInputValue,
45973
+ steps,
45974
+ onChangeTextInput
45975
+ }) => {
45935
45976
  const cancelButtonRef = React.useRef(null);
45936
45977
  React.useState("");
45937
45978
  React.useState('');
@@ -46280,24 +46321,23 @@
46280
46321
  }, "\xA0"))))));
46281
46322
  };
46282
46323
 
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;
46324
+ const ModalDeposit = ({
46325
+ isOpen = false,
46326
+ onClose = () => {},
46327
+ title = 'Title Modal',
46328
+ subtitle = 'Subtitle Modal',
46329
+ type = 'default',
46330
+ addition,
46331
+ valueTextArea,
46332
+ valueTextInput,
46333
+ clientName = "",
46334
+ totalAmount = "",
46335
+ divisionName = "",
46336
+ dateAndTime = "",
46337
+ titleStatus = "",
46338
+ divisisonId = "",
46339
+ depositType = ''
46340
+ }) => {
46301
46341
  const cancelButtonRef = React.useRef(null);
46302
46342
  const [showMore, setShowMore] = React.useState(false);
46303
46343
  const toggleSeeMore = () => {
@@ -46388,16 +46428,16 @@
46388
46428
  }, /*#__PURE__*/React__default["default"].createElement("div", {
46389
46429
  className: "text-center p-4"
46390
46430
  }, /*#__PURE__*/React__default["default"].createElement("div", {
46391
- className: "inline-flex p-8 rounded-full ".concat(bgColorClass)
46431
+ className: `inline-flex p-8 rounded-full ${bgColorClass}`
46392
46432
  }, /*#__PURE__*/React__default["default"].createElement(IconComponent, {
46393
46433
  size: 34,
46394
- className: "".concat(amountClass)
46434
+ className: `${amountClass}`
46395
46435
  })), /*#__PURE__*/React__default["default"].createElement("div", {
46396
46436
  className: "mt-4"
46397
46437
  }, /*#__PURE__*/React__default["default"].createElement("p", {
46398
- className: "text-lg font-semibold"
46438
+ className: `text-lg font-semibold`
46399
46439
  }, totalAmount), /*#__PURE__*/React__default["default"].createElement("p", {
46400
- className: "text-sm text-gray-500"
46440
+ className: `text-sm text-gray-500`
46401
46441
  }, depositType)))), /*#__PURE__*/React__default["default"].createElement("div", {
46402
46442
  className: "mx-3 w-auto h-fit rounded-md border border-neutral40 bg-gray-100 p-1"
46403
46443
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -47548,22 +47588,21 @@
47548
47588
  })))));
47549
47589
  };
47550
47590
 
47551
- const SearchDropdown = _ref => {
47552
- let {
47553
- options = [{
47554
- option: "Name 1",
47555
- value: "Value 1"
47556
- }, {
47557
- option: "Name 2",
47558
- value: "Value 2"
47559
- }],
47560
- placeholderSearch = "Search Here",
47561
- filterDropdown = "Filter",
47562
- setFilterDropdown,
47563
- filterSearch,
47564
- setFilterSearch,
47565
- onEnterPress
47566
- } = _ref;
47591
+ const SearchDropdown = ({
47592
+ options = [{
47593
+ option: "Name 1",
47594
+ value: "Value 1"
47595
+ }, {
47596
+ option: "Name 2",
47597
+ value: "Value 2"
47598
+ }],
47599
+ placeholderSearch = "Search Here",
47600
+ filterDropdown = "Filter",
47601
+ setFilterDropdown,
47602
+ filterSearch,
47603
+ setFilterSearch,
47604
+ onEnterPress
47605
+ }) => {
47567
47606
  const [isOpen, setIsOpen] = React.useState(false);
47568
47607
  const dropdownRef = React.useRef(null);
47569
47608
  const handleKeyDown = event => {
@@ -47581,14 +47620,14 @@
47581
47620
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47582
47621
  className: "flex items-center h-full"
47583
47622
  }, /*#__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"),
47623
+ className: `${filterSearch ? "border-black" : "border-neutral50"} relative cursor-pointer border-t border-b border-l rounded-tl-md rounded-bl-md`,
47585
47624
  onClick: () => setIsOpen(!isOpen)
47586
47625
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47587
47626
  className: "flex items-center bg-white rounded-tl-md rounded-bl-md"
47588
47627
  }, /*#__PURE__*/React__default["default"].createElement("p", {
47589
47628
  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
47629
  }, 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")
47630
+ className: `${filterSearch ? "text-black" : "text-neutral50"} ml-3`
47592
47631
  }, "|")), isOpen && /*#__PURE__*/React__default["default"].createElement("div", {
47593
47632
  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
47633
  role: "menu",
@@ -47596,7 +47635,7 @@
47596
47635
  "aria-labelledby": "options-menu"
47597
47636
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47598
47637
  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", {
47638
+ }, options?.length > 0 ? options.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47600
47639
  key: index,
47601
47640
  className: "hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md cursor-pointer",
47602
47641
  onClick: () => handleClickOption(option)
@@ -47607,11 +47646,11 @@
47607
47646
  }, option.option)))) : /*#__PURE__*/React__default["default"].createElement("div", {
47608
47647
  className: "text-sm font-normal text-black flex justify-center"
47609
47648
  }, /*#__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")
47649
+ className: `${filterSearch ? "border-black" : "border-neutral50"} relative border-t border-b border-r rounded-tr-md rounded-br-md`
47611
47650
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47612
47651
  className: "flex items-center bg-white rounded-tr-md rounded-br-md focus:outline-none"
47613
47652
  }, /*#__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")
47653
+ className: `${filterSearch ? "text-black" : "text-neutral50"} absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4`
47615
47654
  }), /*#__PURE__*/React__default["default"].createElement("input", {
47616
47655
  type: "text",
47617
47656
  value: filterSearch,
@@ -47622,36 +47661,35 @@
47622
47661
  })))));
47623
47662
  };
47624
47663
 
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"
47664
+ const FilterDropdown = ({
47665
+ options = [{
47666
+ menu: "Type",
47667
+ parameter: "type",
47668
+ submenu: [{
47669
+ option: "Type 1",
47670
+ value: "type1"
47651
47671
  }],
47652
- dataFilterResult,
47653
- setDataFilterResult = () => {}
47654
- } = _ref;
47672
+ type: "checkbox"
47673
+ }, {
47674
+ menu: "Status",
47675
+ parameter: "status",
47676
+ submenu: [{
47677
+ option: "Status 1",
47678
+ value: "status1"
47679
+ }],
47680
+ type: "radiobutton"
47681
+ }, {
47682
+ menu: "Payment",
47683
+ parameter: "payment",
47684
+ submenu: [{
47685
+ option: "Payment 1",
47686
+ value: "payment1"
47687
+ }],
47688
+ type: "checkbox"
47689
+ }],
47690
+ dataFilterResult,
47691
+ setDataFilterResult = () => {}
47692
+ }) => {
47655
47693
  const [showFilterMenu, setShowFilterMenu] = React.useState(false);
47656
47694
  const [showFilterSubmenu, setShowFilterSubmenu] = React.useState(false);
47657
47695
  const [dataSelectionOptionMenu, setDataSelectionOptionMenu] = React.useState();
@@ -47680,8 +47718,7 @@
47680
47718
  };
47681
47719
  const handleOnClickOption = (submenu, type, parameter) => {
47682
47720
  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);
47721
+ const isSubmenuExist = dataFilterResult[parameter]?.includes(submenu.value);
47685
47722
  const updatedData = [...(dataFilterResult[parameter] || [])];
47686
47723
  if (isSubmenuExist) {
47687
47724
  const index = updatedData.indexOf(submenu.value);
@@ -47694,8 +47731,7 @@
47694
47731
  [parameter]: updatedData
47695
47732
  }));
47696
47733
  } 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) {
47734
+ if (dataFilterResult[parameter]?.[0] === submenu.value) {
47699
47735
  setDataFilterResult(prevState => ({
47700
47736
  ...prevState,
47701
47737
  [parameter]: []
@@ -47708,14 +47744,14 @@
47708
47744
  }
47709
47745
  }
47710
47746
  };
47711
- const buttonText = Object.values(dataFilterResult).flat().length > 0 ? "".concat(Object.values(dataFilterResult).flat().length, " Filter Selected") : 'Filter';
47747
+ const buttonText = Object.values(dataFilterResult).flat().length > 0 ? `${Object.values(dataFilterResult).flat().length} Filter Selected` : 'Filter';
47712
47748
  return /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement("span", {
47713
47749
  className: "rounded-md shadow-sm"
47714
47750
  }, /*#__PURE__*/React__default["default"].createElement("div", {
47715
47751
  className: "flex"
47716
47752
  }, /*#__PURE__*/React__default["default"].createElement("button", {
47717
47753
  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")
47754
+ 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
47755
  }, /*#__PURE__*/React__default["default"].createElement("span", {
47720
47756
  className: "flex-grow py-2.5",
47721
47757
  onClick: () => setShowFilterMenu(!showFilterMenu)
@@ -47735,67 +47771,60 @@
47735
47771
  }, showFilterMenu && /*#__PURE__*/React__default["default"].createElement("div", {
47736
47772
  ref: dropdownRef,
47737
47773
  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
- }))));
47774
+ }, options.map((option, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47775
+ key: index
47776
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
47777
+ className: `hover:bg-neutral20 bg-white py-2.5 px-4 my-0.5 rounded-md flex items-center cursor-pointer justify-between`,
47778
+ onClick: () => {
47779
+ setShowFilterSubmenu(true);
47780
+ setDataSelectionOptionMenu(option.menu);
47781
+ }
47782
+ }, /*#__PURE__*/React__default["default"].createElement("p", null, option.menu), (dataFilterResult[option.parameter]?.length || 0) === 0 ? /*#__PURE__*/React__default["default"].createElement(PiCaretRight, {
47783
+ size: 16,
47784
+ className: "text-neutral300"
47785
+ }) : /*#__PURE__*/React__default["default"].createElement("div", {
47786
+ className: "w-4 h-4 border border-primary500 rounded-full flex items-center justify-center text-primary500"
47787
+ }, /*#__PURE__*/React__default["default"].createElement("p", {
47788
+ style: {
47789
+ fontSize: "8px"
47790
+ }
47791
+ }, dataFilterResult[option.parameter]?.length || 0))), showFilterSubmenu && option.submenu.length > 0 && dataSelectionOptionMenu === option.menu && /*#__PURE__*/React__default["default"].createElement("div", {
47792
+ 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"}`
47793
+ }, option.submenu.map((submenu, subIndex) => /*#__PURE__*/React__default["default"].createElement("div", {
47794
+ key: subIndex,
47795
+ className: "flex bg-white hover:bg-neutral20 rounded-md py-2.5 px-4 my-0.5",
47796
+ onClick: () => {
47797
+ handleOnClickOption(submenu, option.type, option.parameter);
47798
+ }
47799
+ }, option.type === "checkbox" && /*#__PURE__*/React__default["default"].createElement("div", {
47800
+ className: "flex items-center"
47801
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
47802
+ type: "checkbox",
47803
+ className: "mr-2",
47804
+ checked: dataFilterResult[option.parameter]?.includes(submenu.value) || false,
47805
+ onChange: () => handleOnClickOption(submenu, option.type, option.parameter)
47806
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
47807
+ className: `text-sm ${dataFilterResult[option.parameter]?.includes(submenu.value) ? 'text-primary500' : 'text-black'}`
47808
+ }, submenu.option)), option.type === "radiobutton" && /*#__PURE__*/React__default["default"].createElement("div", {
47809
+ className: "flex items-center"
47810
+ }, /*#__PURE__*/React__default["default"].createElement("input", {
47811
+ type: "radio",
47812
+ className: "mr-2",
47813
+ checked: dataFilterResult[option.parameter]?.[0] === submenu.value,
47814
+ onChange: () => handleOnClickOption(submenu, option.type, option.parameter)
47815
+ }), /*#__PURE__*/React__default["default"].createElement("p", {
47816
+ className: `text-sm ${dataFilterResult[option.parameter]?.[0] === submenu.value ? 'text-primary500' : 'text-black'}`
47817
+ }, submenu.option))))))))));
47788
47818
  };
47789
47819
 
47790
- const Footer = _ref => {
47791
- let {
47792
- titleLeftButton = "Cancel",
47793
- titleRightButton = "Submit",
47794
- isActiveLeftButton,
47795
- isActiveRightButton,
47796
- onClickLeftButton,
47797
- onClickRightButton
47798
- } = _ref;
47820
+ const Footer = ({
47821
+ titleLeftButton = "Cancel",
47822
+ titleRightButton = "Submit",
47823
+ isActiveLeftButton,
47824
+ isActiveRightButton,
47825
+ onClickLeftButton,
47826
+ onClickRightButton
47827
+ }) => {
47799
47828
  return /*#__PURE__*/React__default["default"].createElement("div", {
47800
47829
  className: "fixed bottom-0 flex justify-end w-full items-center py-1 px-6 bg-white"
47801
47830
  }, /*#__PURE__*/React__default["default"].createElement("div", {
@@ -47817,28 +47846,27 @@
47817
47846
 
47818
47847
  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
47848
 
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;
47849
+ const Header = ({
47850
+ title = "Label",
47851
+ fullName = "Undefined Name",
47852
+ roleName = "Undefined Role",
47853
+ dataProfile = [{
47854
+ title: "Change Password",
47855
+ action: () => {
47856
+ console.log("Change Password");
47857
+ },
47858
+ logo: PiUserCircleDuotone
47859
+ }, {
47860
+ title: "Logout",
47861
+ action: () => {
47862
+ console.log("Logout");
47863
+ },
47864
+ logo: PiDoorOpenDuotone
47865
+ }],
47866
+ isNotificationActive = false,
47867
+ dataNotification = ["Notification 1", "Notification 2"],
47868
+ dataBalance = "0"
47869
+ }) => {
47842
47870
  const [isProfileContentVisible, setProfileContentVisible] = React.useState(false);
47843
47871
  const [isNotificationContentVisible, setNotificationContentVisible] = React.useState(false);
47844
47872
  const modalRefProfile = React.useRef(null);
@@ -47889,7 +47917,9 @@
47889
47917
  className: "z-50 w-48 bg-white border border-neutral40 rounded-md shadow-md"
47890
47918
  }, dataNotification.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47891
47919
  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 "),
47920
+ className: `px-2 flex items-center cursor-pointer bg-white hover:bg-neutral20 p-2
47921
+ ${dataProfile.length == 1 ? "rounded-md" : index === 0 ? "rounded-t-md" : index === dataProfile.length - 1 ? 'rounded-b-md' : ""}
47922
+ `,
47893
47923
  onClick: value.action
47894
47924
  }, /*#__PURE__*/React__default["default"].createElement("p", {
47895
47925
  className: "text-sm"
@@ -47914,7 +47944,9 @@
47914
47944
  className: "z-50 w-48 bg-white border border-neutral40 rounded-md shadow-md"
47915
47945
  }, dataProfile.map((value, index) => /*#__PURE__*/React__default["default"].createElement("div", {
47916
47946
  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 "),
47947
+ className: `px-2 flex items-center cursor-pointer bg-white hover:bg-neutral20 p-2
47948
+ ${dataProfile.length == 1 ? "rounded-md" : index === 0 ? "rounded-t-md" : index === dataProfile.length - 1 ? 'rounded-b-md' : ""}
47949
+ `,
47918
47950
  onClick: value.action
47919
47951
  }, /*#__PURE__*/React__default["default"].createElement(value.logo, {
47920
47952
  size: 16,