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

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 +53 -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 -165
  44. package/dist/cjs/components/Header/HeaderAppSwitcher.js +100 -100
  45. package/dist/cjs/components/Header/HeaderMenu.js +7 -7
  46. package/dist/cjs/components/Header/HeaderMenuItem.js +52 -52
  47. package/dist/cjs/components/Header/UserRequests.js +29 -29
  48. package/dist/cjs/components/ImageModal/ImageModal.js +17 -17
  49. package/dist/cjs/components/Loading/Loading.js +8 -8
  50. package/dist/cjs/components/MemberBar/MemberBar.js +20 -20
  51. package/dist/cjs/components/Modal/Modal.js +20 -20
  52. package/dist/cjs/components/ModalConfirmEdit/ModalConfirmArray.js +14 -14
  53. package/dist/cjs/components/ModalConfirmEdit/ModalConfirmDetails.js +11 -11
  54. package/dist/cjs/components/ModalConfirmEdit/ModalConfirmEdit.js +17 -17
  55. package/dist/cjs/components/ModalForm/ModalForm.js +9 -9
  56. package/dist/cjs/components/Notifications/NotificationsContainer.js +22 -22
  57. package/dist/cjs/components/Notifications/ToastNotification.js +21 -21
  58. package/dist/cjs/components/Notifications/notify.js +17 -17
  59. package/dist/cjs/components/PlatformBanner/PlatformBanner.js +8 -8
  60. package/dist/cjs/components/PlatformNotifications/PlatformNotification.js +17 -17
  61. package/dist/cjs/components/PlatformNotifications/PlatformNotificationsContainer.js +136 -136
  62. package/dist/cjs/components/Portal/Portal.js +14 -14
  63. package/dist/cjs/components/PrivacyRedirect/PrivacyRedirect.js +30 -30
  64. package/dist/cjs/components/PrivacyStatement/PrivacyStatement.js +90 -90
  65. package/dist/cjs/components/ProfileSettings/ProfileSettings.js +124 -124
  66. package/dist/cjs/components/ProtectedRoute/ProtectedRoute.js +13 -13
  67. package/dist/cjs/components/RadioGroup/RadioGroup.js +33 -33
  68. package/dist/cjs/components/RichTextArea/RichTextArea.js +142 -142
  69. package/dist/cjs/components/SignOut/SignOut.js +27 -27
  70. package/dist/cjs/components/SupportCenter/SupportCenter.js +65 -65
  71. package/dist/cjs/components/TextArea/TextArea.js +16 -16
  72. package/dist/cjs/components/TextInput/TextInput.js +13 -13
  73. package/dist/cjs/components/Toggle/Toggle.js +22 -22
  74. package/dist/cjs/components/TooltipHover/TooltipHover.js +39 -39
  75. package/dist/cjs/components/UIShell/UIShell.js +89 -92
  76. package/dist/cjs/config/servicesConfig.js +21 -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 +54 -43
  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 +169 -166
  141. package/dist/esm/components/Header/HeaderAppSwitcher.js +100 -100
  142. package/dist/esm/components/Header/HeaderMenu.js +7 -7
  143. package/dist/esm/components/Header/HeaderMenuItem.js +52 -52
  144. package/dist/esm/components/Header/UserRequests.js +29 -29
  145. package/dist/esm/components/ImageModal/ImageModal.js +17 -17
  146. package/dist/esm/components/Loading/Loading.js +8 -8
  147. package/dist/esm/components/MemberBar/MemberBar.js +20 -20
  148. package/dist/esm/components/Modal/Modal.js +20 -20
  149. package/dist/esm/components/ModalConfirmEdit/ModalConfirmArray.js +14 -14
  150. package/dist/esm/components/ModalConfirmEdit/ModalConfirmDetails.js +11 -11
  151. package/dist/esm/components/ModalConfirmEdit/ModalConfirmEdit.js +17 -17
  152. package/dist/esm/components/ModalForm/ModalForm.js +9 -9
  153. package/dist/esm/components/Notifications/NotificationsContainer.js +22 -22
  154. package/dist/esm/components/Notifications/ToastNotification.js +21 -21
  155. package/dist/esm/components/Notifications/notify.js +17 -17
  156. package/dist/esm/components/PlatformBanner/PlatformBanner.js +8 -8
  157. package/dist/esm/components/PlatformNotifications/PlatformNotification.js +17 -17
  158. package/dist/esm/components/PlatformNotifications/PlatformNotificationsContainer.js +136 -136
  159. package/dist/esm/components/Portal/Portal.js +14 -14
  160. package/dist/esm/components/PrivacyRedirect/PrivacyRedirect.js +30 -30
  161. package/dist/esm/components/PrivacyStatement/PrivacyStatement.js +90 -90
  162. package/dist/esm/components/ProfileSettings/ProfileSettings.js +124 -124
  163. package/dist/esm/components/ProtectedRoute/ProtectedRoute.js +13 -13
  164. package/dist/esm/components/RadioGroup/RadioGroup.js +33 -33
  165. package/dist/esm/components/RichTextArea/RichTextArea.js +142 -142
  166. package/dist/esm/components/SignOut/SignOut.js +27 -27
  167. package/dist/esm/components/SupportCenter/SupportCenter.js +65 -65
  168. package/dist/esm/components/TextArea/TextArea.js +16 -16
  169. package/dist/esm/components/TextInput/TextInput.js +13 -13
  170. package/dist/esm/components/Toggle/Toggle.js +22 -22
  171. package/dist/esm/components/TooltipHover/TooltipHover.js +39 -39
  172. package/dist/esm/components/UIShell/UIShell.js +89 -92
  173. package/dist/esm/config/servicesConfig.js +21 -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 -1302
  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 -172
  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,1424 +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
- enableNotifications?: boolean;
353
- enableNotificationsCount?: boolean;
354
- leftPanel?: (args: {
355
- close: () => void;
356
- isOpen: boolean;
357
- navLinks?: NavLink[];
358
- }) => React.ReactNode;
359
- navLinks?: NavLink[];
360
- platformMessage?: string;
361
- prefixName?: string;
362
- productName: string;
363
- profileMenuItems?: React.ReactNode[];
364
- rightPanel?: {
365
- icon?: React.ReactNode;
366
- component: React.ReactNode;
367
- };
368
- requestSummary?: {
369
- requireUserAction: number;
370
- submittedByUser: number;
371
- };
372
- skipToContentProps?: {
373
- href?: string;
374
- children?: string;
375
- className?: string;
376
- };
377
- supportMenuItems?: React.ReactNode[];
378
- instanceSwitcherMenuItems?: React.ReactNode[];
379
- templateMeteringEvent?: (props: any) => void;
380
- triggerEvent?: (props: any) => any;
381
- userTeams?: {
382
- data: any;
383
- isLoading: boolean;
384
- error: any;
385
- };
386
- };
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
+ };
387
389
  declare function Header(props: Props$G): React.JSX.Element;
