@scmlatam/web-ui 0.1.96 → 0.1.98
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/src/App.d.ts +2 -0
- package/dist/src/api/fake.d.ts +5 -0
- package/dist/src/auth.d.ts +26 -0
- package/dist/src/components/contextmenu/Contextmenu.d.ts +3 -0
- package/dist/src/components/core/Core.d.ts +3 -0
- package/dist/src/components/core/context/Context.d.ts +28 -0
- package/dist/src/components/core/context/Provider.d.ts +5 -0
- package/dist/src/components/core/dashboard/Dashboard.d.ts +3 -0
- package/dist/src/components/core/dashboard/account/Account.d.ts +11 -0
- package/dist/src/components/core/dashboard/content/Content.d.ts +3 -0
- package/dist/src/components/core/dashboard/search/Search.d.ts +2 -0
- package/dist/src/components/core/dashboard/sidebar/CompactItem.d.ts +3 -0
- package/dist/src/components/core/dashboard/sidebar/Content.d.ts +3 -0
- package/dist/src/components/core/dashboard/sidebar/ExtendGroupItem.d.ts +3 -0
- package/dist/src/components/core/dashboard/sidebar/Footer.d.ts +3 -0
- package/dist/src/components/core/dashboard/sidebar/Header.d.ts +3 -0
- package/dist/src/components/core/dashboard/sidebar/Sidebar.d.ts +3 -0
- package/dist/src/components/core/dashboard/sidebar/SubItem.d.ts +3 -0
- package/dist/src/components/core/signin/SignIn.d.ts +12 -0
- package/dist/src/components/core/system/Alert.d.ts +4 -0
- package/dist/src/components/form/Form.d.ts +3 -0
- package/dist/src/components/form/autocomplete/Autocomplete.d.ts +11 -0
- package/dist/src/components/form/datefield/range/DateRangeCalendar.d.ts +11 -0
- package/dist/src/components/form/datefield/range/DateRangePicker.d.ts +13 -0
- package/dist/src/components/form/datefield/range/Datefield.d.ts +9 -0
- package/dist/src/components/form/datefield/simple/DatePicker.d.ts +12 -0
- package/dist/src/components/form/datefield/simple/Datefield.d.ts +12 -0
- package/dist/src/components/form/datefield/simple/Timefield.d.ts +12 -0
- package/dist/src/components/form/file/FileField.d.ts +4 -0
- package/dist/src/components/form/select/MultiSelect.d.ts +3 -0
- package/dist/src/components/form/select/Select.d.ts +3 -0
- package/dist/src/components/form/sheet/Sheet.d.ts +13 -0
- package/dist/src/components/form/treewiew/Treeview.d.ts +6 -0
- package/dist/src/components/main.d.ts +14 -0
- package/dist/src/components/table/Table.d.ts +3 -0
- package/dist/src/components/table/toolbar/Toolbar.d.ts +3 -0
- package/dist/src/components/table/toolbar/datefield/range/DateRangePicker.d.ts +15 -0
- package/dist/src/components/table/toolbar/datefield/range/Datefield.d.ts +10 -0
- package/dist/src/components/table/toolbar/datefield/simple/DatePicker.d.ts +12 -0
- package/dist/src/components/table/toolbar/datefield/simple/Datefield.d.ts +11 -0
- package/dist/src/components/table/toolbar/select/MultiSelect.d.ts +3 -0
- package/dist/src/components/table/toolbar/select/Select.d.ts +3 -0
- package/dist/src/hooks/useForm.d.ts +2 -0
- package/dist/src/hooks/useSidebar.d.ts +6 -0
- package/dist/src/hooks/useSystemAlert.d.ts +6 -0
- package/dist/src/hooks/useTable.d.ts +18 -0
- package/dist/src/main.d.ts +0 -0
- package/dist/src/mock/SidebarData.d.ts +35 -0
- package/dist/src/mock/TableData.d.ts +3 -0
- package/dist/src/pages/Home.d.ts +3 -0
- package/dist/src/pages/Timekeeper.d.ts +3 -0
- package/dist/src/router/Router.d.ts +12 -0
- package/dist/src/shims/chevrotain.d.ts +1 -0
- package/dist/src/themes/GoodRabbitButtons.d.ts +32 -0
- package/dist/src/themes/GoodRabbitColors.d.ts +193 -0
- package/dist/src/themes/GoodRabbitDarkTheme.d.ts +375 -0
- package/dist/src/themes/GoodRabbitInputLabel.d.ts +11 -0
- package/dist/src/themes/GoodRabbitLightTheme.d.ts +2 -0
- package/dist/src/themes/GoodRabbitOutlinedInput.d.ts +43 -0
- package/dist/src/themes/GoodRabbitTextField.d.ts +59 -0
- package/dist/src/themes/GoodRabbitTypography.d.ts +46 -0
- package/dist/web-ui.js +2769 -73982
- package/dist/web-ui.umd.cjs +1 -752
- package/package.json +14 -11
- package/dist/context-CRqFLvGk.js +0 -7
- package/dist/extends-9CbO0Z4Q.js +0 -12
- package/dist/fp.esm-BNINKTlV.js +0 -1526
- package/dist/get-context-qXpuAzJ1.js +0 -106
- package/dist/web-ui.d.ts +0 -178
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { NavigateFunction } from 'react-router';
|
|
2
|
+
declare const fakeAxios: () => Promise<unknown>;
|
|
3
|
+
declare const customLogin: (user: string, pass: string, setLoadingAuth: (loading: boolean) => void, setIsAuthenticated: (auth: boolean) => void, setAvatar: (avatar: string) => void, navigate: NavigateFunction) => void;
|
|
4
|
+
declare const customLogout: (setIsAuthenticated: (auth: boolean) => void, navigate: NavigateFunction) => void;
|
|
5
|
+
export { fakeAxios, customLogin, customLogout };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const loginRequest: {
|
|
2
|
+
scopes: string[];
|
|
3
|
+
};
|
|
4
|
+
declare const initialAuthState: (auth: {
|
|
5
|
+
clientId: string;
|
|
6
|
+
authority: string;
|
|
7
|
+
redirectUri: string;
|
|
8
|
+
postLogoutRedirectUri: string;
|
|
9
|
+
}) => {
|
|
10
|
+
auth: {
|
|
11
|
+
clientId: string;
|
|
12
|
+
authority: string;
|
|
13
|
+
redirectUri: string;
|
|
14
|
+
postLogoutRedirectUri: string;
|
|
15
|
+
};
|
|
16
|
+
cache: {
|
|
17
|
+
cacheLocation: "sessionStorage";
|
|
18
|
+
storeAuthStateInCookie: boolean;
|
|
19
|
+
};
|
|
20
|
+
system: {
|
|
21
|
+
loggerOptions: {
|
|
22
|
+
loggerCallback: (level: any, message: any, containsPii: any) => void;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export { initialAuthState, loginRequest };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PickersShortcutsItem } from '@mui/x-date-pickers';
|
|
2
|
+
import { PickerValidValue } from '@mui/x-date-pickers/internals';
|
|
3
|
+
interface ICoreContext {
|
|
4
|
+
isAuthenticated: boolean;
|
|
5
|
+
setIsAuthenticated: (value: boolean) => void;
|
|
6
|
+
user: string;
|
|
7
|
+
setUser: (value: string) => void;
|
|
8
|
+
pass: string;
|
|
9
|
+
setPass: (value: string) => void;
|
|
10
|
+
avatar: string;
|
|
11
|
+
setAvatar: (value: string) => void;
|
|
12
|
+
loadingAuth: boolean;
|
|
13
|
+
setLoadingAuth: (value: boolean) => void;
|
|
14
|
+
format: string;
|
|
15
|
+
setFormat: (value: string) => void;
|
|
16
|
+
singleShortcut: PickersShortcutsItem<PickerValidValue>[];
|
|
17
|
+
setSingleShortcut: (value: PickersShortcutsItem<PickerValidValue>[]) => void;
|
|
18
|
+
rangeShortcut: PickersShortcutsItem<PickerValidValue>[];
|
|
19
|
+
setRangeShortcut: (value: PickersShortcutsItem<PickerValidValue>[]) => void;
|
|
20
|
+
encrypter: (storage: "session" | "local", key: string, data: string) => void;
|
|
21
|
+
decrypter: (storage: "session" | "local", key: string) => string;
|
|
22
|
+
openUnsaved: boolean;
|
|
23
|
+
setOpenUnsaved: (value: boolean) => void;
|
|
24
|
+
redirect: string;
|
|
25
|
+
setRedirect: (value: string) => void;
|
|
26
|
+
}
|
|
27
|
+
declare const CoreContext: import('react').Context<ICoreContext>;
|
|
28
|
+
export { CoreContext };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
interface AccountProps {
|
|
2
|
+
username: string;
|
|
3
|
+
avatarUrl: string;
|
|
4
|
+
options: {
|
|
5
|
+
label: string;
|
|
6
|
+
icon: React.ReactNode;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
}[];
|
|
9
|
+
}
|
|
10
|
+
declare const Account: ({ username, options }: AccountProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default Account;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Language, LoginFormProps } from '../types/types';
|
|
2
|
+
interface SignInProps {
|
|
3
|
+
product: {
|
|
4
|
+
name: string;
|
|
5
|
+
version: string;
|
|
6
|
+
backgroundImage: string;
|
|
7
|
+
};
|
|
8
|
+
languages: Language[];
|
|
9
|
+
form: LoginFormProps;
|
|
10
|
+
}
|
|
11
|
+
declare const SignIn: ({ product, languages, form }: SignInProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
export { SignIn };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { AutoValueItem } from '../types/types';
|
|
2
|
+
interface CustomAutoCompleteFieldProps {
|
|
3
|
+
label: string;
|
|
4
|
+
placeholder: string;
|
|
5
|
+
values: AutoValueItem[];
|
|
6
|
+
value: string[];
|
|
7
|
+
setValue: (newValue: string[]) => void;
|
|
8
|
+
white: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const AutoCustomCompleteField: ({ label, placeholder, values, value, setValue, white, }: CustomAutoCompleteFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { AutoCustomCompleteField };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
interface CustomDateRangeCalendarProps {
|
|
3
|
+
initialValue: [Dayjs | null, Dayjs | null];
|
|
4
|
+
value: [Dayjs | null, Dayjs | null];
|
|
5
|
+
setValue: (newValue: [Dayjs | null, Dayjs | null]) => void;
|
|
6
|
+
calendars: 1 | 2 | 3;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
white: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const CustomDateRangeCalendar: ({ initialValue, value, setValue, calendars, disabled, white, }: CustomDateRangeCalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { CustomDateRangeCalendar };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
interface CustomDateRangePickerProps {
|
|
3
|
+
label: string;
|
|
4
|
+
initialValue: [Dayjs | null, Dayjs | null];
|
|
5
|
+
value: [Dayjs | null, Dayjs | null];
|
|
6
|
+
setValue: (newValue: [Dayjs | null, Dayjs | null]) => void;
|
|
7
|
+
calendars: 1 | 2 | 3;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
white: boolean;
|
|
10
|
+
fullWidth: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const CustomDateRangePicker: ({ label, initialValue, value, setValue, calendars, disabled, white, fullWidth, }: CustomDateRangePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { CustomDateRangePicker };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
interface CustomDateRangefieldProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value: [Dayjs | null, Dayjs | null];
|
|
5
|
+
setValue: (newValue: [Dayjs | null, Dayjs | null]) => void;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const CustomDateRangefield: ({ label, value, setValue, disabled, }: CustomDateRangefieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export { CustomDateRangefield };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
interface CustomDatePickerProps {
|
|
3
|
+
label: string;
|
|
4
|
+
initialValue: Dayjs | null;
|
|
5
|
+
value: Dayjs | null;
|
|
6
|
+
setValue: (newValue: Dayjs | null) => void;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
white: boolean;
|
|
9
|
+
fullWidth: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const CustomDatePicker: ({ label, initialValue, value, setValue, disabled, white, fullWidth, }: CustomDatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { CustomDatePicker };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
interface CustomDatefieldProps {
|
|
3
|
+
label: string;
|
|
4
|
+
initialValue: Dayjs | null;
|
|
5
|
+
value: Dayjs | null;
|
|
6
|
+
setValue: (newValue: Dayjs | null) => void;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
white: boolean;
|
|
9
|
+
fullWidth: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const CustomDatefield: ({ label, initialValue, value, setValue, disabled, fullWidth, white, }: CustomDatefieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { CustomDatefield };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
interface CustomTimefieldProps {
|
|
3
|
+
label: string;
|
|
4
|
+
initialValue: Dayjs | null;
|
|
5
|
+
value: Dayjs | null;
|
|
6
|
+
setValue: (newValue: Dayjs | null) => void;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
white: boolean;
|
|
9
|
+
fullWidth: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const CustomTimefield: ({ label, initialValue, value, setValue, disabled, fullWidth, white, }: CustomTimefieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { CustomTimefield };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CellBase, Matrix } from 'react-spreadsheet';
|
|
2
|
+
interface SheetProps {
|
|
3
|
+
data: Matrix<CellBase<any>>;
|
|
4
|
+
setData: (data: Matrix<CellBase<any>>) => void;
|
|
5
|
+
columnLabels: string[];
|
|
6
|
+
buttons: {
|
|
7
|
+
label: string;
|
|
8
|
+
icon: string;
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
}[];
|
|
11
|
+
}
|
|
12
|
+
declare const Sheet: ({ data, setData, columnLabels, buttons }: SheetProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export { Sheet };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export { GoodRabbitDarkTheme } from '../themes/GoodRabbitDarkTheme';
|
|
2
|
+
export { GoodRabbitLightTheme } from '../themes/GoodRabbitLightTheme';
|
|
3
|
+
export { Core } from './core/Core';
|
|
4
|
+
export { CoreContext } from './core/context/Context';
|
|
5
|
+
export { CoreProvider } from './core/context/Provider';
|
|
6
|
+
export type { GroupItem, Item, RouteItem, PageProps, Language, } from './core/types/types';
|
|
7
|
+
export { Table } from './table/Table';
|
|
8
|
+
export { useTable } from '../hooks/useTable';
|
|
9
|
+
export { useSystemAlert } from '../hooks/useSystemAlert';
|
|
10
|
+
export { Form } from './form/Form';
|
|
11
|
+
export type { TextFieldForm, SelectFieldForm, DateFieldForm, TimeFieldForm, DatePickerFieldForm, DateRangePickerForm, DateRangeFieldForm, DateRangeCalendarForm, CheckboxFieldForm, CheckboxGroupForm, AutoCompleteFieldForm, ListFieldForm, TreeviewFieldForm, TypographyFieldForm, FormProps, AutoValueItem, RadioGroupForm, RadioFieldForm, SheetFieldForm, } from './form/types/types';
|
|
12
|
+
export type { ValueItem } from './form/select/types/types';
|
|
13
|
+
export type { CustomTreeItem } from './form/types/types';
|
|
14
|
+
export type { Row, Option, TableProps, ITableContext, PaginationModel, TableProviderProps, } from './table/types/types';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
interface CustomDateRangePickerProps {
|
|
3
|
+
label: string;
|
|
4
|
+
initialValue: [Dayjs | null, Dayjs | null];
|
|
5
|
+
value: [Dayjs | null, Dayjs | null];
|
|
6
|
+
setValue: (newValue: [Dayjs | null, Dayjs | null]) => void;
|
|
7
|
+
calendars: 1 | 2 | 3;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
white: boolean;
|
|
10
|
+
fullWidth: boolean;
|
|
11
|
+
maxDate: Dayjs | undefined;
|
|
12
|
+
minDate: Dayjs | undefined;
|
|
13
|
+
}
|
|
14
|
+
declare const CustomDateRangePicker: ({ label, initialValue, value, setValue, calendars, disabled, white, fullWidth, maxDate, minDate, }: CustomDateRangePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export { CustomDateRangePicker };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
interface CustomDateRangefieldProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value: [Dayjs | null, Dayjs | null];
|
|
5
|
+
setValue: (newValue: [Dayjs | null, Dayjs | null]) => void;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
fullWidth: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const CustomDateRangefield: ({ label, value, setValue, disabled, fullWidth, }: CustomDateRangefieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export { CustomDateRangefield };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
interface CustomDatePickerProps {
|
|
3
|
+
label: string;
|
|
4
|
+
initialValue: Dayjs | null;
|
|
5
|
+
value: Dayjs | null;
|
|
6
|
+
setValue: (newValue: Dayjs | null) => void;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
white: boolean;
|
|
9
|
+
fullWidth: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const CustomDatePicker: ({ label, initialValue, value, setValue, disabled, white, fullWidth, }: CustomDatePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { CustomDatePicker };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Dayjs } from 'dayjs';
|
|
2
|
+
interface CustomDatefieldProps {
|
|
3
|
+
label: string;
|
|
4
|
+
value: Dayjs | null;
|
|
5
|
+
setValue: (newValue: Dayjs | null) => void;
|
|
6
|
+
disabled: boolean;
|
|
7
|
+
white: boolean;
|
|
8
|
+
fullWidth: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const CustomDatefield: ({ label, value, setValue, disabled, fullWidth, white, }: CustomDatefieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export { CustomDatefield };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TypeState } from '../components/core/types/types';
|
|
2
|
+
export declare const useSidebar: () => {
|
|
3
|
+
state: TypeState;
|
|
4
|
+
setState: import('react').Dispatch<import('react').SetStateAction<TypeState>>;
|
|
5
|
+
getWidth: (state: TypeState) => "105px" | "250px" | "455px";
|
|
6
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { PaginationModel } from '../components/main';
|
|
2
|
+
import { GridRowSelectionModel } from '@mui/x-data-grid';
|
|
3
|
+
import { ContextMenu, OptionGroup } from '../components/table/types/types';
|
|
4
|
+
export declare const useTable: () => {
|
|
5
|
+
apiRef: import('react').RefObject<import('@mui/x-data-grid-pro').GridApiPro | null>;
|
|
6
|
+
rows: any[];
|
|
7
|
+
setRows: import('react').Dispatch<import('react').SetStateAction<any[]>>;
|
|
8
|
+
loading: boolean;
|
|
9
|
+
setLoading: import('react').Dispatch<import('react').SetStateAction<boolean>>;
|
|
10
|
+
paginationModel: PaginationModel;
|
|
11
|
+
setPaginationModel: import('react').Dispatch<import('react').SetStateAction<PaginationModel>>;
|
|
12
|
+
rowSelectionModel: GridRowSelectionModel;
|
|
13
|
+
setRowSelectionModel: import('react').Dispatch<import('react').SetStateAction<GridRowSelectionModel>>;
|
|
14
|
+
contextMenu: ContextMenu | null;
|
|
15
|
+
setContextMenu: import('react').Dispatch<import('react').SetStateAction<ContextMenu | null>>;
|
|
16
|
+
optionGroup: OptionGroup;
|
|
17
|
+
setOptionGroup: import('react').Dispatch<import('react').SetStateAction<OptionGroup>>;
|
|
18
|
+
};
|
|
File without changes
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const TimekeeperItems: ({
|
|
2
|
+
name: undefined;
|
|
3
|
+
items: {
|
|
4
|
+
title: string;
|
|
5
|
+
color: string;
|
|
6
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
path: string;
|
|
8
|
+
view: string;
|
|
9
|
+
subgroups: never[];
|
|
10
|
+
}[];
|
|
11
|
+
} | {
|
|
12
|
+
name: string;
|
|
13
|
+
items: {
|
|
14
|
+
title: string;
|
|
15
|
+
color: string;
|
|
16
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
path: string;
|
|
18
|
+
view: string;
|
|
19
|
+
subgroups: {
|
|
20
|
+
title: string;
|
|
21
|
+
path: string;
|
|
22
|
+
}[];
|
|
23
|
+
}[];
|
|
24
|
+
})[];
|
|
25
|
+
declare const EasyManagerItems: {
|
|
26
|
+
name: undefined;
|
|
27
|
+
items: {
|
|
28
|
+
title: string;
|
|
29
|
+
color: string;
|
|
30
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
path: string;
|
|
32
|
+
subgroups: never[];
|
|
33
|
+
}[];
|
|
34
|
+
}[];
|
|
35
|
+
export { TimekeeperItems, EasyManagerItems };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Language, LoginFormProps, Product, RouteItem } from '../components/core/types/types';
|
|
2
|
+
interface SignInProps {
|
|
3
|
+
product: Product;
|
|
4
|
+
languages: Language[];
|
|
5
|
+
form: LoginFormProps;
|
|
6
|
+
}
|
|
7
|
+
interface PostSignInProps {
|
|
8
|
+
routes: RouteItem[];
|
|
9
|
+
}
|
|
10
|
+
declare const PrevSignIn: ({ product, languages, form }: SignInProps) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const PostSignIn: ({ routes }: PostSignInProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { PrevSignIn, PostSignIn };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const GoodRabbitButtons: {
|
|
2
|
+
styleOverrides: {
|
|
3
|
+
contained: {
|
|
4
|
+
fontSize: string;
|
|
5
|
+
minWidth: string;
|
|
6
|
+
borderRadius: string;
|
|
7
|
+
height: string;
|
|
8
|
+
maxHeight: string;
|
|
9
|
+
display: string;
|
|
10
|
+
alignItems: string;
|
|
11
|
+
justifyContent: string;
|
|
12
|
+
textAlign: string;
|
|
13
|
+
lineHeight: string;
|
|
14
|
+
padding: string;
|
|
15
|
+
"& .MuiButton-endIcon": {
|
|
16
|
+
marginTop: string;
|
|
17
|
+
display: string;
|
|
18
|
+
alignItems: string;
|
|
19
|
+
justifyContent: string;
|
|
20
|
+
"& > *": {
|
|
21
|
+
fontSize: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
"&.Mui-disabled, &[data-loading='true']": {
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
color: string;
|
|
27
|
+
boxShadow: string;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export { GoodRabbitButtons };
|