@revolugo/elements 6.8.3-beta.13 → 6.8.3-beta.15

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 (178) hide show
  1. package/dist/css/fonts.css +1 -1
  2. package/dist/css/revolugo.cancellationpoliciesbadge.CcLw1eDZ.css +1 -0
  3. package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.CmjarAgQ.css} +1 -1
  4. package/dist/revolugo.banktransferdetails.Cvzg5_Ic.min.js +36 -0
  5. package/dist/revolugo.bookingdetailssidebar.k46HDmg6.min.js +37 -0
  6. package/dist/revolugo.bookingmanager.Bp3Iq-CV.min.js +24 -0
  7. package/dist/revolugo.cancellationpoliciesbadge.D94ditk5.min.js +24 -0
  8. package/dist/revolugo.cancellationpoliciesbadge.props.BnLjFL5s.min.js +31712 -0
  9. package/dist/revolugo.cancellationpolicieslist.ofFI9Dx1.min.js +24 -0
  10. package/dist/revolugo.creditcardform.DNY-xKYV.min.js +24 -0
  11. package/dist/revolugo.creditcardpayment.DoH0pwLm.min.js +24 -0
  12. package/dist/revolugo.currencypickerbtn.DcoR1F1Y.min.js +24 -0
  13. package/dist/revolugo.fastbookingflow.DdfGwiWZ.min.js +34 -0
  14. package/dist/revolugo.fullbookingflow.BbqC4qQ1.min.js +24 -0
  15. package/dist/revolugo.hoteldescriptionview.CBhuNO9_.min.js +24 -0
  16. package/dist/revolugo.hotelofferlist.DgZhb92H.min.js +24 -0
  17. package/dist/{revolugo.hoteloffersearchmenu.BJ-JtltU.min.js → revolugo.hoteloffersearchmenu.Ojiuc5KP.min.js} +37 -39
  18. package/dist/revolugo.hoteloffersmap.95AMizbv.min.js +24 -0
  19. package/dist/revolugo.hoteloffersview.CUcJpz15.min.js +19 -0
  20. package/dist/revolugo.hotelroomofferlist.deuoRfWR.min.js +24 -0
  21. package/dist/revolugo.hotelroomoffersbookingflow.dTr1ET_n.min.js +24 -0
  22. package/dist/revolugo.hotelroomoffersearchmenu.DDi3cRLS.min.js +24 -0
  23. package/dist/revolugo.hotelroomoffersview.CFseu6Pj.min.js +24 -0
  24. package/dist/{revolugo.index.DW0gTseB.min.js → revolugo.index.Bz-n9tuq.min.js} +6 -6
  25. package/dist/{revolugo.index.wc.ChJWkzSz.min.js → revolugo.index.wc.DevpsraD.min.js} +267 -267
  26. package/dist/revolugo.langpickerbtn.B9byfQqd.min.js +29 -0
  27. package/dist/revolugo.min.js +1 -1
  28. package/dist/revolugo.prebookform.BDFY-Ks_.min.js +24 -0
  29. package/dist/revolugo.roominglisteditor.B_AOuHI_.min.js +24 -0
  30. package/dist/{revolugo.storybooktoolbar.C-phKw4Y.min.js → revolugo.storybooktoolbar.BamIltF8.min.js} +132 -146
  31. package/dist/revolugo.termsandconditions.Dfp652uY.min.js +23 -0
  32. package/dist/revolugo.webcomponentwrapper.CEjK8-cS.min.js +28682 -0
  33. package/package.json +1 -1
  34. package/dist/css/revolugo.bdaterangepicker.B6KA5TYs.css +0 -1
  35. package/dist/css/revolugo.bhoteloffersfilterbar.BP8bd417.css +0 -1
  36. package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
  37. package/dist/css/revolugo.bimagecarousel.BxIL_xDV.css +0 -1
  38. package/dist/css/revolugo.bookingdetailssidebar.g_6Xwqnt.css +0 -1
  39. package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
  40. package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
  41. package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
  42. package/dist/css/revolugo.creditcardform.BXv0c3zQ.css +0 -1
  43. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  44. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  45. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  46. package/dist/css/revolugo.hoteldescriptionview.Dfi-84To.css +0 -1
  47. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  48. package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
  49. package/dist/css/revolugo.hoteloffersmap.CdDZxzE3.css +0 -1
  50. package/dist/css/revolugo.hoteloffersview.Xw1flMYo.css +0 -1
  51. package/dist/css/revolugo.hotelroomofferlist.C1uw1vfC.css +0 -1
  52. package/dist/css/revolugo.hotelroomoffersbookingflow.nFiRmYyk.css +0 -1
  53. package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
  54. package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
  55. package/dist/css/revolugo.prebookform.BqSw27Yj.css +0 -1
  56. package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
  57. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  58. package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
  59. package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
  60. package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
  61. package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
  62. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  63. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  64. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  65. package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
  66. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  67. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  68. package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
  69. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  70. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  71. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  72. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  73. package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
  74. package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
  75. package/dist/css/revolugo.vtextarea.BTR7f0gW.css +0 -1
  76. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  77. package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
  78. package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
  79. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  80. package/dist/revolugo._baseiteratee.cBR9c7y0.min.js +0 -247
  81. package/dist/revolugo.banktransferdetails.COKZxUgl.min.js +0 -358
  82. package/dist/revolugo.bdaterangepicker.DTHAdEo_.min.js +0 -8324
  83. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CSkPq_d5.min.js +0 -143
  84. package/dist/revolugo.bhoteloffersfilterbar.WV1ViyRw.min.js +0 -4209
  85. package/dist/revolugo.bhotelroomsdetails.Du1N0UAf.min.js +0 -965
  86. package/dist/revolugo.bimagecarousel.CBxDqlvz.min.js +0 -480
  87. package/dist/revolugo.bookingdetailssidebar.DPhWTa8q.min.js +0 -37
  88. package/dist/revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.CFy72I3H.min.js +0 -811
  89. package/dist/revolugo.bookingmanager.DU11HnFM.min.js +0 -1755
  90. package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.O_acR9ze.min.js +0 -91
  91. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CsJ-qnww.min.js +0 -570
  92. package/dist/revolugo.btag.C62gPpXY.min.js +0 -375
  93. package/dist/revolugo.cancellationpoliciesbadge.2POZ-HT5.min.js +0 -198
  94. package/dist/revolugo.cancellationpoliciesbadge.Ct0ngoDp.min.js +0 -28
  95. package/dist/revolugo.cancellationpolicieslist.B3anYVoy.min.js +0 -148
  96. package/dist/revolugo.cancellationpolicieslist.CXfbgIoX.min.js +0 -25
  97. package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
  98. package/dist/revolugo.case-transformers.BwQ_6ytS.min.js +0 -123
  99. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  100. package/dist/revolugo.creditcardform.Bk7yeZle.min.js +0 -2148
  101. package/dist/revolugo.creditcardform.CLPMa22X.min.js +0 -24
  102. package/dist/revolugo.creditcardpayment.16l0_Jf7.min.js +0 -885
  103. package/dist/revolugo.creditcardpayment.8uLeCSFY.min.js +0 -24
  104. package/dist/revolugo.currencypicker.C2vrmj29.min.js +0 -330
  105. package/dist/revolugo.currencypickerbtn.D-_ebAdx.min.js +0 -157
  106. package/dist/revolugo.currencypickerbtn.oOaJl4xV.min.js +0 -24
  107. package/dist/revolugo.dates.CjcXQ0GW.min.js +0 -31
  108. package/dist/revolugo.defaultsdeep.BeZIlIB3.min.js +0 -104
  109. package/dist/revolugo.dialog-attach.BhhnSZUl.min.js +0 -27
  110. package/dist/revolugo.dialog-transition.FTaI_Ytg.min.js +0 -111
  111. package/dist/revolugo.fastbookingflow.BEvuz8TE.min.js +0 -34
  112. package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
  113. package/dist/revolugo.fullbookingflow.Cqc7o02c.min.js +0 -429
  114. package/dist/revolugo.hotel-offer-request.aeZsBIhG.min.js +0 -98
  115. package/dist/revolugo.hoteldescriptionview.Cc34IdcB.min.js +0 -2956
  116. package/dist/revolugo.hoteldescriptionview.bwCbJ_Lc.min.js +0 -24
  117. package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CmUguFEO.min.js +0 -241
  118. package/dist/revolugo.hotelofferlist.BjxZDBqQ.min.js +0 -24
  119. package/dist/revolugo.hotelofferlist.BvbLSbsN.min.js +0 -5624
  120. package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
  121. package/dist/revolugo.hoteloffersearchmenuui.EO_TtRM1.min.js +0 -829
  122. package/dist/revolugo.hoteloffersmap.CXSkWGLL.min.js +0 -24
  123. package/dist/revolugo.hoteloffersmap.CwRdoBFO.min.js +0 -9016
  124. package/dist/revolugo.hoteloffersview.Bldot7ii.min.js +0 -19
  125. package/dist/revolugo.hoteloffersview.DmZBFwbi.min.js +0 -614
  126. package/dist/revolugo.hotelroomofferlist.BMzSnIk0.min.js +0 -2788
  127. package/dist/revolugo.hotelroomofferlist.BfIOXkSe.min.js +0 -24
  128. package/dist/revolugo.hotelroomofferrequestcreator.props.C6XfAEF1.min.js +0 -171
  129. package/dist/revolugo.hotelroomoffersbookingflow.NFAeeps4.min.js +0 -1281
  130. package/dist/revolugo.hotelroomoffersearchmenu.6fvMlU9I.min.js +0 -25
  131. package/dist/revolugo.hotelroomoffersearchmenu.DdtWQl8T.min.js +0 -231
  132. package/dist/revolugo.hotelroomoffersview.BYJ5V84k.min.js +0 -290
  133. package/dist/revolugo.hotelroomoffersview.CvL5egT6.min.js +0 -24
  134. package/dist/revolugo.index.BEuxTkkV.min.js +0 -1232
  135. package/dist/revolugo.langpicker.C3WkV6vL.min.js +0 -99
  136. package/dist/revolugo.langpickerbtn.Big2FR0-.min.js +0 -131
  137. package/dist/revolugo.langpickerbtn.BtNmwMy5.min.js +0 -29
  138. package/dist/revolugo.parsed-props.CKrOq6vN.min.js +0 -39
  139. package/dist/revolugo.pathify.BXdI-Fp4.min.js +0 -36
  140. package/dist/revolugo.prebookform.Bt4-Cptm.min.js +0 -24
  141. package/dist/revolugo.prebookform.DLNVSLoS.min.js +0 -3373
  142. package/dist/revolugo.roominglisteditor.CQzIDZtG.min.js +0 -24
  143. package/dist/revolugo.roominglisteditor.w3dcygO-.min.js +0 -377
  144. package/dist/revolugo.rounded.TLykrsW-.min.js +0 -68
  145. package/dist/revolugo.ssrboot.B7Rop2QP.min.js +0 -18
  146. package/dist/revolugo.termsandconditions.BT6qdQad.min.js +0 -23
  147. package/dist/revolugo.termsandconditions.Bo6ToP4B.min.js +0 -405
  148. package/dist/revolugo.use-breakpoint-service.CgKRPcVE.min.js +0 -39
  149. package/dist/revolugo.use-dialog-attach.EGF5pKTl.min.js +0 -16
  150. package/dist/revolugo.use-html-element.Bvmaeg1E.min.js +0 -11
  151. package/dist/revolugo.use-parsed-props.DL26tjRL.min.js +0 -29
  152. package/dist/revolugo.vautocomplete.C1ryjPoI.min.js +0 -445
  153. package/dist/revolugo.vbadge.BFTNHKkx.min.js +0 -112
  154. package/dist/revolugo.vbtn.Cw5eo1Xx.min.js +0 -398
  155. package/dist/revolugo.vcard.DlI6Moiv.min.js +0 -313
  156. package/dist/revolugo.vcheckboxbtn.Bc0xhmo2.min.js +0 -478
  157. package/dist/revolugo.vdialog.up-Y8p7U.min.js +0 -133
  158. package/dist/revolugo.vdivider.CaptbTLL.min.js +0 -77
  159. package/dist/revolugo.vexpansionpanels.DeQCpMrB.min.js +0 -262
  160. package/dist/revolugo.vform.Cix7vOUg.min.js +0 -46
  161. package/dist/revolugo.vicon.BebzkIu9.min.js +0 -105
  162. package/dist/revolugo.vinput.BP0DAwB4.min.js +0 -463
  163. package/dist/revolugo.vlabel.BLwMEYcT.min.js +0 -48
  164. package/dist/revolugo.vlist.BQB5ovkZ.min.js +0 -1299
  165. package/dist/revolugo.vmenu.Bkfr0AZ8.min.js +0 -145
  166. package/dist/revolugo.vselect.CnEh8cV1.min.js +0 -660
  167. package/dist/revolugo.vsheet.3Q2yGw6P.min.js +0 -72
  168. package/dist/revolugo.vskeletonloader.Duv2gHal.min.js +0 -136
  169. package/dist/revolugo.vslidegroup.DRWO8Opf.min.js +0 -325
  170. package/dist/revolugo.vsnackbar.IdM-bZTD.min.js +0 -198
  171. package/dist/revolugo.vspacer.C-OarNi7.min.js +0 -7
  172. package/dist/revolugo.vtextarea.Dm9Cp0hC.min.js +0 -240
  173. package/dist/revolugo.vtextfield.CJVqkfB9.min.js +0 -501
  174. package/dist/revolugo.vtoolbar.DvuDs2yB.min.js +0 -180
  175. package/dist/revolugo.vtooltip.64CgkEK4.min.js +0 -89
  176. package/dist/revolugo.vwindowitem.qKodFAHS.min.js +0 -317
  177. package/dist/revolugo.watch-list.0WSknWRu.min.js +0 -16
  178. package/dist/revolugo.webcomponentwrapper.BXqP9KYd.min.js +0 -2088
