genesys-spark-chart-components 4.157.3 → 4.157.4

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.
Files changed (32) hide show
  1. package/dist/cjs/{color-palette-BmEHbiDb.js → color-palette-BDKpwGBx.js} +1 -1
  2. package/dist/cjs/genesys-chart-webcomponents.cjs.js +2 -2
  3. package/dist/cjs/gux-chart-column-beta.cjs.entry.js +2 -2
  4. package/dist/cjs/gux-chart-donut-beta.cjs.entry.js +2 -2
  5. package/dist/cjs/gux-chart-line-beta.cjs.entry.js +2 -2
  6. package/dist/cjs/gux-chart-pie-beta.cjs.entry.js +2 -2
  7. package/dist/cjs/gux-chart-scatter-plot-beta.cjs.entry.js +2 -2
  8. package/dist/cjs/gux-visualization-beta.cjs.entry.js +2 -2
  9. package/dist/cjs/{index-C7LpM20I.js → index-CP9t3-iN.js} +48 -8
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/collection/collection-manifest.json +1 -1
  12. package/dist/esm/{color-palette-BYyDZyu0.js → color-palette-CtT1fVqN.js} +1 -1
  13. package/dist/esm/genesys-chart-webcomponents.js +3 -3
  14. package/dist/esm/gux-chart-column-beta.entry.js +2 -2
  15. package/dist/esm/gux-chart-donut-beta.entry.js +2 -2
  16. package/dist/esm/gux-chart-line-beta.entry.js +2 -2
  17. package/dist/esm/gux-chart-pie-beta.entry.js +2 -2
  18. package/dist/esm/gux-chart-scatter-plot-beta.entry.js +2 -2
  19. package/dist/esm/gux-visualization-beta.entry.js +2 -2
  20. package/dist/esm/{index-b_qwr_lO.js → index-CDeWGOwC.js} +48 -8
  21. package/dist/esm/loader.js +2 -2
  22. package/dist/genesys-chart-webcomponents/genesys-chart-webcomponents.esm.js +1 -1
  23. package/dist/genesys-chart-webcomponents/{p-776620ec.entry.js → p-21552de5.entry.js} +1 -1
  24. package/dist/genesys-chart-webcomponents/{p-cc8db1dc.entry.js → p-3e7c542e.entry.js} +1 -1
  25. package/dist/genesys-chart-webcomponents/{p-be2d8e4e.entry.js → p-42157855.entry.js} +1 -1
  26. package/dist/genesys-chart-webcomponents/{p-c3c2b47a.entry.js → p-43e91882.entry.js} +1 -1
  27. package/dist/genesys-chart-webcomponents/p-CDeWGOwC.js +2 -0
  28. package/dist/genesys-chart-webcomponents/{p-BYyDZyu0.js → p-CtT1fVqN.js} +1 -1
  29. package/dist/genesys-chart-webcomponents/{p-74ca7438.entry.js → p-c97ec4b5.entry.js} +1 -1
  30. package/dist/genesys-chart-webcomponents/{p-d8da411d.entry.js → p-fb31caad.entry.js} +1 -1
  31. package/package.json +2 -2
  32. package/dist/genesys-chart-webcomponents/p-b_qwr_lO.js +0 -2
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const version = "4.157.3";
3
+ const version = "4.157.4";
4
4
  var packageInfo = {
5
5
  version: version};