388
390
 
389
- type Shared = {
390
- className?: string;
391
- children?: React.ReactNode;
392
- disabled?: boolean;
393
- element?: React.FC<any>;
394
- icon?: React.ReactNode;
395
- style?: React.CSSProperties;
396
- variant?: "danger" | "default";
397
- };
398
- type Props$F = (Shared & {
399
- href: string;
400
- kind: "app" | "internal" | "external";
401
- onClick?: () => void;
402
- text: string;
403
- type: "link";
404
- }) | (Shared & {
405
- onClick: () => void;
406
- text: string;
407
- type: "button";
408
- }) | (Shared & {
409
- onClick: () => void;
410
- src: string;
411
- type: "user";
412
- userName?: string;
413
- });
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
+ });
414
416
  declare const _default: React.ForwardRefExoticComponent<Props$F & React.RefAttributes<HTMLLinkElement>>;
415
417
 
416
- type Alignment = "start" | "end";
417
- type Direction = "auto" | "top" | "bottom" | "left" | "right";
418
- type Placement = Direction | `${Direction}-${Alignment}`;
419
- type TooltipHoverProps = TippyProps & {
420
- align?: Alignment;
421
- direction?: Direction;
422
- placement?: Placement;
423
- tooltipContent?: React.ReactNode;
424
- tooltipText?: React.ReactNode;
425
- [key: string]: any;
426
- };
427
- /**
428
- * TooltipHover to replace TooltipDefintion in most situations.
429
- * Uses https://github.com/atomiks/tippyjs-react
430
- */
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
+ */
431
433
  declare function TooltipHover({ align, direction, children, className, content, placement, tooltipContent, tooltipText, ...rest }: TooltipHoverProps): React.JSX.Element;
432
434
 
433
- type CheckboxListItem = {
434
- id: string;
435
- labelText: React.ReactNode;
436
- };
437
- type Props$E = {
438
- checkboxProps?: Record<string, any>;
439
- disabled?: boolean;
440
- helperText?: string;
441
- id?: string;
442
- initialSelectedItems?: string[];
443
- label?: string;
444
- labelText?: string;
445
- onChange?: (value: boolean, id: string, event: React.ChangeEvent<HTMLInputElement>, newSelectedItems: string[]) => void;
446
- options: CheckboxListItem[];
447
- selectedItems?: string[];
448
- tooltipClassName?: string;
449
- tooltipContent?: React.ReactNode;
450
- tooltipProps?: TooltipHoverProps;
451
- };
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
+ };
452
454
  declare function CheckboxListComponent({ checkboxProps, disabled, helperText, id, initialSelectedItems, label, labelText, onChange, options, selectedItems: propsSelectedItems, tooltipClassName, tooltipContent, tooltipProps, }: Props$E): React.JSX.Element;
453
455
 
454
- type ListBoxType = "default" | "inline";
456
+ type ListBoxType = "default" | "inline";
455
457
  type ListBoxSize = "sm" | "md" | "lg";
456
458
 
457
- type Props$D = {
458
- disableClear?: boolean;
459
- labelText?: React.ReactNode;
460
- label?: React.ReactNode;
461
- shouldFilterItem?: ((...args: any[]) => any) | boolean;
462
- tooltipClassName?: string;
463
- tooltipContent?: React.ReactNode;
464
- tooltipProps?: TooltipHoverProps;
465
- ariaLabel?: string;
466
- className?: string;
467
- direction?: "top" | "bottom";
468
- disabled?: boolean;
469
- downshiftProps?: DownshiftProps<any>;
470
- helperText?: string;
471
- id: string;
472
- initialSelectedItem?: any | string | number;
473
- invalid?: boolean;
474
- invalidText?: React.ReactNode;
475
- itemToElement?: (...args: any[]) => React.ReactNode;
476
- itemToString?: (...args: any[]) => string;
477
- items: any[];
478
- light?: boolean;
479
- name?: string;
480
- onBlur?: (...args: any[]) => any;
481
- onChange: (...args: any[]) => any;
482
- onInputChange?: (...args: any[]) => any;
483
- onKeyUp?: (...args: any[]) => any;
484
- onStateChange?: (...args: any[]) => any;
485
- onToggleClick?: (...args: any[]) => any;
486
- placeholder?: string;
487
- readOnly?: boolean;
488
- selectedItem?: any | string | number;
489
- size?: ListBoxSize;
490
- style?: React.CSSProperties;
491
- titleText?: React.ReactNode;
492
- translateWithId?: (id: string) => string;
493
- type?: ListBoxType;
494
- warn?: boolean;
495
- warnText?: React.ReactNode;
496
- };
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
+ };
497
499
  declare function ComboBoxComponent({ disableClear, id, label, labelText, titleText, tooltipClassName, tooltipContent, tooltipProps, onChange, onInputChange, shouldFilterItem, ...restComboBoxProps }: Props$D): React.JSX.Element;
498
500
 
499
- type MultiSelectComboBoxProps = {
500
- ariaLabel?: string;
501
- className?: string;
502
- disabled?: boolean;
503
- direction?: "top" | "bottom";
504
- id: string;
505
- initialSelectedItems?: any[];
506
- selectedItems?: any[];
507
- items?: any[];
508
- itemToString?: (...args: any[]) => string;
509
- itemToElement?: React.FC;
510
- titleText?: any;
511
- helperText?: string;
512
- tagProps?: any;
513
- onChange?: (...args: any[]) => any;
514
- onKeyUp?: (...args: any[]) => any;
515
- onInputBlur?: (...args: any[]) => any;
516
- onToggleClick?: (event: any) => any;
517
- open?: boolean;
518
- placeholder: string;
519
- shouldFilterItem?: (...args: any[]) => any;
520
- invalid?: boolean;
521
- invalidText?: string;
522
- translateWithId?: (...args: any[]) => any;
523
- onInputChange?: (...args: any[]) => any;
524
- type?: ListBoxType;
525
- light?: boolean;
526
- downshiftProps?: DownshiftProps<any>;
527
- 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;
528
530
  };
529
531
 
