@revolugo/elements 6.8.2 → 6.8.3-beta.0

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 (171) hide show
  1. package/README.md +1 -1
  2. package/dist/css/fonts.css +1 -1
  3. package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.DGADlvX0.css} +2 -2
  4. package/dist/index.es.min.js +2081 -2223
  5. package/dist/index.es.min.js.map +1 -1
  6. package/dist/index.min.js +6 -6
  7. package/dist/index.min.js.map +1 -1
  8. package/dist/revolugo.banktransferdetails.C9OqrvmN.min.js +23 -0
  9. package/dist/revolugo.bookingdetailssidebar.V97LTM8j.min.js +23 -0
  10. package/dist/revolugo.bookingmanager.BZERpaf3.min.js +23 -0
  11. package/dist/revolugo.cancellationpoliciesbadge.CUKJ9TsD.min.js +23 -0
  12. package/dist/revolugo.cancellationpolicieslist.C3PJPST4.min.js +23 -0
  13. package/dist/revolugo.creditcardform.D-8j5GCw.min.js +23 -0
  14. package/dist/revolugo.creditcardpayment.DU-WYlhZ.min.js +23 -0
  15. package/dist/revolugo.currencypickerbtn.B7Y3Ok11.min.js +23 -0
  16. package/dist/{revolugo.fastbookingflow.ChNa4jgv.min.js → revolugo.fastbookingflow.BoQVk0eU.min.js} +9 -10
  17. package/dist/revolugo.fullbookingflow.DoXfBawU.min.js +23 -0
  18. package/dist/revolugo.hoteldescriptionview.B-0OAOlZ.min.js +23 -0
  19. package/dist/revolugo.hotelofferlist.CZtxadW_.min.js +23 -0
  20. package/dist/revolugo.hoteloffersearchmenu.BZ2z-tDx.min.js +199 -0
  21. package/dist/revolugo.hoteloffersmap.CKwOA3mF.min.js +23 -0
  22. package/dist/revolugo.hoteloffersview.Bxf47jSF.min.js +18 -0
  23. package/dist/revolugo.hotelroomofferlist.PzbhafeA.min.js +23 -0
  24. package/dist/revolugo.hotelroomoffersbookingflow.BXolY5lJ.min.js +23 -0
  25. package/dist/revolugo.hotelroomoffersearchmenu.BAqeXS0Y.min.js +23 -0
  26. package/dist/revolugo.hotelroomoffersview.Ch8BiNJ_.min.js +23 -0
  27. package/dist/revolugo.index.CVHWSVdZ.min.js +67 -0
  28. package/dist/{revolugo.index.wc.7I5uexuc.min.js → revolugo.index.wc.DxOdmA3C.min.js} +12167 -12364
  29. package/dist/revolugo.langpickerbtn.B5MAr-qc.min.js +28 -0
  30. package/dist/revolugo.min.js +1 -1
  31. package/dist/revolugo.prebookform.9dLTmLrv.min.js +23 -0
  32. package/dist/revolugo.roominglisteditor.CA09WMcG.min.js +23 -0
  33. package/dist/{revolugo.storybooktoolbar.DY_mbXuP.min.js → revolugo.storybooktoolbar.CkwMUZCe.min.js} +212 -227
  34. package/dist/revolugo.termsandconditions.CLIxEOxi.min.js +22 -0
  35. package/dist/revolugo.webcomponentwrapper.Dt-VzVVw.min.js +60489 -0
  36. package/package.json +5 -5
  37. package/dist/css/revolugo.bdaterangepicker.CHUExWGL.css +0 -1
  38. package/dist/css/revolugo.bhoteloffersfilterbar.BcnNI4uS.css +0 -1
  39. package/dist/css/revolugo.bhotelroomsdetails.ZHH0C1yQ.css +0 -1
  40. package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
  41. package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
  42. package/dist/css/revolugo.bookingdetailssidebar.CNP_D5F3.css +0 -1
  43. package/dist/css/revolugo.bstarrating.Dxd1LjMb.css +0 -1
  44. package/dist/css/revolugo.btag.g-q3eChG.css +0 -1
  45. package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
  46. package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
  47. package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
  48. package/dist/css/revolugo.currencypicker.DO0IrmRK.css +0 -1
  49. package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
  50. package/dist/css/revolugo.hoteldescriptionview.DWuzEuGF.css +0 -1
  51. package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
  52. package/dist/css/revolugo.hoteloffersmap.2oSkomDb.css +0 -1
  53. package/dist/css/revolugo.hoteloffersview.Bo2dQWYt.css +0 -1
  54. package/dist/css/revolugo.hotelroomofferlist.DpLXIpgU.css +0 -1
  55. package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
  56. package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
  57. package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
  58. package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
  59. package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
  60. package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
  61. package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
  62. package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
  63. package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
  64. package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
  65. package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
  66. package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
  67. package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
  68. package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
  69. package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
  70. package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
  71. package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
  72. package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
  73. package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
  74. package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
  75. package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
  76. package/dist/css/revolugo.vsnackbar.Cj7AcupY.css +0 -1
  77. package/dist/css/revolugo.vtextarea.HYL6WUNS.css +0 -1
  78. package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
  79. package/dist/css/revolugo.vtoolbar.BZert82L.css +0 -1
  80. package/dist/css/revolugo.vtooltip.O8QDYs1J.css +0 -1
  81. package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
  82. package/dist/revolugo._basefor.CodrYJxd.min.js +0 -15
  83. package/dist/revolugo.banktransferdetails.BdulCgI5.min.js +0 -373
  84. package/dist/revolugo.bdaterangepicker.XZNoMSi5.min.js +0 -8435
  85. package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.D9Qs1dZa.min.js +0 -61
  86. package/dist/revolugo.bhoteloffersfilterbar.Bryijtf6.min.js +0 -4685
  87. package/dist/revolugo.bhotelroomsdetails.orWBBD_o.min.js +0 -1013
  88. package/dist/revolugo.bhotelsearchbar.DxxqZWkN.min.js +0 -947
  89. package/dist/revolugo.bimagecarousel.DIPN99VA.min.js +0 -598
  90. package/dist/revolugo.bookingdetailssidebar.CD4SMOkC.min.js +0 -24
  91. package/dist/revolugo.bookingdetailssidebar.JOU68R1_.min.js +0 -880
  92. package/dist/revolugo.bookingmanager.B5cM9Mi5.min.js +0 -1789
  93. package/dist/revolugo.bpricesummaryskeleton.YKfKKB5n.min.js +0 -79
  94. package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.2z9RUthr.min.js +0 -623
  95. package/dist/revolugo.btag.DjjDRtQ7.min.js +0 -387
  96. package/dist/revolugo.cancellationpoliciesbadge.D8ou6oFl.min.js +0 -225
  97. package/dist/revolugo.cancellationpoliciesbadge.jgFCG7yZ.min.js +0 -24
  98. package/dist/revolugo.cancellationpolicieslist.CZImqgN3.min.js +0 -24
  99. package/dist/revolugo.cancellationpolicieslist.D097ASNF.min.js +0 -176
  100. package/dist/revolugo.case-transformers.Dr1oSJkZ.min.js +0 -123
  101. package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
  102. package/dist/revolugo.creditcardform.DNOMVOgZ.min.js +0 -2161
  103. package/dist/revolugo.creditcardform.DvHcDx2P.min.js +0 -24
  104. package/dist/revolugo.creditcardpayment.BLP3RXk4.min.js +0 -893
  105. package/dist/revolugo.creditcardpayment.D3lPKmx1.min.js +0 -24
  106. package/dist/revolugo.currencypicker.CzzS1Adp.min.js +0 -330
  107. package/dist/revolugo.currencypickerbtn.ChUEouGw.min.js +0 -163
  108. package/dist/revolugo.currencypickerbtn.DWnyc54P.min.js +0 -24
  109. package/dist/revolugo.dialog-attach.O2HXPGzj.min.js +0 -28
  110. package/dist/revolugo.dialog-transition.C6S7Ci1s.min.js +0 -114
  111. package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
  112. package/dist/revolugo.fullbookingflow.ByKmNqgi.min.js +0 -451
  113. package/dist/revolugo.hoteldescriptionview.CbtxEPGG.min.js +0 -3091
  114. package/dist/revolugo.hoteldescriptionview.D3JTbFxn.min.js +0 -24
  115. package/dist/revolugo.hotelofferitemlayout.tBOOIdeT.min.js +0 -259
  116. package/dist/revolugo.hotelofferlist.BVySEYbq.min.js +0 -5744
  117. package/dist/revolugo.hotelofferlist.puK2FNBR.min.js +0 -24
  118. package/dist/revolugo.hotelofferrequestcreator.CbCau_4i.min.js +0 -230
  119. package/dist/revolugo.hoteloffersearchmenu.iiAtyddA.min.js +0 -46
  120. package/dist/revolugo.hoteloffersmap.BRVm5s6N.min.js +0 -8394
  121. package/dist/revolugo.hoteloffersmap.DqKpfjbt.min.js +0 -24
  122. package/dist/revolugo.hoteloffersview.3LJ-m6BY.min.js +0 -620
  123. package/dist/revolugo.hoteloffersview.DsGyT5s7.min.js +0 -19
  124. package/dist/revolugo.hotelroomofferlist.DdMr5qEZ.min.js +0 -24
  125. package/dist/revolugo.hotelroomofferlist.M-3bowQa.min.js +0 -2934
  126. package/dist/revolugo.hotelroomofferrequestcreator.props.CUwZUDcm.min.js +0 -171
  127. package/dist/revolugo.hotelroomoffersbookingflow.Bef_aJFl.min.js +0 -1306
  128. package/dist/revolugo.hotelroomoffersearchmenu.D9Zn_Gjy.min.js +0 -25
  129. package/dist/revolugo.hotelroomoffersearchmenu.Fkf-MQ_8.min.js +0 -232
  130. package/dist/revolugo.hotelroomoffersview.BSth8Xsz.min.js +0 -305
  131. package/dist/revolugo.hotelroomoffersview.oxTgBMSk.min.js +0 -24
  132. package/dist/revolugo.index.D0uSQdJV.min.js +0 -13
  133. package/dist/revolugo.index.gIPq0z7C.min.js +0 -1037
  134. package/dist/revolugo.langpicker.CLdiic9k.min.js +0 -107
  135. package/dist/revolugo.langpickerbtn.BIHQAnjv.min.js +0 -24
  136. package/dist/revolugo.langpickerbtn.DF-m4pCF.min.js +0 -178
  137. package/dist/revolugo.position.hqKd4K_h.min.js +0 -322
  138. package/dist/revolugo.prebookform.B8aMLMuG.min.js +0 -1531
  139. package/dist/revolugo.prebookform.CxK0iSDo.min.js +0 -24
  140. package/dist/revolugo.roominglisteditor.D7WzDtw6.min.js +0 -24
  141. package/dist/revolugo.roominglisteditor.Do-pe811.min.js +0 -391
  142. package/dist/revolugo.rounded.Dnxang6X.min.js +0 -68
  143. package/dist/revolugo.ssrboot.ByGq44eI.min.js +0 -18
  144. package/dist/revolugo.termsandconditions.DXNFR45_.min.js +0 -423
  145. package/dist/revolugo.termsandconditions.DfGTVPYa.min.js +0 -23
  146. package/dist/revolugo.use-breakpoint-service.CJltQiSH.min.js +0 -106
  147. package/dist/revolugo.vautocomplete.BjPSa1jg.min.js +0 -466
  148. package/dist/revolugo.vbadge.D1RCkHoZ.min.js +0 -118
  149. package/dist/revolugo.vbtn.CQ9EDLRJ.min.js +0 -417
  150. package/dist/revolugo.vcard.DNU4i52n.min.js +0 -329
  151. package/dist/revolugo.vcheckboxbtn.De-k8-O3.min.js +0 -491
  152. package/dist/revolugo.vdialog.CjEajxIC.min.js +0 -139
  153. package/dist/revolugo.vdivider.Cp9bHPnI.min.js +0 -77
  154. package/dist/revolugo.vexpansionpanels.L2ZpX4zd.min.js +0 -276
  155. package/dist/revolugo.vform.Bw9rddZZ.min.js +0 -50
  156. package/dist/revolugo.vinput.P34xrpIC.min.js +0 -477
  157. package/dist/revolugo.vlabel.CLHrAz78.min.js +0 -51
  158. package/dist/revolugo.vlist.hRQlcp5M.min.js +0 -1348
  159. package/dist/revolugo.vmenu.BRFw3Jzk.min.js +0 -152
  160. package/dist/revolugo.vselect.u2C25NCe.min.js +0 -688
  161. package/dist/revolugo.vsheet.8UeU7qQn.min.js +0 -72
  162. package/dist/revolugo.vskeletonloader.Dk0enVo6.min.js +0 -137
  163. package/dist/revolugo.vsnackbar.18JqJsZ2.min.js +0 -202
  164. package/dist/revolugo.vspacer.CPbtu_-W.min.js +0 -7
  165. package/dist/revolugo.vtextarea.Cjuqcka5.min.js +0 -2102
  166. package/dist/revolugo.vtextfield.BUNcwTRK.min.js +0 -509
  167. package/dist/revolugo.vtoolbar.CvbAGFXR.min.js +0 -188
  168. package/dist/revolugo.vtooltip.CsXJFD-V.min.js +0 -395
  169. package/dist/revolugo.vwindowitem.DGRfRU3q.min.js +0 -329
  170. package/dist/revolugo.watch-list.D0FxBTWy.min.js +0 -16
  171. package/dist/revolugo.webcomponentwrapper.DFYGhYzz.min.js +0 -2148
