@operato/gantt 8.0.0-alpha.6 → 8.0.0-beta.0

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +113 -0
  2. package/dist/src/gantt-chart-controller.d.ts +5 -6
  3. package/dist/src/gantt-chart-controller.js +92 -37
  4. package/dist/src/gantt-chart-controller.js.map +1 -1
  5. package/dist/src/ox-gantt-chart.d.ts +378 -3
  6. package/dist/src/ox-gantt-chart.js +86 -180
  7. package/dist/src/ox-gantt-chart.js.map +1 -1
  8. package/dist/src/ox-gantt-resize-splitter.d.ts +6 -2
  9. package/dist/src/ox-gantt-resize-splitter.js +70 -39
  10. package/dist/src/ox-gantt-resize-splitter.js.map +1 -1
  11. package/dist/src/ox-gantt.js +11 -11
  12. package/dist/src/ox-gantt.js.map +1 -1
  13. package/dist/src/ox-resource-chart.js +2 -0
  14. package/dist/src/ox-resource-chart.js.map +1 -1
  15. package/dist/src/ox-task-tooltip.d.ts +3 -1
  16. package/dist/src/ox-task-tooltip.js +36 -11
  17. package/dist/src/ox-task-tooltip.js.map +1 -1
  18. package/dist/src/types.d.ts +1 -0
  19. package/dist/src/types.js.map +1 -1
  20. package/dist/stories/ox-gantt.stories.js +37 -1
  21. package/dist/stories/ox-gantt.stories.js.map +1 -1
  22. package/dist/tsconfig.tsbuildinfo +1 -1
  23. package/package.json +13 -13
  24. package/src/gantt-chart-controller.ts +100 -34
  25. package/src/ox-gantt-chart.ts +92 -192
  26. package/src/ox-gantt-resize-splitter.ts +72 -44
  27. package/src/ox-gantt.ts +12 -9
  28. package/src/ox-resource-chart.ts +2 -0
  29. package/src/ox-task-tooltip.ts +31 -9
  30. package/src/types.ts +1 -0
  31. package/stories/ox-gantt.stories.ts +37 -1
  32. package/themes/calendar-theme.css +3 -1
  33. package/assets/images/icon-editor-gradient-direction.png +0 -0
  34. package/assets/images/icon-properties-label.png +0 -0
  35. package/assets/images/icon-properties-line-type.png +0 -0
  36. package/assets/images/icon-properties-table.png +0 -0
@@ -3,7 +3,376 @@ import './ox-resource-chart.js';
3
3
  import { LitElement, PropertyValues, PropertyValueMap } from 'lit';
4
4
  import { Task, TimeScale } from './types.js';
5
5
  import { OxTaskTooltip } from './ox-task-tooltip.js';
