/** * This package provides various UI components used to build GoodData applications (such as buttons, icons, and so on). * * @remarks * These components are all marked as internal, and we do not recommend using them directly outside of GoodData * because their API can change at any time. * * @packageDocumentation */ import { AccessGranularPermission } from '@gooddata/sdk-model'; import { AriaAttributes } from 'react'; import { AriaRole } from 'react'; import { CertificationStatus } from '@gooddata/sdk-model'; import { ChangeEvent } from 'react'; import { ColorFormats } from 'tinycolor2'; import type { CompletionContext } from '@codemirror/autocomplete'; import { CompletionSource } from '@codemirror/autocomplete'; import { Component } from 'react'; import { ComponentProps } from 'react'; import { ComponentPropsWithRef } from 'react'; import { ComponentType } from 'react'; import { Context } from 'react'; import { ContextType } from 'react'; import { CSSProperties } from 'react'; import { CsvDelimiterPreset } from '@gooddata/sdk-model'; import { CsvDelimiterValidationError } from '@gooddata/sdk-model'; import { DebouncedFunc } from 'lodash-es'; import { DependencyList } from 'react'; import { Dispatch } from 'react'; import type { EditorState } from '@codemirror/state'; import { EditorView } from '@codemirror/view'; import { ElementType } from 'react'; import { EmptyObject } from '@gooddata/util'; import { Extension } from '@codemirror/state'; import { FC } from 'react'; import { FilterContextItem } from '@gooddata/sdk-model'; import { FloatingContext } from '@floating-ui/react'; import { FocusEvent as FocusEvent_2 } from 'react'; import { FocusEventHandler } from 'react'; import { ForwardRefExoticComponent } from 'react'; import { FunctionComponent } from 'react'; import { FunctionComponentElement } from 'react'; import { GoodDataSdkError } from '@gooddata/sdk-ui'; import { HighlightStyle } from '@codemirror/language'; import { HTMLAttributes } from 'react'; import { HTMLProps } from 'react'; import { IAccessControlAware } from '@gooddata/sdk-model'; import { IAccessGrantee } from '@gooddata/sdk-model'; import { IAnalyticalBackend } from '@gooddata/sdk-backend-spi'; import { IAuditableUsers } from '@gooddata/sdk-model'; import { IColorPalette } from '@gooddata/sdk-model'; import { IColorPaletteDefinition } from '@gooddata/sdk-model'; import { IContextStore } from '@gooddata/sdk-ui'; import { IDashboardParameter } from '@gooddata/sdk-model'; import { IExecutionConfig } from '@gooddata/sdk-model'; import { IFeatureFlags } from '@gooddata/sdk-model'; import { IFilter } from '@gooddata/sdk-model'; import { ILocale } from '@gooddata/sdk-ui'; import { IMeasureSortTarget } from '@gooddata/sdk-model'; import { IMetadataObjectBase } from '@gooddata/sdk-model'; import { IntlShape } from 'react-intl'; import { IParameterMetadataObject } from '@gooddata/sdk-model'; import { IScalarParameterDefinition } from '@gooddata/sdk-model'; import { ISeparators } from '@gooddata/sdk-ui'; import { ISeparators as ISeparators_2 } from '@gooddata/number-formatter'; import { ISeparators as ISeparators_3 } from '@gooddata/sdk-model'; import { ISettings } from '@gooddata/sdk-model'; import { ISortItem } from '@gooddata/sdk-model'; import { ITheme } from '@gooddata/sdk-model'; import { IThemeDefinition } from '@gooddata/sdk-model'; import { IUser } from '@gooddata/sdk-model'; import { IWorkspacePermissions } from '@gooddata/sdk-model'; import { JSX } from 'react/jsx-runtime'; import { KeyboardEvent as KeyboardEvent_2 } from 'react'; import { KeyboardEventHandler } from 'react'; import { LocalIdRef } from '@gooddata/sdk-model'; import { MessageDescriptor } from 'react-intl'; import type { MetricType } from '@gooddata/sdk-model'; import { Middleware } from '@floating-ui/react'; import { ModifierKey } from 'react'; import { MouseEvent as MouseEvent_2 } from 'react'; import { MouseEventHandler } from 'react'; import { MutableRefObject } from 'react'; import { NamedExoticComponent } from 'react'; import { ObjectType } from '@gooddata/sdk-model'; import { ObjRef } from '@gooddata/sdk-model'; import { OffsetOptions } from '@floating-ui/react'; import { OnError } from '@gooddata/sdk-ui'; import { OnLoadingChanged } from '@gooddata/sdk-ui'; import { ParameterValue } from '@gooddata/sdk-model'; import { Placement } from '@floating-ui/react'; import { PointerEvent as PointerEvent_2 } from 'react'; import { PrimitiveType } from 'react-intl'; import { PropsWithChildren } from 'react'; import { PropsWithoutRef } from 'react'; import { Provider } from 'react'; import { PureComponent } from 'react'; import { ReactElement } from 'react'; import { ReactNode } from 'react'; import { Ref } from 'react'; import { RefAttributes } from 'react'; import { RefCallback } from 'react'; import { ReferenceType } from '@floating-ui/react'; import { RefObject } from 'react'; import { SetStateAction } from 'react'; import { ShareStatus } from '@gooddata/sdk-model'; import { SortDirection } from '@gooddata/sdk-model'; import { Strategy } from '@floating-ui/react'; import { SyntheticEvent } from 'react'; import { VirtualElement } from '@floating-ui/react'; import { WeekStart } from '@gooddata/sdk-model'; /** * Maps an accessibility config to ARIA attributes. Unset values are omitted, so spreading * the result never overrides an attribute the component sets itself (e.g. `aria-label={label}`). * * @internal */ export declare function accessibilityConfigToAttributes(accessibilityConfig?: IAccessibilityConfigBase): HTMLAttributes; /** * @internal */ export declare type ActionType = "LinkButton" | "Button" | "Switcher"; /** * @internal */ export declare function activateHeaderMenuItems(items: IHeaderMenuItem[][], ids: Array): IHeaderMenuItem[][]; /** * @internal */ export declare function AddButton({ title, isDisabled, onClick, tooltip, tooltipAlignPoints, className, }: IAddButtonProps): JSX.Element; /** * @internal */ export declare function AddGranteeBase({ appliedGrantees, addedGrantees, currentUser, isDirty, currentUserPermissions, sharedObject, previouslyFocusedRef, onCancel, onSubmit, onBackClick, onAddUserOrGroups, onDelete, onGranularGranteeChange, isGranteeShareLoading, }: IAddGranteeBaseProps): JSX.Element; /** * @internal */ export declare type AddMessageType = (message: MessageDescriptor, options?: MessageParameters) => IMessage; /** * Advanced format template definitions (complex conditional formats). * @internal */ export declare const ADVANCED_TEMPLATE_DEFINITIONS: readonly ITemplateDefinition[]; /** * @internal */ export declare type AlignConfig = { triggerAlignPoint: PositionPoint; overlayAlignPoint: PositionPoint; offset?: IOffset; }; /** * @internal */ export declare function alignConfigToAlignPoint({ triggerAlignPoint, overlayAlignPoint, offset, }: AlignConfig): IAlignPoint; /** * @internal */ export declare type Alignment = { left: number; top: number; right?: number; width?: number; height?: number; align: string; }; /** * @internal */ export declare function alignPointsToFallbackPlacements(alignPoints: ILegacyAlignPoint[]): Placement[]; /** * @internal */ export declare function alignPointsToPlacement(alignPoints: ILegacyAlignPoint[]): Placement; /** * @internal */ export declare function alignPointToPlacement(alignPoint: ILegacyAlignPoint): Placement; /** * Every CommonMark feature, which is what omitting the list recognises too. The extensions are not * among them: they are recognised only where they are asked for by name. * * @internal */ export declare const ALL_RICH_TEXT_FEATURES: readonly RichTextFeature[]; /** * @internal */ export declare function AppHeader({ logoHref, accountMenuItems, helpMenuItems, menuItemsGroups, search, notificationsPanel, workspacePicker, isAccessibilityCompliant, logoUrl, logoTitle, organizationName, className, activeColor, headerColor, headerTextColor, documentationUrl, expiredDate, showUpsellButton, onUpsellButtonClick, badges, showStaticHelpMenu, userName, helpMenuDropdownAlignPoints: helpDropdownAlign, disableHelpDropdown, onHelpClick, helpRedirectUrl, showChatItem, isChatOpen, onChatItemClick, onLogoClick, onMenuItemClick, }: IAppHeaderProps): JSX.Element; /** * @internal */ export declare type ArrowDirections = Record; /** * @internal */ export declare type ArrowOffset = number[]; /** * @internal */ export declare type ArrowOffsets = Record; /** * @internal */ export declare function AsyncList(props: IAsyncListProps): JSX.Element; /** * @internal */ export declare function AutoSize({ children }: IAutoSizeProps): JSX.Element; /** * @internal */ export declare function BackButton({ onClick, className, disabled }: IBackButtonProps): JSX.Element; /** * @internal */ export declare type BackgroundShape = "circle" | "square"; /** * @internal */ export declare type BackgroundType = "fill" | "border"; /** * Utility function for creating BEM class names in \@gooddata/sdk-ui-kit. * If you need to use BEM in other libraries, see this function implementation. * * - b(props) - creates a class names for BEM block * - e(element, props) - creates a class name for BEM element * * Example usage: * * const \{ b, e \} = bem("gd-ui-button"); * * b(\{ size: "large" \}) === "gd-ui-button gd-ui-button--size-large" * * b(\{ isSelected: true \}) === "gd-ui-button gd-ui-button--isSelected" * * e("icon", \{ size: "large" \}) === "gd-ui-button__icon gd-ui-button__icon--size-large" * * e("icon", \{ isDisabled: true \}) === "gd-ui-button__icon gd-ui-button__icon--isDisabled" * * @internal */ export declare const bem: (block: `gd-ui-kit-${string}`) => { /** * Creates a class names for BEM block. * * Example usage: * * const \{ b, e \} = bem("gd-ui-button"); * * b(\{ size: "large" \}) === "gd-ui-button gd-ui-button--size-large" * * b(\{ isSelected: true \}) === "gd-ui-button gd-ui-button--isSelected" */ b: (props?: StyleProps) => string; /** * Creates a class name for BEM element. * * Example usage: * * const \{ b, e \} = bem("gd-ui-button"); * * e("icon", \{ size: "large" \}) === "gd-ui-button__icon gd-ui-button__icon--size-large" * * e("icon", \{ isDisabled: true \}) === "gd-ui-button__icon gd-ui-button__icon--isDisabled" */ e: (element: string, props?: StyleProps) => string; }; /** * Utility function for creating BEM class names. * * - b(props) - creates a class names for BEM block * - e(element, props) - creates a class name for BEM element * * Example usage: * * const \{ b, e \} = bem("gd-ui-button"); * * b(\{ size: "large" \}) === "gd-ui-button gd-ui-button--size-large" * * b(\{ isSelected: true \}) === "gd-ui-button gd-ui-button--isSelected" * * e("icon", \{ size: "large" \}) === "gd-ui-button__icon gd-ui-button__icon--size-large" * * e("icon", \{ isDisabled: true \}) === "gd-ui-button__icon gd-ui-button__icon--isDisabled" * * @internal */ export declare function bemFactory(block: `${TPrefix}-${string}`): { /** * Creates a class names for BEM block. * * Example usage: * * const \{ b, e \} = bem("gd-ui-button"); * * b(\{ size: "large" \}) === "gd-ui-button gd-ui-button--size-large" * * b(\{ isSelected: true \}) === "gd-ui-button gd-ui-button--isSelected" */ b: (props?: StyleProps) => string; /** * Creates a class name for BEM element. * * Example usage: * * const \{ b, e \} = bem("gd-ui-button"); * * e("icon", \{ size: "large" \}) === "gd-ui-button__icon gd-ui-button__icon--size-large" * * e("icon", \{ isDisabled: true \}) === "gd-ui-button__icon gd-ui-button__icon--isDisabled" */ e: (element: string, props?: StyleProps) => string; }; /** * @internal */ export declare const Bubble: NamedExoticComponent; /** * @internal */ export declare class BubbleFocusTrigger extends BubbleTrigger { static defaultProps: BubbleFocusTriggerProps; protected eventListeners(): any; } /** * @internal */ export declare type BubbleFocusTriggerProps = IBubbleTriggerProps; /** * @internal */ export declare function BubbleHeaderSeparator({ title, message }: IBubbleHeaderSeparatorProps): JSX.Element; /** * @internal */ export declare class BubbleHoverTrigger extends BubbleTrigger { static defaultProps: IBubbleHoverTriggerProps; scheduleId: number; componentWillUnmount(): void; private cancelBubbleVisibilityChange; private scheduleBubbleVisibilityChange; protected eventListeners(): any; } /** * @internal */ export declare class BubbleTrigger

