@commercetools-frontend/application-components 0.0.0-FEC-157-preview-releases-20241126230331

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.
Files changed (102) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +7 -0
  3. package/dist/commercetools-frontend-application-components.cjs.d.ts +2 -0
  4. package/dist/commercetools-frontend-application-components.cjs.d.ts.map +1 -0
  5. package/dist/commercetools-frontend-application-components.cjs.dev.js +2878 -0
  6. package/dist/commercetools-frontend-application-components.cjs.js +7 -0
  7. package/dist/commercetools-frontend-application-components.cjs.prod.js +2168 -0
  8. package/dist/commercetools-frontend-application-components.esm.js +2807 -0
  9. package/dist/declarations/src/components/custom-views/custom-view-loader/custom-view-loader.d.ts +8 -0
  10. package/dist/declarations/src/components/custom-views/custom-view-loader/index.d.ts +1 -0
  11. package/dist/declarations/src/components/custom-views/custom-view-loader/messages.d.ts +7 -0
  12. package/dist/declarations/src/components/custom-views/custom-views-selector/custom-views-selector.d.ts +10 -0
  13. package/dist/declarations/src/components/custom-views/custom-views-selector/index.d.ts +1 -0
  14. package/dist/declarations/src/components/custom-views/custom-views-selector/messages.d.ts +7 -0
  15. package/dist/declarations/src/components/custom-views/custom-views-selector/use-custom-views-connector.d.ts +11 -0
  16. package/dist/declarations/src/components/detail-pages/custom-form-detail-page/custom-form-detail-page.d.ts +237 -0
  17. package/dist/declarations/src/components/detail-pages/custom-form-detail-page/index.d.ts +1 -0
  18. package/dist/declarations/src/components/detail-pages/form-detail-page/form-detail-page.d.ts +180 -0
  19. package/dist/declarations/src/components/detail-pages/form-detail-page/index.d.ts +1 -0
  20. package/dist/declarations/src/components/detail-pages/info-detail-page/index.d.ts +1 -0
  21. package/dist/declarations/src/components/detail-pages/info-detail-page/info-detail-page.d.ts +59 -0
  22. package/dist/declarations/src/components/detail-pages/tabular-detail-page/index.d.ts +1 -0
  23. package/dist/declarations/src/components/detail-pages/tabular-detail-page/tabular-detail-page.d.ts +240 -0
  24. package/dist/declarations/src/components/dialogs/confirmation-dialog/confirmation-dialog.d.ts +111 -0
  25. package/dist/declarations/src/components/dialogs/confirmation-dialog/index.d.ts +1 -0
  26. package/dist/declarations/src/components/dialogs/form-dialog/form-dialog.d.ts +113 -0
  27. package/dist/declarations/src/components/dialogs/form-dialog/index.d.ts +1 -0
  28. package/dist/declarations/src/components/dialogs/info-dialog/index.d.ts +1 -0
  29. package/dist/declarations/src/components/dialogs/info-dialog/info-dialog.d.ts +19 -0
  30. package/dist/declarations/src/components/dialogs/internals/dialog-container.d.ts +18 -0
  31. package/dist/declarations/src/components/dialogs/internals/dialog-content.d.ts +6 -0
  32. package/dist/declarations/src/components/dialogs/internals/dialog-footer.d.ts +29 -0
  33. package/dist/declarations/src/components/dialogs/internals/dialog-header.d.ts +15 -0
  34. package/dist/declarations/src/components/dialogs/internals/dialog.styles.d.ts +8 -0
  35. package/dist/declarations/src/components/drawer/drawer.d.ts +181 -0
  36. package/dist/declarations/src/components/drawer/index.d.ts +1 -0
  37. package/dist/declarations/src/components/internals/default-form-buttons.d.ts +38 -0
  38. package/dist/declarations/src/components/internals/messages.d.ts +11 -0
  39. package/dist/declarations/src/components/internals/page-header-title.d.ts +15 -0
  40. package/dist/declarations/src/components/internals/page-header.d.ts +15 -0
  41. package/dist/declarations/src/components/internals/page-top-bar.d.ts +20 -0
  42. package/dist/declarations/src/components/internals/page.styles.d.ts +13 -0
  43. package/dist/declarations/src/components/internals/tabular-page.d.ts +27 -0
  44. package/dist/declarations/src/components/main-pages/custom-form-main-page/custom-form-main-page.d.ts +233 -0
  45. package/dist/declarations/src/components/main-pages/custom-form-main-page/index.d.ts +1 -0
  46. package/dist/declarations/src/components/main-pages/form-main-page/form-main-page.d.ts +174 -0
  47. package/dist/declarations/src/components/main-pages/form-main-page/index.d.ts +1 -0
  48. package/dist/declarations/src/components/main-pages/info-main-page/index.d.ts +1 -0
  49. package/dist/declarations/src/components/main-pages/info-main-page/info-main-page.d.ts +45 -0
  50. package/dist/declarations/src/components/main-pages/internals/main-page.styles.d.ts +13 -0
  51. package/dist/declarations/src/components/main-pages/tabular-main-page/index.d.ts +1 -0
  52. package/dist/declarations/src/components/main-pages/tabular-main-page/tabular-main-page.d.ts +228 -0
  53. package/dist/declarations/src/components/maintenance-page-layout/index.d.ts +1 -0
  54. package/dist/declarations/src/components/maintenance-page-layout/maintenance-page-layout.d.ts +15 -0
  55. package/dist/declarations/src/components/modal-pages/custom-form-modal-page/custom-form-modal-page.d.ts +207 -0
  56. package/dist/declarations/src/components/modal-pages/custom-form-modal-page/index.d.ts +1 -0
  57. package/dist/declarations/src/components/modal-pages/form-modal-page/form-modal-page.d.ts +129 -0
  58. package/dist/declarations/src/components/modal-pages/form-modal-page/index.d.ts +1 -0
  59. package/dist/declarations/src/components/modal-pages/info-modal-page/index.d.ts +1 -0
  60. package/dist/declarations/src/components/modal-pages/info-modal-page/info-modal-page.d.ts +38 -0
  61. package/dist/declarations/src/components/modal-pages/internals/modal-page.d.ts +40 -0
  62. package/dist/declarations/src/components/modal-pages/internals/modal-page.styles.d.ts +31 -0
  63. package/dist/declarations/src/components/modal-pages/tabular-modal-page/index.d.ts +1 -0
  64. package/dist/declarations/src/components/modal-pages/tabular-modal-page/tabular-modal-page.d.ts +211 -0
  65. package/dist/declarations/src/components/modal-pages/utils/index.d.ts +1 -0
  66. package/dist/declarations/src/components/modal-pages/utils/modal-page-top-bar.d.ts +27 -0
  67. package/dist/declarations/src/components/page-content-containers/page-content-full/index.d.ts +2 -0
  68. package/dist/declarations/src/components/page-content-containers/page-content-full/page-content-full.d.ts +6 -0
  69. package/dist/declarations/src/components/page-content-containers/page-content-narrow/index.d.ts +2 -0
  70. package/dist/declarations/src/components/page-content-containers/page-content-narrow/page-content-narrow.d.ts +6 -0
  71. package/dist/declarations/src/components/page-content-containers/page-content-wide/index.d.ts +2 -0
  72. package/dist/declarations/src/components/page-content-containers/page-content-wide/page-content-wide.d.ts +12 -0
  73. package/dist/declarations/src/components/page-not-found/index.d.ts +1 -0
  74. package/dist/declarations/src/components/page-not-found/messages.d.ts +11 -0
  75. package/dist/declarations/src/components/page-not-found/page-not-found.d.ts +5 -0
  76. package/dist/declarations/src/components/page-unauthorized/index.d.ts +1 -0
  77. package/dist/declarations/src/components/page-unauthorized/messages.d.ts +15 -0
  78. package/dist/declarations/src/components/page-unauthorized/page-unauthorized.d.ts +5 -0
  79. package/dist/declarations/src/components/portals-container/index.d.ts +1 -0
  80. package/dist/declarations/src/components/portals-container/portals-container.d.ts +44 -0
  81. package/dist/declarations/src/components/project-stamp/messages.d.ts +19 -0
  82. package/dist/declarations/src/components/project-stamp/project-stamp.d.ts +9 -0
  83. package/dist/declarations/src/components/public-page-layout/index.d.ts +8 -0
  84. package/dist/declarations/src/components/public-page-layout/public-page-layout.d.ts +26 -0
  85. package/dist/declarations/src/components/public-page-layout/public-page-layout.styles.d.ts +13 -0
  86. package/dist/declarations/src/components/tab-header/index.d.ts +1 -0
  87. package/dist/declarations/src/components/tab-header/tab-header.d.ts +37 -0
  88. package/dist/declarations/src/components/tab-header/tab.styles.d.ts +2 -0
  89. package/dist/declarations/src/hooks/use-custom-view-locator-selector/index.d.ts +1 -0
  90. package/dist/declarations/src/hooks/use-custom-view-locator-selector/use-custom-view-locator-selector.d.ts +5 -0
  91. package/dist/declarations/src/hooks/use-modal-state/index.d.ts +1 -0
  92. package/dist/declarations/src/hooks/use-modal-state/use-modal-state.d.ts +6 -0
  93. package/dist/declarations/src/index.d.ts +35 -0
  94. package/dist/declarations/src/theming.d.ts +13 -0
  95. package/dist/declarations/src/types/generated/settings.d.ts +2116 -0
  96. package/dist/declarations/src/utils/filter-data-attributes.d.ts +1 -0
  97. package/dist/declarations/src/version.d.ts +2 -0
  98. package/dist/public-page-layout-3fba954d.esm.js +110 -0
  99. package/dist/public-page-layout-81be35b4.cjs.dev.js +128 -0
  100. package/dist/public-page-layout-d365f38f.cjs.prod.js +108 -0
  101. package/materials/media-queries.css +15 -0
  102. package/package.json +103 -0