6
6
 
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-C7LpM20I.js');
3
+ var index = require('./index-CP9t3-iN.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.35.3 | MIT Licensed | https://stenciljs.com
8
+ Stencil Client Patch Browser v4.36.0 | 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-C7LpM20I.js');
4
- var colorPalette = require('./color-palette-BmEHbiDb.js');
3
+ var index = require('./index-CP9t3-iN.js');
4
+ var colorPalette = require('./color-palette-BDKpwGBx.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-C7LpM20I.js');
4
- var colorPalette = require('./color-palette-BmEHbiDb.js');
3
+ var index = require('./index-CP9t3-iN.js');
4
+ var colorPalette = require('./color-palette-BDKpwGBx.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-C7LpM20I.js');
4
- var colorPalette = require('./color-palette-BmEHbiDb.js');
3
+ var index = require('./index-CP9t3-iN.js');
4
+ var colorPalette = require('./color-palette-BDKpwGBx.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-C7LpM20I.js');
4
- var colorPalette = require('./color-palette-BmEHbiDb.js');
3
+ var index = require('./index-CP9t3-iN.js');
4
+ var colorPalette = require('./color-palette-BDKpwGBx.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-C7LpM20I.js');
4
- var colorPalette = require('./color-palette-BmEHbiDb.js');
3
+ var index = require('./index-CP9t3-iN.js');
4
+ var colorPalette = require('./color-palette-BDKpwGBx.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-C7LpM20I.js');
4
- var colorPalette = require('./color-palette-BmEHbiDb.js');
3
+ var index$2 = require('./index-CP9t3-iN.js');
4
+ var colorPalette = require('./color-palette-BDKpwGBx.js');
5
5
 
6
6
  function _mergeNamespaces(n, m) {
7
7
  m.forEach(function (e) {
@@ -22,7 +22,7 @@ const NAMESPACE = 'genesys-chart-webcomponents';
22
22
  const BUILD = /* genesys-chart-webcomponents */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true};
23
23
 
24
24
  /*
25
- Stencil Client Platform v4.35.3 | MIT Licensed | https://stenciljs.com
25
+ Stencil Client Platform v4.36.0 | MIT Licensed | https://stenciljs.com
26
26
  */
27
27
  var __defProp = Object.defineProperty;
28
28
  var __export = (target, all) => {
@@ -148,6 +148,7 @@ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
148
148
  }
149
149
  return false;
150
150
  })() ;
151
+ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
151
152
  var queuePending = false;
152
153
  var queueDomReads = [];
153
154
  var queueDomWrites = [];
@@ -259,7 +260,13 @@ function createShadowRoot(cmpMeta) {
259
260
  var _a;
260
261
  const shadowRoot = this.attachShadow({ mode: "open" });
261
262
  if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
262
- if (globalStyleSheet) shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
263
+ if (globalStyleSheet) {
264
+ if (supportsMutableAdoptedStyleSheets) {
265
+ shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
266
+ } else {
267
+ shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
268
+ }
269
+ }
263
270
  }
264
271
  var createTime = (fnName, tagName = "") => {
265
272
  {
@@ -326,7 +333,11 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
326
333
  if (supportsConstructableStylesheets) {
327
334
  const stylesheet = new CSSStyleSheet();
328
335
  stylesheet.replaceSync(style);
329
- styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
336
+ if (supportsMutableAdoptedStyleSheets) {
337
+ styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
338
+ } else {
339
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
340
+ }
330
341
  } else {
331
342
  const existingStyleContainer = styleContainerNode.querySelector("style");
332
343
  if (existingStyleContainer) {
@@ -351,7 +362,11 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
351
362
  }
352
363
  }
353
364
  } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
354
- styleContainerNode.adoptedStyleSheets.push(style);
365
+ if (supportsMutableAdoptedStyleSheets) {
366
+ styleContainerNode.adoptedStyleSheets.push(style);
367
+ } else {
368
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
369
+ }
355
370
  }
356
371
  }
357
372
  return scopeId2;
@@ -464,7 +479,10 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
464
479
  }
465
480
  return propValue;
466
481
  };
467
- var getElement = (ref) => getHostRef(ref).$hostElement$ ;
482
+ var getElement = (ref) => {
483
+ var _a;
484
+ return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
485
+ };
468
486
 
469
487
  // src/runtime/event-emitter.ts
470
488
  var createEvent = (ref, name, flags) => {
@@ -815,6 +833,12 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
815
833
  }
816
834
  attachToAncestor(hostRef, hostRef.$ancestorComponent$);
817
835
  const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
836
+ if (isInitialLoad) {
837
+ queueMicrotask(() => {
838
+ dispatch();
839
+ });
840
+ return;
841
+ }
818
842
  return writeTask(dispatch) ;
819
843
  };
