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

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