Your IP : 216.73.216.86


Current Path : /var/www/homesaver/www/bitrix/js/ui/switcher-nested/src/
Upload File :
Current File : /var/www/homesaver/www/bitrix/js/ui/switcher-nested/src/types.js

import { Draggable } from 'ui.draganddrop.draggable';
import { SwitcherNestedItem } from './switcher-nested-item';

export type SwitcherNestedOptions = {
	linkTitle?: string,
	link?: string,
	isChecked?: boolean,
	mainInputName: string,
	items?: Array<SwitcherNestedItem>,
	infoHelperCode?: string,
	isDefault?: boolean,
	isDisabled?: boolean,
	helpMessage?: string,
	draggable: Draggable,
}

export type SwitcherNestedItemOptions = {
	id?: string,
	inputName?: string,
	title?: string,
	isChecked: boolean,
	settingsPath?: string,
	settingsTitle?: string,
	infoHelperCode?: string,
	isDefault?: boolean,
	isDisabled?: boolean,
	helpMessage?: string,
}

export type WarningMessageOptions = {
	id: string,
	bindElement: HTMLElement,
	message: HTMLElement,
}