@embeddable.com/remarkable-pro 0.0.11 → 0.0.12

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.
Files changed (124) hide show
  1. package/dist/BarChartDefaultHorizontalPro.js +3 -3
  2. package/dist/BarChartDefaultPro.js +3 -3
  3. package/dist/BarChartGroupedHorizontalPro.js +3 -3
  4. package/dist/BarChartGroupedPro.js +3 -3
  5. package/dist/BarChartStackedHorizontalPro.js +3 -3
  6. package/dist/BarChartStackedPro.js +3 -3
  7. package/dist/{ChartCard-uZBftDKk.js → ChartCard-F1fMKsD4.js} +19 -19
  8. package/dist/{ChartCard-uZBftDKk.js.map → ChartCard-F1fMKsD4.js.map} +1 -1
  9. package/dist/{Color.type.emb-BPT7WKyR.js → Color.type.emb-BmenseN6.js} +2 -2
  10. package/dist/{Color.type.emb-BPT7WKyR.js.map → Color.type.emb-BmenseN6.js.map} +1 -1
  11. package/dist/ColorEditor.js +2 -2
  12. package/dist/{ComparisonPeriod.type.emb-Bq4r1RbE.js → ComparisonPeriod.type.emb-Bp4VzSqq.js} +2 -2
  13. package/dist/{ComparisonPeriod.type.emb-Bq4r1RbE.js.map → ComparisonPeriod.type.emb-Bp4VzSqq.js.map} +1 -1
  14. package/dist/ComparisonPeriodSelectFieldPro.js +4 -4
  15. package/dist/DateRangePickerCustomPro.js +89 -0
  16. package/dist/DateRangePickerCustomPro.js.map +1 -0
  17. package/dist/DateRangeSelectFieldPro.js +26 -18
  18. package/dist/DateRangeSelectFieldPro.js.map +1 -1
  19. package/dist/DonutChartPro.js +3 -3
  20. package/dist/DonutLabelChartPro.js +3 -3
  21. package/dist/{EditorCard-B95YC3pz.js → EditorCard-CXmogrdI.js} +6 -6
  22. package/dist/{EditorCard-B95YC3pz.js.map → EditorCard-CXmogrdI.js.map} +1 -1
  23. package/dist/HeatMapPro.js +4 -4
  24. package/dist/KpiChartNumberComparisonPro.js +4 -4
  25. package/dist/KpiChartNumberPro.js +3 -3
  26. package/dist/LineChartComparisonDefaultPro.js +5 -5
  27. package/dist/LineChartDefaultPro.js +4 -4
  28. package/dist/LineChartGroupedPro.js +3 -3
  29. package/dist/MultiSelectFieldPro.js +3 -3
  30. package/dist/PieChartPro.js +3 -3
  31. package/dist/PivotTablePro.js +3 -3
  32. package/dist/SingleSelectFieldPro.js +3 -3
  33. package/dist/TableChartPaginated.js +3 -3
  34. package/dist/{bars.utils-BHrcAtuH.js → bars.utils-g15uj8cH.js} +4 -4
  35. package/dist/{bars.utils-BHrcAtuH.js.map → bars.utils-g15uj8cH.js.map} +1 -1
  36. package/dist/{charts.utils-DtFuEHDp.js → charts.utils-WjKhtDzm.js} +918 -880
  37. package/dist/charts.utils-WjKhtDzm.js.map +1 -0
  38. package/dist/{component.constants-DmK3uQGY.js → component.constants-5pSEkTqN.js} +2 -2
  39. package/dist/{component.constants-DmK3uQGY.js.map → component.constants-5pSEkTqN.js.map} +1 -1
  40. package/dist/components/editors/ComparisonPeriodSelectFieldPro/index.d.ts.map +1 -1
  41. package/dist/components/editors/dates/DateRangePickerCustomPro/index.d.ts +13 -0
  42. package/dist/components/editors/dates/DateRangePickerCustomPro/index.d.ts.map +1 -0
  43. package/dist/components/editors/{DateRangeSelectFieldPro/DateRangeSelectFieldPro.types.d.ts → dates/DateRangePickerPresetsPro/DateRangePickerPresetsPro.types.d.ts} +1 -1
  44. package/dist/components/editors/dates/DateRangePickerPresetsPro/DateRangePickerPresetsPro.types.d.ts.map +1 -0
  45. package/dist/components/editors/{DateRangeSelectFieldPro/DateRangeSelectFieldPro.utils.d.ts → dates/DateRangePickerPresetsPro/DateRangePickerPresetsPro.utils.d.ts} +2 -2
  46. package/dist/components/editors/dates/DateRangePickerPresetsPro/DateRangePickerPresetsPro.utils.d.ts.map +1 -0
  47. package/dist/components/editors/dates/DateRangePickerPresetsPro/index.d.ts +14 -0
  48. package/dist/components/editors/dates/DateRangePickerPresetsPro/index.d.ts.map +1 -0
  49. package/dist/components/editors/dates/dates.utils.d.ts +8 -0
  50. package/dist/components/editors/dates/dates.utils.d.ts.map +1 -0
  51. package/dist/{editors.timeRange.utils-DTtRGaCo.js → dates.utils-f-XJ_LBg.js} +49 -28
  52. package/dist/dates.utils-f-XJ_LBg.js.map +1 -0
  53. package/dist/embeddable-components.json +13 -12
  54. package/dist/embeddable-theme-0137e.js +756 -718
  55. package/dist/{formatter.utils-DCDukEZ9.js → formatter.utils-CU02gBE5.js} +2 -2
  56. package/dist/{formatter.utils-DCDukEZ9.js.map → formatter.utils-CU02gBE5.js.map} +1 -1
  57. package/dist/{index-D_-Nl-64.js → index-1KmRpcj0.js} +6 -6
  58. package/dist/{index-D_-Nl-64.js.map → index-1KmRpcj0.js.map} +1 -1
  59. package/dist/{index-Bk1YIZZf.js → index-33BWxRVA.js} +5 -5
  60. package/dist/{index-Bk1YIZZf.js.map → index-33BWxRVA.js.map} +1 -1
  61. package/dist/{index-C6oyYlMu.js → index-6ZmZRk63.js} +11 -11
  62. package/dist/{index-C6oyYlMu.js.map → index-6ZmZRk63.js.map} +1 -1
  63. package/dist/{index-C23J5jXR.js → index-B524G8aR.js} +5 -5
  64. package/dist/{index-C23J5jXR.js.map → index-B524G8aR.js.map} +1 -1
  65. package/dist/{index-CFoVL8LS.js → index-B_zyCSBJ.js} +6 -6
  66. package/dist/{index-CFoVL8LS.js.map → index-B_zyCSBJ.js.map} +1 -1
  67. package/dist/{index-BuBPj3by.js → index-BsOU6A4h.js} +5 -5
  68. package/dist/{index-BuBPj3by.js.map → index-BsOU6A4h.js.map} +1 -1
  69. package/dist/{index-BEM0olHp.js → index-BvBc86AB.js} +5 -5
  70. package/dist/{index-BEM0olHp.js.map → index-BvBc86AB.js.map} +1 -1
  71. package/dist/{index-CbWn6WMr.js → index-By4dAXWS.js} +5 -5
  72. package/dist/{index-CbWn6WMr.js.map → index-By4dAXWS.js.map} +1 -1
  73. package/dist/{index-B92AHN8Y.js → index-Bz-jqsH6.js} +5 -5
  74. package/dist/{index-B92AHN8Y.js.map → index-Bz-jqsH6.js.map} +1 -1
  75. package/dist/{index-DSk9EA7t.js → index-C58x29od.js} +5 -5
  76. package/dist/{index-DSk9EA7t.js.map → index-C58x29od.js.map} +1 -1
  77. package/dist/index-CIy-fCZE.js +62053 -0
  78. package/dist/index-CIy-fCZE.js.map +1 -0
  79. package/dist/{index-sJkPi8Q_.js → index-CuRuDELE.js} +5 -5
  80. package/dist/{index-sJkPi8Q_.js.map → index-CuRuDELE.js.map} +1 -1
  81. package/dist/{index-jqEl3LLC.js → index-D67Dqwl6.js} +5 -5
  82. package/dist/{index-jqEl3LLC.js.map → index-D67Dqwl6.js.map} +1 -1
  83. package/dist/{index-SIEfd0gp.js → index-D8Z7FVYE.js} +5 -5
  84. package/dist/{index-SIEfd0gp.js.map → index-D8Z7FVYE.js.map} +1 -1
  85. package/dist/{index-GhU7CFw0.js → index-DDx1tSTE.js} +5 -5
  86. package/dist/{index-GhU7CFw0.js.map → index-DDx1tSTE.js.map} +1 -1
  87. package/dist/{index-Dbg-T-ST.js → index-DUn23CxN.js} +5 -5
  88. package/dist/{index-Dbg-T-ST.js.map → index-DUn23CxN.js.map} +1 -1
  89. package/dist/index-DZlowRxA.js +128 -0
  90. package/dist/index-DZlowRxA.js.map +1 -0
  91. package/dist/{index-CmYz5k0C.js → index-DjX_tMRT.js} +5 -5
  92. package/dist/{index-CmYz5k0C.js.map → index-DjX_tMRT.js.map} +1 -1
  93. package/dist/{index-O8I3E36E.js → index-FjCFm3BI.js} +5 -5
  94. package/dist/{index-O8I3E36E.js.map → index-FjCFm3BI.js.map} +1 -1
  95. package/dist/{index-C7mz7pKQ.js → index-JRFQo8DK.js} +24 -21
  96. package/dist/index-JRFQo8DK.js.map +1 -0
  97. package/dist/{index-Cj6xdAWZ.js → index-VMsVpFuu.js} +6 -6
  98. package/dist/{index-Cj6xdAWZ.js.map → index-VMsVpFuu.js.map} +1 -1
  99. package/dist/{index-Dfh1KgI5.js → index-a51EknRg.js} +5 -5
  100. package/dist/{index-Dfh1KgI5.js.map → index-a51EknRg.js.map} +1 -1
  101. package/dist/index.d.ts +2 -2
  102. package/dist/index.d.ts.map +1 -1
  103. package/dist/index.js +29 -29
  104. package/dist/{pies.utils-Zw1lwwC4.js → pies.utils-ZhJMIog5.js} +5 -5
  105. package/dist/{pies.utils-Zw1lwwC4.js.map → pies.utils-ZhJMIog5.js.map} +1 -1
  106. package/dist/remarkable-pro.css +1 -1
  107. package/dist/theme/i18n/translations/de.d.ts.map +1 -1
  108. package/dist/theme/i18n/translations/en.d.ts.map +1 -1
  109. package/dist/{timeRange.utils-C96Hp2HD.js → timeRange.utils-CNktS9Lb.js} +2 -2
  110. package/dist/{timeRange.utils-C96Hp2HD.js.map → timeRange.utils-CNktS9Lb.js.map} +1 -1
  111. package/package.json +2 -2
  112. package/dist/charts.utils-DtFuEHDp.js.map +0 -1
  113. package/dist/components/editors/DateRangeSelectFieldPro/DateRangeSelectFieldPro.types.d.ts.map +0 -1
  114. package/dist/components/editors/DateRangeSelectFieldPro/DateRangeSelectFieldPro.utils.d.ts.map +0 -1
  115. package/dist/components/editors/DateRangeSelectFieldPro/index.d.ts +0 -12
  116. package/dist/components/editors/DateRangeSelectFieldPro/index.d.ts.map +0 -1
  117. package/dist/components/editors/editors.timeRange.utils.d.ts +0 -5
  118. package/dist/components/editors/editors.timeRange.utils.d.ts.map +0 -1
  119. package/dist/editors.timeRange.utils-DTtRGaCo.js.map +0 -1
  120. package/dist/index-C7mz7pKQ.js.map +0 -1
  121. package/dist/index-DjwSlZQY.js +0 -17237
  122. package/dist/index-DjwSlZQY.js.map +0 -1
  123. package/dist/index-mp4eyizO.js +0 -57
  124. package/dist/index-mp4eyizO.js.map +0 -1