@@ -1,478 +0,0 @@
1
- import { c as Z, t as X, s as D, l as p, n as ee, v as le, o as te, p as ae, m as N, g as ne, a as R, R as oe } from "./revolugo.index.BEuxTkkV.min.js";
2
- import { n as se, d as M, h as ue, o as ie, m as w, u as F, b as re } from "./revolugo.webcomponentwrapper.BXqP9KYd.min.js";
3
- import { u as ce, b as de, a as ve, m as me } from "./revolugo.rounded.TLykrsW-.min.js";
4
- import { $ as T, a0 as P, a4 as x, H as s, aK as fe, ad as d, ae as ye, a, aN as j, a1 as B, D as L, b_ as be, aQ as z, aM as Ve, ar as Ce, aJ as ke, a7 as U, r as Se, b4 as ge, J as he, aG as Ie, F as xe, ap as Pe, a5 as O, W as Ee, bZ as _e, a8 as Be } from "./revolugo.index.wc.ChJWkzSz.min.js";
5
- import { V as Y } from "./revolugo.vicon.BebzkIu9.min.js";
6
- import { a as Le } from "./revolugo.vbtn.Cw5eo1Xx.min.js";
7
- import { V as Te } from "./revolugo.vlabel.BLwMEYcT.min.js";
8
- function q(e) {
9
- try {
10
- if (typeof document < "u") {
11
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
12
- sheets: [],
13
- components: []
14
- };
15
- const n = import.meta.url, i = n.slice(0, n.lastIndexOf("/") + 1) + e;
16
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(i);
17
- for (const l of REVOLUGO_ELEMENTS_STYLES.components)
18
- l(i);
19
- if (e.indexOf("fonts") >= 0) {
20
- const l = document.createElement("link");
21
- l.rel = "stylesheet", linK.href = i, document.head.appendChild(l);
22
- }
23
- }
24
- } catch (n) {
25
- console.error("[revolugo-elements] ", n);
26
- }
27
- }
28
- const Ae = Z("v-alert-title"), Oe = ["success", "info", "warning", "error"], we = P({
29
- border: {
30
- type: [Boolean, String],
31
- validator: (e) => typeof e == "boolean" || ["top", "end", "bottom", "start"].includes(e)
32
- },
33
- borderColor: String,
34
- closable: Boolean,
35
- closeIcon: {
36
- type: B,
37
- default: "$close"
38
- },
39
- closeLabel: {
40
- type: String,
41
- default: "$vuetify.close"
42
- },
43
- icon: {
44
- type: [Boolean, String, Function, Object],
45
- default: null
46
- },
47
- modelValue: {
48
- type: Boolean,
49
- default: !0
50
- },
51
- prominent: Boolean,
52
- title: String,
53
- text: String,
54
- type: {
55
- type: String,
56
- validator: (e) => Oe.includes(e)
57
- },
58
- ...w(),
59
- ...N(),
60
- ...ie(),
61
- ...me(),
62
- ...ae(),
63
- ...te(),
64
- ...ve(),
65
- ...ue(),
66
- ...j(),
67
- ...le({
68
- variant: "flat"
69
- })
70
- }, "VAlert"), Ye = T()({
71
- name: "VAlert",
72
- props: we(),
73
- emits: {
74
- "click:close": (e) => !0,
75
- "update:modelValue": (e) => !0
76
- },
77
- setup(e, n) {
78
- let {
79
- emit: i,
80
- slots: l
81
- } = n;
82
- const o = x(e, "modelValue"), r = s(() => {
83
- if (e.icon !== !1)
84
- return e.type ? e.icon ?? `$${e.type}` : e.icon;
85
- }), c = s(() => ({
86
- color: e.color ?? e.type,
87
- variant: e.variant
88
- })), {
89
- themeClasses: t
90
- } = fe(e), {
91
- colorClasses: u,
92
- colorStyles: V,
93
- variantClasses: C
94
- } = X(c), {
95
- densityClasses: k
96
- } = D(e), {
97
- dimensionStyles: g
98
- } = se(e), {
99
- elevationClasses: y
100
- } = ce(e), {
101
- locationStyles: v
102
- } = p(e), {
103
- positionClasses: b
104
- } = ee(e), {
105
- roundedClasses: m
106
- } = de(e), {
107
- textColorClasses: S,
108
- textColorStyles: E
109
- } = M(d(e, "borderColor")), {
110
- t: _
111
- } = ye(), h = s(() => ({
112
- "aria-label": _(e.closeLabel),
113
- onClick(I) {
114
- o.value = !1, i("click:close", I);
115
- }
116
- }));
117
- return () => {
118
- const I = !!(l.prepend || r.value), A = !!(l.title || e.title), f = !!(l.close || e.closable);
119
- return o.value && a(e.tag, {
120
- class: ["v-alert", e.border && {
121
- "v-alert--border": !!e.border,
122
- [`v-alert--border-${e.border === !0 ? "start" : e.border}`]: !0
123
- }, {
124
- "v-alert--prominent": e.prominent
125
- }, t.value, u.value, k.value, y.value, b.value, m.value, C.value, e.class],
126
- style: [V.value, g.value, v.value, e.style],
127
- role: "alert"
128
- }, {
129
- default: () => [ne(!1, "v-alert"), e.border && a("div", {
130
- key: "border",
131
- class: ["v-alert__border", S.value],
132
- style: E.value
133
- }, null), I && a("div", {
134
- key: "prepend",
135
- class: "v-alert__prepend"
136
- }, [l.prepend ? a(R, {
137
- key: "prepend-defaults",
138
- disabled: !r.value,
139
- defaults: {
140
- VIcon: {
141
- density: e.density,
142
- icon: r.value,
143
- size: e.prominent ? 44 : 28
144
- }
145
- }
146
- }, l.prepend) : a(Y, {
147
- key: "prepend-icon",
148
- density: e.density,
149
- icon: r.value,
150
- size: e.prominent ? 44 : 28
151
- }, null)]), a("div", {
152
- class: "v-alert__content"
153
- }, [A && a(Ae, {
154
- key: "title"
155
- }, {
156
- default: () => [l.title?.() ?? e.title]
157
- }), l.text?.() ?? e.text, l.default?.()]), l.append && a("div", {
158
- key: "append",
159
- class: "v-alert__append"
160
- }, [l.append()]), f && a("div", {
161
- key: "close",
162
- class: "v-alert__close"
163
- }, [l.close ? a(R, {
164
- key: "close-defaults",
165
- defaults: {
166
- VBtn: {
167
- icon: e.closeIcon,
168
- size: "x-small",
169
- variant: "text"
170
- }
171
- }
172
- }, {
173
- default: () => [l.close?.({
174
- props: h.value
175
- })]
176
- }) : a(Le, L({
177
- key: "close-btn",
178
- icon: e.closeIcon,
179
- size: "x-small",
180
- variant: "text"
181
- }, h.value), null)])]
182
- });
183
- };
184
- }
185
- }), H = Symbol.for("vuetify:selection-control-group"), J = P({
186
- color: String,
187
- disabled: {
188
- type: Boolean,
189
- default: null
190
- },
191
- defaultsTarget: String,
192
- error: Boolean,
193
- id: String,
194
- inline: Boolean,
195
- falseIcon: B,
196
- trueIcon: B,
197
- ripple: {
198
- type: [Boolean, Object],
199
- default: !0
200
- },
201
- multiple: {
202
- type: Boolean,
203
- default: null
204
- },
205
- name: String,
206
- readonly: {
207
- type: Boolean,
208
- default: null
209
- },
210
- modelValue: null,
211
- type: String,
212
- valueComparator: {
213
- type: Function,
214
- default: be
215
- },
216
- ...w(),
217
- ...N(),
218
- ...j()
219
- }, "SelectionControlGroup"), Fe = P({
220
- ...J({
221
- defaultsTarget: "VSelectionControl"
222
- })
223
- }, "VSelectionControlGroup");
224
- T()({
225
- name: "VSelectionControlGroup",
226
- props: Fe(),
227
- emits: {
228
- "update:modelValue": (e) => !0
229
- },
230
- setup(e, n) {
231
- let {
232
- slots: i
233
- } = n;
234
- const l = x(e, "modelValue"), o = z(), r = s(() => e.id || `v-selection-control-group-${o}`), c = s(() => e.name || r.value), t = /* @__PURE__ */ new Set();
235
- return Ce(H, {
236
- modelValue: l,
237
- forceUpdate: () => {
238
- t.forEach((u) => u());
239
- },
240
- onForceUpdate: (u) => {
241
- t.add(u), ke(() => {
242
- t.delete(u);
243
- });
244
- }
245
- }), Ve({
246
- [e.defaultsTarget]: {
247
- color: d(e, "color"),
248
- disabled: d(e, "disabled"),
249
- density: d(e, "density"),
250
- error: d(e, "error"),
251
- inline: d(e, "inline"),
252
- modelValue: l,
253
- multiple: s(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)),
254
- name: c,
255
- falseIcon: d(e, "falseIcon"),
256
- trueIcon: d(e, "trueIcon"),
257
- readonly: d(e, "readonly"),
258
- ripple: d(e, "ripple"),
259
- type: d(e, "type"),
260
- valueComparator: d(e, "valueComparator")
261
- }
262
- }), F(() => a("div", {
263
- class: ["v-selection-control-group", {
264
- "v-selection-control-group--inline": e.inline
265
- }, e.class],
266
- style: e.style,
267
- role: e.type === "radio" ? "radiogroup" : void 0
268
- }, [i.default?.()])), {};
269
- }
270
- });
271
- const K = P({
272
- label: String,
273
- baseColor: String,
274
- trueValue: null,
275
- falseValue: null,
276
- value: null,
277
- ...w(),
278
- ...J()
279
- }, "VSelectionControl");
280
- function Ge(e) {
281
- const n = Pe(H, void 0), {
282
- densityClasses: i
283
- } = D(e), l = x(e, "modelValue"), o = s(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), r = s(() => e.falseValue !== void 0 ? e.falseValue : !1), c = s(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), t = s({
284
- get() {
285
- const y = n ? n.modelValue.value : l.value;
286
- return c.value ? O(y).some((v) => e.valueComparator(v, o.value)) : e.valueComparator(y, o.value);
287
- },
288
- set(y) {
289
- if (e.readonly) return;
290
- const v = y ? o.value : r.value;
291
- let b = v;
292
- c.value && (b = y ? [...O(l.value), v] : O(l.value).filter((m) => !e.valueComparator(m, o.value))), n ? n.modelValue.value = b : l.value = b;
293
- }
294
- }), {
295
- textColorClasses: u,
296
- textColorStyles: V
297
- } = M(s(() => {
298
- if (!(e.error || e.disabled))
299
- return t.value ? e.color : e.baseColor;
300
- })), {
301
- backgroundColorClasses: C,
302
- backgroundColorStyles: k
303
- } = re(s(() => t.value && !e.error && !e.disabled ? e.color : e.baseColor)), g = s(() => t.value ? e.trueIcon : e.falseIcon);
304
- return {
305
- group: n,
306
- densityClasses: i,
307
- trueValue: o,
308
- falseValue: r,
309
- model: t,
310
- textColorClasses: u,
311
- textColorStyles: V,
312
- backgroundColorClasses: C,
313
- backgroundColorStyles: k,
314
- icon: g
315
- };
316
- }
317
- const $ = T()({
318
- name: "VSelectionControl",
319
- directives: {
320
- Ripple: oe
321
- },
322
- inheritAttrs: !1,
323
- props: K(),
324
- emits: {
325
- "update:modelValue": (e) => !0
326
- },
327
- setup(e, n) {
328
- let {
329
- attrs: i,
330
- slots: l
331
- } = n;
332
- const {
333
- group: o,
334
- densityClasses: r,
335
- icon: c,
336
- model: t,
337
- textColorClasses: u,
338
- textColorStyles: V,
339
- backgroundColorClasses: C,
340
- backgroundColorStyles: k,
341
- trueValue: g
342
- } = Ge(e), y = z(), v = U(!1), b = U(!1), m = Se(), S = s(() => e.id || `input-${y}`), E = s(() => !e.disabled && !e.readonly);
343
- o?.onForceUpdate(() => {
344
- m.value && (m.value.checked = t.value);
345
- });
346
- function _(f) {
347
- E.value && (v.value = !0, _e(f.target, ":focus-visible") !== !1 && (b.value = !0));
348
- }
349
- function h() {
350
- v.value = !1, b.value = !1;
351
- }
352
- function I(f) {
353
- f.stopPropagation();
354
- }
355
- function A(f) {
356
- if (!E.value) {
357
- m.value && (m.value.checked = t.value);
358
- return;
359
- }
360
- e.readonly && o && Ee(() => o.forceUpdate()), t.value = f.target.checked;
361
- }
362
- return F(() => {
363
- const f = l.label ? l.label({
364
- label: e.label,
365
- props: {
366
- for: S.value
367
- }
368
- }) : e.label, [Q, W] = ge(i), G = a("input", L({
369
- ref: m,
370
- checked: t.value,
371
- disabled: !!e.disabled,
372
- id: S.value,
373
- onBlur: h,
374
- onFocus: _,
375
- onInput: A,
376
- "aria-disabled": !!e.disabled,
377
- "aria-label": e.label,
378
- type: e.type,
379
- value: g.value,
380
- name: e.name,
381
- "aria-checked": e.type === "checkbox" ? t.value : void 0
382
- }, W), null);
383
- return a("div", L({
384
- class: ["v-selection-control", {
385
- "v-selection-control--dirty": t.value,
386
- "v-selection-control--disabled": e.disabled,
387
- "v-selection-control--error": e.error,
388
- "v-selection-control--focused": v.value,
389
- "v-selection-control--focus-visible": b.value,
390
- "v-selection-control--inline": e.inline
391
- }, r.value, e.class]
392
- }, Q, {
393
- style: e.style
394
- }), [a("div", {
395
- class: ["v-selection-control__wrapper", u.value],
396
- style: V.value
397
- }, [l.default?.({
398
- backgroundColorClasses: C,
399
- backgroundColorStyles: k
400
- }), he(a("div", {
401
- class: ["v-selection-control__input"]
402
- }, [l.input?.({
403
- model: t,
404
- textColorClasses: u,
405
- textColorStyles: V,
406
- backgroundColorClasses: C,
407
- backgroundColorStyles: k,
408
- inputNode: G,
409
- icon: c.value,
410
- props: {
411
- onFocus: _,
412
- onBlur: h,
413
- id: S.value
414
- }
415
- }) ?? a(xe, null, [c.value && a(Y, {
416
- key: "icon",
417
- icon: c.value
418
- }, null), G])]), [[Ie("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), f && a(Te, {
419
- for: S.value,
420
- onClick: I
421
- }, {
422
- default: () => [f]
423
- })]);
424
- }), {
425
- isFocused: v,
426
- input: m
427
- };
428
- }
429
- }), Re = P({
430
- indeterminate: Boolean,
431
- indeterminateIcon: {
432
- type: B,
433
- default: "$checkboxIndeterminate"
434
- },
435
- ...K({
436
- falseIcon: "$checkboxOff",
437
- trueIcon: "$checkboxOn"
438
- })
439
- }, "VCheckboxBtn"), He = T()({
440
- name: "VCheckboxBtn",
441
- props: Re(),
442
- emits: {
443
- "update:modelValue": (e) => !0,
444
- "update:indeterminate": (e) => !0
445
- },
446
- setup(e, n) {
447
- let {
448
- slots: i
449
- } = n;
450
- const l = x(e, "indeterminate"), o = x(e, "modelValue");
451
- function r(u) {
452
- l.value && (l.value = !1);
453
- }
454
- const c = s(() => l.value ? e.indeterminateIcon : e.falseIcon), t = s(() => l.value ? e.indeterminateIcon : e.trueIcon);
455
- return F(() => {
456
- const u = Be($.filterProps(e), ["modelValue"]);
457
- return a($, L(u, {
458
- modelValue: o.value,
459
- "onUpdate:modelValue": [(V) => o.value = V, r],
460
- class: ["v-checkbox-btn", e.class],
461
- style: e.style,
462
- type: "checkbox",
463
- falseIcon: c.value,
464
- trueIcon: t.value,
465
- "aria-checked": l.value ? "mixed" : void 0
466
- }), i);
467
- }), {};
468
- }
469
- });
470
- q("css/revolugo.vcheckboxbtn.Bp_BNQWb.css");
471
- export {
472
- Ye as V,
473
- He as a,
474
- $ as b,
475
- K as c,
476
- Re as m
477
- };
478
- //# sourceMappingURL=revolugo.vcheckboxbtn.Bc0xhmo2.min.js.map
@@ -1,133 +0,0 @@
1
- import { f as O, u as w, y, l as v } from "./revolugo.webcomponentwrapper.BXqP9KYd.min.js";
2
- import { f as P } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
3
- import { $ as T, a0 as p, a4 as x, r as b, Y as D, bz as R, O as E, cj as A, D as m, a as g, W as U } from "./revolugo.index.wc.ChJWkzSz.min.js";
4
- import { V as N } from "./revolugo.dialog-transition.FTaI_Ytg.min.js";
5
- import { a as B } from "./revolugo.index.BEuxTkkV.min.js";
6
- function S(e) {
7
- try {
8
- if (typeof document < "u") {
9
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
10
- sheets: [],
11
- components: []
12
- };
13
- const l = import.meta.url, r = l.slice(0, l.lastIndexOf("/") + 1) + e;
14
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(r);
15
- for (const a of REVOLUGO_ELEMENTS_STYLES.components)
16
- a(r);
17
- if (e.indexOf("fonts") >= 0) {
18
- const a = document.createElement("link");
19
- a.rel = "stylesheet", linK.href = r, document.head.appendChild(a);
20
- }
21
- }
22
- } catch (l) {
23
- console.error("[revolugo-elements] ", l);
24
- }
25
- }
26
- const I = p({
27
- fullscreen: Boolean,
28
- retainFocus: {
29
- type: Boolean,
30
- default: !0
31
- },
32
- scrollable: Boolean,
33
- ...y({
34
- origin: "center center",
35
- scrollStrategy: "block",
36
- transition: {
37
- component: N
38
- },
39
- zIndex: 2400
40
- })
41
- }, "VDialog"), W = T()({
42
- name: "VDialog",
43
- props: I(),
44
- emits: {
45
- "update:modelValue": (e) => !0,
46
- afterEnter: () => !0,
47
- afterLeave: () => !0
48
- },
49
- setup(e, l) {
50
- let {
51
- emit: r,
52
- slots: a
53
- } = l;
54
- const u = x(e, "modelValue"), {
55
- scopeId: h
56
- } = O(), t = b();
57
- function d(o) {
58
- const f = o.relatedTarget, c = o.target;
59
- if (f !== c && t.value?.contentEl && // We're the topmost dialog
60
- t.value?.globalTop && // It isn't the document or the dialog body
61
- ![document, t.value.contentEl].includes(c) && // It isn't inside the dialog body
62
- !t.value.contentEl.contains(c)) {
63
- const n = A(t.value.contentEl);
64
- if (!n.length) return;
65
- const i = n[0], s = n[n.length - 1];
66
- f === i ? s.focus() : i.focus();
67
- }
68
- }
69
- D(() => {
70
- document.removeEventListener("focusin", d);
71
- }), R && E(() => u.value && e.retainFocus, (o) => {
72
- o ? document.addEventListener("focusin", d) : document.removeEventListener("focusin", d);
73
- }, {
74
- immediate: !0
75
- });
76
- function V() {
77
- r("afterEnter"), t.value?.contentEl && !t.value.contentEl.contains(document.activeElement) && t.value.contentEl.focus({
78
- preventScroll: !0
79
- });
80
- }
81
- function L() {
82
- r("afterLeave");
83
- }
84
- return E(u, async (o) => {
85
- o || (await U(), t.value.activatorEl?.focus({
86
- preventScroll: !0
87
- }));
88
- }), w(() => {
89
- const o = v.filterProps(e), f = m({
90
- "aria-haspopup": "dialog"
91
- }, e.activatorProps), c = m({
92
- tabindex: -1
93
- }, e.contentProps);
94
- return g(v, m({
95
- ref: t,
96
- class: ["v-dialog", {
97
- "v-dialog--fullscreen": e.fullscreen,
98
- "v-dialog--scrollable": e.scrollable
99
- }, e.class],
100
- style: e.style
101
- }, o, {
102
- modelValue: u.value,
103
- "onUpdate:modelValue": (n) => u.value = n,
104
- "aria-modal": "true",
105
- activatorProps: f,
106
- contentProps: c,
107
- height: e.fullscreen ? void 0 : e.height,
108
- width: e.fullscreen ? void 0 : e.width,
109
- maxHeight: e.fullscreen ? void 0 : e.maxHeight,
110
- maxWidth: e.fullscreen ? void 0 : e.maxWidth,
111
- role: "dialog",
112
- onAfterEnter: V,
113
- onAfterLeave: L
114
- }, h), {
115
- activator: a.activator,
116
- default: function() {
117
- for (var n = arguments.length, i = new Array(n), s = 0; s < n; s++)
118
- i[s] = arguments[s];
119
- return g(B, {
120
- root: "VDialog"
121
- }, {
122
- default: () => [a.default?.(...i)]
123
- });
124
- }
125
- });
126
- }), P({}, t);
127
- }
128
- });
129
- S("css/revolugo.vdialog.DwTSAOeg.css");
130
- export {
131
- W as V
132
- };
133
- //# sourceMappingURL=revolugo.vdialog.up-Y8p7U.min.js.map
@@ -1,77 +0,0 @@
1
- import { d as u, u as m, m as h } from "./revolugo.webcomponentwrapper.BXqP9KYd.min.js";
2
- import { $ as E, a0 as f, aK as S, ad as _, H as T, ab as s, a as o, aN as y } from "./revolugo.index.wc.ChJWkzSz.min.js";
3
- function v(e) {
4
- try {
5
- if (typeof document < "u") {
6
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
7
- sheets: [],
8
- components: []
9
- };
10
- const n = import.meta.url, t = n.slice(0, n.lastIndexOf("/") + 1) + e;
11
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(t);
12
- for (const i of REVOLUGO_ELEMENTS_STYLES.components)
13
- i(t);
14
- if (e.indexOf("fonts") >= 0) {
15
- const i = document.createElement("link");
16
- i.rel = "stylesheet", linK.href = t, document.head.appendChild(i);
17
- }
18
- }
19
- } catch (n) {
20
- console.error("[revolugo-elements] ", n);
21
- }
22
- }
23
- const g = f({
24
- color: String,
25
- inset: Boolean,
26
- length: [Number, String],
27
- opacity: [Number, String],
28
- thickness: [Number, String],
29
- vertical: Boolean,
30
- ...h(),
31
- ...y()
32
- }, "VDivider"), O = E()({
33
- name: "VDivider",
34
- props: g(),
35
- setup(e, n) {
36
- let {
37
- attrs: t,
38
- slots: i
39
- } = n;
40
- const {
41
- themeClasses: a
42
- } = S(e), {
43
- textColorClasses: l,
44
- textColorStyles: d
45
- } = u(_(e, "color")), c = T(() => {
46
- const r = {};
47
- return e.length && (r[e.vertical ? "height" : "width"] = s(e.length)), e.thickness && (r[e.vertical ? "borderRightWidth" : "borderTopWidth"] = s(e.thickness)), r;
48
- });
49
- return m(() => {
50
- const r = o("hr", {
51
- class: [{
52
- "v-divider": !0,
53
- "v-divider--inset": e.inset,
54
- "v-divider--vertical": e.vertical
55
- }, a.value, l.value, e.class],
56
- style: [c.value, d.value, {
57
- "--v-border-opacity": e.opacity
58
- }, e.style],
59
- "aria-orientation": !t.role || t.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0,
60
- role: `${t.role || "separator"}`
61
- }, null);
62
- return i.default ? o("div", {
63
- class: ["v-divider__wrapper", {
64
- "v-divider__wrapper--vertical": e.vertical,
65
- "v-divider__wrapper--inset": e.inset
66
- }]
67
- }, [r, o("div", {
68
- class: "v-divider__content"
69
- }, [i.default()]), r]) : r;
70
- }), {};
71
- }
72
- });
73
- v("css/revolugo.vdivider.CTbbZwnv.css");
74
- export {
75
- O as V
76
- };
77
- //# sourceMappingURL=revolugo.vdivider.CaptbTLL.min.js.map