@boomerang-io/carbon-addons-boomerang-react 4.6.5-beta.44 → 4.6.5-beta.46

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 +42 -42
  3. package/dist/cjs/components/AdvantageSideNav/AdvantageSideNav.js +212 -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 -169
  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 +93 -93
  76. package/dist/cjs/config/servicesConfig.js +20 -20
  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 +42 -42
  100. package/dist/esm/components/AdvantageSideNav/AdvantageSideNav.js +212 -212
  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 -169
  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 +93 -93
  173. package/dist/esm/config/servicesConfig.js +20 -20
  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 +1306 -1306
  197. package/package.json +167 -167
  198. package/scss/components/AboutPlatform/_aboutPlatform.scss +139 -139
  199. package/scss/components/AdvantageSideNav/_advantageSideNav.scss +258 -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 -176
  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,1428 @@ 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
+ 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
+ };
289
289
  declare function AdvantageSideNav(props: Props$I): React.JSX.Element;
290
290
 
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;
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;
334
334
  }
335
335
 
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
- };
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
+ };
344
344
  declare function Avatar({ alt, className, size, src, style, title, userName, plainTooltip, ...rest }: Props$H): React.JSX.Element;
345
345
 
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
- };
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
+ };
389
389
  declare function Header(props: Props$G): React.JSX.Element;
390
390
 
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
- });
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
+ });
416
416
  declare const _default: React.ForwardRefExoticComponent<Props$F & React.RefAttributes<HTMLLinkElement>>;
417
417
 
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
- */
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
+ */
433
433
  declare function TooltipHover({ align, direction, children, className, content, placement, tooltipContent, tooltipText, ...rest }: TooltipHoverProps): React.JSX.Element;
434
434
 
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
- };
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
+ };
454
454
  declare function CheckboxListComponent({ checkboxProps, disabled, helperText, id, initialSelectedItems, label, labelText, onChange, options, selectedItems: propsSelectedItems, tooltipClassName, tooltipContent, tooltipProps, }: Props$E): React.JSX.Element;
455
455
 
456
- type ListBoxType = "default" | "inline";
456
+ type ListBoxType = "default" | "inline";
457
457
  type ListBoxSize = "sm" | "md" | "lg";
458
458
 
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
- };
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
+ };
499
499
  declare function ComboBoxComponent({ disableClear, id, label, labelText, titleText, tooltipClassName, tooltipContent, tooltipProps, onChange, onInputChange, shouldFilterItem, ...restComboBoxProps }: Props$D): React.JSX.Element;
500
500
 
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;
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;
530
530
  };
531
531
 
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
- };
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
+ };
546
546
  declare function ComboBoxMultiSelect({ disableClear, id, initialSelectedItems, items, label, labelText, selectedItems, titleText, tooltipClassName, tooltipContent, tooltipProps, ...multiSelectProps }: Props$C): React.JSX.Element;
547
547
 
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
- };
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
+ };
567
567
  declare function ComposedModal(props: Props$B): React.JSX.Element;
568
568
 
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
- };
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
+ };
576
576
  declare function Modal(props: Props$A): React.JSX.Element;
577
577
 
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
- };
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
+ };
598
598
  declare function ConfirmModal(props: Props$z): React.JSX.Element;
599
599
 
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
- };
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
+ };
642
642
  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
643
 
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;
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;
661
661
  declare function DataDrivenInput(props: DataDrivenInputProps): React.JSX.Element | null;
662
662
 
663
- declare const DATE_TYPES: {
664
- DATE: string;
665
- DATE_RANGE: string;
663
+ declare const DATE_TYPES: {
664
+ DATE: string;
665
+ DATE_RANGE: string;
666
666
  };
667
667
 
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
- };
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
+ };
690
690
  declare const DateInputComponent: React.ForwardRefExoticComponent<Props$x & React.RefAttributes<any>>;
691
691
 
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
- };
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
+ };
712
712
  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
713
 
714
- type Props$v = {
715
- children: React.ReactNode;
716
- delay?: number;
717
- };
714
+ type Props$v = {
715
+ children: React.ReactNode;
716
+ delay?: number;
717
+ };
718
718
  declare function DelayedRender({ children, delay }: Props$v): React.JSX.Element | null;
719
719
 
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
- };
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
+ };
794
794
  }
795
795
 
796
- type Props$u = {
797
- className?: string;
798
- style?: React.CSSProperties;
799
- status?: React.ReactNode;
800
- statusText?: React.ReactNode;
801
- };
796
+ type Props$u = {
797
+ className?: string;
798
+ style?: React.CSSProperties;
799
+ status?: React.ReactNode;
800
+ statusText?: React.ReactNode;
801
+ };
802
802
  declare function Error({ status, statusText, className, style, ...rest }: Props$u): React.JSX.Element;
