@iamproperty/components 7.2.0 → 7.2.1--beta2

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 (126) hide show
  1. package/assets/css/components/actionbar.component.css +1 -1
  2. package/assets/css/components/actionbar.component.css.map +1 -1
  3. package/assets/css/components/actionbar.global.css +1 -1
  4. package/assets/css/components/actionbar.global.css.map +1 -1
  5. package/assets/css/components/barchart.component.css +1 -1
  6. package/assets/css/components/barchart.component.css.map +1 -1
  7. package/assets/css/components/card.component.css +1 -1
  8. package/assets/css/components/card.component.css.map +1 -1
  9. package/assets/css/components/carousel.component.css +1 -1
  10. package/assets/css/components/carousel.component.css.map +1 -1
  11. package/assets/css/components/doughnutchart.component.css +1 -1
  12. package/assets/css/components/doughnutchart.component.css.map +1 -1
  13. package/assets/css/components/pagination.css +1 -1
  14. package/assets/css/components/pagination.css.map +1 -1
  15. package/assets/css/components/table-basic.component.css +1 -0
  16. package/assets/css/components/table-basic.component.css.map +1 -0
  17. package/assets/css/components/table-basic.global.css +1 -0
  18. package/assets/css/components/table-basic.global.css.map +1 -0
  19. package/assets/css/components/table.component.css +1 -1
  20. package/assets/css/components/table.component.css.map +1 -1
  21. package/assets/css/components/table.global.css +1 -1
  22. package/assets/css/components/table.global.css.map +1 -1
  23. package/assets/css/components/tabs.config.css +1 -0
  24. package/assets/css/components/tabs.config.css.map +1 -0
  25. package/assets/css/components/tabs.css +1 -1
  26. package/assets/css/components/tabs.css.map +1 -1
  27. package/assets/css/core.min.css +1 -1
  28. package/assets/css/core.min.css.map +1 -1
  29. package/assets/css/mobile-core.min.css +1 -1
  30. package/assets/css/mobile-core.min.css.map +1 -1
  31. package/assets/css/mobile.min.css +1 -1
  32. package/assets/css/mobile.min.css.map +1 -1
  33. package/assets/css/style.min.css +1 -1
  34. package/assets/css/style.min.css.map +1 -1
  35. package/assets/js/components/accordion/accordion.component.min.js +1 -1
  36. package/assets/js/components/actionbar/actionbar.component.min.js +4 -4
  37. package/assets/js/components/address-lookup/address-lookup.component.min.js +1 -1
  38. package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
  39. package/assets/js/components/barchart/barchart.component.min.js +2 -2
  40. package/assets/js/components/barchart/barchart.component.min.js.map +1 -1
  41. package/assets/js/components/bento-grid/bento-grid.component.min.js +1 -1
  42. package/assets/js/components/card/card.component.min.js +2 -2
  43. package/assets/js/components/carousel/carousel.component.min.js +2 -2
  44. package/assets/js/components/collapsible-side/collapsible-side.component.min.js +1 -1
  45. package/assets/js/components/doughnutchart/doughnutchart.component.min.js +2 -2
  46. package/assets/js/components/doughnutchart/doughnutchart.component.min.js.map +1 -1
  47. package/assets/js/components/fileupload/fileupload.component.min.js +1 -1
  48. package/assets/js/components/filter-card/filter-card.component.min.js +1 -1
  49. package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
  50. package/assets/js/components/header/header.component.min.js +1 -1
  51. package/assets/js/components/inline-edit/inline-edit.component.min.js +1 -1
  52. package/assets/js/components/marketing/marketing.component.min.js +1 -1
  53. package/assets/js/components/menu/menu.component.min.js +1 -1
  54. package/assets/js/components/multi-step/multi-step.component.min.js +1 -1
  55. package/assets/js/components/multiselect/multiselect.component.min.js +1 -1
  56. package/assets/js/components/nav/nav.component.min.js +1 -1
  57. package/assets/js/components/notification/notification.component.min.js +1 -1
  58. package/assets/js/components/pagination/pagination.component.js +11 -4
  59. package/assets/js/components/pagination/pagination.component.min.js +5 -5
  60. package/assets/js/components/pagination/pagination.component.min.js.map +1 -1
  61. package/assets/js/components/record-card/record-card.component.min.js +1 -1
  62. package/assets/js/components/search/search.component.min.js +1 -1
  63. package/assets/js/components/search/search.component.min.js.map +1 -1
  64. package/assets/js/components/slider/slider.component.min.js +1 -1
  65. package/assets/js/components/table/table.component.js +36 -198
  66. package/assets/js/components/table/table.component.min.js +13 -23
  67. package/assets/js/components/table/table.component.min.js.map +1 -1
  68. package/assets/js/components/table-ajax/table-ajax.component.js +46 -0
  69. package/assets/js/components/table-ajax/table-ajax.component.min.js +22 -0
  70. package/assets/js/components/table-ajax/table-ajax.component.min.js.map +1 -0
  71. package/assets/js/components/table-basic/table-basic.component.js +46 -0
  72. package/assets/js/components/table-basic/table-basic.component.min.js +22 -0
  73. package/assets/js/components/table-basic/table-basic.component.min.js.map +1 -0
  74. package/assets/js/components/table-no-submit/table-no-submit.component.js +77 -0
  75. package/assets/js/components/table-no-submit/table-no-submit.component.min.js +22 -0
  76. package/assets/js/components/table-no-submit/table-no-submit.component.min.js.map +1 -0
  77. package/assets/js/components/table-submit/table-submit.component.js +55 -0
  78. package/assets/js/components/table-submit/table-submit.component.min.js +22 -0
  79. package/assets/js/components/table-submit/table-submit.component.min.js.map +1 -0
  80. package/assets/js/components/tabs/tabs.component.js +2 -0
  81. package/assets/js/components/tabs/tabs.component.min.js +6 -4
  82. package/assets/js/components/tabs/tabs.component.min.js.map +1 -1
  83. package/assets/js/components/video-card/video-card.component.min.js +1 -1
  84. package/assets/js/modules/helpers.js +4 -0
  85. package/assets/js/modules/table.js +544 -294
  86. package/assets/js/modules/tabs.js +43 -13
  87. package/assets/js/scripts.bundle.js +3 -3
  88. package/assets/js/scripts.bundle.js.map +1 -1
  89. package/assets/js/scripts.bundle.min.js +2 -2
  90. package/assets/js/scripts.bundle.min.js.map +1 -1
  91. package/assets/js/scripts.js +31 -24
  92. package/assets/js/tests/table.spec.js +0 -31
  93. package/assets/sass/_components.scss +3 -0
  94. package/assets/sass/components/actionbar.component.scss +1 -0
  95. package/assets/sass/components/actionbar.global.scss +0 -70
  96. package/assets/sass/components/pagination.scss +2 -1
  97. package/assets/sass/components/table-basic.component.scss +132 -0
  98. package/assets/sass/components/table-basic.global.scss +365 -0
  99. package/assets/sass/components/table.component.scss +2 -133
  100. package/assets/sass/components/table.global.scss +175 -434
  101. package/assets/sass/components/tabs.config.scss +27 -0
  102. package/assets/sass/components/tabs.scss +33 -1
  103. package/assets/sass/elements/buttons--global.scss +2 -1
  104. package/assets/sass/elements/table.element.scss +9 -7
  105. package/assets/sass/foundations/root.scss +1 -1
  106. package/assets/ts/components/pagination/pagination.component.ts +17 -4
  107. package/assets/ts/components/table/table.component.ts +49 -243
  108. package/assets/ts/components/table-ajax/table-ajax.component.ts +64 -0
  109. package/assets/ts/components/table-basic/README.md +40 -0
  110. package/assets/ts/components/table-basic/table-basic.component.ts +56 -0
  111. package/assets/ts/components/table-no-submit/table-no-submit.component.ts +134 -0
  112. package/assets/ts/components/table-submit/table-submit.component.ts +64 -0
  113. package/assets/ts/components/tabs/tabs.component.ts +2 -0
  114. package/assets/ts/modules/helpers.ts +6 -0
  115. package/assets/ts/modules/table.ts +656 -328
  116. package/assets/ts/modules/tabs.ts +54 -12
  117. package/assets/ts/scripts.ts +5 -3
  118. package/assets/ts/tests/table.spec.ts +0 -38
  119. package/dist/components.es.js +138 -136
  120. package/dist/components.umd.js +108 -116
  121. package/package.json +1 -1
  122. package/src/components/Table/TableAjax.vue +34 -0
  123. package/src/components/Table/TableBasic.vue +34 -0
  124. package/src/components/Table/TableNoSubmit.vue +34 -0
  125. package/src/components/Table/TableSubmit.vue +34 -0
  126. package/src/components/Table/Table.spec.js +0 -47