@@ -1,491 +0,0 @@
1
- import { c as p, u as ee, a as le, m as te, b as ae } from "./revolugo.position.hqKd4K_h.min.js";
2
- import { n as ne, d as z, e as oe, o as ue, m as D, u as U, b as ie } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
3
- import { p as re, n as Y, q as se, e as H, g as ce, V as q, a as M, R as de } from "./revolugo.index.gIPq0z7C.min.js";
4
- import { u as ve, b as me, a as fe, m as ye } from "./revolugo.rounded.Dnxang6X.min.js";
5
- import { Z as w, _ as P, a2 as E, D as i, aD as be, ab as d, ac as Ve, a, aF as Q, $ as A, y as O, bI as Ce, aE as K, aQ as ke, ak as Se, aO as ge, a5 as N, C as he, b2 as Ie, H as xe, aA as Ee, F as Pe, ai as _e, a3 as R, R as Be, bH as Te, a6 as Le } from "./revolugo.index.wc.7I5uexuc.min.js";
6
- import { a as Ae } from "./revolugo.vbtn.CQ9EDLRJ.min.js";
7
- import { V as Oe } from "./revolugo.vlabel.CLHrAz78.min.js";
8
- function X(e) {
9
- try {
10
- if (typeof document < "u") {
11
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
12
- sheets: [],
13
- components: []
14
- };
15
- const o = import.meta.url, r = o.slice(0, o.lastIndexOf("/") + 1) + e;
16
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(r);
17
- for (const l of REVOLUGO_ELEMENTS_STYLES.components)
18
- l(r);
19
- if (e.indexOf("fonts") >= 0) {
20
- const l = document.createElement("link");
21
- l.rel = "stylesheet", linK.href = r, document.head.appendChild(l);
22
- }
23
- }
24
- } catch (o) {
25
- console.error("[revolugo-elements] ", o);
26
- }
27
- }
28
- const we = p("v-alert-title"), Fe = ["success", "info", "warning", "error"], Re = 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: A,
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) => Fe.includes(e)
57
- },
58
- ...D(),
59
- ...H(),
60
- ...ue(),
61
- ...ye(),
62
- ...ae(),
63
- ...te(),
64
- ...fe(),
65
- ...oe(),
66
- ...Q(),
67
- ...se({
68
- variant: "flat"
69
- })
70
- }, "VAlert"), qe = w()({
71
- name: "VAlert",
72
- props: Re(),
73
- emits: {
74
- "click:close": (e) => !0,
75
- "update:modelValue": (e) => !0
76
- },
77
- setup(e, o) {
78
- let {
79
- emit: r,
80
- slots: l
81
- } = o;
82
- const n = E(e, "modelValue"), s = i(() => {
83
- if (e.icon !== !1)
84
- return e.type ? e.icon ?? `$${e.type}` : e.icon;
85
- }), c = i(() => ({
86
- color: e.color ?? e.type,
87
- variant: e.variant
88
- })), {
89
- themeClasses: t
90
- } = be(e), {
91
- colorClasses: u,
92
- colorStyles: V,
93
- variantClasses: k
94
- } = re(c), {
95
- densityClasses: S
96
- } = Y(e), {
97
- dimensionStyles: h
98
- } = ne(e), {
99
- elevationClasses: y
100
- } = ve(e), {
101
- locationStyles: v
102
- } = ee(e), {
103
- positionClasses: b
104
- } = le(e), {
105
- roundedClasses: m
106
- } = me(e), {
107
- textColorClasses: g,
108
- textColorStyles: _
109
- } = z(d(e, "borderColor")), {
110
- t: B
111
- } = Ve(), I = i(() => ({
112
- "aria-label": B(e.closeLabel),
113
- onClick(x) {
114
- n.value = !1, r("click:close", x);
115
- }
116
- }));
117
- return () => {
118
- const x = !!(l.prepend || s.value), F = !!(l.title || e.title), f = !!(l.close || e.closable);
119
- return n.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, S.value, y.value, b.value, m.value, k.value, e.class],
126
- style: [V.value, h.value, v.value, e.style],
127
- role: "alert"
128
- }, {
129
- default: () => {
130
- var T, L;
131
- return [ce(!1, "v-alert"), e.border && a("div", {
132
- key: "border",
133
- class: ["v-alert__border", g.value],
134
- style: _.value
135
- }, null), x && a("div", {
136
- key: "prepend",
137
- class: "v-alert__prepend"
138
- }, [l.prepend ? a(M, {
139
- key: "prepend-defaults",
140
- disabled: !s.value,
141
- defaults: {
142
- VIcon: {
143
- density: e.density,
144
- icon: s.value,
145
- size: e.prominent ? 44 : 28
146
- }
147
- }
148
- }, l.prepend) : a(q, {
149
- key: "prepend-icon",
150
- density: e.density,
151
- icon: s.value,
152
- size: e.prominent ? 44 : 28
153
- }, null)]), a("div", {
154
- class: "v-alert__content"
155
- }, [F && a(we, {
156
- key: "title"
157
- }, {
158
- default: () => {
159
- var C;
160
- return [((C = l.title) == null ? void 0 : C.call(l)) ?? e.title];
161
- }
162
- }), ((T = l.text) == null ? void 0 : T.call(l)) ?? e.text, (L = l.default) == null ? void 0 : L.call(l)]), l.append && a("div", {
163
- key: "append",
164
- class: "v-alert__append"
165
- }, [l.append()]), f && a("div", {
166
- key: "close",
167
- class: "v-alert__close"
168
- }, [l.close ? a(M, {
169
- key: "close-defaults",
170
- defaults: {
171
- VBtn: {
172
- icon: e.closeIcon,
173
- size: "x-small",
174
- variant: "text"
175
- }
176
- }
177
- }, {
178
- default: () => {
179
- var C;
180
- return [(C = l.close) == null ? void 0 : C.call(l, {
181
- props: I.value
182
- })];
183
- }
184
- }) : a(Ae, O({
185
- key: "close-btn",
186
- icon: e.closeIcon,
187
- size: "x-small",
188
- variant: "text"
189
- }, I.value), null)])];
190
- }
191
- });
192
- };
193
- }
194
- }), Z = Symbol.for("vuetify:selection-control-group"), J = P({
195
- color: String,
196
- disabled: {
197
- type: Boolean,
198
- default: null
199
- },
200
- defaultsTarget: String,
201
- error: Boolean,
202
- id: String,
203
- inline: Boolean,
204
- falseIcon: A,
205
- trueIcon: A,
206
- ripple: {
207
- type: [Boolean, Object],
208
- default: !0
209
- },
210
- multiple: {
211
- type: Boolean,
212
- default: null
213
- },
214
- name: String,
215
- readonly: {
216
- type: Boolean,
217
- default: null
218
- },
219
- modelValue: null,
220
- type: String,
221
- valueComparator: {
222
- type: Function,
223
- default: Ce
224
- },
225
- ...D(),
226
- ...H(),
227
- ...Q()
228
- }, "SelectionControlGroup"), De = P({
229
- ...J({
230
- defaultsTarget: "VSelectionControl"
231
- })
232
- }, "VSelectionControlGroup");
233
- w()({
234
- name: "VSelectionControlGroup",
235
- props: De(),
236
- emits: {
237
- "update:modelValue": (e) => !0
238
- },
239
- setup(e, o) {
240
- let {
241
- slots: r
242
- } = o;
243
- const l = E(e, "modelValue"), n = K(), s = i(() => e.id || `v-selection-control-group-${n}`), c = i(() => e.name || s.value), t = /* @__PURE__ */ new Set();
244
- return Se(Z, {
245
- modelValue: l,
246
- forceUpdate: () => {
247
- t.forEach((u) => u());
248
- },
249
- onForceUpdate: (u) => {
250
- t.add(u), ge(() => {
251
- t.delete(u);
252
- });
253
- }
254
- }), ke({
255
- [e.defaultsTarget]: {
256
- color: d(e, "color"),
257
- disabled: d(e, "disabled"),
258
- density: d(e, "density"),
259
- error: d(e, "error"),
260
- inline: d(e, "inline"),
261
- modelValue: l,
262
- multiple: i(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)),
263
- name: c,
264
- falseIcon: d(e, "falseIcon"),
265
- trueIcon: d(e, "trueIcon"),
266
- readonly: d(e, "readonly"),
267
- ripple: d(e, "ripple"),
268
- type: d(e, "type"),
269
- valueComparator: d(e, "valueComparator")
270
- }
271
- }), U(() => {
272
- var u;
273
- return a("div", {
274
- class: ["v-selection-control-group", {
275
- "v-selection-control-group--inline": e.inline
276
- }, e.class],
277
- style: e.style,
278
- role: e.type === "radio" ? "radiogroup" : void 0
279
- }, [(u = r.default) == null ? void 0 : u.call(r)]);
280
- }), {};
281
- }
282
- });
283
- const W = P({
284
- label: String,
285
- baseColor: String,
286
- trueValue: null,
287
- falseValue: null,
288
- value: null,
289
- ...D(),
290
- ...J()
291
- }, "VSelectionControl");
292
- function Ue(e) {
293
- const o = _e(Z, void 0), {
294
- densityClasses: r
295
- } = Y(e), l = E(e, "modelValue"), n = i(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), s = i(() => e.falseValue !== void 0 ? e.falseValue : !1), c = i(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), t = i({
296
- get() {
297
- const y = o ? o.modelValue.value : l.value;
298
- return c.value ? R(y).some((v) => e.valueComparator(v, n.value)) : e.valueComparator(y, n.value);
299
- },
300
- set(y) {
301
- if (e.readonly) return;
302
- const v = y ? n.value : s.value;
303
- let b = v;
304
- c.value && (b = y ? [...R(l.value), v] : R(l.value).filter((m) => !e.valueComparator(m, n.value))), o ? o.modelValue.value = b : l.value = b;
305
- }
306
- }), {
307
- textColorClasses: u,
308
- textColorStyles: V
309
- } = z(i(() => {
310
- if (!(e.error || e.disabled))
311
- return t.value ? e.color : e.baseColor;
312
- })), {
313
- backgroundColorClasses: k,
314
- backgroundColorStyles: S
315
- } = ie(i(() => t.value && !e.error && !e.disabled ? e.color : e.baseColor)), h = i(() => t.value ? e.trueIcon : e.falseIcon);
316
- return {
317
- group: o,
318
- densityClasses: r,
319
- trueValue: n,
320
- falseValue: s,
321
- model: t,
322
- textColorClasses: u,
323
- textColorStyles: V,
324
- backgroundColorClasses: k,
325
- backgroundColorStyles: S,
326
- icon: h
327
- };
328
- }
329
- const j = w()({
330
- name: "VSelectionControl",
331
- directives: {
332
- Ripple: de
333
- },
334
- inheritAttrs: !1,
335
- props: W(),
336
- emits: {
337
- "update:modelValue": (e) => !0
338
- },
339
- setup(e, o) {
340
- let {
341
- attrs: r,
342
- slots: l
343
- } = o;
344
- const {
345
- group: n,
346
- densityClasses: s,
347
- icon: c,
348
- model: t,
349
- textColorClasses: u,
350
- textColorStyles: V,
351
- backgroundColorClasses: k,
352
- backgroundColorStyles: S,
353
- trueValue: h
354
- } = Ue(e), y = K(), v = N(!1), b = N(!1), m = he(), g = i(() => e.id || `input-${y}`), _ = i(() => !e.disabled && !e.readonly);
355
- n == null || n.onForceUpdate(() => {
356
- m.value && (m.value.checked = t.value);
357
- });
358
- function B(f) {
359
- _.value && (v.value = !0, Te(f.target, ":focus-visible") !== !1 && (b.value = !0));
360
- }
361
- function I() {
362
- v.value = !1, b.value = !1;
363
- }
364
- function x(f) {
365
- f.stopPropagation();
366
- }
367
- function F(f) {
368
- if (!_.value) {
369
- m.value && (m.value.checked = t.value);
370
- return;
371
- }
372
- e.readonly && n && Be(() => n.forceUpdate()), t.value = f.target.checked;
373
- }
374
- return U(() => {
375
- var $, G;
376
- const f = l.label ? l.label({
377
- label: e.label,
378
- props: {
379
- for: g.value
380
- }
381
- }) : e.label, [T, L] = Ie(r), C = a("input", O({
382
- ref: m,
383
- checked: t.value,
384
- disabled: !!e.disabled,
385
- id: g.value,
386
- onBlur: I,
387
- onFocus: B,
388
- onInput: F,
389
- "aria-disabled": !!e.disabled,
390
- "aria-label": e.label,
391
- type: e.type,
392
- value: h.value,
393
- name: e.name,
394
- "aria-checked": e.type === "checkbox" ? t.value : void 0
395
- }, L), null);
396
- return a("div", O({
397
- class: ["v-selection-control", {
398
- "v-selection-control--dirty": t.value,
399
- "v-selection-control--disabled": e.disabled,
400
- "v-selection-control--error": e.error,
401
- "v-selection-control--focused": v.value,
402
- "v-selection-control--focus-visible": b.value,
403
- "v-selection-control--inline": e.inline
404
- }, s.value, e.class]
405
- }, T, {
406
- style: e.style
407
- }), [a("div", {
408
- class: ["v-selection-control__wrapper", u.value],
409
- style: V.value
410
- }, [($ = l.default) == null ? void 0 : $.call(l, {
411
- backgroundColorClasses: k,
412
- backgroundColorStyles: S
413
- }), xe(a("div", {
414
- class: ["v-selection-control__input"]
415
- }, [((G = l.input) == null ? void 0 : G.call(l, {
416
- model: t,
417
- textColorClasses: u,
418
- textColorStyles: V,
419
- backgroundColorClasses: k,
420
- backgroundColorStyles: S,
421
- inputNode: C,
422
- icon: c.value,
423
- props: {
424
- onFocus: B,
425
- onBlur: I,
426
- id: g.value
427
- }
428
- })) ?? a(Pe, null, [c.value && a(q, {
429
- key: "icon",
430
- icon: c.value
431
- }, null), C])]), [[Ee("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), f && a(Oe, {
432
- for: g.value,
433
- onClick: x
434
- }, {
435
- default: () => [f]
436
- })]);
437
- }), {
438
- isFocused: v,
439
- input: m
440
- };
441
- }
442
- }), $e = P({
443
- indeterminate: Boolean,
444
- indeterminateIcon: {
445
- type: A,
446
- default: "$checkboxIndeterminate"
447
- },
448
- ...W({
449
- falseIcon: "$checkboxOff",
450
- trueIcon: "$checkboxOn"
451
- })
452
- }, "VCheckboxBtn"), Qe = w()({
453
- name: "VCheckboxBtn",
454
- props: $e(),
455
- emits: {
456
- "update:modelValue": (e) => !0,
457
- "update:indeterminate": (e) => !0
458
- },
459
- setup(e, o) {
460
- let {
461
- slots: r
462
- } = o;
463
- const l = E(e, "indeterminate"), n = E(e, "modelValue");
464
- function s(u) {
465
- l.value && (l.value = !1);
466
- }
467
- const c = i(() => l.value ? e.indeterminateIcon : e.falseIcon), t = i(() => l.value ? e.indeterminateIcon : e.trueIcon);
468
- return U(() => {
469
- const u = Le(j.filterProps(e), ["modelValue"]);
470
- return a(j, O(u, {
471
- modelValue: n.value,
472
- "onUpdate:modelValue": [(V) => n.value = V, s],
473
- class: ["v-checkbox-btn", e.class],
474
- style: e.style,
475
- type: "checkbox",
476
- falseIcon: c.value,
477
- trueIcon: t.value,
478
- "aria-checked": l.value ? "mixed" : void 0
479
- }), r);
480
- }), {};
481
- }
482
- });
483
- X("css/revolugo.vcheckboxbtn.BQ05xI0T.css");
484
- export {
485
- qe as V,
486
- Qe as a,
487
- j as b,
488
- W as c,
489
- $e as m
490
- };
491
- //# sourceMappingURL=revolugo.vcheckboxbtn.De-k8-O3.min.js.map
@@ -1,139 +0,0 @@
1
- import { g as w, u as P, l as E, y as T } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
2
- import { f as b } from "./revolugo.forwardrefs.-bfQnFea.min.js";
3
- import { Z as p, _ as x, a2 as R, C as D, W as A, bo as U, M as g, y as v, a as h, bR as M, R as N } from "./revolugo.index.wc.7I5uexuc.min.js";
4
- import { V as _ } from "./revolugo.dialog-transition.C6S7Ci1s.min.js";
5
- import { a as B } from "./revolugo.index.gIPq0z7C.min.js";
6
- function O(e) {
7
- try {
8
- if (typeof document < "u") {
9
- window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
10
- sheets: [],
11
- components: []
12
- };
13
- const c = import.meta.url, s = c.slice(0, c.lastIndexOf("/") + 1) + e;
14
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(s);
15
- for (const o of REVOLUGO_ELEMENTS_STYLES.components)
16
- o(s);
17
- if (e.indexOf("fonts") >= 0) {
18
- const o = document.createElement("link");
19
- o.rel = "stylesheet", linK.href = s, document.head.appendChild(o);
20
- }
21
- }
22
- } catch (c) {
23
- console.error("[revolugo-elements] ", c);
24
- }
25
- }
26
- const I = x({
27
- fullscreen: Boolean,
28
- retainFocus: {
29
- type: Boolean,
30
- default: !0
31
- },
32
- scrollable: Boolean,
33
- ...T({
34
- origin: "center center",
35
- scrollStrategy: "block",
36
- transition: {
37
- component: _
38
- },
39
- zIndex: 2400
40
- })
41
- }, "VDialog"), k = p()({
42
- name: "VDialog",
43
- props: I(),
44
- emits: {
45
- "update:modelValue": (e) => !0,
46
- afterEnter: () => !0,
47
- afterLeave: () => !0
48
- },
49
- setup(e, c) {
50
- let {
51
- emit: s,
52
- slots: o
53
- } = c;
54
- const d = R(e, "modelValue"), {
55
- scopeId: V
56
- } = w(), t = D();
57
- function m(n) {
58
- var r, u;
59
- const l = n.relatedTarget, i = n.target;
60
- if (l !== i && ((r = t.value) != null && r.contentEl) && // We're the topmost dialog
61
- ((u = t.value) != null && u.globalTop) && // It isn't the document or the dialog body
62
- ![document, t.value.contentEl].includes(i) && // It isn't inside the dialog body
63
- !t.value.contentEl.contains(i)) {
64
- const a = M(t.value.contentEl);
65
- if (!a.length) return;
66
- const f = a[0], y = a[a.length - 1];
67
- l === f ? y.focus() : f.focus();
68
- }
69
- }
70
- A(() => {
71
- document.removeEventListener("focusin", m);
72
- }), U && g(() => d.value && e.retainFocus, (n) => {
73
- n ? document.addEventListener("focusin", m) : document.removeEventListener("focusin", m);
74
- }, {
75
- immediate: !0
76
- });
77
- function L() {
78
- var n;
79
- s("afterEnter"), (n = t.value) != null && n.contentEl && !t.value.contentEl.contains(document.activeElement) && t.value.contentEl.focus({
80
- preventScroll: !0
81
- });
82
- }
83
- function S() {
84
- s("afterLeave");
85
- }
86
- return g(d, async (n) => {
87
- var l;
88
- n || (await N(), (l = t.value.activatorEl) == null || l.focus({
89
- preventScroll: !0
90
- }));
91
- }), P(() => {
92
- const n = E.filterProps(e), l = v({
93
- "aria-haspopup": "dialog"
94
- }, e.activatorProps), i = v({
95
- tabindex: -1
96
- }, e.contentProps);
97
- return h(E, v({
98
- ref: t,
99
- class: ["v-dialog", {
100
- "v-dialog--fullscreen": e.fullscreen,
101
- "v-dialog--scrollable": e.scrollable
102
- }, e.class],
103
- style: e.style
104
- }, n, {
105
- modelValue: d.value,
106
- "onUpdate:modelValue": (r) => d.value = r,
107
- "aria-modal": "true",
108
- activatorProps: l,
109
- contentProps: i,
110
- height: e.fullscreen ? void 0 : e.height,
111
- width: e.fullscreen ? void 0 : e.width,
112
- maxHeight: e.fullscreen ? void 0 : e.maxHeight,
113
- maxWidth: e.fullscreen ? void 0 : e.maxWidth,
114
- role: "dialog",
115
- onAfterEnter: L,
116
- onAfterLeave: S
117
- }, V), {
118
- activator: o.activator,
119
- default: function() {
120
- for (var r = arguments.length, u = new Array(r), a = 0; a < r; a++)
121
- u[a] = arguments[a];
122
- return h(B, {
123
- root: "VDialog"
124
- }, {
125
- default: () => {
126
- var f;
127
- return [(f = o.default) == null ? void 0 : f.call(o, ...u)];
128
- }
129
- });
130
- }
131
- });
132
- }), b({}, t);
133
- }
134
- });
135
- O("css/revolugo.vdialog.DwTSAOeg.css");
136
- export {
137
- k as V
138
- };
139
- //# sourceMappingURL=revolugo.vdialog.CjEajxIC.min.js.map
@@ -1,77 +0,0 @@
1
- import { d as u, u as m, m as h } from "./revolugo.webcomponentwrapper.DFYGhYzz.min.js";
2
- import { Z as E, _ as f, aD as S, ab as _, D as T, a9 as s, a as o, aF as y } from "./revolugo.index.wc.7I5uexuc.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.Cp9bHPnI.min.js.map