820
844
  var dispatchHooks = (hostRef, isInitialLoad) => {
@@ -949,6 +973,9 @@ var addHydratedFlag = (elm) => {
949
973
  var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
950
974
  var setValue = (ref, propName, newVal, cmpMeta) => {
951
975
  const hostRef = getHostRef(ref);
976
+ if (!hostRef) {
977
+ return;
978
+ }
952
979
  if (!hostRef) {
953
980
  throw new Error(
954
981
  `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
@@ -1024,6 +1051,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1024
1051
  Object.defineProperty(prototype, memberName, {
1025
1052
  set(newValue) {
1026
1053
  const ref = getHostRef(this);
1054
+ if (!ref) {
1055
+ return;
1056
+ }
1027
1057
  if (origSetter) {
1028
1058
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1029
1059
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
@@ -1087,7 +1117,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1087
1117
  } else if (propName == null) {
1088
1118
  const hostRef = getHostRef(this);
1089
1119
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1090
- if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1120
+ if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1091
1121
  const instance = hostRef.$lazyInstance$ ;
1092
1122
  const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1093
1123
  entry == null ? void 0 : entry.forEach((callbackName) => {
@@ -1198,6 +1228,9 @@ var fireConnectedCallback = (instance, elm) => {
1198
1228
  var connectedCallback = (elm) => {
1199
1229
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1200
1230
  const hostRef = getHostRef(elm);
1231
+ if (!hostRef) {
1232
+ return;
1233
+ }
1201
1234
  const cmpMeta = hostRef.$cmpMeta$;
1202
1235
  const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1203
1236
  if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
@@ -1316,7 +1349,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1316
1349
  }
1317
1350
  }
1318
1351
  connectedCallback() {
1319
- getHostRef(this);
1352
+ const hostRef = getHostRef(this);
1353
+ if (!hostRef) {
1354
+ return;
1355
+ }
1320
1356
  if (!this.hasRegisteredEventListeners) {
1321
1357
  this.hasRegisteredEventListeners = true;
1322
1358
  }
@@ -1335,6 +1371,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1335
1371
  plt.raf(() => {
1336
1372
  var _a3;
1337
1373
  const hostRef = getHostRef(this);
1374
+ if (!hostRef) {
1375
+ return;
1376
+ }
1338
1377
  const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1339
1378
  if (i2 > -1) {
1340
1379
  deferredConnectedCallbacks.splice(i2, 1);
@@ -1345,7 +1384,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1345
1384
  });
1346
1385
  }
1347
1386
  componentOnReady() {
1348
- return getHostRef(this).$onReadyPromise$;
1387
+ var _a3;
1388
+ return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
1349
1389
  }
1350
1390
  };
1351
1391
  cmpMeta.$lazyBundleId$ = lazyBundle[0];
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-C7LpM20I.js');
3
+ var index = require('./index-CP9t3-iN.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -9,7 +9,7 @@
9
9
  ],
10
10
  "compiler": {
11
11
  "name": "@stencil/core",
12
- "version": "4.35.3",
12
+ "version": "4.36.0",
13
13
  "typescriptVersion": "5.5.4"
14
14
  },
15
15
  "collections": [],
@@ -1,4 +1,4 @@
1
- const version = "4.157.3";
1
+ const version = "4.157.4";
2
2
  var packageInfo = {
3
3
  version: version};
4
4
 
@@ -1,9 +1,9 @@
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';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-CDeWGOwC.js';
2
+ export { s as setNonce } from './index-CDeWGOwC.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.35.3 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.36.0 | 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-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-BYyDZyu0.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-CDeWGOwC.js';
2
+ import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-CtT1fVqN.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, g as getElement } from './index-b_qwr_lO.js';
2
- import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BYyDZyu0.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-CDeWGOwC.js';
2
+ import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-CtT1fVqN.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-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-BYyDZyu0.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-CDeWGOwC.js';
2
+ import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-CtT1fVqN.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-b_qwr_lO.js';
2
- import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BYyDZyu0.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-CDeWGOwC.js';
2
+ import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-CtT1fVqN.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-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-BYyDZyu0.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-CDeWGOwC.js';
2
+ import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-CtT1fVqN.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, 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-BYyDZyu0.js';
1
+ import { r as registerInstance, c as createEvent, h, g as getElement } from './index-CDeWGOwC.js';
2
+ import { a as DEFAULT_DOMAIN_COLOR, D as DEFAULT_LABEL_COLOR, t as trackComponent } from './color-palette-CtT1fVqN.js';
3
3
 
4
4
  function _mergeNamespaces(n, m) {
5
5
  m.forEach(function (e) {
@@ -2,7 +2,7 @@ const NAMESPACE = 'genesys-chart-webcomponents';
2
2
  const BUILD = /* genesys-chart-webcomponents */ { hydratedSelectorName: "hydrated", lazyLoad: true, updatable: true};
3
3
 
4
4
  /*
5
- Stencil Client Platform v4.35.3 | MIT Licensed | https://stenciljs.com
5
+ Stencil Client Platform v4.36.0 | MIT Licensed | https://stenciljs.com
6
6
  */
7
7
  var __defProp = Object.defineProperty;
8
8
  var __export = (target, all) => {
@@ -128,6 +128,7 @@ var supportsConstructableStylesheets = /* @__PURE__ */ (() => {
128
128
  }
129
129
  return false;
130
130
  })() ;
131
+ var supportsMutableAdoptedStyleSheets = supportsConstructableStylesheets ? /* @__PURE__ */ (() => !!win.document && Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets, "length").writable)() : false;
131
132
  var queuePending = false;
132
133
  var queueDomReads = [];
133
134
  var queueDomWrites = [];
@@ -239,7 +240,13 @@ function createShadowRoot(cmpMeta) {
239
240
  var _a;
240
241
  const shadowRoot = this.attachShadow({ mode: "open" });
241
242
  if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
242
- if (globalStyleSheet) shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
243
+ if (globalStyleSheet) {
244
+ if (supportsMutableAdoptedStyleSheets) {
245
+ shadowRoot.adoptedStyleSheets.push(globalStyleSheet);
246
+ } else {
247
+ shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
248
+ }
249
+ }
243
250
  }
244
251
  var createTime = (fnName, tagName = "") => {
245
252
  {
@@ -306,7 +313,11 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
306
313
  if (supportsConstructableStylesheets) {
307
314
  const stylesheet = new CSSStyleSheet();
308
315
  stylesheet.replaceSync(style);
309
- styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
316
+ if (supportsMutableAdoptedStyleSheets) {
317
+ styleContainerNode.adoptedStyleSheets.unshift(stylesheet);
318
+ } else {
319
+ styleContainerNode.adoptedStyleSheets = [stylesheet, ...styleContainerNode.adoptedStyleSheets];
320
+ }
310
321
  } else {
311
322
  const existingStyleContainer = styleContainerNode.querySelector("style");
312
323
  if (existingStyleContainer) {
@@ -331,7 +342,11 @@ var addStyle = (styleContainerNode, cmpMeta, mode) => {
331
342
  }
332
343
  }
333
344
  } else if (!styleContainerNode.adoptedStyleSheets.includes(style)) {
334
- styleContainerNode.adoptedStyleSheets.push(style);
345
+ if (supportsMutableAdoptedStyleSheets) {
346
+ styleContainerNode.adoptedStyleSheets.push(style);
347
+ } else {
348
+ styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];
349
+ }
335
350
  }
336
351
  }
337
352
  return scopeId2;
@@ -444,7 +459,10 @@ var parsePropertyValue = (propValue, propType, isFormAssociated) => {
444
459
  }
445
460
  return propValue;
446
461
  };
447
- var getElement = (ref) => getHostRef(ref).$hostElement$ ;
462
+ var getElement = (ref) => {
463
+ var _a;
464
+ return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
465
+ };
448
466
 
449
467
  // src/runtime/event-emitter.ts
450
468
  var createEvent = (ref, name, flags) => {
@@ -795,6 +813,12 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
795
813
  }
796
814
  attachToAncestor(hostRef, hostRef.$ancestorComponent$);
797
815
  const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
816
+ if (isInitialLoad) {
817
+ queueMicrotask(() => {
818
+ dispatch();
819
+ });
820
+ return;
821
+ }
798
822
  return writeTask(dispatch) ;
799
823
  };
800
824
  var dispatchHooks = (hostRef, isInitialLoad) => {
@@ -929,6 +953,9 @@ var addHydratedFlag = (elm) => {
929
953
  var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
930
954
  var setValue = (ref, propName, newVal, cmpMeta) => {
931
955
  const hostRef = getHostRef(ref);
956
+ if (!hostRef) {
957
+ return;
958
+ }
932
959
  if (!hostRef) {
933
960
  throw new Error(
934
961
  `Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
@@ -1004,6 +1031,9 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1004
1031
  Object.defineProperty(prototype, memberName, {
1005
1032
  set(newValue) {
1006
1033
  const ref = getHostRef(this);
1034
+ if (!ref) {
1035
+ return;
1036
+ }
1007
1037
  if (origSetter) {
1008
1038
  const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
1009
1039
  if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
@@ -1067,7 +1097,7 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1067
1097
  } else if (propName == null) {
1068
1098
  const hostRef = getHostRef(this);
1069
1099
  const flags2 = hostRef == null ? void 0 : hostRef.$flags$;
1070
- if (flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1100
+ if (hostRef && flags2 && !(flags2 & 8 /* isConstructingInstance */) && flags2 & 128 /* isWatchReady */ && newValue !== oldValue) {
1071
1101
  const instance = hostRef.$lazyInstance$ ;
1072
1102
  const entry = (_a2 = cmpMeta.$watchers$) == null ? void 0 : _a2[attrName];
1073
1103
  entry == null ? void 0 : entry.forEach((callbackName) => {
@@ -1178,6 +1208,9 @@ var fireConnectedCallback = (instance, elm) => {
1178
1208
  var connectedCallback = (elm) => {
1179
1209
  if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
1180
1210
  const hostRef = getHostRef(elm);
1211
+ if (!hostRef) {
1212
+ return;
1213
+ }
1181
1214
  const cmpMeta = hostRef.$cmpMeta$;
1182
1215
  const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
1183
1216
  if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
@@ -1296,7 +1329,10 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1296
1329
  }
1297
1330
  }
1298
1331
  connectedCallback() {
1299
- getHostRef(this);
1332
+ const hostRef = getHostRef(this);
1333
+ if (!hostRef) {
1334
+ return;
1335
+ }
1300
1336
  if (!this.hasRegisteredEventListeners) {
1301
1337
  this.hasRegisteredEventListeners = true;
1302
1338
  }
@@ -1315,6 +1351,9 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1315
1351
  plt.raf(() => {
1316
1352
  var _a3;
1317
1353
  const hostRef = getHostRef(this);
1354
+ if (!hostRef) {
1355
+ return;
1356
+ }
1318
1357
  const i2 = deferredConnectedCallbacks.findIndex((host) => host === this);
1319
1358
  if (i2 > -1) {
1320
1359
  deferredConnectedCallbacks.splice(i2, 1);
@@ -1325,7 +1364,8 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
1325
1364
  });
1326
1365
  }
1327
1366
  componentOnReady() {
1328
- return getHostRef(this).$onReadyPromise$;
1367
+ var _a3;
1368
+ return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
1329
1369
  }
1330
1370
  };
1331
1371
  cmpMeta.$lazyBundleId$ = lazyBundle[0];
@@ -1,5 +1,5 @@
1
- import { b as bootstrapLazy } from './index-b_qwr_lO.js';
2
- export { s as setNonce } from './index-b_qwr_lO.js';
1
+ import { b as bootstrapLazy } from './index-CDeWGOwC.js';
2
+ export { s as setNonce } from './index-CDeWGOwC.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-b_qwr_lO.js";export{s as setNonce}from"./p-b_qwr_lO.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-776620ec",[[1,"gux-visualization-beta",{visualizationSpec:[16,"visualization-spec"],embedOptions:[16,"embed-options"]}]]],["p-d8da411d",[[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"]}]]],["p-74ca7438",[[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"]}]]],["p-c3c2b47a",[[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"]}]]],["p-be2d8e4e",[[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"]}]]],["p-cc8db1dc",[[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"]}]]]],e))));
1
+ import{p as e,b as l}from"./p-CDeWGOwC.js";export{s as setNonce}from"./p-CDeWGOwC.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-21552de5",[[1,"gux-visualization-beta",{visualizationSpec:[16,"visualization-spec"],embedOptions:[16,"embed-options"]}]]],["p-fb31caad",[[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"]}]]],["p-c97ec4b5",[[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"]}]]],["p-43e91882",[[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"]}]]],["p-42157855",[[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"]}]]],["p-3e7c542e",[[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"]}]]]],e))));