@anoki/fse-ui 1.0.673 → 1.0.674
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.cjs114.js +1 -1
- package/dist/index.cjs114.js.map +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs271.js +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs358.js +1 -1
- package/dist/index.cjs359.js +1 -1
- package/dist/index.cjs393.js +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs403.js +1 -1
- package/dist/index.cjs403.js.map +1 -1
- package/dist/index.cjs404.js +1 -1
- package/dist/index.cjs404.js.map +1 -1
- package/dist/index.cjs405.js +1 -1
- package/dist/index.cjs405.js.map +1 -1
- package/dist/index.cjs406.js +1 -1
- package/dist/index.cjs406.js.map +1 -1
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs407.js.map +1 -1
- package/dist/index.cjs408.js +1 -1
- package/dist/index.cjs408.js.map +1 -1
- package/dist/index.cjs409.js +1 -1
- package/dist/index.cjs409.js.map +1 -1
- package/dist/index.cjs410.js +1 -1
- package/dist/index.cjs410.js.map +1 -1
- package/dist/index.cjs411.js +1 -1
- package/dist/index.cjs411.js.map +1 -1
- package/dist/index.cjs412.js +1 -1
- package/dist/index.cjs412.js.map +1 -1
- package/dist/index.cjs413.js +2 -0
- package/dist/index.cjs413.js.map +1 -0
- package/dist/index.cjs414.js +2 -0
- package/dist/index.cjs414.js.map +1 -0
- package/dist/{index.cjs421.js → index.cjs415.js} +2 -2
- package/dist/{index.cjs421.js.map → index.cjs415.js.map} +1 -1
- package/dist/{index.cjs422.js → index.cjs416.js} +2 -2
- package/dist/{index.cjs422.js.map → index.cjs416.js.map} +1 -1
- package/dist/{index.cjs423.js → index.cjs417.js} +2 -2
- package/dist/{index.cjs423.js.map → index.cjs417.js.map} +1 -1
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs418.js.map +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs419.js.map +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs420.js.map +1 -1
- package/dist/index.cjs432.js +2 -0
- package/dist/index.cjs432.js.map +1 -0
- package/dist/{index.cjs437.js → index.cjs433.js} +2 -2
- package/dist/{index.cjs437.js.map → index.cjs433.js.map} +1 -1
- package/dist/{index.cjs438.js → index.cjs434.js} +1 -1
- package/dist/{index.cjs438.js.map → index.cjs434.js.map} +1 -1
- package/dist/{index.cjs439.js → index.cjs435.js} +1 -1
- package/dist/{index.cjs439.js.map → index.cjs435.js.map} +1 -1
- package/dist/index.cjs436.js +1 -1
- package/dist/index.cjs436.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs455.js +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -5
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +5 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.es114.js +33 -26
- package/dist/index.es114.js.map +1 -1
- package/dist/index.es248.js +2 -2
- package/dist/index.es258.js +1 -1
- package/dist/index.es271.js +1 -1
- package/dist/index.es276.js +1 -1
- package/dist/index.es283.js +1 -1
- package/dist/index.es291.js +2 -2
- package/dist/index.es358.js +2 -2
- package/dist/index.es359.js +3 -3
- package/dist/index.es393.js +1 -1
- package/dist/index.es396.js +4 -4
- package/dist/index.es401.js +3 -3
- package/dist/index.es403.js +11 -5
- package/dist/index.es403.js.map +1 -1
- package/dist/index.es404.js +204 -24
- package/dist/index.es404.js.map +1 -1
- package/dist/index.es405.js +22 -12
- package/dist/index.es405.js.map +1 -1
- package/dist/index.es406.js +24 -204
- package/dist/index.es406.js.map +1 -1
- package/dist/index.es407.js +392 -21
- package/dist/index.es407.js.map +1 -1
- package/dist/index.es408.js +22 -390
- package/dist/index.es408.js.map +1 -1
- package/dist/index.es409.js +28 -24
- package/dist/index.es409.js.map +1 -1
- package/dist/index.es410.js +5 -29
- package/dist/index.es410.js.map +1 -1
- package/dist/index.es411.js +15 -5
- package/dist/index.es411.js.map +1 -1
- package/dist/index.es412.js +5 -15
- package/dist/index.es412.js.map +1 -1
- package/dist/index.es413.js +6 -0
- package/dist/index.es413.js.map +1 -0
- package/dist/index.es414.js +27 -0
- package/dist/index.es414.js.map +1 -0
- package/dist/{index.es421.js → index.es415.js} +6 -6
- package/dist/{index.es421.js.map → index.es415.js.map} +1 -1
- package/dist/{index.es422.js → index.es416.js} +2 -2
- package/dist/{index.es422.js.map → index.es416.js.map} +1 -1
- package/dist/{index.es423.js → index.es417.js} +2 -2
- package/dist/{index.es423.js.map → index.es417.js.map} +1 -1
- package/dist/index.es418.js +127 -5
- package/dist/index.es418.js.map +1 -1
- package/dist/index.es419.js +129 -3
- package/dist/index.es419.js.map +1 -1
- package/dist/index.es420.js +5 -23
- package/dist/index.es420.js.map +1 -1
- package/dist/index.es432.js +68 -0
- package/dist/index.es432.js.map +1 -0
- package/dist/{index.es437.js → index.es433.js} +3 -3
- package/dist/{index.es437.js.map → index.es433.js.map} +1 -1
- package/dist/{index.es438.js → index.es434.js} +1 -1
- package/dist/{index.es438.js.map → index.es434.js.map} +1 -1
- package/dist/{index.es439.js → index.es435.js} +1 -1
- package/dist/{index.es439.js.map → index.es435.js.map} +1 -1
- package/dist/index.es436.js +61 -64
- package/dist/index.es436.js.map +1 -1
- package/dist/index.es449.js +2 -2
- package/dist/index.es452.js +1 -1
- package/dist/index.es455.js +1 -1
- package/dist/index.es459.js +1 -1
- package/dist/index.es460.js +2 -12
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +126 -171
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +177 -3
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +8 -131
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +3 -39
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +40 -2
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +2 -2
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +4 -2
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es473.js +82 -3
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +3 -82
- package/dist/index.es474.js.map +1 -1
- package/package.json +1 -1
- package/dist/index.cjs424.js +0 -2
- package/dist/index.cjs424.js.map +0 -1
- package/dist/index.cjs425.js +0 -2
- package/dist/index.cjs425.js.map +0 -1
- package/dist/index.cjs440.js +0 -2
- package/dist/index.cjs440.js.map +0 -1
- package/dist/index.es424.js +0 -130
- package/dist/index.es424.js.map +0 -1
- package/dist/index.es425.js +0 -132
- package/dist/index.es425.js.map +0 -1
- package/dist/index.es440.js +0 -65
- package/dist/index.es440.js.map +0 -1
- /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
package/dist/index.es463.js
CHANGED
@@ -1,136 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
Object.keys(n).filter((t) => u.indexOf(t) < 0).forEach((t) => {
|
8
|
-
typeof e[t] > "u" ? e[t] = n[t] : r(n[t]) && r(e[t]) && Object.keys(n[t]).length > 0 && o(e[t], n[t]);
|
9
|
-
});
|
10
|
-
}
|
11
|
-
const i = {
|
12
|
-
body: {},
|
13
|
-
addEventListener() {
|
14
|
-
},
|
15
|
-
removeEventListener() {
|
16
|
-
},
|
17
|
-
activeElement: {
|
18
|
-
blur() {
|
19
|
-
},
|
20
|
-
nodeName: ""
|
21
|
-
},
|
22
|
-
querySelector() {
|
23
|
-
return null;
|
24
|
-
},
|
25
|
-
querySelectorAll() {
|
26
|
-
return [];
|
27
|
-
},
|
28
|
-
getElementById() {
|
29
|
-
return null;
|
30
|
-
},
|
31
|
-
createEvent() {
|
32
|
-
return {
|
33
|
-
initEvent() {
|
34
|
-
}
|
35
|
-
};
|
36
|
-
},
|
37
|
-
createElement() {
|
38
|
-
return {
|
39
|
-
children: [],
|
40
|
-
childNodes: [],
|
41
|
-
style: {},
|
42
|
-
setAttribute() {
|
43
|
-
},
|
44
|
-
getElementsByTagName() {
|
45
|
-
return [];
|
46
|
-
}
|
47
|
-
};
|
48
|
-
},
|
49
|
-
createElementNS() {
|
50
|
-
return {};
|
51
|
-
},
|
52
|
-
importNode() {
|
53
|
-
return null;
|
54
|
-
},
|
55
|
-
location: {
|
56
|
-
hash: "",
|
57
|
-
host: "",
|
58
|
-
hostname: "",
|
59
|
-
href: "",
|
60
|
-
origin: "",
|
61
|
-
pathname: "",
|
62
|
-
protocol: "",
|
63
|
-
search: ""
|
64
|
-
}
|
65
|
-
};
|
66
|
-
function s() {
|
67
|
-
const e = typeof document < "u" ? document : {};
|
68
|
-
return o(e, i), e;
|
69
|
-
}
|
70
|
-
const c = {
|
71
|
-
document: i,
|
72
|
-
navigator: {
|
73
|
-
userAgent: ""
|
74
|
-
},
|
75
|
-
location: {
|
76
|
-
hash: "",
|
77
|
-
host: "",
|
78
|
-
hostname: "",
|
79
|
-
href: "",
|
80
|
-
origin: "",
|
81
|
-
pathname: "",
|
82
|
-
protocol: "",
|
83
|
-
search: ""
|
84
|
-
},
|
85
|
-
history: {
|
86
|
-
replaceState() {
|
87
|
-
},
|
88
|
-
pushState() {
|
89
|
-
},
|
90
|
-
go() {
|
91
|
-
},
|
92
|
-
back() {
|
1
|
+
import { e as i, c as m } from "./index.es462.js";
|
2
|
+
function o(f, a, n, l) {
|
3
|
+
return f.params.createElements && Object.keys(l).forEach((e) => {
|
4
|
+
if (!n[e] && n.auto === !0) {
|
5
|
+
let t = i(f.el, `.${l[e]}`)[0];
|
6
|
+
t || (t = m("div", l[e]), t.className = l[e], f.el.append(t)), n[e] = t, a[e] = t;
|
93
7
|
}
|
94
|
-
},
|
95
|
-
CustomEvent: function() {
|
96
|
-
return this;
|
97
|
-
},
|
98
|
-
addEventListener() {
|
99
|
-
},
|
100
|
-
removeEventListener() {
|
101
|
-
},
|
102
|
-
getComputedStyle() {
|
103
|
-
return {
|
104
|
-
getPropertyValue() {
|
105
|
-
return "";
|
106
|
-
}
|
107
|
-
};
|
108
|
-
},
|
109
|
-
Image() {
|
110
|
-
},
|
111
|
-
Date() {
|
112
|
-
},
|
113
|
-
screen: {},
|
114
|
-
setTimeout() {
|
115
|
-
},
|
116
|
-
clearTimeout() {
|
117
|
-
},
|
118
|
-
matchMedia() {
|
119
|
-
return {};
|
120
|
-
},
|
121
|
-
requestAnimationFrame(e) {
|
122
|
-
return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
|
123
|
-
},
|
124
|
-
cancelAnimationFrame(e) {
|
125
|
-
typeof setTimeout > "u" || clearTimeout(e);
|
126
|
-
}
|
127
|
-
};
|
128
|
-
function a() {
|
129
|
-
const e = typeof window < "u" ? window : {};
|
130
|
-
return o(e, c), e;
|
8
|
+
}), n;
|
131
9
|
}
|
132
10
|
export {
|
133
|
-
|
134
|
-
s as g
|
11
|
+
o as c
|
135
12
|
};
|
136
13
|
//# sourceMappingURL=index.es463.js.map
|
package/dist/index.es463.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es463.js","sources":["../node_modules/swiper/shared/
|
1
|
+
{"version":3,"file":"index.es463.js","sources":["../node_modules/swiper/shared/create-element-if-not-defined.mjs"],"sourcesContent":["import { e as elementChildren, c as createElement } from './utils.mjs';\n\nfunction createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(key => {\n if (!params[key] && params.auto === true) {\n let element = elementChildren(swiper.el, `.${checkProps[key]}`)[0];\n if (!element) {\n element = createElement('div', checkProps[key]);\n element.className = checkProps[key];\n swiper.el.append(element);\n }\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n return params;\n}\n\nexport { createElementIfNotDefined as c };\n"],"names":["createElementIfNotDefined","swiper","originalParams","params","checkProps","key","element","elementChildren","createElement"],"mappings":";AAEA,SAASA,EAA0BC,GAAQC,GAAgBC,GAAQC,GAAY;AAC7E,SAAIH,EAAO,OAAO,kBAChB,OAAO,KAAKG,CAAU,EAAE,QAAQ,CAAAC,MAAO;AACrC,QAAI,CAACF,EAAOE,CAAG,KAAKF,EAAO,SAAS,IAAM;AACxC,UAAIG,IAAUC,EAAgBN,EAAO,IAAI,IAAIG,EAAWC,CAAG,CAAC,EAAE,EAAE,CAAC;AACjE,MAAKC,MACHA,IAAUE,EAAc,OAAOJ,EAAWC,CAAG,CAAC,GAC9CC,EAAQ,YAAYF,EAAWC,CAAG,GAClCJ,EAAO,GAAG,OAAOK,CAAO,IAE1BH,EAAOE,CAAG,IAAIC,GACdJ,EAAeG,CAAG,IAAIC;AAAA,IAC9B;AAAA,EACA,CAAK,GAEIH;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.es464.js
CHANGED
@@ -1,43 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
Copyright (c) 2018 Jed Watson.
|
4
|
-
Licensed under the MIT License (MIT), see
|
5
|
-
http://jedwatson.github.io/classnames
|
6
|
-
*/
|
7
|
-
var u;
|
8
|
-
function c() {
|
9
|
-
return u ? s.exports : (u = 1, function(i) {
|
10
|
-
(function() {
|
11
|
-
var f = {}.hasOwnProperty;
|
12
|
-
function n() {
|
13
|
-
for (var r = "", t = 0; t < arguments.length; t++) {
|
14
|
-
var e = arguments[t];
|
15
|
-
e && (r = o(r, a(e)));
|
16
|
-
}
|
17
|
-
return r;
|
18
|
-
}
|
19
|
-
function a(r) {
|
20
|
-
if (typeof r == "string" || typeof r == "number")
|
21
|
-
return r;
|
22
|
-
if (typeof r != "object")
|
23
|
-
return "";
|
24
|
-
if (Array.isArray(r))
|
25
|
-
return n.apply(null, r);
|
26
|
-
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
27
|
-
return r.toString();
|
28
|
-
var t = "";
|
29
|
-
for (var e in r)
|
30
|
-
f.call(r, e) && r[e] && (t = o(t, e));
|
31
|
-
return t;
|
32
|
-
}
|
33
|
-
function o(r, t) {
|
34
|
-
return t ? r ? r + " " + t : r + t : r;
|
35
|
-
}
|
36
|
-
i.exports ? (n.default = n, i.exports = n) : window.classNames = n;
|
37
|
-
})();
|
38
|
-
}(s), s.exports);
|
1
|
+
function r(e) {
|
2
|
+
return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
|
39
3
|
}
|
40
4
|
export {
|
41
|
-
|
5
|
+
r as c
|
42
6
|
};
|
43
7
|
//# sourceMappingURL=index.es464.js.map
|
package/dist/index.es464.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es464.js","sources":["../node_modules/
|
1
|
+
{"version":3,"file":"index.es464.js","sources":["../node_modules/swiper/shared/classes-to-selector.mjs"],"sourcesContent":["function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n"],"names":["classesToSelector","classes"],"mappings":"AAAA,SAASA,EAAkBC,GAAS;AAClC,SAAIA,MAAY,WACdA,IAAU,KAEL,IAAIA,EAAQ,KAAM,EAAC,QAAQ,gBAAgB,MAAM,EACvD,QAAQ,MAAM,GAAG,CAAC;AACrB;","x_google_ignoreList":[0]}
|
package/dist/index.es465.js
CHANGED
@@ -1,5 +1,43 @@
|
|
1
|
-
|
1
|
+
import { __module as s } from "./index.es466.js";
|
2
|
+
/*!
|
3
|
+
Copyright (c) 2018 Jed Watson.
|
4
|
+
Licensed under the MIT License (MIT), see
|
5
|
+
http://jedwatson.github.io/classnames
|
6
|
+
*/
|
7
|
+
var u;
|
8
|
+
function c() {
|
9
|
+
return u ? s.exports : (u = 1, function(i) {
|
10
|
+
(function() {
|
11
|
+
var f = {}.hasOwnProperty;
|
12
|
+
function n() {
|
13
|
+
for (var r = "", t = 0; t < arguments.length; t++) {
|
14
|
+
var e = arguments[t];
|
15
|
+
e && (r = o(r, a(e)));
|
16
|
+
}
|
17
|
+
return r;
|
18
|
+
}
|
19
|
+
function a(r) {
|
20
|
+
if (typeof r == "string" || typeof r == "number")
|
21
|
+
return r;
|
22
|
+
if (typeof r != "object")
|
23
|
+
return "";
|
24
|
+
if (Array.isArray(r))
|
25
|
+
return n.apply(null, r);
|
26
|
+
if (r.toString !== Object.prototype.toString && !r.toString.toString().includes("[native code]"))
|
27
|
+
return r.toString();
|
28
|
+
var t = "";
|
29
|
+
for (var e in r)
|
30
|
+
f.call(r, e) && r[e] && (t = o(t, e));
|
31
|
+
return t;
|
32
|
+
}
|
33
|
+
function o(r, t) {
|
34
|
+
return t ? r ? r + " " + t : r + t : r;
|
35
|
+
}
|
36
|
+
i.exports ? (n.default = n, i.exports = n) : window.classNames = n;
|
37
|
+
})();
|
38
|
+
}(s), s.exports);
|
39
|
+
}
|
2
40
|
export {
|
3
|
-
|
41
|
+
c as __require
|
4
42
|
};
|
5
43
|
//# sourceMappingURL=index.es465.js.map
|
package/dist/index.es465.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es465.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
1
|
+
{"version":3,"file":"index.es465.js","sources":["../node_modules/classnames/index.js"],"sourcesContent":["/*!\n\tCopyright (c) 2018 Jed Watson.\n\tLicensed under the MIT License (MIT), see\n\thttp://jedwatson.github.io/classnames\n*/\n/* global define */\n\n(function () {\n\t'use strict';\n\n\tvar hasOwn = {}.hasOwnProperty;\n\n\tfunction classNames () {\n\t\tvar classes = '';\n\n\t\tfor (var i = 0; i < arguments.length; i++) {\n\t\t\tvar arg = arguments[i];\n\t\t\tif (arg) {\n\t\t\t\tclasses = appendClass(classes, parseValue(arg));\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction parseValue (arg) {\n\t\tif (typeof arg === 'string' || typeof arg === 'number') {\n\t\t\treturn arg;\n\t\t}\n\n\t\tif (typeof arg !== 'object') {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (Array.isArray(arg)) {\n\t\t\treturn classNames.apply(null, arg);\n\t\t}\n\n\t\tif (arg.toString !== Object.prototype.toString && !arg.toString.toString().includes('[native code]')) {\n\t\t\treturn arg.toString();\n\t\t}\n\n\t\tvar classes = '';\n\n\t\tfor (var key in arg) {\n\t\t\tif (hasOwn.call(arg, key) && arg[key]) {\n\t\t\t\tclasses = appendClass(classes, key);\n\t\t\t}\n\t\t}\n\n\t\treturn classes;\n\t}\n\n\tfunction appendClass (value, newClass) {\n\t\tif (!newClass) {\n\t\t\treturn value;\n\t\t}\n\t\n\t\tif (value) {\n\t\t\treturn value + ' ' + newClass;\n\t\t}\n\t\n\t\treturn value + newClass;\n\t}\n\n\tif (typeof module !== 'undefined' && module.exports) {\n\t\tclassNames.default = classNames;\n\t\tmodule.exports = classNames;\n\t} else if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {\n\t\t// register as 'classnames', consistent with npm package name\n\t\tdefine('classnames', [], function () {\n\t\t\treturn classNames;\n\t\t});\n\t} else {\n\t\twindow.classNames = classNames;\n\t}\n}());\n"],"names":["hasOwn","classNames","classes","i","arg","appendClass","parseValue","key","value","newClass","module"],"mappings":";;;;;;;;;AAOA,KAAC,WAAY;AAGZ,UAAIA,IAAS,CAAA,EAAG;AAEhB,eAASC,IAAc;AAGtB,iBAFIC,IAAU,IAELC,IAAI,GAAGA,IAAI,UAAU,QAAQA,KAAK;AAC1C,cAAIC,IAAM,UAAUD,CAAC;AACrB,UAAIC,MACHF,IAAUG,EAAYH,GAASI,EAAWF,CAAG,CAAC;AAAA,QAElD;AAEE,eAAOF;AAAA,MACT;AAEC,eAASI,EAAYF,GAAK;AACzB,YAAI,OAAOA,KAAQ,YAAY,OAAOA,KAAQ;AAC7C,iBAAOA;AAGR,YAAI,OAAOA,KAAQ;AAClB,iBAAO;AAGR,YAAI,MAAM,QAAQA,CAAG;AACpB,iBAAOH,EAAW,MAAM,MAAMG,CAAG;AAGlC,YAAIA,EAAI,aAAa,OAAO,UAAU,YAAY,CAACA,EAAI,SAAS,SAAQ,EAAG,SAAS,eAAe;AAClG,iBAAOA,EAAI,SAAU;AAGtB,YAAIF,IAAU;AAEd,iBAASK,KAAOH;AACf,UAAIJ,EAAO,KAAKI,GAAKG,CAAG,KAAKH,EAAIG,CAAG,MACnCL,IAAUG,EAAYH,GAASK,CAAG;AAIpC,eAAOL;AAAA,MACT;AAEC,eAASG,EAAaG,GAAOC,GAAU;AACtC,eAAKA,IAIDD,IACIA,IAAQ,MAAMC,IAGfD,IAAQC,IAPPD;AAAA,MAQV;AAEC,MAAqCE,EAAO,WAC3CT,EAAW,UAAUA,GACrBS,YAAiBT,KAOjB,OAAO,aAAaA;AAAA,IAEtB;;;","x_google_ignoreList":[0]}
|
package/dist/index.es466.js
CHANGED
package/dist/index.es466.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es466.js","sources":[
|
1
|
+
{"version":3,"file":"index.es466.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/index.es467.js
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
const e = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "-1", "-2", "-3", "-4", "-5", "-6", "-7", "-8", "-9"], r = { m: { values: e } };
|
2
|
+
export {
|
3
|
+
r as marginPropDefs
|
4
|
+
};
|
3
5
|
//# sourceMappingURL=index.es467.js.map
|
package/dist/index.es467.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es467.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.es467.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/margin.props.js"],"sourcesContent":["const e=[\"0\",\"1\",\"2\",\"3\",\"4\",\"5\",\"6\",\"7\",\"8\",\"9\",\"-1\",\"-2\",\"-3\",\"-4\",\"-5\",\"-6\",\"-7\",\"-8\",\"-9\"],r={m:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-m\",customProperties:[\"--m\"]},mx:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mx\",customProperties:[\"--ml\",\"--mr\"]},my:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-my\",customProperties:[\"--mt\",\"--mb\"]},mt:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mt\",customProperties:[\"--mt\"]},mr:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mr\",customProperties:[\"--mr\"]},mb:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-mb\",customProperties:[\"--mb\"]},ml:{type:\"enum | string\",values:e,responsive:!0,className:\"rt-r-ml\",customProperties:[\"--ml\"]}};export{r as marginPropDefs};\n//# sourceMappingURL=margin.props.js.map\n"],"names":[],"mappings":"AAAK,MAAC,IAAE,CAAC,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,KAAI,MAAK,MAAK,MAAK,MAAK,MAAK,MAAK,MAAK,MAAK,IAAI,GAAE,IAAE,EAAC,GAAE,EAAsB,QAAO,EAA2D,EAAykB;","x_google_ignoreList":[0]}
|
package/dist/index.es473.js
CHANGED
@@ -1,7 +1,86 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
import { commonjsGlobal as g } from "./index.es372.js";
|
2
|
+
var h, L;
|
3
|
+
function Y() {
|
4
|
+
if (L) return h;
|
5
|
+
L = 1;
|
6
|
+
var _ = "Expected a function", x = NaN, C = "[object Symbol]", M = /^\s+|\s+$/g, N = /^[-+]0x[0-9a-f]+$/i, R = /^0b[01]+$/i, W = /^0o[0-7]+$/i, $ = parseInt, q = typeof g == "object" && g && g.Object === Object && g, A = typeof self == "object" && self && self.Object === Object && self, B = q || A || Function("return this")(), F = Object.prototype, G = F.toString, P = Math.max, D = Math.min, y = function() {
|
7
|
+
return B.Date.now();
|
8
|
+
};
|
9
|
+
function H(e, r, i) {
|
10
|
+
var a, u, b, c, t, f, s = 0, O = !1, d = !1, j = !0;
|
11
|
+
if (typeof e != "function")
|
12
|
+
throw new TypeError(_);
|
13
|
+
r = I(r) || 0, p(i) && (O = !!i.leading, d = "maxWait" in i, b = d ? P(I(i.maxWait) || 0, r) : b, j = "trailing" in i ? !!i.trailing : j);
|
14
|
+
function v(n) {
|
15
|
+
var o = a, m = u;
|
16
|
+
return a = u = void 0, s = n, c = e.apply(m, o), c;
|
17
|
+
}
|
18
|
+
function z(n) {
|
19
|
+
return s = n, t = setTimeout(l, r), O ? v(n) : c;
|
20
|
+
}
|
21
|
+
function J(n) {
|
22
|
+
var o = n - f, m = n - s, E = r - o;
|
23
|
+
return d ? D(E, b - m) : E;
|
24
|
+
}
|
25
|
+
function S(n) {
|
26
|
+
var o = n - f, m = n - s;
|
27
|
+
return f === void 0 || o >= r || o < 0 || d && m >= b;
|
28
|
+
}
|
29
|
+
function l() {
|
30
|
+
var n = y();
|
31
|
+
if (S(n))
|
32
|
+
return k(n);
|
33
|
+
t = setTimeout(l, J(n));
|
34
|
+
}
|
35
|
+
function k(n) {
|
36
|
+
return t = void 0, j && a ? v(n) : (a = u = void 0, c);
|
37
|
+
}
|
38
|
+
function K() {
|
39
|
+
t !== void 0 && clearTimeout(t), s = 0, a = f = u = t = void 0;
|
40
|
+
}
|
41
|
+
function Q() {
|
42
|
+
return t === void 0 ? c : k(y());
|
43
|
+
}
|
44
|
+
function T() {
|
45
|
+
var n = y(), o = S(n);
|
46
|
+
if (a = arguments, u = this, f = n, o) {
|
47
|
+
if (t === void 0)
|
48
|
+
return z(f);
|
49
|
+
if (d)
|
50
|
+
return t = setTimeout(l, r), v(f);
|
51
|
+
}
|
52
|
+
return t === void 0 && (t = setTimeout(l, r)), c;
|
53
|
+
}
|
54
|
+
return T.cancel = K, T.flush = Q, T;
|
55
|
+
}
|
56
|
+
function p(e) {
|
57
|
+
var r = typeof e;
|
58
|
+
return !!e && (r == "object" || r == "function");
|
59
|
+
}
|
60
|
+
function U(e) {
|
61
|
+
return !!e && typeof e == "object";
|
62
|
+
}
|
63
|
+
function X(e) {
|
64
|
+
return typeof e == "symbol" || U(e) && G.call(e) == C;
|
65
|
+
}
|
66
|
+
function I(e) {
|
67
|
+
if (typeof e == "number")
|
68
|
+
return e;
|
69
|
+
if (X(e))
|
70
|
+
return x;
|
71
|
+
if (p(e)) {
|
72
|
+
var r = typeof e.valueOf == "function" ? e.valueOf() : e;
|
73
|
+
e = p(r) ? r + "" : r;
|
74
|
+
}
|
75
|
+
if (typeof e != "string")
|
76
|
+
return e === 0 ? e : +e;
|
77
|
+
e = e.replace(M, "");
|
78
|
+
var i = R.test(e);
|
79
|
+
return i || W.test(e) ? $(e.slice(2), i ? 2 : 8) : N.test(e) ? x : +e;
|
80
|
+
}
|
81
|
+
return h = H, h;
|
3
82
|
}
|
4
83
|
export {
|
5
|
-
|
84
|
+
Y as __require
|
6
85
|
};
|
7
86
|
//# sourceMappingURL=index.es473.js.map
|
package/dist/index.es473.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es473.js","sources":["../node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["clamp","value","min","max"],"mappings":"AACA,SAASA,EAAMC,GAAO,CAACC,GAAKC,CAAG,GAAG;AAChC,SAAO,KAAK,IAAIA,GAAK,KAAK,IAAID,GAAKD,CAAK,CAAC;AAC3C;","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.es473.js","sources":["../node_modules/lodash.debounce/index.js"],"sourcesContent":["/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** 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 objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n"],"names":["FUNC_ERROR_TEXT","NAN","symbolTag","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","freeGlobal","global","freeSelf","root","objectProto","objectToString","nativeMax","nativeMin","now","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","toNumber","isObject","invokeFunc","time","args","thisArg","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","value","type","isObjectLike","isSymbol","other","isBinary","lodash_debounce"],"mappings":";;;;;AAUA,MAAIA,IAAkB,uBAGlBC,IAAM,KAGNC,IAAY,mBAGZC,IAAS,cAGTC,IAAa,sBAGbC,IAAa,cAGbC,IAAY,eAGZC,IAAe,UAGfC,IAAa,OAAOC,KAAU,YAAYA,KAAUA,EAAO,WAAW,UAAUA,GAGhFC,IAAW,OAAO,QAAQ,YAAY,QAAQ,KAAK,WAAW,UAAU,MAGxEC,IAAOH,KAAcE,KAAY,SAAS,aAAa,EAAG,GAG1DE,IAAc,OAAO,WAOrBC,IAAiBD,EAAY,UAG7BE,IAAY,KAAK,KACjBC,IAAY,KAAK,KAkBjBC,IAAM,WAAW;AACnB,WAAOL,EAAK,KAAK,IAAK;AAAA,EACvB;AAwDD,WAASM,EAASC,GAAMC,GAAMC,GAAS;AACrC,QAAIC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,IAAiB,GACjBC,IAAU,IACVC,IAAS,IACTC,IAAW;AAEf,QAAI,OAAOZ,KAAQ;AACjB,YAAM,IAAI,UAAUlB,CAAe;AAErC,IAAAmB,IAAOY,EAASZ,CAAI,KAAK,GACrBa,EAASZ,CAAO,MAClBQ,IAAU,CAAC,CAACR,EAAQ,SACpBS,IAAS,aAAaT,GACtBG,IAAUM,IAASf,EAAUiB,EAASX,EAAQ,OAAO,KAAK,GAAGD,CAAI,IAAII,GACrEO,IAAW,cAAcV,IAAU,CAAC,CAACA,EAAQ,WAAWU;AAG1D,aAASG,EAAW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x_google_ignoreList":[0]}
|
package/dist/index.es474.js
CHANGED
@@ -1,86 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
function Y() {
|
4
|
-
if (L) return h;
|
5
|
-
L = 1;
|
6
|
-
var _ = "Expected a function", x = NaN, C = "[object Symbol]", M = /^\s+|\s+$/g, N = /^[-+]0x[0-9a-f]+$/i, R = /^0b[01]+$/i, W = /^0o[0-7]+$/i, $ = parseInt, q = typeof g == "object" && g && g.Object === Object && g, A = typeof self == "object" && self && self.Object === Object && self, B = q || A || Function("return this")(), F = Object.prototype, G = F.toString, P = Math.max, D = Math.min, y = function() {
|
7
|
-
return B.Date.now();
|
8
|
-
};
|
9
|
-
function H(e, r, i) {
|
10
|
-
var a, u, b, c, t, f, s = 0, O = !1, d = !1, j = !0;
|
11
|
-
if (typeof e != "function")
|
12
|
-
throw new TypeError(_);
|
13
|
-
r = I(r) || 0, p(i) && (O = !!i.leading, d = "maxWait" in i, b = d ? P(I(i.maxWait) || 0, r) : b, j = "trailing" in i ? !!i.trailing : j);
|
14
|
-
function v(n) {
|
15
|
-
var o = a, m = u;
|
16
|
-
return a = u = void 0, s = n, c = e.apply(m, o), c;
|
17
|
-
}
|
18
|
-
function z(n) {
|
19
|
-
return s = n, t = setTimeout(l, r), O ? v(n) : c;
|
20
|
-
}
|
21
|
-
function J(n) {
|
22
|
-
var o = n - f, m = n - s, E = r - o;
|
23
|
-
return d ? D(E, b - m) : E;
|
24
|
-
}
|
25
|
-
function S(n) {
|
26
|
-
var o = n - f, m = n - s;
|
27
|
-
return f === void 0 || o >= r || o < 0 || d && m >= b;
|
28
|
-
}
|
29
|
-
function l() {
|
30
|
-
var n = y();
|
31
|
-
if (S(n))
|
32
|
-
return k(n);
|
33
|
-
t = setTimeout(l, J(n));
|
34
|
-
}
|
35
|
-
function k(n) {
|
36
|
-
return t = void 0, j && a ? v(n) : (a = u = void 0, c);
|
37
|
-
}
|
38
|
-
function K() {
|
39
|
-
t !== void 0 && clearTimeout(t), s = 0, a = f = u = t = void 0;
|
40
|
-
}
|
41
|
-
function Q() {
|
42
|
-
return t === void 0 ? c : k(y());
|
43
|
-
}
|
44
|
-
function T() {
|
45
|
-
var n = y(), o = S(n);
|
46
|
-
if (a = arguments, u = this, f = n, o) {
|
47
|
-
if (t === void 0)
|
48
|
-
return z(f);
|
49
|
-
if (d)
|
50
|
-
return t = setTimeout(l, r), v(f);
|
51
|
-
}
|
52
|
-
return t === void 0 && (t = setTimeout(l, r)), c;
|
53
|
-
}
|
54
|
-
return T.cancel = K, T.flush = Q, T;
|
55
|
-
}
|
56
|
-
function p(e) {
|
57
|
-
var r = typeof e;
|
58
|
-
return !!e && (r == "object" || r == "function");
|
59
|
-
}
|
60
|
-
function U(e) {
|
61
|
-
return !!e && typeof e == "object";
|
62
|
-
}
|
63
|
-
function X(e) {
|
64
|
-
return typeof e == "symbol" || U(e) && G.call(e) == C;
|
65
|
-
}
|
66
|
-
function I(e) {
|
67
|
-
if (typeof e == "number")
|
68
|
-
return e;
|
69
|
-
if (X(e))
|
70
|
-
return x;
|
71
|
-
if (p(e)) {
|
72
|
-
var r = typeof e.valueOf == "function" ? e.valueOf() : e;
|
73
|
-
e = p(r) ? r + "" : r;
|
74
|
-
}
|
75
|
-
if (typeof e != "string")
|
76
|
-
return e === 0 ? e : +e;
|
77
|
-
e = e.replace(M, "");
|
78
|
-
var i = R.test(e);
|
79
|
-
return i || W.test(e) ? $(e.slice(2), i ? 2 : 8) : N.test(e) ? x : +e;
|
80
|
-
}
|
81
|
-
return h = H, h;
|
1
|
+
function m(t, [a, n]) {
|
2
|
+
return Math.min(n, Math.max(a, t));
|
82
3
|
}
|
83
4
|
export {
|
84
|
-
|
5
|
+
m as clamp
|
85
6
|
};
|
86
7
|
//# sourceMappingURL=index.es474.js.map
|
package/dist/index.es474.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es474.js","sources":["../node_modules/lodash.debounce/index.js"],"sourcesContent":["/**\n * lodash (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n\n/** Used as the `TypeError` message for \"Functions\" methods. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match leading and trailing whitespace. */\nvar reTrim = /^\\s+|\\s+$/g;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\n/** 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 objectToString = objectProto.toString;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max,\n nativeMin = Math.min;\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\n/**\n * Creates a debounced function that delays invoking `func` until after `wait`\n * milliseconds have elapsed since the last time the debounced function was\n * invoked. The debounced function comes with a `cancel` method to cancel\n * delayed `func` invocations and a `flush` method to immediately invoke them.\n * Provide `options` to indicate whether `func` should be invoked on the\n * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n * with the last arguments provided to the debounced function. Subsequent\n * calls to the debounced function return the result of the last `func`\n * invocation.\n *\n * **Note:** If `leading` and `trailing` options are `true`, `func` is\n * invoked on the trailing edge of the timeout only if the debounced function\n * is invoked more than once during the `wait` timeout.\n *\n * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n *\n * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n * for details over the differences between `_.debounce` and `_.throttle`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to debounce.\n * @param {number} [wait=0] The number of milliseconds to delay.\n * @param {Object} [options={}] The options object.\n * @param {boolean} [options.leading=false]\n * Specify invoking on the leading edge of the timeout.\n * @param {number} [options.maxWait]\n * The maximum time `func` is allowed to be delayed before it's invoked.\n * @param {boolean} [options.trailing=true]\n * Specify invoking on the trailing edge of the timeout.\n * @returns {Function} Returns the new debounced function.\n * @example\n *\n * // Avoid costly calculations while the window size is in flux.\n * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n *\n * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n * jQuery(element).on('click', _.debounce(sendMail, 300, {\n * 'leading': true,\n * 'trailing': false\n * }));\n *\n * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n * var source = new EventSource('/stream');\n * jQuery(source).on('message', debounced);\n *\n * // Cancel the trailing debounced invocation.\n * jQuery(window).on('popstate', debounced.cancel);\n */\nfunction debounce(func, wait, options) {\n var lastArgs,\n lastThis,\n maxWait,\n result,\n timerId,\n lastCallTime,\n lastInvokeTime = 0,\n leading = false,\n maxing = false,\n trailing = true;\n\n if (typeof func != 'function') {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n wait = toNumber(wait) || 0;\n if (isObject(options)) {\n leading = !!options.leading;\n maxing = 'maxWait' in options;\n maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n trailing = 'trailing' in options ? !!options.trailing : trailing;\n }\n\n function invokeFunc(time) {\n var args = lastArgs,\n thisArg = lastThis;\n\n lastArgs = lastThis = undefined;\n lastInvokeTime = time;\n result = func.apply(thisArg, args);\n return result;\n }\n\n function leadingEdge(time) {\n // Reset any `maxWait` timer.\n lastInvokeTime = time;\n // Start the timer for the trailing edge.\n timerId = setTimeout(timerExpired, wait);\n // Invoke the leading edge.\n return leading ? invokeFunc(time) : result;\n }\n\n function remainingWait(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime,\n result = wait - timeSinceLastCall;\n\n return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result;\n }\n\n function shouldInvoke(time) {\n var timeSinceLastCall = time - lastCallTime,\n timeSinceLastInvoke = time - lastInvokeTime;\n\n // Either this is the first call, activity has stopped and we're at the\n // trailing edge, the system time has gone backwards and we're treating\n // it as the trailing edge, or we've hit the `maxWait` limit.\n return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n }\n\n function timerExpired() {\n var time = now();\n if (shouldInvoke(time)) {\n return trailingEdge(time);\n }\n // Restart the timer.\n timerId = setTimeout(timerExpired, remainingWait(time));\n }\n\n function trailingEdge(time) {\n timerId = undefined;\n\n // Only invoke if we have `lastArgs` which means `func` has been\n // debounced at least once.\n if (trailing && lastArgs) {\n return invokeFunc(time);\n }\n lastArgs = lastThis = undefined;\n return result;\n }\n\n function cancel() {\n if (timerId !== undefined) {\n clearTimeout(timerId);\n }\n lastInvokeTime = 0;\n lastArgs = lastCallTime = lastThis = timerId = undefined;\n }\n\n function flush() {\n return timerId === undefined ? result : trailingEdge(now());\n }\n\n function debounced() {\n var time = now(),\n isInvoking = shouldInvoke(time);\n\n lastArgs = arguments;\n lastThis = this;\n lastCallTime = time;\n\n if (isInvoking) {\n if (timerId === undefined) {\n return leadingEdge(lastCallTime);\n }\n if (maxing) {\n // Handle invocations in a tight loop.\n timerId = setTimeout(timerExpired, wait);\n return invokeFunc(lastCallTime);\n }\n }\n if (timerId === undefined) {\n timerId = setTimeout(timerExpired, wait);\n }\n return result;\n }\n debounced.cancel = cancel;\n debounced.flush = flush;\n return debounced;\n}\n\n/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n}\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = value.replace(reTrim, '');\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = debounce;\n"],"names":["FUNC_ERROR_TEXT","NAN","symbolTag","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","freeGlobal","global","freeSelf","root","objectProto","objectToString","nativeMax","nativeMin","now","debounce","func","wait","options","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","toNumber","isObject","invokeFunc","time","args","thisArg","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","value","type","isObjectLike","isSymbol","other","isBinary","lodash_debounce"],"mappings":";;;;;AAUA,MAAIA,IAAkB,uBAGlBC,IAAM,KAGNC,IAAY,mBAG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D;AA0BA,WAASC,EAAaF,GAAO;AAC3B,WAAO,CAAC,CAACA,KAAS,OAAOA,KAAS;AAAA,EACpC;AAmBA,WAASG,EAASH,GAAO;AACvB,WAAO,OAAOA,KAAS,YACpBE,EAAaF,CAAK,KAAKnC,EAAe,KAAKmC,CAAK,KAAK9C;AAAA,EAC1D;AAyBA,WAAS6B,EAASiB,GAAO;AACvB,QAAI,OAAOA,KAAS;AAClB,aAAOA;AAET,QAAIG,EAASH,CAAK;AAChB,aAAO/C;AAET,QAAI+B,EAASgB,CAAK,GAAG;AACnB,UAAII,IAAQ,OAAOJ,EAAM,WAAW,aAAaA,EAAM,QAAO,IAAKA;AACnE,MAAAA,IAAQhB,EAASoB,CAAK,IAAKA,IAAQ,KAAMA;AAAA,IAC7C;AACE,QAAI,OAAOJ,KAAS;AAClB,aAAOA,MAAU,IAAIA,IAAQ,CAACA;AAEhC,IAAAA,IAAQA,EAAM,QAAQ7C,GAAQ,EAAE;AAChC,QAAIkD,IAAWhD,EAAW,KAAK2C,CAAK;AACpC,WAAQK,KAAY/C,EAAU,KAAK0C,CAAK,IACpCzC,EAAayC,EAAM,MAAM,CAAC,GAAGK,IAAW,IAAI,CAAC,IAC5CjD,EAAW,KAAK4C,CAAK,IAAI/C,IAAM,CAAC+C;AAAA,EACvC;AAEA,SAAAM,IAAiBrC;;","x_google_ignoreList":[0]}
|
1
|
+
{"version":3,"file":"index.es474.js","sources":["../node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["clamp","value","min","max"],"mappings":"AACA,SAASA,EAAMC,GAAO,CAACC,GAAKC,CAAG,GAAG;AAChC,SAAO,KAAK,IAAIA,GAAK,KAAK,IAAID,GAAKD,CAAK,CAAC;AAC3C;","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
package/dist/index.cjs424.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=["top","right","bottom","left"],a=Math.min,f=Math.max,A=Math.round,P=Math.floor,O=t=>({x:t,y:t}),y={left:"right",right:"left",bottom:"top",top:"bottom"},S={start:"end",end:"start"};function M(t,e,n){return f(t,a(e,n))}function j(t,e){return typeof t=="function"?t(e):t}function l(t){return t.split("-")[0]}function u(t){return t.split("-")[1]}function m(t){return t==="x"?"y":"x"}function p(t){return t==="y"?"height":"width"}function d(t){return["top","bottom"].includes(l(t))?"y":"x"}function h(t){return m(d(t))}function C(t,e,n){n===void 0&&(n=!1);const r=u(t),o=h(t),i=p(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=g(s)),[s,g(s)]}function w(t){const e=g(t);return[c(t),e,c(e)]}function c(t){return t.replace(/start|end/g,e=>S[e])}function L(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:s;default:return[]}}function T(t,e,n,r){const o=u(t);let i=L(l(t),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),e&&(i=i.concat(i.map(c)))),i}function g(t){return t.replace(/left|right|bottom|top/g,e=>y[e])}function x(t){return{top:0,right:0,bottom:0,left:0,...t}}function E(t){return typeof t!="number"?x(t):{top:t,right:t,bottom:t,left:t}}function R(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}exports.clamp=M;exports.createCoords=O;exports.evaluate=j;exports.expandPaddingObject=x;exports.floor=P;exports.getAlignment=u;exports.getAlignmentAxis=h;exports.getAlignmentSides=C;exports.getAxisLength=p;exports.getExpandedPlacements=w;exports.getOppositeAlignmentPlacement=c;exports.getOppositeAxis=m;exports.getOppositeAxisPlacements=T;exports.getOppositePlacement=g;exports.getPaddingObject=E;exports.getSide=l;exports.getSideAxis=d;exports.max=f;exports.min=a;exports.rectToClientRect=R;exports.round=A;exports.sides=b;
|
2
|
-
//# sourceMappingURL=index.cjs424.js.map
|
package/dist/index.cjs424.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs424.js","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n start: 'end',\n end: 'start'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n return ['top', 'bottom'].includes(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nfunction getSideList(side, isStart, rtl) {\n const lr = ['left', 'right'];\n const rl = ['right', 'left'];\n const tb = ['top', 'bottom'];\n const bt = ['bottom', 'top'];\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rl : lr;\n return isStart ? lr : rl;\n case 'left':\n case 'right':\n return isStart ? tb : bt;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":["sides","min","max","round","floor","createCoords","v","oppositeSideMap","oppositeAlignmentMap","clamp","start","value","end","evaluate","param","getSide","placement","getAlignment","getOppositeAxis","axis","getAxisLength","getSideAxis","getAlignmentAxis","getAlignmentSides","rects","rtl","alignment","alignmentAxis","length","mainAlignmentSide","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","getSideList","side","isStart","lr","rl","tb","bt","getOppositeAxisPlacements","flipAlignment","direction","list","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect","x","y","width","height"],"mappings":"gFAKK,MAACA,EAAQ,CAAC,MAAO,QAAS,SAAU,MAAM,EAGzCC,EAAM,KAAK,IACXC,EAAM,KAAK,IACXC,EAAQ,KAAK,MACbC,EAAQ,KAAK,MACbC,EAAeC,IAAM,CACzB,EAAGA,EACH,EAAGA,CACL,GACMC,EAAkB,CACtB,KAAM,QACN,MAAO,OACP,OAAQ,MACR,IAAK,QACP,EACMC,EAAuB,CAC3B,MAAO,MACP,IAAK,OACP,EACA,SAASC,EAAMC,EAAOC,EAAOC,EAAK,CAChC,OAAOV,EAAIQ,EAAOT,EAAIU,EAAOC,CAAG,CAAC,CACnC,CACA,SAASC,EAASF,EAAOG,EAAO,CAC9B,OAAO,OAAOH,GAAU,WAAaA,EAAMG,CAAK,EAAIH,CACtD,CACA,SAASI,EAAQC,EAAW,CAC1B,OAAOA,EAAU,MAAM,GAAG,EAAE,CAAC,CAC/B,CACA,SAASC,EAAaD,EAAW,CAC/B,OAAOA,EAAU,MAAM,GAAG,EAAE,CAAC,CAC/B,CACA,SAASE,EAAgBC,EAAM,CAC7B,OAAOA,IAAS,IAAM,IAAM,GAC9B,CACA,SAASC,EAAcD,EAAM,CAC3B,OAAOA,IAAS,IAAM,SAAW,OACnC,CACA,SAASE,EAAYL,EAAW,CAC9B,MAAO,CAAC,MAAO,QAAQ,EAAE,SA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IAAc,QAASlB,CAAG,EACrE,OAAIC,IACFkB,EAAOA,EAAK,IAAIT,GAAQA,EAAO,IAAMT,CAAS,EAC1CgB,IACFE,EAAOA,EAAK,OAAOA,EAAK,IAAIX,CAA6B,CAAC,IAGvDW,CACT,CACA,SAASd,EAAqBd,EAAW,CACvC,OAAOA,EAAU,QAAQ,yBAA0BmB,GAAQ5B,EAAgB4B,CAAI,CAAC,CAClF,CACA,SAASU,EAAoBC,EAAS,CACpC,MAAO,CACL,IAAK,EACL,MAAO,EACP,OAAQ,EACR,KAAM,EACN,GAAGA,CACJ,CACH,CACA,SAASC,EAAiBD,EAAS,CACjC,OAAO,OAAOA,GAAY,SAAWD,EAAoBC,CAAO,EAAI,CAClE,IAAKA,EACL,MAAOA,EACP,OAAQA,EACR,KAAMA,CACP,CACH,CACA,SAASE,EAAiBC,EAAM,CAC9B,KAAM,CACJ,EAAAC,EACA,EAAAC,EACA,MAAAC,EACA,OAAAC,CACJ,EAAMJ,EACJ,MAAO,CACL,MAAAG,EACA,OAAAC,EACA,IAAKF,EACL,KAAMD,EACN,MAAOA,EAAIE,EACX,OAAQD,EAAIE,EACZ,EAAAH,EACA,EAAAC,CACD,CACH","x_google_ignoreList":[0]}
|
package/dist/index.cjs425.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(){return typeof window<"u"}function s(e){return d(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function E(e){var t;return(t=(d(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function d(e){return c()?e instanceof Node||e instanceof i(e).Node:!1}function m(e){return c()?e instanceof Element||e instanceof i(e).Element:!1}function p(e){return c()?e instanceof HTMLElement||e instanceof i(e).HTMLElement:!1}function f(e){return!c()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof i(e).ShadowRoot}function w(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function C(e){return["table","td","th"].includes(s(e))}function S(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function h(e){const t=T(),n=m(e)?y(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function k(e){let t=l(e);for(;p(t)&&!g(t);){if(h(t))return t;if(S(t))return null;t=l(t)}return null}function T(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(s(e))}function y(e){return i(e).getComputedStyle(e)}function D(e){return m(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function l(e){if(s(e)==="html")return e;const t=e.assignedSlot||e.parentNode||f(e)&&e.host||E(e);return f(t)?t.host:t}function b(e){const t=l(e);return g(t)?e.ownerDocument?e.ownerDocument.body:e.body:p(t)&&w(t)?t:b(t)}function a(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=b(e),L=r===((o=e.ownerDocument)==null?void 0:o.body),u=i(r);if(L){const N=v(u);return t.concat(u,u.visualViewport||[],w(r)?r:[],N&&n?a(N):[])}return t.concat(r,a(r,[],n))}function v(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}exports.getComputedStyle=y;exports.getContainingBlock=k;exports.getDocumentElement=E;exports.getFrameElement=v;exports.getNearestOverflowAncestor=b;exports.getNodeName=s;exports.getNodeScroll=D;exports.getOverflowAncestors=a;exports.getParentNode=l;exports.getWindow=i;exports.isContainingBlock=h;exports.isElement=m;exports.isHTMLElement=p;exports.isLastTraversableNode=g;exports.isNode=d;exports.isOverflowElement=w;exports.isShadowRoot=f;exports.isTableElement=C;exports.isTopLayer=S;exports.isWebKit=T;
|
2
|
-
//# sourceMappingURL=index.cjs425.js.map
|