@iamproperty/components 5.1.0-beta7 → 5.1.0-beta8

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.
Files changed (91) hide show
  1. package/assets/css/components/accordion.global.css.map +1 -1
  2. package/assets/css/components/card.css +1 -1
  3. package/assets/css/components/card.css.map +1 -1
  4. package/assets/css/components/carousel.css +1 -1
  5. package/assets/css/components/carousel.css.map +1 -1
  6. package/assets/css/components/component.native.css +1 -1
  7. package/assets/css/components/component.native.css.map +1 -1
  8. package/assets/css/components/component.reset.css +1 -1
  9. package/assets/css/components/component.reset.css.map +1 -1
  10. package/assets/css/components/fileupload.css +1 -1
  11. package/assets/css/components/fileupload.css.map +1 -1
  12. package/assets/css/components/header.css +1 -1
  13. package/assets/css/components/header.css.map +1 -1
  14. package/assets/css/components/marketing.css +1 -0
  15. package/assets/css/components/marketing.css.map +1 -0
  16. package/assets/css/components/nav.css +1 -1
  17. package/assets/css/components/nav.css.map +1 -1
  18. package/assets/css/components/nav.global.css +1 -1
  19. package/assets/css/components/nav.global.css.map +1 -1
  20. package/assets/css/components/slider.css.map +1 -1
  21. package/assets/css/core.min.css +1 -1
  22. package/assets/css/core.min.css.map +1 -1
  23. package/assets/css/style.min.css +1 -1
  24. package/assets/css/style.min.css.map +1 -1
  25. package/assets/img/signin-bg.png +0 -0
  26. package/assets/js/components/accordion/accordion.component.min.js +1 -1
  27. package/assets/js/components/actionbar/actionbar.component.min.js +1 -1
  28. package/assets/js/components/address-lookup/address-lookup.component.min.js +1 -1
  29. package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
  30. package/assets/js/components/card/card.component.js +2 -1
  31. package/assets/js/components/card/card.component.min.js +4 -3
  32. package/assets/js/components/card/card.component.min.js.map +1 -1
  33. package/assets/js/components/carousel/carousel.component.js +61 -0
  34. package/assets/js/components/collapsible-side/collapsible-side.component.min.js +1 -1
  35. package/assets/js/components/fileupload/fileupload.component.min.js +2 -2
  36. package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
  37. package/assets/js/components/header/header.component.js +6 -12
  38. package/assets/js/components/header/header.component.min.js +8 -14
  39. package/assets/js/components/header/header.component.min.js.map +1 -1
  40. package/assets/js/components/marketing/marketing.component.js +37 -0
  41. package/assets/js/components/nav/nav.component.min.js +3 -3
  42. package/assets/js/components/notification/notification.component.min.js +1 -1
  43. package/assets/js/components/pagination/pagination.component.min.js +1 -1
  44. package/assets/js/components/search/search.component.min.js +1 -1
  45. package/assets/js/components/table/table.component.min.js +1 -1
  46. package/assets/js/components/tabs/tabs.component.min.js +1 -1
  47. package/assets/js/dynamic.js +1 -1
  48. package/assets/js/dynamic.min.js +3 -3
  49. package/assets/js/dynamic.min.js.map +1 -1
  50. package/assets/js/modules/carousel.js +15 -23
  51. package/assets/js/scripts.bundle.js +11 -16
  52. package/assets/js/scripts.bundle.js.map +1 -1
  53. package/assets/js/scripts.bundle.min.js +2 -2
  54. package/assets/js/scripts.bundle.min.js.map +1 -1
  55. package/assets/sass/_corefiles.scss +1 -0
  56. package/assets/sass/_elements.scss +1 -1
  57. package/assets/sass/_functions/mixins.scss +16 -0
  58. package/assets/sass/_functions/utilities.scss +0 -17
  59. package/assets/sass/_functions/variables.scss +1 -0
  60. package/assets/sass/components/card.scss +23 -3
  61. package/assets/sass/components/carousel.scss +86 -159
  62. package/assets/sass/components/component.native.scss +86 -3
  63. package/assets/sass/components/fileupload.scss +1 -1
  64. package/assets/sass/components/header.scss +53 -55
  65. package/assets/sass/components/marketing.scss +64 -0
  66. package/assets/sass/components/nav.global.scss +1 -0
  67. package/assets/sass/components/nav.scss +7 -1
  68. package/assets/sass/elements/admin-panel.scss +9 -7
  69. package/assets/sass/elements/badge.scss +29 -0
  70. package/assets/sass/elements/forms.scss +3 -3
  71. package/assets/sass/elements/links.scss +2 -1
  72. package/assets/sass/foundations/reboot.scss +12 -13
  73. package/assets/sass/foundations/root.scss +11 -3
  74. package/assets/sass/helpers/max-height.scss +78 -4
  75. package/assets/sass/templates/auth.scss +112 -0
  76. package/assets/ts/components/card/card.component.ts +2 -1
  77. package/assets/ts/components/carousel/README.md +39 -0
  78. package/assets/ts/components/carousel/carousel.component.ts +75 -0
  79. package/assets/ts/components/header/header.component.ts +6 -12
  80. package/assets/ts/components/marketing/marketing.component.ts +49 -0
  81. package/assets/ts/dynamic.ts +1 -1
  82. package/assets/ts/modules/carousel.ts +21 -33
  83. package/dist/components.es.js +459 -663
  84. package/dist/components.umd.js +95 -83
  85. package/dist/style.css +1 -1
  86. package/package.json +1 -1
  87. package/src/components/Carousel/Carousel.vue +18 -103
  88. package/src/components/Header/Header.vue +1 -3
  89. package/src/components/Marketing/Marketing.vue +39 -0
  90. package/src/components/Marketing/README.md +20 -0
  91. package/src/components/Carousel/Carousel.spec.js +0 -45
@@ -1,4 +1,4 @@
1
- import { openBlock as u, createElementBlock as m, normalizeClass as x, createElementVNode as f, toDisplayString as S, createCommentVNode as w, Fragment as T, renderList as H, renderSlot as _, withDirectives as P, mergeProps as N, vModelDynamic as G, vModelText as ht, vModelSelect as pt, createTextVNode as bt, resolveComponent as B, createVNode as C, withModifiers as ft } from "vue";
1
+ import { openBlock as m, createElementBlock as h, normalizeClass as L, createElementVNode as f, toDisplayString as $, createCommentVNode as _, Fragment as D, renderList as R, renderSlot as v, withDirectives as P, mergeProps as C, vModelDynamic as W, vModelText as ht, vModelSelect as pt, createTextVNode as bt, resolveComponent as K, createVNode as M, withModifiers as ft } from "vue";
2
2
  const y = (e, a) => {
3
3
  const t = e.__vccOpts || e;
4
4
  for (const [i, s] of a)
@@ -29,31 +29,31 @@ const y = (e, a) => {
29
29
  return "brand brand--" + this.id;
30
30
  }
31
31
  }
