@revolugo/elements 7.11.2 → 7.12.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/index.es.min.js +1 -1
  2. package/dist/index.es.min.js.map +1 -1
  3. package/dist/index.min.js +1 -1
  4. package/dist/index.min.js.map +1 -1
  5. package/dist/revolugo.min.js +65 -66
  6. package/package.json +5 -5
  7. package/dist/css/fonts.css +0 -1
  8. package/dist/css/revolugo.bookingpaymentform.CekI3oIR.css +0 -1
  9. package/dist/css/revolugo.creditcardstripeform.CmxpInfL.css +0 -1
  10. package/dist/css/revolugo.index.5WWmkTtd.css +0 -1
  11. package/dist/css/revolugo.preferencesmenu.DwotHb97.css +0 -1
  12. package/dist/css/revolugo.revolugoelements.D3jgSljg.css +0 -1
  13. package/dist/css/revolugo.storybooktoolbar.d_cxquq9.css +0 -1
  14. package/dist/css/revolugo.ui.sAxjrsi6.css +0 -1
  15. package/dist/css/revolugo.vtoolbar.BS4p23lZ.css +0 -1
  16. package/dist/css/revolugo.webcomponentwrapper.LxbCIx-k.css +0 -1
  17. package/dist/revolugo.banktransferdetails.ql5QYmUR.min.js +0 -24
  18. package/dist/revolugo.bookingdetailssidebar.CVi0BqUW.min.js +0 -25
  19. package/dist/revolugo.bookingmanager.DP-s7JZu.min.js +0 -24
  20. package/dist/revolugo.bookingpaymentform.BJCfZ_Kk.min.js +0 -5158
  21. package/dist/revolugo.cancellationpoliciesbadge.LvXxw6Uw.min.js +0 -24
  22. package/dist/revolugo.cancellationpolicieslist.Dac8qxMA.min.js +0 -24
  23. package/dist/revolugo.creditcardstripeform.Ba6BWtYz.min.js +0 -2787
  24. package/dist/revolugo.creditcardstripeform.DCLuK09J.min.js +0 -25
  25. package/dist/revolugo.creditcardstripeform.props.C4lAZ1a1.min.js +0 -35
  26. package/dist/revolugo.currencypickerbtn.D5at0qzh.min.js +0 -25
  27. package/dist/revolugo.dist.CLV0MHMA.min.js +0 -58
  28. package/dist/revolugo.fastbookingflow.BBcEUXA0.min.js +0 -34
  29. package/dist/revolugo.framework.k0uaz58D.min.js +0 -775
  30. package/dist/revolugo.fullbookingflow.CbcxEJ_p.min.js +0 -24
  31. package/dist/revolugo.hoteldescriptionview.BhOkhZrl.min.js +0 -24
  32. package/dist/revolugo.hotelofferlist.DwP_q7sh.min.js +0 -24
  33. package/dist/revolugo.hoteloffersearchmenu.D2nQIXps.min.js +0 -24
  34. package/dist/revolugo.hoteloffersmap.BzJXBIZu.min.js +0 -24
  35. package/dist/revolugo.hoteloffersview.DbkrpmcL.min.js +0 -18
  36. package/dist/revolugo.hotelroomofferlist.BDmMQUXg.min.js +0 -24
  37. package/dist/revolugo.hotelroomoffersbookingflow.BTX5vw3U.min.js +0 -24
  38. package/dist/revolugo.hotelroomoffersearchmenu.Byc3rzga.min.js +0 -24
  39. package/dist/revolugo.hotelroomoffersview.DpCNFUpm.min.js +0 -24
  40. package/dist/revolugo.langpickerbtn.BYYCD3xg.min.js +0 -25
  41. package/dist/revolugo.leaflet-src.CtLpIV-y.min.js +0 -4665
  42. package/dist/revolugo.leaflet-src.esm.DzYPfo81.min.js +0 -4782
  43. package/dist/revolugo.marker-icon-2x.BBE8dvJp.min.js +0 -8
  44. package/dist/revolugo.marker-icon.VORuIHX9.min.js +0 -8
  45. package/dist/revolugo.marker-shadow.BcaYGGj2.min.js +0 -8
  46. package/dist/revolugo.prebookform.Buadq4bi.min.js +0 -24
  47. package/dist/revolugo.preferencesmenu.HRS1NoUW.min.js +0 -958
  48. package/dist/revolugo.revolugo-config.BhnbJkHY.min.js +0 -6492
  49. package/dist/revolugo.revolugoelements.DqTSs2x-.min.js +0 -34409
  50. package/dist/revolugo.rolldown-runtime.C2H8viMH.min.js +0 -25
  51. package/dist/revolugo.roominglisteditor.C7NMBMQu.min.js +0 -24
  52. package/dist/revolugo.storybooktoolbar.DuOgD1zs.min.js +0 -996
  53. package/dist/revolugo.termsandconditions.Dhn9Gh19.min.js +0 -24
  54. package/dist/revolugo.theme.CWCtKizJ.min.js +0 -17277
  55. package/dist/revolugo.ui.CwfYE_fW.min.js +0 -57666
  56. package/dist/revolugo.vtoolbar.CrASDlFx.min.js +0 -145
  57. package/dist/revolugo.webcomponentwrapper.DYBPZW1v.min.js +0 -256
  58. package/dist/revolugo2.preferencesmenu.B_DB1N90.min.js +0 -24
