@quoreadmin/ui 1.10.33 → 1.11.0
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.css +1 -1
- package/dist/index.js +29 -27
- package/dist/index10.js +2 -2
- package/dist/index101.js +20 -25
- package/dist/index102.js +34 -0
- package/dist/{index103.js → index104.js} +1 -1
- package/dist/index106.js +147 -2
- package/dist/index107.js +2 -37
- package/dist/index108.js +39 -0
- package/dist/index11.js +2 -2
- package/dist/{index109.js → index110.js} +2 -2
- package/dist/{index111.js → index112.js} +1 -1
- package/dist/{index113.js → index114.js} +3 -3
- package/dist/{index115.js → index116.js} +5 -5
- package/dist/{index117.js → index118.js} +1 -1
- package/dist/index12.js +2 -2
- package/dist/{index119.js → index120.js} +5 -5
- package/dist/index13.js +2 -2
- package/dist/{index131.js → index132.js} +2 -2
- package/dist/{index136.js → index137.js} +1 -1
- package/dist/{index138.js → index139.js} +2 -2
- package/dist/index14.js +2 -2
- package/dist/index142.js +167 -0
- package/dist/{index143.js → index146.js} +1 -1
- package/dist/index15.js +2 -2
- package/dist/{index147.js → index150.js} +379 -399
- package/dist/{index149.js → index152.js} +1 -1
- package/dist/{index151.js → index154.js} +10 -10
- package/dist/index16.js +2 -2
- package/dist/index160.js +581 -86
- package/dist/index163.js +93 -0
- package/dist/index165.js +87 -356
- package/dist/index168.js +389 -0
- package/dist/index17.js +2 -2
- package/dist/{index167.js → index170.js} +1 -1
- package/dist/index172.js +205 -111
- package/dist/index175.js +110 -87
- package/dist/index176.js +478 -844
- package/dist/index177.js +5520 -36
- package/dist/index178.js +90 -279
- package/dist/index179.js +833 -122
- package/dist/index18.js +2 -2
- package/dist/index180.js +36 -1197
- package/dist/index181.js +268 -760
- package/dist/index182.js +146 -1304
- package/dist/index183.js +1151 -228
- package/dist/index184.js +754 -88
- package/dist/index185.js +1308 -2
- package/dist/index186.js +259 -1359
- package/dist/index187.js +108 -0
- package/dist/index188.js +2 -18
- package/dist/index189.js +1372 -14
- package/dist/index19.js +2 -2
- package/dist/index191.js +8 -8
- package/dist/index192.js +10 -17
- package/dist/index193.js +18 -759
- package/dist/index194.js +18 -1177
- package/dist/index195.js +22 -1231
- package/dist/index196.js +740 -11258
- package/dist/index197.js +1177 -36
- package/dist/index198.js +1233 -43
- package/dist/index199.js +11258 -1209
- package/dist/index2.js +2 -2
- package/dist/index20.js +3 -3
- package/dist/index200.js +38 -0
- package/dist/index201.js +44 -5938
- package/dist/index202.js +1149 -128
- package/dist/index204.js +5933 -13
- package/dist/index205.js +205 -76
- package/dist/index206.js +28 -246
- package/dist/index207.js +14 -13680
- package/dist/index208.js +77 -26
- package/dist/index209.js +245 -55
- package/dist/index21.js +2 -2
- package/dist/index210.js +13655 -209
- package/dist/index211.js +26 -310
- package/dist/index212.js +43 -277
- package/dist/index213.js +231 -81
- package/dist/index214.js +291 -387
- package/dist/index215.js +296 -21
- package/dist/index219.js +2 -2
- package/dist/index22.js +2 -2
- package/dist/index220.js +1 -1
- package/dist/index222.js +4 -4
- package/dist/index224.js +1 -1
- package/dist/index225.js +1 -1
- package/dist/index226.js +1 -1
- package/dist/index227.js +4 -4
- package/dist/index229.js +1 -1
- package/dist/index23.js +2 -2
- package/dist/index230.js +84 -157
- package/dist/index231.js +384 -205
- package/dist/index232.js +22 -37
- package/dist/index233.js +127 -10
- package/dist/index234.js +25 -148
- package/dist/index235.js +80 -20
- package/dist/index236.js +1 -1
- package/dist/index237.js +13 -15
- package/dist/index238.js +19 -198
- package/dist/index239.js +18 -68
- package/dist/index24.js +2 -2
- package/dist/index240.js +20 -34
- package/dist/index241.js +143 -22
- package/dist/index242.js +11 -13
- package/dist/index243.js +12 -12
- package/dist/index244.js +198 -19
- package/dist/index245.js +48 -814
- package/dist/index246.js +34 -702
- package/dist/index247.js +39 -175
- package/dist/index248.js +253 -20
- package/dist/index249.js +8 -20
- package/dist/index250.js +138 -22
- package/dist/index251.js +83 -20
- package/dist/index252.js +160 -19
- package/dist/index253.js +228 -3
- package/dist/index254.js +31 -181
- package/dist/index255.js +10 -133
- package/dist/index256.js +22 -1223
- package/dist/index257.js +21 -126
- package/dist/index258.js +12 -12
- package/dist/index259.js +836 -22
- package/dist/index26.js +2 -2
- package/dist/index260.js +701 -21
- package/dist/index261.js +174 -36
- package/dist/index262.js +15 -22
- package/dist/index263.js +7 -7
- package/dist/index264.js +13 -13
- package/dist/index265.js +2 -1
- package/dist/index266.js +187 -2
- package/dist/index267.js +131 -78
- package/dist/index268.js +1223 -20
- package/dist/index269.js +11 -11
- package/dist/index27.js +2 -2
- package/dist/index270.js +22 -253
- package/dist/index271.js +21 -7
- package/dist/index272.js +29 -138
- package/dist/index273.js +20 -83
- package/dist/index274.js +20 -3709
- package/dist/index275.js +2 -60
- package/dist/index276.js +2 -83
- package/dist/index277.js +3690 -33
- package/dist/index278.js +34 -189
- package/dist/index279.js +82 -9
- package/dist/index28.js +2 -2
- package/dist/index280.js +34 -39
- package/dist/index281.js +186 -32
- package/dist/index282.js +9 -53
- package/dist/index283.js +39 -63
- package/dist/index284.js +35 -702
- package/dist/index285.js +40 -33
- package/dist/index286.js +40 -23
- package/dist/index287.js +727 -10
- package/dist/index288.js +38 -696
- package/dist/index289.js +62 -818
- package/dist/index29.js +2 -2
- package/dist/index290.js +10 -53
- package/dist/index291.js +694 -68
- package/dist/index292.js +820 -26
- package/dist/index293.js +2 -22
- package/dist/index294.js +78 -21
- package/dist/index295.js +52 -14
- package/dist/index296.js +26 -17
- package/dist/index297.js +22 -23
- package/dist/index298.js +22 -3
- package/dist/index299.js +16 -27
- package/dist/index3.js +2 -2
- package/dist/index30.js +2 -2
- package/dist/index300.js +17 -2
- package/dist/index301.js +21 -77
- package/dist/index302.js +78 -21
- package/dist/index303.js +22 -935
- package/dist/index304.js +935 -22
- package/dist/index305.js +15 -13
- package/dist/index306.js +5 -5
- package/dist/index307.js +19 -68
- package/dist/index308.js +68 -18
- package/dist/index309.js +14 -14
- package/dist/index31.js +3 -3
- package/dist/index310.js +19 -22
- package/dist/index311.js +14 -14
- package/dist/index312.js +21 -62
- package/dist/index313.js +63 -1534
- package/dist/index314.js +79 -381
- package/dist/index315.js +3 -2731
- package/dist/index316.js +24 -83
- package/dist/index317.js +1294 -3558
- package/dist/index318.js +379 -53
- package/dist/index319.js +2730 -14
- package/dist/index32.js +2 -2
- package/dist/index320.js +82 -80
- package/dist/index321.js +3749 -153
- package/dist/index322.js +54 -240
- package/dist/index323.js +15 -37
- package/dist/index324.js +75 -226
- package/dist/index325.js +200 -4
- package/dist/index326.js +236 -124
- package/dist/index327.js +36 -67
- package/dist/index328.js +124 -81
- package/dist/index329.js +397 -26
- package/dist/index33.js +2 -2
- package/dist/index330.js +235 -9
- package/dist/index331.js +5 -74
- package/dist/index332.js +133 -3
- package/dist/index333.js +68 -2
- package/dist/index334.js +83 -79
- package/dist/index335.js +27 -52
- package/dist/index336.js +8 -5
- package/dist/index337.js +74 -4
- package/dist/index338.js +3 -178
- package/dist/index339.js +2 -63
- package/dist/index34.js +2 -2
- package/dist/index340.js +82 -74
- package/dist/index341.js +53 -8
- package/dist/index342.js +5 -12
- package/dist/index343.js +4 -54
- package/dist/index344.js +176 -9
- package/dist/index345.js +61 -12
- package/dist/index346.js +75 -58
- package/dist/index347.js +19 -51
- package/dist/index348.js +19 -30
- package/dist/index349.js +64 -2
- package/dist/index35.js +2 -2
- package/dist/index350.js +37 -5
- package/dist/index351.js +9 -2
- package/dist/index352.js +13 -23
- package/dist/index353.js +52 -38
- package/dist/index354.js +12 -2
- package/dist/index355.js +14 -11
- package/dist/index356.js +54 -16
- package/dist/index357.js +52 -10
- package/dist/index358.js +31 -10
- package/dist/index359.js +2 -17
- package/dist/index36.js +2 -2
- package/dist/index360.js +5 -2
- package/dist/index361.js +2 -9
- package/dist/index362.js +23 -10
- package/dist/index363.js +39 -12
- package/dist/index364.js +2 -20
- package/dist/index365.js +11 -20
- package/dist/index366.js +18 -62
- package/dist/index367.js +10 -37
- package/dist/index368.js +10 -21
- package/dist/index369.js +16 -55
- package/dist/index37.js +2 -2
- package/dist/index370.js +2 -29
- package/dist/index371.js +9 -7
- package/dist/index372.js +9 -51
- package/dist/index373.js +13 -5
- package/dist/index374.js +19 -10
- package/dist/index375.js +56 -7
- package/dist/index376.js +29 -28
- package/dist/index377.js +7 -2
- package/dist/index378.js +50 -68
- package/dist/index379.js +5 -166
- package/dist/index38.js +2 -2
- package/dist/index380.js +12 -17
- package/dist/index381.js +6 -100
- package/dist/index382.js +28 -91
- package/dist/index383.js +2 -98
- package/dist/index384.js +69 -12
- package/dist/index385.js +167 -7
- package/dist/index386.js +131 -28
- package/dist/index387.js +17 -11
- package/dist/index388.js +98 -1
- package/dist/index389.js +90 -3
- package/dist/index39.js +2 -2
- package/dist/index390.js +98 -12
- package/dist/index391.js +30 -4
- package/dist/index392.js +11 -33
- package/dist/index393.js +4 -31
- package/dist/index394.js +4 -28
- package/dist/index395.js +12 -60
- package/dist/index396.js +7 -3
- package/dist/index397.js +12 -2
- package/dist/index398.js +5 -2
- package/dist/index399.js +33 -17
- package/dist/index4.js +2 -2
- package/dist/index40.js +2 -2
- package/dist/index400.js +31 -13
- package/dist/index401.js +28 -6
- package/dist/index402.js +57 -28
- package/dist/index403.js +489 -0
- package/dist/index404.js +128 -0
- package/dist/index405.js +5 -0
- package/dist/index406.js +4 -0
- package/dist/index407.js +4 -0
- package/dist/index408.js +19 -0
- package/dist/index409.js +15 -0
- package/dist/index41.js +2 -2
- package/dist/index410.js +8 -0
- package/dist/index411.js +34 -0
- package/dist/index42.js +4 -29
- package/dist/index43.js +25 -32
- package/dist/index44.js +32 -37
- package/dist/index45.js +37 -1391
- package/dist/index46.js +1350 -348
- package/dist/index47.js +367 -145
- package/dist/index48.js +155 -18
- package/dist/index49.js +16 -42
- package/dist/index5.js +2 -2
- package/dist/index50.js +45 -5
- package/dist/index51.js +5 -69
- package/dist/index52.js +67 -61
- package/dist/index53.js +57 -175
- package/dist/index54.js +173 -77
- package/dist/index55.js +79 -200
- package/dist/index56.js +206 -68
- package/dist/index57.js +69 -20
- package/dist/index58.js +20 -11
- package/dist/index59.js +10 -6
- package/dist/index6.js +2 -2
- package/dist/index60.js +5 -209
- package/dist/index61.js +210 -12
- package/dist/index62.js +12 -184
- package/dist/index63.js +176 -68
- package/dist/index64.js +79 -0
- package/dist/index66.js +7 -91
- package/dist/index67.js +93 -0
- package/dist/index7.js +2 -2
- package/dist/{index74.js → index75.js} +2 -2
- package/dist/index79.js +38 -395
- package/dist/index8.js +3 -3
- package/dist/index80.js +419 -0
- package/dist/{index83.js → index84.js} +4 -4
- package/dist/{index85.js → index86.js} +1 -1
- package/dist/index88.js +23 -143
- package/dist/index89.js +156 -0
- package/dist/index9.js +2 -2
- package/dist/{index90.js → index91.js} +5 -5
- package/dist/{index92.js → index93.js} +5 -5
- package/dist/{index98.js → index99.js} +4 -4
- package/dist/src/components/popper/popper.vue.d.ts +90 -0
- package/dist/src/components/popper/use-popper.d.ts +37 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +2 -1
- package/dist/index100.js +0 -29
- package/dist/index105.js +0 -149
- package/dist/index157.js +0 -588
- package/dist/index162.js +0 -120
- package/dist/index169.js +0 -210
- package/dist/index173.js +0 -497
- package/dist/index174.js +0 -5524
- package/dist/index190.js +0 -20
- package/dist/index203.js +0 -37
- package/dist/index65.js +0 -9
- package/dist/index78.js +0 -62
- package/dist/index87.js +0 -36
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +0 -2167
- /package/dist/{index121.js → index122.js} +0 -0
- /package/dist/{index123.js → index124.js} +0 -0
- /package/dist/{index125.js → index126.js} +0 -0
- /package/dist/{index127.js → index128.js} +0 -0
- /package/dist/{index129.js → index130.js} +0 -0
- /package/dist/{index134.js → index135.js} +0 -0
- /package/dist/{index141.js → index144.js} +0 -0
- /package/dist/{index145.js → index148.js} +0 -0
- /package/dist/{index153.js → index156.js} +0 -0
- /package/dist/{index155.js → index158.js} +0 -0
- /package/dist/{index68.js → index69.js} +0 -0
- /package/dist/{index70.js → index71.js} +0 -0
- /package/dist/{index72.js → index73.js} +0 -0
- /package/dist/{index76.js → index77.js} +0 -0
- /package/dist/{index81.js → index82.js} +0 -0
- /package/dist/{index94.js → index95.js} +0 -0
- /package/dist/{index96.js → index97.js} +0 -0
package/dist/index328.js
CHANGED
|
@@ -1,89 +1,132 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
function y(i, r, e) {
|
|
9
|
-
if (t.isString(i))
|
|
10
|
-
try {
|
|
11
|
-
return (r || JSON.parse)(i), t.trim(i);
|
|
12
|
-
} catch (n) {
|
|
13
|
-
if (n.name !== "SyntaxError")
|
|
14
|
-
throw n;
|
|
15
|
-
}
|
|
16
|
-
return (e || JSON.stringify)(i);
|
|
1
|
+
import { arrow as j, computePosition as z } from "./index329.js";
|
|
2
|
+
import { autoUpdate as W, flip as X, hide as Y, offset as Z, platform as ee, shift as ne, size as te } from "./index329.js";
|
|
3
|
+
import { isNode as A, getNodeName as B } from "./index386.js";
|
|
4
|
+
import { getOverflowAncestors as ue } from "./index386.js";
|
|
5
|
+
import { computed as r, ref as c, shallowRef as F, watch as x, getCurrentScope as I, onScopeDispose as U, shallowReadonly as o, unref as k } from "vue";
|
|
6
|
+
function q(e) {
|
|
7
|
+
return e != null && typeof e == "object" && "$el" in e;
|
|
17
8
|
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
o ? { "files[]": r } : r,
|
|
39
|
-
p && new p(),
|
|
40
|
-
this.formSerializer
|
|
41
|
-
);
|
|
42
|
-
}
|
|
9
|
+
function V(e) {
|
|
10
|
+
if (q(e)) {
|
|
11
|
+
const l = e.$el;
|
|
12
|
+
return A(l) && B(l) === "#comment" ? null : l;
|
|
13
|
+
}
|
|
14
|
+
return e;
|
|
15
|
+
}
|
|
16
|
+
function i(e) {
|
|
17
|
+
return typeof e == "function" ? e() : k(e);
|
|
18
|
+
}
|
|
19
|
+
function K(e) {
|
|
20
|
+
return {
|
|
21
|
+
name: "arrow",
|
|
22
|
+
options: e,
|
|
23
|
+
fn(l) {
|
|
24
|
+
const t = V(i(e.element));
|
|
25
|
+
return t == null ? {} : j({
|
|
26
|
+
element: t,
|
|
27
|
+
padding: e.padding
|
|
28
|
+
}).fn(l);
|
|
43
29
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function M(e) {
|
|
33
|
+
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
34
|
+
}
|
|
35
|
+
function C(e, l) {
|
|
36
|
+
const t = M(e);
|
|
37
|
+
return Math.round(l * t) / t;
|
|
38
|
+
}
|
|
39
|
+
function L(e, l, t) {
|
|
40
|
+
t === void 0 && (t = {});
|
|
41
|
+
const D = t.whileElementsMounted, s = r(() => {
|
|
42
|
+
var n;
|
|
43
|
+
return (n = i(t.open)) != null ? n : !0;
|
|
44
|
+
}), O = r(() => i(t.middleware)), p = r(() => {
|
|
45
|
+
var n;
|
|
46
|
+
return (n = i(t.placement)) != null ? n : "bottom";
|
|
47
|
+
}), w = r(() => {
|
|
48
|
+
var n;
|
|
49
|
+
return (n = i(t.strategy)) != null ? n : "absolute";
|
|
50
|
+
}), S = r(() => {
|
|
51
|
+
var n;
|
|
52
|
+
return (n = i(t.transform)) != null ? n : !0;
|
|
53
|
+
}), f = r(() => V(e.value)), u = r(() => V(l.value)), y = c(0), h = c(0), m = c(w.value), P = c(p.value), E = F({}), g = c(!1), _ = r(() => {
|
|
54
|
+
const n = {
|
|
55
|
+
position: m.value,
|
|
56
|
+
left: "0",
|
|
57
|
+
top: "0"
|
|
58
|
+
};
|
|
59
|
+
if (!u.value)
|
|
60
|
+
return n;
|
|
61
|
+
const a = C(u.value, y.value), b = C(u.value, h.value);
|
|
62
|
+
return S.value ? {
|
|
63
|
+
...n,
|
|
64
|
+
transform: "translate(" + a + "px, " + b + "px)",
|
|
65
|
+
...M(u.value) >= 1.5 && {
|
|
66
|
+
willChange: "transform"
|
|
57
67
|
}
|
|
68
|
+
} : {
|
|
69
|
+
position: m.value,
|
|
70
|
+
left: a + "px",
|
|
71
|
+
top: b + "px"
|
|
72
|
+
};
|
|
73
|
+
});
|
|
74
|
+
let d;
|
|
75
|
+
function v() {
|
|
76
|
+
if (f.value == null || u.value == null)
|
|
77
|
+
return;
|
|
78
|
+
const n = s.value;
|
|
79
|
+
z(f.value, u.value, {
|
|
80
|
+
middleware: O.value,
|
|
81
|
+
placement: p.value,
|
|
82
|
+
strategy: w.value
|
|
83
|
+
}).then((a) => {
|
|
84
|
+
y.value = a.x, h.value = a.y, m.value = a.strategy, P.value = a.placement, E.value = a.middlewareData, g.value = n !== !1;
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
function R() {
|
|
88
|
+
typeof d == "function" && (d(), d = void 0);
|
|
89
|
+
}
|
|
90
|
+
function N() {
|
|
91
|
+
if (R(), D === void 0) {
|
|
92
|
+
v();
|
|
93
|
+
return;
|
|
58
94
|
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
63
|
-
* timeout is not created.
|
|
64
|
-
*/
|
|
65
|
-
timeout: 0,
|
|
66
|
-
xsrfCookieName: "XSRF-TOKEN",
|
|
67
|
-
xsrfHeaderName: "X-XSRF-TOKEN",
|
|
68
|
-
maxContentLength: -1,
|
|
69
|
-
maxBodyLength: -1,
|
|
70
|
-
env: {
|
|
71
|
-
FormData: a.classes.FormData,
|
|
72
|
-
Blob: a.classes.Blob
|
|
73
|
-
},
|
|
74
|
-
validateStatus: function(r) {
|
|
75
|
-
return r >= 200 && r < 300;
|
|
76
|
-
},
|
|
77
|
-
headers: {
|
|
78
|
-
common: {
|
|
79
|
-
Accept: "application/json, text/plain, */*",
|
|
80
|
-
"Content-Type": void 0
|
|
95
|
+
if (f.value != null && u.value != null) {
|
|
96
|
+
d = D(f.value, u.value, v);
|
|
97
|
+
return;
|
|
81
98
|
}
|
|
82
99
|
}
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
100
|
+
function $() {
|
|
101
|
+
s.value || (g.value = !1);
|
|
102
|
+
}
|
|
103
|
+
return x([O, p, w, s], v, {
|
|
104
|
+
flush: "sync"
|
|
105
|
+
}), x([f, u], N, {
|
|
106
|
+
flush: "sync"
|
|
107
|
+
}), x(s, $, {
|
|
108
|
+
flush: "sync"
|
|
109
|
+
}), I() && U(R), {
|
|
110
|
+
x: o(y),
|
|
111
|
+
y: o(h),
|
|
112
|
+
strategy: o(m),
|
|
113
|
+
placement: o(P),
|
|
114
|
+
middlewareData: o(E),
|
|
115
|
+
isPositioned: o(g),
|
|
116
|
+
floatingStyles: _,
|
|
117
|
+
update: v
|
|
118
|
+
};
|
|
119
|
+
}
|
|
87
120
|
export {
|
|
88
|
-
|
|
121
|
+
K as arrow,
|
|
122
|
+
W as autoUpdate,
|
|
123
|
+
z as computePosition,
|
|
124
|
+
X as flip,
|
|
125
|
+
ue as getOverflowAncestors,
|
|
126
|
+
Y as hide,
|
|
127
|
+
Z as offset,
|
|
128
|
+
ee as platform,
|
|
129
|
+
ne as shift,
|
|
130
|
+
te as size,
|
|
131
|
+
L as useFloating
|
|
89
132
|
};
|
package/dist/index329.js
CHANGED
|
@@ -1,31 +1,402 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { offset as st, flip as rt, shift as ct, hide as lt, size as ft, arrow as ut, computePosition as ht } from "./index403.js";
|
|
2
|
+
import { createCoords as m, rectToClientRect as J, round as z, max as E, min as N, floor as D } from "./index404.js";
|
|
3
|
+
import { getOverflowAncestors as V, isElement as v, getDocumentElement as b, getWindow as O, getFrameElement as U, getComputedStyle as R, isHTMLElement as T, isTopLayer as $, getParentNode as W, isLastTraversableNode as A, isTableElement as at, isContainingBlock as Q, getContainingBlock as dt, getNodeName as _, isOverflowElement as q, getNodeScroll as H, isWebKit as Y } from "./index386.js";
|
|
4
|
+
function Z(t) {
|
|
5
|
+
const e = R(t);
|
|
6
|
+
let o = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
|
|
7
|
+
const n = T(t), r = n ? t.offsetWidth : o, s = n ? t.offsetHeight : i, c = z(o) !== r || z(i) !== s;
|
|
8
|
+
return c && (o = r, i = s), {
|
|
9
|
+
width: o,
|
|
10
|
+
height: i,
|
|
11
|
+
$: c
|
|
12
|
+
};
|
|
4
13
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
14
|
+
function X(t) {
|
|
15
|
+
return v(t) ? t : t.contextElement;
|
|
16
|
+
}
|
|
17
|
+
function F(t) {
|
|
18
|
+
const e = X(t);
|
|
19
|
+
if (!T(e))
|
|
20
|
+
return m(1);
|
|
21
|
+
const o = e.getBoundingClientRect(), {
|
|
22
|
+
width: i,
|
|
23
|
+
height: n,
|
|
24
|
+
$: r
|
|
25
|
+
} = Z(e);
|
|
26
|
+
let s = (r ? z(o.width) : o.width) / i, c = (r ? z(o.height) : o.height) / n;
|
|
27
|
+
return (!s || !Number.isFinite(s)) && (s = 1), (!c || !Number.isFinite(c)) && (c = 1), {
|
|
28
|
+
x: s,
|
|
29
|
+
y: c
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
const gt = /* @__PURE__ */ m(0);
|
|
33
|
+
function tt(t) {
|
|
34
|
+
const e = O(t);
|
|
35
|
+
return !Y() || !e.visualViewport ? gt : {
|
|
36
|
+
x: e.visualViewport.offsetLeft,
|
|
37
|
+
y: e.visualViewport.offsetTop
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function pt(t, e, o) {
|
|
41
|
+
return e === void 0 && (e = !1), !o || e && o !== O(t) ? !1 : e;
|
|
42
|
+
}
|
|
43
|
+
function L(t, e, o, i) {
|
|
44
|
+
e === void 0 && (e = !1), o === void 0 && (o = !1);
|
|
45
|
+
const n = t.getBoundingClientRect(), r = X(t);
|
|
46
|
+
let s = m(1);
|
|
47
|
+
e && (i ? v(i) && (s = F(i)) : s = F(t));
|
|
48
|
+
const c = pt(r, o, i) ? tt(r) : m(0);
|
|
49
|
+
let l = (n.left + c.x) / s.x, f = (n.top + c.y) / s.y, u = n.width / s.x, a = n.height / s.y;
|
|
50
|
+
if (r) {
|
|
51
|
+
const d = O(r), h = i && v(i) ? O(i) : i;
|
|
52
|
+
let w = d, p = U(w);
|
|
53
|
+
for (; p && i && h !== w; ) {
|
|
54
|
+
const y = F(p), g = p.getBoundingClientRect(), x = R(p), C = g.left + (p.clientLeft + parseFloat(x.paddingLeft)) * y.x, S = g.top + (p.clientTop + parseFloat(x.paddingTop)) * y.y;
|
|
55
|
+
l *= y.x, f *= y.y, u *= y.x, a *= y.y, l += C, f += S, w = O(p), p = U(w);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return J({
|
|
59
|
+
width: u,
|
|
60
|
+
height: a,
|
|
61
|
+
x: l,
|
|
62
|
+
y: f
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
function I(t, e) {
|
|
66
|
+
const o = H(t).scrollLeft;
|
|
67
|
+
return e ? e.left + o : L(b(t)).left + o;
|
|
68
|
+
}
|
|
69
|
+
function et(t, e) {
|
|
70
|
+
const o = t.getBoundingClientRect(), i = o.left + e.scrollLeft - I(t, o), n = o.top + e.scrollTop;
|
|
71
|
+
return {
|
|
72
|
+
x: i,
|
|
73
|
+
y: n
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function wt(t) {
|
|
77
|
+
let {
|
|
78
|
+
elements: e,
|
|
79
|
+
rect: o,
|
|
80
|
+
offsetParent: i,
|
|
81
|
+
strategy: n
|
|
82
|
+
} = t;
|
|
83
|
+
const r = n === "fixed", s = b(i), c = e ? $(e.floating) : !1;
|
|
84
|
+
if (i === s || c && r)
|
|
85
|
+
return o;
|
|
86
|
+
let l = {
|
|
87
|
+
scrollLeft: 0,
|
|
88
|
+
scrollTop: 0
|
|
89
|
+
}, f = m(1);
|
|
90
|
+
const u = m(0), a = T(i);
|
|
91
|
+
if ((a || !a && !r) && ((_(i) !== "body" || q(s)) && (l = H(i)), a)) {
|
|
92
|
+
const h = L(i);
|
|
93
|
+
f = F(i), u.x = h.x + i.clientLeft, u.y = h.y + i.clientTop;
|
|
94
|
+
}
|
|
95
|
+
const d = s && !a && !r ? et(s, l) : m(0);
|
|
96
|
+
return {
|
|
97
|
+
width: o.width * f.x,
|
|
98
|
+
height: o.height * f.y,
|
|
99
|
+
x: o.x * f.x - l.scrollLeft * f.x + u.x + d.x,
|
|
100
|
+
y: o.y * f.y - l.scrollTop * f.y + u.y + d.y
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
function yt(t) {
|
|
104
|
+
return Array.from(t.getClientRects());
|
|
105
|
+
}
|
|
106
|
+
function mt(t) {
|
|
107
|
+
const e = b(t), o = H(t), i = t.ownerDocument.body, n = E(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), r = E(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
|
|
108
|
+
let s = -o.scrollLeft + I(t);
|
|
109
|
+
const c = -o.scrollTop;
|
|
110
|
+
return R(i).direction === "rtl" && (s += E(e.clientWidth, i.clientWidth) - n), {
|
|
111
|
+
width: n,
|
|
112
|
+
height: r,
|
|
113
|
+
x: s,
|
|
114
|
+
y: c
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
const K = 25;
|
|
118
|
+
function xt(t, e) {
|
|
119
|
+
const o = O(t), i = b(t), n = o.visualViewport;
|
|
120
|
+
let r = i.clientWidth, s = i.clientHeight, c = 0, l = 0;
|
|
121
|
+
if (n) {
|
|
122
|
+
r = n.width, s = n.height;
|
|
123
|
+
const u = Y();
|
|
124
|
+
(!u || u && e === "fixed") && (c = n.offsetLeft, l = n.offsetTop);
|
|
125
|
+
}
|
|
126
|
+
const f = I(i);
|
|
127
|
+
if (f <= 0) {
|
|
128
|
+
const u = i.ownerDocument, a = u.body, d = getComputedStyle(a), h = u.compatMode === "CSS1Compat" && parseFloat(d.marginLeft) + parseFloat(d.marginRight) || 0, w = Math.abs(i.clientWidth - a.clientWidth - h);
|
|
129
|
+
w <= K && (r -= w);
|
|
130
|
+
} else f <= K && (r += f);
|
|
131
|
+
return {
|
|
132
|
+
width: r,
|
|
133
|
+
height: s,
|
|
134
|
+
x: c,
|
|
135
|
+
y: l
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
function vt(t, e) {
|
|
139
|
+
const o = L(t, !0, e === "fixed"), i = o.top + t.clientTop, n = o.left + t.clientLeft, r = T(t) ? F(t) : m(1), s = t.clientWidth * r.x, c = t.clientHeight * r.y, l = n * r.x, f = i * r.y;
|
|
140
|
+
return {
|
|
141
|
+
width: s,
|
|
142
|
+
height: c,
|
|
143
|
+
x: l,
|
|
144
|
+
y: f
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
function j(t, e, o) {
|
|
7
148
|
let i;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
return
|
|
149
|
+
if (e === "viewport")
|
|
150
|
+
i = xt(t, o);
|
|
151
|
+
else if (e === "document")
|
|
152
|
+
i = mt(b(t));
|
|
153
|
+
else if (v(e))
|
|
154
|
+
i = vt(e, o);
|
|
155
|
+
else {
|
|
156
|
+
const n = tt(t);
|
|
157
|
+
i = {
|
|
158
|
+
x: e.x - n.x,
|
|
159
|
+
y: e.y - n.y,
|
|
160
|
+
width: e.width,
|
|
161
|
+
height: e.height
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
return J(i);
|
|
165
|
+
}
|
|
166
|
+
function ot(t, e) {
|
|
167
|
+
const o = W(t);
|
|
168
|
+
return o === e || !v(o) || A(o) ? !1 : R(o).position === "fixed" || ot(o, e);
|
|
169
|
+
}
|
|
170
|
+
function Rt(t, e) {
|
|
171
|
+
const o = e.get(t);
|
|
172
|
+
if (o)
|
|
173
|
+
return o;
|
|
174
|
+
let i = V(t, [], !1).filter((c) => v(c) && _(c) !== "body"), n = null;
|
|
175
|
+
const r = R(t).position === "fixed";
|
|
176
|
+
let s = r ? W(t) : t;
|
|
177
|
+
for (; v(s) && !A(s); ) {
|
|
178
|
+
const c = R(s), l = Q(s);
|
|
179
|
+
!l && c.position === "fixed" && (n = null), (r ? !l && !n : !l && c.position === "static" && !!n && (n.position === "absolute" || n.position === "fixed") || q(s) && !l && ot(t, s)) ? i = i.filter((u) => u !== s) : n = c, s = W(s);
|
|
180
|
+
}
|
|
181
|
+
return e.set(t, i), i;
|
|
28
182
|
}
|
|
183
|
+
function bt(t) {
|
|
184
|
+
let {
|
|
185
|
+
element: e,
|
|
186
|
+
boundary: o,
|
|
187
|
+
rootBoundary: i,
|
|
188
|
+
strategy: n
|
|
189
|
+
} = t;
|
|
190
|
+
const s = [...o === "clippingAncestors" ? $(e) ? [] : Rt(e, this._c) : [].concat(o), i], c = j(e, s[0], n);
|
|
191
|
+
let l = c.top, f = c.right, u = c.bottom, a = c.left;
|
|
192
|
+
for (let d = 1; d < s.length; d++) {
|
|
193
|
+
const h = j(e, s[d], n);
|
|
194
|
+
l = E(h.top, l), f = N(h.right, f), u = N(h.bottom, u), a = E(h.left, a);
|
|
195
|
+
}
|
|
196
|
+
return {
|
|
197
|
+
width: f - a,
|
|
198
|
+
height: u - l,
|
|
199
|
+
x: a,
|
|
200
|
+
y: l
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
function Ct(t) {
|
|
204
|
+
const {
|
|
205
|
+
width: e,
|
|
206
|
+
height: o
|
|
207
|
+
} = Z(t);
|
|
208
|
+
return {
|
|
209
|
+
width: e,
|
|
210
|
+
height: o
|
|
211
|
+
};
|
|
212
|
+
}
|
|
213
|
+
function Ot(t, e, o) {
|
|
214
|
+
const i = T(e), n = b(e), r = o === "fixed", s = L(t, !0, r, e);
|
|
215
|
+
let c = {
|
|
216
|
+
scrollLeft: 0,
|
|
217
|
+
scrollTop: 0
|
|
218
|
+
};
|
|
219
|
+
const l = m(0);
|
|
220
|
+
function f() {
|
|
221
|
+
l.x = I(n);
|
|
222
|
+
}
|
|
223
|
+
if (i || !i && !r)
|
|
224
|
+
if ((_(e) !== "body" || q(n)) && (c = H(e)), i) {
|
|
225
|
+
const h = L(e, !0, r, e);
|
|
226
|
+
l.x = h.x + e.clientLeft, l.y = h.y + e.clientTop;
|
|
227
|
+
} else n && f();
|
|
228
|
+
r && !i && n && f();
|
|
229
|
+
const u = n && !i && !r ? et(n, c) : m(0), a = s.left + c.scrollLeft - l.x - u.x, d = s.top + c.scrollTop - l.y - u.y;
|
|
230
|
+
return {
|
|
231
|
+
x: a,
|
|
232
|
+
y: d,
|
|
233
|
+
width: s.width,
|
|
234
|
+
height: s.height
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
function M(t) {
|
|
238
|
+
return R(t).position === "static";
|
|
239
|
+
}
|
|
240
|
+
function G(t, e) {
|
|
241
|
+
if (!T(t) || R(t).position === "fixed")
|
|
242
|
+
return null;
|
|
243
|
+
if (e)
|
|
244
|
+
return e(t);
|
|
245
|
+
let o = t.offsetParent;
|
|
246
|
+
return b(t) === o && (o = o.ownerDocument.body), o;
|
|
247
|
+
}
|
|
248
|
+
function it(t, e) {
|
|
249
|
+
const o = O(t);
|
|
250
|
+
if ($(t))
|
|
251
|
+
return o;
|
|
252
|
+
if (!T(t)) {
|
|
253
|
+
let n = W(t);
|
|
254
|
+
for (; n && !A(n); ) {
|
|
255
|
+
if (v(n) && !M(n))
|
|
256
|
+
return n;
|
|
257
|
+
n = W(n);
|
|
258
|
+
}
|
|
259
|
+
return o;
|
|
260
|
+
}
|
|
261
|
+
let i = G(t, e);
|
|
262
|
+
for (; i && at(i) && M(i); )
|
|
263
|
+
i = G(i, e);
|
|
264
|
+
return i && A(i) && M(i) && !Q(i) ? o : i || dt(t) || o;
|
|
265
|
+
}
|
|
266
|
+
const Lt = async function(t) {
|
|
267
|
+
const e = this.getOffsetParent || it, o = this.getDimensions, i = await o(t.floating);
|
|
268
|
+
return {
|
|
269
|
+
reference: Ot(t.reference, await e(t.floating), t.strategy),
|
|
270
|
+
floating: {
|
|
271
|
+
x: 0,
|
|
272
|
+
y: 0,
|
|
273
|
+
width: i.width,
|
|
274
|
+
height: i.height
|
|
275
|
+
}
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
function Tt(t) {
|
|
279
|
+
return R(t).direction === "rtl";
|
|
280
|
+
}
|
|
281
|
+
const Et = {
|
|
282
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: wt,
|
|
283
|
+
getDocumentElement: b,
|
|
284
|
+
getClippingRect: bt,
|
|
285
|
+
getOffsetParent: it,
|
|
286
|
+
getElementRects: Lt,
|
|
287
|
+
getClientRects: yt,
|
|
288
|
+
getDimensions: Ct,
|
|
289
|
+
getScale: F,
|
|
290
|
+
isElement: v,
|
|
291
|
+
isRTL: Tt
|
|
292
|
+
};
|
|
293
|
+
function nt(t, e) {
|
|
294
|
+
return t.x === e.x && t.y === e.y && t.width === e.width && t.height === e.height;
|
|
295
|
+
}
|
|
296
|
+
function Ft(t, e) {
|
|
297
|
+
let o = null, i;
|
|
298
|
+
const n = b(t);
|
|
299
|
+
function r() {
|
|
300
|
+
var c;
|
|
301
|
+
clearTimeout(i), (c = o) == null || c.disconnect(), o = null;
|
|
302
|
+
}
|
|
303
|
+
function s(c, l) {
|
|
304
|
+
c === void 0 && (c = !1), l === void 0 && (l = 1), r();
|
|
305
|
+
const f = t.getBoundingClientRect(), {
|
|
306
|
+
left: u,
|
|
307
|
+
top: a,
|
|
308
|
+
width: d,
|
|
309
|
+
height: h
|
|
310
|
+
} = f;
|
|
311
|
+
if (c || e(), !d || !h)
|
|
312
|
+
return;
|
|
313
|
+
const w = D(a), p = D(n.clientWidth - (u + d)), y = D(n.clientHeight - (a + h)), g = D(u), C = {
|
|
314
|
+
rootMargin: -w + "px " + -p + "px " + -y + "px " + -g + "px",
|
|
315
|
+
threshold: E(0, N(1, l)) || 1
|
|
316
|
+
};
|
|
317
|
+
let S = !0;
|
|
318
|
+
function k(P) {
|
|
319
|
+
const B = P[0].intersectionRatio;
|
|
320
|
+
if (B !== l) {
|
|
321
|
+
if (!S)
|
|
322
|
+
return s();
|
|
323
|
+
B ? s(!1, B) : i = setTimeout(() => {
|
|
324
|
+
s(!1, 1e-7);
|
|
325
|
+
}, 1e3);
|
|
326
|
+
}
|
|
327
|
+
B === 1 && !nt(f, t.getBoundingClientRect()) && s(), S = !1;
|
|
328
|
+
}
|
|
329
|
+
try {
|
|
330
|
+
o = new IntersectionObserver(k, {
|
|
331
|
+
...C,
|
|
332
|
+
// Handle <iframe>s
|
|
333
|
+
root: n.ownerDocument
|
|
334
|
+
});
|
|
335
|
+
} catch {
|
|
336
|
+
o = new IntersectionObserver(k, C);
|
|
337
|
+
}
|
|
338
|
+
o.observe(t);
|
|
339
|
+
}
|
|
340
|
+
return s(!0), r;
|
|
341
|
+
}
|
|
342
|
+
function Dt(t, e, o, i) {
|
|
343
|
+
i === void 0 && (i = {});
|
|
344
|
+
const {
|
|
345
|
+
ancestorScroll: n = !0,
|
|
346
|
+
ancestorResize: r = !0,
|
|
347
|
+
elementResize: s = typeof ResizeObserver == "function",
|
|
348
|
+
layoutShift: c = typeof IntersectionObserver == "function",
|
|
349
|
+
animationFrame: l = !1
|
|
350
|
+
} = i, f = X(t), u = n || r ? [...f ? V(f) : [], ...e ? V(e) : []] : [];
|
|
351
|
+
u.forEach((g) => {
|
|
352
|
+
n && g.addEventListener("scroll", o, {
|
|
353
|
+
passive: !0
|
|
354
|
+
}), r && g.addEventListener("resize", o);
|
|
355
|
+
});
|
|
356
|
+
const a = f && c ? Ft(f, o) : null;
|
|
357
|
+
let d = -1, h = null;
|
|
358
|
+
s && (h = new ResizeObserver((g) => {
|
|
359
|
+
let [x] = g;
|
|
360
|
+
x && x.target === f && h && e && (h.unobserve(e), cancelAnimationFrame(d), d = requestAnimationFrame(() => {
|
|
361
|
+
var C;
|
|
362
|
+
(C = h) == null || C.observe(e);
|
|
363
|
+
})), o();
|
|
364
|
+
}), f && !l && h.observe(f), e && h.observe(e));
|
|
365
|
+
let w, p = l ? L(t) : null;
|
|
366
|
+
l && y();
|
|
367
|
+
function y() {
|
|
368
|
+
const g = L(t);
|
|
369
|
+
p && !nt(p, g) && o(), p = g, w = requestAnimationFrame(y);
|
|
370
|
+
}
|
|
371
|
+
return o(), () => {
|
|
372
|
+
var g;
|
|
373
|
+
u.forEach((x) => {
|
|
374
|
+
n && x.removeEventListener("scroll", o), r && x.removeEventListener("resize", o);
|
|
375
|
+
}), a?.(), (g = h) == null || g.disconnect(), h = null, l && cancelAnimationFrame(w);
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
const zt = st, At = ct, Ht = rt, It = ft, Mt = lt, Nt = ut, Vt = (t, e, o) => {
|
|
379
|
+
const i = /* @__PURE__ */ new Map(), n = {
|
|
380
|
+
platform: Et,
|
|
381
|
+
...o
|
|
382
|
+
}, r = {
|
|
383
|
+
...n.platform,
|
|
384
|
+
_c: i
|
|
385
|
+
};
|
|
386
|
+
return ht(t, e, {
|
|
387
|
+
...n,
|
|
388
|
+
platform: r
|
|
389
|
+
});
|
|
390
|
+
};
|
|
29
391
|
export {
|
|
30
|
-
|
|
392
|
+
Nt as arrow,
|
|
393
|
+
Dt as autoUpdate,
|
|
394
|
+
Vt as computePosition,
|
|
395
|
+
Ht as flip,
|
|
396
|
+
V as getOverflowAncestors,
|
|
397
|
+
Mt as hide,
|
|
398
|
+
zt as offset,
|
|
399
|
+
Et as platform,
|
|
400
|
+
At as shift,
|
|
401
|
+
It as size
|
|
31
402
|
};
|
package/dist/index33.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import p from "./
|
|
1
|
+
import p from "./index122.js";
|
|
2
2
|
import { openBlock as n, createElementBlock as o, normalizeClass as l, createElementVNode as s, renderSlot as a, Fragment as c, renderList as u, toDisplayString as d } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import k from "./
|
|
4
|
+
import k from "./index66.js";
|
|
5
5
|
const f = ["value"], $ = { class: "q-menu-content px-4 pb-10" }, v = ["onClick"], y = { class: "actions" }, b = ["onClick"];
|
|
6
6
|
function _(e, i, h, x, C, g) {
|
|
7
7
|
return n(), o("div", {
|