@revolugo/elements 6.10.7-beta.0 → 6.10.7-beta.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{revolugo.banktransferdetails.CunPpKlo.min.js → revolugo.banktransferdetails.DJBwhJjb.min.js} +6 -6
- package/dist/{revolugo.bookingdetailssidebar.CBZr3DOL.min.js → revolugo.bookingdetailssidebar.D0y2IYtP.min.js} +6 -6
- package/dist/{revolugo.bookingmanager.dFt2gvy1.min.js → revolugo.bookingmanager.kzPpSatG.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.BEP7GHzL.min.js → revolugo.cancellationpoliciesbadge.Cp8Ri4fm.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.props.DGyLCupY.min.js → revolugo.cancellationpoliciesbadge.props.SJpITnvP.min.js} +7701 -8306
- package/dist/{revolugo.cancellationpolicieslist.C4nrZ0as.min.js → revolugo.cancellationpolicieslist.CcvBik6m.min.js} +6 -6
- package/dist/{revolugo.creditcardstripeform.COw9FjzJ.min.js → revolugo.creditcardstripeform.B6BxYoKO.min.js} +4 -4
- package/dist/{revolugo.creditcardstripeform.Dd6JCSfw.min.js → revolugo.creditcardstripeform.BcM4jep3.min.js} +28 -28
- package/dist/{revolugo.currencypickerbtn.otCvh3ZY.min.js → revolugo.currencypickerbtn.Bk6jxV3J.min.js} +6 -6
- package/dist/{revolugo.dialog-attach.cJj0kmP8.min.js → revolugo.dialog-attach.BWGZX9gY.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.BM87506F.min.js → revolugo.fastbookingflow.CFYkvT6k.min.js} +6 -6
- package/dist/{revolugo.fullbookingflow.CUuyRadi.min.js → revolugo.fullbookingflow.C5aZVJPK.min.js} +6 -6
- package/dist/{revolugo.hoteldescriptionview.C5ZguX0R.min.js → revolugo.hoteldescriptionview.D5jKC8vs.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.CyryPDob.min.js → revolugo.hotelofferlist.CZ-m4aSW.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenu.C8TG6Ed6.min.js → revolugo.hoteloffersearchmenu.B4wsn0Nb.min.js} +7 -7
- package/dist/{revolugo.hoteloffersmap.B7SpBr8f.min.js → revolugo.hoteloffersmap.D6gwtS9Y.min.js} +6 -6
- package/dist/{revolugo.hoteloffersview.C8Lt8feZ.min.js → revolugo.hoteloffersview.Hk4HenEC.min.js} +6 -6
- package/dist/{revolugo.hotelroomofferlist.CY01SC9B.min.js → revolugo.hotelroomofferlist.8HC1fKjD.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.icX6qoRr.min.js → revolugo.hotelroomoffersbookingflow.BS8iz7tG.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersearchmenu.D5K9Z6FF.min.js → revolugo.hotelroomoffersearchmenu.7keUjPF_.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersview.J7QCa4Hp.min.js → revolugo.hotelroomoffersview.Ds1aayr_.min.js} +6 -6
- package/dist/{revolugo.index.MjysyCnN.min.js → revolugo.index.L066Kz05.min.js} +8 -8
- package/dist/{revolugo.index.wc.DWw4vRyR.min.js → revolugo.index.wc.CPrL9MAO.min.js} +8778 -9306
- package/dist/{revolugo.langpickerbtn.G449hEGu.min.js → revolugo.langpickerbtn.Bvdj65Ei.min.js} +6 -6
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.prebookform.DVNUk2TO.min.js → revolugo.prebookform.DDYlR7QH.min.js} +6 -6
- package/dist/{revolugo.preferencesmenu.CVSVk-sT.min.js → revolugo.preferencesmenu.DgYB3Vli.min.js} +36 -36
- package/dist/{revolugo.preferencesmenu.OUMVOxi-.min.js → revolugo.preferencesmenu.DlDYU9WW.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.Dj6K2Q1V.min.js → revolugo.roominglisteditor.Bn_H8rhK.min.js} +6 -6
- package/dist/{revolugo.storybooktoolbar.C0ohGYAZ.min.js → revolugo.storybooktoolbar.JlAeb9qj.min.js} +30 -30
- package/dist/{revolugo.termsandconditions.Dj4KU29f.min.js → revolugo.termsandconditions.C5UQHITY.min.js} +6 -6
- package/dist/revolugo.vtoolbar.BZeajwUW.min.js +205 -0
- package/dist/{revolugo.webcomponentwrapper.TCFMIVwD.min.js → revolugo.webcomponentwrapper.Ai4VfO3i.min.js} +6797 -7253
- package/package.json +1 -1
- package/dist/revolugo.vtoolbar.CXl_X0K6.min.js +0 -187
| @@ -0,0 +1,205 @@ | |
| 1 | 
            +
            import { s as T, a5 as x, Z as E, a0 as O, ae as C, a4 as N, r as w, w as R, a7 as B, ag as P, ac as I, G as v, X as U } from "./revolugo.webcomponentwrapper.Ai4VfO3i.min.js";
         | 
