/// import { AnyT, IDataWrapper, IDisabledWrapper, IEmptyDataMessageWrapper, IEmptyMessageWrapper, IEntity, IFilterWrapper, IFullWrapper, IItemConfigurationWrapper, IKeyValue, IListConfigurationWrapper, IListWrapper, ILocalPaginationWrapper, IOnSelectWrapper, IOriginalDataWrapper, IPagesCountWrapper, IRawDataWrapper, IRowsWrapper, ISelectedWrapper, ISorterWrapper, ITotalCountWrapper } from '../definitions.interface'; import { IGenericComponentProps } from './generic-component-definition.interface'; import { IGenericContainerProps } from './generic-container-definition.interface'; import { IPresetsIconEntity, IPresetsTemplateEntity, IReduxLifeCycleEntity } from './entity-definition.interface'; import { IReduxPaginatedEntity } from './page-definition.interface'; import { IEnhancedGenericComponentProps } from './enhanced-generic-component-definition.interface'; import { IPresetsRowEntity } from './row-definition.interface'; import { IPresetsSelectedElementEntity } from './selected-element-definition.interface'; import { ISortDirectionsEntity } from './sort-definition.interface'; /** * @redux-entity * @stable [08.05.2020] */ export interface IReduxPaginatedDataEntity extends IReduxPaginatedEntity, IDataWrapper, IOriginalDataWrapper, IRawDataWrapper { } /** * @redux-entity * @stable [08.05.2020] */ export interface IReduxListEntity extends IReduxPaginatedDataEntity, IReduxLifeCycleEntity, ISortDirectionsEntity, ISelectedWrapper { } /** * @presets-entity * @stable [11.06.2020] */ export interface IPresetsListEntity extends IPresetsSelectedElementEntity, /* @stable [11.06.2020] */ IListItemConfigurationEntity, /* @stable [11.06.2020] */ IEmptyDataMessageWrapper, /* @stable [11.06.2020] */ IEmptyMessageWrapper, /* @stable [11.06.2020] */ IFilterWrapper<(entity: TEntity) => boolean>, /* @stable [11.06.2020] */ IFullWrapper, /* @stable [11.06.2020] */ ILocalPaginationWrapper, /* @stable [16.07.2020] */ IOnSelectWrapper, /* @stable [11.06.2020] */ ISorterWrapper { } /** * @generic-entity * @stable [11.06.2020] */ export interface IGenericListEntity extends IPresetsListEntity, IReduxListEntity { } /** * @presets-entity * @stable [01.06.2020] */ export interface IPresetsBaseListItemEntity extends IPresetsTemplateEntity, IPresetsIconEntity, IDisabledWrapper { } /** * @presets-entity * @stable [17.08.2020] */ export interface IPresetsListItemEntity extends IPresetsBaseListItemEntity, IPresetsRowEntity { } /** * @generic-entity * @stable [01.06.2020] */ export interface IGenericListItemEntity extends IPresetsListItemEntity { } /** * @props * @stable [01.06.2020] */ export interface IListItemProps extends IGenericComponentProps, IGenericListItemEntity { } /** * @configuration-entity * @stable [11.06.2020] */ export interface IListItemConfigurationEntity extends IItemConfigurationWrapper { } /** * @redux-holder-entity * @stable [11.06.2020] */ export interface IReduxListHolderEntity> extends IListWrapper { } /** * @configuration-entity * @stable [08.05.2020] */ export interface IListConfigurationEntity extends IListConfigurationWrapper { } /** * @props * @stable [27.10.2019] */ export interface IListProps extends IEnhancedGenericComponentProps, IGenericListEntity { } /** * @config-entity * @stable [16.07.2020] */ export interface IListRowsConfigEntity extends IPagesCountWrapper, IRowsWrapper, ITotalCountWrapper { } /** * TODO */ export interface ICardListProps extends IKeyValue { } /** * @generic-entity * @stable [30.03.2020] */ export interface IGenericListContainerEntity extends IReduxListHolderEntity, IListConfigurationEntity { } /** * @props * @stable [30.03.2020] */ export interface IBaseListContainerProps extends IGenericContainerProps, IReduxListHolderEntity { } /** * @props * @stable [30.03.2020] */ export interface IListContainerProps extends IGenericContainerProps, IGenericListContainerEntity { } /** * @props * @stable [11.06.2020] */ export interface IBasicListProps extends IEnhancedGenericComponentProps, IGenericListEntity { } /** * @classes * @stable [04.05.2020] */ export declare enum ListClassesEnum { CARD_LIST = "rac-card-list", FULL_LIST = "rac-full-list", LIST = "rac-list", LIST_ITEM = "rac-list-item", LIST_ITEM_CONTENT = "rac-list-item__content", LIST_ITEM_DECORATED = "rac-list-item-decorated", LIST_ITEM_HOVERED = "rac-list-item-hovered", LIST_ITEM_ICON = "rac-list-item__icon", LIST_ITEM_LAST = "rac-list-item-last", LIST_ITEM_ODD = "rac-list-item-odd", LIST_ITEM_SELECTABLE = "rac-list-item-selectable", LIST_ITEM_SELECTED = "rac-list-item-selected", LIST_ITEM_UNSELECTED = "rac-list-item-unselected" } /** * @initial-redux-entity * @stable [29.07.2020] */ export declare const INITIAL_REDUX_LIST_ENTITY: Readonly>; /** * @default-entity * @stable [04.05.2020] */ export declare const DEFAULT_SELECTABLE_LIST_ITEM_ENTITY: Readonly>; /** * @default-entity * @stable [04.05.2020] */ export declare const DEFAULT_NOT_HOVERED_LIST_ITEM_ENTITY: Readonly>; /** * @stable [30.03.2020] */ export declare const LIST_CANCEL_LOAD_ACTION_TYPE = "list.cancel.load"; export declare const LIST_CREATE_ACTION_TYPE = "list.create"; export declare const LIST_LAZY_LOAD_ACTION_TYPE = "list.lazy.load"; export declare const LIST_LOAD_ACTION_TYPE = "list.load"; export declare const LIST_MERGE_ACTION_TYPE = "list.merge"; export declare const LIST_SELECT_ACTION_TYPE = "list.select"; export declare const LIST_LAZY_LOAD_DONE_ACTION_TYPE: string; export declare const LIST_LAZY_LOAD_ERROR_ACTION_TYPE: string; export declare const LIST_LOAD_DONE_ACTION_TYPE: string; export declare const LIST_LOAD_ERROR_ACTION_TYPE: string;