@genesislcap/g2plot-chart 14.417.1-alpha-efccb2a.0 → 14.417.1-alpha-83eabbf.0

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.
@@ -437,6 +437,12 @@
437
437
  }
438
438
  }
439
439
  ],
440
+ "events": [
441
+ {
442
+ "description": "Fired when legend visibility changes and the title suffix should update",
443
+ "name": "change-title"
444
+ }
445
+ ],
440
446
  "attributes": [
441
447
  {
442
448
  "name": "type",
@@ -1656,6 +1662,12 @@
1656
1662
  }
1657
1663
  }
1658
1664
  ],
1665
+ "events": [
1666
+ {
1667
+ "description": "Fired when configuration or data loading fails fatally",
1668
+ "name": "datasource-error"
1669
+ }
1670
+ ],
1659
1671
  "attributes": [
1660
1672
  {
1661
1673
  "name": "chart-fields",
@@ -398,6 +398,8 @@ declare const ChartDatasource_base: (new (...args: any[]) => {
398
398
  /**
399
399
  * The Genesis Datasource for the `g2plot-chart` component.
400
400
  * @public
401
+ *
402
+ * @fires datasource-error - Fired when configuration or data loading fails fatally
401
403
  */
402
404
  export declare class ChartDatasource extends ChartDatasource_base {
403
405
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"chart-datasource.d.ts","sourceRoot":"","sources":["../../../src/chart-datasource/chart-datasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAElF,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,4BAA4B,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAO5C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,WAAW,CAAC;AAQhD,cAAM,kBAAmB,SAAQ,cAAc;IAC7C,SAAS,CAAC,KAAK,EAAE,WAAW,CAAC;IAC7B,SAAS,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IAAI,EAAE,GAAG,EAAE,CAAC;IAExB;;;OAGG;IACwB,UAAU,EAAE,OAAO,CAAS;IAEvD;;;;;OAKG;IACG,OAAO,EAAE,MAAM,CAAmC;IAExD;;OAEG;IACG,OAAO,EAAE,MAAM,CAAoC;IAEzD;;;;;OAKG;IACG,OAAO,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,OAAO,EAAE,GAAG,CAAC;IAEb;;;;;OAKG;IACwB,OAAO,EAAE,OAAO,CAAS;IAEpD;;;OAGG;IACG,KAAK,EAAE,MAAM,CAAa;IAEhC;;OAEG;IACG,iBAAiB;IAwCvB;;OAEG;IACH,WAAW,CAAC,MAAM,EAAE,kCAAkC,GAAG,IAAI;IAY7D;;OAEG;IACM,oBAAoB,IAAI,IAAI;IAOrC;;OAEG;IACa,gBAAgB,CAAC,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAKvE,OAAO,CAAC,kBAAkB;IAuC1B,OAAO,CAAC,gCAAgC;IAiBxC;;OAEG;IACH,IAAI,oBAAoB,IAAI,OAAO,CAElC;IAED;;OAEG;IACH,IAAI,mBAAmB,IAAI,OAAO,CAEjC;IAED,OAAO,CAAC,uBAAuB;CAOhC"}
@@ -370,6 +370,9 @@ declare const G2PlotChart_base: (new (...args: any[]) => {
370
370
  * The G2Plot Chart component
371
371
  * @public
372
372
  * @tagname %%prefix%%-g2plot-chart
373
+ *
374
+ * @fires change-title - Fired when legend visibility changes and the title suffix should update
375
+ * @remarks Forwards G2Plot chart events using each event's native `type` string (see `chart.on('*', ...)`).
373
376
  */
374
377
  export declare class G2PlotChart extends G2PlotChart_base {
375
378
  private chart;
@@ -1 +1 @@
1
- {"version":3,"file":"chart.d.ts","sourceRoot":"","sources":["../../src/chart.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAK/D,OAAO,EAEL,UAAU,EAGV,eAAe,EACf,cAAc,EACd,WAAW,EACZ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AC1C,OAAO,CAAC,mBAAmB,CAA4B;IAEvD;;OAEG;;IAYH,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,YAAY;IAUpB;;;OAGG;IACM,SAAS,IAAI,IAAI;IAU1B;;;OAGG;IACH,WAAW;IAKX;;;OAGG;IACH,iBAAiB;IAqBjB;;OAEG;IACH,oBAAoB,IAAI,IAAI;IAkB5B;;OAEG;IACH,YAAY,GAAI,MAAC,UAEf;IAEF;;;OAGG;IACH,OAAO,CAAC,cAAc,CAuBpB;IAEF,OAAO,CAAC,qBAAqB,CAO3B;IAEF;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,8BAA8B;IA0BtC,OAAO,CAAC,sBAAsB,CAc5B;CACH;AAED;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,EAAE,cAA0B,CAAC;AAEtE;;;GAGG;AACH,eAAO,MAAM,kBAAkB,IAAK,CAAC;AAErC;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;;;;;;;;sBAMtB,CAAC"}
@@ -4,20 +4,22 @@
4
4
  * Generated from custom-elements manifest.
5
5
  */
6
6
 
7
+ import type { HTMLAttributes } from 'react';
8
+ import type { ChartTypes } from '@genesislcap/g2plot-chart';
9
+
7
10
  declare module 'react/jsx-runtime' {
8
11
  namespace JSX {
9
- interface GenesislcapG2plotChartReactElementProps2 {
10
- children?: unknown;
12
+ interface GenesislcapG2plotChartReactElementProps1 extends HTMLAttributes<HTMLElement> {
13
+ class?: string;
14
+ part?: string;
15
+ [key: `data-${string}`]: string | number | boolean | undefined;
16
+ 'type'?: ChartTypes;
17
+ 'onChangeTitle'?: (event: CustomEvent<unknown>) => void;
18
+ }
19
+ interface GenesislcapG2plotChartReactElementProps2 extends HTMLAttributes<HTMLElement> {
11
20
  class?: string;
12
- className?: string;
13
- id?: string;
14
- slot?: string;
15
21
  part?: string;
16
- style?: string | Partial<CSSStyleDeclaration>;
17
- role?: string;
18
- tabIndex?: number | string;
19
22
  [key: `data-${string}`]: string | number | boolean | undefined;
20
- [key: `aria-${string}`]: string | number | boolean | undefined;
21
23
  'chartFields'?: string;
22
24
  'serverFields'?: string;
23
25
  'isStack'?: boolean;
@@ -33,37 +35,11 @@ declare module 'react/jsx-runtime' {
33
35
  'rowId'?: string;
34
36
  'fields'?: string;
35
37
  'request'?: any;
36
- }
37
- interface GenesislcapG2plotChartReactElementProps1 {
38
- children?: unknown;
39
- class?: string;
40
- className?: string;
41
- id?: string;
42
- slot?: string;
43
- part?: string;
44
- style?: string | Partial<CSSStyleDeclaration>;
45
- role?: string;
46
- tabIndex?: number | string;
47
- [key: `data-${string}`]: string | number | boolean | undefined;
48
- [key: `aria-${string}`]: string | number | boolean | undefined;
49
- 'type'?: unknown;
50
- }
51
- interface GenesislcapG2plotChartReactElementProps1 {
52
- children?: unknown;
53
- class?: string;
54
- className?: string;
55
- id?: string;
56
- slot?: string;
57
- part?: string;
58
- style?: string | Partial<CSSStyleDeclaration>;
59
- role?: string;
60
- tabIndex?: number | string;
61
- [key: `data-${string}`]: string | number | boolean | undefined;
62
- [key: `aria-${string}`]: string | number | boolean | undefined;
63
- 'type'?: unknown;
38
+ 'onDatasourceError'?: (event: CustomEvent<unknown>) => void;
64
39
  }
65
40
  interface IntrinsicElements {
66
41
  'chart-datasource': GenesislcapG2plotChartReactElementProps2;
42
+ 'foundation-g2plot-chart': GenesislcapG2plotChartReactElementProps1;
67
43
  'rapid-g2plot-chart': GenesislcapG2plotChartReactElementProps1;
68
44
  'zero-g2plot-chart': GenesislcapG2plotChartReactElementProps1;
69
45
  }
@@ -88,6 +88,8 @@ class ConcreteDatasource extends BaseDatasource {
88
88
  /**
89
89
  * The Genesis Datasource for the `g2plot-chart` component.
90
90
  * @public
91
+ *
92
+ * @fires datasource-error - Fired when configuration or data loading fails fatally
91
93
  */
92
94
  let ChartDatasource = class ChartDatasource extends LifecycleMixin(ConcreteDatasource) {
93
95
  constructor() {
package/dist/esm/chart.js CHANGED
@@ -13,6 +13,9 @@ ChartDatasource;
13
13
  * The G2Plot Chart component
14
14
  * @public
15
15
  * @tagname %%prefix%%-g2plot-chart
16
+ *
17
+ * @fires change-title - Fired when legend visibility changes and the title suffix should update
18
+ * @remarks Forwards G2Plot chart events using each event's native `type` string (see `chart.on('*', ...)`).
16
19
  */
17
20
  export class G2PlotChart extends LifecycleMixin(FoundationElement) {
18
21
  /**
@@ -295,7 +295,7 @@
295
295
  {
296
296
  "kind": "Class",
297
297
  "canonicalReference": "@genesislcap/g2plot-chart!ChartDatasource:class",
298
- "docComment": "/**\n * The Genesis Datasource for the `g2plot-chart` component.\n *\n * @public\n */\n",
298
+ "docComment": "/**\n * The Genesis Datasource for the `g2plot-chart` component.\n *\n * @fires\n *\n * datasource-error - Fired when configuration or data loading fails fatally\n *\n * @public\n */\n",
299
299
  "excerptTokens": [
300
300
  {
301
301
  "kind": "Content",
@@ -1373,7 +1373,7 @@
1373
1373
  {
1374
1374
  "kind": "Class",
1375
1375
  "canonicalReference": "@genesislcap/g2plot-chart!G2PlotChart:class",
1376
- "docComment": "/**\n * The G2Plot Chart component\n *\n * @remarks\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `G2PlotChart` class.\n *\n * @tagname\n *\n * %%prefix%%-g2plot-chart\n *\n * @public\n */\n",
1376
+ "docComment": "/**\n * The G2Plot Chart component\n *\n * @remarks\n *\n * Forwards G2Plot chart events using each event's native `type` string (see `chart.on('*', ...)`).\n *\n * The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `G2PlotChart` class.\n *\n * @tagname\n *\n * %%prefix%%-g2plot-chart\n *\n * @fires\n *\n * change-title - Fired when legend visibility changes and the title suffix should update\n *\n * @public\n */\n",
1377
1377
  "excerptTokens": [
1378
1378
  {
1379
1379
  "kind": "Content",
@@ -41,6 +41,8 @@ export declare type ChartConfig = LineOptions | AreaOptions | BarOptions | Colum
41
41
  /**
42
42
  * The Genesis Datasource for the `g2plot-chart` component.
43
43
  * @public
44
+ *
45
+ * @fires datasource-error - Fired when configuration or data loading fails fatally
44
46
  */
45
47
  export declare class ChartDatasource extends ChartDatasource_base {
46
48
  /**
@@ -688,6 +690,9 @@ export declare const foundationChartShadowOptions: ShadowRootInit;
688
690
  * The G2Plot Chart component
689
691
  * @public
690
692
  * @tagname %%prefix%%-g2plot-chart
693
+ *
694
+ * @fires change-title - Fired when legend visibility changes and the title suffix should update
695
+ * @remarks Forwards G2Plot chart events using each event's native `type` string (see `chart.on('*', ...)`).
691
696
  */
692
697
  export declare class G2PlotChart extends G2PlotChart_base {
693
698
  private chart;
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.417.1-alpha-efccb2a.0",
4
+ "version": "14.417.1-alpha-83eabbf.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -53,21 +53,21 @@
53
53
  }
54
54
  },
55
55
  "devDependencies": {
56
- "@genesislcap/foundation-testing": "14.417.1-alpha-efccb2a.0",
57
- "@genesislcap/genx": "14.417.1-alpha-efccb2a.0",
58
- "@genesislcap/rollup-builder": "14.417.1-alpha-efccb2a.0",
59
- "@genesislcap/ts-builder": "14.417.1-alpha-efccb2a.0",
60
- "@genesislcap/uvu-playwright-builder": "14.417.1-alpha-efccb2a.0",
61
- "@genesislcap/vite-builder": "14.417.1-alpha-efccb2a.0",
62
- "@genesislcap/webpack-builder": "14.417.1-alpha-efccb2a.0"
56
+ "@genesislcap/foundation-testing": "14.417.1-alpha-83eabbf.0",
57
+ "@genesislcap/genx": "14.417.1-alpha-83eabbf.0",
58
+ "@genesislcap/rollup-builder": "14.417.1-alpha-83eabbf.0",
59
+ "@genesislcap/ts-builder": "14.417.1-alpha-83eabbf.0",
60
+ "@genesislcap/uvu-playwright-builder": "14.417.1-alpha-83eabbf.0",
61
+ "@genesislcap/vite-builder": "14.417.1-alpha-83eabbf.0",
62
+ "@genesislcap/webpack-builder": "14.417.1-alpha-83eabbf.0"
63
63
  },
64
64
  "dependencies": {
65
65
  "@antv/g2plot": "^2.4.32",
66
- "@genesislcap/foundation-comms": "14.417.1-alpha-efccb2a.0",
67
- "@genesislcap/foundation-logger": "14.417.1-alpha-efccb2a.0",
68
- "@genesislcap/foundation-ui": "14.417.1-alpha-efccb2a.0",
69
- "@genesislcap/foundation-utils": "14.417.1-alpha-efccb2a.0",
70
- "@genesislcap/foundation-zero": "14.417.1-alpha-efccb2a.0",
66
+ "@genesislcap/foundation-comms": "14.417.1-alpha-83eabbf.0",
67
+ "@genesislcap/foundation-logger": "14.417.1-alpha-83eabbf.0",
68
+ "@genesislcap/foundation-ui": "14.417.1-alpha-83eabbf.0",
69
+ "@genesislcap/foundation-utils": "14.417.1-alpha-83eabbf.0",
70
+ "@genesislcap/foundation-zero": "14.417.1-alpha-83eabbf.0",
71
71
  "@microsoft/fast-element": "1.14.0",
72
72
  "@microsoft/fast-foundation": "2.50.0"
73
73
  },
@@ -80,5 +80,5 @@
80
80
  "access": "public"
81
81
  },
82
82
  "customElements": "dist/custom-elements.json",
83
- "gitHead": "00d0d357de82849ea9dc574f615ba69d71b78ede"
83
+ "gitHead": "eec85009ab3c6ae8d2c3bbcd8edd19f8697a0579"
84
84
  }