| 2 | 
            +
            import { K as V, L as S, a, a5 as D, N as G, aa as H, s as M, b as y, a4 as Y, R as j, ac as m } from "./revolugo.index.wc.CPrL9MAO.min.js";
         | 
| 3 | 
            +
            function L(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 o of REVOLUGO_ELEMENTS_STYLES.components)
         | 
| 13 | 
            +
                    o(t);
         | 
| 14 | 
            +
                  if (e.indexOf("fonts") >= 0) {
         | 
| 15 | 
            +
                    const o = document.createElement("link");
         | 
| 16 | 
            +
                    o.rel = "stylesheet", linK.href = t, document.head.appendChild(o);
         | 
| 17 | 
            +
                  }
         | 
| 18 | 
            +
                }
         | 
| 19 | 
            +
              } catch (n) {
         | 
| 20 | 
            +
                console.error("[revolugo-elements] ", n);
         | 
| 21 | 
            +
              }
         | 
| 22 | 
            +
            }
         | 
| 23 | 
            +
            function b(e) {
         | 
| 24 | 
            +
              return e !== null && typeof e == "object";
         | 
| 25 | 
            +
            }
         | 
| 26 | 
            +
            function $(e, ...n) {
         | 
| 27 | 
            +
              const t = e ?? {}, o = /* @__PURE__ */ new WeakMap();
         | 
| 28 | 
            +
              function c(s, d) {
         | 
| 29 | 
            +
                for (const i in d)
         | 
| 30 | 
            +
                  if (Object.hasOwn(d, i)) {
         | 
| 31 | 
            +
                    const l = d[i], u = s[i];
         | 
| 32 | 
            +
                    if (u === void 0)
         | 
| 33 | 
            +
                      if (b(l))
         | 
| 34 | 
            +
                        if (o.has(l))
         | 
| 35 | 
            +
                          s[i] = o.get(l);
         | 
| 36 | 
            +
                        else {
         | 
| 37 | 
            +
                          const r = Array.isArray(l) ? [] : {};
         | 
| 38 | 
            +
                          o.set(l, r), c(r, l), s[i] = r;
         | 
| 39 | 
            +
                        }
         | 
| 40 | 
            +
                      else
         | 
| 41 | 
            +
                        s[i] = l;
         | 
| 42 | 
            +
                    else b(u) && b(l) && c(u, l);
         | 
| 43 | 
            +
                  }
         | 
| 44 | 
            +
              }
         | 
| 45 | 
            +
              for (const s of n)
         | 
| 46 | 
            +
                s != null && c(t, s);
         | 
| 47 | 
            +
              return t;
         | 
| 48 | 
            +
            }
         | 
