affiliate-front-shared 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/page-breadcrumb/style.d.ts +13 -1
- package/dist/index.cjs +19 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +252 -252
- package/dist/index.mjs.map +1 -1
- package/dist/layouts/base-admin-layout/profile-menu/style.d.ts +13 -1
- package/dist/layouts/base-admin-layout/sidebar/style.d.ts +13 -1
- package/dist/modules/GridViewPage/GridViewPage.d.ts +1 -36
- package/dist/modules/GridViewPage/types.d.ts +34 -0
- package/dist/styled-components/arrowLeft.d.ts +13 -1
- package/dist/styled-components/closeMark.d.ts +13 -1
- package/dist/styled-components/rightArrow.d.ts +13 -1
- package/dist/styled-components/usersDetailStyles.d.ts +13 -1
- package/dist/utils/PackageServicesProvider.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
export declare const StyledCheckMark:
|
|
1
|
+
export declare const StyledCheckMark: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('react').SVGProps<SVGSVGElement> & {
|
|
2
|
+
title?: string;
|
|
3
|
+
titleId?: string;
|
|
4
|
+
desc?: string;
|
|
5
|
+
descId?: string;
|
|
6
|
+
}, "ref"> & {
|
|
7
|
+
ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
|
|
8
|
+
}, never>> & string & Omit<import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
9
|
+
title?: string;
|
|
10
|
+
titleId?: string;
|
|
11
|
+
desc?: string;
|
|
12
|
+
descId?: string;
|
|
13
|
+
}>, keyof import('react').Component<any, {}, any>>;
|
|
2
14
|
export declare const StyledProfileMenuChildren: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
15
|
export declare const StyledProfileLabel: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
4
16
|
export declare const StyledMenu: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<Omit<import('antd').MenuProps & import('react').RefAttributes<import('antd').MenuRef>, "items"> & {
|
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
export declare const StyledDownArrow:
|
|
1
|
+
export declare const StyledDownArrow: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('react').SVGProps<SVGSVGElement> & {
|
|
2
|
+
title?: string;
|
|
3
|
+
titleId?: string;
|
|
4
|
+
desc?: string;
|
|
5
|
+
descId?: string;
|
|
6
|
+
}, "ref"> & {
|
|
7
|
+
ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
|
|
8
|
+
}, never>> & string & Omit<import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
9
|
+
title?: string;
|
|
10
|
+
titleId?: string;
|
|
11
|
+
desc?: string;
|
|
12
|
+
descId?: string;
|
|
13
|
+
}>, keyof import('react').Component<any, {}, any>>;
|
|
2
14
|
export declare const StyledSidebar: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
15
|
export declare const StyledHeaderLink: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
16
|
export declare const StyledHeaderLogo: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,38 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Column } from './types';
|
|
3
|
-
export interface GridViewPageProps {
|
|
4
|
-
columns: Column[];
|
|
5
|
-
getData: any;
|
|
6
|
-
update?: boolean;
|
|
7
|
-
hasDeleteBtn?: boolean;
|
|
8
|
-
contentAfterPageHeader?: any;
|
|
9
|
-
GridPageTopLeftComponent?: React.FC;
|
|
10
|
-
hasEditBtn?: boolean;
|
|
11
|
-
hasCreateBtn?: boolean;
|
|
12
|
-
onRowClick?: any;
|
|
13
|
-
checkedValue?: any;
|
|
14
|
-
rowKey?: any;
|
|
15
|
-
pagination?: any;
|
|
16
|
-
CustomFilters?: any;
|
|
17
|
-
initialFilterValues?: any;
|
|
18
|
-
tableAdditionalFields?: (openModal: boolean, setOpenModal: (open: boolean) => void) => React.ReactNode;
|
|
19
|
-
setDisplayAddRuleModal: any;
|
|
20
|
-
createIsModal: any;
|
|
21
|
-
editButton: any;
|
|
22
|
-
noPagination: boolean;
|
|
23
|
-
noPageHeader?: boolean;
|
|
24
|
-
noDataProps?: {
|
|
25
|
-
title: any;
|
|
26
|
-
description: any;
|
|
27
|
-
button: any;
|
|
28
|
-
};
|
|
29
|
-
exportButton?: any;
|
|
30
|
-
hasSelect?: boolean;
|
|
31
|
-
selectProps?: any;
|
|
32
|
-
TableComponent?: React.ComponentType<any>;
|
|
33
|
-
tableProps?: Record<string, unknown>;
|
|
34
|
-
noNeedSidebarResponsiveButton?: boolean;
|
|
35
|
-
loadedData: any;
|
|
36
|
-
}
|
|
1
|
+
import { GridViewPageProps } from './types';
|
|
37
2
|
declare const GridViewPage: ({ columns, getData, update, hasCreateBtn, GridPageTopLeftComponent, contentAfterPageHeader, onRowClick, checkedValue, rowKey, pagination, CustomFilters, initialFilterValues, tableAdditionalFields, createIsModal, editButton, noPagination, noDataProps, exportButton, hasSelect, selectProps, TableComponent, tableProps, noNeedSidebarResponsiveButton, loadedData, }: GridViewPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
38
3
|
export default GridViewPage;
|
|
@@ -47,3 +47,37 @@ export interface Column {
|
|
|
47
47
|
};
|
|
48
48
|
render?: (value: any, value2: any) => any;
|
|
49
49
|
}
|
|
50
|
+
export interface GridViewPageProps {
|
|
51
|
+
columns: Column[];
|
|
52
|
+
getData: any;
|
|
53
|
+
update?: boolean;
|
|
54
|
+
hasDeleteBtn?: boolean;
|
|
55
|
+
contentAfterPageHeader?: any;
|
|
56
|
+
GridPageTopLeftComponent?: React.FC;
|
|
57
|
+
hasEditBtn?: boolean;
|
|
58
|
+
hasCreateBtn?: boolean;
|
|
59
|
+
onRowClick?: any;
|
|
60
|
+
checkedValue?: any;
|
|
61
|
+
rowKey?: any;
|
|
62
|
+
pagination?: any;
|
|
63
|
+
CustomFilters?: any;
|
|
64
|
+
initialFilterValues?: any;
|
|
65
|
+
tableAdditionalFields?: (openModal: boolean, setOpenModal: (open: boolean) => void) => React.ReactNode;
|
|
66
|
+
setDisplayAddRuleModal: any;
|
|
67
|
+
createIsModal: any;
|
|
68
|
+
editButton: any;
|
|
69
|
+
noPagination: boolean;
|
|
70
|
+
noPageHeader?: boolean;
|
|
71
|
+
noDataProps?: {
|
|
72
|
+
title: any;
|
|
73
|
+
description: any;
|
|
74
|
+
button: any;
|
|
75
|
+
};
|
|
76
|
+
exportButton?: any;
|
|
77
|
+
hasSelect?: boolean;
|
|
78
|
+
selectProps?: any;
|
|
79
|
+
TableComponent?: React.ComponentType<any>;
|
|
80
|
+
tableProps?: Record<string, unknown>;
|
|
81
|
+
noNeedSidebarResponsiveButton?: boolean;
|
|
82
|
+
loadedData: any;
|
|
83
|
+
}
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
export declare const ArrowLeftIcon:
|
|
1
|
+
export declare const ArrowLeftIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('react').SVGProps<SVGSVGElement> & {
|
|
2
|
+
title?: string;
|
|
3
|
+
titleId?: string;
|
|
4
|
+
desc?: string;
|
|
5
|
+
descId?: string;
|
|
6
|
+
}, "ref"> & {
|
|
7
|
+
ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
|
|
8
|
+
}, never>> & string & Omit<import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
9
|
+
title?: string;
|
|
10
|
+
titleId?: string;
|
|
11
|
+
desc?: string;
|
|
12
|
+
descId?: string;
|
|
13
|
+
}>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
export declare const CloseMarkIcon:
|
|
1
|
+
export declare const CloseMarkIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('react').SVGProps<SVGSVGElement> & {
|
|
2
|
+
title?: string;
|
|
3
|
+
titleId?: string;
|
|
4
|
+
desc?: string;
|
|
5
|
+
descId?: string;
|
|
6
|
+
}, "ref"> & {
|
|
7
|
+
ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
|
|
8
|
+
}, never>> & string & Omit<import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
9
|
+
title?: string;
|
|
10
|
+
titleId?: string;
|
|
11
|
+
desc?: string;
|
|
12
|
+
descId?: string;
|
|
13
|
+
}>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
export declare const ArrowRightIcon:
|
|
1
|
+
export declare const ArrowRightIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('react').SVGProps<SVGSVGElement> & {
|
|
2
|
+
title?: string;
|
|
3
|
+
titleId?: string;
|
|
4
|
+
desc?: string;
|
|
5
|
+
descId?: string;
|
|
6
|
+
}, "ref"> & {
|
|
7
|
+
ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
|
|
8
|
+
}, never>> & string & Omit<import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
9
|
+
title?: string;
|
|
10
|
+
titleId?: string;
|
|
11
|
+
desc?: string;
|
|
12
|
+
descId?: string;
|
|
13
|
+
}>, keyof import('react').Component<any, {}, any>>;
|
|
@@ -9,7 +9,19 @@ export declare const DetailsBrandName: import('styled-components/dist/types').IS
|
|
|
9
9
|
export declare const DetailIcons: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
10
|
export declare const DetailsLabelContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
11
|
export declare const DetailsInfo: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
12
|
-
export declare const StyledChevronRight:
|
|
12
|
+
export declare const StyledChevronRight: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<Omit<import('react').SVGProps<SVGSVGElement> & {
|
|
13
|
+
title?: string;
|
|
14
|
+
titleId?: string;
|
|
15
|
+
desc?: string;
|
|
16
|
+
descId?: string;
|
|
17
|
+
}, "ref"> & {
|
|
18
|
+
ref?: ((instance: SVGSVGElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<SVGSVGElement> | null | undefined;
|
|
19
|
+
}, never>> & string & Omit<import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
20
|
+
title?: string;
|
|
21
|
+
titleId?: string;
|
|
22
|
+
desc?: string;
|
|
23
|
+
descId?: string;
|
|
24
|
+
}>, keyof import('react').Component<any, {}, any>>;
|
|
13
25
|
export declare const StatusInfoWithIcon: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
14
26
|
export declare const BrandsNotFound: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
15
27
|
export declare const DetailPageEnableContactInfoButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -34,7 +34,7 @@ export interface CustomerItem {
|
|
|
34
34
|
name: string;
|
|
35
35
|
}
|
|
36
36
|
export interface PackageServices {
|
|
37
|
-
getMyFilters?: (filterType: string) => Promise<{
|
|
37
|
+
getMyFilters?: (filterType: number | string) => Promise<{
|
|
38
38
|
data: FiltersType[];
|
|
39
39
|
}>;
|
|
40
40
|
saveMyFilter?: (filterType: string, name: string, value: string) => Promise<SuccessResponse>;
|