@m4l/graphics 0.0.0

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 (269) hide show
  1. package/README.md +0 -0
  2. package/dist/features.js +2 -0
  3. package/dist/index.d.ts +3 -0
  4. package/dist/index.js +10992 -0
  5. package/dist/lib/@types/index.d.ts +6 -0
  6. package/dist/lib/components/CompanyLogo/index.d.ts +3 -0
  7. package/dist/lib/components/CompanyLogo/styles.d.ts +5 -0
  8. package/dist/lib/components/CompanyLogo/types.d.ts +6 -0
  9. package/dist/lib/components/DataGrid/components/Actions/components/Density/index.d.ts +2 -0
  10. package/dist/lib/components/DataGrid/components/Actions/components/Density/styles.d.ts +3 -0
  11. package/dist/lib/components/DataGrid/components/Actions/components/Filter/index.d.ts +2 -0
  12. package/dist/lib/components/DataGrid/components/Actions/components/Filter/styles.d.ts +2 -0
  13. package/dist/lib/components/DataGrid/components/Actions/components/RowsCount/index.d.ts +2 -0
  14. package/dist/lib/components/DataGrid/components/Actions/components/RowsCount/styles.d.ts +4 -0
  15. package/dist/lib/components/DataGrid/components/Actions/components/Settings/ColumnsConfig/components/FormatterColumn/index.d.ts +4 -0
  16. package/dist/lib/components/DataGrid/components/Actions/components/Settings/ColumnsConfig/index.d.ts +3 -0
  17. package/dist/lib/components/DataGrid/components/Actions/components/Settings/ColumnsConfig/styles.d.ts +8 -0
  18. package/dist/lib/components/DataGrid/components/Actions/components/Settings/ColumnsConfig/types.d.ts +25 -0
  19. package/dist/lib/components/DataGrid/components/Actions/components/Settings/index.d.ts +2 -0
  20. package/dist/lib/components/DataGrid/components/Actions/components/Settings/styles.d.ts +2 -0
  21. package/dist/lib/components/DataGrid/components/Actions/components/Settings/types.d.ts +2 -0
  22. package/dist/lib/components/DataGrid/components/Actions/index.d.ts +3 -0
  23. package/dist/lib/components/DataGrid/components/Actions/styles.d.ts +2 -0
  24. package/dist/lib/components/DataGrid/components/Actions/types.d.ts +11 -0
  25. package/dist/lib/components/DataGrid/components/Table/components/ActionsColumn.d.ts +4 -0
  26. package/dist/lib/components/DataGrid/components/Table/components/CheckboxFormatter.d.ts +3 -0
  27. package/dist/lib/components/DataGrid/components/Table/components/CustomIcons.d.ts +15 -0
  28. package/dist/lib/components/DataGrid/components/Table/components/DraggableHeaderRenderer.d.ts +6 -0
  29. package/dist/lib/components/DataGrid/components/Table/components/SelectColumn.d.ts +4 -0
  30. package/dist/lib/components/DataGrid/components/Table/components/SkeletonFormatter/index.d.ts +2 -0
  31. package/dist/lib/components/DataGrid/components/Table/components/SkeletonFormatter/styles.d.ts +2 -0
  32. package/dist/lib/components/DataGrid/components/Table/hooks/getDragHeaderRenderer.d.ts +3 -0
  33. package/dist/lib/components/DataGrid/components/Table/hooks/useFocusRef.d.ts +5 -0
  34. package/dist/lib/components/DataGrid/components/Table/hooks/useSortColumnsRows.d.ts +8 -0
  35. package/dist/lib/components/DataGrid/components/Table/index.d.ts +3 -0
  36. package/dist/lib/components/DataGrid/components/Table/styles.d.ts +3 -0
  37. package/dist/lib/components/DataGrid/contexts/BaseContext/index.d.ts +5 -0
  38. package/dist/lib/components/DataGrid/contexts/BaseContext/types.d.ts +51 -0
  39. package/dist/lib/components/DataGrid/contexts/FilterContext/index.d.ts +9 -0
  40. package/dist/lib/components/DataGrid/contexts/FilterContext/types.d.ts +11 -0
  41. package/dist/lib/components/DataGrid/dictionary.d.ts +3 -0
  42. package/dist/lib/components/DataGrid/formatters/BooleanFormatter/index.d.ts +3 -0
  43. package/dist/lib/components/DataGrid/formatters/BooleanFormatter/types.d.ts +5 -0
  44. package/dist/lib/components/DataGrid/formatters/DateFormatter/index.d.ts +3 -0
  45. package/dist/lib/components/DataGrid/formatters/DateFormatter/types.d.ts +6 -0
  46. package/dist/lib/components/DataGrid/formatters/index.d.ts +2 -0
  47. package/dist/lib/components/DataGrid/hooks/useBase.d.ts +1 -0
  48. package/dist/lib/components/DataGrid/hooks/useFilters.d.ts +1 -0
  49. package/dist/lib/components/DataGrid/index.d.ts +3 -0
  50. package/dist/lib/components/DataGrid/styles.d.ts +3 -0
  51. package/dist/lib/components/DataGrid/types.d.ts +56 -0
  52. package/dist/lib/components/FormActions/dictionary.d.ts +3 -0
  53. package/dist/lib/components/FormActions/index.d.ts +3 -0
  54. package/dist/lib/components/FormActions/styles.d.ts +2 -0
  55. package/dist/lib/components/FormActions/types.d.ts +7 -0
  56. package/dist/lib/components/Image/index.d.ts +3 -0
  57. package/dist/lib/components/Image/styles.d.ts +3 -0
  58. package/dist/lib/components/Image/types.d.ts +16 -0
  59. package/dist/lib/components/LanguagePopover/index.d.ts +3 -0
  60. package/dist/lib/components/LanguagePopover/types.d.ts +3 -0
  61. package/dist/lib/components/LinkWithRoute/index.d.ts +3 -0
  62. package/dist/lib/components/LinkWithRoute/types.d.ts +7 -0
  63. package/dist/lib/components/Loadable/index.d.ts +2 -0
  64. package/dist/lib/components/ModalDialog/components/Header/index.d.ts +3 -0
  65. package/dist/lib/components/ModalDialog/components/Header/types.d.ts +9 -0
  66. package/dist/lib/components/ModalDialog/dictionary.d.ts +3 -0
  67. package/dist/lib/components/ModalDialog/index.d.ts +2 -0
  68. package/dist/lib/components/ModalDialog/styles.d.ts +9 -0
  69. package/dist/lib/components/ModalDialog/types.d.ts +5 -0
  70. package/dist/lib/components/NoItemSelected/dictionary.d.ts +3 -0
  71. package/dist/lib/components/NoItemSelected/index.d.ts +2 -0
  72. package/dist/lib/components/NoItemSelected/styles.d.ts +5 -0
  73. package/dist/lib/components/NoItemSelected/types.d.ts +5 -0
  74. package/dist/lib/components/ObjectLogs/components/DetailDialog/index.d.ts +3 -0
  75. package/dist/lib/components/ObjectLogs/components/DetailDialog/styles.d.ts +3 -0
  76. package/dist/lib/components/ObjectLogs/components/DetailDialog/types.d.ts +3 -0
  77. package/dist/lib/components/ObjectLogs/components/DetailFormatter/index.d.ts +3 -0
  78. package/dist/lib/components/ObjectLogs/components/DetailFormatter/types.d.ts +3 -0
  79. package/dist/lib/components/ObjectLogs/dictionary.d.ts +3 -0
  80. package/dist/lib/components/ObjectLogs/index.d.ts +3 -0
  81. package/dist/lib/components/ObjectLogs/styles.d.ts +4 -0
  82. package/dist/lib/components/ObjectLogs/types.d.ts +18 -0
  83. package/dist/lib/components/Page/index.d.ts +9 -0
  84. package/dist/lib/components/PaperForm/index.d.ts +3 -0
  85. package/dist/lib/components/PaperForm/skeleton.d.ts +6 -0
  86. package/dist/lib/components/PaperForm/styles.d.ts +8 -0
  87. package/dist/lib/components/PaperForm/types.d.ts +7 -0
  88. package/dist/lib/components/ProgressBar/index.d.ts +3 -0
  89. package/dist/lib/components/PropertyValue/index.d.ts +3 -0
  90. package/dist/lib/components/PropertyValue/skeleton.d.ts +2 -0
  91. package/dist/lib/components/PropertyValue/styles.d.ts +6 -0
  92. package/dist/lib/components/PropertyValue/types.d.ts +11 -0
  93. package/dist/lib/components/Resizeable/index.d.ts +3 -0
  94. package/dist/lib/components/Resizeable/styles.d.ts +5 -0
  95. package/dist/lib/components/Resizeable/types.d.ts +8 -0
  96. package/dist/lib/components/ScrollBar/index.d.ts +3 -0
  97. package/dist/lib/components/ScrollBar/styles.d.ts +6 -0
  98. package/dist/lib/components/ScrollBar/types.d.ts +7 -0
  99. package/dist/lib/components/SplitLayout/index.d.ts +3 -0
  100. package/dist/lib/components/SplitLayout/styles.d.ts +4 -0
  101. package/dist/lib/components/SplitLayout/types.d.ts +9 -0
  102. package/dist/lib/components/Typography/index.d.ts +3 -0
  103. package/dist/lib/components/Typography/types.d.ts +5 -0
  104. package/dist/lib/components/animate/DialogAnimate.d.ts +7 -0
  105. package/dist/lib/components/animate/FabButtonAnimate.d.ts +8 -0
  106. package/dist/lib/components/animate/IconButtonAnimate/index.d.ts +4 -0
  107. package/dist/lib/components/animate/MotionContainer.d.ts +10 -0
  108. package/dist/lib/components/animate/MotionInView.d.ts +9 -0
  109. package/dist/lib/components/animate/MotionLazyContainer.d.ts +6 -0
  110. package/dist/lib/components/animate/TextAnimate.d.ts +9 -0
  111. package/dist/lib/components/animate/index.d.ts +8 -0
  112. package/dist/lib/components/animate/type.d.ts +26 -0
  113. package/dist/lib/components/animate/variants/actions.d.ts +5 -0
  114. package/dist/lib/components/animate/variants/background.d.ts +104 -0
  115. package/dist/lib/components/animate/variants/bounce.d.ts +136 -0
  116. package/dist/lib/components/animate/variants/container.d.ts +19 -0
  117. package/dist/lib/components/animate/variants/fade.d.ts +217 -0
  118. package/dist/lib/components/animate/variants/flip.d.ts +75 -0
  119. package/dist/lib/components/animate/variants/index.d.ts +12 -0
  120. package/dist/lib/components/animate/variants/path.d.ts +14 -0
  121. package/dist/lib/components/animate/variants/rotate.d.ts +39 -0
  122. package/dist/lib/components/animate/variants/scale.d.ts +75 -0
  123. package/dist/lib/components/animate/variants/slide.d.ts +155 -0
  124. package/dist/lib/components/animate/variants/transition.d.ts +13 -0
  125. package/dist/lib/components/animate/variants/zoom.d.ts +199 -0
  126. package/dist/lib/components/hook-form/FormProvider/components/FormActions/index.d.ts +3 -0
  127. package/dist/lib/components/hook-form/FormProvider/components/FormActions/skeleton.d.ts +2 -0
  128. package/dist/lib/components/hook-form/FormProvider/components/FormActions/styles.d.ts +3 -0
  129. package/dist/lib/components/hook-form/FormProvider/components/FormActions/types.d.ts +4 -0
  130. package/dist/lib/components/hook-form/FormProvider/index.d.ts +3 -0
  131. package/dist/lib/components/hook-form/FormProvider/styles.d.ts +2 -0
  132. package/dist/lib/components/hook-form/FormProvider/types.d.ts +10 -0
  133. package/dist/lib/components/hook-form/RHFAutocompleteAsync/index.d.ts +4 -0
  134. package/dist/lib/components/hook-form/RHFAutocompleteAsync/styles.d.ts +4 -0
  135. package/dist/lib/components/hook-form/RHFAutocompleteAsync/types.d.ts +17 -0
  136. package/dist/lib/components/hook-form/RHFCheckbox/index.d.ts +3 -0
  137. package/dist/lib/components/hook-form/RHFCheckbox/skeleton.d.ts +2 -0
  138. package/dist/lib/components/hook-form/RHFCheckbox/styles.d.ts +2 -0
  139. package/dist/lib/components/hook-form/RHFCheckbox/types.d.ts +10 -0
  140. package/dist/lib/components/hook-form/RHFMultiCheckbox/index.d.ts +3 -0
  141. package/dist/lib/components/hook-form/RHFMultiCheckbox/types.d.ts +10 -0
  142. package/dist/lib/components/hook-form/RHFRadioGroup.d.ts +9 -0
  143. package/dist/lib/components/hook-form/RHFSelect.d.ts +8 -0
  144. package/dist/lib/components/hook-form/RHFTextField/index.d.ts +4 -0
  145. package/dist/lib/components/hook-form/RHFTextField/styles.d.ts +2 -0
  146. package/dist/lib/components/hook-form/RHFTextField/types.d.ts +9 -0
  147. package/dist/lib/components/hook-form/index.d.ts +7 -0
  148. package/dist/lib/components/index.d.ts +22 -0
  149. package/dist/lib/components/mui_extended/Accordion/index.d.ts +3 -0
  150. package/dist/lib/components/mui_extended/Accordion/types.d.ts +11 -0
  151. package/dist/lib/components/mui_extended/BoxIcon/index.d.ts +3 -0
  152. package/dist/lib/components/mui_extended/BoxIcon/types.d.ts +4 -0
  153. package/dist/lib/components/mui_extended/Breadcrumbs/components/LinkItem/index.d.ts +3 -0
  154. package/dist/lib/components/mui_extended/Breadcrumbs/components/LinkItem/types.d.ts +4 -0
  155. package/dist/lib/components/mui_extended/Breadcrumbs/index.d.ts +3 -0
  156. package/dist/lib/components/mui_extended/Breadcrumbs/types.d.ts +12 -0
  157. package/dist/lib/components/mui_extended/IconButton/index.d.ts +4 -0
  158. package/dist/lib/components/mui_extended/IconButton/types.d.ts +5 -0
  159. package/dist/lib/components/mui_extended/LoadingButton/index.d.ts +3 -0
  160. package/dist/lib/components/mui_extended/LoadingButton/skeleton.d.ts +2 -0
  161. package/dist/lib/components/mui_extended/LoadingButton/styles.d.ts +2 -0
  162. package/dist/lib/components/mui_extended/LoadingButton/types.d.ts +5 -0
  163. package/dist/lib/components/mui_extended/MenuActions/index.d.ts +3 -0
  164. package/dist/lib/components/mui_extended/MenuActions/styles.d.ts +30 -0
  165. package/dist/lib/components/mui_extended/MenuActions/types.d.ts +27 -0
  166. package/dist/lib/components/mui_extended/MenuPopover/index.d.ts +3 -0
  167. package/dist/lib/components/mui_extended/MenuPopover/types.d.ts +9 -0
  168. package/dist/lib/components/mui_extended/Pager/components/PagerActions/index.d.ts +3 -0
  169. package/dist/lib/components/mui_extended/Pager/components/PagerActions/styles.d.ts +2 -0
  170. package/dist/lib/components/mui_extended/Pager/components/PagerActions/types.d.ts +7 -0
  171. package/dist/lib/components/mui_extended/Pager/dicctionary.d.ts +3 -0
  172. package/dist/lib/components/mui_extended/Pager/index.d.ts +3 -0
  173. package/dist/lib/components/mui_extended/Pager/styles.d.ts +6 -0
  174. package/dist/lib/components/mui_extended/Pager/types.d.ts +13 -0
  175. package/dist/lib/components/mui_extended/Tab/index.d.ts +2 -0
  176. package/dist/lib/components/mui_extended/Tab/styles.d.ts +2 -0
  177. package/dist/lib/components/mui_extended/index.d.ts +49 -0
  178. package/dist/lib/components/skeletons/components/SKTPerperForm/styled.d.ts +13 -0
  179. package/dist/lib/contexts/LocalesContext/index.d.ts +19 -0
  180. package/dist/lib/contexts/ModalContext/components/ContentConfirm/index.d.ts +3 -0
  181. package/dist/lib/contexts/ModalContext/components/ContentConfirm/styles.d.ts +6 -0
  182. package/dist/lib/contexts/ModalContext/components/ContentConfirm/types.d.ts +8 -0
  183. package/dist/lib/contexts/ModalContext/index.d.ts +5 -0
  184. package/dist/lib/contexts/ModalContext/types.d.ts +42 -0
  185. package/dist/lib/contexts/index.d.ts +3 -0
  186. package/dist/lib/hooks/index.d.ts +9 -0
  187. package/dist/lib/hooks/useIsMountedRef.d.ts +2 -0
  188. package/dist/lib/hooks/useLocales.d.ts +1 -0
  189. package/dist/lib/hooks/useMasterDetail.d.ts +1 -0
  190. package/dist/lib/hooks/useModal.d.ts +1 -0
  191. package/dist/lib/hooks/useModule.d.ts +1 -0
  192. package/dist/lib/hooks/useOffSetTop.d.ts +1 -0
  193. package/dist/lib/hooks/usePaginate.d.ts +15 -0
  194. package/dist/lib/hooks/useResponsive.d.ts +8 -0
  195. package/dist/lib/index.d.ts +10 -0
  196. package/dist/lib/layouts/MasterDetailLayout/components/ButtonDetail/index.d.ts +3 -0
  197. package/dist/lib/layouts/MasterDetailLayout/contexts/MasterDetailContext/index.d.ts +5 -0
  198. package/dist/lib/layouts/MasterDetailLayout/contexts/MasterDetailContext/types.d.ts +13 -0
  199. package/dist/lib/layouts/MasterDetailLayout/dicctionary.d.ts +3 -0
  200. package/dist/lib/layouts/MasterDetailLayout/index.d.ts +3 -0
  201. package/dist/lib/layouts/MasterDetailLayout/types.d.ts +10 -0
  202. package/dist/lib/layouts/ModuleLayout/components/Header/index.d.ts +2 -0
  203. package/dist/lib/layouts/ModuleLayout/components/Header/skeleton.d.ts +2 -0
  204. package/dist/lib/layouts/ModuleLayout/components/Header/styles.d.ts +8 -0
  205. package/dist/lib/layouts/ModuleLayout/components/Header/types.d.ts +2 -0
  206. package/dist/lib/layouts/ModuleLayout/components/ModuleContent/index.d.ts +3 -0
  207. package/dist/lib/layouts/ModuleLayout/components/ModuleContent/styles.d.ts +3 -0
  208. package/dist/lib/layouts/ModuleLayout/components/ModuleContent/types.d.ts +9 -0
  209. package/dist/lib/layouts/ModuleLayout/contexts/ModuleContext/index.d.ts +5 -0
  210. package/dist/lib/layouts/ModuleLayout/contexts/ModuleContext/types.d.ts +18 -0
  211. package/dist/lib/layouts/ModuleLayout/dicctionary.d.ts +3 -0
  212. package/dist/lib/layouts/ModuleLayout/index.d.ts +3 -0
  213. package/dist/lib/layouts/ModuleLayout/types.d.ts +29 -0
  214. package/dist/lib/layouts/NoAuthModuleLayout/components/ModuleWrapper/index.d.ts +3 -0
  215. package/dist/lib/layouts/NoAuthModuleLayout/components/ModuleWrapper/styles.d.ts +13 -0
  216. package/dist/lib/layouts/NoAuthModuleLayout/components/ModuleWrapper/types.d.ts +4 -0
  217. package/dist/lib/layouts/NoAuthModuleLayout/contexts/NoAuthModuleContext/index.d.ts +5 -0
  218. package/dist/lib/layouts/NoAuthModuleLayout/contexts/NoAuthModuleContext/types.d.ts +12 -0
  219. package/dist/lib/layouts/NoAuthModuleLayout/index.d.ts +3 -0
  220. package/dist/lib/layouts/NoAuthModuleLayout/types.d.ts +11 -0
  221. package/dist/lib/layouts/index.d.ts +3 -0
  222. package/dist/lib/theme/defaultThemeOptions.d.ts +2 -0
  223. package/dist/lib/theme/overrides/Accordion.d.ts +864 -0
  224. package/dist/lib/theme/overrides/Autocomplete.d.ts +26 -0
  225. package/dist/lib/theme/overrides/Avatar.d.ts +24 -0
  226. package/dist/lib/theme/overrides/Backdrop.d.ts +13 -0
  227. package/dist/lib/theme/overrides/Badge.d.ts +12 -0
  228. package/dist/lib/theme/overrides/Breadcrumbs.d.ts +11 -0
  229. package/dist/lib/theme/overrides/Button.d.ts +51 -0
  230. package/dist/lib/theme/overrides/ButtonGroup.d.ts +39 -0
  231. package/dist/lib/theme/overrides/Card.d.ts +36 -0
  232. package/dist/lib/theme/overrides/Checkbox.d.ts +18 -0
  233. package/dist/lib/theme/overrides/ControlLabel.d.ts +816 -0
  234. package/dist/lib/theme/overrides/CssBaseline.d.ts +42 -0
  235. package/dist/lib/theme/overrides/DataGrid.d.ts +1676 -0
  236. package/dist/lib/theme/overrides/Dialog.d.ts +55 -0
  237. package/dist/lib/theme/overrides/Drawer.d.ts +17 -0
  238. package/dist/lib/theme/overrides/Fab.d.ts +34 -0
  239. package/dist/lib/theme/overrides/IconButton.d.ts +23 -0
  240. package/dist/lib/theme/overrides/Input.d.ts +1667 -0
  241. package/dist/lib/theme/overrides/InputLabel.d.ts +14 -0
  242. package/dist/lib/theme/overrides/Link.d.ts +15 -0
  243. package/dist/lib/theme/overrides/List.d.ts +32 -0
  244. package/dist/lib/theme/overrides/LoadingButton.d.ts +814 -0
  245. package/dist/lib/theme/overrides/Menu.d.ts +15 -0
  246. package/dist/lib/theme/overrides/Pagination.d.ts +30 -0
  247. package/dist/lib/theme/overrides/Paper.d.ts +22 -0
  248. package/dist/lib/theme/overrides/Popover.d.ts +11 -0
  249. package/dist/lib/theme/overrides/Progress.d.ts +20 -0
  250. package/dist/lib/theme/overrides/Radio.d.ts +16 -0
  251. package/dist/lib/theme/overrides/Skeleton.d.ts +13 -0
  252. package/dist/lib/theme/overrides/Slider.d.ts +23 -0
  253. package/dist/lib/theme/overrides/Stepper.d.ts +10 -0
  254. package/dist/lib/theme/overrides/SvgIcon.d.ts +17 -0
  255. package/dist/lib/theme/overrides/Switch.d.ts +28 -0
  256. package/dist/lib/theme/overrides/Table.d.ts +3250 -0
  257. package/dist/lib/theme/overrides/Tabs.d.ts +848 -0
  258. package/dist/lib/theme/overrides/Timeline.d.ts +17 -0
  259. package/dist/lib/theme/overrides/ToggleButton.d.ts +43 -0
  260. package/dist/lib/theme/overrides/Tooltip.d.ts +13 -0
  261. package/dist/lib/theme/overrides/Typography.d.ts +13 -0
  262. package/dist/lib/theme/overrides/index.d.ts +2 -0
  263. package/dist/lib/theme/palette.d.ts +323 -0
  264. package/dist/lib/theme/shadows.d.ts +67 -0
  265. package/dist/lib/theme/typography.d.ts +133 -0
  266. package/dist/lib/utils/getColorPresets.d.ts +169 -0
  267. package/dist/lib/utils/getFontValue.d.ts +24 -0
  268. package/dist/vite-env.d.ts +1 -0
  269. package/package.json +97 -0
