genesys-spark-chart-components 4.82.0 → 4.83.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.
- package/dist/cjs/{color-palette-aa165953.js → color-palette-6fd22a51.js} +6 -7
- package/dist/cjs/genesys-chart-webcomponents.cjs.js +9 -9
- package/dist/cjs/gux-chart-column-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-chart-line-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +2 -2
- package/dist/cjs/gux-visualization-beta.cjs.entry.js +4 -4
- package/dist/cjs/index-817704d9.js +1198 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/beta/gux-visualization/gux-visualization.js +2 -2
- package/dist/collection/test/setupAxeTests.js +3 -11
- package/dist/esm/{color-palette-9cf471d5.js → color-palette-14738b2a.js} +6 -7
- package/dist/esm/genesys-chart-webcomponents.js +10 -10
- package/dist/esm/gux-chart-column-beta.entry.js +2 -2
- package/dist/esm/gux-chart-donut-beta.entry.js +2 -2
- package/dist/esm/gux-chart-line-beta.entry.js +2 -2
- package/dist/esm/gux-chart-pie-beta.entry.js +2 -2
- package/dist/esm/gux-chart-scatter-plot-beta.entry.js +2 -2
- package/dist/esm/gux-visualization-beta.entry.js +4 -4
- package/dist/esm/index-e1e997ee.js +1170 -0
- package/dist/esm/loader.js +2 -2
- package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
- package/dist/genesys-chart-webcomponents/{p-a7bc85cd.js → p-1b4bdc99.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-c9f85c67.entry.js → p-361bc5ae.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-464f1055.entry.js → p-5674a27a.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/p-7f2ebcdb.js +2 -0
- package/dist/genesys-chart-webcomponents/{p-f87517c1.entry.js → p-8ff6d2ac.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-5c1fa076.entry.js → p-b01e807e.entry.js} +2 -2
- package/dist/genesys-chart-webcomponents/{p-c538ac76.entry.js → p-ef1e3682.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-4eec02be.entry.js → p-f85d1100.entry.js} +1 -1
- package/dist/loader/cdn.js +1 -3
- package/dist/loader/index.cjs.js +1 -3
- package/dist/loader/index.d.ts +3 -0
- package/dist/loader/index.es2017.js +1 -3
- package/dist/loader/index.js +1 -3
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/stencil-public-runtime.d.ts +3 -10
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +6 -7
- package/dist/cjs/index-95713c33.js +0 -1795
- package/dist/collection/components/beta/gux-chart-column/tests/gux-column-chart.spec.js +0 -22
- package/dist/collection/components/beta/gux-chart-donut/tests/gux-chart-donut.spec.js +0 -11
- package/dist/collection/components/beta/gux-chart-line/tests/gux-chart-line.e2e.js +0 -17
- package/dist/collection/components/beta/gux-chart-line/tests/gux-chart-line.spec.js +0 -22
- package/dist/collection/components/beta/gux-chart-pie/tests/gux-chart-pie.spec.js +0 -11
- package/dist/collection/components/beta/gux-chart-scatter-plot/tests/gux-chart-scatter-plot.spec.js +0 -33
- package/dist/collection/components/beta/gux-visualization/tests/gux-visualization.e2e.js +0 -31
- package/dist/collection/components/beta/gux-visualization/tests/gux-visualization.spec.js +0 -35
- package/dist/collection/utils/tracking/usage.spec.js +0 -121
- package/dist/esm/index-e4944b0d.js +0 -1767
- package/dist/esm/polyfills/core-js.js +0 -11
- package/dist/esm/polyfills/dom.js +0 -79
- package/dist/esm/polyfills/es5-html-element.js +0 -1
- package/dist/esm/polyfills/index.js +0 -34
- package/dist/esm/polyfills/system.js +0 -6
- package/dist/genesys-chart-webcomponents/p-e068d41d.js +0 -2
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-817704d9.js');
|
|
6
6
|
const appGlobals = require('./app-globals-3a1e7e63.js');
|
|
7
7
|
|
|
8
8
|
const defineCustomElements = async (win, options) => {
|
|
@@ -19,7 +19,7 @@ export class GuxVisualization {
|
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
21
|
this.defaultEmbedOptions = {
|
|
22
|
-
actions:
|
|
22
|
+
actions: false,
|
|
23
23
|
renderer: 'svg'
|
|
24
24
|
};
|
|
25
25
|
this.visualizationSpec = undefined;
|
|
@@ -57,7 +57,7 @@ export class GuxVisualization {
|
|
|
57
57
|
this.chartComponentReady.emit();
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h("div", { key: '
|
|
60
|
+
return (h("div", { key: '1b36e64f47f08b140a436ff6806e33dcfcabad08', class: "gux-chart-container", ref: el => (this.chartContainer = el) }));
|
|
61
61
|
}
|
|
62
62
|
static get is() { return "gux-visualization-beta"; }
|
|
63
63
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/* eslint-env jest, node */
|
|
2
|
-
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-unsafe-return */
|
|
4
|
-
/* eslint-disable @typescript-eslint/restrict-template-expressions */
|
|
5
|
-
/* eslint-disable @typescript-eslint/no-unsafe-call */
|
|
6
|
-
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
|
|
7
|
-
/* eslint-disable @typescript-eslint/typedef */
|
|
8
|
-
|
|
9
1
|
global.beforeEach(() => {
|
|
10
2
|
expect.extend({
|
|
11
3
|
toHaveNoViolations(axeViolations, axeScanDetails) {
|
|
@@ -15,10 +7,10 @@ global.beforeEach(() => {
|
|
|
15
7
|
});
|
|
16
8
|
|
|
17
9
|
function toHaveNoViolations(axeViolations, axeScanDetails) {
|
|
18
|
-
|
|
10
|
+
const violations = [];
|
|
19
11
|
|
|
20
12
|
axeViolations.forEach(violation => {
|
|
21
|
-
|
|
13
|
+
const violationTargets = [];
|
|
22
14
|
violation.nodes.forEach(violationInstance => {
|
|
23
15
|
let excludedElement = false;
|
|
24
16
|
axeScanDetails.axeExclusions.forEach(exclusion => {
|
|
@@ -46,7 +38,7 @@ function toHaveNoViolations(axeViolations, axeScanDetails) {
|
|
|
46
38
|
function createViolationMessage(violations, axeScanDetails) {
|
|
47
39
|
let violationMessage = '';
|
|
48
40
|
let elementMessage = '';
|
|
49
|
-
|
|
41
|
+
const axeContextMessage = axeScanDetails.axeScanContext
|
|
50
42
|
? `Axe scan context:\n${axeScanDetails.axeScanContext}\n`
|
|
51
43
|
: '';
|
|
52
44
|
violations.forEach(violation => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const name = "genesys-spark-chart-components";
|
|
2
|
-
const version = "4.
|
|
2
|
+
const version = "4.83.1";
|
|
3
3
|
const description = "Common chart webcomponents";
|
|
4
4
|
const license = "MIT";
|
|
5
5
|
const main = "dist/stencil-wrapper.js";
|
|
@@ -15,7 +15,7 @@ const scripts = {
|
|
|
15
15
|
clean: "rm -r ./dist ./build || true",
|
|
16
16
|
predev: "npm run i18n",
|
|
17
17
|
dev: "npm run stencil.dev",
|
|
18
|
-
eslint: "eslint --fix
|
|
18
|
+
eslint: "eslint . --fix",
|
|
19
19
|
i18n: "npm run update-en-i18n && npm run build-i18n",
|
|
20
20
|
"lint-all": "npm-run-all \"stylelint\" \"eslint\" \"prettier\" \"prettier-package-json\"",
|
|
21
21
|
"lint-staged": "lint-staged --concurrent false",
|
|
@@ -57,22 +57,20 @@ const dependencies = {
|
|
|
57
57
|
const devDependencies = {
|
|
58
58
|
"@babel/core": "^7.25.2",
|
|
59
59
|
"@babel/preset-env": "^7.25.4",
|
|
60
|
-
"@stencil/core": "4.
|
|
60
|
+
"@stencil/core": "4.19.2",
|
|
61
61
|
"@stencil/react-output-target": "^0.5.3",
|
|
62
62
|
"@stencil/sass": "^3.0.12",
|
|
63
63
|
"@types/jest": "^29.5.12",
|
|
64
64
|
"@types/new-relic-browser": "^0.1118.2",
|
|
65
65
|
"@types/puppeteer": "^5.4.7",
|
|
66
|
-
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
|
67
|
-
"@typescript-eslint/parser": "^8.5.0",
|
|
68
66
|
"axe-core": "^4.10.0",
|
|
69
67
|
"axe-live": "^1.0.1",
|
|
70
|
-
eslint: "^
|
|
68
|
+
eslint: "^9.10.0",
|
|
71
69
|
"eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
|
|
72
|
-
"eslint-config-prettier": "^9.1.0",
|
|
73
70
|
"file-loader": "^6.2.0",
|
|
74
71
|
"genesys-spark-tokens": "file:../genesys-spark-tokens",
|
|
75
72
|
glob: "^11.0.0",
|
|
73
|
+
globals: "^15.9.0",
|
|
76
74
|
handlebars: "^4.7.8",
|
|
77
75
|
inquirer: "^10.2.2",
|
|
78
76
|
jest: "^29.7.0",
|
|
@@ -95,6 +93,7 @@ const devDependencies = {
|
|
|
95
93
|
puppeteer: "^14.4.1",
|
|
96
94
|
"rollup-plugin-copy": "^3.5.0",
|
|
97
95
|
"semver-sort": "^1.0.0",
|
|
96
|
+
smob: "^1.5.0",
|
|
98
97
|
stylelint: "^16.9.0",
|
|
99
98
|
"stylelint-config-genesys-spark-components": "file:../../shared-configs/stylelint-config-genesys-spark-components",
|
|
100
99
|
"stylelint-config-html": "^1.1.0",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-e1e997ee.js';
|
|
2
|
+
export { s as setNonce } from './index-e1e997ee.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-0f993ce5.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.
|
|
6
|
+
Stencil Client Patch Browser v4.19.2 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
var patchBrowser = () => {
|
|
9
|
+
const importMeta = import.meta.url;
|
|
10
|
+
const opts = {};
|
|
11
|
+
if (importMeta !== "") {
|
|
12
|
+
opts.resourcesUrl = new URL(".", importMeta).href;
|
|
13
|
+
}
|
|
14
|
+
return promiseResolve(opts);
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-e1e997ee.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-14738b2a.js';
|
|
3
3
|
import { l as logError } from './log-error-fbbfc3ab.js';
|
|
4
4
|
|
|
5
5
|
const guxChartColumnCss = "gux-visualization-beta{height:fit-content;color:#2e394c;}gux-visualization-beta .mark-rect.layer_0_marks path{fill:url(#diagonalHatch0)}gux-visualization-beta .mark-rect.layer_1_marks path{fill:#1da8b3}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-e1e997ee.js';
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-14738b2a.js';
|
|
3
3
|
import { l as logError } from './log-error-fbbfc3ab.js';
|
|
4
4
|
|
|
5
5
|
const guxChartDonutCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-e1e997ee.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-14738b2a.js';
|
|
3
3
|
import { l as logError } from './log-error-fbbfc3ab.js';
|
|
4
4
|
|
|
5
5
|
const guxChartLineCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-e1e997ee.js';
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-14738b2a.js';
|
|
3
3
|
import { l as logError } from './log-error-fbbfc3ab.js';
|
|
4
4
|
|
|
5
5
|
const guxChartPieCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-e1e997ee.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-14738b2a.js';
|
|
3
3
|
import { l as logError } from './log-error-fbbfc3ab.js';
|
|
4
4
|
|
|
5
5
|
const guxChartScatterPlotCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent, h as h$1, g as getElement } from './index-
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, t as trackComponent } from './color-palette-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h as h$1, g as getElement } from './index-e1e997ee.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, t as trackComponent } from './color-palette-14738b2a.js';
|
|
3
3
|
|
|
4
4
|
/*!
|
|
5
5
|
* https://github.com/Starcounter-Jack/JSON-Patch
|
|
@@ -67235,7 +67235,7 @@ const GuxVisualization = class {
|
|
|
67235
67235
|
}
|
|
67236
67236
|
};
|
|
67237
67237
|
this.defaultEmbedOptions = {
|
|
67238
|
-
actions:
|
|
67238
|
+
actions: false,
|
|
67239
67239
|
renderer: 'svg'
|
|
67240
67240
|
};
|
|
67241
67241
|
this.visualizationSpec = undefined;
|
|
@@ -67273,7 +67273,7 @@ const GuxVisualization = class {
|
|
|
67273
67273
|
this.chartComponentReady.emit();
|
|
67274
67274
|
}
|
|
67275
67275
|
render() {
|
|
67276
|
-
return (h$1("div", { key: '
|
|
67276
|
+
return (h$1("div", { key: '1b36e64f47f08b140a436ff6806e33dcfcabad08', class: "gux-chart-container", ref: el => (this.chartContainer = el) }));
|
|
67277
67277
|
}
|
|
67278
67278
|
get root() { return getElement(this); }
|
|
67279
67279
|
};
|