@bryntum/gantt-react-thin 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +52 -0
- package/lib/BryntumAssignmentField.d.ts +272 -0
- package/lib/BryntumAssignmentField.js +204 -0
- package/lib/BryntumAssignmentField.js.map +1 -0
- package/lib/BryntumAssignmentGrid.d.ts +836 -0
- package/lib/BryntumAssignmentGrid.js +283 -0
- package/lib/BryntumAssignmentGrid.js.map +1 -0
- package/lib/BryntumCalendarPicker.d.ts +267 -0
- package/lib/BryntumCalendarPicker.js +202 -0
- package/lib/BryntumCalendarPicker.js.map +1 -0
- package/lib/BryntumDependencyField.d.ts +274 -0
- package/lib/BryntumDependencyField.js +209 -0
- package/lib/BryntumDependencyField.js.map +1 -0
- package/lib/BryntumGantt.d.ts +1776 -0
- package/lib/BryntumGantt.js +601 -0
- package/lib/BryntumGantt.js.map +1 -0
- package/lib/BryntumGanttBase.d.ts +1775 -0
- package/lib/BryntumGanttBase.js +600 -0
- package/lib/BryntumGanttBase.js.map +1 -0
- package/lib/BryntumGanttProjectModel.d.ts +306 -0
- package/lib/BryntumGanttProjectModel.js +188 -0
- package/lib/BryntumGanttProjectModel.js.map +1 -0
- package/lib/WrapperHelper.d.ts +26 -0
- package/lib/WrapperHelper.js +569 -0
- package/lib/WrapperHelper.js.map +1 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +8 -0
- package/lib/index.js.map +1 -0
- package/license.pdf +0 -0
- package/licenses.md +310 -0
- package/package.json +25 -0
- package/src/BryntumAssignmentField.tsx +1250 -0
- package/src/BryntumAssignmentGrid.tsx +2349 -0
- package/src/BryntumCalendarPicker.tsx +1231 -0
- package/src/BryntumDependencyField.tsx +1272 -0
- package/src/BryntumGantt.tsx +4698 -0
- package/src/BryntumGanttBase.tsx +4696 -0
- package/src/BryntumGanttProjectModel.tsx +1147 -0
- package/src/WrapperHelper.tsx +1125 -0
- package/src/index.ts +11 -0
|
@@ -0,0 +1,1775 @@
|
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
|
+
import { AjaxStore, AjaxStoreConfig, Base, BryntumScrollOptions, Container, DomClassList, DomConfig, DurationUnit, FormulaProviderConfig, KeyMapConfig, Mask, MaskConfig, Menu, MenuItem, MenuItemEntry, Model, ModelConfig, PagingToolbarConfig, Panel, PanelCollapserConfig, PanelCollapserOverlayConfig, PanelHeader, Popup, ScrollManager, ScrollManagerConfig, Scroller, ScrollerConfig, StateProvider, Store, StoreConfig, TabConfig, Tool, ToolConfig, ToolbarConfig, ToolbarItems, TooltipConfig, Widget } from '@bryntum/core-thin';
|
|
3
|
+
import { AIFilter, AIFilterConfig, CellCopyPaste, CellCopyPasteConfig, CellEditorContext, CellMenu, CellMenuConfig, CellTooltip, CellTooltipConfig, Charts, ChartsConfig, Column, ColumnAutoWidth, ColumnAutoWidthConfig, ColumnDragToolbar, ColumnDragToolbarConfig, ColumnPicker, ColumnPickerConfig, ColumnRename, ColumnRenameConfig, ColumnReorder, ColumnReorderConfig, ColumnResize, ColumnResizeConfig, ColumnStore, ColumnStoreConfig, EmptyTextDomConfig, ExcelExporter as GridExcelExporter, ExcelExporterConfig as GridExcelExporterConfig, ExportConfig, FileDrop, FileDropConfig, FillHandle, FillHandleConfig, Filter, FilterBar, FilterBarConfig, FilterConfig, Grid, GridBase, GridLocation, GridLocationConfig, GridSelectionMode, GridStateInfo, Group, GroupConfig, GroupSummary as GridGroupSummary, GroupSummaryConfig as GridGroupSummaryConfig, HeaderMenu, HeaderMenuConfig, LockRows as GridLockRows, LockRowsConfig as GridLockRowsConfig, MergeCells, MergeCellsConfig, PinColumns, PinColumnsConfig, PreserveScrollOptions, QuickFind, QuickFindConfig, RecordPositionContext, RegionResize, RegionResizeConfig, ResponsiveLevelConfig, Row, RowCopyPaste, RowCopyPasteConfig, RowEdit, RowEditConfig, RowEditorContext, RowExpander, RowExpanderConfig, RowResize as GridRowResize, RowResizeConfig as GridRowResizeConfig, Search, SearchConfig, Sort, SortConfig, Split as GridSplit, SplitConfig as GridSplitConfig, StickyCells, StickyCellsConfig, Stripe, StripeConfig, SubGrid, SubGridConfig, Tree, TreeConfig, XLSColumn } from '@bryntum/grid-thin';
|
|
4
|
+
import { AssignmentModel as SchedulerAssignmentModel, ColumnLines, ColumnLinesConfig, DateConstraint, DependencyBaseModel, DependencyEdit as SchedulerDependencyEdit, DependencyModel as SchedulerDependencyModel, EventColor, EventEdit, EventFilter, EventFilterConfig, EventModel as SchedulerEventModel, EventResizeData, HeaderZoom, HeaderZoomConfig, NonWorkingTime, NonWorkingTimeConfig, Pan, PanConfig, RecurrenceConfirmationPopup, RecurrenceConfirmationPopupConfig, ResourceModel as SchedulerResourceModel, RowReorder, RowReorderConfig, ScheduleMenu, ScheduleMenuConfig, ScheduleTooltip, ScheduleTooltipConfig, Scheduler, TimeAxis, TimeAxisColumn as SchedulerTimeAxisColumn, TimeAxisConfig, TimeAxisHeaderMenu, TimeAxisHeaderMenuConfig, TimeRanges, TimeRangesConfig, TimeSpan, TimeSpanConfig, TimelineBase, TimelineContext, VerticalTimeAxisColumn, ViewPreset, ViewPresetConfig, VisibleDate } from '@bryntum/scheduler-thin';
|
|
5
|
+
import { CycleResolutionPopup, DependencyEdit, DependencyEditConfig, EventModel, EventSegments, EventSegmentsConfig, PercentBar, PercentBarConfig, ResourceModel as SchedulerProResourceModel, SchedulerPro, SchedulingIssueResolutionPopup, TaskEdit as SchedulerProTaskEdit, TaskEditorBase, TimeSpanHighlight, TimeSpanHighlightConfig } from '@bryntum/schedulerpro-thin';
|
|
6
|
+
import { AssignmentModel, AssignmentModelConfig, Baselines, BaselinesConfig, CalendarModel, CalendarModelConfig, CellEdit, CellEditConfig, GanttContainerItemConfig, CriticalPaths, CriticalPathsConfig, Dependencies, DependenciesConfig, DependencyModel, DependencyModelConfig, Gantt, GanttBase, GanttBaseListeners, GanttColumnConfig, Indicators, IndicatorsConfig, Labels, LabelsConfig, MspExport, MspExportConfig, ParentArea, ParentAreaConfig, PdfExport, PdfExportConfig, Print, PrintConfig, ProgressLine, ProgressLineConfig, ProjectEdit, ProjectEditConfig, ProjectEditor, ProjectLines, ProjectLinesConfig, ProjectModel, ProjectModelConfig, ResourceModel, ResourceModelConfig, Rollups, RollupsConfig, ScrollButtons, ScrollButtonsConfig, Summary, SummaryConfig, TaskCopyPaste, TaskCopyPasteConfig, TaskDrag, TaskDragConfig, TaskDragCreate, TaskDragCreateConfig, TaskEdit, TaskEditConfig, TaskMenu, TaskMenuConfig, TaskModel, TaskModelConfig, TaskNonWorkingTime, TaskNonWorkingTimeConfig, TaskResize, TaskResizeConfig, TaskResizeData, TaskSegmentDrag, TaskSegmentDragConfig, TaskSegmentResize, TaskSegmentResizeConfig, TaskStore, TaskStoreConfig, TaskTooltip, TaskTooltipConfig, TimelineChart, TimelineChartConfig, TreeGroup, TreeGroupConfig, Versions, VersionsConfig } from '@bryntum/gantt-thin';
|
|
7
|
+
import { processWidgetContent } from './WrapperHelper.js';
|
|
8
|
+
export declare type BryntumGanttBaseProps = {
|
|
9
|
+
adopt?: HTMLElement | string;
|
|
10
|
+
alignSelf?: string;
|
|
11
|
+
allowCreate?: boolean;
|
|
12
|
+
allowCreateOnlyParent?: boolean;
|
|
13
|
+
allowDropOnEventBar?: boolean;
|
|
14
|
+
animateFilterRemovals?: boolean;
|
|
15
|
+
animateRemovingRows?: boolean;
|
|
16
|
+
animateTreeNodeToggle?: boolean;
|
|
17
|
+
appendTo?: HTMLElement | string;
|
|
18
|
+
ariaDescription?: string;
|
|
19
|
+
ariaLabel?: string;
|
|
20
|
+
assignments?: AssignmentModel[] | AssignmentModelConfig[];
|
|
21
|
+
autoAdjustTimeAxis?: boolean;
|
|
22
|
+
autoHeight?: boolean;
|
|
23
|
+
barMargin?: number;
|
|
24
|
+
bbar?: (GanttContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
|
|
25
|
+
bodyCls?: string | object;
|
|
26
|
+
bubbleEvents?: object;
|
|
27
|
+
bufferCoef?: number;
|
|
28
|
+
bufferThreshold?: number;
|
|
29
|
+
calendars?: CalendarModel[] | CalendarModelConfig[];
|
|
30
|
+
callOnFunctions?: boolean;
|
|
31
|
+
catchEventHandlerExceptions?: boolean;
|
|
32
|
+
cellEllipsis?: boolean;
|
|
33
|
+
cls?: string | object;
|
|
34
|
+
collapsed?: boolean;
|
|
35
|
+
collapsible?: boolean | PanelCollapserConfig | PanelCollapserOverlayConfig;
|
|
36
|
+
color?: string;
|
|
37
|
+
column?: number;
|
|
38
|
+
columnLines?: boolean;
|
|
39
|
+
columns?: ColumnStore | GanttColumnConfig[] | ColumnStoreConfig;
|
|
40
|
+
config?: object;
|
|
41
|
+
contentElementCls?: string | object;
|
|
42
|
+
contextMenuTriggerEvent?: 'contextmenu' | 'click' | 'dblclick';
|
|
43
|
+
creationTooltip?: TooltipConfig;
|
|
44
|
+
creationTooltipTemplate?: (data: {
|
|
45
|
+
source: TimeSpan;
|
|
46
|
+
target: TimeSpan;
|
|
47
|
+
fromSide: string;
|
|
48
|
+
toSide: string;
|
|
49
|
+
valid: boolean;
|
|
50
|
+
}) => string | DomConfig;
|
|
51
|
+
cycleResolutionPopupClass?: typeof CycleResolutionPopup;
|
|
52
|
+
data?: object[] | Model[] | ModelConfig[];
|
|
53
|
+
dataField?: string;
|
|
54
|
+
dataset?: Record<string, string>;
|
|
55
|
+
defaultRegion?: string;
|
|
56
|
+
defaultResourceImageName?: string;
|
|
57
|
+
dependencies?: DependencyModel[] | DependencyModelConfig[];
|
|
58
|
+
dependencyIdField?: string;
|
|
59
|
+
destroyStore?: boolean;
|
|
60
|
+
detectCSSCompatibilityIssues?: boolean;
|
|
61
|
+
disabled?: boolean | 'inert';
|
|
62
|
+
disableGridColumnIdWarning?: boolean;
|
|
63
|
+
disableGridRowModelWarning?: boolean;
|
|
64
|
+
displayDateFormat?: string;
|
|
65
|
+
displaySchedulingIssueResolutionPopup?: boolean;
|
|
66
|
+
dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
67
|
+
drawer?: boolean | {
|
|
68
|
+
side?: 'start' | 'left' | 'end' | 'right' | 'top' | 'bottom';
|
|
69
|
+
size?: string | number;
|
|
70
|
+
inline?: boolean;
|
|
71
|
+
autoClose: {
|
|
72
|
+
mousedown?: boolean | string;
|
|
73
|
+
focusout?: boolean | string;
|
|
74
|
+
mouseout?: string;
|
|
75
|
+
};
|
|
76
|
+
autoCloseDelay?: number;
|
|
77
|
+
};
|
|
78
|
+
durationDisplayPrecision?: number | boolean;
|
|
79
|
+
elementAttributes?: Record<string, string | null>;
|
|
80
|
+
emptyText?: string | EmptyTextDomConfig;
|
|
81
|
+
enableDeleteKey?: boolean;
|
|
82
|
+
enableEventAnimations?: boolean;
|
|
83
|
+
enableRecurringEvents?: boolean | {
|
|
84
|
+
defaultAction?: 'single' | 'future';
|
|
85
|
+
};
|
|
86
|
+
enableSticky?: boolean;
|
|
87
|
+
enableTextSelection?: boolean;
|
|
88
|
+
enableTransactionalFeatures?: boolean;
|
|
89
|
+
enableUndoRedoKeys?: boolean;
|
|
90
|
+
endDate?: Date | string;
|
|
91
|
+
eventColor?: EventColor;
|
|
92
|
+
eventStyle?: 'tonal' | 'filled' | 'bordered' | 'traced' | 'outlined' | 'indented' | 'line' | 'dashed' | 'minimal' | 'rounded' | 'calendar' | 'interday' | 'gantt' | null;
|
|
93
|
+
extraData?: any;
|
|
94
|
+
fillLastColumn?: boolean;
|
|
95
|
+
fillTicks?: boolean;
|
|
96
|
+
fixedRowHeight?: boolean;
|
|
97
|
+
flex?: number | string;
|
|
98
|
+
footer?: {
|
|
99
|
+
dock?: 'top' | 'right' | 'bottom' | 'left' | 'start' | 'end';
|
|
100
|
+
html?: string;
|
|
101
|
+
cls?: string;
|
|
102
|
+
} | string;
|
|
103
|
+
forceFit?: boolean;
|
|
104
|
+
formulaProviders?: Record<string, FormulaProviderConfig>;
|
|
105
|
+
fullRowRefresh?: boolean;
|
|
106
|
+
getDateConstraints?: (taskRecord: TaskModel) => DateConstraint;
|
|
107
|
+
getRowHeight?: (getRowHeight: {
|
|
108
|
+
record: Model;
|
|
109
|
+
}) => number;
|
|
110
|
+
header?: string | boolean | PanelHeader;
|
|
111
|
+
height?: string | number;
|
|
112
|
+
hidden?: boolean;
|
|
113
|
+
hideFooters?: boolean;
|
|
114
|
+
hideHeaders?: boolean;
|
|
115
|
+
hideHorizontalScrollbar?: boolean;
|
|
116
|
+
hideRowHover?: boolean;
|
|
117
|
+
hoverCls?: string;
|
|
118
|
+
icon?: string | DomConfig;
|
|
119
|
+
id?: string;
|
|
120
|
+
ignoreDomEventsWhileScrolling?: boolean;
|
|
121
|
+
ignoreParentReadOnly?: boolean;
|
|
122
|
+
infiniteScroll?: boolean;
|
|
123
|
+
inputFieldAlign?: 'start' | 'end';
|
|
124
|
+
insertBefore?: HTMLElement | string;
|
|
125
|
+
insertFirst?: HTMLElement | string;
|
|
126
|
+
keyMap?: Record<string, KeyMapConfig>;
|
|
127
|
+
labelPosition?: 'before' | 'above' | 'align-before' | 'auto' | null;
|
|
128
|
+
listeners?: GanttBaseListeners;
|
|
129
|
+
loadMask?: string | MaskConfig | null;
|
|
130
|
+
loadMaskDefaults?: MaskConfig;
|
|
131
|
+
loadMaskError?: MaskConfig | Mask | boolean;
|
|
132
|
+
localizable?: boolean;
|
|
133
|
+
longPressTime?: number;
|
|
134
|
+
managedEventSizing?: boolean;
|
|
135
|
+
margin?: number | string;
|
|
136
|
+
maskDefaults?: MaskConfig;
|
|
137
|
+
masked?: boolean | string | MaskConfig;
|
|
138
|
+
maxDate?: Date | string;
|
|
139
|
+
maxHeight?: string | number;
|
|
140
|
+
maxTimeAxisUnit?: DurationUnit;
|
|
141
|
+
maxWidth?: string | number;
|
|
142
|
+
maxZoomLevel?: number;
|
|
143
|
+
minDate?: Date | string;
|
|
144
|
+
minHeight?: string | number;
|
|
145
|
+
minWidth?: string | number;
|
|
146
|
+
minZoomLevel?: number;
|
|
147
|
+
monitorResize?: boolean;
|
|
148
|
+
newTaskDefaults?: TaskModelConfig | object | (() => TaskModelConfig | object);
|
|
149
|
+
owner?: Widget | any;
|
|
150
|
+
partner?: TimelineBase;
|
|
151
|
+
plugins?: Function[];
|
|
152
|
+
preserveFocusOnDatasetChange?: boolean;
|
|
153
|
+
preserveScroll?: PreserveScrollOptions | boolean;
|
|
154
|
+
preserveScrollOnDatasetChange?: boolean;
|
|
155
|
+
presets?: ViewPresetConfig[];
|
|
156
|
+
preventTooltipOnTouch?: boolean;
|
|
157
|
+
project?: ProjectModel | ProjectModelConfig | RefObject<any>;
|
|
158
|
+
projectProgressReporting?: string | null;
|
|
159
|
+
readOnly?: boolean;
|
|
160
|
+
recurrenceConfirmationPopup?: RecurrenceConfirmationPopupConfig | RecurrenceConfirmationPopup;
|
|
161
|
+
relayStoreEvents?: boolean;
|
|
162
|
+
rendition?: string | Record<string, string> | null;
|
|
163
|
+
resizable?: boolean | {
|
|
164
|
+
minWidth?: number;
|
|
165
|
+
maxWidth?: number;
|
|
166
|
+
minHeight?: number;
|
|
167
|
+
maxHeight?: number;
|
|
168
|
+
handles?: object;
|
|
169
|
+
};
|
|
170
|
+
resizeToFitIncludesHeader?: boolean;
|
|
171
|
+
resourceImageFolderPath?: string;
|
|
172
|
+
resourceImagePath?: string;
|
|
173
|
+
resources?: ResourceModel[] | ResourceModelConfig[];
|
|
174
|
+
responsiveLevels?: Record<string, number | string | ResponsiveLevelConfig>;
|
|
175
|
+
ripple?: boolean | {
|
|
176
|
+
delegate?: string;
|
|
177
|
+
color?: string;
|
|
178
|
+
radius?: number;
|
|
179
|
+
clip?: string;
|
|
180
|
+
};
|
|
181
|
+
rootElement?: ShadowRoot | HTMLElement;
|
|
182
|
+
rowHeight?: number;
|
|
183
|
+
rowLines?: boolean;
|
|
184
|
+
rtl?: boolean;
|
|
185
|
+
schedulingIssueResolutionPopupClass?: typeof SchedulingIssueResolutionPopup;
|
|
186
|
+
scrollable?: boolean | ScrollerConfig | Scroller;
|
|
187
|
+
scrollerClass?: typeof Scroller;
|
|
188
|
+
scrollManager?: ScrollManagerConfig | ScrollManager;
|
|
189
|
+
scrollTaskIntoViewOnCellClick?: boolean | BryntumScrollOptions;
|
|
190
|
+
selectionMode?: GridSelectionMode;
|
|
191
|
+
showCostControls?: boolean;
|
|
192
|
+
showCreationTooltip?: boolean;
|
|
193
|
+
showDirty?: boolean | {
|
|
194
|
+
duringEdit?: boolean;
|
|
195
|
+
newRecord?: boolean;
|
|
196
|
+
};
|
|
197
|
+
showLagInTooltip?: boolean;
|
|
198
|
+
showRecurringUI?: boolean;
|
|
199
|
+
showTaskColorPickers?: boolean;
|
|
200
|
+
showTooltip?: boolean;
|
|
201
|
+
showUnscheduledTasks?: boolean;
|
|
202
|
+
snap?: boolean;
|
|
203
|
+
snapRelativeToEventStartDate?: boolean;
|
|
204
|
+
span?: number;
|
|
205
|
+
startDate?: Date | string;
|
|
206
|
+
stateful?: boolean | object | string[];
|
|
207
|
+
statefulEvents?: object | string[];
|
|
208
|
+
stateId?: string;
|
|
209
|
+
stateProvider?: StateProvider;
|
|
210
|
+
stateSettings?: {
|
|
211
|
+
restoreUnconfiguredColumns?: boolean;
|
|
212
|
+
};
|
|
213
|
+
stickyHeaders?: boolean;
|
|
214
|
+
store?: Store | StoreConfig | AjaxStore | AjaxStoreConfig;
|
|
215
|
+
strips?: Record<string, GanttContainerItemConfig>;
|
|
216
|
+
subGridConfigs?: Record<string, SubGridConfig>;
|
|
217
|
+
suppressFit?: boolean;
|
|
218
|
+
syncMask?: string | MaskConfig | null;
|
|
219
|
+
tab?: boolean | TabConfig;
|
|
220
|
+
tabBarItems?: ToolbarItems[] | Widget[];
|
|
221
|
+
taskRenderer?: (detail: {
|
|
222
|
+
taskRecord: TaskModel;
|
|
223
|
+
renderData: {
|
|
224
|
+
cls: DomClassList | string;
|
|
225
|
+
style: string | Record<string, string>;
|
|
226
|
+
wrapperCls: DomClassList | string;
|
|
227
|
+
iconCls: DomClassList | string;
|
|
228
|
+
};
|
|
229
|
+
}, indicators: TimeSpan[] | TimeSpanConfig[]) => string | DomConfig | DomConfig[];
|
|
230
|
+
tasks?: TaskModel[] | TaskModelConfig[];
|
|
231
|
+
taskStore?: TaskStore | TaskStoreConfig;
|
|
232
|
+
tbar?: (GanttContainerItemConfig | string)[] | ToolbarConfig | PagingToolbarConfig | null;
|
|
233
|
+
terminalCls?: string;
|
|
234
|
+
terminalHideDelay?: number;
|
|
235
|
+
terminalOffset?: number;
|
|
236
|
+
terminalShowDelay?: number;
|
|
237
|
+
terminalSides?: string[];
|
|
238
|
+
terminalSize?: number | string;
|
|
239
|
+
tickSize?: number;
|
|
240
|
+
timeAxis?: TimeAxisConfig | TimeAxis;
|
|
241
|
+
timeRanges?: TimeSpan[] | TimeSpanConfig[];
|
|
242
|
+
timeResolution?: {
|
|
243
|
+
increment?: number;
|
|
244
|
+
unit?: DurationUnit;
|
|
245
|
+
} | number;
|
|
246
|
+
timeZone?: string | number;
|
|
247
|
+
title?: string;
|
|
248
|
+
toggleParentTasksOnClick?: boolean;
|
|
249
|
+
tools?: Record<string, ToolConfig> | null;
|
|
250
|
+
tooltipTemplate?: (dependency: DependencyBaseModel) => string | DomConfig;
|
|
251
|
+
transition?: {
|
|
252
|
+
insertRecord?: boolean;
|
|
253
|
+
removeRecord?: boolean;
|
|
254
|
+
toggleColumn?: boolean;
|
|
255
|
+
expandCollapseColumn?: boolean;
|
|
256
|
+
toggleRegion?: boolean;
|
|
257
|
+
toggleTreeNode?: boolean;
|
|
258
|
+
toggleGroup?: boolean;
|
|
259
|
+
filterRemoval?: boolean;
|
|
260
|
+
removeEvent?: boolean;
|
|
261
|
+
changeEvent?: boolean;
|
|
262
|
+
};
|
|
263
|
+
transitionDuration?: number;
|
|
264
|
+
ui?: 'plain' | 'toolbar' | string | object;
|
|
265
|
+
useContextualRecurrenceRules?: boolean;
|
|
266
|
+
viewPreset?: string | ViewPresetConfig;
|
|
267
|
+
visibleDate?: Date | VisibleDate;
|
|
268
|
+
visibleZoomFactor?: number;
|
|
269
|
+
weekStartDay?: number;
|
|
270
|
+
weight?: number;
|
|
271
|
+
width?: string | number;
|
|
272
|
+
workingTime?: {
|
|
273
|
+
fromDay?: number;
|
|
274
|
+
toDay?: number;
|
|
275
|
+
fromHour?: number;
|
|
276
|
+
toHour?: number;
|
|
277
|
+
};
|
|
278
|
+
zoomKeepsOriginalTimespan?: boolean;
|
|
279
|
+
zoomOnMouseWheel?: boolean;
|
|
280
|
+
zoomOnTimeAxisDoubleClick?: boolean;
|
|
281
|
+
onAfterDependencyCreateDrop?: ((event: {
|
|
282
|
+
source: TimeSpan;
|
|
283
|
+
target: TimeSpan;
|
|
284
|
+
dependency: DependencyBaseModel;
|
|
285
|
+
}) => void) | string;
|
|
286
|
+
onAfterDependencySave?: ((event: {
|
|
287
|
+
source: Scheduler;
|
|
288
|
+
dependencyRecord: SchedulerDependencyModel;
|
|
289
|
+
}) => void) | string;
|
|
290
|
+
onAfterDragCreate?: ((event: {
|
|
291
|
+
source: Gantt;
|
|
292
|
+
proxyElement: HTMLElement;
|
|
293
|
+
}) => void) | string;
|
|
294
|
+
onAfterEventEdit?: ((event: {
|
|
295
|
+
source: Scheduler;
|
|
296
|
+
action: 'save' | 'delete' | 'cancel';
|
|
297
|
+
eventEdit: EventEdit;
|
|
298
|
+
eventRecord: SchedulerEventModel;
|
|
299
|
+
resourceRecord: SchedulerResourceModel;
|
|
300
|
+
eventElement: HTMLElement;
|
|
301
|
+
editor: Popup;
|
|
302
|
+
}) => void) | string;
|
|
303
|
+
onAfterEventSave?: ((event: {
|
|
304
|
+
source: SchedulerPro;
|
|
305
|
+
eventRecord: EventModel;
|
|
306
|
+
editor: TaskEditorBase;
|
|
307
|
+
}) => void) | string;
|
|
308
|
+
onAfterProjectEdit?: ((event: {
|
|
309
|
+
source: Gantt;
|
|
310
|
+
projectRecord: ProjectModel;
|
|
311
|
+
editor: ProjectEditor;
|
|
312
|
+
}) => void) | string;
|
|
313
|
+
onAfterProjectSave?: ((event: {
|
|
314
|
+
source: Gantt;
|
|
315
|
+
projectRecord: ProjectModel;
|
|
316
|
+
editor: ProjectEditor;
|
|
317
|
+
}) => void) | string;
|
|
318
|
+
onAfterTaskDrop?: ((event: {
|
|
319
|
+
source: Gantt;
|
|
320
|
+
taskRecords: TaskModel[];
|
|
321
|
+
valid: boolean;
|
|
322
|
+
}) => void) | string;
|
|
323
|
+
onAfterTaskEdit?: ((event: {
|
|
324
|
+
source: SchedulerPro;
|
|
325
|
+
taskRecord: EventModel;
|
|
326
|
+
editor: TaskEditorBase;
|
|
327
|
+
}) => void) | string;
|
|
328
|
+
onAfterTaskSave?: ((event: {
|
|
329
|
+
source: SchedulerPro;
|
|
330
|
+
taskRecord: EventModel;
|
|
331
|
+
editor: TaskEditorBase;
|
|
332
|
+
}) => void) | string;
|
|
333
|
+
onAfterTaskSegmentDrop?: ((event: {
|
|
334
|
+
source: Gantt;
|
|
335
|
+
taskRecords: TaskModel[];
|
|
336
|
+
valid: boolean;
|
|
337
|
+
}) => void) | string;
|
|
338
|
+
onBeforeAssignmentDelete?: ((event: {
|
|
339
|
+
source: Scheduler;
|
|
340
|
+
assignmentRecords: SchedulerAssignmentModel[];
|
|
341
|
+
context: {
|
|
342
|
+
finalize: {
|
|
343
|
+
removeRecords?: boolean;
|
|
344
|
+
};
|
|
345
|
+
};
|
|
346
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
347
|
+
onBeforeCancelCellEdit?: ((event: {
|
|
348
|
+
source: Grid;
|
|
349
|
+
editorContext: GridLocation;
|
|
350
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
351
|
+
onBeforeCancelRowEdit?: ((event: {
|
|
352
|
+
grid: Grid;
|
|
353
|
+
editorContext: RowEditorContext;
|
|
354
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
355
|
+
onBeforeCellEditStart?: ((event: {
|
|
356
|
+
source: Grid;
|
|
357
|
+
editorContext: CellEditorContext;
|
|
358
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
359
|
+
onBeforeCellRangeDelete?: ((event: {
|
|
360
|
+
source: Grid;
|
|
361
|
+
gridSelection: (GridLocation | Model)[];
|
|
362
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
363
|
+
onBeforeCellRangeEdit?: ((event: {
|
|
364
|
+
record: Model;
|
|
365
|
+
field: string;
|
|
366
|
+
value: any;
|
|
367
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
368
|
+
onBeforeColumnDragStart?: ((event: {
|
|
369
|
+
source: Grid;
|
|
370
|
+
column: Column;
|
|
371
|
+
event: Event;
|
|
372
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
373
|
+
onBeforeColumnDropFinalize?: ((event: {
|
|
374
|
+
source: Grid;
|
|
375
|
+
column: Column;
|
|
376
|
+
insertBefore: Column;
|
|
377
|
+
newParent: Column;
|
|
378
|
+
event: Event;
|
|
379
|
+
region: string;
|
|
380
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
381
|
+
onBeforeColumnResize?: ((event: {
|
|
382
|
+
source: Grid;
|
|
383
|
+
column: Column;
|
|
384
|
+
domEvent: Event;
|
|
385
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
386
|
+
onBeforeCopy?: ((event: {
|
|
387
|
+
source: Grid;
|
|
388
|
+
cells: GridLocation[];
|
|
389
|
+
data: string;
|
|
390
|
+
isCut: boolean;
|
|
391
|
+
entityName: string;
|
|
392
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
393
|
+
onBeforeCSVExport?: ((event: {
|
|
394
|
+
config: ExportConfig;
|
|
395
|
+
columns: Column[];
|
|
396
|
+
rows: Model[];
|
|
397
|
+
lineDelimiter: string;
|
|
398
|
+
columnDelimiter: string;
|
|
399
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
400
|
+
onBeforeDependencyAdd?: ((event: {
|
|
401
|
+
source: Scheduler;
|
|
402
|
+
dependencyEdit: SchedulerDependencyEdit;
|
|
403
|
+
dependencyRecord: SchedulerDependencyModel;
|
|
404
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
405
|
+
onBeforeDependencyCreateDrag?: ((event: {
|
|
406
|
+
source: TimeSpan;
|
|
407
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
408
|
+
onBeforeDependencyCreateFinalize?: ((event: {
|
|
409
|
+
source: TimeSpan;
|
|
410
|
+
target: TimeSpan;
|
|
411
|
+
fromSide: 'start' | 'end' | 'top' | 'bottom';
|
|
412
|
+
toSide: 'start' | 'end' | 'top' | 'bottom';
|
|
413
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
414
|
+
onBeforeDependencyDelete?: ((event: {
|
|
415
|
+
source: Scheduler;
|
|
416
|
+
dependencyRecord: SchedulerDependencyModel;
|
|
417
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
418
|
+
onBeforeDependencyEdit?: ((event: {
|
|
419
|
+
source: Scheduler;
|
|
420
|
+
dependencyEdit: SchedulerDependencyEdit;
|
|
421
|
+
dependencyRecord: SchedulerDependencyModel;
|
|
422
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
423
|
+
onBeforeDependencyEditShow?: ((event: {
|
|
424
|
+
source: Scheduler;
|
|
425
|
+
dependencyEdit: SchedulerDependencyEdit;
|
|
426
|
+
dependencyRecord: SchedulerDependencyModel;
|
|
427
|
+
editor: Popup;
|
|
428
|
+
}) => void) | string;
|
|
429
|
+
onBeforeDependencySave?: ((event: {
|
|
430
|
+
source: Scheduler;
|
|
431
|
+
dependencyRecord: SchedulerDependencyModel;
|
|
432
|
+
values: object;
|
|
433
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
434
|
+
onBeforeDestroy?: ((event: {
|
|
435
|
+
source: Base;
|
|
436
|
+
}) => void) | string;
|
|
437
|
+
onBeforeDragCreate?: ((event: {
|
|
438
|
+
source: Gantt;
|
|
439
|
+
taskRecord: TaskModel;
|
|
440
|
+
date: Date;
|
|
441
|
+
}) => void) | string;
|
|
442
|
+
onBeforeDragCreateFinalize?: ((event: {
|
|
443
|
+
source: Gantt;
|
|
444
|
+
proxyElement: HTMLElement;
|
|
445
|
+
context: {
|
|
446
|
+
async: boolean;
|
|
447
|
+
finalize: Function;
|
|
448
|
+
};
|
|
449
|
+
}) => void) | string;
|
|
450
|
+
onBeforeEventDelete?: ((event: {
|
|
451
|
+
source: Scheduler | any;
|
|
452
|
+
eventRecords: SchedulerEventModel[];
|
|
453
|
+
context: {
|
|
454
|
+
finalize: {
|
|
455
|
+
removeRecords?: boolean;
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
459
|
+
onBeforeEventEdit?: ((event: {
|
|
460
|
+
source: Scheduler;
|
|
461
|
+
eventEdit: EventEdit;
|
|
462
|
+
eventRecord: SchedulerEventModel;
|
|
463
|
+
resourceRecord: SchedulerResourceModel;
|
|
464
|
+
eventElement: HTMLElement;
|
|
465
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
466
|
+
onBeforeEventEditShow?: ((event: {
|
|
467
|
+
source: Scheduler;
|
|
468
|
+
eventEdit: EventEdit;
|
|
469
|
+
eventRecord: SchedulerEventModel;
|
|
470
|
+
resourceRecord: SchedulerResourceModel;
|
|
471
|
+
eventElement: HTMLElement;
|
|
472
|
+
editor: Popup;
|
|
473
|
+
}) => void) | string;
|
|
474
|
+
onBeforeEventResize?: ((event: {
|
|
475
|
+
source: Scheduler;
|
|
476
|
+
eventRecord: SchedulerEventModel;
|
|
477
|
+
resourceRecord: SchedulerResourceModel;
|
|
478
|
+
event: MouseEvent;
|
|
479
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
480
|
+
onBeforeEventResizeFinalize?: ((event: {
|
|
481
|
+
source: Scheduler;
|
|
482
|
+
context: object;
|
|
483
|
+
eventRecord: SchedulerEventModel;
|
|
484
|
+
startDate: Date;
|
|
485
|
+
endDate: Date;
|
|
486
|
+
originalStartDate: Date;
|
|
487
|
+
originalEndDate: Date;
|
|
488
|
+
async: boolean;
|
|
489
|
+
finalize: Function;
|
|
490
|
+
event: Event;
|
|
491
|
+
resizeData: EventResizeData[];
|
|
492
|
+
}) => Promise<void>) | string;
|
|
493
|
+
onBeforeEventSave?: ((event: {
|
|
494
|
+
source: SchedulerPro;
|
|
495
|
+
eventRecord: EventModel;
|
|
496
|
+
editor: TaskEditorBase;
|
|
497
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
498
|
+
onBeforeEventSegmentResize?: ((event: {
|
|
499
|
+
source: SchedulerPro;
|
|
500
|
+
eventRecord: EventModel;
|
|
501
|
+
resourceRecord: SchedulerProResourceModel;
|
|
502
|
+
event: MouseEvent;
|
|
503
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
504
|
+
onBeforeEventSegmentResizeFinalize?: ((event: {
|
|
505
|
+
source: SchedulerPro;
|
|
506
|
+
context: {
|
|
507
|
+
async: boolean;
|
|
508
|
+
finalize: Function;
|
|
509
|
+
};
|
|
510
|
+
}) => void) | string;
|
|
511
|
+
onBeforeExcelExport?: ((event: {
|
|
512
|
+
config: ExportConfig;
|
|
513
|
+
columns: XLSColumn[];
|
|
514
|
+
rows: any[];
|
|
515
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
516
|
+
onBeforeFillHandleDragStart?: ((event: {
|
|
517
|
+
cell: GridLocation;
|
|
518
|
+
domEvent: MouseEvent;
|
|
519
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
520
|
+
onBeforeFinishCellEdit?: ((event: {
|
|
521
|
+
grid: Grid;
|
|
522
|
+
editorContext: CellEditorContext;
|
|
523
|
+
}) => void) | string;
|
|
524
|
+
onBeforeFinishRowEdit?: ((event: {
|
|
525
|
+
grid: Grid;
|
|
526
|
+
editorContext: RowEditorContext;
|
|
527
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
528
|
+
onBeforeHide?: ((event: {
|
|
529
|
+
source: Widget;
|
|
530
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
531
|
+
onBeforeMspExport?: ((event: {
|
|
532
|
+
config: object;
|
|
533
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
534
|
+
onBeforePan?: ((event: {
|
|
535
|
+
event: Event;
|
|
536
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
537
|
+
onBeforePaste?: ((event: {
|
|
538
|
+
source: Grid;
|
|
539
|
+
clipboardData: string;
|
|
540
|
+
targetCell: GridLocation;
|
|
541
|
+
entityName: string;
|
|
542
|
+
text: string;
|
|
543
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
544
|
+
onBeforePdfExport?: ((event: {
|
|
545
|
+
config: object;
|
|
546
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
547
|
+
onBeforePresetChange?: ((event: {
|
|
548
|
+
source: Scheduler;
|
|
549
|
+
startDate: Date;
|
|
550
|
+
endDate: Date;
|
|
551
|
+
from: ViewPreset;
|
|
552
|
+
to: ViewPreset;
|
|
553
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
554
|
+
onBeforeProjectEdit?: ((event: {
|
|
555
|
+
source: Gantt;
|
|
556
|
+
projectEdit: ProjectEdit;
|
|
557
|
+
projectRecord: ProjectModel;
|
|
558
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
559
|
+
onBeforeProjectEditShow?: ((event: {
|
|
560
|
+
source: Gantt;
|
|
561
|
+
projectEdit: ProjectEdit;
|
|
562
|
+
projectRecord: ProjectModel;
|
|
563
|
+
editor: ProjectEditor;
|
|
564
|
+
}) => void) | string;
|
|
565
|
+
onBeforeProjectSave?: ((event: {
|
|
566
|
+
source: Gantt;
|
|
567
|
+
projectRecord: ProjectModel;
|
|
568
|
+
editor: ProjectEditor;
|
|
569
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
570
|
+
onBeforeRenderRow?: ((event: {
|
|
571
|
+
source: Grid;
|
|
572
|
+
row: Row;
|
|
573
|
+
record: Model;
|
|
574
|
+
recordIndex: number;
|
|
575
|
+
}) => void) | string;
|
|
576
|
+
onBeforeRenderRows?: ((event: {
|
|
577
|
+
source: Grid;
|
|
578
|
+
}) => void) | string;
|
|
579
|
+
onBeforeRowCollapse?: ((event: {
|
|
580
|
+
record: Model;
|
|
581
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
582
|
+
onBeforeRowExpand?: ((event: {
|
|
583
|
+
record: Model;
|
|
584
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
585
|
+
onBeforeSelectionChange?: ((event: {
|
|
586
|
+
action: string;
|
|
587
|
+
mode: 'row' | 'cell';
|
|
588
|
+
source: Grid;
|
|
589
|
+
deselected: Model[];
|
|
590
|
+
selected: Model[];
|
|
591
|
+
selection: Model[];
|
|
592
|
+
deselectedCells: GridLocation[];
|
|
593
|
+
selectedCells: GridLocation[];
|
|
594
|
+
cellSelection: GridLocation[];
|
|
595
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
596
|
+
onBeforeSetRecord?: ((event: {
|
|
597
|
+
source: Container;
|
|
598
|
+
record: Model;
|
|
599
|
+
}) => void) | string;
|
|
600
|
+
onBeforeShow?: ((event: {
|
|
601
|
+
source: Widget | any;
|
|
602
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
603
|
+
onBeforeShowTerminals?: ((event: {
|
|
604
|
+
source: TimeSpan;
|
|
605
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
606
|
+
onBeforeStartRowEdit?: ((event: {
|
|
607
|
+
source: Grid;
|
|
608
|
+
editorContext: RowEditorContext;
|
|
609
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
610
|
+
onBeforeStateApply?: ((event: {
|
|
611
|
+
state: GridStateInfo;
|
|
612
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
613
|
+
onBeforeStateSave?: ((event: {
|
|
614
|
+
state: GridStateInfo;
|
|
615
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
616
|
+
onBeforeTaskAdd?: ((event: {
|
|
617
|
+
source: Gantt;
|
|
618
|
+
taskRecord: TaskModel;
|
|
619
|
+
}) => void) | string;
|
|
620
|
+
onBeforeTaskDelete?: ((event: {
|
|
621
|
+
source: SchedulerPro;
|
|
622
|
+
taskRecord: EventModel;
|
|
623
|
+
editor: TaskEditorBase;
|
|
624
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
625
|
+
onBeforeTaskDrag?: ((event: {
|
|
626
|
+
source: Gantt;
|
|
627
|
+
taskRecord: TaskModel;
|
|
628
|
+
event: Event;
|
|
629
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
630
|
+
onBeforeTaskDropFinalize?: ((event: {
|
|
631
|
+
source: Gantt;
|
|
632
|
+
context: {
|
|
633
|
+
taskRecords: TaskModel[];
|
|
634
|
+
valid: boolean;
|
|
635
|
+
async: boolean;
|
|
636
|
+
finalize: Function;
|
|
637
|
+
};
|
|
638
|
+
}) => void) | string;
|
|
639
|
+
onBeforeTaskEdit?: ((event: {
|
|
640
|
+
source: SchedulerPro;
|
|
641
|
+
taskEdit: SchedulerProTaskEdit;
|
|
642
|
+
taskRecord: EventModel;
|
|
643
|
+
taskElement: HTMLElement;
|
|
644
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
645
|
+
onBeforeTaskEditShow?: ((event: {
|
|
646
|
+
source: SchedulerPro;
|
|
647
|
+
taskEdit: SchedulerProTaskEdit;
|
|
648
|
+
taskRecord: EventModel;
|
|
649
|
+
eventElement: HTMLElement;
|
|
650
|
+
editor: TaskEditorBase;
|
|
651
|
+
}) => void) | string;
|
|
652
|
+
onBeforeTaskResize?: ((event: {
|
|
653
|
+
taskRecord: TaskModel;
|
|
654
|
+
event: Event;
|
|
655
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
656
|
+
onBeforeTaskResizeFinalize?: ((event: {
|
|
657
|
+
taskRecord: TaskModel;
|
|
658
|
+
source: Gantt;
|
|
659
|
+
context: {
|
|
660
|
+
endDate: Date;
|
|
661
|
+
originalEndDate: Date;
|
|
662
|
+
resizeData: TaskResizeData[];
|
|
663
|
+
async: boolean;
|
|
664
|
+
finalize: Function;
|
|
665
|
+
};
|
|
666
|
+
event: Event;
|
|
667
|
+
}) => void) | string;
|
|
668
|
+
onBeforeTaskSave?: ((event: {
|
|
669
|
+
source: SchedulerPro;
|
|
670
|
+
taskRecord: EventModel;
|
|
671
|
+
editor: TaskEditorBase;
|
|
672
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
673
|
+
onBeforeTaskSegmentDrag?: ((event: {
|
|
674
|
+
source: Gantt;
|
|
675
|
+
taskRecord: TaskModel;
|
|
676
|
+
event: Event;
|
|
677
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
678
|
+
onBeforeTaskSegmentDropFinalize?: ((event: {
|
|
679
|
+
source: Gantt;
|
|
680
|
+
context: {
|
|
681
|
+
taskRecords: TaskModel[];
|
|
682
|
+
valid: boolean;
|
|
683
|
+
async: boolean;
|
|
684
|
+
finalize: Function;
|
|
685
|
+
};
|
|
686
|
+
}) => void) | string;
|
|
687
|
+
onBeforeTaskSegmentResize?: ((event: {
|
|
688
|
+
source: Gantt;
|
|
689
|
+
taskRecord: TaskModel;
|
|
690
|
+
resourceRecord: SchedulerResourceModel;
|
|
691
|
+
event: MouseEvent;
|
|
692
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
693
|
+
onBeforeTaskSegmentResizeFinalize?: ((event: {
|
|
694
|
+
source: Gantt;
|
|
695
|
+
context: {
|
|
696
|
+
async: boolean;
|
|
697
|
+
finalize: Function;
|
|
698
|
+
};
|
|
699
|
+
}) => void) | string;
|
|
700
|
+
onBeforeToggleGroup?: ((event: {
|
|
701
|
+
groupRecord: Model;
|
|
702
|
+
groupRecords: Model[];
|
|
703
|
+
collapse: boolean;
|
|
704
|
+
domEvent: Event;
|
|
705
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
706
|
+
onBeforeToggleNode?: ((event: {
|
|
707
|
+
source: Grid;
|
|
708
|
+
record: Model;
|
|
709
|
+
collapse: boolean;
|
|
710
|
+
}) => void) | string;
|
|
711
|
+
onCancelCellEdit?: ((event: {
|
|
712
|
+
source: Grid;
|
|
713
|
+
editorContext: GridLocation;
|
|
714
|
+
event: Event;
|
|
715
|
+
}) => void) | string;
|
|
716
|
+
onCatchAll?: ((event: {
|
|
717
|
+
[key: string]: any;
|
|
718
|
+
type: string;
|
|
719
|
+
}) => void) | string;
|
|
720
|
+
onCellClick?: ((event: {
|
|
721
|
+
grid: Grid;
|
|
722
|
+
record: Model;
|
|
723
|
+
column: Column;
|
|
724
|
+
cellElement: HTMLElement;
|
|
725
|
+
target: HTMLElement;
|
|
726
|
+
event: MouseEvent;
|
|
727
|
+
}) => void) | string;
|
|
728
|
+
onCellContextMenu?: ((event: {
|
|
729
|
+
grid: Grid;
|
|
730
|
+
record: Model;
|
|
731
|
+
column: Column;
|
|
732
|
+
cellElement: HTMLElement;
|
|
733
|
+
target: HTMLElement;
|
|
734
|
+
event: MouseEvent;
|
|
735
|
+
}) => void) | string;
|
|
736
|
+
onCellDblClick?: ((event: {
|
|
737
|
+
grid: Grid;
|
|
738
|
+
record: Model;
|
|
739
|
+
column: Column;
|
|
740
|
+
cellElement: HTMLElement;
|
|
741
|
+
target: HTMLElement;
|
|
742
|
+
event: MouseEvent;
|
|
743
|
+
}) => void) | string;
|
|
744
|
+
onCellMenuBeforeShow?: ((event: {
|
|
745
|
+
source: Grid;
|
|
746
|
+
menu: Menu;
|
|
747
|
+
items: Record<string, MenuItemEntry>;
|
|
748
|
+
column: Column;
|
|
749
|
+
record: Model;
|
|
750
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
751
|
+
onCellMenuItem?: ((event: {
|
|
752
|
+
source: Grid;
|
|
753
|
+
menu: Menu;
|
|
754
|
+
item: MenuItem;
|
|
755
|
+
column: Column;
|
|
756
|
+
record: Model;
|
|
757
|
+
}) => void) | string;
|
|
758
|
+
onCellMenuShow?: ((event: {
|
|
759
|
+
source: Grid;
|
|
760
|
+
menu: Menu;
|
|
761
|
+
items: Record<string, MenuItemEntry>;
|
|
762
|
+
column: Column;
|
|
763
|
+
record: Model;
|
|
764
|
+
}) => void) | string;
|
|
765
|
+
onCellMenuToggleItem?: ((event: {
|
|
766
|
+
source: Grid;
|
|
767
|
+
menu: Menu;
|
|
768
|
+
item: MenuItem;
|
|
769
|
+
column: Column;
|
|
770
|
+
record: Model;
|
|
771
|
+
checked: boolean;
|
|
772
|
+
}) => void) | string;
|
|
773
|
+
onCellMouseEnter?: ((event: {
|
|
774
|
+
source: Grid;
|
|
775
|
+
record: Model;
|
|
776
|
+
column: Column;
|
|
777
|
+
cellElement: HTMLElement;
|
|
778
|
+
event: MouseEvent;
|
|
779
|
+
}) => void) | string;
|
|
780
|
+
onCellMouseLeave?: ((event: {
|
|
781
|
+
source: Grid;
|
|
782
|
+
record: Model;
|
|
783
|
+
column: Column;
|
|
784
|
+
cellElement: HTMLElement;
|
|
785
|
+
event: MouseEvent;
|
|
786
|
+
}) => void) | string;
|
|
787
|
+
onCellMouseOut?: ((event: {
|
|
788
|
+
grid: Grid;
|
|
789
|
+
record: Model;
|
|
790
|
+
column: Column;
|
|
791
|
+
cellElement: HTMLElement;
|
|
792
|
+
target: HTMLElement;
|
|
793
|
+
event: MouseEvent;
|
|
794
|
+
}) => void) | string;
|
|
795
|
+
onCellMouseOver?: ((event: {
|
|
796
|
+
grid: Grid;
|
|
797
|
+
record: Model;
|
|
798
|
+
column: Column;
|
|
799
|
+
cellElement: HTMLElement;
|
|
800
|
+
target: HTMLElement;
|
|
801
|
+
event: MouseEvent;
|
|
802
|
+
}) => void) | string;
|
|
803
|
+
onCollapse?: ((event: {
|
|
804
|
+
source: Panel;
|
|
805
|
+
}) => void) | string;
|
|
806
|
+
onCollapseNode?: ((event: {
|
|
807
|
+
source: Grid;
|
|
808
|
+
record: Model;
|
|
809
|
+
}) => void) | string;
|
|
810
|
+
onColumnDrag?: ((event: {
|
|
811
|
+
source: Grid;
|
|
812
|
+
column: Column;
|
|
813
|
+
insertBefore: Column;
|
|
814
|
+
event: Event;
|
|
815
|
+
context: {
|
|
816
|
+
valid: boolean;
|
|
817
|
+
};
|
|
818
|
+
}) => void) | string;
|
|
819
|
+
onColumnDragStart?: ((event: {
|
|
820
|
+
source: Grid;
|
|
821
|
+
column: Column;
|
|
822
|
+
event: Event;
|
|
823
|
+
}) => void) | string;
|
|
824
|
+
onColumnDrop?: ((event: {
|
|
825
|
+
source: Grid;
|
|
826
|
+
column: Column;
|
|
827
|
+
insertBefore: Column;
|
|
828
|
+
newParent: Column;
|
|
829
|
+
valid: boolean;
|
|
830
|
+
event: Event;
|
|
831
|
+
region: string;
|
|
832
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
833
|
+
onColumnResize?: ((event: {
|
|
834
|
+
source: Grid;
|
|
835
|
+
column: Column;
|
|
836
|
+
domEvent: Event;
|
|
837
|
+
}) => void) | string;
|
|
838
|
+
onColumnResizeStart?: ((event: {
|
|
839
|
+
source: Grid;
|
|
840
|
+
column: Column;
|
|
841
|
+
domEvent: Event;
|
|
842
|
+
}) => void) | string;
|
|
843
|
+
onContextMenuItem?: ((event: {
|
|
844
|
+
source: Widget;
|
|
845
|
+
menu: Menu;
|
|
846
|
+
item: MenuItem;
|
|
847
|
+
}) => void) | string;
|
|
848
|
+
onContextMenuToggleItem?: ((event: {
|
|
849
|
+
source: Widget;
|
|
850
|
+
menu: Menu;
|
|
851
|
+
item: MenuItem;
|
|
852
|
+
checked: boolean;
|
|
853
|
+
}) => void) | string;
|
|
854
|
+
onCopy?: ((event: {
|
|
855
|
+
source: Grid;
|
|
856
|
+
cells: GridLocation[];
|
|
857
|
+
copiedDataString: string;
|
|
858
|
+
isCut: boolean;
|
|
859
|
+
entityName: string;
|
|
860
|
+
}) => void) | string;
|
|
861
|
+
onCriticalPathsHighlighted?: (() => void) | string;
|
|
862
|
+
onCriticalPathsUnhighlighted?: (() => void) | string;
|
|
863
|
+
onCurrentTimelineUpdate?: ((event: {
|
|
864
|
+
source: Scheduler;
|
|
865
|
+
date: Date;
|
|
866
|
+
}) => void) | string;
|
|
867
|
+
onDataChange?: ((event: {
|
|
868
|
+
source: Grid;
|
|
869
|
+
store: Store;
|
|
870
|
+
action: 'remove' | 'removeAll' | 'add' | 'clearchanges' | 'filter' | 'update' | 'dataset' | 'replace';
|
|
871
|
+
record: Model;
|
|
872
|
+
records: Model[];
|
|
873
|
+
changes: object;
|
|
874
|
+
}) => void) | string;
|
|
875
|
+
onDateRangeChange?: ((event: {
|
|
876
|
+
source: TimelineBase;
|
|
877
|
+
old: {
|
|
878
|
+
startDate: Date;
|
|
879
|
+
endDate: Date;
|
|
880
|
+
};
|
|
881
|
+
new: {
|
|
882
|
+
startDate: Date;
|
|
883
|
+
endDate: Date;
|
|
884
|
+
};
|
|
885
|
+
}) => void) | string;
|
|
886
|
+
onDependenciesDrawn?: (() => void) | string;
|
|
887
|
+
onDependencyClick?: ((event: {
|
|
888
|
+
source: Scheduler;
|
|
889
|
+
dependency: SchedulerDependencyModel;
|
|
890
|
+
event: MouseEvent;
|
|
891
|
+
}) => void) | string;
|
|
892
|
+
onDependencyContextMenu?: ((event: {
|
|
893
|
+
source: Scheduler;
|
|
894
|
+
dependency: SchedulerDependencyModel;
|
|
895
|
+
event: MouseEvent;
|
|
896
|
+
}) => void) | string;
|
|
897
|
+
onDependencyCreateDragStart?: ((event: {
|
|
898
|
+
source: TimeSpan;
|
|
899
|
+
}) => void) | string;
|
|
900
|
+
onDependencyCreateDrop?: ((event: {
|
|
901
|
+
source: TimeSpan;
|
|
902
|
+
target: TimeSpan;
|
|
903
|
+
dependency: DependencyBaseModel;
|
|
904
|
+
}) => void) | string;
|
|
905
|
+
onDependencyDblClick?: ((event: {
|
|
906
|
+
source: Scheduler;
|
|
907
|
+
dependency: SchedulerDependencyModel;
|
|
908
|
+
event: MouseEvent;
|
|
909
|
+
}) => void) | string;
|
|
910
|
+
onDependencyMouseOut?: ((event: {
|
|
911
|
+
source: Scheduler;
|
|
912
|
+
dependency: SchedulerDependencyModel;
|
|
913
|
+
event: MouseEvent;
|
|
914
|
+
}) => void) | string;
|
|
915
|
+
onDependencyMouseOver?: ((event: {
|
|
916
|
+
source: Scheduler;
|
|
917
|
+
dependency: SchedulerDependencyModel;
|
|
918
|
+
event: MouseEvent;
|
|
919
|
+
}) => void) | string;
|
|
920
|
+
onDependencyValidationComplete?: ((event: {
|
|
921
|
+
source: TimeSpan;
|
|
922
|
+
target: TimeSpan;
|
|
923
|
+
dependencyType: number;
|
|
924
|
+
}) => void) | string;
|
|
925
|
+
onDependencyValidationStart?: ((event: {
|
|
926
|
+
source: TimeSpan;
|
|
927
|
+
target: TimeSpan;
|
|
928
|
+
dependencyType: number;
|
|
929
|
+
}) => void) | string;
|
|
930
|
+
onDestroy?: ((event: {
|
|
931
|
+
source: Base;
|
|
932
|
+
}) => void) | string;
|
|
933
|
+
onDirtyStateChange?: ((event: {
|
|
934
|
+
source: Container;
|
|
935
|
+
dirty: boolean;
|
|
936
|
+
}) => void) | string;
|
|
937
|
+
onDragCreateEnd?: ((event: {
|
|
938
|
+
source: Gantt;
|
|
939
|
+
taskRecord: TaskModel;
|
|
940
|
+
event: MouseEvent;
|
|
941
|
+
proxyElement: HTMLElement;
|
|
942
|
+
}) => void) | string;
|
|
943
|
+
onDragCreateStart?: ((event: {
|
|
944
|
+
source: Gantt;
|
|
945
|
+
proxyElement: HTMLElement;
|
|
946
|
+
}) => void) | string;
|
|
947
|
+
onDragSelecting?: ((event: {
|
|
948
|
+
source: Grid;
|
|
949
|
+
selectedCells: GridLocationConfig[] | GridLocation[];
|
|
950
|
+
selectedRecords: Model[];
|
|
951
|
+
}) => void) | string;
|
|
952
|
+
onElementCreated?: ((event: {
|
|
953
|
+
element: HTMLElement;
|
|
954
|
+
}) => void) | string;
|
|
955
|
+
onEventEditBeforeSetRecord?: ((event: {
|
|
956
|
+
source: Container;
|
|
957
|
+
record: SchedulerEventModel;
|
|
958
|
+
}) => void) | string;
|
|
959
|
+
onEventMenuBeforeShow?: ((event: {
|
|
960
|
+
source: Scheduler;
|
|
961
|
+
items: Record<string, MenuItemEntry>;
|
|
962
|
+
eventRecord: SchedulerEventModel;
|
|
963
|
+
resourceRecord: SchedulerResourceModel;
|
|
964
|
+
assignmentRecord: SchedulerAssignmentModel;
|
|
965
|
+
eventElement: HTMLElement;
|
|
966
|
+
event?: MouseEvent;
|
|
967
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
968
|
+
onEventMenuItem?: ((event: {
|
|
969
|
+
source: Scheduler;
|
|
970
|
+
item: MenuItem;
|
|
971
|
+
eventRecord: SchedulerEventModel;
|
|
972
|
+
resourceRecord: SchedulerResourceModel;
|
|
973
|
+
assignmentRecord: SchedulerAssignmentModel;
|
|
974
|
+
eventElement: HTMLElement;
|
|
975
|
+
}) => void) | string;
|
|
976
|
+
onEventMenuShow?: ((event: {
|
|
977
|
+
source: Scheduler;
|
|
978
|
+
menu: Menu;
|
|
979
|
+
eventRecord: SchedulerEventModel;
|
|
980
|
+
resourceRecord: SchedulerResourceModel;
|
|
981
|
+
assignmentRecord: SchedulerAssignmentModel;
|
|
982
|
+
eventElement: HTMLElement;
|
|
983
|
+
}) => void) | string;
|
|
984
|
+
onEventPartialResize?: ((event: {
|
|
985
|
+
source: Scheduler;
|
|
986
|
+
eventRecord: SchedulerEventModel;
|
|
987
|
+
startDate: Date;
|
|
988
|
+
endDate: Date;
|
|
989
|
+
element: HTMLElement;
|
|
990
|
+
resizeData: EventResizeData[];
|
|
991
|
+
}) => void) | string;
|
|
992
|
+
onEventResizeEnd?: ((event: {
|
|
993
|
+
source: Scheduler;
|
|
994
|
+
changed: boolean;
|
|
995
|
+
eventRecord: SchedulerEventModel;
|
|
996
|
+
resizeData: EventResizeData[];
|
|
997
|
+
}) => void) | string;
|
|
998
|
+
onEventResizeStart?: ((event: {
|
|
999
|
+
source: Scheduler;
|
|
1000
|
+
eventRecord: SchedulerEventModel;
|
|
1001
|
+
resourceRecord: SchedulerResourceModel;
|
|
1002
|
+
event: MouseEvent;
|
|
1003
|
+
resizeData: EventResizeData[];
|
|
1004
|
+
}) => void) | string;
|
|
1005
|
+
onEventSegmentPartialResize?: ((event: {
|
|
1006
|
+
source: SchedulerPro;
|
|
1007
|
+
eventRecord: EventModel;
|
|
1008
|
+
startDate: Date;
|
|
1009
|
+
endDate: Date;
|
|
1010
|
+
element: HTMLElement;
|
|
1011
|
+
}) => void) | string;
|
|
1012
|
+
onEventSegmentResizeEnd?: ((event: {
|
|
1013
|
+
source: SchedulerPro;
|
|
1014
|
+
changed: boolean;
|
|
1015
|
+
eventRecord: EventModel;
|
|
1016
|
+
}) => void) | string;
|
|
1017
|
+
onEventSegmentResizeStart?: ((event: {
|
|
1018
|
+
source: SchedulerPro;
|
|
1019
|
+
eventRecord: EventModel;
|
|
1020
|
+
resourceRecord: SchedulerProResourceModel;
|
|
1021
|
+
event: MouseEvent;
|
|
1022
|
+
}) => void) | string;
|
|
1023
|
+
onExpand?: ((event: {
|
|
1024
|
+
source: Panel;
|
|
1025
|
+
}) => void) | string;
|
|
1026
|
+
onExpandNode?: ((event: {
|
|
1027
|
+
source: Grid;
|
|
1028
|
+
record: Model;
|
|
1029
|
+
}) => void) | string;
|
|
1030
|
+
onFileDrop?: ((event: {
|
|
1031
|
+
source: Grid;
|
|
1032
|
+
file: DataTransferItem;
|
|
1033
|
+
domEvent: DragEvent;
|
|
1034
|
+
}) => void) | string;
|
|
1035
|
+
onFillHandleBeforeDragFinalize?: ((event: {
|
|
1036
|
+
from: GridLocation;
|
|
1037
|
+
to: GridLocation;
|
|
1038
|
+
domEvent: MouseEvent;
|
|
1039
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1040
|
+
onFillHandleDrag?: ((event: {
|
|
1041
|
+
from: GridLocation;
|
|
1042
|
+
to: GridLocation;
|
|
1043
|
+
domEvent: MouseEvent;
|
|
1044
|
+
}) => void) | string;
|
|
1045
|
+
onFillHandleDragAbort?: (() => void) | string;
|
|
1046
|
+
onFillHandleDragEnd?: ((event: {
|
|
1047
|
+
from: GridLocation;
|
|
1048
|
+
to: GridLocation;
|
|
1049
|
+
domEvent: MouseEvent;
|
|
1050
|
+
}) => void) | string;
|
|
1051
|
+
onFillHandleDragStart?: ((event: {
|
|
1052
|
+
cell: GridLocation;
|
|
1053
|
+
domEvent: MouseEvent;
|
|
1054
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1055
|
+
onFinishCellEdit?: ((event: {
|
|
1056
|
+
grid: Grid;
|
|
1057
|
+
editorContext: CellEditorContext;
|
|
1058
|
+
}) => void) | string;
|
|
1059
|
+
onFinishRowEdit?: ((event: {
|
|
1060
|
+
grid: Grid;
|
|
1061
|
+
editorContext: RowEditorContext;
|
|
1062
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1063
|
+
onFocusIn?: ((event: {
|
|
1064
|
+
source: Widget;
|
|
1065
|
+
fromElement: HTMLElement;
|
|
1066
|
+
toElement: HTMLElement;
|
|
1067
|
+
fromWidget: Widget;
|
|
1068
|
+
toWidget: Widget;
|
|
1069
|
+
backwards: boolean;
|
|
1070
|
+
}) => void) | string;
|
|
1071
|
+
onFocusOut?: ((event: {
|
|
1072
|
+
source: Widget;
|
|
1073
|
+
fromElement: HTMLElement;
|
|
1074
|
+
toElement: HTMLElement;
|
|
1075
|
+
fromWidget: Widget;
|
|
1076
|
+
toWidget: Widget;
|
|
1077
|
+
backwards: boolean;
|
|
1078
|
+
}) => void) | string;
|
|
1079
|
+
onGridRowBeforeDragStart?: ((event: {
|
|
1080
|
+
source: GridBase;
|
|
1081
|
+
context: {
|
|
1082
|
+
records: Model[];
|
|
1083
|
+
};
|
|
1084
|
+
event: MouseEvent | TouchEvent;
|
|
1085
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1086
|
+
onGridRowBeforeDropFinalize?: ((event: {
|
|
1087
|
+
source: GridBase;
|
|
1088
|
+
context: {
|
|
1089
|
+
valid: boolean;
|
|
1090
|
+
insertBefore: Model;
|
|
1091
|
+
parent: Model;
|
|
1092
|
+
records: Model[];
|
|
1093
|
+
oldPositionContext: RecordPositionContext[];
|
|
1094
|
+
};
|
|
1095
|
+
event: MouseEvent;
|
|
1096
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1097
|
+
onGridRowDrag?: ((event: {
|
|
1098
|
+
source: GridBase;
|
|
1099
|
+
context: {
|
|
1100
|
+
valid: boolean;
|
|
1101
|
+
insertBefore: Model;
|
|
1102
|
+
parent: Model;
|
|
1103
|
+
records: Model[];
|
|
1104
|
+
};
|
|
1105
|
+
event: MouseEvent;
|
|
1106
|
+
}) => void) | string;
|
|
1107
|
+
onGridRowDragAbort?: ((event: {
|
|
1108
|
+
source: GridBase;
|
|
1109
|
+
context: {
|
|
1110
|
+
records: Model[];
|
|
1111
|
+
};
|
|
1112
|
+
event: MouseEvent;
|
|
1113
|
+
}) => void) | string;
|
|
1114
|
+
onGridRowDragStart?: ((event: {
|
|
1115
|
+
source: GridBase;
|
|
1116
|
+
context: {
|
|
1117
|
+
records: Model[];
|
|
1118
|
+
};
|
|
1119
|
+
event: MouseEvent | TouchEvent;
|
|
1120
|
+
}) => void) | string;
|
|
1121
|
+
onGridRowDrop?: ((event: {
|
|
1122
|
+
source: GridBase;
|
|
1123
|
+
context: {
|
|
1124
|
+
valid: boolean;
|
|
1125
|
+
insertBefore: Model;
|
|
1126
|
+
parent: Model;
|
|
1127
|
+
records: Model[];
|
|
1128
|
+
oldPositionContext: RecordPositionContext[];
|
|
1129
|
+
};
|
|
1130
|
+
event: MouseEvent;
|
|
1131
|
+
}) => void) | string;
|
|
1132
|
+
onHeaderClick?: ((event: {
|
|
1133
|
+
domEvent: Event;
|
|
1134
|
+
column: Column;
|
|
1135
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1136
|
+
onHeaderMenuBeforeShow?: ((event: {
|
|
1137
|
+
source: Grid;
|
|
1138
|
+
menu: Menu;
|
|
1139
|
+
items: Record<string, MenuItemEntry>;
|
|
1140
|
+
column: Column;
|
|
1141
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1142
|
+
onHeaderMenuItem?: ((event: {
|
|
1143
|
+
source: Grid;
|
|
1144
|
+
menu: Menu;
|
|
1145
|
+
item: MenuItem;
|
|
1146
|
+
column: Column;
|
|
1147
|
+
}) => void) | string;
|
|
1148
|
+
onHeaderMenuShow?: ((event: {
|
|
1149
|
+
source: Grid;
|
|
1150
|
+
menu: Menu;
|
|
1151
|
+
items: Record<string, MenuItemEntry>;
|
|
1152
|
+
column: Column;
|
|
1153
|
+
}) => void) | string;
|
|
1154
|
+
onHeaderMenuToggleItem?: ((event: {
|
|
1155
|
+
source: Grid;
|
|
1156
|
+
menu: Menu;
|
|
1157
|
+
item: MenuItem;
|
|
1158
|
+
column: Column;
|
|
1159
|
+
checked: boolean;
|
|
1160
|
+
}) => void) | string;
|
|
1161
|
+
onHide?: ((event: {
|
|
1162
|
+
source: Widget;
|
|
1163
|
+
}) => void) | string;
|
|
1164
|
+
onLockRows?: ((event: {
|
|
1165
|
+
clone: GridBase;
|
|
1166
|
+
}) => void) | string;
|
|
1167
|
+
onMouseOut?: ((event: {
|
|
1168
|
+
event: MouseEvent;
|
|
1169
|
+
}) => void) | string;
|
|
1170
|
+
onMouseOver?: ((event: {
|
|
1171
|
+
event: MouseEvent;
|
|
1172
|
+
}) => void) | string;
|
|
1173
|
+
onMspExport?: ((event: {
|
|
1174
|
+
config: object;
|
|
1175
|
+
fileContent: string;
|
|
1176
|
+
}) => void) | string;
|
|
1177
|
+
onNavigate?: ((event: {
|
|
1178
|
+
event: Event;
|
|
1179
|
+
item: HTMLElement | null;
|
|
1180
|
+
oldItem: HTMLElement | null;
|
|
1181
|
+
}) => void) | string;
|
|
1182
|
+
onNoZoomChange?: ((event: {
|
|
1183
|
+
currentZoomLevel: number;
|
|
1184
|
+
startDate: Date;
|
|
1185
|
+
endDate: Date;
|
|
1186
|
+
}) => void) | string;
|
|
1187
|
+
onPaint?: ((event: {
|
|
1188
|
+
source: Widget;
|
|
1189
|
+
firstPaint: boolean;
|
|
1190
|
+
}) => void) | string;
|
|
1191
|
+
onPaste?: ((event: {
|
|
1192
|
+
source: Grid;
|
|
1193
|
+
clipboardData: string;
|
|
1194
|
+
modifiedRecords: Model[];
|
|
1195
|
+
targetCell: GridLocation;
|
|
1196
|
+
entityName: string;
|
|
1197
|
+
}) => void) | string;
|
|
1198
|
+
onPdfExport?: ((event: {
|
|
1199
|
+
response?: any;
|
|
1200
|
+
error?: Error;
|
|
1201
|
+
}) => void) | string;
|
|
1202
|
+
onPercentBarDrag?: ((event: {
|
|
1203
|
+
source: TimelineBase;
|
|
1204
|
+
taskRecord: Model;
|
|
1205
|
+
domEvent: MouseEvent;
|
|
1206
|
+
}) => void) | string;
|
|
1207
|
+
onPercentBarDragAbort?: ((event: {
|
|
1208
|
+
source: TimelineBase;
|
|
1209
|
+
taskRecord: Model;
|
|
1210
|
+
domEvent: MouseEvent;
|
|
1211
|
+
}) => void) | string;
|
|
1212
|
+
onPercentBarDragStart?: ((event: {
|
|
1213
|
+
source: TimelineBase;
|
|
1214
|
+
taskRecord: Model;
|
|
1215
|
+
domEvent: MouseEvent;
|
|
1216
|
+
}) => void) | string;
|
|
1217
|
+
onPercentBarDrop?: ((event: {
|
|
1218
|
+
source: TimelineBase;
|
|
1219
|
+
taskRecord: Model;
|
|
1220
|
+
domEvent: MouseEvent;
|
|
1221
|
+
}) => void) | string;
|
|
1222
|
+
onPresetChange?: ((event: {
|
|
1223
|
+
source: Scheduler;
|
|
1224
|
+
startDate: Date;
|
|
1225
|
+
centerDate: Date;
|
|
1226
|
+
endDate: Date;
|
|
1227
|
+
from: ViewPreset;
|
|
1228
|
+
to: ViewPreset;
|
|
1229
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1230
|
+
onProjectEditCanceled?: ((event: {
|
|
1231
|
+
source: Gantt;
|
|
1232
|
+
projectRecord: ProjectModel;
|
|
1233
|
+
editor: ProjectEditor;
|
|
1234
|
+
}) => void) | string;
|
|
1235
|
+
onReadOnly?: ((event: {
|
|
1236
|
+
readOnly: boolean;
|
|
1237
|
+
}) => void) | string;
|
|
1238
|
+
onRecompose?: (() => void) | string;
|
|
1239
|
+
onReleaseTask?: ((event: {
|
|
1240
|
+
source: Gantt;
|
|
1241
|
+
renderData: object;
|
|
1242
|
+
taskRecord: TaskModel;
|
|
1243
|
+
element: HTMLElement;
|
|
1244
|
+
}) => void) | string;
|
|
1245
|
+
onRenderRow?: ((event: {
|
|
1246
|
+
source: Grid;
|
|
1247
|
+
row: Row;
|
|
1248
|
+
record: Model;
|
|
1249
|
+
recordIndex: number;
|
|
1250
|
+
}) => void) | string;
|
|
1251
|
+
onRenderRows?: ((event: {
|
|
1252
|
+
source: Grid;
|
|
1253
|
+
}) => void) | string;
|
|
1254
|
+
onRenderTask?: ((event: {
|
|
1255
|
+
source: Gantt;
|
|
1256
|
+
renderData: object;
|
|
1257
|
+
taskRecord: TaskModel;
|
|
1258
|
+
element: HTMLElement;
|
|
1259
|
+
}) => void) | string;
|
|
1260
|
+
onResize?: ((event: {
|
|
1261
|
+
source: Widget;
|
|
1262
|
+
width: number;
|
|
1263
|
+
height: number;
|
|
1264
|
+
oldWidth: number;
|
|
1265
|
+
oldHeight: number;
|
|
1266
|
+
}) => void) | string;
|
|
1267
|
+
onResourceAssignmentClick?: ((event: {
|
|
1268
|
+
source: Gantt;
|
|
1269
|
+
taskRecord: TaskModel;
|
|
1270
|
+
resourceRecord: ResourceModel;
|
|
1271
|
+
event: Event;
|
|
1272
|
+
}) => void) | string;
|
|
1273
|
+
onResponsive?: ((event: {
|
|
1274
|
+
grid: Grid;
|
|
1275
|
+
level: string;
|
|
1276
|
+
width: number;
|
|
1277
|
+
oldLevel: string;
|
|
1278
|
+
oldWidth: number;
|
|
1279
|
+
}) => void) | string;
|
|
1280
|
+
onRowCollapse?: ((event: {
|
|
1281
|
+
record: Model;
|
|
1282
|
+
}) => void) | string;
|
|
1283
|
+
onRowExpand?: ((event: {
|
|
1284
|
+
record: Model;
|
|
1285
|
+
expandedElements: object;
|
|
1286
|
+
widget: Widget;
|
|
1287
|
+
widgets: object;
|
|
1288
|
+
}) => void) | string;
|
|
1289
|
+
onRowMouseEnter?: ((event: {
|
|
1290
|
+
source: Grid;
|
|
1291
|
+
record: Model;
|
|
1292
|
+
column: Column;
|
|
1293
|
+
cellElement: HTMLElement;
|
|
1294
|
+
event: MouseEvent;
|
|
1295
|
+
}) => void) | string;
|
|
1296
|
+
onRowMouseLeave?: ((event: {
|
|
1297
|
+
source: Grid;
|
|
1298
|
+
record: Model;
|
|
1299
|
+
cellElement: HTMLElement;
|
|
1300
|
+
event: MouseEvent;
|
|
1301
|
+
}) => void) | string;
|
|
1302
|
+
onScheduleMenuBeforeShow?: ((event: {
|
|
1303
|
+
source: Scheduler;
|
|
1304
|
+
items: Record<string, MenuItemEntry>;
|
|
1305
|
+
resourceRecord: SchedulerResourceModel;
|
|
1306
|
+
date: Date;
|
|
1307
|
+
assignmentRecord: SchedulerAssignmentModel;
|
|
1308
|
+
eventElement: HTMLElement;
|
|
1309
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1310
|
+
onScheduleMenuItem?: ((event: {
|
|
1311
|
+
source: Scheduler;
|
|
1312
|
+
item: MenuItem;
|
|
1313
|
+
resourceRecord: SchedulerResourceModel;
|
|
1314
|
+
date: Date;
|
|
1315
|
+
element: HTMLElement;
|
|
1316
|
+
}) => void) | string;
|
|
1317
|
+
onScheduleMenuShow?: ((event: {
|
|
1318
|
+
source: Scheduler;
|
|
1319
|
+
items: Record<string, MenuItemEntry>;
|
|
1320
|
+
menu: Menu;
|
|
1321
|
+
resourceRecord: SchedulerResourceModel;
|
|
1322
|
+
date: Date;
|
|
1323
|
+
targetElement: HTMLElement;
|
|
1324
|
+
}) => void) | string;
|
|
1325
|
+
onScroll?: ((event: {
|
|
1326
|
+
source: Grid;
|
|
1327
|
+
scrollTop: number;
|
|
1328
|
+
}) => void) | string;
|
|
1329
|
+
onScrollButtonClick?: ((event: {
|
|
1330
|
+
domEvent: Event;
|
|
1331
|
+
taskRecord: TaskModel;
|
|
1332
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1333
|
+
onSelectionChange?: ((event: {
|
|
1334
|
+
action: 'select' | 'deselect';
|
|
1335
|
+
mode: 'row' | 'cell';
|
|
1336
|
+
source: Grid;
|
|
1337
|
+
deselected: Model[];
|
|
1338
|
+
selected: Model[];
|
|
1339
|
+
selection: Model[];
|
|
1340
|
+
deselectedCells: GridLocation[];
|
|
1341
|
+
selectedCells: GridLocation[];
|
|
1342
|
+
cellSelection: GridLocation[];
|
|
1343
|
+
}) => void) | string;
|
|
1344
|
+
onSelectionModeChange?: ((event: {
|
|
1345
|
+
selectionMode: object;
|
|
1346
|
+
}) => void) | string;
|
|
1347
|
+
onShow?: ((event: {
|
|
1348
|
+
source: Widget;
|
|
1349
|
+
}) => void) | string;
|
|
1350
|
+
onSplit?: ((event: {
|
|
1351
|
+
subViews: GridBase[];
|
|
1352
|
+
options: {
|
|
1353
|
+
direction: 'horizontal' | 'vertical' | 'both';
|
|
1354
|
+
atColumn: Column;
|
|
1355
|
+
atRecord: Model;
|
|
1356
|
+
};
|
|
1357
|
+
}) => void) | string;
|
|
1358
|
+
onSplitterCollapseClick?: ((event: {
|
|
1359
|
+
source: Grid;
|
|
1360
|
+
subGrid: SubGrid;
|
|
1361
|
+
domEvent: Event;
|
|
1362
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1363
|
+
onSplitterDragEnd?: ((event: {
|
|
1364
|
+
source: Grid;
|
|
1365
|
+
subGrid: SubGrid;
|
|
1366
|
+
domEvent: Event;
|
|
1367
|
+
}) => void) | string;
|
|
1368
|
+
onSplitterDragStart?: ((event: {
|
|
1369
|
+
source: Grid;
|
|
1370
|
+
subGrid: SubGrid;
|
|
1371
|
+
domEvent: Event;
|
|
1372
|
+
}) => void) | string;
|
|
1373
|
+
onSplitterExpandClick?: ((event: {
|
|
1374
|
+
source: Grid;
|
|
1375
|
+
subGrid: SubGrid;
|
|
1376
|
+
domEvent: Event;
|
|
1377
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1378
|
+
onStartCellEdit?: ((event: {
|
|
1379
|
+
source: Grid;
|
|
1380
|
+
editorContext: CellEditorContext;
|
|
1381
|
+
}) => void) | string;
|
|
1382
|
+
onStartRowEdit?: ((event: {
|
|
1383
|
+
source: Grid;
|
|
1384
|
+
editorContext: RowEditorContext;
|
|
1385
|
+
}) => void) | string;
|
|
1386
|
+
onSubGridCollapse?: ((event: {
|
|
1387
|
+
source: Grid;
|
|
1388
|
+
subGrid: SubGrid;
|
|
1389
|
+
}) => void) | string;
|
|
1390
|
+
onSubGridExpand?: ((event: {
|
|
1391
|
+
source: Grid;
|
|
1392
|
+
subGrid: SubGrid;
|
|
1393
|
+
}) => void) | string;
|
|
1394
|
+
onTaskClick?: ((event: {
|
|
1395
|
+
source: Gantt;
|
|
1396
|
+
taskRecord: TaskModel;
|
|
1397
|
+
event: MouseEvent;
|
|
1398
|
+
}) => void) | string;
|
|
1399
|
+
onTaskContextMenu?: ((event: {
|
|
1400
|
+
source: Gantt;
|
|
1401
|
+
taskRecord: TaskModel;
|
|
1402
|
+
event: MouseEvent;
|
|
1403
|
+
}) => void) | string;
|
|
1404
|
+
onTaskDblClick?: ((event: {
|
|
1405
|
+
source: Gantt;
|
|
1406
|
+
taskRecord: TaskModel;
|
|
1407
|
+
event: MouseEvent;
|
|
1408
|
+
}) => void) | string;
|
|
1409
|
+
onTaskDrag?: ((event: {
|
|
1410
|
+
source: Gantt;
|
|
1411
|
+
taskRecords: TaskModel[];
|
|
1412
|
+
startDate: Date;
|
|
1413
|
+
endDate: Date;
|
|
1414
|
+
dragData: object;
|
|
1415
|
+
changed: boolean;
|
|
1416
|
+
}) => void) | string;
|
|
1417
|
+
onTaskDragStart?: ((event: {
|
|
1418
|
+
source: Gantt;
|
|
1419
|
+
taskRecords: TaskModel[];
|
|
1420
|
+
}) => void) | string;
|
|
1421
|
+
onTaskDrop?: ((event: {
|
|
1422
|
+
source: Gantt;
|
|
1423
|
+
taskRecords: TaskModel[];
|
|
1424
|
+
isCopy: boolean;
|
|
1425
|
+
}) => void) | string;
|
|
1426
|
+
onTaskEditCanceled?: ((event: {
|
|
1427
|
+
source: SchedulerPro;
|
|
1428
|
+
taskRecord: EventModel;
|
|
1429
|
+
editor: TaskEditorBase;
|
|
1430
|
+
}) => void) | string;
|
|
1431
|
+
onTaskKeyDown?: ((event: {
|
|
1432
|
+
source: Gantt;
|
|
1433
|
+
taskRecord: TaskModel;
|
|
1434
|
+
event: KeyboardEvent;
|
|
1435
|
+
}) => void) | string;
|
|
1436
|
+
onTaskKeyUp?: ((event: {
|
|
1437
|
+
source: Gantt;
|
|
1438
|
+
taskRecord: TaskModel;
|
|
1439
|
+
event: KeyboardEvent;
|
|
1440
|
+
}) => void) | string;
|
|
1441
|
+
onTaskMenuBeforeShow?: ((event: {
|
|
1442
|
+
source: Gantt;
|
|
1443
|
+
items: MenuItemEntry[];
|
|
1444
|
+
taskRecord: TaskModel;
|
|
1445
|
+
taskElement: HTMLElement;
|
|
1446
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1447
|
+
onTaskMenuItem?: ((event: {
|
|
1448
|
+
source: Gantt;
|
|
1449
|
+
item: MenuItem;
|
|
1450
|
+
taskRecord: TaskModel;
|
|
1451
|
+
taskElement: HTMLElement;
|
|
1452
|
+
}) => void) | string;
|
|
1453
|
+
onTaskMenuShow?: ((event: {
|
|
1454
|
+
source: Gantt;
|
|
1455
|
+
menu: Menu;
|
|
1456
|
+
taskRecord: TaskModel;
|
|
1457
|
+
taskElement: HTMLElement;
|
|
1458
|
+
}) => void) | string;
|
|
1459
|
+
onTaskMouseDown?: ((event: {
|
|
1460
|
+
source: Gantt;
|
|
1461
|
+
taskRecord: TaskModel;
|
|
1462
|
+
event: MouseEvent;
|
|
1463
|
+
}) => void) | string;
|
|
1464
|
+
onTaskMouseOut?: ((event: {
|
|
1465
|
+
source: Gantt;
|
|
1466
|
+
taskRecord: TaskModel;
|
|
1467
|
+
event: MouseEvent;
|
|
1468
|
+
}) => void) | string;
|
|
1469
|
+
onTaskMouseOver?: ((event: {
|
|
1470
|
+
source: Gantt;
|
|
1471
|
+
taskRecord: TaskModel;
|
|
1472
|
+
event: MouseEvent;
|
|
1473
|
+
}) => void) | string;
|
|
1474
|
+
onTaskMouseUp?: ((event: {
|
|
1475
|
+
source: Gantt;
|
|
1476
|
+
taskRecord: TaskModel;
|
|
1477
|
+
event: MouseEvent;
|
|
1478
|
+
}) => void) | string;
|
|
1479
|
+
onTaskNonWorkingTimeClick?: ((event: {
|
|
1480
|
+
source: Gantt;
|
|
1481
|
+
taskRecord: TaskModel;
|
|
1482
|
+
interval: {
|
|
1483
|
+
name: string;
|
|
1484
|
+
startDate: Date;
|
|
1485
|
+
endDate: Date;
|
|
1486
|
+
};
|
|
1487
|
+
domEvent: MouseEvent;
|
|
1488
|
+
}) => void) | string;
|
|
1489
|
+
onTaskNonWorkingTimeContextMenu?: ((event: {
|
|
1490
|
+
source: Gantt;
|
|
1491
|
+
taskRecord: TaskModel;
|
|
1492
|
+
interval: {
|
|
1493
|
+
name: string;
|
|
1494
|
+
startDate: Date;
|
|
1495
|
+
endDate: Date;
|
|
1496
|
+
};
|
|
1497
|
+
domEvent: MouseEvent;
|
|
1498
|
+
}) => void) | string;
|
|
1499
|
+
onTaskNonWorkingTimeDblClick?: ((event: {
|
|
1500
|
+
source: Gantt;
|
|
1501
|
+
taskRecord: TaskModel;
|
|
1502
|
+
interval: {
|
|
1503
|
+
name: string;
|
|
1504
|
+
startDate: Date;
|
|
1505
|
+
endDate: Date;
|
|
1506
|
+
};
|
|
1507
|
+
domEvent: MouseEvent;
|
|
1508
|
+
}) => void) | string;
|
|
1509
|
+
onTaskPartialResize?: ((event: {
|
|
1510
|
+
resizeData: TaskResizeData[];
|
|
1511
|
+
taskRecord: TaskModel;
|
|
1512
|
+
startDate: Date;
|
|
1513
|
+
endDate: Date;
|
|
1514
|
+
element: HTMLElement;
|
|
1515
|
+
}) => void) | string;
|
|
1516
|
+
onTaskResizeEnd?: ((event: {
|
|
1517
|
+
changed: boolean;
|
|
1518
|
+
taskRecord: TaskModel;
|
|
1519
|
+
resizeData: TaskResizeData[];
|
|
1520
|
+
}) => void) | string;
|
|
1521
|
+
onTaskResizeStart?: ((event: {
|
|
1522
|
+
taskRecord: TaskModel;
|
|
1523
|
+
event: Event;
|
|
1524
|
+
resizeData: TaskResizeData[];
|
|
1525
|
+
}) => void) | string;
|
|
1526
|
+
onTaskSegmentDrag?: ((event: {
|
|
1527
|
+
source: Gantt;
|
|
1528
|
+
taskRecords: TaskModel[];
|
|
1529
|
+
startDate: Date;
|
|
1530
|
+
endDate: Date;
|
|
1531
|
+
dragData: object;
|
|
1532
|
+
changed: boolean;
|
|
1533
|
+
}) => void) | string;
|
|
1534
|
+
onTaskSegmentDragStart?: ((event: {
|
|
1535
|
+
source: Gantt;
|
|
1536
|
+
taskRecords: TaskModel[];
|
|
1537
|
+
}) => void) | string;
|
|
1538
|
+
onTaskSegmentDrop?: ((event: {
|
|
1539
|
+
source: Gantt;
|
|
1540
|
+
taskRecords: TaskModel[];
|
|
1541
|
+
isCopy: boolean;
|
|
1542
|
+
}) => void) | string;
|
|
1543
|
+
onTaskSegmentPartialResize?: ((event: {
|
|
1544
|
+
source: Gantt;
|
|
1545
|
+
taskRecord: TaskModel;
|
|
1546
|
+
startDate: Date;
|
|
1547
|
+
endDate: Date;
|
|
1548
|
+
element: HTMLElement;
|
|
1549
|
+
}) => void) | string;
|
|
1550
|
+
onTaskSegmentResizeEnd?: ((event: {
|
|
1551
|
+
source: Gantt;
|
|
1552
|
+
changed: boolean;
|
|
1553
|
+
taskRecord: TaskModel;
|
|
1554
|
+
}) => void) | string;
|
|
1555
|
+
onTaskSegmentResizeStart?: ((event: {
|
|
1556
|
+
source: Gantt;
|
|
1557
|
+
taskRecord: TaskModel;
|
|
1558
|
+
resourceRecord: SchedulerResourceModel;
|
|
1559
|
+
event: MouseEvent;
|
|
1560
|
+
}) => void) | string;
|
|
1561
|
+
onTickSizeChange?: ((event: {
|
|
1562
|
+
source: Scheduler;
|
|
1563
|
+
tickSize: number;
|
|
1564
|
+
}) => void) | string;
|
|
1565
|
+
onTimeAxisChange?: ((event: {
|
|
1566
|
+
source: Scheduler;
|
|
1567
|
+
config: {
|
|
1568
|
+
startDate: Date;
|
|
1569
|
+
endDate: Date;
|
|
1570
|
+
};
|
|
1571
|
+
}) => void) | string;
|
|
1572
|
+
onTimeAxisHeaderClick?: ((event: {
|
|
1573
|
+
source: SchedulerTimeAxisColumn | VerticalTimeAxisColumn;
|
|
1574
|
+
startDate: Date;
|
|
1575
|
+
endDate: Date;
|
|
1576
|
+
event: Event;
|
|
1577
|
+
}) => void) | string;
|
|
1578
|
+
onTimeAxisHeaderContextMenu?: ((event: {
|
|
1579
|
+
source: SchedulerTimeAxisColumn | VerticalTimeAxisColumn;
|
|
1580
|
+
startDate: Date;
|
|
1581
|
+
endDate: Date;
|
|
1582
|
+
event: Event;
|
|
1583
|
+
}) => void) | string;
|
|
1584
|
+
onTimeAxisHeaderDblClick?: ((event: {
|
|
1585
|
+
source: SchedulerTimeAxisColumn | VerticalTimeAxisColumn;
|
|
1586
|
+
startDate: Date;
|
|
1587
|
+
endDate: Date;
|
|
1588
|
+
event: Event;
|
|
1589
|
+
}) => void) | string;
|
|
1590
|
+
onTimeAxisHeaderMenuBeforeShow?: ((event: {
|
|
1591
|
+
source: Scheduler;
|
|
1592
|
+
menu: Menu;
|
|
1593
|
+
items: Record<string, MenuItemEntry>;
|
|
1594
|
+
column: Column;
|
|
1595
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
1596
|
+
onTimeAxisHeaderMenuItem?: ((event: {
|
|
1597
|
+
source: Scheduler;
|
|
1598
|
+
menu: Menu;
|
|
1599
|
+
item: MenuItem;
|
|
1600
|
+
column: Column;
|
|
1601
|
+
}) => void) | string;
|
|
1602
|
+
onTimeAxisHeaderMenuShow?: ((event: {
|
|
1603
|
+
source: Scheduler;
|
|
1604
|
+
menu: Menu;
|
|
1605
|
+
items: Record<string, MenuItemEntry>;
|
|
1606
|
+
column: Column;
|
|
1607
|
+
}) => void) | string;
|
|
1608
|
+
onTimelineContextChange?: ((event: {
|
|
1609
|
+
oldContext: TimelineContext;
|
|
1610
|
+
context: TimelineContext;
|
|
1611
|
+
}) => void) | string;
|
|
1612
|
+
onTimelineViewportResize?: ((event: {
|
|
1613
|
+
source: Widget;
|
|
1614
|
+
width: number;
|
|
1615
|
+
height: number;
|
|
1616
|
+
oldWidth: number;
|
|
1617
|
+
oldHeight: number;
|
|
1618
|
+
}) => void) | string;
|
|
1619
|
+
onTimeRangeHeaderClick?: ((event: {
|
|
1620
|
+
source: Scheduler;
|
|
1621
|
+
timeRangeRecord: TimeSpan;
|
|
1622
|
+
domEvent: MouseEvent;
|
|
1623
|
+
}) => void) | string;
|
|
1624
|
+
onTimeRangeHeaderContextMenu?: ((event: {
|
|
1625
|
+
source: Scheduler;
|
|
1626
|
+
timeRangeRecord: TimeSpan;
|
|
1627
|
+
domEvent: MouseEvent;
|
|
1628
|
+
}) => void) | string;
|
|
1629
|
+
onTimeRangeHeaderDblClick?: ((event: {
|
|
1630
|
+
source: Scheduler;
|
|
1631
|
+
timeRangeRecord: TimeSpan;
|
|
1632
|
+
domEvent: MouseEvent;
|
|
1633
|
+
}) => void) | string;
|
|
1634
|
+
onToggleGroup?: ((event: {
|
|
1635
|
+
groupRecord: Model;
|
|
1636
|
+
groupRecords: Model[];
|
|
1637
|
+
collapse: boolean;
|
|
1638
|
+
allRecords?: boolean;
|
|
1639
|
+
}) => void) | string;
|
|
1640
|
+
onToggleNode?: ((event: {
|
|
1641
|
+
record: Model;
|
|
1642
|
+
collapse: boolean;
|
|
1643
|
+
}) => void) | string;
|
|
1644
|
+
onToolClick?: ((event: {
|
|
1645
|
+
source: Tool;
|
|
1646
|
+
tool: Tool;
|
|
1647
|
+
}) => void) | string;
|
|
1648
|
+
onTransactionChange?: ((event: {
|
|
1649
|
+
hasChanges: boolean;
|
|
1650
|
+
}) => void) | string;
|
|
1651
|
+
onUnlockRows?: ((event: {
|
|
1652
|
+
clone: GridBase;
|
|
1653
|
+
}) => void) | string;
|
|
1654
|
+
onUnsplit?: (() => void) | string;
|
|
1655
|
+
onVisibleDateRangeChange?: ((event: {
|
|
1656
|
+
source: Scheduler;
|
|
1657
|
+
old: {
|
|
1658
|
+
startDate: Date;
|
|
1659
|
+
endDate: Date;
|
|
1660
|
+
};
|
|
1661
|
+
new: {
|
|
1662
|
+
startDate: Date;
|
|
1663
|
+
endDate: Date;
|
|
1664
|
+
};
|
|
1665
|
+
}) => void) | string;
|
|
1666
|
+
aiFilterFeature?: object | boolean | string | AIFilter | AIFilterConfig;
|
|
1667
|
+
baselinesFeature?: object | boolean | string | Baselines | BaselinesConfig;
|
|
1668
|
+
cellCopyPasteFeature?: object | boolean | string | CellCopyPaste | CellCopyPasteConfig;
|
|
1669
|
+
cellEditFeature?: object | boolean | string | CellEdit | CellEditConfig;
|
|
1670
|
+
cellMenuFeature?: object | boolean | string | CellMenu | CellMenuConfig;
|
|
1671
|
+
cellTooltipFeature?: object | boolean | string | CellTooltip | CellTooltipConfig;
|
|
1672
|
+
chartsFeature?: object | boolean | string | Charts | ChartsConfig;
|
|
1673
|
+
columnAutoWidthFeature?: object | boolean | string | ColumnAutoWidth | ColumnAutoWidthConfig;
|
|
1674
|
+
columnDragToolbarFeature?: object | boolean | string | ColumnDragToolbar | ColumnDragToolbarConfig;
|
|
1675
|
+
columnLinesFeature?: object | boolean | string | ColumnLines | ColumnLinesConfig;
|
|
1676
|
+
columnPickerFeature?: object | boolean | string | ColumnPicker | ColumnPickerConfig;
|
|
1677
|
+
columnRenameFeature?: object | boolean | string | ColumnRename | ColumnRenameConfig;
|
|
1678
|
+
columnReorderFeature?: object | boolean | string | ColumnReorder | ColumnReorderConfig;
|
|
1679
|
+
columnResizeFeature?: object | boolean | string | ColumnResize | ColumnResizeConfig;
|
|
1680
|
+
criticalPathsFeature?: object | boolean | string | CriticalPaths | CriticalPathsConfig;
|
|
1681
|
+
dependenciesFeature?: object | boolean | string | Dependencies | DependenciesConfig;
|
|
1682
|
+
dependencyEditFeature?: object | boolean | string | DependencyEdit | DependencyEditConfig;
|
|
1683
|
+
eventFilterFeature?: object | boolean | string | EventFilter | EventFilterConfig;
|
|
1684
|
+
eventSegmentsFeature?: object | boolean | string | EventSegments | EventSegmentsConfig;
|
|
1685
|
+
excelExporterFeature?: object | boolean | string | GridExcelExporter | GridExcelExporterConfig;
|
|
1686
|
+
fileDropFeature?: object | boolean | string | FileDrop | FileDropConfig;
|
|
1687
|
+
fillHandleFeature?: object | boolean | string | FillHandle | FillHandleConfig;
|
|
1688
|
+
filterFeature?: object | boolean | string | Filter | FilterConfig;
|
|
1689
|
+
filterBarFeature?: object | boolean | string | FilterBar | FilterBarConfig;
|
|
1690
|
+
groupFeature?: object | boolean | string | Group | GroupConfig;
|
|
1691
|
+
groupSummaryFeature?: object | boolean | string | GridGroupSummary | GridGroupSummaryConfig;
|
|
1692
|
+
headerMenuFeature?: object | boolean | string | HeaderMenu | HeaderMenuConfig;
|
|
1693
|
+
headerZoomFeature?: object | boolean | string | HeaderZoom | HeaderZoomConfig;
|
|
1694
|
+
indicatorsFeature?: object | boolean | string | Indicators | IndicatorsConfig;
|
|
1695
|
+
labelsFeature?: object | boolean | string | Labels | LabelsConfig;
|
|
1696
|
+
lockRowsFeature?: object | boolean | string | GridLockRows | GridLockRowsConfig;
|
|
1697
|
+
mergeCellsFeature?: object | boolean | string | MergeCells | MergeCellsConfig;
|
|
1698
|
+
mspExportFeature?: object | boolean | string | MspExport | MspExportConfig;
|
|
1699
|
+
nonWorkingTimeFeature?: object | boolean | string | NonWorkingTime | NonWorkingTimeConfig;
|
|
1700
|
+
panFeature?: object | boolean | string | Pan | PanConfig;
|
|
1701
|
+
parentAreaFeature?: object | boolean | string | ParentArea | ParentAreaConfig;
|
|
1702
|
+
pdfExportFeature?: object | boolean | string | PdfExport | PdfExportConfig;
|
|
1703
|
+
percentBarFeature?: object | boolean | string | PercentBar | PercentBarConfig;
|
|
1704
|
+
pinColumnsFeature?: object | boolean | string | PinColumns | PinColumnsConfig;
|
|
1705
|
+
printFeature?: object | boolean | string | Print | PrintConfig;
|
|
1706
|
+
progressLineFeature?: object | boolean | string | ProgressLine | ProgressLineConfig;
|
|
1707
|
+
projectEditFeature?: object | boolean | string | ProjectEdit | ProjectEditConfig;
|
|
1708
|
+
projectLinesFeature?: object | boolean | string | ProjectLines | ProjectLinesConfig;
|
|
1709
|
+
quickFindFeature?: object | boolean | string | QuickFind | QuickFindConfig;
|
|
1710
|
+
regionResizeFeature?: object | boolean | string | RegionResize | RegionResizeConfig;
|
|
1711
|
+
rollupsFeature?: object | boolean | string | Rollups | RollupsConfig;
|
|
1712
|
+
rowCopyPasteFeature?: object | boolean | string | RowCopyPaste | RowCopyPasteConfig;
|
|
1713
|
+
rowEditFeature?: object | boolean | string | RowEdit | RowEditConfig;
|
|
1714
|
+
rowExpanderFeature?: object | boolean | string | RowExpander | RowExpanderConfig;
|
|
1715
|
+
rowReorderFeature?: object | boolean | string | RowReorder | RowReorderConfig;
|
|
1716
|
+
rowResizeFeature?: object | boolean | string | GridRowResize | GridRowResizeConfig;
|
|
1717
|
+
scheduleMenuFeature?: object | boolean | string | ScheduleMenu | ScheduleMenuConfig;
|
|
1718
|
+
scheduleTooltipFeature?: object | boolean | string | ScheduleTooltip | ScheduleTooltipConfig;
|
|
1719
|
+
scrollButtonsFeature?: object | boolean | string | ScrollButtons | ScrollButtonsConfig;
|
|
1720
|
+
searchFeature?: object | boolean | string | Search | SearchConfig;
|
|
1721
|
+
sortFeature?: object | boolean | string | Sort | SortConfig;
|
|
1722
|
+
splitFeature?: object | boolean | string | GridSplit | GridSplitConfig;
|
|
1723
|
+
stickyCellsFeature?: object | boolean | string | StickyCells | StickyCellsConfig;
|
|
1724
|
+
stripeFeature?: object | boolean | string | Stripe | StripeConfig;
|
|
1725
|
+
summaryFeature?: object | boolean | string | Summary | SummaryConfig;
|
|
1726
|
+
taskCopyPasteFeature?: object | boolean | string | TaskCopyPaste | TaskCopyPasteConfig;
|
|
1727
|
+
taskDragFeature?: object | boolean | string | TaskDrag | TaskDragConfig;
|
|
1728
|
+
taskDragCreateFeature?: object | boolean | string | TaskDragCreate | TaskDragCreateConfig;
|
|
1729
|
+
taskEditFeature?: object | boolean | string | TaskEdit | TaskEditConfig;
|
|
1730
|
+
taskMenuFeature?: object | boolean | string | TaskMenu | TaskMenuConfig;
|
|
1731
|
+
taskNonWorkingTimeFeature?: object | boolean | string | TaskNonWorkingTime | TaskNonWorkingTimeConfig;
|
|
1732
|
+
taskResizeFeature?: object | boolean | string | TaskResize | TaskResizeConfig;
|
|
1733
|
+
taskSegmentDragFeature?: object | boolean | string | TaskSegmentDrag | TaskSegmentDragConfig;
|
|
1734
|
+
taskSegmentResizeFeature?: object | boolean | string | TaskSegmentResize | TaskSegmentResizeConfig;
|
|
1735
|
+
taskTooltipFeature?: object | boolean | string | TaskTooltip | TaskTooltipConfig;
|
|
1736
|
+
timeAxisHeaderMenuFeature?: object | boolean | string | TimeAxisHeaderMenu | TimeAxisHeaderMenuConfig;
|
|
1737
|
+
timelineChartFeature?: object | boolean | string | TimelineChart | TimelineChartConfig;
|
|
1738
|
+
timeRangesFeature?: object | boolean | string | TimeRanges | TimeRangesConfig;
|
|
1739
|
+
timeSpanHighlightFeature?: object | boolean | string | TimeSpanHighlight | TimeSpanHighlightConfig;
|
|
1740
|
+
treeFeature?: object | boolean | string | Tree | TreeConfig;
|
|
1741
|
+
treeGroupFeature?: object | boolean | string | TreeGroup | TreeGroupConfig;
|
|
1742
|
+
versionsFeature?: object | boolean | string | Versions | VersionsConfig;
|
|
1743
|
+
};
|
|
1744
|
+
export declare class BryntumGanttBase extends React.Component<BryntumGanttBaseProps> {
|
|
1745
|
+
static instanceClass: typeof GanttBase;
|
|
1746
|
+
static instanceName: string;
|
|
1747
|
+
processWidgetContent: typeof processWidgetContent;
|
|
1748
|
+
static isView: boolean;
|
|
1749
|
+
portalsCache?: HTMLElement;
|
|
1750
|
+
portalContainerClass: string;
|
|
1751
|
+
state: {
|
|
1752
|
+
portals: Map<any, any>;
|
|
1753
|
+
generation: number;
|
|
1754
|
+
};
|
|
1755
|
+
static featureNames: string[];
|
|
1756
|
+
projectStores: boolean;
|
|
1757
|
+
dataStores: {
|
|
1758
|
+
assignmentStore: string;
|
|
1759
|
+
calendarManagerStore: string;
|
|
1760
|
+
dependencyStore: string;
|
|
1761
|
+
eventStore: string;
|
|
1762
|
+
resourceStore: string;
|
|
1763
|
+
taskStore: string;
|
|
1764
|
+
timeRangeStore: string;
|
|
1765
|
+
};
|
|
1766
|
+
static configNames: string[];
|
|
1767
|
+
static propertyConfigNames: string[];
|
|
1768
|
+
static propertyNames: string[];
|
|
1769
|
+
instance: GanttBase;
|
|
1770
|
+
element: HTMLElement;
|
|
1771
|
+
componentDidMount(): void;
|
|
1772
|
+
componentWillUnmount(): void;
|
|
1773
|
+
shouldComponentUpdate(nextProps: Readonly<BryntumGanttBaseProps>, nextState: Readonly<{}>): boolean;
|
|
1774
|
+
render(): React.ReactNode;
|
|
1775
|
+
}
|