@bryntum/chart-vue-3-thin 7.3.1 → 7.3.3

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.
@@ -158,7 +158,6 @@ const D = /* @__PURE__ */ h({
158
158
  "autoUpdateRecord",
159
159
  "border",
160
160
  "bubbleEvents",
161
- "centered",
162
161
  "color",
163
162
  "config",
164
163
  "constrainTo",
@@ -216,6 +215,7 @@ const D = /* @__PURE__ */ h({
216
215
  "bubbleScaleFactor",
217
216
  "callOnFunctions",
218
217
  "catchEventHandlerExceptions",
218
+ "centered",
219
219
  "chartPadding",
220
220
  "chartTooltip",
221
221
  "chartType",
@@ -357,4 +357,4 @@ const D = /* @__PURE__ */ h({
357
357
  export {
358
358
  D as _
359
359
  };
360
- //# sourceMappingURL=-ldePR5f.js.map
360
+ //# sourceMappingURL=C_6Weimy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"C_6Weimy.js","sources":["../../src/components/BryntumChart.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum Chart -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, Color, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, ModelConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';\nimport type { ChartListeners, ChartTooltipConfig, ChartContainerItemConfig, ChartContainerLayoutConfig, DataSeries, Font } from '@bryntum/chart-thin';\nimport { Chart } from '@bryntum/chart-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/chart/docs/api/Chart/widget/Chart#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/chart/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/chart/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 * Whether to animate chart data changes.\n */\n animate ? : Boolean\n /**\n * Set the duration in milliseconds for all animations.\n */\n animationDuration ? : number\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/chart/docs/api/Core/widget/Widget#property-element).\n * <div class=\"note\">When creating nested trees of widgets, this should only be used on the outermost widget.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-appendTo)\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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Update assigned [record](https://bryntum.com/products/chart/docs/api/Core/widget/Container#config-record) automatically on field changes\n */\n autoUpdateRecord ? : Boolean\n /**\n * The stroke color used for the axis lines and ticks, or `null` for theme default.\n */\n axisColor ? : string\n /**\n * The text color used for the axis labels / ticks, or `null` to use `axisColor`.\n */\n axisLabelColor ? : string\n /**\n * The chart background color, or `null` for transparent.\n */\n background ? : string\n /**\n * Layout direction for the bar chart type.\n */\n barDirection ? : 'vertical'|'horizontal'\n /**\n * (Optional) For `'bar'` charts, the amount of the available bar area each bar in this series should occupy,\n * from 0 to 1. Default: 0.9.\n */\n barWidth ? : number\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/chart/docs/api/Chart/widget/Chart#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Scale factor to apply to the computed size of bubbles in the bubble chart type.\n * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated\n */\n bubbleScaleFactor ? : number\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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-centered)\n * @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.\n */\n centered ? : Boolean|object\n /**\n * Padding around the entire chart area, in pixels.\n */\n chartPadding ? : object\n /**\n * Chart tooltip configuration object. Configures the tooltip that appears when hovering over chart data points.\n * This follows the Chartjs tooltip configuration specification. This will only be applied if [showTooltips](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#property-showTooltips)\n * is `true`.\n * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated\n */\n chartTooltip ? : ChartTooltipConfig\n /**\n * Basic type of chart.\n */\n chartType ? : 'line'|'bar'|'pie'|'donut'|'scatter'|'bubble'|'radar'\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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/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/chart/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/chart/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/chart/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/chart/docs/api/Chart/widget/Chart#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * The data records or objects containing data to display in the chart.\n */\n data ? : Model[]|object[]|ModelConfig[]\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * The shape to use for data point markers, or `'none'` for no markers.\n */\n dataPointShape ? : 'square'|'circle'|'diamond'|'triangle'|'none'\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/chart/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/chart/docs/api/Chart/widget/Chart#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 ? : ChartContainerItemConfig\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/chart/docs/api/Chart/widget/Chart#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * The name of the record field containing the data for this series.\n */\n field ? : string\n /**\n * (Optional) The name of a field in the chart data to use as the background color for each data element\n * (e.g. bar).\n */\n fillColorField ? : string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/chart/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 * The stroke color used for the grid lines, or `null` for theme default.\n */\n gridColor ? : string\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/chart/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n * <div class=\"note\">When creating nested trees of widgets, this should only be used on the outermost widget.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-insertBefore)\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/chart/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n * <div class=\"note\">When creating nested trees of widgets, this should only be used on the outermost widget.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-insertFirst)\n */\n insertFirst ? : HTMLElement|string\n /**\n * Whether to do dynamic highlighting and other interactivity as the mouse cursor moves over the chart.\n */\n interactive ? : Boolean\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/chart/docs/api/Chart/widget/Chart#config-items)\n */\n items ? : Record<string, ChartContainerItemConfig|MenuItemEntry>|(ChartContainerItemConfig|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/chart/docs/api/Chart/widget/Chart#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The name of the series to display in the legend.\n */\n label ? : string\n /**\n * Convenience setting to use same label placement on all child widgets.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|'align-before'|'auto'|null\n /**\n * For line and bar charts, this series defines the data values to use as ticks for the x-axis.\n * For pie and donut chart, it defines the data values to use as slice labels.\n */\n labels ? : DataSeries\n /**\n * Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-layout)\n */\n layout ? : string|ChartContainerLayoutConfig\n /**\n * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-layoutStyle)\n */\n layoutStyle ? : object\n /**\n * An array of [child item](https://bryntum.com/products/chart/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/chart/docs/api/Chart/widget/Chart#config-lazyItems)\n */\n lazyItems ? : Record<string, ChartContainerItemConfig>|ChartContainerItemConfig[]|Widget[]\n /**\n * Where the chart's legend should appear relative to the main chart content.\n * Options `inline-start` and `inline-end` function as in CSS, with horizontal positioning\n * controlled by RTL mode.\n */\n legendPosition ? : 'top'|'right'|'bottom'|'left'|'inline-start'|'inline-end'\n /**\n * Optional scale factor to increase or decrease the size of the chart legend.\n * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated\n */\n legendScale ? : number\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-listeners)\n */\n listeners ? : ChartListeners\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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/chart/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/chart/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * Max value for the Y axis, for chart types that have one.\n */\n max ? : number\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/chart/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/chart/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The maximum tick rotation in degrees.\n * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated\n */\n maxTickLabelRotation ? : 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/chart/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * Min value for the Y axis, for chart types that have one.\n */\n min ? : number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/chart/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 minimum tick rotation in degrees.\n * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated\n */\n minTickLabelRotation ? : 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/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Core/widget/Container#config-items)\n * config. For example, a specialized [Menu](https://bryntum.com/products/chart/docs/api/Core/widget/Menu) subclass may have a `namedItems` default\n * value defined like this:\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-namedItems)\n */\n namedItems ? : Record<string, ChartContainerItemConfig>\n /**\n * Radius of data points, in pixels.\n */\n pointSize ? : number\n /**\n * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/chart/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/chart/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Whether this widget is read-only. This is only valid if the widget is an input\n * field, <strong>or contains input fields at any depth</strong>.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-readOnly)\n */\n readOnly ? : Boolean\n /**\n * [Record](https://bryntum.com/products/chart/docs/api/Core/data/Model) whose values will be used to populate fields in the container.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll\n * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are\n * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to\n * CSS overflow properties thus:\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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 * One or more data series to display in the chart.\n */\n series ? : DataSeries[]\n /**\n * The type of stroke to use for data series lines.\n */\n seriesLineDash ? : 'dot'|'dash'|'solid'\n /**\n * The opacity of data series lines, from zero to one.\n */\n seriesLineOpacity ? : number\n /**\n * The thickness of data series lines, in pixels.\n */\n seriesLineThickness ? : number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * Whether to show the chart's control button menu, for example, the download button.\n */\n showControls ? : Boolean\n /**\n * Whether to show the chart's legend.\n */\n showLegend ? : Boolean\n /**\n * Whether to show data point markers on the chart.\n */\n showPoints ? : Boolean\n /**\n * Whether to show the chart subtitle.\n */\n showSubtitle ? : Boolean\n /**\n * Whether to show tick marks and labels on the chart axes.\n */\n showTicks ? : Boolean\n /**\n * Whether to show the chart title.\n */\n showTitle ? : Boolean\n /**\n * Whether to show tooltips when the mouse cursor hovers over chart elements.\n */\n showTooltips ? : Boolean\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : 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/chart/docs/api/Core/widget/Container#config-record),\n * without falling back to `ref`.\n */\n strictRecordMapping ? : Boolean\n /**\n * The chart subtitle.\n */\n subtitle ? : string\n /**\n * The font to use for the chart subtitle.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-subtitleFont)\n */\n subtitleFont ? : Font\n /**\n * Padding around the chart subtitle, in pixels.\n * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated\n */\n subtitlePadding ? : object\n /**\n * A configuration for the [tab](https://bryntum.com/products/chart/docs/api/Core/widget/Tab) created for this widget when it is placed in a\n * [TabPanel](https://bryntum.com/products/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Core/widget/TabBar) when this container is the active tab.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tabBarItems)\n */\n tabBarItems ? : ToolbarItems[]|Widget[]\n /**\n * The tag name of this Widget's root element\n */\n tag ? : string\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-textContent)\n */\n textContent ? : Boolean\n /**\n * The font to use for tick labels on the chart axes.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tickFont)\n */\n tickFont ? : Font\n /**\n * Set the color of the tick mark lines in the axis area, or `null` to default to [axisColor](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-axisColor).\n */\n tickMarkColor ? : string\n /**\n * The chart title.\n */\n title ? : string\n /**\n * The font to use for the chart title.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-titleFont)\n */\n titleFont ? : Font\n /**\n * Padding around the chart title, in pixels.\n * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated\n */\n titlePadding ? : object\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n type ? : 'chart'\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/chart/docs/api/Chart/widget/Chart#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/chart/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/chart/docs/api/Chart/widget/Chart#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void\n /**\n * 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 {object} params.event Event object\n * @param {Core.widget.Container} params.event.source The container\n * @param {Core.data.Model} 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 {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/chart/docs/api/Chart/widget/Chart#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 * 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 * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/chart/docs/api/Core/widget/Container#property-hasChanges) property changes\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Container} params.event.source The container.\n * @param {boolean} 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/chart/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {HTMLElement} params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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/chart/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/chart/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : Chart,\n instanceName : 'Chart',\n\n configNames : [\n 'adopt',\n 'align',\n 'anchor',\n 'ariaDescription',\n 'ariaLabel',\n 'autoUpdateRecord',\n 'border',\n 'bubbleEvents',\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 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'tab',\n 'tabBarItems',\n 'tag',\n 'textAlign',\n 'textContent',\n 'type',\n 'ui',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'animate',\n 'animationDuration',\n 'appendTo',\n 'axisColor',\n 'axisLabelColor',\n 'background',\n 'barDirection',\n 'barWidth',\n 'bubbleScaleFactor',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'centered',\n 'chartPadding',\n 'chartTooltip',\n 'chartType',\n 'cls',\n 'column',\n 'content',\n 'data',\n 'dataPointShape',\n 'dataset',\n 'disabled',\n 'extraData',\n 'field',\n 'fillColorField',\n 'flex',\n 'gridColor',\n 'height',\n 'hidden',\n 'html',\n 'id',\n 'inputFieldAlign',\n 'insertBefore',\n 'insertFirst',\n 'interactive',\n 'items',\n 'keyMap',\n 'label',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'layout',\n 'layoutStyle',\n 'legendPosition',\n 'legendScale',\n 'margin',\n 'max',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxTickLabelRotation',\n 'maxWidth',\n 'min',\n 'minHeight',\n 'minTickLabelRotation',\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 'pointSize',\n 'readOnly',\n 'record',\n 'rendition',\n 'role',\n 'rtl',\n 'scrollable',\n 'series',\n 'seriesLineDash',\n 'seriesLineOpacity',\n 'seriesLineThickness',\n 'showControls',\n 'showLegend',\n 'showPoints',\n 'showSubtitle',\n 'showTicks',\n 'showTitle',\n 'showTooltips',\n 'span',\n 'strictRecordMapping',\n 'subtitle',\n 'subtitleFont',\n 'subtitlePadding',\n 'tickFont',\n 'tickMarkColor',\n 'title',\n 'titleFont',\n 'titlePadding',\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?: Chart\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 Chart>({\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","Chart","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":"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"}
@@ -1,4 +1,4 @@
1
- import { _ as f } from "../chunks/-ldePR5f.js";
1
+ import { _ as f } from "../chunks/C_6Weimy.js";
2
2
  export {
3
3
  f as default
4
4
  };
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as a } from "./chunks/-ldePR5f.js";
1
+ import { _ as a } from "./chunks/C_6Weimy.js";
2
2
  export {
3
3
  a as BryntumChart
4
4
  };
package/license.pdf CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bryntum/chart-vue-3-thin",
3
- "version": "7.3.1",
3
+ "version": "7.3.3",
4
4
  "description": "Vue 3 wrappers for Bryntum Chart JavaScript component",
5
5
  "keywords": [
6
6
  "bryntum",
@@ -51,6 +51,8 @@ defineProps<{
51
51
  /**
52
52
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
53
53
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-element).
54
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
55
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-appendTo)
54
56
  */
55
57
  appendTo ? : HTMLElement|string
56
58
  /**
@@ -102,6 +104,7 @@ defineProps<{
102
104
  bubbleEvents ? : object
103
105
  /**
104
106
  * Scale factor to apply to the computed size of bubbles in the bubble chart type.
107
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
105
108
  */
106
109
  bubbleScaleFactor ? : number
107
110
  /**
@@ -117,9 +120,10 @@ defineProps<{
117
120
  catchEventHandlerExceptions ? : Boolean
118
121
  /**
119
122
  * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
120
- * Set to `true` to centre the Widget in browser viewport space.
123
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-centered)
124
+ * @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
121
125
  */
122
- centered ? : Boolean
126
+ centered ? : Boolean|object
123
127
  /**
124
128
  * Padding around the entire chart area, in pixels.
125
129
  */
@@ -128,6 +132,7 @@ defineProps<{
128
132
  * Chart tooltip configuration object. Configures the tooltip that appears when hovering over chart data points.
129
133
  * This follows the Chartjs tooltip configuration specification. This will only be applied if [showTooltips](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#property-showTooltips)
130
134
  * is `true`.
135
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
131
136
  */
132
137
  chartTooltip ? : ChartTooltipConfig
133
138
  /**
@@ -227,7 +232,7 @@ defineProps<{
227
232
  dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
228
233
  /**
229
234
  * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
230
- * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
235
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
231
236
  * property which controls when a drag should start.
232
237
  * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-draggable)
233
238
  * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
@@ -315,10 +320,14 @@ defineProps<{
315
320
  inputFieldAlign ? : 'start'|'end'
316
321
  /**
317
322
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
323
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
324
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-insertBefore)
318
325
  */
319
326
  insertBefore ? : HTMLElement|string
320
327
  /**
321
328
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
329
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
330
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-insertFirst)
322
331
  */
323
332
  insertFirst ? : HTMLElement|string
324
333
  /**
@@ -357,7 +366,7 @@ defineProps<{
357
366
  */
358
367
  labels ? : DataSeries
359
368
  /**
360
- * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
369
+ * Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
361
370
  * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-labelWidth)
362
371
  */
363
372
  labelWidth ? : number|null
@@ -385,6 +394,7 @@ defineProps<{
385
394
  legendPosition ? : 'top'|'right'|'bottom'|'left'|'inline-start'|'inline-end'
386
395
  /**
387
396
  * Optional scale factor to increase or decrease the size of the chart legend.
397
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
388
398
  */
389
399
  legendScale ? : number
390
400
  /**
@@ -443,6 +453,7 @@ defineProps<{
443
453
  maximizeOnMobile ? : number|string
444
454
  /**
445
455
  * The maximum tick rotation in degrees.
456
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
446
457
  */
447
458
  maxTickLabelRotation ? : number
448
459
  /**
@@ -461,6 +472,7 @@ defineProps<{
461
472
  minHeight ? : string|number
462
473
  /**
463
474
  * The minimum tick rotation in degrees.
475
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
464
476
  */
465
477
  minTickLabelRotation ? : number
466
478
  /**
@@ -553,7 +565,7 @@ defineProps<{
553
565
  scrollable ? : Boolean|ScrollerConfig|Scroller
554
566
  /**
555
567
  * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
556
- * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
568
+ * Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
557
569
  */
558
570
  scrollAction ? : 'hide'|'realign'|null
559
571
  /**
@@ -629,6 +641,7 @@ defineProps<{
629
641
  subtitleFont ? : Font
630
642
  /**
631
643
  * Padding around the chart subtitle, in pixels.
644
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
632
645
  */
633
646
  subtitlePadding ? : object
634
647
  /**
@@ -679,6 +692,7 @@ defineProps<{
679
692
  titleFont ? : Font
680
693
  /**
681
694
  * Padding around the chart title, in pixels.
695
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
682
696
  */
683
697
  titlePadding ? : object
684
698
  /**
@@ -883,7 +897,6 @@ const widgetData = {
883
897
  'autoUpdateRecord',
884
898
  'border',
885
899
  'bubbleEvents',
886
- 'centered',
887
900
  'color',
888
901
  'config',
889
902
  'constrainTo',
@@ -941,6 +954,7 @@ const widgetData = {
941
954
  'bubbleScaleFactor',
942
955
  'callOnFunctions',
943
956
  'catchEventHandlerExceptions',
957
+ 'centered',
944
958
  'chartPadding',
945
959
  'chartTooltip',
946
960
  'chartType',
@@ -36,6 +36,8 @@ export declare type BryntumChartProps = {
36
36
  /**
37
37
  * Element (or the id of an element) to append this widget's element to. Can be configured, or set once at
38
38
  * runtime. To access the element of a rendered widget, see [element](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-element).
39
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
40
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-appendTo)
39
41
  */
40
42
  appendTo ? : HTMLElement|string
41
43
  /**
@@ -87,6 +89,7 @@ export declare type BryntumChartProps = {
87
89
  bubbleEvents ? : object
88
90
  /**
89
91
  * Scale factor to apply to the computed size of bubbles in the bubble chart type.
92
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
90
93
  */
91
94
  bubbleScaleFactor ? : number
92
95
  /**
@@ -102,9 +105,10 @@ export declare type BryntumChartProps = {
102
105
  catchEventHandlerExceptions ? : Boolean
103
106
  /**
104
107
  * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
105
- * Set to `true` to centre the Widget in browser viewport space.
108
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-centered)
109
+ * @property {boolean} [once] If `true`, the Widget will be centred on its first show, but if it is moved at runtime, it will opt out of centering for future shows.
106
110
  */
107
- centered ? : Boolean
111
+ centered ? : Boolean|object
108
112
  /**
109
113
  * Padding around the entire chart area, in pixels.
110
114
  */
@@ -113,6 +117,7 @@ export declare type BryntumChartProps = {
113
117
  * Chart tooltip configuration object. Configures the tooltip that appears when hovering over chart data points.
114
118
  * This follows the Chartjs tooltip configuration specification. This will only be applied if [showTooltips](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#property-showTooltips)
115
119
  * is `true`.
120
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
116
121
  */
117
122
  chartTooltip ? : ChartTooltipConfig
118
123
  /**
@@ -212,7 +217,7 @@ export declare type BryntumChartProps = {
212
217
  dock ? : 'top'|'bottom'|'left'|'right'|'start'|'end'|'header'|'pre-header'|object
213
218
  /**
214
219
  * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*
215
- * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a ´handleSelector´
220
+ * Set to `true` to be able to drag a widget freely on the page. Or set to an object with a `handleSelector`
216
221
  * property which controls when a drag should start.
217
222
  * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-draggable)
218
223
  * @property {string} handleSelector CSS selector used to determine if drag can be started from a mouse-downed element inside the widget
@@ -300,10 +305,14 @@ export declare type BryntumChartProps = {
300
305
  inputFieldAlign ? : 'start'|'end'
301
306
  /**
302
307
  * Element (or element id) to insert this widget before. If provided, [appendTo](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
308
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
309
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-insertBefore)
303
310
  */
304
311
  insertBefore ? : HTMLElement|string
305
312
  /**
306
313
  * Element (or element id) to append this widget element to, as a first child. If provided, [appendTo](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-appendTo) config is ignored.
314
+ * <div class="note">When creating nested trees of widgets, this should only be used on the outermost widget.
315
+ * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-insertFirst)
307
316
  */
308
317
  insertFirst ? : HTMLElement|string
309
318
  /**
@@ -342,7 +351,7 @@ export declare type BryntumChartProps = {
342
351
  */
343
352
  labels ? : DataSeries
344
353
  /**
345
- * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.
354
+ * Sets `labelWidth` for all children of this Container, that do not define their own `labelWidth`.
346
355
  * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-labelWidth)
347
356
  */
348
357
  labelWidth ? : number|null
@@ -370,6 +379,7 @@ export declare type BryntumChartProps = {
370
379
  legendPosition ? : 'top'|'right'|'bottom'|'left'|'inline-start'|'inline-end'
371
380
  /**
372
381
  * Optional scale factor to increase or decrease the size of the chart legend.
382
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
373
383
  */
374
384
  legendScale ? : number
375
385
  /**
@@ -428,6 +438,7 @@ export declare type BryntumChartProps = {
428
438
  maximizeOnMobile ? : number|string
429
439
  /**
430
440
  * The maximum tick rotation in degrees.
441
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
431
442
  */
432
443
  maxTickLabelRotation ? : number
433
444
  /**
@@ -446,6 +457,7 @@ export declare type BryntumChartProps = {
446
457
  minHeight ? : string|number
447
458
  /**
448
459
  * The minimum tick rotation in degrees.
460
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
449
461
  */
450
462
  minTickLabelRotation ? : number
451
463
  /**
@@ -538,7 +550,7 @@ export declare type BryntumChartProps = {
538
550
  scrollable ? : Boolean|ScrollerConfig|Scroller
539
551
  /**
540
552
  * Defines what to do if document is scrolled while Widget is visible (only relevant when floating is set to `true`).
541
- * Valid values: ´null´: do nothing, ´hide´: hide the widget or ´realign´: realign to the target if possible.
553
+ * Valid values: `null`: do nothing, `hide`: hide the widget or `realign`: realign to the target if possible.
542
554
  */
543
555
  scrollAction ? : 'hide'|'realign'|null
544
556
  /**
@@ -614,6 +626,7 @@ export declare type BryntumChartProps = {
614
626
  subtitleFont ? : Font
615
627
  /**
616
628
  * Padding around the chart subtitle, in pixels.
629
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
617
630
  */
618
631
  subtitlePadding ? : object
619
632
  /**
@@ -664,6 +677,7 @@ export declare type BryntumChartProps = {
664
677
  titleFont ? : Font
665
678
  /**
666
679
  * Padding around the chart title, in pixels.
680
+ * @deprecated 7.3.0 This field is not supported by AG Charts and has been deprecated
667
681
  */
668
682
  titlePadding ? : object
669
683
  /**
@@ -1 +0,0 @@
1
- {"version":3,"file":"-ldePR5f.js","sources":["../../src/components/BryntumChart.vue"],"sourcesContent":["<!-- Vue 3 wrapper for Bryntum Chart -->\n\n<template>\n <div ref=\"refElement\">\n\n </div>\n</template>\n\n<script setup lang=\"ts\">\n\nimport { getCurrentInstance, onBeforeUnmount, onMounted, provide, ref, watch, toRaw } from 'vue';\n\nimport type { AlignSpec, Base, Color, Container, DomConfig, KeyMapConfig, MaskConfig, MenuItemEntry, Model, ModelConfig, ReactJSX, Rectangle, Scroller, ScrollerConfig, TabConfig, ToolbarItems, TooltipConfig, VueConfig, Widget } from '@bryntum/core-thin';\nimport type { ChartListeners, ChartTooltipConfig, ChartContainerItemConfig, ChartContainerLayoutConfig, DataSeries, Font } from '@bryntum/chart-thin';\nimport { Chart } from '@bryntum/chart-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/chart/docs/api/Chart/widget/Chart#config-adopt)\n */\n adopt ? : HTMLElement|string\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-align)\n */\n align ? : AlignSpec|string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/chart/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/chart/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 * Whether to animate chart data changes.\n */\n animate ? : Boolean\n /**\n * Set the duration in milliseconds for all animations.\n */\n animationDuration ? : number\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/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-ariaLabel)\n */\n ariaLabel ? : string\n /**\n * Update assigned [record](https://bryntum.com/products/chart/docs/api/Core/widget/Container#config-record) automatically on field changes\n */\n autoUpdateRecord ? : Boolean\n /**\n * The stroke color used for the axis lines and ticks, or `null` for theme default.\n */\n axisColor ? : string\n /**\n * The text color used for the axis labels / ticks, or `null` to use `axisColor`.\n */\n axisLabelColor ? : string\n /**\n * The chart background color, or `null` for transparent.\n */\n background ? : string\n /**\n * Layout direction for the bar chart type.\n */\n barDirection ? : 'vertical'|'horizontal'\n /**\n * (Optional) For `'bar'` charts, the amount of the available bar area each bar in this series should occupy,\n * from 0 to 1. Default: 0.9.\n */\n barWidth ? : number\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/chart/docs/api/Chart/widget/Chart#config-bubbleEvents)\n */\n bubbleEvents ? : object\n /**\n * Scale factor to apply to the computed size of bubbles in the bubble chart type.\n */\n bubbleScaleFactor ? : number\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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-catchEventHandlerExceptions)\n */\n catchEventHandlerExceptions ? : Boolean\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/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 * Padding around the entire chart area, in pixels.\n */\n chartPadding ? : object\n /**\n * Chart tooltip configuration object. Configures the tooltip that appears when hovering over chart data points.\n * This follows the Chartjs tooltip configuration specification. This will only be applied if [showTooltips](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#property-showTooltips)\n * is `true`.\n */\n chartTooltip ? : ChartTooltipConfig\n /**\n * Basic type of chart.\n */\n chartType ? : 'line'|'bar'|'pie'|'donut'|'scatter'|'bubble'|'radar'\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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/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/chart/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/chart/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/chart/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/chart/docs/api/Chart/widget/Chart#config-contentElementCls)\n */\n contentElementCls ? : string|object\n /**\n * The data records or objects containing data to display in the chart.\n */\n data ? : Model[]|object[]|ModelConfig[]\n /**\n * When this Widget configuration is used in the Grid's RowExpander feature's `widget` config, provide the\n * field on the expanded record to use for populating this widget's store (if applicable)\n */\n dataField ? : string\n /**\n * The shape to use for data point markers, or `'none'` for no markers.\n */\n dataPointShape ? : 'square'|'circle'|'diamond'|'triangle'|'none'\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/chart/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/chart/docs/api/Chart/widget/Chart#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 ? : ChartContainerItemConfig\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/chart/docs/api/Chart/widget/Chart#config-detectCSSCompatibilityIssues)\n */\n detectCSSCompatibilityIssues ? : Boolean\n /**\n * Disable or enable the widget. It is similar to [readOnly](https://bryntum.com/products/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Core/widget/Panel)\n * [strips collection](https://bryntum.com/products/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-elementAttributes)\n */\n elementAttributes ? : Record<string, string|null>\n extraData ? : any\n /**\n * The name of the record field containing the data for this series.\n */\n field ? : string\n /**\n * (Optional) The name of a field in the chart data to use as the background color for each data element\n * (e.g. bar).\n */\n fillColorField ? : string\n /**\n * When this widget is a child of a [Container](https://bryntum.com/products/chart/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 * The stroke color used for the grid lines, or `null` for theme default.\n */\n gridColor ? : string\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/chart/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/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/chart/docs/api/Core/widget/Widget#config-appendTo) config is ignored.\n */\n insertFirst ? : HTMLElement|string\n /**\n * Whether to do dynamic highlighting and other interactivity as the mouse cursor moves over the chart.\n */\n interactive ? : Boolean\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/chart/docs/api/Chart/widget/Chart#config-items)\n */\n items ? : Record<string, ChartContainerItemConfig|MenuItemEntry>|(ChartContainerItemConfig|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/chart/docs/api/Chart/widget/Chart#config-keyMap)\n */\n keyMap ? : Record<string, KeyMapConfig>\n /**\n * The name of the series to display in the legend.\n */\n label ? : string\n /**\n * Convenience setting to use same label placement on all child widgets.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-labelPosition)\n */\n labelPosition ? : 'before'|'above'|'align-before'|'auto'|null\n /**\n * For line and bar charts, this series defines the data values to use as ticks for the x-axis.\n * For pie and donut chart, it defines the data values to use as slice labels.\n */\n labels ? : DataSeries\n /**\n * Sets `labelWidth´ for all children of this Container, that does not define their own `labelWidth`.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-layout)\n */\n layout ? : string|ChartContainerLayoutConfig\n /**\n * The CSS style properties to apply to the [contentElement](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-layoutStyle)\n */\n layoutStyle ? : object\n /**\n * An array of [child item](https://bryntum.com/products/chart/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/chart/docs/api/Chart/widget/Chart#config-lazyItems)\n */\n lazyItems ? : Record<string, ChartContainerItemConfig>|ChartContainerItemConfig[]|Widget[]\n /**\n * Where the chart's legend should appear relative to the main chart content.\n * Options `inline-start` and `inline-end` function as in CSS, with horizontal positioning\n * controlled by RTL mode.\n */\n legendPosition ? : 'top'|'right'|'bottom'|'left'|'inline-start'|'inline-end'\n /**\n * Optional scale factor to increase or decrease the size of the chart legend.\n */\n legendScale ? : number\n /**\n * The listener set for this object.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-listeners)\n */\n listeners ? : ChartListeners\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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Core/widget/Mask) created for the\n * [masked](https://bryntum.com/products/chart/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/chart/docs/api/Core/widget/Mask) config object.\n */\n masked ? : Boolean|string|MaskConfig\n /**\n * Max value for the Y axis, for chart types that have one.\n */\n max ? : number\n /**\n * The element's maxHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/chart/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/chart/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-maximizeOnMobile)\n */\n maximizeOnMobile ? : number|string\n /**\n * The maximum tick rotation in degrees.\n */\n maxTickLabelRotation ? : 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/chart/docs/api/Core/widget/Widget#config-width), *reading* the value will return the numeric value in pixels.\n */\n maxWidth ? : string|number\n /**\n * Min value for the Y axis, for chart types that have one.\n */\n min ? : number\n /**\n * The element's minHeight. Can be either a String or a Number (which will have 'px' appended). Note that\n * like [height](https://bryntum.com/products/chart/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 minimum tick rotation in degrees.\n */\n minTickLabelRotation ? : 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/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Core/widget/Container#config-items)\n * config. For example, a specialized [Menu](https://bryntum.com/products/chart/docs/api/Core/widget/Menu) subclass may have a `namedItems` default\n * value defined like this:\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-namedItems)\n */\n namedItems ? : Record<string, ChartContainerItemConfig>\n /**\n * Radius of data points, in pixels.\n */\n pointSize ? : number\n /**\n * Set to `true` when a widget is rendered into another widget's [contentElement](https://bryntum.com/products/chart/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/chart/docs/api/Core/widget/Widget#property-contentElement).\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-positioned)\n */\n positioned ? : Boolean\n /**\n * Prevent tooltip from being displayed on touch devices. Useful for example for buttons that display a\n * menu on click etc, since the tooltip would be displayed at the same time.\n */\n preventTooltipOnTouch ? : Boolean\n /**\n * Whether this widget is read-only. This is only valid if the widget is an input\n * field, <strong>or contains input fields at any depth</strong>.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-readOnly)\n */\n readOnly ? : Boolean\n /**\n * [Record](https://bryntum.com/products/chart/docs/api/Core/data/Model) whose values will be used to populate fields in the container.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-rtl)\n */\n rtl ? : Boolean\n /**\n * Specifies whether (and optionally in which axes) a Widget may scroll. `true` means this widget may scroll\n * in both axes. May be an object containing boolean `overflowX` and `overflowY` properties which are\n * applied to CSS style properties `overflowX` and `overflowY`. If they are boolean, they are translated to\n * CSS overflow properties thus:\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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 * One or more data series to display in the chart.\n */\n series ? : DataSeries[]\n /**\n * The type of stroke to use for data series lines.\n */\n seriesLineDash ? : 'dot'|'dash'|'solid'\n /**\n * The opacity of data series lines, from zero to one.\n */\n seriesLineOpacity ? : number\n /**\n * The thickness of data series lines, in pixels.\n */\n seriesLineThickness ? : number\n /**\n * *Only valid if this Widget is [floating](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#config-floating).*\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-showAnimation)\n */\n showAnimation ? : Boolean|object\n /**\n * Whether to show the chart's control button menu, for example, the download button.\n */\n showControls ? : Boolean\n /**\n * Whether to show the chart's legend.\n */\n showLegend ? : Boolean\n /**\n * Whether to show data point markers on the chart.\n */\n showPoints ? : Boolean\n /**\n * Whether to show the chart subtitle.\n */\n showSubtitle ? : Boolean\n /**\n * Whether to show tick marks and labels on the chart axes.\n */\n showTicks ? : Boolean\n /**\n * Whether to show the chart title.\n */\n showTitle ? : Boolean\n /**\n * Whether to show tooltips when the mouse cursor hovers over chart elements.\n */\n showTooltips ? : Boolean\n /**\n * Set to `false` to not show the tooltip when this widget is [disabled](https://bryntum.com/products/chart/docs/api/Core/widget/Widget#property-disabled)\n */\n showTooltipWhenDisabled ? : 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/chart/docs/api/Core/widget/Container#config-record),\n * without falling back to `ref`.\n */\n strictRecordMapping ? : Boolean\n /**\n * The chart subtitle.\n */\n subtitle ? : string\n /**\n * The font to use for the chart subtitle.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-subtitleFont)\n */\n subtitleFont ? : Font\n /**\n * Padding around the chart subtitle, in pixels.\n */\n subtitlePadding ? : object\n /**\n * A configuration for the [tab](https://bryntum.com/products/chart/docs/api/Core/widget/Tab) created for this widget when it is placed in a\n * [TabPanel](https://bryntum.com/products/chart/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/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Core/widget/TabBar) when this container is the active tab.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tabBarItems)\n */\n tabBarItems ? : ToolbarItems[]|Widget[]\n /**\n * The tag name of this Widget's root element\n */\n tag ? : string\n /**\n * Text alignment: 'left', 'center' or 'right'. Also accepts direction neutral 'start' and 'end'.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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/chart/docs/api/Chart/widget/Chart#config-textContent)\n */\n textContent ? : Boolean\n /**\n * The font to use for tick labels on the chart axes.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tickFont)\n */\n tickFont ? : Font\n /**\n * Set the color of the tick mark lines in the axis area, or `null` to default to [axisColor](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-axisColor).\n */\n tickMarkColor ? : string\n /**\n * The chart title.\n */\n title ? : string\n /**\n * The font to use for the chart title.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-titleFont)\n */\n titleFont ? : Font\n /**\n * Padding around the chart title, in pixels.\n */\n titlePadding ? : object\n /**\n * Tooltip for the widget, either as a string or as a Tooltip config object.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-tooltip)\n */\n tooltip ? : string|TooltipConfig|null\n type ? : 'chart'\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/chart/docs/api/Chart/widget/Chart#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/chart/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/chart/docs/api/Chart/widget/Chart#config-x)\n */\n x ? : number\n /**\n * The y position for the widget.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#config-y)\n */\n y ? : number\n\n}>();\n\nconst emit = defineEmits<{\n /**\n * Fires before an object is destroyed.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.Base} params.event.source The Object that is being destroyed.\n */\n (e: 'beforeDestroy', params: ((event: { source: Base }) => void)|string): void\n /**\n * Triggered before a widget is hidden. Return `false` to prevent the action.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget being hidden.\n */\n (e: 'beforeHide', params: ((event: { source: Widget }) => boolean|void)|string): boolean|void\n /**\n * 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 {object} params.event Event object\n * @param {Core.widget.Container} params.event.source The container\n * @param {Core.data.Model} 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 {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/chart/docs/api/Chart/widget/Chart#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 * 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 * Fires when a field is mutated and the state of the [hasChanges](https://bryntum.com/products/chart/docs/api/Core/widget/Container#property-hasChanges) property changes\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Container} params.event.source The container.\n * @param {boolean} 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/chart/docs/api/Core/widget/Widget#property-element) is available.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {HTMLElement} params.event.element The Widget's element.\n */\n (e: 'elementCreated', params: ((event: { element: HTMLElement }) => void)|string): void\n /**\n * Fired when focus enters this Widget.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusIn', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Fired when focus exits this Widget's ownership tree. This is different from a `blur` event.\n * focus moving from within this Widget's ownership tree, even if there are floating widgets\n * will not trigger this event. This is when focus exits this widget completely.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {HTMLElement} params.event.fromElement The element which lost focus.\n * @param {HTMLElement} params.event.toElement The element which gained focus.\n * @param {Core.widget.Widget} params.event.fromWidget The widget which lost focus.\n * @param {Core.widget.Widget} params.event.toWidget The widget which gained focus.\n * @param {boolean} params.event.backwards `true` if the `toElement` is before the `fromElement` in document order.\n */\n (e: 'focusOut', params: ((event: { source: Widget, fromElement: HTMLElement, toElement: HTMLElement, fromWidget: Widget, toWidget: Widget, backwards: boolean }) => void)|string): void\n /**\n * Triggered after a widget was hidden\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'hide', params: ((event: { source: Widget }) => void)|string): void\n /**\n * Triggered when a widget which had been in a non-visible state for any reason\n * achieves visibility.\n * [More...](https://bryntum.com/products/chart/docs/api/Chart/widget/Chart#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/chart/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/chart/docs/api/Core/widget/Widget#config-monitorResize) is `true`*.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source This Widget\n * @param {number} params.event.width The new width\n * @param {number} params.event.height The new height\n * @param {number} params.event.oldWidth The old width\n * @param {number} params.event.oldHeight The old height\n */\n (e: 'resize', params: ((event: { source: Widget, width: number, height: number, oldWidth: number, oldHeight: number }) => void)|string): void\n /**\n * Triggered after a widget is shown.\n * @param {string} e Event name\n * @param {object} params Event parameters\n * @param {object} params.event Event object\n * @param {Core.widget.Widget} params.event.source The widget\n */\n (e: 'show', params: ((event: { source: Widget }) => void)|string): void\n}>();\n\nconst widgetData = {\n instanceClass : Chart,\n instanceName : 'Chart',\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 'rootElement',\n 'scrollAction',\n 'showAnimation',\n 'showTooltipWhenDisabled',\n 'tab',\n 'tabBarItems',\n 'tag',\n 'textAlign',\n 'textContent',\n 'type',\n 'ui',\n 'weight'\n ],\n propertyConfigNames : [\n 'alignSelf',\n 'animate',\n 'animationDuration',\n 'appendTo',\n 'axisColor',\n 'axisLabelColor',\n 'background',\n 'barDirection',\n 'barWidth',\n 'bubbleScaleFactor',\n 'callOnFunctions',\n 'catchEventHandlerExceptions',\n 'chartPadding',\n 'chartTooltip',\n 'chartType',\n 'cls',\n 'column',\n 'content',\n 'data',\n 'dataPointShape',\n 'dataset',\n 'disabled',\n 'extraData',\n 'field',\n 'fillColorField',\n 'flex',\n 'gridColor',\n 'height',\n 'hidden',\n 'html',\n 'id',\n 'inputFieldAlign',\n 'insertBefore',\n 'insertFirst',\n 'interactive',\n 'items',\n 'keyMap',\n 'label',\n 'labelPosition',\n 'labels',\n 'labelWidth',\n 'layout',\n 'layoutStyle',\n 'legendPosition',\n 'legendScale',\n 'margin',\n 'max',\n 'maxHeight',\n 'maximizeOnMobile',\n 'maxTickLabelRotation',\n 'maxWidth',\n 'min',\n 'minHeight',\n 'minTickLabelRotation',\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 'pointSize',\n 'readOnly',\n 'record',\n 'rendition',\n 'role',\n 'rtl',\n 'scrollable',\n 'series',\n 'seriesLineDash',\n 'seriesLineOpacity',\n 'seriesLineThickness',\n 'showControls',\n 'showLegend',\n 'showPoints',\n 'showSubtitle',\n 'showTicks',\n 'showTitle',\n 'showTooltips',\n 'span',\n 'strictRecordMapping',\n 'subtitle',\n 'subtitleFont',\n 'subtitlePadding',\n 'tickFont',\n 'tickMarkColor',\n 'title',\n 'titleFont',\n 'titlePadding',\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?: Chart\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 Chart>({\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","Chart","instance","refElement","ref","teleports","provide","onMounted","me","getCurrentInstance","WrapperHelper","toRaw","watcher","prop","callback","watch","onBeforeUnmount","__expose","_createElementBlock"],"mappings":"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"}