803
803
 
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
- };
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
+ };
812
812
  declare function ErrorPage({ className, graphic, header, message, style, title }: Props$t): React.JSX.Element;
813
813
 
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
- };
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
+ };
823
823
  declare function ErrorPageCore({ className, graphic, header, style, message, statusUrl, title, }: Props$s): React.JSX.Element;
824
824
 
825
- type Props$r = ({
826
- theme?: "core";
827
- } & Props$s) | ({
828
- theme: "boomerang";
829
- } & Props$t);
825
+ type Props$r = ({
826
+ theme?: "core";
827
+ } & Props$s) | ({
828
+ theme: "boomerang";
829
+ } & Props$t);
830
830
  declare function Error403(props: Props$r): React.JSX.Element;
831
831
 
832
- type Props$q = ({
833
- theme?: "core";
834
- } & Props$s) | ({
835
- theme: "boomerang";
836
- } & Props$t);
832
+ type Props$q = ({
833
+ theme?: "core";
834
+ } & Props$s) | ({
835
+ theme: "boomerang";
836
+ } & Props$t);
837
837
  declare function Error404(props: Props$q): React.JSX.Element;
838
838
 
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;
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;
868
868
  }
869
869
 
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
- };
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
+ };
879
879
  declare function ErrorDragon({ className, header, message, statusText, title, statusUrl, style, ...rest }: Props$o): React.JSX.Element;
880
880
 
881
- type Props$n = ({
882
- theme?: "core";
883
- } & Props$s) | ({
884
- theme?: "boomerang";
885
- } & Props$o);
881
+ type Props$n = ({
882
+ theme?: "core";
883
+ } & Props$s) | ({
884
+ theme?: "boomerang";
885
+ } & Props$o);
886
886
  declare function ErrorFullPage({ theme, ...rest }: Props$n): React.JSX.Element;
887
887
 
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;
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;
915
915
  declare function FeatureHeaderSubtitle(props: any): React.JSX.Element;
916
916
 
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
- };
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
+ };
926
926
  declare function FeatureNavTab({ activeClassName, className, disabled, isLoading, label, style, ...rest }: Props$m): React.JSX.Element;
927
927
 
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
- };
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
+ };
936
936
  declare function FeatureNavTabs({ ariaLabel, children, className, contained, light, style, ...rest }: Props$l): React.JSX.Element;
937
937
 
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
- };
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
+ };
973
973
  }
974
974
 
975
- type Props$j = {
976
- children?: React.ReactNode;
977
- className?: string;
978
- element?: any;
979
- title?: string;
980
- [k: string]: any;
981
- };
975
+ type Props$j = {
976
+ children?: React.ReactNode;
977
+ className?: string;
978
+ element?: any;
979
+ title?: string;
980
+ [k: string]: any;
981
+ };
982
982
  declare const FlowModalForm: React.ForwardRefExoticComponent<Omit<Props$j, "ref"> & React.RefAttributes<any>>;
983
983
 
984
- type Props$i = {
985
- border?: "left" | "right";
986
- children: React.ReactNode;
987
- className?: string;
988
- isLoading?: boolean;
989
- small?: boolean;
990
- };
984
+ type Props$i = {
985
+ border?: "left" | "right";
986
+ children: React.ReactNode;
987
+ className?: string;
988
+ isLoading?: boolean;
989
+ small?: boolean;
990
+ };
991
991
  declare function FeatureSideNav(props: Props$i): React.JSX.Element;
992
992
 
993
- type Props$h = {
994
- children?: React.ReactNode;
995
- className?: string;
996
- isLoading?: boolean;
997
- };
993
+ type Props$h = {
994
+ children?: React.ReactNode;
995
+ className?: string;
996
+ isLoading?: boolean;
997
+ };
998
998
  declare function FeatureSideNavFooter(props: Props$h): React.JSX.Element;
999
999
 
1000
- type Props$g = {
1001
- children: React.ReactNode;
1002
- className?: string;
1003
- isLoading?: boolean;
1004
- };
1000
+ type Props$g = {
1001
+ children: React.ReactNode;
1002
+ className?: string;
1003
+ isLoading?: boolean;
1004
+ };
1005
1005
  declare function FeatureSideNavHeader(props: Props$g): React.JSX.Element;
1006
1006
 
1007
- type FeatureSideNavLinksProps = {
1008
- children: React.ReactNode;
1009
- className?: string;
1010
- isLoading?: boolean;
1011
- };
1007
+ type FeatureSideNavLinksProps = {
1008
+ children: React.ReactNode;
1009
+ className?: string;
1010
+ isLoading?: boolean;
1011
+ };
1012
1012
  declare function FeatureSideNavLinks(props: FeatureSideNavLinksProps): React.JSX.Element;
1013
1013
 
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
- };
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
+ };
1025
1025
  declare function FeatureSideNavLink(props: Props$f): React.JSX.Element;
