@commercetools-frontend/application-components 20.9.3 → 20.10.4
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 +1 -1
- package/dist/commercetools-frontend-application-components.cjs.prod.js +1 -1
- package/dist/commercetools-frontend-application-components.esm.js +1 -1
- package/dist/declarations/src/components/dialogs/confirmation-dialog/confirmation-dialog.d.ts +107 -107
- package/dist/declarations/src/components/dialogs/confirmation-dialog/index.d.ts +1 -1
- package/dist/declarations/src/components/dialogs/form-dialog/form-dialog.d.ts +107 -107
- package/dist/declarations/src/components/dialogs/form-dialog/index.d.ts +1 -1
- package/dist/declarations/src/components/dialogs/info-dialog/index.d.ts +1 -1
- package/dist/declarations/src/components/dialogs/info-dialog/info-dialog.d.ts +15 -15
- package/dist/declarations/src/components/dialogs/internals/dialog-container.d.ts +17 -17
- package/dist/declarations/src/components/dialogs/internals/dialog-content.d.ts +6 -6
- package/dist/declarations/src/components/dialogs/internals/dialog-footer.d.ts +27 -27
- package/dist/declarations/src/components/dialogs/internals/dialog-header.d.ts +11 -11
- package/dist/declarations/src/components/dialogs/internals/dialog.styles.d.ts +6 -6
- package/dist/declarations/src/components/maintenance-page-layout/index.d.ts +1 -1
- package/dist/declarations/src/components/maintenance-page-layout/maintenance-page-layout.d.ts +24 -24
- package/dist/declarations/src/components/modal-pages/custom-form-modal-page/custom-form-modal-page.d.ts +189 -189
- package/dist/declarations/src/components/modal-pages/custom-form-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/form-modal-page/form-modal-page.d.ts +114 -114
- package/dist/declarations/src/components/modal-pages/form-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/info-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/info-modal-page/info-modal-page.d.ts +26 -26
- package/dist/declarations/src/components/modal-pages/internals/default-form-buttons.d.ts +32 -32
- package/dist/declarations/src/components/modal-pages/internals/messages.d.ts +11 -11
- package/dist/declarations/src/components/modal-pages/internals/modal-page-header-title.d.ts +13 -13
- package/dist/declarations/src/components/modal-pages/internals/modal-page-header.d.ts +11 -11
- package/dist/declarations/src/components/modal-pages/internals/modal-page-top-bar.d.ts +20 -20
- package/dist/declarations/src/components/modal-pages/internals/modal-page.d.ts +28 -28
- package/dist/declarations/src/components/modal-pages/internals/modal-page.styles.d.ts +18 -18
- package/dist/declarations/src/components/modal-pages/tabular-modal-page/index.d.ts +1 -1
- package/dist/declarations/src/components/modal-pages/tabular-modal-page/tabular-modal-page.d.ts +192 -192
- package/dist/declarations/src/components/page-not-found/index.d.ts +1 -1
- package/dist/declarations/src/components/page-not-found/messages.d.ts +11 -11
- package/dist/declarations/src/components/page-not-found/page-not-found.d.ts +5 -5
- package/dist/declarations/src/components/page-unauthorized/index.d.ts +1 -1
- package/dist/declarations/src/components/page-unauthorized/messages.d.ts +15 -15
- package/dist/declarations/src/components/page-unauthorized/page-unauthorized.d.ts +5 -5
- package/dist/declarations/src/components/portals-container/index.d.ts +1 -1
- package/dist/declarations/src/components/portals-container/portals-container.d.ts +5 -5
- package/dist/declarations/src/components/public-page-layout/index.d.ts +1 -1
- package/dist/declarations/src/components/public-page-layout/public-page-layout.d.ts +9 -9
- package/dist/declarations/src/hooks/use-modal-state/index.d.ts +1 -1
- package/dist/declarations/src/hooks/use-modal-state/use-modal-state.d.ts +6 -6
- package/dist/declarations/src/index.d.ts +14 -14
- package/dist/declarations/src/utils/filter-data-attributes.d.ts +1 -1
- package/dist/declarations/src/version.d.ts +2 -2
- package/package.json +12 -12
package/dist/declarations/src/components/maintenance-page-layout/maintenance-page-layout.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
export declare type Props = {
|
|
4
|
-
imageSrc: string;
|
|
5
|
-
title: ReactNode;
|
|
6
|
-
label?: string;
|
|
7
|
-
paragraph1: ReactNode;
|
|
8
|
-
paragraph2?: ReactNode;
|
|
9
|
-
bodyContent?: ReactNode;
|
|
10
|
-
children?: never;
|
|
11
|
-
};
|
|
12
|
-
declare const MaintenancePageLayout: {
|
|
13
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
|
-
displayName: string;
|
|
15
|
-
propTypes: {
|
|
16
|
-
imageSrc: PropTypes.Validator<string>;
|
|
17
|
-
label: PropTypes.Requireable<string>;
|
|
18
|
-
title: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
19
|
-
paragraph1: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
20
|
-
paragraph2: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
21
|
-
bodyContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export default MaintenancePageLayout;
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
export declare type Props = {
|
|
4
|
+
imageSrc: string;
|
|
5
|
+
title: ReactNode;
|
|
6
|
+
label?: string;
|
|
7
|
+
paragraph1: ReactNode;
|
|
8
|
+
paragraph2?: ReactNode;
|
|
9
|
+
bodyContent?: ReactNode;
|
|
10
|
+
children?: never;
|
|
11
|
+
};
|
|
12
|
+
declare const MaintenancePageLayout: {
|
|
13
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
propTypes: {
|
|
16
|
+
imageSrc: PropTypes.Validator<string>;
|
|
17
|
+
label: PropTypes.Requireable<string>;
|
|
18
|
+
title: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
19
|
+
paragraph1: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
|
|
20
|
+
paragraph2: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
21
|
+
bodyContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default MaintenancePageLayout;
|
|
@@ -1,189 +1,189 @@
|
|
|
1
|
-
import { SyntheticEvent, ReactNode, ReactElement } from 'react';
|
|
2
|
-
declare type MessageDescriptor = {
|
|
3
|
-
id: string;
|
|
4
|
-
description?: string | object;
|
|
5
|
-
defaultMessage?: string;
|
|
6
|
-
};
|
|
7
|
-
declare type Label = string | MessageDescriptor;
|
|
8
|
-
declare type Props = {
|
|
9
|
-
level?: number;
|
|
10
|
-
title: string;
|
|
11
|
-
isOpen: boolean;
|
|
12
|
-
onClose?: (event: SyntheticEvent) => void;
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
zIndex?: number;
|
|
15
|
-
baseZIndex?: number;
|
|
16
|
-
getParentSelector?: () => HTMLElement;
|
|
17
|
-
shouldDelayOnClose?: boolean;
|
|
18
|
-
topBarCurrentPathLabel?: string;
|
|
19
|
-
topBarPreviousPathLabel?: Label;
|
|
20
|
-
subtitle?: string | ReactElement;
|
|
21
|
-
formControls?: ReactNode;
|
|
22
|
-
hideControls?: boolean;
|
|
23
|
-
};
|
|
24
|
-
declare const CustomFormModalPage: {
|
|
25
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
26
|
-
displayName: string;
|
|
27
|
-
FormPrimaryButton: {
|
|
28
|
-
(props: {
|
|
29
|
-
label: string | {
|
|
30
|
-
id: string;
|
|
31
|
-
description?: string | object | undefined;
|
|
32
|
-
defaultMessage?: string | undefined;
|
|
33
|
-
};
|
|
34
|
-
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
35
|
-
isDisabled: boolean;
|
|
36
|
-
dataAttributes: {
|
|
37
|
-
[key: string]: string;
|
|
38
|
-
};
|
|
39
|
-
children?: undefined;
|
|
40
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
41
|
-
displayName: string;
|
|
42
|
-
defaultProps: Pick<{
|
|
43
|
-
label: string | {
|
|
44
|
-
id: string;
|
|
45
|
-
description?: string | object | undefined;
|
|
46
|
-
defaultMessage?: string | undefined;
|
|
47
|
-
};
|
|
48
|
-
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
49
|
-
isDisabled: boolean;
|
|
50
|
-
dataAttributes: {
|
|
51
|
-
[key: string]: string;
|
|
52
|
-
};
|
|
53
|
-
children?: undefined;
|
|
54
|
-
}, "label" | "isDisabled" | "dataAttributes">;
|
|
55
|
-
};
|
|
56
|
-
FormSecondaryButton: {
|
|
57
|
-
(props: {
|
|
58
|
-
label: string | {
|
|
59
|
-
id: string;
|
|
60
|
-
description?: string | object | undefined;
|
|
61
|
-
defaultMessage?: string | undefined;
|
|
62
|
-
};
|
|
63
|
-
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
64
|
-
isDisabled: boolean;
|
|
65
|
-
dataAttributes: {
|
|
66
|
-
[key: string]: string;
|
|
67
|
-
};
|
|
68
|
-
children?: undefined;
|
|
69
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
70
|
-
displayName: string;
|
|
71
|
-
defaultProps: Pick<{
|
|
72
|
-
label: string | {
|
|
73
|
-
id: string;
|
|
74
|
-
description?: string | object | undefined;
|
|
75
|
-
defaultMessage?: string | undefined;
|
|
76
|
-
};
|
|
77
|
-
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
78
|
-
isDisabled: boolean;
|
|
79
|
-
dataAttributes: {
|
|
80
|
-
[key: string]: string;
|
|
81
|
-
};
|
|
82
|
-
children?: undefined;
|
|
83
|
-
}, "label" | "isDisabled" | "dataAttributes">;
|
|
84
|
-
};
|
|
85
|
-
FormDeleteButton: {
|
|
86
|
-
(props: {
|
|
87
|
-
label: string | {
|
|
88
|
-
id: string;
|
|
89
|
-
description?: string | object | undefined;
|
|
90
|
-
defaultMessage?: string | undefined;
|
|
91
|
-
};
|
|
92
|
-
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
93
|
-
isDisabled: boolean;
|
|
94
|
-
dataAttributes: {
|
|
95
|
-
[key: string]: string;
|
|
96
|
-
};
|
|
97
|
-
children?: undefined;
|
|
98
|
-
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
99
|
-
displayName: string;
|
|
100
|
-
defaultProps: Pick<{
|
|
101
|
-
label: string | {
|
|
102
|
-
id: string;
|
|
103
|
-
description?: string | object | undefined;
|
|
104
|
-
defaultMessage?: string | undefined;
|
|
105
|
-
};
|
|
106
|
-
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
107
|
-
isDisabled: boolean;
|
|
108
|
-
dataAttributes: {
|
|
109
|
-
[key: string]: string;
|
|
110
|
-
};
|
|
111
|
-
children?: undefined;
|
|
112
|
-
}, "label" | "isDisabled" | "dataAttributes">;
|
|
113
|
-
};
|
|
114
|
-
Intl: {
|
|
115
|
-
cancel: {
|
|
116
|
-
id: string;
|
|
117
|
-
defaultMessage: string;
|
|
118
|
-
};
|
|
119
|
-
revert: {
|
|
120
|
-
id: string;
|
|
121
|
-
defaultMessage: string;
|
|
122
|
-
};
|
|
123
|
-
confirm: {
|
|
124
|
-
id: string;
|
|
125
|
-
defaultMessage: string;
|
|
126
|
-
};
|
|
127
|
-
save: {
|
|
128
|
-
id: string;
|
|
129
|
-
defaultMessage: string;
|
|
130
|
-
};
|
|
131
|
-
update: {
|
|
132
|
-
id: string;
|
|
133
|
-
defaultMessage: string;
|
|
134
|
-
};
|
|
135
|
-
create: {
|
|
136
|
-
id: string;
|
|
137
|
-
defaultMessage: string;
|
|
138
|
-
};
|
|
139
|
-
delete: {
|
|
140
|
-
id: string;
|
|
141
|
-
defaultMessage: string;
|
|
142
|
-
};
|
|
143
|
-
add: {
|
|
144
|
-
id: string;
|
|
145
|
-
defaultMessage: string;
|
|
146
|
-
};
|
|
147
|
-
remove: {
|
|
148
|
-
id: string;
|
|
149
|
-
defaultMessage: string;
|
|
150
|
-
};
|
|
151
|
-
close: {
|
|
152
|
-
id: string;
|
|
153
|
-
defaultMessage: string;
|
|
154
|
-
};
|
|
155
|
-
edit: {
|
|
156
|
-
id: string;
|
|
157
|
-
defaultMessage: string;
|
|
158
|
-
};
|
|
159
|
-
open: {
|
|
160
|
-
id: string;
|
|
161
|
-
defaultMessage: string;
|
|
162
|
-
};
|
|
163
|
-
activate: {
|
|
164
|
-
id: string;
|
|
165
|
-
defaultMessage: string;
|
|
166
|
-
};
|
|
167
|
-
deactivate: {
|
|
168
|
-
id: string;
|
|
169
|
-
defaultMessage: string;
|
|
170
|
-
};
|
|
171
|
-
active: {
|
|
172
|
-
id: string;
|
|
173
|
-
defaultMessage: string;
|
|
174
|
-
};
|
|
175
|
-
inactive: {
|
|
176
|
-
id: string;
|
|
177
|
-
defaultMessage: string;
|
|
178
|
-
};
|
|
179
|
-
enable: {
|
|
180
|
-
id: string;
|
|
181
|
-
defaultMessage: string;
|
|
182
|
-
};
|
|
183
|
-
disable: {
|
|
184
|
-
id: string;
|
|
185
|
-
defaultMessage: string;
|
|
186
|
-
};
|
|
187
|
-
};
|
|
188
|
-
};
|
|
189
|
-
export default CustomFormModalPage;
|
|
1
|
+
import { SyntheticEvent, ReactNode, ReactElement } from 'react';
|
|
2
|
+
declare type MessageDescriptor = {
|
|
3
|
+
id: string;
|
|
4
|
+
description?: string | object;
|
|
5
|
+
defaultMessage?: string;
|
|
6
|
+
};
|
|
7
|
+
declare type Label = string | MessageDescriptor;
|
|
8
|
+
declare type Props = {
|
|
9
|
+
level?: number;
|
|
10
|
+
title: string;
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
onClose?: (event: SyntheticEvent) => void;
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
zIndex?: number;
|
|
15
|
+
baseZIndex?: number;
|
|
16
|
+
getParentSelector?: () => HTMLElement;
|
|
17
|
+
shouldDelayOnClose?: boolean;
|
|
18
|
+
topBarCurrentPathLabel?: string;
|
|
19
|
+
topBarPreviousPathLabel?: Label;
|
|
20
|
+
subtitle?: string | ReactElement;
|
|
21
|
+
formControls?: ReactNode;
|
|
22
|
+
hideControls?: boolean;
|
|
23
|
+
};
|
|
24
|
+
declare const CustomFormModalPage: {
|
|
25
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
FormPrimaryButton: {
|
|
28
|
+
(props: {
|
|
29
|
+
label: string | {
|
|
30
|
+
id: string;
|
|
31
|
+
description?: string | object | undefined;
|
|
32
|
+
defaultMessage?: string | undefined;
|
|
33
|
+
};
|
|
34
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
35
|
+
isDisabled: boolean;
|
|
36
|
+
dataAttributes: {
|
|
37
|
+
[key: string]: string;
|
|
38
|
+
};
|
|
39
|
+
children?: undefined;
|
|
40
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
41
|
+
displayName: string;
|
|
42
|
+
defaultProps: Pick<{
|
|
43
|
+
label: string | {
|
|
44
|
+
id: string;
|
|
45
|
+
description?: string | object | undefined;
|
|
46
|
+
defaultMessage?: string | undefined;
|
|
47
|
+
};
|
|
48
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
49
|
+
isDisabled: boolean;
|
|
50
|
+
dataAttributes: {
|
|
51
|
+
[key: string]: string;
|
|
52
|
+
};
|
|
53
|
+
children?: undefined;
|
|
54
|
+
}, "label" | "isDisabled" | "dataAttributes">;
|
|
55
|
+
};
|
|
56
|
+
FormSecondaryButton: {
|
|
57
|
+
(props: {
|
|
58
|
+
label: string | {
|
|
59
|
+
id: string;
|
|
60
|
+
description?: string | object | undefined;
|
|
61
|
+
defaultMessage?: string | undefined;
|
|
62
|
+
};
|
|
63
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
64
|
+
isDisabled: boolean;
|
|
65
|
+
dataAttributes: {
|
|
66
|
+
[key: string]: string;
|
|
67
|
+
};
|
|
68
|
+
children?: undefined;
|
|
69
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
70
|
+
displayName: string;
|
|
71
|
+
defaultProps: Pick<{
|
|
72
|
+
label: string | {
|
|
73
|
+
id: string;
|
|
74
|
+
description?: string | object | undefined;
|
|
75
|
+
defaultMessage?: string | undefined;
|
|
76
|
+
};
|
|
77
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
78
|
+
isDisabled: boolean;
|
|
79
|
+
dataAttributes: {
|
|
80
|
+
[key: string]: string;
|
|
81
|
+
};
|
|
82
|
+
children?: undefined;
|
|
83
|
+
}, "label" | "isDisabled" | "dataAttributes">;
|
|
84
|
+
};
|
|
85
|
+
FormDeleteButton: {
|
|
86
|
+
(props: {
|
|
87
|
+
label: string | {
|
|
88
|
+
id: string;
|
|
89
|
+
description?: string | object | undefined;
|
|
90
|
+
defaultMessage?: string | undefined;
|
|
91
|
+
};
|
|
92
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
93
|
+
isDisabled: boolean;
|
|
94
|
+
dataAttributes: {
|
|
95
|
+
[key: string]: string;
|
|
96
|
+
};
|
|
97
|
+
children?: undefined;
|
|
98
|
+
}): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
99
|
+
displayName: string;
|
|
100
|
+
defaultProps: Pick<{
|
|
101
|
+
label: string | {
|
|
102
|
+
id: string;
|
|
103
|
+
description?: string | object | undefined;
|
|
104
|
+
defaultMessage?: string | undefined;
|
|
105
|
+
};
|
|
106
|
+
onClick: (event: SyntheticEvent<Element, Event>) => void;
|
|
107
|
+
isDisabled: boolean;
|
|
108
|
+
dataAttributes: {
|
|
109
|
+
[key: string]: string;
|
|
110
|
+
};
|
|
111
|
+
children?: undefined;
|
|
112
|
+
}, "label" | "isDisabled" | "dataAttributes">;
|
|
113
|
+
};
|
|
114
|
+
Intl: {
|
|
115
|
+
cancel: {
|
|
116
|
+
id: string;
|
|
117
|
+
defaultMessage: string;
|
|
118
|
+
};
|
|
119
|
+
revert: {
|
|
120
|
+
id: string;
|
|
121
|
+
defaultMessage: string;
|
|
122
|
+
};
|
|
123
|
+
confirm: {
|
|
124
|
+
id: string;
|
|
125
|
+
defaultMessage: string;
|
|
126
|
+
};
|
|
127
|
+
save: {
|
|
128
|
+
id: string;
|
|
129
|
+
defaultMessage: string;
|
|
130
|
+
};
|
|
131
|
+
update: {
|
|
132
|
+
id: string;
|
|
133
|
+
defaultMessage: string;
|
|
134
|
+
};
|
|
135
|
+
create: {
|
|
136
|
+
id: string;
|
|
137
|
+
defaultMessage: string;
|
|
138
|
+
};
|
|
139
|
+
delete: {
|
|
140
|
+
id: string;
|
|
141
|
+
defaultMessage: string;
|
|
142
|
+
};
|
|
143
|
+
add: {
|
|
144
|
+
id: string;
|
|
145
|
+
defaultMessage: string;
|
|
146
|
+
};
|
|
147
|
+
remove: {
|
|
148
|
+
id: string;
|
|
149
|
+
defaultMessage: string;
|
|
150
|
+
};
|
|
151
|
+
close: {
|
|
152
|
+
id: string;
|
|
153
|
+
defaultMessage: string;
|
|
154
|
+
};
|
|
155
|
+
edit: {
|
|
156
|
+
id: string;
|
|
157
|
+
defaultMessage: string;
|
|
158
|
+
};
|
|
159
|
+
open: {
|
|
160
|
+
id: string;
|
|
161
|
+
defaultMessage: string;
|
|
162
|
+
};
|
|
163
|
+
activate: {
|
|
164
|
+
id: string;
|
|
165
|
+
defaultMessage: string;
|
|
166
|
+
};
|
|
167
|
+
deactivate: {
|
|
168
|
+
id: string;
|
|
169
|
+
defaultMessage: string;
|
|
170
|
+
};
|
|
171
|
+
active: {
|
|
172
|
+
id: string;
|
|
173
|
+
defaultMessage: string;
|
|
174
|
+
};
|
|
175
|
+
inactive: {
|
|
176
|
+
id: string;
|
|
177
|
+
defaultMessage: string;
|
|
178
|
+
};
|
|
179
|
+
enable: {
|
|
180
|
+
id: string;
|
|
181
|
+
defaultMessage: string;
|
|
182
|
+
};
|
|
183
|
+
disable: {
|
|
184
|
+
id: string;
|
|
185
|
+
defaultMessage: string;
|
|
186
|
+
};
|
|
187
|
+
};
|
|
188
|
+
};
|
|
189
|
+
export default CustomFormModalPage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './custom-form-modal-page';
|
|
1
|
+
export { default } from './custom-form-modal-page';
|
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
import { SyntheticEvent, ReactNode, ReactElement } from 'react';
|
|
2
|
-
declare type MessageDescriptor = {
|
|
3
|
-
id: string;
|
|
4
|
-
description?: string | object;
|
|
5
|
-
defaultMessage?: string;
|
|
6
|
-
};
|
|
7
|
-
declare type Label = string | MessageDescriptor;
|
|
8
|
-
declare type Props = {
|
|
9
|
-
level?: number;
|
|
10
|
-
title: string;
|
|
11
|
-
isOpen: boolean;
|
|
12
|
-
onClose?: (event: SyntheticEvent) => void;
|
|
13
|
-
children: ReactNode;
|
|
14
|
-
zIndex?: number;
|
|
15
|
-
baseZIndex?: number;
|
|
16
|
-
getParentSelector?: () => HTMLElement;
|
|
17
|
-
shouldDelayOnClose?: boolean;
|
|
18
|
-
topBarCurrentPathLabel?: string;
|
|
19
|
-
topBarPreviousPathLabel?: Label;
|
|
20
|
-
subtitle?: string | ReactElement;
|
|
21
|
-
isPrimaryButtonDisabled?: boolean;
|
|
22
|
-
isSecondaryButtonDisabled?: boolean;
|
|
23
|
-
dataAttributesPrimaryButton?: {
|
|
24
|
-
[key: string]: string;
|
|
25
|
-
};
|
|
26
|
-
dataAttributesSecondaryButton?: {
|
|
27
|
-
[key: string]: string;
|
|
28
|
-
};
|
|
29
|
-
labelPrimaryButton?: Label;
|
|
30
|
-
labelSecondaryButton?: Label;
|
|
31
|
-
onPrimaryButtonClick: (event: SyntheticEvent) => void;
|
|
32
|
-
onSecondaryButtonClick: (event: SyntheticEvent) => void;
|
|
33
|
-
hideControls: boolean;
|
|
34
|
-
};
|
|
35
|
-
declare const FormModalPage: {
|
|
36
|
-
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
37
|
-
displayName: string;
|
|
38
|
-
defaultProps: Pick<Props, "hideControls">;
|
|
39
|
-
Intl: {
|
|
40
|
-
cancel: {
|
|
41
|
-
id: string;
|
|
42
|
-
defaultMessage: string;
|
|
43
|
-
};
|
|
44
|
-
revert: {
|
|
45
|
-
id: string;
|
|
46
|
-
defaultMessage: string;
|
|
47
|
-
};
|
|
48
|
-
confirm: {
|
|
49
|
-
id: string;
|
|
50
|
-
defaultMessage: string;
|
|
51
|
-
};
|
|
52
|
-
save: {
|
|
53
|
-
id: string;
|
|
54
|
-
defaultMessage: string;
|
|
55
|
-
};
|
|
56
|
-
update: {
|
|
57
|
-
id: string;
|
|
58
|
-
defaultMessage: string;
|
|
59
|
-
};
|
|
60
|
-
create: {
|
|
61
|
-
id: string;
|
|
62
|
-
defaultMessage: string;
|
|
63
|
-
};
|
|
64
|
-
delete: {
|
|
65
|
-
id: string;
|
|
66
|
-
defaultMessage: string;
|
|
67
|
-
};
|
|
68
|
-
add: {
|
|
69
|
-
id: string;
|
|
70
|
-
defaultMessage: string;
|
|
71
|
-
};
|
|
72
|
-
remove: {
|
|
73
|
-
id: string;
|
|
74
|
-
defaultMessage: string;
|
|
75
|
-
};
|
|
76
|
-
close: {
|
|
77
|
-
id: string;
|
|
78
|
-
defaultMessage: string;
|
|
79
|
-
};
|
|
80
|
-
edit: {
|
|
81
|
-
id: string;
|
|
82
|
-
defaultMessage: string;
|
|
83
|
-
};
|
|
84
|
-
open: {
|
|
85
|
-
id: string;
|
|
86
|
-
defaultMessage: string;
|
|
87
|
-
};
|
|
88
|
-
activate: {
|
|
89
|
-
id: string;
|
|
90
|
-
defaultMessage: string;
|
|
91
|
-
};
|
|
92
|
-
deactivate: {
|
|
93
|
-
id: string;
|
|
94
|
-
defaultMessage: string;
|
|
95
|
-
};
|
|
96
|
-
active: {
|
|
97
|
-
id: string;
|
|
98
|
-
defaultMessage: string;
|
|
99
|
-
};
|
|
100
|
-
inactive: {
|
|
101
|
-
id: string;
|
|
102
|
-
defaultMessage: string;
|
|
103
|
-
};
|
|
104
|
-
enable: {
|
|
105
|
-
id: string;
|
|
106
|
-
defaultMessage: string;
|
|
107
|
-
};
|
|
108
|
-
disable: {
|
|
109
|
-
id: string;
|
|
110
|
-
defaultMessage: string;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
export default FormModalPage;
|
|
1
|
+
import { SyntheticEvent, ReactNode, ReactElement } from 'react';
|
|
2
|
+
declare type MessageDescriptor = {
|
|
3
|
+
id: string;
|
|
4
|
+
description?: string | object;
|
|
5
|
+
defaultMessage?: string;
|
|
6
|
+
};
|
|
7
|
+
declare type Label = string | MessageDescriptor;
|
|
8
|
+
declare type Props = {
|
|
9
|
+
level?: number;
|
|
10
|
+
title: string;
|
|
11
|
+
isOpen: boolean;
|
|
12
|
+
onClose?: (event: SyntheticEvent) => void;
|
|
13
|
+
children: ReactNode;
|
|
14
|
+
zIndex?: number;
|
|
15
|
+
baseZIndex?: number;
|
|
16
|
+
getParentSelector?: () => HTMLElement;
|
|
17
|
+
shouldDelayOnClose?: boolean;
|
|
18
|
+
topBarCurrentPathLabel?: string;
|
|
19
|
+
topBarPreviousPathLabel?: Label;
|
|
20
|
+
subtitle?: string | ReactElement;
|
|
21
|
+
isPrimaryButtonDisabled?: boolean;
|
|
22
|
+
isSecondaryButtonDisabled?: boolean;
|
|
23
|
+
dataAttributesPrimaryButton?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
dataAttributesSecondaryButton?: {
|
|
27
|
+
[key: string]: string;
|
|
28
|
+
};
|
|
29
|
+
labelPrimaryButton?: Label;
|
|
30
|
+
labelSecondaryButton?: Label;
|
|
31
|
+
onPrimaryButtonClick: (event: SyntheticEvent) => void;
|
|
32
|
+
onSecondaryButtonClick: (event: SyntheticEvent) => void;
|
|
33
|
+
hideControls: boolean;
|
|
34
|
+
};
|
|
35
|
+
declare const FormModalPage: {
|
|
36
|
+
(props: Props): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
37
|
+
displayName: string;
|
|
38
|
+
defaultProps: Pick<Props, "hideControls">;
|
|
39
|
+
Intl: {
|
|
40
|
+
cancel: {
|
|
41
|
+
id: string;
|
|
42
|
+
defaultMessage: string;
|
|
43
|
+
};
|
|
44
|
+
revert: {
|
|
45
|
+
id: string;
|
|
46
|
+
defaultMessage: string;
|
|
47
|
+
};
|
|
48
|
+
confirm: {
|
|
49
|
+
id: string;
|
|
50
|
+
defaultMessage: string;
|
|
51
|
+
};
|
|
52
|
+
save: {
|
|
53
|
+
id: string;
|
|
54
|
+
defaultMessage: string;
|
|
55
|
+
};
|
|
56
|
+
update: {
|
|
57
|
+
id: string;
|
|
58
|
+
defaultMessage: string;
|
|
59
|
+
};
|
|
60
|
+
create: {
|
|
61
|
+
id: string;
|
|
62
|
+
defaultMessage: string;
|
|
63
|
+
};
|
|
64
|
+
delete: {
|
|
65
|
+
id: string;
|
|
66
|
+
defaultMessage: string;
|
|
67
|
+
};
|
|
68
|
+
add: {
|
|
69
|
+
id: string;
|
|
70
|
+
defaultMessage: string;
|
|
71
|
+
};
|
|
72
|
+
remove: {
|
|
73
|
+
id: string;
|
|
74
|
+
defaultMessage: string;
|
|
75
|
+
};
|
|
76
|
+
close: {
|
|
77
|
+
id: string;
|
|
78
|
+
defaultMessage: string;
|
|
79
|
+
};
|
|
80
|
+
edit: {
|
|
81
|
+
id: string;
|
|
82
|
+
defaultMessage: string;
|
|
83
|
+
};
|
|
84
|
+
open: {
|
|
85
|
+
id: string;
|
|
86
|
+
defaultMessage: string;
|
|
87
|
+
};
|
|
88
|
+
activate: {
|
|
89
|
+
id: string;
|
|
90
|
+
defaultMessage: string;
|
|
91
|
+
};
|
|
92
|
+
deactivate: {
|
|
93
|
+
id: string;
|
|
94
|
+
defaultMessage: string;
|
|
95
|
+
};
|
|
96
|
+
active: {
|
|
97
|
+
id: string;
|
|
98
|
+
defaultMessage: string;
|
|
99
|
+
};
|
|
100
|
+
inactive: {
|
|
101
|
+
id: string;
|
|
102
|
+
defaultMessage: string;
|
|
103
|
+
};
|
|
104
|
+
enable: {
|
|
105
|
+
id: string;
|
|
106
|
+
defaultMessage: string;
|
|
107
|
+
};
|
|
108
|
+
disable: {
|
|
109
|
+
id: string;
|
|
110
|
+
defaultMessage: string;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
export default FormModalPage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './form-modal-page';
|
|
1
|
+
export { default } from './form-modal-page';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default } from './info-modal-page';
|
|
1
|
+
export { default } from './info-modal-page';
|