import { type VNode } from "vue-demi"; import type EPGItem from "./epgItem"; import type { Events } from "./types"; export default class EPGGroup { /** * 当前组的唯一 ID */ id: string; /** * 当前 EPGGroup 的 DOM 元素 */ el: HTMLElement | undefined; /** * 当前元素的第一层子 EPGItem / EPGGroup */ children: (EPGItem | EPGGroup)[]; /** * 当前元素是否未默认选择的元素 */ isDefault: boolean; /** * 更新当前元素的首层子 EPGItem / EPGGroup */ updateChildren(): (EPGItem | EPGGroup)[]; /** * 返回当前 EPGGroup 的 HTMLElement 的 getBoundingClientRect */ getRect(): DOMRect | undefined; events: Events; constructor(vnode: VNode, binding: any); }