@inceptionbg/iui 2.0.4 → 2.0.6

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 (257) hide show
  1. package/dist/{NoAccessPage-BllwaG2u.js → NoAccessPage-C6nBt-PN.js} +2 -2
  2. package/dist/{NoAccessPage-BllwaG2u.js.map → NoAccessPage-C6nBt-PN.js.map} +1 -1
  3. package/dist/{NotFoundPage-DVm00-sr.js → NotFoundPage-DatmJOrr.js} +2 -2
  4. package/dist/{NotFoundPage-DVm00-sr.js.map → NotFoundPage-DatmJOrr.js.map} +1 -1
  5. package/dist/icons/index.d.ts +43 -0
  6. package/dist/icons/index.js +1 -0
  7. package/dist/index.d.ts +57 -49
  8. package/dist/index.js +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/iui.css +1 -1
  11. package/idea/Menu/Menu.tsx +119 -0
  12. package/idea/Menu/MenuItem.tsx +74 -0
  13. package/idea/Menu/hooks/useMenuControl.ts +13 -0
  14. package/idea/Menu.tsx +132 -0
  15. package/idea/NoAccessInfo.tsx +193 -0
  16. package/idea/Notifications.tsx +245 -0
  17. package/idea/Table2/Components/Columns/ColumnsList.tsx +56 -0
  18. package/idea/Table2/Components/Columns/SetColumnsList.tsx +107 -0
  19. package/idea/Table2/Components/Edit/ItemActionsMenu.tsx +87 -0
  20. package/idea/Table2/Components/Edit/ItemEditOptionsButtons.tsx +32 -0
  21. package/idea/Table2/Components/Edit/TableEditRow.tsx +56 -0
  22. package/idea/Table2/Components/FilterItem.tsx +20 -0
  23. package/idea/Table2/Components/Header/TableHeader.tsx +35 -0
  24. package/idea/Table2/Components/Header/TableHeaderRow.tsx +37 -0
  25. package/idea/Table2/Components/Print/CustomTablePrint.tsx +119 -0
  26. package/idea/Table2/Components/Print/TablePrint.tsx +208 -0
  27. package/idea/Table2/Components/SetSortList.tsx +33 -0
  28. package/idea/Table2/Components/SetTableFilter.tsx +90 -0
  29. package/idea/Table2/Components/TableFooter.tsx +107 -0
  30. package/idea/Table2/Components/TableOptions.tsx +211 -0
  31. package/idea/Table2/Components/Templates/TemplateCreate.tsx +75 -0
  32. package/idea/Table2/Components/Templates/TemplateCreateDefault.tsx +45 -0
  33. package/idea/Table2/Components/Templates/TemplateList.tsx +167 -0
  34. package/idea/Table2/Components/Templates/repo/TemplateRepo.ts +51 -0
  35. package/idea/Table2/Table.tsx +657 -0
  36. package/idea/Table2/_table.scss +300 -0
  37. package/idea/Table2/hooks/useDefaultTemplate.ts +22 -0
  38. package/idea/Table2/hooks/useTableKeyboard.ts +115 -0
  39. package/package.json +15 -11
  40. package/rollup.config.js +80 -0
  41. package/src/assets/icons/duotone/faCircleUser.ts +17 -0
  42. package/src/assets/icons/index.ts +20 -0
  43. package/src/assets/icons/light/faArrowDownShortWide.ts +15 -0
  44. package/src/assets/icons/light/faArrowDownWideShort.ts +15 -0
  45. package/src/assets/icons/light/faArrowUpArrowDown.ts +15 -0
  46. package/src/assets/icons/light/faArrowUpRightFromSquare.ts +15 -0
  47. package/src/assets/icons/light/faArrowsToLine.ts +15 -0
  48. package/src/assets/icons/light/faArrowsUpDown.ts +15 -0
  49. package/src/assets/icons/light/faCalendarPlus.ts +15 -0
  50. package/src/assets/icons/light/faCheck.ts +15 -0
  51. package/src/assets/icons/light/faChevronDown.ts +15 -0
  52. package/src/assets/icons/light/faChevronRight.ts +15 -0
  53. package/src/assets/icons/light/faCircleInfo.ts +15 -0
  54. package/src/assets/icons/light/faCircleXmark.ts +15 -0
  55. package/src/assets/icons/light/faClockRotateLeft.ts +15 -0
  56. package/src/assets/icons/light/faEllipsisVertical.ts +15 -0
  57. package/src/assets/icons/light/faEye.ts +15 -0
  58. package/src/assets/icons/light/faEyeSlash.ts +15 -0
  59. package/src/assets/icons/light/faFilter.ts +15 -0
  60. package/src/assets/icons/light/faGear.ts +15 -0
  61. package/src/assets/icons/light/faHouse.ts +15 -0
  62. package/src/assets/icons/light/faIdBadge.ts +15 -0
  63. package/src/assets/icons/light/faLineColumns.ts +15 -0
  64. package/src/assets/icons/light/faLink.ts +15 -0
  65. package/src/assets/icons/light/faMagnifyingGlass.ts +15 -0
  66. package/src/assets/icons/light/faPenField.ts +15 -0
  67. package/src/assets/icons/light/faPrint.ts +15 -0
  68. package/src/assets/icons/light/faQuestion.ts +15 -0
  69. package/src/assets/icons/light/faRotateRight.ts +15 -0
  70. package/src/assets/icons/light/faTrashCan.ts +15 -0
  71. package/src/assets/icons/light/faTriangleExclamation.ts +15 -0
  72. package/src/assets/icons/light/faXmark.ts +15 -0
  73. package/src/assets/icons/regular/faArrowLeft.ts +15 -0
  74. package/src/assets/icons/regular/faArrowRightArrowLeft.ts +15 -0
  75. package/src/assets/icons/regular/faCircleCheck.ts +15 -0
  76. package/src/assets/icons/regular/faCircleExclamation.ts +15 -0
  77. package/src/assets/icons/regular/faCircleInfo.ts +15 -0
  78. package/src/assets/icons/regular/faFileArrowDown.ts +15 -0
  79. package/src/assets/icons/regular/faFilterCircleXmark.ts +15 -0
  80. package/src/assets/icons/regular/faTriangleExclamation.ts +15 -0
  81. package/src/assets/icons/solid/faAngleLeft.ts +15 -0
  82. package/src/assets/icons/solid/faAngleRight.ts +15 -0
  83. package/src/assets/icons/solid/faArrowDownWideShort.ts +15 -0
  84. package/src/assets/icons/solid/faCaretDown.ts +15 -0
  85. package/src/assets/icons/solid/faCheck.ts +15 -0
  86. package/src/assets/icons/solid/faEllipsisVertical.ts +15 -0
  87. package/src/assets/icons/solid/faFilter.ts +15 -0
  88. package/src/assets/icons/solid/faFloppyDisk.ts +15 -0
  89. package/src/assets/icons/solid/faGripDotsVertical.ts +15 -0
  90. package/src/assets/icons/solid/faListUl.ts +15 -0
  91. package/src/assets/icons/solid/faMagnifyingGlass.ts +15 -0
  92. package/src/assets/icons/solid/faMinus.ts +15 -0
  93. package/src/assets/icons/solid/faPlus.ts +15 -0
  94. package/src/assets/icons/solid/faPrint.ts +15 -0
  95. package/src/assets/icons/solid/faRotateRight.ts +15 -0
  96. package/src/assets/icons/solid/faXmark.ts +15 -0
  97. package/src/assets/images/logo/mts.svg +5703 -0
  98. package/src/assets/images/logo/paperless.svg +21 -0
  99. package/src/assets/images/logo/pismonosa.png +0 -0
  100. package/src/assets/images/not-found.svg +19 -0
  101. package/src/components/Accordions/Accordions.tsx +64 -0
  102. package/src/components/Alert/Alert.tsx +31 -0
  103. package/src/components/Badge/DotBadge.tsx +16 -0
  104. package/src/components/Badge/NotificationBadge.tsx +29 -0
  105. package/src/components/Badge/PillBadge.tsx +13 -0
  106. package/src/components/Button/Button.tsx +56 -0
  107. package/src/components/Button/IconButton.tsx +49 -0
  108. package/src/components/Dashboard/Dashboard.tsx +9 -0
  109. package/src/components/Dashboard/DashboardWidget.tsx +44 -0
  110. package/src/components/Dashboard/FastLinksWidget/FastLinksWidget.tsx +37 -0
  111. package/src/components/Dialog/DeleteItemDialog.tsx +52 -0
  112. package/src/components/Dialog/Dialog.tsx +226 -0
  113. package/src/components/Dialog/hooks/useDialogKeyboard.ts +41 -0
  114. package/src/components/Dialog/hooks/useDialogObserver.ts +21 -0
  115. package/src/components/Header/Components/ModuleSelect.tsx +55 -0
  116. package/src/components/Header/Components/UserMenu.tsx +44 -0
  117. package/src/components/Header/Header.tsx +36 -0
  118. package/src/components/Helper/Collapse.tsx +52 -0
  119. package/src/components/Inputs/Checkbox.tsx +53 -0
  120. package/src/components/Inputs/CurrencyInput.tsx +123 -0
  121. package/src/components/Inputs/DateInput/DateInput.tsx +176 -0
  122. package/src/components/Inputs/DateInput/components/DatePartInput.tsx +154 -0
  123. package/src/components/Inputs/InputWrapper.tsx +90 -0
  124. package/src/components/Inputs/NumberInput.tsx +83 -0
  125. package/src/components/Inputs/PasswordInput.tsx +38 -0
  126. package/src/components/Inputs/Radio.tsx +59 -0
  127. package/src/components/Inputs/RadioGroup.tsx +48 -0
  128. package/src/components/Inputs/RadioLarge.tsx +39 -0
  129. package/src/components/Inputs/SearchInput.tsx +40 -0
  130. package/src/components/Inputs/Select2/Select.tsx +224 -0
  131. package/src/components/Inputs/Select2/select.scss +43 -0
  132. package/src/components/Inputs/Selects/Select.tsx +17 -0
  133. package/src/components/Inputs/Selects/components/CustomSelectComponents.tsx +19 -0
  134. package/src/components/Inputs/Selects/components/SelectWrapper.tsx +126 -0
  135. package/src/components/Inputs/Selects/utils/selectStyles.ts +104 -0
  136. package/src/components/Inputs/TextAreaInput.tsx +67 -0
  137. package/src/components/Inputs/TextInput.tsx +98 -0
  138. package/src/components/Inputs/TimeInput/TimeInput.tsx +81 -0
  139. package/src/components/Loader/Loader.tsx +53 -0
  140. package/src/components/Menu/Menu.tsx +68 -0
  141. package/src/components/Menu/MenuItem.tsx +47 -0
  142. package/src/components/Menu/NewMenu.tsx +66 -0
  143. package/src/components/Menu/hooks/useMenuPosition.tsx +80 -0
  144. package/src/components/Pullover/Pullover.tsx +89 -0
  145. package/src/components/Router/Router.tsx +51 -0
  146. package/src/components/Sidebar/AddButton.tsx +22 -0
  147. package/src/components/Sidebar/Sidebar.tsx +81 -0
  148. package/src/components/Sidebar/SidebarItem.tsx +84 -0
  149. package/src/components/Sidebar/types/ISidebar.ts +28 -0
  150. package/src/components/Table/Components/Columns/ColumnsList.tsx +61 -0
  151. package/src/components/Table/Components/Columns/SetColumnsList.tsx +113 -0
  152. package/src/components/Table/Components/Edit/ItemActionsMenu.tsx +84 -0
  153. package/src/components/Table/Components/Edit/ItemEditOptionsButtons.tsx +31 -0
  154. package/src/components/Table/Components/Edit/TableEditRow.tsx +56 -0
  155. package/src/components/Table/Components/FilterItem.tsx +20 -0
  156. package/src/components/Table/Components/Header/TableHeader.tsx +45 -0
  157. package/src/components/Table/Components/Header/TableHeaderRow.tsx +37 -0
  158. package/src/components/Table/Components/Print/CustomTablePrint.tsx +114 -0
  159. package/src/components/Table/Components/Print/TablePrint.tsx +207 -0
  160. package/src/components/Table/Components/SetSortList.tsx +30 -0
  161. package/src/components/Table/Components/SetTableFilter.tsx +90 -0
  162. package/src/components/Table/Components/TableFooter.tsx +135 -0
  163. package/src/components/Table/Components/TableOptions.tsx +226 -0
  164. package/src/components/Table/Components/Templates/TemplateCreate.tsx +80 -0
  165. package/src/components/Table/Components/Templates/TemplateCreateDefault.tsx +45 -0
  166. package/src/components/Table/Components/Templates/TemplateList.tsx +167 -0
  167. package/src/components/Table/Components/Templates/repo/TemplateRepo.ts +53 -0
  168. package/src/components/Table/Table.tsx +527 -0
  169. package/src/components/Table/hooks/useDefaultTemplate.ts +20 -0
  170. package/src/components/Table/hooks/useTableKeyboard.ts +138 -0
  171. package/src/components/Table/hooks/useTableSelect.ts +11 -0
  172. package/src/components/Tabs/Tabs.tsx +66 -0
  173. package/src/components/Tooltip/Tooltip.tsx +133 -0
  174. package/src/components/Tree/Tree.tsx +22 -0
  175. package/src/components/Tree/TreeItem.tsx +56 -0
  176. package/src/components/Wrappers/AppLayout.tsx +17 -0
  177. package/src/components/Wrappers/ConditionalWrapper.tsx +10 -0
  178. package/src/components/Wrappers/FormWrapper.tsx +81 -0
  179. package/src/components/Wrappers/PageLayout.tsx +152 -0
  180. package/src/hooks/useBackgroundClose.ts +18 -0
  181. package/src/hooks/useIsMenuOpen.ts +11 -0
  182. package/src/hooks/useOnEsc.ts +14 -0
  183. package/src/hooks/useZendesk.ts +21 -0
  184. package/src/index.ts +324 -0
  185. package/src/pages/NoAccessPage.tsx +27 -0
  186. package/src/pages/NotFoundPage.tsx +26 -0
  187. package/src/styles/App.scss +43 -0
  188. package/src/styles/common/_animations.scss +64 -0
  189. package/src/styles/common/_typography.scss +88 -0
  190. package/src/styles/common/helpers/_base.scss +55 -0
  191. package/src/styles/common/helpers/_color.scss +7 -0
  192. package/src/styles/common/helpers/_display.scss +85 -0
  193. package/src/styles/common/helpers/_size.scss +25 -0
  194. package/src/styles/common/maps/_align.scss +21 -0
  195. package/src/styles/common/maps/_info-types.scss +1 -0
  196. package/src/styles/common/maps/_spacing.scss +78 -0
  197. package/src/styles/common/maps/_text.scss +14 -0
  198. package/src/styles/components/_accordions.scss +46 -0
  199. package/src/styles/components/_alert.scss +23 -0
  200. package/src/styles/components/_badge.scss +76 -0
  201. package/src/styles/components/_button.scss +138 -0
  202. package/src/styles/components/_card.scss +24 -0
  203. package/src/styles/components/_dialog.scss +111 -0
  204. package/src/styles/components/_form.scss +8 -0
  205. package/src/styles/components/_header.scss +109 -0
  206. package/src/styles/components/_input.scss +158 -0
  207. package/src/styles/components/_inputCheckbox.scss +105 -0
  208. package/src/styles/components/_inputDateTime.scss +161 -0
  209. package/src/styles/components/_inputRadio.scss +83 -0
  210. package/src/styles/components/_inputSelect.scss +6 -0
  211. package/src/styles/components/_loader.scss +44 -0
  212. package/src/styles/components/_menu-v2.scss +67 -0
  213. package/src/styles/components/_menu.scss +53 -0
  214. package/src/styles/components/_page.scss +62 -0
  215. package/src/styles/components/_portal.scss +8 -0
  216. package/src/styles/components/_print.scss +87 -0
  217. package/src/styles/components/_pullover.scss +43 -0
  218. package/src/styles/components/_scrollbar.scss +18 -0
  219. package/src/styles/components/_sidebar.scss +206 -0
  220. package/src/styles/components/_smallComponents.scss +23 -0
  221. package/src/styles/components/_table.scss +270 -0
  222. package/src/styles/components/_tabs.scss +33 -0
  223. package/src/styles/components/_tooltip.scss +48 -0
  224. package/src/styles/components/_tree.scss +21 -0
  225. package/src/styles/components/_widget.scss +90 -0
  226. package/src/styles/pages/_fullScreenPage.scss +64 -0
  227. package/src/styles/variables/_bp.scss +5 -0
  228. package/src/styles/variables/_variables.scss +130 -0
  229. package/src/types/Base/custom.d.ts +9 -0
  230. package/src/types/IBasic.ts +31 -0
  231. package/src/types/IError.ts +5 -0
  232. package/src/types/IHeader.ts +24 -0
  233. package/src/types/IInfo.ts +1 -0
  234. package/src/types/IKeyboard.ts +37 -0
  235. package/src/types/IMenu.ts +18 -0
  236. package/src/types/IRouter.ts +6 -0
  237. package/src/types/ISelect.ts +52 -0
  238. package/src/types/ITab.ts +10 -0
  239. package/src/types/ITable.ts +249 -0
  240. package/src/types/ITree.ts +6 -0
  241. package/src/utils/DateUtils.ts +32 -0
  242. package/src/utils/InputPatternValidation.ts +12 -0
  243. package/src/utils/LocalStorageHelper.ts +24 -0
  244. package/src/utils/NumberUtils.ts +21 -0
  245. package/src/utils/ObjectUtils.ts +85 -0
  246. package/src/utils/RootDir.ts +1 -0
  247. package/src/utils/StringUtils.ts +18 -0
  248. package/src/utils/TableUtils.ts +130 -0
  249. package/src/utils/Toasts.ts +6 -0
  250. package/src/utils/UrlUtils.ts +4 -0
  251. package/src/utils/fileUtils.ts +176 -0
  252. package/src/utils/i18n/i18nIUICyrilic.ts +90 -0
  253. package/src/utils/i18n/i18nIUILatin.ts +90 -0
  254. package/src/utils/i18n/i18nIUIMe.ts +88 -0
  255. package/src/utils/icons.ts +13 -0
  256. package/tsconfig.icons.json +5 -0
  257. package/tsconfig.json +19 -0
