@carbon/charts-vue 1.11.0 → 1.11.1

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 (36) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +1 -1
  3. package/dist/components/CcvAlluvialChart.d.ts +91 -41
  4. package/dist/components/CcvAreaChart.d.ts +91 -41
  5. package/dist/components/CcvBoxplotChart.d.ts +90 -41
  6. package/dist/components/CcvBubbleChart.d.ts +91 -41
  7. package/dist/components/CcvBulletChart.d.ts +91 -41
  8. package/dist/components/CcvChoroplethChart.d.ts +91 -41
  9. package/dist/components/CcvCirclePackChart.d.ts +91 -42
  10. package/dist/components/CcvComboChart.d.ts +91 -42
  11. package/dist/components/CcvDonutChart.d.ts +91 -42
  12. package/dist/components/CcvGaugeChart.d.ts +91 -41
  13. package/dist/components/CcvGroupedBarChart.d.ts +91 -41
  14. package/dist/components/CcvHeatmapChart.d.ts +91 -41
  15. package/dist/components/CcvHistogramChart.d.ts +91 -42
  16. package/dist/components/CcvLineChart.d.ts +91 -42
  17. package/dist/components/CcvLollipopChart.d.ts +90 -42
  18. package/dist/components/CcvMeterChart.d.ts +91 -42
  19. package/dist/components/CcvPieChart.d.ts +91 -41
  20. package/dist/components/CcvRadarChart.d.ts +91 -41
  21. package/dist/components/CcvScatterChart.d.ts +91 -41
  22. package/dist/components/CcvSimpleBarChart.d.ts +91 -41
  23. package/dist/components/CcvStackedAreaChart.d.ts +91 -41
  24. package/dist/components/CcvStackedBarChart.d.ts +91 -41
  25. package/dist/components/CcvTreeChart.d.ts +91 -41
  26. package/dist/components/CcvTreemapChart.d.ts +90 -41
  27. package/dist/components/CcvWordCloudChart.d.ts +91 -41
  28. package/dist/components/chartFactory.d.ts +90 -0
  29. package/dist/components/index.d.ts +25 -25
  30. package/dist/index.d.ts +6 -6
  31. package/dist/index.js +17 -17
  32. package/dist/index.js.map +1 -1
  33. package/dist/index.mjs +6335 -7452
  34. package/dist/index.mjs.map +1 -1
  35. package/package.json +14 -24
  36. package/dist/components/CcvBaseChart.d.ts +0 -29
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.11.1](https://github.com/carbon-design-system/carbon-charts/compare/v1.11.0...v1.11.1) (2023-06-28)
7
+
8
+ **Note:** Version bump only for package @carbon/charts-vue
9
+
10
+ # Change Log
11
+
12
+ All notable changes to this project will be documented in this file. See
13
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
14
+
6
15
  # [1.11.0](https://github.com/carbon-design-system/carbon-charts/compare/v1.10.6...v1.11.0) (2023-06-28)
7
16
 
8
17
  **Note:** Version bump only for package @carbon/charts-vue
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Carbon Charts Vue
2
2
 
3
- Carbon Charts Vue is a thin Vue.js wrapper around the vanilla JavScript `@carbon/charts` component library. The charts are based on D3.js, a peer dependency. This version is for Vue.js ^2.7.0. For Vue.js 3.x support, check for the availability of `@carbon/charts-vue@next`.
3
+ Carbon Charts Vue is a thin Vue.js wrapper around the vanilla JavScript `@carbon/charts` component library. The charts are based on D3.js, a peer dependency. This version is for Vue.js ^3.3.0. For Vue.js 2.x support, please use `@carbon/charts-vue@latest`.
4
4
 
5
5
  The required styles should be imported from `@carbon/charts-vue/styles.css` and `@carbon/styles/css/styles.css`. Additional documentation is provided in the Storybook demos.
6
6
 
@@ -1,41 +1,91 @@
1
- import { AlluvialChartOptions, ChartTabularData } from '@carbon/charts';
2
- declare const _sfc_main: import('./vue/dist/vue.esm.js').DefineComponent<{
3
- data: {
4
- type: () => ChartTabularData;
5
- required: true;
6
- };
7
- options: {
8
- type: () => AlluvialChartOptions;
9
- required: true;
10
- };
11
- }, {}, {}, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js').DefineComponent<{
12
- data: {
13
- type: () => ChartTabularData;
14
- required: true;
15
- };
16
- options: {
17
- type: ObjectConstructor;
18
- required: true;
19
- };
20
- }, {}, {
21
- coreChart: import("./CcvBaseChart").CoreChart<any> | null;
22
- }, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
23
- data: {
24
- type: () => ChartTabularData;
25
- required: true;
26
- };
27
- options: {
28
- type: ObjectConstructor;
29
- required: true;
30
- };
31
- }>>, {}>, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
32
- data: {
33
- type: () => ChartTabularData;
34
- required: true;
35
- };
36
- options: {
37
- type: () => AlluvialChartOptions;
38
- required: true;
39
- };
40
- }>>, {}>;
41
- export default _sfc_main;
1
+ import { type AlluvialChartOptions } from '@carbon/charts';
2
+ declare const _default: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
3
+ data: {
4
+ type: () => import("@carbon/charts").ChartTabularData;
5
+ required: true;
6
+ };
7
+ options: {
8
+ type: () => AlluvialChartOptions;
9
+ required: true;
10
+ };
11
+ }, {
12
+ chart: import('./vue/dist/vue.esm-bundler.js').Ref<{
13
+ components: {
14
+ type: string;
15
+ renderType: import("@carbon/charts").RenderTypes;
16
+ id: string;
17
+ init: () => void;
18
+ render: (animate?: boolean | undefined) => void;
19
+ destroy: () => void;
20
+ setModel: (newObj: any) => void;
21
+ setServices: (newObj: any) => void;
22
+ setParent: (parent: any) => void;
23
+ getParent: () => import("d3-selection").Selection<HTMLDivElement | SVGGraphicsElement, any, HTMLElement, any>;
24
+ getComponentContainer: (configs?: {
25
+ withinChartClip: boolean;
26
+ } | undefined) => import("d3-selection").Selection<any, any, Element, any>;
27
+ getOptions: () => any;
28
+ }[];
29
+ services: any;
30
+ model: {
31
+ getAllDataFromDomain: (groups?: any) => any;
32
+ getDisplayData: (groups?: any) => any;
33
+ getData: () => any;
34
+ isDataEmpty: () => boolean;
35
+ setData: (newData: any) => any;
36
+ getDataGroups: (groups?: any) => any;
37
+ getActiveDataGroups: (groups?: any) => any;
38
+ getDataGroupNames: (groups?: any) => any;
39
+ getActiveDataGroupNames: (groups?: any) => any;
40
+ getBinConfigurations: () => {
41
+ bins: import("d3-array").Bin<number, number>[];
42
+ binsDomain: any[];
43
+ };
44
+ getBinnedStackedData: () => import("d3-shape").SeriesPoint<{
45
+ [key: string]: number;
46
+ }>[][];
47
+ getGroupedData: (groups?: any) => {
48
+ name: string;
49
+ data: any;
50
+ }[];
51
+ getStackKeys: ({ bins, groups }?: import("@carbon/charts").StackKeysParams | undefined) => any;
52
+ getDataValuesGroupedByKeys: ({ bins, groups }: import("@carbon/charts").StackKeysParams) => any;
53
+ getStackedData: ({ percentage, groups, divergent }: import("@carbon/charts").StackKeysParams) => any[][];
54
+ getOptions: () => any;
55
+ set: (newState: any, configs?: any) => void;
56
+ get: (property?: string | undefined) => any;
57
+ setOptions: (newOptions: any) => void;
58
+ update: (animate?: boolean | undefined) => void;
59
+ toggleDataLabel: (changedLabel: string) => void;
60
+ getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean | undefined) => any;
61
+ getFillColor: (group: any, key?: any, data?: any) => any;
62
+ getStrokeColor: (group: any, key?: any, data?: any) => any;
63
+ isUserProvidedColorScaleValid: () => any;
64
+ getColorClassName: (configs: {
65
+ classNameTypes?: import("@carbon/charts").ColorClassNameTypes[] | undefined;
66
+ dataGroupName?: string | number | undefined;
67
+ originalClassName?: string | undefined;
68
+ value?: number | undefined;
69
+ }) => string;
70
+ getStatus: () => any;
71
+ getAllDataGroupsNames: () => string[];
72
+ getTabularDataArray: () => import("@carbon/charts").ChartTabularData;
73
+ exportToCSV: () => void;
74
+ };
75
+ init: (holder: HTMLDivElement, chartConfigs: import("@carbon/charts").ChartConfig<import("@carbon/charts").BaseChartOptions>) => void;
76
+ getComponents: () => import("@carbon/charts").Component[];
77
+ update: () => void;
78
+ destroy: () => void;
79
+ } | null>;
80
+ chartDiv: import('./vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
81
+ }, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
82
+ data: {
83
+ type: () => import("@carbon/charts").ChartTabularData;
84
+ required: true;
85
+ };
86
+ options: {
87
+ type: () => AlluvialChartOptions;
88
+ required: true;
89
+ };
90
+ }>>, {}, {}>;
91
+ export default _default;
@@ -1,41 +1,91 @@
1
- import { AreaChartOptions, ChartTabularData } from '@carbon/charts';
2
- declare const _sfc_main: import('./vue/dist/vue.esm.js').DefineComponent<{
3
- data: {
4
- type: () => ChartTabularData;
5
- required: true;
6
- };
7
- options: {
8
- type: () => AreaChartOptions;
9
- required: true;
10
- };
11
- }, {}, {}, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js').DefineComponent<{
12
- data: {
13
- type: () => ChartTabularData;
14
- required: true;
15
- };
16
- options: {
17
- type: ObjectConstructor;
18
- required: true;
19
- };
20
- }, {}, {
21
- coreChart: import("./CcvBaseChart").CoreChart<any> | null;
22
- }, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
23
- data: {
24
- type: () => ChartTabularData;
25
- required: true;
26
- };
27
- options: {
28
- type: ObjectConstructor;
29
- required: true;
30
- };
31
- }>>, {}>, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
32
- data: {
33
- type: () => ChartTabularData;
34
- required: true;
35
- };
36
- options: {
37
- type: () => AreaChartOptions;
38
- required: true;
39
- };
40
- }>>, {}>;
41
- export default _sfc_main;
1
+ import { type AreaChartOptions } from '@carbon/charts';
2
+ declare const _default: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
3
+ data: {
4
+ type: () => import("@carbon/charts").ChartTabularData;
5
+ required: true;
6
+ };
7
+ options: {
8
+ type: () => AreaChartOptions;
9
+ required: true;
10
+ };
11
+ }, {
12
+ chart: import('./vue/dist/vue.esm-bundler.js').Ref<{
13
+ components: {
14
+ type: string;
15
+ renderType: import("@carbon/charts").RenderTypes;
16
+ id: string;
17
+ init: () => void;
18
+ render: (animate?: boolean | undefined) => void;
19
+ destroy: () => void;
20
+ setModel: (newObj: any) => void;
21
+ setServices: (newObj: any) => void;
22
+ setParent: (parent: any) => void;
23
+ getParent: () => import("d3-selection").Selection<HTMLDivElement | SVGGraphicsElement, any, HTMLElement, any>;
24
+ getComponentContainer: (configs?: {
25
+ withinChartClip: boolean;
26
+ } | undefined) => import("d3-selection").Selection<any, any, Element, any>;
27
+ getOptions: () => any;
28
+ }[];
29
+ services: any;
30
+ model: {
31
+ getAllDataFromDomain: (groups?: any) => any;
32
+ getDisplayData: (groups?: any) => any;
33
+ getData: () => any;
34
+ isDataEmpty: () => boolean;
35
+ setData: (newData: any) => any;
36
+ getDataGroups: (groups?: any) => any;
37
+ getActiveDataGroups: (groups?: any) => any;
38
+ getDataGroupNames: (groups?: any) => any;
39
+ getActiveDataGroupNames: (groups?: any) => any;
40
+ getBinConfigurations: () => {
41
+ bins: import("d3-array").Bin<number, number>[];
42
+ binsDomain: any[];
43
+ };
44
+ getBinnedStackedData: () => import("d3-shape").SeriesPoint<{
45
+ [key: string]: number;
46
+ }>[][];
47
+ getGroupedData: (groups?: any) => {
48
+ name: string;
49
+ data: any;
50
+ }[];
51
+ getStackKeys: ({ bins, groups }?: import("@carbon/charts").StackKeysParams | undefined) => any;
52
+ getDataValuesGroupedByKeys: ({ bins, groups }: import("@carbon/charts").StackKeysParams) => any;
53
+ getStackedData: ({ percentage, groups, divergent }: import("@carbon/charts").StackKeysParams) => any[][];
54
+ getOptions: () => any;
55
+ set: (newState: any, configs?: any) => void;
56
+ get: (property?: string | undefined) => any;
57
+ setOptions: (newOptions: any) => void;
58
+ update: (animate?: boolean | undefined) => void;
59
+ toggleDataLabel: (changedLabel: string) => void;
60
+ getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean | undefined) => any;
61
+ getFillColor: (group: any, key?: any, data?: any) => any;
62
+ getStrokeColor: (group: any, key?: any, data?: any) => any;
63
+ isUserProvidedColorScaleValid: () => any;
64
+ getColorClassName: (configs: {
65
+ classNameTypes?: import("@carbon/charts").ColorClassNameTypes[] | undefined;
66
+ dataGroupName?: string | number | undefined;
67
+ originalClassName?: string | undefined;
68
+ value?: number | undefined;
69
+ }) => string;
70
+ getStatus: () => any;
71
+ getAllDataGroupsNames: () => string[];
72
+ getTabularDataArray: () => import("@carbon/charts").ChartTabularData;
73
+ exportToCSV: () => void;
74
+ };
75
+ init: (holder: HTMLDivElement, chartConfigs: import("@carbon/charts").ChartConfig<import("@carbon/charts").BaseChartOptions>) => void;
76
+ getComponents: () => import("@carbon/charts").Component[];
77
+ update: () => void;
78
+ destroy: () => void;
79
+ } | null>;
80
+ chartDiv: import('./vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
81
+ }, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
82
+ data: {
83
+ type: () => import("@carbon/charts").ChartTabularData;
84
+ required: true;
85
+ };
86
+ options: {
87
+ type: () => AreaChartOptions;
88
+ required: true;
89
+ };
90
+ }>>, {}, {}>;
91
+ export default _default;
@@ -1,41 +1,90 @@
1
- import { BoxplotChartOptions, ChartTabularData } from '@carbon/charts';
2
- declare const _sfc_main: import('./vue/dist/vue.esm.js').DefineComponent<{
3
- data: {
4
- type: () => ChartTabularData;
5
- required: true;
6
- };
7
- options: {
8
- type: () => BoxplotChartOptions;
9
- required: true;
10
- };
11
- }, {}, {}, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js').DefineComponent<{
12
- data: {
13
- type: () => ChartTabularData;
14
- required: true;
15
- };
16
- options: {
17
- type: ObjectConstructor;
18
- required: true;
19
- };
20
- }, {}, {
21
- coreChart: import("./CcvBaseChart").CoreChart<any> | null;
22
- }, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
23
- data: {
24
- type: () => ChartTabularData;
25
- required: true;
26
- };
27
- options: {
28
- type: ObjectConstructor;
29
- required: true;
30
- };
31
- }>>, {}>, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
32
- data: {
33
- type: () => ChartTabularData;
34
- required: true;
35
- };
36
- options: {
37
- type: () => BoxplotChartOptions;
38
- required: true;
39
- };
40
- }>>, {}>;
41
- export default _sfc_main;
1
+ declare const _default: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
2
+ data: {
3
+ type: () => import("@carbon/charts").ChartTabularData;
4
+ required: true;
5
+ };
6
+ options: {
7
+ type: () => import("@carbon/charts").AxisChartOptions;
8
+ required: true;
9
+ };
10
+ }, {
11
+ chart: import('./vue/dist/vue.esm-bundler.js').Ref<{
12
+ components: {
13
+ type: string;
14
+ renderType: import("@carbon/charts").RenderTypes;
15
+ id: string;
16
+ init: () => void;
17
+ render: (animate?: boolean | undefined) => void;
18
+ destroy: () => void;
19
+ setModel: (newObj: any) => void;
20
+ setServices: (newObj: any) => void;
21
+ setParent: (parent: any) => void;
22
+ getParent: () => import("d3-selection").Selection<HTMLDivElement | SVGGraphicsElement, any, HTMLElement, any>;
23
+ getComponentContainer: (configs?: {
24
+ withinChartClip: boolean;
25
+ } | undefined) => import("d3-selection").Selection<any, any, Element, any>;
26
+ getOptions: () => any;
27
+ }[];
28
+ services: any;
29
+ model: {
30
+ getAllDataFromDomain: (groups?: any) => any;
31
+ getDisplayData: (groups?: any) => any;
32
+ getData: () => any;
33
+ isDataEmpty: () => boolean;
34
+ setData: (newData: any) => any;
35
+ getDataGroups: (groups?: any) => any;
36
+ getActiveDataGroups: (groups?: any) => any;
37
+ getDataGroupNames: (groups?: any) => any;
38
+ getActiveDataGroupNames: (groups?: any) => any;
39
+ getBinConfigurations: () => {
40
+ bins: import("d3-array").Bin<number, number>[];
41
+ binsDomain: any[];
42
+ };
43
+ getBinnedStackedData: () => import("d3-shape").SeriesPoint<{
44
+ [key: string]: number;
45
+ }>[][];
46
+ getGroupedData: (groups?: any) => {
47
+ name: string;
48
+ data: any;
49
+ }[];
50
+ getStackKeys: ({ bins, groups }?: import("@carbon/charts").StackKeysParams | undefined) => any;
51
+ getDataValuesGroupedByKeys: ({ bins, groups }: import("@carbon/charts").StackKeysParams) => any;
52
+ getStackedData: ({ percentage, groups, divergent }: import("@carbon/charts").StackKeysParams) => any[][];
53
+ getOptions: () => any;
54
+ set: (newState: any, configs?: any) => void;
55
+ get: (property?: string | undefined) => any;
56
+ setOptions: (newOptions: any) => void;
57
+ update: (animate?: boolean | undefined) => void;
58
+ toggleDataLabel: (changedLabel: string) => void;
59
+ getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean | undefined) => any;
60
+ getFillColor: (group: any, key?: any, data?: any) => any;
61
+ getStrokeColor: (group: any, key?: any, data?: any) => any;
62
+ isUserProvidedColorScaleValid: () => any;
63
+ getColorClassName: (configs: {
64
+ classNameTypes?: import("@carbon/charts").ColorClassNameTypes[] | undefined;
65
+ dataGroupName?: string | number | undefined;
66
+ originalClassName?: string | undefined;
67
+ value?: number | undefined;
68
+ }) => string;
69
+ getStatus: () => any;
70
+ getAllDataGroupsNames: () => string[];
71
+ getTabularDataArray: () => import("@carbon/charts").ChartTabularData;
72
+ exportToCSV: () => void;
73
+ };
74
+ init: (holder: HTMLDivElement, chartConfigs: import("@carbon/charts").ChartConfig<import("@carbon/charts").BaseChartOptions>) => void;
75
+ getComponents: () => import("@carbon/charts").Component[];
76
+ update: () => void;
77
+ destroy: () => void;
78
+ } | null>;
79
+ chartDiv: import('./vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
80
+ }, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
81
+ data: {
82
+ type: () => import("@carbon/charts").ChartTabularData;
83
+ required: true;
84
+ };
85
+ options: {
86
+ type: () => import("@carbon/charts").AxisChartOptions;
87
+ required: true;
88
+ };
89
+ }>>, {}, {}>;
90
+ export default _default;
@@ -1,41 +1,91 @@
1
- import { BubbleChartOptions, ChartTabularData } from '@carbon/charts';
2
- declare const _sfc_main: import('./vue/dist/vue.esm.js').DefineComponent<{
3
- data: {
4
- type: () => ChartTabularData;
5
- required: true;
6
- };
7
- options: {
8
- type: () => BubbleChartOptions;
9
- required: true;
10
- };
11
- }, {}, {}, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js').DefineComponent<{
12
- data: {
13
- type: () => ChartTabularData;
14
- required: true;
15
- };
16
- options: {
17
- type: ObjectConstructor;
18
- required: true;
19
- };
20
- }, {}, {
21
- coreChart: import("./CcvBaseChart").CoreChart<any> | null;
22
- }, {}, {}, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, import('./vue/dist/vue.esm.js/types/v3-component-options.js').ComponentOptionsMixin, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
23
- data: {
24
- type: () => ChartTabularData;
25
- required: true;
26
- };
27
- options: {
28
- type: ObjectConstructor;
29
- required: true;
30
- };
31
- }>>, {}>, {}, string, Readonly<import('./vue/dist/vue.esm.js').ExtractPropTypes<{
32
- data: {
33
- type: () => ChartTabularData;
34
- required: true;
35
- };
36
- options: {
37
- type: () => BubbleChartOptions;
38
- required: true;
39
- };
40
- }>>, {}>;
41
- export default _sfc_main;
1
+ import { type BubbleChartOptions } from '@carbon/charts';
2
+ declare const _default: import('./vue/dist/vue.esm-bundler.js').DefineComponent<{
3
+ data: {
4
+ type: () => import("@carbon/charts").ChartTabularData;
5
+ required: true;
6
+ };
7
+ options: {
8
+ type: () => BubbleChartOptions;
9
+ required: true;
10
+ };
11
+ }, {
12
+ chart: import('./vue/dist/vue.esm-bundler.js').Ref<{
13
+ components: {
14
+ type: string;
15
+ renderType: import("@carbon/charts").RenderTypes;
16
+ id: string;
17
+ init: () => void;
18
+ render: (animate?: boolean | undefined) => void;
19
+ destroy: () => void;
20
+ setModel: (newObj: any) => void;
21
+ setServices: (newObj: any) => void;
22
+ setParent: (parent: any) => void;
23
+ getParent: () => import("d3-selection").Selection<HTMLDivElement | SVGGraphicsElement, any, HTMLElement, any>;
24
+ getComponentContainer: (configs?: {
25
+ withinChartClip: boolean;
26
+ } | undefined) => import("d3-selection").Selection<any, any, Element, any>;
27
+ getOptions: () => any;
28
+ }[];
29
+ services: any;
30
+ model: {
31
+ getAllDataFromDomain: (groups?: any) => any;
32
+ getDisplayData: (groups?: any) => any;
33
+ getData: () => any;
34
+ isDataEmpty: () => boolean;
35
+ setData: (newData: any) => any;
36
+ getDataGroups: (groups?: any) => any;
37
+ getActiveDataGroups: (groups?: any) => any;
38
+ getDataGroupNames: (groups?: any) => any;
39
+ getActiveDataGroupNames: (groups?: any) => any;
40
+ getBinConfigurations: () => {
41
+ bins: import("d3-array").Bin<number, number>[];
42
+ binsDomain: any[];
43
+ };
44
+ getBinnedStackedData: () => import("d3-shape").SeriesPoint<{
45
+ [key: string]: number;
46
+ }>[][];
47
+ getGroupedData: (groups?: any) => {
48
+ name: string;
49
+ data: any;
50
+ }[];
51
+ getStackKeys: ({ bins, groups }?: import("@carbon/charts").StackKeysParams | undefined) => any;
52
+ getDataValuesGroupedByKeys: ({ bins, groups }: import("@carbon/charts").StackKeysParams) => any;
53
+ getStackedData: ({ percentage, groups, divergent }: import("@carbon/charts").StackKeysParams) => any[][];
54
+ getOptions: () => any;
55
+ set: (newState: any, configs?: any) => void;
56
+ get: (property?: string | undefined) => any;
57
+ setOptions: (newOptions: any) => void;
58
+ update: (animate?: boolean | undefined) => void;
59
+ toggleDataLabel: (changedLabel: string) => void;
60
+ getIsFilled: (group: any, key?: any, data?: any, defaultFilled?: boolean | undefined) => any;
61
+ getFillColor: (group: any, key?: any, data?: any) => any;
62
+ getStrokeColor: (group: any, key?: any, data?: any) => any;
63
+ isUserProvidedColorScaleValid: () => any;
64
+ getColorClassName: (configs: {
65
+ classNameTypes?: import("@carbon/charts").ColorClassNameTypes[] | undefined;
66
+ dataGroupName?: string | number | undefined;
67
+ originalClassName?: string | undefined;
68
+ value?: number | undefined;
69
+ }) => string;
70
+ getStatus: () => any;
71
+ getAllDataGroupsNames: () => string[];
72
+ getTabularDataArray: () => import("@carbon/charts").ChartTabularData;
73
+ exportToCSV: () => void;
74
+ };
75
+ init: (holder: HTMLDivElement, chartConfigs: import("@carbon/charts").ChartConfig<import("@carbon/charts").BaseChartOptions>) => void;
76
+ getComponents: () => import("@carbon/charts").Component[];
77
+ update: () => void;
78
+ destroy: () => void;
79
+ } | null>;
80
+ chartDiv: import('./vue/dist/vue.esm-bundler.js').Ref<HTMLDivElement | null>;
81
+ }, unknown, {}, {}, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('./vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('./vue/dist/vue.esm-bundler.js').VNodeProps & import('./vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('./vue/dist/vue.esm-bundler.js').ComponentCustomProps, Readonly<import('./vue/dist/vue.esm-bundler.js').ExtractPropTypes<{
82
+ data: {
83
+ type: () => import("@carbon/charts").ChartTabularData;
84
+ required: true;
85
+ };
86
+ options: {
87
+ type: () => BubbleChartOptions;
88
+ required: true;
89
+ };
90
+ }>>, {}, {}>;
91
+ export default _default;