@embeddable.com/remarkable-pro 0.0.3 → 0.0.4
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/README.md +68 -17
- package/dist/BarChartDefaultHorizontalPro.js +4 -4
- package/dist/BarChartDefaultPro.js +4 -4
- package/dist/BarChartGroupedHorizontalPro.js +4 -4
- package/dist/BarChartGroupedPro.js +4 -4
- package/dist/BarChartStackedHorizontalPro.js +4 -4
- package/dist/BarChartStackedPro.js +4 -4
- package/dist/{ChartCard-CsKQOusx.js → ChartCard-C7c2rTst.js} +3 -3
- package/dist/{ChartCard-CsKQOusx.js.map → ChartCard-C7c2rTst.js.map} +1 -1
- package/dist/{Color.type.emb-9H0O-uuD.js → Color.type.emb-CSPAaucR.js} +2 -2
- package/dist/{Color.type.emb-9H0O-uuD.js.map → Color.type.emb-CSPAaucR.js.map} +1 -1
- package/dist/ColorEditor.js +2 -2
- package/dist/{ComparisonPeriod.type.emb-C3XjaFoD.js → ComparisonPeriod.type.emb-DOpJ1iWj.js} +2 -2
- package/dist/{ComparisonPeriod.type.emb-C3XjaFoD.js.map → ComparisonPeriod.type.emb-DOpJ1iWj.js.map} +1 -1
- package/dist/ComparisonPeriodSelectFieldPro.js +4 -4
- package/dist/DateRangeSelectFieldPro.js +3 -3
- package/dist/DonutChartPro.js +3 -3
- package/dist/DonutLabelChartPro.js +3 -3
- package/dist/{EditorCard-BMEwnQuU.js → EditorCard-BtlvgP9q.js} +3 -3
- package/dist/{EditorCard-BMEwnQuU.js.map → EditorCard-BtlvgP9q.js.map} +1 -1
- package/dist/HeatMapPro.js +5 -5
- package/dist/KpiChartNumberComparisonPro.js +6 -6
- package/dist/KpiChartNumberPro.js +4 -4
- package/dist/LineChartComparisonDefaultPro.js +7 -7
- package/dist/LineChartDefaultPro.js +5 -5
- package/dist/LineChartGroupedPro.js +4 -4
- package/dist/MultiSelectFieldPro.js +3 -3
- package/dist/PieChartPro.js +3 -3
- package/dist/PivotTablePro.js +128 -69
- package/dist/PivotTablePro.js.map +1 -1
- package/dist/SingleSelectFieldPro.js +3 -3
- package/dist/TableChartPaginated.js +4 -4
- package/dist/{bars.utils-BU_k5fia.js → bars.utils-JRnFN04m.js} +4 -4
- package/dist/{bars.utils-BU_k5fia.js.map → bars.utils-JRnFN04m.js.map} +1 -1
- package/dist/{charts.utils-rO92wRxO.js → charts.utils-DAkS2VK1.js} +4 -4
- package/dist/{charts.utils-rO92wRxO.js.map → charts.utils-DAkS2VK1.js.map} +1 -1
- package/dist/{component.constants-uP1WYyUb.js → component.constants-h6et83ck.js} +2 -2
- package/dist/{component.constants-uP1WYyUb.js.map → component.constants-h6et83ck.js.map} +1 -1
- package/dist/components/charts/tables/PivotTablePro/PivotPro.utils.d.ts +4 -1
- package/dist/components/charts/tables/PivotTablePro/PivotPro.utils.d.ts.map +1 -1
- package/dist/components/charts/tables/PivotTablePro/index.d.ts.map +1 -1
- package/dist/embeddable-components.json +9 -9
- package/dist/{formatter.utils-CeEdL8uQ.js → formatter.utils-DXzI4Hz_.js} +2 -2
- package/dist/{formatter.utils-CeEdL8uQ.js.map → formatter.utils-DXzI4Hz_.js.map} +1 -1
- package/dist/{index-DLFOG9Ar.js → index-B4S34Z5S.js} +6 -6
- package/dist/{index-DLFOG9Ar.js.map → index-B4S34Z5S.js.map} +1 -1
- package/dist/{index-DedIqjbn.js → index-BR6dp5RX.js} +6 -7
- package/dist/{index-DedIqjbn.js.map → index-BR6dp5RX.js.map} +1 -1
- package/dist/{index-B8bT85NR.js → index-C8O2asSv.js} +5 -5
- package/dist/{index-B8bT85NR.js.map → index-C8O2asSv.js.map} +1 -1
- package/dist/{index-Brb617sy.js → index-CWYH2gE2.js} +5 -5
- package/dist/{index-Brb617sy.js.map → index-CWYH2gE2.js.map} +1 -1
- package/dist/{index-BWpUwKTH.js → index-Czj-HZH9.js} +5 -5
- package/dist/{index-BWpUwKTH.js.map → index-Czj-HZH9.js.map} +1 -1
- package/dist/{index-DrosyYQD.js → index-DF-AuKua.js} +4 -4
- package/dist/{index-DrosyYQD.js.map → index-DF-AuKua.js.map} +1 -1
- package/dist/{index-Dwl9clc9.js → index-QOVQo6ZK.js} +5 -5
- package/dist/{index-Dwl9clc9.js.map → index-QOVQo6ZK.js.map} +1 -1
- package/dist/index.js +13 -13
- package/dist/{pies.utils-Dap7Duqb.js → pies.utils-Bl8jquyV.js} +5 -5
- package/dist/{pies.utils-Dap7Duqb.js.map → pies.utils-Bl8jquyV.js.map} +1 -1
- package/dist/remarkable-pro.css +1 -1
- package/dist/{timeRange.utils-J3a4XL64.js → timeRange.utils-CslTQiVA.js} +2 -2
- package/dist/{timeRange.utils-J3a4XL64.js.map → timeRange.utils-CslTQiVA.js.map} +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,26 +1,77 @@
|
|
|
1
|
-
# Remarkable
|
|
1
|
+
# Remarkable PRO is Embeddable’s production-ready component suite.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Remarkable PRO is component library to use inside of [Embeddable](https://embeddable.com/).
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
It provides [Embeddable](https://embeddable.com/) ready-to-go components, editors and granular styling via CSS variables inside the theme.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
Under the hood it uses the open source [Remarkable UI](https://www.npmjs.com/package/@embeddable.com/remarkable-ui) library.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
## 📦 Installation
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
```bash
|
|
12
|
+
npm install @embeddable.com/remarkable-pro
|
|
13
|
+
```
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
## 🧩 Setup (embeddable.config.ts)
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
export default defineConfig({
|
|
19
|
+
...
|
|
20
|
+
componentLibraries: ["@embeddable.com/remarkable-pro"]
|
|
21
|
+
});
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## 🚀 Remarkable PRO includes
|
|
25
|
+
|
|
26
|
+
- All core visualisations: bar, line, pie/donut, KPI tiles, tables, heatmaps, etc.
|
|
27
|
+
- All essential controls: dropdowns, multi-selects, date pickers (UTC-safe), and - custom filters.
|
|
28
|
+
- In-built interactivity: every chart supports click to filter.
|
|
29
|
+
- i18n: internationalisation, built-in.
|
|
30
|
+
- Consistent colors: automatic color-value assignment. And lots more.
|
|
31
|
+
|
|
32
|
+
## 🎨 Theme styling
|
|
33
|
+
|
|
34
|
+
The components and editors are part of the [Remarkable UI](https://www.npmjs.com/package/@embeddable.com/remarkable-ui) library, that uses its own [design system](https://github.com/embeddable-hq/remarkable-ui/blob/main/src/styles/global.tokens.ts) to style them.
|
|
35
|
+
|
|
36
|
+
To update this styles, simply specify your css variable overrides inside your root embeddable.theme.ts file.
|
|
37
|
+
|
|
38
|
+
```ts
|
|
39
|
+
const themeProvider = (clientContext: any, parentTheme: Theme): Theme => {
|
|
40
|
+
const newTheme: DeepPartial<Theme> = {
|
|
41
|
+
styles: {
|
|
42
|
+
'--em-button-background--primary': 'gray',
|
|
43
|
+
'--em-card-border-radius': '20px',
|
|
44
|
+
...
|
|
45
|
+
},
|
|
46
|
+
};
|
|
47
|
+
const theme = defineTheme(parentTheme, newTheme) as Theme;
|
|
48
|
+
return theme;
|
|
49
|
+
};
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## 📁 Project Structure
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
src/
|
|
56
|
+
assets/ # Icons and static assets
|
|
57
|
+
components/ # Chart, table, editor components
|
|
58
|
+
editors/ # Editor components and utilities
|
|
59
|
+
theme/ # Theme constants, types, and utils
|
|
60
|
+
types/ # Shared TypeScript types
|
|
61
|
+
utils.ts/ # Utility functions
|
|
62
|
+
```
|
|
22
63
|
|
|
23
64
|
## 🛠 Contributing
|
|
24
65
|
|
|
25
|
-
|
|
26
|
-
|
|
66
|
+
We welcome feedback and contributions!
|
|
67
|
+
|
|
68
|
+
1. Fork the repository
|
|
69
|
+
2. Create a feature branch
|
|
70
|
+
3. Commit your changes
|
|
71
|
+
4. Open a pull request
|
|
72
|
+
|
|
73
|
+
Please follow our code style and add tests for new features.
|
|
74
|
+
|
|
75
|
+
## 📄 License
|
|
76
|
+
|
|
77
|
+
MIT — see the `LICENSE` file for details.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as L, j as l, B as M, V, l as w } from "./index-
|
|
1
|
+
import { m as L, j as l, B as M, V, l as w } from "./index-BR6dp5RX.js";
|
|
2
2
|
import { useTheme as z, defineComponent as P } from "@embeddable.com/react";
|
|
3
|
-
import { a as v, r as y, v as R, E as k, z as H, F as I, G as j, I as F, J as S, K as T, M as Y, N as E, O as G, R as O, U as J, V as K, X as N } from "./component.constants-
|
|
4
|
-
import { C as U } from "./ChartCard-
|
|
5
|
-
import { g as W, a as X } from "./bars.utils-
|
|
3
|
+
import { a as v, r as y, v as R, E as k, z as H, F as I, G as j, I as F, J as S, K as T, M as Y, N as E, O as G, R as O, U as J, V as K, X as N } from "./component.constants-h6et83ck.js";
|
|
4
|
+
import { C as U } from "./ChartCard-C7c2rTst.js";
|
|
5
|
+
import { g as W, a as X } from "./bars.utils-JRnFN04m.js";
|
|
6
6
|
import { u as _ } from "./charts.fillGaps.hooks-YayOXVmt.js";
|
|
7
7
|
const q = (a) => {
|
|
8
8
|
var i, n;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as L, j as l, B as M, V as w, l as y } from "./index-
|
|
1
|
+
import { m as L, j as l, B as M, V as w, l as y } from "./index-BR6dp5RX.js";
|
|
2
2
|
import { useTheme as P, defineComponent as V } from "@embeddable.com/react";
|
|
3
|
-
import { a as v, r as k, v as I, E as R, z as j, F as S, G as T, I as F, J as X, K as z, M as E, N as G, O, P as W, S as J, T as K, W as N } from "./component.constants-
|
|
4
|
-
import { C as _ } from "./ChartCard-
|
|
5
|
-
import { g as q, a as H } from "./bars.utils-
|
|
3
|
+
import { a as v, r as k, v as I, E as R, z as j, F as S, G as T, I as F, J as X, K as z, M as E, N as G, O, P as W, S as J, T as K, W as N } from "./component.constants-h6et83ck.js";
|
|
4
|
+
import { C as _ } from "./ChartCard-C7c2rTst.js";
|
|
5
|
+
import { g as q, a as H } from "./bars.utils-JRnFN04m.js";
|
|
6
6
|
import { u as Q } from "./charts.fillGaps.hooks-YayOXVmt.js";
|
|
7
7
|
const U = (a) => {
|
|
8
8
|
var i, n;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as L, j as m, B as w, V as u, l as G } from "./index-
|
|
1
|
+
import { m as L, j as m, B as w, V as u, l as G } from "./index-BR6dp5RX.js";
|
|
2
2
|
import { useTheme as z, defineComponent as R } from "@embeddable.com/react";
|
|
3
|
-
import { a as k, r as M, v as P, D as H, z as v, w as j, F, G as S, H as T, I as Y, J as I, K as O, M as E, N as J, O as K, R as N, U, V as W } from "./component.constants-
|
|
4
|
-
import { C as _ } from "./ChartCard-
|
|
5
|
-
import { b as q, a as Q } from "./bars.utils-
|
|
3
|
+
import { a as k, r as M, v as P, D as H, z as v, w as j, F, G as S, H as T, I as Y, J as I, K as O, M as E, N as J, O as K, R as N, U, V as W } from "./component.constants-h6et83ck.js";
|
|
4
|
+
import { C as _ } from "./ChartCard-C7c2rTst.js";
|
|
5
|
+
import { b as q, a as Q } from "./bars.utils-JRnFN04m.js";
|
|
6
6
|
import { u as X } from "./charts.fillGaps.hooks-YayOXVmt.js";
|
|
7
7
|
const Z = (e) => {
|
|
8
8
|
var n, l;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as L, j as m, B as w, V as u, l as G } from "./index-
|
|
1
|
+
import { m as L, j as m, B as w, V as u, l as G } from "./index-BR6dp5RX.js";
|
|
2
2
|
import { useTheme as P, defineComponent as k } from "@embeddable.com/react";
|
|
3
|
-
import { a as M, r as R, v, D as S, z as T, w as j, F, G as X, H as z, I, J as O, K as E, M as H, N as J, O as K, P as N, S as W, T as _ } from "./component.constants-
|
|
4
|
-
import { C as q } from "./ChartCard-
|
|
5
|
-
import { b as Q, a as U } from "./bars.utils-
|
|
3
|
+
import { a as M, r as R, v, D as S, z as T, w as j, F, G as X, H as z, I, J as O, K as E, M as H, N as J, O as K, P as N, S as W, T as _ } from "./component.constants-h6et83ck.js";
|
|
4
|
+
import { C as q } from "./ChartCard-C7c2rTst.js";
|
|
5
|
+
import { b as Q, a as U } from "./bars.utils-JRnFN04m.js";
|
|
6
6
|
import { u as Y } from "./charts.fillGaps.hooks-YayOXVmt.js";
|
|
7
7
|
const Z = (e) => {
|
|
8
8
|
var n, l;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as L, j as m, B as f, V as u, l as w } from "./index-
|
|
1
|
+
import { m as L, j as m, B as f, V as u, l as w } from "./index-BR6dp5RX.js";
|
|
2
2
|
import { useTheme as S, defineComponent as z } from "@embeddable.com/react";
|
|
3
|
-
import { a as R, r as M, v as P, D as H, z as v, w as T, F as j, G as F, H as G, I as Y, J as I, K as O, M as E, N as J, O as K, R as N, U, V as W, L as _ } from "./component.constants-
|
|
4
|
-
import { C as q } from "./ChartCard-
|
|
5
|
-
import { b as Q, a as X } from "./bars.utils-
|
|
3
|
+
import { a as R, r as M, v as P, D as H, z as v, w as T, F as j, G as F, H as G, I as Y, J as I, K as O, M as E, N as J, O as K, R as N, U, V as W, L as _ } from "./component.constants-h6et83ck.js";
|
|
4
|
+
import { C as q } from "./ChartCard-C7c2rTst.js";
|
|
5
|
+
import { b as Q, a as X } from "./bars.utils-JRnFN04m.js";
|
|
6
6
|
import { u as Z } from "./charts.fillGaps.hooks-YayOXVmt.js";
|
|
7
7
|
const $ = (a) => {
|
|
8
8
|
var n, l;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { m as V, j as m, B as f, V as u, l as w } from "./index-
|
|
1
|
+
import { m as V, j as m, B as f, V as u, l as w } from "./index-BR6dp5RX.js";
|
|
2
2
|
import { useTheme as S, defineComponent as P } from "@embeddable.com/react";
|
|
3
|
-
import { a as M, r as R, v as T, D as v, z as j, w as F, F as G, G as X, H as z, I, J as O, K as E, M as H, N as J, O as K, P as N, S as W, T as _, L as q } from "./component.constants-
|
|
4
|
-
import { C as Q } from "./ChartCard-
|
|
5
|
-
import { b as U, a as Y } from "./bars.utils-
|
|
3
|
+
import { a as M, r as R, v as T, D as v, z as j, w as F, F as G, G as X, H as z, I, J as O, K as E, M as H, N as J, O as K, P as N, S as W, T as _, L as q } from "./component.constants-h6et83ck.js";
|
|
4
|
+
import { C as Q } from "./ChartCard-C7c2rTst.js";
|
|
5
|
+
import { b as U, a as Y } from "./bars.utils-JRnFN04m.js";
|
|
6
6
|
import { u as Z } from "./charts.fillGaps.hooks-YayOXVmt.js";
|
|
7
7
|
const $ = (a) => {
|
|
8
8
|
var n, l;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { s as R, j as t, t as D, v as w, w as I, x as S, A as k, C as L, c as N, y as x, e as M, z as b, f } from "./index-
|
|
1
|
+
import { s as R, j as t, t as D, v as w, w as I, x as S, A as k, C as L, c as N, y as x, e as M, z as b, f } from "./index-BR6dp5RX.js";
|
|
2
2
|
import _, { useRef as T } from "react";
|
|
3
3
|
import { useTheme as j } from "@embeddable.com/react";
|
|
4
|
-
import { a as v, i as C, a0 as A } from "./component.constants-
|
|
4
|
+
import { a as v, i as C, a0 as A } from "./component.constants-h6et83ck.js";
|
|
5
5
|
/**
|
|
6
6
|
* @license @tabler/icons-react v3.35.0 - MIT
|
|
7
7
|
*
|
|
@@ -121,4 +121,4 @@ J.displayName = "ChartCard";
|
|
|
121
121
|
export {
|
|
122
122
|
J as C
|
|
123
123
|
};
|
|
124
|
-
//# sourceMappingURL=ChartCard-
|
|
124
|
+
//# sourceMappingURL=ChartCard-C7c2rTst.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartCard-CsKQOusx.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.35.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 isLoading?: boolean;\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 = [], ...props },\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} {...props}>\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={props.onCustomDownload}\n />\n </div>\n </div>\n }\n />\n\n <CardContent ref={props.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","ref","chartRef","useRef","hasData","_a","getDisplay","Skeleton","CardFeedback","IconAlertCircle","Card","CardHeader","jsxs","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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ACC,WAAWgD,EAAK9C,EAAO,cAAcW,IAAYX,EAAO,SAASA,EAAO,OAAO;AAAA,gBAE/E,UAAAF,gBAAAA,EAAAA;AAAAA,kBAACQ;AAAA,kBAAA;AAAA,oBACC,OAAAsB;AAAA,oBACA,cAAcO;AAAA,oBACd,MAAMJ,KAAA,gBAAAA,EAAM;AAAA,oBACZ,uBAAAE;AAAA,oBACA,kBAAkB1B,EAAM;AAAA,kBAAA;AAAA,gBAAA;AAAA,cAC1B;AAAA,YAAA;AAAA,UACF,EAAA,CACF;AAAA,QAAA;AAAA,MAAA;AAAA,MAIJT,gBAAAA,MAACiD,KAAY,KAAKxC,EAAM,mBAAmB2B,IAAMC,GAAW,cAAW,CAAE;AAAA,IAAA,GAC3E;AAAA,EAEJ;AACF;AAEAR,EAAU,cAAc;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"ChartCard-C7c2rTst.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.35.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 isLoading?: boolean;\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 = [], ...props },\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} {...props}>\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={props.onCustomDownload}\n />\n </div>\n </div>\n }\n />\n\n <CardContent ref={props.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","ref","chartRef","useRef","hasData","_a","getDisplay","Skeleton","CardFeedback","IconAlertCircle","Card","CardHeader","jsxs","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,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,EAAE,qBAAqB;AAAA,MAAA;AAAA,IAAA;AAQ7C,kCACGkB,GAAA,EAAK,WAAW3C,EAAO,WAAY,GAAGO,GACrC,UAAA;AAAA,MAAAT,gBAAAA,EAAAA;AAAAA,QAAC8C;AAAA,QAAA;AAAA,UACC,OAAAhB;AAAA,UACA,UAAAC;AAAA,UACA,cACEgB,gBAAAA,EAAAA,KAAC,OAAA,EAAI,WAAW7C,EAAO,uBACrB,UAAA;AAAA,YAAAF,gBAAAA,EAAAA;AAAAA,cAAC;AAAA,cAAA;AAAA,gBACC,WAAWgD,EAAK9C,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,WAAWgD,EAAK9C,EAAO,cAAcW,IAAYX,EAAO,SAASA,EAAO,OAAO;AAAA,gBAE/E,UAAAF,gBAAAA,EAAAA;AAAAA,kBAACQ;AAAA,kBAAA;AAAA,oBACC,OAAAsB;AAAA,oBACA,cAAcO;AAAA,oBACd,MAAMJ,KAAA,gBAAAA,EAAM;AAAA,oBACZ,uBAAAE;AAAA,oBACA,kBAAkB1B,EAAM;AAAA,kBAAA;AAAA,gBAAA;AAAA,cAC1B;AAAA,YAAA;AAAA,UACF,EAAA,CACF;AAAA,QAAA;AAAA,MAAA;AAAA,MAIJT,gBAAAA,MAACiD,KAAY,KAAKxC,EAAM,mBAAmB2B,IAAMC,GAAW,cAAW,CAAE;AAAA,IAAA,GAC3E;AAAA,EAEJ;AACF;AAEAR,EAAU,cAAc;","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as e } from "./index-
|
|
1
|
+
import { d as e } from "./index-BR6dp5RX.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-
|
|
9
|
+
//# sourceMappingURL=Color.type.emb-CSPAaucR.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Color.type.emb-
|
|
1
|
+
{"version":3,"file":"Color.type.emb-CSPAaucR.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;"}
|
package/dist/ColorEditor.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineEditor as l } from "@embeddable.com/react";
|
|
2
|
-
import { C as a } from "./Color.type.emb-
|
|
3
|
-
import { j as n, A as i, I as p, V as u } from "./index-
|
|
2
|
+
import { C as a } from "./Color.type.emb-CSPAaucR.js";
|
|
3
|
+
import { j as n, A as i, I as p, V as u } from "./index-BR6dp5RX.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,
|
package/dist/{ComparisonPeriod.type.emb-C3XjaFoD.js → ComparisonPeriod.type.emb-DOpJ1iWj.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as i, b as o } from "./index-
|
|
1
|
+
import { d as i, b as o } from "./index-BR6dp5RX.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-
|
|
14
|
+
//# sourceMappingURL=ComparisonPeriod.type.emb-DOpJ1iWj.js.map
|
package/dist/{ComparisonPeriod.type.emb-C3XjaFoD.js.map → ComparisonPeriod.type.emb-DOpJ1iWj.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComparisonPeriod.type.emb-
|
|
1
|
+
{"version":3,"file":"ComparisonPeriod.type.emb-DOpJ1iWj.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,10 +1,10 @@
|
|
|
1
1
|
import { useTheme as v, defineComponent as h } from "@embeddable.com/react";
|
|
2
|
-
import { s as y, j as l, S as P, V as d } from "./index-
|
|
2
|
+
import { s as y, j as l, S as P, V as d } from "./index-BR6dp5RX.js";
|
|
3
3
|
import { g as f, u as b, a as C } from "./editors.timeRange.utils-DTtRGaCo.js";
|
|
4
|
-
import { $ as S, a as F, r as R, i as M, F as k, G as D, _ as T } from "./component.constants-
|
|
5
|
-
import { E as j } from "./EditorCard-
|
|
4
|
+
import { $ as S, a as F, r as R, i as M, F as k, G as D, _ as T } from "./component.constants-h6et83ck.js";
|
|
5
|
+
import { E as j } from "./EditorCard-BtlvgP9q.js";
|
|
6
6
|
import { useMemo as x, useEffect as L } from "react";
|
|
7
|
-
import { C as s } from "./ComparisonPeriod.type.emb-
|
|
7
|
+
import { C as s } from "./ComparisonPeriod.type.emb-DOpJ1iWj.js";
|
|
8
8
|
/**
|
|
9
9
|
* @license @tabler/icons-react v3.35.0 - MIT
|
|
10
10
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as t } from "@embeddable.com/react";
|
|
2
|
-
import { V as a } from "./index-
|
|
3
|
-
import { D as l } from "./index-
|
|
4
|
-
import { F as n, G as r, _ as o, g as i } from "./component.constants-
|
|
2
|
+
import { V as a } from "./index-BR6dp5RX.js";
|
|
3
|
+
import { D as l } from "./index-DF-AuKua.js";
|
|
4
|
+
import { F as n, G as r, _ as o, g as i } from "./component.constants-h6et83ck.js";
|
|
5
5
|
const d = {
|
|
6
6
|
name: "DateRangeSelectFieldPro",
|
|
7
7
|
label: "Date Range Select Field",
|
package/dist/DonutChartPro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { V as a, l as s } from "./index-
|
|
1
|
+
import { V as a, l as s } from "./index-BR6dp5RX.js";
|
|
2
2
|
import { defineComponent as t } from "@embeddable.com/react";
|
|
3
|
-
import { D as o } from "./index-
|
|
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-
|
|
3
|
+
import { D as o } from "./index-CWYH2gE2.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-h6et83ck.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-
|
|
2
|
-
import { V as s, l as a } from "./index-
|
|
1
|
+
import { D as n } from "./index-B4S34Z5S.js";
|
|
2
|
+
import { V as s, l as a } from "./index-BR6dp5RX.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-
|
|
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-h6et83ck.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 i, c as d, e as m, f as l } from "./index-
|
|
1
|
+
import { j as r, C as i, c as d, e as m, f as l } from "./index-BR6dp5RX.js";
|
|
2
2
|
import { useTheme as C } from "@embeddable.com/react";
|
|
3
|
-
import { a as p, i as x, a0 as j } from "./component.constants-
|
|
3
|
+
import { a as p, i as x, a0 as j } from "./component.constants-h6et83ck.js";
|
|
4
4
|
const u = "_card_15bw3_1", f = {
|
|
5
5
|
card: u
|
|
6
6
|
}, b = ({
|
|
@@ -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-BtlvgP9q.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorCard-
|
|
1
|
+
{"version":3,"file":"EditorCard-BtlvgP9q.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;"}
|
package/dist/HeatMapPro.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as u, H as V, l as W } from "./index-
|
|
1
|
+
import { j as u, H as V, l as W } from "./index-BR6dp5RX.js";
|
|
2
2
|
import { useTheme as R, defineComponent as j } from "@embeddable.com/react";
|
|
3
|
-
import { a as A, r as N, v as P, D as q, z as d, F as E, G, d as i, g as k, c, H as B } from "./component.constants-
|
|
4
|
-
import { C as O } from "./ChartCard-
|
|
5
|
-
import { g as p } from "./formatter.utils-
|
|
3
|
+
import { a as A, r as N, v as P, D as q, z as d, F as E, G, d as i, g as k, c, H as B } from "./component.constants-h6et83ck.js";
|
|
4
|
+
import { C as O } from "./ChartCard-C7c2rTst.js";
|
|
5
|
+
import { g as p } from "./formatter.utils-DXzI4Hz_.js";
|
|
6
6
|
import { u as h } from "./charts.fillGaps.hooks-YayOXVmt.js";
|
|
7
|
-
import { C as m } from "./Color.type.emb-
|
|
7
|
+
import { C as m } from "./Color.type.emb-CSPAaucR.js";
|
|
8
8
|
const z = (e, a) => {
|
|
9
9
|
const t = p(a);
|
|
10
10
|
return {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useTheme as j, defineComponent as A } from "@embeddable.com/react";
|
|
2
|
-
import { a as w, r as B, i as l, v as E, D as M, y as Y, b as G, F as I, G as J, g as v, c } from "./component.constants-
|
|
3
|
-
import { j as D, K as O, l as f } from "./index-
|
|
4
|
-
import { C as $ } from "./ChartCard-
|
|
5
|
-
import { g as k } from "./formatter.utils-
|
|
2
|
+
import { a as w, r as B, i as l, v as E, D as M, y as Y, b as G, F as I, G as J, g as v, c } from "./component.constants-h6et83ck.js";
|
|
3
|
+
import { j as D, K as O, l as f } from "./index-BR6dp5RX.js";
|
|
4
|
+
import { C as $ } from "./ChartCard-C7c2rTst.js";
|
|
5
|
+
import { g as k } from "./formatter.utils-DXzI4Hz_.js";
|
|
6
6
|
import { useEffect as q } from "react";
|
|
7
|
-
import { g as H, a as Q } from "./timeRange.utils-
|
|
8
|
-
import { C as U } from "./ComparisonPeriod.type.emb-
|
|
7
|
+
import { g as H, a as Q } from "./timeRange.utils-CslTQiVA.js";
|
|
8
|
+
import { C as U } from "./ComparisonPeriod.type.emb-DOpJ1iWj.js";
|
|
9
9
|
const W = (e) => {
|
|
10
10
|
var d, C, P, h, y, b;
|
|
11
11
|
const a = j();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useTheme as h, defineComponent as f } from "@embeddable.com/react";
|
|
2
|
-
import { a as C, r as b, v as K, D as F, F as g, G as v, c as x } from "./component.constants-
|
|
3
|
-
import { j as m, K as N, l as S } from "./index-
|
|
4
|
-
import { C as j } from "./ChartCard-
|
|
5
|
-
import { g as z } from "./formatter.utils-
|
|
2
|
+
import { a as C, r as b, v as K, D as F, F as g, G as v, c as x } from "./component.constants-h6et83ck.js";
|
|
3
|
+
import { j as m, K as N, l as S } from "./index-BR6dp5RX.js";
|
|
4
|
+
import { C as j } from "./ChartCard-C7c2rTst.js";
|
|
5
|
+
import { g as z } from "./formatter.utils-DXzI4Hz_.js";
|
|
6
6
|
const P = (e) => {
|
|
7
7
|
var s, o;
|
|
8
8
|
const a = h();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { useTheme as Y, defineComponent as _ } from "@embeddable.com/react";
|
|
2
|
-
import { i as G, a as E, r as K, v as J, E as S, g as v, w as U, b as q, y as z, F as H, G as Q, I as W, J as Z, K as ee, M as ae, N as se, O as te, P as ne, S as oe, T as ie, H as re } from "./component.constants-
|
|
3
|
-
import { m as le, a as me, h as V, i as w, k as I, j as B, L as de, V as ce, l as F } from "./index-
|
|
4
|
-
import { C as pe } from "./ChartCard-
|
|
2
|
+
import { i as G, a as E, r as K, v as J, E as S, g as v, w as U, b as q, y as z, F as H, G as Q, I as W, J as Z, K as ee, M as ae, N as se, O as te, P as ne, S as oe, T as ie, H as re } from "./component.constants-h6et83ck.js";
|
|
3
|
+
import { m as le, a as me, h as V, i as w, k as I, j as B, L as de, V as ce, l as F } from "./index-BR6dp5RX.js";
|
|
4
|
+
import { C as pe } from "./ChartCard-C7c2rTst.js";
|
|
5
5
|
import { useEffect as ue } from "react";
|
|
6
|
-
import { g as ge } from "./timeRange.utils-
|
|
7
|
-
import { g as O } from "./formatter.utils-
|
|
6
|
+
import { g as ge } from "./timeRange.utils-CslTQiVA.js";
|
|
7
|
+
import { g as O } from "./formatter.utils-DXzI4Hz_.js";
|
|
8
8
|
import { g as xe, a as he } from "./object.utils-D_Zzon-H.js";
|
|
9
9
|
import { i as be, s as Ce } from "./color.utils-BSg_DFOh.js";
|
|
10
10
|
import { g as fe } from "./lines.utils-CFEUUo4k.js";
|
|
11
11
|
import { u as N } from "./charts.fillGaps.hooks-YayOXVmt.js";
|
|
12
|
-
import { C as ye } from "./ComparisonPeriod.type.emb-
|
|
13
|
-
import { C as $ } from "./Color.type.emb-
|
|
12
|
+
import { C as ye } from "./ComparisonPeriod.type.emb-DOpJ1iWj.js";
|
|
13
|
+
import { C as $ } from "./Color.type.emb-CSPAaucR.js";
|
|
14
14
|
const R = "mainAxis", P = "comparisonAxis", j = (a, n) => {
|
|
15
15
|
var k, h, u, A;
|
|
16
16
|
const { data: t, measure: o, dimension: s, index: m, isPreviousPeriod: r, hasMinMaxYAxisRange: b, labels: e } = a, p = t == null ? void 0 : t.map((C) => C[s.name]), l = !!((k = o.inputs) != null && k.connectGaps), g = e ? e.map((C) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useTheme as V, defineComponent as v } from "@embeddable.com/react";
|
|
2
|
-
import { a as w, r as R, v as F, E as L, g as x, z as P, F as S, G as T, I as B, J as O, K as j, M as G, N as I, O as $, P as K, S as N, T as X, H as z } from "./component.constants-
|
|
3
|
-
import { a as E, h as f, m as U, j as A, L as Y, V as _, l as H } from "./index-
|
|
4
|
-
import { C as J } from "./ChartCard-
|
|
5
|
-
import { g as D } from "./formatter.utils-
|
|
2
|
+
import { a as w, r as R, v as F, E as L, g as x, z as P, F as S, G as T, I as B, J as O, K as j, M as G, N as I, O as $, P as K, S as N, T as X, H as z } from "./component.constants-h6et83ck.js";
|
|
3
|
+
import { a as E, h as f, m as U, j as A, L as Y, V as _, l as H } from "./index-BR6dp5RX.js";
|
|
4
|
+
import { C as J } from "./ChartCard-C7c2rTst.js";
|
|
5
|
+
import { g as D } from "./formatter.utils-DXzI4Hz_.js";
|
|
6
6
|
import { g as W, a as k } from "./object.utils-D_Zzon-H.js";
|
|
7
7
|
import { i as y, s as q } from "./color.utils-BSg_DFOh.js";
|
|
8
8
|
import { u as Q } from "./charts.fillGaps.hooks-YayOXVmt.js";
|
|
9
|
-
import { C as Z } from "./Color.type.emb-
|
|
9
|
+
import { C as Z } from "./Color.type.emb-CSPAaucR.js";
|
|
10
10
|
const ee = (e, l) => {
|
|
11
11
|
if (!e.data)
|
|
12
12
|
return {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useTheme as P, defineComponent as R } from "@embeddable.com/react";
|
|
2
|
-
import { a as F, r as $, v, D as w, g as y, z as S, w as j, F as O, G as T, H as B, I as K, J as X, K as N, M as U, N as Y, O as z, P as E, S as H, T as J } from "./component.constants-
|
|
3
|
-
import { a as W, m as _, j as D, L as q, V as G, l as Q } from "./index-
|
|
4
|
-
import { C as Z } from "./ChartCard-
|
|
5
|
-
import { g as M } from "./formatter.utils-
|
|
2
|
+
import { a as F, r as $, v, D as w, g as y, z as S, w as j, F as O, G as T, H as B, I as K, J as X, K as N, M as U, N as Y, O as z, P as E, S as H, T as J } from "./component.constants-h6et83ck.js";
|
|
3
|
+
import { a as W, m as _, j as D, L as q, V as G, l as Q } from "./index-BR6dp5RX.js";
|
|
4
|
+
import { C as Z } from "./ChartCard-C7c2rTst.js";
|
|
5
|
+
import { g as M } from "./formatter.utils-DXzI4Hz_.js";
|
|
6
6
|
import { g as I, a as V } from "./object.utils-D_Zzon-H.js";
|
|
7
7
|
import { s as ee } from "./color.utils-BSg_DFOh.js";
|
|
8
8
|
import { g as ae } from "./lines.utils-CFEUUo4k.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as i } from "@embeddable.com/react";
|
|
2
|
-
import { V as t, l as r } from "./index-
|
|
3
|
-
import { v as s, w as d, F as u, G as m, _ as c } from "./component.constants-
|
|
4
|
-
import { M as p, a as f } from "./index-
|
|
2
|
+
import { V as t, l as r } from "./index-BR6dp5RX.js";
|
|
3
|
+
import { v as s, w as d, F as u, G as m, _ as c } from "./component.constants-h6et83ck.js";
|
|
4
|
+
import { M as p, a as f } from "./index-Czj-HZH9.js";
|
|
5
5
|
const g = {
|
|
6
6
|
name: "MultiSelectFieldPro",
|
|
7
7
|
label: "Multi Select Field",
|
package/dist/PieChartPro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { V as a, l as s } from "./index-
|
|
1
|
+
import { V as a, l as s } from "./index-BR6dp5RX.js";
|
|
2
2
|
import { defineComponent as t } from "@embeddable.com/react";
|
|
3
|
-
import { P as o } from "./index-
|
|
4
|
-
import { v as i, D as n, w as r, F as m, G as l, I as d, Z as p, J as c, K as u } from "./component.constants-
|
|
3
|
+
import { P as o } from "./index-C8O2asSv.js";
|
|
4
|
+
import { v as i, D as n, w as r, F as m, G as l, I as d, Z as p, J as c, K as u } from "./component.constants-h6et83ck.js";
|
|
5
5
|
const C = {
|
|
6
6
|
name: "PieChartPro",
|
|
7
7
|
label: "Pie Chart",
|