@bryntum/scheduler-vue-3-thin 7.2.3 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/README.md +6 -6
  2. package/lib/chunks/{C7ZFK2B7.js → 5o-YjSb7.js} +16 -10
  3. package/lib/chunks/5o-YjSb7.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/{BD-Hg3lY.js → DB0UHrA3.js} +17 -24
  7. package/lib/chunks/DB0UHrA3.js.map +1 -0
  8. package/lib/chunks/{DmQj0tBi.js → DP61St-u.js} +14 -6
  9. package/lib/chunks/DP61St-u.js.map +1 -0
  10. package/lib/chunks/{B0m0r-NV.js → DVFhf2Ma.js} +11 -11
  11. package/lib/chunks/DVFhf2Ma.js.map +1 -0
  12. package/lib/chunks/{DerP_qo7.js → DhhzgoYL.js} +16 -10
  13. package/lib/chunks/DhhzgoYL.js.map +1 -0
  14. package/lib/chunks/{BNGLBrCN.js → OJaN5ZWK.js} +6 -6
  15. package/lib/chunks/OJaN5ZWK.js.map +1 -0
  16. package/lib/chunks/{CP1Mm_Ak.js → R69sJLmF.js} +16 -17
  17. package/lib/chunks/R69sJLmF.js.map +1 -0
  18. package/lib/chunks/{mKqb8_2f.js → ZkU6CtWX.js} +6 -6
  19. package/lib/chunks/ZkU6CtWX.js.map +1 -0
  20. package/lib/chunks/{C0UqC4Uj.js → eUISgYXE.js} +9 -9
  21. package/lib/chunks/eUISgYXE.js.map +1 -0
  22. package/lib/chunks/{CsoS615B.js → kN-s_8Na.js} +6 -6
  23. package/lib/chunks/kN-s_8Na.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 +72 -116
  45. package/src/components/BryntumEventColorFieldProps.ts +68 -108
  46. package/src/components/BryntumProjectCombo.vue +90 -149
  47. package/src/components/BryntumProjectComboProps.ts +86 -141
  48. package/src/components/BryntumResourceCombo.vue +91 -151
  49. package/src/components/BryntumResourceComboProps.ts +87 -143
  50. package/src/components/BryntumResourceFilter.vue +63 -104
  51. package/src/components/BryntumResourceFilterProps.ts +60 -98
  52. package/src/components/BryntumScheduler.vue +429 -600
  53. package/src/components/BryntumSchedulerBase.vue +429 -600
  54. package/src/components/BryntumSchedulerBaseProps.ts +367 -522
  55. package/src/components/BryntumSchedulerDatePicker.vue +120 -196
  56. package/src/components/BryntumSchedulerDatePickerProps.ts +116 -187
  57. package/src/components/BryntumSchedulerProjectModel.vue +12 -31
  58. package/src/components/BryntumSchedulerProjectModelProps.ts +10 -20
  59. package/src/components/BryntumSchedulerProps.ts +367 -522
  60. package/src/components/BryntumThemeCombo.vue +60 -0
  61. package/src/components/BryntumTimeZoomSlider.vue +859 -0
  62. package/src/components/BryntumTimeZoomSliderProps.ts +482 -0
  63. package/src/components/BryntumTimelineHistogram.vue +325 -444
  64. package/src/components/BryntumTimelineHistogramProps.ts +275 -388
  65. package/src/components/BryntumUndoRedo.vue +78 -125
  66. package/src/components/BryntumUndoRedoProps.ts +74 -116
  67. package/src/components/BryntumViewPresetCombo.vue +67 -107
  68. package/src/components/BryntumViewPresetComboProps.ts +63 -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,5 +1,5 @@
1
- import { defineComponent as h, ref as r, provide as u, onMounted as f, getCurrentInstance as g, toRaw as y, onBeforeUnmount as b, openBlock as C, createElementBlock as S, watch as x } from "vue";
2
- import { UndoRedo as w } from "@bryntum/scheduler-thin";
1
+ import { defineComponent as h, ref as r, provide as u, onMounted as f, getCurrentInstance as y, toRaw as b, onBeforeUnmount as g, openBlock as C, createElementBlock as x, watch as w } from "vue";
2
+ import { UndoRedo as S } from "@bryntum/scheduler-thin";
3
3
  import { WrapperHelper as l } from "../helper/WrapperHelper.js";
