@bryntum/scheduler-vue-3-thin 7.2.4 → 7.3.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.
- package/README.md +6 -6
- package/lib/chunks/{C7ZFK2B7.js → 5o-YjSb7.js} +16 -10
- package/lib/chunks/5o-YjSb7.js.map +1 -0
- package/lib/chunks/BXIuEgYD.js +265 -0
- package/lib/chunks/BXIuEgYD.js.map +1 -0
- package/lib/chunks/{BD-Hg3lY.js → DB0UHrA3.js} +17 -24
- package/lib/chunks/DB0UHrA3.js.map +1 -0
- package/lib/chunks/{DmQj0tBi.js → DP61St-u.js} +14 -6
- package/lib/chunks/DP61St-u.js.map +1 -0
- package/lib/chunks/{B0m0r-NV.js → DVFhf2Ma.js} +11 -11
- package/lib/chunks/DVFhf2Ma.js.map +1 -0
- package/lib/chunks/{DerP_qo7.js → DhhzgoYL.js} +16 -10
- package/lib/chunks/DhhzgoYL.js.map +1 -0
- package/lib/chunks/{BNGLBrCN.js → OJaN5ZWK.js} +6 -6
- package/lib/chunks/OJaN5ZWK.js.map +1 -0
- package/lib/chunks/{CP1Mm_Ak.js → R69sJLmF.js} +16 -17
- package/lib/chunks/R69sJLmF.js.map +1 -0
- package/lib/chunks/{mKqb8_2f.js → ZkU6CtWX.js} +6 -6
- package/lib/chunks/ZkU6CtWX.js.map +1 -0
- package/lib/chunks/{C0UqC4Uj.js → eUISgYXE.js} +9 -9
- package/lib/chunks/eUISgYXE.js.map +1 -0
- package/lib/chunks/{CsoS615B.js → kN-s_8Na.js} +6 -6
- package/lib/chunks/kN-s_8Na.js.map +1 -0
- package/lib/chunks/{C2PT-Ukt.js → t8aiH3XL.js} +13 -14
- package/lib/chunks/t8aiH3XL.js.map +1 -0
- package/lib/components/BryntumEventColorField.js +1 -1
- package/lib/components/BryntumProjectCombo.js +1 -1
- package/lib/components/BryntumResourceCombo.js +1 -1
- package/lib/components/BryntumResourceFilter.js +1 -1
- package/lib/components/BryntumScheduler.js +1 -1
- package/lib/components/BryntumSchedulerBase.js +1 -1
- package/lib/components/BryntumSchedulerDatePicker.js +1 -1
- package/lib/components/BryntumSchedulerProjectModel.js +1 -1
- package/lib/components/BryntumThemeCombo.js +57 -0
- package/lib/components/BryntumThemeCombo.js.map +1 -0
- package/lib/components/BryntumTimeZoomSlider.js +5 -0
- package/lib/components/BryntumTimeZoomSlider.js.map +1 -0
- package/lib/components/BryntumTimelineHistogram.js +1 -1
- package/lib/components/BryntumUndoRedo.js +1 -1
- package/lib/components/BryntumViewPresetCombo.js +1 -1
- package/lib/index.js +18 -16
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/BryntumEventColorField.vue +72 -116
- package/src/components/BryntumEventColorFieldProps.ts +68 -108
- package/src/components/BryntumProjectCombo.vue +90 -149
- package/src/components/BryntumProjectComboProps.ts +86 -141
- package/src/components/BryntumResourceCombo.vue +91 -151
- package/src/components/BryntumResourceComboProps.ts +87 -143
- package/src/components/BryntumResourceFilter.vue +63 -104
- package/src/components/BryntumResourceFilterProps.ts +60 -98
- package/src/components/BryntumScheduler.vue +426 -597
- package/src/components/BryntumSchedulerBase.vue +426 -597
- package/src/components/BryntumSchedulerBaseProps.ts +367 -522
- package/src/components/BryntumSchedulerDatePicker.vue +120 -196
- package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
- package/src/components/BryntumSchedulerProjectModel.vue +12 -31
- package/src/components/BryntumSchedulerProjectModelProps.ts +10 -20
- package/src/components/BryntumSchedulerProps.ts +367 -522
- package/src/components/BryntumThemeCombo.vue +60 -0
- package/src/components/BryntumTimeZoomSlider.vue +859 -0
- package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
- package/src/components/BryntumTimelineHistogram.vue +322 -441
- package/src/components/BryntumTimelineHistogramProps.ts +275 -388
- package/src/components/BryntumUndoRedo.vue +78 -125
- package/src/components/BryntumUndoRedoProps.ts +74 -116
- package/src/components/BryntumViewPresetCombo.vue +67 -107
- package/src/components/BryntumViewPresetComboProps.ts +63 -99
- package/src/index.ts +2 -0
- package/lib/chunks/B0m0r-NV.js.map +0 -1
- package/lib/chunks/BD-Hg3lY.js.map +0 -1
- package/lib/chunks/BNGLBrCN.js.map +0 -1
- package/lib/chunks/C0UqC4Uj.js.map +0 -1
- package/lib/chunks/C2PT-Ukt.js.map +0 -1
- package/lib/chunks/C7ZFK2B7.js.map +0 -1
- package/lib/chunks/CP1Mm_Ak.js.map +0 -1
- package/lib/chunks/CsoS615B.js.map +0 -1
- package/lib/chunks/DerP_qo7.js.map +0 -1
- package/lib/chunks/DmQj0tBi.js.map +0 -1
- package/lib/chunks/mKqb8_2f.js.map +0 -1
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
import { defineComponent as h, ref as l, provide as u, onMounted as b, getCurrentInstance as g, toRaw as f, onBeforeUnmount as y, openBlock as w, createElementBlock as C, watch as x } from "vue";
|
|
2
|
+
import { TimeZoomSlider as v } from "@bryntum/scheduler-thin";
|
|
3
|
+
import { WrapperHelper as r } from "../helper/WrapperHelper.js";
|
|
4
|
+
const A = /* @__PURE__ */ h({
|
|
5
|
+
__name: "BryntumTimeZoomSlider",
|
|
6
|
+
props: {
|
|
7
|
+
adopt: {},
|
|
8
|
+
align: {},
|
|
9
|
+
alignSelf: {},
|
|
10
|
+
anchor: {},
|
|
11
|
+
appendTo: {},
|
|
12
|
+
ariaDescription: {},
|
|
13
|
+
ariaLabel: {},
|
|
14
|
+
bubbleEvents: {},
|
|
15
|
+
callOnFunctions: {},
|
|
16
|
+
catchEventHandlerExceptions: {},
|
|
17
|
+
centered: {},
|
|
18
|
+
client: {},
|
|
19
|
+
cls: {},
|
|
20
|
+
color: {},
|
|
21
|
+
column: {},
|
|
22
|
+
config: {},
|
|
23
|
+
constrainTo: {},
|
|
24
|
+
content: {},
|
|
25
|
+
contentElementCls: {},
|
|
26
|
+
dataField: {},
|
|
27
|
+
dataset: {},
|
|
28
|
+
defaultBindProperty: {},
|
|
29
|
+
detectCSSCompatibilityIssues: {},
|
|
30
|
+
disabled: {},
|
|
31
|
+
dock: {},
|
|
32
|
+
draggable: {},
|
|
33
|
+
elementAttributes: {},
|
|
34
|
+
extraData: {},
|
|
35
|
+
flex: {},
|
|
36
|
+
floating: {},
|
|
37
|
+
height: {},
|
|
38
|
+
hidden: {},
|
|
39
|
+
hideAnimation: {},
|
|
40
|
+
html: { type: [String, Function, Array] },
|
|
41
|
+
htmlCls: {},
|
|
42
|
+
id: {},
|
|
43
|
+
ignoreParentReadOnly: {},
|
|
44
|
+
insertBefore: {},
|
|
45
|
+
insertFirst: {},
|
|
46
|
+
keyMap: {},
|
|
47
|
+
label: {},
|
|
48
|
+
labelCls: {},
|
|
49
|
+
labelPosition: {},
|
|
50
|
+
labelWidth: {},
|
|
51
|
+
listeners: {},
|
|
52
|
+
localeClass: {},
|
|
53
|
+
localizable: {},
|
|
54
|
+
localizableProperties: {},
|
|
55
|
+
margin: {},
|
|
56
|
+
maskDefaults: {},
|
|
57
|
+
masked: {},
|
|
58
|
+
max: {},
|
|
59
|
+
maxHeight: {},
|
|
60
|
+
maximizeOnMobile: {},
|
|
61
|
+
maxWidth: {},
|
|
62
|
+
min: {},
|
|
63
|
+
minHeight: {},
|
|
64
|
+
minWidth: {},
|
|
65
|
+
monitorResize: {},
|
|
66
|
+
positioned: {},
|
|
67
|
+
preventTooltipOnTouch: {},
|
|
68
|
+
readOnly: {},
|
|
69
|
+
relayStoreEvents: {},
|
|
70
|
+
ripple: {},
|
|
71
|
+
role: {},
|
|
72
|
+
rootElement: {},
|
|
73
|
+
rtl: {},
|
|
74
|
+
scrollable: {},
|
|
75
|
+
scrollAction: {},
|
|
76
|
+
showAnimation: {},
|
|
77
|
+
showSteps: {},
|
|
78
|
+
showTooltip: {},
|
|
79
|
+
showTooltipWhenDisabled: {},
|
|
80
|
+
showValue: {},
|
|
81
|
+
span: {},
|
|
82
|
+
tab: {},
|
|
83
|
+
tag: {},
|
|
84
|
+
textAlign: {},
|
|
85
|
+
thumbIcon: {},
|
|
86
|
+
title: {},
|
|
87
|
+
tooltip: {},
|
|
88
|
+
triggerChangeOnInput: {},
|
|
89
|
+
type: {},
|
|
90
|
+
ui: {},
|
|
91
|
+
unit: {},
|
|
92
|
+
value: {},
|
|
93
|
+
valueLabelWidth: {},
|
|
94
|
+
weight: {},
|
|
95
|
+
width: {},
|
|
96
|
+
x: {},
|
|
97
|
+
y: {}
|
|
98
|
+
},
|
|
99
|
+
emits: ["beforeDestroy", "beforeHide", "beforeShow", "catchAll", "change", "destroy", "elementCreated", "focusIn", "focusOut", "hide", "input", "paint", "readOnly", "recompose", "resize", "show"],
|
|
100
|
+
setup(O, { expose: s, emit: c }) {
|
|
101
|
+
const d = c, n = {
|
|
102
|
+
instanceClass: v,
|
|
103
|
+
instanceName: "TimeZoomSlider",
|
|
104
|
+
configNames: [
|
|
105
|
+
"adopt",
|
|
106
|
+
"align",
|
|
107
|
+
"anchor",
|
|
108
|
+
"ariaDescription",
|
|
109
|
+
"ariaLabel",
|
|
110
|
+
"bubbleEvents",
|
|
111
|
+
"centered",
|
|
112
|
+
"client",
|
|
113
|
+
"color",
|
|
114
|
+
"config",
|
|
115
|
+
"constrainTo",
|
|
116
|
+
"contentElementCls",
|
|
117
|
+
"dataField",
|
|
118
|
+
"defaultBindProperty",
|
|
119
|
+
"detectCSSCompatibilityIssues",
|
|
120
|
+
"dock",
|
|
121
|
+
"draggable",
|
|
122
|
+
"elementAttributes",
|
|
123
|
+
"floating",
|
|
124
|
+
"hideAnimation",
|
|
125
|
+
"htmlCls",
|
|
126
|
+
"ignoreParentReadOnly",
|
|
127
|
+
"labelCls",
|
|
128
|
+
"labelPosition",
|
|
129
|
+
"labelWidth",
|
|
130
|
+
"listeners",
|
|
131
|
+
"localeClass",
|
|
132
|
+
"localizable",
|
|
133
|
+
"localizableProperties",
|
|
134
|
+
"maskDefaults",
|
|
135
|
+
"masked",
|
|
136
|
+
"monitorResize",
|
|
137
|
+
"positioned",
|
|
138
|
+
"preventTooltipOnTouch",
|
|
139
|
+
"relayStoreEvents",
|
|
140
|
+
"ripple",
|
|
141
|
+
"role",
|
|
142
|
+
"rootElement",
|
|
143
|
+
"scrollAction",
|
|
144
|
+
"showAnimation",
|
|
145
|
+
"showSteps",
|
|
146
|
+
"showTooltip",
|
|
147
|
+
"showTooltipWhenDisabled",
|
|
148
|
+
"showValue",
|
|
149
|
+
"tab",
|
|
150
|
+
"tag",
|
|
151
|
+
"textAlign",
|
|
152
|
+
"title",
|
|
153
|
+
"type",
|
|
154
|
+
"ui",
|
|
155
|
+
"weight"
|
|
156
|
+
],
|
|
157
|
+
propertyConfigNames: [
|
|
158
|
+
"alignSelf",
|
|
159
|
+
"appendTo",
|
|
160
|
+
"callOnFunctions",
|
|
161
|
+
"catchEventHandlerExceptions",
|
|
162
|
+
"cls",
|
|
163
|
+
"column",
|
|
164
|
+
"content",
|
|
165
|
+
"dataset",
|
|
166
|
+
"disabled",
|
|
167
|
+
"extraData",
|
|
168
|
+
"flex",
|
|
169
|
+
"height",
|
|
170
|
+
"hidden",
|
|
171
|
+
"html",
|
|
172
|
+
"id",
|
|
173
|
+
"insertBefore",
|
|
174
|
+
"insertFirst",
|
|
175
|
+
"keyMap",
|
|
176
|
+
"label",
|
|
177
|
+
"margin",
|
|
178
|
+
"max",
|
|
179
|
+
"maxHeight",
|
|
180
|
+
"maximizeOnMobile",
|
|
181
|
+
"maxWidth",
|
|
182
|
+
"min",
|
|
183
|
+
"minHeight",
|
|
184
|
+
"minWidth",
|
|
185
|
+
"onBeforeDestroy",
|
|
186
|
+
"onBeforeHide",
|
|
187
|
+
"onBeforeShow",
|
|
188
|
+
"onCatchAll",
|
|
189
|
+
"onChange",
|
|
190
|
+
"onDestroy",
|
|
191
|
+
"onElementCreated",
|
|
192
|
+
"onFocusIn",
|
|
193
|
+
"onFocusOut",
|
|
194
|
+
"onHide",
|
|
195
|
+
"onInput",
|
|
196
|
+
"onPaint",
|
|
197
|
+
"onReadOnly",
|
|
198
|
+
"onRecompose",
|
|
199
|
+
"onResize",
|
|
200
|
+
"onShow",
|
|
201
|
+
"readOnly",
|
|
202
|
+
"rtl",
|
|
203
|
+
"scrollable",
|
|
204
|
+
"span",
|
|
205
|
+
"thumbIcon",
|
|
206
|
+
"tooltip",
|
|
207
|
+
"triggerChangeOnInput",
|
|
208
|
+
"unit",
|
|
209
|
+
"value",
|
|
210
|
+
"valueLabelWidth",
|
|
211
|
+
"width",
|
|
212
|
+
"x",
|
|
213
|
+
"y"
|
|
214
|
+
],
|
|
215
|
+
propertyNames: [
|
|
216
|
+
"parent",
|
|
217
|
+
"step",
|
|
218
|
+
"text"
|
|
219
|
+
],
|
|
220
|
+
eventNames: [
|
|
221
|
+
"beforeDestroy",
|
|
222
|
+
"beforeHide",
|
|
223
|
+
"beforeShow",
|
|
224
|
+
"catchAll",
|
|
225
|
+
"change",
|
|
226
|
+
"destroy",
|
|
227
|
+
"elementCreated",
|
|
228
|
+
"focusIn",
|
|
229
|
+
"focusOut",
|
|
230
|
+
"hide",
|
|
231
|
+
"input",
|
|
232
|
+
"paint",
|
|
233
|
+
"readOnly",
|
|
234
|
+
"recompose",
|
|
235
|
+
"resize",
|
|
236
|
+
"show"
|
|
237
|
+
]
|
|
238
|
+
}, e = {}, t = l(), i = l(/* @__PURE__ */ new Map());
|
|
239
|
+
return u("teleports", i), b(() => {
|
|
240
|
+
const o = g();
|
|
241
|
+
e.value = r.createWidget({
|
|
242
|
+
me: o,
|
|
243
|
+
widgetData: n,
|
|
244
|
+
emit: d,
|
|
245
|
+
element: t.value,
|
|
246
|
+
toRaw: f
|
|
247
|
+
});
|
|
248
|
+
const a = (m, p) => x(() => o.props[m], p);
|
|
249
|
+
r.watchProps(e.value, n, a);
|
|
250
|
+
}), y(() => {
|
|
251
|
+
e.value?.destroy?.();
|
|
252
|
+
}), s({
|
|
253
|
+
instance: e,
|
|
254
|
+
refElement: t,
|
|
255
|
+
teleports: i
|
|
256
|
+
}), (o, a) => (w(), C("div", {
|
|
257
|
+
ref_key: "refElement",
|
|
258
|
+
ref: t
|
|
259
|
+
}, null, 512));
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
export {
|
|
263
|
+
A as _
|
|
264
|
+
};
|
|
265
|
+
//# sourceMappingURL=BXIuEgYD.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BXIuEgYD.js","sources":["../../src/components/BryntumTimeZoomSlider.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum TimeZoomSlider -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, Color, DomConfig, KeyMapConfig, MaskConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, Slider, TabConfig, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';\nimport type { TimeZoomSliderListeners, TimelineBase } from '@bryntum/scheduler-thin';\nimport { TimeZoomSlider } from '@bryntum/scheduler-thin';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * Element (or element id) to adopt as this Widget's encapsulating element. The widget's\n * content will be placed inside this element.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [align-self](https://developer.mozilla.org/en-US/docs/Web/CSS/align-self) style.\n */\n alignSelf ? : string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating) and being shown through [showBy](#Core/widget/Widget#function-showBy).*\n * `true` to show a connector arrow pointing to the align target.\n */\n anchor ? : Boolean\n /**\n * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at\n * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element).\n */\n appendTo ? : HTMLElement|string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject\n * into an element which will be linked using the `aria-describedby` attribute.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-ariaDescription)\n */\n ariaDescription ? : string\n /**\n * A localizable string (May contain `'L{}'` tokens which resolve in the locale file) to inject as\n * the `aria-label` attribute.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * An object where property names with a truthy value indicate which events should bubble up the ownership\n * hierarchy when triggered.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to centre the Widget in browser viewport space.\n */\n centered ? : Boolean\n /**\n * The Scheduler, SchedulerPro or Gantt component instance to connect to. If not provided, the widget\n * will attempt to find a timeline component by traversing up the widget hierarchy or querying for one.\n */\n client ? : TimelineBase\n /**\n * Custom CSS classes to add to element.\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-cls)\n */\n cls ? : string|object\n /**\n * Applies the specified color to the widget, by setting the `--b-primary` CSS variable in the widgets\n * `style` block.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-color)\n */\n color ? : Color\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The HTML content that coexists with sibling elements which may have been added to the\n * [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.\n * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-htmlCls)\n * class added to its classList, to allow targeted styling.\n */\n content ? : string\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * Check for CSS compatibility and inclusion related issues and try to auto fix them. Performs the following\n * checks:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-readOnly) except a disabled widget\n * cannot be focused, uses a different rendition (usually greyish) and does not allow selecting its value.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-dock)\n */\n dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´\n * property which controls when a drag should start.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `<flex-grow> <flex-shrink> <flex-basis>` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * The HTML to display initially or a function returning the markup (called at widget construction time).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-html)\n * @param {Core.widget.Widget} widget The calling Widget\n */\n html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX\n /**\n * The CSS class(es) to add when HTML content is being applied to this widget.\n */\n htmlCls ? : string|object\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertBefore ? : HTMLElement|string\n /**\n * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An object whose keys are the [key](https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key) name\n * and optional modifier prefixes: `'Ctrl+'`, `'Alt+'`, `'Meta+'`, and `'Shift+'` (case-insensitive). The values\n * are the name of the instance method to call when the keystroke is received.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * Label, prepended to field\n */\n label ? : string\n /**\n * CSS class name or class names to add to any configured [label](https://bryntum.com/products/scheduler/docs/api/Core/widget/mixin/Labelable#config-label)\n */\n labelCls ? : string|object\n /**\n * Label position, either 'before' the field or 'above' the field\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|null\n /**\n * The width to apply to the `<label>` element. If a number is specified, `px` will be used.\n */\n labelWidth ? : string|number\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-listeners)\n */\n listeners ? : TimeZoomSliderListeners\n /**\n * A class translations of which are used for translating this entity.\n * This is often used when translations of an item are defined on its container class.\n * For example:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-localeClass)\n */\n localeClass ? : typeof Base\n /**\n * Set to `false` to disable localization of this object.\n */\n localizable ? : Boolean\n /**\n * List of properties which values should be translated automatically upon a locale applying.\n * In case there is a need to localize not typical value (not a String value or a field with re-defined setter/getter),\n * you could use 'localeKey' meta configuration.\n * Example:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-localizableProperties)\n */\n localizableProperties ? : string[]\n /**\n * Widget's margin. This may be configured as a single number or a `TRBL` format string.\n * numeric-only values are interpreted as pixels.\n */\n margin ? : number|string\n /**\n * This config object contains the defaults for the [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-masked) config. Any properties specified in the `masked` config will override these\n * values.\n */\n maskDefaults ? : MaskConfig\n /**\n * Set to `true` to apply the default mask to the widget. Alternatively, this can be the mask message or a\n * [Mask](https://bryntum.com/products/scheduler/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * The maximum zoom level. If not specified, uses the scheduler's\n * [maxSmoothZoomLevel](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#property-maxSmoothZoomLevel).\n */\n max ? : number\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n maxHeight ? : string|number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The minimum zoom level. If not specified, uses the scheduler's\n * [minSmoothZoomLevel](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/Scheduler#property-minSmoothZoomLevel).\n */\n min ? : number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement), but must\n * not participate in the standard layout of that widget, and must be positioned relatively to that\n * widget's [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Whether this widget is read-only. This is only valid if the widget is an input\n * field, <strong>or contains input fields at any depth</strong>.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Configure as `true` to have the component display a translucent ripple when its\n * [focusElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-focusElement), or [element](#Core/widget/Widget#property-element) is tapped <em>if the\n * current theme supports ripples</em>. Out of the box, only the Material theme supports ripples.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-ripple)\n * @property {string} [delegate] A CSS selector to filter which child elements trigger ripples. By default, the ripple is clipped to the triggering element.\n * @property {string} [color] A CSS color name or specification.\n * @property {number} [radius] The ending radius of the ripple. Note that it will be clipped by the target element by default.\n * @property {string} [clip] A string which describes how to clip the ripple if it is not to be clipped to the default element. Either the property of the widget to use as the clipping element, or a selector to allow clipping to the closest matching ancestor to the target element.\n */\n ripple ? : Boolean|object\n /**\n * The ARIA role to apply to this widget's element. By default, this is set to `'presentation'` to avoid\n * accidentally applying a role which may interfere with screen readers.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-role)\n */\n role ? : string\n /**\n * If you are rendering this widget to a shadow root inside a web component, set this config to the shadowRoot. If not inside a web component, set it to `document.body`\n */\n rootElement ? : ShadowRoot|HTMLElement\n /**\n * This may be configured as `true` to make the widget's element use the `direction:rtl` style.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll\n * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are\n * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to\n * CSS overflow properties thus:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-scrollable)\n */\n scrollable ? : Boolean|ScrollerConfig|Scroller\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * Show the step markers\n */\n showSteps ? : Boolean\n /**\n * Whether to show tooltip while dragging.\n */\n showTooltip ? : Boolean\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : Boolean\n /**\n * Whether to show the current value in a tooltip or label.\n */\n showValue ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * A configuration for the [tab](https://bryntum.com/products/scheduler/docs/api/Core/widget/Tab) created for this widget when it is placed in a\n * [TabPanel](https://bryntum.com/products/scheduler/docs/api/Core/widget/TabPanel). For example, this config can be used to control the icon of the `tab` for\n * this widget:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * The tag name of this Widget's root element\n */\n tag ? : string\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * The icon to use for the slider thumb.\n */\n thumbIcon ? : string\n /**\n * A title to display for the widget. Only in effect when inside a container that uses it (such as TabPanel)\n */\n title ? : string\n /**\n * A config object for the tooltip to show while hovering the slider.\n */\n tooltip ? : TooltipConfig\n /**\n * By default, the [change](https://bryntum.com/products/scheduler/docs/api/Core/widget/Slider#event-change) event is fired when a change gesture is completed, ie: on\n * the mouse up gesture of a drag.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-triggerChangeOnInput)\n */\n triggerChangeOnInput ? : Boolean\n type ? : 'timezoomslider'\n /**\n * Custom CSS class name suffixes to apply to the elements rendered by this widget. This may be specified\n * as a space separated string, an array of strings, or as an object in which property names with truthy\n * values are used as the class names.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-ui)\n */\n ui ? : string|object\n /**\n * Unit to display next to the value, when configured with `showValue : true`\n */\n unit ? : string\n /**\n * Initial value.\n * `String` value allows linking value by reference name.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-value)\n */\n value ? : number|string\n /**\n * Width of the value label when `showValue` is enabled. If a number is specified, `px` will be used.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-valueLabelWidth)\n */\n valueLabelWidth ? : string|number\n /**\n * A widgets weight determines its position among siblings when added to a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container).\n * Higher weights go further down.\n */\n weight ? : number\n /**\n * Widget's width, used to set element `style.width`. Either specify a valid width string or a number, which\n * will get 'px' appended. We recommend using CSS as the primary way to control width, but in some cases\n * this config is convenient.\n */\n width ? : string|number\n /**\n * The x position for the widget.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.Base} params.params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget,any} params.params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details\n * @param {string} params.params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fired after the slider value changes (on mouse up following slider interaction).\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {number} params.params.event.value The value\n * @param {boolean} params.params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {Core.widget.Slider} params.params.event.source The slider\n */\n (e: 'change', params: ((event: { value: number, userAction: boolean, source: Slider }) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.Base} params.params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {HTMLElement} params.params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {HTMLElement} params.params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.\n * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {HTMLElement} params.params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.\n * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Fired while slider thumb is being dragged.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Slider} params.params.event.source The slider\n * @param {number} params.params.event.value The value\n */\n (e: 'input', params: ((event: { source: Slider, value: number }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/TimeZoomSlider#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget being painted.\n * @param {boolean} params.params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {boolean} params.params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * to [recompose](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {number} params.params.event.width The new width\n * @param {number} params.params.event.height The new height\n * @param {number} params.params.event.oldWidth The old width\n * @param {number} params.params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : TimeZoomSlider,\n instanceName : 'TimeZoomSlider',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'bubbleEvents',\n 'centered',\n 'client',\n 'color',\n 'config',\n 'constrainTo',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'hideAnimation',\n 'htmlCls',\n 'ignoreParentReadOnly',\n 'labelCls',\n 'labelPosition',\n 'labelWidth',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showSteps',\n 'showTooltip',\n 'showTooltipWhenDisabled',\n 'showValue',\n 'tab',\n 'tag',\n 'textAlign',\n 'title',\n 'type',\n 'ui',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'content',\n 'dataset',\n 'disabled',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'html',\n 'id',\n 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'label',\n 'margin',\n 'max',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'min',\n 'minHeight',\n 'minWidth',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onChange',\n 'onDestroy',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onInput',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onShow',\n 'readOnly',\n 'rtl',\n 'scrollable',\n 'span',\n 'thumbIcon',\n 'tooltip',\n 'triggerChangeOnInput',\n 'unit',\n 'value',\n 'valueLabelWidth',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'parent',\n 'step',\n 'text'\n ],\n eventNames : [\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'change',\n 'destroy',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'input',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'show'\n ]\n};\n\nconst instance: {\n value?: TimeZoomSlider\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof TimeZoomSlider>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","TimeZoomSlider","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkfA,UAAMA,IAAOC,GAsLPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAoC;AAAA,QAC/D,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBAr1BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as p, ref as
|
|
1
|
+
import { defineComponent as p, ref as r, provide as g, onMounted as C, getCurrentInstance as S, toRaw as D, onBeforeUnmount as R, openBlock as y, createElementBlock as v, watch as h } from "vue";
|
|
2
2
|
import { ProjectModel as f } from "@bryntum/scheduler-thin";
|
|
3
|
-
import { WrapperHelper as
|
|
4
|
-
const
|
|
3
|
+
import { WrapperHelper as d } from "../helper/WrapperHelper.js";
|
|
4
|
+
const I = /* @__PURE__ */ p({
|
|
5
5
|
__name: "BryntumSchedulerProjectModel",
|
|
6
6
|
props: {
|
|
7
7
|
adjustDurationToDST: {},
|
|
@@ -52,8 +52,8 @@ const x = /* @__PURE__ */ p({
|
|
|
52
52
|
useRawData: {}
|
|
53
53
|
},
|
|
54
54
|
emits: ["change", "dataReady"],
|
|
55
|
-
setup(M, { expose:
|
|
56
|
-
const
|
|
55
|
+
setup(M, { expose: i, emit: c }) {
|
|
56
|
+
const l = c, s = {
|
|
57
57
|
instanceClass: f,
|
|
58
58
|
instanceName: "ProjectModel",
|
|
59
59
|
configNames: [
|
|
@@ -109,47 +109,40 @@ const x = /* @__PURE__ */ p({
|
|
|
109
109
|
"timeZone"
|
|
110
110
|
],
|
|
111
111
|
propertyNames: [
|
|
112
|
-
"allChildren",
|
|
113
|
-
"allUnfilteredChildren",
|
|
114
112
|
"descendantCount",
|
|
115
|
-
"hasGeneratedId",
|
|
116
113
|
"inlineData",
|
|
117
|
-
"internalId",
|
|
118
|
-
"isCommitting",
|
|
119
114
|
"isCreating",
|
|
120
|
-
"isValid",
|
|
121
|
-
"previousSiblingsTotalCount",
|
|
122
115
|
"visibleDescendantCount"
|
|
123
116
|
],
|
|
124
117
|
eventNames: [
|
|
125
118
|
"change",
|
|
126
119
|
"dataReady"
|
|
127
120
|
]
|
|
128
|
-
}, e = {}, t =
|
|
129
|
-
return g("teleports",
|
|
121
|
+
}, e = {}, t = r(), a = r(/* @__PURE__ */ new Map());
|
|
122
|
+
return g("teleports", a), C(() => {
|
|
130
123
|
const n = S();
|
|
131
|
-
e.value =
|
|
124
|
+
e.value = d.createWidget({
|
|
132
125
|
me: n,
|
|
133
|
-
widgetData:
|
|
134
|
-
emit:
|
|
126
|
+
widgetData: s,
|
|
127
|
+
emit: l,
|
|
135
128
|
element: t.value,
|
|
136
129
|
toRaw: D
|
|
137
130
|
});
|
|
138
|
-
const
|
|
139
|
-
|
|
131
|
+
const o = (m, u) => h(() => n.props[m], u);
|
|
132
|
+
d.watchProps(e.value, s, o);
|
|
140
133
|
}), R(() => {
|
|
141
134
|
e.value?.destroy?.();
|
|
142
|
-
}),
|
|
135
|
+
}), i({
|
|
143
136
|
instance: e,
|
|
144
137
|
refElement: t,
|
|
145
|
-
teleports:
|
|
146
|
-
}), (n,
|
|
138
|
+
teleports: a
|
|
139
|
+
}), (n, o) => (y(), v("div", {
|
|
147
140
|
ref_key: "refElement",
|
|
148
141
|
ref: t
|
|
149
142
|
}, null, 512));
|
|
150
143
|
}
|
|
151
144
|
});
|
|
152
145
|
export {
|
|
153
|
-
|
|
146
|
+
I as _
|
|
154
147
|
};
|
|
155
|
-
//# sourceMappingURL=
|
|
148
|
+
//# sourceMappingURL=DB0UHrA3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DB0UHrA3.js","sources":["../../src/components/BryntumSchedulerProjectModel.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum ProjectModel -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { Model, ModelConfig, StateTrackingManager, StateTrackingManagerConfig, Store, StoreConfig } from '@bryntum/core-thin';\nimport type { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventModel, EventModelConfig, EventStore, EventStoreConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, TimeRangeModel, TimeRangeModelConfig, TimeRangeStore, TimeSpan } from '@bryntum/scheduler-thin';\nimport { ProjectModel } from '@bryntum/scheduler-thin';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * A flag, indicating whether the dates and duration calculations should adjust the result to DST time shift.\n */\n adjustDurationToDST ? : Boolean\n /**\n * The constructor of the assignment model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [assignmentStore](#Scheduler/model/ProjectModel#property-assignmentStore)\n */\n assignmentModelClass ? : typeof AssignmentModel\n /**\n * Data use to fill the [assignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-assignmentStore). Should be an array of\n * [AssignmentModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/AssignmentModel) or its configuration objects.\n */\n assignments ? : AssignmentModel[]|AssignmentModelConfig[]\n /**\n * The initial data, to fill the [assignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-assignmentStore) with.\n * Should be an array of [AssignmentModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/AssignmentModel) or its configuration\n * objects.\n * @deprecated 6.3.0 Use [assignments](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-assignments) instead\n */\n assignmentsData ? : AssignmentModel[]|AssignmentModelConfig[]\n /**\n * An [AssignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AssignmentStore) instance or a config object.\n */\n assignmentStore ? : AssignmentStore|AssignmentStoreConfig\n /**\n * The constructor to create an assignment store instance with. Should be a class, subclassing the\n * [AssignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AssignmentStore)\n */\n assignmentStoreClass ? : typeof AssignmentStore|object\n /**\n * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf\n * tasks.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-children)\n */\n children ? : Boolean|object[]|Model[]|ModelConfig[]\n /**\n * Data use to fill the [dependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-dependencyStore). Should be an array of\n * [DependencyModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyModel) or its configuration objects.\n */\n dependencies ? : DependencyModel[]|DependencyModelConfig[]\n /**\n * The initial data, to fill the [dependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-dependencyStore) with.\n * Should be an array of [DependencyModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyModel) or its configuration\n * objects.\n * @deprecated 6.3.0 Use [dependencies](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-dependencies) instead\n */\n dependenciesData ? : DependencyModel[]|DependencyModelConfig[]\n /**\n * The constructor of the dependency model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [dependencyStore](#Scheduler/model/ProjectModel#property-dependencyStore)\n */\n dependencyModelClass ? : typeof DependencyModel\n /**\n * A [DependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/DependencyStore) instance or a config object.\n */\n dependencyStore ? : DependencyStore|DependencyStoreConfig\n /**\n * The constructor to create a dependency store instance with. Should be a class, subclassing the\n * [DependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/DependencyStore)\n */\n dependencyStoreClass ? : typeof DependencyStore|object\n /**\n * The constructor of the event model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [eventStore](#Scheduler/model/ProjectModel#property-eventStore)\n */\n eventModelClass ? : typeof EventModel\n /**\n * Data use to fill the [eventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-eventStore). Should be an array of\n * [EventModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/EventModel) or its configuration objects.\n */\n events ? : EventModel[]|EventModelConfig[]\n /**\n * The initial data, to fill the [eventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-eventStore) with.\n * Should be an array of [EventModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/EventModel) or its configuration objects.\n * @deprecated 6.3.0 Use [events](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-events) instead\n */\n eventsData ? : EventModel[]|EventModelConfig[]\n /**\n * An [EventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/EventStore) instance or a config object.\n */\n eventStore ? : EventStore|EventStoreConfig\n /**\n * The constructor to create an event store instance with. Should be a class, subclassing the\n * [EventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/EventStore)\n */\n eventStoreClass ? : typeof EventStore|object\n /**\n * Start expanded or not (only valid for tree data)\n */\n expanded ? : Boolean\n /**\n * Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as\n * record.id. Will get a generated value if none is specified in records data.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-id)\n */\n id ? : string|number\n /**\n * Whether to include legacy data properties in the JSON / inlineData output. The legacy data properties are\n * the `xxData` (`eventsData`, `resourcesData` etc.) properties that are deprecated and will be removed in\n * the future.\n * @deprecated 6.3.0 This config will be removed when the eventsData, resourcesData etc. properties are removed in a future release.\n */\n includeLegacyDataProperties ? : Boolean\n /**\n * This field is added to the class at runtime when the Store is configured with\n * [lazyLoad](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-lazyLoad). If set on a parent record at load time, that parent will not cause any\n * more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer\n * child records than requested.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-isFullyLoaded)\n */\n isFullyLoaded ? : Boolean\n /**\n * Project data as a JSON string, used to populate its stores.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-json)\n */\n json ? : string\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which position the node takes in the parent's ordered children array.\n * This index is set on load and gets updated on reordering nodes in tree. Sorting and filtering\n * have no effect on it.\n */\n orderedParentIndex ? : number\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which record id is the parent of the record.\n */\n parentId ? : string|number|null\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which position the node takes in the parent's children array.\n * This index is set on load and gets updated automatically after row reordering, sorting, etc.\n * To save the order, need to persist the field on the server and when data is fetched to be loaded,\n * need to sort by this field.\n */\n parentIndex ? : number\n /**\n * Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing\n * features such as cell editing and event dragging.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-readOnly)\n */\n readOnly ? : Boolean\n /**\n * This field is added to the class at runtime when the Store is configured with\n * [lazyLoad](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-lazyLoad). The\n * number specified should reflect the <strong>total</strong> amount of children of a parent node, including nested descendants.\n * @deprecated This field has been deprecated. Please read the [guide](https://bryntum.com/products/scheduler/docs/api/Grid/guides/data/lazyloading.md) to find out if your app needs to use the new [isFullyLoaded](https://bryntum.com/products/scheduler/docs/api/Core/data/mixin/TreeNode#field-isFullyLoaded) field.\n */\n remoteChildCount ? : number\n /**\n * The constructor of the resource model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [resourceStore](#Scheduler/model/ProjectModel#property-resourceStore)\n */\n resourceModelClass ? : typeof ResourceModel\n /**\n * Data use to fill the [resourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-resourceStore). Should be an array of\n * [ResourceModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceModel) or its configuration objects.\n */\n resources ? : ResourceModel[]|ResourceModelConfig[]\n /**\n * The initial data, to fill the [resourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-resourceStore) with.\n * Should be an array of [ResourceModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceModel) or its configuration objects.\n * @deprecated 6.3.0 Use [resources](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-resources) instead\n */\n resourcesData ? : ResourceModel[]|ResourceModelConfig[]\n /**\n * A [ResourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore) instance or a config object.\n */\n resourceStore ? : ResourceStore|ResourceStoreConfig\n /**\n * The constructor to create a resource store instance with. Should be a class, subclassing the\n * [ResourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore)\n */\n resourceStoreClass ? : typeof ResourceStore|object\n /**\n * Data use to fill the [resourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-resourceTimeRangeStore). Should be an array\n * of [ResourceTimeRangeModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceTimeRangeModel) or its configuration objects.\n */\n resourceTimeRanges ? : ResourceTimeRangeModel[]|ResourceTimeRangeModelConfig[]\n /**\n * The initial data, to fill the [resourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-resourceTimeRangeStore) with.\n * Should be an array of [ResourceTimeRangeModel](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceTimeRangeModel) or it's\n * configuration objects.\n * @deprecated 6.3.0 Use resourceTimeRanges instead\n */\n resourceTimeRangesData ? : ResourceTimeRangeModel[]\n /**\n * A [ResourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceTimeRangeStore) instance or a config object.\n */\n resourceTimeRangeStore ? : ResourceTimeRangeStore|ResourceTimeRangeStoreConfig\n /**\n * The constructor to create a resource time range store instance with. Should be a class subclassing the\n * [ResourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceTimeRangeStore)\n */\n resourceTimeRangeStoreClass ? : typeof ResourceTimeRangeStore|object\n /**\n * Experimental hook that lets the app determine if a bound dataset needs syncing with the store or not, and\n * if it does - which records that should be processed. Only called for stores that are configured with\n * `syncDataOnLoad: true` (which is the default in the React, Angular and Vue wrappers).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-shouldSyncDataOnLoad)\n * @param {object} options Options passed by the store to this hook\n * @param {Core.data.Store} options.store Store about to be synced\n * @param {Core.data.Model} options.records Records currently in the store\n * @param {object[]} options.data Incoming data\n * @returns {Set<any>,boolean} Return `false` to prevent the store from syncing, or a set of record ids that need further processing (for records that has some kind of change, eg. an update, removal or addition)\n */\n shouldSyncDataOnLoad ? : (options: { store: Store, records: Model, data: object[] }) => Set<any>|Boolean\n /**\n * Silences propagations caused by the project loading.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-silenceInitialCommit)\n */\n silenceInitialCommit ? : Boolean\n /**\n * Configuration options to provide to the STM manager\n */\n stm ? : StateTrackingManagerConfig|StateTrackingManager\n /**\n * Data use to fill the [timeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-timeRangeStore). Should be an array of\n * [TimeRangeModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/TimeRangeModel) or its configuration objects.\n */\n timeRanges ? : TimeRangeModel[]|TimeRangeModelConfig[]\n /**\n * The initial data, to fill the [timeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-timeRangeStore) with.\n * Should be an array of [TimeSpan](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/TimeSpan) or its configuration objects.\n * @deprecated 6.3.0 Use timeRanges instead\n */\n timeRangesData ? : TimeSpan[]\n /**\n * A [Store](https://bryntum.com/products/scheduler/docs/api/Core/data/Store) instance or a config object.\n */\n timeRangeStore ? : Store|StoreConfig\n /**\n * The constructor to create a time range store instance with. Should be a class subclassing the\n * [TimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/TimeRangeStore)\n */\n timeRangeStoreClass ? : typeof TimeRangeStore|object\n /**\n * Set to a IANA time zone (i.e. `Europe/Stockholm`) or a UTC offset in minutes (i.e. `-120`). This will\n * convert all events, tasks and time ranges to the specified time zone or offset. It will also affect the\n * displayed timeline's headers as well at the start and end date of it.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-timeZone)\n */\n timeZone ? : string|number\n /**\n * Specifies the output format of [toJSON](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelCommon#function-toJSON).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-toJSONResultFormat)\n */\n toJSONResultFormat ? : 'inlineData'|'model'\n /**\n * By default, the stores of a project use the raw data objects passed to them as the data source for their\n * records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,\n * the data objects are instead by default cloned to avoid the original data object being modified by the\n * store.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-useRawData)\n */\n useRawData ? : Boolean\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * Fired when data in any of the projects stores changes.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#event-change)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Scheduler.model.ProjectModel,any} params.params.event.source This project\n * @param {Core.data.Store} params.params.event.store Affected store\n * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`\n * @param {Core.data.Model} params.params.event.record Changed record, for actions that affects exactly one record (`'update'`)\n * @param {Core.data.Model[]} params.params.event.records Changed records, passed for all actions except `'removeAll'`\n * @param {object} params.params.event.changes Passed for the `'update'` action, info on which record fields changed\n */\n (e: 'change', params: ((event: { source: ProjectModel|any, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void\n /**\n * Fired when the engine has finished its calculations and the results has been written back to the records.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#event-dataReady)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Scheduler.model.ProjectModel,any} params.params.event.source The project\n * @param {boolean} params.params.event.isInitialCommit Flag that shows if this commit is initial\n * @param {Set<any>} params.params.event.records Set of all [Model](https://bryntum.com/products/scheduler/docs/api/Core/data/Model)s that were modified in the completed transaction. Use the [modifications](https://bryntum.com/products/scheduler/docs/api/Core/data/Model#property-modifications) property of each Model to identify modified fields.\n */\n (e: 'dataReady', params: ((event: { source: ProjectModel|any, isInitialCommit: boolean, records: Set<any> }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : ProjectModel,\n instanceName : 'ProjectModel',\n\n configNames : [\n 'adjustDurationToDST',\n 'assignmentModelClass',\n 'assignmentsData',\n 'assignmentStoreClass',\n 'children',\n 'dependenciesData',\n 'dependencyModelClass',\n 'dependencyStoreClass',\n 'eventModelClass',\n 'eventsData',\n 'eventStoreClass',\n 'expanded',\n 'orderedParentIndex',\n 'parentIndex',\n 'resourceModelClass',\n 'resourcesData',\n 'resourceStoreClass',\n 'resourceTimeRangesData',\n 'resourceTimeRangeStoreClass',\n 'silenceInitialCommit',\n 'timeRangesData',\n 'timeRangeStoreClass',\n 'toJSONResultFormat',\n 'useRawData'\n ],\n propertyConfigNames : [\n 'assignments',\n 'assignmentStore',\n 'dependencies',\n 'dependencyStore',\n 'events',\n 'eventStore',\n 'id',\n 'includeLegacyDataProperties',\n 'isFullyLoaded',\n 'json',\n 'onChange',\n 'onDataReady',\n 'parentId',\n 'readOnly',\n 'remoteChildCount',\n 'resources',\n 'resourceStore',\n 'resourceTimeRanges',\n 'resourceTimeRangeStore',\n 'shouldSyncDataOnLoad',\n 'stm',\n 'timeRanges',\n 'timeRangeStore',\n 'timeZone'\n ],\n propertyNames : [\n 'descendantCount',\n 'inlineData',\n 'isCreating',\n 'visibleDescendantCount'\n ],\n eventNames : [\n 'change',\n 'dataReady'\n ]\n};\n\nconst instance: {\n value?: ProjectModel\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof ProjectModel>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","ProjectModel","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwRA,UAAMA,IAAOC,GAgCPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAkC;AAAA,QAC7D,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBA7ZGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
|
|
@@ -104,6 +104,7 @@ const k = {
|
|
|
104
104
|
insertFirst: {},
|
|
105
105
|
keyMap: {},
|
|
106
106
|
labelPosition: {},
|
|
107
|
+
labelWidth: {},
|
|
107
108
|
listeners: {},
|
|
108
109
|
loadMask: {},
|
|
109
110
|
loadMaskDefaults: {},
|
|
@@ -140,6 +141,7 @@ const k = {
|
|
|
140
141
|
resourceTimeRangeRenderer: { type: Function },
|
|
141
142
|
responsiveLevels: {},
|
|
142
143
|
ripple: {},
|
|
144
|
+
role: {},
|
|
143
145
|
rootElement: {},
|
|
144
146
|
rowHeight: {},
|
|
145
147
|
rowLines: {},
|
|
@@ -154,6 +156,7 @@ const k = {
|
|
|
154
156
|
showBarTip: {},
|
|
155
157
|
showBarTipWhenNavigatingTimeAxis: {},
|
|
156
158
|
showDirty: {},
|
|
159
|
+
smoothZoom: {},
|
|
157
160
|
snap: {},
|
|
158
161
|
snapRelativeToEventStartDate: {},
|
|
159
162
|
span: {},
|
|
@@ -189,6 +192,7 @@ const k = {
|
|
|
189
192
|
weight: {},
|
|
190
193
|
width: {},
|
|
191
194
|
workingTime: {},
|
|
195
|
+
zoomFactor: {},
|
|
192
196
|
zoomKeepsOriginalTimespan: {},
|
|
193
197
|
zoomOnMouseWheel: {},
|
|
194
198
|
zoomOnTimeAxisDoubleClick: {},
|
|
@@ -243,7 +247,7 @@ const k = {
|
|
|
243
247
|
treeFeature: {},
|
|
244
248
|
treeGroupFeature: {}
|
|
245
249
|
},
|
|
246
|
-
emits: ["beforeAssignmentDelete", "beforeCancelCellEdit", "beforeCancelRowEdit", "beforeCellEditStart", "beforeCellRangeDelete", "beforeCellRangeEdit", "beforeColumnCollapseToggle", "beforeColumnDragStart", "beforeColumnDropFinalize", "beforeColumnResize", "beforeCopy", "beforeCSVExport", "beforeDestroy", "beforeEventDelete", "beforeExcelExport", "beforeFillHandleDragStart", "beforeFinishCellEdit", "beforeFinishRowEdit", "beforeHide", "beforeHistogramDataCacheSet", "beforePan", "beforePaste", "beforePdfExport", "beforePresetChange", "beforeRenderHistogramRow", "beforeRenderRecordHistogram", "beforeRenderRow", "beforeRenderRows", "beforeRowCollapse", "beforeRowExpand", "beforeSelectionChange", "beforeSetRecord", "beforeShow", "beforeStartRowEdit", "beforeStateApply", "beforeStateSave", "beforeToggleGroup", "beforeToggleNode", "cancelCellEdit", "catchAll", "cellClick", "cellContextMenu", "cellDblClick", "cellMenuBeforeShow", "cellMenuItem", "cellMenuShow", "cellMenuToggleItem", "cellMouseEnter", "cellMouseLeave", "cellMouseOut", "cellMouseOver", "collapse", "collapseNode", "columnCollapseToggle", "columnDrag", "columnDragStart", "columnDrop", "columnResize", "columnResizeStart", "contextMenuItem", "contextMenuToggleItem", "copy", "currentTimelineUpdate", "dataChange", "dateRangeChange", "destroy", "dirtyStateChange", "dragSelecting", "elementCreated", "expand", "expandNode", "fileDrop", "fillHandleBeforeDragFinalize", "fillHandleDrag", "fillHandleDragAbort", "fillHandleDragEnd", "fillHandleDragStart", "finishCellEdit", "finishRowEdit", "focusIn", "focusOut", "gridRowBeforeDragStart", "gridRowBeforeDropFinalize", "gridRowDrag", "gridRowDragAbort", "gridRowDragStart", "gridRowDrop", "headerClick", "headerMenuBeforeShow", "headerMenuItem", "headerMenuShow", "headerMenuToggleItem", "hide", "histogramDataCacheSet", "lockRows", "mouseOut", "mouseOver", "noZoomChange", "paint", "paste", "pdfExport", "presetChange", "readOnly", "recompose", "renderRow", "renderRows", "resize", "resourceMenuBeforeShow", "resourceMenuItem", "resourceMenuShow", "resourceMenuToggleItem", "resourceTimeRangeClick", "resourceTimeRangeContextMenu", "resourceTimeRangeDblClick", "resourceTimeRangeMouseDown", "resourceTimeRangeMouseOut", "resourceTimeRangeMouseOver", "resourceTimeRangeMouseUp", "responsive", "rowCollapse", "rowExpand", "rowMouseEnter", "rowMouseLeave", "scroll", "selectionChange", "selectionModeChange", "show", "split", "splitterCollapseClick", "splitterDragEnd", "splitterDragStart", "splitterExpandClick", "startCellEdit", "startRowEdit", "subGridCollapse", "subGridExpand", "tickSizeChange", "timeAxisChange", "timeAxisHeaderClick", "timeAxisHeaderContextMenu", "timeAxisHeaderDblClick", "timeAxisHeaderMenuBeforeShow", "timeAxisHeaderMenuItem", "timeAxisHeaderMenuShow", "timelineContextChange", "timelineViewportResize", "timeRangeHeaderClick", "timeRangeHeaderContextMenu", "timeRangeHeaderDblClick", "toggleGroup", "toggleNode", "toolClick", "treeGroup", "unlockRows", "unsplit", "visibleDateRangeChange"],
|
|
250
|
+
emits: ["beforeAssignmentDelete", "beforeCancelCellEdit", "beforeCancelRowEdit", "beforeCellEditStart", "beforeCellRangeDelete", "beforeCellRangeEdit", "beforeColumnCollapseToggle", "beforeColumnDragStart", "beforeColumnDropFinalize", "beforeColumnResize", "beforeCopy", "beforeCSVExport", "beforeDestroy", "beforeEventDelete", "beforeExcelExport", "beforeFillHandleDragStart", "beforeFinishCellEdit", "beforeFinishRowEdit", "beforeHide", "beforeHistogramDataCacheSet", "beforePan", "beforePaste", "beforePdfExport", "beforePresetChange", "beforeRenderHistogramRow", "beforeRenderRecordHistogram", "beforeRenderRow", "beforeRenderRows", "beforeRowCollapse", "beforeRowExpand", "beforeSelectionChange", "beforeSetRecord", "beforeShow", "beforeStartRowEdit", "beforeStateApply", "beforeStateSave", "beforeToggleGroup", "beforeToggleNode", "cancelCellEdit", "catchAll", "cellClick", "cellContextMenu", "cellDblClick", "cellMenuBeforeShow", "cellMenuItem", "cellMenuShow", "cellMenuToggleItem", "cellMouseEnter", "cellMouseLeave", "cellMouseOut", "cellMouseOver", "collapse", "collapseNode", "columnCollapseToggle", "columnDrag", "columnDragStart", "columnDrop", "columnResize", "columnResizeStart", "contextMenuItem", "contextMenuToggleItem", "copy", "currentTimelineUpdate", "dataChange", "dateRangeChange", "destroy", "dirtyStateChange", "dragSelecting", "elementCreated", "expand", "expandNode", "fileDrop", "fillHandleBeforeDragFinalize", "fillHandleDrag", "fillHandleDragAbort", "fillHandleDragEnd", "fillHandleDragStart", "finishCellEdit", "finishRowEdit", "focusIn", "focusOut", "gridRowBeforeDragStart", "gridRowBeforeDropFinalize", "gridRowDrag", "gridRowDragAbort", "gridRowDragStart", "gridRowDrop", "headerClick", "headerMenuBeforeShow", "headerMenuItem", "headerMenuShow", "headerMenuToggleItem", "hide", "histogramDataCacheSet", "lockRows", "mouseOut", "mouseOver", "noZoomChange", "paint", "paste", "pdfExport", "presetChange", "readOnly", "recompose", "renderRow", "renderRows", "resize", "resourceMenuBeforeShow", "resourceMenuItem", "resourceMenuShow", "resourceMenuToggleItem", "resourceTimeRangeClick", "resourceTimeRangeContextMenu", "resourceTimeRangeDblClick", "resourceTimeRangeMouseDown", "resourceTimeRangeMouseOut", "resourceTimeRangeMouseOver", "resourceTimeRangeMouseUp", "responsive", "rowCollapse", "rowExpand", "rowMouseEnter", "rowMouseLeave", "scroll", "selectionChange", "selectionModeChange", "show", "split", "splitterCollapseClick", "splitterDragEnd", "splitterDragStart", "splitterExpandClick", "startCellEdit", "startRowEdit", "subGridCollapse", "subGridExpand", "tickSizeChange", "timeAxisChange", "timeAxisHeaderClick", "timeAxisHeaderContextMenu", "timeAxisHeaderDblClick", "timeAxisHeaderMenuBeforeShow", "timeAxisHeaderMenuItem", "timeAxisHeaderMenuShow", "timelineContextChange", "timelineViewportResize", "timeRangeHeaderClick", "timeRangeHeaderContextMenu", "timeRangeHeaderDblClick", "toggleGroup", "toggleNode", "toolClick", "treeGroup", "unlockRows", "unsplit", "visibleDateRangeChange", "zoomLevelChange"],
|
|
247
251
|
setup(B, { expose: c, emit: m }) {
|
|
248
252
|
const p = m, i = {
|
|
249
253
|
instanceClass: H,
|
|
@@ -385,6 +389,7 @@ const k = {
|
|
|
385
389
|
"resourceTimeRangeRenderer",
|
|
386
390
|
"responsiveLevels",
|
|
387
391
|
"ripple",
|
|
392
|
+
"role",
|
|
388
393
|
"rootElement",
|
|
389
394
|
"scaleColumn",
|
|
390
395
|
"scrollerClass",
|
|
@@ -392,6 +397,7 @@ const k = {
|
|
|
392
397
|
"series",
|
|
393
398
|
"showBarTipWhenNavigatingTimeAxis",
|
|
394
399
|
"showDirty",
|
|
400
|
+
"smoothZoom",
|
|
395
401
|
"snapRelativeToEventStartDate",
|
|
396
402
|
"stateful",
|
|
397
403
|
"statefulEvents",
|
|
@@ -454,6 +460,7 @@ const k = {
|
|
|
454
460
|
"insertFirst",
|
|
455
461
|
"keyMap",
|
|
456
462
|
"labelPosition",
|
|
463
|
+
"labelWidth",
|
|
457
464
|
"longPressTime",
|
|
458
465
|
"margin",
|
|
459
466
|
"maxDate",
|
|
@@ -620,6 +627,7 @@ const k = {
|
|
|
620
627
|
"onUnlockRows",
|
|
621
628
|
"onUnsplit",
|
|
622
629
|
"onVisibleDateRangeChange",
|
|
630
|
+
"onZoomLevelChange",
|
|
623
631
|
"preserveScroll",
|
|
624
632
|
"presets",
|
|
625
633
|
"readOnly",
|
|
@@ -648,11 +656,10 @@ const k = {
|
|
|
648
656
|
"viewPreset",
|
|
649
657
|
"visibleDate",
|
|
650
658
|
"width",
|
|
651
|
-
"workingTime"
|
|
659
|
+
"workingTime",
|
|
660
|
+
"zoomFactor"
|
|
652
661
|
],
|
|
653
662
|
propertyNames: [
|
|
654
|
-
"focusVisible",
|
|
655
|
-
"hasChanges",
|
|
656
663
|
"originalStore",
|
|
657
664
|
"parent",
|
|
658
665
|
"scrollLeft",
|
|
@@ -823,7 +830,8 @@ const k = {
|
|
|
823
830
|
"treeGroup",
|
|
824
831
|
"unlockRows",
|
|
825
832
|
"unsplit",
|
|
826
|
-
"visibleDateRangeChange"
|
|
833
|
+
"visibleDateRangeChange",
|
|
834
|
+
"zoomLevelChange"
|
|
827
835
|
]
|
|
828
836
|
}, r = {}, a = u(), l = u(/* @__PURE__ */ new Map());
|
|
829
837
|
return R("teleports", l), h(() => {
|
|
@@ -870,4 +878,4 @@ const k = {
|
|
|
870
878
|
export {
|
|
871
879
|
P as _
|
|
872
880
|
};
|
|
873
|
-
//# sourceMappingURL=
|
|
881
|
+
//# sourceMappingURL=DP61St-u.js.map
|