@revolugo/elements 6.8.2-beta.18 → 6.8.2-beta.19

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 (111) hide show
  1. package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +1 -0
  2. package/dist/css/revolugo.index.4hIg6F8J.css +1 -0
  3. package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
  4. package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
  5. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
  6. package/dist/{revolugo._baseiteratee.DWsqn4wT.min.js → revolugo._baseiteratee.B8DzmtV9.min.js} +2 -2
  7. package/dist/{revolugo.banktransferdetails.CzuNlP4a.min.js → revolugo.banktransferdetails.B6Q2z-jl.min.js} +9 -9
  8. package/dist/{revolugo.bdaterangepicker.8h7NMxGS.min.js → revolugo.bdaterangepicker.DHh-hIJ0.min.js} +12 -11
  9. package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.BLl7WhTu.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D63OH2He.min.js} +2 -2
  10. package/dist/{revolugo.bhoteloffersfilterbar.DX2ngjYe.min.js → revolugo.bhoteloffersfilterbar.BicCxI8N.min.js} +66 -64
  11. package/dist/{revolugo.bhotelroomsdetails.BHf24hdg.min.js → revolugo.bhotelroomsdetails.BZMXBHqw.min.js} +16 -15
  12. package/dist/{revolugo.bhotelsearchbar.DB-1mUUu.min.js → revolugo.bhotelsearchbar.Db7f-Myf.min.js} +16 -16
  13. package/dist/{revolugo.bimagecarousel.xI-Uibwf.min.js → revolugo.bimagecarousel.BYWPajeF.min.js} +22 -23
  14. package/dist/{revolugo.bookingdetailssidebar.27n6DFGz.min.js → revolugo.bookingdetailssidebar.BZUVjXtx.min.js} +4 -4
  15. package/dist/{revolugo.bookingdetailssidebar.DocH6mzC.min.js → revolugo.bookingdetailssidebar.DpvhWAPj.min.js} +11 -11
  16. package/dist/{revolugo.bookingmanager.Dfx0s0G9.min.js → revolugo.bookingmanager.BT8ClOH2.min.js} +20 -20
  17. package/dist/{revolugo.bpricesummaryskeleton.DEPDKk_G.min.js → revolugo.bpricesummaryskeleton.BkE3yRYV.min.js} +4 -4
  18. package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.B2AE6YGx.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Br3WDc64.min.js} +8 -8
  19. package/dist/{revolugo.btag.DBInYort.min.js → revolugo.btag.BtFT2zF9.min.js} +38 -36
  20. package/dist/revolugo.cancellationpoliciesbadge.CJzm7bEA.min.js +207 -0
  21. package/dist/revolugo.cancellationpoliciesbadge.DlPBMRPR.min.js +28 -0
  22. package/dist/{revolugo.cancellationpolicieslist.Bg9TuZpG.min.js → revolugo.cancellationpolicieslist.BUvqjY8w.min.js} +4 -4
  23. package/dist/{revolugo.cancellationpolicieslist.B5cNDP9N.min.js → revolugo.cancellationpolicieslist.beDOpVS9.min.js} +3 -3
  24. package/dist/{revolugo.case-transformers.C-GQyHRi.min.js → revolugo.case-transformers.C-f7xgel.min.js} +2 -2
  25. package/dist/{revolugo.creditcardform.BGQJH-S1.min.js → revolugo.creditcardform.DqHW63kH.min.js} +11 -11
  26. package/dist/{revolugo.creditcardform.9_4NSUmT.min.js → revolugo.creditcardform.WRd9OuX1.min.js} +4 -4
  27. package/dist/{revolugo.creditcardpayment.BBIWVyiH.min.js → revolugo.creditcardpayment.BhHvBmry.min.js} +22 -21
  28. package/dist/{revolugo.creditcardpayment.CB0AC0K6.min.js → revolugo.creditcardpayment.BleH4opZ.min.js} +4 -4
  29. package/dist/{revolugo.currencypicker.DhmvOddO.min.js → revolugo.currencypicker.BtpR0LRe.min.js} +6 -6
  30. package/dist/{revolugo.currencypickerbtn.CncjR2gs.min.js → revolugo.currencypickerbtn.CZqCxE40.min.js} +9 -9
  31. package/dist/{revolugo.currencypickerbtn.ComDO7qn.min.js → revolugo.currencypickerbtn.Z1iqCIYs.min.js} +4 -4
  32. package/dist/{revolugo.defaultsdeep.CDU_Cr7o.min.js → revolugo.defaultsdeep.fiInWebG.min.js} +2 -2
  33. package/dist/{revolugo.dialog-attach.CdCOyog7.min.js → revolugo.dialog-attach.yO2_AaMd.min.js} +2 -2
  34. package/dist/{revolugo.dialog-transition.f__QJtTw.min.js → revolugo.dialog-transition.DRmctE5w.min.js} +3 -3
  35. package/dist/{revolugo.fastbookingflow.Bc1J23jJ.min.js → revolugo.fastbookingflow.YMrVcoWr.min.js} +4 -4
  36. package/dist/{revolugo.fullbookingflow.bv3Vno5p.min.js → revolugo.fullbookingflow.BuCdZ5tE.min.js} +17 -17
  37. package/dist/{revolugo.hotel-offer-request.srSNxnhy.min.js → revolugo.hotel-offer-request.DA93cyGO.min.js} +2 -2
  38. package/dist/{revolugo.hoteldescriptionview.DrUFlgP9.min.js → revolugo.hoteldescriptionview.C4lTU31k.min.js} +4 -4
  39. package/dist/{revolugo.hoteldescriptionview.CrzQ0wJG.min.js → revolugo.hoteldescriptionview.QB3gyKjW.min.js} +23 -22
  40. package/dist/{revolugo.hotelofferitemlayout.Di-lOcCV.min.js → revolugo.hotelofferitemlayout.D88eNxZ3.min.js} +6 -6
  41. package/dist/{revolugo.hotelofferlist.B0yGhjxH.min.js → revolugo.hotelofferlist.DKLNMTAo.min.js} +27 -28
  42. package/dist/{revolugo.hotelofferlist.DesaynDI.min.js → revolugo.hotelofferlist.DVfyqIL_.min.js} +4 -4
  43. package/dist/{revolugo.hotelofferrequestcreator.BG8u137q.min.js → revolugo.hotelofferrequestcreator.CPPp4mk1.min.js} +5 -5
  44. package/dist/{revolugo.hoteloffersearchmenu.DFj9rfDk.min.js → revolugo.hoteloffersearchmenu.CrmGRkpc.min.js} +7 -7
  45. package/dist/{revolugo.hoteloffersmap.DJMSRiWe.min.js → revolugo.hoteloffersmap.C5CoYWJo.min.js} +16 -16
  46. package/dist/{revolugo.hoteloffersmap.Cx5Lh6bM.min.js → revolugo.hoteloffersmap.CVu6tY8O.min.js} +4 -4
  47. package/dist/{revolugo.hoteloffersview.C9_-ZVeK.min.js → revolugo.hoteloffersview.B1ENOlfQ.min.js} +30 -29
  48. package/dist/{revolugo.hoteloffersview.CDCc-IkU.min.js → revolugo.hoteloffersview.D3AJN4Ry.min.js} +4 -4
  49. package/dist/{revolugo.hotelroomofferlist.dQbzQ02u.min.js → revolugo.hotelroomofferlist.B4vKtIAv.min.js} +119 -118
  50. package/dist/{revolugo.hotelroomofferlist.DIZ3oPru.min.js → revolugo.hotelroomofferlist.BJpypDEo.min.js} +4 -4
  51. package/dist/{revolugo.hotelroomofferrequestcreator.props.CO7LEFcL.min.js → revolugo.hotelroomofferrequestcreator.props.BotOUSjS.min.js} +2 -2
  52. package/dist/{revolugo.hotelroomoffersbookingflow.MtYjrK-h.min.js → revolugo.hotelroomoffersbookingflow.QXwuQxNt.min.js} +28 -28
  53. package/dist/{revolugo.hotelroomoffersearchmenu.HeQZ7DgA.min.js → revolugo.hotelroomoffersearchmenu.C6XT7O0N.min.js} +5 -5
  54. package/dist/{revolugo.hotelroomoffersearchmenu.BlOpWR6q.min.js → revolugo.hotelroomoffersearchmenu.jKg3GHhh.min.js} +7 -7
  55. package/dist/{revolugo.hotelroomoffersview.BKooc4Fw.min.js → revolugo.hotelroomoffersview.B8EPiviG.min.js} +12 -12
  56. package/dist/{revolugo.hotelroomoffersview.7O2bjtGH.min.js → revolugo.hotelroomoffersview.Cml6dUd_.min.js} +4 -4
  57. package/dist/revolugo.index.CxQvHaJF.min.js +1255 -0
  58. package/dist/{revolugo.index.wc.7H-VQwFX.min.js → revolugo.index.wc.CiMMOIKO.min.js} +36 -36
  59. package/dist/{revolugo.langpicker.DnG4o0sL.min.js → revolugo.langpicker.BPdYOoqh.min.js} +6 -6
  60. package/dist/{revolugo.langpickerbtn.CQxAtBRh.min.js → revolugo.langpickerbtn.B_lcAwH7.min.js} +4 -4
  61. package/dist/{revolugo.langpickerbtn.DH-mq1yc.min.js → revolugo.langpickerbtn.toIVNsWj.min.js} +19 -18
  62. package/dist/revolugo.min.js +1 -1
  63. package/dist/revolugo.pathify.CC3sbpgo.min.js +58 -0
  64. package/dist/{revolugo.prebookform.B3p1Gzwl.min.js → revolugo.prebookform.CnbytE-a.min.js} +4 -4
  65. package/dist/{revolugo.prebookform.CkLjN_gI.min.js → revolugo.prebookform.mTgAZy4b.min.js} +18 -18
  66. package/dist/{revolugo.roominglisteditor.xe1zDTZs.min.js → revolugo.roominglisteditor.BndDYwgL.min.js} +9 -9
  67. package/dist/{revolugo.roominglisteditor.DBWa6pmQ.min.js → revolugo.roominglisteditor.BqFx12Zl.min.js} +4 -4
  68. package/dist/{revolugo.rounded.BJvxj-_F.min.js → revolugo.rounded.DLc3W4P_.min.js} +2 -2
  69. package/dist/{revolugo.ssrboot.B_8VyKB0.min.js → revolugo.ssrboot.6UmkB4Il.min.js} +2 -2
  70. package/dist/{revolugo.storybooktoolbar.CqXIYyob.min.js → revolugo.storybooktoolbar.lPXk2DH4.min.js} +16 -16
  71. package/dist/{revolugo.termsandconditions.ni_XvAWl.min.js → revolugo.termsandconditions.C318-sIl.min.js} +4 -4
  72. package/dist/{revolugo.termsandconditions.C75uUPPd.min.js → revolugo.termsandconditions.J28x2pls.min.js} +4 -4
  73. package/dist/revolugo.use-breakpoint-service.BRfZckKl.min.js +52 -0
  74. package/dist/{revolugo.vautocomplete.DXTyGqml.min.js → revolugo.vautocomplete.CfEbI9wx.min.js} +18 -17
  75. package/dist/{revolugo.vbadge.B3A6zbf3.min.js → revolugo.vbadge.qQh-Sv8w.min.js} +10 -10
  76. package/dist/{revolugo.vbtn.6I2f2B-L.min.js → revolugo.vbtn.CJwuvbOT.min.js} +32 -32
  77. package/dist/{revolugo.vcard.Dax8xzMj.min.js → revolugo.vcard.C8hpUlD-.min.js} +30 -30
  78. package/dist/{revolugo.vcheckboxbtn.Bf-De3ub.min.js → revolugo.vcheckboxbtn.Z5a_U9n0.min.js} +32 -32
  79. package/dist/{revolugo.vdialog.DZ_MutWe.min.js → revolugo.vdialog.CEfREygA.min.js} +5 -5
  80. package/dist/{revolugo.vdivider.D8KKvRs7.min.js → revolugo.vdivider.DYybqMVI.min.js} +3 -3
  81. package/dist/{revolugo.vexpansionpanels.DGIS-Ad5.min.js → revolugo.vexpansionpanels.DqoxBVet.min.js} +19 -18
  82. package/dist/{revolugo.vform.BnYbwZZd.min.js → revolugo.vform.Bh7TJUxd.min.js} +4 -4
  83. package/dist/revolugo.vicon.BnJaIb_1.min.js +106 -0
  84. package/dist/{revolugo.vinput.DoNoYaby.min.js → revolugo.vinput.CWfOSxlF.min.js} +38 -37
  85. package/dist/{revolugo.vlabel.BzH1c4tU.min.js → revolugo.vlabel.D8JC3_DX.min.js} +3 -3
  86. package/dist/{revolugo.vlist.Dyi7QYaq.min.js → revolugo.vlist.cF1CYOBP.min.js} +34 -34
  87. package/dist/{revolugo.vmenu.DCj24oVb.min.js → revolugo.vmenu.B-rlxBKf.min.js} +5 -5
  88. package/dist/{revolugo.vselect.Cem-t-An.min.js → revolugo.vselect.D17E4jI-.min.js} +18 -17
  89. package/dist/{revolugo.vsheet.BwzOw9Nl.min.js → revolugo.vsheet.Div5lkVz.min.js} +7 -7
  90. package/dist/{revolugo.vskeletonloader.D2D_vhcy.min.js → revolugo.vskeletonloader.BMUIcPKO.min.js} +4 -4
  91. package/dist/revolugo.vslidegroup.aRAg8EmQ.min.js +333 -0
  92. package/dist/{revolugo.vsnackbar.-KkCMaa2.min.js → revolugo.vsnackbar.CgopB6r6.min.js} +32 -33
  93. package/dist/revolugo.vspacer.DfGL0s5_.min.js +7 -0
  94. package/dist/{revolugo.vtextarea.B62lJ7K2.min.js → revolugo.vtextarea.BOKhw7Iq.min.js} +8 -8
  95. package/dist/{revolugo.vtextfield.BHw0ctTt.min.js → revolugo.vtextfield.Bf1HO6ah.min.js} +55 -56
  96. package/dist/{revolugo.vtoolbar.sdH8MQd1.min.js → revolugo.vtoolbar.HAOPyr0Z.min.js} +5 -5
  97. package/dist/revolugo.vtooltip.DWbHmmwC.min.js +90 -0
  98. package/dist/{revolugo.vwindowitem.B7g-726h.min.js → revolugo.vwindowitem.D5OeWBiN.min.js} +6 -6
  99. package/dist/{revolugo.watch-list.DsI9qG6Z.min.js → revolugo.watch-list.BFsimHQY.min.js} +2 -2
  100. package/dist/{revolugo.webcomponentwrapper.DX3ZOzxW.min.js → revolugo.webcomponentwrapper.B9-sm0Ry.min.js} +51 -51
  101. package/package.json +3 -3
  102. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  103. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  104. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  105. package/dist/revolugo.cancellationpoliciesbadge.B68mFOQC.min.js +0 -24
  106. package/dist/revolugo.cancellationpoliciesbadge.D6AjbH0O.min.js +0 -226
  107. package/dist/revolugo.index.ByyvoS6i.min.js +0 -1037
  108. package/dist/revolugo.position.CqJG2Ekv.min.js +0 -322
  109. package/dist/revolugo.use-breakpoint-service.BVlmY2AU.min.js +0 -106
  110. package/dist/revolugo.vspacer.CLbmU44g.min.js +0 -7
  111. package/dist/revolugo.vtooltip.D-07YzOV.min.js +0 -395
