@revolugo/elements 7.4.0 → 7.4.1-alpha.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.
- package/.storybook/runtime-config.js +28 -0
- package/dist/index.es.min.js +16 -13
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo.banktransferdetails.CI0Nw8V7.min.js → revolugo.banktransferdetails.DITREV6I.min.js} +6 -6
- package/dist/{revolugo.bookingdetailssidebar.B2b0bTuE.min.js → revolugo.bookingdetailssidebar.C562RyLk.min.js} +6 -6
- package/dist/{revolugo.bookingmanager.DuUMM4xF.min.js → revolugo.bookingmanager.DQYNq0jJ.min.js} +6 -6
- package/dist/{revolugo.cancellationpoliciesbadge.Csq2OyU2.min.js → revolugo.cancellationpoliciesbadge.BkjaUnjw.min.js} +6 -6
- package/dist/{revolugo.cancellationpolicieslist.CDnFQD4Q.min.js → revolugo.cancellationpolicieslist.BfHjpxRB.min.js} +6 -6
- package/dist/{revolugo.creditcardstripeform.CeHUdEGl.min.js → revolugo.creditcardstripeform.Btrm2VBJ.min.js} +4 -4
- package/dist/{revolugo.creditcardstripeform.OqYF3UVT.min.js → revolugo.creditcardstripeform.bXT5iBGW.min.js} +8 -8
- package/dist/{revolugo.currencypickerbtn.DllyVD1O.min.js → revolugo.currencypickerbtn.Cxhrwr7g.min.js} +6 -6
- package/dist/{revolugo.dialog-attach.DX3K1UZy.min.js → revolugo.dialog-attach.BB8XoCeq.min.js} +2 -2
- package/dist/{revolugo.fastbookingflow.CJkQQAAk.min.js → revolugo.fastbookingflow.OsUsWIVW.min.js} +6 -6
- package/dist/{revolugo.fullbookingflow.BUZ1_hQT.min.js → revolugo.fullbookingflow.DHTPIRwd.min.js} +6 -6
- package/dist/{revolugo.hoteldescriptionview.CCpNNhEC.min.js → revolugo.hoteldescriptionview.DLVBBnVk.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.DJs0tLHF.min.js → revolugo.hotelofferlist.BAEeP9Yr.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenu.CrPKObk0.min.js → revolugo.hoteloffersearchmenu.eb9joqQA.min.js} +7 -7
- package/dist/{revolugo.hoteloffersmap.CHlsp139.min.js → revolugo.hoteloffersmap.a4TK8aQi.min.js} +6 -6
- package/dist/{revolugo.hoteloffersview.CvK5HDLL.min.js → revolugo.hoteloffersview.D11Nx7H5.min.js} +6 -6
- package/dist/{revolugo.hotelroomofferlist.BkTo6Ohy.min.js → revolugo.hotelroomofferlist.C9zMvwSD.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.Btaqc1Hd.min.js → revolugo.hotelroomoffersbookingflow.CsiGakOw.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.D2adJe50.min.js → revolugo.hotelroomoffersbookingflow.hQVUUPRT.min.js} +293 -296
- package/dist/{revolugo.hotelroomoffersearchmenu.D6neYjIf.min.js → revolugo.hotelroomoffersearchmenu.B-tITNMg.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersview.DO6Q65_E.min.js → revolugo.hotelroomoffersview.9vPH75mk.min.js} +6 -6
- package/dist/revolugo.index.dzKjDgfX.min.js +101 -0
- package/dist/{revolugo.index.wc.Boe64QLC.min.js → revolugo.index.wc.CItjK_4R.min.js} +8860 -8832
- package/dist/{revolugo.langpickerbtn.D7OQWBzb.min.js → revolugo.langpickerbtn.B6Rw2Yux.min.js} +6 -6
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.prebookform.B80dCnTD.min.js → revolugo.prebookform.CAswM0Jr.min.js} +6 -6
- package/dist/{revolugo.preferencesmenu.BkqyitWX.min.js → revolugo.preferencesmenu.B0YkiQ1k.min.js} +5 -5
- package/dist/{revolugo.preferencesmenu.DFvWzs70.min.js → revolugo.preferencesmenu.Bs6l0k3K.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.K4CyMzo1.min.js → revolugo.roominglisteditor.FZqQVXdE.min.js} +6 -6
- package/dist/{revolugo.storybooktoolbar.DLIIbHnu.min.js → revolugo.storybooktoolbar.X8FhujN7.min.js} +5 -5
- package/dist/{revolugo.termsandconditions.CY1E7nB6.min.js → revolugo.termsandconditions.Y_B-gqQb.min.js} +6 -6
- package/dist/{revolugo.vtoolbar.DMPcZE9N.min.js → revolugo.vtoolbar.EJ_yY3LW.min.js} +3 -3
- package/dist/{revolugo.webcomponentwrapper.CLTetiJy.min.js → revolugo.webcomponentwrapper.DzQQZdr7.min.js} +1327 -1325
- package/package.json +8 -7
- package/dist/revolugo.index.Cgu-cy-m.min.js +0 -101
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@revolugo/elements",
|
|
3
|
-
"version": "7.4.0",
|
|
3
|
+
"version": "7.4.1-alpha.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Revolugo Elements UI library",
|
|
6
6
|
"author": "Revolugo",
|
|
7
7
|
"files": [
|
|
8
8
|
".keep",
|
|
9
9
|
"dist",
|
|
10
|
-
"storybook-static"
|
|
10
|
+
"storybook-static",
|
|
11
|
+
".storybook/runtime-config.js"
|
|
11
12
|
],
|
|
12
13
|
"type": "module",
|
|
13
14
|
"main": "./dist/index.min.js",
|
|
@@ -16,10 +17,10 @@
|
|
|
16
17
|
"http-server": "14.1.1"
|
|
17
18
|
},
|
|
18
19
|
"devDependencies": {
|
|
19
|
-
"@revolugo/booking-api-client": "7.4.
|
|
20
|
-
"@revolugo/
|
|
21
|
-
"@revolugo/
|
|
22
|
-
"@revolugo/elements-
|
|
20
|
+
"@revolugo/booking-api-client": "7.4.1",
|
|
21
|
+
"@revolugo/common": "7.4.1",
|
|
22
|
+
"@revolugo/elements-core": "7.4.1",
|
|
23
|
+
"@revolugo/elements-documentation": "7.4.1"
|
|
23
24
|
},
|
|
24
25
|
"engines": {
|
|
25
26
|
"node": ">=20.18.1 <25"
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
"storybook:build": "LOCAL_DIST=false storybook build --docs && cp -r ./src/health ./storybook-static/",
|
|
40
41
|
"storybook:dev": "LOCAL_DIST=true storybook dev -p 6002",
|
|
41
42
|
"storybook:render": "bun ./.storybook/render.mts",
|
|
42
|
-
"storybook:serve": "http-server ./storybook-static -p 6002 | grep -v 'GET /health'",
|
|
43
|
+
"storybook:serve": "node ./.storybook/runtime-config.js && http-server ./storybook-static -p 6002 | grep -v 'GET /health'",
|
|
43
44
|
"typecheck": "vue-tsc -p tsconfig.build.json --noEmit",
|
|
44
45
|
"watch": "vite build --mode development --watch &"
|
|
45
46
|
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { v as a, b4 as D, d as p, b5 as h, P as M, b as w, b6 as Y } from "./revolugo.index.wc.Boe64QLC.min.js";
|
|
2
|
-
function x(r) {
|
|
3
|
-
return /^[2]\d{3}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$/u.test(r);
|
|
4
|
-
}
|
|
5
|
-
function y(r) {
|
|
6
|
-
return r.filter(
|
|
7
|
-
(e) => x(e) && a(e, "YYYY-MM-DD").isSameOrAfter(a(), "day")
|
|
8
|
-
).sort((e, t) => a(e).isAfter(a(t), "day") ? 1 : -1);
|
|
9
|
-
}
|
|
10
|
-
function O(r, n, e = D) {
|
|
11
|
-
const t = [];
|
|
12
|
-
let i = a(r);
|
|
13
|
-
for (; i.isSameOrBefore(n); )
|
|
14
|
-
t.push(i.format(e)), i = i.add(1, "day");
|
|
15
|
-
return t;
|
|
16
|
-
}
|
|
17
|
-
function W(r, n) {
|
|
18
|
-
const e = [...new Set(y([r, n]))];
|
|
19
|
-
if (e.length === 2)
|
|
20
|
-
return e;
|
|
21
|
-
if (e.length === 1) {
|
|
22
|
-
const t = e[0];
|
|
23
|
-
return t ? t === a().format("YYYY-MM-DD") ? [
|
|
24
|
-
a().format("YYYY-MM-DD"),
|
|
25
|
-
a().add(1, "day").format("YYYY-MM-DD")
|
|
26
|
-
] : [a().format("YYYY-MM-DD"), t] : [
|
|
27
|
-
a().format("YYYY-MM-DD"),
|
|
28
|
-
a().add(1, "day").format("YYYY-MM-DD")
|
|
29
|
-
];
|
|
30
|
-
}
|
|
31
|
-
return [
|
|
32
|
-
a().format("YYYY-MM-DD"),
|
|
33
|
-
a().add(1, "day").format("YYYY-MM-DD")
|
|
34
|
-
];
|
|
35
|
-
}
|
|
36
|
-
const A = (r, n, e) => p({
|
|
37
|
-
watch: r.reduce((t, i) => (t[i] = {
|
|
38
|
-
deep: e?.deep,
|
|
39
|
-
handler(...o) {
|
|
40
|
-
e?.nextTick ? this.$nextTick(() => {
|
|
41
|
-
this[n](...o);
|
|
42
|
-
}) : this[n](...o);
|
|
43
|
-
},
|
|
44
|
-
immediate: e?.immediate
|
|
45
|
-
}, t), {})
|
|
46
|
-
});
|
|
47
|
-
function P(r, n) {
|
|
48
|
-
return h() ? (M(r, n), !0) : !1;
|
|
49
|
-
}
|
|
50
|
-
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
51
|
-
const l = () => {
|
|
52
|
-
};
|
|
53
|
-
function T(r, n) {
|
|
54
|
-
function e(...t) {
|
|
55
|
-
return new Promise((i, o) => {
|
|
56
|
-
Promise.resolve(r(() => n.apply(this, t), {
|
|
57
|
-
fn: n,
|
|
58
|
-
thisArg: this,
|
|
59
|
-
args: t
|
|
60
|
-
})).then(i).catch(o);
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
return e;
|
|
64
|
-
}
|
|
65
|
-
const b = (r) => r();
|
|
66
|
-
function g(r, n = {}) {
|
|
67
|
-
let e, t, i = l;
|
|
68
|
-
const o = (s) => {
|
|
69
|
-
clearTimeout(s), i(), i = l;
|
|
70
|
-
};
|
|
71
|
-
let f;
|
|
72
|
-
return (s) => {
|
|
73
|
-
const d = Y(r), c = Y(n.maxWait);
|
|
74
|
-
return e && o(e), d <= 0 || c !== void 0 && c <= 0 ? (t && (o(t), t = void 0), Promise.resolve(s())) : new Promise((u, m) => {
|
|
75
|
-
i = n.rejectOnCancel ? m : u, f = s, c && !t && (t = setTimeout(() => {
|
|
76
|
-
e && o(e), t = void 0, u(f());
|
|
77
|
-
}, c)), e = setTimeout(() => {
|
|
78
|
-
t && o(t), t = void 0, u(s());
|
|
79
|
-
}, d);
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
function v(r, n, e = {}) {
|
|
84
|
-
const { eventFilter: t = b, ...i } = e;
|
|
85
|
-
return w(r, T(t, n), i);
|
|
86
|
-
}
|
|
87
|
-
function R(r, n, e = {}) {
|
|
88
|
-
const { debounce: t = 0, maxWait: i = void 0, ...o } = e;
|
|
89
|
-
return v(r, n, {
|
|
90
|
-
...o,
|
|
91
|
-
eventFilter: g(t, { maxWait: i })
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
export {
|
|
95
|
-
R as a,
|
|
96
|
-
O as g,
|
|
97
|
-
W as s,
|
|
98
|
-
P as t,
|
|
99
|
-
A as w
|
|
100
|
-
};
|
|
101
|
-
//# sourceMappingURL=revolugo.index.Cgu-cy-m.min.js.map
|