530
- type Props$C = Omit<MultiSelectComboBoxProps, "initialSelectedItems"> & {
531
- disableClear?: boolean;
532
- id: string;
533
- labelText?: string;
534
- label?: string;
535
- initialSelectedItems?: string | any[];
536
- items?: any;
537
- readOnly?: boolean;
538
- selectedItems?: string | any[];
539
- titleText?: string;
540
- tooltipClassName?: string;
541
- tooltipContent?: React.ReactNode;
542
- tooltipProps?: TooltipHoverProps;
543
- };
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
+ };
544
546
  declare function ComboBoxMultiSelect({ disableClear, id, initialSelectedItems, items, label, labelText, selectedItems, titleText, tooltipClassName, tooltipContent, tooltipProps, ...multiSelectProps }: Props$C): React.JSX.Element;
545
547
 
546
- type Props$B = {
547
- appElement?: string;
548
- children?: (args: {
549
- closeModal: () => void;
550
- forceCloseModal: () => void;
551
- resetInitialState: (arg: Record<string, any>) => void;
552
- setShouldConfirmModalClose: (shouldConfirmModalClose: boolean) => void;
553
- shouldConfirmModalClose: boolean;
554
- }) => React.ReactNode;
555
- composedModalProps?: Record<string, any>;
556
- confirmModalProps?: Record<string, any>;
557
- initialState?: Record<string, any>;
558
- isOpen?: boolean;
559
- modalHeaderChildren?: React.ReactNode;
560
- modalHeaderProps?: Record<string, any>;
561
- modalTrigger?: ModalTrigger;
562
- onCloseModal?: () => void;
563
- size?: "xs" | "sm" | "md" | "lg";
564
- };
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
+ };
565
567
  declare function ComposedModal(props: Props$B): React.JSX.Element;
566
568
 
567
- type Props$A = Omit<ReactModal.Props, "appElement"> & {
568
- appElement?: string;
569
- children: React.ReactNode;
570
- className?: string;
571
- containerClassName?: string;
572
- isOpen?: boolean;
573
- };
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
+ };
574
576
  declare function Modal(props: Props$A): React.JSX.Element;
575
577
 
576
- type Props$z = {
577
- affirmativeAction?: () => any;
578
- affirmativeButtonProps?: any;
579
- affirmativeText?: React.ReactNode;
580
- appElement?: string;
581
- children?: React.ReactNode;
582
- containerClassName?: string;
583
- isExternallyControlled?: boolean;
584
- isOpen?: boolean;
585
- label?: string;
586
- modalHeaderProps?: Record<string, any>;
587
- modalProps?: Omit<Props$A, "isOpen">;
588
- modalTrigger?: ModalTrigger;
589
- negativeAction?: () => any;
590
- negativeButtonProps?: any;
591
- negativeText?: React.ReactNode;
592
- onCloseModal?: () => any;
593
- selectorPrimaryFocus?: string;
594
- title?: string;
595
- };
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
+ };
596
598
  declare function ConfirmModal(props: Props$z): React.JSX.Element;
597
599
 
598
- type Props$y = {
599
- buttonClassName?: string;
600
- buttonContent?: React.ReactNode;
601
- buttonProps?: any;
602
- createKeyValuePair?: boolean;
603
- disabled?: boolean;
604
- id?: string;
605
- initialValues?: string | string[];
606
- invalid?: boolean;
607
- trimInput?: boolean;
608
- removeOnlyFirst?: boolean;
609
- invalidText?: string;
610
- helperText?: string;
611
- key?: string;
612
- keyHelperText?: string;
613
- keyLabel?: string;
614
- keyLabelText?: string;
615
- keyPlaceholder?: string;
616
- label?: string;
617
- labelText?: string;
618
- nonDeletable?: boolean;
619
- max?: number;
620
- onKeyBlur?: (e: React.FocusEvent<HTMLInputElement>) => any;
621
- onValueBlur?: (e: React.FocusEvent<HTMLInputElement>) => any;
622
- onInputBlur?: (e: React.FocusEvent<HTMLInputElement>) => any;
623
- onChange?: (items: string[]) => void;
624
- placeholder?: string;
625
- readOnly?: boolean;
626
- tagProps?: any;
627
- tagType?: string;
628
- textInputProps?: any;
629
- tooltipClassName?: string;
630
- tooltipContent?: React.ReactNode;
631
- tooltipProps?: TooltipHoverProps;
632
- type?: string;
633
- valueHelperText?: string;
634
- valueLabel?: string;
635
- valueLabelText?: string;
636
- valuePlaceholder?: string;
637
- value?: string | string[];
638
- values?: string | string[];
639
- };
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
+ };
640
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;
641
643
 
642
- type OwnDataDrivenInputProps = {
643
- id?: string;
644
- CheckboxList?: React.FC<any>;
645
- Creatable?: React.FC<any>;
646
- CustomComponent?: React.FC<any>;
647
- DateInput?: React.FC<any>;
648
- MultiSelect?: React.FC<any>;
649
- RadioGroup?: React.FC<any>;
650
- Select?: React.FC<any>;
651
- TextArea?: React.FC<any>;
652
- TextEditor?: React.FC<any>;
653
- TextInput?: React.FC<any>;
654
- Toggle?: React.FC<any>;
655
- formikProps?: any;
656
- onChange?: (...args: any[]) => any;
657
- };
658
- 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;
659
661
  declare function DataDrivenInput(props: DataDrivenInputProps): React.JSX.Element | null;
660
662
 
661
- declare const DATE_TYPES: {
662
- DATE: string;
663
- DATE_RANGE: string;
663
+ declare const DATE_TYPES: {
664
+ DATE: string;
665
+ DATE_RANGE: string;
664
666
  };
665
667
 
666
- type DATE_TYPE = typeof DATE_TYPES[keyof typeof DATE_TYPES];
667
- type Props$x = {
668
- id: string;
669
- dateFormat?: string;
670
- datePickerProps?: any;
671
- disabled?: boolean;
672
- helperText?: string;
673
- invalid?: boolean;
674
- max?: string;
675
- min?: string;
676
- label?: string;
677
- labelText?: string;
678
- name?: string;
679
- onCalendarChange?: (...args: any[]) => any;
680
- onChange?: (...args: any[]) => any;
681
- readOnly?: boolean;
682
- tooltipClassName?: string;
683
- tooltipContent?: React.ReactNode;
684
- tooltipProps?: TooltipHoverProps;
685
- type?: DATE_TYPE;
686
- value: string | string[];
687
- };
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
+ };
688
690
  declare const DateInputComponent: React.ForwardRefExoticComponent<Props$x & React.RefAttributes<any>>;
