identity-admin-ui 1.11.47 → 1.12.1

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 (290) hide show
  1. package/lib/cjs/index.css +18 -38
  2. package/lib/cjs/index.js +13 -13
  3. package/lib/cjs/types/components/Image.d.ts +12 -0
  4. package/lib/cjs/types/components/Logo.d.ts +6 -0
  5. package/lib/cjs/types/components/MotionLazyContainer.d.ts +6 -0
  6. package/lib/cjs/types/components/SearchNotFound.d.ts +6 -0
  7. package/lib/cjs/types/components/dataGrid/ExpandableCell.d.ts +3 -0
  8. package/lib/cjs/types/components/hook-form/RHFDatePicker.d.ts +2 -1
  9. package/lib/cjs/types/components/hook-form/RHFTagsField.d.ts +21 -0
  10. package/lib/cjs/types/components/hook-form/RHFUpload.d.ts +15 -2
  11. package/lib/cjs/types/components/hook-form/index.d.ts +2 -0
  12. package/lib/cjs/types/components/index.d.ts +2 -0
  13. package/lib/cjs/types/components/nav-section/horizontal/NavItem.d.ts +4 -0
  14. package/lib/cjs/types/components/nav-section/horizontal/NavList.d.ts +6 -0
  15. package/lib/cjs/types/components/nav-section/horizontal/index.d.ts +5 -1
  16. package/lib/cjs/types/components/nav-section/horizontal/style.d.ts +47 -0
  17. package/lib/cjs/types/components/nav-section/index.d.ts +4 -0
  18. package/lib/cjs/types/components/nav-section/type.d.ts +35 -0
  19. package/lib/cjs/types/components/nav-section/vertical/NavItem.d.ts +13 -0
  20. package/lib/cjs/types/components/nav-section/vertical/NavList.d.ts +7 -0
  21. package/lib/cjs/types/components/nav-section/vertical/index.d.ts +16 -1
  22. package/lib/cjs/types/components/nav-section/vertical/style.d.ts +36 -0
  23. package/lib/cjs/types/components/settings/SettingsContext.d.ts +8 -0
  24. package/lib/cjs/types/components/settings/ThemeColorPresets.d.ts +6 -0
  25. package/lib/cjs/types/components/settings/ThemeContrast.d.ts +6 -0
  26. package/lib/cjs/types/components/settings/ThemeLocalization.d.ts +6 -0
  27. package/lib/cjs/types/components/settings/ThemeRtlLayout.d.ts +6 -0
  28. package/lib/cjs/types/components/settings/config-setting.d.ts +2 -0
  29. package/lib/cjs/types/components/settings/drawer/BoxMask.d.ts +5 -0
  30. package/lib/cjs/types/components/settings/drawer/SettingColorPresets.d.ts +1 -0
  31. package/lib/cjs/types/components/settings/drawer/SettingContrast.d.ts +1 -0
  32. package/lib/cjs/types/components/settings/drawer/SettingDirection.d.ts +1 -0
  33. package/lib/cjs/types/components/settings/drawer/SettingFullscreen.d.ts +1 -0
  34. package/lib/cjs/types/components/settings/drawer/SettingLayout.d.ts +1 -0
  35. package/lib/cjs/types/components/settings/drawer/SettingMode.d.ts +1 -0
  36. package/lib/cjs/types/components/settings/drawer/SettingStretch.d.ts +1 -0
  37. package/lib/cjs/types/components/settings/drawer/ToggleButton.d.ts +7 -0
  38. package/lib/cjs/types/components/settings/drawer/index.d.ts +1 -0
  39. package/lib/cjs/types/components/settings/index.d.ts +6 -0
  40. package/lib/cjs/types/components/settings/presets.d.ts +1941 -0
  41. package/lib/cjs/types/components/settings/type.d.ts +56 -0
  42. package/lib/cjs/types/components/upload/UploadImage.d.ts +2 -0
  43. package/lib/cjs/types/components/upload/UploadSingleFile.d.ts +1 -1
  44. package/lib/cjs/types/components/upload/index.d.ts +1 -0
  45. package/lib/cjs/types/components/upload/type.d.ts +2 -0
  46. package/lib/cjs/types/context/AppConfigurationsContext.d.ts +8 -2
  47. package/lib/cjs/types/context/CollapseDrawerContext.d.ts +15 -0
  48. package/lib/cjs/types/context/SettingsContext.d.ts +8 -0
  49. package/lib/cjs/types/context/auth/AuthContext.d.ts +14 -0
  50. package/lib/cjs/types/context/auth/AuthReducer.d.ts +18 -0
  51. package/lib/cjs/types/context/auth/index.d.ts +2 -0
  52. package/lib/cjs/types/context/auth/types.d.ts +9 -0
  53. package/lib/cjs/types/context/index.d.ts +3 -0
  54. package/lib/cjs/types/helpers/textUtils.d.ts +1 -0
  55. package/lib/cjs/types/hooks/RequetState.d.ts +8 -1
  56. package/lib/cjs/types/hooks/index.d.ts +2 -0
  57. package/lib/cjs/types/hooks/useApi.d.ts +2 -1
  58. package/lib/cjs/types/hooks/useAppConfigurations.d.ts +5 -0
  59. package/lib/cjs/types/hooks/useAuth.d.ts +6 -0
  60. package/lib/cjs/types/hooks/useCollapseDrawer.d.ts +2 -0
  61. package/lib/cjs/types/hooks/useLocalStorage.d.ts +1 -0
  62. package/lib/cjs/types/hooks/useLocales.d.ts +16 -0
  63. package/lib/cjs/types/hooks/useSettings.d.ts +2 -0
  64. package/lib/cjs/types/index.d.ts +5 -1
  65. package/lib/cjs/types/layout/dashboard/config-navigation.d.ts +4 -4
  66. package/lib/cjs/types/layouts/LogoOnlyLayout.d.ts +1 -0
  67. package/lib/cjs/types/layouts/config.d.ts +34 -0
  68. package/lib/cjs/types/layouts/dashboard/header/AccountPopover.d.ts +1 -0
  69. package/lib/cjs/types/layouts/dashboard/header/LanguagePopover.d.ts +1 -0
  70. package/lib/cjs/types/layouts/dashboard/header/NotificationsPopover.d.ts +13 -0
  71. package/lib/cjs/types/layouts/dashboard/header/Searchbar.d.ts +4 -0
  72. package/lib/cjs/types/layouts/dashboard/header/index.d.ts +7 -0
  73. package/lib/cjs/types/layouts/dashboard/index.d.ts +1 -0
  74. package/lib/cjs/types/layouts/dashboard/navbar/CollapseButton.d.ts +6 -0
  75. package/lib/cjs/types/layouts/dashboard/navbar/NavbarAccount.d.ts +5 -0
  76. package/lib/cjs/types/layouts/dashboard/navbar/NavbarVertical.d.ts +8 -0
  77. package/lib/cjs/types/layouts/dashboard/navbar/UserNavBar.d.ts +4 -0
  78. package/lib/cjs/types/pages/Page404.d.ts +1 -0
  79. package/lib/cjs/types/pages/auth/Login.d.ts +6 -0
  80. package/lib/cjs/types/pages/auth/LoginForm.d.ts +1 -0
  81. package/lib/cjs/types/pages/index.d.ts +2 -0
  82. package/lib/cjs/types/permissions/checker.d.ts +2 -0
  83. package/lib/cjs/types/permissions/index.d.ts +2 -0
  84. package/lib/cjs/types/permissions/keys.d.ts +6 -0
  85. package/lib/cjs/types/routes/AdminRouter.d.ts +10 -10
  86. package/lib/cjs/types/routes/DashBoardRouter.d.ts +11 -8
  87. package/lib/cjs/types/routes/paths.d.ts +5 -5
  88. package/lib/cjs/types/sections/dashboard/CreateNewDialog.d.ts +0 -1
  89. package/lib/cjs/types/theme/breakpoints.d.ts +10 -0
  90. package/lib/cjs/types/theme/index.d.ts +6 -14
  91. package/lib/cjs/types/theme/overrides/Accordion.d.ts +34 -0
  92. package/lib/cjs/types/theme/overrides/Alert.d.ts +97 -0
  93. package/lib/cjs/types/theme/overrides/Autocomplete.d.ts +18 -0
  94. package/lib/cjs/types/theme/overrides/Avatar.d.ts +24 -0
  95. package/lib/cjs/types/theme/overrides/Backdrop.d.ts +13 -0
  96. package/lib/cjs/types/theme/overrides/Badge.d.ts +12 -0
  97. package/lib/cjs/types/theme/overrides/Breadcrumbs.d.ts +11 -0
  98. package/lib/cjs/types/theme/overrides/Button.d.ts +51 -0
  99. package/lib/cjs/types/theme/overrides/ButtonGroup.d.ts +39 -0
  100. package/lib/cjs/types/theme/overrides/Card.d.ts +36 -0
  101. package/lib/cjs/types/theme/overrides/Checkbox.d.ts +32 -0
  102. package/lib/cjs/types/theme/overrides/Chip.d.ts +40 -0
  103. package/lib/cjs/types/theme/overrides/ControlLabel.d.ts +833 -0
  104. package/lib/cjs/types/theme/overrides/CssBaseline.d.ts +42 -0
  105. package/lib/cjs/types/theme/overrides/CustomIcons.d.ts +14 -0
  106. package/lib/cjs/types/theme/overrides/DataGrid.d.ts +1710 -0
  107. package/lib/cjs/types/theme/overrides/Dialog.d.ts +55 -0
  108. package/lib/cjs/types/theme/overrides/Drawer.d.ts +17 -0
  109. package/lib/cjs/types/theme/overrides/Fab.d.ts +34 -0
  110. package/lib/cjs/types/theme/overrides/Input.d.ts +64 -0
  111. package/lib/cjs/types/theme/overrides/Link.d.ts +8 -0
  112. package/lib/cjs/types/theme/overrides/List.d.ts +32 -0
  113. package/lib/cjs/types/theme/overrides/LoadingButton.d.ts +17 -0
  114. package/lib/cjs/types/theme/overrides/Menu.d.ts +15 -0
  115. package/lib/cjs/types/theme/overrides/Pagination.d.ts +30 -0
  116. package/lib/cjs/types/theme/overrides/Paper.d.ts +21 -0
  117. package/lib/cjs/types/theme/overrides/Popover.d.ts +11 -0
  118. package/lib/cjs/types/theme/overrides/Progress.d.ts +20 -0
  119. package/lib/cjs/types/theme/overrides/Radio.d.ts +16 -0
  120. package/lib/cjs/types/theme/overrides/Rating.d.ts +31 -0
  121. package/lib/cjs/types/theme/overrides/Select.d.ts +9 -0
  122. package/lib/cjs/types/theme/overrides/Skeleton.d.ts +13 -0
  123. package/lib/cjs/types/theme/overrides/Slider.d.ts +23 -0
  124. package/lib/cjs/types/theme/overrides/Stepper.d.ts +10 -0
  125. package/lib/cjs/types/theme/overrides/SvgIcon.d.ts +17 -0
  126. package/lib/cjs/types/theme/overrides/Switch.d.ts +28 -0
  127. package/lib/cjs/types/theme/overrides/Table.d.ts +70 -0
  128. package/lib/cjs/types/theme/overrides/Tabs.d.ts +53 -0
  129. package/lib/cjs/types/theme/overrides/Timeline.d.ts +17 -0
  130. package/lib/cjs/types/theme/overrides/ToggleButton.d.ts +43 -0
  131. package/lib/cjs/types/theme/overrides/Tooltip.d.ts +13 -0
  132. package/lib/cjs/types/theme/overrides/TreeView.d.ts +829 -0
  133. package/lib/cjs/types/theme/overrides/Typography.d.ts +13 -0
  134. package/lib/cjs/types/theme/overrides/index.d.ts +1 -1
  135. package/lib/cjs/types/theme/palette.d.ts +255 -79
  136. package/lib/cjs/types/theme/shadows.d.ts +67 -2
  137. package/lib/cjs/types/theme/typography.d.ts +8 -30
  138. package/lib/cjs/types/utils/AwsConfig.d.ts +1 -1
  139. package/lib/cjs/types/utils/StorageManager.d.ts +4 -0
  140. package/lib/cjs/types/utils/UUIDGenerator.d.ts +2 -0
  141. package/lib/cjs/types/utils/cssStyles.d.ts +78 -0
  142. package/lib/cjs/types/utils/getColorPresets.d.ts +73 -0
  143. package/lib/cjs/types/utils/getFontValue.d.ts +24 -0
  144. package/lib/cjs/types/utils/index.d.ts +1 -0
  145. package/lib/esm/index.css +18 -38
  146. package/lib/esm/index.js +13 -13
  147. package/lib/esm/types/components/Image.d.ts +12 -0
  148. package/lib/esm/types/components/Logo.d.ts +6 -0
  149. package/lib/esm/types/components/MotionLazyContainer.d.ts +6 -0
  150. package/lib/esm/types/components/SearchNotFound.d.ts +6 -0
  151. package/lib/esm/types/components/dataGrid/ExpandableCell.d.ts +3 -0
  152. package/lib/esm/types/components/hook-form/RHFDatePicker.d.ts +2 -1
  153. package/lib/esm/types/components/hook-form/RHFTagsField.d.ts +21 -0
  154. package/lib/esm/types/components/hook-form/RHFUpload.d.ts +15 -2
  155. package/lib/esm/types/components/hook-form/index.d.ts +2 -0
  156. package/lib/esm/types/components/index.d.ts +2 -0
  157. package/lib/esm/types/components/nav-section/horizontal/NavItem.d.ts +4 -0
  158. package/lib/esm/types/components/nav-section/horizontal/NavList.d.ts +6 -0
  159. package/lib/esm/types/components/nav-section/horizontal/index.d.ts +5 -1
  160. package/lib/esm/types/components/nav-section/horizontal/style.d.ts +47 -0
  161. package/lib/esm/types/components/nav-section/index.d.ts +4 -0
  162. package/lib/esm/types/components/nav-section/type.d.ts +35 -0
  163. package/lib/esm/types/components/nav-section/vertical/NavItem.d.ts +13 -0
  164. package/lib/esm/types/components/nav-section/vertical/NavList.d.ts +7 -0
  165. package/lib/esm/types/components/nav-section/vertical/index.d.ts +16 -1
  166. package/lib/esm/types/components/nav-section/vertical/style.d.ts +36 -0
  167. package/lib/esm/types/components/settings/SettingsContext.d.ts +8 -0
  168. package/lib/esm/types/components/settings/ThemeColorPresets.d.ts +6 -0
  169. package/lib/esm/types/components/settings/ThemeContrast.d.ts +6 -0
  170. package/lib/esm/types/components/settings/ThemeLocalization.d.ts +6 -0
  171. package/lib/esm/types/components/settings/ThemeRtlLayout.d.ts +6 -0
  172. package/lib/esm/types/components/settings/config-setting.d.ts +2 -0
  173. package/lib/esm/types/components/settings/drawer/BoxMask.d.ts +5 -0
  174. package/lib/esm/types/components/settings/drawer/SettingColorPresets.d.ts +1 -0
  175. package/lib/esm/types/components/settings/drawer/SettingContrast.d.ts +1 -0
  176. package/lib/esm/types/components/settings/drawer/SettingDirection.d.ts +1 -0
  177. package/lib/esm/types/components/settings/drawer/SettingFullscreen.d.ts +1 -0
  178. package/lib/esm/types/components/settings/drawer/SettingLayout.d.ts +1 -0
  179. package/lib/esm/types/components/settings/drawer/SettingMode.d.ts +1 -0
  180. package/lib/esm/types/components/settings/drawer/SettingStretch.d.ts +1 -0
  181. package/lib/esm/types/components/settings/drawer/ToggleButton.d.ts +7 -0
  182. package/lib/esm/types/components/settings/drawer/index.d.ts +1 -0
  183. package/lib/esm/types/components/settings/index.d.ts +6 -0
  184. package/lib/esm/types/components/settings/presets.d.ts +1941 -0
  185. package/lib/esm/types/components/settings/type.d.ts +56 -0
  186. package/lib/esm/types/components/upload/UploadImage.d.ts +2 -0
  187. package/lib/esm/types/components/upload/UploadSingleFile.d.ts +1 -1
  188. package/lib/esm/types/components/upload/index.d.ts +1 -0
  189. package/lib/esm/types/components/upload/type.d.ts +2 -0
  190. package/lib/esm/types/context/AppConfigurationsContext.d.ts +8 -2
  191. package/lib/esm/types/context/CollapseDrawerContext.d.ts +15 -0
  192. package/lib/esm/types/context/SettingsContext.d.ts +8 -0
  193. package/lib/esm/types/context/auth/AuthContext.d.ts +14 -0
  194. package/lib/esm/types/context/auth/AuthReducer.d.ts +18 -0
  195. package/lib/esm/types/context/auth/index.d.ts +2 -0
  196. package/lib/esm/types/context/auth/types.d.ts +9 -0
  197. package/lib/esm/types/context/index.d.ts +3 -0
  198. package/lib/esm/types/helpers/textUtils.d.ts +1 -0
  199. package/lib/esm/types/hooks/RequetState.d.ts +8 -1
  200. package/lib/esm/types/hooks/index.d.ts +2 -0
  201. package/lib/esm/types/hooks/useApi.d.ts +2 -1
  202. package/lib/esm/types/hooks/useAppConfigurations.d.ts +5 -0
  203. package/lib/esm/types/hooks/useAuth.d.ts +6 -0
  204. package/lib/esm/types/hooks/useCollapseDrawer.d.ts +2 -0
  205. package/lib/esm/types/hooks/useLocalStorage.d.ts +1 -0
  206. package/lib/esm/types/hooks/useLocales.d.ts +16 -0
  207. package/lib/esm/types/hooks/useSettings.d.ts +2 -0
  208. package/lib/esm/types/index.d.ts +5 -1
  209. package/lib/esm/types/layout/dashboard/config-navigation.d.ts +4 -4
  210. package/lib/esm/types/layouts/LogoOnlyLayout.d.ts +1 -0
  211. package/lib/esm/types/layouts/config.d.ts +34 -0
  212. package/lib/esm/types/layouts/dashboard/header/AccountPopover.d.ts +1 -0
  213. package/lib/esm/types/layouts/dashboard/header/LanguagePopover.d.ts +1 -0
  214. package/lib/esm/types/layouts/dashboard/header/NotificationsPopover.d.ts +13 -0
  215. package/lib/esm/types/layouts/dashboard/header/Searchbar.d.ts +4 -0
  216. package/lib/esm/types/layouts/dashboard/header/index.d.ts +7 -0
  217. package/lib/esm/types/layouts/dashboard/index.d.ts +1 -0
  218. package/lib/esm/types/layouts/dashboard/navbar/CollapseButton.d.ts +6 -0
  219. package/lib/esm/types/layouts/dashboard/navbar/NavbarAccount.d.ts +5 -0
  220. package/lib/esm/types/layouts/dashboard/navbar/NavbarVertical.d.ts +8 -0
  221. package/lib/esm/types/layouts/dashboard/navbar/UserNavBar.d.ts +4 -0
  222. package/lib/esm/types/pages/Page404.d.ts +1 -0
  223. package/lib/esm/types/pages/auth/Login.d.ts +6 -0
  224. package/lib/esm/types/pages/auth/LoginForm.d.ts +1 -0
  225. package/lib/esm/types/pages/index.d.ts +2 -0
  226. package/lib/esm/types/permissions/checker.d.ts +2 -0
  227. package/lib/esm/types/permissions/index.d.ts +2 -0
  228. package/lib/esm/types/permissions/keys.d.ts +6 -0
  229. package/lib/esm/types/routes/AdminRouter.d.ts +10 -10
  230. package/lib/esm/types/routes/DashBoardRouter.d.ts +11 -8
  231. package/lib/esm/types/routes/paths.d.ts +5 -5
  232. package/lib/esm/types/sections/dashboard/CreateNewDialog.d.ts +0 -1
  233. package/lib/esm/types/theme/breakpoints.d.ts +10 -0
  234. package/lib/esm/types/theme/index.d.ts +6 -14
  235. package/lib/esm/types/theme/overrides/Accordion.d.ts +34 -0
  236. package/lib/esm/types/theme/overrides/Alert.d.ts +97 -0
  237. package/lib/esm/types/theme/overrides/Autocomplete.d.ts +18 -0
  238. package/lib/esm/types/theme/overrides/Avatar.d.ts +24 -0
  239. package/lib/esm/types/theme/overrides/Backdrop.d.ts +13 -0
  240. package/lib/esm/types/theme/overrides/Badge.d.ts +12 -0
  241. package/lib/esm/types/theme/overrides/Breadcrumbs.d.ts +11 -0
  242. package/lib/esm/types/theme/overrides/Button.d.ts +51 -0
  243. package/lib/esm/types/theme/overrides/ButtonGroup.d.ts +39 -0
  244. package/lib/esm/types/theme/overrides/Card.d.ts +36 -0
  245. package/lib/esm/types/theme/overrides/Checkbox.d.ts +32 -0
  246. package/lib/esm/types/theme/overrides/Chip.d.ts +40 -0
  247. package/lib/esm/types/theme/overrides/ControlLabel.d.ts +833 -0
  248. package/lib/esm/types/theme/overrides/CssBaseline.d.ts +42 -0
  249. package/lib/esm/types/theme/overrides/CustomIcons.d.ts +14 -0
  250. package/lib/esm/types/theme/overrides/DataGrid.d.ts +1710 -0
  251. package/lib/esm/types/theme/overrides/Dialog.d.ts +55 -0
  252. package/lib/esm/types/theme/overrides/Drawer.d.ts +17 -0
  253. package/lib/esm/types/theme/overrides/Fab.d.ts +34 -0
  254. package/lib/esm/types/theme/overrides/Input.d.ts +64 -0
  255. package/lib/esm/types/theme/overrides/Link.d.ts +8 -0
  256. package/lib/esm/types/theme/overrides/List.d.ts +32 -0
  257. package/lib/esm/types/theme/overrides/LoadingButton.d.ts +17 -0
  258. package/lib/esm/types/theme/overrides/Menu.d.ts +15 -0
  259. package/lib/esm/types/theme/overrides/Pagination.d.ts +30 -0
  260. package/lib/esm/types/theme/overrides/Paper.d.ts +21 -0
  261. package/lib/esm/types/theme/overrides/Popover.d.ts +11 -0
  262. package/lib/esm/types/theme/overrides/Progress.d.ts +20 -0
  263. package/lib/esm/types/theme/overrides/Radio.d.ts +16 -0
  264. package/lib/esm/types/theme/overrides/Rating.d.ts +31 -0
  265. package/lib/esm/types/theme/overrides/Select.d.ts +9 -0
  266. package/lib/esm/types/theme/overrides/Skeleton.d.ts +13 -0
  267. package/lib/esm/types/theme/overrides/Slider.d.ts +23 -0
  268. package/lib/esm/types/theme/overrides/Stepper.d.ts +10 -0
  269. package/lib/esm/types/theme/overrides/SvgIcon.d.ts +17 -0
  270. package/lib/esm/types/theme/overrides/Switch.d.ts +28 -0
  271. package/lib/esm/types/theme/overrides/Table.d.ts +70 -0
  272. package/lib/esm/types/theme/overrides/Tabs.d.ts +53 -0
  273. package/lib/esm/types/theme/overrides/Timeline.d.ts +17 -0
  274. package/lib/esm/types/theme/overrides/ToggleButton.d.ts +43 -0
  275. package/lib/esm/types/theme/overrides/Tooltip.d.ts +13 -0
  276. package/lib/esm/types/theme/overrides/TreeView.d.ts +829 -0
  277. package/lib/esm/types/theme/overrides/Typography.d.ts +13 -0
  278. package/lib/esm/types/theme/overrides/index.d.ts +1 -1
  279. package/lib/esm/types/theme/palette.d.ts +255 -79
  280. package/lib/esm/types/theme/shadows.d.ts +67 -2
  281. package/lib/esm/types/theme/typography.d.ts +8 -30
  282. package/lib/esm/types/utils/AwsConfig.d.ts +1 -1
  283. package/lib/esm/types/utils/StorageManager.d.ts +4 -0
  284. package/lib/esm/types/utils/UUIDGenerator.d.ts +2 -0
  285. package/lib/esm/types/utils/cssStyles.d.ts +78 -0
  286. package/lib/esm/types/utils/getColorPresets.d.ts +73 -0
  287. package/lib/esm/types/utils/getFontValue.d.ts +24 -0
  288. package/lib/esm/types/utils/index.d.ts +1 -0
  289. package/lib/index.d.ts +594 -42
  290. package/package.json +91 -89
