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