@dartech/arsenal-ui 1.4.86 → 1.4.88

Sign up to get free protection for your applications and to get access to all the features.
Files changed (163) hide show
  1. package/index.d.ts +5 -5
  2. package/index.js +8487 -0
  3. package/package.json +10 -4
  4. package/src/consts/index.d.ts +14 -14
  5. package/src/interfaces/common.d.ts +24 -24
  6. package/src/interfaces/definition.d.ts +142 -142
  7. package/src/interfaces/index.d.ts +3 -3
  8. package/src/interfaces/ui.d.ts +73 -73
  9. package/src/lib/Alert/Alert.d.ts +55 -55
  10. package/src/lib/Alert/index.d.ts +1 -1
  11. package/src/lib/Breadcrumbs/Breadcrumbs.d.ts +9 -8
  12. package/src/lib/Breadcrumbs/Breadcrumbs.styled.d.ts +2 -2
  13. package/src/lib/Breadcrumbs/index.d.ts +1 -1
  14. package/src/lib/ContentLayout/ContentLayout.d.ts +10 -10
  15. package/src/lib/ContentLayout/index.d.ts +1 -1
  16. package/src/lib/Definition/CreateDefinition/CreateDefinition.d.ts +26 -26
  17. package/src/lib/Definition/CreateDefinition/index.d.ts +1 -1
  18. package/src/lib/Definition/DefinitionFiller/DefinitionFiller.d.ts +21 -21
  19. package/src/lib/Definition/DefinitionFiller/index.d.ts +1 -1
  20. package/src/lib/Definition/DefinitionValueView/DefinitionValueView.d.ts +8 -7
  21. package/src/lib/Definition/DefinitionValueView/FileDefinitionValueView.d.ts +8 -7
  22. package/src/lib/Definition/DefinitionValueView/PropertyDataView.d.ts +9 -8
  23. package/src/lib/Definition/DefinitionValueView/index.d.ts +1 -1
  24. package/src/lib/Definition/index.d.ts +3 -3
  25. package/src/lib/Forms/BackButton.d.ts +7 -6
  26. package/src/lib/Forms/ControlAceEditor.d.ts +23 -23
  27. package/src/lib/Forms/ControlArrayInput.d.ts +14 -14
  28. package/src/lib/Forms/ControlAutocomplete/ControlAutocomplete.d.ts +74 -74
  29. package/src/lib/Forms/ControlAutocomplete/ControlQueryAutocomplete.d.ts +20 -20
  30. package/src/lib/Forms/ControlAutocomplete/index.d.ts +2 -2
  31. package/src/lib/Forms/ControlAutocomplete/useAutocomplete.d.ts +10 -9
  32. package/src/lib/Forms/ControlCheckbox.d.ts +51 -51
  33. package/src/lib/Forms/ControlDate.d.ts +26 -26
  34. package/src/lib/Forms/ControlDateTime.d.ts +26 -26
  35. package/src/lib/Forms/ControlDebouncedInput.d.ts +4 -3
  36. package/src/lib/Forms/ControlInput.d.ts +63 -63
  37. package/src/lib/Forms/ControlNumberInput.d.ts +72 -72
  38. package/src/lib/Forms/ControlPeriodInput.d.ts +11 -11
  39. package/src/lib/Forms/ControlPhoneInput.d.ts +17 -17
  40. package/src/lib/Forms/ControlRadio.d.ts +70 -70
  41. package/src/lib/Forms/ControlSelect.d.ts +72 -72
  42. package/src/lib/Forms/ControlSwitch.d.ts +19 -19
  43. package/src/lib/Forms/ControlTime.d.ts +24 -24
  44. package/src/lib/Forms/CopyButton.d.ts +20 -19
  45. package/src/lib/Forms/index.d.ts +17 -17
  46. package/src/lib/InfoItem/InfoItem.d.ts +8 -7
  47. package/src/lib/InfoItem/index.d.ts +1 -1
  48. package/src/lib/JsonPathPicker/JsonPathPicker.d.ts +10 -9
  49. package/src/lib/JsonPathPicker/PropertyStep.d.ts +11 -10
  50. package/src/lib/JsonPathPicker/index.d.ts +1 -1
  51. package/src/lib/JsonView/JsonView.d.ts +9 -9
  52. package/src/lib/JsonView/index.d.ts +1 -1
  53. package/src/lib/Loader/Loader.d.ts +22 -21
  54. package/src/lib/Loader/index.d.ts +1 -1
  55. package/src/lib/Modals/JsonModalView.d.ts +12 -12
  56. package/src/lib/Modals/index.d.ts +1 -1
  57. package/src/lib/OverflowTooltip/OverflowTooltip.d.ts +4 -3
  58. package/src/lib/OverflowTooltip/index.d.ts +1 -1
  59. package/src/lib/Property/PropertyFiller/ControlFiller/ControlMultiplePropertyFiller.d.ts +26 -26
  60. package/src/lib/Property/PropertyFiller/ControlFiller/ControlMultiplePropertyWidget.d.ts +24 -24
  61. package/src/lib/Property/PropertyFiller/ControlFiller/ControlPropertyFiller.d.ts +26 -26
  62. package/src/lib/Property/PropertyFiller/ControlFiller/index.d.ts +3 -3
  63. package/src/lib/Property/PropertyFiller/JsonEditor.d.ts +9 -9
  64. package/src/lib/Property/PropertyFiller/MultiplePropertyFiller.d.ts +24 -24
  65. package/src/lib/Property/PropertyFiller/MultiplePropertyWidget.d.ts +22 -22
  66. package/src/lib/Property/PropertyFiller/PropertyFiller.d.ts +24 -24
  67. package/src/lib/Property/PropertyFiller/index.d.ts +2 -2
  68. package/src/lib/Property/PropertyFiller/styled.d.ts +18 -18
  69. package/src/lib/Property/PropertyFiller/usePropertyFiller.d.ts +26 -26
  70. package/src/lib/Property/PropertyValidator/NodeValidator.d.ts +6 -5
  71. package/src/lib/Property/PropertyValidator/NodesList.d.ts +6 -5
  72. package/src/lib/Property/PropertyValidator/NumericTypeValidator.d.ts +8 -7
  73. package/src/lib/Property/PropertyValidator/PropertyValidator.d.ts +6 -5
  74. package/src/lib/Property/PropertyValidator/PropertyValidatorContext.d.ts +3 -3
  75. package/src/lib/Property/PropertyValidator/StringTypeValidator.d.ts +8 -7
  76. package/src/lib/Property/PropertyValidator/ValidationNodeSelector.d.ts +7 -6
  77. package/src/lib/Property/PropertyValidator/index.d.ts +1 -1
  78. package/src/lib/Property/PropertyWidget/PropertyWidget.d.ts +23 -23
  79. package/src/lib/Property/PropertyWidget/index.d.ts +1 -1
  80. package/src/lib/Property/UpsertProperty/CreatePropertiesList/CreatePropertiesList.d.ts +36 -36
  81. package/src/lib/Property/UpsertProperty/CreatePropertiesList/ListItem.d.ts +29 -29
  82. package/src/lib/Property/UpsertProperty/CreatePropertiesList/index.d.ts +2 -2
  83. package/src/lib/Property/UpsertProperty/CreatePropertiesListContext.d.ts +30 -30
  84. package/src/lib/Property/UpsertProperty/CreatePropertyFormFields.d.ts +24 -24
  85. package/src/lib/Property/UpsertProperty/CustomPropertyField.d.ts +7 -6
  86. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/BigDecimalPropertyFields.d.ts +8 -7
  87. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/DateAdditionalFields.d.ts +9 -8
  88. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityAdditionalFields.d.ts +22 -22
  89. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityReferencePropertyFields.d.ts +12 -11
  90. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/PropertyAdditionalFields.d.ts +23 -23
  91. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/StringPropertyFields.d.ts +8 -7
  92. package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/index.d.ts +1 -1
  93. package/src/lib/Property/UpsertProperty/PropertyValueField/BooleanValueField.d.ts +8 -8
  94. package/src/lib/Property/UpsertProperty/PropertyValueField/DateTimeValueField.d.ts +8 -8
  95. package/src/lib/Property/UpsertProperty/PropertyValueField/DateValueField.d.ts +8 -8
  96. package/src/lib/Property/UpsertProperty/PropertyValueField/FileValueWidget.d.ts +6 -5
  97. package/src/lib/Property/UpsertProperty/PropertyValueField/JsonValueField.d.ts +7 -7
  98. package/src/lib/Property/UpsertProperty/PropertyValueField/PropertyValueField.d.ts +23 -23
  99. package/src/lib/Property/UpsertProperty/PropertyValueField/StringValueField.d.ts +14 -13
  100. package/src/lib/Property/UpsertProperty/PropertyValueField/TimeValueField.d.ts +8 -8
  101. package/src/lib/Property/UpsertProperty/PropertyValueField/index.d.ts +1 -1
  102. package/src/lib/Property/UpsertProperty/index.d.ts +4 -4
  103. package/src/lib/Property/UpsertProperty/useCustomFields.d.ts +6 -6
  104. package/src/lib/Property/ViewPropertiesList/ViewPropertiesList.d.ts +8 -7
  105. package/src/lib/Property/ViewPropertiesList/index.d.ts +1 -1
  106. package/src/lib/Property/ViewProperty/EntityPropertiesShortView.d.ts +7 -6
  107. package/src/lib/Property/ViewProperty/EntityPropertiesView.d.ts +8 -8
  108. package/src/lib/Property/ViewProperty/PropertyDataTable.d.ts +7 -6
  109. package/src/lib/Property/ViewProperty/PropertyItem.d.ts +8 -8
  110. package/src/lib/Property/ViewProperty/ViewProperty.d.ts +9 -8
  111. package/src/lib/Property/ViewProperty/index.d.ts +1 -1
  112. package/src/lib/Property/index.d.ts +4 -4
  113. package/src/lib/Sidebar/Sidebar.d.ts +14 -14
  114. package/src/lib/Sidebar/Sidebar.styled.d.ts +118 -118
  115. package/src/lib/Sidebar/SidebarContext.d.ts +12 -12
  116. package/src/lib/Sidebar/SidebarDrawer.d.ts +13 -13
  117. package/src/lib/Sidebar/SidebarLink/MenuIcon.d.ts +7 -6
  118. package/src/lib/Sidebar/SidebarLink/SidebarLink.d.ts +8 -7
  119. package/src/lib/Sidebar/SidebarLink/SidebarLinkItem.d.ts +9 -8
  120. package/src/lib/Sidebar/SidebarLink/SidebarNestedItem.d.ts +11 -10
  121. package/src/lib/Sidebar/SidebarLink/SidebarRootItem.d.ts +11 -10
  122. package/src/lib/Sidebar/SidebarLink/index.d.ts +2 -2
  123. package/src/lib/Sidebar/index.d.ts +2 -2
  124. package/src/lib/Status/Status.d.ts +8 -7
  125. package/src/lib/Status/index.d.ts +1 -1
  126. package/src/lib/StepperView/StepperView.d.ts +11 -11
  127. package/src/lib/StepperView/index.d.ts +1 -1
  128. package/src/lib/Table/DataGrid/DataGrid.styled.d.ts +4 -4
  129. package/src/lib/Table/DataGrid/JsonTypeCell.d.ts +7 -6
  130. package/src/lib/Table/DataGrid/Table.d.ts +47 -47
  131. package/src/lib/Table/DataGrid/TableAction.d.ts +13 -13
  132. package/src/lib/Table/DataGrid/TableColumnMenu.d.ts +3 -2
  133. package/src/lib/Table/DataGrid/TablePagination.d.ts +3 -2
  134. package/src/lib/Table/DataGrid/index.d.ts +2 -2
  135. package/src/lib/Table/DataGrid/usePagination.d.ts +5 -5
  136. package/src/lib/Table/DataGrid/useTableQueryPagination.d.ts +11 -11
  137. package/src/lib/Table/DataGrid/useTableQuerySorting.d.ts +6 -6
  138. package/src/lib/Table/SimpleTable/SimpleTable.d.ts +19 -19
  139. package/src/lib/Table/SimpleTable/Table.styled.d.ts +30 -30
  140. package/src/lib/Table/SimpleTable/TableActionCell.d.ts +10 -10
  141. package/src/lib/Table/SimpleTable/index.d.ts +2 -2
  142. package/src/lib/Table/SimpleTable/useTablePagination.d.ts +7 -7
  143. package/src/lib/Table/SimpleTable/useTableSorting.d.ts +6 -6
  144. package/src/lib/Table/index.d.ts +2 -2
  145. package/src/lib/Tabs/RouteTabs.d.ts +11 -11
  146. package/src/lib/Tabs/TabPanel.d.ts +25 -25
  147. package/src/lib/Tabs/index.d.ts +2 -2
  148. package/src/lib/index.d.ts +17 -17
  149. package/src/theme/baseTheme.d.ts +2 -2
  150. package/src/theme/index.d.ts +1 -1
  151. package/src/theme/inputThemeOptions.d.ts +201 -200
  152. package/src/theme/stepperThemeOptions.d.ts +16 -16
  153. package/src/theme/tableThemeOptions.d.ts +159 -159
  154. package/src/theme/typographyThemeOptions.d.ts +29 -29
  155. package/src/utils/common.d.ts +7 -7
  156. package/src/utils/dem.d.ts +27 -27
  157. package/src/utils/hooks.d.ts +7 -7
  158. package/src/utils/index.d.ts +5 -5
  159. package/src/utils/test-mocks.d.ts +166 -166
  160. package/src/utils/ui-utils.d.ts +17 -17
  161. package/src/utils/validators.d.ts +6 -6
  162. package/index.esm.d.ts +0 -1
  163. package/index.esm.js +0 -1
