@iamproperty/components 5.6.0 → 5.6.1-beta10

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