@omniumretail/component-library 1.0.72 → 1.0.74
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/.storybook/main.js +16 -16
- package/.storybook/preview-head.html +20 -20
- package/.storybook/preview.js +27 -27
- package/NPMPUBLISH.md +29 -0
- package/README.md +54 -54
- package/bitbucket-pipelines.yml +94 -94
- package/dist/bundle.js +290 -246
- package/dist/main.css +5 -5
- package/dist/types/components/AnalyticsBar/AnalyticsBar.stories.d.ts +5 -5
- package/dist/types/components/AnalyticsBar/helpers/codeMutation.d.ts +4 -4
- package/dist/types/components/AnalyticsBar/index.d.ts +2 -2
- package/dist/types/components/AnalyticsBar/interfaces/analyticsBar.d.ts +12 -12
- package/dist/types/components/Button/Button.stories.d.ts +6 -6
- package/dist/types/components/Button/index.d.ts +7 -7
- package/dist/types/components/Category/Category.stories.d.ts +4 -4
- package/dist/types/components/Category/CategoryContent/index.d.ts +7 -7
- package/dist/types/components/Category/CategorySidebar/index.d.ts +26 -26
- package/dist/types/components/Category/index.d.ts +7 -7
- package/dist/types/components/CategoryReadOnly/CategoryReadOnly.stories.d.ts +4 -4
- package/dist/types/components/CategoryReadOnly/evaluationOptions.d.ts +10 -10
- package/dist/types/components/CategoryReadOnly/index.d.ts +9 -9
- package/dist/types/components/CategoryResponse/CategoryResponse.stories.d.ts +4 -4
- package/dist/types/components/CategoryResponse/evaluationOptions.d.ts +10 -10
- package/dist/types/components/CategoryResponse/index.d.ts +9 -9
- package/dist/types/components/DatePicker/DatePicker.stories.d.ts +5 -5
- package/dist/types/components/DatePicker/index.d.ts +8 -8
- package/dist/types/components/DatePickerTag/DatePickerTag.stories.d.ts +5 -5
- package/dist/types/components/DatePickerTag/index.d.ts +6 -6
- package/dist/types/components/Footer/Footer.stories.d.ts +5 -5
- package/dist/types/components/Footer/index.d.ts +4 -4
- package/dist/types/components/Input/Input.stories.d.ts +5 -5
- package/dist/types/components/Input/index.d.ts +10 -10
- package/dist/types/components/InputCountryCode/index.d.ts +10 -10
- package/dist/types/components/InputCountryCode/inputCountryCode.stories.d.ts +5 -5
- package/dist/types/components/Label/Label.stories.d.ts +6 -6
- package/dist/types/components/Label/index.d.ts +7 -7
- package/dist/types/components/Link/Link.stories.d.ts +7 -7
- package/dist/types/components/Link/index.d.ts +7 -7
- package/dist/types/components/Menu/Menu.stories.d.ts +5 -5
- package/dist/types/components/Menu/helpers/codeMutation.d.ts +4 -4
- package/dist/types/components/Menu/index.d.ts +2 -3
- package/dist/types/components/ModalConfirmation/ModalConfirmation.stories.d.ts +5 -5
- package/dist/types/components/ModalConfirmation/ModalStatusList.d.ts +5 -5
- package/dist/types/components/ModalConfirmation/index.d.ts +9 -9
- package/dist/types/components/ModalWithTable/ModalWithTable.stories.d.ts +5 -5
- package/dist/types/components/ModalWithTable/index.d.ts +13 -13
- package/dist/types/components/Navigation/Navigation.stories.d.ts +5 -5
- package/dist/types/components/Navigation/index.d.ts +10 -10
- package/dist/types/components/Notification/Notification.stories.d.ts +5 -5
- package/dist/types/components/Notification/index.d.ts +9 -9
- package/dist/types/components/Questions/Questions.stories.d.ts +4 -4
- package/dist/types/components/Questions/SingleQuestion/index.d.ts +1 -1
- package/dist/types/components/Questions/index.d.ts +5 -5
- package/dist/types/components/Radio/Radio.stories.d.ts +5 -5
- package/dist/types/components/Radio/index.d.ts +10 -10
- package/dist/types/components/Select/Select.stories.d.ts +6 -6
- package/dist/types/components/Select/index.d.ts +5 -5
- package/dist/types/components/Separator/Separator.stories.d.ts +6 -6
- package/dist/types/components/Separator/index.d.ts +11 -11
- package/dist/types/components/Sidebar/Sidebar.stories.d.ts +6 -6
- package/dist/types/components/Sidebar/index.d.ts +15 -15
- package/dist/types/components/Switch/Switch.stories.d.ts +5 -5
- package/dist/types/components/Switch/index.d.ts +2 -2
- package/dist/types/components/Table/Table.stories.d.ts +9 -9
- package/dist/types/components/Table/index.d.ts +37 -37
- package/dist/types/components/Tag/Tag.stories.d.ts +5 -5
- package/dist/types/components/Tag/index.d.ts +8 -8
- package/dist/types/components/Upload/Upload.stories.d.ts +4 -4
- package/dist/types/components/Upload/index.d.ts +8 -8
- package/dist/types/components/UserInfo/UserInfo.stories.d.ts +4 -4
- package/dist/types/components/UserInfo/index.d.ts +8 -8
- package/dist/types/components/index.d.ts +25 -25
- package/dist/types/constants/i18n.d.ts +1 -1
- package/dist/types/constants/translationHelper.d.ts +2 -2
- package/dist/types/index.d.ts +2 -2
- package/package.json +198 -198
- package/src/assets/scss/_global.scss +89 -89
- package/src/assets/scss/index.scss +2 -2
- package/src/components/AnalyticsBar/AnalyticsBar.stories.tsx +236 -236
- package/src/components/AnalyticsBar/helpers/codeMutation.tsx +19 -19
- package/src/components/AnalyticsBar/index.tsx +76 -76
- package/src/components/AnalyticsBar/interfaces/analyticsBar.tsx +13 -13
- package/src/components/AnalyticsBar/styles.module.scss +108 -108
- package/src/components/Button/Button.stories.tsx +26 -26
- package/src/components/Button/index.tsx +24 -24
- package/src/components/Button/styles.module.scss +65 -65
- package/src/components/Category/Category.stories.tsx +88 -88
- package/src/components/Category/CategoryContent/index.tsx +188 -188
- package/src/components/Category/CategoryContent/styles.module.scss +51 -51
- package/src/components/Category/CategorySidebar/index.tsx +268 -268
- package/src/components/Category/CategorySidebar/styles.module.scss +28 -28
- package/src/components/Category/index.tsx +76 -76
- package/src/components/Category/styles.module.scss +13 -13
- package/src/components/CategoryReadOnly/CategoryReadOnly.stories.tsx +270 -270
- package/src/components/CategoryReadOnly/evaluationOptions.tsx +81 -81
- package/src/components/CategoryReadOnly/index.tsx +254 -254
- package/src/components/CategoryReadOnly/styles.module.scss +184 -184
- package/src/components/CategoryResponse/CategoryResponse.stories.tsx +251 -251
- package/src/components/CategoryResponse/evaluationOptions.tsx +81 -81
- package/src/components/CategoryResponse/index.tsx +277 -277
- package/src/components/CategoryResponse/styles.module.scss +180 -180
- package/src/components/DatePicker/DatePicker.stories.tsx +16 -16
- package/src/components/DatePicker/index.tsx +38 -38
- package/src/components/DatePicker/styles.module.scss +3 -3
- package/src/components/DatePickerTag/DatePickerTag.stories.tsx +19 -19
- package/src/components/DatePickerTag/index.tsx +89 -89
- package/src/components/DatePickerTag/styles.module.scss +31 -31
- package/src/components/Footer/Footer.stories.tsx +14 -14
- package/src/components/Footer/index.tsx +38 -38
- package/src/components/Footer/styles.module.scss +38 -38
- package/src/components/Input/Input.stories.tsx +13 -13
- package/src/components/Input/index.tsx +31 -31
- package/src/components/Input/styles.module.scss +8 -8
- package/src/components/InputCountryCode/index.tsx +75 -75
- package/src/components/InputCountryCode/inputCountryCode.stories.tsx +55 -55
- package/src/components/InputCountryCode/styles.module.scss +3 -3
- package/src/components/Label/Label.stories.tsx +21 -21
- package/src/components/Label/index.tsx +19 -19
- package/src/components/Label/styles.module.scss +16 -16
- package/src/components/Link/Link.stories.tsx +30 -30
- package/src/components/Link/index.tsx +21 -21
- package/src/components/Link/styles.module.scss +24 -24
- package/src/components/Menu/Menu.stories.tsx +178 -178
- package/src/components/Menu/helpers/codeMutation.tsx +19 -19
- package/src/components/Menu/index.tsx +23 -23
- package/src/components/ModalConfirmation/ModalConfirmation.stories.tsx +40 -40
- package/src/components/ModalConfirmation/ModalStatusList.tsx +5 -5
- package/src/components/ModalConfirmation/index.tsx +70 -70
- package/src/components/ModalConfirmation/styles.module.scss +62 -62
- package/src/components/ModalWithTable/ModalWithTable.stories.tsx +96 -96
- package/src/components/ModalWithTable/index.tsx +232 -232
- package/src/components/ModalWithTable/styles.module.scss +77 -77
- package/src/components/Navigation/Navigation.stories.tsx +17 -17
- package/src/components/Navigation/index.tsx +33 -33
- package/src/components/Navigation/styles.module.scss +59 -58
- package/src/components/Notification/Notification.stories.tsx +29 -29
- package/src/components/Notification/index.tsx +21 -21
- package/src/components/Questions/Questions.stories.tsx +37 -37
- package/src/components/Questions/SingleQuestion/index.tsx +84 -84
- package/src/components/Questions/SingleQuestion/styles.module.scss +81 -81
- package/src/components/Questions/index.tsx +78 -78
- package/src/components/Radio/Radio.stories.tsx +43 -43
- package/src/components/Radio/index.tsx +26 -26
- package/src/components/Radio/styles.module.scss +23 -23
- package/src/components/Select/Select.stories.tsx +39 -39
- package/src/components/Select/index.tsx +27 -27
- package/src/components/Select/styles.module.scss +13 -13
- package/src/components/Separator/Separator.stories.tsx +22 -22
- package/src/components/Separator/index.tsx +27 -27
- package/src/components/Separator/styles.module.scss +25 -25
- package/src/components/Sidebar/Sidebar.stories.tsx +85 -85
- package/src/components/Sidebar/index.tsx +103 -103
- package/src/components/Sidebar/styles.module.scss +85 -85
- package/src/components/Switch/Switch.stories.tsx +14 -14
- package/src/components/Switch/index.tsx +8 -8
- package/src/components/Switch/styles.module.scss +7 -7
- package/src/components/Table/Table.stories.tsx +222 -222
- package/src/components/Table/index.tsx +275 -275
- package/src/components/Table/styles.module.scss +75 -75
- package/src/components/Tag/Tag.stories.tsx +22 -22
- package/src/components/Tag/index.tsx +189 -189
- package/src/components/Tag/styles.module.scss +60 -60
- package/src/components/Upload/Upload.stories.tsx +45 -45
- package/src/components/Upload/index.tsx +91 -91
- package/src/components/UserInfo/UserInfo.stories.tsx +37 -37
- package/src/components/UserInfo/index.tsx +62 -62
- package/src/components/UserInfo/styles.module.scss +29 -29
- package/src/components/index.tsx +25 -25
- package/src/constants/i18n.ts +25 -25
- package/src/constants/translationHelper.ts +7 -7
- package/src/index.ts +2 -2
- package/src/locales/en.json +86 -86
- package/src/locales/es.json +86 -86
- package/src/locales/pt.json +86 -86
- package/src/types/Global.d.ts +4 -4
- package/tsconfig.json +29 -29
- package/webpack.config.js +51 -51
package/dist/main.css
CHANGED
|
@@ -66,10 +66,10 @@
|
|
|
66
66
|
}
|
|
67
67
|
@media (max-width: 767px) {
|
|
68
68
|
.UxfXOleP69PjM5rFOMTD {
|
|
69
|
-
padding-top: 6px;
|
|
70
|
-
display: flex;
|
|
71
|
-
align-items: center;
|
|
72
|
-
justify-content: space-between;
|
|
69
|
+
padding-top: 6px !important;
|
|
70
|
+
display: flex !important;
|
|
71
|
+
align-items: center !important;
|
|
72
|
+
justify-content: space-between !important;
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
.UxfXOleP69PjM5rFOMTD .LzcTbjk0fp70tXlKd3eS {
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
@media (max-width: 767px) {
|
|
89
89
|
.UxfXOleP69PjM5rFOMTD .gn06XRZhFG00HaVjAqNc {
|
|
90
90
|
position: absolute;
|
|
91
|
-
top: 0;
|
|
91
|
+
top: 0 !important;
|
|
92
92
|
margin: 0 auto;
|
|
93
93
|
left: 0;
|
|
94
94
|
right: 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { AnalyticsBarProps } from './interfaces/analyticsBar';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<AnalyticsBarProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { AnalyticsBarProps } from './interfaces/analyticsBar';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<AnalyticsBarProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { MenuProps } from 'antd';
|
|
3
|
-
export type MenuItem = Required<MenuProps>['items'][number];
|
|
4
|
-
export declare function getItem(label: React.ReactNode, key: React.Key, icon?: React.ReactNode, children?: MenuItem[], type?: 'group'): MenuItem;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { MenuProps } from 'antd';
|
|
3
|
+
export type MenuItem = Required<MenuProps>['items'][number];
|
|
4
|
+
export declare function getItem(label: React.ReactNode, key: React.Key, icon?: React.ReactNode, children?: MenuItem[], type?: 'group'): MenuItem;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { AnalyticsBarProps } from './interfaces/analyticsBar';
|
|
2
|
-
export declare const AnalyticsBar: (props: AnalyticsBarProps) => JSX.Element;
|
|
1
|
+
import { AnalyticsBarProps } from './interfaces/analyticsBar';
|
|
2
|
+
export declare const AnalyticsBar: (props: AnalyticsBarProps) => JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface AnalyticsBarProps {
|
|
2
|
-
data: any;
|
|
3
|
-
selectOptions: any;
|
|
4
|
-
selectDefault: any;
|
|
5
|
-
selectUserOption?: any;
|
|
6
|
-
sortedBy?: any;
|
|
7
|
-
activeListItem?: any;
|
|
8
|
-
}
|
|
9
|
-
export declare enum sortBy {
|
|
10
|
-
asc = "asc",
|
|
11
|
-
desc = "desc"
|
|
12
|
-
}
|
|
1
|
+
export interface AnalyticsBarProps {
|
|
2
|
+
data: any;
|
|
3
|
+
selectOptions: any;
|
|
4
|
+
selectDefault: any;
|
|
5
|
+
selectUserOption?: any;
|
|
6
|
+
sortedBy?: any;
|
|
7
|
+
activeListItem?: any;
|
|
8
|
+
}
|
|
9
|
+
export declare enum sortBy {
|
|
10
|
+
asc = "asc",
|
|
11
|
+
desc = "desc"
|
|
12
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { CustomButtonProps } from '.';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<CustomButtonProps>;
|
|
6
|
-
export declare const Secondary: Story<CustomButtonProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { CustomButtonProps } from '.';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<CustomButtonProps>;
|
|
6
|
+
export declare const Secondary: Story<CustomButtonProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ButtonProps } from 'antd';
|
|
2
|
-
export interface CustomButtonProps extends ButtonProps {
|
|
3
|
-
iconAlignRight?: boolean;
|
|
4
|
-
buttonStyle?: string;
|
|
5
|
-
customClass?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const Button: ({ customClass, ...props }: CustomButtonProps) => JSX.Element;
|
|
1
|
+
import { ButtonProps } from 'antd';
|
|
2
|
+
export interface CustomButtonProps extends ButtonProps {
|
|
3
|
+
iconAlignRight?: boolean;
|
|
4
|
+
buttonStyle?: string;
|
|
5
|
+
customClass?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Button: ({ customClass, ...props }: CustomButtonProps) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Primary: Story<any>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Primary: Story<any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
interface categoryContent {
|
|
2
|
-
categoryContentShow: boolean;
|
|
3
|
-
categoryContentInfo: any;
|
|
4
|
-
categorySidebarData: any;
|
|
5
|
-
}
|
|
6
|
-
export declare const CategoryContent: (props: categoryContent) => JSX.Element;
|
|
7
|
-
export {};
|
|
1
|
+
interface categoryContent {
|
|
2
|
+
categoryContentShow: boolean;
|
|
3
|
+
categoryContentInfo: any;
|
|
4
|
+
categorySidebarData: any;
|
|
5
|
+
}
|
|
6
|
+
export declare const CategoryContent: (props: categoryContent) => JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export interface Questions {
|
|
2
|
-
grade: string;
|
|
3
|
-
questions: string;
|
|
4
|
-
info: string;
|
|
5
|
-
}
|
|
6
|
-
export interface Data {
|
|
7
|
-
categoryName: string;
|
|
8
|
-
generalEvaluationLevel: string;
|
|
9
|
-
grade: string;
|
|
10
|
-
openAnswer: boolean;
|
|
11
|
-
questions: Questions[];
|
|
12
|
-
}
|
|
13
|
-
export interface DataNode {
|
|
14
|
-
title: string;
|
|
15
|
-
key: string;
|
|
16
|
-
data?: Data;
|
|
17
|
-
children?: DataNode[];
|
|
18
|
-
}
|
|
19
|
-
interface SidebarProps {
|
|
20
|
-
categoryContentData: any;
|
|
21
|
-
categorySidebarInfo: any;
|
|
22
|
-
categoryContentFinalData: any;
|
|
23
|
-
data: DataNode[];
|
|
24
|
-
}
|
|
25
|
-
export declare const CategorySidebar: (props: SidebarProps) => JSX.Element;
|
|
26
|
-
export {};
|
|
1
|
+
export interface Questions {
|
|
2
|
+
grade: string;
|
|
3
|
+
questions: string;
|
|
4
|
+
info: string;
|
|
5
|
+
}
|
|
6
|
+
export interface Data {
|
|
7
|
+
categoryName: string;
|
|
8
|
+
generalEvaluationLevel: string;
|
|
9
|
+
grade: string;
|
|
10
|
+
openAnswer: boolean;
|
|
11
|
+
questions: Questions[];
|
|
12
|
+
}
|
|
13
|
+
export interface DataNode {
|
|
14
|
+
title: string;
|
|
15
|
+
key: string;
|
|
16
|
+
data?: Data;
|
|
17
|
+
children?: DataNode[];
|
|
18
|
+
}
|
|
19
|
+
interface SidebarProps {
|
|
20
|
+
categoryContentData: any;
|
|
21
|
+
categorySidebarInfo: any;
|
|
22
|
+
categoryContentFinalData: any;
|
|
23
|
+
data: DataNode[];
|
|
24
|
+
}
|
|
25
|
+
export declare const CategorySidebar: (props: SidebarProps) => JSX.Element;
|
|
26
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DataNode } from './CategorySidebar';
|
|
2
|
-
interface Category {
|
|
3
|
-
data: DataNode[];
|
|
4
|
-
serverReadyData: any;
|
|
5
|
-
}
|
|
6
|
-
export declare const Category: (props: Category) => JSX.Element;
|
|
7
|
-
export {};
|
|
1
|
+
import { DataNode } from './CategorySidebar';
|
|
2
|
+
interface Category {
|
|
3
|
+
data: DataNode[];
|
|
4
|
+
serverReadyData: any;
|
|
5
|
+
}
|
|
6
|
+
export declare const Category: (props: Category) => JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Primary: Story<any>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Primary: Story<any>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type EvaluationOption = {
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
4
|
-
};
|
|
5
|
-
export type EvaluationOptions = {
|
|
6
|
-
scale_0: EvaluationOption[];
|
|
7
|
-
scale_1: EvaluationOption[];
|
|
8
|
-
scale_2: EvaluationOption[];
|
|
9
|
-
};
|
|
10
|
-
export declare const evaluationOptions: EvaluationOptions;
|
|
1
|
+
export type EvaluationOption = {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
export type EvaluationOptions = {
|
|
6
|
+
scale_0: EvaluationOption[];
|
|
7
|
+
scale_1: EvaluationOption[];
|
|
8
|
+
scale_2: EvaluationOption[];
|
|
9
|
+
};
|
|
10
|
+
export declare const evaluationOptions: EvaluationOptions;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface CategoryResponse {
|
|
3
|
-
data: any;
|
|
4
|
-
serverReadyData: any;
|
|
5
|
-
onNextCategoryAvailabilityChange: (hasNext: boolean) => void;
|
|
6
|
-
onPreviousCategoryAvailabilityChange: (hasPrevious: boolean) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const CategoryReadOnly: React.ForwardRefExoticComponent<CategoryResponse & React.RefAttributes<unknown>>;
|
|
9
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CategoryResponse {
|
|
3
|
+
data: any;
|
|
4
|
+
serverReadyData: any;
|
|
5
|
+
onNextCategoryAvailabilityChange: (hasNext: boolean) => void;
|
|
6
|
+
onPreviousCategoryAvailabilityChange: (hasPrevious: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const CategoryReadOnly: React.ForwardRefExoticComponent<CategoryResponse & React.RefAttributes<unknown>>;
|
|
9
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Primary: Story<any>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Primary: Story<any>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type EvaluationOption = {
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
4
|
-
};
|
|
5
|
-
export type EvaluationOptions = {
|
|
6
|
-
scale_0: EvaluationOption[];
|
|
7
|
-
scale_1: EvaluationOption[];
|
|
8
|
-
scale_2: EvaluationOption[];
|
|
9
|
-
};
|
|
10
|
-
export declare const evaluationOptions: EvaluationOptions;
|
|
1
|
+
export type EvaluationOption = {
|
|
2
|
+
value: string;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
export type EvaluationOptions = {
|
|
6
|
+
scale_0: EvaluationOption[];
|
|
7
|
+
scale_1: EvaluationOption[];
|
|
8
|
+
scale_2: EvaluationOption[];
|
|
9
|
+
};
|
|
10
|
+
export declare const evaluationOptions: EvaluationOptions;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface CategoryResponse {
|
|
3
|
-
data: any;
|
|
4
|
-
serverReadyData: any;
|
|
5
|
-
onNextCategoryAvailabilityChange: (hasNext: boolean) => void;
|
|
6
|
-
onPreviousCategoryAvailabilityChange: (hasPrevious: boolean) => void;
|
|
7
|
-
}
|
|
8
|
-
export declare const CategoryResponse: React.ForwardRefExoticComponent<CategoryResponse & React.RefAttributes<unknown>>;
|
|
9
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CategoryResponse {
|
|
3
|
+
data: any;
|
|
4
|
+
serverReadyData: any;
|
|
5
|
+
onNextCategoryAvailabilityChange: (hasNext: boolean) => void;
|
|
6
|
+
onPreviousCategoryAvailabilityChange: (hasPrevious: boolean) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const CategoryResponse: React.ForwardRefExoticComponent<CategoryResponse & React.RefAttributes<unknown>>;
|
|
9
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { CustomDatePickerProps } from '.';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<CustomDatePickerProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { CustomDatePickerProps } from '.';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<CustomDatePickerProps>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DatePickerProps } from 'antd';
|
|
2
|
-
export type CustomDatePickerProps = DatePickerProps & {
|
|
3
|
-
isRangePicker?: boolean;
|
|
4
|
-
onChange?: (a: any, b: any) => void;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
defaultValue?: any;
|
|
7
|
-
};
|
|
8
|
-
export declare const CustomDatePicker: ({ className, onChange, value, isRangePicker, disabled, defaultValue, ...rest }: CustomDatePickerProps) => JSX.Element;
|
|
1
|
+
import { DatePickerProps } from 'antd';
|
|
2
|
+
export type CustomDatePickerProps = DatePickerProps & {
|
|
3
|
+
isRangePicker?: boolean;
|
|
4
|
+
onChange?: (a: any, b: any) => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
defaultValue?: any;
|
|
7
|
+
};
|
|
8
|
+
export declare const CustomDatePicker: ({ className, onChange, value, isRangePicker, disabled, defaultValue, ...rest }: CustomDatePickerProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { TagProps } from 'antd';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<TagProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { TagProps } from 'antd';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<TagProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TagProps } from 'antd';
|
|
2
|
-
export interface DatePickerTagProps extends TagProps {
|
|
3
|
-
customTags?: any;
|
|
4
|
-
tagsInfo?: any;
|
|
5
|
-
}
|
|
6
|
-
export declare const DatePickerTag: (props: DatePickerTagProps) => JSX.Element;
|
|
1
|
+
import { TagProps } from 'antd';
|
|
2
|
+
export interface DatePickerTagProps extends TagProps {
|
|
3
|
+
customTags?: any;
|
|
4
|
+
tagsInfo?: any;
|
|
5
|
+
}
|
|
6
|
+
export declare const DatePickerTag: (props: DatePickerTagProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { FooterProps } from '.';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<FooterProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { FooterProps } from '.';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<FooterProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface FooterProps {
|
|
2
|
-
storeName: string;
|
|
3
|
-
}
|
|
4
|
-
export declare const Footer: (props: FooterProps) => JSX.Element;
|
|
1
|
+
export interface FooterProps {
|
|
2
|
+
storeName: string;
|
|
3
|
+
}
|
|
4
|
+
export declare const Footer: (props: FooterProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { FormInputFieldProps } from '.';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<FormInputFieldProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { FormInputFieldProps } from '.';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<FormInputFieldProps>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FormItemProps, InputProps } from 'antd';
|
|
2
|
-
export interface FormInputFieldProps extends Omit<FormItemProps, "name"> {
|
|
3
|
-
name: string;
|
|
4
|
-
inputProps?: InputProps;
|
|
5
|
-
}
|
|
6
|
-
export interface inputPropsCustom extends InputProps {
|
|
7
|
-
customClass?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const InputField: ({ customClass, ...inputProps }: inputPropsCustom) => JSX.Element;
|
|
10
|
-
export declare const FormInputField: ({ inputProps, ...itemProps }: FormInputFieldProps) => JSX.Element;
|
|
1
|
+
import { FormItemProps, InputProps } from 'antd';
|
|
2
|
+
export interface FormInputFieldProps extends Omit<FormItemProps, "name"> {
|
|
3
|
+
name: string;
|
|
4
|
+
inputProps?: InputProps;
|
|
5
|
+
}
|
|
6
|
+
export interface inputPropsCustom extends InputProps {
|
|
7
|
+
customClass?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const InputField: ({ customClass, ...inputProps }: inputPropsCustom) => JSX.Element;
|
|
10
|
+
export declare const FormInputField: ({ inputProps, ...itemProps }: FormInputFieldProps) => JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { FormItemProps, InputProps, SelectProps } from 'antd';
|
|
2
|
-
export interface FormInputCountryCodeProps extends Omit<FormItemProps, "name"> {
|
|
3
|
-
name?: string;
|
|
4
|
-
selectProps?: SelectProps;
|
|
5
|
-
inputProps?: InputProps;
|
|
6
|
-
inputWithSelectBoxValue?: string;
|
|
7
|
-
value?: string;
|
|
8
|
-
onChange?: (value: any) => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const InputCountryCode: ({ inputProps, selectProps, name, inputWithSelectBoxValue, value, onChange, ...itemProps }: FormInputCountryCodeProps) => JSX.Element;
|
|
1
|
+
import { FormItemProps, InputProps, SelectProps } from 'antd';
|
|
2
|
+
export interface FormInputCountryCodeProps extends Omit<FormItemProps, "name"> {
|
|
3
|
+
name?: string;
|
|
4
|
+
selectProps?: SelectProps;
|
|
5
|
+
inputProps?: InputProps;
|
|
6
|
+
inputWithSelectBoxValue?: string;
|
|
7
|
+
value?: string;
|
|
8
|
+
onChange?: (value: any) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const InputCountryCode: ({ inputProps, selectProps, name, inputWithSelectBoxValue, value, onChange, ...itemProps }: FormInputCountryCodeProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { FormInputCountryCodeProps } from '.';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<FormInputCountryCodeProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { FormInputCountryCodeProps } from '.';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<FormInputCountryCodeProps>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { LabelProps } from '.';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<LabelProps>;
|
|
6
|
-
export declare const Secondary: Story<LabelProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { LabelProps } from '.';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<LabelProps>;
|
|
6
|
+
export declare const Secondary: Story<LabelProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface LabelProps {
|
|
2
|
-
forAttribute?: string;
|
|
3
|
-
children?: any;
|
|
4
|
-
customStyle?: string;
|
|
5
|
-
isUppercase?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const Label: (props: LabelProps) => JSX.Element;
|
|
1
|
+
export interface LabelProps {
|
|
2
|
+
forAttribute?: string;
|
|
3
|
+
children?: any;
|
|
4
|
+
customStyle?: string;
|
|
5
|
+
isUppercase?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const Label: (props: LabelProps) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { CustomLinkProps } from '.';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<CustomLinkProps>;
|
|
6
|
-
export declare const Secondary: Story<CustomLinkProps>;
|
|
7
|
-
export declare const iconAlignRight: Story<CustomLinkProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { CustomLinkProps } from '.';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<CustomLinkProps>;
|
|
6
|
+
export declare const Secondary: Story<CustomLinkProps>;
|
|
7
|
+
export declare const iconAlignRight: Story<CustomLinkProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ButtonProps } from 'antd';
|
|
2
|
-
export interface CustomLinkProps extends ButtonProps {
|
|
3
|
-
iconAlignRight?: boolean;
|
|
4
|
-
linkSecondary?: boolean;
|
|
5
|
-
customClass?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const Link: ({ customClass, iconAlignRight, linkSecondary, ...props }: CustomLinkProps) => JSX.Element;
|
|
1
|
+
import { ButtonProps } from 'antd';
|
|
2
|
+
export interface CustomLinkProps extends ButtonProps {
|
|
3
|
+
iconAlignRight?: boolean;
|
|
4
|
+
linkSecondary?: boolean;
|
|
5
|
+
customClass?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Link: ({ customClass, iconAlignRight, linkSecondary, ...props }: CustomLinkProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { MenuProps } from 'antd';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<MenuProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { MenuProps } from 'antd';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<MenuProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { MenuProps } from 'antd';
|
|
3
|
-
export type MenuItem = Required<MenuProps>['items'][number];
|
|
4
|
-
export declare function getItem(label: React.ReactNode, key: React.Key, icon?: React.ReactNode, children?: MenuItem[], type?: 'group'): MenuItem;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { MenuProps } from 'antd';
|
|
3
|
+
export type MenuItem = Required<MenuProps>['items'][number];
|
|
4
|
+
export declare function getItem(label: React.ReactNode, key: React.Key, icon?: React.ReactNode, children?: MenuItem[], type?: 'group'): MenuItem;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const Menu: (props: MenuProps) => JSX.Element;
|
|
1
|
+
import type { MenuProps } from 'antd';
|
|
2
|
+
export declare const Menu: (props: MenuProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { ModalConfirmationProps } from '.';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<ModalConfirmationProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { ModalConfirmationProps } from '.';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<ModalConfirmationProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const ModalStatus: {
|
|
2
|
-
CANCELED: string;
|
|
3
|
-
OPEN: string;
|
|
4
|
-
REQUESTED_CHANGES: string;
|
|
5
|
-
};
|
|
1
|
+
export declare const ModalStatus: {
|
|
2
|
+
CANCELED: string;
|
|
3
|
+
OPEN: string;
|
|
4
|
+
REQUESTED_CHANGES: string;
|
|
5
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface ModalConfirmationProps {
|
|
2
|
-
closeText: string;
|
|
3
|
-
title: string;
|
|
4
|
-
description: string;
|
|
5
|
-
buttonText: string;
|
|
6
|
-
isOpen: boolean;
|
|
7
|
-
modalData?: any;
|
|
8
|
-
}
|
|
9
|
-
export declare const ModalConfirmation: (props: ModalConfirmationProps) => JSX.Element;
|
|
1
|
+
export interface ModalConfirmationProps {
|
|
2
|
+
closeText: string;
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
buttonText: string;
|
|
6
|
+
isOpen: boolean;
|
|
7
|
+
modalData?: any;
|
|
8
|
+
}
|
|
9
|
+
export declare const ModalConfirmation: (props: ModalConfirmationProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, Story } from "@storybook/react";
|
|
2
|
-
import { ModalWithTableProps } from '.';
|
|
3
|
-
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Primary: Story<ModalWithTableProps>;
|
|
1
|
+
import { Meta, Story } from "@storybook/react";
|
|
2
|
+
import { ModalWithTableProps } from '.';
|
|
3
|
+
declare const _default: Meta<import("@storybook/react").Args>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const Primary: Story<ModalWithTableProps>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { TableCustomProps } from '../Table';
|
|
2
|
-
export interface ModalWithTableProps {
|
|
3
|
-
closeText: string;
|
|
4
|
-
buttonText: string;
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
tableData: TableCustomProps;
|
|
7
|
-
modalData?: any;
|
|
8
|
-
isLoading?: boolean;
|
|
9
|
-
confirmLoading?: boolean;
|
|
10
|
-
initialRowSelectedInfo?: any;
|
|
11
|
-
advancedTagsList?: string[];
|
|
12
|
-
}
|
|
13
|
-
export declare const ModalWithTable: (props: ModalWithTableProps) => JSX.Element;
|
|
1
|
+
import { TableCustomProps } from '../Table';
|
|
2
|
+
export interface ModalWithTableProps {
|
|
3
|
+
closeText: string;
|
|
4
|
+
buttonText: string;
|
|
5
|
+
isOpen: boolean;
|
|
6
|
+
tableData: TableCustomProps;
|
|
7
|
+
modalData?: any;
|
|
8
|
+
isLoading?: boolean;
|
|
9
|
+
confirmLoading?: boolean;
|
|
10
|
+
initialRowSelectedInfo?: any;
|
|
11
|
+
advancedTagsList?: string[];
|
|
12
|
+
}
|
|
13
|
+
export declare const ModalWithTable: (props: ModalWithTableProps) => JSX.Element;
|