689
691
 
690
- type Props$w = {
691
- canUncheck?: boolean;
692
- children?: React.ReactNode;
693
- className?: string;
694
- defaultSelected?: string | number;
695
- disabled?: boolean;
696
- helperText?: string;
697
- id?: string;
698
- items: any[];
699
- label?: string;
700
- labelPosition?: string;
701
- labelText?: string;
702
- name: string;
703
- onChange?: (...args: any[]) => any;
704
- orientation?: "horizontal" | "vertical";
705
- tooltipClassName?: string;
706
- tooltipContent?: React.ReactNode;
707
- tooltipProps?: TooltipHoverProps;
708
- selectedItem?: string | number;
709
- };
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
+ };
710
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;
711
713
 
712
- type Props$v = {
713
- children: React.ReactNode;
714
- delay?: number;
715
- };
714
+ type Props$v = {
715
+ children: React.ReactNode;
716
+ delay?: number;
717
+ };
716
718
  declare function DelayedRender({ children, delay }: Props$v): React.JSX.Element | null;
717
719
 
718
- type OwnDynamicFormikProps<Values = any> = {
719
- children: (args: {
720
- inputs: React.ReactNode[];
721
- formikProps: FormikProps<any>;
722
- }) => React.ReactNode;
723
- additionalInitialValues?: {
724
- [key: string]: any;
725
- };
726
- allowCustomPropertySyntax?: boolean;
727
- customPropertyStartsWithPattern?: string | RegExp;
728
- customPropertySyntaxPattern?: string | RegExp;
729
- dataDrivenInputProps?: any;
730
- enableReinitialize?: boolean;
731
- inputProps?: any;
732
- initialErrors?: {
733
- [key: string]: any;
734
- };
735
- initialValues?: Partial<Values>;
736
- inputs: DynamicInput[];
737
- onSubmit?: (...args: any[]) => any;
738
- useCSVforArrays?: boolean;
739
- validateOnBlur?: boolean;
740
- validateOnMount?: boolean;
741
- validationSchema?: any;
742
- validationSchemaExtension?: any;
743
- allProps?: (...args: any[]) => {
744
- [key: string]: any;
745
- };
746
- checkboxListProps?: (...args: any[]) => {
747
- [key: string]: any;
748
- };
749
- creatableProps?: (...args: any[]) => {
750
- [key: string]: any;
751
- };
752
- dateProps?: (...args: any[]) => {
753
- [key: string]: any;
754
- };
755
- multiSelectProps?: (...args: any[]) => {
756
- [key: string]: any;
757
- };
758
- radioProps?: (...args: any[]) => {
759
- [key: string]: any;
760
- };
761
- selectProps?: (...args: any[]) => {
762
- [key: string]: any;
763
- };
764
- textAreaProps?: (...args: any[]) => {
765
- [key: string]: any;
766
- };
767
- textEditorProps?: (...args: any[]) => {
768
- [key: string]: any;
769
- };
770
- textInputProps?: (...args: any[]) => {
771
- [key: string]: any;
772
- };
773
- toggleProps?: (...args: any[]) => {
774
- [key: string]: any;
775
- };
776
- };
777
- type DynamicFormikProps<Values> = OwnDynamicFormikProps<Values> & typeof DynamicFormik.defaultProps;
778
- declare function DynamicFormik<Values = any>({ additionalInitialValues, allowCustomPropertySyntax, customPropertySyntaxPattern, customPropertyStartsWithPattern, children, dataDrivenInputProps, inputProps, initialValues, inputs, onSubmit, useCSVforArrays, validationSchema, validationSchemaExtension, ...otherProps }: DynamicFormikProps<Values>): React.JSX.Element;
779
- declare namespace DynamicFormik {
780
- var defaultProps: {
781
- checkboxListProps: (...args: any[]) => {};
782
- creatableProps: (...args: any[]) => {};
783
- dateProps: (...args: any[]) => {};
784
- multiSelectProps: (...args: any[]) => {};
785
- radioProps: (...args: any[]) => {};
786
- selectProps: (...args: any[]) => {};
787
- textAreaProps: (...args: any[]) => {};
788
- textEditorProps: (...args: any[]) => {};
789
- textInputProps: (...args: any[]) => {};
790
- toggleProps: (...args: any[]) => {};
791
- };
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
+ };
792
794
  }
793
795
 
794
- type Props$u = {
795
- className?: string;
796
- style?: React.CSSProperties;
797
- status?: React.ReactNode;
798
- statusText?: React.ReactNode;
799
- };
796
+ type Props$u = {
797
+ className?: string;
798
+ style?: React.CSSProperties;
799
+ status?: React.ReactNode;
800
+ statusText?: React.ReactNode;
801
+ };
800
802
  declare function Error({ status, statusText, className, style, ...rest }: Props$u): React.JSX.Element;
801
803
 
802
- type Props$t = {
803
- className?: string;
804
- graphic?: React.ReactNode;
805
- header?: React.ReactNode;
806
- message?: React.ReactNode;
807
- style?: React.CSSProperties;
808
- title?: React.ReactNode;
809
- };
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
+ };
810
812
  declare function ErrorPage({ className, graphic, header, message, style, title }: Props$t): React.JSX.Element;
811
813
 
812
- type Props$s = {
813
- className?: string;
814
- graphic?: React.ReactNode;
815
- header?: React.ReactNode;
816
- message?: React.ReactNode;
817
- statusUrl?: string;
818
- style?: React.CSSProperties;
819
- title?: React.ReactNode;
820
- };
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
+ };
821
823
  declare function ErrorPageCore({ className, graphic, header, style, message, statusUrl, title, }: Props$s): React.JSX.Element;
822
824
 
823
- type Props$r = ({
824
- theme?: "core";
825
- } & Props$s) | ({
826
- theme: "boomerang";
827
- } & Props$t);
825
+ type Props$r = ({
826
+ theme?: "core";
827
+ } & Props$s) | ({
828
+ theme: "boomerang";
829
+ } & Props$t);
828
830
  declare function Error403(props: Props$r): React.JSX.Element;
829
831
 
830
- type Props$q = ({
831
- theme?: "core";
832
- } & Props$s) | ({
833
- theme: "boomerang";
834
- } & Props$t);
832
+ type Props$q = ({
833
+ theme?: "core";
834
+ } & Props$s) | ({
835
+ theme: "boomerang";
836
+ } & Props$t);
835
837
  declare function Error404(props: Props$q): React.JSX.Element;
