@hanzogui/floating 3.0.5 → 4.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/cjs/Floating.cjs +7 -5
- package/dist/cjs/Floating.native.js +18 -16
- package/dist/cjs/Floating.native.js.map +1 -1
- package/dist/cjs/index.cjs +28 -26
- package/dist/cjs/index.native.js +28 -26
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/interactions/PopupTriggerMap.cjs +21 -12
- package/dist/cjs/interactions/PopupTriggerMap.native.js +51 -27
- package/dist/cjs/interactions/PopupTriggerMap.native.js.map +1 -1
- package/dist/cjs/interactions/createFloatingEvents.cjs +21 -12
- package/dist/cjs/interactions/createFloatingEvents.native.js +22 -13
- package/dist/cjs/interactions/createFloatingEvents.native.js.map +1 -1
- package/dist/cjs/interactions/safePolygon.cjs +213 -131
- package/dist/cjs/interactions/safePolygon.native.js +182 -103
- package/dist/cjs/interactions/safePolygon.native.js.map +1 -1
- package/dist/cjs/interactions/types.cjs +7 -5
- package/dist/cjs/interactions/types.native.js +7 -5
- package/dist/cjs/interactions/types.native.js.map +1 -1
- package/dist/cjs/interactions/useClick.cjs +91 -49
- package/dist/cjs/interactions/useClick.native.js +96 -54
- package/dist/cjs/interactions/useClick.native.js.map +1 -1
- package/dist/cjs/interactions/useDelayGroup.cjs +63 -44
- package/dist/cjs/interactions/useDelayGroup.native.js +74 -58
- package/dist/cjs/interactions/useDelayGroup.native.js.map +1 -1
- package/dist/cjs/interactions/useFocus.cjs +73 -44
- package/dist/cjs/interactions/useFocus.native.js +75 -49
- package/dist/cjs/interactions/useFocus.native.js.map +1 -1
- package/dist/cjs/interactions/useHover.cjs +242 -109
- package/dist/cjs/interactions/useHover.native.js +268 -143
- package/dist/cjs/interactions/useHover.native.js.map +1 -1
- package/dist/cjs/interactions/useInnerOffset.cjs +88 -64
- package/dist/cjs/interactions/useInnerOffset.native.js +88 -65
- package/dist/cjs/interactions/useInnerOffset.native.js.map +1 -1
- package/dist/cjs/interactions/useInteractions.cjs +60 -31
- package/dist/cjs/interactions/useInteractions.native.js +133 -81
- package/dist/cjs/interactions/useInteractions.native.js.map +1 -1
- package/dist/cjs/interactions/useListNavigation.cjs +346 -181
- package/dist/cjs/interactions/useListNavigation.native.js +350 -214
- package/dist/cjs/interactions/useListNavigation.native.js.map +1 -1
- package/dist/cjs/interactions/useRole.cjs +83 -73
- package/dist/cjs/interactions/useRole.native.js +107 -99
- package/dist/cjs/interactions/useRole.native.js.map +1 -1
- package/dist/cjs/interactions/useTypeahead.cjs +115 -65
- package/dist/cjs/interactions/useTypeahead.native.js +122 -77
- package/dist/cjs/interactions/useTypeahead.native.js.map +1 -1
- package/dist/cjs/interactions/utils.cjs +68 -38
- package/dist/cjs/interactions/utils.native.js +93 -54
- package/dist/cjs/interactions/utils.native.js.map +1 -1
- package/dist/cjs/middleware/inner.cjs +80 -67
- package/dist/cjs/middleware/inner.native.js +87 -76
- package/dist/cjs/middleware/inner.native.js.map +1 -1
- package/dist/cjs/useFloating.cjs +48 -45
- package/dist/cjs/useFloating.native.js +50 -48
- package/dist/cjs/useFloating.native.js.map +1 -1
- package/dist/esm/Floating.native.js +5 -5
- package/dist/esm/Floating.native.js.map +1 -1
- package/dist/esm/interactions/PopupTriggerMap.mjs +9 -2
- package/dist/esm/interactions/PopupTriggerMap.mjs.map +1 -1
- package/dist/esm/interactions/PopupTriggerMap.native.js +39 -17
- package/dist/esm/interactions/PopupTriggerMap.native.js.map +1 -1
- package/dist/esm/interactions/createFloatingEvents.mjs +9 -2
- package/dist/esm/interactions/createFloatingEvents.mjs.map +1 -1
- package/dist/esm/interactions/createFloatingEvents.native.js +10 -3
- package/dist/esm/interactions/createFloatingEvents.native.js.map +1 -1
- package/dist/esm/interactions/safePolygon.mjs +201 -121
- package/dist/esm/interactions/safePolygon.mjs.map +1 -1
- package/dist/esm/interactions/safePolygon.native.js +170 -93
- package/dist/esm/interactions/safePolygon.native.js.map +1 -1
- package/dist/esm/interactions/useClick.mjs +79 -39
- package/dist/esm/interactions/useClick.mjs.map +1 -1
- package/dist/esm/interactions/useClick.native.js +82 -42
- package/dist/esm/interactions/useClick.native.js.map +1 -1
- package/dist/esm/interactions/useDelayGroup.mjs +39 -22
- package/dist/esm/interactions/useDelayGroup.mjs.map +1 -1
- package/dist/esm/interactions/useDelayGroup.native.js +42 -28
- package/dist/esm/interactions/useDelayGroup.native.js.map +1 -1
- package/dist/esm/interactions/useFocus.mjs +59 -32
- package/dist/esm/interactions/useFocus.mjs.map +1 -1
- package/dist/esm/interactions/useFocus.native.js +61 -37
- package/dist/esm/interactions/useFocus.native.js.map +1 -1
- package/dist/esm/interactions/useHover.mjs +215 -84
- package/dist/esm/interactions/useHover.mjs.map +1 -1
- package/dist/esm/interactions/useHover.native.js +240 -117
- package/dist/esm/interactions/useHover.native.js.map +1 -1
- package/dist/esm/interactions/useInnerOffset.mjs +61 -39
- package/dist/esm/interactions/useInnerOffset.mjs.map +1 -1
- package/dist/esm/interactions/useInnerOffset.native.js +61 -40
- package/dist/esm/interactions/useInnerOffset.native.js.map +1 -1
- package/dist/esm/interactions/useInteractions.mjs +48 -21
- package/dist/esm/interactions/useInteractions.mjs.map +1 -1
- package/dist/esm/interactions/useInteractions.native.js +121 -71
- package/dist/esm/interactions/useInteractions.native.js.map +1 -1
- package/dist/esm/interactions/useListNavigation.mjs +331 -168
- package/dist/esm/interactions/useListNavigation.mjs.map +1 -1
- package/dist/esm/interactions/useListNavigation.native.js +335 -201
- package/dist/esm/interactions/useListNavigation.native.js.map +1 -1
- package/dist/esm/interactions/useRole.mjs +59 -51
- package/dist/esm/interactions/useRole.mjs.map +1 -1
- package/dist/esm/interactions/useRole.native.js +82 -76
- package/dist/esm/interactions/useRole.native.js.map +1 -1
- package/dist/esm/interactions/useTypeahead.mjs +100 -52
- package/dist/esm/interactions/useTypeahead.mjs.map +1 -1
- package/dist/esm/interactions/useTypeahead.native.js +107 -64
- package/dist/esm/interactions/useTypeahead.native.js.map +1 -1
- package/dist/esm/interactions/utils.mjs +56 -28
- package/dist/esm/interactions/utils.mjs.map +1 -1
- package/dist/esm/interactions/utils.native.js +81 -44
- package/dist/esm/interactions/utils.native.js.map +1 -1
- package/dist/esm/middleware/inner.mjs +54 -43
- package/dist/esm/middleware/inner.mjs.map +1 -1
- package/dist/esm/middleware/inner.native.js +61 -52
- package/dist/esm/middleware/inner.native.js.map +1 -1
- package/dist/esm/useFloating.mjs +22 -21
- package/dist/esm/useFloating.mjs.map +1 -1
- package/dist/esm/useFloating.native.js +24 -24
- package/dist/esm/useFloating.native.js.map +1 -1
- package/package.json +3 -3
package/dist/cjs/Floating.cjs
CHANGED
|
@@ -3,15 +3,17 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
|
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
7
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
7
8
|
get: () => from[key],
|
|
8
9
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
10
|
});
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
13
15
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
14
|
-
value:
|
|
16
|
+
value: true
|
|
15
17
|
}), mod);
|
|
16
18
|
var Floating_exports = {};
|
|
17
19
|
module.exports = __toCommonJS(Floating_exports);
|
|
@@ -5,21 +5,23 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
21
23
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
22
|
-
value:
|
|
24
|
+
value: true
|
|
23
25
|
}), mod);
|
|
24
26
|
var Floating_native_exports = {};
|
|
25
27
|
__export(Floating_native_exports, {
|
|
@@ -29,9 +31,9 @@ __export(Floating_native_exports, {
|
|
|
29
31
|
});
|
|
30
32
|
module.exports = __toCommonJS(Floating_native_exports);
|
|
31
33
|
__reExport(Floating_native_exports, require("@floating-ui/react-native"), module.exports);
|
|
32
|
-
var autoUpdate = function () {}
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
var autoUpdate = function () {};
|
|
35
|
+
var getOverflowAncestors = function () {
|
|
36
|
+
return [];
|
|
37
|
+
};
|
|
38
|
+
var platform = null;
|
|
37
39
|
//# sourceMappingURL=Floating.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Floating_native_exports","__export","autoUpdate","getOverflowAncestors","platform","module","exports","__toCommonJS","__reExport","require"],"sources":["../../src/Floating.native.tsx"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["Floating_native_exports","__export","autoUpdate","getOverflowAncestors","platform","module","exports","__toCommonJS","__reExport","require"],"sources":["../../src/Floating.native.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,uBAAA;AAAAC,QAAA,CAAAD,uBAAA;EAAAE,UAAA,EAAAA,CAAA,KAAAA,UAAA;EAAAC,oBAAA,EAAAA,CAAA,KAAAA,oBAAA;EAAAC,QAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAP,uBAAA;AAIAQ,UAAA,CAAAR,uBAAA,EAAcS,OAAA,+BAJdJ,MAAA,CAAAC,OAAA;AAAO,IAAIJ,UAAA,GAAa,SAAAA,CAAA,EAAW,CAAC;AAC7B,IAAIC,oBAAA,GAAuB,SAAAA,CAAA,EAAW;EACzC,OAAO,EAAC;AACZ;AAEO,IAAIC,QAAA,GAAW","ignoreList":[]}
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
14
|
get: () => from[key],
|
|
14
15
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
16
|
});
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
18
20
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value:
|
|
21
|
+
value: true
|
|
20
22
|
}), mod);
|
|
21
23
|
var index_exports = {};
|
|
22
24
|
__export(index_exports, {
|
|
@@ -53,19 +55,19 @@ __export(index_exports, {
|
|
|
53
55
|
useTypeahead: () => import_useTypeahead.useTypeahead
|
|
54
56
|
});
|
|
55
57
|
module.exports = __toCommonJS(index_exports);
|
|
56
|
-
var import_Floating = require("./Floating.cjs")
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
58
|
+
var import_Floating = require("./Floating.cjs");
|
|
59
|
+
var import_useFloating = require("./useFloating.cjs");
|
|
60
|
+
var import_Floating2 = require("./Floating.cjs");
|
|
61
|
+
var import_createFloatingEvents = require("./interactions/createFloatingEvents.cjs");
|
|
62
|
+
var import_PopupTriggerMap = require("./interactions/PopupTriggerMap.cjs");
|
|
63
|
+
var import_useInteractions = require("./interactions/useInteractions.cjs");
|
|
64
|
+
var import_useHover = require("./interactions/useHover.cjs");
|
|
65
|
+
var import_safePolygon = require("./interactions/safePolygon.cjs");
|
|
66
|
+
var import_useFocus = require("./interactions/useFocus.cjs");
|
|
67
|
+
var import_useRole = require("./interactions/useRole.cjs");
|
|
68
|
+
var import_useClick = require("./interactions/useClick.cjs");
|
|
69
|
+
var import_useListNavigation = require("./interactions/useListNavigation.cjs");
|
|
70
|
+
var import_useTypeahead = require("./interactions/useTypeahead.cjs");
|
|
71
|
+
var import_useInnerOffset = require("./interactions/useInnerOffset.cjs");
|
|
72
|
+
var import_useDelayGroup = require("./interactions/useDelayGroup.cjs");
|
|
73
|
+
var import_inner = require("./middleware/inner.cjs");
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -5,20 +5,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
20
22
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value:
|
|
23
|
+
value: true
|
|
22
24
|
}), mod);
|
|
23
25
|
var index_exports = {};
|
|
24
26
|
__export(index_exports, {
|
|
@@ -55,20 +57,20 @@ __export(index_exports, {
|
|
|
55
57
|
useTypeahead: () => import_useTypeahead.useTypeahead
|
|
56
58
|
});
|
|
57
59
|
module.exports = __toCommonJS(index_exports);
|
|
58
|
-
var import_Floating = require("./Floating.native.js")
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
60
|
+
var import_Floating = require("./Floating.native.js");
|
|
61
|
+
var import_useFloating = require("./useFloating.native.js");
|
|
62
|
+
var import_Floating2 = require("./Floating.native.js");
|
|
63
|
+
var import_createFloatingEvents = require("./interactions/createFloatingEvents.native.js");
|
|
64
|
+
var import_PopupTriggerMap = require("./interactions/PopupTriggerMap.native.js");
|
|
65
|
+
var import_useInteractions = require("./interactions/useInteractions.native.js");
|
|
66
|
+
var import_useHover = require("./interactions/useHover.native.js");
|
|
67
|
+
var import_safePolygon = require("./interactions/safePolygon.native.js");
|
|
68
|
+
var import_useFocus = require("./interactions/useFocus.native.js");
|
|
69
|
+
var import_useRole = require("./interactions/useRole.native.js");
|
|
70
|
+
var import_useClick = require("./interactions/useClick.native.js");
|
|
71
|
+
var import_useListNavigation = require("./interactions/useListNavigation.native.js");
|
|
72
|
+
var import_useTypeahead = require("./interactions/useTypeahead.native.js");
|
|
73
|
+
var import_useInnerOffset = require("./interactions/useInnerOffset.native.js");
|
|
74
|
+
var import_useDelayGroup = require("./interactions/useDelayGroup.native.js");
|
|
75
|
+
var import_inner = require("./middleware/inner.native.js");
|
|
74
76
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","__export","FloatingDelayGroup","import_useDelayGroup","FloatingOverrideContext","import_useFloating","PopupTriggerMap","import_PopupTriggerMap","arrow","import_Floating","autoPlacement","autoUpdate","createFloatingEvents","import_createFloatingEvents","detectOverflow","flip","getOverflowAncestors","hide","inline","inner","import_inner","limitShift","offset","platform","safePolygon","import_safePolygon","shift","size","useClick","import_useClick","useDelayGroup","useDelayGroupContext","useFloating","useFloatingRaw","import_Floating2","useFocus","import_useFocus","useHover","import_useHover","useInnerOffset","import_useInnerOffset","useInteractions","import_useInteractions","useListNavigation","import_useListNavigation","useRole","import_useRole","useTypeahead","import_useTypeahead","module","exports"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","__export","FloatingDelayGroup","import_useDelayGroup","FloatingOverrideContext","import_useFloating","PopupTriggerMap","import_PopupTriggerMap","arrow","import_Floating","autoPlacement","autoUpdate","createFloatingEvents","import_createFloatingEvents","detectOverflow","flip","getOverflowAncestors","hide","inline","inner","import_inner","limitShift","offset","platform","safePolygon","import_safePolygon","shift","size","useClick","import_useClick","useDelayGroup","useDelayGroupContext","useFloating","useFloatingRaw","import_Floating2","useFocus","import_useFocus","useHover","import_useHover","useInnerOffset","import_useInnerOffset","useInteractions","import_useInteractions","useListNavigation","import_useListNavigation","useRole","import_useRole","useTypeahead","import_useTypeahead","module","exports","require"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"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","ignoreList":[]}
|
|
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
14
|
get: () => from[key],
|
|
14
15
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
16
|
});
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
18
20
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value:
|
|
21
|
+
value: true
|
|
20
22
|
}), mod);
|
|
21
23
|
var PopupTriggerMap_exports = {};
|
|
22
24
|
__export(PopupTriggerMap_exports, {
|
|
@@ -28,11 +30,18 @@ class PopupTriggerMap {
|
|
|
28
30
|
elements = /* @__PURE__ */new Set();
|
|
29
31
|
add(id, element) {
|
|
30
32
|
const prev = this.map.get(id);
|
|
31
|
-
|
|
33
|
+
if (prev) {
|
|
34
|
+
this.elements.delete(prev);
|
|
35
|
+
}
|
|
36
|
+
this.map.set(id, element);
|
|
37
|
+
this.elements.add(element);
|
|
32
38
|
}
|
|
33
39
|
delete(id) {
|
|
34
40
|
const el = this.map.get(id);
|
|
35
|
-
|
|
41
|
+
if (el) {
|
|
42
|
+
this.elements.delete(el);
|
|
43
|
+
this.map.delete(id);
|
|
44
|
+
}
|
|
36
45
|
}
|
|
37
46
|
hasElement(element) {
|
|
38
47
|
return this.elements.has(element);
|
|
@@ -5,20 +5,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
20
22
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value:
|
|
23
|
+
value: true
|
|
22
24
|
}), mod);
|
|
23
25
|
var PopupTriggerMap_exports = {};
|
|
24
26
|
__export(PopupTriggerMap_exports, {
|
|
@@ -26,48 +28,70 @@ __export(PopupTriggerMap_exports, {
|
|
|
26
28
|
});
|
|
27
29
|
module.exports = __toCommonJS(PopupTriggerMap_exports);
|
|
28
30
|
function _class_call_check(instance, Constructor) {
|
|
29
|
-
if (!(instance instanceof Constructor))
|
|
31
|
+
if (!(instance instanceof Constructor)) {
|
|
32
|
+
throw new TypeError("Cannot call a class as a function");
|
|
33
|
+
}
|
|
30
34
|
}
|
|
31
35
|
function _defineProperties(target, props) {
|
|
32
36
|
for (var i = 0; i < props.length; i++) {
|
|
33
37
|
var descriptor = props[i];
|
|
34
|
-
descriptor.enumerable = descriptor.enumerable ||
|
|
38
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
39
|
+
descriptor.configurable = true;
|
|
40
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
41
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
35
42
|
}
|
|
36
43
|
}
|
|
37
44
|
function _create_class(Constructor, protoProps, staticProps) {
|
|
38
|
-
|
|
45
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
46
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
47
|
+
return Constructor;
|
|
39
48
|
}
|
|
40
49
|
function _define_property(obj, key, value) {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
50
|
+
if (key in obj) {
|
|
51
|
+
Object.defineProperty(obj, key, {
|
|
52
|
+
value,
|
|
53
|
+
enumerable: true,
|
|
54
|
+
configurable: true,
|
|
55
|
+
writable: true
|
|
56
|
+
});
|
|
57
|
+
} else {
|
|
58
|
+
obj[key] = value;
|
|
59
|
+
}
|
|
60
|
+
return obj;
|
|
47
61
|
}
|
|
48
62
|
var PopupTriggerMap = /* @__PURE__ */function () {
|
|
49
63
|
"use strict";
|
|
50
64
|
|
|
51
65
|
function PopupTriggerMap2() {
|
|
52
|
-
_class_call_check(this, PopupTriggerMap2)
|
|
66
|
+
_class_call_check(this, PopupTriggerMap2);
|
|
67
|
+
_define_property(this, "map", /* @__PURE__ */new Map());
|
|
68
|
+
_define_property(this, "elements", /* @__PURE__ */new Set());
|
|
53
69
|
}
|
|
54
|
-
|
|
70
|
+
_create_class(PopupTriggerMap2, [{
|
|
55
71
|
key: "add",
|
|
56
|
-
value: function (id, element) {
|
|
72
|
+
value: function add(id, element) {
|
|
57
73
|
var prev = this.map.get(id);
|
|
58
|
-
|
|
74
|
+
if (prev) {
|
|
75
|
+
this.elements.delete(prev);
|
|
76
|
+
}
|
|
77
|
+
this.map.set(id, element);
|
|
78
|
+
this.elements.add(element);
|
|
59
79
|
}
|
|
60
80
|
}, {
|
|
61
81
|
key: "delete",
|
|
62
|
-
value: function (id) {
|
|
82
|
+
value: function _delete(id) {
|
|
63
83
|
var el = this.map.get(id);
|
|
64
|
-
|
|
84
|
+
if (el) {
|
|
85
|
+
this.elements.delete(el);
|
|
86
|
+
this.map.delete(id);
|
|
87
|
+
}
|
|
65
88
|
}
|
|
66
89
|
}, {
|
|
67
90
|
key: "hasElement",
|
|
68
|
-
value: function (element) {
|
|
91
|
+
value: function hasElement(element) {
|
|
69
92
|
return this.elements.has(element);
|
|
70
93
|
}
|
|
71
|
-
}])
|
|
94
|
+
}]);
|
|
95
|
+
return PopupTriggerMap2;
|
|
72
96
|
}();
|
|
73
97
|
//# sourceMappingURL=PopupTriggerMap.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","PopupTriggerMap_exports","__export","PopupTriggerMap","module","exports","_class_call_check","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_create_class","protoProps","staticProps","prototype","_define_property","obj"],"sources":["../../../src/interactions/PopupTriggerMap.ts"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","PopupTriggerMap_exports","__export","PopupTriggerMap","module","exports","_class_call_check","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_create_class","protoProps","staticProps","prototype","_define_property","obj"],"sources":["../../../src/interactions/PopupTriggerMap.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,uBAAA;AAAAC,QAAA,CAAAD,uBAAA;EAAAE,eAAA,EAAAA,CAAA,KAAAA;AAAA;AAKOC,MAAM,CAAAC,OAAA,GAAAT,YAAgB,CAAAK,uBAAA;AAAA,SACbK,kBAAAC,QAAyB,EAAAC,WAAA;EAC/B,MAAAD,QAAW,YAAAC,WAAiB;IAEpC,MAAgB,IAAAC,SAAkB;EAChC;AACA;AACE,SAAAC,iBAAcA,CAAOC,MAAI,EAAAC,KAAA;EAAA,KAC3B,IAAAC,CAAA,MAAAA,CAAA,GAAAD,KAAA,CAAAE,MAAA,EAAAD,CAAA;IACA,IAAAE,UAAa,GAAIH,KAAA,CAAAC,CAAO;IACxBE,UAAK,CAAAC,UAAa,GAAAD,UAAO,CAAAC,UAAA;IAC3BD,UAAA,CAAAE,YAAA;IAEA,WAAmB,IAAAF,UAAA,EAAAA,UAAA,CAAAG,QAAA;IACjBC,MAAM,CAAAC,cAAc,CAAAT,MAAM,EAAAI,UAAA,CAAAM,GAAA,EAAAN,UAAA;EAC1B;AACE;AACA,SAAAO,aAAgBA,CAAAd,WAAE,EAAAe,UAAA,EAAAC,WAAA;EAAA,IACpBD,UAAA,EAAAb,iBAAA,CAAAF,WAAA,CAAAiB,SAAA,EAAAF,UAAA;EACF,IAAAC,WAAA,EAAAd,iBAAA,CAAAF,WAAA,EAAAgB,WAAA;EAEA,OAAAhB,WAAW;AACT;AAAgC,SAClCkB,iBAAAC,GAAA,EAAAN,GAAA,EAAArB,KAAA;EACF,IAAAqB,GAAA,IAAAM,GAAA","ignoreList":[]}
|
|
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
14
|
get: () => from[key],
|
|
14
15
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
16
|
});
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
18
20
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value:
|
|
21
|
+
value: true
|
|
20
22
|
}), mod);
|
|
21
23
|
var createFloatingEvents_exports = {};
|
|
22
24
|
__export(createFloatingEvents_exports, {
|
|
@@ -31,11 +33,18 @@ function createFloatingEvents() {
|
|
|
31
33
|
},
|
|
32
34
|
on(event, handler) {
|
|
33
35
|
let set = listeners.get(event);
|
|
34
|
-
|
|
36
|
+
if (!set) {
|
|
37
|
+
set = /* @__PURE__ */new Set();
|
|
38
|
+
listeners.set(event, set);
|
|
39
|
+
}
|
|
40
|
+
set.add(handler);
|
|
35
41
|
},
|
|
36
42
|
off(event, handler) {
|
|
37
43
|
const set = listeners.get(event);
|
|
38
|
-
|
|
44
|
+
if (set) {
|
|
45
|
+
set.delete(handler);
|
|
46
|
+
if (set.size === 0) listeners.delete(event);
|
|
47
|
+
}
|
|
39
48
|
}
|
|
40
49
|
};
|
|
41
50
|
}
|
|
@@ -5,20 +5,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
20
22
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value:
|
|
23
|
+
value: true
|
|
22
24
|
}), mod);
|
|
23
25
|
var createFloatingEvents_exports = {};
|
|
24
26
|
__export(createFloatingEvents_exports, {
|
|
@@ -30,17 +32,24 @@ function createFloatingEvents() {
|
|
|
30
32
|
return {
|
|
31
33
|
emit(event, data) {
|
|
32
34
|
var _listeners_get;
|
|
33
|
-
(_listeners_get = listeners.get(event)) === null || _listeners_get === void 0
|
|
35
|
+
(_listeners_get = listeners.get(event)) === null || _listeners_get === void 0 ? void 0 : _listeners_get.forEach(function (fn) {
|
|
34
36
|
return fn(data);
|
|
35
37
|
});
|
|
36
38
|
},
|
|
37
39
|
on(event, handler) {
|
|
38
40
|
var set = listeners.get(event);
|
|
39
|
-
|
|
41
|
+
if (!set) {
|
|
42
|
+
set = /* @__PURE__ */new Set();
|
|
43
|
+
listeners.set(event, set);
|
|
44
|
+
}
|
|
45
|
+
set.add(handler);
|
|
40
46
|
},
|
|
41
47
|
off(event, handler) {
|
|
42
48
|
var set = listeners.get(event);
|
|
43
|
-
|
|
49
|
+
if (set) {
|
|
50
|
+
set.delete(handler);
|
|
51
|
+
if (set.size === 0) listeners.delete(event);
|
|
52
|
+
}
|
|
44
53
|
}
|
|
45
54
|
};
|
|
46
55
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","createFloatingEvents_exports","__export","createFloatingEvents","module","exports","listeners","Map","emit","event","data","_listeners_get","get","forEach","fn","on","handler","set","Set","add","off"],"sources":["../../../src/interactions/createFloatingEvents.ts"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","createFloatingEvents_exports","__export","createFloatingEvents","module","exports","listeners","Map","emit","event","data","_listeners_get","get","forEach","fn","on","handler","set","Set","add","off","delete","size"],"sources":["../../../src/interactions/createFloatingEvents.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,4BAAA;AAAAC,QAAA,CAAAD,4BAAA;EAAAE,oBAAA,EAAAA,CAAA,KAAAA;AAAA;AAUOC,MAAA,CAAAC,OAAS,GAAAT,YAAA,CAAAK,4BAAuC;AACrD,SAAME,oBAAYA,CAAA;EAElB,IAAAG,SAAO,sBAAAC,GAAA;EAAA,OACA;IACHC,KAAAC,KAAA,EAAUC,IAAI;MAChB,IAAAC,cAAA;MACA,CAAGA,cAAO,GAASL,SAAA,CAAAM,GAAA,CAAAH,KAAA,eAAAE,cAAA,uBAAAA,cAAA,CAAAE,OAAA,WAAAC,EAAA;QACjB,OAAIA,EAAM,CAAAJ,IAAA;MACV;IACE;IACAK,GAAAN,KAAA,EAAAO,OAAU,EAAI;MAChB,IAAAC,GAAA,GAAAX,SAAA,CAAAM,GAAA,CAAAH,KAAA;MACA,IAAI,CAAAQ,GAAI;QACVA,GAAA,sBAAAC,GAAA;QACIZ,SAAO,CAAAW,GAAA,CAAAR,KAAS,EAAAQ,GAAA;MAClB;MACAA,GAAA,CAAIE,GAAA,CAAAH,OAAK;IACP;IACAI,IAAAX,KAAI,EAAAO,OAAI;MACV,IAAAC,GAAA,GAAAX,SAAA,CAAAM,GAAA,CAAAH,KAAA;MACF,IAAAQ,GAAA;QACFA,GAAA,CAAAI,MAAA,CAAAL,OAAA;QACF,IAAAC,GAAA,CAAAK,IAAA,QAAAhB,SAAA,CAAAe,MAAA,CAAAZ,KAAA","ignoreList":[]}
|