@beterdichtbij/component-library 0.27.3 → 0.27.5

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.
@@ -7549,8 +7549,8 @@ const gu = /* @__PURE__ */ I2(_2), N2 = { class: "fallback" }, D2 = /* @__PURE__
7549
7549
  }
7550
7550
  }, d = function(h) {
7551
7551
  const p = s.value.findIndex((m) => {
7552
- var g, E;
7553
- return ((g = m.upload) == null ? void 0 : g.uuid) === ((E = h.upload) == null ? void 0 : E.uuid);
7552
+ var g;
7553
+ return (m == null ? void 0 : m.UUID) === ((g = h.upload) == null ? void 0 : g.uuid);
7554
7554
  });
7555
7555
  p !== -1 && s.value.splice(p, 1);
7556
7556
  }, f = xe(() => t.tag ?? "form");
@@ -25719,7 +25719,7 @@ const NT = (n) => {
25719
25719
  const e = ot(null);
25720
25720
  return { showModal: () => {
25721
25721
  const s = document.getElementById(n);
25722
- s instanceof HTMLElement ? (e.value || (e.value = new Dr(s, {})), e.value.show()) : console.error(`Modal '${n}' niet gevonden.`);
25722
+ s instanceof HTMLElement ? (e.value = Dr.getOrCreateInstance(s), e.value.show()) : console.error(`Modal '${n}' niet gevonden.`);
25723
25723
  }, closeModal: () => {
25724
25724
  e.value && e.value.hide();
25725
25725
  } };