@quoreadmin/ui 1.10.11 → 1.10.13
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/index105.js +1 -1
- package/dist/index111.js +1 -1
- package/dist/index115.js +1 -1
- package/dist/index136.js +1 -1
- package/dist/index138.js +1 -1
- package/dist/index147.js +2 -2
- package/dist/index149.js +1 -1
- package/dist/index151.js +6 -6
- package/dist/index157.js +172 -163
- package/dist/index162.js +1 -1
- package/dist/index165.js +1 -1
- package/dist/index169.js +7 -7
- package/dist/index173.js +2 -2
- package/dist/index180.js +1151 -228
- package/dist/index182.js +14 -14
- package/dist/index183.js +266 -96
- package/dist/index184.js +106 -2
- package/dist/index185.js +2 -1376
- package/dist/index186.js +1378 -0
- package/dist/index188.js +12 -12
- package/dist/index189.js +10 -10
- package/dist/index190.js +12 -12
- package/dist/index191.js +14 -21
- package/dist/index192.js +23 -757
- package/dist/index193.js +759 -1144
- package/dist/index194.js +1155 -1234
- package/dist/index195.js +1205 -11248
- package/dist/index196.js +11212 -1134
- package/dist/index197.js +1228 -36
- package/dist/index199.js +5816 -1106
- package/dist/index200.js +209 -0
- package/dist/index201.js +19 -5922
- package/dist/index202.js +10 -199
- package/dist/index203.js +76 -33
- package/dist/index204.js +249 -14
- package/dist/index205.js +13678 -72
- package/dist/index206.js +27 -253
- package/dist/index207.js +48 -13669
- package/dist/index208.js +236 -25
- package/dist/index209.js +293 -45
- package/dist/index210.js +236 -179
- package/dist/index211.js +36 -311
- package/dist/index212.js +43 -294
- package/dist/index213.js +30 -158
- package/dist/index214.js +112 -224
- package/dist/index215.js +31 -32
- package/dist/index216.js +26 -10
- package/dist/index217.js +31 -83
- package/dist/index218.js +48 -404
- package/dist/index219.js +43 -22
- package/dist/index220.js +3 -32
- package/dist/index221.js +9 -116
- package/dist/index222.js +18 -35
- package/dist/index223.js +10 -26
- package/dist/index224.js +10 -36
- package/dist/index225.js +36 -48
- package/dist/index226.js +21 -43
- package/dist/index227.js +87 -3
- package/dist/index228.js +407 -9
- package/dist/index229.js +22 -19
- package/dist/index230.js +161 -10
- package/dist/index231.js +227 -9
- package/dist/index232.js +34 -36
- package/dist/index233.js +10 -21
- package/dist/index234.js +3618 -109
- package/dist/index235.js +49 -32
- package/dist/index236.js +70 -73
- package/dist/index237.js +52 -20
- package/dist/index238.js +215 -20
- package/dist/index239.js +10 -20
- package/dist/index240.js +57 -20
- package/dist/index241.js +61 -20
- package/dist/index242.js +48 -155
- package/dist/index243.js +75 -20
- package/dist/index244.js +725 -21
- package/dist/index245.js +33 -190
- package/dist/index246.js +60 -66
- package/dist/index247.js +10 -33
- package/dist/index248.js +699 -34
- package/dist/index249.js +801 -234
- package/dist/index250.js +161 -8
- package/dist/index251.js +20 -138
- package/dist/index252.js +20 -83
- package/dist/index253.js +12 -12
- package/dist/index254.js +198 -21
- package/dist/index255.js +69 -19
- package/dist/index256.js +34 -836
- package/dist/index257.js +24 -686
- package/dist/index258.js +22 -176
- package/dist/index259.js +6 -6
- package/dist/index260.js +7 -7
- package/dist/index261.js +836 -20
- package/dist/index262.js +702 -3
- package/dist/index263.js +172 -183
- package/dist/index264.js +18 -131
- package/dist/index265.js +20 -1223
- package/dist/index266.js +13 -11
- package/dist/index267.js +13 -15
- package/dist/index268.js +13 -15
- package/dist/index269.js +3 -29
- package/dist/index270.js +186 -19
- package/dist/index271.js +131 -18
- package/dist/index272.js +1223 -2
- package/dist/index273.js +127 -2
- package/dist/index274.js +20 -2
- package/dist/index275.js +21 -78
- package/dist/index276.js +22 -3636
- package/dist/index277.js +32 -49
- package/dist/index278.js +29 -77
- package/dist/index279.js +20 -52
- package/dist/index280.js +20 -215
- package/dist/index281.js +2 -10
- package/dist/index282.js +2 -57
- package/dist/index283.js +79 -60
- package/dist/index284.js +20 -54
- package/dist/index285.js +20 -75
- package/dist/index286.js +235 -708
- package/dist/index287.js +7 -41
- package/dist/index288.js +134 -60
- package/dist/index289.js +83 -11
- package/dist/index290.js +3 -705
- package/dist/index291.js +21 -814
- package/dist/index292.js +1534 -3
- package/dist/index293.js +382 -23
- package/dist/index294.js +2731 -54
- package/dist/index295.js +85 -25
- package/dist/index296.js +3792 -22
- package/dist/index297.js +59 -21
- package/dist/index298.js +15 -16
- package/dist/index299.js +84 -17
- package/dist/index3.js +2 -2
- package/dist/index300.js +201 -22
- package/dist/index301.js +241 -74
- package/dist/index302.js +53 -21
- package/dist/index303.js +54 -910
- package/dist/index304.js +17 -13
- package/dist/index305.js +13 -11
- package/dist/index306.js +15 -13
- package/dist/index307.js +14 -67
- package/dist/index308.js +14 -16
- package/dist/index309.js +21 -17
- package/dist/index310.js +261 -21
- package/dist/index311.js +5 -21
- package/dist/index312.js +139 -62
- package/dist/index313.js +67 -256
- package/dist/index314.js +86 -5
- package/dist/index315.js +26 -137
- package/dist/index316.js +14 -71
- package/dist/index317.js +71 -83
- package/dist/index318.js +3 -28
- package/dist/index319.js +2 -16
- package/dist/index320.js +78 -70
- package/dist/index321.js +52 -3
- package/dist/index322.js +6 -2
- package/dist/index323.js +4 -82
- package/dist/index324.js +177 -51
- package/dist/index325.js +62 -5
- package/dist/index326.js +75 -5
- package/dist/index327.js +74 -174
- package/dist/index328.js +21 -62
- package/dist/index329.js +934 -74
- package/dist/index330.js +21 -36
- package/dist/index331.js +20 -1534
- package/dist/index332.js +20 -386
- package/dist/index333.js +69 -2731
- package/dist/index334.js +19 -86
- package/dist/index335.js +19 -3792
- package/dist/index336.js +21 -59
- package/dist/index337.js +22 -15
- package/dist/index338.js +63 -84
- package/dist/index339.js +2 -202
- package/dist/index340.js +8 -245
- package/dist/index341.js +12 -9
- package/dist/index342.js +55 -10
- package/dist/index343.js +12 -14
- package/dist/index344.js +14 -10
- package/dist/index345.js +56 -15
- package/dist/index346.js +51 -8
- package/dist/index347.js +30 -12
- package/dist/index348.js +2 -55
- package/dist/index349.js +5 -12
- package/dist/index350.js +2 -14
- package/dist/index351.js +22 -57
- package/dist/index352.js +39 -50
- package/dist/index353.js +2 -31
- package/dist/index354.js +11 -2
- package/dist/index355.js +20 -5
- package/dist/index356.js +10 -2
- package/dist/index357.js +9 -22
- package/dist/index358.js +14 -38
- package/dist/index359.js +2 -2
- package/dist/index360.js +8 -10
- package/dist/index361.js +9 -19
- package/dist/index362.js +14 -2
- package/dist/index363.js +37 -9
- package/dist/index364.js +18 -19
- package/dist/index365.js +56 -19
- package/dist/index366.js +27 -62
- package/dist/index367.js +7 -37
- package/dist/index368.js +49 -16
- package/dist/index369.js +7 -57
- package/dist/index370.js +10 -27
- package/dist/index371.js +7 -7
- package/dist/index372.js +27 -51
- package/dist/index373.js +2 -7
- package/dist/index374.js +69 -11
- package/dist/index375.js +166 -6
- package/dist/index376.js +20 -28
- package/dist/index377.js +20 -2
- package/dist/index378.js +61 -67
- package/dist/index379.js +36 -166
- package/dist/index380.js +98 -28
- package/dist/index381.js +90 -10
- package/dist/index382.js +98 -4
- package/dist/index383.js +30 -3
- package/dist/index384.js +11 -17
- package/dist/index385.js +4 -13
- package/dist/index386.js +4 -7
- package/dist/index387.js +13 -12
- package/dist/index388.js +7 -5
- package/dist/index389.js +12 -33
- package/dist/index390.js +5 -31
- package/dist/index391.js +32 -27
- package/dist/index392.js +28 -58
- package/dist/index393.js +27 -97
- package/dist/index394.js +59 -99
- package/dist/index395.js +17 -91
- package/dist/index396.js +1 -1
- package/dist/index401.js +1 -1
- package/dist/index402.js +2 -2
- package/dist/index50.js +1 -1
- package/dist/index62.js +1 -1
- package/dist/index66.js +17 -17
- package/dist/index78.js +1 -1
- package/dist/index88.js +1 -1
- package/dist/index92.js +1 -1
- package/dist/index98.js +2 -2
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +1 -1
- package/package.json +1 -1
- package/dist/index187.js +0 -20
- package/dist/index198.js +0 -46
package/dist/index213.js
CHANGED
|
@@ -1,163 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
e = "0".concat(e);
|
|
7
|
-
return u + e;
|
|
1
|
+
function u(t) {
|
|
2
|
+
if (t === null || typeof t != "object")
|
|
3
|
+
return !1;
|
|
4
|
+
const n = Object.getPrototypeOf(t);
|
|
5
|
+
return n !== null && n !== Object.prototype && Object.getPrototypeOf(n) !== null || Symbol.iterator in t ? !1 : Symbol.toStringTag in t ? Object.prototype.toString.call(t) === "[object Module]" : !0;
|
|
8
6
|
}
|
|
9
|
-
function c(n) {
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
},
|
|
24
|
-
// Year: 00, 01, ..., 99
|
|
25
|
-
YY: function(t) {
|
|
26
|
-
return r(t.getFullYear(), 4).substr(2);
|
|
27
|
-
},
|
|
28
|
-
// Year: 1900, 1901, ..., 2099
|
|
29
|
-
YYYY: function(t) {
|
|
30
|
-
return r(t.getFullYear(), 4);
|
|
31
|
-
},
|
|
32
|
-
// Month: 1, 2, ..., 12
|
|
33
|
-
M: function(t) {
|
|
34
|
-
return t.getMonth() + 1;
|
|
35
|
-
},
|
|
36
|
-
// Month: 01, 02, ..., 12
|
|
37
|
-
MM: function(t) {
|
|
38
|
-
return r(t.getMonth() + 1, 2);
|
|
39
|
-
},
|
|
40
|
-
MMM: function(t, e) {
|
|
41
|
-
return e.monthsShort[t.getMonth()];
|
|
42
|
-
},
|
|
43
|
-
MMMM: function(t, e) {
|
|
44
|
-
return e.months[t.getMonth()];
|
|
45
|
-
},
|
|
46
|
-
// Day of month: 1, 2, ..., 31
|
|
47
|
-
D: function(t) {
|
|
48
|
-
return t.getDate();
|
|
49
|
-
},
|
|
50
|
-
// Day of month: 01, 02, ..., 31
|
|
51
|
-
DD: function(t) {
|
|
52
|
-
return r(t.getDate(), 2);
|
|
53
|
-
},
|
|
54
|
-
// Hour: 0, 1, ... 23
|
|
55
|
-
H: function(t) {
|
|
56
|
-
return t.getHours();
|
|
57
|
-
},
|
|
58
|
-
// Hour: 00, 01, ..., 23
|
|
59
|
-
HH: function(t) {
|
|
60
|
-
return r(t.getHours(), 2);
|
|
61
|
-
},
|
|
62
|
-
// Hour: 1, 2, ..., 12
|
|
63
|
-
h: function(t) {
|
|
64
|
-
var e = t.getHours();
|
|
65
|
-
return e === 0 ? 12 : e > 12 ? e % 12 : e;
|
|
66
|
-
},
|
|
67
|
-
// Hour: 01, 02, ..., 12
|
|
68
|
-
hh: function() {
|
|
69
|
-
var t = i.h.apply(i, arguments);
|
|
70
|
-
return r(t, 2);
|
|
71
|
-
},
|
|
72
|
-
// Minute: 0, 1, ..., 59
|
|
73
|
-
m: function(t) {
|
|
74
|
-
return t.getMinutes();
|
|
75
|
-
},
|
|
76
|
-
// Minute: 00, 01, ..., 59
|
|
77
|
-
mm: function(t) {
|
|
78
|
-
return r(t.getMinutes(), 2);
|
|
79
|
-
},
|
|
80
|
-
// Second: 0, 1, ..., 59
|
|
81
|
-
s: function(t) {
|
|
82
|
-
return t.getSeconds();
|
|
83
|
-
},
|
|
84
|
-
// Second: 00, 01, ..., 59
|
|
85
|
-
ss: function(t) {
|
|
86
|
-
return r(t.getSeconds(), 2);
|
|
87
|
-
},
|
|
88
|
-
// 1/10 of second: 0, 1, ..., 9
|
|
89
|
-
S: function(t) {
|
|
90
|
-
return Math.floor(t.getMilliseconds() / 100);
|
|
91
|
-
},
|
|
92
|
-
// 1/100 of second: 00, 01, ..., 99
|
|
93
|
-
SS: function(t) {
|
|
94
|
-
return r(Math.floor(t.getMilliseconds() / 10), 2);
|
|
95
|
-
},
|
|
96
|
-
// Millisecond: 000, 001, ..., 999
|
|
97
|
-
SSS: function(t) {
|
|
98
|
-
return r(t.getMilliseconds(), 3);
|
|
99
|
-
},
|
|
100
|
-
// Day of week: 0, 1, ..., 6
|
|
101
|
-
d: function(t) {
|
|
102
|
-
return t.getDay();
|
|
103
|
-
},
|
|
104
|
-
// Day of week: 'Su', 'Mo', ..., 'Sa'
|
|
105
|
-
dd: function(t, e) {
|
|
106
|
-
return e.weekdaysMin[t.getDay()];
|
|
107
|
-
},
|
|
108
|
-
// Day of week: 'Sun', 'Mon',..., 'Sat'
|
|
109
|
-
ddd: function(t, e) {
|
|
110
|
-
return e.weekdaysShort[t.getDay()];
|
|
111
|
-
},
|
|
112
|
-
// Day of week: 'Sunday', 'Monday', ...,'Saturday'
|
|
113
|
-
dddd: function(t, e) {
|
|
114
|
-
return e.weekdays[t.getDay()];
|
|
115
|
-
},
|
|
116
|
-
// AM, PM
|
|
117
|
-
A: function(t, e) {
|
|
118
|
-
var u = e.meridiem || d;
|
|
119
|
-
return u(t.getHours(), t.getMinutes(), !1);
|
|
120
|
-
},
|
|
121
|
-
// am, pm
|
|
122
|
-
a: function(t, e) {
|
|
123
|
-
var u = e.meridiem || d;
|
|
124
|
-
return u(t.getHours(), t.getMinutes(), !0);
|
|
125
|
-
},
|
|
126
|
-
// Timezone: -01:00, +00:00, ... +12:00
|
|
127
|
-
Z: function(t) {
|
|
128
|
-
return g(c(t), ":");
|
|
129
|
-
},
|
|
130
|
-
// Timezone: -0100, +0000, ... +1200
|
|
131
|
-
ZZ: function(t) {
|
|
132
|
-
return g(c(t));
|
|
133
|
-
},
|
|
134
|
-
// Seconds timestamp: 512969520
|
|
135
|
-
X: function(t) {
|
|
136
|
-
return Math.floor(t.getTime() / 1e3);
|
|
137
|
-
},
|
|
138
|
-
// Milliseconds timestamp: 512969520900
|
|
139
|
-
x: function(t) {
|
|
140
|
-
return t.getTime();
|
|
141
|
-
},
|
|
142
|
-
w: function(t, e) {
|
|
143
|
-
return l(t, {
|
|
144
|
-
firstDayOfWeek: e.firstDayOfWeek,
|
|
145
|
-
firstWeekContainsDate: e.firstWeekContainsDate
|
|
146
|
-
});
|
|
147
|
-
},
|
|
148
|
-
ww: function(t, e) {
|
|
149
|
-
return r(i.w(t, e), 2);
|
|
7
|
+
function c(t, n, e = ".", f) {
|
|
8
|
+
if (!u(n))
|
|
9
|
+
return c(t, {}, e, f);
|
|
10
|
+
const r = Object.assign({}, n);
|
|
11
|
+
for (const o in t) {
|
|
12
|
+
if (o === "__proto__" || o === "constructor")
|
|
13
|
+
continue;
|
|
14
|
+
const i = t[o];
|
|
15
|
+
i != null && (f && f(r, o, i, e) || (Array.isArray(i) && Array.isArray(r[o]) ? r[o] = [...i, ...r[o]] : u(i) && u(r[o]) ? r[o] = c(
|
|
16
|
+
i,
|
|
17
|
+
r[o],
|
|
18
|
+
(e ? `${e}.` : "") + o.toString(),
|
|
19
|
+
f
|
|
20
|
+
) : r[o] = i));
|
|
150
21
|
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
return s || (typeof i[f] == "function" ? "".concat(i[f](o, a)) : f);
|
|
159
|
-
});
|
|
22
|
+
return r;
|
|
23
|
+
}
|
|
24
|
+
function l(t) {
|
|
25
|
+
return (...n) => (
|
|
26
|
+
// eslint-disable-next-line unicorn/no-array-reduce
|
|
27
|
+
n.reduce((e, f) => c(e, f, "", t), {})
|
|
28
|
+
);
|
|
160
29
|
}
|
|
30
|
+
const y = l();
|
|
161
31
|
export {
|
|
162
|
-
|
|
32
|
+
l as createDefu,
|
|
33
|
+
y as default,
|
|
34
|
+
y as defu
|
|
163
35
|
};
|
package/dist/index214.js
CHANGED
|
@@ -1,230 +1,118 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
function J() {
|
|
44
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance");
|
|
45
|
-
}
|
|
46
|
-
function Q(e, r) {
|
|
47
|
-
if (Symbol.iterator in Object(e) || Object.prototype.toString.call(e) === "[object Arguments]") {
|
|
48
|
-
var t = [], n = !0, i = !1, a = void 0;
|
|
49
|
-
try {
|
|
50
|
-
for (var u = e[Symbol.iterator](), f; !(n = (f = u.next()).done) && (t.push(f.value), !(r && t.length === r)); n = !0)
|
|
51
|
-
;
|
|
52
|
-
} catch (c) {
|
|
53
|
-
i = !0, a = c;
|
|
54
|
-
} finally {
|
|
55
|
-
try {
|
|
56
|
-
!n && u.return != null && u.return();
|
|
57
|
-
} finally {
|
|
58
|
-
if (i) throw a;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
return t;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
function V(e) {
|
|
65
|
-
if (Array.isArray(e)) return e;
|
|
66
|
-
}
|
|
67
|
-
function d(e, r, t) {
|
|
68
|
-
return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
|
|
69
|
-
}
|
|
70
|
-
var K = /(\[[^\[]*\])|(MM?M?M?|Do|DD?|ddd?d?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|S{1,3}|x|X|ZZ?|.)/g, j = /\d/, s = /\d\d/, R = /\d{3}/, ee = /\d{4}/, v = /\d\d?/, re = /[+-]\d\d:?\d\d/, x = /[+-]?\d+/, te = /[+-]?\d+(\.\d{1,3})?/, A = "year", p = "month", C = "day", W = "hour", T = "minute", H = "second", S = "millisecond", N = {}, o = function(r, t, n) {
|
|
71
|
-
var i = Array.isArray(r) ? r : [r], a;
|
|
72
|
-
typeof n == "string" ? a = function(f) {
|
|
73
|
-
var c = parseInt(f, 10);
|
|
74
|
-
return d({}, n, c);
|
|
75
|
-
} : a = n, i.forEach(function(u) {
|
|
76
|
-
N[u] = [t, a];
|
|
77
|
-
});
|
|
78
|
-
}, ne = function(r) {
|
|
79
|
-
return r.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&");
|
|
80
|
-
}, m = function(r) {
|
|
81
|
-
return function(t) {
|
|
82
|
-
var n = t[r];
|
|
83
|
-
if (!Array.isArray(n))
|
|
84
|
-
throw new Error("Locale[".concat(r, "] need an array"));
|
|
85
|
-
return new RegExp(n.map(ne).join("|"));
|
|
86
|
-
};
|
|
87
|
-
}, h = function(r, t) {
|
|
88
|
-
return function(n, i) {
|
|
89
|
-
var a = i[r];
|
|
90
|
-
if (!Array.isArray(a))
|
|
91
|
-
throw new Error("Locale[".concat(r, "] need an array"));
|
|
92
|
-
var u = a.indexOf(n);
|
|
93
|
-
if (u < 0)
|
|
94
|
-
throw new Error("Invalid Word");
|
|
95
|
-
return d({}, t, u);
|
|
1
|
+
import { toArray as p, notNullish as x, noop as M, tryOnScopeDispose as g, watchImmediate as S, isClient as W, isObject as A } from "./index215.js";
|
|
2
|
+
import { getLifeCycleTarget as q, tryOnUnmounted as z } from "./index215.js";
|
|
3
|
+
import { toValue as a, computed as y, shallowRef as I, watch as T, unref as j, getCurrentInstance as w, onMounted as B } from "vue";
|
|
4
|
+
const C = W ? window : void 0;
|
|
5
|
+
function d(t) {
|
|
6
|
+
var o;
|
|
7
|
+
const l = a(t);
|
|
8
|
+
return (o = l?.$el) != null ? o : l;
|
|
9
|
+
}
|
|
10
|
+
function U(...t) {
|
|
11
|
+
const o = [], l = () => {
|
|
12
|
+
o.forEach((e) => e()), o.length = 0;
|
|
13
|
+
}, h = (e, n, u, r) => (e.addEventListener(n, u, r), () => e.removeEventListener(n, u, r)), c = y(() => {
|
|
14
|
+
const e = p(a(t[0])).filter((n) => n != null);
|
|
15
|
+
return e.every((n) => typeof n != "string") ? e : void 0;
|
|
16
|
+
}), m = S(
|
|
17
|
+
() => {
|
|
18
|
+
var e, n;
|
|
19
|
+
return [
|
|
20
|
+
(n = (e = c.value) == null ? void 0 : e.map((u) => d(u))) != null ? n : [C].filter((u) => u != null),
|
|
21
|
+
p(a(c.value ? t[1] : t[0])),
|
|
22
|
+
p(j(c.value ? t[2] : t[1])),
|
|
23
|
+
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
24
|
+
a(c.value ? t[3] : t[2])
|
|
25
|
+
];
|
|
26
|
+
},
|
|
27
|
+
([e, n, u, r]) => {
|
|
28
|
+
if (l(), !e?.length || !n?.length || !u?.length)
|
|
29
|
+
return;
|
|
30
|
+
const s = A(r) ? { ...r } : r;
|
|
31
|
+
o.push(
|
|
32
|
+
...e.flatMap(
|
|
33
|
+
(b) => n.flatMap(
|
|
34
|
+
(v) => u.map((i) => h(b, v, i, s))
|
|
35
|
+
)
|
|
36
|
+
)
|
|
37
|
+
);
|
|
38
|
+
},
|
|
39
|
+
{ flush: "post" }
|
|
40
|
+
), f = () => {
|
|
41
|
+
m(), l();
|
|
96
42
|
};
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
o(["Z", "ZZ"], re, function(e) {
|
|
144
|
-
return {
|
|
145
|
-
offset: ie(e)
|
|
146
|
-
};
|
|
147
|
-
});
|
|
148
|
-
o("x", x, function(e) {
|
|
149
|
-
return {
|
|
150
|
-
date: new Date(parseInt(e, 10))
|
|
43
|
+
return g(l), f;
|
|
44
|
+
}
|
|
45
|
+
// @__NO_SIDE_EFFECTS__
|
|
46
|
+
function D() {
|
|
47
|
+
const t = I(!1), o = w();
|
|
48
|
+
return o && B(() => {
|
|
49
|
+
t.value = !0;
|
|
50
|
+
}, o), t;
|
|
51
|
+
}
|
|
52
|
+
// @__NO_SIDE_EFFECTS__
|
|
53
|
+
function N(t) {
|
|
54
|
+
const o = /* @__PURE__ */ D();
|
|
55
|
+
return y(() => (o.value, !!t()));
|
|
56
|
+
}
|
|
57
|
+
function V(t, o, l = {}) {
|
|
58
|
+
const {
|
|
59
|
+
root: h,
|
|
60
|
+
rootMargin: c = "0px",
|
|
61
|
+
threshold: m = 0,
|
|
62
|
+
window: f = C,
|
|
63
|
+
immediate: e = !0
|
|
64
|
+
} = l, n = /* @__PURE__ */ N(() => f && "IntersectionObserver" in f), u = y(() => {
|
|
65
|
+
const i = a(t);
|
|
66
|
+
return p(i).map(d).filter(x);
|
|
67
|
+
});
|
|
68
|
+
let r = M;
|
|
69
|
+
const s = I(e), b = n.value ? T(
|
|
70
|
+
() => [u.value, d(h), s.value],
|
|
71
|
+
([i, L]) => {
|
|
72
|
+
if (r(), !s.value || !i.length)
|
|
73
|
+
return;
|
|
74
|
+
const E = new IntersectionObserver(
|
|
75
|
+
o,
|
|
76
|
+
{
|
|
77
|
+
root: d(L),
|
|
78
|
+
rootMargin: c,
|
|
79
|
+
threshold: m
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
i.forEach((O) => O && E.observe(O)), r = () => {
|
|
83
|
+
E.disconnect(), r = M;
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
{ immediate: e, flush: "post" }
|
|
87
|
+
) : M, v = () => {
|
|
88
|
+
r(), b(), s.value = !1;
|
|
151
89
|
};
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
90
|
+
return g(v), {
|
|
91
|
+
isSupported: n,
|
|
92
|
+
isActive: s,
|
|
93
|
+
pause() {
|
|
94
|
+
r(), s.value = !1;
|
|
95
|
+
},
|
|
96
|
+
resume() {
|
|
97
|
+
s.value = !0;
|
|
98
|
+
},
|
|
99
|
+
stop: v
|
|
156
100
|
};
|
|
157
|
-
});
|
|
158
|
-
o("d", j, "weekday");
|
|
159
|
-
o("dd", m("weekdaysMin"), h("weekdaysMin", "weekday"));
|
|
160
|
-
o("ddd", m("weekdaysShort"), h("weekdaysShort", "weekday"));
|
|
161
|
-
o("dddd", m("weekdays"), h("weekdays", "weekday"));
|
|
162
|
-
o("w", v, "week");
|
|
163
|
-
o("ww", s, "week");
|
|
164
|
-
function fe(e, r) {
|
|
165
|
-
if (e !== void 0 && r !== void 0) {
|
|
166
|
-
if (r) {
|
|
167
|
-
if (e < 12)
|
|
168
|
-
return e + 12;
|
|
169
|
-
} else if (e === 12)
|
|
170
|
-
return 0;
|
|
171
|
-
}
|
|
172
|
-
return e;
|
|
173
|
-
}
|
|
174
|
-
function ue(e) {
|
|
175
|
-
for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : /* @__PURE__ */ new Date(), t = [0, 0, 1, 0, 0, 0, 0], n = [r.getFullYear(), r.getMonth(), r.getDate(), r.getHours(), r.getMinutes(), r.getSeconds(), r.getMilliseconds()], i = !0, a = 0; a < 7; a++)
|
|
176
|
-
e[a] === void 0 ? t[a] = i ? n[a] : t[a] : (t[a] = e[a], i = !1);
|
|
177
|
-
return t;
|
|
178
|
-
}
|
|
179
|
-
function ce(e, r, t, n, i, a, u) {
|
|
180
|
-
var f;
|
|
181
|
-
return e < 100 && e >= 0 ? (f = new Date(e + 400, r, t, n, i, a, u), isFinite(f.getFullYear()) && f.setFullYear(e)) : f = new Date(e, r, t, n, i, a, u), f;
|
|
182
|
-
}
|
|
183
|
-
function de() {
|
|
184
|
-
for (var e, r = arguments.length, t = new Array(r), n = 0; n < r; n++)
|
|
185
|
-
t[n] = arguments[n];
|
|
186
|
-
var i = t[0];
|
|
187
|
-
return i < 100 && i >= 0 ? (t[0] += 400, e = new Date(Date.UTC.apply(Date, t)), isFinite(e.getUTCFullYear()) && e.setUTCFullYear(i)) : e = new Date(Date.UTC.apply(Date, t)), e;
|
|
188
|
-
}
|
|
189
|
-
function se(e, r, t) {
|
|
190
|
-
var n = r.match(K);
|
|
191
|
-
if (!n)
|
|
192
|
-
throw new Error();
|
|
193
|
-
for (var i = n.length, a = {}, u = 0; u < i; u += 1) {
|
|
194
|
-
var f = n[u], c = N[f];
|
|
195
|
-
if (c) {
|
|
196
|
-
var y = typeof c[0] == "function" ? c[0](t) : c[0], D = c[1], w = (y.exec(e) || [])[0], b = D(w, t);
|
|
197
|
-
a = z({}, a, {}, b), e = e.replace(w, "");
|
|
198
|
-
} else {
|
|
199
|
-
var l = f.replace(/^\[|\]$/g, "");
|
|
200
|
-
if (e.indexOf(l) === 0)
|
|
201
|
-
e = e.substr(l.length);
|
|
202
|
-
else
|
|
203
|
-
throw new Error("not match");
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
return a;
|
|
207
|
-
}
|
|
208
|
-
function he(e, r) {
|
|
209
|
-
var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
210
|
-
try {
|
|
211
|
-
var n = t.locale, i = n === void 0 ? _ : n, a = t.backupDate, u = a === void 0 ? /* @__PURE__ */ new Date() : a, f = se(e, r, i), c = f.year, l = f.month, y = f.day, D = f.hour, w = f.minute, b = f.second, U = f.millisecond, L = f.isPM, Y = f.date, E = f.offset, I = f.weekday, P = f.week;
|
|
212
|
-
if (Y)
|
|
213
|
-
return Y;
|
|
214
|
-
var O = [c, l, y, D, w, b, U];
|
|
215
|
-
if (O[3] = fe(O[3], L), P !== void 0 && l === void 0 && y === void 0) {
|
|
216
|
-
var Z = X(c === void 0 ? u : new Date(c, 3), {
|
|
217
|
-
firstDayOfWeek: i.firstDayOfWeek,
|
|
218
|
-
firstWeekContainsDate: i.firstWeekContainsDate
|
|
219
|
-
});
|
|
220
|
-
return new Date(Z.getTime() + (P - 1) * 7 * 24 * 3600 * 1e3);
|
|
221
|
-
}
|
|
222
|
-
var g, M = ue(O, u);
|
|
223
|
-
return E !== void 0 ? (M[6] += E * 60 * 1e3, g = de.apply(void 0, k(M))) : g = ce.apply(void 0, k(M)), I !== void 0 && g.getDay() !== I ? /* @__PURE__ */ new Date(NaN) : g;
|
|
224
|
-
} catch {
|
|
225
|
-
return /* @__PURE__ */ new Date(NaN);
|
|
226
|
-
}
|
|
227
101
|
}
|
|
228
102
|
export {
|
|
229
|
-
|
|
103
|
+
C as defaultWindow,
|
|
104
|
+
q as getLifeCycleTarget,
|
|
105
|
+
W as isClient,
|
|
106
|
+
A as isObject,
|
|
107
|
+
M as noop,
|
|
108
|
+
x as notNullish,
|
|
109
|
+
p as toArray,
|
|
110
|
+
g as tryOnScopeDispose,
|
|
111
|
+
z as tryOnUnmounted,
|
|
112
|
+
d as unrefElement,
|
|
113
|
+
U as useEventListener,
|
|
114
|
+
V as useIntersectionObserver,
|
|
115
|
+
D as useMounted,
|
|
116
|
+
N as useSupported,
|
|
117
|
+
S as watchImmediate
|
|
230
118
|
};
|
package/dist/index215.js
CHANGED
|
@@ -1,39 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { onUnmounted as o, getCurrentInstance as r, getCurrentScope as c, onScopeDispose as i, watch as s } from "vue";
|
|
2
|
+
function p(t) {
|
|
3
|
+
return c() ? (i(t), !0) : !1;
|
|
3
4
|
}
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
const l = typeof window < "u" && typeof document < "u";
|
|
6
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
7
|
+
const d = (t) => t != null, u = Object.prototype.toString, y = (t) => u.call(t) === "[object Object]", m = () => {
|
|
8
|
+
};
|
|
9
|
+
function g(t) {
|
|
10
|
+
return Array.isArray(t) ? t : [t];
|
|
9
11
|
}
|
|
10
|
-
function
|
|
11
|
-
|
|
12
|
-
if (!(r >= 0 && r <= 6))
|
|
13
|
-
throw new RangeError("weekStartsOn must be between 0 and 6");
|
|
14
|
-
var t = D(e), i = t.getDay(), n = (i + 7 - r) % 7;
|
|
15
|
-
return t.setDate(t.getDate() - n), t.setHours(0, 0, 0, 0), t;
|
|
12
|
+
function f(t) {
|
|
13
|
+
return r();
|
|
16
14
|
}
|
|
17
|
-
function
|
|
18
|
-
|
|
19
|
-
if (!(f >= 1 && f <= 7))
|
|
20
|
-
throw new RangeError("firstWeekContainsDate must be between 1 and 7");
|
|
21
|
-
for (var s = D(e), u = s.getFullYear(), a = /* @__PURE__ */ new Date(0), o = u + 1; o >= u - 1 && (a.setFullYear(o, 0, f), a.setHours(0, 0, 0, 0), a = k(a, i), !(s.getTime() >= a.getTime())); o--)
|
|
22
|
-
;
|
|
23
|
-
return a;
|
|
15
|
+
function b(t, n) {
|
|
16
|
+
f() && o(t, n);
|
|
24
17
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
18
|
+
function S(t, n, e) {
|
|
19
|
+
return s(
|
|
20
|
+
t,
|
|
21
|
+
n,
|
|
22
|
+
{
|
|
23
|
+
...e,
|
|
24
|
+
immediate: !0
|
|
25
|
+
}
|
|
26
|
+
);
|
|
31
27
|
}
|
|
32
28
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
f as getLifeCycleTarget,
|
|
30
|
+
l as isClient,
|
|
31
|
+
y as isObject,
|
|
32
|
+
m as noop,
|
|
33
|
+
d as notNullish,
|
|
34
|
+
g as toArray,
|
|
35
|
+
p as tryOnScopeDispose,
|
|
36
|
+
b as tryOnUnmounted,
|
|
37
|
+
S as watchImmediate
|
|
39
38
|
};
|
package/dist/index216.js
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { onNextFrame as p, defaultTimestep as i } from "./index290.js";
|
|
2
|
+
import { createRenderStep as x } from "./index291.js";
|
|
3
|
+
const h = 40;
|
|
4
|
+
let o = !0, s = !1, c = !1;
|
|
5
|
+
const r = {
|
|
6
|
+
delta: 0,
|
|
7
|
+
timestamp: 0
|
|
8
|
+
}, a = [
|
|
9
|
+
"read",
|
|
10
|
+
"update",
|
|
11
|
+
"preRender",
|
|
12
|
+
"render",
|
|
13
|
+
"postRender"
|
|
14
|
+
], n = a.reduce((e, t) => (e[t] = x(() => s = !0), e), {}), g = a.reduce((e, t) => {
|
|
15
|
+
const l = n[t];
|
|
16
|
+
return e[t] = (d, f = !1, m = !1) => (s || E(), l.schedule(d, f, m)), e;
|
|
17
|
+
}, {}), D = a.reduce((e, t) => (e[t] = n[t].cancel, e), {});
|
|
18
|
+
a.reduce((e, t) => (e[t] = () => n[t].process(r), e), {});
|
|
19
|
+
const F = (e) => n[e].process(r), u = (e) => {
|
|
20
|
+
s = !1, r.delta = o ? i : Math.max(Math.min(e - r.timestamp, h), 1), r.timestamp = e, c = !0, a.forEach(F), c = !1, s && (o = !1, p(u));
|
|
21
|
+
}, E = () => {
|
|
22
|
+
s = !0, o = !0, c || p(u);
|
|
23
|
+
}, M = () => r;
|
|
10
24
|
export {
|
|
11
|
-
|
|
25
|
+
D as cancelSync,
|
|
26
|
+
g as default,
|
|
27
|
+
M as getFrameData
|
|
12
28
|
};
|