| 49 | 
            +
            const A = S({
         | 
| 50 | 
            +
              text: String,
         | 
| 51 | 
            +
              ...E(),
         | 
| 52 | 
            +
              ...x()
         | 
| 53 | 
            +
            }, "VToolbarTitle"), K = V()({
         | 
| 54 | 
            +
              name: "VToolbarTitle",
         | 
| 55 | 
            +
              props: A(),
         | 
| 56 | 
            +
              setup(e, n) {
         | 
| 57 | 
            +
                let {
         | 
| 58 | 
            +
                  slots: t
         | 
| 59 | 
            +
                } = n;
         | 
| 60 | 
            +
                return T(() => {
         | 
| 61 | 
            +
                  const o = !!(t.default || t.text || e.text);
         | 
| 62 | 
            +
                  return a(e.tag, {
         | 
| 63 | 
            +
                    class: ["v-toolbar-title", e.class],
         | 
| 64 | 
            +
                    style: e.style
         | 
| 65 | 
            +
                  }, {
         | 
| 66 | 
            +
                    default: () => [o && a("div", {
         | 
| 67 | 
            +
                      class: "v-toolbar-title__placeholder"
         | 
| 68 | 
            +
                    }, [t.text ? t.text() : e.text, t.default?.()])]
         | 
| 69 | 
            +
                  });
         | 
| 70 | 
            +
                }), {};
         | 
| 71 | 
            +
              }
         | 
| 72 | 
            +
            }), Z = [null, "prominent", "default", "comfortable", "compact"], F = S({
         | 
| 73 | 
            +
              absolute: Boolean,
         | 
| 74 | 
            +
              collapse: Boolean,
         | 
| 75 | 
            +
              color: String,
         | 
| 76 | 
            +
              density: {
         | 
| 77 | 
            +
                type: String,
         | 
| 78 | 
            +
                default: "default",
         | 
| 79 | 
            +
                validator: (e) => Z.includes(e)
         | 
| 80 | 
            +
              },
         | 
| 81 | 
            +
              extended: Boolean,
         | 
| 82 | 
            +
              extensionHeight: {
         | 
| 83 | 
            +
                type: [Number, String],
         | 
| 84 | 
            +
                default: 48
         | 
| 85 | 
            +
              },
         | 
| 86 | 
            +
              flat: Boolean,
         | 
| 87 | 
            +
              floating: Boolean,
         | 
| 88 | 
            +
              height: {
         | 
| 89 | 
            +
                type: [Number, String],
         | 
| 90 | 
            +
                default: 64
         | 
| 91 | 
            +
              },
         | 
| 92 | 
            +
              image: String,
         | 
| 93 | 
            +
              title: String,
         | 
| 94 | 
            +
              ...P(),
         | 
| 95 | 
            +
              ...E(),
         | 
| 96 | 
            +
              ...B(),
         | 
| 97 | 
            +
              ...R(),
         | 
| 98 | 
            +
              ...x({
         | 
| 99 | 
            +
                tag: "header"
         | 
| 100 | 
            +
              }),
         | 
| 101 | 
            +
              ...j()
         | 
| 102 | 
            +
            }, "VToolbar"), q = V()({
         | 
| 103 | 
            +
              name: "VToolbar",
         | 
| 104 | 
            +
              props: F(),
         | 
| 105 | 
            +
              setup(e, n) {
         | 
| 106 | 
            +
                let {
         | 
| 107 | 
            +
                  slots: t
         | 
| 108 | 
            +
                } = n;
         | 
| 109 | 
            +
                const {
         | 
| 110 | 
            +
                  backgroundColorClasses: o,
         | 
| 111 | 
            +
                  backgroundColorStyles: c
         | 
| 112 | 
            +
                } = O(D(e, "color")), {
         | 
| 113 | 
            +
                  borderClasses: s
         | 
| 114 | 
            +
                } = C(e), {
         | 
| 115 | 
            +
                  elevationClasses: d
         | 
| 116 | 
            +
                } = N(e), {
         | 
| 117 | 
            +
                  roundedClasses: i
         | 
| 118 | 
            +
                } = w(e), {
         | 
| 119 | 
            +
                  themeClasses: l
         | 
| 120 | 
            +
                } = G(e), {
         | 
| 121 | 
            +
                  rtlClasses: u
         | 
| 122 | 
            +
                } = H(), r = M(!!(e.extended || t.extension?.())), f = y(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), g = y(() => r.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
         | 
| 123 | 
            +
                return Y({
         | 
| 124 | 
            +
                  VBtn: {
         | 
| 125 | 
            +
                    variant: "text"
         | 
| 126 | 
            +
                  }
         | 
| 127 | 
            +
                }), T(() => {
         | 
| 128 | 
            +
                  const _ = !!(e.title || t.title), k = !!(t.image || e.image), h = t.extension?.();
         | 
| 129 | 
            +
                  return r.value = !!(e.extended || h), a(e.tag, {
         | 
| 130 | 
            +
                    class: ["v-toolbar", {
         | 
| 131 | 
            +
                      "v-toolbar--absolute": e.absolute,
         | 
| 132 | 
            +
                      "v-toolbar--collapse": e.collapse,
         | 
| 133 | 
            +
                      "v-toolbar--flat": e.flat,
         | 
| 134 | 
            +
                      "v-toolbar--floating": e.floating,
         | 
| 135 | 
            +
                      [`v-toolbar--density-${e.density}`]: !0
         | 
| 136 | 
            +
                    }, o.value, s.value, d.value, i.value, l.value, u.value, e.class],
         | 
| 137 | 
            +
                    style: [c.value, e.style]
         | 
| 138 | 
            +
                  }, {
         | 
| 139 | 
            +
                    default: () => [k && a("div", {
         | 
| 140 | 
            +
                      key: "image",
         | 
| 141 | 
            +
                      class: "v-toolbar__image"
         | 
| 142 | 
            +
                    }, [t.image ? a(v, {
         | 
| 143 | 
            +
                      key: "image-defaults",
         | 
| 144 | 
            +
                      disabled: !e.image,
         | 
| 145 | 
            +
                      defaults: {
         | 
| 146 | 
            +
                        VImg: {
         | 
| 147 | 
            +
                          cover: !0,
         | 
| 148 | 
            +
                          src: e.image
         | 
| 149 | 
            +
                        }
         | 
| 150 | 
            +
                      }
         | 
| 151 | 
            +
                    }, t.image) : a(I, {
         | 
| 152 | 
            +
                      key: "image-img",
         | 
| 153 | 
            +
                      cover: !0,
         | 
| 154 | 
            +
                      src: e.image
         | 
| 155 | 
            +
                    }, null)]), a(v, {
         | 
| 156 | 
            +
                      defaults: {
         | 
| 157 | 
            +
                        VTabs: {
         | 
| 158 | 
            +
                          height: m(f.value)
         | 
| 159 | 
            +
                        }
         | 
| 160 | 
            +
                      }
         | 
| 161 | 
            +
                    }, {
         | 
| 162 | 
            +
                      default: () => [a("div", {
         | 
| 163 | 
            +
                        class: "v-toolbar__content",
         | 
| 164 | 
            +
                        style: {
         | 
| 165 | 
            +
                          height: m(f.value)
         | 
| 166 | 
            +
                        }
         | 
| 167 | 
            +
                      }, [t.prepend && a("div", {
         | 
| 168 | 
            +
                        class: "v-toolbar__prepend"
         | 
| 169 | 
            +
                      }, [t.prepend?.()]), _ && a(K, {
         | 
| 170 | 
            +
                        key: "title",
         | 
| 171 | 
            +
                        text: e.title
         | 
| 172 | 
            +
                      }, {
         | 
| 173 | 
            +
                        text: t.title
         | 
| 174 | 
            +
                      }), t.default?.(), t.append && a("div", {
         | 
| 175 | 
            +
                        class: "v-toolbar__append"
         | 
| 176 | 
            +
                      }, [t.append?.()])])]
         | 
| 177 | 
            +
                    }), a(v, {
         | 
| 178 | 
            +
                      defaults: {
         | 
| 179 | 
            +
                        VTabs: {
         | 
| 180 | 
            +
                          height: m(g.value)
         | 
| 181 | 
            +
                        }
         | 
| 182 | 
            +
                      }
         | 
| 183 | 
            +
                    }, {
         | 
| 184 | 
            +
                      default: () => [a(U, null, {
         | 
| 185 | 
            +
                        default: () => [r.value && a("div", {
         | 
| 186 | 
            +
                          class: "v-toolbar__extension",
         | 
| 187 | 
            +
                          style: {
         | 
| 188 | 
            +
                            height: m(g.value)
         | 
| 189 | 
            +
                          }
         | 
| 190 | 
            +
                        }, [h])]
         | 
| 191 | 
            +
                      })]
         | 
| 192 | 
            +
                    })]
         | 
| 193 | 
            +
                  });
         | 
| 194 | 
            +
                }), {
         | 
| 195 | 
            +
                  contentHeight: f,
         | 
| 196 | 
            +
                  extensionHeight: g
         | 
| 197 | 
            +
                };
         | 
| 198 | 
            +
              }
         | 
| 199 | 
            +
            });
         | 
| 200 | 
            +
            L("css/revolugo.vtoolbar.BZert82L.css");
         | 
| 201 | 
            +
            export {
         | 
| 202 | 
            +
              q as V,
         | 
| 203 | 
            +
              $ as d
         | 
| 204 | 
            +
            };
         | 
| 205 | 
            +
            //# sourceMappingURL=revolugo.vtoolbar.BZeajwUW.min.js.map
         |