4
4
  const B = /* @__PURE__ */ h({
5
5
  __name: "BryntumUndoRedo",
@@ -52,6 +52,7 @@ const B = /* @__PURE__ */ h({
52
52
  items: {},
53
53
  keyMap: {},
54
54
  labelPosition: {},
55
+ labelWidth: {},
55
56
  layout: {},
56
57
  layoutStyle: {},
57
58
  lazyItems: {},
@@ -77,6 +78,7 @@ const B = /* @__PURE__ */ h({
77
78
  relayStoreEvents: {},
78
79
  rendition: {},
79
80
  ripple: {},
81
+ role: {},
80
82
  rootElement: {},
81
83
  rtl: {},
82
84
  scheduler: {},
@@ -105,7 +107,7 @@ const B = /* @__PURE__ */ h({
105
107
  emits: ["beforeDestroy", "beforeHide", "beforeSetRecord", "beforeShow", "catchAll", "destroy", "dirtyStateChange", "elementCreated", "focusIn", "focusOut", "hide", "paint", "readOnly", "recompose", "resize", "show"],
106
108
  setup(A, { expose: s, emit: d }) {
107
109
  const c = d, n = {
108
- instanceClass: w,
110
+ instanceClass: S,
109
111
  instanceName: "UndoRedo",
110
112
  configNames: [
111
113
  "adopt",
@@ -148,6 +150,7 @@ const B = /* @__PURE__ */ h({
148
150
  "preventTooltipOnTouch",
149
151
  "relayStoreEvents",
150
152
  "ripple",
153
+ "role",
151
154
  "rootElement",
152
155
  "scheduler",
153
156
  "scrollAction",
@@ -187,6 +190,7 @@ const B = /* @__PURE__ */ h({
187
190
  "items",
188
191
  "keyMap",
189
192
  "labelPosition",
193
+ "labelWidth",
190
194
  "layout",
191
195
  "layoutStyle",
192
196
  "margin",
@@ -225,11 +229,6 @@ const B = /* @__PURE__ */ h({
225
229
  "y"
226
230
  ],
227
231
  propertyNames: [
228
- "anchorSize",
229
- "focusVisible",
230
- "hasChanges",
231
- "isSettingValues",
232
- "isValid",
233
232
  "parent",
234
233
  "values"
235
234
  ],
@@ -253,23 +252,23 @@ const B = /* @__PURE__ */ h({
253
252
  ]
254
253
  }, e = {}, t = r(), i = r(/* @__PURE__ */ new Map());
255
254
  return u("teleports", i), f(() => {
256
- const o = g();
255
+ const o = y();
257
256
  e.value = l.createWidget({
258
257
  me: o,
259
258
  widgetData: n,
260
259
  emit: c,
261
260
  element: t.value,
262
- toRaw: y
261
+ toRaw: b
263
262
  });
264
- const a = (m, p) => x(() => o.props[m], p);
263
+ const a = (m, p) => w(() => o.props[m], p);
265
264
  l.watchProps(e.value, n, a);
266
- }), b(() => {
265
+ }), g(() => {
267
266
  e.value?.destroy?.();
268
267
  }), s({
269
268
  instance: e,
270
269
  refElement: t,
271
270
  teleports: i
272
- }), (o, a) => (C(), S("div", {
271
+ }), (o, a) => (C(), x("div", {
273
272
  ref_key: "refElement",
274
273
  ref: t
275
274
  }, null, 512));
@@ -278,4 +277,4 @@ const B = /* @__PURE__ */ h({
278
277
  export {
279
278
  B as _
280
279
  };
281
- //# sourceMappingURL=C2PT-Ukt.js.map
280
+ //# sourceMappingURL=t8aiH3XL.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"t8aiH3XL.js","sources":["../../src/components/BryntumUndoRedo.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum UndoRedo -->\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, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';\nimport type { SchedulerContainerItemConfig, SchedulerContainerLayoutConfig, ProjectModel, ProjectModelConfig, UndoRedoListeners } from '@bryntum/scheduler-thin';\nimport { UndoRedo } 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/UndoRedo#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/UndoRedo#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/UndoRedo#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/UndoRedo#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Update assigned [record](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-record) automatically on field changes\n */\n autoUpdateRecord ? : Boolean\n /**\n * Set `true` to add a border to this container's element.\n */\n border ? : Boolean\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/UndoRedo#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Set to `false` to not call onXXX method names (e.g. `onShow`, `onClick`), as an easy way to listen for events.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-callOnFunctions)\n */\n callOnFunctions ? : Boolean\n /**\n * By default, if an event handler throws an exception, the error propagates up the stack and the\n * application state is undefined. Code which follows the event handler will *not* be executed.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#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 * 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/UndoRedo#config-cls)\n */\n cls ? : string|object\n /**\n * Button color for the undo and redo buttons. See [color](https://bryntum.com/products/scheduler/docs/api/Core/widget/Button#config-color).\n */\n color ? : string\n /**\n * Programmatic control over which column to start in when used in a grid layout.\n */\n column ? : number\n config ? : object\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating) or [positioned](#Core/widget/Widget#config-positioned).*\n * Element, Widget or Rectangle to which this Widget is constrained.\n */\n constrainTo ? : HTMLElement|Widget|Rectangle\n /**\n * The HTML content that coexists with sibling elements which may have been added to the\n * [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement) by plugins and features.\n * When specifying html, this widget's element will also have the [htmlCls](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-htmlCls)\n * class added to its classList, to allow targeted styling.\n */\n content ? : string\n /**\n * Custom CSS classes to add to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).\n * May be specified as a space separated string, or as an object in which property names\n * with truthy values are used as the class names:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * Object to apply to elements dataset (each key will be used as a data-attribute on the element)\n */\n dataset ? : Record<string, string>\n /**\n * The name of the property to set when a single value is to be applied to this Widget. Such as when used\n * in a grid WidgetColumn, this is the property to which the column's `field` is applied.\n */\n defaultBindProperty ? : string\n /**\n * A [query](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#function-query) selector function which can identify the descendant widget to which\n * focus should be directed by default.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-defaultFocus)\n * @param {Core.widget.Widget} widget Widget passed to method\n * @returns {boolean} truthy value if widget is the default one\n */\n defaultFocus ? : ((widget: Widget) => Boolean)|string\n /**\n * A config object containing default settings to apply to all child widgets.\n */\n defaults ? : SchedulerContainerItemConfig\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/UndoRedo#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/UndoRedo#config-disabled)\n */\n disabled ? : Boolean|'inert'\n /**\n * Controls the placement of this widget when it is added to a [panel's ](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/scheduler/docs/api/Core/widget/Panel#config-strips). Typical values for this config are `'top'`,\n * `'bottom'`, `'left'`, or `'right'`, which cause the widget to be placed on that side of the panel's\n * body. Such widgets are called \"edge strips\".\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#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/UndoRedo#config-draggable)\n * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget\n */\n draggable ? : Boolean|object\n /**\n * An object specifying attributes to assign to the root element of this widget.\n * Set `null` value to attribute to remove it.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container), it will by default be participating in a\n * flexbox layout. This config allows you to set this widget's\n * [flex](https://developer.mozilla.org/en-US/docs/Web/CSS/flex) style.\n * This may be configured as a single number or a `&lt;flex-grow&gt; &lt;flex-shrink&gt; &lt;flex-basis&gt;` format string.\n * numeric-only values are interpreted as the `flex-grow` value.\n */\n flex ? : number|string\n /**\n * Set to `true` to move the widget out of the document flow and position it\n * absolutely in browser viewport space.\n */\n floating ? : Boolean\n /**\n * Widget's height, used to set element `style.height`. Either specify a valid height string or a number,\n * which will get 'px' appended. We recommend using CSS as the primary way to control height, but in some\n * cases this config is convenient.\n */\n height ? : string|number\n /**\n * Configure with true to make widget initially hidden.\n */\n hidden ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-hideAnimation)\n */\n hideAnimation ? : Boolean|object\n /**\n * Specify `true` to make this container hide when it has no visible children (Either empty\n * or all children hidden).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-hideWhenEmpty)\n */\n hideWhenEmpty ? : Boolean\n /**\n * The HTML to display initially or a function returning the markup (called at widget construction time).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-html)\n * @param {Core.widget.Widget} widget The calling Widget\n */\n html ? : string|((widget: Widget) => void)|DomConfig|DomConfig[]|VueConfig|ReactJSX\n /**\n * The CSS class(es) to add when HTML content is being applied to this widget.\n */\n htmlCls ? : string|object\n /**\n * Widget id, if not specified one will be generated. Also used for lookups through Widget.getById\n */\n id ? : string\n /**\n * Determines if the widgets read-only state should be controlled by its parent.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-ignoreParentReadOnly)\n */\n ignoreParentReadOnly ? : Boolean\n /**\n * Convenience setting to align input fields of child widgets. By default, the Field input element is\n * placed immediately following the `label`. If you prefer to have all input fields aligned to the\n * right, set this config to `'end'`.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-inputFieldAlign)\n */\n inputFieldAlign ? : 'start'|'end'\n /**\n * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertBefore ? : HTMLElement|string\n /**\n * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertFirst ? : HTMLElement|string\n /**\n * An optional CSS class to add to child items of this container.\n */\n itemCls ? : string\n /**\n * An object containing typed child widget config objects or Widgets. May also be specified\n * as an array.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-items)\n */\n items ? : Record<string, SchedulerContainerItemConfig|MenuItemEntry>|(SchedulerContainerItemConfig|MenuItemEntry|Widget)[]\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/UndoRedo#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * Convenience setting to use same label placement on all child widgets.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|'align-before'|'auto'|null\n /**\n * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-labelWidth)\n */\n labelWidth ? : number|null\n /**\n * The short name of a helper class which manages rendering and styling of child items.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-layout)\n */\n layout ? : string|SchedulerContainerLayoutConfig\n /**\n * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-layoutStyle)\n */\n layoutStyle ? : object\n /**\n * An array of [child item](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-items) *config objects* which is to be converted into\n * instances only when this Container is rendered, rather than eagerly at construct time.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-lazyItems)\n */\n lazyItems ? : Record<string, SchedulerContainerItemConfig>|SchedulerContainerItemConfig[]|Widget[]\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-listeners)\n */\n listeners ? : UndoRedoListeners\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/UndoRedo#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/UndoRedo#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/UndoRedo#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The elements maxWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-height), *reading* the value will return the numeric value in pixels.\n */\n minHeight ? : string|number\n /**\n * The elements minWidth. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [width](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n minWidth ? : string|number\n /**\n * When this is configured as `true` a [ResizeObserver](https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver)\n * is used to monitor this element for size changes caused by either style manipulation, or by CSS\n * layout.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-monitorResize)\n * @property {boolean} immediate Set to `true` to receive resize notifications immediately.\n */\n monitorResize ? : Boolean|object\n /**\n * An object containing default config objects which may be referenced by name in the [items](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-items)\n * config. For example, a specialized [Menu](https://bryntum.com/products/scheduler/docs/api/Core/widget/Menu) subclass may have a `namedItems` default\n * value defined like this:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-namedItems)\n */\n namedItems ? : Record<string, SchedulerContainerItemConfig>\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/UndoRedo#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 * The Scheduling [project](https://bryntum.com/products/scheduler/docs/api/Scheduler/model/ProjectModel)'s whose\n * transaction to track.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-project)\n */\n project ? : ProjectModel|ProjectModelConfig|object\n /**\n * Whether this widget is read-only. This is only valid if the widget is an input\n * field, <strong>or contains input fields at any depth</strong>.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-readOnly)\n */\n readOnly ? : Boolean\n /**\n * [Record](https://bryntum.com/products/scheduler/docs/api/Core/data/Model) whose values will be used to populate fields in the container.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-record)\n */\n record ? : Model\n relayStoreEvents ? : Boolean\n /**\n * Either a default `rendition` to apply to all child widgets, or a map of renditions keyed by child widget\n * `type`.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-rendition)\n */\n rendition ? : string|Record<string, string>|null\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/UndoRedo#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/UndoRedo#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/UndoRedo#config-rtl)\n */\n rtl ? : Boolean\n /**\n * The Scheduling Widget (or its `id`) whose transaction to track.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-scheduler)\n */\n scheduler ? : Widget|string\n /**\n * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll\n * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are\n * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to\n * CSS overflow properties thus:\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-scrollable)\n */\n scrollable ? : Boolean|ScrollerConfig|Scroller\n /**\n * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).\n * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.\n */\n scrollAction ? : 'hide'|'realign'|null\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-showAnimation)\n */\n showAnimation ? : Boolean|object\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 * Configure as `true` to show \"0\" badge on the undo and redo buttons when they have no actions\n * left to perform. By default when there are no actions, no badge is displayed.\n */\n showZeroActionBadge ? : Boolean\n /**\n * Programmatic control over how many columns to span when used in a grid layout.\n */\n span ? : number\n /**\n * Specify `true` to match fields by their `name` property only when assigning a [record](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#config-record),\n * without falling back to `ref`.\n */\n strictRecordMapping ? : Boolean\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/UndoRedo#config-tab)\n */\n tab ? : Boolean|TabConfig\n /**\n * When this container is used as a tab in a TabPanel, these items are added to the\n * [TabBar](https://bryntum.com/products/scheduler/docs/api/Core/widget/TabBar) when this container is the active tab.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-tabBarItems)\n */\n tabBarItems ? : ToolbarItems[]|Widget[]\n /**\n * The tag name of this Widget's root element\n */\n tag ? : string\n /**\n * Configure as `true` to show \"Undo\" and \"Redo\" as button texts. The buttons always have a tooltip\n * as a hint to the user as to their purpose.\n */\n text ? : Boolean\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/UndoRedo#config-textAlign)\n */\n textAlign ? : 'left'|'center'|'right'|'start'|'end'\n /**\n * Specify `true` for a container used to show text markup. It will apply the CSS class `b-text-content`\n * which specifies a default max-width that makes long text more readable.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#config-textContent)\n */\n textContent ? : Boolean\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/UndoRedo#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n type ? : 'undoredo'\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/UndoRedo#config-ui)\n */\n ui ? : string|object\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/UndoRedo#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/UndoRedo#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.Base} params.params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fired before this container will load record values into its child fields. This is useful if you\n * want to modify the UI before data is loaded (e.g. set some input field to be readonly)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Container} params.params.event.source The container\n * @param {Core.data.Model} params.params.event.record The record\n */\n (e: 'beforeSetRecord', params: ((event: { source: Container, record: Model }) => void)|string): void\n /**\n * Triggered before a widget is shown. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget,any} params.params.event.source The widget being shown\n */\n (e: 'beforeShow', params: ((event: { source: Widget|any }) => Promise<boolean>|boolean|void)|string): Promise<boolean>|boolean|void\n /**\n * Fires when any other event is fired from the object.\n * [More...](https://bryntum.com/products/scheduler/docs/api/Scheduler/widget/UndoRedo#event-catchAll)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {{[key: string]: any, type: string}} params.params.event.event The Object that contains event details\n * @param {string} params.params.event.event.type The type of the event which is caught by the listener\n */\n (e: 'catchAll', params: ((event: {[key: string]: any, type: string}) => void)|string): void\n /**\n * Fires when an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.Base} params.params.event.source The Object that is being destroyed.\n */\n (e: 'destroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/scheduler/docs/api/Core/widget/Container#property-hasChanges) property changes\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Container} params.params.event.source The container.\n * @param {boolean} params.params.event.dirty The dirty state of the Container - `true` if there are any fields which have been changed since initial load.\n */\n (e: 'dirtyStateChange', params: ((event: { source: Container, dirty: boolean }) => void)|string): void\n /**\n * Triggered when a widget's [element](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {HTMLElement} params.params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {HTMLElement} params.params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.\n * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {HTMLElement} params.params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.params.event.toWidget The widget which gained focus.\n * @param {boolean} params.params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * 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/UndoRedo#event-paint)\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget being painted.\n * @param {boolean} params.params.event.firstPaint `true` if this is the first paint.\n */\n (e: 'paint', params: ((event: { source: Widget, firstPaint: boolean }) => void)|string): void\n /**\n * Fired when a Widget's read only state is toggled\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {boolean} params.params.event.readOnly Read only or not\n */\n (e: 'readOnly', params: ((event: { readOnly: boolean }) => void)|string): void\n /**\n * This event is fired after a widget's elements have been synchronized due to a direct or indirect call\n * to [recompose](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#function-recompose), if this results in some change to the widget's rendered DOM elements.\n */\n (e: 'recompose', params: (() => void)|string): void\n /**\n * Fired when the encapsulating element of a Widget resizes *only when [monitorResize](https://bryntum.com/products/scheduler/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source This Widget\n * @param {number} params.params.event.width The new width\n * @param {number} params.params.event.height The new height\n * @param {number} params.params.event.oldWidth The old width\n * @param {number} params.params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {string} params.e Event name\n * @param {object} params.params Event parameters\n * @param {object} params.params.event Event object\n * @param {Core.widget.Widget} params.params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : UndoRedo,\n instanceName : 'UndoRedo',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoUpdateRecord',\n 'border',\n 'bubbleEvents',\n 'centered',\n 'color',\n 'config',\n 'constrainTo',\n 'contentElementCls',\n 'dataField',\n 'defaultBindProperty',\n 'defaultFocus',\n 'defaults',\n 'detectCSSCompatibilityIssues',\n 'dock',\n 'draggable',\n 'elementAttributes',\n 'floating',\n 'hideAnimation',\n 'hideWhenEmpty',\n 'htmlCls',\n 'ignoreParentReadOnly',\n 'itemCls',\n 'lazyItems',\n 'listeners',\n 'localeClass',\n 'localizable',\n 'localizableProperties',\n 'maskDefaults',\n 'masked',\n 'monitorResize',\n 'namedItems',\n 'positioned',\n 'preventTooltipOnTouch',\n 'relayStoreEvents',\n 'ripple',\n 'role',\n 'rootElement',\n 'scheduler',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'showZeroActionBadge',\n 'tab',\n 'tabBarItems',\n 'tag',\n 'text',\n 'textAlign',\n 'textContent',\n 'title',\n 'type',\n 'ui',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'appendTo',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'cls',\n 'column',\n 'content',\n 'dataset',\n 'disabled',\n 'extraData',\n 'flex',\n 'height',\n 'hidden',\n 'html',\n 'id',\n 'inputFieldAlign',\n 'insertBefore',\n 'insertFirst',\n 'items',\n 'keyMap',\n 'labelPosition',\n 'labelWidth',\n 'layout',\n 'layoutStyle',\n 'margin',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxWidth',\n 'minHeight',\n 'minWidth',\n 'onBeforeDestroy',\n 'onBeforeHide',\n 'onBeforeSetRecord',\n 'onBeforeShow',\n 'onCatchAll',\n 'onDestroy',\n 'onDirtyStateChange',\n 'onElementCreated',\n 'onFocusIn',\n 'onFocusOut',\n 'onHide',\n 'onPaint',\n 'onReadOnly',\n 'onRecompose',\n 'onResize',\n 'onShow',\n 'project',\n 'readOnly',\n 'record',\n 'rendition',\n 'rtl',\n 'scrollable',\n 'span',\n 'strictRecordMapping',\n 'tooltip',\n 'width',\n 'x',\n 'y'\n ],\n propertyNames : [\n 'parent',\n 'values'\n ],\n eventNames : [\n 'beforeDestroy',\n 'beforeHide',\n 'beforeSetRecord',\n 'beforeShow',\n 'catchAll',\n 'destroy',\n 'dirtyStateChange',\n 'elementCreated',\n 'focusIn',\n 'focusOut',\n 'hide',\n 'paint',\n 'readOnly',\n 'recompose',\n 'resize',\n 'show'\n ]\n};\n\nconst instance: {\n value?: UndoRedo\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 UndoRedo>({\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","UndoRedo","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyiBA,UAAMA,IAAOC,GAsLPC,IAAa;AAAA,MACf,eAAgBC;AAAA,MAChB,cAAgB;AAAA,MAEhB,aAAgB;AAAA,QACZ;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,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,MAAA;AAAA,MAEJ,eAAgB;AAAA,QACZ;AAAA,QACA;AAAA,MAAA;AAAA,MAEJ,YAAa;AAAA,QACT;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,QACA;AAAA,MAAA;AAAA,IACJ,GAGEC,IAEF,CAAA,GAEEC,IAAaC,EAAA,GAEbC,IAAYD,EAAI,oBAAI,KAAK;AAG/B,WAAAE,EAAQ,aAAaD,CAAS,GAE9BE,EAAU,MAAM;AAEZ,YAAMC,IAAKC,EAAA;AAEX,MAAAP,EAAS,QAAQQ,EAAc,aAA8B;AAAA,QACzD,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,mBAn5BGa,EAEM,OAAA;AAAA,eAFG;AAAA,MAAJ,KAAIf;AAAA,IAAA;;;"}
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/mKqb8_2f.js";
1
+ import { _ as f } from "../chunks/ZkU6CtWX.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/BNGLBrCN.js";
1
+ import { _ as f } from "../chunks/OJaN5ZWK.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/CsoS615B.js";
1
+ import { _ as f } from "../chunks/kN-s_8Na.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/C0UqC4Uj.js";
1
+ import { _ as f } from "../chunks/eUISgYXE.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/C7ZFK2B7.js";
1
+ import { _ as f } from "../chunks/5o-YjSb7.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/DerP_qo7.js";
1
+ import { _ as f } from "../chunks/DhhzgoYL.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/CP1Mm_Ak.js";
1
+ import { _ as f } from "../chunks/R69sJLmF.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/BD-Hg3lY.js";
1
+ import { _ as f } from "../chunks/DB0UHrA3.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -0,0 +1,57 @@
1
+ import { defineComponent as n, ref as d, onMounted as h, onBeforeUnmount as m, openBlock as s, createElementBlock as c } from "vue";
2
+ import { Combo as b, DomHelper as k, BrowserHelper as u } from "@bryntum/core-thin";
3
+ const v = /* @__PURE__ */ n({
4
+ __name: "BryntumThemeCombo",
5
+ setup(f) {
6
+ const a = d(null);
7
+ let e = null;
8
+ return h(() => {
9
+ e = new b({
10
+ appendTo: a.value,
11
+ store: {
12
+ data: [
13
+ { id: "svalbard-light", text: "Svalbard Light" },
14
+ { id: "svalbard-dark", text: "Svalbard Dark" },
15
+ { id: "visby-light", text: "Visby Light" },
16
+ { id: "visby-dark", text: "Visby Dark" },
17
+ { id: "stockholm-light", text: "Stockholm Light" },
18
+ { id: "stockholm-dark", text: "Stockholm Dark" },
19
+ { id: "material3-light", text: "Material3 Light" },
20
+ { id: "material3-dark", text: "Material3 Dark" },
21
+ { id: "fluent2-light", text: "Fluent2 Light" },
22
+ { id: "fluent2-dark", text: "Fluent2 Dark" },
23
+ { id: "high-contrast-light", text: "High Contrast Light" },
24
+ { id: "high-contrast-dark", text: "High Contrast Dark" }
25
+ ]
26
+ },
27
+ label: "Theme",
28
+ width: "16em",
29
+ value: "svalbard-light",
30
+ editable: !1,
31
+ labelPosition: "before",
32
+ ref: "themeCombo",
33
+ listeners: {
34
+ change({ value: r }) {
35
+ k.setTheme(r).then((o) => {
36
+ if (o) {
37
+ const { theme: i, prev: l } = o;
38
+ document.body.classList.remove(`b-theme-${l}`), document.body.classList.add(`b-theme-${i}`);
39
+ }
40
+ });
41
+ }
42
+ }
43
+ });
44
+ const t = u.searchParam("theme");
45
+ t && (e.value = t);
46
+ }), m(() => {
47
+ e?.destroy();
48
+ }), (t, r) => (s(), c("div", {
49
+ ref_key: "refElement",
50
+ ref: a
51
+ }, null, 512));
52
+ }
53
+ });
54
+ export {
55
+ v as default
56
+ };
57
+ //# sourceMappingURL=BryntumThemeCombo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BryntumThemeCombo.js","sources":["../../src/components/BryntumThemeCombo.vue"],"sourcesContent":["<template>\n <div ref=\"refElement\" />\n</template>\n\n<script setup lang=\"ts\">\nimport { onBeforeUnmount, onMounted, ref } from 'vue';\nimport { Combo, DomHelper, BrowserHelper } from '@bryntum/core-thin';\n\nconst refElement = ref<HTMLElement | null>(null);\nlet combo: Combo | null = null;\n\nonMounted(() => {\n combo = new Combo({\n appendTo : refElement.value as HTMLElement,\n store : {\n data : [\n { id : 'svalbard-light', text : 'Svalbard Light' },\n { id : 'svalbard-dark', text : 'Svalbard Dark' },\n { id : 'visby-light', text : 'Visby Light' },\n { id : 'visby-dark', text : 'Visby Dark' },\n { id : 'stockholm-light', text : 'Stockholm Light' },\n { id : 'stockholm-dark', text : 'Stockholm Dark' },\n { id : 'material3-light', text : 'Material3 Light' },\n { id : 'material3-dark', text : 'Material3 Dark' },\n { id : 'fluent2-light', text : 'Fluent2 Light' },\n { id : 'fluent2-dark', text : 'Fluent2 Dark' },\n { id : 'high-contrast-light', text : 'High Contrast Light' },\n { id : 'high-contrast-dark', text : 'High Contrast Dark' }\n ]\n },\n label : 'Theme',\n width : '16em',\n value : 'svalbard-light',\n editable : false,\n labelPosition : 'before',\n ref : 'themeCombo',\n listeners : {\n change({ value }: { value: string }) {\n DomHelper.setTheme(value).then((context: any) => {\n if (context) {\n const { theme, prev } = context;\n document.body.classList.remove(`b-theme-${prev}`);\n document.body.classList.add(`b-theme-${theme}`);\n }\n });\n }\n }\n });\n\n // Apply from search param\n const theme = BrowserHelper.searchParam('theme');\n if (theme) {\n combo.value = theme;\n }\n});\n\nonBeforeUnmount(() => {\n combo?.destroy();\n});\n</script>\n"],"names":["refElement","ref","combo","onMounted","Combo","value","DomHelper","context","theme","prev","BrowserHelper","onBeforeUnmount","_createElementBlock"],"mappings":";;;;;AAQA,UAAMA,IAAaC,EAAwB,IAAI;AAC/C,QAAIC,IAAsB;AAE1B,WAAAC,EAAU,MAAM;AACZ,MAAAD,IAAQ,IAAIE,EAAM;AAAA,QACd,UAAWJ,EAAW;AAAA,QACtB,OAAW;AAAA,UACP,MAAO;AAAA,YACH,EAAE,IAAK,kBAAkB,MAAO,iBAAA;AAAA,YAChC,EAAE,IAAK,iBAAiB,MAAO,gBAAA;AAAA,YAC/B,EAAE,IAAK,eAAe,MAAO,cAAA;AAAA,YAC7B,EAAE,IAAK,cAAc,MAAO,aAAA;AAAA,YAC5B,EAAE,IAAK,mBAAmB,MAAO,kBAAA;AAAA,YACjC,EAAE,IAAK,kBAAkB,MAAO,iBAAA;AAAA,YAChC,EAAE,IAAK,mBAAmB,MAAO,kBAAA;AAAA,YACjC,EAAE,IAAK,kBAAkB,MAAO,iBAAA;AAAA,YAChC,EAAE,IAAK,iBAAiB,MAAO,gBAAA;AAAA,YAC/B,EAAE,IAAK,gBAAgB,MAAO,eAAA;AAAA,YAC9B,EAAE,IAAK,uBAAuB,MAAO,sBAAA;AAAA,YACrC,EAAE,IAAK,sBAAsB,MAAO,qBAAA;AAAA,UAAqB;AAAA,QAC7D;AAAA,QAEJ,OAAgB;AAAA,QAChB,OAAgB;AAAA,QAChB,OAAgB;AAAA,QAChB,UAAgB;AAAA,QAChB,eAAgB;AAAA,QAChB,KAAgB;AAAA,QAChB,WAAgB;AAAA,UACZ,OAAO,EAAE,OAAAK,KAA4B;AACjC,YAAAC,EAAU,SAASD,CAAK,EAAE,KAAK,CAACE,MAAiB;AAC7C,kBAAIA,GAAS;AACT,sBAAM,EAAE,OAAAC,GAAO,MAAAC,EAAA,IAASF;AACxB,yBAAS,KAAK,UAAU,OAAO,WAAWE,CAAI,EAAE,GAChD,SAAS,KAAK,UAAU,IAAI,WAAWD,CAAK,EAAE;AAAA,cAClD;AAAA,YACJ,CAAC;AAAA,UACL;AAAA,QAAA;AAAA,MACJ,CACH;AAGD,YAAMA,IAAQE,EAAc,YAAY,OAAO;AAC/C,MAAIF,MACAN,EAAM,QAAQM;AAAA,IAEtB,CAAC,GAEDG,EAAgB,MAAM;AAClB,MAAAT,GAAO,QAAA;AAAA,IACX,CAAC,mBAzDGU,EAAwB,OAAA;AAAA,eAAf;AAAA,MAAJ,KAAIZ;AAAA,IAAA;;;"}
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "../chunks/BXIuEgYD.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=BryntumTimeZoomSlider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BryntumTimeZoomSlider.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/DmQj0tBi.js";
1
+ import { _ as f } from "../chunks/DP61St-u.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/C2PT-Ukt.js";
1
+ import { _ as f } from "../chunks/t8aiH3XL.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/B0m0r-NV.js";
1
+ import { _ as f } from "../chunks/DVFhf2Ma.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/lib/index.js CHANGED
@@ -1,25 +1,27 @@
1
- import { _ as o } from "./chunks/mKqb8_2f.js";
2
- import { _ as m } from "./chunks/BNGLBrCN.js";
3
- import { _ as s } from "./chunks/BD-Hg3lY.js";
4
- import { _ as n } from "./chunks/CsoS615B.js";
5
- import { _ as f } from "./chunks/C0UqC4Uj.js";
6
- import { _ as x } from "./chunks/C7ZFK2B7.js";
7
- import { _ } from "./chunks/DerP_qo7.js";
8
- import { _ as l } from "./chunks/CP1Mm_Ak.js";
9
- import { _ as i } from "./chunks/DmQj0tBi.js";
10
- import { _ as C } from "./chunks/C2PT-Ukt.js";
11
- import { _ as S } from "./chunks/B0m0r-NV.js";
1
+ import { _ as e } from "./chunks/ZkU6CtWX.js";
2
+ import { _ as t } from "./chunks/OJaN5ZWK.js";
3
+ import { _ as s } from "./chunks/DB0UHrA3.js";
4
+ import { _ as n } from "./chunks/kN-s_8Na.js";
5
+ import { _ as f } from "./chunks/eUISgYXE.js";
6
+ import { _ as x } from "./chunks/5o-YjSb7.js";
7
+ import { _ } from "./chunks/DhhzgoYL.js";
8
+ import { _ as c } from "./chunks/R69sJLmF.js";
9
+ import { _ as i } from "./chunks/DP61St-u.js";
10
+ import { _ as h } from "./chunks/BXIuEgYD.js";
11
+ import { _ as P } from "./chunks/t8aiH3XL.js";
12
+ import { _ as R } from "./chunks/DVFhf2Ma.js";
12
13
  export {
13
- o as BryntumEventColorField,
14
- m as BryntumProjectCombo,
14
+ e as BryntumEventColorField,
15
+ t as BryntumProjectCombo,
15
16
  n as BryntumResourceCombo,
16
17
  f as BryntumResourceFilter,
17
18
  x as BryntumScheduler,
18
19
  _ as BryntumSchedulerBase,
19
- l as BryntumSchedulerDatePicker,
20
+ c as BryntumSchedulerDatePicker,
20
21
  s as BryntumSchedulerProjectModel,
22
+ h as BryntumTimeZoomSlider,
21
23
  i as BryntumTimelineHistogram,
22
- C as BryntumUndoRedo,
23
- S as BryntumViewPresetCombo
24
+ P as BryntumUndoRedo,
25
+ R as BryntumViewPresetCombo
24
26
  };
25
27
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bryntum/scheduler-vue-3-thin",
3
- "version": "7.2.3",
3
+ "version": "7.3.0",
4
4
  "description": "Vue 3 wrappers for Bryntum Scheduler JavaScript component",
5
5
  "keywords": [
6
6
  "bryntum",