@@ -0,0 +1,6 @@
1
+ export interface SkeletonProps {
2
+ isSkeleton?: boolean;
3
+ width?: string | number;
4
+ height?: string | number;
5
+ }
6
+ export declare type ThemeColorPresets = 'default' | 'purple' | 'cyan' | 'blue' | 'orange' | 'red';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { CompanyLogoProps } from './types';
3
+ export declare const CompanyLogo: (props: CompanyLogoProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const RootStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
+ export declare const HeaderStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
4
+ export declare const ContentStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const SKTCompanyLogoMask: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,6 @@
1
+ declare type LogoSize = 'small' | 'normal';
2
+ export interface CompanyLogoProps {
3
+ size?: LogoSize;
4
+ isSkeleton?: boolean;
5
+ }
6
+ export {};
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function Density(): JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const WrapperDensity: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
+ export declare const SKTWrapperDensity: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function Filter(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const SKTWrapperFilter: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function RowsCount(): JSX.Element;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
+ export declare const RowsLabel: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
4
+ export declare const InsetLabel: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { FormatterProps } from 'react-data-grid';
3
+ import { Row } from '../../types';
4
+ export declare function FormatterColumn({ row, onRowChange, column }: FormatterProps<Row>): JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { ColumnsConfigRef, ConfigProps } from './types';
3
+ export declare const ColumnsConfig: import("react").ForwardRefExoticComponent<ConfigProps & import("react").RefAttributes<ColumnsConfigRef>>;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export declare const WrapperColumnsConfig: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
+ export declare const DivAll: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ export declare const DivSelColumns: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const WrapperGrid: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const DivColumn: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
+ export declare const ColumnActions: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ export declare const DialogActions: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,25 @@
1
+ import { IConfigColumn } from '../../../../../contexts/BaseContext/types';
2
+ export interface Row {
3
+ key: string;
4
+ name: string;
5
+ visible: boolean;
6
+ frozen: boolean;
7
+ width: number;
8
+ index: number;
9
+ originalIndex: number;
10
+ originalVisible: boolean;
11
+ originalFrozen: boolean;
12
+ }
13
+ export declare type ColumnsConfigRef = {
14
+ onClickIntro: () => void;
15
+ current: HTMLDivElement | null;
16
+ };
17
+ export interface ConfigProps {
18
+ onCloseSettings: () => void;
19
+ columnsConfig: IConfigColumn[];
20
+ onChangeColumnsConfig: (newColumnsConfig: IConfigColumn[]) => void;
21
+ }
22
+ export interface CheckFormatterProps {
23
+ key: string;
24
+ row: any;
25
+ }
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function Settings(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const SKTWrapperColumnsSettings: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,2 @@
1
+ export interface SettingsProps {
2
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { InternalActionsProps } from './types';
3
+ export declare function Actions(props: InternalActionsProps): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const WrapperActions: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,11 @@
1
+ import { PagerProps } from '@mui_extended/Pager/types';
2
+ import { SettingsProps } from './components/Settings/types';
3
+ export interface ActionsProps {
4
+ withSettings?: boolean;
5
+ settingsProps?: SettingsProps;
6
+ withRowsCount?: boolean;
7
+ withPager?: boolean;
8
+ pagerOptions?: PagerProps;
9
+ withLocalFilters?: boolean;
10
+ }
11
+ export declare type InternalActionsProps = ActionsProps;
@@ -0,0 +1,4 @@
1
+ import { Column } from 'react-data-grid';
2
+ export declare const ACTIONS_COLUMN_KEY = "actions-row";
3
+ export declare const filterHeight = 35;
4
+ export declare const ActionsColumn: Column<any, any>;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { CheckboxFormatterProps } from 'react-data-grid';
3
+ export declare const CheckboxFormatter: import("react").ForwardRefExoticComponent<CheckboxFormatterProps & import("react").RefAttributes<HTMLInputElement>>;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { SvgIconProps } from '@mui/material';
3
+ export declare function CloseIcon(props: SvgIconProps): JSX.Element;
4
+ export declare function StarIcon(props: SvgIconProps): JSX.Element;
5
+ export declare function InfoIcon(props: SvgIconProps): JSX.Element;
6
+ export declare function WarningIcon(props: SvgIconProps): JSX.Element;
7
+ export declare function SuccessIcon(props: SvgIconProps): JSX.Element;
8
+ export declare function ErrorIcon(props: SvgIconProps): JSX.Element;
9
+ export declare function CheckboxIcon(props: SvgIconProps): JSX.Element;
10
+ export declare function CheckboxCheckedIcon(props: SvgIconProps): JSX.Element;
11
+ export declare function CheckboxIndeterminateIcon(props: SvgIconProps): JSX.Element;
12
+ export declare function InputSelectIcon(props: SvgIconProps): JSX.Element;
13
+ export declare function TreeViewCollapseIcon(props: SvgIconProps): JSX.Element;
14
+ export declare function TreeViewExpandIcon(props: SvgIconProps): JSX.Element;
15
+ export declare function TreeViewEndIcon(props: SvgIconProps): JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { HeaderRendererProps } from 'react-data-grid';
2
+ interface DraggableHeaderRendererProps<TRow> extends HeaderRendererProps<TRow> {
3
+ onColumnsReorder: (sourceKey: string, targetKey: string) => void;
4
+ }
5
+ export declare function DraggableHeaderRenderer<TRow>(props: DraggableHeaderRendererProps<TRow>): any;
6
+ export {};
@@ -0,0 +1,4 @@
1
+ import { Column } from 'react-data-grid';
2
+ export declare const filterColumnClassName = "filter-cell";
3
+ export declare const filterHeight = 35;
4
+ export declare const SelectColumn: Column<any, any>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function SkeletonFormatter(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const WrapperSkeleton: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,3 @@
1
+ import { FunctionComponent } from 'react';
2
+ import { HeaderRendererProps } from 'react-data-grid';
3
+ export declare const getDragHeaderRenderer: <TRow, TSummaryRow>(handleColumnsReorder: (sourceKey: string, targetKey: string) => void) => FunctionComponent<HeaderRendererProps<TRow, TSummaryRow>>;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare function useFocusRef<T extends HTMLOrSVGElement>(isSelected: boolean): {
3
+ ref: import("react").RefObject<T>;
4
+ tabIndex: number;
5
+ };
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { Column, SortColumn } from 'react-data-grid';
3
+ export declare const useSortColumnsRows: <TRow, TSummaryRow>(sourceColumns: readonly Column<TRow, TSummaryRow>[], sourceRows: readonly TRow[], isMultipleRows: boolean) => {
4
+ finalColumns: readonly Column<TRow, TSummaryRow>[];
5
+ sortColumns: readonly SortColumn[];
6
+ setSortColumns: import("react").Dispatch<import("react").SetStateAction<readonly SortColumn[]>>;
7
+ finalRows: readonly TRow[];
8
+ };
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { GridProps } from '../../types';
3
+ export declare function Table<TRow, TSummaryRow>(props: GridProps<TRow, TSummaryRow>): JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { WithActionsProps } from '../../types';
3
+ export declare const WrapperTable: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & WithActionsProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { BaseContextProps, BaseProviderProps } from './types';
3
+ declare const BaseContext: import("react").Context<BaseContextProps>;
4
+ declare function BaseProvider<TRow, TSummaryRow>(props: BaseProviderProps<TRow, TSummaryRow>): JSX.Element;
5
+ export { BaseProvider, BaseContext };
@@ -0,0 +1,51 @@
1
+ import { MenuAction } from '@mui_extended/MenuActions/types';
2
+ import { ReactNode } from 'react';
3
+ import { Column } from 'react-data-grid';
4
+ import { Maybe } from '@m4l/core';
5
+ import { Key, RowHeights, RowHeightVariants } from '../../types';
6
+ export interface IConfigColumn {
7
+ key: string;
8
+ visible: boolean;
9
+ hidden: boolean;
10
+ index: number;
11
+ frozen: boolean;
12
+ name: string;
13
+ orginalIndex: number;
14
+ originalVisible: boolean;
15
+ originalFrozen: boolean;
16
+ }
17
+ export interface IGridConfig {
18
+ columnsConfig: IConfigColumn[];
19
+ columnsWidths: Map<string, Maybe<Key>>;
20
+ }
21
+ export declare type BaseProviderProps<TRow, TSummaryRow> = {
22
+ id: number | string;
23
+ isSkeleton: boolean;
24
+ children: ReactNode;
25
+ columns: readonly Column<TRow, TSummaryRow>[];
26
+ remoteConfig?: IGridConfig;
27
+ rowsCount: number;
28
+ rowActionsGetter?: ((row: TRow) => MenuAction[]) | undefined;
29
+ rowHeaderHeights: RowHeights;
30
+ rowHeights: RowHeights;
31
+ initialRowHeightVariant: RowHeightVariants;
32
+ };
33
+ export declare type RowHeightState = {
34
+ rowHVariant: RowHeightVariants;
35
+ rowHeight: number;
36
+ rowHeaderHeight: number;
37
+ };
38
+ export interface BaseContextProps extends IGridConfig {
39
+ rowsCount: number;
40
+ isSkeleton: boolean;
41
+ setRowsCount: (newRowsCount: number) => void;
42
+ rowActionsGetter?: ((row: any) => MenuAction[]) | undefined;
43
+ rowHeights: RowHeights;
44
+ currentRowHeaderHeight: number;
45
+ currentRowHeight: number;
46
+ currentRowHeightVariant: RowHeightVariants;
47
+ setRowHeightVariant: (neVariant: RowHeightVariants) => void;
48
+ onChangeColumnsConfig: (newColumnsConfig: IConfigColumn[]) => void;
49
+ onChangeColumnsOrder: (sourceKey: string, targetKey: string) => void;
50
+ onChangeColumnWidth: (columnKey: string, width: number) => void;
51
+ }
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from 'react';
2
+ import { FilterContextProps } from './types';
3
+ declare const FilterContext: import("react").Context<FilterContextProps>;
4
+ declare type FilterProviderProps = {
5
+ children: ReactNode;
6
+ initialActiveFilters: boolean;
7
+ };
8
+ declare function FilterProvider({ children, initialActiveFilters }: FilterProviderProps): JSX.Element;
9
+ export { FilterProvider, FilterContext };
@@ -0,0 +1,11 @@
1
+ import { Key } from '../../types';
2
+ export interface FilterContextProps {
3
+ activeFilters: boolean;
4
+ filters?: Map<Key, string>;
5
+ onChangeFilter?: (key: string, value: string) => void;
6
+ setActiveFilters: (active: boolean) => void;
7
+ }
8
+ export interface IFilterState {
9
+ activeFilters: boolean;
10
+ filters?: Map<Key, string>;
11
+ }
@@ -0,0 +1,3 @@
1
+ import { Dictionary } from "@m4l/core";
2
+ export declare function getGridComponentsDictionary(): string[];
3
+ export declare const defaultGridDictionary: Dictionary;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { BooleanFormatterProps } from './types';
3
+ export declare function BooleanFormatter(props: BooleanFormatterProps): JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare type PresentationType = 'string_yes_no' | 'string_true_false' | 'check';
2
+ export interface BooleanFormatterProps {
3
+ presentationType: PresentationType;
4
+ value: boolean;
5
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { DateFormatterProps } from './types';
3
+ export declare function DateFormatter(props: DateFormatterProps): JSX.Element;
@@ -0,0 +1,6 @@
1
+ export declare type PresentationType = 'date' | 'datetime' | 'time';
2
+ export interface DateFormatterProps {
3
+ presentationType: PresentationType;
4
+ formatDate?: string;
5
+ dateTime: Date | string | number;
6
+ }
@@ -0,0 +1,2 @@
1
+ export { BooleanFormatter } from './BooleanFormatter';
2
+ export { DateFormatter } from './DateFormatter';
@@ -0,0 +1 @@
1
+ export declare const useBase: () => import("../contexts/BaseContext/types").BaseContextProps;
@@ -0,0 +1 @@
1
+ export declare const useFilters: () => import("../contexts/FilterContext/types").FilterContextProps;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { DataGridProps } from './types';
3
+ export declare function DataGrid<TRow, TSummaryRow>(props: DataGridProps<TRow, TSummaryRow>): JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const WrapperGrid: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
+ export declare const OriginalGridWrapperStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,56 @@
1
+ /// <reference types="react" />
2
+ import { MenuAction } from '@mui_extended/MenuActions/types';
3
+ import { Column } from 'react-data-grid';
4
+ import { ActionsProps } from './components/Actions/types';
5
+ export declare type ColumnType = 'text' | 'date' | 'number' | 'boolean' | 'custom';
6
+ export declare type ColumnAlign = 'left' | 'center' | 'right';
7
+ export interface GridRow {
8
+ id: number;
9
+ }
10
+ export declare type SortDirection = 'ASC' | 'DESC';
11
+ export interface SortColumn {
12
+ readonly columnKey: string;
13
+ readonly direction: SortDirection;
14
+ }
15
+ declare module 'react-data-grid' {
16
+ interface Column<TRow, TSummaryRow = unknown> {
17
+ visible?: boolean;
18
+ hidden?: boolean;
19
+ fixed?: boolean;
20
+ type: ColumnType;
21
+ align?: ColumnAlign;
22
+ isDraggable?: boolean;
23
+ withFilter?: boolean;
24
+ withinHeaderRenderer?: React.FunctionComponent<HeaderRendererProps<TRow, TSummaryRow>>;
25
+ }
26
+ }
27
+ export declare type Key = string | number;
28
+ export interface WithActionsProps {
29
+ withActions?: boolean;
30
+ }
31
+ export interface PagerState {
32
+ page: number;
33
+ rowsPerPage: number;
34
+ totalRecords: number;
35
+ }
36
+ export declare const initialPagerState: PagerState;
37
+ export declare type RowHeightVariants = 'standard' | 'compact' | 'confortable';
38
+ export declare type RowHeights = number | number[];
39
+ export interface GridProps<TRow, TSummaryRow> {
40
+ id: Key;
41
+ isSkeleton?: boolean;
42
+ withActions?: boolean;
43
+ columns: readonly Column<TRow, TSummaryRow>[];
44
+ rows: TRow[];
45
+ initialRowHeightVariant?: RowHeightVariants;
46
+ rowHeaderHeights?: RowHeights;
47
+ rowHeights?: RowHeights;
48
+ rowActionsGetter?: (row: TRow) => MenuAction[];
49
+ rowKeyGetter: (row: TRow) => Key;
50
+ isMultipleSelect?: boolean;
51
+ selectedRows?: Set<Key>;
52
+ onRowsSelectedChange?: (mapRowsSelected: ReadonlySet<Key>, rawRowsSelected: TRow[]) => void;
53
+ }
54
+ export interface DataGridProps<TRow, TSummaryRow> extends GridProps<TRow, TSummaryRow> {
55
+ actionsProps: ActionsProps;
56
+ }
@@ -0,0 +1,3 @@
1
+ import type { Dictionary } from '@m4l/core';
2
+ export declare function getActionnsComponentsDictionary(): string[];
3
+ export declare const defaultActionsDictionary: Dictionary;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { ActionsProps } from './types';
3
+ export declare const FormActions: (props: ActionsProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const WrapperActions: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,7 @@
1
+ import { ModalOpenOptions } from '~/lib/contexts/ModalContext/types';
2
+ declare type ImodalOpt = Pick<ModalOpenOptions, 'actionComponents' | 'standardActions'>;
3
+ export interface ActionsProps extends ImodalOpt {
4
+ variant?: string | undefined;
5
+ onCloseModal?: () => void | undefined;
6
+ }
7
+ export {};
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { Props } from './types';
3
+ export default function Image({ ratio, disabledEffect, effect, sx, isSekeleton, width, height, ...other }: Props): JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { styleProps } from './types';
3
+ export declare const SKTWrapperImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & styleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,16 @@
1
+ import { LazyLoadImageProps } from 'react-lazy-load-image-component';
2
+ import { BoxProps, SxProps } from '@mui/material';
3
+ import { Theme } from '@mui/material/styles';
4
+ export declare type ImageRato = '4/3' | '3/4' | '6/4' | '4/6' | '16/9' | '9/16' | '21/9' | '9/21' | '1/1';
5
+ export declare type IProps = BoxProps & LazyLoadImageProps;
6
+ export interface Props extends IProps {
7
+ sx?: SxProps<Theme>;
8
+ ratio?: ImageRato;
9
+ disabledEffect?: boolean;
10
+ isSekeleton?: boolean;
11
+ width?: string;
12
+ height?: string;
13
+ }
14
+ export interface styleProps {
15
+ width?: string;
16
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { defaultProps } from './types';
3
+ export default function LanguagePopover(props: defaultProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ export interface defaultProps {
2
+ isSkeleton?: boolean;
3
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { LinkWithRouteProps } from './types';
3
+ export declare const LinkWithRoute: (props: LinkWithRouteProps) => JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { LinkProps as MuiLinkProps } from '@mui/material';
2
+ import { To } from 'history';
3
+ import { SkeletonProps } from '~/lib/@types';
4
+ export interface LinkWithRouteProps extends MuiLinkProps {
5
+ to: To;
6
+ skeletonProps: SkeletonProps;
7
+ }
@@ -0,0 +1,2 @@
1
+ import { ElementType } from 'react';
2
+ export declare const Loadable: (Component: ElementType) => (props: any) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { HeaderProps } from './types';
3
+ export declare const Header: (props: HeaderProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { ReactNode } from 'react';
2
+ import { VariantModal } from '~/lib/contexts/ModalContext/types';
3
+ export interface HeaderProps {
4
+ variant?: VariantModal;
5
+ title: string;
6
+ iconComponent?: ReactNode;
7
+ withClose?: boolean;
8
+ onCloseModal?: () => void;
9
+ }
@@ -0,0 +1,3 @@
1
+ import { Dictionary } from "@m4l/core";
2
+ export declare function getModalDialogComponentsDictionary(): string[];
3
+ export declare const defaultModalDialogDictionary: Dictionary;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const ModalDialog: () => JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { VariantProps } from './types';
3
+ export declare const WrapperDialog: import("@emotion/styled").StyledComponent<import("@mui/material").DialogProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
4
+ export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ export declare const Header: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const IconTitleContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
+ export declare const IconHeader: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ export declare const Content: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ export declare const ModalTitle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & VariantProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1,5 @@
1
+ export interface ModalDialogProps {
2
+ }
3
+ export interface VariantProps {
4
+ variant?: string | undefined;
5
+ }
@@ -0,0 +1,3 @@
1
+ import { Dictionary } from "@m4l/core";
2
+ export declare function getNoItemSelectedComponentsDictionary(): string[];
3
+ export declare const defaultNoItemSelectedDictionary: Dictionary;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function NoItemSelected(): JSX.Element;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ImageProps } from './types';
3
+ export declare const WrapperNoItemSelected: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ export declare const Image: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & ImageProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
5
+ export declare const Label: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -0,0 +1,5 @@
1
+ export interface NoItemSelectedProps {
2
+ }
3
+ export interface ImageProps extends NoItemSelectedProps {
4
+ src: string;
5
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { DetailDialogProps } from './types';
3
+ export declare function DetailDialog(props: DetailDialogProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ export declare const Container: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
+ export declare const Text: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
@@ -0,0 +1,3 @@
1
+ export interface DetailDialogProps {
2
+ log_id: number;
3
+ }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { DetailFormatterProps } from './types';
3
+ export declare function DetailFormatter(props: DetailFormatterProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ export interface DetailFormatterProps {
2
+ log_id: number;
3
+ }