@boomerang-io/carbon-addons-boomerang-react 4.6.11-beta.24 → 4.6.11-beta.26

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