@revolugo/elements 7.17.1 → 7.17.2-alpha.1

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.1/dist/revolugo.min.js";
16
+ let r = t ? process.env.ELEMENTS_NEXT_ENTRY_URL : "https://cdn.jsdelivr.net/npm/@revolugo/elements@7.17.2-alpha.1/dist/revolugo.min.js";
17
17
  if (!r) throw Error("Missing elements entry URL environment variable");
18
- let o = e || "7.17.1", n = o ? r.replace("7.17.1", o) : r, s = [...document.querySelectorAll("script")].find((l) => l.src.includes(n));
18
+ let o = e || "7.17.2-alpha.1", n = o ? r.replace("7.17.2-alpha.1", 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.1/dist/revolugo.min.js\";\n\tif (!r) throw Error(\"Missing elements entry URL environment variable\");\n\tlet i = n || \"7.17.1\", a = i ? r.replace(\"7.17.1\", 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-alpha.1/dist/revolugo.min.js\";\n\tif (!r) throw Error(\"Missing elements entry URL environment variable\");\n\tlet i = n || \"7.17.2-alpha.1\", a = i ? r.replace(\"7.17.2-alpha.1\", 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.1/dist/revolugo.min.js";if(!n)throw Error("Missing elements entry URL environment variable");let l=e||"7.17.1",r=l?n.replace("7.17.1",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-alpha.1/dist/revolugo.min.js";if(!n)throw Error("Missing elements entry URL environment variable");let l=e||"7.17.2-alpha.1",r=l?n.replace("7.17.2-alpha.1",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.1/dist/revolugo.min.js\";\n\tif (!r) throw Error(\"Missing elements entry URL environment variable\");\n\tlet i = n || \"7.17.1\", a = i ? r.replace(\"7.17.1\", 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-alpha.1/dist/revolugo.min.js\";\n\tif (!r) throw Error(\"Missing elements entry URL environment variable\");\n\tlet i = n || \"7.17.2-alpha.1\", a = i ? r.replace(\"7.17.2-alpha.1\", 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,36 +1,58 @@
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) {
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) {
4
5
  try {
5
6
  if (typeof document < "u") {
6
7
  window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
7
8
  sheets: [],
8
9
  components: []
9
10
  };
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);
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);
17
18
  }
18
19
  }
19
- } catch (o) {
20
- console.error("[revolugo-elements] ", o);
20
+ } catch (n) {
21
+ console.error("[revolugo-elements] ", n);
21
22
  }
22
23
  }
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;
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;
32
54
  }, {});