@@ -0,0 +1,174 @@
1
+ import type { ReactElement, ReactNode, SyntheticEvent } from 'react';
2
+ type MessageDescriptor = {
3
+ id: string;
4
+ description?: string | object;
5
+ defaultMessage?: string;
6
+ };
7
+ type Label = string | MessageDescriptor;
8
+ type FormMainPageProps = {
9
+ /**
10
+ * The title of the page.
11
+ */
12
+ title?: string;
13
+ /**
14
+ * The subtitle of the page.
15
+ */
16
+ subtitle?: string | ReactElement;
17
+ /**
18
+ * Replaces the title/subtitle row with a custom one (for special use cases)
19
+ */
20
+ customTitleRow?: ReactNode;
21
+ /**
22
+ * Any React node displayed as the content within the page.
23
+ */
24
+ children: ReactNode;
25
+ /**
26
+ * Determines if the form controls should be rendered.
27
+ */
28
+ hideControls?: boolean;
29
+ /**
30
+ * Indicates whether the primary button is deactivated or not.
31
+ */
32
+ isPrimaryButtonDisabled?: boolean;
33
+ /**
34
+ * Indicates whether the secondary button is deactivated or not.
35
+ */
36
+ isSecondaryButtonDisabled?: boolean;
37
+ /**
38
+ * Use this prop to pass `data-` attributes to the primary button
39
+ */
40
+ dataAttributesPrimaryButton?: {
41
+ [key: string]: string;
42
+ };
43
+ /**
44
+ * Use this prop to pass `data-` attributes to the secondary button.
45
+ */
46
+ dataAttributesSecondaryButton?: {
47
+ [key: string]: string;
48
+ };
49
+ /**
50
+ * `Save` | The label for the primary button as a string, or as an Intl message.
51
+ */
52
+ labelPrimaryButton?: Label;
53
+ /**
54
+ * `Cancel` | The label for the secondary button as a string, or as an Intl message.
55
+ */
56
+ labelSecondaryButton?: Label;
57
+ /**
58
+ * The Icon for the secondary button label
59
+ */
60
+ iconLeftSecondaryButton?: ReactElement;
61
+ /**
62
+ * This code is used to configure which Custom Views are available for this page.
63
+ */
64
+ customViewLocatorCode?: string;
65
+ /**
66
+ * Called when the primary button is clicked.
67
+ */
68
+ onPrimaryButtonClick: (event: SyntheticEvent) => void;
69
+ /**
70
+ * Called when the secondary button is clicked.
71
+ */
72
+ onSecondaryButtonClick: (event: SyntheticEvent) => void;
73
+ };
74
+ declare const FormMainPage: {
75
+ (props: FormMainPageProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
76
+ displayName: string;
77
+ defaultProps: Pick<FormMainPageProps, "hideControls">;
78
+ PageHeaderTitle: {
79
+ (props: {
80
+ title: string;
81
+ titleSize: "big" | "small" | "medium";
82
+ truncate: boolean;
83
+ subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
84
+ children?: undefined;
85
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
86
+ displayName: string;
87
+ defaultProps: Pick<{
88
+ title: string;
89
+ titleSize: "big" | "small" | "medium";
90
+ truncate: boolean;
91
+ subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
92
+ children?: undefined;
93
+ }, "truncate" | "titleSize">;
94
+ };
95
+ Intl: {
96
+ cancel: {
97
+ id: string;
98
+ defaultMessage: string;
99
+ };
100
+ revert: {
101
+ id: string;
102
+ defaultMessage: string;
103
+ };
104
+ confirm: {
105
+ id: string;
106
+ defaultMessage: string;
107
+ };
108
+ save: {
109
+ id: string;
110
+ defaultMessage: string; /**
111
+ * The title of the page.
112
+ */
113
+ };
114
+ update: {
115
+ id: string;
116
+ defaultMessage: string;
117
+ };
118
+ create: {
119
+ id: string;
120
+ defaultMessage: string;
121
+ };
122
+ delete: {
123
+ id: string;
124
+ defaultMessage: string;
125
+ };
126
+ add: {
127
+ id: string;
128
+ defaultMessage: string;
129
+ };
130
+ remove: {
131
+ id: string; /**
132
+ * Determines if the form controls should be rendered.
133
+ */
134
+ defaultMessage: string;
135
+ };
136
+ close: {
137
+ id: string;
138
+ defaultMessage: string;
139
+ };
140
+ edit: {
141
+ id: string;
142
+ defaultMessage: string;
143
+ };
144
+ open: {
145
+ id: string;
146
+ defaultMessage: string;
147
+ };
148
+ activate: {
149
+ id: string;
150
+ defaultMessage: string;
151
+ };
152
+ deactivate: {
153
+ id: string;
154
+ defaultMessage: string;
155
+ };
156
+ active: {
157
+ id: string;
158
+ defaultMessage: string;
159
+ };
160
+ inactive: {
161
+ id: string;
162
+ defaultMessage: string;
163
+ };
164
+ enable: {
165
+ id: string;
166
+ defaultMessage: string;
167
+ };
168
+ disable: {
169
+ id: string;
170
+ defaultMessage: string;
171
+ };
172
+ };
173
+ };
174
+ export default FormMainPage;
@@ -0,0 +1 @@
1
+ export { default } from './form-main-page';
@@ -0,0 +1 @@
1
+ export { default } from './info-main-page';
@@ -0,0 +1,45 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ type InfoMainPageProps = {
3
+ /**
4
+ * The title of the page.
5
+ */
6
+ title?: string;
7
+ /**
8
+ * The subtitle of the page.
9
+ */
10
+ subtitle?: string | ReactElement;
11
+ /**
12
+ * Replaces the title/subtitle row with a custom one (for special use cases).
13
+ */
14
+ customTitleRow?: ReactNode;
15
+ /**
16
+ * This code is used to configure which Custom Views are available for this page.
17
+ */
18
+ customViewLocatorCode?: string;
19
+ /**
20
+ * Any React node displayed as the content within the page.
21
+ */
22
+ children: ReactNode;
23
+ };
24
+ declare const InfoMainPage: {
25
+ (props: InfoMainPageProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
26
+ displayName: string;
27
+ PageHeaderTitle: {
28
+ (props: {
29
+ title: string;
30
+ titleSize: "big" | "small" | "medium";
31
+ truncate: boolean;
32
+ subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
33
+ children?: undefined;
34
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
35
+ displayName: string;
36
+ defaultProps: Pick<{
37
+ title: string;
38
+ titleSize: "big" | "small" | "medium";
39
+ truncate: boolean;
40
+ subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
41
+ children?: undefined;
42
+ }, "truncate" | "titleSize">;
43
+ };
44
+ };
45
+ export default InfoMainPage;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ export declare const MainPageContainer: import("@emotion/styled").StyledComponent<{
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ export declare const Divider: import("@emotion/styled").StyledComponent<{
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any> | undefined;
9
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, {}>;
10
+ export declare const MainPageContent: import("@emotion/styled").StyledComponent<{
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ as?: import("react").ElementType<any> | undefined;
13
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
@@ -0,0 +1 @@
1
+ export { default } from './tabular-main-page';
@@ -0,0 +1,228 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ import type { LocationDescriptor } from 'history';
3
+ type TTabularMainPageProps = {
4
+ /**
5
+ * The title of the page.
6
+ */
7
+ title?: string;
8
+ /**
9
+ * The subtitle of the page.
10
+ */
11
+ subtitle?: string | ReactElement;
12
+ /**
13
+ * Replaces the title/subtitle row with a custom one (for special use cases)
14
+ */
15
+ customTitleRow?: ReactNode;
16
+ /**
17
+ * Any React node displayed as the tab panel.
18
+ */
19
+ children: ReactNode;
20
+ /**
21
+ * A composition of tab components.
22
+ */
23
+ tabControls: ReactNode;
24
+ /**
25
+ * Any React node to be rendered as the form controls.
26
+ */
27
+ formControls?: ReactNode;
28
+ /**
29
+ * Determines if the form controls should be rendered.
30
+ */
31
+ hideControls: boolean;
32
+ /**
33
+ * These codes are used to configure which Custom Views are available for every tab.
34
+ */
35
+ customViewLocatorCodes?: Record<string, LocationDescriptor>;
36
+ };
37
+ declare const TabularMainPage: {
38
+ (props: TTabularMainPageProps): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
39
+ displayName: string;
40
+ defaultProps: Pick<TTabularMainPageProps, "hideControls">;
41
+ FormPrimaryButton: {
42
+ (props: {
43
+ iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
44
+ } & {
45
+ label: string | {
46
+ id: string;
47
+ description?: string | object | undefined;
48
+ defaultMessage?: string | undefined;
49
+ };
50
+ onClick: (event: import("react").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: import("react").SyntheticEvent<Element, Event>) => void;
65
+ isDisabled: boolean;
66
+ dataAttributes: {
67
+ [key: string]: string;
68
+ };
69
+ children?: undefined;
70
+ }, "label" | "isDisabled" | "dataAttributes">;
71
+ };
72
+ 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: import("react").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: import("react").SyntheticEvent<Element, Event>) => void;
98
+ isDisabled: boolean;
99
+ dataAttributes: {
100
+ [key: string]: string;
101
+ };
102
+ children?: undefined;
103
+ }, "label" | "isDisabled" | "dataAttributes">;
104
+ };
105
+ FormDeleteButton: {
106
+ (props: {
107
+ label: string | {
108
+ id: string;
109
+ description?: string | object | undefined;
110
+ defaultMessage?: string | undefined;
111
+ };
112
+ onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
113
+ isDisabled: boolean;
114
+ dataAttributes: {
115
+ [key: string]: string;
116
+ };
117
+ children?: undefined;
118
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
119
+ displayName: string;
120
+ defaultProps: Pick<{
121
+ label: string | {
122
+ id: string;
123
+ description?: string | object | undefined;
124
+ defaultMessage?: string | undefined;
125
+ };
126
+ onClick: (event: import("react").SyntheticEvent<Element, Event>) => void;
127
+ isDisabled: boolean;
128
+ dataAttributes: {
129
+ [key: string]: string;
130
+ };
131
+ children?: undefined;
132
+ }, "label" | "isDisabled" | "dataAttributes">;
133
+ };
134
+ PageHeaderTitle: {
135
+ (props: {
136
+ title: string;
137
+ titleSize: "big" | "small" | "medium";
138
+ truncate: boolean;
139
+ subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
140
+ children?: undefined;
141
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
142
+ displayName: string;
143
+ defaultProps: Pick<{
144
+ title: string;
145
+ titleSize: "big" | "small" | "medium";
146
+ truncate: boolean;
147
+ subtitle?: string | ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
148
+ children?: undefined;
149
+ }, "truncate" | "titleSize">;
150
+ };
151
+ Intl: {
152
+ cancel: {
153
+ id: string;
154
+ defaultMessage: string;
155
+ };
156
+ revert: {
157
+ id: string;
158
+ defaultMessage: string;
159
+ };
160
+ confirm: {
161
+ id: string;
162
+ defaultMessage: string;
163
+ };
164
+ save: {
165
+ id: string;
166
+ defaultMessage: string;
167
+ };
168
+ update: {
169
+ id: string;
170
+ defaultMessage: string;
171
+ };
172
+ create: {
173
+ id: string;
174
+ defaultMessage: string;
175
+ };
176
+ delete: {
177
+ id: string;
178
+ defaultMessage: string;
179
+ };
180
+ add: {
181
+ id: string;
182
+ defaultMessage: string;
183
+ };
184
+ remove: {
185
+ id: string;
186
+ defaultMessage: string;
187
+ }; /**
188
+ * The title of the page.
189
+ */
190
+ close: {
191
+ id: string;
192
+ defaultMessage: string;
193
+ };
194
+ edit: {
195
+ id: string;
196
+ defaultMessage: string;
197
+ };
198
+ open: {
199
+ id: string;
200
+ defaultMessage: string;
201
+ };
202
+ activate: {
203
+ id: string;
204
+ defaultMessage: string;
205
+ };
206
+ deactivate: {
207
+ id: string;
208
+ defaultMessage: string;
209
+ };
210
+ active: {
211
+ id: string;
212
+ defaultMessage: string;
213
+ };
214
+ inactive: {
215
+ id: string;
216
+ defaultMessage: string;
217
+ };
218
+ enable: {
219
+ id: string;
220
+ defaultMessage: string;
221
+ };
222
+ disable: {
223
+ id: string;
224
+ defaultMessage: string;
225
+ };
226
+ };
227
+ };
228
+ export default TabularMainPage;
@@ -0,0 +1 @@
1
+ export { default } from './maintenance-page-layout';
@@ -0,0 +1,15 @@
1
+ import { ReactNode } from 'react';
2
+ export type Props = {
3
+ imageSrc: string;
4
+ title: ReactNode;
5
+ label?: string;
6
+ paragraph1: ReactNode;
7
+ paragraph2?: ReactNode;
8
+ bodyContent?: ReactNode;
9
+ children?: never;
10
+ };
11
+ declare const MaintenancePageLayout: {
12
+ (props: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
13
+ displayName: string;
14
+ };
15
+ export default MaintenancePageLayout;
@@ -0,0 +1,207 @@
1
+ import { SyntheticEvent, ReactNode, ReactElement } from 'react';
2
+ import type { CSSObject } from '@emotion/react';
3
+ type MessageDescriptor = {
4
+ id: string;
5
+ description?: string | object;
6
+ defaultMessage?: string;
7
+ };
8
+ type Label = string | MessageDescriptor;
9
+ type Props = {
10
+ /**
11
+ * @deprecated Not used anymore, as the value is controlled via the Stacking Layer System.
12
+ */
13
+ level?: number;
14
+ title: string;
15
+ isOpen: boolean;
16
+ /**
17
+ * This code is used to configure which Custom Views are available for this page.
18
+ */
19
+ customViewLocatorCode?: string;
20
+ onClose?: (event: SyntheticEvent) => void;
21
+ children: ReactNode;
22
+ zIndex?: number;
23
+ /**
24
+ * @deprecated Not used anymore, as the value is controlled via the Stacking Layer System.
25
+ */
26
+ baseZIndex?: number;
27
+ getParentSelector?: () => HTMLElement;
28
+ shouldDelayOnClose?: boolean;
29
+ afterOpenStyles?: string | CSSObject;
30
+ topBarCurrentPathLabel?: string;
31
+ topBarPreviousPathLabel?: Label;
32
+ subtitle?: string | ReactElement;
33
+ formControls?: ReactNode;
34
+ hideControls?: boolean;
35
+ };
36
+ declare const CustomFormModalPage: {
37
+ (props: Props): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
38
+ displayName: string;
39
+ FormPrimaryButton: {
40
+ (props: {
41
+ iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
42
+ } & {
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
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
55
+ displayName: string;
56
+ defaultProps: Pick<{
57
+ label: string | {
58
+ id: string;
59
+ description?: string | object | undefined;
60
+ defaultMessage?: string | undefined;
61
+ };
62
+ onClick: (event: SyntheticEvent<Element, Event>) => void;
63
+ isDisabled: boolean;
64
+ dataAttributes: {
65
+ [key: string]: string;
66
+ };
67
+ children?: undefined;
68
+ }, "label" | "isDisabled" | "dataAttributes">;
69
+ };
70
+ FormSecondaryButton: {
71
+ (props: {
72
+ iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
73
+ } & {
74
+ label: string | {
75
+ id: string;
76
+ description?: string | object | undefined;
77
+ defaultMessage?: string | undefined;
78
+ };
79
+ onClick: (event: SyntheticEvent<Element, Event>) => void;
80
+ isDisabled: boolean;
81
+ dataAttributes: {
82
+ [key: string]: string;
83
+ };
84
+ children?: undefined;
85
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
86
+ displayName: string;
87
+ defaultProps: Pick<{
88
+ iconLeft?: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
89
+ } & {
90
+ label: string | {
91
+ id: string;
92
+ description?: string | object | undefined;
93
+ defaultMessage?: string | undefined;
94
+ };
95
+ onClick: (event: SyntheticEvent<Element, Event>) => void;
96
+ isDisabled: boolean;
97
+ dataAttributes: {
98
+ [key: string]: string;
99
+ };
100
+ children?: undefined;
101
+ }, "label" | "isDisabled" | "dataAttributes">;
102
+ };
103
+ FormDeleteButton: {
104
+ (props: {
105
+ label: string | {
106
+ id: string;
107
+ description?: string | object | undefined;
108
+ defaultMessage?: string | undefined;
109
+ };
110
+ onClick: (event: SyntheticEvent<Element, Event>) => void;
111
+ isDisabled: boolean;
112
+ dataAttributes: {
113
+ [key: string]: string;
114
+ };
115
+ children?: undefined;
116
+ }): import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
117
+ displayName: string;
118
+ defaultProps: Pick<{
119
+ label: string | {
120
+ id: string;
121
+ description?: string | object | undefined;
122
+ defaultMessage?: string | undefined;
123
+ };
124
+ onClick: (event: SyntheticEvent<Element, Event>) => void;
125
+ isDisabled: boolean;
126
+ dataAttributes: {
127
+ [key: string]: string;
128
+ };
129
+ children?: undefined;
130
+ }, "label" | "isDisabled" | "dataAttributes">;
131
+ };
132
+ Intl: {
133
+ cancel: {
134
+ id: string;
135
+ defaultMessage: string;
136
+ };
137
+ revert: {
138
+ id: string;
139
+ defaultMessage: string;
140
+ };
141
+ confirm: {
142
+ id: string;
143
+ defaultMessage: string;
144
+ };
145
+ save: {
146
+ id: string;
147
+ defaultMessage: string;
148
+ };
149
+ update: {
150
+ id: string;
151
+ defaultMessage: string;
152
+ };
153
+ create: {
154
+ id: string;
155
+ defaultMessage: string;
156
+ };
157
+ delete: {
158
+ id: string;
159
+ defaultMessage: string;
160
+ };
161
+ add: {
162
+ id: string;
163
+ defaultMessage: string;
164
+ };
165
+ remove: {
166
+ id: string;
167
+ defaultMessage: string;
168
+ };
169
+ close: {
170
+ id: string;
171
+ defaultMessage: string;
172
+ };
173
+ edit: {
174
+ id: string;
175
+ defaultMessage: string;
176
+ };
177
+ open: {
178
+ id: string;
179
+ defaultMessage: string;
180
+ };
181
+ activate: {
182
+ id: string;
183
+ defaultMessage: string;
184
+ };
185
+ deactivate: {
186
+ id: string;
187
+ defaultMessage: string;
188
+ };
189
+ active: {
190
+ id: string;
191
+ defaultMessage: string;
192
+ };
193
+ inactive: {
194
+ id: string;
195
+ defaultMessage: string;
196
+ };
197
+ enable: {
198
+ id: string;
199
+ defaultMessage: string;
200
+ };
201
+ disable: {
202
+ id: string;
203
+ defaultMessage: string;
204
+ };
205
+ };
206
+ };
207
+ export default CustomFormModalPage;
@@ -0,0 +1 @@
1
+ export { default } from './custom-form-modal-page';