@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
@@ -1,4 +1,4 @@
1
- import { defineComponent as h, ref as o, provide as u, onMounted as g, getCurrentInstance as y, toRaw as b, onBeforeUnmount as f, openBlock as C, createElementBlock as S, watch as k } from "vue";
1
+ import { defineComponent as h, ref as o, provide as u, onMounted as g, getCurrentInstance as y, toRaw as b, onBeforeUnmount as f, openBlock as k, createElementBlock as C, watch as S } from "vue";
2
2
  import { ResourceCombo as x } from "@bryntum/scheduler-thin";
3
3
  import { WrapperHelper as r } from "../helper/WrapperHelper.js";
4
4
  const w = /* @__PURE__ */ h({
@@ -21,6 +21,7 @@ const w = /* @__PURE__ */ h({
21
21
  caseSensitive: {},
22
22
  catchEventHandlerExceptions: {},
23
23
  centered: {},
24
+ checkValidity: { type: [Function, String] },
24
25
  chipView: {},
25
26
  clearable: {},
26
27
  clearTextOnPickerHide: {},
@@ -118,6 +119,7 @@ const w = /* @__PURE__ */ h({
118
119
  required: {},
119
120
  revertOnEscape: {},
120
121
  ripple: {},
122
+ role: {},
121
123
  rootElement: {},
122
124
  rtl: {},
123
125
  scrollAction: {},
@@ -148,8 +150,8 @@ const w = /* @__PURE__ */ h({
148
150
  y: {}
149
151
  },
150
152
  emits: ["action", "beforeDestroy", "beforeHide", "beforeShow", "catchAll", "change", "clear", "destroy", "elementCreated", "focusIn", "focusOut", "hide", "input", "paint", "readOnly", "recompose", "resize", "select", "show", "trigger"],
151
- setup(O, { expose: s, emit: c }) {
152
- const p = c, n = {
153
+ setup(O, { expose: c, emit: s }) {
154
+ const p = s, n = {
153
155
  instanceClass: x,
154
156
  instanceName: "ResourceCombo",
155
157
  configNames: [
@@ -165,6 +167,7 @@ const w = /* @__PURE__ */ h({
165
167
  "cacheLastResult",
166
168
  "caseSensitive",
167
169
  "centered",
170
+ "checkValidity",
168
171
  "chipView",
169
172
  "clearable",
170
173
  "clearTextOnPickerHide",
@@ -235,6 +238,7 @@ const w = /* @__PURE__ */ h({
235
238
  "relayStoreEvents",
236
239
  "revertOnEscape",
237
240
  "ripple",
241
+ "role",
238
242
  "rootElement",
239
243
  "scrollAction",
240
244
  "showAnimation",
@@ -319,9 +323,7 @@ const w = /* @__PURE__ */ h({
319
323
  "y"
320
324
  ],
321
325
  propertyNames: [
322
- "anchorSize",
323
326
  "content",
324
- "focusVisible",
325
327
  "formula",
326
328
  "html",
327
329
  "input",
@@ -360,15 +362,15 @@ const w = /* @__PURE__ */ h({
360
362
  element: t.value,
361
363
  toRaw: b
362
364
  });
363
- const l = (d, m) => k(() => i.props[d], m);
365
+ const l = (d, m) => S(() => i.props[d], m);
364
366
  r.watchProps(e.value, n, l);
365
367
  }), f(() => {
366
368
  e.value?.destroy?.();
367
- }), s({
369
+ }), c({
368
370
  instance: e,
369
371
  refElement: t,
370
372
  teleports: a
371
- }), (i, l) => (C(), S("div", {
373
+ }), (i, l) => (k(), C("div", {
372
374
  ref_key: "refElement",
373
375
  ref: t
374
376
  }, null, 512));
@@ -377,4 +379,4 @@ const w = /* @__PURE__ */ h({
377
379
  export {
378
380
  w as _
379
381
  };
380
- //# sourceMappingURL=CsoS615B.js.map
382
+ //# sourceMappingURL=COFzBhB8.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"COFzBhB8.js","sources":["../../src/components/BryntumResourceCombo.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum ResourceCombo -->\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, ChipViewConfig, CollectionCompareOperator, CollectionFilterConfig, Color, Combo, Duration, DurationConfig, Field, FieldContainerConfig, FieldTriggerConfig, KeyMapConfig, ListConfig, MaskConfig, Model, Rectangle, Store, StoreConfig, TabConfig, TooltipConfig, Widget } from '@bryntum/core-thin';\nimport type { SchedulerContainerItemConfig, ResourceComboListeners } from '@bryntum/scheduler-thin';\nimport { ResourceCombo } 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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Sets the native `autocomplete` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete)\n */\n autoComplete ? : string\n /**\n * Configure as `true` to have the picker expand upon focus enter.\n */\n autoExpand ? : Boolean\n /**\n * Specify `true` to auto select field contents on focus\n */\n autoSelect ? : Boolean\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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * Configure as `true` to force case matching when filtering the dropdown list based upon the typed value.\n */\n caseSensitive ? : 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/ResourceCombo#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/ResourceCombo#config-checkValidity)\n * @param {Core.widget.Field} field The field being validated\n * @returns {void}\n */\n checkValidity ? : ((field: Field) => void)|string\n /**\n * A config object to configure the [ChipView](https://bryntum.com/products/scheduler/docs/api/Core/widget/ChipView) to display the\n * selected value set when [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-chipView)\n */\n chipView ? : ChipViewConfig\n /**\n * Show a trigger to clear field, if this field is not [readOnly](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-readOnly). The trigger is available\n * in the [triggers](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-triggers) object under the name `clear`. May also be an object which\n * configures the `clear` [trigger](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-triggers).\n */\n clearable ? : Boolean|FieldTriggerConfig\n /**\n * `true` to clear value typed to a multiselect combo when picker is collapsed\n */\n clearTextOnPickerHide ? : Boolean\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 * 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/ResourceCombo#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/ResourceCombo#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 configuration for additional items associated to this field. This is typically used to add contextual\n * fields related to a [checkbox](https://bryntum.com/products/scheduler/docs/api/Core/widget/Checkbox) or [radio button](#Core/widget/Radio). See\n * these classes for examples of nested fields.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-container)\n */\n container ? : Record<string, SchedulerContainerItemConfig>|SchedulerContainerItemConfig[]|FieldContainerConfig\n /**\n * The config controls how the value of nested items are handled when a parent container gets or sets its\n * [values](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-values).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-containValues)\n * @param {Core.widget.Field} field Field instance\n * @returns {boolean}\n */\n containValues ? : Boolean|string|((field: Field) => Boolean)\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/ResourceCombo#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * If configured as `true`, this means that when an unmatched string is typed into the\n * combo's input field, and <kbd>Enter</kbd>, or the [multiValueSeparator](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiValueSeparator) is typed,\n * a new record will be created using the typed string as the [displayField](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-displayField).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-createOnUnmatched)\n * @param {string} name Record name\n * @param {Core.widget.Combo} combo Combo instance\n * @returns {Core.data.Model} New record\n */\n createOnUnmatched ? : ((name: string, combo: Combo) => Model)|string|Boolean\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/ResourceCombo#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/ResourceCombo#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Field used for item text when populating from store\n */\n displayField ? : string\n /**\n * Template function that can be used to customize the displayed value\n * @param {Core.data.Model} record The record to provide a textual value for\n * @param {Core.widget.Combo} combo A reference to this Combo\n * @returns {string,void}\n */\n displayValueRenderer ? : (record: Model, combo: Combo) => string|void\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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n /**\n * Text to display in the drop down when there are no items in the underlying store.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-emptyText)\n */\n emptyText ? : string\n /**\n * A function which creates an array of values for the [filterParamName](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-filterParamName) to pass\n * any filters to the server upon load.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-encodeFilterParams)\n * @param {object[]} filters filters\n * @returns {object[]} array of values\n */\n encodeFilterParams ? : (filters: object[]) => object[]\n extraData ? : any\n /**\n * If `false`, filtering will be triggered once you exceed [minChars](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-minChars). To filter only when\n * hitting Enter key, set this to `true`;\n */\n filterOnEnter ? : Boolean\n /**\n * The name of an operator type as implemented in [operator](https://bryntum.com/products/scheduler/docs/api/Core/util/CollectionFilter#config-operator)\n * to use when filtering the dropdown list based upon the typed value.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-filterOperator)\n */\n filterOperator ? : CollectionCompareOperator\n /**\n * If the dropdown is to be populated with a filtered query to a remote server, specify the\n * name of the parameter to pass the typed string here. By default, the string is simply sent\n * as the value of the parameter. For special encoding, configure the combo with [encodeFilterParams](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-encodeFilterParams)\n */\n filterParamName ? : string\n /**\n * When [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) is `true`, you may configure `filterSelected` as\n * `true` to hide items in the dropdown when they are added to the selection.\n * It will appear as if the requested item has \"moved\" into the field's\n * [ChipView](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-chipView).\n */\n filterSelected ? : Boolean\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/ResourceCombo#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 * Configure as `true` to hide the expand trigger. This is automatically set to `true` if\n * remote filtering is enabled by setting the [filterParamName](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-filterParamName) config.\n */\n hideTrigger ? : Boolean\n /**\n * Specify `true` to highlight field after external value changes\n */\n highlightExternalChange ? : 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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Set this config to `true` to always display items horizontally along with this field. This assigns an\n * [hbox](https://bryntum.com/products/scheduler/docs/api/Core/widget/layout/Box) as the [layout](#Core/widget/Container#config-layout) to the\n * [container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-container).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-inline)\n */\n inline ? : Boolean\n /**\n * Configure this as `true` to render the dropdown list as a permanently visible list\n * in the document flow immediately below the input area instead of as a popup.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-inlinePicker)\n */\n inlinePicker ? : 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 * Sets the `type` attribute of the underlying input element (password, hidden, date, color, etc.).\n */\n inputType ? : 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 * Rows to display in the dropdown (list items).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-items)\n */\n items ? : object[]|string[]|object\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/ResourceCombo#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The delay in milliseconds to wait after the last keystroke before triggering a change event.\n * Set to 0 to not trigger change events from keystrokes (listen for input event instead to have\n * immediate feedback, change will still be triggered on blur).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-keyStrokeChangeDelay)\n */\n keyStrokeChangeDelay ? : number\n /**\n * The delay in milliseconds to wait after the last keystroke before filtering the list.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-keyStrokeFilterDelay)\n */\n keyStrokeFilterDelay ? : number\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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#config-listeners)\n */\n listeners ? : ResourceComboListeners\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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The max number of characters for the input field\n */\n maxLength ? : number\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 string length to trigger the filtering, only relevant when [editable](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-editable) is `true`.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-minChars)\n */\n minChars ? : 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 min number of characters for the input field\n */\n minLength ? : 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/ResourceCombo#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * Set to `true` to allow selection of multiple values from the dropdown list.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-multiSelect)\n */\n multiSelect ? : Boolean\n /**\n * A key value which, when typed in a [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) Combo, selects the\n * currently active item in the picker, and clears the input field ready for another\n * match to be typed.\n */\n multiValueSeparator ? : string\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/ResourceCombo#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 * Configuration object for the [picker](https://bryntum.com/products/scheduler/docs/api/Core/widget/List) on initialization. Returns the\n * [picker](https://bryntum.com/products/scheduler/docs/api/Core/widget/List) instance at runtime.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-picker)\n */\n picker ? : ListConfig\n /**\n * The name of the element property to which the picker should size and align itself.\n */\n pickerAlignElement ? : string\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 * Text to display in empty field.\n */\n placeholder ? : 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/ResourceCombo#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 * Optionally a [Filter](https://bryntum.com/products/scheduler/docs/api/Core/util/CollectionFilter) config object which the combo should use for\n * filtering using the typed value.\n * This may use a `filterBy` property to test its `value` against any field in the passed record.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-primaryFilter)\n */\n primaryFilter ? : CollectionFilterConfig\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/ResourceCombo#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/ResourceCombo#config-rendition)\n */\n rendition ? : 'outlined'|'filled'|string\n /**\n * Configure as `true` to indicate that a `null` field value is to be marked as invalid. This will\n * optionally append a * to the field label if [showRequiredIndicator](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#property-showRequiredIndicator) is set.\n */\n required ? : Boolean\n /**\n * If this field is not [readOnly](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-readOnly), then setting this option means that pressing\n * the <kbd>Escape</kbd> key after editing the field will revert the field to the value it had when\n * the user focused the field. If the field is *not* changed from when focused, the [clearable](https://bryntum.com/products/scheduler/docs/api/Core/widget/Field#config-clearable)\n * behaviour will be activated.\n */\n revertOnEscape ? : 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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * Show the [event color](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceModel#field-eventColor) for each resource\n */\n showEventColor ? : Boolean\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 * Sets the native `spellcheck` property of the underlying input element. For more information, please refer to\n * [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)\n */\n spellCheck ? : Boolean\n /**\n * Store used to populate items. Also accepts a Store config object\n */\n store ? : Store|StoreConfig\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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\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 * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n /**\n * How to query the store upon click of the expand trigger. Specify one of these values:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-triggerAction)\n */\n triggerAction ? : 'all'|'last'|null\n /**\n * The triggers to add either before or after the input field. Each property name is the reference by which\n * an instantiated Trigger Widget may be retrieved from the live `triggers` property.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-triggers)\n */\n triggers ? : Record<string, FieldTriggerConfig>\n type ? : 'resourcecombo'\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/ResourceCombo#config-ui)\n */\n ui ? : string|object\n /**\n * `true` to cause the field to be in an invalid state while the typed filter string does not match a record in the store.\n */\n validateFilter ? : Boolean\n /**\n * Set to `false` to not highlight a field as invalid while typing, to instead show it on ENTER key press\n * or similar.\n */\n validateOnInput ? : Boolean\n /**\n * The initial value of this Combo box. In single select mode (default) it's a simple string value, for\n * [multiSelect](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#config-multiSelect) mode, it should be an array of record ids.\n */\n value ? : string|number|string[]|number[]\n /**\n * Field used for item value when populating from store. Setting this to `null` will\n * yield the selected record as the Combo's [value](https://bryntum.com/products/scheduler/docs/api/Core/widget/Combo#property-value).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/ResourceCombo#config-valueField)\n */\n valueField ? : string|null\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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#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/ResourceCombo#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 * User typed into the field. Please note that the value attached to this event is the raw input field value and\n * not the combos value\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 {string} params.event.value Raw input value\n * @param {Event} params.event.event The triggering DOM event if any.\n */\n (e: 'input', params: ((event: { source: Combo, value: string, event: Event }) => 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/ResourceCombo#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 : ResourceCombo,\n instanceName : 'ResourceCombo',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoComplete',\n 'autoExpand',\n 'autoSelect',\n 'bubbleEvents',\n 'cacheLastResult',\n 'caseSensitive',\n 'centered',\n 'checkValidity',\n 'chipView',\n 'clearable',\n 'clearTextOnPickerHide',\n 'clearTextOnSelection',\n 'clearWhenInputEmpty',\n 'color',\n 'config',\n 'constrainTo',\n 'container',\n 'containValues',\n 'contentElementCls',\n 'createOnUnmatched',\n 'dataField',\n 'defaultBindProperty',\n 'detectCSSCompatibilityIssues',\n 'displayField',\n 'displayValueRenderer',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'emptyText',\n 'encodeFilterParams',\n 'filterOnEnter',\n 'filterParamName',\n 'filterSelected',\n 'floating',\n 'hideAnimation',\n 'hidePickerOnSelect',\n 'hideTrigger',\n 'highlightExternalChange',\n 'hint',\n 'hintHtml',\n 'ignoreParentReadOnly',\n 'inline',\n 'inlinePicker',\n 'inputAlign',\n 'inputAttributes',\n 'inputTag',\n 'inputType',\n 'inputWidth',\n 'items',\n 'keyStrokeChangeDelay',\n 'keyStrokeFilterDelay',\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 'maxLength',\n 'minChars',\n 'minLength',\n 'monitorResize',\n 'multiValueSeparator',\n 'name',\n 'overlayAnchor',\n 'pickerAlignElement',\n 'pickerWidth',\n 'positioned',\n 'preventTooltipOnTouch',\n 'primaryFilter',\n 'relayStoreEvents',\n 'revertOnEscape',\n 'ripple',\n 'role',\n 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showEventColor',\n 'showTooltipWhenDisabled',\n 'skipValidation',\n 'spellCheck',\n 'tab',\n 'tabIndex',\n 'textAlign',\n 'title',\n 'triggerAction',\n 'type',\n 'ui',\n 'validateFilter',\n 'validateOnInput',\n 'valueField',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'badge',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'dataset',\n 'disabled',\n 'editable',\n 'extraData',\n 'filterOperator',\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 'multiSelect',\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 'onInput',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onSelect',\n 'onShow',\n 'onTrigger',\n 'picker',\n 'placeholder',\n 'readOnly',\n 'rendition',\n 'required',\n 'rtl',\n 'showRequiredIndicator',\n 'span',\n 'store',\n 'tooltip',\n 'triggers',\n 'value',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'content',\n 'formula',\n 'html',\n 'input',\n 'parent',\n 'scrollable'\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 'input',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'select',\n 'show',\n 'trigger'\n ]\n};\n\nconst instance: {\n value?: ResourceCombo\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 ResourceCombo>({\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","ResourceCombo","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmyBA,UAAMA,IAAOC,GAuMPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAmC;AAAA,QAC9D,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBAvtCGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
@@ -1,7 +1,7 @@
1
- import { defineComponent as p, ref as o, provide as g, onMounted as C, getCurrentInstance as S, toRaw as D, onBeforeUnmount as R, openBlock as y, createElementBlock as v, watch as h } from "vue";
1
+ import { defineComponent as p, ref as r, provide as g, onMounted as C, getCurrentInstance as S, toRaw as D, onBeforeUnmount as R, openBlock as y, createElementBlock as v, watch as h } from "vue";
2
2
  import { ProjectModel as f } from "@bryntum/scheduler-thin";
3
- import { WrapperHelper as i } from "../helper/WrapperHelper.js";
4
- const x = /* @__PURE__ */ p({
3
+ import { WrapperHelper as d } from "../helper/WrapperHelper.js";
4
+ const I = /* @__PURE__ */ p({
5
5
  __name: "BryntumSchedulerProjectModel",
6
6
  props: {
7
7
  adjustDurationToDST: {},
@@ -52,8 +52,8 @@ const x = /* @__PURE__ */ p({
52
52
  useRawData: {}
53
53
  },
54
54
  emits: ["change", "dataReady"],
55
- setup(M, { expose: d, emit: l }) {
56
- const c = l, a = {
55
+ setup(M, { expose: i, emit: c }) {
56
+ const l = c, s = {
57
57
  instanceClass: f,
58
58
  instanceName: "ProjectModel",
59
59
  configNames: [
@@ -109,47 +109,40 @@ const x = /* @__PURE__ */ p({
109
109
  "timeZone"
110
110
  ],
111
111
  propertyNames: [
112
- "allChildren",
113
- "allUnfilteredChildren",
114
112
  "descendantCount",
115
- "hasGeneratedId",
116
113
  "inlineData",
117
- "internalId",
118
- "isCommitting",
119
114
  "isCreating",
120
- "isValid",
121
- "previousSiblingsTotalCount",
122
115
  "visibleDescendantCount"
123
116
  ],
124
117
  eventNames: [
125
118
  "change",
126
119
  "dataReady"
127
120
  ]
128
- }, e = {}, t = o(), s = o(/* @__PURE__ */ new Map());
129
- return g("teleports", s), C(() => {
121
+ }, e = {}, t = r(), a = r(/* @__PURE__ */ new Map());
122
+ return g("teleports", a), C(() => {
130
123
  const n = S();
131
- e.value = i.createWidget({
124
+ e.value = d.createWidget({
132
125
  me: n,
133
- widgetData: a,
134
- emit: c,
126
+ widgetData: s,
127
+ emit: l,
135
128
  element: t.value,
136
129
  toRaw: D
137
130
  });
138
- const r = (m, u) => h(() => n.props[m], u);
139
- i.watchProps(e.value, a, r);
131
+ const o = (m, u) => h(() => n.props[m], u);
132
+ d.watchProps(e.value, s, o);
140
133
  }), R(() => {
141
134
  e.value?.destroy?.();
142
- }), d({
135
+ }), i({
143
136
  instance: e,
144
137
  refElement: t,
145
- teleports: s
146
- }), (n, r) => (y(), v("div", {
138
+ teleports: a
139
+ }), (n, o) => (y(), v("div", {
147
140
  ref_key: "refElement",
148
141
  ref: t
149
142
  }, null, 512));
150
143
  }
151
144
  });
152
145
  export {
153
- x as _
146
+ I as _
154
147
  };
155
- //# sourceMappingURL=BD-Hg3lY.js.map
148
+ //# sourceMappingURL=DB0UHrA3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DB0UHrA3.js","sources":["../../src/components/BryntumSchedulerProjectModel.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum ProjectModel -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { Model, ModelConfig, StateTrackingManager, StateTrackingManagerConfig, Store, StoreConfig } from '@bryntum/core-thin';\nimport type { AssignmentModel, AssignmentModelConfig, AssignmentStore, AssignmentStoreConfig, DependencyModel, DependencyModelConfig, DependencyStore, DependencyStoreConfig, EventModel, EventModelConfig, EventStore, EventStoreConfig, ResourceModel, ResourceModelConfig, ResourceStore, ResourceStoreConfig, ResourceTimeRangeModel, ResourceTimeRangeModelConfig, ResourceTimeRangeStore, ResourceTimeRangeStoreConfig, TimeRangeModel, TimeRangeModelConfig, TimeRangeStore, TimeSpan } from '@bryntum/scheduler-thin';\nimport { ProjectModel } from '@bryntum/scheduler-thin';\n\nimport { WrapperHelper } from '../helper/WrapperHelper';\n\ndefineProps<{\n // Configs\n /**\n * A flag, indicating whether the dates and duration calculations should adjust the result to DST time shift.\n */\n adjustDurationToDST ? : Boolean\n /**\n * The constructor of the assignment model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [assignmentStore](#Scheduler/model/ProjectModel#property-assignmentStore)\n */\n assignmentModelClass ? : typeof AssignmentModel\n /**\n * Data use to fill the [assignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-assignmentStore). Should be an array of\n * [AssignmentModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/AssignmentModel) or its configuration objects.\n */\n assignments ? : AssignmentModel[]|AssignmentModelConfig[]\n /**\n * The initial data, to fill the [assignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-assignmentStore) with.\n * Should be an array of [AssignmentModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/AssignmentModel) or its configuration\n * objects.\n * @deprecated 6.3.0 Use [assignments](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-assignments) instead\n */\n assignmentsData ? : AssignmentModel[]|AssignmentModelConfig[]\n /**\n * An [AssignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AssignmentStore) instance or a config object.\n */\n assignmentStore ? : AssignmentStore|AssignmentStoreConfig\n /**\n * The constructor to create an assignment store instance with. Should be a class, subclassing the\n * [AssignmentStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/AssignmentStore)\n */\n assignmentStoreClass ? : typeof AssignmentStore|object\n /**\n * Child nodes. To allow loading children on demand, specify `children : true` in your data. Omit the field for leaf\n * tasks.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-children)\n */\n children ? : Boolean|object[]|Model[]|ModelConfig[]\n /**\n * Data use to fill the [dependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-dependencyStore). Should be an array of\n * [DependencyModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyModel) or its configuration objects.\n */\n dependencies ? : DependencyModel[]|DependencyModelConfig[]\n /**\n * The initial data, to fill the [dependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-dependencyStore) with.\n * Should be an array of [DependencyModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/DependencyModel) or its configuration\n * objects.\n * @deprecated 6.3.0 Use [dependencies](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-dependencies) instead\n */\n dependenciesData ? : DependencyModel[]|DependencyModelConfig[]\n /**\n * The constructor of the dependency model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [dependencyStore](#Scheduler/model/ProjectModel#property-dependencyStore)\n */\n dependencyModelClass ? : typeof DependencyModel\n /**\n * A [DependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/DependencyStore) instance or a config object.\n */\n dependencyStore ? : DependencyStore|DependencyStoreConfig\n /**\n * The constructor to create a dependency store instance with. Should be a class, subclassing the\n * [DependencyStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/DependencyStore)\n */\n dependencyStoreClass ? : typeof DependencyStore|object\n /**\n * The constructor of the event model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [eventStore](#Scheduler/model/ProjectModel#property-eventStore)\n */\n eventModelClass ? : typeof EventModel\n /**\n * Data use to fill the [eventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-eventStore). Should be an array of\n * [EventModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/EventModel) or its configuration objects.\n */\n events ? : EventModel[]|EventModelConfig[]\n /**\n * The initial data, to fill the [eventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-eventStore) with.\n * Should be an array of [EventModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/EventModel) or its configuration objects.\n * @deprecated 6.3.0 Use [events](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-events) instead\n */\n eventsData ? : EventModel[]|EventModelConfig[]\n /**\n * An [EventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/EventStore) instance or a config object.\n */\n eventStore ? : EventStore|EventStoreConfig\n /**\n * The constructor to create an event store instance with. Should be a class, subclassing the\n * [EventStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/EventStore)\n */\n eventStoreClass ? : typeof EventStore|object\n /**\n * Start expanded or not (only valid for tree data)\n */\n expanded ? : Boolean\n /**\n * Unique identifier for the record. Might be mapped to another dataSource using idField, but always exposed as\n * record.id. Will get a generated value if none is specified in records data.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-id)\n */\n id ? : string|number\n /**\n * Whether to include legacy data properties in the JSON / inlineData output. The legacy data properties are\n * the `xxData` (`eventsData`, `resourcesData` etc.) properties that are deprecated and will be removed in\n * the future.\n * @deprecated 6.3.0 This config will be removed when the eventsData, resourcesData etc. properties are removed in a future release.\n */\n includeLegacyDataProperties ? : Boolean\n /**\n * This field is added to the class at runtime when the Store is configured with\n * [lazyLoad](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-lazyLoad). If set on a parent record at load time, that parent will not cause any\n * more child load requests. If omitted, it will be automatically set to `true` when a load request receives fewer\n * child records than requested.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-isFullyLoaded)\n */\n isFullyLoaded ? : Boolean\n /**\n * Project data as a JSON string, used to populate its stores.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-json)\n */\n json ? : string\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which position the node takes in the parent's ordered children array.\n * This index is set on load and gets updated on reordering nodes in tree. Sorting and filtering\n * have no effect on it.\n */\n orderedParentIndex ? : number\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which record id is the parent of the record.\n */\n parentId ? : string|number|null\n /**\n * This is a read-only field provided in server synchronization packets to specify\n * which position the node takes in the parent's children array.\n * This index is set on load and gets updated automatically after row reordering, sorting, etc.\n * To save the order, need to persist the field on the server and when data is fetched to be loaded,\n * need to sort by this field.\n */\n parentIndex ? : number\n /**\n * Flag the record as read-only on the UI level, preventing the end user from manipulating it using editing\n * features such as cell editing and event dragging.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-readOnly)\n */\n readOnly ? : Boolean\n /**\n * This field is added to the class at runtime when the Store is configured with\n * [lazyLoad](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-lazyLoad). The\n * number specified should reflect the <strong>total</strong> amount of children of a parent node, including nested descendants.\n * @deprecated This field has been deprecated. Please read the [guide](https://bryntum.com/products/scheduler/docs/api/Grid/guides/data/lazyloading.md) to find out if your app needs to use the new [isFullyLoaded](https://bryntum.com/products/scheduler/docs/api/Core/data/mixin/TreeNode#field-isFullyLoaded) field.\n */\n remoteChildCount ? : number\n /**\n * The constructor of the resource model class, to be used in the project. Will be set as the\n * [modelClass](https://bryntum.com/products/scheduler/docs/api/Core/data/Store#config-modelClass) property of the [resourceStore](#Scheduler/model/ProjectModel#property-resourceStore)\n */\n resourceModelClass ? : typeof ResourceModel\n /**\n * Data use to fill the [resourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-resourceStore). Should be an array of\n * [ResourceModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceModel) or its configuration objects.\n */\n resources ? : ResourceModel[]|ResourceModelConfig[]\n /**\n * The initial data, to fill the [resourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-resourceStore) with.\n * Should be an array of [ResourceModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceModel) or its configuration objects.\n * @deprecated 6.3.0 Use [resources](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-resources) instead\n */\n resourcesData ? : ResourceModel[]|ResourceModelConfig[]\n /**\n * A [ResourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore) instance or a config object.\n */\n resourceStore ? : ResourceStore|ResourceStoreConfig\n /**\n * The constructor to create a resource store instance with. Should be a class, subclassing the\n * [ResourceStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceStore)\n */\n resourceStoreClass ? : typeof ResourceStore|object\n /**\n * Data use to fill the [resourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-resourceTimeRangeStore). Should be an array\n * of [ResourceTimeRangeModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceTimeRangeModel) or its configuration objects.\n */\n resourceTimeRanges ? : ResourceTimeRangeModel[]|ResourceTimeRangeModelConfig[]\n /**\n * The initial data, to fill the [resourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-resourceTimeRangeStore) with.\n * Should be an array of [ResourceTimeRangeModel](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ResourceTimeRangeModel) or it's\n * configuration objects.\n * @deprecated 6.3.0 Use resourceTimeRanges instead\n */\n resourceTimeRangesData ? : ResourceTimeRangeModel[]\n /**\n * A [ResourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceTimeRangeStore) instance or a config object.\n */\n resourceTimeRangeStore ? : ResourceTimeRangeStore|ResourceTimeRangeStoreConfig\n /**\n * The constructor to create a resource time range store instance with. Should be a class subclassing the\n * [ResourceTimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/ResourceTimeRangeStore)\n */\n resourceTimeRangeStoreClass ? : typeof ResourceTimeRangeStore|object\n /**\n * Experimental hook that lets the app determine if a bound dataset needs syncing with the store or not, and\n * if it does - which records that should be processed. Only called for stores that are configured with\n * `syncDataOnLoad: true` (which is the default in the React, Angular and Vue wrappers).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-shouldSyncDataOnLoad)\n * @param {object} options Options passed by the store to this hook\n * @param {Core.data.Store} options.store Store about to be synced\n * @param {Core.data.Model} options.records Records currently in the store\n * @param {object[]} options.data Incoming data\n * @returns {Set<any>,boolean} Return `false` to prevent the store from syncing, or a set of record ids that need further processing (for records that has some kind of change, eg. an update, removal or addition)\n */\n shouldSyncDataOnLoad ? : (options: { store: Store, records: Model, data: object[] }) => Set<any>|Boolean\n /**\n * Silences propagations caused by the project loading.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-silenceInitialCommit)\n */\n silenceInitialCommit ? : Boolean\n /**\n * Configuration options to provide to the STM manager\n */\n stm ? : StateTrackingManagerConfig|StateTrackingManager\n /**\n * Data use to fill the [timeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#property-timeRangeStore). Should be an array of\n * [TimeRangeModels](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/TimeRangeModel) or its configuration objects.\n */\n timeRanges ? : TimeRangeModel[]|TimeRangeModelConfig[]\n /**\n * The initial data, to fill the [timeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelMixin#property-timeRangeStore) with.\n * Should be an array of [TimeSpan](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/TimeSpan) or its configuration objects.\n * @deprecated 6.3.0 Use timeRanges instead\n */\n timeRangesData ? : TimeSpan[]\n /**\n * A [Store](https://bryntum.com/products/scheduler/docs/api/Core/data/Store) instance or a config object.\n */\n timeRangeStore ? : Store|StoreConfig\n /**\n * The constructor to create a time range store instance with. Should be a class subclassing the\n * [TimeRangeStore](https://bryntum.com/products/scheduler/docs/api/Scheduler/data/TimeRangeStore)\n */\n timeRangeStoreClass ? : typeof TimeRangeStore|object\n /**\n * Set to a IANA time zone (i.e. `Europe/Stockholm`) or a UTC offset in minutes (i.e. `-120`). This will\n * convert all events, tasks and time ranges to the specified time zone or offset. It will also affect the\n * displayed timeline's headers as well at the start and end date of it.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-timeZone)\n */\n timeZone ? : string|number\n /**\n * Specifies the output format of [toJSON](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/mixin/ProjectModelCommon#function-toJSON).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-toJSONResultFormat)\n */\n toJSONResultFormat ? : 'inlineData'|'model'\n /**\n * By default, the stores of a project use the raw data objects passed to them as the data source for their\n * records if data is loaded remotely (using an `AjaxStore` or a `CrudManager`). For data supplied inline,\n * the data objects are instead by default cloned to avoid the original data object being modified by the\n * store.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#config-useRawData)\n */\n useRawData ? : Boolean\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * Fired when data in any of the projects stores changes.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#event-change)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Scheduler.model.ProjectModel,any} params.event.source This project\n * @param {Core.data.Store} params.event.store Affected store\n * @param {'remove','removeAll','add','clearchanges','filter','update','dataset','replace'} params.event.action Name of action which triggered the change. May be one of: * `'remove'` * `'removeAll'` * `'add'` * `'clearchanges'` * `'filter'` * `'update'` * `'dataset'` * `'replace'`\n * @param {Core.data.Model} params.event.record Changed record, for actions that affects exactly one record (`'update'`)\n * @param {Core.data.Model[]} params.event.records Changed records, passed for all actions except `'removeAll'`\n * @param {object} params.event.changes Passed for the `'update'` action, info on which record fields changed\n */\n (e: 'change', params: ((event: { source: ProjectModel|any, store: Store, action: 'remove'|'removeAll'|'add'|'clearchanges'|'filter'|'update'|'dataset'|'replace', record: Model, records: Model[], changes: object }) => void)|string): void\n /**\n * Fired when the engine has finished its calculations and the results has been written back to the records.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel#event-dataReady)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Scheduler.model.ProjectModel,any} params.event.source The project\n * @param {boolean} params.event.isInitialCommit Flag that shows if this commit is initial\n * @param {Set<any>} params.event.records Set of all [Model](https://bryntum.com/products/scheduler/docs/api/Core/data/Model)s that were modified in the completed transaction. Use the [modifications](https://bryntum.com/products/scheduler/docs/api/Core/data/Model#property-modifications) property of each Model to identify modified fields.\n */\n (e: 'dataReady', params: ((event: { source: ProjectModel|any, isInitialCommit: boolean, records: Set<any> }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : ProjectModel,\n instanceName : 'ProjectModel',\n\n configNames : [\n 'adjustDurationToDST',\n 'assignmentModelClass',\n 'assignmentsData',\n 'assignmentStoreClass',\n 'children',\n 'dependenciesData',\n 'dependencyModelClass',\n 'dependencyStoreClass',\n 'eventModelClass',\n 'eventsData',\n 'eventStoreClass',\n 'expanded',\n 'orderedParentIndex',\n 'parentIndex',\n 'resourceModelClass',\n 'resourcesData',\n 'resourceStoreClass',\n 'resourceTimeRangesData',\n 'resourceTimeRangeStoreClass',\n 'silenceInitialCommit',\n 'timeRangesData',\n 'timeRangeStoreClass',\n 'toJSONResultFormat',\n 'useRawData'\n ],\n propertyConfigNames : [\n 'assignments',\n 'assignmentStore',\n 'dependencies',\n 'dependencyStore',\n 'events',\n 'eventStore',\n 'id',\n 'includeLegacyDataProperties',\n 'isFullyLoaded',\n 'json',\n 'onChange',\n 'onDataReady',\n 'parentId',\n 'readOnly',\n 'remoteChildCount',\n 'resources',\n 'resourceStore',\n 'resourceTimeRanges',\n 'resourceTimeRangeStore',\n 'shouldSyncDataOnLoad',\n 'stm',\n 'timeRanges',\n 'timeRangeStore',\n 'timeZone'\n ],\n propertyNames : [\n 'descendantCount',\n 'inlineData',\n 'isCreating',\n 'visibleDescendantCount'\n ],\n eventNames : [\n 'change',\n 'dataReady'\n ]\n};\n\nconst instance: {\n value?: ProjectModel\n} = {};\n\nconst refElement = ref<HTMLDivElement>()!;\n// Storage for teleports (in-cell Vue component instances) automatically renderer by template\nconst teleports = ref(new Map());\n\n// Provide teleports for processCellContent\nprovide('teleports', teleports);\n\nonMounted(() => {\n\n const me = getCurrentInstance()!;\n\n instance.value = WrapperHelper.createWidget<typeof ProjectModel>({\n me,\n widgetData,\n emit,\n element : refElement.value!,\n toRaw\n });\n\n const watcher = (prop: string, callback: any) => watch(() => me.props[prop], callback);\n WrapperHelper.watchProps(instance.value, widgetData, watcher);\n});\n\nonBeforeUnmount(() => {\n // @ts-ignore\n instance.value?.destroy?.();\n});\n\ndefineExpose({\n instance,\n refElement,\n teleports\n});\n\n</script>\n"],"names":["emit","__emit","widgetData","ProjectModel","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwRA,UAAMA,IAAOC,GA4BPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,qBAAsB;AAAA,QAClB;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAAkC;AAAA,QAC7D,IAAAF;AAAA,QACA,YAAAR;AAAA,QACA,MAAAF;AAAA,QACA,SAAUK,EAAW;AAAA,QACrB,OAAAQ;AAAA,MAAA,CACH;AAED,YAAMC,IAAU,CAACC,GAAcC,MAAkBC,EAAM,MAAMP,EAAG,MAAMK,CAAI,GAAGC,CAAQ;AACrF,MAAAJ,EAAc,WAAWR,EAAS,OAAOF,GAAYY,CAAO;AAAA,IAChE,CAAC,GAEDI,EAAgB,MAAM;AAElB,MAAAd,EAAS,OAAO,UAAA;AAAA,IACpB,CAAC,GAEDe,EAAa;AAAA,MACT,UAAAf;AAAA,MACA,YAAAC;AAAA,MACA,WAAAE;AAAA,IAAA,CACH,mBAzZGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as f, ref as u, provide as v, onMounted as h, getCurrentInstance as S, toRaw as D, onBeforeUnmount as R, openBlock as r, createElementBlock as c, createElementVNode as E, Fragment as b, renderList as F, createBlock as d, Teleport as M, resolveDynamicComponent as w, mergeProps as y, toHandlers as T, watch as k } from "vue";
1
+ import { defineComponent as f, ref as u, provide as h, onMounted as v, getCurrentInstance as S, toRaw as D, onBeforeUnmount as R, openBlock as r, createElementBlock as c, createElementVNode as E, Fragment as b, renderList as F, createBlock as d, Teleport as M, resolveDynamicComponent as w, mergeProps as y, toHandlers as T, watch as k } from "vue";
2
2
  import { Scheduler as x } from "@bryntum/scheduler-thin";
3
3
  import { WrapperHelper as o } from "../helper/WrapperHelper.js";
4
4
  const B = {
@@ -127,6 +127,7 @@ const B = {
127
127
  isEventSelectable: { type: Function },
128
128
  keyMap: {},
129
129
  labelPosition: {},
130
+ labelWidth: {},
130
131
  lazyLoadingIndicator: {},
131
132
  listeners: {},
132
133
  listRangeMenu: {},
@@ -169,6 +170,7 @@ const B = {
169
170
  presets: {},
170
171
  preventTooltipOnTouch: {},
171
172
  project: {},
173
+ projectModelClass: {},
172
174
  range: {},
173
175
  readOnly: {},
174
176
  recurrenceConfirmationPopup: {},
@@ -188,6 +190,7 @@ const B = {
188
190
  resourceTimeRangeStore: {},
189
191
  responsiveLevels: {},
190
192
  ripple: {},
193
+ role: {},
191
194
  rootElement: {},
192
195
  rowHeight: {},
193
196
  rowLines: {},
@@ -206,6 +209,7 @@ const B = {
206
209
  showLagInTooltip: {},
207
210
  showRecurringUI: {},
208
211
  showTooltip: {},
212
+ smoothZoom: {},
209
213
  snap: {},
210
214
  snapRelativeToEventStartDate: {},
211
215
  span: {},
@@ -256,6 +260,7 @@ const B = {
256
260
  weight: {},
257
261
  width: {},
258
262
  workingTime: {},
263
+ zoomFactor: {},
259
264
  zoomKeepsOriginalTimespan: {},
260
265
  zoomOnMouseWheel: {},
261
266
  zoomOnTimeAxisDoubleClick: {},
@@ -332,7 +337,7 @@ const B = {
332
337
  treeGroupFeature: {},
333
338
  treeSummaryFeature: {}
334
339
  },
335
- emits: ["afterDependencyCreateDrop", "afterDependencySave", "afterDragCreate", "afterEventDragSelect", "afterEventDrop", "afterEventEdit", "afterEventSave", "assignmentSelectionChange", "beforeAssignmentDelete", "beforeAssignmentSelectionChange", "beforeAutoCreate", "beforeCancelCellEdit", "beforeCancelRowEdit", "beforeCellEditStart", "beforeCellRangeDelete", "beforeCellRangeEdit", "beforeColumnCollapseToggle", "beforeColumnDragStart", "beforeColumnDropFinalize", "beforeColumnResize", "beforeContextShow", "beforeCopy", "beforeCSVExport", "beforeDependencyAdd", "beforeDependencyCreateDrag", "beforeDependencyCreateFinalize", "beforeDependencyDelete", "beforeDependencyEdit", "beforeDependencyEditShow", "beforeDependencySave", "beforeDestroy", "beforeDragCreate", "beforeDragCreateFinalize", "beforeEventAdd", "beforeEventDelete", "beforeEventDrag", "beforeEventDragSelect", "beforeEventDropFinalize", "beforeEventEdit", "beforeEventEditShow", "beforeEventResize", "beforeEventResizeFinalize", "beforeEventSave", "beforeEventSelectionChange", "beforeExcelExport", "beforeFillHandleDragStart", "beforeFinishCellEdit", "beforeFinishRowEdit", "beforeHide", "beforePan", "beforePaste", "beforePdfExport", "beforePresetChange", "beforeRenderRow", "beforeRenderRows", "beforeRowCollapse", "beforeRowExpand", "beforeSelectedContextsShow", "beforeSelectionChange", "beforeSetRecord", "beforeShow", "beforeShowTerminals", "beforeStartRowEdit", "beforeStateApply", "beforeStateSave", "beforeToggleGroup", "beforeToggleNode", "cancelCellEdit", "catchAll", "cellClick", "cellContextMenu", "cellDblClick", "cellMenuBeforeShow", "cellMenuItem", "cellMenuShow", "cellMenuToggleItem", "cellMouseEnter", "cellMouseLeave", "cellMouseOut", "cellMouseOver", "collapse", "collapseNode", "columnCollapseToggle", "columnDrag", "columnDragStart", "columnDrop", "columnResize", "columnResizeStart", "contextMenuItem", "contextMenuToggleItem", "copy", "currentTimelineUpdate", "dataChange", "dateRangeChange", "dependenciesDrawn", "dependencyClick", "dependencyContextMenu", "dependencyCreateDragStart", "dependencyCreateDrop", "dependencyDblClick", "dependencyMenuBeforeShow", "dependencyMenuItem", "dependencyMenuShow", "dependencyMouseOut", "dependencyMouseOver", "dependencyValidationComplete", "dependencyValidationStart", "destroy", "dirtyStateChange", "dragCreateEnd", "dragCreateStart", "dragSelecting", "elementCreated", "eventAutoCreated", "eventClick", "eventContextMenu", "eventDblClick", "eventDrag", "eventDragAbort", "eventDragModeChange", "eventDragReset", "eventDragSelect", "eventDragStart", "eventDrop", "eventEditBeforeSetRecord", "eventKeyDown", "eventKeyUp", "eventMenuBeforeShow", "eventMenuItem", "eventMenuShow", "eventMouseDown", "eventMouseEnter", "eventMouseLeave", "eventMouseOut", "eventMouseOver", "eventMouseUp", "eventPartialResize", "eventResizeEnd", "eventResizeStart", "eventSelectionChange", "expand", "expandNode", "fileDrop", "fillHandleBeforeDragFinalize", "fillHandleDrag", "fillHandleDragAbort", "fillHandleDragEnd", "fillHandleDragStart", "finishCellEdit", "finishRowEdit", "focusIn", "focusOut", "gridRowBeforeDragStart", "gridRowBeforeDropFinalize", "gridRowDrag", "gridRowDragAbort", "gridRowDragStart", "gridRowDrop", "headerClick", "headerMenuBeforeShow", "headerMenuItem", "headerMenuShow", "headerMenuToggleItem", "hide", "lockRows", "mouseOut", "mouseOver", "navigate", "noZoomChange", "paint", "paste", "pasteNotAllowed", "pdfExport", "presetChange", "readOnly", "recompose", "releaseEvent", "renderEvent", "renderRow", "renderRows", "resize", "resourceColumnBeforeDragStart", "resourceColumnBeforeDropFinalize", "resourceColumnDrag", "resourceColumnDragAbort", "resourceColumnDragStart", "resourceColumnDrop", "resourceHeaderClick", "resourceHeaderContextmenu", "resourceHeaderDblclick", "resourceMenuBeforeShow", "resourceMenuItem", "resourceMenuShow", "resourceMenuToggleItem", "resourceTimeRangeClick", "resourceTimeRangeContextMenu", "resourceTimeRangeDblClick", "resourceTimeRangeMouseDown", "resourceTimeRangeMouseOut", "resourceTimeRangeMouseOver", "resourceTimeRangeMouseUp", "responsive", "rowCollapse", "rowExpand", "rowMouseEnter", "rowMouseLeave", "scheduleClick", "scheduleContextMenu", "scheduleDblClick", "scheduleMenuBeforeShow", "scheduleMenuItem", "scheduleMenuShow", "scheduleMouseDown", "scheduleMouseEnter", "scheduleMouseLeave", "scheduleMouseMove", "scheduleMouseUp", "scroll", "scrollButtonClick", "selectionChange", "selectionModeChange", "shiftIncrementChange", "show", "split", "splitterCollapseClick", "splitterDragEnd", "splitterDragStart", "splitterExpandClick", "startCellEdit", "startRowEdit", "subGridCollapse", "subGridExpand", "tickCellClick", "tickCellContextMenu", "tickCellDblClick", "tickCellMouseDown", "tickCellMouseUp", "tickSizeChange", "timeAxisChange", "timeAxisHeaderClick", "timeAxisHeaderContextMenu", "timeAxisHeaderDblClick", "timeAxisHeaderMenuBeforeShow", "timeAxisHeaderMenuItem", "timeAxisHeaderMenuShow", "timelineContextChange", "timelineViewportResize", "timeRangeHeaderClick", "timeRangeHeaderContextMenu", "timeRangeHeaderDblClick", "timeSelectionChange", "timeSelectionElementClick", "toggleGroup", "toggleNode", "toolClick", "treeGroup", "unlockRows", "unsplit", "visibleDateRangeChange"],
340
+ emits: ["afterDependencyCreateDrop", "afterDependencySave", "afterDragCreate", "afterEventDragSelect", "afterEventDrop", "afterEventEdit", "afterEventSave", "assignmentSelectionChange", "beforeAssignmentDelete", "beforeAssignmentSelectionChange", "beforeAutoCreate", "beforeCancelCellEdit", "beforeCancelRowEdit", "beforeCellEditStart", "beforeCellRangeDelete", "beforeCellRangeEdit", "beforeColumnCollapseToggle", "beforeColumnDragStart", "beforeColumnDropFinalize", "beforeColumnResize", "beforeContextShow", "beforeCopy", "beforeCSVExport", "beforeDependencyAdd", "beforeDependencyCreateDrag", "beforeDependencyCreateFinalize", "beforeDependencyDelete", "beforeDependencyEdit", "beforeDependencyEditShow", "beforeDependencySave", "beforeDestroy", "beforeDragCreate", "beforeDragCreateFinalize", "beforeEventAdd", "beforeEventDelete", "beforeEventDrag", "beforeEventDragSelect", "beforeEventDropFinalize", "beforeEventEdit", "beforeEventEditShow", "beforeEventResize", "beforeEventResizeFinalize", "beforeEventSave", "beforeEventSelectionChange", "beforeExcelExport", "beforeFillHandleDragStart", "beforeFinishCellEdit", "beforeFinishRowEdit", "beforeHide", "beforePan", "beforePaste", "beforePdfExport", "beforePresetChange", "beforeRenderRow", "beforeRenderRows", "beforeRowCollapse", "beforeRowExpand", "beforeSelectedContextsShow", "beforeSelectionChange", "beforeSetRecord", "beforeShow", "beforeShowTerminals", "beforeStartRowEdit", "beforeStateApply", "beforeStateSave", "beforeToggleGroup", "beforeToggleNode", "cancelCellEdit", "catchAll", "cellClick", "cellContextMenu", "cellDblClick", "cellMenuBeforeShow", "cellMenuItem", "cellMenuShow", "cellMenuToggleItem", "cellMouseEnter", "cellMouseLeave", "cellMouseOut", "cellMouseOver", "collapse", "collapseNode", "columnCollapseToggle", "columnDrag", "columnDragStart", "columnDrop", "columnResize", "columnResizeStart", "contextMenuItem", "contextMenuToggleItem", "copy", "currentTimelineUpdate", "dataChange", "dateRangeChange", "dependenciesDrawn", "dependencyClick", "dependencyContextMenu", "dependencyCreateDragStart", "dependencyCreateDrop", "dependencyDblClick", "dependencyMenuBeforeShow", "dependencyMenuItem", "dependencyMenuShow", "dependencyMouseOut", "dependencyMouseOver", "dependencyValidationComplete", "dependencyValidationStart", "destroy", "dirtyStateChange", "dragCreateEnd", "dragCreateStart", "dragSelecting", "elementCreated", "eventAutoCreated", "eventClick", "eventContextMenu", "eventDblClick", "eventDrag", "eventDragAbort", "eventDragModeChange", "eventDragReset", "eventDragSelect", "eventDragStart", "eventDrop", "eventEditBeforeSetRecord", "eventKeyDown", "eventKeyUp", "eventMenuBeforeShow", "eventMenuItem", "eventMenuShow", "eventMouseDown", "eventMouseEnter", "eventMouseLeave", "eventMouseOut", "eventMouseOver", "eventMouseUp", "eventPartialResize", "eventResizeEnd", "eventResizeStart", "eventSelectionChange", "expand", "expandNode", "fileDrop", "fillHandleBeforeDragFinalize", "fillHandleDrag", "fillHandleDragAbort", "fillHandleDragEnd", "fillHandleDragStart", "finishCellEdit", "finishRowEdit", "focusIn", "focusOut", "gridRowBeforeDragStart", "gridRowBeforeDropFinalize", "gridRowDrag", "gridRowDragAbort", "gridRowDragStart", "gridRowDrop", "headerClick", "headerMenuBeforeShow", "headerMenuItem", "headerMenuShow", "headerMenuToggleItem", "hide", "lockRows", "mouseOut", "mouseOver", "navigate", "noZoomChange", "paint", "paste", "pasteNotAllowed", "pdfExport", "presetChange", "readOnly", "recompose", "releaseEvent", "renderEvent", "renderRow", "renderRows", "resize", "resourceColumnBeforeDragStart", "resourceColumnBeforeDropFinalize", "resourceColumnDrag", "resourceColumnDragAbort", "resourceColumnDragStart", "resourceColumnDrop", "resourceHeaderClick", "resourceHeaderContextmenu", "resourceHeaderDblclick", "resourceMenuBeforeShow", "resourceMenuItem", "resourceMenuShow", "resourceMenuToggleItem", "resourceTimeRangeClick", "resourceTimeRangeContextMenu", "resourceTimeRangeDblClick", "resourceTimeRangeMouseDown", "resourceTimeRangeMouseOut", "resourceTimeRangeMouseOver", "resourceTimeRangeMouseUp", "responsive", "rowCollapse", "rowExpand", "rowMouseEnter", "rowMouseLeave", "scheduleClick", "scheduleContextMenu", "scheduleDblClick", "scheduleMenuBeforeShow", "scheduleMenuItem", "scheduleMenuShow", "scheduleMouseDown", "scheduleMouseEnter", "scheduleMouseLeave", "scheduleMouseMove", "scheduleMouseUp", "scroll", "scrollButtonClick", "selectionChange", "selectionModeChange", "shiftIncrementChange", "show", "split", "splitterCollapseClick", "splitterDragEnd", "splitterDragStart", "splitterExpandClick", "startCellEdit", "startRowEdit", "subGridCollapse", "subGridExpand", "tickCellClick", "tickCellContextMenu", "tickCellDblClick", "tickCellMouseDown", "tickCellMouseUp", "tickSizeChange", "timeAxisChange", "timeAxisHeaderClick", "timeAxisHeaderContextMenu", "timeAxisHeaderDblClick", "timeAxisHeaderMenuBeforeShow", "timeAxisHeaderMenuItem", "timeAxisHeaderMenuShow", "timelineContextChange", "timelineViewportResize", "timeRangeHeaderClick", "timeRangeHeaderContextMenu", "timeRangeHeaderDblClick", "timeSelectionChange", "timeSelectionElementClick", "toggleGroup", "toggleNode", "toolClick", "treeGroup", "unlockRows", "unsplit", "visibleDateRangeChange", "zoomLevelChange"],
336
341
  setup(A, { expose: g, emit: m }) {
337
342
  const p = m, i = {
338
343
  instanceClass: x,
@@ -506,6 +511,7 @@ const B = {
506
511
  "preserveFocusOnDatasetChange",
507
512
  "preserveScrollOnDatasetChange",
508
513
  "preventTooltipOnTouch",
514
+ "projectModelClass",
509
515
  "relayStoreEvents",
510
516
  "resizable",
511
517
  "resizeToFitIncludesHeader",
@@ -516,6 +522,7 @@ const B = {
516
522
  "resourceTimeRangeRenderer",
517
523
  "responsiveLevels",
518
524
  "ripple",
525
+ "role",
519
526
  "rootElement",
520
527
  "scrollerClass",
521
528
  "scrollExtensionThreshold",
@@ -525,6 +532,7 @@ const B = {
525
532
  "showEventColorPickers",
526
533
  "showLagInTooltip",
527
534
  "showRecurringUI",
535
+ "smoothZoom",
528
536
  "snapRelativeToEventStartDate",
529
537
  "startParamName",
530
538
  "stateful",
@@ -611,6 +619,7 @@ const B = {
611
619
  "isEventSelectable",
612
620
  "keyMap",
613
621
  "labelPosition",
622
+ "labelWidth",
614
623
  "lazyLoadingIndicator",
615
624
  "longPressTime",
616
625
  "margin",
@@ -886,6 +895,7 @@ const B = {
886
895
  "onUnlockRows",
887
896
  "onUnsplit",
888
897
  "onVisibleDateRangeChange",
898
+ "onZoomLevelChange",
889
899
  "overlappingEventSorter",
890
900
  "preserveScroll",
891
901
  "presets",
@@ -934,13 +944,10 @@ const B = {
934
944
  "viewPreset",
935
945
  "visibleDate",
936
946
  "width",
937
- "workingTime"
947
+ "workingTime",
948
+ "zoomFactor"
938
949
  ],
939
950
  propertyNames: [
940
- "focusVisible",
941
- "hasChanges",
942
- "isEngineReady",
943
- "isNavigatingTimelineCells",
944
951
  "originalStore",
945
952
  "parent",
946
953
  "scrollLeft",
@@ -1217,10 +1224,11 @@ const B = {
1217
1224
  "treeGroup",
1218
1225
  "unlockRows",
1219
1226
  "unsplit",
1220
- "visibleDateRangeChange"
1227
+ "visibleDateRangeChange",
1228
+ "zoomLevelChange"
1221
1229
  ]
1222
1230
  }, n = {}, a = u(), l = u(/* @__PURE__ */ new Map());
1223
- return v("teleports", l), h(() => {
1231
+ return h("teleports", l), v(() => {
1224
1232
  const t = S();
1225
1233
  n.value = o.createWidget({
1226
1234
  me: t,
@@ -1264,4 +1272,4 @@ const B = {
1264
1272
  export {
1265
1273
  I as _
1266
1274
  };
1267
- //# sourceMappingURL=C7ZFK2B7.js.map
1275
+ //# sourceMappingURL=DJSlX0qP.js.map