@iamproperty/components 5.6.1-beta4 → 5.6.1-beta6

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 (56) hide show
  1. package/assets/css/components/fileupload.css +1 -1
  2. package/assets/css/components/fileupload.css.map +1 -1
  3. package/assets/css/components/multiselect.css +1 -1
  4. package/assets/css/components/multiselect.css.map +1 -1
  5. package/assets/css/components/table.global.css +1 -1
  6. package/assets/css/components/table.global.css.map +1 -1
  7. package/assets/css/core.min.css +1 -1
  8. package/assets/css/core.min.css.map +1 -1
  9. package/assets/css/style.min.css +1 -1
  10. package/assets/css/style.min.css.map +1 -1
  11. package/assets/js/components/accordion/accordion.component.min.js +1 -1
  12. package/assets/js/components/actionbar/actionbar.component.min.js +3 -3
  13. package/assets/js/components/actionbar/actionbar.component.min.js.map +1 -1
  14. package/assets/js/components/address-lookup/address-lookup.component.min.js +1 -1
  15. package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
  16. package/assets/js/components/card/card.component.min.js +1 -1
  17. package/assets/js/components/carousel/carousel.component.min.js +1 -1
  18. package/assets/js/components/collapsible-side/collapsible-side.component.min.js +1 -1
  19. package/assets/js/components/fileupload/fileupload.component.js +1 -1
  20. package/assets/js/components/fileupload/fileupload.component.min.js +6 -6
  21. package/assets/js/components/fileupload/fileupload.component.min.js.map +1 -1
  22. package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
  23. package/assets/js/components/header/header.component.min.js +1 -1
  24. package/assets/js/components/inline-edit/inline-edit.component.min.js +1 -1
  25. package/assets/js/components/marketing/marketing.component.min.js +1 -1
  26. package/assets/js/components/multiselect/multiselect.component.js +2 -1
  27. package/assets/js/components/multiselect/multiselect.component.min.js +4 -4
  28. package/assets/js/components/multiselect/multiselect.component.min.js.map +1 -1
  29. package/assets/js/components/nav/nav.component.min.js +1 -1
  30. package/assets/js/components/notification/notification.component.min.js +1 -1
  31. package/assets/js/components/pagination/pagination.component.min.js +1 -1
  32. package/assets/js/components/search/search.component.min.js +1 -1
  33. package/assets/js/components/slider/slider.component.min.js +1 -1
  34. package/assets/js/components/table/table.component.min.js +5 -5
  35. package/assets/js/components/table/table.component.min.js.map +1 -1
  36. package/assets/js/components/tabs/tabs.component.min.js +1 -1
  37. package/assets/js/dynamic.min.js +2 -2
  38. package/assets/js/dynamic.min.js.map +1 -1
  39. package/assets/js/modules/dialogs.js +1 -1
  40. package/assets/js/modules/fileupload.js +2 -9
  41. package/assets/js/scripts.bundle.js +2 -2
  42. package/assets/js/scripts.bundle.js.map +1 -1
  43. package/assets/js/scripts.bundle.min.js +2 -2
  44. package/assets/js/scripts.bundle.min.js.map +1 -1
  45. package/assets/sass/_components.scss +40 -0
  46. package/assets/sass/components/fileupload.scss +1 -0
  47. package/assets/sass/components/multiselect.scss +5 -1
  48. package/assets/sass/components/table.global.scss +0 -17
  49. package/assets/ts/components/fileupload/fileupload.component.ts +1 -1
  50. package/assets/ts/components/multiselect/multiselect.component.ts +2 -1
  51. package/assets/ts/modules/dialogs.ts +1 -1
  52. package/assets/ts/modules/fileupload.ts +3 -14
  53. package/dist/components.es.js +508 -578
  54. package/dist/components.umd.js +54 -50
  55. package/package.json +1 -1
  56. package/src/components/FileUpload/FileUpload.vue +29 -6
