Your IP : 216.73.216.86


Current Path : /var/www/homesaver/www/bitrix/js/ui/entity-selector/src/dialog/tabs/
Upload File :
Current File : /var/www/homesaver/www/bitrix/js/ui/entity-selector/src/dialog/tabs/tab-options.js

import type { HeaderContent, HeaderOptions } from '../header/header-content';
import type { FooterContent, FooterOptions } from '../footer/footer-content';
import type { ItemNodeOrder } from '../../item/item-node-options';
import type { TextNodeOptions } from '../../common/text-node-options';

export type TabOptions = {
	id: string,
	title?: string | TextNodeOptions,
	visible?: boolean,
	itemMaxDepth?: number,
	itemOrder?: ItemNodeOrder,
	icon?: TabLabelStates | string,
	textColor?: TabLabelStates | string,
	bgColor?: TabLabelStates | string,
	stub?: boolean | string | Function,
	stubOptions?: { [option: string]: any },
	header?: HeaderContent,
	headerOptions?: HeaderOptions,
	showDefaultHeader?: boolean,
	footer?: FooterContent,
	footerOptions?: FooterOptions,
	showDefaultFooter?: boolean,
	showAvatars?: boolean
};

export type TabLabelState = 'default' | 'selected' | 'hovered' | 'selectedHovered';

export type TabLabelStates = {
	default?: string,
	selected?: string,
	hovered?: string,
	selectedHovered?: string
}