33
- }, B = {
55
+ }, X = {
34
56
  base: "#f44336",
35
57
  lighten5: "#ffebee",
36
58
  lighten4: "#ffcdd2",
@@ -45,7 +67,7 @@ var O = { install(e) {
45
67
  accent2: "#ff5252",
46
68
  accent3: "#ff1744",
47
69
  accent4: "#d50000"
48
- }, H = {
70
+ }, ee = {
49
71
  base: "#2196f3",
50
72
  lighten5: "#e3f2fd",
51
73
  lighten4: "#bbdefb",
@@ -60,7 +82,7 @@ var O = { install(e) {
60
82
  accent2: "#448aff",
61
83
  accent3: "#2979ff",
62
84
  accent4: "#2962ff"
63
- }, S = {
85
+ }, oe = {
64
86
  base: "#4caf50",
65
87
  lighten5: "#e8f5e9",
66
88
  lighten4: "#c8e6c9",
@@ -75,15 +97,63 @@ var O = { install(e) {
75
97
  accent2: "#69f0ae",
76
98
  accent3: "#00e676",
77
99
  accent4: "#00c853"
78
- }, E = { colors: {
100
+ }, ne = { colors: {
79
101
  accent: "#f57f39",
80
- error: B.accent3,
102
+ error: X.accent3,
81
103
  "on-primary": "#fff",
82
104
  "on-secondary": "#fff",
83
105
  primary: "#007fff",
84
- secondary: H.lighten2,
85
- success: S.base
86
- } }, F = {
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 = {
87
157
  collapse: "fas fa-chevron-up",
88
158
  complete: "fas fa-check",
89
159
  cancel: "fas fa-times-circle",
@@ -123,9 +193,9 @@ var O = { install(e) {
123
193
  treeviewCollapse: "fas fa-caret-down",
124
194
  treeviewExpand: "fas fa-caret-right",
125
195
  eyeDropper: "fas fa-eye-dropper"
126
- }, L = { component: w }, C = {
196
+ }, re = { component: T }, ce = {
127
197
  options: { customProperties: !0 },
128
- themes: { light: E },
198
+ themes: { light: ne },
129
199
  variations: {
130
200
  colors: [
131
201
  "primary",
@@ -139,140 +209,140 @@ var O = { install(e) {
139
209
  darken: 5,
140
210
  lighten: 5
141
211
  }
142
- }, P = b({
212
+ }, ae = y({
143
213
  defaults: { global: { ripple: !1 } },
144
- display: { thresholds: Object.fromEntries(Object.entries(g).filter(([e]) => [
214
+ display: { thresholds: Object.fromEntries(Object.entries(J).filter(([o]) => [
145
215
  "lg",
146
216
  "md",
147
217
  "sm",
148
218
  "xs"
149
- ].includes(e)).map(([e, o]) => [e, o.minWidth])) },
219
+ ].includes(o)).map(([o, n]) => [o, n.minWidth])) },
150
220
  icons: {
151
- aliases: F,
221
+ aliases: se,
152
222
  defaultSet: "fa",
153
- sets: { fa: L }
223
+ sets: { fa: re }
154
224
  },
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")
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")
189
259
  });
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);
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);
194
264
  } }));
195
265
  }
196
- function M(e) {
197
- switch (e) {
266
+ function le(o) {
267
+ switch (o) {
198
268
  case "./components/web-components/BankTransferDetails/BankTransferDetails":
199
269
  case "./components/web-components/BankTransferDetails/BankTransferDetails.vue":
200
- return import("./BankTransferDetails-dm5FdzDp.js");
270
+ return import("./BankTransferDetails-Drf6KaW_.js");
201
271
  case "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar":
202
272
  case "./components/web-components/BookingDetailsSidebar/BookingDetailsSidebar.vue":
203
- return import("./BookingDetailsSidebar-1CTO2_b8.js");
273
+ return import("./BookingDetailsSidebar-DEG1CUc2.js");
204
274
  case "./components/web-components/BookingManager/BookingManager":
205
275
  case "./components/web-components/BookingManager/BookingManager.vue":
206
- return import("./BookingManager-CGentdh8.js");
276
+ return import("./BookingManager-DNPAxbCi.js");
207
277
  case "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge":
208
278
  case "./components/web-components/CancellationPoliciesBadge/CancellationPoliciesBadge.vue":
209
- return import("./CancellationPoliciesBadge-CDik3MZ3.js");
279
+ return import("./CancellationPoliciesBadge-Cc443Y3F.js");
210
280
  case "./components/web-components/CancellationPoliciesList/CancellationPoliciesList":
211
281
  case "./components/web-components/CancellationPoliciesList/CancellationPoliciesList.vue":
212
- return import("./CancellationPoliciesList-9eI44T8w.js");
282
+ return import("./CancellationPoliciesList-DEkzxsU0.js");
213
283
  case "./components/web-components/CreditCardStripeForm/CreditCardStripeForm":
214
284
  case "./components/web-components/CreditCardStripeForm/CreditCardStripeForm.vue":
215
- return import("./CreditCardStripeForm-DwLsZUGc.js");
285
+ return import("./CreditCardStripeForm-DyFqWKrh.js");
216
286
  case "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn":
217
287
  case "./components/web-components/CurrencyPickerBtn/CurrencyPickerBtn.vue":
218
- return import("./CurrencyPickerBtn-CXx7FDVr.js");
288
+ return import("./CurrencyPickerBtn-dN17dGaq.js");
219
289
  case "./components/web-components/FastBookingFlow/FastBookingFlow":
220
290
  case "./components/web-components/FastBookingFlow/FastBookingFlow.vue":
221
- return import("./FastBookingFlow-Dfxs5ko5.js");
291
+ return import("./FastBookingFlow-ci7WiJjo.js");
222
292
  case "./components/web-components/FullBookingFlow/FullBookingFlow":
223
293
  case "./components/web-components/FullBookingFlow/FullBookingFlow.vue":
224
- return import("./FullBookingFlow-dCahdwFm.js");
294
+ return import("./FullBookingFlow-BhnhGgCM.js");
225
295
  case "./components/web-components/HotelDescriptionView/HotelDescriptionView":
226
296
  case "./components/web-components/HotelDescriptionView/HotelDescriptionView.vue":
227
- return import("./HotelDescriptionView-DbxvSlWk.js");
297
+ return import("./HotelDescriptionView-Cm-UftDA.js");
228
298
  case "./components/web-components/HotelOfferList/HotelOfferList":
229
299
  case "./components/web-components/HotelOfferList/HotelOfferList.vue":
230
- return import("./HotelOfferList-DKJf_Ska.js");
300
+ return import("./HotelOfferList-kguhfqyB.js");
231
301
  case "./components/web-components/HotelOfferMap/HotelOffersMap":
232
302
  case "./components/web-components/HotelOfferMap/HotelOffersMap.vue":
233
- return import("./HotelOffersMap-o2XodQpc.js");
303
+ return import("./HotelOffersMap-CX1D_9hN.js");
234
304
  case "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu":
235
305
  case "./components/web-components/HotelOfferSearchMenu/HotelOfferSearchMenu.vue":
236
- return import("./HotelOfferSearchMenu-CaNtfo5Y.js");
306
+ return import("./HotelOfferSearchMenu-hT1ysA8K.js");
237
307
  case "./components/web-components/HotelOffersView/HotelOffersView":
238
308
  case "./components/web-components/HotelOffersView/HotelOffersView.vue":
239
- return import("./HotelOffersView-C7ri5s6v.js");
309
+ return import("./HotelOffersView-Bm9M5tM2.js");
240
310
  case "./components/web-components/HotelRoomOfferList/HotelRoomOfferList":
241
311
  case "./components/web-components/HotelRoomOfferList/HotelRoomOfferList.vue":
242
- return import("./HotelRoomOfferList-R2qs5CQ5.js");
312
+ return import("./HotelRoomOfferList-JCth04gr.js");
243
313
  case "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu":
244
314
  case "./components/web-components/HotelRoomOfferSearchMenu/HotelRoomOfferSearchMenu.vue":
245
- return import("./HotelRoomOfferSearchMenu-Cnl7kXXF.js");
315
+ return import("./HotelRoomOfferSearchMenu-jyrzCeq4.js");
246
316
  case "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow":
247
317
  case "./components/web-components/HotelRoomOffersBookingFlow/HotelRoomOffersBookingFlow.vue":
248
- return import("./HotelRoomOffersBookingFlow-DkrSO4fz.js");
318
+ return import("./HotelRoomOffersBookingFlow-CBp5lIQi.js");
249
319
  case "./components/web-components/HotelRoomOffersView/HotelRoomOffersView":
250
320
  case "./components/web-components/HotelRoomOffersView/HotelRoomOffersView.vue":
251
- return import("./HotelRoomOffersView-B_u7tPXd.js");
321
+ return import("./HotelRoomOffersView-BPZju4ub.js");
252
322
  case "./components/web-components/LangPickerBtn/LangPickerBtn":
253
323
  case "./components/web-components/LangPickerBtn/LangPickerBtn.vue":
254
- return import("./LangPickerBtn-DEhQRa66.js");
324
+ return import("./LangPickerBtn-BZUDZcjV.js");
255
325
  case "./components/web-components/PrebookForm/PrebookForm":
256
326
  case "./components/web-components/PrebookForm/PrebookForm.vue":
257
- return import("./PrebookForm-CZJS8f5k.js");
327
+ return import("./PrebookForm-CpUPcvTi.js");
258
328
  case "./components/web-components/PreferencesMenu/PreferencesMenu":
259
329
  case "./components/web-components/PreferencesMenu/PreferencesMenu.vue":
260
- return import("./PreferencesMenu-CpspUaTN.js");
330
+ return import("./PreferencesMenu-CwNV0yQS.js");
261
331
  case "./components/web-components/RoomingListEditor/RoomingListEditor":
262
332
  case "./components/web-components/RoomingListEditor/RoomingListEditor.vue":
263
- return import("./RoomingListEditor-Bqs_jCUg.js");
333
+ return import("./RoomingListEditor-ByyWgNuF.js");
264
334
  case "./components/web-components/StorybookToolbar/StorybookToolbar":
265
335
  case "./components/web-components/StorybookToolbar/StorybookToolbar.vue":
266
- return import("./StorybookToolbar-DDWHQP-G.js");
336
+ return import("./StorybookToolbar-D1taqGx1.js");
267
337
  case "./components/web-components/TermsAndConditions/TermsAndConditions":
268
338
  case "./components/web-components/TermsAndConditions/TermsAndConditions.vue":
269
- return import("./TermsAndConditions-5177gQ6y.js");
339
+ return import("./TermsAndConditions-CfYbq05n.js");
270
340
  default:
271
- return new Promise(function(o, n) {
272
- (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(n.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + e)));
341
+ return new Promise(function(n, e) {
342
+ (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(e.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + o)));
273
343
  });
274
344
  }
275
345
  }
276
- m("index.css");
346
+ E("index.css");
277
347
 
278
348
  //# sourceMappingURL=revolugo.min.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revolugo/elements",
3
- "version": "7.17.1",
3
+ "version": "7.17.2-alpha.1",
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/booking-api-client": "7.17.1",
19
- "@revolugo/common": "7.17.1",
20
- "@revolugo/elements-core": "7.17.1",
21
- "@revolugo/elements-documentation": "7.17.1"
18
+ "@revolugo/common": "7.17.2",
19
+ "@revolugo/booking-api-client": "7.17.2",
20
+ "@revolugo/elements-core": "7.17.2",
21
+ "@revolugo/elements-documentation": "7.17.2"
22
22
  },
23
23
  "engines": {
24
24
  "node": ">=24.15.0 <25"