@@ -0,0 +1,56 @@
1
+ /// <reference types="react" />
2
+ type ColorVariants = {
3
+ name: string;
4
+ lighter: string;
5
+ light: string;
6
+ main: string;
7
+ dark: string;
8
+ darker: string;
9
+ contrastText: string;
10
+ };
11
+ export type ThemeMode = 'light' | 'dark';
12
+ export type ThemeDirection = 'rtl' | 'ltr';
13
+ export type ThemeContrast = 'default' | 'bold';
14
+ export type ThemeLayout = 'vertical' | 'horizontal';
15
+ export type ThemeColorPresets = 'default' | 'purple' | 'cyan' | 'blue' | 'orange' | 'red';
16
+ export type ThemeStretch = boolean;
17
+ export type SettingsValueProps = {
18
+ themeMode: ThemeMode;
19
+ themeLayout: ThemeLayout;
20
+ themeStretch: ThemeStretch;
21
+ themeContrast: ThemeContrast;
22
+ themeDirection: ThemeDirection;
23
+ themeColorPresets: ThemeColorPresets;
24
+ };
25
+ export type SettingsContextProps = {
26
+ themeMode: ThemeMode;
27
+ themeLayout: ThemeLayout;
28
+ themeContrast: ThemeContrast;
29
+ themeDirection: ThemeDirection;
30
+ themeColorPresets: ThemeColorPresets;
31
+ themeStretch: boolean;
32
+ setColor: ColorVariants;
33
+ colorOption: {
34
+ name: string;
35
+ value: string;
36
+ }[];
37
+ presetsColor?: ColorVariants;
38
+ presetsOption: {
39
+ name: string;
40
+ value: string;
41
+ }[];
42
+ onToggleMode: VoidFunction;
43
+ onChangeMode: (event: React.ChangeEvent<HTMLInputElement>) => void;
44
+ onToggleDirection: VoidFunction;
45
+ onChangeDirection: (event: React.ChangeEvent<HTMLInputElement>) => void;
46
+ onChangeDirectionByLang: (lang: string) => void;
47
+ onToggleLayout: VoidFunction;
48
+ onChangeLayout: (event: React.ChangeEvent<HTMLInputElement>) => void;
49
+ onToggleContrast: VoidFunction;
50
+ onChangeContrast: (event: React.ChangeEvent<HTMLInputElement>) => void;
51
+ onChangeColor: (event: React.ChangeEvent<HTMLInputElement>) => void;
52
+ onChangeColorPresets: (event: React.ChangeEvent<HTMLInputElement>) => void;
53
+ onToggleStretch: VoidFunction;
54
+ onResetSetting: VoidFunction;
55
+ };
56
+ export {};
@@ -0,0 +1,2 @@
1
+ import { UploadProps } from './type';
2
+ export default function UploadImage({ error, file, helperText, size, sx, Content, ...other }: UploadProps): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
1
  import { UploadProps } from './type';
