| Current Path : /var/www/homesaver/www/bitrix/modules/ui/install/js/ui/switcher-nested/src/ |
| Current File : /var/www/homesaver/www/bitrix/modules/ui/install/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,
}