@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.
Files changed (60) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +3 -2
  3. package/dist/AlluvialChart.svelte +12 -8
  4. package/dist/AlluvialChart.svelte.d.ts +29 -27
  5. package/dist/AreaChart.svelte +12 -8
  6. package/dist/AreaChart.svelte.d.ts +29 -27
  7. package/dist/BarChartGrouped.svelte +12 -8
  8. package/dist/BarChartGrouped.svelte.d.ts +29 -27
  9. package/dist/BarChartSimple.svelte +12 -8
  10. package/dist/BarChartSimple.svelte.d.ts +29 -27
  11. package/dist/BarChartStacked.svelte +11 -8
  12. package/dist/BarChartStacked.svelte.d.ts +29 -27
  13. package/dist/BaseChart.svelte +54 -37
  14. package/dist/BaseChart.svelte.d.ts +14 -7
  15. package/dist/BoxplotChart.svelte +12 -8
  16. package/dist/BoxplotChart.svelte.d.ts +29 -27
  17. package/dist/BubbleChart.svelte +12 -8
  18. package/dist/BubbleChart.svelte.d.ts +29 -27
  19. package/dist/BulletChart.svelte +12 -8
  20. package/dist/BulletChart.svelte.d.ts +29 -27
  21. package/dist/ChoroplethChart.svelte +12 -8
  22. package/dist/ChoroplethChart.svelte.d.ts +29 -27
  23. package/dist/CirclePackChart.svelte +12 -8
  24. package/dist/CirclePackChart.svelte.d.ts +29 -27
  25. package/dist/ComboChart.svelte +12 -8
  26. package/dist/ComboChart.svelte.d.ts +29 -27
  27. package/dist/DonutChart.svelte +12 -8
  28. package/dist/DonutChart.svelte.d.ts +29 -27
  29. package/dist/GaugeChart.svelte +12 -8
  30. package/dist/GaugeChart.svelte.d.ts +29 -27
  31. package/dist/HeatmapChart.svelte +12 -8
  32. package/dist/HeatmapChart.svelte.d.ts +29 -27
  33. package/dist/HistogramChart.svelte +12 -8
  34. package/dist/HistogramChart.svelte.d.ts +29 -27
  35. package/dist/LineChart.svelte +12 -8
  36. package/dist/LineChart.svelte.d.ts +29 -27
  37. package/dist/LollipopChart.svelte +12 -8
  38. package/dist/LollipopChart.svelte.d.ts +29 -27
  39. package/dist/MeterChart.svelte +12 -8
  40. package/dist/MeterChart.svelte.d.ts +29 -27
  41. package/dist/PieChart.svelte +12 -8
  42. package/dist/PieChart.svelte.d.ts +29 -27
  43. package/dist/RadarChart.svelte +12 -8
  44. package/dist/RadarChart.svelte.d.ts +29 -27
  45. package/dist/ScatterChart.svelte +12 -8
  46. package/dist/ScatterChart.svelte.d.ts +29 -27
  47. package/dist/StackedAreaChart.svelte +12 -8
  48. package/dist/StackedAreaChart.svelte.d.ts +29 -27
  49. package/dist/TreeChart.svelte +12 -8
  50. package/dist/TreeChart.svelte.d.ts +29 -27
  51. package/dist/TreemapChart.svelte +12 -8
  52. package/dist/TreemapChart.svelte.d.ts +29 -27
  53. package/dist/WordCloudChart.svelte +13 -8
  54. package/dist/WordCloudChart.svelte.d.ts +29 -27
  55. package/dist/styles.css +294 -288
  56. package/dist/styles.css.map +1 -1
  57. package/dist/styles.min.css +1 -1
  58. package/dist/styles.min.css.map +1 -1
  59. package/package.json +17 -17
  60. package/telemetry.yml +1 -1