@@ -0,0 +1,43 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+
3
+ declare const faArrowsUpDown: IconDefinition;
4
+
5
+ declare const faCheck: IconDefinition;
6
+
7
+ declare const faChevronDown: IconDefinition;
8
+
9
+ declare const faChevronRight: IconDefinition;
10
+
11
+ declare const faCircleInfo: IconDefinition;
12
+
13
+ declare const faCircleXmark: IconDefinition;
14
+
15
+ declare const faClockRotateLeft: IconDefinition;
16
+
17
+ declare const faEllipsisVertical: IconDefinition;
18
+
19
+ declare const faGear: IconDefinition;
20
+
21
+ declare const faHouse: IconDefinition;
22
+
23
+ declare const faIdBadge: IconDefinition;
24
+
25
+ declare const faLink: IconDefinition;
26
+
27
+ declare const faMagnifyingGlass: IconDefinition;
28
+
29
+ declare const faPenField: IconDefinition;
30
+
31
+ declare const faPrint: IconDefinition;
32
+
33
+ declare const faQuestion: IconDefinition;
34
+
35
+ declare const faRotateRight: IconDefinition;
36
+
37
+ declare const faTrashCan: IconDefinition;
38
+
39
+ declare const faTriangleExclamation: IconDefinition;
40
+
41
+ declare const faXmark: IconDefinition;
42
+
43
+ export { faArrowsUpDown, faCheck, faChevronDown, faChevronRight, faCircleInfo, faCircleXmark, faClockRotateLeft, faEllipsisVertical, faGear, faHouse, faIdBadge, faLink, faMagnifyingGlass, faPenField, faPrint, faQuestion, faRotateRight, faTrashCan, faTriangleExclamation, faXmark };
@@ -0,0 +1 @@
1
+ const c={prefix:"fal",iconName:"arrows-up-down",icon:[256,512,[],"f07d","M139.3 4.688l112 112C254.4 119.8 256 123.9 256 128s-1.562 8.188-4.688 11.31c-6.25 6.25-16.38 6.25-22.62 0L144 54.63v402.8l84.69-84.69c6.25-6.25 16.38-6.25 22.62 0C254.4 375.8 256 379.9 256 384s-1.562 8.188-4.688 11.31l-112 112c-6.25 6.25-16.38 6.25-22.62 0l-112-112c-6.25-6.25-6.25-16.38 0-22.62s16.38-6.25 22.62 0L112 457.4V54.63L27.31 139.3c-6.25 6.25-16.38 6.25-22.62 0s-6.25-16.38 0-22.62l112-112C122.9-1.562 133.1-1.562 139.3 4.688z"]},C={prefix:"fal",iconName:"check",icon:[512,512,[],"f00c","M475.3 123.3l-272 272C200.2 398.4 196.1 400 192 400s-8.188-1.562-11.31-4.688l-144-144c-6.25-6.25-6.25-16.38 0-22.62s16.38-6.25 22.62 0L192 361.4l260.7-260.7c6.25-6.25 16.38-6.25 22.62 0S481.6 117.1 475.3 123.3z"]},l={prefix:"fal",iconName:"chevron-down",icon:[448,512,[],"f078","M4.251 181.1C7.392 177.7 11.69 175.1 16 175.1c3.891 0 7.781 1.406 10.86 4.25l197.1 181.1l197.1-181.1c6.5-6 16.64-5.625 22.61 .9062c6 6.5 5.594 16.59-.8906 22.59l-208 192c-6.156 5.688-15.56 5.688-21.72 0l-208-192C-1.343 197.7-1.749 187.6 4.251 181.1z"]},i={prefix:"fal",iconName:"chevron-right",icon:[320,512,[],"f054","M85.14 475.8c-3.438-3.141-5.156-7.438-5.156-11.75c0-3.891 1.406-7.781 4.25-10.86l181.1-197.1L84.23 58.86c-6-6.5-5.625-16.64 .9062-22.61c6.5-6 16.59-5.594 22.59 .8906l192 208c5.688 6.156 5.688 15.56 0 21.72l-192 208C101.7 481.3 91.64 481.8 85.14 475.8z"]},f={prefix:"fal",iconName:"circle-info",icon:[512,512,[],"f05a","M256 0C114.6 0 0 114.6 0 256s114.6 256 256 256s256-114.6 256-256S397.4 0 256 0zM256 480c-123.5 0-224-100.5-224-224s100.5-224 224-224s224 100.5 224 224S379.5 480 256 480zM256 184c13.25 0 24-10.74 24-24c0-13.25-10.75-24-24-24S232 146.7 232 160C232 173.3 242.7 184 256 184zM304 352h-32V240C272 231.2 264.8 224 256 224H224C215.2 224 208 231.2 208 240S215.2 256 224 256h16v96h-32C199.2 352 192 359.2 192 368C192 376.8 199.2 384 208 384h96c8.836 0 16-7.164 16-16C320 359.2 312.8 352 304 352z"]},e={prefix:"fal",iconName:"circle-xmark",icon:[512,512,[],"f057","M331.3 180.7c-6.25-6.25-16.38-6.25-22.62 0L256 233.4L203.3 180.7c-6.25-6.25-16.38-6.25-22.62 0s-6.25 16.38 0 22.62L233.4 256L180.7 308.7c-6.25 6.25-6.25 16.38 0 22.62c6.246 6.246 16.37 6.254 22.62 0L256 278.6l52.69 52.69c6.246 6.246 16.37 6.254 22.62 0c6.25-6.25 6.25-16.38 0-22.62L278.6 256l52.69-52.69C337.6 197.1 337.6 186.9 331.3 180.7zM256 0C114.6 0 0 114.6 0 256s114.6 256 256 256S512 397.4 512 256S397.4 0 256 0zM256 480c-123.5 0-224-100.5-224-224s100.5-224 224-224s224 100.5 224 224S379.5 480 256 480z"]},z={prefix:"fal",iconName:"clock-rotate-left",icon:[512,512,[],"f1da","M256 0C397.4 0 512 114.6 512 256C512 397.4 397.4 512 256 512C172.2 512 97.87 471.8 51.19 409.6C45.88 402.5 47.31 392.5 54.37 387.2C61.44 381.9 71.47 383.3 76.78 390.4C117.7 444.8 182.7 480 256 480C379.7 480 480 379.7 480 256C480 132.3 379.7 32 256 32C166.7 32 89.51 84.3 53.55 160H144C152.8 160 160 167.2 160 176C160 184.8 152.8 192 144 192H16C7.164 192 0 184.8 0 176V48C0 39.16 7.164 32 16 32C24.84 32 32 39.16 32 48V131.1C75.66 53.29 159.6 0 256 0zM256 128C264.8 128 272 135.2 272 144V249.4L347.3 324.7C353.6 330.9 353.6 341.1 347.3 347.3C341.1 353.6 330.9 353.6 324.7 347.3L244.7 267.3C241.7 264.3 239.1 260.2 239.1 256V144C239.1 135.2 247.2 128 255.1 128H256z"]},M={prefix:"fal",iconName:"ellipsis-vertical",icon:[128,512,[],"f142","M64 384C81.67 384 96 398.3 96 416C96 433.7 81.67 448 64 448C46.33 448 32 433.7 32 416C32 398.3 46.33 384 64 384zM64 224C81.67 224 96 238.3 96 256C96 273.7 81.67 288 64 288C46.33 288 32 273.7 32 256C32 238.3 46.33 224 64 224zM64 128C46.33 128 32 113.7 32 96C32 78.33 46.33 64 64 64C81.67 64 96 78.33 96 96C96 113.7 81.67 128 64 128z"]},a={prefix:"fal",iconName:"gear",icon:[512,512,[],"f013","M255.1 512c-56.05 0-75.99-11.33-75.99-35.94V436.5c-15.17-6.375-29.35-14.53-42.36-24.41l-34.3 19.78c-4.621 2.703-9.976 4.013-15.36 4.013c-36.71 0-76.25-92.87-76.25-108.6c0-10.85 5.806-21.34 15.71-27.07l34.17-19.72C60.52 272.1 59.99 264 59.99 255.1s.5313-16.13 1.625-24.47L27.42 211.8C17.53 206.1 11.73 195.6 11.73 184.7c0-12.58 37.98-108.7 76.2-108.7c5.417 0 10.82 1.338 15.52 4.111L137.6 99.88C150.6 90.01 164.8 81.85 179.1 75.47V35.91C179.1 4.335 215.7 0 256 0c39.71 0 75.1 4.083 75.1 35.91v39.56c15.17 6.375 29.35 14.53 42.36 24.41l34.3-19.78c4.621-2.703 9.981-4.013 15.37-4.013c36.47 0 76.24 92.55 76.24 108.6c0 10.85-5.806 21.34-15.71 27.07l-34.17 19.72c1.094 8.344 1.625 16.44 1.625 24.47s-.5313 16.13-1.625 24.47l34.19 19.75c9.895 5.703 15.7 16.19 15.7 27.05c0 12.59-37.98 108.7-76.21 108.7c-5.42 0-10.83-1.338-15.51-4.111l-34.19-19.72c-13.02 9.876-27.19 18.03-42.36 24.41v39.56C332 500.6 312.1 512 255.1 512zM140.9 373.2c35.92 30.82 52.34 34.36 71.05 41v61.85c14.11 2.344 28.82 3.727 43.76 3.727c14.95 0 30.13-1.383 45.19-4.571l-.9532-61c16.07-5.702 35.18-10.22 71.05-41l53.61 30.97c18.78-22.06 33.77-47.97 43.39-76.57l-52.94-30.56c2.745-14.99 4.859-25.43 4.859-39.07c0-10.95-1.364-23.97-4.859-43.06l53.46-30.85c-9.829-27.75-24.92-53.97-45.1-76.72l-52.43 31.41c-35.92-30.82-52.34-34.36-71.05-41V35.91c-14.11-2.344-28.82-3.727-43.76-3.727c-14.95 0-30.13 1.383-45.19 4.571l.9532 61C195.9 103.5 176.8 107.1 140.9 138.8L87.33 107.8c-18.99 22.31-34.08 48.53-43.69 77.47l53.24 29.66C94.14 229.9 92.02 240.4 92.02 253.1c0 10.95 1.364 23.97 4.859 43.06l-53.46 30.85c9.829 27.75 24.92 53.97 45.1 76.72L140.9 373.2zM256 351.1c-52.94 0-96-43.06-96-96S203.1 159.1 256 159.1s96 43.06 96 96S308.9 351.1 256 351.1zM256 191.1c-35.3 0-64 28.72-64 64S220.7 319.1 256 319.1s64-28.72 64-64S291.3 191.1 256 191.1z"]},n={prefix:"fal",iconName:"house",icon:[576,512,[],"f015","M570.6 244C577.2 249.8 577.8 259.1 571.1 266.6C566.2 273.2 556 273.8 549.4 267.1L512 234.1V432C512 476.2 476.2 512 432 512H144C99.82 512 64 476.2 64 432V234.1L26.59 267.1C19.96 273.8 9.849 273.2 4.003 266.6C-1.844 259.1-1.212 249.8 5.414 244L277.4 4.002C283.5-1.334 292.5-1.334 298.6 4.002L570.6 244zM144 480H208V320C208 302.3 222.3 288 240 288H336C353.7 288 368 302.3 368 320V480H432C458.5 480 480 458.5 480 432V206.7L288 37.34L96 206.7V432C96 458.5 117.5 480 144 480zM240 480H336V320H240V480z"]},o={prefix:"fal",iconName:"id-badge",icon:[384,512,[],"f2c1","M320 0H64C28.65 0 0 28.65 0 64v384c0 35.35 28.65 64 64 64h256c35.35 0 64-28.65 64-64V64C384 28.65 355.3 0 320 0zM352 448c0 17.64-14.36 32-32 32H64c-17.64 0-32-14.36-32-32V64c0-17.64 14.36-32 32-32h256c17.64 0 32 14.36 32 32V448zM192 288c35.35 0 64-28.65 64-64s-28.65-64-64-64S128 188.7 128 224S156.7 288 192 288zM192 192c17.64 0 32 14.36 32 32s-14.36 32-32 32S160 241.6 160 224S174.4 192 192 192zM224 320H160c-44.18 0-80 35.82-80 80C80 408.8 87.16 416 96 416c8.838 0 16-7.164 16-16C112 373.5 133.5 352 160 352h64c26.51 0 48 21.49 48 48c0 8.836 7.164 16 16 16c8.838 0 16-7.164 16-16C304 355.8 268.2 320 224 320zM144 96h96C248.8 96 256 88.84 256 80S248.8 64 240 64h-96C135.2 64 128 71.16 128 80S135.2 96 144 96z"]},s={prefix:"fal",iconName:"link",icon:[512,512,[],"f0c1","M591.5 256c50-50 50-131 0-181s-131-50-181 0L387.9 97.6c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l22.6-22.6c37.5-37.5 98.3-37.5 135.8 0s37.5 98.3 0 135.8L444.3 357.9c-37.4 37.4-98.1 37.4-135.6 0c-35.6-35.6-37.6-92.6-4.7-130.6l5.3-6.1c5.8-6.7 5.1-16.8-1.6-22.6s-16.8-5.1-22.6 1.6l-5.3 6.1c-43.9 50.7-41.2 126.7 6.2 174.1c49.9 49.9 130.9 49.9 180.8 0L591.5 256zM48.5 256c-50 50-50 131 0 181s131 50 181 0l22.6-22.6c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0l-22.6 22.6c-37.5 37.5-98.3 37.5-135.8 0s-37.5-98.3 0-135.8L195.7 154.1c37.4-37.4 98.1-37.4 135.6 0c35.6 35.6 37.6 92.6 4.7 130.6l-5.3 6.1c-5.8 6.7-5.1 16.8 1.6 22.6s16.8 5.1 22.6-1.6l5.3-6.1c43.9-50.7 41.2-126.7-6.2-174.1C303.9 81.5 223 81.5 173 131.4L48.5 256z"]},L={prefix:"fal",iconName:"magnifying-glass",icon:[512,512,[],"f002","M507.3 484.7l-141.5-141.5C397 306.8 415.1 259.7 415.1 208c0-114.9-93.13-208-208-208S-.0002 93.13-.0002 208S93.12 416 207.1 416c51.68 0 98.85-18.96 135.2-50.15l141.5 141.5C487.8 510.4 491.9 512 496 512s8.188-1.562 11.31-4.688C513.6 501.1 513.6 490.9 507.3 484.7zM208 384C110.1 384 32 305 32 208S110.1 32 208 32S384 110.1 384 208S305 384 208 384z"]},S={prefix:"fal",iconName:"pen-field",icon:[640,512,[],"e211","M560 256C551.2 256 544 263.2 544 272V448c0 17.67-14.33 32-32 32H64c-17.67 0-32-14.33-32-32V192c0-17.67 14.33-32 32-32h240C312.8 160 320 152.8 320 144S312.8 128 304 128H63.1C28.65 128 0 156.7 0 192v256c0 35.35 28.65 64 63.1 64h447.1c35.35 0 63.1-28.65 63.1-63.1L576 272C576 263.2 568.8 256 560 256zM640 76.14c0-12.28-4.686-24.57-14.06-33.94l-28.13-28.14C588.4 4.688 576.2 0 563.9 0s-24.57 4.688-33.94 14.06l-207.5 207.5C313.5 230.5 307.4 241.9 304.9 254.3l-16.66 83.35c-.162 .8104-.2393 1.612-.2393 2.396C288 346.6 293.4 352 299.1 352c.7852 0 1.586-.0781 2.398-.2402l83.35-16.67c12.39-2.479 23.77-8.566 32.7-17.5l207.5-207.5C635.3 100.7 640 88.42 640 76.14zM395.8 294.1c-4.48 4.48-10.13 7.506-16.35 8.748L325.5 314.5l10.78-53.93c1.244-6.219 4.27-11.88 8.754-16.36l146.3-146.3l50.76 50.76L395.8 294.1zM603.3 87.45l-38.62 38.62l-50.76-50.76l38.62-38.62C556.6 32.61 561.4 32 563.9 32s7.236 .6094 11.31 4.686l28.13 28.14C607.4 68.9 608 73.66 608 76.14C608 78.61 607.4 83.38 603.3 87.45zM104 320c0 13.25 10.75 24 24 24S152 333.3 152 320c0-13.26-10.75-24-24-24S104 306.7 104 320zM200 320c0 13.25 10.75 24 24 24S248 333.3 248 320c0-13.26-10.75-24-24-24S200 306.7 200 320z"]},r={prefix:"fal",iconName:"print",icon:[512,512,[],"f02f","M416 320H96c-17.67 0-32 14.33-32 32v128c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-128C448 334.3 433.7 320 416 320zM416 480H96v-128h320V480zM448 192V70.63C448 62.14 444.6 54 438.6 48l-38.63-38.63C393.1 3.37 385.9 0 377.4 0H128C92.65 0 64 28.65 64 64v128C28.7 192 0 220.7 0 256v112C0 376.8 7.156 384 16 384S32 376.8 32 368V256c0-17.67 14.33-32 32-32h384c17.67 0 32 14.33 32 32v112c0 8.844 7.156 16 16 16s16-7.156 16-16V256C512 220.7 483.3 192 448 192zM416 192H96V64c0-17.67 14.33-32 32-32h249.4L416 70.63V192zM432 248c-13.25 0-24 10.74-24 24c0 13.25 10.75 24 24 24s24-10.75 24-24C456 258.7 445.3 248 432 248z"]},V={prefix:"fal",iconName:"question",icon:[320,512,[],"3f","M213.1 32H106.7C47.84 32 0 79.84 0 138.7V160c0 8.844 7.156 16 16 16S32 168.9 32 160V138.7C32 97.48 65.5 64 106.7 64h106.5C254.4 64 288 97.58 288 138.9c0 27-14.62 52-38.16 65.25L152.5 258.9C137.4 267.4 128 283.4 128 300.7V336c0 8.844 7.156 16.01 16 16.01S160 344.8 160 336V300.7c0-5.766 3.125-11.11 8.156-13.95l97.38-54.78C299.1 213.1 320 177.4 320 138.9C320 79.94 272.1 32 213.1 32zM144 400c-17.67 0-32 14.32-32 31.99s14.33 32 32 32s32-14.33 32-32S161.7 400 144 400z"]},h={prefix:"fal",iconName:"rotate-right",icon:[512,512,[],"f2f9","M32.05 256.1c0 123.5 100.4 223.9 223.9 223.9c104.4 0 180-76.8 180-95.94c0-9.377-7.705-16.03-15.98-16.03C399.5 367.1 369.3 448 256 448c-105.9 0-192-86.13-192-192s86.13-192 192-192c75.11 0 123.1 44.4 124.2 45.15l-55.54 55.54c-3.055 3.055-4.681 7.16-4.681 11.33C320 184.9 327.2 192 336 192h128C472.8 192 480 184.8 480 176v-128c0-8.606-6.901-15.97-15.97-15.97c-4.171 0-8.291 1.598-11.35 4.653L402.1 87.32c-8.646-13.15-70.2-55.25-146.1-55.25C132.4 32.07 32.05 132.6 32.05 256.1zM374.6 160L448 86.63V160H374.6z"]},p={prefix:"fal",iconName:"trash-can",icon:[448,512,[],"f2ed","M432 64h-96l-33.63-44.75C293.4 7.125 279.1 0 264 0h-80C168.9 0 154.6 7.125 145.6 19.25L112 64h-96C7.201 64 0 71.2 0 80c0 8.799 7.201 16 16 16h416c8.801 0 16-7.201 16-16C448 71.2 440.8 64 432 64zM152 64l19.25-25.62C174.3 34.38 179 32 184 32h80c5 0 9.75 2.375 12.75 6.375L296 64H152zM400 128C391.2 128 384 135.2 384 144v288c0 26.47-21.53 48-48 48h-224C85.53 480 64 458.5 64 432v-288C64 135.2 56.84 128 48 128S32 135.2 32 144v288C32 476.1 67.89 512 112 512h224c44.11 0 80-35.89 80-80v-288C416 135.2 408.8 128 400 128zM144 416V192c0-8.844-7.156-16-16-16S112 183.2 112 192v224c0 8.844 7.156 16 16 16S144 424.8 144 416zM240 416V192c0-8.844-7.156-16-16-16S208 183.2 208 192v224c0 8.844 7.156 16 16 16S240 424.8 240 416zM336 416V192c0-8.844-7.156-16-16-16S304 183.2 304 192v224c0 8.844 7.156 16 16 16S336 424.8 336 416z"]},v={prefix:"fal",iconName:"triangle-exclamation",icon:[512,512,[],"f071","M256 360c-13.25 0-23.1 10.74-23.1 24c0 13.25 10.75 24 23.1 24c13.25 0 23.1-10.75 23.1-24C280 370.7 269.3 360 256 360zM256 320c8.843 0 15.1-7.156 15.1-16V160c0-8.844-7.155-16-15.1-16S240 151.2 240 160v144C240 312.8 247.2 320 256 320zM504.3 397.3L304.5 59.38C294.4 42.27 276.2 32.03 256 32C235.8 32 217.7 42.22 207.5 59.36l-199.9 338c-10.05 16.97-10.2 37.34-.4218 54.5C17.29 469.5 35.55 480 56.1 480h399.9c20.51 0 38.75-10.53 48.81-28.17C514.6 434.7 514.4 414.3 504.3 397.3zM476.1 435.1C472.7 443.5 464.8 448 455.1 448H56.1c-8.906 0-16.78-4.484-21.08-12c-4.078-7.156-4.015-15.3 .1562-22.36L235.1 75.66C239.4 68.36 247.2 64 256 64c0 0-.0156 0 0 0c8.765 .0156 16.56 4.359 20.86 11.64l199.9 338C480.1 420.7 481.1 428.8 476.1 435.1z"]},m={prefix:"fal",iconName:"xmark",icon:[320,512,[],"f00d","M315.3 411.3c-6.253 6.253-16.37 6.253-22.63 0L160 278.6l-132.7 132.7c-6.253 6.253-16.37 6.253-22.63 0c-6.253-6.253-6.253-16.37 0-22.63L137.4 256L4.69 123.3c-6.253-6.253-6.253-16.37 0-22.63c6.253-6.253 16.37-6.253 22.63 0L160 233.4l132.7-132.7c6.253-6.253 16.37-6.253 22.63 0c6.253 6.253 6.253 16.37 0 22.63L182.6 256l132.7 132.7C321.6 394.9 321.6 405.1 315.3 411.3z"]};export{c as faArrowsUpDown,C as faCheck,l as faChevronDown,i as faChevronRight,f as faCircleInfo,e as faCircleXmark,z as faClockRotateLeft,M as faEllipsisVertical,a as faGear,n as faHouse,o as faIdBadge,s as faLink,L as faMagnifyingGlass,S as faPenField,r as faPrint,V as faQuestion,h as faRotateRight,p as faTrashCan,v as faTriangleExclamation,m as faXmark};
package/dist/index.d.ts CHANGED
@@ -7,13 +7,8 @@ export { default as dayjs } from 'dayjs';
7
7
  export { DragDropContext, Draggable, Droppable } from 'react-beautiful-dnd';
