@piu-company/react-toolkit 1.0.1 → 1.0.3
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/dist/AppProvider.d.ts +16 -16
- package/dist/animations/QuadSpinner.d.ts +13 -13
- package/dist/animations/Ripple.d.ts +15 -15
- package/dist/animations/SvgAnimations.d.ts +11 -11
- package/dist/animations/index.d.ts +3 -3
- package/dist/authentication/AuthenticationProvider.d.ts +11 -11
- package/dist/authentication/context.d.ts +5 -5
- package/dist/authentication/duck.d.ts +36 -36
- package/dist/authentication/index.d.ts +4 -4
- package/dist/authentication/types.d.ts +1 -1
- package/dist/axios.d.ts +167 -167
- package/dist/breadCrumb/BreadCrumbProvider.d.ts +5 -5
- package/dist/breadCrumb/context.d.ts +8 -8
- package/dist/breadCrumb/index.d.ts +3 -3
- package/dist/breadCrumb/types.d.ts +4 -4
- package/dist/components/Consumers/NotificationConsumer.d.ts +1 -1
- package/dist/components/Consumers/SnackbarsConsumer.d.ts +1 -1
- package/dist/components/Consumers/ToolTipConsumer.d.ts +1 -1
- package/dist/components/Consumers/index.d.ts +3 -3
- package/dist/components/Firebase/FbImage.d.ts +7 -7
- package/dist/components/Firebase/index.d.ts +2 -2
- package/dist/components/Firebase/types.d.ts +14 -14
- package/dist/components/Forms/ChangePassword.d.ts +9 -9
- package/dist/components/Forms/index.d.ts +1 -1
- package/dist/components/GoogleCalendar/GoogleCalendarProvider.d.ts +6 -6
- package/dist/components/GoogleCalendar/context.d.ts +5 -5
- package/dist/components/GoogleCalendar/index.d.ts +2 -2
- package/dist/components/GoogleCalendar/types.d.ts +10 -10
- package/dist/components/GoogleMaps/GMap.d.ts +27 -27
- package/dist/components/GoogleMaps/GMapInput.d.ts +15 -15
- package/dist/components/GoogleMaps/GoogleMapsProvider.d.ts +6 -6
- package/dist/components/GoogleMaps/context.d.ts +5 -5
- package/dist/components/GoogleMaps/index.d.ts +4 -4
- package/dist/components/Layout/TitledRow.d.ts +14 -14
- package/dist/components/Layout/index.d.ts +1 -1
- package/dist/components/Level1/A.d.ts +6 -6
- package/dist/components/Level1/Button.d.ts +29 -29
- package/dist/components/Level1/Container.d.ts +57 -57
- package/dist/components/Level1/DropdownButton.d.ts +11 -11
- package/dist/components/Level1/FadeInOut.d.ts +7 -7
- package/dist/components/Level1/Hr.d.ts +13 -13
- package/dist/components/Level1/Icon.d.ts +18 -18
- package/dist/components/Level1/Slider.d.ts +19 -19
- package/dist/components/Level1/Spacer.d.ts +5 -5
- package/dist/components/Level1/Typography.d.ts +37 -37
- package/dist/components/Level1/index.d.ts +10 -10
- package/dist/components/Level2/Card.d.ts +9 -9
- package/dist/components/Level2/Checkbox.d.ts +29 -29
- package/dist/components/Level2/Cover.d.ts +10 -10
- package/dist/components/Level2/DatePicker/DatePicker.d.ts +17 -17
- package/dist/components/Level2/DatePicker/DayPicker.d.ts +43 -43
- package/dist/components/Level2/DatePicker/MonthPicker.d.ts +27 -27
- package/dist/components/Level2/DatePicker/index.d.ts +4 -4
- package/dist/components/Level2/DatePicker/types.d.ts +8 -8
- package/dist/components/Level2/FloatingDiv.d.ts +17 -17
- package/dist/components/Level2/IconButton.d.ts +23 -23
- package/dist/components/Level2/Linker.d.ts +7 -7
- package/dist/components/Level2/MultiButtonSelect.d.ts +24 -24
- package/dist/components/Level2/Overlay.d.ts +36 -36
- package/dist/components/Level2/PanelForm/PanelForm.d.ts +9 -9
- package/dist/components/Level2/PanelForm/PanelFormContent.d.ts +5 -5
- package/dist/components/Level2/PanelForm/PanelFormSaveSection.d.ts +10 -10
- package/dist/components/Level2/PanelForm/PanelFormSection.d.ts +6 -6
- package/dist/components/Level2/PanelForm/PanelFormTitleSection.d.ts +6 -6
- package/dist/components/Level2/PanelForm/index.d.ts +5 -5
- package/dist/components/Level2/PillContainer.d.ts +13 -13
- package/dist/components/Level2/RadioButton.d.ts +10 -10
- package/dist/components/Level2/SideMenu/SideMenu.d.ts +24 -24
- package/dist/components/Level2/SideMenu/SideMenuButton.d.ts +16 -16
- package/dist/components/Level2/SideMenu/SideMenuNav.d.ts +12 -12
- package/dist/components/Level2/SideMenu/index.d.ts +3 -3
- package/dist/components/Level2/SideMenu/types.d.ts +25 -25
- package/dist/components/Level2/SocialButtons/FacebookButton.d.ts +12 -12
- package/dist/components/Level2/SocialButtons/GoogleButton.d.ts +12 -12
- package/dist/components/Level2/SocialButtons/index.d.ts +2 -2
- package/dist/components/Level2/Switch.d.ts +11 -11
- package/dist/components/Level2/TargetCard.d.ts +43 -42
- package/dist/components/Level2/TextField/Masker.d.ts +13 -13
- package/dist/components/Level2/TextField/TextField.d.ts +16 -16
- package/dist/components/Level2/TextField/TextFieldContainer.d.ts +18 -18
- package/dist/components/Level2/TextField/index.d.ts +3 -3
- package/dist/components/Level2/ThemeToggle.d.ts +5 -5
- package/dist/components/Level2/Tooltip.d.ts +21 -21
- package/dist/components/Level2/Uploader/UploadPreview.d.ts +9 -9
- package/dist/components/Level2/Uploader/Uploader.d.ts +30 -30
- package/dist/components/Level2/Uploader/index.d.ts +3 -3
- package/dist/components/Level2/Uploader/types.d.ts +7 -7
- package/dist/components/Level2/index.d.ts +20 -20
- package/dist/components/Level3/AreaChart.d.ts +29 -29
- package/dist/components/Level3/BarChart.d.ts +26 -26
- package/dist/components/Level3/BreadCrumb.d.ts +5 -5
- package/dist/components/Level3/Chart.d.ts +22 -22
- package/dist/components/Level3/ColorPicker.d.ts +9 -9
- package/dist/components/Level3/DashboardCard.d.ts +18 -18
- package/dist/components/Level3/DashboardCardV2.d.ts +13 -13
- package/dist/components/Level3/DashboardSelector/DashboardSelector.d.ts +8 -8
- package/dist/components/Level3/DashboardSelector/index.d.ts +2 -2
- package/dist/components/Level3/DashboardSelector/types.d.ts +4 -4
- package/dist/components/Level3/DateField.d.ts +31 -31
- package/dist/components/Level3/FloatingIconButton.d.ts +19 -19
- package/dist/components/Level3/FloatingIconButtonList.d.ts +13 -13
- package/dist/components/Level3/FullScreenButton.d.ts +2 -2
- package/dist/components/Level3/ListEditor.d.ts +12 -12
- package/dist/components/Level3/MultiChart.d.ts +27 -27
- package/dist/components/Level3/OptionSelector/OptionSelector.d.ts +18 -18
- package/dist/components/Level3/OptionSelector/index.d.ts +2 -2
- package/dist/components/Level3/OptionSelector/types.d.ts +8 -8
- package/dist/components/Level3/OverlayTopBar.d.ts +32 -32
- package/dist/components/Level3/PasswordField.d.ts +17 -17
- package/dist/components/Level3/PhoneField/PhoneField.d.ts +12 -12
- package/dist/components/Level3/PhoneField/PhoneSelection.d.ts +15 -15
- package/dist/components/Level3/PhoneField/countryData.d.ts +7 -7
- package/dist/components/Level3/PhoneField/flags/index.d.ts +243 -243
- package/dist/components/Level3/PhoneField/functions.d.ts +4 -4
- package/dist/components/Level3/PhoneField/index.d.ts +6 -6
- package/dist/components/Level3/PhoneField/types.d.ts +5 -5
- package/dist/components/Level3/PieChart.d.ts +30 -30
- package/dist/components/Level3/Popup.d.ts +23 -23
- package/dist/components/Level3/ProfileBox.d.ts +27 -27
- package/dist/components/Level3/Snackbar.d.ts +16 -16
- package/dist/components/Level3/TimeField/TimeField.d.ts +23 -22
- package/dist/components/Level3/TimeField/TimePicker.d.ts +23 -23
- package/dist/components/Level3/TimeField/index.d.ts +2 -2
- package/dist/components/Level3/Topbar.d.ts +36 -36
- package/dist/components/Level3/index.d.ts +24 -24
- package/dist/components/Level4/ConfirmPopup.d.ts +14 -14
- package/dist/components/Level4/index.d.ts +1 -1
- package/dist/components/NextJS/NEXTGlobalStyle.d.ts +7 -7
- package/dist/components/NextJS/index.d.ts +2 -2
- package/dist/components/NextJS/utils.d.ts +1 -1
- package/dist/components/Stripe/CardCvc.d.ts +17 -17
- package/dist/components/Stripe/CardExpiry.d.ts +17 -17
- package/dist/components/Stripe/CardNumber.d.ts +17 -17
- package/dist/components/Stripe/StripeProvider.d.ts +9 -9
- package/dist/components/Stripe/context.d.ts +6 -6
- package/dist/components/Stripe/functions.d.ts +5 -5
- package/dist/components/Stripe/index.d.ts +6 -6
- package/dist/components/UseDataLayer/Autocomplete/Autocomplete.d.ts +10 -10
- package/dist/components/UseDataLayer/Autocomplete/AutocompleteUI.d.ts +21 -21
- package/dist/components/UseDataLayer/Autocomplete/OptionDiv.d.ts +12 -12
- package/dist/components/UseDataLayer/Autocomplete/Selection.d.ts +13 -13
- package/dist/components/UseDataLayer/Autocomplete/index.d.ts +5 -5
- package/dist/components/UseDataLayer/Autocomplete/types.d.ts +10 -10
- package/dist/components/UseDataLayer/CountrySelection.d.ts +11 -11
- package/dist/components/UseDataLayer/EntityList/EntityList.d.ts +10 -10
- package/dist/components/UseDataLayer/EntityList/EntityListUI.d.ts +12 -12
- package/dist/components/UseDataLayer/EntityList/index.d.ts +3 -3
- package/dist/components/UseDataLayer/EntityList/types.d.ts +1 -1
- package/dist/components/UseDataLayer/Table/Header.d.ts +24 -24
- package/dist/components/UseDataLayer/Table/PaginationControl.d.ts +8 -8
- package/dist/components/UseDataLayer/Table/Row.d.ts +22 -22
- package/dist/components/UseDataLayer/Table/ShowingControl.d.ts +18 -18
- package/dist/components/UseDataLayer/Table/ShowingFooter.d.ts +6 -6
- package/dist/components/UseDataLayer/Table/Table.d.ts +10 -10
- package/dist/components/UseDataLayer/Table/TableUI.d.ts +24 -24
- package/dist/components/UseDataLayer/Table/index.d.ts +8 -8
- package/dist/components/UseDataLayer/Table/types.d.ts +13 -13
- package/dist/components/UseDataLayer/TownSelection.d.ts +11 -11
- package/dist/components/UseDataLayer/index.d.ts +5 -5
- package/dist/components/UseRedux/Sidebar/Sidebar.d.ts +48 -48
- package/dist/components/UseRedux/Sidebar/SidebarButton.d.ts +25 -25
- package/dist/components/UseRedux/Sidebar/SidebarTitle.d.ts +14 -14
- package/dist/components/UseRedux/Sidebar/SidebarToggler.d.ts +16 -16
- package/dist/components/UseRedux/Sidebar/duck.d.ts +30 -30
- package/dist/components/UseRedux/Sidebar/index.d.ts +6 -6
- package/dist/components/UseRedux/Sidebar/types.d.ts +13 -13
- package/dist/components/UseRedux/index.d.ts +1 -1
- package/dist/components/index.d.ts +15 -15
- package/dist/components/pages/AuthPage/AuthPage.d.ts +18 -18
- package/dist/components/pages/AuthPage/index.d.ts +2 -2
- package/dist/components/pages/AuthPage/types.d.ts +14 -14
- package/dist/components/pages/AuthPageV2.d.ts +16 -16
- package/dist/components/pages/ErrorPage.d.ts +13 -13
- package/dist/components/pages/ForbiddenPage.d.ts +15 -15
- package/dist/components/pages/ForgotPasswordPage/ForgotPasswordForm.d.ts +5 -5
- package/dist/components/pages/ForgotPasswordPage/ForgotPasswordPage.d.ts +4 -4
- package/dist/components/pages/ForgotPasswordPage/index.d.ts +2 -2
- package/dist/components/pages/LoadingPage.d.ts +14 -14
- package/dist/components/pages/LoginPage/LoginForm.d.ts +20 -20
- package/dist/components/pages/LoginPage/LoginPage.d.ts +9 -9
- package/dist/components/pages/LoginPage/index.d.ts +2 -2
- package/dist/components/pages/LogoutPage.d.ts +5 -5
- package/dist/components/pages/NotFoundPage.d.ts +6 -6
- package/dist/components/pages/UnverifiedUserPage.d.ts +6 -6
- package/dist/components/pages/index.d.ts +10 -10
- package/dist/contextCheckers.d.ts +4 -4
- package/dist/dataEnums.d.ts +370 -370
- package/dist/dataLayer/DataContext.d.ts +11 -11
- package/dist/dataLayer/DataProvider.d.ts +53 -53
- package/dist/dataLayer/duck.d.ts +32 -32
- package/dist/dataLayer/index.d.ts +4 -4
- package/dist/dataLayer/types.d.ts +17 -17
- package/dist/generalTypes.d.ts +48 -48
- package/dist/geoUtils.d.ts +35 -35
- package/dist/hooks/index.d.ts +8 -8
- package/dist/hooks/types.d.ts +3 -3
- package/dist/hooks/useClickOutside.d.ts +3 -3
- package/dist/hooks/useCombinedRef.d.ts +1 -1
- package/dist/hooks/useEnterSubmit.d.ts +2 -2
- package/dist/hooks/useFBAuth.d.ts +2 -2
- package/dist/hooks/useInterval.d.ts +2 -2
- package/dist/hooks/useResize.d.ts +2 -2
- package/dist/hooks/useTimeout.d.ts +2 -2
- package/dist/index.cjs.js +44 -4
- package/dist/index.d.ts +22 -22
- package/dist/index.esm.js +44 -4
- package/dist/masker.d.ts +15 -15
- package/dist/navigation/NavProvider.d.ts +7 -7
- package/dist/navigation/context.d.ts +6 -6
- package/dist/navigation/index.d.ts +3 -3
- package/dist/navigation/types.d.ts +6 -6
- package/dist/notification/NotificationProvider.d.ts +21 -21
- package/dist/notification/context.d.ts +8 -8
- package/dist/notification/duck.d.ts +30 -30
- package/dist/notification/index.d.ts +3 -3
- package/dist/redux.d.ts +25 -25
- package/dist/size/SizeProvider.d.ts +6 -6
- package/dist/size/context.d.ts +5 -5
- package/dist/size/index.d.ts +3 -3
- package/dist/size/types.d.ts +5 -5
- package/dist/snackbar/SnackbarProvider.d.ts +5 -5
- package/dist/snackbar/context.d.ts +8 -8
- package/dist/snackbar/functions.d.ts +14 -14
- package/dist/snackbar/index.d.ts +4 -4
- package/dist/snackbar/types.d.ts +28 -28
- package/dist/styleEnums.d.ts +156 -156
- package/dist/theming/ThemeProvider.d.ts +26 -26
- package/dist/theming/context.d.ts +11 -11
- package/dist/theming/duck.d.ts +23 -23
- package/dist/theming/functions.d.ts +2 -2
- package/dist/theming/index.d.ts +5 -5
- package/dist/theming/types.d.ts +60 -60
- package/dist/tooltip/ToolTipProvider.d.ts +5 -5
- package/dist/tooltip/context.d.ts +10 -10
- package/dist/tooltip/index.d.ts +3 -3
- package/dist/tooltip/types.d.ts +8 -8
- package/dist/tsconfig.rollup.tsbuildinfo +1 -1
- package/dist/utils.d.ts +39 -39
- package/package.json +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { IOptionStyling } from './OptionDiv';
|
|
3
|
-
import { ITargetCard } from '../../Level2';
|
|
4
|
-
import { IOption, OptionSelectHandler, OptionUnSelectHandler } from './types';
|
|
5
|
-
export interface ISelection extends IOptionStyling, ITargetCard {
|
|
6
|
-
loading?: boolean;
|
|
7
|
-
selected?: IOption | IOption[];
|
|
8
|
-
options: IOption[];
|
|
9
|
-
onSelect: OptionSelectHandler;
|
|
10
|
-
onUnSelect: OptionUnSelectHandler;
|
|
11
|
-
footer?: ReactNode;
|
|
12
|
-
}
|
|
13
|
-
export declare const Selection: import("react").ForwardRefExoticComponent<ISelection & import("react").RefAttributes<HTMLDivElement>>;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { IOptionStyling } from './OptionDiv';
|
|
3
|
+
import { ITargetCard } from '../../Level2';
|
|
4
|
+
import { IOption, OptionSelectHandler, OptionUnSelectHandler } from './types';
|
|
5
|
+
export interface ISelection extends IOptionStyling, ITargetCard {
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
selected?: IOption | IOption[];
|
|
8
|
+
options: IOption[];
|
|
9
|
+
onSelect: OptionSelectHandler;
|
|
10
|
+
onUnSelect: OptionUnSelectHandler;
|
|
11
|
+
footer?: ReactNode;
|
|
12
|
+
}
|
|
13
|
+
export declare const Selection: import("react").ForwardRefExoticComponent<ISelection & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './AutocompleteUI';
|
|
2
|
-
export * from './Autocomplete';
|
|
3
|
-
export * from './OptionDiv';
|
|
4
|
-
export * from './Selection';
|
|
5
|
-
export * from './types';
|
|
1
|
+
export * from './AutocompleteUI';
|
|
2
|
+
export * from './Autocomplete';
|
|
3
|
+
export * from './OptionDiv';
|
|
4
|
+
export * from './Selection';
|
|
5
|
+
export * from './types';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface IOption {
|
|
2
|
-
id: string;
|
|
3
|
-
display: string;
|
|
4
|
-
data?: any;
|
|
5
|
-
}
|
|
6
|
-
export type OptionChangeHandler = (option: IOption | IOption[] | null) => void;
|
|
7
|
-
export type OptionSelectHandler = (option: IOption | null) => void;
|
|
8
|
-
export type OptionUnSelectHandler = (option: IOption) => void;
|
|
9
|
-
export type ParseOptionsHandler = (data: any) => IOption[];
|
|
10
|
-
export type ParseFilterHandler = (query: string) => any;
|
|
1
|
+
export interface IOption {
|
|
2
|
+
id: string;
|
|
3
|
+
display: string;
|
|
4
|
+
data?: any;
|
|
5
|
+
}
|
|
6
|
+
export type OptionChangeHandler = (option: IOption | IOption[] | null) => void;
|
|
7
|
+
export type OptionSelectHandler = (option: IOption | null) => void;
|
|
8
|
+
export type OptionUnSelectHandler = (option: IOption) => void;
|
|
9
|
+
export type ParseOptionsHandler = (data: any) => IOption[];
|
|
10
|
+
export type ParseFilterHandler = (query: string) => any;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TargetCardType } from '../Level2';
|
|
2
|
-
import { IOption, OptionChangeHandler } from './Autocomplete';
|
|
3
|
-
export interface ICountrySelection {
|
|
4
|
-
label?: string;
|
|
5
|
-
width?: string;
|
|
6
|
-
country: IOption | IOption[];
|
|
7
|
-
setCountry: OptionChangeHandler;
|
|
8
|
-
error?: string;
|
|
9
|
-
targetCardType?: TargetCardType;
|
|
10
|
-
}
|
|
11
|
-
export declare const CountrySelection: (props: ICountrySelection) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { TargetCardType } from '../Level2';
|
|
2
|
+
import { IOption, OptionChangeHandler } from './Autocomplete';
|
|
3
|
+
export interface ICountrySelection {
|
|
4
|
+
label?: string;
|
|
5
|
+
width?: string;
|
|
6
|
+
country: IOption | IOption[];
|
|
7
|
+
setCountry: OptionChangeHandler;
|
|
8
|
+
error?: string;
|
|
9
|
+
targetCardType?: TargetCardType;
|
|
10
|
+
}
|
|
11
|
+
export declare const CountrySelection: (props: ICountrySelection) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IDataContextExtender, IDataContextInput, IDataLayerActions } from '../../../dataLayer';
|
|
2
|
-
import { IEntityListUI } from './EntityListUI';
|
|
3
|
-
export interface IEntityList extends IDataContextInput, IDataContextExtender, IEntityListUI, IDataLayerActions {
|
|
4
|
-
}
|
|
5
|
-
export declare const EntityList: {
|
|
6
|
-
({ displayName, entityName, selected, setSelected, onDelete, parseData, parseSearch, extraApiCall, setFilter, setPage, setLimit, setSort, ...props }: IEntityList): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
defaultProps: {
|
|
8
|
-
enterSubmit: boolean;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
1
|
+
import { IDataContextExtender, IDataContextInput, IDataLayerActions } from '../../../dataLayer';
|
|
2
|
+
import { IEntityListUI } from './EntityListUI';
|
|
3
|
+
export interface IEntityList extends IDataContextInput, IDataContextExtender, IEntityListUI, IDataLayerActions {
|
|
4
|
+
}
|
|
5
|
+
export declare const EntityList: {
|
|
6
|
+
({ displayName, entityName, selected, setSelected, onDelete, parseData, parseSearch, extraApiCall, setFilter, setPage, setLimit, setSort, ...props }: IEntityList): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
defaultProps: {
|
|
8
|
+
enterSubmit: boolean;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ListSelectionHandler } from './types';
|
|
2
|
-
export interface IEntityListUI {
|
|
3
|
-
displayName: string;
|
|
4
|
-
entityName: string;
|
|
5
|
-
selected?: string[];
|
|
6
|
-
extraApiCall?: (data: any) => Promise<any>;
|
|
7
|
-
setSelected: ListSelectionHandler;
|
|
8
|
-
onDelete: (data: any) => Promise<void>;
|
|
9
|
-
parseData: (data: any) => any[];
|
|
10
|
-
parseSearch: (query: string) => any;
|
|
11
|
-
}
|
|
12
|
-
export declare const EntityListUI: ({ parseSearch, ...props }: IEntityListUI) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { ListSelectionHandler } from './types';
|
|
2
|
+
export interface IEntityListUI {
|
|
3
|
+
displayName: string;
|
|
4
|
+
entityName: string;
|
|
5
|
+
selected?: string[];
|
|
6
|
+
extraApiCall?: (data: any) => Promise<any>;
|
|
7
|
+
setSelected: ListSelectionHandler;
|
|
8
|
+
onDelete: (data: any) => Promise<void>;
|
|
9
|
+
parseData: (data: any) => any[];
|
|
10
|
+
parseSearch: (query: string) => any;
|
|
11
|
+
}
|
|
12
|
+
export declare const EntityListUI: ({ parseSearch, ...props }: IEntityListUI) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './EntityList';
|
|
2
|
-
export * from './EntityListUI';
|
|
3
|
-
export * from './types';
|
|
1
|
+
export * from './EntityList';
|
|
2
|
+
export * from './EntityListUI';
|
|
3
|
+
export * from './types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ListSelectionHandler = (data: any) => void;
|
|
1
|
+
export type ListSelectionHandler = (data: any) => void;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { SortHandler } from '../../../dataLayer';
|
|
2
|
-
import { Sort } from '../../../dataLayer';
|
|
3
|
-
import { Colors, Settings } from '../../../theming';
|
|
4
|
-
import { HeaderHandler, RowSelectableHandler, SelectionHandler } from './types';
|
|
5
|
-
interface IHeaderStyle {
|
|
6
|
-
color?: Colors | string;
|
|
7
|
-
border?: Settings | string;
|
|
8
|
-
borderColor?: Colors | string;
|
|
9
|
-
footer?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface IHeader {
|
|
12
|
-
footer?: boolean;
|
|
13
|
-
keyName: string;
|
|
14
|
-
headers: any[];
|
|
15
|
-
rows: any[];
|
|
16
|
-
selected?: any[];
|
|
17
|
-
setGeneratedHeaders: HeaderHandler;
|
|
18
|
-
setSelected?: SelectionHandler;
|
|
19
|
-
sort?: Sort;
|
|
20
|
-
setSort?: SortHandler;
|
|
21
|
-
rowSelectable?: RowSelectableHandler;
|
|
22
|
-
}
|
|
23
|
-
export declare const Header: ({ setGeneratedHeaders, rowSelectable, headers, ...props }: IHeader & IHeaderStyle) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export {};
|
|
1
|
+
import { SortHandler } from '../../../dataLayer';
|
|
2
|
+
import { Sort } from '../../../dataLayer';
|
|
3
|
+
import { Colors, Settings } from '../../../theming';
|
|
4
|
+
import { HeaderHandler, RowSelectableHandler, SelectionHandler } from './types';
|
|
5
|
+
interface IHeaderStyle {
|
|
6
|
+
color?: Colors | string;
|
|
7
|
+
border?: Settings | string;
|
|
8
|
+
borderColor?: Colors | string;
|
|
9
|
+
footer?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IHeader {
|
|
12
|
+
footer?: boolean;
|
|
13
|
+
keyName: string;
|
|
14
|
+
headers: any[];
|
|
15
|
+
rows: any[];
|
|
16
|
+
selected?: any[];
|
|
17
|
+
setGeneratedHeaders: HeaderHandler;
|
|
18
|
+
setSelected?: SelectionHandler;
|
|
19
|
+
sort?: Sort;
|
|
20
|
+
setSort?: SortHandler;
|
|
21
|
+
rowSelectable?: RowSelectableHandler;
|
|
22
|
+
}
|
|
23
|
+
export declare const Header: ({ setGeneratedHeaders, rowSelectable, headers, ...props }: IHeader & IHeaderStyle) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PageHandler } from '../../../dataLayer';
|
|
2
|
-
export interface IPaginationControl {
|
|
3
|
-
page: number;
|
|
4
|
-
setPage: PageHandler;
|
|
5
|
-
limit: number;
|
|
6
|
-
total: number;
|
|
7
|
-
}
|
|
8
|
-
export declare const PaginationControl: (props: IPaginationControl) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { PageHandler } from '../../../dataLayer';
|
|
2
|
+
export interface IPaginationControl {
|
|
3
|
+
page: number;
|
|
4
|
+
setPage: PageHandler;
|
|
5
|
+
limit: number;
|
|
6
|
+
total: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const PaginationControl: (props: IPaginationControl) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { Colors, Settings } from '../../../theming';
|
|
2
|
-
import { HeaderType, SelectionHandler } from './types';
|
|
3
|
-
interface IRowStyle {
|
|
4
|
-
clickable?: boolean;
|
|
5
|
-
border?: Settings | string;
|
|
6
|
-
borderColor?: Colors | string;
|
|
7
|
-
altBackgroundColor?: Colors | string;
|
|
8
|
-
last?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface IRow extends IRowStyle {
|
|
11
|
-
selectableRow?: boolean;
|
|
12
|
-
shadeEven?: boolean;
|
|
13
|
-
selected?: string[];
|
|
14
|
-
setSelected?: SelectionHandler;
|
|
15
|
-
keyName: string;
|
|
16
|
-
headers: HeaderType[];
|
|
17
|
-
row: any;
|
|
18
|
-
index: number;
|
|
19
|
-
show?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export declare const Row: (props: IRow) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export {};
|
|
1
|
+
import { Colors, Settings } from '../../../theming';
|
|
2
|
+
import { HeaderType, SelectionHandler } from './types';
|
|
3
|
+
interface IRowStyle {
|
|
4
|
+
clickable?: boolean;
|
|
5
|
+
border?: Settings | string;
|
|
6
|
+
borderColor?: Colors | string;
|
|
7
|
+
altBackgroundColor?: Colors | string;
|
|
8
|
+
last?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface IRow extends IRowStyle {
|
|
11
|
+
selectableRow?: boolean;
|
|
12
|
+
shadeEven?: boolean;
|
|
13
|
+
selected?: string[];
|
|
14
|
+
setSelected?: SelectionHandler;
|
|
15
|
+
keyName: string;
|
|
16
|
+
headers: HeaderType[];
|
|
17
|
+
row: any;
|
|
18
|
+
index: number;
|
|
19
|
+
show?: boolean;
|
|
20
|
+
}
|
|
21
|
+
export declare const Row: (props: IRow) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export {};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { LimitHandler, PageHandler } from '../../../dataLayer';
|
|
2
|
-
import { Colors, Settings } from '../../../theming';
|
|
3
|
-
interface IShowingControlStyle {
|
|
4
|
-
backgroundColor?: Colors | string;
|
|
5
|
-
borderRadius?: Settings | string;
|
|
6
|
-
borderColor?: Colors | string;
|
|
7
|
-
border?: Settings | string;
|
|
8
|
-
color?: Colors | string;
|
|
9
|
-
}
|
|
10
|
-
export interface IShowingControl extends IShowingControlStyle {
|
|
11
|
-
limit: number;
|
|
12
|
-
setLimit: LimitHandler;
|
|
13
|
-
page: number;
|
|
14
|
-
setPage: PageHandler;
|
|
15
|
-
options: number[];
|
|
16
|
-
}
|
|
17
|
-
export declare const ShowingControl: (props: IShowingControl) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|
|
1
|
+
import { LimitHandler, PageHandler } from '../../../dataLayer';
|
|
2
|
+
import { Colors, Settings } from '../../../theming';
|
|
3
|
+
interface IShowingControlStyle {
|
|
4
|
+
backgroundColor?: Colors | string;
|
|
5
|
+
borderRadius?: Settings | string;
|
|
6
|
+
borderColor?: Colors | string;
|
|
7
|
+
border?: Settings | string;
|
|
8
|
+
color?: Colors | string;
|
|
9
|
+
}
|
|
10
|
+
export interface IShowingControl extends IShowingControlStyle {
|
|
11
|
+
limit: number;
|
|
12
|
+
setLimit: LimitHandler;
|
|
13
|
+
page: number;
|
|
14
|
+
setPage: PageHandler;
|
|
15
|
+
options: number[];
|
|
16
|
+
}
|
|
17
|
+
export declare const ShowingControl: (props: IShowingControl) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface IShowingFooter {
|
|
2
|
-
page: number;
|
|
3
|
-
total: number;
|
|
4
|
-
limit: number;
|
|
5
|
-
}
|
|
6
|
-
export declare const ShowingFooter: ({ page, total, limit }: IShowingFooter) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
export interface IShowingFooter {
|
|
2
|
+
page: number;
|
|
3
|
+
total: number;
|
|
4
|
+
limit: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const ShowingFooter: ({ page, total, limit }: IShowingFooter) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { IDataContextExtender, IDataContextInput, IDataLayerActions } from '../../../dataLayer';
|
|
2
|
-
import { ITableUI } from './TableUI';
|
|
3
|
-
export interface ITable extends IDataContextInput, IDataLayerActions, IDataContextExtender, ITableUI {
|
|
4
|
-
}
|
|
5
|
-
export declare const Table: {
|
|
6
|
-
({ parseRows, headers, keyName, selected, limitSelection, onRowClick, setSelected, doubleHeader, filterUI, rightSectionUI, shadeEven, rowSelectable, pagination, setFilter, setPage, setLimit, setSort, ...props }: ITable): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
defaultProps: {
|
|
8
|
-
limitSelection: number[];
|
|
9
|
-
};
|
|
10
|
-
};
|
|
1
|
+
import { IDataContextExtender, IDataContextInput, IDataLayerActions } from '../../../dataLayer';
|
|
2
|
+
import { ITableUI } from './TableUI';
|
|
3
|
+
export interface ITable extends IDataContextInput, IDataLayerActions, IDataContextExtender, ITableUI {
|
|
4
|
+
}
|
|
5
|
+
export declare const Table: {
|
|
6
|
+
({ parseRows, headers, keyName, selected, limitSelection, onRowClick, setSelected, doubleHeader, filterUI, rightSectionUI, shadeEven, rowSelectable, pagination, setFilter, setPage, setLimit, setSort, ...props }: ITable): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
defaultProps: {
|
|
8
|
+
limitSelection: number[];
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { HeaderType, RowClickHandler, RowHandler, RowSelectableHandler, SelectionHandler } from './types';
|
|
3
|
-
export interface ITableUI {
|
|
4
|
-
keyName: string;
|
|
5
|
-
onRowClick?: RowClickHandler;
|
|
6
|
-
rowSelectable?: RowSelectableHandler;
|
|
7
|
-
setSelected?: SelectionHandler;
|
|
8
|
-
headers: HeaderType[];
|
|
9
|
-
limitSelection: number[];
|
|
10
|
-
selected?: string[];
|
|
11
|
-
parseRows?: RowHandler;
|
|
12
|
-
filterUI?: ReactNode;
|
|
13
|
-
rightSectionUI?: ReactNode;
|
|
14
|
-
doubleHeader?: boolean;
|
|
15
|
-
shadeEven?: boolean;
|
|
16
|
-
pagination?: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare const TableUI: {
|
|
19
|
-
({ parseRows, ...props }: ITableUI): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
defaultProps: {
|
|
21
|
-
parseRows: (data: any) => any;
|
|
22
|
-
pagination: boolean;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { HeaderType, RowClickHandler, RowHandler, RowSelectableHandler, SelectionHandler } from './types';
|
|
3
|
+
export interface ITableUI {
|
|
4
|
+
keyName: string;
|
|
5
|
+
onRowClick?: RowClickHandler;
|
|
6
|
+
rowSelectable?: RowSelectableHandler;
|
|
7
|
+
setSelected?: SelectionHandler;
|
|
8
|
+
headers: HeaderType[];
|
|
9
|
+
limitSelection: number[];
|
|
10
|
+
selected?: string[];
|
|
11
|
+
parseRows?: RowHandler;
|
|
12
|
+
filterUI?: ReactNode;
|
|
13
|
+
rightSectionUI?: ReactNode;
|
|
14
|
+
doubleHeader?: boolean;
|
|
15
|
+
shadeEven?: boolean;
|
|
16
|
+
pagination?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const TableUI: {
|
|
19
|
+
({ parseRows, ...props }: ITableUI): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
defaultProps: {
|
|
21
|
+
parseRows: (data: any) => any;
|
|
22
|
+
pagination: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from './TableUI';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './Table';
|
|
4
|
-
export * from './Header';
|
|
5
|
-
export * from './PaginationControl';
|
|
6
|
-
export * from './Row';
|
|
7
|
-
export * from './ShowingControl';
|
|
8
|
-
export * from './ShowingFooter';
|
|
1
|
+
export * from './TableUI';
|
|
2
|
+
export * from './types';
|
|
3
|
+
export * from './Table';
|
|
4
|
+
export * from './Header';
|
|
5
|
+
export * from './PaginationControl';
|
|
6
|
+
export * from './Row';
|
|
7
|
+
export * from './ShowingControl';
|
|
8
|
+
export * from './ShowingFooter';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { RefObject } from 'react';
|
|
2
|
-
export type SelectionHandler = (newSelection: string[]) => void;
|
|
3
|
-
export type RowClickHandler = (row: any) => void;
|
|
4
|
-
export type RowHandler = (data: any) => any[];
|
|
5
|
-
export type RowSelectableHandler = (data: any) => boolean;
|
|
6
|
-
export type HeaderHandler = (newHeaders: HeaderType[]) => void;
|
|
7
|
-
export interface HeaderType {
|
|
8
|
-
id: string;
|
|
9
|
-
title: string;
|
|
10
|
-
sortable?: boolean;
|
|
11
|
-
ref?: RefObject<HTMLTableHeaderCellElement>;
|
|
12
|
-
width?: string;
|
|
13
|
-
}
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export type SelectionHandler = (newSelection: string[]) => void;
|
|
3
|
+
export type RowClickHandler = (row: any) => void;
|
|
4
|
+
export type RowHandler = (data: any) => any[];
|
|
5
|
+
export type RowSelectableHandler = (data: any) => boolean;
|
|
6
|
+
export type HeaderHandler = (newHeaders: HeaderType[]) => void;
|
|
7
|
+
export interface HeaderType {
|
|
8
|
+
id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
sortable?: boolean;
|
|
11
|
+
ref?: RefObject<HTMLTableHeaderCellElement>;
|
|
12
|
+
width?: string;
|
|
13
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { TargetCardType } from '../Level2';
|
|
2
|
-
import { IOption, OptionChangeHandler } from './Autocomplete';
|
|
3
|
-
export interface ITownSelection {
|
|
4
|
-
label?: string;
|
|
5
|
-
width?: string;
|
|
6
|
-
town: IOption | IOption[];
|
|
7
|
-
setTown: OptionChangeHandler;
|
|
8
|
-
error?: string;
|
|
9
|
-
targetCardType?: TargetCardType;
|
|
10
|
-
}
|
|
11
|
-
export declare const TownSelection: (props: ITownSelection) => import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { TargetCardType } from '../Level2';
|
|
2
|
+
import { IOption, OptionChangeHandler } from './Autocomplete';
|
|
3
|
+
export interface ITownSelection {
|
|
4
|
+
label?: string;
|
|
5
|
+
width?: string;
|
|
6
|
+
town: IOption | IOption[];
|
|
7
|
+
setTown: OptionChangeHandler;
|
|
8
|
+
error?: string;
|
|
9
|
+
targetCardType?: TargetCardType;
|
|
10
|
+
}
|
|
11
|
+
export declare const TownSelection: (props: ITownSelection) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './Autocomplete';
|
|
2
|
-
export * from './Table';
|
|
3
|
-
export * from './EntityList';
|
|
4
|
-
export * from './TownSelection';
|
|
5
|
-
export * from './CountrySelection';
|
|
1
|
+
export * from './Autocomplete';
|
|
2
|
+
export * from './Table';
|
|
3
|
+
export * from './EntityList';
|
|
4
|
+
export * from './TownSelection';
|
|
5
|
+
export * from './CountrySelection';
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Colors } from '../../../theming';
|
|
3
|
-
import { ISidebarState, ISidebarStoreActions } from './duck';
|
|
4
|
-
import { INavType, PermissionHandler } from './types';
|
|
5
|
-
export interface ISidebar extends ISidebarStyle {
|
|
6
|
-
logo?: ReactNode;
|
|
7
|
-
favicon?: ReactNode;
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
nav: INavType[];
|
|
10
|
-
forcePermissionCheck?: boolean;
|
|
11
|
-
permissionCheck?: PermissionHandler;
|
|
12
|
-
location?: string;
|
|
13
|
-
mobile?: boolean;
|
|
14
|
-
customUiTop?: (collapsed: boolean) => ReactNode;
|
|
15
|
-
alwaysShowFooter?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface IFooterButton {
|
|
18
|
-
setOpen?: (value: boolean) => void;
|
|
19
|
-
icon?: ReactNode;
|
|
20
|
-
}
|
|
21
|
-
export interface IFooter {
|
|
22
|
-
isButton?: boolean;
|
|
23
|
-
footerButton?: IFooterButton;
|
|
24
|
-
footer?: ReactNode;
|
|
25
|
-
}
|
|
26
|
-
export interface ISidebarStyle {
|
|
27
|
-
activeColor?: string | Colors;
|
|
28
|
-
backgroundColor?: string | Colors;
|
|
29
|
-
}
|
|
30
|
-
export declare const Sidebar: import("react-redux").ConnectedComponent<({ nav, permissionCheck, collapsed, setCollapsed, forcePermissionCheck, ...props }: ISidebar & ISidebarState & ISidebarStoreActions & IFooter) => import("react/jsx-runtime").JSX.Element, {
|
|
31
|
-
children: ReactNode;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
nav: INavType[];
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
47
|
-
store?: import("redux").Store | undefined;
|
|
48
|
-
}>;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Colors } from '../../../theming';
|
|
3
|
+
import { ISidebarState, ISidebarStoreActions } from './duck';
|
|
4
|
+
import { INavType, PermissionHandler } from './types';
|
|
5
|
+
export interface ISidebar extends ISidebarStyle {
|
|
6
|
+
logo?: ReactNode;
|
|
7
|
+
favicon?: ReactNode;
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
nav: INavType[];
|
|
10
|
+
forcePermissionCheck?: boolean;
|
|
11
|
+
permissionCheck?: PermissionHandler;
|
|
12
|
+
location?: string;
|
|
13
|
+
mobile?: boolean;
|
|
14
|
+
customUiTop?: (collapsed: boolean) => ReactNode;
|
|
15
|
+
alwaysShowFooter?: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface IFooterButton {
|
|
18
|
+
setOpen?: (value: boolean) => void;
|
|
19
|
+
icon?: ReactNode;
|
|
20
|
+
}
|
|
21
|
+
export interface IFooter {
|
|
22
|
+
isButton?: boolean;
|
|
23
|
+
footerButton?: IFooterButton;
|
|
24
|
+
footer?: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
export interface ISidebarStyle {
|
|
27
|
+
activeColor?: string | Colors;
|
|
28
|
+
backgroundColor?: string | Colors;
|
|
29
|
+
}
|
|
30
|
+
export declare const Sidebar: import("react-redux").ConnectedComponent<({ nav, permissionCheck, collapsed, setCollapsed, forcePermissionCheck, ...props }: ISidebar & ISidebarState & ISidebarStoreActions & IFooter) => import("react/jsx-runtime").JSX.Element, {
|
|
31
|
+
children: ReactNode;
|
|
32
|
+
backgroundColor?: (string | Colors) | undefined;
|
|
33
|
+
activeColor?: (string | Colors) | undefined;
|
|
34
|
+
nav: INavType[];
|
|
35
|
+
permissionCheck?: PermissionHandler | undefined;
|
|
36
|
+
forcePermissionCheck?: boolean | undefined;
|
|
37
|
+
logo?: ReactNode;
|
|
38
|
+
favicon?: ReactNode;
|
|
39
|
+
location?: string | undefined;
|
|
40
|
+
mobile?: boolean | undefined;
|
|
41
|
+
customUiTop?: ((collapsed: boolean) => ReactNode) | undefined;
|
|
42
|
+
alwaysShowFooter?: boolean | undefined;
|
|
43
|
+
isButton?: boolean | undefined;
|
|
44
|
+
footerButton?: IFooterButton | undefined;
|
|
45
|
+
footer?: ReactNode;
|
|
46
|
+
context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").UnknownAction> | null> | undefined;
|
|
47
|
+
store?: import("redux").Store | undefined;
|
|
48
|
+
}>;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { Colors, Settings } from '../../../theming';
|
|
2
|
-
import { INavSection } from './types';
|
|
3
|
-
interface ISidebarButtonStyle {
|
|
4
|
-
activeColor?: Colors | string;
|
|
5
|
-
normalColor?: Colors | string;
|
|
6
|
-
color?: Colors | string;
|
|
7
|
-
borderRadius?: Settings | string;
|
|
8
|
-
}
|
|
9
|
-
export interface ISidebarButton extends ISidebarButtonDiv {
|
|
10
|
-
collapsed: boolean;
|
|
11
|
-
setCollapsed?: (value: boolean) => void;
|
|
12
|
-
index: number;
|
|
13
|
-
link: INavSection;
|
|
14
|
-
}
|
|
15
|
-
interface ISidebarButtonDiv extends ISidebarButtonStyle {
|
|
16
|
-
active: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare const SidebarButton: {
|
|
19
|
-
({ collapsed, link, ...props }: ISidebarButton): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
defaultProps: {
|
|
21
|
-
color: Colors;
|
|
22
|
-
activeColor: Colors;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export {};
|
|
1
|
+
import { Colors, Settings } from '../../../theming';
|
|
2
|
+
import { INavSection } from './types';
|
|
3
|
+
interface ISidebarButtonStyle {
|
|
4
|
+
activeColor?: Colors | string;
|
|
5
|
+
normalColor?: Colors | string;
|
|
6
|
+
color?: Colors | string;
|
|
7
|
+
borderRadius?: Settings | string;
|
|
8
|
+
}
|
|
9
|
+
export interface ISidebarButton extends ISidebarButtonDiv {
|
|
10
|
+
collapsed: boolean;
|
|
11
|
+
setCollapsed?: (value: boolean) => void;
|
|
12
|
+
index: number;
|
|
13
|
+
link: INavSection;
|
|
14
|
+
}
|
|
15
|
+
interface ISidebarButtonDiv extends ISidebarButtonStyle {
|
|
16
|
+
active: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const SidebarButton: {
|
|
19
|
+
({ collapsed, link, ...props }: ISidebarButton): import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
defaultProps: {
|
|
21
|
+
color: Colors;
|
|
22
|
+
activeColor: Colors;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Colors } from '../../../theming';
|
|
2
|
-
import { INavType } from './types';
|
|
3
|
-
export interface ISidebarTitle {
|
|
4
|
-
color?: Colors | string;
|
|
5
|
-
link: INavType;
|
|
6
|
-
collapsed: boolean;
|
|
7
|
-
index: number;
|
|
8
|
-
}
|
|
9
|
-
export declare const SidebarTitle: {
|
|
10
|
-
(props: ISidebarTitle): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
defaultProps: {
|
|
12
|
-
color: Colors;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
1
|
+
import { Colors } from '../../../theming';
|
|
2
|
+
import { INavType } from './types';
|
|
3
|
+
export interface ISidebarTitle {
|
|
4
|
+
color?: Colors | string;
|
|
5
|
+
link: INavType;
|
|
6
|
+
collapsed: boolean;
|
|
7
|
+
index: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const SidebarTitle: {
|
|
10
|
+
(props: ISidebarTitle): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
defaultProps: {
|
|
12
|
+
color: Colors;
|
|
13
|
+
};
|
|
14
|
+
};
|