836
838
 
837
- interface Props$p {
838
- className?: string;
839
- style?: React.CSSProperties;
840
- errorProps?: any;
841
- [key: string]: any;
842
- errorComponent?: React.FC<Pick<Props$p, "errorProps">>;
843
- }
844
- type State$2 = {
845
- hasError: boolean;
846
- error: any;
847
- };
848
- /**
849
- * todo: convert this to hooks in the future.
850
- * As of now getDerivedStateFromError not available via hooks
851
- */
852
- declare class ErrorBoundary extends Component<Props$p, State$2> {
853
- state: {
854
- hasError: boolean;
855
- error: {};
856
- };
857
- static defaultProps: {
858
- className: string;
859
- };
860
- static getDerivedStateFromError(error: any): {
861
- hasError: boolean;
862
- error: any;
863
- };
864
- componentDidCatch(error: any, info: any): void;
865
- 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;
866
868
  }
867
869
 
868
- type Props$o = {
869
- className?: string;
870
- header?: React.ReactNode;
871
- message?: React.ReactNode;
872
- style?: React.CSSProperties;
873
- statusText?: React.ReactNode;
874
- statusUrl: string;
875
- title?: React.ReactNode;
876
- };
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
+ };
877
879
  declare function ErrorDragon({ className, header, message, statusText, title, statusUrl, style, ...rest }: Props$o): React.JSX.Element;
878
880
 
879
- type Props$n = ({
880
- theme?: "core";
881
- } & Props$s) | ({
882
- theme?: "boomerang";
883
- } & Props$o);
881
+ type Props$n = ({
882
+ theme?: "core";
883
+ } & Props$s) | ({
884
+ theme?: "boomerang";
885
+ } & Props$o);
884
886
  declare function ErrorFullPage({ theme, ...rest }: Props$n): React.JSX.Element;
885
887
 
886
- type FeatureHeaderProps = {
887
- actions?: React.ReactNode;
888
- children?: React.ReactNode;
889
- className?: string;
890
- footer?: React.ReactNode;
891
- header?: React.ReactNode;
892
- includeBorder?: boolean;
893
- isLoading?: boolean;
894
- nav?: React.ReactNode;
895
- style?: React.CSSProperties;
896
- title?: string;
897
- contentClassName?: string;
898
- skeletonClassName?: string;
899
- navClassName?: string;
900
- headerClassName?: string;
901
- footerClassName?: string;
902
- [key: string]: any;
903
- };
904
- declare function FeatureHeader({ actions, children, className, footer, header, includeBorder, isLoading, nav, style, contentClassName, footerClassName, headerClassName, navClassName, skeletonClassName, ...rest }: FeatureHeaderProps): React.JSX.Element;
905
- type FeatureHeaderTitleProps = {
906
- children?: React.ReactNode;
907
- className?: string;
908
- element?: any;
909
- style?: React.CSSProperties;
910
- [key: string]: any;
911
- };
912
- 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;
913
915
  declare function FeatureHeaderSubtitle(props: any): React.JSX.Element;
914
916
 
915
- type Props$m = NavLinkProps & React.HTMLAttributes<HTMLAnchorElement> & {
916
- activeClassName?: string;
917
- className?: string;
918
- disabled?: boolean;
919
- isLoading?: boolean;
920
- label?: string;
921
- style?: React.CSSProperties;
922
- [key: string]: any;
923
- };
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
+ };
924
926
  declare function FeatureNavTab({ activeClassName, className, disabled, isLoading, label, style, ...rest }: Props$m): React.JSX.Element;
925
927
 
926
- type Props$l = {
927
- ariaLabel: string;
928
- children?: React.ReactNode;
929
- className?: string;
930
- contained?: boolean;
931
- light?: boolean;
932
- style?: React.CSSProperties;
933
- };
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
+ };
934
936
  declare function FeatureNavTabs({ ariaLabel, children, className, contained, light, style, ...rest }: Props$l): React.JSX.Element;
935
937
 
936
- type State$1 = {
937
- formData: {
938
- [key: string]: any;
939
- };
940
- isConfirmModalOpen: boolean;
941
- isOpen: boolean;
942
- shouldConfirmModalClose: boolean;
943
- step: number;
944
- [key: string]: any;
945
- };
946
- type OwnProps$1 = {
947
- appElement?: string;
948
- children?: React.ReactNode;
949
- components?: any[];
950
- composedModalProps?: Omit<Props$A, "isOpen">;
951
- confirmModalProps?: Props$z;
952
- initialState?: Record<string, any>;
953
- isOpen?: boolean;
954
- modalHeaderChildren?: React.ReactElement;
955
- modalHeaderProps?: any;
956
- modalTrigger?: ModalTrigger;
957
- onCloseModal?: (...args: any[]) => any;
958
- onFormDataChange?: (formData: State$1["formData"]) => any;
959
- progressSteps?: {
960
- label?: string;
961
- }[];
962
- };
963
- type Props$k = OwnProps$1 & typeof FlowModalContainer.defaultProps;
964
- declare function FlowModalContainer(props: Props$k): React.JSX.Element;
965
- declare namespace FlowModalContainer {
966
- var defaultProps: {
967
- composedModalProps: {};
968
- isOpen: boolean;
969
- modalHeaderProps: {};
970
- };
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
+ };
971
973
  }
972
974
 
973
- type Props$j = {
974
- children?: React.ReactNode;
975
- className?: string;
976
- element?: any;
977
- title?: string;
978
- [k: string]: any;
979
- };
975
+ type Props$j = {
976
+ children?: React.ReactNode;
977
+ className?: string;
978
+ element?: any;
979
+ title?: string;
980
+ [k: string]: any;
981
+ };
980
982
  declare const FlowModalForm: React.ForwardRefExoticComponent<Omit<Props$j, "ref"> & React.RefAttributes<any>>;
981
983
 
982
- type Props$i = {
983
- border?: "left" | "right";
984
- children: React.ReactNode;
985
- className?: string;
986
- isLoading?: boolean;
987
- small?: boolean;
988
- };
984
+ type Props$i = {
985
+ border?: "left" | "right";
986
+ children: React.ReactNode;
987
+ className?: string;
988
+ isLoading?: boolean;
989
+ small?: boolean;
990
+ };
989
991
  declare function FeatureSideNav(props: Props$i): React.JSX.Element;
990
992
 