32
- }, yt = ["xlink:href"], vt = ["innerHTML"];
33
- function wt(e, a, t, i, s, o) {
34
- return u(), m("div", {
35
- class: x(o.className)
32
+ }, yt = ["xlink:href"], wt = ["innerHTML"];
33
+ function vt(e, a, t, i, s, o) {
34
+ return m(), h("div", {
35
+ class: L(o.className)
36
36
  }, [
37
- (u(), m("svg", null, [
38
- f("title", null, "iam " + S(t.id), 1),
37
+ (m(), h("svg", null, [
38
+ f("title", null, "iam " + $(t.id), 1),
39
39
  f("use", {
40
40
  "xlink:href": t.path + o.src
41
41
  }, null, 8, yt)
42
42
  ])),
43
- t.desc ? (u(), m("span", {
43
+ t.desc ? (m(), h("span", {
44
44
  key: 0,
45
45
  innerHTML: t.desc
46
- }, null, 8, vt)) : w("", !0)
46
+ }, null, 8, wt)) : _("", !0)
47
47
  ], 2);
48
48
  }
49
- const Di = /* @__PURE__ */ y(gt, [["render", wt]]);
49
+ const Li = /* @__PURE__ */ y(gt, [["render", vt]]);
50
50
  /*!
51
- * iamKey v5.1.0-beta7
51
+ * iamKey v5.1.0-beta8
52
52
  * Copyright 2022-2023 iamproperty
53
53
  */
54
54
  const _t = function(e) {
55
55
  return typeof e != "string" ? !1 : !isNaN(e) && !isNaN(parseFloat(e));
56
- }, At = (e, a) => String(e).padStart(a, "0"), xt = (e) => e.charAt(0).toUpperCase() + e.slice(1), R = (e, a, t) => a.split(/[\.\[\]\'\"]/).filter((i) => i).reduce((i, s) => i ? i[s] : t, e);
56
+ }, xt = (e, a) => String(e).padStart(a, "0"), At = (e) => e.charAt(0).toUpperCase() + e.slice(1), j = (e, a, t) => a.split(/[\.\[\]\'\"]/).filter((i) => i).reduce((i, s) => i ? i[s] : t, e);
57
57
  var kt = function(e, a, t, i) {
58
58
  function s(o) {
59
59
  return o instanceof t ? o : new t(function(n) {
@@ -105,7 +105,7 @@ const tt = (e) => {
105
105
  n += 1.7, a = a > n ? a : n;
106
106
  }
107
107
  }), a;
108
- }, St = (e, a) => {
108
+ }, $t = (e, a) => {
109
109
  if (a.classList.contains("table--fullwidth") && !a.hasAttribute("data-expandable") || e.querySelectorAll("thead tr th").length < 4 && !a.hasAttribute("data-expandable"))
110
110
  return !1;
111
111
  Array.from(e.querySelectorAll("thead tr")).forEach((t, i) => {
@@ -114,7 +114,7 @@ const tt = (e) => {
114
114
  const s = t.getAttribute("data-view") === "full" ? "aria-expanded" : "";
115
115
  t.insertAdjacentHTML("afterbegin", `<td class="td--fixed td--expand"><button class="btn btn-compact btn-secondary" data-expand-button ${s}>Expand</button></td>`);
116
116
  });
117
- }, $t = (e) => {
117
+ }, St = (e) => {
118
118
  e.addEventListener("click", (a) => {
119
119
  if (a && a.target instanceof HTMLElement && a.target.closest("[data-expand-button]")) {
120
120
  let t = a.target.closest("[data-expand-button]"), i = t.closest("tr");
@@ -137,12 +137,12 @@ const tt = (e) => {
137
137
  let n = function(r, p = !1) {
138
138
  if (a.classList.contains("processing"))
139
139
  return !1;
140
- if (r.type == "submit" && (a.classList.add("processing"), Array.from(a.querySelectorAll("[data-duplicate]")).forEach((c, h) => {
141
- const g = c.getAttribute("data-duplicate"), b = document.getElementById(g), A = document.querySelector(`[for="${g}"] iam-card`);
140
+ if (r.type == "submit" && (a.classList.add("processing"), Array.from(a.querySelectorAll("[data-duplicate]")).forEach((c, u) => {
141
+ const g = c.getAttribute("data-duplicate"), b = document.getElementById(g), x = document.querySelector(`[for="${g}"] iam-card`);
142
142
  if (b.checked != c.checked)
143
- if (A) {
144
- let $ = new Event("click");
145
- A.dispatchEvent($);
143
+ if (x) {
144
+ let S = new Event("click");
145
+ x.dispatchEvent(S);
146
146
  } else
147
147
  b.checked = c.checked;
148
148
  }), a.classList.remove("processing")), a.hasAttribute("data-ajax")) {
@@ -152,11 +152,11 @@ const tt = (e) => {
152
152
  }
153
153
  nt(e, a, t, i);
154
154
  } else
155
- a.hasAttribute("data-submit") ? a.submit() : (K(e, a, i), U(e, a));
155
+ a.hasAttribute("data-submit") ? a.submit() : (G(e, a, i), B(e, a));
156
156
  if (a.hasAttribute("data-ajax-post")) {
157
- let c = new FormData(a), h = new URLSearchParams(c).toString();
157
+ let c = new FormData(a), u = new URLSearchParams(c).toString();
158
158
  const g = new XMLHttpRequest();
159
- g.open("GET", `${window.location.href}?ajax=true&${h}`), g.send();
159
+ g.open("GET", `${window.location.href}?ajax=true&${u}`), g.send();
160
160
  }
161
161
  };
162
162
  a.addEventListener("keyup", (r) => {
@@ -164,10 +164,10 @@ const tt = (e) => {
164
164
  n(r);
165
165
  }, 500));
166
166
  }), a.addEventListener("change", (r) => {
167
- clearTimeout(o), r && r.target instanceof HTMLElement && r.target.closest("[data-sort]") && (a.hasAttribute("data-submit") || Q(e, a, s), n(r)), r && r.target instanceof HTMLElement && r.target.closest("[data-search]") && n(r), r && r.target instanceof HTMLElement && r.target.closest("[data-filter][data-no-ajax]") ? (K(e, a, i), U(e, a)) : (r && r.target instanceof HTMLElement && r.target.closest("[data-filter]") && r.target.closest("form .dialog__wrapper > dialog") || r && r.target instanceof HTMLElement && r.target.closest("[data-filter]") && !r.target.closest("form dialog")) && n(r), r && r.target instanceof HTMLElement && r.target.closest("[data-show]") && n(r), r && r.target instanceof HTMLElement && r.target.closest("[data-mimic]") && n(r);
167
+ clearTimeout(o), r && r.target instanceof HTMLElement && r.target.closest("[data-sort]") && (a.hasAttribute("data-submit") || Q(e, a, s), n(r)), r && r.target instanceof HTMLElement && r.target.closest("[data-search]") && n(r), r && r.target instanceof HTMLElement && r.target.closest("[data-filter][data-no-ajax]") ? (G(e, a, i), B(e, a)) : (r && r.target instanceof HTMLElement && r.target.closest("[data-filter]") && r.target.closest("form .dialog__wrapper > dialog") || r && r.target instanceof HTMLElement && r.target.closest("[data-filter]") && !r.target.closest("form dialog")) && n(r), r && r.target instanceof HTMLElement && r.target.closest("[data-show]") && n(r), r && r.target instanceof HTMLElement && r.target.closest("[data-mimic]") && n(r);
168
168
  }), a.addEventListener("click", (r) => {
169
169
  if (clearTimeout(o), r && r.target instanceof HTMLElement && r.target.closest('dialog button:not([type="button"])') && r.target.closest('dialog button:not([type="button"])').closest("dialog").close(), r && r.target instanceof HTMLElement && r.target.closest(".dialog__close") && (r.preventDefault(), r.stopPropagation()), r && r.target instanceof HTMLElement && r.target.closest("[data-clear]")) {
170
- a.classList.add("processing"), Array.from(a.querySelectorAll(".applied-filters")).forEach((c, h) => {
170
+ a.classList.add("processing"), Array.from(a.querySelectorAll(".applied-filters")).forEach((c, u) => {
171
171
  c.innerHTML = "";
172
172
  });
173
173
  let p = a.elements;
@@ -181,12 +181,12 @@ const tt = (e) => {
181
181
  case "radio":
182
182
  case "checkbox":
183
183
  if (p[c].checked) {
184
- let h = p[c], g = h.getAttribute("id"), b = document.querySelector(`[for="${g}"`);
184
+ let u = p[c], g = u.getAttribute("id"), b = document.querySelector(`[for="${g}"`);
185
185
  if (b.querySelector("iam-card")) {
186
- let A = b.querySelector("iam-card"), $ = new Event("click");
187
- A.dispatchEvent($);
186
+ let x = b.querySelector("iam-card"), S = new Event("click");
187
+ x.dispatchEvent(S);
188
188
  }
189
- h.checked = !1;
189
+ u.checked = !1;
190
190
  }
191
191
  break;
192
192
  case "select-one":
@@ -206,29 +206,29 @@ const tt = (e) => {
206
206
  let l = [], d = [];
207
207
  Array.from(a.querySelectorAll("[data-mimic]")).forEach((r, p) => {
208
208
  let c = r.getAttribute("data-mimic");
209
- Array.from(document.querySelectorAll(`[name="${c}"]`)).forEach((h, g) => {
210
- let b = h.closest("form");
209
+ Array.from(document.querySelectorAll(`[name="${c}"]`)).forEach((u, g) => {
210
+ let b = u.closest("form");
211
211
  l.includes(b) || l.push(b), d.includes(c) || d.push(c);
212
212
  });
213
213
  }), l.forEach((r, p) => {
214
214
  const c = function() {
215
- let h = [], g = new FormData(r);
216
- for (const [b, A] of g)
217
- document.querySelector(`[data-mimic="${b}"]`) && !h.includes(b) ? (h.push(b), document.querySelector(`[data-mimic="${b}"]`).value = A) : document.querySelector(`[data-mimic="${b}"]`) && (document.querySelector(`[data-mimic="${b}"]`).value += "," + A);
218
- for (const b of h) {
219
- const A = new Event("force");
220
- a.dispatchEvent(A);
215
+ let u = [], g = new FormData(r);
216
+ for (const [b, x] of g)
217
+ document.querySelector(`[data-mimic="${b}"]`) && !u.includes(b) ? (u.push(b), document.querySelector(`[data-mimic="${b}"]`).value = x) : document.querySelector(`[data-mimic="${b}"]`) && (document.querySelector(`[data-mimic="${b}"]`).value += "," + x);
218
+ for (const b of u) {
219
+ const x = new Event("force");
220
+ a.dispatchEvent(x);
221
221
  }
222
222
  for (const b of d)
223
223
  if (!g.has(b) && r.querySelector(`[name="${b}"]`)) {
224
224
  document.querySelector(`[data-mimic="${b}"]`).value = "";
225
- const A = new Event("force");
226
- a.dispatchEvent(A);
225
+ const x = new Event("force");
226
+ a.dispatchEvent(x);
227
227
  }
228
228
  };
229
- r.addEventListener("force", (h) => {
229
+ r.addEventListener("force", (u) => {
230
230
  c();
231
- }), r.addEventListener("change", (h) => {
231
+ }), r.addEventListener("change", (u) => {
232
232
  c();
233
233
  });
234
234
  });
@@ -241,17 +241,17 @@ const tt = (e) => {
241
241
  let r = [];
242
242
  ["asc", "desc", "descending"].includes(l) || (r = l.split(","));
243
243
  let p = [];
244
- Array.from(i.querySelectorAll("tr")).forEach((h, g) => {
245
- let b = h.querySelector('td[data-label="' + n + '"], th[data-label="' + n + '"]').textContent.trim();
246
- h.querySelector('[data-label="' + n + '"] .td__content') && (b = h.querySelector('[data-label="' + n + '"] .td__content').textContent.trim()), r.length && r.includes(b) && (b = r.indexOf(b)), _t(b) && (b = At(b, 10)), d && d == "date" && (b = new Date(b));
247
- const A = { index: b, row: h };
248
- p.push(A);
249
- }), p.sort((h, g) => h.index > g.index ? 1 : -1), (l == "descending" || l == "desc") && (p = p.reverse());
244
+ Array.from(i.querySelectorAll("tr")).forEach((u, g) => {
245
+ let b = u.querySelector('td[data-label="' + n + '"], th[data-label="' + n + '"]').textContent.trim();
246
+ u.querySelector('[data-label="' + n + '"] .td__content') && (b = u.querySelector('[data-label="' + n + '"] .td__content').textContent.trim()), r.length && r.includes(b) && (b = r.indexOf(b)), _t(b) && (b = xt(b, 10)), d && d == "date" && (b = new Date(b));
247
+ const x = { index: b, row: u };
248
+ p.push(x);
249
+ }), p.sort((u, g) => u.index > g.index ? 1 : -1), (l == "descending" || l == "desc") && (p = p.reverse());
250
250
  let c = "";
251
- p.forEach((h, g) => {
252
- c += h.row.outerHTML;
251
+ p.forEach((u, g) => {
252
+ c += u.row.outerHTML;
253
253
  }), i.innerHTML = c;
254
- }, K = (e, a, t) => {
254
+ }, G = (e, a, t) => {
255
255
  e.classList.remove("table--filtered");
256
256
  let i = it(a), s = [], o = 0, n = a.querySelector("[data-pagination]") ? parseInt(a.querySelector("[data-pagination]").value) : 1, l = a.querySelector("[data-show]") ? parseInt(a.querySelector("[data-show]").value) : 15;
257
257
  if (Array.from(e.querySelectorAll("tbody tr")).forEach((r, p) => {
@@ -272,47 +272,47 @@ const tt = (e) => {
272
272
  r.innerHTML += `(${d})`, r.parentNode.classList.add("hover");
273
273
  }), e.classList.add("table--filtered");
274
274
  for (const [r, p] of Object.entries(i))
275
- Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).forEach((c, h) => {
275
+ Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).forEach((c, u) => {
276
276
  let g = !1;
277
- p.forEach((b, A) => {
278
- let $ = c.querySelector(`[data-label="${r}"]`);
277
+ p.forEach((b, x) => {
278
+ let S = c.querySelector(`[data-label="${r}"]`);
279
279
  if (b && b == "$today")
280
280
  b = Y("date", /* @__PURE__ */ new Date());
281
281
  else if (b && b == "$yesterday") {
282
- let k = /* @__PURE__ */ new Date();
283
- k.setDate(k.getDate() - 1), b = Y("date", k);
282
+ let A = /* @__PURE__ */ new Date();
283
+ A.setDate(A.getDate() - 1), b = Y("date", A);
284
284
  } else if (b && (b == "$thisWeek" || b == "$lastWeek")) {
285
- let k = /* @__PURE__ */ new Date(), L = new Date(k.setDate(k.getDate() - (k.getDay() - 1))), v = new Date(k.setDate(k.getDate() - k.getDay() + 7)), q = new Date($.textContent.toLowerCase());
286
- if (k.setHours(0, 0, 0, 0), L.setHours(0, 0, 0, 0), v.setHours(0, 0, 0, 0), q.setHours(0, 0, 0, 0), b == "$thisWeek")
287
- g = q >= L && q <= v;
285
+ let A = /* @__PURE__ */ new Date(), k = new Date(A.setDate(A.getDate() - (A.getDay() - 1))), w = new Date(A.setDate(A.getDate() - A.getDay() + 7)), q = new Date(S.textContent.toLowerCase());
286
+ if (A.setHours(0, 0, 0, 0), k.setHours(0, 0, 0, 0), w.setHours(0, 0, 0, 0), q.setHours(0, 0, 0, 0), b == "$thisWeek")
287
+ g = q >= k && q <= w;
288
288
  else {
289
- let E = new Date(L.setDate(L.getDate() - 7)), z = new Date(v.setDate(v.getDate() - 7));
289
+ let E = new Date(k.setDate(k.getDate() - 7)), z = new Date(w.setDate(w.getDate() - 7));
290
290
  E.setHours(0, 0, 0, 0), z.setHours(0, 0, 0, 0), g = q >= E && q <= z;
291
291
  }
292
292
  } else if (b && b == "$thisMonth") {
293
- let k = /* @__PURE__ */ new Date(), L = k.getFullYear(), v = k.getMonth();
294
- var M = new Date(L, v, 1), F = new Date(L, v + 1, 0);
295
- let q = new Date($.textContent.toLowerCase());
296
- M.setHours(0, 0, 0, 0), F.setHours(0, 0, 0, 0), q.setHours(0, 0, 0, 0), g = q >= M && q <= F;
293
+ let A = /* @__PURE__ */ new Date(), k = A.getFullYear(), w = A.getMonth();
294
+ var T = new Date(k, w, 1), F = new Date(k, w + 1, 0);
295
+ let q = new Date(S.textContent.toLowerCase());
296
+ T.setHours(0, 0, 0, 0), F.setHours(0, 0, 0, 0), q.setHours(0, 0, 0, 0), g = q >= T && q <= F;
297
297
  } else if (b && b == "$lastMonth") {
298
- let k = /* @__PURE__ */ new Date(), L = k.getFullYear(), v = k.getMonth();
299
- var I = new Date(L, v - 1, 1), j = new Date(L, v, 0);
300
- let q = new Date($.textContent.toLowerCase());
301
- I.setHours(0, 0, 0, 0), j.setHours(0, 0, 0, 0), q.setHours(0, 0, 0, 0), g = q >= I && q <= j;
298
+ let A = /* @__PURE__ */ new Date(), k = A.getFullYear(), w = A.getMonth();
299
+ var I = new Date(k, w - 1, 1), H = new Date(k, w, 0);
300
+ let q = new Date(S.textContent.toLowerCase());
301
+ I.setHours(0, 0, 0, 0), H.setHours(0, 0, 0, 0), q.setHours(0, 0, 0, 0), g = q >= I && q <= H;
302
302
  }
303
- $ && $.textContent.toLowerCase().includes(b.toLowerCase()) && (g = !0);
303
+ S && S.textContent.toLowerCase().includes(b.toLowerCase()) && (g = !0);
304
304
  }), g || (c.classList.add("filtered"), c.setAttribute("data-filtered-by", r));
305
305
  });
306
306
  Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).forEach((r, p) => {
307
307
  let c = !(s.length > 0 && s[0].value.length >= 3);
308
- s.forEach((h, g) => {
309
- let b = r.querySelector(`[data-label="${h.column}"]`);
310
- b && h.value.length >= 3 && b.textContent.toLowerCase().includes(h.value.toLowerCase()) && (c = !0);
308
+ s.forEach((u, g) => {
309
+ let b = r.querySelector(`[data-label="${u.column}"]`);
310
+ b && u.value.length >= 3 && b.textContent.toLowerCase().includes(u.value.toLowerCase()) && (c = !0);
311
311
  }), c || r.classList.add("filtered");
312
312
  }), Array.from(e.querySelectorAll("tbody tr:not(.filtered")).forEach((r, p) => {
313
313
  o++, r.classList.add("filtered--matched"), Math.ceil(o / l) == parseInt(n) && r.classList.add("filtered--show");
314
314
  }), t && (t.setAttribute("data-total", o), t.setAttribute("data-show", l), t.setAttribute("data-page", n));
315
- }, U = (e, a, t) => {
315
+ }, B = (e, a, t) => {
316
316
  Array.from(a.querySelectorAll("[data-query]")).forEach((i, s) => {
317
317
  let o = i.getAttribute("data-query"), n = 0;
318
318
  if (o == "total")
@@ -329,8 +329,8 @@ const tt = (e) => {
329
329
  n = Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).filter(function(d) {
330
330
  let r = !0;
331
331
  for (const [p, c] of Object.entries(l)) {
332
- let h = c.split(" == ");
333
- (!d.querySelector(`td[data-label="${h[0]}"]`) || d.querySelector(`td[data-label="${h[0]}"]`).textContent != `${h[1]}`) && (r = !1);
332
+ let u = c.split(" == ");
333
+ (!d.querySelector(`td[data-label="${u[0]}"]`) || d.querySelector(`td[data-label="${u[0]}"]`).textContent != `${u[1]}`) && (r = !1);
334
334
  }
335
335
  return r;
336
336
  }).length;
@@ -377,7 +377,7 @@ const tt = (e) => {
377
377
  var r = window.URL.createObjectURL(l);
378
378
  d.href = r, d.style.display = "none", document.body.appendChild(d), d.click(), document.body.removeChild(d);
379
379
  }, at = function(e, a, t, i) {
380
- if (tt(e), St(e, i), U(e, a, i), i && i.classList.contains("table--cta")) {
380
+ if (tt(e), $t(e, i), B(e, a, i), i && i.classList.contains("table--cta")) {
381
381
  let s = function() {
382
382
  Array.from(e.querySelectorAll("tr")).forEach((n, l) => {
383
383
  let d = n.offsetHeight;
@@ -400,54 +400,54 @@ const tt = (e) => {
400
400
  let s = new FormData(a), o = new URLSearchParams(s).toString(), n = e.querySelectorAll("thead tr th:not(.expand-button-heading)"), l = e.querySelector("tbody"), d = a.getAttribute("data-ajax");
401
401
  i.classList.add("table--loading");
402
402
  let r = it(a);
403
- Array.from(a.querySelectorAll("[data-filter-count]")).forEach((h, g) => {
404
- h.innerHTML = "", h.parentNode.classList.remove("hover");
403
+ Array.from(a.querySelectorAll("[data-filter-count]")).forEach((u, g) => {
404
+ u.innerHTML = "", u.parentNode.classList.remove("hover");
405
405
  });
406
406
  let p = 0;
407
- Object.values(r).forEach((h, g) => {
408
- typeof h == "object" && Object.values(h).length ? p += Object.values(h).length : p++;
409
- }), p && Array.from(a.querySelectorAll("[data-filter-count]")).forEach((h, g) => {
410
- h.innerHTML += `(${p})`, h.parentNode.classList.add("hover");
407
+ Object.values(r).forEach((u, g) => {
408
+ typeof u == "object" && Object.values(u).length ? p += Object.values(u).length : p++;
409
+ }), p && Array.from(a.querySelectorAll("[data-filter-count]")).forEach((u, g) => {
410
+ u.innerHTML += `(${p})`, u.parentNode.classList.add("hover");
411
411
  }), window.controller || (window.controller = []), window.controller[d] && window.controller[d].abort(), window.controller[d] = new AbortController();
412
412
  const { signal: c } = controller[d];
413
413
  t.setAttribute("data-loading", "true"), a.classList.add("processing");
414
414
  try {
415
- yield fetch(d + "?" + o, { signal: c, method: "get", credentials: "same-origin", headers: new Headers({ "Content-Type": "application/json", Accept: "application/json", "X-Requested-With": "XMLHttpRequest" }) }).then((h) => h.json()).then((h) => {
416
- let g = a.hasAttribute("data-schema") ? a.getAttribute("data-schema") : "data", b = a.hasAttribute("data-schema-total") ? a.getAttribute("data-schema-total") : "meta.total", A = a.hasAttribute("data-schema-page") ? a.getAttribute("data-schema-page") : "meta.current_page", $ = R(h, b, 15), M = R(h, A, 1), F = R(h, g), I = i.hasAttribute("data-empty-msg") ? i.getAttribute("data-empty-msg") : "No results found";
417
- F ? (l.innerHTML = "", F.forEach((j, k) => {
418
- var L = document.createElement("tr");
419
- n.forEach((v, q) => {
415
+ yield fetch(d + "?" + o, { signal: c, method: "get", credentials: "same-origin", headers: new Headers({ "Content-Type": "application/json", Accept: "application/json", "X-Requested-With": "XMLHttpRequest" }) }).then((u) => u.json()).then((u) => {
416
+ let g = a.hasAttribute("data-schema") ? a.getAttribute("data-schema") : "data", b = a.hasAttribute("data-schema-total") ? a.getAttribute("data-schema-total") : "meta.total", x = a.hasAttribute("data-schema-page") ? a.getAttribute("data-schema-page") : "meta.current_page", S = j(u, b, 15), T = j(u, x, 1), F = j(u, g), I = i.hasAttribute("data-empty-msg") ? i.getAttribute("data-empty-msg") : "No results found";
417
+ F ? (l.innerHTML = "", F.forEach((H, A) => {
418
+ var k = document.createElement("tr");
419
+ n.forEach((w, q) => {
420
420
  let E = "";
421
421
  var z = document.createElement("td");
422
- if (z.setAttribute("data-label", v.innerText), v.getAttribute("data-output")) {
423
- var V = v.getAttribute("data-output");
424
- E = V.replace(new RegExp(/{(.*?)}/, "gm"), function(dt) {
425
- return R(j, dt.replace("{", "").replace("}", ""));
422
+ if (z.setAttribute("data-label", w.innerText), w.getAttribute("data-output")) {
423
+ var U = w.getAttribute("data-output");
424
+ E = U.replace(new RegExp(/{(.*?)}/, "gm"), function(dt) {
425
+ return j(H, dt.replace("{", "").replace("}", ""));
426
426
  });
427
427
  }
428
- if (v.hasAttribute("data-output-array")) {
429
- var V = v.getAttribute("data-output");
430
- let ct = R(j, V.replace("{", "").replace("}", ""));
431
- E = "", ct.forEach((J, Ni) => {
432
- let ut = v.getAttribute("data-output-array"), O = "";
433
- if (v.hasAttribute("data-output-array-property") && v.hasAttribute("data-output-array-transform")) {
434
- const W = R(J, v.getAttribute("data-output-array-property")), mt = JSON.parse(v.getAttribute("data-output-array-transform"))[W];
435
- O = ut.replace(`{${v.getAttribute("data-output-array-property")}}`, mt);
428
+ if (w.hasAttribute("data-output-array")) {
429
+ var U = w.getAttribute("data-output");
430
+ let ct = j(H, U.replace("{", "").replace("}", ""));
431
+ E = "", ct.forEach((J, Ai) => {
432
+ let ut = w.getAttribute("data-output-array"), O = "";
433
+ if (w.hasAttribute("data-output-array-property") && w.hasAttribute("data-output-array-transform")) {
434
+ const V = j(J, w.getAttribute("data-output-array-property")), mt = JSON.parse(w.getAttribute("data-output-array-transform"))[V];
435
+ O = ut.replace(`{${w.getAttribute("data-output-array-property")}}`, mt);
436
436
  }
437
- O = O.replace(new RegExp(/{(.*?)}/, "gm"), function(W) {
438
- return R(J, W.replace("{", "").replace("}", ""));
437
+ O = O.replace(new RegExp(/{(.*?)}/, "gm"), function(V) {
438
+ return j(J, V.replace("{", "").replace("}", ""));
439
439
  }), E += O;
440
440
  });
441
441
  }
442
- v.hasAttribute("data-transform") && (E = JSON.parse(v.getAttribute("data-transform"))[E], !E && v.hasAttribute("data-default") && (E = v.getAttribute("data-default"))), z.innerHTML = E, L.appendChild(z);
443
- }), l.appendChild(L);
444
- }), et(e, a), i.setAttribute("data-total", parseInt($)), i.setAttribute("data-page", parseInt(M)), at(e, a, t, i), Array.from(a.querySelectorAll("[data-ajax-query]")).forEach((j, k) => {
445
- let L = R(h, j.getAttribute("data-ajax-query"), "");
446
- j.hasAttribute("data-total") ? j.setAttribute("data-total", L) : j.innerHTML = L;
447
- }), parseInt($) == 0 && (l.innerHTML = `<tr><td colspan="100%"><span>${I}</span></td></tr>`), i.classList.remove("table--loading"), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Ajax table loaded", url: d, formData: o })) : l.innerHTML = '<tr><td colspan="100%"><span>Error loading table</span></td></tr>', t.removeAttribute("data-loading"), a.classList.remove("processing");
442
+ w.hasAttribute("data-transform") && (E = JSON.parse(w.getAttribute("data-transform"))[E], !E && w.hasAttribute("data-default") && (E = w.getAttribute("data-default"))), z.innerHTML = E, k.appendChild(z);
443
+ }), l.appendChild(k);
444
+ }), et(e, a), i.setAttribute("data-total", parseInt(S)), i.setAttribute("data-page", parseInt(T)), at(e, a, t, i), Array.from(a.querySelectorAll("[data-ajax-query]")).forEach((H, A) => {
445
+ let k = j(u, H.getAttribute("data-ajax-query"), "");
446
+ H.hasAttribute("data-total") ? H.setAttribute("data-total", k) : H.innerHTML = k;
447
+ }), parseInt(S) == 0 && (l.innerHTML = `<tr><td colspan="100%"><span>${I}</span></td></tr>`), i.classList.remove("table--loading"), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Ajax table loaded", url: d, formData: o })) : l.innerHTML = '<tr><td colspan="100%"><span>Error loading table</span></td></tr>', t.removeAttribute("data-loading"), a.classList.remove("processing");
448
448
  });
449
- } catch (h) {
450
- console.log(h);
449
+ } catch (u) {
450
+ console.log(u);
451
451
  }
452
452
  });
453
453
  }, Y = (e, a) => {
@@ -457,7 +457,7 @@ const tt = (e) => {
457
457
  case "date":
458
458
  return new Date(a).toLocaleDateString("en-gb", { year: "2-digit", month: "long", day: "numeric" });
459
459
  case "capitalise":
460
- return a = xt(a);
460
+ return a = At(a);
461
461
  }
462
462
  };
463
463
  class Mt extends HTMLElement {
@@ -496,7 +496,7 @@ class Mt extends HTMLElement {
496
496
  const a = new URLSearchParams(window.location.search);
497
497
  this.hasAttribute("data-total") || this.setAttribute("data-total", this.querySelectorAll("table tbody tr").length), this.hasAttribute("data-page") || this.setAttribute("data-page", a.has("page") ? a.get("page") : 1), this.hasAttribute("data-show") || this.setAttribute("data-show", a.has("show") ? a.get("show") : 15), this.hasAttribute("data-increment") || this.setAttribute("data-increment", this.getAttribute("data-show"));
498
498
  let t = this.classList.toString();
499
- if (t = t.replace("table--cta", ""), t = t.replace("table--loading", ""), this.shadowRoot.querySelector(".table__wrapper").className += ` ${t}`, this.querySelector(".actionbar__sticky") && this.shadowRoot.querySelector(".table__wrapper").classList.add("has-actionbar"), this.table = this.querySelector("table"), this.savedTableBody = this.table.querySelector("tbody").cloneNode(!0), this.pagination = this.shadowRoot.querySelector("iam-pagination"), this.pagination.setAttribute("data-total", this.getAttribute("data-total")), this.pagination.setAttribute("data-page", this.getAttribute("data-page")), this.pagination.setAttribute("data-show", this.getAttribute("data-show")), this.pagination.setAttribute("data-increment", this.getAttribute("data-show")), this.hasAttribute("data-page-jump") && this.pagination.setAttribute("data-page-jump", "true"), this.hasAttribute("data-per-page") && this.pagination.setAttribute("data-per-page", "true"), this.hasAttribute("data-item-count") && this.pagination.setAttribute("data-item-count", "true"), this.hasAttribute("data-loading") && this.pagination.setAttribute("data-loading", "true"), this.classList.contains("table--fullwidth") && this.pagination.setAttribute("data-minimal", "true"), this.classList.contains("table--cta") || this.shadowRoot.querySelector(".table--cta").classList.remove("table--cta"), this.form = document.createElement("form"), this.hasAttribute("data-filterby") ? this.form = document.querySelector(`#${this.getAttribute("data-filterby")}`) : this.table.parentNode.insertBefore(this.form, this.table.nextSibling), this.form.hasAttribute("data-ajax") && this.table.classList.add("table--ajax"), et(this.table, this.form), this.form.querySelector("[data-pagination]") || (this.form.innerHTML += `<input name="page" type="hidden" value="${this.getAttribute("data-page")}" data-pagination="true" />`), this.form.querySelector("[data-show]") || (this.form.innerHTML += `<input name="show" type="hidden" value="${this.getAttribute("data-show")}" data-show="true" />`), $t(this.table), qt(this.table, this.form, this.pagination, this, this.savedTableBody), Et(this.table, this.form, this.pagination, this), Tt(this.shadowRoot.querySelector("[data-export]"), this.table), this.form.getAttribute("data-ajax"))
499
+ if (t = t.replace("table--cta", ""), t = t.replace("table--loading", ""), this.shadowRoot.querySelector(".table__wrapper").className += ` ${t}`, this.querySelector(".actionbar__sticky") && this.shadowRoot.querySelector(".table__wrapper").classList.add("has-actionbar"), this.table = this.querySelector("table"), this.savedTableBody = this.table.querySelector("tbody").cloneNode(!0), this.pagination = this.shadowRoot.querySelector("iam-pagination"), this.pagination.setAttribute("data-total", this.getAttribute("data-total")), this.pagination.setAttribute("data-page", this.getAttribute("data-page")), this.pagination.setAttribute("data-show", this.getAttribute("data-show")), this.pagination.setAttribute("data-increment", this.getAttribute("data-show")), this.hasAttribute("data-page-jump") && this.pagination.setAttribute("data-page-jump", "true"), this.hasAttribute("data-per-page") && this.pagination.setAttribute("data-per-page", "true"), this.hasAttribute("data-item-count") && this.pagination.setAttribute("data-item-count", "true"), this.hasAttribute("data-loading") && this.pagination.setAttribute("data-loading", "true"), this.classList.contains("table--fullwidth") && this.pagination.setAttribute("data-minimal", "true"), this.classList.contains("table--cta") || this.shadowRoot.querySelector(".table--cta").classList.remove("table--cta"), this.form = document.createElement("form"), this.hasAttribute("data-filterby") ? this.form = document.querySelector(`#${this.getAttribute("data-filterby")}`) : this.table.parentNode.insertBefore(this.form, this.table.nextSibling), this.form.hasAttribute("data-ajax") && this.table.classList.add("table--ajax"), et(this.table, this.form), this.form.querySelector("[data-pagination]") || (this.form.innerHTML += `<input name="page" type="hidden" value="${this.getAttribute("data-page")}" data-pagination="true" />`), this.form.querySelector("[data-show]") || (this.form.innerHTML += `<input name="show" type="hidden" value="${this.getAttribute("data-show")}" data-show="true" />`), St(this.table), qt(this.table, this.form, this.pagination, this, this.savedTableBody), Et(this.table, this.form, this.pagination, this), Tt(this.shadowRoot.querySelector("[data-export]"), this.table), this.form.getAttribute("data-ajax"))
500
500
  nt(this.table, this.form, this.pagination, this);
501
501
  else {
502
502
  let i = function(o = 1) {
@@ -530,7 +530,7 @@ class Mt extends HTMLElement {
530
530
  }
531
531
  }), s != -1 && (this.table.querySelector(`thead tr th:nth-child(${s + 1})`).classList.add("th--fixed"), Array.from(this.table.querySelectorAll(`tbody tr td:nth-child(${s + 1})`)).forEach((o, n) => {
532
532
  o.classList.add("td--fixed");
533
- })), at(this.table, this.form, this.pagination, this), K(this.table, this.form, this), U(this.table, this.form);
533
+ })), at(this.table, this.form, this.pagination, this), G(this.table, this.form, this), B(this.table, this.form);
534
534
  }
535
535
  this.shadowRoot.querySelector(".table__wrapper").addEventListener("scroll", (i) => {
536
536
  this.table.querySelector("dialog[open]") && (this.table.querySelector("dialog[open]").close(), this.table.querySelector(".dialog__wrapper > button.active").classList.remove("active"));
@@ -557,7 +557,7 @@ class Mt extends HTMLElement {
557
557
  }
558
558
  }
559
559
  /*!
560
- * iamKey v5.1.0-beta7
560
+ * iamKey v5.1.0-beta8
561
561
  * Copyright 2022-2023 iamproperty
562
562
  */
563
563
  class ot extends HTMLElement {
@@ -622,16 +622,16 @@ class ot extends HTMLElement {
622
622
  });
623
623
  }
624
624
  setup() {
625
- const a = this.shadowRoot.querySelector(".pagination"), t = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), s = this.shadowRoot.querySelector(".next"), o = this.shadowRoot.querySelector(".item-count"), n = this.shadowRoot.querySelector(".per-page select"), l = this.shadowRoot.querySelector(".total-pages"), d = parseInt(this.getAttribute("data-page")), r = parseInt(this.getAttribute("data-total")), p = parseInt(this.getAttribute("data-show")), c = parseInt(this.getAttribute("data-increment")), h = Math.ceil(r / c);
625
+ const a = this.shadowRoot.querySelector(".pagination"), t = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), s = this.shadowRoot.querySelector(".next"), o = this.shadowRoot.querySelector(".item-count"), n = this.shadowRoot.querySelector(".per-page select"), l = this.shadowRoot.querySelector(".total-pages"), d = parseInt(this.getAttribute("data-page")), r = parseInt(this.getAttribute("data-total")), p = parseInt(this.getAttribute("data-show")), c = parseInt(this.getAttribute("data-increment")), u = Math.ceil(r / c);
626
626
  r > p && a.classList.remove("d-none");
627
627
  let g = "";
628
- for (let M = 1; M <= h; M++)
629
- g += `<option value="${M}" ${M == d ? "selected" : ""}>${M}</option>`;
630
- t.innerHTML = g, l.innerHTML = `of ${h}`, d == h ? s.setAttribute("disabled", "disabled") : s.removeAttribute("disabled"), d == 1 ? i.setAttribute("disabled", "disabled") : i.removeAttribute("disabled");
631
- let b = d == 1 ? 1 : (d - 1) * p + 1, A = d == 1 ? p : d * p;
632
- o.innerHTML = `${b} - ${A > r ? r : A} of ${r} items`;
633
- const $ = [15, 25, 40, 50];
634
- c && n.value != c && !$.includes(c) && (n.innerHTML = `<option value="${c}">${c}</option>
628
+ for (let T = 1; T <= u; T++)
629
+ g += `<option value="${T}" ${T == d ? "selected" : ""}>${T}</option>`;
630
+ t.innerHTML = g, l.innerHTML = `of ${u}`, d == u ? s.setAttribute("disabled", "disabled") : s.removeAttribute("disabled"), d == 1 ? i.setAttribute("disabled", "disabled") : i.removeAttribute("disabled");
631
+ let b = d == 1 ? 1 : (d - 1) * p + 1, x = d == 1 ? p : d * p;
632
+ o.innerHTML = `${b} - ${x > r ? r : x} of ${r} items`;
633
+ const S = [15, 25, 40, 50];
634
+ c && n.value != c && !S.includes(c) && (n.innerHTML = `<option value="${c}">${c}</option>
635
635
  <option value="${c * 2}">${c * 2}</option>
636
636
  <option value="${c * 3}">${c * 3}</option>
637
637
  <option value="${c * 4}">${c * 4}</option>`), n.value = c;
@@ -660,9 +660,9 @@ class ot extends HTMLElement {
660
660
  }
661
661
  }
662
662
  }
663
- const jt = (e) => e.charAt(0).toUpperCase() + e.slice(1), Ct = (e) => e.replace(/_/g, " "), Nt = (e) => e.replace(/ /g, "_"), Rt = function(e) {
664
- return e = e.toLowerCase(), e = Nt(e), e = e.replace(/\W/g, ""), e;
665
- }, Dt = {
663
+ const jt = (e) => e.charAt(0).toUpperCase() + e.slice(1), Ct = (e) => e.replace(/_/g, " "), Dt = (e) => e.replace(/ /g, "_"), Rt = function(e) {
664
+ return e = e.toLowerCase(), e = Dt(e), e = e.replace(/\W/g, ""), e;
665
+ }, Nt = {
666
666
  name: "Table",
667
667
  props: {
668
668
  items: {
@@ -688,30 +688,30 @@ const jt = (e) => e.charAt(0).toUpperCase() + e.slice(1), Ct = (e) => e.replace(
688
688
  }
689
689
  }, zt = { key: 0 }, Ft = { key: 0 }, Pt = ["data-row-id"], It = ["innerHTML"];
690
690
  function Ot(e, a, t, i, s, o) {
691
- return u(), m("iam-table", null, [
692
- t.fields ? (u(), m("table", zt, [
691
+ return m(), h("iam-table", null, [
692
+ t.fields ? (m(), h("table", zt, [
693
693
  f("thead", null, [
694
694
  f("tr", null, [
695
- (u(!0), m(T, null, H(t.fields, (n) => (u(), m("th", {
695
+ (m(!0), h(D, null, R(t.fields, (n) => (m(), h("th", {
696
696
  key: n.key
697
- }, S(o.cellHeading(n.key)), 1))), 128))
697
+ }, $(o.cellHeading(n.key)), 1))), 128))
698
698
  ])
699
699
  ]),
700
- t.items ? (u(), m("tbody", Ft, [
701
- (u(!0), m(T, null, H(t.items, (n, l) => (u(), m("tr", {
700
+ t.items ? (m(), h("tbody", Ft, [
701
+ (m(!0), h(D, null, R(t.items, (n, l) => (m(), h("tr", {
702
702
  key: l,
703
703
  "data-row-id": n.rowid
704
704
  }, [
705
- (u(!0), m(T, null, H(Object.fromEntries(Object.entries(n).filter(([d]) => d !== "rowid")), (d, r) => (u(), m("td", {
705
+ (m(!0), h(D, null, R(Object.fromEntries(Object.entries(n).filter(([d]) => d !== "rowid")), (d, r) => (m(), h("td", {
706
706
  key: r,
707
707
  innerHTML: d
708
708
  }, null, 8, It))), 128))
709
709
  ], 8, Pt))), 128))
710
- ])) : w("", !0)
711
- ])) : _(e.$slots, "default", { key: 1 })
710
+ ])) : _("", !0)
711
+ ])) : v(e.$slots, "default", { key: 1 })
712
712
  ]);
713
713
  }
714
- const rt = /* @__PURE__ */ y(Dt, [["render", Ot]]), Bt = {
714
+ const rt = /* @__PURE__ */ y(Nt, [["render", Ot]]), Bt = {
715
715
  name: "Input",
716
716
  props: {
717
717
  value: {
@@ -899,7 +899,7 @@ const rt = /* @__PURE__ */ y(Dt, [["render", Ot]]), Bt = {
899
899
  this.$emit("bus");
900
900
  }
901
901
  }
902
- }, Ut = ["for", "innerHTML", "title"], Vt = ["innerHTML"], Wt = ["innerHTML"], Gt = ["type", "name", "id", "pattern", "list"], Kt = ["type", "name", "id", "pattern"], Yt = {
902
+ }, Ut = ["for", "innerHTML", "title"], Vt = ["innerHTML"], Wt = ["innerHTML"], Kt = ["type", "name", "id", "pattern", "list"], Gt = ["type", "name", "id", "pattern"], Yt = {
903
903
  key: 5,
904
904
  class: "input-group"
905
905
  }, Xt = ["type", "name", "id", "pattern", "list"], Jt = { class: "input-group-text border-0 col-2 col-sm-1 px-0" }, Qt = {
@@ -907,30 +907,30 @@ const rt = /* @__PURE__ */ y(Dt, [["render", Ot]]), Bt = {
907
907
  class: "input-group"
908
908
  }, Zt = ["type", "name", "id", "pattern", "list"], te = { class: "input-group-text flex-fill" }, ee = ["type", "name", "id", "pattern"], ae = ["value"], ie = ["type", "name", "id"], ne = ["for", "innerHTML"], oe = ["type", "name", "id"], re = ["for", "innerHTML"], se = ["innerHTML"], le = ["id"], de = ["value"];
909
909
  function ce(e, a, t, i, s, o) {
910
- return u(), m("div", {
911
- class: x(o.wrapperClass()),
910
+ return m(), h("div", {
911
+ class: L(o.wrapperClass()),
912
912
  ref: "wrapper"
913
913
  }, [
914
- o.needsLabel() ? (u(), m("label", {
914
+ o.needsLabel() ? (m(), h("label", {
915
915
  key: 0,
916
- class: x(`form-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
916
+ class: L(`form-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
917
917
  for: t.id,
918
918
  innerHTML: o.displayLabel(),
919
919
  title: t.title
920
- }, null, 10, Ut)) : w("", !0),
921
- t.prefix ? (u(), m("span", {
920
+ }, null, 10, Ut)) : _("", !0),
921
+ t.prefix ? (m(), h("span", {
922
922
  key: 1,
923
- class: x(`prefix ${this.prefixClass} ${t.size ? `prefix-${t.size}` : ""}`),
923
+ class: L(`prefix ${this.prefixClass} ${t.size ? `prefix-${t.size}` : ""}`),
924
924
  innerHTML: t.prefix,
925
925
  role: "presentation"
926
- }, null, 10, Vt)) : w("", !0),
927
- t.suffix ? (u(), m("span", {
926
+ }, null, 10, Vt)) : _("", !0),
927
+ t.suffix ? (m(), h("span", {
928
928
  key: 2,
929
- class: x(`suffix ${this.suffixClass} ${t.size ? `suffix-${t.size}` : ""}`),
929
+ class: L(`suffix ${this.suffixClass} ${t.size ? `suffix-${t.size}` : ""}`),
930
930
  innerHTML: t.suffix,
931
931
  role: "presentation"
932
- }, null, 10, Wt)) : w("", !0),
933
- o.isInput() ? P((u(), m("input", N({
932
+ }, null, 10, Wt)) : _("", !0),
933
+ o.isInput() ? P((m(), h("input", C({
934
934
  key: 3,
935
935
  "onUpdate:modelValue": a[0] || (a[0] = (n) => o.inputVal = n),
936
936
  class: `form-control${t.size ? ` form-control-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
@@ -941,10 +941,10 @@ function ce(e, a, t, i, s, o) {
941
941
  list: o.hasOptions()
942
942
  }, e.$attrs, {
943
943
  onKeyup: a[1] || (a[1] = (...n) => o.inputKeyup && o.inputKeyup(...n))
944
- }), null, 16, Gt)), [
945
- [G, o.inputVal]
946
- ]) : w("", !0),
947
- t.type == "textarea" ? P((u(), m("textarea", N({
944
+ }), null, 16, Kt)), [
945
+ [W, o.inputVal]
946
+ ]) : _("", !0),
947
+ t.type == "textarea" ? P((m(), h("textarea", C({
948
948
  key: 4,
949
949
  "onUpdate:modelValue": a[2] || (a[2] = (n) => o.inputVal = n),
950
950
  class: `form-control${t.size ? ` form-control-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
@@ -952,11 +952,11 @@ function ce(e, a, t, i, s, o) {
952
952
  name: t.name ? t.name : t.id,
953
953
  id: t.id,
954
954
  pattern: o.needPattern()
955
- }, e.$attrs), null, 16, Kt)), [
955
+ }, e.$attrs), null, 16, Gt)), [
956
956
  [ht, o.inputVal]
957
- ]) : w("", !0),
958
- t.type == "range" ? (u(), m("div", Yt, [
959
- P(f("input", N({
957
+ ]) : _("", !0),
958
+ t.type == "range" ? (m(), h("div", Yt, [
959
+ P(f("input", C({
960
960
  "onUpdate:modelValue": a[3] || (a[3] = (n) => o.inputVal = n),
961
961
  class: `form-range${t.inputclass ? ` ${t.inputclass}` : ""}`,
962
962
  type: t.type,
@@ -965,12 +965,12 @@ function ce(e, a, t, i, s, o) {
965
965
  pattern: o.needPattern(),
966
966
  list: o.hasOptions()
967
967
  }, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, Xt), [
968
- [G, o.inputVal]
968
+ [W, o.inputVal]
969
969
  ]),
970
- f("output", Jt, S(t.value), 1)
971
- ])) : w("", !0),
972
- t.type == "color" ? (u(), m("div", Qt, [
973
- P(f("input", N({
970
+ f("output", Jt, $(t.value), 1)
971
+ ])) : _("", !0),
972
+ t.type == "color" ? (m(), h("div", Qt, [
973
+ P(f("input", C({
974
974
  "onUpdate:modelValue": a[4] || (a[4] = (n) => o.inputVal = n),
975
975
  class: `form-control form-control-color${t.inputclass ? ` ${t.inputclass}` : ""}`,
976
976
  type: t.type,
@@ -979,11 +979,11 @@ function ce(e, a, t, i, s, o) {
979
979
  pattern: o.needPattern(),
980
980
  list: o.hasOptions()
981
981
  }, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, Zt), [
982
- [G, o.inputVal]
982
+ [W, o.inputVal]
983
983
  ]),
984
- f("output", te, S(t.value ? e.vale : "#000000"), 1)
985
- ])) : w("", !0),
986
- t.type == "select" ? P((u(), m("select", N({
984
+ f("output", te, $(t.value ? e.vale : "#000000"), 1)
985
+ ])) : _("", !0),
986
+ t.type == "select" ? P((m(), h("select", C({
987
987
  key: 7,
988
988
  "onUpdate:modelValue": a[5] || (a[5] = (n) => o.inputVal = n),
989
989
  class: `form-select${t.size ? ` form-select-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
@@ -992,56 +992,56 @@ function ce(e, a, t, i, s, o) {
992
992
  id: t.id,
993
993
  pattern: o.needPattern()
994
994
  }, e.$attrs), [
995
- (u(!0), m(T, null, H(t.options, (n, l) => (u(), m("option", {
995
+ (m(!0), h(D, null, R(t.options, (n, l) => (m(), h("option", {
996
996
  key: l,
997
997
  value: n.value
998
- }, S(n.display ? n.display : n.value), 9, ae))), 128))
998
+ }, $(n.display ? n.display : n.value), 9, ae))), 128))
999
999
  ], 16, ee)), [
1000
1000
  [pt, o.inputVal]
1001
- ]) : w("", !0),
1002
- t.type == "checkbox" || t.type == "radio" ? (u(), m("input", N({
1001
+ ]) : _("", !0),
1002
+ t.type == "checkbox" || t.type == "radio" ? (m(), h("input", C({
1003
1003
  key: 8,
1004
1004
  class: "form-check-input",
1005
1005
  type: t.type,
1006
1006
  name: t.name ? t.name : t.id,
1007
1007
  id: t.id
1008
- }, e.$attrs), null, 16, ie)) : w("", !0),
1009
- t.type == "checkbox" || t.type == "radio" ? (u(), m("label", {
1008
+ }, e.$attrs), null, 16, ie)) : _("", !0),
1009
+ t.type == "checkbox" || t.type == "radio" ? (m(), h("label", {
1010
1010
  key: 9,
1011
- class: x(`form-label form-check-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
1011
+ class: L(`form-label form-check-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
1012
1012
  for: t.id,
1013
1013
  innerHTML: t.label
1014
- }, null, 10, ne)) : w("", !0),
1015
- t.type == "checkbox-btn" || t.type == "radio-btn" ? (u(), m("input", N({
1014
+ }, null, 10, ne)) : _("", !0),
1015
+ t.type == "checkbox-btn" || t.type == "radio-btn" ? (m(), h("input", C({
1016
1016
  key: 10,
1017
1017
  class: `btn-check${t.inputclass ? ` ${t.inputclass}` : ""}`,
1018
1018
  type: t.type.replace("-btn", ""),
1019
1019
  autocomplete: "off",
1020
1020
  name: t.name ? t.name : t.id,
1021
1021
  id: t.id
1022
- }, e.$attrs), null, 16, oe)) : w("", !0),
1023
- t.type == "checkbox-btn" || t.type == "radio-btn" ? (u(), m("label", {
1022
+ }, e.$attrs), null, 16, oe)) : _("", !0),
1023
+ t.type == "checkbox-btn" || t.type == "radio-btn" ? (m(), h("label", {
1024
1024
  key: 11,
1025
- class: x(`btn${t.labelclass ? ` ${t.labelclass}` : ""}`),
1025
+ class: L(`btn${t.labelclass ? ` ${t.labelclass}` : ""}`),
1026
1026
  for: t.id,
1027
1027
  innerHTML: t.label,
1028
1028
  onClick: a[6] || (a[6] = (...n) => o.clickEvent && o.clickEvent(...n))
1029
- }, null, 10, re)) : w("", !0),
1030
- _(e.$slots, "default"),
1031
- t.errormsg ? (u(), m("span", {
1029
+ }, null, 10, re)) : _("", !0),
1030
+ v(e.$slots, "default"),
1031
+ t.errormsg ? (m(), h("span", {
1032
1032
  key: 12,
1033
1033
  class: "invalid-feedback mb-0",
1034
1034
  innerHTML: t.errormsg
1035
- }, null, 8, se)) : w("", !0),
1036
- o.allowDatalist() ? (u(), m("datalist", {
1035
+ }, null, 8, se)) : _("", !0),
1036
+ o.allowDatalist() ? (m(), h("datalist", {
1037
1037
  key: 13,
1038
1038
  id: t.id + "-list"
1039
1039
  }, [
1040
- (u(!0), m(T, null, H(t.options, (n, l) => (u(), m("option", {
1040
+ (m(!0), h(D, null, R(t.options, (n, l) => (m(), h("option", {
1041
1041
  key: l,
1042
1042
  value: n.value
1043
- }, S(n.value), 9, de))), 128))
1044
- ], 8, le)) : w("", !0)
1043
+ }, $(n.value), 9, de))), 128))
1044
+ ], 8, le)) : _("", !0)
1045
1045
  ], 2);
1046
1046
  }
1047
1047
  const st = /* @__PURE__ */ y(Bt, [["render", ce]]);
@@ -1052,8 +1052,8 @@ function ue(e, a) {
1052
1052
  }), a.addEventListener("click", (l) => {
1053
1053
  if (l && l.target instanceof HTMLElement && l.target.closest(".files button")) {
1054
1054
  const d = new DataTransfer(), { files: r } = s, p = l.target.closest(".files button");
1055
- for (let h = 0; h < r.length; h++) {
1056
- const g = r[h];
1055
+ for (let u = 0; u < r.length; u++) {
1056
+ const g = r[u];
1057
1057
  g.name != p.getAttribute("data-file") && d.items.add(g);
1058
1058
  }
1059
1059
  s.files = d.files;
@@ -1065,8 +1065,8 @@ function ue(e, a) {
1065
1065
  const r = [...s.files, ...n.files];
1066
1066
  let p = [];
1067
1067
  const c = new DataTransfer();
1068
- for (let h = 0; h < r.length; h++) {
1069
- const g = r[h], b = g.size / 1e3;
1068
+ for (let u = 0; u < r.length; u++) {
1069
+ const g = r[u], b = g.size / 1e3;
1070
1070
  !p.includes(g.name) && (o == 0 || b < o) && c.items.add(g), p.push(g.name);
1071
1071
  }
1072
1072
  s.files = c.files;
@@ -1137,11 +1137,11 @@ const he = {
1137
1137
  }
1138
1138
  };
1139
1139
  function pe(e, a, t, i, s, o) {
1140
- return u(), m("iam-fileupload", null, [
1141
- _(e.$slots, "default")
1140
+ return m(), h("iam-fileupload", null, [
1141
+ v(e.$slots, "default")
1142
1142
  ]);
1143
1143
  }
1144
- const zi = /* @__PURE__ */ y(he, [["render", pe]]), D = (e, a) => {
1144
+ const $i = /* @__PURE__ */ y(he, [["render", pe]]), N = (e, a) => {
1145
1145
  const t = e[a];
1146
1146
  return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((i, s) => {
1147
1147
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(s.bind(null, new Error("Unknown variable dynamic import: " + a)));
@@ -1152,7 +1152,7 @@ const be = {
1152
1152
  props: {},
1153
1153
  mounted() {
1154
1154
  this.$nextTick(function() {
1155
- D(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/accordion/accordion.component.js": () => import("./accordion.component-bd9af0d7.mjs"), "../../../assets/js/components/accordion/accordion.component.min.js": () => import("./accordion.component.min-7e96c9ab.mjs") }), "../../../assets/js/components/accordion/accordion.component.js").then((e) => {
1155
+ N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/accordion/accordion.component.js": () => import("./accordion.component-bd9af0d7.mjs"), "../../../assets/js/components/accordion/accordion.component.min.js": () => import("./accordion.component.min-45b3b4b8.mjs") }), "../../../assets/js/components/accordion/accordion.component.js").then((e) => {
1156
1156
  window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", e.default);
1157
1157
  }).catch((e) => {
1158
1158
  console.log(e.message);
@@ -1161,11 +1161,11 @@ const be = {
1161
1161
  }
1162
1162
  }, fe = { ref: "wrapper" };
1163
1163
  function ge(e, a, t, i, s, o) {
1164
- return u(), m("iam-accordion", fe, [
1165
- _(e.$slots, "default")
1164
+ return m(), h("iam-accordion", fe, [
1165
+ v(e.$slots, "default")
1166
1166
  ], 512);
1167
1167
  }
1168
- const Fi = /* @__PURE__ */ y(be, [["render", ge]]), ye = {
1168
+ const Si = /* @__PURE__ */ y(be, [["render", ge]]), ye = {
1169
1169
  name: "AccordionItem",
1170
1170
  props: {
1171
1171
  title: {
@@ -1200,24 +1200,24 @@ const Fi = /* @__PURE__ */ y(be, [["render", ge]]), ye = {
1200
1200
  show: !this.lazy
1201
1201
  };
1202
1202
  }
1203
- }, ve = ["id"], we = ["classList"];
1203
+ }, we = ["id"], ve = ["classList"];
1204
1204
  function _e(e, a, t, i, s, o) {
1205
- return u(), m("details", {
1205
+ return m(), h("details", {
1206
1206
  id: o.createID(t.title)
1207
1207
  }, [
1208
1208
  f("summary", {
1209
1209
  classList: `${t.titlecolour ? `bg-${t.titlecolour}` : ""}`
1210
1210
  }, [
1211
- bt(S(t.title), 1),
1212
- t.badge ? (u(), m("span", {
1211
+ bt($(t.title), 1),
1212
+ t.badge ? (m(), h("span", {
1213
1213
  key: 0,
1214
- class: x(`badge bg-${t.badgecolour}`)
1215
- }, S(t.badge), 3)) : w("", !0)
1216
- ], 8, we),
1217
- _(e.$slots, "default")
1218
- ], 8, ve);
1214
+ class: L(`badge bg-${t.badgecolour}`)
1215
+ }, $(t.badge), 3)) : _("", !0)
1216
+ ], 8, ve),
1217
+ v(e.$slots, "default")
1218
+ ], 8, we);
1219
1219
  }
1220
- const Pi = /* @__PURE__ */ y(ye, [["render", _e]]), Ae = {
1220
+ const qi = /* @__PURE__ */ y(ye, [["render", _e]]), xe = {
1221
1221
  name: "Header",
1222
1222
  props: {
1223
1223
  title: {
@@ -1234,36 +1234,36 @@ const Pi = /* @__PURE__ */ y(ye, [["render", _e]]), Ae = {
1234
1234
  required: !1
1235
1235
  }
1236
1236
  }
1237
- }, xe = { class: "container" }, ke = { class: "row" }, Le = { class: "col-sm-6" }, Se = { class: "pt-5 pb-3 px-4" }, $e = { class: "col-sm-6 col-md-5 ms-auto" }, qe = ["src"];
1237
+ }, Ae = { class: "container" }, ke = { class: "row" }, Le = { class: "col-sm-6" }, $e = { class: "pt-5 pb-3 px-4" }, Se = { class: "col-sm-6 col-md-5 ms-auto" }, qe = ["src"];
1238
1238
  function Ee(e, a, t, i, s, o) {
1239
- return u(), m("div", xe, [
1239
+ return m(), h("div", Ae, [
1240
1240
  f("div", {
1241
- class: x("bg-" + t.background + " mb-4")
1241
+ class: L("bg-" + t.background + " mb-4")
1242
1242
  }, [
1243
1243
  f("div", ke, [
1244
1244
  f("div", Le, [
1245
- f("div", Se, [
1246
- f("h2", null, S(t.title), 1),
1247
- _(e.$slots, "default")
1245
+ f("div", $e, [
1246
+ f("h2", null, $(t.title), 1),
1247
+ v(e.$slots, "default")
1248
1248
  ])
1249
1249
  ]),
1250
- f("div", $e, [
1251
- t.image ? (u(), m("img", {
1250
+ f("div", Se, [
1251
+ t.image ? (m(), h("img", {
1252
1252
  key: 0,
1253
1253
  src: t.image,
1254
1254
  alt: "",
1255
1255
  class: "h-100 w-100 object-cover"
1256
- }, null, 8, qe)) : w("", !0)
1256
+ }, null, 8, qe)) : _("", !0)
1257
1257
  ])
1258
1258
  ])
1259
1259
  ], 2)
1260
1260
  ]);
1261
1261
  }
1262
- const Ii = /* @__PURE__ */ y(Ae, [["render", Ee]]), Te = {
1262
+ const Ei = /* @__PURE__ */ y(xe, [["render", Ee]]), Te = {
1263
1263
  name: "Card",
1264
1264
  mounted() {
1265
1265
  this.$nextTick(function() {
1266
- D(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/card/card.component.js": () => import("./card.component-4a8f3fbe.mjs"), "../../../assets/js/components/card/card.component.min.js": () => import("./card.component.min-6d18992c.mjs") }), "../../../assets/js/components/card/card.component.js").then((e) => {
1266
+ N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/card/card.component.js": () => import("./card.component-3bb86b22.mjs"), "../../../assets/js/components/card/card.component.min.js": () => import("./card.component.min-b82f0eae.mjs") }), "../../../assets/js/components/card/card.component.js").then((e) => {
1267
1267
  window.customElements.get("iam-card") || window.customElements.define("iam-card", e.default);
1268
1268
  }).catch((e) => {
1269
1269
  console.log(e.message);
@@ -1272,239 +1272,38 @@ const Ii = /* @__PURE__ */ y(Ae, [["render", Ee]]), Te = {
1272
1272
  }
1273
1273
  };
1274
1274
  function He(e, a, t, i, s, o) {
1275
- return u(), m("iam-card", null, [
1276
- _(e.$slots, "default")
1275
+ return m(), h("iam-card", null, [
1276
+ v(e.$slots, "default")
1277
1277
  ]);
1278
1278
  }
1279
- const Me = /* @__PURE__ */ y(Te, [["render", He]]);
1280
- function je(e) {
1281
- var a;
1282
- let t = e.querySelector(".carousel__inner"), i = e.querySelectorAll(".carousel__item").length;
1283
- e.getAttribute("data-cols");
1284
- let s = e.getAttribute("data-sm-cols"), o = e.getAttribute("data-md-cols");
1285
- e.querySelector(".carousel__controls a").setAttribute("aria-current", !0), t.addEventListener("scroll", function(n) {
1286
- clearTimeout(a), a = setTimeout(function() {
1287
- let l = t.clientWidth, d = t.scrollWidth, r = t.scrollLeft, p = Math.round(r / d * i) + 1, c = e.querySelector(".carousel__item:last-child").offsetLeft;
1288
- Array.from(e.querySelectorAll(".carousel__controls a")).forEach((h, g) => {
1289
- h.removeAttribute("aria-current");
1290
- }), e.querySelector(".control-" + p).setAttribute("aria-current", !0), p == 1 ? e.querySelector(".btn-prev").setAttribute("disabled", "disabled") : e.querySelector(".btn-prev").removeAttribute("disabled"), t.scrollLeft + l > c ? e.querySelector(".btn-next").setAttribute("disabled", "disabled") : e.querySelector(".btn-next").removeAttribute("disabled");
1291
- }, 100);
1292
- }, !1), e.addEventListener("click", function(n) {
1293
- for (var l = n.target; l && l != this; l = l.parentNode)
1294
- if (l.matches(".carousel__controls a")) {
1295
- n.preventDefault(), Array.from(e.querySelectorAll(".carousel__controls a")).forEach((r, p) => {
1296
- r.removeAttribute("aria-current");
1297
- }), l.setAttribute("aria-current", !0);
1298
- const d = document.querySelector(l.getAttribute("href"));
1299
- t.scroll({
1300
- top: 0,
1301
- left: d.offsetLeft,
1302
- behavior: "smooth"
1303
- });
1304
- break;
1305
- }
1306
- }, !1), e.addEventListener("click", function(n) {
1307
- for (var l = n.target; l && l != this; l = l.parentNode)
1308
- if (l.matches(".btn-next, .btn-prev")) {
1309
- n.preventDefault();
1310
- let d = l.classList.contains("btn-prev") ? t.scrollLeft - t.clientWidth : t.scrollLeft + t.clientWidth;
1311
- t.scroll({
1312
- top: 0,
1313
- left: d,
1314
- behavior: "smooth"
1315
- });
1316
- break;
1317
- }
1318
- }, !1), i == 1 && e.classList.add("hide-btns"), s >= i && e.classList.add("hide-sm-btns"), o >= i && e.classList.add("hide-md-btns");
1319
- }
1320
- const Ce = {
1321
- components: {
1322
- Card: Me
1323
- },
1324
- name: "Carousel",
1325
- data() {
1326
- return {
1327
- id: null
1328
- };
1329
- },
1279
+ const Ti = /* @__PURE__ */ y(Te, [["render", He]]), Me = {
1280
+ name: "Header",
1330
1281
  props: {
1331
- items: {
1332
- type: Array,
1333
- required: !1
1334
- },
1335
- cols: {
1336
- type: Number,
1337
- required: !1,
1338
- default: 1
1339
- },
1340
- smcols: {
1341
- type: Number,
1342
- required: !1,
1343
- default: 1
1344
- },
1345
- mdcols: {
1346
- type: Number,
1347
- required: !1,
1348
- default: 3
1349
- },
1350
- gap: {
1351
- type: Number,
1352
- required: !1,
1353
- default: 4
1354
- },
1355
- cardtype: {
1356
- type: String,
1357
- required: !1
1358
- },
1359
- cardclass: {
1360
- type: String,
1361
- required: !1
1362
- },
1363
- btntype: {
1364
- type: String,
1365
- required: !1
1366
- },
1367
- titleclass: {
1368
- type: String,
1369
- required: !1
1370
- },
1371
- ctatext: {
1372
- type: String,
1373
- required: !1
1374
- },
1375
- hidectatext: {
1376
- type: Boolean,
1377
- required: !1,
1378
- default: !1
1379
- },
1380
- colclass: {
1282
+ title: {
1381
1283
  type: String,
1382
- required: !1
1284
+ required: !0
1383
1285
  },
1384
- type: {
1286
+ image: {
1385
1287
  type: String,
1386
1288
  required: !1
1387
1289
  }
1388
1290
  },
1389
- computed: {
1390
- content() {
1391
- return (e) => `${e.image ? `<img src="${e.image}" alt="" />` : ""}${e.content ? e.content : ""}`;
1392
- }
1393
- },
1394
1291
  mounted() {
1395
- this.id = this._uid, this.$nextTick(function() {
1396
- je(this.$refs.wrapper);
1292
+ this.$nextTick(function() {
1293
+ N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/carousel/carousel.component.js": () => import("./carousel.component-72a8511a.mjs") }), "../../../assets/js/components/carousel/carousel.component.js").then((e) => {
1294
+ window.customElements.get("iam-carousel") || window.customElements.define("iam-carousel", e.default);
1295
+ }).catch((e) => {
1296
+ console.log(e.message);
1297
+ });
1397
1298
  });
1398
1299
  }
1399
- }, Ne = ["id", "data-cols", "data-sm-cols", "data-md-cols"], Re = { class: "carousel__wrapper" }, De = { class: "carousel__inner" }, ze = ["id"], Fe = ["innerHTML", "id"], Pe = ["href"], Ie = /* @__PURE__ */ f("button", {
1400
- class: "btn btn-prev",
1401
- "data-go": "0",
1402
- disabled: ""
1403
- }, "Prev", -1), Oe = /* @__PURE__ */ f("button", {
1404
- class: "btn btn-next",
1405
- "data-go": "2"
1406
- }, "Next", -1);
1407
- function Be(e, a, t, i, s, o) {
1408
- const n = B("Card");
1409
- return u(), m("div", {
1410
- class: "container carousel",
1411
- id: "carousel" + s.id,
1412
- ref: "wrapper",
1413
- "data-cols": t.cols,
1414
- "data-sm-cols": t.smcols,
1415
- "data-md-cols": t.mdcols
1416
- }, [
1417
- _(e.$slots, "default"),
1418
- f("div", Re, [
1419
- f("div", De, [
1420
- t.type == "card" ? (u(), m("div", {
1421
- key: 0,
1422
- class: x(`row row-cols-${t.cols} row-cols-sm-${t.smcols} row-cols-md-${t.mdcols} ${t.gap ? `g-${t.gap}` : ""}`)
1423
- }, [
1424
- (u(!0), m(T, null, H(t.items, (l, d) => (u(), m("div", {
1425
- class: x(`col carousel__item${t.colclass ? ` ${t.colclass}` : ""}`),
1426
- key: d,
1427
- id: "carousel" + s.id + "slide" + (d + 1)
1428
- }, [
1429
- C(n, N(l, {
1430
- class: t.cardclass,
1431
- type: t.cardtype,
1432
- btnyype: t.btntype,
1433
- titleclass: t.titleclass,
1434
- ctatext: t.ctatext,
1435
- hidectatext: t.hidectatext
1436
- }), null, 16, ["class", "type", "btnyype", "titleclass", "ctatext", "hidectatext"])
1437
- ], 10, ze))), 128))
1438
- ], 2)) : w("", !0),
1439
- t.type != "card" ? (u(), m("div", {
1440
- key: 1,
1441
- class: x(`row row-cols-${t.cols} row-cols-sm-${t.smcols} row-cols-md-${t.mdcols} ${t.gap ? `g-${t.gap}` : ""}`)
1442
- }, [
1443
- (u(!0), m(T, null, H(t.items, (l, d) => (u(), m("div", {
1444
- class: x(`col carousel__item${t.colclass ? ` ${t.colclass}` : ""}`),
1445
- key: d,
1446
- innerHTML: o.content(l),
1447
- id: "carousel" + s.id + "slide" + (d + 1)
1448
- }, null, 10, Fe))), 128))
1449
- ], 2)) : w("", !0)
1450
- ]),
1451
- f("div", {
1452
- class: x(`carousel__controls cols-${t.cols} cols-sm-${t.smcols} cols-md-${t.mdcols}`)
1453
- }, [
1454
- (u(!0), m(T, null, H(t.items, (l, d) => (u(), m("a", {
1455
- key: d,
1456
- href: "#carousel" + s.id + "slide" + (d + 1),
1457
- class: x(`control-${d + 1}`)
1458
- }, "Slide " + S(d + 1), 11, Pe))), 128))
1459
- ], 2),
1460
- Ie,
1461
- Oe
1462
- ])
1463
- ], 8, Ne);
1464
- }
1465
- const Oi = /* @__PURE__ */ y(Ce, [["render", Be]]);
1466
- /*!
1467
- * iamKey v5.1.0-beta7
1468
- * Copyright 2022-2023 iamproperty
1469
- */
1470
- window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "header" });
1471
- class Ue extends HTMLElement {
1472
- constructor() {
1473
- super(), this.attachShadow({ mode: "open" });
1474
- const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, i = document.createElement("template");
1475
- i.innerHTML = `
1476
- <style>
1477
- @import "${t}";
1478
- :host{padding-top:0 !important;margin-bottom:2rem}.header-banner{background:linear-gradient(180deg, var(--colour-secondary) 0, var(--colour-info) 100%);position:relative;overflow:hidden;max-width:100% !important}@media screen and (min-width: 62em){.header-banner{min-height:29.375rem}}.header-banner>.container{padding-bottom:0;position:relative}.header-banner .breadcrumb{margin-top:1.5rem;margin-bottom:-0.5rem}@media screen and (min-width: 62em){.header-banner .breadcrumb{position:absolute;top:0;left:3.75rem}}.header-banner__inner{--colour-muted: #9d9d9d;--colour-body: #595959;--colour-border: #D8D8D8;--colour-link: var(--colour-primary-theme);--colour-brand: var(--colour-primary-theme);--colour-underline: var(--colour-secondary);--colour-heading: var(--colour-primary);--colour-focus: var(--colour-primary-theme);--colour-hover: var(--colour-primary-theme);--colour-active: var(--colour-primary-theme);--colour-selected: var(--colour-info);--colour-inverted: #FCFCFC;--colour-btn: var(--colour-primary-theme);--colour-btn-bg: var(--colour-warning);--colour-btn-border: var(--colour-warning);--colour-btn-bg-hover: transparent;--colour-btn-hover: var(--colour-primary-theme);--colour-btn-secondary: var(--colour-primary-theme);--colour-btn-secondary-border: var(--colour-primary-theme);--colour-btn-secondary-bg: transparent;--colour-btn-secondary-bg-hover: var(--colour-primary-theme);--colour-btn-secondary-hover: var(--colour-inverted);--colour-canvas-2: white;--colour-btn-action-hover-bg: var(--colour-light);color:var(--colour-body);background:#fff;padding:2rem;margin:1.875rem 0;position:relative;z-index:var(--index-above)}.header-banner__inner .text-primary{color:var(--colour-primary) !important}@media screen and (min-width: 62em){.header-banner__inner{max-width:37.5rem;margin:7rem 0 5rem 0;padding:3.5rem 4rem}}.header-banner__inner>*:last-child{padding-bottom:0;margin-bottom:0}.header-banner picture img{display:none}@media screen and (min-width: 62em){.header-banner picture img{display:block;position:absolute;top:-0.5%;left:40%;height:101%;object-fit:cover;width:60%;pointer-events:none}}::slotted(.breadcrumb){margin-top:1.5rem !important;margin-bottom:-0.5rem !important}@media screen and (min-width: 62em){::slotted(.breadcrumb){position:absolute !important;top:0 !important;left:5.25rem !important}}::slotted(*:last-child){padding-bottom:0 !important;margin-bottom:0 !important}/*# sourceMappingURL=assets/css/components/header.css.map */
1479
-
1480
- ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
1481
- </style>
1482
- <div class="header-banner">
1483
- <div class="container" part="container">
1484
- <slot name="breadcrumb"></slot>
1485
- <div class="header-banner__inner">
1486
- <slot></slot>
1487
- </div>
1488
- </div>
1489
- <picture>
1490
- <!-- Actual image only loaded on desktops -->
1491
- <source srcset="" media="(min-width: 62em)">
1492
- <!-- Placeholder image -->
1493
- <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="" lazy="" />
1494
- </picture>
1495
- </div>
1496
- `, this.shadowRoot.appendChild(i.content.cloneNode(!0));
1497
- }
1498
- connectedCallback() {
1499
- this.classList.add("loaded");
1500
- const a = this.shadowRoot.querySelector("picture"), t = this.shadowRoot.querySelector("picture source");
1501
- this.hasAttribute("image") ? t.setAttribute("srcset", this.getAttribute("image")) : a.remove();
1502
- }
1300
+ };
1301
+ function je(e, a, t, i, s, o) {
1302
+ return m(), h("iam-carousel", null, [
1303
+ v(e.$slots, "default")
1304
+ ]);
1503
1305
  }
1504
- const Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1505
- __proto__: null,
1506
- default: Ue
1507
- }, Symbol.toStringTag, { value: "Module" })), We = {
1306
+ const Hi = /* @__PURE__ */ y(Me, [["render", je]]), Ce = {
1508
1307
  name: "Header",
1509
1308
  props: {
1510
1309
  title: {
@@ -1518,29 +1317,26 @@ const Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1518
1317
  },
1519
1318
  mounted() {
1520
1319
  this.$nextTick(function() {
1521
- D(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/header/header.component.js": () => import("./header.component-780164cb.mjs"), "../../../assets/js/components/header/header.component.min.js": () => Promise.resolve().then(() => Ve) }), "../../../assets/js/components/header/header.component.js").then((e) => {
1320
+ N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/header/header.component.js": () => import("./header.component-cc8263fb.mjs"), "../../../assets/js/components/header/header.component.min.js": () => import("./header.component.min-d2a97755.mjs") }), "../../../assets/js/components/header/header.component.js").then((e) => {
1522
1321
  window.customElements.get("iam-header") || window.customElements.define("iam-header", e.default);
1523
1322
  }).catch((e) => {
1524
1323
  console.log(e.message);
1525
1324
  });
1526
1325
  });
1527
1326
  }
1528
- }, Ge = ["image"], Ke = ["innerHTML"];
1529
- function Ye(e, a, t, i, s, o) {
1530
- return u(), m("iam-header", {
1531
- class: "bg-secondary",
1532
- image: t.image
1533
- }, [
1534
- _(e.$slots, "breadcrumb"),
1535
- t.title ? (u(), m("h1", {
1327
+ }, De = ["image"], Re = ["innerHTML"];
1328
+ function Ne(e, a, t, i, s, o) {
1329
+ return m(), h("iam-header", { image: t.image }, [
1330
+ v(e.$slots, "breadcrumb"),
1331
+ t.title ? (m(), h("h1", {
1536
1332
  key: 0,
1537
1333
  innerHTML: t.title
1538
- }, null, 8, Ke)) : w("", !0),
1539
- _(e.$slots, "default")
1540
- ], 8, Ge);
1334
+ }, null, 8, Re)) : _("", !0),
1335
+ v(e.$slots, "default")
1336
+ ], 8, De);
1541
1337
  }
1542
- const Bi = /* @__PURE__ */ y(We, [["render", Ye]]);
1543
- function Xe(e) {
1338
+ const Mi = /* @__PURE__ */ y(Ce, [["render", Ne]]);
1339
+ function ze(e) {
1544
1340
  var a;
1545
1341
  const t = e.querySelector(".testimonial__images"), i = t.querySelectorAll("img").length;
1546
1342
  if (i == 1)
@@ -1568,7 +1364,7 @@ function Xe(e) {
1568
1364
  }
1569
1365
  }, !1);
1570
1366
  }
1571
- const Je = {
1367
+ const Fe = {
1572
1368
  name: "Testimonial",
1573
1369
  props: {
1574
1370
  items: {
@@ -1582,13 +1378,13 @@ const Je = {
1582
1378
  }
1583
1379
  },
1584
1380
  mounted() {
1585
- Xe(this.$refs.wrapper);
1381
+ ze(this.$refs.wrapper);
1586
1382
  }
1587
- }, Qe = {
1383
+ }, Pe = {
1588
1384
  class: "container testimonial mb-5",
1589
1385
  "data-show": "1",
1590
1386
  ref: "wrapper"
1591
- }, Ze = { class: "row" }, ta = { class: "col-md-5 position-relative" }, ea = { class: "testimonial__images" }, aa = ["src"], ia = /* @__PURE__ */ f("div", { class: "testimonial__controls" }, [
1387
+ }, Ie = { class: "row" }, Oe = { class: "col-md-5 position-relative" }, Be = { class: "testimonial__images" }, Ue = ["src"], Ve = /* @__PURE__ */ f("div", { class: "testimonial__controls" }, [
1592
1388
  /* @__PURE__ */ f("button", {
1593
1389
  "data-go": "0",
1594
1390
  disabled: "",
@@ -1598,50 +1394,50 @@ const Je = {
1598
1394
  "data-go": "2",
1599
1395
  class: "btn-next"
1600
1396
  }, "Next")
1601
- ], -1), na = { class: "col-md-7" }, oa = /* @__PURE__ */ f("h2", null, "What our customers think…", -1), ra = { class: "testimonial__content" }, sa = ["innerHTML"], la = ["innerHTML"], da = { class: "testimonial__after" }, ca = /* @__PURE__ */ f("span", { class: "circle circle--dots d-none d-md-block" }, null, -1);
1602
- function ua(e, a, t, i, s, o) {
1603
- return u(), m("div", Qe, [
1397
+ ], -1), We = { class: "col-md-7" }, Ke = /* @__PURE__ */ f("h2", null, "What our customers think…", -1), Ge = { class: "testimonial__content" }, Ye = ["innerHTML"], Xe = ["innerHTML"], Je = { class: "testimonial__after" }, Qe = /* @__PURE__ */ f("span", { class: "circle circle--dots d-none d-md-block" }, null, -1);
1398
+ function Ze(e, a, t, i, s, o) {
1399
+ return m(), h("div", Pe, [
1604
1400
  f("div", {
1605
- class: x("bg-" + t.background)
1401
+ class: L("bg-" + t.background)
1606
1402
  }, [
1607
- f("div", Ze, [
1608
- f("div", ta, [
1609
- f("div", ea, [
1610
- (u(!0), m(T, null, H(t.items, (n, l) => (u(), m("img", {
1403
+ f("div", Ie, [
1404
+ f("div", Oe, [
1405
+ f("div", Be, [
1406
+ (m(!0), h(D, null, R(t.items, (n, l) => (m(), h("img", {
1611
1407
  key: l,
1612
1408
  src: n.image ? n.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
1613
1409
  alt: "",
1614
- class: x("h-100 w-100 object-cover" + (n.image ? "" : " opacity-0"))
1615
- }, null, 10, aa))), 128))
1410
+ class: L("h-100 w-100 object-cover" + (n.image ? "" : " opacity-0"))
1411
+ }, null, 10, Ue))), 128))
1616
1412
  ]),
1617
- ia
1413
+ Ve
1618
1414
  ]),
1619
- f("div", na, [
1620
- oa,
1621
- f("div", ra, [
1622
- (u(!0), m(T, null, H(t.items, (n, l) => (u(), m("blockquote", {
1415
+ f("div", We, [
1416
+ Ke,
1417
+ f("div", Ge, [
1418
+ (m(!0), h(D, null, R(t.items, (n, l) => (m(), h("blockquote", {
1623
1419
  key: l,
1624
- class: x(n.class)
1420
+ class: L(n.class)
1625
1421
  }, [
1626
1422
  f("div", {
1627
1423
  innerHTML: n.quote
1628
- }, null, 8, sa),
1424
+ }, null, 8, Ye),
1629
1425
  f("cite", {
1630
1426
  innerHTML: n.cite
1631
- }, null, 8, la)
1427
+ }, null, 8, Xe)
1632
1428
  ], 2))), 128))
1633
1429
  ]),
1634
- f("div", da, [
1635
- _(e.$slots, "default")
1430
+ f("div", Je, [
1431
+ v(e.$slots, "default")
1636
1432
  ])
1637
1433
  ])
1638
1434
  ]),
1639
- ca
1435
+ Qe
1640
1436
  ], 2)
1641
1437
  ], 512);
1642
1438
  }
1643
- const Ui = /* @__PURE__ */ y(Je, [["render", ua]]);
1644
- const ma = {
1439
+ const ji = /* @__PURE__ */ y(Fe, [["render", Ze]]);
1440
+ const ta = {
1645
1441
  name: "Timeline",
1646
1442
  props: {
1647
1443
  image: {
@@ -1649,21 +1445,21 @@ const ma = {
1649
1445
  required: !1
1650
1446
  }
1651
1447
  }
1652
- }, ha = { class: "timeline" }, pa = { class: "timeline__content" }, ba = ["src"];
1653
- function fa(e, a, t, i, s, o) {
1654
- return u(), m("div", ha, [
1655
- f("div", pa, [
1656
- _(e.$slots, "default")
1448
+ }, ea = { class: "timeline" }, aa = { class: "timeline__content" }, ia = ["src"];
1449
+ function na(e, a, t, i, s, o) {
1450
+ return m(), h("div", ea, [
1451
+ f("div", aa, [
1452
+ v(e.$slots, "default")
1657
1453
  ]),
1658
- t.image ? (u(), m("img", {
1454
+ t.image ? (m(), h("img", {
1659
1455
  key: 0,
1660
1456
  src: t.image,
1661
1457
  alt: ""
1662
- }, null, 8, ba)) : w("", !0)
1458
+ }, null, 8, ia)) : _("", !0)
1663
1459
  ]);
1664
1460
  }
1665
- const Vi = /* @__PURE__ */ y(ma, [["render", fa]]);
1666
- const ga = {
1461
+ const Ci = /* @__PURE__ */ y(ta, [["render", na]]);
1462
+ const oa = {
1667
1463
  components: {
1668
1464
  Input: st
1669
1465
  },
@@ -1809,34 +1605,34 @@ const ga = {
1809
1605
  ];
1810
1606
  }
1811
1607
  }
1812
- }, ya = {
1608
+ }, ra = {
1813
1609
  class: "container",
1814
1610
  ref: "wrapper"
1815
- }, va = { class: "property-searchbar" }, wa = ["action", "method"], _a = { class: "col-12 col-md-3" }, Aa = { class: "col-12 col-md" }, xa = /* @__PURE__ */ f("span", { class: "form-label d-none d-md-block" }, "Price range", -1), ka = {
1611
+ }, sa = { class: "property-searchbar" }, la = ["action", "method"], da = { class: "col-12 col-md-3" }, ca = { class: "col-12 col-md" }, ua = /* @__PURE__ */ f("span", { class: "form-label d-none d-md-block" }, "Price range", -1), ma = {
1816
1612
  class: "row",
1817
1613
  "data-input-range": ""
1818
- }, La = { class: "col-12 col-md" }, Sa = /* @__PURE__ */ f("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1), $a = {
1614
+ }, ha = { class: "col-12 col-md" }, pa = /* @__PURE__ */ f("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1), ba = {
1819
1615
  class: "row",
1820
1616
  "data-input-range": ""
1821
- }, qa = { class: "col-12 col-md-2" }, Ea = /* @__PURE__ */ f("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
1617
+ }, fa = { class: "col-12 col-md-2" }, ga = /* @__PURE__ */ f("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
1822
1618
  /* @__PURE__ */ f("button", {
1823
1619
  class: "btn w-100 me-0",
1824
1620
  type: "submit",
1825
1621
  value: "submit"
1826
1622
  }, "Search")
1827
1623
  ], -1);
1828
- function Ta(e, a, t, i, s, o) {
1829
- const n = B("Input");
1830
- return u(), m("div", ya, [
1831
- _(e.$slots, "default"),
1832
- f("div", va, [
1624
+ function ya(e, a, t, i, s, o) {
1625
+ const n = K("Input");
1626
+ return m(), h("div", ra, [
1627
+ v(e.$slots, "default"),
1628
+ f("div", sa, [
1833
1629
  f("form", {
1834
1630
  class: "row",
1835
1631
  action: t.formaction,
1836
1632
  method: t.formmethod
1837
1633
  }, [
1838
- f("fieldset", _a, [
1839
- C(n, {
1634
+ f("fieldset", da, [
1635
+ M(n, {
1840
1636
  inputClass: "input--locations",
1841
1637
  modelValue: o.locationSet,
1842
1638
  "onUpdate:modelValue": a[0] || (a[0] = (l) => o.locationSet = l),
@@ -1848,7 +1644,7 @@ function Ta(e, a, t, i, s, o) {
1848
1644
  onKeyupEvent: a[1] || (a[1] = (l) => o.locationKeyup(...arguments)),
1849
1645
  ref: "search"
1850
1646
  }, null, 8, ["modelValue", "options"]),
1851
- C(n, {
1647
+ M(n, {
1852
1648
  class: "select--miles",
1853
1649
  label: "Miles",
1854
1650
  id: "miles",
@@ -1856,10 +1652,10 @@ function Ta(e, a, t, i, s, o) {
1856
1652
  options: t.distances
1857
1653
  }, null, 8, ["options"])
1858
1654
  ]),
1859
- f("fieldset", Aa, [
1860
- xa,
1861
- f("div", ka, [
1862
- C(n, {
1655
+ f("fieldset", ca, [
1656
+ ua,
1657
+ f("div", ma, [
1658
+ M(n, {
1863
1659
  class: "col-6",
1864
1660
  label: "Minimum price",
1865
1661
  id: "price-min",
@@ -1867,7 +1663,7 @@ function Ta(e, a, t, i, s, o) {
1867
1663
  type: "select",
1868
1664
  options: t.pricemin
1869
1665
  }, null, 8, ["options"]),
1870
- C(n, {
1666
+ M(n, {
1871
1667
  class: "col-6",
1872
1668
  label: "Maximum price",
1873
1669
  id: "price-max",
@@ -1877,10 +1673,10 @@ function Ta(e, a, t, i, s, o) {
1877
1673
  }, null, 8, ["options"])
1878
1674
  ])
1879
1675
  ]),
1880
- f("fieldset", La, [
1881
- Sa,
1882
- f("div", $a, [
1883
- C(n, {
1676
+ f("fieldset", ha, [
1677
+ pa,
1678
+ f("div", ba, [
1679
+ M(n, {
1884
1680
  class: "col-6",
1885
1681
  label: "Minimum beds",
1886
1682
  id: "beds-min",
@@ -1888,7 +1684,7 @@ function Ta(e, a, t, i, s, o) {
1888
1684
  type: "select",
1889
1685
  options: t.bedsmin
1890
1686
  }, null, 8, ["options"]),
1891
- C(n, {
1687
+ M(n, {
1892
1688
  class: "col-6",
1893
1689
  label: "Maximum beds",
1894
1690
  id: "beds-max",
@@ -1898,26 +1694,26 @@ function Ta(e, a, t, i, s, o) {
1898
1694
  }, null, 8, ["options"])
1899
1695
  ])
1900
1696
  ]),
1901
- f("fieldset", qa, [
1902
- C(n, {
1697
+ f("fieldset", fa, [
1698
+ M(n, {
1903
1699
  label: "Property type",
1904
1700
  id: "property-type",
1905
1701
  type: "select",
1906
1702
  options: t.propertytypes
1907
1703
  }, null, 8, ["options"])
1908
1704
  ]),
1909
- Ea
1910
- ], 8, wa)
1705
+ ga
1706
+ ], 8, la)
1911
1707
  ]),
1912
- _(e.$slots, "after")
1708
+ v(e.$slots, "after")
1913
1709
  ], 512);
1914
1710
  }
1915
- const Wi = /* @__PURE__ */ y(ga, [["render", Ta]]), Ha = {
1711
+ const Di = /* @__PURE__ */ y(oa, [["render", ya]]), wa = {
1916
1712
  components: {},
1917
1713
  name: "Nav",
1918
1714
  mounted() {
1919
1715
  this.$nextTick(function() {
1920
- D(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/nav/nav.component.js": () => import("./nav.component-ff8d1484.mjs"), "../../../assets/js/components/nav/nav.component.min.js": () => import("./nav.component.min-564f9d7e.mjs") }), "../../../assets/js/components/nav/nav.component.js").then((e) => {
1716
+ N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/nav/nav.component.js": () => import("./nav.component-ff8d1484.mjs"), "../../../assets/js/components/nav/nav.component.min.js": () => import("./nav.component.min-3f8ef26b.mjs") }), "../../../assets/js/components/nav/nav.component.js").then((e) => {
1921
1717
  window.customElements.get("iam-nav") || window.customElements.define("iam-nav", e.default);
1922
1718
  }).catch((e) => {
1923
1719
  console.log(e.message);
@@ -1925,14 +1721,14 @@ const Wi = /* @__PURE__ */ y(ga, [["render", Ta]]), Ha = {
1925
1721
  });
1926
1722
  },
1927
1723
  methods: {}
1928
- }, Ma = { ref: "wrapper" };
1929
- function ja(e, a, t, i, s, o) {
1930
- return u(), m("iam-nav", Ma, [
1931
- _(e.$slots, "default")
1724
+ }, va = { ref: "wrapper" };
1725
+ function _a(e, a, t, i, s, o) {
1726
+ return m(), h("iam-nav", va, [
1727
+ v(e.$slots, "default")
1932
1728
  ], 512);
1933
1729
  }
1934
- const Gi = /* @__PURE__ */ y(Ha, [["render", ja]]);
1935
- const Ca = {
1730
+ const Ri = /* @__PURE__ */ y(wa, [["render", _a]]);
1731
+ const xa = {
1936
1732
  name: "Stepper",
1937
1733
  props: {
1938
1734
  label: {
@@ -1945,26 +1741,26 @@ const Ca = {
1945
1741
  default: "Complete"
1946
1742
  }
1947
1743
  }
1948
- }, Na = { class: "container" }, Ra = ["aria-label"], Da = {
1744
+ }, Aa = { class: "container" }, ka = ["aria-label"], La = {
1949
1745
  key: 0,
1950
1746
  class: "h6 stepper__start"
1951
- }, za = { class: "list-unstyled" }, Fa = { class: "h6 stepper__end" };
1952
- function Pa(e, a, t, i, s, o) {
1953
- return u(), m("div", Na, [
1747
+ }, $a = { class: "list-unstyled" }, Sa = { class: "h6 stepper__end" };
1748
+ function qa(e, a, t, i, s, o) {
1749
+ return m(), h("div", Aa, [
1954
1750
  f("nav", {
1955
1751
  class: "stepper",
1956
1752
  "aria-label": t.label ? t.label : "Progress"
1957
1753
  }, [
1958
- t.label ? (u(), m("span", Da, S(t.label), 1)) : w("", !0),
1959
- f("ol", za, [
1960
- _(e.$slots, "default")
1754
+ t.label ? (m(), h("span", La, $(t.label), 1)) : _("", !0),
1755
+ f("ol", $a, [
1756
+ v(e.$slots, "default")
1961
1757
  ]),
1962
- f("span", Fa, S(t.endlabel), 1)
1963
- ], 8, Ra)
1758
+ f("span", Sa, $(t.endlabel), 1)
1759
+ ], 8, ka)
1964
1760
  ]);
1965
1761
  }
1966
- const Ki = /* @__PURE__ */ y(Ca, [["render", Pa]]);
1967
- const Ia = {
1762
+ const Ni = /* @__PURE__ */ y(xa, [["render", qa]]);
1763
+ const Ea = {
1968
1764
  name: "Snapshot",
1969
1765
  props: {
1970
1766
  items: {
@@ -1972,33 +1768,33 @@ const Ia = {
1972
1768
  required: !0
1973
1769
  }
1974
1770
  }
1975
- }, Oa = {
1771
+ }, Ta = {
1976
1772
  class: "container snapshot",
1977
1773
  ref: "wrapper"
1978
- }, Ba = { class: "row" }, Ua = ["href"], Va = { class: "lead snapshot__title" }, Wa = { class: "stat" };
1979
- function Ga(e, a, t, i, s, o) {
1980
- return u(), m("div", Oa, [
1981
- _(e.$slots, "default"),
1982
- f("div", Ba, [
1983
- (u(!0), m(T, null, H(t.items, (n, l) => (u(), m("div", {
1774
+ }, Ha = { class: "row" }, Ma = ["href"], ja = { class: "lead snapshot__title" }, Ca = { class: "stat" };
1775
+ function Da(e, a, t, i, s, o) {
1776
+ return m(), h("div", Ta, [
1777
+ v(e.$slots, "default"),
1778
+ f("div", Ha, [
1779
+ (m(!0), h(D, null, R(t.items, (n, l) => (m(), h("div", {
1984
1780
  class: "col",
1985
1781
  key: l
1986
1782
  }, [
1987
- n.link ? (u(), m("a", {
1783
+ n.link ? (m(), h("a", {
1988
1784
  key: 0,
1989
1785
  href: n.link
1990
- }, "View " + S(n.title), 9, Ua)) : w("", !0),
1786
+ }, "View " + $(n.title), 9, Ma)) : _("", !0),
1991
1787
  f("div", {
1992
- class: x(`snapshot__item ${n.bg ? "bg-" + n.bg : ""}`)
1788
+ class: L(`snapshot__item ${n.bg ? "bg-" + n.bg : ""}`)
1993
1789
  }, [
1994
- f("span", Va, S(n.title), 1),
1995
- f("span", Wa, S(n.number), 1)
1790
+ f("span", ja, $(n.title), 1),
1791
+ f("span", Ca, $(n.number), 1)
1996
1792
  ], 2)
1997
1793
  ]))), 128))
1998
1794
  ])
1999
1795
  ], 512);
2000
1796
  }
2001
- const Yi = /* @__PURE__ */ y(Ia, [["render", Ga]]), Ka = {
1797
+ const zi = /* @__PURE__ */ y(Ea, [["render", Da]]), Ra = {
2002
1798
  name: "Stepper",
2003
1799
  props: {
2004
1800
  url: {
@@ -2014,43 +1810,43 @@ const Yi = /* @__PURE__ */ y(Ia, [["render", Ga]]), Ka = {
2014
1810
  required: !1
2015
1811
  }
2016
1812
  }
2017
- }, Ya = ["href", "aria-current"], Xa = {
1813
+ }, Na = ["href", "aria-current"], za = {
2018
1814
  key: 0,
2019
1815
  class: "visually-hidden"
2020
1816
  };
2021
- function Ja(e, a, t, i, s, o) {
2022
- return u(), m("li", null, [
1817
+ function Fa(e, a, t, i, s, o) {
1818
+ return m(), h("li", null, [
2023
1819
  f("a", {
2024
1820
  href: t.url,
2025
- class: x(`${t.status ? "bg-" + t.status : ""}${typeof t.current < "u" ? "current" : ""}`),
1821
+ class: L(`${t.status ? "bg-" + t.status : ""}${typeof t.current < "u" ? "current" : ""}`),
2026
1822
  "aria-current": typeof t.current < "u" ? "step" : !1
2027
1823
  }, [
2028
1824
  f("span", null, [
2029
- _(e.$slots, "default")
1825
+ v(e.$slots, "default")
2030
1826
  ]),
2031
- t.status ? (u(), m("em", Xa, " - status: " + S(t.status), 1)) : w("", !0)
2032
- ], 10, Ya)
1827
+ t.status ? (m(), h("em", za, " - status: " + $(t.status), 1)) : _("", !0)
1828
+ ], 10, Na)
2033
1829
  ]);
2034
1830
  }
2035
- const Xi = /* @__PURE__ */ y(Ka, [["render", Ja]]);
2036
- const Qa = {
1831
+ const Fi = /* @__PURE__ */ y(Ra, [["render", Fa]]);
1832
+ const Pa = {
2037
1833
  name: "Tabs",
2038
1834
  mounted() {
2039
1835
  this.$nextTick(function() {
2040
- D(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/tabs/tabs.component.js": () => import("./tabs.component-1dfbdb3b.mjs"), "../../../assets/js/components/tabs/tabs.component.min.js": () => import("./tabs.component.min-f578841e.mjs") }), "../../../assets/js/components/tabs/tabs.component.js").then((e) => {
1836
+ N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/tabs/tabs.component.js": () => import("./tabs.component-1dfbdb3b.mjs"), "../../../assets/js/components/tabs/tabs.component.min.js": () => import("./tabs.component.min-4fa524fe.mjs") }), "../../../assets/js/components/tabs/tabs.component.js").then((e) => {
2041
1837
  window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", e.default);
2042
1838
  }).catch((e) => {
2043
1839
  console.log(e.message);
2044
1840
  });
2045
1841
  });
2046
1842
  }
2047
- }, Za = { ref: "wrapper" };
2048
- function ti(e, a, t, i, s, o) {
2049
- return u(), m("iam-tabs", Za, [
2050
- _(e.$slots, "default")
1843
+ }, Ia = { ref: "wrapper" };
1844
+ function Oa(e, a, t, i, s, o) {
1845
+ return m(), h("iam-tabs", Ia, [
1846
+ v(e.$slots, "default")
2051
1847
  ], 512);
2052
1848
  }
2053
- const Ji = /* @__PURE__ */ y(Qa, [["render", ti]]), ei = {
1849
+ const Pi = /* @__PURE__ */ y(Pa, [["render", Oa]]), Ba = {
2054
1850
  name: "Tab",
2055
1851
  props: {
2056
1852
  title: {
@@ -2072,20 +1868,20 @@ const Ji = /* @__PURE__ */ y(Qa, [["render", ti]]), ei = {
2072
1868
  isDisabled: !!this.disabled
2073
1869
  };
2074
1870
  }
2075
- }, ai = { class: "tab" }, ii = ["innerHTML"];
2076
- function ni(e, a, t, i, s, o) {
2077
- return u(), m("details", ai, [
1871
+ }, Ua = { class: "tab" }, Va = ["innerHTML"];
1872
+ function Wa(e, a, t, i, s, o) {
1873
+ return m(), h("details", Ua, [
2078
1874
  f("summary", {
2079
1875
  innerHTML: t.title,
2080
- class: x({ disabled: s.isDisabled })
2081
- }, null, 10, ii),
2082
- _(e.$slots, "default")
1876
+ class: L({ disabled: s.isDisabled })
1877
+ }, null, 10, Va),
1878
+ v(e.$slots, "default")
2083
1879
  ]);
2084
1880
  }
2085
- const Qi = /* @__PURE__ */ y(ei, [["render", ni]]);
1881
+ const Ii = /* @__PURE__ */ y(Ba, [["render", Wa]]);
2086
1882
  let lt = rt.props;
2087
1883
  lt.fields.required = !1;
2088
- const oi = {
1884
+ const Ka = {
2089
1885
  components: {
2090
1886
  Table: rt,
2091
1887
  Input: st
@@ -2131,16 +1927,16 @@ const oi = {
2131
1927
  required: !1
2132
1928
  }
2133
1929
  }
2134
- }, ri = { class: "container note-feed mb-2" }, si = ["innerHTML"], li = ["action", "method"], di = ["value"], ci = /* @__PURE__ */ f("button", { class: "btn btn-tertiary" }, "Submit note", -1);
2135
- function ui(e, a, t, i, s, o) {
2136
- const n = B("Table"), l = B("Input");
2137
- return u(), m("div", ri, [
2138
- t.title ? (u(), m("span", {
1930
+ }, Ga = { class: "container note-feed mb-2" }, Ya = ["innerHTML"], Xa = ["action", "method"], Ja = ["value"], Qa = /* @__PURE__ */ f("button", { class: "btn btn-tertiary" }, "Submit note", -1);
1931
+ function Za(e, a, t, i, s, o) {
1932
+ const n = K("Table"), l = K("Input");
1933
+ return m(), h("div", Ga, [
1934
+ t.title ? (m(), h("span", {
2139
1935
  key: 0,
2140
1936
  class: "h3",
2141
1937
  innerHTML: t.title
2142
- }, null, 8, si)) : w("", !0),
2143
- C(n, N({
1938
+ }, null, 8, Ya)) : _("", !0),
1939
+ M(n, C({
2144
1940
  fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
2145
1941
  items: s.itemsData
2146
1942
  }, e.$props, { class: "mb-0" }), null, 16, ["items"]),
@@ -2153,24 +1949,24 @@ function ui(e, a, t, i, s, o) {
2153
1949
  type: "hidden",
2154
1950
  value: t.user,
2155
1951
  name: "user"
2156
- }, null, 8, di),
2157
- C(l, {
1952
+ }, null, 8, Ja),
1953
+ M(l, {
2158
1954
  id: "addNote",
2159
1955
  type: "textarea",
2160
1956
  label: "Add note",
2161
1957
  required: "",
2162
1958
  class: "mw-100"
2163
1959
  }),
2164
- ci
2165
- ], 40, li)
1960
+ Qa
1961
+ ], 40, Xa)
2166
1962
  ]);
2167
1963
  }
2168
- const Zi = /* @__PURE__ */ y(oi, [["render", ui]]);
1964
+ const Oi = /* @__PURE__ */ y(Ka, [["render", Za]]);
2169
1965
  /*!
2170
- * iamKey v5.1.0-beta7
1966
+ * iamKey v5.1.0-beta8
2171
1967
  * Copyright 2022-2023 iamproperty
2172
1968
  */
2173
- function mi(e, a) {
1969
+ function ti(e, a) {
2174
1970
  function t(i, s) {
2175
1971
  let o = !1, n = s.getAttribute("name");
2176
1972
  n.includes("[]") && (n = n.replace("[]", `[${s.value}]`));
@@ -2179,9 +1975,9 @@ function mi(e, a) {
2179
1975
  let d = s.getAttribute("data-filter-text");
2180
1976
  if (l || (l = document.createElement("button"), i.appendChild(l)), l.setAttribute("type", "button"), l.classList.add("filter"), l.setAttribute("data-name", n), l.innerHTML = d.replace("$value", s.value), (!s.value || o) && l.remove(), s.parentNode.closest("[data-filter-text]")) {
2181
1977
  let r = s.parentNode.closest("[data-filter-text]"), p = !0;
2182
- if (n = "", r.querySelectorAll("input").forEach((c, h) => {
1978
+ if (n = "", r.querySelectorAll("input").forEach((c, u) => {
2183
1979
  let g = c.getAttribute("name");
2184
- if (n += `${h != 0 ? "," : ""}${g}`, i.querySelector(`[data-name="${g}"]`) && i.querySelector(`[data-name="${g}"]`).remove(), c.value) {
1980
+ if (n += `${u != 0 ? "," : ""}${g}`, i.querySelector(`[data-name="${g}"]`) && i.querySelector(`[data-name="${g}"]`).remove(), c.value) {
2185
1981
  let b = document.createElement("button");
2186
1982
  b.setAttribute("type", "button"), b.classList.add("filter"), b.setAttribute("data-name", g), b.innerHTML = d.replace("$value", c.value), i.appendChild(b);
2187
1983
  } else
@@ -2189,11 +1985,11 @@ function mi(e, a) {
2189
1985
  }), i.querySelector(`[data-name="${n}"]`) && i.querySelector(`[data-name="${n}"]`).remove(), p) {
2190
1986
  let c = r.getAttribute("data-filter-text");
2191
1987
  r.querySelectorAll("input").forEach((g, b) => {
2192
- let A = g.getAttribute("name");
2193
- i.querySelector(`[data-name="${A}"]`) && i.querySelector(`[data-name="${A}"]`).remove(), c = c.replace(`$${b + 1}`, g.value);
1988
+ let x = g.getAttribute("name");
1989
+ i.querySelector(`[data-name="${x}"]`) && i.querySelector(`[data-name="${x}"]`).remove(), c = c.replace(`$${b + 1}`, g.value);
2194
1990
  });
2195
- let h = document.createElement("button");
2196
- h.setAttribute("type", "button"), h.classList.add("filter"), h.setAttribute("data-name", n), h.innerHTML = c, i.appendChild(h);
1991
+ let u = document.createElement("button");
1992
+ u.setAttribute("type", "button"), u.classList.add("filter"), u.setAttribute("data-name", n), u.innerHTML = c, i.appendChild(u);
2197
1993
  }
2198
1994
  }
2199
1995
  }
@@ -2231,7 +2027,7 @@ function mi(e, a) {
2231
2027
  }, !1);
2232
2028
  }
2233
2029
  window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "Applied Filters" });
2234
- class hi extends HTMLElement {
2030
+ class ei extends HTMLElement {
2235
2031
  constructor() {
2236
2032
  super(), this.attachShadow({ mode: "open" });
2237
2033
  const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`;
@@ -2249,27 +2045,27 @@ class hi extends HTMLElement {
2249
2045
  `, this.shadowRoot.appendChild(s.content.cloneNode(!0));
2250
2046
  }
2251
2047
  connectedCallback() {
2252
- mi(this, this.shadowRoot.querySelector(".applied-filters"));
2048
+ ti(this, this.shadowRoot.querySelector(".applied-filters"));
2253
2049
  }
2254
2050
  }
2255
- window.customElements.get("iam-applied-filters") || window.customElements.define("iam-applied-filters", hi);
2256
- const pi = {
2051
+ window.customElements.get("iam-applied-filters") || window.customElements.define("iam-applied-filters", ei);
2052
+ const ai = {
2257
2053
  name: "Header"
2258
2054
  };
2259
- function bi(e, a, t, i, s, o) {
2260
- return u(), m("iam-applied-filters", null, [
2261
- _(e.$slots, "default")
2055
+ function ii(e, a, t, i, s, o) {
2056
+ return m(), h("iam-applied-filters", null, [
2057
+ v(e.$slots, "default")
2262
2058
  ]);
2263
2059
  }
2264
- const tn = /* @__PURE__ */ y(pi, [["render", bi]]);
2060
+ const Bi = /* @__PURE__ */ y(ai, [["render", ii]]);
2265
2061
  /*!
2266
- * iamKey v5.1.0-beta7
2062
+ * iamKey v5.1.0-beta8
2267
2063
  * Copyright 2022-2023 iamproperty
2268
2064
  */
2269
- function fi(e, a) {
2270
- gi(e, a);
2065
+ function ni(e, a) {
2066
+ oi(e, a);
2271
2067
  }
2272
- function gi(e, a) {
2068
+ function oi(e, a) {
2273
2069
  var t;
2274
2070
  a.addEventListener("keyup", (i) => {
2275
2071
  clearTimeout(t), t = setTimeout(function() {
@@ -2286,7 +2082,7 @@ const Z = function(e, a) {
2286
2082
  }), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Filtered list", value: a });
2287
2083
  };
2288
2084
  window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "filterlist" });
2289
- class yi extends HTMLElement {
2085
+ class ri extends HTMLElement {
2290
2086
  constructor() {
2291
2087
  super(), this.attachShadow({ mode: "open" });
2292
2088
  const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, i = document.createElement("template");
@@ -2321,20 +2117,20 @@ class yi extends HTMLElement {
2321
2117
  }
2322
2118
  connectedCallback() {
2323
2119
  let a = this.classList.toString();
2324
- this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${a}`), this.querySelector("i.fa-search") || (this.innerHTML += '<i class="fa fa-light fa-search" aria-hidden="true" slot="icon"></i>'), fi(this.querySelector("ul"), this.shadowRoot.querySelector("#search"));
2120
+ this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${a}`), this.querySelector("i.fa-search") || (this.innerHTML += '<i class="fa fa-light fa-search" aria-hidden="true" slot="icon"></i>'), ni(this.querySelector("ul"), this.shadowRoot.querySelector("#search"));
2325
2121
  }
2326
2122
  }
2327
- window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist", yi);
2328
- const vi = {
2123
+ window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist", ri);
2124
+ const si = {
2329
2125
  name: "Filter list"
2330
2126
  };
2331
- function wi(e, a, t, i, s, o) {
2332
- return u(), m("iam-filterlist", null, [
2333
- _(e.$slots, "default")
2127
+ function li(e, a, t, i, s, o) {
2128
+ return m(), h("iam-filterlist", null, [
2129
+ v(e.$slots, "default")
2334
2130
  ]);
2335
2131
  }
2336
- const en = /* @__PURE__ */ y(vi, [["render", wi]]);
2337
- function _i(e) {
2132
+ const Ui = /* @__PURE__ */ y(si, [["render", li]]);
2133
+ function di(e) {
2338
2134
  if (e.hasAttribute("data-type") && e.getAttribute("data-type") == "toast") {
2339
2135
  let t = document.querySelector(".notification__holder");
2340
2136
  t || (t = document.createElement("div"), t.classList.add("notification__holder"), t.classList.add("container"), document.querySelector("body").appendChild(t)), e.closest(".notification__holder") || t.appendChild(e);
@@ -2343,7 +2139,7 @@ function _i(e) {
2343
2139
  event && event.target instanceof HTMLElement && event.target.closest("[data-dismiss-button]") && (t.preventDefault(), X(e));
2344
2140
  }, !1), e.hasAttribute("data-timeout")) {
2345
2141
  let t = e.getAttribute("data-timeout");
2346
- var a = new Ai(function() {
2142
+ var a = new ci(function() {
2347
2143
  X(e);
2348
2144
  }, t);
2349
2145
  e.addEventListener("mouseenter", (i) => {
@@ -2353,7 +2149,7 @@ function _i(e) {
2353
2149
  });
2354
2150
  }
2355
2151
  }
2356
- function Ai(e, a) {
2152
+ function ci(e, a) {
2357
2153
  var t, i, s = a;
2358
2154
  this.pause = function() {
2359
2155
  window.clearTimeout(t), s -= /* @__PURE__ */ new Date() - i;
@@ -2369,7 +2165,7 @@ window.dataLayer.push({
2369
2165
  event: "customElementRegistered",
2370
2166
  element: "Notification"
2371
2167
  });
2372
- class xi extends HTMLElement {
2168
+ class ui extends HTMLElement {
2373
2169
  constructor() {
2374
2170
  super(), this.attachShadow({ mode: "open" });
2375
2171
  const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, i = `@import "${a}/css/components/notification.css";`, s = `@import "${a}/css/components/notification.global.css";`, o = this.querySelectorAll("a,button");
@@ -2409,31 +2205,31 @@ class xi extends HTMLElement {
2409
2205
  default:
2410
2206
  this.innerHTML += '<i class="fa-solid fa-circle-info" aria-hidden="true" slot="icon"></i>';
2411
2207
  }
2412
- _i(i), a && a.addEventListener("click", function(s) {
2208
+ di(i), a && a.addEventListener("click", function(s) {
2413
2209
  X(i);
2414
2210
  }, !1);
2415
2211
  }
2416
2212
  }
2417
- const ki = {
2213
+ const mi = {
2418
2214
  name: "Notification",
2419
2215
  props: {},
2420
2216
  created() {
2421
2217
  this.$nextTick(function() {
2422
- window.customElements.get("iam-notification") || window.customElements.define("iam-notification", xi);
2218
+ window.customElements.get("iam-notification") || window.customElements.define("iam-notification", ui);
2423
2219
  });
2424
2220
  }
2425
2221
  };
2426
- function Li(e, a, t, i, s, o) {
2427
- return u(), m("iam-notification", null, [
2428
- _(e.$slots, "default")
2222
+ function hi(e, a, t, i, s, o) {
2223
+ return m(), h("iam-notification", null, [
2224
+ v(e.$slots, "default")
2429
2225
  ]);
2430
2226
  }
2431
- const an = /* @__PURE__ */ y(ki, [["render", Li]]), Si = {
2227
+ const Vi = /* @__PURE__ */ y(mi, [["render", hi]]), pi = {
2432
2228
  name: "Actionbar",
2433
2229
  props: {},
2434
2230
  mounted() {
2435
2231
  this.$nextTick(function() {
2436
- D(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/actionbar/actionbar.component.js": () => import("./actionbar.component-3f2c98c0.mjs"), "../../../assets/js/components/actionbar/actionbar.component.min.js": () => import("./actionbar.component.min-5b4eb290.mjs") }), "../../../assets/js/components/actionbar/actionbar.component.js").then((e) => {
2232
+ N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/actionbar/actionbar.component.js": () => import("./actionbar.component-3f2c98c0.mjs"), "../../../assets/js/components/actionbar/actionbar.component.min.js": () => import("./actionbar.component.min-2e1c3731.mjs") }), "../../../assets/js/components/actionbar/actionbar.component.js").then((e) => {
2437
2233
  window.customElements.get("iam-actionbar") || window.customElements.define("iam-actionbar", e.default);
2438
2234
  }).catch((e) => {
2439
2235
  console.log(e.message);
@@ -2441,12 +2237,12 @@ const an = /* @__PURE__ */ y(ki, [["render", Li]]), Si = {
2441
2237
  });
2442
2238
  }
2443
2239
  };
2444
- function $i(e, a, t, i, s, o) {
2445
- return u(), m("iam-actionbar", null, [
2446
- _(e.$slots, "default")
2240
+ function bi(e, a, t, i, s, o) {
2241
+ return m(), h("iam-actionbar", null, [
2242
+ v(e.$slots, "default")
2447
2243
  ]);
2448
2244
  }
2449
- const nn = /* @__PURE__ */ y(Si, [["render", $i]]), qi = {
2245
+ const Wi = /* @__PURE__ */ y(pi, [["render", bi]]), fi = {
2450
2246
  name: "Pagination",
2451
2247
  props: {},
2452
2248
  computed: {},
@@ -2458,14 +2254,14 @@ const nn = /* @__PURE__ */ y(Si, [["render", $i]]), qi = {
2458
2254
  updated() {
2459
2255
  }
2460
2256
  };
2461
- function Ei(e, a, t, i, s, o) {
2462
- return u(), m("iam-pagination");
2257
+ function gi(e, a, t, i, s, o) {
2258
+ return m(), h("iam-pagination");
2463
2259
  }
2464
- const on = /* @__PURE__ */ y(qi, [["render", Ei]]), Ti = {
2260
+ const Ki = /* @__PURE__ */ y(fi, [["render", gi]]), yi = {
2465
2261
  name: "Address Lookup",
2466
2262
  mounted() {
2467
2263
  this.$nextTick(function() {
2468
- D(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/address-lookup/address-lookup.component.js": () => import("./address-lookup.component-53821bfb.mjs"), "../../../assets/js/components/address-lookup/address-lookup.component.min.js": () => import("./address-lookup.component.min-4ceee9e9.mjs") }), "../../../assets/js/components/address-lookup/address-lookup.component.js").then((e) => {
2264
+ N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/address-lookup/address-lookup.component.js": () => import("./address-lookup.component-53821bfb.mjs"), "../../../assets/js/components/address-lookup/address-lookup.component.min.js": () => import("./address-lookup.component.min-4ceee9e9.mjs") }), "../../../assets/js/components/address-lookup/address-lookup.component.js").then((e) => {
2469
2265
  window.customElements.get("iam-address-lookup") || window.customElements.define("iam-address-lookup", e.default);
2470
2266
  }).catch((e) => {
2471
2267
  console.log(e.message);
@@ -2473,18 +2269,18 @@ const on = /* @__PURE__ */ y(qi, [["render", Ei]]), Ti = {
2473
2269
  });
2474
2270
  }
2475
2271
  };
2476
- function Hi(e, a, t, i, s, o) {
2477
- return u(), m("iam-address-lookup", null, [
2478
- _(e.$slots, "default")
2272
+ function wi(e, a, t, i, s, o) {
2273
+ return m(), h("iam-address-lookup", null, [
2274
+ v(e.$slots, "default")
2479
2275
  ]);
2480
2276
  }
2481
- const rn = /* @__PURE__ */ y(Ti, [["render", Hi]]);
2277
+ const Gi = /* @__PURE__ */ y(yi, [["render", wi]]);
2482
2278
  /*!
2483
- * iamKey v5.1.0-beta7
2279
+ * iamKey v5.1.0-beta8
2484
2280
  * Copyright 2022-2023 iamproperty
2485
2281
  */
2486
2282
  window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "collapsible side menu" });
2487
- class Mi extends HTMLElement {
2283
+ class vi extends HTMLElement {
2488
2284
  constructor() {
2489
2285
  super(), this.attachShadow({ mode: "open" });
2490
2286
  const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, i = document.createElement("template");
@@ -2533,45 +2329,45 @@ class Mi extends HTMLElement {
2533
2329
  });
2534
2330
  }
2535
2331
  }
2536
- window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side", Mi);
2537
- const ji = {
2332
+ window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side", vi);
2333
+ const _i = {
2538
2334
  name: "CollapsibleSideMenu",
2539
2335
  props: {},
2540
2336
  mounted() {
2541
2337
  }
2542
2338
  };
2543
- function Ci(e, a, t, i, s, o) {
2544
- return u(), m("iam-collapsible-side", null, [
2545
- _(e.$slots, "default")
2339
+ function xi(e, a, t, i, s, o) {
2340
+ return m(), h("iam-collapsible-side", null, [
2341
+ v(e.$slots, "default")
2546
2342
  ]);
2547
2343
  }
2548
- const sn = /* @__PURE__ */ y(ji, [["render", Ci]]);
2344
+ const Yi = /* @__PURE__ */ y(_i, [["render", xi]]);
2549
2345
  export {
2550
- Fi as Accordion,
2551
- Pi as AccordionItem,
2552
- nn as Actionbar,
2553
- rn as AddressLookup,
2554
- tn as AppliedFilters,
2555
- Ii as Banner,
2556
- Me as Card,
2557
- Oi as Carousel,
2558
- sn as CollapsibleSideMenu,
2559
- zi as FileUpload,
2560
- en as Filterlist,
2561
- Bi as Header,
2346
+ Si as Accordion,
2347
+ qi as AccordionItem,
2348
+ Wi as Actionbar,
2349
+ Gi as AddressLookup,
2350
+ Bi as AppliedFilters,
2351
+ Ei as Banner,
2352
+ Ti as Card,
2353
+ Hi as Carousel,
2354
+ Yi as CollapsibleSideMenu,
2355
+ $i as FileUpload,
2356
+ Ui as Filterlist,
2357
+ Mi as Header,
2562
2358
  st as Input,
2563
- Di as Logo,
2564
- Gi as Nav,
2565
- Zi as NoteFeed,
2566
- an as Notification,
2567
- on as Pagination,
2568
- Wi as PropertySearchbar,
2569
- Yi as Snapshot,
2570
- Xi as Step,
2571
- Ki as Stepper,
2572
- Qi as Tab,
2359
+ Li as Logo,
2360
+ Ri as Nav,
2361
+ Oi as NoteFeed,
2362
+ Vi as Notification,
2363
+ Ki as Pagination,
2364
+ Di as PropertySearchbar,
2365
+ zi as Snapshot,
2366
+ Fi as Step,
2367
+ Ni as Stepper,
2368
+ Ii as Tab,
2573
2369
  rt as Table,
2574
- Ji as Tabs,
2575
- Ui as Testimonial,
2576
- Vi as Timeline
2370
+ Pi as Tabs,
2371
+ ji as Testimonial,
2372
+ Ci as Timeline
2577
2373
  };