@hpcc-js/layout 2.49.0 → 2.49.2
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.es6.js +12 -4
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +12 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +9 -9
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
var PKG_NAME = "@hpcc-js/layout";
|
|
23
|
-
var PKG_VERSION = "2.49.
|
|
24
|
-
var BUILD_VERSION = "2.104.
|
|
23
|
+
var PKG_VERSION = "2.49.2";
|
|
24
|
+
var BUILD_VERSION = "2.104.5";
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
/******************************************************************************
|
|
27
27
|
Copyright (c) Microsoft Corporation.
|
|
28
28
|
|
|
29
29
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -586,11 +586,19 @@
|
|
|
586
586
|
var leftPerc;
|
|
587
587
|
var rightSize;
|
|
588
588
|
var rightPerc;
|
|
589
|
-
this.target().getBoundingClientRect();
|
|
589
|
+
var bcRect = this.target().getBoundingClientRect();
|
|
590
|
+
bcRect.top;
|
|
591
|
+
bcRect.left;
|
|
592
|
+
bcRect.bottom;
|
|
593
|
+
bcRect.right;
|
|
590
594
|
if (this.target() instanceof SVGElement) {
|
|
591
595
|
parseFloat(this.target().getAttribute("width"));
|
|
592
596
|
parseFloat(this.target().getAttribute("height"));
|
|
593
597
|
}
|
|
598
|
+
else {
|
|
599
|
+
bcRect.width;
|
|
600
|
+
bcRect.height;
|
|
601
|
+
}
|
|
594
602
|
if (this.sectionTypes().indexOf("top") !== -1) {
|
|
595
603
|
topSize = this.topSize();
|
|
596
604
|
topPerc = this.topPercentage();
|