@performant-software/visualize 2.3.1-beta.0 → 2.3.1
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.cjs186.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs198.js +3 -1
- package/dist/index.cjs198.js.map +1 -1
- package/dist/index.cjs199.js +1 -3
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs264.js.map +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs266.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs269.js.map +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs271.js +1 -1
- package/dist/index.cjs271.js.map +1 -1
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/index.cjs273.js +1 -1
- package/dist/index.cjs273.js.map +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs283.js.map +1 -1
- package/dist/index.cjs284.js +1 -1
- package/dist/index.cjs284.js.map +1 -1
- package/dist/index.cjs285.js +1 -1
- package/dist/index.cjs285.js.map +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs286.js.map +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs287.js.map +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs34.js +1 -1
- package/dist/index.cjs35.js +1 -1
- package/dist/index.cjs36.js +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs62.js.map +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs63.js.map +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs64.js.map +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs65.js.map +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs66.js.map +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs67.js.map +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs68.js.map +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs69.js.map +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs70.js.map +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs72.js.map +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs75.js +1 -1
- package/dist/index.cjs75.js.map +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs8.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.es186.js +4 -4
- package/dist/index.es188.js +1 -1
- package/dist/index.es196.js +1 -1
- package/dist/index.es197.js +2 -2
- package/dist/index.es198.js +240 -2
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +982 -204
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es200.js +2 -1018
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es203.js +1 -1
- package/dist/index.es204.js +1 -1
- package/dist/index.es205.js +1 -1
- package/dist/index.es223.js +1 -1
- package/dist/index.es239.js +2 -2
- package/dist/index.es243.js +1 -1
- package/dist/index.es247.js +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es252.js +1 -1
- package/dist/index.es257.js +3 -3
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +7 -6
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +3 -7
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es260.js +2 -3
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +4 -4
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +7 -7
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +3 -14
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +6 -6
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +7 -3
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +6 -2
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +13 -5
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +6 -7
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +5 -2
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es270.js +13 -2
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +2 -5
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es272.js +2 -13
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +2 -2
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +3 -3
- package/dist/index.es275.js +2 -2
- package/dist/index.es280.js +3 -3
- package/dist/index.es283.js +12 -3
- package/dist/index.es283.js.map +1 -1
- package/dist/index.es284.js +7 -14
- package/dist/index.es284.js.map +1 -1
- package/dist/index.es285.js +3 -6
- package/dist/index.es285.js.map +1 -1
- package/dist/index.es286.js +14 -12
- package/dist/index.es286.js.map +1 -1
- package/dist/index.es287.js +6 -7
- package/dist/index.es287.js.map +1 -1
- package/dist/index.es291.js +1 -1
- package/dist/index.es34.js +4 -4
- package/dist/index.es35.js +1 -1
- package/dist/index.es36.js +1 -1
- package/dist/index.es53.js +2 -2
- package/dist/index.es54.js +3 -3
- package/dist/index.es58.js +9 -9
- package/dist/index.es62.js +13 -9
- package/dist/index.es62.js.map +1 -1
- package/dist/index.es63.js +32 -4
- package/dist/index.es63.js.map +1 -1
- package/dist/index.es64.js +93 -11
- package/dist/index.es64.js.map +1 -1
- package/dist/index.es65.js +20 -5
- package/dist/index.es65.js.map +1 -1
- package/dist/index.es66.js +27 -14
- package/dist/index.es66.js.map +1 -1
- package/dist/index.es67.js +54 -9
- package/dist/index.es67.js.map +1 -1
- package/dist/index.es68.js +29 -6
- package/dist/index.es68.js.map +1 -1
- package/dist/index.es69.js +40 -10
- package/dist/index.es69.js.map +1 -1
- package/dist/index.es70.js +8 -7
- package/dist/index.es70.js.map +1 -1
- package/dist/index.es71.js +4 -20
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +11 -26
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +6 -13
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +14 -32
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +9 -94
- package/dist/index.es75.js.map +1 -1
- package/dist/index.es76.js +5 -54
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +10 -29
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +8 -40
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +1 -1
- package/dist/index.es8.js +1 -1
- package/dist/index.es80.js +1 -1
- package/dist/index.es81.js +1 -1
- package/package.json +1 -1
package/dist/index.es269.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es269.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index.es269.js","sources":["../../../node_modules/@juggle/resize-observer/lib/ResizeObserverBoxOptions.js"],"sourcesContent":["var ResizeObserverBoxOptions;\n(function (ResizeObserverBoxOptions) {\n ResizeObserverBoxOptions[\"BORDER_BOX\"] = \"border-box\";\n ResizeObserverBoxOptions[\"CONTENT_BOX\"] = \"content-box\";\n ResizeObserverBoxOptions[\"DEVICE_PIXEL_CONTENT_BOX\"] = \"device-pixel-content-box\";\n})(ResizeObserverBoxOptions || (ResizeObserverBoxOptions = {}));\nexport { ResizeObserverBoxOptions };\n"],"names":["ResizeObserverBoxOptions"],"mappings":"AAAI,IAAAA;AAAA,CACH,SAAUA,GAA0B;AACjCA,EAAAA,EAAyB,aAAgB,cACzCA,EAAyB,cAAiB,eAC1CA,EAAyB,2BAA8B;AAC3D,GAAGA,MAA6BA,IAA2B,CAAA,EAAG;","x_google_ignoreList":[0]}
|
package/dist/index.es270.js
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import { freeze as u } from "./index.es248.js";
|
|
2
|
+
var d = function() {
|
|
3
|
+
function h(t, i, o, e) {
|
|
4
|
+
return this.x = t, this.y = i, this.width = o, this.height = e, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, u(this);
|
|
5
|
+
}
|
|
6
|
+
return h.prototype.toJSON = function() {
|
|
7
|
+
var t = this, i = t.x, o = t.y, e = t.top, r = t.right, s = t.bottom, n = t.left, f = t.width, p = t.height;
|
|
8
|
+
return { x: i, y: o, top: e, right: r, bottom: s, left: n, width: f, height: p };
|
|
9
|
+
}, h.fromRect = function(t) {
|
|
10
|
+
return new h(t.x, t.y, t.width, t.height);
|
|
11
|
+
}, h;
|
|
12
|
+
}();
|
|
2
13
|
export {
|
|
3
|
-
|
|
14
|
+
d as DOMRectReadOnly
|
|
4
15
|
};
|
|
5
16
|
//# sourceMappingURL=index.es270.js.map
|
package/dist/index.es270.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es270.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
1
|
+
{"version":3,"file":"index.es270.js","sources":["../../../node_modules/@juggle/resize-observer/lib/DOMRectReadOnly.js"],"sourcesContent":["import { freeze } from './utils/freeze';\nvar DOMRectReadOnly = (function () {\n function DOMRectReadOnly(x, y, width, height) {\n this.x = x;\n this.y = y;\n this.width = width;\n this.height = height;\n this.top = this.y;\n this.left = this.x;\n this.bottom = this.top + this.height;\n this.right = this.left + this.width;\n return freeze(this);\n }\n DOMRectReadOnly.prototype.toJSON = function () {\n var _a = this, x = _a.x, y = _a.y, top = _a.top, right = _a.right, bottom = _a.bottom, left = _a.left, width = _a.width, height = _a.height;\n return { x: x, y: y, top: top, right: right, bottom: bottom, left: left, width: width, height: height };\n };\n DOMRectReadOnly.fromRect = function (rectangle) {\n return new DOMRectReadOnly(rectangle.x, rectangle.y, rectangle.width, rectangle.height);\n };\n return DOMRectReadOnly;\n}());\nexport { DOMRectReadOnly };\n"],"names":["DOMRectReadOnly","x","y","width","height","freeze","_a","top","right","bottom","left","rectangle"],"mappings":";AACA,IAAIA,IAAmB,WAAY;AAC/B,WAASA,EAAgBC,GAAGC,GAAGC,GAAOC,GAAQ;AAC1C,gBAAK,IAAIH,GACT,KAAK,IAAIC,GACT,KAAK,QAAQC,GACb,KAAK,SAASC,GACd,KAAK,MAAM,KAAK,GAChB,KAAK,OAAO,KAAK,GACZ,KAAA,SAAS,KAAK,MAAM,KAAK,QACzB,KAAA,QAAQ,KAAK,OAAO,KAAK,OACvBC,EAAO,IAAI;AAAA,EACtB;AACAL,SAAAA,EAAgB,UAAU,SAAS,WAAY;AACvC,QAAAM,IAAK,MAAML,IAAIK,EAAG,GAAGJ,IAAII,EAAG,GAAGC,IAAMD,EAAG,KAAKE,IAAQF,EAAG,OAAOG,IAASH,EAAG,QAAQI,IAAOJ,EAAG,MAAMH,IAAQG,EAAG,OAAOF,IAASE,EAAG;AAC9H,WAAA,EAAE,GAAAL,GAAM,GAAAC,GAAM,KAAAK,GAAU,OAAAC,GAAc,QAAAC,GAAgB,MAAAC,GAAY,OAAAP,GAAc,QAAAC;EAAe,GAE1GJ,EAAgB,WAAW,SAAUW,GAAW;AACrC,WAAA,IAAIX,EAAgBW,EAAU,GAAGA,EAAU,GAAGA,EAAU,OAAOA,EAAU,MAAM;AAAA,EAAA,GAEnFX;AACX,EAAE;","x_google_ignoreList":[0]}
|
package/dist/index.es271.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
var
|
|
2
|
-
(function(o) {
|
|
3
|
-
o.BORDER_BOX = "border-box", o.CONTENT_BOX = "content-box", o.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
|
|
4
|
-
})(E || (E = {}));
|
|
1
|
+
var o = typeof window < "u" ? window : {};
|
|
5
2
|
export {
|
|
6
|
-
|
|
3
|
+
o as global
|
|
7
4
|
};
|
|
8
5
|
//# sourceMappingURL=index.es271.js.map
|
package/dist/index.es271.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es271.js","sources":["../../../node_modules/@juggle/resize-observer/lib/
|
|
1
|
+
{"version":3,"file":"index.es271.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/global.js"],"sourcesContent":["export var global = typeof window !== 'undefined' ? window : {};\n"],"names":["global"],"mappings":"AAAO,IAAIA,IAAS,OAAO,SAAW,MAAc,SAAS,CAAA;","x_google_ignoreList":[0]}
|
package/dist/index.es272.js
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
var d = function() {
|
|
3
|
-
function h(t, i, o, e) {
|
|
4
|
-
return this.x = t, this.y = i, this.width = o, this.height = e, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, u(this);
|
|
5
|
-
}
|
|
6
|
-
return h.prototype.toJSON = function() {
|
|
7
|
-
var t = this, i = t.x, o = t.y, e = t.top, r = t.right, s = t.bottom, n = t.left, f = t.width, p = t.height;
|
|
8
|
-
return { x: i, y: o, top: e, right: r, bottom: s, left: n, width: f, height: p };
|
|
9
|
-
}, h.fromRect = function(t) {
|
|
10
|
-
return new h(t.x, t.y, t.width, t.height);
|
|
11
|
-
}, h;
|
|
12
|
-
}();
|
|
1
|
+
var r = {};
|
|
13
2
|
export {
|
|
14
|
-
|
|
3
|
+
r as __exports
|
|
15
4
|
};
|
|
16
5
|
//# sourceMappingURL=index.es272.js.map
|
package/dist/index.es272.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es272.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.es272.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index.es273.js
CHANGED
package/dist/index.es273.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es273.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.es273.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index.es274.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { process as f } from "./index.
|
|
2
|
-
import { global as s } from "./index.
|
|
3
|
-
import { queueResizeObserver as h } from "./index.
|
|
1
|
+
import { process as f } from "./index.es283.js";
|
|
2
|
+
import { global as s } from "./index.es271.js";
|
|
3
|
+
import { queueResizeObserver as h } from "./index.es284.js";
|
|
4
4
|
var n = 0, d = function() {
|
|
5
5
|
return !!n;
|
|
6
6
|
}, p = 250, l = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, u = [
|
package/dist/index.es275.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ResizeObserverBoxOptions as r } from "./index.
|
|
2
|
-
import { calculateBoxSize as o } from "./index.
|
|
1
|
+
import { ResizeObserverBoxOptions as r } from "./index.es269.js";
|
|
2
|
+
import { calculateBoxSize as o } from "./index.es69.js";
|
|
3
3
|
import { isSVG as s, isReplacedElement as n } from "./index.es246.js";
|
|
4
4
|
var l = function(e) {
|
|
5
5
|
return !s(e) && !n(e) && getComputedStyle(e).display === "inline";
|
package/dist/index.es280.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as a } from "./index.
|
|
2
|
-
import { _ as n } from "./index.
|
|
3
|
-
import { _ as e } from "./index.
|
|
1
|
+
import { _ as a } from "./index.es285.js";
|
|
2
|
+
import { _ as n } from "./index.es286.js";
|
|
3
|
+
import { _ as e } from "./index.es287.js";
|
|
4
4
|
var o = a, g = n, i = e, T = "[object Null]", b = "[object Undefined]", r = o ? o.toStringTag : void 0;
|
|
5
5
|
function m(t) {
|
|
6
6
|
return t == null ? t === void 0 ? b : T : r && r in Object(t) ? g(t) : i(t);
|
package/dist/index.es283.js
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { hasActiveObservations as t } from "./index.es288.js";
|
|
2
|
+
import { hasSkippedObservations as e } from "./index.es289.js";
|
|
3
|
+
import { deliverResizeLoopError as i } from "./index.es290.js";
|
|
4
|
+
import { broadcastActiveObservations as s } from "./index.es291.js";
|
|
5
|
+
import { gatherActiveObservationsAtDepth as o } from "./index.es292.js";
|
|
6
|
+
var n = function() {
|
|
7
|
+
var r = 0;
|
|
8
|
+
for (o(r); t(); )
|
|
9
|
+
r = s(), o(r);
|
|
10
|
+
return e() && i(), r > 0;
|
|
11
|
+
};
|
|
3
12
|
export {
|
|
4
|
-
|
|
13
|
+
n as process
|
|
5
14
|
};
|
|
6
15
|
//# sourceMappingURL=index.es283.js.map
|
package/dist/index.es283.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es283.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es283.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/process.js"],"sourcesContent":["import { hasActiveObservations } from '../algorithms/hasActiveObservations';\nimport { hasSkippedObservations } from '../algorithms/hasSkippedObservations';\nimport { deliverResizeLoopError } from '../algorithms/deliverResizeLoopError';\nimport { broadcastActiveObservations } from '../algorithms/broadcastActiveObservations';\nimport { gatherActiveObservationsAtDepth } from '../algorithms/gatherActiveObservationsAtDepth';\nvar process = function () {\n var depth = 0;\n gatherActiveObservationsAtDepth(depth);\n while (hasActiveObservations()) {\n depth = broadcastActiveObservations();\n gatherActiveObservationsAtDepth(depth);\n }\n if (hasSkippedObservations()) {\n deliverResizeLoopError();\n }\n return depth > 0;\n};\nexport { process };\n"],"names":["process","depth","gatherActiveObservationsAtDepth","hasActiveObservations","broadcastActiveObservations","hasSkippedObservations","deliverResizeLoopError"],"mappings":";;;;;AAKA,IAAIA,IAAU,WAAY;AACtB,MAAIC,IAAQ;AAEZ,OADAC,EAAgCD,CAAK,GAC9BE;AACH,IAAAF,IAAQG,EAA4B,GACpCF,EAAgCD,CAAK;AAEzC,SAAII,OACuBC,KAEpBL,IAAQ;AACnB;","x_google_ignoreList":[0]}
|
package/dist/index.es284.js
CHANGED
|
@@ -1,17 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var
|
|
3
|
-
function
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
var g = !0;
|
|
8
|
-
} catch {
|
|
9
|
-
}
|
|
10
|
-
var n = v.call(r);
|
|
11
|
-
return g && (e ? r[t] = i : delete r[t]), n;
|
|
12
|
-
}
|
|
13
|
-
var T = y;
|
|
1
|
+
import { queueMicroTask as r } from "./index.es293.js";
|
|
2
|
+
var u = function(e) {
|
|
3
|
+
r(function() {
|
|
4
|
+
requestAnimationFrame(e);
|
|
5
|
+
});
|
|
6
|
+
};
|
|
14
7
|
export {
|
|
15
|
-
|
|
8
|
+
u as queueResizeObserver
|
|
16
9
|
};
|
|
17
10
|
//# sourceMappingURL=index.es284.js.map
|
package/dist/index.es284.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es284.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.es284.js","sources":["../../../node_modules/@juggle/resize-observer/lib/utils/queueResizeObserver.js"],"sourcesContent":["import { queueMicroTask } from './queueMicroTask';\nvar queueResizeObserver = function (cb) {\n queueMicroTask(function ResizeObserver() {\n requestAnimationFrame(cb);\n });\n};\nexport { queueResizeObserver };\n"],"names":["queueResizeObserver","cb","queueMicroTask"],"mappings":";AACI,IAAAA,IAAsB,SAAUC,GAAI;AACpC,EAAAC,EAAe,WAA0B;AACrC,0BAAsBD,CAAE;AAAA,EAAA,CAC3B;AACL;","x_google_ignoreList":[0]}
|
package/dist/index.es285.js
CHANGED
package/dist/index.es285.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es285.js","sources":["../../../node_modules/lodash/
|
|
1
|
+
{"version":3,"file":"index.es285.js","sources":["../../../node_modules/lodash/_Symbol.js"],"sourcesContent":["var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n"],"names":["root","require$$0","Symbol","_Symbol"],"mappings":";AAAA,IAAIA,IAAOC,GAGPC,IAASF,EAAK,QAElBG,IAAiBD;","x_google_ignoreList":[0]}
|
package/dist/index.es286.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { _ as c } from "./index.es285.js";
|
|
2
|
+
var a = c, o = Object.prototype, s = o.hasOwnProperty, v = o.toString, t = a ? a.toStringTag : void 0;
|
|
3
|
+
function y(r) {
|
|
4
|
+
var e = s.call(r, t), i = r[t];
|
|
5
|
+
try {
|
|
6
|
+
r[t] = void 0;
|
|
7
|
+
var g = !0;
|
|
8
|
+
} catch {
|
|
9
|
+
}
|
|
10
|
+
var n = v.call(r);
|
|
11
|
+
return g && (e ? r[t] = i : delete r[t]), n;
|
|
12
|
+
}
|
|
13
|
+
var T = y;
|
|
12
14
|
export {
|
|
13
|
-
|
|
15
|
+
T as _
|
|
14
16
|
};
|
|
15
17
|
//# sourceMappingURL=index.es286.js.map
|
package/dist/index.es286.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es286.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index.es286.js","sources":["../../../node_modules/lodash/_getRawTag.js"],"sourcesContent":["var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n"],"names":["Symbol","require$$0","objectProto","hasOwnProperty","nativeObjectToString","symToStringTag","getRawTag","value","isOwn","tag","unmasked","result","_getRawTag"],"mappings":";AAAA,IAAIA,IAASC,GAGTC,IAAc,OAAO,WAGrBC,IAAiBD,EAAY,gBAO7BE,IAAuBF,EAAY,UAGnCG,IAAiBL,IAASA,EAAO,cAAc;AASnD,SAASM,EAAUC,GAAO;AACpB,MAAAC,IAAQL,EAAe,KAAKI,GAAOF,CAAc,GACjDI,IAAMF,EAAMF,CAAc;AAE1B,MAAA;AACF,IAAAE,EAAMF,CAAc,IAAI;AACxB,QAAIK,IAAW;AAAA,UACL;AAAA,EAAC;AAET,MAAAC,IAASP,EAAqB,KAAKG,CAAK;AAC5C,SAAIG,MACEF,IACFD,EAAMF,CAAc,IAAII,IAExB,OAAOF,EAAMF,CAAc,IAGxBM;AACT;AAEA,IAAAC,IAAiBN;","x_google_ignoreList":[0]}
|
package/dist/index.es287.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
r(
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
var o = Object.prototype, r = o.toString;
|
|
2
|
+
function e(t) {
|
|
3
|
+
return r.call(t);
|
|
4
|
+
}
|
|
5
|
+
var n = e;
|
|
7
6
|
export {
|
|
8
|
-
|
|
7
|
+
n as _
|
|
9
8
|
};
|
|
10
9
|
//# sourceMappingURL=index.es287.js.map
|
package/dist/index.es287.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es287.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index.es287.js","sources":["../../../node_modules/lodash/_objectToString.js"],"sourcesContent":["/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n"],"names":["objectProto","nativeObjectToString","objectToString","value","_objectToString"],"mappings":"AACA,IAAIA,IAAc,OAAO,WAOrBC,IAAuBD,EAAY;AASvC,SAASE,EAAeC,GAAO;AACtB,SAAAF,EAAqB,KAAKE,CAAK;AACxC;AAEA,IAAAC,IAAiBF;","x_google_ignoreList":[0]}
|
package/dist/index.es291.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resizeObservers as f } from "./index.es277.js";
|
|
2
2
|
import { ResizeObserverEntry as p } from "./index.es247.js";
|
|
3
3
|
import { calculateDepthForNode as g } from "./index.es294.js";
|
|
4
|
-
import { calculateBoxSize as b } from "./index.
|
|
4
|
+
import { calculateBoxSize as b } from "./index.es69.js";
|
|
5
5
|
var T = function() {
|
|
6
6
|
var t = 1 / 0, s = [];
|
|
7
7
|
f.forEach(function(e) {
|
package/dist/index.es34.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import d from "./index.
|
|
1
|
+
import d from "./index.es62.js";
|
|
2
2
|
import m from "react";
|
|
3
|
-
import b from "./index.
|
|
4
|
-
import { ResizeObserver as O } from "./index.
|
|
5
|
-
import "./index.
|
|
3
|
+
import b from "./index.es67.js";
|
|
4
|
+
import { ResizeObserver as O } from "./index.es68.js";
|
|
5
|
+
import "./index.es69.js";
|
|
6
6
|
function f() {
|
|
7
7
|
return f = Object.assign ? Object.assign.bind() : function(n) {
|
|
8
8
|
for (var e = 1; e < arguments.length; e++) {
|
package/dist/index.es35.js
CHANGED
package/dist/index.es36.js
CHANGED
package/dist/index.es53.js
CHANGED
package/dist/index.es54.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import d from "./index.
|
|
1
|
+
import d from "./index.es62.js";
|
|
2
2
|
import sa, { useRef as ca, useState as I, useCallback as l } from "react";
|
|
3
|
-
import { useGesture as Ma } from "./index.
|
|
4
|
-
import { applyMatrixToPoint as Da, applyInverseMatrixToPoint as K, composeMatrices as oa, translateMatrix as z, scaleMatrix as Sa, inverseMatrix as wa, identityMatrix as Pa } from "./index.
|
|
3
|
+
import { useGesture as Ma } from "./index.es63.js";
|
|
4
|
+
import { applyMatrixToPoint as Da, applyInverseMatrixToPoint as K, composeMatrices as oa, translateMatrix as z, scaleMatrix as Sa, inverseMatrix as wa, identityMatrix as Pa } from "./index.es64.js";
|
|
5
5
|
import B from "./index.es53.js";
|
|
6
6
|
function F() {
|
|
7
7
|
return F = Object.assign ? Object.assign.bind() : function(s) {
|
package/dist/index.es58.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import Y from "./index.
|
|
2
|
-
import k from "./index.
|
|
3
|
-
import j from "./index.
|
|
4
|
-
import _ from "./index.
|
|
5
|
-
import ne from "./index.
|
|
6
|
-
import G from "./index.
|
|
7
|
-
import E from "./index.
|
|
8
|
-
import D from "./index.
|
|
9
|
-
import $e from "./index.
|
|
1
|
+
import Y from "./index.es70.js";
|
|
2
|
+
import k from "./index.es71.js";
|
|
3
|
+
import j from "./index.es72.js";
|
|
4
|
+
import _ from "./index.es73.js";
|
|
5
|
+
import ne from "./index.es74.js";
|
|
6
|
+
import G from "./index.es75.js";
|
|
7
|
+
import E from "./index.es76.js";
|
|
8
|
+
import D from "./index.es77.js";
|
|
9
|
+
import $e from "./index.es78.js";
|
|
10
10
|
function ye(o, a) {
|
|
11
11
|
var n = Object.keys(o);
|
|
12
12
|
if (Object.getOwnPropertySymbols) {
|
package/dist/index.es62.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { getDefaultExportFromCjs as e } from "./index.es190.js";
|
|
2
|
+
import { __module as r } from "./index.es191.js";
|
|
3
|
+
import { __require as o } from "./index.es192.js";
|
|
4
|
+
import { __require as t } from "./index.es193.js";
|
|
5
|
+
import { __require as p } from "./index.es194.js";
|
|
6
|
+
if (process.env.NODE_ENV !== "production") {
|
|
7
|
+
var s = o(), i = !0;
|
|
8
|
+
r.exports = t()(s.isElement, i);
|
|
9
|
+
} else
|
|
10
|
+
r.exports = p()();
|
|
11
|
+
var m = r.exports;
|
|
12
|
+
const q = /* @__PURE__ */ e(m);
|
|
9
13
|
export {
|
|
10
|
-
|
|
14
|
+
q as default
|
|
11
15
|
};
|
|
12
16
|
//# sourceMappingURL=index.es62.js.map
|
package/dist/index.es62.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es62.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index.es62.js","sources":["../../../node_modules/prop-types/index.js"],"sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n"],"names":["ReactIs","require$$0","throwOnDirectAccess","propTypesModule","require$$1","require$$2"],"mappings":";;;;;AAOA,IAAI,QAAQ,IAAI,aAAa,cAAc;AACrC,MAAAA,IAAUC,KAIVC,IAAsB;AAC1BC,EAAAA,EAAA,UAAiBC,EAAA,EAAqCJ,EAAQ,WAAWE,CAAmB;AAC9F;AAGSC,EAAAA,EAAA,UAAUE,EAAsC;;;","x_google_ignoreList":[0]}
|
package/dist/index.es63.js
CHANGED
|
@@ -1,8 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import s from "react";
|
|
2
|
+
import { parseMergedHandlers as a, Controller as f } from "./index.es198.js";
|
|
3
|
+
import { r as u, e as l, f as p, s as d, w as m, m as g, h } from "./index.es199.js";
|
|
4
|
+
import { C as H, E as R } from "./index.es199.js";
|
|
5
|
+
function v(r, n = {}, o, t) {
|
|
6
|
+
const e = s.useMemo(() => new f(r), []);
|
|
7
|
+
if (e.applyHandlers(r, t), e.applyConfig(n, o), s.useEffect(e.effect.bind(e)), s.useEffect(() => e.clean.bind(e), []), n.target === void 0)
|
|
8
|
+
return e.bind.bind(e);
|
|
9
|
+
}
|
|
10
|
+
function A(r) {
|
|
11
|
+
return r.forEach(u), function(o, t) {
|
|
12
|
+
const {
|
|
13
|
+
handlers: e,
|
|
14
|
+
nativeHandlers: i,
|
|
15
|
+
config: c
|
|
16
|
+
} = a(o, t || {});
|
|
17
|
+
return v(e, c, void 0, i);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function M(r, n) {
|
|
21
|
+
return A([l, p, d, m, g, h])(r, n || {});
|
|
4
22
|
}
|
|
5
23
|
export {
|
|
6
|
-
|
|
24
|
+
H as ConfigResolverMap,
|
|
25
|
+
R as EngineMap,
|
|
26
|
+
A as createUseGesture,
|
|
27
|
+
l as dragAction,
|
|
28
|
+
h as hoverAction,
|
|
29
|
+
g as moveAction,
|
|
30
|
+
p as pinchAction,
|
|
31
|
+
u as registerAction,
|
|
32
|
+
d as scrollAction,
|
|
33
|
+
M as useGesture,
|
|
34
|
+
m as wheelAction
|
|
7
35
|
};
|
|
8
36
|
//# sourceMappingURL=index.es63.js.map
|
package/dist/index.es63.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es63.js","sources":["../../../node_modules/@
|
|
1
|
+
{"version":3,"file":"index.es63.js","sources":["../../../node_modules/@use-gesture/react/dist/use-gesture-react.esm.js"],"sourcesContent":["import { registerAction, dragAction, pinchAction, wheelAction, scrollAction, moveAction, hoverAction } from '@use-gesture/core/actions';\nexport * from '@use-gesture/core/actions';\nimport React from 'react';\nimport { Controller, parseMergedHandlers } from '@use-gesture/core';\nexport * from '@use-gesture/core/utils';\nexport * from '@use-gesture/core/types';\n\nfunction useRecognizers(handlers, config = {}, gestureKey, nativeHandlers) {\n const ctrl = React.useMemo(() => new Controller(handlers), []);\n ctrl.applyHandlers(handlers, nativeHandlers);\n ctrl.applyConfig(config, gestureKey);\n React.useEffect(ctrl.effect.bind(ctrl));\n React.useEffect(() => {\n return ctrl.clean.bind(ctrl);\n }, []);\n if (config.target === undefined) {\n return ctrl.bind.bind(ctrl);\n }\n return undefined;\n}\n\nfunction useDrag(handler, config) {\n registerAction(dragAction);\n return useRecognizers({\n drag: handler\n }, config || {}, 'drag');\n}\n\nfunction usePinch(handler, config) {\n registerAction(pinchAction);\n return useRecognizers({\n pinch: handler\n }, config || {}, 'pinch');\n}\n\nfunction useWheel(handler, config) {\n registerAction(wheelAction);\n return useRecognizers({\n wheel: handler\n }, config || {}, 'wheel');\n}\n\nfunction useScroll(handler, config) {\n registerAction(scrollAction);\n return useRecognizers({\n scroll: handler\n }, config || {}, 'scroll');\n}\n\nfunction useMove(handler, config) {\n registerAction(moveAction);\n return useRecognizers({\n move: handler\n }, config || {}, 'move');\n}\n\nfunction useHover(handler, config) {\n registerAction(hoverAction);\n return useRecognizers({\n hover: handler\n }, config || {}, 'hover');\n}\n\nfunction createUseGesture(actions) {\n actions.forEach(registerAction);\n return function useGesture(_handlers, _config) {\n const {\n handlers,\n nativeHandlers,\n config\n } = parseMergedHandlers(_handlers, _config || {});\n return useRecognizers(handlers, config, undefined, nativeHandlers);\n };\n}\n\nfunction useGesture(handlers, config) {\n const hook = createUseGesture([dragAction, pinchAction, scrollAction, wheelAction, moveAction, hoverAction]);\n return hook(handlers, config || {});\n}\n\nexport { createUseGesture, useDrag, useGesture, useHover, useMove, usePinch, useScroll, useWheel };\n"],"names":["useRecognizers","handlers","config","gestureKey","nativeHandlers","ctrl","React","Controller","createUseGesture","actions","registerAction","_handlers","_config","parseMergedHandlers","useGesture","dragAction","pinchAction","scrollAction","wheelAction","moveAction","hoverAction"],"mappings":";;;;AAOA,SAASA,EAAeC,GAAUC,IAAS,CAAA,GAAIC,GAAYC,GAAgB;AACnE,QAAAC,IAAOC,EAAM,QAAQ,MAAM,IAAIC,EAAWN,CAAQ,GAAG,CAAA,CAAE;AAOzD,MANCI,EAAA,cAAcJ,GAAUG,CAAc,GACtCC,EAAA,YAAYH,GAAQC,CAAU,GACnCG,EAAM,UAAUD,EAAK,OAAO,KAAKA,CAAI,CAAC,GACtCC,EAAM,UAAU,MACPD,EAAK,MAAM,KAAKA,CAAI,GAC1B,CAAE,CAAA,GACDH,EAAO,WAAW;AACb,WAAAG,EAAK,KAAK,KAAKA,CAAI;AAG9B;AA4CA,SAASG,EAAiBC,GAAS;AACjC,SAAAA,EAAQ,QAAQC,CAAc,GACvB,SAAoBC,GAAWC,GAAS;AACvC,UAAA;AAAA,MACJ,UAAAX;AAAA,MACA,gBAAAG;AAAA,MACA,QAAAF;AAAA,IACE,IAAAW,EAAoBF,GAAWC,KAAW,CAAE,CAAA;AAChD,WAAOZ,EAAeC,GAAUC,GAAQ,QAAWE,CAAc;AAAA,EAAA;AAErE;AAEA,SAASU,EAAWb,GAAUC,GAAQ;AAEpC,SADaM,EAAiB,CAACO,GAAYC,GAAaC,GAAcC,GAAaC,GAAYC,CAAW,CAAC,EAC/FnB,GAAUC,KAAU,CAAE,CAAA;AACpC;","x_google_ignoreList":[0]}
|
package/dist/index.es64.js
CHANGED
|
@@ -1,16 +1,98 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
function f() {
|
|
2
|
+
return {
|
|
3
|
+
scaleX: 1,
|
|
4
|
+
scaleY: 1,
|
|
5
|
+
translateX: 0,
|
|
6
|
+
translateY: 0,
|
|
7
|
+
skewX: 0,
|
|
8
|
+
skewY: 0
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
function w(e) {
|
|
12
|
+
var s = e.scaleX, a = s === void 0 ? 1 : s, n = e.scaleY, r = n === void 0 ? 1 : n, t = e.translateX, c = t === void 0 ? 0 : t, l = e.translateY, u = l === void 0 ? 0 : l, X = e.skewX, k = X === void 0 ? 0 : X, Y = e.skewY, v = Y === void 0 ? 0 : Y;
|
|
13
|
+
return {
|
|
14
|
+
scaleX: a,
|
|
15
|
+
scaleY: r,
|
|
16
|
+
translateX: c,
|
|
17
|
+
translateY: u,
|
|
18
|
+
skewX: k,
|
|
19
|
+
skewY: v
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function d(e) {
|
|
23
|
+
var s = e.scaleX, a = e.scaleY, n = e.translateX, r = e.translateY, t = e.skewX, c = e.skewY, l = s * a - c * t;
|
|
24
|
+
return {
|
|
25
|
+
scaleX: a / l,
|
|
26
|
+
scaleY: s / l,
|
|
27
|
+
translateX: (a * n - t * r) / -l,
|
|
28
|
+
translateY: (c * n - s * r) / l,
|
|
29
|
+
skewX: t / -l,
|
|
30
|
+
skewY: c / -l
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function p(e, s) {
|
|
34
|
+
var a = s.x, n = s.y;
|
|
35
|
+
return {
|
|
36
|
+
x: e.scaleX * a + e.skewX * n + e.translateX,
|
|
37
|
+
y: e.skewY * a + e.scaleY * n + e.translateY
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function g(e, s) {
|
|
41
|
+
var a = s.x, n = s.y;
|
|
42
|
+
return p(d(e), {
|
|
43
|
+
x: a,
|
|
44
|
+
y: n
|
|
45
|
+
});
|
|
7
46
|
}
|
|
8
|
-
function
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
47
|
+
function y(e, s) {
|
|
48
|
+
s === void 0 && (s = void 0);
|
|
49
|
+
var a = s || e;
|
|
50
|
+
return w({
|
|
51
|
+
scaleX: e,
|
|
52
|
+
scaleY: a
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
function $(e, s) {
|
|
56
|
+
return w({
|
|
57
|
+
translateX: e,
|
|
58
|
+
translateY: s
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function o(e, s) {
|
|
62
|
+
return {
|
|
63
|
+
scaleX: e.scaleX * s.scaleX + e.skewX * s.skewY,
|
|
64
|
+
scaleY: e.skewY * s.skewX + e.scaleY * s.scaleY,
|
|
65
|
+
translateX: e.scaleX * s.translateX + e.skewX * s.translateY + e.translateX,
|
|
66
|
+
translateY: e.skewY * s.translateX + e.scaleY * s.translateY + e.translateY,
|
|
67
|
+
skewX: e.scaleX * s.skewX + e.skewX * s.scaleY,
|
|
68
|
+
skewY: e.skewY * s.scaleX + e.scaleY * s.skewY
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
function M() {
|
|
72
|
+
for (var e = arguments.length, s = new Array(e), a = 0; a < e; a++)
|
|
73
|
+
s[a] = arguments[a];
|
|
74
|
+
switch (s.length) {
|
|
75
|
+
case 0:
|
|
76
|
+
throw new Error("composeMatrices() requires arguments: was called with no args");
|
|
77
|
+
case 1:
|
|
78
|
+
return s[0];
|
|
79
|
+
case 2:
|
|
80
|
+
return o(s[0], s[1]);
|
|
81
|
+
default: {
|
|
82
|
+
var n = s[0], r = s[1], t = s.slice(2), c = o(n, r);
|
|
83
|
+
return M.apply(void 0, [c].concat(t));
|
|
84
|
+
}
|
|
85
|
+
}
|
|
12
86
|
}
|
|
13
87
|
export {
|
|
14
|
-
|
|
88
|
+
g as applyInverseMatrixToPoint,
|
|
89
|
+
p as applyMatrixToPoint,
|
|
90
|
+
M as composeMatrices,
|
|
91
|
+
w as createMatrix,
|
|
92
|
+
f as identityMatrix,
|
|
93
|
+
d as inverseMatrix,
|
|
94
|
+
o as multiplyMatrices,
|
|
95
|
+
y as scaleMatrix,
|
|
96
|
+
$ as translateMatrix
|
|
15
97
|
};
|
|
16
98
|
//# sourceMappingURL=index.es64.js.map
|
package/dist/index.es64.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es64.js","sources":["../../../node_modules/@
|
|
1
|
+
{"version":3,"file":"index.es64.js","sources":["../../../node_modules/@visx/zoom/esm/util/matrix.js"],"sourcesContent":["export function identityMatrix() {\n return {\n scaleX: 1,\n scaleY: 1,\n translateX: 0,\n translateY: 0,\n skewX: 0,\n skewY: 0\n };\n}\nexport function createMatrix(_ref) {\n var _ref$scaleX = _ref.scaleX,\n scaleX = _ref$scaleX === void 0 ? 1 : _ref$scaleX,\n _ref$scaleY = _ref.scaleY,\n scaleY = _ref$scaleY === void 0 ? 1 : _ref$scaleY,\n _ref$translateX = _ref.translateX,\n translateX = _ref$translateX === void 0 ? 0 : _ref$translateX,\n _ref$translateY = _ref.translateY,\n translateY = _ref$translateY === void 0 ? 0 : _ref$translateY,\n _ref$skewX = _ref.skewX,\n skewX = _ref$skewX === void 0 ? 0 : _ref$skewX,\n _ref$skewY = _ref.skewY,\n skewY = _ref$skewY === void 0 ? 0 : _ref$skewY;\n return {\n scaleX: scaleX,\n scaleY: scaleY,\n translateX: translateX,\n translateY: translateY,\n skewX: skewX,\n skewY: skewY\n };\n}\nexport function inverseMatrix(_ref2) {\n var scaleX = _ref2.scaleX,\n scaleY = _ref2.scaleY,\n translateX = _ref2.translateX,\n translateY = _ref2.translateY,\n skewX = _ref2.skewX,\n skewY = _ref2.skewY;\n var denominator = scaleX * scaleY - skewY * skewX;\n return {\n scaleX: scaleY / denominator,\n scaleY: scaleX / denominator,\n translateX: (scaleY * translateX - skewX * translateY) / -denominator,\n translateY: (skewY * translateX - scaleX * translateY) / denominator,\n skewX: skewX / -denominator,\n skewY: skewY / -denominator\n };\n}\nexport function applyMatrixToPoint(matrix, _ref3) {\n var x = _ref3.x,\n y = _ref3.y;\n return {\n x: matrix.scaleX * x + matrix.skewX * y + matrix.translateX,\n y: matrix.skewY * x + matrix.scaleY * y + matrix.translateY\n };\n}\nexport function applyInverseMatrixToPoint(matrix, _ref4) {\n var x = _ref4.x,\n y = _ref4.y;\n return applyMatrixToPoint(inverseMatrix(matrix), {\n x: x,\n y: y\n });\n}\nexport function scaleMatrix(scaleX, maybeScaleY) {\n if (maybeScaleY === void 0) {\n maybeScaleY = undefined;\n }\n var scaleY = maybeScaleY || scaleX;\n return createMatrix({\n scaleX: scaleX,\n scaleY: scaleY\n });\n}\nexport function translateMatrix(translateX, translateY) {\n return createMatrix({\n translateX: translateX,\n translateY: translateY\n });\n}\nexport function multiplyMatrices(matrix1, matrix2) {\n return {\n scaleX: matrix1.scaleX * matrix2.scaleX + matrix1.skewX * matrix2.skewY,\n scaleY: matrix1.skewY * matrix2.skewX + matrix1.scaleY * matrix2.scaleY,\n translateX: matrix1.scaleX * matrix2.translateX + matrix1.skewX * matrix2.translateY + matrix1.translateX,\n translateY: matrix1.skewY * matrix2.translateX + matrix1.scaleY * matrix2.translateY + matrix1.translateY,\n skewX: matrix1.scaleX * matrix2.skewX + matrix1.skewX * matrix2.scaleY,\n skewY: matrix1.skewY * matrix2.scaleX + matrix1.scaleY * matrix2.skewY\n };\n}\nexport function composeMatrices() {\n for (var _len = arguments.length, matrices = new Array(_len), _key = 0; _key < _len; _key++) {\n matrices[_key] = arguments[_key];\n }\n switch (matrices.length) {\n case 0:\n throw new Error('composeMatrices() requires arguments: was called with no args');\n case 1:\n return matrices[0];\n case 2:\n return multiplyMatrices(matrices[0], matrices[1]);\n default:\n {\n var matrix1 = matrices[0],\n matrix2 = matrices[1],\n restMatrices = matrices.slice(2);\n var matrix = multiplyMatrices(matrix1, matrix2);\n return composeMatrices.apply(void 0, [matrix].concat(restMatrices));\n }\n }\n}"],"names":["identityMatrix","createMatrix","_ref","_ref$scaleX","scaleX","_ref$scaleY","scaleY","_ref$translateX","translateX","_ref$translateY","translateY","_ref$skewX","skewX","_ref$skewY","skewY","inverseMatrix","_ref2","denominator","applyMatrixToPoint","matrix","_ref3","x","y","applyInverseMatrixToPoint","_ref4","scaleMatrix","maybeScaleY","translateMatrix","multiplyMatrices","matrix1","matrix2","composeMatrices","_len","matrices","_key","restMatrices"],"mappings":"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","x_google_ignoreList":[0]}
|