@@ -1,47 +1,47 @@
1
- import React, { Ref } from 'react';
2
- import { GridCellParams, GridColumns, GridFeatureMode, GridRowsProp, GridRowParams, GridCallbackDetails } from '@mui/x-data-grid';
3
- /**
4
- * This interface is referencing the [[Table]] component props.
5
- * @category Common UI components
6
- */
7
- export interface TableProps {
8
- /**
9
- * Data loading state
10
- */
11
- loading?: boolean;
12
- /**
13
- * Table columns
14
- */
15
- columns: GridColumns;
16
- /**
17
- * Table rows
18
- */
19
- rows: GridRowsProp;
20
- /**
21
- * Rows count to display
22
- */
23
- rowCount: number;
24
- disableMargin?: boolean;
25
- /**
26
- * Data display mode.
27
- * Values: `client` | `server`;
28
- * Default: `server`
29
- */
30
- mode?: GridFeatureMode;
31
- /**
32
- * Page size. Default `10`
33
- */
34
- initialPageSize?: number;
35
- /**
36
- * On cell click handler function
37
- * ```typescript
38
- * (params: GridCellParams, event: React.MouseEvent) => void;
39
- * ```
40
- */
41
- onCellClick?: (params: GridCellParams, event: React.MouseEvent, details: GridCallbackDetails) => void;
42
- onRowClick?: (params: GridRowParams, event: React.MouseEvent, details: GridCallbackDetails) => void;
43
- pagination?: boolean;
44
- refProp?: Ref<unknown>;
45
- }
46
- export declare const Table: ({ columns, rows, rowCount, loading, disableMargin, mode, initialPageSize, pagination, onCellClick, ...dataGridProps }: TableProps) => import("react/jsx-runtime").JSX.Element;
47
- export default Table;
1
+ import React, { Ref } from 'react';
2
+ import { GridCellParams, GridColumns, GridFeatureMode, GridRowsProp, GridRowParams, GridCallbackDetails } from '@mui/x-data-grid';
3
+ /**
4
+ * This interface is referencing the [[Table]] component props.
5
+ * @category Common UI components
6
+ */
7
+ export interface TableProps {
8
+ /**
9
+ * Data loading state
10
+ */
11
+ loading?: boolean;
12
+ /**
13
+ * Table columns
14
+ */
15
+ columns: GridColumns;
16
+ /**
17
+ * Table rows
18
+ */
19
+ rows: GridRowsProp;
20
+ /**
21
+ * Rows count to display
22
+ */
23
+ rowCount: number;
24
+ disableMargin?: boolean;
25
+ /**
26
+ * Data display mode.
27
+ * Values: `client` | `server`;
28
+ * Default: `server`
29
+ */
30
+ mode?: GridFeatureMode;
31
+ /**
32
+ * Page size. Default `10`
33
+ */
34
+ initialPageSize?: number;
35
+ /**
36
+ * On cell click handler function
37
+ * ```typescript
38
+ * (params: GridCellParams, event: React.MouseEvent) => void;
39
+ * ```
40
+ */
41
+ onCellClick?: (params: GridCellParams, event: React.MouseEvent, details: GridCallbackDetails) => void;
42
+ onRowClick?: (params: GridRowParams, event: React.MouseEvent, details: GridCallbackDetails) => void;
43
+ pagination?: boolean;
44
+ refProp?: Ref<unknown>;
45
+ }
46
+ export declare const Table: ({ columns, rows, rowCount, loading, disableMargin, mode, initialPageSize, pagination, onCellClick, ...dataGridProps }: TableProps) => JSX.Element;
47
+ export default Table;
@@ -1,13 +1,13 @@
1
- import { ReactElement } from 'react';
2
- type Props = {
3
- icon: ReactElement;
4
- onClick?: () => void;
5
- label: string;
6
- showInMenu?: boolean;
7
- location?: {
8
- pathname: string;
9
- state?: Record<string, unknown>;
10
- };
11
- };
12
- export declare const TableAction: ({ icon, label, showInMenu, onClick, location }: Props) => import("react/jsx-runtime").JSX.Element;
13
- export {};
1
+ import { ReactElement } from 'react';
2
+ type Props = {
3
+ icon: ReactElement;
4
+ onClick?: () => void;
5
+ label: string;
6
+ showInMenu?: boolean;
7
+ location?: {
8
+ pathname: string;
9
+ state?: Record<string, unknown>;
10
+ };
11
+ };
12
+ export declare const TableAction: ({ icon, label, showInMenu, onClick, location }: Props) => JSX.Element;
13
+ export {};
@@ -1,2 +1,3 @@
1
- declare const TableColumnMenu: ({ hideMenu, currentColumn, onUnsort, ...rest }: any) => import("react/jsx-runtime").JSX.Element;
2
- export default TableColumnMenu;
1
+ /// <reference types="react" />
2
+ declare const TableColumnMenu: ({ hideMenu, currentColumn, onUnsort, ...rest }: any) => JSX.Element;
3
+ export default TableColumnMenu;
@@ -1,2 +1,3 @@
1
- declare const TablePagination: () => import("react/jsx-runtime").JSX.Element;
2
- export default TablePagination;
1
+ /// <reference types="react" />
2
+ declare const TablePagination: () => JSX.Element;
3
+ export default TablePagination;
@@ -1,2 +1,2 @@
1
- export * from './Table';
2
- export * from './TableAction';
1
+ export * from './Table';
2
+ export * from './TableAction';
@@ -1,5 +1,5 @@
1
- declare const usePagination: (initialPageSize?: number) => {
2
- pageSize: number;
3
- handlePageSizeChange: (size: any) => void;
4
- };
5
- export default usePagination;
1
+ declare const usePagination: (initialPageSize?: number) => {
2
+ pageSize: number;
3
+ handlePageSizeChange: (size: any) => void;
4
+ };
5
+ export default usePagination;
@@ -1,11 +1,11 @@
1
- import { GridFeatureMode } from '@mui/x-data-grid';
2
- interface Props {
3
- mode: GridFeatureMode;
4
- }
5
- export declare const useTableQueryPagination: ({ mode }: Props) => {
6
- page: number;
7
- size: number;
8
- onPageChange: (newPage: number) => void;
9
- onSizeChange: (count: number) => void;
10
- };
11
- export default useTableQueryPagination;
1
+ import { GridFeatureMode } from '@mui/x-data-grid';
2
+ interface Props {
3
+ mode: GridFeatureMode;
4
+ }
5
+ export declare const useTableQueryPagination: ({ mode }: Props) => {
6
+ page: number;
7
+ size: number;
8
+ onPageChange: (newPage: number) => void;
9
+ onSizeChange: (count: number) => void;
10
+ };
11
+ export default useTableQueryPagination;
@@ -1,6 +1,6 @@
1
- import { GridColumnHeaderParams, GridColumns } from '@mui/x-data-grid';
2
- export declare const useTableQuerySorting: () => {
3
- onColumnHeaderClick: ({ field, colDef }: GridColumnHeaderParams) => void;
4
- getSortedColumns: (columns: GridColumns) => GridColumns;
5
- };
6
- export default useTableQuerySorting;
1
+ import { GridColumnHeaderParams, GridColumns } from '@mui/x-data-grid';
2
+ export declare const useTableQuerySorting: () => {
3
+ onColumnHeaderClick: ({ field, colDef }: GridColumnHeaderParams) => void;
4
+ getSortedColumns: (columns: GridColumns<any>) => GridColumns<any>;
5
+ };
6
+ export default useTableQuerySorting;
@@ -1,19 +1,19 @@
1
- import { ReactNode, ForwardedRef } from 'react';
2
- import { Column, Row } from '../../../interfaces';
3
- interface Props<T> {
4
- columns: Column<T>[];
5
- rows: Row<T>[];
6
- totalCount: number;
7
- loading?: boolean;
8
- pagination?: boolean;
9
- onRowClick?: (row: Row<T>) => void;
10
- children?: ReactNode;
11
- verticalAlign?: 'top' | 'middle' | 'bottom' | 'sub' | 'baseline';
12
- emptyDataText?: string;
13
- labelRowsPerPage?: string;
14
- }
15
- declare function TableInner<T>({ columns, rows, totalCount, children, pagination, loading, onRowClick, emptyDataText, verticalAlign, labelRowsPerPage, }: Props<T>, ref: ForwardedRef<any>): import("react/jsx-runtime").JSX.Element;
16
- export declare const SimpleTable: <T>(props: Props<T> & {
17
- ref?: ForwardedRef<HTMLTableElement>;
18
- }) => ReturnType<typeof TableInner>;
19
- export default SimpleTable;
1
+ import { ReactNode, ForwardedRef } from 'react';
2
+ import { Column, Row } from '../../../interfaces';
3
+ interface Props<T> {
4
+ columns: Column<T>[];
5
+ rows: Row<T>[];
6
+ totalCount: number;
7
+ loading?: boolean;
8
+ pagination?: boolean;
9
+ onRowClick?: (row: Row<T>) => void;
10
+ children?: ReactNode;
11
+ verticalAlign?: 'top' | 'middle' | 'bottom' | 'sub' | 'baseline';
12
+ emptyDataText?: string;
13
+ labelRowsPerPage?: string;
14
+ }
15
+ declare function TableInner<T>({ columns, rows, totalCount, children, pagination, loading, onRowClick, emptyDataText, verticalAlign, labelRowsPerPage, }: Props<T>, ref: ForwardedRef<any>): JSX.Element;
16
+ export declare const SimpleTable: <T>(props: Props<T> & {
17
+ ref?: ForwardedRef<HTMLTableElement>;
18
+ }) => ReturnType<typeof TableInner>;
19
+ export default SimpleTable;
@@ -1,30 +1,30 @@
1
- /// <reference types="react" />
2
- export declare const TableSortLabel: import("@emotion/styled").StyledComponent<{
3
- active?: boolean;
4
- children?: import("react").ReactNode;
5
- classes?: Partial<import("@mui/material/TableSortLabel").TableSortLabelClasses>;
6
- direction?: "desc" | "asc";
7
- hideSortIcon?: boolean;
8
- IconComponent?: import("react").JSXElementConstructor<{
9
- className: string;
10
- }>;
11
- sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
12
- } & Omit<{
13
- action?: import("react").Ref<import("@mui/material").ButtonBaseActions>;
14
- centerRipple?: boolean;
15
- children?: import("react").ReactNode;
16
- classes?: Partial<import("@mui/material").ButtonBaseClasses>;
17
- disabled?: boolean;
18
- disableRipple?: boolean;
19
- disableTouchRipple?: boolean;
20
- focusRipple?: boolean;
21
- focusVisibleClassName?: string;
22
- LinkComponent?: import("react").ElementType<any>;
23
- onFocusVisible?: import("react").FocusEventHandler<any>;
24
- sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
25
- tabIndex?: number;
26
- TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps>;
27
- touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions>;
28
- }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
29
- ref?: import("react").Ref<HTMLSpanElement>;
30
- }, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "direction" | "active" | "hideSortIcon" | "IconComponent"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
1
+ /// <reference types="react" />
2
+ export declare const TableSortLabel: import("@emotion/styled").StyledComponent<{
3
+ active?: boolean;
4
+ children?: import("react").ReactNode;
5
+ classes?: Partial<import("@mui/material/TableSortLabel").TableSortLabelClasses>;
6
+ direction?: "desc" | "asc";
7
+ hideSortIcon?: boolean;
8
+ IconComponent?: import("react").JSXElementConstructor<{
9
+ className: string;
10
+ }>;
11
+ sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
12
+ } & Omit<{
13
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions>;
14
+ centerRipple?: boolean;
15
+ children?: import("react").ReactNode;
16
+ classes?: Partial<import("@mui/material").ButtonBaseClasses>;
17
+ disabled?: boolean;
18
+ disableRipple?: boolean;
19
+ disableTouchRipple?: boolean;
20
+ focusRipple?: boolean;
21
+ focusVisibleClassName?: string;
22
+ LinkComponent?: import("react").ElementType<any>;
23
+ onFocusVisible?: import("react").FocusEventHandler<any>;
24
+ sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
25
+ tabIndex?: number;
26
+ TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps>;
27
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions>;
28
+ }, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
29
+ ref?: import("react").Ref<HTMLSpanElement>;
30
+ }, keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "children" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "touchRippleRef" | "direction" | "active" | "hideSortIcon" | "IconComponent"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
@@ -1,10 +1,10 @@
1
- import { MouseEvent } from 'react';
2
- type ActionItem = {
3
- title: string;
4
- onClick: (e?: MouseEvent<HTMLElement>) => void;
5
- };
6
- type Props = {
7
- actionsList: ActionItem[];
8
- };
9
- export declare const TableActionCell: ({ actionsList }: Props) => import("react/jsx-runtime").JSX.Element;
10
- export {};
1
+ import { MouseEvent } from 'react';
2
+ type ActionItem = {
3
+ title: string;
4
+ onClick: (e?: MouseEvent<HTMLElement>) => void;
5
+ };
6
+ type Props = {
7
+ actionsList: ActionItem[];
8
+ };
9
+ export declare const TableActionCell: ({ actionsList }: Props) => JSX.Element;
10
+ export {};
@@ -1,2 +1,2 @@
1
- export * from './SimpleTable';
2
- export * from './TableActionCell';
1
+ export * from './SimpleTable';
2
+ export * from './TableActionCell';
@@ -1,7 +1,7 @@
1
- declare const useTablePagination: () => {
2
- page: string | number;
3
- size: string | number;
4
- onPageChange: (newPage: number) => void;
5
- onSizeChange: (newSize: number) => void;
6
- };
7
- export default useTablePagination;
1
+ declare const useTablePagination: () => {
2
+ page: string | number;
3
+ size: string | number;
4
+ onPageChange: (newPage: number) => void;
5
+ onSizeChange: (newSize: number) => void;
6
+ };
7
+ export default useTablePagination;
@@ -1,6 +1,6 @@
1
- declare const useTableSorting: () => {
2
- sortParams: string[][];
3
- onSortChanged: (sortKey: string) => void;
4
- getColumnSorting: (sortKey: string) => string | false;
5
- };
6
- export default useTableSorting;
1
+ declare const useTableSorting: () => {
2
+ sortParams: string[][];
3
+ onSortChanged: (sortKey: string) => void;
4
+ getColumnSorting: (sortKey: string) => string | false;
5
+ };
6
+ export default useTableSorting;
@@ -1,2 +1,2 @@
1
- export * from './DataGrid';
2
- export * from './SimpleTable';
1
+ export * from './DataGrid';
2
+ export * from './SimpleTable';
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
2
- interface RouteTab {
3
- name: string;
4
- label: string;
5
- component: React.ReactElement;
6
- }
7
- interface Props {
8
- tabs: RouteTab[];
9
- }
10
- export declare const RouteTabs: (props: Props) => import("react/jsx-runtime").JSX.Element;
11
- export default RouteTabs;
1
+ /// <reference types="react" />
2
+ interface RouteTab {
3
+ name: string;
4
+ label: string;
5
+ component: React.ReactElement;
6
+ }
7
+ interface Props {
8
+ tabs: RouteTab[];
9
+ }
10
+ export declare const RouteTabs: (props: Props) => JSX.Element;
11
+ export default RouteTabs;
@@ -1,25 +1,25 @@
1
- import React from 'react';
2
- /**
3
- * This interface is referencing the [[TabPanel]] component props.
4
- * @category Common UI components
5
- */
6
- export interface TabPanelProps {
7
- /**
8
- * Active tab value
9
- */
10
- value: number | string;
11
- /**
12
- * Index of current panel
13
- */
14
- index: number | string;
15
- /**
16
- * Rendered children component
17
- */
18
- children: React.ReactElement;
19
- }
20
- /**
21
- * Tab panel component. Used with tabs component
22
- * @category Common UI components
23
- */
24
- export declare const TabPanel: (props: TabPanelProps) => import("react/jsx-runtime").JSX.Element;
25
- export default TabPanel;
1
+ import React from 'react';
2
+ /**
3
+ * This interface is referencing the [[TabPanel]] component props.
4
+ * @category Common UI components
5
+ */
6
+ export interface TabPanelProps {
7
+ /**
8
+ * Active tab value
9
+ */
10
+ value: number | string;
11
+ /**
12
+ * Index of current panel
13
+ */
14
+ index: number | string;
15
+ /**
16
+ * Rendered children component
17
+ */
18
+ children: React.ReactElement;
19
+ }
20
+ /**
21
+ * Tab panel component. Used with tabs component
22
+ * @category Common UI components
23
+ */
24
+ export declare const TabPanel: (props: TabPanelProps) => JSX.Element;
25
+ export default TabPanel;
@@ -1,2 +1,2 @@
1
- export * from './TabPanel';
2
- export * from './RouteTabs';
1
+ export * from './TabPanel';
2
+ export * from './RouteTabs';
@@ -1,17 +1,17 @@
1
- export * from './Alert';
2
- export * from './Forms';
3
- export * from './Loader';
4
- export * from './Table';
5
- export * from './Tabs';
6
- export * from './Modals';
7
- export * from './InfoItem';
8
- export * from './Definition';
9
- export * from './Property';
10
- export * from './Status';
11
- export * from './JsonView';
12
- export * from './JsonPathPicker';
13
- export * from './StepperView';
14
- export * from './Sidebar';
15
- export * from './ContentLayout';
16
- export * from './Breadcrumbs';
17
- export * from './OverflowTooltip';
1
+ export * from './Alert';
2
+ export * from './Forms';
3
+ export * from './Loader';
4
+ export * from './Table';
5
+ export * from './Tabs';
6
+ export * from './Modals';
7
+ export * from './InfoItem';
8
+ export * from './Definition';
9
+ export * from './Property';
10
+ export * from './Status';
11
+ export * from './JsonView';
12
+ export * from './JsonPathPicker';
13
+ export * from './StepperView';
14
+ export * from './Sidebar';
15
+ export * from './ContentLayout';
16
+ export * from './Breadcrumbs';
17
+ export * from './OverflowTooltip';
@@ -1,2 +1,2 @@
1
- declare const _default: import("@mui/material/styles").Theme;
2
- export default _default;
1
+ declare const _default: import("@mui/material/styles").Theme;
2
+ export default _default;
@@ -1 +1 @@
1
- export declare const theme: import("@mui/material/styles").Theme;
1
+ export declare const theme: import("@mui/material/styles").Theme;