@bryntum/scheduler-vue-3-thin 7.2.4 → 7.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +8 -8
  2. package/lib/chunks/{B0m0r-NV.js → BTSObfAz.js} +11 -9
  3. package/lib/chunks/BTSObfAz.js.map +1 -0
  4. package/lib/chunks/BXIuEgYD.js +265 -0
  5. package/lib/chunks/BXIuEgYD.js.map +1 -0
  6. package/lib/chunks/{DerP_qo7.js → CCTV8qn0.js} +18 -10
  7. package/lib/chunks/CCTV8qn0.js.map +1 -0
  8. package/lib/chunks/{CsoS615B.js → COFzBhB8.js} +11 -9
  9. package/lib/chunks/COFzBhB8.js.map +1 -0
  10. package/lib/chunks/{BD-Hg3lY.js → DB0UHrA3.js} +17 -24
  11. package/lib/chunks/DB0UHrA3.js.map +1 -0
  12. package/lib/chunks/{C7ZFK2B7.js → DJSlX0qP.js} +18 -10
  13. package/lib/chunks/DJSlX0qP.js.map +1 -0
  14. package/lib/chunks/{DmQj0tBi.js → DP61St-u.js} +14 -6
  15. package/lib/chunks/DP61St-u.js.map +1 -0
  16. package/lib/chunks/{mKqb8_2f.js → LNqNYJck.js} +9 -7
  17. package/lib/chunks/LNqNYJck.js.map +1 -0
  18. package/lib/chunks/{CP1Mm_Ak.js → R69sJLmF.js} +16 -17
  19. package/lib/chunks/R69sJLmF.js.map +1 -0
  20. package/lib/chunks/{BNGLBrCN.js → WykRcMCN.js} +7 -5
  21. package/lib/chunks/WykRcMCN.js.map +1 -0
  22. package/lib/chunks/{C0UqC4Uj.js → eUISgYXE.js} +9 -9
  23. package/lib/chunks/eUISgYXE.js.map +1 -0
  24. package/lib/chunks/{C2PT-Ukt.js → t8aiH3XL.js} +13 -14
  25. package/lib/chunks/t8aiH3XL.js.map +1 -0
  26. package/lib/components/BryntumEventColorField.js +1 -1
  27. package/lib/components/BryntumProjectCombo.js +1 -1
  28. package/lib/components/BryntumResourceCombo.js +1 -1
  29. package/lib/components/BryntumResourceFilter.js +1 -1
  30. package/lib/components/BryntumScheduler.js +1 -1
  31. package/lib/components/BryntumSchedulerBase.js +1 -1
  32. package/lib/components/BryntumSchedulerDatePicker.js +1 -1
  33. package/lib/components/BryntumSchedulerProjectModel.js +1 -1
  34. package/lib/components/BryntumThemeCombo.js +57 -0
  35. package/lib/components/BryntumThemeCombo.js.map +1 -0
  36. package/lib/components/BryntumTimeZoomSlider.js +5 -0
  37. package/lib/components/BryntumTimeZoomSlider.js.map +1 -0
  38. package/lib/components/BryntumTimelineHistogram.js +1 -1
  39. package/lib/components/BryntumUndoRedo.js +1 -1
  40. package/lib/components/BryntumViewPresetCombo.js +1 -1
  41. package/lib/index.js +18 -16
  42. package/lib/index.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/components/BryntumEventColorField.vue +152 -222
  45. package/src/components/BryntumEventColorFieldProps.ts +77 -108
  46. package/src/components/BryntumProjectCombo.vue +171 -258
  47. package/src/components/BryntumProjectComboProps.ts +95 -141
  48. package/src/components/BryntumResourceCombo.vue +172 -260
  49. package/src/components/BryntumResourceComboProps.ts +96 -143
  50. package/src/components/BryntumResourceFilter.vue +132 -211
  51. package/src/components/BryntumResourceFilterProps.ts +60 -98
  52. package/src/components/BryntumScheduler.vue +1847 -2520
  53. package/src/components/BryntumSchedulerBase.vue +1847 -2520
  54. package/src/components/BryntumSchedulerBaseProps.ts +372 -522
  55. package/src/components/BryntumSchedulerDatePicker.vue +205 -331
  56. package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
  57. package/src/components/BryntumSchedulerProjectModel.vue +23 -46
  58. package/src/components/BryntumSchedulerProjectModelProps.ts +10 -20
  59. package/src/components/BryntumSchedulerProps.ts +372 -522
  60. package/src/components/BryntumThemeCombo.vue +60 -0
  61. package/src/components/BryntumTimeZoomSlider.vue +829 -0
  62. package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
  63. package/src/components/BryntumTimelineHistogram.vue +1034 -1461
  64. package/src/components/BryntumTimelineHistogramProps.ts +275 -388
  65. package/src/components/BryntumUndoRedo.vue +127 -204
  66. package/src/components/BryntumUndoRedoProps.ts +74 -116
  67. package/src/components/BryntumViewPresetCombo.vue +144 -210
  68. package/src/components/BryntumViewPresetComboProps.ts +72 -99
  69. package/src/index.ts +2 -0
  70. package/lib/chunks/B0m0r-NV.js.map +0 -1
  71. package/lib/chunks/BD-Hg3lY.js.map +0 -1
  72. package/lib/chunks/BNGLBrCN.js.map +0 -1
  73. package/lib/chunks/C0UqC4Uj.js.map +0 -1
  74. package/lib/chunks/C2PT-Ukt.js.map +0 -1
  75. package/lib/chunks/C7ZFK2B7.js.map +0 -1
  76. package/lib/chunks/CP1Mm_Ak.js.map +0 -1
  77. package/lib/chunks/CsoS615B.js.map +0 -1
  78. package/lib/chunks/DerP_qo7.js.map +0 -1
  79. package/lib/chunks/DmQj0tBi.js.map +0 -1
  80. package/lib/chunks/mKqb8_2f.js.map +0 -1
