@oliasoft-open-source/charts-library 8.0.5-beta-1 → 8.0.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/index.js +7 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34352,10 +34352,13 @@ var normalizeLegendPosition = (position, fallback) => {
|
|
|
34352
34352
|
var normalizeLegendAlign = (align, fallback) => {
|
|
34353
34353
|
return Object.values(AlignOptions).includes(String(align)) ? align : fallback;
|
|
34354
34354
|
};
|
|
34355
|
-
var normalizeDragRange = (range) =>
|
|
34356
|
-
|
|
34357
|
-
|
|
34358
|
-
|
|
34355
|
+
var normalizeDragRange = (range) => {
|
|
34356
|
+
const normalized = {
|
|
34357
|
+
x: Array.isArray(range?.x) && range.x.length >= 2 ? [range.x[0], range.x[1]] : void 0,
|
|
34358
|
+
y: Array.isArray(range?.y) && range.y.length >= 2 ? [range.y[0], range.y[1]] : void 0
|
|
34359
|
+
};
|
|
34360
|
+
return normalized.x || normalized.y ? normalized : void 0;
|
|
34361
|
+
};
|
|
34359
34362
|
//#endregion
|
|
34360
34363
|
//#region src/components/line-chart/line-chart-get-default-props.ts
|
|
34361
34364
|
var defaultAxis = (position) => ({
|
package/package.json
CHANGED