genesys-spark-chart-components 4.264.2 → 4.265.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.
Files changed (35) hide show
  1. package/dist/cjs/{color-palette-PGbg4uD5.js → color-palette-CTtHBtMr.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 +935 -2542
  9. package/dist/cjs/{index-BU_h9-dW.js → index-Bm_ReyJN.js} +19 -15
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/collection/collection-manifest.json +1 -1
  12. package/dist/esm/{color-palette-DS-oKQVC.js → color-palette-BmX9NvSy.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 +930 -2537
  20. package/dist/esm/{index-B5vpMGHk.js → index-C2FEcqL3.js} +19 -15
  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-a66a5664.entry.js → p-1239752b.entry.js} +1 -1
  24. package/dist/genesys-chart-webcomponents/{p-7e16199f.entry.js → p-1fd6f23b.entry.js} +1 -1
  25. package/dist/genesys-chart-webcomponents/{p-dcae8ac6.entry.js → p-59b1d8b6.entry.js} +1 -1
  26. package/dist/genesys-chart-webcomponents/{p-6fdead5a.entry.js → p-784ea768.entry.js} +1 -1
  27. package/dist/genesys-chart-webcomponents/p-93dcd833.entry.js +11 -0
  28. package/dist/genesys-chart-webcomponents/{p-DS-oKQVC.js → p-BmX9NvSy.js} +1 -1
  29. package/dist/genesys-chart-webcomponents/p-C2FEcqL3.js +3 -0
  30. package/dist/genesys-chart-webcomponents/{p-496971d8.entry.js → p-c3b0b09b.entry.js} +1 -1
  31. package/dist/loader/index.d.ts +1 -1
  32. package/dist/types/stencil-public-runtime.d.ts +62 -55
  33. package/package.json +16 -16
  34. package/dist/genesys-chart-webcomponents/p-56119d47.entry.js +0 -11
  35. package/dist/genesys-chart-webcomponents/p-B5vpMGHk.js +0 -3
@@ -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.44.0 | MIT Licensed | https://stenciljs.com
25
+ Stencil Client Platform v4.45.0 | MIT Licensed | https://stenciljs.com
26
26
  */
27
27
 
28
28
 
@@ -627,7 +627,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
627
627
  }
628
628
  }
629
629
  if (newValue == null || newValue === false) {
630
- if (newValue !== false || elm.getAttribute(memberName) === "") {
630
+ if (newValue !== false || elm.getAttribute(memberName) === "" || flags & 4 /* isHost */ && !isEnumeratedAttribute(memberName)) {
631
631
  {
632
632
  elm.removeAttribute(memberName);
633
633
  }
@@ -640,6 +640,8 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
640
640
  }
641
641
  }
642
642
  };
643
+ var ENUMERATED_ATTRIBUTES = /* @__PURE__ */ new Set(["draggable", "contenteditable", "spellcheck"]);
644
+ var isEnumeratedAttribute = (attrName) => ENUMERATED_ATTRIBUTES.has(attrName) || attrName.startsWith("aria-");
643
645
  var parseClassListRegex = /\s/;
