@embeddable.com/remarkable-pro 0.0.13 → 0.0.15
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/dist/BarChartDefaultHorizontalPro.js +24 -24
- package/dist/BarChartDefaultHorizontalPro.js.map +1 -1
- package/dist/BarChartDefaultPro.js +24 -24
- package/dist/BarChartDefaultPro.js.map +1 -1
- package/dist/BarChartGroupedHorizontalPro.js +27 -27
- package/dist/BarChartGroupedHorizontalPro.js.map +1 -1
- package/dist/BarChartGroupedPro.js +33 -33
- package/dist/BarChartGroupedPro.js.map +1 -1
- package/dist/BarChartStackedHorizontalPro.js +28 -28
- package/dist/BarChartStackedHorizontalPro.js.map +1 -1
- package/dist/BarChartStackedPro.js +27 -27
- package/dist/BarChartStackedPro.js.map +1 -1
- package/dist/{ChartCard-DaUtlchs.js → ChartCard-BEIVgW77.js} +3 -3
- package/dist/{ChartCard-DaUtlchs.js.map → ChartCard-BEIVgW77.js.map} +1 -1
- package/dist/{index-BIiign0L.js → Color.type.emb-ByiNbaI7.js} +7355 -7348
- package/dist/Color.type.emb-ByiNbaI7.js.map +1 -0
- package/dist/ColorEditor.js +10 -11
- package/dist/ColorEditor.js.map +1 -1
- package/dist/ComparisonPeriodSelectFieldPro.js +19 -22
- package/dist/ComparisonPeriodSelectFieldPro.js.map +1 -1
- package/dist/DateRangePickerCustomPro.js +29 -28
- package/dist/DateRangePickerCustomPro.js.map +1 -1
- package/dist/DateRangeSelectFieldPro.js +23 -21
- package/dist/DateRangeSelectFieldPro.js.map +1 -1
- package/dist/DonutChartPro.js +24 -24
- package/dist/DonutChartPro.js.map +1 -1
- package/dist/DonutLabelChartPro.js +29 -30
- package/dist/DonutLabelChartPro.js.map +1 -1
- package/dist/{EditorCard-DXQeyo3r.js → EditorCard-NEIuygkP.js} +10 -10
- package/dist/{EditorCard-DXQeyo3r.js.map → EditorCard-NEIuygkP.js.map} +1 -1
- package/dist/HeatMapPro.js +46 -45
- package/dist/HeatMapPro.js.map +1 -1
- package/dist/KpiChartNumberComparisonPro.js +32 -31
- package/dist/KpiChartNumberComparisonPro.js.map +1 -1
- package/dist/KpiChartNumberPro.js +14 -20
- package/dist/KpiChartNumberPro.js.map +1 -1
- package/dist/LineChartComparisonDefaultPro.js +61 -60
- package/dist/LineChartComparisonDefaultPro.js.map +1 -1
- package/dist/LineChartDefaultPro.js +46 -38
- package/dist/LineChartDefaultPro.js.map +1 -1
- package/dist/LineChartGroupedPro.js +47 -36
- package/dist/LineChartGroupedPro.js.map +1 -1
- package/dist/MultiSelectFieldPro.js +24 -27
- package/dist/MultiSelectFieldPro.js.map +1 -1
- package/dist/PieChartPro.js +24 -24
- package/dist/PieChartPro.js.map +1 -1
- package/dist/PivotTablePro.js +31 -29
- package/dist/PivotTablePro.js.map +1 -1
- package/dist/SingleSelectFieldPro.js +24 -24
- package/dist/SingleSelectFieldPro.js.map +1 -1
- package/dist/TableChartPaginated.js +43 -37
- package/dist/TableChartPaginated.js.map +1 -1
- package/dist/{bars.utils-C45cnEfc.js → bars.utils-D12lq8bm.js} +4 -4
- package/dist/{bars.utils-C45cnEfc.js.map → bars.utils-D12lq8bm.js.map} +1 -1
- package/dist/{charts.utils-D_9y_kjG.js → charts.utils-Bq6c6ccK.js} +1864 -1784
- package/dist/charts.utils-Bq6c6ccK.js.map +1 -0
- package/dist/{component.constants-DJqBv0qe.js → component.inputs.constants-FaX3B1CO.js} +416 -403
- package/dist/component.inputs.constants-FaX3B1CO.js.map +1 -0
- package/dist/components/charts/lines/LineChartComparisonDefaultPro/index.d.ts.map +1 -1
- package/dist/components/charts/tables/HeatMapPro/index.d.ts +2 -2
- package/dist/components/charts/tables/HeatMapPro/index.d.ts.map +1 -1
- package/dist/components/component.inputs.constants.d.ts +309 -0
- package/dist/components/component.inputs.constants.d.ts.map +1 -0
- package/dist/components/component.subinputs.constants.d.ts +95 -0
- package/dist/components/component.subinputs.constants.d.ts.map +1 -0
- package/dist/embeddable-components.json +14 -14
- package/dist/embeddable-theme-0137e.js +3330 -3250
- package/dist/{formatter.utils-BRMB8qAc.js → formatter.utils-IGbSBsIu.js} +2 -2
- package/dist/{formatter.utils-BRMB8qAc.js.map → formatter.utils-IGbSBsIu.js.map} +1 -1
- package/dist/{index-S5z1sMxW.js → index-B15C4kTf.js} +5 -5
- package/dist/{index-S5z1sMxW.js.map → index-B15C4kTf.js.map} +1 -1
- package/dist/{index-C4oavwFu.js → index-BDPQ_c46.js} +5 -5
- package/dist/{index-C4oavwFu.js.map → index-BDPQ_c46.js.map} +1 -1
- package/dist/{index-GA9m2JpT.js → index-BKcWHLSf.js} +5 -5
- package/dist/{index-GA9m2JpT.js.map → index-BKcWHLSf.js.map} +1 -1
- package/dist/{index-Djoz2cf4.js → index-BNFqHQr3.js} +6 -6
- package/dist/{index-Djoz2cf4.js.map → index-BNFqHQr3.js.map} +1 -1
- package/dist/{index-BqgkyNm8.js → index-BiTSd5Wd.js} +5 -5
- package/dist/index-BiTSd5Wd.js.map +1 -0
- package/dist/{index-QLS7PLnH.js → index-BjaJdNzu.js} +5 -5
- package/dist/{index-QLS7PLnH.js.map → index-BjaJdNzu.js.map} +1 -1
- package/dist/{index-BbypzboN.js → index-BzF8GFHy.js} +5 -5
- package/dist/{index-BbypzboN.js.map → index-BzF8GFHy.js.map} +1 -1
- package/dist/{index-CfpIN_sB.js → index-CQZhGtUT.js} +6 -6
- package/dist/{index-CfpIN_sB.js.map → index-CQZhGtUT.js.map} +1 -1
- package/dist/{index-Df6HY9t3.js → index-CR69kGQc.js} +5 -5
- package/dist/{index-Df6HY9t3.js.map → index-CR69kGQc.js.map} +1 -1
- package/dist/{index-BEwcJPua.js → index-CdjbmThq.js} +5 -5
- package/dist/{index-BEwcJPua.js.map → index-CdjbmThq.js.map} +1 -1
- package/dist/{index-Drxp0RBw.js → index-CwiND2Ct.js} +16 -16
- package/dist/{index-Drxp0RBw.js.map → index-CwiND2Ct.js.map} +1 -1
- package/dist/{index-DD5t0omh.js → index-DLCspqkx.js} +5 -5
- package/dist/{index-DD5t0omh.js.map → index-DLCspqkx.js.map} +1 -1
- package/dist/{index-ifHDbmyw.js → index-DNXqnRoE.js} +5 -5
- package/dist/{index-ifHDbmyw.js.map → index-DNXqnRoE.js.map} +1 -1
- package/dist/{index-CNjwWCGc.js → index-DRIH3L5J.js} +5 -5
- package/dist/{index-CNjwWCGc.js.map → index-DRIH3L5J.js.map} +1 -1
- package/dist/{index-CSdnJs7F.js → index-DdeFtB5C.js} +65 -61
- package/dist/{index-CSdnJs7F.js.map → index-DdeFtB5C.js.map} +1 -1
- package/dist/{index-DkbXF0dN.js → index-Dhj9KjfQ.js} +5 -5
- package/dist/{index-DkbXF0dN.js.map → index-Dhj9KjfQ.js.map} +1 -1
- package/dist/{index-CYfKRRhL.js → index-EAQjfjEJ.js} +16 -16
- package/dist/{index-CYfKRRhL.js.map → index-EAQjfjEJ.js.map} +1 -1
- package/dist/{index-CVv-xIyp.js → index-RHaWI3AH.js} +5 -5
- package/dist/{index-CVv-xIyp.js.map → index-RHaWI3AH.js.map} +1 -1
- package/dist/{index-Ba6ziHiQ.js → index-_fEx7Sbh.js} +4 -4
- package/dist/{index-Ba6ziHiQ.js.map → index-_fEx7Sbh.js.map} +1 -1
- package/dist/{index-DBFwmzJQ.js → index-hHVOyy6e.js} +11 -11
- package/dist/{index-DBFwmzJQ.js.map → index-hHVOyy6e.js.map} +1 -1
- package/dist/{index-Bn5j2FLA.js → index-oK1pn0Vk.js} +5 -5
- package/dist/{index-Bn5j2FLA.js.map → index-oK1pn0Vk.js.map} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +81 -131
- package/dist/index.js.map +1 -1
- package/dist/{pies.utils-B_jS454c.js → pies.utils-C5DxeS68.js} +5 -5
- package/dist/{pies.utils-B_jS454c.js.map → pies.utils-C5DxeS68.js.map} +1 -1
- package/dist/remarkable-pro.css +1 -1
- package/dist/theme/defaults/defaults.ComparisonPeriods.constants.d.ts +1 -1
- package/dist/theme/defaults/defaults.ComparisonPeriods.constants.d.ts.map +1 -1
- package/dist/theme/i18n/translations/de.d.ts.map +1 -1
- package/dist/theme/i18n/translations/en.d.ts.map +1 -1
- package/dist/{timeRange.utils-CgLgHA94.js → timeRange.utils-CTEHTF97.js} +2 -2
- package/dist/{timeRange.utils-CgLgHA94.js.map → timeRange.utils-CTEHTF97.js.map} +1 -1
- package/package.json +2 -2
- package/dist/Color.type.emb-DFhAaPXz.js +0 -9
- package/dist/Color.type.emb-DFhAaPXz.js.map +0 -1
- package/dist/ComparisonPeriod.type.emb-C-YdNTEB.js +0 -14
- package/dist/ComparisonPeriod.type.emb-C-YdNTEB.js.map +0 -1
- package/dist/charts.utils-D_9y_kjG.js.map +0 -1
- package/dist/component.constants-DJqBv0qe.js.map +0 -1
- package/dist/components/component.constants.d.ts +0 -324
- package/dist/components/component.constants.d.ts.map +0 -1
- package/dist/index-BIiign0L.js.map +0 -1
- package/dist/index-BqgkyNm8.js.map +0 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { V as
|
|
1
|
+
import { V as s, l as i } from "./Color.type.emb-ByiNbaI7.js";
|
|
2
2
|
import { defineComponent as o } from "@embeddable.com/react";
|
|
3
|
-
import { B as r } from "./index-
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
3
|
+
import { B as r } from "./index-oK1pn0Vk.js";
|
|
4
|
+
import { b as e } from "./component.inputs.constants-FaX3B1CO.js";
|
|
5
|
+
const t = {
|
|
6
6
|
name: "BarChartDefaultHorizontalPro",
|
|
7
7
|
label: "Bar Chart - Default Horizontal",
|
|
8
8
|
category: "Bar Charts",
|
|
9
9
|
inputs: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{ ...
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
10
|
+
e.dataset,
|
|
11
|
+
e.measures,
|
|
12
|
+
{ ...e.dimensionWithDateBounds, label: "Y-axis" },
|
|
13
|
+
e.title,
|
|
14
|
+
e.description,
|
|
15
|
+
e.showLegend,
|
|
16
|
+
e.showTooltips,
|
|
17
|
+
e.showValueLabels,
|
|
18
|
+
e.showLogarithmicScale,
|
|
19
|
+
e.xAxisLabel,
|
|
20
|
+
e.yAxisLabel,
|
|
21
|
+
e.reverseYAxis,
|
|
22
|
+
e.xAxisRangeMin,
|
|
23
|
+
e.xAxisRangeMax,
|
|
24
|
+
e.yAxisMaxItems
|
|
25
25
|
],
|
|
26
26
|
events: [
|
|
27
27
|
{
|
|
@@ -36,22 +36,22 @@ const C = {
|
|
|
36
36
|
]
|
|
37
37
|
}
|
|
38
38
|
]
|
|
39
|
-
},
|
|
39
|
+
}, u = o(r, t, {
|
|
40
40
|
props: (a) => ({
|
|
41
41
|
...a,
|
|
42
|
-
results:
|
|
42
|
+
results: i({
|
|
43
43
|
from: a.dataset,
|
|
44
44
|
select: [...a.measures, a.dimension]
|
|
45
45
|
})
|
|
46
46
|
}),
|
|
47
47
|
events: {
|
|
48
48
|
onBarClicked: (a) => ({
|
|
49
|
-
axisDimensionValue: a.axisDimensionValue ||
|
|
49
|
+
axisDimensionValue: a.axisDimensionValue || s.noFilter()
|
|
50
50
|
})
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
u as default,
|
|
55
|
+
t as meta
|
|
56
56
|
};
|
|
57
57
|
//# sourceMappingURL=BarChartDefaultHorizontalPro.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChartDefaultHorizontalPro.js","sources":["../src/components/charts/bars/BarChartDefaultHorizontalPro/BarChartDefaultHorizontalPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartDefaultHorizontalPro from './index';\nimport {
|
|
1
|
+
{"version":3,"file":"BarChartDefaultHorizontalPro.js","sources":["../src/components/charts/bars/BarChartDefaultHorizontalPro/BarChartDefaultHorizontalPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartDefaultHorizontalPro from './index';\nimport { inputs } from '../../../component.inputs.constants';\n\nexport const meta = {\n name: 'BarChartDefaultHorizontalPro',\n label: 'Bar Chart - Default Horizontal',\n category: 'Bar Charts',\n inputs: [\n inputs.dataset,\n inputs.measures,\n { ...inputs.dimensionWithDateBounds, label: 'Y-axis' },\n inputs.title,\n inputs.description,\n inputs.showLegend,\n inputs.showTooltips,\n inputs.showValueLabels,\n inputs.showLogarithmicScale,\n inputs.xAxisLabel,\n inputs.yAxisLabel,\n inputs.reverseYAxis,\n inputs.xAxisRangeMin,\n inputs.xAxisRangeMax,\n inputs.yAxisMaxItems,\n ],\n events: [\n {\n name: 'onBarClicked',\n label: 'A bar is clicked',\n properties: [\n {\n name: 'axisDimensionValue',\n label: 'Clicked Axis Dimension Value',\n type: 'string',\n },\n ],\n },\n ],\n} as const satisfies EmbeddedComponentMeta;\n\nexport default defineComponent(BarChartDefaultHorizontalPro, meta, {\n props: (inputs: Inputs<typeof meta>) => {\n return {\n ...inputs,\n results: loadData({\n from: inputs.dataset,\n select: [...inputs.measures, inputs.dimension],\n }),\n };\n },\n events: {\n onBarClicked: (value) => {\n return {\n axisDimensionValue: value.axisDimensionValue || Value.noFilter(),\n };\n },\n },\n});\n"],"names":["meta","inputs","BarChartDefaultHorizontalPro_emb","defineComponent","BarChartDefaultHorizontalPro","loadData","value","Value"],"mappings":";;;;AAKO,MAAMA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,QAAQ;AAAA,IACNC,EAAO;AAAA,IACPA,EAAO;AAAA,IACP,EAAE,GAAGA,EAAO,yBAAyB,OAAO,SAAA;AAAA,IAC5CA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,EAAA;AAAA,EAET,QAAQ;AAAA,IACN;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,YAAY;AAAA,QACV;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,UACP,MAAM;AAAA,QAAA;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAEJ,GAEAC,IAAeC,EAAgBC,GAA8BJ,GAAM;AAAA,EACjE,OAAO,CAACC,OACC;AAAA,IACL,GAAGA;AAAAA,IACH,SAASI,EAAS;AAAA,MAChB,MAAMJ,EAAO;AAAA,MACb,QAAQ,CAAC,GAAGA,EAAO,UAAUA,EAAO,SAAS;AAAA,IAAA,CAC9C;AAAA,EAAA;AAAA,EAGL,QAAQ;AAAA,IACN,cAAc,CAACK,OACN;AAAA,MACL,oBAAoBA,EAAM,sBAAsBC,EAAM,SAAA;AAAA,IAAS;AAAA,EAEnE;AAEJ,CAAC;"}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { V as
|
|
1
|
+
import { V as s, l as i } from "./Color.type.emb-ByiNbaI7.js";
|
|
2
2
|
import { defineComponent as r } from "@embeddable.com/react";
|
|
3
|
-
import { B as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
3
|
+
import { B as t } from "./index-BKcWHLSf.js";
|
|
4
|
+
import { b as e } from "./component.inputs.constants-FaX3B1CO.js";
|
|
5
|
+
const o = {
|
|
6
6
|
name: "BarChartDefaultPro",
|
|
7
7
|
label: "Bar Chart - Default",
|
|
8
8
|
category: "Bar Charts",
|
|
9
9
|
inputs: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{ ...
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
10
|
+
e.dataset,
|
|
11
|
+
e.measures,
|
|
12
|
+
{ ...e.dimensionWithDateBounds, label: "X-axis" },
|
|
13
|
+
e.title,
|
|
14
|
+
e.description,
|
|
15
|
+
e.showLegend,
|
|
16
|
+
e.showTooltips,
|
|
17
|
+
e.showValueLabels,
|
|
18
|
+
e.showLogarithmicScale,
|
|
19
|
+
e.xAxisLabel,
|
|
20
|
+
e.yAxisLabel,
|
|
21
|
+
e.reverseXAxis,
|
|
22
|
+
e.yAxisRangeMin,
|
|
23
|
+
e.yAxisRangeMax,
|
|
24
|
+
e.xAxisMaxItems
|
|
25
25
|
],
|
|
26
26
|
events: [
|
|
27
27
|
{
|
|
@@ -36,22 +36,22 @@ const C = {
|
|
|
36
36
|
]
|
|
37
37
|
}
|
|
38
38
|
]
|
|
39
|
-
},
|
|
39
|
+
}, x = r(t, o, {
|
|
40
40
|
props: (a) => ({
|
|
41
41
|
...a,
|
|
42
|
-
results:
|
|
42
|
+
results: i({
|
|
43
43
|
from: a.dataset,
|
|
44
44
|
select: [...a.measures, a.dimension]
|
|
45
45
|
})
|
|
46
46
|
}),
|
|
47
47
|
events: {
|
|
48
48
|
onBarClicked: (a) => ({
|
|
49
|
-
axisDimensionValue: a.axisDimensionValue ||
|
|
49
|
+
axisDimensionValue: a.axisDimensionValue || s.noFilter()
|
|
50
50
|
})
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
export {
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
x as default,
|
|
55
|
+
o as meta
|
|
56
56
|
};
|
|
57
57
|
//# sourceMappingURL=BarChartDefaultPro.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChartDefaultPro.js","sources":["../src/components/charts/bars/BarChartDefaultPro/BarChartDefaultPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartDefaultPro from './index';\nimport {
|
|
1
|
+
{"version":3,"file":"BarChartDefaultPro.js","sources":["../src/components/charts/bars/BarChartDefaultPro/BarChartDefaultPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartDefaultPro from './index';\nimport { inputs } from '../../../component.inputs.constants';\n\nexport const meta = {\n name: 'BarChartDefaultPro',\n label: 'Bar Chart - Default',\n category: 'Bar Charts',\n inputs: [\n inputs.dataset,\n inputs.measures,\n { ...inputs.dimensionWithDateBounds, label: 'X-axis' },\n inputs.title,\n inputs.description,\n inputs.showLegend,\n inputs.showTooltips,\n inputs.showValueLabels,\n inputs.showLogarithmicScale,\n inputs.xAxisLabel,\n inputs.yAxisLabel,\n inputs.reverseXAxis,\n inputs.yAxisRangeMin,\n inputs.yAxisRangeMax,\n inputs.xAxisMaxItems,\n ],\n events: [\n {\n name: 'onBarClicked',\n label: 'A bar is clicked',\n properties: [\n {\n name: 'axisDimensionValue',\n label: 'Clicked Axis Dimension Value',\n type: 'string',\n },\n ],\n },\n ],\n} as const satisfies EmbeddedComponentMeta;\n\nexport default defineComponent(BarChartDefaultPro, meta, {\n props: (inputs: Inputs<typeof meta>) => {\n return {\n ...inputs,\n results: loadData({\n from: inputs.dataset,\n select: [...inputs.measures, inputs.dimension],\n }),\n };\n },\n events: {\n onBarClicked: (value) => {\n return {\n axisDimensionValue: value.axisDimensionValue || Value.noFilter(),\n };\n },\n },\n});\n"],"names":["meta","inputs","BarChartDefaultPro_emb","defineComponent","BarChartDefaultPro","loadData","value","Value"],"mappings":";;;;AAKO,MAAMA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,QAAQ;AAAA,IACNC,EAAO;AAAA,IACPA,EAAO;AAAA,IACP,EAAE,GAAGA,EAAO,yBAAyB,OAAO,SAAA;AAAA,IAC5CA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,EAAA;AAAA,EAET,QAAQ;AAAA,IACN;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,YAAY;AAAA,QACV;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,UACP,MAAM;AAAA,QAAA;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAEJ,GAEAC,IAAeC,EAAgBC,GAAoBJ,GAAM;AAAA,EACvD,OAAO,CAACC,OACC;AAAA,IACL,GAAGA;AAAAA,IACH,SAASI,EAAS;AAAA,MAChB,MAAMJ,EAAO;AAAA,MACb,QAAQ,CAAC,GAAGA,EAAO,UAAUA,EAAO,SAAS;AAAA,IAAA,CAC9C;AAAA,EAAA;AAAA,EAGL,QAAQ;AAAA,IACN,cAAc,CAACK,OACN;AAAA,MACL,oBAAoBA,EAAM,sBAAsBC,EAAM,SAAA;AAAA,IAAS;AAAA,EAEnE;AAEJ,CAAC;"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { V as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { B as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
1
|
+
import { V as i, l as o } from "./Color.type.emb-ByiNbaI7.js";
|
|
2
|
+
import { defineComponent as r } from "@embeddable.com/react";
|
|
3
|
+
import { B as s } from "./index-BDPQ_c46.js";
|
|
4
|
+
import { b as e } from "./component.inputs.constants-FaX3B1CO.js";
|
|
5
|
+
const n = {
|
|
6
6
|
name: "BarChartGroupedHorizontalPro",
|
|
7
7
|
label: "Bar Chart - Grouped Horizontal",
|
|
8
8
|
category: "Bar Charts",
|
|
9
9
|
inputs: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{ ...
|
|
13
|
-
{ ...
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{ ...
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
e.dataset,
|
|
11
|
+
e.measure,
|
|
12
|
+
{ ...e.dimensionWithDateBounds, name: "yAxis", label: "Y-axis" },
|
|
13
|
+
{ ...e.dimension, name: "groupBy", label: "Group by" },
|
|
14
|
+
e.title,
|
|
15
|
+
e.description,
|
|
16
|
+
e.maxResults,
|
|
17
|
+
e.showLegend,
|
|
18
|
+
e.showTooltips,
|
|
19
|
+
{ ...e.showValueLabels, defaultValue: !1 },
|
|
20
|
+
e.showLogarithmicScale,
|
|
21
|
+
e.xAxisLabel,
|
|
22
|
+
e.yAxisLabel,
|
|
23
|
+
e.reverseYAxis,
|
|
24
|
+
e.xAxisRangeMin,
|
|
25
|
+
e.xAxisRangeMax
|
|
26
26
|
],
|
|
27
27
|
events: [
|
|
28
28
|
{
|
|
@@ -42,10 +42,10 @@ const C = {
|
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
|
-
},
|
|
45
|
+
}, p = r(s, n, {
|
|
46
46
|
props: (a) => ({
|
|
47
47
|
...a,
|
|
48
|
-
results:
|
|
48
|
+
results: o({
|
|
49
49
|
limit: a.maxResults,
|
|
50
50
|
from: a.dataset,
|
|
51
51
|
select: [a.yAxis, a.groupBy, a.measure]
|
|
@@ -53,13 +53,13 @@ const C = {
|
|
|
53
53
|
}),
|
|
54
54
|
events: {
|
|
55
55
|
onBarClicked: (a) => ({
|
|
56
|
-
axisDimensionValue: a.axisDimensionValue ||
|
|
57
|
-
groupingDimensionValue: a.groupingDimensionValue ||
|
|
56
|
+
axisDimensionValue: a.axisDimensionValue || i.noFilter(),
|
|
57
|
+
groupingDimensionValue: a.groupingDimensionValue || i.noFilter()
|
|
58
58
|
})
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
export {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
p as default,
|
|
63
|
+
n as meta
|
|
64
64
|
};
|
|
65
65
|
//# sourceMappingURL=BarChartGroupedHorizontalPro.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChartGroupedHorizontalPro.js","sources":["../src/components/charts/bars/BarChartGroupedHorizontalPro/BarChartGroupedHorizontalPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartGroupedHorizontalPro from './index';\nimport {
|
|
1
|
+
{"version":3,"file":"BarChartGroupedHorizontalPro.js","sources":["../src/components/charts/bars/BarChartGroupedHorizontalPro/BarChartGroupedHorizontalPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartGroupedHorizontalPro from './index';\nimport { inputs } from '../../../component.inputs.constants';\n\nexport const meta = {\n name: 'BarChartGroupedHorizontalPro',\n label: 'Bar Chart - Grouped Horizontal',\n category: 'Bar Charts',\n inputs: [\n inputs.dataset,\n inputs.measure,\n { ...inputs.dimensionWithDateBounds, name: 'yAxis', label: 'Y-axis' },\n { ...inputs.dimension, name: 'groupBy', label: 'Group by' },\n inputs.title,\n inputs.description,\n inputs.maxResults,\n inputs.showLegend,\n inputs.showTooltips,\n { ...inputs.showValueLabels, defaultValue: false },\n inputs.showLogarithmicScale,\n inputs.xAxisLabel,\n inputs.yAxisLabel,\n inputs.reverseYAxis,\n inputs.xAxisRangeMin,\n inputs.xAxisRangeMax,\n ],\n events: [\n {\n name: 'onBarClicked',\n label: 'A bar is clicked',\n properties: [\n {\n name: 'axisDimensionValue',\n label: 'Clicked Axis Dimension Value',\n type: 'string',\n },\n {\n name: 'groupingDimensionValue',\n label: 'Clicked Grouping Dimension Value',\n type: 'string',\n },\n ],\n },\n ],\n} as const satisfies EmbeddedComponentMeta;\n\nexport default defineComponent(BarChartGroupedHorizontalPro, meta, {\n props: (inputs: Inputs<typeof meta>) => {\n return {\n ...inputs,\n results: loadData({\n limit: inputs.maxResults,\n from: inputs.dataset,\n select: [inputs.yAxis, inputs.groupBy, inputs.measure],\n }),\n };\n },\n events: {\n onBarClicked: (value) => {\n return {\n axisDimensionValue: value.axisDimensionValue || Value.noFilter(),\n groupingDimensionValue: value.groupingDimensionValue || Value.noFilter(),\n };\n },\n },\n});\n"],"names":["meta","inputs","BarChartGroupedHorizontalPro_emb","defineComponent","BarChartGroupedHorizontalPro","loadData","value","Value"],"mappings":";;;;AAKO,MAAMA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,QAAQ;AAAA,IACNC,EAAO;AAAA,IACPA,EAAO;AAAA,IACP,EAAE,GAAGA,EAAO,yBAAyB,MAAM,SAAS,OAAO,SAAA;AAAA,IAC3D,EAAE,GAAGA,EAAO,WAAW,MAAM,WAAW,OAAO,WAAA;AAAA,IAC/CA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACP,EAAE,GAAGA,EAAO,iBAAiB,cAAc,GAAA;AAAA,IAC3CA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,EAAA;AAAA,EAET,QAAQ;AAAA,IACN;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,YAAY;AAAA,QACV;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,UACP,MAAM;AAAA,QAAA;AAAA,QAER;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,UACP,MAAM;AAAA,QAAA;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAEJ,GAEAC,IAAeC,EAAgBC,GAA8BJ,GAAM;AAAA,EACjE,OAAO,CAACC,OACC;AAAA,IACL,GAAGA;AAAAA,IACH,SAASI,EAAS;AAAA,MAChB,OAAOJ,EAAO;AAAA,MACd,MAAMA,EAAO;AAAA,MACb,QAAQ,CAACA,EAAO,OAAOA,EAAO,SAASA,EAAO,OAAO;AAAA,IAAA,CACtD;AAAA,EAAA;AAAA,EAGL,QAAQ;AAAA,IACN,cAAc,CAACK,OACN;AAAA,MACL,oBAAoBA,EAAM,sBAAsBC,EAAM,SAAA;AAAA,MACtD,wBAAwBD,EAAM,0BAA0BC,EAAM,SAAA;AAAA,IAAS;AAAA,EAE3E;AAEJ,CAAC;"}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { V as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { B as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
1
|
+
import { V as i, l as r } from "./Color.type.emb-ByiNbaI7.js";
|
|
2
|
+
import { defineComponent as s } from "@embeddable.com/react";
|
|
3
|
+
import { B as o } from "./index-DNXqnRoE.js";
|
|
4
|
+
import { b as e } from "./component.inputs.constants-FaX3B1CO.js";
|
|
5
|
+
const n = {
|
|
6
6
|
name: "BarChartGroupedPro",
|
|
7
7
|
label: "Bar Chart - Grouped",
|
|
8
8
|
category: "Bar Charts",
|
|
9
9
|
inputs: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{ ...
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{ ...
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
10
|
+
e.dataset,
|
|
11
|
+
e.measure,
|
|
12
|
+
{ ...e.dimensionWithDateBounds, name: "xAxis", label: "X-axis" },
|
|
13
|
+
e.groupBy,
|
|
14
|
+
e.title,
|
|
15
|
+
e.description,
|
|
16
|
+
e.maxResults,
|
|
17
|
+
e.showLegend,
|
|
18
|
+
e.showTooltips,
|
|
19
|
+
{ ...e.showValueLabels, defaultValue: !1 },
|
|
20
|
+
e.showLogarithmicScale,
|
|
21
|
+
e.xAxisLabel,
|
|
22
|
+
e.yAxisLabel,
|
|
23
|
+
e.reverseXAxis,
|
|
24
|
+
e.yAxisRangeMin,
|
|
25
|
+
e.yAxisRangeMax
|
|
26
26
|
],
|
|
27
27
|
events: [
|
|
28
28
|
{
|
|
@@ -42,24 +42,24 @@ const C = {
|
|
|
42
42
|
]
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
|
-
},
|
|
46
|
-
props: (
|
|
47
|
-
...
|
|
48
|
-
results:
|
|
49
|
-
limit:
|
|
50
|
-
from:
|
|
51
|
-
select: [
|
|
45
|
+
}, p = s(o, n, {
|
|
46
|
+
props: (a) => ({
|
|
47
|
+
...a,
|
|
48
|
+
results: r({
|
|
49
|
+
limit: a.maxResults,
|
|
50
|
+
from: a.dataset,
|
|
51
|
+
select: [a.xAxis, a.groupBy, a.measure]
|
|
52
52
|
})
|
|
53
53
|
}),
|
|
54
54
|
events: {
|
|
55
|
-
onBarClicked: (
|
|
56
|
-
axisDimensionValue:
|
|
57
|
-
groupingDimensionValue:
|
|
55
|
+
onBarClicked: (a) => ({
|
|
56
|
+
axisDimensionValue: a.axisDimensionValue || i.noFilter(),
|
|
57
|
+
groupingDimensionValue: a.groupingDimensionValue || i.noFilter()
|
|
58
58
|
})
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
61
|
export {
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
p as default,
|
|
63
|
+
n as meta
|
|
64
64
|
};
|
|
65
65
|
//# sourceMappingURL=BarChartGroupedPro.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChartGroupedPro.js","sources":["../src/components/charts/bars/BarChartGroupedPro/BarChartGroupedPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartGroupedPro from './index';\nimport {
|
|
1
|
+
{"version":3,"file":"BarChartGroupedPro.js","sources":["../src/components/charts/bars/BarChartGroupedPro/BarChartGroupedPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartGroupedPro from './index';\nimport { inputs } from '../../../component.inputs.constants';\n\nexport const meta = {\n name: 'BarChartGroupedPro',\n label: 'Bar Chart - Grouped',\n category: 'Bar Charts',\n inputs: [\n inputs.dataset,\n inputs.measure,\n { ...inputs.dimensionWithDateBounds, name: 'xAxis', label: 'X-axis' },\n inputs.groupBy,\n inputs.title,\n inputs.description,\n inputs.maxResults,\n inputs.showLegend,\n inputs.showTooltips,\n { ...inputs.showValueLabels, defaultValue: false },\n inputs.showLogarithmicScale,\n inputs.xAxisLabel,\n inputs.yAxisLabel,\n inputs.reverseXAxis,\n inputs.yAxisRangeMin,\n inputs.yAxisRangeMax,\n ],\n events: [\n {\n name: 'onBarClicked',\n label: 'A bar is clicked',\n properties: [\n {\n name: 'axisDimensionValue',\n label: 'Clicked Axis Dimension Value',\n type: 'string',\n },\n {\n name: 'groupingDimensionValue',\n label: 'Clicked Grouping Dimension Value',\n type: 'string',\n },\n ],\n },\n ],\n} as const satisfies EmbeddedComponentMeta;\n\nexport default defineComponent(BarChartGroupedPro, meta, {\n props: (inputs: Inputs<typeof meta>) => {\n return {\n ...inputs,\n results: loadData({\n limit: inputs.maxResults,\n from: inputs.dataset,\n select: [inputs.xAxis, inputs.groupBy, inputs.measure],\n }),\n };\n },\n events: {\n onBarClicked: (value) => {\n return {\n axisDimensionValue: value.axisDimensionValue || Value.noFilter(),\n groupingDimensionValue: value.groupingDimensionValue || Value.noFilter(),\n };\n },\n },\n});\n"],"names":["meta","inputs","BarChartGroupedPro_emb","defineComponent","BarChartGroupedPro","loadData","value","Value"],"mappings":";;;;AAKO,MAAMA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,QAAQ;AAAA,IACNC,EAAO;AAAA,IACPA,EAAO;AAAA,IACP,EAAE,GAAGA,EAAO,yBAAyB,MAAM,SAAS,OAAO,SAAA;AAAA,IAC3DA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACP,EAAE,GAAGA,EAAO,iBAAiB,cAAc,GAAA;AAAA,IAC3CA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,EAAA;AAAA,EAET,QAAQ;AAAA,IACN;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,YAAY;AAAA,QACV;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,UACP,MAAM;AAAA,QAAA;AAAA,QAER;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,UACP,MAAM;AAAA,QAAA;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAEJ,GAEAC,IAAeC,EAAgBC,GAAoBJ,GAAM;AAAA,EACvD,OAAO,CAACC,OACC;AAAA,IACL,GAAGA;AAAAA,IACH,SAASI,EAAS;AAAA,MAChB,OAAOJ,EAAO;AAAA,MACd,MAAMA,EAAO;AAAA,MACb,QAAQ,CAACA,EAAO,OAAOA,EAAO,SAASA,EAAO,OAAO;AAAA,IAAA,CACtD;AAAA,EAAA;AAAA,EAGL,QAAQ;AAAA,IACN,cAAc,CAACK,OACN;AAAA,MACL,oBAAoBA,EAAM,sBAAsBC,EAAM,SAAA;AAAA,MACtD,wBAAwBD,EAAM,0BAA0BC,EAAM,SAAA;AAAA,IAAS;AAAA,EAE3E;AAEJ,CAAC;"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { V as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { B as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
1
|
+
import { V as i, l as o } from "./Color.type.emb-ByiNbaI7.js";
|
|
2
|
+
import { defineComponent as s } from "@embeddable.com/react";
|
|
3
|
+
import { B as r } from "./index-CR69kGQc.js";
|
|
4
|
+
import { b as e } from "./component.inputs.constants-FaX3B1CO.js";
|
|
5
|
+
const t = {
|
|
6
6
|
name: "BarChartStackedHorizontalPro",
|
|
7
7
|
label: "Bar Chart - Stacked Horizontal",
|
|
8
8
|
category: "Bar Charts",
|
|
9
9
|
inputs: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{ ...
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{ ...
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
10
|
+
e.dataset,
|
|
11
|
+
e.measure,
|
|
12
|
+
{ ...e.dimensionWithDateBounds, name: "yAxis", label: "Y-axis" },
|
|
13
|
+
e.groupBy,
|
|
14
|
+
e.title,
|
|
15
|
+
e.description,
|
|
16
|
+
e.maxResults,
|
|
17
|
+
e.showLegend,
|
|
18
|
+
e.showTooltips,
|
|
19
|
+
{ ...e.showValueLabels, defaultValue: !1 },
|
|
20
|
+
e.showLogarithmicScale,
|
|
21
|
+
e.xAxisLabel,
|
|
22
|
+
e.yAxisLabel,
|
|
23
|
+
e.reverseYAxis,
|
|
24
|
+
e.xAxisRangeMin,
|
|
25
|
+
e.xAxisRangeMax,
|
|
26
|
+
e.showTotalLabels
|
|
27
27
|
],
|
|
28
28
|
events: [
|
|
29
29
|
{
|
|
@@ -43,10 +43,10 @@ const f = {
|
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
]
|
|
46
|
-
},
|
|
46
|
+
}, d = s(r, t, {
|
|
47
47
|
props: (a) => ({
|
|
48
48
|
...a,
|
|
49
|
-
results:
|
|
49
|
+
results: o({
|
|
50
50
|
limit: a.maxResults,
|
|
51
51
|
from: a.dataset,
|
|
52
52
|
select: [a.yAxis, a.groupBy, a.measure]
|
|
@@ -54,13 +54,13 @@ const f = {
|
|
|
54
54
|
}),
|
|
55
55
|
events: {
|
|
56
56
|
onBarClicked: (a) => ({
|
|
57
|
-
axisDimensionValue: a.axisDimensionValue ||
|
|
58
|
-
groupingDimensionValue: a.groupingDimensionValue ||
|
|
57
|
+
axisDimensionValue: a.axisDimensionValue || i.noFilter(),
|
|
58
|
+
groupingDimensionValue: a.groupingDimensionValue || i.noFilter()
|
|
59
59
|
})
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
export {
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
d as default,
|
|
64
|
+
t as meta
|
|
65
65
|
};
|
|
66
66
|
//# sourceMappingURL=BarChartStackedHorizontalPro.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChartStackedHorizontalPro.js","sources":["../src/components/charts/bars/BarChartStackedHorizontalPro/BarChartStackedHorizontalPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartStackedHorizontalPro from './index';\nimport {
|
|
1
|
+
{"version":3,"file":"BarChartStackedHorizontalPro.js","sources":["../src/components/charts/bars/BarChartStackedHorizontalPro/BarChartStackedHorizontalPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartStackedHorizontalPro from './index';\nimport { inputs } from '../../../component.inputs.constants';\n\nexport const meta = {\n name: 'BarChartStackedHorizontalPro',\n label: 'Bar Chart - Stacked Horizontal',\n category: 'Bar Charts',\n inputs: [\n inputs.dataset,\n inputs.measure,\n { ...inputs.dimensionWithDateBounds, name: 'yAxis', label: 'Y-axis' },\n inputs.groupBy,\n inputs.title,\n inputs.description,\n inputs.maxResults,\n inputs.showLegend,\n inputs.showTooltips,\n { ...inputs.showValueLabels, defaultValue: false },\n inputs.showLogarithmicScale,\n inputs.xAxisLabel,\n inputs.yAxisLabel,\n inputs.reverseYAxis,\n inputs.xAxisRangeMin,\n inputs.xAxisRangeMax,\n inputs.showTotalLabels,\n ],\n events: [\n {\n name: 'onBarClicked',\n label: 'A bar is clicked',\n properties: [\n {\n name: 'axisDimensionValue',\n label: 'Clicked Axis Dimension Value',\n type: 'string',\n },\n {\n name: 'groupingDimensionValue',\n label: 'Clicked Grouping Dimension Value',\n type: 'string',\n },\n ],\n },\n ],\n} as const satisfies EmbeddedComponentMeta;\n\nexport default defineComponent(BarChartStackedHorizontalPro, meta, {\n props: (inputs: Inputs<typeof meta>) => {\n return {\n ...inputs,\n results: loadData({\n limit: inputs.maxResults,\n from: inputs.dataset,\n select: [inputs.yAxis, inputs.groupBy, inputs.measure],\n }),\n };\n },\n events: {\n onBarClicked: (value) => {\n return {\n axisDimensionValue: value.axisDimensionValue || Value.noFilter(),\n groupingDimensionValue: value.groupingDimensionValue || Value.noFilter(),\n };\n },\n },\n});\n"],"names":["meta","inputs","BarChartStackedHorizontalPro_emb","defineComponent","BarChartStackedHorizontalPro","loadData","value","Value"],"mappings":";;;;AAKO,MAAMA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,QAAQ;AAAA,IACNC,EAAO;AAAA,IACPA,EAAO;AAAA,IACP,EAAE,GAAGA,EAAO,yBAAyB,MAAM,SAAS,OAAO,SAAA;AAAA,IAC3DA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACP,EAAE,GAAGA,EAAO,iBAAiB,cAAc,GAAA;AAAA,IAC3CA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,EAAA;AAAA,EAET,QAAQ;AAAA,IACN;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,YAAY;AAAA,QACV;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,UACP,MAAM;AAAA,QAAA;AAAA,QAER;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,UACP,MAAM;AAAA,QAAA;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAEJ,GAEAC,IAAeC,EAAgBC,GAA8BJ,GAAM;AAAA,EACjE,OAAO,CAACC,OACC;AAAA,IACL,GAAGA;AAAAA,IACH,SAASI,EAAS;AAAA,MAChB,OAAOJ,EAAO;AAAA,MACd,MAAMA,EAAO;AAAA,MACb,QAAQ,CAACA,EAAO,OAAOA,EAAO,SAASA,EAAO,OAAO;AAAA,IAAA,CACtD;AAAA,EAAA;AAAA,EAGL,QAAQ;AAAA,IACN,cAAc,CAACK,OACN;AAAA,MACL,oBAAoBA,EAAM,sBAAsBC,EAAM,SAAA;AAAA,MACtD,wBAAwBD,EAAM,0BAA0BC,EAAM,SAAA;AAAA,IAAS;AAAA,EAE3E;AAEJ,CAAC;"}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { V as
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
import { B as
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
1
|
+
import { V as i, l as s } from "./Color.type.emb-ByiNbaI7.js";
|
|
2
|
+
import { defineComponent as o } from "@embeddable.com/react";
|
|
3
|
+
import { B as r } from "./index-B15C4kTf.js";
|
|
4
|
+
import { b as e } from "./component.inputs.constants-FaX3B1CO.js";
|
|
5
|
+
const t = {
|
|
6
6
|
name: "BarChartStackedPro",
|
|
7
7
|
label: "Bar Chart - Stacked",
|
|
8
8
|
category: "Bar Charts",
|
|
9
9
|
inputs: [
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
{ ...
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
{ ...
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
10
|
+
e.dataset,
|
|
11
|
+
e.measure,
|
|
12
|
+
{ ...e.dimensionWithDateBounds, name: "xAxis", label: "X-axis" },
|
|
13
|
+
e.groupBy,
|
|
14
|
+
e.title,
|
|
15
|
+
e.description,
|
|
16
|
+
e.maxResults,
|
|
17
|
+
e.showLegend,
|
|
18
|
+
e.showTooltips,
|
|
19
|
+
{ ...e.showValueLabels, defaultValue: !1 },
|
|
20
|
+
e.showLogarithmicScale,
|
|
21
|
+
e.xAxisLabel,
|
|
22
|
+
e.yAxisLabel,
|
|
23
|
+
e.reverseXAxis,
|
|
24
|
+
e.yAxisRangeMin,
|
|
25
|
+
e.yAxisRangeMax,
|
|
26
|
+
e.showTotalLabels
|
|
27
27
|
],
|
|
28
28
|
events: [
|
|
29
29
|
{
|
|
@@ -43,7 +43,7 @@ const f = {
|
|
|
43
43
|
]
|
|
44
44
|
}
|
|
45
45
|
]
|
|
46
|
-
},
|
|
46
|
+
}, d = o(r, t, {
|
|
47
47
|
props: (a) => ({
|
|
48
48
|
...a,
|
|
49
49
|
results: s({
|
|
@@ -54,13 +54,13 @@ const f = {
|
|
|
54
54
|
}),
|
|
55
55
|
events: {
|
|
56
56
|
onBarClicked: (a) => ({
|
|
57
|
-
axisDimensionValue: a.axisDimensionValue ||
|
|
58
|
-
groupingDimensionValue: a.groupingDimensionValue ||
|
|
57
|
+
axisDimensionValue: a.axisDimensionValue || i.noFilter(),
|
|
58
|
+
groupingDimensionValue: a.groupingDimensionValue || i.noFilter()
|
|
59
59
|
})
|
|
60
60
|
}
|
|
61
61
|
});
|
|
62
62
|
export {
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
d as default,
|
|
64
|
+
t as meta
|
|
65
65
|
};
|
|
66
66
|
//# sourceMappingURL=BarChartStackedPro.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BarChartStackedPro.js","sources":["../src/components/charts/bars/BarChartStackedPro/BarChartStackedPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartStackedPro from './index';\nimport {
|
|
1
|
+
{"version":3,"file":"BarChartStackedPro.js","sources":["../src/components/charts/bars/BarChartStackedPro/BarChartStackedPro.emb.ts"],"sourcesContent":["import { Value, loadData } from '@embeddable.com/core';\nimport { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport BarChartStackedPro from './index';\nimport { inputs } from '../../../component.inputs.constants';\n\nexport const meta = {\n name: 'BarChartStackedPro',\n label: 'Bar Chart - Stacked',\n category: 'Bar Charts',\n inputs: [\n inputs.dataset,\n inputs.measure,\n { ...inputs.dimensionWithDateBounds, name: 'xAxis', label: 'X-axis' },\n inputs.groupBy,\n inputs.title,\n inputs.description,\n inputs.maxResults,\n inputs.showLegend,\n inputs.showTooltips,\n { ...inputs.showValueLabels, defaultValue: false },\n inputs.showLogarithmicScale,\n inputs.xAxisLabel,\n inputs.yAxisLabel,\n inputs.reverseXAxis,\n inputs.yAxisRangeMin,\n inputs.yAxisRangeMax,\n inputs.showTotalLabels,\n ],\n events: [\n {\n name: 'onBarClicked',\n label: 'A bar is clicked',\n properties: [\n {\n name: 'axisDimensionValue',\n label: 'Clicked Axis Dimension Value',\n type: 'string',\n },\n {\n name: 'groupingDimensionValue',\n label: 'Clicked Grouping Dimension Value',\n type: 'string',\n },\n ],\n },\n ],\n} as const satisfies EmbeddedComponentMeta;\n\nexport default defineComponent(BarChartStackedPro, meta, {\n props: (inputs: Inputs<typeof meta>) => {\n return {\n ...inputs,\n results: loadData({\n limit: inputs.maxResults,\n from: inputs.dataset,\n select: [inputs.xAxis, inputs.groupBy, inputs.measure],\n }),\n };\n },\n events: {\n onBarClicked: (value) => {\n return {\n axisDimensionValue: value.axisDimensionValue || Value.noFilter(),\n groupingDimensionValue: value.groupingDimensionValue || Value.noFilter(),\n };\n },\n },\n});\n"],"names":["meta","inputs","BarChartStackedPro_emb","defineComponent","BarChartStackedPro","loadData","value","Value"],"mappings":";;;;AAKO,MAAMA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,QAAQ;AAAA,IACNC,EAAO;AAAA,IACPA,EAAO;AAAA,IACP,EAAE,GAAGA,EAAO,yBAAyB,MAAM,SAAS,OAAO,SAAA;AAAA,IAC3DA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACP,EAAE,GAAGA,EAAO,iBAAiB,cAAc,GAAA;AAAA,IAC3CA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,IACPA,EAAO;AAAA,EAAA;AAAA,EAET,QAAQ;AAAA,IACN;AAAA,MACE,MAAM;AAAA,MACN,OAAO;AAAA,MACP,YAAY;AAAA,QACV;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,UACP,MAAM;AAAA,QAAA;AAAA,QAER;AAAA,UACE,MAAM;AAAA,UACN,OAAO;AAAA,UACP,MAAM;AAAA,QAAA;AAAA,MACR;AAAA,IACF;AAAA,EACF;AAEJ,GAEAC,IAAeC,EAAgBC,GAAoBJ,GAAM;AAAA,EACvD,OAAO,CAACC,OACC;AAAA,IACL,GAAGA;AAAAA,IACH,SAASI,EAAS;AAAA,MAChB,OAAOJ,EAAO;AAAA,MACd,MAAMA,EAAO;AAAA,MACb,QAAQ,CAACA,EAAO,OAAOA,EAAO,SAASA,EAAO,OAAO;AAAA,IAAA,CACtD;AAAA,EAAA;AAAA,EAGL,QAAQ;AAAA,IACN,cAAc,CAACK,OACN;AAAA,MACL,oBAAoBA,EAAM,sBAAsBC,EAAM,SAAA;AAAA,MACtD,wBAAwBD,EAAM,0BAA0BC,EAAM,SAAA;AAAA,IAAS;AAAA,EAE3E;AAEJ,CAAC;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as R, j as t, Q as I, x as S, y as L, z as N, A as k, C as D,
|
|
1
|
+
import { t as R, j as t, Q as I, x as S, y as L, z as N, A as k, C as D, p as M, R as x, q as b, U as T, r as _ } from "./Color.type.emb-ByiNbaI7.js";
|
|
2
2
|
import f, { useRef as w } from "react";
|
|
3
3
|
import { useTheme as j } from "@embeddable.com/react";
|
|
4
|
-
import { a as p, i as m,
|
|
4
|
+
import { a as p, i as m, I as A } from "./component.inputs.constants-FaX3B1CO.js";
|
|
5
5
|
/**
|
|
6
6
|
* @license @tabler/icons-react v3.36.0 - MIT
|
|
7
7
|
*
|
|
@@ -121,4 +121,4 @@ G.displayName = "ChartCard";
|
|
|
121
121
|
export {
|
|
122
122
|
G as C
|
|
123
123
|
};
|
|
124
|
-
//# sourceMappingURL=ChartCard-
|
|
124
|
+
//# sourceMappingURL=ChartCard-BEIVgW77.js.map
|