import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime'; import { IBzResourceAllocationController } from '../../controller'; import { IBzResourceUtilController } from '../../controller/ibz-resource-util-controller/ibz-resource-util-controller'; import { IBzCalendarNode, IBzResourceNode } from '../../interface'; /** * 资源排布 * * @export * @class IBzResourceAllocation */ export declare class IBzResourceAllocation implements ComponentInterface { el: HTMLDivElement; contentRef: HTMLIbzResourceAllocationAreaElement; viewRef: HTMLIbzResourceAllocationViewElement; /** * 资源管理器控制器 * * @type {IBzResourceAllocationController} * @memberof IBzResourceAllocation */ $c: IBzResourceAllocationController; /** * 工具类 * * @type {IBzResourceUtilController} * @memberof IBzResourceAllocation */ util: IBzResourceUtilController; /** * 显示时间发生变化 * * @author chitanda * @date 2021-03-09 18:03:31 */ showDateChange: (startDate: string, endDate: string) => void; /** * 项变更 * * @author chitanda * @date 2021-03-08 14:03:27 */ itemChange: (item: any) => void; /** * 删除项 * * @author chitanda * @date 2021-03-08 14:03:23 */ deleteItem: (item: any) => void; /** * 新建数据项回调 * * @author chitanda * @date 2021-03-08 20:03:22 */ createItem: (resourceId: string, startDate: string, endDate: string) => void; /** * 选中项 * * @author chitanda * @date 2021-03-08 15:03:51 */ selectItem: (item?: any) => void; /** * 计算项样式 * * @author chitanda * @date 2021-03-08 15:03:37 */ calcItemStyle: (item: any) => any; /** * 格式刷调用 * * @author chitanda * @date 2021-03-11 10:03:11 */ brushItem: (item: any) => void; /** * 计算项是否高亮 * * @author chitanda * @date 2021-03-11 14:03:55 */ calcHighlight: (item: any) => boolean; /** * 项右键菜单点击 * * @author chitanda * @date 2021-03-18 19:03:03 */ itemContextClick: (e: MouseEvent, item: IBzCalendarNode) => void; /** * 资源右键菜单点击 * * @author chitanda * @date 2021-03-18 19:03:01 */ resourceContextClick: (e: MouseEvent, item: IBzResourceNode) => void; /** * 资源时间区域右键菜单点击 * * @author chitanda * @date 2021-03-19 16:03:16 */ resourceTimeContentClick: (e: MouseEvent, item: IBzResourceNode, start: string) => void; /** * 加载完毕 * * @memberof IBzResourceAllocation */ didLoad: EventEmitter; connectedCallback(): void; disconnectedCallback(): void; componentDidLoad(): void; resizeTimer: any; windowResize: () => void; layoutChange: () => void; optionChange: () => void; calcLineWidth(): void; resourceContextClickHandle: (e: MouseEvent) => void; resourceTimeContentClickHandle: (e: MouseEvent) => void; render(): any; tick(): void; }