genesys-spark-chart-components 4.140.0 → 4.141.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-9910bf5b.js → color-palette-7df53fed.js} +5 -5
- package/dist/cjs/gux-chart-column-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-line-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +1 -1
- package/dist/cjs/gux-visualization-beta.cjs.entry.js +129 -66
- package/dist/esm/{color-palette-8a725d18.js → color-palette-27e803d3.js} +5 -5
- package/dist/esm/gux-chart-column-beta.entry.js +1 -1
- package/dist/esm/gux-chart-donut-beta.entry.js +1 -1
- package/dist/esm/gux-chart-line-beta.entry.js +1 -1
- package/dist/esm/gux-chart-pie-beta.entry.js +1 -1
- package/dist/esm/gux-chart-scatter-plot-beta.entry.js +1 -1
- package/dist/esm/gux-visualization-beta.entry.js +129 -66
- package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
- package/dist/genesys-chart-webcomponents/{p-cbc13e16.js → p-06eaaf70.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-5603ae32.entry.js → p-07c83f5a.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-cc69b6a7.entry.js → p-09e72f83.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-2054a182.entry.js → p-21c39087.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-ef6604f0.entry.js → p-39846a2a.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-3baf1411.entry.js → p-759843fb.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-12381ef7.entry.js → p-d7821e5e.entry.js} +3 -3
- package/dist/stencil-wrapper.js +1 -1
- package/dist/types/stencil-wrapper.d.ts +1 -1
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const name = "genesys-spark-chart-components";
|
|
4
|
-
const version = "4.
|
|
4
|
+
const version = "4.141.1";
|
|
5
5
|
const description = "Common chart webcomponents";
|
|
6
6
|
const license = "MIT";
|
|
7
7
|
const main = "dist/stencil-wrapper.js";
|
|
@@ -68,14 +68,14 @@ const devDependencies = {
|
|
|
68
68
|
"@types/puppeteer": "^5.4.7",
|
|
69
69
|
"axe-core": "^4.10.3",
|
|
70
70
|
"axe-live": "^1.0.1",
|
|
71
|
-
eslint: "^9.
|
|
71
|
+
eslint: "^9.25.1",
|
|
72
72
|
"eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
|
|
73
73
|
"file-loader": "^6.2.0",
|
|
74
74
|
"genesys-spark-tokens": "file:../genesys-spark-tokens",
|
|
75
|
-
glob: "^11.0.
|
|
75
|
+
glob: "^11.0.2",
|
|
76
76
|
globals: "^16.0.0",
|
|
77
77
|
handlebars: "^4.7.8",
|
|
78
|
-
inquirer: "^12.
|
|
78
|
+
inquirer: "^12.6.0",
|
|
79
79
|
jest: "^29.7.0",
|
|
80
80
|
"jest-cli": "^29.7.0",
|
|
81
81
|
"jest-config": "^29.7.0",
|
|
@@ -95,7 +95,7 @@ const devDependencies = {
|
|
|
95
95
|
"rollup-plugin-copy": "^3.5.0",
|
|
96
96
|
"semver-sort": "^1.0.0",
|
|
97
97
|
smob: "^1.5.0",
|
|
98
|
-
stylelint: "^16.
|
|
98
|
+
stylelint: "^16.19.0",
|
|
99
99
|
"stylelint-config-genesys-spark-components": "file:../../shared-configs/stylelint-config-genesys-spark-components",
|
|
100
100
|
"stylelint-config-html": "^1.1.0",
|
|
101
101
|
"stylelint-config-recess-order": "^6.0.0",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-7df53fed.js');
|
|
7
7
|
const logError = require('./log-error-8f448752.js');
|
|
8
8
|
|
|
9
9
|
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}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-7df53fed.js');
|
|
7
7
|
const logError = require('./log-error-8f448752.js');
|
|
8
8
|
|
|
9
9
|
const guxChartDonutCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-7df53fed.js');
|
|
7
7
|
const logError = require('./log-error-8f448752.js');
|
|
8
8
|
|
|
9
9
|
const guxChartLineCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-7df53fed.js');
|
|
7
7
|
const logError = require('./log-error-8f448752.js');
|
|
8
8
|
|
|
9
9
|
const guxChartPieCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-7df53fed.js');
|
|
7
7
|
const logError = require('./log-error-8f448752.js');
|
|
8
8
|
|
|
9
9
|
const guxChartScatterPlotCss = "gux-visualization-beta{height:fit-content;color:#2e394c}";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index$2 = require('./index-e390a39a.js');
|
|
6
|
-
const colorPalette = require('./color-palette-
|
|
6
|
+
const colorPalette = require('./color-palette-7df53fed.js');
|
|
7
7
|
|
|
8
8
|
// Note: This regex matches even invalid JSON strings, but since we’re
|
|
9
9
|
// working on the output of `JSON.stringify` we know that only valid strings
|
|
@@ -35652,7 +35652,7 @@ const xf = /*#__PURE__*/Object.freeze({
|
|
|
35652
35652
|
});
|
|
35653
35653
|
|
|
35654
35654
|
const RawCode = 'RawCode';
|
|
35655
|
-
const Literal = 'Literal';
|
|
35655
|
+
const Literal$1 = 'Literal';
|
|
35656
35656
|
const Property = 'Property';
|
|
35657
35657
|
const Identifier = 'Identifier';
|
|
35658
35658
|
const ArrayExpression = 'ArrayExpression';
|
|
@@ -35693,7 +35693,7 @@ function children(node) {
|
|
|
35693
35693
|
case UnaryExpression:
|
|
35694
35694
|
return [node.argument];
|
|
35695
35695
|
case Identifier:
|
|
35696
|
-
case Literal:
|
|
35696
|
+
case Literal$1:
|
|
35697
35697
|
case RawCode:
|
|
35698
35698
|
default:
|
|
35699
35699
|
return [];
|
|
@@ -35735,26 +35735,26 @@ function children(node) {
|
|
|
35735
35735
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
35736
35736
|
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
35737
35737
|
*/
|
|
35738
|
-
var TokenName, source, index, length, lookahead;
|
|
35739
|
-
var TokenBooleanLiteral = 1,
|
|
35740
|
-
TokenEOF = 2,
|
|
35741
|
-
TokenIdentifier = 3,
|
|
35742
|
-
TokenKeyword = 4,
|
|
35743
|
-
TokenNullLiteral = 5,
|
|
35744
|
-
TokenNumericLiteral = 6,
|
|
35745
|
-
TokenPunctuator = 7,
|
|
35746
|
-
TokenStringLiteral = 8,
|
|
35747
|
-
TokenRegularExpression = 9;
|
|
35748
|
-
TokenName = {};
|
|
35749
|
-
TokenName[TokenBooleanLiteral] = 'Boolean';
|
|
35750
|
-
TokenName[TokenEOF] = '<end>';
|
|
35751
|
-
TokenName[TokenIdentifier] = 'Identifier';
|
|
35752
|
-
TokenName[TokenKeyword] = 'Keyword';
|
|
35753
|
-
TokenName[TokenNullLiteral] = 'Null';
|
|
35754
|
-
TokenName[TokenNumericLiteral] = 'Numeric';
|
|
35755
|
-
TokenName[TokenPunctuator] = 'Punctuator';
|
|
35756
|
-
TokenName[TokenStringLiteral] = 'String';
|
|
35757
|
-
TokenName[TokenRegularExpression] = 'RegularExpression';
|
|
35738
|
+
var TokenName$1, source, index, length, lookahead;
|
|
35739
|
+
var TokenBooleanLiteral$1 = 1,
|
|
35740
|
+
TokenEOF$1 = 2,
|
|
35741
|
+
TokenIdentifier$1 = 3,
|
|
35742
|
+
TokenKeyword$1 = 4,
|
|
35743
|
+
TokenNullLiteral$1 = 5,
|
|
35744
|
+
TokenNumericLiteral$1 = 6,
|
|
35745
|
+
TokenPunctuator$1 = 7,
|
|
35746
|
+
TokenStringLiteral$1 = 8,
|
|
35747
|
+
TokenRegularExpression$1 = 9;
|
|
35748
|
+
TokenName$1 = {};
|
|
35749
|
+
TokenName$1[TokenBooleanLiteral$1] = 'Boolean';
|
|
35750
|
+
TokenName$1[TokenEOF$1] = '<end>';
|
|
35751
|
+
TokenName$1[TokenIdentifier$1] = 'Identifier';
|
|
35752
|
+
TokenName$1[TokenKeyword$1] = 'Keyword';
|
|
35753
|
+
TokenName$1[TokenNullLiteral$1] = 'Null';
|
|
35754
|
+
TokenName$1[TokenNumericLiteral$1] = 'Numeric';
|
|
35755
|
+
TokenName$1[TokenPunctuator$1] = 'Punctuator';
|
|
35756
|
+
TokenName$1[TokenStringLiteral$1] = 'String';
|
|
35757
|
+
TokenName$1[TokenRegularExpression$1] = 'RegularExpression';
|
|
35758
35758
|
var SyntaxArrayExpression = 'ArrayExpression',
|
|
35759
35759
|
SyntaxBinaryExpression = 'BinaryExpression',
|
|
35760
35760
|
SyntaxCallExpression = 'CallExpression',
|
|
@@ -36015,16 +36015,16 @@ function scanIdentifier() {
|
|
|
36015
36015
|
// There is no keyword or literal with only one character.
|
|
36016
36016
|
// Thus, it must be an identifier.
|
|
36017
36017
|
if (id.length === 1) {
|
|
36018
|
-
type = TokenIdentifier;
|
|
36018
|
+
type = TokenIdentifier$1;
|
|
36019
36019
|
} else if (keywords$2.hasOwnProperty(id)) {
|
|
36020
36020
|
// eslint-disable-line no-prototype-builtins
|
|
36021
|
-
type = TokenKeyword;
|
|
36021
|
+
type = TokenKeyword$1;
|
|
36022
36022
|
} else if (id === 'null') {
|
|
36023
|
-
type = TokenNullLiteral;
|
|
36023
|
+
type = TokenNullLiteral$1;
|
|
36024
36024
|
} else if (id === 'true' || id === 'false') {
|
|
36025
|
-
type = TokenBooleanLiteral;
|
|
36025
|
+
type = TokenBooleanLiteral$1;
|
|
36026
36026
|
} else {
|
|
36027
|
-
type = TokenIdentifier;
|
|
36027
|
+
type = TokenIdentifier$1;
|
|
36028
36028
|
}
|
|
36029
36029
|
return {
|
|
36030
36030
|
type: type,
|
|
@@ -36061,7 +36061,7 @@ function scanPunctuator() {
|
|
|
36061
36061
|
// ~
|
|
36062
36062
|
++index;
|
|
36063
36063
|
return {
|
|
36064
|
-
type: TokenPunctuator,
|
|
36064
|
+
type: TokenPunctuator$1,
|
|
36065
36065
|
value: String.fromCharCode(code),
|
|
36066
36066
|
start: start,
|
|
36067
36067
|
end: index
|
|
@@ -36085,7 +36085,7 @@ function scanPunctuator() {
|
|
|
36085
36085
|
// *
|
|
36086
36086
|
index += 2;
|
|
36087
36087
|
return {
|
|
36088
|
-
type: TokenPunctuator,
|
|
36088
|
+
type: TokenPunctuator$1,
|
|
36089
36089
|
value: String.fromCharCode(code) + String.fromCharCode(code2),
|
|
36090
36090
|
start: start,
|
|
36091
36091
|
end: index
|
|
@@ -36100,7 +36100,7 @@ function scanPunctuator() {
|
|
|
36100
36100
|
++index;
|
|
36101
36101
|
}
|
|
36102
36102
|
return {
|
|
36103
|
-
type: TokenPunctuator,
|
|
36103
|
+
type: TokenPunctuator$1,
|
|
36104
36104
|
value: source.slice(start, index),
|
|
36105
36105
|
start: start,
|
|
36106
36106
|
end: index
|
|
@@ -36115,7 +36115,7 @@ function scanPunctuator() {
|
|
|
36115
36115
|
if (ch4 === '>>>=') {
|
|
36116
36116
|
index += 4;
|
|
36117
36117
|
return {
|
|
36118
|
-
type: TokenPunctuator,
|
|
36118
|
+
type: TokenPunctuator$1,
|
|
36119
36119
|
value: ch4,
|
|
36120
36120
|
start: start,
|
|
36121
36121
|
end: index
|
|
@@ -36128,7 +36128,7 @@ function scanPunctuator() {
|
|
|
36128
36128
|
if (ch3 === '>>>' || ch3 === '<<=' || ch3 === '>>=') {
|
|
36129
36129
|
index += 3;
|
|
36130
36130
|
return {
|
|
36131
|
-
type: TokenPunctuator,
|
|
36131
|
+
type: TokenPunctuator$1,
|
|
36132
36132
|
value: ch3,
|
|
36133
36133
|
start: start,
|
|
36134
36134
|
end: index
|
|
@@ -36140,7 +36140,7 @@ function scanPunctuator() {
|
|
|
36140
36140
|
if (ch1 === ch2[1] && '+-<>&|'.includes(ch1) || ch2 === '=>') {
|
|
36141
36141
|
index += 2;
|
|
36142
36142
|
return {
|
|
36143
|
-
type: TokenPunctuator,
|
|
36143
|
+
type: TokenPunctuator$1,
|
|
36144
36144
|
value: ch2,
|
|
36145
36145
|
start: start,
|
|
36146
36146
|
end: index
|
|
@@ -36155,7 +36155,7 @@ function scanPunctuator() {
|
|
|
36155
36155
|
if ('<>=!+-*%&|^/'.includes(ch1)) {
|
|
36156
36156
|
++index;
|
|
36157
36157
|
return {
|
|
36158
|
-
type: TokenPunctuator,
|
|
36158
|
+
type: TokenPunctuator$1,
|
|
36159
36159
|
value: ch1,
|
|
36160
36160
|
start: start,
|
|
36161
36161
|
end: index
|
|
@@ -36181,7 +36181,7 @@ function scanHexLiteral(start) {
|
|
|
36181
36181
|
throwError({}, MessageUnexpectedToken, ILLEGAL$1);
|
|
36182
36182
|
}
|
|
36183
36183
|
return {
|
|
36184
|
-
type: TokenNumericLiteral,
|
|
36184
|
+
type: TokenNumericLiteral$1,
|
|
36185
36185
|
value: parseInt('0x' + number, 16),
|
|
36186
36186
|
start: start,
|
|
36187
36187
|
end: index
|
|
@@ -36199,7 +36199,7 @@ function scanOctalLiteral(start) {
|
|
|
36199
36199
|
throwError({}, MessageUnexpectedToken, ILLEGAL$1);
|
|
36200
36200
|
}
|
|
36201
36201
|
return {
|
|
36202
|
-
type: TokenNumericLiteral,
|
|
36202
|
+
type: TokenNumericLiteral$1,
|
|
36203
36203
|
value: parseInt(number, 8),
|
|
36204
36204
|
octal: true,
|
|
36205
36205
|
start: start,
|
|
@@ -36262,7 +36262,7 @@ function scanNumericLiteral() {
|
|
|
36262
36262
|
throwError({}, MessageUnexpectedToken, ILLEGAL$1);
|
|
36263
36263
|
}
|
|
36264
36264
|
return {
|
|
36265
|
-
type: TokenNumericLiteral,
|
|
36265
|
+
type: TokenNumericLiteral$1,
|
|
36266
36266
|
value: parseFloat(number),
|
|
36267
36267
|
start: start,
|
|
36268
36268
|
end: index
|
|
@@ -36357,7 +36357,7 @@ function scanStringLiteral() {
|
|
|
36357
36357
|
throwError({}, MessageUnexpectedToken, ILLEGAL$1);
|
|
36358
36358
|
}
|
|
36359
36359
|
return {
|
|
36360
|
-
type: TokenStringLiteral,
|
|
36360
|
+
type: TokenStringLiteral$1,
|
|
36361
36361
|
value: str,
|
|
36362
36362
|
octal: octal,
|
|
36363
36363
|
start: start,
|
|
@@ -36480,13 +36480,13 @@ function scanRegExp() {
|
|
|
36480
36480
|
};
|
|
36481
36481
|
}
|
|
36482
36482
|
function isIdentifierName(token) {
|
|
36483
|
-
return token.type === TokenIdentifier || token.type === TokenKeyword || token.type === TokenBooleanLiteral || token.type === TokenNullLiteral;
|
|
36483
|
+
return token.type === TokenIdentifier$1 || token.type === TokenKeyword$1 || token.type === TokenBooleanLiteral$1 || token.type === TokenNullLiteral$1;
|
|
36484
36484
|
}
|
|
36485
36485
|
function advance() {
|
|
36486
36486
|
skipComment();
|
|
36487
36487
|
if (index >= length) {
|
|
36488
36488
|
return {
|
|
36489
|
-
type: TokenEOF,
|
|
36489
|
+
type: TokenEOF$1,
|
|
36490
36490
|
start: index,
|
|
36491
36491
|
end: index
|
|
36492
36492
|
};
|
|
@@ -36619,19 +36619,19 @@ function throwError(token, messageFormat) {
|
|
|
36619
36619
|
// Throw an exception because of the token.
|
|
36620
36620
|
|
|
36621
36621
|
function throwUnexpected(token) {
|
|
36622
|
-
if (token.type === TokenEOF) {
|
|
36622
|
+
if (token.type === TokenEOF$1) {
|
|
36623
36623
|
throwError(token, MessageUnexpectedEOS);
|
|
36624
36624
|
}
|
|
36625
|
-
if (token.type === TokenNumericLiteral) {
|
|
36625
|
+
if (token.type === TokenNumericLiteral$1) {
|
|
36626
36626
|
throwError(token, MessageUnexpectedNumber);
|
|
36627
36627
|
}
|
|
36628
|
-
if (token.type === TokenStringLiteral) {
|
|
36628
|
+
if (token.type === TokenStringLiteral$1) {
|
|
36629
36629
|
throwError(token, MessageUnexpectedString);
|
|
36630
36630
|
}
|
|
36631
|
-
if (token.type === TokenIdentifier) {
|
|
36631
|
+
if (token.type === TokenIdentifier$1) {
|
|
36632
36632
|
throwError(token, MessageUnexpectedIdentifier);
|
|
36633
36633
|
}
|
|
36634
|
-
if (token.type === TokenKeyword) {
|
|
36634
|
+
if (token.type === TokenKeyword$1) {
|
|
36635
36635
|
throwError(token, MessageUnexpectedReserved);
|
|
36636
36636
|
}
|
|
36637
36637
|
|
|
@@ -36644,7 +36644,7 @@ function throwUnexpected(token) {
|
|
|
36644
36644
|
|
|
36645
36645
|
function expect(value) {
|
|
36646
36646
|
const token = lex();
|
|
36647
|
-
if (token.type !== TokenPunctuator || token.value !== value) {
|
|
36647
|
+
if (token.type !== TokenPunctuator$1 || token.value !== value) {
|
|
36648
36648
|
throwUnexpected(token);
|
|
36649
36649
|
}
|
|
36650
36650
|
}
|
|
@@ -36652,13 +36652,13 @@ function expect(value) {
|
|
|
36652
36652
|
// Return true if the next token matches the specified punctuator.
|
|
36653
36653
|
|
|
36654
36654
|
function match(value) {
|
|
36655
|
-
return lookahead.type === TokenPunctuator && lookahead.value === value;
|
|
36655
|
+
return lookahead.type === TokenPunctuator$1 && lookahead.value === value;
|
|
36656
36656
|
}
|
|
36657
36657
|
|
|
36658
36658
|
// Return true if the next token matches the specified keyword
|
|
36659
36659
|
|
|
36660
36660
|
function matchKeyword(keyword) {
|
|
36661
|
-
return lookahead.type === TokenKeyword && lookahead.value === keyword;
|
|
36661
|
+
return lookahead.type === TokenKeyword$1 && lookahead.value === keyword;
|
|
36662
36662
|
}
|
|
36663
36663
|
|
|
36664
36664
|
// 11.1.4 Array Initialiser
|
|
@@ -36691,7 +36691,7 @@ function parseObjectPropertyKey() {
|
|
|
36691
36691
|
// Note: This function is called only from parseObjectProperty(), where
|
|
36692
36692
|
// EOF and Punctuator tokens are already filtered out.
|
|
36693
36693
|
|
|
36694
|
-
if (token.type === TokenStringLiteral || token.type === TokenNumericLiteral) {
|
|
36694
|
+
if (token.type === TokenStringLiteral$1 || token.type === TokenNumericLiteral$1) {
|
|
36695
36695
|
if (token.octal) {
|
|
36696
36696
|
throwError(token, MessageStrictOctalLiteral);
|
|
36697
36697
|
}
|
|
@@ -36703,13 +36703,13 @@ function parseObjectProperty() {
|
|
|
36703
36703
|
var token, key, id, value;
|
|
36704
36704
|
index = lookahead.start;
|
|
36705
36705
|
token = lookahead;
|
|
36706
|
-
if (token.type === TokenIdentifier) {
|
|
36706
|
+
if (token.type === TokenIdentifier$1) {
|
|
36707
36707
|
id = parseObjectPropertyKey();
|
|
36708
36708
|
expect(':');
|
|
36709
36709
|
value = parseConditionalExpression();
|
|
36710
36710
|
return finishProperty('init', id, value);
|
|
36711
36711
|
}
|
|
36712
|
-
if (token.type === TokenEOF || token.type === TokenPunctuator) {
|
|
36712
|
+
if (token.type === TokenEOF$1 || token.type === TokenPunctuator$1) {
|
|
36713
36713
|
throwUnexpected(token);
|
|
36714
36714
|
} else {
|
|
36715
36715
|
key = parseObjectPropertyKey();
|
|
@@ -36776,20 +36776,20 @@ function parsePrimaryExpression() {
|
|
|
36776
36776
|
}
|
|
36777
36777
|
type = lookahead.type;
|
|
36778
36778
|
index = lookahead.start;
|
|
36779
|
-
if (type === TokenIdentifier || legalKeywords[lookahead.value]) {
|
|
36779
|
+
if (type === TokenIdentifier$1 || legalKeywords[lookahead.value]) {
|
|
36780
36780
|
expr = finishIdentifier(lex().value);
|
|
36781
|
-
} else if (type === TokenStringLiteral || type === TokenNumericLiteral) {
|
|
36781
|
+
} else if (type === TokenStringLiteral$1 || type === TokenNumericLiteral$1) {
|
|
36782
36782
|
if (lookahead.octal) {
|
|
36783
36783
|
throwError(lookahead, MessageStrictOctalLiteral);
|
|
36784
36784
|
}
|
|
36785
36785
|
expr = finishLiteral(lex());
|
|
36786
|
-
} else if (type === TokenKeyword) {
|
|
36786
|
+
} else if (type === TokenKeyword$1) {
|
|
36787
36787
|
throw new Error(DISABLED);
|
|
36788
|
-
} else if (type === TokenBooleanLiteral) {
|
|
36788
|
+
} else if (type === TokenBooleanLiteral$1) {
|
|
36789
36789
|
token = lex();
|
|
36790
36790
|
token.value = token.value === 'true';
|
|
36791
36791
|
expr = finishLiteral(token);
|
|
36792
|
-
} else if (type === TokenNullLiteral) {
|
|
36792
|
+
} else if (type === TokenNullLiteral$1) {
|
|
36793
36793
|
token = lex();
|
|
36794
36794
|
token.value = null;
|
|
36795
36795
|
expr = finishLiteral(token);
|
|
@@ -36861,7 +36861,7 @@ function parseLeftHandSideExpressionAllowCall() {
|
|
|
36861
36861
|
|
|
36862
36862
|
function parsePostfixExpression() {
|
|
36863
36863
|
const expr = parseLeftHandSideExpressionAllowCall();
|
|
36864
|
-
if (lookahead.type === TokenPunctuator) {
|
|
36864
|
+
if (lookahead.type === TokenPunctuator$1) {
|
|
36865
36865
|
if (match('++') || match('--')) {
|
|
36866
36866
|
throw new Error(DISABLED);
|
|
36867
36867
|
}
|
|
@@ -36873,7 +36873,7 @@ function parsePostfixExpression() {
|
|
|
36873
36873
|
|
|
36874
36874
|
function parseUnaryExpression() {
|
|
36875
36875
|
var token, expr;
|
|
36876
|
-
if (lookahead.type !== TokenPunctuator && lookahead.type !== TokenKeyword) {
|
|
36876
|
+
if (lookahead.type !== TokenPunctuator$1 && lookahead.type !== TokenKeyword$1) {
|
|
36877
36877
|
expr = parsePostfixExpression();
|
|
36878
36878
|
} else if (match('++') || match('--')) {
|
|
36879
36879
|
throw new Error(DISABLED);
|
|
@@ -36890,7 +36890,7 @@ function parseUnaryExpression() {
|
|
|
36890
36890
|
}
|
|
36891
36891
|
function binaryPrecedence(token) {
|
|
36892
36892
|
let prec = 0;
|
|
36893
|
-
if (token.type !== TokenPunctuator && token.type !== TokenKeyword) {
|
|
36893
|
+
if (token.type !== TokenPunctuator$1 && token.type !== TokenKeyword$1) {
|
|
36894
36894
|
return 0;
|
|
36895
36895
|
}
|
|
36896
36896
|
switch (token.value) {
|
|
@@ -37026,7 +37026,7 @@ function parser$1 (code) {
|
|
|
37026
37026
|
lookahead = null;
|
|
37027
37027
|
peek();
|
|
37028
37028
|
const expr = parseExpression$1();
|
|
37029
|
-
if (lookahead.type !== TokenEOF) {
|
|
37029
|
+
if (lookahead.type !== TokenEOF$1) {
|
|
37030
37030
|
throw new Error('Unexpect token after expression.');
|
|
37031
37031
|
}
|
|
37032
37032
|
return expr;
|
|
@@ -37224,6 +37224,64 @@ function codegen (opt) {
|
|
|
37224
37224
|
return codegen;
|
|
37225
37225
|
}
|
|
37226
37226
|
|
|
37227
|
+
const Literal = 'Literal';
|
|
37228
|
+
|
|
37229
|
+
/*
|
|
37230
|
+
The following expression parser is based on Esprima (http://esprima.org/).
|
|
37231
|
+
Original header comment and license for Esprima is included here:
|
|
37232
|
+
|
|
37233
|
+
Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>
|
|
37234
|
+
Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>
|
|
37235
|
+
Copyright (C) 2013 Mathias Bynens <mathias@qiwi.be>
|
|
37236
|
+
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
|
|
37237
|
+
Copyright (C) 2012 Mathias Bynens <mathias@qiwi.be>
|
|
37238
|
+
Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
|
|
37239
|
+
Copyright (C) 2012 Kris Kowal <kris.kowal@cixar.com>
|
|
37240
|
+
Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
|
|
37241
|
+
Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>
|
|
37242
|
+
Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>
|
|
37243
|
+
|
|
37244
|
+
Redistribution and use in source and binary forms, with or without
|
|
37245
|
+
modification, are permitted provided that the following conditions are met:
|
|
37246
|
+
|
|
37247
|
+
* Redistributions of source code must retain the above copyright
|
|
37248
|
+
notice, this list of conditions and the following disclaimer.
|
|
37249
|
+
* Redistributions in binary form must reproduce the above copyright
|
|
37250
|
+
notice, this list of conditions and the following disclaimer in the
|
|
37251
|
+
documentation and/or other materials provided with the distribution.
|
|
37252
|
+
|
|
37253
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
37254
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
37255
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
37256
|
+
ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
|
37257
|
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
37258
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
37259
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
37260
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
37261
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
|
37262
|
+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
37263
|
+
*/
|
|
37264
|
+
var TokenName;
|
|
37265
|
+
var TokenBooleanLiteral = 1,
|
|
37266
|
+
TokenEOF = 2,
|
|
37267
|
+
TokenIdentifier = 3,
|
|
37268
|
+
TokenKeyword = 4,
|
|
37269
|
+
TokenNullLiteral = 5,
|
|
37270
|
+
TokenNumericLiteral = 6,
|
|
37271
|
+
TokenPunctuator = 7,
|
|
37272
|
+
TokenStringLiteral = 8,
|
|
37273
|
+
TokenRegularExpression = 9;
|
|
37274
|
+
TokenName = {};
|
|
37275
|
+
TokenName[TokenBooleanLiteral] = 'Boolean';
|
|
37276
|
+
TokenName[TokenEOF] = '<end>';
|
|
37277
|
+
TokenName[TokenIdentifier] = 'Identifier';
|
|
37278
|
+
TokenName[TokenKeyword] = 'Keyword';
|
|
37279
|
+
TokenName[TokenNullLiteral] = 'Null';
|
|
37280
|
+
TokenName[TokenNumericLiteral] = 'Numeric';
|
|
37281
|
+
TokenName[TokenPunctuator] = 'Punctuator';
|
|
37282
|
+
TokenName[TokenStringLiteral] = 'String';
|
|
37283
|
+
TokenName[TokenRegularExpression] = 'RegularExpression';
|
|
37284
|
+
|
|
37227
37285
|
// Registers vega-util field accessors to protect against XSS attacks
|
|
37228
37286
|
const SELECTION_GETTER = Symbol('vega_selection_getter');
|
|
37229
37287
|
function getter(f) {
|
|
@@ -37619,7 +37677,7 @@ const ScalePrefix = '%';
|
|
|
37619
37677
|
const SignalPrefix = '$';
|
|
37620
37678
|
|
|
37621
37679
|
function dataVisitor(name, args, scope, params) {
|
|
37622
|
-
if (args[0].type !== Literal) {
|
|
37680
|
+
if (args[0].type !== Literal$1) {
|
|
37623
37681
|
error$1('First argument to data functions must be a string literal.');
|
|
37624
37682
|
}
|
|
37625
37683
|
const data = args[0].value,
|
|
@@ -37633,8 +37691,8 @@ function dataVisitor(name, args, scope, params) {
|
|
|
37633
37691
|
}
|
|
37634
37692
|
}
|
|
37635
37693
|
function indataVisitor(name, args, scope, params) {
|
|
37636
|
-
if (args[0].type !== Literal) error$1('First argument to indata must be a string literal.');
|
|
37637
|
-
if (args[1].type !== Literal) error$1('Second argument to indata must be a string literal.');
|
|
37694
|
+
if (args[0].type !== Literal$1) error$1('First argument to indata must be a string literal.');
|
|
37695
|
+
if (args[1].type !== Literal$1) error$1('Second argument to indata must be a string literal.');
|
|
37638
37696
|
const data = args[0].value,
|
|
37639
37697
|
field = args[1].value,
|
|
37640
37698
|
indexName = IndexPrefix + field;
|
|
@@ -37643,7 +37701,7 @@ function indataVisitor(name, args, scope, params) {
|
|
|
37643
37701
|
}
|
|
37644
37702
|
}
|
|
37645
37703
|
function scaleVisitor(name, args, scope, params) {
|
|
37646
|
-
if (args[0].type === Literal) {
|
|
37704
|
+
if (args[0].type === Literal$1) {
|
|
37647
37705
|
// add scale dependency
|
|
37648
37706
|
addScaleDependency(scope, params, args[0].value);
|
|
37649
37707
|
} else {
|
|
@@ -37684,7 +37742,7 @@ function internalScaleFunctions(codegen, fnctx, visitors) {
|
|
|
37684
37742
|
visitors._scale = scaleVisitor;
|
|
37685
37743
|
|
|
37686
37744
|
// resolve scale reference directly to the signal hash argument
|
|
37687
|
-
const ref = arg => '_[' + (arg.type === Literal ? $(ScalePrefix + arg.value) : $(ScalePrefix) + '+' + codegen(arg)) + ']';
|
|
37745
|
+
const ref = arg => '_[' + (arg.type === Literal$1 ? $(ScalePrefix + arg.value) : $(ScalePrefix) + '+' + codegen(arg)) + ']';
|
|
37688
37746
|
|
|
37689
37747
|
// define and return internal scale function code generators
|
|
37690
37748
|
// these internal functions are called by mark encoders
|
|
@@ -44576,6 +44634,11 @@ var Functions = {
|
|
|
44576
44634
|
return apply('replace', arguments, String);
|
|
44577
44635
|
},
|
|
44578
44636
|
trim: x => String(x).trim(),
|
|
44637
|
+
// Base64 encode/decode
|
|
44638
|
+
// Convert binary string to base64-encoded ascii
|
|
44639
|
+
btoa: x => btoa(x),
|
|
44640
|
+
// Convert base64-encoded ascii to binary string
|
|
44641
|
+
atob: x => atob(x),
|
|
44579
44642
|
// regexp functions
|
|
44580
44643
|
regexp: RegExp,
|
|
44581
44644
|
test: (r, t) => RegExp(r).test(t)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const name = "genesys-spark-chart-components";
|
|
2
|
-
const version = "4.
|
|
2
|
+
const version = "4.141.1";
|
|
3
3
|
const description = "Common chart webcomponents";
|
|
4
4
|
const license = "MIT";
|
|
5
5
|
const main = "dist/stencil-wrapper.js";
|
|
@@ -66,14 +66,14 @@ const devDependencies = {
|
|
|
66
66
|
"@types/puppeteer": "^5.4.7",
|
|
67
67
|
"axe-core": "^4.10.3",
|
|
68
68
|
"axe-live": "^1.0.1",
|
|
69
|
-
eslint: "^9.
|
|
69
|
+
eslint: "^9.25.1",
|
|
70
70
|
"eslint-config-genesys-spark-components": "file:../../shared-configs/eslint-config-genesys-spark-components",
|
|
71
71
|
"file-loader": "^6.2.0",
|
|
72
72
|
"genesys-spark-tokens": "file:../genesys-spark-tokens",
|
|
73
|
-
glob: "^11.0.
|
|
73
|
+
glob: "^11.0.2",
|
|
74
74
|
globals: "^16.0.0",
|
|
75
75
|
handlebars: "^4.7.8",
|
|
76
|
-
inquirer: "^12.
|
|
76
|
+
inquirer: "^12.6.0",
|
|
77
77
|
jest: "^29.7.0",
|
|
78
78
|
"jest-cli": "^29.7.0",
|
|
79
79
|
"jest-config": "^29.7.0",
|
|
@@ -93,7 +93,7 @@ const devDependencies = {
|
|
|
93
93
|
"rollup-plugin-copy": "^3.5.0",
|
|
94
94
|
"semver-sort": "^1.0.0",
|
|
95
95
|
smob: "^1.5.0",
|
|
96
|
-
stylelint: "^16.
|
|
96
|
+
stylelint: "^16.19.0",
|
|
97
97
|
"stylelint-config-genesys-spark-components": "file:../../shared-configs/stylelint-config-genesys-spark-components",
|
|
98
98
|
"stylelint-config-html": "^1.1.0",
|
|
99
99
|
"stylelint-config-recess-order": "^6.0.0",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-eabc38b4.js';
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-27e803d3.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
1
|
import { r as registerInstance, h, g as getElement } from './index-eabc38b4.js';
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-27e803d3.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
1
|
import { r as registerInstance, h, g as getElement } from './index-eabc38b4.js';
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-27e803d3.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
1
|
import { r as registerInstance, h, g as getElement } from './index-eabc38b4.js';
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-27e803d3.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
1
|
import { r as registerInstance, h, g as getElement } from './index-eabc38b4.js';
|
|
2
|
-
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-27e803d3.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}";
|