2
- export default function UploadSingleFile({ error, file, helperText, sx, ...other }: UploadProps): import("react/jsx-runtime").JSX.Element;
2
+ export default function UploadSingleFile({ error, file, helperText, sx, Content, ...other }: UploadProps): import("react/jsx-runtime").JSX.Element;
@@ -5,3 +5,4 @@ export { default as MultiFilePreview } from './MultiFilePreview';
5
5
  export { default as UploadAvatar } from './UploadAvatar';
6
6
  export { default as UploadMultiFile } from './UploadMultiFile';
7
7
  export { default as UploadSingleFile } from './UploadSingleFile';
8
+ export { default as UploadImage } from './UploadImage';
@@ -16,6 +16,8 @@ export interface UploadProps extends DropzoneOptions {
16
16
  helperText?: ReactNode;
17
17
  label?: string;
18
18
  sx?: SxProps<Theme>;
19
+ Content?: ReactNode;
20
+ size?: string;
19
21
  }
20
22
  export interface UploadMultiFileProps extends DropzoneOptions {
21
23
  files: (File | string)[];
@@ -1,6 +1,8 @@
1
- /// <reference types="react" />
1
+ import { ReactNode } from 'react';
2
2
  import { SizeType } from '../helpers/Types';
3
+ import { PaletteOptions } from '@mui/material';
3
4
  type AppConfigurations = {
5
+ children?: ReactNode;
4
6
  textFieldSize: SizeType;
5
7
  themeLayout?: 'vertical' | 'horizontal' | 'mini';
6
8
  defaultRowsPerPage: number;
@@ -9,7 +11,11 @@ type AppConfigurations = {
9
11
  loadingLoago?: string;
10
12
  navBarLogo?: string;
11
13
  miniNavBarLogo?: string;
14
+ loginWeclomeImage?: string;
15
+ loginLogo?: string;
16
+ loginLoginMessage?: string;
17
+ palette?: PaletteOptions;
12
18
  };
13
19
  declare const AppConfigurationsContext: import("react").Context<AppConfigurations>;
14
- declare const AppConfigurationsContextProvider: (props: any) => import("react/jsx-runtime").JSX.Element;
20
+ declare const AppConfigurationsContextProvider: (props: AppConfigurations) => import("react/jsx-runtime").JSX.Element;
15
21
  export { AppConfigurationsContext, AppConfigurationsContextProvider };
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+ export type CollapseDrawerContextProps = {
3
+ isCollapse?: boolean;
4
+ collapseClick: boolean;
5
+ collapseHover: boolean;
6
+ onToggleCollapse: VoidFunction;
7
+ onHoverEnter: VoidFunction;
8
+ onHoverLeave: VoidFunction;
9
+ };
10
+ declare const CollapseDrawerContext: import("react").Context<CollapseDrawerContextProps>;
11
+ type CollapseDrawerProviderProps = {
12
+ children: ReactNode;
13
+ };
14
+ declare function CollapseDrawerProvider({ children }: CollapseDrawerProviderProps): import("react/jsx-runtime").JSX.Element;
15
+ export { CollapseDrawerProvider, CollapseDrawerContext };
@@ -0,0 +1,8 @@
1
+ import { ReactNode } from 'react';
2
+ import { SettingsContextProps } from '../components/settings/type';
3
+ declare const SettingsContext: import("react").Context<SettingsContextProps>;
4
+ type SettingsProviderProps = {
5
+ children: ReactNode;
6
+ };
7
+ declare function SettingsProvider({ children }: SettingsProviderProps): import("react/jsx-runtime").JSX.Element;
8
+ export { SettingsProvider, SettingsContext };
@@ -0,0 +1,14 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { User } from './types';
3
+ interface Props {
4
+ storageKey: string;
5
+ children: ReactNode;
6
+ }
7
+ export declare const AuthContext: React.Context<{
8
+ user: User | null;
9
+ isAuthenticated: boolean;
10
+ login: (user: User) => void;
11
+ logout: () => void;
12
+ }>;
13
+ declare const AuthProvider: React.FC<Props>;
14
+ export default AuthProvider;
@@ -0,0 +1,18 @@
1
+ import { Reducer } from 'react';
2
+ import { User } from './types';
3
+ export declare enum ActionTypes {
4
+ LOGIN = "LOGIN",
5
+ LOGOUT = "LOGOUT"
6
+ }
7
+ export interface State {
8
+ user: User | null;
9
+ isAuthenticated: boolean;
10
+ }
11
+ export type Action = {
12
+ type: ActionTypes.LOGIN;
13
+ payload: User;
14
+ } | {
15
+ type: ActionTypes.LOGOUT;
16
+ };
17
+ declare const AuthReducer: Reducer<State, Action>;
18
+ export default AuthReducer;
@@ -0,0 +1,2 @@
1
+ export { default as AuthReducer } from './AuthReducer';
2
+ export { default as AuthContextProvider } from './AuthContext';
@@ -0,0 +1,9 @@
1
+ export interface User {
2
+ _id?: string;
3
+ name?: string;
4
+ email?: string;
5
+ firstName?: string;
6
+ lastName?: string;
7
+ username?: string;
8
+ photo?: string;
9
+ }
@@ -7,3 +7,6 @@ export * from './CredentialsContext';
7
7
  export * from './SnackAlertContext';
8
8
  export * from './DialogContext';
9
9
  export * from './NotificationsContext';
10
+ export * from './auth';
11
+ export * from './CollapseDrawerContext';
12
+ export { default as IResouce } from './Resource';
@@ -0,0 +1 @@
1
+ export declare const isLongUnbreakableText: (value: any) => boolean;
@@ -2,21 +2,28 @@ export declare enum RequestState {
2
2
  IDLE = "idle",
3
3
  LOADING = "loading",
4
4
  SUCCEEDED = "succeeded",
5
- FAILED = "failed"
5
+ FAILED = "failed",
6
+ UPLOADED = "uploaded"
6
7
  }
8
+ export type UploadRsult = {
9
+ [key: string]: string | string[];
10
+ };
7
11
  export interface IState<T> {
8
12
  data: T | undefined;
9
13
  state: RequestState;
10
14
  error?: any | null;
15
+ uploadResult?: UploadRsult;
11
16
  }
12
17
  export declare class State<T> {
13
18
  data: T | undefined;
14
19
  state: RequestState;
15
20
  error?: any;
21
+ uploadResult?: UploadRsult | undefined;
16
22
  private constructor();
17
23
  static idle<T>(data?: T): IState<T>;
18
24
  static loading<T>(data?: T): IState<T>;
19
25
  static succeeded<T>(data: T): IState<T>;
20
26
  static error<T>(error: any, data?: T): IState<T>;
27
+ static uploaded<T>(currentState: State<T>, uploadResult: UploadRsult): IState<T>;
21
28
  }
22
29
  export default RequestState;
@@ -8,3 +8,5 @@ export * from './useSnackAlert';
8
8
  export * from './usePaths';
9
9
  export * from './useDialog';
10
10
  export * from './useNotifications';
11
+ export * from './useAuth';
12
+ export * from './useCollapseDrawer';
@@ -1,7 +1,7 @@
1
1
  import { IState } from './RequetState';
2
2
  import { AxiosRequestConfig } from 'axios';
3
3
  export interface RequestConfig {
4
- url: string;
4
+ url?: string;
5
5
  body?: any;
6
6
  axiosRequestConfig?: AxiosRequestConfig;
7
7
  query?: any;
@@ -17,5 +17,6 @@ declare function useApi<T>(initialValue?: IState<any>): {
17
17
  remove: (requstConfig: RequestConfig) => void;
18
18
  revertToIdle: () => void;
19
19
  revertToInitialState: () => void;
20
+ uploadToS3: (requstConfig: RequestConfig) => void;
20
21
  };
21
22
  export { useApi };
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const useAppConfigurations: () => {
3
+ children?: import("react").ReactNode;
3
4
  textFieldSize: import("..").SizeType;
4
5
  themeLayout?: "horizontal" | "vertical" | "mini" | undefined;
5
6
  defaultRowsPerPage: number;
@@ -8,4 +9,8 @@ export declare const useAppConfigurations: () => {
8
9
  loadingLoago?: string | undefined;
9
10
  navBarLogo?: string | undefined;
10
11
  miniNavBarLogo?: string | undefined;
12
+ loginWeclomeImage?: string | undefined;
13
+ loginLogo?: string | undefined;
14
+ loginLoginMessage?: string | undefined;
15
+ palette?: import("@mui/material").PaletteOptions | undefined;
11
16
  };
@@ -0,0 +1,6 @@
1
+ export declare const useAuth: () => {
2
+ user: import("../context/auth/types").User | null;
3
+ isAuthenticated: boolean;
4
+ login: (user: import("../context/auth/types").User) => void;
5
+ logout: () => void;
6
+ };
@@ -0,0 +1,2 @@
1
+ declare const useCollapseDrawer: () => import("../context/CollapseDrawerContext").CollapseDrawerContextProps;
2
+ export default useCollapseDrawer;
@@ -0,0 +1 @@
1
+ export default function useLocalStorage<ValueType>(key: string, defaultValue: ValueType): any[];
@@ -0,0 +1,16 @@
1
+ export default function useLocales(): {
2
+ onChangeLang: (newlang: string) => void;
3
+ translate: (text: any, options?: any) => string;
4
+ currentLang: {
5
+ label: string;
6
+ value: import("../helpers/Localization/LocalesEnums").Languages;
7
+ systemValue: import("@mui/material/locale").Localization;
8
+ icon: import("../helpers/Contsants").Flags;
9
+ };
10
+ allLangs: {
11
+ label: string;
12
+ value: import("../helpers/Localization/LocalesEnums").Languages;
13
+ systemValue: import("@mui/material/locale").Localization;
14
+ icon: import("../helpers/Contsants").Flags;
15
+ }[];
16
+ };
@@ -0,0 +1,2 @@
1
+ declare const useSettings: () => import("../components/settings/type").SettingsContextProps;
2
+ export default useSettings;
@@ -2,7 +2,6 @@ export * from './pages';
2
2
  export * from './hooks';
3
3
  export * from './context';
4
4
  export * from './ApiClient';
5
- export * from './layout/dashboard';
6
5
  export * from './theme';
7
6
  export { default as ThemeProvider } from './theme';
8
7
  export * from './routes';
@@ -11,3 +10,8 @@ export * from './components';
11
10
  export * from './sections/dashboard';
12
11
  export * from './actions';
13
12
  export * from './helpers';
13
+ export { default as DashboardLayout } from './layouts/dashboard';
14
+ export * from './permissions';
15
+ export * from './components/hook-form';
16
+ export * from './utils';
17
+ export { default as IdentityPalette } from './theme/palette';
@@ -1,4 +1,4 @@
1
- export declare function useNavData(): {
2
- subheader: string;
3
- items: any;
4
- }[];
1
+ export declare function useNavData(): {
2
+ subheader: string;
3
+ items: any;
4
+ }[];
@@ -0,0 +1 @@
1
+ export default function LogoOnlyLayout(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,34 @@
1
+ import { Languages } from '../helpers/Localization/LocalesEnums';
2
+ import { Flags } from '../helpers/Contsants';
3
+ import { SettingsValueProps } from '../components/settings/type';
4
+ export declare const HEADER: {
5
+ MOBILE_HEIGHT: number;
6
+ MAIN_DESKTOP_HEIGHT: number;
7
+ DASHBOARD_DESKTOP_HEIGHT: number;
8
+ DASHBOARD_DESKTOP_OFFSET_HEIGHT: number;
9
+ };
10
+ export declare const NAVBAR: {
11
+ BASE_WIDTH: number;
12
+ DASHBOARD_WIDTH: number;
13
+ DASHBOARD_COLLAPSE_WIDTH: number;
14
+ DASHBOARD_ITEM_ROOT_HEIGHT: number;
15
+ DASHBOARD_ITEM_SUB_HEIGHT: number;
16
+ DASHBOARD_ITEM_HORIZONTAL_HEIGHT: number;
17
+ };
18
+ export declare const ICON: {
19
+ NAVBAR_ITEM: number;
20
+ NAVBAR_ITEM_HORIZONTAL: number;
21
+ };
22
+ export declare const defaultSettings: SettingsValueProps;
23
+ export declare const allLangs: {
24
+ label: string;
25
+ value: Languages;
26
+ systemValue: import("@mui/material/locale").Localization;
27
+ icon: Flags;
28
+ }[];
29
+ export declare const defaultLang: {
30
+ label: string;
31
+ value: Languages;
32
+ systemValue: import("@mui/material/locale").Localization;
33
+ icon: Flags;
34
+ };
@@ -0,0 +1 @@
1
+ export default function AccountPopover(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function LanguagePopover(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ export interface IDashboardNotifications {
2
+ id: string;
3
+ text: string;
4
+ createdAt: Date;
5
+ clickable: boolean;
6
+ redirectUrl?: string;
7
+ redirectUrlType: any;
8
+ isRead: boolean;
9
+ priority: any;
10
+ type?: string;
11
+ data?: string;
12
+ }
13
+ export default function NotificationsPopover(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ declare function Searchbar(): import("react/jsx-runtime").JSX.Element;
3
+ declare const _default: import("react").MemoExoticComponent<typeof Searchbar>;
4
+ export default _default;
@@ -0,0 +1,7 @@
1
+ type Props = {
2
+ onOpenSidebar: VoidFunction;
3
+ isCollapse?: boolean;
4
+ verticalLayout?: boolean;
5
+ };
6
+ export default function DashboardHeader({ onOpenSidebar, isCollapse, verticalLayout }: Props): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1 @@
1
+ export default function DashboardLayout(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ type Props = {
2
+ onToggleCollapse: VoidFunction;
3
+ collapseClick: boolean;
4
+ };
5
+ export default function CollapseButton({ onToggleCollapse, collapseClick }: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,5 @@
1
+ type Props = {
2
+ isCollapse: boolean | undefined;
3
+ };
4
+ export default function NavbarAccount({ isCollapse }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export {};
@@ -0,0 +1,8 @@
1
+ export declare const getIconByName: (name: string) => import("react/jsx-runtime").JSX.Element;
2
+ type Props = {
3
+ isOpenSidebar: boolean;
4
+ onCloseSidebar: VoidFunction;
5
+ };
6
+ export declare var navConfig: any;
7
+ export default function NavbarVertical({ isOpenSidebar, onCloseSidebar }: Props): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare function userNavBar(resources: any, path: any): {
2
+ subheader: string;
3
+ items: any;
4
+ }[];
@@ -0,0 +1 @@
1
+ export default function Page404(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export declare enum UserTypes {
2
+ ADMIN = 0,
3
+ VENDOR_USER = 1,
4
+ EVENT_CREATOR = 2
5
+ }
6
+ export default function Login(props: any): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function LoginForm(props: any): import("react/jsx-runtime").JSX.Element;
@@ -6,3 +6,5 @@ export { default as IdentityEdit } from './IdentityEditPage';
6
6
  export { default as IdenityModelConfiguration } from './IdentityModelConfigurationPage';
7
7
  export { default as IdentityPermissionPage } from './permissions';
8
8
  export { default as IdentityShowMailLog } from './maillog/ShowMailLog';
9
+ export { default as IdentityLoadingScreen } from './LoadingScreen';
10
+ export { default as Identity404 } from './Page404';
@@ -0,0 +1,2 @@
1
+ import IResource from '../context/Resource';
2
+ export declare function checkPermission(resource: IResource, permissionPrefixKey: string): boolean;
@@ -0,0 +1,2 @@
1
+ export * from './checker';
2
+ export * from './keys';
@@ -0,0 +1,6 @@
1
+ export declare enum PermissionDefaultKeys {
2
+ VIEW = "view",
3
+ CREATE = "create",
4
+ EDIT = "edit",
5
+ DELETE = "delete"
6
+ }
@@ -1,10 +1,10 @@
1
- import { SizeType } from '../helpers/Types';
2
- export declare var SIZE: SizeType;
3
- export default function AdminRouter(): {
4
- path: any;
5
- children: {
6
- path: string;
7
- element: import("react/jsx-runtime").JSX.Element;
8
- children: any[];
9
- }[];
10
- };
1
+ import { SizeType } from '../helpers/Types';
2
+ export declare var SIZE: SizeType;
3
+ export default function AdminRouter(): {
4
+ path: any;
5
+ children: {
6
+ path: string;
7
+ element: import("react/jsx-runtime").JSX.Element;
8
+ children: any[];
9
+ }[];
10
+ };
@@ -1,10 +1,13 @@
1
+ import { ReactElement } from 'react';
2
+ import { ResourcePaths } from '../context';
3
+ type Props = {
4
+ pathsObject: {
5
+ [key: string]: ResourcePaths;
6
+ };
7
+ HomePage: () => JSX.Element;
8
+ customs: ReactElement[];
9
+ };
1
10
  export type sizeType = 'small' | 'medium' | undefined;
2
11
  export declare var SIZE: sizeType;
3
- export default function DashBoardRouter(props: any): {
4
- path: string;
5
- children: {
6
- path: string;
7
- element: import("react/jsx-runtime").JSX.Element;
8
- children: any[];
9
- }[];
10
- };
12
+ export default function AdminRouter({ pathsObject, HomePage, customs }: Props): import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -1,5 +1,5 @@
1
- export declare function path(root: string, sublink: string): string;
2
- export declare const ADMIN_ROOT = "/admin";
3
- export declare var ADMIN_PATH: {
4
- [key: string]: any;
5
- };
1
+ export declare function path(root: string, sublink: string): string;
2
+ export declare const ADMIN_ROOT = "/admin";
3
+ export declare var ADMIN_PATH: {
4
+ [key: string]: any;
5
+ };
@@ -1,5 +1,4 @@
1
1
  import IResource from '../../context/Resource';
2
- import '../../theme/globals.css';
3
2
  export interface ICreateNewDialog {
4
3
  open: boolean;
5
4
  onDismiss: () => void;
@@ -0,0 +1,10 @@
1
+ declare const breakpoints: {
2
+ values: {
3
+ xs: number;
4
+ sm: number;
5
+ md: number;
6
+ lg: number;
7
+ xl: number;
8
+ };
9
+ };
10
+ export default breakpoints;
@@ -1,14 +1,6 @@
1
- /// <reference types="react" />
2
- import { PresetsColor } from './options/presets';
3
- export interface SettingsValueProps {
4
- themeStretch?: boolean;
5
- themeMode?: 'light' | 'dark';
6
- themeDirection?: 'rtl' | 'ltr';
7
- themeContrast?: 'default' | 'bold';
8
- themeColorPresets?: 'default' | 'cyan' | 'purple' | 'blue' | 'orange' | 'red';
9
- customColorPresets?: PresetsColor;
10
- }
11
- export interface ThemeProps extends SettingsValueProps {
12
- children: React.ReactNode;
13
- }
14
- export default function ThemeProvider({ children, themeColorPresets, themeContrast, themeDirection, themeMode, customColorPresets }: ThemeProps): import("react/jsx-runtime").JSX.Element;
1
+ import { ReactNode } from 'react';
2
+ type Props = {
3
+ children: ReactNode;
4
+ };
5
+ export default function ThemeProvider({ children }: Props): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,34 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ export default function Accordion(theme: Theme): {
3
+ MuiAccordion: {
4
+ styleOverrides: {
5
+ root: {
6
+ '&.Mui-expanded': {
7
+ boxShadow: string;
8
+ borderRadius: number;
9
+ };
10
+ '&.Mui-disabled': {
11
+ backgroundColor: string;
12
+ };
13
+ };
14
+ };
15
+ };
16
+ MuiAccordionSummary: {
17
+ styleOverrides: {
18
+ root: {
19
+ paddingLeft: string;
20
+ paddingRight: string;
21
+ '&.Mui-disabled': {
22
+ opacity: number;
23
+ color: string;
24
+ '& .MuiTypography-root': {
25
+ color: string;
26
+ };
27
+ };
28
+ };
29
+ expandIconWrapper: {
30
+ color: string;
31
+ };
32
+ };
33
+ };
34
+ };