@iamproperty/components 5.5.0 → 5.5.1-beta-2

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 (96) hide show
  1. package/assets/css/components/actionbar.css +1 -1
  2. package/assets/css/components/actionbar.css.map +1 -1
  3. package/assets/css/components/applied-filters.css +1 -1
  4. package/assets/css/components/applied-filters.css.map +1 -1
  5. package/assets/css/components/card.css +1 -1
  6. package/assets/css/components/card.css.map +1 -1
  7. package/assets/css/components/card.global.css +1 -1
  8. package/assets/css/components/card.global.css.map +1 -1
  9. package/assets/css/components/charts.css +1 -1
  10. package/assets/css/components/charts.css.map +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/nav.css.map +1 -1
  15. package/assets/css/components/slider.css.map +1 -1
  16. package/assets/css/components/tabs.css +1 -1
  17. package/assets/css/components/tabs.css.map +1 -1
  18. package/assets/css/core.min.css +1 -1
  19. package/assets/css/core.min.css.map +1 -1
  20. package/assets/css/style.min.css +1 -1
  21. package/assets/css/style.min.css.map +1 -1
  22. package/assets/js/components/accordion/accordion.component.min.js +1 -1
  23. package/assets/js/components/actionbar/actionbar.component.js +12 -3
  24. package/assets/js/components/actionbar/actionbar.component.min.js +6 -6
  25. package/assets/js/components/actionbar/actionbar.component.min.js.map +1 -1
  26. package/assets/js/components/address-lookup/address-lookup.component.js +7 -0
  27. package/assets/js/components/address-lookup/address-lookup.component.min.js +4 -4
  28. package/assets/js/components/address-lookup/address-lookup.component.min.js.map +1 -1
  29. package/assets/js/components/applied-filters/applied-filters.component.min.js +6 -6
  30. package/assets/js/components/applied-filters/applied-filters.component.min.js.map +1 -1
  31. package/assets/js/components/card/card.component.min.js +3 -3
  32. package/assets/js/components/chart/chart.component.js +71 -0
  33. package/assets/js/components/collapsible-side/collapsible-side.component.min.js +1 -1
  34. package/assets/js/components/fileupload/fileupload.component.js +1 -1
  35. package/assets/js/components/fileupload/fileupload.component.min.js +5 -5
  36. package/assets/js/components/fileupload/fileupload.component.min.js.map +1 -1
  37. package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
  38. package/assets/js/components/header/header.component.min.js +2 -2
  39. package/assets/js/components/nav/nav.component.min.js +1 -1
  40. package/assets/js/components/notification/notification.component.min.js +1 -1
  41. package/assets/js/components/pagination/pagination.component.min.js +1 -1
  42. package/assets/js/components/search/search.component.min.js +1 -1
  43. package/assets/js/components/search/search.component.min.js.map +1 -1
  44. package/assets/js/components/table/table.component.js +2 -2
  45. package/assets/js/components/table/table.component.min.js +6 -6
  46. package/assets/js/components/table/table.component.min.js.map +1 -1
  47. package/assets/js/components/tabs/tabs.component.min.js +2 -2
  48. package/assets/js/dynamic.min.js +1 -1
  49. package/assets/js/dynamic.min.js.map +1 -1
  50. package/assets/js/modules/applied-filters.js +39 -7
  51. package/assets/js/modules/chart.js +613 -111
  52. package/assets/js/modules/fileupload.js +11 -0
  53. package/assets/js/modules/helpers.js +16 -0
  54. package/assets/js/modules/table.js +62 -11
  55. package/assets/js/scripts.bundle.js +31 -31
  56. package/assets/js/scripts.bundle.js.map +1 -1
  57. package/assets/js/scripts.bundle.min.js +2 -2
  58. package/assets/js/scripts.bundle.min.js.map +1 -1
  59. package/assets/sass/_elements.scss +1 -1
  60. package/assets/sass/_functions/variables.scss +80 -0
  61. package/assets/sass/_utilities.scss +1 -0
  62. package/assets/sass/components/actionbar.scss +16 -0
  63. package/assets/sass/components/applied-filters.scss +6 -48
  64. package/assets/sass/components/card.global.scss +4 -0
  65. package/assets/sass/components/card.scss +1 -1
  66. package/assets/sass/components/charts.scss +981 -234
  67. package/assets/sass/components/header.scss +8 -1
  68. package/assets/sass/components/tabs.scss +10 -1
  69. package/assets/sass/elements/badge-tag.scss +82 -0
  70. package/assets/sass/elements/buttons.scss +13 -1
  71. package/assets/sass/elements/details.scss +94 -5
  72. package/assets/sass/elements/dialog.scss +2 -0
  73. package/assets/sass/elements/forms.scss +26 -22
  74. package/assets/sass/elements/tooltips.scss +4 -3
  75. package/assets/sass/foundations/root.scss +11 -0
  76. package/assets/sass/helpers/wider-colours.scss +11 -0
  77. package/assets/ts/components/actionbar/actionbar.component.ts +14 -3
  78. package/assets/ts/components/address-lookup/address-lookup.component.ts +9 -0
  79. package/assets/ts/components/chart/README.md +37 -0
  80. package/assets/ts/components/chart/chart.component.ts +98 -0
  81. package/assets/ts/components/fileupload/fileupload.component.ts +1 -1
  82. package/assets/ts/components/table/table.component.ts +2 -2
  83. package/assets/ts/modules/applied-filters.ts +61 -7
  84. package/assets/ts/modules/chart.ts +808 -119
  85. package/assets/ts/modules/fileupload.ts +19 -0
  86. package/assets/ts/modules/helpers.ts +23 -1
  87. package/assets/ts/modules/table.ts +86 -12
  88. package/dist/components.es.js +397 -381
  89. package/dist/components.umd.js +60 -78
  90. package/dist/style.css +1 -1
  91. package/package.json +1 -1
  92. package/src/components/AppliedFilters/AppliedFilters.vue +1 -1
  93. package/src/components/Chart/Chart.vue +26 -96
  94. package/src/components/Header/Header.vue +1 -1
  95. package/src/components/Table/Table.vue +2 -2
  96. package/assets/sass/elements/badge.scss +0 -29
@@ -1,8 +1,8 @@
1
- import { openBlock as r, createElementBlock as l, normalizeClass as _, createElementVNode as c, toDisplayString as w, createCommentVNode as b, Fragment as x, renderList as L, renderSlot as f, withDirectives as E, mergeProps as A, vModelDynamic as H, vModelText as D, vModelSelect as F, createTextVNode as V, resolveComponent as M, createVNode as k, withModifiers as B } from "vue";
2
- const p = (t, a) => {
1
+ import { openBlock as r, createElementBlock as l, normalizeClass as w, createElementVNode as c, toDisplayString as $, createCommentVNode as b, Fragment as E, renderList as q, renderSlot as f, withDirectives as T, mergeProps as S, vModelDynamic as H, vModelText as I, vModelSelect as D, createTextVNode as V, resolveComponent as M, createVNode as x, withModifiers as B } from "vue";
2
+ const h = (t, a) => {
3
3
  const e = t.__vccOpts || t;
4
- for (const [i, o] of a)
5
- e[i] = o;
4
+ for (const [o, i] of a)
5
+ e[o] = i;
6
6
  return e;
7
7
  }, O = {
8
8
  name: "Logo",
@@ -30,14 +30,14 @@ const p = (t, a) => {
30
30
  }
31
31
  }
32
32
  }, U = ["xlink:href"], W = ["innerHTML"];