8
8
  import * as react_toastify from 'react-toastify';
9
9
  export { ToastContainer } from 'react-toastify';
10
- export { TFunction, changeLanguage, default as i18n, i18n as i18nType } from 'i18next';
11
- export { I18nextProvider, Trans, useTranslation } from 'react-i18next';
12
10
  import * as react from 'react';
13
- import { MouseEventHandler, ButtonHTMLAttributes, FC, FormEvent, ReactNode, ReactElement, MouseEvent, Dispatch, SetStateAction, FunctionComponent, RefObject, ComponentProps, InputHTMLAttributes, FocusEventHandler } from 'react';
14
- import * as reactRouter from 'react-router';
15
- export { reactRouter as ReactRouter };
16
- export { BrowserRouter, Link, NavigateFunction, useLocation, useNavigate, useParams } from 'react-router';
11
+ import { FC, MouseEventHandler, ButtonHTMLAttributes, Ref, FormEvent, ReactNode, ReactElement, MouseEvent, Dispatch, SetStateAction, FunctionComponent, RefObject, ComponentProps, InputHTMLAttributes, FocusEventHandler } from 'react';
17
12
 
18
13
  type IButtonColor = 'primary' | 'neutral' | 'danger';
19
14
  type IButtonVariant = 'solid' | 'outlined' | 'simple';
