@operato/scene-chartjs 0.1.4 → 1.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,37 +3,116 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ### [0.1.4](https://github.com/things-scene/operato-scene/compare/v0.1.3...v0.1.4) (2022-01-30)
6
+ ## [1.0.0-alpha.10](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) (2022-04-10)
7
7
 
8
+ **Note:** Version bump only for package @operato/scene-chartjs
9
+
10
+
11
+
12
+
13
+
14
+ ## [1.0.0-alpha.9](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) (2022-04-07)
15
+
16
+ **Note:** Version bump only for package @operato/scene-chartjs
17
+
18
+
19
+
20
+
21
+
22
+ ## [1.0.0-alpha.8](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.7...v1.0.0-alpha.8) (2022-04-07)
23
+
24
+ **Note:** Version bump only for package @operato/scene-chartjs
8
25
 
9
- ### :rocket: New Features
10
26
 
11
- * scene-label migrated from things-factory project ([3c9033c](https://github.com/things-scene/operato-scene/commit/3c9033c9af28bdd0377ac4a538ef7d4bfd38d488))
27
+
28
+
29
+
30
+ ## [1.0.0-alpha.7](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.6...v1.0.0-alpha.7) (2022-04-06)
31
+
32
+ **Note:** Version bump only for package @operato/scene-chartjs
33
+
34
+
35
+
36
+
37
+
38
+ ## [1.0.0-alpha.6](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.5...v1.0.0-alpha.6) (2022-04-05)
12
39
 
13
40
 
14
41
  ### :bug: Bug Fix
15
42
 
16
- * applied [@operato](https://github.com/operato) 0.3.24 ([fb4fed0](https://github.com/things-scene/operato-scene/commit/fb4fed0d9fd44d6ae38db6359fdca15fc61f167c))
17
- * applied [@things-factory](https://github.com/things-factory)@^4.0.40 ([3d4e6cb](https://github.com/things-scene/operato-scene/commit/3d4e6cbe167f605a68333fffe18949adb5247c1d))
18
- * upgrade [@operato](https://github.com/operato) dependencies ([7d2478e](https://github.com/things-scene/operato-scene/commit/7d2478e72586b662e6c219f0720c78cde5dd7a2d))
19
- * upgrade [@things-factory](https://github.com/things-factory) and [@operato](https://github.com/operato) ([4d97897](https://github.com/things-scene/operato-scene/commit/4d978970d3c8aba6ecae99e3fa98e431a647e8cb))
43
+ * [@things-factory](https://github.com/things-factory) 5.0.0-alpha.28 ([459ce88](https://github.com/things-scene/operato-scene/commit/459ce884942ab11bcd1e9b9c6af7bf045b580a41))
20
44
 
21
45
 
22
46
 
23
- ### [0.1.3](https://github.com/things-scene/operato-scene/compare/v0.1.2...v0.1.3) (2022-01-28)
47
+ ## [1.0.0-alpha.5](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.4...v1.0.0-alpha.5) (2022-04-03)
48
+
49
+
50
+ ### :bug: Bug Fix
51
+
52
+ * upgrade lit and operato, things-factory ([f056300](https://github.com/things-scene/operato-scene/commit/f056300c0e2f85c41715d3178f12c39bf3110a34))
53
+
24
54
 
25
55
 
56
+ ## [1.0.0-alpha.4](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.3...v1.0.0-alpha.4) (2022-03-13)
57
+
58
+
59
+ ### :bug: Bug Fix
60
+
61
+ * [@operato](https://github.com/operato) 1.0.0-alpha.17 ([a8a147c](https://github.com/things-scene/operato-scene/commit/a8a147c972ed571e35d210feb3bfbc7cd31f280b))
62
+
63
+
64
+
65
+ ## [1.0.0-alpha.3](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.2...v1.0.0-alpha.3) (2022-03-13)
66
+
67
+ ### :bug: Bug Fix
68
+
69
+ - [@operato](https://github.com/operato) 1.0.0-alpha.17 ([52c63fe](https://github.com/things-scene/operato-scene/commit/52c63fe1efde1a8fe6a9dc3b6852b1b2e12322bf))
70
+
71
+ ## [1.0.0-alpha.2](https://github.com/things-scene/operato-scene/compare/v1.0.0-alpha.1...v1.0.0-alpha.2) (2022-03-13)
72
+
73
+ ### :bug: Bug Fix
74
+
75
+ - [@operato](https://github.com/operato) 1.0.0-alpha.14 ([c124d67](https://github.com/things-scene/operato-scene/commit/c124d672260ac940175a2a831f702aa3b5f5c996))
76
+
77
+ ## [1.0.0-alpha.1](https://github.com/things-scene/operato-scene/compare/v0.1.5...v1.0.0-alpha.1) (2022-03-13)
78
+
79
+ ### :bug: Bug Fix
80
+
81
+ - remove all things-editors ([b87aa8e](https://github.com/things-scene/operato-scene/commit/b87aa8e842636f3340163988337cbbfdd39b6f3c))
82
+
83
+ ### :rocket: New Features
84
+
85
+ - [@operato](https://github.com/operato) 1.0.0-alpha and [@things-factory](https://github.com/things-factory) 5.0.0-alpha ([5f7f2d4](https://github.com/things-scene/operato-scene/commit/5f7f2d45ccc8300822e712c93948850bcdb43687))
86
+
87
+ ### [0.1.5](https://github.com/things-scene/operato-scene/compare/v0.1.4...v0.1.5) (2022-02-10)
88
+
26
89
  ### :rocket: New Features
27
90
 
28
- * add graphql, mqtt scene component ([e223063](https://github.com/things-scene/operato-scene/commit/e223063b562f6a6a7b6ff12f3e32df30aa920da8))
91
+ - move news-ticker to here ([c5e565d](https://github.com/things-scene/operato-scene/commit/c5e565dff6016977766e54b3b74c4f80838f7cd2))
92
+
93
+ ### [0.1.4](https://github.com/things-scene/operato-scene/compare/v0.1.3...v0.1.4) (2022-01-30)
94
+
95
+ ### :rocket: New Features
29
96
 
97
+ - scene-label migrated from things-factory project ([3c9033c](https://github.com/things-scene/operato-scene/commit/3c9033c9af28bdd0377ac4a538ef7d4bfd38d488))
30
98
 
31
99
  ### :bug: Bug Fix
32
100
 
33
- * applied [@operato](https://github.com/operato)@^0.3.20 ([9a1dcbd](https://github.com/things-scene/operato-scene/commit/9a1dcbd2d1ca7f95b498503c87242b6d57ee3482))
34
- * applied [@things-factory](https://github.com/things-factory)@^4.0.38 and [@operato](https://github.com/operato)@^0.3.18 ([d506c2d](https://github.com/things-scene/operato-scene/commit/d506c2d8a58341eee235079eff9b79bfa1fe350f))
101
+ - applied [@operato](https://github.com/operato) 0.3.24 ([fb4fed0](https://github.com/things-scene/operato-scene/commit/fb4fed0d9fd44d6ae38db6359fdca15fc61f167c))
102
+ - applied [@things-factory](https://github.com/things-factory)@^4.0.40 ([3d4e6cb](https://github.com/things-scene/operato-scene/commit/3d4e6cbe167f605a68333fffe18949adb5247c1d))
103
+ - upgrade [@operato](https://github.com/operato) dependencies ([7d2478e](https://github.com/things-scene/operato-scene/commit/7d2478e72586b662e6c219f0720c78cde5dd7a2d))
104
+ - upgrade [@things-factory](https://github.com/things-factory) and [@operato](https://github.com/operato) ([4d97897](https://github.com/things-scene/operato-scene/commit/4d978970d3c8aba6ecae99e3fa98e431a647e8cb))
105
+
106
+ ### [0.1.3](https://github.com/things-scene/operato-scene/compare/v0.1.2...v0.1.3) (2022-01-28)
107
+
108
+ ### :rocket: New Features
109
+
110
+ - add graphql, mqtt scene component ([e223063](https://github.com/things-scene/operato-scene/commit/e223063b562f6a6a7b6ff12f3e32df30aa920da8))
35
111
 
112
+ ### :bug: Bug Fix
36
113
 
114
+ - applied [@operato](https://github.com/operato)@^0.3.20 ([9a1dcbd](https://github.com/things-scene/operato-scene/commit/9a1dcbd2d1ca7f95b498503c87242b6d57ee3482))
115
+ - applied [@things-factory](https://github.com/things-factory)@^4.0.38 and [@operato](https://github.com/operato)@^0.3.18 ([d506c2d](https://github.com/things-scene/operato-scene/commit/d506c2d8a58341eee235079eff9b79bfa1fe350f))
37
116
 
38
117
  ### [0.1.2](https://github.com/things-scene/operato-scene/compare/v0.1.1...v0.1.2) (2022-01-13)
39
118
 
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2021 Hearty, Oh
3
+ Copyright (c) hatiolab.com
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -5,10 +5,10 @@ export default class PropertyEditorChartJSAbstract extends LitElement {
5
5
  static styles: import("lit").CSSResult[];
6
6
  value: any;
7
7
  currentSeriesIndex: number;
8
- render(): import("lit-html").TemplateResult<1>;
8
+ render(): import("lit").TemplateResult<1>;
9
9
  firstUpdated(): void;
10
- displayValueTemplate(): import("lit-html").TemplateResult<1>;
11
- editorTemplate(props: Properties): import("lit-html").TemplateResult<1>;
10
+ displayValueTemplate(): import("lit").TemplateResult<1>;
11
+ editorTemplate(props: Properties): import("lit").TemplateResult<1>;
12
12
  get data(): any;
13
13
  set data(data: any);
14
14
  get datasets(): any;
@@ -1,8 +1,8 @@
1
1
  import { __decorate } from "tslib";
2
- import { html, LitElement } from 'lit';
3
- import { property } from 'lit/decorators.js';
4
- import { random as randomColor, TinyColor } from '@ctrl/tinycolor';
2
+ import { LitElement, html } from 'lit';
3
+ import { TinyColor, random as randomColor } from '@ctrl/tinycolor';
5
4
  import { PropertyEditorChartJSStyles } from './property-editor-chartjs-styles';
5
+ import { property } from 'lit/decorators.js';
6
6
  export default class PropertyEditorChartJSAbstract extends LitElement {
7
7
  constructor() {
8
8
  super(...arguments);
@@ -53,10 +53,10 @@ export default class PropertyEditorChartJSAbstract extends LitElement {
53
53
  ${this.series.displayValue
54
54
  ? html `
55
55
  <label> <i18n-msg msgid="label.font-color">Font Color</i18n-msg> </label>
56
- <things-editor-color
56
+ <ox-input-color
57
57
  value-key="series.defaultFontColor"
58
58
  .value=${this.series.defaultFontColor || '#000'}
59
- ></things-editor-color>
59
+ ></ox-input-color>
60
60
  <label> <i18n-msg msgid="label.font-size">Font Size</i18n-msg> </label>
61
61
  <input type="number" value-key="series.defaultFontSize" .value=${this.series.defaultFontSize || 10} />
62
62
  <label> <i18n-msg msgid="label.position">Position</i18n-msg> </label>
@@ -1 +1 @@
1
- {"version":3,"file":"property-editor-chartjs-abstract.js","sour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zD,KAAK,MAAM;wBACT,OAAO,MAAM,CAAE,OAA4B,CAAC,KAAK,CAAC,CAAA;iBACrD;YAEH,KAAK,cAAc;gBACjB,OAAQ,OAAe,CAAC,MAAM,CAAA;YAEhC,KAAK,eAAe;gBAClB,OAAQ,OAAe,CAAC,QAAQ,CAAA;YAElC,KAAK,8BAA8B;gBACjC,OAAQ,OAAe,CAAC,MAAM,CAAA;YAEhC,KAAK,2BAA2B;gBAC9B,OAAO,MAAM,CAAE,OAAe,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;YAE7C;gBACE,OAAQ,OAAe,CAAC,KAAK,CAAA;SAChC;IACH,CAAC;;AA/RM,oCAAM,GAAG,CAAC,2BAA2B,CAAC,CAAA;AAEjB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4DAAgB;AACf;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;yEAA+B","sourcesContent":["import { html, LitElement } from 'lit'\nimport { property } from 'lit/decorators.js'\n\nimport { random as randomColor, TinyColor } from '@ctrl/tinycolor'\nimport { Properties } from '@hatiolab/things-scene'\n\nimport { PropertyEditorChartJSStyles } from './property-editor-chartjs-styles'\n\nexport default class PropertyEditorChartJSAbstract extends LitElement {\n static styles = [PropertyEditorChartJSStyles]\n\n @property({ type: Object }) value: any = {}\n @property({ type: Number }) currentSeriesIndex: number = 0\n\n render() {\n return html`\n <legend><i18n-msg msgid=\"label.chart\">Chart</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.theme\">theme</i18n-msg> </label>\n <select value-key=\"theme\" class=\"select-content\" .value=${this.theme}>\n <option value=\"dark\">dark</option>\n <option value=\"light\">light</option>\n </select>\n\n <input type=\"checkbox\" value-key=\"display\" .checked=${this.display} />\n <label> <i18n-msg msgid=\"label.legend\">Legend</i18n-msg> </label>\n\n ${this.display\n ? html`\n <label> <i18n-msg msgid=\"label.position\">Position</i18n-msg> </label>\n <select value-key=\"position\" class=\"select-content\" .value=${this.position}>\n <option value=\"top\">top</option>\n <option value=\"right\">right</option>\n <option value=\"bottom\">bottom</option>\n <option value=\"left\">left</option>\n </select>\n `\n : html``}\n ${this.editorTemplate(this)}\n `\n }\n\n firstUpdated() {\n this.renderRoot.addEventListener('change', this.onValuesChanged.bind(this))\n }\n\n displayValueTemplate() {\n return html`\n <label> <i18n-msg msgid=\"label.value-prefix\">Value Prefix</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.valuePrefix\" .value=${this.series.valuePrefix || ''} />\n\n <label> <i18n-msg msgid=\"label.value-suffix\">Value suffix</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.valueSuffix\" .value=${this.series.valueSuffix || ''} />\n\n <input type=\"checkbox\" value-key=\"series.displayValue\" .checked=${this.series.displayValue || false} />\n <label> <i18n-msg msgid=\"label.value-display\">Value Display</i18n-msg> </label>\n\n ${this.series.displayValue\n ? html`\n <label> <i18n-msg msgid=\"label.font-color\">Font Color</i18n-msg> </label>\n <things-editor-color\n value-key=\"series.defaultFontColor\"\n .value=${this.series.defaultFontColor || '#000'}\n ></things-editor-color>\n <label> <i18n-msg msgid=\"label.font-size\">Font Size</i18n-msg> </label>\n <input type=\"number\" value-key=\"series.defaultFontSize\" .value=${this.series.defaultFontSize || 10} />\n <label> <i18n-msg msgid=\"label.position\">Position</i18n-msg> </label>\n <select value-key=\"series.dataLabelAnchor\" .value=${this.series.dataLabelAnchor || 'center'}>\n <option value=\"start\">Start</option>\n <option value=\"center\" selected>Center</option>\n <option value=\"end\">End</option>\n </select>\n `\n : html``}\n `\n }\n\n editorTemplate(props: Properties) {\n return html``\n }\n\n get data() {\n return this.value.data\n }\n\n set data(data) {\n this.value.data = data\n }\n\n get datasets() {\n if (!this.data.datasets) this.data.datasets = []\n\n return this.data.datasets\n }\n\n set datasets(datasets) {\n this.datasets = datasets\n }\n\n get series() {\n if (!this.datasets[this.currentSeriesIndex]) this.datasets[this.currentSeriesIndex] = {}\n return this.datasets[this.currentSeriesIndex]\n }\n\n set series(series) {\n !this.data ? (this.data = { dataset: [series] }) : (this.datasets[this.currentSeriesIndex] = series)\n }\n\n set dataKey(key) {\n this.series.dataKey = key\n }\n\n get dataKey() {\n return this.series.dataKey\n }\n\n get legend() {\n !this.value.options && (this.value.options = {})\n return this.value.options.legend\n }\n\n set legend(legend) {\n this.value.options.legend = legend\n }\n\n get theme() {\n return this.value.options && this.value.options.theme\n }\n\n set theme(theme) {\n !this.value.options && (this.value.options = {})\n this.value.options.theme = theme\n }\n\n get scales() {\n return this.value.options.scales\n }\n\n set scales(scales) {\n !this.value.options && (this.value.options = {})\n this.value.options.scales = scales\n }\n\n get display() {\n return this.legend && this.legend.display\n }\n\n set display(display) {\n this.legend.display = display\n }\n\n get position() {\n return this.legend.position\n }\n\n set position(position) {\n this.legend.position = position\n }\n\n get stacked() {\n return this.value.options.stacked\n }\n\n set stacked(stacked) {\n this.value.options.stacked = stacked\n }\n\n get labelDataKey() {\n return this.data && this.data.labelDataKey\n }\n\n set labelDataKey(labelDataKey) {\n this.data.labelDataKey = labelDataKey\n }\n\n set options(options) {\n this.value.options = options\n }\n\n get options() {\n return this.value.options\n }\n\n onValuesChanged(e: Event) {\n var element = e.target as HTMLInputElement\n var key = element.getAttribute('value-key')\n var value = element.value\n\n if (!key) {\n return\n }\n\n value = this._getElementValue(element)\n\n var attrs = key.split('.')\n var attr = attrs.shift() || ''\n var variable = this\n\n while (attrs.length > 0) {\n //@ts-ignore\n variable = variable[attr]\n attr = attrs.shift() || ''\n }\n\n //@ts-ignore\n variable[attr] = value\n\n this.dispatchEvent(new CustomEvent('change', { bubbles: true, composed: true }))\n this.requestUpdate()\n }\n\n onTapAddTab(e: Event) {\n if (!this.value.data.datasets) return\n\n var lastSeriesIndex = this.value.data.datasets.length\n var chartType = this.series.type || this.value.type\n var lastSeriesColor = new TinyColor(this.datasets[lastSeriesIndex - 1].backgroundColor)\n\n var seriesModel = this._getSeriesModel({\n chartType,\n datasetsLength: lastSeriesIndex,\n lastSeriesColor\n })\n\n this.value.data.datasets.push(seriesModel)\n this.dispatchEvent(new CustomEvent('change', { bubbles: true, composed: true }))\n this.currentSeriesIndex = lastSeriesIndex\n }\n\n onTapRemoveCurrentTab(e: Event) {\n if (!this.value.data.datasets) return\n\n var currIndex = this.currentSeriesIndex\n this.value.data.datasets.splice(currIndex, 1)\n\n currIndex--\n\n if (currIndex < 0) currIndex = 0\n\n this.dispatchEvent(new CustomEvent('change', { bubbles: true, composed: true }))\n this.currentSeriesIndex = currIndex\n\n this.requestUpdate()\n }\n\n _getSeriesModel({\n chartType,\n datasetsLength,\n lastSeriesColor\n }: {\n chartType: any\n datasetsLength: number\n lastSeriesColor: TinyColor\n }) {\n var addSeriesOption: any = {\n label: `series ${datasetsLength + 1}`,\n data: [],\n borderWidth: 1,\n dataKey: '',\n yAxisID: 'left',\n color: randomColor({\n hue: lastSeriesColor as any\n }).toRgbString()\n }\n\n addSeriesOption.type = addSeriesOption.chartType = chartType\n return addSeriesOption\n }\n\n _getElementValue(element: HTMLElement) {\n switch (element.tagName) {\n case 'INPUT':\n switch ((element as HTMLInputElement).type) {\n case 'checkbox':\n return (element as HTMLInputElement).checked\n case 'number':\n return Number((element as HTMLInputElement).value) || 0\n case 'text':\n return String((element as HTMLInputElement).value)\n }\n\n case 'PAPER-BUTTON':\n return (element as any).active\n\n case 'PAPER-LISTBOX':\n return (element as any).selected\n\n case 'THINGS-EDITOR-MULTIPLE-COLOR':\n return (element as any).values\n\n case 'THINGS-EDITOR-ANGLE-INPUT':\n return Number((element as any).radian) || 0\n\n default:\n return (element as any).value\n }\n }\n}\n"]}
1
+ {"version":3,"file":"property-editor-chartjs-abstract.js","sourceRoot":"","sources":["../../src/editors/property-editor-chartjs-abstract.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,WAAW,EAAE,MAAM,iBAAiB,C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,CAAA;YAElC,KAAK,8BAA8B;gBACjC,OAAQ,OAAe,CAAC,MAAM,CAAA;YAEhC,KAAK,2BAA2B;gBAC9B,OAAO,MAAM,CAAE,OAAe,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;YAE7C;gBACE,OAAQ,OAAe,CAAC,KAAK,CAAA;SAChC;IACH,CAAC;;AA/RM,oCAAM,GAAG,CAAC,2BAA2B,CAAC,CAAA;AAEjB;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;4DAAgB;AACf;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;yEAA+B","sourcesContent":["import { LitElement, html } from 'lit'\nimport { TinyColor, random as randomColor } from '@ctrl/tinycolor'\n\nimport { Properties } from '@hatiolab/things-scene'\nimport { PropertyEditorChartJSStyles } from './property-editor-chartjs-styles'\nimport { property } from 'lit/decorators.js'\n\nexport default class PropertyEditorChartJSAbstract extends LitElement {\n static styles = [PropertyEditorChartJSStyles]\n\n @property({ type: Object }) value: any = {}\n @property({ type: Number }) currentSeriesIndex: number = 0\n\n render() {\n return html`\n <legend><i18n-msg msgid=\"label.chart\">Chart</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.theme\">theme</i18n-msg> </label>\n <select value-key=\"theme\" class=\"select-content\" .value=${this.theme}>\n <option value=\"dark\">dark</option>\n <option value=\"light\">light</option>\n </select>\n\n <input type=\"checkbox\" value-key=\"display\" .checked=${this.display} />\n <label> <i18n-msg msgid=\"label.legend\">Legend</i18n-msg> </label>\n\n ${this.display\n ? html`\n <label> <i18n-msg msgid=\"label.position\">Position</i18n-msg> </label>\n <select value-key=\"position\" class=\"select-content\" .value=${this.position}>\n <option value=\"top\">top</option>\n <option value=\"right\">right</option>\n <option value=\"bottom\">bottom</option>\n <option value=\"left\">left</option>\n </select>\n `\n : html``}\n ${this.editorTemplate(this)}\n `\n }\n\n firstUpdated() {\n this.renderRoot.addEventListener('change', this.onValuesChanged.bind(this))\n }\n\n displayValueTemplate() {\n return html`\n <label> <i18n-msg msgid=\"label.value-prefix\">Value Prefix</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.valuePrefix\" .value=${this.series.valuePrefix || ''} />\n\n <label> <i18n-msg msgid=\"label.value-suffix\">Value suffix</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.valueSuffix\" .value=${this.series.valueSuffix || ''} />\n\n <input type=\"checkbox\" value-key=\"series.displayValue\" .checked=${this.series.displayValue || false} />\n <label> <i18n-msg msgid=\"label.value-display\">Value Display</i18n-msg> </label>\n\n ${this.series.displayValue\n ? html`\n <label> <i18n-msg msgid=\"label.font-color\">Font Color</i18n-msg> </label>\n <ox-input-color\n value-key=\"series.defaultFontColor\"\n .value=${this.series.defaultFontColor || '#000'}\n ></ox-input-color>\n <label> <i18n-msg msgid=\"label.font-size\">Font Size</i18n-msg> </label>\n <input type=\"number\" value-key=\"series.defaultFontSize\" .value=${this.series.defaultFontSize || 10} />\n <label> <i18n-msg msgid=\"label.position\">Position</i18n-msg> </label>\n <select value-key=\"series.dataLabelAnchor\" .value=${this.series.dataLabelAnchor || 'center'}>\n <option value=\"start\">Start</option>\n <option value=\"center\" selected>Center</option>\n <option value=\"end\">End</option>\n </select>\n `\n : html``}\n `\n }\n\n editorTemplate(props: Properties) {\n return html``\n }\n\n get data() {\n return this.value.data\n }\n\n set data(data) {\n this.value.data = data\n }\n\n get datasets() {\n if (!this.data.datasets) this.data.datasets = []\n\n return this.data.datasets\n }\n\n set datasets(datasets) {\n this.datasets = datasets\n }\n\n get series() {\n if (!this.datasets[this.currentSeriesIndex]) this.datasets[this.currentSeriesIndex] = {}\n return this.datasets[this.currentSeriesIndex]\n }\n\n set series(series) {\n !this.data ? (this.data = { dataset: [series] }) : (this.datasets[this.currentSeriesIndex] = series)\n }\n\n set dataKey(key) {\n this.series.dataKey = key\n }\n\n get dataKey() {\n return this.series.dataKey\n }\n\n get legend() {\n !this.value.options && (this.value.options = {})\n return this.value.options.legend\n }\n\n set legend(legend) {\n this.value.options.legend = legend\n }\n\n get theme() {\n return this.value.options && this.value.options.theme\n }\n\n set theme(theme) {\n !this.value.options && (this.value.options = {})\n this.value.options.theme = theme\n }\n\n get scales() {\n return this.value.options.scales\n }\n\n set scales(scales) {\n !this.value.options && (this.value.options = {})\n this.value.options.scales = scales\n }\n\n get display() {\n return this.legend && this.legend.display\n }\n\n set display(display) {\n this.legend.display = display\n }\n\n get position() {\n return this.legend.position\n }\n\n set position(position) {\n this.legend.position = position\n }\n\n get stacked() {\n return this.value.options.stacked\n }\n\n set stacked(stacked) {\n this.value.options.stacked = stacked\n }\n\n get labelDataKey() {\n return this.data && this.data.labelDataKey\n }\n\n set labelDataKey(labelDataKey) {\n this.data.labelDataKey = labelDataKey\n }\n\n set options(options) {\n this.value.options = options\n }\n\n get options() {\n return this.value.options\n }\n\n onValuesChanged(e: Event) {\n var element = e.target as HTMLInputElement\n var key = element.getAttribute('value-key')\n var value = element.value\n\n if (!key) {\n return\n }\n\n value = this._getElementValue(element)\n\n var attrs = key.split('.')\n var attr = attrs.shift() || ''\n var variable = this\n\n while (attrs.length > 0) {\n //@ts-ignore\n variable = variable[attr]\n attr = attrs.shift() || ''\n }\n\n //@ts-ignore\n variable[attr] = value\n\n this.dispatchEvent(new CustomEvent('change', { bubbles: true, composed: true }))\n this.requestUpdate()\n }\n\n onTapAddTab(e: Event) {\n if (!this.value.data.datasets) return\n\n var lastSeriesIndex = this.value.data.datasets.length\n var chartType = this.series.type || this.value.type\n var lastSeriesColor = new TinyColor(this.datasets[lastSeriesIndex - 1].backgroundColor)\n\n var seriesModel = this._getSeriesModel({\n chartType,\n datasetsLength: lastSeriesIndex,\n lastSeriesColor\n })\n\n this.value.data.datasets.push(seriesModel)\n this.dispatchEvent(new CustomEvent('change', { bubbles: true, composed: true }))\n this.currentSeriesIndex = lastSeriesIndex\n }\n\n onTapRemoveCurrentTab(e: Event) {\n if (!this.value.data.datasets) return\n\n var currIndex = this.currentSeriesIndex\n this.value.data.datasets.splice(currIndex, 1)\n\n currIndex--\n\n if (currIndex < 0) currIndex = 0\n\n this.dispatchEvent(new CustomEvent('change', { bubbles: true, composed: true }))\n this.currentSeriesIndex = currIndex\n\n this.requestUpdate()\n }\n\n _getSeriesModel({\n chartType,\n datasetsLength,\n lastSeriesColor\n }: {\n chartType: any\n datasetsLength: number\n lastSeriesColor: TinyColor\n }) {\n var addSeriesOption: any = {\n label: `series ${datasetsLength + 1}`,\n data: [],\n borderWidth: 1,\n dataKey: '',\n yAxisID: 'left',\n color: randomColor({\n hue: lastSeriesColor as any\n }).toRgbString()\n }\n\n addSeriesOption.type = addSeriesOption.chartType = chartType\n return addSeriesOption\n }\n\n _getElementValue(element: HTMLElement) {\n switch (element.tagName) {\n case 'INPUT':\n switch ((element as HTMLInputElement).type) {\n case 'checkbox':\n return (element as HTMLInputElement).checked\n case 'number':\n return Number((element as HTMLInputElement).value) || 0\n case 'text':\n return String((element as HTMLInputElement).value)\n }\n\n case 'PAPER-BUTTON':\n return (element as any).active\n\n case 'PAPER-LISTBOX':\n return (element as any).selected\n\n case 'THINGS-EDITOR-MULTIPLE-COLOR':\n return (element as any).values\n\n case 'THINGS-EDITOR-ANGLE-INPUT':\n return Number((element as any).radian) || 0\n\n default:\n return (element as any).value\n }\n }\n}\n"]}
@@ -4,6 +4,6 @@ import '@polymer/paper-icon-button/paper-icon-button';
4
4
  import '@polymer/paper-tabs/paper-tabs';
5
5
  import PropertyEditorChartJSMultiSeriesAbstract from './property-editor-chartjs-multi-series-abstract';
6
6
  export default class PropertyEditorChartJSHBar extends PropertyEditorChartJSMultiSeriesAbstract {
7
- editorTemplate(): import("lit-html").TemplateResult<1>;
8
- multiSeriesTabTemplate(): import("lit-html").TemplateResult<1>;
7
+ editorTemplate(): import("lit").TemplateResult<1>;
8
+ multiSeriesTabTemplate(): import("lit").TemplateResult<1>;
9
9
  }
@@ -138,7 +138,7 @@ let PropertyEditorChartJSHBar = class PropertyEditorChartJSHBar extends Property
138
138
  <label> <i18n-msg msgid="label.label">Label</i18n-msg> </label>
139
139
  <input type="text" value-key="series.label" .value=${this.series.label} />
140
140
  <label> <i18n-msg msgid="label.color">Color</i18n-msg> </label>
141
- <things-editor-color value-key="color" .value=${this.color}></things-editor-color>
141
+ <ox-input-color value-key="color" .value=${this.color}></ox-input-color>
142
142
  <label> <i18n-msg msgid="label.stack-group">Stack Group</i18n-msg> </label>
143
143
  <input type="text" value-key="series.stack" .value=${this.series.stack || ''} />
144
144
 
@@ -1 +1 @@
1
- {"version":3,"file":"property-editor-chartjs-hbar.js","sourceRoot":"","sources":["../../src/editors/property-editor-chartjs-hbar.ts"],"names":[],"mappings":";AAAA,OAAO,8BAA8B,CAAA;AACrC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,8CAA8C,CAAA;AACrD,OAAO,gCAAgC,CAAA;AAEvC,OAAO,wCAAwC,MAAM,iDAAiD,CAAA;AACtG,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAqB,yBAAyB,GAA9C,MAAqB,yBAA0B,SAAQ,wCAAwC;IAC7F,cAAc;QACZ,OAAO,IAAI,CAAA;;QAEP,IAAI,CAAC,sBAAsB,EAAE;;;;;2DAKsB,IAAI,CAAC,YAAY;;;+DAGb,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE;;;;;;;;;iBASzE,IAAI,CAAC,MAAM,CAAC,UAAU,IAAI,GAAG;;;;;;;;;iBAS7B,IAAI,CAAC,MAAM,CAAC,eAAe,IAAI,GAAG;;;4EAGyB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,SAAS;;;yEAG/B,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO;;;;;;2DAMvC,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE;;yEAEb,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO;;;yEAGzB,I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AAqB,CAAC,CAAC,CAAC;;uBAEpF;YACH,CAAC,CAAC,IAAI,CAAA,EAAE;;eAEb,CACF;;;;;qBAKQ,CAAC,CAAQ,EAAE,EAAE;YACpB,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAA;QAC9B,CAAC;;;;;;;;mBAQM,CAAC,CAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;;;;gCAIpB,IAAI,CAAC,kBAAkB;YAC3C,IAAI,CAAC,QAAQ,CAAC,GAAG,CACjB,CAAC,OAAY,EAAE,KAAa,EAAE,EAAE,CAAC,IAAI,CAAA;uDACM,KAAK;;gEAEI,IAAI,CAAC,OAAO;;qEAEP,IAAI,CAAC,MAAM,CAAC,KAAK;;gEAEtB,IAAI,CAAC,KAAK;;qEAEL,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;;kBAE1E,IAAI,CAAC,oBAAoB,EAAE;;aAEhC,CACF;;;KAGN,CAAA;IACH,CAAC;CACF,CAAA;AApJoB,yBAAyB;IAD7C,aAAa,CAAC,8BAA8B,CAAC;GACzB,yBAAyB,CAoJ7C;eApJoB,yBAAyB","sourcesContent":["import '@polymer/iron-icon/iron-icon'\nimport '@polymer/paper-button/paper-button'\nimport '@polymer/paper-icon-button/paper-icon-button'\nimport '@polymer/paper-tabs/paper-tabs'\n\nimport PropertyEditorChartJSMultiSeriesAbstract from './property-editor-chartjs-multi-series-abstract'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('property-editor-chartjs-hbar')\nexport default class PropertyEditorChartJSHBar extends PropertyEditorChartJSMultiSeriesAbstract {\n editorTemplate() {\n return html`\n <legend><i18n-msg msgid=\"label.series\">Series</i18n-msg></legend>\n ${this.multiSeriesTabTemplate()}\n\n <legend><i18n-msg msgid=\"label.y-axes\">Y Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"labelDataKey\" .value=${this.labelDataKey} />\n\n <label> <i18n-msg msgid=\"label.title\">Title</i18n-msg> </label>\n <input type=\"text\" value-key=\"yAxes0.axisTitle\" .value=${this.yAxes0.axisTitle || ''} />\n\n <label><i18n-msg msgid=\"label.bar-spacing\">Bar Spacing</i18n-msg></label>\n <input\n type=\"number\"\n min=\"0\"\n max=\"1\"\n step=\"0.1\"\n value-key=\"yAxes0.barSpacing\"\n .value=${this.yAxes0.barSpacing || NaN}\n />\n <label><i18n-msg msgid=\"label.tick-spacing\">Tick Spacing</i18n-msg></label>\n <input\n type=\"number\"\n min=\"0\"\n max=\"1\"\n step=\"0.1\"\n value-key=\"yAxes0.categorySpacing\"\n .value=${this.yAxes0.categorySpacing || NaN}\n />\n\n <input type=\"checkbox\" value-key=\"value.options.xGridLine\" .checked=${this.value.options.xGridLine} />\n <label> <i18n-msg msgid=\"label.grid-line\">Grid Line</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"xAxes0.ticks.display\" .checked=${this.xAxes0.ticks.display} />\n <label> <i18n-msg msgid=\"label.display-tick\">Display Tick</i18n-msg> </label>\n\n <legend><i18n-msg msgid=\"label.x-axes\">X Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.title\">Title</i18n-msg> </label>\n <input type=\"text\" value-key=\"xAxes0.title\" .value=${this.xAxes0.axisTitle || ''} />\n\n <input type=\"checkbox\" value-key=\"xAxes0.ticks.autoMin\" .checked=${this.xAxes0.ticks.autoMin} />\n <label> <i18n-msg msgid=\"label.axis-min-auto\">Axis Min Auto</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"xAxes0.ticks.autoMax\" .checked=${this.xAxes0.ticks.autoMax} />\n <label> <i18n-msg msgid=\"label.axis-max-auto\">Axis Max Auto</i18n-msg> </label>\n\n ${!this.xAxes0.ticks.autoMin\n ? html`\n <label> <i18n-msg msgid=\"label.axis-min\">Axis Min</i18n-msg> </label>\n <input type=\"number\" value-key=\"xAxes0.ticks.min\" .value=${this.xAxes0.ticks.min} />\n `\n : html``}\n ${!this.xAxes0.ticks.autoMax\n ? html`\n <label> <i18n-msg msgid=\"label.axis-max\">Axis Max</i18n-msg> </label>\n <input type=\"number\" value-key=\"xAxes0.ticks.max\" .value=${this.xAxes0.ticks.max} />\n `\n : html``}\n\n <label> <i18n-msg msgid=\"label.axis-step-size\">Axis Step Size</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes0.ticks.stepSize\" .value=${this.yAxes0.ticks.stepSize} />\n\n <input type=\"checkbox\" .checked=${this.value.options.yGridLine} />\n <label> <i18n-msg msgid=\"label.grid-line\">Grid Line</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes0.ticks.display\" .checked=${this.yAxes0.ticks.display} />\n <label> <i18n-msg msgid=\"label.display-tick\">Display Tick</i18n-msg> </label>\n `\n }\n\n multiSeriesTabTemplate() {\n return html`\n <div id=\"series-properties-container\" fullwidth>\n <div id=\"tab-header\">\n <paper-icon-button\n id=\"tab-nav-left-button\"\n icon=\"chevron-left\"\n @click=${(e: Event) => {\n this._onTabScrollNavLeft(e)\n }}\n disabled\n ></paper-icon-button>\n <paper-tabs\n id=\"tabs\"\n @iron-select=${(e: Event) => (this.currentSeriesIndex = (e.target as any).selected)}\n .selected=${this.currentSeriesIndex}\n no-bar\n noink\n scrollable\n hide-scroll-buttons\n fit-container\n >\n ${this.datasets.map(\n (dataset: any, index: number) => html`\n <paper-tab data-series=\"${index + 1}\" noink\n >${index + 1}\n ${!this.datasets || (this.datasets.length != 1 && this.currentSeriesIndex == index)\n ? html`\n <paper-icon-button icon=\"close\" @tap=\"${(e: Event) => this.onTapRemoveCurrentTab(e)}\">\n </paper-icon-button>\n `\n : html``}\n </paper-tab>\n `\n )}\n </paper-tabs>\n <paper-icon-button\n id=\"tab-nav-right-button\"\n icon=\"chevron-right\"\n @click=${(e: Event) => {\n this._onTabScrollNavRight(e)\n }}\n disabled\n ></paper-icon-button>\n </div>\n <div id=\"add-series-button-container\">\n <paper-icon-button\n id=\"add-series-button\"\n icon=\"add\"\n @tap=${(e: Event) => this.onTapAddTab(e)}\n ></paper-icon-button>\n </div>\n\n <iron-pages .selected=${this.currentSeriesIndex} .attr-for-selected=\"series-index\">\n ${this.datasets.map(\n (dataset: any, index: number) => html`\n <div class=\"tab-content\" series-index=\"${index}\">\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"dataKey\" .value=${this.dataKey} />\n <label> <i18n-msg msgid=\"label.label\">Label</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.label\" .value=${this.series.label} />\n <label> <i18n-msg msgid=\"label.color\">Color</i18n-msg> </label>\n <things-editor-color value-key=\"color\" .value=${this.color}></things-editor-color>\n <label> <i18n-msg msgid=\"label.stack-group\">Stack Group</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.stack\" .value=${this.series.stack || ''} />\n\n ${this.displayValueTemplate()}\n </div>\n `\n )}\n </iron-pages>\n </div>\n `\n }\n}\n"]}
1
+ {"version":3,"file":"property-editor-chartjs-hbar.js","sourceRoot":"","sources":["../../src/editors/property-editor-chartjs-hbar.ts"],"names":[],"mappings":";AAAA,OAAO,8BAA8B,CAAA;AACrC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,8CAA8C,CAAA;AACrD,OAAO,gCAAgC,CAAA;AAEvC,OAAO,wCAAwC,MAAM,iDAAiD,CAAA;AACtG,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAG1B,IAAqB,yBAAyB,GAA9C,MAAqB,yBAA0B,SAAQ,wCAAwC;IAC7F,cAAc;QACZ,OAAO,IAAI,CAAA;;QAEP,IAAI,CAAC,sBAAsB,EAAE;;;;;2DAKsB,IAAI,CAAC,YAAY;;;+DAGb,IAAI,CAAC,MAAM,CAAC,SAAS,IAAI,EAAE;;;;;;;;;iBASzE,IAAI,CAAC,MAAM,CAAC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AE,KAAa,EAAE,EAAE,CAAC,IAAI,CAAA;0CACT,KAAK,GAAG,CAAC;qBAC9B,KAAK,GAAG,CAAC;oBACV,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,IAAI,CAAC,IAAI,IAAI,CAAC,kBAAkB,IAAI,KAAK,CAAC;YACjF,CAAC,CAAC,IAAI,CAAA;gEACsC,CAAC,CAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC;;uBAEpF;YACH,CAAC,CAAC,IAAI,CAAA,EAAE;;eAEb,CACF;;;;;qBAKQ,CAAC,CAAQ,EAAE,EAAE;YACpB,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,CAAA;QAC9B,CAAC;;;;;;;;mBAQM,CAAC,CAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;;;;gCAIpB,IAAI,CAAC,kBAAkB;YAC3C,IAAI,CAAC,QAAQ,CAAC,GAAG,CACjB,CAAC,OAAY,EAAE,KAAa,EAAE,EAAE,CAAC,IAAI,CAAA;uDACM,KAAK;;gEAEI,IAAI,CAAC,OAAO;;qEAEP,IAAI,CAAC,MAAM,CAAC,KAAK;;2DAE3B,IAAI,CAAC,KAAK;;qEAEA,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE;;kBAE1E,IAAI,CAAC,oBAAoB,EAAE;;aAEhC,CACF;;;KAGN,CAAA;IACH,CAAC;CACF,CAAA;AApJoB,yBAAyB;IAD7C,aAAa,CAAC,8BAA8B,CAAC;GACzB,yBAAyB,CAoJ7C;eApJoB,yBAAyB","sourcesContent":["import '@polymer/iron-icon/iron-icon'\nimport '@polymer/paper-button/paper-button'\nimport '@polymer/paper-icon-button/paper-icon-button'\nimport '@polymer/paper-tabs/paper-tabs'\n\nimport PropertyEditorChartJSMultiSeriesAbstract from './property-editor-chartjs-multi-series-abstract'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('property-editor-chartjs-hbar')\nexport default class PropertyEditorChartJSHBar extends PropertyEditorChartJSMultiSeriesAbstract {\n editorTemplate() {\n return html`\n <legend><i18n-msg msgid=\"label.series\">Series</i18n-msg></legend>\n ${this.multiSeriesTabTemplate()}\n\n <legend><i18n-msg msgid=\"label.y-axes\">Y Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"labelDataKey\" .value=${this.labelDataKey} />\n\n <label> <i18n-msg msgid=\"label.title\">Title</i18n-msg> </label>\n <input type=\"text\" value-key=\"yAxes0.axisTitle\" .value=${this.yAxes0.axisTitle || ''} />\n\n <label><i18n-msg msgid=\"label.bar-spacing\">Bar Spacing</i18n-msg></label>\n <input\n type=\"number\"\n min=\"0\"\n max=\"1\"\n step=\"0.1\"\n value-key=\"yAxes0.barSpacing\"\n .value=${this.yAxes0.barSpacing || NaN}\n />\n <label><i18n-msg msgid=\"label.tick-spacing\">Tick Spacing</i18n-msg></label>\n <input\n type=\"number\"\n min=\"0\"\n max=\"1\"\n step=\"0.1\"\n value-key=\"yAxes0.categorySpacing\"\n .value=${this.yAxes0.categorySpacing || NaN}\n />\n\n <input type=\"checkbox\" value-key=\"value.options.xGridLine\" .checked=${this.value.options.xGridLine} />\n <label> <i18n-msg msgid=\"label.grid-line\">Grid Line</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"xAxes0.ticks.display\" .checked=${this.xAxes0.ticks.display} />\n <label> <i18n-msg msgid=\"label.display-tick\">Display Tick</i18n-msg> </label>\n\n <legend><i18n-msg msgid=\"label.x-axes\">X Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.title\">Title</i18n-msg> </label>\n <input type=\"text\" value-key=\"xAxes0.title\" .value=${this.xAxes0.axisTitle || ''} />\n\n <input type=\"checkbox\" value-key=\"xAxes0.ticks.autoMin\" .checked=${this.xAxes0.ticks.autoMin} />\n <label> <i18n-msg msgid=\"label.axis-min-auto\">Axis Min Auto</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"xAxes0.ticks.autoMax\" .checked=${this.xAxes0.ticks.autoMax} />\n <label> <i18n-msg msgid=\"label.axis-max-auto\">Axis Max Auto</i18n-msg> </label>\n\n ${!this.xAxes0.ticks.autoMin\n ? html`\n <label> <i18n-msg msgid=\"label.axis-min\">Axis Min</i18n-msg> </label>\n <input type=\"number\" value-key=\"xAxes0.ticks.min\" .value=${this.xAxes0.ticks.min} />\n `\n : html``}\n ${!this.xAxes0.ticks.autoMax\n ? html`\n <label> <i18n-msg msgid=\"label.axis-max\">Axis Max</i18n-msg> </label>\n <input type=\"number\" value-key=\"xAxes0.ticks.max\" .value=${this.xAxes0.ticks.max} />\n `\n : html``}\n\n <label> <i18n-msg msgid=\"label.axis-step-size\">Axis Step Size</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes0.ticks.stepSize\" .value=${this.yAxes0.ticks.stepSize} />\n\n <input type=\"checkbox\" .checked=${this.value.options.yGridLine} />\n <label> <i18n-msg msgid=\"label.grid-line\">Grid Line</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes0.ticks.display\" .checked=${this.yAxes0.ticks.display} />\n <label> <i18n-msg msgid=\"label.display-tick\">Display Tick</i18n-msg> </label>\n `\n }\n\n multiSeriesTabTemplate() {\n return html`\n <div id=\"series-properties-container\" fullwidth>\n <div id=\"tab-header\">\n <paper-icon-button\n id=\"tab-nav-left-button\"\n icon=\"chevron-left\"\n @click=${(e: Event) => {\n this._onTabScrollNavLeft(e)\n }}\n disabled\n ></paper-icon-button>\n <paper-tabs\n id=\"tabs\"\n @iron-select=${(e: Event) => (this.currentSeriesIndex = (e.target as any).selected)}\n .selected=${this.currentSeriesIndex}\n no-bar\n noink\n scrollable\n hide-scroll-buttons\n fit-container\n >\n ${this.datasets.map(\n (dataset: any, index: number) => html`\n <paper-tab data-series=\"${index + 1}\" noink\n >${index + 1}\n ${!this.datasets || (this.datasets.length != 1 && this.currentSeriesIndex == index)\n ? html`\n <paper-icon-button icon=\"close\" @tap=\"${(e: Event) => this.onTapRemoveCurrentTab(e)}\">\n </paper-icon-button>\n `\n : html``}\n </paper-tab>\n `\n )}\n </paper-tabs>\n <paper-icon-button\n id=\"tab-nav-right-button\"\n icon=\"chevron-right\"\n @click=${(e: Event) => {\n this._onTabScrollNavRight(e)\n }}\n disabled\n ></paper-icon-button>\n </div>\n <div id=\"add-series-button-container\">\n <paper-icon-button\n id=\"add-series-button\"\n icon=\"add\"\n @tap=${(e: Event) => this.onTapAddTab(e)}\n ></paper-icon-button>\n </div>\n\n <iron-pages .selected=${this.currentSeriesIndex} .attr-for-selected=\"series-index\">\n ${this.datasets.map(\n (dataset: any, index: number) => html`\n <div class=\"tab-content\" series-index=\"${index}\">\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"dataKey\" .value=${this.dataKey} />\n <label> <i18n-msg msgid=\"label.label\">Label</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.label\" .value=${this.series.label} />\n <label> <i18n-msg msgid=\"label.color\">Color</i18n-msg> </label>\n <ox-input-color value-key=\"color\" .value=${this.color}></ox-input-color>\n <label> <i18n-msg msgid=\"label.stack-group\">Stack Group</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.stack\" .value=${this.series.stack || ''} />\n\n ${this.displayValueTemplate()}\n </div>\n `\n )}\n </iron-pages>\n </div>\n `\n }\n}\n"]}
@@ -16,6 +16,6 @@ export default class PropertyEditorChartJSMixed extends PropertyEditorChartJSMul
16
16
  set yAxes1(yAxes1: any);
17
17
  get multiAxis(): any;
18
18
  set multiAxis(multiAxis: any);
19
- editorTemplate(props: Properties): import("lit-html").TemplateResult<1>;
19
+ editorTemplate(props: Properties): import("lit").TemplateResult<1>;
20
20
  _hasBarSeries(chart: any): boolean;
21
21
  }
@@ -3,8 +3,8 @@ import '@polymer/iron-pages/iron-pages';
3
3
  import '@polymer/paper-button/paper-button';
4
4
  import '@polymer/paper-icon-button/paper-icon-button';
5
5
  import '@polymer/paper-tabs/paper-tabs';
6
- import { Properties } from '@hatiolab/things-scene';
7
6
  import { PaperIconButtonElement } from '@polymer/paper-icon-button/paper-icon-button';
7
+ import { Properties } from '@hatiolab/things-scene';
8
8
  import PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract';
9
9
  export default class PropertyEditorChartJSMultiSeriesAbstract extends PropertyEditorChartJSAbstract {
10
10
  static styles: import("lit").CSSResult[];
@@ -24,8 +24,8 @@ export default class PropertyEditorChartJSMultiSeriesAbstract extends PropertyEd
24
24
  set multiAxis(multiAxis: any);
25
25
  get tabContainer(): HTMLElement | null | undefined;
26
26
  firstUpdated(): void;
27
- editorTemplate(props: Properties): import("lit-html").TemplateResult<1>;
28
- multiSeriesTabTemplate(): import("lit-html").TemplateResult<1>;
27
+ editorTemplate(props: Properties): import("lit").TemplateResult<1>;
28
+ multiSeriesTabTemplate(): import("lit").TemplateResult<1>;
29
29
  _onTabScroll(e: Event): void;
30
30
  _onTabScrollNavLeft(e: Event): void;
31
31
  _onTabScrollNavRight(e: Event): void;
@@ -5,8 +5,8 @@ import '@polymer/paper-button/paper-button';
5
5
  import '@polymer/paper-icon-button/paper-icon-button';
6
6
  import '@polymer/paper-tabs/paper-tabs';
7
7
  import { css, html } from 'lit';
8
- import { query } from 'lit/decorators.js';
9
8
  import PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract';
9
+ import { query } from 'lit/decorators.js';
10
10
  export default class PropertyEditorChartJSMultiSeriesAbstract extends PropertyEditorChartJSAbstract {
11
11
  constructor() {
12
12
  super();
@@ -263,7 +263,7 @@ export default class PropertyEditorChartJSMultiSeriesAbstract extends PropertyEd
263
263
  : html ``}
264
264
 
265
265
  <label> <i18n-msg msgid="label.color">color</i18n-msg> </label>
266
- <things-editor-color value-key="color" .value=${this.color}></things-editor-color>
266
+ <ox-input-color value-key="color" .value=${this.color}></ox-input-color>
267
267
 
268
268
  ${this.series.type == 'line'
269
269
  ? html `
@@ -1 +1 @@
1
- {"version":3,"file":"property-editor-chartjs-multi-series-abstract.js","sourceRoot":"","sources":["../../src/editors/property-editor-chartjs-multi-series-abstract.ts"],"names":[],"mappings":";AAAA,OAAO,8BAA8B,CAAA;AACrC,OAAO,gCAAgC,CAAA;AACvC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,8CAA8C,CAAA;AACrD,OAAO,gCAAgC,CAAA;AAEvC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAKzC,OAAO,6BAA6B,MAAM,oCAAoC,CAAA;AAE9E,MAAM,CAAC,OAAO,OAAO,wCAAyC,SAAQ,6BAA6B;IAcjG;QACE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,KAAK,GAAG;YACX,OAAO,EAAE;gBACP,MAAM,EAAE,EAAE;gBACV,MAAM,EAAE;oBACN,KAAK,EAAE;wBACL;4BACE,KAAK,EAAE,EAAE;yBACV;qBACF;oBACD,KAAK,EAAE;wBACL;4BACE,KAAK,EAAE,EAAE;yBACV;qBACF;iBACF;aACF;YACD,IAAI,EAAE;gBACJ,QAAQ,EAAE,EAAE;aACb;SACF,CAAA;IACH,CAAC;IAMD,IAAI,KAAK;QACP,IAAI,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC,eAAe,CAAA;QACjD,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,MAAM;YAAE,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,CAAA;QACzE,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,OAAO;YAAE,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,CAAA;QAC1E,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,eAAe,CAAA;IAC7C,CAAC;IAED,IAAI,KAAK,CAAC,KAAK;QACb,IAAI,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G,IAAI,CAAA;SACvC;aAAM;YACL,IAAI,CAAC,gBAAgB,CAAC,QAAQ,GAAG,KAAK,CAAA;YACtC,IAAI,CAAC,iBAAiB,CAAC,QAAQ,GAAG,KAAK,CAAA;SACxC;IACH,CAAC;IAED,mBAAmB,CAAC,CAAQ;QAC1B,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,OAAM;SACP;QAED,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,cAAc,GAAG,QAAQ,CAAA;QACjD,IAAI,CAAC,YAAY,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CAAC,WAAW,CAAA;QAC7D,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,cAAc,GAAG,MAAM,CAAA;IACjD,CAAC;IAED,oBAAoB,CAAC,CAAQ;QAC3B,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,OAAM;SACP;QAED,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,cAAc,GAAG,QAAQ,CAAA;QACjD,IAAI,CAAC,YAAY,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CAAC,WAAW,CAAA;QAC7D,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,cAAc,GAAG,MAAM,CAAA;IACjD,CAAC;;AAvXM,+CAAM,GAAG;IACd,GAAG,6BAA6B,CAAC,MAAM;IACvC,GAAG,CAAA;;;;;;;;KAQF;CACF,CAAA;AA2Be;IAAf,KAAK,CAAC,OAAO,CAAC;sEAAmB;AACH;IAA9B,KAAK,CAAC,sBAAsB,CAAC;kFAA0C;AACxC;IAA/B,KAAK,CAAC,uBAAuB,CAAC;mFAA2C","sourcesContent":["import '@polymer/iron-icon/iron-icon'\nimport '@polymer/iron-pages/iron-pages'\nimport '@polymer/paper-button/paper-button'\nimport '@polymer/paper-icon-button/paper-icon-button'\nimport '@polymer/paper-tabs/paper-tabs'\n\nimport { css, html } from 'lit'\nimport { query } from 'lit/decorators.js'\n\nimport { Properties } from '@hatiolab/things-scene'\nimport { PaperIconButtonElement } from '@polymer/paper-icon-button/paper-icon-button'\n\nimport PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract'\n\nexport default class PropertyEditorChartJSMultiSeriesAbstract extends PropertyEditorChartJSAbstract {\n static styles = [\n ...PropertyEditorChartJSAbstract.styles,\n css`\n paper-tabs {\n background-color: rgb(204, 204, 204);\n }\n input[type='text'],\n input[type='number'] {\n border: 1px solid rgba(0, 0, 0, 0.2);\n }\n `\n ]\n\n constructor() {\n super()\n\n this.value = {\n options: {\n legend: {},\n scales: {\n xAxes: [\n {\n ticks: {}\n }\n ],\n yAxes: [\n {\n ticks: {}\n }\n ]\n }\n },\n data: {\n datasets: []\n }\n }\n }\n\n @query('#tabs') tabs!: HTMLElement\n @query('#tab-nav-left-button') tabNavLeftButton!: PaperIconButtonElement\n @query('#tab-nav-right-button') tabNavRightButton!: PaperIconButtonElement\n\n get color() {\n var oldVersionColor = this.series.backgroundColor\n if (this.series.type == 'line') oldVersionColor = this.series.borderColor\n if (this.series.type == 'radar') oldVersionColor = this.series.borderColor\n return this.series.color || oldVersionColor\n }\n\n set color(color) {\n this.series.color = color\n delete this.series.backgroundColor\n delete this.series.borderColor\n }\n\n get xAxes0() {\n return this.scales.xAxes[0]\n }\n\n set xAxes0(xAxes0) {\n this.scales.xAxes[0] = xAxes0\n }\n\n get yAxes0() {\n return this.scales.yAxes[0]\n }\n\n set yAxes0(yAxes0) {\n this.scales.yAxes[0] = yAxes0\n }\n\n get yAxes1() {\n return this.scales.yAxes[1]\n }\n\n set yAxes1(yAxes1) {\n this.scales.yAxes[1] = yAxes1\n }\n\n get multiAxis() {\n return this.value.options.multiAxis\n }\n\n set multiAxis(multiAxis) {\n this.value.options.multiAxis = multiAxis\n }\n\n get tabContainer(): HTMLElement | null | undefined {\n return this.tabs.shadowRoot?.querySelector('#tabsContainer')\n }\n\n firstUpdated() {\n super.firstUpdated()\n\n this.tabContainer?.addEventListener('scroll', e => {\n this._onTabScroll(e)\n })\n }\n\n editorTemplate(props: Properties) {\n return html`\n <input type=\"checkbox\" value-key=\"multiAxis\" .checked=${this.multiAxis} />\n <label> <i18n-msg msgid=\"label.multi-axis\">Multi Axis</i18n-msg> </label>\n\n <legend><i18n-msg msgid=\"label.series\">Series</i18n-msg></legend>\n\n ${this.multiSeriesTabTemplate()}\n\n <legend><i18n-msg msgid=\"label.x-axes\">X Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"labelDataKey\" .value=${this.labelDataKey} />\n\n <label> <i18n-msg msgid=\"label.title\">Title</i18n-msg> </label>\n <input type=\"text\" value-key=\"xAxes0.axisTitle\" .value=${this.xAxes0.axisTitle || ''} />\n\n <label> <i18n-msg msgid=\"label.thickness\">Thickness</i18n-msg> </label>\n <input type=\"number\" value-key=\"xAxes0.barPercentage\" .value=${this.xAxes0.barPercentage} />\n\n <input type=\"checkbox\" value-key=\"value.options.xGridLine\" .checked=${this.value.options.xGridLine} />\n <label> <i18n-msg msgid=\"label.grid-line\">Grid Line</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"xAxes0.ticks.display\" .checked=${this.xAxes0.ticks.display} />\n <label> <i18n-msg msgid=\"label.display-tick\">Display Tick</i18n-msg> </label>\n\n <legend><i18n-msg msgid=\"label.y-axes\">Y Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.title\">Title</i18n-msg> </label>\n <input type=\"text\" value-key=\"yAxes0.axisTitle\" .value=${this.yAxes0.axisTitle || ''} />\n\n <input type=\"checkbox\" value-key=\"yAxes0.ticks.autoMin\" .checked=${this.yAxes0.ticks.autoMin} />\n <label> <i18n-msg msgid=\"label.axis-min-auto\">Min Auto</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes0.ticks.autoMax\" .checked=${this.yAxes0.ticks.autoMax} />\n <label> <i18n-msg msgid=\"label.axis-max-auto\">Max Auto</i18n-msg> </label>\n\n ${!this.yAxes0.ticks.autoMin\n ? html`\n <label> <i18n-msg msgid=\"label.axis-min\">Min</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes0.ticks.min\" .value=${this.yAxes0.ticks.min} />\n `\n : html``}\n ${!this.yAxes0.ticks.autoMax\n ? html`\n <label> <i18n-msg msgid=\"label.axis-max\">Max</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes0.ticks.max\" .value=${this.yAxes0.ticks.max} />\n `\n : html``}\n\n <label> <i18n-msg msgid=\"label.axis-step-size\">StepSize</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes0.ticks.stepSize\" .value=${this.yAxes0.ticks.stepSize} />\n\n <input type=\"checkbox\" value-key=\"value.options.yGridLine\" .checked=${this.value.options.yGridLine} />\n <label> <i18n-msg msgid=\"label.grid-line\">Grid Line</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes0.ticks.display\" .checked=${this.yAxes0.ticks.display} />\n <label> <i18n-msg msgid=\"label.display-tick\">Display Tick</i18n-msg> </label>\n\n ${this.value.options.multiAxis\n ? html`\n <legend><i18n-msg msgid=\"label.y-2nd-axes\">Y 2nd Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.title\">Title</i18n-msg> </label>\n <input type=\"text\" value-key=\"yAxes1.axisTitle\" .value=${this.yAxes1.axisTitle || ''} />\n\n <input type=\"checkbox\" value-key=\"yAxes1.ticks.autoMin\" .checked=${this.yAxes1.ticks.autoMin} />\n <label> <i18n-msg msgid=\"label.axis-min-auto\">Min Auto</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes1.ticks.autoMax\" .checked=${this.yAxes1.ticks.autoMax} />\n <label> <i18n-msg msgid=\"label.axis-max-auto\">Max Auto</i18n-msg> </label>\n\n ${!this.yAxes1.ticks.autoMin\n ? html`\n <label> <i18n-msg msgid=\"label.axis-min\">Min</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes1.ticks.min\" .value=${this.yAxes1.ticks.min} />\n `\n : html``}\n ${!this.yAxes1.ticks.autoMax\n ? html`\n <label> <i18n-msg msgid=\"label.axis-max\">Max</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes1.ticks.max\" .value=${this.yAxes1.ticks.max} />\n `\n : html``}\n\n <label> <i18n-msg msgid=\"label.axis-step-size\">StepSize</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes1.ticks.stepSize\" .value=${this.yAxes1.ticks.stepSize} />\n\n <input type=\"checkbox\" value-key=\"value.options.y2ndGridLine\" .checked=${this.value.options.y2ndGridLine} />\n <label> <i18n-msg msgid=\"label.grid-line\">Grid Line</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes1.ticks.display\" .checked=${this.yAxes1.ticks.display} />\n <label> <i18n-msg msgid=\"label.display-tick\">Display Tick</i18n-msg> </label>\n `\n : html``}\n `\n }\n\n multiSeriesTabTemplate() {\n return html`\n <div id=\"series-properties-container\" fullwidth>\n <div id=\"tab-header\">\n <paper-icon-button\n id=\"tab-nav-left-button\"\n icon=\"chevron-left\"\n @click=${(e: Event) => {\n this._onTabScrollNavLeft(e)\n }}\n disabled\n ></paper-icon-button>\n <paper-tabs\n id=\"tabs\"\n @iron-select=${(e: Event) => (this.currentSeriesIndex = (e.target as any).selected)}\n .selected=${this.currentSeriesIndex}\n no-bar\n noink\n scrollable\n hide-scroll-buttons\n fit-container\n >\n ${this.datasets.map(\n (dataset: any, index: number) => html`\n <paper-tab data-series=\"${index + 1}\" noink\n >${index + 1}\n ${!this.datasets || (this.datasets.length != 1 && this.currentSeriesIndex == index)\n ? html`\n <paper-icon-button icon=\"close\" @tap=${(e: Event) => this.onTapRemoveCurrentTab(e)}>\n </paper-icon-button>\n `\n : html``}\n </paper-tab>\n `\n )}\n </paper-tabs>\n <paper-icon-button\n id=\"tab-nav-right-button\"\n icon=\"chevron-right\"\n @click=${(e: Event) => {\n this._onTabScrollNavRight(e)\n }}\n disabled\n ></paper-icon-button>\n </div>\n <div id=\"add-series-button-container\">\n <paper-icon-button\n id=\"add-series-button\"\n icon=\"add\"\n @tap=${(e: Event) => this.onTapAddTab(e)}\n ></paper-icon-button>\n </div>\n\n <iron-pages .selected=${this.currentSeriesIndex} .attr-for-selected=\"series-index\">\n ${this.datasets.map(\n (dataset: any, index: number) => html`\n <div class=\"tab-content\" series-index=\"${index}\">\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"dataKey\" .value=${this.dataKey} />\n\n ${this.value.type == 'bar'\n ? html`\n <label> <i18n-msg msgid=\"label.type\">type</i18n-msg> </label>\n <select class=\"select-content\" value-key=\"series.type\" .value=${this.series.type}>\n <option value=\"bar\" selected>bar</option>\n <option value=\"line\">line</option>\n </select>\n `\n : html``}\n\n <label> <i18n-msg msgid=\"label.label\">label</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.label\" .value=${this.series.label} />\n\n ${this.series.type == 'line'\n ? html`\n <label> <i18n-msg msgid=\"label.line-tension\">line tension</i18n-msg> </label>\n <select class=\"select-content\" value-key=\"series.lineTension\" .value=${this.series.lineTension}>\n <option value=\"0.4\">smooth</option>\n <option value=\"0\">angled</option>\n </select>\n `\n : html``}\n ${this.series.type == 'line'\n ? html`\n <label> <i18n-msg msgid=\"label.border-width\">border width</i18n-msg> </label>\n <input type=\"number\" value-key=\"series.borderWidth\" .value=${this.series.borderWidth} />\n `\n : html``}\n\n <label> <i18n-msg msgid=\"label.color\">color</i18n-msg> </label>\n <things-editor-color value-key=\"color\" .value=${this.color}></things-editor-color>\n\n ${this.series.type == 'line'\n ? html`\n <label> <i18n-msg msgid=\"label.point-shape\">point shape</i18n-msg> </label>\n <select class=\"select-content\" value-key=\"series.pointStyle\" .value=${this.series.pointStyle}>\n <option value=\"circle\">⚬</option>\n <option value=\"triangle\">▵</option>\n <option value=\"rect\">□</option>\n <option value=\"rectRot\">◇</option>\n <option value=\"cross\">+</option>\n <option value=\"crossRot\">⨉</option>\n <option value=\"star\">✱</option>\n <option value=\"line\">―</option>\n <option value=\"dash\">┄</option>\n </select>\n\n <label> <i18n-msg msgid=\"label.point-size\">point size</i18n-msg> </label>\n <input type=\"number\" value-key=\"series.pointRadius\" .value=${this.series.pointRadius} />\n `\n : html``} <label> <i18n-msg msgid=\"label.stack-group\">Stack group</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.stack\" .value=${this.series.stack || ''} /> ${this.series.type ==\n 'line'\n ? html`\n <input type=\"checkbox\" value-key=\"series.fill\" .checked=${this.series.fill} />\n <label> <i18n-msg msgid=\"label.fill\">fill</i18n-msg> </label>\n `\n : html``}\n ${this.multiAxis\n ? html`\n <label> <i18n-msg msgid=\"label.target-axis\">target axis</i18n-msg> </label>\n <select class=\"select-content\" value-key=\"series.yAxisID\" .value=${this.series.yAxisID}>\n <option value=\"left\">left</option>\n <option value=\"right\">right</option>\n </select>\n `\n : html``}\n ${this.displayValueTemplate()}\n </div>\n `\n )}\n </iron-pages>\n </div>\n `\n }\n\n _onTabScroll(e: Event) {\n if (!this.tabContainer) {\n return\n }\n\n if (this.tabContainer.clientWidth == this.tabContainer.scrollWidth) {\n this.tabNavLeftButton.disabled = true\n this.tabNavRightButton.disabled = true\n }\n // left-end\n else if (this.tabContainer.scrollLeft == 0) {\n this.tabNavLeftButton.disabled = true\n this.tabNavRightButton.disabled = false\n }\n // right-end\n else if (this.tabContainer.scrollLeft + this.tabContainer.clientWidth >= this.tabContainer.scrollWidth) {\n this.tabNavLeftButton.disabled = false\n this.tabNavRightButton.disabled = true\n } else {\n this.tabNavLeftButton.disabled = false\n this.tabNavRightButton.disabled = false\n }\n }\n\n _onTabScrollNavLeft(e: Event) {\n if (!this.tabContainer) {\n return\n }\n\n this.tabContainer.style.scrollBehavior = 'smooth'\n this.tabContainer.scrollLeft -= this.tabContainer.clientWidth\n this.tabContainer.style.scrollBehavior = 'auto'\n }\n\n _onTabScrollNavRight(e: Event) {\n if (!this.tabContainer) {\n return\n }\n\n this.tabContainer.style.scrollBehavior = 'smooth'\n this.tabContainer.scrollLeft += this.tabContainer.clientWidth\n this.tabContainer.style.scrollBehavior = 'auto'\n }\n}\n"]}
1
+ {"version":3,"file":"property-editor-chartjs-multi-series-abstract.js","sourceRoot":"","sources":["../../src/editors/property-editor-chartjs-multi-series-abstract.ts"],"names":[],"mappings":";AAAA,OAAO,8BAA8B,CAAA;AACrC,OAAO,gCAAgC,CAAA;AACvC,OAAO,oCAAoC,CAAA;AAC3C,OAAO,8CAA8C,CAAA;AACrD,OAAO,gCAAgC,CAAA;AAEvC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAI/B,OAAO,6BAA6B,MAAM,oCAAoC,CAAA;AAC9E,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAEzC,MAAM,CAAC,OAAO,OAAO,wCAAyC,SAAQ,6BAA6B;IAcjG;QACE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,KAAK,GAAG;YACX,OAAO,EAAE;gBACP,MAAM,EAAE,EAAE;gBACV,MAAM,EAAE;oBACN,KAAK,EAAE;wBACL;4BACE,KAAK,EAAE,EAAE;yBACV;qBACF;oBACD,KAAK,EAAE;wBACL;4BACE,KAAK,EAAE,EAAE;yBACV;qBACF;iBACF;aACF;YACD,IAAI,EAAE;gBACJ,QAAQ,EAAE,EAAE;aACb;SACF,CAAA;IACH,CAAC;IAMD,IAAI,KAAK;QACP,IAAI,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC,eAAe,CAAA;QACjD,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,MAAM;YAAE,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,CAAA;QACzE,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,IAAI,OAAO;YAAE,eAAe,GAAG,IAAI,CAAC,MAAM,CAAC,WAAW,CAAA;QAC1E,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,eAAe,CAAA;IAC7C,CAAC;IAED,IAAI,KAAK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iBAAiB,CAAC,QAAQ,GAAG,IAAI,CAAA;SACvC;aAAM;YACL,IAAI,CAAC,gBAAgB,CAAC,QAAQ,GAAG,KAAK,CAAA;YACtC,IAAI,CAAC,iBAAiB,CAAC,QAAQ,GAAG,KAAK,CAAA;SACxC;IACH,CAAC;IAED,mBAAmB,CAAC,CAAQ;QAC1B,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,OAAM;SACP;QAED,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,cAAc,GAAG,QAAQ,CAAA;QACjD,IAAI,CAAC,YAAY,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CAAC,WAAW,CAAA;QAC7D,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,cAAc,GAAG,MAAM,CAAA;IACjD,CAAC;IAED,oBAAoB,CAAC,CAAQ;QAC3B,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;YACtB,OAAM;SACP;QAED,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,cAAc,GAAG,QAAQ,CAAA;QACjD,IAAI,CAAC,YAAY,CAAC,UAAU,IAAI,IAAI,CAAC,YAAY,CAAC,WAAW,CAAA;QAC7D,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,cAAc,GAAG,MAAM,CAAA;IACjD,CAAC;;AAvXM,+CAAM,GAAG;IACd,GAAG,6BAA6B,CAAC,MAAM;IACvC,GAAG,CAAA;;;;;;;;KAQF;CACF,CAAA;AA2Be;IAAf,KAAK,CAAC,OAAO,CAAC;sEAAmB;AACH;IAA9B,KAAK,CAAC,sBAAsB,CAAC;kFAA0C;AACxC;IAA/B,KAAK,CAAC,uBAAuB,CAAC;mFAA2C","sourcesContent":["import '@polymer/iron-icon/iron-icon'\nimport '@polymer/iron-pages/iron-pages'\nimport '@polymer/paper-button/paper-button'\nimport '@polymer/paper-icon-button/paper-icon-button'\nimport '@polymer/paper-tabs/paper-tabs'\n\nimport { css, html } from 'lit'\n\nimport { PaperIconButtonElement } from '@polymer/paper-icon-button/paper-icon-button'\nimport { Properties } from '@hatiolab/things-scene'\nimport PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract'\nimport { query } from 'lit/decorators.js'\n\nexport default class PropertyEditorChartJSMultiSeriesAbstract extends PropertyEditorChartJSAbstract {\n static styles = [\n ...PropertyEditorChartJSAbstract.styles,\n css`\n paper-tabs {\n background-color: rgb(204, 204, 204);\n }\n input[type='text'],\n input[type='number'] {\n border: 1px solid rgba(0, 0, 0, 0.2);\n }\n `\n ]\n\n constructor() {\n super()\n\n this.value = {\n options: {\n legend: {},\n scales: {\n xAxes: [\n {\n ticks: {}\n }\n ],\n yAxes: [\n {\n ticks: {}\n }\n ]\n }\n },\n data: {\n datasets: []\n }\n }\n }\n\n @query('#tabs') tabs!: HTMLElement\n @query('#tab-nav-left-button') tabNavLeftButton!: PaperIconButtonElement\n @query('#tab-nav-right-button') tabNavRightButton!: PaperIconButtonElement\n\n get color() {\n var oldVersionColor = this.series.backgroundColor\n if (this.series.type == 'line') oldVersionColor = this.series.borderColor\n if (this.series.type == 'radar') oldVersionColor = this.series.borderColor\n return this.series.color || oldVersionColor\n }\n\n set color(color) {\n this.series.color = color\n delete this.series.backgroundColor\n delete this.series.borderColor\n }\n\n get xAxes0() {\n return this.scales.xAxes[0]\n }\n\n set xAxes0(xAxes0) {\n this.scales.xAxes[0] = xAxes0\n }\n\n get yAxes0() {\n return this.scales.yAxes[0]\n }\n\n set yAxes0(yAxes0) {\n this.scales.yAxes[0] = yAxes0\n }\n\n get yAxes1() {\n return this.scales.yAxes[1]\n }\n\n set yAxes1(yAxes1) {\n this.scales.yAxes[1] = yAxes1\n }\n\n get multiAxis() {\n return this.value.options.multiAxis\n }\n\n set multiAxis(multiAxis) {\n this.value.options.multiAxis = multiAxis\n }\n\n get tabContainer(): HTMLElement | null | undefined {\n return this.tabs.shadowRoot?.querySelector('#tabsContainer')\n }\n\n firstUpdated() {\n super.firstUpdated()\n\n this.tabContainer?.addEventListener('scroll', e => {\n this._onTabScroll(e)\n })\n }\n\n editorTemplate(props: Properties) {\n return html`\n <input type=\"checkbox\" value-key=\"multiAxis\" .checked=${this.multiAxis} />\n <label> <i18n-msg msgid=\"label.multi-axis\">Multi Axis</i18n-msg> </label>\n\n <legend><i18n-msg msgid=\"label.series\">Series</i18n-msg></legend>\n\n ${this.multiSeriesTabTemplate()}\n\n <legend><i18n-msg msgid=\"label.x-axes\">X Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"labelDataKey\" .value=${this.labelDataKey} />\n\n <label> <i18n-msg msgid=\"label.title\">Title</i18n-msg> </label>\n <input type=\"text\" value-key=\"xAxes0.axisTitle\" .value=${this.xAxes0.axisTitle || ''} />\n\n <label> <i18n-msg msgid=\"label.thickness\">Thickness</i18n-msg> </label>\n <input type=\"number\" value-key=\"xAxes0.barPercentage\" .value=${this.xAxes0.barPercentage} />\n\n <input type=\"checkbox\" value-key=\"value.options.xGridLine\" .checked=${this.value.options.xGridLine} />\n <label> <i18n-msg msgid=\"label.grid-line\">Grid Line</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"xAxes0.ticks.display\" .checked=${this.xAxes0.ticks.display} />\n <label> <i18n-msg msgid=\"label.display-tick\">Display Tick</i18n-msg> </label>\n\n <legend><i18n-msg msgid=\"label.y-axes\">Y Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.title\">Title</i18n-msg> </label>\n <input type=\"text\" value-key=\"yAxes0.axisTitle\" .value=${this.yAxes0.axisTitle || ''} />\n\n <input type=\"checkbox\" value-key=\"yAxes0.ticks.autoMin\" .checked=${this.yAxes0.ticks.autoMin} />\n <label> <i18n-msg msgid=\"label.axis-min-auto\">Min Auto</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes0.ticks.autoMax\" .checked=${this.yAxes0.ticks.autoMax} />\n <label> <i18n-msg msgid=\"label.axis-max-auto\">Max Auto</i18n-msg> </label>\n\n ${!this.yAxes0.ticks.autoMin\n ? html`\n <label> <i18n-msg msgid=\"label.axis-min\">Min</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes0.ticks.min\" .value=${this.yAxes0.ticks.min} />\n `\n : html``}\n ${!this.yAxes0.ticks.autoMax\n ? html`\n <label> <i18n-msg msgid=\"label.axis-max\">Max</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes0.ticks.max\" .value=${this.yAxes0.ticks.max} />\n `\n : html``}\n\n <label> <i18n-msg msgid=\"label.axis-step-size\">StepSize</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes0.ticks.stepSize\" .value=${this.yAxes0.ticks.stepSize} />\n\n <input type=\"checkbox\" value-key=\"value.options.yGridLine\" .checked=${this.value.options.yGridLine} />\n <label> <i18n-msg msgid=\"label.grid-line\">Grid Line</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes0.ticks.display\" .checked=${this.yAxes0.ticks.display} />\n <label> <i18n-msg msgid=\"label.display-tick\">Display Tick</i18n-msg> </label>\n\n ${this.value.options.multiAxis\n ? html`\n <legend><i18n-msg msgid=\"label.y-2nd-axes\">Y 2nd Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.title\">Title</i18n-msg> </label>\n <input type=\"text\" value-key=\"yAxes1.axisTitle\" .value=${this.yAxes1.axisTitle || ''} />\n\n <input type=\"checkbox\" value-key=\"yAxes1.ticks.autoMin\" .checked=${this.yAxes1.ticks.autoMin} />\n <label> <i18n-msg msgid=\"label.axis-min-auto\">Min Auto</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes1.ticks.autoMax\" .checked=${this.yAxes1.ticks.autoMax} />\n <label> <i18n-msg msgid=\"label.axis-max-auto\">Max Auto</i18n-msg> </label>\n\n ${!this.yAxes1.ticks.autoMin\n ? html`\n <label> <i18n-msg msgid=\"label.axis-min\">Min</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes1.ticks.min\" .value=${this.yAxes1.ticks.min} />\n `\n : html``}\n ${!this.yAxes1.ticks.autoMax\n ? html`\n <label> <i18n-msg msgid=\"label.axis-max\">Max</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes1.ticks.max\" .value=${this.yAxes1.ticks.max} />\n `\n : html``}\n\n <label> <i18n-msg msgid=\"label.axis-step-size\">StepSize</i18n-msg> </label>\n <input type=\"number\" value-key=\"yAxes1.ticks.stepSize\" .value=${this.yAxes1.ticks.stepSize} />\n\n <input type=\"checkbox\" value-key=\"value.options.y2ndGridLine\" .checked=${this.value.options.y2ndGridLine} />\n <label> <i18n-msg msgid=\"label.grid-line\">Grid Line</i18n-msg> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes1.ticks.display\" .checked=${this.yAxes1.ticks.display} />\n <label> <i18n-msg msgid=\"label.display-tick\">Display Tick</i18n-msg> </label>\n `\n : html``}\n `\n }\n\n multiSeriesTabTemplate() {\n return html`\n <div id=\"series-properties-container\" fullwidth>\n <div id=\"tab-header\">\n <paper-icon-button\n id=\"tab-nav-left-button\"\n icon=\"chevron-left\"\n @click=${(e: Event) => {\n this._onTabScrollNavLeft(e)\n }}\n disabled\n ></paper-icon-button>\n <paper-tabs\n id=\"tabs\"\n @iron-select=${(e: Event) => (this.currentSeriesIndex = (e.target as any).selected)}\n .selected=${this.currentSeriesIndex}\n no-bar\n noink\n scrollable\n hide-scroll-buttons\n fit-container\n >\n ${this.datasets.map(\n (dataset: any, index: number) => html`\n <paper-tab data-series=\"${index + 1}\" noink\n >${index + 1}\n ${!this.datasets || (this.datasets.length != 1 && this.currentSeriesIndex == index)\n ? html`\n <paper-icon-button icon=\"close\" @tap=${(e: Event) => this.onTapRemoveCurrentTab(e)}>\n </paper-icon-button>\n `\n : html``}\n </paper-tab>\n `\n )}\n </paper-tabs>\n <paper-icon-button\n id=\"tab-nav-right-button\"\n icon=\"chevron-right\"\n @click=${(e: Event) => {\n this._onTabScrollNavRight(e)\n }}\n disabled\n ></paper-icon-button>\n </div>\n <div id=\"add-series-button-container\">\n <paper-icon-button\n id=\"add-series-button\"\n icon=\"add\"\n @tap=${(e: Event) => this.onTapAddTab(e)}\n ></paper-icon-button>\n </div>\n\n <iron-pages .selected=${this.currentSeriesIndex} .attr-for-selected=\"series-index\">\n ${this.datasets.map(\n (dataset: any, index: number) => html`\n <div class=\"tab-content\" series-index=\"${index}\">\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"dataKey\" .value=${this.dataKey} />\n\n ${this.value.type == 'bar'\n ? html`\n <label> <i18n-msg msgid=\"label.type\">type</i18n-msg> </label>\n <select class=\"select-content\" value-key=\"series.type\" .value=${this.series.type}>\n <option value=\"bar\" selected>bar</option>\n <option value=\"line\">line</option>\n </select>\n `\n : html``}\n\n <label> <i18n-msg msgid=\"label.label\">label</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.label\" .value=${this.series.label} />\n\n ${this.series.type == 'line'\n ? html`\n <label> <i18n-msg msgid=\"label.line-tension\">line tension</i18n-msg> </label>\n <select class=\"select-content\" value-key=\"series.lineTension\" .value=${this.series.lineTension}>\n <option value=\"0.4\">smooth</option>\n <option value=\"0\">angled</option>\n </select>\n `\n : html``}\n ${this.series.type == 'line'\n ? html`\n <label> <i18n-msg msgid=\"label.border-width\">border width</i18n-msg> </label>\n <input type=\"number\" value-key=\"series.borderWidth\" .value=${this.series.borderWidth} />\n `\n : html``}\n\n <label> <i18n-msg msgid=\"label.color\">color</i18n-msg> </label>\n <ox-input-color value-key=\"color\" .value=${this.color}></ox-input-color>\n\n ${this.series.type == 'line'\n ? html`\n <label> <i18n-msg msgid=\"label.point-shape\">point shape</i18n-msg> </label>\n <select class=\"select-content\" value-key=\"series.pointStyle\" .value=${this.series.pointStyle}>\n <option value=\"circle\">⚬</option>\n <option value=\"triangle\">▵</option>\n <option value=\"rect\">□</option>\n <option value=\"rectRot\">◇</option>\n <option value=\"cross\">+</option>\n <option value=\"crossRot\">⨉</option>\n <option value=\"star\">✱</option>\n <option value=\"line\">―</option>\n <option value=\"dash\">┄</option>\n </select>\n\n <label> <i18n-msg msgid=\"label.point-size\">point size</i18n-msg> </label>\n <input type=\"number\" value-key=\"series.pointRadius\" .value=${this.series.pointRadius} />\n `\n : html``} <label> <i18n-msg msgid=\"label.stack-group\">Stack group</i18n-msg> </label>\n <input type=\"text\" value-key=\"series.stack\" .value=${this.series.stack || ''} /> ${this.series.type ==\n 'line'\n ? html`\n <input type=\"checkbox\" value-key=\"series.fill\" .checked=${this.series.fill} />\n <label> <i18n-msg msgid=\"label.fill\">fill</i18n-msg> </label>\n `\n : html``}\n ${this.multiAxis\n ? html`\n <label> <i18n-msg msgid=\"label.target-axis\">target axis</i18n-msg> </label>\n <select class=\"select-content\" value-key=\"series.yAxisID\" .value=${this.series.yAxisID}>\n <option value=\"left\">left</option>\n <option value=\"right\">right</option>\n </select>\n `\n : html``}\n ${this.displayValueTemplate()}\n </div>\n `\n )}\n </iron-pages>\n </div>\n `\n }\n\n _onTabScroll(e: Event) {\n if (!this.tabContainer) {\n return\n }\n\n if (this.tabContainer.clientWidth == this.tabContainer.scrollWidth) {\n this.tabNavLeftButton.disabled = true\n this.tabNavRightButton.disabled = true\n }\n // left-end\n else if (this.tabContainer.scrollLeft == 0) {\n this.tabNavLeftButton.disabled = true\n this.tabNavRightButton.disabled = false\n }\n // right-end\n else if (this.tabContainer.scrollLeft + this.tabContainer.clientWidth >= this.tabContainer.scrollWidth) {\n this.tabNavLeftButton.disabled = false\n this.tabNavRightButton.disabled = true\n } else {\n this.tabNavLeftButton.disabled = false\n this.tabNavRightButton.disabled = false\n }\n }\n\n _onTabScrollNavLeft(e: Event) {\n if (!this.tabContainer) {\n return\n }\n\n this.tabContainer.style.scrollBehavior = 'smooth'\n this.tabContainer.scrollLeft -= this.tabContainer.clientWidth\n this.tabContainer.style.scrollBehavior = 'auto'\n }\n\n _onTabScrollNavRight(e: Event) {\n if (!this.tabContainer) {\n return\n }\n\n this.tabContainer.style.scrollBehavior = 'smooth'\n this.tabContainer.scrollLeft += this.tabContainer.clientWidth\n this.tabContainer.style.scrollBehavior = 'auto'\n }\n}\n"]}
@@ -11,5 +11,5 @@ export default class PropertyEditorChartJSPie extends PropertyEditorChartJSAbstr
11
11
  set color(color: any);
12
12
  get displayValue(): any;
13
13
  set displayValue(displayValue: any);
14
- editorTemplate(props: Properties): import("lit-html").TemplateResult<1>;
14
+ editorTemplate(props: Properties): import("lit").TemplateResult<1>;
15
15
  }
@@ -1,7 +1,7 @@
1
1
  import { __decorate } from "tslib";
2
- import { html } from 'lit';
3
- import { customElement } from 'lit/decorators.js';
4
2
  import PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract';
3
+ import { customElement } from 'lit/decorators.js';
4
+ import { html } from 'lit';
5
5
  let PropertyEditorChartJSPie = class PropertyEditorChartJSPie extends PropertyEditorChartJSAbstract {
6
6
  constructor() {
7
7
  super();
@@ -48,7 +48,7 @@ let PropertyEditorChartJSPie = class PropertyEditorChartJSPie extends PropertyEd
48
48
  <input type="text" value-key="dataKey" .value=${this.series.dataKey} />
49
49
 
50
50
  <label> <i18n-msg msgid="label.color">color</i18n-msg> </label>
51
- <things-editor-multiple-color value-key="color" .values=${this.color}></things-editor-multiple-color>
51
+ <ox-input-multiple-colors value-key="color" .value=${this.color}></ox-input-multiple-colors>
52
52
 
53
53
  ${this.displayValueTemplate()}
54
54
 
@@ -1 +1 @@
1
- {"version":3,"file":"property-editor-chartjs-pie.js","sourceRoot":"","sources":["../../src/editors/property-editor-chartjs-pie.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAIjD,OAAO,6BAA6B,MAAM,oCAAoC,CAAA;AAG9E,IAAqB,wBAAwB,GAA7C,MAAqB,wBAAyB,SAAQ,6BAA6B;IAGjF;QACE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,KAAK,G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6BAA6B,CAAC;GACxB,wBAAwB,CAqE5C;eArEoB,wBAAwB","sourcesContent":["import { html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { Properties } from '@hatiolab/things-scene'\n\nimport PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract'\n\n@customElement('property-editor-chartjs-pie')\nexport default class PropertyEditorChartJSPie extends PropertyEditorChartJSAbstract {\n static styles = PropertyEditorChartJSAbstract.styles\n\n constructor() {\n super()\n\n this.value = {\n options: {\n legend: {}\n },\n data: {\n datasets: []\n }\n }\n\n this.currentSeriesIndex = 0\n }\n\n get valuePrefix() {\n return this.series.valuePrefix\n }\n\n set valuePrefix(valuePrefix) {\n this.series.valuePrefix = valuePrefix\n }\n\n get valueSuffix() {\n return this.series.valueSuffix\n }\n\n set valueSuffix(valueSuffix) {\n this.series.valueSuffix = valueSuffix\n }\n\n get color() {\n return this.series.color || this.series.backgroundColor\n }\n\n set color(color) {\n this.series.color = color\n delete this.series.backgroundColor\n }\n\n get displayValue() {\n return this.series.displayValue\n }\n\n set displayValue(displayValue) {\n this.series.displayValue = displayValue\n }\n\n editorTemplate(props: Properties) {\n return html`\n <legend><i18n-msg msgid=\"label.series\">Series</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"dataKey\" .value=${this.series.dataKey} />\n\n <label> <i18n-msg msgid=\"label.color\">color</i18n-msg> </label>\n <things-editor-multiple-color value-key=\"color\" .values=${this.color}></things-editor-multiple-color>\n\n ${this.displayValueTemplate()}\n\n <legend><i18n-msg msgid=\"label.axes\">Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"labelDataKey\" .value=${this.labelDataKey} />\n `\n }\n}\n"]}
1
+ {"version":3,"file":"property-editor-chartjs-pie.js","sourceRoot":"","sources":["../../src/editors/property-editor-chartjs-pie.ts"],"names":[],"mappings":";AACA,O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;;;;sDAIuC,IAAI,CAAC,MAAM,CAAC,OAAO;;;2DAGd,IAAI,CAAC,KAAK;;QAE7D,IAAI,CAAC,oBAAoB,EAAE;;;;;2DAKwB,IAAI,CAAC,YAAY;KACvE,CAAA;IACH,CAAC;CACF,CAAA;AApEQ,+BAAM,GAAG,6BAA6B,CAAC,MAAM,CAAA;AADjC,wBAAwB;IAD5C,aAAa,CAAC,6BAA6B,CAAC;GACxB,wBAAwB,CAqE5C;eArEoB,wBAAwB","sourcesContent":["import { Properties } from '@hatiolab/things-scene'\nimport PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract'\nimport { customElement } from 'lit/decorators.js'\nimport { html } from 'lit'\n\n@customElement('property-editor-chartjs-pie')\nexport default class PropertyEditorChartJSPie extends PropertyEditorChartJSAbstract {\n static styles = PropertyEditorChartJSAbstract.styles\n\n constructor() {\n super()\n\n this.value = {\n options: {\n legend: {}\n },\n data: {\n datasets: []\n }\n }\n\n this.currentSeriesIndex = 0\n }\n\n get valuePrefix() {\n return this.series.valuePrefix\n }\n\n set valuePrefix(valuePrefix) {\n this.series.valuePrefix = valuePrefix\n }\n\n get valueSuffix() {\n return this.series.valueSuffix\n }\n\n set valueSuffix(valueSuffix) {\n this.series.valueSuffix = valueSuffix\n }\n\n get color() {\n return this.series.color || this.series.backgroundColor\n }\n\n set color(color) {\n this.series.color = color\n delete this.series.backgroundColor\n }\n\n get displayValue() {\n return this.series.displayValue\n }\n\n set displayValue(displayValue) {\n this.series.displayValue = displayValue\n }\n\n editorTemplate(props: Properties) {\n return html`\n <legend><i18n-msg msgid=\"label.series\">Series</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"dataKey\" .value=${this.series.dataKey} />\n\n <label> <i18n-msg msgid=\"label.color\">color</i18n-msg> </label>\n <ox-input-multiple-colors value-key=\"color\" .value=${this.color}></ox-input-multiple-colors>\n\n ${this.displayValueTemplate()}\n\n <legend><i18n-msg msgid=\"label.axes\">Axes</i18n-msg></legend>\n\n <label> <i18n-msg msgid=\"label.data-key\">Data Key</i18n-msg> </label>\n <input type=\"text\" value-key=\"labelDataKey\" .value=${this.labelDataKey} />\n `\n }\n}\n"]}
@@ -7,5 +7,5 @@ import PropertyEditorChartJSMultiSeriesAbstract from './property-editor-chartjs-
7
7
  export default class PropertyEditorChartJSRadar extends PropertyEditorChartJSMultiSeriesAbstract {
8
8
  static styles: import("lit").CSSResult[];
9
9
  constructor();
10
- editorTemplate(props: Properties): import("lit-html").TemplateResult<1>;
10
+ editorTemplate(props: Properties): import("lit").TemplateResult<1>;
11
11
  }
@@ -10,5 +10,5 @@ import { OxPropertyEditor } from '@operato/property-editor';
10
10
  import { Properties } from '@hatiolab/things-scene';
11
11
  export default class ChartJSEditor extends OxPropertyEditor {
12
12
  static styles: import("lit").CSSResult[];
13
- editorTemplate(props: Properties): import("lit-html").TemplateResult<1>;
13
+ editorTemplate(props: Properties): import("lit").TemplateResult<1>;
14
14
  }
@@ -10,7 +10,7 @@ export declare class OxChart extends LitElement {
10
10
  private _chart?;
11
11
  _canvas: HTMLCanvasElement;
12
12
  firstUpdated(): void;
13
- render(): import("lit-html").TemplateResult<1>;
13
+ render(): import("lit").TemplateResult<1>;
14
14
  updated(changes: PropertyValues<this>): void;
15
15
  initChart(): void;
16
16
  updateChartSize(): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@operato/scene-chartjs",
3
3
  "description": "Things Scene ChartJS Component",
4
- "version": "0.1.4",
4
+ "version": "1.0.0-alpha.10",
5
5
  "license": "MIT",
6
6
  "author": "heartyoh",
7
7
  "main": "dist/index.js",
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@ctrl/tinycolor": "^3.1.6",
30
- "@hatiolab/things-scene": "^2.7.34",
30
+ "@hatiolab/things-scene": "^2.8.1",
31
31
  "@polymer/iron-icon": "^3.0.1",
32
32
  "@polymer/iron-pages": "^3.0.1",
33
33
  "@polymer/paper-button": "^3.0.1",
@@ -41,14 +41,14 @@
41
41
  "chartjs-plugin-datalabels": "^0.7.0",
42
42
  "chartjs-plugin-style": "^0.5.0",
43
43
  "core-js": "^3.16.0",
44
- "lit": "^2.0.2",
44
+ "lit": "^2.2.1",
45
45
  "regenerator-runtime": "^0.13.3"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@hatiolab/prettier-config": "^1.0.0",
49
- "@operato/board": "^0.3.24",
50
- "@things-factory/builder": "^4.0.41",
51
- "@things-factory/operato-board": "^4.0.41",
49
+ "@operato/board": "^1.0.0-beta.0",
50
+ "@things-factory/builder": "^5.0.0-alpha.28",
51
+ "@things-factory/operato-board": "^5.0.0-alpha.28",
52
52
  "@types/chart.js": "2.9.34",
53
53
  "@typescript-eslint/eslint-plugin": "^4.33.0",
54
54
  "@typescript-eslint/parser": "^4.33.0",
@@ -74,5 +74,5 @@
74
74
  "prettier --write"
75
75
  ]
76
76
  },
77
- "gitHead": "3833703d8bed48011bd4bbb1cbab30d55d08011d"
77
+ "gitHead": "affd1f02dee64f306ffeeb212829ca0f675aa8bd"
78
78
  }
@@ -1,10 +1,9 @@
1
- import { html, LitElement } from 'lit'
2
- import { property } from 'lit/decorators.js'
1
+ import { LitElement, html } from 'lit'
2
+ import { TinyColor, random as randomColor } from '@ctrl/tinycolor'
3
3
 
4
- import { random as randomColor, TinyColor } from '@ctrl/tinycolor'
5
4
  import { Properties } from '@hatiolab/things-scene'
6
-
7
5
  import { PropertyEditorChartJSStyles } from './property-editor-chartjs-styles'
6
+ import { property } from 'lit/decorators.js'
8
7
 
9
8
  export default class PropertyEditorChartJSAbstract extends LitElement {
10
9
  static styles = [PropertyEditorChartJSStyles]
@@ -58,10 +57,10 @@ export default class PropertyEditorChartJSAbstract extends LitElement {
58
57
  ${this.series.displayValue
59
58
  ? html`
60
59
  <label> <i18n-msg msgid="label.font-color">Font Color</i18n-msg> </label>
61
- <things-editor-color
60
+ <ox-input-color
62
61
  value-key="series.defaultFontColor"
63
62
  .value=${this.series.defaultFontColor || '#000'}
64
- ></things-editor-color>
63
+ ></ox-input-color>
65
64
  <label> <i18n-msg msgid="label.font-size">Font Size</i18n-msg> </label>
66
65
  <input type="number" value-key="series.defaultFontSize" .value=${this.series.defaultFontSize || 10} />
67
66
  <label> <i18n-msg msgid="label.position">Position</i18n-msg> </label>
@@ -144,7 +144,7 @@ export default class PropertyEditorChartJSHBar extends PropertyEditorChartJSMult
144
144
  <label> <i18n-msg msgid="label.label">Label</i18n-msg> </label>
145
145
  <input type="text" value-key="series.label" .value=${this.series.label} />
146
146
  <label> <i18n-msg msgid="label.color">Color</i18n-msg> </label>
147
- <things-editor-color value-key="color" .value=${this.color}></things-editor-color>
147
+ <ox-input-color value-key="color" .value=${this.color}></ox-input-color>
148
148
  <label> <i18n-msg msgid="label.stack-group">Stack Group</i18n-msg> </label>
149
149
  <input type="text" value-key="series.stack" .value=${this.series.stack || ''} />
150
150
 
@@ -5,12 +5,11 @@ import '@polymer/paper-icon-button/paper-icon-button'
5
5
  import '@polymer/paper-tabs/paper-tabs'
6
6
 
7
7
  import { css, html } from 'lit'
8
- import { query } from 'lit/decorators.js'
9
8
 
10
- import { Properties } from '@hatiolab/things-scene'
11
9
  import { PaperIconButtonElement } from '@polymer/paper-icon-button/paper-icon-button'
12
-
10
+ import { Properties } from '@hatiolab/things-scene'
13
11
  import PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract'
12
+ import { query } from 'lit/decorators.js'
14
13
 
15
14
  export default class PropertyEditorChartJSMultiSeriesAbstract extends PropertyEditorChartJSAbstract {
16
15
  static styles = [
@@ -300,7 +299,7 @@ export default class PropertyEditorChartJSMultiSeriesAbstract extends PropertyEd
300
299
  : html``}
301
300
 
302
301
  <label> <i18n-msg msgid="label.color">color</i18n-msg> </label>
303
- <things-editor-color value-key="color" .value=${this.color}></things-editor-color>
302
+ <ox-input-color value-key="color" .value=${this.color}></ox-input-color>
304
303
 
305
304
  ${this.series.type == 'line'
306
305
  ? html`
@@ -1,9 +1,7 @@
1
- import { html } from 'lit'
2
- import { customElement } from 'lit/decorators.js'
3
-
4
1
  import { Properties } from '@hatiolab/things-scene'
5
-
6
2
  import PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract'
3
+ import { customElement } from 'lit/decorators.js'
4
+ import { html } from 'lit'
7
5
 
8
6
  @customElement('property-editor-chartjs-pie')
9
7
  export default class PropertyEditorChartJSPie extends PropertyEditorChartJSAbstract {
@@ -65,7 +63,7 @@ export default class PropertyEditorChartJSPie extends PropertyEditorChartJSAbstr
65
63
  <input type="text" value-key="dataKey" .value=${this.series.dataKey} />
66
64
 
67
65
  <label> <i18n-msg msgid="label.color">color</i18n-msg> </label>
68
- <things-editor-multiple-color value-key="color" .values=${this.color}></things-editor-multiple-color>
66
+ <ox-input-multiple-colors value-key="color" .value=${this.color}></ox-input-multiple-colors>
69
67
 
70
68
  ${this.displayValueTemplate()}
71
69
 
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","./global/index.d.ts","../../node_modules/tslib/tslib.d.ts","../../node_modules/moment/ts3.1-typings/moment.d.ts","../../node_modules/@types/chart.js/index.d.ts","../../node_modules/chartjs-plugin-datalabels/types/context.d.ts","../../node_modules/chartjs-plugin-datalabels/types/options.d.ts","../../node_modules/chartjs-plugin-datalabels/types/index.d.ts","../../node_modules/@lit/reactive-element/css-tag.d.ts","../../node_modules/@lit/reactive-element/reactive-controller.d.ts","../../node_modules/@lit/reactive-element/reactive-element.d.ts","../../node_modules/@types/trusted-types/lib/index.d.ts","../../node_modules/@types/trusted-types/index.d.ts","../../node_modules/lit-html/directive.d.ts","../../node_modules/lit-html/lit-html.d.ts","../../node_modules/lit-element/lit-element.d.ts","../../node_modules/lit/index.d.ts","../../node_modules/@lit/reactive-element/decorators/base.d.ts","../../node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../node_modules/@lit/reactive-element/decorators/property.d.ts","../../node_modules/@lit/reactive-element/decorators/state.d.ts","../../node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../node_modules/@lit/reactive-element/decorators/query.d.ts","../../node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../node_modules/lit/decorators.d.ts","./src/plugins/chartjs-plugin-data-binder.ts","../../node_modules/@ctrl/tinycolor/dist/interfaces.d.ts","../../node_modules/@ctrl/tinycolor/dist/index.d.ts","../../node_modules/@ctrl/tinycolor/dist/css-color-names.d.ts","../../node_modules/@ctrl/tinycolor/dist/readability.d.ts","../../node_modules/@ctrl/tinycolor/dist/to-ms-filter.d.ts","../../node_modules/@ctrl/tinycolor/dist/from-ratio.d.ts","../../node_modules/@ctrl/tinycolor/dist/format-input.d.ts","../../node_modules/@ctrl/tinycolor/dist/random.d.ts","../../node_modules/@ctrl/tinycolor/dist/conversion.d.ts","../../node_modules/@ctrl/tinycolor/dist/public_api.d.ts","./src/config-converter.ts","./src/ox-chart.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@types/lodash/clonedeep.d.ts","../../node_modules/@hatiolab/things-scene/things-scene.d.ts","./src/chartjs.ts","./src/index.ts","./src/scene-chart.d.ts","../../node_modules/@polymer/polymer/lib/utils/mixin.d.ts","../../node_modules/@polymer/polymer/lib/utils/resolve-url.d.ts","../../node_modules/@polymer/polymer/lib/elements/dom-module.d.ts","../../node_modules/@polymer/polymer/lib/utils/style-gather.d.ts","../../node_modules/@polymer/polymer/lib/utils/path.d.ts","../../node_modules/@polymer/polymer/lib/utils/case-map.d.ts","../../node_modules/@polymer/polymer/interfaces.d.ts","../../node_modules/@polymer/polymer/lib/utils/async.d.ts","../../node_modules/@polymer/polymer/lib/mixins/properties-changed.d.ts","../../node_modules/@polymer/polymer/lib/mixins/property-accessors.d.ts","../../node_modules/@polymer/polymer/lib/mixins/template-stamp.d.ts","../../node_modules/@polymer/polymer/lib/mixins/property-effects.d.ts","../../node_modules/@polymer/polymer/lib/utils/telemetry.d.ts","../../node_modules/@polymer/polymer/lib/mixins/properties-mixin.d.ts","../../node_modules/@polymer/polymer/lib/mixins/element-mixin.d.ts","../../node_modules/@polymer/polymer/lib/utils/debounce.d.ts","../../node_modules/@polymer/polymer/lib/utils/gestures.d.ts","../../node_modules/@polymer/polymer/lib/mixins/gesture-event-listeners.d.ts","../../node_modules/@polymer/polymer/lib/mixins/dir-mixin.d.ts","../../node_modules/@polymer/polymer/lib/utils/array-splice.d.ts","../../node_modules/@polymer/polymer/lib/utils/flattened-nodes-observer.d.ts","../../node_modules/@polymer/polymer/lib/utils/flush.d.ts","../../node_modules/@polymer/polymer/lib/legacy/polymer.dom.d.ts","../../node_modules/@polymer/polymer/lib/utils/scope-subtree.d.ts","../../node_modules/@polymer/polymer/lib/mixins/disable-upgrade-mixin.d.ts","../../node_modules/@polymer/polymer/lib/legacy/legacy-element-mixin.d.ts","../../node_modules/@polymer/polymer/lib/legacy/class.d.ts","../../node_modules/@polymer/polymer/lib/legacy/polymer-fn.d.ts","../../node_modules/@polymer/iron-meta/iron-meta.d.ts","../../node_modules/@polymer/polymer/lib/utils/html-tag.d.ts","../../node_modules/@polymer/iron-icon/iron-icon.d.ts","../../node_modules/@polymer/iron-icons/iron-icons.d.ts","../../node_modules/@polymer/iron-a11y-keys-behavior/iron-a11y-keys-behavior.d.ts","../../node_modules/@polymer/iron-behaviors/iron-button-state.d.ts","../../node_modules/@polymer/iron-behaviors/iron-control-state.d.ts","../../node_modules/@polymer/paper-ripple/paper-ripple.d.ts","../../node_modules/@polymer/paper-behaviors/paper-ripple-behavior.d.ts","../../node_modules/@polymer/paper-behaviors/paper-inky-focus-behavior.d.ts","../../node_modules/@polymer/paper-icon-button/paper-icon-button.d.ts","../../node_modules/@polymer/iron-selector/iron-selection.d.ts","../../node_modules/@polymer/iron-selector/iron-selectable.d.ts","../../node_modules/@polymer/iron-selector/iron-multi-selectable.d.ts","../../node_modules/@polymer/iron-menu-behavior/iron-menu-behavior.d.ts","../../node_modules/@polymer/iron-menu-behavior/iron-menubar-behavior.d.ts","../../node_modules/@polymer/iron-resizable-behavior/iron-resizable-behavior.d.ts","../../node_modules/@polymer/paper-tabs/paper-tabs.d.ts","../../node_modules/@polymer/paper-behaviors/paper-button-behavior.d.ts","../../node_modules/@polymer/polymer/polymer-legacy.d.ts","../../node_modules/@polymer/paper-button/paper-button.d.ts","../../node_modules/@polymer/iron-pages/iron-pages.d.ts","./src/editors/property-editor-chartjs-styles.ts","./src/editors/property-editor-chartjs-abstract.ts","./src/editors/property-editor-chartjs-multi-series-abstract.ts","./src/editors/property-editor-chartjs-hbar.ts","./src/editors/property-editor-chartjs-mixed.ts","./src/editors/property-editor-chartjs-pie.ts","./src/editors/property-editor-chartjs-radar.ts","../../node_modules/@operato/property-editor/dist/src/ox-property-editor.d.ts","../../node_modules/@operato/property-editor/dist/src/index.d.ts","./src/editors/property-editor-chartjs.ts","./src/editors/index.ts","./src/plugins/chart-series-highlight.ts","./src/templates/bar-chart.ts","./src/templates/doughnut-chart.ts","./src/templates/horizontal-bar-chart.ts","./src/templates/line-chart.ts","./src/templates/mixed-chart.ts","./src/templates/pie-chart.ts","./src/templates/polar-area-chart.ts","./src/templates/radar-chart.ts","./src/templates/index.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts"],"fileInfos":[{"version":"89f78430e422a0f06d13019d60d5a45b37ec2d28e67eb647f73b1b0d19a46b72","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"c4f5f288a2b8dcfb6183e29612ec26b7a049314a6a10b7e6e700a8307077455a","12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75","f97edc4d3b4dd0b32766e9633086497565c37657fb591cc84a35864db4bc2fc5","d5b4a95da4cb2c1d8cf8857d8110ea8e30654ce3b3fb90669dd1e99006af9f40","7abe341c118b8aa3ed2a51d9ef3ada999d223168317c5a977b238e804fab02af","74462c15e232d097b1b9888823cf513a1c5b63f57637a64c3eab6b8a236954ae","fe15b975a20fddd8407bdd885feee2ce04dbc6a7100d89f432cae2ed5fa32d26","6e2c5a9358c2be6791713f778c3af2d3357b8665d881e22f50b3aa861a2a9717","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a","adcf839acdeb840fc28b8f8afb9711e9a0c894bc6f24c27c81ec305ea6c24aff","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"bb4248c7f953233ac52332088fac897d62b82be07244e551d87c5049600b6cf7","affectsGlobalScope":true},"70f04c91d3186b1b10157157887fab664968fc9b88377785a5ee42750c202c6d","06e20da1bc94df355f22ac7a9533c2488816ec4cb9134d9b160a263629a07072","bece353ce2ed400f3a86b1f3beca6e973a64e5ce1c2143411469d8fbc88360cd","f07a77a7fb1d49aa2b61cb68bf712a083487acd7130d20223a83de03af0c257d","97c58f6db61d45712d91d2260994817ae2b568bbb37cc280013079b6b5d2232d","ac388c7c7a262213a3700451bc921e382a93fb27c0252c34ccf03540b4ce044b","1da789e534bc558808021dd64abf33a91a68e422bbf28aeec236bd74df640401","fb0107c83e2e0e75b77dacd0c3c6c3ab6844e98dce2a8f858c6f0a57c12136a6","84610cf09dee3cefc910555318f1ad7b45f1cba36905a86849324ca4fead2385","a25d1e52291791819032826af5c52987e16ffdb96e8bb69f7f1790f5ab080be6","d660961abada6b5030461f3322ef3a2e1d9fec74167574f8b590a7796cf90a72","707b4eae3d469b2f347d2083037151922f94c370a9456ebd5ac0a4fb7441c7e7","1176aa92b37ccc58b8a1f99b58a76e8d65266ac03f4151062a412c00564a1e73","5b845f9c6dbd04fcb3e1af995363d2dcda308de24e982c97b249d5a661531db4","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a","4d140831caa65acda121fe20897aa18f171b8a0098bd72c7dacf3ed302b735db","b1b35200ed3c1c0cbea8c7cb21fee3eedf416886ec1589f49bd3d376a875c929","f3e8ff184a8a5e268dfda688d044315ac17e78ecc6ecc0ae4b66e525a75e7222","df9d5f06a1692717762ca9f368917924fdaccfdfced152804d768eff9baeb352","6340f8e2bb659e4ca974a3704b4c4b10d77b07e6e98f51e1b0ab3165472946a6","255e138c60c1427d3fdb86de7c27f8521604a01b33688642a9f6e6dc0cd2ddd2","cf47ec822609efb55c52bb2afeb40cdd6fda8936410d81db14205278fd90b417","6b70eb3347b223e5cccde1a3356488166923f2ac41381ff38e5b204684f36163","3d032c06d3ebb588d9b8d79f7a6a9ebbf7ab2dfb0ad1565e0ac0e718a370ffe7","f3c41c9d228a5187cf4f91d263300abcc0e6bc8f3da2c347ca49dc3afc0347e3","b6aa29ed75b8eb54ec49f7d16687fb6d0f8d37d5088af2d94f40ad92fa8b555f","067d5f0a15e593034911aa8016d0d690637b5a763568d8143c534b65b344809f","8129d6e44ddb0c007eebef506da2a00e3a56841c8a18854fac452083478c2a95","675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d88a479cccf787b4aa82362150fbeba5211a32dbfafa7b92ba6995ecaf9a1a89","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"a33ea06913b712c529662bee7fd75959781267cf8a307902cc7761307fec0337","45a631650d3970dcb50a5b6f10bdd8533eed562aa5d85fa9887621c074c09de1","f8b6b4584ab6510b2d68403f964d36fa41638baad5501e87514ed19ea542f3ba","78c6d53cc1eb64fc05f155d23992d58b35b5d70d8fceaa0543192110bb69b574",{"version":"640756dc90943b66a0c339e311f86346dd5d80f50222766cb4488f4ae60f2116","affectsGlobalScope":true},"8ecbfacf281dbd929d3b5f09b4f96bf999a45a959e08501b07117256b1eeb659","968bc5962ea9834b383119f668c4cabd35ba7e4a2c5107fb2d38c8fa66f164be",{"version":"22a05089243a8f0fdfbfbc2d956dcf61872c5c973ecda5320a8f1e3a4dd90bfb","affectsGlobalScope":true},"9bb6e652f67b205e169436f76e1d8fd396bc9971dbec1a558eab3be406343e8c","6cb1ff661eb0cff9177c3b47e82abd0fe3122fc62f2bc0af432a8c4205ff3ec6","d4931bfce5c009c57f86bcd1039b3f0a5c5ef61d26a685f0abf77f20b18fc066","218d40ca9941513cd8a798d81ba7b4d348db943492f7f6db7687a79cd16b5533","46971bf04e56b8de7c9c74bba27b54f5f4a78873b6cbf0682592d0693c2acb25","4bd4c71ed7c85138316133c98926c344916002fd572f52af1889961dad8d73c0","d0e3fc2ed7395634479edf269cc2b3e25d90b05ce08ddda1717282f9f3afecd0","8744338f1b9f91b6ca97ceb3bfb10babf4397ffe3c304b5ae4dc016f7c3fcde3","694291734f077ed109fdabbfee35995f7168b5d1af643bd6404eeabd7036aa01","7a0e19e0790605fc701443298d9ffd1dbf8fc2cd94ddfbe9a05c578a4228e5c0","4012af9177a7bb1715a569cc54565b906e5c087a97067abbcf9f75f7f9a476dc","9be3b21edf891a0ec1d8caa0da81816162f4fa5376a7652e0ec3154df6433a08","311c45b5a2b6585a84306100bb514c919b01ee21de43efb1bb2aa6a98a2753db","e544e87f21a6afb7a4e1196a991fd5d235d6df3b8c04ca6df0bc5f85f3aa4f5b","19910d826b4901606d47b306cd70ace2960eeb2ca2cb5e57acc81b42eedbfbcd","d48721b66317440af7e3257b38e144adf76953419a4a4db1fb60f743eb7c9b92","5b402d6c32c733bf8065b8abc34904fffcfe5b94b0e1b99e63a34f450d87faba","54570339e5e91d8d8380dee2ab4014ffa88cdfd73ff0a20e4ec085d64d81cd78","fc94de52737bc8fb2b1290d6f22b5dfea3e50c8d547625781fa6a2ccd35c7242","c1b9873444fa0d27f70b65ef00c80d0e0a9e9bf277ef6b4522572e99c9c48ee9","a71d8fe039f1b2c852618ef0b6971561ca4626fb8b30abbf6d238441d47aa6a4","baebdb5ba48a482240d2ecf8497a432aba8ca37d8930cc618c4d3b5d12ceefae","9ce316b892b5134f715b4f7afd71c06384cf9af9a69009cc9566b325a095e592","7ebd9f1b92a89f2c5998bf3e82e7af635ff5de2e3868d918f1f172e89511fae0","1d652f66027b28891fbde5c4947757333f9af4609dfa3e4be84c392c2ce0edc2",{"version":"c34297a26fdf8d47f98aeb755e0e6a6fbd935d0e347979f63d4cb9a5abf14140","affectsGlobalScope":true},"fef62bed109b31722160fabb598f61308506f9b7f40e60b3746ae01e3a3dc18b",{"version":"9c045fbf5d46f8f70514dfdf51079a73da359a904870a7cfef60232487403997","affectsGlobalScope":true},"579239e0379f0cc10b4ffdc2a79a7018b86dbea27a1e949bf871f540955714a1","d0e548b52ce2a55820b470ad9c2d66e2855fb3e9dea936fc29b4d4a63bb8fa54","15a95894e214753c1e2dc638670ac7c5a6d05d952b19ea3745767d239fe00789","5d82404561003f51fed07b961d061f702dfd379ef5f0f7927744a4fff21fbf64",{"version":"9ee76fedebbb3023e9d3b38179f56763ee845a1c6c5580ca0b0b8e52e3e96ebc","affectsGlobalScope":true},"449ee26fa4373d19eb10872864993dd1e763bf8db1d696c816c9603db45e28b1","e7b3f30c66cd074439e9d283d9b472b3ea97da76a40f536b341e785303ddde44",{"version":"c9077f7c4340c3c3b32d56907641903c4df43c045d0dc98de6ebae6825701843","affectsGlobalScope":true},"60daaa6b5dfacd7813a9cf22e1ca5860217f36e70dfcf2fc28c049a7305076e1","b203234dcc09962eadae1146518df97f0768783913616ece5fd1f7f13d6f1361","74a696e2d8acb105f173f536ede57df87f10f1811879c6537cd40718156e4809","bfa3213963e67340227e92bbfb9ae68bc9945e505818e9fd3fb1b207bc8ec89a","2ecd9a09f557844e37da96875c572c1c45b476947344b40fb316a2240a7f703b","c9c3ed6c587d5cf5ed732adefde93b7f5db39cef5c1d169bf14e8b517c2482c8",{"version":"fe5414fe835d9be4ec29cbdc73956ec212efe6050b8f7371fbc8f43fe7692457","affectsGlobalScope":true},"f7446f3953d26b9f9d0c6f448963b9a2057f331891065f9c6a0c54d5293719d8","6f35136bcc0672528bb8df0eaaf3beb3964eb728ec39960e726165e8f230bcb5",{"version":"827229c69375f5583db874aa5bc767d0a3bb27f594bf1db860af268ac5065fd0","affectsGlobalScope":true},{"version":"773e7cbddf345a0e6841bb1f0bb47c92c4a08925b0a8753b71bd8d3512510f70","affectsGlobalScope":true},"2877106bbb4dec752146b94f0ae57f1d956de16850e601a3bb6c6c3cb53805c4","81a184e42c6e55f5e02f2ae1737bb5e8af4b2da1aeaff06655f48fdad6581814","2d5dc7601a255017d118d69b07ddfc1c5b4f9ff71027f4ea9d8ad4929c6e4550","477c447bd78eccc8f9b8e4835384e4f14846931a2953affbdcd357eef80119dc","c66bec54049ca6d4e2df27faf786d199e4762d0ed035322a491be9e924967ffd","a8e335f62aecfd3cc70f15bb065b88b298985c89e7bd765fea66eca52a212088","4c681baf6b67b4e089b855e76c2e0212713ac07b7a721a1de46855760c6f39fb","6e8acb4f51e989ad020b90da24cca92cb91ec9ae5c671adb394a117b224e1b65","a1045a03e654de1219e85600f7589af7a91e4ac37e2aff114f2ceba34111d34d","e380f8dbd024ee705979e515888a481d30e52692589284b3edda0b54518647cb","1cb49d01d422b9bbe5734328ccceb27c7ca130bc7660f1042a5db6dbdc64e97c","8754a08b0c69d5720707a9f20909559880b7bb8d06dfafbeb7964f8e392a871c","df2733312547d416cd8523da5e64934ad33e71baac02534729a06453eb0624f4","bc35786afa371e020ec7f6b3792fa42bab744bd96ba05bd7c3145f461ab52284","299c2936ac346ab6512648503b862cfb985d0591ca25b9d27abb34204837b9be","48dccd70510e22710f3879098708d7d23157e2cfeba32e2dfa34fc15b6fc1fe5","c7cdcd153caf32b0832f13453d76d509fa2546d7df68e697e57633b949fb0709","da6f9dc85425578c55ec83b2c7ca53ca1789059899ad88711bc1048f04d3b431","ae6b69bba762cca93171c9367be7c5e0440aaf8bcd920b857c36438628acfb89","b9fe5d68a5557ff37ec9757906565169e3a9e9cb295ca0733fe9f443ce611117","52faf5fd2a568908e643283c2a04885b224bca85a9024239e00789e5eb50b045","0cba3a5d7b81356222594442753cf90dd2892e5ccfe1d262aaca6896ba6c1380","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"c2ab70bbc7a24c42a790890739dd8a0ba9d2e15038b40dff8163a97a5d148c00","affectsGlobalScope":true},"422dbb183fdced59425ca072c8bd09efaa77ce4e2ab928ec0d8a1ce062d2a45a",{"version":"2a801b0322994c3dd7f0ef30265d19b3dd3bae6d793596879166ed6219c3da68","affectsGlobalScope":true},"1dab5ab6bcf11de47ab9db295df8c4f1d92ffa750e8f095e88c71ce4c3299628","f71f46ccd5a90566f0a37b25b23bc4684381ab2180bdf6733f4e6624474e1894",{"version":"54e65985a3ee3cec182e6a555e20974ea936fc8b8d1738c14e8ed8a42bd921d4","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","98a3ebfa494b46265634a73459050befba5da8fdc6ca0ef9b7269421780f4ff3","34e5de87d983bc6aefef8b17658556e3157003e8d9555d3cb098c6bef0b5fbc8","cc0b61316c4f37393f1f9595e93b673f4184e9d07f4c127165a490ec4a928668","f27371653aded82b2b160f7a7033fb4a5b1534b6f6081ef7be1468f0f15327d3","c762cd6754b13a461c54b59d0ae0ab7aeef3c292c6cf889873f786ee4d8e75c9","f4ea7d5df644785bd9fbf419930cbaec118f0d8b4160037d2339b8e23c059e79",{"version":"bfea28e6162ed21a0aeed181b623dcf250aa79abf49e24a6b7e012655af36d81","affectsGlobalScope":true},"7a5459efa09ea82088234e6533a203d528c594b01787fb90fba148885a36e8b6","ae97e20f2e10dbeec193d6a2f9cd9a367a1e293e7d6b33b68bacea166afd7792","10d4796a130577d57003a77b95d8723530bbec84718e364aa2129fa8ffba0378","ad41bb744149e92adb06eb953da195115620a3f2ad48e7d3ae04d10762dae197","bf73c576885408d4a176f44a9035d798827cc5020d58284cb18d7573430d9022","7ae078ca42a670445ae0c6a97c029cb83d143d62abd1730efb33f68f0b2c0e82",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"5d0a9ea09d990b5788f867f1c79d4878f86f7384cb7dab38eecbf22f9efd063d","12eea70b5e11e924bb0543aea5eadc16ced318aa26001b453b0d561c2fd0bd1e","08777cd9318d294646b121838574e1dd7acbb22c21a03df84e1f2c87b1ad47f2","08a90bcdc717df3d50a2ce178d966a8c353fd23e5c392fd3594a6e39d9bb6304",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"2a12d2da5ac4c4979401a3f6eaafa874747a37c365e4bc18aa2b171ae134d21b","002b837927b53f3714308ecd96f72ee8a053b8aeb28213d8ec6de23ed1608b66","1dc9c847473bb47279e398b22c740c83ea37a5c88bf66629666e3cf4c5b9f99c","a9e4a5a24bf2c44de4c98274975a1a705a0abbaad04df3557c2d3cd8b1727949","00fa7ce8bc8acc560dc341bbfdf37840a8c59e6a67c9bfa3fa5f36254df35db2","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"cfe724f7c694aab65a9bdd1acb05997848c504548c9d4c71645c187a091cfa2a","5f0ed51db151c2cdc4fa3bb0f44ce6066912ad001b607a34e65a96c52eb76248",{"version":"3345c276cab0e76dda86c0fb79104ff915a4580ba0f3e440870e183b1baec476","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","e383ff72aabf294913f8c346f5da1445ae6ad525836d28efd52cbadc01a361a6","f52fbf64c7e480271a9096763c4882d356b05cab05bf56a64e68a95313cd2ce2","59bdb65f28d7ce52ccfc906e9aaf422f8b8534b2d21c32a27d7819be5ad81df7","1835259a20b9fa6b1882931375b69ae5978195f2b139b4e0db51ec8319261649","28a2e7383fd898c386ffdcacedf0ec0845e5d1a86b5a43f25b86bc315f556b79","3aff9c8c36192e46a84afe7b926136d520487155154ab9ba982a8b544ea8fc95","a880cf8d85af2e4189c709b0fea613741649c0e40fffb4360ec70762563d5de0","85bbf436a15bbeda4db888be3062d47f99c66fd05d7c50f0f6473a9151b6a070","9f9c49c95ecd25e0cb2587751925976cf64fd184714cb11e213749c80cf0f927","f0c75c08a71f9212c93a719a25fb0320d53f2e50ca89a812640e08f8ad8c408c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"0b3eba6dca8c6e534d16ef7b7d76cb546cd3cbab616c8f71daa0a151b5412b9e"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./dist","rootDir":"./src","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[68,212],[212],[69,212],[68,69,70,71,72,73,74,75,76,212],[92,212],[49,212],[56,212],[49,56,212],[49,56,64,212],[47,48,212],[155,212],[53,55,212],[120,130,212],[120,212],[120,123,125,126,127,212],[127,212],[120,130,138,139,212],[140,212],[123,125,212],[123,125,127,138,142,212],[138,212],[103,120,137,212],[131,132,134,212],[120,133,212],[123,125,144,145,212],[123,125,127,135,212],[120,123,125,127,130,212],[120,123,125,127,141,142,212],[99,212],[104,123,212],[98,102,105,106,107,108,109,110,111,112,113,114,115,116,120,121,122,212],[104,124,212],[113,118,119,212],[98,106,107,212],[98,106,107,108,109,111,112,212],[98,99,100,101,104,106,107,108,109,111,212],[98,114,212],[98,105,212],[98,106,110,212],[98,103,106,212],[98,102,103,104,106,107,108,212],[98,104,212],[104,212],[105,117,212],[113,212],[104,105,113,212],[99,100,212],[123,125,127,212],[42,212],[80,82,83,84,85,86,87,88,89,90,91,92,212],[80,81,83,84,85,86,87,88,89,90,91,92,212],[81,82,83,84,85,86,87,88,89,90,91,92,212],[80,81,82,84,85,86,87,88,89,90,91,92,212],[80,81,82,83,85,86,87,88,89,90,91,92,212],[80,81,82,83,84,86,87,88,89,90,91,92,212],[80,81,82,83,84,85,87,88,89,90,91,92,212],[80,81,82,83,84,85,86,88,89,90,91,92,212],[80,81,82,83,84,85,86,87,89,90,91,92,212],[80,81,82,83,84,85,86,87,88,90,91,92,212],[80,81,82,83,84,85,86,87,88,89,91,92,212],[80,81,82,83,84,85,86,87,88,89,90,92,212],[80,81,82,83,84,85,86,87,88,89,90,91,212],[169,212],[172,212],[173,178,212],[174,184,185,192,201,211,212],[174,175,184,192,212],[176,212],[177,178,185,193,212],[178,201,208,212],[179,181,184,192,212],[180,212],[181,182,212],[183,184,212],[184,212],[184,185,186,201,211,212],[184,185,186,201,212],[187,192,201,211,212],[184,185,187,188,192,201,208,211,212],[187,189,201,208,211,212],[169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218],[184,190,212],[191,211,212],[181,184,192,201,212],[193,212],[194,212],[172,195,212],[196,210,212,216],[197,212],[198,212],[184,199,212],[199,200,212,214],[184,201,202,203,212],[201,203,212],[201,202,212],[204,212],[205,212],[184,206,207,212],[206,207,212],[178,192,201,208,212],[209,212],[192,210,212],[173,187,198,211,212],[178,212],[201,212,213],[212,214],[212,215],[173,178,184,186,195,201,211,212,214,216],[201,212,217],[50,212],[43,212],[43,44,45,212],[44,212],[49,53,212],[53,212],[51,52,212],[57,58,59,60,61,62,63,64,65,212],[49,53,54,212],[41,79,93,94,212],[41,77,212],[41,157,212],[41,55,66,77,94,148,212],[41,55,66,128,136,143,146,150,212],[41,55,66,94,128,136,143,146,147,150,212],[41,55,66,94,128,136,143,146,147,149,212],[41,55,66,94,149,212],[41,55,66,94,128,136,143,146,150,212],[41,55,212],[41,55,66,94,128,129,136,143,151,152,153,154,156,212],[41,95,212],[41,43,46,55,66,67,78,212],[41,43,212],[41,212],[41,160,161,162,163,164,165,166,167,212]],"referencedMap":[[76,1],[70,2],[74,1],[73,3],[69,1],[68,2],[77,4],[75,3],[71,3],[72,3],[94,5],[47,2],[56,6],[57,7],[60,8],[58,8],[62,8],[65,9],[64,2],[63,8],[61,8],[59,7],[48,2],[49,10],[156,11],[155,12],[130,2],[131,13],[132,14],[128,15],[129,16],[140,17],[141,18],[126,19],[147,20],[142,14],[139,21],[138,22],[137,2],[144,23],[135,23],[134,24],[146,25],[136,26],[133,27],[143,28],[104,2],[100,29],[124,30],[123,31],[125,32],[120,33],[116,34],[122,35],[112,36],[115,37],[106,38],[111,39],[107,40],[109,41],[108,42],[117,2],[105,43],[103,2],[113,43],[118,44],[119,45],[114,46],[127,2],[98,2],[102,2],[99,2],[121,2],[101,47],[110,43],[145,48],[43,49],[93,5],[81,50],[82,51],[80,52],[83,53],[84,54],[85,55],[86,56],[87,57],[88,58],[89,59],[90,60],[91,61],[92,62],[169,63],[170,63],[172,64],[173,65],[174,66],[175,67],[176,68],[177,69],[178,70],[179,71],[180,72],[181,73],[182,73],[183,74],[184,75],[185,76],[186,77],[171,2],[218,2],[187,78],[188,79],[189,80],[219,81],[190,82],[191,83],[192,84],[193,85],[194,86],[195,87],[196,88],[197,89],[198,90],[199,91],[200,92],[201,93],[203,94],[202,95],[204,96],[205,97],[206,98],[207,99],[208,100],[209,101],[210,102],[211,103],[212,104],[213,105],[214,106],[215,107],[216,108],[217,109],[51,110],[50,2],[44,111],[46,112],[45,113],[54,114],[52,115],[53,116],[66,117],[55,118],[42,2],[41,2],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[38,2],[34,2],[35,2],[36,2],[37,2],[1,2],[39,2],[40,2],[95,119],[78,120],[158,121],[149,122],[151,123],[152,124],[150,125],[153,126],[154,127],[148,128],[157,129],[96,130],[79,131],[159,132],[67,133],[97,2],[160,133],[161,133],[162,133],[168,134],[163,133],[164,133],[165,133],[166,133],[167,133]],"exportedModulesMap":[[76,1],[70,2],[74,1],[73,3],[69,1],[68,2],[77,4],[75,3],[71,3],[72,3],[94,5],[47,2],[56,6],[57,7],[60,8],[58,8],[62,8],[65,9],[64,2],[63,8],[61,8],[59,7],[48,2],[49,10],[156,11],[155,12],[130,2],[131,13],[132,14],[128,15],[129,16],[140,17],[141,18],[126,19],[147,20],[142,14],[139,21],[138,22],[137,2],[144,23],[135,23],[134,24],[146,25],[136,26],[133,27],[143,28],[104,2],[100,29],[124,30],[123,31],[125,32],[120,33],[116,34],[122,35],[112,36],[115,37],[106,38],[111,39],[107,40],[109,41],[108,42],[117,2],[105,43],[103,2],[113,43],[118,44],[119,45],[114,46],[127,2],[98,2],[102,2],[99,2],[121,2],[101,47],[110,43],[145,48],[43,49],[93,5],[81,50],[82,51],[80,52],[83,53],[84,54],[85,55],[86,56],[87,57],[88,58],[89,59],[90,60],[91,61],[92,62],[169,63],[170,63],[172,64],[173,65],[174,66],[175,67],[176,68],[177,69],[178,70],[179,71],[180,72],[181,73],[182,73],[183,74],[184,75],[185,76],[186,77],[171,2],[218,2],[187,78],[188,79],[189,80],[219,81],[190,82],[191,83],[192,84],[193,85],[194,86],[195,87],[196,88],[197,89],[198,90],[199,91],[200,92],[201,93],[203,94],[202,95],[204,96],[205,97],[206,98],[207,99],[208,100],[209,101],[210,102],[211,103],[212,104],[213,105],[214,106],[215,107],[216,108],[217,109],[51,110],[50,2],[44,111],[46,112],[45,113],[54,114],[52,115],[53,116],[66,117],[55,118],[42,2],[41,2],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[38,2],[34,2],[35,2],[36,2],[37,2],[1,2],[39,2],[40,2],[95,119],[78,120],[158,121],[149,122],[151,123],[152,124],[150,125],[153,126],[154,127],[148,128],[157,129],[96,130],[79,131],[159,132],[67,133],[97,2],[160,133],[161,133],[162,133],[168,134],[163,133],[164,133],[165,133],[166,133],[167,133]],"semanticDiagnosticsPerFile":[76,70,74,73,69,68,77,75,71,72,94,47,56,57,60,58,62,65,64,63,61,59,48,49,156,155,130,131,132,128,129,140,141,126,147,142,139,138,137,144,135,134,146,136,133,143,104,100,124,123,125,120,116,122,112,115,106,111,107,109,108,117,105,103,113,118,119,114,127,98,102,99,121,101,110,145,43,93,81,82,80,83,84,85,86,87,88,89,90,91,92,169,170,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,171,218,187,188,189,219,190,191,192,193,194,195,196,197,198,199,200,201,203,202,204,205,206,207,208,209,210,211,212,213,214,215,216,217,51,50,44,46,45,54,52,53,66,55,42,41,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,38,34,35,36,37,1,39,40,95,78,158,149,151,152,150,153,154,148,157,96,79,159,67,97,160,161,162,168,163,164,165,166,167]},"version":"4.5.5"}
1
+ {"program":{"fileNames":["../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/typescript/lib/lib.esnext.intl.d.ts","./global/index.d.ts","../../node_modules/tslib/tslib.d.ts","../../node_modules/moment/ts3.1-typings/moment.d.ts","../../node_modules/@types/chart.js/index.d.ts","../../node_modules/chartjs-plugin-datalabels/types/context.d.ts","../../node_modules/chartjs-plugin-datalabels/types/options.d.ts","../../node_modules/chartjs-plugin-datalabels/types/index.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/css-tag.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/reactive-controller.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/reactive-element.d.ts","../../node_modules/@types/trusted-types/lib/index.d.ts","../../node_modules/@types/trusted-types/index.d.ts","../../node_modules/lit/node_modules/lit-html/directive.d.ts","../../node_modules/lit/node_modules/lit-html/lit-html.d.ts","../../node_modules/lit-element/node_modules/@lit/reactive-element/reactive-element.d.ts","../../node_modules/lit-element/node_modules/lit-html/lit-html.d.ts","../../node_modules/lit-element/lit-element.d.ts","../../node_modules/lit/index.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/base.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/custom-element.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/property.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/state.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/event-options.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-all.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-async.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-nodes.d.ts","../../node_modules/lit/node_modules/@lit/reactive-element/decorators/query-assigned-elements.d.ts","../../node_modules/lit/decorators.d.ts","./src/plugins/chartjs-plugin-data-binder.ts","../../node_modules/@ctrl/tinycolor/dist/interfaces.d.ts","../../node_modules/@ctrl/tinycolor/dist/index.d.ts","../../node_modules/@ctrl/tinycolor/dist/css-color-names.d.ts","../../node_modules/@ctrl/tinycolor/dist/readability.d.ts","../../node_modules/@ctrl/tinycolor/dist/to-ms-filter.d.ts","../../node_modules/@ctrl/tinycolor/dist/from-ratio.d.ts","../../node_modules/@ctrl/tinycolor/dist/format-input.d.ts","../../node_modules/@ctrl/tinycolor/dist/random.d.ts","../../node_modules/@ctrl/tinycolor/dist/conversion.d.ts","../../node_modules/@ctrl/tinycolor/dist/public_api.d.ts","./src/config-converter.ts","./src/ox-chart.ts","../../node_modules/@types/lodash/common/common.d.ts","../../node_modules/@types/lodash/common/array.d.ts","../../node_modules/@types/lodash/common/collection.d.ts","../../node_modules/@types/lodash/common/date.d.ts","../../node_modules/@types/lodash/common/function.d.ts","../../node_modules/@types/lodash/common/lang.d.ts","../../node_modules/@types/lodash/common/math.d.ts","../../node_modules/@types/lodash/common/number.d.ts","../../node_modules/@types/lodash/common/object.d.ts","../../node_modules/@types/lodash/common/seq.d.ts","../../node_modules/@types/lodash/common/string.d.ts","../../node_modules/@types/lodash/common/util.d.ts","../../node_modules/@types/lodash/index.d.ts","../../node_modules/@types/lodash/clonedeep.d.ts","../../node_modules/@hatiolab/things-scene/things-scene.d.ts","./src/chartjs.ts","./src/index.ts","./src/scene-chart.d.ts","../../node_modules/@polymer/polymer/lib/utils/mixin.d.ts","../../node_modules/@polymer/polymer/lib/utils/resolve-url.d.ts","../../node_modules/@polymer/polymer/lib/elements/dom-module.d.ts","../../node_modules/@polymer/polymer/lib/utils/style-gather.d.ts","../../node_modules/@polymer/polymer/lib/utils/path.d.ts","../../node_modules/@polymer/polymer/lib/utils/case-map.d.ts","../../node_modules/@polymer/polymer/interfaces.d.ts","../../node_modules/@polymer/polymer/lib/utils/async.d.ts","../../node_modules/@polymer/polymer/lib/mixins/properties-changed.d.ts","../../node_modules/@polymer/polymer/lib/mixins/property-accessors.d.ts","../../node_modules/@polymer/polymer/lib/mixins/template-stamp.d.ts","../../node_modules/@polymer/polymer/lib/mixins/property-effects.d.ts","../../node_modules/@polymer/polymer/lib/utils/telemetry.d.ts","../../node_modules/@polymer/polymer/lib/mixins/properties-mixin.d.ts","../../node_modules/@polymer/polymer/lib/mixins/element-mixin.d.ts","../../node_modules/@polymer/polymer/lib/utils/debounce.d.ts","../../node_modules/@polymer/polymer/lib/utils/gestures.d.ts","../../node_modules/@polymer/polymer/lib/mixins/gesture-event-listeners.d.ts","../../node_modules/@polymer/polymer/lib/mixins/dir-mixin.d.ts","../../node_modules/@polymer/polymer/lib/utils/array-splice.d.ts","../../node_modules/@polymer/polymer/lib/utils/flattened-nodes-observer.d.ts","../../node_modules/@polymer/polymer/lib/utils/flush.d.ts","../../node_modules/@polymer/polymer/lib/legacy/polymer.dom.d.ts","../../node_modules/@polymer/polymer/lib/utils/scope-subtree.d.ts","../../node_modules/@polymer/polymer/lib/mixins/disable-upgrade-mixin.d.ts","../../node_modules/@polymer/polymer/lib/legacy/legacy-element-mixin.d.ts","../../node_modules/@polymer/polymer/lib/legacy/class.d.ts","../../node_modules/@polymer/polymer/lib/legacy/polymer-fn.d.ts","../../node_modules/@polymer/iron-meta/iron-meta.d.ts","../../node_modules/@polymer/polymer/lib/utils/html-tag.d.ts","../../node_modules/@polymer/iron-icon/iron-icon.d.ts","../../node_modules/@polymer/iron-icons/iron-icons.d.ts","../../node_modules/@polymer/iron-a11y-keys-behavior/iron-a11y-keys-behavior.d.ts","../../node_modules/@polymer/iron-behaviors/iron-button-state.d.ts","../../node_modules/@polymer/iron-behaviors/iron-control-state.d.ts","../../node_modules/@polymer/paper-ripple/paper-ripple.d.ts","../../node_modules/@polymer/paper-behaviors/paper-ripple-behavior.d.ts","../../node_modules/@polymer/paper-behaviors/paper-inky-focus-behavior.d.ts","../../node_modules/@polymer/paper-icon-button/paper-icon-button.d.ts","../../node_modules/@polymer/iron-selector/iron-selection.d.ts","../../node_modules/@polymer/iron-selector/iron-selectable.d.ts","../../node_modules/@polymer/iron-selector/iron-multi-selectable.d.ts","../../node_modules/@polymer/iron-menu-behavior/iron-menu-behavior.d.ts","../../node_modules/@polymer/iron-menu-behavior/iron-menubar-behavior.d.ts","../../node_modules/@polymer/iron-resizable-behavior/iron-resizable-behavior.d.ts","../../node_modules/@polymer/paper-tabs/paper-tabs.d.ts","../../node_modules/@polymer/paper-behaviors/paper-button-behavior.d.ts","../../node_modules/@polymer/polymer/polymer-legacy.d.ts","../../node_modules/@polymer/paper-button/paper-button.d.ts","../../node_modules/@polymer/iron-pages/iron-pages.d.ts","./src/editors/property-editor-chartjs-styles.ts","./src/editors/property-editor-chartjs-abstract.ts","./src/editors/property-editor-chartjs-multi-series-abstract.ts","./src/editors/property-editor-chartjs-hbar.ts","./src/editors/property-editor-chartjs-mixed.ts","./src/editors/property-editor-chartjs-pie.ts","./src/editors/property-editor-chartjs-radar.ts","../../node_modules/@operato/property-editor/dist/src/types.d.ts","../../node_modules/lit-html/directive.d.ts","../../node_modules/lit-html/lit-html.d.ts","../../node_modules/@operato/property-editor/dist/src/ox-property-editor.d.ts","../../node_modules/@operato/property-editor/dist/src/index.d.ts","./src/editors/property-editor-chartjs.ts","./src/editors/index.ts","./src/plugins/chart-series-highlight.ts","./src/templates/bar-chart.ts","./src/templates/doughnut-chart.ts","./src/templates/horizontal-bar-chart.ts","./src/templates/line-chart.ts","./src/templates/mixed-chart.ts","./src/templates/pie-chart.ts","./src/templates/polar-area-chart.ts","./src/templates/radar-chart.ts","./src/templates/index.ts","../../node_modules/@types/node/assert.d.ts","../../node_modules/@types/node/assert/strict.d.ts","../../node_modules/@types/node/globals.d.ts","../../node_modules/@types/node/async_hooks.d.ts","../../node_modules/@types/node/buffer.d.ts","../../node_modules/@types/node/child_process.d.ts","../../node_modules/@types/node/cluster.d.ts","../../node_modules/@types/node/console.d.ts","../../node_modules/@types/node/constants.d.ts","../../node_modules/@types/node/crypto.d.ts","../../node_modules/@types/node/dgram.d.ts","../../node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/@types/node/dns.d.ts","../../node_modules/@types/node/dns/promises.d.ts","../../node_modules/@types/node/domain.d.ts","../../node_modules/@types/node/events.d.ts","../../node_modules/@types/node/fs.d.ts","../../node_modules/@types/node/fs/promises.d.ts","../../node_modules/@types/node/http.d.ts","../../node_modules/@types/node/http2.d.ts","../../node_modules/@types/node/https.d.ts","../../node_modules/@types/node/inspector.d.ts","../../node_modules/@types/node/module.d.ts","../../node_modules/@types/node/net.d.ts","../../node_modules/@types/node/os.d.ts","../../node_modules/@types/node/path.d.ts","../../node_modules/@types/node/perf_hooks.d.ts","../../node_modules/@types/node/process.d.ts","../../node_modules/@types/node/punycode.d.ts","../../node_modules/@types/node/querystring.d.ts","../../node_modules/@types/node/readline.d.ts","../../node_modules/@types/node/repl.d.ts","../../node_modules/@types/node/stream.d.ts","../../node_modules/@types/node/stream/promises.d.ts","../../node_modules/@types/node/stream/consumers.d.ts","../../node_modules/@types/node/stream/web.d.ts","../../node_modules/@types/node/string_decoder.d.ts","../../node_modules/@types/node/timers.d.ts","../../node_modules/@types/node/timers/promises.d.ts","../../node_modules/@types/node/tls.d.ts","../../node_modules/@types/node/trace_events.d.ts","../../node_modules/@types/node/tty.d.ts","../../node_modules/@types/node/url.d.ts","../../node_modules/@types/node/util.d.ts","../../node_modules/@types/node/v8.d.ts","../../node_modules/@types/node/vm.d.ts","../../node_modules/@types/node/wasi.d.ts","../../node_modules/@types/node/worker_threads.d.ts","../../node_modules/@types/node/zlib.d.ts","../../node_modules/@types/node/globals.global.d.ts","../../node_modules/@types/node/index.d.ts","./node_modules/@lit/reactive-element/reactive-element.d.ts","./node_modules/@lit/reactive-element/css-tag.d.ts","./node_modules/@lit/reactive-element/reactive-controller.d.ts"],"fileInfos":[{"version":"6adbf5efd0e374ff5f427a4f26a5a413e9734eee5067a0e86da69aea41910b52","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"c4f5f288a2b8dcfb6183e29612ec26b7a049314a6a10b7e6e700a8307077455a","12f4cfe2fe60b810c3174537bc2ddb20c1067b7768643d12cb1266fd183afb75","f97edc4d3b4dd0b32766e9633086497565c37657fb591cc84a35864db4bc2fc5","d5b4a95da4cb2c1d8cf8857d8110ea8e30654ce3b3fb90669dd1e99006af9f40","7abe341c118b8aa3ed2a51d9ef3ada999d223168317c5a977b238e804fab02af","74462c15e232d097b1b9888823cf513a1c5b63f57637a64c3eab6b8a236954ae","fe15b975a20fddd8407bdd885feee2ce04dbc6a7100d89f432cae2ed5fa32d26","6e2c5a9358c2be6791713f778c3af2d3357b8665d881e22f50b3aa861a2a9717","1e5743b25a63fd34ffbae89adcbf248ee17db6ed08d90079ffa93803c3e80d2a","13bb750b495c48fd60d7b5e09f65d4a7b010ab7e09a8943a6d54511e7d184f84","2fcd2d22b1f30555e785105597cd8f57ed50300e213c4f1bbca6ae149f782c38",{"version":"bb4248c7f953233ac52332088fac897d62b82be07244e551d87c5049600b6cf7","affectsGlobalScope":true},"70f04c91d3186b1b10157157887fab664968fc9b88377785a5ee42750c202c6d","f690af1a7043e58fce8c672df5e1d1e27bad7459b81143af991db7c5427a0785","13bb750b495c48fd60d7b5e09f65d4a7b010ab7e09a8943a6d54511e7d184f84","f690af1a7043e58fce8c672df5e1d1e27bad7459b81143af991db7c5427a0785","eba7cf33380cc3a3cf614faf67300e14d0bdff9ea6c5cd6f4b040b1756a48ab1","f07a77a7fb1d49aa2b61cb68bf712a083487acd7130d20223a83de03af0c257d","97c58f6db61d45712d91d2260994817ae2b568bbb37cc280013079b6b5d2232d","ac388c7c7a262213a3700451bc921e382a93fb27c0252c34ccf03540b4ce044b","1da789e534bc558808021dd64abf33a91a68e422bbf28aeec236bd74df640401","fb0107c83e2e0e75b77dacd0c3c6c3ab6844e98dce2a8f858c6f0a57c12136a6","0a478dcb6e6bd8a5d871165659c79cee7b8c3b7a87289118d22e1a04d171e252","a25d1e52291791819032826af5c52987e16ffdb96e8bb69f7f1790f5ab080be6","d660961abada6b5030461f3322ef3a2e1d9fec74167574f8b590a7796cf90a72","707b4eae3d469b2f347d2083037151922f94c370a9456ebd5ac0a4fb7441c7e7","4bcb813ea56182beaaab1e8274524eb9f1449b0d8e79efc4a0399de09e43f816","c784eab1cf838d9d6527bce3d9f2d373145606666b68f7610291a7adf6e6bda9","f0380f581cb015778c0fe51e95b5b7f6dae237280654558469b2486c1572268a","4d140831caa65acda121fe20897aa18f171b8a0098bd72c7dacf3ed302b735db","b1b35200ed3c1c0cbea8c7cb21fee3eedf416886ec1589f49bd3d376a875c929","f3e8ff184a8a5e268dfda688d044315ac17e78ecc6ecc0ae4b66e525a75e7222","df9d5f06a1692717762ca9f368917924fdaccfdfced152804d768eff9baeb352","6340f8e2bb659e4ca974a3704b4c4b10d77b07e6e98f51e1b0ab3165472946a6","255e138c60c1427d3fdb86de7c27f8521604a01b33688642a9f6e6dc0cd2ddd2","cf47ec822609efb55c52bb2afeb40cdd6fda8936410d81db14205278fd90b417","6b70eb3347b223e5cccde1a3356488166923f2ac41381ff38e5b204684f36163","3d032c06d3ebb588d9b8d79f7a6a9ebbf7ab2dfb0ad1565e0ac0e718a370ffe7","f3c41c9d228a5187cf4f91d263300abcc0e6bc8f3da2c347ca49dc3afc0347e3","b6aa29ed75b8eb54ec49f7d16687fb6d0f8d37d5088af2d94f40ad92fa8b555f","067d5f0a15e593034911aa8016d0d690637b5a763568d8143c534b65b344809f",{"version":"8129d6e44ddb0c007eebef506da2a00e3a56841c8a18854fac452083478c2a95","signature":"08f26ce76fd5431fc3f26fa9f1b538919ee12e7273c39b97fbef44453584777a"},"675e702f2032766a91eeadee64f51014c64688525da99dccd8178f0c599f13a8","fe4a2042d087990ebfc7dc0142d5aaf5a152e4baea86b45f283f103ec1e871ea","d70c026dd2eeaa974f430ea229230a1897fdb897dc74659deebe2afd4feeb08f","187119ff4f9553676a884e296089e131e8cc01691c546273b1d0089c3533ce42","c24ad9be9adf28f0927e3d9d9e9cec1c677022356f241ccbbfb97bfe8fb3d1a1","0ec0998e2d085e8ea54266f547976ae152c9dd6cdb9ac4d8a520a230f5ebae84","9364c7566b0be2f7b70ff5285eb34686f83ccb01bda529b82d23b2a844653bfb","00baffbe8a2f2e4875367479489b5d43b5fc1429ecb4a4cc98cfc3009095f52a","ae9930989ed57478eb03b9b80ad3efa7a3eacdfeff0f78ecf7894c4963a64f93","3c92b6dfd43cc1c2485d9eba5ff0b74a19bb8725b692773ef1d66dac48cda4bd","3e59f00ab03c33717b3130066d4debb272da90eeded4935ff0604c2bc25a5cae","6ac6f24aff52e62c3950461aa17eab26e3a156927858e6b654baef0058b4cd1e",{"version":"0714e2046df66c0e93c3330d30dbc0565b3e8cd3ee302cf99e4ede6220e5fec8","affectsGlobalScope":true},"a33ea06913b712c529662bee7fd75959781267cf8a307902cc7761307fec0337","848f18360730573ec986925b80565ca07898a672aacdac858d230c006abf4b4b",{"version":"f8b6b4584ab6510b2d68403f964d36fa41638baad5501e87514ed19ea542f3ba","signature":"272d3d1a056956b22c1646a9fbcbab2d56b3f3870de930c952851a917b198d30"},{"version":"78c6d53cc1eb64fc05f155d23992d58b35b5d70d8fceaa0543192110bb69b574","signature":"cef57eca4ba1ae8c0afde5e6c97a829ee5b5307a9050f8a3b47b03f2f4ae7836"},{"version":"640756dc90943b66a0c339e311f86346dd5d80f50222766cb4488f4ae60f2116","affectsGlobalScope":true},"8ecbfacf281dbd929d3b5f09b4f96bf999a45a959e08501b07117256b1eeb659","968bc5962ea9834b383119f668c4cabd35ba7e4a2c5107fb2d38c8fa66f164be",{"version":"22a05089243a8f0fdfbfbc2d956dcf61872c5c973ecda5320a8f1e3a4dd90bfb","affectsGlobalScope":true},"9bb6e652f67b205e169436f76e1d8fd396bc9971dbec1a558eab3be406343e8c","6cb1ff661eb0cff9177c3b47e82abd0fe3122fc62f2bc0af432a8c4205ff3ec6","d4931bfce5c009c57f86bcd1039b3f0a5c5ef61d26a685f0abf77f20b18fc066","218d40ca9941513cd8a798d81ba7b4d348db943492f7f6db7687a79cd16b5533","46971bf04e56b8de7c9c74bba27b54f5f4a78873b6cbf0682592d0693c2acb25","4bd4c71ed7c85138316133c98926c344916002fd572f52af1889961dad8d73c0","d0e3fc2ed7395634479edf269cc2b3e25d90b05ce08ddda1717282f9f3afecd0","8744338f1b9f91b6ca97ceb3bfb10babf4397ffe3c304b5ae4dc016f7c3fcde3","694291734f077ed109fdabbfee35995f7168b5d1af643bd6404eeabd7036aa01","7a0e19e0790605fc701443298d9ffd1dbf8fc2cd94ddfbe9a05c578a4228e5c0","4012af9177a7bb1715a569cc54565b906e5c087a97067abbcf9f75f7f9a476dc","9be3b21edf891a0ec1d8caa0da81816162f4fa5376a7652e0ec3154df6433a08","311c45b5a2b6585a84306100bb514c919b01ee21de43efb1bb2aa6a98a2753db","e544e87f21a6afb7a4e1196a991fd5d235d6df3b8c04ca6df0bc5f85f3aa4f5b","19910d826b4901606d47b306cd70ace2960eeb2ca2cb5e57acc81b42eedbfbcd","d48721b66317440af7e3257b38e144adf76953419a4a4db1fb60f743eb7c9b92","5b402d6c32c733bf8065b8abc34904fffcfe5b94b0e1b99e63a34f450d87faba","54570339e5e91d8d8380dee2ab4014ffa88cdfd73ff0a20e4ec085d64d81cd78","fc94de52737bc8fb2b1290d6f22b5dfea3e50c8d547625781fa6a2ccd35c7242","c1b9873444fa0d27f70b65ef00c80d0e0a9e9bf277ef6b4522572e99c9c48ee9","a71d8fe039f1b2c852618ef0b6971561ca4626fb8b30abbf6d238441d47aa6a4","baebdb5ba48a482240d2ecf8497a432aba8ca37d8930cc618c4d3b5d12ceefae","9ce316b892b5134f715b4f7afd71c06384cf9af9a69009cc9566b325a095e592","7ebd9f1b92a89f2c5998bf3e82e7af635ff5de2e3868d918f1f172e89511fae0","1d652f66027b28891fbde5c4947757333f9af4609dfa3e4be84c392c2ce0edc2",{"version":"c34297a26fdf8d47f98aeb755e0e6a6fbd935d0e347979f63d4cb9a5abf14140","affectsGlobalScope":true},"fef62bed109b31722160fabb598f61308506f9b7f40e60b3746ae01e3a3dc18b",{"version":"9c045fbf5d46f8f70514dfdf51079a73da359a904870a7cfef60232487403997","affectsGlobalScope":true},"579239e0379f0cc10b4ffdc2a79a7018b86dbea27a1e949bf871f540955714a1","d0e548b52ce2a55820b470ad9c2d66e2855fb3e9dea936fc29b4d4a63bb8fa54","15a95894e214753c1e2dc638670ac7c5a6d05d952b19ea3745767d239fe00789","5d82404561003f51fed07b961d061f702dfd379ef5f0f7927744a4fff21fbf64",{"version":"9ee76fedebbb3023e9d3b38179f56763ee845a1c6c5580ca0b0b8e52e3e96ebc","affectsGlobalScope":true},"449ee26fa4373d19eb10872864993dd1e763bf8db1d696c816c9603db45e28b1","e7b3f30c66cd074439e9d283d9b472b3ea97da76a40f536b341e785303ddde44",{"version":"c9077f7c4340c3c3b32d56907641903c4df43c045d0dc98de6ebae6825701843","affectsGlobalScope":true},"60daaa6b5dfacd7813a9cf22e1ca5860217f36e70dfcf2fc28c049a7305076e1","b203234dcc09962eadae1146518df97f0768783913616ece5fd1f7f13d6f1361","74a696e2d8acb105f173f536ede57df87f10f1811879c6537cd40718156e4809","bfa3213963e67340227e92bbfb9ae68bc9945e505818e9fd3fb1b207bc8ec89a","2ecd9a09f557844e37da96875c572c1c45b476947344b40fb316a2240a7f703b","c9c3ed6c587d5cf5ed732adefde93b7f5db39cef5c1d169bf14e8b517c2482c8",{"version":"fe5414fe835d9be4ec29cbdc73956ec212efe6050b8f7371fbc8f43fe7692457","affectsGlobalScope":true},"f7446f3953d26b9f9d0c6f448963b9a2057f331891065f9c6a0c54d5293719d8","6f35136bcc0672528bb8df0eaaf3beb3964eb728ec39960e726165e8f230bcb5",{"version":"827229c69375f5583db874aa5bc767d0a3bb27f594bf1db860af268ac5065fd0","affectsGlobalScope":true},{"version":"773e7cbddf345a0e6841bb1f0bb47c92c4a08925b0a8753b71bd8d3512510f70","affectsGlobalScope":true},{"version":"2877106bbb4dec752146b94f0ae57f1d956de16850e601a3bb6c6c3cb53805c4","signature":"0a71b9863979684de9044f80bb25898f96faa6e632c07e815ba325e0dfbc89d5"},{"version":"a9ef3628522a0c1ab5efc5f17e6432d923198d76fec2d9c1ea35c880426ecf11","signature":"414167aa7e5edb74ffb380e96a721059c8d16d16f3b858e1a2760a578df5b907"},{"version":"561e1b05ccff712c9be470d82c27ad116a39a156ca9d3605dfbfc121951cd967","signature":"4eb5df402ebdf443cd79414deb23521a7a8aefd3643c3f4be1536037c6e9894c"},{"version":"ddc4b3ead1dc3578eea33fd54b81d65e2b721d8d770124e88b43f7675e9fdbe6","signature":"2e1ff43fc3bda90d14c6b43ee0ebc679fbde32be6539f88c473154760e22b408"},{"version":"c66bec54049ca6d4e2df27faf786d199e4762d0ed035322a491be9e924967ffd","signature":"a951b7c4e4aa859bb3d3ce25fb64c6d411fc7ca076bfd398e0839ef0044f78cb"},{"version":"51dae9fc9636fccc4aacc8b4b72795f6918e623fca263d1c82540082d0785eba","signature":"17a3c4aeab59efbfc9d2f35b314759c931bc1784267fd5eda4245a5025ac7b38"},{"version":"4c681baf6b67b4e089b855e76c2e0212713ac07b7a721a1de46855760c6f39fb","signature":"8e5dae530b293e30dc941ac00bd03e3764373145cf5e3b554de505bdc3799036"},"89ec2f58a1b63a71b5129f7a827a5b2b744404959eb4ab3ad72b85a3387acd06","70f04c91d3186b1b10157157887fab664968fc9b88377785a5ee42750c202c6d","06e20da1bc94df355f22ac7a9533c2488816ec4cb9134d9b160a263629a07072","661d3a80e2683e213ccc991ed2912648342b0fb1bc6b71e4e6957c403a4a26dd","4b19ef22586a488de7412e25b5490ace2562e86cfdb3e1c9a22cad11ecb9fd5e",{"version":"e380f8dbd024ee705979e515888a481d30e52692589284b3edda0b54518647cb","signature":"4475735bb5c9b72ee270b6eaa9fde9d8837d0f951800df838120d2e9bb579a1e"},"1cb49d01d422b9bbe5734328ccceb27c7ca130bc7660f1042a5db6dbdc64e97c","8754a08b0c69d5720707a9f20909559880b7bb8d06dfafbeb7964f8e392a871c","df2733312547d416cd8523da5e64934ad33e71baac02534729a06453eb0624f4","bc35786afa371e020ec7f6b3792fa42bab744bd96ba05bd7c3145f461ab52284","299c2936ac346ab6512648503b862cfb985d0591ca25b9d27abb34204837b9be","48dccd70510e22710f3879098708d7d23157e2cfeba32e2dfa34fc15b6fc1fe5","c7cdcd153caf32b0832f13453d76d509fa2546d7df68e697e57633b949fb0709","da6f9dc85425578c55ec83b2c7ca53ca1789059899ad88711bc1048f04d3b431","ae6b69bba762cca93171c9367be7c5e0440aaf8bcd920b857c36438628acfb89","b9fe5d68a5557ff37ec9757906565169e3a9e9cb295ca0733fe9f443ce611117","52faf5fd2a568908e643283c2a04885b224bca85a9024239e00789e5eb50b045","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","5533392c50c51b1a5c32b89f13145db929c574ef1c5949cf67a074a05ea107d9","b287b810b5035d5685f1df6e1e418f1ca452a3ed4f59fd5cc081dbf2045f0d9b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"902cd98bf46e95caf4118a0733fb801e9e90eec3edaed6abdad77124afec9ca2","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","cd4854d38f4eb5592afd98ab95ca17389a7dfe38013d9079e802d739bdbcc939","94eed4cc2f5f658d5e229ff1ccd38860bddf4233e347bf78edd2154dee1f2b99",{"version":"bd1a08e30569b0fb2f0b21035eb9b039871f68faa9b98accf847e9c878c5e0a9","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"a7971f9fb2a32ec7788ec6cda9d7a33c02023dfe9a62db2030ad1359649d8050","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4","d88ecca73348e7c337541c4b8b60a50aca5e87384f6b8a422fc6603c637e4c21","badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1cdb8f094b969dcc183745dc88404e2d8fcf2a858c6e7cc2441011476573238e"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"esModuleInterop":false,"experimentalDecorators":true,"importHelpers":true,"inlineSources":true,"module":99,"noEmitOnError":true,"outDir":"./dist","rootDir":"./src","sourceMap":true,"strict":true,"target":5},"fileIdsList":[[70,217],[217],[71,217],[70,71,72,73,74,75,76,77,78,217],[94,217],[157,160,217],[57,159,217],[122,132,217],[122,217],[122,125,127,128,129,217],[129,217],[122,132,140,141,217],[142,217],[125,127,217],[125,127,129,140,144,217],[140,217],[105,122,139,217],[133,134,136,217],[122,135,217],[125,127,146,147,217],[125,127,129,137,217],[122,125,127,129,132,217],[122,125,127,129,143,144,217],[101,217],[106,125,217],[100,104,107,108,109,110,111,112,113,114,115,116,117,118,122,123,124,217],[106,126,217],[115,120,121,217],[100,108,109,217],[100,108,109,110,111,113,114,217],[100,101,102,103,106,108,109,110,111,113,217],[100,116,217],[100,107,217],[100,108,112,217],[100,105,108,217],[100,104,105,106,108,109,110,217],[100,106,217],[106,217],[107,119,217],[115,217],[106,107,115,217],[101,102,217],[125,127,129,217],[42,217],[82,84,85,86,87,88,89,90,91,92,93,94,217],[82,83,85,86,87,88,89,90,91,92,93,94,217],[83,84,85,86,87,88,89,90,91,92,93,94,217],[82,83,84,86,87,88,89,90,91,92,93,94,217],[82,83,84,85,87,88,89,90,91,92,93,94,217],[82,83,84,85,86,88,89,90,91,92,93,94,217],[82,83,84,85,86,87,89,90,91,92,93,94,217],[82,83,84,85,86,87,88,90,91,92,93,94,217],[82,83,84,85,86,87,88,89,91,92,93,94,217],[82,83,84,85,86,87,88,89,90,92,93,94,217],[82,83,84,85,86,87,88,89,90,91,93,94,217],[82,83,84,85,86,87,88,89,90,91,92,94,217],[82,83,84,85,86,87,88,89,90,91,92,93,217],[174,217],[177,217],[178,183,217],[179,189,190,197,206,216,217],[179,180,189,197,217],[181,217],[182,183,190,198,217],[183,206,213,217],[184,186,189,197,217],[185,217],[186,187,217],[188,189,217],[189,217],[189,190,191,206,216,217],[189,190,191,206,217],[192,197,206,216,217],[189,190,192,193,197,206,213,216,217],[192,194,206,213,216,217],[174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223],[189,195,217],[196,216,217],[186,189,197,206,217],[198,217],[199,217],[177,200,217],[201,215,217,221],[202,217],[203,217],[189,204,217],[204,205,217,219],[189,206,207,208,217],[206,208,217],[206,207,217],[209,217],[210,217],[189,211,212,217],[211,212,217],[183,197,213,217],[214,217],[197,215,217],[178,192,203,216,217],[183,217],[206,217,218],[217,219],[217,220],[178,183,189,191,200,206,216,217,219,221],[206,217,222],[50,217],[43,217],[43,44,45,217],[44,217],[49,53,217],[47,48,217],[51,52,217],[159,217],[51,158,217],[59,60,61,62,63,64,65,66,67,217],[49,53,56,217],[49,217],[58,217],[49,58,217],[49,58,66,217],[53,217],[41,81,95,96,217],[41,79,217],[41,162,217],[41,57,68,79,96,150,217],[41,57,68,130,138,145,148,152,217],[41,57,68,96,130,138,145,148,149,152,217],[41,57,68,96,130,138,145,148,149,151,217],[41,57,68,96,151,217],[41,57,68,96,130,138,145,148,152,217],[41,57,217],[41,57,68,96,130,131,138,145,153,154,155,156,161,217],[41,97,217],[41,43,46,57,68,69,80,217],[41,43,217],[41,217],[41,165,166,167,168,169,170,171,172,217],[159,217,225],[217,226,227],[56,159,217,225],[81,96],[57,79,96],[57,130,138,145,148,152],[57,96,130,138,145,148,149,152],[57,96,130,138,145,148,149,151],[57,96,151],[57,96,130,138,145,148,152],[57],[57,96,130,131,138,145,153,154,155,156,161],[97],[46,57]],"referencedMap":[[78,1],[72,2],[76,1],[75,3],[71,1],[70,2],[79,4],[77,3],[73,3],[74,3],[96,5],[161,6],[160,7],[157,2],[132,2],[133,8],[134,9],[130,10],[131,11],[142,12],[143,13],[128,14],[149,15],[144,9],[141,16],[140,17],[139,2],[146,18],[137,18],[136,19],[148,20],[138,21],[135,22],[145,23],[106,2],[102,24],[126,25],[125,26],[127,27],[122,28],[118,29],[124,30],[114,31],[117,32],[108,33],[113,34],[109,35],[111,36],[110,37],[119,2],[107,38],[105,2],[115,38],[120,39],[121,40],[116,41],[129,2],[100,2],[104,2],[101,2],[123,2],[103,42],[112,38],[147,43],[43,44],[95,5],[83,45],[84,46],[82,47],[85,48],[86,49],[87,50],[88,51],[89,52],[90,53],[91,54],[92,55],[93,56],[94,57],[174,58],[175,58],[177,59],[178,60],[179,61],[180,62],[181,63],[182,64],[183,65],[184,66],[185,67],[186,68],[187,68],[188,69],[189,70],[190,71],[191,72],[176,2],[223,2],[192,73],[193,74],[194,75],[224,76],[195,77],[196,78],[197,79],[198,80],[199,81],[200,82],[201,83],[202,84],[203,85],[204,86],[205,87],[206,88],[208,89],[207,90],[209,91],[210,92],[211,93],[212,94],[213,95],[214,96],[215,97],[216,98],[217,99],[218,100],[219,101],[220,102],[221,103],[222,104],[51,105],[50,2],[44,106],[46,107],[45,108],[56,109],[54,110],[55,111],[158,112],[159,113],[68,114],[57,115],[47,2],[58,116],[59,117],[62,118],[60,118],[64,118],[67,119],[66,2],[65,118],[63,118],[61,117],[48,2],[49,110],[52,120],[53,111],[42,2],[41,2],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[38,2],[34,2],[35,2],[36,2],[37,2],[1,2],[39,2],[40,2],[97,121],[80,122],[163,123],[151,124],[153,125],[154,126],[152,127],[155,128],[156,129],[150,130],[162,131],[98,132],[81,133],[164,134],[69,135],[99,2],[165,135],[166,135],[167,135],[173,136],[168,135],[169,135],[170,135],[171,135],[172,135]],"exportedModulesMap":[[78,1],[72,2],[76,1],[75,3],[71,1],[70,2],[79,4],[77,3],[73,3],[74,3],[96,5],[161,6],[160,7],[157,2],[132,2],[133,8],[134,9],[130,10],[131,11],[142,12],[143,13],[128,14],[149,15],[144,9],[141,16],[140,17],[139,2],[146,18],[137,18],[136,19],[148,20],[138,21],[135,22],[145,23],[106,2],[102,24],[126,25],[125,26],[127,27],[122,28],[118,29],[124,30],[114,31],[117,32],[108,33],[113,34],[109,35],[111,36],[110,37],[119,2],[107,38],[105,2],[115,38],[120,39],[121,40],[116,41],[129,2],[100,2],[104,2],[101,2],[123,2],[103,42],[112,38],[147,43],[43,44],[95,5],[83,45],[84,46],[82,47],[85,48],[86,49],[87,50],[88,51],[89,52],[90,53],[91,54],[92,55],[93,56],[94,57],[174,58],[175,58],[177,59],[178,60],[179,61],[180,62],[181,63],[182,64],[183,65],[184,66],[185,67],[186,68],[187,68],[188,69],[189,70],[190,71],[191,72],[176,2],[223,2],[192,73],[193,74],[194,75],[224,76],[195,77],[196,78],[197,79],[198,80],[199,81],[200,82],[201,83],[202,84],[203,85],[204,86],[205,87],[206,88],[208,89],[207,90],[209,91],[210,92],[211,93],[212,94],[213,95],[214,96],[215,97],[216,98],[217,99],[218,100],[219,101],[220,102],[221,103],[222,104],[51,105],[50,2],[44,106],[46,107],[45,108],[56,137],[54,138],[55,111],[158,112],[159,113],[68,114],[57,139],[47,2],[58,116],[59,117],[62,118],[60,118],[64,118],[67,119],[66,2],[65,118],[63,118],[61,117],[48,2],[49,138],[52,120],[53,111],[42,2],[41,2],[8,2],[10,2],[9,2],[2,2],[11,2],[12,2],[13,2],[14,2],[15,2],[16,2],[17,2],[18,2],[3,2],[4,2],[22,2],[19,2],[20,2],[21,2],[23,2],[24,2],[25,2],[5,2],[26,2],[27,2],[28,2],[29,2],[6,2],[30,2],[31,2],[32,2],[33,2],[7,2],[38,2],[34,2],[35,2],[36,2],[37,2],[1,2],[39,2],[40,2],[97,140],[80,122],[163,123],[151,141],[153,142],[154,143],[152,144],[155,145],[156,146],[150,147],[162,148],[98,149],[81,150],[164,134],[69,135],[99,2],[165,135],[166,135],[167,135],[173,136],[168,135],[169,135],[170,135],[171,135],[172,135]],"semanticDiagnosticsPerFile":[78,72,76,75,71,70,79,77,73,74,96,161,160,157,132,133,134,130,131,142,143,128,149,144,141,140,139,146,137,136,148,138,135,145,106,102,126,125,127,122,118,124,114,117,108,113,109,111,110,119,107,105,115,120,121,116,129,100,104,101,123,103,112,147,43,95,83,84,82,85,86,87,88,89,90,91,92,93,94,174,175,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,176,223,192,193,194,224,195,196,197,198,199,200,201,202,203,204,205,206,208,207,209,210,211,212,213,214,215,216,217,218,219,220,221,222,51,50,44,46,45,56,54,55,158,159,68,57,47,58,59,62,60,64,67,66,65,63,61,48,49,52,53,42,41,8,10,9,2,11,12,13,14,15,16,17,18,3,4,22,19,20,21,23,24,25,5,26,27,28,29,6,30,31,32,33,7,38,34,35,36,37,1,39,40,97,80,163,151,153,154,152,155,156,150,162,98,81,164,69,99,165,166,167,173,168,169,170,171,172]},"version":"4.5.2"}