extends PureComponent { static defaultProps: IBubbleTriggerProps; readonly state: Readonly; private onClose; protected eventListeners(): any; protected changeBubbleVisibility(active: boolean): void; render(): JSX.Element; } /** * @internal */ export declare const Button: ForwardRefExoticComponent>; /** * @internal */ export declare const CatalogItemPicker: (props: ICatalogItemPickerProps) => ReactElement; /** * The catalog item picker content without its header — just the search + grouped list (+ footer in * multi-select mode). Reuses the exact same list as {@link CatalogItemPicker}; intended for embedding * under an external anchor button (e.g. the ranking filter measure dropdown). * * @internal */ export declare const CatalogItemPickerContent: (props: ICatalogItemPickerProps) => ReactElement; /** * Selection mode for the catalog item picker. * * @internal */ export declare type CatalogItemPickerSelectionMode = "single" | "multiple"; /** * Supported item types for the catalog item picker. * * @internal */ export declare type CatalogItemPickerType = "metric" | "attribute" | "date"; /** * @internal */ export declare function ChartSortingDialog(props: IChartSortingProps): JSX.Element; /** * @internal */ export declare const Checkbox: NamedExoticComponent; /** * @internal */ export declare function CodeArea({ code, onCopyCode }: ICodeAreaProps): JSX.Element; /** * @internal */ export declare function CodeLanguageSelect({ selectedLanguage, onLanguageChanged }: ICodeLanguageSelectProps): JSX.Element; /** * @internal */ export declare type CodeLanguageType = "js" | "ts"; /** * @internal */ export declare function CodeOptions({ option, onChange }: ICodeOptionsProps): JSX.Element; /** * The references the text points at, by the identifier each was written with. * * @internal */ export declare function collectReferences(content: string): ReferenceMap; /** * Color in format supported by SVG * https://www.w3.org/TR/SVGColor12/#color * * @internal */ export declare type Color = string; /** * @internal */ export declare function ColorPicker(props: IColorPickerProps): JSX.Element; /** * @internal */ export declare function ColorPickerPointer(): JSX.Element; /** * @internal */ export declare function ColorPreview(props: IColorPreviewProps): JSX.Element; /** * @internal */ export declare function CommunityEditionDialog({ headerText, infoText, copyrightText, links, onClose, closeButtonText, }: ICommunityEditionDialogProps): JSX.Element; /** * @internal */ export declare function ComponentLabelsProvider({ children, labels }: IComponentLabelsProviderProps): JSX.Element; /** * @internal */ export declare function ComponentTable({ Component, columnsBy, rowsBy, baseProps, debug, codeSnippet, cellWidth, cellHeight, align, cellStyle, }: IComponentTableProps): JSX.Element; /** * A language the config editor can display and emit. Every editor instance has a primary language — * the one its value is written in — and may offer the other as an on-the-fly projection of it. * * @internal */ export declare type ConfigEditorLanguage = "json" | "yaml"; /** * @internal */ export declare const ConfirmDialog: NamedExoticComponent; /** * @internal */ export declare const ConfirmDialogBase: NamedExoticComponent; /** * The default footer of {@link ConfirmDialogBase}: footer-left content, progress spinner, cancel * and submit buttons. The submit button carries two contracts a custom footer must otherwise * re-create: its `CONFIRM_DIALOG_BASE_ID` element id (Enter-key submit detection) and the * validation aria-describedby wiring. * * @internal */ export declare function ConfirmDialogFooter({ footerLeft, showProgressIndicator, cancelButtonText, onCancel, isCancelDisabled, submitButtonText, onSubmit, isSubmitDisabled, submitButtonTooltipText, submitButtonTooltipAlignPoints, submitButtonTooltipArrowOffsets, hideSubmitButton, isPositive, }: IConfirmDialogFooterProps): JSX.Element; /** * Visual variant of the confirm button. * * @internal */ export declare type ConfirmDialogVariant = VariantPrimary | VariantDanger; /** * @internal */ export declare function ContentDivider({ className }: { className?: string; }): JSX.Element; /** * @internal */ export declare type CopyCodeOriginType = "keyboard" | "button"; /** * Creates advanced format templates only. * These are templates that don't duplicate presets (complex conditional formats). * * @param formatMessage - Function to format localized messages (e.g., from react-intl) * @returns Array of advanced format templates with localized names * @internal */ export declare function createAdvancedTemplates(formatMessage: (descriptor: { id: string; }) => string): IFormatTemplate[]; /** * Creates all localized format templates (standard + currency + advanced). * * @param formatMessage - Function to format localized messages (e.g., from react-intl) * @param messageIdPrefix - Optional prefix for message IDs (default: "measureNumberFormat.numberFormat.template") * @returns Array of all format templates with localized names * @internal * @deprecated Use createAdvancedTemplates instead - standard and currency templates duplicate presets */ export declare function createAllTemplates(formatMessage: (descriptor: { id: string; }) => string): IFormatTemplate[]; /** * Creates localized currency format presets. * * @param formatMessage - Function to format localized messages (e.g., from react-intl) * @returns Array of currency format presets with localized names * @internal */ export declare function createCurrencyPresets(formatMessage: (descriptor: { id: string; }) => string): IFormatPreset[]; /** * Creates localized standard format presets. * * @param formatMessage - Function to format localized messages (e.g., from react-intl) * @returns Array of standard format presets with localized names * @internal */ export declare function createStandardPresets(formatMessage: (descriptor: { id: string; }) => string): IFormatPreset[]; /** * Creates localized format templates. * * @param formatMessage - Function to format localized messages (e.g., from react-intl) * @param definitions - Template definitions to localize * @param messageIdPrefix - Optional prefix for message IDs (default: "measureNumberFormat.numberFormat.template") * @returns Array of format templates with localized names * @internal */ export declare function createTemplates(formatMessage: (descriptor: { id: string; }) => string, definitions: readonly ITemplateDefinition[], messageIdPrefix?: string): IFormatTemplate[]; /** * Reusable CSV delimiter preset picker with dropdown, custom input, and validation. * * This is a controlled component — the consumer manages state via * `getCsvDelimiterState` from `@gooddata/sdk-model` and passes it through props. * * @internal */ export declare function CsvDelimiterPicker({ value, onChange, validationError, label, onEnterKeyPress, layout, hideInherit, }: ICsvDelimiterPickerProps): JSX.Element; /** * Base currency preset definitions. * These are the raw preset data that can be used to create localized presets. * @internal */ export declare const CURRENCY_PRESET_DEFINITIONS: readonly ICurrencyPresetDefinition[]; /** * Currency shortened format string. * Displays large values in shortened form with currency symbol (e.g., $1.0 K, $1.0 M). * @internal */ export declare const CURRENCY_SHORTENED_FORMAT: string; /** * Currency template definitions are now empty - currency formats have been moved to presets. * This array is kept for backward compatibility but should not be used. * @internal * @deprecated Currency formats are now in CURRENCY_PRESET_DEFINITIONS */ export declare const CURRENCY_TEMPLATE_DEFINITIONS: readonly ITemplateDefinition[]; /** * Local identifiers of templates that are currency-specific. * Used to filter templates when metric type is CURRENCY. * @internal */ export declare const CURRENCY_TEMPLATE_IDS: string[]; /** * @alpha */ export declare type CurrencyFormatValidationErrorCode = "empty" | "invalidFormat" | "missingCurrencySymbol" | "missingDecimalPlaces"; /** * @internal */ export declare type CurrentUserPermissions = { [permission in "canEditLockedAffectedObject" | "canEditAffectedObject" | "canShareLockedAffectedObject" | "canShareAffectedObject" | "canViewAffectedObject"]: boolean; }; /** * @internal */ export declare function CustomizableCheckmark({ className, width, height }: ICustomizableCheckmarkProps): JSX.Element; /** * @internal */ export declare const DATE_DATASET_LIST_ITEM_CLASSNAME = "gd-list-item gd-list-item-shortened"; /** * @internal */ export declare function DateDatasetsListItem({ id, title, isHeader, isSelected, isUnrelated, width, onClick, }: IDateDatasetsListItemProps): JSX.Element; /** * @internal */ export declare const Datepicker: NamedExoticComponent; /** * @internal */ export declare const DEFAULT_ITEM_HEIGHT = 28; /** * @internal */ export declare const DEFAULT_MOBILE_ITEM_HEIGHT = 40; /** * Default separators for number formatting (US locale: comma for thousands, period for decimal). * * @internal */ export declare const DEFAULT_SEPARATORS: ISeparators_3; /** * Default message ID prefix for template definitions. * @internal */ export declare const DEFAULT_TEMPLATE_PREFIX = "measureNumberFormat.numberFormat.template"; /** * Dummy theme metadata object which represents the default colors of GD. * * This object is used as default when rendering theme as a sequence of colored elements in styling * picker. It's properties are also used as defaults when some custom theme is missing a crucial * property for the same rendering purposes. * * @internal */ export declare const defaultColorPaletteMetadataObject: IColorPaletteDefinition; /** * @internal */ export declare const defaultFocusCheckFn: (element: HTMLElement) => boolean; /** * {@link SyntaxHighlightingInput} with the standard input frame, a fixed height and the default * light token palette. * * @internal */ export declare function DefaultSyntaxHighlightingInput({ className, highlightStyle, ...props }: IDefaultSyntaxHighlightingInputProps): JSX.Element; /** * Token colors use only the complementary scale and the semantic palette. * Both invert with the theme, so tokens stay legible on dark surfaces. * * @internal */ export declare const defaultSyntaxHighlightStyle: HighlightStyle; /** * Dummy theme metadata object which represents the default colors of GD. * * This object is used as default when rendering theme as a sequence of colored elements in styling * picker. It's properties are also used as defaults when some custom theme is missing a crucial * property for the same rendering purposes. * * @internal */ export declare const defaultThemeMetadataObject: IThemeDefinition; /** * @internal */ export declare function DefaultUiGridCellWrapper({ item, isSelected, isKeyboardFocused, isTabStop, cellRef, onPick, onFocus, onBlur, Cell, }: IUiGridCellWrapperProps): ReactNode; /** * @internal */ export declare function DefaultUiListboxInteractiveItemComponent({ item, isFocused, isSelected, isCompact, onSelect, }: IUiListboxInteractiveItemProps): ReactNode; /** * By default just renders the data. * @internal */ export declare function DefaultUiListboxStaticItemComponent({ item }: IUiListboxStaticItemProps): ReactNode; /** * Container for rendering custom content in menu. * @internal */ export declare const DefaultUiMenuContent: NamedExoticComponent>; /** * @internal */ export declare function DefaultUiMenuContentItem({ item, isFocused, }: IUiMenuContentItemProps): ReactNode; /** * Default component for rendering content menu items. * @internal */ export declare const DefaultUiMenuContentItemWrapper: NamedExoticComponent>; /** * @internal */ export declare function DefaultUiMenuGroupItem({ item, }: IUiMenuGroupItemProps): ReactNode; /** * Renders the submenu header when in a submenu. * If not in a submenu, returns null. * @internal */ export declare const DefaultUiMenuHeader: FC; /** * @internal */ export declare function DefaultUiMenuInteractiveItem({ item, isFocused, isTooltipOpen, }: IUiMenuInteractiveItemProps): ReactNode; /** * @internal */ export declare function DefaultUiMenuInteractiveItemWrapper({ item, Component, }: IUiMenuInteractiveItemWrapperProps): ReactNode; /** * By default just renders the data. * @internal */ export declare const DefaultUiMenuStaticItem: NamedExoticComponent>; /** * @internal */ export declare function DefaultUiTabsAllTabs = EmptyObject, TTabActionProps extends Record = EmptyObject>(_props: IUiTabComponentProps<"AllTabs", TTabProps, TTabActionProps>): JSX.Element | null; /** * @internal */ export declare const DefaultUiTabsAllTabsButton: = EmptyObject, TTabActionProps extends Record = EmptyObject>(props: Omit<{ isOpen: boolean; onClick: () => void; ref?: RefObject; ariaAttributes?: IDropdownButtonRenderProps["ariaAttributes"]; }, "ref"> & RefAttributes) => ReactNode; /** * @internal */ export declare function DefaultUiTabsContainer = EmptyObject, TTabActionProps extends Record = EmptyObject>(_props: IUiTabComponentProps<"Container", TTabProps, TTabActionProps>): JSX.Element; /** * @internal */ export declare function DefaultUiTabsTab = EmptyObject, TTabActionProps extends Record = EmptyObject>({ tab, isSelected, onSelect, onDoubleClick, isFocused, }: IUiTabComponentProps<"Tab", TTabProps, TTabActionProps>): JSX.Element; /** * @internal */ export declare function DefaultUiTabsTabActions = EmptyObject, TTabActionProps extends Record = EmptyObject>({ tab, location, id, tabIndex, isOpen, onToggleOpen, }: IUiTabComponentProps<"TabActions", TTabProps, TTabActionProps>): JSX.Element | null; /** * @internal */ export declare function DefaultUiTabsTabActionsButton = EmptyObject, TTabActionProps extends Record = EmptyObject>({ tab, onClick, ariaAttributes, tabIndex, id, }: IUiTabComponentProps<"TabActionsButton", TTabProps, TTabActionProps>): JSX.Element | null; /** * @internal */ export declare function DefaultUiTabsTabValue = EmptyObject, TTabActionProps extends Record = EmptyObject>({ tab, isSelected }: IUiTabComponentProps<"TabValue", TTabProps, TTabActionProps>): JSX.Element; /** * @internal */ export declare function DefaultUiTreeViewItemComponent({ item, type, level, isExpanded, isFocused, isSelected, isCompact, onToggle, onSelect, ariaAttributes, }: IUiTreeviewItemProps): ReactNode; /** * @internal */ export declare const DESCRIPTION_PANEL_ALIGN_POINTS: { align: string; }[]; /** * @internal */ export declare const DESCRIPTION_PANEL_ARROW_OFFSETS: { "br tr": number[]; "bc tc": number[]; "bl tl": number[]; "tr br": number[]; "tc bc": number[]; "tl bl": number[]; "tr tl": number[]; "cr cl": number[]; "br bl": number[]; "tl tr": number[]; "cl cr": number[]; "bl br": number[]; }; /** * @internal */ export declare function DescriptionIcon({ className, glyph }: IDescriptionTriggerProps): JSX.Element; /** * @internal */ export declare function DescriptionPanel(props: IDescriptionPanelProps): JSX.Element; /** * @internal */ export declare function DescriptionPanelContent(props: IDescriptionPanelProps): JSX.Element; /** * A threshold for the number of results to announce in a detailed way. * @internal */ export declare const DETAILED_ANNOUNCEMENT_THRESHOLD = 3; /** * @internal */ export declare const Dialog: NamedExoticComponent; /** * @internal */ export declare const DialogBase: NamedExoticComponent; /** * @internal */ export declare function DialogCloseButton(props: IDialogCloseButtonProps): JSX.Element; /** * @internal */ export declare function DialogList({ items, isLoading, className, emptyMessageElement, itemComponent, itemClassName, onItemClick, onItemDelete, }: IDialogListProps): JSX.Element; /** * @internal */ export declare function DialogListHeader({ className, gdIconName, title, buttonTitle, buttonDisabled, buttonTooltipText, onButtonClick, }: IDialogListHeaderProps): JSX.Element; /** * @internal */ export declare function DialogListItemBasic({ item, className, onClick, onDelete }: IDialogListItemComponentProps): JSX.Element; /** * @internal */ export declare type DialogListItemComponent = FunctionComponent>; /** * @internal */ export declare type DialogModeType = "ShareGrantee" | "AddGrantee"; /** * @internal */ export declare function DocumentHeader({ pageTitle, brandTitle, appleTouchIconUrl, faviconUrl, }: IDocumentHeaderProps): null; /** * @internal */ export declare function DomainHomepageLink({ onClick }: IDomainHomepageLinkProps): JSX.Element; /** * @internal */ export declare function Dropdown({ isOpen: isOpenProp, onToggle, className, openOnInit, closeOnParentScroll, closeOnMouseDrag, closeOnOutsideClick, overlayPositionType, alignPoints, overlayZIndex, ignoreClicksOnByClass, renderBody, renderButton, onOpenStateChanged, onAlign, fullscreenOnMobile, enableEventPropagation, enableAutoToggle, closeOnEscape, autofocusOnOpen, initialFocus, returnFocusTo, accessibilityConfig, shouldTrapFocus, }: IDropdownProps): JSX.Element; /** * @internal */ export declare function DropdownButton({ id, className, accessibilityConfig, value, title, disabled, isOpen, isSmall, iconLeft, isFullWidth, onClick, children, dropdownId, buttonRef, }: IDropdownButtonProps): JSX.Element; /** * @internal */ export declare function DropdownInvertableSelect(props: IDropdownInvertableSelectProps): JSX.Element; /** * Dropdown list component with paged virtual list implementation * @internal * */ export declare function DropdownList({ id, title, className, tabsClassName, width, height, maxHeight, onKeyDownSelect, onKeyDownConfirm, isMobile, isLoading, items, itemsCount, itemHeight, containerPadding, listPadding, mobileItemHeight, showSearch, disableAutofocus, searchString, searchLabel, searchPlaceholder, searchFieldSize, onSearch, showTabs, tabs, selectedTabId, onTabSelect, renderNoData, noMatchingDataText, footer, closeDropdown, accessibilityConfig, renderItem, body, itemHeightGetter, itemTitleGetter, getIsItemSelected, getItemKey, loadNextPage, hasNextPage, skeletonItemsCount, shouldLoadNextPage, isNextPageLoading, SkeletonItem, onScroll, scrollToItem, scrollToItemKeyExtractor, }: IDropdownListProps): ReactElement; /** * @internal */ export declare function DropdownTabs({ tabs, selectedTabId, onTabSelect, className }: IDropdownTagsProps): JSX.Element; /** * @internal */ export declare const EditableLabel: ForwardRefExoticComponent>; /** * Multiline ellipsis does not exist natively, so this is a simple version of it. * * The component cuts the text at approximately 'maxLines' lines. * It renders button 'Show more'/'Show less'. * The new line character poses the most trouble to calculate the cut point, * so it will estimate how much character worth of space was taken by it. * * There is several constants: the width is taken as 190px, the font-size is * 13px. The text is wrapped by words, so 28 characters is an approximate count * per line. By these metrics it can find a point to shorten the text. It is not * precise value, but it works most of the time, sometimes rendering 9 or 11 lines, * which is acceptable for this component usage. * * @internal */ export declare function EllipsisText({ text, maxLines }: IEllipsisTextProps): JSX.Element; /** * @internal */ export declare function EmbedInsightDialogBase({ code, propertiesLink, integrationDocLink, embedTab, embedTypeOptions, openSaveInsightDialog, onClose, onCopyCode, onOptionsChange, onTabChange, showWebComponentsTab, }: IEmbedInsightDialogBaseProps): JSX.Element; /** * @internal */ export declare type EmbedOptionsType = IReactOptions | IWebComponentsOptions; /** * @internal */ export declare type EmbedType = "react" | "webComponents"; /** * @deprecated use `event.key` or `event.code`. See https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode * @internal */ export declare enum ENUM_KEY_CODE { KEY_CODE_ENTER = 13, KEY_CODE_ESCAPE = 27 } /** * @internal */ export declare const ErrorOverlay: NamedExoticComponent; /** * @internal */ export declare const ExportDialog: NamedExoticComponent; /** * @internal */ export declare const ExportDialogBase: NamedExoticComponent; /** * @internal */ export declare const ExportTabularPdfDialog: NamedExoticComponent; /** * Where the selection goes when the controlled value is replaced from outside. * * - `"clamp"` keeps the current selection, clamped into the new document's bounds. * - `"end"` puts the cursor at the end of the new document — for editors whose external replaces * mean "a new document" (an applied example, a re-format), where the old offset is meaningless * and a subsequent insert-at-cursor should append rather than land at a stale position. * * @internal */ export declare type ExternalChangeSelection = "clamp" | "end"; /** * @internal */ export declare const FileDropzone: ForwardRefExoticComponent>; /** * @internal */ export declare function FilePickerButton({ buttonLabel, acceptedFileTypes, multiple, disabled, ariaLabel, onFilesSelected, buttonProps, }: IFilePickerButtonProps): JSX.Element; /** * @internal */ export declare const FileValidationErrorCode: { readonly InvalidFileType: "invalidFileType"; readonly TooManyFiles: "tooManyFiles"; readonly FileTooLarge: "fileTooLarge"; }; /** * @internal */ export declare type FileValidationErrorCode = (typeof FileValidationErrorCode)[keyof typeof FileValidationErrorCode]; /** * @internal */ export declare function FilterGroupItem({ title, subtitle, selectedItemsCount, totalItemsCount, showSelectionCount, isOpen, isLoading, isLoaded, isError, icon, titleExtension, onClick, buttonRef, dropdownId, disabled, }: IFilterGroupItemProps): JSX.Element; /** * @internal */ export declare const FilterLabel: NamedExoticComponent; /** * @internal * Check a single sibling element for focusable descendants. * * @param sibling - The sibling element to check * @param direction - Direction to determine which focusable element to return * @returns The first or last focusable element within the sibling, or null */ export declare const findFocusableElementInSibling: (sibling: Element, direction?: NavigationDirection) => HTMLElement | null; /** * @internal * Find the next or previous focusable element outside of a given container by traversing up the DOM tree. * This is more efficient than querying all focusable elements on the page. * * @param container - The container to find focusable elements outside of * @param direction - 'forward' for next element (Tab), 'backward' for previous element (Shift+Tab) * @returns The next/previous focusable element, or null if none found */ export declare const findFocusableElementOutsideContainer: (container: HTMLElement, direction?: NavigationDirection) => HTMLElement | null; /** * Finds an interactive menu item that matches the predicate. * @internal */ export declare const findInteractiveItem: (items: IUiMenuItem[], predicate: (item: IUiMenuInteractiveItem) => boolean) => IUiMenuInteractiveItem | undefined; /** * Recursively finds an item in the menu tree that matches the predicate. * @internal */ export declare const findItem: (items: IUiMenuItem[], predicate: (item: IUiMenuItem) => boolean) => IUiMenuItem | undefined; /** * @internal */ export declare const FlexDimensions: ForwardRefExoticComponent>; /** * Data attribute to identify elements that should not trigger outside click closure. * * @internal */ export declare const FLOATING_ELEMENT_DATA_ATTR = "data-gd-floating-element"; /** * Attempts to find a truly focusable element by trying subsequent elements in the focusable elements collection * This is useful when some elements are focusable but not reachable (e.g., out of viewport or disabled) * * @internal */ export declare const focusAndEnsureReachableElement: (initialElement: HTMLElement | undefined, focusableElements: HTMLElement[], direction: NavigationDirection, focusCheckFn?: (element: HTMLElement) => boolean) => void; /** * @internal */ export declare type FormatMessageParams = Parameters; /** * Formats a number with the given thousand and decimal separators. * * @param value - The number to format (null/undefined returns empty string) * @param separators - Thousand and decimal separators to use * @returns Formatted string with separators applied * * @internal */ export declare function formatNumberWithSeparators(value: number | null | undefined, separators?: ISeparators_3): string; /** * @internal */ export declare function formatTime(h: number, m: number, format?: string): string; /** * @internal */ export declare type FormatXMLElementFn = (parts: Array) => R; /** * @internal */ export declare class FullScreenOverlay extends Overlay { constructor(props: IOverlayProps); UNSAFE_componentWillMount(): void; componentWillUnmount(): void; getOverlayStyles: () => CSSProperties; } /** * @internal */ export declare const GD_COLOR_HIGHLIGHT = "#14b2e2"; /** * @internal */ export declare const GD_COLOR_STATE_BLANK = "#6a737d"; /** * @internal */ export declare const GD_COLOR_STATE_HOVER = "#94a1ad"; /** * @internal */ export declare const GD_COLOR_WHITE = "#fff"; /** * Which general-access option is currently selected. * * @internal */ export declare type GeneralAccessValue = "RESTRICTED" | "WORKSPACE"; /** * @internal */ export declare function generateHeaderAccountMenuItems(workspacePermissions: IWorkspacePermissions, { workspaceId, featureFlags, currentLanguage }: IGenerateHeaderAccountMenuItemsOptions): IHeaderMenuItem[]; /** * Product-wide contextual help links, valid in any application. * * @remarks * Prepend these to {@link generateHeaderStaticHelpMenuItems} to build a help menu. The last item * carries the divider class, so append the static items directly after it. * * @internal */ export declare function generateHeaderCommonHelpMenuItems(): IHeaderMenuItem[]; /** * @internal */ export declare function generateHeaderHelpMenuItems(documentationUrl?: string, supportForumUrl?: string, userEmail?: string, workspaceId?: string, sessionId?: string, supportEmail?: string, isBranded?: boolean, featureFlags?: ISettings): IHeaderMenuItem[]; /** * @internal */ export declare function generateHeaderMenuItemsGroups(featureFlags: ISettings, workspacePermissions: IWorkspacePermissions, hasAnalyticalDashboards?: boolean, workspaceId?: string, hasNoDataSet?: boolean, backendSupportsDataItem?: boolean, hasMeasures?: boolean, hasManage?: boolean, baseUrl?: string): IHeaderMenuItem[][]; /** * @internal */ export declare function generateHeaderStaticHelpMenuItems(documentationUrl?: string, communityUrl?: string, universityUrl?: string, slackUrl?: string): IHeaderMenuItem[]; /** * @internal */ export declare function generateSupportUrl(projectId?: string, sessionId?: string, userEmail?: string, url?: string): string; /** * Gets the closest focusable sibling item in the specified direction. * @internal */ export declare const getClosestFocusableSibling: (args: { items: IUiMenuItem[]; isItemFocusable: (item: IUiMenuItem) => boolean; itemId?: string; direction: "forward" | "backward"; }) => IUiMenuItem | undefined; /** * This function transforms a color palette into an array of max ten colors which is used * to render the color palette in styling picker. * * @internal */ export declare const getColorsPreviewFromColorPalette: (colorPalette: IColorPalette) => string[]; /** * This function transforms a theme metadata object into an array of colors which is used * to render the theme in styling picker. When provided theme object is missing some properties, * defaults are taken from the {@link defaultThemeMetadataObject}. * * @internal */ export declare const getColorsPreviewFromTheme: (theme: ITheme) => string[]; /** * Returns the current time in the provided timezone. * * @internal */ export declare function getCurrentTimeByTimezoneId(id: string): string; /** * Build date time config for InsightListItemDate component. * * @param date - string ISO date * @param options - optional options object * @returns date time config * * @internal */ export declare function getDateTimeConfig(date: string, options?: IDateTimeConfigOptions): IDateConfig; /** * @internal */ export declare const getDefaultEmbedTypeOptions: (embedType: EmbedType) => EmbedOptionsType; /** * @internal * Returns the focusable elements of the given element * @param element - the element to get the focusable elements from * @param includeHidden - whether to include hidden elements * @returns an object containing the focusable elements, the first focusable element, and the last focusable element */ export declare const getFocusableElements: (element?: HTMLElement | null, includeHidden?: boolean) => { focusableElements: HTMLElement[]; firstElement: HTMLElement; lastElement: HTMLElement; }; /** * @internal */ export declare const getGranteeItemTestId: (grantee: GranteeItem, prefix?: "option") => string; /** * @internal */ export declare const getHeightWithUnitsForEmbedCode: (codeOption: EmbedOptionsType) => string | number; /** * Gets an interactive menu item by its ID. * @internal */ export declare const getInteractiveItem: (items: IUiMenuItem[], itemId: string) => IUiMenuInteractiveItem | undefined; /** * Gets a menu item by its ID. * @internal */ export declare const getItem: (items: IUiMenuItem[], itemId: string) => IUiMenuItem | undefined; /** * Gets the interactive parent of a menu item. * @internal */ export declare const getItemInteractiveParent: (items: IUiMenuItem[], itemId: string) => IUiMenuInteractiveItem | undefined; /** * Gets all items under a specific interactive parent item. * @internal */ export declare const getItemsByInteractiveParent: (items: IUiMenuItem[], parentId?: string) => IUiMenuItem[] | undefined; /** * @internal */ export declare const getNextFocusableElement: (initialElement: HTMLElement | undefined, focusableElements: HTMLElement[], direction: NavigationDirection) => HTMLElement | undefined; /** * Gets all next sibling items of a menu item with wraparound. * @internal */ export declare const getNextSiblings: (items: IUiMenuItem[], itemId: string) => IUiMenuItem[]; /** * @internal */ export declare type GetOptimalAlignment = { targetRegion: IRegion; selfRegion: IRegion; ignoreScrollOffsets?: boolean; alignPoints: IAlignPoint[]; getViewportRegion?: (ignoreScrollOffsets: boolean) => void; getDocumentRegion?: () => void; }; /** * @internal */ export declare type GetOptimalAlignmentForRegion = { boundaryRegion: any; targetRegion: any; selfRegion: any; alignPoints: IAlignPoint[]; }; /** * @internal */ export declare type GetPositionedSelfRegion = { targetRegion: IRegion; selfRegion: IRegion; bodyRegion: IRegion; alignPoint: IAlignPoint; }; /** * Gets all previous sibling items of a menu item with wraparound. * @internal */ export declare const getPreviousSiblings: (items: IUiMenuItem[], itemId: string) => IUiMenuItem[]; /** * @internal */ export declare function getRecommendedDateDataset(items: T[]): T | null; /** * @internal */ export declare const getSelectedMenuId: (context: IUiMenuContext) => string | undefined; /** * Gets all sibling items of a menu item. * @internal */ export declare const getSiblingItems: (items: IUiMenuItem[], itemId: string) => IUiMenuItem[] | undefined; /** * Returns the timezone from the curated list matching the provided IANA timezone ID, * or undefined when the ID is not in the curated list. * * @remarks * Legacy aliases of curated timezones (e.g. "Europe/Kiev" stored before the rename) resolve * to the canonical item, so the returned `id` may differ from the provided one. * * @internal */ export declare function getTimezoneById(id: string | undefined): ITimezoneItem | undefined; /** * Returns the display label used by the timezone picker: the friendly name, e.g. "Prague". * The name falls back to the raw IANA ID for zones outside the curated list. * * The friendly name (not the IANA ID) is shown so the picker reads the same as the Home UI * timezone settings — the id-to-name mapping is not visible to users anywhere. * * @internal */ export declare function getTimezoneDisplayLabel(id: string): string; /** * Returns display labels for the provided IANA timezone ID. * * @remarks * The backend accepts any ICU-known timezone, so the ID may not be present in the curated list. * In that case the raw ID is used as the name and the offset label is computed via Intl * (empty when the runtime does not know the timezone either). * * @internal */ export declare function getTimezoneLabels(id: string): Pick; /** * Returns the curated list of timezones. * * @internal */ export declare function getTimezones(): ITimezoneItem[]; /** * Returns the full display label of a timezone, combining the offset and the name, * e.g. "GMT+01:00 Prague". Use only where the merged label is actually displayed; * consumers that need the name or the offset alone should read the fields directly. * * @internal */ export declare function getTimezoneTitle(item: Pick): string; /** * @internal */ export declare function getTypedUiTabsContextStore = EmptyObject, TTabActionProps extends Record = EmptyObject>(): IContextStore>; /** * Returns the curated timezone that matches the offsets of the browser/runtime timezone. * Falls back to UTC when no curated timezone matches. * * @internal */ export declare function getUserTimezone(): ITimezoneItem; /** * Custom event name for goodstrap drag events. * Used by Overlay to handle closeOnMouseDrag and other drag-related behaviors. * @internal */ export declare const GOODSTRAP_DRAG_EVENT = "goodstrap.drag"; /** * Custom event name for goodstrap scroll events. * Used by Overlay to handle closeOnParentScroll and other scroll-related behaviors. * @internal */ export declare const GOODSTRAP_SCROLLED_EVENT = "goodstrap.scrolled"; /** * Visual variant of a grantee avatar. * * @internal */ export declare type GranteeAvatarKind = "user" | "group"; /** * @internal */ export declare type GranteeItem = IGranteeUser | IGranteeInactiveOwner | IGranteeGroup | IGranteeGroupAll | IGranularGranteeUser | IGranularGranteeGroup | IGranteeRules; /** * @internal */ export declare function GranteeItemComponent({ grantee, mode, currentUserPermissions, isSharedObjectLocked, isGranteeShareLoading, onDelete, onChange, }: IGranteeItemProps): JSX.Element | null; /** * @internal */ export declare type GranteeStatus = "Inactive" | "Active"; /** * @internal */ export declare type GranteeType = "user" | "inactive_owner" | "group" | "groupAll" | "granularUser" | "granularGroup" | "allWorkspaceUsers"; /** * Groups parameters by their tags: tags are trimmed and merged case-insensitively, groups are * sorted by tag and parameters by title with `collator`, a parameter appears under each of its * tags, and untagged parameters go last under `ungroupedLabel`. * * @internal */ export declare function groupParametersByTag(parameters: ReadonlyArray, ungroupedLabel: string, collator: Intl.Collator): ReadonlyArray>; /** * Generate GUID for the object and set it as its '__infID' prop. * * @param obj - object to set guid to * @returns newly generated guid or already existing one on the object, '(Object)' for Object, '(Array)' for Array. * * @internal */ export declare function guidFor(obj: any): string; /** * This is custom dom goodstrap event, it is used by Overlay to handle CloseOnParentDrag * This event is throttled by default * @internal */ export declare const handleOnGoodstrapDragEvent: DebouncedFunc<() => void>; /** * @internal */ export declare function Header({ children, ...restProps }: IHeaderProps): JSX.Element; /** * @internal */ export declare const HEADER_CHAT_BUTTON_ID = "gd-header-chat-button"; /** * Id of the assistant panel this button opens. Set on the chat dialog so the button can reference it * through aria-controls. * * @internal */ export declare const HEADER_CHAT_PANEL_ID = "gd-header-chat-panel"; /** * @internal */ export declare const HEADER_ITEM_ID_ANALYZE: string; /** * @internal */ export declare const HEADER_ITEM_ID_CATALOG: string; /** * @internal */ export declare const HEADER_ITEM_ID_DASHBOARDS: string; /** * @internal */ export declare const HEADER_ITEM_ID_DATA: string; /** * @internal */ export declare const HEADER_ITEM_ID_KPIS: string; /** * @internal */ export declare const HEADER_ITEM_ID_KPIS_NEW: string; /** * @internal */ export declare const HEADER_ITEM_ID_MANAGE: string; /** * @internal */ export declare const HEADER_ITEM_ID_METRICS: string; /** * @internal */ export declare const HEADER_ITEM_ID_REPORTS: string; /** * @internal */ export declare function HeaderBadge({ children, color, backgroundColor }: IHeaderBadgeProps): JSX.Element; /** * @internal */ export declare function HeaderBadgeWithModal({ renderModalContent, children, color, ...badgeProps }: IHeaderBadgeWithModalProps): JSX.Element; /** * @internal */ export declare function HeaderDataMenu({ onMenuItemClick, dataMenuItems, className }: IHeaderDataMenuProps): JSX.Element; /** * Internal context type used to provide header search drop-down state to the components. * @internal */ export declare type HeaderSearchContext = { isOpen: boolean; toggleOpen: () => void; }; /** * Internal context Provider used to provide header search drop-down state to the components. * @internal */ export declare function HeaderSearchProvider({ children, ...rest }: PropsWithChildren): JSX.Element; /** * @internal */ export declare function HeaderWorkspacePicker({ isLoading, workspaces, selectedWorkspace, totalWorkspacesCount, searchString, showSearch, onOpen, onSelect, onSearch, projectPickerFooter, className, onOpenStateChanged, loadNextPage, hasNextPage, skeletonItemsCount, isNextPageLoading, shouldLoadNextPage, }: IHeaderWorkspacePickerProps): JSX.Element; /** * @internal */ export declare type HelpMenuDropdownAlignPoints = "br tr" | "bl tl"; /** * @internal */ export declare type HorizontalPosition = "left" | "center" | "right"; /** * @public */ export declare function HubspotConversionTouchPointDialog(props: IHubspotConversionTouchPointDialogBaseProps): JSX.Element; /** * This component was implemented to follow current design of links * with minimal necessary stylization. * * @internal */ export declare function Hyperlink({ text, href, onClick, className, iconClass }: IHyperlinkProps): JSX.Element; /** * @internal */ export declare interface IAccessibilityConfigBase { ariaLabel?: AriaAttributes["aria-label"]; ariaLabelledBy?: AriaAttributes["aria-labelledby"]; ariaDescribedBy?: AriaAttributes["aria-describedby"]; ariaDescription?: AriaAttributes["aria-description"]; role?: HTMLAttributes["role"]; ariaExpanded?: AriaAttributes["aria-expanded"]; ariaControls?: AriaAttributes["aria-controls"]; ariaActiveDescendant?: AriaAttributes["aria-activedescendant"]; ariaCurrent?: AriaAttributes["aria-current"]; ariaHaspopup?: AriaAttributes["aria-haspopup"]; ariaAutocomplete?: AriaAttributes["aria-autocomplete"]; ariaPressed?: AriaAttributes["aria-pressed"]; ariaChecked?: AriaAttributes["aria-checked"]; } /** * @internal */ export declare interface IAddButtonProps { title: ReactElement; isDisabled?: boolean; onClick?: () => void; tooltip?: ReactElement; tooltipAlignPoints?: IAlignPoint[]; className?: string; } /** * @internal */ export declare interface IAddGranteeBaseProps { isDirty: boolean; currentUser: IUser; addedGrantees: GranteeItem[]; appliedGrantees: GranteeItem[]; currentUserPermissions: CurrentUserPermissions; sharedObject: IAffectedSharedObject; previouslyFocusedRef?: MutableRefObject; isGranteeShareLoading?: boolean; onBackClick?: () => void; onDelete: (grantee: GranteeItem) => void; onAddUserOrGroups?: (grantee: GranteeItem) => void; onCancel: () => void; onSubmit: () => void; onGranularGranteeChange?: (grantee: GranteeItem) => void; } /** * @internal */ export declare interface IAffectedSharedObject { ref: ObjRef; shareStatus: ShareStatus; owner: IGranteeUser | IGranteeInactiveOwner; isLocked: boolean; isUnderLenientControl: boolean; isLockingSupported: boolean; isLeniencyControlSupported: boolean; isMetadataObjectLockingSupported: boolean; areGranularPermissionsSupported?: boolean; canWorkspaceManagerSeeEverySharedObject?: boolean; } /** * @internal */ export declare interface IAlignPoint { align: string; offset?: IOffset; } /** * @internal */ export declare interface IAppHeaderProps { className?: string; onLogoClick?: (e: MouseEvent_2) => void; onMenuItemClick?: (menuItem: IHeaderMenuItem, e?: MouseEvent_2) => void; menuItemsGroups?: IHeaderMenuItem[][]; accountMenuItems?: IHeaderMenuItem[]; helpMenuItems?: IHeaderMenuItem[]; badges?: ReactNode; logoUrl?: string; logoHref?: string; logoTitle?: string; organizationName?: string; isAccessibilityCompliant?: boolean; documentationUrl?: string; workspacePicker: ReactNode; headerColor?: string; headerTextColor?: string; activeColor?: string; userName: string; expiredDate?: string; disableHelpDropdown?: boolean; onHelpClick?: (isOpen: boolean) => void; helpMenuDropdownAlignPoints?: HelpMenuDropdownAlignPoints; showStaticHelpMenu?: boolean; helpRedirectUrl?: string; showUpsellButton?: boolean; onUpsellButtonClick?: (e: MouseEvent_2) => void; search?: ReactNode; notificationsPanel?: (props: { isMobile: boolean; closeNotificationsOverlay: () => void; }) => ReactNode; showChatItem?: boolean; /** * Whether the assistant panel opened by the chat button is currently open. Keeps the button's * aria-expanded and aria-controls in sync with the panel. */ isChatOpen?: boolean; onChatItemClick?: (e: MouseEvent_2) => void; } /** * @internal */ export declare interface IAppHeaderState { childrenWidth: number; guid: string; isOverlayMenuOpen: boolean; responsiveMode: boolean; isHelpMenuOpen: boolean; isSearchMenuOpen: boolean; isNotificationsMenuOpen: boolean; } /** * @internal */ export declare interface IAsyncListProps { className?: string; width?: number; height?: number; items: T[]; itemHeight?: number; renderItem: (props: IRenderListItemProps) => ReactElement; renderLoadingItem?: (props: IRenderListItemProps) => ReactElement; /** * Set to true to render the loading indicator instead of the list. * Usually, you want to use this property during initialization / loading first page of the items. */ isLoading?: boolean; /** * Number of loading item placeholders to render at the end of the list. * When the user scrolls to the placeholders, the onLoadNextPage() callback will be called. * You should set this value to 0 when all items are loaded and there is no other page to load. */ nextPageItemPlaceholdersCount?: number; /** * When true, onLoadNextPage callback will be disabled. */ isLoadingNextPage?: boolean; /** * Callback that is called when the user scrolls to the loading item placeholders. * It won't be called, if isLoadingNextPage is set to true. */ onLoadNextPage?: () => void; } /** * @internal */ export declare interface IAutoSizeChildren { width: number; height: number; } /** * @internal */ export declare interface IAutoSizeProps { children: ({ width, height }: IAutoSizeChildren) => ReactNode; } /** * For now it is completely the same as IAvailableSortsGroup in sdk-ui-ext * * @internal */ export declare interface IAvailableSortsGroup { itemId: LocalIdRef; /** * Attribute sorts related to the attribute bucket item referenced by itemId * Attribute sort suggestions can be created later in AD * This structure eliminates the risk, that in one group attributeSortSuggestions for multiple attribute items will be mixed together */ attributeSort?: { normalSortEnabled: boolean; areaSortEnabled: boolean; }; metricSorts?: MeasureSortSuggestion[]; /** * Additional text to available sorts, eg. * when there is single available sort, this can contain explanation of the reason */ explanation?: string; } /** * @internal */ export declare interface IBackButtonProps { onClick: () => void; className: string; disabled?: boolean; } /** * Breakpoints configuration. * Each breakpoint defines the maximum screen width in pixels according to which it is classified. * * @internal */ export declare type IBreakpointsConfig = { [s in ResponsiveScreenType]: number; }; /** * @internal */ export declare interface IBubbleAccessibilityConfig { role?: string; ariaLabelledBy?: string; } /** * @internal */ export declare interface IBubbleHeaderSeparatorProps { title?: string; message?: string; } /** * @internal */ export declare interface IBubbleHoverTriggerProps extends IBubbleTriggerProps { showDelay?: number; hideDelay?: number; hoverHideDelay?: number; enabled?: boolean; } /** * @internal */ export declare interface IBubbleProps { id?: string; alignPoints?: IAlignPoint[]; alignTo?: string | HTMLElement | null; arrowOffsets?: ArrowOffsets; arrowDirections?: ArrowDirections; arrowStyle?: CSSProperties; className?: string; closeOnOutsideClick?: boolean; closeOnParentScroll?: boolean; closeOnEscape?: boolean; /** * Array of refs where user clicks should be ignored * and bubble should not be closed by clicking on them */ ignoreClicksOn?: any[]; ignoreClicksOnByClass?: string[]; onClose?: () => void; onMouseEnter?: () => void; onMouseLeave?: () => void; onKeyDown?: () => void; overlayClassName?: string; children?: ReactNode; overlayPositionType?: OverlayPositionType; ensureVisibility?: boolean; resizeObserverThreshold?: number; keepBottomOnResize?: boolean; accessibilityConfig?: IBubbleAccessibilityConfig; } /** * @internal */ export declare interface IBubbleState { alignPoints: IAlignPoint[]; optimalAlignPoints: string; } /** * @internal */ export declare interface IBubbleTriggerProps { className?: string; children?: ReactNode; eventsOnBubble?: boolean; tagName?: ElementType; onBubbleOpen?: () => void; onBubbleClose?: () => void; openOnInit?: boolean; } /** * @internal */ export declare interface IBubbleTriggerState { bubbleId: string; isBubbleVisible: boolean; } /** * @internal */ export declare interface IBucketItemDescriptor { type: "attribute" | "chronologicalDate" | "genericDate" | "measure"; name: string; sequenceNumber?: string; } /** * @internal */ export declare interface IBucketItemDescriptors { [localIdentifier: string]: IBucketItemDescriptor; } /** * @internal */ export declare interface IButtonAccessibilityConfig extends IAccessibilityConfigBase, IDropdownButtonAccessibilityConfig { } /** * @internal */ export declare interface IButtonProps { id?: string; dataId?: string; dataTestId?: string; className?: string; disabled?: boolean; tabIndex?: number; tagName?: string; title?: string; type?: HTMLButtonElement["type"]; value?: ReactNode; children?: ReactNode; iconLeft?: string; iconRight?: string; onClick?(e: MouseEvent_2): void; variant?: "primary" | "secondary"; intent?: "action" | "positive" | "negative"; size?: "small" | "medium" | "large"; accessibilityConfig?: IButtonAccessibilityConfig; describedByFromValidation?: boolean; } /** * Catalog group definition. * * @internal */ export declare interface ICatalogGroup { id: string; title: string; } /** * Catalog item picker item structure. * * @internal */ export declare interface ICatalogItemPickerItem { id: string; title: string; type: CatalogItemPickerType; payload: TPayload; ref?: ObjRef; dataset?: { identifier: ObjRef; title: string; }; groupIds?: string[]; sequenceNumber?: string; } /** * Items grouped by source. * * @internal */ export declare interface ICatalogItemPickerItems { insightItems: ICatalogItemPickerItem[]; catalogItems: ICatalogItemPickerItem[]; } /** * Catalog item picker props. * * @internal */ export declare interface ICatalogItemPickerProps { itemTypes: CatalogItemPickerType[]; selectionMode: CatalogItemPickerSelectionMode; attributeItems?: ICatalogItemPickerItems; metricItems?: ICatalogItemPickerItems; groups?: ICatalogGroup[]; maxListHeight?: number; isOpen?: boolean; isLoading?: boolean; onBack?: () => void; onClose: () => void; onAdd?: (items: Array) => void; onSelect?: (item: TAttributePayload | TMetricPayload) => void; variant?: "mvf" | "addFilter"; /** * Renders extra content (e.g. a details bubble) at the end of every attribute and metric row. * Date items are not affected. */ renderItemDetails?: (item: ICatalogItemPickerItem) => ReactNode; } /** * @internal */ export declare interface IChartSortingProps { currentSort: ISortItem[]; availableSorts: IAvailableSortsGroup[]; bucketItems: IBucketItemDescriptors; onApply: (sortItems: ISortItem[]) => void; onCancel: () => void; buttonNode?: HTMLElement | string; locale?: string; } /** * @internal */ export declare interface ICheckboxProps { id?: string; disabled?: boolean; name?: string; text?: string; title?: string; value?: boolean; labelSize?: LabelSize; onChange?: (e: boolean) => void; } /** * @internal */ export declare interface ICodeAreaProps { code: string; onCopyCode: (code: string) => void; } /** * @internal */ export declare interface ICodeLanguageSelectProps { selectedLanguage: CodeLanguageType; onLanguageChanged: (language: CodeLanguageType) => void; } /** * @internal */ export declare interface ICodeOptionsProps { option: IReactOptions; onChange: (opt: IReactOptions) => void; } /** * @internal */ export declare interface IColorPickerProps { initialRgbColor: ColorFormats.RGB; onSubmit: (color: ColorFormats.RGB) => void; onCancel: () => void; } /** * @internal */ export declare interface IColorPickerState { draftHslColor: ColorFormats.HSL; } /** * @internal */ export declare interface IColorPreviewProps { colors: string[]; className?: string; } /** * @internal */ export declare interface IColumnsIconProps extends IIconProps { colorPalette?: { normalColumn?: Color; totalColumn?: Color; }; } /** * @internal */ export declare interface ICommunityEditionDialogProps { onClose: () => void; headerText: string; infoText: string; copyrightText: string; links: { text: string; uri: string; }[]; closeButtonText: string; } /** * @internal */ export declare type IComponentLabelsProviderProps = { labels: IShareDialogLabels; children?: ReactNode; }; /** * @internal */ export declare interface IComponentTableProps { columnsBy?: IPropCombination | undefined; rowsBy: IPropCombination[]; baseProps?: Partial; Component: ComponentType; codeSnippet?: string; debug?: boolean; cellWidth?: number; cellHeight?: number; align?: "center" | "flex-start"; cellStyle?: (props: TProps) => CSSProperties | undefined; } /** * @internal */ export declare const Icon: Record>; /** * @internal */ export declare function IconAborted({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconAlert({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconAlertPaused({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconArrowDown({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconArrowLeft({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconArrowRight({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconArrowUp({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconAttachmentClip({ className, width, height, color }: IIconProps): JSX.Element; /** * @internal */ export declare function IconAttribute({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconAttributeFilter({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconBar({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconBoldHyperlink({ color, className, width, height, ariaLabel, }: IIconProps & { ariaLabel?: string; }): JSX.Element; /** * @internal */ export declare function IconBook({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconBubble({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconBullet({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconBurgerMenu({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconChatBubble({ color, className, width, height, ariaHidden, }: IIconProps): JSX.Element; /** * @internal */ export declare function IconClose({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconColumn({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconColumnContainer({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconColumns({ colorPalette, className, width, height }: IColumnsIconProps): JSX.Element; /** * @internal */ export declare function IconCombo({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconContract({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconCopy({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconDashboard({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconDataset({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconDataSource({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconDate({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconDependencyWheel({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconDonut({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconDragHandle({ className, color, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconDrillDown({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconDrillToDashboard({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconDrillToInsight({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconEdit({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconEllipsis({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconEmail({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconEmbedCode({ color, className, ariaHidden, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconError({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconExpand({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconExplore({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconExternalLink({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconFact({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare interface IConfirmDialogBaseProps extends Omit { isSubmitDisabled?: boolean; isCancelDisabled?: boolean; isPositive?: boolean; cancelButtonText?: string; submitButtonText?: string; submitButtonTooltipText?: string; submitButtonTooltipAlignPoints?: IAlignPoint[]; submitButtonTooltipArrowOffsets?: ArrowOffsets; hideSubmitButton?: boolean; warning?: string | ReactElement; showProgressIndicator?: boolean; headerLeftButtonRenderer?: () => ReactElement; /** * Called on the default footer path to render footer-left content. Ignored when * {@link IConfirmDialogBaseProps.footerRenderer} is set — {@link IConfirmDialogBaseProps.footerRenderer} * takes precedence and replaces the whole footer, including this content. */ footerLeftRenderer?: () => ReactElement; /** * When set, replaces the whole footer element ({@link ConfirmDialogFooter}). Takes precedence * over {@link IConfirmDialogBaseProps.footerLeftRenderer}. A renderer that does not render * {@link ConfirmDialogFooter} loses the submit-button contracts it carries (Enter-key submit * detection via its element id, and the validation aria wiring). */ footerRenderer?: () => ReactElement; dialogHeaderClassName?: string; titleRightIconRenderer?: () => ReactElement; headline?: string; initialFocus?: RefObject | string; returnFocusTo?: RefObject | string; returnFocusAfterClose?: boolean; accessibilityConfig?: { closeButton?: IButtonAccessibilityConfig; titleElementId?: string; descriptionElementId?: string; dialogId?: string; }; } /** * Props of {@link ConfirmDialogFooter} — the default footer of {@link ConfirmDialogBase}. * * @internal */ export declare interface IConfirmDialogFooterProps { /** * Content rendered before the buttons (the footer-left area). */ footerLeft?: ReactNode; showProgressIndicator?: boolean; cancelButtonText?: string; onCancel?: () => void; isCancelDisabled?: boolean; submitButtonText?: string; onSubmit?: () => void; isSubmitDisabled?: boolean; submitButtonTooltipText?: string; submitButtonTooltipAlignPoints?: IAlignPoint[]; submitButtonTooltipArrowOffsets?: ArrowOffsets; hideSubmitButton?: boolean; isPositive?: boolean; } /** * @internal */ export declare function IconFunction({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconFunnel({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconGenAI({ color, className, ariaHidden, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconGenAI2({ color, className, ariaHidden, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconGeo({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconHash({ color, backgroundColor, className, width, height }: IHashIconProps): JSX.Element; /** * @internal */ export declare function IconHeader({ className, color, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconHeadlineChart({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconHeatMap({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconHistoryBack({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconHome({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconHyperlink({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconImage({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconInsight({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconInsightPicker({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconInteraction({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconInvite({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconKeyword({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconLabel({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconLeave({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconLegendMenu({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconLine({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconLock({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconLogout({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconMagic({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconMany({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconMetric({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconMinimize({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconNewVisualization({ color, className, width, height, ariaHidden, }: IIconProps): JSX.Element; /** * @internal */ export declare function IconOrigin({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare const iconPaths: Record; /** * @internal */ export declare function IconPdf({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconPie({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconProgress({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconPyramid({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconQuestionMark({ color, className, width, height, ariaHidden, }: IIconProps): JSX.Element; /** * @internal */ export declare function IconRadar({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconRefresh({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconRepeater({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconReset({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconRichText({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconRows({ colorPalette, className, width, height }: IRowsIconProps): JSX.Element; /** * @internal */ export declare function IconRun({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconSankey({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconSave({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconScatterPlot({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconSchedule({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconSearch({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconSettingsGear({ className, width, height, color }: IIconProps): JSX.Element; /** * @internal */ export declare function IconSimplifiedDashboard({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconSmallDragHandle({ className, color, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconStackedArea({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconSuccess({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconTable({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconThumbsDown({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconThumbsUp({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconToken({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconTrash({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconTreeMap({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare type IconType = "aiAgent" | "aiAgentDisabled" | "brain" | "brainDisabled" | "check" | "checkCircle" | "certification" | "plus" | "plusCircle" | "sync" | "alert" | "alertPaused" | "close" | "cross" | "edit" | "crossCircle" | "question" | "chevronUp" | "chevronRight" | "chevronDown" | "chevronLeft" | "date" | "navigateUp" | "navigateDown" | "navigateRight" | "navigateLeft" | "download" | "slack" | "expand" | "exclamationCircle" | "infoCircle" | "book" | "visible" | "invisible" | "lock" | "unlock" | "ai" | "aiFill" | "drawer" | "drawerEmpty" | "prohibited" | "dropDown" | "dropRight" | "clock" | "clockPaused" | "questionMark" | "upload" | "expandRectangle" | "file" | "number" | "code" | "user" | "userPlus" | "users" | "magic" | "tab" | "pauseCircle" | "filter" | "timer" | "mail" | "envelope" | "copy" | "duplicate" | "rain" | "earth" | "globe" | "geoCollection" | "geoCollectionUpload" | "minimize" | "shrink" | "copyright" | "ellipsis" | "pencil" | "folder" | "folderSmall" | "folderPlus" | "trash" | "arrowUp" | "arrowRight" | "arrowDown" | "arrowLeft" | "levelUp" | "undo" | "redo" | "trendDown" | "trendUp" | "save" | "minus" | "minusCircle" | "percent" | "enter" | "enterRight" | "money" | "ghost" | "warning" | "home" | "settings" | "search" | "university" | "building" | "printer" | "picture" | "visualization" | "columnGroup" | "visualizationStack" | "richText" | "dashboard" | "metric" | "fact" | "ldmAttribute" | "ldmKey" | "ldmLabel" | "sharp" | "attribute" | "horn" | "cw" | "ccw" | "table" | "directionColumn" | "directionRow" | "alignLeft" | "alignCenter" | "alignRight" | "alignTop" | "alignMiddle" | "alignBottom" | "bold" | "italic" | "imageContain" | "imageCover" | "imageFill" | "header" | "genai" | "genai2" | "explainai" | "hiddenForAi" | "box" | "ellipsisVertical" | "list" | "drillTo" | "hierarchy" | "lineage" | "report" | "history" | "history2" | "thumbsUp" | "thumbsDown" | "send" | "visualizationArea" | "visualizationTable" | "visualizationTreemap" | "visualizationScatter" | "visualizationDonut" | "visualizationHeadline" | "visualizationColumn" | "visualizationLine" | "visualizationPyramid" | "visualizationFunnel" | "visualizationHeatmap" | "visualizationBubble" | "visualizationPie" | "visualizationBar" | "visualizationCombo" | "visualizationBullet" | "visualizationWaterfall" | "visualizationDependencywheel" | "visualizationSankey" | "visualizationPushpin" | "visualizationRepeater" | "visualizationXirr" | "link" | "externalLink" | "click" | "fileXlsx" | "filePptx" | "filePdf" | "fileImage" | "fileCsvFormatted" | "fileCsvRaw" | "aiDocument" | "recommendation" | "streamUp" | "streamDown" | "stream" | "density" | "parameter" | "pin" | "unpin" | "speechBubble" | "pieChart" | "timezone" | "sidePanelCollapse" | "sidePanel" | "sidePanelExpand" | "lineStyle" | "lineStyleSolid" | "lineStyleDashed" | "lineStyleDotted" | "lineWidth1" | "lineWidth2" | "lineWidth3" | "lineWidth4" | "linear" | "spline" | "stepped" | "heading1" | "heading2" | "heading3" | "heading4" | "heading5" | "heading6" | "paragraphLarge" | "paragraphMedium" | "paragraphSmall" | "regenerateWithAi" | "directionHorizontal" | "directionVertical" | "levelUpArrow" | "plusThin"; /** * @internal */ export declare function IconUndo({ color, className, width, height, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconUser({ color, backgroundColor, className, width, height, }: IUserIconProps): JSX.Element; /** * @internal */ export declare function IconUserGroup({ color, backgroundColor, className, width, height, }: IUserGroupIconProps): JSX.Element; /** * @internal */ export declare function IconVisualizationSwitcher({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconWarning({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconWaterfall({ className, width, height, color, ariaHidden }: IIconProps): JSX.Element; /** * @internal */ export declare function IconWebhook({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconWebsite({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare function IconWidget({ color, className, width, height }: IIconProps): JSX.Element; /** * @internal */ export declare interface ICsvDelimiterPickerProps { /** Current picker state — use `getCsvDelimiterState` from `@gooddata/sdk-model` to initialize. */ value: ICsvDelimiterPickerValue; /** Called when the user changes the preset or custom delimiter value. */ onChange: (value: ICsvDelimiterPickerValue) => void; /** Validation error to display below the custom input. */ validationError?: CsvDelimiterValidationError; /** If provided, renders a label above the dropdown. */ label?: string; /** Called when Enter is pressed in the custom input. */ onEnterKeyPress?: () => void; /** * Layout direction for the dropdown and custom input. * - `"column"` (default): dropdown takes full width, custom input stacks below. * - `"row"`: dropdown auto-sizes, custom input sits beside it. */ layout?: "row" | "column"; /** When true, hides the "Inherit" preset — there's nothing above this level to inherit from. */ hideInherit?: boolean; } /** * @internal */ export declare interface ICsvDelimiterPickerValue { selectedPreset: CsvDelimiterPreset; customDelimiter: string; } /** * @alpha */ export declare interface ICurrencyFormatValidationError { code: CurrencyFormatValidationErrorCode; /** * Indexes of sections (0-based) that failed validation. * The value is only present for section-driven validations. */ sectionIndexes?: number[]; message: string; } /** * @alpha */ export declare interface ICurrencyFormatValidationOptions { /** * Sample value used to verify the formatter does not throw. * Defaults to 12345.67 to cover both thousands and decimals. */ sampleValue?: number; /** * Number of mandatory decimal places each section must contain. * Set to 0 (or a negative value) to skip the decimal check. * Defaults to 2. */ requiredDecimalPlaces?: number; separators?: ISeparators_2; } /** * @alpha */ export declare interface ICurrencyFormatValidationResult { isValid: boolean; errors: ICurrencyFormatValidationError[]; } /** * Base currency preset definitions without localized names. * @internal */ export declare interface ICurrencyPresetDefinition { localIdentifier: string; format: string; previewNumber: number; messageId: string; } /** * @internal */ export declare interface ICustomizableCheckmarkProps { className?: string; width?: number; height?: number; } /** * @internal */ export declare interface IDateConfig { isCurrentYear: boolean; isToday: boolean; isYesterday: boolean; date: Date; } /** * @internal */ export declare interface IDateDataset { id: string; title: string; relevance?: number; } /** * @internal */ export declare interface IDateDatasetHeader { title: string; type: "header"; } /** * @internal */ export declare interface IDateDatasetsListItemProps { id?: string; title?: string; isHeader?: boolean; isSelected?: boolean; isUnrelated?: boolean; width?: number; onClick: (e: MouseEvent_2) => void; } /** * @internal */ export declare interface IDatePickerProps { accessibilityConfig?: IAccessibilityConfigBase; date?: Date; className?: string; placeholder?: string; onChange?: (selectedData: Date) => void; onBlur?: (selectedDate: string) => void; onValidateInput?: (value: string) => void; resetOnInvalidValue?: boolean; size?: string; tabIndex?: number; alignPoints?: IAlignPoint[]; onAlign?: (align: string) => void; locale?: string; dateFormat?: string; weekStart?: WeekStart; onDateInputKeyDown?: (e: KeyboardEvent_2) => void; } /** * @internal */ export declare interface IDateTimeConfigOptions { dateTimezone?: string; now?: Date; } /** * @internal */ export declare type IDefaultSyntaxHighlightingInputProps = Omit & Partial>; /** * @internal */ export declare interface IDescriptionPanelProps { title?: string; description?: string; locale?: string; className?: string; isLocked?: boolean; onBubbleOpen?: () => void; arrowOffsets?: ArrowOffsets; useReferences?: boolean; LoadingComponent?: ComponentType; filters?: IFilter[]; isExecutionInputLoading?: boolean; separators?: ISeparators_3; /** References the current user is not allowed to read; each renders as a marker in place of its value. */ restrictedReferences?: ObjRef[]; parameterDisplayValues?: ReadonlyMap; execConfig?: IExecutionConfig; id?: string; } /** * @internal */ export declare interface IDescriptionTriggerProps { className?: string; glyph?: "svg" | "font"; } /** * @internal */ export declare interface IDialogBaseProps { children?: ReactNode; className?: string; dataTestId?: string; displayCloseButton?: boolean; accessibilityConfig?: { closeButton?: IButtonAccessibilityConfig; titleElementId?: string; descriptionElementId?: string; isModal?: boolean; title?: string; dialogId?: string; }; isModal?: boolean; submitOnEnterKey?: boolean; shouldCloseOnEscape?: boolean; onCancel?: (data?: any) => void; onClose?: (data?: any) => void; onSubmit?: (data?: any) => void; /** * These properties will be placed to the container, which wraps overlay background and dialog content elements */ containerClassName?: string; shouldCloseOnClick?: (e: Event) => boolean; onClick?: (e: MouseEvent_2) => void; onMouseOver?: (e: MouseEvent_2) => void; onMouseUp?: (e: MouseEvent_2) => void; /** * If true, the dialog will autofocus on the first focusable element when it is opened. * Default is true. */ autofocusOnOpen?: boolean; /** * When this value changes, the dialog will refocus the first focusable element. * Only works when autofocusOnOpen is true. */ refocusKey?: unknown; CloseButton?: ComponentType; initialFocus?: RefObject | string; returnFocusTo?: RefObject | string; returnFocusAfterClose?: boolean; /** * customize if you know that dialog content has some custom focusIn logic which modifies focused element, eg. table which shifts its focus from table wrapper to first table cell * default is check if active element is exactly focused element. */ focusCheckFn?: (element: HTMLElement) => boolean; } /** * @internal */ export declare type IDialogCloseButtonProps = Pick & { className?: string; }; /** * @internal */ export declare interface IDialogListHeaderProps { className?: string; gdIconName?: string; title?: string; buttonTitle?: string; buttonDisabled?: boolean; buttonTooltipText?: string; onButtonClick?: () => void; } /** * @internal */ export declare interface IDialogListItem extends IDialogListItemBase { subtitle?: string; icon?: ReactElement; isDisabled?: boolean; isClickable?: boolean; isDeletable?: boolean; deleteTooltipText?: string; action?: ReactElement; badgeAfter?: ReactElement; } /** * @internal */ export declare interface IDialogListItemBase { id: string; title: string; } /** * @internal */ export declare interface IDialogListItemComponentProps { item: T; className?: string; onClick?: (item: T) => void; onDelete?: (item: T) => void; } /** * @internal */ export declare interface IDialogListProps { items: Array; isLoading?: boolean; className?: string; emptyMessageElement?: ReactElement; itemComponent?: DialogListItemComponent; itemClassName?: string; onItemClick?: (item: T) => void; onItemDelete?: (item: T) => void; } /** * @internal */ export declare interface IDialogProps extends IDialogBaseProps { /** * These properties will be placed to the container, which wraps overlay background and dialog content elements */ containerClassName?: string; shouldCloseOnClick?: (e: Event) => boolean; onClick?: (e: MouseEvent_2) => void; onMouseOver?: (e: MouseEvent_2) => void; onMouseUp?: (e: MouseEvent_2) => void; onClose?: () => void; isModal?: boolean; alignPoints?: IAlignPoint[]; closeOnEscape?: boolean; closeOnParentScroll?: boolean; closeOnMouseDrag?: boolean; } /** * @internal */ export declare interface IDocumentHeaderProps { pageTitle?: string; brandTitle?: string; appleTouchIconUrl?: string; faviconUrl?: string; } /** * @internal */ export declare interface IDomainHomepageLinkProps { onClick?: (e: MouseEvent_2) => void; } /** * @internal */ export declare interface IDomNative { focus: (options?: { preventScroll?: boolean; }) => void; } /** * @internal */ export declare interface IDomNativeProps { autofocus?: boolean; } /** * @internal */ export declare interface IDropdownBodyRenderProps { isMobile: boolean; closeDropdown: () => void; ariaAttributes: Pick & { role: AriaAttributes["aria-haspopup"] & AriaRole; id: string; }; } /** * @internal */ export declare interface IDropdownButtonAccessibilityConfig { isExpanded?: boolean; popupType?: AriaAttributes["aria-haspopup"]; popupId?: string; ariaHaspopup?: AriaAttributes["aria-haspopup"]; } /** * @internal */ export declare interface IDropdownButtonProps { id?: string; className?: string; accessibilityConfig?: IAccessibilityConfigBase & { popupType?: AriaAttributes["aria-haspopup"]; }; value?: ReactNode; title?: string | ReactNode; disabled?: boolean; isOpen?: boolean; isSmall?: boolean; iconLeft?: string; isFullWidth?: boolean; onClick?: (e: MouseEvent_2) => void; children?: ReactNode; dropdownId?: string; buttonRef?: Ref; } /** * @internal */ export declare interface IDropdownButtonRenderProps { isMobile: boolean; isOpen: boolean; dropdownId: string; buttonRef: MutableRefObject; openDropdown: () => void; closeDropdown: () => void; toggleDropdown: (desiredState?: unknown) => void; /** * Props supporting accessibility that can be just passed through to the rendered element */ ariaAttributes: { role: AriaRole; } & Pick; /** * Props supporting accessibility that can be passed down to a