@@ -1,1037 +0,0 @@
1
- import { Y as E, ct as F, D as _, J as U, a as v, F as te, bT as M, aG as Re, ai as ne, ag as Oe, a9 as O, U as q, L as B, ah as Ne, a0 as Ae, S as De, cw as Ue, bO as Ge, a1 as He, cx as Fe, X as T, aT as Me, aQ as qe, cy as Ye, cz as We, a7 as L, C as se, aF as ie, cA as je, cB as Xe, cC as Qe, aH as ae, Z as re, bA as Je, cD as Q, cv as oe, a3 as V, a$ as Ze, Q as Ke, H as J, aC as et, y as tt, I as nt, cE as le, aS as ue, ae as ce, cu as st } from "./revolugo.index.wc.7H-VQwFX.min.js";
2
- import { b as de, a as fe, c as it, d as at } from "./revolugo.rounded.BJvxj-_F.min.js";
3
- import { L as rt, d as ot, u as N, e as me, m as A, n as lt, o as ut, b as ct, p as dt, M as $ } from "./revolugo.webcomponentwrapper.DX3ZOzxW.min.js";
4
- function Be(e) {
5
- try {
6
- if (typeof document < "u") {
7
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
8
- sheets: [],
9
- components: []
10
- };
11
- const t = import.meta.url, n = t.slice(0, t.lastIndexOf("/") + 1) + e;
12
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
13
- for (const s of REVOLUGO_ELEMENTS_STYLES.components)
14
- s(n);
15
- if (e.indexOf("fonts") >= 0) {
16
- const s = document.createElement("link");
17
- s.rel = "stylesheet", linK.href = n, document.head.appendChild(s);
18
- }
19
- }
20
- } catch (t) {
21
- console.error("[revolugo-elements] ", t);
22
- }
23
- }
24
- const ft = [null, "default", "comfortable", "compact"], mt = E({
25
- density: {
26
- type: String,
27
- default: "default",
28
- validator: (e) => ft.includes(e)
29
- }
30
- }, "density");
31
- function vt(e) {
32
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F();
33
- return {
34
- densityClasses: _(() => `${t}--density-${e.density}`)
35
- };
36
- }
37
- const gt = ["elevated", "flat", "tonal", "outlined", "text", "plain"];
38
- function ht(e, t) {
39
- return v(te, null, [e && v("span", {
40
- key: "overlay",
41
- class: `${t}__overlay`
42
- }, null), v("span", {
43
- key: "underlay",
44
- class: `${t}__underlay`
45
- }, null)]);
46
- }
47
- const yt = E({
48
- color: String,
49
- variant: {
50
- type: String,
51
- default: "elevated",
52
- validator: (e) => gt.includes(e)
53
- }
54
- }, "variant");
55
- function pt(e) {
56
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F();
57
- const n = _(() => {
58
- const {
59
- variant: a
60
- } = U(e);
61
- return `${t}--variant-${a}`;
62
- }), {
63
- colorClasses: s,
64
- colorStyles: i
65
- } = rt(_(() => {
66
- const {
67
- variant: a,
68
- color: r
69
- } = U(e);
70
- return {
71
- [["elevated", "flat"].includes(a) ? "background" : "text"]: r
72
- };
73
- }));
74
- return {
75
- colorClasses: s,
76
- colorStyles: i,
77
- variantClasses: n
78
- };
79
- }
80
- const Gt = E({
81
- modelValue: {
82
- type: null,
83
- default: void 0
84
- },
85
- multiple: Boolean,
86
- mandatory: [Boolean, String],
87
- max: Number,
88
- selectedClass: String,
89
- disabled: Boolean
90
- }, "group"), Ht = E({
91
- value: null,
92
- disabled: Boolean,
93
- selectedClass: String
94
- }, "group-item");
95
- function Ft(e, t) {
96
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
97
- const s = M("useGroupItem");
98
- if (!s)
99
- throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");
100
- const i = Re();
101
- ne(Symbol.for(`${t.description}:id`), i);
102
- const a = Oe(t, null);
103
- if (!a) {
104
- if (!n) return a;
105
- throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`);
106
- }
107
- const r = O(e, "value"), o = _(() => !!(a.disabled.value || e.disabled));
108
- a.register({
109
- id: i,
110
- value: r,
111
- disabled: o
112
- }, s), q(() => {
113
- a.unregister(i);
114
- });
115
- const f = _(() => a.isSelected(i)), d = _(() => a.items.value[0].id === i), c = _(() => a.items.value[a.items.value.length - 1].id === i), m = _(() => f.value && [a.selectedClass.value, e.selectedClass]);
116
- return B(f, (l) => {
117
- s.emit("group:selected", {
118
- value: l
119
- });
120
- }, {
121
- flush: "sync"
122
- }), {
123
- id: i,
124
- isSelected: f,
125
- isFirst: d,
126
- isLast: c,
127
- toggle: () => a.select(i, !f.value),
128
- select: (l) => a.select(i, l),
129
- selectedClass: m,
130
- value: r,
131
- disabled: o,
132
- group: a
133
- };
134
- }
135
- function Mt(e, t) {
136
- let n = !1;
137
- const s = Ne([]), i = Ae(e, "modelValue", [], (l) => l == null ? [] : ve(s, He(l)), (l) => {
138
- const u = St(s, l);
139
- return e.multiple ? u : u[0];
140
- }), a = M("useGroup");
141
- function r(l, u) {
142
- const g = l, y = Symbol.for(`${t.description}:id`), C = Fe(y, a == null ? void 0 : a.vnode).indexOf(u);
143
- U(g.value) == null && (g.value = C, g.useIndexAsValue = !0), C > -1 ? s.splice(C, 0, g) : s.push(g);
144
- }
145
- function o(l) {
146
- if (n) return;
147
- f();
148
- const u = s.findIndex((g) => g.id === l);
149
- s.splice(u, 1);
150
- }
151
- function f() {
152
- const l = s.find((u) => !u.disabled);
153
- l && e.mandatory === "force" && !i.value.length && (i.value = [l.id]);
154
- }
155
- De(() => {
156
- f();
157
- }), q(() => {
158
- n = !0;
159
- }), Ue(() => {
160
- for (let l = 0; l < s.length; l++)
161
- s[l].useIndexAsValue && (s[l].value = l);
162
- });
163
- function d(l, u) {
164
- const g = s.find((y) => y.id === l);
165
- if (!(u && (g != null && g.disabled)))
166
- if (e.multiple) {
167
- const y = i.value.slice(), w = y.findIndex((z) => z === l), C = ~w;
168
- if (u = u ?? !C, C && e.mandatory && y.length <= 1 || !C && e.max != null && y.length + 1 > e.max) return;
169
- w < 0 && u ? y.push(l) : w >= 0 && !u && y.splice(w, 1), i.value = y;
170
- } else {
171
- const y = i.value.includes(l);
172
- if (e.mandatory && y) return;
173
- i.value = u ?? !y ? [l] : [];
174
- }
175
- }
176
- function c(l) {
177
- if (e.multiple, i.value.length) {
178
- const u = i.value[0], g = s.findIndex((C) => C.id === u);
179
- let y = (g + l) % s.length, w = s[y];
180
- for (; w.disabled && y !== g; )
181
- y = (y + l) % s.length, w = s[y];
182
- if (w.disabled) return;
183
- i.value = [s[y].id];
184
- } else {
185
- const u = s.find((g) => !g.disabled);
186
- u && (i.value = [u.id]);
187
- }
188
- }
189
- const m = {
190
- register: r,
191
- unregister: o,
192
- selected: i,
193
- select: d,
194
- disabled: O(e, "disabled"),
195
- prev: () => c(s.length - 1),
196
- next: () => c(1),
197
- isSelected: (l) => i.value.includes(l),
198
- selectedClass: _(() => e.selectedClass),
199
- items: _(() => s),
200
- getItemIndex: (l) => _t(s, l)
201
- };
202
- return ne(t, m), m;
203
- }
204
- function _t(e, t) {
205
- const n = ve(e, [t]);
206
- return n.length ? e.findIndex((s) => s.id === n[0]) : -1;
207
- }
208
- function ve(e, t) {
209
- const n = [];
210
- return t.forEach((s) => {
211
- const i = e.find((r) => Ge(s, r.value)), a = e[s];
212
- (i == null ? void 0 : i.value) != null ? n.push(i.id) : a != null && n.push(a.id);
213
- }), n;
214
- }
215
- function St(e, t) {
216
- const n = [];
217
- return t.forEach((s) => {
218
- const i = e.findIndex((a) => a.id === s);
219
- if (~i) {
220
- const a = e[i];
221
- n.push(a.value != null ? a.value : i);
222
- }
223
- }), n;
224
- }
225
- const bt = E({
226
- defaults: Object,
227
- disabled: Boolean,
228
- reset: [Number, String],
229
- root: [Boolean, String],
230
- scoped: Boolean
231
- }, "VDefaultsProvider"), wt = T(!1)({
232
- name: "VDefaultsProvider",
233
- props: bt(),
234
- setup(e, t) {
235
- let {
236
- slots: n
237
- } = t;
238
- const {
239
- defaults: s,
240
- disabled: i,
241
- reset: a,
242
- root: r,
243
- scoped: o
244
- } = Me(e);
245
- return qe(s, {
246
- reset: a,
247
- root: r,
248
- scoped: o,
249
- disabled: i
250
- }), () => {
251
- var f;
252
- return (f = n.default) == null ? void 0 : f.call(n);
253
- };
254
- }
255
- }), Ct = ["x-small", "small", "default", "large", "x-large"], ge = E({
256
- size: {
257
- type: [String, Number],
258
- default: "default"
259
- }
260
- }, "size");
261
- function he(e) {
262
- let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : F();
263
- return Ye(() => {
264
- let n, s;
265
- return We(Ct, e.size) ? n = `${t}--size-${e.size}` : e.size && (s = {
266
- width: L(e.size),
267
- height: L(e.size)
268
- }), {
269
- sizeClasses: n,
270
- sizeStyles: s
271
- };
272
- });
273
- }
274
- const Et = E({
275
- color: String,
276
- disabled: Boolean,
277
- start: Boolean,
278
- end: Boolean,
279
- icon: re,
280
- ...A(),
281
- ...ge(),
282
- ...me({
283
- tag: "i"
284
- }),
285
- ...ae()
286
- }, "VIcon"), xt = T()({
287
- name: "VIcon",
288
- props: Et(),
289
- setup(e, t) {
290
- let {
291
- attrs: n,
292
- slots: s
293
- } = t;
294
- const i = se(), {
295
- themeClasses: a
296
- } = ie(e), {
297
- iconData: r
298
- } = je(_(() => i.value || e.icon)), {
299
- sizeClasses: o
300
- } = he(e), {
301
- textColorClasses: f,
302
- textColorStyles: d
303
- } = ot(O(e, "color"));
304
- return N(() => {
305
- var l, u;
306
- const c = (l = s.default) == null ? void 0 : l.call(s);
307
- c && (i.value = (u = Xe(c).filter((g) => g.type === Qe && g.children && typeof g.children == "string")[0]) == null ? void 0 : u.children);
308
- const m = !!(n.onClick || n.onClickOnce);
309
- return v(r.value.component, {
310
- tag: e.tag,
311
- icon: r.value.icon,
312
- class: ["v-icon", "notranslate", a.value, o.value, f.value, {
313
- "v-icon--clickable": m,
314
- "v-icon--disabled": e.disabled,
315
- "v-icon--start": e.start,
316
- "v-icon--end": e.end
317
- }, e.class],
318
- style: [o.value ? void 0 : {
319
- fontSize: L(e.size),
320
- height: L(e.size),
321
- width: L(e.size)
322
- }, d.value, e.style],
323
- role: m ? "button" : void 0,
324
- "aria-hidden": !m,
325
- tabindex: m ? e.disabled ? -1 : 0 : void 0
326
- }, {
327
- default: () => [c]
328
- });
329
- }), {};
330
- }
331
- }), G = Symbol("rippleStop"), Tt = 80;
332
- function Z(e, t) {
333
- e.style.transform = t, e.style.webkitTransform = t;
334
- }
335
- function H(e) {
336
- return e.constructor.name === "TouchEvent";
337
- }
338
- function ye(e) {
339
- return e.constructor.name === "KeyboardEvent";
340
- }
341
- const Lt = function(e, t) {
342
- var m;
343
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = 0, i = 0;
344
- if (!ye(e)) {
345
- const l = t.getBoundingClientRect(), u = H(e) ? e.touches[e.touches.length - 1] : e;
346
- s = u.clientX - l.left, i = u.clientY - l.top;
347
- }
348
- let a = 0, r = 0.3;
349
- (m = t._ripple) != null && m.circle ? (r = 0.15, a = t.clientWidth / 2, a = n.center ? a : a + Math.sqrt((s - a) ** 2 + (i - a) ** 2) / 4) : a = Math.sqrt(t.clientWidth ** 2 + t.clientHeight ** 2) / 2;
350
- const o = `${(t.clientWidth - a * 2) / 2}px`, f = `${(t.clientHeight - a * 2) / 2}px`, d = n.center ? o : `${s - a}px`, c = n.center ? f : `${i - a}px`;
351
- return {
352
- radius: a,
353
- scale: r,
354
- x: d,
355
- y: c,
356
- centerX: o,
357
- centerY: f
358
- };
359
- }, R = {
360
- /* eslint-disable max-statements */
361
- show(e, t) {
362
- var u;
363
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
364
- if (!((u = t == null ? void 0 : t._ripple) != null && u.enabled))
365
- return;
366
- const s = document.createElement("span"), i = document.createElement("span");
367
- s.appendChild(i), s.className = "v-ripple__container", n.class && (s.className += ` ${n.class}`);
368
- const {
369
- radius: a,
370
- scale: r,
371
- x: o,
372
- y: f,
373
- centerX: d,
374
- centerY: c
375
- } = Lt(e, t, n), m = `${a * 2}px`;
376
- i.className = "v-ripple__animation", i.style.width = m, i.style.height = m, t.appendChild(s);
377
- const l = window.getComputedStyle(t);
378
- l && l.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), i.classList.add("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--visible"), Z(i, `translate(${o}, ${f}) scale3d(${r},${r},${r})`), i.dataset.activated = String(performance.now()), requestAnimationFrame(() => {
379
- requestAnimationFrame(() => {
380
- i.classList.remove("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--in"), Z(i, `translate(${d}, ${c}) scale3d(1,1,1)`);
381
- });
382
- });
383
- },
384
- hide(e) {
385
- var a;
386
- if (!((a = e == null ? void 0 : e._ripple) != null && a.enabled)) return;
387
- const t = e.getElementsByClassName("v-ripple__animation");
388
- if (t.length === 0) return;
389
- const n = t[t.length - 1];
390
- if (n.dataset.isHiding) return;
391
- n.dataset.isHiding = "true";
392
- const s = performance.now() - Number(n.dataset.activated), i = Math.max(250 - s, 0);
393
- setTimeout(() => {
394
- n.classList.remove("v-ripple__animation--in"), n.classList.add("v-ripple__animation--out"), setTimeout(() => {
395
- var o;
396
- e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((o = n.parentNode) == null ? void 0 : o.parentNode) === e && e.removeChild(n.parentNode);
397
- }, 300);
398
- }, i);
399
- }
400
- };
401
- function pe(e) {
402
- return typeof e > "u" || !!e;
403
- }
404
- function k(e) {
405
- const t = {}, n = e.currentTarget;
406
- if (!(!(n != null && n._ripple) || n._ripple.touched || e[G])) {
407
- if (e[G] = !0, H(e))
408
- n._ripple.touched = !0, n._ripple.isTouch = !0;
409
- else if (n._ripple.isTouch) return;
410
- if (t.center = n._ripple.centered || ye(e), n._ripple.class && (t.class = n._ripple.class), H(e)) {
411
- if (n._ripple.showTimerCommit) return;
412
- n._ripple.showTimerCommit = () => {
413
- R.show(e, n, t);
414
- }, n._ripple.showTimer = window.setTimeout(() => {
415
- var s;
416
- (s = n == null ? void 0 : n._ripple) != null && s.showTimerCommit && (n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null);
417
- }, Tt);
418
- } else
419
- R.show(e, n, t);
420
- }
421
- }
422
- function K(e) {
423
- e[G] = !0;
424
- }
425
- function S(e) {
426
- const t = e.currentTarget;
427
- if (t != null && t._ripple) {
428
- if (window.clearTimeout(t._ripple.showTimer), e.type === "touchend" && t._ripple.showTimerCommit) {
429
- t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null, t._ripple.showTimer = window.setTimeout(() => {
430
- S(e);
431
- });
432
- return;
433
- }
434
- window.setTimeout(() => {
435
- t._ripple && (t._ripple.touched = !1);
436
- }), R.hide(t);
437
- }
438
- }
439
- function _e(e) {
440
- const t = e.currentTarget;
441
- t != null && t._ripple && (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer));
442
- }
443
- let P = !1;
444
- function Se(e) {
445
- !P && (e.keyCode === Q.enter || e.keyCode === Q.space) && (P = !0, k(e));
446
- }
447
- function be(e) {
448
- P = !1, S(e);
449
- }
450
- function we(e) {
451
- P && (P = !1, S(e));
452
- }
453
- function Ce(e, t, n) {
454
- const {
455
- value: s,
456
- modifiers: i
457
- } = t, a = pe(s);
458
- if (a || R.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = a, e._ripple.centered = i.center, e._ripple.circle = i.circle, Je(s) && s.class && (e._ripple.class = s.class), a && !n) {
459
- if (i.stop) {
460
- e.addEventListener("touchstart", K, {
461
- passive: !0
462
- }), e.addEventListener("mousedown", K);
463
- return;
464
- }
465
- e.addEventListener("touchstart", k, {
466
- passive: !0
467
- }), e.addEventListener("touchend", S, {
468
- passive: !0
469
- }), e.addEventListener("touchmove", _e, {
470
- passive: !0
471
- }), e.addEventListener("touchcancel", S), e.addEventListener("mousedown", k), e.addEventListener("mouseup", S), e.addEventListener("mouseleave", S), e.addEventListener("keydown", Se), e.addEventListener("keyup", be), e.addEventListener("blur", we), e.addEventListener("dragstart", S, {
472
- passive: !0
473
- });
474
- } else !a && n && Ee(e);
475
- }
476
- function Ee(e) {
477
- e.removeEventListener("mousedown", k), e.removeEventListener("touchstart", k), e.removeEventListener("touchend", S), e.removeEventListener("touchmove", _e), e.removeEventListener("touchcancel", S), e.removeEventListener("mouseup", S), e.removeEventListener("mouseleave", S), e.removeEventListener("keydown", Se), e.removeEventListener("keyup", be), e.removeEventListener("dragstart", S), e.removeEventListener("blur", we);
478
- }
479
- function It(e, t) {
480
- Ce(e, t, !1);
481
- }
482
- function Vt(e) {
483
- delete e._ripple, Ee(e);
484
- }
485
- function kt(e, t) {
486
- if (t.value === t.oldValue)
487
- return;
488
- const n = pe(t.oldValue);
489
- Ce(e, t, n);
490
- }
491
- const qt = {
492
- mounted: It,
493
- unmounted: Vt,
494
- updated: kt
495
- };
496
- function Pt(e) {
497
- return {
498
- aspectStyles: _(() => {
499
- const t = Number(e.aspectRatio);
500
- return t ? {
501
- paddingBottom: String(1 / t * 100) + "%"
502
- } : void 0;
503
- })
504
- };
505
- }
506
- const xe = E({
507
- aspectRatio: [String, Number],
508
- contentClass: null,
509
- inline: Boolean,
510
- ...A(),
511
- ...ut()
512
- }, "VResponsive"), ee = T()({
513
- name: "VResponsive",
514
- props: xe(),
515
- setup(e, t) {
516
- let {
517
- slots: n
518
- } = t;
519
- const {
520
- aspectStyles: s
521
- } = Pt(e), {
522
- dimensionStyles: i
523
- } = lt(e);
524
- return N(() => {
525
- var a;
526
- return v("div", {
527
- class: ["v-responsive", {
528
- "v-responsive--inline": e.inline
529
- }, e.class],
530
- style: [i.value, e.style]
531
- }, [v("div", {
532
- class: "v-responsive__sizer",
533
- style: s.value
534
- }, null), (a = n.additional) == null ? void 0 : a.call(n), n.default && v("div", {
535
- class: ["v-responsive__content", e.contentClass]
536
- }, [n.default()])]);
537
- }), {};
538
- }
539
- });
540
- function zt(e, t) {
541
- if (!oe) return;
542
- const n = t.modifiers || {}, s = t.value, {
543
- handler: i,
544
- options: a
545
- } = typeof s == "object" ? s : {
546
- handler: s,
547
- options: {}
548
- }, r = new IntersectionObserver(function() {
549
- var m;
550
- let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], f = arguments.length > 1 ? arguments[1] : void 0;
551
- const d = (m = e._observe) == null ? void 0 : m[t.instance.$.uid];
552
- if (!d) return;
553
- const c = o.some((l) => l.isIntersecting);
554
- i && (!n.quiet || d.init) && (!n.once || c || d.init) && i(c, o, f), c && n.once ? Te(e, t) : d.init = !0;
555
- }, a);
556
- e._observe = Object(e._observe), e._observe[t.instance.$.uid] = {
557
- init: !1,
558
- observer: r
559
- }, r.observe(e);
560
- }
561
- function Te(e, t) {
562
- var s;
563
- const n = (s = e._observe) == null ? void 0 : s[t.instance.$.uid];
564
- n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]);
565
- }
566
- const $t = {
567
- mounted: zt,
568
- unmounted: Te
569
- }, Bt = E({
570
- absolute: Boolean,
571
- alt: String,
572
- cover: Boolean,
573
- color: String,
574
- draggable: {
575
- type: [Boolean, String],
576
- default: void 0
577
- },
578
- eager: Boolean,
579
- gradient: String,
580
- lazySrc: String,
581
- options: {
582
- type: Object,
583
- // For more information on types, navigate to:
584
- // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
585
- default: () => ({
586
- root: void 0,
587
- rootMargin: void 0,
588
- threshold: void 0
589
- })
590
- },
591
- sizes: String,
592
- src: {
593
- type: [String, Object],
594
- default: ""
595
- },
596
- crossorigin: String,
597
- referrerpolicy: String,
598
- srcset: String,
599
- position: String,
600
- ...xe(),
601
- ...A(),
602
- ...fe(),
603
- ...dt()
604
- }, "VImg"), Rt = T()({
605
- name: "VImg",
606
- directives: {
607
- intersect: $t
608
- },
609
- props: Bt(),
610
- emits: {
611
- loadstart: (e) => !0,
612
- load: (e) => !0,
613
- error: (e) => !0
614
- },
615
- setup(e, t) {
616
- let {
617
- emit: n,
618
- slots: s
619
- } = t;
620
- const {
621
- backgroundColorClasses: i,
622
- backgroundColorStyles: a
623
- } = ct(O(e, "color")), {
624
- roundedClasses: r
625
- } = de(e), o = M("VImg"), f = V(""), d = se(), c = V(e.eager ? "loading" : "idle"), m = V(), l = V(), u = _(() => e.src && typeof e.src == "object" ? {
626
- src: e.src.src,
627
- srcset: e.srcset || e.src.srcset,
628
- lazySrc: e.lazySrc || e.src.lazySrc,
629
- aspect: Number(e.aspectRatio || e.src.aspect || 0)
630
- } : {
631
- src: e.src,
632
- srcset: e.srcset,
633
- lazySrc: e.lazySrc,
634
- aspect: Number(e.aspectRatio || 0)
635
- }), g = _(() => u.value.aspect || m.value / l.value || 0);
636
- B(() => e.src, () => {
637
- y(c.value !== "idle");
638
- }), B(g, (h, p) => {
639
- !h && p && d.value && I(d.value);
640
- }), Ze(() => y());
641
- function y(h) {
642
- if (!(e.eager && h) && !(oe && !h && !e.eager)) {
643
- if (c.value = "loading", u.value.lazySrc) {
644
- const p = new Image();
645
- p.src = u.value.lazySrc, I(p, null);
646
- }
647
- u.value.src && Ke(() => {
648
- var p;
649
- n("loadstart", ((p = d.value) == null ? void 0 : p.currentSrc) || u.value.src), setTimeout(() => {
650
- var x;
651
- if (!o.isUnmounted)
652
- if ((x = d.value) != null && x.complete) {
653
- if (d.value.naturalWidth || C(), c.value === "error") return;
654
- g.value || I(d.value, null), c.value === "loading" && w();
655
- } else
656
- g.value || I(d.value), z();
657
- });
658
- });
659
- }
660
- }
661
- function w() {
662
- var h;
663
- o.isUnmounted || (z(), I(d.value), c.value = "loaded", n("load", ((h = d.value) == null ? void 0 : h.currentSrc) || u.value.src));
664
- }
665
- function C() {
666
- var h;
667
- o.isUnmounted || (c.value = "error", n("error", ((h = d.value) == null ? void 0 : h.currentSrc) || u.value.src));
668
- }
669
- function z() {
670
- const h = d.value;
671
- h && (f.value = h.currentSrc || h.src);
672
- }
673
- let D = -1;
674
- q(() => {
675
- clearTimeout(D);
676
- });
677
- function I(h) {
678
- let p = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
679
- const x = () => {
680
- if (clearTimeout(D), o.isUnmounted) return;
681
- const {
682
- naturalHeight: j,
683
- naturalWidth: X
684
- } = h;
685
- j || X ? (m.value = X, l.value = j) : !h.complete && c.value === "loading" && p != null ? D = window.setTimeout(x, p) : (h.currentSrc.endsWith(".svg") || h.currentSrc.startsWith("data:image/svg+xml")) && (m.value = 1, l.value = 1);
686
- };
687
- x();
688
- }
689
- const Y = _(() => ({
690
- "v-img__img--cover": e.cover,
691
- "v-img__img--contain": !e.cover
692
- })), Ve = () => {
693
- var x;
694
- if (!u.value.src || c.value === "idle") return null;
695
- const h = v("img", {
696
- class: ["v-img__img", Y.value],
697
- style: {
698
- objectPosition: e.position
699
- },
700
- crossorigin: e.crossorigin,
701
- src: u.value.src,
702
- srcset: u.value.srcset,
703
- alt: e.alt,
704
- referrerpolicy: e.referrerpolicy,
705
- draggable: e.draggable,
706
- sizes: e.sizes,
707
- ref: d,
708
- onLoad: w,
709
- onError: C
710
- }, null), p = (x = s.sources) == null ? void 0 : x.call(s);
711
- return v($, {
712
- transition: e.transition,
713
- appear: !0
714
- }, {
715
- default: () => [J(p ? v("picture", {
716
- class: "v-img__picture"
717
- }, [p, h]) : h, [[nt, c.value === "loaded"]])]
718
- });
719
- }, ke = () => v($, {
720
- transition: e.transition
721
- }, {
722
- default: () => [u.value.lazySrc && c.value !== "loaded" && v("img", {
723
- class: ["v-img__img", "v-img__img--preload", Y.value],
724
- style: {
725
- objectPosition: e.position
726
- },
727
- crossorigin: e.crossorigin,
728
- src: u.value.lazySrc,
729
- alt: e.alt,
730
- referrerpolicy: e.referrerpolicy,
731
- draggable: e.draggable
732
- }, null)]
733
- }), Pe = () => s.placeholder ? v($, {
734
- transition: e.transition,
735
- appear: !0
736
- }, {
737
- default: () => [(c.value === "loading" || c.value === "error" && !s.error) && v("div", {
738
- class: "v-img__placeholder"
739
- }, [s.placeholder()])]
740
- }) : null, ze = () => s.error ? v($, {
741
- transition: e.transition,
742
- appear: !0
743
- }, {
744
- default: () => [c.value === "error" && v("div", {
745
- class: "v-img__error"
746
- }, [s.error()])]
747
- }) : null, $e = () => e.gradient ? v("div", {
748
- class: "v-img__gradient",
749
- style: {
750
- backgroundImage: `linear-gradient(${e.gradient})`
751
- }
752
- }, null) : null, W = V(!1);
753
- {
754
- const h = B(g, (p) => {
755
- p && (requestAnimationFrame(() => {
756
- requestAnimationFrame(() => {
757
- W.value = !0;
758
- });
759
- }), h());
760
- });
761
- }
762
- return N(() => {
763
- const h = ee.filterProps(e);
764
- return J(v(ee, tt({
765
- class: ["v-img", {
766
- "v-img--absolute": e.absolute,
767
- "v-img--booting": !W.value
768
- }, i.value, r.value, e.class],
769
- style: [{
770
- width: L(e.width === "auto" ? m.value : e.width)
771
- }, a.value, e.style]
772
- }, h, {
773
- aspectRatio: g.value,
774
- "aria-label": e.alt,
775
- role: e.alt ? "img" : void 0
776
- }), {
777
- additional: () => v(te, null, [v(Ve, null, null), v(ke, null, null), v($e, null, null), v(Pe, null, null), v(ze, null, null)]),
778
- default: s.default
779
- }), [[et("intersect"), {
780
- handler: y,
781
- options: e.options
782
- }, null, {
783
- once: !0
784
- }]]);
785
- }), {
786
- currentSrc: f,
787
- image: d,
788
- state: c,
789
- naturalWidth: m,
790
- naturalHeight: l
791
- };
792
- }
793
- }), Ot = E({
794
- start: Boolean,
795
- end: Boolean,
796
- icon: re,
797
- image: String,
798
- text: String,
799
- ...at(),
800
- ...A(),
801
- ...mt(),
802
- ...fe(),
803
- ...ge(),
804
- ...me(),
805
- ...ae(),
806
- ...yt({
807
- variant: "flat"
808
- })
809
- }, "VAvatar"), Yt = T()({
810
- name: "VAvatar",
811
- props: Ot(),
812
- setup(e, t) {
813
- let {
814
- slots: n
815
- } = t;
816
- const {
817
- themeClasses: s
818
- } = ie(e), {
819
- borderClasses: i
820
- } = it(e), {
821
- colorClasses: a,
822
- colorStyles: r,
823
- variantClasses: o
824
- } = pt(e), {
825
- densityClasses: f
826
- } = vt(e), {
827
- roundedClasses: d
828
- } = de(e), {
829
- sizeClasses: c,
830
- sizeStyles: m
831
- } = he(e);
832
- return N(() => v(e.tag, {
833
- class: ["v-avatar", {
834
- "v-avatar--start": e.start,
835
- "v-avatar--end": e.end
836
- }, s.value, i.value, a.value, f.value, d.value, c.value, o.value, e.class],
837
- style: [r.value, m.value, e.style]
838
- }, {
839
- default: () => [n.default ? v(wt, {
840
- key: "content-defaults",
841
- defaults: {
842
- VImg: {
843
- cover: !0,
844
- src: e.image
845
- },
846
- VIcon: {
847
- icon: e.icon
848
- }
849
- }
850
- }, {
851
- default: () => [n.default()]
852
- }) : e.image ? v(Rt, {
853
- key: "image",
854
- src: e.image,
855
- alt: "",
856
- cover: !0
857
- }, null) : e.icon ? v(xt, {
858
- key: "icon",
859
- icon: e.icon
860
- }, null) : e.text, ht(!1, "v-avatar")]
861
- })), {};
862
- }
863
- }), Nt = E({
864
- disabled: Boolean,
865
- group: Boolean,
866
- hideOnLeave: Boolean,
867
- leaveAbsolute: Boolean,
868
- mode: String,
869
- origin: String
870
- }, "transition");
871
- function b(e, t, n) {
872
- return T()({
873
- name: e,
874
- props: Nt({
875
- mode: n,
876
- origin: t
877
- }),
878
- setup(s, i) {
879
- let {
880
- slots: a
881
- } = i;
882
- const r = {
883
- onBeforeEnter(o) {
884
- s.origin && (o.style.transformOrigin = s.origin);
885
- },
886
- onLeave(o) {
887
- if (s.leaveAbsolute) {
888
- const {
889
- offsetTop: f,
890
- offsetLeft: d,
891
- offsetWidth: c,
892
- offsetHeight: m
893
- } = o;
894
- o._transitionInitialStyles = {
895
- position: o.style.position,
896
- top: o.style.top,
897
- left: o.style.left,
898
- width: o.style.width,
899
- height: o.style.height
900
- }, o.style.position = "absolute", o.style.top = `${f}px`, o.style.left = `${d}px`, o.style.width = `${c}px`, o.style.height = `${m}px`;
901
- }
902
- s.hideOnLeave && o.style.setProperty("display", "none", "important");
903
- },
904
- onAfterLeave(o) {
905
- if (s.leaveAbsolute && (o != null && o._transitionInitialStyles)) {
906
- const {
907
- position: f,
908
- top: d,
909
- left: c,
910
- width: m,
911
- height: l
912
- } = o._transitionInitialStyles;
913
- delete o._transitionInitialStyles, o.style.position = f || "", o.style.top = d || "", o.style.left = c || "", o.style.width = m || "", o.style.height = l || "";
914
- }
915
- }
916
- };
917
- return () => {
918
- const o = s.group ? le : ue;
919
- return ce(o, {
920
- name: s.disabled ? "" : e,
921
- css: !s.disabled,
922
- ...s.group ? void 0 : {
923
- mode: s.mode
924
- },
925
- ...s.disabled ? {} : r
926
- }, a.default);
927
- };
928
- }
929
- });
930
- }
931
- function Le(e, t) {
932
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
933
- return T()({
934
- name: e,
935
- props: {
936
- mode: {
937
- type: String,
938
- default: n
939
- },
940
- disabled: Boolean,
941
- group: Boolean
942
- },
943
- setup(s, i) {
944
- let {
945
- slots: a
946
- } = i;
947
- const r = s.group ? le : ue;
948
- return () => ce(r, {
949
- name: s.disabled ? "" : e,
950
- css: !s.disabled,
951
- // mode: props.mode, // TODO: vuejs/vue-next#3104
952
- ...s.disabled ? {} : t
953
- }, a.default);
954
- }
955
- });
956
- }
957
- function Ie() {
958
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
959
- const n = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", s = st(`offset-${n}`);
960
- return {
961
- onBeforeEnter(r) {
962
- r._parent = r.parentNode, r._initialStyle = {
963
- transition: r.style.transition,
964
- overflow: r.style.overflow,
965
- [n]: r.style[n]
966
- };
967
- },
968
- onEnter(r) {
969
- const o = r._initialStyle;
970
- if (!o) return;
971
- r.style.setProperty("transition", "none", "important"), r.style.overflow = "hidden";
972
- const f = `${r[s]}px`;
973
- r.style[n] = "0", r.offsetHeight, r.style.transition = o.transition, e && r._parent && r._parent.classList.add(e), requestAnimationFrame(() => {
974
- r.style[n] = f;
975
- });
976
- },
977
- onAfterEnter: a,
978
- onEnterCancelled: a,
979
- onLeave(r) {
980
- r._initialStyle = {
981
- transition: "",
982
- overflow: r.style.overflow,
983
- [n]: r.style[n]
984
- }, r.style.overflow = "hidden", r.style[n] = `${r[s]}px`, r.offsetHeight, requestAnimationFrame(() => r.style[n] = "0");
985
- },
986
- onAfterLeave: i,
987
- onLeaveCancelled: i
988
- };
989
- function i(r) {
990
- e && r._parent && r._parent.classList.remove(e), a(r);
991
- }
992
- function a(r) {
993
- if (!r._initialStyle) return;
994
- const o = r._initialStyle[n];
995
- r.style.overflow = r._initialStyle.overflow, o != null && (r.style[n] = o), delete r._initialStyle;
996
- }
997
- }
998
- b("fab-transition", "center center", "out-in");
999
- b("dialog-bottom-transition");
1000
- b("dialog-top-transition");
1001
- const Wt = b("fade-transition"), jt = b("scale-transition");
1002
- b("scroll-x-transition");
1003
- b("scroll-x-reverse-transition");
1004
- b("scroll-y-transition");
1005
- b("scroll-y-reverse-transition");
1006
- b("slide-x-transition");
1007
- b("slide-x-reverse-transition");
1008
- const Xt = b("slide-y-transition");
1009
- b("slide-y-reverse-transition");
1010
- const Qt = Le("expand-transition", Ie()), Jt = Le("expand-x-transition", Ie("", !0));
1011
- Be("css/revolugo.index.DQ3Yd6SO.css");
1012
- export {
1013
- $t as I,
1014
- qt as R,
1015
- xt as V,
1016
- wt as a,
1017
- Wt as b,
1018
- Qt as c,
1019
- jt as d,
1020
- mt as e,
1021
- Rt as f,
1022
- ht as g,
1023
- Yt as h,
1024
- Ht as i,
1025
- Mt as j,
1026
- Gt as k,
1027
- Bt as l,
1028
- ge as m,
1029
- vt as n,
1030
- he as o,
1031
- pt as p,
1032
- yt as q,
1033
- Jt as r,
1034
- Xt as s,
1035
- Ft as u
1036
- };
1037
- //# sourceMappingURL=revolugo.index.ByyvoS6i.min.js.map