@bryntum/scheduler-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/BryntumEventColorField.d.ts +232 -0
- package/lib/BryntumEventColorField.js +169 -0
- package/lib/BryntumEventColorField.js.map +1 -0
- package/lib/BryntumProjectCombo.d.ts +268 -0
- package/lib/BryntumProjectCombo.js +203 -0
- package/lib/BryntumProjectCombo.js.map +1 -0
- package/lib/BryntumResourceCombo.d.ts +268 -0
- package/lib/BryntumResourceCombo.js +203 -0
- package/lib/BryntumResourceCombo.js.map +1 -0
- package/lib/BryntumResourceFilter.d.ts +215 -0
- package/lib/BryntumResourceFilter.js +154 -0
- package/lib/BryntumResourceFilter.js.map +1 -0
- package/lib/BryntumScheduler.d.ts +2039 -0
- package/lib/BryntumScheduler.js +642 -0
- package/lib/BryntumScheduler.js.map +1 -0
- package/lib/BryntumSchedulerBase.d.ts +2038 -0
- package/lib/BryntumSchedulerBase.js +641 -0
- package/lib/BryntumSchedulerBase.js.map +1 -0
- package/lib/BryntumSchedulerDatePicker.d.ts +314 -0
- package/lib/BryntumSchedulerDatePicker.js +216 -0
- package/lib/BryntumSchedulerDatePicker.js.map +1 -0
- package/lib/BryntumSchedulerProjectModel.d.ts +91 -0
- package/lib/BryntumSchedulerProjectModel.js +98 -0
- package/lib/BryntumSchedulerProjectModel.js.map +1 -0
- package/lib/BryntumTimelineHistogram.d.ts +1185 -0
- package/lib/BryntumTimelineHistogram.js +448 -0
- package/lib/BryntumTimelineHistogram.js.map +1 -0
- package/lib/BryntumUndoRedo.d.ts +190 -0
- package/lib/BryntumUndoRedo.js +152 -0
- package/lib/BryntumUndoRedo.js.map +1 -0
- package/lib/BryntumViewPresetCombo.d.ts +216 -0
- package/lib/BryntumViewPresetCombo.js +158 -0
- package/lib/BryntumViewPresetCombo.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 +11 -0
- package/lib/index.js +12 -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/BryntumEventColorField.tsx +996 -0
- package/src/BryntumProjectCombo.tsx +1233 -0
- package/src/BryntumResourceCombo.tsx +1236 -0
- package/src/BryntumResourceFilter.tsx +931 -0
- package/src/BryntumScheduler.tsx +5184 -0
- package/src/BryntumSchedulerBase.tsx +5182 -0
- package/src/BryntumSchedulerDatePicker.tsx +1365 -0
- package/src/BryntumSchedulerProjectModel.tsx +424 -0
- package/src/BryntumTimelineHistogram.tsx +3427 -0
- package/src/BryntumUndoRedo.tsx +886 -0
- package/src/BryntumViewPresetCombo.tsx +915 -0
- package/src/WrapperHelper.tsx +1125 -0
- package/src/index.ts +15 -0
|
@@ -0,0 +1,448 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TimelineHistogram } from '@bryntum/scheduler-thin';
|
|
3
|
+
import { createWidget, shouldComponentUpdate, processWidgetContent } from './WrapperHelper.js';
|
|
4
|
+
export class BryntumTimelineHistogram extends React.Component {
|
|
5
|
+
constructor() {
|
|
6
|
+
super(...arguments);
|
|
7
|
+
this.processWidgetContent = processWidgetContent;
|
|
8
|
+
this.portalContainerClass = 'b-react-portal-container';
|
|
9
|
+
this.state = {
|
|
10
|
+
portals: new Map(),
|
|
11
|
+
generation: 0
|
|
12
|
+
};
|
|
13
|
+
this.projectStores = false;
|
|
14
|
+
this.dataStores = {
|
|
15
|
+
'originalStore': 'originals'
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
componentDidMount() {
|
|
19
|
+
this.instance = createWidget(this);
|
|
20
|
+
}
|
|
21
|
+
componentWillUnmount() {
|
|
22
|
+
var _a, _b;
|
|
23
|
+
(_b = (_a = this.instance) === null || _a === void 0 ? void 0 : _a.destroy) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
24
|
+
}
|
|
25
|
+
shouldComponentUpdate(nextProps, nextState) {
|
|
26
|
+
return shouldComponentUpdate(this, nextProps, nextState);
|
|
27
|
+
}
|
|
28
|
+
render() {
|
|
29
|
+
const className = `b-react-timeline-histogram-container`;
|
|
30
|
+
return (React.createElement(React.Fragment, null,
|
|
31
|
+
React.createElement("div", { className: className, ref: (element) => (this.element = element) }, Array.from(this.state.portals).map((item) => item[1])),
|
|
32
|
+
React.createElement("div", { ref: el => (this.portalsCache = el), className: "b-react-portals-cache", style: { display: 'none' } })));
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
BryntumTimelineHistogram.instanceClass = TimelineHistogram;
|
|
36
|
+
BryntumTimelineHistogram.instanceName = 'TimelineHistogram';
|
|
37
|
+
BryntumTimelineHistogram.isView = true;
|
|
38
|
+
BryntumTimelineHistogram.featureNames = [
|
|
39
|
+
'aiFilterFeature',
|
|
40
|
+
'cellCopyPasteFeature',
|
|
41
|
+
'cellEditFeature',
|
|
42
|
+
'cellMenuFeature',
|
|
43
|
+
'cellTooltipFeature',
|
|
44
|
+
'chartsFeature',
|
|
45
|
+
'columnAutoWidthFeature',
|
|
46
|
+
'columnDragToolbarFeature',
|
|
47
|
+
'columnLinesFeature',
|
|
48
|
+
'columnPickerFeature',
|
|
49
|
+
'columnRenameFeature',
|
|
50
|
+
'columnReorderFeature',
|
|
51
|
+
'columnResizeFeature',
|
|
52
|
+
'excelExporterFeature',
|
|
53
|
+
'fileDropFeature',
|
|
54
|
+
'fillHandleFeature',
|
|
55
|
+
'filterFeature',
|
|
56
|
+
'filterBarFeature',
|
|
57
|
+
'groupFeature',
|
|
58
|
+
'groupSummaryFeature',
|
|
59
|
+
'headerMenuFeature',
|
|
60
|
+
'headerZoomFeature',
|
|
61
|
+
'lockRowsFeature',
|
|
62
|
+
'mergeCellsFeature',
|
|
63
|
+
'nonWorkingTimeFeature',
|
|
64
|
+
'panFeature',
|
|
65
|
+
'pdfExportFeature',
|
|
66
|
+
'pinColumnsFeature',
|
|
67
|
+
'printFeature',
|
|
68
|
+
'quickFindFeature',
|
|
69
|
+
'regionResizeFeature',
|
|
70
|
+
'resourceMenuFeature',
|
|
71
|
+
'resourceTimeRangesFeature',
|
|
72
|
+
'rowCopyPasteFeature',
|
|
73
|
+
'rowEditFeature',
|
|
74
|
+
'rowExpanderFeature',
|
|
75
|
+
'rowReorderFeature',
|
|
76
|
+
'rowResizeFeature',
|
|
77
|
+
'scheduleTooltipFeature',
|
|
78
|
+
'searchFeature',
|
|
79
|
+
'sortFeature',
|
|
80
|
+
'splitFeature',
|
|
81
|
+
'stickyCellsFeature',
|
|
82
|
+
'stripeFeature',
|
|
83
|
+
'summaryFeature',
|
|
84
|
+
'timeAxisHeaderMenuFeature',
|
|
85
|
+
'timeRangesFeature',
|
|
86
|
+
'treeFeature',
|
|
87
|
+
'treeGroupFeature'
|
|
88
|
+
];
|
|
89
|
+
BryntumTimelineHistogram.configNames = [
|
|
90
|
+
'adopt',
|
|
91
|
+
'aggregateDataEntry',
|
|
92
|
+
'aggregateHistogramDataForGroups',
|
|
93
|
+
'animateFilterRemovals',
|
|
94
|
+
'animateRemovingRows',
|
|
95
|
+
'ariaDescription',
|
|
96
|
+
'ariaLabel',
|
|
97
|
+
'autoAdjustTimeAxis',
|
|
98
|
+
'autoHeight',
|
|
99
|
+
'barTooltipTemplate',
|
|
100
|
+
'bbar',
|
|
101
|
+
'bodyCls',
|
|
102
|
+
'bubbleEvents',
|
|
103
|
+
'bufferCoef',
|
|
104
|
+
'bufferThreshold',
|
|
105
|
+
'collapsible',
|
|
106
|
+
'color',
|
|
107
|
+
'config',
|
|
108
|
+
'contentElementCls',
|
|
109
|
+
'contextMenuTriggerEvent',
|
|
110
|
+
'dataField',
|
|
111
|
+
'dataModelField',
|
|
112
|
+
'defaultRegion',
|
|
113
|
+
'destroyStore',
|
|
114
|
+
'detectCSSCompatibilityIssues',
|
|
115
|
+
'disableGridColumnIdWarning',
|
|
116
|
+
'disableGridRowModelWarning',
|
|
117
|
+
'dock',
|
|
118
|
+
'drawer',
|
|
119
|
+
'durationDisplayPrecision',
|
|
120
|
+
'elementAttributes',
|
|
121
|
+
'enableRecurringEvents',
|
|
122
|
+
'enableSticky',
|
|
123
|
+
'enableTextSelection',
|
|
124
|
+
'fillLastColumn',
|
|
125
|
+
'fixedRowHeight',
|
|
126
|
+
'footer',
|
|
127
|
+
'formulaProviders',
|
|
128
|
+
'fullRowRefresh',
|
|
129
|
+
'getBarClass',
|
|
130
|
+
'getBarDOMConfig',
|
|
131
|
+
'getBarText',
|
|
132
|
+
'getBarTextDOMConfig',
|
|
133
|
+
'getDataEntryForAggregating',
|
|
134
|
+
'getOutlineClass',
|
|
135
|
+
'getOutlineDOMConfig',
|
|
136
|
+
'getRecordData',
|
|
137
|
+
'getRowHeight',
|
|
138
|
+
'hardRefreshOnTimeAxisReconfigure',
|
|
139
|
+
'header',
|
|
140
|
+
'hideHorizontalScrollbar',
|
|
141
|
+
'histogramWidgetClass',
|
|
142
|
+
'hoverCls',
|
|
143
|
+
'icon',
|
|
144
|
+
'ignoreDomEventsWhileScrolling',
|
|
145
|
+
'ignoreParentReadOnly',
|
|
146
|
+
'initAggregatedDataEntry',
|
|
147
|
+
'listeners',
|
|
148
|
+
'loadMask',
|
|
149
|
+
'loadMaskDefaults',
|
|
150
|
+
'loadMaskError',
|
|
151
|
+
'localizable',
|
|
152
|
+
'managedEventSizing',
|
|
153
|
+
'maskDefaults',
|
|
154
|
+
'masked',
|
|
155
|
+
'maxDate',
|
|
156
|
+
'maxTimeAxisUnit',
|
|
157
|
+
'minDate',
|
|
158
|
+
'monitorResize',
|
|
159
|
+
'owner',
|
|
160
|
+
'partner',
|
|
161
|
+
'plugins',
|
|
162
|
+
'preserveFocusOnDatasetChange',
|
|
163
|
+
'preserveScrollOnDatasetChange',
|
|
164
|
+
'preventTooltipOnTouch',
|
|
165
|
+
'relayStoreEvents',
|
|
166
|
+
'resizable',
|
|
167
|
+
'resizeToFitIncludesHeader',
|
|
168
|
+
'resourceTimeRangeRenderer',
|
|
169
|
+
'responsiveLevels',
|
|
170
|
+
'ripple',
|
|
171
|
+
'rootElement',
|
|
172
|
+
'scaleColumn',
|
|
173
|
+
'scrollerClass',
|
|
174
|
+
'scrollManager',
|
|
175
|
+
'series',
|
|
176
|
+
'showBarTipWhenNavigatingTimeAxis',
|
|
177
|
+
'showDirty',
|
|
178
|
+
'snapRelativeToEventStartDate',
|
|
179
|
+
'stateful',
|
|
180
|
+
'statefulEvents',
|
|
181
|
+
'stateId',
|
|
182
|
+
'stateProvider',
|
|
183
|
+
'stickyHeaders',
|
|
184
|
+
'strips',
|
|
185
|
+
'subGridConfigs',
|
|
186
|
+
'syncMask',
|
|
187
|
+
'tab',
|
|
188
|
+
'tabBarItems',
|
|
189
|
+
'tbar',
|
|
190
|
+
'timeAxis',
|
|
191
|
+
'type',
|
|
192
|
+
'ui',
|
|
193
|
+
'visibleZoomFactor',
|
|
194
|
+
'weekStartDay',
|
|
195
|
+
'weight',
|
|
196
|
+
'zoomKeepsOriginalTimespan',
|
|
197
|
+
'zoomOnMouseWheel',
|
|
198
|
+
'zoomOnTimeAxisDoubleClick'
|
|
199
|
+
];
|
|
200
|
+
BryntumTimelineHistogram.propertyConfigNames = [
|
|
201
|
+
'alignSelf',
|
|
202
|
+
'animateTreeNodeToggle',
|
|
203
|
+
'appendTo',
|
|
204
|
+
'barMargin',
|
|
205
|
+
'callOnFunctions',
|
|
206
|
+
'catchEventHandlerExceptions',
|
|
207
|
+
'cellEllipsis',
|
|
208
|
+
'cls',
|
|
209
|
+
'collapsed',
|
|
210
|
+
'column',
|
|
211
|
+
'columnLines',
|
|
212
|
+
'columns',
|
|
213
|
+
'data',
|
|
214
|
+
'dataset',
|
|
215
|
+
'disabled',
|
|
216
|
+
'displayDateFormat',
|
|
217
|
+
'emptyText',
|
|
218
|
+
'enableEventAnimations',
|
|
219
|
+
'enableUndoRedoKeys',
|
|
220
|
+
'endDate',
|
|
221
|
+
'eventColor',
|
|
222
|
+
'eventStyle',
|
|
223
|
+
'extraData',
|
|
224
|
+
'fillTicks',
|
|
225
|
+
'flex',
|
|
226
|
+
'forceFit',
|
|
227
|
+
'height',
|
|
228
|
+
'hidden',
|
|
229
|
+
'hideFooters',
|
|
230
|
+
'hideHeaders',
|
|
231
|
+
'hideRowHover',
|
|
232
|
+
'histogramWidget',
|
|
233
|
+
'id',
|
|
234
|
+
'infiniteScroll',
|
|
235
|
+
'inputFieldAlign',
|
|
236
|
+
'insertBefore',
|
|
237
|
+
'insertFirst',
|
|
238
|
+
'keyMap',
|
|
239
|
+
'labelPosition',
|
|
240
|
+
'longPressTime',
|
|
241
|
+
'margin',
|
|
242
|
+
'maxHeight',
|
|
243
|
+
'maxWidth',
|
|
244
|
+
'maxZoomLevel',
|
|
245
|
+
'minHeight',
|
|
246
|
+
'minWidth',
|
|
247
|
+
'minZoomLevel',
|
|
248
|
+
'onBeforeAssignmentDelete',
|
|
249
|
+
'onBeforeCancelCellEdit',
|
|
250
|
+
'onBeforeCancelRowEdit',
|
|
251
|
+
'onBeforeCellEditStart',
|
|
252
|
+
'onBeforeCellRangeDelete',
|
|
253
|
+
'onBeforeCellRangeEdit',
|
|
254
|
+
'onBeforeColumnDragStart',
|
|
255
|
+
'onBeforeColumnDropFinalize',
|
|
256
|
+
'onBeforeColumnResize',
|
|
257
|
+
'onBeforeCopy',
|
|
258
|
+
'onBeforeCSVExport',
|
|
259
|
+
'onBeforeDestroy',
|
|
260
|
+
'onBeforeEventDelete',
|
|
261
|
+
'onBeforeExcelExport',
|
|
262
|
+
'onBeforeFillHandleDragStart',
|
|
263
|
+
'onBeforeFinishCellEdit',
|
|
264
|
+
'onBeforeFinishRowEdit',
|
|
265
|
+
'onBeforeHide',
|
|
266
|
+
'onBeforeHistogramDataCacheSet',
|
|
267
|
+
'onBeforePan',
|
|
268
|
+
'onBeforePaste',
|
|
269
|
+
'onBeforePdfExport',
|
|
270
|
+
'onBeforePresetChange',
|
|
271
|
+
'onBeforeRenderHistogramRow',
|
|
272
|
+
'onBeforeRenderRecordHistogram',
|
|
273
|
+
'onBeforeRenderRow',
|
|
274
|
+
'onBeforeRenderRows',
|
|
275
|
+
'onBeforeRowCollapse',
|
|
276
|
+
'onBeforeRowExpand',
|
|
277
|
+
'onBeforeSelectionChange',
|
|
278
|
+
'onBeforeSetRecord',
|
|
279
|
+
'onBeforeShow',
|
|
280
|
+
'onBeforeStartRowEdit',
|
|
281
|
+
'onBeforeStateApply',
|
|
282
|
+
'onBeforeStateSave',
|
|
283
|
+
'onBeforeToggleGroup',
|
|
284
|
+
'onBeforeToggleNode',
|
|
285
|
+
'onCancelCellEdit',
|
|
286
|
+
'onCatchAll',
|
|
287
|
+
'onCellClick',
|
|
288
|
+
'onCellContextMenu',
|
|
289
|
+
'onCellDblClick',
|
|
290
|
+
'onCellMenuBeforeShow',
|
|
291
|
+
'onCellMenuItem',
|
|
292
|
+
'onCellMenuShow',
|
|
293
|
+
'onCellMenuToggleItem',
|
|
294
|
+
'onCellMouseEnter',
|
|
295
|
+
'onCellMouseLeave',
|
|
296
|
+
'onCellMouseOut',
|
|
297
|
+
'onCellMouseOver',
|
|
298
|
+
'onCollapse',
|
|
299
|
+
'onCollapseNode',
|
|
300
|
+
'onColumnDrag',
|
|
301
|
+
'onColumnDragStart',
|
|
302
|
+
'onColumnDrop',
|
|
303
|
+
'onColumnResize',
|
|
304
|
+
'onColumnResizeStart',
|
|
305
|
+
'onContextMenuItem',
|
|
306
|
+
'onContextMenuToggleItem',
|
|
307
|
+
'onCopy',
|
|
308
|
+
'onCurrentTimelineUpdate',
|
|
309
|
+
'onDataChange',
|
|
310
|
+
'onDateRangeChange',
|
|
311
|
+
'onDestroy',
|
|
312
|
+
'onDirtyStateChange',
|
|
313
|
+
'onDragSelecting',
|
|
314
|
+
'onElementCreated',
|
|
315
|
+
'onExpand',
|
|
316
|
+
'onExpandNode',
|
|
317
|
+
'onFileDrop',
|
|
318
|
+
'onFillHandleBeforeDragFinalize',
|
|
319
|
+
'onFillHandleDrag',
|
|
320
|
+
'onFillHandleDragAbort',
|
|
321
|
+
'onFillHandleDragEnd',
|
|
322
|
+
'onFillHandleDragStart',
|
|
323
|
+
'onFinishCellEdit',
|
|
324
|
+
'onFinishRowEdit',
|
|
325
|
+
'onFocusIn',
|
|
326
|
+
'onFocusOut',
|
|
327
|
+
'onGridRowBeforeDragStart',
|
|
328
|
+
'onGridRowBeforeDropFinalize',
|
|
329
|
+
'onGridRowDrag',
|
|
330
|
+
'onGridRowDragAbort',
|
|
331
|
+
'onGridRowDragStart',
|
|
332
|
+
'onGridRowDrop',
|
|
333
|
+
'onHeaderClick',
|
|
334
|
+
'onHeaderMenuBeforeShow',
|
|
335
|
+
'onHeaderMenuItem',
|
|
336
|
+
'onHeaderMenuShow',
|
|
337
|
+
'onHeaderMenuToggleItem',
|
|
338
|
+
'onHide',
|
|
339
|
+
'onHistogramDataCacheSet',
|
|
340
|
+
'onLockRows',
|
|
341
|
+
'onMouseOut',
|
|
342
|
+
'onMouseOver',
|
|
343
|
+
'onNoZoomChange',
|
|
344
|
+
'onPaint',
|
|
345
|
+
'onPaste',
|
|
346
|
+
'onPdfExport',
|
|
347
|
+
'onPresetChange',
|
|
348
|
+
'onReadOnly',
|
|
349
|
+
'onRecompose',
|
|
350
|
+
'onRenderRow',
|
|
351
|
+
'onRenderRows',
|
|
352
|
+
'onResize',
|
|
353
|
+
'onResourceMenuBeforeShow',
|
|
354
|
+
'onResourceMenuItem',
|
|
355
|
+
'onResourceMenuShow',
|
|
356
|
+
'onResourceMenuToggleItem',
|
|
357
|
+
'onResourceTimeRangeClick',
|
|
358
|
+
'onResourceTimeRangeContextMenu',
|
|
359
|
+
'onResourceTimeRangeDblClick',
|
|
360
|
+
'onResourceTimeRangeMouseDown',
|
|
361
|
+
'onResourceTimeRangeMouseOut',
|
|
362
|
+
'onResourceTimeRangeMouseOver',
|
|
363
|
+
'onResourceTimeRangeMouseUp',
|
|
364
|
+
'onResponsive',
|
|
365
|
+
'onRowCollapse',
|
|
366
|
+
'onRowExpand',
|
|
367
|
+
'onRowMouseEnter',
|
|
368
|
+
'onRowMouseLeave',
|
|
369
|
+
'onScroll',
|
|
370
|
+
'onSelectionChange',
|
|
371
|
+
'onSelectionModeChange',
|
|
372
|
+
'onShow',
|
|
373
|
+
'onSplit',
|
|
374
|
+
'onSplitterCollapseClick',
|
|
375
|
+
'onSplitterDragEnd',
|
|
376
|
+
'onSplitterDragStart',
|
|
377
|
+
'onSplitterExpandClick',
|
|
378
|
+
'onStartCellEdit',
|
|
379
|
+
'onStartRowEdit',
|
|
380
|
+
'onSubGridCollapse',
|
|
381
|
+
'onSubGridExpand',
|
|
382
|
+
'onTickSizeChange',
|
|
383
|
+
'onTimeAxisChange',
|
|
384
|
+
'onTimeAxisHeaderClick',
|
|
385
|
+
'onTimeAxisHeaderContextMenu',
|
|
386
|
+
'onTimeAxisHeaderDblClick',
|
|
387
|
+
'onTimeAxisHeaderMenuBeforeShow',
|
|
388
|
+
'onTimeAxisHeaderMenuItem',
|
|
389
|
+
'onTimeAxisHeaderMenuShow',
|
|
390
|
+
'onTimelineContextChange',
|
|
391
|
+
'onTimelineViewportResize',
|
|
392
|
+
'onTimeRangeHeaderClick',
|
|
393
|
+
'onTimeRangeHeaderContextMenu',
|
|
394
|
+
'onTimeRangeHeaderDblClick',
|
|
395
|
+
'onToggleGroup',
|
|
396
|
+
'onToggleNode',
|
|
397
|
+
'onToolClick',
|
|
398
|
+
'onUnlockRows',
|
|
399
|
+
'onUnsplit',
|
|
400
|
+
'onVisibleDateRangeChange',
|
|
401
|
+
'preserveScroll',
|
|
402
|
+
'presets',
|
|
403
|
+
'readOnly',
|
|
404
|
+
'recurrenceConfirmationPopup',
|
|
405
|
+
'rendition',
|
|
406
|
+
'rowHeight',
|
|
407
|
+
'rowLines',
|
|
408
|
+
'rtl',
|
|
409
|
+
'scalePoints',
|
|
410
|
+
'scrollable',
|
|
411
|
+
'selectionMode',
|
|
412
|
+
'showBarTip',
|
|
413
|
+
'snap',
|
|
414
|
+
'span',
|
|
415
|
+
'startDate',
|
|
416
|
+
'stateSettings',
|
|
417
|
+
'store',
|
|
418
|
+
'suppressFit',
|
|
419
|
+
'tickSize',
|
|
420
|
+
'timeResolution',
|
|
421
|
+
'timeZone',
|
|
422
|
+
'title',
|
|
423
|
+
'tools',
|
|
424
|
+
'transition',
|
|
425
|
+
'transitionDuration',
|
|
426
|
+
'viewPreset',
|
|
427
|
+
'visibleDate',
|
|
428
|
+
'width',
|
|
429
|
+
'workingTime'
|
|
430
|
+
];
|
|
431
|
+
BryntumTimelineHistogram.propertyNames = [
|
|
432
|
+
'focusVisible',
|
|
433
|
+
'hasChanges',
|
|
434
|
+
'originalStore',
|
|
435
|
+
'parent',
|
|
436
|
+
'scrollLeft',
|
|
437
|
+
'scrollTop',
|
|
438
|
+
'scrollX',
|
|
439
|
+
'selectedCell',
|
|
440
|
+
'selectedCells',
|
|
441
|
+
'selectedRecord',
|
|
442
|
+
'selectedRecords',
|
|
443
|
+
'selectedRows',
|
|
444
|
+
'state',
|
|
445
|
+
'tooltip',
|
|
446
|
+
'zoomLevel'
|
|
447
|
+
];
|
|
448
|
+
//# sourceMappingURL=BryntumTimelineHistogram.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BryntumTimelineHistogram.js","sourceRoot":"","sources":["../src/BryntumTimelineHistogram.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAGzC,OAAO,EAA0wB,iBAAiB,EAAoH,MAAM,yBAAyB,CAAC;AAEt7B,OAAO,EAAE,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAq3F/F,MAAM,OAAO,wBAAyB,SAAQ,KAAK,CAAC,SAAwC;IAA5F;;QAMI,yBAAoB,GAAG,oBAAoB,CAAC;QAS5C,yBAAoB,GAAG,0BAA0B,CAAC;QAElD,UAAK,GAAG;YAEJ,OAA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BAAgB;IAChB,UAAU;IACV,OAAO;IACP,OAAO;IACP,YAAY;IACZ,oBAAoB;IACpB,YAAY;IACZ,aAAa;IACb,OAAO;IACP,aAAa;CAChB,CAAC;AAEK,sCAAa,GAAG;IACnB,cAAc;IACd,YAAY;IACZ,eAAe;IACf,QAAQ;IACR,YAAY;IACZ,WAAW;IACX,SAAS;IACT,cAAc;IACd,eAAe;IACf,gBAAgB;IAChB,iBAAiB;IACjB,cAAc;IACd,OAAO;IACP,SAAS;IACT,WAAW;CACd,CAAC"}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import React, { RefObject } from 'react';
|
|
2
|
+
import { AlignSpec, Base, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';
|
|
3
|
+
import { SchedulerContainerItemConfig, SchedulerContainerLayoutConfig, ProjectModel, ProjectModelConfig, UndoRedo, UndoRedoListeners } from '@bryntum/scheduler-thin';
|
|
4
|
+
import { processWidgetContent } from './WrapperHelper.js';
|
|
5
|
+
export declare type BryntumUndoRedoProps = {
|
|
6
|
+
adopt?: HTMLElement | string;
|
|
7
|
+
align?: AlignSpec | string;
|
|
8
|
+
alignSelf?: string;
|
|
9
|
+
anchor?: boolean;
|
|
10
|
+
appendTo?: HTMLElement | string;
|
|
11
|
+
ariaDescription?: string;
|
|
12
|
+
ariaLabel?: string;
|
|
13
|
+
autoUpdateRecord?: boolean;
|
|
14
|
+
bubbleEvents?: object;
|
|
15
|
+
callOnFunctions?: boolean;
|
|
16
|
+
catchEventHandlerExceptions?: boolean;
|
|
17
|
+
centered?: boolean;
|
|
18
|
+
cls?: string | object;
|
|
19
|
+
color?: string;
|
|
20
|
+
column?: number;
|
|
21
|
+
config?: object;
|
|
22
|
+
constrainTo?: HTMLElement | Widget | Rectangle;
|
|
23
|
+
content?: string;
|
|
24
|
+
contentElementCls?: string | object;
|
|
25
|
+
dataField?: string;
|
|
26
|
+
dataset?: Record<string, string>;
|
|
27
|
+
defaultBindProperty?: string;
|
|
28
|
+
defaultFocus?: ((widget: Widget) => boolean) | string;
|
|
29
|
+
defaults?: SchedulerContainerItemConfig;
|
|
30
|
+
detectCSSCompatibilityIssues?: boolean;
|
|
31
|
+
disabled?: boolean | 'inert';
|
|
32
|
+
dock?: 'top' | 'bottom' | 'left' | 'right' | 'start' | 'end' | 'header' | 'pre-header' | object;
|
|
33
|
+
draggable?: boolean | {
|
|
34
|
+
handleSelector?: string;
|
|
35
|
+
};
|
|
36
|
+
elementAttributes?: Record<string, string | null>;
|
|
37
|
+
extraData?: any;
|
|
38
|
+
flex?: number | string;
|
|
39
|
+
floating?: boolean;
|
|
40
|
+
height?: string | number;
|
|
41
|
+
hidden?: boolean;
|
|
42
|
+
hideAnimation?: boolean | object;
|
|
43
|
+
hideWhenEmpty?: boolean;
|
|
44
|
+
html?: string | ((widget: Widget) => string) | DomConfig | DomConfig[] | VueConfig;
|
|
45
|
+
htmlCls?: string | object;
|
|
46
|
+
id?: string;
|
|
47
|
+
ignoreParentReadOnly?: boolean;
|
|
48
|
+
inputFieldAlign?: 'start' | 'end';
|
|
49
|
+
insertBefore?: HTMLElement | string;
|
|
50
|
+
insertFirst?: HTMLElement | string;
|
|
51
|
+
itemCls?: string;
|
|
52
|
+
items?: Record<string, SchedulerContainerItemConfig | MenuItemEntry> | (SchedulerContainerItemConfig | MenuItemEntry | Widget)[];
|
|
53
|
+
keyMap?: Record<string, KeyMapConfig>;
|
|
54
|
+
labelPosition?: 'before' | 'above' | 'align-before' | 'auto' | null;
|
|
55
|
+
layout?: string | SchedulerContainerLayoutConfig;
|
|
56
|
+
layoutStyle?: object;
|
|
57
|
+
lazyItems?: Record<string, SchedulerContainerItemConfig> | SchedulerContainerItemConfig[] | Widget[];
|
|
58
|
+
listeners?: UndoRedoListeners;
|
|
59
|
+
localeClass?: typeof Base;
|
|
60
|
+
localizable?: boolean;
|
|
61
|
+
localizableProperties?: string[];
|
|
62
|
+
margin?: number | string;
|
|
63
|
+
maskDefaults?: MaskConfig;
|
|
64
|
+
masked?: boolean | string | MaskConfig;
|
|
65
|
+
maxHeight?: string | number;
|
|
66
|
+
maximizeOnMobile?: number | string;
|
|
67
|
+
maxWidth?: string | number;
|
|
68
|
+
minHeight?: string | number;
|
|
69
|
+
minWidth?: string | number;
|
|
70
|
+
monitorResize?: boolean | {
|
|
71
|
+
immediate?: boolean;
|
|
72
|
+
};
|
|
73
|
+
namedItems?: Record<string, SchedulerContainerItemConfig>;
|
|
74
|
+
owner?: Widget | any;
|
|
75
|
+
positioned?: boolean;
|
|
76
|
+
preventTooltipOnTouch?: boolean;
|
|
77
|
+
project?: ProjectModel | ProjectModelConfig | RefObject<any>;
|
|
78
|
+
readOnly?: boolean;
|
|
79
|
+
record?: Model;
|
|
80
|
+
relayStoreEvents?: boolean;
|
|
81
|
+
rendition?: string | Record<string, string> | null;
|
|
82
|
+
ripple?: boolean | {
|
|
83
|
+
delegate?: string;
|
|
84
|
+
color?: string;
|
|
85
|
+
radius?: number;
|
|
86
|
+
clip?: string;
|
|
87
|
+
};
|
|
88
|
+
rootElement?: ShadowRoot | HTMLElement;
|
|
89
|
+
rtl?: boolean;
|
|
90
|
+
scheduler?: Widget | string;
|
|
91
|
+
scrollable?: boolean | ScrollerConfig | Scroller;
|
|
92
|
+
scrollAction?: 'hide' | 'realign' | null;
|
|
93
|
+
showAnimation?: boolean | object;
|
|
94
|
+
showTooltipWhenDisabled?: boolean;
|
|
95
|
+
showZeroActionBadge?: boolean;
|
|
96
|
+
span?: number;
|
|
97
|
+
strictRecordMapping?: boolean;
|
|
98
|
+
tab?: boolean | TabConfig;
|
|
99
|
+
tabBarItems?: ToolbarItems[] | Widget[];
|
|
100
|
+
tag?: string;
|
|
101
|
+
text?: boolean;
|
|
102
|
+
textAlign?: 'left' | 'center' | 'right' | 'start' | 'end';
|
|
103
|
+
textContent?: boolean;
|
|
104
|
+
title?: string;
|
|
105
|
+
tooltip?: string | TooltipConfig | null;
|
|
106
|
+
type?: 'undoredo';
|
|
107
|
+
ui?: string | object;
|
|
108
|
+
weight?: number;
|
|
109
|
+
width?: string | number;
|
|
110
|
+
x?: number;
|
|
111
|
+
y?: number;
|
|
112
|
+
onBeforeDestroy?: ((event: {
|
|
113
|
+
source: Base;
|
|
114
|
+
}) => void) | string;
|
|
115
|
+
onBeforeHide?: ((event: {
|
|
116
|
+
source: Widget;
|
|
117
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
118
|
+
onBeforeSetRecord?: ((event: {
|
|
119
|
+
source: Container;
|
|
120
|
+
record: Model;
|
|
121
|
+
}) => void) | string;
|
|
122
|
+
onBeforeShow?: ((event: {
|
|
123
|
+
source: Widget | any;
|
|
124
|
+
}) => Promise<boolean> | boolean | void) | string;
|
|
125
|
+
onCatchAll?: ((event: {
|
|
126
|
+
[key: string]: any;
|
|
127
|
+
type: string;
|
|
128
|
+
}) => void) | string;
|
|
129
|
+
onDestroy?: ((event: {
|
|
130
|
+
source: Base;
|
|
131
|
+
}) => void) | string;
|
|
132
|
+
onDirtyStateChange?: ((event: {
|
|
133
|
+
source: Container;
|
|
134
|
+
dirty: boolean;
|
|
135
|
+
}) => void) | string;
|
|
136
|
+
onElementCreated?: ((event: {
|
|
137
|
+
element: HTMLElement;
|
|
138
|
+
}) => void) | string;
|
|
139
|
+
onFocusIn?: ((event: {
|
|
140
|
+
source: Widget;
|
|
141
|
+
fromElement: HTMLElement;
|
|
142
|
+
toElement: HTMLElement;
|
|
143
|
+
fromWidget: Widget;
|
|
144
|
+
toWidget: Widget;
|
|
145
|
+
backwards: boolean;
|
|
146
|
+
}) => void) | string;
|
|
147
|
+
onFocusOut?: ((event: {
|
|
148
|
+
source: Widget;
|
|
149
|
+
fromElement: HTMLElement;
|
|
150
|
+
toElement: HTMLElement;
|
|
151
|
+
fromWidget: Widget;
|
|
152
|
+
toWidget: Widget;
|
|
153
|
+
backwards: boolean;
|
|
154
|
+
}) => void) | string;
|
|
155
|
+
onHide?: ((event: {
|
|
156
|
+
source: Widget;
|
|
157
|
+
}) => void) | string;
|
|
158
|
+
onPaint?: ((event: {
|
|
159
|
+
source: Widget;
|
|
160
|
+
firstPaint: boolean;
|
|
161
|
+
}) => void) | string;
|
|
162
|
+
onReadOnly?: ((event: {
|
|
163
|
+
readOnly: boolean;
|
|
164
|
+
}) => void) | string;
|
|
165
|
+
onRecompose?: (() => void) | string;
|
|
166
|
+
onResize?: ((event: {
|
|
167
|
+
source: Widget;
|
|
168
|
+
width: number;
|
|
169
|
+
height: number;
|
|
170
|
+
oldWidth: number;
|
|
171
|
+
oldHeight: number;
|
|
172
|
+
}) => void) | string;
|
|
173
|
+
onShow?: ((event: {
|
|
174
|
+
source: Widget;
|
|
175
|
+
}) => void) | string;
|
|
176
|
+
};
|
|
177
|
+
export declare class BryntumUndoRedo extends React.Component<BryntumUndoRedoProps> {
|
|
178
|
+
static instanceClass: typeof UndoRedo;
|
|
179
|
+
static instanceName: string;
|
|
180
|
+
processWidgetContent: typeof processWidgetContent;
|
|
181
|
+
static configNames: string[];
|
|
182
|
+
static propertyConfigNames: string[];
|
|
183
|
+
static propertyNames: string[];
|
|
184
|
+
instance: UndoRedo;
|
|
185
|
+
element: HTMLElement;
|
|
186
|
+
componentDidMount(): void;
|
|
187
|
+
componentWillUnmount(): void;
|
|
188
|
+
shouldComponentUpdate(nextProps: Readonly<BryntumUndoRedoProps>, nextState: Readonly<{}>): boolean;
|
|
189
|
+
render(): React.ReactNode;
|
|
190
|
+
}
|