@genesislcap/g2plot-chart 14.302.1-alpha-475e82d.0 → 14.303.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 (2) hide show
  1. package/package.json +14 -14
  2. package/docs/api-report.md +0 -229
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.302.1-alpha-475e82d.0",
4
+ "version": "14.303.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -51,21 +51,21 @@
51
51
  }
52
52
  },
53
53
  "devDependencies": {
54
- "@genesislcap/foundation-testing": "14.302.1-alpha-475e82d.0",
55
- "@genesislcap/genx": "14.302.1-alpha-475e82d.0",
56
- "@genesislcap/rollup-builder": "14.302.1-alpha-475e82d.0",
57
- "@genesislcap/ts-builder": "14.302.1-alpha-475e82d.0",
58
- "@genesislcap/uvu-playwright-builder": "14.302.1-alpha-475e82d.0",
59
- "@genesislcap/vite-builder": "14.302.1-alpha-475e82d.0",
60
- "@genesislcap/webpack-builder": "14.302.1-alpha-475e82d.0"
54
+ "@genesislcap/foundation-testing": "14.303.1",
55
+ "@genesislcap/genx": "14.303.1",
56
+ "@genesislcap/rollup-builder": "14.303.1",
57
+ "@genesislcap/ts-builder": "14.303.1",
58
+ "@genesislcap/uvu-playwright-builder": "14.303.1",
59
+ "@genesislcap/vite-builder": "14.303.1",
60
+ "@genesislcap/webpack-builder": "14.303.1"
61
61
  },
62
62
  "dependencies": {
63
63
  "@antv/g2plot": "^2.4.32",
64
- "@genesislcap/foundation-comms": "14.302.1-alpha-475e82d.0",
65
- "@genesislcap/foundation-logger": "14.302.1-alpha-475e82d.0",
66
- "@genesislcap/foundation-ui": "14.302.1-alpha-475e82d.0",
67
- "@genesislcap/foundation-utils": "14.302.1-alpha-475e82d.0",
68
- "@genesislcap/foundation-zero": "14.302.1-alpha-475e82d.0",
64
+ "@genesislcap/foundation-comms": "14.303.1",
65
+ "@genesislcap/foundation-logger": "14.303.1",
66
+ "@genesislcap/foundation-ui": "14.303.1",
67
+ "@genesislcap/foundation-utils": "14.303.1",
68
+ "@genesislcap/foundation-zero": "14.303.1",
69
69
  "@microsoft/fast-element": "1.14.0",
70
70
  "@microsoft/fast-foundation": "2.49.6"
71
71
  },
@@ -78,5 +78,5 @@
78
78
  "access": "public"
79
79
  },
80
80
  "customElements": "dist/custom-elements.json",
81
- "gitHead": "7ef53892e1de34f3e9c742e3ebd88d4880a27ca1"
81
+ "gitHead": "f1685d21651cfe332605360143595a9bb603b129"
82
82
  }
