1mpacto-react-ui 2.0.16 → 2.0.18

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 (312) 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/src/components/Chart/PieChart.d.ts +3 -0
  300. package/dist/src/components/Chart/PieChart.stories.d.ts +147 -0
  301. package/dist/src/interfaces/components/Chart/index.d.ts +203 -0
  302. package/dist/utils/axiosBigNumber.cjs +1 -0
  303. package/dist/utils/axiosBigNumber.mjs +32 -0
  304. package/dist/utils/common.cjs +1 -0
  305. package/dist/utils/common.mjs +264 -0
  306. package/dist/utils/cookies.cjs +1 -0
  307. package/dist/utils/cookies.mjs +48 -0
  308. package/dist/utils/formatBigNumber.cjs +1 -0
  309. package/dist/utils/formatBigNumber.mjs +39 -0
  310. package/dist/utils/yup.cjs +1 -0
  311. package/dist/utils/yup.mjs +78 -0
  312. package/package.json +3 -2
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_input_19hx0_12",_="_label_19hx0_39",t="_error_19hx0_59",n={"container-large":"_container-large_19hx0_1","container-input":"_container-input_19hx0_6",input:e,label:_,error:t,"isset-right-icon":"_isset-right-icon_19hx0_82","isset-left-icon":"_isset-left-icon_19hx0_85","start-icon":"_start-icon_19hx0_88","end-icon":"_end-icon_19hx0_95","label-error":"_label-error_19hx0_102","hidden-label":"_hidden-label_19hx0_113","container-small":"_container-small_19hx0_229"};exports.default=n;exports.error=t;exports.input=e;exports.label=_;
@@ -0,0 +1,20 @@
1
+ const _ = "_input_19hx0_12", e = "_label_19hx0_39", n = "_error_19hx0_59", t = {
2
+ "container-large": "_container-large_19hx0_1",
3
+ "container-input": "_container-input_19hx0_6",
4
+ input: _,
5
+ label: e,
6
+ error: n,
7
+ "isset-right-icon": "_isset-right-icon_19hx0_82",
8
+ "isset-left-icon": "_isset-left-icon_19hx0_85",
9
+ "start-icon": "_start-icon_19hx0_88",
10
+ "end-icon": "_end-icon_19hx0_95",
11
+ "label-error": "_label-error_19hx0_102",
12
+ "hidden-label": "_hidden-label_19hx0_113",
13
+ "container-small": "_container-small_19hx0_229"
14
+ };
15
+ export {
16
+ t as default,
17
+ n as error,
18
+ _ as input,
19
+ e as label
20
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime"),l=require("react"),e=require("./InputNative.module.scss.cjs"),x=require("./InputNative.config.cjs"),n=l.forwardRef(({name:d,classNameContainer:c,id:f,type:o="text",startIcon:i,endIcon:t,error:a,sizeInput:r="xs",classNameLabelError:m,className:p,...u},N)=>{const v=()=>typeof i=="function"||l.isValidElement(i),$=()=>typeof t=="function"||l.isValidElement(t);return s.jsxs("div",{className:`${x.configInputNative.size[r]} ${c}`,children:[s.jsxs("div",{className:`${e.default["container-input"]}`,children:[s.jsxs("div",{className:e.default["start-icon"],children:[typeof i=="function"&&i(),l.isValidElement(i)&&i]}),s.jsx("input",{id:f??d,className:`${e.default.input} ${a?e.default.error:""}
2
+ ${v()?e.default["isset-left-icon"]:""}
3
+ ${$()?e.default["isset-right-icon"]:""}
4
+ ${p??""}`,ref:N,type:o,...u}),s.jsxs("div",{className:e.default["end-icon"],children:[typeof t=="function"&&t(),l.isValidElement(t)&&t]})]}),a&&s.jsx("label",{className:`${e.default["label-error"]}
5
+ ${u.disabled?e.default.disabled:""} ${m??""}`,children:a})]})});n.displayName="InputNative";exports.default=n;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./InputNative.module.scss.cjs"),t={size:{l:e.default["container-l"],s:e.default["container-s"],xs:e.default["container-xs"]}};exports.configInputNative=t;
@@ -0,0 +1,11 @@
1
+ import n from "./InputNative.module.scss.mjs";
2
+ const o = {
3
+ size: {
4
+ l: n["container-l"],
5
+ s: n["container-s"],
6
+ xs: n["container-xs"]
7
+ }
8
+ };
9
+ export {
10
+ o as configInputNative
11
+ };
@@ -0,0 +1,58 @@
1
+ import { jsxs as l, jsx as m } from "react/jsx-runtime";
2
+ import s from "react";
3
+ import i from "./InputNative.module.scss.mjs";
4
+ import { configInputNative as y } from "./InputNative.config.mjs";
5
+ const h = s.forwardRef(
6
+ ({
7
+ name: d,
8
+ classNameContainer: c,
9
+ id: f,
10
+ type: o = "text",
11
+ startIcon: e,
12
+ endIcon: t,
13
+ error: a,
14
+ sizeInput: p = "xs",
15
+ classNameLabelError: r,
16
+ className: u,
17
+ ...n
18
+ }, $) => {
19
+ const N = () => typeof e == "function" || s.isValidElement(e), v = () => typeof t == "function" || s.isValidElement(t);
20
+ return /* @__PURE__ */ l("div", { className: `${y.size[p]} ${c}`, children: [
21
+ /* @__PURE__ */ l("div", { className: `${i["container-input"]}`, children: [
22
+ /* @__PURE__ */ l("div", { className: i["start-icon"], children: [
23
+ typeof e == "function" && e(),
24
+ s.isValidElement(e) && e
25
+ ] }),
26
+ /* @__PURE__ */ m(
27
+ "input",
28
+ {
29
+ id: f ?? d,
30
+ className: `${i.input} ${a ? i.error : ""}
31
+ ${N() ? i["isset-left-icon"] : ""}
32
+ ${v() ? i["isset-right-icon"] : ""}
33
+ ${u ?? ""}`,
34
+ ref: $,
35
+ type: o,
36
+ ...n
37
+ }
38
+ ),
39
+ /* @__PURE__ */ l("div", { className: i["end-icon"], children: [
40
+ typeof t == "function" && t(),
41
+ s.isValidElement(t) && t
42
+ ] })
43
+ ] }),
44
+ a && /* @__PURE__ */ m(
45
+ "label",
46
+ {
47
+ className: `${i["label-error"]}
48
+ ${n.disabled ? i.disabled : ""} ${r ?? ""}`,
49
+ children: a
50
+ }
51
+ )
52
+ ] });
53
+ }
54
+ );
55
+ h.displayName = "InputNative";
56
+ export {
57
+ h as default
58
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="_input_1t291_12",e="_error_1t291_57",n={"container-xs":"_container-xs_1t291_1","container-input":"_container-input_1t291_6",input:t,error:e,"isset-right-icon":"_isset-right-icon_1t291_66","isset-left-icon":"_isset-left-icon_1t291_70","start-icon":"_start-icon_1t291_74","end-icon":"_end-icon_1t291_81","label-error":"_label-error_1t291_88","container-s":"_container-s_1t291_100","container-l":"_container-l_1t291_199"};exports.default=n;exports.error=e;exports.input=t;
@@ -0,0 +1,18 @@
1
+ const t = "_input_1t291_12", n = "_error_1t291_57", _ = {
2
+ "container-xs": "_container-xs_1t291_1",
3
+ "container-input": "_container-input_1t291_6",
4
+ input: t,
5
+ error: n,
6
+ "isset-right-icon": "_isset-right-icon_1t291_66",
7
+ "isset-left-icon": "_isset-left-icon_1t291_70",
8
+ "start-icon": "_start-icon_1t291_74",
9
+ "end-icon": "_end-icon_1t291_81",
10
+ "label-error": "_label-error_1t291_88",
11
+ "container-s": "_container-s_1t291_100",
12
+ "container-l": "_container-l_1t291_199"
13
+ };
14
+ export {
15
+ _ as default,
16
+ n as error,
17
+ t as input
18
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l=require("react/jsx-runtime"),t=require("react"),e=require("./InputReguler.module.scss.cjs"),v=require("./InputReguler.config.cjs"),u=t.forwardRef((f,m)=>{const{isRequired:p,classNameContainer:b,className:N,classNameLabel:$,classNameLabelError:x,name:d,id:c,label:o,type:h="text",startIcon:s,endIcon:a,error:i,sizeInput:j="large",contentLabel:n,classNameLabelContainer:g,...r}=f,I=()=>typeof s=="function"||t.isValidElement(s),R=()=>typeof a=="function"||t.isValidElement(a);return l.jsxs("div",{className:`${v.configInputReguler.size[j]} ${b??""}`,children:[l.jsxs("div",{className:`${e.default["label-container"]} ${g??""}`,children:[o&&l.jsxs("label",{htmlFor:c??d,className:`${e.default.label} ${r.disabled?e.default.disabled:""} ${$??""}`,children:[o," ",p&&l.jsx("span",{className:"iru-text-laba-red-08",children:"*"})]}),n&&l.jsxs("div",{className:e.default["content-label"],children:[typeof n=="function"&&n(),t.isValidElement(n)&&n]})]}),l.jsxs("div",{className:`${e.default["container-input"]}`,children:[l.jsxs("div",{className:e.default["start-icon"],children:[typeof s=="function"&&s(),t.isValidElement(s)&&s]}),l.jsx("input",{id:c??d,className:`${e.default.input} ${i?e.default.error:""}
2
+ ${I()?e.default["isset-left-icon"]:""}
3
+ ${R()?e.default["isset-right-icon"]:""}
4
+ ${N??""}`,ref:m,type:h,...r}),l.jsxs("div",{className:e.default["end-icon"],children:[typeof a=="function"&&a(),t.isValidElement(a)&&a]})]}),i&&l.jsx("label",{className:`${e.default["label-error"]}
5
+ ${r.disabled?e.default.disabled:""} ${x??""}`,children:i})]})});u.displayName="InputReguler";exports.default=u;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./InputReguler.module.scss.cjs"),t={size:{large:e.default["container-large"],medium:e.default["container-medium"],small:e.default["container-small"]}};exports.configInputReguler=t;
@@ -0,0 +1,11 @@
1
+ import e from "./InputReguler.module.scss.mjs";
2
+ const r = {
3
+ size: {
4
+ large: e["container-large"],
5
+ medium: e["container-medium"],
6
+ small: e["container-small"]
7
+ }
8
+ };
9
+ export {
10
+ r as configInputReguler
11
+ };
@@ -0,0 +1,79 @@
1
+ import { jsxs as a, jsx as c } from "react/jsx-runtime";
2
+ import { forwardRef as R, isValidElement as t } from "react";
3
+ import e from "./InputReguler.module.scss.mjs";
4
+ import { configInputReguler as L } from "./InputReguler.config.mjs";
5
+ const E = R((p, f) => {
6
+ const {
7
+ isRequired: u,
8
+ classNameContainer: b,
9
+ className: N,
10
+ classNameLabel: $,
11
+ classNameLabelError: h,
12
+ name: o,
13
+ id: d,
14
+ label: m,
15
+ type: y = "text",
16
+ startIcon: s,
17
+ endIcon: l,
18
+ error: i,
19
+ sizeInput: I = "large",
20
+ contentLabel: n,
21
+ classNameLabelContainer: g,
22
+ ...r
23
+ } = p, v = () => typeof s == "function" || t(s), x = () => typeof l == "function" || t(l);
24
+ return /* @__PURE__ */ a("div", { className: `${L.size[I]} ${b ?? ""}`, children: [
25
+ /* @__PURE__ */ a("div", { className: `${e["label-container"]} ${g ?? ""}`, children: [
26
+ m && /* @__PURE__ */ a(
27
+ "label",
28
+ {
29
+ htmlFor: d ?? o,
30
+ className: `${e.label} ${r.disabled ? e.disabled : ""} ${$ ?? ""}`,
31
+ children: [
32
+ m,
33
+ " ",
34
+ u && /* @__PURE__ */ c("span", { className: "iru-text-laba-red-08", children: "*" })
35
+ ]
36
+ }
37
+ ),
38
+ n && /* @__PURE__ */ a("div", { className: e["content-label"], children: [
39
+ typeof n == "function" && n(),
40
+ t(n) && n
41
+ ] })
42
+ ] }),
43
+ /* @__PURE__ */ a("div", { className: `${e["container-input"]}`, children: [
44
+ /* @__PURE__ */ a("div", { className: e["start-icon"], children: [
45
+ typeof s == "function" && s(),
46
+ t(s) && s
47
+ ] }),
48
+ /* @__PURE__ */ c(
49
+ "input",
50
+ {
51
+ id: d ?? o,
52
+ className: `${e.input} ${i ? e.error : ""}
53
+ ${v() ? e["isset-left-icon"] : ""}
54
+ ${x() ? e["isset-right-icon"] : ""}
55
+ ${N ?? ""}`,
56
+ ref: f,
57
+ type: y,
58
+ ...r
59
+ }
60
+ ),
61
+ /* @__PURE__ */ a("div", { className: e["end-icon"], children: [
62
+ typeof l == "function" && l(),
63
+ t(l) && l
64
+ ] })
65
+ ] }),
66
+ i && /* @__PURE__ */ c(
67
+ "label",
68
+ {
69
+ className: `${e["label-error"]}
70
+ ${r.disabled ? e.disabled : ""} ${h ?? ""}`,
71
+ children: i
72
+ }
73
+ )
74
+ ] });
75
+ });
76
+ E.displayName = "InputReguler";
77
+ export {
78
+ E as default
79
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="_label_1qpwf_6",n="_disabled_1qpwf_26",_="_input_1qpwf_39",t="_error_1qpwf_93",i={"container-large":"_container-large_1qpwf_1","label-container":"_label-container_1qpwf_6",label:e,disabled:n,"content-label":"_content-label_1qpwf_29","container-input":"_container-input_1qpwf_33",input:_,error:t,"isset-right-icon":"_isset-right-icon_1qpwf_102","isset-left-icon":"_isset-left-icon_1qpwf_106","start-icon":"_start-icon_1qpwf_110","end-icon":"_end-icon_1qpwf_117","label-error":"_label-error_1qpwf_124","container-medium":"_container-medium_1qpwf_139","container-small":"_container-small_1qpwf_277"};exports.default=i;exports.disabled=n;exports.error=t;exports.input=_;exports.label=e;
@@ -0,0 +1,24 @@
1
+ const _ = "_label_1qpwf_6", e = "_disabled_1qpwf_26", n = "_input_1qpwf_39", t = "_error_1qpwf_93", i = {
2
+ "container-large": "_container-large_1qpwf_1",
3
+ "label-container": "_label-container_1qpwf_6",
4
+ label: _,
5
+ disabled: e,
6
+ "content-label": "_content-label_1qpwf_29",
7
+ "container-input": "_container-input_1qpwf_33",
8
+ input: n,
9
+ error: t,
10
+ "isset-right-icon": "_isset-right-icon_1qpwf_102",
11
+ "isset-left-icon": "_isset-left-icon_1qpwf_106",
12
+ "start-icon": "_start-icon_1qpwf_110",
13
+ "end-icon": "_end-icon_1qpwf_117",
14
+ "label-error": "_label-error_1qpwf_124",
15
+ "container-medium": "_container-medium_1qpwf_139",
16
+ "container-small": "_container-small_1qpwf_277"
17
+ };
18
+ export {
19
+ i as default,
20
+ e as disabled,
21
+ t as error,
22
+ n as input,
23
+ _ as label
24
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("react/jsx-runtime"),y=require("react-dom"),t=require("./style.module.scss.cjs"),j=require("./ModalDialog.config.cjs"),v=({as:r,children:n,id:d="modal",idModal:o="1ru-modal",withOverlay:u=!0,show:l,size:c="regular",className:i,classNameContainer:s,onClose:a,...m})=>{const g=r??"div",f=()=>{typeof a=="function"&&a()};return e.jsx(e.Fragment,{children:l&&document.getElementById(o)&&y.createPortal(e.jsx("div",{id:d,onClick:f,className:`${t.default.modal} ${u?t.default["with-overlay"]:""} ${l?t.default["modal-show"]:""} ${s??""}`,children:e.jsx(g,{onClick:$=>$.stopPropagation(),className:`${t.default["modal-content"]} ${j.configModal.size[c]} ${i??""}`,...m,children:n})}),document.getElementById(o))})};exports.default=v;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./style.module.scss.cjs"),e={size:{small:l.default["modal-small"],medium:l.default["modal-medium"],regular:l.default["modal-regular"],large:l.default["modal-large"]}};exports.configModal=e;
@@ -0,0 +1,12 @@
1
+ import l from "./style.module.scss.mjs";
2
+ const a = {
3
+ size: {
4
+ small: l["modal-small"],
5
+ medium: l["modal-medium"],
6
+ regular: l["modal-regular"],
7
+ large: l["modal-large"]
8
+ }
9
+ };
10
+ export {
11
+ a as configModal
12
+ };
@@ -0,0 +1,44 @@
1
+ import { jsx as t, Fragment as $ } from "react/jsx-runtime";
2
+ import { createPortal as y } from "react-dom";
3
+ import o from "./style.module.scss.mjs";
4
+ import { configModal as h } from "./ModalDialog.config.mjs";
5
+ const C = ({
6
+ as: l,
7
+ children: m,
8
+ id: n = "modal",
9
+ idModal: e = "1ru-modal",
10
+ withOverlay: i = !0,
11
+ show: r,
12
+ size: c = "regular",
13
+ className: d,
14
+ classNameContainer: s,
15
+ onClose: a,
16
+ ...f
17
+ }) => {
18
+ const g = l ?? "div", p = () => {
19
+ typeof a == "function" && a();
20
+ };
21
+ return /* @__PURE__ */ t($, { children: r && document.getElementById(e) && y(
22
+ /* @__PURE__ */ t(
23
+ "div",
24
+ {
25
+ id: n,
26
+ onClick: p,
27
+ className: `${o.modal} ${i ? o["with-overlay"] : ""} ${r ? o["modal-show"] : ""} ${s ?? ""}`,
28
+ children: /* @__PURE__ */ t(
29
+ g,
30
+ {
31
+ onClick: (u) => u.stopPropagation(),
32
+ className: `${o["modal-content"]} ${h.size[c]} ${d ?? ""}`,
33
+ ...f,
34
+ children: m
35
+ }
36
+ )
37
+ }
38
+ ),
39
+ document.getElementById(e)
40
+ ) });
41
+ };
42
+ export {
43
+ C as default
44
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="_modal_12o7y_1",l={modal:o,"modal-content":"_modal-content_12o7y_1","with-overlay":"_with-overlay_12o7y_23","modal-small":"_modal-small_12o7y_40","modal-medium":"_modal-medium_12o7y_44","modal-regular":"_modal-regular_12o7y_48","modal-large":"_modal-large_12o7y_52","modal-show":"_modal-show_12o7y_56"};exports.default=l;exports.modal=o;
@@ -0,0 +1,14 @@
1
+ const o = "_modal_12o7y_1", l = {
2
+ modal: o,
3
+ "modal-content": "_modal-content_12o7y_1",
4
+ "with-overlay": "_with-overlay_12o7y_23",
5
+ "modal-small": "_modal-small_12o7y_40",
6
+ "modal-medium": "_modal-medium_12o7y_44",
7
+ "modal-regular": "_modal-regular_12o7y_48",
8
+ "modal-large": "_modal-large_12o7y_52",
9
+ "modal-show": "_modal-show_12o7y_56"
10
+ };
11
+ export {
12
+ l as default,
13
+ o as modal
14
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const f=require("react/jsx-runtime"),n=require("react-number-format"),a=require("../../config/bigNumber/index.cjs"),s=require("../../utils/common.cjs"),d=({max:r,min:u,selectedText:l="Rp0",onChange:e,onFocusInput:o,...c})=>f.jsx(n.NumericFormat,{isAllowed:t=>r!==void 0&&s.isAccurateBigNumber(r)&&a.BigNumber(t.value).isGreaterThan(r)?(typeof e=="function"&&e({target:{value:a.BigNumber(r).toString()}}),!1):u!==void 0&&s.isAccurateBigNumber(u)&&a.BigNumber(t.value).isLessThan(u)?(typeof e=="function"&&e({target:{value:a.BigNumber(u).toString()}}),!1):!0,onValueChange:(t,{source:i})=>{typeof e=="function"&&i.includes("event")&&e({target:{value:t.value}})},decimalSeparator:",",thousandSeparator:".",decimalScale:2,valueIsNumericString:!0,thousandsGroupStyle:"thousand",onFocus:t=>{var i;((i=t==null?void 0:t.target)==null?void 0:i.value)===l&&(typeof o=="function"?o(""):typeof e=="function"&&e({target:{value:""}}))},...c});exports.default=d;
@@ -0,0 +1,33 @@
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import { NumericFormat as p } from "react-number-format";
3
+ import { BigNumber as a } from "../../config/bigNumber/index.mjs";
4
+ import { isAccurateBigNumber as f } from "../../utils/common.mjs";
5
+ const S = ({
6
+ max: r,
7
+ min: u,
8
+ selectedText: l = "Rp0",
9
+ onChange: t,
10
+ onFocusInput: o,
11
+ ...s
12
+ }) => /* @__PURE__ */ c(
13
+ p,
14
+ {
15
+ isAllowed: (e) => r !== void 0 && f(r) && a(e.value).isGreaterThan(r) ? (typeof t == "function" && t({ target: { value: a(r).toString() } }), !1) : u !== void 0 && f(u) && a(e.value).isLessThan(u) ? (typeof t == "function" && t({ target: { value: a(u).toString() } }), !1) : !0,
16
+ onValueChange: (e, { source: i }) => {
17
+ typeof t == "function" && i.includes("event") && t({ target: { value: e.value } });
18
+ },
19
+ decimalSeparator: ",",
20
+ thousandSeparator: ".",
21
+ decimalScale: 2,
22
+ valueIsNumericString: !0,
23
+ thousandsGroupStyle: "thousand",
24
+ onFocus: (e) => {
25
+ var i;
26
+ ((i = e == null ? void 0 : e.target) == null ? void 0 : i.value) === l && (typeof o == "function" ? o("") : typeof t == "function" && t({ target: { value: "" } }));
27
+ },
28
+ ...s
29
+ }
30
+ );
31
+ export {
32
+ S as default
33
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react/jsx-runtime"),l=require("react"),r=require("./style.module.scss.cjs"),m=require("../../utils/common.cjs"),G=require("../Calendar/CalendarYear.cjs"),W=require("../Popover/Popover.cjs"),X=require("../Button/Button.cjs"),q=require("./Pagination.config.cjs"),x=(t,s)=>{const u=s-t+1;return Array.from({length:u},(a,N)=>N+t)},k={"en-US":{"Rows per page:":"Rows per page:",of:"of","Go to:":"Go to:"},"id-ID":{"Rows per page:":"Baris per halaman:",of:"dari","Go to:":"Go to:"},"zh-CN":{"Rows per page:":"每页行数:",of:"共","Go to:":"跳至:"},"nl-NL":{"Rows per page:":"Rijen per pagina:",of:"van","Go to:":"Ga naar:"}},Z=({totalData:t,totalPage:s,pageNumber:u,pageSize:a,className:N,id:d="1ru-pagination",kind:E="box",prevIcon:g,nextIcon:p,onChange:j,optionPageSize:I=[25,50,75,100],offset:L=1.5,zIndex:O,withGotoPage:A=!1,withMorePage:M=!0,withOptionPageSize:F=!1,locale:$="id-ID",fonts:S="inter"})=>{const w=l.useRef(null),[i,C]=l.useState(u),[T,y]=l.useState(u.toString()),f=1,U=(i-1)*a+1,_=a*i,Y=t?`${m.formatNumber(U,"decimal")}-${_>=t?m.formatNumber(t,"decimal"):m.formatNumber(_,"decimal")}`:0,H=l.useMemo(()=>{const e=Math.ceil(t/a);if(f+5>=e)return x(1,e);const c=Math.max(i-f,1),B=Math.min(i+f,e),R=c>2,P=B<e-2,V=1,Q=e;if(!R&&P){const b=3+2*f;return[...x(1,b),"mr",e]}if(R&&!P){const b=3+2*f,v=x(e-b+1,e);return[V,"ml",...v]}if(R&&P){const b=x(c,B);return[V,"ml",...b,"mr",Q]}},[t,a,f,i]),h=e=>{typeof j=="function"&&(j(e),C(e.pageNumber),y(e.pageNumber.toString()))},J=e=>{if(typeof j=="function"&&M){if(e==="ml"){const c=i-5;C(c<1?1:i-5)}else if(e==="mr"){const c=i+5;C(c>s?s:i+5)}}},K=e=>{y(e);const o=Number(e);o>0&&o<=s&&h({pageSize:a,totalData:t,totalPage:s,pageNumber:o})};return n.jsxs(n.Fragment,{children:[n.jsxs("div",{id:d,className:`${q.configPagination.kind[E]} ${q.configPagination.fonts[S].value} ${N}`,children:[n.jsxs("div",{className:r.default["pagination-size"],children:[n.jsx("span",{children:k[$]["Rows per page:"]}),F&&n.jsx(X.default,{id:`${d}-option-size`,variants:"ghost-blue-gray-100-bg_white",size:"xs",endIcon:n.jsx(G.ChevronDownIcon,{className:"!iru-text-gray-500 !iru-w-[14px] !iru-h-[14px] iru-mx-0.5"}),className:"!iru-rounded-md !iru-min-w-[60px] iru-justify-between",onClick:e=>{var o;return(o=w.current)==null?void 0:o.handlerShow(e)},children:m.formatNumber(a,"decimal")}),n.jsxs("span",{children:[Y," ",k[$].of," ",m.formatNumber(t,"decimal")]})]}),n.jsxs("div",{className:r.default["navigation-container"],children:[n.jsx("button",{id:`${d}-button-prev`,className:`${r.default["button-prev"]}`,disabled:i===1,onClick:()=>h({pageSize:a,totalData:t,totalPage:s,pageNumber:u-1}),children:typeof g=="function"||l.isValidElement(g)?l.isValidElement(g)?g:g():n.jsx(G.ChevronDownIcon,{className:"iru-rotate-90 !iru-text-gray-500 !iru-w-[14px] !iru-h-[14px]"})}),(H??[]).map((e,o)=>{if(typeof e!="number"){const c=["ml","mr"].includes(e);return n.jsx("button",{className:r.default["button-container"],disabled:!M,onClick:()=>J(e),children:c?"...":e},o)}return n.jsx("button",{id:`${d}-button-${e}`,className:`${e===u?r.default["pagination-active"]:""} ${r.default["button-container"]}
2
+ ${q.configPagination.fonts[S].typographyButtonLabel}`,disabled:e===u,onClick:()=>h({pageSize:a,totalData:t,totalPage:s,pageNumber:e}),children:m.formatNumber(e,"decimal")},o)}),n.jsx("button",{id:`${d}-button-next`,className:`${r.default["button-next"]}`,disabled:i===s||!s,onClick:()=>h({pageSize:a,totalData:t,totalPage:s,pageNumber:u+1}),children:typeof p=="function"||l.isValidElement(p)?l.isValidElement(p)?p:p():n.jsx(G.ChevronDownIcon,{className:"-iru-rotate-90 !iru-text-gray-500 !iru-w-[14px] !iru-h-[14px]"})}),A&&n.jsxs("div",{className:r.default["goto-page"],children:[n.jsx("span",{children:k[$]["Go to:"]}),n.jsx("input",{id:`${d}-goto-page`,type:"number",className:r.default["goto-page-input"],value:T,onChange:e=>K(e.target.value),onBlur:()=>y(i.toString())})]})]})]}),n.jsx(W.default,{floatingOptions:{placement:"bottom-end"},ref:w,className:r.default["options-size"],offset:L,zIndex:O,id:`${d}-popover-options-size`,children:I.map((e,o)=>n.jsx("p",{id:`${d}-option-size-${e}`,className:`${r.default.option} ${e===a?r.default.active:""}`,onClick:()=>{var c;h({totalData:t,totalPage:s,pageSize:e,pageNumber:1}),(c=w.current)==null||c.setShow(!1)},children:m.formatNumber(e,"decimal")},o))})]})};exports.default=Z;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../config/components/font.cjs"),a=require("./style.module.scss.cjs"),o={kind:{box:a.default["pagination-box"],nude:a.default["pagination-nude"]},fonts:{inter:{value:t.configFont.inter,typographyButtonLabel:"iru-text-payhere-body-sr"},lato:{value:t.configFont.lato,typographyButtonLabel:"iru-text-payhere-body-sr"},pJakartaSans:{value:t.configFont.pJakartaSans,typographyButtonLabel:"iru-text-bill-label-r"}}};exports.configPagination=o;
@@ -0,0 +1,25 @@
1
+ import { configFont as t } from "../../config/components/font.mjs";
2
+ import a from "./style.module.scss.mjs";
3
+ const e = {
4
+ kind: {
5
+ box: a["pagination-box"],
6
+ nude: a["pagination-nude"]
7
+ },
8
+ fonts: {
9
+ inter: {
10
+ value: t.inter,
11
+ typographyButtonLabel: "iru-text-payhere-body-sr"
12
+ },
13
+ lato: {
14
+ value: t.lato,
15
+ typographyButtonLabel: "iru-text-payhere-body-sr"
16
+ },
17
+ pJakartaSans: {
18
+ value: t.pJakartaSans,
19
+ typographyButtonLabel: "iru-text-bill-label-r"
20
+ }
21
+ }
22
+ };
23
+ export {
24
+ e as configPagination
25
+ };