6
- export declare class OxGanttChart extends LitElement {
6
+ declare const OxGanttChart_base: (new (...args: any[]) => {
7
+ __pointers: Map<number, {
8
+ x: number;
9
+ y: number;
10
+ }>;
11
+ __lastTapTime: number;
12
+ __lastPinchDistance: number;
13
+ __dragStart: {
14
+ x: number;
15
+ y: number;
16
+ } | null;
17
+ connectedCallback(): void;
18
+ disconnectedCallback(): void;
19
+ handlePointerDown: (e: PointerEvent) => void;
20
+ handlePointerMove: (e: PointerEvent) => void;
21
+ handlePointerUp: (e: PointerEvent) => void;
22
+ handlePinch(): void;
23
+ handleDrag(point: {
24
+ x: number;
25
+ y: number;
26
+ }, end: boolean): void;
27
+ handleTap(point: {
28
+ x: number;
29
+ y: number;
30
+ }): void;
31
+ getDistance(p1: {
32
+ x: number;
33
+ y: number;
34
+ }, p2: {
35
+ x: number;
36
+ y: number;
37
+ }): number;
38
+ addGlobalListeners(): void;
39
+ removeGlobalListeners(): void;
40
+ accessKey: string;
41
+ readonly accessKeyLabel: string;
42
+ autocapitalize: string;
43
+ dir: string;
44
+ draggable: boolean;
45
+ hidden: boolean;
46
+ inert: boolean;
47
+ innerText: string;
48
+ lang: string;
49
+ readonly offsetHeight: number;
50
+ readonly offsetLeft: number;
51
+ readonly offsetParent: Element | null;
52
+ readonly offsetTop: number;
53
+ readonly offsetWidth: number;
54
+ outerText: string;
55
+ popover: string | null;
56
+ spellcheck: boolean;
57
+ title: string;
58
+ translate: boolean;
59
+ writingSuggestions: string;
60
+ attachInternals(): ElementInternals;
61
+ click(): void;
62
+ hidePopover(): void;
63
+ showPopover(): void;
64
+ togglePopover(force?: boolean): boolean;
65
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
66
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
67
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
68
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
69
+ readonly attributes: NamedNodeMap;
70
+ readonly classList: DOMTokenList;
71
+ className: string;
72
+ readonly clientHeight: number;
73
+ readonly clientLeft: number;
74
+ readonly clientTop: number;
75
+ readonly clientWidth: number;
76
+ readonly currentCSSZoom: number;
77
+ id: string;
78
+ innerHTML: string;
79
+ readonly localName: string;
80
+ readonly namespaceURI: string | null;
81
+ onfullscreenchange: ((this: Element, ev: Event) => any) | null;
82
+ onfullscreenerror: ((this: Element, ev: Event) => any) | null;
83
+ outerHTML: string;
84
+ readonly ownerDocument: Document;
85
+ readonly part: DOMTokenList;
86
+ readonly prefix: string | null;
87
+ readonly scrollHeight: number;
88
+ scrollLeft: number;
89
+ scrollTop: number;
90
+ readonly scrollWidth: number;
91
+ readonly shadowRoot: ShadowRoot | null;
92
+ slot: string;
93
+ readonly tagName: string;
94
+ attachShadow(init: ShadowRootInit): ShadowRoot;
95
+ checkVisibility(options?: CheckVisibilityOptions): boolean;
96
+ closest<K extends keyof HTMLElementTagNameMap>(selector: K): HTMLElementTagNameMap[K] | null;
97
+ closest<K extends keyof SVGElementTagNameMap>(selector: K): SVGElementTagNameMap[K] | null;
98
+ closest<K extends keyof MathMLElementTagNameMap>(selector: K): MathMLElementTagNameMap[K] | null;
99
+ closest<E extends Element = Element>(selectors: string): E | null;
100
+ computedStyleMap(): StylePropertyMapReadOnly;
101
+ getAttribute(qualifiedName: string): string | null;
102
+ getAttributeNS(namespace: string | null, localName: string): string | null;
103
+ getAttributeNames(): string[];
104
+ getAttributeNode(qualifiedName: string): Attr | null;
105
+ getAttributeNodeNS(namespace: string | null, localName: string): Attr | null;
106
+ getBoundingClientRect(): DOMRect;
107
+ getClientRects(): DOMRectList;
108
+ getElementsByClassName(classNames: string): HTMLCollectionOf<Element>;
109
+ getElementsByTagName<K extends keyof HTMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementTagNameMap[K]>;
110
+ getElementsByTagName<K extends keyof SVGElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<SVGElementTagNameMap[K]>;
111
+ getElementsByTagName<K extends keyof MathMLElementTagNameMap>(qualifiedName: K): HTMLCollectionOf<MathMLElementTagNameMap[K]>;
112
+ getElementsByTagName<K extends keyof HTMLElementDeprecatedTagNameMap>(qualifiedName: K): HTMLCollectionOf<HTMLElementDeprecatedTagNameMap[K]>;
113
+ getElementsByTagName(qualifiedName: string): HTMLCollectionOf<Element>;
114
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1999/xhtml", localName: string): HTMLCollectionOf<HTMLElement>;
115
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/2000/svg", localName: string): HTMLCollectionOf<SVGElement>;
116
+ getElementsByTagNameNS(namespaceURI: "http://www.w3.org/1998/Math/MathML", localName: string): HTMLCollectionOf<MathMLElement>;
117
+ getElementsByTagNameNS(namespace: string | null, localName: string): HTMLCollectionOf<Element>;
118
+ getHTML(options?: GetHTMLOptions): string;
119
+ hasAttribute(qualifiedName: string): boolean;
120
+ hasAttributeNS(namespace: string | null, localName: string): boolean;
121
+ hasAttributes(): boolean;
122
+ hasPointerCapture(pointerId: number): boolean;
123
+ insertAdjacentElement(where: InsertPosition, element: Element): Element | null;
124
+ insertAdjacentHTML(position: InsertPosition, string: string): void;
125
+ insertAdjacentText(where: InsertPosition, data: string): void;
126
+ matches(selectors: string): boolean;
127
+ releasePointerCapture(pointerId: number): void;
128
+ removeAttribute(qualifiedName: string): void;
129
+ removeAttributeNS(namespace: string | null, localName: string): void;
130
+ removeAttributeNode(attr: Attr): Attr;
131
+ requestFullscreen(options?: FullscreenOptions): Promise<void>;
132
+ requestPointerLock(options?: PointerLockOptions): Promise<void>;
133
+ scroll(options?: ScrollToOptions): void;
134
+ scroll(x: number, y: number): void;
135
+ scrollBy(options?: ScrollToOptions): void;
136
+ scrollBy(x: number, y: number): void;
137
+ scrollIntoView(arg?: boolean | ScrollIntoViewOptions): void;
138
+ scrollTo(options?: ScrollToOptions): void;
139
+ scrollTo(x: number, y: number): void;
140
+ setAttribute(qualifiedName: string, value: string): void;
141
+ setAttributeNS(namespace: string | null, qualifiedName: string, value: string): void;
142
+ setAttributeNode(attr: Attr): Attr | null;
143
+ setAttributeNodeNS(attr: Attr): Attr | null;
144
+ setHTMLUnsafe(html: string): void;
145
+ setPointerCapture(pointerId: number): void;
146
+ toggleAttribute(qualifiedName: string, force?: boolean): boolean;
147
+ webkitMatchesSelector(selectors: string): boolean;
148
+ readonly baseURI: string;
149
+ readonly childNodes: NodeListOf<ChildNode>;
150
+ readonly firstChild: ChildNode | null;
151
+ readonly isConnected: boolean;
152
+ readonly lastChild: ChildNode | null;
153
+ readonly nextSibling: ChildNode | null;
154
+ readonly nodeName: string;
155
+ readonly nodeType: number;
156
+ nodeValue: string | null;
157
+ readonly parentElement: HTMLElement | null;
158
+ readonly parentNode: ParentNode | null;
159
+ readonly previousSibling: ChildNode | null;
160
+ textContent: string | null;
161
+ appendChild<T extends Node>(node: T): T;
162
+ cloneNode(deep?: boolean): Node;
163
+ compareDocumentPosition(other: Node): number;
164
+ contains(other: Node | null): boolean;
165
+ getRootNode(options?: GetRootNodeOptions): Node;
166
+ hasChildNodes(): boolean;
167
+ insertBefore<T extends Node>(node: T, child: Node | null): T;
168
+ isDefaultNamespace(namespace: string | null): boolean;
169
+ isEqualNode(otherNode: Node | null): boolean;
170
+ isSameNode(otherNode: Node | null): boolean;
171
+ lookupNamespaceURI(prefix: string | null): string | null;
172
+ lookupPrefix(namespace: string | null): string | null;
173
+ normalize(): void;
174
+ removeChild<T extends Node>(child: T): T;
175
+ replaceChild<T extends Node>(node: Node, child: T): T;
176
+ readonly ELEMENT_NODE: 1;
177
+ readonly ATTRIBUTE_NODE: 2;
178
+ readonly TEXT_NODE: 3;
179
+ readonly CDATA_SECTION_NODE: 4;
180
+ readonly ENTITY_REFERENCE_NODE: 5;
181
+ readonly ENTITY_NODE: 6;
182
+ readonly PROCESSING_INSTRUCTION_NODE: 7;
183
+ readonly COMMENT_NODE: 8;
184
+ readonly DOCUMENT_NODE: 9;
185
+ readonly DOCUMENT_TYPE_NODE: 10;
186
+ readonly DOCUMENT_FRAGMENT_NODE: 11;
187
+ readonly NOTATION_NODE: 12;
188
+ readonly DOCUMENT_POSITION_DISCONNECTED: 1;
189
+ readonly DOCUMENT_POSITION_PRECEDING: 2;
190
+ readonly DOCUMENT_POSITION_FOLLOWING: 4;
191
+ readonly DOCUMENT_POSITION_CONTAINS: 8;
192
+ readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
193
+ readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
194
+ dispatchEvent(event: Event): boolean;
195
+ ariaAtomic: string | null;
196
+ ariaAutoComplete: string | null;
197
+ ariaBrailleLabel: string | null;
198
+ ariaBrailleRoleDescription: string | null;
199
+ ariaBusy: string | null;
200
+ ariaChecked: string | null;
201
+ ariaColCount: string | null;
202
+ ariaColIndex: string | null;
203
+ ariaColIndexText: string | null;
204
+ ariaColSpan: string | null;
205
+ ariaCurrent: string | null;
206
+ ariaDescription: string | null;
207
+ ariaDisabled: string | null;
208
+ ariaExpanded: string | null;
209
+ ariaHasPopup: string | null;
210
+ ariaHidden: string | null;
211
+ ariaInvalid: string | null;
212
+ ariaKeyShortcuts: string | null;
213
+ ariaLabel: string | null;
214
+ ariaLevel: string | null;
215
+ ariaLive: string | null;
216
+ ariaModal: string | null;
217
+ ariaMultiLine: string | null;
218
+ ariaMultiSelectable: string | null;
219
+ ariaOrientation: string | null;
220
+ ariaPlaceholder: string | null;
221
+ ariaPosInSet: string | null;
222
+ ariaPressed: string | null;
223
+ ariaReadOnly: string | null;
224
+ ariaRequired: string | null;
225
+ ariaRoleDescription: string | null;
226
+ ariaRowCount: string | null;
227
+ ariaRowIndex: string | null;
228
+ ariaRowIndexText: string | null;
229
+ ariaRowSpan: string | null;
230
+ ariaSelected: string | null;
231
+ ariaSetSize: string | null;
232
+ ariaSort: string | null;
233
+ ariaValueMax: string | null;
234
+ ariaValueMin: string | null;
235
+ ariaValueNow: string | null;
236
+ ariaValueText: string | null;
237
+ role: string | null;
238
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
239
+ getAnimations(options?: GetAnimationsOptions): Animation[];
240
+ after(...nodes: (Node | string)[]): void;
241
+ before(...nodes: (Node | string)[]): void;
242
+ remove(): void;
243
+ replaceWith(...nodes: (Node | string)[]): void;
244
+ readonly nextElementSibling: Element | null;
245
+ readonly previousElementSibling: Element | null;
246
+ readonly childElementCount: number;
247
+ readonly children: HTMLCollection;
248
+ readonly firstElementChild: Element | null;
249
+ readonly lastElementChild: Element | null;
250
+ append(...nodes: (Node | string)[]): void;
251
+ prepend(...nodes: (Node | string)[]): void;
252
+ querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
253
+ querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
254
+ querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
255
+ querySelector<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): HTMLElementDeprecatedTagNameMap[K] | null;
256
+ querySelector<E extends Element = Element>(selectors: string): E | null;
257
+ querySelectorAll<K extends keyof HTMLElementTagNameMap>(selectors: K): NodeListOf<HTMLElementTagNameMap[K]>;
258
+ querySelectorAll<K extends keyof SVGElementTagNameMap>(selectors: K): NodeListOf<SVGElementTagNameMap[K]>;
259
+ querySelectorAll<K extends keyof MathMLElementTagNameMap>(selectors: K): NodeListOf<MathMLElementTagNameMap[K]>;
260
+ querySelectorAll<K extends keyof HTMLElementDeprecatedTagNameMap>(selectors: K): NodeListOf<HTMLElementDeprecatedTagNameMap[K]>;
261
+ querySelectorAll<E extends Element = Element>(selectors: string): NodeListOf<E>;
262
+ replaceChildren(...nodes: (Node | string)[]): void;
263
+ readonly assignedSlot: HTMLSlotElement | null;
264
+ readonly attributeStyleMap: StylePropertyMap;
265
+ readonly style: CSSStyleDeclaration;
266
+ contentEditable: string;
267
+ enterKeyHint: string;
268
+ inputMode: string;
269
+ readonly isContentEditable: boolean;
270
+ onabort: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
271
+ onanimationcancel: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
272
+ onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
273
+ onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
274
+ onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
275
+ onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
276
+ onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
277
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
278
+ onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
279
+ oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
280
+ oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
281
+ oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
282
+ onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
283
+ onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
284
+ onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
285
+ oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
286
+ oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
287
+ oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
288
+ oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
289
+ oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
290
+ oncut: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
291
+ ondblclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
292
+ ondrag: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
293
+ ondragend: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
294
+ ondragenter: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
295
+ ondragleave: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
296
+ ondragover: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
297
+ ondragstart: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
298
+ ondrop: ((this: GlobalEventHandlers, ev: DragEvent) => any) | null;
299
+ ondurationchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
300
+ onemptied: ((this: GlobalEventHandlers, ev: Event) => any) | null;
301
+ onended: ((this: GlobalEventHandlers, ev: Event) => any) | null;
302
+ onerror: OnErrorEventHandler;
303
+ onfocus: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
304
+ onformdata: ((this: GlobalEventHandlers, ev: FormDataEvent) => any) | null;
305
+ ongotpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
306
+ oninput: ((this: GlobalEventHandlers, ev: Event) => any) | null;
307
+ oninvalid: ((this: GlobalEventHandlers, ev: Event) => any) | null;
308
+ onkeydown: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
309
+ onkeypress: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
310
+ onkeyup: ((this: GlobalEventHandlers, ev: KeyboardEvent) => any) | null;
311
+ onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
312
+ onloadeddata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
313
+ onloadedmetadata: ((this: GlobalEventHandlers, ev: Event) => any) | null;
314
+ onloadstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
315
+ onlostpointercapture: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
316
+ onmousedown: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
317
+ onmouseenter: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
318
+ onmouseleave: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
319
+ onmousemove: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
320
+ onmouseout: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
321
+ onmouseover: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
322
+ onmouseup: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
323
+ onpaste: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
324
+ onpause: ((this: GlobalEventHandlers, ev: Event) => any) | null;
325
+ onplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
326
+ onplaying: ((this: GlobalEventHandlers, ev: Event) => any) | null;
327
+ onpointercancel: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
328
+ onpointerdown: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
329
+ onpointerenter: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
330
+ onpointerleave: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
331
+ onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
332
+ onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
333
+ onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
334
+ onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
335
+ onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
336
+ onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
337
+ onreset: ((this: GlobalEventHandlers, ev: Event) => any) | null;
338
+ onresize: ((this: GlobalEventHandlers, ev: UIEvent) => any) | null;
339
+ onscroll: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
+ onscrollend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
341
+ onsecuritypolicyviolation: ((this: GlobalEventHandlers, ev: SecurityPolicyViolationEvent) => any) | null;
342
+ onseeked: ((this: GlobalEventHandlers, ev: Event) => any) | null;
343
+ onseeking: ((this: GlobalEventHandlers, ev: Event) => any) | null;
344
+ onselect: ((this: GlobalEventHandlers, ev: Event) => any) | null;
345
+ onselectionchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
346
+ onselectstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
347
+ onslotchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
348
+ onstalled: ((this: GlobalEventHandlers, ev: Event) => any) | null;
349
+ onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
350
+ onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
351
+ ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
352
+ ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
353
+ ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
354
+ ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
355
+ ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
356
+ ontouchstart?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
357
+ ontransitioncancel: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
358
+ ontransitionend: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
359
+ ontransitionrun: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
360
+ ontransitionstart: ((this: GlobalEventHandlers, ev: TransitionEvent) => any) | null;
361
+ onvolumechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
362
+ onwaiting: ((this: GlobalEventHandlers, ev: Event) => any) | null;
363
+ onwebkitanimationend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
364
+ onwebkitanimationiteration: ((this: GlobalEventHandlers, ev: Event) => any) | null;
365
+ onwebkitanimationstart: ((this: GlobalEventHandlers, ev: Event) => any) | null;
366
+ onwebkittransitionend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
367
+ onwheel: ((this: GlobalEventHandlers, ev: WheelEvent) => any) | null;
368
+ autofocus: boolean;
369
+ readonly dataset: DOMStringMap;
370
+ nonce?: string;
371
+ tabIndex: number;
372
+ blur(): void;
373
+ focus(options?: FocusOptions): void;
374
+ }) & typeof LitElement;
375
+ export declare class OxGanttChart extends OxGanttChart_base {
7
376
  static styles: import("lit").CSSResult[];
8
377
  fromDate: string;
9
378
  toDate: string;
@@ -12,13 +381,18 @@ export declare class OxGanttChart extends LitElement {
12
381
  selectedTaskId?: string;
13
382
  locale: string;
14
383
  colorProvider: (task: Task) => string;
384
+ dateRangeSelected?: {
385
+ start: Date;
386
+ end: Date;
387
+ };
15
388
  svgHeader: SVGElement;
16
389
  svgBody: SVGElement;
17
390
  container: HTMLDivElement;
18
391
  tooltip: OxTaskTooltip;
19
392
  private ganttChartController;
20
- constructor();
21
393
  protected firstUpdated(_changedProperties: PropertyValueMap<any> | Map<PropertyKey, unknown>): void;
394
+ connectedCallback(): void;
395
+ disconnectedCallback(): void;
22
396
  updated(changedProperties: PropertyValues<this>): void;
23
397
  render(): import("lit-html").TemplateResult<1>;
24
398
  scrollToStart(): void;
@@ -30,9 +404,10 @@ export declare class OxGanttChart extends LitElement {
30
404
  getHorizontalOffset(): number;
31
405
  flattenTasks(tasks: Task[], level?: number): Task[];
32
406
  handleWheelForHeader(event: WheelEvent): void;
33
- handleDateRangeSelected(event: CustomEvent): void;
34
407
  updateLocale(locale: string): void;
35
408
  initHeaderGestureHandlers(): void;
36
409
  highlightSelection(startX: number, endX: number): void;
37
410
  finalizeSelection(startX: number, endX: number): void;
411
+ drawSelectedRange(): void;
38
412
  }
413
+ export {};