@@ -1,4 +1,4 @@
1
- import { createElementBlock as o, openBlock as r, normalizeClass as b, createCommentVNode as p, createElementVNode as c, toDisplayString as y, withDirectives as x, renderSlot as m, mergeProps as v, vModelDynamic as E, vModelText as F, Fragment as w, renderList as $, vModelSelect as z, createTextVNode as B, onMounted as L, ref as N, resolveComponent as q, createVNode as _, withModifiers as O } from "vue";
1
+ import { createElementBlock as o, openBlock as r, normalizeClass as b, createCommentVNode as f, createElementVNode as c, toDisplayString as y, withDirectives as x, renderSlot as d, mergeProps as v, vModelDynamic as E, vModelText as F, Fragment as w, renderList as $, vModelSelect as z, createTextVNode as B, onMounted as L, ref as N, resolveComponent as q, createVNode as _, withModifiers as O } from "vue";
2
2
  const u = (e, i) => {
3
3
  const t = e.__vccOpts || e;
4
4
  for (const [n, s] of i)
@@ -43,7 +43,7 @@ function K(e, i, t, n, s, a) {
43
43
  t.desc ? (r(), o("span", {
44
44
  key: 0,
45
45
  innerHTML: t.desc
46
- }, null, 8, G)) : p("", !0)
46
+ }, null, 8, G)) : f("", !0)
47
47
  ], 2);
48
48
  }
