@commercetools-frontend/application-components 22.11.0 → 22.13.0
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/commercetools-frontend-application-components.cjs.dev.js +366 -256
- package/dist/commercetools-frontend-application-components.cjs.prod.js +269 -185
- package/dist/commercetools-frontend-application-components.esm.js +367 -257
- package/dist/declarations/src/components/detail-pages/custom-form-detail-page/custom-form-detail-page.d.ts +2 -2
- package/dist/declarations/src/components/detail-pages/form-detail-page/form-detail-page.d.ts +2 -2
- package/dist/declarations/src/components/detail-pages/info-detail-page/info-detail-page.d.ts +2 -2
- package/dist/declarations/src/components/detail-pages/tabular-detail-page/tabular-detail-page.d.ts +2 -2
- package/dist/declarations/src/components/drawer/drawer.d.ts +180 -0
- package/dist/declarations/src/components/drawer/index.d.ts +1 -0
- package/dist/declarations/src/components/internals/page-header-title.d.ts +2 -1
- package/dist/declarations/src/components/main-pages/custom-form-main-page/custom-form-main-page.d.ts +2 -2
- package/dist/declarations/src/components/main-pages/form-main-page/form-main-page.d.ts +2 -2
- package/dist/declarations/src/components/main-pages/info-main-page/info-main-page.d.ts +2 -2
- package/dist/declarations/src/components/main-pages/tabular-main-page/tabular-main-page.d.ts +2 -2
- package/dist/declarations/src/components/modal-pages/internals/modal-page-top-bar.d.ts +7 -1
- package/dist/declarations/src/components/modal-pages/internals/modal-page.d.ts +3 -1
- package/dist/declarations/src/components/modal-pages/internals/modal-page.styles.d.ts +22 -4
- package/dist/declarations/src/index.d.ts +1 -1
- package/dist/declarations/src/types/generated/settings.d.ts +114 -1
- package/package.json +10 -10
- package/dist/declarations/src/components/custom-views/custom-panel/custom-panel.d.ts +0 -9
- package/dist/declarations/src/components/custom-views/custom-panel/index.d.ts +0 -1
- package/dist/{public-page-layout-e73cb2ac.cjs.prod.js → public-page-layout-295bf2b5.cjs.prod.js} +2 -2
- package/dist/{public-page-layout-3a970c93.esm.js → public-page-layout-c0dbc038.esm.js} +2 -2
- package/dist/{public-page-layout-27a5ab82.cjs.dev.js → public-page-layout-e590ce5b.cjs.dev.js} +2 -2
|
@@ -23,7 +23,7 @@ declare const CustomFormDetailPage: {
|
|
|
23
23
|
PageHeaderTitle: {
|
|
24
24
|
(props: {
|
|
25
25
|
title: string;
|
|
26
|
-
titleSize: "big" | "small";
|
|
26
|
+
titleSize: "big" | "small" | "medium";
|
|
27
27
|
truncate: boolean;
|
|
28
28
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
29
29
|
children?: undefined;
|
|
@@ -31,7 +31,7 @@ declare const CustomFormDetailPage: {
|
|
|
31
31
|
displayName: string;
|
|
32
32
|
defaultProps: Pick<{
|
|
33
33
|
title: string;
|
|
34
|
-
titleSize: "big" | "small";
|
|
34
|
+
titleSize: "big" | "small" | "medium";
|
|
35
35
|
truncate: boolean;
|
|
36
36
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
37
37
|
children?: undefined;
|
package/dist/declarations/src/components/detail-pages/form-detail-page/form-detail-page.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ declare const FormDetailPage: {
|
|
|
35
35
|
PageHeaderTitle: {
|
|
36
36
|
(props: {
|
|
37
37
|
title: string;
|
|
38
|
-
titleSize: "big" | "small";
|
|
38
|
+
titleSize: "big" | "small" | "medium";
|
|
39
39
|
truncate: boolean;
|
|
40
40
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
41
41
|
children?: undefined;
|
|
@@ -43,7 +43,7 @@ declare const FormDetailPage: {
|
|
|
43
43
|
displayName: string;
|
|
44
44
|
defaultProps: Pick<{
|
|
45
45
|
title: string;
|
|
46
|
-
titleSize: "big" | "small";
|
|
46
|
+
titleSize: "big" | "small" | "medium";
|
|
47
47
|
truncate: boolean;
|
|
48
48
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
49
49
|
children?: undefined;
|
package/dist/declarations/src/components/detail-pages/info-detail-page/info-detail-page.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare const InfoDetailPage: {
|
|
|
20
20
|
PageHeaderTitle: {
|
|
21
21
|
(props: {
|
|
22
22
|
title: string;
|
|
23
|
-
titleSize: "big" | "small";
|
|
23
|
+
titleSize: "big" | "small" | "medium";
|
|
24
24
|
truncate: boolean;
|
|
25
25
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
26
26
|
children?: undefined;
|
|
@@ -28,7 +28,7 @@ declare const InfoDetailPage: {
|
|
|
28
28
|
displayName: string;
|
|
29
29
|
defaultProps: Pick<{
|
|
30
30
|
title: string;
|
|
31
|
-
titleSize: "big" | "small";
|
|
31
|
+
titleSize: "big" | "small" | "medium";
|
|
32
32
|
truncate: boolean;
|
|
33
33
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
34
34
|
children?: undefined;
|
package/dist/declarations/src/components/detail-pages/tabular-detail-page/tabular-detail-page.d.ts
CHANGED
|
@@ -116,7 +116,7 @@ declare const TabularDetailPage: {
|
|
|
116
116
|
PageHeaderTitle: {
|
|
117
117
|
(props: {
|
|
118
118
|
title: string;
|
|
119
|
-
titleSize: "big" | "small";
|
|
119
|
+
titleSize: "big" | "small" | "medium";
|
|
120
120
|
truncate: boolean;
|
|
121
121
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
122
122
|
children?: undefined;
|
|
@@ -124,7 +124,7 @@ declare const TabularDetailPage: {
|
|
|
124
124
|
displayName: string;
|
|
125
125
|
defaultProps: Pick<{
|
|
126
126
|
title: string;
|
|
127
|
-
titleSize: "big" | "small";
|
|
127
|
+
titleSize: "big" | "small" | "medium";
|
|
128
128
|
truncate: boolean;
|
|
129
129
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
130
130
|
children?: undefined;
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import type { ReactElement, ReactNode, SyntheticEvent } from 'react';
|
|
2
|
+
import { type CSSObject } from '@emotion/styled';
|
|
3
|
+
type MessageDescriptor = {
|
|
4
|
+
id: string;
|
|
5
|
+
description?: string | object;
|
|
6
|
+
defaultMessage?: string;
|
|
7
|
+
};
|
|
8
|
+
type Label = string | MessageDescriptor;
|
|
9
|
+
type TDrawerSize = 10 | 20 | 30;
|
|
10
|
+
type TDrawerProps = {
|
|
11
|
+
size: TDrawerSize;
|
|
12
|
+
isOpen: boolean;
|
|
13
|
+
onClose?: (event: SyntheticEvent) => void;
|
|
14
|
+
children: ReactNode;
|
|
15
|
+
topBarColor?: 'neutral' | 'surface';
|
|
16
|
+
title: string;
|
|
17
|
+
subtitle?: string;
|
|
18
|
+
zIndex?: number;
|
|
19
|
+
getParentSelector?: () => HTMLElement;
|
|
20
|
+
shouldDelayOnClose?: boolean;
|
|
21
|
+
afterOpenStyles?: string | CSSObject;
|
|
22
|
+
customViewLocatorCode?: string;
|
|
23
|
+
hideControls?: boolean;
|
|
24
|
+
formControls?: ReactNode;
|
|
25
|
+
isPrimaryButtonDisabled?: boolean;
|
|
26
|
+
isSecondaryButtonDisabled?: boolean;
|
|
27
|
+
dataAttributesPrimaryButton?: {
|
|
28
|
+
[key: string]: string;
|
|
29
|
+
};
|
|
30
|
+
dataAttributesSecondaryButton?: {
|
|
31
|
+
[key: string]: string;
|
|
32
|
+
};
|
|
33
|
+
labelPrimaryButton?: Label;
|
|
34
|
+
labelSecondaryButton?: Label;
|
|
35
|
+
onPrimaryButtonClick: (event: SyntheticEvent) => void;
|
|
36
|
+
onSecondaryButtonClick: (event: SyntheticEvent) => void;
|
|
37
|
+
iconLeftSecondaryButton?: ReactElement;
|
|
38
|
+
};
|
|
39
|
+
declare function Drawer(props: TDrawerProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
40
|
+
declare namespace Drawer {
|
|
41
|
+
var displayName: string;
|
|
42
|
+
var defaultProps: Pick<TDrawerProps, "size" | "onSecondaryButtonClick" | "onPrimaryButtonClick" | "hideControls">;
|
|
43
|
+
var FormPrimaryButton: {
|
|
44
|
+
(props: {
|
|
45
|
+
label: string | {
|
|
46
|
+
id: string;
|
|
47
|
+
description?: string | object | undefined;
|
|
48
|
+
defaultMessage?: string | undefined;
|
|
49
|
+
};
|
|
50
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
51
|
+
isDisabled: boolean;
|
|
52
|
+
dataAttributes: {
|
|
53
|
+
[key: string]: string;
|
|
54
|
+
};
|
|
55
|
+
children?: undefined;
|
|
56
|
+
}): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
57
|
+
displayName: string;
|
|
58
|
+
defaultProps: Pick<{
|
|
59
|
+
label: string | {
|
|
60
|
+
id: string;
|
|
61
|
+
description?: string | object | undefined;
|
|
62
|
+
defaultMessage?: string | undefined;
|
|
63
|
+
};
|
|
64
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
65
|
+
isDisabled: boolean;
|
|
66
|
+
dataAttributes: {
|
|
67
|
+
[key: string]: string;
|
|
68
|
+
};
|
|
69
|
+
children?: undefined;
|
|
70
|
+
}, "label" | "isDisabled" | "dataAttributes">;
|
|
71
|
+
};
|
|
72
|
+
var FormSecondaryButton: {
|
|
73
|
+
(props: {
|
|
74
|
+
iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
75
|
+
} & {
|
|
76
|
+
label: string | {
|
|
77
|
+
id: string;
|
|
78
|
+
description?: string | object | undefined;
|
|
79
|
+
defaultMessage?: string | undefined;
|
|
80
|
+
};
|
|
81
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
82
|
+
isDisabled: boolean;
|
|
83
|
+
dataAttributes: {
|
|
84
|
+
[key: string]: string;
|
|
85
|
+
};
|
|
86
|
+
children?: undefined;
|
|
87
|
+
}): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
88
|
+
displayName: string;
|
|
89
|
+
defaultProps: Pick<{
|
|
90
|
+
iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
91
|
+
} & {
|
|
92
|
+
label: string | {
|
|
93
|
+
id: string;
|
|
94
|
+
description?: string | object | undefined;
|
|
95
|
+
defaultMessage?: string | undefined;
|
|
96
|
+
};
|
|
97
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
98
|
+
isDisabled: boolean;
|
|
99
|
+
dataAttributes: {
|
|
100
|
+
[key: string]: string;
|
|
101
|
+
};
|
|
102
|
+
children?: undefined;
|
|
103
|
+
}, "label" | "isDisabled" | "dataAttributes">;
|
|
104
|
+
};
|
|
105
|
+
var Intl: {
|
|
106
|
+
cancel: {
|
|
107
|
+
id: string;
|
|
108
|
+
defaultMessage: string;
|
|
109
|
+
};
|
|
110
|
+
revert: {
|
|
111
|
+
id: string;
|
|
112
|
+
defaultMessage: string;
|
|
113
|
+
};
|
|
114
|
+
confirm: {
|
|
115
|
+
id: string;
|
|
116
|
+
defaultMessage: string;
|
|
117
|
+
};
|
|
118
|
+
save: {
|
|
119
|
+
id: string;
|
|
120
|
+
defaultMessage: string;
|
|
121
|
+
};
|
|
122
|
+
update: {
|
|
123
|
+
id: string;
|
|
124
|
+
defaultMessage: string;
|
|
125
|
+
};
|
|
126
|
+
create: {
|
|
127
|
+
id: string;
|
|
128
|
+
defaultMessage: string;
|
|
129
|
+
};
|
|
130
|
+
delete: {
|
|
131
|
+
id: string;
|
|
132
|
+
defaultMessage: string;
|
|
133
|
+
};
|
|
134
|
+
add: {
|
|
135
|
+
id: string;
|
|
136
|
+
defaultMessage: string;
|
|
137
|
+
};
|
|
138
|
+
remove: {
|
|
139
|
+
id: string;
|
|
140
|
+
defaultMessage: string;
|
|
141
|
+
};
|
|
142
|
+
close: {
|
|
143
|
+
id: string;
|
|
144
|
+
defaultMessage: string;
|
|
145
|
+
};
|
|
146
|
+
edit: {
|
|
147
|
+
id: string;
|
|
148
|
+
defaultMessage: string;
|
|
149
|
+
};
|
|
150
|
+
open: {
|
|
151
|
+
id: string;
|
|
152
|
+
defaultMessage: string;
|
|
153
|
+
};
|
|
154
|
+
activate: {
|
|
155
|
+
id: string;
|
|
156
|
+
defaultMessage: string;
|
|
157
|
+
};
|
|
158
|
+
deactivate: {
|
|
159
|
+
id: string;
|
|
160
|
+
defaultMessage: string;
|
|
161
|
+
};
|
|
162
|
+
active: {
|
|
163
|
+
id: string;
|
|
164
|
+
defaultMessage: string;
|
|
165
|
+
};
|
|
166
|
+
inactive: {
|
|
167
|
+
id: string;
|
|
168
|
+
defaultMessage: string;
|
|
169
|
+
};
|
|
170
|
+
enable: {
|
|
171
|
+
id: string;
|
|
172
|
+
defaultMessage: string;
|
|
173
|
+
};
|
|
174
|
+
disable: {
|
|
175
|
+
id: string;
|
|
176
|
+
defaultMessage: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
export default Drawer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './drawer';
|
package/dist/declarations/src/components/main-pages/custom-form-main-page/custom-form-main-page.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ declare const CustomFormMainPage: {
|
|
|
16
16
|
PageHeaderTitle: {
|
|
17
17
|
(props: {
|
|
18
18
|
title: string;
|
|
19
|
-
titleSize: "big" | "small";
|
|
19
|
+
titleSize: "big" | "small" | "medium";
|
|
20
20
|
truncate: boolean;
|
|
21
21
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
22
22
|
children?: undefined;
|
|
@@ -24,7 +24,7 @@ declare const CustomFormMainPage: {
|
|
|
24
24
|
displayName: string;
|
|
25
25
|
defaultProps: Pick<{
|
|
26
26
|
title: string;
|
|
27
|
-
titleSize: "big" | "small";
|
|
27
|
+
titleSize: "big" | "small" | "medium";
|
|
28
28
|
truncate: boolean;
|
|
29
29
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
30
30
|
children?: undefined;
|
|
@@ -33,7 +33,7 @@ declare const FormMainPage: {
|
|
|
33
33
|
PageHeaderTitle: {
|
|
34
34
|
(props: {
|
|
35
35
|
title: string;
|
|
36
|
-
titleSize: "big" | "small";
|
|
36
|
+
titleSize: "big" | "small" | "medium";
|
|
37
37
|
truncate: boolean;
|
|
38
38
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
39
39
|
children?: undefined;
|
|
@@ -41,7 +41,7 @@ declare const FormMainPage: {
|
|
|
41
41
|
displayName: string;
|
|
42
42
|
defaultProps: Pick<{
|
|
43
43
|
title: string;
|
|
44
|
-
titleSize: "big" | "small";
|
|
44
|
+
titleSize: "big" | "small" | "medium";
|
|
45
45
|
truncate: boolean;
|
|
46
46
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
47
47
|
children?: undefined;
|
|
@@ -12,7 +12,7 @@ declare const InfoMainPage: {
|
|
|
12
12
|
PageHeaderTitle: {
|
|
13
13
|
(props: {
|
|
14
14
|
title: string;
|
|
15
|
-
titleSize: "big" | "small";
|
|
15
|
+
titleSize: "big" | "small" | "medium";
|
|
16
16
|
truncate: boolean;
|
|
17
17
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
18
18
|
children?: undefined;
|
|
@@ -20,7 +20,7 @@ declare const InfoMainPage: {
|
|
|
20
20
|
displayName: string;
|
|
21
21
|
defaultProps: Pick<{
|
|
22
22
|
title: string;
|
|
23
|
-
titleSize: "big" | "small";
|
|
23
|
+
titleSize: "big" | "small" | "medium";
|
|
24
24
|
truncate: boolean;
|
|
25
25
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
26
26
|
children?: undefined;
|
package/dist/declarations/src/components/main-pages/tabular-main-page/tabular-main-page.d.ts
CHANGED
|
@@ -108,7 +108,7 @@ declare const TabularMainPage: {
|
|
|
108
108
|
PageHeaderTitle: {
|
|
109
109
|
(props: {
|
|
110
110
|
title: string;
|
|
111
|
-
titleSize: "big" | "small";
|
|
111
|
+
titleSize: "big" | "small" | "medium";
|
|
112
112
|
truncate: boolean;
|
|
113
113
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
114
114
|
children?: undefined;
|
|
@@ -116,7 +116,7 @@ declare const TabularMainPage: {
|
|
|
116
116
|
displayName: string;
|
|
117
117
|
defaultProps: Pick<{
|
|
118
118
|
title: string;
|
|
119
|
-
titleSize: "big" | "small";
|
|
119
|
+
titleSize: "big" | "small" | "medium";
|
|
120
120
|
truncate: boolean;
|
|
121
121
|
subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
122
122
|
children?: undefined;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import { type SyntheticEvent } from 'react';
|
|
1
|
+
import { type SyntheticEvent, type ReactElement } from 'react';
|
|
2
|
+
import { type TSecondaryButtonIconProps } from '@commercetools-uikit/secondary-icon-button';
|
|
3
|
+
type TLargeIconWrapperProps = {
|
|
4
|
+
children: ReactElement;
|
|
5
|
+
size?: TSecondaryButtonIconProps['size'];
|
|
6
|
+
};
|
|
7
|
+
export declare const LargeIconWrapper: (props: TLargeIconWrapperProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
2
8
|
type MessageDescriptor = {
|
|
3
9
|
id: string;
|
|
4
10
|
description?: string | object;
|
|
@@ -7,6 +7,7 @@ type MessageDescriptor = {
|
|
|
7
7
|
defaultMessage?: string;
|
|
8
8
|
};
|
|
9
9
|
type Label = string | MessageDescriptor;
|
|
10
|
+
export type TModalPageSize = 10 | 20 | 30 | 'scale';
|
|
10
11
|
type Props = {
|
|
11
12
|
level?: number;
|
|
12
13
|
title: string;
|
|
@@ -23,7 +24,8 @@ type Props = {
|
|
|
23
24
|
currentPathLabel?: string;
|
|
24
25
|
previousPathLabel?: Label;
|
|
25
26
|
hidePathLabel?: boolean;
|
|
26
|
-
size
|
|
27
|
+
size: TModalPageSize;
|
|
28
|
+
hideTopBar?: boolean;
|
|
27
29
|
};
|
|
28
30
|
declare const ModalPage: {
|
|
29
31
|
(props: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
|
|
@@ -1,13 +1,31 @@
|
|
|
1
1
|
import { type SerializedStyles } from '@emotion/react';
|
|
2
|
-
|
|
2
|
+
import type { TModalPageSize } from './modal-page';
|
|
3
3
|
type StyleProps = {
|
|
4
4
|
zIndex?: number;
|
|
5
|
-
size
|
|
5
|
+
size: TModalPageSize;
|
|
6
6
|
};
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const stylesBySize: {
|
|
8
|
+
'10': {
|
|
9
|
+
width: string;
|
|
10
|
+
transitionTime: number;
|
|
11
|
+
};
|
|
12
|
+
'20': {
|
|
13
|
+
width: string;
|
|
14
|
+
transitionTime: number;
|
|
15
|
+
};
|
|
16
|
+
'30': {
|
|
17
|
+
width: string;
|
|
18
|
+
transitionTime: number;
|
|
19
|
+
};
|
|
20
|
+
scale: {
|
|
21
|
+
width: string;
|
|
22
|
+
transitionTime: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const getContainerStyles: (props: StyleProps) => SerializedStyles;
|
|
8
26
|
export declare const getOverlayStyles: (props: StyleProps) => SerializedStyles;
|
|
9
27
|
export declare const getAfterOpenContainerAnimation: () => SerializedStyles;
|
|
10
28
|
export declare const getAfterOpenOverlayAnimation: () => SerializedStyles;
|
|
11
|
-
export declare const getBeforeCloseContainerAnimation: () => SerializedStyles;
|
|
29
|
+
export declare const getBeforeCloseContainerAnimation: (props: StyleProps) => SerializedStyles;
|
|
12
30
|
export declare const getBeforeCloseOverlayAnimation: () => SerializedStyles;
|
|
13
31
|
export {};
|
|
@@ -25,7 +25,7 @@ export { default as PageContentWide } from './components/page-content-containers
|
|
|
25
25
|
export type { TPageContentWide } from './components/page-content-containers/page-content-wide';
|
|
26
26
|
export { default as PageContentFull } from './components/page-content-containers/page-content-full';
|
|
27
27
|
export type { TPageContentFull } from './components/page-content-containers/page-content-full';
|
|
28
|
-
export { default as
|
|
28
|
+
export { default as Drawer } from './components/drawer';
|
|
29
29
|
export { default as CustomViewLoader } from './components/custom-views/custom-view-loader';
|
|
30
30
|
export { default as CustomViewsSelector } from './components/custom-views/custom-views-selector';
|
|
31
31
|
export { default as PortalsContainer } from './components/portals-container';
|
|
@@ -596,6 +596,7 @@ export type TMutation = {
|
|
|
596
596
|
activateCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
|
|
597
597
|
activateDashboardView?: Maybe<TDashboardView>;
|
|
598
598
|
activateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
|
|
599
|
+
activateOrderDetailView?: Maybe<TOrderDetailView>;
|
|
599
600
|
activateOrdersListView?: Maybe<TOrdersListView>;
|
|
600
601
|
activateOrganizationExtensionOidcSsoConfig?: Maybe<TOrganizationExtension>;
|
|
601
602
|
activatePimSearchListView?: Maybe<TPimSearchListView>;
|
|
@@ -613,6 +614,7 @@ export type TMutation = {
|
|
|
613
614
|
createCustomersSearchListMyView: TCustomersSearchListMyView;
|
|
614
615
|
createDashboardView: TDashboardView;
|
|
615
616
|
createDiscountCodesCustomView: TDiscountsCustomView;
|
|
617
|
+
createOrderDetailView: TOrderDetailView;
|
|
616
618
|
createOrdersListView: TOrdersListView;
|
|
617
619
|
createPimSearchListView: TPimSearchListView;
|
|
618
620
|
createProductDiscountsCustomView: TDiscountsCustomView;
|
|
@@ -625,6 +627,7 @@ export type TMutation = {
|
|
|
625
627
|
deactivateCustomersSearchListMyView?: Maybe<TOrdersListView>;
|
|
626
628
|
deactivateDashboardView?: Maybe<TDashboardView>;
|
|
627
629
|
deactivateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
|
|
630
|
+
deactivateOrderDetailView?: Maybe<TOrderDetailView>;
|
|
628
631
|
deactivateOrdersListView?: Maybe<TOrdersListView>;
|
|
629
632
|
deactivateOrganizationExtensionOidcSsoConfig?: Maybe<TOrganizationExtension>;
|
|
630
633
|
deactivatePimSearchListView?: Maybe<TPimSearchListView>;
|
|
@@ -632,6 +635,7 @@ export type TMutation = {
|
|
|
632
635
|
deactivateProductTypeAttributesView?: Maybe<TProductTypeAttributesView>;
|
|
633
636
|
deactivateProjectSettingsStoresView?: Maybe<TProjectSettingsStoresView>;
|
|
634
637
|
deleteAllDashboardViews: Array<TDashboardView>;
|
|
638
|
+
deleteAllOrderDetailViews: Array<TOrderDetailView>;
|
|
635
639
|
deleteAllOrdersListViews: Array<TOrdersListView>;
|
|
636
640
|
deleteBusinessUnitsListMyView?: Maybe<TBusinessUnitsListMyView>;
|
|
637
641
|
deleteCartDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
@@ -642,6 +646,7 @@ export type TMutation = {
|
|
|
642
646
|
deleteCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
|
|
643
647
|
deleteDashboardView?: Maybe<TDashboardView>;
|
|
644
648
|
deleteDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
|
|
649
|
+
deleteOrderDetailView?: Maybe<TOrderDetailView>;
|
|
645
650
|
deleteOrdersListView?: Maybe<TOrdersListView>;
|
|
646
651
|
deletePimSearchListView?: Maybe<TPimSearchListView>;
|
|
647
652
|
deleteProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
@@ -671,6 +676,7 @@ export type TMutation = {
|
|
|
671
676
|
updateCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
|
|
672
677
|
updateDashboardView?: Maybe<TDashboardView>;
|
|
673
678
|
updateDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
|
|
679
|
+
updateOrderDetailView?: Maybe<TOrderDetailView>;
|
|
674
680
|
updateOrdersListView?: Maybe<TOrdersListView>;
|
|
675
681
|
updatePimSearchListView?: Maybe<TPimSearchListView>;
|
|
676
682
|
updateProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
@@ -698,6 +704,9 @@ export type TMutation_ActivateDashboardViewArgs = {
|
|
|
698
704
|
export type TMutation_ActivateDiscountCodesCustomViewArgs = {
|
|
699
705
|
id: Scalars['ID'];
|
|
700
706
|
};
|
|
707
|
+
export type TMutation_ActivateOrderDetailViewArgs = {
|
|
708
|
+
id: Scalars['ID'];
|
|
709
|
+
};
|
|
701
710
|
export type TMutation_ActivateOrdersListViewArgs = {
|
|
702
711
|
id: Scalars['ID'];
|
|
703
712
|
};
|
|
@@ -759,6 +768,9 @@ export type TMutation_CreateDashboardViewArgs = {
|
|
|
759
768
|
export type TMutation_CreateDiscountCodesCustomViewArgs = {
|
|
760
769
|
data: TDiscountsCustomViewInput;
|
|
761
770
|
};
|
|
771
|
+
export type TMutation_CreateOrderDetailViewArgs = {
|
|
772
|
+
data: TOrderDetailViewInput;
|
|
773
|
+
};
|
|
762
774
|
export type TMutation_CreateOrdersListViewArgs = {
|
|
763
775
|
data: TOrdersListViewInput;
|
|
764
776
|
};
|
|
@@ -795,6 +807,9 @@ export type TMutation_DeactivateDashboardViewArgs = {
|
|
|
795
807
|
export type TMutation_DeactivateDiscountCodesCustomViewArgs = {
|
|
796
808
|
id: Scalars['ID'];
|
|
797
809
|
};
|
|
810
|
+
export type TMutation_DeactivateOrderDetailViewArgs = {
|
|
811
|
+
id: Scalars['ID'];
|
|
812
|
+
};
|
|
798
813
|
export type TMutation_DeactivateOrdersListViewArgs = {
|
|
799
814
|
id: Scalars['ID'];
|
|
800
815
|
};
|
|
@@ -843,6 +858,9 @@ export type TMutation_DeleteDashboardViewArgs = {
|
|
|
843
858
|
export type TMutation_DeleteDiscountCodesCustomViewArgs = {
|
|
844
859
|
id: Scalars['ID'];
|
|
845
860
|
};
|
|
861
|
+
export type TMutation_DeleteOrderDetailViewArgs = {
|
|
862
|
+
id: Scalars['ID'];
|
|
863
|
+
};
|
|
846
864
|
export type TMutation_DeleteOrdersListViewArgs = {
|
|
847
865
|
id: Scalars['ID'];
|
|
848
866
|
};
|
|
@@ -954,6 +972,10 @@ export type TMutation_UpdateDiscountCodesCustomViewArgs = {
|
|
|
954
972
|
data: TDiscountsCustomViewInput;
|
|
955
973
|
id: Scalars['ID'];
|
|
956
974
|
};
|
|
975
|
+
export type TMutation_UpdateOrderDetailViewArgs = {
|
|
976
|
+
data: TOrderDetailViewInput;
|
|
977
|
+
id: Scalars['ID'];
|
|
978
|
+
};
|
|
957
979
|
export type TMutation_UpdateOrdersListViewArgs = {
|
|
958
980
|
data: TOrdersListViewInput;
|
|
959
981
|
id: Scalars['ID'];
|
|
@@ -1082,6 +1104,24 @@ export type TOidcSsoConfigDataInput = {
|
|
|
1082
1104
|
sessionTokenExpTimeSeconds?: InputMaybe<Scalars['Int']>;
|
|
1083
1105
|
teamIdForNewUsers: Scalars['String'];
|
|
1084
1106
|
};
|
|
1107
|
+
export type TOrderDetailView = {
|
|
1108
|
+
__typename?: 'OrderDetailView';
|
|
1109
|
+
createdAt: Scalars['DateTime'];
|
|
1110
|
+
id: Scalars['ID'];
|
|
1111
|
+
isActive?: Maybe<Scalars['Boolean']>;
|
|
1112
|
+
nameAllLocales?: Maybe<Array<TLocalizedField>>;
|
|
1113
|
+
projectKey: Scalars['String'];
|
|
1114
|
+
table?: Maybe<TTable>;
|
|
1115
|
+
updatedAt: Scalars['DateTime'];
|
|
1116
|
+
userId: Scalars['String'];
|
|
1117
|
+
};
|
|
1118
|
+
export type TOrderDetailViewInput = {
|
|
1119
|
+
nameAllLocales: Array<TLocalizedFieldCreateInput>;
|
|
1120
|
+
table?: InputMaybe<TOrderDetailViewTableInput>;
|
|
1121
|
+
};
|
|
1122
|
+
export type TOrderDetailViewTableInput = {
|
|
1123
|
+
visibleColumns: Array<Scalars['String']>;
|
|
1124
|
+
};
|
|
1085
1125
|
export declare enum TOrderStatesVisibility {
|
|
1086
1126
|
HideOrderState = "HideOrderState",
|
|
1087
1127
|
HidePaymentState = "HidePaymentState",
|
|
@@ -1149,6 +1189,13 @@ export type TOrganizationExtensionForCustomApplication = {
|
|
|
1149
1189
|
organizationId: Scalars['String'];
|
|
1150
1190
|
organizationName?: Maybe<Scalars['String']>;
|
|
1151
1191
|
};
|
|
1192
|
+
export type TOrganizationExtensionForCustomView = {
|
|
1193
|
+
__typename?: 'OrganizationExtensionForCustomView';
|
|
1194
|
+
customView?: Maybe<TRestrictedCustomViewForOrganization>;
|
|
1195
|
+
id: Scalars['ID'];
|
|
1196
|
+
organizationId: Scalars['String'];
|
|
1197
|
+
organizationName?: Maybe<Scalars['String']>;
|
|
1198
|
+
};
|
|
1152
1199
|
export type TPimSearchListView = {
|
|
1153
1200
|
__typename?: 'PimSearchListView';
|
|
1154
1201
|
createdAt: Scalars['DateTime'];
|
|
@@ -1270,6 +1317,7 @@ export type TQuery = {
|
|
|
1270
1317
|
activeCustomersSearchListMyView?: Maybe<TCustomersSearchListMyView>;
|
|
1271
1318
|
activeDashboardView?: Maybe<TDashboardView>;
|
|
1272
1319
|
activeDiscountCodesCustomView?: Maybe<TDiscountsCustomView>;
|
|
1320
|
+
activeOrderDetailView?: Maybe<TOrderDetailView>;
|
|
1273
1321
|
activeOrdersListView?: Maybe<TOrdersListView>;
|
|
1274
1322
|
activePimSearchListView?: Maybe<TPimSearchListView>;
|
|
1275
1323
|
activeProductDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
@@ -1300,10 +1348,13 @@ export type TQuery = {
|
|
|
1300
1348
|
discountCodesCustomViews: Array<Maybe<TDiscountsCustomView>>;
|
|
1301
1349
|
globalOrganizationExtension?: Maybe<TOrganizationExtension>;
|
|
1302
1350
|
myCustomApplications: Array<TMyCustomApplication>;
|
|
1351
|
+
orderDetailView?: Maybe<TOrderDetailView>;
|
|
1352
|
+
orderDetailViews: Array<Maybe<TOrderDetailView>>;
|
|
1303
1353
|
ordersListView?: Maybe<TOrdersListView>;
|
|
1304
1354
|
ordersListViews: Array<Maybe<TOrdersListView>>;
|
|
1305
1355
|
organizationExtension?: Maybe<TOrganizationExtension>;
|
|
1306
1356
|
organizationExtensionForCustomApplication?: Maybe<TOrganizationExtensionForCustomApplication>;
|
|
1357
|
+
organizationExtensionForCustomView?: Maybe<TOrganizationExtensionForCustomView>;
|
|
1307
1358
|
pimSearchListView?: Maybe<TPimSearchListView>;
|
|
1308
1359
|
pimSearchListViews: Array<Maybe<TPimSearchListView>>;
|
|
1309
1360
|
productDiscountsCustomView?: Maybe<TDiscountsCustomView>;
|
|
@@ -1373,6 +1424,9 @@ export type TQuery_GlobalOrganizationExtensionArgs = {
|
|
|
1373
1424
|
export type TQuery_MyCustomApplicationsArgs = {
|
|
1374
1425
|
params?: InputMaybe<TMyCustomApplicationQueryInput>;
|
|
1375
1426
|
};
|
|
1427
|
+
export type TQuery_OrderDetailViewArgs = {
|
|
1428
|
+
id: Scalars['ID'];
|
|
1429
|
+
};
|
|
1376
1430
|
export type TQuery_OrdersListViewArgs = {
|
|
1377
1431
|
id: Scalars['ID'];
|
|
1378
1432
|
};
|
|
@@ -1382,6 +1436,9 @@ export type TQuery_OrganizationExtensionArgs = {
|
|
|
1382
1436
|
export type TQuery_OrganizationExtensionForCustomApplicationArgs = {
|
|
1383
1437
|
entryPointUriPath: Scalars['String'];
|
|
1384
1438
|
};
|
|
1439
|
+
export type TQuery_OrganizationExtensionForCustomViewArgs = {
|
|
1440
|
+
customViewId: Scalars['String'];
|
|
1441
|
+
};
|
|
1385
1442
|
export type TQuery_PimSearchListViewArgs = {
|
|
1386
1443
|
id: Scalars['ID'];
|
|
1387
1444
|
};
|
|
@@ -1587,7 +1644,8 @@ export type TSampleDataImportMetadata = {
|
|
|
1587
1644
|
dataset?: Maybe<TSampleDatasets>;
|
|
1588
1645
|
};
|
|
1589
1646
|
export declare enum TSampleDatasets {
|
|
1590
|
-
Fashion = "FASHION"
|
|
1647
|
+
Fashion = "FASHION",
|
|
1648
|
+
Goodstore = "GOODSTORE"
|
|
1591
1649
|
}
|
|
1592
1650
|
export type TSort = {
|
|
1593
1651
|
__typename?: 'Sort';
|
|
@@ -1773,6 +1831,17 @@ export type TCreateCustomApplicationFromCliMutation = {
|
|
|
1773
1831
|
id: string;
|
|
1774
1832
|
} | null;
|
|
1775
1833
|
};
|
|
1834
|
+
export type TCreateCustomViewFromCliMutationVariables = Exact<{
|
|
1835
|
+
organizationId: Scalars['String'];
|
|
1836
|
+
data: TCustomViewDraftDataInput;
|
|
1837
|
+
}>;
|
|
1838
|
+
export type TCreateCustomViewFromCliMutation = {
|
|
1839
|
+
__typename?: 'Mutation';
|
|
1840
|
+
createCustomView?: {
|
|
1841
|
+
__typename?: 'RestrictedCustomViewForOrganization';
|
|
1842
|
+
id: string;
|
|
1843
|
+
} | null;
|
|
1844
|
+
};
|
|
1776
1845
|
export type TFetchCustomApplicationFromCliQueryVariables = Exact<{
|
|
1777
1846
|
entryPointUriPath: Scalars['String'];
|
|
1778
1847
|
}>;
|
|
@@ -1818,6 +1887,38 @@ export type TFetchCustomApplicationFromCliQuery = {
|
|
|
1818
1887
|
};
|
|
1819
1888
|
} | null;
|
|
1820
1889
|
};
|
|
1890
|
+
export type TFetchCustomViewFromCliQueryVariables = Exact<{
|
|
1891
|
+
customViewId: Scalars['String'];
|
|
1892
|
+
}>;
|
|
1893
|
+
export type TFetchCustomViewFromCliQuery = {
|
|
1894
|
+
__typename?: 'Query';
|
|
1895
|
+
organizationExtensionForCustomView?: {
|
|
1896
|
+
__typename?: 'OrganizationExtensionForCustomView';
|
|
1897
|
+
organizationId: string;
|
|
1898
|
+
customView?: {
|
|
1899
|
+
__typename?: 'RestrictedCustomViewForOrganization';
|
|
1900
|
+
id: string;
|
|
1901
|
+
defaultLabel: string;
|
|
1902
|
+
url: string;
|
|
1903
|
+
type: TCustomViewType;
|
|
1904
|
+
locators: Array<string>;
|
|
1905
|
+
labelAllLocales: Array<{
|
|
1906
|
+
__typename?: 'LocalizedField';
|
|
1907
|
+
locale: string;
|
|
1908
|
+
value: string;
|
|
1909
|
+
}>;
|
|
1910
|
+
typeSettings?: {
|
|
1911
|
+
__typename?: 'CustomViewTypeSettings';
|
|
1912
|
+
size?: TCustomViewSize | null;
|
|
1913
|
+
} | null;
|
|
1914
|
+
permissions: Array<{
|
|
1915
|
+
__typename?: 'CustomViewPermission';
|
|
1916
|
+
name: string;
|
|
1917
|
+
oAuthScopes: Array<string>;
|
|
1918
|
+
}>;
|
|
1919
|
+
} | null;
|
|
1920
|
+
} | null;
|
|
1921
|
+
};
|
|
1821
1922
|
export type TUpdateCustomApplicationFromCliMutationVariables = Exact<{
|
|
1822
1923
|
organizationId: Scalars['String'];
|
|
1823
1924
|
data: TCustomApplicationDraftDataInput;
|
|
@@ -1830,3 +1931,15 @@ export type TUpdateCustomApplicationFromCliMutation = {
|
|
|
1830
1931
|
id: string;
|
|
1831
1932
|
} | null;
|
|
1832
1933
|
};
|
|
1934
|
+
export type TUpdateCustomViewFromCliMutationVariables = Exact<{
|
|
1935
|
+
organizationId: Scalars['String'];
|
|
1936
|
+
data: TCustomViewDraftDataInput;
|
|
1937
|
+
customViewId: Scalars['String'];
|
|
1938
|
+
}>;
|
|
1939
|
+
export type TUpdateCustomViewFromCliMutation = {
|
|
1940
|
+
__typename?: 'Mutation';
|
|
1941
|
+
updateCustomView?: {
|
|
1942
|
+
__typename?: 'RestrictedCustomViewForOrganization';
|
|
1943
|
+
id: string;
|
|
1944
|
+
} | null;
|
|
1945
|
+
};
|