genesys-spark-chart-components 4.156.5 → 4.156.6
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/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/{color-palette-BTV2hPZK.js → color-palette-_NUSml2P.js} +1 -1
- package/dist/cjs/genesys-chart-webcomponents.cjs.js +4 -3
- 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 +2 -2
- package/dist/cjs/{index-D32B1d05.js → index-C7LpM20I.js} +109 -107
- package/dist/cjs/loader.cjs.js +3 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/{color-palette-LoQPFv__.js → color-palette-qWbChwx-.js} +1 -1
- package/dist/esm/genesys-chart-webcomponents.js +4 -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 +2 -2
- package/dist/esm/{index-7ILyl2XS.js → index-b_qwr_lO.js} +110 -107
- package/dist/esm/loader.js +3 -2
- package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
- package/dist/genesys-chart-webcomponents/{p-7260e64c.entry.js → p-3bf15cea.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-2e13a56f.entry.js → p-3fa74fe9.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-a32721c3.entry.js → p-6108ce67.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-46e76ff1.entry.js → p-8469c31f.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/p-93ac80f0.entry.js +1 -0
- package/dist/genesys-chart-webcomponents/p-DQuL1Twl.js +1 -0
- package/dist/genesys-chart-webcomponents/p-b_qwr_lO.js +2 -0
- package/dist/genesys-chart-webcomponents/{p-de6135f1.entry.js → p-db79ff72.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-LoQPFv__.js → p-qWbChwx-.js} +1 -1
- package/dist/types/stencil-public-runtime.d.ts +12 -5
- package/package.json +3 -3
- package/dist/genesys-chart-webcomponents/p-7ILyl2XS.js +0 -2
- package/dist/genesys-chart-webcomponents/p-e49a5eef.entry.js +0 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-C7LpM20I.js');
|
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
4
5
|
|
|
5
6
|
var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
|
|
6
7
|
/*
|
|
7
|
-
Stencil Client Patch Browser v4.35.
|
|
8
|
+
Stencil Client Patch Browser v4.35.3 | MIT Licensed | https://stenciljs.com
|
|
8
9
|
*/
|
|
9
10
|
|
|
10
11
|
var patchBrowser = () => {
|
|
@@ -17,7 +18,7 @@ var patchBrowser = () => {
|
|
|
17
18
|
};
|
|
18
19
|
|
|
19
20
|
patchBrowser().then(async (options) => {
|
|
20
|
-
await
|
|
21
|
+
await appGlobals.globalScripts();
|
|
21
22
|
return index.bootstrapLazy([["gux-visualization-beta.cjs",[[1,"gux-visualization-beta",{"visualizationSpec":[16,"visualization-spec"],"embedOptions":[16,"embed-options"]}]]],["gux-chart-column-beta.cjs",[[1,"gux-chart-column-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16,"chart-data"],"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,"chart-layers"],"embedOptions":[16,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-donut-beta.cjs",[[1,"gux-chart-donut-beta",{"chartData":[16,"chart-data"],"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,"tooltip-options"],"legendX":[2,"legend-x"],"legendY":[2,"legend-y"],"legendFontSize":[2,"legend-font-size"],"legendSymbolSize":[2,"legend-symbol-size"],"embedOptions":[16,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-line-beta.cjs",[[1,"gux-chart-line-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16,"chart-data"],"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,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-pie-beta.cjs",[[1,"gux-chart-pie-beta",{"chartData":[16,"chart-data"],"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,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-scatter-plot-beta.cjs",[[1,"gux-chart-scatter-plot-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16,"chart-data"],"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,"embed-options"]},null,{"chartData":["parseData"]}]]]], options);
|
|
22
23
|
});
|
|
23
24
|
|
|
@@ -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-C7LpM20I.js');
|
|
4
|
+
var colorPalette = require('./color-palette-_NUSml2P.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 .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-C7LpM20I.js');
|
|
4
|
+
var colorPalette = require('./color-palette-_NUSml2P.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-C7LpM20I.js');
|
|
4
|
+
var colorPalette = require('./color-palette-_NUSml2P.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-C7LpM20I.js');
|
|
4
|
+
var colorPalette = require('./color-palette-_NUSml2P.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-C7LpM20I.js');
|
|
4
|
+
var colorPalette = require('./color-palette-_NUSml2P.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-C7LpM20I.js');
|
|
4
|
+
var colorPalette = require('./color-palette-_NUSml2P.js');
|
|
5
5
|
|
|
6
6
|
function _mergeNamespaces(n, m) {
|
|
7
7
|
m.forEach(function (e) {
|
|
@@ -21,11 +21,8 @@ function _interopNamespace(e) {
|
|
|
21
21
|
const NAMESPACE = 'genesys-chart-webcomponents';
|
|
22
22
|
const BUILD = /* genesys-chart-webcomponents */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true};
|
|
23
23
|
|
|
24
|
-
const globalScripts = () => {};
|
|
25
|
-
const globalStyles = "";
|
|
26
|
-
|
|
27
24
|
/*
|
|
28
|
-
Stencil Client Platform v4.35.
|
|
25
|
+
Stencil Client Platform v4.35.3 | MIT Licensed | https://stenciljs.com
|
|
29
26
|
*/
|
|
30
27
|
var __defProp = Object.defineProperty;
|
|
31
28
|
var __export = (target, all) => {
|
|
@@ -250,13 +247,19 @@ var unwrapErr = (result) => {
|
|
|
250
247
|
throw result.value;
|
|
251
248
|
}
|
|
252
249
|
};
|
|
250
|
+
|
|
251
|
+
// src/utils/style.ts
|
|
252
|
+
function createStyleSheetIfNeededAndSupported(styles2) {
|
|
253
|
+
return void 0;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// src/utils/shadow-root.ts
|
|
257
|
+
var globalStyleSheet;
|
|
253
258
|
function createShadowRoot(cmpMeta) {
|
|
259
|
+
var _a;
|
|
254
260
|
const shadowRoot = this.attachShadow({ mode: "open" });
|
|
255
|
-
if (
|
|
256
|
-
|
|
257
|
-
sheet.replaceSync(globalStyles);
|
|
258
|
-
shadowRoot.adoptedStyleSheets.push(sheet);
|
|
259
|
-
}
|
|
261
|
+
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
|
|
262
|
+
if (globalStyleSheet) shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
|
|
260
263
|
}
|
|
261
264
|
var createTime = (fnName, tagName = "") => {
|
|
262
265
|
{
|
|
@@ -272,6 +275,102 @@ var uniqueTime = (key, measureText) => {
|
|
|
272
275
|
};
|
|
273
276
|
}
|
|
274
277
|
};
|
|
278
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
279
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
280
|
+
let style = styles.get(scopeId2);
|
|
281
|
+
if (supportsConstructableStylesheets && allowCS) {
|
|
282
|
+
style = style || new CSSStyleSheet();
|
|
283
|
+
if (typeof style === "string") {
|
|
284
|
+
style = cssText;
|
|
285
|
+
} else {
|
|
286
|
+
style.replaceSync(cssText);
|
|
287
|
+
}
|
|
288
|
+
} else {
|
|
289
|
+
style = cssText;
|
|
290
|
+
}
|
|
291
|
+
styles.set(scopeId2, style);
|
|
292
|
+
};
|
|
293
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
294
|
+
var _a;
|
|
295
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
296
|
+
const style = styles.get(scopeId2);
|
|
297
|
+
if (!win.document) {
|
|
298
|
+
return scopeId2;
|
|
299
|
+
}
|
|
300
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
301
|
+
if (style) {
|
|
302
|
+
if (typeof style === "string") {
|
|
303
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
304
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
305
|
+
let styleElm;
|
|
306
|
+
if (!appliedStyles) {
|
|
307
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
308
|
+
}
|
|
309
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
310
|
+
{
|
|
311
|
+
styleElm = win.document.createElement("style");
|
|
312
|
+
styleElm.innerHTML = style;
|
|
313
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
314
|
+
if (nonce != null) {
|
|
315
|
+
styleElm.setAttribute("nonce", nonce);
|
|
316
|
+
}
|
|
317
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
318
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
319
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
320
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
321
|
+
styleContainerNode.insertBefore(
|
|
322
|
+
styleElm,
|
|
323
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
324
|
+
);
|
|
325
|
+
} else if ("host" in styleContainerNode) {
|
|
326
|
+
if (supportsConstructableStylesheets) {
|
|
327
|
+
const stylesheet = new CSSStyleSheet();
|
|
328
|
+
stylesheet.replaceSync(style);
|
|
329
|
+
styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
|
|
330
|
+
} else {
|
|
331
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
332
|
+
if (existingStyleContainer) {
|
|
333
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
334
|
+
} else {
|
|
335
|
+
styleContainerNode.prepend(styleElm);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
} else {
|
|
339
|
+
styleContainerNode.append(styleElm);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
343
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
347
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
348
|
+
}
|
|
349
|
+
if (appliedStyles) {
|
|
350
|
+
appliedStyles.add(scopeId2);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
354
|
+
styleContainerNode.adoptedStyleSheets.push(style);
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
return scopeId2;
|
|
358
|
+
};
|
|
359
|
+
var attachStyles = (hostRef) => {
|
|
360
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
361
|
+
const elm = hostRef.$hostElement$;
|
|
362
|
+
const flags = cmpMeta.$flags$;
|
|
363
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
364
|
+
const scopeId2 = addStyle(
|
|
365
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
366
|
+
cmpMeta);
|
|
367
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
368
|
+
elm["s-sc"] = scopeId2;
|
|
369
|
+
elm.classList.add(scopeId2 + "-h");
|
|
370
|
+
}
|
|
371
|
+
endAttachStyles();
|
|
372
|
+
};
|
|
373
|
+
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
275
374
|
var h = (nodeName, vnodeData, ...children) => {
|
|
276
375
|
let child = null;
|
|
277
376
|
let key = null;
|
|
@@ -386,102 +485,6 @@ var emitEvent = (elm, name, opts) => {
|
|
|
386
485
|
elm.dispatchEvent(ev);
|
|
387
486
|
return ev;
|
|
388
487
|
};
|
|
389
|
-
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
390
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
391
|
-
let style = styles.get(scopeId2);
|
|
392
|
-
if (supportsConstructableStylesheets && allowCS) {
|
|
393
|
-
style = style || new CSSStyleSheet();
|
|
394
|
-
if (typeof style === "string") {
|
|
395
|
-
style = cssText;
|
|
396
|
-
} else {
|
|
397
|
-
style.replaceSync(cssText);
|
|
398
|
-
}
|
|
399
|
-
} else {
|
|
400
|
-
style = cssText;
|
|
401
|
-
}
|
|
402
|
-
styles.set(scopeId2, style);
|
|
403
|
-
};
|
|
404
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
405
|
-
var _a;
|
|
406
|
-
const scopeId2 = getScopeId(cmpMeta);
|
|
407
|
-
const style = styles.get(scopeId2);
|
|
408
|
-
if (!win.document) {
|
|
409
|
-
return scopeId2;
|
|
410
|
-
}
|
|
411
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
412
|
-
if (style) {
|
|
413
|
-
if (typeof style === "string") {
|
|
414
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
415
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
416
|
-
let styleElm;
|
|
417
|
-
if (!appliedStyles) {
|
|
418
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
419
|
-
}
|
|
420
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
421
|
-
{
|
|
422
|
-
styleElm = win.document.createElement("style");
|
|
423
|
-
styleElm.innerHTML = style;
|
|
424
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
425
|
-
if (nonce != null) {
|
|
426
|
-
styleElm.setAttribute("nonce", nonce);
|
|
427
|
-
}
|
|
428
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
429
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
430
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
431
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
432
|
-
styleContainerNode.insertBefore(
|
|
433
|
-
styleElm,
|
|
434
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
435
|
-
);
|
|
436
|
-
} else if ("host" in styleContainerNode) {
|
|
437
|
-
if (supportsConstructableStylesheets) {
|
|
438
|
-
const stylesheet = new CSSStyleSheet();
|
|
439
|
-
stylesheet.replaceSync(style);
|
|
440
|
-
styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
|
|
441
|
-
} else {
|
|
442
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
443
|
-
if (existingStyleContainer) {
|
|
444
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
445
|
-
} else {
|
|
446
|
-
styleContainerNode.prepend(styleElm);
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
} else {
|
|
450
|
-
styleContainerNode.append(styleElm);
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
454
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
458
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
|
459
|
-
}
|
|
460
|
-
if (appliedStyles) {
|
|
461
|
-
appliedStyles.add(scopeId2);
|
|
462
|
-
}
|
|
463
|
-
}
|
|
464
|
-
} else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
|
|
465
|
-
styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
|
-
return scopeId2;
|
|
469
|
-
};
|
|
470
|
-
var attachStyles = (hostRef) => {
|
|
471
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
472
|
-
const elm = hostRef.$hostElement$;
|
|
473
|
-
const flags = cmpMeta.$flags$;
|
|
474
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
475
|
-
const scopeId2 = addStyle(
|
|
476
|
-
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
477
|
-
cmpMeta);
|
|
478
|
-
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
479
|
-
elm["s-sc"] = scopeId2;
|
|
480
|
-
elm.classList.add(scopeId2 + "-h");
|
|
481
|
-
}
|
|
482
|
-
endAttachStyles();
|
|
483
|
-
};
|
|
484
|
-
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
485
488
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
|
486
489
|
if (oldValue === newValue) {
|
|
487
490
|
return;
|
|
@@ -755,7 +758,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
755
758
|
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
756
759
|
) {
|
|
757
760
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
758
|
-
}
|
|
761
|
+
} else ;
|
|
759
762
|
}
|
|
760
763
|
};
|
|
761
764
|
var nullifyVNodeRefs = (vNode) => {
|
|
@@ -1388,7 +1391,6 @@ var setNonce = (nonce) => plt.$nonce$ = nonce;
|
|
|
1388
1391
|
exports.bootstrapLazy = bootstrapLazy;
|
|
1389
1392
|
exports.createEvent = createEvent;
|
|
1390
1393
|
exports.getElement = getElement;
|
|
1391
|
-
exports.globalScripts = globalScripts;
|
|
1392
1394
|
exports.h = h;
|
|
1393
1395
|
exports.promiseResolve = promiseResolve;
|
|
1394
1396
|
exports.registerInstance = registerInstance;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-C7LpM20I.js');
|
|
4
|
+
var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
4
5
|
|
|
5
6
|
const defineCustomElements = async (win, options) => {
|
|
6
7
|
if (typeof window === 'undefined') return undefined;
|
|
7
|
-
await
|
|
8
|
+
await appGlobals.globalScripts();
|
|
8
9
|
return index.bootstrapLazy([["gux-visualization-beta.cjs",[[1,"gux-visualization-beta",{"visualizationSpec":[16,"visualization-spec"],"embedOptions":[16,"embed-options"]}]]],["gux-chart-column-beta.cjs",[[1,"gux-chart-column-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16,"chart-data"],"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,"chart-layers"],"embedOptions":[16,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-donut-beta.cjs",[[1,"gux-chart-donut-beta",{"chartData":[16,"chart-data"],"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,"tooltip-options"],"legendX":[2,"legend-x"],"legendY":[2,"legend-y"],"legendFontSize":[2,"legend-font-size"],"legendSymbolSize":[2,"legend-symbol-size"],"embedOptions":[16,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-line-beta.cjs",[[1,"gux-chart-line-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16,"chart-data"],"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,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-pie-beta.cjs",[[1,"gux-chart-pie-beta",{"chartData":[16,"chart-data"],"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,"embed-options"]},null,{"chartData":["parseData"]}]]],["gux-chart-scatter-plot-beta.cjs",[[1,"gux-chart-scatter-plot-beta",{"labelColor":[1,"label-color"],"domainColor":[1,"domain-color"],"chartData":[16,"chart-data"],"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,"embed-options"]},null,{"chartData":["parseData"]}]]]], options);
|
|
9
10
|
};
|
|
10
11
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { p as promiseResolve,
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-b_qwr_lO.js';
|
|
2
|
+
export { s as setNonce } from './index-b_qwr_lO.js';
|
|
3
|
+
import { g as globalScripts } from './app-globals-DQuL1Twl.js';
|
|
3
4
|
|
|
4
5
|
/*
|
|
5
|
-
Stencil Client Patch Browser v4.35.
|
|
6
|
+
Stencil Client Patch Browser v4.35.3 | MIT Licensed | https://stenciljs.com
|
|
6
7
|
*/
|
|
7
8
|
|
|
8
9
|
var patchBrowser = () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h,
|
|
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-b_qwr_lO.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-qWbChwx-.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 .mark-rect.layer_1_marks path{fill:#1da8b3}";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as registerInstance, h,
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-b_qwr_lO.js';
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-qWbChwx-.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,
|
|
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-b_qwr_lO.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-qWbChwx-.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,
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-b_qwr_lO.js';
|
|
2
|
+
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-qWbChwx-.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,
|
|
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-b_qwr_lO.js';
|
|
2
|
+
import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-qWbChwx-.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,
|
|
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, g as getElement } from './index-b_qwr_lO.js';
|
|
2
|
+
import { a as DEFAULT_DOMAIN_COLOR, D as DEFAULT_LABEL_COLOR, t as trackComponent } from './color-palette-qWbChwx-.js';
|
|
3
3
|
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
5
5
|
m.forEach(function (e) {
|