package/README.md CHANGED
@@ -84,7 +84,7 @@ Create a `SchedulerConfig.ts` file in the `src/` directory with the following co
84
84
  ```typescript
85
85
  import { type BryntumSchedulerProps } from '@bryntum/scheduler-vue-3';
86
86
 
87
- export const schedulerConfig : BryntumSchedulerProps = {
87
+ export const schedulerProps : BryntumSchedulerProps = {
88
88
  startDate : new Date(2026, 0, 1),
89
89
  endDate : new Date(2026, 1, 10),
90
90
  viewPreset : 'hourAndDay',
@@ -96,7 +96,7 @@ export const schedulerConfig : BryntumSchedulerProps = {
96
96
  columns : [{ text : 'Name', field : 'name', width : 130 }],
97
97
  // CrudManager arranges loading and syncing of data in JSON form from/to a web service
98
98
  crudManager : {
99
- loadUrl : 'data/data.json',
99
+ loadUrl : 'data/data.json',
100
100
  autoLoad : true
101
101
  }
102
102
  };
@@ -174,10 +174,10 @@ API packages:
174
174
  ```json
175
175
  {
176
176
  "dependencies": {
177
- "@bryntum/core-thin": "7.2.4",
178
- "@bryntum/engine-thin": "7.2.4",
179
- "@bryntum/grid-thin": "7.2.4",
180
- "@bryntum/scheduler-thin": "7.2.4"
177
+ "@bryntum/core-thin": "7.3.1",
178
+ "@bryntum/engine-thin": "7.3.1",
179
+ "@bryntum/grid-thin": "7.3.1",
180
+ "@bryntum/scheduler-thin": "7.3.1"
181
181
  }
182
182
  }
183
183
  ```
@@ -187,8 +187,8 @@ Framework wrapper packages:
187
187
  ```json
188
188
  {
189
189
  "dependencies": {
190
- "@bryntum/core-vue-3-thin": "7.2.4",
191
- "@bryntum/scheduler-vue-3-thin": "7.2.4"
190
+ "@bryntum/core-vue-3-thin": "7.3.1",
191
+ "@bryntum/scheduler-vue-3-thin": "7.3.1"
192
192
  }
193
193
  }