991
- type Props$h = {
992
- children?: React.ReactNode;
993
- className?: string;
994
- isLoading?: boolean;
995
- };
993
+ type Props$h = {
994
+ children?: React.ReactNode;
995
+ className?: string;
996
+ isLoading?: boolean;
997
+ };
996
998
  declare function FeatureSideNavFooter(props: Props$h): React.JSX.Element;
997
999
 
998
- type Props$g = {
999
- children: React.ReactNode;
1000
- className?: string;
1001
- isLoading?: boolean;
1002
- };
1000
+ type Props$g = {
1001
+ children: React.ReactNode;
1002
+ className?: string;
1003
+ isLoading?: boolean;
1004
+ };
1003
1005
  declare function FeatureSideNavHeader(props: Props$g): React.JSX.Element;
1004
1006
 
1005
- type FeatureSideNavLinksProps = {
1006
- children: React.ReactNode;
1007
- className?: string;
1008
- isLoading?: boolean;
1009
- };
1007
+ type FeatureSideNavLinksProps = {
1008
+ children: React.ReactNode;
1009
+ className?: string;
1010
+ isLoading?: boolean;
1011
+ };
1010
1012
  declare function FeatureSideNavLinks(props: FeatureSideNavLinksProps): React.JSX.Element;
1011
1013
 
1012
- type Props$f = NavLinkProps & {
1013
- activeClassName?: string;
1014
- className?: string;
1015
- children?: string | number | ((...args: any[]) => any) | any | React.ReactNode;
1016
- hasDivider?: boolean;
1017
- icon?: React.FC<any>;
1018
- iconProps?: any;
1019
- to: string;
1020
- style?: React.CSSProperties;
1021
- [key: string]: any;
1022
- };
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
+ };
1023
1025
  declare function FeatureSideNavLink(props: Props$f): React.JSX.Element;
1024
1026
 
1025
- type Props$e = Omit<ReactModal.Props, "appElement"> & {
1026
- appElement?: string;
1027
- children?: React.ReactNode;
1028
- className?: string;
1029
- containerClassName?: string;
1030
- imageClassName?: string;
1031
- isOpen?: boolean;
1032
- modalProps?: any;
1033
- imageProps?: any;
1034
- imageSrc?: string;
1035
- };
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
+ };
1036
1038
  declare function ImageModal(props: Props$e): React.JSX.Element;
1037
1039
 
1038
- interface LoadingProps {
1039
- /** Time to delay in milliseconds before rendering the component */
1040
- delay?: number;
1041
- [k: string]: any;
1042
- }
1040
+ interface LoadingProps {
1041
+ /** Time to delay in milliseconds before rendering the component */
1042
+ delay?: number;
1043
+ [k: string]: any;
1044
+ }
1043
1045
  declare function Loading({ delay, ...rest }: LoadingProps): React.JSX.Element;
1044
1046
 
1045
- type Props$d = {
1046
- addUser?: (id?: string) => any;
1047
- avatarProps?: any;
1048
- avatarSrc?: string;
1049
- buttonClassName?: string;
1050
- buttonProps?: any;
1051
- email?: string;
1052
- id: string;
1053
- isDetail?: boolean;
1054
- isPartner?: boolean;
1055
- isUserNotAllowed?: boolean;
1056
- liProps?: any;
1057
- name?: string;
1058
- notAllowedMessage?: string;
1059
- removeUser?: (id: string) => any;
1060
- };
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
+ };
1061
1063
  declare function MemberBar({ addUser, avatarProps, avatarSrc, buttonClassName, buttonProps, email, id, isDetail, isPartner, isUserNotAllowed, liProps, name, notAllowedMessage, removeUser, }: Props$d): React.JSX.Element;
1062
1064
 
1063
- declare const TYPES: {
1064
- readonly DETAILS: "details";
1065
- readonly ARRAY: "array";
1066
- };
1067
- type TYPE = typeof TYPES[keyof typeof TYPES];
1068
- type Props$c = {
1069
- onEdit?: (...args: any[]) => any;
1070
- items?: string[] | {
1071
- name: string;
1072
- value: string;
1073
- }[];
1074
- style?: React.CSSProperties;
1075
- title?: string;
1076
- type?: TYPE;
1077
- };
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
+ };
1078
1080
  declare function ModalConfirmEdit({ items, onEdit, style, title, type, ...rest }: Props$c): React.JSX.Element;
1079
1081
 
1080
- type Props$b = {
1081
- children?: React.ReactNode;
1082
- className?: string;
1083
- element?: any;
1084
- title?: string;
1085
- [key: string]: any;
1086
- };
1082
+ type Props$b = {
1083
+ children?: React.ReactNode;
1084
+ className?: string;
1085
+ element?: any;
1086
+ title?: string;
1087
+ [key: string]: any;
1088
+ };
1087
1089
  declare const ModalForm: React.ForwardRefExoticComponent<Omit<Props$b, "ref"> & React.RefAttributes<any>>;
1088
1090
 
1089
- type OwnNotificationsContainerProps = {
1090
- containerId?: string;
1091
- enableMultiContainer?: boolean;
1092
- transition?: (...args: any[]) => any;
1093
- autoClose?: number;
1094
- closeOnClick?: boolean;
1095
- pauseOnHover?: boolean;
1096
- draggablePercent?: number;
1097
- hideProgressBar?: boolean;
1098
- };
1099
- type NotificationsContainerProps = OwnNotificationsContainerProps & typeof NotificationsContainer.defaultProps;
1100
- declare class NotificationsContainer extends Component<NotificationsContainerProps> {
1101
- static defaultProps: {
1102
- autoClose: number;
1103
- closeOnClick: boolean;
1104
- draggablePercent: number;
1105
- hideProgressBar: boolean;
1106
- pauseOnHover: boolean;
1107
- transition: ({ children, position, preventExitTransition, done, nodeRef, isIn }: react_toastify.ToastTransitionProps) => JSX.Element;
1108
- };
1109
- 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;
1110
1112
  }
1111
1113
 
1112
- /** Create notifcation wrapper around react-toastify with default component for basic notification
1113
- * @param {*} notification notifcation content
1114
- * @param {Object} config custom configuration for ToastContainer
1115
- */
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
+ */
1116
1118
  declare const notify: (notification: any, config?: any) => void;
1117
1119
 