@@ -1,11 +1,15 @@
1
- <script>import {
2
- HeatmapChart as HeatmapChartCore
3
- } from "@carbon/charts";
4
- import BaseChart from "./BaseChart.svelte";
5
- export let options;
6
- export let data;
7
- export let chart = void 0;
8
- export let ref = void 0;
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
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
6
- options: HeatmapChartOptions;
7
- data: ChartTabularData;
8
- chart?: HeatmapChartCore | undefined;
9
- ref?: HTMLDivElement | undefined;
10
- };
11
- events: {
12
- load: CustomEvent<null>;
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
- slots: {};
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
- export {};
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>import {
2
- HistogramChart as HistogramChartCore
3
- } from "@carbon/charts";
4
- import BaseChart from "./BaseChart.svelte";
5
- export let options;
6
- export let data;
7
- export let chart = void 0;
8
- export let ref = void 0;
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
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
6
- options: HistogramChartOptions;
7
- data: ChartTabularData;
8
- chart?: HistogramChartCore | undefined;
9
- ref?: HTMLDivElement | undefined;
10
- };
11
- events: {
12
- load: CustomEvent<null>;
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
- slots: {};
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
- export {};
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;
@@ -1,11 +1,15 @@
1
- <script>import {
2
- LineChart as LineChartCore
3
- } from "@carbon/charts";
4
- import BaseChart from "./BaseChart.svelte";
5
- export let options;
6
- export let data;
7
- export let chart = void 0;
8
- export let ref = void 0;
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
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
6
- options: LineChartOptions;
7
- data: ChartTabularData;
8
- chart?: LineChartCore | undefined;
9
- ref?: HTMLDivElement | undefined;
10
- };
11
- events: {
12
- load: CustomEvent<null>;
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
- slots: {};
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
- export {};
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>import {
2
- LollipopChart as LollipopChartCore
3
- } from "@carbon/charts";
4
- import BaseChart from "./BaseChart.svelte";
5
- export let options;
6
- export let data;
7
- export let chart = void 0;
8
- export let ref = void 0;
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
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
6
- options: LollipopChartOptions;
7
- data: ChartTabularData;
8
- chart?: LollipopChartCore | undefined;
9
- ref?: HTMLDivElement | undefined;
10
- };
11
- events: {
12
- load: CustomEvent<null>;
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
- slots: {};
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
- export {};
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;
@@ -1,11 +1,15 @@
1
- <script>import {
2
- MeterChart as MeterChartCore
3
- } from "@carbon/charts";
4
- import BaseChart from "./BaseChart.svelte";
5
- export let options;
6
- export let data;
7
- export let chart = void 0;
8
- export let ref = void 0;
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
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
6
- options: MeterChartOptions;
7
- data: ChartTabularData;
8
- chart?: MeterChartCore | undefined;
9
- ref?: HTMLDivElement | undefined;
10
- };
11
- events: {
12
- load: CustomEvent<null>;
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
- slots: {};
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
- export {};
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;
@@ -1,11 +1,15 @@
1
- <script>import {
2
- PieChart as PieChartCore
3
- } from "@carbon/charts";
4
- import BaseChart from "./BaseChart.svelte";
5
- export let options;
6
- export let data;
7
- export let chart = void 0;
8
- export let ref = void 0;
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
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
6
- options: PieChartOptions;
7
- data: ChartTabularData;
8
- chart?: PieChartCore | undefined;
9
- ref?: HTMLDivElement | undefined;
10
- };
11
- events: {
12
- load: CustomEvent<null>;
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
- slots: {};
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
- export {};
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;
@@ -1,11 +1,15 @@
1
- <script>import {
2
- RadarChart as RadarChartCore
3
- } from "@carbon/charts";
4
- import BaseChart from "./BaseChart.svelte";
5
- export let options;
6
- export let data;
7
- export let chart = void 0;
8
- export let ref = void 0;
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
- declare const __propDef: {
4
- props: {
5
- [x: string]: any;
6
- options: RadarChartOptions;
7
- data: ChartTabularData;
8
- chart?: RadarChartCore | undefined;
9
- ref?: HTMLDivElement | undefined;
10
- };
11
- events: {
12
- load: CustomEvent<null>;
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
- slots: {};
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
- export {};
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;
@@ -1,11 +1,15 @@
1
- <script>import {
2
- ScatterChart as ScatterChartCore
3
- } from "@carbon/charts";
4
- import BaseChart from "./BaseChart.svelte";
5
- export let options;
6
- export let data;
7
- export let chart = void 0;
8
- export let ref = void 0;
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