1026
1026
 
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
- };
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
+ };
1038
1038
  declare function ImageModal(props: Props$e): React.JSX.Element;
1039
1039
 
1040
- interface LoadingProps {
1041
- /** Time to delay in milliseconds before rendering the component */
1042
- delay?: number;
1043
- [k: string]: any;
1044
- }
1040
+ interface LoadingProps {
1041
+ /** Time to delay in milliseconds before rendering the component */
1042
+ delay?: number;
1043
+ [k: string]: any;
1044
+ }
1045
1045
  declare function Loading({ delay, ...rest }: LoadingProps): React.JSX.Element;
1046
1046
 
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
- };
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
+ };
1063
1063
  declare function MemberBar({ addUser, avatarProps, avatarSrc, buttonClassName, buttonProps, email, id, isDetail, isPartner, isUserNotAllowed, liProps, name, notAllowedMessage, removeUser, }: Props$d): React.JSX.Element;
1064
1064
 
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
- };
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
+ };
1080
1080
  declare function ModalConfirmEdit({ items, onEdit, style, title, type, ...rest }: Props$c): React.JSX.Element;
1081
1081
 
1082
- type Props$b = {
1083
- children?: React.ReactNode;
1084
- className?: string;
1085
- element?: any;
1086
- title?: string;
1087
- [key: string]: any;
1088
- };
1082
+ type Props$b = {
1083
+ children?: React.ReactNode;
1084
+ className?: string;
1085
+ element?: any;
1086
+ title?: string;
1087
+ [key: string]: any;
1088
+ };
1089
1089
  declare const ModalForm: React.ForwardRefExoticComponent<Omit<Props$b, "ref"> & React.RefAttributes<any>>;
1090
1090
 
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;
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;
1112
1112
  }
1113
1113
 
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
- */
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
+ */
1118
1118
  declare const notify: (notification: any, config?: any) => void;
1119
1119
 
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
- };
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
+ };
1153
1153
  }
1154
1154
 
1155
- type Props$9 = {
1156
- kind?: "error" | "info" | "success" | "warning";
1157
- message?: string;
1158
- title?: string;
1159
- };
1155
+ type Props$9 = {
1156
+ kind?: "error" | "info" | "success" | "warning";
1157
+ message?: string;
1158
+ title?: string;
1159
+ };
1160
1160
  declare function PlatformBanner({ kind, message, title }: Props$9): React.JSX.Element;
1161
1161
 
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;
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;
1215
1215
  }
1216
1216
 
1217
- /**
1218
- * @example
1219
- * <Portal>
1220
- * <p>Thinking with portals</p>
1221
- * </Portal>
1222
- */
1217
+ /**
1218
+ * @example
1219
+ * <Portal>
1220
+ * <p>Thinking with portals</p>
1221
+ * </Portal>
1222
+ */
1223
1223
  declare const Portal: any;
1224
1224
 
1225
- type Props$7 = {
1226
- baseServicesUrl: string;
1227
- closeModal: () => void;
1228
- isOpen: boolean;
1229
- organization?: string;
1230
- platformEmail?: string;
1231
- };
1225
+ type Props$7 = {
1226
+ baseServicesUrl: string;
1227
+ closeModal: () => void;
1228
+ isOpen: boolean;
1229
+ organization?: string;
1230
+ platformEmail?: string;
1231
+ };
1232
1232
  declare function PrivacyStatement({ baseServicesUrl, closeModal, isOpen, organization, platformEmail, }: Props$7): React.JSX.Element;
1233
1233
 
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
- };
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
+ };
1241
1241
  declare function ProtectedRoute({ allowedUserRoles, component, message, title, userRole, ...rest }: Props$6): React.JSX.Element;
1242
1242
 
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
- };
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
+ };
1269
1269
  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
1270
 
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
- };
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
+ };
1289
1289
  declare const TextAreaComponent: React.ForwardRefExoticComponent<Omit<Props$4, "ref"> & React.RefAttributes<any>>;
1290
1290
 
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
- };
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
+ };
1304
1304
  declare const RichTextAreaComponent: React.ForwardRefExoticComponent<Omit<Props$3, "ref"> & React.RefAttributes<any>>;
1305
1305
 
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
- };
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
+ };
1324
1324
  declare const TextInputComponent: React.ForwardRefExoticComponent<Omit<Props$2, "ref"> & React.RefAttributes<any>>;
1325
1325
 
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
- };
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
+ };
1352
1352
  declare function ToggleComponent({ helperText, id, invalid, invalidText, reversed, label, labelText, labelA, labelB, orientation, tooltipClassName, tooltipContent, tooltipProps, ...toggleProps }: Props$1): React.JSX.Element;
1353
1353
 
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
- };
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
+ };
1432
1432
  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
1433
 
1434
1434
  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 };