@boomerang-io/carbon-addons-boomerang-react 4.6.7 → 4.6.8-beta.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.
Files changed (252) hide show
  1. package/README.md +162 -162
  2. package/dist/cjs/components/AboutPlatform/AboutPlatform.js +50 -50
  3. package/dist/cjs/components/AdvantageSideNav/AdvantageSideNav.js +240 -212
  4. package/dist/cjs/components/AutoSuggest/AutoSuggest.js +101 -101
  5. package/dist/cjs/components/Avatar/Avatar.js +18 -18
  6. package/dist/cjs/components/CheckboxList/CheckboxList.js +34 -34
  7. package/dist/cjs/components/ComboBox/ComboBox.js +103 -103
  8. package/dist/cjs/components/ComboBoxMultiSelect/ComboBoxMultiSelect.js +32 -32
  9. package/dist/cjs/components/ComboBoxMultiSelect/MultiSelect.js +208 -208
  10. package/dist/cjs/components/ComposedModal/ComposedModal.js +80 -80
  11. package/dist/cjs/components/ConfirmModal/ConfirmModal.js +43 -43
  12. package/dist/cjs/components/Creatable/Creatable.js +137 -137
  13. package/dist/cjs/components/DataDrivenInput/DataDrivenInput.js +226 -226
  14. package/dist/cjs/components/DateInput/DateInput.js +35 -35
  15. package/dist/cjs/components/DecisionButtons/DecisionButtons.js +61 -61
  16. package/dist/cjs/components/DelayedRender/DelayedRender.js +17 -17
  17. package/dist/cjs/components/DynamicFormik/DynamicFormik.js +578 -578
  18. package/dist/cjs/components/Error403/Error403.js +13 -13
  19. package/dist/cjs/components/Error403/ForbiddenErrorBackground.js +113 -113
  20. package/dist/cjs/components/Error403/GraphicWrangler/GraphicWrangler.js +62 -62
  21. package/dist/cjs/components/Error404/Error404.js +13 -13
  22. package/dist/cjs/components/Error404/GraphicLoch/GraphicLoch.js +17 -17
  23. package/dist/cjs/components/Error404/NotFoundErrorBackground.js +129 -129
  24. package/dist/cjs/components/ErrorBoundary/ErrorBoundary.js +32 -32
  25. package/dist/cjs/components/ErrorDragon/ErrorDragon.js +13 -13
  26. package/dist/cjs/components/ErrorDragon/assets/ErrorGraphic.js +35 -35
  27. package/dist/cjs/components/ErrorFullPage/ErrorFullPage.js +10 -10
  28. package/dist/cjs/components/ErrorMessage/ErrorMessage.js +22 -22
  29. package/dist/cjs/components/ErrorPage/ErrorPage.js +11 -11
  30. package/dist/cjs/components/ErrorPageCore/ErrorPageCore.js +15 -15
  31. package/dist/cjs/components/ErrorPageCore/GenericErrorBackground.js +124 -124
  32. package/dist/cjs/components/FeatureHeader/FeatureHeader.js +29 -29
  33. package/dist/cjs/components/FeatureNavTab/FeatureNavTab.js +12 -12
  34. package/dist/cjs/components/FeatureNavTabs/FeatureNavTabs.js +12 -12
  35. package/dist/cjs/components/FeatureSideNav/FeatureSideNav.js +12 -12
  36. package/dist/cjs/components/FeatureSideNav/FeatureSideNavFooter.js +8 -8
  37. package/dist/cjs/components/FeatureSideNav/FeatureSideNavHeader.js +8 -8
  38. package/dist/cjs/components/FeatureSideNav/FeatureSideNavLinks.js +14 -14
  39. package/dist/cjs/components/FeatureSideNavLink/FeatureSideNavLink.js +12 -12
  40. package/dist/cjs/components/Feedback/Feedback.js +40 -40
  41. package/dist/cjs/components/FlowModal/FlowModal.js +141 -141
  42. package/dist/cjs/components/FlowModal/FlowModalForm.js +12 -12
  43. package/dist/cjs/components/Header/Header.js +168 -168
  44. package/dist/cjs/components/Header/HeaderAppSwitcher.js +100 -100
  45. package/dist/cjs/components/Header/HeaderMenu.js +7 -7
  46. package/dist/cjs/components/Header/HeaderMenuItem.js +52 -52
  47. package/dist/cjs/components/Header/UserRequests.js +29 -29
  48. package/dist/cjs/components/ImageModal/ImageModal.js +17 -17
  49. package/dist/cjs/components/Loading/Loading.js +8 -8
  50. package/dist/cjs/components/MemberBar/MemberBar.js +20 -20
  51. package/dist/cjs/components/Modal/Modal.js +20 -20
  52. package/dist/cjs/components/ModalConfirmEdit/ModalConfirmArray.js +14 -14
  53. package/dist/cjs/components/ModalConfirmEdit/ModalConfirmDetails.js +11 -11
  54. package/dist/cjs/components/ModalConfirmEdit/ModalConfirmEdit.js +17 -17
  55. package/dist/cjs/components/ModalForm/ModalForm.js +9 -9
  56. package/dist/cjs/components/Notifications/NotificationsContainer.js +22 -22
  57. package/dist/cjs/components/Notifications/ToastNotification.js +21 -21
  58. package/dist/cjs/components/Notifications/notify.js +17 -17
  59. package/dist/cjs/components/PlatformBanner/PlatformBanner.js +8 -8
  60. package/dist/cjs/components/PlatformNotifications/PlatformNotification.js +17 -17
  61. package/dist/cjs/components/PlatformNotifications/PlatformNotificationsContainer.js +136 -136
  62. package/dist/cjs/components/Portal/Portal.js +14 -14
  63. package/dist/cjs/components/PrivacyRedirect/PrivacyRedirect.js +30 -30
  64. package/dist/cjs/components/PrivacyStatement/PrivacyStatement.js +90 -90
  65. package/dist/cjs/components/ProfileSettings/ProfileSettings.js +124 -124
  66. package/dist/cjs/components/ProtectedRoute/ProtectedRoute.js +13 -13
  67. package/dist/cjs/components/RadioGroup/RadioGroup.js +33 -33
  68. package/dist/cjs/components/RichTextArea/RichTextArea.js +142 -142
  69. package/dist/cjs/components/SignOut/SignOut.js +27 -27
  70. package/dist/cjs/components/SupportCenter/SupportCenter.js +65 -65
  71. package/dist/cjs/components/TextArea/TextArea.js +16 -16
  72. package/dist/cjs/components/TextInput/TextInput.js +13 -13
  73. package/dist/cjs/components/Toggle/Toggle.js +22 -22
  74. package/dist/cjs/components/TooltipHover/TooltipHover.js +39 -39
  75. package/dist/cjs/components/UIShell/UIShell.js +89 -89
  76. package/dist/cjs/config/servicesConfig.js +21 -21
  77. package/dist/cjs/constants/DataDrivenInputTypes.js +74 -74
  78. package/dist/cjs/constants/UserType.js +13 -13
  79. package/dist/cjs/hooks/useHeaderMenu.js +49 -49
  80. package/dist/cjs/hooks/usePortal.js +74 -74
  81. package/dist/cjs/hooks/useWindowSize.js +33 -33
  82. package/dist/cjs/internal/ListBox/ListBox.js +41 -41
  83. package/dist/cjs/internal/ListBox/ListBoxField.js +19 -19
  84. package/dist/cjs/internal/ListBox/ListBoxMenu.js +19 -19
  85. package/dist/cjs/internal/ListBox/ListBoxMenuIcon.js +31 -31
  86. package/dist/cjs/internal/ListBox/ListBoxMenuItem.js +38 -38
  87. package/dist/cjs/internal/ListBox/ListBoxSelection.js +64 -64
  88. package/dist/cjs/internal/ListBox/index.js +10 -10
  89. package/dist/cjs/internal/keyboard/keys.js +16 -16
  90. package/dist/cjs/internal/keyboard/match.js +67 -67
  91. package/dist/cjs/internal/settings.js +5 -5
  92. package/dist/cjs/tools/accessibility.js +13 -13
  93. package/dist/cjs/tools/createPropAdapter.js +44 -44
  94. package/dist/cjs/tools/isUrl.js +39 -39
  95. package/dist/cjs/tools/setupGetInstanceId.js +20 -20
  96. package/dist/cjs/tools/useSetState.js +12 -12
  97. package/dist/cjs/tools/yupAst/astGenerator.js +212 -212
  98. package/dist/cjs/tools/yupAst/customValidators.js +17 -17
  99. package/dist/esm/components/AboutPlatform/AboutPlatform.js +50 -50
  100. package/dist/esm/components/AdvantageSideNav/AdvantageSideNav.js +241 -213
  101. package/dist/esm/components/AutoSuggest/AutoSuggest.js +101 -101
  102. package/dist/esm/components/Avatar/Avatar.js +18 -18
  103. package/dist/esm/components/CheckboxList/CheckboxList.js +34 -34
  104. package/dist/esm/components/ComboBox/ComboBox.js +103 -103
  105. package/dist/esm/components/ComboBoxMultiSelect/ComboBoxMultiSelect.js +32 -32
  106. package/dist/esm/components/ComboBoxMultiSelect/MultiSelect.js +208 -208
  107. package/dist/esm/components/ComposedModal/ComposedModal.js +80 -80
  108. package/dist/esm/components/ConfirmModal/ConfirmModal.js +43 -43
  109. package/dist/esm/components/Creatable/Creatable.js +137 -137
  110. package/dist/esm/components/DataDrivenInput/DataDrivenInput.js +226 -226
  111. package/dist/esm/components/DateInput/DateInput.js +35 -35
  112. package/dist/esm/components/DecisionButtons/DecisionButtons.js +61 -61
  113. package/dist/esm/components/DelayedRender/DelayedRender.js +17 -17
  114. package/dist/esm/components/DynamicFormik/DynamicFormik.js +578 -578
  115. package/dist/esm/components/Error403/Error403.js +13 -13
  116. package/dist/esm/components/Error403/ForbiddenErrorBackground.js +113 -113
  117. package/dist/esm/components/Error403/GraphicWrangler/GraphicWrangler.js +62 -62
  118. package/dist/esm/components/Error404/Error404.js +13 -13
  119. package/dist/esm/components/Error404/GraphicLoch/GraphicLoch.js +17 -17
  120. package/dist/esm/components/Error404/NotFoundErrorBackground.js +129 -129
  121. package/dist/esm/components/ErrorBoundary/ErrorBoundary.js +32 -32
  122. package/dist/esm/components/ErrorDragon/ErrorDragon.js +13 -13
  123. package/dist/esm/components/ErrorDragon/assets/ErrorGraphic.js +35 -35
  124. package/dist/esm/components/ErrorFullPage/ErrorFullPage.js +10 -10
  125. package/dist/esm/components/ErrorMessage/ErrorMessage.js +22 -22
  126. package/dist/esm/components/ErrorPage/ErrorPage.js +11 -11
  127. package/dist/esm/components/ErrorPageCore/ErrorPageCore.js +15 -15
  128. package/dist/esm/components/ErrorPageCore/GenericErrorBackground.js +124 -124
  129. package/dist/esm/components/FeatureHeader/FeatureHeader.js +29 -29
  130. package/dist/esm/components/FeatureNavTab/FeatureNavTab.js +12 -12
  131. package/dist/esm/components/FeatureNavTabs/FeatureNavTabs.js +12 -12
  132. package/dist/esm/components/FeatureSideNav/FeatureSideNav.js +12 -12
  133. package/dist/esm/components/FeatureSideNav/FeatureSideNavFooter.js +8 -8
  134. package/dist/esm/components/FeatureSideNav/FeatureSideNavHeader.js +8 -8
  135. package/dist/esm/components/FeatureSideNav/FeatureSideNavLinks.js +14 -14
  136. package/dist/esm/components/FeatureSideNavLink/FeatureSideNavLink.js +12 -12
  137. package/dist/esm/components/Feedback/Feedback.js +40 -40
  138. package/dist/esm/components/FlowModal/FlowModal.js +141 -141
  139. package/dist/esm/components/FlowModal/FlowModalForm.js +12 -12
  140. package/dist/esm/components/Header/Header.js +168 -168
  141. package/dist/esm/components/Header/HeaderAppSwitcher.js +100 -100
  142. package/dist/esm/components/Header/HeaderMenu.js +7 -7
  143. package/dist/esm/components/Header/HeaderMenuItem.js +52 -52
  144. package/dist/esm/components/Header/UserRequests.js +29 -29
  145. package/dist/esm/components/ImageModal/ImageModal.js +17 -17
  146. package/dist/esm/components/Loading/Loading.js +8 -8
  147. package/dist/esm/components/MemberBar/MemberBar.js +20 -20
  148. package/dist/esm/components/Modal/Modal.js +20 -20
  149. package/dist/esm/components/ModalConfirmEdit/ModalConfirmArray.js +14 -14
  150. package/dist/esm/components/ModalConfirmEdit/ModalConfirmDetails.js +11 -11
  151. package/dist/esm/components/ModalConfirmEdit/ModalConfirmEdit.js +17 -17
  152. package/dist/esm/components/ModalForm/ModalForm.js +9 -9
  153. package/dist/esm/components/Notifications/NotificationsContainer.js +22 -22
  154. package/dist/esm/components/Notifications/ToastNotification.js +21 -21
  155. package/dist/esm/components/Notifications/notify.js +17 -17
  156. package/dist/esm/components/PlatformBanner/PlatformBanner.js +8 -8
  157. package/dist/esm/components/PlatformNotifications/PlatformNotification.js +17 -17
  158. package/dist/esm/components/PlatformNotifications/PlatformNotificationsContainer.js +136 -136
  159. package/dist/esm/components/Portal/Portal.js +14 -14
  160. package/dist/esm/components/PrivacyRedirect/PrivacyRedirect.js +30 -30
  161. package/dist/esm/components/PrivacyStatement/PrivacyStatement.js +90 -90
  162. package/dist/esm/components/ProfileSettings/ProfileSettings.js +124 -124
  163. package/dist/esm/components/ProtectedRoute/ProtectedRoute.js +13 -13
  164. package/dist/esm/components/RadioGroup/RadioGroup.js +33 -33
  165. package/dist/esm/components/RichTextArea/RichTextArea.js +142 -142
  166. package/dist/esm/components/SignOut/SignOut.js +27 -27
  167. package/dist/esm/components/SupportCenter/SupportCenter.js +65 -65
  168. package/dist/esm/components/TextArea/TextArea.js +16 -16
  169. package/dist/esm/components/TextInput/TextInput.js +13 -13
  170. package/dist/esm/components/Toggle/Toggle.js +22 -22
  171. package/dist/esm/components/TooltipHover/TooltipHover.js +39 -39
  172. package/dist/esm/components/UIShell/UIShell.js +89 -89
  173. package/dist/esm/config/servicesConfig.js +21 -21
  174. package/dist/esm/constants/DataDrivenInputTypes.js +74 -74
  175. package/dist/esm/constants/UserType.js +13 -13
  176. package/dist/esm/hooks/useHeaderMenu.js +49 -49
  177. package/dist/esm/hooks/usePortal.js +74 -74
  178. package/dist/esm/hooks/useWindowSize.js +33 -33
  179. package/dist/esm/internal/ListBox/ListBox.js +41 -41
  180. package/dist/esm/internal/ListBox/ListBoxField.js +19 -19
  181. package/dist/esm/internal/ListBox/ListBoxMenu.js +19 -19
  182. package/dist/esm/internal/ListBox/ListBoxMenuIcon.js +31 -31
  183. package/dist/esm/internal/ListBox/ListBoxMenuItem.js +38 -38
  184. package/dist/esm/internal/ListBox/ListBoxSelection.js +64 -64
  185. package/dist/esm/internal/ListBox/index.js +10 -10
  186. package/dist/esm/internal/keyboard/keys.js +16 -16
  187. package/dist/esm/internal/keyboard/match.js +67 -67
  188. package/dist/esm/internal/settings.js +5 -5
  189. package/dist/esm/tools/accessibility.js +13 -13
  190. package/dist/esm/tools/createPropAdapter.js +44 -44
  191. package/dist/esm/tools/isUrl.js +39 -39
  192. package/dist/esm/tools/setupGetInstanceId.js +20 -20
  193. package/dist/esm/tools/useSetState.js +12 -12
  194. package/dist/esm/tools/yupAst/astGenerator.js +212 -212
  195. package/dist/esm/tools/yupAst/customValidators.js +17 -17
  196. package/dist/types/index.d.ts +1309 -1306
  197. package/package.json +167 -167
  198. package/scss/components/AboutPlatform/_aboutPlatform.scss +139 -139
  199. package/scss/components/AdvantageSideNav/_advantageSideNav.scss +265 -258
  200. package/scss/components/AutoSuggest/_autoSuggest.scss +62 -62
  201. package/scss/components/Avatar/_avatar.scss +32 -32
  202. package/scss/components/CheckboxList/_checkboxList.scss +26 -26
  203. package/scss/components/ComboBox/_combobox.scss +23 -23
  204. package/scss/components/ComboBoxMultiSelect/_comboBoxMultiSelect.scss +53 -53
  205. package/scss/components/ConfirmModal/_confirmModal.scss +12 -12
  206. package/scss/components/Creatable/_creatable.scss +48 -48
  207. package/scss/components/DateInput/_dateInput.scss +36 -36
  208. package/scss/components/DecisionButtons/_decisionButtons.scss +132 -132
  209. package/scss/components/DynamicFormik/_dynamicFormik.scss +17 -17
  210. package/scss/components/ErrorBoundary/_errorBoundary.scss +12 -12
  211. package/scss/components/ErrorDragon/_errorDragon.scss +55 -55
  212. package/scss/components/ErrorMessage/_errorMessage.scss +43 -43
  213. package/scss/components/ErrorPage/_errorPage.scss +66 -66
  214. package/scss/components/ErrorPageCore/_errorPageCore.scss +73 -73
  215. package/scss/components/FeatureHeader/_featureHeader.scss +67 -67
  216. package/scss/components/FeatureNavTab/_featureNavTab.scss +27 -27
  217. package/scss/components/FeatureSideNav/_featureSideNav.scss +76 -76
  218. package/scss/components/FeatureSideNavLink/_featureSideNavLink.scss +49 -49
  219. package/scss/components/Feedback/_feedback.scss +46 -46
  220. package/scss/components/Header/_header.scss +179 -179
  221. package/scss/components/Header/_headerAppSwitcher.scss +117 -117
  222. package/scss/components/Header/_headerMenu.scss +30 -30
  223. package/scss/components/Header/_headerMenuItem.scss +65 -65
  224. package/scss/components/Header/_userRequests.scss +36 -36
  225. package/scss/components/ImageModal/_imageModal.scss +51 -51
  226. package/scss/components/MemberBar/_memberBar.scss +99 -99
  227. package/scss/components/Modal/_modal.scss +163 -163
  228. package/scss/components/ModalConfirmEdit/_modalConfirmEdit.scss +113 -113
  229. package/scss/components/Notifications/_notifications.scss +57 -57
  230. package/scss/components/PlatformBanner/_platformBanner.scss +30 -30
  231. package/scss/components/PlatformNotifications/_platformNotifications.scss +230 -230
  232. package/scss/components/PrivacyRedirect/_privacyRedirect.scss +43 -43
  233. package/scss/components/PrivacyStatement/_privacyStatement.scss +137 -137
  234. package/scss/components/ProfileSettings/_profileSettings.scss +117 -117
  235. package/scss/components/ProtectedRoute/_protectedRoute.scss +32 -32
  236. package/scss/components/RadioGroup/_radioGroup.scss +46 -46
  237. package/scss/components/RichTextArea/_richTextArea.scss +82 -82
  238. package/scss/components/SignOut/_signOut.scss +51 -51
  239. package/scss/components/SupportCenter/_supportCenter.scss +16 -16
  240. package/scss/components/TextArea/_textArea.scss +19 -19
  241. package/scss/components/TextInput/_textInput.scss +26 -26
  242. package/scss/components/Toggle/_toggle.scss +80 -80
  243. package/scss/components/TooltipHover/_tooltip.scss +48 -48
  244. package/scss/global/_config.scss +14 -14
  245. package/scss/global/_tippy.scss +49 -49
  246. package/scss/global/index.scss +402 -402
  247. package/scss/global/themes/_boomerang.scss +184 -184
  248. package/scss/global/themes/_default.scss +79 -79
  249. package/scss/global/themes/_shell-tokens.scss +42 -42
  250. package/scss/global/utils/_animations.scss +15 -15
  251. package/scss/global/utils/_mixins.scss +67 -67
  252. package/scss/global/utils/index.scss +10 -10