@@ -30,8 +25,9 @@ interface IButtonProps {
30
25
  type?: ButtonHTMLAttributes<HTMLButtonElement>['type'];
31
26
  className?: string;
32
27
  buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
28
+ ref?: Ref<HTMLButtonElement>;
33
29
  }
34
- declare const Button: react.ForwardRefExoticComponent<IButtonProps & react.RefAttributes<HTMLButtonElement>>;
30
+ declare const Button: FC<IButtonProps>;
35
31
 
36
32
  interface IFormWrapper {
37
33
  isLoading: boolean;
@@ -337,6 +333,21 @@ interface ITableKeyboardActionsBase {
337
333
  }) => IKeyboardAction[];
338
334
  }
339
335
 
336
+ type IMenuPlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
337
+ interface IMenuItem {
338
+ label: string;
339
+ icon?: IconDefinition;
340
+ iconRotation?: RotateProp;
341
+ onClick?: MouseEventHandler<HTMLDivElement>;
342
+ to?: string;
343
+ badge?: number;
344
+ disabled?: boolean;
345
+ hidden?: boolean;
346
+ withDevider?: boolean;
347
+ keepOpen?: boolean;
348
+ className?: string;
349
+ }
350
+
340
351
  interface IError {
341
352
  errorMessage: string;
342
353
  errorCode?: string;
@@ -371,6 +382,7 @@ interface BaseSelectProps {
371
382
  closeMenuOnSelect?: boolean;
372
383
  noOptionsMessage?: string;
373
384
  formatOptionLabel?: (value: any) => any;
385
+ ref?: Ref<HTMLInputElement>;
374
386
  }
375
387
  interface BasicSelectProps extends BaseSelectProps {
376
388
  variant: 'basic';
@@ -415,34 +427,19 @@ interface IHeaderAction {
415
427
  disabled?: boolean;
416
428
  hidden?: boolean;
417
429
  }
418
-
419
- interface IRoute {
420
- path: string;
421
- element: ReactElement;
422
- }
423
-
424
- type IMenuPlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
425
- interface IMenuItem {
426
- label: string;
427
- icon?: IconDefinition;
428
- iconRotation?: RotateProp;
429
- onClick?: MouseEventHandler<HTMLDivElement>;
430
- to?: string;
431
- badge?: number;
432
- disabled?: boolean;
433
- hidden?: boolean;
434
- withDevider?: boolean;
435
- keepOpen?: boolean;
436
- className?: string;
437
- }
438
-
439
- interface Props$p {
430
+ type IHeaderUserMenuProps = {
431
+ isOpen: boolean;
432
+ setIsOpen: (isOpen: boolean) => void;
440
433
  userName?: string;
441
434
  organizationName?: string;
442
435
  showBadge?: boolean;
443
436
  menuItems?: IMenuItem[];
437
+ };
438
+
439
+ interface IRoute {
440
+ path: string;
441
+ element: ReactElement;
444
442
  }
445
- declare const UserMenu: FC<Props$p>;
446
443
 
447
444
  interface Props$o {
448
445
  modules: {
@@ -461,7 +458,12 @@ declare const ModuleSelect: FC<Props$o>;
461
458
  interface Props$n {
462
459
  customTitle?: string;
463
460
  modulesProps?: ComponentProps<typeof ModuleSelect>;
464
- userMenuProps: ComponentProps<typeof UserMenu>;
461
+ userMenuProps: {
462
+ HeaderUserProvider: ({ children }: {
463
+ children: ReactNode;
464
+ }) => React.JSX.Element;
465
+ useHeaderUserContext: () => IHeaderUserMenuProps;
466
+ };
465
467
  children?: ReactNode;
466
468
  }
467
469
  declare const Header: FC<Props$n>;
@@ -548,7 +550,7 @@ interface Props$i {
548
550
  color: IInfoType | 'gray';
549
551
  className?: string;
550
552
  }
551
- declare const PillBadge: react.ForwardRefExoticComponent<Props$i & react.RefAttributes<HTMLDivElement>>;
553
+ declare const PillBadge: FC<Props$i>;
552
554
 
553
555
  interface IIconButtonProps {
554
556
  icon: IconDefinition;
@@ -561,8 +563,9 @@ interface IIconButtonProps {
561
563
  tooltip?: string;
562
564
  className?: string;
563
565
  buttonProps?: ButtonHTMLAttributes<HTMLButtonElement>;
566
+ ref?: Ref<HTMLButtonElement>;
564
567
  }
565
- declare const IconButton: react.ForwardRefExoticComponent<IIconButtonProps & react.RefAttributes<HTMLButtonElement>>;
568
+ declare const IconButton: FC<IIconButtonProps>;
566
569
 
567
570
  declare const Dashboard: FC<{
568
571
  children: ReactNode;
@@ -655,8 +658,9 @@ interface ICheckboxProps {
655
658
  className?: string;
656
659
  tooltip?: string;
657
660
  children?: ReactNode;
661
+ ref?: Ref<HTMLLabelElement>;
658
662
  }
659
- declare const Checkbox: react.ForwardRefExoticComponent<ICheckboxProps & react.RefAttributes<HTMLLabelElement>>;
663
+ declare const Checkbox: FC<ICheckboxProps>;
660
664
 
661
665
  interface ICurrencyInputProps {
662
666
  label?: string;
@@ -676,8 +680,9 @@ interface ICurrencyInputProps {
676
680
  endText?: string;
677
681
  inputProps?: InputHTMLAttributes<HTMLInputElement>;
678
682
  isClearable?: boolean;
683
+ ref?: Ref<HTMLInputElement>;
679
684
  }
680
- declare const CurrencyInput: react.ForwardRefExoticComponent<ICurrencyInputProps & react.RefAttributes<HTMLInputElement>>;
685
+ declare const CurrencyInput: FC<ICurrencyInputProps>;
681
686
 
682
687
  interface IDateInputProps {
683
688
  label?: string;
@@ -691,7 +696,7 @@ interface IDateInputProps {
691
696
  errorText?: string;
692
697
  isClearable?: boolean;
693
698
  className?: string;
694
- calendarPlacement: IMenuPlacement;
699
+ calendarPlacement?: IMenuPlacement;
695
700
  }
696
701
  declare const DateInput: FC<IDateInputProps>;
697
702
 
@@ -721,8 +726,9 @@ interface ITextAreaInputProps {
721
726
  className?: string;
722
727
  inputProps?: InputHTMLAttributes<HTMLTextAreaElement>;
723
728
  error?: boolean;
729
+ ref?: Ref<HTMLTextAreaElement>;
724
730
  }
725
- declare const TextAreaInput: react.ForwardRefExoticComponent<ITextAreaInputProps & react.RefAttributes<HTMLTextAreaElement>>;
731
+ declare const TextAreaInput: FC<ITextAreaInputProps>;
726
732
 
727
733
  interface INumberInputProps {
728
734
  label?: string;
@@ -742,8 +748,9 @@ interface INumberInputProps {
742
748
  decimalPlaces?: number;
743
749
  align?: 'left' | 'right';
744
750
  inputProps?: InputHTMLAttributes<HTMLInputElement>;
751
+ ref?: Ref<HTMLInputElement>;
745
752
  }
746
- declare const NumberInput: react.ForwardRefExoticComponent<INumberInputProps & react.RefAttributes<HTMLInputElement>>;
753
+ declare const NumberInput: FC<INumberInputProps>;
747
754
 
748
755
  interface IPasswordInputProps {
749
756
  label?: string;
@@ -772,8 +779,9 @@ interface IRadioProps {
772
779
  disabled?: boolean;
773
780
  className?: string;
774
781
  children?: ReactNode;
782
+ ref?: Ref<HTMLDivElement>;
775
783
  }
776
- declare const Radio: react.ForwardRefExoticComponent<IRadioProps & react.RefAttributes<HTMLDivElement>>;
784
+ declare const Radio: FC<IRadioProps>;
777
785
 
778
786
  interface Props$c {
779
787
  title?: string | ReactElement;
@@ -795,9 +803,9 @@ interface IProps {
795
803
  }
796
804
  declare const SearchInput: FC<IProps>;
797
805
 
798
- declare const Select: react.ForwardRefExoticComponent<Omit<BasicSelectProps, "variant"> & react.RefAttributes<any>>;
799
- declare const SelectAsyncPaginate: react.ForwardRefExoticComponent<Omit<AsyncSelectProps, "variant"> & react.RefAttributes<any>>;
800
- declare const SelectCreatable: react.ForwardRefExoticComponent<Omit<CreatableSelectProps, "variant"> & react.RefAttributes<any>>;
806
+ declare const Select: FC<Omit<BasicSelectProps, 'variant'>>;
807
+ declare const SelectAsyncPaginate: FC<Omit<AsyncSelectProps, 'variant'>>;
808
+ declare const SelectCreatable: FC<Omit<CreatableSelectProps, 'variant'>>;
801
809
 
802
810
  interface ITextInputProps {
803
811
  id?: string;
@@ -824,8 +832,9 @@ interface ITextInputProps {
824
832
  error?: boolean;
825
833
  inputProps?: InputHTMLAttributes<HTMLInputElement>;
826
834
  className?: string;
835
+ ref?: Ref<HTMLInputElement>;
827
836
  }
828
- declare const TextInput: react.ForwardRefExoticComponent<ITextInputProps & react.RefAttributes<HTMLInputElement>>;
837
+ declare const TextInput: FC<ITextInputProps>;
829
838
 
830
839
  interface Props$b {
831
840
  isLoading: boolean;
@@ -855,7 +864,7 @@ interface Props$a {
855
864
  }
856
865
  declare const Menu: FC<Props$a>;
857
866
 
858
- declare const MenuItem: react.ForwardRefExoticComponent<IMenuItem & react.RefAttributes<HTMLDivElement>>;
867
+ declare const MenuItem: FC<IMenuItem>;
859
868
 
860
869
  interface Props$9 {
861
870
  item: any;
@@ -935,8 +944,9 @@ interface Props$2 {
935
944
  singleLine?: boolean;
936
945
  className?: string;
937
946
  children: ReactElement;
947
+ ref?: Ref<HTMLElement> | null;
938
948
  }
939
- declare const Tooltip: react.ForwardRefExoticComponent<Props$2 & react.RefAttributes<HTMLElement>>;
949
+ declare const Tooltip: FC<Props$2>;
940
950
 
941
951
  interface Props$1 {
942
952
  data: ITreeItem[];
@@ -953,7 +963,7 @@ interface Props {
953
963
  declare const ConditionalWrapper: FC<Props>;
954
964
 
955
965
  interface IPageLayoutProps {
956
- breadcrumbs: (string | undefined)[];
966
+ breadcrumbs?: (string | undefined)[];
957
967
  actions?: IHeaderAction[];
958
968
  moreActions?: IMenuItem[];
959
969
  backButton?: {
@@ -1131,11 +1141,9 @@ declare const i18nIUILatin: {
1131
1141
  CharMin: string;
1132
1142
  CharRange: string;
1133
1143
  CharNumber: string;
1134
- Pending: string;
1135
1144
  Successfully: string;
1136
1145
  DeletedSuccessfully: string;
1137
1146
  ErrorMessage: string;
1138
- TryAgain: string;
1139
1147
  ReturnToHomepage: string;
1140
1148
  FooterText: string;
1141
1149
  PageNotFound: string;
@@ -1327,4 +1335,4 @@ declare const useIsMenuOpen: () => {
1327
1335
  };
1328
1336
 
1329
1337
  export { Accordions, Alert, Button, Checkbox, Collapse, ConditionalWrapper, CurrencyInput, Dashboard, DashboardWidget, DateInput, DeleteItemDialog, Dialog, DotBadge, FastLinksWidget, FilterItem, FormWrapper, FullScreenLoader, IconButton, ItemActionsMenu, ItemEditOptionsButtons, LazyLoader, Loader, Menu, MenuItem, NotificationBadge, NumberInput, PageLayout, PasswordInput, PillBadge, Radio, RadioLarge, Router, SearchInput, Select, SelectAsyncPaginate, SelectCreatable, SetTableFilter, Table, TableEditRow, TableFooter, TablePrint, Tabs, TextAreaInput, TextInput, TimeInput, Tooltip, Tree, areStringArraysEqual, calculateFilesSize, checkIfExpired, compareArrayItemsIndex, convertArrayToBooleanObject, convertBooleanObjectToArray, convertReportTemplateFilterToSearch, convertSearchToReportTemplateFilter, dataURLtoFile, dateAddDays, deepCopy, deleteEmptyProps, deleteEmptyPropsIncludingArray, deleteProps, deletePropsThatEndsWith, downloadDocumentFile, downloadFile, formatCurrency, formatCurrencyNoDecimals, formatDate, formatDateAndTime, formatDateYMD, formatDecimalNumber, formatTime, formatYearMonth, getActiveFilterNumber, getActiveOrgUuid, getBase64FromFile, getBase64FromUrl, getCurrentDateFormatted, getCurrentDateFormattedYMD, getDaysLeft, getDefaultOrgUuid, getExtensionFromFilename, getFileFromUrl, getInputHelperText, getInputMinMaxPattern, getPrintColumns, getVisibleColumnsIds, i18nIUICyrilic, i18nIUILatin, i18nIUIMe, inputPattern, intersectArrays, lsGet, lsRemove, lsSet, maxChar, parseUrlSearch, rootDir, rotateBase64Image, setActiveOrgUuid, setDefaultOrgUuid, setTemplateData, sizeInBytesPretty, splitBase64File, tableCustomLimit1000, toastError, toastSuccess, useDefaultTemplate, useDialogObserver, useHideZendesk, useIsMenuOpen, useOnEsc, useTableSelect };
1330
- export type { DeepPartial, IAlertProps, IAnyObject, IBooleanObject, IError, IFormWrapper, IHeaderAction, IKeyboardAction, IPagination, IRoute, ISelectData, IServerSidePagination, ISimpleObject, ISimpleObjectWithCode, IStringObject, ITab, ITable, ITableColumn, ITableDataItem, ITableEditRow, ITableFilter, ITableFilterData, ITableFilterItem, ITableSort, ITreeItem, IValueLabel };
1338
+ export type { DeepPartial, IAlertProps, IAnyObject, IBooleanObject, IError, IFormWrapper, IHeaderAction, IHeaderUserMenuProps, IKeyboardAction, IMenuItem, IMenuPlacement, IPagination, IRoute, ISelectData, IServerSidePagination, ISimpleObject, ISimpleObjectWithCode, IStringObject, ITab, ITable, ITableColumn, ITableDataItem, ITableEditRow, ITableFilter, ITableFilterData, ITableFilterItem, ITableSort, ITreeItem, IValueLabel };