bitboss-ui 2.0.20 → 2.0.22
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/index107.js +5 -5
- package/dist/index115.js +1 -1
- package/dist/index117.js +5 -5
- package/dist/index119.js +1 -1
- package/dist/index123.js +1 -1
- package/dist/index124.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index127.js +1 -1
- package/dist/index129.js +2 -2
- package/dist/index14.js +1 -1
- package/dist/index16.js +3 -3
- package/dist/index18.js +2 -2
- package/dist/index199.js +81 -2
- package/dist/index199.js.map +1 -1
- package/dist/index20.js +14 -14
- package/dist/index200.js +8 -2
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +3 -4
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +2 -2
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +44 -158
- package/dist/index203.js.map +1 -1
- package/dist/index205.js +16 -0
- package/dist/index205.js.map +1 -0
- package/dist/index206.js +151 -119
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +84 -281
- package/dist/index207.js.map +1 -1
- package/dist/index209.js +3 -19
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +35 -16
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +6 -16
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +7 -2
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +281 -2
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +16 -35
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +14 -172
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +19 -6
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +19 -44
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +30 -0
- package/dist/index218.js.map +1 -0
- package/dist/index219.js +3 -13
- package/dist/index219.js.map +1 -1
- package/dist/index22.js +15 -15
- package/dist/index220.js +2 -5
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +246 -366
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +51 -80
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +42 -6
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +5 -3
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +49 -7
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +2 -3
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +4 -19
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +2 -27
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +126 -3
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +118 -244
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +2 -52
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +173 -43
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +4 -4
- package/dist/index234.js +369 -49
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +2 -2
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +2 -18
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +17 -105
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +109 -0
- package/dist/index238.js.map +1 -0
- package/dist/index24.js +5 -5
- package/dist/{index239.js → index240.js} +2 -2
- package/dist/{index239.js.map → index240.js.map} +1 -1
- package/dist/index244.js +6 -3
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +15 -8
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +9 -23
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +3 -6
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +8 -15
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +23 -9
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +224 -4
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +1 -1
- package/dist/index253.js +7 -9
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +3 -9
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +12 -17
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +9 -2
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +9 -6
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +17 -2
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +2 -2
- package/dist/index259.js.map +1 -1
- package/dist/index26.js +1 -1
- package/dist/index260.js +66 -2
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +5 -2
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +431 -2
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +82 -119
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +5 -430
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +2 -3
- package/dist/index265.js.map +1 -1
- package/dist/{index277.js → index266.js} +1 -1
- package/dist/index266.js.map +1 -0
- package/dist/index267.js +2 -7
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +2 -22
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +5 -0
- package/dist/index269.js.map +1 -0
- package/dist/index270.js +2 -5
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +2 -66
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +2 -436
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +2 -127
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +2 -200
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +24 -85
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +22 -224
- package/dist/index276.js.map +1 -1
- package/dist/index278.js +200 -2
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +4 -2
- package/dist/index279.js.map +1 -1
- package/dist/index28.js +3 -3
- package/dist/index280.js +2 -2
- package/dist/index281.js +126 -2
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +21 -1
- package/dist/index282.js.map +1 -1
- package/dist/index284.js +435 -21
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +130 -0
- package/dist/index285.js.map +1 -0
- package/dist/index286.js +1 -1
- package/dist/index287.js +1 -1
- package/dist/index288.js +2 -2
- package/dist/index290.js +4 -79
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +7 -0
- package/dist/index291.js.map +1 -0
- package/dist/index292.js +59 -4
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +79 -4
- package/dist/index293.js.map +1 -1
- package/dist/index295.js +2 -11
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +10 -34
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +35 -2
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +6 -6
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +18 -6
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +2 -2
- package/dist/index300.js +45 -17
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +6 -46
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +1 -1
- package/dist/index32.js +2 -2
- package/dist/index34.js +3 -3
- package/dist/index36.js +13 -13
- package/dist/index38.js +4 -4
- package/dist/index40.js +2 -2
- package/dist/index42.js +2 -2
- package/dist/index44.js +6 -6
- package/dist/index46.js +2 -2
- package/dist/index48.js +2 -2
- package/dist/index52.js +18 -22
- package/dist/index52.js.map +1 -1
- package/dist/index54.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index72.js +3 -3
- package/dist/index76.js +2 -2
- package/dist/index78.js +1 -1
- package/dist/index81.js +2 -2
- package/dist/index83.js +76 -65
- package/dist/index83.js.map +1 -1
- package/dist/index85.js +3 -3
- package/dist/index87.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/index204.js +0 -87
- package/dist/index204.js.map +0 -1
- package/dist/index208.js +0 -126
- package/dist/index208.js.map +0 -1
- package/dist/index241.js +0 -5
- package/dist/index241.js.map +0 -1
- package/dist/index252.js +0 -15
- package/dist/index252.js.map +0 -1
- package/dist/index277.js.map +0 -1
- package/dist/index283.js +0 -31
- package/dist/index283.js.map +0 -1
- package/dist/index294.js +0 -62
- package/dist/index294.js.map +0 -1
package/dist/index207.js
CHANGED
@@ -1,284 +1,87 @@
|
|
1
|
-
import {
|
2
|
-
|
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
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
return this.endOf(r) < f(t);
|
85
|
-
}, n.$g = function(t, r, e) {
|
86
|
-
return a.u(t) ? this[r] : this.set(e, t);
|
87
|
-
}, n.unix = function() {
|
88
|
-
return Math.floor(this.valueOf() / 1e3);
|
89
|
-
}, n.valueOf = function() {
|
90
|
-
return this.$d.getTime();
|
91
|
-
}, n.startOf = function(t, r) {
|
92
|
-
var e = this, i = !!a.u(r) || r, u = a.p(t), o = function(p, $) {
|
93
|
-
var v = a.w(e.$u ? Date.UTC(e.$y, $, p) : new Date(e.$y, $, p), e);
|
94
|
-
return i ? v : v.endOf(M);
|
95
|
-
}, c = function(p, $) {
|
96
|
-
return a.w(e.toDate()[p].apply(e.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), e);
|
97
|
-
}, h = this.$W, d = this.$M, l = this.$D, b = "set" + (this.$u ? "UTC" : "");
|
98
|
-
switch (u) {
|
99
|
-
case y:
|
100
|
-
return i ? o(1, 0) : o(31, 11);
|
101
|
-
case m:
|
102
|
-
return i ? o(1, d) : o(0, d + 1);
|
103
|
-
case T:
|
104
|
-
var g = this.$locale().weekStart || 0, Y = (h < g ? h + 7 : h) - g;
|
105
|
-
return o(i ? l - Y : l + (6 - Y), d);
|
106
|
-
case M:
|
107
|
-
case _:
|
108
|
-
return c(b + "Hours", 0);
|
109
|
-
case O:
|
110
|
-
return c(b + "Minutes", 1);
|
111
|
-
case w:
|
112
|
-
return c(b + "Seconds", 2);
|
113
|
-
case S:
|
114
|
-
return c(b + "Milliseconds", 3);
|
115
|
-
default:
|
116
|
-
return this.clone();
|
117
|
-
}
|
118
|
-
}, n.endOf = function(t) {
|
119
|
-
return this.startOf(t, !1);
|
120
|
-
}, n.$set = function(t, r) {
|
121
|
-
var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[M] = u + "Date", e[_] = u + "Date", e[m] = u + "Month", e[y] = u + "FullYear", e[O] = u + "Hours", e[w] = u + "Minutes", e[S] = u + "Seconds", e[A] = u + "Milliseconds", e)[i], c = i === M ? this.$D + (r - this.$W) : r;
|
122
|
-
if (i === m || i === y) {
|
123
|
-
var h = this.clone().set(_, 1);
|
124
|
-
h.$d[o](c), h.init(), this.$d = h.set(_, Math.min(this.$D, h.daysInMonth())).$d;
|
125
|
-
} else o && this.$d[o](c);
|
126
|
-
return this.init(), this;
|
127
|
-
}, n.set = function(t, r) {
|
128
|
-
return this.clone().$set(t, r);
|
129
|
-
}, n.get = function(t) {
|
130
|
-
return this[a.p(t)]();
|
131
|
-
}, n.add = function(t, r) {
|
132
|
-
var e, i = this;
|
133
|
-
t = Number(t);
|
134
|
-
var u = a.p(r), o = function(d) {
|
135
|
-
var l = f(i);
|
136
|
-
return a.w(l.date(l.date() + Math.round(d * t)), i);
|
137
|
-
};
|
138
|
-
if (u === m) return this.set(m, this.$M + t);
|
139
|
-
if (u === y) return this.set(y, this.$y + t);
|
140
|
-
if (u === M) return o(1);
|
141
|
-
if (u === T) return o(7);
|
142
|
-
var c = (e = {}, e[w] = k, e[O] = N, e[S] = W, e)[u] || 1, h = this.$d.getTime() + t * c;
|
143
|
-
return a.w(h, this);
|
144
|
-
}, n.subtract = function(t, r) {
|
145
|
-
return this.add(-1 * t, r);
|
146
|
-
}, n.format = function(t) {
|
147
|
-
var r = this, e = this.$locale();
|
148
|
-
if (!this.isValid()) return e.invalidDate || J;
|
149
|
-
var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, h = this.$M, d = e.weekdays, l = e.months, b = e.meridiem, g = function($, v, H, L) {
|
150
|
-
return $ && ($[v] || $(r, i)) || H[v].slice(0, L);
|
151
|
-
}, Y = function($) {
|
152
|
-
return a.s(o % 12 || 12, $, "0");
|
153
|
-
}, p = b || function($, v, H) {
|
154
|
-
var L = $ < 12 ? "AM" : "PM";
|
155
|
-
return H ? L.toLowerCase() : L;
|
156
|
-
};
|
157
|
-
return i.replace(B, function($, v) {
|
158
|
-
return v || function(H) {
|
159
|
-
switch (H) {
|
160
|
-
case "YY":
|
161
|
-
return String(r.$y).slice(-2);
|
162
|
-
case "YYYY":
|
163
|
-
return a.s(r.$y, 4, "0");
|
164
|
-
case "M":
|
165
|
-
return h + 1;
|
166
|
-
case "MM":
|
167
|
-
return a.s(h + 1, 2, "0");
|
168
|
-
case "MMM":
|
169
|
-
return g(e.monthsShort, h, l, 3);
|
170
|
-
case "MMMM":
|
171
|
-
return g(l, h);
|
172
|
-
case "D":
|
173
|
-
return r.$D;
|
174
|
-
case "DD":
|
175
|
-
return a.s(r.$D, 2, "0");
|
176
|
-
case "d":
|
177
|
-
return String(r.$W);
|
178
|
-
case "dd":
|
179
|
-
return g(e.weekdaysMin, r.$W, d, 2);
|
180
|
-
case "ddd":
|
181
|
-
return g(e.weekdaysShort, r.$W, d, 3);
|
182
|
-
case "dddd":
|
183
|
-
return d[r.$W];
|
184
|
-
case "H":
|
185
|
-
return String(o);
|
186
|
-
case "HH":
|
187
|
-
return a.s(o, 2, "0");
|
188
|
-
case "h":
|
189
|
-
return Y(1);
|
190
|
-
case "hh":
|
191
|
-
return Y(2);
|
192
|
-
case "a":
|
193
|
-
return p(o, c, !0);
|
194
|
-
case "A":
|
195
|
-
return p(o, c, !1);
|
196
|
-
case "m":
|
197
|
-
return String(c);
|
198
|
-
case "mm":
|
199
|
-
return a.s(c, 2, "0");
|
200
|
-
case "s":
|
201
|
-
return String(r.$s);
|
202
|
-
case "ss":
|
203
|
-
return a.s(r.$s, 2, "0");
|
204
|
-
case "SSS":
|
205
|
-
return a.s(r.$ms, 3, "0");
|
206
|
-
case "Z":
|
207
|
-
return u;
|
208
|
-
}
|
209
|
-
return null;
|
210
|
-
}($) || u.replace(":", "");
|
211
|
-
});
|
212
|
-
}, n.utcOffset = function() {
|
213
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
214
|
-
}, n.diff = function(t, r, e) {
|
215
|
-
var i, u = this, o = a.p(r), c = f(t), h = (c.utcOffset() - this.utcOffset()) * k, d = this - c, l = function() {
|
216
|
-
return a.m(u, c);
|
217
|
-
};
|
218
|
-
switch (o) {
|
219
|
-
case y:
|
220
|
-
i = l() / 12;
|
221
|
-
break;
|
222
|
-
case m:
|
223
|
-
i = l();
|
224
|
-
break;
|
225
|
-
case U:
|
226
|
-
i = l() / 3;
|
227
|
-
break;
|
228
|
-
case T:
|
229
|
-
i = (d - h) / 6048e5;
|
230
|
-
break;
|
231
|
-
case M:
|
232
|
-
i = (d - h) / 864e5;
|
233
|
-
break;
|
234
|
-
case O:
|
235
|
-
i = d / N;
|
236
|
-
break;
|
237
|
-
case w:
|
238
|
-
i = d / k;
|
239
|
-
break;
|
240
|
-
case S:
|
241
|
-
i = d / W;
|
242
|
-
break;
|
243
|
-
default:
|
244
|
-
i = d;
|
245
|
-
}
|
246
|
-
return e ? i : a.a(i);
|
247
|
-
}, n.daysInMonth = function() {
|
248
|
-
return this.endOf(m).$D;
|
249
|
-
}, n.$locale = function() {
|
250
|
-
return D[this.$L];
|
251
|
-
}, n.locale = function(t, r) {
|
252
|
-
if (!t) return this.$L;
|
253
|
-
var e = this.clone(), i = j(t, r, !0);
|
254
|
-
return i && (e.$L = i), e;
|
255
|
-
}, n.clone = function() {
|
256
|
-
return a.w(this.$d, this);
|
257
|
-
}, n.toDate = function() {
|
258
|
-
return new Date(this.valueOf());
|
259
|
-
}, n.toJSON = function() {
|
260
|
-
return this.isValid() ? this.toISOString() : null;
|
261
|
-
}, n.toISOString = function() {
|
262
|
-
return this.$d.toISOString();
|
263
|
-
}, n.toString = function() {
|
264
|
-
return this.$d.toUTCString();
|
265
|
-
}, s;
|
266
|
-
}(), z = C.prototype;
|
267
|
-
return f.prototype = z, [["$ms", A], ["$s", S], ["$m", w], ["$H", O], ["$W", M], ["$M", m], ["$y", y], ["$D", _]].forEach(function(s) {
|
268
|
-
z[s[1]] = function(n) {
|
269
|
-
return this.$g(n, s[0], s[1]);
|
270
|
-
};
|
271
|
-
}), f.extend = function(s, n) {
|
272
|
-
return s.$i || (s(n, C, f), s.$i = !0), f;
|
273
|
-
}, f.locale = j, f.isDayjs = F, f.unix = function(s) {
|
274
|
-
return f(1e3 * s);
|
275
|
-
}, f.en = D[x], f.Ls = D, f.p = {}, f;
|
276
|
-
});
|
277
|
-
})(E);
|
278
|
-
var R = E.exports;
|
279
|
-
const nt = /* @__PURE__ */ Q(R);
|
1
|
+
import { defineComponent as b, openBlock as n, createElementBlock as s, normalizeClass as r, createElementVNode as l, renderSlot as t, createTextVNode as o, toDisplayString as d, createCommentVNode as h, Fragment as c, renderList as m } from "vue";
|
2
|
+
const p = { class: "bb-cr-container__container" }, u = {
|
3
|
+
key: 0,
|
4
|
+
class: "bb-cr-container__loading-container"
|
5
|
+
}, g = {
|
6
|
+
key: 1,
|
7
|
+
class: "bb-cr-container__no-data-container"
|
8
|
+
}, _ = /* @__PURE__ */ b({
|
9
|
+
__name: "OptionsContainer",
|
10
|
+
props: {
|
11
|
+
direction: {},
|
12
|
+
hasErrors: { type: Boolean },
|
13
|
+
hideLabel: { type: Boolean },
|
14
|
+
loadingText: {},
|
15
|
+
loading: { type: Boolean },
|
16
|
+
noDataText: {},
|
17
|
+
options: {}
|
18
|
+
},
|
19
|
+
setup(k) {
|
20
|
+
return (a, $) => (n(), s("span", {
|
21
|
+
ref: "container",
|
22
|
+
class: r(["bb-cr-container", {
|
23
|
+
"bb-cr-container--errors": a.hasErrors,
|
24
|
+
"bb-cr-container--horizontal": a.direction === "horizontal",
|
25
|
+
"bb-cr-container--vertical": a.direction === "vertical"
|
26
|
+
}])
|
27
|
+
}, [
|
28
|
+
l("span", p, [
|
29
|
+
t(a.$slots, "prepend"),
|
30
|
+
!a.options.length && a.loading ? (n(), s("span", u, [
|
31
|
+
t(a.$slots, "loading", {}, () => [
|
32
|
+
o(d(a.loadingText), 1)
|
33
|
+
])
|
34
|
+
])) : a.options.length ? h("", !0) : (n(), s("span", g, [
|
35
|
+
t(a.$slots, "no-data", {}, () => [
|
36
|
+
o(d(a.noDataText), 1)
|
37
|
+
])
|
38
|
+
])),
|
39
|
+
(n(!0), s(c, null, m(a.options, (e, i) => (n(), s(c, {
|
40
|
+
key: (e == null ? void 0 : e.id) || i
|
41
|
+
}, [
|
42
|
+
t(a.$slots, "option:prepend", {
|
43
|
+
id: e.valueHash,
|
44
|
+
checked: !!e.selected,
|
45
|
+
disabled: !!e.disabled,
|
46
|
+
item: e.item,
|
47
|
+
text: e.text
|
48
|
+
}),
|
49
|
+
l("label", {
|
50
|
+
class: r(["bb-cr-container-option", { "bb-base-radio-selected": e.selected }])
|
51
|
+
}, [
|
52
|
+
t(a.$slots, "input", {
|
53
|
+
index: i,
|
54
|
+
option: e
|
55
|
+
}),
|
56
|
+
l("span", {
|
57
|
+
class: r({
|
58
|
+
"bb-cr-container-option__text": !0,
|
59
|
+
"bb-cr-container-option__text--hidden": a.hideLabel
|
60
|
+
})
|
61
|
+
}, [
|
62
|
+
t(a.$slots, "label", {
|
63
|
+
checked: !!e.selected,
|
64
|
+
item: e.item,
|
65
|
+
text: e.text
|
66
|
+
}, () => [
|
67
|
+
o(d(e.text), 1)
|
68
|
+
])
|
69
|
+
], 2)
|
70
|
+
], 2),
|
71
|
+
t(a.$slots, "option:append", {
|
72
|
+
id: e.valueHash,
|
73
|
+
checked: !!e.selected,
|
74
|
+
disabled: !!e.disabled,
|
75
|
+
item: e.item,
|
76
|
+
text: e.text
|
77
|
+
})
|
78
|
+
], 64))), 128)),
|
79
|
+
t(a.$slots, "append")
|
80
|
+
])
|
81
|
+
], 2));
|
82
|
+
}
|
83
|
+
});
|
280
84
|
export {
|
281
|
-
|
282
|
-
nt as default
|
85
|
+
_ as default
|
283
86
|
};
|
284
87
|
//# sourceMappingURL=index207.js.map
|
package/dist/index207.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index207.js","sources":["../node_modules/dayjs/dayjs.min.js"],"sourcesContent":["!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){\"use strict\";var t=1e3,e=6e4,n=36e5,r=\"millisecond\",i=\"second\",s=\"minute\",u=\"hour\",a=\"day\",o=\"week\",c=\"month\",f=\"quarter\",h=\"year\",d=\"date\",l=\"Invalid Date\",$=/^(\\d{4})[-/]?(\\d{1,2})?[-/]?(\\d{0,2})[Tt\\s]*(\\d{1,2})?:?(\\d{1,2})?:?(\\d{1,2})?[.:]?(\\d+)?$/,y=/\\[([^\\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:\"en\",weekdays:\"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday\".split(\"_\"),months:\"January_February_March_April_May_June_July_August_September_October_November_December\".split(\"_\"),ordinal:function(t){var e=[\"th\",\"st\",\"nd\",\"rd\"],n=t%100;return\"[\"+t+(e[(n-20)%10]||e[n]||e[0])+\"]\"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:\"\"+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?\"+\":\"-\")+m(r,2,\"0\")+\":\"+m(i,2,\"0\")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return+(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||\"\").toLowerCase().replace(/s$/,\"\")},u:function(t){return void 0===t}},g=\"en\",D={};D[g]=M;var p=\"$isDayjsObject\",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if(\"string\"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split(\"-\");if(!i&&u.length>1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n=\"object\"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if(\"string\"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||\"0\").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate(\"s\"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v=\"set\"+(this.$u?\"UTC\":\"\");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+\"Hours\",0);case u:return $(v+\"Minutes\",1);case s:return $(v+\"Seconds\",2);case i:return $(v+\"Milliseconds\",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f=\"set\"+(this.$u?\"UTC\":\"\"),l=(n={},n[a]=f+\"Date\",n[d]=f+\"Date\",n[c]=f+\"Month\",n[h]=f+\"FullYear\",n[u]=f+\"Hours\",n[s]=f+\"Minutes\",n[i]=f+\"Seconds\",n[r]=f+\"Milliseconds\",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||\"YYYY-MM-DDTHH:mm:ssZ\",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,\"0\")},$=f||function(t,e,n){var r=t<12?\"AM\":\"PM\";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case\"YY\":return String(e.$y).slice(-2);case\"YYYY\":return b.s(e.$y,4,\"0\");case\"M\":return a+1;case\"MM\":return b.s(a+1,2,\"0\");case\"MMM\":return h(n.monthsShort,a,c,3);case\"MMMM\":return h(c,a);case\"D\":return e.$D;case\"DD\":return b.s(e.$D,2,\"0\");case\"d\":return String(e.$W);case\"dd\":return h(n.weekdaysMin,e.$W,o,2);case\"ddd\":return h(n.weekdaysShort,e.$W,o,3);case\"dddd\":return o[e.$W];case\"H\":return String(s);case\"HH\":return b.s(s,2,\"0\");case\"h\":return d(1);case\"hh\":return d(2);case\"a\":return $(s,u,!0);case\"A\":return $(s,u,!1);case\"m\":return String(u);case\"mm\":return b.s(u,2,\"0\");case\"s\":return String(e.$s);case\"ss\":return b.s(e.$s,2,\"0\");case\"SSS\":return b.s(e.$ms,3,\"0\");case\"Z\":return i}return null}(t)||i.replace(\":\",\"\")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[[\"$ms\",r],[\"$s\",i],[\"$m\",s],[\"$H\",u],[\"$W\",a],[\"$M\",c],[\"$y\",h],[\"$D\",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));"],"names":["t","e","module","this","n","r","i","s","u","a","o","c","f","h","d","l","$","y","M","m","v","g","p","S","_","w","O","b","D","k"],"mappings":";;;AAAA,GAAC,SAASA,GAAEC,GAAE;AAAsD,IAAAC,YAAeD,EAAmH;AAAA,EAAA,GAAEE,GAAM,WAAU;AAA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.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/index209.js
CHANGED
@@ -1,22 +1,6 @@
|
|
1
|
-
import
|
2
|
-
|
3
|
-
import { d as s } from "./index207.js";
|
4
|
-
(function(_, u) {
|
5
|
-
(function(e, t) {
|
6
|
-
_.exports = t(s);
|
7
|
-
})(i, function(e) {
|
8
|
-
function t(o) {
|
9
|
-
return o && typeof o == "object" && "default" in o ? o : { default: o };
|
10
|
-
}
|
11
|
-
var a = t(e), n = { name: "it", weekdays: "domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"), weekdaysShort: "dom_lun_mar_mer_gio_ven_sab".split("_"), weekdaysMin: "do_lu_ma_me_gi_ve_sa".split("_"), months: "gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"), weekStart: 1, monthsShort: "gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"), formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "tra %s", past: "%s fa", s: "qualche secondo", m: "un minuto", mm: "%d minuti", h: "un' ora", hh: "%d ore", d: "un giorno", dd: "%d giorni", M: "un mese", MM: "%d mesi", y: "un anno", yy: "%d anni" }, ordinal: function(o) {
|
12
|
-
return o + "º";
|
13
|
-
} };
|
14
|
-
return a.default.locale(n, null, !0), n;
|
15
|
-
});
|
16
|
-
})(r);
|
17
|
-
var d = r.exports;
|
18
|
-
const g = /* @__PURE__ */ m(d);
|
1
|
+
import t from "./index263.js";
|
2
|
+
const r = t;
|
19
3
|
export {
|
20
|
-
|
4
|
+
r as throttle
|
21
5
|
};
|
22
6
|
//# sourceMappingURL=index209.js.map
|
package/dist/index209.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index209.js","sources":["../
|
1
|
+
{"version":3,"file":"index209.js","sources":["../src/utilities/functions/throttle.ts"],"sourcesContent":["import t from 'lodash.throttle';\n\nexport const throttle = t;\n"],"names":["throttle"],"mappings":";AAEO,MAAMA,IAAW;"}
|
package/dist/index210.js
CHANGED
@@ -1,19 +1,38 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
1
|
+
import { unrefElement as m } from "./index129.js";
|
2
|
+
import { ref as u, watch as l } from "vue";
|
3
|
+
import { createFocusTrap as d } from "./index262.js";
|
4
|
+
import { tryOnScopeDispose as D } from "./index199.js";
|
5
|
+
function O(i, a = {}) {
|
6
|
+
let e;
|
7
|
+
const { immediate: f, ...n } = a, c = u(!1), s = u(!1), o = (t) => e && e.activate(t), r = (t) => e && e.deactivate(t), v = () => {
|
8
|
+
e && (e.pause(), s.value = !0);
|
9
|
+
}, p = () => {
|
10
|
+
e && (e.unpause(), s.value = !1);
|
11
|
+
};
|
12
|
+
return l(
|
13
|
+
() => m(i),
|
14
|
+
(t) => {
|
15
|
+
t && (e = d(t, {
|
16
|
+
...n,
|
17
|
+
onActivate() {
|
18
|
+
c.value = !0, a.onActivate && a.onActivate();
|
19
|
+
},
|
20
|
+
onDeactivate() {
|
21
|
+
c.value = !1, a.onDeactivate && a.onDeactivate();
|
22
|
+
}
|
23
|
+
}), f && o());
|
24
|
+
},
|
25
|
+
{ flush: "post" }
|
26
|
+
), D(() => r()), {
|
27
|
+
hasFocus: c,
|
28
|
+
isPaused: s,
|
29
|
+
activate: o,
|
30
|
+
deactivate: r,
|
31
|
+
pause: v,
|
32
|
+
unpause: p
|
33
|
+
};
|
34
|
+
}
|
16
35
|
export {
|
17
|
-
|
36
|
+
O as useFocusTrap
|
18
37
|
};
|
19
38
|
//# sourceMappingURL=index210.js.map
|
package/dist/index210.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index210.js","sources":["../node_modules/
|
1
|
+
{"version":3,"file":"index210.js","sources":["../node_modules/@vueuse/integrations/useFocusTrap.mjs"],"sourcesContent":["import { unrefElement, tryOnScopeDispose } from '@vueuse/core';\nimport { ref, watch } from 'vue-demi';\nimport { createFocusTrap } from 'focus-trap';\n\nfunction useFocusTrap(target, options = {}) {\n let trap;\n const { immediate, ...focusTrapOptions } = options;\n const hasFocus = ref(false);\n const isPaused = ref(false);\n const activate = (opts) => trap && trap.activate(opts);\n const deactivate = (opts) => trap && trap.deactivate(opts);\n const pause = () => {\n if (trap) {\n trap.pause();\n isPaused.value = true;\n }\n };\n const unpause = () => {\n if (trap) {\n trap.unpause();\n isPaused.value = false;\n }\n };\n watch(\n () => unrefElement(target),\n (el) => {\n if (!el)\n return;\n trap = createFocusTrap(el, {\n ...focusTrapOptions,\n onActivate() {\n hasFocus.value = true;\n if (options.onActivate)\n options.onActivate();\n },\n onDeactivate() {\n hasFocus.value = false;\n if (options.onDeactivate)\n options.onDeactivate();\n }\n });\n if (immediate)\n activate();\n },\n { flush: \"post\" }\n );\n tryOnScopeDispose(() => deactivate());\n return {\n hasFocus,\n isPaused,\n activate,\n deactivate,\n pause,\n unpause\n };\n}\n\nexport { useFocusTrap };\n"],"names":["useFocusTrap","target","options","trap","immediate","focusTrapOptions","hasFocus","ref","isPaused","activate","opts","deactivate","pause","unpause","watch","unrefElement","el","createFocusTrap","tryOnScopeDispose"],"mappings":";;;;AAIA,SAASA,EAAaC,GAAQC,IAAU,IAAI;AAC1C,MAAIC;AACJ,QAAM,EAAE,WAAAC,GAAW,GAAGC,EAAgB,IAAKH,GACrCI,IAAWC,EAAI,EAAK,GACpBC,IAAWD,EAAI,EAAK,GACpBE,IAAW,CAACC,MAASP,KAAQA,EAAK,SAASO,CAAI,GAC/CC,IAAa,CAACD,MAASP,KAAQA,EAAK,WAAWO,CAAI,GACnDE,IAAQ,MAAM;AAClB,IAAIT,MACFA,EAAK,MAAK,GACVK,EAAS,QAAQ;AAAA,EAEvB,GACQK,IAAU,MAAM;AACpB,IAAIV,MACFA,EAAK,QAAO,GACZK,EAAS,QAAQ;AAAA,EAEvB;AACE,SAAAM;AAAA,IACE,MAAMC,EAAad,CAAM;AAAA,IACzB,CAACe,MAAO;AACN,MAAKA,MAELb,IAAOc,EAAgBD,GAAI;AAAA,QACzB,GAAGX;AAAA,QACH,aAAa;AACX,UAAAC,EAAS,QAAQ,IACbJ,EAAQ,cACVA,EAAQ,WAAU;AAAA,QACrB;AAAA,QACD,eAAe;AACb,UAAAI,EAAS,QAAQ,IACbJ,EAAQ,gBACVA,EAAQ,aAAY;AAAA,QACvB;AAAA,MACT,CAAO,GACGE,KACFK;IACH;AAAA,IACD,EAAE,OAAO,OAAQ;AAAA,EACrB,GACES,EAAkB,MAAMP,EAAU,CAAE,GAC7B;AAAA,IACL,UAAAL;AAAA,IACA,UAAAE;AAAA,IACA,UAAAC;AAAA,IACA,YAAAE;AAAA,IACA,OAAAC;AAAA,IACA,SAAAC;AAAA,EACJ;AACA;","x_google_ignoreList":[0]}
|
package/dist/index211.js
CHANGED
@@ -1,19 +1,9 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
(
|
4
|
-
|
5
|
-
|
6
|
-
})(n, function() {
|
7
|
-
return function(f, o) {
|
8
|
-
o.prototype.isSameOrBefore = function(e, r) {
|
9
|
-
return this.isSame(e, r) || this.isBefore(e, r);
|
10
|
-
};
|
11
|
-
};
|
12
|
-
});
|
13
|
-
})(t);
|
14
|
-
var m = t.exports;
|
15
|
-
const c = /* @__PURE__ */ i(m);
|
1
|
+
const o = (e, t = 50) => new Promise((r) => {
|
2
|
+
const n = setInterval(() => {
|
3
|
+
e() && (clearInterval(n), r());
|
4
|
+
}, t);
|
5
|
+
});
|
16
6
|
export {
|
17
|
-
|
7
|
+
o as waitFor
|
18
8
|
};
|
19
9
|
//# sourceMappingURL=index211.js.map
|
package/dist/index211.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index211.js","sources":["../
|
1
|
+
{"version":3,"file":"index211.js","sources":["../src/utilities/functions/waitFor.ts"],"sourcesContent":["/** Wait until iteratee returns true to resolve the promise */\nexport const waitFor: (\n\titeratee: () => boolean,\n\tinterval?: number\n) => Promise<void> = (iteratee, interval = 50) =>\n\tnew Promise((resolve) => {\n\t\tconst i = setInterval(() => {\n\t\t\tif (iteratee()) {\n\t\t\t\tclearInterval(i);\n\t\t\t\tresolve();\n\t\t\t}\n\t\t}, interval);\n\t});\n"],"names":["waitFor","iteratee","interval","resolve","i"],"mappings":"AACa,MAAAA,IAGQ,CAACC,GAAUC,IAAW,OAC1C,IAAI,QAAQ,CAACC,MAAY;AAClB,QAAAC,IAAI,YAAY,MAAM;AAC3B,IAAIH,QACH,cAAcG,CAAC,GACPD;KAEPD,CAAQ;AACZ,CAAC;"}
|
package/dist/index212.js
CHANGED
@@ -1,5 +1,10 @@
|
|
1
|
-
|
1
|
+
import { ref as e } from "vue";
|
2
|
+
const o = e(0), s = () => {
|
3
|
+
o.value++;
|
4
|
+
}, a = () => {
|
5
|
+
o.value--;
|
6
|
+
}, d = () => ({ openedModals: o, modalHasOpened: s, modalHasClosed: a });
|
2
7
|
export {
|
3
|
-
|
8
|
+
d as useModalsState
|
4
9
|
};
|
5
10
|
//# sourceMappingURL=index212.js.map
|
package/dist/index212.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index212.js","sources":["../src/
|
1
|
+
{"version":3,"file":"index212.js","sources":["../src/composables/useModalsState.ts"],"sourcesContent":["import { ref } from 'vue';\n\nconst openedModals = ref(0);\n\nconst modalHasOpened = () => {\n\topenedModals.value++;\n};\n\nconst modalHasClosed = () => {\n\topenedModals.value--;\n};\nexport const useModalsState = () => {\n\treturn { openedModals, modalHasOpened, modalHasClosed };\n};\n"],"names":["openedModals","ref","modalHasOpened","modalHasClosed","useModalsState"],"mappings":";AAEA,MAAMA,IAAeC,EAAI,CAAC,GAEpBC,IAAiB,MAAM;AACf,EAAAF,EAAA;AACd,GAEMG,IAAiB,MAAM;AACf,EAAAH,EAAA;AACd,GACaI,IAAiB,OACtB,EAAE,cAAAJ,GAAc,gBAAAE,GAAgB,gBAAAC;"}
|