33
- function K(t, a, e, i, o, n) {
33
+ function K(t, a, e, o, i, s) {
34
34
  return r(), l("div", {
35
- class: _(n.className)
35
+ class: w(s.className)
36
36
  }, [
37
37
  (r(), l("svg", null, [
38
- c("title", null, "iam " + w(e.id), 1),
38
+ c("title", null, "iam " + $(e.id), 1),
39
39
  c("use", {
40
- "xlink:href": e.path + n.src
40
+ "xlink:href": e.path + s.src
41
41
  }, null, 8, U)
42
42
  ])),
43
43
  e.desc ? (r(), l("span", {
@@ -46,7 +46,7 @@ function K(t, a, e, i, o, n) {
46
46
  }, null, 8, W)) : b("", !0)
47
47
  ], 2);
48
48
  }
49
- const Ia = /* @__PURE__ */ p(O, [["render", K]]), G = (t) => t.charAt(0).toUpperCase() + t.slice(1), Q = (t) => t.replace(/_/g, " "), Y = (t) => t.replace(/ /g, "_"), J = function(t) {
49
+ const za = /* @__PURE__ */ h(O, [["render", K]]), G = (t) => t.charAt(0).toUpperCase() + t.slice(1), Q = (t) => t.replace(/_/g, " "), Y = (t) => t.replace(/ /g, "_"), J = function(t) {
50
50
  return t = t.toLowerCase(), t = Y(t), t = t.replace(/\W/g, ""), t;
51
51
  }, X = {
52
52
  name: "Table",
@@ -67,10 +67,7 @@ const Ia = /* @__PURE__ */ p(O, [["render", K]]), G = (t) => t.charAt(0).toUpper
67
67
  },
68
68
  created() {
69
69
  this.$nextTick(function() {
70
- import(
71
- /* @vite-ignore */
72
- "./table.component.min-8e19e6b9.mjs"
73
- ).then((t) => {
70
+ import("./table.component.min-80bee266.mjs").then((t) => {
74
71
  window.customElements.get("iam-table") || window.customElements.define("iam-table", t.default);
75
72
  }).catch((t) => {
76
73
  console.log(t.message);
@@ -84,23 +81,23 @@ const Ia = /* @__PURE__ */ p(O, [["render", K]]), G = (t) => t.charAt(0).toUpper
84
81
  updated() {
85
82
  }
86
83
  }, Z = { key: 0 }, ee = { key: 0 }, te = ["data-row-id"], ae = ["innerHTML"];
87
- function ie(t, a, e, i, o, n) {
84
+ function se(t, a, e, o, i, s) {
88
85
  return r(), l("iam-table", null, [
89
86
  e.fields ? (r(), l("table", Z, [
90
87
  c("thead", null, [
91
88
  c("tr", null, [
92
- (r(!0), l(x, null, L(e.fields, (s) => (r(), l("th", {
93
- key: s.key
94
- }, w(n.cellHeading(s.key)), 1))), 128))
89
+ (r(!0), l(E, null, q(e.fields, (n) => (r(), l("th", {
90
+ key: n.key
91
+ }, $(s.cellHeading(n.key)), 1))), 128))
95
92
  ])
96
93
  ]),
97
94
  e.items ? (r(), l("tbody", ee, [
98
- (r(!0), l(x, null, L(e.items, (s, d) => (r(), l("tr", {
95
+ (r(!0), l(E, null, q(e.items, (n, d) => (r(), l("tr", {
99
96
  key: d,
100
- "data-row-id": s.rowid
97
+ "data-row-id": n.rowid
101
98
  }, [
102
- (r(!0), l(x, null, L(Object.fromEntries(Object.entries(s).filter(([u]) => u !== "rowid")), (u, h) => (r(), l("td", {
103
- key: h,
99
+ (r(!0), l(E, null, q(Object.fromEntries(Object.entries(n).filter(([u]) => u !== "rowid")), (u, m) => (r(), l("td", {
100
+ key: m,
104
101
  innerHTML: u
105
102
  }, null, 8, ae))), 128))
106
103
  ], 8, te))), 128))
@@ -108,7 +105,7 @@ function ie(t, a, e, i, o, n) {
108
105
  ])) : f(t.$slots, "default", { key: 1 })
109
106
  ]);
110
107
  }
111
- const N = /* @__PURE__ */ p(X, [["render", ie]]), se = {
108
+ const R = /* @__PURE__ */ h(X, [["render", se]]), ie = {
112
109
  name: "Input",
113
110
  props: {
114
111
  value: {
@@ -303,100 +300,100 @@ const N = /* @__PURE__ */ p(X, [["render", ie]]), se = {
303
300
  key: 6,
304
301
  class: "input-group"
305
302
  }, he = ["type", "name", "id", "pattern", "list"], fe = { class: "input-group-text flex-fill" }, be = ["type", "name", "id", "pattern"], ge = ["value"], ye = ["type", "name", "id"], ve = ["for", "innerHTML"], _e = ["type", "name", "id"], we = ["for", "innerHTML"], $e = ["innerHTML"], ke = ["id"], Ae = ["value"];
306
- function xe(t, a, e, i, o, n) {
303
+ function xe(t, a, e, o, i, s) {
307
304
  return r(), l("div", {
308
- class: _(n.wrapperClass()),
305
+ class: w(s.wrapperClass()),
309
306
  ref: "wrapper"
310
307
  }, [
311
- n.needsLabel() ? (r(), l("label", {
308
+ s.needsLabel() ? (r(), l("label", {
312
309
  key: 0,
313
- class: _(`form-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
310
+ class: w(`form-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
314
311
  for: e.id,
315
- innerHTML: n.displayLabel(),
312
+ innerHTML: s.displayLabel(),
316
313
  title: e.title
317
314
  }, null, 10, ne)) : b("", !0),
318
315
  e.prefix ? (r(), l("span", {
319
316
  key: 1,
320
- class: _(`prefix ${this.prefixClass} ${e.size ? `prefix-${e.size}` : ""}`),
317
+ class: w(`prefix ${this.prefixClass} ${e.size ? `prefix-${e.size}` : ""}`),
321
318
  innerHTML: e.prefix,
322
319
  role: "presentation"
323
320
  }, null, 10, oe)) : b("", !0),
324
321
  e.suffix ? (r(), l("span", {
325
322
  key: 2,
326
- class: _(`suffix ${this.suffixClass} ${e.size ? `suffix-${e.size}` : ""}`),
323
+ class: w(`suffix ${this.suffixClass} ${e.size ? `suffix-${e.size}` : ""}`),
327
324
  innerHTML: e.suffix,
328
325
  role: "presentation"
329
326
  }, null, 10, re)) : b("", !0),
330
- n.isInput() ? E((r(), l("input", A({
327
+ s.isInput() ? T((r(), l("input", S({
331
328
  key: 3,
332
- "onUpdate:modelValue": a[0] || (a[0] = (s) => n.inputVal = s),
329
+ "onUpdate:modelValue": a[0] || (a[0] = (n) => s.inputVal = n),
333
330
  class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
334
331
  type: e.type,
335
332
  name: e.name ? e.name : e.id,
336
333
  id: e.id,
337
- pattern: n.needPattern(),
338
- list: n.hasOptions()
334
+ pattern: s.needPattern(),
335
+ list: s.hasOptions()
339
336
  }, t.$attrs, {
340
- onKeyup: a[1] || (a[1] = (...s) => n.inputKeyup && n.inputKeyup(...s))
337
+ onKeyup: a[1] || (a[1] = (...n) => s.inputKeyup && s.inputKeyup(...n))
341
338
  }), null, 16, le)), [
342
- [H, n.inputVal]
339
+ [H, s.inputVal]
343
340
  ]) : b("", !0),
344
- e.type == "textarea" ? E((r(), l("textarea", A({
341
+ e.type == "textarea" ? T((r(), l("textarea", S({
345
342
  key: 4,
346
- "onUpdate:modelValue": a[2] || (a[2] = (s) => n.inputVal = s),
343
+ "onUpdate:modelValue": a[2] || (a[2] = (n) => s.inputVal = n),
347
344
  class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
348
345
  type: e.type,
349
346
  name: e.name ? e.name : e.id,
350
347
  id: e.id,
351
- pattern: n.needPattern()
348
+ pattern: s.needPattern()
352
349
  }, t.$attrs), null, 16, de)), [
353
- [D, n.inputVal]
350
+ [I, s.inputVal]
354
351
  ]) : b("", !0),
355
352
  e.type == "range" ? (r(), l("div", ce, [
356
- E(c("input", A({
357
- "onUpdate:modelValue": a[3] || (a[3] = (s) => n.inputVal = s),
353
+ T(c("input", S({
354
+ "onUpdate:modelValue": a[3] || (a[3] = (n) => s.inputVal = n),
358
355
  class: `form-range${e.inputclass ? ` ${e.inputclass}` : ""}`,
359
356
  type: e.type,
360
357
  name: e.name ? e.name : e.id,
361
358
  id: e.id,
362
- pattern: n.needPattern(),
363
- list: n.hasOptions()
359
+ pattern: s.needPattern(),
360
+ list: s.hasOptions()
364
361
  }, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, ue), [
365
- [H, n.inputVal]
362
+ [H, s.inputVal]
366
363
  ]),
367
- c("output", me, w(e.value), 1)
364
+ c("output", me, $(e.value), 1)
368
365
  ])) : b("", !0),
369
366
  e.type == "color" ? (r(), l("div", pe, [
370
- E(c("input", A({
371
- "onUpdate:modelValue": a[4] || (a[4] = (s) => n.inputVal = s),
367
+ T(c("input", S({
368
+ "onUpdate:modelValue": a[4] || (a[4] = (n) => s.inputVal = n),
372
369
  class: `form-control form-control-color${e.inputclass ? ` ${e.inputclass}` : ""}`,
373
370
  type: e.type,
374
371
  name: e.name ? e.name : e.id,
375
372
  id: e.id,
376
- pattern: n.needPattern(),
377
- list: n.hasOptions()
373
+ pattern: s.needPattern(),
374
+ list: s.hasOptions()
378
375
  }, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, he), [
379
- [H, n.inputVal]
376
+ [H, s.inputVal]
380
377
  ]),
381
- c("output", fe, w(e.value ? t.vale : "#000000"), 1)
378
+ c("output", fe, $(e.value ? t.vale : "#000000"), 1)
382
379
  ])) : b("", !0),
383
- e.type == "select" ? E((r(), l("select", A({
380
+ e.type == "select" ? T((r(), l("select", S({
384
381
  key: 7,
385
- "onUpdate:modelValue": a[5] || (a[5] = (s) => n.inputVal = s),
382
+ "onUpdate:modelValue": a[5] || (a[5] = (n) => s.inputVal = n),
386
383
  class: `form-select${e.size ? ` form-select-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
387
384
  type: e.type,
388
385
  name: e.id,
389
386
  id: e.id,
390
- pattern: n.needPattern()
387
+ pattern: s.needPattern()
391
388
  }, t.$attrs), [
392
- (r(!0), l(x, null, L(e.options, (s, d) => (r(), l("option", {
389
+ (r(!0), l(E, null, q(e.options, (n, d) => (r(), l("option", {
393
390
  key: d,
394
- value: s.value
395
- }, w(s.display ? s.display : s.value), 9, ge))), 128))
391
+ value: n.value
392
+ }, $(n.display ? n.display : n.value), 9, ge))), 128))
396
393
  ], 16, be)), [
397
- [F, n.inputVal]
394
+ [D, s.inputVal]
398
395
  ]) : b("", !0),
399
- e.type == "checkbox" || e.type == "radio" ? (r(), l("input", A({
396
+ e.type == "checkbox" || e.type == "radio" ? (r(), l("input", S({
400
397
  key: 8,
401
398
  class: "form-check-input",
402
399
  type: e.type,
@@ -405,11 +402,11 @@ function xe(t, a, e, i, o, n) {
405
402
  }, t.$attrs), null, 16, ye)) : b("", !0),
406
403
  e.type == "checkbox" || e.type == "radio" ? (r(), l("label", {
407
404
  key: 9,
408
- class: _(`form-label form-check-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
405
+ class: w(`form-label form-check-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
409
406
  for: e.id,
410
407
  innerHTML: e.label
411
408
  }, null, 10, ve)) : b("", !0),
412
- e.type == "checkbox-btn" || e.type == "radio-btn" ? (r(), l("input", A({
409
+ e.type == "checkbox-btn" || e.type == "radio-btn" ? (r(), l("input", S({
413
410
  key: 10,
414
411
  class: `btn-check${e.inputclass ? ` ${e.inputclass}` : ""}`,
415
412
  type: e.type.replace("-btn", ""),
@@ -419,10 +416,10 @@ function xe(t, a, e, i, o, n) {
419
416
  }, t.$attrs), null, 16, _e)) : b("", !0),
420
417
  e.type == "checkbox-btn" || e.type == "radio-btn" ? (r(), l("label", {
421
418
  key: 11,
422
- class: _(`btn${e.labelclass ? ` ${e.labelclass}` : ""}`),
419
+ class: w(`btn${e.labelclass ? ` ${e.labelclass}` : ""}`),
423
420
  for: e.id,
424
421
  innerHTML: e.label,
425
- onClick: a[6] || (a[6] = (...s) => n.clickEvent && n.clickEvent(...s))
422
+ onClick: a[6] || (a[6] = (...n) => s.clickEvent && s.clickEvent(...n))
426
423
  }, null, 10, we)) : b("", !0),
427
424
  f(t.$slots, "default"),
428
425
  e.errormsg ? (r(), l("span", {
@@ -430,58 +427,66 @@ function xe(t, a, e, i, o, n) {
430
427
  class: "invalid-feedback mb-0",
431
428
  innerHTML: e.errormsg
432
429
  }, null, 8, $e)) : b("", !0),
433
- n.allowDatalist() ? (r(), l("datalist", {
430
+ s.allowDatalist() ? (r(), l("datalist", {
434
431
  key: 13,
435
432
  id: e.id + "-list"
436
433
  }, [
437
- (r(!0), l(x, null, L(e.options, (s, d) => (r(), l("option", {
434
+ (r(!0), l(E, null, q(e.options, (n, d) => (r(), l("option", {
438
435
  key: d,
439
- value: s.value
440
- }, w(s.value), 9, Ae))), 128))
436
+ value: n.value
437
+ }, $(n.value), 9, Ae))), 128))
441
438
  ], 8, ke)) : b("", !0)
442
439
  ], 2);
443
440
  }
444
- const R = /* @__PURE__ */ p(se, [["render", xe]]);
441
+ const P = /* @__PURE__ */ h(ie, [["render", xe]]);
445
442
  function Le(t, a) {
446
- const e = a.querySelector(".files"), i = a.querySelector(".drop-area"), o = t.querySelector("input"), n = t.hasAttribute("data-maxsize") ? t.getAttribute("data-maxsize") : 0, s = o.cloneNode();
447
- i.append(s), a.addEventListener("click", (d) => {
448
- d && d.target instanceof HTMLElement && d.target.closest(".btn-primary") && (d.target.closest(".btn-primary"), (o.hasAttribute("multiple") ? s : o).click());
443
+ const e = a.querySelector(".files"), o = a.querySelector(".drop-area"), i = t.querySelector("input"), s = t.hasAttribute("data-maxsize") ? t.getAttribute("data-maxsize") : 0, n = i.cloneNode();
444
+ if (o.append(n), a.addEventListener("click", (d) => {
445
+ d && d.target instanceof HTMLElement && d.target.closest(".btn-primary") && (d.target.closest(".btn-primary"), (i.hasAttribute("multiple") ? n : i).click());
449
446
  }), a.addEventListener("click", (d) => {
450
447
  if (d && d.target instanceof HTMLElement && d.target.closest(".files button")) {
451
- const u = new DataTransfer(), { files: h } = o, g = d.target.closest(".files button");
452
- for (let y = 0; y < h.length; y++) {
453
- const v = h[y];
454
- v.name != g.getAttribute("data-file") && u.items.add(v);
448
+ const u = new DataTransfer(), { files: m } = i, y = d.target.closest(".files button");
449
+ for (let g = 0; g < m.length; g++) {
450
+ const v = m[g];
451
+ v.name != y.getAttribute("data-file") && u.items.add(v);
455
452
  }
456
- o.files = u.files;
457
- const m = new Event("change");
458
- o.dispatchEvent(m);
453
+ if (i.files = u.files, i.files.length == 0) {
454
+ const g = new Event("empty");
455
+ t.dispatchEvent(g);
456
+ }
457
+ const p = new Event("change");
458
+ i.dispatchEvent(p);
459
459
  }
460
- }), s.addEventListener("change", (d) => {
461
- if (o.hasAttribute("multiple")) {
462
- const h = [...o.files, ...s.files];
463
- let g = [];
464
- const m = new DataTransfer();
465
- for (let y = 0; y < h.length; y++) {
466
- const v = h[y], $ = v.size / 1e3;
467
- !g.includes(v.name) && (n == 0 || $ < n) && m.items.add(v), g.push(v.name);
460
+ }), n.addEventListener("change", (d) => {
461
+ if (i.hasAttribute("multiple")) {
462
+ const y = [...i.files, ...n.files];
463
+ let p = [];
464
+ const g = new DataTransfer();
465
+ for (let v = 0; v < y.length; v++) {
466
+ const _ = y[v], k = _.size / 1e3;
467
+ !p.includes(_.name) && (s == 0 || k < s) && g.items.add(_), p.push(_.name);
468
468
  }
469
- o.files = m.files;
469
+ i.files = g.files;
470
470
  } else
471
- o.files = s.files;
471
+ i.files = n.files;
472
472
  const u = new Event("change");
473
- o.dispatchEvent(u);
474
- }), s.addEventListener("dragenter", (d) => {
475
- s.classList.add("focus");
476
- }), s.addEventListener("dragleave", (d) => {
477
- s.classList.remove("focus");
478
- }), s.addEventListener("drop", (d) => {
479
- s.classList.remove("focus");
480
- }), o.addEventListener("change", (d) => {
473
+ i.dispatchEvent(u);
474
+ const m = new Event("elementChange");
475
+ t.dispatchEvent(m);
476
+ }), n.addEventListener("dragenter", (d) => {
477
+ n.classList.add("focus");
478
+ }), n.addEventListener("dragleave", (d) => {
479
+ n.classList.remove("focus");
480
+ }), n.addEventListener("drop", (d) => {
481
+ n.classList.remove("focus");
482
+ }), i.addEventListener("change", (d) => {
481
483
  e.innerHTML = "";
482
- for (const u of o.files)
484
+ for (const u of i.files)
483
485
  e.innerHTML += `<span class="file">${u.name} <button data-file="${u.name}">Remove</button></span>`;
484
- });
486
+ }), t.hasAttribute("data-filename")) {
487
+ let d = t.getAttribute("data-filename");
488
+ d && (e.innerHTML += `<span class="file">${d} <button data-file="${d}">Remove</button></span>`);
489
+ }
485
490
  }
486
491
  window.dataLayer = window.dataLayer || [];
487
492
  window.dataLayer.push({
@@ -491,11 +496,11 @@ window.dataLayer.push({
491
496
  class Se extends HTMLElement {
492
497
  constructor() {
493
498
  super(), this.attachShadow({ mode: "open" });
494
- 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/fileupload.css";`, o = document.createElement("template");
495
- o.innerHTML = `
499
+ 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`, o = `@import "${a}/css/components/fileupload.css";`, i = document.createElement("template");
500
+ i.innerHTML = `
496
501
  <style>
497
502
  @import "${e}";
498
- ${i}
503
+ ${o}
499
504
  ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
500
505
  </style>
501
506
  <div class="file-upload">
@@ -505,17 +510,17 @@ class Se extends HTMLElement {
505
510
  <div class="drop-area"></div>
506
511
  <hr/>
507
512
  <slot></slot>
508
- <div class="files"></div>
513
+ <div class="files"><slot name="files"></slot></div>
509
514
  </div>
510
- `, this.shadowRoot.appendChild(o.content.cloneNode(!0));
515
+ `, this.shadowRoot.appendChild(i.content.cloneNode(!0));
511
516
  }
512
517
  connectedCallback() {
513
518
  this.innerHTML += '<i class="fa-regular fa-arrow-up-from-bracket me-2" aria-hidden="true" slot="btn"></i>';
514
- const a = this.shadowRoot.querySelector(".file-upload"), e = this.querySelector("input"), i = this.shadowRoot.querySelector(".helper-text");
515
- i.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, a);
519
+ const a = this.shadowRoot.querySelector(".file-upload"), e = this.querySelector("input"), o = this.shadowRoot.querySelector(".helper-text");
520
+ o.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, a);
516
521
  }
517
522
  }
518
- const qe = {
523
+ const Ee = {
519
524
  name: "FileUpload",
520
525
  props: {
521
526
  maxfilesize: {
@@ -533,18 +538,18 @@ const qe = {
533
538
  });
534
539
  }
535
540
  };
536
- function Ee(t, a, e, i, o, n) {
541
+ function qe(t, a, e, o, i, s) {
537
542
  return r(), l("iam-fileupload", null, [
538
543
  f(t.$slots, "default")
539
544
  ]);
540
545
  }
541
- const Da = /* @__PURE__ */ p(qe, [["render", Ee]]);
546
+ const Ia = /* @__PURE__ */ h(Ee, [["render", qe]]);
542
547
  const Te = {
543
548
  name: "Accordion",
544
549
  props: {},
545
550
  mounted() {
546
551
  this.$nextTick(function() {
547
- import("./accordion.component.min-b9d23879.mjs").then((t) => {
552
+ import("./accordion.component.min-125bfba8.mjs").then((t) => {
548
553
  window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", t.default);
549
554
  }).catch((t) => {
550
555
  console.log(t.message);
@@ -552,12 +557,12 @@ const Te = {
552
557
  });
553
558
  }
554
559
  }, He = { ref: "wrapper" };
555
- function Me(t, a, e, i, o, n) {
560
+ function Me(t, a, e, o, i, s) {
556
561
  return r(), l("iam-accordion", He, [
557
562
  f(t.$slots, "default")
558
563
  ], 512);
559
564
  }
560
- const Fa = /* @__PURE__ */ p(Te, [["render", Me]]), Ce = {
565
+ const Da = /* @__PURE__ */ h(Te, [["render", Me]]), Ce = {
561
566
  name: "AccordionItem",
562
567
  props: {
563
568
  title: {
@@ -592,22 +597,22 @@ const Fa = /* @__PURE__ */ p(Te, [["render", Me]]), Ce = {
592
597
  show: !this.lazy
593
598
  };
594
599
  }
595
- }, je = ["id"];
596
- function Ne(t, a, e, i, o, n) {
600
+ }, Ne = ["id"];
601
+ function je(t, a, e, o, i, s) {
597
602
  return r(), l("details", {
598
- id: n.createID(e.title)
603
+ id: s.createID(e.title)
599
604
  }, [
600
605
  c("summary", null, [
601
- V(w(e.title), 1),
606
+ V($(e.title), 1),
602
607
  e.badge ? (r(), l("span", {
603
608
  key: 0,
604
- class: _(`badge bg-${e.badgecolour}`)
605
- }, w(e.badge), 3)) : b("", !0)
609
+ class: w(`badge bg-${e.badgecolour}`)
610
+ }, $(e.badge), 3)) : b("", !0)
606
611
  ]),
607
612
  f(t.$slots, "default")
608
- ], 8, je);
613
+ ], 8, Ne);
609
614
  }
610
- const Va = /* @__PURE__ */ p(Ce, [["render", Ne]]), Re = {
615
+ const Va = /* @__PURE__ */ h(Ce, [["render", je]]), Re = {
611
616
  name: "Header",
612
617
  props: {
613
618
  title: {
@@ -624,20 +629,20 @@ const Va = /* @__PURE__ */ p(Ce, [["render", Ne]]), Re = {
624
629
  required: !1
625
630
  }
626
631
  }
627
- }, Pe = { class: "container" }, ze = { class: "row" }, Ie = { class: "col-sm-6" }, De = { class: "pt-5 pb-3 px-4" }, Fe = { class: "col-sm-6 col-md-5 ms-auto" }, Ve = ["src"];
628
- function Be(t, a, e, i, o, n) {
632
+ }, Pe = { class: "container" }, Fe = { class: "row" }, ze = { class: "col-sm-6" }, Ie = { class: "pt-5 pb-3 px-4" }, De = { class: "col-sm-6 col-md-5 ms-auto" }, Ve = ["src"];
633
+ function Be(t, a, e, o, i, s) {
629
634
  return r(), l("div", Pe, [
630
635
  c("div", {
631
- class: _("bg-" + e.background + " mb-4")
636
+ class: w("bg-" + e.background + " mb-4")
632
637
  }, [
633
- c("div", ze, [
634
- c("div", Ie, [
635
- c("div", De, [
636
- c("h2", null, w(e.title), 1),
638
+ c("div", Fe, [
639
+ c("div", ze, [
640
+ c("div", Ie, [
641
+ c("h2", null, $(e.title), 1),
637
642
  f(t.$slots, "default")
638
643
  ])
639
644
  ]),
640
- c("div", Fe, [
645
+ c("div", De, [
641
646
  e.image ? (r(), l("img", {
642
647
  key: 0,
643
648
  src: e.image,
@@ -649,13 +654,13 @@ function Be(t, a, e, i, o, n) {
649
654
  ], 2)
650
655
  ]);
651
656
  }
652
- const Ba = /* @__PURE__ */ p(Re, [["render", Be]]), Oe = {
657
+ const Ba = /* @__PURE__ */ h(Re, [["render", Be]]), Oe = {
653
658
  name: "Card",
654
659
  mounted() {
655
660
  this.$nextTick(function() {
656
661
  import(
657
662
  /* @vite-ignore */
658
- "./card.component.min-7fc40c2b.mjs"
663
+ "./card.component.min-773dc232.mjs"
659
664
  ).then((t) => {
660
665
  window.customElements.get("iam-card") || window.customElements.define("iam-card", t.default);
661
666
  }).catch((t) => {
@@ -664,15 +669,15 @@ const Ba = /* @__PURE__ */ p(Re, [["render", Be]]), Oe = {
664
669
  });
665
670
  }
666
671
  };
667
- function Ue(t, a, e, i, o, n) {
672
+ function Ue(t, a, e, o, i, s) {
668
673
  return r(), l("iam-card", null, [
669
674
  f(t.$slots, "default")
670
675
  ]);
671
676
  }
672
- const Oa = /* @__PURE__ */ p(Oe, [["render", Ue]]), T = (t, a) => {
677
+ const Oa = /* @__PURE__ */ h(Oe, [["render", Ue]]), N = (t, a) => {
673
678
  const e = t[a];
674
- return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((i, o) => {
675
- (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(o.bind(null, new Error("Unknown variable dynamic import: " + a)));
679
+ return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((o, i) => {
680
+ (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(i.bind(null, new Error("Unknown variable dynamic import: " + a)));
676
681
  });
677
682
  }, We = {
678
683
  name: "Header",
@@ -688,7 +693,7 @@ const Oa = /* @__PURE__ */ p(Oe, [["render", Ue]]), T = (t, a) => {
688
693
  },
689
694
  mounted() {
690
695
  this.$nextTick(function() {
691
- T(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/carousel/carousel.component.js": () => import("./carousel.component-72a8511a.mjs") }), "../../../assets/js/components/carousel/carousel.component.js").then((t) => {
696
+ N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/carousel/carousel.component.js": () => import("./carousel.component-72a8511a.mjs") }), "../../../assets/js/components/carousel/carousel.component.js").then((t) => {
692
697
  window.customElements.get("iam-carousel") || window.customElements.define("iam-carousel", t.default);
693
698
  }).catch((t) => {
694
699
  console.log(t.message);
@@ -696,12 +701,12 @@ const Oa = /* @__PURE__ */ p(Oe, [["render", Ue]]), T = (t, a) => {
696
701
  });
697
702
  }
698
703
  };
699
- function Ke(t, a, e, i, o, n) {
704
+ function Ke(t, a, e, o, i, s) {
700
705
  return r(), l("iam-carousel", null, [
701
706
  f(t.$slots, "default")
702
707
  ]);
703
708
  }
704
- const Ua = /* @__PURE__ */ p(We, [["render", Ke]]), Ge = {
709
+ const Ua = /* @__PURE__ */ h(We, [["render", Ke]]), Ge = {
705
710
  name: "Header",
706
711
  props: {
707
712
  title: {
@@ -715,7 +720,7 @@ const Ua = /* @__PURE__ */ p(We, [["render", Ke]]), Ge = {
715
720
  },
716
721
  mounted() {
717
722
  this.$nextTick(function() {
718
- T(/* @__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-1aa6ab3d.mjs") }), "../../../assets/js/components/header/header.component.js").then((t) => {
723
+ import("./header.component.min-ab4270b0.mjs").then((t) => {
719
724
  window.customElements.get("iam-header") || window.customElements.define("iam-header", t.default);
720
725
  }).catch((t) => {
721
726
  console.log(t.message);
@@ -723,7 +728,7 @@ const Ua = /* @__PURE__ */ p(We, [["render", Ke]]), Ge = {
723
728
  });
724
729
  }
725
730
  }, Qe = ["image"], Ye = ["innerHTML"];
726
- function Je(t, a, e, i, o, n) {
731
+ function Je(t, a, e, o, i, s) {
727
732
  return r(), l("iam-header", { image: e.image }, [
728
733
  f(t.$slots, "breadcrumb"),
729
734
  e.title ? (r(), l("h1", {
@@ -733,29 +738,29 @@ function Je(t, a, e, i, o, n) {
733
738
  f(t.$slots, "default")
734
739
  ], 8, Qe);
735
740
  }
736
- const Wa = /* @__PURE__ */ p(Ge, [["render", Je]]);
741
+ const Wa = /* @__PURE__ */ h(Ge, [["render", Je]]);
737
742
  function Xe(t) {
738
743
  var a;
739
- const e = t.querySelector(".testimonial__images"), i = e.querySelectorAll("img").length;
740
- if (i == 1)
744
+ const e = t.querySelector(".testimonial__images"), o = e.querySelectorAll("img").length;
745
+ if (o == 1)
741
746
  return !1;
742
747
  t.classList.add("testimonial--multi");
743
- const o = function(n) {
744
- const s = t.querySelector(".btn-next"), d = t.querySelector(".btn-prev");
745
- s.setAttribute("data-go", n + 1), d.setAttribute("data-go", n - 1), s.removeAttribute("disabled"), d.removeAttribute("disabled"), n == 1 ? d.setAttribute("disabled", !0) : n == i && s.setAttribute("disabled", !0);
748
+ const i = function(s) {
749
+ const n = t.querySelector(".btn-next"), d = t.querySelector(".btn-prev");
750
+ n.setAttribute("data-go", s + 1), d.setAttribute("data-go", s - 1), n.removeAttribute("disabled"), d.removeAttribute("disabled"), s == 1 ? d.setAttribute("disabled", !0) : s == o && n.setAttribute("disabled", !0);
746
751
  };
747
- e.addEventListener("scroll", function(n) {
752
+ e.addEventListener("scroll", function(s) {
748
753
  clearTimeout(a), a = setTimeout(function() {
749
- let s = e.scrollWidth, d = e.scrollHeight, u = e.scrollLeft, h = e.scrollTop, g = Math.round(u / s * i) + 1;
750
- u == 0 && h != 0 && (g = Math.round(h / d * i) + 1), t.setAttribute("data-show", g), o(g);
754
+ let n = e.scrollWidth, d = e.scrollHeight, u = e.scrollLeft, m = e.scrollTop, y = Math.round(u / n * o) + 1;
755
+ u == 0 && m != 0 && (y = Math.round(m / d * o) + 1), t.setAttribute("data-show", y), i(y);
751
756
  }, 300);
752
- }, !1), t.addEventListener("click", function(n) {
753
- for (var s = n.target; s && s != this; s = s.parentNode)
754
- if (s.matches("[data-go]")) {
755
- let d = parseInt(s.getAttribute("data-go")), u = 0, h = 0, g = e.scrollWidth, m = e.scrollHeight;
756
- g > m ? h = Math.floor(g * ((d - 1) / i)) : u = Math.floor(m * ((d - 1) / i)), e.scroll({
757
+ }, !1), t.addEventListener("click", function(s) {
758
+ for (var n = s.target; n && n != this; n = n.parentNode)
759
+ if (n.matches("[data-go]")) {
760
+ let d = parseInt(n.getAttribute("data-go")), u = 0, m = 0, y = e.scrollWidth, p = e.scrollHeight;
761
+ y > p ? m = Math.floor(y * ((d - 1) / o)) : u = Math.floor(p * ((d - 1) / o)), e.scroll({
757
762
  top: u,
758
- left: h,
763
+ left: m,
759
764
  behavior: "smooth"
760
765
  });
761
766
  break;
@@ -782,7 +787,7 @@ const Ze = {
782
787
  class: "container testimonial mb-5",
783
788
  "data-show": "1",
784
789
  ref: "wrapper"
785
- }, tt = { class: "row" }, at = { class: "col-md-5 position-relative" }, it = { class: "testimonial__images" }, st = ["src"], nt = /* @__PURE__ */ c("div", { class: "testimonial__controls" }, [
790
+ }, tt = { class: "row" }, at = { class: "col-md-5 position-relative" }, st = { class: "testimonial__images" }, it = ["src"], nt = /* @__PURE__ */ c("div", { class: "testimonial__controls" }, [
786
791
  /* @__PURE__ */ c("button", {
787
792
  "data-go": "0",
788
793
  disabled: "",
@@ -793,35 +798,35 @@ const Ze = {
793
798
  class: "btn-next"
794
799
  }, "Next")
795
800
  ], -1), ot = { class: "col-md-7" }, rt = /* @__PURE__ */ c("h2", null, "What our customers think…", -1), lt = { class: "testimonial__content" }, dt = ["innerHTML"], ct = ["innerHTML"], ut = { class: "testimonial__after" }, mt = /* @__PURE__ */ c("span", { class: "circle circle--dots d-none d-md-block" }, null, -1);
796
- function pt(t, a, e, i, o, n) {
801
+ function pt(t, a, e, o, i, s) {
797
802
  return r(), l("div", et, [
798
803
  c("div", {
799
- class: _("bg-" + e.background)
804
+ class: w("bg-" + e.background)
800
805
  }, [
801
806
  c("div", tt, [
802
807
  c("div", at, [
803
- c("div", it, [
804
- (r(!0), l(x, null, L(e.items, (s, d) => (r(), l("img", {
808
+ c("div", st, [
809
+ (r(!0), l(E, null, q(e.items, (n, d) => (r(), l("img", {
805
810
  key: d,
806
- src: s.image ? s.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
811
+ src: n.image ? n.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
807
812
  alt: "",
808
- class: _("h-100 w-100 object-cover" + (s.image ? "" : " opacity-0"))
809
- }, null, 10, st))), 128))
813
+ class: w("h-100 w-100 object-cover" + (n.image ? "" : " opacity-0"))
814
+ }, null, 10, it))), 128))
810
815
  ]),
811
816
  nt
812
817
  ]),
813
818
  c("div", ot, [
814
819
  rt,
815
820
  c("div", lt, [
816
- (r(!0), l(x, null, L(e.items, (s, d) => (r(), l("blockquote", {
821
+ (r(!0), l(E, null, q(e.items, (n, d) => (r(), l("blockquote", {
817
822
  key: d,
818
- class: _(s.class)
823
+ class: w(n.class)
819
824
  }, [
820
825
  c("div", {
821
- innerHTML: s.quote
826
+ innerHTML: n.quote
822
827
  }, null, 8, dt),
823
828
  c("cite", {
824
- innerHTML: s.cite
829
+ innerHTML: n.cite
825
830
  }, null, 8, ct)
826
831
  ], 2))), 128))
827
832
  ]),
@@ -834,7 +839,7 @@ function pt(t, a, e, i, o, n) {
834
839
  ], 2)
835
840
  ], 512);
836
841
  }
837
- const Ka = /* @__PURE__ */ p(Ze, [["render", pt]]);
842
+ const Ka = /* @__PURE__ */ h(Ze, [["render", pt]]);
838
843
  const ht = {
839
844
  name: "Timeline",
840
845
  props: {
@@ -844,7 +849,7 @@ const ht = {
844
849
  }
845
850
  }
846
851
  }, ft = { class: "timeline" }, bt = { class: "timeline__content" }, gt = ["src"];
847
- function yt(t, a, e, i, o, n) {
852
+ function yt(t, a, e, o, i, s) {
848
853
  return r(), l("div", ft, [
849
854
  c("div", bt, [
850
855
  f(t.$slots, "default")
@@ -856,10 +861,10 @@ function yt(t, a, e, i, o, n) {
856
861
  }, null, 8, gt)) : b("", !0)
857
862
  ]);
858
863
  }
859
- const Ga = /* @__PURE__ */ p(ht, [["render", yt]]);
864
+ const Ga = /* @__PURE__ */ h(ht, [["render", yt]]);
860
865
  const vt = {
861
866
  components: {
862
- Input: R
867
+ Input: P
863
868
  },
864
869
  name: "PropertySearchbar",
865
870
  props: {
@@ -1009,7 +1014,7 @@ const vt = {
1009
1014
  }, wt = { class: "property-searchbar" }, $t = ["action", "method"], kt = { class: "col-12 col-md-3" }, At = { class: "col-12 col-md" }, xt = /* @__PURE__ */ c("span", { class: "form-label d-none d-md-block" }, "Price range", -1), Lt = {
1010
1015
  class: "row",
1011
1016
  "data-input-range": ""
1012
- }, St = { class: "col-12 col-md" }, qt = /* @__PURE__ */ c("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1), Et = {
1017
+ }, St = { class: "col-12 col-md" }, Et = /* @__PURE__ */ c("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1), qt = {
1013
1018
  class: "row",
1014
1019
  "data-input-range": ""
1015
1020
  }, Tt = { class: "col-12 col-md-2" }, Ht = /* @__PURE__ */ c("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
@@ -1019,8 +1024,8 @@ const vt = {
1019
1024
  value: "submit"
1020
1025
  }, "Search")
1021
1026
  ], -1);
1022
- function Mt(t, a, e, i, o, n) {
1023
- const s = M("Input");
1027
+ function Mt(t, a, e, o, i, s) {
1028
+ const n = M("Input");
1024
1029
  return r(), l("div", _t, [
1025
1030
  f(t.$slots, "default"),
1026
1031
  c("div", wt, [
@@ -1030,19 +1035,19 @@ function Mt(t, a, e, i, o, n) {
1030
1035
  method: e.formmethod
1031
1036
  }, [
1032
1037
  c("fieldset", kt, [
1033
- k(s, {
1038
+ x(n, {
1034
1039
  inputClass: "input--locations",
1035
- modelValue: n.locationSet,
1036
- "onUpdate:modelValue": a[0] || (a[0] = (d) => n.locationSet = d),
1040
+ modelValue: s.locationSet,
1041
+ "onUpdate:modelValue": a[0] || (a[0] = (d) => s.locationSet = d),
1037
1042
  label: "Location",
1038
1043
  id: "location",
1039
- options: n.locationsList(),
1044
+ options: s.locationsList(),
1040
1045
  required: "",
1041
1046
  placeholder: "i.e. Newcastle or NE1",
1042
- onKeyupEvent: a[1] || (a[1] = (d) => n.locationKeyup(...arguments)),
1047
+ onKeyupEvent: a[1] || (a[1] = (d) => s.locationKeyup(...arguments)),
1043
1048
  ref: "search"
1044
1049
  }, null, 8, ["modelValue", "options"]),
1045
- k(s, {
1050
+ x(n, {
1046
1051
  class: "select--miles",
1047
1052
  label: "Miles",
1048
1053
  id: "miles",
@@ -1053,7 +1058,7 @@ function Mt(t, a, e, i, o, n) {
1053
1058
  c("fieldset", At, [
1054
1059
  xt,
1055
1060
  c("div", Lt, [
1056
- k(s, {
1061
+ x(n, {
1057
1062
  class: "col-6",
1058
1063
  label: "Minimum price",
1059
1064
  id: "price-min",
@@ -1061,7 +1066,7 @@ function Mt(t, a, e, i, o, n) {
1061
1066
  type: "select",
1062
1067
  options: e.pricemin
1063
1068
  }, null, 8, ["options"]),
1064
- k(s, {
1069
+ x(n, {
1065
1070
  class: "col-6",
1066
1071
  label: "Maximum price",
1067
1072
  id: "price-max",
@@ -1072,9 +1077,9 @@ function Mt(t, a, e, i, o, n) {
1072
1077
  ])
1073
1078
  ]),
1074
1079
  c("fieldset", St, [
1075
- qt,
1076
- c("div", Et, [
1077
- k(s, {
1080
+ Et,
1081
+ c("div", qt, [
1082
+ x(n, {
1078
1083
  class: "col-6",
1079
1084
  label: "Minimum beds",
1080
1085
  id: "beds-min",
@@ -1082,7 +1087,7 @@ function Mt(t, a, e, i, o, n) {
1082
1087
  type: "select",
1083
1088
  options: e.bedsmin
1084
1089
  }, null, 8, ["options"]),
1085
- k(s, {
1090
+ x(n, {
1086
1091
  class: "col-6",
1087
1092
  label: "Maximum beds",
1088
1093
  id: "beds-max",
@@ -1093,7 +1098,7 @@ function Mt(t, a, e, i, o, n) {
1093
1098
  ])
1094
1099
  ]),
1095
1100
  c("fieldset", Tt, [
1096
- k(s, {
1101
+ x(n, {
1097
1102
  label: "Property type",
1098
1103
  id: "property-type",
1099
1104
  type: "select",
@@ -1106,12 +1111,12 @@ function Mt(t, a, e, i, o, n) {
1106
1111
  f(t.$slots, "after")
1107
1112
  ], 512);
1108
1113
  }
1109
- const Qa = /* @__PURE__ */ p(vt, [["render", Mt]]), Ct = {
1114
+ const Qa = /* @__PURE__ */ h(vt, [["render", Mt]]), Ct = {
1110
1115
  components: {},
1111
1116
  name: "Nav",
1112
1117
  mounted() {
1113
1118
  this.$nextTick(function() {
1114
- import("./nav.component.min-59dc3615.mjs").then((t) => {
1119
+ import("./nav.component.min-3448e6b7.mjs").then((t) => {
1115
1120
  window.customElements.get("iam-nav") || window.customElements.define("iam-nav", t.default);
1116
1121
  }).catch((t) => {
1117
1122
  console.log(t.message);
@@ -1119,13 +1124,13 @@ const Qa = /* @__PURE__ */ p(vt, [["render", Mt]]), Ct = {
1119
1124
  });
1120
1125
  },
1121
1126
  methods: {}
1122
- }, jt = { ref: "wrapper" };
1123
- function Nt(t, a, e, i, o, n) {
1124
- return r(), l("iam-nav", jt, [
1127
+ }, Nt = { ref: "wrapper" };
1128
+ function jt(t, a, e, o, i, s) {
1129
+ return r(), l("iam-nav", Nt, [
1125
1130
  f(t.$slots, "default")
1126
1131
  ], 512);
1127
1132
  }
1128
- const Ya = /* @__PURE__ */ p(Ct, [["render", Nt]]);
1133
+ const Ya = /* @__PURE__ */ h(Ct, [["render", jt]]);
1129
1134
  const Rt = {
1130
1135
  name: "Stepper",
1131
1136
  props: {
@@ -1139,25 +1144,25 @@ const Rt = {
1139
1144
  default: "Complete"
1140
1145
  }
1141
1146
  }
1142
- }, Pt = { class: "container" }, zt = ["aria-label"], It = {
1147
+ }, Pt = { class: "container" }, Ft = ["aria-label"], zt = {
1143
1148
  key: 0,
1144
1149
  class: "h6 stepper__start"
1145
- }, Dt = { class: "list-unstyled" }, Ft = { class: "h6 stepper__end" };
1146
- function Vt(t, a, e, i, o, n) {
1150
+ }, It = { class: "list-unstyled" }, Dt = { class: "h6 stepper__end" };
1151
+ function Vt(t, a, e, o, i, s) {
1147
1152
  return r(), l("div", Pt, [
1148
1153
  c("nav", {
1149
1154
  class: "stepper",
1150
1155
  "aria-label": e.label ? e.label : "Progress"
1151
1156
  }, [
1152
- e.label ? (r(), l("span", It, w(e.label), 1)) : b("", !0),
1153
- c("ol", Dt, [
1157
+ e.label ? (r(), l("span", zt, $(e.label), 1)) : b("", !0),
1158
+ c("ol", It, [
1154
1159
  f(t.$slots, "default")
1155
1160
  ]),
1156
- c("span", Ft, w(e.endlabel), 1)
1157
- ], 8, zt)
1161
+ c("span", Dt, $(e.endlabel), 1)
1162
+ ], 8, Ft)
1158
1163
  ]);
1159
1164
  }
1160
- const Ja = /* @__PURE__ */ p(Rt, [["render", Vt]]);
1165
+ const Ja = /* @__PURE__ */ h(Rt, [["render", Vt]]);
1161
1166
  const Bt = {
1162
1167
  name: "Snapshot",
1163
1168
  props: {
@@ -1170,29 +1175,29 @@ const Bt = {
1170
1175
  class: "container snapshot",
1171
1176
  ref: "wrapper"
1172
1177
  }, Ut = { class: "row" }, Wt = ["href"], Kt = { class: "lead snapshot__title" }, Gt = { class: "stat" };
1173
- function Qt(t, a, e, i, o, n) {
1178
+ function Qt(t, a, e, o, i, s) {
1174
1179
  return r(), l("div", Ot, [
1175
1180
  f(t.$slots, "default"),
1176
1181
  c("div", Ut, [
1177
- (r(!0), l(x, null, L(e.items, (s, d) => (r(), l("div", {
1182
+ (r(!0), l(E, null, q(e.items, (n, d) => (r(), l("div", {
1178
1183
  class: "col",
1179
1184
  key: d
1180
1185
  }, [
1181
- s.link ? (r(), l("a", {
1186
+ n.link ? (r(), l("a", {
1182
1187
  key: 0,
1183
- href: s.link
1184
- }, "View " + w(s.title), 9, Wt)) : b("", !0),
1188
+ href: n.link
1189
+ }, "View " + $(n.title), 9, Wt)) : b("", !0),
1185
1190
  c("div", {
1186
- class: _(`snapshot__item ${s.bg ? "bg-" + s.bg : ""}`)
1191
+ class: w(`snapshot__item ${n.bg ? "bg-" + n.bg : ""}`)
1187
1192
  }, [
1188
- c("span", Kt, w(s.title), 1),
1189
- c("span", Gt, w(s.number), 1)
1193
+ c("span", Kt, $(n.title), 1),
1194
+ c("span", Gt, $(n.number), 1)
1190
1195
  ], 2)
1191
1196
  ]))), 128))
1192
1197
  ])
1193
1198
  ], 512);
1194
1199
  }
1195
- const Xa = /* @__PURE__ */ p(Bt, [["render", Qt]]), Yt = {
1200
+ const Xa = /* @__PURE__ */ h(Bt, [["render", Qt]]), Yt = {
1196
1201
  name: "Stepper",
1197
1202
  props: {
1198
1203
  url: {
@@ -1212,26 +1217,26 @@ const Xa = /* @__PURE__ */ p(Bt, [["render", Qt]]), Yt = {
1212
1217
  key: 0,
1213
1218
  class: "visually-hidden"
1214
1219
  };
1215
- function Zt(t, a, e, i, o, n) {
1220
+ function Zt(t, a, e, o, i, s) {
1216
1221
  return r(), l("li", null, [
1217
1222
  c("a", {
1218
1223
  href: e.url,
1219
- class: _(`${e.status ? "bg-" + e.status : ""}${typeof e.current < "u" ? "current" : ""}`),
1224
+ class: w(`${e.status ? "bg-" + e.status : ""}${typeof e.current < "u" ? "current" : ""}`),
1220
1225
  "aria-current": typeof e.current < "u" ? "step" : !1
1221
1226
  }, [
1222
1227
  c("span", null, [
1223
1228
  f(t.$slots, "default")
1224
1229
  ]),
1225
- e.status ? (r(), l("em", Xt, " - status: " + w(e.status), 1)) : b("", !0)
1230
+ e.status ? (r(), l("em", Xt, " - status: " + $(e.status), 1)) : b("", !0)
1226
1231
  ], 10, Jt)
1227
1232
  ]);
1228
1233
  }
1229
- const Za = /* @__PURE__ */ p(Yt, [["render", Zt]]);
1234
+ const Za = /* @__PURE__ */ h(Yt, [["render", Zt]]);
1230
1235
  const ea = {
1231
1236
  name: "Tabs",
1232
1237
  mounted() {
1233
1238
  this.$nextTick(function() {
1234
- T(/* @__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-14d49880.mjs") }), "../../../assets/js/components/tabs/tabs.component.js").then((t) => {
1239
+ 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-df805e37.mjs") }), "../../../assets/js/components/tabs/tabs.component.js").then((t) => {
1235
1240
  window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", t.default);
1236
1241
  }).catch((t) => {
1237
1242
  console.log(t.message);
@@ -1239,12 +1244,12 @@ const ea = {
1239
1244
  });
1240
1245
  }
1241
1246
  }, ta = { ref: "wrapper" };
1242
- function aa(t, a, e, i, o, n) {
1247
+ function aa(t, a, e, o, i, s) {
1243
1248
  return r(), l("iam-tabs", ta, [
1244
1249
  f(t.$slots, "default")
1245
1250
  ], 512);
1246
1251
  }
1247
- const ei = /* @__PURE__ */ p(ea, [["render", aa]]), ia = {
1252
+ const es = /* @__PURE__ */ h(ea, [["render", aa]]), sa = {
1248
1253
  name: "Tab",
1249
1254
  props: {
1250
1255
  title: {
@@ -1266,23 +1271,23 @@ const ei = /* @__PURE__ */ p(ea, [["render", aa]]), ia = {
1266
1271
  isDisabled: !!this.disabled
1267
1272
  };
1268
1273
  }
1269
- }, sa = { class: "tab" }, na = ["innerHTML"];
1270
- function oa(t, a, e, i, o, n) {
1271
- return r(), l("details", sa, [
1274
+ }, ia = { class: "tab" }, na = ["innerHTML"];
1275
+ function oa(t, a, e, o, i, s) {
1276
+ return r(), l("details", ia, [
1272
1277
  c("summary", {
1273
1278
  innerHTML: e.title,
1274
- class: _({ disabled: o.isDisabled })
1279
+ class: w({ disabled: i.isDisabled })
1275
1280
  }, null, 10, na),
1276
1281
  f(t.$slots, "default")
1277
1282
  ]);
1278
1283
  }
1279
- const ti = /* @__PURE__ */ p(ia, [["render", oa]]);
1280
- let P = N.props;
1281
- P.fields.required = !1;
1284
+ const ts = /* @__PURE__ */ h(sa, [["render", oa]]);
1285
+ let F = R.props;
1286
+ F.fields.required = !1;
1282
1287
  const ra = {
1283
1288
  components: {
1284
- Table: N,
1285
- Input: R
1289
+ Table: R,
1290
+ Input: P
1286
1291
  },
1287
1292
  data() {
1288
1293
  return {
@@ -1295,9 +1300,9 @@ const ra = {
1295
1300
  console.log(this);
1296
1301
  const a = new FormData(t.target);
1297
1302
  let e = /* @__PURE__ */ new Date();
1298
- const i = e.getFullYear();
1299
- let o = e.getMonth() + 1, n = e.getDate();
1300
- n < 10 && (n = "0" + n), o < 10 && (o = "0" + o), e = n + "/" + o + "/" + i, this.itemsData.unshift({
1303
+ const o = e.getFullYear();
1304
+ let i = e.getMonth() + 1, s = e.getDate();
1305
+ s < 10 && (s = "0" + s), i < 10 && (i = "0" + i), e = s + "/" + i + "/" + o, this.itemsData.unshift({
1301
1306
  date_added: e,
1302
1307
  user: a.get("user"),
1303
1308
  note: a.get("addNote")
@@ -1310,7 +1315,7 @@ const ra = {
1310
1315
  type: String,
1311
1316
  required: !0
1312
1317
  },
1313
- ...P,
1318
+ ...F,
1314
1319
  title: {
1315
1320
  type: String,
1316
1321
  required: !1
@@ -1326,29 +1331,29 @@ const ra = {
1326
1331
  }
1327
1332
  }
1328
1333
  }, la = { class: "container note-feed mb-2" }, da = ["innerHTML"], ca = ["action", "method"], ua = ["value"], ma = /* @__PURE__ */ c("button", { class: "btn btn-tertiary" }, "Submit note", -1);
1329
- function pa(t, a, e, i, o, n) {
1330
- const s = M("Table"), d = M("Input");
1334
+ function pa(t, a, e, o, i, s) {
1335
+ const n = M("Table"), d = M("Input");
1331
1336
  return r(), l("div", la, [
1332
1337
  e.title ? (r(), l("span", {
1333
1338
  key: 0,
1334
1339
  class: "h3",
1335
1340
  innerHTML: e.title
1336
1341
  }, null, 8, da)) : b("", !0),
1337
- k(s, A({
1342
+ x(n, S({
1338
1343
  fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
1339
- items: o.itemsData
1344
+ items: i.itemsData
1340
1345
  }, t.$props, { class: "mb-0" }), null, 16, ["items"]),
1341
1346
  c("form", {
1342
1347
  action: e.action,
1343
1348
  method: e.method,
1344
- onSubmit: a[0] || (a[0] = B((u) => n.submitForm(...arguments), ["prevent"]))
1349
+ onSubmit: a[0] || (a[0] = B((u) => s.submitForm(...arguments), ["prevent"]))
1345
1350
  }, [
1346
1351
  c("input", {
1347
1352
  type: "hidden",
1348
1353
  value: e.user,
1349
1354
  name: "user"
1350
1355
  }, null, 8, ua),
1351
- k(d, {
1356
+ x(d, {
1352
1357
  id: "addNote",
1353
1358
  type: "textarea",
1354
1359
  label: "Add note",
@@ -1359,88 +1364,99 @@ function pa(t, a, e, i, o, n) {
1359
1364
  ], 40, ca)
1360
1365
  ]);
1361
1366
  }
1362
- const ai = /* @__PURE__ */ p(ra, [["render", pa]]);
1363
- /*!
1364
- * iamKey v5.5.0
1365
- * Copyright 2022-2024 iamproperty
1366
- */
1367
+ const as = /* @__PURE__ */ h(ra, [["render", pa]]);
1367
1368
  function ha(t, a) {
1368
- function e(i, o) {
1369
- let n = !1, s = o.getAttribute("name");
1370
- s.includes("[]") && (s = s.replace("[]", `[${o.value}]`));
1371
- let d = i.querySelector(`[data-name="${s}"]`);
1372
- d && o.getAttribute("type") == "checkbox" && (n = !o.checked);
1373
- let u = o.getAttribute("data-filter-text");
1374
- if (d || (d = document.createElement("button"), i.appendChild(d)), d.setAttribute("type", "button"), d.classList.add("filter"), d.setAttribute("data-name", s), d.innerHTML = u.replace("$value", o.value), (!o.value || n) && d.remove(), o.parentNode.closest("[data-filter-text]")) {
1375
- let h = o.parentNode.closest("[data-filter-text]"), g = !0;
1376
- if (s = "", h.querySelectorAll("input").forEach((m, y) => {
1377
- let v = m.getAttribute("name");
1378
- if (s += `${y != 0 ? "," : ""}${v}`, i.querySelector(`[data-name="${v}"]`) && i.querySelector(`[data-name="${v}"]`).remove(), m.value) {
1379
- let $ = document.createElement("button");
1380
- $.setAttribute("type", "button"), $.classList.add("filter"), $.setAttribute("data-name", v), $.innerHTML = u.replace("$value", m.value), i.appendChild($);
1369
+ function e(i, s, n = !0) {
1370
+ let d = !1, u = s.getAttribute("name");
1371
+ u.includes("[]") && (u = u.replace("[]", `[${s.value}]`));
1372
+ let m = i.querySelector(`[data-name="${u}"]`);
1373
+ m && s.getAttribute("type") == "checkbox" && (d = !s.checked);
1374
+ let y = s.getAttribute("data-filter-text");
1375
+ if (m || (m = document.createElement("button"), i.appendChild(m)), m.setAttribute("type", "button"), m.classList.add("filter"), m.classList.add("tag"), n && m.classList.add("tag--not-set"), m.setAttribute("data-name", u), m.innerHTML = y.replace("$value", s.value), (!s.value || d) && m.remove(), s.parentNode.closest("[data-filter-text]")) {
1376
+ let p = s.parentNode.closest("[data-filter-text]"), g = !0;
1377
+ if (u = "", p.querySelectorAll("input").forEach((v, _) => {
1378
+ let k = v.getAttribute("name");
1379
+ if (u += `${_ != 0 ? "," : ""}${k}`, i.querySelector(`[data-name="${k}"]`) && i.querySelector(`[data-name="${k}"]`).remove(), v.value) {
1380
+ let A = document.createElement("button");
1381
+ A.setAttribute("type", "button"), A.classList.add("filter"), A.classList.add("tag"), n && m.classList.add("tag--not-set"), A.setAttribute("data-name", k), A.innerHTML = y.replace("$value", v.value), i.appendChild(A);
1381
1382
  } else
1382
1383
  g = !1;
1383
- }), i.querySelector(`[data-name="${s}"]`) && i.querySelector(`[data-name="${s}"]`).remove(), g) {
1384
- let m = h.getAttribute("data-filter-text");
1385
- h.querySelectorAll("input").forEach((v, $) => {
1386
- let S = v.getAttribute("name");
1387
- i.querySelector(`[data-name="${S}"]`) && i.querySelector(`[data-name="${S}"]`).remove(), m = m.replace(`$${$ + 1}`, v.value);
1384
+ }), i.querySelector(`[data-name="${u}"]`) && i.querySelector(`[data-name="${u}"]`).remove(), g) {
1385
+ let v = p.getAttribute("data-filter-text");
1386
+ p.querySelectorAll("input").forEach((k, A) => {
1387
+ let L = k.getAttribute("name");
1388
+ i.querySelector(`[data-name="${L}"]`) && i.querySelector(`[data-name="${L}"]`).remove(), v = v.replace(`$${A + 1}`, k.value);
1388
1389
  });
1389
- let y = document.createElement("button");
1390
- y.setAttribute("type", "button"), y.classList.add("filter"), y.setAttribute("data-name", s), y.innerHTML = m, i.appendChild(y);
1390
+ let _ = document.createElement("button");
1391
+ _.setAttribute("type", "button"), _.classList.add("filter"), _.classList.add("tag"), n && m.classList.add("tag--not-set"), _.setAttribute("data-name", u), _.innerHTML = v, i.appendChild(_);
1391
1392
  }
1392
1393
  }
1393
1394
  }
1394
- Array.from(t.querySelectorAll('input[type="checkbox"]:checked')).forEach((i, o) => {
1395
- e(a, i);
1396
- }), Array.from(t.querySelectorAll("input[data-filter-text]")).forEach((i, o) => {
1395
+ Array.from(t.querySelectorAll('input[type="checkbox"]:checked, input:not([type="checkbox"]):not([type="radio"])')).forEach((i, s) => {
1396
+ e(a, i, !1);
1397
+ });
1398
+ let o = t.closest("dialog");
1399
+ o && new MutationObserver(function(s) {
1400
+ s[0].attributeName == "open" && Array.from(t.querySelectorAll('input[type="checkbox"]:checked, input:not([type="checkbox"]):not([type="radio"])')).forEach((n, d) => {
1401
+ e(a, n, !1);
1402
+ });
1403
+ }).observe(o, { attributes: !0 }), t.addEventListener("tags-set", function(i) {
1404
+ a.innerHTML = "", Array.from(t.querySelectorAll('input[type="checkbox"]:checked, input:not([type="checkbox"]):not([type="radio"])')).forEach((s, n) => {
1405
+ e(a, s, !1);
1406
+ });
1407
+ }), Array.from(t.querySelectorAll('input[type="checkbox"]:checked, input:not([type="checkbox"]):not([type="radio"])')).forEach((i, s) => {
1397
1408
  i.addEventListener("change", function(n) {
1398
- e(a, i), n.stopPropagation();
1409
+ t.hasAttribute("data-keep-same") || e(a, i), n.stopPropagation();
1399
1410
  });
1400
1411
  }), t.addEventListener("change", function(i) {
1401
1412
  if (i && i.target instanceof HTMLElement && i.target.closest("input[data-filter-text]")) {
1402
- let o = i.target.closest("input[data-filter-text]");
1403
- e(a, o);
1413
+ let s = i.target.closest("input[data-filter-text]");
1414
+ t.hasAttribute("data-keep-same") || e(a, s);
1404
1415
  }
1405
1416
  }), a.addEventListener("click", function(i) {
1406
1417
  if (i && i.target instanceof HTMLElement && i.target.closest(".filter")) {
1407
- let s = i.target.closest(".filter"), d = s.getAttribute("data-name").split(",");
1408
- for (var o = 0; o < d.length; o++) {
1409
- let u = d[o], h = `[name="${u}"]`;
1410
- u.match(/\[(.*)\]/) && (u.replace(/\[(.*)\]/, "[]"), h = `[value="${u.replace(/.*\[(.*)\]/, "$1")}"]`);
1411
- let g = t.querySelectorAll(h);
1412
- for (var n = 0; n < g.length; n++) {
1413
- let m = g[n];
1414
- if (m.getAttribute("type") != "radio" && m.getAttribute("type") != "checkbox")
1415
- m.value = "";
1416
- else {
1417
- m.checked = !1;
1418
+ let d = i.target.closest(".filter"), u = d.getAttribute("data-name").split(",");
1419
+ for (var s = 0; s < u.length; s++) {
1420
+ let m = u[s], y = `[name="${m}"]`;
1421
+ m.match(/\[(.*)\]/) && (m.replace(/\[(.*)\]/, "[]"), y = `[value="${m.replace(/.*\[(.*)\]/, "$1")}"]`);
1422
+ let p = t.querySelectorAll(y);
1423
+ for (var n = 0; n < p.length; n++) {
1424
+ let g = p[n];
1425
+ if (g.getAttribute("type") != "radio" && g.getAttribute("type") != "checkbox") {
1426
+ g.value = "";
1427
+ var i = new Event("force");
1428
+ t.hasAttribute("data-nosubmit") || g.closest("form").dispatchEvent(i);
1429
+ } else {
1430
+ g.checked = !1;
1418
1431
  var i = new Event("force");
1419
- t.hasAttribute("data-nosubmit") || m.closest("form").dispatchEvent(i);
1432
+ t.hasAttribute("data-nosubmit") || g.closest("form").dispatchEvent(i);
1420
1433
  }
1421
1434
  }
1422
1435
  }
1423
- s.remove();
1436
+ d.remove();
1424
1437
  }
1425
1438
  }, !1);
1426
1439
  }
1427
- window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "Applied Filters" });
1440
+ window.dataLayer = window.dataLayer || [];
1441
+ window.dataLayer.push({
1442
+ event: "customElementRegistered",
1443
+ element: "Applied Filters"
1444
+ });
1428
1445
  class fa extends HTMLElement {
1429
1446
  constructor() {
1430
1447
  super(), this.attachShadow({ mode: "open" });
1431
- 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`;
1448
+ 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`, o = `@import "${a}/css/components/applied-filters.css";`;
1432
1449
  let i = this.classList.toString();
1433
- const o = document.createElement("template");
1434
- o.innerHTML = `
1450
+ const s = document.createElement("template");
1451
+ s.innerHTML = `
1435
1452
  <style>
1436
1453
  @import "${e}";
1437
- .applied-filters:not(.applied-filters--compact):not(:empty):before{content:"Applied filters";font-weight:bold;font-size:1.125rem;line-height:1.375rem;color:var(--colour-header);margin-bottom:1rem;display:block}.applied-filters:not(:empty){margin-bottom:1rem}::slotted(*:last-child){margin-bottom:0}.applied-filters .filter{border:1px solid var(--colour-border);padding:1rem 1.5rem 1rem 1.5rem;background:rgba(0,0,0,0);margin-right:.5rem !important;margin-bottom:.5rem !important;line-height:1.5rem;white-space:nowrap}.applied-filters .filter:after{content:"";display:inline-block;height:1.25rem;width:1.25rem;padding:0;margin-left:1.5rem;margin-bottom:-0.25rem;border:none;z-index:var(--index-focus);background:currentColor;mask-image:var(--icon-close);mask-size:100%;mask-repeat:no-repeat;mask-position:50% 50%;-webkit-mask-image:var(--icon-close);-webkit-mask-size:100%;-webkit-mask-repeat:no-repeat;-webkit-mask-position:50% 50%}.applied-filters--compact .filter{background-color:var(--colour-light);border:none;padding:0.625rem;line-height:1rem;border-radius:0.3125rem}.applied-filters--compact .filter:after{margin-left:0.625rem;height:1rem;width:1rem;margin-bottom:-0.1rem}/*# sourceMappingURL=assets/css/components/applied-filters.css.map */
1438
-
1454
+ ${o}
1439
1455
  ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
1440
1456
  </style>
1441
1457
  <div class="applied-filters ${i}"></div>
1442
1458
  <slot></slot>
1443
- `, this.shadowRoot.appendChild(o.content.cloneNode(!0));
1459
+ `, this.shadowRoot.appendChild(s.content.cloneNode(!0));
1444
1460
  }
1445
1461
  connectedCallback() {
1446
1462
  ha(this, this.shadowRoot.querySelector(".applied-filters"));
@@ -1450,14 +1466,14 @@ window.customElements.get("iam-applied-filters") || window.customElements.define
1450
1466
  const ba = {
1451
1467
  name: "Header"
1452
1468
  };
1453
- function ga(t, a, e, i, o, n) {
1469
+ function ga(t, a, e, o, i, s) {
1454
1470
  return r(), l("iam-applied-filters", null, [
1455
1471
  f(t.$slots, "default")
1456
1472
  ]);
1457
1473
  }
1458
- const ii = /* @__PURE__ */ p(ba, [["render", ga]]);
1474
+ const ss = /* @__PURE__ */ h(ba, [["render", ga]]);
1459
1475
  /*!
1460
- * iamKey v5.5.0
1476
+ * iamKey v5.5.1-beta-2
1461
1477
  * Copyright 2022-2024 iamproperty
1462
1478
  */
1463
1479
  function ya(t, a) {
@@ -1465,26 +1481,26 @@ function ya(t, a) {
1465
1481
  }
1466
1482
  function va(t, a) {
1467
1483
  var e;
1468
- a.addEventListener("keyup", (i) => {
1484
+ a.addEventListener("keyup", (o) => {
1469
1485
  clearTimeout(e), e = setTimeout(function() {
1470
1486
  j(t, a.value);
1471
1487
  }, 500);
1472
- }), a.addEventListener("change", (i) => {
1488
+ }), a.addEventListener("change", (o) => {
1473
1489
  clearTimeout(e), j(t, a.value);
1474
1490
  });
1475
1491
  }
1476
1492
  const j = function(t, a) {
1477
- Array.from(t.querySelectorAll(":scope > li")).forEach((e, i) => {
1478
- let o = e.textContent.toLowerCase();
1479
- e.classList.add("d-none"), o.includes(a.toLowerCase()) && e.classList.remove("d-none");
1493
+ Array.from(t.querySelectorAll(":scope > li")).forEach((e, o) => {
1494
+ let i = e.textContent.toLowerCase();
1495
+ e.classList.add("d-none"), i.includes(a.toLowerCase()) && e.classList.remove("d-none");
1480
1496
  }), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Filtered list", value: a });
1481
1497
  };
1482
1498
  window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "filterlist" });
1483
1499
  class _a extends HTMLElement {
1484
1500
  constructor() {
1485
1501
  super(), this.attachShadow({ mode: "open" });
1486
- 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");
1487
- i.innerHTML = `
1502
+ 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`, o = document.createElement("template");
1503
+ o.innerHTML = `
1488
1504
  <style>
1489
1505
  @import "${e}";
1490
1506
  ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
@@ -1511,7 +1527,7 @@ class _a extends HTMLElement {
1511
1527
  <div class="list__wrapper">
1512
1528
  <slot></slot>
1513
1529
  </div>
1514
- `, this.shadowRoot.appendChild(i.content.cloneNode(!0));
1530
+ `, this.shadowRoot.appendChild(o.content.cloneNode(!0));
1515
1531
  }
1516
1532
  connectedCallback() {
1517
1533
  let a = this.classList.toString();
@@ -1522,12 +1538,12 @@ window.customElements.get("iam-filterlist") || window.customElements.define("iam
1522
1538
  const wa = {
1523
1539
  name: "Filter list"
1524
1540
  };
1525
- function $a(t, a, e, i, o, n) {
1541
+ function $a(t, a, e, o, i, s) {
1526
1542
  return r(), l("iam-filterlist", null, [
1527
1543
  f(t.$slots, "default")
1528
1544
  ]);
1529
1545
  }
1530
- const si = /* @__PURE__ */ p(wa, [["render", $a]]);
1546
+ const is = /* @__PURE__ */ h(wa, [["render", $a]]);
1531
1547
  function ka(t) {
1532
1548
  if (t.hasAttribute("data-type") && t.getAttribute("data-type") == "toast") {
1533
1549
  let e = document.querySelector(".notification__holder");
@@ -1540,19 +1556,19 @@ function ka(t) {
1540
1556
  var a = new Aa(function() {
1541
1557
  C(t);
1542
1558
  }, e);
1543
- t.addEventListener("mouseenter", (i) => {
1559
+ t.addEventListener("mouseenter", (o) => {
1544
1560
  a.pause();
1545
- }), t.addEventListener("mouseleave", (i) => {
1561
+ }), t.addEventListener("mouseleave", (o) => {
1546
1562
  a.resume();
1547
1563
  });
1548
1564
  }
1549
1565
  }
1550
1566
  function Aa(t, a) {
1551
- var e, i, o = a;
1567
+ var e, o, i = a;
1552
1568
  this.pause = function() {
1553
- window.clearTimeout(e), o -= /* @__PURE__ */ new Date() - i;
1569
+ window.clearTimeout(e), i -= /* @__PURE__ */ new Date() - o;
1554
1570
  }, this.resume = function() {
1555
- i = /* @__PURE__ */ new Date(), window.clearTimeout(e), e = window.setTimeout(t, o);
1571
+ o = /* @__PURE__ */ new Date(), window.clearTimeout(e), e = window.setTimeout(t, i);
1556
1572
  }, this.resume();
1557
1573
  }
1558
1574
  const C = function(t) {
@@ -1566,29 +1582,29 @@ window.dataLayer.push({
1566
1582
  class xa extends HTMLElement {
1567
1583
  constructor() {
1568
1584
  super(), this.attachShadow({ mode: "open" });
1569
- 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";`, o = `@import "${a}/css/components/notification.global.css";`, n = this.querySelectorAll("a,button");
1570
- Array.from(n).forEach((d, u) => {
1585
+ 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`, o = `@import "${a}/css/components/notification.css";`, i = `@import "${a}/css/components/notification.global.css";`, s = this.querySelectorAll("a,button");
1586
+ Array.from(s).forEach((d, u) => {
1571
1587
  d.setAttribute("slot", "btns"), d.classList.add("link");
1572
- }), (n.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable");
1573
- const s = document.createElement("template");
1574
- s.innerHTML = `
1588
+ }), (s.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable");
1589
+ const n = document.createElement("template");
1590
+ n.innerHTML = `
1575
1591
  <style>
1576
1592
  @import "${e}";
1577
- ${i}
1593
+ ${o}
1578
1594
  ${this.hasAttribute("data-css") ? `${this.getAttribute("data-css")}` : ""}
1579
1595
  </style>
1580
1596
 
1581
1597
  <div class="notification">
1582
1598
  <div class="notification__icon"><slot name="icon"></slot></div>
1583
- <div class="notification__inner"><div class="notification__text"><slot></slot></div>${n.length ? '<div class="notification__btns"><slot name="btns"></slot></div>' : ""}</div>
1599
+ <div class="notification__inner"><div class="notification__text"><slot></slot></div>${s.length ? '<div class="notification__btns"><slot name="btns"></slot></div>' : ""}</div>
1584
1600
  ${this.hasAttribute("data-dismiss") ? '<div class="notification__dismiss"><button data-dismiss-button>Dismiss</button></div>' : ""}
1585
1601
  </div>
1586
- `, this.shadowRoot.appendChild(s.content.cloneNode(!0)), document.getElementById("notificationHolder") || document.head.insertAdjacentHTML("beforeend", `<style id="notificationHolder">${o}</style>`);
1602
+ `, this.shadowRoot.appendChild(n.content.cloneNode(!0)), document.getElementById("notificationHolder") || document.head.insertAdjacentHTML("beforeend", `<style id="notificationHolder">${i}</style>`);
1587
1603
  }
1588
1604
  connectedCallback() {
1589
1605
  const a = this.shadowRoot.querySelector("[data-dismiss-button]"), e = this.hasAttribute("data-status") ? this.getAttribute("data-status") : "white";
1590
1606
  this.hasAttribute("data-type") ? this.classList.add(`bg-${e}`) : this.classList.add(`colour-${e}`);
1591
- const i = this;
1607
+ const o = this;
1592
1608
  if (!this.querySelector("i"))
1593
1609
  switch (e) {
1594
1610
  case "danger":
@@ -1603,8 +1619,8 @@ class xa extends HTMLElement {
1603
1619
  default:
1604
1620
  this.innerHTML += '<i class="fa-solid fa-circle-info" aria-hidden="true" slot="icon"></i>';
1605
1621
  }
1606
- ka(i), a && a.addEventListener("click", function(o) {
1607
- C(i);
1622
+ ka(o), a && a.addEventListener("click", function(i) {
1623
+ C(o);
1608
1624
  }, !1);
1609
1625
  }
1610
1626
  }
@@ -1617,17 +1633,17 @@ const La = {
1617
1633
  });
1618
1634
  }
1619
1635
  };
1620
- function Sa(t, a, e, i, o, n) {
1636
+ function Sa(t, a, e, o, i, s) {
1621
1637
  return r(), l("iam-notification", null, [
1622
1638
  f(t.$slots, "default")
1623
1639
  ]);
1624
1640
  }
1625
- const ni = /* @__PURE__ */ p(La, [["render", Sa]]), qa = {
1641
+ const ns = /* @__PURE__ */ h(La, [["render", Sa]]), Ea = {
1626
1642
  name: "Actionbar",
1627
1643
  props: {},
1628
1644
  mounted() {
1629
1645
  this.$nextTick(function() {
1630
- import("./actionbar.component.min-40bcd9a4.mjs").then((t) => {
1646
+ import("./actionbar.component.min-b204f76f.mjs").then((t) => {
1631
1647
  window.customElements.get("iam-actionbar") || window.customElements.define("iam-actionbar", t.default);
1632
1648
  }).catch((t) => {
1633
1649
  console.log(t.message);
@@ -1635,21 +1651,21 @@ const ni = /* @__PURE__ */ p(La, [["render", Sa]]), qa = {
1635
1651
  });
1636
1652
  }
1637
1653
  };
1638
- function Ea(t, a, e, i, o, n) {
1654
+ function qa(t, a, e, o, i, s) {
1639
1655
  return r(), l("iam-actionbar", null, [
1640
1656
  f(t.$slots, "default")
1641
1657
  ]);
1642
1658
  }
1643
- const oi = /* @__PURE__ */ p(qa, [["render", Ea]]);
1659
+ const os = /* @__PURE__ */ h(Ea, [["render", qa]]);
1644
1660
  /*!
1645
- * iamKey v5.5.0
1661
+ * iamKey v5.5.1-beta-2
1646
1662
  * Copyright 2022-2024 iamproperty
1647
1663
  */
1648
1664
  class z extends HTMLElement {
1649
1665
  constructor() {
1650
1666
  super(), this.attachShadow({ mode: "open" });
1651
- 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");
1652
- i.innerHTML = `
1667
+ 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`, o = document.createElement("template");
1668
+ o.innerHTML = `
1653
1669
  <style>
1654
1670
  @import "${e}";
1655
1671
  :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{height:3.25rem;line-height:3.25rem;margin-left:-1rem;padding-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 */
@@ -1687,59 +1703,59 @@ class z extends HTMLElement {
1687
1703
  <button class="load-more btn btn-primary m-auto">Load more</a>
1688
1704
  </div>
1689
1705
  </div>
1690
- `, this.shadowRoot.appendChild(i.content.cloneNode(!0));
1706
+ `, this.shadowRoot.appendChild(o.content.cloneNode(!0));
1691
1707
  }
1692
1708
  connectedCallback() {
1693
1709
  const a = new URLSearchParams(window.location.search);
1694
1710
  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"));
1695
- const e = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), o = this.shadowRoot.querySelector(".next"), n = this.shadowRoot.querySelector(".per-page select"), s = this.shadowRoot.querySelector(".load-more");
1711
+ const e = this.shadowRoot.querySelector(".page-jump select"), o = this.shadowRoot.querySelector(".prev"), i = this.shadowRoot.querySelector(".next"), s = this.shadowRoot.querySelector(".per-page select"), n = this.shadowRoot.querySelector(".load-more");
1696
1712
  this.setup(), e.addEventListener("change", (d) => {
1697
1713
  this.setAttribute("data-show", this.getAttribute("data-increment")), this.setAttribute("data-page", d.target.value);
1698
- }), o.addEventListener("click", (d) => {
1699
- e.value = parseInt(e.value) + 1, e.dispatchEvent(new Event("change"));
1700
1714
  }), i.addEventListener("click", (d) => {
1715
+ e.value = parseInt(e.value) + 1, e.dispatchEvent(new Event("change"));
1716
+ }), o.addEventListener("click", (d) => {
1701
1717
  e.value = parseInt(e.value) - 1, e.dispatchEvent(new Event("change"));
1702
- }), n.addEventListener("change", (d) => {
1718
+ }), s.addEventListener("change", (d) => {
1703
1719
  this.setAttribute("data-increment", d.target.value);
1704
- }), s.addEventListener("click", (d) => {
1720
+ }), n.addEventListener("click", (d) => {
1705
1721
  let u = parseInt(this.getAttribute("data-show")) + parseInt(this.getAttribute("data-increment"));
1706
- this.setAttribute("data-show", u), u > parseInt(this.getAttribute("data-total")) && s.remove();
1722
+ this.setAttribute("data-show", u), u > parseInt(this.getAttribute("data-total")) && n.remove();
1707
1723
  });
1708
1724
  }
1709
1725
  setup() {
1710
- const a = this.shadowRoot.querySelector(".pagination"), e = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), o = this.shadowRoot.querySelector(".next"), n = this.shadowRoot.querySelector(".item-count"), s = this.shadowRoot.querySelector(".per-page select"), d = this.shadowRoot.querySelector(".total-pages"), u = parseInt(this.getAttribute("data-page")), h = parseInt(this.getAttribute("data-total")), g = parseInt(this.getAttribute("data-show")), m = parseInt(this.getAttribute("data-increment")), y = Math.ceil(h / m);
1711
- h > g && a.classList.remove("d-none");
1726
+ const a = this.shadowRoot.querySelector(".pagination"), e = this.shadowRoot.querySelector(".page-jump select"), o = this.shadowRoot.querySelector(".prev"), i = this.shadowRoot.querySelector(".next"), s = this.shadowRoot.querySelector(".item-count"), n = this.shadowRoot.querySelector(".per-page select"), d = this.shadowRoot.querySelector(".total-pages"), u = parseInt(this.getAttribute("data-page")), m = parseInt(this.getAttribute("data-total")), y = parseInt(this.getAttribute("data-show")), p = parseInt(this.getAttribute("data-increment")), g = Math.ceil(m / p);
1727
+ m > y && a.classList.remove("d-none");
1712
1728
  let v = "";
1713
- for (let q = 1; q <= y; q++)
1714
- v += `<option value="${q}" ${q == u ? "selected" : ""}>${q}</option>`;
1715
- e.innerHTML = v, d.innerHTML = `of ${y}`, u == y ? o.setAttribute("disabled", "disabled") : o.removeAttribute("disabled"), u == 1 ? i.setAttribute("disabled", "disabled") : i.removeAttribute("disabled");
1716
- let $ = u == 1 ? 1 : (u - 1) * g + 1, S = u == 1 ? g : u * g;
1717
- n.innerHTML = `${$} - ${S > h ? h : S} of ${h} items`;
1718
- const I = [15, 25, 40, 50];
1719
- m && s.value != m && !I.includes(m) && (s.innerHTML = `<option value="${m}">${m}</option>
1720
- <option value="${m * 2}">${m * 2}</option>
1721
- <option value="${m * 3}">${m * 3}</option>
1722
- <option value="${m * 4}">${m * 4}</option>`), s.value = m;
1729
+ for (let L = 1; L <= g; L++)
1730
+ v += `<option value="${L}" ${L == u ? "selected" : ""}>${L}</option>`;
1731
+ e.innerHTML = v, d.innerHTML = `of ${g}`, u == g ? i.setAttribute("disabled", "disabled") : i.removeAttribute("disabled"), u == 1 ? o.setAttribute("disabled", "disabled") : o.removeAttribute("disabled");
1732
+ let _ = u == 1 ? 1 : (u - 1) * y + 1, k = u == 1 ? y : u * y;
1733
+ s.innerHTML = `${_} - ${k > m ? m : k} of ${m} items`;
1734
+ const A = [15, 25, 40, 50];
1735
+ p && n.value != p && !A.includes(p) && (n.innerHTML = `<option value="${p}">${p}</option>
1736
+ <option value="${p * 2}">${p * 2}</option>
1737
+ <option value="${p * 3}">${p * 3}</option>
1738
+ <option value="${p * 4}">${p * 4}</option>`), n.value = p;
1723
1739
  }
1724
1740
  static get observedAttributes() {
1725
1741
  return ["data-total", "data-increment", "data-page", "data-show"];
1726
1742
  }
1727
- attributeChangedCallback(a, e, i) {
1743
+ attributeChangedCallback(a, e, o) {
1728
1744
  switch (a) {
1729
1745
  case "data-total": {
1730
- e != i && (this.setAttribute("data-page", 1), this.setup());
1746
+ e != o && (this.setAttribute("data-page", 1), this.setup());
1731
1747
  break;
1732
1748
  }
1733
1749
  case "data-show": {
1734
- e != i && (this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: i } })));
1750
+ e != o && (this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: o } })));
1735
1751
  break;
1736
1752
  }
1737
1753
  case "data-increment": {
1738
- e != i && (this.setAttribute("data-show", i), this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: i } })));
1754
+ e != o && (this.setAttribute("data-show", o), this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: o } })));
1739
1755
  break;
1740
1756
  }
1741
1757
  case "data-page": {
1742
- e && e != i && (this.setup(), this.dispatchEvent(new CustomEvent("update-page", { detail: { page: i } })));
1758
+ e && e != o && (this.setup(), this.dispatchEvent(new CustomEvent("update-page", { detail: { page: o } })));
1743
1759
  break;
1744
1760
  }
1745
1761
  }
@@ -1760,14 +1776,14 @@ const Ta = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1760
1776
  updated() {
1761
1777
  }
1762
1778
  };
1763
- function Ma(t, a, e, i, o, n) {
1779
+ function Ma(t, a, e, o, i, s) {
1764
1780
  return r(), l("iam-pagination");
1765
1781
  }
1766
- const ri = /* @__PURE__ */ p(Ha, [["render", Ma]]), Ca = {
1782
+ const rs = /* @__PURE__ */ h(Ha, [["render", Ma]]), Ca = {
1767
1783
  name: "Address Lookup",
1768
1784
  mounted() {
1769
1785
  this.$nextTick(function() {
1770
- T(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/address-lookup/address-lookup.component.js": () => import("./address-lookup.component-6bae4154.mjs"), "../../../assets/js/components/address-lookup/address-lookup.component.min.js": () => import("./address-lookup.component.min-54ce7f2f.mjs") }), "../../../assets/js/components/address-lookup/address-lookup.component.js").then((t) => {
1786
+ N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/address-lookup/address-lookup.component.js": () => import("./address-lookup.component-5aabf606.mjs"), "../../../assets/js/components/address-lookup/address-lookup.component.min.js": () => import("./address-lookup.component.min-07f51c45.mjs") }), "../../../assets/js/components/address-lookup/address-lookup.component.js").then((t) => {
1771
1787
  window.customElements.get("iam-address-lookup") || window.customElements.define("iam-address-lookup", t.default);
1772
1788
  }).catch((t) => {
1773
1789
  console.log(t.message);
@@ -1775,22 +1791,22 @@ const ri = /* @__PURE__ */ p(Ha, [["render", Ma]]), Ca = {
1775
1791
  });
1776
1792
  }
1777
1793
  };
1778
- function ja(t, a, e, i, o, n) {
1794
+ function Na(t, a, e, o, i, s) {
1779
1795
  return r(), l("iam-address-lookup", null, [
1780
1796
  f(t.$slots, "default")
1781
1797
  ]);
1782
1798
  }
1783
- const li = /* @__PURE__ */ p(Ca, [["render", ja]]);
1799
+ const ls = /* @__PURE__ */ h(Ca, [["render", Na]]);
1784
1800
  /*!
1785
- * iamKey v5.5.0
1801
+ * iamKey v5.5.1-beta-2
1786
1802
  * Copyright 2022-2024 iamproperty
1787
1803
  */
1788
1804
  window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "collapsible side menu" });
1789
- class Na extends HTMLElement {
1805
+ class ja extends HTMLElement {
1790
1806
  constructor() {
1791
1807
  super(), this.attachShadow({ mode: "open" });
1792
- 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");
1793
- i.innerHTML = `
1808
+ 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`, o = document.createElement("template");
1809
+ o.innerHTML = `
1794
1810
  <style class="styles">
1795
1811
  @import "${e}";
1796
1812
  :host{--colour-border: #e9e9e9;--side-link-hover: var(--colour-canvas-2);display:block;min-height:calc(100vh - var(--nav-height));padding-top:0 !important;margin-inline:auto;max-width:80rem;overflow:hidden;position:relative}@media screen and (prefers-color-scheme: light){:host{--side-link-hover: #eeeeee}}.container{position:static;min-height:100%;padding-top:0 !important;padding-bottom:0 !important;padding-left:0 !important}@media screen and (min-width: 62em){.container{padding-left:5.25rem !important;overflow:hidden}}.side-menu{position:absolute;top:0;left:0;height:100%;min-height:calc(100vh - var(--nav-height));width:1.875rem;height:100%;background-color:var(--colour-canvas);transition:width 1s}.side-menu:before{content:"";position:absolute;top:0;right:0;height:100%;border-right:2px solid var(--colour-border)}@media screen and (min-width: 36em){.side-menu{left:0;width:2.5rem}}@media screen and (min-width: 62em){.side-menu{left:calc(50% - 34.75rem);margin-left:-5.25rem}.side-menu:after{content:"";position:absolute;top:0;height:100%;border-right:2px solid var(--colour-border);left:0;opacity:1;transition:all 1s;width:2.5rem;background:var(--colour-canvas)}.side-menu:not(.open).hover{width:21.5rem}.side-menu:not(.open).hover .btn[class*=fa-]:before{content:"" !important}}.side-menu .btn{position:absolute;top:2rem;right:0;margin-bottom:0;margin-right:-1.25rem;background-color:var(--colour-canvas-2);border:2px solid var(--colour-border);z-index:99}.side-menu .btn[aria-expanded][class*=fa-]:before{content:"" !important}@media screen and (min-width: 62em){.side-menu .btn[aria-expanded]{opacity:0;transition:opacity .5s}.side-menu .btn[aria-expanded]:is(:hover,:focus,:active){opacity:1}}.side-menu:is(.open){width:calc(100% - var(--container-padding-x))}@media screen and (min-width: 36em){.side-menu:is(.open){width:23.875rem}}@media screen and (min-width: 62em){.side-menu:is(.open){width:21.5rem}}.side-menu .side-menu-content{position:absolute;top:0;right:0;padding:2rem 2.5rem 0 0;width:21.9375rem;opacity:0;transition:opacity 1s;min-height:100%;overflow:auto;max-height:100%}.side-menu .side-menu-content .h3{padding-left:1.5rem}@media screen and (min-width: 36em){.side-menu .side-menu-content{width:23.875rem}.side-menu .side-menu-content .h3{padding-left:2.5rem}}@media screen and (min-width: 62em){.side-menu .side-menu-content{width:19rem}}.side-menu:not(.hover):not(.open) .side-menu-content.closed{display:none}.side-menu.open .side-menu-content{opacity:1}@media screen and (min-width: 62em){.side-menu.hover .side-menu-content{opacity:1}}::slotted(*[slot=menu]){padding-left:1.5rem}@media screen and (min-width: 36em){::slotted(*[slot=menu]){padding-left:2.5rem !important}}::slotted(hr){border-bottom:2px solid var(--colour-border) !important;margin-right:-2.5rem !important}::slotted(a[slot=menu]){display:block;display:block !important;line-height:1.25rem !important;padding:1rem 2.5rem 1rem 1.5rem !important;margin:0 !important;flex-shrink:0;font-size:1rem !important;font-weight:normal !important;text-decoration:none;border-bottom:2px solid var(--colour-border) !important;margin-right:-2.5rem !important;border-right:2px solid var(--colour-border) !important}@media screen and (min-width: 36em){::slotted(a[slot=menu]){padding-left:2.5rem !important}}::slotted(a[slot=menu]):after{display:none}::slotted(a[slot=menu]:where(:hover,:focus,[aria-expanded])){background-color:var(--side-link-hover) !important}::slotted(a[slot=menu]:active){background-color:var(--side-link-hover) !important;font-weight:bold !important}::slotted(a[slot=menu][aria-expanded]){background-color:var(--side-link-hover) !important;font-weight:bold !important;margin-right:-2.5rem !important;position:relative;border-right:2px solid var(--colour-info) !important}::slotted(a[slot=menu][aria-expanded]):before{content:"";position:absolute;top:0;right:0;height:calc(100% + 4px);margin-top:-2px;width:2px;border-right:2px solid var(--colour-info);margin-right:-2px}@media(forced-colors: active){::slotted(a[slot=menu][aria-expanded]):before{border-right:10px solid var(--colour-info)}}.main-content{padding-top:1.5rem;padding-left:3.75rem}@media screen and (min-width: 36em){.main-content{padding-left:5rem}}@media screen and (min-width: 62em){.main-content{padding-top:2.5rem !important;padding-left:0}}.main-content>span.h3{padding-top:.75rem;border-bottom:2px solid var(--colour-border);margin-bottom:2.5rem !important}@media screen and (min-width: 62em){.main-content>span.h3{display:none}}::slotted(.main-content__title){border-bottom:2px solid var(--colour-border);margin-bottom:2.5rem !important;max-width:100% !important;display:block}@media screen and (min-width: 62em){.side-menu.open+.main-content{padding-left:18.75rem}::slotted(.main-content__title){display:none}}/*# sourceMappingURL=assets/css/components/collapsible-side.css.map */
@@ -1812,68 +1828,68 @@ class Na extends HTMLElement {
1812
1828
  </div>
1813
1829
 
1814
1830
  </div>
1815
- `, this.shadowRoot.appendChild(i.content.cloneNode(!0));
1831
+ `, this.shadowRoot.appendChild(o.content.cloneNode(!0));
1816
1832
  }
1817
1833
  connectedCallback() {
1818
- const a = this.shadowRoot.querySelector(".side-menu"), e = this.shadowRoot.querySelector(".side-menu-content"), i = this.shadowRoot.querySelector(".main-content"), o = this.shadowRoot.querySelector(".side-menu > .btn");
1819
- 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")), o.addEventListener("click", (n) => {
1820
- a.classList.contains("open") ? (a.classList.remove("open"), o.removeAttribute("aria-expanded"), setTimeout(function() {
1834
+ const a = this.shadowRoot.querySelector(".side-menu"), e = this.shadowRoot.querySelector(".side-menu-content"), o = this.shadowRoot.querySelector(".main-content"), i = this.shadowRoot.querySelector(".side-menu > .btn");
1835
+ 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>`), o.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")), i.addEventListener("click", (s) => {
1836
+ a.classList.contains("open") ? (a.classList.remove("open"), i.removeAttribute("aria-expanded"), setTimeout(function() {
1821
1837
  e.classList.add("closed");
1822
1838
  }, 1e3), a.classList.add("pe-none"), setTimeout(function() {
1823
1839
  a.classList.remove("pe-none");
1824
1840
  }, 1e3)) : (e.classList.remove("closed"), setTimeout(function() {
1825
- a.classList.add("open"), o.setAttribute("aria-expanded", !0);
1841
+ a.classList.add("open"), i.setAttribute("aria-expanded", !0);
1826
1842
  }, 100));
1827
- }), a.addEventListener("mouseenter", (n) => {
1843
+ }), a.addEventListener("mouseenter", (s) => {
1828
1844
  window.innerWidth > 992 && (a.classList.contains("open") || e.classList.remove("closed"), a.classList.add("hover"));
1829
- }), a.addEventListener("mousemove", (n) => {
1845
+ }), a.addEventListener("mousemove", (s) => {
1830
1846
  window.innerWidth > 992 && (a.classList.contains("open") || e.classList.remove("closed"));
1831
- }), a.addEventListener("mouseleave", (n) => {
1847
+ }), a.addEventListener("mouseleave", (s) => {
1832
1848
  window.innerWidth > 992 && (a.classList.remove("hover"), a.classList.contains("open") || setTimeout(function() {
1833
1849
  e.classList.add("closed");
1834
1850
  }, 1e3));
1835
1851
  });
1836
1852
  }
1837
1853
  }
1838
- window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side", Na);
1854
+ window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side", ja);
1839
1855
  const Ra = {
1840
1856
  name: "CollapsibleSideMenu",
1841
1857
  props: {},
1842
1858
  mounted() {
1843
1859
  }
1844
1860
  };
1845
- function Pa(t, a, e, i, o, n) {
1861
+ function Pa(t, a, e, o, i, s) {
1846
1862
  return r(), l("iam-collapsible-side", null, [
1847
1863
  f(t.$slots, "default")
1848
1864
  ]);
1849
1865
  }
1850
- const di = /* @__PURE__ */ p(Ra, [["render", Pa]]);
1866
+ const ds = /* @__PURE__ */ h(Ra, [["render", Pa]]);
1851
1867
  export {
1852
- Fa as Accordion,
1868
+ Da as Accordion,
1853
1869
  Va as AccordionItem,
1854
- oi as Actionbar,
1855
- li as AddressLookup,
1856
- ii as AppliedFilters,
1870
+ os as Actionbar,
1871
+ ls as AddressLookup,
1872
+ ss as AppliedFilters,
1857
1873
  Ba as Banner,
1858
1874
  Oa as Card,
1859
1875
  Ua as Carousel,
1860
- di as CollapsibleSideMenu,
1861
- Da as FileUpload,
1862
- si as Filterlist,
1876
+ ds as CollapsibleSideMenu,
1877
+ Ia as FileUpload,
1878
+ is as Filterlist,
1863
1879
  Wa as Header,
1864
- R as Input,
1865
- Ia as Logo,
1880
+ P as Input,
1881
+ za as Logo,
1866
1882
  Ya as Nav,
1867
- ai as NoteFeed,
1868
- ni as Notification,
1869
- ri as Pagination,
1883
+ as as NoteFeed,
1884
+ ns as Notification,
1885
+ rs as Pagination,
1870
1886
  Qa as PropertySearchbar,
1871
1887
  Xa as Snapshot,
1872
1888
  Za as Step,
1873
1889
  Ja as Stepper,
1874
- ti as Tab,
1875
- N as Table,
1876
- ei as Tabs,
1890
+ ts as Tab,
1891
+ R as Table,
1892
+ es as Tabs,
1877
1893
  Ka as Testimonial,
1878
1894
  Ga as Timeline
1879
1895
  };