@@ -1,229 +0,0 @@
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 { AreaOptions } from '@antv/g2plot';
9
- import { Bar } from '@antv/g2plot';
10
- import { BarOptions } from '@antv/g2plot';
11
- import { BaseDatasource } from '@genesislcap/foundation-ui';
12
- import type { BaseDatasourceErrorHandlingOptions } from '@genesislcap/foundation-ui';
13
- import { Column } from '@antv/g2plot';
14
- import { ColumnOptions } from '@antv/g2plot';
15
- import type { Container } from '@microsoft/fast-foundation';
16
- import { Controller } from '@microsoft/fast-element';
17
- import { DOMContainer } from '@genesislcap/foundation-utils';
18
- import { DualAxes } from '@antv/g2plot';
19
- import { DualAxesOptions } from '@antv/g2plot';
20
- import { ElementStyles } from '@microsoft/fast-element';
21
- import { FieldMetadata } from '@genesislcap/foundation-comms';
22
- import { FoundationElement } from '@microsoft/fast-foundation';
23
- import { FoundationElementRegistry } from '@microsoft/fast-foundation';
24
- import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
25
- import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
26
- import { Line } from '@antv/g2plot';
27
- import { LineOptions } from '@antv/g2plot';
28
- import { Mix } from '@antv/g2plot';
29
- import { MixOptions } from '@antv/g2plot';
30
- import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
31
- import { Pie } from '@antv/g2plot';
32
- import { PieOptions } from '@antv/g2plot';
33
- import { Rose } from '@antv/g2plot';
34
- import { RoseOptions } from '@antv/g2plot';
35
- import { Scatter } from '@antv/g2plot';
36
- import { ScatterOptions } from '@antv/g2plot';
37
- import { Stock } from '@antv/g2plot';
38
- import { StockOptions } from '@antv/g2plot';
39
- import { ViewTemplate } from '@microsoft/fast-element';
40
-
41
- // @public
42
- export type ChartConfig = LineOptions | AreaOptions | BarOptions | ColumnOptions | PieOptions | DualAxesOptions | RoseOptions | ScatterOptions | StockOptions | MixOptions;
43
-
44
- // Warning: (ae-forgotten-export) The symbol "ChartDatasource_base" needs to be exported by the entry point index.d.ts
45
- //
46
- // @public
47
- export class ChartDatasource extends ChartDatasource_base {
48
- chartFields: string;
49
- // @internal (undocumented)
50
- connectedCallback(): Promise<void>;
51
- criteria: string;
52
- data: any[];
53
- // @internal (undocumented)
54
- disconnectedCallback(): void;
55
- // @internal (undocumented)
56
- fetchGenesisData(withFullInit?: boolean): Promise<void>;
57
- // @internal (undocumented)
58
- handleError(params: BaseDatasourceErrorHandlingOptions): void;
59
- // @internal (undocumented)
60
- get hasValidChartFields(): boolean;
61
- // @internal (undocumented)
62
- get hasValidServerFields(): boolean;
63
- isGroup: boolean;
64
- isSnapshot: boolean;
65
- isStack: boolean;
66
- maxRows: number;
67
- maxView: number;
68
- orderBy: string;
69
- reduced: boolean;
70
- request: any;
71
- resourceName: string;
72
- reverse: boolean;
73
- rowId: string;
74
- serverFields: string;
75
- showFormattedTime: boolean;
76
- withTimestampFormatting: boolean;
77
- }
78
-
79
- // @public
80
- export type ChartDatasourceErrorEvent = CustomEvent<ChartDatasourceErrorEventDetail>;
81
-
82
- // @public
83
- export type ChartDatasourceErrorEventDetail = {
84
- message: string;
85
- };
86
-
87
- // @public
88
- export const chartDatasourceEventNames: {
89
- error: string;
90
- };
91
-
92
- // @public
93
- export type ChartErrorEvent = ChartDatasourceErrorEvent | CustomEvent<ChartErrorItem<any>>;
94
-
95
- // @public
96
- export interface ChartErrorItem<ChartErrorItemDetailType> {
97
- // (undocumented)
98
- detail: ChartErrorItemDetailType;
99
- // (undocumented)
100
- type: ChartErrorTypes;
101
- }
102
-
103
- // @public
104
- export const chartErrorNames: {
105
- readonly datasource: "datasource";
106
- readonly unknown: "unknown";
107
- };
108
-
109
- // @public
110
- export type ChartErrorTypes = keyof typeof chartErrorNames;
111
-
112
- // Warning: (ae-internal-missing-underscore) The name "chartEventNames" should be prefixed with an underscore because the declaration is marked as @internal
113
- //
114
- // @internal
115
- export const chartEventNames: {
116
- datasourceErrorClose: string;
117
- };
118
-
119
- // Warning: (ae-internal-missing-underscore) The name "ChartEventsListeners" should be prefixed with an underscore because the declaration is marked as @internal
120
- //
121
- // @internal
122
- export type ChartEventsListeners = {
123
- key: string;
124
- action: (event: Event) => void;
125
- }[];
126
-
127
- // @public
128
- export type ChartModels = Line | Area | Bar | Column | Pie | DualAxes | Rose | Scatter | Stock | Mix;
129
-
130
- // @public
131
- export const chartsGradients: {
132
- rapidBlue: string;
133
- rapidGreen: string;
134
- rapidRed: string;
135
- rapidPortage: string;
136
- rapidAlabaster: string;
137
- rapidSalomie: string;
138
- rapidMelon: string;
139
- rapidDodgerBlue: string;
140
- rapidIce: string;
141
- rapidViolet: string;
142
- };
143
-
144
- // @public
145
- export type ChartTypes = 'line' | 'area' | 'column' | 'bar' | 'pie' | 'donut' | 'dualaxes' | 'rose' | 'scatter' | 'stock' | 'mix';
146
-
147
- // @public
148
- export const defaultChartConfig: {};
149
-
150
- // @public
151
- export const defaultChartFields = "groupBy value";
152
-
153
- // @public
154
- export const defaultSeriesChartField = "series";
155
-
156
- // @public
157
- export const foundationChartShadowOptions: ShadowRootInit;
158
-
159
- // Warning: (ae-forgotten-export) The symbol "G2PlotChart_base" needs to be exported by the entry point index.d.ts
160
- //
161
- // @public
162
- export class G2PlotChart extends G2PlotChart_base {
163
- // @internal
164
- constructor();
165
- // @internal (undocumented)
166
- chartContainer: HTMLElement;
167
- config: ChartConfig;
168
- // @internal (undocumented)
169
- configChanged(): void;
170
- // @internal
171
- connectedCallback(): void;
172
- data: any[];
173
- // @internal (undocumented)
174
- dataChanged(oldValue: any[], newValue: any[]): void;
175
- // @internal
176
- deepClone(): Node;
177
- // @internal (undocumented)
178
- disconnectedCallback(): void;
179
- // @internal (undocumented)
180
- errorItems: ChartErrorItem<ChartErrorEvent['detail']>[];
181
- // @internal (undocumented)
182
- eventHandler: (e: any) => void;
183
- // @internal
184
- renderChart(): void;
185
- type: ChartTypes;
186
- }
187
-
188
- // Warning: (ae-internal-missing-underscore) The name "g2plotChart" should be prefixed with an underscore because the declaration is marked as @internal
189
- //
190
- // @internal
191
- export const g2plotChart: (overrideDefinition?: OverrideFoundationElementDefinition< {
192
- baseName: string;
193
- styles: ElementStyles;
194
- template: ViewTemplate<any, any>;
195
- shadowOptions: ShadowRootInit;
196
- }>) => FoundationElementRegistry< {
197
- baseName: string;
198
- styles: ElementStyles;
199
- template: ViewTemplate<any, any>;
200
- shadowOptions: ShadowRootInit;
201
- }, typeof G2PlotChart>;
202
-
203
- // @public
204
- export const g2plotChartsComponents: {
205
- g2plotChart: (overrideDefinition?: OverrideFoundationElementDefinition< {
206
- baseName: string;
207
- styles: ElementStyles;
208
- template: ViewTemplate<any, any>;
209
- shadowOptions: ShadowRootInit;
210
- }>) => FoundationElementRegistry< {
211
- baseName: string;
212
- styles: ElementStyles;
213
- template: ViewTemplate<any, any>;
214
- shadowOptions: ShadowRootInit;
215
- }, G2PlotChart>;
216
- register(container?: Container, ...rest: any[]): void;
217
- };
218
-
219
- // @public
220
- export const g2plotChartTemplate: ViewTemplate;
221
-
222
- // Warning: (ae-internal-missing-underscore) The name "registerRapidShape" should be prefixed with an underscore because the declaration is marked as @internal
223
- //
224
- // @internal
225
- export const registerRapidShape: () => void;
226
-
227
- // (No @packageDocumentation comment for this package)
228
-
229
- ```