@genesislcap/g2plot-chart 14.214.2 → 14.214.3

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 (64) hide show
  1. package/dist/custom-elements.json +23 -9
  2. package/dist/dts/chart-components.d.ts +4 -0
  3. package/dist/dts/chart-components.d.ts.map +1 -1
  4. package/dist/dts/chart-datasource/chart-datasource.d.ts +14 -0
  5. package/dist/dts/chart-datasource/chart-datasource.d.ts.map +1 -1
  6. package/dist/dts/chart.d.ts +11 -0
  7. package/dist/dts/chart.d.ts.map +1 -1
  8. package/dist/dts/chart.types.d.ts +8 -0
  9. package/dist/dts/chart.types.d.ts.map +1 -1
  10. package/dist/dts/settings/colors.d.ts +4 -0
  11. package/dist/dts/settings/colors.d.ts.map +1 -1
  12. package/dist/dts/settings/shapes.d.ts +4 -0
  13. package/dist/dts/settings/shapes.d.ts.map +1 -1
  14. package/dist/dts/tsdoc-metadata.json +11 -0
  15. package/dist/esm/chart-components.js +4 -0
  16. package/dist/esm/chart-datasource/chart-datasource.js +14 -0
  17. package/dist/esm/chart.js +11 -1
  18. package/dist/esm/settings/colors.js +4 -0
  19. package/dist/esm/settings/shapes.js +4 -0
  20. package/dist/g2plot-chart.api.json +1600 -0
  21. package/dist/g2plot-chart.d.ts +964 -0
  22. package/docs/.gitattributes +2 -0
  23. package/docs/api/g2plot-chart.chartdatasource.disconnectedcallback.md +15 -0
  24. package/docs/api/g2plot-chart.chartdatasource.fetchgenesisdata.md +22 -0
  25. package/docs/api/g2plot-chart.chartdatasource.md +22 -0
  26. package/docs/api/g2plot-chart.chartdatasourceerrorevent.md +15 -0
  27. package/docs/api/g2plot-chart.chartdatasourceerroreventdetail.md +15 -0
  28. package/docs/api/g2plot-chart.chartdatasourceeventnames.md +15 -0
  29. package/docs/api/g2plot-chart.charterrorevent.md +15 -0
  30. package/docs/api/g2plot-chart.charterroritem.detail.md +11 -0
  31. package/docs/api/g2plot-chart.charterroritem.md +21 -0
  32. package/docs/api/g2plot-chart.charterroritem.type.md +11 -0
  33. package/docs/api/g2plot-chart.charterrornames.md +16 -0
  34. package/docs/api/g2plot-chart.charterrortypes.md +15 -0
  35. package/docs/api/g2plot-chart.chartmodels.md +13 -0
  36. package/docs/api/g2plot-chart.chartsgradients.md +24 -0
  37. package/docs/api/g2plot-chart.charttypes.md +13 -0
  38. package/docs/api/g2plot-chart.defaultchartconfig.md +13 -0
  39. package/docs/api/g2plot-chart.defaultchartfields.md +18 -0
  40. package/docs/api/g2plot-chart.defaultserieschartfield.md +18 -0
  41. package/docs/api/g2plot-chart.foundationchartshadowoptions.md +13 -0
  42. package/docs/api/g2plot-chart.g2plotchart._constructor_.md +13 -0
  43. package/docs/api/g2plot-chart.g2plotchart.chart.md +11 -0
  44. package/docs/api/g2plot-chart.g2plotchart.chartcontainer.md +11 -0
  45. package/docs/api/g2plot-chart.g2plotchart.config.md +11 -0
  46. package/docs/api/g2plot-chart.g2plotchart.configchanged.md +15 -0
  47. package/docs/api/g2plot-chart.g2plotchart.connectedcallback.md +15 -0
  48. package/docs/api/g2plot-chart.g2plotchart.data.md +11 -0
  49. package/docs/api/g2plot-chart.g2plotchart.datachanged.md +23 -0
  50. package/docs/api/g2plot-chart.g2plotchart.deepclone.md +15 -0
  51. package/docs/api/g2plot-chart.g2plotchart.disconnectedcallback.md +15 -0
  52. package/docs/api/g2plot-chart.g2plotchart.erroritems.md +11 -0
  53. package/docs/api/g2plot-chart.g2plotchart.eventhandler.md +11 -0
  54. package/docs/api/g2plot-chart.g2plotchart.md +28 -0
  55. package/docs/api/g2plot-chart.g2plotchart.renderchart.md +15 -0
  56. package/docs/api/g2plot-chart.g2plotchart.type.md +11 -0
  57. package/docs/api/g2plot-chart.g2plotchartscomponents.md +26 -0
  58. package/docs/api/g2plot-chart.g2plotcharttemplate.md +13 -0
  59. package/docs/api/g2plot-chart.md +46 -0
  60. package/docs/api/g2plot-chart.registerrapidshape.md +13 -0
  61. package/docs/api/index.md +12 -0
  62. package/docs/api-report.md +190 -0
  63. package/package.json +14 -14
  64. package/tsdoc.json +4 -0