@@ -1,7 +1,7 @@
1
- import { V as e, l as s } from "./index-DjwSlZQY.js";
1
+ import { V as e, l as s } from "./index-CIy-fCZE.js";
2
2
  import { defineComponent as o } from "@embeddable.com/react";
3
- import { B as r } from "./index-Dfh1KgI5.js";
4
- import { v as i, E as t, z as l, F as n, G as m, I as x, J as u, K as d, M as c, N as f, O as h, R as p, U as D, V as b, X as B } from "./component.constants-DmK3uQGY.js";
3
+ import { B as r } from "./index-a51EknRg.js";
4
+ import { v as i, E as t, z as l, F as n, G as m, I as x, J as u, K as d, M as c, N as f, O as h, R as p, U as D, V as b, X as B } from "./component.constants-5pSEkTqN.js";
5
5
  const C = {
6
6
  name: "BarChartDefaultHorizontalPro",
7
7
  label: "Bar Chart - Default Horizontal",
@@ -1,7 +1,7 @@
1
- import { V as e, l as s } from "./index-DjwSlZQY.js";
1
+ import { V as e, l as s } from "./index-CIy-fCZE.js";
2
2
  import { defineComponent as r } from "@embeddable.com/react";
3
- import { B as i } from "./index-jqEl3LLC.js";
4
- import { v as t, E as o, z as l, F as n, G as m, I as x, J as u, K as d, M as c, N as f, O as h, P as p, S as D, T as b, W as B } from "./component.constants-DmK3uQGY.js";
3
+ import { B as i } from "./index-D67Dqwl6.js";
4
+ import { v as t, E as o, z as l, F as n, G as m, I as x, J as u, K as d, M as c, N as f, O as h, P as p, S as D, T as b, W as B } from "./component.constants-5pSEkTqN.js";
5
5
  const C = {
6
6
  name: "BarChartDefaultPro",
7
7
  label: "Bar Chart - Default",
@@ -1,7 +1,7 @@
1
- import { V as e, l as s } from "./index-DjwSlZQY.js";
1
+ import { V as e, l as s } from "./index-CIy-fCZE.js";
2
2
  import { defineComponent as o } from "@embeddable.com/react";
3
- import { B as i } from "./index-B92AHN8Y.js";
4
- import { v as r, D as n, z as l, w as t, F as m, G as u, H as p, I as d, J as x, K as g, M as c, N as V, O as b, R as h, U as B, V as D } from "./component.constants-DmK3uQGY.js";
3
+ import { B as i } from "./index-Bz-jqsH6.js";
4
+ import { v as r, D as n, z as l, w as t, F as m, G as u, H as p, I as d, J as x, K as g, M as c, N as V, O as b, R as h, U as B, V as D } from "./component.constants-5pSEkTqN.js";
5
5
  const C = {
6
6
  name: "BarChartGroupedHorizontalPro",
7
7
  label: "Bar Chart - Grouped Horizontal",
@@ -1,7 +1,7 @@
1
- import { V as a, l as s } from "./index-DjwSlZQY.js";
1
+ import { V as a, l as s } from "./index-CIy-fCZE.js";
2
2
  import { defineComponent as i } from "@embeddable.com/react";
3
- import { B as r } from "./index-DSk9EA7t.js";
4
- import { v as o, D as n, z as l, w as t, F as m, G as u, H as p, I as d, J as x, K as g, M as c, N as b, O as V, P as h, S as B, T as D } from "./component.constants-DmK3uQGY.js";
3
+ import { B as r } from "./index-C58x29od.js";
4
+ import { v as o, D as n, z as l, w as t, F as m, G as u, H as p, I as d, J as x, K as g, M as c, N as b, O as V, P as h, S as B, T as D } from "./component.constants-5pSEkTqN.js";
5
5
  const C = {
6
6
  name: "BarChartGroupedPro",
7
7
  label: "Bar Chart - Grouped",
@@ -1,7 +1,7 @@
1
- import { V as e, l as s } from "./index-DjwSlZQY.js";
1
+ import { V as e, l as s } from "./index-CIy-fCZE.js";
2
2
  import { defineComponent as i } from "@embeddable.com/react";
3
- import { B as o } from "./index-BEM0olHp.js";
4
- import { v as r, D as l, z as n, w as t, F as m, G as u, H as d, I as x, J as c, K as p, M as g, N as b, O as V, R as h, U as B, V as D, L as C } from "./component.constants-DmK3uQGY.js";
3
+ import { B as o } from "./index-BvBc86AB.js";
4
+ import { v as r, D as l, z as n, w as t, F as m, G as u, H as d, I as x, J as c, K as p, M as g, N as b, O as V, R as h, U as B, V as D, L as C } from "./component.constants-5pSEkTqN.js";
5
5
  const f = {
6
6
  name: "BarChartStackedHorizontalPro",
7
7
  label: "Bar Chart - Stacked Horizontal",
@@ -1,7 +1,7 @@
1
- import { V as e, l as s } from "./index-DjwSlZQY.js";
1
+ import { V as e, l as s } from "./index-CIy-fCZE.js";
2
2
  import { defineComponent as i } from "@embeddable.com/react";
3
- import { B as o } from "./index-CbWn6WMr.js";
4
- import { v as r, D as l, z as n, w as t, F as m, G as u, H as d, I as x, J as c, K as p, M as g, N as b, O as h, P as V, S as B, T as D, L as C } from "./component.constants-DmK3uQGY.js";
3
+ import { B as o } from "./index-By4dAXWS.js";
4
+ import { v as r, D as l, z as n, w as t, F as m, G as u, H as d, I as x, J as c, K as p, M as g, N as b, O as h, P as V, S as B, T as D, L as C } from "./component.constants-5pSEkTqN.js";
5
5
  const f = {
6
6
  name: "BarChartStackedPro",
7
7
  label: "Bar Chart - Stacked",
@@ -1,29 +1,29 @@
1
- import { s as R, j as t, t as I, v as S, w as L, x as N, A as k, C as D, p as M, y as x, q as b, z as w, r as _ } from "./index-DjwSlZQY.js";
2
- import f, { useRef as T } from "react";
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, q as M, R as x, r as b, U as T, s as _ } from "./index-CIy-fCZE.js";
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, a0 as A } from "./component.constants-DmK3uQGY.js";
4
+ import { a as p, i as m, a0 as A } from "./component.constants-5pSEkTqN.js";
5
5
  /**
6
6
  * @license @tabler/icons-react v3.36.0 - MIT
7
7
  *
8
8
  * This source code is licensed under the MIT license.
9
9
  * See the LICENSE file in the root directory of this source tree.
10
10
  */
11
- const F = [["path", { d: "M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", key: "svg-0" }], ["path", { d: "M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", key: "svg-1" }], ["path", { d: "M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", key: "svg-2" }]], $ = R("outline", "dots-vertical", "DotsVertical", F), E = "_chartCard_84eo6_1", H = "_fixedContent_84eo6_6", O = "_loading_84eo6_13", P = "_hidden_84eo6_18", V = "_chartCardRightContent_84eo6_22", o = {
11
+ const F = [["path", { d: "M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", key: "svg-0" }], ["path", { d: "M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", key: "svg-1" }], ["path", { d: "M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0", key: "svg-2" }]], $ = R("outline", "dots-vertical", "DotsVertical", F), E = "_chartCard_84eo6_1", H = "_fixedContent_84eo6_6", O = "_loading_84eo6_13", P = "_hidden_84eo6_18", U = "_chartCardRightContent_84eo6_22", o = {
12
12
  chartCard: E,
13
13
  fixedContent: H,
14
14
  loading: O,
15
15
  hidden: P,
16
- chartCardRightContent: V
17
- }, q = "_loading_1amm4_7", z = {
18
- loading: q
19
- }, v = () => /* @__PURE__ */ t.jsx(I, { className: z.loading }), B = "_list_mwshn_1", K = {
20
- list: B
16
+ chartCardRightContent: U
17
+ }, V = "_loading_1amm4_7", q = {
18
+ loading: V
19
+ }, v = () => /* @__PURE__ */ t.jsx(I, { className: q.loading }), z = "_list_mwshn_1", B = {
20
+ list: z
21
21
  };
22
- function U({ src: s, className: a, ...r }) {
22
+ function K({ src: s, className: a, ...r }) {
23
23
  const e = decodeURIComponent(s.replace(/^data:image\/svg\+xml,/, ""));
24
24
  return /* @__PURE__ */ t.jsx("div", { className: a, ...r, dangerouslySetInnerHTML: { __html: e } });
25
25
  }
26
- const G = (s) => {
26
+ const Q = (s) => {
27
27
  const a = j();
28
28
  p(a);
29
29
  const [r, e] = f.useState(!1), i = a.defaults.chartMenuOptions ?? [];
@@ -46,26 +46,26 @@ const G = (s) => {
46
46
  side: "bottom",
47
47
  align: "end",
48
48
  triggerComponent: r ? /* @__PURE__ */ t.jsx(v, {}) : /* @__PURE__ */ t.jsx(k, { icon: $ }),
49
- children: /* @__PURE__ */ t.jsx(L, { className: K.list, autoFocus: !0, children: i.map((n, c) => {
49
+ children: /* @__PURE__ */ t.jsx(L, { className: B.list, autoFocus: !0, children: i.map((n, c) => {
50
50
  const h = m.t(n.labelKey);
51
51
  return /* @__PURE__ */ t.jsx(
52
52
  N,
53
53
  {
54
54
  label: h,
55
55
  onClick: () => d(n.onClick),
56
- startIcon: n.iconSrc ? /* @__PURE__ */ t.jsx(U, { src: n.iconSrc }) : void 0
56
+ startIcon: n.iconSrc ? /* @__PURE__ */ t.jsx(K, { src: n.iconSrc }) : void 0
57
57
  },
58
58
  c
59
59
  );
60
60
  }) })
61
61
  }
62
62
  );
63
- }, J = f.forwardRef(
63
+ }, G = f.forwardRef(
64
64
  ({ title: s, subtitle: a, children: r, data: e, errorMessage: i, dimensionsAndMeasures: l = [], onCustomDownload: d }, n) => {
65
65
  var u;
66
66
  const c = j();
67
67
  p(c);
68
- const h = T(null), g = !!(e != null && e.data && ((u = e.data) == null ? void 0 : u.length) > 0), C = !e || (e == null ? void 0 : e.isLoading), y = () => C && !g ? /* @__PURE__ */ t.jsx(w, {}) : i ? /* @__PURE__ */ t.jsx(
68
+ const h = w(null), g = !!(e != null && e.data && ((u = e.data) == null ? void 0 : u.length) > 0), C = !e || (e == null ? void 0 : e.isLoading), y = () => C && !g ? /* @__PURE__ */ t.jsx(T, {}) : i ? /* @__PURE__ */ t.jsx(
69
69
  _,
70
70
  {
71
71
  variant: "error",
@@ -99,7 +99,7 @@ const G = (s) => {
99
99
  {
100
100
  className: x(o.fixedContent, C ? o.hidden : o.visible),
101
101
  children: /* @__PURE__ */ t.jsx(
102
- G,
102
+ Q,
103
103
  {
104
104
  title: s,
105
105
  containerRef: h,
@@ -117,8 +117,8 @@ const G = (s) => {
117
117
  ] });
118
118
  }
119
119
  );
120
- J.displayName = "ChartCard";
120
+ G.displayName = "ChartCard";
121
121
  export {
122
- J as C
122
+ G as C
123
123
  };
124
- //# sourceMappingURL=ChartCard-uZBftDKk.js.map
124
+ //# sourceMappingURL=ChartCard-F1fMKsD4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ChartCard-uZBftDKk.js","sources":["../node_modules/@tabler/icons-react/dist/esm/icons/IconDotsVertical.mjs","../src/components/charts/shared/ChartCard/ChartCardLoading/ChartCardLoading.tsx","../src/components/charts/shared/ChartCard/ChartCardMenuPro/ChartCardMenuPro.tsx","../src/components/charts/shared/ChartCard/ChartCard.tsx"],"sourcesContent":["/**\n * @license @tabler/icons-react v3.36.0 - MIT\n *\n * This source code is licensed under the MIT license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createReactComponent from '../createReactComponent.mjs';\n\nconst __iconNode = [[\"path\", { \"d\": \"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0\", \"key\": \"svg-0\" }], [\"path\", { \"d\": \"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0\", \"key\": \"svg-1\" }], [\"path\", { \"d\": \"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0\", \"key\": \"svg-2\" }]];\nconst IconDotsVertical = createReactComponent(\"outline\", \"dots-vertical\", \"DotsVertical\", __iconNode);\n\nexport { __iconNode, IconDotsVertical as default };\n//# sourceMappingURL=IconDotsVertical.mjs.map\n","import { IconLoader2 } from '@tabler/icons-react';\nimport styles from './ChartCardLoading.module.css';\n\nexport const ChartCardLoading = () => <IconLoader2 className={styles.loading} />;\n","import { IconDotsVertical } from '@tabler/icons-react';\nimport React from 'react';\nimport { useTheme } from '@embeddable.com/react';\nimport { ChartCardLoading } from '../ChartCardLoading/ChartCardLoading';\nimport { i18n, i18nSetup } from '../../../../../theme/i18n/i18n';\nimport { Theme } from '../../../../../theme/theme.types';\nimport {\n Dropdown,\n ActionIcon,\n SelectFieldContent,\n SelectListOption,\n} from '@embeddable.com/remarkable-ui';\nimport styles from './ChartCardMenuPro.module.css';\nimport { ChartCardMenuOptionOnClickProps } from '../../../../../theme/defaults/defaults.ChartCardMenu.constants';\n\ntype InlineSvgFromDataProps = React.HTMLAttributes<HTMLSpanElement> & {\n src: string;\n};\n\nexport function InlineSvgFromData({ src, className, ...rest }: InlineSvgFromDataProps) {\n // Remove prefix and URL-decode the SVG markup\n const svgMarkup = decodeURIComponent(src.replace(/^data:image\\/svg\\+xml,/, ''));\n\n return <div className={className} {...rest} dangerouslySetInnerHTML={{ __html: svgMarkup }} />;\n}\n\ntype ChartCardMenuProProps = Omit<ChartCardMenuOptionOnClickProps, 'theme'>;\n\nexport const ChartCardMenuPro: React.FC<ChartCardMenuProProps> = (props) => {\n const theme: Theme = useTheme() as Theme;\n i18nSetup(theme);\n\n const [isLoading, setIsLoading] = React.useState(false);\n\n const options = theme.defaults.chartMenuOptions ?? [];\n\n if (options.length === 0) {\n return null;\n }\n\n const startAction = (onClick: () => void | Promise<void>) => {\n setTimeout(() => {\n Promise.resolve(onClick()).finally(() => setIsLoading(false));\n }, 100);\n };\n\n const handleExport = (onClick: (props: ChartCardMenuOptionOnClickProps) => void) => {\n setIsLoading(true);\n if (props.onCustomDownload) {\n props.onCustomDownload((args) => startAction(() => onClick(args)));\n return;\n }\n startAction(() => onClick({ ...props, theme }));\n };\n\n return (\n <Dropdown\n side=\"bottom\"\n align=\"end\"\n triggerComponent={isLoading ? <ChartCardLoading /> : <ActionIcon icon={IconDotsVertical} />}\n >\n <SelectFieldContent className={styles.list} autoFocus>\n {options.map((option, index) => {\n const label = i18n.t(option.labelKey);\n\n return (\n <SelectListOption\n key={index}\n label={label}\n onClick={() => handleExport(option.onClick)}\n startIcon={option.iconSrc ? <InlineSvgFromData src={option.iconSrc} /> : undefined}\n />\n );\n })}\n </SelectFieldContent>\n </Dropdown>\n );\n};\n","import React, { CSSProperties, useRef } from 'react';\nimport { IconAlertCircle } from '@tabler/icons-react';\nimport {\n Card,\n CardContent,\n CardFeedback,\n CardHeader,\n Skeleton,\n} from '@embeddable.com/remarkable-ui';\nimport styles from './ChartCard.module.css';\nimport { DataResponse, Dimension, Measure } from '@embeddable.com/core';\nimport { useTheme } from '@embeddable.com/react';\nimport { ChartCardLoading } from './ChartCardLoading/ChartCardLoading';\nimport { ChartCardMenuPro } from './ChartCardMenuPro/ChartCardMenuPro';\nimport { Theme } from '../../../../theme/theme.types';\nimport { i18n, i18nSetup } from '../../../../theme/i18n/i18n';\nimport clsx from 'clsx';\nimport { ChartCardMenuOptionOnClickProps } from '../../../../theme/defaults/defaults.ChartCardMenu.constants';\n\ntype ChartCardProps = {\n title: string;\n subtitle?: string;\n children: React.ReactNode;\n data: DataResponse;\n errorMessage?: string;\n style?: CSSProperties;\n dimensionsAndMeasures?: (Dimension | Measure)[];\n onCustomDownload?: (props: (props: ChartCardMenuOptionOnClickProps) => void) => void;\n};\n\nexport const ChartCard = React.forwardRef<HTMLDivElement, ChartCardProps>(\n (\n { title, subtitle, children, data, errorMessage, dimensionsAndMeasures = [], onCustomDownload },\n ref,\n ) => {\n const theme: Theme = useTheme() as Theme;\n i18nSetup(theme);\n\n const chartRef = useRef<HTMLDivElement>(null);\n\n const hasData = Boolean(data?.data && data.data?.length > 0);\n\n const isLoading = !data || data?.isLoading;\n\n const getDisplay = () => {\n if (isLoading && !hasData) {\n return <Skeleton />;\n }\n\n if (errorMessage) {\n return (\n <CardFeedback\n variant=\"error\"\n icon={IconAlertCircle}\n title={i18n.t('charts.errorTitle')}\n message={errorMessage}\n />\n );\n }\n\n if (!hasData) {\n return (\n <CardFeedback\n title={i18n.t('charts.emptyTitle')}\n message={i18n.t('charts.emptyMessage')}\n />\n );\n }\n\n return children;\n };\n\n return (\n <Card className={styles.chartCard}>\n <CardHeader\n title={title}\n subtitle={subtitle}\n rightContent={\n <div className={styles.chartCardRightContent}>\n <div\n className={clsx(styles.fixedContent, isLoading ? styles.loading : styles.hidden)}\n >\n <ChartCardLoading />\n </div>\n <div\n className={clsx(styles.fixedContent, isLoading ? styles.hidden : styles.visible)}\n >\n <ChartCardMenuPro\n title={title}\n containerRef={chartRef}\n data={data?.data}\n dimensionsAndMeasures={dimensionsAndMeasures}\n onCustomDownload={onCustomDownload}\n />\n </div>\n </div>\n }\n />\n\n <CardContent ref={onCustomDownload ? ref : chartRef}>{getDisplay()}</CardContent>\n </Card>\n );\n },\n);\n\nChartCard.displayName = 'ChartCard';\n"],"names":["__iconNode","IconDotsVertical","createReactComponent","ChartCardLoading","jsx","IconLoader2","styles","InlineSvgFromData","src","className","rest","svgMarkup","ChartCardMenuPro","props","theme","useTheme","i18nSetup","isLoading","setIsLoading","React","options","startAction","onClick","handleExport","args","Dropdown","ActionIcon","SelectFieldContent","option","index","label","i18n","SelectListOption","ChartCard","title","subtitle","children","data","errorMessage","dimensionsAndMeasures","onCustomDownload","ref","chartRef","useRef","hasData","_a","getDisplay","Skeleton","CardFeedback","IconAlertCircle","jsxs","Card","CardHeader","clsx","CardContent"],"mappings":";;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,MAAMA,IAAa,CAAC,CAAC,QAAQ,EAAE,GAAK,4CAA4C,KAAO,QAAO,CAAE,GAAG,CAAC,QAAQ,EAAE,GAAK,4CAA4C,KAAO,SAAS,GAAG,CAAC,QAAQ,EAAE,GAAK,2CAA2C,KAAO,QAAO,CAAE,CAAC,GACxPC,IAAmBC,EAAqB,WAAW,iBAAiB,gBAAgBF,CAAU;;;;;;;;GCPvFG,IAAmB,MAAMC,gBAAAA,EAAAA,IAACC,GAAA,EAAY,WAAWC,EAAO,SAAS;;;ACgBvE,SAASC,EAAkB,EAAE,KAAAC,GAAK,WAAAC,GAAW,GAAGC,KAAgC;AAErF,QAAMC,IAAY,mBAAmBH,EAAI,QAAQ,0BAA0B,EAAE,CAAC;AAE9E,SAAOJ,gBAAAA,EAAAA,IAAC,SAAI,WAAAK,GAAuB,GAAGC,GAAM,yBAAyB,EAAE,QAAQC,EAAA,GAAa;AAC9F;AAIO,MAAMC,IAAoD,CAACC,MAAU;AAC1E,QAAMC,IAAeC,EAAA;AACrB,EAAAC,EAAUF,CAAK;AAEf,QAAM,CAACG,GAAWC,CAAY,IAAIC,EAAM,SAAS,EAAK,GAEhDC,IAAUN,EAAM,SAAS,oBAAoB,CAAA;AAEnD,MAAIM,EAAQ,WAAW;AACrB,WAAO;AAGT,QAAMC,IAAc,CAACC,MAAwC;AAC3D,eAAW,MAAM;AACf,cAAQ,QAAQA,GAAS,EAAE,QAAQ,MAAMJ,EAAa,EAAK,CAAC;AAAA,IAC9D,GAAG,GAAG;AAAA,EACR,GAEMK,IAAe,CAACD,MAA8D;AAElF,QADAJ,E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A;AAAA,gBAAA;AAAA,cACF;AAAA,YAAA;AAAA,UACF,EAAA,CACF;AAAA,QAAA;AAAA,MAAA;AAAA,4BAIHc,GAAA,EAAY,KAAKd,IAAmBC,IAAMC,GAAW,cAAW,CAAE;AAAA,IAAA,GACrE;AAAA,EAEJ;AACF;AAEAT,EAAU,cAAc;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"ChartCard-F1fMKsD4.js","sources":["../node_modules/@tabler/icons-react/dist/esm/icons/IconDotsVertical.mjs","../src/components/charts/shared/ChartCard/ChartCardLoading/ChartCardLoading.tsx","../src/components/charts/shared/ChartCard/ChartCardMenuPro/ChartCardMenuPro.tsx","../src/components/charts/shared/ChartCard/ChartCard.tsx"],"sourcesContent":["/**\n * @license @tabler/icons-react v3.36.0 - MIT\n *\n * This source code is licensed under the MIT license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createReactComponent from '../createReactComponent.mjs';\n\nconst __iconNode = [[\"path\", { \"d\": \"M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0\", \"key\": \"svg-0\" }], [\"path\", { \"d\": \"M12 19m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0\", \"key\": \"svg-1\" }], [\"path\", { \"d\": \"M12 5m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0\", \"key\": \"svg-2\" }]];\nconst IconDotsVertical = createReactComponent(\"outline\", \"dots-vertical\", \"DotsVertical\", __iconNode);\n\nexport { __iconNode, IconDotsVertical as default };\n//# sourceMappingURL=IconDotsVertical.mjs.map\n","import { IconLoader2 } from '@tabler/icons-react';\nimport styles from './ChartCardLoading.module.css';\n\nexport const ChartCardLoading = () => <IconLoader2 className={styles.loading} />;\n","import { IconDotsVertical } from '@tabler/icons-react';\nimport React from 'react';\nimport { useTheme } from '@embeddable.com/react';\nimport { ChartCardLoading } from '../ChartCardLoading/ChartCardLoading';\nimport { i18n, i18nSetup } from '../../../../../theme/i18n/i18n';\nimport { Theme } from '../../../../../theme/theme.types';\nimport {\n Dropdown,\n ActionIcon,\n SelectFieldContent,\n SelectListOption,\n} from '@embeddable.com/remarkable-ui';\nimport styles from './ChartCardMenuPro.module.css';\nimport { ChartCardMenuOptionOnClickProps } from '../../../../../theme/defaults/defaults.ChartCardMenu.constants';\n\ntype InlineSvgFromDataProps = React.HTMLAttributes<HTMLSpanElement> & {\n src: string;\n};\n\nexport function InlineSvgFromData({ src, className, ...rest }: InlineSvgFromDataProps) {\n // Remove prefix and URL-decode the SVG markup\n const svgMarkup = decodeURIComponent(src.replace(/^data:image\\/svg\\+xml,/, ''));\n\n return <div className={className} {...rest} dangerouslySetInnerHTML={{ __html: svgMarkup }} />;\n}\n\ntype ChartCardMenuProProps = Omit<ChartCardMenuOptionOnClickProps, 'theme'>;\n\nexport const ChartCardMenuPro: React.FC<ChartCardMenuProProps> = (props) => {\n const theme: Theme = useTheme() as Theme;\n i18nSetup(theme);\n\n const [isLoading, setIsLoading] = React.useState(false);\n\n const options = theme.defaults.chartMenuOptions ?? [];\n\n if (options.length === 0) {\n return null;\n }\n\n const startAction = (onClick: () => void | Promise<void>) => {\n setTimeout(() => {\n Promise.resolve(onClick()).finally(() => setIsLoading(false));\n }, 100);\n };\n\n const handleExport = (onClick: (props: ChartCardMenuOptionOnClickProps) => void) => {\n setIsLoading(true);\n if (props.onCustomDownload) {\n props.onCustomDownload((args) => startAction(() => onClick(args)));\n return;\n }\n startAction(() => onClick({ ...props, theme }));\n };\n\n return (\n <Dropdown\n side=\"bottom\"\n align=\"end\"\n triggerComponent={isLoading ? <ChartCardLoading /> : <ActionIcon icon={IconDotsVertical} />}\n >\n <SelectFieldContent className={styles.list} autoFocus>\n {options.map((option, index) => {\n const label = i18n.t(option.labelKey);\n\n return (\n <SelectListOption\n key={index}\n label={label}\n onClick={() => handleExport(option.onClick)}\n startIcon={option.iconSrc ? <InlineSvgFromData src={option.iconSrc} /> : undefined}\n />\n );\n })}\n </SelectFieldContent>\n </Dropdown>\n );\n};\n","import React, { CSSProperties, useRef } from 'react';\nimport { IconAlertCircle } from '@tabler/icons-react';\nimport {\n Card,\n CardContent,\n CardFeedback,\n CardHeader,\n Skeleton,\n} from '@embeddable.com/remarkable-ui';\nimport styles from './ChartCard.module.css';\nimport { DataResponse, Dimension, Measure } from '@embeddable.com/core';\nimport { useTheme } from '@embeddable.com/react';\nimport { ChartCardLoading } from './ChartCardLoading/ChartCardLoading';\nimport { ChartCardMenuPro } from './ChartCardMenuPro/ChartCardMenuPro';\nimport { Theme } from '../../../../theme/theme.types';\nimport { i18n, i18nSetup } from '../../../../theme/i18n/i18n';\nimport clsx from 'clsx';\nimport { ChartCardMenuOptionOnClickProps } from '../../../../theme/defaults/defaults.ChartCardMenu.constants';\n\ntype ChartCardProps = {\n title: string;\n subtitle?: string;\n children: React.ReactNode;\n data: DataResponse;\n errorMessage?: string;\n style?: CSSProperties;\n dimensionsAndMeasures?: (Dimension | Measure)[];\n onCustomDownload?: (props: (props: ChartCardMenuOptionOnClickProps) => void) => void;\n};\n\nexport const ChartCard = React.forwardRef<HTMLDivElement, ChartCardProps>(\n (\n { title, subtitle, children, data, errorMessage, dimensionsAndMeasures = [], onCustomDownload },\n ref,\n ) => {\n const theme: Theme = useTheme() as Theme;\n i18nSetup(theme);\n\n const chartRef = useRef<HTMLDivElement>(null);\n\n const hasData = Boolean(data?.data && data.data?.length > 0);\n\n const isLoading = !data || data?.isLoading;\n\n const getDisplay = () => {\n if (isLoading && !hasData) {\n return <Skeleton />;\n }\n\n if (errorMessage) {\n return (\n <CardFeedback\n variant=\"error\"\n icon={IconAlertCircle}\n title={i18n.t('charts.errorTitle')}\n message={errorMessage}\n />\n );\n }\n\n if (!hasData) {\n return (\n <CardFeedback\n title={i18n.t('charts.emptyTitle')}\n message={i18n.t('charts.emptyMessage')}\n />\n );\n }\n\n return children;\n };\n\n return (\n <Card className={styles.chartCard}>\n <CardHeader\n title={title}\n subtitle={subtitle}\n rightContent={\n <div className={styles.chartCardRightContent}>\n <div\n className={clsx(styles.fixedContent, isLoading ? styles.loading : styles.hidden)}\n >\n <ChartCardLoading />\n </div>\n <div\n className={clsx(styles.fixedContent, isLoading ? styles.hidden : styles.visible)}\n >\n <ChartCardMenuPro\n title={title}\n containerRef={chartRef}\n data={data?.data}\n dimensionsAndMeasures={dimensionsAndMeasures}\n onCustomDownload={onCustomDownload}\n />\n </div>\n </div>\n }\n />\n\n <CardContent ref={onCustomDownload ? ref : chartRef}>{getDisplay()}</CardContent>\n </Card>\n );\n },\n);\n\nChartCard.displayName = 'ChartCard';\n"],"names":["__iconNode","IconDotsVertical","createReactComponent","ChartCardLoading","jsx","IconLoader2","styles","InlineSvgFromData","src","className","rest","svgMarkup","ChartCardMenuPro","props","theme","useTheme","i18nSetup","isLoading","setIsLoading","React","options","startAction","onClick","handleExport","args","Dropdown","ActionIcon","SelectFieldContent","option","index","label","i18n","SelectListOption","ChartCard","title","subtitle","children","data","errorMessage","dimensionsAndMeasures","onCustomDownload","ref","chartRef","useRef","hasData","_a","getDisplay","Skeleton","CardFeedback","IconAlertCircle","jsxs","Card","CardHeader","clsx","CardContent"],"mappings":";;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,MAAMA,IAAa,CAAC,CAAC,QAAQ,EAAE,GAAK,4CAA4C,KAAO,QAAO,CAAE,GAAG,CAAC,QAAQ,EAAE,GAAK,4CAA4C,KAAO,SAAS,GAAG,CAAC,QAAQ,EAAE,GAAK,2CAA2C,KAAO,QAAO,CAAE,CAAC,GACxPC,IAAmBC,EAAqB,WAAW,iBAAiB,gBAAgBF,CAAU;;;;;;;;GCPvFG,IAAmB,MAAMC,gBAAAA,EAAAA,IAACC,GAAA,EAAY,WAAWC,EAAO,SAAS;;;ACgBvE,SAASC,EAAkB,EAAE,KAAAC,GAAK,WAAAC,GAAW,GAAGC,KAAgC;AAErF,QAAMC,IAAY,mBAAmBH,EAAI,QAAQ,0BAA0B,EAAE,CAAC;AAE9E,SAAOJ,gBAAAA,EAAAA,IA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AAA;AAAAA,cAAC;AAAA,cAAA;AAAA,gBACC,WAAWiD,EAAK/C,EAAO,cAAcW,IAAYX,EAAO,UAAUA,EAAO,MAAM;AAAA,gBAE/E,gCAACH,GAAA,CAAA,CAAiB;AAAA,cAAA;AAAA,YAAA;AAAA,YAEpBC,gBAAAA,EAAAA;AAAAA,cAAC;AAAA,cAAA;AAAA,gBACC,WAAWiD,EAAK/C,EAAO,cAAcW,IAAYX,EAAO,SAASA,EAAO,OAAO;AAAA,gBAE/E,UAAAF,gBAAAA,EAAAA;AAAAA,kBAACQ;AAAA,kBAAA;AAAA,oBACC,OAAAsB;AAAA,oBACA,cAAcQ;AAAA,oBACd,MAAML,KAAA,gBAAAA,EAAM;AAAA,oBACZ,uBAAAE;AAAA,oBACA,kBAAAC;AAAA,kBAAA;AAAA,gBAAA;AAAA,cACF;AAAA,YAAA;AAAA,UACF,EAAA,CACF;AAAA,QAAA;AAAA,MAAA;AAAA,4BAIHc,GAAA,EAAY,KAAKd,IAAmBC,IAAMC,GAAW,cAAW,CAAE;AAAA,IAAA,GACrE;AAAA,EAEJ;AACF;AAEAT,EAAU,cAAc;","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- import { d as e } from "./index-DjwSlZQY.js";
1
+ import { d as e } from "./index-CIy-fCZE.js";
2
2
  const r = e("color", {
3
3
  label: "Color",
4
4
  optionLabel: (o) => o.toUpperCase()
@@ -6,4 +6,4 @@ const r = e("color", {
6
6
  export {
7
7
  r as C
8
8
  };
9
- //# sourceMappingURL=Color.type.emb-BPT7WKyR.js.map
9
+ //# sourceMappingURL=Color.type.emb-BmenseN6.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Color.type.emb-BPT7WKyR.js","sources":["../src/editors/ColorEditor/Color.type.emb.ts"],"sourcesContent":["import { defineType } from '@embeddable.com/core';\n\nconst ColorType = defineType('color', {\n label: 'Color',\n optionLabel: (value: string) => value.toUpperCase(),\n});\n\nexport default ColorType;\n"],"names":["ColorType","defineType","value"],"mappings":";AAEA,MAAMA,IAAYC,EAAW,SAAS;AAAA,EACpC,OAAO;AAAA,EACP,aAAa,CAACC,MAAkBA,EAAM,YAAA;AACxC,CAAC;"}
1
+ {"version":3,"file":"Color.type.emb-BmenseN6.js","sources":["../src/editors/ColorEditor/Color.type.emb.ts"],"sourcesContent":["import { defineType } from '@embeddable.com/core';\n\nconst ColorType = defineType('color', {\n label: 'Color',\n optionLabel: (value: string) => value.toUpperCase(),\n});\n\nexport default ColorType;\n"],"names":["ColorType","defineType","value"],"mappings":";AAEA,MAAMA,IAAYC,EAAW,SAAS;AAAA,EACpC,OAAO;AAAA,EACP,aAAa,CAACC,MAAkBA,EAAM,YAAA;AACxC,CAAC;"}
@@ -1,6 +1,6 @@
1
1
  import { defineEditor as l } from "@embeddable.com/react";
2
- import { C as a } from "./Color.type.emb-BPT7WKyR.js";
3
- import { j as n, A as i, I as p, V as u } from "./index-DjwSlZQY.js";
2
+ import { C as a } from "./Color.type.emb-BmenseN6.js";
3
+ import { j as n, A as i, I as p, V as u } from "./index-CIy-fCZE.js";
4
4
  import { useState as m, useEffect as C } from "react";
5
5
  const I = "_colorInputContainer_1o1qe_1", d = "_colorInput_1o1qe_1", s = {
6
6
  colorInputContainer: I,
@@ -1,4 +1,4 @@
1
- import { d as i, b as o } from "./index-DjwSlZQY.js";
1
+ import { d as i, b as o } from "./index-CIy-fCZE.js";
2
2
  const e = i("comparisonPeriod", {
3
3
  label: "Comparison Period",
4
4
  optionLabel: (r) => r
@@ -11,4 +11,4 @@ o(e, "Previous year");
11
11
  export {
12
12
  e as C
13
13
  };
14
- //# sourceMappingURL=ComparisonPeriod.type.emb-Bq4r1RbE.js.map
14
+ //# sourceMappingURL=ComparisonPeriod.type.emb-Bp4VzSqq.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ComparisonPeriod.type.emb-Bq4r1RbE.js","sources":["../src/components/types/ComparisonPeriod.type.emb.ts"],"sourcesContent":["import { defineOption, defineType } from '@embeddable.com/core';\n\nconst ComparisonPeriodType = defineType('comparisonPeriod', {\n label: 'Comparison Period',\n optionLabel: (value: string) => value,\n});\n\ndefineOption(ComparisonPeriodType, 'Previous period');\ndefineOption(ComparisonPeriodType, 'Previous week');\ndefineOption(ComparisonPeriodType, 'Previous month');\ndefineOption(ComparisonPeriodType, 'Previous quarter');\ndefineOption(ComparisonPeriodType, 'Previous year');\n\nexport default ComparisonPeriodType;\n"],"names":["ComparisonPeriodType","defineType","value","defineOption"],"mappings":";AAEA,MAAMA,IAAuBC,EAAW,oBAAoB;AAAA,EAC1D,OAAO;AAAA,EACP,aAAa,CAACC,MAAkBA;AAClC,CAAC;AAEDC,EAAaH,GAAsB,iBAAiB;AACpDG,EAAaH,GAAsB,eAAe;AAClDG,EAAaH,GAAsB,gBAAgB;AACnDG,EAAaH,GAAsB,kBAAkB;AACrDG,EAAaH,GAAsB,eAAe;"}
1
+ {"version":3,"file":"ComparisonPeriod.type.emb-Bp4VzSqq.js","sources":["../src/components/types/ComparisonPeriod.type.emb.ts"],"sourcesContent":["import { defineOption, defineType } from '@embeddable.com/core';\n\nconst ComparisonPeriodType = defineType('comparisonPeriod', {\n label: 'Comparison Period',\n optionLabel: (value: string) => value,\n});\n\ndefineOption(ComparisonPeriodType, 'Previous period');\ndefineOption(ComparisonPeriodType, 'Previous week');\ndefineOption(ComparisonPeriodType, 'Previous month');\ndefineOption(ComparisonPeriodType, 'Previous quarter');\ndefineOption(ComparisonPeriodType, 'Previous year');\n\nexport default ComparisonPeriodType;\n"],"names":["ComparisonPeriodType","defineType","value","defineOption"],"mappings":";AAEA,MAAMA,IAAuBC,EAAW,oBAAoB;AAAA,EAC1D,OAAO;AAAA,EACP,aAAa,CAACC,MAAkBA;AAClC,CAAC;AAEDC,EAAaH,GAAsB,iBAAiB;AACpDG,EAAaH,GAAsB,eAAe;AAClDG,EAAaH,GAAsB,gBAAgB;AACnDG,EAAaH,GAAsB,kBAAkB;AACrDG,EAAaH,GAAsB,eAAe;"}
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as r } from "@embeddable.com/react";
2
- import { V as a } from "./index-DjwSlZQY.js";
3
- import { D as i } from "./index-C7mz7pKQ.js";
4
- import { F as t, G as n, _ as l } from "./component.constants-DmK3uQGY.js";
5
- import { C as o } from "./ComparisonPeriod.type.emb-Bq4r1RbE.js";
2
+ import { V as a } from "./index-CIy-fCZE.js";
3
+ import { D as i } from "./index-JRFQo8DK.js";
4
+ import { F as t, G as n, _ as l } from "./component.constants-5pSEkTqN.js";
5
+ import { C as o } from "./ComparisonPeriod.type.emb-Bp4VzSqq.js";
6
6
  const p = {
7
7
  name: "ComparisonPeriodSelectFieldPro",
8
8
  label: "Comparison Period Select Field",
@@ -0,0 +1,89 @@
1
+ import { useTheme as C, defineComponent as v } from "@embeddable.com/react";
2
+ import { j as l, c as y, V as s } from "./index-CIy-fCZE.js";
3
+ import { u as D, g as P, a as V, b as w } from "./dates.utils-f-XJ_LBg.js";
4
+ import { a as j, r as k, i as F, F as M, G as T, _ as x, g as o } from "./component.constants-5pSEkTqN.js";
5
+ import { E as L } from "./EditorCard-CXmogrdI.js";
6
+ const S = (e) => {
7
+ const a = C();
8
+ j(a);
9
+ const { dayjsLocaleReady: r } = D();
10
+ if (!r)
11
+ return null;
12
+ const { onChange: i, clearable: u, selectedValue: t, showTwoMonths: c } = e, { description: d, placeholder: m, title: g } = k(e), p = (R) => {
13
+ const b = w(R);
14
+ i(b);
15
+ }, n = a.defaults.dateRangesOptions, h = P(t, "MMM DD", n), f = a.i18n.language ?? a.formatter.locale;
16
+ return /* @__PURE__ */ l.jsx(L, { title: g, subtitle: d, children: /* @__PURE__ */ l.jsx(
17
+ y,
18
+ {
19
+ locale: f,
20
+ clearable: u,
21
+ placeholder: m,
22
+ displayValue: h,
23
+ numberOfMonths: c ? 2 : 1,
24
+ value: V(t, n),
25
+ onChange: p,
26
+ submitLabel: F.t("editors.dateRangePicker.apply")
27
+ }
28
+ ) });
29
+ }, E = {
30
+ name: "DateRangePickerCustomPro",
31
+ label: "Date-Range Picker - Custom",
32
+ category: "Dropdowns",
33
+ defaultWidth: 300,
34
+ defaultHeight: 120,
35
+ inputs: [
36
+ { ...M },
37
+ { ...T },
38
+ { ...x, defaultValue: "Select a date-range" },
39
+ { ...o, name: "clearable", label: "Can be cleared", defaultValue: !0 },
40
+ {
41
+ name: "selectedValue",
42
+ type: "timeRange",
43
+ label: "Selected Value",
44
+ category: "Pre-configured variables"
45
+ },
46
+ {
47
+ ...o,
48
+ name: "showTwoMonths",
49
+ label: "Show two months",
50
+ defaultValue: !1
51
+ }
52
+ ],
53
+ events: [
54
+ {
55
+ name: "onChange",
56
+ label: "selected date-range updated",
57
+ properties: [
58
+ {
59
+ name: "value",
60
+ label: "selected date-range",
61
+ type: "timeRange"
62
+ }
63
+ ]
64
+ }
65
+ ],
66
+ variables: [
67
+ {
68
+ name: "date-range value",
69
+ type: "timeRange",
70
+ defaultValue: s.noFilter(),
71
+ inputs: ["selectedValue"],
72
+ events: [{ name: "onChange", property: "value" }]
73
+ }
74
+ ]
75
+ }, I = v(S, E, {
76
+ props: (e) => ({
77
+ ...e
78
+ }),
79
+ events: {
80
+ onChange: (e) => ({
81
+ value: e ?? s.noFilter()
82
+ })
83
+ }
84
+ });
85
+ export {
86
+ I as default,
87
+ E as meta
88
+ };
89
+ //# sourceMappingURL=DateRangePickerCustomPro.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DateRangePickerCustomPro.js","sources":["../src/components/editors/dates/DateRangePickerCustomPro/index.tsx","../src/components/editors/dates/DateRangePickerCustomPro/DateRangePickerCustomPro.emb.ts"],"sourcesContent":["import { useTheme } from '@embeddable.com/react';\nimport { DateRange, DateRangePickerField } from '@embeddable.com/remarkable-ui';\nimport { Theme } from '../../../../theme/theme.types';\nimport { useLoadDayjsLocale } from '../../../../utils.ts/date.utils';\nimport { TimeRange } from '@embeddable.com/core';\nimport { resolveI18nProps } from '../../../component.utils';\nimport { EditorCard } from '../../shared/EditorCard/EditorCard';\nimport { i18n, i18nSetup } from '../../../../theme/i18n/i18n';\nimport {\n getDateRangeFromTimeRange,\n getTimeRangeFromDateRange,\n getTimeRangeLabel,\n} from '../dates.utils';\n\ntype DateRangePickerPresetsProps = {\n description?: string;\n onChange: (newDateRange: TimeRange) => void;\n placeholder?: string;\n selectedValue: TimeRange;\n title?: string;\n clearable?: boolean;\n showTwoMonths?: boolean;\n};\n\nconst DateRangePickerPresets = (props: DateRangePickerPresetsProps) => {\n const theme: Theme = useTheme() as Theme;\n i18nSetup(theme);\n\n const { dayjsLocaleReady } = useLoadDayjsLocale();\n\n if (!dayjsLocaleReady) {\n return null;\n }\n\n const { onChange, clearable, selectedValue, showTwoMonths } = props;\n\n const { description, placeholder, title } = resolveI18nProps(props);\n\n const handleChange = (newDateRange: DateRange | undefined) => {\n const timeRange: TimeRange = getTimeRangeFromDateRange(newDateRange);\n onChange(timeRange);\n };\n\n const dateRangeOptions = theme.defaults.dateRangesOptions;\n const displayValue = getTimeRangeLabel(selectedValue, 'MMM DD', dateRangeOptions);\n\n const locale = theme.i18n.language ?? theme.formatter.locale;\n\n return (\n <EditorCard title={title} subtitle={description}>\n <DateRangePickerField\n locale={locale}\n clearable={clearable}\n placeholder={placeholder}\n displayValue={displayValue}\n numberOfMonths={showTwoMonths ? 2 : 1}\n value={getDateRangeFromTimeRange(selectedValue, dateRangeOptions)}\n onChange={handleChange}\n submitLabel={i18n.t('editors.dateRangePicker.apply')}\n />\n </EditorCard>\n );\n};\n\nexport default DateRangePickerPresets;\n","import { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport { Value } from '@embeddable.com/core';\nimport DateTimeSelectFieldPro from './index';\nimport { description, genericBoolean, placeholder, title } from '../../../component.constants';\n\nexport const meta = {\n name: 'DateRangePickerCustomPro',\n label: 'Date-Range Picker - Custom',\n category: 'Dropdowns',\n defaultWidth: 300,\n defaultHeight: 120,\n inputs: [\n { ...title },\n { ...description },\n { ...placeholder, defaultValue: 'Select a date-range' },\n { ...genericBoolean, name: 'clearable', label: 'Can be cleared', defaultValue: true },\n {\n name: 'selectedValue',\n type: 'timeRange',\n label: 'Selected Value',\n category: 'Pre-configured variables',\n },\n {\n ...genericBoolean,\n name: 'showTwoMonths',\n label: 'Show two months',\n defaultValue: false,\n },\n ],\n events: [\n {\n name: 'onChange',\n label: 'selected date-range updated',\n properties: [\n {\n name: 'value',\n label: 'selected date-range',\n type: 'timeRange',\n },\n ],\n },\n ],\n variables: [\n {\n name: 'date-range value',\n type: 'timeRange',\n defaultValue: Value.noFilter(),\n inputs: ['selectedValue'],\n events: [{ name: 'onChange', property: 'value' }],\n },\n ],\n} as const satisfies EmbeddedComponentMeta;\n\nexport default defineComponent(DateTimeSelectFieldPro, meta, {\n props: (inputs: Inputs<typeof meta>) => {\n return {\n ...inputs,\n };\n },\n events: {\n onChange: (range) => ({\n value: range ?? Value.noFilter(),\n }),\n },\n});\n"],"names":["DateRangePickerPresets","props","theme","useTheme","i18nSetup","dayjsLocaleReady","useLoadDayjsLocale","onChange","clearable","selectedValue","showTwoMonths","description","placeholder","title","resolveI18nProps","handleChange","newDateRange","timeRange","getTimeRangeFromDateRange","dateRangeOptions","displayValue","getTimeRangeLabel","locale","jsx","EditorCard","DateRangePickerField","getDateRangeFromTimeRange","i18n","meta","genericBoolean","Value","DateRangePickerCustomPro_emb","defineComponent","DateTimeSelectFieldPro","inputs","range"],"mappings":";;;;;AAwBA,MAAMA,IAAyB,CAACC,MAAuC;AACrE,QAAMC,IAAeC,EAAA;AACrB,EAAAC,EAAUF,CAAK;AAEf,QAAM,EAAE,kBAAAG,EAAA,IAAqBC,EAAA;AAE7B,MAAI,CAACD;AACH,WAAO;AAGT,QAAM,EAAE,UAAAE,GAAU,WAAAC,GAAW,eAAAC,GAAe,eAAAC,MAAkBT,GAExD,EAAE,aAAAU,GAAa,aAAAC,GAAa,OAAAC,EAAA,IAAUC,EAAiBb,CAAK,GAE5Dc,IAAe,CAACC,MAAwC;AAC5D,UAAM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F;AAAA,EAEF,WAAW;AAAA,IACT;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,cAAcC,EAAM,SAAA;AAAA,MACpB,QAAQ,CAAC,eAAe;AAAA,MACxB,QAAQ,CAAC,EAAE,MAAM,YAAY,UAAU,SAAS;AAAA,IAAA;AAAA,EAClD;AAEJ,GAEAC,IAAeC,EAAgBC,GAAwBL,GAAM;AAAA,EAC3D,OAAO,CAACM,OACC;AAAA,IACL,GAAGA;AAAA,EAAA;AAAA,EAGP,QAAQ;AAAA,IACN,UAAU,CAACC,OAAW;AAAA,MACpB,OAAOA,KAASL,EAAM,SAAA;AAAA,IAAS;AAAA,EACjC;AAEJ,CAAC;"}
@@ -1,18 +1,30 @@
1
- import { defineComponent as t } from "@embeddable.com/react";
2
- import { V as a } from "./index-DjwSlZQY.js";
3
- import { D as l } from "./index-mp4eyizO.js";
4
- import { F as n, G as r, _ as o, g as i } from "./component.constants-DmK3uQGY.js";
5
- const d = {
1
+ import { defineComponent as l } from "@embeddable.com/react";
2
+ import { V as t } from "./index-CIy-fCZE.js";
3
+ import { D as n } from "./index-DZlowRxA.js";
4
+ import { F as o, G as r, _ as s, g as a } from "./component.constants-5pSEkTqN.js";
5
+ const u = {
6
6
  name: "DateRangeSelectFieldPro",
7
- label: "Date Range Select Field",
7
+ label: "Date-Range Picker - Presets",
8
8
  category: "Dropdowns",
9
9
  defaultWidth: 300,
10
10
  defaultHeight: 120,
11
11
  inputs: [
12
- { ...n },
12
+ { ...o },
13
13
  { ...r },
14
- { ...o, defaultValue: "Select a date-range" },
15
- { ...i, name: "clearable", label: "Can be cleared", defaultValue: !0 },
14
+ { ...s, defaultValue: "Select a date-range" },
15
+ {
16
+ ...a,
17
+ name: "showCustomRangeOptions",
18
+ label: "Show custom date-range option",
19
+ defaultValue: !0
20
+ },
21
+ {
22
+ ...a,
23
+ name: "showTwoMonths",
24
+ label: "Show two-month view",
25
+ defaultValue: !1
26
+ },
27
+ { ...a, name: "clearable", label: "Can be cleared", defaultValue: !0 },
16
28
  {
17
29
  name: "selectedValue",
18
30
  type: "timeRange",
@@ -37,27 +49,23 @@ const d = {
37
49
  {
38
50
  name: "date-range value",
39
51
  type: "timeRange",
40
- defaultValue: a.noFilter(),
52
+ defaultValue: t.noFilter(),
41
53
  inputs: ["selectedValue"],
42
54
  events: [{ name: "onChange", property: "value" }]
43
55
  }
44
56
  ]
45
- }, c = t(l, d, {
57
+ }, g = l(n, u, {
46
58
  props: (e) => ({
47
59
  ...e
48
60
  }),
49
61
  events: {
50
62
  onChange: (e) => ({
51
- value: e ? {
52
- ...e,
53
- relativeTimeString: ""
54
- // This is prioritised over the from and to dates, so we don't pass this for now (as we don't want Cube parsing this instead of using the calculated dates)
55
- } : a.noFilter()
63
+ value: e ?? t.noFilter()
56
64
  })
57
65
  }
58
66
  });
59
67
  export {
60
- c as default,
61
- d as meta
68
+ g as default,
69
+ u as meta
62
70
  };
63
71
  //# sourceMappingURL=DateRangeSelectFieldPro.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"DateRangeSelectFieldPro.js","sources":["../src/components/editors/DateRangeSelectFieldPro/DateRangeSelectFieldPro.emb.ts"],"sourcesContent":["import { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport { Value } from '@embeddable.com/core';\nimport DateTimeSelectFieldPro from './index';\nimport { description, genericBoolean, placeholder, title } from '../../component.constants';\n\nexport const meta = {\n name: 'DateRangeSelectFieldPro',\n label: 'Date Range Select Field',\n category: 'Dropdowns',\n defaultWidth: 300,\n defaultHeight: 120,\n inputs: [\n { ...title },\n { ...description },\n { ...placeholder, defaultValue: 'Select a date-range' },\n { ...genericBoolean, name: 'clearable', label: 'Can be cleared', defaultValue: true },\n {\n name: 'selectedValue',\n type: 'timeRange',\n label: 'Selected Value',\n category: 'Pre-configured variables',\n },\n ],\n events: [\n {\n name: 'onChange',\n label: 'selected date-range updated',\n properties: [\n {\n name: 'value',\n label: 'selected date-range',\n type: 'timeRange',\n },\n ],\n },\n ],\n variables: [\n {\n name: 'date-range value',\n type: 'timeRange',\n defaultValue: Value.noFilter(),\n inputs: ['selectedValue'],\n events: [{ name: 'onChange', property: 'value' }],\n },\n ],\n} as const satisfies EmbeddedComponentMeta;\n\nexport default defineComponent(DateTimeSelectFieldPro, meta, {\n props: (inputs: Inputs<typeof meta>) => {\n return {\n ...inputs,\n };\n },\n events: {\n onChange: (range) => {\n return {\n value: range\n ? {\n ...range,\n relativeTimeString: '', // This is prioritised over the from and to dates, so we don't pass this for now (as we don't want Cube parsing this instead of using the calculated dates)\n }\n : Value.noFilter(),\n };\n },\n },\n});\n"],"names":["meta","title","description","placeholder","genericBoolean","Value","DateRangeSelectFieldPro_emb","defineComponent","DateTimeSelectFieldPro","inputs","range"],"mappings":";;;;AAKO,MAAMA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,cAAc;AAAA,EACd,eAAe;AAAA,EACf,QAAQ;AAAA,IACN,EAAE,GAAGC,EAAA;AAAA,IACL,EAAE,GAAGC,EAAA;AAAA,IACL,EAAE,GAAGC,GAAa,cAAc,sBAAA;AAAA,IAChC,EAAE,GAAGC,GAAgB,MAAM,aAAa,OAAO,kBAAkB,cAAc,GAAA;AAAA,IAC/E;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,OAAO;AAAA,MACP,UAAU;AAAA,IAAA;AAAA,EACZ;AAAA,EAEF,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;AAAA,EAEF,WAAW;AAAA,IACT;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,cAAcC,EAAM,SAAA;AAAA,MACpB,QAAQ,CAAC,eAAe;AAAA,MACxB,QAAQ,CAAC,EAAE,MAAM,YAAY,UAAU,SAAS;AAAA,IAAA;AAAA,EAClD;AAEJ,GAEAC,IAAeC,EAAgBC,GAAwBR,GAAM;AAAA,EAC3D,OAAO,CAACS,OACC;AAAA,IACL,GAAGA;AAAA,EAAA;AAAA,EAGP,QAAQ;AAAA,IACN,UAAU,CAACC,OACF;AAAA,MACL,OAAOA,IACH;AAAA,QACE,GAAGA;AAAA,QACH,oBAAoB;AAAA;AAAA,MAAA,IAEtBL,EAAM,SAAA;AAAA,IAAS;AAAA,EAEvB;AAEJ,CAAC;"}
1
+ {"version":3,"file":"DateRangeSelectFieldPro.js","sources":["../src/components/editors/dates/DateRangePickerPresetsPro/DateRangeSelectFieldPro.emb.ts"],"sourcesContent":["import { defineComponent, EmbeddedComponentMeta, Inputs } from '@embeddable.com/react';\nimport { Value } from '@embeddable.com/core';\nimport DateTimeSelectFieldPro from './index';\nimport { description, genericBoolean, placeholder, title } from '../../../component.constants';\n\nexport const meta = {\n name: 'DateRangeSelectFieldPro',\n label: 'Date-Range Picker - Presets',\n category: 'Dropdowns',\n defaultWidth: 300,\n defaultHeight: 120,\n inputs: [\n { ...title },\n { ...description },\n { ...placeholder, defaultValue: 'Select a date-range' },\n {\n ...genericBoolean,\n name: 'showCustomRangeOptions',\n label: 'Show custom date-range option',\n defaultValue: true,\n },\n {\n ...genericBoolean,\n name: 'showTwoMonths',\n label: 'Show two-month view',\n defaultValue: false,\n },\n { ...genericBoolean, name: 'clearable', label: 'Can be cleared', defaultValue: true },\n {\n name: 'selectedValue',\n type: 'timeRange',\n label: 'Selected Value',\n category: 'Pre-configured variables',\n },\n ],\n events: [\n {\n name: 'onChange',\n label: 'selected date-range updated',\n properties: [\n {\n name: 'value',\n label: 'selected date-range',\n type: 'timeRange',\n },\n ],\n },\n ],\n variables: [\n {\n name: 'date-range value',\n type: 'timeRange',\n defaultValue: Value.noFilter(),\n inputs: ['selectedValue'],\n events: [{ name: 'onChange', property: 'value' }],\n },\n ],\n} as const satisfies EmbeddedComponentMeta;\n\nexport default defineComponent(DateTimeSelectFieldPro, meta, {\n props: (inputs: Inputs<typeof meta>) => {\n return {\n ...inputs,\n };\n },\n events: {\n onChange: (range) => ({\n value: range ?? Value.noFilter(),\n }),\n },\n});\n"],"names":["meta","title","description","placeholder","genericBoolean","Value","DateRangeSelectFieldPro_emb","defineComponent","DateTimeSelectFieldPro","inputs","range"],"mappings":";;;;AAKO,MAAMA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,UAAU;AAAA,EACV,cAAc;AAAA,EACd,eAAe;AAAA,EACf,QAAQ;AAAA,IACN,EAAE,GAAGC,EAAA;AAAA,IACL,EAAE,GAAGC,EAAA;AAAA,IACL,EAAE,GAAGC,GAAa,cAAc,sBAAA;AAAA,IAChC;AAAA,MACE,GAAGC;AAAA,MACH,MAAM;AAAA,MACN,OAAO;AAAA,MACP,cAAc;AAAA,IAAA;AAAA,IAEhB;AAAA,MACE,GAAGA;AAAA,MACH,MAAM;AAAA,MACN,OAAO;AAAA,MACP,cAAc;AAAA,IAAA;AAAA,IAEhB,EAAE,GAAGA,GAAgB,MAAM,aAAa,OAAO,kBAAkB,cAAc,GAAA;AAAA,IAC/E;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,OAAO;AAAA,MACP,UAAU;AAAA,IAAA;AAAA,EACZ;AAAA,EAEF,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;AAAA,EAEF,WAAW;AAAA,IACT;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,cAAcC,EAAM,SAAA;AAAA,MACpB,QAAQ,CAAC,eAAe;AAAA,MACxB,QAAQ,CAAC,EAAE,MAAM,YAAY,UAAU,SAAS;AAAA,IAAA;AAAA,EAClD;AAEJ,GAEAC,IAAeC,EAAgBC,GAAwBR,GAAM;AAAA,EAC3D,OAAO,CAACS,OACC;AAAA,IACL,GAAGA;AAAA,EAAA;AAAA,EAGP,QAAQ;AAAA,IACN,UAAU,CAACC,OAAW;AAAA,MACpB,OAAOA,KAASL,EAAM,SAAA;AAAA,IAAS;AAAA,EACjC;AAEJ,CAAC;"}
@@ -1,7 +1,7 @@
1
- import { V as a, l as s } from "./index-DjwSlZQY.js";
1
+ import { V as a, l as s } from "./index-CIy-fCZE.js";
2
2
  import { defineComponent as t } from "@embeddable.com/react";
3
- import { D as o } from "./index-Dbg-T-ST.js";
4
- import { v as n, D as r, w as i, F as m, G as l, I as d, Z as u, J as p, K as c } from "./component.constants-DmK3uQGY.js";
3
+ import { D as o } from "./index-DUn23CxN.js";
4
+ import { v as n, D as r, w as i, F as m, G as l, I as d, Z as u, J as p, K as c } from "./component.constants-5pSEkTqN.js";
5
5
  const C = {
6
6
  name: "DonutChartPro",
7
7
  label: "Donut Chart",
@@ -1,7 +1,7 @@
1
- import { D as n } from "./index-CFoVL8LS.js";
2
- import { V as s, l as a } from "./index-DjwSlZQY.js";
1
+ import { D as n } from "./index-B_zyCSBJ.js";
2
+ import { V as s, l as a } from "./index-CIy-fCZE.js";
3
3
  import { defineComponent as r } from "@embeddable.com/react";
4
- import { v as o, D as t, w as l, F as i, G as m, I as d, Z as u, J as b, K as c } from "./component.constants-DmK3uQGY.js";
4
+ import { v as o, D as t, w as l, F as i, G as m, I as d, Z as u, J as b, K as c } from "./component.constants-5pSEkTqN.js";
5
5
  const p = {
6
6
  name: "DonutLabelChartPro",
7
7
  label: "Donut Label Chart",
@@ -1,6 +1,6 @@
1
- import { j as r, C as c, p as d, q as m, r as l } from "./index-DjwSlZQY.js";
2
- import { useTheme as p } from "@embeddable.com/react";
3
- import { a as C, i as x, a0 as j } from "./component.constants-DmK3uQGY.js";
1
+ import { j as r, C as c, q as d, r as m, s as l } from "./index-CIy-fCZE.js";
2
+ import { useTheme as C } from "@embeddable.com/react";
3
+ import { a as p, i as x, a0 as j } from "./component.constants-5pSEkTqN.js";
4
4
  const u = "_card_15bw3_1", f = {
5
5
  card: u
6
6
  }, b = ({
@@ -10,8 +10,8 @@ const u = "_card_15bw3_1", f = {
10
10
  errorMessage: s,
11
11
  ...n
12
12
  }) => {
13
- const o = p();
14
- C(o);
13
+ const o = C();
14
+ p(o);
15
15
  const i = () => s ? /* @__PURE__ */ r.jsx(
16
16
  l,
17
17
  {
@@ -29,4 +29,4 @@ const u = "_card_15bw3_1", f = {
29
29
  export {
30
30
  b as E
31
31
  };
32
- //# sourceMappingURL=EditorCard-B95YC3pz.js.map
32
+ //# sourceMappingURL=EditorCard-CXmogrdI.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EditorCard-B95YC3pz.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
+ {"version":3,"file":"EditorCard-CXmogrdI.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
- import { l } from "./index-DjwSlZQY.js";
1
+ import { l } from "./index-CIy-fCZE.js";
2
2
  import { defineComponent as n } from "@embeddable.com/react";
3
- import { H as i } from "./index-GhU7CFw0.js";
4
- import { v as m, D as s, z as t, F as u, G as d, d as a, g as p, c as r, H as g } from "./component.constants-DmK3uQGY.js";
5
- import { C as o } from "./Color.type.emb-BPT7WKyR.js";
3
+ import { H as i } from "./index-DDx1tSTE.js";
4
+ import { v as m, D as s, z as t, F as u, G as d, d as a, g as p, c as r, H as g } from "./component.constants-5pSEkTqN.js";
5
+ import { C as o } from "./Color.type.emb-BmenseN6.js";
6
6
  const c = {
7
7
  name: "HeatMapPro",
8
8
  label: "Heat Map",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as t } from "@embeddable.com/react";
2
- import { v as l, D as s, y as p, b as c, F as g, G as d, g as o, c as r } from "./component.constants-DmK3uQGY.js";
3
- import { K as y } from "./index-Cj6xdAWZ.js";
4
- import { l as i } from "./index-DjwSlZQY.js";
5
- import { C } from "./ComparisonPeriod.type.emb-Bq4r1RbE.js";
2
+ import { v as l, D as s, y as p, b as c, F as g, G as d, g as o, c as r } from "./component.constants-5pSEkTqN.js";
3
+ import { K as y } from "./index-VMsVpFuu.js";
4
+ import { l as i } from "./index-CIy-fCZE.js";
5
+ import { C } from "./ComparisonPeriod.type.emb-Bp4VzSqq.js";
6
6
  const P = {
7
7
  name: "KpiChartNumberComparisonPro",
8
8
  label: "Kpi Chart - Number Comparison",
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as r } from "@embeddable.com/react";
2
- import { v as a, D as t, F as o, G as m, c as s } from "./component.constants-DmK3uQGY.js";
3
- import { K as i } from "./index-Bk1YIZZf.js";
4
- import { l as p } from "./index-DjwSlZQY.js";
2
+ import { v as a, D as t, F as o, G as m, c as s } from "./component.constants-5pSEkTqN.js";
3
+ import { K as i } from "./index-33BWxRVA.js";
4
+ import { l as p } from "./index-CIy-fCZE.js";
5
5
  const n = {
6
6
  name: "KpiChartNumberPro",
7
7
  label: "Kpi Chart - Number",
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as p } from "@embeddable.com/react";
2
- import { v as c, E as n, g as o, w as d, b as g, y, F as u, G as x, I as C, J as f, K as D, M as b, N as h, O as R, P as L, S as v, T as A, H as P } from "./component.constants-DmK3uQGY.js";
3
- import { L as T } from "./index-D_-Nl-64.js";
4
- import { V, l as s } from "./index-DjwSlZQY.js";
5
- import { C as w } from "./ComparisonPeriod.type.emb-Bq4r1RbE.js";
6
- import { C as l } from "./Color.type.emb-BPT7WKyR.js";
2
+ import { v as c, E as n, g as o, w as d, b as g, y, F as u, G as x, I as C, J as f, K as D, M as b, N as h, O as R, P as L, S as v, T as A, H as P } from "./component.constants-5pSEkTqN.js";
3
+ import { L as T } from "./index-1KmRpcj0.js";
4
+ import { V, l as s } from "./index-CIy-fCZE.js";
5
+ import { C as w } from "./ComparisonPeriod.type.emb-Bp4VzSqq.js";
6
+ import { C as l } from "./Color.type.emb-BmenseN6.js";
7
7
  const F = {
8
8
  name: "LineChartComparisonDefaultPro",
9
9
  label: "Line Chart Comparison - Default",