@revolugo/elements 7.17.2-alpha.0 → 7.17.2-rc.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.
@@ -13,9 +13,9 @@ var d = (t) => {
13
13
  let [r] = document.querySelectorAll("script");
14
14
  return r ? r?.parentNode?.insertBefore(e, r) : document.head.append(e), e;
15
15
  }, _ = (t, e) => {
16
- let r = t ? process.env.ELEMENTS_NEXT_ENTRY_URL : "https://cdn.jsdelivr.net/npm/@revolugo/elements@7.17.2-alpha.0/dist/revolugo.min.js";
16
+ let r = t ? process.env.ELEMENTS_NEXT_ENTRY_URL : "https://cdn.jsdelivr.net/npm/@revolugo/elements@7.17.2-rc.0/dist/revolugo.min.js";
17
17
  if (!r) throw Error("Missing elements entry URL environment variable");
18
- let o = e || "7.17.2-alpha.0", n = o ? r.replace("7.17.2-alpha.0", o) : r, s = [...document.querySelectorAll("script")].find((l) => l.src.includes(n));
18
+ let o = e || "7.17.2-rc.0", n = o ? r.replace("7.17.2-rc.0", o) : r, s = [...document.querySelectorAll("script")].find((l) => l.src.includes(n));
19
19
  return new Promise((l) => {
20
20
  if (s) {
21
21
  l(!0);
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.min.js","names":[],"sources":["../../core/dist/index.script.js","../src/index.ts"],"sourcesContent":["//#region src/index.script.ts\nvar e = (e) => {\n\twindow.RevolugoElements = {\n\t\t...window.RevolugoElements,\n\t\tready: (e) => {\n\t\t\tlet t = window.RevolugoElements?._ready;\n\t\t\twindow.RevolugoElements._ready = () => {\n\t\t\t\tt && t(), e();\n\t\t\t};\n\t\t}\n\t};\n\tlet t = document.createElement(\"script\");\n\tt.src = e, t.type = \"module\", t.async = !1;\n\tlet [n] = document.querySelectorAll(\"script\");\n\treturn n ? n?.parentNode?.insertBefore(t, n) : document.head.append(t), t;\n}, t = (t, n) => {\n\tlet r = t ? process.env.ELEMENTS_NEXT_ENTRY_URL : \"https://cdn.jsdelivr.net/npm/@revolugo/elements@7.17.2-alpha.0/dist/revolugo.min.js\";\n\tif (!r) throw Error(\"Missing elements entry URL environment variable\");\n\tlet i = n || \"7.17.2-alpha.0\", a = i ? r.replace(\"7.17.2-alpha.0\", i) : r, o = [...document.querySelectorAll(\"script\")].find((e) => e.src.includes(a));\n\treturn new Promise((t) => {\n\t\tif (o) {\n\t\t\tt(!0);\n\t\t\treturn;\n\t\t}\n\t\te(a).addEventListener(\"load\", () => {\n\t\t\tt(!0);\n\t\t});\n\t});\n};\n//#endregion\nexport { e as injectScript, t as loadScript };\n\n//# sourceMappingURL=index.script.js.map","import { loadScript } from '@revolugo/elements-core/script'\n\n// eslint-disable-next-line no-console\nloadScript().catch((error: unknown) => console.error(error))\n"],"mappings":"AACA,IAAI,IAAA,CAAK,MAAM;AACd,SAAO,mBAAmB;AAAA,IACzB,GAAG,OAAO;AAAA,IACV,OAAA,CAAQ,MAAM;AACb,UAAI,IAAI,OAAO,kBAAkB;AACjC,aAAO,iBAAiB,SAAA,MAAe;AACtC,QAAA,KAAK,EAAE,GAAG,EAAE;AAAA,MACb;AAAA,IACD;AAAA,EACD;AACA,MAAI,IAAI,SAAS,cAAc,QAAQ;AACvC,EAAA,EAAE,MAAM,GAAG,EAAE,OAAO,UAAU,EAAE,QAAQ;AACxC,MAAI,CAAC,CAAA,IAAK,SAAS,iBAAiB,QAAQ;AAC5C,SAAO,IAAI,GAAG,YAAY,aAAa,GAAG,CAAC,IAAI,SAAS,KAAK,OAAO,CAAC,GAAG;AACzE,GAAG,IAAA,CAAK,GAAG,MAAM;AAChB,MAAI,IAAI,IAAI,QAAQ,IAAI,0BAA0B;AAClD,MAAI,CAAC,EAAG,OAAM,MAAM,iDAAiD;AACrE,MAAI,IAAI,KAAK,2BAA2B,IAAI,IAAI,EAAE,QAAQ,2BAA2B,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,SAAS,iBAAiB,QAAQ,CAAC,EAAE,KAAA,CAAM,MAAM,EAAE,IAAI,SAAS,CAAC,CAAC;AACvK,SAAO,IAAI,QAAA,CAAS,MAAM;AACzB,QAAI,GAAG;AACN,MAAA,EAAE,EAAE;AACJ;AAAA,IACD;AACA,IAAA,EAAE,CAAC,EAAE,iBAAiB,QAAA,MAAc;AACnC,MAAA,EAAE,EAAE;AAAA,IACL,CAAC;AAAA,EACF,CAAC;AACF;ACzBA,EAAW,EAAE,MAAA,CAAO,MAAmB,QAAQ,MAAM,CAAK,CAAC"}
1
+ {"version":3,"file":"index.es.min.js","names":[],"sources":["../../core/dist/index.script.js","../src/index.ts"],"sourcesContent":["//#region src/index.script.ts\nvar e = (e) => {\n\twindow.RevolugoElements = {\n\t\t...window.RevolugoElements,\n\t\tready: (e) => {\n\t\t\tlet t = window.RevolugoElements?._ready;\n\t\t\twindow.RevolugoElements._ready = () => {\n\t\t\t\tt && t(), e();\n\t\t\t};\n\t\t}\n\t};\n\tlet t = document.createElement(\"script\");\n\tt.src = e, t.type = \"module\", t.async = !1;\n\tlet [n] = document.querySelectorAll(\"script\");\n\treturn n ? n?.parentNode?.insertBefore(t, n) : document.head.append(t), t;\n}, t = (t, n) => {\n\tlet r = t ? process.env.ELEMENTS_NEXT_ENTRY_URL : \"https://cdn.jsdelivr.net/npm/@revolugo/elements@7.17.2-rc.0/dist/revolugo.min.js\";\n\tif (!r) throw Error(\"Missing elements entry URL environment variable\");\n\tlet i = n || \"7.17.2-rc.0\", a = i ? r.replace(\"7.17.2-rc.0\", i) : r, o = [...document.querySelectorAll(\"script\")].find((e) => e.src.includes(a));\n\treturn new Promise((t) => {\n\t\tif (o) {\n\t\t\tt(!0);\n\t\t\treturn;\n\t\t}\n\t\te(a).addEventListener(\"load\", () => {\n\t\t\tt(!0);\n\t\t});\n\t});\n};\n//#endregion\nexport { e as injectScript, t as loadScript };\n\n//# sourceMappingURL=index.script.js.map","import { loadScript } from '@revolugo/elements-core/script'\n\n// eslint-disable-next-line no-console\nloadScript().catch((error: unknown) => console.error(error))\n"],"mappings":"AACA,IAAI,IAAA,CAAK,MAAM;AACd,SAAO,mBAAmB;AAAA,IACzB,GAAG,OAAO;AAAA,IACV,OAAA,CAAQ,MAAM;AACb,UAAI,IAAI,OAAO,kBAAkB;AACjC,aAAO,iBAAiB,SAAA,MAAe;AACtC,QAAA,KAAK,EAAE,GAAG,EAAE;AAAA,MACb;AAAA,IACD;AAAA,EACD;AACA,MAAI,IAAI,SAAS,cAAc,QAAQ;AACvC,EAAA,EAAE,MAAM,GAAG,EAAE,OAAO,UAAU,EAAE,QAAQ;AACxC,MAAI,CAAC,CAAA,IAAK,SAAS,iBAAiB,QAAQ;AAC5C,SAAO,IAAI,GAAG,YAAY,aAAa,GAAG,CAAC,IAAI,SAAS,KAAK,OAAO,CAAC,GAAG;AACzE,GAAG,IAAA,CAAK,GAAG,MAAM;AAChB,MAAI,IAAI,IAAI,QAAQ,IAAI,0BAA0B;AAClD,MAAI,CAAC,EAAG,OAAM,MAAM,iDAAiD;AACrE,MAAI,IAAI,KAAK,2BAA2B,IAAI,IAAI,EAAE,QAAQ,2BAA2B,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,SAAS,iBAAiB,QAAQ,CAAC,EAAE,KAAA,CAAM,MAAM,EAAE,IAAI,SAAS,CAAC,CAAC;AACvK,SAAO,IAAI,QAAA,CAAS,MAAM;AACzB,QAAI,GAAG;AACN,MAAA,EAAE,EAAE;AACJ;AAAA,IACD;AACA,IAAA,EAAE,CAAC,EAAE,iBAAiB,QAAA,MAAc;AACnC,MAAA,EAAE,EAAE;AAAA,IACL,CAAC;AAAA,EACF,CAAC;AACF;ACzBA,EAAW,EAAE,MAAA,CAAO,MAAmB,QAAQ,MAAM,CAAK,CAAC"}
package/dist/index.min.js CHANGED
@@ -1,3 +1,3 @@
1
- (function(o){typeof define=="function"&&define.amd?define([],o):o()})(function(){var o=t=>{window.RevolugoElements={...window.RevolugoElements,ready:l=>{let r=window.RevolugoElements?._ready;window.RevolugoElements._ready=()=>{r&&r(),l()}}};let e=document.createElement("script");e.src=t,e.type="module",e.async=!1;let[n]=document.querySelectorAll("script");return n?n?.parentNode?.insertBefore(e,n):document.head.append(e),e},d=(t,e)=>{let n=t?process.env.ELEMENTS_NEXT_ENTRY_URL:"https://cdn.jsdelivr.net/npm/@revolugo/elements@7.17.2-alpha.0/dist/revolugo.min.js";if(!n)throw Error("Missing elements entry URL environment variable");let l=e||"7.17.2-alpha.0",r=l?n.replace("7.17.2-alpha.0",l):n,s=[...document.querySelectorAll("script")].find(i=>i.src.includes(r));return new Promise(i=>{if(s){i(!0);return}o(r).addEventListener("load",()=>{i(!0)})})};d().catch(t=>console.error(t))});
1
+ (function(o){typeof define=="function"&&define.amd?define([],o):o()})(function(){var o=t=>{window.RevolugoElements={...window.RevolugoElements,ready:l=>{let r=window.RevolugoElements?._ready;window.RevolugoElements._ready=()=>{r&&r(),l()}}};let e=document.createElement("script");e.src=t,e.type="module",e.async=!1;let[n]=document.querySelectorAll("script");return n?n?.parentNode?.insertBefore(e,n):document.head.append(e),e},d=(t,e)=>{let n=t?process.env.ELEMENTS_NEXT_ENTRY_URL:"https://cdn.jsdelivr.net/npm/@revolugo/elements@7.17.2-rc.0/dist/revolugo.min.js";if(!n)throw Error("Missing elements entry URL environment variable");let l=e||"7.17.2-rc.0",r=l?n.replace("7.17.2-rc.0",l):n,s=[...document.querySelectorAll("script")].find(i=>i.src.includes(r));return new Promise(i=>{if(s){i(!0);return}o(r).addEventListener("load",()=>{i(!0)})})};d().catch(t=>console.error(t))});
2
2
 
3
3
  //# sourceMappingURL=index.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.min.js","names":[],"sources":["../../core/dist/index.script.js","../src/index.ts"],"sourcesContent":["//#region src/index.script.ts\nvar e = (e) => {\n\twindow.RevolugoElements = {\n\t\t...window.RevolugoElements,\n\t\tready: (e) => {\n\t\t\tlet t = window.RevolugoElements?._ready;\n\t\t\twindow.RevolugoElements._ready = () => {\n\t\t\t\tt && t(), e();\n\t\t\t};\n\t\t}\n\t};\n\tlet t = document.createElement(\"script\");\n\tt.src = e, t.type = \"module\", t.async = !1;\n\tlet [n] = document.querySelectorAll(\"script\");\n\treturn n ? n?.parentNode?.insertBefore(t, n) : document.head.append(t), t;\n}, t = (t, n) => {\n\tlet r = t ? process.env.ELEMENTS_NEXT_ENTRY_URL : \"https://cdn.jsdelivr.net/npm/@revolugo/elements@7.17.2-alpha.0/dist/revolugo.min.js\";\n\tif (!r) throw Error(\"Missing elements entry URL environment variable\");\n\tlet i = n || \"7.17.2-alpha.0\", a = i ? r.replace(\"7.17.2-alpha.0\", i) : r, o = [...document.querySelectorAll(\"script\")].find((e) => e.src.includes(a));\n\treturn new Promise((t) => {\n\t\tif (o) {\n\t\t\tt(!0);\n\t\t\treturn;\n\t\t}\n\t\te(a).addEventListener(\"load\", () => {\n\t\t\tt(!0);\n\t\t});\n\t});\n};\n//#endregion\nexport { e as injectScript, t as loadScript };\n\n//# sourceMappingURL=index.script.js.map","import { loadScript } from '@revolugo/elements-core/script'\n\n// eslint-disable-next-line no-console\nloadScript().catch((error: unknown) => console.error(error))\n"],"mappings":"iFACA,IAAI,EAAK,GAAM,CACd,OAAO,iBAAmB,CACzB,GAAG,OAAO,iBACV,MAAQ,GAAM,CACb,IAAI,EAAI,OAAO,kBAAkB,OACjC,OAAO,iBAAiB,OAAA,IAAe,CACtC,GAAK,EAAE,EAAG,EAAE,CACb,CACD,CACD,EACA,IAAI,EAAI,SAAS,cAAc,QAAQ,EACvC,EAAE,IAAM,EAAG,EAAE,KAAO,SAAU,EAAE,MAAQ,GACxC,GAAI,CAAC,CAAA,EAAK,SAAS,iBAAiB,QAAQ,EAC5C,OAAO,EAAI,GAAG,YAAY,aAAa,EAAG,CAAC,EAAI,SAAS,KAAK,OAAO,CAAC,EAAG,CACzE,EAAG,EAAA,CAAK,EAAG,IAAM,CAChB,IAAI,EAAI,EAAI,QAAQ,IAAI,wBAA0B,+FAClD,GAAI,CAAC,EAAG,MAAM,MAAM,iDAAiD,EACrE,IAAI,EAAI,GAAK,0BAA2B,EAAI,EAAI,EAAE,QAAQ,0BAA2B,CAAC,EAAI,EAAG,EAAI,CAAC,GAAG,SAAS,iBAAiB,QAAQ,CAAC,EAAE,KAAM,GAAM,EAAE,IAAI,SAAS,CAAC,CAAC,EACvK,OAAO,IAAI,QAAS,GAAM,CACzB,GAAI,EAAG,CACN,EAAE,EAAE,EACJ,MACD,CACA,EAAE,CAAC,EAAE,iBAAiB,OAAA,IAAc,CACnC,EAAE,EAAE,CACL,CAAC,CACF,CAAC,CACF,ECzBA,EAAW,EAAE,MAAO,GAAmB,QAAQ,MAAM,CAAK,CAAC"}
1
+ {"version":3,"file":"index.min.js","names":[],"sources":["../../core/dist/index.script.js","../src/index.ts"],"sourcesContent":["//#region src/index.script.ts\nvar e = (e) => {\n\twindow.RevolugoElements = {\n\t\t...window.RevolugoElements,\n\t\tready: (e) => {\n\t\t\tlet t = window.RevolugoElements?._ready;\n\t\t\twindow.RevolugoElements._ready = () => {\n\t\t\t\tt && t(), e();\n\t\t\t};\n\t\t}\n\t};\n\tlet t = document.createElement(\"script\");\n\tt.src = e, t.type = \"module\", t.async = !1;\n\tlet [n] = document.querySelectorAll(\"script\");\n\treturn n ? n?.parentNode?.insertBefore(t, n) : document.head.append(t), t;\n}, t = (t, n) => {\n\tlet r = t ? process.env.ELEMENTS_NEXT_ENTRY_URL : \"https://cdn.jsdelivr.net/npm/@revolugo/elements@7.17.2-rc.0/dist/revolugo.min.js\";\n\tif (!r) throw Error(\"Missing elements entry URL environment variable\");\n\tlet i = n || \"7.17.2-rc.0\", a = i ? r.replace(\"7.17.2-rc.0\", i) : r, o = [...document.querySelectorAll(\"script\")].find((e) => e.src.includes(a));\n\treturn new Promise((t) => {\n\t\tif (o) {\n\t\t\tt(!0);\n\t\t\treturn;\n\t\t}\n\t\te(a).addEventListener(\"load\", () => {\n\t\t\tt(!0);\n\t\t});\n\t});\n};\n//#endregion\nexport { e as injectScript, t as loadScript };\n\n//# sourceMappingURL=index.script.js.map","import { loadScript } from '@revolugo/elements-core/script'\n\n// eslint-disable-next-line no-console\nloadScript().catch((error: unknown) => console.error(error))\n"],"mappings":"iFACA,IAAI,EAAK,GAAM,CACd,OAAO,iBAAmB,CACzB,GAAG,OAAO,iBACV,MAAQ,GAAM,CACb,IAAI,EAAI,OAAO,kBAAkB,OACjC,OAAO,iBAAiB,OAAA,IAAe,CACtC,GAAK,EAAE,EAAG,EAAE,CACb,CACD,CACD,EACA,IAAI,EAAI,SAAS,cAAc,QAAQ,EACvC,EAAE,IAAM,EAAG,EAAE,KAAO,SAAU,EAAE,MAAQ,GACxC,GAAI,CAAC,CAAA,EAAK,SAAS,iBAAiB,QAAQ,EAC5C,OAAO,EAAI,GAAG,YAAY,aAAa,EAAG,CAAC,EAAI,SAAS,KAAK,OAAO,CAAC,EAAG,CACzE,EAAG,EAAA,CAAK,EAAG,IAAM,CAChB,IAAI,EAAI,EAAI,QAAQ,IAAI,wBAA0B,+FAClD,GAAI,CAAC,EAAG,MAAM,MAAM,iDAAiD,EACrE,IAAI,EAAI,GAAK,0BAA2B,EAAI,EAAI,EAAE,QAAQ,0BAA2B,CAAC,EAAI,EAAG,EAAI,CAAC,GAAG,SAAS,iBAAiB,QAAQ,CAAC,EAAE,KAAM,GAAM,EAAE,IAAI,SAAS,CAAC,CAAC,EACvK,OAAO,IAAI,QAAS,GAAM,CACzB,GAAI,EAAG,CACN,EAAE,EAAE,EACJ,MACD,CACA,EAAE,CAAC,EAAE,iBAAiB,OAAA,IAAc,CACnC,EAAE,EAAE,CACL,CAAC,CACF,CAAC,CACF,ECzBA,EAAW,EAAE,MAAO,GAAmB,QAAQ,MAAM,CAAK,CAAC"}
@@ -1,58 +1,36 @@
1
- import { $t as L, D as C, E as v, Et as F, Hr as R, _t as P, b as M, c as T, d as D, f as V, fr as x, g as _, ir as $, j as A, l as W, m as g, n as U, o as k, pn as I, t as h, w as j, y as O, yn as d, zn as G } from "./theme-DcLwvyDe.js";
2
- import { o as N, t as q } from "./revolugo-config-3gwiAckK.js";
3
- import { n as Y, r as z, t as B } from "./date-B7_pg4EW.js";
4
- function E(o) {
1
+ import { $t as f, Cn as p, Gn as l, Sn as r, mn as u, o as w, t as b, ur as d, vn as g } from "./framework-DaLwtg21.js";
2
+ import { i as v, t as k } from "./revolugo-config-BcrJhTkD.js";
3
+ function m(e) {
5
4
  try {
6
5
  if (typeof document < "u") {
7
6
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
8
7
  sheets: [],
9
8
  components: []
10
9
  };
11
- const n = import.meta.url, e = n.slice(0, n.lastIndexOf("/") + 1) + o;
12
- window.REVOLUGO_ELEMENTS_STYLES.sheets.push(e);
13
- for (const r of REVOLUGO_ELEMENTS_STYLES.components)
14
- r(e);
15
- if (o.indexOf("fonts") >= 0) {
16
- const r = document.createElement("link");
17
- r.rel = "stylesheet", linK.href = e, document.head.appendChild(r);
10
+ const o = import.meta.url, n = o.slice(0, o.lastIndexOf("/") + 1) + e;
11
+ window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
12
+ for (const t of REVOLUGO_ELEMENTS_STYLES.components)
13
+ t(n);
14
+ if (e.indexOf("fonts") >= 0) {
15
+ const t = document.createElement("link");
16
+ t.rel = "stylesheet", linK.href = n, document.head.appendChild(t);
18
17
  }
19
18
  }
20
- } catch (n) {
21
- console.error("[revolugo-elements] ", n);
19
+ } catch (o) {
20
+ console.error("[revolugo-elements] ", o);
22
21
  }
23
22
  }
24
- function K(o) {
25
- return o.replace(/([\da-z]|(?=[A-Z]))([A-Z])/gu, "$1-$2").toLowerCase().replace(/^-/u, "");
26
- }
27
- var Z = { install(o) {
28
- window.RevolugoElements = window.RevolugoElements || {}, window.RevolugoElements.eventBus = d, window.RevolugoElements.ready = (n) => {
29
- n();
30
- }, typeof window.RevolugoElements._ready == "function" && window.RevolugoElements._ready(), o.config.globalProperties.$eventBus = d, o.provide("eventBus", d);
31
- } }, J = {
32
- lg: {
33
- maxWidth: 1199,
34
- minWidth: 992
35
- },
36
- md: {
37
- maxWidth: 991,
38
- minWidth: 768
39
- },
40
- sm: {
41
- maxWidth: 767,
42
- minWidth: 576
43
- },
44
- xl: { minWidth: 1200 },
45
- xs: {
46
- maxWidth: 575,
47
- minWidth: 0
48
- }
49
- }, Q = (o) => ({ options: n, store: e }) => {
50
- const { debounce: r } = n;
51
- if (r) return Object.keys(r).reduce((i, c) => {
52
- const m = [e[c]].concat(r[c]);
53
- return i[c] = o.apply(null, m), i;
23
+ var O = { install(e) {
24
+ window.RevolugoElements = window.RevolugoElements || {}, window.RevolugoElements.eventBus = r, window.RevolugoElements.ready = (o) => {
25
+ o();
26
+ }, typeof window.RevolugoElements._ready == "function" && window.RevolugoElements._ready(), e.config.globalProperties.$eventBus = r, e.provide("eventBus", r);
27
+ } }, h = (e) => ({ options: o, store: n }) => {
28
+ const { debounce: t } = o;
29
+ if (t) return Object.keys(t).reduce((c, s) => {
30
+ const i = [n[s]].concat(t[s]);
31
+ return c[s] = e.apply(null, i), c;
54
32
  }, {});
55
- }, X = {
33
+ }, B = {
56
34
  base: "#f44336",
57
35
  lighten5: "#ffebee",
58
36
  lighten4: "#ffcdd2",
@@ -67,7 +45,7 @@ var Z = { install(o) {
67
45
  accent2: "#ff5252",
68
46
  accent3: "#ff1744",
69
47
  accent4: "#d50000"
70
- }, ee = {
48
+ }, H = {
71
49
  base: "#2196f3",
72
50
  lighten5: "#e3f2fd",
73
51
  lighten4: "#bbdefb",
@@ -82,7 +60,7 @@ var Z = { install(o) {
82
60
  accent2: "#448aff",
83
61
  accent3: "#2979ff",
84
62
  accent4: "#2962ff"
85
- }, oe = {
63
+ }, S = {
86
64
  base: "#4caf50",
87
65
  lighten5: "#e8f5e9",
88
66
  lighten4: "#c8e6c9",
@@ -97,63 +75,15 @@ var Z = { install(o) {
97
75
  accent2: "#69f0ae",
98
76
  accent3: "#00e676",
99
77
  accent4: "#00c853"
100
- }, ne = { colors: {
78
+ }, E = { colors: {
101
79
  accent: "#f57f39",
102
- error: X.accent3,
80
+ error: B.accent3,
103
81
  "on-primary": "#fff",
104
82
  "on-secondary": "#fff",
105
83
  primary: "#007fff",
106
- secondary: ee.lighten2,
107
- success: oe.base
108
- } };
109
- function y() {
110
- const { blueprint: o, ...n } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, e = P(o, n), { aliases: r = {}, components: i = {}, directives: c = {} } = e, m = C(e.defaults), l = _(e.display, e.ssr), p = U(e.theme), w = W(e.icons), f = M(e.locale), u = z(e.date, f), b = V(e.goTo, f);
111
- return {
112
- install: (t) => {
113
- for (const s in c) t.directive(s, c[s]);
114
- for (const s in i) t.component(s, i[s]);
115
- for (const s in r) t.component(s, j({
116
- ...r[s],
117
- name: s,
118
- aliasName: r[s].name
119
- }));
120
- if (p.install(t), t.provide(v, m), t.provide(g, l), t.provide(h, p), t.provide(k, w), t.provide(O, f), t.provide(Y, u.options), t.provide(B, u.instance), t.provide(D, b), F && e.ssr) if (t.$nuxt) t.$nuxt.hook("app:suspense:resolve", () => {
121
- l.update();
122
- });
123
- else {
124
- const { mount: s } = t;
125
- t.mount = function() {
126
- const S = s(...arguments);
127
- return x(() => l.update()), t.mount = s, S;
128
- };
129
- }
130
- A.reset(), t.mixin({ computed: { $vuetify() {
131
- return R({
132
- defaults: a.call(this, v),
133
- display: a.call(this, g),
134
- theme: a.call(this, h),
135
- icons: a.call(this, k),
136
- locale: a.call(this, O),
137
- date: a.call(this, B)
138
- });
139
- } } });
140
- },
141
- defaults: m,
142
- display: l,
143
- theme: p,
144
- icons: w,
145
- locale: f,
146
- date: u,
147
- goTo: b
148
- };
149
- }
150
- var te = "3.7.18";
151
- y.version = te;
152
- function a(o) {
153
- const n = this.$, e = n.parent?.provides ?? n.vnode.appContext?.provides;
154
- if (e && o in e) return e[o];
155
- }
156
- var se = {
84
+ secondary: H.lighten2,
85
+ success: S.base
86
+ } }, F = {
157
87
  collapse: "fas fa-chevron-up",
158
88
  complete: "fas fa-check",
159
89
  cancel: "fas fa-times-circle",
@@ -193,9 +123,9 @@ var se = {
193
123
  treeviewCollapse: "fas fa-caret-down",
194
124
  treeviewExpand: "fas fa-caret-right",
195
125
  eyeDropper: "fas fa-eye-dropper"
196
- }, re = { component: T }, ce = {
126
+ }, L = { component: w }, C = {
197
127
  options: { customProperties: !0 },
198
- themes: { light: ne },
128
+ themes: { light: E },
199
129
  variations: {
200
130
  colors: [
201
131
  "primary",
@@ -209,140 +139,140 @@ var se = {
209
139
  darken: 5,
210
140
  lighten: 5
211
141
  }
212
- }, ae = y({
142
+ }, P = b({
213
143
  defaults: { global: { ripple: !1 } },
214
- display: { thresholds: Object.fromEntries(Object.entries(J).filter(([o]) => [
144
+ display: { thresholds: Object.fromEntries(Object.entries(g).filter(([e]) => [
215
145
  "lg",
216
146
  "md",
217
147
  "sm",
218
148
  "xs"
219
- ].includes(o)).map(([o, n]) => [o, n.minWidth])) },
149
+ ].includes(e)).map(([e, o]) => [e, o.minWidth])) },
220
150
  icons: {
221
- aliases: se,
151
+ aliases: F,
222
152
  defaultSet: "fa",
223
- sets: { fa: re }
153
+ sets: { fa: L }
224
154
  },
225
- theme: ce
226
- }), H = I();
227
- H.use(Q(L));
228
- var ie = [
229
- N,
230
- ae,
231
- H,
232
- Z,
233
- q
234
- ], me = /* @__PURE__ */ Object.assign({
235
- "./components/web-components/BankTransferDetails/BankTransferDetails.vue": () => import("./BankTransferDetails-Drf6KaW_.js"),
236
- "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar.vue": () => import("./BookingDetailsSidebar-DEG1CUc2.js"),
237
- "./components/web-components/BookingManager/BookingManager.vue": () => import("./BookingManager-DNPAxbCi.js"),
238
- "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue": () => import("./CancellationPoliciesBadge-Cc443Y3F.js"),
239
- "./components/web-components/CancellationPoliciesList/CancellationPoliciesList.vue": () => import("./CancellationPoliciesList-DEkzxsU0.js"),
240
- "./components/web-components/CreditCardStripeForm/CreditCardStripeForm.vue": () => import("./CreditCardStripeForm-DyFqWKrh.js"),
241
- "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn.vue": () => import("./CurrencyPickerBtn-dN17dGaq.js"),
242
- "./components/web-components/FastBookingFlow/FastBookingFlow.vue": () => import("./FastBookingFlow-ci7WiJjo.js"),
243
- "./components/web-components/FullBookingFlow/FullBookingFlow.vue": () => import("./FullBookingFlow-BhnhGgCM.js"),
244
- "./components/web-components/HotelDescriptionView/HotelDescriptionView.vue": () => import("./HotelDescriptionView-Cm-UftDA.js"),
245
- "./components/web-components/HotelOfferList/HotelOfferList.vue": () => import("./HotelOfferList-kguhfqyB.js"),
246
- "./components/web-components/HotelOfferMap/HotelOffersMap.vue": () => import("./HotelOffersMap-CX1D_9hN.js"),
247
- "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu.vue": () => import("./HotelOfferSearchMenu-hT1ysA8K.js"),
248
- "./components/web-components/HotelOffersView/HotelOffersView.vue": () => import("./HotelOffersView-Bm9M5tM2.js"),
249
- "./components/web-components/HotelRoomOfferList/HotelRoomOfferList.vue": () => import("./HotelRoomOfferList-JCth04gr.js"),
250
- "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu.vue": () => import("./HotelRoomOfferSearchMenu-jyrzCeq4.js"),
251
- "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow.vue": () => import("./HotelRoomOffersBookingFlow-CBp5lIQi.js"),
252
- "./components/web-components/HotelRoomOffersView/HotelRoomOffersView.vue": () => import("./HotelRoomOffersView-BPZju4ub.js"),
253
- "./components/web-components/LangPickerBtn/LangPickerBtn.vue": () => import("./LangPickerBtn-BZUDZcjV.js"),
254
- "./components/web-components/PrebookForm/PrebookForm.vue": () => import("./PrebookForm-CpUPcvTi.js"),
255
- "./components/web-components/PreferencesMenu/PreferencesMenu.vue": () => import("./PreferencesMenu-CwNV0yQS.js"),
256
- "./components/web-components/RoomingListEditor/RoomingListEditor.vue": () => import("./RoomingListEditor-ByyWgNuF.js"),
257
- "./components/web-components/StorybookToolbar/StorybookToolbar.vue": () => import("./StorybookToolbar-D1taqGx1.js"),
258
- "./components/web-components/TermsAndConditions/TermsAndConditions.vue": () => import("./TermsAndConditions-CfYbq05n.js")
155
+ theme: C
156
+ }), a = u();
157
+ a.use(h(f));
158
+ var R = [
159
+ v,
160
+ P,
161
+ a,
162
+ O,
163
+ k
164
+ ], y = /* @__PURE__ */ Object.assign({
165
+ "./components/web-components/BankTransferDetails/BankTransferDetails.vue": () => import("./BankTransferDetails-dm5FdzDp.js"),
166
+ "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar.vue": () => import("./BookingDetailsSidebar-1CTO2_b8.js"),
167
+ "./components/web-components/BookingManager/BookingManager.vue": () => import("./BookingManager-CGentdh8.js"),
168
+ "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue": () => import("./CancellationPoliciesBadge-CDik3MZ3.js"),
169
+ "./components/web-components/CancellationPoliciesList/CancellationPoliciesList.vue": () => import("./CancellationPoliciesList-9eI44T8w.js"),
170
+ "./components/web-components/CreditCardStripeForm/CreditCardStripeForm.vue": () => import("./CreditCardStripeForm-DwLsZUGc.js"),
171
+ "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn.vue": () => import("./CurrencyPickerBtn-CXx7FDVr.js"),
172
+ "./components/web-components/FastBookingFlow/FastBookingFlow.vue": () => import("./FastBookingFlow-Dfxs5ko5.js"),
173
+ "./components/web-components/FullBookingFlow/FullBookingFlow.vue": () => import("./FullBookingFlow-dCahdwFm.js"),
174
+ "./components/web-components/HotelDescriptionView/HotelDescriptionView.vue": () => import("./HotelDescriptionView-DbxvSlWk.js"),
175
+ "./components/web-components/HotelOfferList/HotelOfferList.vue": () => import("./HotelOfferList-DKJf_Ska.js"),
176
+ "./components/web-components/HotelOfferMap/HotelOffersMap.vue": () => import("./HotelOffersMap-o2XodQpc.js"),
177
+ "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu.vue": () => import("./HotelOfferSearchMenu-CaNtfo5Y.js"),
178
+ "./components/web-components/HotelOffersView/HotelOffersView.vue": () => import("./HotelOffersView-C7ri5s6v.js"),
179
+ "./components/web-components/HotelRoomOfferList/HotelRoomOfferList.vue": () => import("./HotelRoomOfferList-R2qs5CQ5.js"),
180
+ "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu.vue": () => import("./HotelRoomOfferSearchMenu-Cnl7kXXF.js"),
181
+ "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow.vue": () => import("./HotelRoomOffersBookingFlow-DkrSO4fz.js"),
182
+ "./components/web-components/HotelRoomOffersView/HotelRoomOffersView.vue": () => import("./HotelRoomOffersView-B_u7tPXd.js"),
183
+ "./components/web-components/LangPickerBtn/LangPickerBtn.vue": () => import("./LangPickerBtn-DEhQRa66.js"),
184
+ "./components/web-components/PrebookForm/PrebookForm.vue": () => import("./PrebookForm-CZJS8f5k.js"),
185
+ "./components/web-components/PreferencesMenu/PreferencesMenu.vue": () => import("./PreferencesMenu-CpspUaTN.js"),
186
+ "./components/web-components/RoomingListEditor/RoomingListEditor.vue": () => import("./RoomingListEditor-Bqs_jCUg.js"),
187
+ "./components/web-components/StorybookToolbar/StorybookToolbar.vue": () => import("./StorybookToolbar-DDWHQP-G.js"),
188
+ "./components/web-components/TermsAndConditions/TermsAndConditions.vue": () => import("./TermsAndConditions-5177gQ6y.js")
259
189
  });
260
- for (const [o] of Object.entries(me)) {
261
- const n = o.replace(/^.\/components\/web-components\/.*\//u, "").replace(/\.vue$/u, "");
262
- window.customElements.define(`revolugo-${K(n)}`, G($(() => le(`./components/web-components/${n}/${n}.vue`)), { configureApp: (e) => {
263
- ie.forEach(e.use);
190
+ for (const [e] of Object.entries(y)) {
191
+ const o = e.replace(/^.\/components\/web-components\/.*\//u, "").replace(/\.vue$/u, "");
192
+ window.customElements.define(`revolugo-${p(o)}`, l(d(() => M(`./components/web-components/${o}/${o}.vue`)), { configureApp: (n) => {
193
+ R.forEach(n.use);
264
194
  } }));
265
195
  }
266
- function le(o) {
267
- switch (o) {
196
+ function M(e) {
197
+ switch (e) {
268
198
  case "./components/web-components/BankTransferDetails/BankTransferDetails":
269
199
  case "./components/web-components/BankTransferDetails/BankTransferDetails.vue":
270
- return import("./BankTransferDetails-Drf6KaW_.js");
200
+ return import("./BankTransferDetails-dm5FdzDp.js");
271
201
  case "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar":
272
202
  case "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar.vue":
273
- return import("./BookingDetailsSidebar-DEG1CUc2.js");
203
+ return import("./BookingDetailsSidebar-1CTO2_b8.js");
274
204
  case "./components/web-components/BookingManager/BookingManager":
275
205
  case "./components/web-components/BookingManager/BookingManager.vue":
276
- return import("./BookingManager-DNPAxbCi.js");
206
+ return import("./BookingManager-CGentdh8.js");
277
207
  case "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge":
278
208
  case "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue":
279
- return import("./CancellationPoliciesBadge-Cc443Y3F.js");
209
+ return import("./CancellationPoliciesBadge-CDik3MZ3.js");
280
210
  case "./components/web-components/CancellationPoliciesList/CancellationPoliciesList":
281
211
  case "./components/web-components/CancellationPoliciesList/CancellationPoliciesList.vue":
282
- return import("./CancellationPoliciesList-DEkzxsU0.js");
212
+ return import("./CancellationPoliciesList-9eI44T8w.js");
283
213
  case "./components/web-components/CreditCardStripeForm/CreditCardStripeForm":
284
214
  case "./components/web-components/CreditCardStripeForm/CreditCardStripeForm.vue":
285
- return import("./CreditCardStripeForm-DyFqWKrh.js");
215
+ return import("./CreditCardStripeForm-DwLsZUGc.js");
286
216
  case "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn":
287
217
  case "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn.vue":
288
- return import("./CurrencyPickerBtn-dN17dGaq.js");
218
+ return import("./CurrencyPickerBtn-CXx7FDVr.js");
289
219
  case "./components/web-components/FastBookingFlow/FastBookingFlow":
290
220
  case "./components/web-components/FastBookingFlow/FastBookingFlow.vue":
291
- return import("./FastBookingFlow-ci7WiJjo.js");
221
+ return import("./FastBookingFlow-Dfxs5ko5.js");
292
222
  case "./components/web-components/FullBookingFlow/FullBookingFlow":
293
223
  case "./components/web-components/FullBookingFlow/FullBookingFlow.vue":
294
- return import("./FullBookingFlow-BhnhGgCM.js");
224
+ return import("./FullBookingFlow-dCahdwFm.js");
295
225
  case "./components/web-components/HotelDescriptionView/HotelDescriptionView":
296
226
  case "./components/web-components/HotelDescriptionView/HotelDescriptionView.vue":
297
- return import("./HotelDescriptionView-Cm-UftDA.js");
227
+ return import("./HotelDescriptionView-DbxvSlWk.js");
298
228
  case "./components/web-components/HotelOfferList/HotelOfferList":
299
229
  case "./components/web-components/HotelOfferList/HotelOfferList.vue":
300
- return import("./HotelOfferList-kguhfqyB.js");
230
+ return import("./HotelOfferList-DKJf_Ska.js");
301
231
  case "./components/web-components/HotelOfferMap/HotelOffersMap":
302
232
  case "./components/web-components/HotelOfferMap/HotelOffersMap.vue":
303
- return import("./HotelOffersMap-CX1D_9hN.js");
233
+ return import("./HotelOffersMap-o2XodQpc.js");
304
234
  case "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu":
305
235
  case "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu.vue":
306
- return import("./HotelOfferSearchMenu-hT1ysA8K.js");
236
+ return import("./HotelOfferSearchMenu-CaNtfo5Y.js");
307
237
  case "./components/web-components/HotelOffersView/HotelOffersView":
308
238
  case "./components/web-components/HotelOffersView/HotelOffersView.vue":
309
- return import("./HotelOffersView-Bm9M5tM2.js");
239
+ return import("./HotelOffersView-C7ri5s6v.js");
310
240
  case "./components/web-components/HotelRoomOfferList/HotelRoomOfferList":
311
241
  case "./components/web-components/HotelRoomOfferList/HotelRoomOfferList.vue":
312
- return import("./HotelRoomOfferList-JCth04gr.js");
242
+ return import("./HotelRoomOfferList-R2qs5CQ5.js");
313
243
  case "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu":
314
244
  case "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu.vue":
315
- return import("./HotelRoomOfferSearchMenu-jyrzCeq4.js");
245
+ return import("./HotelRoomOfferSearchMenu-Cnl7kXXF.js");
316
246
  case "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow":
317
247
  case "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow.vue":
318
- return import("./HotelRoomOffersBookingFlow-CBp5lIQi.js");
248
+ return import("./HotelRoomOffersBookingFlow-DkrSO4fz.js");
319
249
  case "./components/web-components/HotelRoomOffersView/HotelRoomOffersView":
320
250
  case "./components/web-components/HotelRoomOffersView/HotelRoomOffersView.vue":
321
- return import("./HotelRoomOffersView-BPZju4ub.js");
251
+ return import("./HotelRoomOffersView-B_u7tPXd.js");
322
252
  case "./components/web-components/LangPickerBtn/LangPickerBtn":
323
253
  case "./components/web-components/LangPickerBtn/LangPickerBtn.vue":
324
- return import("./LangPickerBtn-BZUDZcjV.js");
254
+ return import("./LangPickerBtn-DEhQRa66.js");
325
255
  case "./components/web-components/PrebookForm/PrebookForm":
326
256
  case "./components/web-components/PrebookForm/PrebookForm.vue":
327
- return import("./PrebookForm-CpUPcvTi.js");
257
+ return import("./PrebookForm-CZJS8f5k.js");
328
258
  case "./components/web-components/PreferencesMenu/PreferencesMenu":
329
259
  case "./components/web-components/PreferencesMenu/PreferencesMenu.vue":
330
- return import("./PreferencesMenu-CwNV0yQS.js");
260
+ return import("./PreferencesMenu-CpspUaTN.js");
331
261
  case "./components/web-components/RoomingListEditor/RoomingListEditor":
332
262
  case "./components/web-components/RoomingListEditor/RoomingListEditor.vue":
333
- return import("./RoomingListEditor-ByyWgNuF.js");
263
+ return import("./RoomingListEditor-Bqs_jCUg.js");
334
264
  case "./components/web-components/StorybookToolbar/StorybookToolbar":
335
265
  case "./components/web-components/StorybookToolbar/StorybookToolbar.vue":
336
- return import("./StorybookToolbar-D1taqGx1.js");
266
+ return import("./StorybookToolbar-DDWHQP-G.js");
337
267
  case "./components/web-components/TermsAndConditions/TermsAndConditions":
338
268
  case "./components/web-components/TermsAndConditions/TermsAndConditions.vue":
339
- return import("./TermsAndConditions-CfYbq05n.js");
269
+ return import("./TermsAndConditions-5177gQ6y.js");
340
270
  default:
341
- return new Promise(function(n, e) {
342
- (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(e.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + o)));
271
+ return new Promise(function(o, n) {
272
+ (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(n.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + e)));
343
273
  });
344
274
  }
345
275
  }
346
- E("index.css");
276
+ m("index.css");
347
277
 
348
278
  //# sourceMappingURL=revolugo.min.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/elements",
3
- "version": "7.17.2-alpha.0",
3
+ "version": "7.17.2-rc.0",
4
4
  "private": false,
5
5
  "description": "Revolugo Elements UI library",
6
6
  "author": "Revolugo",
@@ -15,10 +15,10 @@
15
15
  "http-server": "14.1.1"
16
16
  },
17
17
  "devDependencies": {
18
- "@revolugo/common": "7.17.2",
18
+ "@revolugo/booking-api-client": "7.17.2",
19
19
  "@revolugo/elements-core": "7.17.2",
20
20
  "@revolugo/elements-documentation": "7.17.2",
21
- "@revolugo/booking-api-client": "7.17.2"
21
+ "@revolugo/common": "7.17.2"
22
22
  },
23
23
  "engines": {
24
24
  "node": ">=24.15.0 <25"