@operato/scene-chartjs 7.0.1 → 7.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +18 -0
- package/dist/config-converter.js +2 -5
- package/dist/config-converter.js.map +1 -1
- package/dist/editors/index.d.ts +1 -1
- package/dist/editors/index.js +2 -2
- package/dist/editors/index.js.map +1 -1
- package/dist/ox-chart.js +1 -1
- package/dist/ox-chart.js.map +1 -1
- package/package.json +4 -2
- package/src/config-converter.ts +2 -6
- package/src/editors/index.ts +2 -2
- package/src/ox-chart.ts +1 -1
- package/translations/en.json +2 -1
- package/translations/ja.json +2 -1
- package/translations/ko.json +2 -1
- package/translations/ms.json +2 -1
- package/translations/zh.json +2 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/editors/property-editor-chartjs-abstract.d.ts +0 -50
- package/dist/editors/property-editor-chartjs-abstract.js +0 -273
- package/dist/editors/property-editor-chartjs-abstract.js.map +0 -1
- package/dist/editors/property-editor-chartjs-hbar.d.ts +0 -10
- package/dist/editors/property-editor-chartjs-hbar.js +0 -154
- package/dist/editors/property-editor-chartjs-hbar.js.map +0 -1
- package/dist/editors/property-editor-chartjs-mixed.d.ts +0 -17
- package/dist/editors/property-editor-chartjs-mixed.js +0 -186
- package/dist/editors/property-editor-chartjs-mixed.js.map +0 -1
- package/dist/editors/property-editor-chartjs-multi-series-abstract.d.ts +0 -29
- package/dist/editors/property-editor-chartjs-multi-series-abstract.js +0 -363
- package/dist/editors/property-editor-chartjs-multi-series-abstract.js.map +0 -1
- package/dist/editors/property-editor-chartjs-pie.d.ts +0 -18
- package/dist/editors/property-editor-chartjs-pie.js +0 -74
- package/dist/editors/property-editor-chartjs-pie.js.map +0 -1
- package/dist/editors/property-editor-chartjs-radar.d.ts +0 -8
- package/dist/editors/property-editor-chartjs-radar.js +0 -36
- package/dist/editors/property-editor-chartjs-radar.js.map +0 -1
- package/dist/editors/property-editor-chartjs-styles.d.ts +0 -1
- package/dist/editors/property-editor-chartjs-styles.js +0 -167
- package/dist/editors/property-editor-chartjs-styles.js.map +0 -1
- package/dist/editors/property-editor-chartjs.d.ts +0 -10
- package/dist/editors/property-editor-chartjs.js +0 -79
- package/dist/editors/property-editor-chartjs.js.map +0 -1
- package/src/editors/property-editor-chartjs-abstract.ts +0 -324
- package/src/editors/property-editor-chartjs-hbar.ts +0 -157
- package/src/editors/property-editor-chartjs-mixed.ts +0 -199
- package/src/editors/property-editor-chartjs-multi-series-abstract.ts +0 -382
- package/src/editors/property-editor-chartjs-pie.ts +0 -86
- package/src/editors/property-editor-chartjs-radar.ts +0 -39
- package/src/editors/property-editor-chartjs-styles.ts +0 -167
- package/src/editors/property-editor-chartjs.ts +0 -79
@@ -1 +0,0 @@
|
|
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,4BAA4B,CAAA;AACnC,OAAO,0BAA0B,CAAA;AAEjC,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,MAAqB,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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,GAAG,MAAM,CAAA;IACjD,CAAC;;AAhXM,+CAAM,GAAG;IACd,GAAG,6BAA6B,CAAC,MAAM;IACvC,GAAG,CAAA;;;;;;;;KAQF;CACF,CAAA;eAZkB,wCAAwC;AAuC3C;IAAf,KAAK,CAAC,OAAO,CAAC;sEAAmB;AACH;IAA9B,KAAK,CAAC,sBAAsB,CAAC;kFAA0B;AACxB;IAA/B,KAAK,CAAC,uBAAuB,CAAC;mFAA2B","sourcesContent":["import '@material/web/icon/icon.js'\nimport '@operato/i18n/ox-i18n.js'\n\nimport { css, html } from 'lit'\nimport { query } from 'lit/decorators.js'\n\nimport { Properties } from '@hatiolab/things-scene'\nimport { MdIcon } from '@material/web/icon/icon.js'\n\nimport PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract'\n\nexport default class PropertyEditorChartJSMultiSeriesAbstract extends PropertyEditorChartJSAbstract {\n static styles = [\n ...PropertyEditorChartJSAbstract.styles,\n css`\n md-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!: MdIcon\n @query('#tab-nav-right-button') tabNavRightButton!: MdIcon\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\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> <ox-i18n msgid=\"label.multi-axis\">Multi Axis</ox-i18n> </label>\n\n <legend><ox-i18n msgid=\"label.series\">Series</ox-i18n></legend>\n\n ${this.multiSeriesTabTemplate()}\n\n <legend><ox-i18n msgid=\"label.x-axes\">X Axes</ox-i18n></legend>\n\n <label> <ox-i18n msgid=\"label.data-key\">Data Key</ox-i18n> </label>\n <input type=\"text\" value-key=\"labelDataKey\" .value=${this.labelDataKey} />\n\n <label> <ox-i18n msgid=\"label.title\">Title</ox-i18n> </label>\n <input type=\"text\" value-key=\"xAxes0.axisTitle\" .value=${this.xAxes0.axisTitle || ''} />\n\n <label> <ox-i18n msgid=\"label.thickness\">Thickness</ox-i18n> </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> <ox-i18n msgid=\"label.grid-line\">Grid Line</ox-i18n> </label>\n\n <input type=\"checkbox\" value-key=\"xAxes0.ticks.display\" .checked=${this.xAxes0.ticks.display} />\n <label> <ox-i18n msgid=\"label.display-tick\">Display Tick</ox-i18n> </label>\n\n <legend><ox-i18n msgid=\"label.y-axes\">Y Axes</ox-i18n></legend>\n\n <label> <ox-i18n msgid=\"label.title\">Title</ox-i18n> </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> <ox-i18n msgid=\"label.axis-min-auto\">Min Auto</ox-i18n> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes0.ticks.autoMax\" .checked=${this.yAxes0.ticks.autoMax} />\n <label> <ox-i18n msgid=\"label.axis-max-auto\">Max Auto</ox-i18n> </label>\n\n ${!this.yAxes0.ticks.autoMin\n ? html`\n <label> <ox-i18n msgid=\"label.axis-min\">Min</ox-i18n> </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> <ox-i18n msgid=\"label.axis-max\">Max</ox-i18n> </label>\n <input type=\"number\" value-key=\"yAxes0.ticks.max\" .value=${this.yAxes0.ticks.max} />\n `\n : html``}\n\n <label> <ox-i18n msgid=\"label.axis-step-size\">StepSize</ox-i18n> </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> <ox-i18n msgid=\"label.grid-line\">Grid Line</ox-i18n> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes0.ticks.display\" .checked=${this.yAxes0.ticks.display} />\n <label> <ox-i18n msgid=\"label.display-tick\">Display Tick</ox-i18n> </label>\n\n ${this.value.options.multiAxis\n ? html`\n <legend><ox-i18n msgid=\"label.y-2nd-axes\">Y 2nd Axes</ox-i18n></legend>\n\n <label> <ox-i18n msgid=\"label.title\">Title</ox-i18n> </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> <ox-i18n msgid=\"label.axis-min-auto\">Min Auto</ox-i18n> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes1.ticks.autoMax\" .checked=${this.yAxes1.ticks.autoMax} />\n <label> <ox-i18n msgid=\"label.axis-max-auto\">Max Auto</ox-i18n> </label>\n\n ${!this.yAxes1.ticks.autoMin\n ? html`\n <label> <ox-i18n msgid=\"label.axis-min\">Min</ox-i18n> </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> <ox-i18n msgid=\"label.axis-max\">Max</ox-i18n> </label>\n <input type=\"number\" value-key=\"yAxes1.ticks.max\" .value=${this.yAxes1.ticks.max} />\n `\n : html``}\n\n <label> <ox-i18n msgid=\"label.axis-step-size\">StepSize</ox-i18n> </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> <ox-i18n msgid=\"label.grid-line\">Grid Line</ox-i18n> </label>\n\n <input type=\"checkbox\" value-key=\"yAxes1.ticks.display\" .checked=${this.yAxes1.ticks.display} />\n <label> <ox-i18n msgid=\"label.display-tick\">Display Tick</ox-i18n> </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 <md-icon\n id=\"tab-nav-left-button\"\n @tap=${(e: Event) => {\n this._onTabScrollNavLeft(e)\n }}\n disabled\n >chevron_left</md-icon\n >\n <div\n id=\"tabs\"\n @change=${(e: Event) => {\n this.currentSeriesIndex = (e.target as any).activeTabIndex\n }}\n active-tab-index=${this.currentSeriesIndex}\n fit-container\n >\n ${this.datasets.map(\n (dataset: any, index: number) => html`\n <div\n data-series=${index + 1}\n data-tab-index=${index}\n tab\n ?selected=${index == this.currentSeriesIndex}\n @click=${(e: Event) => {\n const target = e.target as HTMLDivElement\n this.currentSeriesIndex = Number(target.getAttribute('data-tab-index'))\n }}\n >\n ${index + 1}\n ${!this.datasets || (this.datasets.length != 1 && this.currentSeriesIndex == index)\n ? html` <md-icon @tap=\"${(e: Event) => this.onTapRemoveCurrentTab(e)}\"> close </md-icon> `\n : html``}\n </div>\n `\n )}\n </div>\n <md-icon\n id=\"tab-nav-right-button\"\n @click=${(e: Event) => {\n this._onTabScrollNavRight(e)\n }}\n disabled\n >chevron_right</md-icon\n >\n </div>\n <div id=\"add-series-button-container\">\n <md-icon id=\"add-series-button\" @tap=${(e: Event) => this.onTapAddTab(e)}>add</md-icon>\n </div>\n\n <div class=\"tab-content\">\n <label> <ox-i18n msgid=\"label.data-key\">Data Key</ox-i18n> </label>\n <input type=\"text\" value-key=\"dataKey\" .value=${this.dataKey} />\n\n ${this.value.type == 'bar'\n ? html`\n <label> <ox-i18n msgid=\"label.type\">type</ox-i18n> </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> <ox-i18n msgid=\"label.label\">label</ox-i18n> </label>\n <input type=\"text\" value-key=\"series.label\" .value=${this.series.label} />\n\n ${this.series.type == 'line'\n ? html`\n <label> <ox-i18n msgid=\"label.line-tension\">line tension</ox-i18n> </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> <ox-i18n msgid=\"label.border-width\">border width</ox-i18n> </label>\n <input type=\"number\" value-key=\"series.borderWidth\" .value=${this.series.borderWidth} />\n `\n : html``}\n\n <label> <ox-i18n msgid=\"label.color\">color</ox-i18n> </label>\n <ox-input-color value-key=\"color\" .value=${this.color}></ox-input-color>\n\n ${this.series.type == 'line'\n ? html`\n <label> <ox-i18n msgid=\"label.point-shape\">point shape</ox-i18n> </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> <ox-i18n msgid=\"label.point-size\">point size</ox-i18n> </label>\n <input type=\"number\" value-key=\"series.pointRadius\" .value=${this.series.pointRadius} />\n `\n : html``} <label> <ox-i18n msgid=\"label.stack-group\">Stack group</ox-i18n> </label>\n <input type=\"text\" value-key=\"series.stack\" .value=${this.series.stack || ''} /> ${this.series.type == 'line'\n ? html`\n <input type=\"checkbox\" value-key=\"series.fill\" .checked=${this.series.fill} />\n <label> <ox-i18n msgid=\"label.fill\">fill</ox-i18n> </label>\n `\n : html``}\n ${this.multiAxis\n ? html`\n <label> <ox-i18n msgid=\"label.target-axis\">target axis</ox-i18n> </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 </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.setAttribute('disabled', '')\n this.tabNavRightButton.setAttribute('disabled', '')\n }\n // left-end\n else if (this.tabContainer.scrollLeft == 0) {\n this.tabNavLeftButton.setAttribute('disabled', '')\n this.tabNavRightButton.removeAttribute('disabled')\n }\n // right-end\n else if (this.tabContainer.scrollLeft + this.tabContainer.clientWidth >= this.tabContainer.scrollWidth) {\n this.tabNavLeftButton.removeAttribute('disabled')\n this.tabNavRightButton.setAttribute('disabled', '')\n } else {\n this.tabNavLeftButton.removeAttribute('disabled')\n this.tabNavRightButton.removeAttribute('disabled')\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,18 +0,0 @@
|
|
1
|
-
import '@operato/i18n/ox-i18n.js';
|
2
|
-
import { Properties } from '@hatiolab/things-scene';
|
3
|
-
import PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract';
|
4
|
-
export default class PropertyEditorChartJSPie extends PropertyEditorChartJSAbstract {
|
5
|
-
static styles: import("lit").CSSResult[];
|
6
|
-
constructor();
|
7
|
-
get valueFormat(): any;
|
8
|
-
set valueFormat(valueFormat: any);
|
9
|
-
get valuePrefix(): any;
|
10
|
-
set valuePrefix(valuePrefix: any);
|
11
|
-
get valueSuffix(): any;
|
12
|
-
set valueSuffix(valueSuffix: any);
|
13
|
-
get color(): any;
|
14
|
-
set color(color: any);
|
15
|
-
get displayValue(): any;
|
16
|
-
set displayValue(displayValue: any);
|
17
|
-
editorTemplate(props: Properties): import("lit-html").TemplateResult<1>;
|
18
|
-
}
|
@@ -1,74 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import '@operato/i18n/ox-i18n.js';
|
3
|
-
import PropertyEditorChartJSAbstract from './property-editor-chartjs-abstract';
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
5
|
-
import { html } from 'lit';
|
6
|
-
let PropertyEditorChartJSPie = class PropertyEditorChartJSPie extends PropertyEditorChartJSAbstract {
|
7
|
-
constructor() {
|
8
|
-
super();
|
9
|
-
this.value = {
|
10
|
-
options: {
|
11
|
-
legend: {}
|
12
|
-
},
|
13
|
-
data: {
|
14
|
-
datasets: []
|
15
|
-
}
|
16
|
-
};
|
17
|
-
this.currentSeriesIndex = 0;
|
18
|
-
}
|
19
|
-
get valueFormat() {
|
20
|
-
return this.series.valueFormat;
|
21
|
-
}
|
22
|
-
set valueFormat(valueFormat) {
|
23
|
-
this.series.valueFormat = valueFormat;
|
24
|
-
}
|
25
|
-
get valuePrefix() {
|
26
|
-
return this.series.valuePrefix;
|
27
|
-
}
|
28
|
-
set valuePrefix(valuePrefix) {
|
29
|
-
this.series.valuePrefix = valuePrefix;
|
30
|
-
}
|
31
|
-
get valueSuffix() {
|
32
|
-
return this.series.valueSuffix;
|
33
|
-
}
|
34
|
-
set valueSuffix(valueSuffix) {
|
35
|
-
this.series.valueSuffix = valueSuffix;
|
36
|
-
}
|
37
|
-
get color() {
|
38
|
-
return this.series.color || this.series.backgroundColor;
|
39
|
-
}
|
40
|
-
set color(color) {
|
41
|
-
this.series.color = color;
|
42
|
-
delete this.series.backgroundColor;
|
43
|
-
}
|
44
|
-
get displayValue() {
|
45
|
-
return this.series.displayValue;
|
46
|
-
}
|
47
|
-
set displayValue(displayValue) {
|
48
|
-
this.series.displayValue = displayValue;
|
49
|
-
}
|
50
|
-
editorTemplate(props) {
|
51
|
-
return html `
|
52
|
-
<legend><ox-i18n msgid="label.series">Series</ox-i18n></legend>
|
53
|
-
|
54
|
-
<label> <ox-i18n msgid="label.data-key">Data Key</ox-i18n> </label>
|
55
|
-
<input type="text" value-key="dataKey" .value=${this.series.dataKey} />
|
56
|
-
|
57
|
-
<label> <ox-i18n msgid="label.color">color</ox-i18n> </label>
|
58
|
-
<ox-input-multiple-colors value-key="color" .value=${this.color}></ox-input-multiple-colors>
|
59
|
-
|
60
|
-
${this.displayValueTemplate()}
|
61
|
-
|
62
|
-
<legend><ox-i18n msgid="label.axes">Axes</ox-i18n></legend>
|
63
|
-
|
64
|
-
<label> <ox-i18n msgid="label.data-key">Data Key</ox-i18n> </label>
|
65
|
-
<input type="text" value-key="labelDataKey" .value=${this.labelDataKey} />
|
66
|
-
`;
|
67
|
-
}
|
68
|
-
};
|
69
|
-
PropertyEditorChartJSPie.styles = PropertyEditorChartJSAbstract.styles;
|
70
|
-
PropertyEditorChartJSPie = __decorate([
|
71
|
-
customElement('property-editor-chartjs-pie')
|
72
|
-
], PropertyEditorChartJSPie);
|
73
|
-
export default PropertyEditorChartJSPie;
|
74
|
-
//# sourceMappingURL=property-editor-chartjs-pie.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"property-editor-chartjs-pie.js","sourceRoot":"","sources":["../../src/editors/property-editor-chartjs-pie.ts"],"names":[],"mappings":";AAAA,OAAO,0BAA0B,CAAA;AAGjC,OAAO,6BAA6B,MAAM,oCAAoC,CAAA;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAGX,IAAM,wBAAwB,GAA9B,MAAM,wBAAyB,SAAQ,6BAA6B;IAGjF;QACE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,KAAK,GAAG;YACX,OAAO,EAAE;gBACP,MAAM,EAAE,EAAE;aACX;YACD,IAAI,EAAE;gBACJ,QAAQ,EAAE,EAAE;aACb;SACF,CAAA;QAED,IAAI,CAAC,kBAAkB,GAAG,CAAC,CAAA;IAC7B,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAA;IAChC,CAAC;IAED,IAAI,WAAW,CAAC,WAAW;QACzB,IAAI,CAAC,MAAM,CAAC,WAAW,GAAG,WAAW,CAAA;IACvC,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAA;IAChC,CAAC;IAED,IAAI,WAAW,CAAC,WAAW;QACzB,IAAI,CAAC,MAAM,CAAC,WAAW,GAAG,WAAW,CAAA;IACvC,CAAC;IAED,IAAI,WAAW;QACb,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAA;IAChC,CAAC;IAED,IAAI,WAAW,CAAC,WAAW;QACzB,IAAI,CAAC,MAAM,CAAC,WAAW,GAAG,WAAW,CAAA;IACvC,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,IAAI,CAAC,MAAM,CAAC,eAAe,CAAA;IACzD,CAAC;IAED,IAAI,KAAK,CAAC,KAAK;QACb,IAAI,CAAC,MAAM,CAAC,KAAK,GAAG,KAAK,CAAA;QACzB,OAAO,IAAI,CAAC,MAAM,CAAC,eAAe,CAAA;IACpC,CAAC;IAED,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,MAAM,CAAC,YAAY,CAAA;IACjC,CAAC;IAED,IAAI,YAAY,CAAC,YAAY;QAC3B,IAAI,CAAC,MAAM,CAAC,YAAY,GAAG,YAAY,CAAA;IACzC,CAAC;IAED,cAAc,CAAC,KAAiB;QAC9B,OAAO,IAAI,CAAA;;;;sDAIuC,IAAI,CAAC,MAAM,CAAC,OAAO;;;2DAGd,IAAI,CAAC,KAAK;;QAE7D,IAAI,CAAC,oBAAoB,EAAE;;;;;2DAKwB,IAAI,CAAC,YAAY;KACvE,CAAA;IACH,CAAC;;AA3EM,+BAAM,GAAG,6BAA6B,CAAC,MAAM,AAAvC,CAAuC;AADjC,wBAAwB;IAD5C,aAAa,CAAC,6BAA6B,CAAC;GACxB,wBAAwB,CA6E5C;eA7EoB,wBAAwB","sourcesContent":["import '@operato/i18n/ox-i18n.js'\n\nimport { 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 valueFormat() {\n return this.series.valueFormat\n }\n\n set valueFormat(valueFormat) {\n this.series.valueFormat = valueFormat\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><ox-i18n msgid=\"label.series\">Series</ox-i18n></legend>\n\n <label> <ox-i18n msgid=\"label.data-key\">Data Key</ox-i18n> </label>\n <input type=\"text\" value-key=\"dataKey\" .value=${this.series.dataKey} />\n\n <label> <ox-i18n msgid=\"label.color\">color</ox-i18n> </label>\n <ox-input-multiple-colors value-key=\"color\" .value=${this.color}></ox-input-multiple-colors>\n\n ${this.displayValueTemplate()}\n\n <legend><ox-i18n msgid=\"label.axes\">Axes</ox-i18n></legend>\n\n <label> <ox-i18n msgid=\"label.data-key\">Data Key</ox-i18n> </label>\n <input type=\"text\" value-key=\"labelDataKey\" .value=${this.labelDataKey} />\n `\n }\n}\n"]}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import '@operato/i18n/ox-i18n.js';
|
2
|
-
import { Properties } from '@hatiolab/things-scene';
|
3
|
-
import PropertyEditorChartJSMultiSeriesAbstract from './property-editor-chartjs-multi-series-abstract';
|
4
|
-
export default class PropertyEditorChartJSRadar extends PropertyEditorChartJSMultiSeriesAbstract {
|
5
|
-
static styles: import("lit").CSSResult[];
|
6
|
-
constructor();
|
7
|
-
editorTemplate(props: Properties): import("lit-html").TemplateResult<1>;
|
8
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import '@operato/i18n/ox-i18n.js';
|
3
|
-
import { html } from 'lit';
|
4
|
-
import { customElement } from 'lit/decorators.js';
|
5
|
-
import PropertyEditorChartJSMultiSeriesAbstract from './property-editor-chartjs-multi-series-abstract';
|
6
|
-
let PropertyEditorChartJSRadar = class PropertyEditorChartJSRadar extends PropertyEditorChartJSMultiSeriesAbstract {
|
7
|
-
constructor() {
|
8
|
-
super();
|
9
|
-
this.value = {
|
10
|
-
options: {
|
11
|
-
legend: {}
|
12
|
-
},
|
13
|
-
data: {
|
14
|
-
datasets: []
|
15
|
-
}
|
16
|
-
};
|
17
|
-
}
|
18
|
-
editorTemplate(props) {
|
19
|
-
return html `
|
20
|
-
<legend><ox-i18n msgid="label.series">Series</ox-i18n></legend>
|
21
|
-
|
22
|
-
<div fullwidth>${this.multiSeriesTabTemplate()}</div>
|
23
|
-
|
24
|
-
<legend><ox-i18n msgid="label.axes">Axes</ox-i18n></legend>
|
25
|
-
|
26
|
-
<label> <ox-i18n msgid="label.data-key">Data Key</ox-i18n> </label>
|
27
|
-
<input type="text" value-key="labelDataKey" .value=${this.labelDataKey} />
|
28
|
-
`;
|
29
|
-
}
|
30
|
-
};
|
31
|
-
PropertyEditorChartJSRadar.styles = PropertyEditorChartJSMultiSeriesAbstract.styles;
|
32
|
-
PropertyEditorChartJSRadar = __decorate([
|
33
|
-
customElement('property-editor-chartjs-radar')
|
34
|
-
], PropertyEditorChartJSRadar);
|
35
|
-
export default PropertyEditorChartJSRadar;
|
36
|
-
//# sourceMappingURL=property-editor-chartjs-radar.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"property-editor-chartjs-radar.js","sourceRoot":"","sources":["../../src/editors/property-editor-chartjs-radar.ts"],"names":[],"mappings":";AAAA,OAAO,0BAA0B,CAAA;AAEjC,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAIjD,OAAO,wCAAwC,MAAM,iDAAiD,CAAA;AAGvF,IAAM,0BAA0B,GAAhC,MAAM,0BAA2B,SAAQ,wCAAwC;IAG9F;QACE,KAAK,EAAE,CAAA;QAEP,IAAI,CAAC,KAAK,GAAG;YACX,OAAO,EAAE;gBACP,MAAM,EAAE,EAAE;aACX;YACD,IAAI,EAAE;gBACJ,QAAQ,EAAE,EAAE;aACb;SACF,CAAA;IACH,CAAC;IAED,cAAc,CAAC,KAAiB;QAC9B,OAAO,IAAI,CAAA;;;uBAGQ,IAAI,CAAC,sBAAsB,EAAE;;;;;2DAKO,IAAI,CAAC,YAAY;KACvE,CAAA;IACH,CAAC;;AA1BM,iCAAM,GAAG,wCAAwC,CAAC,MAAM,AAAlD,CAAkD;AAD5C,0BAA0B;IAD9C,aAAa,CAAC,+BAA+B,CAAC;GAC1B,0BAA0B,CA4B9C;eA5BoB,0BAA0B","sourcesContent":["import '@operato/i18n/ox-i18n.js'\n\nimport { html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { Properties } from '@hatiolab/things-scene'\n\nimport PropertyEditorChartJSMultiSeriesAbstract from './property-editor-chartjs-multi-series-abstract'\n\n@customElement('property-editor-chartjs-radar')\nexport default class PropertyEditorChartJSRadar extends PropertyEditorChartJSMultiSeriesAbstract {\n static styles = PropertyEditorChartJSMultiSeriesAbstract.styles\n\n constructor() {\n super()\n\n this.value = {\n options: {\n legend: {}\n },\n data: {\n datasets: []\n }\n }\n }\n\n editorTemplate(props: Properties) {\n return html`\n <legend><ox-i18n msgid=\"label.series\">Series</ox-i18n></legend>\n\n <div fullwidth>${this.multiSeriesTabTemplate()}</div>\n\n <legend><ox-i18n msgid=\"label.axes\">Axes</ox-i18n></legend>\n\n <label> <ox-i18n msgid=\"label.data-key\">Data Key</ox-i18n> </label>\n <input type=\"text\" value-key=\"labelDataKey\" .value=${this.labelDataKey} />\n `\n }\n}\n"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const PropertyEditorChartJSStyles: import("lit").CSSResult;
|
@@ -1,167 +0,0 @@
|
|
1
|
-
import { css } from 'lit';
|
2
|
-
export const PropertyEditorChartJSStyles = css `
|
3
|
-
:host {
|
4
|
-
display: grid;
|
5
|
-
grid-template-columns: repeat(10, 1fr);
|
6
|
-
grid-gap: 5px;
|
7
|
-
}
|
8
|
-
|
9
|
-
:host > * {
|
10
|
-
box-sizing: border-box;
|
11
|
-
grid-column: span 7;
|
12
|
-
}
|
13
|
-
|
14
|
-
:host > label {
|
15
|
-
box-sizing: border-box;
|
16
|
-
grid-column: span 3;
|
17
|
-
}
|
18
|
-
|
19
|
-
:host > legend {
|
20
|
-
box-sizing: border-box;
|
21
|
-
grid-column: 1 / -1;
|
22
|
-
color: var(--md-sys-color-on-secondary-container, #e46c2e);
|
23
|
-
font: var(--property-sidebar-fieldset-legend, bold 13px var(--theme-font));
|
24
|
-
text-transform: capitalize;
|
25
|
-
}
|
26
|
-
|
27
|
-
#series-properties-container {
|
28
|
-
display: grid;
|
29
|
-
grid-template-columns: 1fr 25px;
|
30
|
-
align-items: center;
|
31
|
-
justify-content: center;
|
32
|
-
}
|
33
|
-
|
34
|
-
#series-properties-container > [tab-content] {
|
35
|
-
grid-column: span 2;
|
36
|
-
}
|
37
|
-
|
38
|
-
#tab-header {
|
39
|
-
display: grid;
|
40
|
-
grid-template-columns: 25px 1fr 25px;
|
41
|
-
grid-gap: 5px;
|
42
|
-
overflow: hidden;
|
43
|
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
44
|
-
border-bottom: 0;
|
45
|
-
background-color: var(--md-sys-color-surface-variant);
|
46
|
-
color: var(--md-sys-color-on-surface);
|
47
|
-
box-sizing: border-box;
|
48
|
-
padding-top: 3px;
|
49
|
-
align-items: center;
|
50
|
-
}
|
51
|
-
|
52
|
-
#tab-header > div {
|
53
|
-
height: 25px;
|
54
|
-
}
|
55
|
-
|
56
|
-
#tab-header md-icon[disabled] {
|
57
|
-
opacity: 0.1;
|
58
|
-
}
|
59
|
-
|
60
|
-
#tabs {
|
61
|
-
display: flex;
|
62
|
-
overflow: hidden;
|
63
|
-
}
|
64
|
-
|
65
|
-
#tab-header #tabs [tab] md-icon {
|
66
|
-
margin-left: 5px;
|
67
|
-
padding: 2px;
|
68
|
-
color: var(--md-sys-color-on-surface);
|
69
|
-
|
70
|
-
--md-icon-size: 12px;
|
71
|
-
}
|
72
|
-
|
73
|
-
#add-series-button-container {
|
74
|
-
height: 100%;
|
75
|
-
box-sizing: border-box;
|
76
|
-
align-items: center;
|
77
|
-
justify-content: center;
|
78
|
-
padding-top: 3px;
|
79
|
-
display: flex;
|
80
|
-
border-bottom: rgba(0, 0, 0, 0.2) 1px solid;
|
81
|
-
}
|
82
|
-
|
83
|
-
#add-series-button {
|
84
|
-
width: 20px;
|
85
|
-
height: 20px;
|
86
|
-
padding: 0;
|
87
|
-
color: var(--md-sys-color-on-secondary-container);
|
88
|
-
}
|
89
|
-
|
90
|
-
.tab-content {
|
91
|
-
grid-column: 1 / -1;
|
92
|
-
|
93
|
-
background-color: rgba(255, 255, 255, 0.5);
|
94
|
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
95
|
-
border-width: 0 1px 1px 1px;
|
96
|
-
padding: 5px;
|
97
|
-
display: grid;
|
98
|
-
grid-template-columns: repeat(10, 1fr);
|
99
|
-
grid-gap: 5px;
|
100
|
-
}
|
101
|
-
|
102
|
-
.tab-content > * {
|
103
|
-
box-sizing: border-box;
|
104
|
-
grid-column: span 7;
|
105
|
-
}
|
106
|
-
|
107
|
-
label,
|
108
|
-
.tab-content > label {
|
109
|
-
grid-column: span 3;
|
110
|
-
text-align: right;
|
111
|
-
color: var(--md-sys-color-on-secondary-container);
|
112
|
-
font-size: 0.8em;
|
113
|
-
line-height: 2;
|
114
|
-
text-transform: capitalize;
|
115
|
-
}
|
116
|
-
|
117
|
-
input,
|
118
|
-
select {
|
119
|
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
120
|
-
border-radius: var(--spacing-small);
|
121
|
-
}
|
122
|
-
|
123
|
-
input[type='checkbox'],
|
124
|
-
.tab-content > input[type='checkbox'] {
|
125
|
-
grid-column: span 4;
|
126
|
-
justify-self: end;
|
127
|
-
align-self: center;
|
128
|
-
}
|
129
|
-
|
130
|
-
input[type='checkbox'] + label,
|
131
|
-
.tab-content > input[type='checkbox'] + label {
|
132
|
-
grid-column: span 6;
|
133
|
-
|
134
|
-
text-align: left;
|
135
|
-
}
|
136
|
-
|
137
|
-
[fullwidth] {
|
138
|
-
grid-column: 1 / -1;
|
139
|
-
margin: 0;
|
140
|
-
border: 0;
|
141
|
-
}
|
142
|
-
|
143
|
-
div[tab] {
|
144
|
-
display: flex;
|
145
|
-
align-items: center;
|
146
|
-
background-color: rgba(0, 0, 0, 0.2);
|
147
|
-
border-width: 1px 1px 0 1px;
|
148
|
-
padding: 0 5px;
|
149
|
-
color: var(--md-sys-color-on-surface);
|
150
|
-
box-sizing: border-box;
|
151
|
-
min-width: 45px;
|
152
|
-
}
|
153
|
-
|
154
|
-
div[tab][disabled] {
|
155
|
-
background-color: rgba(0, 0, 0, 0.1);
|
156
|
-
}
|
157
|
-
|
158
|
-
div[tab]:last-child {
|
159
|
-
border-width: 0;
|
160
|
-
}
|
161
|
-
|
162
|
-
div[tab][selected] {
|
163
|
-
background-color: var(--md-sys-color-surface);
|
164
|
-
color: var(--md-sys-color-on-surface);
|
165
|
-
}
|
166
|
-
`;
|
167
|
-
//# sourceMappingURL=property-editor-chartjs-styles.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"property-editor-chartjs-styles.js","sourceRoot":"","sources":["../../src/editors/property-editor-chartjs-styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAEzB,MAAM,CAAC,MAAM,2BAA2B,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoK7C,CAAA","sourcesContent":["import { css } from 'lit'\n\nexport const PropertyEditorChartJSStyles = css`\n :host {\n display: grid;\n grid-template-columns: repeat(10, 1fr);\n grid-gap: 5px;\n }\n\n :host > * {\n box-sizing: border-box;\n grid-column: span 7;\n }\n\n :host > label {\n box-sizing: border-box;\n grid-column: span 3;\n }\n\n :host > legend {\n box-sizing: border-box;\n grid-column: 1 / -1;\n color: var(--md-sys-color-on-secondary-container, #e46c2e);\n font: var(--property-sidebar-fieldset-legend, bold 13px var(--theme-font));\n text-transform: capitalize;\n }\n\n #series-properties-container {\n display: grid;\n grid-template-columns: 1fr 25px;\n align-items: center;\n justify-content: center;\n }\n\n #series-properties-container > [tab-content] {\n grid-column: span 2;\n }\n\n #tab-header {\n display: grid;\n grid-template-columns: 25px 1fr 25px;\n grid-gap: 5px;\n overflow: hidden;\n border: 1px solid rgba(0, 0, 0, 0.2);\n border-bottom: 0;\n background-color: var(--md-sys-color-surface-variant);\n color: var(--md-sys-color-on-surface);\n box-sizing: border-box;\n padding-top: 3px;\n align-items: center;\n }\n\n #tab-header > div {\n height: 25px;\n }\n\n #tab-header md-icon[disabled] {\n opacity: 0.1;\n }\n\n #tabs {\n display: flex;\n overflow: hidden;\n }\n\n #tab-header #tabs [tab] md-icon {\n margin-left: 5px;\n padding: 2px;\n color: var(--md-sys-color-on-surface);\n\n --md-icon-size: 12px;\n }\n\n #add-series-button-container {\n height: 100%;\n box-sizing: border-box;\n align-items: center;\n justify-content: center;\n padding-top: 3px;\n display: flex;\n border-bottom: rgba(0, 0, 0, 0.2) 1px solid;\n }\n\n #add-series-button {\n width: 20px;\n height: 20px;\n padding: 0;\n color: var(--md-sys-color-on-secondary-container);\n }\n\n .tab-content {\n grid-column: 1 / -1;\n\n background-color: rgba(255, 255, 255, 0.5);\n border: 1px solid rgba(0, 0, 0, 0.2);\n border-width: 0 1px 1px 1px;\n padding: 5px;\n display: grid;\n grid-template-columns: repeat(10, 1fr);\n grid-gap: 5px;\n }\n\n .tab-content > * {\n box-sizing: border-box;\n grid-column: span 7;\n }\n\n label,\n .tab-content > label {\n grid-column: span 3;\n text-align: right;\n color: var(--md-sys-color-on-secondary-container);\n font-size: 0.8em;\n line-height: 2;\n text-transform: capitalize;\n }\n\n input,\n select {\n border: 1px solid rgba(0, 0, 0, 0.2);\n border-radius: var(--spacing-small);\n }\n\n input[type='checkbox'],\n .tab-content > input[type='checkbox'] {\n grid-column: span 4;\n justify-self: end;\n align-self: center;\n }\n\n input[type='checkbox'] + label,\n .tab-content > input[type='checkbox'] + label {\n grid-column: span 6;\n\n text-align: left;\n }\n\n [fullwidth] {\n grid-column: 1 / -1;\n margin: 0;\n border: 0;\n }\n\n div[tab] {\n display: flex;\n align-items: center;\n background-color: rgba(0, 0, 0, 0.2);\n border-width: 1px 1px 0 1px;\n padding: 0 5px;\n color: var(--md-sys-color-on-surface);\n box-sizing: border-box;\n min-width: 45px;\n }\n\n div[tab][disabled] {\n background-color: rgba(0, 0, 0, 0.1);\n }\n\n div[tab]:last-child {\n border-width: 0;\n }\n\n div[tab][selected] {\n background-color: var(--md-sys-color-surface);\n color: var(--md-sys-color-on-surface);\n }\n`\n"]}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import '@operato/i18n/ox-i18n.js';
|
2
|
-
import './property-editor-chartjs-hbar';
|
3
|
-
import './property-editor-chartjs-mixed';
|
4
|
-
import './property-editor-chartjs-pie';
|
5
|
-
import './property-editor-chartjs-radar';
|
6
|
-
import { OxPropertyEditor, PropertySpec } from '@operato/property-editor';
|
7
|
-
export default class ChartJSEditor extends OxPropertyEditor {
|
8
|
-
static styles: import("lit").CSSResult[];
|
9
|
-
editorTemplate(value: any, spec: PropertySpec): import("lit-html").TemplateResult<1>;
|
10
|
-
}
|
@@ -1,79 +0,0 @@
|
|
1
|
-
import { __decorate } from "tslib";
|
2
|
-
import '@operato/i18n/ox-i18n.js';
|
3
|
-
import './property-editor-chartjs-hbar';
|
4
|
-
import './property-editor-chartjs-mixed';
|
5
|
-
import './property-editor-chartjs-pie';
|
6
|
-
import './property-editor-chartjs-radar';
|
7
|
-
import { css, html } from 'lit';
|
8
|
-
import { customElement } from 'lit/decorators.js';
|
9
|
-
import { OxPropertyEditor } from '@operato/property-editor';
|
10
|
-
let ChartJSEditor = class ChartJSEditor extends OxPropertyEditor {
|
11
|
-
editorTemplate(value, spec) {
|
12
|
-
return html `
|
13
|
-
${value
|
14
|
-
? html `
|
15
|
-
<div id="chart-type">
|
16
|
-
<label> <ox-i18n msgid="label.chart-type">Chart Type</ox-i18n> </label>
|
17
|
-
<input type="text" .value=${value.type} readonly />
|
18
|
-
</div>
|
19
|
-
`
|
20
|
-
: html ``}
|
21
|
-
${!value
|
22
|
-
? html ``
|
23
|
-
: value.type == 'line'
|
24
|
-
? html ` <property-editor-chartjs-mixed .value=${value} fullwidth></property-editor-chartjs-mixed> `
|
25
|
-
: value.type == 'horizontalBar'
|
26
|
-
? html ` <property-editor-chartjs-hbar .value=${value} fullwidth></property-editor-chartjs-hbar> `
|
27
|
-
: value.type == 'bar'
|
28
|
-
? html ` <property-editor-chartjs-mixed .value=${value} fullwidth></property-editor-chartjs-mixed> `
|
29
|
-
: value.type == 'pie'
|
30
|
-
? html ` <property-editor-chartjs-pie .value=${value} fullwidth></property-editor-chartjs-pie> `
|
31
|
-
: value.type == 'doughnut'
|
32
|
-
? html ` <property-editor-chartjs-pie .value=${value} fullwidth></property-editor-chartjs-pie> `
|
33
|
-
: value.type == 'polarArea'
|
34
|
-
? html ` <property-editor-chartjs-pie .value=${value} fullwidth></property-editor-chartjs-pie> `
|
35
|
-
: value.type == 'radar'
|
36
|
-
? html ` <property-editor-chartjs-radar .value=${value} fullwidth></property-editor-chartjs-radar> `
|
37
|
-
: html ``}
|
38
|
-
`;
|
39
|
-
}
|
40
|
-
};
|
41
|
-
ChartJSEditor.styles = [
|
42
|
-
css `
|
43
|
-
:host {
|
44
|
-
display: block;
|
45
|
-
padding: 5px;
|
46
|
-
|
47
|
-
--md-elevated-button-container-height: 20px;
|
48
|
-
}
|
49
|
-
|
50
|
-
#chart-type {
|
51
|
-
display: grid;
|
52
|
-
grid-template-columns: repeat(10, 1fr);
|
53
|
-
grid-gap: 5px;
|
54
|
-
}
|
55
|
-
|
56
|
-
#chart-type > label {
|
57
|
-
box-sizing: border-box;
|
58
|
-
grid-column: span 3;
|
59
|
-
|
60
|
-
text-align: right;
|
61
|
-
|
62
|
-
color: var(--md-sys-color-on-secondary-container);
|
63
|
-
font-size: 0.8em;
|
64
|
-
line-height: 2;
|
65
|
-
text-transform: capitalize;
|
66
|
-
}
|
67
|
-
|
68
|
-
#chart-type > input {
|
69
|
-
box-sizing: border-box;
|
70
|
-
grid-column: span 7;
|
71
|
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
72
|
-
}
|
73
|
-
`
|
74
|
-
];
|
75
|
-
ChartJSEditor = __decorate([
|
76
|
-
customElement('property-editor-chartjs')
|
77
|
-
], ChartJSEditor);
|
78
|
-
export default ChartJSEditor;
|
79
|
-
//# sourceMappingURL=property-editor-chartjs.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"property-editor-chartjs.js","sourceRoot":"","sources":["../../src/editors/property-editor-chartjs.ts"],"names":[],"mappings":";AAAA,OAAO,0BAA0B,CAAA;AAEjC,OAAO,gCAAgC,CAAA;AACvC,OAAO,iCAAiC,CAAA;AACxC,OAAO,+BAA+B,CAAA;AACtC,OAAO,iCAAiC,CAAA;AAExC,OAAO,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,KAAK,CAAA;AAC/B,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEjD,OAAO,EAAE,gBAAgB,EAAgB,MAAM,0BAA0B,CAAA;AAG1D,IAAM,aAA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aAAa","sourcesContent":["import '@operato/i18n/ox-i18n.js'\n\nimport './property-editor-chartjs-hbar'\nimport './property-editor-chartjs-mixed'\nimport './property-editor-chartjs-pie'\nimport './property-editor-chartjs-radar'\n\nimport { css, html } from 'lit'\nimport { customElement } from 'lit/decorators.js'\n\nimport { OxPropertyEditor, PropertySpec } from '@operato/property-editor'\n\n@customElement('property-editor-chartjs')\nexport default class ChartJSEditor extends OxPropertyEditor {\n static styles = [\n css`\n :host {\n display: block;\n padding: 5px;\n\n --md-elevated-button-container-height: 20px;\n }\n\n #chart-type {\n display: grid;\n grid-template-columns: repeat(10, 1fr);\n grid-gap: 5px;\n }\n\n #chart-type > label {\n box-sizing: border-box;\n grid-column: span 3;\n\n text-align: right;\n\n color: var(--md-sys-color-on-secondary-container);\n font-size: 0.8em;\n line-height: 2;\n text-transform: capitalize;\n }\n\n #chart-type > input {\n box-sizing: border-box;\n grid-column: span 7;\n border: 1px solid rgba(0, 0, 0, 0.2);\n }\n `\n ]\n\n editorTemplate(value: any, spec: PropertySpec) {\n return html`\n ${value\n ? html`\n <div id=\"chart-type\">\n <label> <ox-i18n msgid=\"label.chart-type\">Chart Type</ox-i18n> </label>\n <input type=\"text\" .value=${value.type} readonly />\n </div>\n `\n : html``}\n ${!value\n ? html``\n : value.type == 'line'\n ? html` <property-editor-chartjs-mixed .value=${value} fullwidth></property-editor-chartjs-mixed> `\n : value.type == 'horizontalBar'\n ? html` <property-editor-chartjs-hbar .value=${value} fullwidth></property-editor-chartjs-hbar> `\n : value.type == 'bar'\n ? html` <property-editor-chartjs-mixed .value=${value} fullwidth></property-editor-chartjs-mixed> `\n : value.type == 'pie'\n ? html` <property-editor-chartjs-pie .value=${value} fullwidth></property-editor-chartjs-pie> `\n : value.type == 'doughnut'\n ? html` <property-editor-chartjs-pie .value=${value} fullwidth></property-editor-chartjs-pie> `\n : value.type == 'polarArea'\n ? html` <property-editor-chartjs-pie .value=${value} fullwidth></property-editor-chartjs-pie> `\n : value.type == 'radar'\n ? html` <property-editor-chartjs-radar .value=${value} fullwidth></property-editor-chartjs-radar> `\n : html``}\n `\n }\n}\n"]}
|