@boomerang-io/carbon-addons-boomerang-react 4.6.11-beta.4 → 4.6.11-beta.41

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