@@ -0,0 +1,46 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/g2plot-chart](./g2plot-chart.md)
4
+
5
+ ## g2plot-chart package
6
+
7
+ ## Classes
8
+
9
+ | Class | Description |
10
+ | --- | --- |
11
+ | [ChartDatasource](./g2plot-chart.chartdatasource.md) | The Genesis Datasource for the <code>g2plot-chart</code> component. |
12
+ | [G2PlotChart](./g2plot-chart.g2plotchart.md) | The G2Plot Chart component |
13
+
14
+ ## Interfaces
15
+
16
+ | Interface | Description |
17
+ | --- | --- |
18
+ | [ChartErrorItem](./g2plot-chart.charterroritem.md) | Chart Error Item |
19
+
20
+ ## Variables
21
+
22
+ | Variable | Description |
23
+ | --- | --- |
24
+ | [chartDatasourceEventNames](./g2plot-chart.chartdatasourceeventnames.md) | The Chart Datasource event names. |
25
+ | [chartErrorNames](./g2plot-chart.charterrornames.md) | The error names for the Chart component. |
26
+ | [chartsGradients](./g2plot-chart.chartsgradients.md) | G2Plot Chart gradient colors |
27
+ | [defaultChartConfig](./g2plot-chart.defaultchartconfig.md) | The default <code>g2plot-chart</code> configuration. |
28
+ | [defaultChartFields](./g2plot-chart.defaultchartfields.md) | The first and second default chart fields when it's a dual axes chart. |
29
+ | [defaultSeriesChartField](./g2plot-chart.defaultserieschartfield.md) | The third default chart field when it's a triple axes chart. |
30
+ | [foundationChartShadowOptions](./g2plot-chart.foundationchartshadowoptions.md) | The <code>g2plot-chart</code> component shadow options. |
31
+ | [g2plotChart](./g2plot-chart.g2plotchart.md) | The G2plot Chart |
32
+ | [g2plotChartsComponents](./g2plot-chart.g2plotchartscomponents.md) | All the <code>g2plot-chart</code> components |
33
+ | [g2plotChartTemplate](./g2plot-chart.g2plotcharttemplate.md) | The g2lot chart template. |
34
+ | [registerRapidShape](./g2plot-chart.registerrapidshape.md) | Register the Rapid Design System G2Plot shape |
35
+
36
+ ## Type Aliases
37
+
38
+ | Type Alias | Description |
39
+ | --- | --- |
40
+ | [ChartDatasourceErrorEvent](./g2plot-chart.chartdatasourceerrorevent.md) | The error event Chart Datasource. |
41
+ | [ChartDatasourceErrorEventDetail](./g2plot-chart.chartdatasourceerroreventdetail.md) | The event detail for the Chart Datasource <code>error</code> event. |
42
+ | [ChartErrorEvent](./g2plot-chart.charterrorevent.md) | Chart possible error events |
43
+ | [ChartErrorTypes](./g2plot-chart.charterrortypes.md) | Chart Error Types |
44
+ | [ChartModels](./g2plot-chart.chartmodels.md) | G2Plot Chart Models |
45
+ | [ChartTypes](./g2plot-chart.charttypes.md) | G2Plot Chart Types |
46
+
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/g2plot-chart](./g2plot-chart.md) &gt; [registerRapidShape](./g2plot-chart.registerrapidshape.md)
4
+
5
+ ## registerRapidShape variable
6
+
7
+ Register the Rapid Design System G2Plot shape
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ registerRapidShape: () => void
13
+ ```
@@ -0,0 +1,12 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md)
4
+
5
+ ## API Reference
6
+
7
+ ## Packages
8
+
9
+ | Package | Description |
10
+ | --- | --- |
11
+ | [@genesislcap/g2plot-chart](./g2plot-chart.md) | |
12
+
@@ -0,0 +1,190 @@
1
+ ## API Report File for "@genesislcap/g2plot-chart"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import { Area } from '@antv/g2plot';
8
+ import { Bar } from '@antv/g2plot';
9
+ import { BaseDatasource } from '@genesislcap/foundation-ui';
10
+ import type { BaseDatasourceErrorHandlingOptions } from '@genesislcap/foundation-ui';
11
+ import { Column } from '@antv/g2plot';
12
+ import type { Container } from '@microsoft/fast-foundation';
13
+ import { Controller } from '@microsoft/fast-element';
14
+ import { DOMContainer } from '@genesislcap/foundation-utils';
15
+ import { DualAxes } from '@antv/g2plot';
16
+ import { ElementStyles } from '@microsoft/fast-element';
17
+ import { FoundationElement } from '@microsoft/fast-foundation';
18
+ import { FoundationElementRegistry } from '@microsoft/fast-foundation';
19
+ import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
20
+ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
21
+ import { Line } from '@antv/g2plot';
22
+ import { Mix } from '@antv/g2plot';
23
+ import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
24
+ import { Pie } from '@antv/g2plot';
25
+ import { Rose } from '@antv/g2plot';
26
+ import { Scatter } from '@antv/g2plot';
27
+ import { Stock } from '@antv/g2plot';
28
+ import { ViewTemplate } from '@microsoft/fast-element';
29
+
30
+ // Warning: (ae-forgotten-export) The symbol "ChartDatasource_base" needs to be exported by the entry point index.d.ts
31
+ //
32
+ // @public
33
+ export class ChartDatasource extends ChartDatasource_base {
34
+ // (undocumented)
35
+ disconnectedCallback(): void;
36
+ // (undocumented)
37
+ fetchGenesisData(withFullInit?: boolean): Promise<void>;
38
+ }
39
+
40
+ // @public
41
+ export type ChartDatasourceErrorEvent = CustomEvent<ChartDatasourceErrorEventDetail>;
42
+
43
+ // @public
44
+ export type ChartDatasourceErrorEventDetail = {
45
+ message: string;
46
+ };
47
+
48
+ // @public
49
+ export const chartDatasourceEventNames: {
50
+ error: string;
51
+ };
52
+
53
+ // @public
54
+ export type ChartErrorEvent = ChartDatasourceErrorEvent | CustomEvent<ChartErrorItem<any>>;
55
+
56
+ // @public
57
+ export interface ChartErrorItem<ChartErrorItemDetailType> {
58
+ // (undocumented)
59
+ detail: ChartErrorItemDetailType;
60
+ // (undocumented)
61
+ type: ChartErrorTypes;
62
+ }
63
+
64
+ // @public
65
+ export const chartErrorNames: {
66
+ readonly datasource: "datasource";
67
+ readonly unknown: "unknown";
68
+ };
69
+
70
+ // @public
71
+ export type ChartErrorTypes = keyof typeof chartErrorNames;
72
+
73
+ // Warning: (ae-internal-missing-underscore) The name "chartEventNames" should be prefixed with an underscore because the declaration is marked as @internal
74
+ //
75
+ // @internal
76
+ export const chartEventNames: {
77
+ datasourceErrorClose: string;
78
+ };
79
+
80
+ // Warning: (ae-internal-missing-underscore) The name "ChartEventsListeners" should be prefixed with an underscore because the declaration is marked as @internal
81
+ //
82
+ // @internal
83
+ export type ChartEventsListeners = {
84
+ key: string;
85
+ action: (event: Event) => void;
86
+ }[];
87
+
88
+ // @public
89
+ export type ChartModels = Line | Area | Bar | Column | Pie | DualAxes | Rose | Scatter | Stock | Mix;
90
+
91
+ // @public
92
+ export const chartsGradients: {
93
+ rapidBlue: string;
94
+ rapidGreen: string;
95
+ rapidRed: string;
96
+ rapidPortage: string;
97
+ rapidAlabaster: string;
98
+ rapidSalomie: string;
99
+ rapidMelon: string;
100
+ rapidDodgerBlue: string;
101
+ rapidIce: string;
102
+ rapidViolet: string;
103
+ };
104
+
105
+ // @public
106
+ export type ChartTypes = 'line' | 'area' | 'column' | 'bar' | 'pie' | 'donut' | 'dualaxes' | 'rose' | 'scatter' | 'stock' | 'mix';
107
+
108
+ // @public
109
+ export const defaultChartConfig: {};
110
+
111
+ // @public
112
+ export const defaultChartFields = "groupBy value";
113
+
114
+ // @public
115
+ export const defaultSeriesChartField = "series";
116
+
117
+ // @public
118
+ export const foundationChartShadowOptions: ShadowRootInit;
119
+
120
+ // Warning: (ae-forgotten-export) The symbol "G2PlotChart_base" needs to be exported by the entry point index.d.ts
121
+ //
122
+ // @public
123
+ export class G2PlotChart extends G2PlotChart_base {
124
+ constructor();
125
+ // (undocumented)
126
+ chart: ChartModels;
127
+ // (undocumented)
128
+ chartContainer: HTMLElement;
129
+ // (undocumented)
130
+ config: any;
131
+ // (undocumented)
132
+ configChanged(): void;
133
+ // (undocumented)
134
+ connectedCallback(): void;
135
+ // (undocumented)
136
+ data: any[];
137
+ // (undocumented)
138
+ dataChanged(oldValue: any[], newValue: any[]): void;
139
+ // (undocumented)
140
+ deepClone(): Node;
141
+ // (undocumented)
142
+ disconnectedCallback(): void;
143
+ // (undocumented)
144
+ errorItems: ChartErrorItem<ChartErrorEvent['detail']>[];
145
+ // (undocumented)
146
+ eventHandler: (e: any) => void;
147
+ // (undocumented)
148
+ renderChart(): void;
149
+ // (undocumented)
150
+ type: ChartTypes;
151
+ }
152
+
153
+ // @public
154
+ export const g2plotChart: (overrideDefinition?: OverrideFoundationElementDefinition< {
155
+ baseName: string;
156
+ styles: ElementStyles;
157
+ template: ViewTemplate<any, any>;
158
+ shadowOptions: ShadowRootInit;
159
+ }>) => FoundationElementRegistry< {
160
+ baseName: string;
161
+ styles: ElementStyles;
162
+ template: ViewTemplate<any, any>;
163
+ shadowOptions: ShadowRootInit;
164
+ }, typeof G2PlotChart>;
165
+
166
+ // @public
167
+ export const g2plotChartsComponents: {
168
+ g2plotChart: (overrideDefinition?: OverrideFoundationElementDefinition< {
169
+ baseName: string;
170
+ styles: ElementStyles;
171
+ template: ViewTemplate<any, any>;
172
+ shadowOptions: ShadowRootInit;
173
+ }>) => FoundationElementRegistry< {
174
+ baseName: string;
175
+ styles: ElementStyles;
176
+ template: ViewTemplate<any, any>;
177
+ shadowOptions: ShadowRootInit;
178
+ }, G2PlotChart>;
179
+ register(container?: Container, ...rest: any[]): void;
180
+ };
181
+
182
+ // @public
183
+ export const g2plotChartTemplate: ViewTemplate;
184
+
185
+ // @public
186
+ export const registerRapidShape: () => void;
187
+
188
+ // (No @packageDocumentation comment for this package)
189
+
190
+ ```
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/g2plot-chart",
3
3
  "description": "Genesis G2plot Chart",