1118
- type OwnProps = {
1119
- children?: React.ReactNode;
1120
- className?: string;
1121
- closeToast?: (...args: any[]) => any;
1122
- kind?: "error" | "info" | "success" | "warning";
1123
- title: string;
1124
- subtitle?: React.ReactNode;
1125
- role?: string;
1126
- caption?: React.ReactNode;
1127
- lowContrast?: boolean;
1128
- onCloseButtonClick?: (...args: any[]) => any;
1129
- iconDescription?: string;
1130
- notificationType?: string;
1131
- hideCloseButton?: boolean;
1132
- timeout?: number;
1133
- toastProps?: any;
1134
- [index: string]: any;
1135
- };
1136
- type Props$a = OwnProps;
1137
- declare function ToastNotification({ iconDescription, closeToast, toastProps, notificationType, ...rest }: Props$a): React.JSX.Element;
1138
- declare namespace ToastNotification {
1139
- var defaultProps: {
1140
- kind: string;
1141
- title: string;
1142
- subtitle: string;
1143
- caption: undefined;
1144
- role: string;
1145
- notificationType: string;
1146
- iconDescription: string;
1147
- onCloseButtonClick: () => void;
1148
- hideCloseButton: boolean;
1149
- timeout: number;
1150
- };
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
+ };
1151
1153
  }
1152
1154
 
1153
- type Props$9 = {
1154
- kind?: "error" | "info" | "success" | "warning";
1155
- message?: string;
1156
- title?: string;
1157
- };
1155
+ type Props$9 = {
1156
+ kind?: "error" | "info" | "success" | "warning";
1157
+ message?: string;
1158
+ title?: string;
1159
+ };
1158
1160
  declare function PlatformBanner({ kind, message, title }: Props$9): React.JSX.Element;
1159
1161
 
1160
- type Props$8 = {
1161
- ["aria-labelledby"]: string;
1162
- baseEnvUrl?: string;
1163
- baseServicesUrl?: string;
1164
- id: string;
1165
- initialNotifications?: PlatformNotification[];
1166
- isOpen: boolean;
1167
- setHasNewNotifications: (hasNewNotifications: boolean) => void;
1168
- setNotificationsCount: (notificationsCount: number) => void;
1169
- };
1170
- type State = {
1171
- currentNotifications: PlatformNotification[];
1172
- numNotifications: number;
1173
- error: boolean;
1174
- };
1175
- declare class PlatformNotificationsContainer extends React.Component<Props$8, State> {
1176
- ws: any;
1177
- articleRef: React.RefObject<unknown>;
1178
- state: {
1179
- error: boolean;
1180
- currentNotifications: PlatformNotification[];
1181
- numNotifications: number;
1182
- };
1183
- componentDidMount(): void;
1184
- connect: () => void;
1185
- componentWillUnmount(): void;
1186
- /**
1187
- * recieve x amount of new notifications and pass them into state of current notifications
1188
- *
1189
- */
1190
- receiveNewNotifications: (incomingNotifications: {
1191
- body: string;
1192
- }) => void;
1193
- /**
1194
- * overwrite current notifications, the param represents all unread notifications
1195
- */
1196
- recieveAllUnreadNotifications: (incomingNotifications: any) => void;
1197
- /**
1198
- * @param {Object} readResponse - list of notificationIds that have been read
1199
- * the function removes the notifications from current state that are returned as "read"
1200
- */
1201
- replyRead: (readResponse: any) => void;
1202
- /**
1203
- * notificationId - a single notification that the user has marked as read
1204
- * @returns {Function} - makes network request, then after waiting for it to return, setState is called to update currentNotifications and numNotifications
1205
- */
1206
- handleReadNotification(notificationId: string): void;
1207
- /**
1208
- * @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
1209
- */
1210
- handleReadAllNotifications(): void;
1211
- renderNotifications(): React.JSX.Element[];
1212
- 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;
1213
1215
  }
1214
1216
 
1215
- /**
1216
- * @example
1217
- * <Portal>
1218
- * <p>Thinking with portals</p>
1219
- * </Portal>
1220
- */
1217
+ /**
1218
+ * @example
1219
+ * <Portal>
1220
+ * <p>Thinking with portals</p>
1221
+ * </Portal>
1222
+ */
1221
1223
  declare const Portal: any;
1222
1224
 
1223
- type Props$7 = {
1224
- baseServicesUrl: string;
1225
- closeModal: () => void;
1226
- isOpen: boolean;
1227
- organization?: string;
1228
- platformEmail?: string;
1229
- };
1225
+ type Props$7 = {
1226
+ baseServicesUrl: string;
1227
+ closeModal: () => void;
1228
+ isOpen: boolean;
1229
+ organization?: string;
1230
+ platformEmail?: string;
1231
+ };
1230
1232
  declare function PrivacyStatement({ baseServicesUrl, closeModal, isOpen, organization, platformEmail, }: Props$7): React.JSX.Element;
1231
1233
 
1232
- type Props$6 = Omit<RouteProps, "component"> & {
1233
- allowedUserRoles: string[];
1234
- component: React.ReactNode;
1235
- message?: string;
1236
- title?: string;
1237
- userRole: string | string[];
1238
- };
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
+ };
1239
1241
  declare function ProtectedRoute({ allowedUserRoles, component, message, title, userRole, ...rest }: Props$6): React.JSX.Element;
1240
1242
 
1241
- type RadioButtonOption = {
1242
- disabled?: boolean;
1243
- labelText: string;
1244
- value: string;
1245
- };
1246
- type Props$5 = {
1247
- columnHeight?: string;
1248
- defaultSelected?: string;
1249
- disabled?: boolean;
1250
- helperText?: string;
1251
- id?: string;
1252
- key?: string;
1253
- label?: string;
1254
- labelText?: string;
1255
- name: string;
1256
- onChange: (selectedValue: string, radioGroup: string, e: React.ChangeEvent<HTMLInputElement>) => void;
1257
- options: RadioButtonOption[];
1258
- orientation?: "horizontal" | "vertical";
1259
- radioGroupProps?: Record<string, any>;
1260
- radioButtonProps?: Record<string, any>;
1261
- tooltipClassName?: string;
1262
- tooltipContent?: React.ReactNode;
1263
- tooltipProps?: TooltipHoverProps;
1264
- value?: string;
1265
- verticalWrapped?: boolean;
1266
- };
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
+ };
1267
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;
1268
1270
 