644
646
  var parseClassList = (value) => {
645
647
  if (typeof value === "object" && value && "baseVal" in value) {
@@ -805,7 +807,7 @@ var updateChildren = (parentElm, oldCh, newVNode2, newCh, isInitialRender = fals
805
807
  if (idxInOld >= 0) {
806
808
  elmToMove = oldCh[idxInOld];
807
809
  if (elmToMove.$tag$ !== newStartVnode.$tag$) {
808
- node = createElm(oldCh && oldCh[newStartIdx], newVNode2, idxInOld);
810
+ node = createElm(oldCh && oldCh[newStartIdx], newVNode2, newStartIdx);
809
811
  } else {
810
812
  patch(elmToMove, newStartVnode, isInitialRender);
811
813
  oldCh[idxInOld] = void 0;
@@ -890,9 +892,7 @@ var flushQueuedRefCallbacks = () => {
890
892
  }
891
893
  };
892
894
  var insertBefore = (parent, newNode, reference, isInitialLoad) => {
893
- if (parent.__insertBefore) {
894
- return parent.__insertBefore(newNode, reference);
895
- } else {
895
+ {
896
896
  return parent == null ? void 0 : parent.insertBefore(newNode, reference);
897
897
  }
898
898
  };
@@ -1138,8 +1138,6 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
1138
1138
  }
1139
1139
  }
1140
1140
  };
1141
-
1142
- // src/runtime/proxy-component.ts
1143
1141
  var proxyComponent = (Cstr, cmpMeta, flags) => {
1144
1142
  var _a, _b;
1145
1143
  const prototype = Cstr.prototype;
@@ -1210,21 +1208,26 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1210
1208
  }
1211
1209
  return;
1212
1210
  }
1213
- const setterSetVal = () => {
1211
+ const parsedValue = parsePropertyValue(
1212
+ newValue,
1213
+ memberFlags);
1214
+ const setterSetVal = (val) => {
1214
1215
  const currentValue = ref.$lazyInstance$[memberName];
1215
1216
  if (!ref.$instanceValues$.get(memberName) && currentValue) {
1216
1217
  ref.$instanceValues$.set(memberName, currentValue);
1217
1218
  }
1218
- ref.$lazyInstance$[memberName] = parsePropertyValue(
1219
- newValue,
1220
- memberFlags);
1219
+ ref.$lazyInstance$[memberName] = val;
1221
1220
  setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
1222
1221
  };
1223
1222
  if (ref.$lazyInstance$) {
1224
- setterSetVal();
1223
+ setterSetVal(parsedValue);
1225
1224
  } else {
1225
+ ref.$instanceValues$.set(memberName, parsedValue);
1226
1226
  ref.$fetchedCbList$.push(() => {
1227
- setterSetVal();
1227
+ const pendingValue = ref.$instanceValues$.get(memberName);
1228
+ if (ref.$lazyInstance$[memberName] !== pendingValue) {
1229
+ setterSetVal(pendingValue);
1230
+ }
1228
1231
  });
1229
1232
  }
1230
1233
  }
@@ -1261,7 +1264,8 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
1261
1264
  return;
1262
1265
  }
1263
1266
  const propFlags = members.find(([m]) => m === propName);
1264
- const isBooleanTarget = propFlags && propFlags[1][0] & 4 /* Boolean */;
1267
+ const propMemberFlags = propFlags ? propFlags[1][0] : 0;
1268
+ const isBooleanTarget = propMemberFlags & 4 /* Boolean */;
1265
1269
  const isSpuriousBooleanRemoval = isBooleanTarget && newValue === null && this[propName] === void 0;
1266
1270
  if (isBooleanTarget) {
1267
1271
  newValue = newValue === null || newValue === "false" ? false : true;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-BU_h9-dW.js');
3
+ var index = require('./index-Bm_ReyJN.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  const defineCustomElements = async (win, options) => {
@@ -10,7 +10,7 @@
10
10
  "mixins": [],
11
11
  "compiler": {
12
12
  "name": "@stencil/core",
13
- "version": "4.44.0",
13
+ "version": "4.45.0",
14
14
  "typescriptVersion": "5.8.3"
15
15
  },
16
16
  "collections": [],
@@ -1,4 +1,4 @@
1
- const version = "4.264.2";
1
+ const version = "4.265.0";
2
2
  var packageInfo = {
3
3
  version: version};
4
4
 
@@ -1,9 +1,9 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-B5vpMGHk.js';
2
- export { s as setNonce } from './index-B5vpMGHk.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-C2FEcqL3.js';
2
+ export { s as setNonce } from './index-C2FEcqL3.js';
3
3
  import { g as globalScripts } from './app-globals-DQuL1Twl.js';
4
4
 
5
5
  /*
6
- Stencil Client Patch Browser v4.44.0 | MIT Licensed | https://stenciljs.com
6
+ Stencil Client Patch Browser v4.45.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-B5vpMGHk.js';
2
- import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-DS-oKQVC.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-C2FEcqL3.js';
2
+ import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BmX9NvSy.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-B5vpMGHk.js';
2
- import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-DS-oKQVC.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-C2FEcqL3.js';
2
+ import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BmX9NvSy.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-B5vpMGHk.js';
2
- import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-DS-oKQVC.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-C2FEcqL3.js';
2
+ import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BmX9NvSy.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-B5vpMGHk.js';
2
- import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-DS-oKQVC.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-C2FEcqL3.js';
2
+ import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BmX9NvSy.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-B5vpMGHk.js';
2
- import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-DS-oKQVC.js';
1
+ import { r as registerInstance, h, g as getElement } from './index-C2FEcqL3.js';
2
+ import { D as DEFAULT_LABEL_COLOR, a as DEFAULT_DOMAIN_COLOR, V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-BmX9NvSy.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}`;