@@ -1,775 +0,0 @@
1
- import { D as L, E as T, Et as C, K as B, Pr as U, _t as I, b as P, bt as w, d as G, f as K, g as Z, j as V, jr as x, l as J, m as k, n as $, o as b, t as S, ti as j, ui as A, w as z, x as _, y as Y } from "./revolugo.theme.CWCtKizJ.min.js";
2
- var D = {
3
- "001": 1,
4
- AD: 1,
5
- AE: 6,
6
- AF: 6,
7
- AG: 0,
8
- AI: 1,
9
- AL: 1,
10
- AM: 1,
11
- AN: 1,
12
- AR: 1,
13
- AS: 0,
14
- AT: 1,
15
- AU: 1,
16
- AX: 1,
17
- AZ: 1,
18
- BA: 1,
19
- BD: 0,
20
- BE: 1,
21
- BG: 1,
22
- BH: 6,
23
- BM: 1,
24
- BN: 1,
25
- BR: 0,
26
- BS: 0,
27
- BT: 0,
28
- BW: 0,
29
- BY: 1,
30
- BZ: 0,
31
- CA: 0,
32
- CH: 1,
33
- CL: 1,
34
- CM: 1,
35
- CN: 1,
36
- CO: 0,
37
- CR: 1,
38
- CY: 1,
39
- CZ: 1,
40
- DE: 1,
41
- DJ: 6,
42
- DK: 1,
43
- DM: 0,
44
- DO: 0,
45
- DZ: 6,
46
- EC: 1,
47
- EE: 1,
48
- EG: 6,
49
- ES: 1,
50
- ET: 0,
51
- FI: 1,
52
- FJ: 1,
53
- FO: 1,
54
- FR: 1,
55
- GB: 1,
56
- "GB-alt-variant": 0,
57
- GE: 1,
58
- GF: 1,
59
- GP: 1,
60
- GR: 1,
61
- GT: 0,
62
- GU: 0,
63
- HK: 0,
64
- HN: 0,
65
- HR: 1,
66
- HU: 1,
67
- ID: 0,
68
- IE: 1,
69
- IL: 0,
70
- IN: 0,
71
- IQ: 6,
72
- IR: 6,
73
- IS: 1,
74
- IT: 1,
75
- JM: 0,
76
- JO: 6,
77
- JP: 0,
78
- KE: 0,
79
- KG: 1,
80
- KH: 0,
81
- KR: 0,
82
- KW: 6,
83
- KZ: 1,
84
- LA: 0,
85
- LB: 1,
86
- LI: 1,
87
- LK: 1,
88
- LT: 1,
89
- LU: 1,
90
- LV: 1,
91
- LY: 6,
92
- MC: 1,
93
- MD: 1,
94
- ME: 1,
95
- MH: 0,
96
- MK: 1,
97
- MM: 0,
98
- MN: 1,
99
- MO: 0,
100
- MQ: 1,
101
- MT: 0,
102
- MV: 5,
103
- MX: 0,
104
- MY: 1,
105
- MZ: 0,
106
- NI: 0,
107
- NL: 1,
108
- NO: 1,
109
- NP: 0,
110
- NZ: 1,
111
- OM: 6,
112
- PA: 0,
113
- PE: 0,
114
- PH: 0,
115
- PK: 0,
116
- PL: 1,
117
- PR: 0,
118
- PT: 0,
119
- PY: 0,
120
- QA: 6,
121
- RE: 1,
122
- RO: 1,
123
- RS: 1,
124
- RU: 1,
125
- SA: 0,
126
- SD: 6,
127
- SE: 1,
128
- SG: 0,
129
- SI: 1,
130
- SK: 1,
131
- SM: 1,
132
- SV: 0,
133
- SY: 6,
134
- TH: 0,
135
- TJ: 1,
136
- TM: 1,
137
- TR: 1,
138
- TT: 0,
139
- TW: 0,
140
- UA: 1,
141
- UM: 0,
142
- US: 0,
143
- UY: 1,
144
- UZ: 1,
145
- VA: 1,
146
- VE: 0,
147
- VI: 0,
148
- VN: 1,
149
- WS: 0,
150
- XK: 1,
151
- YE: 0,
152
- ZA: 0,
153
- ZW: 0
154
- };
155
- function q(e, t, n) {
156
- const a = [];
157
- let r = [];
158
- const l = O(e), o = N(e), m = n ?? D[t.slice(-2).toUpperCase()] ?? 0, h = (l.getDay() - m + 7) % 7, d = (o.getDay() - m + 7) % 7;
159
- for (let u = 0; u < h; u++) {
160
- const i = new Date(l);
161
- i.setDate(i.getDate() - (h - u)), r.push(i);
162
- }
163
- for (let u = 1; u <= o.getDate(); u++) {
164
- const i = new Date(e.getFullYear(), e.getMonth(), u);
165
- r.push(i), r.length === 7 && (a.push(r), r = []);
166
- }
167
- for (let u = 1; u < 7 - d; u++) {
168
- const i = new Date(o);
169
- i.setDate(i.getDate() + u), r.push(i);
170
- }
171
- return r.length > 0 && a.push(r), a;
172
- }
173
- function Q(e, t, n) {
174
- const a = n ?? D[t.slice(-2).toUpperCase()] ?? 0, r = new Date(e);
175
- for (; r.getDay() !== a; ) r.setDate(r.getDate() - 1);
176
- return r;
177
- }
178
- function X(e, t) {
179
- const n = new Date(e), a = ((D[t.slice(-2).toUpperCase()] ?? 0) + 6) % 7;
180
- for (; n.getDay() !== a; ) n.setDate(n.getDate() + 1);
181
- return n;
182
- }
183
- function O(e) {
184
- return new Date(e.getFullYear(), e.getMonth(), 1);
185
- }
186
- function N(e) {
187
- return new Date(e.getFullYear(), e.getMonth() + 1, 0);
188
- }
189
- function ee(e) {
190
- const t = e.split("-").map(Number);
191
- return new Date(t[0], t[1] - 1, t[2]);
192
- }
193
- var te = /^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;
194
- function E(e) {
195
- if (e == null) return /* @__PURE__ */ new Date();
196
- if (e instanceof Date) return e;
197
- if (typeof e == "string") {
198
- let t;
199
- if (te.test(e)) return ee(e);
200
- if (t = Date.parse(e), !isNaN(t)) return new Date(t);
201
- }
202
- return null;
203
- }
204
- var F = new Date(2e3, 0, 2);
205
- function ne(e, t) {
206
- const n = t ?? D[e.slice(-2).toUpperCase()] ?? 0;
207
- return B(7).map((a) => {
208
- const r = new Date(F);
209
- return r.setDate(F.getDate() + n + a), new Intl.DateTimeFormat(e, { weekday: "narrow" }).format(r);
210
- });
211
- }
212
- function re(e, t, n, a) {
213
- const r = E(e) ?? /* @__PURE__ */ new Date(), l = a?.[t];
214
- if (typeof l == "function") return l(r, t, n);
215
- let o = {};
216
- switch (t) {
217
- case "fullDate":
218
- o = {
219
- year: "numeric",
220
- month: "long",
221
- day: "numeric"
222
- };
223
- break;
224
- case "fullDateWithWeekday":
225
- o = {
226
- weekday: "long",
227
- year: "numeric",
228
- month: "long",
229
- day: "numeric"
230
- };
231
- break;
232
- case "normalDate":
233
- return `${r.getDate()} ${new Intl.DateTimeFormat(n, { month: "long" }).format(r)}`;
234
- case "normalDateWithWeekday":
235
- o = {
236
- weekday: "short",
237
- day: "numeric",
238
- month: "short"
239
- };
240
- break;
241
- case "shortDate":
242
- o = {
243
- month: "short",
244
- day: "numeric"
245
- };
246
- break;
247
- case "year":
248
- o = { year: "numeric" };
249
- break;
250
- case "month":
251
- o = { month: "long" };
252
- break;
253
- case "monthShort":
254
- o = { month: "short" };
255
- break;
256
- case "monthAndYear":
257
- o = {
258
- month: "long",
259
- year: "numeric"
260
- };
261
- break;
262
- case "monthAndDate":
263
- o = {
264
- month: "long",
265
- day: "numeric"
266
- };
267
- break;
268
- case "weekday":
269
- o = { weekday: "long" };
270
- break;
271
- case "weekdayShort":
272
- o = { weekday: "short" };
273
- break;
274
- case "dayOfMonth":
275
- return new Intl.NumberFormat(n).format(r.getDate());
276
- case "hours12h":
277
- o = {
278
- hour: "numeric",
279
- hour12: !0
280
- };
281
- break;
282
- case "hours24h":
283
- o = {
284
- hour: "numeric",
285
- hour12: !1
286
- };
287
- break;
288
- case "minutes":
289
- o = { minute: "numeric" };
290
- break;
291
- case "seconds":
292
- o = { second: "numeric" };
293
- break;
294
- case "fullTime":
295
- o = {
296
- hour: "numeric",
297
- minute: "numeric"
298
- };
299
- break;
300
- case "fullTime12h":
301
- o = {
302
- hour: "numeric",
303
- minute: "numeric",
304
- hour12: !0
305
- };
306
- break;
307
- case "fullTime24h":
308
- o = {
309
- hour: "numeric",
310
- minute: "numeric",
311
- hour12: !1
312
- };
313
- break;
314
- case "fullDateTime":
315
- o = {
316
- year: "numeric",
317
- month: "short",
318
- day: "numeric",
319
- hour: "numeric",
320
- minute: "numeric"
321
- };
322
- break;
323
- case "fullDateTime12h":
324
- o = {
325
- year: "numeric",
326
- month: "short",
327
- day: "numeric",
328
- hour: "numeric",
329
- minute: "numeric",
330
- hour12: !0
331
- };
332
- break;
333
- case "fullDateTime24h":
334
- o = {
335
- year: "numeric",
336
- month: "short",
337
- day: "numeric",
338
- hour: "numeric",
339
- minute: "numeric",
340
- hour12: !1
341
- };
342
- break;
343
- case "keyboardDate":
344
- o = {
345
- year: "numeric",
346
- month: "2-digit",
347
- day: "2-digit"
348
- };
349
- break;
350
- case "keyboardDateTime":
351
- return o = {
352
- year: "numeric",
353
- month: "2-digit",
354
- day: "2-digit",
355
- hour: "numeric",
356
- minute: "numeric"
357
- }, new Intl.DateTimeFormat(n, o).format(r).replace(/, /g, " ");
358
- case "keyboardDateTime12h":
359
- return o = {
360
- year: "numeric",
361
- month: "2-digit",
362
- day: "2-digit",
363
- hour: "numeric",
364
- minute: "numeric",
365
- hour12: !0
366
- }, new Intl.DateTimeFormat(n, o).format(r).replace(/, /g, " ");
367
- case "keyboardDateTime24h":
368
- return o = {
369
- year: "numeric",
370
- month: "2-digit",
371
- day: "2-digit",
372
- hour: "numeric",
373
- minute: "numeric",
374
- hour12: !1
375
- }, new Intl.DateTimeFormat(n, o).format(r).replace(/, /g, " ");
376
- default:
377
- o = l ?? {
378
- timeZone: "UTC",
379
- timeZoneName: "short"
380
- };
381
- }
382
- return new Intl.DateTimeFormat(n, o).format(r);
383
- }
384
- function ae(e, t) {
385
- const n = e.toJsDate(t);
386
- return `${n.getFullYear()}-${w(String(n.getMonth() + 1), 2, "0")}-${w(String(n.getDate()), 2, "0")}`;
387
- }
388
- function oe(e) {
389
- const [t, n, a] = e.split("-").map(Number);
390
- return new Date(t, n - 1, a);
391
- }
392
- function se(e, t) {
393
- const n = new Date(e);
394
- return n.setMinutes(n.getMinutes() + t), n;
395
- }
396
- function ue(e, t) {
397
- const n = new Date(e);
398
- return n.setHours(n.getHours() + t), n;
399
- }
400
- function ie(e, t) {
401
- const n = new Date(e);
402
- return n.setDate(n.getDate() + t), n;
403
- }
404
- function ce(e, t) {
405
- const n = new Date(e);
406
- return n.setDate(n.getDate() + t * 7), n;
407
- }
408
- function le(e, t) {
409
- const n = new Date(e);
410
- return n.setDate(1), n.setMonth(n.getMonth() + t), n;
411
- }
412
- function me(e) {
413
- return e.getFullYear();
414
- }
415
- function he(e) {
416
- return e.getMonth();
417
- }
418
- function fe(e) {
419
- return e.getDate();
420
- }
421
- function de(e) {
422
- return new Date(e.getFullYear(), e.getMonth() + 1, 1);
423
- }
424
- function ge(e) {
425
- return new Date(e.getFullYear(), e.getMonth() - 1, 1);
426
- }
427
- function De(e) {
428
- return e.getHours();
429
- }
430
- function ye(e) {
431
- return e.getMinutes();
432
- }
433
- function Me(e) {
434
- return new Date(e.getFullYear(), 0, 1);
435
- }
436
- function Te(e) {
437
- return new Date(e.getFullYear(), 11, 31);
438
- }
439
- function we(e, t) {
440
- return g(e, t[0]) && Se(e, t[1]);
441
- }
442
- function ke(e) {
443
- const t = new Date(e);
444
- return t instanceof Date && !isNaN(t.getTime());
445
- }
446
- function g(e, t) {
447
- return e.getTime() > t.getTime();
448
- }
449
- function be(e, t) {
450
- return g(y(e), y(t));
451
- }
452
- function Se(e, t) {
453
- return e.getTime() < t.getTime();
454
- }
455
- function p(e, t) {
456
- return e.getTime() === t.getTime();
457
- }
458
- function Ye(e, t) {
459
- return e.getDate() === t.getDate() && e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear();
460
- }
461
- function Fe(e, t) {
462
- return e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear();
463
- }
464
- function pe(e, t) {
465
- return e.getFullYear() === t.getFullYear();
466
- }
467
- function ve(e, t, n) {
468
- const a = new Date(e), r = new Date(t);
469
- switch (n) {
470
- case "years":
471
- return a.getFullYear() - r.getFullYear();
472
- case "quarters":
473
- return Math.floor((a.getMonth() - r.getMonth() + (a.getFullYear() - r.getFullYear()) * 12) / 4);
474
- case "months":
475
- return a.getMonth() - r.getMonth() + (a.getFullYear() - r.getFullYear()) * 12;
476
- case "weeks":
477
- return Math.floor((a.getTime() - r.getTime()) / (1e3 * 60 * 60 * 24 * 7));
478
- case "days":
479
- return Math.floor((a.getTime() - r.getTime()) / (1e3 * 60 * 60 * 24));
480
- case "hours":
481
- return Math.floor((a.getTime() - r.getTime()) / (1e3 * 60 * 60));
482
- case "minutes":
483
- return Math.floor((a.getTime() - r.getTime()) / (1e3 * 60));
484
- case "seconds":
485
- return Math.floor((a.getTime() - r.getTime()) / 1e3);
486
- default:
487
- return a.getTime() - r.getTime();
488
- }
489
- }
490
- function Ie(e, t) {
491
- const n = new Date(e);
492
- return n.setHours(t), n;
493
- }
494
- function Ae(e, t) {
495
- const n = new Date(e);
496
- return n.setMinutes(t), n;
497
- }
498
- function Oe(e, t) {
499
- const n = new Date(e);
500
- return n.setMonth(t), n;
501
- }
502
- function Ne(e, t) {
503
- const n = new Date(e);
504
- return n.setDate(t), n;
505
- }
506
- function Ee(e, t) {
507
- const n = new Date(e);
508
- return n.setFullYear(t), n;
509
- }
510
- function y(e) {
511
- return new Date(e.getFullYear(), e.getMonth(), e.getDate(), 0, 0, 0, 0);
512
- }
513
- function Re(e) {
514
- return new Date(e.getFullYear(), e.getMonth(), e.getDate(), 23, 59, 59, 999);
515
- }
516
- var He = class {
517
- constructor(e) {
518
- this.locale = e.locale, this.formats = e.formats;
519
- }
520
- date(e) {
521
- return E(e);
522
- }
523
- toJsDate(e) {
524
- return e;
525
- }
526
- toISO(e) {
527
- return ae(this, e);
528
- }
529
- parseISO(e) {
530
- return oe(e);
531
- }
532
- addMinutes(e, t) {
533
- return se(e, t);
534
- }
535
- addHours(e, t) {
536
- return ue(e, t);
537
- }
538
- addDays(e, t) {
539
- return ie(e, t);
540
- }
541
- addWeeks(e, t) {
542
- return ce(e, t);
543
- }
544
- addMonths(e, t) {
545
- return le(e, t);
546
- }
547
- getWeekArray(e, t) {
548
- return q(e, this.locale, t ? Number(t) : void 0);
549
- }
550
- startOfWeek(e, t) {
551
- return Q(e, this.locale, t ? Number(t) : void 0);
552
- }
553
- endOfWeek(e) {
554
- return X(e, this.locale);
555
- }
556
- startOfMonth(e) {
557
- return O(e);
558
- }
559
- endOfMonth(e) {
560
- return N(e);
561
- }
562
- format(e, t) {
563
- return re(e, t, this.locale, this.formats);
564
- }
565
- isEqual(e, t) {
566
- return p(e, t);
567
- }
568
- isValid(e) {
569
- return ke(e);
570
- }
571
- isWithinRange(e, t) {
572
- return we(e, t);
573
- }
574
- isAfter(e, t) {
575
- return g(e, t);
576
- }
577
- isAfterDay(e, t) {
578
- return be(e, t);
579
- }
580
- isBefore(e, t) {
581
- return !g(e, t) && !p(e, t);
582
- }
583
- isSameDay(e, t) {
584
- return Ye(e, t);
585
- }
586
- isSameMonth(e, t) {
587
- return Fe(e, t);
588
- }
589
- isSameYear(e, t) {
590
- return pe(e, t);
591
- }
592
- setMinutes(e, t) {
593
- return Ae(e, t);
594
- }
595
- setHours(e, t) {
596
- return Ie(e, t);
597
- }
598
- setMonth(e, t) {
599
- return Oe(e, t);
600
- }
601
- setDate(e, t) {
602
- return Ne(e, t);
603
- }
604
- setYear(e, t) {
605
- return Ee(e, t);
606
- }
607
- getDiff(e, t, n) {
608
- return ve(e, t, n);
609
- }
610
- getWeekdays(e) {
611
- return ne(this.locale, e ? Number(e) : void 0);
612
- }
613
- getYear(e) {
614
- return me(e);
615
- }
616
- getMonth(e) {
617
- return he(e);
618
- }
619
- getDate(e) {
620
- return fe(e);
621
- }
622
- getNextMonth(e) {
623
- return de(e);
624
- }
625
- getPreviousMonth(e) {
626
- return ge(e);
627
- }
628
- getHours(e) {
629
- return De(e);
630
- }
631
- getMinutes(e) {
632
- return ye(e);
633
- }
634
- startOfDay(e) {
635
- return y(e);
636
- }
637
- endOfDay(e) {
638
- return Re(e);
639
- }
640
- startOfYear(e) {
641
- return Me(e);
642
- }
643
- endOfYear(e) {
644
- return Te(e);
645
- }
646
- }, R = Symbol.for("vuetify:date-options"), v = Symbol.for("vuetify:date-adapter");
647
- function We(e, t) {
648
- const n = I({
649
- adapter: He,
650
- locale: {
651
- af: "af-ZA",
652
- bg: "bg-BG",
653
- ca: "ca-ES",
654
- ckb: "",
655
- cs: "cs-CZ",
656
- de: "de-DE",
657
- el: "el-GR",
658
- en: "en-US",
659
- et: "et-EE",
660
- fa: "fa-IR",
661
- fi: "fi-FI",
662
- hr: "hr-HR",
663
- hu: "hu-HU",
664
- he: "he-IL",
665
- id: "id-ID",
666
- it: "it-IT",
667
- ja: "ja-JP",
668
- ko: "ko-KR",
669
- lv: "lv-LV",
670
- lt: "lt-LT",
671
- nl: "nl-NL",
672
- no: "no-NO",
673
- pl: "pl-PL",
674
- pt: "pt-PT",
675
- ro: "ro-RO",
676
- ru: "ru-RU",
677
- sk: "sk-SK",
678
- sl: "sl-SI",
679
- srCyrl: "sr-SP",
680
- srLatn: "sr-SP",
681
- sv: "sv-SE",
682
- th: "th-TH",
683
- tr: "tr-TR",
684
- az: "az-AZ",
685
- uk: "uk-UA",
686
- vi: "vi-VN",
687
- zhHans: "zh-CN",
688
- zhHant: "zh-TW"
689
- }
690
- }, e);
691
- return {
692
- options: n,
693
- instance: H(n, t)
694
- };
695
- }
696
- function H(e, t) {
697
- const n = A(typeof e.adapter == "function" ? new e.adapter({
698
- locale: e.locale[t.current.value] ?? t.current.value,
699
- formats: e.formats
700
- }) : e.adapter);
701
- return j(t.current, (a) => {
702
- n.locale = e.locale[a] ?? a ?? n.locale;
703
- }), n;
704
- }
705
- function Pe() {
706
- const e = x(R);
707
- if (!e) throw new Error("[Vuetify] Could not find injected date options");
708
- return H(e, _());
709
- }
710
- function Ge(e, t) {
711
- const n = e.toJsDate(t);
712
- let a = n.getFullYear(), r = new Date(a, 0, 1);
713
- if (n < r)
714
- a = a - 1, r = new Date(a, 0, 1);
715
- else {
716
- const m = new Date(a + 1, 0, 1);
717
- n >= m && (a = a + 1, r = m);
718
- }
719
- const l = Math.abs(n.getTime() - r.getTime()), o = Math.ceil(l / (1e3 * 60 * 60 * 24));
720
- return Math.floor(o / 7) + 1;
721
- }
722
- function Le() {
723
- const { blueprint: e, ...t } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = I(e, t), { aliases: a = {}, components: r = {}, directives: l = {} } = n, o = L(n.defaults), m = Z(n.display, n.ssr), h = $(n.theme), d = J(n.icons), u = P(n.locale), i = We(n.date, u), M = K(n.goTo, u);
724
- return {
725
- install: (s) => {
726
- for (const c in l) s.directive(c, l[c]);
727
- for (const c in r) s.component(c, r[c]);
728
- for (const c in a) s.component(c, z({
729
- ...a[c],
730
- name: c,
731
- aliasName: a[c].name
732
- }));
733
- if (h.install(s), s.provide(T, o), s.provide(k, m), s.provide(S, h), s.provide(b, d), s.provide(Y, u), s.provide(R, i.options), s.provide(v, i.instance), s.provide(G, M), C && n.ssr) if (s.$nuxt) s.$nuxt.hook("app:suspense:resolve", () => {
734
- m.update();
735
- });
736
- else {
737
- const { mount: c } = s;
738
- s.mount = function() {
739
- const W = c(...arguments);
740
- return U(() => m.update()), s.mount = c, W;
741
- };
742
- }
743
- V.reset(), s.mixin({ computed: { $vuetify() {
744
- return A({
745
- defaults: f.call(this, T),
746
- display: f.call(this, k),
747
- theme: f.call(this, S),
748
- icons: f.call(this, b),
749
- locale: f.call(this, Y),
750
- date: f.call(this, v)
751
- });
752
- } } });
753
- },
754
- defaults: o,
755
- display: m,
756
- theme: h,
757
- icons: d,
758
- locale: u,
759
- date: i,
760
- goTo: M
761
- };
762
- }
763
- var Ce = "3.7.18";
764
- Le.version = Ce;
765
- function f(e) {
766
- const t = this.$, n = t.parent?.provides ?? t.vnode.appContext?.provides;
767
- if (n && e in n) return n[e];
768
- }
769
- export {
770
- Ge as n,
771
- Pe as r,
772
- Le as t
773
- };
774
-
775
- //# sourceMappingURL=revolugo.framework.k0uaz58D.min.js.map