4
- "version": "14.214.2",
4
+ "version": "14.214.3",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -53,22 +53,22 @@
53
53
  }
54
54
  },
55
55
  "devDependencies": {
56
- "@genesislcap/foundation-testing": "14.214.2",
57
- "@genesislcap/genx": "14.214.2",
58
- "@genesislcap/rollup-builder": "14.214.2",
59
- "@genesislcap/ts-builder": "14.214.2",
60
- "@genesislcap/uvu-playwright-builder": "14.214.2",
61
- "@genesislcap/vite-builder": "14.214.2",
62
- "@genesislcap/webpack-builder": "14.214.2",
56
+ "@genesislcap/foundation-testing": "14.214.3",
57
+ "@genesislcap/genx": "14.214.3",
58
+ "@genesislcap/rollup-builder": "14.214.3",
59
+ "@genesislcap/ts-builder": "14.214.3",
60
+ "@genesislcap/uvu-playwright-builder": "14.214.3",
61
+ "@genesislcap/vite-builder": "14.214.3",
62
+ "@genesislcap/webpack-builder": "14.214.3",
63
63
  "rimraf": "^5.0.0"
64
64
  },
65
65
  "dependencies": {
66
66
  "@antv/g2plot": "^2.4.32",
67
- "@genesislcap/foundation-comms": "14.214.2",
68
- "@genesislcap/foundation-logger": "14.214.2",
69
- "@genesislcap/foundation-ui": "14.214.2",
70
- "@genesislcap/foundation-utils": "14.214.2",
71
- "@genesislcap/foundation-zero": "14.214.2",
67
+ "@genesislcap/foundation-comms": "14.214.3",
68
+ "@genesislcap/foundation-logger": "14.214.3",
69
+ "@genesislcap/foundation-ui": "14.214.3",
70
+ "@genesislcap/foundation-utils": "14.214.3",
71
+ "@genesislcap/foundation-zero": "14.214.3",
72
72
  "@microsoft/fast-element": "^1.12.0",
73
73
  "@microsoft/fast-foundation": "^2.49.4",
74
74
  "tslib": "^2.3.1"
@@ -82,5 +82,5 @@
82
82
  "access": "public"
83
83
  },
84
84
  "customElements": "dist/custom-elements.json",
85
- "gitHead": "181b76ca557a8a88be4cff765645d618c37debf3"
85
+ "gitHead": "0fa68769a2f17b633fa1a558cdfbd0fe10ecaf64"
86
86
  }
package/tsdoc.json ADDED
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
3
+ "extends": ["../../../../../tsdoc.json"]
4
+ }