UNPKG

jqwidgets-ng

Version:

[![Price](https://img.shields.io/badge/price-COMMERCIAL-0098f7.svg)](https://jqwidgets.com/license/)

318 lines (317 loc) 17.6 kB
/// <reference path="../jqwidgets.d.ts" /> import { EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; export declare class jqxGanttComponent implements OnChanges { attrAdjustToNonworkingTime: boolean; attrAutoSchedule: boolean; attrAutoScheduleStrictMode: boolean; attrAutoScrollStep: number; attrColumnMenu: boolean; attrColumnMinWidth: string | number; attrColumnResize: boolean; attrColumnResizeFeedback: boolean; attrCurrentTime: string | Date; attrCurrentTimeIndicator: boolean; attrCurrentTimeIndicatorInterval: number; attrDataExportFileName: string; attrSource: any; attrDayFormat: string; attrDateEnd: string | Date; attrDateStart: string | Date; attrDateMarkers: { label?: string; date: Date | string; className?: string; }[]; attrDisabled: boolean; attrDisableAutoScroll: boolean; attrDisableTaskDrag: boolean; attrDisableTaskProgressChange: boolean; attrDisableTaskResize: boolean; attrDisableSelection: boolean; attrDisableSegmentDrag: boolean; attrDisableSegmentResize: boolean; attrDisableWindowEditor: boolean; attrDurationUnit: string; attrFilterRow: boolean; attrFirstDayOfWeek: number; attrGroupByResources: boolean; attrHeaderTemplate: any; attrHideDateMarkers: boolean; attrHideTimelineHeader: boolean; attrHideTimelineHeaderDetails: boolean; attrHideTimelineSecondHeaderDetails: boolean; attrHideResourcePanel: boolean; attrHorizontalScrollBarVisibility: string; attrHourFormat: string; attrInfiniteTimeline: boolean; attrInfiniteTimelineStep: number; attrInverted: boolean; attrKeyboardNavigation: boolean; attrMax: string | Date; attrMin: string | Date; attrMonthFormat: string; attrMonthScale: string; attrNonworkingDays: number[]; attrNonworkingHours: number[] | number[][]; attrOnTaskRender: any; attrPopupWindowCustomizationFunction: any; attrPopupWindowTabs: string[]; attrProgressLabelFormatFunction: any; attrQuarterFormat: string; attrResources: { label: string; capacity: number; value: string; workload: number; progress: number; id: string; class: string; }[]; attrResourceColumns: { label: string; value: string; }[]; attrResourceFiltering: boolean; attrResourceGroupFormatFunction: any; attrResourcePanelHeaderTemplate: any; attrResourcePanelMin: number | string; attrResourcePanelSize: number | string; attrResourcePanelRefreshRate: number; attrResourceTimelineFormatFunction: any; attrResourceTimelineMode: string; attrResourceTimelineView: string; attrRightToLeft: boolean; attrSelectedTaskIds: number[] | string[]; attrSelectedResourceIds: number[] | string[]; attrShadeUntilCurrentTime: boolean; attrShowSelectionColumn: boolean; attrShowBaseline: boolean; attrShowProgressLabel: boolean; attrSnapToNearest: boolean; attrSortFunction: { (dataSource: any, sortColumns: string[], directions: string[], defaultCompareFunctions: { (firstRecord: any, secondRecord: any): number; }[]): void; }; attrSortMode: string; attrTasks: { label: string; dateStart: string | Date; dateEnd: string | Date; expanded?: boolean; progress?: number; type?: string; }[]; attrTaskColumns: { label: string; value: string; }[]; attrTaskFiltering: boolean; attrTaskPanelMin: string | number; attrTaskPanelSize: string | number; attrTimelineMin: string | number; attrTreeMin: string | number; attrTreeSize: string | number; attrTimelineHeaderFormatFunction: any; attrTooltip: object; attrVerticalScrollBarVisibility: string; attrView: string; attrYearFormat: string; attrWeekFormat: string; attrTheme: string; attrWidth: string | number; attrHeight: string | number; autoCreate: boolean; properties: string[]; host: any; elementRef: ElementRef; widgetObject: jqwidgets.jqxGantt; constructor(containerElement: ElementRef); ngOnInit(): void; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): boolean; arraysEqual(attrValue: any, hostValue: any): boolean; manageAttributes(): any; moveClasses(parentEl: HTMLElement, childEl: HTMLElement): void; moveStyles(parentEl: HTMLElement, childEl: HTMLElement): void; createComponent(options?: any): void; createWidget(options?: any): void; __updateRect__(): void; setOptions(options: any): void; adjustToNonworkingTime(arg?: boolean): boolean; autoSchedule(arg?: boolean): boolean; autoScheduleStrictMode(arg?: boolean): boolean; autoScrollStep(arg?: number): number; columnMenu(arg?: boolean): boolean; columnMinWidth(arg?: undefined): undefined; columnResize(arg?: boolean): boolean; columnResizeFeedback(arg?: boolean): boolean; currentTime(arg?: undefined): undefined; currentTimeIndicator(arg?: boolean): boolean; currentTimeIndicatorInterval(arg?: number): number; dataExportFileName(arg?: string): string; source(arg?: undefined): undefined; dayFormat(arg?: string): string; dateEnd(arg?: undefined): undefined; dateStart(arg?: undefined): undefined; dateMarkers(arg?: undefined): undefined; disabled(arg?: boolean): boolean; disableAutoScroll(arg?: boolean): boolean; disableTaskDrag(arg?: boolean): boolean; disableTaskProgressChange(arg?: boolean): boolean; disableTaskResize(arg?: boolean): boolean; disableSelection(arg?: boolean): boolean; disableSegmentDrag(arg?: boolean): boolean; disableSegmentResize(arg?: boolean): boolean; disableWindowEditor(arg?: boolean): boolean; durationUnit(arg?: string): string; filterRow(arg?: boolean): boolean; firstDayOfWeek(arg?: number): number; groupByResources(arg?: boolean): boolean; headerTemplate(arg?: undefined): undefined; hideDateMarkers(arg?: boolean): boolean; hideTimelineHeader(arg?: boolean): boolean; hideTimelineHeaderDetails(arg?: boolean): boolean; hideTimelineSecondHeaderDetails(arg?: boolean): boolean; hideResourcePanel(arg?: boolean): boolean; horizontalScrollBarVisibility(arg?: string): string; hourFormat(arg?: string): string; infiniteTimeline(arg?: boolean): boolean; infiniteTimelineStep(arg?: number): number; inverted(arg?: boolean): boolean; keyboardNavigation(arg?: boolean): boolean; max(arg?: undefined): undefined; min(arg?: undefined): undefined; monthFormat(arg?: string): string; monthScale(arg?: string): string; nonworkingDays(arg?: undefined): undefined; nonworkingHours(arg?: undefined): undefined; onTaskRender(arg?: undefined): undefined; popupWindowCustomizationFunction(arg?: undefined): undefined; popupWindowTabs(arg?: undefined): undefined; progressLabelFormatFunction(arg?: undefined): undefined; quarterFormat(arg?: string): string; resources(arg?: undefined): undefined; resourceColumns(arg?: undefined): undefined; resourceFiltering(arg?: boolean): boolean; resourceGroupFormatFunction(arg?: undefined): undefined; resourcePanelHeaderTemplate(arg?: undefined): undefined; resourcePanelMin(arg?: undefined): undefined; resourcePanelSize(arg?: undefined): undefined; resourcePanelRefreshRate(arg?: number): number; resourceTimelineFormatFunction(arg?: undefined): undefined; resourceTimelineMode(arg?: string): string; resourceTimelineView(arg?: string): string; rightToLeft(arg?: boolean): boolean; selectedTaskIds(arg?: undefined): undefined; selectedResourceIds(arg?: undefined): undefined; shadeUntilCurrentTime(arg?: boolean): boolean; showSelectionColumn(arg?: boolean): boolean; showBaseline(arg?: boolean): boolean; showProgressLabel(arg?: boolean): boolean; snapToNearest(arg?: boolean): boolean; sortFunction(arg?: undefined): undefined; sortMode(arg?: string): string; tasks(arg?: undefined): undefined; taskColumns(arg?: undefined): undefined; taskFiltering(arg?: boolean): boolean; taskPanelMin(arg?: undefined): undefined; taskPanelSize(arg?: undefined): undefined; timelineMin(arg?: undefined): undefined; treeMin(arg?: undefined): undefined; treeSize(arg?: undefined): undefined; timelineHeaderFormatFunction(arg?: undefined): undefined; tooltip(arg?: any): any; verticalScrollBarVisibility(arg?: string): string; view(arg?: string): string; yearFormat(arg?: string): string; weekFormat(arg?: string): string; theme(arg?: string): string; addFilter(columns: undefined, filterGroup: any): void; clearFilters(): void; clearSort(): void; clearSelection(): void; clearState(): void; clearTasks(): void; clearResources(): void; createConnection(startTaskIndex: undefined, taskEndIndex?: undefined, connectionType?: number, lag?: number): void; collapse(id: undefined): void; beginUpdate(): void; endUpdate(): void; ensureVisible(taskId: undefined): void; expand(id: undefined): void; exportData(dataFormat: string, callback?: undefined): void; getConnections(): undefined; getConnectionDetails(connectionId: string): undefined; getState(): undefined; getItemPath(item: any): string; getTask(itemId: undefined): any; getTasks(): undefined; getTaskIndex(task: any): number; getTaskConnections(taskId: undefined): undefined; getTaskProject(task: any): undefined; getResource(itemId: undefined): any; getResources(): undefined; getResourceIndex(resource: any): number; getResourceTasks(resource: undefined): undefined; getSelectedIds(): undefined; getSelectedTasks(): undefined; getSelectedResources(): undefined; getWorkingHours(): undefined; hideTooltip(): undefined; isWorkingDay(date: undefined): void; loadState(state?: undefined): void; removeAllConnections(): void; removeConnection(startTaskIndex: undefined, taskEndIndex?: number, connectionType?: number): any; removeTaskConnection(taskStart: undefined, taskEnd?: undefined): void; showTooltip(target: undefined, content?: string): void; saveState(state?: undefined): void; insertTask(taskObject: any, project?: undefined, index?: number): undefined; updateTask(taskId: undefined, taskObject: any): void; removeTask(taskId: undefined): void; insertResource(resourceId: undefined, resourceObject?: any): void; updateResource(resourceId: undefined, taskObject: any): void; removeResource(resourceId: undefined): void; openWindow(taskId: undefined): void; closeWindow(): void; print(): void; setWorkTime(settings: undefined): void; selectTask(id: undefined): void; selectResource(id: undefined): void; unselectTask(id: undefined): void; unselectResource(id: undefined): void; unsetWorkTime(settings: undefined): void; sort(columns: undefined): void; onBeginUpdate: EventEmitter<any>; onEndUpdate: EventEmitter<any>; onConnectionStart: EventEmitter<any>; onConnectionEnd: EventEmitter<any>; onChange: EventEmitter<any>; onColumnResize: EventEmitter<any>; onClosing: EventEmitter<any>; onClose: EventEmitter<any>; onCollapse: EventEmitter<any>; onDragStart: EventEmitter<any>; onDragEnd: EventEmitter<any>; onExpand: EventEmitter<any>; onFilter: EventEmitter<any>; onItemClick: EventEmitter<any>; onItemInsert: EventEmitter<any>; onItemRemove: EventEmitter<any>; onItemUpdate: EventEmitter<any>; onOpening: EventEmitter<any>; onOpen: EventEmitter<any>; onProgressChangeStart: EventEmitter<any>; onProgressChangeEnd: EventEmitter<any>; onResizeStart: EventEmitter<any>; onResizeEnd: EventEmitter<any>; onSort: EventEmitter<any>; onScrollBottomReached: EventEmitter<any>; onScrollTopReached: EventEmitter<any>; onScrollLeftReached: EventEmitter<any>; onScrollRightReached: EventEmitter<any>; __wireEvents__(): void; static ɵfac: i0.ɵɵFactoryDeclaration<jqxGanttComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<jqxGanttComponent, "jqxGantt", never, { "attrAdjustToNonworkingTime": "adjustToNonworkingTime"; "attrAutoSchedule": "autoSchedule"; "attrAutoScheduleStrictMode": "autoScheduleStrictMode"; "attrAutoScrollStep": "autoScrollStep"; "attrColumnMenu": "columnMenu"; "attrColumnMinWidth": "columnMinWidth"; "attrColumnResize": "columnResize"; "attrColumnResizeFeedback": "columnResizeFeedback"; "attrCurrentTime": "currentTime"; "attrCurrentTimeIndicator": "currentTimeIndicator"; "attrCurrentTimeIndicatorInterval": "currentTimeIndicatorInterval"; "attrDataExportFileName": "dataExportFileName"; "attrSource": "source"; "attrDayFormat": "dayFormat"; "attrDateEnd": "dateEnd"; "attrDateStart": "dateStart"; "attrDateMarkers": "dateMarkers"; "attrDisabled": "disabled"; "attrDisableAutoScroll": "disableAutoScroll"; "attrDisableTaskDrag": "disableTaskDrag"; "attrDisableTaskProgressChange": "disableTaskProgressChange"; "attrDisableTaskResize": "disableTaskResize"; "attrDisableSelection": "disableSelection"; "attrDisableSegmentDrag": "disableSegmentDrag"; "attrDisableSegmentResize": "disableSegmentResize"; "attrDisableWindowEditor": "disableWindowEditor"; "attrDurationUnit": "durationUnit"; "attrFilterRow": "filterRow"; "attrFirstDayOfWeek": "firstDayOfWeek"; "attrGroupByResources": "groupByResources"; "attrHeaderTemplate": "headerTemplate"; "attrHideDateMarkers": "hideDateMarkers"; "attrHideTimelineHeader": "hideTimelineHeader"; "attrHideTimelineHeaderDetails": "hideTimelineHeaderDetails"; "attrHideTimelineSecondHeaderDetails": "hideTimelineSecondHeaderDetails"; "attrHideResourcePanel": "hideResourcePanel"; "attrHorizontalScrollBarVisibility": "horizontalScrollBarVisibility"; "attrHourFormat": "hourFormat"; "attrInfiniteTimeline": "infiniteTimeline"; "attrInfiniteTimelineStep": "infiniteTimelineStep"; "attrInverted": "inverted"; "attrKeyboardNavigation": "keyboardNavigation"; "attrMax": "max"; "attrMin": "min"; "attrMonthFormat": "monthFormat"; "attrMonthScale": "monthScale"; "attrNonworkingDays": "nonworkingDays"; "attrNonworkingHours": "nonworkingHours"; "attrOnTaskRender": "onTaskRender"; "attrPopupWindowCustomizationFunction": "popupWindowCustomizationFunction"; "attrPopupWindowTabs": "popupWindowTabs"; "attrProgressLabelFormatFunction": "progressLabelFormatFunction"; "attrQuarterFormat": "quarterFormat"; "attrResources": "resources"; "attrResourceColumns": "resourceColumns"; "attrResourceFiltering": "resourceFiltering"; "attrResourceGroupFormatFunction": "resourceGroupFormatFunction"; "attrResourcePanelHeaderTemplate": "resourcePanelHeaderTemplate"; "attrResourcePanelMin": "resourcePanelMin"; "attrResourcePanelSize": "resourcePanelSize"; "attrResourcePanelRefreshRate": "resourcePanelRefreshRate"; "attrResourceTimelineFormatFunction": "resourceTimelineFormatFunction"; "attrResourceTimelineMode": "resourceTimelineMode"; "attrResourceTimelineView": "resourceTimelineView"; "attrRightToLeft": "rightToLeft"; "attrSelectedTaskIds": "selectedTaskIds"; "attrSelectedResourceIds": "selectedResourceIds"; "attrShadeUntilCurrentTime": "shadeUntilCurrentTime"; "attrShowSelectionColumn": "showSelectionColumn"; "attrShowBaseline": "showBaseline"; "attrShowProgressLabel": "showProgressLabel"; "attrSnapToNearest": "snapToNearest"; "attrSortFunction": "sortFunction"; "attrSortMode": "sortMode"; "attrTasks": "tasks"; "attrTaskColumns": "taskColumns"; "attrTaskFiltering": "taskFiltering"; "attrTaskPanelMin": "taskPanelMin"; "attrTaskPanelSize": "taskPanelSize"; "attrTimelineMin": "timelineMin"; "attrTreeMin": "treeMin"; "attrTreeSize": "treeSize"; "attrTimelineHeaderFormatFunction": "timelineHeaderFormatFunction"; "attrTooltip": "tooltip"; "attrVerticalScrollBarVisibility": "verticalScrollBarVisibility"; "attrView": "view"; "attrYearFormat": "yearFormat"; "attrWeekFormat": "weekFormat"; "attrTheme": "theme"; "attrWidth": "width"; "attrHeight": "height"; "autoCreate": "auto-create"; }, { "onBeginUpdate": "onBeginUpdate"; "onEndUpdate": "onEndUpdate"; "onConnectionStart": "onConnectionStart"; "onConnectionEnd": "onConnectionEnd"; "onChange": "onChange"; "onColumnResize": "onColumnResize"; "onClosing": "onClosing"; "onClose": "onClose"; "onCollapse": "onCollapse"; "onDragStart": "onDragStart"; "onDragEnd": "onDragEnd"; "onExpand": "onExpand"; "onFilter": "onFilter"; "onItemClick": "onItemClick"; "onItemInsert": "onItemInsert"; "onItemRemove": "onItemRemove"; "onItemUpdate": "onItemUpdate"; "onOpening": "onOpening"; "onOpen": "onOpen"; "onProgressChangeStart": "onProgressChangeStart"; "onProgressChangeEnd": "onProgressChangeEnd"; "onResizeStart": "onResizeStart"; "onResizeEnd": "onResizeEnd"; "onSort": "onSort"; "onScrollBottomReached": "onScrollBottomReached"; "onScrollTopReached": "onScrollTopReached"; "onScrollLeftReached": "onScrollLeftReached"; "onScrollRightReached": "onScrollRightReached"; }, never, ["*"]>; }