@carbon/charts-svelte 1.22.17 → 1.22.18
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 +9 -0
- package/README.md +4 -2
- package/dist/AlluvialChart.svelte +6 -11
- package/dist/AlluvialChart.svelte.d.ts +34 -31
- package/dist/AreaChart.svelte +6 -11
- package/dist/AreaChart.svelte.d.ts +34 -31
- package/dist/BarChartGrouped.svelte +6 -11
- package/dist/BarChartGrouped.svelte.d.ts +34 -31
- package/dist/BarChartSimple.svelte +6 -11
- package/dist/BarChartSimple.svelte.d.ts +34 -31
- package/dist/BarChartStacked.svelte +6 -10
- package/dist/BarChartStacked.svelte.d.ts +34 -31
- package/dist/BaseChart.svelte +9 -24
- package/dist/BaseChart.svelte.d.ts +31 -35
- package/dist/BoxplotChart.svelte +6 -11
- package/dist/BoxplotChart.svelte.d.ts +34 -31
- package/dist/BubbleChart.svelte +6 -11
- package/dist/BubbleChart.svelte.d.ts +34 -31
- package/dist/BulletChart.svelte +6 -11
- package/dist/BulletChart.svelte.d.ts +34 -31
- package/dist/ChoroplethChart.svelte +6 -11
- package/dist/ChoroplethChart.svelte.d.ts +34 -31
- package/dist/CirclePackChart.svelte +6 -11
- package/dist/CirclePackChart.svelte.d.ts +34 -31
- package/dist/ComboChart.svelte +6 -11
- package/dist/ComboChart.svelte.d.ts +34 -31
- package/dist/DonutChart.svelte +6 -11
- package/dist/DonutChart.svelte.d.ts +34 -31
- package/dist/GaugeChart.svelte +6 -11
- package/dist/GaugeChart.svelte.d.ts +34 -31
- package/dist/HeatmapChart.svelte +6 -11
- package/dist/HeatmapChart.svelte.d.ts +34 -31
- package/dist/HistogramChart.svelte +6 -11
- package/dist/HistogramChart.svelte.d.ts +34 -31
- package/dist/LineChart.svelte +6 -11
- package/dist/LineChart.svelte.d.ts +34 -31
- package/dist/LollipopChart.svelte +6 -11
- package/dist/LollipopChart.svelte.d.ts +34 -31
- package/dist/MeterChart.svelte +6 -11
- package/dist/MeterChart.svelte.d.ts +34 -31
- package/dist/PieChart.svelte +6 -11
- package/dist/PieChart.svelte.d.ts +34 -31
- package/dist/RadarChart.svelte +6 -11
- package/dist/RadarChart.svelte.d.ts +34 -31
- package/dist/ScatterChart.svelte +6 -11
- package/dist/ScatterChart.svelte.d.ts +34 -31
- package/dist/StackedAreaChart.svelte +6 -11
- package/dist/StackedAreaChart.svelte.d.ts +34 -31
- package/dist/TreeChart.svelte +6 -11
- package/dist/TreeChart.svelte.d.ts +34 -31
- package/dist/TreemapChart.svelte +6 -11
- package/dist/TreemapChart.svelte.d.ts +34 -31
- package/dist/WordCloudChart.svelte +6 -12
- package/dist/WordCloudChart.svelte.d.ts +35 -31
- package/dist/index.d.ts +141 -36
- package/dist/index.js +109 -31
- package/dist/styles.css +4458 -4357
- package/dist/styles.min.css +6900 -1
- package/package.json +14 -10
|
@@ -1,32 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { SvelteComponentTyped } from 'svelte'
|
|
2
|
+
import {
|
|
3
|
+
BoxplotChart as BoxplotChartCore,
|
|
4
|
+
type BoxplotChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
declare const __propDef: {
|
|
8
|
+
props: {
|
|
9
|
+
[x: string]: any
|
|
10
|
+
options: BoxplotChartOptions
|
|
11
|
+
data: ChartTabularData
|
|
12
|
+
chart?: BoxplotChartCore | undefined
|
|
13
|
+
ref?: HTMLDivElement | undefined
|
|
14
|
+
}
|
|
15
|
+
events: {
|
|
16
|
+
load: CustomEvent<null>
|
|
17
|
+
update: CustomEvent<{
|
|
18
|
+
data: ChartTabularData
|
|
19
|
+
options: import('@carbon/charts').BaseChartOptions
|
|
20
|
+
}>
|
|
21
|
+
destroy: CustomEvent<null>
|
|
22
|
+
} & {
|
|
23
|
+
[evt: string]: CustomEvent<any>
|
|
24
|
+
}
|
|
25
|
+
slots: {}
|
|
14
26
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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;
|
|
27
|
+
export type BoxplotChartProps = typeof __propDef.props
|
|
28
|
+
export type BoxplotChartEvents = typeof __propDef.events
|
|
29
|
+
export type BoxplotChartSlots = typeof __propDef.slots
|
|
30
|
+
export default class BoxplotChart extends SvelteComponentTyped<
|
|
31
|
+
BoxplotChartProps,
|
|
32
|
+
BoxplotChartEvents,
|
|
33
|
+
BoxplotChartSlots
|
|
34
|
+
> {}
|
|
35
|
+
export {}
|
package/dist/BubbleChart.svelte
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
BubbleChart as BubbleChartCore,
|
|
4
|
-
type BubbleChartOptions,
|
|
5
|
-
type ChartTabularData
|
|
6
|
-
} from '@carbon/charts'
|
|
1
|
+
<script>
|
|
2
|
+
import { BubbleChart as BubbleChartCore } from '@carbon/charts'
|
|
7
3
|
import BaseChart from './BaseChart.svelte'
|
|
8
|
-
|
|
9
|
-
export let
|
|
10
|
-
export let
|
|
11
|
-
export let
|
|
12
|
-
export let ref: HTMLDivElement | undefined = undefined
|
|
4
|
+
export let options
|
|
5
|
+
export let data
|
|
6
|
+
export let chart = undefined
|
|
7
|
+
export let ref = undefined
|
|
13
8
|
</script>
|
|
14
9
|
|
|
15
10
|
<BaseChart
|
|
@@ -1,32 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { SvelteComponentTyped } from 'svelte'
|
|
2
|
+
import {
|
|
3
|
+
BubbleChart as BubbleChartCore,
|
|
4
|
+
type BubbleChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
declare const __propDef: {
|
|
8
|
+
props: {
|
|
9
|
+
[x: string]: any
|
|
10
|
+
options: BubbleChartOptions
|
|
11
|
+
data: ChartTabularData
|
|
12
|
+
chart?: BubbleChartCore | undefined
|
|
13
|
+
ref?: HTMLDivElement | undefined
|
|
14
|
+
}
|
|
15
|
+
events: {
|
|
16
|
+
load: CustomEvent<null>
|
|
17
|
+
update: CustomEvent<{
|
|
18
|
+
data: ChartTabularData
|
|
19
|
+
options: import('@carbon/charts').BaseChartOptions
|
|
20
|
+
}>
|
|
21
|
+
destroy: CustomEvent<null>
|
|
22
|
+
} & {
|
|
23
|
+
[evt: string]: CustomEvent<any>
|
|
24
|
+
}
|
|
25
|
+
slots: {}
|
|
14
26
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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;
|
|
27
|
+
export type BubbleChartProps = typeof __propDef.props
|
|
28
|
+
export type BubbleChartEvents = typeof __propDef.events
|
|
29
|
+
export type BubbleChartSlots = typeof __propDef.slots
|
|
30
|
+
export default class BubbleChart extends SvelteComponentTyped<
|
|
31
|
+
BubbleChartProps,
|
|
32
|
+
BubbleChartEvents,
|
|
33
|
+
BubbleChartSlots
|
|
34
|
+
> {}
|
|
35
|
+
export {}
|
package/dist/BulletChart.svelte
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
BulletChart as BulletChartCore,
|
|
4
|
-
type BulletChartOptions,
|
|
5
|
-
type ChartTabularData
|
|
6
|
-
} from '@carbon/charts'
|
|
1
|
+
<script>
|
|
2
|
+
import { BulletChart as BulletChartCore } from '@carbon/charts'
|
|
7
3
|
import BaseChart from './BaseChart.svelte'
|
|
8
|
-
|
|
9
|
-
export let
|
|
10
|
-
export let
|
|
11
|
-
export let
|
|
12
|
-
export let ref: HTMLDivElement | undefined = undefined
|
|
4
|
+
export let options
|
|
5
|
+
export let data
|
|
6
|
+
export let chart = undefined
|
|
7
|
+
export let ref = undefined
|
|
13
8
|
</script>
|
|
14
9
|
|
|
15
10
|
<BaseChart
|
|
@@ -1,32 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { SvelteComponentTyped } from 'svelte'
|
|
2
|
+
import {
|
|
3
|
+
BulletChart as BulletChartCore,
|
|
4
|
+
type BulletChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
declare const __propDef: {
|
|
8
|
+
props: {
|
|
9
|
+
[x: string]: any
|
|
10
|
+
options: BulletChartOptions
|
|
11
|
+
data: ChartTabularData
|
|
12
|
+
chart?: BulletChartCore | undefined
|
|
13
|
+
ref?: HTMLDivElement | undefined
|
|
14
|
+
}
|
|
15
|
+
events: {
|
|
16
|
+
load: CustomEvent<null>
|
|
17
|
+
update: CustomEvent<{
|
|
18
|
+
data: ChartTabularData
|
|
19
|
+
options: import('@carbon/charts').BaseChartOptions
|
|
20
|
+
}>
|
|
21
|
+
destroy: CustomEvent<null>
|
|
22
|
+
} & {
|
|
23
|
+
[evt: string]: CustomEvent<any>
|
|
24
|
+
}
|
|
25
|
+
slots: {}
|
|
14
26
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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;
|
|
27
|
+
export type BulletChartProps = typeof __propDef.props
|
|
28
|
+
export type BulletChartEvents = typeof __propDef.events
|
|
29
|
+
export type BulletChartSlots = typeof __propDef.slots
|
|
30
|
+
export default class BulletChart extends SvelteComponentTyped<
|
|
31
|
+
BulletChartProps,
|
|
32
|
+
BulletChartEvents,
|
|
33
|
+
BulletChartSlots
|
|
34
|
+
> {}
|
|
35
|
+
export {}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
ChoroplethChart as ChoroplethChartCore,
|
|
4
|
-
type ChoroplethChartOptions,
|
|
5
|
-
type ChartTabularData
|
|
6
|
-
} from '@carbon/charts'
|
|
1
|
+
<script>
|
|
2
|
+
import { ChoroplethChart as ChoroplethChartCore } from '@carbon/charts'
|
|
7
3
|
import BaseChart from './BaseChart.svelte'
|
|
8
|
-
|
|
9
|
-
export let
|
|
10
|
-
export let
|
|
11
|
-
export let
|
|
12
|
-
export let ref: HTMLDivElement | undefined = undefined
|
|
4
|
+
export let options
|
|
5
|
+
export let data
|
|
6
|
+
export let chart = undefined
|
|
7
|
+
export let ref = undefined
|
|
13
8
|
</script>
|
|
14
9
|
|
|
15
10
|
<BaseChart
|
|
@@ -1,32 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { SvelteComponentTyped } from 'svelte'
|
|
2
|
+
import {
|
|
3
|
+
ChoroplethChart as ChoroplethChartCore,
|
|
4
|
+
type ChoroplethChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
declare const __propDef: {
|
|
8
|
+
props: {
|
|
9
|
+
[x: string]: any
|
|
10
|
+
options: ChoroplethChartOptions
|
|
11
|
+
data: ChartTabularData
|
|
12
|
+
chart?: ChoroplethChartCore | undefined
|
|
13
|
+
ref?: HTMLDivElement | undefined
|
|
14
|
+
}
|
|
15
|
+
events: {
|
|
16
|
+
load: CustomEvent<null>
|
|
17
|
+
update: CustomEvent<{
|
|
18
|
+
data: ChartTabularData
|
|
19
|
+
options: import('@carbon/charts').BaseChartOptions
|
|
20
|
+
}>
|
|
21
|
+
destroy: CustomEvent<null>
|
|
22
|
+
} & {
|
|
23
|
+
[evt: string]: CustomEvent<any>
|
|
24
|
+
}
|
|
25
|
+
slots: {}
|
|
14
26
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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;
|
|
27
|
+
export type ChoroplethChartProps = typeof __propDef.props
|
|
28
|
+
export type ChoroplethChartEvents = typeof __propDef.events
|
|
29
|
+
export type ChoroplethChartSlots = typeof __propDef.slots
|
|
30
|
+
export default class ChoroplethChart extends SvelteComponentTyped<
|
|
31
|
+
ChoroplethChartProps,
|
|
32
|
+
ChoroplethChartEvents,
|
|
33
|
+
ChoroplethChartSlots
|
|
34
|
+
> {}
|
|
35
|
+
export {}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
CirclePackChart as CirclePackChartCore,
|
|
4
|
-
type CirclePackChartOptions,
|
|
5
|
-
type ChartTabularData
|
|
6
|
-
} from '@carbon/charts'
|
|
1
|
+
<script>
|
|
2
|
+
import { CirclePackChart as CirclePackChartCore } from '@carbon/charts'
|
|
7
3
|
import BaseChart from './BaseChart.svelte'
|
|
8
|
-
|
|
9
|
-
export let
|
|
10
|
-
export let
|
|
11
|
-
export let
|
|
12
|
-
export let ref: HTMLDivElement | undefined = undefined
|
|
4
|
+
export let options
|
|
5
|
+
export let data
|
|
6
|
+
export let chart = undefined
|
|
7
|
+
export let ref = undefined
|
|
13
8
|
</script>
|
|
14
9
|
|
|
15
10
|
<BaseChart
|
|
@@ -1,32 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { SvelteComponentTyped } from 'svelte'
|
|
2
|
+
import {
|
|
3
|
+
CirclePackChart as CirclePackChartCore,
|
|
4
|
+
type CirclePackChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
declare const __propDef: {
|
|
8
|
+
props: {
|
|
9
|
+
[x: string]: any
|
|
10
|
+
options: CirclePackChartOptions
|
|
11
|
+
data: ChartTabularData
|
|
12
|
+
chart?: CirclePackChartCore | undefined
|
|
13
|
+
ref?: HTMLDivElement | undefined
|
|
14
|
+
}
|
|
15
|
+
events: {
|
|
16
|
+
load: CustomEvent<null>
|
|
17
|
+
update: CustomEvent<{
|
|
18
|
+
data: ChartTabularData
|
|
19
|
+
options: import('@carbon/charts').BaseChartOptions
|
|
20
|
+
}>
|
|
21
|
+
destroy: CustomEvent<null>
|
|
22
|
+
} & {
|
|
23
|
+
[evt: string]: CustomEvent<any>
|
|
24
|
+
}
|
|
25
|
+
slots: {}
|
|
14
26
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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;
|
|
27
|
+
export type CirclePackChartProps = typeof __propDef.props
|
|
28
|
+
export type CirclePackChartEvents = typeof __propDef.events
|
|
29
|
+
export type CirclePackChartSlots = typeof __propDef.slots
|
|
30
|
+
export default class CirclePackChart extends SvelteComponentTyped<
|
|
31
|
+
CirclePackChartProps,
|
|
32
|
+
CirclePackChartEvents,
|
|
33
|
+
CirclePackChartSlots
|
|
34
|
+
> {}
|
|
35
|
+
export {}
|
package/dist/ComboChart.svelte
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
ComboChart as ComboChartCore,
|
|
4
|
-
type ComboChartOptions,
|
|
5
|
-
type ChartTabularData
|
|
6
|
-
} from '@carbon/charts'
|
|
1
|
+
<script>
|
|
2
|
+
import { ComboChart as ComboChartCore } from '@carbon/charts'
|
|
7
3
|
import BaseChart from './BaseChart.svelte'
|
|
8
|
-
|
|
9
|
-
export let
|
|
10
|
-
export let
|
|
11
|
-
export let
|
|
12
|
-
export let ref: HTMLDivElement | undefined = undefined
|
|
4
|
+
export let options
|
|
5
|
+
export let data
|
|
6
|
+
export let chart = undefined
|
|
7
|
+
export let ref = undefined
|
|
13
8
|
</script>
|
|
14
9
|
|
|
15
10
|
<BaseChart
|
|
@@ -1,32 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { SvelteComponentTyped } from 'svelte'
|
|
2
|
+
import {
|
|
3
|
+
ComboChart as ComboChartCore,
|
|
4
|
+
type ComboChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
declare const __propDef: {
|
|
8
|
+
props: {
|
|
9
|
+
[x: string]: any
|
|
10
|
+
options: ComboChartOptions
|
|
11
|
+
data: ChartTabularData
|
|
12
|
+
chart?: ComboChartCore | undefined
|
|
13
|
+
ref?: HTMLDivElement | undefined
|
|
14
|
+
}
|
|
15
|
+
events: {
|
|
16
|
+
load: CustomEvent<null>
|
|
17
|
+
update: CustomEvent<{
|
|
18
|
+
data: ChartTabularData
|
|
19
|
+
options: import('@carbon/charts').BaseChartOptions
|
|
20
|
+
}>
|
|
21
|
+
destroy: CustomEvent<null>
|
|
22
|
+
} & {
|
|
23
|
+
[evt: string]: CustomEvent<any>
|
|
24
|
+
}
|
|
25
|
+
slots: {}
|
|
14
26
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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;
|
|
27
|
+
export type ComboChartProps = typeof __propDef.props
|
|
28
|
+
export type ComboChartEvents = typeof __propDef.events
|
|
29
|
+
export type ComboChartSlots = typeof __propDef.slots
|
|
30
|
+
export default class ComboChart extends SvelteComponentTyped<
|
|
31
|
+
ComboChartProps,
|
|
32
|
+
ComboChartEvents,
|
|
33
|
+
ComboChartSlots
|
|
34
|
+
> {}
|
|
35
|
+
export {}
|
package/dist/DonutChart.svelte
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
DonutChart as DonutChartCore,
|
|
4
|
-
type DonutChartOptions,
|
|
5
|
-
type ChartTabularData
|
|
6
|
-
} from '@carbon/charts'
|
|
1
|
+
<script>
|
|
2
|
+
import { DonutChart as DonutChartCore } from '@carbon/charts'
|
|
7
3
|
import BaseChart from './BaseChart.svelte'
|
|
8
|
-
|
|
9
|
-
export let
|
|
10
|
-
export let
|
|
11
|
-
export let
|
|
12
|
-
export let ref: HTMLDivElement | undefined = undefined
|
|
4
|
+
export let options
|
|
5
|
+
export let data
|
|
6
|
+
export let chart = undefined
|
|
7
|
+
export let ref = undefined
|
|
13
8
|
</script>
|
|
14
9
|
|
|
15
10
|
<BaseChart
|
|
@@ -1,32 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import { SvelteComponentTyped } from 'svelte'
|
|
2
|
+
import {
|
|
3
|
+
DonutChart as DonutChartCore,
|
|
4
|
+
type DonutChartOptions,
|
|
5
|
+
type ChartTabularData
|
|
6
|
+
} from '@carbon/charts'
|
|
7
|
+
declare const __propDef: {
|
|
8
|
+
props: {
|
|
9
|
+
[x: string]: any
|
|
10
|
+
options: DonutChartOptions
|
|
11
|
+
data: ChartTabularData
|
|
12
|
+
chart?: DonutChartCore | undefined
|
|
13
|
+
ref?: HTMLDivElement | undefined
|
|
14
|
+
}
|
|
15
|
+
events: {
|
|
16
|
+
load: CustomEvent<null>
|
|
17
|
+
update: CustomEvent<{
|
|
18
|
+
data: ChartTabularData
|
|
19
|
+
options: import('@carbon/charts').BaseChartOptions
|
|
20
|
+
}>
|
|
21
|
+
destroy: CustomEvent<null>
|
|
22
|
+
} & {
|
|
23
|
+
[evt: string]: CustomEvent<any>
|
|
24
|
+
}
|
|
25
|
+
slots: {}
|
|
14
26
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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;
|
|
27
|
+
export type DonutChartProps = typeof __propDef.props
|
|
28
|
+
export type DonutChartEvents = typeof __propDef.events
|
|
29
|
+
export type DonutChartSlots = typeof __propDef.slots
|
|
30
|
+
export default class DonutChart extends SvelteComponentTyped<
|
|
31
|
+
DonutChartProps,
|
|
32
|
+
DonutChartEvents,
|
|
33
|
+
DonutChartSlots
|
|
34
|
+
> {}
|
|
35
|
+
export {}
|
package/dist/GaugeChart.svelte
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
<script
|
|
2
|
-
import {
|
|
3
|
-
GaugeChart as GaugeChartCore,
|
|
4
|
-
type GaugeChartOptions,
|
|
5
|
-
type ChartTabularData
|
|
6
|
-
} from '@carbon/charts'
|
|
1
|
+
<script>
|
|
2
|
+
import { GaugeChart as GaugeChartCore } from '@carbon/charts'
|
|
7
3
|
import BaseChart from './BaseChart.svelte'
|
|
8
|
-
|
|
9
|
-
export let
|
|
10
|
-
export let
|
|
11
|
-
export let
|
|
12
|
-
export let ref: HTMLDivElement | undefined = undefined
|
|
4
|
+
export let options
|
|
5
|
+
export let data
|
|
6
|
+
export let chart = undefined
|
|
7
|
+
export let ref = undefined
|
|
13
8
|
</script>
|
|
14
9
|
|
|
15
10
|
<BaseChart
|