@embeddable.com/remarkable-pro 0.0.19 → 0.0.20
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 +3 -3
- package/dist/BarChartDefaultPro.js +3 -3
- package/dist/BarChartGroupedHorizontalPro.js +3 -3
- package/dist/BarChartGroupedPro.js +3 -3
- package/dist/BarChartStackedHorizontalPro.js +3 -3
- package/dist/BarChartStackedPro.js +3 -3
- package/dist/{ChartCard-DsPc_21K.js → ChartCard-B5IaBBTs.js} +20 -20
- package/dist/{ChartCard-DsPc_21K.js.map → ChartCard-B5IaBBTs.js.map} +1 -1
- package/dist/{Color.type.emb-B6HPqRjW.js → Color.type.emb-C4VcPjfM.js} +62 -61
- package/dist/{Color.type.emb-B6HPqRjW.js.map → Color.type.emb-C4VcPjfM.js.map} +1 -1
- package/dist/ColorEditor.js +1 -1
- package/dist/ComparisonPeriodSelectFieldPro.js +3 -3
- package/dist/DateRangePickerCustomPro.js +3 -3
- package/dist/DateRangeSelectFieldPro.js +3 -3
- package/dist/DonutChartPro.js +3 -3
- package/dist/DonutLabelChartPro.js +3 -3
- package/dist/{EditorCard-aOGeW4jt.js → EditorCard-CcsUaHcd.js} +5 -5
- package/dist/{EditorCard-aOGeW4jt.js.map → EditorCard-CcsUaHcd.js.map} +1 -1
- package/dist/GranularitySelectFieldPro.js +3 -3
- package/dist/HeatMapPro.js +3 -3
- package/dist/KpiChartNumberComparisonPro.js +3 -3
- package/dist/KpiChartNumberPro.js +3 -3
- package/dist/LineChartComparisonDefaultPro.js +3 -3
- package/dist/LineChartDefaultPro.js +3 -3
- package/dist/LineChartGroupedPro.js +3 -3
- package/dist/MultiSelectFieldPro.js +3 -3
- package/dist/PieChartPro.js +3 -3
- package/dist/PivotTablePro.js +3 -3
- package/dist/SingleSelectFieldPro.js +3 -3
- package/dist/TableChartPaginated.js +3 -3
- package/dist/TableScrollable.js +4 -4
- package/dist/{bars.utils-DtHJ7gBc.js → bars.utils-Ck1w7NOo.js} +35 -35
- package/dist/bars.utils-Ck1w7NOo.js.map +1 -0
- package/dist/{charts.utils-DM6cHNrK.js → charts.utils-g6NE_Jo3.js} +4 -4
- package/dist/{charts.utils-DM6cHNrK.js.map → charts.utils-g6NE_Jo3.js.map} +1 -1
- package/dist/{component.inputs.constants-jJBFejC-.js → component.inputs.constants-DN1efWXx.js} +26 -26
- package/dist/{component.inputs.constants-jJBFejC-.js.map → component.inputs.constants-DN1efWXx.js.map} +1 -1
- package/dist/components/charts/bars/bars.utils.d.ts.map +1 -1
- package/dist/embeddable-components.json +14 -14
- package/dist/{formatter.utils-BUUUf91Q.js → formatter.utils-pzrkapRL.js} +2 -2
- package/dist/{formatter.utils-BUUUf91Q.js.map → formatter.utils-pzrkapRL.js.map} +1 -1
- package/dist/{index-DZ_H2OEY.js → index-1mMgdK6h.js} +5 -5
- package/dist/{index-DZ_H2OEY.js.map → index-1mMgdK6h.js.map} +1 -1
- package/dist/{index-Bif__GxM.js → index-4mTCN1nI.js} +5 -5
- package/dist/{index-Bif__GxM.js.map → index-4mTCN1nI.js.map} +1 -1
- package/dist/{index-CxgncSEN.js → index-53w_cRnE.js} +5 -5
- package/dist/{index-CxgncSEN.js.map → index-53w_cRnE.js.map} +1 -1
- package/dist/{index-CKT9qwYq.js → index-7Vgn0Xsn.js} +5 -5
- package/dist/{index-CKT9qwYq.js.map → index-7Vgn0Xsn.js.map} +1 -1
- package/dist/{index-Z5AHoasI.js → index-B6z6eyJE.js} +5 -5
- package/dist/{index-Z5AHoasI.js.map → index-B6z6eyJE.js.map} +1 -1
- package/dist/{index-F6XINVuQ.js → index-BEYR5f2d.js} +5 -5
- package/dist/{index-F6XINVuQ.js.map → index-BEYR5f2d.js.map} +1 -1
- package/dist/{index-D0Y3IwQg.js → index-BUWTt_8s.js} +5 -5
- package/dist/{index-D0Y3IwQg.js.map → index-BUWTt_8s.js.map} +1 -1
- package/dist/{index-DZIiW5Nz.js → index-BjuvAqGb.js} +4 -4
- package/dist/{index-DZIiW5Nz.js.map → index-BjuvAqGb.js.map} +1 -1
- package/dist/{index-BcDgD_JS.js → index-Brl5KgVS.js} +5 -5
- package/dist/{index-BcDgD_JS.js.map → index-Brl5KgVS.js.map} +1 -1
- package/dist/{index-B-Tq5-JV.js → index-C_ExmNre.js} +5 -5
- package/dist/{index-B-Tq5-JV.js.map → index-C_ExmNre.js.map} +1 -1
- package/dist/{index-LhNKcA1s.js → index-Cdu6WHsa.js} +4 -4
- package/dist/{index-LhNKcA1s.js.map → index-Cdu6WHsa.js.map} +1 -1
- package/dist/{index-CZ9Sw8H3.js → index-Cr68Ha2O.js} +5 -5
- package/dist/{index-CZ9Sw8H3.js.map → index-Cr68Ha2O.js.map} +1 -1
- package/dist/{index-cLri0mtu.js → index-DCVqVqS5.js} +6 -6
- package/dist/{index-cLri0mtu.js.map → index-DCVqVqS5.js.map} +1 -1
- package/dist/{index-Ct3Qtgor.js → index-DG77FUkS.js} +5 -5
- package/dist/{index-Ct3Qtgor.js.map → index-DG77FUkS.js.map} +1 -1
- package/dist/{index-CQlKWTOb.js → index-DHYMtecu.js} +5 -5
- package/dist/{index-CQlKWTOb.js.map → index-DHYMtecu.js.map} +1 -1
- package/dist/{index-DF_tK19U.js → index-DXVl7yqM.js} +5 -5
- package/dist/{index-DF_tK19U.js.map → index-DXVl7yqM.js.map} +1 -1
- package/dist/{index-dov3IPMj.js → index-DXkwaXvx.js} +6 -6
- package/dist/{index-dov3IPMj.js.map → index-DXkwaXvx.js.map} +1 -1
- package/dist/{index-DVPIPYNB.js → index-Dy4jGo4x.js} +5 -5
- package/dist/{index-DVPIPYNB.js.map → index-Dy4jGo4x.js.map} +1 -1
- package/dist/{index-8A8KFAVc.js → index-JiDnk-OU.js} +5 -5
- package/dist/{index-8A8KFAVc.js.map → index-JiDnk-OU.js.map} +1 -1
- package/dist/{index-grfYNj7h.js → index-T15Mxwpw.js} +6 -6
- package/dist/{index-grfYNj7h.js.map → index-T15Mxwpw.js.map} +1 -1
- package/dist/{index-DVE9YBTf.js → index-t3j3ZF8E.js} +5 -5
- package/dist/{index-DVE9YBTf.js.map → index-t3j3ZF8E.js.map} +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +83 -83
- package/dist/{pies.utils-CIDqAzCT.js → pies.utils-dB2uJu3l.js} +5 -5
- package/dist/{pies.utils-CIDqAzCT.js.map → pies.utils-dB2uJu3l.js.map} +1 -1
- package/dist/{tables.utils-BVdgLNxV.js → tables.utils-B8IT-c8T.js} +4 -4
- package/dist/{tables.utils-BVdgLNxV.js.map → tables.utils-B8IT-c8T.js.map} +1 -1
- package/dist/{timeRange.utils-xV5aEhJD.js → timeRange.utils-DIFMUM1C.js} +2 -2
- package/dist/{timeRange.utils-xV5aEhJD.js.map → timeRange.utils-DIFMUM1C.js.map} +1 -1
- package/package.json +1 -1
- package/dist/bars.utils-DtHJ7gBc.js.map +0 -1
package/dist/ColorEditor.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineEditor as l } from "@embeddable.com/react";
|
|
2
|
-
import { j as r, A as a, I as i,
|
|
2
|
+
import { j as r, A as a, I as i, r as p, V as u } from "./Color.type.emb-C4VcPjfM.js";
|
|
3
3
|
import { useState as m, useEffect as C } from "react";
|
|
4
4
|
const I = "_colorInputContainer_1o1qe_1", d = "_colorInput_1o1qe_1", s = {
|
|
5
5
|
colorInputContainer: I,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as i } from "@embeddable.com/react";
|
|
2
|
-
import { V as r } from "./Color.type.emb-
|
|
3
|
-
import { D as t } from "./index-
|
|
4
|
-
import { b as e, C as a } from "./component.inputs.constants-
|
|
2
|
+
import { V as r } from "./Color.type.emb-C4VcPjfM.js";
|
|
3
|
+
import { D as t } from "./index-BjuvAqGb.js";
|
|
4
|
+
import { b as e, C as a } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const n = {
|
|
6
6
|
name: "ComparisonPeriodSelectFieldPro",
|
|
7
7
|
label: "Comparison Period Select Field",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useTheme as v, defineComponent as C } from "@embeddable.com/react";
|
|
2
|
-
import { j as l, f as y, V as s } from "./Color.type.emb-
|
|
2
|
+
import { j as l, f as y, V as s } from "./Color.type.emb-C4VcPjfM.js";
|
|
3
3
|
import { u as D, g as P, a as V, b as w } from "./dates.utils-BF32dTLi.js";
|
|
4
|
-
import { a as S, r as j, i as k, b as a } from "./component.inputs.constants-
|
|
5
|
-
import { E as M } from "./EditorCard-
|
|
4
|
+
import { a as S, r as j, i as k, b as a } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
|
+
import { E as M } from "./EditorCard-CcsUaHcd.js";
|
|
6
6
|
const T = (e) => {
|
|
7
7
|
const t = v();
|
|
8
8
|
S(t);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as n } from "@embeddable.com/react";
|
|
2
|
-
import { V as t } from "./Color.type.emb-
|
|
3
|
-
import { D as l } from "./index-
|
|
4
|
-
import { b as e } from "./component.inputs.constants-
|
|
2
|
+
import { V as t } from "./Color.type.emb-C4VcPjfM.js";
|
|
3
|
+
import { D as l } from "./index-Cdu6WHsa.js";
|
|
4
|
+
import { b as e } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const o = {
|
|
6
6
|
name: "DateRangeSelectFieldPro",
|
|
7
7
|
label: "Date-Range Picker - Presets",
|
package/dist/DonutChartPro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { V as o, l as n } from "./Color.type.emb-
|
|
1
|
+
import { V as o, l as n } from "./Color.type.emb-C4VcPjfM.js";
|
|
2
2
|
import { defineComponent as a } from "@embeddable.com/react";
|
|
3
|
-
import { D as s } from "./index-
|
|
4
|
-
import { b as e } from "./component.inputs.constants-
|
|
3
|
+
import { D as s } from "./index-JiDnk-OU.js";
|
|
4
|
+
import { b as e } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const r = {
|
|
6
6
|
name: "DonutChartPro",
|
|
7
7
|
label: "Donut Chart",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as n } from "./index-
|
|
2
|
-
import { V as r, l as t } from "./Color.type.emb-
|
|
1
|
+
import { D as n } from "./index-DCVqVqS5.js";
|
|
2
|
+
import { V as r, l as t } from "./Color.type.emb-C4VcPjfM.js";
|
|
3
3
|
import { defineComponent as o } from "@embeddable.com/react";
|
|
4
|
-
import { b as e } from "./component.inputs.constants-
|
|
4
|
+
import { b as e } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const s = {
|
|
6
6
|
name: "DonutLabelChartPro",
|
|
7
7
|
label: "Donut Label Chart",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { j as r,
|
|
1
|
+
import { j as r, n as c, o as d, p as m, q as l } from "./Color.type.emb-C4VcPjfM.js";
|
|
2
2
|
import { useTheme as p } from "@embeddable.com/react";
|
|
3
|
-
import { a as
|
|
3
|
+
import { a as x, i as C, I as j } from "./component.inputs.constants-DN1efWXx.js";
|
|
4
4
|
const u = "_card_15bw3_1", f = {
|
|
5
5
|
card: u
|
|
6
6
|
}, b = ({
|
|
@@ -11,13 +11,13 @@ const u = "_card_15bw3_1", f = {
|
|
|
11
11
|
...n
|
|
12
12
|
}) => {
|
|
13
13
|
const o = p();
|
|
14
|
-
|
|
14
|
+
x(o);
|
|
15
15
|
const i = () => s ? /* @__PURE__ */ r.jsx(
|
|
16
16
|
l,
|
|
17
17
|
{
|
|
18
18
|
variant: "error",
|
|
19
19
|
icon: j,
|
|
20
|
-
title:
|
|
20
|
+
title: C.t("editors.errorTitle"),
|
|
21
21
|
message: s
|
|
22
22
|
}
|
|
23
23
|
) : a;
|
|
@@ -29,4 +29,4 @@ const u = "_card_15bw3_1", f = {
|
|
|
29
29
|
export {
|
|
30
30
|
b as E
|
|
31
31
|
};
|
|
32
|
-
//# sourceMappingURL=EditorCard-
|
|
32
|
+
//# sourceMappingURL=EditorCard-CcsUaHcd.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorCard-
|
|
1
|
+
{"version":3,"file":"EditorCard-CcsUaHcd.js","sources":["../src/components/editors/shared/EditorCard/EditorCard.tsx"],"sourcesContent":["import { useTheme } from '@embeddable.com/react';\nimport { i18n, i18nSetup } from '../../../../theme/i18n/i18n';\nimport styles from './EditorCard.module.css';\nimport { FC } from 'react';\nimport { Theme } from '../../../../theme/theme.types';\nimport { Card, CardContent, CardFeedback, CardHeader } from '@embeddable.com/remarkable-ui';\nimport { IconAlertCircle } from '@tabler/icons-react';\n\ntype EditorCardProps = {\n title?: string;\n subtitle?: string;\n children: React.ReactNode;\n errorMessage?: string;\n};\n\nexport const EditorCard: FC<EditorCardProps> = ({\n title,\n subtitle,\n children,\n errorMessage,\n ...props\n}) => {\n const theme: Theme = useTheme() as Theme;\n i18nSetup(theme);\n\n const getDisplay = () => {\n if (errorMessage) {\n return (\n <CardFeedback\n variant=\"error\"\n icon={IconAlertCircle}\n title={i18n.t('editors.errorTitle')}\n message={errorMessage}\n />\n );\n }\n\n return children;\n };\n\n return (\n <Card className={styles.card} {...props}>\n <CardHeader title={title} subtitle={subtitle} />\n <CardContent>{getDisplay()}</CardContent>\n </Card>\n );\n};\n"],"names":["EditorCard","title","subtitle","children","errorMessage","props","theme","useTheme","i18nSetup","getDisplay","jsx","CardFeedback","IconAlertCircle","i18n","Card","styles","CardHeader","CardContent"],"mappings":";;;;;GAeaA,IAAkC,CAAC;AAAA,EAC9C,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,UAAAC;AAAA,EACA,cAAAC;AAAA,EACA,GAAGC;AACL,MAAM;AACJ,QAAMC,IAAeC,EAAA;AACrB,EAAAC,EAAUF,CAAK;AAEf,QAAMG,IAAa,MACbL,IAEAM,gBAAAA,EAAAA;AAAAA,IAACC;AAAA,IAAA;AAAA,MACC,SAAQ;AAAA,MACR,MAAMC;AAAA,MACN,OAAOC,EAAK,EAAE,oBAAoB;AAAA,MAClC,SAAST;AAAA,IAAA;AAAA,EAAA,IAKRD;AAGT,gCACGW,GAAA,EAAK,WAAWC,EAAO,MAAO,GAAGV,GAChC,UAAA;AAAA,IAAAK,gBAAAA,EAAAA,IAACM,GAAA,EAAW,OAAAf,GAAc,UAAAC,EAAA,CAAoB;AAAA,IAC9CQ,gBAAAA,EAAAA,IAACO,GAAA,EAAa,UAAAR,EAAA,EAAW,CAAE;AAAA,EAAA,GAC7B;AAEJ;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useTheme as T, defineComponent as w } from "@embeddable.com/react";
|
|
2
|
-
import { j as m, S as F, V as C } from "./Color.type.emb-
|
|
2
|
+
import { j as m, S as F, V as C } from "./Color.type.emb-C4VcPjfM.js";
|
|
3
3
|
import { useMemo as O, useEffect as k } from "react";
|
|
4
|
-
import { c as E, a as G, r as D, b as i } from "./component.inputs.constants-
|
|
5
|
-
import { E as P } from "./EditorCard-
|
|
4
|
+
import { c as E, a as G, r as D, b as i } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
|
+
import { E as P } from "./EditorCard-CcsUaHcd.js";
|
|
6
6
|
const t = {
|
|
7
7
|
second: "second",
|
|
8
8
|
minute: "minute",
|
package/dist/HeatMapPro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as t, l as a } from "./Color.type.emb-
|
|
1
|
+
import { g as t, l as a } from "./Color.type.emb-C4VcPjfM.js";
|
|
2
2
|
import { defineComponent as n } from "@embeddable.com/react";
|
|
3
|
-
import { H as i } from "./index-
|
|
4
|
-
import { b as e } from "./component.inputs.constants-
|
|
3
|
+
import { H as i } from "./index-BUWTt_8s.js";
|
|
4
|
+
import { b as e } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const r = {
|
|
6
6
|
name: "HeatMapPro",
|
|
7
7
|
label: "Heat Map",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as n } from "@embeddable.com/react";
|
|
2
|
-
import { K as m } from "./index-
|
|
3
|
-
import { l as r } from "./Color.type.emb-
|
|
4
|
-
import { b as a } from "./component.inputs.constants-
|
|
2
|
+
import { K as m } from "./index-T15Mxwpw.js";
|
|
3
|
+
import { l as r } from "./Color.type.emb-C4VcPjfM.js";
|
|
4
|
+
import { b as a } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const l = {
|
|
6
6
|
name: "KpiChartNumberComparisonPro",
|
|
7
7
|
label: "Kpi Chart - Number Comparison",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as e } from "@embeddable.com/react";
|
|
2
|
-
import { K as a } from "./index-
|
|
3
|
-
import { l as o } from "./Color.type.emb-
|
|
4
|
-
import { b as r } from "./component.inputs.constants-
|
|
2
|
+
import { K as a } from "./index-DG77FUkS.js";
|
|
3
|
+
import { l as o } from "./Color.type.emb-C4VcPjfM.js";
|
|
4
|
+
import { b as r } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const m = {
|
|
6
6
|
name: "KpiChartNumberPro",
|
|
7
7
|
label: "Kpi Chart - Number",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as m } from "@embeddable.com/react";
|
|
2
|
-
import { L as p } from "./index-
|
|
3
|
-
import { V as c, l as s } from "./Color.type.emb-
|
|
4
|
-
import { b as e, s as i } from "./component.inputs.constants-
|
|
2
|
+
import { L as p } from "./index-DXkwaXvx.js";
|
|
3
|
+
import { V as c, l as s } from "./Color.type.emb-C4VcPjfM.js";
|
|
4
|
+
import { b as e, s as i } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const d = {
|
|
6
6
|
name: "LineChartComparisonDefaultPro",
|
|
7
7
|
label: "Line Chart Comparison - Default",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as s } from "@embeddable.com/react";
|
|
2
|
-
import { L as n } from "./index-
|
|
3
|
-
import { V as i, l as o } from "./Color.type.emb-
|
|
4
|
-
import { b as e, s as l } from "./component.inputs.constants-
|
|
2
|
+
import { L as n } from "./index-C_ExmNre.js";
|
|
3
|
+
import { V as i, l as o } from "./Color.type.emb-C4VcPjfM.js";
|
|
4
|
+
import { b as e, s as l } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const t = {
|
|
6
6
|
name: "LineChartDefaultPro",
|
|
7
7
|
label: "Line Chart - Default",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as a } from "@embeddable.com/react";
|
|
2
|
-
import { L as o } from "./index-
|
|
3
|
-
import { V as i, l as s } from "./Color.type.emb-
|
|
4
|
-
import { b as e } from "./component.inputs.constants-
|
|
2
|
+
import { L as o } from "./index-Cr68Ha2O.js";
|
|
3
|
+
import { V as i, l as s } from "./Color.type.emb-C4VcPjfM.js";
|
|
4
|
+
import { b as e } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const t = {
|
|
6
6
|
name: "LineChartGroupedPro",
|
|
7
7
|
label: "Line Chart - Grouped",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r } from "@embeddable.com/react";
|
|
2
|
-
import { V as t, l as s } from "./Color.type.emb-
|
|
3
|
-
import { M as d, a as u } from "./index-
|
|
4
|
-
import { b as a } from "./component.inputs.constants-
|
|
2
|
+
import { V as t, l as s } from "./Color.type.emb-C4VcPjfM.js";
|
|
3
|
+
import { M as d, a as u } from "./index-t3j3ZF8E.js";
|
|
4
|
+
import { b as a } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const m = {
|
|
6
6
|
name: "MultiSelectFieldPro",
|
|
7
7
|
label: "Multi Select Field",
|
package/dist/PieChartPro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { V as o, l as a } from "./Color.type.emb-
|
|
1
|
+
import { V as o, l as a } from "./Color.type.emb-C4VcPjfM.js";
|
|
2
2
|
import { defineComponent as s } from "@embeddable.com/react";
|
|
3
|
-
import { P as i } from "./index-
|
|
4
|
-
import { b as e } from "./component.inputs.constants-
|
|
3
|
+
import { P as i } from "./index-1mMgdK6h.js";
|
|
4
|
+
import { b as e } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const n = {
|
|
6
6
|
name: "PieChartPro",
|
|
7
7
|
label: "Pie Chart",
|
package/dist/PivotTablePro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as a } from "./Color.type.emb-
|
|
1
|
+
import { l as a } from "./Color.type.emb-C4VcPjfM.js";
|
|
2
2
|
import { defineComponent as n } from "@embeddable.com/react";
|
|
3
|
-
import { P as s } from "./index-
|
|
4
|
-
import { b as e, s as t } from "./component.inputs.constants-
|
|
3
|
+
import { P as s } from "./index-BEYR5f2d.js";
|
|
4
|
+
import { b as e, s as t } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const l = {
|
|
6
6
|
name: "PivotTablePro",
|
|
7
7
|
label: "Pivot Table",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r } from "@embeddable.com/react";
|
|
2
|
-
import { V as l, l as s } from "./Color.type.emb-
|
|
3
|
-
import { M as d, S as m } from "./index-
|
|
4
|
-
import { b as a } from "./component.inputs.constants-
|
|
2
|
+
import { V as l, l as s } from "./Color.type.emb-C4VcPjfM.js";
|
|
3
|
+
import { M as d, S as m } from "./index-B6z6eyJE.js";
|
|
4
|
+
import { b as a } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const c = {
|
|
6
6
|
name: "SingleSelectFieldPro",
|
|
7
7
|
label: "Single Select Field",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { V as u, l as s, m as f } from "./Color.type.emb-
|
|
1
|
+
import { V as u, l as s, m as f } from "./Color.type.emb-C4VcPjfM.js";
|
|
2
2
|
import { defineComponent as g } from "@embeddable.com/react";
|
|
3
|
-
import { T as p } from "./index-
|
|
4
|
-
import { b as n, s as l } from "./component.inputs.constants-
|
|
3
|
+
import { T as p } from "./index-53w_cRnE.js";
|
|
4
|
+
import { b as n, s as l } from "./component.inputs.constants-DN1efWXx.js";
|
|
5
5
|
const b = {
|
|
6
6
|
name: "TableChartPaginated",
|
|
7
7
|
label: "Table Chart - Paginated",
|
package/dist/TableScrollable.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { j as V,
|
|
1
|
+
import { j as V, t as re, V as oe, l as T, m as ae } from "./Color.type.emb-C4VcPjfM.js";
|
|
2
2
|
import { useTheme as se, defineComponent as ie } from "@embeddable.com/react";
|
|
3
|
-
import { a as le, r as ue, i as ce, b as E, s as S } from "./component.inputs.constants-
|
|
4
|
-
import { C as fe } from "./ChartCard-
|
|
3
|
+
import { a as le, r as ue, i as ce, b as E, s as S } from "./component.inputs.constants-DN1efWXx.js";
|
|
4
|
+
import { C as fe } from "./ChartCard-B5IaBBTs.js";
|
|
5
5
|
import { useState as N, useRef as R, useEffect as M, useCallback as de } from "react";
|
|
6
|
-
import { b as me, c as pe } from "./tables.utils-
|
|
6
|
+
import { b as me, c as pe } from "./tables.utils-B8IT-c8T.js";
|
|
7
7
|
const v = 25, { getOwnPropertyNames: ge, getOwnPropertySymbols: he } = Object, { hasOwnProperty: be } = Object.prototype;
|
|
8
8
|
function k(t, e) {
|
|
9
9
|
return function(n, a, i) {
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { g as
|
|
1
|
+
import { a as N, C as P, b as v } from "./Color.type.emb-C4VcPjfM.js";
|
|
2
|
+
import { r as x, g as F } from "./charts.utils-g6NE_Jo3.js";
|
|
3
|
+
import { g as h } from "./formatter.utils-pzrkapRL.js";
|
|
3
4
|
import { g as p, a as g } from "./object.utils-D_Zzon-H.js";
|
|
4
|
-
|
|
5
|
-
const B = (l, c) => {
|
|
5
|
+
const I = (c, d) => {
|
|
6
6
|
var b;
|
|
7
|
-
const m = h(
|
|
7
|
+
const m = h(d), { data: o = [], dimension: i, groupDimension: l, measure: t } = c, r = [...new Set(o.map((n) => n[i.name]).filter((n) => n != null))].sort(), a = `${l.name}${l.nativeType === P && ((b = l.inputs) != null && b.granularity) ? `.${l.inputs.granularity}` : ""}`, e = [...new Set(o.map((n) => n[a]))].filter((n) => n != null), s = p(d), u = v(), C = e.map((n, k) => {
|
|
8
8
|
const D = g(
|
|
9
9
|
`${s}.charts.backgroundColors`,
|
|
10
|
-
`${
|
|
11
|
-
|
|
10
|
+
`${l.name}.${n}`,
|
|
11
|
+
d.charts.backgroundColors ?? u,
|
|
12
12
|
k
|
|
13
|
-
),
|
|
13
|
+
), T = g(
|
|
14
14
|
`${s}.charts.borderColors`,
|
|
15
|
-
`${
|
|
16
|
-
|
|
15
|
+
`${l.name}.${n}`,
|
|
16
|
+
d.charts.borderColors ?? u,
|
|
17
17
|
k
|
|
18
18
|
);
|
|
19
19
|
return {
|
|
20
|
-
label: m.data(
|
|
20
|
+
label: m.data(l, n),
|
|
21
21
|
rawLabel: n,
|
|
22
22
|
backgroundColor: D,
|
|
23
|
-
borderColor:
|
|
24
|
-
data: r.map((
|
|
23
|
+
borderColor: T,
|
|
24
|
+
data: r.map((w) => {
|
|
25
25
|
const f = o.find(
|
|
26
|
-
($) => $[a] === n && $[i.name] ===
|
|
26
|
+
($) => $[a] === n && $[i.name] === w
|
|
27
27
|
);
|
|
28
28
|
return f ? Number(f[t.name]) : 0;
|
|
29
29
|
})
|
|
@@ -33,25 +33,25 @@ const B = (l, c) => {
|
|
|
33
33
|
labels: r,
|
|
34
34
|
datasets: C
|
|
35
35
|
};
|
|
36
|
-
},
|
|
37
|
-
if (!
|
|
36
|
+
}, B = (c, d = x) => {
|
|
37
|
+
if (!c.data)
|
|
38
38
|
return {
|
|
39
39
|
labels: [],
|
|
40
40
|
datasets: [{ data: [] }]
|
|
41
41
|
};
|
|
42
|
-
const m = h(
|
|
42
|
+
const m = h(d), o = p(d), i = F(c.data, c.dimension, c.measures, c.maxItems), l = N();
|
|
43
43
|
return {
|
|
44
|
-
labels: i.map((t) => t[
|
|
45
|
-
datasets:
|
|
44
|
+
labels: i.map((t) => t[c.dimension.name]),
|
|
45
|
+
datasets: c.measures.map((t, r) => {
|
|
46
46
|
const a = g(
|
|
47
47
|
`${o}.charts.backgroundColors`,
|
|
48
48
|
t.name,
|
|
49
|
-
|
|
49
|
+
d.charts.backgroundColors ?? l,
|
|
50
50
|
r
|
|
51
51
|
), e = g(
|
|
52
52
|
`${o}.charts.borderColors`,
|
|
53
53
|
t.name,
|
|
54
|
-
|
|
54
|
+
d.charts.borderColors ?? l,
|
|
55
55
|
r
|
|
56
56
|
);
|
|
57
57
|
return {
|
|
@@ -62,21 +62,21 @@ const B = (l, c) => {
|
|
|
62
62
|
};
|
|
63
63
|
})
|
|
64
64
|
};
|
|
65
|
-
},
|
|
66
|
-
const { datasets: m } =
|
|
65
|
+
}, O = (c, d) => {
|
|
66
|
+
const { datasets: m } = c.chart.data, o = c.dataIndex, i = m.reduce((l, t) => {
|
|
67
67
|
const r = t.data[o];
|
|
68
|
-
return
|
|
68
|
+
return l + (r || 0);
|
|
69
69
|
}, 0);
|
|
70
|
-
return
|
|
71
|
-
},
|
|
72
|
-
const { onBarClicked: m, measures: o, dimension: i, horizontal:
|
|
70
|
+
return d(i);
|
|
71
|
+
}, K = (c, d) => {
|
|
72
|
+
const { onBarClicked: m, measures: o, dimension: i, horizontal: l, data: t } = c, r = h(d);
|
|
73
73
|
return {
|
|
74
74
|
plugins: {
|
|
75
|
-
legend: { position:
|
|
75
|
+
legend: { position: d.charts.legendPosition ?? "bottom" },
|
|
76
76
|
datalabels: {
|
|
77
77
|
labels: {
|
|
78
78
|
total: {
|
|
79
|
-
formatter: (a, e) =>
|
|
79
|
+
formatter: (a, e) => O(
|
|
80
80
|
e,
|
|
81
81
|
(s) => r.data(o[0], s)
|
|
82
82
|
)
|
|
@@ -107,7 +107,7 @@ const B = (l, c) => {
|
|
|
107
107
|
x: {
|
|
108
108
|
ticks: {
|
|
109
109
|
callback: (a) => {
|
|
110
|
-
if (
|
|
110
|
+
if (l)
|
|
111
111
|
return r.data(o[0], a);
|
|
112
112
|
if (!t || !t.labels) return;
|
|
113
113
|
const e = t.labels[Number(a)];
|
|
@@ -118,7 +118,7 @@ const B = (l, c) => {
|
|
|
118
118
|
y: {
|
|
119
119
|
ticks: {
|
|
120
120
|
callback: (a) => {
|
|
121
|
-
if (!
|
|
121
|
+
if (!l)
|
|
122
122
|
return r.data(o[0], a);
|
|
123
123
|
if (!t || !t.labels) return;
|
|
124
124
|
const e = t.labels[Number(a)];
|
|
@@ -138,8 +138,8 @@ const B = (l, c) => {
|
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
140
|
export {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
141
|
+
B as a,
|
|
142
|
+
K as b,
|
|
143
|
+
I as g
|
|
144
144
|
};
|
|
145
|
-
//# sourceMappingURL=bars.utils-
|
|
145
|
+
//# sourceMappingURL=bars.utils-Ck1w7NOo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bars.utils-Ck1w7NOo.js","sources":["../src/components/charts/bars/bars.utils.ts"],"sourcesContent":["import { CUBE_DIMENSION_TYPE_TIME, DataResponse, Dimension, Measure } from '@embeddable.com/core';\nimport { Theme } from '../../../theme/theme.types';\nimport { remarkableTheme } from '../../../theme/theme.constants';\nimport { ChartData, ChartOptions } from 'chart.js';\nimport { getThemeFormatter } from '../../../theme/formatter/formatter.utils';\nimport { groupTailAsOther } from '../charts.utils';\nimport { getColor } from '../../../theme/styles/styles.utils';\nimport { getChartColors, getChartContrastColors } from '@embeddable.com/remarkable-ui';\nimport { getObjectStableKey } from '../../../utils.ts/object.utils';\nimport { Context } from 'chartjs-plugin-datalabels';\n\nexport const getBarStackedChartProData = (\n props: {\n data: DataResponse['data'];\n dimension: Dimension;\n groupDimension: Dimension;\n measure: Measure;\n },\n theme: Theme,\n): ChartData<'bar'> => {\n const themeFormatter = getThemeFormatter(theme);\n const { data = [], dimension, groupDimension, measure } = props;\n\n const axis = [...new Set(data.map((d) => d[dimension.name]).filter((d) => d != null))].sort();\n const groupDimensionName = `${groupDimension.name}${groupDimension.nativeType === CUBE_DIMENSION_TYPE_TIME && groupDimension.inputs?.granularity ? `.${groupDimension.inputs.granularity}` : ''}`;\n const groupBy = [...new Set(data.map((d) => d[groupDimensionName]))].filter((d) => d != null);\n\n const themeKey = getObjectStableKey(theme);\n const chartContrastColors = getChartContrastColors();\n const datasets = groupBy.map((groupByItem, index) => {\n const backgroundColor = getColor(\n `${themeKey}.charts.backgroundColors`,\n `${groupDimension.name}.${groupByItem}`,\n theme.charts.backgroundColors ?? chartContrastColors,\n index,\n );\n\n const borderColor = getColor(\n `${themeKey}.charts.borderColors`,\n `${groupDimension.name}.${groupByItem}`,\n theme.charts.borderColors ?? chartContrastColors,\n index,\n );\n\n return {\n label: themeFormatter.data(groupDimension, groupByItem),\n rawLabel: groupByItem,\n backgroundColor,\n borderColor,\n data: axis.map((axisItem) => {\n const record = data.find(\n (d) => d[groupDimensionName] === groupByItem && d[dimension.name] === axisItem,\n );\n return record ? Number(record[measure.name]) : 0;\n }),\n };\n });\n\n return {\n labels: axis,\n datasets,\n };\n};\n\nexport const getBarChartProData = (\n props: {\n data: DataResponse['data'];\n dimension: Dimension;\n measures: Measure[];\n maxItems?: number;\n },\n theme: Theme = remarkableTheme,\n): ChartData<'bar'> => {\n if (!props.data) {\n return {\n labels: [],\n datasets: [{ data: [] }],\n };\n }\n\n const themeFormatter = getThemeFormatter(theme);\n const themeKey = getObjectStableKey(theme);\n const groupedData = groupTailAsOther(props.data, props.dimension, props.measures, props.maxItems);\n const chartColors = getChartColors();\n\n return {\n labels: groupedData.map((item) => {\n return item[props.dimension.name];\n }),\n datasets: props.measures.map((measure, index) => {\n const backgroundColor = getColor(\n `${themeKey}.charts.backgroundColors`,\n measure.name,\n theme.charts.backgroundColors ?? chartColors,\n index,\n );\n\n const borderColor = getColor(\n `${themeKey}.charts.borderColors`,\n measure.name,\n theme.charts.borderColors ?? chartColors,\n index,\n );\n\n return {\n label: themeFormatter.dimensionOrMeasureTitle(measure),\n data: groupedData.map((item) => item[measure.name] ?? 0),\n backgroundColor,\n borderColor,\n };\n }),\n };\n};\n\nconst getBarChartProDatalabelTotalFormatter = (\n context: Context,\n formatter: (value: number) => string,\n) => {\n const { datasets } = context.chart.data;\n const i = context.dataIndex;\n\n const total = datasets.reduce((sum, ds) => {\n const val = ds.data[i] as number;\n return sum + (val || 0);\n }, 0);\n\n return formatter(total);\n};\n\nexport const getBarChartProOptions = (\n options: {\n onBarClicked: (args: {\n axisDimensionValue: string | null;\n groupingDimensionValue: string | null;\n }) => void;\n measures: Measure[];\n dimension: Dimension;\n horizontal: boolean;\n data: ChartData<'bar'>;\n },\n theme: Theme,\n): Partial<ChartOptions<'bar'>> => {\n const { onBarClicked, measures, dimension, horizontal, data } = options;\n\n const themeFormatter = getThemeFormatter(theme);\n return {\n plugins: {\n legend: { position: theme.charts.legendPosition ?? 'bottom' },\n datalabels: {\n labels: {\n total: {\n formatter: (_value: string | number, context: Context) =>\n getBarChartProDatalabelTotalFormatter(context, (value: number) =>\n themeFormatter.data(measures[0]!, value),\n ),\n },\n value: {\n formatter: (value: string | number, context) => {\n const measure = measures[context.datasetIndex % measures.length]!;\n return themeFormatter.data(measure, value);\n },\n },\n },\n },\n tooltip: {\n callbacks: {\n title: (context) => {\n const label = context[0]?.label;\n return themeFormatter.data(dimension, label);\n },\n label: (context) => {\n const measure = measures[context.datasetIndex % measures.length]!;\n const raw = context.raw as number;\n return `${themeFormatter.data(dimension, context.dataset.label) || ''}: ${themeFormatter.data(measure, raw)}`;\n },\n },\n },\n },\n scales: {\n x: {\n ticks: {\n callback: (value) => {\n if (horizontal) {\n return themeFormatter.data(measures[0]!, value);\n }\n\n if (!data || !data.labels) return undefined;\n\n const label = data.labels[Number(value)] as string;\n\n return themeFormatter.data(dimension, label);\n },\n },\n },\n y: {\n ticks: {\n callback: (value) => {\n if (!horizontal) {\n return themeFormatter.data(measures[0]!, value);\n }\n if (!data || !data.labels) return undefined;\n const label = data.labels[Number(value)] as string;\n return themeFormatter.data(dimension, label);\n },\n },\n },\n },\n onClick: (_event, elements, chart) => {\n const element = elements[0];\n const axisDimensionValue = (element ? chart.data.labels![element.index] : null) as\n | string\n | null;\n const groupingDimensionValue = (\n element\n ? (chart.data.datasets[element.datasetIndex] as { rawLabel?: string | null })?.rawLabel\n : null\n ) as string | null;\n\n onBarClicked({\n axisDimensionValue,\n groupingDimensionValue,\n });\n },\n };\n};\n"],"names":["getBarStackedChartProData","props","theme","themeFormatter","getThemeFormatter","data","dimension","groupDimension","measure","axis","d","groupDimensionName","CUBE_DIMENSION_TYPE_TIME","_a","groupBy","themeKey","getObjectStableKey","chartContrastColors","getChartContrastColors","datasets","groupByItem","index","backgroundColor","getColor","borderColor","axisItem","record","getBarChartProData","remarkableTheme","groupedData","groupTailAsOther","chartColors","getChartColors","item","getBarChartProDatalabelTotalFormatter","context","formatter","i","total","sum","ds","val","getBarChartProOptions","options","onBarClicked","measures","horizontal","_value","value","label","raw","_event","elements","chart","element","axisDimensionValue","groupingDimensionValue"],"mappings":";;;;AAWO,MAAMA,IAA4B,CACvCC,GAMAC,MACqB;;AACrB,QAAMC,IAAiBC,EAAkBF,CAAK,GACxC,EAAE,MAAAG,IAAO,CAAA,GAAI,WAAAC,GAAW,gBAAAC,GAAgB,SAAAC,MAAYP,GAEpDQ,IAAO,CAAC,GAAG,IAAI,IAAIJ,EAAK,IAAI,CAACK,MAAMA,EAAEJ,EAAU,IAAI,CAAC,EAAE,OAAO,CAACI,MAAMA,KAAK,IAAI,CAAC,CAAC,EAAE,KAAA,GACjFC,IAAqB,GAAGJ,EAAe,IAAI,GAAGA,EAAe,eAAeK,OAA4BC,IAAAN,EAAe,WAAf,QAAAM,EAAuB,eAAc,IAAIN,EAAe,OAAO,WAAW,KAAK,EAAE,IACzLO,IAAU,CAAC,GAAG,IAAI,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AI,CAACF;AACH,qBAAO3C,EAAe,KAAK0C,EAAS,CAAC,GAAIG,CAAK;AAEhD,gBAAI,CAAC3C,KAAQ,CAACA,EAAK,OAAQ;AAC3B,kBAAM4C,IAAQ5C,EAAK,OAAO,OAAO2C,CAAK,CAAC;AACvC,mBAAO7C,EAAe,KAAKG,GAAW2C,CAAK;AAAA,UAC7C;AAAA,QAAA;AAAA,MACF;AAAA,IACF;AAAA,IAEF,SAAS,CAACE,GAAQC,GAAUC,MAAU;;AACpC,YAAMC,IAAUF,EAAS,CAAC,GACpBG,IAAsBD,IAAUD,EAAM,KAAK,OAAQC,EAAQ,KAAK,IAAI,MAGpEE,IACJF,KACKzC,IAAAwC,EAAM,KAAK,SAASC,EAAQ,YAAY,MAAxC,gBAAAzC,EAA4E,WAC7E;AAGN,MAAA+B,EAAa;AAAA,QACX,oBAAAW;AAAA,QACA,wBAAAC;AAAA,MAAA,CACD;AAAA,IACH;AAAA,EAAA;AAEJ;"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as si, i as hn } from "./component.inputs.constants-
|
|
1
|
+
import { Y as ls } from "./Color.type.emb-C4VcPjfM.js";
|
|
2
|
+
import { a as si, i as hn } from "./component.inputs.constants-DN1efWXx.js";
|
|
3
3
|
import { d as Te, u as oi } from "./utc-ZJfc90oL.js";
|
|
4
4
|
import { i as fi, q as li } from "./quarterOfYear-Dy3NbBBT.js";
|
|
5
5
|
import { g as cs } from "./_commonjsHelpers-C6fGbg64.js";
|
|
6
|
-
import { g as hs } from "./formatter.utils-
|
|
6
|
+
import { g as hs } from "./formatter.utils-pzrkapRL.js";
|
|
7
7
|
var us = {
|
|
8
8
|
"--em-core-border-radius--000": "0px",
|
|
9
9
|
"--em-core-border-radius--050": "2px",
|
|
@@ -17383,4 +17383,4 @@ export {
|
|
|
17383
17383
|
Zm as g,
|
|
17384
17384
|
Qm as r
|
|
17385
17385
|
};
|
|
17386
|
-
//# sourceMappingURL=charts.utils-
|
|
17386
|
+
//# sourceMappingURL=charts.utils-g6NE_Jo3.js.map
|