@elastic-suite/gally-admin-components
Version:
Components package for gally admin BO
483 lines (417 loc) • 82.6 kB
TypeScript
import * as React from 'react';
import React__default, { ReactNode, SyntheticEvent, Dispatch, SetStateAction, ForwardedRef, MutableRefObject, RefObject, HTMLAttributes, Ref, CSSProperties, ChangeEvent, MouseEvent, PropsWithChildren, FunctionComponent } from 'react';
import { CustomContentProps, SnackbarKey } from 'notistack';
import { IMenu, IFetchApi, IResource, ISearchParameters, IFetch as IFetch$1, ILoadResource, IHydraResponse, IHydraMember, IResourceEditableOperations, IFieldConfig, IFieldConfigFormWithFieldset, IOptions, IField as IField$1, ICatalog, IHydraCatalog, ILocalizedCatalog, IMetadata, IOptionsContext, IRuleOptionsContext, IGraphqlApi, IHorizontalOverflow, MessageSeverity, NetworkError, IMainContext, IResourceOperations, IParsedCategoryConfiguration, IRuleEngineOperators, IProductFieldFilterInput, ILoadStatuses, IRouterTab, IUser, ITreeItem, IMenuChild, IPropsPopIn, IRuleCombination, IRule, BoostType, ITab, MassiveSelectionType, ITabContentProps, IFieldGuesserProps, ITableRow, ITableConfig, ITableHeader, IConfigurations, ICategories, ICategory, IGraphqlProductPosition, IProductPositions, IResourceEditableMassUpdate, IResourceEditableMassReplace, IApi, Bundle, RuleAttributeType, Role, ITableHeaderSticky, IStickyBorderStyle, ILimitationsTypes, IRequestType, IError, IErrorsForm, IDraggableColumnStyle, DataContentType, IStickyStyle, ISelectionStyle, INonStickyStyle } from '@elastic-suite/gally-admin-shared';
import { ChipProps, CheckboxProps, InputBaseProps, RadioGroupProps, SliderProps, SwitchProps, TooltipProps, TypographyProps } from '@mui/material';
import { DateValidationError } from '@mui/x-date-pickers/internals/hooks/validation/useDateValidation';
import { TextareaAutosizeProps } from '@mui/base/TextareaAutosize/TextareaAutosize';
import { JSX as JSX$1 } from 'ionicons';
import { JSXBase } from 'ionicons/dist/types/stencil-public-runtime';
import { DraggableProvided } from 'react-beautiful-dnd';
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
import { PreloadedState } from '@reduxjs/toolkit';
import * as redux_thunk from 'redux-thunk';
import * as redux from 'redux';
import { UserConfig } from 'next-i18next';
import { Callback, TFunction } from 'i18next';
import * as hoist_non_react_statics from 'hoist-non-react-statics';
import * as next_router from 'next/router';
import * as next_types from 'next/types';
import * as next_app from 'next/app';
import { AppProps } from 'next/app';
import { TypedUseSelectorHook } from 'react-redux';
interface IProps$13 extends Partial<CustomContentProps> {
onShut?: (id: SnackbarKey) => void;
mb?: number;
children?: ReactNode;
}
declare const _default$A: React__default.ForwardRefExoticComponent<IProps$13 & React__default.RefAttributes<HTMLDivElement>>;
interface IProps$12 {
type: 'up' | 'down' | 'straight';
boostNumber?: number;
boostMultiplicator?: number;
}
declare function Boost(props: IProps$12): JSX.Element;
interface IProps$11 {
label: string;
last: boolean;
}
declare function Breadcrumb(props: IProps$11): JSX.Element;
interface IProps$10 {
slug: string | string[];
menu: IMenu;
}
declare function Breadcrumbs(props: IProps$10): JSX.Element;
interface IChipProps extends ChipProps {
componentId?: string;
}
declare function Chip(props: IChipProps): JSX.Element;
interface IProps$$ {
onClose: () => void;
}
declare function CloseComponent({ onClose }: IProps$$): JSX.Element;
interface ICheckboxWithoutErrorProps extends Omit<CheckboxProps, 'onChange' | 'onClick'> {
label?: ReactNode;
list?: boolean;
onChange?: (checked: boolean, event: SyntheticEvent) => void;
onClick?: (event: SyntheticEvent) => void;
small?: boolean;
helperIcon?: string;
helperText?: ReactNode;
error?: boolean;
componentId?: string;
}
declare const _default$z: React__default.ForwardRefExoticComponent<Pick<ICheckboxWithoutErrorProps, "helperText" | "style" | "onClick" | "color" | "icon" | "name" | "size" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "slot" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAuxClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "list" | "componentId" | "small" | "disabled" | "form" | "label" | "classes" | "className" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "placeholder" | "spellCheck" | "translate" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onBeforeInput" | "onBeforeInputCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClickCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onSelect" | "onSelectCapture" | "error" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "edge" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "required" | "readOnly" | "checked" | "checkedIcon" | "inputProps" | "inputRef" | "indeterminate" | "indeterminateIcon" | "helperIcon"> & React__default.RefAttributes<HTMLInputElement>>;
declare function useApiFetch(secure?: boolean): IFetchApi;
declare function useFetchApi<T extends object>(resource: IResource | string, searchParameters?: ISearchParameters, options?: RequestInit, secure?: boolean, conditions?: boolean, withDebounce?: boolean, rowsPerPageWithPagination?: number): [IFetch$1<T>, Dispatch<SetStateAction<T>>, ILoadResource];
declare function useApiList<T extends object>(resource?: IResource | string, page?: number | false, rowsPerPage?: number, searchParameters?: ISearchParameters, searchValue?: string, withDebounce?: boolean, withPagination?: boolean, conditions?: boolean): [
IFetch$1<IHydraResponse<T>> | null,
Dispatch<SetStateAction<T[]>>?,
ILoadResource?
];
declare function useApiEditableList<T extends IHydraMember>(resource: IResource, page?: number | false, rowsPerPage?: number, searchParameters?: ISearchParameters, searchValue?: string, url?: string, withDebounce?: boolean): [
IFetch$1<IHydraResponse<T>>,
IResourceEditableOperations<T>,
Dispatch<SetStateAction<T[]>>
];
declare function useApiFilters<A extends IHydraMember>(apiData: IHydraResponse<A>, resource: IResource): IFieldConfig[];
declare function useApiHeaders(resource: IResource): IFieldConfig[];
declare function useApiHeadersForm(resource: IResource): IFieldConfigFormWithFieldset[];
declare function useApiEditableFieldOptions(resource: IResource): IOptions<IField$1>;
declare function useApiDoubleDatePicker(resource: IResource): IResource;
declare const breadcrumbContext: React.Context<[string[], Dispatch<SetStateAction<string[]>>]>;
interface ICatalogContext {
catalog?: ICatalog;
catalogId: number;
catalogs: IHydraCatalog[];
localizedCatalog?: ILocalizedCatalog;
localizedCatalogId: number;
localizedCatalogWithDefault: ILocalizedCatalog | null;
localizedCatalogIdWithDefault: string;
setCatalogId: Dispatch<SetStateAction<number>>;
setLocalizedCatalogId: Dispatch<SetStateAction<number>>;
}
declare const catalogContext: React.Context<ICatalogContext>;
interface II18nContext {
changeLanguage: (language?: string, callback?: Callback) => Promise<TFunction>;
}
declare const i18nContext: React.Context<II18nContext>;
declare const metadataContext: React.Context<IMetadata[]>;
declare const optionsContext: React.Context<IOptionsContext>;
declare const ruleOptionsContext: React.Context<IRuleOptionsContext>;
declare const tabVisibilityContext: React.Context<boolean>;
declare function useCatalogs(catalogs: IHydraCatalog[]): ICatalogContext;
declare function useDataLoader(): void;
declare function useFiltersRedirect(page?: number | false, activeFilters?: ISearchParameters, searchValue?: string, active?: boolean, prefix?: string): void;
declare function usePage(prefix?: string): [number, Dispatch<SetStateAction<number>>];
declare function useFilters(resource: IResource, prefix?: string): [ISearchParameters, Dispatch<SetStateAction<ISearchParameters>>];
declare function useSearch(prefix?: string): [string, Dispatch<SetStateAction<string>>];
declare function useFilterParameters(...filters: ISearchParameters[]): ISearchParameters;
declare type IOnChange = (value: unknown, event?: SyntheticEvent) => void;
declare type IValidator = (value: unknown, event?: SyntheticEvent) => string | null;
interface IFieldErrorProps {
showError?: boolean;
additionalValidator?: IValidator;
replacementErrorsMessages?: Record<string, string>;
}
interface IFormErrorProps {
error: boolean;
helperIcon?: string;
helperText?: string;
onChange: IOnChange;
ref?: ForwardedRef<HTMLInputElement | HTMLTextAreaElement>;
}
declare function useFormError(onChange: IOnChange, value: unknown, showError?: boolean, validator?: IValidator, disabled?: boolean, replacementErrorsMessages?: Record<string, string>): [IFormErrorProps, Dispatch<SetStateAction<string>>];
declare function useApiGraphql(secure?: boolean): IGraphqlApi;
declare function useGraphqlApi<T extends object>(query: string, variables?: Record<string, unknown>, options?: RequestInit, conditions?: boolean): [IFetch$1<T>, Dispatch<SetStateAction<T>>, ILoadResource];
declare const useIsHorizontalOverflow: (current: HTMLDivElement) => IHorizontalOverflow;
declare function useLog(severity?: MessageSeverity): (error: NetworkError) => void;
declare function useOptions(): IOptionsContext;
declare function useResource(resourceName: string, mainContext?: IMainContext): IResource;
declare function useResourceOperations<T extends IHydraMember>(resource: IResource): IResourceOperations<T>;
declare function useRuleEngineGraphqlFilters(catConf: IParsedCategoryConfiguration, ruleOperators: IRuleEngineOperators): [
IProductFieldFilterInput,
Dispatch<SetStateAction<IProductFieldFilterInput>>
];
declare function useRuleOperators(ruleOperatorsDefault?: IRuleEngineOperators): IRuleEngineOperators;
declare type ILoader<T> = (fetchApi: IFetchApi) => Promise<T>;
declare type IFetch<T> = (id: string, loader: ILoader<T>) => void;
interface IUseLoader<T> {
fetch: IFetch<T>;
map: Map<string, T>;
setMap: Dispatch<SetStateAction<Map<string, T>>>;
statuses: MutableRefObject<ILoadStatuses>;
}
declare function useSingletonLoader<T>(defaultState?: Map<string, T> | (() => Map<string, T>)): IUseLoader<T>;
declare enum TabUrlMatching {
EXACT = 0,
PARTIAL = 1
}
declare function useTabs(tabs: IRouterTab[], matchingMethod?: TabUrlMatching): [IRouterTab, (id: number) => void];
declare function useUser(): IUser | null;
interface IFormValidation {
formRef: RefObject<HTMLFormElement>;
formIsValid: boolean;
}
declare const useFormValidation: () => IFormValidation;
interface ICheckboxErrorProps extends IFieldErrorProps, ICheckboxWithoutErrorProps {
}
declare function Checkbox(props: ICheckboxErrorProps): JSX.Element;
interface IUnstyledInputTextProps extends InputBaseProps {
dirty?: boolean;
small?: boolean;
transparent?: boolean;
value?: string | number | null;
}
interface IInputTextProps extends Omit<IUnstyledInputTextProps, 'margin' | 'onChange' | 'onKeyUp' | 'onKeyDown' | 'onBlur' | 'onFocus'>, Pick<HTMLAttributes<HTMLInputElement>, 'onKeyUp' | 'onKeyDown' | 'onBlur' | 'onFocus'> {
error?: boolean;
fullWidth?: boolean;
infoTooltip?: string;
inputRef?: Ref<HTMLInputElement>;
label?: ReactNode;
margin?: 'none' | 'dense' | 'normal';
helperText?: ReactNode;
helperIcon?: string;
onChange?: (value: string | number, event: SyntheticEvent) => void;
suffix?: ReactNode;
requiredLabel?: boolean;
componentId?: string;
}
declare const _default$y: React__default.ForwardRefExoticComponent<Pick<IInputTextProps, "helperText" | "style" | "onClick" | "color" | "name" | "size" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "slot" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAuxClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "componentId" | "transparent" | "small" | "disabled" | "label" | "classes" | "className" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "placeholder" | "spellCheck" | "translate" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onBeforeInput" | "onBeforeInputCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClickCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onSelect" | "onSelectCapture" | "margin" | "error" | "type" | "autoFocus" | "value" | "autoComplete" | "required" | "rows" | "readOnly" | "inputProps" | "inputRef" | "helperIcon" | "componentsProps" | "infoTooltip" | "suffix" | "fullWidth" | "components" | "dirty" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "multiline" | "renderSuffix" | "maxRows" | "minRows" | "startAdornment" | "requiredLabel"> & React__default.RefAttributes<HTMLDivElement>>;
interface IDatePickerProps extends Omit<IInputTextProps, 'value' | 'onChange' | 'onError'> {
value: Date | string | null;
onChange: (value: Date | string | null) => void;
onError?: (reason: DateValidationError, value: Date) => void;
componentId?: string;
}
declare const _default$x: React__default.ForwardRefExoticComponent<Pick<IDatePickerProps, "helperText" | "style" | "onClick" | "color" | "name" | "size" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "slot" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAuxClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "componentId" | "transparent" | "small" | "disabled" | "label" | "classes" | "className" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "placeholder" | "spellCheck" | "translate" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onBeforeInput" | "onBeforeInputCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClickCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onSelect" | "onSelectCapture" | "margin" | "error" | "type" | "autoFocus" | "value" | "autoComplete" | "required" | "rows" | "readOnly" | "inputProps" | "inputRef" | "helperIcon" | "componentsProps" | "infoTooltip" | "suffix" | "fullWidth" | "components" | "dirty" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "multiline" | "renderSuffix" | "maxRows" | "minRows" | "startAdornment" | "requiredLabel"> & React__default.RefAttributes<HTMLInputElement>>;
interface IDatePickerErrorProps extends IFieldErrorProps, IDatePickerProps {
}
declare function DatePicker(props: IDatePickerErrorProps): JSX.Element;
interface IDoubleDatePickerValues {
fromDate: Date | string | null;
toDate: Date | string | null;
}
interface IDoubleDatePickerErrors {
from: DateValidationError;
to: DateValidationError;
}
interface IDoubleDatePickerProps extends Omit<IDatePickerProps, 'value' | 'onChange' | 'onError' | 'ref'> {
value?: IDoubleDatePickerValues;
onChange?: (values: IDoubleDatePickerValues) => void;
onError?: (reasons: IDoubleDatePickerErrors) => void;
error?: boolean;
errors?: IDoubleDatePickerErrors;
fullWidth?: boolean;
infoTooltip?: string;
label?: ReactNode;
margin?: 'none' | 'dense' | 'normal';
helperText?: ReactNode;
helperIcon?: string;
componentId?: string;
}
declare const _default$w: React__default.ForwardRefExoticComponent<IDoubleDatePickerProps & React__default.RefAttributes<HTMLInputElement>>;
interface IDoubleDatePickerErrorProps extends IFieldErrorProps, IDoubleDatePickerProps {
}
declare function DoubleDatePicker(props: IDoubleDatePickerErrorProps): JSX.Element;
interface IDropDownProps<T> extends Omit<IInputTextProps, 'onChange' | 'value'> {
disabled?: boolean;
limitTags?: number;
multiple?: boolean;
onChange?: (value: T | T[], event: SyntheticEvent) => void;
options: IOptions<T>;
style?: CSSProperties;
value?: T | T[] | object | object[];
useGroups?: boolean;
objectKeyValue?: string;
componentId?: string;
}
declare const _default$v: React__default.ForwardRefExoticComponent<Pick<IDropDownProps<unknown>, "helperText" | "style" | "onClick" | "color" | "name" | "size" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "slot" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAuxClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "componentId" | "transparent" | "small" | "multiple" | "disabled" | "label" | "classes" | "className" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "placeholder" | "spellCheck" | "translate" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onBeforeInput" | "onBeforeInputCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClickCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onSelect" | "onSelectCapture" | "margin" | "error" | "type" | "autoFocus" | "value" | "autoComplete" | "required" | "rows" | "readOnly" | "inputProps" | "inputRef" | "helperIcon" | "componentsProps" | "options" | "infoTooltip" | "objectKeyValue" | "suffix" | "fullWidth" | "components" | "dirty" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "multiline" | "renderSuffix" | "maxRows" | "minRows" | "startAdornment" | "requiredLabel" | "limitTags" | "useGroups"> & React__default.RefAttributes<HTMLInputElement>>;
interface IDropDownErrorProps<T> extends IFieldErrorProps, IDropDownProps<T> {
}
declare function Dropdown<T>(props: IDropDownErrorProps<T>): JSX.Element;
interface IProps$_ {
title: string | NonNullable<React__default.ReactNode>;
children?: ReactNode;
noStyle?: boolean;
withHTMLTitle?: boolean;
}
declare function InfoTooltip({ title, children, noStyle, withHTMLTitle, }: IProps$_): JSX.Element;
interface IInputTextErrorProps extends IFieldErrorProps, IInputTextProps {
}
declare function InputText(props: IInputTextErrorProps): JSX.Element;
interface IRadioGroupProps extends Omit<RadioGroupProps, 'onChange'> {
options: IOptions<unknown>;
onChange?: (value: string, event: SyntheticEvent) => void;
error?: boolean;
helperText?: ReactNode;
helperIcon?: string;
label?: string;
infoTooltip?: string;
required?: boolean;
}
declare function RadioGroupWithoutError(props: IRadioGroupProps): JSX.Element;
interface IRadioGroupErrorProps extends IFieldErrorProps, IRadioGroupProps {
}
declare function RadioGroup(props: IRadioGroupErrorProps): JSX.Element;
interface IRangeProps extends Omit<IUnstyledInputTextProps, 'margin' | 'onChange' | 'placeholder' | 'value'> {
error?: boolean;
fullWidth?: boolean;
infoTooltip?: string;
inputRef?: Ref<HTMLInputElement>;
helperText?: ReactNode;
helperIcon?: string;
label?: string;
margin?: 'none' | 'dense' | 'normal';
placeholder?: string[];
onChange?: (value: (string | number)[], event: SyntheticEvent) => void;
suffix?: ReactNode;
value: (string | number | null)[];
componentId?: string;
}
declare const _default$u: React__default.ForwardRefExoticComponent<Pick<IRangeProps, "helperText" | "style" | "onClick" | "color" | "name" | "size" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "slot" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAuxClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "componentId" | "transparent" | "small" | "disabled" | "label" | "classes" | "className" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "placeholder" | "spellCheck" | "translate" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onBeforeInput" | "onBeforeInputCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClickCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onSelect" | "onSelectCapture" | "margin" | "error" | "type" | "autoFocus" | "value" | "autoComplete" | "required" | "rows" | "readOnly" | "inputProps" | "inputRef" | "helperIcon" | "componentsProps" | "infoTooltip" | "suffix" | "fullWidth" | "components" | "dirty" | "disableInjectingGlobalStyles" | "endAdornment" | "inputComponent" | "multiline" | "renderSuffix" | "maxRows" | "minRows" | "startAdornment"> & React__default.RefAttributes<HTMLInputElement>>;
interface IRangeErrorProps extends IFieldErrorProps, IRangeProps {
}
declare function Range(props: IRangeErrorProps): JSX.Element;
interface ISliderProps extends Omit<SliderProps, 'defaultValue' | 'onChange'> {
error?: boolean;
fullWidth?: boolean;
infoTooltip?: string;
label?: string;
margin?: 'none' | 'dense' | 'normal';
helperText?: ReactNode;
helperIcon?: string;
onChange?: (value: number) => void;
value: number;
width?: number;
required?: boolean;
componentId?: string;
}
declare function Slider(props: ISliderProps): JSX.Element;
declare namespace Slider {
var defaultProps: {
width: number;
};
}
interface IProps$Z extends Omit<SwitchProps, 'onChange'> {
helperIcon?: string;
helperText?: string;
infoTooltip?: string;
label?: string;
margin?: 'none' | 'dense' | 'normal';
onChange?: (value: boolean, event: ChangeEvent<HTMLInputElement>) => void;
componentId?: string;
}
declare function Switch(props: IProps$Z): JSX.Element;
interface ITextareaProps extends Omit<TextareaAutosizeProps, 'onChange'> {
error?: boolean;
fullWidth?: boolean;
label?: string;
margin?: 'none' | 'dense' | 'normal';
resizable?: boolean;
onChange?: (value: string, event: SyntheticEvent) => void;
helperText?: ReactNode;
helperIcon?: string;
}
declare const _default$t: React__default.ForwardRefExoticComponent<Pick<ITextareaProps, "helperText" | "style" | "onClick" | "color" | "name" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "tabIndex" | "title" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "slot" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAuxClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "wrap" | "disabled" | "form" | "label" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "placeholder" | "spellCheck" | "translate" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onBeforeInput" | "onBeforeInputCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClickCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onSelect" | "onSelectCapture" | "margin" | "error" | "autoFocus" | "value" | "autoComplete" | "required" | "cols" | "dirName" | "maxLength" | "minLength" | "readOnly" | "helperIcon" | "fullWidth" | "maxRows" | "minRows" | "resizable"> & React__default.RefAttributes<HTMLTextAreaElement>>;
interface ITextAreaErrorProps extends IFieldErrorProps, ITextareaProps {
}
declare function TextArea(props: ITextAreaErrorProps): JSX.Element;
interface ITreeSelectorProps<Multiple extends boolean | undefined> extends Omit<IInputTextProps, 'onChange' | 'value' | 'ref'> {
data: ITreeItem[];
limitTags?: number;
multiple?: Multiple;
onChange?: Multiple extends true ? (value: ITreeItem[], event: SyntheticEvent) => void : (value: ITreeItem, event: SyntheticEvent) => void;
value: Multiple extends true ? ITreeItem[] : ITreeItem;
componentId?: string;
}
declare const _default$s: React__default.ForwardRefExoticComponent<ITreeSelectorProps<boolean> & React__default.RefAttributes<HTMLInputElement>>;
interface ITreeSelectorErrorProps<Multiple extends boolean | undefined> extends IFieldErrorProps, ITreeSelectorProps<Multiple> {
}
declare function TreeSelector<Multiple extends boolean | undefined>(props: ITreeSelectorErrorProps<Multiple>): JSX.Element;
interface IProps$Y {
name?: string;
max?: number;
toolTip?: boolean;
firstLetterUpp?: boolean;
}
declare function FormatText(props: IProps$Y): JSX.Element;
declare function Help(): JSX.Element;
declare function HelpOver(): JSX.Element;
declare type IIonIconProps = Omit<JSX$1.IonIcon & JSXBase.HTMLAttributes<HTMLIonIconElement>, 'style' | 'onClick'> & {
style?: CSSProperties;
onClick?: (event: MouseEvent<IIonIconProps>) => void;
};
declare global {
namespace JSX {
interface IntrinsicElements {
'ion-icon': IIonIconProps;
}
}
}
interface IProps$X extends IIonIconProps {
name: string;
tooltip?: boolean;
componentId?: string;
}
declare function IonIcon(props: IProps$X): JSX.Element;
interface IProps$W {
childrenState: Record<string, boolean>;
code: string;
href: string;
isActive?: boolean;
isBoosts?: boolean;
label: string;
menuChildren?: IMenuChild[];
onToggle: (code: string, childState: boolean) => void;
sidebarStateTimeout?: boolean;
words: string[];
}
declare function MenuItem(props: IProps$W): JSX.Element;
interface IProps$V {
childPadding?: boolean;
code: string;
href: string;
isActive?: boolean;
isRoot?: boolean;
label: string;
lightStyle?: boolean;
sidebarState?: boolean;
sidebarStateTimeout?: boolean;
}
declare function MenuItemIcon(props: IProps$V): JSX.Element;
declare function PopIn({ triggerElement, boxStyle, onConfirm, ...dialogProps }: PropsWithChildren<IPropsPopIn>): JSX.Element;
declare function Tooltip(props: TooltipProps): JSX.Element;
interface INoAttributesProps {
title: string;
btnTitle?: string;
btnHref?: string;
absoluteLink?: boolean;
}
declare function NoAttributes(props: INoAttributesProps): JSX.Element;
interface IProps$U extends TypographyProps {
children?: ReactNode;
sticky?: boolean;
title: string;
hideTitle?: boolean;
headTitle?: string | null;
componentId?: string;
}
declare function PageTitle(props: IProps$U): JSX.Element;
declare namespace PageTitle {
var defaultProps: {
variant: string;
};
}
interface IProps$T {
children: ReactNode;
placeholder: string;
}
declare function Placeholder(props: IProps$T): JSX.Element;
interface IProps$S {
price: number;
currency: string;
countryCode: string;
componentId?: string;
}
declare