genesys-spark-chart-components 4.237.0 → 4.239.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.
- package/dist/cjs/{color-palette-Dvz0Ni4b.js → color-palette-S2HVs6Hp.js} +1 -1
- package/dist/cjs/genesys-chart-webcomponents.cjs.js +2 -2
- 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 +45 -15
- package/dist/cjs/{index-kxjkn7bw.js → index-7q22DyA6.js} +36 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/{color-palette-B2eqZcSg.js → color-palette-B6k9i1pj.js} +1 -1
- package/dist/esm/genesys-chart-webcomponents.js +3 -3
- 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 +45 -15
- package/dist/esm/{index-ClAytgPt.js → index-YmhHejqr.js} +36 -9
- 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-fb98ed82.entry.js → p-2775336c.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-f77ac06f.entry.js → p-36bc161a.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-967cc592.entry.js → p-44b4a44b.entry.js} +3 -3
- package/dist/genesys-chart-webcomponents/{p-a30c244b.entry.js → p-75a6eed5.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-9b50bf8c.entry.js → p-9f657303.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-B2eqZcSg.js → p-B6k9i1pj.js} +1 -1
- package/dist/genesys-chart-webcomponents/p-YmhHejqr.js +2 -0
- package/dist/genesys-chart-webcomponents/{p-59ed3754.entry.js → p-d0f0b07e.entry.js} +1 -1
- package/package.json +5 -5
- package/dist/genesys-chart-webcomponents/p-ClAytgPt.js +0 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-7q22DyA6.js');
|
|
4
4
|
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
5
5
|
|
|
6
6
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.43.
|
|
8
|
+
Stencil Client Patch Browser v4.43.4 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
var patchBrowser = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
3
|
+
var index = require('./index-7q22DyA6.js');
|
|
4
|
+
var colorPalette = require('./color-palette-S2HVs6Hp.js');
|
|
5
5
|
var logError = require('./log-error-BMPVm36Q.js');
|
|
6
6
|
|
|
7
7
|
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{}gux-visualization-beta .mark-rect.layer_1_marks path{fill:#1da8b3}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
3
|
+
var index = require('./index-7q22DyA6.js');
|
|
4
|
+
var colorPalette = require('./color-palette-S2HVs6Hp.js');
|
|
5
5
|
var logError = require('./log-error-BMPVm36Q.js');
|
|
6
6
|
|
|
7
7
|
const guxChartDonutCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
3
|
+
var index = require('./index-7q22DyA6.js');
|
|
4
|
+
var colorPalette = require('./color-palette-S2HVs6Hp.js');
|
|
5
5
|
var logError = require('./log-error-BMPVm36Q.js');
|
|
6
6
|
|
|
7
7
|
const guxChartLineCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
3
|
+
var index = require('./index-7q22DyA6.js');
|
|
4
|
+
var colorPalette = require('./color-palette-S2HVs6Hp.js');
|
|
5
5
|
var logError = require('./log-error-BMPVm36Q.js');
|
|
6
6
|
|
|
7
7
|
const guxChartPieCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
3
|
+
var index = require('./index-7q22DyA6.js');
|
|
4
|
+
var colorPalette = require('./color-palette-S2HVs6Hp.js');
|
|
5
5
|
var logError = require('./log-error-BMPVm36Q.js');
|
|
6
6
|
|
|
7
7
|
const guxChartScatterPlotCss = () => `gux-visualization-beta{height:fit-content;color:#2e394c}`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index$2 = require('./index-
|
|
4
|
-
var colorPalette = require('./color-palette-
|
|
3
|
+
var index$2 = require('./index-7q22DyA6.js');
|
|
4
|
+
var colorPalette = require('./color-palette-S2HVs6Hp.js');
|
|
5
5
|
|
|
6
6
|
// Note: This regex matches even invalid JSON strings, but since we’re
|
|
7
7
|
// working on the output of `JSON.stringify` we know that only valid strings
|
|
@@ -43475,7 +43475,7 @@ var expression$1 = {
|
|
|
43475
43475
|
}
|
|
43476
43476
|
};
|
|
43477
43477
|
|
|
43478
|
-
var version$1$1 = "6.4.
|
|
43478
|
+
var version$1$1 = "6.4.3";
|
|
43479
43479
|
var pkg$1 = {
|
|
43480
43480
|
version: version$1$1};
|
|
43481
43481
|
|
|
@@ -48168,8 +48168,25 @@ function pathGroupingFields(mark, encoding) {
|
|
|
48168
48168
|
case URL$1:
|
|
48169
48169
|
case X2:
|
|
48170
48170
|
case Y2:
|
|
48171
|
+
return details;
|
|
48171
48172
|
case XOFFSET:
|
|
48172
|
-
case YOFFSET:
|
|
48173
|
+
case YOFFSET: {
|
|
48174
|
+
if (mark === 'line' || mark === 'area' || mark === 'trail') {
|
|
48175
|
+
const offsetDef = encoding[channel];
|
|
48176
|
+
if (isFieldDef(offsetDef)) {
|
|
48177
|
+
const mainChannel = channel === XOFFSET ? X : Y;
|
|
48178
|
+
const mainDef = encoding[mainChannel];
|
|
48179
|
+
if (isFieldDef(mainDef) && !mainDef.aggregate && !offsetDef.aggregate) {
|
|
48180
|
+
const mainField = vgField(mainDef, {});
|
|
48181
|
+
const offsetField = vgField(offsetDef, {});
|
|
48182
|
+
if (mainField && offsetField && mainField !== offsetField) {
|
|
48183
|
+
details.push(mainField);
|
|
48184
|
+
}
|
|
48185
|
+
}
|
|
48186
|
+
}
|
|
48187
|
+
}
|
|
48188
|
+
return details;
|
|
48189
|
+
}
|
|
48173
48190
|
case THETA:
|
|
48174
48191
|
case THETA2:
|
|
48175
48192
|
case RADIUS:
|
|
@@ -52776,6 +52793,7 @@ function tooltipRefForEncoding(encoding, stack, config, { reactiveGeom } = {}) {
|
|
|
52776
52793
|
function addLineBreaksToTooltip(channelDef, config, expr = 'datum') {
|
|
52777
52794
|
if (isFieldDef(channelDef) &&
|
|
52778
52795
|
isDiscrete$1(channelDef.type) &&
|
|
52796
|
+
!channelDef.timeUnit &&
|
|
52779
52797
|
!getFormatMixins(channelDef).format &&
|
|
52780
52798
|
!getFormatMixins(channelDef).formatType) {
|
|
52781
52799
|
const fieldString = `${expr}["${channelDef.field}"]`;
|
|
@@ -53320,7 +53338,6 @@ function defaultSizeRef(sizeChannel, scaleName, scale, config, bandSize, hasFiel
|
|
|
53320
53338
|
}
|
|
53321
53339
|
else if (bandSize.band !== 1) {
|
|
53322
53340
|
warn(cannotUseRelativeBandSizeWithNonBandScale(scaleType));
|
|
53323
|
-
bandSize = undefined;
|
|
53324
53341
|
}
|
|
53325
53342
|
}
|
|
53326
53343
|
else {
|
|
@@ -53415,6 +53432,27 @@ function positionAndSize(fieldDef, channel, model) {
|
|
|
53415
53432
|
const vgChannel = vgAlignedPositionChannel(channel, markDef, config, defaultBandAlign);
|
|
53416
53433
|
const center = vgChannel === 'xc' || vgChannel === 'yc';
|
|
53417
53434
|
const { offset, offsetType } = positionOffset({ channel, markDef, encoding, model, bandPosition: center ? 0.5 : 0 });
|
|
53435
|
+
// When a centered rect-based mark (e.g., a tick with an explicit size) is
|
|
53436
|
+
// placed on a timeUnit-binned field, honor `timeUnitBandPosition` so this
|
|
53437
|
+
// path stays aligned with the `rectBinPosition` path used by bars without an
|
|
53438
|
+
// explicit size. Skip when:
|
|
53439
|
+
// - the mark is not centered (bars spanning a full band need `bandPosition = 0`), or
|
|
53440
|
+
// - an encoding-driven offset is in play (e.g., `xOffset`), which already
|
|
53441
|
+
// positions the mark at the band's leading edge.
|
|
53442
|
+
// See https://github.com/vega/vega-lite/issues/9836.
|
|
53443
|
+
const timeUnitBandPosition = center && offsetType !== 'encoding' && isFieldDef(fieldDef) && fieldDef.timeUnit && !encoding[channel2]
|
|
53444
|
+
? getBandPosition({ fieldDef, markDef, config })
|
|
53445
|
+
: undefined;
|
|
53446
|
+
const bandPosition = timeUnitBandPosition ??
|
|
53447
|
+
(center
|
|
53448
|
+
? offsetType === 'encoding'
|
|
53449
|
+
? 0
|
|
53450
|
+
: 0.5
|
|
53451
|
+
: isSignalRef(bandSize)
|
|
53452
|
+
? { signal: `(1-${bandSize})/2` }
|
|
53453
|
+
: isRelativeBandSize(bandSize)
|
|
53454
|
+
? (1 - bandSize.band) / 2
|
|
53455
|
+
: 0);
|
|
53418
53456
|
const posRef = midPointRefWithPositionInvalidTest({
|
|
53419
53457
|
channel,
|
|
53420
53458
|
channelDef: fieldDef,
|
|
@@ -53425,15 +53463,7 @@ function positionAndSize(fieldDef, channel, model) {
|
|
|
53425
53463
|
stack,
|
|
53426
53464
|
offset,
|
|
53427
53465
|
defaultRef: pointPositionDefaultRef({ model, defaultPos: 'mid', channel, scaleName, scale }),
|
|
53428
|
-
bandPosition
|
|
53429
|
-
? offsetType === 'encoding'
|
|
53430
|
-
? 0
|
|
53431
|
-
: 0.5
|
|
53432
|
-
: isSignalRef(bandSize)
|
|
53433
|
-
? { signal: `(1-${bandSize})/2` }
|
|
53434
|
-
: isRelativeBandSize(bandSize)
|
|
53435
|
-
? (1 - bandSize.band) / 2
|
|
53436
|
-
: 0,
|
|
53466
|
+
bandPosition,
|
|
53437
53467
|
});
|
|
53438
53468
|
if (vgSizeChannel) {
|
|
53439
53469
|
return { [vgChannel]: posRef, ...sizeMixins };
|
|
@@ -60474,7 +60504,7 @@ class GeoJSONNode extends DataFlowNode {
|
|
|
60474
60504
|
if (model.channelHasField(SHAPE)) {
|
|
60475
60505
|
const fieldDef = model.typedFieldDef(SHAPE);
|
|
60476
60506
|
if (fieldDef.type === GEOJSON) {
|
|
60477
|
-
parent = new GeoJSONNode(parent, null, fieldDef.field, model.getName(`geojson_${geoJsonCounter
|
|
60507
|
+
parent = new GeoJSONNode(parent, null, fieldDef.field, model.getName(`geojson_${geoJsonCounter}`));
|
|
60478
60508
|
}
|
|
60479
60509
|
}
|
|
60480
60510
|
return parent;
|
|
@@ -22,7 +22,7 @@ const NAMESPACE = 'genesys-chart-webcomponents';
|
|
|
22
22
|
const BUILD = /* genesys-chart-webcomponents */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: true, updatable: true};
|
|
23
23
|
|
|
24
24
|
/*
|
|
25
|
-
Stencil Client Platform v4.43.
|
|
25
|
+
Stencil Client Platform v4.43.4 | MIT Licensed | https://stenciljs.com
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
28
|
|
|
@@ -470,6 +470,31 @@ var newVNode = (tag, text) => {
|
|
|
470
470
|
var Host = {};
|
|
471
471
|
var isHost = (node) => node && node.$tag$ === Host;
|
|
472
472
|
|
|
473
|
+
// src/runtime/normalize-watchers.ts
|
|
474
|
+
var normalizeWatchers = (raw) => {
|
|
475
|
+
if (!raw) return void 0;
|
|
476
|
+
const keys = Object.keys(raw);
|
|
477
|
+
if (keys.length === 0) return void 0;
|
|
478
|
+
let hasLegacy = false;
|
|
479
|
+
for (const propName of keys) {
|
|
480
|
+
if (hasLegacy) break;
|
|
481
|
+
for (const h2 of raw[propName]) {
|
|
482
|
+
if (typeof h2 === "string") {
|
|
483
|
+
hasLegacy = true;
|
|
484
|
+
break;
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
if (!hasLegacy) return raw;
|
|
489
|
+
const out = {};
|
|
490
|
+
for (const propName of keys) {
|
|
491
|
+
out[propName] = raw[propName].map(
|
|
492
|
+
(h2) => typeof h2 === "string" ? { [h2]: 0 } : h2
|
|
493
|
+
);
|
|
494
|
+
}
|
|
495
|
+
return out;
|
|
496
|
+
};
|
|
497
|
+
|
|
473
498
|
// src/runtime/parse-property-value.ts
|
|
474
499
|
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
475
500
|
if (propValue != null && !isComplexType(propValue)) {
|
|
@@ -1101,7 +1126,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1101
1126
|
if (cmpMeta.$members$ || BUILD.propChangeCallback) {
|
|
1102
1127
|
{
|
|
1103
1128
|
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
1104
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1129
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
1105
1130
|
}
|
|
1106
1131
|
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
1107
1132
|
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
@@ -1216,11 +1241,13 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1216
1241
|
return;
|
|
1217
1242
|
}
|
|
1218
1243
|
const propFlags = members.find(([m]) => m === propName);
|
|
1219
|
-
|
|
1244
|
+
const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
|
|
1245
|
+
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
1246
|
+
if (isBooleanTarget) {
|
|
1220
1247
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
1221
1248
|
}
|
|
1222
1249
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1223
|
-
if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1250
|
+
if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1224
1251
|
this[propName] = newValue;
|
|
1225
1252
|
}
|
|
1226
1253
|
});
|
|
@@ -1261,7 +1288,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1261
1288
|
}
|
|
1262
1289
|
if (!Cstr.isProxied) {
|
|
1263
1290
|
{
|
|
1264
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1291
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
1265
1292
|
cmpMeta.$serializers$ = Cstr.serializers;
|
|
1266
1293
|
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
1267
1294
|
}
|
|
@@ -1414,7 +1441,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1414
1441
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
|
1415
1442
|
lazyBundles.map((lazyBundle) => {
|
|
1416
1443
|
lazyBundle[1].map((compactMeta) => {
|
|
1417
|
-
var _a2, _b
|
|
1444
|
+
var _a2, _b;
|
|
1418
1445
|
const cmpMeta = {
|
|
1419
1446
|
$flags$: compactMeta[0],
|
|
1420
1447
|
$tagName$: compactMeta[1],
|
|
@@ -1425,9 +1452,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1425
1452
|
cmpMeta.$members$ = compactMeta[2];
|
|
1426
1453
|
}
|
|
1427
1454
|
{
|
|
1428
|
-
cmpMeta.$watchers$ = (
|
|
1429
|
-
cmpMeta.$serializers$ = (
|
|
1430
|
-
cmpMeta.$deserializers$ = (
|
|
1455
|
+
cmpMeta.$watchers$ = normalizeWatchers(compactMeta[4]);
|
|
1456
|
+
cmpMeta.$serializers$ = (_a2 = compactMeta[5]) != null ? _a2 : {};
|
|
1457
|
+
cmpMeta.$deserializers$ = (_b = compactMeta[6]) != null ? _b : {};
|
|
1431
1458
|
}
|
|
1432
1459
|
const tagName = transformTag(cmpMeta.$tagName$);
|
|
1433
1460
|
const HostElement = class extends HTMLElement {
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-YmhHejqr.js';
|
|
2
|
+
export { s as setNonce } from './index-YmhHejqr.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
/*
|
|
6
|
-
Stencil Client Patch Browser v4.43.
|
|
6
|
+
Stencil Client Patch Browser v4.43.4 | MIT Licensed | https://stenciljs.com
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
var patchBrowser = () => {
|
|
@@ -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-YmhHejqr.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-B6k9i1pj.js';
|
|
3
3
|
import { l as logError } from './log-error-nsqlWzyl.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{}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-YmhHejqr.js';
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-B6k9i1pj.js';
|
|
3
3
|
import { l as logError } from './log-error-nsqlWzyl.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-YmhHejqr.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-B6k9i1pj.js';
|
|
3
3
|
import { l as logError } from './log-error-nsqlWzyl.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-YmhHejqr.js';
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-B6k9i1pj.js';
|
|
3
3
|
import { l as logError } from './log-error-nsqlWzyl.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-YmhHejqr.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-B6k9i1pj.js';
|
|
3
3
|
import { l as logError } from './log-error-nsqlWzyl.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 { a as DEFAULT_DOMAIN_COLOR, D as DEFAULT_LABEL_COLOR, t as trackComponent } from './color-palette-
|
|
1
|
+
import { r as registerInstance, c as createEvent, h as h$1, g as getElement } from './index-YmhHejqr.js';
|
|
2
|
+
import { a as DEFAULT_DOMAIN_COLOR, D as DEFAULT_LABEL_COLOR, t as trackComponent } from './color-palette-B6k9i1pj.js';
|
|
3
3
|
|
|
4
4
|
// Note: This regex matches even invalid JSON strings, but since we’re
|
|
5
5
|
// working on the output of `JSON.stringify` we know that only valid strings
|
|
@@ -43473,7 +43473,7 @@ var expression$1 = {
|
|
|
43473
43473
|
}
|
|
43474
43474
|
};
|
|
43475
43475
|
|
|
43476
|
-
var version$1$1 = "6.4.
|
|
43476
|
+
var version$1$1 = "6.4.3";
|
|
43477
43477
|
var pkg$1 = {
|
|
43478
43478
|
version: version$1$1};
|
|
43479
43479
|
|
|
@@ -48166,8 +48166,25 @@ function pathGroupingFields(mark, encoding) {
|
|
|
48166
48166
|
case URL$1:
|
|
48167
48167
|
case X2:
|
|
48168
48168
|
case Y2:
|
|
48169
|
+
return details;
|
|
48169
48170
|
case XOFFSET:
|
|
48170
|
-
case YOFFSET:
|
|
48171
|
+
case YOFFSET: {
|
|
48172
|
+
if (mark === 'line' || mark === 'area' || mark === 'trail') {
|
|
48173
|
+
const offsetDef = encoding[channel];
|
|
48174
|
+
if (isFieldDef(offsetDef)) {
|
|
48175
|
+
const mainChannel = channel === XOFFSET ? X : Y;
|
|
48176
|
+
const mainDef = encoding[mainChannel];
|
|
48177
|
+
if (isFieldDef(mainDef) && !mainDef.aggregate && !offsetDef.aggregate) {
|
|
48178
|
+
const mainField = vgField(mainDef, {});
|
|
48179
|
+
const offsetField = vgField(offsetDef, {});
|
|
48180
|
+
if (mainField && offsetField && mainField !== offsetField) {
|
|
48181
|
+
details.push(mainField);
|
|
48182
|
+
}
|
|
48183
|
+
}
|
|
48184
|
+
}
|
|
48185
|
+
}
|
|
48186
|
+
return details;
|
|
48187
|
+
}
|
|
48171
48188
|
case THETA:
|
|
48172
48189
|
case THETA2:
|
|
48173
48190
|
case RADIUS:
|
|
@@ -52774,6 +52791,7 @@ function tooltipRefForEncoding(encoding, stack, config, { reactiveGeom } = {}) {
|
|
|
52774
52791
|
function addLineBreaksToTooltip(channelDef, config, expr = 'datum') {
|
|
52775
52792
|
if (isFieldDef(channelDef) &&
|
|
52776
52793
|
isDiscrete$1(channelDef.type) &&
|
|
52794
|
+
!channelDef.timeUnit &&
|
|
52777
52795
|
!getFormatMixins(channelDef).format &&
|
|
52778
52796
|
!getFormatMixins(channelDef).formatType) {
|
|
52779
52797
|
const fieldString = `${expr}["${channelDef.field}"]`;
|
|
@@ -53318,7 +53336,6 @@ function defaultSizeRef(sizeChannel, scaleName, scale, config, bandSize, hasFiel
|
|
|
53318
53336
|
}
|
|
53319
53337
|
else if (bandSize.band !== 1) {
|
|
53320
53338
|
warn(cannotUseRelativeBandSizeWithNonBandScale(scaleType));
|
|
53321
|
-
bandSize = undefined;
|
|
53322
53339
|
}
|
|
53323
53340
|
}
|
|
53324
53341
|
else {
|
|
@@ -53413,6 +53430,27 @@ function positionAndSize(fieldDef, channel, model) {
|
|
|
53413
53430
|
const vgChannel = vgAlignedPositionChannel(channel, markDef, config, defaultBandAlign);
|
|
53414
53431
|
const center = vgChannel === 'xc' || vgChannel === 'yc';
|
|
53415
53432
|
const { offset, offsetType } = positionOffset({ channel, markDef, encoding, model, bandPosition: center ? 0.5 : 0 });
|
|
53433
|
+
// When a centered rect-based mark (e.g., a tick with an explicit size) is
|
|
53434
|
+
// placed on a timeUnit-binned field, honor `timeUnitBandPosition` so this
|
|
53435
|
+
// path stays aligned with the `rectBinPosition` path used by bars without an
|
|
53436
|
+
// explicit size. Skip when:
|
|
53437
|
+
// - the mark is not centered (bars spanning a full band need `bandPosition = 0`), or
|
|
53438
|
+
// - an encoding-driven offset is in play (e.g., `xOffset`), which already
|
|
53439
|
+
// positions the mark at the band's leading edge.
|
|
53440
|
+
// See https://github.com/vega/vega-lite/issues/9836.
|
|
53441
|
+
const timeUnitBandPosition = center && offsetType !== 'encoding' && isFieldDef(fieldDef) && fieldDef.timeUnit && !encoding[channel2]
|
|
53442
|
+
? getBandPosition({ fieldDef, markDef, config })
|
|
53443
|
+
: undefined;
|
|
53444
|
+
const bandPosition = timeUnitBandPosition ??
|
|
53445
|
+
(center
|
|
53446
|
+
? offsetType === 'encoding'
|
|
53447
|
+
? 0
|
|
53448
|
+
: 0.5
|
|
53449
|
+
: isSignalRef(bandSize)
|
|
53450
|
+
? { signal: `(1-${bandSize})/2` }
|
|
53451
|
+
: isRelativeBandSize(bandSize)
|
|
53452
|
+
? (1 - bandSize.band) / 2
|
|
53453
|
+
: 0);
|
|
53416
53454
|
const posRef = midPointRefWithPositionInvalidTest({
|
|
53417
53455
|
channel,
|
|
53418
53456
|
channelDef: fieldDef,
|
|
@@ -53423,15 +53461,7 @@ function positionAndSize(fieldDef, channel, model) {
|
|
|
53423
53461
|
stack,
|
|
53424
53462
|
offset,
|
|
53425
53463
|
defaultRef: pointPositionDefaultRef({ model, defaultPos: 'mid', channel, scaleName, scale }),
|
|
53426
|
-
bandPosition
|
|
53427
|
-
? offsetType === 'encoding'
|
|
53428
|
-
? 0
|
|
53429
|
-
: 0.5
|
|
53430
|
-
: isSignalRef(bandSize)
|
|
53431
|
-
? { signal: `(1-${bandSize})/2` }
|
|
53432
|
-
: isRelativeBandSize(bandSize)
|
|
53433
|
-
? (1 - bandSize.band) / 2
|
|
53434
|
-
: 0,
|
|
53464
|
+
bandPosition,
|
|
53435
53465
|
});
|
|
53436
53466
|
if (vgSizeChannel) {
|
|
53437
53467
|
return { [vgChannel]: posRef, ...sizeMixins };
|
|
@@ -60472,7 +60502,7 @@ class GeoJSONNode extends DataFlowNode {
|
|
|
60472
60502
|
if (model.channelHasField(SHAPE)) {
|
|
60473
60503
|
const fieldDef = model.typedFieldDef(SHAPE);
|
|
60474
60504
|
if (fieldDef.type === GEOJSON) {
|
|
60475
|
-
parent = new GeoJSONNode(parent, null, fieldDef.field, model.getName(`geojson_${geoJsonCounter
|
|
60505
|
+
parent = new GeoJSONNode(parent, null, fieldDef.field, model.getName(`geojson_${geoJsonCounter}`));
|
|
60476
60506
|
}
|
|
60477
60507
|
}
|
|
60478
60508
|
return parent;
|
|
@@ -2,7 +2,7 @@ const NAMESPACE = 'genesys-chart-webcomponents';
|
|
|
2
2
|
const BUILD = /* genesys-chart-webcomponents */ { hotModuleReplacement: false, hydratedSelectorName: "hydrated", lazyLoad: true, prop: true, propChangeCallback: true, updatable: true};
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Platform v4.43.
|
|
5
|
+
Stencil Client Platform v4.43.4 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
|
|
@@ -450,6 +450,31 @@ var newVNode = (tag, text) => {
|
|
|
450
450
|
var Host = {};
|
|
451
451
|
var isHost = (node) => node && node.$tag$ === Host;
|
|
452
452
|
|
|
453
|
+
// src/runtime/normalize-watchers.ts
|
|
454
|
+
var normalizeWatchers = (raw) => {
|
|
455
|
+
if (!raw) return void 0;
|
|
456
|
+
const keys = Object.keys(raw);
|
|
457
|
+
if (keys.length === 0) return void 0;
|
|
458
|
+
let hasLegacy = false;
|
|
459
|
+
for (const propName of keys) {
|
|
460
|
+
if (hasLegacy) break;
|
|
461
|
+
for (const h2 of raw[propName]) {
|
|
462
|
+
if (typeof h2 === "string") {
|
|
463
|
+
hasLegacy = true;
|
|
464
|
+
break;
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
if (!hasLegacy) return raw;
|
|
469
|
+
const out = {};
|
|
470
|
+
for (const propName of keys) {
|
|
471
|
+
out[propName] = raw[propName].map(
|
|
472
|
+
(h2) => typeof h2 === "string" ? { [h2]: 0 } : h2
|
|
473
|
+
);
|
|
474
|
+
}
|
|
475
|
+
return out;
|
|
476
|
+
};
|
|
477
|
+
|
|
453
478
|
// src/runtime/parse-property-value.ts
|
|
454
479
|
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
455
480
|
if (propValue != null && !isComplexType(propValue)) {
|
|
@@ -1081,7 +1106,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1081
1106
|
if (cmpMeta.$members$ || BUILD.propChangeCallback) {
|
|
1082
1107
|
{
|
|
1083
1108
|
if (Cstr.watchers && !cmpMeta.$watchers$) {
|
|
1084
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1109
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
1085
1110
|
}
|
|
1086
1111
|
if (Cstr.deserializers && !cmpMeta.$deserializers$) {
|
|
1087
1112
|
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
@@ -1196,11 +1221,13 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1196
1221
|
return;
|
|
1197
1222
|
}
|
|
1198
1223
|
const propFlags = members.find(([m]) => m === propName);
|
|
1199
|
-
|
|
1224
|
+
const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
|
|
1225
|
+
const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
|
|
1226
|
+
if (isBooleanTarget) {
|
|
1200
1227
|
newValue = newValue === null || newValue === "false" ? false : true;
|
|
1201
1228
|
}
|
|
1202
1229
|
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1203
|
-
if (newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1230
|
+
if (!isSpuriousBooleanRemoval && newValue != this[propName] && (!propDesc.get || !!propDesc.set)) {
|
|
1204
1231
|
this[propName] = newValue;
|
|
1205
1232
|
}
|
|
1206
1233
|
});
|
|
@@ -1241,7 +1268,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1241
1268
|
}
|
|
1242
1269
|
if (!Cstr.isProxied) {
|
|
1243
1270
|
{
|
|
1244
|
-
cmpMeta.$watchers$ = Cstr.watchers;
|
|
1271
|
+
cmpMeta.$watchers$ = normalizeWatchers(Cstr.watchers);
|
|
1245
1272
|
cmpMeta.$serializers$ = Cstr.serializers;
|
|
1246
1273
|
cmpMeta.$deserializers$ = Cstr.deserializers;
|
|
1247
1274
|
}
|
|
@@ -1394,7 +1421,7 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1394
1421
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || "./", win.document.baseURI).href;
|
|
1395
1422
|
lazyBundles.map((lazyBundle) => {
|
|
1396
1423
|
lazyBundle[1].map((compactMeta) => {
|
|
1397
|
-
var _a2, _b
|
|
1424
|
+
var _a2, _b;
|
|
1398
1425
|
const cmpMeta = {
|
|
1399
1426
|
$flags$: compactMeta[0],
|
|
1400
1427
|
$tagName$: compactMeta[1],
|
|
@@ -1405,9 +1432,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1405
1432
|
cmpMeta.$members$ = compactMeta[2];
|
|
1406
1433
|
}
|
|
1407
1434
|
{
|
|
1408
|
-
cmpMeta.$watchers$ = (
|
|
1409
|
-
cmpMeta.$serializers$ = (
|
|
1410
|
-
cmpMeta.$deserializers$ = (
|
|
1435
|
+
cmpMeta.$watchers$ = normalizeWatchers(compactMeta[4]);
|
|
1436
|
+
cmpMeta.$serializers$ = (_a2 = compactMeta[5]) != null ? _a2 : {};
|
|
1437
|
+
cmpMeta.$deserializers$ = (_b = compactMeta[6]) != null ? _b : {};
|
|
1411
1438
|
}
|
|
1412
1439
|
const tagName = transformTag(cmpMeta.$tagName$);
|
|
1413
1440
|
const HostElement = class extends HTMLElement {
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { b as bootstrapLazy } from './index-YmhHejqr.js';
|
|
2
|
+
export { s as setNonce } from './index-YmhHejqr.js';
|
|
3
3
|
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
4
4
|
|
|
5
5
|
const defineCustomElements = async (win, options) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as l}from"./p-
|
|
1
|
+
import{p as e,b as l}from"./p-YmhHejqr.js";export{s as setNonce}from"./p-YmhHejqr.js";import{g as a}from"./p-DQuL1Twl.js";(()=>{const l=import.meta.url,a={};return""!==l&&(a.resourcesUrl=new URL(".",l).href),e(a)})().then((async e=>(await a(),l([["p-44b4a44b",[[1,"gux-visualization-beta",{visualizationSpec:[16],embedOptions:[16],screenreaderDescription:[1,"screenreader-description"]}]]],["p-d0f0b07e",[[1,"gux-chart-column-beta",{labelColor:[1,"label-color"],domainColor:[1,"domain-color"],chartData:[16],xTickLabelSlant:[4,"x-tick-label-slant"],includeLegend:[4,"include-legend"],xFieldName:[1,"x-field-name"],yFieldName:[1,"y-field-name"],xAxisTitle:[1,"x-axis-title"],yAxisTitle:[1,"y-axis-title"],legendTitle:[1,"legend-title"],legendPosition:[1,"legend-position"],chartLayers:[16],embedOptions:[16]},null,{chartData:[{parseData:0}]}]]],["p-2775336c",[[1,"gux-chart-donut-beta",{chartData:[16],includeLegend:[4,"include-legend"],legendPosition:[1,"legend-position"],legendTitle:[1,"legend-title"],colorFieldName:[1,"color-field-name"],outerRadius:[2,"outer-radius"],innerRadius:[2,"inner-radius"],labelRadius:[2,"label-radius"],labelField:[1,"label-field"],gauge:[4],centerText:[1,"center-text"],centerSubText:[1,"center-sub-text"],showTooltip:[4,"show-tooltip"],tooltipOptions:[16],legendX:[2,"legend-x"],legendY:[2,"legend-y"],legendFontSize:[2,"legend-font-size"],legendSymbolSize:[2,"legend-symbol-size"],embedOptions:[16]},null,{chartData:[{parseData:0}]}]]],["p-75a6eed5",[[1,"gux-chart-line-beta",{labelColor:[1,"label-color"],domainColor:[1,"domain-color"],chartData:[16],xTickLabelSlant:[4,"x-tick-label-slant"],includeLegend:[4,"include-legend"],legendPosition:[1,"legend-position"],includeDataPointMarkers:[4,"include-data-point-markers"],xFieldName:[1,"x-field-name"],xAxisTitle:[1,"x-axis-title"],yFieldName:[1,"y-field-name"],yAxisTitle:[1,"y-axis-title"],legendTitle:[1,"legend-title"],colorFieldName:[1,"color-field-name"],strokeDash:[4,"stroke-dash"],interpolation:[1],embedOptions:[16]},null,{chartData:[{parseData:0}]}]]],["p-9f657303",[[1,"gux-chart-pie-beta",{chartData:[16],includeLegend:[4,"include-legend"],legendPosition:[1,"legend-position"],legendTitle:[1,"legend-title"],colorFieldName:[1,"color-field-name"],outerRadius:[2,"outer-radius"],labelRadius:[2,"label-radius"],labelField:[1,"label-field"],embedOptions:[16]},null,{chartData:[{parseData:0}]}]]],["p-36bc161a",[[1,"gux-chart-scatter-plot-beta",{labelColor:[1,"label-color"],domainColor:[1,"domain-color"],chartData:[16],xTickLabelSlant:[4,"x-tick-label-slant"],includeLegend:[4,"include-legend"],legendPosition:[1,"legend-position"],xFieldName:[1,"x-field-name"],xAxisTitle:[1,"x-axis-title"],yFieldName:[1,"y-field-name"],yAxisTitle:[1,"y-axis-title"],legendTitle:[1,"legend-title"],colorFieldName:[1,"color-field-name"],useShape:[1,"use-shape"],embedOptions:[16]},null,{chartData:[{parseData:0}]}]]]],e))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,g as i}from"./p-
|
|
1
|
+
import{r as t,h as e,g as i}from"./p-YmhHejqr.js";import{V as a,t as s}from"./p-B6k9i1pj.js";import{l as r}from"./p-nsqlWzyl.js";const n="category",h="value",l=class{constructor(e){t(this,e),this.baseChartSpec={$schema:"https://vega.github.io/schema/vega-lite/v6.json",config:{legend:{symbolType:"circle"}},encoding:{theta:{field:"value",type:"quantitative",stack:!0},color:{field:n,type:"nominal",scale:{range:a},legend:null}},layer:[{mark:{type:"arc",outerRadius:80}},{mark:{type:"text",radius:90},encoding:{text:{field:h,type:"quantitative"}}}],view:{stroke:null}},this.legendPosition="right",this.showTooltip=!0}parseData(){this.outerRadius||this.innerRadius||r(this.root,"requires at least one of outer-radius or inner-radius");let t={};this.chartData&&(t={data:this.chartData}),this.legendPosition&&(this.baseChartSpec.config.legend.orient=this.legendPosition),this.includeLegend?(this.baseChartSpec.encoding.color.legend={},(this.legendX||this.legendY)&&(this.baseChartSpec.config.legend.orient="none",this.legendX&&(this.baseChartSpec.encoding.color.legend.legendX=this.legendX),this.legendY&&(this.baseChartSpec.encoding.color.legend.legendY=this.legendY)),this.legendFontSize&&(this.baseChartSpec.encoding.color.legend.labelFontSize=this.legendFontSize),this.legendSymbolSize&&(this.baseChartSpec.encoding.color.legend.symbolSize=this.legendSymbolSize)):this.baseChartSpec.encoding.color.legend=null,this.baseChartSpec.encoding.color.field=this.colorFieldName||n;this.baseChartSpec.encoding.color.title=this.legendTitle||"";let e=this.outerRadius,i=this.innerRadius;e||(e=i+32),i||(i=e-32);let a=1;this.gauge?(this.baseChartSpec.layer=[{data:{values:[{progress:"default",value:100}]},mark:{type:"arc",innerRadius:i},encoding:{theta:{field:"value",type:"quantitative"},color:{value:"#E4E9F0"},tooltip:null}},{mark:{type:"arc",outerRadius:e,innerRadius:i,padAngle:.01}},{mark:{type:"arc",innerRadius:i,padAngle:.01}}],a=2):this.baseChartSpec.layer=[{mark:{type:"arc",outerRadius:e,innerRadius:i}},{mark:{type:"arc",innerRadius:i,stroke:"#fff"}}];const s=this.centerText;s&&this.baseChartSpec.layer.push({data:{values:[{centerText:s,value:0}]},mark:{align:"center",type:"text",baseline:"middle"},encoding:{color:{value:"#4C5054"},text:{field:"centerText"},size:{value:{expr:"height * 0.09"}},tooltip:null}});const l=this.centerSubText;l&&this.baseChartSpec.layer.push({data:{values:[{centerSubText:l,value:0}]},mark:{align:"center",type:"text",baseline:"middle",y:{expr:"height/2 + 20"}},encoding:{color:{value:"#6A6D70"},text:{field:"centerSubText"},size:{value:{expr:"height * 0.06"}},tooltip:null}});const o=this.labelRadius,u=this.labelField||h;o&&this.baseChartSpec.layer.push({mark:{type:"text",radius:o},encoding:{text:{field:u,type:"quantitative"}}}),this.showTooltip&&(this.tooltipOptions?(this.baseChartSpec.layer[a].mark.tooltip={content:"data"},this.tooltipSpec={actions:!1,tooltip:this.tooltipOptions}):this.baseChartSpec.encoding.tooltip={field:u,aggregate:"count",type:"quantitative"});const c=Object.assign(this.baseChartSpec,t);this.visualizationSpec=c}componentWillLoad(){s(this.root),this.parseData()}render(){return e("gux-visualization-beta",{key:"1841c32ed4312b87b8bdeca52a007a6905effce9",visualizationSpec:this.visualizationSpec,embedOptions:this.tooltipSpec})}get root(){return i(this)}static get watchers(){return{chartData:[{parseData:0}]}}};l.style="gux-visualization-beta{height:fit-content;color:#2e394c}";export{l as gux_chart_donut_beta}
|