@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
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { SvelteComponent } from "svelte";
|
|
2
1
|
import { BoxplotChart as BoxplotChartCore, type BoxplotChartOptions, 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 BoxplotChartProps = typeof __propDef.props;
|
|
26
|
-
export type BoxplotChartEvents = typeof __propDef.events;
|
|
27
|
-
export type BoxplotChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class BoxplotChart extends SvelteComponent<BoxplotChartProps, BoxplotChartEvents, BoxplotChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const BoxplotChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: BoxplotChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: BoxplotChartCore | 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 BoxplotChart = InstanceType<typeof BoxplotChart>;
|
|
32
|
+
export default BoxplotChart;
|
package/dist/BubbleChart.svelte
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
BubbleChart as BubbleChartCore,
|
|
4
|
+
type BubbleChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: BubbleChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: BubbleChartCore | 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 { BubbleChart as BubbleChartCore, type BubbleChartOptions, 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 BubbleChartProps = typeof __propDef.props;
|
|
26
|
-
export type BubbleChartEvents = typeof __propDef.events;
|
|
27
|
-
export type BubbleChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class BubbleChart extends SvelteComponent<BubbleChartProps, BubbleChartEvents, BubbleChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const BubbleChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: BubbleChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: BubbleChartCore | 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 BubbleChart = InstanceType<typeof BubbleChart>;
|
|
32
|
+
export default BubbleChart;
|
package/dist/BulletChart.svelte
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
BulletChart as BulletChartCore,
|
|
4
|
+
type BulletChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: BulletChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: BulletChartCore | 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 { BulletChart as BulletChartCore, type BulletChartOptions, 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 BulletChartProps = typeof __propDef.props;
|
|
26
|
-
export type BulletChartEvents = typeof __propDef.events;
|
|
27
|
-
export type BulletChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class BulletChart extends SvelteComponent<BulletChartProps, BulletChartEvents, BulletChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const BulletChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: BulletChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: BulletChartCore | 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 BulletChart = InstanceType<typeof BulletChart>;
|
|
32
|
+
export default BulletChart;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
ChoroplethChart as ChoroplethChartCore,
|
|
4
|
+
type ChoroplethChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: ChoroplethChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: ChoroplethChartCore | 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 { ChoroplethChart as ChoroplethChartCore, type ChoroplethChartOptions, 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 ChoroplethChartProps = typeof __propDef.props;
|
|
26
|
-
export type ChoroplethChartEvents = typeof __propDef.events;
|
|
27
|
-
export type ChoroplethChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class ChoroplethChart extends SvelteComponent<ChoroplethChartProps, ChoroplethChartEvents, ChoroplethChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const ChoroplethChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: ChoroplethChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: ChoroplethChartCore | 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 ChoroplethChart = InstanceType<typeof ChoroplethChart>;
|
|
32
|
+
export default ChoroplethChart;
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
CirclePackChart as CirclePackChartCore,
|
|
4
|
+
type CirclePackChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: CirclePackChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: CirclePackChartCore | 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 { CirclePackChart as CirclePackChartCore, type CirclePackChartOptions, 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 CirclePackChartProps = typeof __propDef.props;
|
|
26
|
-
export type CirclePackChartEvents = typeof __propDef.events;
|
|
27
|
-
export type CirclePackChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class CirclePackChart extends SvelteComponent<CirclePackChartProps, CirclePackChartEvents, CirclePackChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const CirclePackChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: CirclePackChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: CirclePackChartCore | 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 CirclePackChart = InstanceType<typeof CirclePackChart>;
|
|
32
|
+
export default CirclePackChart;
|
package/dist/ComboChart.svelte
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
ComboChart as ComboChartCore,
|
|
4
|
+
type ComboChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: ComboChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: ComboChartCore | 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 { ComboChart as ComboChartCore, type ComboChartOptions, 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 ComboChartProps = typeof __propDef.props;
|
|
26
|
-
export type ComboChartEvents = typeof __propDef.events;
|
|
27
|
-
export type ComboChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class ComboChart extends SvelteComponent<ComboChartProps, ComboChartEvents, ComboChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const ComboChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: ComboChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: ComboChartCore | 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 ComboChart = InstanceType<typeof ComboChart>;
|
|
32
|
+
export default ComboChart;
|
package/dist/DonutChart.svelte
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
DonutChart as DonutChartCore,
|
|
4
|
+
type DonutChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: DonutChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: DonutChartCore | 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 { DonutChart as DonutChartCore, type DonutChartOptions, 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 DonutChartProps = typeof __propDef.props;
|
|
26
|
-
export type DonutChartEvents = typeof __propDef.events;
|
|
27
|
-
export type DonutChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class DonutChart extends SvelteComponent<DonutChartProps, DonutChartEvents, DonutChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const DonutChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: DonutChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: DonutChartCore | 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 DonutChart = InstanceType<typeof DonutChart>;
|
|
32
|
+
export default DonutChart;
|
package/dist/GaugeChart.svelte
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
<script>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import {
|
|
3
|
+
GaugeChart as GaugeChartCore,
|
|
4
|
+
type GaugeChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
import BaseChart from './BaseChart.svelte'
|
|
8
|
+
|
|
9
|
+
export let options: GaugeChartOptions
|
|
10
|
+
export let data: ChartTabularData
|
|
11
|
+
export let chart: GaugeChartCore | 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 { GaugeChart as GaugeChartCore, type GaugeChartOptions, 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 GaugeChartProps = typeof __propDef.props;
|
|
26
|
-
export type GaugeChartEvents = typeof __propDef.events;
|
|
27
|
-
export type GaugeChartSlots = typeof __propDef.slots;
|
|
28
|
-
export default class GaugeChart extends SvelteComponent<GaugeChartProps, GaugeChartEvents, GaugeChartSlots> {
|
|
13
|
+
z_$$bindings?: Bindings;
|
|
29
14
|
}
|
|
30
|
-
|
|
15
|
+
declare const GaugeChart: $$__sveltets_2_IsomorphicComponent<{
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
options: GaugeChartOptions;
|
|
18
|
+
data: ChartTabularData;
|
|
19
|
+
chart?: GaugeChartCore | 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 GaugeChart = InstanceType<typeof GaugeChart>;
|
|
32
|
+
export default GaugeChart;
|