194
194
  ```
@@ -1,4 +1,4 @@
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 x, watch as C } from "vue";
1
+ import { defineComponent as h, ref as a, provide as u, onMounted as b, getCurrentInstance as g, toRaw as f, onBeforeUnmount as y, openBlock as w, createElementBlock as x, watch as C } from "vue";
2
2
  import { ViewPresetCombo as S } from "@bryntum/scheduler-thin";
3
3
  import { WrapperHelper as r } from "../helper/WrapperHelper.js";
4
4
  const E = /* @__PURE__ */ h({
@@ -16,6 +16,7 @@ const E = /* @__PURE__ */ h({
16
16
  callOnFunctions: {},
17
17
  catchEventHandlerExceptions: {},
18
18
  centered: {},
19
+ checkValidity: { type: [Function, String] },
19
20
  clearTextOnSelection: {},
20
21
  clearWhenInputEmpty: {},
21
22
  client: {},
@@ -81,6 +82,7 @@ const E = /* @__PURE__ */ h({
81
82
  relayStoreEvents: {},
82
83
  rendition: {},
83
84
  ripple: {},
85
+ role: {},
84
86
  rootElement: {},
85
87
  rtl: {},
86
88
  scrollAction: {},
@@ -101,7 +103,7 @@ const E = /* @__PURE__ */ h({
101
103
  y: {}
102
104
  },
103
105
  emits: ["action", "beforeDestroy", "beforeHide", "beforeShow", "catchAll", "change", "clear", "destroy", "elementCreated", "focusIn", "focusOut", "hide", "paint", "readOnly", "recompose", "resize", "select", "show", "trigger"],
104
- setup(A, { expose: s, emit: c }) {
106
+ setup(k, { expose: s, emit: c }) {
105
107
  const d = c, i = {
106
108
  instanceClass: S,
107
109
  instanceName: "ViewPresetCombo",
@@ -113,6 +115,7 @@ const E = /* @__PURE__ */ h({
113
115
  "bubbleEvents",
114
116
  "cacheLastResult",
115
117
  "centered",
118
+ "checkValidity",
116
119
  "clearTextOnSelection",
117
120
  "clearWhenInputEmpty",
118
121
  "client",
@@ -157,6 +160,7 @@ const E = /* @__PURE__ */ h({
157
160
  "preventTooltipOnTouch",
158
161
  "relayStoreEvents",
159
162
  "ripple",
163
+ "role",
160
164
  "rootElement",
161
165
  "scrollAction",
162
166
  "showAnimation",
@@ -224,8 +228,6 @@ const E = /* @__PURE__ */ h({
224
228
  "y"
225
229
  ],
226
230
  propertyNames: [
227
- "anchorSize",
228
- "focusVisible",
229
231
  "formula",
230
232
  "input",
231
233
  "multiSelect",
@@ -257,7 +259,7 @@ const E = /* @__PURE__ */ h({
257
259
  "show",
258
260
  "trigger"
259
261
  ]
260
- }, e = {}, t = l(), o = l(/* @__PURE__ */ new Map());
262
+ }, e = {}, t = a(), o = a(/* @__PURE__ */ new Map());
261
263
  return u("teleports", o), b(() => {
262
264
  const n = g();
263
265
  e.value = r.createWidget({
@@ -267,15 +269,15 @@ const E = /* @__PURE__ */ h({
267
269
  element: t.value,
268
270
  toRaw: f
269
271
  });
270
- const a = (p, m) => C(() => n.props[p], m);
271
- r.watchProps(e.value, i, a);
272
+ const l = (p, m) => C(() => n.props[p], m);
273
+ r.watchProps(e.value, i, l);
272
274
  }), y(() => {
273
275
  e.value?.destroy?.();
274
276
  }), s({
275
277
  instance: e,
276
278
  refElement: t,
277
279
  teleports: o
278
- }), (n, a) => (w(), x("div", {
280
+ }), (n, l) => (w(), x("div", {
279
281
  ref_key: "refElement",
280
282
  ref: t
281
283
  }, null, 512));
@@ -284,4 +286,4 @@ const E = /* @__PURE__ */ h({
284
286
  export {
285
287
  E as _
286
288
  };
287
- //# sourceMappingURL=B0m0r-NV.js.map
289
+ //# sourceMappingURL=BTSObfAz.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BTSObfAz.js","sources":["../../src/components/BryntumViewPresetCombo.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum ViewPresetCombo -->\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, Combo, Duration, DurationConfig, Field, KeyMapConfig, MaskConfig, Model, Rectangle, TabConfig, Widget } from '@bryntum/core-thin';\nimport type { TimelineBase, ViewPresetComboListeners } from '@bryntum/scheduler-thin';\nimport { ViewPresetCombo } from '@bryntum/scheduler-thin';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\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/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Initial text to show in badge.\n */\n badge ? : 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/ViewPresetCombo#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Enable caching of the last retrieved result until the timeout is reached.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-cacheLastResult)\n */\n cacheLastResult ? : number|string|Duration|DurationConfig\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/ViewPresetCombo#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/ViewPresetCombo#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 * A function (or the name of a function in the ownership hierarchy) called during field validation\n * to perform custom validity checks. The function is called as part of the [isValid](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-isValid)\n * evaluation, after the built-in [required](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-required) check.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-checkValidity)\n * @param {Core.widget.Field} field The field being validated\n * @returns {void}\n */\n checkValidity ? : ((field: Field) => void)|string\n /**\n * Specify `false` to not clear value typed to a multiselect combo when an item is selected.\n */\n clearTextOnSelection ? : Boolean\n /**\n * Set to `true` to clear this field when user empties the input element\n */\n clearWhenInputEmpty ? : Boolean\n /**\n * If not added to a toolbar, provide a Scheduler, SchedulerPro or Gantt component instance to which the\n * ViewPresetCombo should be connected.\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/ViewPresetCombo#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/ViewPresetCombo#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 * 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/ViewPresetCombo#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 * 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/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#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 * User can edit text in text field (otherwise only pick from attached picker)\n */\n editable ? : Boolean\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/ViewPresetCombo#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 `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` 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/ViewPresetCombo#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * By default, the picker is hidden on selection in single select mode, and\n * remains to allow more selections when [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`.\n * Setting this to a `Boolean` value can override that default.\n */\n hidePickerOnSelect ? : Boolean\n /**\n * An optional string to display inside the input field as an overlay. This can be useful for displaying\n * a field's units.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hint)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hint ? : string|((data: { source: Field, value: any }) => string)\n /**\n * This config is similar to [hint](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-hint) except that this config is used to display HTML content.\n * Since this can allow malicious content to be executed, be sure not to include user-entered data or to\n * encode such data (see [encodeHtml](https://bryntum.com/products/scheduler/docs/api/Core/helper/StringHelper#function-encodeHtml-static)).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-hintHtml)\n * @param {object} data A data object\n * @param {Core.widget.Field} data.source A reference to the field instance\n * @param {any} data.value The current value of the field\n * @returns {string}\n */\n hintHtml ? : string|((data: { source: Field, value: any }) => string)\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/ViewPresetCombo#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Text alignment for the input field.\n */\n inputAlign ? : string\n /**\n * Sets custom attributes of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)\n */\n inputAttributes ? : Record<string, string>\n /**\n * If you need to use something else than a default `input` element, as the input element, provide the tag\n * name here. Please note that this is used for advanced usage only, for example when using WebComponents\n * (custom elements), and that the configured element must fulfil the same contract as a regular input\n * element.\n */\n inputTag ? : string\n /**\n * The width to apply to the `.b-field-inner` element, which encompasses the `input` element and any\n * triggers. If a number is specified, `px` will be used.\n */\n inputWidth ? : string|number\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/ViewPresetCombo#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/ViewPresetCombo#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|null\n /**\n * The labels to add either before or after the input field.\n * Each label may have the following properties:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-labels)\n * @property {string} html Label text\n * @property {'start','end'} align Which end of the file the label should go\n */\n labels ? : object[]\n /**\n * The width to apply to the `&lt;label&gt;` element. If a number is specified, `px` will be used.\n */\n labelWidth ? : string|number\n /**\n * CSS class to add to picker\n */\n listCls ? : string\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listeners)\n */\n listeners ? : ViewPresetComboListeners\n /**\n * Template string used to render the list items in the dropdown list\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-listItemTpl)\n * @param {Core.data.Model} record The record representing the item being rendered\n * @returns {string,void}\n */\n listItemTpl ? : (record: Model) => string|void\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/ViewPresetCombo#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/ViewPresetCombo#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 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/ViewPresetCombo#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 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/ViewPresetCombo#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * Name of the field which is used as a key to get/set values from/to the field.\n * Used prior to [ref](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-ref) and [id](#Core/widget/Widget#config-id) in\n * [Container.values](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-name)\n */\n name ? : string\n /**\n * This implies that the picker will display an anchor pointer, but also means that the picker will align closer\n * to the input field so that the pointer pierces the [pickerAlignElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-pickerAlignElement)\n */\n overlayAnchor ? : Boolean\n /**\n * Width of picker, defaults to this combo's [pickerAlignElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-pickerAlignElement) width\n */\n pickerWidth ? : number|string\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/ViewPresetCombo#config-positioned)\n */\n positioned ? : Boolean\n /**\n * An array containing string [ViewPreset](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset) ids available for selection. The specified\n * presets must be [available](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineViewPresets#config-presets) for the\n * [client](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-client) (Scheduler, SchedulerPro or Gantt) for it to work properly. The selectable presets\n * will be arranged in the order provided here.\n */\n presets ? : any[]\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 * Makes the field unmodifiable by user action. The input area is not editable, and triggers\n * are unresponsive.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-readOnly)\n */\n readOnly ? : Boolean\n relayStoreEvents ? : Boolean\n /**\n * Predefined style to use for the field. Possible values are:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-rendition)\n */\n rendition ? : 'outlined'|'filled'|string\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/ViewPresetCombo#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/ViewPresetCombo#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/ViewPresetCombo#config-rtl)\n */\n rtl ? : Boolean\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/ViewPresetCombo#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * `true` to automatically display a * after the label for this field when it is [required](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-required).\n */\n showRequiredIndicator ? : string\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 * Set to `true`, completely bypasses validation logic (could be userful if your field is not `editable`\n * to the user).\n */\n skipValidation ? : 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/ViewPresetCombo#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * The tab index of the input field or fields, or `null` for natural tab order (recommended). Setting to `0`\n * is equivalent to natural tab order, but is unnecessary for fields since they are naturally tabbable\n * (i.e., accessible via the TAB key). Setting to `-1` disables tabbability but allows for focus to be set\n * to the element programmatically.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-tabIndex)\n */\n tabIndex ? : number\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/ViewPresetCombo#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n type ? : 'viewpresetcombo'\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/ViewPresetCombo#config-ui)\n */\n ui ? : string|object\n /**\n * As default, a preset change by the ViewPresetCombo will result in that the `startDate` will be calculated to\n * the beginning of the [mainUnit](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset#field-mainUnit) of the\n * [viewportCenterDate](https://bryntum.com/products/scheduler/docs/api/Scheduler/view/mixin/TimelineDateMapper#property-viewportCenterDate). If the ViewPreset has a\n * [start](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset#field-start) configured, this will be added to the calculation. The\n * `endDate` will then be calculated by adding the ViewPreset's\n * [defaultSpan](https://bryntum.com/products/scheduler/docs/api/Scheduler/preset/ViewPreset#field-defaultSpan) to the `startDate`.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#config-useFixedDuration)\n */\n useFixedDuration ? : Boolean\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/ViewPresetCombo#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/ViewPresetCombo#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * The default action was performed (an item in the list was selected)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Combo} params.event.source The combo\n * @param {any} params.event.value The [value](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-valueField) of the selected record\n * @param {Core.data.Model} params.event.record Selected record\n * @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`\n * @param {boolean} params.event.userAction `true` if the value change is due to user interaction\n */\n (e: 'action', params: ((event: { source: Combo, value: any, record: Model, records: Model[], userAction: boolean }) => void)|string): void\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} 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 {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): 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 {object} params.event Event object\n * @param {Core.widget.Widget,any} 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/ViewPresetCombo#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details\n * @param {string} 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 when this field's value changes.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n * @param {string,number,boolean,any} params.event.value This field's value\n * @param {string,number,boolean,any} params.event.oldValue This field's previous value\n * @param {boolean} params.event.valid True if this field is in a valid state\n * @param {Event} params.event.event The triggering DOM event if any\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {boolean} params.event.checked\n */\n (e: 'change', params: ((event: { source: Field|any, value: string|number|boolean|any, oldValue: string|number|boolean|any, valid: boolean, event: Event, userAction: boolean, checked: boolean }) => void)|string): void\n /**\n * Fired when this field is [cleared](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#function-clear).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ViewPresetCombo#event-clear)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This Field\n */\n (e: 'clear', params: ((event: { source: Field|any }) => 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 {object} params.event Event object\n * @param {Core.Base} 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 {object} params.event Event object\n * @param {HTMLElement} 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 {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} 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 {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} 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 {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => 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/ViewPresetCombo#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being painted.\n * @param {boolean} 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 {object} params.event Event object\n * @param {boolean} 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 {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} 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 * An item in the list was selected\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Combo} params.event.source The combo\n * @param {Core.data.Model} params.event.record Selected record\n * @param {Core.data.Model[]} params.event.records Selected records as an array if [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`\n * @param {boolean} params.event.userAction `true` if the value change is due to user interaction\n */\n (e: 'select', params: ((event: { source: Combo, record: Model, records: Model[], userAction: boolean }) => 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 {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n /**\n * User clicked one of this field's [triggers](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-triggers)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Field,any} params.event.source This field\n * @param {Core.widget.Widget} params.event.trigger The trigger activated by click or touch tap.\n */\n (e: 'trigger', params: ((event: { source: Field|any, trigger: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : ViewPresetCombo,\n instanceName : 'ViewPresetCombo',\n\n configNames : [\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'bubbleEvents',\n 'cacheLastResult',\n 'centered',\n 'checkValidity',\n 'clearTextOnSelection',\n 'clearWhenInputEmpty',\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 'hidePickerOnSelect',\n 'hint',\n 'hintHtml',\n 'ignoreParentReadOnly',\n 'inputAlign',\n 'inputAttributes',\n 'inputTag',\n 'inputWidth',\n 'labelCls',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'listCls',\n 'listeners',\n 'listItemTpl',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'name',\n 'overlayAnchor',\n 'pickerWidth',\n 'positioned',\n 'presets',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'tab',\n 'tabIndex',\n 'textAlign',\n 'type',\n 'ui',\n 'useFixedDuration',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'disabled',\n 'editable',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'id',\n 'insertBefore',\n 'insertFirst',\n 'keyMap',\n 'label',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'onAction',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeShow',\n 'onCatchAll',\n 'onChange',\n 'onClear',\n 'onDestroy',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onSelect',\n 'onShow',\n 'onTrigger',\n 'readOnly',\n 'rendition',\n 'rtl',\n 'showRequiredIndicator',\n 'span',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'formula',\n 'input',\n 'multiSelect',\n 'parent',\n 'picker',\n 'placeholder',\n 'required',\n 'tooltip',\n 'value'\n ],\n eventNames : [\n 'action',\n 'beforeDestroy',\n 'beforeHide',\n 'beforeShow',\n 'catchAll',\n 'change',\n 'clear',\n 'destroy',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'select',\n 'show',\n 'trigger'\n ]\n};\n\nconst instance: {\n value?: ViewPresetCombo\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 ViewPresetCombo>({\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","ViewPresetCombo","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":"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"}
@@ -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 `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` 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 `&lt;label&gt;` 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 {object} params.event Event object\n * @param {Core.Base} 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 {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): 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 {object} params.event Event object\n * @param {Core.widget.Widget,any} 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 {object} params.event Event object\n * @param {{[key: string]: any, type: string}} params.event.event The Object that contains event details\n * @param {string} 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 {object} params.event Event object\n * @param {number} params.event.value The value\n * @param {boolean} params.event.userAction Triggered by user taking an action (`true`) or by setting a value (`false`)\n * @param {Core.widget.Slider} 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 {object} params.event Event object\n * @param {Core.Base} 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 {object} params.event Event object\n * @param {HTMLElement} 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 {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} 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 {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} 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 {object} params.event Event object\n * @param {Core.widget.Widget} 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 {object} params.event Event object\n * @param {Core.widget.Slider} params.event.source The slider\n * @param {number} 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 {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being painted.\n * @param {boolean} 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 {object} params.event Event object\n * @param {boolean} 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 {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} 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 {object} params.event Event object\n * @param {Core.widget.Widget} 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":"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"}