49
49
  const Gi = /* @__PURE__ */ u(U, [["render", K]]), Q = {
@@ -250,19 +250,19 @@ function gt(e, i, t, n, s, a) {
250
250
  for: t.id,
251
251
  innerHTML: a.displayLabel(),
252
252
  title: t.title
253
- }, null, 10, Y)) : p("", !0),
253
+ }, null, 10, Y)) : f("", !0),
254
254
  t.prefix ? (r(), o("span", {
255
255
  key: 1,
256
256
  class: b(`prefix ${this.prefixClass} ${t.size ? `prefix-${t.size}` : ""}`),
257
257
  innerHTML: t.prefix,
258
258
  role: "presentation"
259
- }, null, 10, J)) : p("", !0),
259
+ }, null, 10, J)) : f("", !0),
260
260
  t.suffix ? (r(), o("span", {
261
261
  key: 2,
262
262
  class: b(`suffix ${this.suffixClass} ${t.size ? `suffix-${t.size}` : ""}`),
263
263
  innerHTML: t.suffix,
264
264
  role: "presentation"
265
- }, null, 10, X)) : p("", !0),
265
+ }, null, 10, X)) : f("", !0),
266
266
  a.isInput() ? x((r(), o("input", v({
267
267
  key: 3,
268
268
  "onUpdate:modelValue": i[0] || (i[0] = (l) => a.inputVal = l),
@@ -276,7 +276,7 @@ function gt(e, i, t, n, s, a) {
276
276
  onKeyup: i[1] || (i[1] = (...l) => a.inputKeyup && a.inputKeyup(...l))
277
277
  }), null, 16, Z)), [
278
278
  [E, a.inputVal]
279
- ]) : p("", !0),
279
+ ]) : f("", !0),
280
280
  t.type == "textarea" ? x((r(), o("textarea", v({
281
281
  key: 4,
282
282
  "onUpdate:modelValue": i[2] || (i[2] = (l) => a.inputVal = l),
@@ -287,7 +287,7 @@ function gt(e, i, t, n, s, a) {
287
287
  pattern: a.needPattern()
288
288
  }, e.$attrs), null, 16, tt)), [
289
289
  [F, a.inputVal]
290
- ]) : p("", !0),
290
+ ]) : f("", !0),
291
291
  t.type == "range" ? (r(), o("div", et, [
292
292
  x(c("input", v({
293
293
  "onUpdate:modelValue": i[3] || (i[3] = (l) => a.inputVal = l),
@@ -301,7 +301,7 @@ function gt(e, i, t, n, s, a) {
301
301
  [E, a.inputVal]
302
302
  ]),
303
303
  c("output", at, y(t.value), 1)
304
- ])) : p("", !0),
304
+ ])) : f("", !0),
305
305
  t.type == "color" ? (r(), o("div", nt, [
306
306
  x(c("input", v({
307
307
  "onUpdate:modelValue": i[4] || (i[4] = (l) => a.inputVal = l),
@@ -315,7 +315,7 @@ function gt(e, i, t, n, s, a) {
315
315
  [E, a.inputVal]
316
316
  ]),
317
317
  c("output", ot, y(t.value ? e.vale : "#000000"), 1)
318
- ])) : p("", !0),
318
+ ])) : f("", !0),
319
319
  t.type == "select" ? x((r(), o("select", v({
320
320
  key: 7,
321
321
  "onUpdate:modelValue": i[5] || (i[5] = (l) => a.inputVal = l),
@@ -325,26 +325,26 @@ function gt(e, i, t, n, s, a) {
325
325
  id: t.id,
326
326
  pattern: a.needPattern()
327
327
  }, e.$attrs), [
328
- (r(!0), o(w, null, $(t.options, (l, d) => (r(), o("option", {
329
- key: d,
328
+ (r(!0), o(w, null, $(t.options, (l, m) => (r(), o("option", {
329
+ key: m,
330
330
  value: l.value
331
331
  }, y(l.display ? l.display : l.value), 9, lt))), 128))
332
332
  ], 16, rt)), [
333
333
  [z, a.inputVal]
334
- ]) : p("", !0),
334
+ ]) : f("", !0),
335
335
  t.type == "checkbox" || t.type == "radio" ? (r(), o("input", v({
336
336
  key: 8,
337
337
  class: "form-check-input",
338
338
  type: t.type,
339
339
  name: t.name ? t.name : t.id,
340
340
  id: t.id
341
- }, e.$attrs), null, 16, ct)) : p("", !0),
341
+ }, e.$attrs), null, 16, ct)) : f("", !0),
342
342
  t.type == "checkbox" || t.type == "radio" ? (r(), o("label", {
343
343
  key: 9,
344
344
  class: b(`form-label form-check-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
345
345
  for: t.id,
346
346
  innerHTML: t.label
347
- }, null, 10, dt)) : p("", !0),
347
+ }, null, 10, dt)) : f("", !0),
348
348
  t.type == "checkbox-btn" || t.type == "radio-btn" ? (r(), o("input", v({
349
349
  key: 10,
350
350
  class: `btn-check${t.inputclass ? ` ${t.inputclass}` : ""}`,
@@ -352,29 +352,29 @@ function gt(e, i, t, n, s, a) {
352
352
  autocomplete: "off",
353
353
  name: t.name ? t.name : t.id,
354
354
  id: t.id
355
- }, e.$attrs), null, 16, mt)) : p("", !0),
355
+ }, e.$attrs), null, 16, mt)) : f("", !0),
356
356
  t.type == "checkbox-btn" || t.type == "radio-btn" ? (r(), o("label", {
357
357
  key: 11,
358
358
  class: b(`btn${t.labelclass ? ` ${t.labelclass}` : ""}`),
359
359
  for: t.id,
360
360
  innerHTML: t.label,
361
361
  onClick: i[6] || (i[6] = (...l) => a.clickEvent && a.clickEvent(...l))
362
- }, null, 10, ut)) : p("", !0),
363
- m(e.$slots, "default"),
362
+ }, null, 10, ut)) : f("", !0),
363
+ d(e.$slots, "default"),
364
364
  t.errormsg ? (r(), o("span", {
365
365
  key: 12,
366
366
  class: "invalid-feedback mb-0",
367
367
  innerHTML: t.errormsg
368
- }, null, 8, pt)) : p("", !0),
368
+ }, null, 8, pt)) : f("", !0),
369
369
  a.allowDatalist() ? (r(), o("datalist", {
370
370
  key: 13,
371
371
  id: t.id + "-list"
372
372
  }, [
373
- (r(!0), o(w, null, $(t.options, (l, d) => (r(), o("option", {
374
- key: d,
373
+ (r(!0), o(w, null, $(t.options, (l, m) => (r(), o("option", {
374
+ key: m,
375
375
  value: l.value
376
376
  }, y(l.value), 9, ft))), 128))
377
- ], 8, ht)) : p("", !0)
377
+ ], 8, ht)) : f("", !0)
378
378
  ], 2);
379
379
  }
380
380
  const R = /* @__PURE__ */ u(Q, [["render", gt]]), bt = {
@@ -382,7 +382,7 @@ const R = /* @__PURE__ */ u(Q, [["render", gt]]), bt = {
382
382
  props: {},
383
383
  mounted() {
384
384
  this.$nextTick(function() {
385
- import("./accordion.component.min-CRoR6jXt.js").then((e) => {
385
+ import("./accordion.component.min-CcPO96Mq.js").then((e) => {
386
386
  window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", e.default);
387
387
  }).catch((e) => {
388
388
  console.log(e.message);
@@ -392,7 +392,7 @@ const R = /* @__PURE__ */ u(Q, [["render", gt]]), bt = {
392
392
  }, yt = { ref: "wrapper" };
393
393
  function _t(e, i, t, n, s, a) {
394
394
  return r(), o("iam-accordion", yt, [
395
- m(e.$slots, "default")
395
+ d(e.$slots, "default")
396
396
  ], 512);
397
397
  }
398
398
  const Ki = /* @__PURE__ */ u(bt, [["render", _t]]), vt = (e) => e.charAt(0).toUpperCase() + e.slice(1), wt = (e) => e.replace(/_/g, " "), $t = (e) => e.replace(/ /g, "_"), kt = function(e) {
@@ -442,9 +442,9 @@ function Lt(e, i, t, n, s, a) {
442
442
  t.badge ? (r(), o("span", {
443
443
  key: 0,
444
444
  class: b(`badge bg-${t.badgecolour}`)
445
- }, y(t.badge), 3)) : p("", !0)
445
+ }, y(t.badge), 3)) : f("", !0)
446
446
  ]),
447
- m(e.$slots, "default")
447
+ d(e.$slots, "default")
448
448
  ], 8, xt);
449
449
  }
450
450
  const Qi = /* @__PURE__ */ u(At, [["render", Lt]]), St = {
@@ -452,7 +452,7 @@ const Qi = /* @__PURE__ */ u(At, [["render", Lt]]), St = {
452
452
  props: {},
453
453
  mounted() {
454
454
  this.$nextTick(function() {
455
- import("./actionbar.component.min-BQBKQD6x.js").then((e) => {
455
+ import("./actionbar.component.min-BYyf7tiX.js").then((e) => {
456
456
  window.customElements.get("iam-actionbar") || window.customElements.define("iam-actionbar", e.default);
457
457
  }).catch((e) => {
458
458
  console.log(e.message);
@@ -462,7 +462,7 @@ const Qi = /* @__PURE__ */ u(At, [["render", Lt]]), St = {
462
462
  };
463
463
  function Et(e, i, t, n, s, a) {
464
464
  return r(), o("iam-actionbar", null, [
465
- m(e.$slots, "default")
465
+ d(e.$slots, "default")
466
466
  ]);
467
467
  }
468
468
  const Yi = /* @__PURE__ */ u(St, [["render", Et]]), qt = {
@@ -479,7 +479,7 @@ const Yi = /* @__PURE__ */ u(St, [["render", Et]]), qt = {
479
479
  };
480
480
  function Tt(e, i, t, n, s, a) {
481
481
  return r(), o("iam-address-lookup", null, [
482
- m(e.$slots, "default")
482
+ d(e.$slots, "default")
483
483
  ]);
484
484
  }
485
485
  const Ji = /* @__PURE__ */ u(qt, [["render", Tt]]), Mt = {
@@ -496,7 +496,7 @@ const Ji = /* @__PURE__ */ u(qt, [["render", Tt]]), Mt = {
496
496
  };
497
497
  function Ht(e, i, t, n, s, a) {
498
498
  return r(), o("iam-applied-filters", null, [
499
- m(e.$slots, "default")
499
+ d(e.$slots, "default")
500
500
  ]);
501
501
  }
502
502
  const Xi = /* @__PURE__ */ u(Mt, [["render", Ht]]), Ct = {
@@ -526,7 +526,7 @@ function Dt(e, i, t, n, s, a) {
526
526
  c("div", Pt, [
527
527
  c("div", jt, [
528
528
  c("h2", null, y(t.title), 1),
529
- m(e.$slots, "default")
529
+ d(e.$slots, "default")
530
530
  ])
531
531
  ]),
532
532
  c("div", It, [
@@ -535,7 +535,7 @@ function Dt(e, i, t, n, s, a) {
535
535
  src: t.image,
536
536
  alt: "",
537
537
  class: "h-100 w-100 object-cover"
538
- }, null, 8, Vt)) : p("", !0)
538
+ }, null, 8, Vt)) : f("", !0)
539
539
  ])
540
540
  ])
541
541
  ], 2)
@@ -545,7 +545,7 @@ const Zi = /* @__PURE__ */ u(Ct, [["render", Dt]]), Ft = {
545
545
  name: "Barchart",
546
546
  created() {
547
547
  this.$nextTick(function() {
548
- import("./barchart.component.min-BK3Cl5Ur.js").then((e) => {
548
+ import("./barchart.component.min-DON8kTWJ.js").then((e) => {
549
549
  window.customElements.get("iam-barchart") || window.customElements.define("iam-barchart", e.default);
550
550
  }).catch((e) => {
551
551
  console.log(e.message);
@@ -555,7 +555,7 @@ const Zi = /* @__PURE__ */ u(Ct, [["render", Dt]]), Ft = {
555
555
  };
556
556
  function zt(e, i, t, n, s, a) {
557
557
  return r(), o("iam-barchart", null, [
558
- m(e.$slots, "default")
558
+ d(e.$slots, "default")
559
559
  ]);
560
560
  }
561
561
  const ta = /* @__PURE__ */ u(Ft, [["render", zt]]), Bt = { ref: "wrapper" }, ea = {
@@ -568,14 +568,14 @@ const ta = /* @__PURE__ */ u(Ft, [["render", zt]]), Bt = { ref: "wrapper" }, ea
568
568
  console.log(i.message);
569
569
  });
570
570
  }), (i, t) => (r(), o("iam-bento-grid", Bt, [
571
- m(i.$slots, "default")
571
+ d(i.$slots, "default")
572
572
  ], 512));
573
573
  }
574
574
  }, Ot = {
575
575
  name: "Card",
576
576
  created() {
577
577
  this.$nextTick(function() {
578
- import("./card.component.min-Ba8_TTCi.js").then((e) => {
578
+ import("./card.component.min-C94E6o_q.js").then((e) => {
579
579
  window.customElements.get("iam-card") || window.customElements.define("iam-card", e.default);
580
580
  }).catch((e) => {
581
581
  console.log(e.message);
@@ -585,14 +585,14 @@ const ta = /* @__PURE__ */ u(Ft, [["render", zt]]), Bt = { ref: "wrapper" }, ea
585
585
  };
586
586
  function Ut(e, i, t, n, s, a) {
587
587
  return r(), o("iam-card", null, [
588
- m(e.$slots, "default")
588
+ d(e.$slots, "default")
589
589
  ]);
590
590
  }
591
591
  const ia = /* @__PURE__ */ u(Ot, [["render", Ut]]), Wt = {
592
592
  name: "Header",
593
593
  mounted() {
594
594
  this.$nextTick(function() {
595
- import("./carousel.component.min-BRU1HSMO.js").then((e) => {
595
+ import("./carousel.component.min-BaADV7nO.js").then((e) => {
596
596
  window.customElements.get("iam-carousel") || window.customElements.define("iam-carousel", e.default);
597
597
  }).catch((e) => {
598
598
  console.log(e.message);
@@ -602,7 +602,7 @@ const ia = /* @__PURE__ */ u(Ot, [["render", Ut]]), Wt = {
602
602
  };
603
603
  function Gt(e, i, t, n, s, a) {
604
604
  return r(), o("iam-carousel", null, [
605
- m(e.$slots, "default")
605
+ d(e.$slots, "default")
606
606
  ]);
607
607
  }
608
608
  const aa = /* @__PURE__ */ u(Wt, [["render", Gt]]);
@@ -668,7 +668,7 @@ const Qt = {
668
668
  };
669
669
  function Yt(e, i, t, n, s, a) {
670
670
  return r(), o("iam-collapsible-side", null, [
671
- m(e.$slots, "default")
671
+ d(e.$slots, "default")
672
672
  ]);
673
673
  }
674
674
  const na = /* @__PURE__ */ u(Qt, [["render", Yt]]), Jt = {
@@ -685,7 +685,7 @@ const na = /* @__PURE__ */ u(Qt, [["render", Yt]]), Jt = {
685
685
  },
686
686
  created() {
687
687
  this.$nextTick(function() {
688
- import("./fileupload.component.min-OUzI8W1u.js").then((e) => {
688
+ import("./fileupload.component.min-BaL13JPG.js").then((e) => {
689
689
  window.customElements.get("iam-fileupload") || window.customElements.define("iam-fileupload", e.default);
690
690
  }).catch((e) => {
691
691
  console.log(e.message);
@@ -708,14 +708,14 @@ const na = /* @__PURE__ */ u(Qt, [["render", Yt]]), Jt = {
708
708
  ref_key: "$component",
709
709
  ref: n
710
710
  }, [
711
- m(s.$slots, "default")
711
+ d(s.$slots, "default")
712
712
  ], 512));
713
713
  }
714
714
  }), Xt = {
715
715
  name: "Card",
716
716
  created() {
717
717
  this.$nextTick(function() {
718
- import("./filter-card.component.min-CE6sNzmO.js").then((e) => {
718
+ import("./filter-card.component.min-CGA2RcaT.js").then((e) => {
719
719
  window.customElements.get("iam-filter-card") || window.customElements.define("iam-filter-card", e.default);
720
720
  }).catch((e) => {
721
721
  console.log(e.message);
@@ -725,12 +725,12 @@ const na = /* @__PURE__ */ u(Qt, [["render", Yt]]), Jt = {
725
725
  };
726
726
  function Zt(e, i, t, n, s, a) {
727
727
  return r(), o("iam-filter-card", null, [
728
- m(e.$slots, "default")
728
+ d(e.$slots, "default")
729
729
  ]);
730
730
  }
731
731
  const oa = /* @__PURE__ */ u(Xt, [["render", Zt]]);
732
732
  /*!
733
- * iamKey v7.2.0
733
+ * iamKey v7.2.1--beta2
734
734
  * Copyright 2022-2025 iamproperty
735
735
  */
736
736
  function te(e, i) {
@@ -797,7 +797,7 @@ const ae = {
797
797
  };
798
798
  function ne(e, i, t, n, s, a) {
799
799
  return r(), o("iam-filterlist", null, [
800
- m(e.$slots, "default")
800
+ d(e.$slots, "default")
801
801
  ]);
802
802
  }
803
803
  const ra = /* @__PURE__ */ u(ae, [["render", ne]]), se = {
@@ -814,7 +814,7 @@ const ra = /* @__PURE__ */ u(ae, [["render", ne]]), se = {
814
814
  },
815
815
  mounted() {
816
816
  this.$nextTick(function() {
817
- import("./header.component.min-BiZu7F6v.js").then((e) => {
817
+ import("./header.component.min-B9EFXTMG.js").then((e) => {
818
818
  window.customElements.get("iam-header") || window.customElements.define("iam-header", e.default);
819
819
  }).catch((e) => {
820
820
  console.log(e.message);
@@ -824,12 +824,12 @@ const ra = /* @__PURE__ */ u(ae, [["render", ne]]), se = {
824
824
  }, oe = ["image"], re = ["innerHTML"];
825
825
  function le(e, i, t, n, s, a) {
826
826
  return r(), o("iam-header", { image: t.image }, [
827
- m(e.$slots, "breadcrumb"),
827
+ d(e.$slots, "breadcrumb"),
828
828
  t.title ? (r(), o("h1", {
829
829
  key: 0,
830
830
  innerHTML: t.title
831
- }, null, 8, re)) : p("", !0),
832
- m(e.$slots, "default")
831
+ }, null, 8, re)) : f("", !0),
832
+ d(e.$slots, "default")
833
833
  ], 8, oe);
834
834
  }
835
835
  const la = /* @__PURE__ */ u(se, [["render", le]]), ce = {
@@ -858,14 +858,14 @@ const la = /* @__PURE__ */ u(se, [["render", le]]), ce = {
858
858
  ref_key: "$component",
859
859
  ref: n
860
860
  }, [
861
- m(s.$slots, "default")
861
+ d(s.$slots, "default")
862
862
  ], 512));
863
863
  }
864
864
  }), de = {
865
865
  name: "Multiselect",
866
866
  mounted() {
867
867
  this.$nextTick(function() {
868
- import("./multiselect.component.min-BISqveip.js").then((e) => {
868
+ import("./multiselect.component.min-Ctyfsa-1.js").then((e) => {
869
869
  window.customElements.get("iam-multiselect") || window.customElements.define("iam-multiselect", e.default);
870
870
  }).catch((e) => {
871
871
  console.log(e.message);
@@ -875,7 +875,7 @@ const la = /* @__PURE__ */ u(se, [["render", le]]), ce = {
875
875
  };
876
876
  function me(e, i, t, n, s, a) {
877
877
  return r(), o("iam-multiselect", null, [
878
- m(e.$slots, "default")
878
+ d(e.$slots, "default")
879
879
  ]);
880
880
  }
881
881
  const da = /* @__PURE__ */ u(de, [["render", me]]), ma = {
@@ -888,7 +888,7 @@ const da = /* @__PURE__ */ u(de, [["render", me]]), ma = {
888
888
  console.log(i.message);
889
889
  });
890
890
  }), (i, t) => (r(), o("iam-multi-step", null, [
891
- m(i.$slots, "default")
891
+ d(i.$slots, "default")
892
892
  ]));
893
893
  }
894
894
  }, ue = {
@@ -905,7 +905,7 @@ const da = /* @__PURE__ */ u(de, [["render", me]]), ma = {
905
905
  }, pe = { ref: "wrapper" };
906
906
  function he(e, i, t, n, s, a) {
907
907
  return r(), o("iam-menu", pe, [
908
- m(e.$slots, "default")
908
+ d(e.$slots, "default")
909
909
  ], 512);
910
910
  }
911
911
  const ua = /* @__PURE__ */ u(ue, [["render", he]]), fe = {
@@ -913,7 +913,7 @@ const ua = /* @__PURE__ */ u(ue, [["render", he]]), fe = {
913
913
  name: "Nav",
914
914
  mounted() {
915
915
  this.$nextTick(function() {
916
- import("./nav.component.min-Bd0kb41V.js").then((e) => {
916
+ import("./nav.component.min-uzHKm-iF.js").then((e) => {
917
917
  window.customElements.get("iam-nav") || window.customElements.define("iam-nav", e.default);
918
918
  }).catch((e) => {
919
919
  console.log(e.message);
@@ -924,7 +924,7 @@ const ua = /* @__PURE__ */ u(ue, [["render", he]]), fe = {
924
924
  }, ge = { ref: "wrapper" };
925
925
  function be(e, i, t, n, s, a) {
926
926
  return r(), o("iam-nav", ge, [
927
- m(e.$slots, "default")
927
+ d(e.$slots, "default")
928
928
  ], 512);
929
929
  }
930
930
  const pa = /* @__PURE__ */ u(fe, [["render", be]]), ye = {
@@ -946,7 +946,7 @@ const pa = /* @__PURE__ */ u(fe, [["render", be]]), ye = {
946
946
  },
947
947
  created() {
948
948
  this.$nextTick(function() {
949
- import("./table.component.min-RoKFRxGj.js").then((e) => {
949
+ import("./table.component.min-kuVUpaJD.js").then((e) => {
950
950
  window.customElements.get("iam-table") || window.customElements.define("iam-table", e.default);
951
951
  }).catch((e) => {
952
952
  console.log(e.message);
@@ -962,7 +962,7 @@ const pa = /* @__PURE__ */ u(fe, [["render", be]]), ye = {
962
962
  }, _e = { key: 0 }, ve = { key: 0 }, we = ["data-row-id"], $e = ["innerHTML"];
963
963
  function ke(e, i, t, n, s, a) {
964
964
  return r(), o("iam-table", null, [
965
- m(e.$slots, "before"),
965
+ d(e.$slots, "before"),
966
966
  t.fields ? (r(), o("table", _e, [
967
967
  c("thead", null, [
968
968
  c("tr", null, [
@@ -972,19 +972,19 @@ function ke(e, i, t, n, s, a) {
972
972
  ])
973
973
  ]),
974
974
  t.items ? (r(), o("tbody", ve, [
975
- (r(!0), o(w, null, $(t.items, (l, d) => (r(), o("tr", {
976
- key: d,
975
+ (r(!0), o(w, null, $(t.items, (l, m) => (r(), o("tr", {
976
+ key: m,
977
977
  "data-row-id": l.rowid
978
978
  }, [
979
979
  (r(!0), o(w, null, $(Object.fromEntries(
980
- Object.entries(l).filter(([h]) => h !== "rowid")
981
- ), (h, f) => (r(), o("td", {
982
- key: f,
983
- innerHTML: h
980
+ Object.entries(l).filter(([p]) => p !== "rowid")
981
+ ), (p, h) => (r(), o("td", {
982
+ key: h,
983
+ innerHTML: p
984
984
  }, null, 8, $e))), 128))
985
985
  ], 8, we))), 128))
986
- ])) : p("", !0)
987
- ])) : m(e.$slots, "default", { key: 1 })
986
+ ])) : f("", !0)
987
+ ])) : d(e.$slots, "default", { key: 1 })
988
988
  ]);
989
989
  }
990
990
  const P = /* @__PURE__ */ u(ye, [["render", ke]]);
@@ -1038,13 +1038,13 @@ const Ae = {
1038
1038
  }
1039
1039
  }, xe = { class: "container note-feed mb-2" }, Le = ["innerHTML"], Se = ["action", "method"], Ee = ["value"];
1040
1040
  function qe(e, i, t, n, s, a) {
1041
- const l = q("Table"), d = q("Input");
1041
+ const l = q("Table"), m = q("Input");
1042
1042
  return r(), o("div", xe, [
1043
1043
  t.title ? (r(), o("span", {
1044
1044
  key: 0,
1045
1045
  class: "h3",
1046
1046
  innerHTML: t.title
1047
- }, null, 8, Le)) : p("", !0),
1047
+ }, null, 8, Le)) : f("", !0),
1048
1048
  _(l, v({
1049
1049
  fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
1050
1050
  items: s.itemsData
@@ -1052,14 +1052,14 @@ function qe(e, i, t, n, s, a) {
1052
1052
  c("form", {
1053
1053
  action: t.action,
1054
1054
  method: t.method,
1055
- onSubmit: i[0] || (i[0] = O((h) => a.submitForm(...arguments), ["prevent"]))
1055
+ onSubmit: i[0] || (i[0] = O((p) => a.submitForm(...arguments), ["prevent"]))
1056
1056
  }, [
1057
1057
  c("input", {
1058
1058
  type: "hidden",
1059
1059
  value: t.user,
1060
1060
  name: "user"
1061
1061
  }, null, 8, Ee),
1062
- _(d, {
1062
+ _(m, {
1063
1063
  id: "addNote",
1064
1064
  type: "textarea",
1065
1065
  label: "Add note",
@@ -1125,9 +1125,9 @@ class He extends HTMLElement {
1125
1125
  }
1126
1126
  connectedCallback() {
1127
1127
  var i, t, n, s, a;
1128
- const l = this, d = this.hasAttribute("data-status") ? this.getAttribute("data-status") : "white";
1129
- if (this.hasAttribute("data-type") ? this.classList.add(`bg-${d}`) : this.classList.add(`colour-${d}`), !this.querySelector("i"))
1130
- switch (d) {
1128
+ const l = this, m = this.hasAttribute("data-status") ? this.getAttribute("data-status") : "white";
1129
+ if (this.hasAttribute("data-type") ? this.classList.add(`bg-${m}`) : this.classList.add(`colour-${m}`), !this.querySelector("i"))
1130
+ switch (m) {
1131
1131
  case "danger":
1132
1132
  this.innerHTML += '<i class="fa-solid fa-circle-exclamation" aria-hidden="true" slot="icon"></i>';
1133
1133
  break;
@@ -1140,10 +1140,10 @@ class He extends HTMLElement {
1140
1140
  default:
1141
1141
  this.innerHTML += '<i class="fa-solid fa-circle-info" aria-hidden="true" slot="icon"></i>';
1142
1142
  }
1143
- const h = this.querySelectorAll("a,button");
1144
- Array.from(h).forEach((f) => {
1145
- f.setAttribute("slot", "btns"), f.classList.add("link");
1146
- }), (h.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable"), h.length ? (s = (n = this.shadowRoot) === null || n === void 0 ? void 0 : n.querySelector(".notification__btns")) === null || s === void 0 || s.classList.remove("empty") : (t = (i = this.shadowRoot) === null || i === void 0 ? void 0 : i.querySelector(".notification__btns")) === null || t === void 0 || t.classList.add("empty"), this.hasAttribute("data-dismiss") && ((a = this.shadowRoot.querySelector(".notification__dismiss")) === null || a === void 0 || (a.innerHTML = '<button data-dismiss-button part="dismiss-btn">Dismiss</button>'), this.shadowRoot.querySelector(".notification__dismiss [data-dismiss-button]").addEventListener("click", function() {
1143
+ const p = this.querySelectorAll("a,button");
1144
+ Array.from(p).forEach((h) => {
1145
+ h.setAttribute("slot", "btns"), h.classList.add("link");
1146
+ }), (p.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable"), p.length ? (s = (n = this.shadowRoot) === null || n === void 0 ? void 0 : n.querySelector(".notification__btns")) === null || s === void 0 || s.classList.remove("empty") : (t = (i = this.shadowRoot) === null || i === void 0 ? void 0 : i.querySelector(".notification__btns")) === null || t === void 0 || t.classList.add("empty"), this.hasAttribute("data-dismiss") && ((a = this.shadowRoot.querySelector(".notification__dismiss")) === null || a === void 0 || (a.innerHTML = '<button data-dismiss-button part="dismiss-btn">Dismiss</button>'), this.shadowRoot.querySelector(".notification__dismiss [data-dismiss-button]").addEventListener("click", function() {
1147
1147
  T(l);
1148
1148
  }, !1)), Te(this);
1149
1149
  }
@@ -1159,12 +1159,12 @@ const Ce = {
1159
1159
  };
1160
1160
  function Ne(e, i, t, n, s, a) {
1161
1161
  return r(), o("iam-notification", null, [
1162
- m(e.$slots, "default")
1162
+ d(e.$slots, "default")
1163
1163
  ]);
1164
1164
  }
1165
1165
  const fa = /* @__PURE__ */ u(Ce, [["render", Ne]]);
1166
1166
  /*!
1167
- * iamKey v7.2.0
1167
+ * iamKey v7.2.1--beta2
1168
1168
  * Copyright 2022-2025 iamproperty
1169
1169
  */
1170
1170
  class I extends HTMLElement {
@@ -1174,7 +1174,7 @@ class I extends HTMLElement {
1174
1174
  n.innerHTML = `
1175
1175
  <style>
1176
1176
  @import "${t}";
1177
- .m-0{margin:0 !important}.mx-0{margin-left:0 !important;margin-right:0 !important}.my-0{margin-top:0 !important;margin-bottom:0 !important}.mt-0{margin-top:0 !important}.me-0{margin-right:0 !important}.mb-0{margin-bottom:0 !important}.ms-0{margin-left:0 !important}.m-1{margin:0.5rem !important}.mx-1{margin-left:0.5rem !important;margin-right:0.5rem !important}.my-1{margin-top:0.5rem !important;margin-bottom:0.5rem !important}.mt-1{margin-top:0.5rem !important}.me-1{margin-right:0.5rem !important}.mb-1{margin-bottom:0.5rem !important}.ms-1{margin-left:0.5rem !important}.m-2{margin:1rem !important}.mx-2{margin-left:1rem !important;margin-right:1rem !important}.my-2{margin-top:1rem !important;margin-bottom:1rem !important}.mt-2{margin-top:1rem !important}.me-2{margin-right:1rem !important}.mb-2{margin-bottom:1rem !important}.ms-2{margin-left:1rem !important}.m-3{margin:1.5rem !important}.mx-3{margin-left:1.5rem !important;margin-right:1.5rem !important}.my-3{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.mt-3{margin-top:1.5rem !important}.me-3{margin-right:1.5rem !important}.mb-3{margin-bottom:1.5rem !important}.ms-3{margin-left:1.5rem !important}.m-4{margin:2rem !important}.mx-4{margin-left:2rem !important;margin-right:2rem !important}.my-4{margin-top:2rem !important;margin-bottom:2rem !important}.mt-4{margin-top:2rem !important}.me-4{margin-right:2rem !important}.mb-4{margin-bottom:2rem !important}.ms-4{margin-left:2rem !important}.m-5{margin:3rem !important}.mx-5{margin-left:3rem !important;margin-right:3rem !important}.my-5{margin-top:3rem !important;margin-bottom:3rem !important}.mt-5{margin-top:3rem !important}.me-5{margin-right:3rem !important}.mb-5{margin-bottom:3rem !important}.ms-5{margin-left:3rem !important}.m-auto{margin:auto !important}.mx-auto{margin-right:auto !important;margin-left:auto !important}.my-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-auto{margin-top:auto !important}.me-auto{margin-right:auto !important}.mb-auto{margin-bottom:auto !important}.ms-auto{margin-left:auto !important}: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 *:has(.prev:disabled):has(.next:disabled){display:none}.pagination div:is(.page-jump,.per-page){border:1px solid var(--colour-light);height:3.25rem;display:none;align-items:center;padding-inline:1rem}.pagination div:is(.page-jump,.per-page) .select--minimal{height:calc(3.25rem - 1em);line-height:calc(3.25rem - 1em);margin-left:-1rem;font-weight:bold}.pagination div:is(.page-jump,.per-page) div:has(>select){margin-bottom:0}.pagination div:is(.page-jump,.per-page) div:has(>select):after{top:50%}.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;color:var(--colour-body)}@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(--pagination-link-color);color:var(--colour-hover)}*:where(.prev,.next):is(:active):not(:disabled){background-color:var(--pagination-link-color);color:var(--colour-active)}*: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 */
1177
+ .m-0{margin:0 !important}.mx-0{margin-left:0 !important;margin-right:0 !important}.my-0{margin-top:0 !important;margin-bottom:0 !important}.mt-0{margin-top:0 !important}.me-0{margin-right:0 !important}.mb-0{margin-bottom:0 !important}.ms-0{margin-left:0 !important}.m-1{margin:0.5rem !important}.mx-1{margin-left:0.5rem !important;margin-right:0.5rem !important}.my-1{margin-top:0.5rem !important;margin-bottom:0.5rem !important}.mt-1{margin-top:0.5rem !important}.me-1{margin-right:0.5rem !important}.mb-1{margin-bottom:0.5rem !important}.ms-1{margin-left:0.5rem !important}.m-2{margin:1rem !important}.mx-2{margin-left:1rem !important;margin-right:1rem !important}.my-2{margin-top:1rem !important;margin-bottom:1rem !important}.mt-2{margin-top:1rem !important}.me-2{margin-right:1rem !important}.mb-2{margin-bottom:1rem !important}.ms-2{margin-left:1rem !important}.m-3{margin:1.5rem !important}.mx-3{margin-left:1.5rem !important;margin-right:1.5rem !important}.my-3{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.mt-3{margin-top:1.5rem !important}.me-3{margin-right:1.5rem !important}.mb-3{margin-bottom:1.5rem !important}.ms-3{margin-left:1.5rem !important}.m-4{margin:2rem !important}.mx-4{margin-left:2rem !important;margin-right:2rem !important}.my-4{margin-top:2rem !important;margin-bottom:2rem !important}.mt-4{margin-top:2rem !important}.me-4{margin-right:2rem !important}.mb-4{margin-bottom:2rem !important}.ms-4{margin-left:2rem !important}.m-5{margin:3rem !important}.mx-5{margin-left:3rem !important;margin-right:3rem !important}.my-5{margin-top:3rem !important;margin-bottom:3rem !important}.mt-5{margin-top:3rem !important}.me-5{margin-right:3rem !important}.mb-5{margin-bottom:3rem !important}.ms-5{margin-left:3rem !important}.m-auto{margin:auto !important}.mx-auto{margin-right:auto !important;margin-left:auto !important}.my-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-auto{margin-top:auto !important}.me-auto{margin-right:auto !important}.mb-auto{margin-bottom:auto !important}.ms-auto{margin-left:auto !important}: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:has(.prev:disabled):has(.next:disabled){display:none;padding:0}.pagination div:is(.page-jump,.per-page){border:1px solid var(--colour-light);height:3.25rem;display:none;align-items:center;padding-inline:1rem}.pagination div:is(.page-jump,.per-page) .select--minimal{height:calc(3.25rem - 1em);line-height:calc(3.25rem - 1em);margin-left:-1rem;font-weight:bold}.pagination div:is(.page-jump,.per-page) div:has(>select){margin-bottom:0}.pagination div:is(.page-jump,.per-page) div:has(>select):after{top:50%}.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;color:var(--colour-body)}@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(--pagination-link-color);color:var(--colour-hover)}*:where(.prev,.next):is(:active):not(:disabled){background-color:var(--pagination-link-color);color:var(--colour-active)}*: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 */
1178
1178
 
1179
1179
 
1180
1180
  ${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
@@ -1215,27 +1215,29 @@ class I extends HTMLElement {
1215
1215
  const i = new URLSearchParams(window.location.search);
1216
1216
  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"));
1217
1217
  const t = this.shadowRoot.querySelector(".page-jump select"), n = this.shadowRoot.querySelector(".prev"), s = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".per-page select"), l = this.shadowRoot.querySelector(".load-more");
1218
- this.setup(), t.addEventListener("change", (d) => {
1219
- this.setAttribute("data-show", this.getAttribute("data-increment")), this.setAttribute("data-page", d.target.value);
1218
+ this.setup(), t.addEventListener("change", (h) => {
1219
+ this.setAttribute("data-show", this.getAttribute("data-increment")), this.setAttribute("data-page", h.target.value);
1220
1220
  }), s.addEventListener("click", () => {
1221
1221
  t.value = parseInt(t.value) + 1, t.dispatchEvent(new Event("change"));
1222
1222
  }), n.addEventListener("click", () => {
1223
1223
  t.value = parseInt(t.value) - 1, t.dispatchEvent(new Event("change"));
1224
- }), a.addEventListener("change", (d) => {
1225
- this.setAttribute("data-increment", d.target.value);
1226
- }), l.addEventListener("click", () => {
1227
- const d = parseInt(this.getAttribute("data-show")) + parseInt(this.getAttribute("data-increment"));
1228
- this.setAttribute("data-show", d), d > parseInt(this.getAttribute("data-total")) && l.remove();
1224
+ }), a.addEventListener("change", (h) => {
1225
+ this.setAttribute("data-increment", h.target.value);
1226
+ });
1227
+ const m = parseInt(this.getAttribute("data-increment")), p = parseInt(this.getAttribute("data-show"));
1228
+ p >= parseInt(this.getAttribute("data-total")) && l.remove(), l.addEventListener("click", () => {
1229
+ const h = p + m;
1230
+ this.setAttribute("data-show", h), h > parseInt(this.getAttribute("data-total")) && l.remove();
1229
1231
  });
1230
1232
  }
1231
1233
  setup() {
1232
- const i = this.shadowRoot.querySelector(".pagination"), t = this.shadowRoot.querySelector(".page-jump select"), n = this.shadowRoot.querySelector(".prev"), s = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".item-count"), l = this.shadowRoot.querySelector(".per-page select"), d = this.shadowRoot.querySelector(".total-pages"), h = parseInt(this.getAttribute("data-page")), f = parseInt(this.getAttribute("data-total")), k = parseInt(this.getAttribute("data-show")), g = parseInt(this.getAttribute("data-increment")), S = Math.ceil(f / g);
1233
- f > k && i.classList.remove("d-none");
1234
+ const i = this.shadowRoot.querySelector(".pagination"), t = this.shadowRoot.querySelector(".page-jump select"), n = this.shadowRoot.querySelector(".prev"), s = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".item-count"), l = this.shadowRoot.querySelector(".per-page select"), m = this.shadowRoot.querySelector(".total-pages"), p = parseInt(this.getAttribute("data-page")), h = parseInt(this.getAttribute("data-total")), k = parseInt(this.getAttribute("data-show")), g = parseInt(this.getAttribute("data-increment")), S = Math.ceil(h / g);
1235
+ h > k && i.classList.remove("d-none");
1234
1236
  let M = "";
1235
- for (let A = 1; A <= S; A++) M += `<option value="${A}" ${A == h ? "selected" : ""}>${A}</option>`;
1236
- t.innerHTML = M, d.innerHTML = `of ${S}`, h == S ? s.setAttribute("disabled", "disabled") : s.removeAttribute("disabled"), h == 1 ? n.setAttribute("disabled", "disabled") : n.removeAttribute("disabled");
1237
- const V = h == 1 ? 1 : (h - 1) * k + 1, H = h == 1 ? k : h * k;
1238
- a.innerHTML = `${V} - ${H > f ? f : H} of ${f} items`;
1237
+ for (let A = 1; A <= S; A++) M += `<option value="${A}" ${A == p ? "selected" : ""}>${A}</option>`;
1238
+ t.innerHTML = M, m.innerHTML = `of ${S}`, p == S ? s.setAttribute("disabled", "disabled") : s.removeAttribute("disabled"), p == 1 ? n.setAttribute("disabled", "disabled") : n.removeAttribute("disabled");
1239
+ const V = p == 1 ? 1 : (p - 1) * k + 1, H = p == 1 ? k : p * k;
1240
+ a.innerHTML = `${V} - ${H > h ? h : H} of ${h} items`;
1239
1241
  const D = [15, 25, 40, 50];
1240
1242
  g && l.value != g && !D.includes(g) && (l.innerHTML = `<option value="${g}">${g}</option>
1241
1243
  <option value="${g * 2}">${g * 2}</option>
@@ -1248,19 +1250,19 @@ class I extends HTMLElement {
1248
1250
  attributeChangedCallback(i, t, n) {
1249
1251
  switch (i) {
1250
1252
  case "data-total": {
1251
- t != n && (this.setAttribute("data-page", 1), this.setup());
1253
+ t != n && this.setup();
1252
1254
  break;
1253
1255
  }
1254
1256
  case "data-show": {
1255
- t != n && (this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
1257
+ t != n && (this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
1256
1258
  break;
1257
1259
  }
1258
1260
  case "data-increment": {
1259
- t != n && (this.setAttribute("data-show", n), this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
1261
+ t != n && (this.setAttribute("data-show", n), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
1260
1262
  break;
1261
1263
  }
1262
1264
  case "data-page": {
1263
- t && t != n && (this.setup(), this.dispatchEvent(new CustomEvent("update-page", { detail: { page: n } })));
1265
+ t && t != n && (this.setup(), console.log(n), this.dispatchEvent(new CustomEvent("update-page", { detail: { page: n } })));
1264
1266
  break;
1265
1267
  }
1266
1268
  }
@@ -1441,7 +1443,7 @@ const ga = /* @__PURE__ */ u(Pe, [["render", je]]), Ie = {
1441
1443
  function Ke(e, i, t, n, s, a) {
1442
1444
  const l = q("Input");
1443
1445
  return r(), o("div", Ve, [
1444
- m(e.$slots, "default"),
1446
+ d(e.$slots, "default"),
1445
1447
  c("div", De, [
1446
1448
  c("form", {
1447
1449
  class: "row",
@@ -1452,13 +1454,13 @@ function Ke(e, i, t, n, s, a) {
1452
1454
  _(l, {
1453
1455
  inputClass: "input--locations",
1454
1456
  modelValue: a.locationSet,
1455
- "onUpdate:modelValue": i[0] || (i[0] = (d) => a.locationSet = d),
1457
+ "onUpdate:modelValue": i[0] || (i[0] = (m) => a.locationSet = m),
1456
1458
  label: "Location",
1457
1459
  id: "location",
1458
1460
  options: a.locationsList(),
1459
1461
  required: "",
1460
1462
  placeholder: "i.e. Newcastle or NE1",
1461
- onKeyupEvent: i[1] || (i[1] = (d) => a.locationKeyup(...arguments)),
1463
+ onKeyupEvent: i[1] || (i[1] = (m) => a.locationKeyup(...arguments)),
1462
1464
  ref: "search"
1463
1465
  }, null, 8, ["modelValue", "options"]),
1464
1466
  _(l, {
@@ -1528,14 +1530,14 @@ function Ke(e, i, t, n, s, a) {
1528
1530
  ], -1))
1529
1531
  ], 8, Fe)
1530
1532
  ]),
1531
- m(e.$slots, "after")
1533
+ d(e.$slots, "after")
1532
1534
  ], 512);
1533
1535
  }
1534
1536
  const ba = /* @__PURE__ */ u(Ie, [["render", Ke]]), Qe = {
1535
1537
  name: "Card",
1536
1538
  created() {
1537
1539
  this.$nextTick(function() {
1538
- import("./record-card.component.min-BtPkgEIY.js").then((e) => {
1540
+ import("./record-card.component.min-BqyUDNPu.js").then((e) => {
1539
1541
  window.customElements.get("iam-record-card") || window.customElements.define("iam-record-card", e.default);
1540
1542
  }).catch((e) => {
1541
1543
  console.log(e.message);
@@ -1545,7 +1547,7 @@ const ba = /* @__PURE__ */ u(Ie, [["render", Ke]]), Qe = {
1545
1547
  };
1546
1548
  function Ye(e, i, t, n, s, a) {
1547
1549
  return r(), o("iam-record-card", null, [
1548
- m(e.$slots, "default")
1550
+ d(e.$slots, "default")
1549
1551
  ]);
1550
1552
  }
1551
1553
  const ya = /* @__PURE__ */ u(Qe, [["render", Ye]]), Je = {
@@ -1562,14 +1564,14 @@ const ya = /* @__PURE__ */ u(Qe, [["render", Ye]]), Je = {
1562
1564
  };
1563
1565
  function Xe(e, i, t, n, s, a) {
1564
1566
  return r(), o("iam-search", null, [
1565
- m(e.$slots, "default")
1567
+ d(e.$slots, "default")
1566
1568
  ]);
1567
1569
  }
1568
1570
  const _a = /* @__PURE__ */ u(Je, [["render", Xe]]), Ze = {
1569
1571
  name: "Slider",
1570
1572
  mounted() {
1571
1573
  this.$nextTick(function() {
1572
- import("./slider.component.min-CZEAwgE9.js").then((e) => {
1574
+ import("./slider.component.min-BmhFQD-j.js").then((e) => {
1573
1575
  window.customElements.get("iam-slider") || window.customElements.define("iam-slider", e.default);
1574
1576
  }).catch((e) => {
1575
1577
  console.log(e.message);
@@ -1579,7 +1581,7 @@ const _a = /* @__PURE__ */ u(Je, [["render", Xe]]), Ze = {
1579
1581
  };
1580
1582
  function ti(e, i, t, n, s, a) {
1581
1583
  return r(), o("iam-slider", null, [
1582
- m(e.$slots, "default")
1584
+ d(e.$slots, "default")
1583
1585
  ]);
1584
1586
  }
1585
1587
  const va = /* @__PURE__ */ u(Ze, [["render", ti]]), ei = {
@@ -1596,16 +1598,16 @@ const va = /* @__PURE__ */ u(Ze, [["render", ti]]), ei = {
1596
1598
  }, ai = { class: "row" }, ni = ["href"], si = { class: "lead snapshot__title" }, oi = { class: "stat" };
1597
1599
  function ri(e, i, t, n, s, a) {
1598
1600
  return r(), o("div", ii, [
1599
- m(e.$slots, "default"),
1601
+ d(e.$slots, "default"),
1600
1602
  c("div", ai, [
1601
- (r(!0), o(w, null, $(t.items, (l, d) => (r(), o("div", {
1603
+ (r(!0), o(w, null, $(t.items, (l, m) => (r(), o("div", {
1602
1604
  class: "col",
1603
- key: d
1605
+ key: m
1604
1606
  }, [
1605
1607
  l.link ? (r(), o("a", {
1606
1608
  key: 0,
1607
1609
  href: l.link
1608
- }, "View " + y(l.title), 9, ni)) : p("", !0),
1610
+ }, "View " + y(l.title), 9, ni)) : f("", !0),
1609
1611
  c("div", {
1610
1612
  class: b(`snapshot__item ${l.bg ? "bg-" + l.bg : ""}`)
1611
1613
  }, [
@@ -1639,9 +1641,9 @@ function hi(e, i, t, n, s, a) {
1639
1641
  class: "stepper",
1640
1642
  "aria-label": t.label ? t.label : "Progress"
1641
1643
  }, [
1642
- t.label ? (r(), o("span", mi, y(t.label), 1)) : p("", !0),
1644
+ t.label ? (r(), o("span", mi, y(t.label), 1)) : f("", !0),
1643
1645
  c("ol", ui, [
1644
- m(e.$slots, "default")
1646
+ d(e.$slots, "default")
1645
1647
  ]),
1646
1648
  c("span", pi, y(t.endlabel), 1)
1647
1649
  ], 8, di)
@@ -1675,9 +1677,9 @@ function yi(e, i, t, n, s, a) {
1675
1677
  "aria-current": typeof t.current < "u" ? "step" : !1
1676
1678
  }, [
1677
1679
  c("span", null, [
1678
- m(e.$slots, "default")
1680
+ d(e.$slots, "default")
1679
1681
  ]),
1680
- t.status ? (r(), o("em", bi, " - status: " + y(t.status), 1)) : p("", !0)
1682
+ t.status ? (r(), o("em", bi, " - status: " + y(t.status), 1)) : f("", !0)
1681
1683
  ], 10, gi)
1682
1684
  ]);
1683
1685
  }
@@ -1685,7 +1687,7 @@ const ka = /* @__PURE__ */ u(fi, [["render", yi]]), _i = {
1685
1687
  name: "Tabs",
1686
1688
  created() {
1687
1689
  this.$nextTick(function() {
1688
- import("./tabs.component.min-dz_TBiCa.js").then((e) => {
1690
+ import("./tabs.component.min-DpdAntf4.js").then((e) => {
1689
1691
  window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", e.default);
1690
1692
  }).catch((e) => {
1691
1693
  console.log(e.message);
@@ -1695,7 +1697,7 @@ const ka = /* @__PURE__ */ u(fi, [["render", yi]]), _i = {
1695
1697
  }, vi = { ref: "wrapper" };
1696
1698
  function wi(e, i, t, n, s, a) {
1697
1699
  return r(), o("iam-tabs", vi, [
1698
- m(e.$slots, "default")
1700
+ d(e.$slots, "default")
1699
1701
  ], 512);
1700
1702
  }
1701
1703
  const Aa = /* @__PURE__ */ u(_i, [["render", wi]]), $i = {
@@ -1727,7 +1729,7 @@ function xi(e, i, t, n, s, a) {
1727
1729
  innerHTML: t.title,
1728
1730
  class: b({ disabled: s.isDisabled })
1729
1731
  }, null, 10, Ai),
1730
- m(e.$slots, "default")
1732
+ d(e.$slots, "default")
1731
1733
  ]);
1732
1734
  }
1733
1735
  const xa = /* @__PURE__ */ u($i, [["render", xi]]);
@@ -1738,16 +1740,16 @@ function Li(e) {
1738
1740
  return !1;
1739
1741
  e.classList.add("testimonial--multi");
1740
1742
  const s = function(a) {
1741
- const l = e.querySelector(".btn-next"), d = e.querySelector(".btn-prev");
1742
- l.setAttribute("data-go", a + 1), d.setAttribute("data-go", a - 1), l.removeAttribute("disabled"), d.removeAttribute("disabled"), a == 1 ? d.setAttribute("disabled", !0) : a == n && l.setAttribute("disabled", !0);
1743
+ const l = e.querySelector(".btn-next"), m = e.querySelector(".btn-prev");
1744
+ l.setAttribute("data-go", a + 1), m.setAttribute("data-go", a - 1), l.removeAttribute("disabled"), m.removeAttribute("disabled"), a == 1 ? m.setAttribute("disabled", !0) : a == n && l.setAttribute("disabled", !0);
1743
1745
  };
1744
1746
  t.addEventListener(
1745
1747
  "scroll",
1746
1748
  function() {
1747
1749
  clearTimeout(i), i = setTimeout(function() {
1748
- const a = t.scrollWidth, l = t.scrollHeight, d = t.scrollLeft, h = t.scrollTop;
1749
- let f = Math.round(d / a * n) + 1;
1750
- d == 0 && h != 0 && (f = Math.round(h / l * n) + 1), e.setAttribute("data-show", f), s(f);
1750
+ const a = t.scrollWidth, l = t.scrollHeight, m = t.scrollLeft, p = t.scrollTop;
1751
+ let h = Math.round(m / a * n) + 1;
1752
+ m == 0 && p != 0 && (h = Math.round(p / l * n) + 1), e.setAttribute("data-show", h), s(h);
1751
1753
  }, 300);
1752
1754
  },
1753
1755
  !1
@@ -1756,12 +1758,12 @@ function Li(e) {
1756
1758
  function(a) {
1757
1759
  for (let l = a.target; l && l != this; l = l.parentNode)
1758
1760
  if (l.matches("[data-go]")) {
1759
- const d = parseInt(l.getAttribute("data-go"));
1760
- let h = 0, f = 0;
1761
+ const m = parseInt(l.getAttribute("data-go"));
1762
+ let p = 0, h = 0;
1761
1763
  const k = t.scrollWidth, g = t.scrollHeight;
1762
- k > g ? f = Math.floor(k * ((d - 1) / n)) : h = Math.floor(g * ((d - 1) / n)), t.scroll({
1763
- top: h,
1764
- left: f,
1764
+ k > g ? h = Math.floor(k * ((m - 1) / n)) : p = Math.floor(g * ((m - 1) / n)), t.scroll({
1765
+ top: p,
1766
+ left: h,
1765
1767
  behavior: "smooth"
1766
1768
  });
1767
1769
  break;
@@ -1799,8 +1801,8 @@ function Ii(e, i, t, n, s, a) {
1799
1801
  c("div", qi, [
1800
1802
  c("div", Ti, [
1801
1803
  c("div", Mi, [
1802
- (r(!0), o(w, null, $(t.items, (l, d) => (r(), o("img", {
1803
- key: d,
1804
+ (r(!0), o(w, null, $(t.items, (l, m) => (r(), o("img", {
1805
+ key: m,
1804
1806
  src: l.image ? l.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
1805
1807
  alt: "",
1806
1808
  class: b("h-100 w-100 object-cover" + (l.image ? "" : " opacity-0"))
@@ -1821,8 +1823,8 @@ function Ii(e, i, t, n, s, a) {
1821
1823
  c("div", Ci, [
1822
1824
  i[1] || (i[1] = c("h2", null, "What our customers think…", -1)),
1823
1825
  c("div", Ni, [
1824
- (r(!0), o(w, null, $(t.items, (l, d) => (r(), o("blockquote", {
1825
- key: d,
1826
+ (r(!0), o(w, null, $(t.items, (l, m) => (r(), o("blockquote", {
1827
+ key: m,
1826
1828
  class: b(l.class)
1827
1829
  }, [
1828
1830
  c("div", {
@@ -1834,7 +1836,7 @@ function Ii(e, i, t, n, s, a) {
1834
1836
  ], 2))), 128))
1835
1837
  ]),
1836
1838
  c("div", ji, [
1837
- m(e.$slots, "default")
1839
+ d(e.$slots, "default")
1838
1840
  ])
1839
1841
  ])
1840
1842
  ]),
@@ -1854,20 +1856,20 @@ const La = /* @__PURE__ */ u(Si, [["render", Ii]]), Vi = {
1854
1856
  function Bi(e, i, t, n, s, a) {
1855
1857
  return r(), o("div", Di, [
1856
1858
  c("div", Fi, [
1857
- m(e.$slots, "default")
1859
+ d(e.$slots, "default")
1858
1860
  ]),
1859
1861
  t.image ? (r(), o("img", {
1860
1862
  key: 0,
1861
1863
  src: t.image,
1862
1864
  alt: ""
1863
- }, null, 8, zi)) : p("", !0)
1865
+ }, null, 8, zi)) : f("", !0)
1864
1866
  ]);
1865
1867
  }
1866
1868
  const Sa = /* @__PURE__ */ u(Vi, [["render", Bi]]), Oi = {
1867
1869
  name: "Video card",
1868
1870
  created() {
1869
1871
  this.$nextTick(function() {
1870
- import("./video-card.component.min-BLO-nA3j.js").then((e) => {
1872
+ import("./video-card.component.min-TrQppTV-.js").then((e) => {
1871
1873
  window.customElements.get("iam-video-card") || window.customElements.define("iam-video-card", e.default);
1872
1874
  }).catch((e) => {
1873
1875
  console.log(e.message);
@@ -1877,7 +1879,7 @@ const Sa = /* @__PURE__ */ u(Vi, [["render", Bi]]), Oi = {
1877
1879
  };
1878
1880
  function Ui(e, i, t, n, s, a) {
1879
1881
  return r(), o("iam-video-card", null, [
1880
- m(e.$slots, "default")
1882
+ d(e.$slots, "default")
1881
1883
  ]);
1882
1884
  }
1883
1885
  const Ea = /* @__PURE__ */ u(Oi, [["render", Ui]]);