@sito/dashboard-app 0.0.48 → 0.0.50
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/README.md +88 -20
- package/dist/components/Onboarding/types.d.ts +8 -0
- package/dist/components/index.d.ts +1 -1
- package/dist/dashboard-app.cjs +1 -1
- package/dist/dashboard-app.js +1778 -2558
- package/dist/lib/api/APIClient.d.ts +9 -6
- package/dist/lib/api/utils/services.d.ts +7 -2
- package/dist/lib/entities/auth/BaseAuthDto.d.ts +1 -1
- package/dist/lib/entities/auth/BaseRegisterDto.d.ts +1 -1
- package/dist/lib/entities/auth/RegisterDto.d.ts +1 -1
- package/dist/main.css +1 -1
- package/dist/providers/ManagerProvider.d.ts +2 -1
- package/dist/providers/types.d.ts +2 -0
- package/package.json +8 -9
- package/dist/components/Buttons/IconButton.stories.d.ts +0 -17
- package/dist/components/Buttons/ToTop.stories.d.ts +0 -12
- package/dist/components/Buttons/ToTop.test.d.ts +0 -1
- package/dist/components/Clock/Clock.stories.d.ts +0 -10
- package/dist/components/Dialog/ConfirmationDialog.stories.d.ts +0 -13
- package/dist/components/Dialog/ConfirmationDialog.test.d.ts +0 -1
- package/dist/components/Dialog/Dialog.stories.d.ts +0 -14
- package/dist/components/Dialog/DialogActions.stories.d.ts +0 -17
- package/dist/components/Dialog/FormDialog.stories.d.ts +0 -21
- package/dist/components/Dialog/ImportDialog/ImportDialog.stories.d.ts +0 -24
- package/dist/components/Dialog/ImportDialog/ImportDialog.test.d.ts +0 -1
- package/dist/components/Drawer/Drawer.stories.d.ts +0 -11
- package/dist/components/Drawer/Drawer.test.d.ts +0 -1
- package/dist/components/Empty/Empty.stories.d.ts +0 -16
- package/dist/components/Error/Error.stories.d.ts +0 -13
- package/dist/components/Form/FormContainer.stories.d.ts +0 -19
- package/dist/components/Form/ParagraphInput.stories.d.ts +0 -29
- package/dist/components/Form/PasswordInput.stories.d.ts +0 -14
- package/dist/components/Loading/SplashScreen.stories.d.ts +0 -11
- package/dist/components/Navbar/Navbar.stories.d.ts +0 -32
- package/dist/components/Navbar/Navbar.test.d.ts +0 -1
- package/dist/components/Notification/Notification.stories.d.ts +0 -11
- package/dist/components/Onboarding/Onboarding.stories.d.ts +0 -21
- package/dist/components/Onboarding/Onboarding.test.d.ts +0 -1
- package/dist/components/Onboarding/Step.stories.d.ts +0 -17
- package/dist/components/Page/Page.stories.d.ts +0 -34
- package/dist/components/Page/PageHeader.stories.d.ts +0 -20
- package/dist/components/PrettyGrid/PrettyGrid.stories.d.ts +0 -20
- package/dist/components/PrettyGrid/PrettyGrid.test.d.ts +0 -1
- package/dist/components/TabsLayout/Tab.stories.d.ts +0 -19
- package/dist/components/TabsLayout/TabsLayout.stories.d.ts +0 -19
- package/dist/hooks/actions/PrefabActions.stories.d.ts +0 -12
- package/dist/hooks/actions/useDeleteAction.test.d.ts +0 -1
- package/dist/hooks/actions/useEditAction.test.d.ts +0 -1
- package/dist/hooks/actions/useExportAction.test.d.ts +0 -1
- package/dist/hooks/actions/useImportAction.test.d.ts +0 -1
- package/dist/hooks/actions/useRestoreAction.test.d.ts +0 -1
- package/dist/hooks/dialogs/useDialog.test.d.ts +0 -1
- package/dist/hooks/dialogs/useImportDialog.test.d.ts +0 -1
- package/dist/hooks/useScrollTrigger.test.d.ts +0 -1
- package/dist/lib/api/APIClient.test.d.ts +0 -1
- package/dist/lib/api/AuthClient.test.d.ts +0 -1
- package/dist/lib/api/BaseClient.test.d.ts +0 -1
- package/dist/lib/api/IndexedDBClient.test.d.ts +0 -0
- package/dist/lib/api/utils/query.test.d.ts +0 -1
- package/dist/lib/api/utils/services.test.d.ts +0 -1
- package/dist/lib/utils/date.test.d.ts +0 -1
- package/dist/lib/utils/local.test.d.ts +0 -1
- package/dist/lib/utils/os.test.d.ts +0 -1
- package/dist/providers/AuthProvider.test.d.ts +0 -1
- package/dist/providers/ConfigProvider.test.d.ts +0 -1
- package/dist/providers/DrawerMenuProvider.test.d.ts +0 -1
- package/dist/providers/ManagerProvider.test.d.ts +0 -1
- package/dist/providers/NotificationProvider.test.d.ts +0 -1
- package/dist/test/setup.d.ts +0 -0
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Navbar } from './Navbar';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Navbar;
|
|
6
|
-
tags: string[];
|
|
7
|
-
parameters: {
|
|
8
|
-
layout: string;
|
|
9
|
-
};
|
|
10
|
-
argTypes: {
|
|
11
|
-
openDrawer: {
|
|
12
|
-
action: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
args: {
|
|
16
|
-
openDrawer: () => void;
|
|
17
|
-
showSearch: true;
|
|
18
|
-
};
|
|
19
|
-
decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
20
|
-
menuButtonProps?: import('..').IconButtonPropsLocalType | undefined;
|
|
21
|
-
openDrawer: () => void;
|
|
22
|
-
showSearch?: boolean | undefined;
|
|
23
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
24
|
-
};
|
|
25
|
-
export default meta;
|
|
26
|
-
type Story = StoryObj<typeof meta>;
|
|
27
|
-
export declare const Basic: Story;
|
|
28
|
-
export declare const WithoutSearch: Story;
|
|
29
|
-
export declare const WithCustomMenuButtonProps: Story;
|
|
30
|
-
export declare const WithCustomTitle: Story;
|
|
31
|
-
export declare const WithRightContent: Story;
|
|
32
|
-
export declare const WithTitleAndRightContent: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
import { Notification } from './Notification';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Notification;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default meta;
|
|
9
|
-
type Story = StoryObj<typeof meta>;
|
|
10
|
-
export declare const Basic: Story;
|
|
11
|
-
export declare const StackAndDismiss: Story;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: (props: import('./types').OnboardingPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
tags: string[];
|
|
6
|
-
args: {
|
|
7
|
-
steps: ({
|
|
8
|
-
title: string;
|
|
9
|
-
body: string;
|
|
10
|
-
content?: undefined;
|
|
11
|
-
} | {
|
|
12
|
-
title: string;
|
|
13
|
-
body: string;
|
|
14
|
-
content: import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
})[];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default meta;
|
|
19
|
-
type Story = StoryObj<typeof meta>;
|
|
20
|
-
export declare const Basic: Story;
|
|
21
|
-
export declare const WithStepImages: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: (props: import('./types').StepPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
tags: string[];
|
|
6
|
-
args: {
|
|
7
|
-
title: string;
|
|
8
|
-
body: string;
|
|
9
|
-
onClickNext: () => void;
|
|
10
|
-
final: false;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export default meta;
|
|
14
|
-
type Story = StoryObj<typeof meta>;
|
|
15
|
-
export declare const Basic: Story;
|
|
16
|
-
export declare const WithImageAndContent: Story;
|
|
17
|
-
export declare const FinalStep: Story;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: <TEntity extends import('../../lib').BaseEntityDto>(props: import('./types').PagePropsType<TEntity>) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
tags: string[];
|
|
6
|
-
decorators: ((Story: import('@storybook/core/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
7
|
-
title?: string | undefined;
|
|
8
|
-
children: import('react').ReactNode;
|
|
9
|
-
isLoading?: boolean | undefined;
|
|
10
|
-
addOptions?: import('./types').PageAddOptions<import('../../lib').BaseEntityDto> | undefined;
|
|
11
|
-
filterOptions?: Partial<import('@sito/dashboard').ActionType<import('../../lib').BaseEntityDto>> | undefined;
|
|
12
|
-
isAnimated?: boolean | undefined;
|
|
13
|
-
actions?: import('@sito/dashboard').ActionType<import('../../lib').BaseEntityDto>[] | undefined;
|
|
14
|
-
showBackButton?: boolean | undefined;
|
|
15
|
-
queryKey?: string[] | undefined;
|
|
16
|
-
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
17
|
-
args: {
|
|
18
|
-
title: string;
|
|
19
|
-
showBackButton: true;
|
|
20
|
-
isAnimated: true;
|
|
21
|
-
children: import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
actions: {
|
|
23
|
-
id: string;
|
|
24
|
-
tooltip: string;
|
|
25
|
-
icon: import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
onClick: () => void;
|
|
27
|
-
}[];
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export default meta;
|
|
31
|
-
type Story = StoryObj<typeof meta>;
|
|
32
|
-
export declare const Basic: Story;
|
|
33
|
-
export declare const Loading: Story;
|
|
34
|
-
export declare const WithAddAndFilters: Story;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
import { BaseEntityDto } from '../../lib';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: <TEntity extends BaseEntityDto>(props: import('./types').PageHeaderPropsType<TEntity>) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
tags: string[];
|
|
7
|
-
args: {
|
|
8
|
-
title: string;
|
|
9
|
-
showBackButton: true;
|
|
10
|
-
actions: {
|
|
11
|
-
id: string;
|
|
12
|
-
tooltip: string;
|
|
13
|
-
icon: import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
onClick: () => void;
|
|
15
|
-
}[];
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default meta;
|
|
19
|
-
type Story = StoryObj<typeof meta>;
|
|
20
|
-
export declare const Basic: Story;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
import { BaseEntityDto } from '../../lib';
|
|
3
|
-
interface Item extends BaseEntityDto {
|
|
4
|
-
name: string;
|
|
5
|
-
}
|
|
6
|
-
declare const meta: {
|
|
7
|
-
title: string;
|
|
8
|
-
component: <TDto extends BaseEntityDto>(props: import('./types').PrettyGridPropsType<TDto>) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
tags: string[];
|
|
10
|
-
args: {
|
|
11
|
-
data: Item[];
|
|
12
|
-
renderComponent: (item: BaseEntityDto) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof meta>;
|
|
17
|
-
export declare const Basic: Story;
|
|
18
|
-
export declare const Empty: Story;
|
|
19
|
-
export declare const Loading: Story;
|
|
20
|
-
export declare const InfiniteScroll: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: (props: import('./types').TabPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
tags: string[];
|
|
6
|
-
args: {
|
|
7
|
-
id: string;
|
|
8
|
-
to: string;
|
|
9
|
-
active: true;
|
|
10
|
-
useLinks: true;
|
|
11
|
-
onClick: () => void;
|
|
12
|
-
children: string;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export default meta;
|
|
16
|
-
type Story = StoryObj<typeof meta>;
|
|
17
|
-
export declare const AsLink: Story;
|
|
18
|
-
export declare const AsButton: Story;
|
|
19
|
-
export declare const ToggleExample: Story;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
component: (props: import('./types').TabsLayoutPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
tags: string[];
|
|
6
|
-
args: {
|
|
7
|
-
tabs: {
|
|
8
|
-
id: number;
|
|
9
|
-
label: string;
|
|
10
|
-
content: import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
}[];
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
type Story = StoryObj<typeof meta>;
|
|
16
|
-
export declare const Basic: Story;
|
|
17
|
-
export declare const WithoutLinks: Story;
|
|
18
|
-
export declare const WithCustomTabButton: Story;
|
|
19
|
-
export declare const Controlled: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/react';
|
|
2
|
-
declare const meta: {
|
|
3
|
-
title: string;
|
|
4
|
-
tags: string[];
|
|
5
|
-
};
|
|
6
|
-
export default meta;
|
|
7
|
-
type Story = StoryObj;
|
|
8
|
-
export declare const Edit: Story;
|
|
9
|
-
export declare const Delete: Story;
|
|
10
|
-
export declare const Restore: Story;
|
|
11
|
-
export declare const Export: Story;
|
|
12
|
-
export declare const Import: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/test/setup.d.ts
DELETED
|
File without changes
|