1mpacto-react-ui 2.0.16 → 2.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/dist/assets/style.css +1 -1
  2. package/dist/components/Alert/index.cjs +1 -0
  3. package/dist/components/Alert/index.mjs +220 -0
  4. package/dist/components/Alert/style.module.scss.cjs +1 -0
  5. package/dist/components/Alert/style.module.scss.mjs +14 -0
  6. package/dist/components/Badges/Badges.cjs +2 -0
  7. package/dist/components/Badges/Badges.config.cjs +1 -0
  8. package/dist/components/Badges/Badges.config.mjs +47 -0
  9. package/dist/components/Badges/Badges.mjs +29 -0
  10. package/dist/components/Badges/style.module.scss.cjs +1 -0
  11. package/dist/components/Badges/style.module.scss.mjs +40 -0
  12. package/dist/components/Breadcrumbs/Breadcrumbs.cjs +3 -0
  13. package/dist/components/Breadcrumbs/Breadcrumbs.config.cjs +1 -0
  14. package/dist/components/Breadcrumbs/Breadcrumbs.config.mjs +16 -0
  15. package/dist/components/Breadcrumbs/Breadcrumbs.mjs +67 -0
  16. package/dist/components/Breadcrumbs/style.module.scss.cjs +1 -0
  17. package/dist/components/Breadcrumbs/style.module.scss.mjs +16 -0
  18. package/dist/components/Button/Button.cjs +12 -0
  19. package/dist/components/Button/Button.config.cjs +1 -0
  20. package/dist/components/Button/Button.config.mjs +75 -0
  21. package/dist/components/Button/Button.mjs +75 -0
  22. package/dist/components/Button/style.module.scss.cjs +1 -0
  23. package/dist/components/Button/style.module.scss.mjs +58 -0
  24. package/dist/components/ButtonIcon/ButtonIcon.cjs +12 -0
  25. package/dist/components/ButtonIcon/ButtonIcon.config.cjs +1 -0
  26. package/dist/components/ButtonIcon/ButtonIcon.config.mjs +68 -0
  27. package/dist/components/ButtonIcon/ButtonIcon.mjs +65 -0
  28. package/dist/components/ButtonIcon/style.module.scss.cjs +1 -0
  29. package/dist/components/ButtonIcon/style.module.scss.mjs +51 -0
  30. package/dist/components/ButtonPopover/ButtonPopover.cjs +1 -0
  31. package/dist/components/ButtonPopover/ButtonPopover.mjs +84 -0
  32. package/dist/components/ButtonPopover/style.module.scss.cjs +1 -0
  33. package/dist/components/ButtonPopover/style.module.scss.mjs +10 -0
  34. package/dist/components/Calendar/Calendar.cjs +1 -0
  35. package/dist/components/Calendar/Calendar.mjs +199 -0
  36. package/dist/components/Calendar/CalendarButton.cjs +1 -0
  37. package/dist/components/Calendar/CalendarButton.mjs +18 -0
  38. package/dist/components/Calendar/CalendarCell.cjs +1 -0
  39. package/dist/components/Calendar/CalendarCell.mjs +26 -0
  40. package/dist/components/Calendar/CalendarMonth.cjs +1 -0
  41. package/dist/components/Calendar/CalendarMonth.mjs +74 -0
  42. package/dist/components/Calendar/CalendarRange.cjs +1 -0
  43. package/dist/components/Calendar/CalendarRange.mjs +140 -0
  44. package/dist/components/Calendar/CalendarYear.cjs +3 -0
  45. package/dist/components/Calendar/CalendarYear.mjs +74 -0
  46. package/dist/components/Calendar/style.module.scss.cjs +1 -0
  47. package/dist/components/Calendar/style.module.scss.mjs +36 -0
  48. package/dist/components/Chart/DoughnutChart.cjs +1 -0
  49. package/dist/components/Chart/DoughnutChart.mjs +173 -0
  50. package/dist/components/Chart/GradientBarChart.cjs +1 -0
  51. package/dist/components/Chart/GradientBarChart.mjs +157 -0
  52. package/dist/components/Chart/GradientLineChart.cjs +1 -0
  53. package/dist/components/Chart/GradientLineChart.mjs +143 -0
  54. package/dist/components/Chart/LineChart.cjs +1 -0
  55. package/dist/components/Chart/LineChart.mjs +158 -0
  56. package/dist/components/Chips/Chips.cjs +3 -0
  57. package/dist/components/Chips/Chips.config.cjs +1 -0
  58. package/dist/components/Chips/Chips.config.mjs +35 -0
  59. package/dist/components/Chips/Chips.mjs +37 -0
  60. package/dist/components/Chips/style.module.scss.cjs +1 -0
  61. package/dist/components/Chips/style.module.scss.mjs +14 -0
  62. package/dist/components/Collapse/Collapse.cjs +1 -0
  63. package/dist/components/Collapse/Collapse.mjs +35 -0
  64. package/dist/components/Collapse/CollapseV2.cjs +1 -0
  65. package/dist/components/Collapse/CollapseV2.mjs +30 -0
  66. package/dist/components/Collapse/style.module.scss.cjs +1 -0
  67. package/dist/components/Collapse/style.module.scss.mjs +7 -0
  68. package/dist/components/DatePicker/DatePicker.cjs +1 -0
  69. package/dist/components/DatePicker/DatePicker.mjs +125 -0
  70. package/dist/components/DatePicker/DateRangePicker.cjs +1 -0
  71. package/dist/components/DatePicker/DateRangePicker.mjs +112 -0
  72. package/dist/components/DatePicker/FilterDate.cjs +1 -0
  73. package/dist/components/DatePicker/FilterDate.mjs +248 -0
  74. package/dist/components/DatePicker/MonthYearPicker.cjs +1 -0
  75. package/dist/components/DatePicker/MonthYearPicker.mjs +83 -0
  76. package/dist/components/ErrorMessage/ErrorMessage.cjs +1 -0
  77. package/dist/components/ErrorMessage/ErrorMessage.config.cjs +1 -0
  78. package/dist/components/ErrorMessage/ErrorMessage.config.mjs +11 -0
  79. package/dist/components/ErrorMessage/ErrorMessage.mjs +6 -0
  80. package/dist/components/ErrorMessage/style.module.scss.cjs +1 -0
  81. package/dist/components/ErrorMessage/style.module.scss.mjs +8 -0
  82. package/dist/components/FilterContainer/FilterContainer.cjs +1 -0
  83. package/dist/components/FilterContainer/FilterContainer.mjs +63 -0
  84. package/dist/components/Input/InputFloatingInner.cjs +5 -0
  85. package/dist/components/Input/InputFloatingInner.config.cjs +1 -0
  86. package/dist/components/Input/InputFloatingInner.config.mjs +11 -0
  87. package/dist/components/Input/InputFloatingInner.mjs +65 -0
  88. package/dist/components/Input/InputFloatingInner.module.scss.cjs +1 -0
  89. package/dist/components/Input/InputFloatingInner.module.scss.mjs +20 -0
  90. package/dist/components/Input/InputInnerLabel.cjs +6 -0
  91. package/dist/components/Input/InputInnerLabel.config.cjs +1 -0
  92. package/dist/components/Input/InputInnerLabel.config.mjs +10 -0
  93. package/dist/components/Input/InputInnerLabel.mjs +78 -0
  94. package/dist/components/Input/InputInnerLabel.module.scss.cjs +1 -0
  95. package/dist/components/Input/InputInnerLabel.module.scss.mjs +20 -0
  96. package/dist/components/Input/InputNative.cjs +5 -0
  97. package/dist/components/Input/InputNative.config.cjs +1 -0
  98. package/dist/components/Input/InputNative.config.mjs +11 -0
  99. package/dist/components/Input/InputNative.mjs +58 -0
  100. package/dist/components/Input/InputNative.module.scss.cjs +1 -0
  101. package/dist/components/Input/InputNative.module.scss.mjs +18 -0
  102. package/dist/components/Input/InputReguler.cjs +5 -0
  103. package/dist/components/Input/InputReguler.config.cjs +1 -0
  104. package/dist/components/Input/InputReguler.config.mjs +11 -0
  105. package/dist/components/Input/InputReguler.mjs +79 -0
  106. package/dist/components/Input/InputReguler.module.scss.cjs +1 -0
  107. package/dist/components/Input/InputReguler.module.scss.mjs +24 -0
  108. package/dist/components/Modal/ModalDialog.cjs +1 -0
  109. package/dist/components/Modal/ModalDialog.config.cjs +1 -0
  110. package/dist/components/Modal/ModalDialog.config.mjs +12 -0
  111. package/dist/components/Modal/ModalDialog.mjs +44 -0
  112. package/dist/components/Modal/style.module.scss.cjs +1 -0
  113. package/dist/components/Modal/style.module.scss.mjs +14 -0
  114. package/dist/components/NumberFormat/NumberFormat.cjs +1 -0
  115. package/dist/components/NumberFormat/NumberFormat.mjs +33 -0
  116. package/dist/components/Pagination/Pagination.cjs +2 -0
  117. package/dist/components/Pagination/Pagination.config.cjs +1 -0
  118. package/dist/components/Pagination/Pagination.config.mjs +25 -0
  119. package/dist/components/Pagination/Pagination.mjs +231 -0
  120. package/dist/components/Pagination/style.module.scss.cjs +1 -0
  121. package/dist/components/Pagination/style.module.scss.mjs +20 -0
  122. package/dist/components/Popover/Popover.cjs +1 -0
  123. package/dist/components/Popover/Popover.mjs +78 -0
  124. package/dist/components/Popover/style.module.scss.cjs +1 -0
  125. package/dist/components/Popover/style.module.scss.mjs +7 -0
  126. package/dist/components/PortalComponent/PortalComponent.cjs +1 -0
  127. package/dist/components/PortalComponent/PortalComponent.mjs +18 -0
  128. package/dist/components/RadioCheckbox/CheckboxTable.cjs +1 -0
  129. package/dist/components/RadioCheckbox/CheckboxTable.mjs +27 -0
  130. package/dist/components/RadioCheckbox/RadioCheckbox.cjs +3 -0
  131. package/dist/components/RadioCheckbox/RadioCheckbox.config.cjs +1 -0
  132. package/dist/components/RadioCheckbox/RadioCheckbox.config.mjs +31 -0
  133. package/dist/components/RadioCheckbox/RadioCheckbox.mjs +84 -0
  134. package/dist/components/RadioCheckbox/RadioCheckbox.module.scss.cjs +1 -0
  135. package/dist/components/RadioCheckbox/RadioCheckbox.module.scss.mjs +26 -0
  136. package/dist/components/RadioCheckbox/RadioCheckboxLabel.cjs +4 -0
  137. package/dist/components/RadioCheckbox/RadioCheckboxLabel.config.cjs +1 -0
  138. package/dist/components/RadioCheckbox/RadioCheckboxLabel.config.mjs +20 -0
  139. package/dist/components/RadioCheckbox/RadioCheckboxLabel.mjs +55 -0
  140. package/dist/components/RadioCheckbox/RadioCheckboxLabel.module.scss.cjs +1 -0
  141. package/dist/components/RadioCheckbox/RadioCheckboxLabel.module.scss.mjs +19 -0
  142. package/dist/components/SelectDropdownContainer/SelectDropdownContainer.cjs +1 -0
  143. package/dist/components/SelectDropdownContainer/SelectDropdownContainer.config.cjs +1 -0
  144. package/dist/components/SelectDropdownContainer/SelectDropdownContainer.config.mjs +27 -0
  145. package/dist/components/SelectDropdownContainer/SelectDropdownContainer.mjs +150 -0
  146. package/dist/components/SelectDropdownContainer/SelectDropdownContainer.module.scss.cjs +1 -0
  147. package/dist/components/SelectDropdownContainer/SelectDropdownContainer.module.scss.mjs +10 -0
  148. package/dist/components/SelectDropdownContainer/styleConfig.cjs +1 -0
  149. package/dist/components/SelectDropdownContainer/styleConfig.mjs +277 -0
  150. package/dist/components/Sidebar/ItemSidebar.cjs +8 -0
  151. package/dist/components/Sidebar/ItemSidebar.config.cjs +1 -0
  152. package/dist/components/Sidebar/ItemSidebar.config.mjs +42 -0
  153. package/dist/components/Sidebar/ItemSidebar.mjs +122 -0
  154. package/dist/components/Sidebar/Sidebar.cjs +1 -0
  155. package/dist/components/Sidebar/Sidebar.config.cjs +1 -0
  156. package/dist/components/Sidebar/Sidebar.config.mjs +25 -0
  157. package/dist/components/Sidebar/Sidebar.mjs +136 -0
  158. package/dist/components/Sidebar/Sidebar.module.scss.cjs +1 -0
  159. package/dist/components/Sidebar/Sidebar.module.scss.mjs +26 -0
  160. package/dist/components/Sidebar/itemSidebar.module.scss.cjs +1 -0
  161. package/dist/components/Sidebar/itemSidebar.module.scss.mjs +31 -0
  162. package/dist/components/Step/Step.cjs +5 -0
  163. package/dist/components/Step/Step.mjs +85 -0
  164. package/dist/components/Step/Step.module.scss.cjs +1 -0
  165. package/dist/components/Step/Step.module.scss.mjs +17 -0
  166. package/dist/components/Step/StepIndicator.cjs +4 -0
  167. package/dist/components/Step/StepIndicator.mjs +65 -0
  168. package/dist/components/Step/StepIndicator.module.scss.cjs +1 -0
  169. package/dist/components/Step/StepIndicator.module.scss.mjs +16 -0
  170. package/dist/components/Switch/Switch.cjs +1 -0
  171. package/dist/components/Switch/Switch.config.cjs +1 -0
  172. package/dist/components/Switch/Switch.config.mjs +28 -0
  173. package/dist/components/Switch/Switch.mjs +53 -0
  174. package/dist/components/Switch/style.module.scss.cjs +1 -0
  175. package/dist/components/Switch/style.module.scss.mjs +23 -0
  176. package/dist/components/TPublish/TPublish.cjs +1 -0
  177. package/dist/components/TPublish/TPublish.mjs +5 -0
  178. package/dist/components/Table/Table.cjs +3 -0
  179. package/dist/components/Table/Table.config.cjs +1 -0
  180. package/dist/components/Table/Table.config.mjs +69 -0
  181. package/dist/components/Table/Table.mjs +402 -0
  182. package/dist/components/Table/Table.module.scss.cjs +1 -0
  183. package/dist/components/Table/Table.module.scss.mjs +19 -0
  184. package/dist/components/Table/TableSubMobile.cjs +1 -0
  185. package/dist/components/Table/TableSubMobile.mjs +37 -0
  186. package/dist/components/Table/TableSubMobile.module.scss.cjs +1 -0
  187. package/dist/components/Table/TableSubMobile.module.scss.mjs +6 -0
  188. package/dist/components/Tabs/TabPanel.cjs +1 -0
  189. package/dist/components/Tabs/TabPanel.mjs +14 -0
  190. package/dist/components/Tabs/Tabs.cjs +8 -0
  191. package/dist/components/Tabs/Tabs.config.cjs +1 -0
  192. package/dist/components/Tabs/Tabs.config.mjs +33 -0
  193. package/dist/components/Tabs/Tabs.mjs +112 -0
  194. package/dist/components/Tabs/style.module.scss.cjs +1 -0
  195. package/dist/components/Tabs/style.module.scss.mjs +30 -0
  196. package/dist/components/Text/Text.cjs +5 -0
  197. package/dist/components/Text/Text.mjs +39 -0
  198. package/dist/components/TextEditor/TextEditor.cjs +1 -0
  199. package/dist/components/TextEditor/TextEditor.mjs +9 -0
  200. package/dist/components/TextEditor/style.module.scss.cjs +1 -0
  201. package/dist/components/TextEditor/style.module.scss.mjs +7 -0
  202. package/dist/components/Textarea/Textarea.cjs +7 -0
  203. package/dist/components/Textarea/Textarea.config.cjs +1 -0
  204. package/dist/components/Textarea/Textarea.config.mjs +33 -0
  205. package/dist/components/Textarea/Textarea.mjs +87 -0
  206. package/dist/components/Textarea/TextareaFloatingInner.cjs +6 -0
  207. package/dist/components/Textarea/TextareaFloatingInner.config.cjs +1 -0
  208. package/dist/components/Textarea/TextareaFloatingInner.config.mjs +9 -0
  209. package/dist/components/Textarea/TextareaFloatingInner.mjs +101 -0
  210. package/dist/components/Textarea/TextareaFloatingInner.module.scss.cjs +1 -0
  211. package/dist/components/Textarea/TextareaFloatingInner.module.scss.mjs +17 -0
  212. package/dist/components/Textarea/TextareaInnerLabel.cjs +6 -0
  213. package/dist/components/Textarea/TextareaInnerLabel.config.cjs +1 -0
  214. package/dist/components/Textarea/TextareaInnerLabel.config.mjs +10 -0
  215. package/dist/components/Textarea/TextareaInnerLabel.mjs +87 -0
  216. package/dist/components/Textarea/TextareaInnerLabel.module.scss.cjs +1 -0
  217. package/dist/components/Textarea/TextareaInnerLabel.module.scss.mjs +17 -0
  218. package/dist/components/Textarea/style.module.scss.cjs +1 -0
  219. package/dist/components/Textarea/style.module.scss.mjs +25 -0
  220. package/dist/components/TimeRange/TimeRange.cjs +1 -0
  221. package/dist/components/TimeRange/TimeRange.mjs +187 -0
  222. package/dist/components/TimeRange/TimeRange.module.scss.cjs +1 -0
  223. package/dist/components/TimeRange/TimeRange.module.scss.mjs +23 -0
  224. package/dist/components/Timeline/Timeline.cjs +1 -0
  225. package/dist/components/Timeline/Timeline.mjs +12 -0
  226. package/dist/components/Timeline/style.module.scss.cjs +1 -0
  227. package/dist/components/Timeline/style.module.scss.mjs +14 -0
  228. package/dist/components/Tooltip/Tooltip.cjs +1 -0
  229. package/dist/components/Tooltip/Tooltip.mjs +77 -0
  230. package/dist/components/Tooltip/Tooltip.module.scss.cjs +1 -0
  231. package/dist/components/Tooltip/Tooltip.module.scss.mjs +8 -0
  232. package/dist/components/TruncateComponent/TruncateComponent.cjs +1 -0
  233. package/dist/components/TruncateComponent/TruncateComponent.mjs +83 -0
  234. package/dist/components/Upload/UploadFile.cjs +1 -0
  235. package/dist/components/Upload/UploadFile.mjs +94 -0
  236. package/dist/components/Upload/UploadFile.module.scss.cjs +1 -0
  237. package/dist/components/Upload/UploadFile.module.scss.mjs +6 -0
  238. package/dist/components/Upload/UploadImage.cjs +12 -0
  239. package/dist/components/Upload/UploadImage.mjs +162 -0
  240. package/dist/components/Upload/UploadImage.module.scss.cjs +1 -0
  241. package/dist/components/Upload/UploadImage.module.scss.mjs +14 -0
  242. package/dist/components/Upload/UploadMultipleFile.cjs +1 -0
  243. package/dist/components/Upload/UploadMultipleFile.mjs +85 -0
  244. package/dist/components/Upload/UploadMultipleFile.module.scss.cjs +1 -0
  245. package/dist/components/Upload/UploadMultipleFile.module.scss.mjs +14 -0
  246. package/dist/components/Virtualization/ListVirtualization.cjs +1 -0
  247. package/dist/components/Virtualization/ListVirtualization.mjs +82 -0
  248. package/dist/components/Virtualization/TableVirtualization.cjs +1 -0
  249. package/dist/components/Virtualization/TableVirtualization.mjs +84 -0
  250. package/dist/config/bigNumber/index.cjs +1 -0
  251. package/dist/config/bigNumber/index.mjs +15 -0
  252. package/dist/config/components/borderRadius.cjs +1 -0
  253. package/dist/config/components/borderRadius.mjs +14 -0
  254. package/dist/config/components/font.cjs +1 -0
  255. package/dist/config/components/font.mjs +8 -0
  256. package/dist/config/components/gap.cjs +1 -0
  257. package/dist/config/components/gap.mjs +110 -0
  258. package/dist/config/components/tinymce.cjs +28 -0
  259. package/dist/config/components/tinymce.mjs +81 -0
  260. package/dist/config/components/typography.cjs +1 -0
  261. package/dist/config/components/typography.mjs +83 -0
  262. package/dist/config/resources/index.cjs +1 -0
  263. package/dist/config/resources/index.mjs +4 -0
  264. package/dist/config/tailwind/colors.cjs +1 -0
  265. package/dist/config/tailwind/colors.mjs +291 -0
  266. package/dist/config/tailwind/nativeScreen.cjs +1 -0
  267. package/dist/config/tailwind/nativeScreen.mjs +11 -0
  268. package/dist/config/tailwind/screen.cjs +1 -0
  269. package/dist/config/tailwind/screen.mjs +11 -0
  270. package/dist/config/tailwind/typography.cjs +1 -0
  271. package/dist/config/tailwind/typography.mjs +158 -0
  272. package/dist/hooks/useAsyncDebounce.cjs +1 -0
  273. package/dist/hooks/useAsyncDebounce.mjs +21 -0
  274. package/dist/hooks/useCombinedResizeObserver.cjs +1 -0
  275. package/dist/hooks/useCombinedResizeObserver.mjs +48 -0
  276. package/dist/hooks/useCountdown.cjs +1 -0
  277. package/dist/hooks/useCountdown.mjs +38 -0
  278. package/dist/hooks/useDeepCompareEffect.cjs +1 -0
  279. package/dist/hooks/useDeepCompareEffect.mjs +14 -0
  280. package/dist/hooks/useElementOrWindowMediaQuery.cjs +1 -0
  281. package/dist/hooks/useElementOrWindowMediaQuery.mjs +23 -0
  282. package/dist/hooks/useEventListener.cjs +1 -0
  283. package/dist/hooks/useEventListener.mjs +19 -0
  284. package/dist/hooks/useMasonry.cjs +1 -0
  285. package/dist/hooks/useMasonry.mjs +53 -0
  286. package/dist/hooks/useMergeRefs.cjs +1 -0
  287. package/dist/hooks/useMergeRefs.mjs +29 -0
  288. package/dist/hooks/useOtpInput.cjs +1 -0
  289. package/dist/hooks/useOtpInput.mjs +115 -0
  290. package/dist/hooks/useStateRef.cjs +1 -0
  291. package/dist/hooks/useStateRef.mjs +10 -0
  292. package/dist/index.cjs +1 -247
  293. package/dist/index.mjs +207 -51684
  294. package/dist/package.json.cjs +1 -0
  295. package/dist/package.json.d.ts +3 -2
  296. package/dist/package.json.mjs +7 -0
  297. package/dist/public/assets/icons/arrow-narrow-down.svg.cjs +1 -0
  298. package/dist/public/assets/icons/arrow-narrow-down.svg.mjs +4 -0
  299. package/dist/utils/axiosBigNumber.cjs +1 -0
  300. package/dist/utils/axiosBigNumber.mjs +32 -0
  301. package/dist/utils/common.cjs +1 -0
  302. package/dist/utils/common.mjs +264 -0
  303. package/dist/utils/cookies.cjs +1 -0
  304. package/dist/utils/cookies.mjs +48 -0
  305. package/dist/utils/formatBigNumber.cjs +1 -0
  306. package/dist/utils/formatBigNumber.mjs +39 -0
  307. package/dist/utils/yup.cjs +1 -0
  308. package/dist/utils/yup.mjs +78 -0
  309. package/package.json +3 -2
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_container_17mpy_1",a="_disabled_17mpy_11",_="_label_17mpy_15",t="_desc_17mpy_18",n={container:e,"bill-secondary-50":"_bill-secondary-50_17mpy_1","laba-blue-01":"_laba-blue-01_17mpy_1","transparent-text_orange-700":"_transparent-text_orange-700_17mpy_1","transparent-text_green-700":"_transparent-text_green-700_17mpy_1","blue-50":"_blue-50_17mpy_1",disabled:a,label:_,desc:t,"same-background":"_same-background_17mpy_21"};exports.container=e;exports.default=n;exports.desc=t;exports.disabled=a;exports.label=_;
@@ -0,0 +1,19 @@
1
+ const e = "_container_17mpy_1", _ = "_disabled_17mpy_11", a = "_label_17mpy_15", n = "_desc_17mpy_18", t = {
2
+ container: e,
3
+ "bill-secondary-50": "_bill-secondary-50_17mpy_1",
4
+ "laba-blue-01": "_laba-blue-01_17mpy_1",
5
+ "transparent-text_orange-700": "_transparent-text_orange-700_17mpy_1",
6
+ "transparent-text_green-700": "_transparent-text_green-700_17mpy_1",
7
+ "blue-50": "_blue-50_17mpy_1",
8
+ disabled: _,
9
+ label: a,
10
+ desc: n,
11
+ "same-background": "_same-background_17mpy_21"
12
+ };
13
+ export {
14
+ e as container,
15
+ t as default,
16
+ n as desc,
17
+ _ as disabled,
18
+ a as label
19
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=require("react/jsx-runtime"),t=require("react"),ne=require("react-select"),oe=require("../Popover/Popover.cjs"),re=require("./SelectDropdownContainer.module.scss.cjs"),V=require("../../hooks/useDeepCompareEffect.cjs"),p=require("./SelectDropdownContainer.config.cjs"),y=t.forwardRef((m,N)=>{const{width:h,children:E,components:I,classNameContainer:x="",classNameContainerShowSelect:M="",classNameContainerSelect:$="",classNameLabelError:b="",error:q,onChange:v,externalValue:l=!1,defaultValueButtonDropdown:r={},autoClose:j=!0,onMenuOpen:z=()=>{},autoCloseOutside:L=!0,styleInnerPopper:_={},onMenuClose:T=()=>{},zIndexPopper:W=0,id:k="select-dropdown-container",idPopover:F="select-dropdown-container-popover",useAutoPlacement:A,flipOptions:B,autoPlacementOptions:H,withSearch:G=!1,floatingOptions:J={},offsetPopover:K=5,selectProps:Q={},errorLabel:U="payhere",controlType:w="payhere",actionValueChange:X=()=>{},...Y}=m,s=t.useRef(null),a=t.useRef(null),[Z,g]=t.useState(""),[o,S]=t.useState(!1),[i,c]=t.useState({}),[D,P]=t.useState(0),C=e=>{var n;(n=a.current)==null||n.setShow(e),S(e)},ee=()=>{if(l)return m.isMulti?r:[r]},O=e=>{var n;(n=a.current)==null||n.handlerShow(e),P(s.current.offsetWidth),S(d=>!d)},R=()=>{var e;L&&((e=a.current)==null||e.setShow(!1))},te=(e,n)=>{var d;j&&(S(!1),(d=a.current)==null||d.setShow(!1)),typeof v=="function"&&v(e,n),l||c(e)},u=()=>{s.current&&P(s.current.offsetWidth)};return V.useDeepCompareEffect(()=>{l&&c(r),X(r)},[l,r]),t.useEffect(()=>{o?z():o||(T(),g(""))},[o]),t.useImperativeHandle(N,()=>({selectValue:i,setSelectValue:c,handlerClose:R,handlerShow:O,show:o,setShow:C}),[o,V.useDeepCompareMemoize(i)]),t.useEffect(()=>(window.addEventListener("resize",u),window.addEventListener("load",u),()=>{window.removeEventListener("resize",u),window.removeEventListener("load",u)}),[s]),f.jsxs("div",{id:k,className:`${re.default.container} ${x} ${o?`${M} open-popover`:null}`,ref:s,children:[E({selectValue:i,setSelectValue:c,handlerClose:R,handlerShow:O,show:o,setShow:C}),f.jsx(oe.default,{ref:a,offset:K,useAutoPlacement:A,flipOptions:B,autoPlacementOptions:H,zIndex:W,styleInnerPopover:_,id:F,width:typeof h=="function"?h(D,i):h||D,className:`${$} ${p.configSelectDropdownContainer.classNamePopover[w]}`,floatingOptions:J,children:f.jsx(ne,{className:"iru-w-full",defaultValue:ee(),inputValue:Z,onInputChange:(e,{action:n})=>{n==="input-change"&&g(e)},openMenuOnFocus:!0,autoFocus:!1,backspaceRemovesValue:!1,components:{IndicatorSeparator:null,...I},controlShouldRenderValue:!1,hideSelectedOptions:!1,isClearable:!1,menuIsOpen:!0,tabSelectsValue:!1,styles:G?p.configSelectDropdownContainer.variant[w]:p.configSelectDropdownContainer.noSearchVariant[w],noOptionsMessage:()=>"Tidak ada data.",onChange:te,selectProps:{...Q,setShowDropdown:C},...Y})}),f.jsx("div",{className:`${p.configSelectDropdownContainer.error[U]} ${b}`,children:q})]})});y.displayName="SelectDropdownContainer";exports.default=y;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./SelectDropdownContainer.module.scss.cjs"),e=require("./styleConfig.cjs"),o={error:{laba:r.default["error-laba"],payhere:r.default["error-payhere"],bill:r.default["error-bill"]},variant:{laba:e.styleSelectDropdownContainerLaba,payhere:e.styleSelectDropdownContainerPayhere,bill:e.styleSelectDropdownContainerBill},noSearchVariant:{laba:e.styleSelectDropdownContainerNoSearchLaba,payhere:e.styleSelectDropdownContainerNoSearchPayhere,bill:e.styleSelectDropdownContainerNoSearchBill},classNamePopover:{laba:"",payhere:"",bill:"!iru-rounded-xl"}};exports.configSelectDropdownContainer=o;
@@ -0,0 +1,27 @@
1
+ import e from "./SelectDropdownContainer.module.scss.mjs";
2
+ import { styleSelectDropdownContainerBill as r, styleSelectDropdownContainerPayhere as o, styleSelectDropdownContainerLaba as a, styleSelectDropdownContainerNoSearchBill as l, styleSelectDropdownContainerNoSearchPayhere as n, styleSelectDropdownContainerNoSearchLaba as t } from "./styleConfig.mjs";
3
+ const c = {
4
+ error: {
5
+ laba: e["error-laba"],
6
+ payhere: e["error-payhere"],
7
+ bill: e["error-bill"]
8
+ },
9
+ variant: {
10
+ laba: a,
11
+ payhere: o,
12
+ bill: r
13
+ },
14
+ noSearchVariant: {
15
+ laba: t,
16
+ payhere: n,
17
+ bill: l
18
+ },
19
+ classNamePopover: {
20
+ laba: "",
21
+ payhere: "",
22
+ bill: "!iru-rounded-xl"
23
+ }
24
+ };
25
+ export {
26
+ c as configSelectDropdownContainer
27
+ };
@@ -0,0 +1,150 @@
1
+ import { jsxs as ee, jsx as S } from "react/jsx-runtime";
2
+ import t from "react";
3
+ import te from "react-select";
4
+ import oe from "../Popover/Popover.mjs";
5
+ import ne from "./SelectDropdownContainer.module.scss.mjs";
6
+ import { useDeepCompareEffect as re, useDeepCompareMemoize as ae } from "../../hooks/useDeepCompareEffect.mjs";
7
+ import { configSelectDropdownContainer as p } from "./SelectDropdownContainer.config.mjs";
8
+ const se = t.forwardRef(
9
+ (C, R) => {
10
+ const {
11
+ width: d,
12
+ children: g,
13
+ components: I,
14
+ classNameContainer: E = "",
15
+ classNameContainerShowSelect: $ = "",
16
+ classNameContainerSelect: D = "",
17
+ classNameLabelError: x = "",
18
+ error: z,
19
+ onChange: v,
20
+ externalValue: l = !1,
21
+ defaultValueButtonDropdown: r = {},
22
+ autoClose: L = !0,
23
+ onMenuOpen: M = () => {
24
+ },
25
+ autoCloseOutside: b = !0,
26
+ styleInnerPopper: W = {},
27
+ onMenuClose: j = () => {
28
+ },
29
+ zIndexPopper: k = 0,
30
+ id: F = "select-dropdown-container",
31
+ idPopover: T = "select-dropdown-container-popover",
32
+ useAutoPlacement: A,
33
+ flipOptions: B,
34
+ autoPlacementOptions: H,
35
+ withSearch: q = !1,
36
+ floatingOptions: G = {},
37
+ offsetPopover: J = 5,
38
+ selectProps: K = {},
39
+ errorLabel: Q = "payhere",
40
+ controlType: h = "payhere",
41
+ actionValueChange: U = () => {
42
+ },
43
+ ...X
44
+ } = C, a = t.useRef(null), s = t.useRef(null), [Y, P] = t.useState(""), [n, m] = t.useState(!1), [i, c] = t.useState({}), [V, y] = t.useState(0), w = (e) => {
45
+ var o;
46
+ (o = s.current) == null || o.setShow(e), m(e);
47
+ }, Z = () => {
48
+ if (l)
49
+ return C.isMulti ? r : [r];
50
+ }, N = (e) => {
51
+ var o;
52
+ (o = s.current) == null || o.handlerShow(e), y(a.current.offsetWidth), m((f) => !f);
53
+ }, O = () => {
54
+ var e;
55
+ b && ((e = s.current) == null || e.setShow(!1));
56
+ }, _ = (e, o) => {
57
+ var f;
58
+ L && (m(!1), (f = s.current) == null || f.setShow(!1)), typeof v == "function" && v(e, o), l || c(e);
59
+ }, u = () => {
60
+ a.current && y(a.current.offsetWidth);
61
+ };
62
+ return re(() => {
63
+ l && c(r), U(r);
64
+ }, [l, r]), t.useEffect(() => {
65
+ n ? M() : n || (j(), P(""));
66
+ }, [n]), t.useImperativeHandle(
67
+ R,
68
+ () => ({
69
+ selectValue: i,
70
+ setSelectValue: c,
71
+ handlerClose: O,
72
+ handlerShow: N,
73
+ show: n,
74
+ setShow: w
75
+ }),
76
+ [n, ae(i)]
77
+ ), t.useEffect(() => (window.addEventListener("resize", u), window.addEventListener("load", u), () => {
78
+ window.removeEventListener("resize", u), window.removeEventListener("load", u);
79
+ }), [a]), /* @__PURE__ */ ee(
80
+ "div",
81
+ {
82
+ id: F,
83
+ className: `${ne.container} ${E} ${n ? `${$} open-popover` : null}`,
84
+ ref: a,
85
+ children: [
86
+ g({
87
+ selectValue: i,
88
+ setSelectValue: c,
89
+ handlerClose: O,
90
+ handlerShow: N,
91
+ show: n,
92
+ setShow: w
93
+ }),
94
+ /* @__PURE__ */ S(
95
+ oe,
96
+ {
97
+ ref: s,
98
+ offset: J,
99
+ useAutoPlacement: A,
100
+ flipOptions: B,
101
+ autoPlacementOptions: H,
102
+ zIndex: k,
103
+ styleInnerPopover: W,
104
+ id: T,
105
+ width: typeof d == "function" ? d(V, i) : d || V,
106
+ className: `${D} ${p.classNamePopover[h]}`,
107
+ floatingOptions: G,
108
+ children: /* @__PURE__ */ S(
109
+ te,
110
+ {
111
+ className: "iru-w-full",
112
+ defaultValue: Z(),
113
+ inputValue: Y,
114
+ onInputChange: (e, { action: o }) => {
115
+ o === "input-change" && P(e);
116
+ },
117
+ openMenuOnFocus: !0,
118
+ autoFocus: !1,
119
+ backspaceRemovesValue: !1,
120
+ components: {
121
+ IndicatorSeparator: null,
122
+ ...I
123
+ },
124
+ controlShouldRenderValue: !1,
125
+ hideSelectedOptions: !1,
126
+ isClearable: !1,
127
+ menuIsOpen: !0,
128
+ tabSelectsValue: !1,
129
+ styles: q ? p.variant[h] : p.noSearchVariant[h],
130
+ noOptionsMessage: () => "Tidak ada data.",
131
+ onChange: _,
132
+ selectProps: {
133
+ ...K,
134
+ setShowDropdown: w
135
+ },
136
+ ...X
137
+ }
138
+ )
139
+ }
140
+ ),
141
+ /* @__PURE__ */ S("div", { className: `${p.error[Q]} ${x}`, children: z })
142
+ ]
143
+ }
144
+ );
145
+ }
146
+ );
147
+ se.displayName = "SelectDropdownContainer";
148
+ export {
149
+ se as default
150
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r="_container_whbr8_1",e={container:r,"error-payhere":"_error-payhere_whbr8_7","error-laba":"_error-laba_whbr8_16","error-bill":"_error-bill_whbr8_25"};exports.container=r;exports.default=e;
@@ -0,0 +1,10 @@
1
+ const r = "_container_whbr8_1", e = {
2
+ container: r,
3
+ "error-payhere": "_error-payhere_whbr8_7",
4
+ "error-laba": "_error-laba_whbr8_16",
5
+ "error-bill": "_error-bill_whbr8_25"
6
+ };
7
+ export {
8
+ r as container,
9
+ e as default
10
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i={control:o=>({...o,border:"1px solid #D6D6D6","&:hover":{borderColor:"#0163C8"},borderRadius:"4px",outline:"none",boxShadow:"none",color:"#898989",backgroundColor:"white",margin:"0px",cursor:"text",minHeight:32,fontSize:"12px",lineHeight:"16px",fontFamily:"Lato"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px"}),option:(o,e)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Lato",cursor:"pointer",background:e.isSelected?"#F0F7FF":"white",color:e.isSelected?"#0163C8":o.color,"&:hover":{background:e.isDisabled?"":"#F0F7FF",color:e.isDisabled?"":"#0163C8",cursor:e.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"12px",lineHeight:"16px",fontFamily:"Lato"})},n={control:o=>({...o,border:"1px solid #BDBDBD","&:hover":{borderColor:"#64B5F6"},borderRadius:"6px",outline:"none",color:"#212121",backgroundColor:"white",margin:"0px",cursor:"text",minHeight:38,fontSize:"14px",lineHeight:"22px",fontFamily:"Inter",marginBottom:"5px"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px"}),option:(o,e)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Inter",cursor:"pointer",background:e.isSelected?"#E1F5FE":"white",color:e.isSelected?"#1565C0":o.color,"&:hover":{background:e.isDisabled?"":"#E1F5FE",color:e.isDisabled?"":"#1565C0",cursor:e.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Inter"})},r={control:o=>({...o,border:"1px solid #BDBDBD","&:hover":{borderColor:"#64B5F6"},borderRadius:"6px",outline:"none",color:"#212121",backgroundColor:"white",margin:"0px",cursor:"text",minHeight:38,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans",marginBottom:"5px"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px",borderRadius:"12px"}),menuList:o=>({...o,borderRadius:"12px"}),option:(o,e)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans",cursor:"pointer",background:e.isSelected?"#F0FEFD":"white",color:e.isSelected?"#2F7E79":o.color,"&:hover":{background:e.isDisabled?"":"#F0FEFD",color:e.isDisabled?"":"#2F7E79",cursor:e.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans"})},l={control:()=>({display:"none"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px"}),option:(o,e)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Lato",cursor:"pointer",background:e.isSelected?"#F0F7FF":"white",color:e.isSelected?"#0163C8":o.color,"&:hover":{background:e.isDisabled?"":"#F0F7FF",color:e.isDisabled?"":"#0163C8",cursor:e.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"12px",lineHeight:"16px",fontFamily:"Lato"})},t={control:()=>({display:"none"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px"}),option:(o,e)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Inter",cursor:"pointer",background:e.isSelected?"#E1F5FE":"white",color:e.isSelected?"#1565C0":o.color,"&:hover":{background:e.isDisabled?"":"#E1F5FE",color:e.isDisabled?"":"#1565C0",cursor:e.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"Inter"})},d={control:()=>({display:"none"}),dropdownIndicator:o=>({...o,padding:"0px 8px"}),menu:o=>({...o,position:"static",boxShadow:"none",marginTop:"0px",borderRadius:"12px"}),menuList:o=>({...o,borderRadius:"12px"}),option:(o,e)=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans",fontWeight:"500",cursor:"pointer",background:e.isSelected?"#F0FEFD":"white",color:e.isSelected?"#2F7E79":o.color,"&:hover":{background:e.isDisabled?"":"#F0FEFD",color:e.isDisabled?"":"#2F7E79",cursor:e.isDisabled?"default":""}}),group:o=>({...o,padding:0}),placeholder:o=>({...o,fontSize:"14px",lineHeight:"22px",fontFamily:"PJakartaSans"})};exports.styleSelectDropdownContainerBill=r;exports.styleSelectDropdownContainerLaba=i;exports.styleSelectDropdownContainerNoSearchBill=d;exports.styleSelectDropdownContainerNoSearchLaba=l;exports.styleSelectDropdownContainerNoSearchPayhere=t;exports.styleSelectDropdownContainerPayhere=n;
@@ -0,0 +1,277 @@
1
+ const n = {
2
+ control: (o) => ({
3
+ ...o,
4
+ border: "1px solid #D6D6D6",
5
+ "&:hover": {
6
+ borderColor: "#0163C8"
7
+ },
8
+ borderRadius: "4px",
9
+ outline: "none",
10
+ boxShadow: "none",
11
+ color: "#898989",
12
+ backgroundColor: "white",
13
+ margin: "0px",
14
+ cursor: "text",
15
+ minHeight: 32,
16
+ fontSize: "12px",
17
+ lineHeight: "16px",
18
+ fontFamily: "Lato"
19
+ }),
20
+ dropdownIndicator: (o) => ({ ...o, padding: "0px 8px" }),
21
+ menu: (o) => ({
22
+ ...o,
23
+ position: "static",
24
+ boxShadow: "none",
25
+ marginTop: "0px"
26
+ }),
27
+ option: (o, i) => ({
28
+ ...o,
29
+ fontSize: "14px",
30
+ lineHeight: "22px",
31
+ fontFamily: "Lato",
32
+ cursor: "pointer",
33
+ background: i.isSelected ? "#F0F7FF" : "white",
34
+ color: i.isSelected ? "#0163C8" : o.color,
35
+ "&:hover": {
36
+ background: i.isDisabled ? "" : "#F0F7FF",
37
+ color: i.isDisabled ? "" : "#0163C8",
38
+ cursor: i.isDisabled ? "default" : ""
39
+ }
40
+ }),
41
+ group: (o) => ({
42
+ ...o,
43
+ padding: 0
44
+ }),
45
+ placeholder: (o) => ({
46
+ ...o,
47
+ fontSize: "12px",
48
+ lineHeight: "16px",
49
+ fontFamily: "Lato"
50
+ })
51
+ }, e = {
52
+ control: (o) => ({
53
+ ...o,
54
+ border: "1px solid #BDBDBD",
55
+ "&:hover": {
56
+ borderColor: "#64B5F6"
57
+ },
58
+ borderRadius: "6px",
59
+ outline: "none",
60
+ // boxShadow: 'none',
61
+ color: "#212121",
62
+ backgroundColor: "white",
63
+ margin: "0px",
64
+ cursor: "text",
65
+ minHeight: 38,
66
+ fontSize: "14px",
67
+ lineHeight: "22px",
68
+ fontFamily: "Inter",
69
+ marginBottom: "5px"
70
+ }),
71
+ dropdownIndicator: (o) => ({ ...o, padding: "0px 8px" }),
72
+ menu: (o) => ({
73
+ ...o,
74
+ position: "static",
75
+ boxShadow: "none",
76
+ marginTop: "0px"
77
+ }),
78
+ option: (o, i) => ({
79
+ ...o,
80
+ fontSize: "14px",
81
+ lineHeight: "22px",
82
+ fontFamily: "Inter",
83
+ cursor: "pointer",
84
+ background: i.isSelected ? "#E1F5FE" : "white",
85
+ color: i.isSelected ? "#1565C0" : o.color,
86
+ "&:hover": {
87
+ background: i.isDisabled ? "" : "#E1F5FE",
88
+ color: i.isDisabled ? "" : "#1565C0",
89
+ cursor: i.isDisabled ? "default" : ""
90
+ }
91
+ }),
92
+ group: (o) => ({
93
+ ...o,
94
+ padding: 0
95
+ }),
96
+ placeholder: (o) => ({
97
+ ...o,
98
+ fontSize: "14px",
99
+ lineHeight: "22px",
100
+ fontFamily: "Inter"
101
+ })
102
+ }, r = {
103
+ control: (o) => ({
104
+ ...o,
105
+ border: "1px solid #BDBDBD",
106
+ "&:hover": {
107
+ borderColor: "#64B5F6"
108
+ },
109
+ borderRadius: "6px",
110
+ outline: "none",
111
+ // boxShadow: 'none',
112
+ color: "#212121",
113
+ backgroundColor: "white",
114
+ margin: "0px",
115
+ cursor: "text",
116
+ minHeight: 38,
117
+ fontSize: "14px",
118
+ lineHeight: "22px",
119
+ fontFamily: "PJakartaSans",
120
+ marginBottom: "5px"
121
+ }),
122
+ dropdownIndicator: (o) => ({ ...o, padding: "0px 8px" }),
123
+ menu: (o) => ({
124
+ ...o,
125
+ position: "static",
126
+ boxShadow: "none",
127
+ marginTop: "0px",
128
+ borderRadius: "12px"
129
+ }),
130
+ menuList: (o) => ({
131
+ ...o,
132
+ borderRadius: "12px"
133
+ }),
134
+ option: (o, i) => ({
135
+ ...o,
136
+ fontSize: "14px",
137
+ lineHeight: "22px",
138
+ fontFamily: "PJakartaSans",
139
+ cursor: "pointer",
140
+ background: i.isSelected ? "#F0FEFD" : "white",
141
+ color: i.isSelected ? "#2F7E79" : o.color,
142
+ "&:hover": {
143
+ background: i.isDisabled ? "" : "#F0FEFD",
144
+ color: i.isDisabled ? "" : "#2F7E79",
145
+ cursor: i.isDisabled ? "default" : ""
146
+ }
147
+ }),
148
+ group: (o) => ({
149
+ ...o,
150
+ padding: 0
151
+ }),
152
+ placeholder: (o) => ({
153
+ ...o,
154
+ fontSize: "14px",
155
+ lineHeight: "22px",
156
+ fontFamily: "PJakartaSans"
157
+ })
158
+ }, d = {
159
+ control: () => ({
160
+ display: "none"
161
+ }),
162
+ dropdownIndicator: (o) => ({ ...o, padding: "0px 8px" }),
163
+ menu: (o) => ({
164
+ ...o,
165
+ position: "static",
166
+ boxShadow: "none",
167
+ marginTop: "0px"
168
+ }),
169
+ option: (o, i) => ({
170
+ ...o,
171
+ fontSize: "14px",
172
+ lineHeight: "22px",
173
+ fontFamily: "Lato",
174
+ cursor: "pointer",
175
+ background: i.isSelected ? "#F0F7FF" : "white",
176
+ color: i.isSelected ? "#0163C8" : o.color,
177
+ "&:hover": {
178
+ background: i.isDisabled ? "" : "#F0F7FF",
179
+ color: i.isDisabled ? "" : "#0163C8",
180
+ cursor: i.isDisabled ? "default" : ""
181
+ }
182
+ }),
183
+ group: (o) => ({
184
+ ...o,
185
+ padding: 0
186
+ }),
187
+ placeholder: (o) => ({
188
+ ...o,
189
+ fontSize: "12px",
190
+ lineHeight: "16px",
191
+ fontFamily: "Lato"
192
+ })
193
+ }, l = {
194
+ control: () => ({
195
+ display: "none"
196
+ }),
197
+ dropdownIndicator: (o) => ({ ...o, padding: "0px 8px" }),
198
+ menu: (o) => ({
199
+ ...o,
200
+ position: "static",
201
+ boxShadow: "none",
202
+ marginTop: "0px"
203
+ }),
204
+ option: (o, i) => ({
205
+ ...o,
206
+ fontSize: "14px",
207
+ lineHeight: "22px",
208
+ fontFamily: "Inter",
209
+ cursor: "pointer",
210
+ background: i.isSelected ? "#E1F5FE" : "white",
211
+ color: i.isSelected ? "#1565C0" : o.color,
212
+ "&:hover": {
213
+ background: i.isDisabled ? "" : "#E1F5FE",
214
+ color: i.isDisabled ? "" : "#1565C0",
215
+ cursor: i.isDisabled ? "default" : ""
216
+ }
217
+ }),
218
+ group: (o) => ({
219
+ ...o,
220
+ padding: 0
221
+ }),
222
+ placeholder: (o) => ({
223
+ ...o,
224
+ fontSize: "14px",
225
+ lineHeight: "22px",
226
+ fontFamily: "Inter"
227
+ })
228
+ }, p = {
229
+ control: () => ({
230
+ display: "none"
231
+ }),
232
+ dropdownIndicator: (o) => ({ ...o, padding: "0px 8px" }),
233
+ menu: (o) => ({
234
+ ...o,
235
+ position: "static",
236
+ boxShadow: "none",
237
+ marginTop: "0px",
238
+ borderRadius: "12px"
239
+ }),
240
+ menuList: (o) => ({
241
+ ...o,
242
+ borderRadius: "12px"
243
+ }),
244
+ option: (o, i) => ({
245
+ ...o,
246
+ fontSize: "14px",
247
+ lineHeight: "22px",
248
+ fontFamily: "PJakartaSans",
249
+ fontWeight: "500",
250
+ cursor: "pointer",
251
+ background: i.isSelected ? "#F0FEFD" : "white",
252
+ color: i.isSelected ? "#2F7E79" : o.color,
253
+ "&:hover": {
254
+ background: i.isDisabled ? "" : "#F0FEFD",
255
+ color: i.isDisabled ? "" : "#2F7E79",
256
+ cursor: i.isDisabled ? "default" : ""
257
+ }
258
+ }),
259
+ group: (o) => ({
260
+ ...o,
261
+ padding: 0
262
+ }),
263
+ placeholder: (o) => ({
264
+ ...o,
265
+ fontSize: "14px",
266
+ lineHeight: "22px",
267
+ fontFamily: "PJakartaSans"
268
+ })
269
+ };
270
+ export {
271
+ r as styleSelectDropdownContainerBill,
272
+ n as styleSelectDropdownContainerLaba,
273
+ p as styleSelectDropdownContainerNoSearchBill,
274
+ d as styleSelectDropdownContainerNoSearchLaba,
275
+ l as styleSelectDropdownContainerNoSearchPayhere,
276
+ e as styleSelectDropdownContainerPayhere
277
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("react/jsx-runtime"),o=require("react"),s=require("./itemSidebar.module.scss.cjs"),r=require("./ItemSidebar.config.cjs"),H=({as:I,show:h,open:t,patch:j,iconSubs:d,variant:c="payhere-brand-base-white",setShow:f,onClickItems:x,propsLink:g,...e})=>{var p,E,M,O,A,V,q,F;let b=i.jsx(i.Fragment,{});const N=I??"div",[y,a]=o.useState(!1),l=j===e.slug,$=h.split("/"),n=$.includes(e.name),S=()=>{if(e.subs.length>0)if(n){const m=$.splice(0,$.indexOf(e.name));m.length>0?f(`${m.join("/")}/`):f("")}else f(`${h}${e.name}/`);else typeof x=="function"&&x(e)};return e.isShow?([1,3,5,6,7,8].includes(e.parent)&&(b=i.jsxs(i.Fragment,{children:[i.jsxs(N,{id:e.name,className:`${s.default["item-sidebar-1"]}
2
+ ${(p=r.configItemSidebar.variant)==null?void 0:p[c]} ${(E=r.configItemSidebar.parent)==null?void 0:E[e.parent.toString()]}
3
+ ${l||e.subs.length>0&&n?s.default.active:""} ${typeof t=="boolean"&&t?s.default["item-sidebar-open"]:""} ${typeof t=="boolean"&&!t?s.default["item-sidebar-close"]:""}
4
+ `,onClick:S,onMouseOver:()=>a(!0),onMouseOut:()=>a(!1),...g?g(e.slug,e):{},children:[i.jsxs("div",{className:"iru-flex iru-items-center iru-gap-3 iru-relative",children:[o.isValidElement(e.svgIcon)&&i.jsx("div",{className:s.default["item-icon"],children:l||e.subs.length>0&&n?e==null?void 0:e.svgIconActive:y?(e==null?void 0:e.svgIconHover)||(e==null?void 0:e.svgIconActive):e==null?void 0:e.svgIcon}),i.jsx("div",{className:s.default["item-label"],children:e.label})]}),o.isValidElement(e.endIcon)&&i.jsx("div",{className:s.default["end-icon"],children:e==null?void 0:e.endIcon}),e.subs.length>0&&t&&i.jsxs("div",{className:`${s.default["item-icon-subs"]} ${n?s.default["item-icon-subs-active"]:""}`,id:`item-sidebar-subs-${e.name}-icon`,children:[o.isValidElement(d)&&d,typeof d=="function"&&d()]})]}),e.parent===3&&!e.subs.length&&i.jsx("div",{className:(M=r.configItemSidebar.divider)==null?void 0:M[c]})]})),(e.parent===2||e.parent===4)&&(b=i.jsxs(i.Fragment,{children:[i.jsxs(N,{id:e.name,className:`${s.default["item-sidebar-2"]}
5
+ ${(O=r.configItemSidebar.variant)==null?void 0:O[c]} ${(A=r.configItemSidebar.parent)==null?void 0:A[e.parent.toString()]}
6
+ ${l||e.subs.length>0&&n?s.default.active:""} ${typeof t=="boolean"&&t?s.default["item-sidebar-open"]:""} ${typeof t=="boolean"&&!t?s.default["item-sidebar-close"]:""}
7
+ `,onClick:S,onMouseOver:()=>a(!0),onMouseOut:()=>a(!1),...g?g(e.slug,e):{},children:[o.isValidElement(e.svgIcon)&&i.jsx("div",{className:s.default["item-icon"],children:l||e.subs.length>0&&n?e==null?void 0:e.svgIconActive:y?(e==null?void 0:e.svgIconHover)||(e==null?void 0:e.svgIconActive):e==null?void 0:e.svgIcon}),i.jsx("div",{className:s.default["item-label"],children:e.label}),e.subs.length>0&&t&&i.jsxs("div",{className:`${s.default["item-icon-subs"]} ${n?s.default["item-icon-subs-active"]:""}`,id:`item-sidebar-subs-${e.name}-icon`,children:[o.isValidElement(d)&&d,typeof d=="function"&&d()]})]}),e.parent===4&&!e.subs.length&&i.jsx("div",{className:(V=r.configItemSidebar.divider)==null?void 0:V[c]})]})),e.subs.length>0?i.jsxs("div",{className:`${t||n?"":"-mt-2"}`,children:[b,i.jsx("div",{id:`item-sidebar-subs-${e.name}-${t&&n?"open":"close"}`,className:`${s.default["item-subs-sidebar"]}
8
+ ${(q=r.configItemSidebar.variant)==null?void 0:q[c]} ${!t||!n?s.default.hidden:""}`,children:e.subs.map(m=>o.createElement(H,{...m,as:m.manualRoute?"div":m.subs.length>0?I:e.linkComponent,key:m.name,patch:j,iconSubs:d,show:h,open:t,variant:c,setShow:f}))}),[3,4].includes(e.parent)&&i.jsx("div",{className:(F=r.configItemSidebar.divider)==null?void 0:F[c]})]}):b):i.jsx(i.Fragment,{})};exports.default=H;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./itemSidebar.module.scss.cjs"),a={variant:{"payhere-brand-base-white":e.default["sidebar-payhere"],"payhere-brand-base-transparent":e.default["sidebar-payhere"],"payhere-brand-indigo-900-transparent":e.default["sidebar-payhere-indigo-800"],"payhere-brand-blue-gray-900-transparent":e.default["sidebar-payhere-blue-gray-800"],"laba-white":e.default["sidebar-laba"],"lpd-brand-base-white":e.default["sidebar-lpd"],"lpd-brand-base-transparent":e.default["sidebar-lpd"],"lpd-brand-base-white-responsive":e.default["sidebar-lpd"],"lpd-brand-base-transparent-responsive":e.default["sidebar-lpd"],"bill-brand-base":e.default["sidebar-bill"],"bill-brand-base-responsive":e.default["sidebar-bill"]},parent:{1:e.default["parent-sidebar-1"],2:e.default["parent-sidebar-2"],3:e.default["parent-sidebar-3"],4:e.default["parent-sidebar-4"],5:e.default["parent-sidebar-5"],6:e.default["parent-sidebar-6"],7:e.default["parent-sidebar-7"],8:e.default["parent-sidebar-8"]},divider:{"payhere-brand-base-white":e.default["divider-item-sidebar-payhere"],"payhere-brand-base-transparent":e.default["divider-item-sidebar-payhere"],"payhere-brand-indigo-900-transparent":e.default["divider-item-sidebar-payhere"],"payhere-brand-blue-gray-900-transparent":e.default["divider-item-sidebar-payhere"],"laba-white":e.default["divider-item-sidebar-laba"],"lpd-brand-base-white":e.default["divider-item-sidebar-lpd"],"lpd-brand-base-transparent":e.default["divider-item-sidebar-lpd"],"lpd-brand-base-white-responsive":e.default["divider-item-sidebar-lpd"],"lpd-brand-base-transparent-responsive":e.default["divider-item-sidebar-lpd"],"bill-brand-base":e.default["divider-item-sidebar-bill"],"bill-brand-base-responsive":e.default["divider-item-sidebar-bill"]}};exports.configItemSidebar=a;
@@ -0,0 +1,42 @@
1
+ import e from "./itemSidebar.module.scss.mjs";
2
+ const r = {
3
+ variant: {
4
+ "payhere-brand-base-white": e["sidebar-payhere"],
5
+ "payhere-brand-base-transparent": e["sidebar-payhere"],
6
+ "payhere-brand-indigo-900-transparent": e["sidebar-payhere-indigo-800"],
7
+ "payhere-brand-blue-gray-900-transparent": e["sidebar-payhere-blue-gray-800"],
8
+ "laba-white": e["sidebar-laba"],
9
+ "lpd-brand-base-white": e["sidebar-lpd"],
10
+ "lpd-brand-base-transparent": e["sidebar-lpd"],
11
+ "lpd-brand-base-white-responsive": e["sidebar-lpd"],
12
+ "lpd-brand-base-transparent-responsive": e["sidebar-lpd"],
13
+ "bill-brand-base": e["sidebar-bill"],
14
+ "bill-brand-base-responsive": e["sidebar-bill"]
15
+ },
16
+ parent: {
17
+ 1: e["parent-sidebar-1"],
18
+ 2: e["parent-sidebar-2"],
19
+ 3: e["parent-sidebar-3"],
20
+ 4: e["parent-sidebar-4"],
21
+ 5: e["parent-sidebar-5"],
22
+ 6: e["parent-sidebar-6"],
23
+ 7: e["parent-sidebar-7"],
24
+ 8: e["parent-sidebar-8"]
25
+ },
26
+ divider: {
27
+ "payhere-brand-base-white": e["divider-item-sidebar-payhere"],
28
+ "payhere-brand-base-transparent": e["divider-item-sidebar-payhere"],
29
+ "payhere-brand-indigo-900-transparent": e["divider-item-sidebar-payhere"],
30
+ "payhere-brand-blue-gray-900-transparent": e["divider-item-sidebar-payhere"],
31
+ "laba-white": e["divider-item-sidebar-laba"],
32
+ "lpd-brand-base-white": e["divider-item-sidebar-lpd"],
33
+ "lpd-brand-base-transparent": e["divider-item-sidebar-lpd"],
34
+ "lpd-brand-base-white-responsive": e["divider-item-sidebar-lpd"],
35
+ "lpd-brand-base-transparent-responsive": e["divider-item-sidebar-lpd"],
36
+ "bill-brand-base": e["divider-item-sidebar-bill"],
37
+ "bill-brand-base-responsive": e["divider-item-sidebar-bill"]
38
+ }
39
+ };
40
+ export {
41
+ r as configItemSidebar
42
+ };