@@ -7,1428 +7,1431 @@ import { FormikProps } from 'formik';
7
7
  import { NavLinkProps, RouteProps } from 'react-router-dom';
8
8
  import * as react_toastify from 'react-toastify';
9
9
 
10
- type DynamicInput = FormInput & InputGovernor;
11
- type FormInput = {
12
- acceptsUserInput?: boolean;
13
- conditionallyRender?: boolean;
14
- customComponent?: React.FC<any>;
15
- defaultValues?: any[];
16
- id?: string;
17
- invalid?: boolean;
18
- invalidText?: string;
19
- invalidValues?: any[];
20
- governingOptions?: any[];
21
- governingDisabled?: boolean;
22
- minValueLength?: string;
23
- maxValueLength?: string;
24
- name?: string;
25
- onBlur?: (...args: any[]) => any;
26
- onChange?: (...args: any[]) => any;
27
- requiredForKey?: string;
28
- requiredValueOf?: string[];
29
- required?: boolean;
30
- placeholder?: string;
31
- language?: string;
32
- disabled?: boolean;
33
- defaultValue?: any;
34
- defaultOptionLabel?: any;
35
- value?: any;
36
- values?: any[];
37
- readOnly?: boolean;
38
- dateFormat?: string;
39
- pattern?: string;
40
- patternInvalidText?: string;
41
- government?: InputGovernor;
42
- description?: string;
43
- key: string;
44
- label?: string;
45
- type: string;
46
- min?: string;
47
- max?: string;
48
- options?: {
49
- key: string;
50
- value: string;
51
- }[];
52
- helperText?: string;
53
- helperTextOff?: string;
54
- isDefaultLabel?: boolean;
55
- cannotEditLabel?: boolean;
56
- };
57
- type InputGovernor = {
58
- governingJson: string;
59
- governingJsonKey: string;
60
- jsonKey: string;
61
- jsonLabel: string;
62
- governingKey: string;
63
- governing: boolean;
64
- governed: boolean;
65
- isGoverning: boolean;
66
- isGoverned: boolean;
67
- };
68
- type ModalTrigger = (props: {
69
- openModal: () => void;
70
- }) => React.ReactNode;
71
- type ModalFunctionChildrenProps = {
72
- closeModal: () => void;
73
- };
74
- type SimpleIdNameMap = {
75
- id: string;
76
- name: string;
77
- isTeamMember?: boolean;
78
- privateTeam?: boolean;
79
- displayName?: string;
80
- services?: Array<{
81
- name: string;
82
- url: string;
83
- }>;
84
- };
85
- type SimpleTeamService = {
86
- name: string;
87
- url: string;
88
- };
89
- interface SideNavTeam extends SimpleIdNameMap {
90
- services: Array<SimpleTeamService>;
91
- isPersonal?: boolean;
92
- }
93
- interface SideNavAccount extends SimpleIdNameMap {
94
- projectTeams: Array<SimpleIdNameMap>;
95
- }
96
- type Team = {
97
- id: string;
98
- name: string;
99
- shortName: string;
100
- owners: TeamOwner[];
101
- purpose: string;
102
- dateCreated: string;
103
- isActive: boolean;
104
- newRelicRestApiKey: string;
105
- newRelicQueryKey: string;
106
- newRelicAccountId: string;
107
- autoApproveRequests: boolean;
108
- privateTeam: boolean;
109
- ldapName: string;
110
- labels: FormInput[];
111
- description: string;
112
- logo: {
113
- id: string;
114
- name: string;
115
- };
116
- restrictInvitationByDomain: boolean;
117
- domains: string[];
118
- allowInvitationToPartner: boolean;
119
- userProperties: FormInput[];
120
- displayName: string;
121
- sidebarSelectedKey: string;
122
- pendingRemoval: boolean;
123
- pendingRemovalDate: string;
124
- pendingRemovalRequestIds: string[];
125
- copyTeamOwners: boolean;
126
- customInviteMessage: string;
127
- type: string;
128
- organizationId: string;
129
- subhead: string;
130
- accountTeamId: string;
131
- hero: {
132
- id: string;
133
- name: string;
134
- };
135
- statements: TeamStatement[];
136
- allowMembersCreateProjectTeam: boolean;
137
- canLeaveTeam: boolean;
138
- unassignedCatalogItems: UnassignedCatalogItems;
139
- };
140
- type TeamStatement = {
141
- id: number;
142
- name: string;
143
- jobTitle: string;
144
- content: string;
145
- image: {
146
- id: string;
147
- name: string;
148
- };
149
- };
150
- type TeamOwner = {
151
- ownerId: string;
152
- ownerEmail: string;
153
- ownerName: string;
154
- };
155
- type Service = {
156
- id: string;
157
- name?: any;
158
- order?: number;
159
- };
160
- type UnassignedCatalogItems = {
161
- name: string;
162
- description: string;
163
- services: Service[];
164
- order?: any;
165
- linkedResource?: any;
166
- };
167
- type User = {
168
- email: string;
169
- emailPreferences: {
170
- receiveCoOwnerAddMember: boolean;
171
- receiveJoinTeamApproved: boolean;
172
- receiveNewMemberInvite: boolean;
173
- receiveRequestLeaveTeam: boolean;
174
- };
175
- favouriteCatalogItems: [
176
- {
177
- catalogItemId: string;
178
- order: number;
179
- }
180
- ];
181
- firstLoginDate: string;
182
- globalServices?: [any];
183
- hasConsented: boolean;
184
- id: string;
185
- isFirstVisit: boolean | null;
186
- isShowHelp: boolean | null;
187
- showSupport: boolean | null;
188
- lastLoginDate: string;
189
- approvedDate?: string;
190
- launchpadTutorialState: null | -1 | 0 | 1 | 2 | 3;
191
- isTeamOwner?: boolean;
192
- isAllowToRemove?: boolean;
193
- lowerLevelGroups: [
194
- {
195
- id: string;
196
- userProperties: [any];
197
- visible: boolean;
198
- }
199
- ];
200
- name: string;
201
- displayName?: string;
202
- notificationSettings: any;
203
- personalizations: any;
204
- projects: null | any;
205
- requestSummary: {
206
- requireUserAction: number;
207
- submittedByUser: number;
208
- };
209
- pendingLeaveRequests?: any[];
210
- pendingRemoveToolRequests?: any[];
211
- status: "active" | "inactive" | "pending_deletion" | "deleted" | "archived" | "pending_invite";
212
- teams: any[];
213
- type: string;
214
- inviter?: {
215
- id: string;
216
- name: string;
217
- };
218
- approver?: {
219
- id: string;
220
- name: string;
221
- };
222
- hasPersonalTeam?: boolean;
223
- hasOpenPersonalTeamRequest?: boolean;
224
- personalTeamAssistantsAccess?: boolean;
225
- personalTeamAssistantsAccessRequested?: boolean;
226
- };
227
- type UserTeams = {
228
- accountTeams: {
229
- id: string;
230
- name: string;
231
- isAccountTeamMember: boolean;
232
- services?: Array<{
233
- name: string;
234
- url: string;
235
- }>;
236
- projectTeams: SimpleIdNameMap[];
237
- }[];
238
- standardTeams: SimpleIdNameMap[];
239
- personalTeam: SimpleIdNameMap[];
240
- };
241
- type PlatformNotification = {
242
- creator: string;
243
- date: string;
244
- detail: string;
245
- eventId: string;
246
- id: string;
247
- priority: string;
248
- read: boolean;
249
- severity: string;
250
- target: string;
251
- title: string;
252
- type: string;
253
- userId: string;
254
- };
255
- type NavLink = {
256
- name: string;
257
- url: string;
258
- isExternal?: boolean;
10
+ type DynamicInput = FormInput & InputGovernor;
11
+ type FormInput = {
12
+ acceptsUserInput?: boolean;
13
+ conditionallyRender?: boolean;
14
+ customComponent?: React.FC<any>;
15
+ defaultValues?: any[];
16
+ id?: string;
17
+ invalid?: boolean;
18
+ invalidText?: string;
19
+ invalidValues?: any[];
20
+ governingOptions?: any[];
21
+ governingDisabled?: boolean;
22
+ minValueLength?: string;
23
+ maxValueLength?: string;
24
+ name?: string;
25
+ onBlur?: (...args: any[]) => any;
26
+ onChange?: (...args: any[]) => any;
27
+ requiredForKey?: string;
28
+ requiredValueOf?: string[];
29
+ required?: boolean;
30
+ placeholder?: string;
31
+ language?: string;
32
+ disabled?: boolean;
33
+ defaultValue?: any;
34
+ defaultOptionLabel?: any;
35
+ value?: any;
36
+ values?: any[];
37
+ readOnly?: boolean;
38
+ dateFormat?: string;
39
+ pattern?: string;
40
+ patternInvalidText?: string;
41
+ government?: InputGovernor;
42
+ description?: string;
43
+ key: string;
44
+ label?: string;
45
+ type: string;
46
+ min?: string;
47
+ max?: string;
48
+ options?: {
49
+ key: string;
50
+ value: string;
51
+ }[];
52
+ helperText?: string;
53
+ helperTextOff?: string;
54
+ isDefaultLabel?: boolean;
55
+ cannotEditLabel?: boolean;
56
+ };
57
+ type InputGovernor = {
58
+ governingJson: string;
59
+ governingJsonKey: string;
60
+ jsonKey: string;
61
+ jsonLabel: string;
62
+ governingKey: string;
63
+ governing: boolean;
64
+ governed: boolean;
65
+ isGoverning: boolean;
66
+ isGoverned: boolean;
67
+ };
68
+ type ModalTrigger = (props: {
69
+ openModal: () => void;
70
+ }) => React.ReactNode;
71
+ type ModalFunctionChildrenProps = {
72
+ closeModal: () => void;
73
+ };
74
+ type SimpleIdNameMap = {
75
+ id: string;
76
+ name: string;
77
+ isTeamMember?: boolean;
78
+ privateTeam?: boolean;
79
+ displayName?: string;
80
+ services?: Array<{
81
+ name: string;
82
+ url: string;
83
+ }>;
84
+ };
85
+ type SimpleTeamService = {
86
+ name: string;
87
+ url: string;
88
+ };
89
+ interface SideNavTeam extends SimpleIdNameMap {
90
+ services: Array<SimpleTeamService>;
91
+ isPersonal?: boolean;
92
+ }
93
+ interface SideNavAccount extends SimpleIdNameMap {
94
+ projectTeams: Array<SimpleIdNameMap>;
95
+ }
96
+ type Team = {
97
+ id: string;
98
+ name: string;
99
+ shortName: string;
100
+ owners: TeamOwner[];
101
+ purpose: string;
102
+ dateCreated: string;
103
+ isActive: boolean;
104
+ newRelicRestApiKey: string;
105
+ newRelicQueryKey: string;
106
+ newRelicAccountId: string;
107
+ autoApproveRequests: boolean;
108
+ privateTeam: boolean;
109
+ ldapName: string;
110
+ labels: FormInput[];
111
+ description: string;
112
+ logo: {
113
+ id: string;
114
+ name: string;
115
+ };
116
+ restrictInvitationByDomain: boolean;
117
+ domains: string[];
118
+ allowInvitationToPartner: boolean;
119
+ userProperties: FormInput[];
120
+ displayName: string;
121
+ sidebarSelectedKey: string;
122
+ pendingRemoval: boolean;
123
+ pendingRemovalDate: string;
124
+ pendingRemovalRequestIds: string[];
125
+ copyTeamOwners: boolean;
126
+ customInviteMessage: string;
127
+ type: string;
128
+ organizationId: string;
129
+ subhead: string;
130
+ accountTeamId: string;
131
+ hero: {
132
+ id: string;
133
+ name: string;
134
+ };
135
+ statements: TeamStatement[];
136
+ allowMembersCreateProjectTeam: boolean;
137
+ canLeaveTeam: boolean;
138
+ unassignedCatalogItems: UnassignedCatalogItems;
139
+ };
140
+ type TeamStatement = {
141
+ id: number;
142
+ name: string;
143
+ jobTitle: string;
144
+ content: string;
145
+ image: {
146
+ id: string;
147
+ name: string;
148
+ };
149
+ };
150
+ type TeamOwner = {
151
+ ownerId: string;
152
+ ownerEmail: string;
153
+ ownerName: string;
154
+ };
155
+ type Service = {
156
+ id: string;
157
+ name?: any;
158
+ order?: number;
159
+ };
160
+ type UnassignedCatalogItems = {
161
+ name: string;
162
+ description: string;
163
+ services: Service[];
164
+ order?: any;
165
+ linkedResource?: any;
166
+ };
167
+ type User = {
168
+ email: string;
169
+ emailPreferences: {
170
+ receiveCoOwnerAddMember: boolean;
171
+ receiveJoinTeamApproved: boolean;
172
+ receiveNewMemberInvite: boolean;
173
+ receiveRequestLeaveTeam: boolean;
174
+ };
175
+ favouriteCatalogItems: [
176
+ {
177
+ catalogItemId: string;
178
+ order: number;
179
+ }
180
+ ];
181
+ firstLoginDate: string;
182
+ globalServices?: [any];
183
+ hasConsented: boolean;
184
+ id: string;
185
+ isFirstVisit: boolean | null;
186
+ isShowHelp: boolean | null;
187
+ showSupport: boolean | null;
188
+ lastLoginDate: string;
189
+ approvedDate?: string;
190
+ launchpadTutorialState: null | -1 | 0 | 1 | 2 | 3;
191
+ isTeamOwner?: boolean;
192
+ isAllowToRemove?: boolean;
193
+ lowerLevelGroups: [
194
+ {
195
+ id: string;
196
+ userProperties: [any];
197
+ visible: boolean;
198
+ }
199
+ ];
200
+ name: string;
201
+ displayName?: string;
202
+ notificationSettings: any;
203
+ personalizations: any;
204
+ projects: null | any;
205
+ requestSummary: {
206
+ requireUserAction: number;
207
+ submittedByUser: number;
208
+ };
209
+ pendingLeaveRequests?: any[];
210
+ pendingRemoveToolRequests?: any[];
211
+ status: "active" | "inactive" | "pending_deletion" | "deleted" | "archived" | "pending_invite";
212
+ teams: any[];
213
+ type: string;
214
+ inviter?: {
215
+ id: string;
216
+ name: string;
217
+ };
218
+ approver?: {
219
+ id: string;
220
+ name: string;
221
+ };
222
+ hasPersonalTeam?: boolean;
223
+ hasOpenPersonalTeamRequest?: boolean;
224
+ personalTeamAssistantsAccess?: boolean;
225
+ personalTeamAssistantsAccessRequested?: boolean;
226
+ };
227
+ type UserTeams = {
228
+ accountTeams: {
229
+ id: string;
230
+ name: string;
231
+ isAccountTeamMember: boolean;
232
+ services?: Array<{
233
+ name: string;
234
+ url: string;
235
+ }>;
236
+ projectTeams: SimpleIdNameMap[];
237
+ }[];
238
+ standardTeams: SimpleIdNameMap[];
239
+ personalTeam: SimpleIdNameMap[];
240
+ };
241
+ type PlatformNotification = {
242
+ creator: string;
243
+ date: string;
244
+ detail: string;
245
+ eventId: string;
246
+ id: string;
247
+ priority: string;
248
+ read: boolean;
249
+ severity: string;
250
+ target: string;
251
+ title: string;
252
+ type: string;
253
+ userId: string;
254
+ };
255
+ type NavLink = {
256
+ name: string;
257
+ url: string;
258
+ isExternal?: boolean;
259
259
  };
260
260
 
261
- type Props$I = {
262
- accounts?: Array<SideNavAccount>;
263
- app?: string;
264
- assistantLink?: string;
265
- baseEnvUrl?: string;
266
- className?: string;
267
- defaultAssistantLink?: string;
268
- enableChatButton?: boolean;
269
- showChatButton?: boolean;
270
- showSelectTeamPurpose?: boolean;
271
- homeLink?: string;
272
- joinCreateTrigger?: (props: any) => void;
273
- isLoading?: boolean;
274
- isOpen?: boolean;
275
- navLinks?: NavLink[];
276
- personalTeams?: Array<SideNavTeam>;
277
- showChatTooltip?: boolean;
278
- teams?: Array<SideNavTeam>;
279
- templateMeteringEvent?: (props: any) => void;
280
- tooltipMessage?: string;
281
- triggerEvent?: (props: any) => void;
282
- user: User;
283
- isLaunchpad?: boolean;
284
- userTeamsError?: boolean;
285
- userTeamsLoading?: boolean;
286
- history?: any;
287
- children?: React.ReactNode;
288
- };
261
+ type Props$I = {
262
+ accounts?: Array<SideNavAccount>;
263
+ app?: string;
264
+ appLink: any;
265
+ assistantLink?: string;
266
+ multipleRegionalTeams?: boolean;
267
+ teamList?: [];
268
+ baseEnvUrl?: string;
269
+ className?: string;
270
+ defaultAssistantLink?: string;
271
+ enableChatButton?: boolean;
272
+ showChatButton?: boolean;
273
+ showSelectTeamPurpose?: boolean;
274
+ homeLink?: string;
275
+ joinCreateTrigger?: (props: any) => void;
276
+ isLoading?: boolean;
277
+ isOpen?: boolean;
278
+ navLinks?: NavLink[];
279
+ personalTeams?: Array<SideNavTeam>;
280
+ showChatTooltip?: boolean;
281
+ teams?: Array<SideNavTeam>;
282
+ templateMeteringEvent?: (props: any) => void;
283
+ tooltipMessage?: string;
284
+ triggerEvent?: (props: any) => void;
285
+ user: User;
286
+ isLaunchpad?: boolean;
287
+ userTeamsError?: boolean;
288
+ userTeamsLoading?: boolean;
289
+ history?: any;
290
+ children?: React.ReactNode;
291
+ };
289
292
  declare function AdvantageSideNav(props: Props$I): React.JSX.Element;
290
293
 
291
- interface Suggestion {
292
- label: string;
293
- value: string;
294
- }
295
- type AutoSuggestProps = Omit<AutoSuggest.AutosuggestPropsBase<Suggestion>, "getSuggestionValue" | "onSuggestionsFetchRequested" | "renderSuggestion" | "inputProps"> & {
296
- autoSuggestions: Suggestion[];
297
- children: React.ReactElement;
298
- initialValue?: string;
299
- onChange: (newValue: string) => void;
300
- inputProps: any;
301
- };
302
- interface AutoSuggestState {
303
- value: string;
304
- caretIndex: number;
305
- suggestions: Suggestion[];
306
- }
307
- declare class AutoSuggestBmrg extends Component<AutoSuggestProps, AutoSuggestState> {
308
- inputRef: React.RefObject<HTMLInputElement>;
309
- state: {
310
- value: string;
311
- caretIndex: number;
312
- suggestions: never[];
313
- };
314
- componentDidUpdate(_: AutoSuggestProps, prevState: AutoSuggestState): void;
315
- renderSuggestion: (suggestion: Suggestion) => string;
316
- onSuggestionsFetchRequested: () => void;
317
- /**
318
- * More logic here for handling a user cycling through suggestions
319
- * Move the caret to the new suggestion location or use the reference to the DOM element.
320
- * Shift based on the change in length of the value b/c of different length suggestions
321
- */
322
- onInputChange: (event: React.FormEvent<HTMLElement>, { newValue, method }: ChangeEvent) => void;
323
- /**
324
- * Return the new value for the input
325
- * Find the current caret position
326
- * get the string up to that point
327
- * find the last word (space-delimited) and replace it in input
328
- */
329
- getSuggestionValue: (suggestion: Suggestion) => string;
330
- getSuggestions: () => Suggestion[];
331
- findWordsBeforeCurrentLocation: () => string[];
332
- onSuggestionsClearRequested: () => void;
333
- render(): React.JSX.Element;
294
+ interface Suggestion {
295
+ label: string;
296
+ value: string;
297
+ }
298
+ type AutoSuggestProps = Omit<AutoSuggest.AutosuggestPropsBase<Suggestion>, "getSuggestionValue" | "onSuggestionsFetchRequested" | "renderSuggestion" | "inputProps"> & {
299
+ autoSuggestions: Suggestion[];
300
+ children: React.ReactElement;
301
+ initialValue?: string;
302
+ onChange: (newValue: string) => void;
303
+ inputProps: any;
304
+ };
305
+ interface AutoSuggestState {
306
+ value: string;
307
+ caretIndex: number;
308
+ suggestions: Suggestion[];
309
+ }
310
+ declare class AutoSuggestBmrg extends Component<AutoSuggestProps, AutoSuggestState> {
311
+ inputRef: React.RefObject<HTMLInputElement>;
312
+ state: {
313
+ value: string;
314
+ caretIndex: number;
315
+ suggestions: never[];
316
+ };
317
+ componentDidUpdate(_: AutoSuggestProps, prevState: AutoSuggestState): void;
318
+ renderSuggestion: (suggestion: Suggestion) => string;
319
+ onSuggestionsFetchRequested: () => void;
320
+ /**
321
+ * More logic here for handling a user cycling through suggestions
322
+ * Move the caret to the new suggestion location or use the reference to the DOM element.
323
+ * Shift based on the change in length of the value b/c of different length suggestions
324
+ */
325
+ onInputChange: (event: React.FormEvent<HTMLElement>, { newValue, method }: ChangeEvent) => void;
326
+ /**
327
+ * Return the new value for the input
328
+ * Find the current caret position
329
+ * get the string up to that point
330
+ * find the last word (space-delimited) and replace it in input
331
+ */
332
+ getSuggestionValue: (suggestion: Suggestion) => string;
333
+ getSuggestions: () => Suggestion[];
334
+ findWordsBeforeCurrentLocation: () => string[];
335
+ onSuggestionsClearRequested: () => void;
336
+ render(): React.JSX.Element;
334
337
  }
335
338
 
336
- type Props$H = React.ComponentPropsWithoutRef<"img"> & {
337
- className?: string;
338
- size?: "small" | "medium" | "large";
339
- src: string;
340
- style?: React.CSSProperties;
341
- userName?: string;
342
- plainTooltip?: boolean;
343
- };
339
+ type Props$H = React.ComponentPropsWithoutRef<"img"> & {
340
+ className?: string;
341
+ size?: "small" | "medium" | "large";
342
+ src: string;
343
+ style?: React.CSSProperties;
344
+ userName?: string;
345
+ plainTooltip?: boolean;
346
+ };
344
347
  declare function Avatar({ alt, className, size, src, style, title, userName, plainTooltip, ...rest }: Props$H): React.JSX.Element;
345
348
 
346
- type Props$G = {
347
- baseServicesUrl?: string;
348
- baseEnvUrl?: string;
349
- carbonTheme?: "white" | "g10" | "g90" | "g100";
350
- className?: string;
351
- enableAppSwitcher?: boolean;
352
- instanceSwitcherEnabled?: boolean;
353
- enableNotifications?: boolean;
354
- enableNotificationsCount?: boolean;
355
- leftPanel?: (args: {
356
- close: () => void;
357
- isOpen: boolean;
358
- navLinks?: NavLink[];
359
- }) => React.ReactNode;
360
- navLinks?: NavLink[];
361
- platform?: any;
362
- platformMessage?: string;
363
- prefixName?: string;
364
- productName: string;
365
- profileMenuItems?: React.ReactNode[];
366
- rightPanel?: {
367
- icon?: React.ReactNode;
368
- component: React.ReactNode;
369
- };
370
- requestSummary?: {
371
- requireUserAction: number;
372
- submittedByUser: number;
373
- };
374
- skipToContentProps?: {
375
- href?: string;
376
- children?: string;
377
- className?: string;
378
- };
379
- supportMenuItems?: React.ReactNode[];
380
- instanceSwitcherMenuItems?: React.ReactNode[];
381
- templateMeteringEvent?: (props: any) => void;
382
- triggerEvent?: (props: any) => any;
383
- userTeams?: {
384
- data: any;
385
- isLoading: boolean;
386
- error: any;
387
- };
388
- };
349
+ type Props$G = {
350
+ baseServicesUrl?: string;
351
+ baseEnvUrl?: string;
352
+ carbonTheme?: "white" | "g10" | "g90" | "g100";
353
+ className?: string;
354
+ enableAppSwitcher?: boolean;
355
+ instanceSwitcherEnabled?: boolean;
356
+ enableNotifications?: boolean;
357
+ enableNotificationsCount?: boolean;
358
+ leftPanel?: (args: {
359
+ close: () => void;
360
+ isOpen: boolean;
361
+ navLinks?: NavLink[];
362
+ }) => React.ReactNode;
363
+ navLinks?: NavLink[];
364
+ platform?: any;
365
+ platformMessage?: string;
366
+ prefixName?: string;
367
+ productName: string;
368
+ profileMenuItems?: React.ReactNode[];
369
+ rightPanel?: {
370
+ icon?: React.ReactNode;
371
+ component: React.ReactNode;
372
+ };
373
+ requestSummary?: {
374
+ requireUserAction: number;
375
+ submittedByUser: number;
376
+ };
377
+ skipToContentProps?: {
378
+ href?: string;
379
+ children?: string;
380
+ className?: string;
381
+ };
382
+ supportMenuItems?: React.ReactNode[];
383
+ instanceSwitcherMenuItems?: React.ReactNode[];
384
+ templateMeteringEvent?: (props: any) => void;
385
+ triggerEvent?: (props: any) => any;
386
+ userTeams?: {
387
+ data: any;
388
+ isLoading: boolean;
389
+ error: any;
390
+ };
391
+ };
389
392
  declare function Header(props: Props$G): React.JSX.Element;
390
393
 
391
- type Shared = {
392
- className?: string;
393
- children?: React.ReactNode;
394
- disabled?: boolean;
395
- element?: React.FC<any>;
396
- icon?: React.ReactNode;
397
- style?: React.CSSProperties;
398
- variant?: "danger" | "default";
399
- };
400
- type Props$F = (Shared & {
401
- href: string;
402
- kind: "app" | "internal" | "external";
403
- onClick?: () => void;
404
- text: string;
405
- type: "link";
406
- }) | (Shared & {
407
- onClick: () => void;
408
- text: string;
409
- type: "button";
410
- }) | (Shared & {
411
- onClick: () => void;
412
- src: string;
413
- type: "user";
414
- userName?: string;
415
- });
394
+ type Shared = {
395
+ className?: string;
396
+ children?: React.ReactNode;
397
+ disabled?: boolean;
398
+ element?: React.FC<any>;
399
+ icon?: React.ReactNode;
400
+ style?: React.CSSProperties;
401
+ variant?: "danger" | "default";
402
+ };
403
+ type Props$F = (Shared & {
404
+ href: string;
405
+ kind: "app" | "internal" | "external";
406
+ onClick?: () => void;
407
+ text: string;
408
+ type: "link";
409
+ }) | (Shared & {
410
+ onClick: () => void;
411
+ text: string;
412
+ type: "button";
413
+ }) | (Shared & {
414
+ onClick: () => void;
415
+ src: string;
416
+ type: "user";
417
+ userName?: string;
418
+ });
416
419
  declare const _default: React.ForwardRefExoticComponent<Props$F & React.RefAttributes<HTMLLinkElement>>;
417
420
 
418
- type Alignment = "start" | "end";
419
- type Direction = "auto" | "top" | "bottom" | "left" | "right";
420
- type Placement = Direction | `${Direction}-${Alignment}`;
421
- type TooltipHoverProps = TippyProps & {
422
- align?: Alignment;
423
- direction?: Direction;
424
- placement?: Placement;
425
- tooltipContent?: React.ReactNode;
426
- tooltipText?: React.ReactNode;
427
- [key: string]: any;
428
- };
429
- /**
430
- * TooltipHover to replace TooltipDefintion in most situations.
431
- * Uses https://github.com/atomiks/tippyjs-react
432
- */
421
+ type Alignment = "start" | "end";
422
+ type Direction = "auto" | "top" | "bottom" | "left" | "right";
423
+ type Placement = Direction | `${Direction}-${Alignment}`;
424
+ type TooltipHoverProps = TippyProps & {
425
+ align?: Alignment;
426
+ direction?: Direction;
427
+ placement?: Placement;
428
+ tooltipContent?: React.ReactNode;
429
+ tooltipText?: React.ReactNode;
430
+ [key: string]: any;
431
+ };
432
+ /**
433
+ * TooltipHover to replace TooltipDefintion in most situations.
434
+ * Uses https://github.com/atomiks/tippyjs-react
435
+ */
433
436
  declare function TooltipHover({ align, direction, children, className, content, placement, tooltipContent, tooltipText, ...rest }: TooltipHoverProps): React.JSX.Element;
434
437
 
435
- type CheckboxListItem = {
436
- id: string;
437
- labelText: React.ReactNode;
438
- };
439
- type Props$E = {
440
- checkboxProps?: Record<string, any>;
441
- disabled?: boolean;
442
- helperText?: string;
443
- id?: string;
444
- initialSelectedItems?: string[];
445
- label?: string;
446
- labelText?: string;
447
- onChange?: (value: boolean, id: string, event: React.ChangeEvent<HTMLInputElement>, newSelectedItems: string[]) => void;
448
- options: CheckboxListItem[];
449
- selectedItems?: string[];
450
- tooltipClassName?: string;
451
- tooltipContent?: React.ReactNode;
452
- tooltipProps?: TooltipHoverProps;
453
- };
438
+ type CheckboxListItem = {
439
+ id: string;
440
+ labelText: React.ReactNode;
441
+ };
442
+ type Props$E = {
443
+ checkboxProps?: Record<string, any>;
444
+ disabled?: boolean;
445
+ helperText?: string;
446
+ id?: string;
447
+ initialSelectedItems?: string[];
448
+ label?: string;
449
+ labelText?: string;
450
+ onChange?: (value: boolean, id: string, event: React.ChangeEvent<HTMLInputElement>, newSelectedItems: string[]) => void;
451
+ options: CheckboxListItem[];
452
+ selectedItems?: string[];
453
+ tooltipClassName?: string;
454
+ tooltipContent?: React.ReactNode;
455
+ tooltipProps?: TooltipHoverProps;
456
+ };
454
457
  declare function CheckboxListComponent({ checkboxProps, disabled, helperText, id, initialSelectedItems, label, labelText, onChange, options, selectedItems: propsSelectedItems, tooltipClassName, tooltipContent, tooltipProps, }: Props$E): React.JSX.Element;
455
458
 
456
- type ListBoxType = "default" | "inline";
459
+ type ListBoxType = "default" | "inline";
457
460
  type ListBoxSize = "sm" | "md" | "lg";
458
461
 
459
- type Props$D = {
460
- disableClear?: boolean;
461
- labelText?: React.ReactNode;
462
- label?: React.ReactNode;
463
- shouldFilterItem?: ((...args: any[]) => any) | boolean;
464
- tooltipClassName?: string;
465
- tooltipContent?: React.ReactNode;
466
- tooltipProps?: TooltipHoverProps;
467
- ariaLabel?: string;
468
- className?: string;
469
- direction?: "top" | "bottom";
470
- disabled?: boolean;
471
- downshiftProps?: DownshiftProps<any>;
472
- helperText?: string;
473
- id: string;
474
- initialSelectedItem?: any | string | number;
475
- invalid?: boolean;
476
- invalidText?: React.ReactNode;
477
- itemToElement?: (...args: any[]) => React.ReactNode;
478
- itemToString?: (...args: any[]) => string;
479
- items: any[];
480
- light?: boolean;
481
- name?: string;
482
- onBlur?: (...args: any[]) => any;
483
- onChange: (...args: any[]) => any;
484
- onInputChange?: (...args: any[]) => any;
485
- onKeyUp?: (...args: any[]) => any;
486
- onStateChange?: (...args: any[]) => any;
487
- onToggleClick?: (...args: any[]) => any;
488
- placeholder?: string;
489
- readOnly?: boolean;
490
- selectedItem?: any | string | number;
491
- size?: ListBoxSize;
492
- style?: React.CSSProperties;
493
- titleText?: React.ReactNode;
494
- translateWithId?: (id: string) => string;
495
- type?: ListBoxType;
496
- warn?: boolean;
497
- warnText?: React.ReactNode;
498
- };
462
+ type Props$D = {
463
+ disableClear?: boolean;
464
+ labelText?: React.ReactNode;
465
+ label?: React.ReactNode;
466
+ shouldFilterItem?: ((...args: any[]) => any) | boolean;
467
+ tooltipClassName?: string;
468
+ tooltipContent?: React.ReactNode;
469
+ tooltipProps?: TooltipHoverProps;
470
+ ariaLabel?: string;
471
+ className?: string;
472
+ direction?: "top" | "bottom";
473
+ disabled?: boolean;
474
+ downshiftProps?: DownshiftProps<any>;
475
+ helperText?: string;
476
+ id: string;
477
+ initialSelectedItem?: any | string | number;
478
+ invalid?: boolean;
479
+ invalidText?: React.ReactNode;
480
+ itemToElement?: (...args: any[]) => React.ReactNode;
481
+ itemToString?: (...args: any[]) => string;
482
+ items: any[];
483
+ light?: boolean;
484
+ name?: string;
485
+ onBlur?: (...args: any[]) => any;
486
+ onChange: (...args: any[]) => any;
487
+ onInputChange?: (...args: any[]) => any;
488
+ onKeyUp?: (...args: any[]) => any;
489
+ onStateChange?: (...args: any[]) => any;
490
+ onToggleClick?: (...args: any[]) => any;
491
+ placeholder?: string;
492
+ readOnly?: boolean;
493
+ selectedItem?: any | string | number;
494
+ size?: ListBoxSize;
495
+ style?: React.CSSProperties;
496
+ titleText?: React.ReactNode;
497
+ translateWithId?: (id: string) => string;
498
+ type?: ListBoxType;
499
+ warn?: boolean;
500
+ warnText?: React.ReactNode;
501
+ };
499
502
  declare function ComboBoxComponent({ disableClear, id, label, labelText, titleText, tooltipClassName, tooltipContent, tooltipProps, onChange, onInputChange, shouldFilterItem, ...restComboBoxProps }: Props$D): React.JSX.Element;
500
503
 
501
- type MultiSelectComboBoxProps = {
502
- ariaLabel?: string;
503
- className?: string;
504
- disabled?: boolean;
505
- direction?: "top" | "bottom";
506
- id: string;
507
- initialSelectedItems?: any[];
508
- selectedItems?: any[];
509
- items?: any[];
510
- itemToString?: (...args: any[]) => string;
511
- itemToElement?: React.FC;
512
- titleText?: any;
513
- helperText?: string;
514
- tagProps?: any;
515
- onChange?: (...args: any[]) => any;
516
- onKeyUp?: (...args: any[]) => any;
517
- onInputBlur?: (...args: any[]) => any;
518
- onToggleClick?: (event: any) => any;
519
- open?: boolean;
520
- placeholder: string;
521
- shouldFilterItem?: (...args: any[]) => any;
522
- invalid?: boolean;
523
- invalidText?: string;
524
- translateWithId?: (...args: any[]) => any;
525
- onInputChange?: (...args: any[]) => any;
526
- type?: ListBoxType;
527
- light?: boolean;
528
- downshiftProps?: DownshiftProps<any>;
529
- size?: ListBoxSize;
504
+ type MultiSelectComboBoxProps = {
505
+ ariaLabel?: string;
506
+ className?: string;
507
+ disabled?: boolean;
508
+ direction?: "top" | "bottom";
509
+ id: string;
510
+ initialSelectedItems?: any[];
511
+ selectedItems?: any[];
512
+ items?: any[];
513
+ itemToString?: (...args: any[]) => string;
514
+ itemToElement?: React.FC;
515
+ titleText?: any;
516
+ helperText?: string;
517
+ tagProps?: any;
518
+ onChange?: (...args: any[]) => any;
519
+ onKeyUp?: (...args: any[]) => any;
520
+ onInputBlur?: (...args: any[]) => any;
521
+ onToggleClick?: (event: any) => any;
522
+ open?: boolean;
523
+ placeholder: string;
524
+ shouldFilterItem?: (...args: any[]) => any;
525
+ invalid?: boolean;
526
+ invalidText?: string;
527
+ translateWithId?: (...args: any[]) => any;
528
+ onInputChange?: (...args: any[]) => any;
529
+ type?: ListBoxType;
530
+ light?: boolean;
531
+ downshiftProps?: DownshiftProps<any>;
532
+ size?: ListBoxSize;
530
533
  };
531
534
 
532
- type Props$C = Omit<MultiSelectComboBoxProps, "initialSelectedItems"> & {
533
- disableClear?: boolean;
534
- id: string;
535
- labelText?: string;
536
- label?: string;
537
- initialSelectedItems?: string | any[];
538
- items?: any;
539
- readOnly?: boolean;
540
- selectedItems?: string | any[];
541
- titleText?: string;
542
- tooltipClassName?: string;
543
- tooltipContent?: React.ReactNode;
544
- tooltipProps?: TooltipHoverProps;
545
- };
535
+ type Props$C = Omit<MultiSelectComboBoxProps, "initialSelectedItems"> & {
536
+ disableClear?: boolean;
537
+ id: string;
538
+ labelText?: string;
539
+ label?: string;
540
+ initialSelectedItems?: string | any[];
541
+ items?: any;
542
+ readOnly?: boolean;
543
+ selectedItems?: string | any[];
544
+ titleText?: string;
545
+ tooltipClassName?: string;
546
+ tooltipContent?: React.ReactNode;
547
+ tooltipProps?: TooltipHoverProps;
548
+ };
546
549
  declare function ComboBoxMultiSelect({ disableClear, id, initialSelectedItems, items, label, labelText, selectedItems, titleText, tooltipClassName, tooltipContent, tooltipProps, ...multiSelectProps }: Props$C): React.JSX.Element;
547
550
 
548
- type Props$B = {
549
- appElement?: string;
550
- children?: (args: {
551
- closeModal: () => void;
552
- forceCloseModal: () => void;
553
- resetInitialState: (arg: Record<string, any>) => void;
554
- setShouldConfirmModalClose: (shouldConfirmModalClose: boolean) => void;
555
- shouldConfirmModalClose: boolean;
556
- }) => React.ReactNode;
557
- composedModalProps?: Record<string, any>;
558
- confirmModalProps?: Record<string, any>;
559
- initialState?: Record<string, any>;
560
- isOpen?: boolean;
561
- modalHeaderChildren?: React.ReactNode;
562
- modalHeaderProps?: Record<string, any>;
563
- modalTrigger?: ModalTrigger;
564
- onCloseModal?: () => void;
565
- size?: "xs" | "sm" | "md" | "lg";
566
- };
551
+ type Props$B = {
552
+ appElement?: string;
553
+ children?: (args: {
554
+ closeModal: () => void;
555
+ forceCloseModal: () => void;
556
+ resetInitialState: (arg: Record<string, any>) => void;
557
+ setShouldConfirmModalClose: (shouldConfirmModalClose: boolean) => void;
558
+ shouldConfirmModalClose: boolean;
559
+ }) => React.ReactNode;
560
+ composedModalProps?: Record<string, any>;
561
+ confirmModalProps?: Record<string, any>;
562
+ initialState?: Record<string, any>;
563
+ isOpen?: boolean;
564
+ modalHeaderChildren?: React.ReactNode;
565
+ modalHeaderProps?: Record<string, any>;
566
+ modalTrigger?: ModalTrigger;
567
+ onCloseModal?: () => void;
568
+ size?: "xs" | "sm" | "md" | "lg";
569
+ };
567
570
  declare function ComposedModal(props: Props$B): React.JSX.Element;
568
571
 
569
- type Props$A = Omit<ReactModal.Props, "appElement"> & {
570
- appElement?: string;
571
- children: React.ReactNode;
572
- className?: string;
573
- containerClassName?: string;
574
- isOpen?: boolean;
575
- };
572
+ type Props$A = Omit<ReactModal.Props, "appElement"> & {
573
+ appElement?: string;
574
+ children: React.ReactNode;
575
+ className?: string;
576
+ containerClassName?: string;
577
+ isOpen?: boolean;
578
+ };
576
579
  declare function Modal(props: Props$A): React.JSX.Element;
577
580
 
578
- type Props$z = {
579
- affirmativeAction?: () => any;
580
- affirmativeButtonProps?: any;
581
- affirmativeText?: React.ReactNode;
582
- appElement?: string;
583
- children?: React.ReactNode;
584
- containerClassName?: string;
585
- isExternallyControlled?: boolean;
586
- isOpen?: boolean;
587
- label?: string;
588
- modalHeaderProps?: Record<string, any>;
589
- modalProps?: Omit<Props$A, "isOpen">;
590
- modalTrigger?: ModalTrigger;
591
- negativeAction?: () => any;
592
- negativeButtonProps?: any;
593
- negativeText?: React.ReactNode;
594
- onCloseModal?: () => any;
595
- selectorPrimaryFocus?: string;
596
- title?: string;
597
- };
581
+ type Props$z = {
582
+ affirmativeAction?: () => any;
583
+ affirmativeButtonProps?: any;
584
+ affirmativeText?: React.ReactNode;
585
+ appElement?: string;
586
+ children?: React.ReactNode;
587
+ containerClassName?: string;
588
+ isExternallyControlled?: boolean;
589
+ isOpen?: boolean;
590
+ label?: string;
591
+ modalHeaderProps?: Record<string, any>;
592
+ modalProps?: Omit<Props$A, "isOpen">;
593
+ modalTrigger?: ModalTrigger;
594
+ negativeAction?: () => any;
595
+ negativeButtonProps?: any;
596
+ negativeText?: React.ReactNode;
597
+ onCloseModal?: () => any;
598
+ selectorPrimaryFocus?: string;
599
+ title?: string;
600
+ };
598
601
  declare function ConfirmModal(props: Props$z): React.JSX.Element;
599
602
 
600
- type Props$y = {
601
- buttonClassName?: string;
602
- buttonContent?: React.ReactNode;
603
- buttonProps?: any;
604
- createKeyValuePair?: boolean;
605
- disabled?: boolean;
606
- id?: string;
607
- initialValues?: string | string[];
608
- invalid?: boolean;
609
- trimInput?: boolean;
610
- removeOnlyFirst?: boolean;
611
- invalidText?: string;
612
- helperText?: string;
613
- key?: string;
614
- keyHelperText?: string;
615
- keyLabel?: string;
616
- keyLabelText?: string;
617
- keyPlaceholder?: string;
618
- label?: string;
619
- labelText?: string;
620
- nonDeletable?: boolean;
621
- max?: number;
622
- onKeyBlur?: (e: React.FocusEvent<HTMLInputElement>) => any;
623
- onValueBlur?: (e: React.FocusEvent<HTMLInputElement>) => any;
624
- onInputBlur?: (e: React.FocusEvent<HTMLInputElement>) => any;
625
- onChange?: (items: string[]) => void;
626
- placeholder?: string;
627
- readOnly?: boolean;
628
- tagProps?: any;
629
- tagType?: string;
630
- textInputProps?: any;
631
- tooltipClassName?: string;
632
- tooltipContent?: React.ReactNode;
633
- tooltipProps?: TooltipHoverProps;
634
- type?: string;
635
- valueHelperText?: string;
636
- valueLabel?: string;
637
- valueLabelText?: string;
638
- valuePlaceholder?: string;
639
- value?: string | string[];
640
- values?: string | string[];
641
- };
603
+ type Props$y = {
604
+ buttonClassName?: string;
605
+ buttonContent?: React.ReactNode;
606
+ buttonProps?: any;
607
+ createKeyValuePair?: boolean;
608
+ disabled?: boolean;
609
+ id?: string;
610
+ initialValues?: string | string[];
611
+ invalid?: boolean;
612
+ trimInput?: boolean;
613
+ removeOnlyFirst?: boolean;
614
+ invalidText?: string;
615
+ helperText?: string;
616
+ key?: string;
617
+ keyHelperText?: string;
618
+ keyLabel?: string;
619
+ keyLabelText?: string;
620
+ keyPlaceholder?: string;
621
+ label?: string;
622
+ labelText?: string;
623
+ nonDeletable?: boolean;
624
+ max?: number;
625
+ onKeyBlur?: (e: React.FocusEvent<HTMLInputElement>) => any;
626
+ onValueBlur?: (e: React.FocusEvent<HTMLInputElement>) => any;
627
+ onInputBlur?: (e: React.FocusEvent<HTMLInputElement>) => any;
628
+ onChange?: (items: string[]) => void;
629
+ placeholder?: string;
630
+ readOnly?: boolean;
631
+ tagProps?: any;
632
+ tagType?: string;
633
+ textInputProps?: any;
634
+ tooltipClassName?: string;
635
+ tooltipContent?: React.ReactNode;
636
+ tooltipProps?: TooltipHoverProps;
637
+ type?: string;
638
+ valueHelperText?: string;
639
+ valueLabel?: string;
640
+ valueLabelText?: string;
641
+ valuePlaceholder?: string;
642
+ value?: string | string[];
643
+ values?: string | string[];
644
+ };
642
645
  declare function CreatableComponent({ buttonClassName, buttonContent, buttonProps, createKeyValuePair, disabled, id, initialValues: externalInitialValues, invalid, invalidText, helperText, key, keyHelperText, keyLabel, keyLabelText, keyPlaceholder, label, labelText, max, nonDeletable, onKeyBlur, onValueBlur, onInputBlur, onChange, placeholder, tagProps, tagType, textInputProps, tooltipClassName, tooltipContent, tooltipProps, type, valueHelperText, valueLabel, valueLabelText, valuePlaceholder, value: externalValues, values, trimInput, removeOnlyFirst, }: Props$y): React.JSX.Element;
643
646
 
644
- type OwnDataDrivenInputProps = {
645
- id?: string;
646
- CheckboxList?: React.FC<any>;
647
- Creatable?: React.FC<any>;
648
- CustomComponent?: React.FC<any>;
649
- DateInput?: React.FC<any>;
650
- MultiSelect?: React.FC<any>;
651
- RadioGroup?: React.FC<any>;
652
- Select?: React.FC<any>;
653
- TextArea?: React.FC<any>;
654
- TextEditor?: React.FC<any>;
655
- TextInput?: React.FC<any>;
656
- Toggle?: React.FC<any>;
657
- formikProps?: any;
658
- onChange?: (...args: any[]) => any;
659
- };
660
- type DataDrivenInputProps = OwnDataDrivenInputProps & FormInput;
647
+ type OwnDataDrivenInputProps = {
648
+ id?: string;
649
+ CheckboxList?: React.FC<any>;
650
+ Creatable?: React.FC<any>;
651
+ CustomComponent?: React.FC<any>;
652
+ DateInput?: React.FC<any>;
653
+ MultiSelect?: React.FC<any>;
654
+ RadioGroup?: React.FC<any>;
655
+ Select?: React.FC<any>;
656
+ TextArea?: React.FC<any>;
657
+ TextEditor?: React.FC<any>;
658
+ TextInput?: React.FC<any>;
659
+ Toggle?: React.FC<any>;
660
+ formikProps?: any;
661
+ onChange?: (...args: any[]) => any;
662
+ };
663
+ type DataDrivenInputProps = OwnDataDrivenInputProps & FormInput;
661
664
  declare function DataDrivenInput(props: DataDrivenInputProps): React.JSX.Element | null;
662
665
 
663
- declare const DATE_TYPES: {
664
- DATE: string;
665
- DATE_RANGE: string;
666
+ declare const DATE_TYPES: {
667
+ DATE: string;
668
+ DATE_RANGE: string;
666
669
  };
667
670
 
668
- type DATE_TYPE = typeof DATE_TYPES[keyof typeof DATE_TYPES];
669
- type Props$x = {
670
- id: string;
671
- dateFormat?: string;
672
- datePickerProps?: any;
673
- disabled?: boolean;
674
- helperText?: string;
675
- invalid?: boolean;
676
- max?: string;
677
- min?: string;
678
- label?: string;
679
- labelText?: string;
680
- name?: string;
681
- onCalendarChange?: (...args: any[]) => any;
682
- onChange?: (...args: any[]) => any;
683
- readOnly?: boolean;
684
- tooltipClassName?: string;
685
- tooltipContent?: React.ReactNode;
686
- tooltipProps?: TooltipHoverProps;
687
- type?: DATE_TYPE;
688
- value: string | string[];
689
- };
671
+ type DATE_TYPE = typeof DATE_TYPES[keyof typeof DATE_TYPES];
672
+ type Props$x = {
673
+ id: string;
674
+ dateFormat?: string;
675
+ datePickerProps?: any;
676
+ disabled?: boolean;
677
+ helperText?: string;
678
+ invalid?: boolean;
679
+ max?: string;
680
+ min?: string;
681
+ label?: string;
682
+ labelText?: string;
683
+ name?: string;
684
+ onCalendarChange?: (...args: any[]) => any;
685
+ onChange?: (...args: any[]) => any;
686
+ readOnly?: boolean;
687
+ tooltipClassName?: string;
688
+ tooltipContent?: React.ReactNode;
689
+ tooltipProps?: TooltipHoverProps;
690
+ type?: DATE_TYPE;
691
+ value: string | string[];
692
+ };
690
693
  declare const DateInputComponent: React.ForwardRefExoticComponent<Props$x & React.RefAttributes<any>>;
691
694
 
692
- type Props$w = {
693
- canUncheck?: boolean;
694
- children?: React.ReactNode;
695
- className?: string;
696
- defaultSelected?: string | number;
697
- disabled?: boolean;
698
- helperText?: string;
699
- id?: string;
700
- items: any[];
701
- label?: string;
702
- labelPosition?: string;
703
- labelText?: string;
704
- name: string;
705
- onChange?: (...args: any[]) => any;
706
- orientation?: "horizontal" | "vertical";
707
- tooltipClassName?: string;
708
- tooltipContent?: React.ReactNode;
709
- tooltipProps?: TooltipHoverProps;
710
- selectedItem?: string | number;
711
- };
695
+ type Props$w = {
696
+ canUncheck?: boolean;
697
+ children?: React.ReactNode;
698
+ className?: string;
699
+ defaultSelected?: string | number;
700
+ disabled?: boolean;
701
+ helperText?: string;
702
+ id?: string;
703
+ items: any[];
704
+ label?: string;
705
+ labelPosition?: string;
706
+ labelText?: string;
707
+ name: string;
708
+ onChange?: (...args: any[]) => any;
709
+ orientation?: "horizontal" | "vertical";
710
+ tooltipClassName?: string;
711
+ tooltipContent?: React.ReactNode;
712
+ tooltipProps?: TooltipHoverProps;
713
+ selectedItem?: string | number;
714
+ };
712
715
  declare function DecisionButtons({ canUncheck, className, defaultSelected, disabled, helperText, id, items, label, labelPosition, labelText, name, onChange, orientation, tooltipClassName, tooltipContent, tooltipProps, selectedItem: propsSelectedItem, }: Props$w): React.JSX.Element;
713
716
 
714
- type Props$v = {
715
- children: React.ReactNode;
716
- delay?: number;
717
- };
717
+ type Props$v = {
718
+ children: React.ReactNode;
719
+ delay?: number;
720
+ };
718
721
  declare function DelayedRender({ children, delay }: Props$v): React.JSX.Element | null;
719
722
 
720
- type OwnDynamicFormikProps<Values = any> = {
721
- children: (args: {
722
- inputs: React.ReactNode[];
723
- formikProps: FormikProps<any>;
724
- }) => React.ReactNode;
725
- additionalInitialValues?: {
726
- [key: string]: any;
727
- };
728
- allowCustomPropertySyntax?: boolean;
729
- customPropertyStartsWithPattern?: string | RegExp;
730
- customPropertySyntaxPattern?: string | RegExp;
731
- dataDrivenInputProps?: any;
732
- enableReinitialize?: boolean;
733
- inputProps?: any;
734
- initialErrors?: {
735
- [key: string]: any;
736
- };
737
- initialValues?: Partial<Values>;
738
- inputs: DynamicInput[];
739
- onSubmit?: (...args: any[]) => any;
740
- useCSVforArrays?: boolean;
741
- validateOnBlur?: boolean;
742
- validateOnMount?: boolean;
743
- validationSchema?: any;
744
- validationSchemaExtension?: any;
745
- allProps?: (...args: any[]) => {
746
- [key: string]: any;
747
- };
748
- checkboxListProps?: (...args: any[]) => {
749
- [key: string]: any;
750
- };
751
- creatableProps?: (...args: any[]) => {
752
- [key: string]: any;
753
- };
754
- dateProps?: (...args: any[]) => {
755
- [key: string]: any;
756
- };
757
- multiSelectProps?: (...args: any[]) => {
758
- [key: string]: any;
759
- };
760
- radioProps?: (...args: any[]) => {
761
- [key: string]: any;
762
- };
763
- selectProps?: (...args: any[]) => {
764
- [key: string]: any;
765
- };
766
- textAreaProps?: (...args: any[]) => {
767
- [key: string]: any;
768
- };
769
- textEditorProps?: (...args: any[]) => {
770
- [key: string]: any;
771
- };
772
- textInputProps?: (...args: any[]) => {
773
- [key: string]: any;
774
- };
775
- toggleProps?: (...args: any[]) => {
776
- [key: string]: any;
777
- };
778
- };
779
- type DynamicFormikProps<Values> = OwnDynamicFormikProps<Values> & typeof DynamicFormik.defaultProps;
780
- declare function DynamicFormik<Values = any>({ additionalInitialValues, allowCustomPropertySyntax, customPropertySyntaxPattern, customPropertyStartsWithPattern, children, dataDrivenInputProps, inputProps, initialValues, inputs, onSubmit, useCSVforArrays, validationSchema, validationSchemaExtension, ...otherProps }: DynamicFormikProps<Values>): React.JSX.Element;
781
- declare namespace DynamicFormik {
782
- var defaultProps: {
783
- checkboxListProps: (...args: any[]) => {};
784
- creatableProps: (...args: any[]) => {};
785
- dateProps: (...args: any[]) => {};
786
- multiSelectProps: (...args: any[]) => {};
787
- radioProps: (...args: any[]) => {};
788
- selectProps: (...args: any[]) => {};
789
- textAreaProps: (...args: any[]) => {};
790
- textEditorProps: (...args: any[]) => {};
791
- textInputProps: (...args: any[]) => {};
792
- toggleProps: (...args: any[]) => {};
793
- };
723
+ type OwnDynamicFormikProps<Values = any> = {
724
+ children: (args: {
725
+ inputs: React.ReactNode[];
726
+ formikProps: FormikProps<any>;
727
+ }) => React.ReactNode;
728
+ additionalInitialValues?: {
729
+ [key: string]: any;
730
+ };
731
+ allowCustomPropertySyntax?: boolean;
732
+ customPropertyStartsWithPattern?: string | RegExp;
733
+ customPropertySyntaxPattern?: string | RegExp;
734
+ dataDrivenInputProps?: any;
735
+ enableReinitialize?: boolean;
736
+ inputProps?: any;
737
+ initialErrors?: {
738
+ [key: string]: any;
739
+ };
740
+ initialValues?: Partial<Values>;
741
+ inputs: DynamicInput[];
742
+ onSubmit?: (...args: any[]) => any;
743
+ useCSVforArrays?: boolean;
744
+ validateOnBlur?: boolean;
745
+ validateOnMount?: boolean;
746
+ validationSchema?: any;
747
+ validationSchemaExtension?: any;
748
+ allProps?: (...args: any[]) => {
749
+ [key: string]: any;
750
+ };
751
+ checkboxListProps?: (...args: any[]) => {
752
+ [key: string]: any;
753
+ };
754
+ creatableProps?: (...args: any[]) => {
755
+ [key: string]: any;
756
+ };
757
+ dateProps?: (...args: any[]) => {
758
+ [key: string]: any;
759
+ };
760
+ multiSelectProps?: (...args: any[]) => {
761
+ [key: string]: any;
762
+ };
763
+ radioProps?: (...args: any[]) => {
764
+ [key: string]: any;
765
+ };
766
+ selectProps?: (...args: any[]) => {
767
+ [key: string]: any;
768
+ };
769
+ textAreaProps?: (...args: any[]) => {
770
+ [key: string]: any;
771
+ };
772
+ textEditorProps?: (...args: any[]) => {
773
+ [key: string]: any;
774
+ };
775
+ textInputProps?: (...args: any[]) => {
776
+ [key: string]: any;
777
+ };
778
+ toggleProps?: (...args: any[]) => {
779
+ [key: string]: any;
780
+ };
781
+ };
782
+ type DynamicFormikProps<Values> = OwnDynamicFormikProps<Values> & typeof DynamicFormik.defaultProps;
783
+ declare function DynamicFormik<Values = any>({ additionalInitialValues, allowCustomPropertySyntax, customPropertySyntaxPattern, customPropertyStartsWithPattern, children, dataDrivenInputProps, inputProps, initialValues, inputs, onSubmit, useCSVforArrays, validationSchema, validationSchemaExtension, ...otherProps }: DynamicFormikProps<Values>): React.JSX.Element;
784
+ declare namespace DynamicFormik {
785
+ var defaultProps: {
786
+ checkboxListProps: (...args: any[]) => {};
787
+ creatableProps: (...args: any[]) => {};
788
+ dateProps: (...args: any[]) => {};
789
+ multiSelectProps: (...args: any[]) => {};
790
+ radioProps: (...args: any[]) => {};
791
+ selectProps: (...args: any[]) => {};
792
+ textAreaProps: (...args: any[]) => {};
793
+ textEditorProps: (...args: any[]) => {};
794
+ textInputProps: (...args: any[]) => {};
795
+ toggleProps: (...args: any[]) => {};
796
+ };
794
797
  }
795
798
 
796
- type Props$u = {
797
- className?: string;
798
- style?: React.CSSProperties;
799
- status?: React.ReactNode;
800
- statusText?: React.ReactNode;
801
- };
799
+ type Props$u = {
800
+ className?: string;
801
+ style?: React.CSSProperties;
802
+ status?: React.ReactNode;
803
+ statusText?: React.ReactNode;
804
+ };
802
805
  declare function Error({ status, statusText, className, style, ...rest }: Props$u): React.JSX.Element;
803
806
 
804
- type Props$t = {
805
- className?: string;
806
- graphic?: React.ReactNode;
807
- header?: React.ReactNode;
808
- message?: React.ReactNode;
809
- style?: React.CSSProperties;
810
- title?: React.ReactNode;
811
- };
807
+ type Props$t = {
808
+ className?: string;
809
+ graphic?: React.ReactNode;
810
+ header?: React.ReactNode;
811
+ message?: React.ReactNode;
812
+ style?: React.CSSProperties;
813
+ title?: React.ReactNode;
814
+ };
812
815
  declare function ErrorPage({ className, graphic, header, message, style, title }: Props$t): React.JSX.Element;
813
816
 
814
- type Props$s = {
815
- className?: string;
816
- graphic?: React.ReactNode;
817
- header?: React.ReactNode;
818
- message?: React.ReactNode;
819
- statusUrl?: string;
820
- style?: React.CSSProperties;
821
- title?: React.ReactNode;
822
- };
817
+ type Props$s = {
818
+ className?: string;
819
+ graphic?: React.ReactNode;
820
+ header?: React.ReactNode;
821
+ message?: React.ReactNode;
822
+ statusUrl?: string;
823
+ style?: React.CSSProperties;
824
+ title?: React.ReactNode;
825
+ };
823
826
  declare function ErrorPageCore({ className, graphic, header, style, message, statusUrl, title, }: Props$s): React.JSX.Element;
824
827
 
825
- type Props$r = ({
826
- theme?: "core";
827
- } & Props$s) | ({
828
- theme: "boomerang";
829
- } & Props$t);
828
+ type Props$r = ({
829
+ theme?: "core";
830
+ } & Props$s) | ({
831
+ theme: "boomerang";
832
+ } & Props$t);
830
833
  declare function Error403(props: Props$r): React.JSX.Element;
831
834
 
832
- type Props$q = ({
833
- theme?: "core";
834
- } & Props$s) | ({
835
- theme: "boomerang";
836
- } & Props$t);
835
+ type Props$q = ({
836
+ theme?: "core";
837
+ } & Props$s) | ({
838
+ theme: "boomerang";
839
+ } & Props$t);
837
840
  declare function Error404(props: Props$q): React.JSX.Element;
838
841
 
839
- interface Props$p {
840
- className?: string;
841
- style?: React.CSSProperties;
842
- errorProps?: any;
843
- [key: string]: any;
844
- errorComponent?: React.FC<Pick<Props$p, "errorProps">>;
845
- }
846
- type State$2 = {
847
- hasError: boolean;
848
- error: any;
849
- };
850
- /**
851
- * todo: convert this to hooks in the future.
852
- * As of now getDerivedStateFromError not available via hooks
853
- */
854
- declare class ErrorBoundary extends Component<Props$p, State$2> {
855
- state: {
856
- hasError: boolean;
857
- error: {};
858
- };
859
- static defaultProps: {
860
- className: string;
861
- };
862
- static getDerivedStateFromError(error: any): {
863
- hasError: boolean;
864
- error: any;
865
- };
866
- componentDidCatch(error: any, info: any): void;
867
- render(): React.JSX.Element;
842
+ interface Props$p {
843
+ className?: string;
844
+ style?: React.CSSProperties;
845
+ errorProps?: any;
846
+ [key: string]: any;
847
+ errorComponent?: React.FC<Pick<Props$p, "errorProps">>;
848
+ }
849
+ type State$2 = {
850
+ hasError: boolean;
851
+ error: any;
852
+ };
853
+ /**
854
+ * todo: convert this to hooks in the future.
855
+ * As of now getDerivedStateFromError not available via hooks
856
+ */
857
+ declare class ErrorBoundary extends Component<Props$p, State$2> {
858
+ state: {
859
+ hasError: boolean;
860
+ error: {};
861
+ };
862
+ static defaultProps: {
863
+ className: string;
864
+ };
865
+ static getDerivedStateFromError(error: any): {
866
+ hasError: boolean;
867
+ error: any;
868
+ };
869
+ componentDidCatch(error: any, info: any): void;
870
+ render(): React.JSX.Element;
868
871
  }
869
872
 
870
- type Props$o = {
871
- className?: string;
872
- header?: React.ReactNode;
873
- message?: React.ReactNode;
874
- style?: React.CSSProperties;
875
- statusText?: React.ReactNode;
876
- statusUrl: string;
877
- title?: React.ReactNode;
878
- };
873
+ type Props$o = {
874
+ className?: string;
875
+ header?: React.ReactNode;
876
+ message?: React.ReactNode;
877
+ style?: React.CSSProperties;
878
+ statusText?: React.ReactNode;
879
+ statusUrl: string;
880
+ title?: React.ReactNode;
881
+ };
879
882
  declare function ErrorDragon({ className, header, message, statusText, title, statusUrl, style, ...rest }: Props$o): React.JSX.Element;
880
883
 
881
- type Props$n = ({
882
- theme?: "core";
883
- } & Props$s) | ({
884
- theme?: "boomerang";
885
- } & Props$o);
884
+ type Props$n = ({
885
+ theme?: "core";
886
+ } & Props$s) | ({
887
+ theme?: "boomerang";
888
+ } & Props$o);
886
889
  declare function ErrorFullPage({ theme, ...rest }: Props$n): React.JSX.Element;
887
890
 
888
- type FeatureHeaderProps = {
889
- actions?: React.ReactNode;
890
- children?: React.ReactNode;
891
- className?: string;
892
- footer?: React.ReactNode;
893
- header?: React.ReactNode;
894
- includeBorder?: boolean;
895
- isLoading?: boolean;
896
- nav?: React.ReactNode;
897
- style?: React.CSSProperties;
898
- title?: string;
899
- contentClassName?: string;
900
- skeletonClassName?: string;
901
- navClassName?: string;
902
- headerClassName?: string;
903
- footerClassName?: string;
904
- [key: string]: any;
905
- };
906
- declare function FeatureHeader({ actions, children, className, footer, header, includeBorder, isLoading, nav, style, contentClassName, footerClassName, headerClassName, navClassName, skeletonClassName, ...rest }: FeatureHeaderProps): React.JSX.Element;
907
- type FeatureHeaderTitleProps = {
908
- children?: React.ReactNode;
909
- className?: string;
910
- element?: any;
911
- style?: React.CSSProperties;
912
- [key: string]: any;
913
- };
914
- declare function FeatureHeaderTitle({ element: Element, children, className, style, ...rest }: FeatureHeaderTitleProps): React.JSX.Element;
891
+ type FeatureHeaderProps = {
892
+ actions?: React.ReactNode;
893
+ children?: React.ReactNode;
894
+ className?: string;
895
+ footer?: React.ReactNode;
896
+ header?: React.ReactNode;
897
+ includeBorder?: boolean;
898
+ isLoading?: boolean;
899
+ nav?: React.ReactNode;
900
+ style?: React.CSSProperties;
901
+ title?: string;
902
+ contentClassName?: string;
903
+ skeletonClassName?: string;
904
+ navClassName?: string;
905
+ headerClassName?: string;
906
+ footerClassName?: string;
907
+ [key: string]: any;
908
+ };
909
+ declare function FeatureHeader({ actions, children, className, footer, header, includeBorder, isLoading, nav, style, contentClassName, footerClassName, headerClassName, navClassName, skeletonClassName, ...rest }: FeatureHeaderProps): React.JSX.Element;
910
+ type FeatureHeaderTitleProps = {
911
+ children?: React.ReactNode;
912
+ className?: string;
913
+ element?: any;
914
+ style?: React.CSSProperties;
915
+ [key: string]: any;
916
+ };
917
+ declare function FeatureHeaderTitle({ element: Element, children, className, style, ...rest }: FeatureHeaderTitleProps): React.JSX.Element;
915
918
  declare function FeatureHeaderSubtitle(props: any): React.JSX.Element;
916
919
 
917
- type Props$m = NavLinkProps & React.HTMLAttributes<HTMLAnchorElement> & {
918
- activeClassName?: string;
919
- className?: string;
920
- disabled?: boolean;
921
- isLoading?: boolean;
922
- label?: string;
923
- style?: React.CSSProperties;
924
- [key: string]: any;
925
- };
920
+ type Props$m = NavLinkProps & React.HTMLAttributes<HTMLAnchorElement> & {
921
+ activeClassName?: string;
922
+ className?: string;
923
+ disabled?: boolean;
924
+ isLoading?: boolean;
925
+ label?: string;
926
+ style?: React.CSSProperties;
927
+ [key: string]: any;
928
+ };
926
929
  declare function FeatureNavTab({ activeClassName, className, disabled, isLoading, label, style, ...rest }: Props$m): React.JSX.Element;
927
930
 
928
- type Props$l = {
929
- ariaLabel: string;
930
- children?: React.ReactNode;
931
- className?: string;
932
- contained?: boolean;
933
- light?: boolean;
934
- style?: React.CSSProperties;
935
- };
931
+ type Props$l = {
932
+ ariaLabel: string;
933
+ children?: React.ReactNode;
934
+ className?: string;
935
+ contained?: boolean;
936
+ light?: boolean;
937
+ style?: React.CSSProperties;
938
+ };
936
939
  declare function FeatureNavTabs({ ariaLabel, children, className, contained, light, style, ...rest }: Props$l): React.JSX.Element;
937
940
 
938
- type State$1 = {
939
- formData: {
940
- [key: string]: any;
941
- };
942
- isConfirmModalOpen: boolean;
943
- isOpen: boolean;
944
- shouldConfirmModalClose: boolean;
945
- step: number;
946
- [key: string]: any;
947
- };
948
- type OwnProps$1 = {
949
- appElement?: string;
950
- children?: React.ReactNode;
951
- components?: any[];
952
- composedModalProps?: Omit<Props$A, "isOpen">;
953
- confirmModalProps?: Props$z;
954
- initialState?: Record<string, any>;
955
- isOpen?: boolean;
956
- modalHeaderChildren?: React.ReactElement;
957
- modalHeaderProps?: any;
958
- modalTrigger?: ModalTrigger;
959
- onCloseModal?: (...args: any[]) => any;
960
- onFormDataChange?: (formData: State$1["formData"]) => any;
961
- progressSteps?: {
962
- label?: string;
963
- }[];
964
- };
965
- type Props$k = OwnProps$1 & typeof FlowModalContainer.defaultProps;
966
- declare function FlowModalContainer(props: Props$k): React.JSX.Element;
967
- declare namespace FlowModalContainer {
968
- var defaultProps: {
969
- composedModalProps: {};
970
- isOpen: boolean;
971
- modalHeaderProps: {};
972
- };
941
+ type State$1 = {
942
+ formData: {
943
+ [key: string]: any;
944
+ };
945
+ isConfirmModalOpen: boolean;
946
+ isOpen: boolean;
947
+ shouldConfirmModalClose: boolean;
948
+ step: number;
949
+ [key: string]: any;
950
+ };
951
+ type OwnProps$1 = {
952
+ appElement?: string;
953
+ children?: React.ReactNode;
954
+ components?: any[];
955
+ composedModalProps?: Omit<Props$A, "isOpen">;
956
+ confirmModalProps?: Props$z;
957
+ initialState?: Record<string, any>;
958
+ isOpen?: boolean;
959
+ modalHeaderChildren?: React.ReactElement;
960
+ modalHeaderProps?: any;
961
+ modalTrigger?: ModalTrigger;
962
+ onCloseModal?: (...args: any[]) => any;
963
+ onFormDataChange?: (formData: State$1["formData"]) => any;
964
+ progressSteps?: {
965
+ label?: string;
966
+ }[];
967
+ };
968
+ type Props$k = OwnProps$1 & typeof FlowModalContainer.defaultProps;
969
+ declare function FlowModalContainer(props: Props$k): React.JSX.Element;
970
+ declare namespace FlowModalContainer {
971
+ var defaultProps: {
972
+ composedModalProps: {};
973
+ isOpen: boolean;
974
+ modalHeaderProps: {};
975
+ };
973
976
  }
974
977
 
975
- type Props$j = {
976
- children?: React.ReactNode;
977
- className?: string;
978
- element?: any;
979
- title?: string;
980
- [k: string]: any;
981
- };
978
+ type Props$j = {
979
+ children?: React.ReactNode;
980
+ className?: string;
981
+ element?: any;
982
+ title?: string;
983
+ [k: string]: any;
984
+ };
982
985
  declare const FlowModalForm: React.ForwardRefExoticComponent<Omit<Props$j, "ref"> & React.RefAttributes<any>>;
983
986
 
984
- type Props$i = {
985
- border?: "left" | "right";
986
- children: React.ReactNode;
987
- className?: string;
988
- isLoading?: boolean;
989
- small?: boolean;
990
- };
987
+ type Props$i = {
988
+ border?: "left" | "right";
989
+ children: React.ReactNode;
990
+ className?: string;
991
+ isLoading?: boolean;
992
+ small?: boolean;
993
+ };
991
994
  declare function FeatureSideNav(props: Props$i): React.JSX.Element;
992
995
 
993
- type Props$h = {
994
- children?: React.ReactNode;
995
- className?: string;
996
- isLoading?: boolean;
997
- };
996
+ type Props$h = {
997
+ children?: React.ReactNode;
998
+ className?: string;
999
+ isLoading?: boolean;
1000
+ };
998
1001
  declare function FeatureSideNavFooter(props: Props$h): React.JSX.Element;
999
1002
 
1000
- type Props$g = {
1001
- children: React.ReactNode;
1002
- className?: string;
1003
- isLoading?: boolean;
1004
- };
1003
+ type Props$g = {
1004
+ children: React.ReactNode;
1005
+ className?: string;
1006
+ isLoading?: boolean;
1007
+ };
1005
1008
  declare function FeatureSideNavHeader(props: Props$g): React.JSX.Element;
1006
1009
 
1007
- type FeatureSideNavLinksProps = {
1008
- children: React.ReactNode;
1009
- className?: string;
1010
- isLoading?: boolean;
1011
- };
1010
+ type FeatureSideNavLinksProps = {
1011
+ children: React.ReactNode;
1012
+ className?: string;
1013
+ isLoading?: boolean;
1014
+ };
1012
1015
  declare function FeatureSideNavLinks(props: FeatureSideNavLinksProps): React.JSX.Element;
1013
1016
 
1014
- type Props$f = NavLinkProps & {
1015
- activeClassName?: string;
1016
- className?: string;
1017
- children?: string | number | ((...args: any[]) => any) | any | React.ReactNode;
1018
- hasDivider?: boolean;
1019
- icon?: React.FC<any>;
1020
- iconProps?: any;
1021
- to: string;
1022
- style?: React.CSSProperties;
1023
- [key: string]: any;
1024
- };
1017
+ type Props$f = NavLinkProps & {
1018
+ activeClassName?: string;
1019
+ className?: string;
1020
+ children?: string | number | ((...args: any[]) => any) | any | React.ReactNode;
1021
+ hasDivider?: boolean;
1022
+ icon?: React.FC<any>;
1023
+ iconProps?: any;
1024
+ to: string;
1025
+ style?: React.CSSProperties;
1026
+ [key: string]: any;
1027
+ };
1025
1028
  declare function FeatureSideNavLink(props: Props$f): React.JSX.Element;
1026
1029
 
1027
- type Props$e = Omit<ReactModal.Props, "appElement"> & {
1028
- appElement?: string;
1029
- children?: React.ReactNode;
1030
- className?: string;
1031
- containerClassName?: string;
1032
- imageClassName?: string;
1033
- isOpen?: boolean;
1034
- modalProps?: any;
1035
- imageProps?: any;
1036
- imageSrc?: string;
1037
- };
1030
+ type Props$e = Omit<ReactModal.Props, "appElement"> & {
1031
+ appElement?: string;
1032
+ children?: React.ReactNode;
1033
+ className?: string;
1034
+ containerClassName?: string;
1035
+ imageClassName?: string;
1036
+ isOpen?: boolean;
1037
+ modalProps?: any;
1038
+ imageProps?: any;
1039
+ imageSrc?: string;
1040
+ };
1038
1041
  declare function ImageModal(props: Props$e): React.JSX.Element;
1039
1042
 
1040
- interface LoadingProps {
1041
- /** Time to delay in milliseconds before rendering the component */
1042
- delay?: number;
1043
- [k: string]: any;
1044
- }
1043
+ interface LoadingProps {
1044
+ /** Time to delay in milliseconds before rendering the component */
1045
+ delay?: number;
1046
+ [k: string]: any;
1047
+ }
1045
1048
  declare function Loading({ delay, ...rest }: LoadingProps): React.JSX.Element;
1046
1049
 
1047
- type Props$d = {
1048
- addUser?: (id?: string) => any;
1049
- avatarProps?: any;
1050
- avatarSrc?: string;
1051
- buttonClassName?: string;
1052
- buttonProps?: any;
1053
- email?: string;
1054
- id: string;
1055
- isDetail?: boolean;
1056
- isPartner?: boolean;
1057
- isUserNotAllowed?: boolean;
1058
- liProps?: any;
1059
- name?: string;
1060
- notAllowedMessage?: string;
1061
- removeUser?: (id: string) => any;
1062
- };
1050
+ type Props$d = {
1051
+ addUser?: (id?: string) => any;
1052
+ avatarProps?: any;
1053
+ avatarSrc?: string;
1054
+ buttonClassName?: string;
1055
+ buttonProps?: any;
1056
+ email?: string;
1057
+ id: string;
1058
+ isDetail?: boolean;
1059
+ isPartner?: boolean;
1060
+ isUserNotAllowed?: boolean;
1061
+ liProps?: any;
1062
+ name?: string;
1063
+ notAllowedMessage?: string;
1064
+ removeUser?: (id: string) => any;
1065
+ };
1063
1066
  declare function MemberBar({ addUser, avatarProps, avatarSrc, buttonClassName, buttonProps, email, id, isDetail, isPartner, isUserNotAllowed, liProps, name, notAllowedMessage, removeUser, }: Props$d): React.JSX.Element;
1064
1067
 
1065
- declare const TYPES: {
1066
- readonly DETAILS: "details";
1067
- readonly ARRAY: "array";
1068
- };
1069
- type TYPE = typeof TYPES[keyof typeof TYPES];
1070
- type Props$c = {
1071
- onEdit?: (...args: any[]) => any;
1072
- items?: string[] | {
1073
- name: string;
1074
- value: string;
1075
- }[];
1076
- style?: React.CSSProperties;
1077
- title?: string;
1078
- type?: TYPE;
1079
- };
1068
+ declare const TYPES: {
1069
+ readonly DETAILS: "details";
1070
+ readonly ARRAY: "array";
1071
+ };
1072
+ type TYPE = typeof TYPES[keyof typeof TYPES];
1073
+ type Props$c = {
1074
+ onEdit?: (...args: any[]) => any;
1075
+ items?: string[] | {
1076
+ name: string;
1077
+ value: string;
1078
+ }[];
1079
+ style?: React.CSSProperties;
1080
+ title?: string;
1081
+ type?: TYPE;
1082
+ };
1080
1083
  declare function ModalConfirmEdit({ items, onEdit, style, title, type, ...rest }: Props$c): React.JSX.Element;
1081
1084
 
1082
- type Props$b = {
1083
- children?: React.ReactNode;
1084
- className?: string;
1085
- element?: any;
1086
- title?: string;
1087
- [key: string]: any;
1088
- };
1085
+ type Props$b = {
1086
+ children?: React.ReactNode;
1087
+ className?: string;
1088
+ element?: any;
1089
+ title?: string;
1090
+ [key: string]: any;
1091
+ };
1089
1092
  declare const ModalForm: React.ForwardRefExoticComponent<Omit<Props$b, "ref"> & React.RefAttributes<any>>;
1090
1093
 
1091
- type OwnNotificationsContainerProps = {
1092
- containerId?: string;
1093
- enableMultiContainer?: boolean;
1094
- transition?: (...args: any[]) => any;
1095
- autoClose?: number;
1096
- closeOnClick?: boolean;
1097
- pauseOnHover?: boolean;
1098
- draggablePercent?: number;
1099
- hideProgressBar?: boolean;
1100
- };
1101
- type NotificationsContainerProps = OwnNotificationsContainerProps & typeof NotificationsContainer.defaultProps;
1102
- declare class NotificationsContainer extends Component<NotificationsContainerProps> {
1103
- static defaultProps: {
1104
- autoClose: number;
1105
- closeOnClick: boolean;
1106
- draggablePercent: number;
1107
- hideProgressBar: boolean;
1108
- pauseOnHover: boolean;
1109
- transition: ({ children, position, preventExitTransition, done, nodeRef, isIn }: react_toastify.ToastTransitionProps) => JSX.Element;
1110
- };
1111
- render(): React.JSX.Element;
1094
+ type OwnNotificationsContainerProps = {
1095
+ containerId?: string;
1096
+ enableMultiContainer?: boolean;
1097
+ transition?: (...args: any[]) => any;
1098
+ autoClose?: number;
1099
+ closeOnClick?: boolean;
1100
+ pauseOnHover?: boolean;
1101
+ draggablePercent?: number;
1102
+ hideProgressBar?: boolean;
1103
+ };
1104
+ type NotificationsContainerProps = OwnNotificationsContainerProps & typeof NotificationsContainer.defaultProps;
1105
+ declare class NotificationsContainer extends Component<NotificationsContainerProps> {
1106
+ static defaultProps: {
1107
+ autoClose: number;
1108
+ closeOnClick: boolean;
1109
+ draggablePercent: number;
1110
+ hideProgressBar: boolean;
1111
+ pauseOnHover: boolean;
1112
+ transition: ({ children, position, preventExitTransition, done, nodeRef, isIn }: react_toastify.ToastTransitionProps) => JSX.Element;
1113
+ };
1114
+ render(): React.JSX.Element;
1112
1115
  }
1113
1116
 
1114
- /** Create notifcation wrapper around react-toastify with default component for basic notification
1115
- * @param {*} notification notifcation content
1116
- * @param {Object} config custom configuration for ToastContainer
1117
- */
1117
+ /** Create notifcation wrapper around react-toastify with default component for basic notification
1118
+ * @param {*} notification notifcation content
1119
+ * @param {Object} config custom configuration for ToastContainer
1120
+ */
1118
1121
  declare const notify: (notification: any, config?: any) => void;
1119
1122
 
1120
- type OwnProps = {
1121
- children?: React.ReactNode;
1122
- className?: string;
1123
- closeToast?: (...args: any[]) => any;
1124
- kind?: "error" | "info" | "success" | "warning";
1125
- title: string;
1126
- subtitle?: React.ReactNode;
1127
- role?: string;
1128
- caption?: React.ReactNode;
1129
- lowContrast?: boolean;
1130
- onCloseButtonClick?: (...args: any[]) => any;
1131
- iconDescription?: string;
1132
- notificationType?: string;
1133
- hideCloseButton?: boolean;
1134
- timeout?: number;
1135
- toastProps?: any;
1136
- [index: string]: any;
1137
- };
1138
- type Props$a = OwnProps;
1139
- declare function ToastNotification({ iconDescription, closeToast, toastProps, notificationType, ...rest }: Props$a): React.JSX.Element;
1140
- declare namespace ToastNotification {
1141
- var defaultProps: {
1142
- kind: string;
1143
- title: string;
1144
- subtitle: string;
1145
- caption: undefined;
1146
- role: string;
1147
- notificationType: string;
1148
- iconDescription: string;
1149
- onCloseButtonClick: () => void;
1150
- hideCloseButton: boolean;
1151
- timeout: number;
1152
- };
1123
+ type OwnProps = {
1124
+ children?: React.ReactNode;
1125
+ className?: string;
1126
+ closeToast?: (...args: any[]) => any;
1127
+ kind?: "error" | "info" | "success" | "warning";
1128
+ title: string;
1129
+ subtitle?: React.ReactNode;
1130
+ role?: string;
1131
+ caption?: React.ReactNode;
1132
+ lowContrast?: boolean;
1133
+ onCloseButtonClick?: (...args: any[]) => any;
1134
+ iconDescription?: string;
1135
+ notificationType?: string;
1136
+ hideCloseButton?: boolean;
1137
+ timeout?: number;
1138
+ toastProps?: any;
1139
+ [index: string]: any;
1140
+ };
1141
+ type Props$a = OwnProps;
1142
+ declare function ToastNotification({ iconDescription, closeToast, toastProps, notificationType, ...rest }: Props$a): React.JSX.Element;
1143
+ declare namespace ToastNotification {
1144
+ var defaultProps: {
1145
+ kind: string;
1146
+ title: string;
1147
+ subtitle: string;
1148
+ caption: undefined;
1149
+ role: string;
1150
+ notificationType: string;
1151
+ iconDescription: string;
1152
+ onCloseButtonClick: () => void;
1153
+ hideCloseButton: boolean;
1154
+ timeout: number;
1155
+ };
1153
1156
  }
1154
1157
 
1155
- type Props$9 = {
1156
- kind?: "error" | "info" | "success" | "warning";
1157
- message?: string;
1158
- title?: string;
1159
- };
1158
+ type Props$9 = {
1159
+ kind?: "error" | "info" | "success" | "warning";
1160
+ message?: string;
1161
+ title?: string;
1162
+ };
1160
1163
  declare function PlatformBanner({ kind, message, title }: Props$9): React.JSX.Element;
1161
1164
 
1162
- type Props$8 = {
1163
- ["aria-labelledby"]: string;
1164
- baseEnvUrl?: string;
1165
- baseServicesUrl?: string;
1166
- id: string;
1167
- initialNotifications?: PlatformNotification[];
1168
- isOpen: boolean;
1169
- setHasNewNotifications: (hasNewNotifications: boolean) => void;
1170
- setNotificationsCount: (notificationsCount: number) => void;
1171
- };
1172
- type State = {
1173
- currentNotifications: PlatformNotification[];
1174
- numNotifications: number;
1175
- error: boolean;
1176
- };
1177
- declare class PlatformNotificationsContainer extends React.Component<Props$8, State> {
1178
- ws: any;
1179
- articleRef: React.RefObject<unknown>;
1180
- state: {
1181
- error: boolean;
1182
- currentNotifications: PlatformNotification[];
1183
- numNotifications: number;
1184
- };
1185
- componentDidMount(): void;
1186
- connect: () => void;
1187
- componentWillUnmount(): void;
1188
- /**
1189
- * recieve x amount of new notifications and pass them into state of current notifications
1190
- *
1191
- */
1192
- receiveNewNotifications: (incomingNotifications: {
1193
- body: string;
1194
- }) => void;
1195
- /**
1196
- * overwrite current notifications, the param represents all unread notifications
1197
- */
1198
- recieveAllUnreadNotifications: (incomingNotifications: any) => void;
1199
- /**
1200
- * @param {Object} readResponse - list of notificationIds that have been read
1201
- * the function removes the notifications from current state that are returned as "read"
1202
- */
1203
- replyRead: (readResponse: any) => void;
1204
- /**
1205
- * notificationId - a single notification that the user has marked as read
1206
- * @returns {Function} - makes network request, then after waiting for it to return, setState is called to update currentNotifications and numNotifications
1207
- */
1208
- handleReadNotification(notificationId: string): void;
1209
- /**
1210
- * @returns {Function} - makes network request with all remaining notification IDs, then after waiting for it to return, setState is called to empty out currentNotifications and numNotifications
1211
- */
1212
- handleReadAllNotifications(): void;
1213
- renderNotifications(): React.JSX.Element[];
1214
- render(): React.JSX.Element;
1165
+ type Props$8 = {
1166
+ ["aria-labelledby"]: string;
1167
+ baseEnvUrl?: string;
1168
+ baseServicesUrl?: string;
1169
+ id: string;
1170
+ initialNotifications?: PlatformNotification[];
1171
+ isOpen: boolean;
1172
+ setHasNewNotifications: (hasNewNotifications: boolean) => void;
1173
+ setNotificationsCount: (notificationsCount: number) => void;
1174
+ };
1175
+ type State = {
1176
+ currentNotifications: PlatformNotification[];
1177
+ numNotifications: number;
1178
+ error: boolean;
1179
+ };
1180
+ declare class PlatformNotificationsContainer extends React.Component<Props$8, State> {
1181
+ ws: any;
1182
+ articleRef: React.RefObject<unknown>;
1183
+ state: {
1184
+ error: boolean;
1185
+ currentNotifications: PlatformNotification[];
1186
+ numNotifications: number;
1187
+ };
1188
+ componentDidMount(): void;
1189
+ connect: () => void;
1190
+ componentWillUnmount(): void;
1191
+ /**
1192
+ * recieve x amount of new notifications and pass them into state of current notifications
1193
+ *
1194
+ */
1195
+ receiveNewNotifications: (incomingNotifications: {
1196
+ body: string;
1197
+ }) => void;
1198
+ /**
1199
+ * overwrite current notifications, the param represents all unread notifications
1200
+ */
1201
+ recieveAllUnreadNotifications: (incomingNotifications: any) => void;
1202
+ /**
1203
+ * @param {Object} readResponse - list of notificationIds that have been read
1204
+ * the function removes the notifications from current state that are returned as "read"
1205
+ */
1206
+ replyRead: (readResponse: any) => void;
1207
+ /**
1208
+ * notificationId - a single notification that the user has marked as read
1209
+ * @returns {Function} - makes network request, then after waiting for it to return, setState is called to update currentNotifications and numNotifications
1210
+ */
1211
+ handleReadNotification(notificationId: string): void;
1212
+ /**
1213
+ * @returns {Function} - makes network request with all remaining notification IDs, then after waiting for it to return, setState is called to empty out currentNotifications and numNotifications
1214
+ */
1215
+ handleReadAllNotifications(): void;
1216
+ renderNotifications(): React.JSX.Element[];
1217
+ render(): React.JSX.Element;
1215
1218
  }
1216
1219
 
1217
- /**
1218
- * @example
1219
- * <Portal>
1220
- * <p>Thinking with portals</p>
1221
- * </Portal>
1222
- */
1220
+ /**
1221
+ * @example
1222
+ * <Portal>
1223
+ * <p>Thinking with portals</p>
1224
+ * </Portal>
1225
+ */
1223
1226
  declare const Portal: any;
1224
1227
 
1225
- type Props$7 = {
1226
- baseServicesUrl: string;
1227
- closeModal: () => void;
1228
- isOpen: boolean;
1229
- organization?: string;
1230
- platformEmail?: string;
1231
- };
1228
+ type Props$7 = {
1229
+ baseServicesUrl: string;
1230
+ closeModal: () => void;
1231
+ isOpen: boolean;
1232
+ organization?: string;
1233
+ platformEmail?: string;
1234
+ };
1232
1235
  declare function PrivacyStatement({ baseServicesUrl, closeModal, isOpen, organization, platformEmail, }: Props$7): React.JSX.Element;
1233
1236
 
1234
- type Props$6 = Omit<RouteProps, "component"> & {
1235
- allowedUserRoles: string[];
1236
- component: React.ReactNode;
1237
- message?: string;
1238
- title?: string;
1239
- userRole: string | string[];
1240
- };
1237
+ type Props$6 = Omit<RouteProps, "component"> & {
1238
+ allowedUserRoles: string[];
1239
+ component: React.ReactNode;
1240
+ message?: string;
1241
+ title?: string;
1242
+ userRole: string | string[];
1243
+ };
1241
1244
  declare function ProtectedRoute({ allowedUserRoles, component, message, title, userRole, ...rest }: Props$6): React.JSX.Element;
1242
1245
 
1243
- type RadioButtonOption = {
1244
- disabled?: boolean;
1245
- labelText: string;
1246
- value: string;
1247
- };
1248
- type Props$5 = {
1249
- columnHeight?: string;
1250
- defaultSelected?: string;
1251
- disabled?: boolean;
1252
- helperText?: string;
1253
- id?: string;
1254
- key?: string;
1255
- label?: string;
1256
- labelText?: string;
1257
- name: string;
1258
- onChange: (selectedValue: string, radioGroup: string, e: React.ChangeEvent<HTMLInputElement>) => void;
1259
- options: RadioButtonOption[];
1260
- orientation?: "horizontal" | "vertical";
1261
- radioGroupProps?: Record<string, any>;
1262
- radioButtonProps?: Record<string, any>;
1263
- tooltipClassName?: string;
1264
- tooltipContent?: React.ReactNode;
1265
- tooltipProps?: TooltipHoverProps;
1266
- value?: string;
1267
- verticalWrapped?: boolean;
1268
- };
1246
+ type RadioButtonOption = {
1247
+ disabled?: boolean;
1248
+ labelText: string;
1249
+ value: string;
1250
+ };
1251
+ type Props$5 = {
1252
+ columnHeight?: string;
1253
+ defaultSelected?: string;
1254
+ disabled?: boolean;
1255
+ helperText?: string;
1256
+ id?: string;
1257
+ key?: string;
1258
+ label?: string;
1259
+ labelText?: string;
1260
+ name: string;
1261
+ onChange: (selectedValue: string, radioGroup: string, e: React.ChangeEvent<HTMLInputElement>) => void;
1262
+ options: RadioButtonOption[];
1263
+ orientation?: "horizontal" | "vertical";
1264
+ radioGroupProps?: Record<string, any>;
1265
+ radioButtonProps?: Record<string, any>;
1266
+ tooltipClassName?: string;
1267
+ tooltipContent?: React.ReactNode;
1268
+ tooltipProps?: TooltipHoverProps;
1269
+ value?: string;
1270
+ verticalWrapped?: boolean;
1271
+ };
1269
1272
  declare function RadioGroupComponent({ defaultSelected, disabled, helperText, id, label, labelText, name, onChange, options, orientation, radioGroupProps, radioButtonProps, tooltipClassName, tooltipContent, tooltipProps, value, columnHeight, verticalWrapped, }: Props$5): React.JSX.Element;
1270
1273
 
1271
- type Props$4 = React.ComponentPropsWithRef<"input"> & {
1272
- tooltipClassName?: string;
1273
- tooltipContent?: React.ReactNode;
1274
- tooltipProps?: TooltipHoverProps;
1275
- cols?: number;
1276
- defaultValue?: string | number;
1277
- enableCounter?: boolean;
1278
- helperText?: React.ReactNode;
1279
- hideLabel?: boolean;
1280
- invalid?: boolean;
1281
- invalidText?: React.ReactNode;
1282
- label?: string;
1283
- labelText: React.ReactNode;
1284
- light?: boolean;
1285
- max?: string | number;
1286
- maxCount?: number;
1287
- rows?: number;
1288
- };
1274
+ type Props$4 = React.ComponentPropsWithRef<"input"> & {
1275
+ tooltipClassName?: string;
1276
+ tooltipContent?: React.ReactNode;
1277
+ tooltipProps?: TooltipHoverProps;
1278
+ cols?: number;
1279
+ defaultValue?: string | number;
1280
+ enableCounter?: boolean;
1281
+ helperText?: React.ReactNode;
1282
+ hideLabel?: boolean;
1283
+ invalid?: boolean;
1284
+ invalidText?: React.ReactNode;
1285
+ label?: string;
1286
+ labelText: React.ReactNode;
1287
+ light?: boolean;
1288
+ max?: string | number;
1289
+ maxCount?: number;
1290
+ rows?: number;
1291
+ };
1289
1292
  declare const TextAreaComponent: React.ForwardRefExoticComponent<Omit<Props$4, "ref"> & React.RefAttributes<any>>;
1290
1293
 
1291
- type Props$3 = React.ComponentPropsWithRef<"input"> & {
1292
- value?: string;
1293
- onChange?: (...args: any) => any;
1294
- setError?: (...args: any) => any;
1295
- helperText?: React.ReactNode;
1296
- invalid?: boolean;
1297
- label?: string;
1298
- customError?: string;
1299
- labelText?: React.ReactNode;
1300
- maxWordCount?: number;
1301
- readonly?: boolean;
1302
- quillProps?: any;
1303
- };
1294
+ type Props$3 = React.ComponentPropsWithRef<"input"> & {
1295
+ value?: string;
1296
+ onChange?: (...args: any) => any;
1297
+ setError?: (...args: any) => any;
1298
+ helperText?: React.ReactNode;
1299
+ invalid?: boolean;
1300
+ label?: string;
1301
+ customError?: string;
1302
+ labelText?: React.ReactNode;
1303
+ maxWordCount?: number;
1304
+ readonly?: boolean;
1305
+ quillProps?: any;
1306
+ };
1304
1307
  declare const RichTextAreaComponent: React.ForwardRefExoticComponent<Omit<Props$3, "ref"> & React.RefAttributes<any>>;
1305
1308
 
1306
- type Props$2 = React.ComponentPropsWithRef<"input"> & {
1307
- tooltipClassName?: string;
1308
- tooltipContent?: React.ReactNode;
1309
- tooltipProps?: TooltipHoverProps;
1310
- defaultValue?: string | number;
1311
- helperText?: React.ReactNode;
1312
- hideLabel?: boolean;
1313
- inline?: boolean;
1314
- invalid?: boolean;
1315
- invalidText?: React.ReactNode;
1316
- label?: React.ReactNode;
1317
- labelText?: React.ReactNode;
1318
- light?: boolean;
1319
- readOnly?: boolean;
1320
- size?: "sm" | "md" | "lg";
1321
- warn?: boolean;
1322
- warnText?: React.ReactNode;
1323
- };
1309
+ type Props$2 = React.ComponentPropsWithRef<"input"> & {
1310
+ tooltipClassName?: string;
1311
+ tooltipContent?: React.ReactNode;
1312
+ tooltipProps?: TooltipHoverProps;
1313
+ defaultValue?: string | number;
1314
+ helperText?: React.ReactNode;
1315
+ hideLabel?: boolean;
1316
+ inline?: boolean;
1317
+ invalid?: boolean;
1318
+ invalidText?: React.ReactNode;
1319
+ label?: React.ReactNode;
1320
+ labelText?: React.ReactNode;
1321
+ light?: boolean;
1322
+ readOnly?: boolean;
1323
+ size?: "sm" | "md" | "lg";
1324
+ warn?: boolean;
1325
+ warnText?: React.ReactNode;
1326
+ };
1324
1327
  declare const TextInputComponent: React.ForwardRefExoticComponent<Omit<Props$2, "ref"> & React.RefAttributes<any>>;
1325
1328
 
1326
- type Props$1 = {
1327
- helperText?: React.ReactNode;
1328
- label?: React.ReactNode;
1329
- orientation?: "vertical" | "horizontal";
1330
- reversed?: boolean;
1331
- tooltipClassName?: string;
1332
- tooltipContent?: React.ReactNode;
1333
- tooltipProps?: TooltipHoverProps;
1334
- className?: string;
1335
- defaultToggled?: boolean;
1336
- disabled?: boolean;
1337
- hideLabel?: boolean;
1338
- id: string;
1339
- labelA?: React.ReactNode;
1340
- labelB?: React.ReactNode;
1341
- labelText?: React.ReactNode;
1342
- name?: string;
1343
- onClick?: (...args: any[]) => any;
1344
- onChange?: (...args: any[]) => any;
1345
- onToggle?: (...args: any[]) => any;
1346
- readOnly?: boolean;
1347
- size?: "sm" | "md";
1348
- toggled?: boolean;
1349
- invalid?: boolean;
1350
- invalidText?: string;
1351
- };
1329
+ type Props$1 = {
1330
+ helperText?: React.ReactNode;
1331
+ label?: React.ReactNode;
1332
+ orientation?: "vertical" | "horizontal";
1333
+ reversed?: boolean;
1334
+ tooltipClassName?: string;
1335
+ tooltipContent?: React.ReactNode;
1336
+ tooltipProps?: TooltipHoverProps;
1337
+ className?: string;
1338
+ defaultToggled?: boolean;
1339
+ disabled?: boolean;
1340
+ hideLabel?: boolean;
1341
+ id: string;
1342
+ labelA?: React.ReactNode;
1343
+ labelB?: React.ReactNode;
1344
+ labelText?: React.ReactNode;
1345
+ name?: string;
1346
+ onClick?: (...args: any[]) => any;
1347
+ onChange?: (...args: any[]) => any;
1348
+ onToggle?: (...args: any[]) => any;
1349
+ readOnly?: boolean;
1350
+ size?: "sm" | "md";
1351
+ toggled?: boolean;
1352
+ invalid?: boolean;
1353
+ invalidText?: string;
1354
+ };
1352
1355
  declare function ToggleComponent({ helperText, id, invalid, invalidText, reversed, label, labelText, labelA, labelB, orientation, tooltipClassName, tooltipContent, tooltipProps, ...toggleProps }: Props$1): React.JSX.Element;
1353
1356
 
1354
- type Props = {
1355
- carbonTheme?: "white" | "g10" | "g90" | "g100";
1356
- baseEnvUrl?: string;
1357
- config?: {
1358
- features?: {
1359
- "appSwitcher.enabled"?: boolean;
1360
- "consent.enabled"?: boolean;
1361
- "docs.enabled"?: boolean;
1362
- "eventing.enabled"?: boolean;
1363
- "feedback.enabled"?: boolean;
1364
- "homePage.enabled"?: boolean;
1365
- "partner.enabled"?: boolean;
1366
- "metering.enabled"?: boolean;
1367
- "notifications.enabled"?: boolean;
1368
- "notificationsCount.enabled"?: boolean;
1369
- "support.enabled"?: boolean;
1370
- "welcome.enabled"?: boolean;
1371
- };
1372
- navigation?: NavLink[];
1373
- platform: {
1374
- baseEnvUrl: string;
1375
- baseServicesUrl: string;
1376
- communityUrl?: string;
1377
- feedbackUrl?: string;
1378
- name?: string;
1379
- platformEmail?: string;
1380
- platformName: string;
1381
- platformVersion: string;
1382
- platformVersionError: boolean;
1383
- platformOrganization?: string;
1384
- privateTeams?: boolean;
1385
- sendIdeasUrl?: string;
1386
- sendMail?: boolean;
1387
- askICAEnabled?: boolean;
1388
- signOutUrl?: string;
1389
- version?: string;
1390
- instanceSwitcherEnabled?: boolean;
1391
- instances?: any[];
1392
- assistantVersion?: string;
1393
- agentsVersion?: string;
1394
- scribeFlowVersion?: string;
1395
- askICAUrl?: string;
1396
- supportUrl?: string;
1397
- };
1398
- platformMessage?: any;
1399
- };
1400
- leftPanel?: (args: {
1401
- close: () => void;
1402
- isOpen: boolean;
1403
- navLinks?: NavLink[];
1404
- }) => React.ReactNode;
1405
- platformName?: string;
1406
- productName?: string;
1407
- profileMenuItems?: React.ReactNode[];
1408
- renderPrivacyRedirect?: boolean;
1409
- renderPrivacyStatement?: boolean;
1410
- rightPanel?: {
1411
- icon?: React.ReactNode;
1412
- component: React.ReactNode;
1413
- };
1414
- skipToContentProps?: {
1415
- href?: string;
1416
- children?: string;
1417
- className?: string;
1418
- };
1419
- supportMenuItems?: React.ReactNode[];
1420
- templateMeteringEvent?: (props: any) => void;
1421
- triggerEvent?: (props: any) => any;
1422
- user?: User;
1423
- userTeams?: {
1424
- data: any;
1425
- isLoading: boolean;
1426
- error: any;
1427
- };
1428
- enableIcaMacs?: boolean;
1429
- handleShowTutorial?: Function;
1430
- tutorialScreenToShow?: string;
1431
- };
1357
+ type Props = {
1358
+ carbonTheme?: "white" | "g10" | "g90" | "g100";
1359
+ baseEnvUrl?: string;
1360
+ config?: {
1361
+ features?: {
1362
+ "appSwitcher.enabled"?: boolean;
1363
+ "consent.enabled"?: boolean;
1364
+ "docs.enabled"?: boolean;
1365
+ "eventing.enabled"?: boolean;
1366
+ "feedback.enabled"?: boolean;
1367
+ "homePage.enabled"?: boolean;
1368
+ "partner.enabled"?: boolean;
1369
+ "metering.enabled"?: boolean;
1370
+ "notifications.enabled"?: boolean;
1371
+ "notificationsCount.enabled"?: boolean;
1372
+ "support.enabled"?: boolean;
1373
+ "welcome.enabled"?: boolean;
1374
+ };
1375
+ navigation?: NavLink[];
1376
+ platform: {
1377
+ baseEnvUrl: string;
1378
+ baseServicesUrl: string;
1379
+ communityUrl?: string;
1380
+ feedbackUrl?: string;
1381
+ name?: string;
1382
+ platformEmail?: string;
1383
+ platformName: string;
1384
+ platformVersion: string;
1385
+ platformVersionError: boolean;
1386
+ platformOrganization?: string;
1387
+ privateTeams?: boolean;
1388
+ sendIdeasUrl?: string;
1389
+ sendMail?: boolean;
1390
+ askICAEnabled?: boolean;
1391
+ signOutUrl?: string;
1392
+ version?: string;
1393
+ instanceSwitcherEnabled?: boolean;
1394
+ instances?: any[];
1395
+ assistantVersion?: string;
1396
+ agentsVersion?: string;
1397
+ scribeFlowVersion?: string;
1398
+ askICAUrl?: string;
1399
+ supportUrl?: string;
1400
+ };
1401
+ platformMessage?: any;
1402
+ };
1403
+ leftPanel?: (args: {
1404
+ close: () => void;
1405
+ isOpen: boolean;
1406
+ navLinks?: NavLink[];
1407
+ }) => React.ReactNode;
1408
+ platformName?: string;
1409
+ productName?: string;
1410
+ profileMenuItems?: React.ReactNode[];
1411
+ renderPrivacyRedirect?: boolean;
1412
+ renderPrivacyStatement?: boolean;
1413
+ rightPanel?: {
1414
+ icon?: React.ReactNode;
1415
+ component: React.ReactNode;
1416
+ };
1417
+ skipToContentProps?: {
1418
+ href?: string;
1419
+ children?: string;
1420
+ className?: string;
1421
+ };
1422
+ supportMenuItems?: React.ReactNode[];
1423
+ templateMeteringEvent?: (props: any) => void;
1424
+ triggerEvent?: (props: any) => any;
1425
+ user?: User;
1426
+ userTeams?: {
1427
+ data: any;
1428
+ isLoading: boolean;
1429
+ error: any;
1430
+ };
1431
+ enableIcaMacs?: boolean;
1432
+ handleShowTutorial?: Function;
1433
+ tutorialScreenToShow?: string;
1434
+ };
1432
1435
  declare function UIShell({ baseEnvUrl, carbonTheme, config, leftPanel, platformName, productName, profileMenuItems, supportMenuItems, renderPrivacyRedirect, renderPrivacyStatement, rightPanel, handleShowTutorial, skipToContentProps, templateMeteringEvent, triggerEvent, tutorialScreenToShow, user, userTeams, enableIcaMacs, }: Props): React.JSX.Element;
1433
1436
 
1434
1437
  export { AdvantageSideNav, AutoSuggestBmrg as AutoSuggest, Avatar, CheckboxListComponent as CheckboxList, ComboBoxComponent as ComboBox, ComboBoxMultiSelect, ComposedModal, ConfirmModal, CreatableComponent as Creatable, DataDrivenInput, DateInputComponent as DateInput, DecisionButtons, DelayedRender, DynamicFormik, DynamicInput, Error, Error403, Error404, ErrorBoundary, ErrorDragon, ErrorFullPage, Error as ErrorMessage, ErrorPage, ErrorPageCore, FeatureHeader, FeatureHeaderSubtitle, FeatureHeaderTitle, FeatureNavTab, FeatureNavTabs, FeatureSideNav, FeatureSideNavFooter, FeatureSideNavHeader, FeatureSideNavLink, FeatureSideNavLinks, FlowModalContainer as FlowModal, FlowModalForm, FormInput, Header, _default as HeaderMenuItem, ImageModal, InputGovernor, Loading, MemberBar, Modal, ModalConfirmEdit, FlowModalContainer as ModalFlow, FlowModalForm as ModalFlowForm, ModalForm, ModalFunctionChildrenProps, ModalTrigger, NotificationsContainer, PlatformBanner, PlatformNotificationsContainer, Portal, PrivacyStatement, ProtectedRoute, RadioGroupComponent as RadioGroup, RichTextAreaComponent as RichTextArea, SimpleTeamService, Team, TextAreaComponent as TextArea, TextInputComponent as TextInput, ToastNotification, ToggleComponent as Toggle, TooltipHover, UIShell, User, UserTeams, notify };