@@ -1,10 +1,10 @@
1
- import { openBlock as l, createElementBlock as r, normalizeClass as g, createElementVNode as d, toDisplayString as _, createCommentVNode as h, renderSlot as m, Fragment as k, renderList as L, withDirectives as T, mergeProps as A, vModelDynamic as E, vModelText as I, vModelSelect as D, createTextVNode as F, resolveComponent as H, createVNode as $, withModifiers as V } from "vue";
2
- const p = (t, s) => {
1
+ import { openBlock as o, createElementBlock as l, normalizeClass as b, createElementVNode as d, toDisplayString as y, createCommentVNode as p, renderSlot as u, Fragment as $, renderList as k, withDirectives as x, mergeProps as w, vModelDynamic as S, vModelText as D, vModelSelect as V, ref as F, onMounted as z, createTextVNode as B, resolveComponent as q, createVNode as v, withModifiers as O } from "vue";
2
+ const m = (t, a) => {
3
3
  const e = t.__vccOpts || t;
4
- for (const [n, o] of s)
5
- e[n] = o;
4
+ for (const [i, r] of a)
5
+ e[i] = r;
6
6
  return e;
7
- }, B = {
7
+ }, U = {
8
8
  name: "Logo",
9
9
  props: {
10
10
  id: {
@@ -29,26 +29,26 @@ const p = (t, s) => {
29
29
  return "brand brand--" + this.id;
30
30
  }
31
31
  }
32
- }, O = ["xlink:href"], U = ["innerHTML"];
33
- function W(t, s, e, n, o, a) {
34
- return l(), r("div", {
35
- class: g(a.className)
32
+ }, W = ["xlink:href"], K = ["innerHTML"];
33
+ function G(t, a, e, i, r, s) {
34
+ return o(), l("div", {
35
+ class: b(s.className)
36
36
  }, [
37
- (l(), r("svg", null, [
38
- d("title", null, "iam " + _(e.id), 1),
37
+ (o(), l("svg", null, [
38
+ d("title", null, "iam " + y(e.id), 1),
39
39
  d("use", {
40
- "xlink:href": e.path + a.src
41
- }, null, 8, O)
40
+ "xlink:href": e.path + s.src
41
+ }, null, 8, W)
42
42
  ])),
43
- e.desc ? (l(), r("span", {
43
+ e.desc ? (o(), l("span", {
44
44
  key: 0,
45
45
  innerHTML: e.desc
46
- }, null, 8, U)) : h("", !0)
46
+ }, null, 8, K)) : p("", !0)
47
47
  ], 2);
48
48
  }
49
- const Ps = /* @__PURE__ */ p(B, [["render", W]]), K = (t) => t.charAt(0).toUpperCase() + t.slice(1), G = (t) => t.replace(/_/g, " "), Q = (t) => t.replace(/ /g, "_"), Y = function(t) {
50
- return t = t.toLowerCase(), t = Q(t), t = t.replace(/\W/g, ""), t;
51
- }, J = {
49
+ const Pa = /* @__PURE__ */ m(U, [["render", G]]), Q = (t) => t.charAt(0).toUpperCase() + t.slice(1), Y = (t) => t.replace(/_/g, " "), J = (t) => t.replace(/ /g, "_"), X = function(t) {
50
+ return t = t.toLowerCase(), t = J(t), t = t.replace(/\W/g, ""), t;
51
+ }, Z = {
52
52
  name: "Table",
53
53
  props: {
54
54
  items: {
@@ -62,7 +62,7 @@ const Ps = /* @__PURE__ */ p(B, [["render", W]]), K = (t) => t.charAt(0).toUpper
62
62
  },
63
63
  computed: {
64
64
  cellHeading() {
65
- return (t) => `${K(G(t))}`;
65
+ return (t) => `${Q(Y(t))}`;
66
66
  }
67
67
  },
68
68
  created() {
@@ -71,7 +71,7 @@ const Ps = /* @__PURE__ */ p(B, [["render", W]]), K = (t) => t.charAt(0).toUpper
71
71
  window.customElements.get("iam-table") || window.customElements.define("iam-table", t.default);
72
72
  }).catch((t) => {
73
73
  console.log(t.message);
74
- }), Promise.resolve().then(() => xs).then((t) => {
74
+ }), Promise.resolve().then(() => La).then((t) => {
75
75
  window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination", t.default);
76
76
  }).catch((t) => {
77
77
  console.log(t.message);
@@ -80,33 +80,33 @@ const Ps = /* @__PURE__ */ p(B, [["render", W]]), K = (t) => t.charAt(0).toUpper
80
80
  },
81
81
  updated() {
82
82
  }
83
- }, X = { key: 0 }, Z = { key: 0 }, ee = ["data-row-id"], te = ["innerHTML"];
84
- function se(t, s, e, n, o, a) {
85
- return l(), r("iam-table", null, [
86
- m(t.$slots, "before"),
87
- e.fields ? (l(), r("table", X, [
83
+ }, ee = { key: 0 }, te = { key: 0 }, ae = ["data-row-id"], se = ["innerHTML"];
84
+ function ie(t, a, e, i, r, s) {
85
+ return o(), l("iam-table", null, [
86
+ u(t.$slots, "before"),
87
+ e.fields ? (o(), l("table", ee, [
88
88
  d("thead", null, [
89
89
  d("tr", null, [
90
- (l(!0), r(k, null, L(e.fields, (i) => (l(), r("th", {
91
- key: i.key
92
- }, _(a.cellHeading(i.key)), 1))), 128))
90
+ (o(!0), l($, null, k(e.fields, (n) => (o(), l("th", {
91
+ key: n.key
92
+ }, y(s.cellHeading(n.key)), 1))), 128))
93
93
  ])
94
94
  ]),
95
- e.items ? (l(), r("tbody", Z, [
96
- (l(!0), r(k, null, L(e.items, (i, c) => (l(), r("tr", {
95
+ e.items ? (o(), l("tbody", te, [
96
+ (o(!0), l($, null, k(e.items, (n, c) => (o(), l("tr", {
97
97
  key: c,
98
- "data-row-id": i.rowid
98
+ "data-row-id": n.rowid
99
99
  }, [
100
- (l(!0), r(k, null, L(Object.fromEntries(Object.entries(i).filter(([u]) => u !== "rowid")), (u, b) => (l(), r("td", {
101
- key: b,
102
- innerHTML: u
103
- }, null, 8, te))), 128))
104
- ], 8, ee))), 128))
105
- ])) : h("", !0)
106
- ])) : m(t.$slots, "default", { key: 1 })
100
+ (o(!0), l($, null, k(Object.fromEntries(Object.entries(n).filter(([h]) => h !== "rowid")), (h, _) => (o(), l("td", {
101
+ key: _,
102
+ innerHTML: h
103
+ }, null, 8, se))), 128))
104
+ ], 8, ae))), 128))
105
+ ])) : p("", !0)
106
+ ])) : u(t.$slots, "default", { key: 1 })
107
107
  ]);
108
108
  }
109
- const N = /* @__PURE__ */ p(J, [["render", se]]), ae = {
109
+ const C = /* @__PURE__ */ m(Z, [["render", ie]]), ne = {
110
110
  name: "Input",
111
111
  props: {
112
112
  value: {
@@ -281,8 +281,8 @@ const N = /* @__PURE__ */ p(J, [["render", se]]), ae = {
281
281
  this.$nextTick(function() {
282
282
  let t = this.$refs.wrapper;
283
283
  if (t.parentNode && t.parentNode.classList.contains("form-check") || t.classList.length == 0) {
284
- const s = document.createDocumentFragment();
285
- Array.from(t.childNodes).forEach((e) => s.appendChild(e)), t.parentNode.insertBefore(s, t), t.parentNode.removeChild(t);
284
+ const a = document.createDocumentFragment();
285
+ Array.from(t.childNodes).forEach((e) => a.appendChild(e)), t.parentNode.insertBefore(a, t), t.parentNode.removeChild(t);
286
286
  }
287
287
  });
288
288
  },
@@ -294,237 +294,152 @@ const N = /* @__PURE__ */ p(J, [["render", se]]), ae = {
294
294
  this.$emit("bus");
295
295
  }
296
296
  }
297
- }, ie = ["for", "innerHTML", "title"], ne = ["innerHTML"], oe = ["innerHTML"], le = ["type", "name", "id", "pattern", "list"], re = ["type", "name", "id", "pattern"], ce = {
297
+ }, oe = ["for", "innerHTML", "title"], le = ["innerHTML"], re = ["innerHTML"], de = ["type", "name", "id", "pattern", "list"], ce = ["type", "name", "id", "pattern"], ue = {
298
298
  key: 5,
299
299
  class: "input-group"
300
- }, de = ["type", "name", "id", "pattern", "list"], ue = { class: "input-group-text border-0 col-2 col-sm-1 px-0" }, me = {
300
+ }, me = ["type", "name", "id", "pattern", "list"], pe = { class: "input-group-text border-0 col-2 col-sm-1 px-0" }, he = {
301
301
  key: 6,
302
302
  class: "input-group"
303
- }, pe = ["type", "name", "id", "pattern", "list"], he = { class: "input-group-text flex-fill" }, fe = ["type", "name", "id", "pattern"], be = ["value"], ye = ["type", "name", "id"], ge = ["for", "innerHTML"], _e = ["type", "name", "id"], ve = ["for", "innerHTML"], we = ["innerHTML"], $e = ["id"], Ae = ["value"];
304
- function ke(t, s, e, n, o, a) {
305
- return l(), r("div", {
306
- class: g(a.wrapperClass()),
303
+ }, fe = ["type", "name", "id", "pattern", "list"], be = { class: "input-group-text flex-fill" }, ye = ["type", "name", "id", "pattern"], _e = ["value"], ge = ["type", "name", "id"], ve = ["for", "innerHTML"], we = ["type", "name", "id"], $e = ["for", "innerHTML"], ke = ["innerHTML"], Ae = ["id"], xe = ["value"];
304
+ function Le(t, a, e, i, r, s) {
305
+ return o(), l("div", {
306
+ class: b(s.wrapperClass()),
307
307
  ref: "wrapper"
308
308
  }, [
309
- a.needsLabel() ? (l(), r("label", {
309
+ s.needsLabel() ? (o(), l("label", {
310
310
  key: 0,
311
- class: g(`form-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
311
+ class: b(`form-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
312
312
  for: e.id,
313
- innerHTML: a.displayLabel(),
313
+ innerHTML: s.displayLabel(),
314
314
  title: e.title
315
- }, null, 10, ie)) : h("", !0),
316
- e.prefix ? (l(), r("span", {
315
+ }, null, 10, oe)) : p("", !0),
316
+ e.prefix ? (o(), l("span", {
317
317
  key: 1,
318
- class: g(`prefix ${this.prefixClass} ${e.size ? `prefix-${e.size}` : ""}`),
318
+ class: b(`prefix ${this.prefixClass} ${e.size ? `prefix-${e.size}` : ""}`),
319
319
  innerHTML: e.prefix,
320
320
  role: "presentation"
321
- }, null, 10, ne)) : h("", !0),
322
- e.suffix ? (l(), r("span", {
321
+ }, null, 10, le)) : p("", !0),
322
+ e.suffix ? (o(), l("span", {
323
323
  key: 2,
324
- class: g(`suffix ${this.suffixClass} ${e.size ? `suffix-${e.size}` : ""}`),
324
+ class: b(`suffix ${this.suffixClass} ${e.size ? `suffix-${e.size}` : ""}`),
325
325
  innerHTML: e.suffix,
326
326
  role: "presentation"
327
- }, null, 10, oe)) : h("", !0),
328
- a.isInput() ? T((l(), r("input", A({
327
+ }, null, 10, re)) : p("", !0),
328
+ s.isInput() ? x((o(), l("input", w({
329
329
  key: 3,
330
- "onUpdate:modelValue": s[0] || (s[0] = (i) => a.inputVal = i),
330
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => s.inputVal = n),
331
331
  class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
332
332
  type: e.type,
333
333
  name: e.name ? e.name : e.id,
334
334
  id: e.id,
335
- pattern: a.needPattern(),
336
- list: a.hasOptions()
335
+ pattern: s.needPattern(),
336
+ list: s.hasOptions()
337
337
  }, t.$attrs, {
338
- onKeyup: s[1] || (s[1] = (...i) => a.inputKeyup && a.inputKeyup(...i))
339
- }), null, 16, le)), [
340
- [E, a.inputVal]
341
- ]) : h("", !0),
342
- e.type == "textarea" ? T((l(), r("textarea", A({
338
+ onKeyup: a[1] || (a[1] = (...n) => s.inputKeyup && s.inputKeyup(...n))
339
+ }), null, 16, de)), [
340
+ [S, s.inputVal]
341
+ ]) : p("", !0),
342
+ e.type == "textarea" ? x((o(), l("textarea", w({
343
343
  key: 4,
344
- "onUpdate:modelValue": s[2] || (s[2] = (i) => a.inputVal = i),
344
+ "onUpdate:modelValue": a[2] || (a[2] = (n) => s.inputVal = n),
345
345
  class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
346
346
  type: e.type,
347
347
  name: e.name ? e.name : e.id,
348
348
  id: e.id,
349
- pattern: a.needPattern()
350
- }, t.$attrs), null, 16, re)), [
351
- [I, a.inputVal]
352
- ]) : h("", !0),
353
- e.type == "range" ? (l(), r("div", ce, [
354
- T(d("input", A({
355
- "onUpdate:modelValue": s[3] || (s[3] = (i) => a.inputVal = i),
349
+ pattern: s.needPattern()
350
+ }, t.$attrs), null, 16, ce)), [
351
+ [D, s.inputVal]
352
+ ]) : p("", !0),
353
+ e.type == "range" ? (o(), l("div", ue, [
354
+ x(d("input", w({
355
+ "onUpdate:modelValue": a[3] || (a[3] = (n) => s.inputVal = n),
356
356
  class: `form-range${e.inputclass ? ` ${e.inputclass}` : ""}`,
357
357
  type: e.type,
358
358
  name: e.name ? e.name : e.id,
359
359
  id: e.id,
360
- pattern: a.needPattern(),
361
- list: a.hasOptions()
362
- }, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, de), [
363
- [E, a.inputVal]
360
+ pattern: s.needPattern(),
361
+ list: s.hasOptions()
362
+ }, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, me), [
363
+ [S, s.inputVal]
364
364
  ]),
365
- d("output", ue, _(e.value), 1)
366
- ])) : h("", !0),
367
- e.type == "color" ? (l(), r("div", me, [
368
- T(d("input", A({
369
- "onUpdate:modelValue": s[4] || (s[4] = (i) => a.inputVal = i),
365
+ d("output", pe, y(e.value), 1)
366
+ ])) : p("", !0),
367
+ e.type == "color" ? (o(), l("div", he, [
368
+ x(d("input", w({
369
+ "onUpdate:modelValue": a[4] || (a[4] = (n) => s.inputVal = n),
370
370
  class: `form-control form-control-color${e.inputclass ? ` ${e.inputclass}` : ""}`,
371
371
  type: e.type,
372
372
  name: e.name ? e.name : e.id,
373
373
  id: e.id,
374
- pattern: a.needPattern(),
375
- list: a.hasOptions()
376
- }, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, pe), [
377
- [E, a.inputVal]
374
+ pattern: s.needPattern(),
375
+ list: s.hasOptions()
376
+ }, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, fe), [
377
+ [S, s.inputVal]
378
378
  ]),
379
- d("output", he, _(e.value ? t.vale : "#000000"), 1)
380
- ])) : h("", !0),
381
- e.type == "select" ? T((l(), r("select", A({
379
+ d("output", be, y(e.value ? t.vale : "#000000"), 1)
380
+ ])) : p("", !0),
381
+ e.type == "select" ? x((o(), l("select", w({
382
382
  key: 7,
383
- "onUpdate:modelValue": s[5] || (s[5] = (i) => a.inputVal = i),
383
+ "onUpdate:modelValue": a[5] || (a[5] = (n) => s.inputVal = n),
384
384
  class: `form-select${e.size ? ` form-select-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
385
385
  type: e.type,
386
386
  name: e.id,
387
387
  id: e.id,
388
- pattern: a.needPattern()
388
+ pattern: s.needPattern()
389
389
  }, t.$attrs), [
390
- (l(!0), r(k, null, L(e.options, (i, c) => (l(), r("option", {
390
+ (o(!0), l($, null, k(e.options, (n, c) => (o(), l("option", {
391
391
  key: c,
392
- value: i.value
393
- }, _(i.display ? i.display : i.value), 9, be))), 128))
394
- ], 16, fe)), [
395
- [D, a.inputVal]
396
- ]) : h("", !0),
397
- e.type == "checkbox" || e.type == "radio" ? (l(), r("input", A({
392
+ value: n.value
393
+ }, y(n.display ? n.display : n.value), 9, _e))), 128))
394
+ ], 16, ye)), [
395
+ [V, s.inputVal]
396
+ ]) : p("", !0),
397
+ e.type == "checkbox" || e.type == "radio" ? (o(), l("input", w({
398
398
  key: 8,
399
399
  class: "form-check-input",
400
400
  type: e.type,
401
401
  name: e.name ? e.name : e.id,
402
402
  id: e.id
403
- }, t.$attrs), null, 16, ye)) : h("", !0),
404
- e.type == "checkbox" || e.type == "radio" ? (l(), r("label", {
403
+ }, t.$attrs), null, 16, ge)) : p("", !0),
404
+ e.type == "checkbox" || e.type == "radio" ? (o(), l("label", {
405
405
  key: 9,
406
- class: g(`form-label form-check-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
406
+ class: b(`form-label form-check-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
407
407
  for: e.id,
408
408
  innerHTML: e.label
409
- }, null, 10, ge)) : h("", !0),
410
- e.type == "checkbox-btn" || e.type == "radio-btn" ? (l(), r("input", A({
409
+ }, null, 10, ve)) : p("", !0),
410
+ e.type == "checkbox-btn" || e.type == "radio-btn" ? (o(), l("input", w({
411
411
  key: 10,
412
412
  class: `btn-check${e.inputclass ? ` ${e.inputclass}` : ""}`,
413
413
  type: e.type.replace("-btn", ""),
414
414
  autocomplete: "off",
415
415
  name: e.name ? e.name : e.id,
416
416
  id: e.id
417
- }, t.$attrs), null, 16, _e)) : h("", !0),
418
- e.type == "checkbox-btn" || e.type == "radio-btn" ? (l(), r("label", {
417
+ }, t.$attrs), null, 16, we)) : p("", !0),
418
+ e.type == "checkbox-btn" || e.type == "radio-btn" ? (o(), l("label", {
419
419
  key: 11,
420
- class: g(`btn${e.labelclass ? ` ${e.labelclass}` : ""}`),
420
+ class: b(`btn${e.labelclass ? ` ${e.labelclass}` : ""}`),
421
421
  for: e.id,
422
422
  innerHTML: e.label,
423
- onClick: s[6] || (s[6] = (...i) => a.clickEvent && a.clickEvent(...i))
424
- }, null, 10, ve)) : h("", !0),
425
- m(t.$slots, "default"),
426
- e.errormsg ? (l(), r("span", {
423
+ onClick: a[6] || (a[6] = (...n) => s.clickEvent && s.clickEvent(...n))
424
+ }, null, 10, $e)) : p("", !0),
425
+ u(t.$slots, "default"),
426
+ e.errormsg ? (o(), l("span", {
427
427
  key: 12,
428
428
  class: "invalid-feedback mb-0",
429
429
  innerHTML: e.errormsg
430
- }, null, 8, we)) : h("", !0),
431
- a.allowDatalist() ? (l(), r("datalist", {
430
+ }, null, 8, ke)) : p("", !0),
431
+ s.allowDatalist() ? (o(), l("datalist", {
432
432
  key: 13,
433
433
  id: e.id + "-list"
434
434
  }, [
435
- (l(!0), r(k, null, L(e.options, (i, c) => (l(), r("option", {
435
+ (o(!0), l($, null, k(e.options, (n, c) => (o(), l("option", {
436
436
  key: c,
437
- value: i.value
438
- }, _(i.value), 9, Ae))), 128))
439
- ], 8, $e)) : h("", !0)
437
+ value: n.value
438
+ }, y(n.value), 9, xe))), 128))
439
+ ], 8, Ae)) : p("", !0)
440
440
  ], 2);
441
441
  }
442
- const R = /* @__PURE__ */ p(ae, [["render", ke]]);
443
- function Le(t, s) {
444
- const e = s.querySelector(".files"), n = s.querySelector(".drop-area"), o = t.querySelector("input"), a = t.hasAttribute("data-maxsize") ? t.getAttribute("data-maxsize") : 0, i = o.cloneNode();
445
- if (n.append(i), s.addEventListener("click", (c) => {
446
- c && c.target instanceof HTMLElement && c.target.closest(".btn-primary") && (c.target.closest(".btn-primary"), (o.hasAttribute("multiple") ? i : o).click());
447
- }), s.addEventListener("click", (c) => {
448
- if (c && c.target instanceof HTMLElement && c.target.closest(".files button")) {
449
- const u = new DataTransfer(), { files: b } = o, y = c.target.closest(".files button");
450
- for (let v = 0; v < b.length; v++) {
451
- const w = b[v];
452
- w.name != y.getAttribute("data-file") && u.items.add(w);
453
- }
454
- if (o.files = u.files, o.files.length == 0) {
455
- const v = new Event("empty");
456
- t.dispatchEvent(v);
457
- }
458
- const f = new Event("change");
459
- o.dispatchEvent(f);
460
- }
461
- }), i.addEventListener("change", (c) => {
462
- if (o.hasAttribute("multiple")) {
463
- const y = [...o.files, ...i.files];
464
- let f = [];
465
- const v = new DataTransfer();
466
- for (let w = 0; w < y.length; w++) {
467
- const S = y[w], q = S.size / 1e3;
468
- !f.includes(S.name) && (a == 0 || q < a) && v.items.add(S), f.push(S.name);
469
- }
470
- o.files = v.files;
471
- } else
472
- o.files = i.files;
473
- const u = new Event("change");
474
- o.dispatchEvent(u);
475
- const b = new Event("elementChange");
476
- t.dispatchEvent(b);
477
- }), i.addEventListener("dragenter", (c) => {
478
- i.classList.add("focus");
479
- }), i.addEventListener("dragleave", (c) => {
480
- i.classList.remove("focus");
481
- }), i.addEventListener("drop", (c) => {
482
- i.classList.remove("focus");
483
- }), o.addEventListener("change", (c) => {
484
- e.innerHTML = "";
485
- for (const u of o.files)
486
- e.innerHTML += `<span class="file">${u.name} <button data-file="${u.name}">Remove</button></span>`;
487
- }), t.hasAttribute("data-filename")) {
488
- let c = t.getAttribute("data-filename");
489
- c && (e.innerHTML += `<span class="file">${c} <button data-file="${c}">Remove</button></span>`);
490
- }
491
- s.addEventListener("click", (c) => {
492
- c && c.target instanceof HTMLElement && c.target.closest(".btn-primary") && (c.target.closest(".btn-primary"), (o.hasAttribute("multiple") ? i : o).click());
493
- });
494
- }
495
- window.dataLayer = window.dataLayer || [];
496
- window.dataLayer.push({
497
- event: "customElementRegistered",
498
- element: "fileupload"
499
- });
500
- class Se extends HTMLElement {
501
- constructor() {
502
- super(), this.attachShadow({ mode: "open" });
503
- const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, n = `@import "${s}/css/components/fileupload.css";`, o = document.createElement("template");
504
- o.innerHTML = `
505
- <style>
506
- @import "${e}";
507
- ${n}
508
- ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
509
- </style>
510
- <div class="file-upload">
511
- <span class="file-upload__title">Upload file</span>
512
- <p class="helper-text"><slot name="helper"></slot></p>
513
- <button class="btn btn-primary"><slot name="btn"></slot> Upload ${this.hasAttribute("data-filetype") ? this.getAttribute("data-filetype") : "file"}</button>
514
- <div class="drop-area"></div>
515
- <hr/>
516
- <slot></slot>
517
- <div class="files"><slot name="files"></slot></div>
518
- </div>
519
- `, this.shadowRoot.appendChild(o.content.cloneNode(!0));
520
- }
521
- connectedCallback() {
522
- this.innerHTML += '<i class="fa-regular fa-arrow-up-from-bracket me-2" aria-hidden="true" slot="btn"></i>';
523
- const s = this.shadowRoot.querySelector(".file-upload"), e = this.querySelector("input"), n = this.shadowRoot.querySelector(".helper-text");
524
- this.querySelector('[slot="helper"]') || (n.innerHTML = `${this.hasAttribute("data-maxsize") ? `Max file size is ${this.getAttribute("data-maxsize")}kb. ` : ""}${e.hasAttribute("accept") ? `Supported file types are ${e.getAttribute("accept")}` : ""}`), Le(this, s);
525
- }
526
- }
527
- const xe = {
442
+ const N = /* @__PURE__ */ m(ne, [["render", Le]]), Se = {
528
443
  name: "FileUpload",
529
444
  props: {
530
445
  maxfilesize: {
@@ -536,37 +451,52 @@ const xe = {
536
451
  required: !1
537
452
  }
538
453
  },
539
- mounted() {
454
+ created() {
540
455
  this.$nextTick(function() {
541
- window.customElements.get("iam-fileupload") || window.customElements.define("iam-fileupload", Se);
456
+ import("./fileupload.component.min-e0fe586a.mjs").then((t) => {
457
+ window.customElements.get("iam-fileupload") || window.customElements.define("iam-fileupload", t.default);
458
+ }).catch((t) => {
459
+ console.log(t.message);
460
+ });
542
461
  });
543
462
  }
544
- };
545
- function Te(t, s, e, n, o, a) {
546
- return l(), r("iam-fileupload", null, [
547
- m(t.$slots, "default")
548
- ]);
549
- }
550
- const zs = /* @__PURE__ */ p(xe, [["render", Te]]);
463
+ }, Ra = /* @__PURE__ */ Object.assign(Se, {
464
+ emits: ["elementChange", "empty"],
465
+ setup(t, { emit: a }) {
466
+ const e = F(null);
467
+ return z(() => {
468
+ e.value.addEventListener("elementChange", function(i) {
469
+ a("elementChange", i);
470
+ }), e.value.addEventListener("empty", function(i) {
471
+ a("empty", i);
472
+ });
473
+ }), (i, r) => (o(), l("iam-fileupload", {
474
+ ref_key: "$component",
475
+ ref: e
476
+ }, [
477
+ u(i.$slots, "default")
478
+ ], 512));
479
+ }
480
+ });
551
481
  const qe = {
552
482
  name: "Accordion",
553
483
  props: {},
554
484
  mounted() {
555
485
  this.$nextTick(function() {
556
- import("./accordion.component.min-66585476.mjs").then((t) => {
486
+ import("./accordion.component.min-04da6019.mjs").then((t) => {
557
487
  window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", t.default);
558
488
  }).catch((t) => {
559
489
  console.log(t.message);
560
490
  });
561
491
  });
562
492
  }
563
- }, Ee = { ref: "wrapper" };
564
- function He(t, s, e, n, o, a) {
565
- return l(), r("iam-accordion", Ee, [
566
- m(t.$slots, "default")
493
+ }, Te = { ref: "wrapper" };
494
+ function Ee(t, a, e, i, r, s) {
495
+ return o(), l("iam-accordion", Te, [
496
+ u(t.$slots, "default")
567
497
  ], 512);
568
498
  }
569
- const js = /* @__PURE__ */ p(qe, [["render", He]]), Me = {
499
+ const ja = /* @__PURE__ */ m(qe, [["render", Ee]]), He = {
570
500
  name: "AccordionItem",
571
501
  props: {
572
502
  title: {
@@ -593,7 +523,7 @@ const js = /* @__PURE__ */ p(qe, [["render", He]]), Me = {
593
523
  },
594
524
  computed: {
595
525
  createID() {
596
- return (t) => `${Y(t)}`;
526
+ return (t) => `${X(t)}`;
597
527
  }
598
528
  },
599
529
  data() {
@@ -601,22 +531,22 @@ const js = /* @__PURE__ */ p(qe, [["render", He]]), Me = {
601
531
  show: !this.lazy
602
532
  };
603
533
  }
604
- }, Ce = ["id"];
605
- function Ne(t, s, e, n, o, a) {
606
- return l(), r("details", {
607
- id: a.createID(e.title)
534
+ }, Me = ["id"];
535
+ function Ce(t, a, e, i, r, s) {
536
+ return o(), l("details", {
537
+ id: s.createID(e.title)
608
538
  }, [
609
539
  d("summary", null, [
610
- F(_(e.title), 1),
611
- e.badge ? (l(), r("span", {
540
+ B(y(e.title), 1),
541
+ e.badge ? (o(), l("span", {
612
542
  key: 0,
613
- class: g(`badge bg-${e.badgecolour}`)
614
- }, _(e.badge), 3)) : h("", !0)
543
+ class: b(`badge bg-${e.badgecolour}`)
544
+ }, y(e.badge), 3)) : p("", !0)
615
545
  ]),
616
- m(t.$slots, "default")
617
- ], 8, Ce);
546
+ u(t.$slots, "default")
547
+ ], 8, Me);
618
548
  }
619
- const Is = /* @__PURE__ */ p(Me, [["render", Ne]]), Re = {
549
+ const Ia = /* @__PURE__ */ m(He, [["render", Ce]]), Ne = {
620
550
  name: "Header",
621
551
  props: {
622
552
  title: {
@@ -633,32 +563,32 @@ const Is = /* @__PURE__ */ p(Me, [["render", Ne]]), Re = {
633
563
  required: !1
634
564
  }
635
565
  }
636
- }, Pe = { class: "container" }, ze = { class: "row" }, je = { class: "col-sm-6" }, Ie = { class: "pt-5 pb-3 px-4" }, De = { class: "col-sm-6 col-md-5 ms-auto" }, Fe = ["src"];
637
- function Ve(t, s, e, n, o, a) {
638
- return l(), r("div", Pe, [
566
+ }, Pe = { class: "container" }, Re = { class: "row" }, je = { class: "col-sm-6" }, Ie = { class: "pt-5 pb-3 px-4" }, De = { class: "col-sm-6 col-md-5 ms-auto" }, Ve = ["src"];
567
+ function Fe(t, a, e, i, r, s) {
568
+ return o(), l("div", Pe, [
639
569
  d("div", {
640
- class: g("bg-" + e.background + " mb-4")
570
+ class: b("bg-" + e.background + " mb-4")
641
571
  }, [
642
- d("div", ze, [
572
+ d("div", Re, [
643
573
  d("div", je, [
644
574
  d("div", Ie, [
645
- d("h2", null, _(e.title), 1),
646
- m(t.$slots, "default")
575
+ d("h2", null, y(e.title), 1),
576
+ u(t.$slots, "default")
647
577
  ])
648
578
  ]),
649
579
  d("div", De, [
650
- e.image ? (l(), r("img", {
580
+ e.image ? (o(), l("img", {
651
581
  key: 0,
652
582
  src: e.image,
653
583
  alt: "",
654
584
  class: "h-100 w-100 object-cover"
655
- }, null, 8, Fe)) : h("", !0)
585
+ }, null, 8, Ve)) : p("", !0)
656
586
  ])
657
587
  ])
658
588
  ], 2)
659
589
  ]);
660
590
  }
661
- const Ds = /* @__PURE__ */ p(Re, [["render", Ve]]), Be = {
591
+ const Da = /* @__PURE__ */ m(Ne, [["render", Fe]]), ze = {
662
592
  name: "Card",
663
593
  created() {
664
594
  this.$nextTick(function() {
@@ -670,12 +600,12 @@ const Ds = /* @__PURE__ */ p(Re, [["render", Ve]]), Be = {
670
600
  });
671
601
  }
672
602
  };
673
- function Oe(t, s, e, n, o, a) {
674
- return l(), r("iam-card", null, [
675
- m(t.$slots, "default")
603
+ function Be(t, a, e, i, r, s) {
604
+ return o(), l("iam-card", null, [
605
+ u(t.$slots, "default")
676
606
  ]);
677
607
  }
678
- const Fs = /* @__PURE__ */ p(Be, [["render", Oe]]), Ue = {
608
+ const Va = /* @__PURE__ */ m(ze, [["render", Be]]), Oe = {
679
609
  name: "Header",
680
610
  props: {
681
611
  title: {
@@ -689,7 +619,7 @@ const Fs = /* @__PURE__ */ p(Be, [["render", Oe]]), Ue = {
689
619
  },
690
620
  mounted() {
691
621
  this.$nextTick(function() {
692
- import("./carousel.component.min-26dac62b.mjs").then((t) => {
622
+ import("./carousel.component.min-594075ef.mjs").then((t) => {
693
623
  window.customElements.get("iam-carousel") || window.customElements.define("iam-carousel", t.default);
694
624
  }).catch((t) => {
695
625
  console.log(t.message);
@@ -697,12 +627,12 @@ const Fs = /* @__PURE__ */ p(Be, [["render", Oe]]), Ue = {
697
627
  });
698
628
  }
699
629
  };
700
- function We(t, s, e, n, o, a) {
701
- return l(), r("iam-carousel", null, [
702
- m(t.$slots, "default")
630
+ function Ue(t, a, e, i, r, s) {
631
+ return o(), l("iam-carousel", null, [
632
+ u(t.$slots, "default")
703
633
  ]);
704
634
  }
705
- const Vs = /* @__PURE__ */ p(Ue, [["render", We]]), Ke = {
635
+ const Fa = /* @__PURE__ */ m(Oe, [["render", Ue]]), We = {
706
636
  name: "Header",
707
637
  props: {
708
638
  title: {
@@ -716,54 +646,54 @@ const Vs = /* @__PURE__ */ p(Ue, [["render", We]]), Ke = {
716
646
  },
717
647
  mounted() {
718
648
  this.$nextTick(function() {
719
- import("./header.component.min-771b9f3e.mjs").then((t) => {
649
+ import("./header.component.min-64220aeb.mjs").then((t) => {
720
650
  window.customElements.get("iam-header") || window.customElements.define("iam-header", t.default);
721
651
  }).catch((t) => {
722
652
  console.log(t.message);
723
653
  });
724
654
  });
725
655
  }
726
- }, Ge = ["image"], Qe = ["innerHTML"];
727
- function Ye(t, s, e, n, o, a) {
728
- return l(), r("iam-header", { image: e.image }, [
729
- m(t.$slots, "breadcrumb"),
730
- e.title ? (l(), r("h1", {
656
+ }, Ke = ["image"], Ge = ["innerHTML"];
657
+ function Qe(t, a, e, i, r, s) {
658
+ return o(), l("iam-header", { image: e.image }, [
659
+ u(t.$slots, "breadcrumb"),
660
+ e.title ? (o(), l("h1", {
731
661
  key: 0,
732
662
  innerHTML: e.title
733
- }, null, 8, Qe)) : h("", !0),
734
- m(t.$slots, "default")
735
- ], 8, Ge);
663
+ }, null, 8, Ge)) : p("", !0),
664
+ u(t.$slots, "default")
665
+ ], 8, Ke);
736
666
  }
737
- const Bs = /* @__PURE__ */ p(Ke, [["render", Ye]]);
738
- function Je(t) {
739
- var s;
740
- const e = t.querySelector(".testimonial__images"), n = e.querySelectorAll("img").length;
741
- if (n == 1)
667
+ const za = /* @__PURE__ */ m(We, [["render", Qe]]);
668
+ function Ye(t) {
669
+ var a;
670
+ const e = t.querySelector(".testimonial__images"), i = e.querySelectorAll("img").length;
671
+ if (i == 1)
742
672
  return !1;
743
673
  t.classList.add("testimonial--multi");
744
- const o = function(a) {
745
- const i = t.querySelector(".btn-next"), c = t.querySelector(".btn-prev");
746
- i.setAttribute("data-go", a + 1), c.setAttribute("data-go", a - 1), i.removeAttribute("disabled"), c.removeAttribute("disabled"), a == 1 ? c.setAttribute("disabled", !0) : a == n && i.setAttribute("disabled", !0);
674
+ const r = function(s) {
675
+ const n = t.querySelector(".btn-next"), c = t.querySelector(".btn-prev");
676
+ n.setAttribute("data-go", s + 1), c.setAttribute("data-go", s - 1), n.removeAttribute("disabled"), c.removeAttribute("disabled"), s == 1 ? c.setAttribute("disabled", !0) : s == i && n.setAttribute("disabled", !0);
747
677
  };
748
- e.addEventListener("scroll", function(a) {
749
- clearTimeout(s), s = setTimeout(function() {
750
- let i = e.scrollWidth, c = e.scrollHeight, u = e.scrollLeft, b = e.scrollTop, y = Math.round(u / i * n) + 1;
751
- u == 0 && b != 0 && (y = Math.round(b / c * n) + 1), t.setAttribute("data-show", y), o(y);
678
+ e.addEventListener("scroll", function(s) {
679
+ clearTimeout(a), a = setTimeout(function() {
680
+ let n = e.scrollWidth, c = e.scrollHeight, h = e.scrollLeft, _ = e.scrollTop, g = Math.round(h / n * i) + 1;
681
+ h == 0 && _ != 0 && (g = Math.round(_ / c * i) + 1), t.setAttribute("data-show", g), r(g);
752
682
  }, 300);
753
- }, !1), t.addEventListener("click", function(a) {
754
- for (var i = a.target; i && i != this; i = i.parentNode)
755
- if (i.matches("[data-go]")) {
756
- let c = parseInt(i.getAttribute("data-go")), u = 0, b = 0, y = e.scrollWidth, f = e.scrollHeight;
757
- y > f ? b = Math.floor(y * ((c - 1) / n)) : u = Math.floor(f * ((c - 1) / n)), e.scroll({
758
- top: u,
759
- left: b,
683
+ }, !1), t.addEventListener("click", function(s) {
684
+ for (var n = s.target; n && n != this; n = n.parentNode)
685
+ if (n.matches("[data-go]")) {
686
+ let c = parseInt(n.getAttribute("data-go")), h = 0, _ = 0, g = e.scrollWidth, f = e.scrollHeight;
687
+ g > f ? _ = Math.floor(g * ((c - 1) / i)) : h = Math.floor(f * ((c - 1) / i)), e.scroll({
688
+ top: h,
689
+ left: _,
760
690
  behavior: "smooth"
761
691
  });
762
692
  break;
763
693
  }
764
694
  }, !1);
765
695
  }
766
- const Xe = {
696
+ const Je = {
767
697
  name: "Testimonial",
768
698
  props: {
769
699
  items: {
@@ -777,13 +707,13 @@ const Xe = {
777
707
  }
778
708
  },
779
709
  mounted() {
780
- Je(this.$refs.wrapper);
710
+ Ye(this.$refs.wrapper);
781
711
  }
782
- }, Ze = {
712
+ }, Xe = {
783
713
  class: "container testimonial mb-5",
784
714
  "data-show": "1",
785
715
  ref: "wrapper"
786
- }, et = { class: "row" }, tt = { class: "col-md-5 position-relative" }, st = { class: "testimonial__images" }, at = ["src"], it = /* @__PURE__ */ d("div", { class: "testimonial__controls" }, [
716
+ }, Ze = { class: "row" }, et = { class: "col-md-5 position-relative" }, tt = { class: "testimonial__images" }, at = ["src"], st = /* @__PURE__ */ d("div", { class: "testimonial__controls" }, [
787
717
  /* @__PURE__ */ d("button", {
788
718
  "data-go": "0",
789
719
  disabled: "",
@@ -793,50 +723,50 @@ const Xe = {
793
723
  "data-go": "2",
794
724
  class: "btn-next"
795
725
  }, "Next")
796
- ], -1), nt = { class: "col-md-7" }, ot = /* @__PURE__ */ d("h2", null, "What our customers think…", -1), lt = { class: "testimonial__content" }, rt = ["innerHTML"], ct = ["innerHTML"], dt = { class: "testimonial__after" }, ut = /* @__PURE__ */ d("span", { class: "circle circle--dots d-none d-md-block" }, null, -1);
797
- function mt(t, s, e, n, o, a) {
798
- return l(), r("div", Ze, [
726
+ ], -1), it = { class: "col-md-7" }, nt = /* @__PURE__ */ d("h2", null, "What our customers think…", -1), ot = { class: "testimonial__content" }, lt = ["innerHTML"], rt = ["innerHTML"], dt = { class: "testimonial__after" }, ct = /* @__PURE__ */ d("span", { class: "circle circle--dots d-none d-md-block" }, null, -1);
727
+ function ut(t, a, e, i, r, s) {
728
+ return o(), l("div", Xe, [
799
729
  d("div", {
800
- class: g("bg-" + e.background)
730
+ class: b("bg-" + e.background)
801
731
  }, [
802
- d("div", et, [
803
- d("div", tt, [
804
- d("div", st, [
805
- (l(!0), r(k, null, L(e.items, (i, c) => (l(), r("img", {
732
+ d("div", Ze, [
733
+ d("div", et, [
734
+ d("div", tt, [
735
+ (o(!0), l($, null, k(e.items, (n, c) => (o(), l("img", {
806
736
  key: c,
807
- src: i.image ? i.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
737
+ src: n.image ? n.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
808
738
  alt: "",
809
- class: g("h-100 w-100 object-cover" + (i.image ? "" : " opacity-0"))
739
+ class: b("h-100 w-100 object-cover" + (n.image ? "" : " opacity-0"))
810
740
  }, null, 10, at))), 128))
811
741
  ]),
812
- it
742
+ st
813
743
  ]),
814
- d("div", nt, [
815
- ot,
816
- d("div", lt, [
817
- (l(!0), r(k, null, L(e.items, (i, c) => (l(), r("blockquote", {
744
+ d("div", it, [
745
+ nt,
746
+ d("div", ot, [
747
+ (o(!0), l($, null, k(e.items, (n, c) => (o(), l("blockquote", {
818
748
  key: c,
819
- class: g(i.class)
749
+ class: b(n.class)
820
750
  }, [
821
751
  d("div", {
822
- innerHTML: i.quote
823
- }, null, 8, rt),
752
+ innerHTML: n.quote
753
+ }, null, 8, lt),
824
754
  d("cite", {
825
- innerHTML: i.cite
826
- }, null, 8, ct)
755
+ innerHTML: n.cite
756
+ }, null, 8, rt)
827
757
  ], 2))), 128))
828
758
  ]),
829
759
  d("div", dt, [
830
- m(t.$slots, "default")
760
+ u(t.$slots, "default")
831
761
  ])
832
762
  ])
833
763
  ]),
834
- ut
764
+ ct
835
765
  ], 2)
836
766
  ], 512);
837
767
  }
838
- const Os = /* @__PURE__ */ p(Xe, [["render", mt]]);
839
- const pt = {
768
+ const Ba = /* @__PURE__ */ m(Je, [["render", ut]]);
769
+ const mt = {
840
770
  name: "Timeline",
841
771
  props: {
842
772
  image: {
@@ -844,23 +774,23 @@ const pt = {
844
774
  required: !1
845
775
  }
846
776
  }
847
- }, ht = { class: "timeline" }, ft = { class: "timeline__content" }, bt = ["src"];
848
- function yt(t, s, e, n, o, a) {
849
- return l(), r("div", ht, [
850
- d("div", ft, [
851
- m(t.$slots, "default")
777
+ }, pt = { class: "timeline" }, ht = { class: "timeline__content" }, ft = ["src"];
778
+ function bt(t, a, e, i, r, s) {
779
+ return o(), l("div", pt, [
780
+ d("div", ht, [
781
+ u(t.$slots, "default")
852
782
  ]),
853
- e.image ? (l(), r("img", {
783
+ e.image ? (o(), l("img", {
854
784
  key: 0,
855
785
  src: e.image,
856
786
  alt: ""
857
- }, null, 8, bt)) : h("", !0)
787
+ }, null, 8, ft)) : p("", !0)
858
788
  ]);
859
789
  }
860
- const Us = /* @__PURE__ */ p(pt, [["render", yt]]);
861
- const gt = {
790
+ const Oa = /* @__PURE__ */ m(mt, [["render", bt]]);
791
+ const yt = {
862
792
  components: {
863
- Input: R
793
+ Input: N
864
794
  },
865
795
  name: "PropertySearchbar",
866
796
  props: {
@@ -1007,43 +937,43 @@ const gt = {
1007
937
  }, _t = {
1008
938
  class: "container",
1009
939
  ref: "wrapper"
1010
- }, vt = { class: "property-searchbar" }, wt = ["action", "method"], $t = { class: "col-12 col-md-3" }, At = { class: "col-12 col-md" }, kt = /* @__PURE__ */ d("span", { class: "form-label d-none d-md-block" }, "Price range", -1), Lt = {
940
+ }, gt = { class: "property-searchbar" }, vt = ["action", "method"], wt = { class: "col-12 col-md-3" }, $t = { class: "col-12 col-md" }, kt = /* @__PURE__ */ d("span", { class: "form-label d-none d-md-block" }, "Price range", -1), At = {
1011
941
  class: "row",
1012
942
  "data-input-range": ""
1013
- }, St = { class: "col-12 col-md" }, xt = /* @__PURE__ */ d("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1), Tt = {
943
+ }, xt = { class: "col-12 col-md" }, Lt = /* @__PURE__ */ d("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1), St = {
1014
944
  class: "row",
1015
945
  "data-input-range": ""
1016
- }, qt = { class: "col-12 col-md-2" }, Et = /* @__PURE__ */ d("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
946
+ }, qt = { class: "col-12 col-md-2" }, Tt = /* @__PURE__ */ d("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
1017
947
  /* @__PURE__ */ d("button", {
1018
948
  class: "btn w-100 me-0",
1019
949
  type: "submit",
1020
950
  value: "submit"
1021
951
  }, "Search")
1022
952
  ], -1);
1023
- function Ht(t, s, e, n, o, a) {
1024
- const i = H("Input");
1025
- return l(), r("div", _t, [
1026
- m(t.$slots, "default"),
1027
- d("div", vt, [
953
+ function Et(t, a, e, i, r, s) {
954
+ const n = q("Input");
955
+ return o(), l("div", _t, [
956
+ u(t.$slots, "default"),
957
+ d("div", gt, [
1028
958
  d("form", {
1029
959
  class: "row",
1030
960
  action: e.formaction,
1031
961
  method: e.formmethod
1032
962
  }, [
1033
- d("fieldset", $t, [
1034
- $(i, {
963
+ d("fieldset", wt, [
964
+ v(n, {
1035
965
  inputClass: "input--locations",
1036
- modelValue: a.locationSet,
1037
- "onUpdate:modelValue": s[0] || (s[0] = (c) => a.locationSet = c),
966
+ modelValue: s.locationSet,
967
+ "onUpdate:modelValue": a[0] || (a[0] = (c) => s.locationSet = c),
1038
968
  label: "Location",
1039
969
  id: "location",
1040
- options: a.locationsList(),
970
+ options: s.locationsList(),
1041
971
  required: "",
1042
972
  placeholder: "i.e. Newcastle or NE1",
1043
- onKeyupEvent: s[1] || (s[1] = (c) => a.locationKeyup(...arguments)),
973
+ onKeyupEvent: a[1] || (a[1] = (c) => s.locationKeyup(...arguments)),
1044
974
  ref: "search"
1045
975
  }, null, 8, ["modelValue", "options"]),
1046
- $(i, {
976
+ v(n, {
1047
977
  class: "select--miles",
1048
978
  label: "Miles",
1049
979
  id: "miles",
@@ -1051,10 +981,10 @@ function Ht(t, s, e, n, o, a) {
1051
981
  options: e.distances
1052
982
  }, null, 8, ["options"])
1053
983
  ]),
1054
- d("fieldset", At, [
984
+ d("fieldset", $t, [
1055
985
  kt,
1056
- d("div", Lt, [
1057
- $(i, {
986
+ d("div", At, [
987
+ v(n, {
1058
988
  class: "col-6",
1059
989
  label: "Minimum price",
1060
990
  id: "price-min",
@@ -1062,7 +992,7 @@ function Ht(t, s, e, n, o, a) {
1062
992
  type: "select",
1063
993
  options: e.pricemin
1064
994
  }, null, 8, ["options"]),
1065
- $(i, {
995
+ v(n, {
1066
996
  class: "col-6",
1067
997
  label: "Maximum price",
1068
998
  id: "price-max",
@@ -1072,10 +1002,10 @@ function Ht(t, s, e, n, o, a) {
1072
1002
  }, null, 8, ["options"])
1073
1003
  ])
1074
1004
  ]),
1075
- d("fieldset", St, [
1076
- xt,
1077
- d("div", Tt, [
1078
- $(i, {
1005
+ d("fieldset", xt, [
1006
+ Lt,
1007
+ d("div", St, [
1008
+ v(n, {
1079
1009
  class: "col-6",
1080
1010
  label: "Minimum beds",
1081
1011
  id: "beds-min",
@@ -1083,7 +1013,7 @@ function Ht(t, s, e, n, o, a) {
1083
1013
  type: "select",
1084
1014
  options: e.bedsmin
1085
1015
  }, null, 8, ["options"]),
1086
- $(i, {
1016
+ v(n, {
1087
1017
  class: "col-6",
1088
1018
  label: "Maximum beds",
1089
1019
  id: "beds-max",
@@ -1094,25 +1024,25 @@ function Ht(t, s, e, n, o, a) {
1094
1024
  ])
1095
1025
  ]),
1096
1026
  d("fieldset", qt, [
1097
- $(i, {
1027
+ v(n, {
1098
1028
  label: "Property type",
1099
1029
  id: "property-type",
1100
1030
  type: "select",
1101
1031
  options: e.propertytypes
1102
1032
  }, null, 8, ["options"])
1103
1033
  ]),
1104
- Et
1105
- ], 8, wt)
1034
+ Tt
1035
+ ], 8, vt)
1106
1036
  ]),
1107
- m(t.$slots, "after")
1037
+ u(t.$slots, "after")
1108
1038
  ], 512);
1109
1039
  }
1110
- const Ws = /* @__PURE__ */ p(gt, [["render", Ht]]), Mt = {
1040
+ const Ua = /* @__PURE__ */ m(yt, [["render", Et]]), Ht = {
1111
1041
  components: {},
1112
1042
  name: "Nav",
1113
1043
  mounted() {
1114
1044
  this.$nextTick(function() {
1115
- import("./nav.component.min-e637dda8.mjs").then((t) => {
1045
+ import("./nav.component.min-cb09f2a4.mjs").then((t) => {
1116
1046
  window.customElements.get("iam-nav") || window.customElements.define("iam-nav", t.default);
1117
1047
  }).catch((t) => {
1118
1048
  console.log(t.message);
@@ -1120,14 +1050,14 @@ const Ws = /* @__PURE__ */ p(gt, [["render", Ht]]), Mt = {
1120
1050
  });
1121
1051
  },
1122
1052
  methods: {}
1123
- }, Ct = { ref: "wrapper" };
1124
- function Nt(t, s, e, n, o, a) {
1125
- return l(), r("iam-nav", Ct, [
1126
- m(t.$slots, "default")
1053
+ }, Mt = { ref: "wrapper" };
1054
+ function Ct(t, a, e, i, r, s) {
1055
+ return o(), l("iam-nav", Mt, [
1056
+ u(t.$slots, "default")
1127
1057
  ], 512);
1128
1058
  }
1129
- const Ks = /* @__PURE__ */ p(Mt, [["render", Nt]]);
1130
- const Rt = {
1059
+ const Wa = /* @__PURE__ */ m(Ht, [["render", Ct]]);
1060
+ const Nt = {
1131
1061
  name: "Stepper",
1132
1062
  props: {
1133
1063
  label: {
@@ -1140,26 +1070,26 @@ const Rt = {
1140
1070
  default: "Complete"
1141
1071
  }
1142
1072
  }
1143
- }, Pt = { class: "container" }, zt = ["aria-label"], jt = {
1073
+ }, Pt = { class: "container" }, Rt = ["aria-label"], jt = {
1144
1074
  key: 0,
1145
1075
  class: "h6 stepper__start"
1146
1076
  }, It = { class: "list-unstyled" }, Dt = { class: "h6 stepper__end" };
1147
- function Ft(t, s, e, n, o, a) {
1148
- return l(), r("div", Pt, [
1077
+ function Vt(t, a, e, i, r, s) {
1078
+ return o(), l("div", Pt, [
1149
1079
  d("nav", {
1150
1080
  class: "stepper",
1151
1081
  "aria-label": e.label ? e.label : "Progress"
1152
1082
  }, [
1153
- e.label ? (l(), r("span", jt, _(e.label), 1)) : h("", !0),
1083
+ e.label ? (o(), l("span", jt, y(e.label), 1)) : p("", !0),
1154
1084
  d("ol", It, [
1155
- m(t.$slots, "default")
1085
+ u(t.$slots, "default")
1156
1086
  ]),
1157
- d("span", Dt, _(e.endlabel), 1)
1158
- ], 8, zt)
1087
+ d("span", Dt, y(e.endlabel), 1)
1088
+ ], 8, Rt)
1159
1089
  ]);
1160
1090
  }
1161
- const Gs = /* @__PURE__ */ p(Rt, [["render", Ft]]);
1162
- const Vt = {
1091
+ const Ka = /* @__PURE__ */ m(Nt, [["render", Vt]]);
1092
+ const Ft = {
1163
1093
  name: "Snapshot",
1164
1094
  props: {
1165
1095
  items: {
@@ -1167,33 +1097,33 @@ const Vt = {
1167
1097
  required: !0
1168
1098
  }
1169
1099
  }
1170
- }, Bt = {
1100
+ }, zt = {
1171
1101
  class: "container snapshot",
1172
1102
  ref: "wrapper"
1173
- }, Ot = { class: "row" }, Ut = ["href"], Wt = { class: "lead snapshot__title" }, Kt = { class: "stat" };
1174
- function Gt(t, s, e, n, o, a) {
1175
- return l(), r("div", Bt, [
1176
- m(t.$slots, "default"),
1177
- d("div", Ot, [
1178
- (l(!0), r(k, null, L(e.items, (i, c) => (l(), r("div", {
1103
+ }, Bt = { class: "row" }, Ot = ["href"], Ut = { class: "lead snapshot__title" }, Wt = { class: "stat" };
1104
+ function Kt(t, a, e, i, r, s) {
1105
+ return o(), l("div", zt, [
1106
+ u(t.$slots, "default"),
1107
+ d("div", Bt, [
1108
+ (o(!0), l($, null, k(e.items, (n, c) => (o(), l("div", {
1179
1109
  class: "col",
1180
1110
  key: c
1181
1111
  }, [
1182
- i.link ? (l(), r("a", {
1112
+ n.link ? (o(), l("a", {
1183
1113
  key: 0,
1184
- href: i.link
1185
- }, "View " + _(i.title), 9, Ut)) : h("", !0),
1114
+ href: n.link
1115
+ }, "View " + y(n.title), 9, Ot)) : p("", !0),
1186
1116
  d("div", {
1187
- class: g(`snapshot__item ${i.bg ? "bg-" + i.bg : ""}`)
1117
+ class: b(`snapshot__item ${n.bg ? "bg-" + n.bg : ""}`)
1188
1118
  }, [
1189
- d("span", Wt, _(i.title), 1),
1190
- d("span", Kt, _(i.number), 1)
1119
+ d("span", Ut, y(n.title), 1),
1120
+ d("span", Wt, y(n.number), 1)
1191
1121
  ], 2)
1192
1122
  ]))), 128))
1193
1123
  ])
1194
1124
  ], 512);
1195
1125
  }
1196
- const Qs = /* @__PURE__ */ p(Vt, [["render", Gt]]), Qt = {
1126
+ const Ga = /* @__PURE__ */ m(Ft, [["render", Kt]]), Gt = {
1197
1127
  name: "Stepper",
1198
1128
  props: {
1199
1129
  url: {
@@ -1209,43 +1139,43 @@ const Qs = /* @__PURE__ */ p(Vt, [["render", Gt]]), Qt = {
1209
1139
  required: !1
1210
1140
  }
1211
1141
  }
1212
- }, Yt = ["href", "aria-current"], Jt = {
1142
+ }, Qt = ["href", "aria-current"], Yt = {
1213
1143
  key: 0,
1214
1144
  class: "visually-hidden"
1215
1145
  };
1216
- function Xt(t, s, e, n, o, a) {
1217
- return l(), r("li", null, [
1146
+ function Jt(t, a, e, i, r, s) {
1147
+ return o(), l("li", null, [
1218
1148
  d("a", {
1219
1149
  href: e.url,
1220
- class: g(`${e.status ? "bg-" + e.status : ""}${typeof e.current < "u" ? "current" : ""}`),
1150
+ class: b(`${e.status ? "bg-" + e.status : ""}${typeof e.current < "u" ? "current" : ""}`),
1221
1151
  "aria-current": typeof e.current < "u" ? "step" : !1
1222
1152
  }, [
1223
1153
  d("span", null, [
1224
- m(t.$slots, "default")
1154
+ u(t.$slots, "default")
1225
1155
  ]),
1226
- e.status ? (l(), r("em", Jt, " - status: " + _(e.status), 1)) : h("", !0)
1227
- ], 10, Yt)
1156
+ e.status ? (o(), l("em", Yt, " - status: " + y(e.status), 1)) : p("", !0)
1157
+ ], 10, Qt)
1228
1158
  ]);
1229
1159
  }
1230
- const Ys = /* @__PURE__ */ p(Qt, [["render", Xt]]);
1231
- const Zt = {
1160
+ const Qa = /* @__PURE__ */ m(Gt, [["render", Jt]]);
1161
+ const Xt = {
1232
1162
  name: "Tabs",
1233
1163
  created() {
1234
1164
  this.$nextTick(function() {
1235
- import("./tabs.component.min-60bed978.mjs").then((t) => {
1165
+ import("./tabs.component.min-9319b151.mjs").then((t) => {
1236
1166
  window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", t.default);
1237
1167
  }).catch((t) => {
1238
1168
  console.log(t.message);
1239
1169
  });
1240
1170
  });
1241
1171
  }
1242
- }, es = { ref: "wrapper" };
1243
- function ts(t, s, e, n, o, a) {
1244
- return l(), r("iam-tabs", es, [
1245
- m(t.$slots, "default")
1172
+ }, Zt = { ref: "wrapper" };
1173
+ function ea(t, a, e, i, r, s) {
1174
+ return o(), l("iam-tabs", Zt, [
1175
+ u(t.$slots, "default")
1246
1176
  ], 512);
1247
1177
  }
1248
- const Js = /* @__PURE__ */ p(Zt, [["render", ts]]), ss = {
1178
+ const Ya = /* @__PURE__ */ m(Xt, [["render", ea]]), ta = {
1249
1179
  name: "Tab",
1250
1180
  props: {
1251
1181
  title: {
@@ -1267,23 +1197,23 @@ const Js = /* @__PURE__ */ p(Zt, [["render", ts]]), ss = {
1267
1197
  isDisabled: !!this.disabled
1268
1198
  };
1269
1199
  }
1270
- }, as = { class: "tab" }, is = ["innerHTML"];
1271
- function ns(t, s, e, n, o, a) {
1272
- return l(), r("details", as, [
1200
+ }, aa = { class: "tab" }, sa = ["innerHTML"];
1201
+ function ia(t, a, e, i, r, s) {
1202
+ return o(), l("details", aa, [
1273
1203
  d("summary", {
1274
1204
  innerHTML: e.title,
1275
- class: g({ disabled: o.isDisabled })
1276
- }, null, 10, is),
1277
- m(t.$slots, "default")
1205
+ class: b({ disabled: r.isDisabled })
1206
+ }, null, 10, sa),
1207
+ u(t.$slots, "default")
1278
1208
  ]);
1279
1209
  }
1280
- const Xs = /* @__PURE__ */ p(ss, [["render", ns]]);
1281
- let P = N.props;
1210
+ const Ja = /* @__PURE__ */ m(ta, [["render", ia]]);
1211
+ let P = C.props;
1282
1212
  P.fields.required = !1;
1283
- const os = {
1213
+ const na = {
1284
1214
  components: {
1285
- Table: N,
1286
- Input: R
1215
+ Table: C,
1216
+ Input: N
1287
1217
  },
1288
1218
  data() {
1289
1219
  return {
@@ -1294,14 +1224,14 @@ const os = {
1294
1224
  methods: {
1295
1225
  submitForm: function(t) {
1296
1226
  console.log(this);
1297
- const s = new FormData(t.target);
1227
+ const a = new FormData(t.target);
1298
1228
  let e = /* @__PURE__ */ new Date();
1299
- const n = e.getFullYear();
1300
- let o = e.getMonth() + 1, a = e.getDate();
1301
- a < 10 && (a = "0" + a), o < 10 && (o = "0" + o), e = a + "/" + o + "/" + n, this.itemsData.unshift({
1229
+ const i = e.getFullYear();
1230
+ let r = e.getMonth() + 1, s = e.getDate();
1231
+ s < 10 && (s = "0" + s), r < 10 && (r = "0" + r), e = s + "/" + r + "/" + i, this.itemsData.unshift({
1302
1232
  date_added: e,
1303
- user: s.get("user"),
1304
- note: s.get("addNote")
1233
+ user: a.get("user"),
1234
+ note: a.get("addNote")
1305
1235
  }), this.$emit("formSubmitted", t);
1306
1236
  }
1307
1237
  },
@@ -1326,41 +1256,41 @@ const os = {
1326
1256
  required: !1
1327
1257
  }
1328
1258
  }
1329
- }, ls = { class: "container note-feed mb-2" }, rs = ["innerHTML"], cs = ["action", "method"], ds = ["value"], us = /* @__PURE__ */ d("button", { class: "btn btn-tertiary" }, "Submit note", -1);
1330
- function ms(t, s, e, n, o, a) {
1331
- const i = H("Table"), c = H("Input");
1332
- return l(), r("div", ls, [
1333
- e.title ? (l(), r("span", {
1259
+ }, oa = { class: "container note-feed mb-2" }, la = ["innerHTML"], ra = ["action", "method"], da = ["value"], ca = /* @__PURE__ */ d("button", { class: "btn btn-tertiary" }, "Submit note", -1);
1260
+ function ua(t, a, e, i, r, s) {
1261
+ const n = q("Table"), c = q("Input");
1262
+ return o(), l("div", oa, [
1263
+ e.title ? (o(), l("span", {
1334
1264
  key: 0,
1335
1265
  class: "h3",
1336
1266
  innerHTML: e.title
1337
- }, null, 8, rs)) : h("", !0),
1338
- $(i, A({
1267
+ }, null, 8, la)) : p("", !0),
1268
+ v(n, w({
1339
1269
  fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
1340
- items: o.itemsData
1270
+ items: r.itemsData
1341
1271
  }, t.$props, { class: "mb-0" }), null, 16, ["items"]),
1342
1272
  d("form", {
1343
1273
  action: e.action,
1344
1274
  method: e.method,
1345
- onSubmit: s[0] || (s[0] = V((u) => a.submitForm(...arguments), ["prevent"]))
1275
+ onSubmit: a[0] || (a[0] = O((h) => s.submitForm(...arguments), ["prevent"]))
1346
1276
  }, [
1347
1277
  d("input", {
1348
1278
  type: "hidden",
1349
1279
  value: e.user,
1350
1280
  name: "user"
1351
- }, null, 8, ds),
1352
- $(c, {
1281
+ }, null, 8, da),
1282
+ v(c, {
1353
1283
  id: "addNote",
1354
1284
  type: "textarea",
1355
1285
  label: "Add note",
1356
1286
  required: "",
1357
1287
  class: "mw-100"
1358
1288
  }),
1359
- us
1360
- ], 40, cs)
1289
+ ca
1290
+ ], 40, ra)
1361
1291
  ]);
1362
1292
  }
1363
- const Zs = /* @__PURE__ */ p(os, [["render", ms]]), ps = {
1293
+ const Xa = /* @__PURE__ */ m(na, [["render", ua]]), ma = {
1364
1294
  name: "Applied Filter",
1365
1295
  mounted() {
1366
1296
  this.$nextTick(function() {
@@ -1372,41 +1302,41 @@ const Zs = /* @__PURE__ */ p(os, [["render", ms]]), ps = {
1372
1302
  });
1373
1303
  }
1374
1304
  };
1375
- function hs(t, s, e, n, o, a) {
1376
- return l(), r("iam-applied-filters", null, [
1377
- m(t.$slots, "default")
1305
+ function pa(t, a, e, i, r, s) {
1306
+ return o(), l("iam-applied-filters", null, [
1307
+ u(t.$slots, "default")
1378
1308
  ]);
1379
1309
  }
1380
- const ea = /* @__PURE__ */ p(ps, [["render", hs]]);
1310
+ const Za = /* @__PURE__ */ m(ma, [["render", pa]]);
1381
1311
  /*!
1382
- * iamKey v5.6.1-beta4
1312
+ * iamKey v5.6.1-beta6
1383
1313
  * Copyright 2022-2024 iamproperty
1384
1314
  */
1385
- function fs(t, s) {
1386
- bs(t, s);
1315
+ function ha(t, a) {
1316
+ fa(t, a);
1387
1317
  }
1388
- function bs(t, s) {
1318
+ function fa(t, a) {
1389
1319
  var e;
1390
- s.addEventListener("keyup", (n) => {
1320
+ a.addEventListener("keyup", (i) => {
1391
1321
  clearTimeout(e), e = setTimeout(function() {
1392
- C(t, s.value);
1322
+ M(t, a.value);
1393
1323
  }, 500);
1394
- }), s.addEventListener("change", (n) => {
1395
- clearTimeout(e), C(t, s.value);
1324
+ }), a.addEventListener("change", (i) => {
1325
+ clearTimeout(e), M(t, a.value);
1396
1326
  });
1397
1327
  }
1398
- const C = function(t, s) {
1399
- Array.from(t.querySelectorAll(":scope > li")).forEach((e, n) => {
1400
- let o = e.textContent.toLowerCase();
1401
- e.classList.add("d-none"), o.includes(s.toLowerCase()) && e.classList.remove("d-none");
1402
- }), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Filtered list", value: s });
1328
+ const M = function(t, a) {
1329
+ Array.from(t.querySelectorAll(":scope > li")).forEach((e, i) => {
1330
+ let r = e.textContent.toLowerCase();
1331
+ e.classList.add("d-none"), r.includes(a.toLowerCase()) && e.classList.remove("d-none");
1332
+ }), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Filtered list", value: a });
1403
1333
  };
1404
1334
  window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "filterlist" });
1405
- class ys extends HTMLElement {
1335
+ class ba extends HTMLElement {
1406
1336
  constructor() {
1407
1337
  super(), this.attachShadow({ mode: "open" });
1408
- const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, n = document.createElement("template");
1409
- n.innerHTML = `
1338
+ const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, i = document.createElement("template");
1339
+ i.innerHTML = `
1410
1340
  <style>
1411
1341
  @import "${e}";
1412
1342
  ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
@@ -1433,51 +1363,51 @@ class ys extends HTMLElement {
1433
1363
  <div class="list__wrapper">
1434
1364
  <slot></slot>
1435
1365
  </div>
1436
- `, this.shadowRoot.appendChild(n.content.cloneNode(!0));
1366
+ `, this.shadowRoot.appendChild(i.content.cloneNode(!0));
1437
1367
  }
1438
1368
  connectedCallback() {
1439
- let s = this.classList.toString();
1440
- this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${s}`), this.querySelector("i.fa-search") || (this.innerHTML += '<i class="fa fa-light fa-search" aria-hidden="true" slot="icon"></i>'), fs(this.querySelector("ul"), this.shadowRoot.querySelector("#search"));
1369
+ let a = this.classList.toString();
1370
+ 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>'), ha(this.querySelector("ul"), this.shadowRoot.querySelector("#search"));
1441
1371
  }
1442
1372
  }
1443
- window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist", ys);
1444
- const gs = {
1373
+ window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist", ba);
1374
+ const ya = {
1445
1375
  name: "Filter list"
1446
1376
  };
1447
- function _s(t, s, e, n, o, a) {
1448
- return l(), r("iam-filterlist", null, [
1449
- m(t.$slots, "default")
1377
+ function _a(t, a, e, i, r, s) {
1378
+ return o(), l("iam-filterlist", null, [
1379
+ u(t.$slots, "default")
1450
1380
  ]);
1451
1381
  }
1452
- const ta = /* @__PURE__ */ p(gs, [["render", _s]]);
1453
- function vs(t) {
1382
+ const es = /* @__PURE__ */ m(ya, [["render", _a]]);
1383
+ function ga(t) {
1454
1384
  if (t.hasAttribute("data-type") && t.getAttribute("data-type") == "toast") {
1455
1385
  let e = document.querySelector(".notification__holder");
1456
1386
  e || (e = document.createElement("div"), e.classList.add("notification__holder"), e.classList.add("container"), document.querySelector("body").appendChild(e)), t.closest(".notification__holder") || e.appendChild(t);
1457
1387
  }
1458
1388
  if (t.setAttribute("role", "alert"), t.addEventListener("click", function(e) {
1459
- event && event.target instanceof HTMLElement && event.target.closest("[data-dismiss-button]") && (e.preventDefault(), M(t));
1389
+ event && event.target instanceof HTMLElement && event.target.closest("[data-dismiss-button]") && (e.preventDefault(), T(t));
1460
1390
  }, !1), t.hasAttribute("data-timeout")) {
1461
1391
  let e = t.getAttribute("data-timeout");
1462
- var s = new ws(function() {
1463
- M(t);
1392
+ var a = new va(function() {
1393
+ T(t);
1464
1394
  }, e);
1465
- t.addEventListener("mouseenter", (n) => {
1466
- s.pause();
1467
- }), t.addEventListener("mouseleave", (n) => {
1468
- s.resume();
1395
+ t.addEventListener("mouseenter", (i) => {
1396
+ a.pause();
1397
+ }), t.addEventListener("mouseleave", (i) => {
1398
+ a.resume();
1469
1399
  });
1470
1400
  }
1471
1401
  }
1472
- function ws(t, s) {
1473
- var e, n, o = s;
1402
+ function va(t, a) {
1403
+ var e, i, r = a;
1474
1404
  this.pause = function() {
1475
- window.clearTimeout(e), o -= /* @__PURE__ */ new Date() - n;
1405
+ window.clearTimeout(e), r -= /* @__PURE__ */ new Date() - i;
1476
1406
  }, this.resume = function() {
1477
- n = /* @__PURE__ */ new Date(), window.clearTimeout(e), e = window.setTimeout(t, o);
1407
+ i = /* @__PURE__ */ new Date(), window.clearTimeout(e), e = window.setTimeout(t, r);
1478
1408
  }, this.resume();
1479
1409
  }
1480
- const M = function(t) {
1410
+ const T = function(t) {
1481
1411
  t.classList.add("d-none");
1482
1412
  };
1483
1413
  window.dataLayer = window.dataLayer || [];
@@ -1485,32 +1415,32 @@ window.dataLayer.push({
1485
1415
  event: "customElementRegistered",
1486
1416
  element: "Notification"
1487
1417
  });
1488
- class $s extends HTMLElement {
1418
+ class wa extends HTMLElement {
1489
1419
  constructor() {
1490
1420
  super(), this.attachShadow({ mode: "open" });
1491
- const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, n = `@import "${s}/css/components/notification.css";`, o = `@import "${s}/css/components/notification.global.css";`, a = this.querySelectorAll("a,button");
1492
- Array.from(a).forEach((c, u) => {
1421
+ const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, i = `@import "${a}/css/components/notification.css";`, r = `@import "${a}/css/components/notification.global.css";`, s = this.querySelectorAll("a,button");
1422
+ Array.from(s).forEach((c, h) => {
1493
1423
  c.setAttribute("slot", "btns"), c.classList.add("link");
1494
- }), (a.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable");
1495
- const i = document.createElement("template");
1496
- i.innerHTML = `
1424
+ }), (s.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable");
1425
+ const n = document.createElement("template");
1426
+ n.innerHTML = `
1497
1427
  <style>
1498
1428
  @import "${e}";
1499
- ${n}
1429
+ ${i}
1500
1430
  ${this.hasAttribute("data-css") ? `${this.getAttribute("data-css")}` : ""}
1501
1431
  </style>
1502
1432
 
1503
1433
  <div class="notification">
1504
1434
  <div class="notification__icon"><slot name="icon"></slot></div>
1505
- <div class="notification__inner"><div class="notification__text"><slot></slot></div>${a.length ? '<div class="notification__btns"><slot name="btns"></slot></div>' : ""}</div>
1435
+ <div class="notification__inner"><div class="notification__text"><slot></slot></div>${s.length ? '<div class="notification__btns"><slot name="btns"></slot></div>' : ""}</div>
1506
1436
  ${this.hasAttribute("data-dismiss") ? '<div class="notification__dismiss"><button data-dismiss-button>Dismiss</button></div>' : ""}
1507
1437
  </div>
1508
- `, this.shadowRoot.appendChild(i.content.cloneNode(!0)), document.getElementById("notificationHolder") || document.head.insertAdjacentHTML("beforeend", `<style id="notificationHolder">${o}</style>`);
1438
+ `, this.shadowRoot.appendChild(n.content.cloneNode(!0)), document.getElementById("notificationHolder") || document.head.insertAdjacentHTML("beforeend", `<style id="notificationHolder">${r}</style>`);
1509
1439
  }
1510
1440
  connectedCallback() {
1511
- const s = this.shadowRoot.querySelector("[data-dismiss-button]"), e = this.hasAttribute("data-status") ? this.getAttribute("data-status") : "white";
1441
+ const a = this.shadowRoot.querySelector("[data-dismiss-button]"), e = this.hasAttribute("data-status") ? this.getAttribute("data-status") : "white";
1512
1442
  this.hasAttribute("data-type") ? this.classList.add(`bg-${e}`) : this.classList.add(`colour-${e}`);
1513
- const n = this;
1443
+ const i = this;
1514
1444
  if (!this.querySelector("i"))
1515
1445
  switch (e) {
1516
1446
  case "danger":
@@ -1525,31 +1455,31 @@ class $s extends HTMLElement {
1525
1455
  default:
1526
1456
  this.innerHTML += '<i class="fa-solid fa-circle-info" aria-hidden="true" slot="icon"></i>';
1527
1457
  }
1528
- vs(n), s && s.addEventListener("click", function(o) {
1529
- M(n);
1458
+ ga(i), a && a.addEventListener("click", function(r) {
1459
+ T(i);
1530
1460
  }, !1);
1531
1461
  }
1532
1462
  }
1533
- const As = {
1463
+ const $a = {
1534
1464
  name: "Notification",
1535
1465
  props: {},
1536
1466
  created() {
1537
1467
  this.$nextTick(function() {
1538
- window.customElements.get("iam-notification") || window.customElements.define("iam-notification", $s);
1468
+ window.customElements.get("iam-notification") || window.customElements.define("iam-notification", wa);
1539
1469
  });
1540
1470
  }
1541
1471
  };
1542
- function ks(t, s, e, n, o, a) {
1543
- return l(), r("iam-notification", null, [
1544
- m(t.$slots, "default")
1472
+ function ka(t, a, e, i, r, s) {
1473
+ return o(), l("iam-notification", null, [
1474
+ u(t.$slots, "default")
1545
1475
  ]);
1546
1476
  }
1547
- const sa = /* @__PURE__ */ p(As, [["render", ks]]), Ls = {
1477
+ const ts = /* @__PURE__ */ m($a, [["render", ka]]), Aa = {
1548
1478
  name: "Actionbar",
1549
1479
  props: {},
1550
1480
  mounted() {
1551
1481
  this.$nextTick(function() {
1552
- import("./actionbar.component.min-4c086d85.mjs").then((t) => {
1482
+ import("./actionbar.component.min-d0782723.mjs").then((t) => {
1553
1483
  window.customElements.get("iam-actionbar") || window.customElements.define("iam-actionbar", t.default);
1554
1484
  }).catch((t) => {
1555
1485
  console.log(t.message);
@@ -1557,21 +1487,21 @@ const sa = /* @__PURE__ */ p(As, [["render", ks]]), Ls = {
1557
1487
  });
1558
1488
  }
1559
1489
  };
1560
- function Ss(t, s, e, n, o, a) {
1561
- return l(), r("iam-actionbar", null, [
1562
- m(t.$slots, "default")
1490
+ function xa(t, a, e, i, r, s) {
1491
+ return o(), l("iam-actionbar", null, [
1492
+ u(t.$slots, "default")
1563
1493
  ]);
1564
1494
  }
1565
- const aa = /* @__PURE__ */ p(Ls, [["render", Ss]]);
1495
+ const as = /* @__PURE__ */ m(Aa, [["render", xa]]);
1566
1496
  /*!
1567
- * iamKey v5.6.1-beta4
1497
+ * iamKey v5.6.1-beta6
1568
1498
  * Copyright 2022-2024 iamproperty
1569
1499
  */
1570
- class z extends HTMLElement {
1500
+ class R extends HTMLElement {
1571
1501
  constructor() {
1572
1502
  super(), this.attachShadow({ mode: "open" });
1573
- const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, n = document.createElement("template");
1574
- n.innerHTML = `
1503
+ const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, i = document.createElement("template");
1504
+ i.innerHTML = `
1575
1505
  <style>
1576
1506
  @import "${e}";
1577
1507
  :host{container-type:inline-size;display:block}.pagination{display:block}@container (width > 23.4375em){.pagination{display:flex;align-items:center;justify-content:space-between !important;padding-top:2rem}}.pagination>div{display:flex;align-items:center}.pagination div:is(.page-jump,.per-page){border:1px solid var(--colour-light);height:3.25rem;display:none;align-items:center;padding-inline:1rem}.pagination div:is(.page-jump,.per-page) .select--minimal{--select-padding-left: rem(16);height:3.25rem;line-height:3.25rem;margin-left:-1rem;font-weight:bold}.pagination div:is(.page-jump,.per-page) div:has(>select){margin-bottom:0}.page-jump{border-right:none !important}.total-pages{white-space:nowrap}:host([data-page-jump][data-minimal]) .page-jump{display:flex !important}@container (width > 23.4375em){:host([data-page-jump]) .page-jump{display:flex !important}}@container (width > 23.4375em){:host([data-per-page]:not([data-page-jump][data-item-count])) .per-page{display:flex !important}}@container (width > 48em){:host([data-per-page][data-page-jump][data-item-count]) .per-page{display:flex !important}}.pagination>.item-count{display:block;text-align:center;margin-bottom:1rem;margin-inline:auto}@container (width > 23.4375em){.pagination>.item-count{display:none}:host([data-item-count]) .pagination>.item-count{display:flex !important;margin:0}}*:where(.prev,.next){border:1px solid var(--colour-light);line-height:3.25rem;height:3.25rem;margin:0;display:none;background:none;padding-inline:1rem}@container (width > 23.4375em){*:where(.prev,.next){display:inline-block}}*:where(.prev,.next):after{margin-left:.5em;font-size:.8rem;content:"";font-family:"Font Awesome 6 Pro";color:var(--colour-info)}*:where(.prev,.next):is(:hover,:focus):not(:disabled){background-color:var(--colour-light)}*:where(.prev,.next):is(:active):not(:disabled){background-color:#e0e0e0}@media screen and (prefers-color-scheme: dark){*:where(.prev,.next):is(:hover,:focus):not(:disabled){background-color:var(--colour-canvas)}*:where(.prev,.next):is(:active):not(:disabled){background-color:var(--colour-canvas)}}*:where(.prev,.next):disabled:after,*:where(.prev,.next):disabled:before{color:inherit !important}:host([data-minimal]) .pagination{justify-content:flex-end}@container (width > 23.4375em){:host([data-minimal]) .pagination{justify-content:space-between}}:host([data-minimal]) *:where(.prev,.next){display:inline-block !important}.prev{border-right:none}.prev:after{display:none}.prev:before{margin-right:.5em;font-size:.8rem;content:"";font-family:"Font Awesome 6 Pro";color:var(--colour-info)}.mobile-controls{display:block}:host([data-minimal]) .pagination{padding-top:1.5rem;display:flex;align-items:center;justify-content:flex-end}:host([data-minimal]) *:is(.mobile-controls,.item-count){display:none}@container (width > 23.4375em){.mobile-controls{display:none !important}:host([data-item-count]) .item-count{display:flex !important}}.fa-spin{display:none !important;font-size:3rem;color:var(--colour-info)}:host([data-loading]) .mobile-controls{padding-top:2rem}:host([data-loading]) .item-count,:host([data-loading]) .mobile-controls>*:not(.fa-spin){display:none !important}:host([data-loading]) .fa-spin{display:block !important;margin:auto}/*# sourceMappingURL=assets/css/components/pagination.css.map */
@@ -1609,83 +1539,83 @@ class z extends HTMLElement {
1609
1539
  <button class="load-more btn btn-primary m-auto">Load more</a>
1610
1540
  </div>
1611
1541
  </div>
1612
- `, this.shadowRoot.appendChild(n.content.cloneNode(!0));
1542
+ `, this.shadowRoot.appendChild(i.content.cloneNode(!0));
1613
1543
  }
1614
1544
  connectedCallback() {
1615
- const s = new URLSearchParams(window.location.search);
1616
- this.hasAttribute("data-total") || this.setAttribute("data-total", 15), this.hasAttribute("data-page") || this.setAttribute("data-page", s.has("page") ? s.get("page") : 1), this.hasAttribute("data-show") || this.setAttribute("data-show", s.has("show") ? s.get("show") : 15), this.hasAttribute("data-increment") || this.setAttribute("data-increment", this.getAttribute("data-show"));
1617
- const e = this.shadowRoot.querySelector(".page-jump select"), n = this.shadowRoot.querySelector(".prev"), o = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".per-page select"), i = this.shadowRoot.querySelector(".load-more");
1545
+ const a = new URLSearchParams(window.location.search);
1546
+ this.hasAttribute("data-total") || this.setAttribute("data-total", 15), 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"));
1547
+ const e = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), r = this.shadowRoot.querySelector(".next"), s = this.shadowRoot.querySelector(".per-page select"), n = this.shadowRoot.querySelector(".load-more");
1618
1548
  this.setup(), e.addEventListener("change", (c) => {
1619
1549
  this.setAttribute("data-show", this.getAttribute("data-increment")), this.setAttribute("data-page", c.target.value);
1620
- }), o.addEventListener("click", (c) => {
1550
+ }), r.addEventListener("click", (c) => {
1621
1551
  e.value = parseInt(e.value) + 1, e.dispatchEvent(new Event("change"));
1622
- }), n.addEventListener("click", (c) => {
1552
+ }), i.addEventListener("click", (c) => {
1623
1553
  e.value = parseInt(e.value) - 1, e.dispatchEvent(new Event("change"));
1624
- }), a.addEventListener("change", (c) => {
1554
+ }), s.addEventListener("change", (c) => {
1625
1555
  this.setAttribute("data-increment", c.target.value);
1626
- }), i.addEventListener("click", (c) => {
1627
- let u = parseInt(this.getAttribute("data-show")) + parseInt(this.getAttribute("data-increment"));
1628
- this.setAttribute("data-show", u), u > parseInt(this.getAttribute("data-total")) && i.remove();
1556
+ }), n.addEventListener("click", (c) => {
1557
+ let h = parseInt(this.getAttribute("data-show")) + parseInt(this.getAttribute("data-increment"));
1558
+ this.setAttribute("data-show", h), h > parseInt(this.getAttribute("data-total")) && n.remove();
1629
1559
  });
1630
1560
  }
1631
1561
  setup() {
1632
- const s = this.shadowRoot.querySelector(".pagination"), e = this.shadowRoot.querySelector(".page-jump select"), n = this.shadowRoot.querySelector(".prev"), o = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".item-count"), i = this.shadowRoot.querySelector(".per-page select"), c = this.shadowRoot.querySelector(".total-pages"), u = parseInt(this.getAttribute("data-page")), b = parseInt(this.getAttribute("data-total")), y = parseInt(this.getAttribute("data-show")), f = parseInt(this.getAttribute("data-increment")), v = Math.ceil(b / f);
1633
- b > y && s.classList.remove("d-none");
1634
- let w = "";
1635
- for (let x = 1; x <= v; x++)
1636
- w += `<option value="${x}" ${x == u ? "selected" : ""}>${x}</option>`;
1637
- e.innerHTML = w, c.innerHTML = `of ${v}`, u == v ? o.setAttribute("disabled", "disabled") : o.removeAttribute("disabled"), u == 1 ? n.setAttribute("disabled", "disabled") : n.removeAttribute("disabled");
1638
- let S = u == 1 ? 1 : (u - 1) * y + 1, q = u == 1 ? y : u * y;
1639
- a.innerHTML = `${S} - ${q > b ? b : q} of ${b} items`;
1640
- const j = [15, 25, 40, 50];
1641
- f && i.value != f && !j.includes(f) && (i.innerHTML = `<option value="${f}">${f}</option>
1562
+ const a = this.shadowRoot.querySelector(".pagination"), e = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), r = this.shadowRoot.querySelector(".next"), s = this.shadowRoot.querySelector(".item-count"), n = this.shadowRoot.querySelector(".per-page select"), c = this.shadowRoot.querySelector(".total-pages"), h = parseInt(this.getAttribute("data-page")), _ = parseInt(this.getAttribute("data-total")), g = parseInt(this.getAttribute("data-show")), f = parseInt(this.getAttribute("data-increment")), L = Math.ceil(_ / f);
1563
+ _ > g && a.classList.remove("d-none");
1564
+ let E = "";
1565
+ for (let A = 1; A <= L; A++)
1566
+ E += `<option value="${A}" ${A == h ? "selected" : ""}>${A}</option>`;
1567
+ e.innerHTML = E, c.innerHTML = `of ${L}`, h == L ? r.setAttribute("disabled", "disabled") : r.removeAttribute("disabled"), h == 1 ? i.setAttribute("disabled", "disabled") : i.removeAttribute("disabled");
1568
+ let j = h == 1 ? 1 : (h - 1) * g + 1, H = h == 1 ? g : h * g;
1569
+ s.innerHTML = `${j} - ${H > _ ? _ : H} of ${_} items`;
1570
+ const I = [15, 25, 40, 50];
1571
+ f && n.value != f && !I.includes(f) && (n.innerHTML = `<option value="${f}">${f}</option>
1642
1572
  <option value="${f * 2}">${f * 2}</option>
1643
1573
  <option value="${f * 3}">${f * 3}</option>
1644
- <option value="${f * 4}">${f * 4}</option>`), i.value = f;
1574
+ <option value="${f * 4}">${f * 4}</option>`), n.value = f;
1645
1575
  }
1646
1576
  static get observedAttributes() {
1647
1577
  return ["data-total", "data-increment", "data-page", "data-show"];
1648
1578
  }
1649
- attributeChangedCallback(s, e, n) {
1650
- switch (s) {
1579
+ attributeChangedCallback(a, e, i) {
1580
+ switch (a) {
1651
1581
  case "data-total": {
1652
- e != n && (this.setAttribute("data-page", 1), this.setup());
1582
+ e != i && (this.setAttribute("data-page", 1), this.setup());
1653
1583
  break;
1654
1584
  }
1655
1585
  case "data-show": {
1656
- e != n && (this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
1586
+ e != i && (this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: i } })));
1657
1587
  break;
1658
1588
  }
1659
1589
  case "data-increment": {
1660
- e != n && (this.setAttribute("data-show", n), this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
1590
+ e != i && (this.setAttribute("data-show", i), this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: i } })));
1661
1591
  break;
1662
1592
  }
1663
1593
  case "data-page": {
1664
- e && e != n && (this.setup(), this.dispatchEvent(new CustomEvent("update-page", { detail: { page: n } })));
1594
+ e && e != i && (this.setup(), this.dispatchEvent(new CustomEvent("update-page", { detail: { page: i } })));
1665
1595
  break;
1666
1596
  }
1667
1597
  }
1668
1598
  }
1669
1599
  }
1670
- const xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1600
+ const La = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1671
1601
  __proto__: null,
1672
- default: z
1673
- }, Symbol.toStringTag, { value: "Module" })), Ts = {
1602
+ default: R
1603
+ }, Symbol.toStringTag, { value: "Module" })), Sa = {
1674
1604
  name: "Pagination",
1675
1605
  props: {},
1676
1606
  computed: {},
1677
1607
  created() {
1678
1608
  this.$nextTick(function() {
1679
- window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination", z);
1609
+ window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination", R);
1680
1610
  });
1681
1611
  },
1682
1612
  updated() {
1683
1613
  }
1684
1614
  };
1685
- function qs(t, s, e, n, o, a) {
1686
- return l(), r("iam-pagination");
1615
+ function qa(t, a, e, i, r, s) {
1616
+ return o(), l("iam-pagination");
1687
1617
  }
1688
- const ia = /* @__PURE__ */ p(Ts, [["render", qs]]), Es = {
1618
+ const ss = /* @__PURE__ */ m(Sa, [["render", qa]]), Ta = {
1689
1619
  name: "Address Lookup",
1690
1620
  mounted() {
1691
1621
  this.$nextTick(function() {
@@ -1697,25 +1627,25 @@ const ia = /* @__PURE__ */ p(Ts, [["render", qs]]), Es = {
1697
1627
  });
1698
1628
  }
1699
1629
  };
1700
- function Hs(t, s, e, n, o, a) {
1701
- return l(), r("iam-address-lookup", null, [
1702
- m(t.$slots, "default")
1630
+ function Ea(t, a, e, i, r, s) {
1631
+ return o(), l("iam-address-lookup", null, [
1632
+ u(t.$slots, "default")
1703
1633
  ]);
1704
1634
  }
1705
- const na = /* @__PURE__ */ p(Es, [["render", Hs]]);
1635
+ const is = /* @__PURE__ */ m(Ta, [["render", Ea]]);
1706
1636
  window.dataLayer = window.dataLayer || [];
1707
1637
  window.dataLayer.push({
1708
1638
  event: "customElementRegistered",
1709
1639
  element: "collapsible side menu"
1710
1640
  });
1711
- class Ms extends HTMLElement {
1641
+ class Ha extends HTMLElement {
1712
1642
  constructor() {
1713
1643
  super(), this.attachShadow({ mode: "open" });
1714
- const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, n = `@import "${s}/css/components/collapsible-side.css";`, o = document.createElement("template");
1715
- o.innerHTML = `
1644
+ const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, i = `@import "${a}/css/components/collapsible-side.css";`, r = document.createElement("template");
1645
+ r.innerHTML = `
1716
1646
  <style class="styles">
1717
1647
  @import "${e}";
1718
- ${n}
1648
+ ${i}
1719
1649
  ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
1720
1650
  </style>
1721
1651
  <link rel="stylesheet" href="https://kit.fontawesome.com/26fdbf0179.css" crossorigin="anonymous">
@@ -1733,68 +1663,68 @@ class Ms extends HTMLElement {
1733
1663
  </div>
1734
1664
 
1735
1665
  </div>
1736
- `, this.shadowRoot.appendChild(o.content.cloneNode(!0));
1666
+ `, this.shadowRoot.appendChild(r.content.cloneNode(!0));
1737
1667
  }
1738
1668
  connectedCallback() {
1739
- const s = this.shadowRoot.querySelector(".side-menu"), e = this.shadowRoot.querySelector(".side-menu-content"), n = this.shadowRoot.querySelector(".main-content"), o = this.shadowRoot.querySelector(".side-menu > .btn");
1740
- this.hasAttribute("data-css") && this.shadowRoot.querySelector(".styles").insertAdjacentHTML("beforeend", `@import "${this.getAttribute("data-css")}";`), this.hasAttribute("data-title") || this.setAttribute("data-title", "configuration"), e.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), n.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)") && (this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("h4"), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("main-content__title")), this.hasAttribute("open") && window.innerWidth > 992 && (s.classList.add("open"), o.setAttribute("aria-expanded", !0)), o.addEventListener("click", (a) => {
1741
- s.classList.contains("open") ? (s.classList.remove("open"), o.removeAttribute("aria-expanded"), setTimeout(function() {
1669
+ const a = this.shadowRoot.querySelector(".side-menu"), e = this.shadowRoot.querySelector(".side-menu-content"), i = this.shadowRoot.querySelector(".main-content"), r = this.shadowRoot.querySelector(".side-menu > .btn");
1670
+ this.hasAttribute("data-css") && this.shadowRoot.querySelector(".styles").insertAdjacentHTML("beforeend", `@import "${this.getAttribute("data-css")}";`), this.hasAttribute("data-title") || this.setAttribute("data-title", "configuration"), e.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), i.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)") && (this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("h4"), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("main-content__title")), this.hasAttribute("open") && window.innerWidth > 992 && (a.classList.add("open"), r.setAttribute("aria-expanded", !0)), r.addEventListener("click", (s) => {
1671
+ a.classList.contains("open") ? (a.classList.remove("open"), r.removeAttribute("aria-expanded"), setTimeout(function() {
1742
1672
  e.classList.add("closed");
1743
- }, 1e3), s.classList.add("pe-none"), setTimeout(function() {
1744
- s.classList.remove("pe-none");
1673
+ }, 1e3), a.classList.add("pe-none"), setTimeout(function() {
1674
+ a.classList.remove("pe-none");
1745
1675
  }, 1e3)) : (e.classList.remove("closed"), setTimeout(function() {
1746
- s.classList.add("open"), o.setAttribute("aria-expanded", !0);
1676
+ a.classList.add("open"), r.setAttribute("aria-expanded", !0);
1747
1677
  }, 100));
1748
- }), s.addEventListener("mouseenter", (a) => {
1749
- window.innerWidth > 992 && (s.classList.contains("open") || e.classList.remove("closed"), s.classList.add("hover"));
1750
- }), s.addEventListener("mousemove", (a) => {
1751
- window.innerWidth > 992 && (s.classList.contains("open") || e.classList.remove("closed"));
1752
- }), s.addEventListener("mouseleave", (a) => {
1753
- window.innerWidth > 992 && (s.classList.remove("hover"), s.classList.contains("open") || setTimeout(function() {
1678
+ }), a.addEventListener("mouseenter", (s) => {
1679
+ window.innerWidth > 992 && (a.classList.contains("open") || e.classList.remove("closed"), a.classList.add("hover"));
1680
+ }), a.addEventListener("mousemove", (s) => {
1681
+ window.innerWidth > 992 && (a.classList.contains("open") || e.classList.remove("closed"));
1682
+ }), a.addEventListener("mouseleave", (s) => {
1683
+ window.innerWidth > 992 && (a.classList.remove("hover"), a.classList.contains("open") || setTimeout(function() {
1754
1684
  e.classList.add("closed");
1755
1685
  }, 1e3));
1756
1686
  });
1757
1687
  }
1758
1688
  }
1759
- window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side", Ms);
1760
- const Cs = {
1689
+ window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side", Ha);
1690
+ const Ma = {
1761
1691
  name: "CollapsibleSideMenu",
1762
1692
  props: {},
1763
1693
  mounted() {
1764
1694
  }
1765
1695
  };
1766
- function Ns(t, s, e, n, o, a) {
1767
- return l(), r("iam-collapsible-side", null, [
1768
- m(t.$slots, "default")
1696
+ function Ca(t, a, e, i, r, s) {
1697
+ return o(), l("iam-collapsible-side", null, [
1698
+ u(t.$slots, "default")
1769
1699
  ]);
1770
1700
  }
1771
- const oa = /* @__PURE__ */ p(Cs, [["render", Ns]]);
1701
+ const ns = /* @__PURE__ */ m(Ma, [["render", Ca]]);
1772
1702
  export {
1773
- js as Accordion,
1774
- Is as AccordionItem,
1775
- aa as Actionbar,
1776
- na as AddressLookup,
1777
- ea as AppliedFilters,
1778
- Ds as Banner,
1779
- Fs as Card,
1780
- Vs as Carousel,
1781
- oa as CollapsibleSideMenu,
1782
- zs as FileUpload,
1783
- ta as Filterlist,
1784
- Bs as Header,
1785
- R as Input,
1786
- Ps as Logo,
1787
- Ks as Nav,
1788
- Zs as NoteFeed,
1789
- sa as Notification,
1790
- ia as Pagination,
1791
- Ws as PropertySearchbar,
1792
- Qs as Snapshot,
1793
- Ys as Step,
1794
- Gs as Stepper,
1795
- Xs as Tab,
1796
- N as Table,
1797
- Js as Tabs,
1798
- Os as Testimonial,
1799
- Us as Timeline
1703
+ ja as Accordion,
1704
+ Ia as AccordionItem,
1705
+ as as Actionbar,
1706
+ is as AddressLookup,
1707
+ Za as AppliedFilters,
1708
+ Da as Banner,
1709
+ Va as Card,
1710
+ Fa as Carousel,
1711
+ ns as CollapsibleSideMenu,
1712
+ Ra as FileUpload,
1713
+ es as Filterlist,
1714
+ za as Header,
1715
+ N as Input,
1716
+ Pa as Logo,
1717
+ Wa as Nav,
1718
+ Xa as NoteFeed,
1719
+ ts as Notification,
1720
+ ss as Pagination,
1721
+ Ua as PropertySearchbar,
1722
+ Ga as Snapshot,
1723
+ Qa as Step,
1724
+ Ka as Stepper,
1725
+ Ja as Tab,
1726
+ C as Table,
1727
+ Ya as Tabs,
1728
+ Ba as Testimonial,
1729
+ Oa as Timeline
1800
1730
  };