@revolugo/elements 6.10.4 → 6.10.5-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.
- package/dist/index.es.min.js +15 -15
- 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/package.json +5 -5
package/dist/index.es.min.js
CHANGED
@@ -1,28 +1,28 @@
|
|
1
|
-
const
|
1
|
+
const c = (r) => {
|
2
2
|
window.RevolugoElements = {
|
3
3
|
...window.RevolugoElements,
|
4
|
-
ready: (
|
5
|
-
const
|
4
|
+
ready: (t) => {
|
5
|
+
const n = window.RevolugoElements?._ready;
|
6
6
|
window.RevolugoElements._ready = () => {
|
7
|
-
|
7
|
+
n && n(), t();
|
8
8
|
};
|
9
9
|
}
|
10
10
|
};
|
11
11
|
const e = document.createElement("script");
|
12
|
-
e.src =
|
13
|
-
const [
|
14
|
-
return
|
15
|
-
},
|
16
|
-
const e = "https://cdn.jsdelivr.net/npm/@revolugo/elements
|
17
|
-
return new Promise((
|
18
|
-
if (
|
19
|
-
|
12
|
+
e.src = r, e.type = "module", e.async = !1;
|
13
|
+
const [o] = document.querySelectorAll("script");
|
14
|
+
return o ? o?.parentNode?.insertBefore(e, o) : document.head.append(e), e;
|
15
|
+
}, s = (r) => {
|
16
|
+
const e = "https://cdn.jsdelivr.net/npm/@revolugo/elements@rc/dist/revolugo.min.js".replace("%V", "6.10.5"), o = [...document.querySelectorAll("script")].find((t) => t.src.includes(e));
|
17
|
+
return new Promise((t) => {
|
18
|
+
if (o) {
|
19
|
+
t(!0);
|
20
20
|
return;
|
21
21
|
}
|
22
|
-
|
23
|
-
|
22
|
+
c(e).addEventListener("load", () => {
|
23
|
+
t(!0);
|
24
24
|
});
|
25
25
|
});
|
26
26
|
};
|
27
|
-
|
27
|
+
s().catch((r) => console.error(r));
|
28
28
|
//# sourceMappingURL=index.es.min.js.map
|
package/dist/index.es.min.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es.min.js","sources":["../../core/dist/index.script.js","../src/index.ts"],"sourcesContent":["const c = (o) => {\n window.RevolugoElements = {\n ...window.RevolugoElements,\n ready: (s) => {\n const
|
1
|
+
{"version":3,"file":"index.es.min.js","sources":["../../core/dist/index.script.js","../src/index.ts"],"sourcesContent":["const c = (o) => {\n window.RevolugoElements = {\n ...window.RevolugoElements,\n ready: (s) => {\n const r = window.RevolugoElements?._ready;\n window.RevolugoElements._ready = () => {\n r && r(), s();\n };\n }\n };\n const e = document.createElement(\"script\");\n e.src = o, e.type = \"module\", e.async = !1;\n const [t] = document.querySelectorAll(\"script\");\n return t ? t?.parentNode?.insertBefore(e, t) : document.head.append(e), e;\n}, i = (o) => {\n const t = (o ? process.env.ELEMENTS_NEXT_ENTRY_URL : \"https://cdn.jsdelivr.net/npm/@revolugo/elements@rc/dist/revolugo.min.js\").replace(\"%V\", \"6.10.5\"), r = [...document.querySelectorAll(\"script\")].find((n) => n.src.includes(t));\n return new Promise((n) => {\n if (r) {\n n(!0);\n return;\n }\n c(t).addEventListener(\"load\", () => {\n n(!0);\n });\n });\n};\nexport {\n c as injectScript,\n i as loadScript\n};\n//# sourceMappingURL=index.script.js.map\n","import { loadScript } from '@revolugo/elements-core/script'\n\n// eslint-disable-next-line no-console\nloadScript().catch((error: unknown) => console.error(error))\n"],"names":["o","s","r","t","i","n","loadScript","error"],"mappings":"AAAA,MAAM,IAAI,CAACA,MAAM;AACf,SAAO,mBAAmB;AAAA,IACxB,GAAG,OAAO;AAAA,IACV,OAAO,CAACC,MAAM;AACZ,YAAMC,IAAI,OAAO,kBAAkB;AACnC,aAAO,iBAAiB,SAAS,MAAM;AACrC,QAAAA,KAAKA,EAAC,GAAID,EAAC;AAAA,MACb;AAAA,IACF;AAAA,EACJ;AACE,QAAM,IAAI,SAAS,cAAc,QAAQ;AACzC,IAAE,MAAMD,GAAG,EAAE,OAAO,UAAU,EAAE,QAAQ;AACxC,QAAM,CAACG,CAAC,IAAI,SAAS,iBAAiB,QAAQ;AAC9C,SAAOA,IAAIA,GAAG,YAAY,aAAa,GAAGA,CAAC,IAAI,SAAS,KAAK,OAAO,CAAC,GAAG;AAC1E,GAAGC,IAAI,CAACJ,MAAM;AACZ,QAAMG,IAA+C,0EAA2E,QAAQ,MAAM,QAAQ,GAAGD,IAAI,CAAC,GAAG,SAAS,iBAAiB,QAAQ,CAAC,EAAE,KAAK,CAACG,MAAMA,EAAE,IAAI,SAASF,CAAC,CAAC;AACnO,SAAO,IAAI,QAAQ,CAACE,MAAM;AACxB,QAAIH,GAAG;AACL,MAAAG,EAAE,EAAE;AACJ;AAAA,IACF;AACA,MAAEF,CAAC,EAAE,iBAAiB,QAAQ,MAAM;AAClC,MAAAE,EAAE,EAAE;AAAA,IACN,CAAC;AAAA,EACH,CAAC;AACH;ACtBAC,EAAA,EAAa,MAAM,CAACC,MAAmB,QAAQ,MAAMA,CAAK,CAAC;"}
|
package/dist/index.min.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
(function(o){typeof define=="function"&&define.amd?define(o):o()})((function(){"use strict";const o=r=>{window.RevolugoElements={...window.RevolugoElements,ready:n=>{const c=window.RevolugoElements?._ready;window.RevolugoElements._ready=()=>{c&&c(),n()}}};const e=document.createElement("script");e.src=r,e.type="module",e.async=!1;const[t]=document.querySelectorAll("script");return t?t?.parentNode?.insertBefore(e,t):document.head.append(e),e};(r=>{const e="https://cdn.jsdelivr.net/npm/@revolugo/elements
|
1
|
+
(function(o){typeof define=="function"&&define.amd?define(o):o()})((function(){"use strict";const o=r=>{window.RevolugoElements={...window.RevolugoElements,ready:n=>{const c=window.RevolugoElements?._ready;window.RevolugoElements._ready=()=>{c&&c(),n()}}};const e=document.createElement("script");e.src=r,e.type="module",e.async=!1;const[t]=document.querySelectorAll("script");return t?t?.parentNode?.insertBefore(e,t):document.head.append(e),e};(r=>{const e="https://cdn.jsdelivr.net/npm/@revolugo/elements@rc/dist/revolugo.min.js".replace("%V","6.10.5"),t=[...document.querySelectorAll("script")].find(n=>n.src.includes(e));return new Promise(n=>{if(t){n(!0);return}o(e).addEventListener("load",()=>{n(!0)})})})().catch(r=>console.error(r))}));
|
2
2
|
//# sourceMappingURL=index.min.js.map
|
package/dist/index.min.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.min.js","sources":["../../core/dist/index.script.js","../src/index.ts"],"sourcesContent":["const c = (o) => {\n window.RevolugoElements = {\n ...window.RevolugoElements,\n ready: (s) => {\n const
|
1
|
+
{"version":3,"file":"index.min.js","sources":["../../core/dist/index.script.js","../src/index.ts"],"sourcesContent":["const c = (o) => {\n window.RevolugoElements = {\n ...window.RevolugoElements,\n ready: (s) => {\n const r = window.RevolugoElements?._ready;\n window.RevolugoElements._ready = () => {\n r && r(), s();\n };\n }\n };\n const e = document.createElement(\"script\");\n e.src = o, e.type = \"module\", e.async = !1;\n const [t] = document.querySelectorAll(\"script\");\n return t ? t?.parentNode?.insertBefore(e, t) : document.head.append(e), e;\n}, i = (o) => {\n const t = (o ? process.env.ELEMENTS_NEXT_ENTRY_URL : \"https://cdn.jsdelivr.net/npm/@revolugo/elements@rc/dist/revolugo.min.js\").replace(\"%V\", \"6.10.5\"), r = [...document.querySelectorAll(\"script\")].find((n) => n.src.includes(t));\n return new Promise((n) => {\n if (r) {\n n(!0);\n return;\n }\n c(t).addEventListener(\"load\", () => {\n n(!0);\n });\n });\n};\nexport {\n c as injectScript,\n i as loadScript\n};\n//# sourceMappingURL=index.script.js.map\n","import { loadScript } from '@revolugo/elements-core/script'\n\n// eslint-disable-next-line no-console\nloadScript().catch((error: unknown) => console.error(error))\n"],"names":["c","o","s","r","t","error"],"mappings":"4FAAA,MAAMA,EAAKC,GAAM,CACf,OAAO,iBAAmB,CACxB,GAAG,OAAO,iBACV,MAAQC,GAAM,CACZ,MAAMC,EAAI,OAAO,kBAAkB,OACnC,OAAO,iBAAiB,OAAS,IAAM,CACrCA,GAAKA,EAAC,EAAID,EAAC,CACb,CACF,CACJ,EACE,MAAM,EAAI,SAAS,cAAc,QAAQ,EACzC,EAAE,IAAMD,EAAG,EAAE,KAAO,SAAU,EAAE,MAAQ,GACxC,KAAM,CAAC,CAAC,EAAI,SAAS,iBAAiB,QAAQ,EAC9C,OAAO,EAAI,GAAG,YAAY,aAAa,EAAG,CAAC,EAAI,SAAS,KAAK,OAAO,CAAC,EAAG,CAC1E,GAAQA,GAAM,CACZ,MAAMG,EAA+C,0EAA2E,QAAQ,KAAM,QAAQ,EAAGD,EAAI,CAAC,GAAG,SAAS,iBAAiB,QAAQ,CAAC,EAAE,KAAM,GAAM,EAAE,IAAI,SAASC,CAAC,CAAC,EACnO,OAAO,IAAI,QAAS,GAAM,CACxB,GAAID,EAAG,CACL,EAAE,EAAE,EACJ,MACF,CACAH,EAAEI,CAAC,EAAE,iBAAiB,OAAQ,IAAM,CAClC,EAAE,EAAE,CACN,CAAC,CACH,CAAC,CACH,GCtBA,EAAa,MAAOC,GAAmB,QAAQ,MAAMA,CAAK,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@revolugo/elements",
|
3
|
-
"version": "6.10.
|
3
|
+
"version": "6.10.5-rc.0",
|
4
4
|
"private": false,
|
5
5
|
"description": "Revolugo Elements UI library",
|
6
6
|
"author": "Revolugo",
|
@@ -16,10 +16,10 @@
|
|
16
16
|
"http-server": "14.1.1"
|
17
17
|
},
|
18
18
|
"devDependencies": {
|
19
|
-
"@revolugo/booking-api-client": "6.10.
|
20
|
-
"@revolugo/common": "6.10.
|
21
|
-
"@revolugo/elements-core": "6.10.
|
22
|
-
"@revolugo/elements-documentation": "6.10.
|
19
|
+
"@revolugo/booking-api-client": "6.10.5",
|
20
|
+
"@revolugo/common": "6.10.5",
|
21
|
+
"@revolugo/elements-core": "6.10.5",
|
22
|
+
"@revolugo/elements-documentation": "6.10.5"
|
23
23
|
},
|
24
24
|
"engines": {
|
25
25
|
"node": ">=20.18.1 <25"
|