@dartech/arsenal-ui 1.3.0 → 1.3.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.
- package/{index.ts → index.d.ts} +5 -5
- package/index.js +1 -0
- package/package.json +10 -3
- package/src/consts/index.d.ts +12 -0
- package/src/interfaces/common.d.ts +17 -0
- package/src/interfaces/definition.d.ts +107 -0
- package/src/interfaces/{index.ts → index.d.ts} +3 -3
- package/src/interfaces/ui.d.ts +70 -0
- package/src/lib/Alert/Alert.d.ts +53 -0
- package/src/lib/Alert/index.d.ts +1 -0
- package/src/lib/Breadcrumbs/Breadcrumbs.d.ts +9 -0
- package/src/lib/Breadcrumbs/Breadcrumbs.styled.d.ts +2 -0
- package/src/lib/Breadcrumbs/{index.ts → index.d.ts} +1 -1
- package/src/lib/ContentLayout/ContentLayout.d.ts +9 -0
- package/src/lib/ContentLayout/index.d.ts +1 -0
- package/src/lib/Definition/CreateDefinition/CreateDefinition.d.ts +11 -0
- package/src/lib/Definition/CreateDefinition/{index.ts → index.d.ts} +1 -1
- package/src/lib/Definition/DefinitionFiller/DefinitionFiller.d.ts +10 -0
- package/src/lib/Definition/DefinitionFiller/{index.ts → index.d.ts} +1 -1
- package/src/lib/Definition/DefinitionValueView/DefinitionValueView.d.ts +8 -0
- package/src/lib/Definition/DefinitionValueView/PropertyDataView.d.ts +9 -0
- package/src/lib/Definition/DefinitionValueView/{index.ts → index.d.ts} +1 -1
- package/src/lib/Definition/{index.ts → index.d.ts} +3 -3
- package/src/lib/Forms/BackButton.d.ts +7 -0
- package/src/lib/Forms/ControlAceEditor.d.ts +24 -0
- package/src/lib/Forms/ControlAutocomplete.d.ts +69 -0
- package/src/lib/Forms/ControlCheckbox.d.ts +51 -0
- package/src/lib/Forms/ControlDate.d.ts +18 -0
- package/src/lib/Forms/ControlDateTime.d.ts +18 -0
- package/src/lib/Forms/ControlDebouncedInput.d.ts +4 -0
- package/src/lib/Forms/ControlInput.d.ts +59 -0
- package/src/lib/Forms/ControlNumberInput.d.ts +51 -0
- package/src/lib/Forms/ControlQueryAutocomplete.d.ts +16 -0
- package/src/lib/Forms/ControlRadio.d.ts +66 -0
- package/src/lib/Forms/ControlSelect.d.ts +67 -0
- package/src/lib/Forms/ControlSwitch.d.ts +19 -0
- package/src/lib/Forms/ControlTime.d.ts +18 -0
- package/src/lib/Forms/CopyButton.d.ts +20 -0
- package/src/lib/Forms/{index.ts → index.d.ts} +15 -15
- package/src/lib/Forms/useAutocomplete.d.ts +10 -0
- package/src/lib/InfoItem/InfoItem.d.ts +10 -0
- package/src/lib/InfoItem/{index.ts → index.d.ts} +1 -1
- package/src/lib/JsonPathPicker/JsonPathPicker.d.ts +10 -0
- package/src/lib/JsonPathPicker/PropertyStep.d.ts +11 -0
- package/src/lib/JsonPathPicker/{index.ts → index.d.ts} +1 -1
- package/src/lib/JsonView/JsonView.d.ts +7 -0
- package/src/lib/JsonView/{index.ts → index.d.ts} +1 -1
- package/src/lib/Loader/Loader.d.ts +21 -0
- package/src/lib/Loader/{index.ts → index.d.ts} +1 -1
- package/src/lib/Modals/JsonModalView.d.ts +10 -0
- package/src/lib/Modals/{index.ts → index.d.ts} +1 -1
- package/src/lib/Property/PropertyFiller/JsonEditor.d.ts +10 -0
- package/src/lib/Property/PropertyFiller/MultiplePropertyFiller.d.ts +12 -0
- package/src/lib/Property/PropertyFiller/MultiplePropertyWidget.d.ts +11 -0
- package/src/lib/Property/PropertyFiller/PropertyFiller.d.ts +12 -0
- package/src/lib/Property/PropertyFiller/{index.ts → index.d.ts} +2 -2
- package/src/lib/Property/PropertyFiller/styled.d.ts +18 -0
- package/src/lib/Property/PropertyFiller/usePropertyFiller.d.ts +24 -0
- package/src/lib/Property/PropertyValidator/NodeValidator.d.ts +6 -0
- package/src/lib/Property/PropertyValidator/NodesList.d.ts +6 -0
- package/src/lib/Property/PropertyValidator/NumericTypeValidator.d.ts +8 -0
- package/src/lib/Property/PropertyValidator/PropertyValidator.d.ts +6 -0
- package/src/lib/Property/PropertyValidator/PropertyValidatorContext.d.ts +3 -0
- package/src/lib/Property/PropertyValidator/StringTypeValidator.d.ts +8 -0
- package/src/lib/Property/PropertyValidator/ValidationNodeSelector.d.ts +7 -0
- package/src/lib/Property/PropertyValidator/index.d.ts +1 -0
- package/src/lib/Property/PropertyValueField/BooleanValueField.d.ts +6 -0
- package/src/lib/Property/PropertyValueField/DateTimeValueField.d.ts +8 -0
- package/src/lib/Property/PropertyValueField/DateValueField.d.ts +8 -0
- package/src/lib/Property/PropertyValueField/JsonValueField.d.ts +9 -0
- package/src/lib/Property/PropertyValueField/PropertyValueField.d.ts +9 -0
- package/src/lib/Property/PropertyValueField/StringValueField.d.ts +9 -0
- package/src/lib/Property/PropertyValueField/TimeValueField.d.ts +8 -0
- package/src/lib/Property/PropertyValueField/{index.ts → index.d.ts} +1 -1
- package/src/lib/Property/PropertyWidget/PropertyWidget.d.ts +13 -0
- package/src/lib/Property/PropertyWidget/{index.ts → index.d.ts} +1 -1
- package/src/lib/Property/UpsertProperty/CreatePropertiesList.d.ts +13 -0
- package/src/lib/Property/UpsertProperty/CreatePropertyFormFields.d.ts +10 -0
- package/src/lib/Property/UpsertProperty/CustomPropertyField.d.ts +7 -0
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/BigDecimalPropertyFields.d.ts +6 -0
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/DateAdditionalFields.d.ts +7 -0
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityAdditionalFields.d.ts +8 -0
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityReferencePropertyFields.d.ts +6 -0
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/PropertyAdditionalFields.d.ts +10 -0
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/StringPropertyFields.d.ts +6 -0
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/{index.ts → index.d.ts} +1 -1
- package/src/lib/Property/UpsertProperty/{index.ts → index.d.ts} +2 -2
- package/src/lib/Property/UpsertProperty/useCustomFields.d.ts +6 -0
- package/src/lib/Property/ViewPropertiesList/ViewPropertiesList.d.ts +8 -0
- package/src/lib/Property/ViewPropertiesList/{index.ts → index.d.ts} +1 -1
- package/src/lib/Property/ViewProperty/EntityPropertiesShortView.d.ts +7 -0
- package/src/lib/Property/ViewProperty/EntityPropertiesView.d.ts +8 -0
- package/src/lib/Property/ViewProperty/PropertyDataTable.d.ts +7 -0
- package/src/lib/Property/ViewProperty/PropertyItem.d.ts +8 -0
- package/src/lib/Property/ViewProperty/ViewProperty.d.ts +9 -0
- package/src/lib/Property/ViewProperty/{index.ts → index.d.ts} +1 -1
- package/src/lib/Property/{index.ts → index.d.ts} +5 -5
- package/src/lib/Sidebar/Sidebar.d.ts +10 -0
- package/src/lib/Sidebar/Sidebar.styled.d.ts +117 -0
- package/src/lib/Sidebar/SidebarContext.d.ts +11 -0
- package/src/lib/Sidebar/SidebarDrawer.d.ts +9 -0
- package/src/lib/Sidebar/SidebarLink/MenuIcon.d.ts +7 -0
- package/src/lib/Sidebar/SidebarLink/SidebarLink.d.ts +7 -0
- package/src/lib/Sidebar/SidebarLink/SidebarLinkItem.d.ts +8 -0
- package/src/lib/Sidebar/SidebarLink/SidebarNestedItem.d.ts +10 -0
- package/src/lib/Sidebar/SidebarLink/{index.ts → index.d.ts} +2 -2
- package/src/lib/Sidebar/index.d.ts +2 -0
- package/src/lib/Status/Status.d.ts +8 -0
- package/src/lib/Status/{index.ts → index.d.ts} +1 -1
- package/src/lib/StepperView/StepperView.d.ts +11 -0
- package/src/lib/StepperView/{index.ts → index.d.ts} +1 -1
- package/src/lib/Table/DataGrid/JsonTypeCell.d.ts +7 -0
- package/src/lib/Table/DataGrid/Table.d.ts +49 -0
- package/src/lib/Table/DataGrid/TableAction.d.ts +13 -0
- package/src/lib/Table/DataGrid/TableColumnMenu.d.ts +3 -0
- package/src/lib/Table/DataGrid/TablePagination.d.ts +3 -0
- package/src/lib/Table/DataGrid/index.d.ts +2 -0
- package/src/lib/Table/DataGrid/styles.d.ts +44 -0
- package/src/lib/Table/DataGrid/usePagination.d.ts +5 -0
- package/src/lib/Table/DataGrid/useTableQueryPagination.d.ts +11 -0
- package/src/lib/Table/DataGrid/useTableQuerySorting.d.ts +6 -0
- package/src/lib/Table/SimpleTable/SimpleTable.d.ts +17 -0
- package/src/lib/Table/SimpleTable/TableActionCell.d.ts +10 -0
- package/src/lib/Table/SimpleTable/index.d.ts +2 -0
- package/src/lib/Table/SimpleTable/useTablePagination.d.ts +7 -0
- package/src/lib/Table/SimpleTable/useTableSorting.d.ts +6 -0
- package/src/lib/Table/index.d.ts +2 -0
- package/src/lib/Tabs/RouteTabs.d.ts +11 -0
- package/src/lib/Tabs/TabPanel.d.ts +25 -0
- package/src/lib/Tabs/{index.ts → index.d.ts} +2 -2
- package/src/lib/{index.ts → index.d.ts} +16 -16
- package/src/theme/baseTheme.d.ts +2 -0
- package/src/theme/index.d.ts +1 -0
- package/src/theme/inputThemeOptions.d.ts +117 -0
- package/src/theme/stepperThemeOptions.d.ts +16 -0
- package/src/theme/tableThemeOptions.d.ts +47 -0
- package/src/theme/typographyThemeOptions.d.ts +29 -0
- package/src/utils/common.d.ts +7 -0
- package/src/utils/dem.d.ts +27 -0
- package/src/utils/hooks.d.ts +7 -0
- package/src/utils/{index.ts → index.d.ts} +5 -5
- package/src/utils/ui-utils.d.ts +16 -0
- package/src/utils/validators.d.ts +5 -0
- package/.babelrc +0 -13
- package/.eslintrc.json +0 -22
- package/jest.config.ts +0 -11
- package/project.json +0 -89
- package/rollup.config.js +0 -146
- package/src/assets/chevron_left_gray.svg +0 -3
- package/src/consts/index.ts +0 -13
- package/src/interfaces/common.ts +0 -18
- package/src/interfaces/definition.ts +0 -143
- package/src/interfaces/ui.ts +0 -80
- package/src/lib/Alert/Alert.tsx +0 -108
- package/src/lib/Alert/index.ts +0 -1
- package/src/lib/Breadcrumbs/Breadcrumbs.styled.tsx +0 -16
- package/src/lib/Breadcrumbs/Breadcrumbs.tsx +0 -40
- package/src/lib/ContentLayout/ContentLayout.tsx +0 -31
- package/src/lib/ContentLayout/index.ts +0 -1
- package/src/lib/Definition/CreateDefinition/CreateDefinition.tsx +0 -78
- package/src/lib/Definition/DefinitionFiller/DefinitionFiller.tsx +0 -71
- package/src/lib/Definition/DefinitionValueView/DefinitionValueView.tsx +0 -54
- package/src/lib/Definition/DefinitionValueView/PropertyDataView.tsx +0 -67
- package/src/lib/Forms/BackButton.tsx +0 -46
- package/src/lib/Forms/ControlAceEditor.tsx +0 -125
- package/src/lib/Forms/ControlAutocomplete.tsx +0 -145
- package/src/lib/Forms/ControlCheckbox.tsx +0 -113
- package/src/lib/Forms/ControlDate.tsx +0 -75
- package/src/lib/Forms/ControlDateTime.tsx +0 -77
- package/src/lib/Forms/ControlDebouncedInput.tsx +0 -80
- package/src/lib/Forms/ControlInput.tsx +0 -111
- package/src/lib/Forms/ControlNumberInput.tsx +0 -121
- package/src/lib/Forms/ControlQueryAutocomplete.tsx +0 -197
- package/src/lib/Forms/ControlRadio.tsx +0 -136
- package/src/lib/Forms/ControlSelect.tsx +0 -164
- package/src/lib/Forms/ControlSwitch.tsx +0 -71
- package/src/lib/Forms/ControlTime.tsx +0 -93
- package/src/lib/Forms/CopyButton.tsx +0 -46
- package/src/lib/Forms/useAutocomplete.tsx +0 -47
- package/src/lib/InfoItem/InfoItem.tsx +0 -40
- package/src/lib/InfoItem/styles.ts +0 -17
- package/src/lib/JsonPathPicker/JsonPathPicker.tsx +0 -73
- package/src/lib/JsonPathPicker/PropertyStep.tsx +0 -70
- package/src/lib/JsonView/JsonView.tsx +0 -41
- package/src/lib/Loader/Loader.tsx +0 -41
- package/src/lib/Modals/JsonModalView.tsx +0 -53
- package/src/lib/Property/PropertyFiller/JsonEditor.tsx +0 -58
- package/src/lib/Property/PropertyFiller/MultiplePropertyFiller.tsx +0 -129
- package/src/lib/Property/PropertyFiller/MultiplePropertyWidget.tsx +0 -85
- package/src/lib/Property/PropertyFiller/PropertyFiller.tsx +0 -199
- package/src/lib/Property/PropertyFiller/usePropertyFiller.ts +0 -72
- package/src/lib/Property/PropertyFiller/useStyles.ts +0 -12
- package/src/lib/Property/PropertyValidator/NodeValidator.tsx +0 -92
- package/src/lib/Property/PropertyValidator/NodesList.tsx +0 -26
- package/src/lib/Property/PropertyValidator/NumericTypeValidator.tsx +0 -59
- package/src/lib/Property/PropertyValidator/PropertyValidator.tsx +0 -42
- package/src/lib/Property/PropertyValidator/PropertyValidatorContext.tsx +0 -4
- package/src/lib/Property/PropertyValidator/StringTypeValidator.tsx +0 -36
- package/src/lib/Property/PropertyValidator/ValidationNodeSelector.tsx +0 -62
- package/src/lib/Property/PropertyValidator/index.ts +0 -1
- package/src/lib/Property/PropertyValueField/BooleanValueField.tsx +0 -49
- package/src/lib/Property/PropertyValueField/DateTimeValueField.tsx +0 -58
- package/src/lib/Property/PropertyValueField/DateValueField.tsx +0 -58
- package/src/lib/Property/PropertyValueField/JsonValueField.tsx +0 -65
- package/src/lib/Property/PropertyValueField/PropertyValueField.tsx +0 -49
- package/src/lib/Property/PropertyValueField/StringValueField.tsx +0 -50
- package/src/lib/Property/PropertyValueField/TimeValueField.tsx +0 -67
- package/src/lib/Property/PropertyWidget/PropertyWidget.tsx +0 -115
- package/src/lib/Property/UpsertProperty/CreatePropertiesList.tsx +0 -148
- package/src/lib/Property/UpsertProperty/CreatePropertyFormFields.tsx +0 -158
- package/src/lib/Property/UpsertProperty/CustomPropertyField.tsx +0 -40
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/BigDecimalPropertyFields.tsx +0 -41
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/DateAdditionalFields.tsx +0 -27
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityAdditionalFields.tsx +0 -133
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/EntityReferencePropertyFields.tsx +0 -46
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/PropertyAdditionalFields.tsx +0 -52
- package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/StringPropertyFields.tsx +0 -103
- package/src/lib/Property/UpsertProperty/useCustomFields.ts +0 -22
- package/src/lib/Property/ViewPropertiesList/ViewPropertiesList.tsx +0 -37
- package/src/lib/Property/ViewProperty/EntityPropertiesShortView.tsx +0 -40
- package/src/lib/Property/ViewProperty/EntityPropertiesView.tsx +0 -48
- package/src/lib/Property/ViewProperty/PropertyDataTable.tsx +0 -148
- package/src/lib/Property/ViewProperty/PropertyItem.tsx +0 -43
- package/src/lib/Property/ViewProperty/ViewProperty.tsx +0 -52
- package/src/lib/Sidebar/Sidebar.styled.tsx +0 -157
- package/src/lib/Sidebar/Sidebar.tsx +0 -27
- package/src/lib/Sidebar/SidebarContext.tsx +0 -37
- package/src/lib/Sidebar/SidebarDrawer.tsx +0 -50
- package/src/lib/Sidebar/SidebarLink/MenuIcon.tsx +0 -16
- package/src/lib/Sidebar/SidebarLink/SidebarLink.tsx +0 -54
- package/src/lib/Sidebar/SidebarLink/SidebarLinkItem.tsx +0 -54
- package/src/lib/Sidebar/SidebarLink/SidebarNestedItem.tsx +0 -62
- package/src/lib/Sidebar/index.ts +0 -2
- package/src/lib/Status/Status.tsx +0 -16
- package/src/lib/Status/styles.ts +0 -21
- package/src/lib/StepperView/StepperView.tsx +0 -73
- package/src/lib/Table/DataGrid/JsonTypeCell.tsx +0 -51
- package/src/lib/Table/DataGrid/Table.tsx +0 -117
- package/src/lib/Table/DataGrid/TableAction.tsx +0 -43
- package/src/lib/Table/DataGrid/TableColumnMenu.tsx +0 -12
- package/src/lib/Table/DataGrid/TablePagination.tsx +0 -42
- package/src/lib/Table/DataGrid/index.ts +0 -2
- package/src/lib/Table/DataGrid/styles.ts +0 -59
- package/src/lib/Table/DataGrid/usePagination.ts +0 -15
- package/src/lib/Table/DataGrid/useTableQueryPagination.ts +0 -47
- package/src/lib/Table/DataGrid/useTableQuerySorting.ts +0 -47
- package/src/lib/Table/SimpleTable/SimpleTable.tsx +0 -138
- package/src/lib/Table/SimpleTable/TableActionCell.tsx +0 -67
- package/src/lib/Table/SimpleTable/index.ts +0 -2
- package/src/lib/Table/SimpleTable/useTablePagination.ts +0 -54
- package/src/lib/Table/SimpleTable/useTableSorting.ts +0 -50
- package/src/lib/Table/index.ts +0 -2
- package/src/lib/Tabs/RouteTabs.tsx +0 -54
- package/src/lib/Tabs/TabPanel.tsx +0 -42
- package/src/theme/baseTheme.ts +0 -41
- package/src/theme/fonts.d.ts +0 -2
- package/src/theme/index.ts +0 -126
- package/src/theme/inputThemeOptions.ts +0 -126
- package/src/theme/stepperThemeOptions.ts +0 -20
- package/src/theme/tableThemeOptions.ts +0 -50
- package/src/theme/typographyThemeOptions.ts +0 -32
- package/src/utils/common.ts +0 -73
- package/src/utils/dem.ts +0 -431
- package/src/utils/hooks.ts +0 -41
- package/src/utils/ui-utils.tsx +0 -134
- package/src/utils/validators.ts +0 -14
- package/tsconfig.json +0 -25
- package/tsconfig.lib.json +0 -23
- package/tsconfig.spec.json +0 -20
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { PropertyUnion } from '../../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
property: PropertyUnion;
|
5
|
+
name: string;
|
6
|
+
useExpression?: boolean;
|
7
|
+
required?: boolean;
|
8
|
+
label?: string;
|
9
|
+
title?: string;
|
10
|
+
};
|
11
|
+
export declare const MultiplePropertyFiller: ({ property, name, useExpression, required, label, title, }: Props) => JSX.Element;
|
12
|
+
export default MultiplePropertyFiller;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { PropertyUnion } from '../../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
name: string;
|
5
|
+
property: PropertyUnion;
|
6
|
+
useExpression?: boolean;
|
7
|
+
required?: boolean;
|
8
|
+
label?: string;
|
9
|
+
};
|
10
|
+
declare const MultiplePropertyWidget: ({ name, property, useExpression, required, label }: Props) => JSX.Element;
|
11
|
+
export default MultiplePropertyWidget;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { PropertyUnion } from '../../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
property: PropertyUnion;
|
5
|
+
name: string;
|
6
|
+
useExpression?: boolean;
|
7
|
+
label?: string;
|
8
|
+
required?: boolean;
|
9
|
+
title?: string;
|
10
|
+
};
|
11
|
+
export declare const PropertyFiller: ({ property, name, useExpression, label, required, title, }: Props) => JSX.Element;
|
12
|
+
export default PropertyFiller;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from './PropertyFiller';
|
2
|
-
export * from './MultiplePropertyFiller';
|
1
|
+
export * from './PropertyFiller';
|
2
|
+
export * from './MultiplePropertyFiller';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const StyledInputLabel: import("@emotion/styled").StyledComponent<{
|
3
|
+
children?: import("react").ReactNode;
|
4
|
+
classes?: Partial<import("@mui/material/InputLabel").InputLabelClasses>;
|
5
|
+
color?: "primary" | "secondary" | "error" | "info" | "success" | "warning";
|
6
|
+
disableAnimation?: boolean;
|
7
|
+
disabled?: boolean;
|
8
|
+
error?: boolean;
|
9
|
+
focused?: boolean;
|
10
|
+
margin?: "dense";
|
11
|
+
required?: boolean;
|
12
|
+
shrink?: boolean;
|
13
|
+
size?: "small" | "normal";
|
14
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
15
|
+
variant?: "filled" | "outlined" | "standard";
|
16
|
+
} & Pick<import("@mui/material").FormLabelOwnProps, "color" | "filled"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & {
|
17
|
+
ref?: import("react").Ref<HTMLLabelElement>;
|
18
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "error" | "color" | "children" | "disabled" | "filled" | "focused" | "required" | "sx" | "disableAnimation" | "margin" | "shrink" | "size" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { PropertyFillType, PropertyUnion } from '../../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
value: unknown;
|
5
|
+
property: PropertyUnion;
|
6
|
+
isDirty: boolean;
|
7
|
+
label?: string;
|
8
|
+
required?: boolean;
|
9
|
+
useExpression?: boolean;
|
10
|
+
multipleOptions?: boolean;
|
11
|
+
};
|
12
|
+
declare const usePropertyFiller: ({ value, property, label, isDirty, required, useExpression, multipleOptions, }: Props) => {
|
13
|
+
propertyType: import("../../../interfaces").PropertyType;
|
14
|
+
valueLabel: string;
|
15
|
+
fillOptionLabel: string;
|
16
|
+
fillOption: PropertyFillType;
|
17
|
+
fillOptions: {
|
18
|
+
value: PropertyFillType;
|
19
|
+
label: string;
|
20
|
+
sortOrder: number;
|
21
|
+
}[];
|
22
|
+
setFillOption: import("react").Dispatch<import("react").SetStateAction<PropertyFillType>>;
|
23
|
+
};
|
24
|
+
export default usePropertyFiller;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { Control } from 'react-hook-form';
|
3
|
+
type Props = {
|
4
|
+
name: string;
|
5
|
+
control: Control<any>;
|
6
|
+
};
|
7
|
+
export declare const NumericTypeValidator: ({ name, control }: Props) => JSX.Element;
|
8
|
+
export default NumericTypeValidator;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './PropertyValidator';
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import 'ace-builds/src-noconflict/ace';
|
2
|
+
import 'ace-builds/src-noconflict/mode-json';
|
3
|
+
type Props = {
|
4
|
+
name: string;
|
5
|
+
label?: string;
|
6
|
+
required?: boolean;
|
7
|
+
};
|
8
|
+
declare const JsonValueField: ({ name, label, required }: Props) => JSX.Element;
|
9
|
+
export default JsonValueField;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
type Props = {
|
3
|
+
propertyFieldName: string;
|
4
|
+
name: string;
|
5
|
+
label?: string;
|
6
|
+
required?: boolean;
|
7
|
+
};
|
8
|
+
export declare const PropertyValueField: ({ propertyFieldName, name, label, required }: Props) => JSX.Element;
|
9
|
+
export default PropertyValueField;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
type Props = {
|
3
|
+
name: string;
|
4
|
+
label?: string;
|
5
|
+
required?: boolean;
|
6
|
+
restrictedValues?: string[];
|
7
|
+
};
|
8
|
+
declare const StringValueField: ({ name, label, required, restrictedValues }: Props) => JSX.Element;
|
9
|
+
export default StringValueField;
|
@@ -1 +1 @@
|
|
1
|
-
export * from './PropertyValueField';
|
1
|
+
export * from './PropertyValueField';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { RefCallBack } from 'react-hook-form';
|
3
|
+
import { PropertyUnion } from '../../../interfaces';
|
4
|
+
type Props = {
|
5
|
+
property: PropertyUnion;
|
6
|
+
name: string;
|
7
|
+
label?: string;
|
8
|
+
useExpression?: boolean;
|
9
|
+
required?: boolean;
|
10
|
+
inputRef: RefCallBack;
|
11
|
+
};
|
12
|
+
export declare const PropertyWidget: ({ property, name, label, useExpression, inputRef }: Props) => JSX.Element;
|
13
|
+
export default PropertyWidget;
|
@@ -1 +1 @@
|
|
1
|
-
export * from './PropertyWidget';
|
1
|
+
export * from './PropertyWidget';
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { CustomPropertyFieldProps } from '../../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
parentFieldName?: string;
|
5
|
+
hideAddButton?: boolean;
|
6
|
+
focusOnIndex?: number;
|
7
|
+
required?: boolean;
|
8
|
+
entityDefinition?: boolean;
|
9
|
+
globalParameter?: boolean;
|
10
|
+
customPropertyFields?: CustomPropertyFieldProps[];
|
11
|
+
};
|
12
|
+
export declare const CreatePropertiesList: ({ parentFieldName, hideAddButton, focusOnIndex, required, entityDefinition, globalParameter, customPropertyFields, }: Props) => JSX.Element;
|
13
|
+
export default CreatePropertiesList;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { CustomPropertyFieldProps } from '../../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
propertyFieldName: string;
|
5
|
+
entityDefinition?: boolean;
|
6
|
+
globalParameter?: boolean;
|
7
|
+
customPropertyFields?: CustomPropertyFieldProps[];
|
8
|
+
};
|
9
|
+
export declare const CreatePropertyFormFields: ({ propertyFieldName, entityDefinition, globalParameter, customPropertyFields, }: Props) => JSX.Element;
|
10
|
+
export default CreatePropertyFormFields;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { CustomPropertyFieldProps } from '../../../interfaces';
|
3
|
+
type Props = CustomPropertyFieldProps & {
|
4
|
+
propertyFieldName: string;
|
5
|
+
};
|
6
|
+
export declare const CustomPropertyField: ({ name, label, propertyFieldName, type, decimal, options, required, }: Props) => JSX.Element;
|
7
|
+
export default CustomPropertyField;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
type Props = {
|
3
|
+
parentPropertyFieldName: string;
|
4
|
+
entityDefinition?: boolean;
|
5
|
+
globalParameter?: boolean;
|
6
|
+
};
|
7
|
+
declare const EntityAdditionalFields: ({ parentPropertyFieldName, entityDefinition, globalParameter, }: Props) => JSX.Element;
|
8
|
+
export default EntityAdditionalFields;
|
package/src/lib/Property/UpsertProperty/PropertyAdditionalFields/PropertyAdditionalFields.d.ts
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { PropertyType } from '../../../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
propertyType: PropertyType;
|
5
|
+
propertyFieldName: string;
|
6
|
+
entityDefinition?: boolean;
|
7
|
+
globalParameter?: boolean;
|
8
|
+
};
|
9
|
+
export declare const PropertyAdditionalFields: ({ propertyType, propertyFieldName, entityDefinition, globalParameter, }: Props) => JSX.Element;
|
10
|
+
export default PropertyAdditionalFields;
|
@@ -1 +1 @@
|
|
1
|
-
export * from './PropertyAdditionalFields';
|
1
|
+
export * from './PropertyAdditionalFields';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from './CreatePropertiesList';
|
2
|
-
export * from './CreatePropertyFormFields';
|
1
|
+
export * from './CreatePropertiesList';
|
2
|
+
export * from './CreatePropertyFormFields';
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { CustomPropertyFieldProps } from '../../../interfaces';
|
2
|
+
declare const useCustomFields: (customPropertyFields: CustomPropertyFieldProps[]) => {
|
3
|
+
customCheckboxes: CustomPropertyFieldProps[];
|
4
|
+
customFields: CustomPropertyFieldProps[];
|
5
|
+
};
|
6
|
+
export default useCustomFields;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { PropertiesArrayType, PropertiesObjectType } from '../../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
properties: PropertiesObjectType<unknown> | PropertiesArrayType<unknown>;
|
5
|
+
expandAll?: boolean;
|
6
|
+
};
|
7
|
+
export declare const ViewPropertiesList: ({ properties, expandAll }: Props) => JSX.Element;
|
8
|
+
export default ViewPropertiesList;
|
@@ -1 +1 @@
|
|
1
|
-
export * from './ViewPropertiesList';
|
1
|
+
export * from './ViewPropertiesList';
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { PropertiesArrayType } from '../../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
properties: PropertiesArrayType;
|
5
|
+
};
|
6
|
+
declare const EntityPropertiesShortView: ({ properties }: Props) => JSX.Element;
|
7
|
+
export default EntityPropertiesShortView;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { PropertiesArrayType } from '../../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
properties: PropertiesArrayType;
|
5
|
+
parentNames?: string[];
|
6
|
+
};
|
7
|
+
declare const _default: import("react").MemoExoticComponent<({ properties, parentNames }: Props) => JSX.Element>;
|
8
|
+
export default _default;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { PropertyUnion } from '../../../interfaces';
|
2
|
+
type PropertyItemProps = {
|
3
|
+
property: PropertyUnion;
|
4
|
+
showName: boolean;
|
5
|
+
showType: boolean;
|
6
|
+
};
|
7
|
+
declare const PropertyItem: ({ property, showName, showType }: PropertyItemProps) => JSX.Element;
|
8
|
+
export default PropertyItem;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import { PropertyUnion } from '../../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
property: PropertyUnion;
|
5
|
+
parentNames?: string[];
|
6
|
+
defaultExpanded?: boolean;
|
7
|
+
};
|
8
|
+
export declare const ViewProperty: ({ property, parentNames, defaultExpanded }: Props) => JSX.Element;
|
9
|
+
export default ViewProperty;
|
@@ -1 +1 @@
|
|
1
|
-
export * from './ViewProperty';
|
1
|
+
export * from './ViewProperty';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export * from './UpsertProperty';
|
2
|
-
export * from './PropertyValueField';
|
3
|
-
export * from './ViewProperty';
|
4
|
-
export * from './ViewPropertiesList';
|
5
|
-
export * from './PropertyFiller';
|
1
|
+
export * from './UpsertProperty';
|
2
|
+
export * from './PropertyValueField';
|
3
|
+
export * from './ViewProperty';
|
4
|
+
export * from './ViewPropertiesList';
|
5
|
+
export * from './PropertyFiller';
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { Route } from '../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
routes: Route[];
|
5
|
+
theme?: any;
|
6
|
+
title?: string;
|
7
|
+
id?: string;
|
8
|
+
};
|
9
|
+
export declare const Sidebar: ({ routes, theme, title, id }: Props) => JSX.Element;
|
10
|
+
export {};
|
@@ -0,0 +1,117 @@
|
|
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 Drawer: import("@emotion/styled").StyledComponent<import("@mui/material/Drawer").DrawerProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
4
|
+
export declare const Header: import("@emotion/styled").StyledComponent<{
|
5
|
+
children?: import("react").ReactNode;
|
6
|
+
classes?: Partial<import("@mui/material/Toolbar").ToolbarClasses>;
|
7
|
+
disableGutters?: boolean;
|
8
|
+
variant?: "regular" | "dense";
|
9
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
10
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
11
|
+
ref?: import("react").Ref<HTMLDivElement>;
|
12
|
+
}, "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "disableGutters" | "variant"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
13
|
+
export declare const List: import("@emotion/styled").StyledComponent<{
|
14
|
+
children?: import("react").ReactNode;
|
15
|
+
classes?: Partial<import("@mui/material/List").ListClasses>;
|
16
|
+
dense?: boolean;
|
17
|
+
disablePadding?: boolean;
|
18
|
+
subheader?: import("react").ReactNode;
|
19
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
20
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
|
21
|
+
ref?: import("react").Ref<HTMLUListElement>;
|
22
|
+
}, "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "dense" | "disablePadding" | "subheader"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
23
|
+
export declare const ListItem: import("@emotion/styled").StyledComponent<{
|
24
|
+
button?: false;
|
25
|
+
} & import("@mui/material/ListItem").ListItemBaseProps & {
|
26
|
+
components?: {
|
27
|
+
Root?: import("react").ElementType<any>;
|
28
|
+
};
|
29
|
+
componentsProps?: {
|
30
|
+
root?: import("react").HTMLAttributes<HTMLDivElement> & import("@mui/material/ListItem").ListItemComponentsPropsOverrides;
|
31
|
+
};
|
32
|
+
slotProps?: {
|
33
|
+
root?: import("react").HTMLAttributes<HTMLDivElement> & import("@mui/material/ListItem").ListItemComponentsPropsOverrides;
|
34
|
+
};
|
35
|
+
slots?: {
|
36
|
+
root?: import("react").ElementType<any>;
|
37
|
+
};
|
38
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
39
|
+
ref?: import("react").Ref<HTMLLIElement>;
|
40
|
+
}, "button" | "style" | "alignItems" | "classes" | "slotProps" | "children" | "slots" | "className" | "components" | "componentsProps" | "sx" | "disableGutters" | "dense" | "disabled" | "disablePadding" | "autoFocus" | "ContainerComponent" | "ContainerProps" | "divider" | "secondaryAction" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
41
|
+
export declare const ListItemButton: import("@emotion/styled").StyledComponent<import("@mui/material/ListItemButton").ListItemButtonBaseProps & Omit<{
|
42
|
+
action?: import("react").Ref<import("@mui/material/ButtonBase").ButtonBaseActions>;
|
43
|
+
centerRipple?: boolean;
|
44
|
+
children?: import("react").ReactNode;
|
45
|
+
classes?: Partial<import("@mui/material/ButtonBase").ButtonBaseClasses>;
|
46
|
+
disabled?: boolean;
|
47
|
+
disableRipple?: boolean;
|
48
|
+
disableTouchRipple?: boolean;
|
49
|
+
focusRipple?: boolean;
|
50
|
+
focusVisibleClassName?: string;
|
51
|
+
LinkComponent?: import("react").ElementType<any>;
|
52
|
+
onFocusVisible?: import("react").FocusEventHandler<any>;
|
53
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
54
|
+
tabIndex?: number;
|
55
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps>;
|
56
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions>;
|
57
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
58
|
+
ref?: import("react").Ref<HTMLDivElement>;
|
59
|
+
}, "style" | "alignItems" | "classes" | "children" | "className" | "tabIndex" | "sx" | "disableGutters" | "dense" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "autoFocus" | "divider" | "selected"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
60
|
+
export declare const ListItemIcon: import("@emotion/styled").StyledComponent<import("@mui/material/ListItemIcon").ListItemIconProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
61
|
+
export declare const ListSubheader: import("@emotion/styled").StyledComponent<{
|
62
|
+
children?: import("react").ReactNode;
|
63
|
+
classes?: Partial<import("@mui/material/ListSubheader").ListSubheaderClasses>;
|
64
|
+
color?: "inherit" | "default" | "primary";
|
65
|
+
disableGutters?: boolean;
|
66
|
+
disableSticky?: boolean;
|
67
|
+
inset?: boolean;
|
68
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
69
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
|
70
|
+
ref?: import("react").Ref<HTMLLIElement>;
|
71
|
+
}, "color" | "inset" | "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "disableGutters" | "disableSticky"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
72
|
+
export declare const ListItemText: import("@emotion/styled").StyledComponent<import("@mui/material/ListItemText").ListItemTextProps<import("react").ElementType<any>, import("react").ElementType<any>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
73
|
+
export declare const ChildrenList: import("@emotion/styled").StyledComponent<{
|
74
|
+
children?: import("react").ReactNode;
|
75
|
+
classes?: Partial<import("@mui/material/List").ListClasses>;
|
76
|
+
dense?: boolean;
|
77
|
+
disablePadding?: boolean;
|
78
|
+
subheader?: import("react").ReactNode;
|
79
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
80
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & {
|
81
|
+
ref?: import("react").Ref<HTMLUListElement>;
|
82
|
+
}, "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "sx" | "dense" | "disablePadding" | "subheader"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
83
|
+
export declare const CollapseButton: import("@emotion/styled").StyledComponent<{
|
84
|
+
action?: import("react").Ref<import("@mui/material/ButtonBase").ButtonBaseActions>;
|
85
|
+
centerRipple?: boolean;
|
86
|
+
children?: import("react").ReactNode;
|
87
|
+
classes?: Partial<import("@mui/material/ButtonBase").ButtonBaseClasses>;
|
88
|
+
disabled?: boolean;
|
89
|
+
disableRipple?: boolean;
|
90
|
+
disableTouchRipple?: boolean;
|
91
|
+
focusRipple?: boolean;
|
92
|
+
focusVisibleClassName?: string;
|
93
|
+
LinkComponent?: import("react").ElementType<any>;
|
94
|
+
onFocusVisible?: import("react").FocusEventHandler<any>;
|
95
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
96
|
+
tabIndex?: number;
|
97
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps>;
|
98
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions>;
|
99
|
+
} & Omit<{
|
100
|
+
action?: import("react").Ref<import("@mui/material/ButtonBase").ButtonBaseActions>;
|
101
|
+
centerRipple?: boolean;
|
102
|
+
children?: import("react").ReactNode;
|
103
|
+
classes?: Partial<import("@mui/material/ButtonBase").ButtonBaseClasses>;
|
104
|
+
disabled?: boolean;
|
105
|
+
disableRipple?: boolean;
|
106
|
+
disableTouchRipple?: boolean;
|
107
|
+
focusRipple?: boolean;
|
108
|
+
focusVisibleClassName?: string;
|
109
|
+
LinkComponent?: import("react").ElementType<any>;
|
110
|
+
onFocusVisible?: import("react").FocusEventHandler<any>;
|
111
|
+
sx?: import("@mui/material/styles").SxProps<import("@mui/material/styles").Theme>;
|
112
|
+
tabIndex?: number;
|
113
|
+
TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps>;
|
114
|
+
touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions>;
|
115
|
+
}, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
116
|
+
ref?: import("react").Ref<HTMLButtonElement>;
|
117
|
+
}, "children" | keyof import("@mui/material/OverridableComponent").CommonProps | "tabIndex" | "sx" | "disabled" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
type SidebarContextProps = {
|
3
|
+
collapsed: boolean;
|
4
|
+
toggleCollapse: () => void;
|
5
|
+
};
|
6
|
+
export declare const SidebarContext: import("react").Context<SidebarContextProps>;
|
7
|
+
export declare const useSidebarContext: () => SidebarContextProps;
|
8
|
+
export declare const SidebarContextProvider: ({ children }: {
|
9
|
+
children: any;
|
10
|
+
}) => JSX.Element;
|
11
|
+
export {};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
import type { Route } from '../../interfaces';
|
3
|
+
type Props = {
|
4
|
+
title?: string;
|
5
|
+
routes: Route[];
|
6
|
+
id?: string;
|
7
|
+
};
|
8
|
+
declare const SidebarDrawer: ({ title, routes, id }: Props) => JSX.Element;
|
9
|
+
export default SidebarDrawer;
|