@carbon/charts-svelte 1.22.0 → 1.22.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/CHANGELOG.md +44 -0
- package/README.md +3 -2
- package/dist/AlluvialChart.svelte +12 -8
- package/dist/AlluvialChart.svelte.d.ts +29 -27
- package/dist/AreaChart.svelte +12 -8
- package/dist/AreaChart.svelte.d.ts +29 -27
- package/dist/BarChartGrouped.svelte +12 -8
- package/dist/BarChartGrouped.svelte.d.ts +29 -27
- package/dist/BarChartSimple.svelte +12 -8
- package/dist/BarChartSimple.svelte.d.ts +29 -27
- package/dist/BarChartStacked.svelte +11 -8
- package/dist/BarChartStacked.svelte.d.ts +29 -27
- package/dist/BaseChart.svelte +54 -37
- package/dist/BaseChart.svelte.d.ts +14 -7
- package/dist/BoxplotChart.svelte +12 -8
- package/dist/BoxplotChart.svelte.d.ts +29 -27
- package/dist/BubbleChart.svelte +12 -8
- package/dist/BubbleChart.svelte.d.ts +29 -27
- package/dist/BulletChart.svelte +12 -8
- package/dist/BulletChart.svelte.d.ts +29 -27
- package/dist/ChoroplethChart.svelte +12 -8
- package/dist/ChoroplethChart.svelte.d.ts +29 -27
- package/dist/CirclePackChart.svelte +12 -8
- package/dist/CirclePackChart.svelte.d.ts +29 -27
- package/dist/ComboChart.svelte +12 -8
- package/dist/ComboChart.svelte.d.ts +29 -27
- package/dist/DonutChart.svelte +12 -8
- package/dist/DonutChart.svelte.d.ts +29 -27
- package/dist/GaugeChart.svelte +12 -8
- package/dist/GaugeChart.svelte.d.ts +29 -27
- package/dist/HeatmapChart.svelte +12 -8
- package/dist/HeatmapChart.svelte.d.ts +29 -27
- package/dist/HistogramChart.svelte +12 -8
- package/dist/HistogramChart.svelte.d.ts +29 -27
- package/dist/LineChart.svelte +12 -8
- package/dist/LineChart.svelte.d.ts +29 -27
- package/dist/LollipopChart.svelte +12 -8
- package/dist/LollipopChart.svelte.d.ts +29 -27
- package/dist/MeterChart.svelte +12 -8
- package/dist/MeterChart.svelte.d.ts +29 -27
- package/dist/PieChart.svelte +12 -8
- package/dist/PieChart.svelte.d.ts +29 -27
- package/dist/RadarChart.svelte +12 -8
- package/dist/RadarChart.svelte.d.ts +29 -27
- package/dist/ScatterChart.svelte +12 -8
- package/dist/ScatterChart.svelte.d.ts +29 -27
- package/dist/StackedAreaChart.svelte +12 -8
- package/dist/StackedAreaChart.svelte.d.ts +29 -27
- package/dist/TreeChart.svelte +12 -8
- package/dist/TreeChart.svelte.d.ts +29 -27
- package/dist/TreemapChart.svelte +12 -8
- package/dist/TreemapChart.svelte.d.ts +29 -27
- package/dist/WordCloudChart.svelte +13 -8
- package/dist/WordCloudChart.svelte.d.ts +29 -27
- package/dist/styles.css +294 -288
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css +1 -1
- package/dist/styles.min.css.map +1 -1
- package/package.json +17 -17
- package/telemetry.yml +1 -1
package/dist/HeatmapChart.svelte
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
HeatmapChart as HeatmapChartCore,
|
|
4
|
+
type HeatmapChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: HeatmapChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: HeatmapChartCore | undefined = undefined
|
|
12
|
+
export let ref: HTMLDivElement | undefined = undefined
|
|
9
13
|
</script>
|
|
10
14
|
|
|
11
15
|
<BaseChart
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import { HeatmapChart as HeatmapChartCore, type HeatmapChartOptions, type ChartTabularData } from '@carbon/charts';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
update: CustomEvent<{
|
|
14
|
-
data: ChartTabularData;
|
|
15
|
-
options: import("@carbon/charts").BaseChartOptions;
|
|
16
|
-
}>;
|
|
17
|
-
destroy: CustomEvent<null>;
|
|
18
|
-
} & {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: Props & {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
20
12
|
};
|
|
21
|
-
|
|
22
|
-
exports?: undefined;
|
|
23
|
-
bindings?: undefined;
|
|
24
|
-
};
|
|
25
|
-
export type HeatmapChartProps = typeof __propDef.props;
|
|
26
|
-
export type HeatmapChartEvents = typeof __propDef.events;
|
|
27
|
-
export type HeatmapChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class HeatmapChart extends SvelteComponent<HeatmapChartProps, HeatmapChartEvents, HeatmapChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const HeatmapChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: HeatmapChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: HeatmapChartCore | undefined;
|
|
20
|
+
ref?: HTMLDivElement | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
load: CustomEvent<null>;
|
|
23
|
+
update: CustomEvent<{
|
|
24
|
+
data: ChartTabularData;
|
|
25
|
+
options: import("@carbon/charts").BaseChartOptions;
|
|
26
|
+
}>;
|
|
27
|
+
destroy: CustomEvent<null>;
|
|
28
|
+
} & {
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
}, {}, {}, string>;
|
|
31
|
+
type HeatmapChart = InstanceType<typeof HeatmapChart>;
|
|
32
|
+
export default HeatmapChart;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
HistogramChart as HistogramChartCore,
|
|
4
|
+
type HistogramChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: HistogramChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: HistogramChartCore | undefined = undefined
|
|
12
|
+
export let ref: HTMLDivElement | undefined = undefined
|
|
9
13
|
</script>
|
|
10
14
|
|
|
11
15
|
<BaseChart
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import { HistogramChart as HistogramChartCore, type HistogramChartOptions, type ChartTabularData } from '@carbon/charts';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
update: CustomEvent<{
|
|
14
|
-
data: ChartTabularData;
|
|
15
|
-
options: import("@carbon/charts").BaseChartOptions;
|
|
16
|
-
}>;
|
|
17
|
-
destroy: CustomEvent<null>;
|
|
18
|
-
} & {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: Props & {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
20
12
|
};
|
|
21
|
-
|
|
22
|
-
exports?: undefined;
|
|
23
|
-
bindings?: undefined;
|
|
24
|
-
};
|
|
25
|
-
export type HistogramChartProps = typeof __propDef.props;
|
|
26
|
-
export type HistogramChartEvents = typeof __propDef.events;
|
|
27
|
-
export type HistogramChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class HistogramChart extends SvelteComponent<HistogramChartProps, HistogramChartEvents, HistogramChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const HistogramChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: HistogramChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: HistogramChartCore | undefined;
|
|
20
|
+
ref?: HTMLDivElement | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
load: CustomEvent<null>;
|
|
23
|
+
update: CustomEvent<{
|
|
24
|
+
data: ChartTabularData;
|
|
25
|
+
options: import("@carbon/charts").BaseChartOptions;
|
|
26
|
+
}>;
|
|
27
|
+
destroy: CustomEvent<null>;
|
|
28
|
+
} & {
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
}, {}, {}, string>;
|
|
31
|
+
type HistogramChart = InstanceType<typeof HistogramChart>;
|
|
32
|
+
export default HistogramChart;
|
package/dist/LineChart.svelte
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
LineChart as LineChartCore,
|
|
4
|
+
type LineChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: LineChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: LineChartCore | undefined = undefined
|
|
12
|
+
export let ref: HTMLDivElement | undefined = undefined
|
|
9
13
|
</script>
|
|
10
14
|
|
|
11
15
|
<BaseChart
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import { LineChart as LineChartCore, type LineChartOptions, type ChartTabularData } from '@carbon/charts';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
update: CustomEvent<{
|
|
14
|
-
data: ChartTabularData;
|
|
15
|
-
options: import("@carbon/charts").BaseChartOptions;
|
|
16
|
-
}>;
|
|
17
|
-
destroy: CustomEvent<null>;
|
|
18
|
-
} & {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: Props & {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
20
12
|
};
|
|
21
|
-
|
|
22
|
-
exports?: undefined;
|
|
23
|
-
bindings?: undefined;
|
|
24
|
-
};
|
|
25
|
-
export type LineChartProps = typeof __propDef.props;
|
|
26
|
-
export type LineChartEvents = typeof __propDef.events;
|
|
27
|
-
export type LineChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class LineChart extends SvelteComponent<LineChartProps, LineChartEvents, LineChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const LineChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: LineChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: LineChartCore | undefined;
|
|
20
|
+
ref?: HTMLDivElement | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
load: CustomEvent<null>;
|
|
23
|
+
update: CustomEvent<{
|
|
24
|
+
data: ChartTabularData;
|
|
25
|
+
options: import("@carbon/charts").BaseChartOptions;
|
|
26
|
+
}>;
|
|
27
|
+
destroy: CustomEvent<null>;
|
|
28
|
+
} & {
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
}, {}, {}, string>;
|
|
31
|
+
type LineChart = InstanceType<typeof LineChart>;
|
|
32
|
+
export default LineChart;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
LollipopChart as LollipopChartCore,
|
|
4
|
+
type LollipopChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: LollipopChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: LollipopChartCore | undefined = undefined
|
|
12
|
+
export let ref: HTMLDivElement | undefined = undefined
|
|
9
13
|
</script>
|
|
10
14
|
|
|
11
15
|
<BaseChart
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import { LollipopChart as LollipopChartCore, type LollipopChartOptions, type ChartTabularData } from '@carbon/charts';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
update: CustomEvent<{
|
|
14
|
-
data: ChartTabularData;
|
|
15
|
-
options: import("@carbon/charts").BaseChartOptions;
|
|
16
|
-
}>;
|
|
17
|
-
destroy: CustomEvent<null>;
|
|
18
|
-
} & {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: Props & {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
20
12
|
};
|
|
21
|
-
|
|
22
|
-
exports?: undefined;
|
|
23
|
-
bindings?: undefined;
|
|
24
|
-
};
|
|
25
|
-
export type LollipopChartProps = typeof __propDef.props;
|
|
26
|
-
export type LollipopChartEvents = typeof __propDef.events;
|
|
27
|
-
export type LollipopChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class LollipopChart extends SvelteComponent<LollipopChartProps, LollipopChartEvents, LollipopChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const LollipopChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: LollipopChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: LollipopChartCore | undefined;
|
|
20
|
+
ref?: HTMLDivElement | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
load: CustomEvent<null>;
|
|
23
|
+
update: CustomEvent<{
|
|
24
|
+
data: ChartTabularData;
|
|
25
|
+
options: import("@carbon/charts").BaseChartOptions;
|
|
26
|
+
}>;
|
|
27
|
+
destroy: CustomEvent<null>;
|
|
28
|
+
} & {
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
}, {}, {}, string>;
|
|
31
|
+
type LollipopChart = InstanceType<typeof LollipopChart>;
|
|
32
|
+
export default LollipopChart;
|
package/dist/MeterChart.svelte
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
MeterChart as MeterChartCore,
|
|
4
|
+
type MeterChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: MeterChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: MeterChartCore | undefined = undefined
|
|
12
|
+
export let ref: HTMLDivElement | undefined = undefined
|
|
9
13
|
</script>
|
|
10
14
|
|
|
11
15
|
<BaseChart
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import { MeterChart as MeterChartCore, type MeterChartOptions, type ChartTabularData } from '@carbon/charts';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
update: CustomEvent<{
|
|
14
|
-
data: ChartTabularData;
|
|
15
|
-
options: import("@carbon/charts").BaseChartOptions;
|
|
16
|
-
}>;
|
|
17
|
-
destroy: CustomEvent<null>;
|
|
18
|
-
} & {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: Props & {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
20
12
|
};
|
|
21
|
-
|
|
22
|
-
exports?: undefined;
|
|
23
|
-
bindings?: undefined;
|
|
24
|
-
};
|
|
25
|
-
export type MeterChartProps = typeof __propDef.props;
|
|
26
|
-
export type MeterChartEvents = typeof __propDef.events;
|
|
27
|
-
export type MeterChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class MeterChart extends SvelteComponent<MeterChartProps, MeterChartEvents, MeterChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const MeterChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: MeterChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: MeterChartCore | undefined;
|
|
20
|
+
ref?: HTMLDivElement | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
load: CustomEvent<null>;
|
|
23
|
+
update: CustomEvent<{
|
|
24
|
+
data: ChartTabularData;
|
|
25
|
+
options: import("@carbon/charts").BaseChartOptions;
|
|
26
|
+
}>;
|
|
27
|
+
destroy: CustomEvent<null>;
|
|
28
|
+
} & {
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
}, {}, {}, string>;
|
|
31
|
+
type MeterChart = InstanceType<typeof MeterChart>;
|
|
32
|
+
export default MeterChart;
|
package/dist/PieChart.svelte
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
PieChart as PieChartCore,
|
|
4
|
+
type PieChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: PieChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: PieChartCore | undefined = undefined
|
|
12
|
+
export let ref: HTMLDivElement | undefined = undefined
|
|
9
13
|
</script>
|
|
10
14
|
|
|
11
15
|
<BaseChart
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import { PieChart as PieChartCore, type PieChartOptions, type ChartTabularData } from '@carbon/charts';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
update: CustomEvent<{
|
|
14
|
-
data: ChartTabularData;
|
|
15
|
-
options: import("@carbon/charts").BaseChartOptions;
|
|
16
|
-
}>;
|
|
17
|
-
destroy: CustomEvent<null>;
|
|
18
|
-
} & {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: Props & {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
20
12
|
};
|
|
21
|
-
|
|
22
|
-
exports?: undefined;
|
|
23
|
-
bindings?: undefined;
|
|
24
|
-
};
|
|
25
|
-
export type PieChartProps = typeof __propDef.props;
|
|
26
|
-
export type PieChartEvents = typeof __propDef.events;
|
|
27
|
-
export type PieChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class PieChart extends SvelteComponent<PieChartProps, PieChartEvents, PieChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const PieChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: PieChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: PieChartCore | undefined;
|
|
20
|
+
ref?: HTMLDivElement | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
load: CustomEvent<null>;
|
|
23
|
+
update: CustomEvent<{
|
|
24
|
+
data: ChartTabularData;
|
|
25
|
+
options: import("@carbon/charts").BaseChartOptions;
|
|
26
|
+
}>;
|
|
27
|
+
destroy: CustomEvent<null>;
|
|
28
|
+
} & {
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
}, {}, {}, string>;
|
|
31
|
+
type PieChart = InstanceType<typeof PieChart>;
|
|
32
|
+
export default PieChart;
|
package/dist/RadarChart.svelte
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
RadarChart as RadarChartCore,
|
|
4
|
+
type RadarChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: RadarChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: RadarChartCore | undefined = undefined
|
|
12
|
+
export let ref: HTMLDivElement | undefined = undefined
|
|
9
13
|
</script>
|
|
10
14
|
|
|
11
15
|
<BaseChart
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import { RadarChart as RadarChartCore, type RadarChartOptions, type ChartTabularData } from '@carbon/charts';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
update: CustomEvent<{
|
|
14
|
-
data: ChartTabularData;
|
|
15
|
-
options: import("@carbon/charts").BaseChartOptions;
|
|
16
|
-
}>;
|
|
17
|
-
destroy: CustomEvent<null>;
|
|
18
|
-
} & {
|
|
19
|
-
[evt: string]: CustomEvent<any>;
|
|
2
|
+
interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> {
|
|
3
|
+
new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & {
|
|
4
|
+
$$bindings?: Bindings;
|
|
5
|
+
} & Exports;
|
|
6
|
+
(internal: unknown, props: Props & {
|
|
7
|
+
$$events?: Events;
|
|
8
|
+
$$slots?: Slots;
|
|
9
|
+
}): Exports & {
|
|
10
|
+
$set?: any;
|
|
11
|
+
$on?: any;
|
|
20
12
|
};
|
|
21
|
-
|
|
22
|
-
exports?: undefined;
|
|
23
|
-
bindings?: undefined;
|
|
24
|
-
};
|
|
25
|
-
export type RadarChartProps = typeof __propDef.props;
|
|
26
|
-
export type RadarChartEvents = typeof __propDef.events;
|
|
27
|
-
export type RadarChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class RadarChart extends SvelteComponent<RadarChartProps, RadarChartEvents, RadarChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const RadarChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: RadarChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: RadarChartCore | undefined;
|
|
20
|
+
ref?: HTMLDivElement | undefined;
|
|
21
|
+
}, {
|
|
22
|
+
load: CustomEvent<null>;
|
|
23
|
+
update: CustomEvent<{
|
|
24
|
+
data: ChartTabularData;
|
|
25
|
+
options: import("@carbon/charts").BaseChartOptions;
|
|
26
|
+
}>;
|
|
27
|
+
destroy: CustomEvent<null>;
|
|
28
|
+
} & {
|
|
29
|
+
[evt: string]: CustomEvent<any>;
|
|
30
|
+
}, {}, {}, string>;
|
|
31
|
+
type RadarChart = InstanceType<typeof RadarChart>;
|
|
32
|
+
export default RadarChart;
|
package/dist/ScatterChart.svelte
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
ScatterChart as ScatterChartCore,
|
|
4
|
+
type ScatterChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: ScatterChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: ScatterChartCore | undefined = undefined
|
|
12
|
+
export let ref: HTMLDivElement | undefined = undefined
|
|
9
13
|
</script>
|
|
10
14
|
|
|
11
15
|
<BaseChart
|