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.
- package/dist/cjs/{color-palette-PGbg4uD5.js → color-palette-CTtHBtMr.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 +935 -2542
- package/dist/cjs/{index-BU_h9-dW.js → index-Bm_ReyJN.js} +19 -15
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/esm/{color-palette-DS-oKQVC.js → color-palette-BmX9NvSy.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 +930 -2537
- package/dist/esm/{index-B5vpMGHk.js → index-C2FEcqL3.js} +19 -15
- 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-a66a5664.entry.js → p-1239752b.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-7e16199f.entry.js → p-1fd6f23b.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-dcae8ac6.entry.js → p-59b1d8b6.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/{p-6fdead5a.entry.js → p-784ea768.entry.js} +1 -1
- package/dist/genesys-chart-webcomponents/p-93dcd833.entry.js +11 -0
- package/dist/genesys-chart-webcomponents/{p-DS-oKQVC.js → p-BmX9NvSy.js} +1 -1
- package/dist/genesys-chart-webcomponents/p-C2FEcqL3.js +3 -0
- package/dist/genesys-chart-webcomponents/{p-496971d8.entry.js → p-c3b0b09b.entry.js} +1 -1
- package/dist/loader/index.d.ts +1 -1
- package/dist/types/stencil-public-runtime.d.ts +62 -55
- package/package.json +16 -16
- package/dist/genesys-chart-webcomponents/p-56119d47.entry.js +0 -11
- 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.
|
|
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,
|
|
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
|
-
|
|
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
|
|
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] =
|
|
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
|
-
|
|
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
|
|
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;
|
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-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.
|
|
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-
|
|
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-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-
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
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-
|
|
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-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-
|
|
2
|
-
import { V as VISUALIZATION_COLORS, t as trackComponent } from './color-palette-
|
|
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-
|
|
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-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}`;
|