1269
- type Props$4 = React.ComponentPropsWithRef<"input"> & {
1270
- tooltipClassName?: string;
1271
- tooltipContent?: React.ReactNode;
1272
- tooltipProps?: TooltipHoverProps;
1273
- cols?: number;
1274
- defaultValue?: string | number;
1275
- enableCounter?: boolean;
1276
- helperText?: React.ReactNode;
1277
- hideLabel?: boolean;
1278
- invalid?: boolean;
1279
- invalidText?: React.ReactNode;
1280
- label?: string;
1281
- labelText: React.ReactNode;
1282
- light?: boolean;
1283
- max?: string | number;
1284
- maxCount?: number;
1285
- rows?: number;
1286
- };
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
+ };
1287
1289
  declare const TextAreaComponent: React.ForwardRefExoticComponent<Omit<Props$4, "ref"> & React.RefAttributes<any>>;
1288
1290
 
1289
- type Props$3 = React.ComponentPropsWithRef<"input"> & {
1290
- value?: string;
1291
- onChange?: (...args: any) => any;
1292
- setError?: (...args: any) => any;
1293
- helperText?: React.ReactNode;
1294
- invalid?: boolean;
1295
- label?: string;
1296
- customError?: string;
1297
- labelText?: React.ReactNode;
1298
- maxWordCount?: number;
1299
- readonly?: boolean;
1300
- quillProps?: any;
1301
- };
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
+ };
1302
1304
  declare const RichTextAreaComponent: React.ForwardRefExoticComponent<Omit<Props$3, "ref"> & React.RefAttributes<any>>;
1303
1305
 
1304
- type Props$2 = React.ComponentPropsWithRef<"input"> & {
1305
- tooltipClassName?: string;
1306
- tooltipContent?: React.ReactNode;
1307
- tooltipProps?: TooltipHoverProps;
1308
- defaultValue?: string | number;
1309
- helperText?: React.ReactNode;
1310
- hideLabel?: boolean;
1311
- inline?: boolean;
1312
- invalid?: boolean;
1313
- invalidText?: React.ReactNode;
1314
- label?: React.ReactNode;
1315
- labelText?: React.ReactNode;
1316
- light?: boolean;
1317
- readOnly?: boolean;
1318
- size?: "sm" | "md" | "lg";
1319
- warn?: boolean;
1320
- warnText?: React.ReactNode;
1321
- };
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
+ };
1322
1324
  declare const TextInputComponent: React.ForwardRefExoticComponent<Omit<Props$2, "ref"> & React.RefAttributes<any>>;
1323
1325
 
1324
- type Props$1 = {
1325
- helperText?: React.ReactNode;
1326
- label?: React.ReactNode;
1327
- orientation?: "vertical" | "horizontal";
1328
- reversed?: boolean;
1329
- tooltipClassName?: string;
1330
- tooltipContent?: React.ReactNode;
1331
- tooltipProps?: TooltipHoverProps;
1332
- className?: string;
1333
- defaultToggled?: boolean;
1334
- disabled?: boolean;
1335
- hideLabel?: boolean;
1336
- id: string;
1337
- labelA?: React.ReactNode;
1338
- labelB?: React.ReactNode;
1339
- labelText?: React.ReactNode;
1340
- name?: string;
1341
- onClick?: (...args: any[]) => any;
1342
- onChange?: (...args: any[]) => any;
1343
- onToggle?: (...args: any[]) => any;
1344
- readOnly?: boolean;
1345
- size?: "sm" | "md";
1346
- toggled?: boolean;
1347
- invalid?: boolean;
1348
- invalidText?: string;
1349
- };
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
+ };
1350
1352
  declare function ToggleComponent({ helperText, id, invalid, invalidText, reversed, label, labelText, labelA, labelB, orientation, tooltipClassName, tooltipContent, tooltipProps, ...toggleProps }: Props$1): React.JSX.Element;
1351
1353
 
1352
- type Props = {
1353
- carbonTheme?: "white" | "g10" | "g90" | "g100";
1354
- baseEnvUrl?: string;
1355
- config?: {
1356
- features?: {
1357
- "appSwitcher.enabled"?: boolean;
1358
- "consent.enabled"?: boolean;
1359
- "docs.enabled"?: boolean;
1360
- "eventing.enabled"?: boolean;
1361
- "feedback.enabled"?: boolean;
1362
- "homePage.enabled"?: boolean;
1363
- "partner.enabled"?: boolean;
1364
- "metering.enabled"?: boolean;
1365
- "notifications.enabled"?: boolean;
1366
- "notificationsCount.enabled"?: boolean;
1367
- "support.enabled"?: boolean;
1368
- "welcome.enabled"?: boolean;
1369
- };
1370
- navigation?: NavLink[];
1371
- platform: {
1372
- baseEnvUrl: string;
1373
- baseServicesUrl: string;
1374
- communityUrl?: string;
1375
- feedbackUrl?: string;
1376
- name?: string;
1377
- platformEmail?: string;
1378
- platformName: string;
1379
- platformVersion: string;
1380
- platformVersionError: boolean;
1381
- platformOrganization?: string;
1382
- privateTeams?: boolean;
1383
- sendIdeasUrl?: string;
1384
- sendMail?: boolean;
1385
- askICAEnabled?: boolean;
1386
- signOutUrl?: string;
1387
- version?: string;
1388
- assistantVersion?: string;
1389
- agentsVersion?: string;
1390
- scribeFlowVersion?: string;
1391
- askICAUrl?: string;
1392
- supportUrl?: string;
1393
- };
1394
- platformMessage?: any;
1395
- };
1396
- leftPanel?: (args: {
1397
- close: () => void;
1398
- isOpen: boolean;
1399
- navLinks?: NavLink[];
1400
- }) => React.ReactNode;
1401
- platformName?: string;
1402
- productName?: string;
1403
- profileMenuItems?: React.ReactNode[];
1404
- renderPrivacyRedirect?: boolean;
1405
- renderPrivacyStatement?: boolean;
1406
- rightPanel?: {
1407
- icon?: React.ReactNode;
1408
- component: React.ReactNode;
1409
- };
1410
- skipToContentProps?: {
1411
- href?: string;
1412
- children?: string;
1413
- className?: string;
1414
- };
1415
- supportMenuItems?: React.ReactNode[];
1416
- templateMeteringEvent?: (props: any) => void;
1417
- triggerEvent?: (props: any) => any;
1418
- user?: User;
1419
- userTeams?: {
1420
- data: any;
1421
- isLoading: boolean;
1422
- error: any;
1423
- };
1424
- enableIcaMacs?: boolean;
1425
- handleShowTutorial?: Function;
1426
- tutorialScreenToShow?: string;
1427
- };
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
+ };
1428
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;
1429
1433
 
1430
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 };