@revolugo/elements-vue3 7.1.1 → 7.2.0-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.
@@ -14,7 +14,7 @@ const Ar = (e) => {
14
14
  const [n] = document.querySelectorAll("script");
15
15
  return n ? n?.parentNode?.insertBefore(c, n) : document.head.append(c), c;
16
16
  }, xr = (e) => {
17
- const c = (e ? process.env.ELEMENTS_NEXT_ENTRY_URL : "https://cdn.jsdelivr.net/npm/@revolugo/elements@%V/dist/revolugo.min.js").replace("%V", "7.1.1"), n = [...document.querySelectorAll("script")].find((t) => t.src.includes(c));
17
+ const c = (e ? process.env.ELEMENTS_NEXT_ENTRY_URL : "https://cdn.jsdelivr.net/npm/@revolugo/elements@rc/dist/revolugo.min.js").replace("%V", "7.2.0"), n = [...document.querySelectorAll("script")].find((t) => t.src.includes(c));
18
18
  return new Promise((t) => {
19
19
  if (n) {
20
20
  t(!0);
@@ -158,7 +158,7 @@ function Gr(e) {
158
158
  return e === Object(e) && !Array.isArray(e) && typeof e != "function";
159
159
  }
160
160
  function Oe(e, c, n = { deep: !0 }) {
161
- return Gr(e) ? Object.keys(e).reduce((t, i) => {
161
+ return Gr(e) && !(e instanceof Date) ? Object.keys(e).reduce((t, i) => {
162
162
  const m = n?.exclude && Ur(n.exclude, i) ? i : Ir[c](i);
163
163
  return t[m] = n.deep ? Oe(e[i], c, n) : e[i], t;
164
164
  }, {}) : Array.isArray(e) ? e.map((t) => Oe(t, c, n)) : e;