@iamproperty/components 5.3.0-beta3 → 5.3.0-beta4
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.
- package/assets/css/components/component.native.css +1 -1
- package/assets/css/components/component.native.css.map +1 -1
- package/assets/css/components/nav.css +1 -1
- package/assets/css/components/nav.css.map +1 -1
- package/assets/css/components/nav.docs.css +1 -1
- package/assets/css/components/nav.docs.css.map +1 -1
- package/assets/css/components/nav.global.css +1 -1
- package/assets/css/components/nav.global.css.map +1 -1
- package/assets/css/core.min.css +1 -1
- package/assets/css/core.min.css.map +1 -1
- package/assets/css/style.min.css +1 -1
- package/assets/css/style.min.css.map +1 -1
- package/assets/js/components/accordion/accordion.component.min.js +1 -1
- package/assets/js/components/actionbar/actionbar.component.min.js +1 -1
- package/assets/js/components/address-lookup/address-lookup.component.min.js +1 -1
- package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
- package/assets/js/components/card/card.component.min.js +1 -1
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js +1 -1
- package/assets/js/components/fileupload/fileupload.component.min.js +1 -1
- package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
- package/assets/js/components/header/header.component.min.js +1 -1
- package/assets/js/components/nav/nav.component.js +1 -1
- package/assets/js/components/nav/nav.component.min.js +7 -7
- package/assets/js/components/nav/nav.component.min.js.map +1 -1
- package/assets/js/components/notification/notification.component.min.js +1 -1
- package/assets/js/components/pagination/pagination.component.min.js +1 -1
- package/assets/js/components/search/search.component.min.js +1 -1
- package/assets/js/components/table/table.component.min.js +1 -1
- package/assets/js/components/tabs/tabs.component.min.js +1 -1
- package/assets/js/dynamic.min.js +1 -1
- package/assets/js/scripts.bundle.js +1 -1
- package/assets/js/scripts.bundle.min.js +1 -1
- package/assets/sass/components/component.native.scss +38 -0
- package/assets/sass/components/nav.docs.scss +3 -0
- package/assets/sass/components/nav.global.scss +126 -109
- package/assets/sass/components/nav.scss +42 -9
- package/assets/ts/components/nav/nav.component.ts +1 -1
- package/dist/components.es.js +206 -206
- package/dist/components.umd.js +49 -91
- package/package.json +1 -1
- package/src/components/Nav/Nav.vue +1 -1
package/dist/components.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { openBlock as r, createElementBlock as l, normalizeClass as _, createElementVNode as c, toDisplayString as w, createCommentVNode as b, Fragment as x, renderList as L, renderSlot as f, withDirectives as T, mergeProps as A, vModelDynamic as H, vModelText as D, vModelSelect as F, createTextVNode as V, resolveComponent as M, createVNode as k, withModifiers as O } from "vue";
|
|
2
2
|
const p = (t, a) => {
|
|
3
3
|
const e = t.__vccOpts || t;
|
|
4
|
-
for (const [
|
|
5
|
-
e[
|
|
4
|
+
for (const [i, o] of a)
|
|
5
|
+
e[i] = o;
|
|
6
6
|
return e;
|
|
7
7
|
}, B = {
|
|
8
8
|
name: "Logo",
|
|
@@ -30,7 +30,7 @@ const p = (t, a) => {
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
}, U = ["xlink:href"], W = ["innerHTML"];
|
|
33
|
-
function K(t, a, e,
|
|
33
|
+
function K(t, a, e, i, o, n) {
|
|
34
34
|
return r(), l("div", {
|
|
35
35
|
class: _(n.className)
|
|
36
36
|
}, [
|
|
@@ -67,7 +67,7 @@ const Da = /* @__PURE__ */ p(B, [["render", K]]), G = (t) => t.charAt(0).toUpper
|
|
|
67
67
|
},
|
|
68
68
|
created() {
|
|
69
69
|
this.$nextTick(function() {
|
|
70
|
-
import("./table.component.min-
|
|
70
|
+
import("./table.component.min-9a27ef63.mjs").then((t) => {
|
|
71
71
|
window.customElements.get("iam-table") || window.customElements.define("iam-table", t.default);
|
|
72
72
|
}).catch((t) => {
|
|
73
73
|
console.log(t.message);
|
|
@@ -81,22 +81,22 @@ const Da = /* @__PURE__ */ p(B, [["render", K]]), G = (t) => t.charAt(0).toUpper
|
|
|
81
81
|
updated() {
|
|
82
82
|
}
|
|
83
83
|
}, Z = { key: 0 }, ee = { key: 0 }, te = ["data-row-id"], ae = ["innerHTML"];
|
|
84
|
-
function
|
|
84
|
+
function ie(t, a, e, i, o, n) {
|
|
85
85
|
return r(), l("iam-table", null, [
|
|
86
86
|
e.fields ? (r(), l("table", Z, [
|
|
87
87
|
c("thead", null, [
|
|
88
88
|
c("tr", null, [
|
|
89
|
-
(r(!0), l(x, null, L(e.fields, (
|
|
90
|
-
key:
|
|
91
|
-
}, w(n.cellHeading(
|
|
89
|
+
(r(!0), l(x, null, L(e.fields, (s) => (r(), l("th", {
|
|
90
|
+
key: s.key
|
|
91
|
+
}, w(n.cellHeading(s.key)), 1))), 128))
|
|
92
92
|
])
|
|
93
93
|
]),
|
|
94
94
|
e.items ? (r(), l("tbody", ee, [
|
|
95
|
-
(r(!0), l(x, null, L(e.items, (
|
|
95
|
+
(r(!0), l(x, null, L(e.items, (s, d) => (r(), l("tr", {
|
|
96
96
|
key: d,
|
|
97
|
-
"data-row-id":
|
|
97
|
+
"data-row-id": s.rowid
|
|
98
98
|
}, [
|
|
99
|
-
(r(!0), l(x, null, L(Object.fromEntries(Object.entries(
|
|
99
|
+
(r(!0), l(x, null, L(Object.fromEntries(Object.entries(s).filter(([u]) => u !== "rowid")), (u, h) => (r(), l("td", {
|
|
100
100
|
key: h,
|
|
101
101
|
innerHTML: u
|
|
102
102
|
}, null, 8, ae))), 128))
|
|
@@ -105,7 +105,7 @@ function se(t, a, e, s, o, n) {
|
|
|
105
105
|
])) : f(t.$slots, "default", { key: 1 })
|
|
106
106
|
]);
|
|
107
107
|
}
|
|
108
|
-
const N = /* @__PURE__ */ p(X, [["render",
|
|
108
|
+
const N = /* @__PURE__ */ p(X, [["render", ie]]), se = {
|
|
109
109
|
name: "Input",
|
|
110
110
|
props: {
|
|
111
111
|
value: {
|
|
@@ -300,7 +300,7 @@ const N = /* @__PURE__ */ p(X, [["render", se]]), ie = {
|
|
|
300
300
|
key: 6,
|
|
301
301
|
class: "input-group"
|
|
302
302
|
}, he = ["type", "name", "id", "pattern", "list"], fe = { class: "input-group-text flex-fill" }, be = ["type", "name", "id", "pattern"], ge = ["value"], ye = ["type", "name", "id"], ve = ["for", "innerHTML"], _e = ["type", "name", "id"], we = ["for", "innerHTML"], $e = ["innerHTML"], ke = ["id"], Ae = ["value"];
|
|
303
|
-
function xe(t, a, e,
|
|
303
|
+
function xe(t, a, e, i, o, n) {
|
|
304
304
|
return r(), l("div", {
|
|
305
305
|
class: _(n.wrapperClass()),
|
|
306
306
|
ref: "wrapper"
|
|
@@ -326,7 +326,7 @@ function xe(t, a, e, s, o, n) {
|
|
|
326
326
|
}, null, 10, re)) : b("", !0),
|
|
327
327
|
n.isInput() ? T((r(), l("input", A({
|
|
328
328
|
key: 3,
|
|
329
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
329
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => n.inputVal = s),
|
|
330
330
|
class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
331
331
|
type: e.type,
|
|
332
332
|
name: e.name ? e.name : e.id,
|
|
@@ -334,13 +334,13 @@ function xe(t, a, e, s, o, n) {
|
|
|
334
334
|
pattern: n.needPattern(),
|
|
335
335
|
list: n.hasOptions()
|
|
336
336
|
}, t.$attrs, {
|
|
337
|
-
onKeyup: a[1] || (a[1] = (...
|
|
337
|
+
onKeyup: a[1] || (a[1] = (...s) => n.inputKeyup && n.inputKeyup(...s))
|
|
338
338
|
}), null, 16, le)), [
|
|
339
339
|
[H, n.inputVal]
|
|
340
340
|
]) : b("", !0),
|
|
341
341
|
e.type == "textarea" ? T((r(), l("textarea", A({
|
|
342
342
|
key: 4,
|
|
343
|
-
"onUpdate:modelValue": a[2] || (a[2] = (
|
|
343
|
+
"onUpdate:modelValue": a[2] || (a[2] = (s) => n.inputVal = s),
|
|
344
344
|
class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
345
345
|
type: e.type,
|
|
346
346
|
name: e.name ? e.name : e.id,
|
|
@@ -351,7 +351,7 @@ function xe(t, a, e, s, o, n) {
|
|
|
351
351
|
]) : b("", !0),
|
|
352
352
|
e.type == "range" ? (r(), l("div", ce, [
|
|
353
353
|
T(c("input", A({
|
|
354
|
-
"onUpdate:modelValue": a[3] || (a[3] = (
|
|
354
|
+
"onUpdate:modelValue": a[3] || (a[3] = (s) => n.inputVal = s),
|
|
355
355
|
class: `form-range${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
356
356
|
type: e.type,
|
|
357
357
|
name: e.name ? e.name : e.id,
|
|
@@ -365,7 +365,7 @@ function xe(t, a, e, s, o, n) {
|
|
|
365
365
|
])) : b("", !0),
|
|
366
366
|
e.type == "color" ? (r(), l("div", pe, [
|
|
367
367
|
T(c("input", A({
|
|
368
|
-
"onUpdate:modelValue": a[4] || (a[4] = (
|
|
368
|
+
"onUpdate:modelValue": a[4] || (a[4] = (s) => n.inputVal = s),
|
|
369
369
|
class: `form-control form-control-color${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
370
370
|
type: e.type,
|
|
371
371
|
name: e.name ? e.name : e.id,
|
|
@@ -379,17 +379,17 @@ function xe(t, a, e, s, o, n) {
|
|
|
379
379
|
])) : b("", !0),
|
|
380
380
|
e.type == "select" ? T((r(), l("select", A({
|
|
381
381
|
key: 7,
|
|
382
|
-
"onUpdate:modelValue": a[5] || (a[5] = (
|
|
382
|
+
"onUpdate:modelValue": a[5] || (a[5] = (s) => n.inputVal = s),
|
|
383
383
|
class: `form-select${e.size ? ` form-select-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
384
384
|
type: e.type,
|
|
385
385
|
name: e.id,
|
|
386
386
|
id: e.id,
|
|
387
387
|
pattern: n.needPattern()
|
|
388
388
|
}, t.$attrs), [
|
|
389
|
-
(r(!0), l(x, null, L(e.options, (
|
|
389
|
+
(r(!0), l(x, null, L(e.options, (s, d) => (r(), l("option", {
|
|
390
390
|
key: d,
|
|
391
|
-
value:
|
|
392
|
-
}, w(
|
|
391
|
+
value: s.value
|
|
392
|
+
}, w(s.display ? s.display : s.value), 9, ge))), 128))
|
|
393
393
|
], 16, be)), [
|
|
394
394
|
[F, n.inputVal]
|
|
395
395
|
]) : b("", !0),
|
|
@@ -419,7 +419,7 @@ function xe(t, a, e, s, o, n) {
|
|
|
419
419
|
class: _(`btn${e.labelclass ? ` ${e.labelclass}` : ""}`),
|
|
420
420
|
for: e.id,
|
|
421
421
|
innerHTML: e.label,
|
|
422
|
-
onClick: a[6] || (a[6] = (...
|
|
422
|
+
onClick: a[6] || (a[6] = (...s) => n.clickEvent && n.clickEvent(...s))
|
|
423
423
|
}, null, 10, we)) : b("", !0),
|
|
424
424
|
f(t.$slots, "default"),
|
|
425
425
|
e.errormsg ? (r(), l("span", {
|
|
@@ -431,18 +431,18 @@ function xe(t, a, e, s, o, n) {
|
|
|
431
431
|
key: 13,
|
|
432
432
|
id: e.id + "-list"
|
|
433
433
|
}, [
|
|
434
|
-
(r(!0), l(x, null, L(e.options, (
|
|
434
|
+
(r(!0), l(x, null, L(e.options, (s, d) => (r(), l("option", {
|
|
435
435
|
key: d,
|
|
436
|
-
value:
|
|
437
|
-
}, w(
|
|
436
|
+
value: s.value
|
|
437
|
+
}, w(s.value), 9, Ae))), 128))
|
|
438
438
|
], 8, ke)) : b("", !0)
|
|
439
439
|
], 2);
|
|
440
440
|
}
|
|
441
|
-
const R = /* @__PURE__ */ p(
|
|
441
|
+
const R = /* @__PURE__ */ p(se, [["render", xe]]);
|
|
442
442
|
function Le(t, a) {
|
|
443
|
-
const e = a.querySelector(".files"),
|
|
444
|
-
|
|
445
|
-
d && d.target instanceof HTMLElement && d.target.closest(".btn-primary") && (d.target.closest(".btn-primary"), (o.hasAttribute("multiple") ?
|
|
443
|
+
const e = a.querySelector(".files"), i = a.querySelector(".drop-area"), o = t.querySelector("input"), n = t.hasAttribute("data-maxsize") ? t.getAttribute("data-maxsize") : 0, s = o.cloneNode();
|
|
444
|
+
i.append(s), a.addEventListener("click", (d) => {
|
|
445
|
+
d && d.target instanceof HTMLElement && d.target.closest(".btn-primary") && (d.target.closest(".btn-primary"), (o.hasAttribute("multiple") ? s : o).click());
|
|
446
446
|
}), a.addEventListener("click", (d) => {
|
|
447
447
|
if (d && d.target instanceof HTMLElement && d.target.closest(".files button")) {
|
|
448
448
|
const u = new DataTransfer(), { files: h } = o, g = d.target.closest(".files button");
|
|
@@ -454,9 +454,9 @@ function Le(t, a) {
|
|
|
454
454
|
const m = new Event("change");
|
|
455
455
|
o.dispatchEvent(m);
|
|
456
456
|
}
|
|
457
|
-
}),
|
|
457
|
+
}), s.addEventListener("change", (d) => {
|
|
458
458
|
if (o.hasAttribute("multiple")) {
|
|
459
|
-
const h = [...o.files, ...
|
|
459
|
+
const h = [...o.files, ...s.files];
|
|
460
460
|
let g = [];
|
|
461
461
|
const m = new DataTransfer();
|
|
462
462
|
for (let y = 0; y < h.length; y++) {
|
|
@@ -465,15 +465,15 @@ function Le(t, a) {
|
|
|
465
465
|
}
|
|
466
466
|
o.files = m.files;
|
|
467
467
|
} else
|
|
468
|
-
o.files =
|
|
468
|
+
o.files = s.files;
|
|
469
469
|
const u = new Event("change");
|
|
470
470
|
o.dispatchEvent(u);
|
|
471
|
-
}),
|
|
472
|
-
|
|
473
|
-
}),
|
|
474
|
-
|
|
475
|
-
}),
|
|
476
|
-
|
|
471
|
+
}), s.addEventListener("dragenter", (d) => {
|
|
472
|
+
s.classList.add("focus");
|
|
473
|
+
}), s.addEventListener("dragleave", (d) => {
|
|
474
|
+
s.classList.remove("focus");
|
|
475
|
+
}), s.addEventListener("drop", (d) => {
|
|
476
|
+
s.classList.remove("focus");
|
|
477
477
|
}), o.addEventListener("change", (d) => {
|
|
478
478
|
e.innerHTML = "";
|
|
479
479
|
for (const u of o.files)
|
|
@@ -488,11 +488,11 @@ window.dataLayer.push({
|
|
|
488
488
|
class Se extends HTMLElement {
|
|
489
489
|
constructor() {
|
|
490
490
|
super(), this.attachShadow({ mode: "open" });
|
|
491
|
-
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`,
|
|
491
|
+
const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, i = `@import "${a}/css/components/fileupload.css";`, o = document.createElement("template");
|
|
492
492
|
o.innerHTML = `
|
|
493
493
|
<style>
|
|
494
494
|
@import "${e}";
|
|
495
|
-
${
|
|
495
|
+
${i}
|
|
496
496
|
${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
|
|
497
497
|
</style>
|
|
498
498
|
<div class="file-upload">
|
|
@@ -508,8 +508,8 @@ class Se extends HTMLElement {
|
|
|
508
508
|
}
|
|
509
509
|
connectedCallback() {
|
|
510
510
|
this.innerHTML += '<i class="fa-regular fa-arrow-up-from-bracket me-2" aria-hidden="true" slot="btn"></i>';
|
|
511
|
-
const a = this.shadowRoot.querySelector(".file-upload"), e = this.querySelector("input"),
|
|
512
|
-
|
|
511
|
+
const a = this.shadowRoot.querySelector(".file-upload"), e = this.querySelector("input"), i = this.shadowRoot.querySelector(".helper-text");
|
|
512
|
+
i.innerHTML = `${this.hasAttribute("data-maxsize") ? `Max file size is ${this.getAttribute("data-maxsize")}kb. ` : ""}${e.hasAttribute("accept") ? `Supported file types are ${e.getAttribute("accept")}` : ""}`, Le(this, a);
|
|
513
513
|
}
|
|
514
514
|
}
|
|
515
515
|
const qe = {
|
|
@@ -530,14 +530,14 @@ const qe = {
|
|
|
530
530
|
});
|
|
531
531
|
}
|
|
532
532
|
};
|
|
533
|
-
function Ee(t, a, e,
|
|
533
|
+
function Ee(t, a, e, i, o, n) {
|
|
534
534
|
return r(), l("iam-fileupload", null, [
|
|
535
535
|
f(t.$slots, "default")
|
|
536
536
|
]);
|
|
537
537
|
}
|
|
538
538
|
const Fa = /* @__PURE__ */ p(qe, [["render", Ee]]), S = (t, a) => {
|
|
539
539
|
const e = t[a];
|
|
540
|
-
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((
|
|
540
|
+
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((i, o) => {
|
|
541
541
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(o.bind(null, new Error("Unknown variable dynamic import: " + a)));
|
|
542
542
|
});
|
|
543
543
|
};
|
|
@@ -546,7 +546,7 @@ const Te = {
|
|
|
546
546
|
props: {},
|
|
547
547
|
mounted() {
|
|
548
548
|
this.$nextTick(function() {
|
|
549
|
-
S(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/accordion/accordion.component.js": () => import("./accordion.component-bd9af0d7.mjs"), "../../../assets/js/components/accordion/accordion.component.min.js": () => import("./accordion.component.min-
|
|
549
|
+
S(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/accordion/accordion.component.js": () => import("./accordion.component-bd9af0d7.mjs"), "../../../assets/js/components/accordion/accordion.component.min.js": () => import("./accordion.component.min-16770388.mjs") }), "../../../assets/js/components/accordion/accordion.component.js").then((t) => {
|
|
550
550
|
window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", t.default);
|
|
551
551
|
}).catch((t) => {
|
|
552
552
|
console.log(t.message);
|
|
@@ -554,7 +554,7 @@ const Te = {
|
|
|
554
554
|
});
|
|
555
555
|
}
|
|
556
556
|
}, He = { ref: "wrapper" };
|
|
557
|
-
function Me(t, a, e,
|
|
557
|
+
function Me(t, a, e, i, o, n) {
|
|
558
558
|
return r(), l("iam-accordion", He, [
|
|
559
559
|
f(t.$slots, "default")
|
|
560
560
|
], 512);
|
|
@@ -595,7 +595,7 @@ const Va = /* @__PURE__ */ p(Te, [["render", Me]]), je = {
|
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
597
|
}, Ce = ["id"], Ne = ["classList"];
|
|
598
|
-
function Re(t, a, e,
|
|
598
|
+
function Re(t, a, e, i, o, n) {
|
|
599
599
|
return r(), l("details", {
|
|
600
600
|
id: n.createID(e.title)
|
|
601
601
|
}, [
|
|
@@ -629,7 +629,7 @@ const Oa = /* @__PURE__ */ p(je, [["render", Re]]), Pe = {
|
|
|
629
629
|
}
|
|
630
630
|
}
|
|
631
631
|
}, ze = { class: "container" }, Ie = { class: "row" }, De = { class: "col-sm-6" }, Fe = { class: "pt-5 pb-3 px-4" }, Ve = { class: "col-sm-6 col-md-5 ms-auto" }, Oe = ["src"];
|
|
632
|
-
function Be(t, a, e,
|
|
632
|
+
function Be(t, a, e, i, o, n) {
|
|
633
633
|
return r(), l("div", ze, [
|
|
634
634
|
c("div", {
|
|
635
635
|
class: _("bg-" + e.background + " mb-4")
|
|
@@ -657,7 +657,7 @@ const Ba = /* @__PURE__ */ p(Pe, [["render", Be]]), Ue = {
|
|
|
657
657
|
name: "Card",
|
|
658
658
|
mounted() {
|
|
659
659
|
this.$nextTick(function() {
|
|
660
|
-
import("./card.component.min-
|
|
660
|
+
import("./card.component.min-b1d21795.mjs").then((t) => {
|
|
661
661
|
window.customElements.get("iam-card") || window.customElements.define("iam-card", t.default);
|
|
662
662
|
}).catch((t) => {
|
|
663
663
|
console.log(t.message);
|
|
@@ -665,7 +665,7 @@ const Ba = /* @__PURE__ */ p(Pe, [["render", Be]]), Ue = {
|
|
|
665
665
|
});
|
|
666
666
|
}
|
|
667
667
|
};
|
|
668
|
-
function We(t, a, e,
|
|
668
|
+
function We(t, a, e, i, o, n) {
|
|
669
669
|
return r(), l("iam-card", null, [
|
|
670
670
|
f(t.$slots, "default")
|
|
671
671
|
]);
|
|
@@ -692,7 +692,7 @@ const Ua = /* @__PURE__ */ p(Ue, [["render", We]]), Ke = {
|
|
|
692
692
|
});
|
|
693
693
|
}
|
|
694
694
|
};
|
|
695
|
-
function Ge(t, a, e,
|
|
695
|
+
function Ge(t, a, e, i, o, n) {
|
|
696
696
|
return r(), l("iam-carousel", null, [
|
|
697
697
|
f(t.$slots, "default")
|
|
698
698
|
]);
|
|
@@ -711,7 +711,7 @@ const Wa = /* @__PURE__ */ p(Ke, [["render", Ge]]), Qe = {
|
|
|
711
711
|
},
|
|
712
712
|
mounted() {
|
|
713
713
|
this.$nextTick(function() {
|
|
714
|
-
S(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/header/header.component.js": () => import("./header.component-cc8263fb.mjs"), "../../../assets/js/components/header/header.component.min.js": () => import("./header.component.min-
|
|
714
|
+
S(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/header/header.component.js": () => import("./header.component-cc8263fb.mjs"), "../../../assets/js/components/header/header.component.min.js": () => import("./header.component.min-407a452d.mjs") }), "../../../assets/js/components/header/header.component.js").then((t) => {
|
|
715
715
|
window.customElements.get("iam-header") || window.customElements.define("iam-header", t.default);
|
|
716
716
|
}).catch((t) => {
|
|
717
717
|
console.log(t.message);
|
|
@@ -719,7 +719,7 @@ const Wa = /* @__PURE__ */ p(Ke, [["render", Ge]]), Qe = {
|
|
|
719
719
|
});
|
|
720
720
|
}
|
|
721
721
|
}, Ye = ["image"], Je = ["innerHTML"];
|
|
722
|
-
function Xe(t, a, e,
|
|
722
|
+
function Xe(t, a, e, i, o, n) {
|
|
723
723
|
return r(), l("iam-header", { image: e.image }, [
|
|
724
724
|
f(t.$slots, "breadcrumb"),
|
|
725
725
|
e.title ? (r(), l("h1", {
|
|
@@ -732,24 +732,24 @@ function Xe(t, a, e, s, o, n) {
|
|
|
732
732
|
const Ka = /* @__PURE__ */ p(Qe, [["render", Xe]]);
|
|
733
733
|
function Ze(t) {
|
|
734
734
|
var a;
|
|
735
|
-
const e = t.querySelector(".testimonial__images"),
|
|
736
|
-
if (
|
|
735
|
+
const e = t.querySelector(".testimonial__images"), i = e.querySelectorAll("img").length;
|
|
736
|
+
if (i == 1)
|
|
737
737
|
return !1;
|
|
738
738
|
t.classList.add("testimonial--multi");
|
|
739
739
|
const o = function(n) {
|
|
740
|
-
const
|
|
741
|
-
|
|
740
|
+
const s = t.querySelector(".btn-next"), d = t.querySelector(".btn-prev");
|
|
741
|
+
s.setAttribute("data-go", n + 1), d.setAttribute("data-go", n - 1), s.removeAttribute("disabled"), d.removeAttribute("disabled"), n == 1 ? d.setAttribute("disabled", !0) : n == i && s.setAttribute("disabled", !0);
|
|
742
742
|
};
|
|
743
743
|
e.addEventListener("scroll", function(n) {
|
|
744
744
|
clearTimeout(a), a = setTimeout(function() {
|
|
745
|
-
let
|
|
746
|
-
u == 0 && h != 0 && (g = Math.round(h / d *
|
|
745
|
+
let s = e.scrollWidth, d = e.scrollHeight, u = e.scrollLeft, h = e.scrollTop, g = Math.round(u / s * i) + 1;
|
|
746
|
+
u == 0 && h != 0 && (g = Math.round(h / d * i) + 1), t.setAttribute("data-show", g), o(g);
|
|
747
747
|
}, 300);
|
|
748
748
|
}, !1), t.addEventListener("click", function(n) {
|
|
749
|
-
for (var
|
|
750
|
-
if (
|
|
751
|
-
let d = parseInt(
|
|
752
|
-
g > m ? h = Math.floor(g * ((d - 1) /
|
|
749
|
+
for (var s = n.target; s && s != this; s = s.parentNode)
|
|
750
|
+
if (s.matches("[data-go]")) {
|
|
751
|
+
let d = parseInt(s.getAttribute("data-go")), u = 0, h = 0, g = e.scrollWidth, m = e.scrollHeight;
|
|
752
|
+
g > m ? h = Math.floor(g * ((d - 1) / i)) : u = Math.floor(m * ((d - 1) / i)), e.scroll({
|
|
753
753
|
top: u,
|
|
754
754
|
left: h,
|
|
755
755
|
behavior: "smooth"
|
|
@@ -778,7 +778,7 @@ const et = {
|
|
|
778
778
|
class: "container testimonial mb-5",
|
|
779
779
|
"data-show": "1",
|
|
780
780
|
ref: "wrapper"
|
|
781
|
-
}, at = { class: "row" },
|
|
781
|
+
}, at = { class: "row" }, it = { class: "col-md-5 position-relative" }, st = { class: "testimonial__images" }, nt = ["src"], ot = /* @__PURE__ */ c("div", { class: "testimonial__controls" }, [
|
|
782
782
|
/* @__PURE__ */ c("button", {
|
|
783
783
|
"data-go": "0",
|
|
784
784
|
disabled: "",
|
|
@@ -789,19 +789,19 @@ const et = {
|
|
|
789
789
|
class: "btn-next"
|
|
790
790
|
}, "Next")
|
|
791
791
|
], -1), rt = { class: "col-md-7" }, lt = /* @__PURE__ */ c("h2", null, "What our customers think…", -1), dt = { class: "testimonial__content" }, ct = ["innerHTML"], ut = ["innerHTML"], mt = { class: "testimonial__after" }, pt = /* @__PURE__ */ c("span", { class: "circle circle--dots d-none d-md-block" }, null, -1);
|
|
792
|
-
function ht(t, a, e,
|
|
792
|
+
function ht(t, a, e, i, o, n) {
|
|
793
793
|
return r(), l("div", tt, [
|
|
794
794
|
c("div", {
|
|
795
795
|
class: _("bg-" + e.background)
|
|
796
796
|
}, [
|
|
797
797
|
c("div", at, [
|
|
798
|
-
c("div",
|
|
799
|
-
c("div",
|
|
800
|
-
(r(!0), l(x, null, L(e.items, (
|
|
798
|
+
c("div", it, [
|
|
799
|
+
c("div", st, [
|
|
800
|
+
(r(!0), l(x, null, L(e.items, (s, d) => (r(), l("img", {
|
|
801
801
|
key: d,
|
|
802
|
-
src:
|
|
802
|
+
src: s.image ? s.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
|
|
803
803
|
alt: "",
|
|
804
|
-
class: _("h-100 w-100 object-cover" + (
|
|
804
|
+
class: _("h-100 w-100 object-cover" + (s.image ? "" : " opacity-0"))
|
|
805
805
|
}, null, 10, nt))), 128))
|
|
806
806
|
]),
|
|
807
807
|
ot
|
|
@@ -809,15 +809,15 @@ function ht(t, a, e, s, o, n) {
|
|
|
809
809
|
c("div", rt, [
|
|
810
810
|
lt,
|
|
811
811
|
c("div", dt, [
|
|
812
|
-
(r(!0), l(x, null, L(e.items, (
|
|
812
|
+
(r(!0), l(x, null, L(e.items, (s, d) => (r(), l("blockquote", {
|
|
813
813
|
key: d,
|
|
814
|
-
class: _(
|
|
814
|
+
class: _(s.class)
|
|
815
815
|
}, [
|
|
816
816
|
c("div", {
|
|
817
|
-
innerHTML:
|
|
817
|
+
innerHTML: s.quote
|
|
818
818
|
}, null, 8, ct),
|
|
819
819
|
c("cite", {
|
|
820
|
-
innerHTML:
|
|
820
|
+
innerHTML: s.cite
|
|
821
821
|
}, null, 8, ut)
|
|
822
822
|
], 2))), 128))
|
|
823
823
|
]),
|
|
@@ -840,7 +840,7 @@ const ft = {
|
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
842
|
}, bt = { class: "timeline" }, gt = { class: "timeline__content" }, yt = ["src"];
|
|
843
|
-
function vt(t, a, e,
|
|
843
|
+
function vt(t, a, e, i, o, n) {
|
|
844
844
|
return r(), l("div", bt, [
|
|
845
845
|
c("div", gt, [
|
|
846
846
|
f(t.$slots, "default")
|
|
@@ -1015,8 +1015,8 @@ const _t = {
|
|
|
1015
1015
|
value: "submit"
|
|
1016
1016
|
}, "Search")
|
|
1017
1017
|
], -1);
|
|
1018
|
-
function jt(t, a, e,
|
|
1019
|
-
const
|
|
1018
|
+
function jt(t, a, e, i, o, n) {
|
|
1019
|
+
const s = M("Input");
|
|
1020
1020
|
return r(), l("div", wt, [
|
|
1021
1021
|
f(t.$slots, "default"),
|
|
1022
1022
|
c("div", $t, [
|
|
@@ -1026,7 +1026,7 @@ function jt(t, a, e, s, o, n) {
|
|
|
1026
1026
|
method: e.formmethod
|
|
1027
1027
|
}, [
|
|
1028
1028
|
c("fieldset", At, [
|
|
1029
|
-
k(
|
|
1029
|
+
k(s, {
|
|
1030
1030
|
inputClass: "input--locations",
|
|
1031
1031
|
modelValue: n.locationSet,
|
|
1032
1032
|
"onUpdate:modelValue": a[0] || (a[0] = (d) => n.locationSet = d),
|
|
@@ -1038,7 +1038,7 @@ function jt(t, a, e, s, o, n) {
|
|
|
1038
1038
|
onKeyupEvent: a[1] || (a[1] = (d) => n.locationKeyup(...arguments)),
|
|
1039
1039
|
ref: "search"
|
|
1040
1040
|
}, null, 8, ["modelValue", "options"]),
|
|
1041
|
-
k(
|
|
1041
|
+
k(s, {
|
|
1042
1042
|
class: "select--miles",
|
|
1043
1043
|
label: "Miles",
|
|
1044
1044
|
id: "miles",
|
|
@@ -1049,7 +1049,7 @@ function jt(t, a, e, s, o, n) {
|
|
|
1049
1049
|
c("fieldset", xt, [
|
|
1050
1050
|
Lt,
|
|
1051
1051
|
c("div", St, [
|
|
1052
|
-
k(
|
|
1052
|
+
k(s, {
|
|
1053
1053
|
class: "col-6",
|
|
1054
1054
|
label: "Minimum price",
|
|
1055
1055
|
id: "price-min",
|
|
@@ -1057,7 +1057,7 @@ function jt(t, a, e, s, o, n) {
|
|
|
1057
1057
|
type: "select",
|
|
1058
1058
|
options: e.pricemin
|
|
1059
1059
|
}, null, 8, ["options"]),
|
|
1060
|
-
k(
|
|
1060
|
+
k(s, {
|
|
1061
1061
|
class: "col-6",
|
|
1062
1062
|
label: "Maximum price",
|
|
1063
1063
|
id: "price-max",
|
|
@@ -1070,7 +1070,7 @@ function jt(t, a, e, s, o, n) {
|
|
|
1070
1070
|
c("fieldset", qt, [
|
|
1071
1071
|
Et,
|
|
1072
1072
|
c("div", Tt, [
|
|
1073
|
-
k(
|
|
1073
|
+
k(s, {
|
|
1074
1074
|
class: "col-6",
|
|
1075
1075
|
label: "Minimum beds",
|
|
1076
1076
|
id: "beds-min",
|
|
@@ -1078,7 +1078,7 @@ function jt(t, a, e, s, o, n) {
|
|
|
1078
1078
|
type: "select",
|
|
1079
1079
|
options: e.bedsmin
|
|
1080
1080
|
}, null, 8, ["options"]),
|
|
1081
|
-
k(
|
|
1081
|
+
k(s, {
|
|
1082
1082
|
class: "col-6",
|
|
1083
1083
|
label: "Maximum beds",
|
|
1084
1084
|
id: "beds-max",
|
|
@@ -1089,7 +1089,7 @@ function jt(t, a, e, s, o, n) {
|
|
|
1089
1089
|
])
|
|
1090
1090
|
]),
|
|
1091
1091
|
c("fieldset", Ht, [
|
|
1092
|
-
k(
|
|
1092
|
+
k(s, {
|
|
1093
1093
|
label: "Property type",
|
|
1094
1094
|
id: "property-type",
|
|
1095
1095
|
type: "select",
|
|
@@ -1107,7 +1107,7 @@ const Ya = /* @__PURE__ */ p(_t, [["render", jt]]), Ct = {
|
|
|
1107
1107
|
name: "Nav",
|
|
1108
1108
|
mounted() {
|
|
1109
1109
|
this.$nextTick(function() {
|
|
1110
|
-
|
|
1110
|
+
import("./nav.component.min-37dbccda.mjs").then((t) => {
|
|
1111
1111
|
window.customElements.get("iam-nav") || window.customElements.define("iam-nav", t.default);
|
|
1112
1112
|
}).catch((t) => {
|
|
1113
1113
|
console.log(t.message);
|
|
@@ -1116,7 +1116,7 @@ const Ya = /* @__PURE__ */ p(_t, [["render", jt]]), Ct = {
|
|
|
1116
1116
|
},
|
|
1117
1117
|
methods: {}
|
|
1118
1118
|
}, Nt = { ref: "wrapper" };
|
|
1119
|
-
function Rt(t, a, e,
|
|
1119
|
+
function Rt(t, a, e, i, o, n) {
|
|
1120
1120
|
return r(), l("iam-nav", Nt, [
|
|
1121
1121
|
f(t.$slots, "default")
|
|
1122
1122
|
], 512);
|
|
@@ -1139,7 +1139,7 @@ const Pt = {
|
|
|
1139
1139
|
key: 0,
|
|
1140
1140
|
class: "h6 stepper__start"
|
|
1141
1141
|
}, Ft = { class: "list-unstyled" }, Vt = { class: "h6 stepper__end" };
|
|
1142
|
-
function Ot(t, a, e,
|
|
1142
|
+
function Ot(t, a, e, i, o, n) {
|
|
1143
1143
|
return r(), l("div", zt, [
|
|
1144
1144
|
c("nav", {
|
|
1145
1145
|
class: "stepper",
|
|
@@ -1166,23 +1166,23 @@ const Bt = {
|
|
|
1166
1166
|
class: "container snapshot",
|
|
1167
1167
|
ref: "wrapper"
|
|
1168
1168
|
}, Wt = { class: "row" }, Kt = ["href"], Gt = { class: "lead snapshot__title" }, Qt = { class: "stat" };
|
|
1169
|
-
function Yt(t, a, e,
|
|
1169
|
+
function Yt(t, a, e, i, o, n) {
|
|
1170
1170
|
return r(), l("div", Ut, [
|
|
1171
1171
|
f(t.$slots, "default"),
|
|
1172
1172
|
c("div", Wt, [
|
|
1173
|
-
(r(!0), l(x, null, L(e.items, (
|
|
1173
|
+
(r(!0), l(x, null, L(e.items, (s, d) => (r(), l("div", {
|
|
1174
1174
|
class: "col",
|
|
1175
1175
|
key: d
|
|
1176
1176
|
}, [
|
|
1177
|
-
|
|
1177
|
+
s.link ? (r(), l("a", {
|
|
1178
1178
|
key: 0,
|
|
1179
|
-
href:
|
|
1180
|
-
}, "View " + w(
|
|
1179
|
+
href: s.link
|
|
1180
|
+
}, "View " + w(s.title), 9, Kt)) : b("", !0),
|
|
1181
1181
|
c("div", {
|
|
1182
|
-
class: _(`snapshot__item ${
|
|
1182
|
+
class: _(`snapshot__item ${s.bg ? "bg-" + s.bg : ""}`)
|
|
1183
1183
|
}, [
|
|
1184
|
-
c("span", Gt, w(
|
|
1185
|
-
c("span", Qt, w(
|
|
1184
|
+
c("span", Gt, w(s.title), 1),
|
|
1185
|
+
c("span", Qt, w(s.number), 1)
|
|
1186
1186
|
], 2)
|
|
1187
1187
|
]))), 128))
|
|
1188
1188
|
])
|
|
@@ -1208,7 +1208,7 @@ const Za = /* @__PURE__ */ p(Bt, [["render", Yt]]), Jt = {
|
|
|
1208
1208
|
key: 0,
|
|
1209
1209
|
class: "visually-hidden"
|
|
1210
1210
|
};
|
|
1211
|
-
function ea(t, a, e,
|
|
1211
|
+
function ea(t, a, e, i, o, n) {
|
|
1212
1212
|
return r(), l("li", null, [
|
|
1213
1213
|
c("a", {
|
|
1214
1214
|
href: e.url,
|
|
@@ -1222,12 +1222,12 @@ function ea(t, a, e, s, o, n) {
|
|
|
1222
1222
|
], 10, Xt)
|
|
1223
1223
|
]);
|
|
1224
1224
|
}
|
|
1225
|
-
const
|
|
1225
|
+
const ei = /* @__PURE__ */ p(Jt, [["render", ea]]);
|
|
1226
1226
|
const ta = {
|
|
1227
1227
|
name: "Tabs",
|
|
1228
1228
|
mounted() {
|
|
1229
1229
|
this.$nextTick(function() {
|
|
1230
|
-
S(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/tabs/tabs.component.js": () => import("./tabs.component-1dfbdb3b.mjs"), "../../../assets/js/components/tabs/tabs.component.min.js": () => import("./tabs.component.min-
|
|
1230
|
+
S(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/tabs/tabs.component.js": () => import("./tabs.component-1dfbdb3b.mjs"), "../../../assets/js/components/tabs/tabs.component.min.js": () => import("./tabs.component.min-d6932688.mjs") }), "../../../assets/js/components/tabs/tabs.component.js").then((t) => {
|
|
1231
1231
|
window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", t.default);
|
|
1232
1232
|
}).catch((t) => {
|
|
1233
1233
|
console.log(t.message);
|
|
@@ -1235,12 +1235,12 @@ const ta = {
|
|
|
1235
1235
|
});
|
|
1236
1236
|
}
|
|
1237
1237
|
}, aa = { ref: "wrapper" };
|
|
1238
|
-
function
|
|
1238
|
+
function ia(t, a, e, i, o, n) {
|
|
1239
1239
|
return r(), l("iam-tabs", aa, [
|
|
1240
1240
|
f(t.$slots, "default")
|
|
1241
1241
|
], 512);
|
|
1242
1242
|
}
|
|
1243
|
-
const
|
|
1243
|
+
const ti = /* @__PURE__ */ p(ta, [["render", ia]]), sa = {
|
|
1244
1244
|
name: "Tab",
|
|
1245
1245
|
props: {
|
|
1246
1246
|
title: {
|
|
@@ -1263,7 +1263,7 @@ const ts = /* @__PURE__ */ p(ta, [["render", sa]]), ia = {
|
|
|
1263
1263
|
};
|
|
1264
1264
|
}
|
|
1265
1265
|
}, na = { class: "tab" }, oa = ["innerHTML"];
|
|
1266
|
-
function ra(t, a, e,
|
|
1266
|
+
function ra(t, a, e, i, o, n) {
|
|
1267
1267
|
return r(), l("details", na, [
|
|
1268
1268
|
c("summary", {
|
|
1269
1269
|
innerHTML: e.title,
|
|
@@ -1272,7 +1272,7 @@ function ra(t, a, e, s, o, n) {
|
|
|
1272
1272
|
f(t.$slots, "default")
|
|
1273
1273
|
]);
|
|
1274
1274
|
}
|
|
1275
|
-
const
|
|
1275
|
+
const ai = /* @__PURE__ */ p(sa, [["render", ra]]);
|
|
1276
1276
|
let P = N.props;
|
|
1277
1277
|
P.fields.required = !1;
|
|
1278
1278
|
const la = {
|
|
@@ -1291,9 +1291,9 @@ const la = {
|
|
|
1291
1291
|
console.log(this);
|
|
1292
1292
|
const a = new FormData(t.target);
|
|
1293
1293
|
let e = /* @__PURE__ */ new Date();
|
|
1294
|
-
const
|
|
1294
|
+
const i = e.getFullYear();
|
|
1295
1295
|
let o = e.getMonth() + 1, n = e.getDate();
|
|
1296
|
-
n < 10 && (n = "0" + n), o < 10 && (o = "0" + o), e = n + "/" + o + "/" +
|
|
1296
|
+
n < 10 && (n = "0" + n), o < 10 && (o = "0" + o), e = n + "/" + o + "/" + i, this.itemsData.unshift({
|
|
1297
1297
|
date_added: e,
|
|
1298
1298
|
user: a.get("user"),
|
|
1299
1299
|
note: a.get("addNote")
|
|
@@ -1322,15 +1322,15 @@ const la = {
|
|
|
1322
1322
|
}
|
|
1323
1323
|
}
|
|
1324
1324
|
}, da = { class: "container note-feed mb-2" }, ca = ["innerHTML"], ua = ["action", "method"], ma = ["value"], pa = /* @__PURE__ */ c("button", { class: "btn btn-tertiary" }, "Submit note", -1);
|
|
1325
|
-
function ha(t, a, e,
|
|
1326
|
-
const
|
|
1325
|
+
function ha(t, a, e, i, o, n) {
|
|
1326
|
+
const s = M("Table"), d = M("Input");
|
|
1327
1327
|
return r(), l("div", da, [
|
|
1328
1328
|
e.title ? (r(), l("span", {
|
|
1329
1329
|
key: 0,
|
|
1330
1330
|
class: "h3",
|
|
1331
1331
|
innerHTML: e.title
|
|
1332
1332
|
}, null, 8, ca)) : b("", !0),
|
|
1333
|
-
k(
|
|
1333
|
+
k(s, A({
|
|
1334
1334
|
fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
|
|
1335
1335
|
items: o.itemsData
|
|
1336
1336
|
}, t.$props, { class: "mb-0" }), null, 16, ["items"]),
|
|
@@ -1355,52 +1355,52 @@ function ha(t, a, e, s, o, n) {
|
|
|
1355
1355
|
], 40, ua)
|
|
1356
1356
|
]);
|
|
1357
1357
|
}
|
|
1358
|
-
const
|
|
1358
|
+
const ii = /* @__PURE__ */ p(la, [["render", ha]]);
|
|
1359
1359
|
/*!
|
|
1360
|
-
* iamKey v5.3.0-
|
|
1360
|
+
* iamKey v5.3.0-beta4
|
|
1361
1361
|
* Copyright 2022-2024 iamproperty
|
|
1362
1362
|
*/
|
|
1363
1363
|
function fa(t, a) {
|
|
1364
|
-
function e(
|
|
1365
|
-
let n = !1,
|
|
1366
|
-
|
|
1367
|
-
let d =
|
|
1364
|
+
function e(i, o) {
|
|
1365
|
+
let n = !1, s = o.getAttribute("name");
|
|
1366
|
+
s.includes("[]") && (s = s.replace("[]", `[${o.value}]`));
|
|
1367
|
+
let d = i.querySelector(`[data-name="${s}"]`);
|
|
1368
1368
|
d && o.getAttribute("type") == "checkbox" && (n = !o.checked);
|
|
1369
1369
|
let u = o.getAttribute("data-filter-text");
|
|
1370
|
-
if (d || (d = document.createElement("button"),
|
|
1370
|
+
if (d || (d = document.createElement("button"), i.appendChild(d)), d.setAttribute("type", "button"), d.classList.add("filter"), d.setAttribute("data-name", s), d.innerHTML = u.replace("$value", o.value), (!o.value || n) && d.remove(), o.parentNode.closest("[data-filter-text]")) {
|
|
1371
1371
|
let h = o.parentNode.closest("[data-filter-text]"), g = !0;
|
|
1372
|
-
if (
|
|
1372
|
+
if (s = "", h.querySelectorAll("input").forEach((m, y) => {
|
|
1373
1373
|
let v = m.getAttribute("name");
|
|
1374
|
-
if (
|
|
1374
|
+
if (s += `${y != 0 ? "," : ""}${v}`, i.querySelector(`[data-name="${v}"]`) && i.querySelector(`[data-name="${v}"]`).remove(), m.value) {
|
|
1375
1375
|
let $ = document.createElement("button");
|
|
1376
|
-
$.setAttribute("type", "button"), $.classList.add("filter"), $.setAttribute("data-name", v), $.innerHTML = u.replace("$value", m.value),
|
|
1376
|
+
$.setAttribute("type", "button"), $.classList.add("filter"), $.setAttribute("data-name", v), $.innerHTML = u.replace("$value", m.value), i.appendChild($);
|
|
1377
1377
|
} else
|
|
1378
1378
|
g = !1;
|
|
1379
|
-
}),
|
|
1379
|
+
}), i.querySelector(`[data-name="${s}"]`) && i.querySelector(`[data-name="${s}"]`).remove(), g) {
|
|
1380
1380
|
let m = h.getAttribute("data-filter-text");
|
|
1381
1381
|
h.querySelectorAll("input").forEach((v, $) => {
|
|
1382
1382
|
let q = v.getAttribute("name");
|
|
1383
|
-
|
|
1383
|
+
i.querySelector(`[data-name="${q}"]`) && i.querySelector(`[data-name="${q}"]`).remove(), m = m.replace(`$${$ + 1}`, v.value);
|
|
1384
1384
|
});
|
|
1385
1385
|
let y = document.createElement("button");
|
|
1386
|
-
y.setAttribute("type", "button"), y.classList.add("filter"), y.setAttribute("data-name",
|
|
1386
|
+
y.setAttribute("type", "button"), y.classList.add("filter"), y.setAttribute("data-name", s), y.innerHTML = m, i.appendChild(y);
|
|
1387
1387
|
}
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
|
1390
|
-
Array.from(t.querySelectorAll('input[type="checkbox"]:checked')).forEach((
|
|
1391
|
-
e(a,
|
|
1392
|
-
}), Array.from(t.querySelectorAll("input[data-filter-text]")).forEach((
|
|
1393
|
-
|
|
1394
|
-
e(a,
|
|
1390
|
+
Array.from(t.querySelectorAll('input[type="checkbox"]:checked')).forEach((i, o) => {
|
|
1391
|
+
e(a, i);
|
|
1392
|
+
}), Array.from(t.querySelectorAll("input[data-filter-text]")).forEach((i, o) => {
|
|
1393
|
+
i.addEventListener("change", function(n) {
|
|
1394
|
+
e(a, i), n.stopPropagation();
|
|
1395
1395
|
});
|
|
1396
|
-
}), t.addEventListener("change", function(
|
|
1397
|
-
if (
|
|
1398
|
-
let o =
|
|
1396
|
+
}), t.addEventListener("change", function(i) {
|
|
1397
|
+
if (i && i.target instanceof HTMLElement && i.target.closest("input[data-filter-text]")) {
|
|
1398
|
+
let o = i.target.closest("input[data-filter-text]");
|
|
1399
1399
|
e(a, o);
|
|
1400
1400
|
}
|
|
1401
|
-
}), a.addEventListener("click", function(
|
|
1402
|
-
if (
|
|
1403
|
-
let
|
|
1401
|
+
}), a.addEventListener("click", function(i) {
|
|
1402
|
+
if (i && i.target instanceof HTMLElement && i.target.closest(".filter")) {
|
|
1403
|
+
let s = i.target.closest(".filter"), d = s.getAttribute("data-name").split(",");
|
|
1404
1404
|
for (var o = 0; o < d.length; o++) {
|
|
1405
1405
|
let u = d[o], h = `[name="${u}"]`;
|
|
1406
1406
|
u.match(/\[(.*)\]/) && (u.replace(/\[(.*)\]/, "[]"), h = `[value="${u.replace(/.*\[(.*)\]/, "$1")}"]`);
|
|
@@ -1411,12 +1411,12 @@ function fa(t, a) {
|
|
|
1411
1411
|
m.value = "";
|
|
1412
1412
|
else {
|
|
1413
1413
|
m.checked = !1;
|
|
1414
|
-
var
|
|
1415
|
-
t.hasAttribute("data-nosubmit") || m.closest("form").dispatchEvent(
|
|
1414
|
+
var i = new Event("force");
|
|
1415
|
+
t.hasAttribute("data-nosubmit") || m.closest("form").dispatchEvent(i);
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
}
|
|
1419
|
-
|
|
1419
|
+
s.remove();
|
|
1420
1420
|
}
|
|
1421
1421
|
}, !1);
|
|
1422
1422
|
}
|
|
@@ -1425,7 +1425,7 @@ class ba extends HTMLElement {
|
|
|
1425
1425
|
constructor() {
|
|
1426
1426
|
super(), this.attachShadow({ mode: "open" });
|
|
1427
1427
|
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`;
|
|
1428
|
-
let
|
|
1428
|
+
let i = this.classList.toString();
|
|
1429
1429
|
const o = document.createElement("template");
|
|
1430
1430
|
o.innerHTML = `
|
|
1431
1431
|
<style>
|
|
@@ -1434,7 +1434,7 @@ class ba extends HTMLElement {
|
|
|
1434
1434
|
|
|
1435
1435
|
${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
|
|
1436
1436
|
</style>
|
|
1437
|
-
<div class="applied-filters ${
|
|
1437
|
+
<div class="applied-filters ${i}"></div>
|
|
1438
1438
|
<slot></slot>
|
|
1439
1439
|
`, this.shadowRoot.appendChild(o.content.cloneNode(!0));
|
|
1440
1440
|
}
|
|
@@ -1446,14 +1446,14 @@ window.customElements.get("iam-applied-filters") || window.customElements.define
|
|
|
1446
1446
|
const ga = {
|
|
1447
1447
|
name: "Header"
|
|
1448
1448
|
};
|
|
1449
|
-
function ya(t, a, e,
|
|
1449
|
+
function ya(t, a, e, i, o, n) {
|
|
1450
1450
|
return r(), l("iam-applied-filters", null, [
|
|
1451
1451
|
f(t.$slots, "default")
|
|
1452
1452
|
]);
|
|
1453
1453
|
}
|
|
1454
|
-
const
|
|
1454
|
+
const si = /* @__PURE__ */ p(ga, [["render", ya]]);
|
|
1455
1455
|
/*!
|
|
1456
|
-
* iamKey v5.3.0-
|
|
1456
|
+
* iamKey v5.3.0-beta4
|
|
1457
1457
|
* Copyright 2022-2024 iamproperty
|
|
1458
1458
|
*/
|
|
1459
1459
|
function va(t, a) {
|
|
@@ -1461,16 +1461,16 @@ function va(t, a) {
|
|
|
1461
1461
|
}
|
|
1462
1462
|
function _a(t, a) {
|
|
1463
1463
|
var e;
|
|
1464
|
-
a.addEventListener("keyup", (
|
|
1464
|
+
a.addEventListener("keyup", (i) => {
|
|
1465
1465
|
clearTimeout(e), e = setTimeout(function() {
|
|
1466
1466
|
C(t, a.value);
|
|
1467
1467
|
}, 500);
|
|
1468
|
-
}), a.addEventListener("change", (
|
|
1468
|
+
}), a.addEventListener("change", (i) => {
|
|
1469
1469
|
clearTimeout(e), C(t, a.value);
|
|
1470
1470
|
});
|
|
1471
1471
|
}
|
|
1472
1472
|
const C = function(t, a) {
|
|
1473
|
-
Array.from(t.querySelectorAll(":scope > li")).forEach((e,
|
|
1473
|
+
Array.from(t.querySelectorAll(":scope > li")).forEach((e, i) => {
|
|
1474
1474
|
let o = e.textContent.toLowerCase();
|
|
1475
1475
|
e.classList.add("d-none"), o.includes(a.toLowerCase()) && e.classList.remove("d-none");
|
|
1476
1476
|
}), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Filtered list", value: a });
|
|
@@ -1479,8 +1479,8 @@ window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "custo
|
|
|
1479
1479
|
class wa extends HTMLElement {
|
|
1480
1480
|
constructor() {
|
|
1481
1481
|
super(), this.attachShadow({ mode: "open" });
|
|
1482
|
-
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`,
|
|
1483
|
-
|
|
1482
|
+
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");
|
|
1483
|
+
i.innerHTML = `
|
|
1484
1484
|
<style>
|
|
1485
1485
|
@import "${e}";
|
|
1486
1486
|
${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
|
|
@@ -1507,7 +1507,7 @@ class wa extends HTMLElement {
|
|
|
1507
1507
|
<div class="list__wrapper">
|
|
1508
1508
|
<slot></slot>
|
|
1509
1509
|
</div>
|
|
1510
|
-
`, this.shadowRoot.appendChild(
|
|
1510
|
+
`, this.shadowRoot.appendChild(i.content.cloneNode(!0));
|
|
1511
1511
|
}
|
|
1512
1512
|
connectedCallback() {
|
|
1513
1513
|
let a = this.classList.toString();
|
|
@@ -1518,12 +1518,12 @@ window.customElements.get("iam-filterlist") || window.customElements.define("iam
|
|
|
1518
1518
|
const $a = {
|
|
1519
1519
|
name: "Filter list"
|
|
1520
1520
|
};
|
|
1521
|
-
function ka(t, a, e,
|
|
1521
|
+
function ka(t, a, e, i, o, n) {
|
|
1522
1522
|
return r(), l("iam-filterlist", null, [
|
|
1523
1523
|
f(t.$slots, "default")
|
|
1524
1524
|
]);
|
|
1525
1525
|
}
|
|
1526
|
-
const
|
|
1526
|
+
const ni = /* @__PURE__ */ p($a, [["render", ka]]);
|
|
1527
1527
|
function Aa(t) {
|
|
1528
1528
|
if (t.hasAttribute("data-type") && t.getAttribute("data-type") == "toast") {
|
|
1529
1529
|
let e = document.querySelector(".notification__holder");
|
|
@@ -1536,19 +1536,19 @@ function Aa(t) {
|
|
|
1536
1536
|
var a = new xa(function() {
|
|
1537
1537
|
j(t);
|
|
1538
1538
|
}, e);
|
|
1539
|
-
t.addEventListener("mouseenter", (
|
|
1539
|
+
t.addEventListener("mouseenter", (i) => {
|
|
1540
1540
|
a.pause();
|
|
1541
|
-
}), t.addEventListener("mouseleave", (
|
|
1541
|
+
}), t.addEventListener("mouseleave", (i) => {
|
|
1542
1542
|
a.resume();
|
|
1543
1543
|
});
|
|
1544
1544
|
}
|
|
1545
1545
|
}
|
|
1546
1546
|
function xa(t, a) {
|
|
1547
|
-
var e,
|
|
1547
|
+
var e, i, o = a;
|
|
1548
1548
|
this.pause = function() {
|
|
1549
|
-
window.clearTimeout(e), o -= /* @__PURE__ */ new Date() -
|
|
1549
|
+
window.clearTimeout(e), o -= /* @__PURE__ */ new Date() - i;
|
|
1550
1550
|
}, this.resume = function() {
|
|
1551
|
-
|
|
1551
|
+
i = /* @__PURE__ */ new Date(), window.clearTimeout(e), e = window.setTimeout(t, o);
|
|
1552
1552
|
}, this.resume();
|
|
1553
1553
|
}
|
|
1554
1554
|
const j = function(t) {
|
|
@@ -1562,15 +1562,15 @@ window.dataLayer.push({
|
|
|
1562
1562
|
class La extends HTMLElement {
|
|
1563
1563
|
constructor() {
|
|
1564
1564
|
super(), this.attachShadow({ mode: "open" });
|
|
1565
|
-
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`,
|
|
1565
|
+
const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, i = `@import "${a}/css/components/notification.css";`, o = `@import "${a}/css/components/notification.global.css";`, n = this.querySelectorAll("a,button");
|
|
1566
1566
|
Array.from(n).forEach((d, u) => {
|
|
1567
1567
|
d.setAttribute("slot", "btns"), d.classList.add("link");
|
|
1568
1568
|
}), (n.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable");
|
|
1569
|
-
const
|
|
1570
|
-
|
|
1569
|
+
const s = document.createElement("template");
|
|
1570
|
+
s.innerHTML = `
|
|
1571
1571
|
<style>
|
|
1572
1572
|
@import "${e}";
|
|
1573
|
-
${
|
|
1573
|
+
${i}
|
|
1574
1574
|
${this.hasAttribute("data-css") ? `${this.getAttribute("data-css")}` : ""}
|
|
1575
1575
|
</style>
|
|
1576
1576
|
|
|
@@ -1579,12 +1579,12 @@ class La extends HTMLElement {
|
|
|
1579
1579
|
<div class="notification__inner"><div class="notification__text"><slot></slot></div>${n.length ? '<div class="notification__btns"><slot name="btns"></slot></div>' : ""}</div>
|
|
1580
1580
|
${this.hasAttribute("data-dismiss") ? '<div class="notification__dismiss"><button data-dismiss-button>Dismiss</button></div>' : ""}
|
|
1581
1581
|
</div>
|
|
1582
|
-
`, this.shadowRoot.appendChild(
|
|
1582
|
+
`, this.shadowRoot.appendChild(s.content.cloneNode(!0)), document.getElementById("notificationHolder") || document.head.insertAdjacentHTML("beforeend", `<style id="notificationHolder">${o}</style>`);
|
|
1583
1583
|
}
|
|
1584
1584
|
connectedCallback() {
|
|
1585
1585
|
const a = this.shadowRoot.querySelector("[data-dismiss-button]"), e = this.hasAttribute("data-status") ? this.getAttribute("data-status") : "white";
|
|
1586
1586
|
this.hasAttribute("data-type") ? this.classList.add(`bg-${e}`) : this.classList.add(`colour-${e}`);
|
|
1587
|
-
const
|
|
1587
|
+
const i = this;
|
|
1588
1588
|
if (!this.querySelector("i"))
|
|
1589
1589
|
switch (e) {
|
|
1590
1590
|
case "danger":
|
|
@@ -1599,8 +1599,8 @@ class La extends HTMLElement {
|
|
|
1599
1599
|
default:
|
|
1600
1600
|
this.innerHTML += '<i class="fa-solid fa-circle-info" aria-hidden="true" slot="icon"></i>';
|
|
1601
1601
|
}
|
|
1602
|
-
Aa(
|
|
1603
|
-
j(
|
|
1602
|
+
Aa(i), a && a.addEventListener("click", function(o) {
|
|
1603
|
+
j(i);
|
|
1604
1604
|
}, !1);
|
|
1605
1605
|
}
|
|
1606
1606
|
}
|
|
@@ -1613,17 +1613,17 @@ const Sa = {
|
|
|
1613
1613
|
});
|
|
1614
1614
|
}
|
|
1615
1615
|
};
|
|
1616
|
-
function qa(t, a, e,
|
|
1616
|
+
function qa(t, a, e, i, o, n) {
|
|
1617
1617
|
return r(), l("iam-notification", null, [
|
|
1618
1618
|
f(t.$slots, "default")
|
|
1619
1619
|
]);
|
|
1620
1620
|
}
|
|
1621
|
-
const
|
|
1621
|
+
const oi = /* @__PURE__ */ p(Sa, [["render", qa]]), Ea = {
|
|
1622
1622
|
name: "Actionbar",
|
|
1623
1623
|
props: {},
|
|
1624
1624
|
mounted() {
|
|
1625
1625
|
this.$nextTick(function() {
|
|
1626
|
-
S(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/actionbar/actionbar.component.js": () => import("./actionbar.component-3f2c98c0.mjs"), "../../../assets/js/components/actionbar/actionbar.component.min.js": () => import("./actionbar.component.min-
|
|
1626
|
+
S(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/actionbar/actionbar.component.js": () => import("./actionbar.component-3f2c98c0.mjs"), "../../../assets/js/components/actionbar/actionbar.component.min.js": () => import("./actionbar.component.min-a007644d.mjs") }), "../../../assets/js/components/actionbar/actionbar.component.js").then((t) => {
|
|
1627
1627
|
window.customElements.get("iam-actionbar") || window.customElements.define("iam-actionbar", t.default);
|
|
1628
1628
|
}).catch((t) => {
|
|
1629
1629
|
console.log(t.message);
|
|
@@ -1631,21 +1631,21 @@ const os = /* @__PURE__ */ p(Sa, [["render", qa]]), Ea = {
|
|
|
1631
1631
|
});
|
|
1632
1632
|
}
|
|
1633
1633
|
};
|
|
1634
|
-
function Ta(t, a, e,
|
|
1634
|
+
function Ta(t, a, e, i, o, n) {
|
|
1635
1635
|
return r(), l("iam-actionbar", null, [
|
|
1636
1636
|
f(t.$slots, "default")
|
|
1637
1637
|
]);
|
|
1638
1638
|
}
|
|
1639
|
-
const
|
|
1639
|
+
const ri = /* @__PURE__ */ p(Ea, [["render", Ta]]);
|
|
1640
1640
|
/*!
|
|
1641
|
-
* iamKey v5.3.0-
|
|
1641
|
+
* iamKey v5.3.0-beta4
|
|
1642
1642
|
* Copyright 2022-2024 iamproperty
|
|
1643
1643
|
*/
|
|
1644
1644
|
class z extends HTMLElement {
|
|
1645
1645
|
constructor() {
|
|
1646
1646
|
super(), this.attachShadow({ mode: "open" });
|
|
1647
|
-
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`,
|
|
1648
|
-
|
|
1647
|
+
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");
|
|
1648
|
+
i.innerHTML = `
|
|
1649
1649
|
<style>
|
|
1650
1650
|
@import "${e}";
|
|
1651
1651
|
:host{container-type:inline-size;display:block}.pagination{display:block}@container (width > 23.4375em){.pagination{display:flex;align-items:center;justify-content:space-between !important;padding-top:2rem}}.pagination>div{display:flex;align-items:center}.pagination div:is(.page-jump,.per-page){border:1px solid var(--colour-light);height:3.25rem;display:none;align-items:center;padding-inline:1rem}.pagination div:is(.page-jump,.per-page) .select--minimal{height:3.25rem;line-height:3.25rem;margin-left:-1rem;padding-left:1rem;font-weight:bold}.pagination div:is(.page-jump,.per-page) div:has(>select){margin-bottom:0}.page-jump{border-right:none !important}.total-pages{white-space:nowrap}:host([data-page-jump][data-minimal]) .page-jump{display:flex !important}@container (width > 23.4375em){:host([data-page-jump]) .page-jump{display:flex !important}}@container (width > 23.4375em){:host([data-per-page]:not([data-page-jump][data-item-count])) .per-page{display:flex !important}}@container (width > 48em){:host([data-per-page][data-page-jump][data-item-count]) .per-page{display:flex !important}}.pagination>.item-count{display:block;text-align:center;margin-bottom:1rem;margin-inline:auto}@container (width > 23.4375em){.pagination>.item-count{display:none}:host([data-item-count]) .pagination>.item-count{display:flex !important;margin:0}}*:where(.prev,.next){border:1px solid var(--colour-light);line-height:3.25rem;height:3.25rem;margin:0;display:none;background:none;padding-inline:1rem}@container (width > 23.4375em){*:where(.prev,.next){display:inline-block}}*:where(.prev,.next):after{margin-left:.5em;font-size:.8rem;content:"";font-family:"Font Awesome 6 Pro";color:var(--colour-info)}*:where(.prev,.next):is(:hover,:focus):not(:disabled){background-color:var(--colour-light)}*:where(.prev,.next):is(:active):not(:disabled){background-color:#e0e0e0}@media screen and (prefers-color-scheme: dark){*:where(.prev,.next):is(:hover,:focus):not(:disabled){background-color:var(--colour-canvas)}*:where(.prev,.next):is(:active):not(:disabled){background-color:var(--colour-canvas)}}*:where(.prev,.next):disabled:after,*:where(.prev,.next):disabled:before{color:inherit !important}:host([data-minimal]) .pagination{justify-content:flex-end}@container (width > 23.4375em){:host([data-minimal]) .pagination{justify-content:space-between}}:host([data-minimal]) *:where(.prev,.next){display:inline-block !important}.prev{border-right:none}.prev:after{display:none}.prev:before{margin-right:.5em;font-size:.8rem;content:"";font-family:"Font Awesome 6 Pro";color:var(--colour-info)}.mobile-controls{display:block}:host([data-minimal]) .pagination{padding-top:1.5rem;display:flex;align-items:center;justify-content:flex-end}:host([data-minimal]) *:is(.mobile-controls,.item-count){display:none}@container (width > 23.4375em){.mobile-controls{display:none !important}:host([data-item-count]) .item-count{display:flex !important}}.fa-spin{display:none !important;font-size:3rem;color:var(--colour-info)}:host([data-loading]) .mobile-controls{padding-top:2rem}:host([data-loading]) .item-count,:host([data-loading]) .mobile-controls>*:not(.fa-spin){display:none !important}:host([data-loading]) .fa-spin{display:block !important;margin:auto}/*# sourceMappingURL=assets/css/components/pagination.css.map */
|
|
@@ -1683,59 +1683,59 @@ class z extends HTMLElement {
|
|
|
1683
1683
|
<button class="load-more btn btn-primary m-auto">Load more</a>
|
|
1684
1684
|
</div>
|
|
1685
1685
|
</div>
|
|
1686
|
-
`, this.shadowRoot.appendChild(
|
|
1686
|
+
`, this.shadowRoot.appendChild(i.content.cloneNode(!0));
|
|
1687
1687
|
}
|
|
1688
1688
|
connectedCallback() {
|
|
1689
1689
|
const a = new URLSearchParams(window.location.search);
|
|
1690
1690
|
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"));
|
|
1691
|
-
const e = this.shadowRoot.querySelector(".page-jump select"),
|
|
1691
|
+
const e = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), o = this.shadowRoot.querySelector(".next"), n = this.shadowRoot.querySelector(".per-page select"), s = this.shadowRoot.querySelector(".load-more");
|
|
1692
1692
|
this.setup(), e.addEventListener("change", (d) => {
|
|
1693
1693
|
this.setAttribute("data-show", this.getAttribute("data-increment")), this.setAttribute("data-page", d.target.value);
|
|
1694
1694
|
}), o.addEventListener("click", (d) => {
|
|
1695
1695
|
e.value = parseInt(e.value) + 1, e.dispatchEvent(new Event("change"));
|
|
1696
|
-
}),
|
|
1696
|
+
}), i.addEventListener("click", (d) => {
|
|
1697
1697
|
e.value = parseInt(e.value) - 1, e.dispatchEvent(new Event("change"));
|
|
1698
1698
|
}), n.addEventListener("change", (d) => {
|
|
1699
1699
|
this.setAttribute("data-increment", d.target.value);
|
|
1700
|
-
}),
|
|
1700
|
+
}), s.addEventListener("click", (d) => {
|
|
1701
1701
|
let u = parseInt(this.getAttribute("data-show")) + parseInt(this.getAttribute("data-increment"));
|
|
1702
|
-
this.setAttribute("data-show", u), u > parseInt(this.getAttribute("data-total")) &&
|
|
1702
|
+
this.setAttribute("data-show", u), u > parseInt(this.getAttribute("data-total")) && s.remove();
|
|
1703
1703
|
});
|
|
1704
1704
|
}
|
|
1705
1705
|
setup() {
|
|
1706
|
-
const a = this.shadowRoot.querySelector(".pagination"), e = this.shadowRoot.querySelector(".page-jump select"),
|
|
1706
|
+
const a = this.shadowRoot.querySelector(".pagination"), e = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), o = this.shadowRoot.querySelector(".next"), n = this.shadowRoot.querySelector(".item-count"), s = this.shadowRoot.querySelector(".per-page select"), d = this.shadowRoot.querySelector(".total-pages"), u = parseInt(this.getAttribute("data-page")), h = parseInt(this.getAttribute("data-total")), g = parseInt(this.getAttribute("data-show")), m = parseInt(this.getAttribute("data-increment")), y = Math.ceil(h / m);
|
|
1707
1707
|
h > g && a.classList.remove("d-none");
|
|
1708
1708
|
let v = "";
|
|
1709
1709
|
for (let E = 1; E <= y; E++)
|
|
1710
1710
|
v += `<option value="${E}" ${E == u ? "selected" : ""}>${E}</option>`;
|
|
1711
|
-
e.innerHTML = v, d.innerHTML = `of ${y}`, u == y ? o.setAttribute("disabled", "disabled") : o.removeAttribute("disabled"), u == 1 ?
|
|
1711
|
+
e.innerHTML = v, d.innerHTML = `of ${y}`, u == y ? o.setAttribute("disabled", "disabled") : o.removeAttribute("disabled"), u == 1 ? i.setAttribute("disabled", "disabled") : i.removeAttribute("disabled");
|
|
1712
1712
|
let $ = u == 1 ? 1 : (u - 1) * g + 1, q = u == 1 ? g : u * g;
|
|
1713
1713
|
n.innerHTML = `${$} - ${q > h ? h : q} of ${h} items`;
|
|
1714
1714
|
const I = [15, 25, 40, 50];
|
|
1715
|
-
m &&
|
|
1715
|
+
m && s.value != m && !I.includes(m) && (s.innerHTML = `<option value="${m}">${m}</option>
|
|
1716
1716
|
<option value="${m * 2}">${m * 2}</option>
|
|
1717
1717
|
<option value="${m * 3}">${m * 3}</option>
|
|
1718
|
-
<option value="${m * 4}">${m * 4}</option>`),
|
|
1718
|
+
<option value="${m * 4}">${m * 4}</option>`), s.value = m;
|
|
1719
1719
|
}
|
|
1720
1720
|
static get observedAttributes() {
|
|
1721
1721
|
return ["data-total", "data-increment", "data-page", "data-show"];
|
|
1722
1722
|
}
|
|
1723
|
-
attributeChangedCallback(a, e,
|
|
1723
|
+
attributeChangedCallback(a, e, i) {
|
|
1724
1724
|
switch (a) {
|
|
1725
1725
|
case "data-total": {
|
|
1726
|
-
e !=
|
|
1726
|
+
e != i && (this.setAttribute("data-page", 1), this.setup());
|
|
1727
1727
|
break;
|
|
1728
1728
|
}
|
|
1729
1729
|
case "data-show": {
|
|
1730
|
-
e !=
|
|
1730
|
+
e != i && (this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: i } })));
|
|
1731
1731
|
break;
|
|
1732
1732
|
}
|
|
1733
1733
|
case "data-increment": {
|
|
1734
|
-
e !=
|
|
1734
|
+
e != i && (this.setAttribute("data-show", i), this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: i } })));
|
|
1735
1735
|
break;
|
|
1736
1736
|
}
|
|
1737
1737
|
case "data-page": {
|
|
1738
|
-
e && e !=
|
|
1738
|
+
e && e != i && (this.setup(), this.dispatchEvent(new CustomEvent("update-page", { detail: { page: i } })));
|
|
1739
1739
|
break;
|
|
1740
1740
|
}
|
|
1741
1741
|
}
|
|
@@ -1756,10 +1756,10 @@ const Ha = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1756
1756
|
updated() {
|
|
1757
1757
|
}
|
|
1758
1758
|
};
|
|
1759
|
-
function ja(t, a, e,
|
|
1759
|
+
function ja(t, a, e, i, o, n) {
|
|
1760
1760
|
return r(), l("iam-pagination");
|
|
1761
1761
|
}
|
|
1762
|
-
const
|
|
1762
|
+
const li = /* @__PURE__ */ p(Ma, [["render", ja]]), Ca = {
|
|
1763
1763
|
name: "Address Lookup",
|
|
1764
1764
|
mounted() {
|
|
1765
1765
|
this.$nextTick(function() {
|
|
@@ -1771,22 +1771,22 @@ const ls = /* @__PURE__ */ p(Ma, [["render", ja]]), Ca = {
|
|
|
1771
1771
|
});
|
|
1772
1772
|
}
|
|
1773
1773
|
};
|
|
1774
|
-
function Na(t, a, e,
|
|
1774
|
+
function Na(t, a, e, i, o, n) {
|
|
1775
1775
|
return r(), l("iam-address-lookup", null, [
|
|
1776
1776
|
f(t.$slots, "default")
|
|
1777
1777
|
]);
|
|
1778
1778
|
}
|
|
1779
|
-
const
|
|
1779
|
+
const di = /* @__PURE__ */ p(Ca, [["render", Na]]);
|
|
1780
1780
|
/*!
|
|
1781
|
-
* iamKey v5.3.0-
|
|
1781
|
+
* iamKey v5.3.0-beta4
|
|
1782
1782
|
* Copyright 2022-2024 iamproperty
|
|
1783
1783
|
*/
|
|
1784
1784
|
window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "collapsible side menu" });
|
|
1785
1785
|
class Ra extends HTMLElement {
|
|
1786
1786
|
constructor() {
|
|
1787
1787
|
super(), this.attachShadow({ mode: "open" });
|
|
1788
|
-
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`,
|
|
1789
|
-
|
|
1788
|
+
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");
|
|
1789
|
+
i.innerHTML = `
|
|
1790
1790
|
<style class="styles">
|
|
1791
1791
|
@import "${e}";
|
|
1792
1792
|
: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 */
|
|
@@ -1808,11 +1808,11 @@ class Ra extends HTMLElement {
|
|
|
1808
1808
|
</div>
|
|
1809
1809
|
|
|
1810
1810
|
</div>
|
|
1811
|
-
`, this.shadowRoot.appendChild(
|
|
1811
|
+
`, this.shadowRoot.appendChild(i.content.cloneNode(!0));
|
|
1812
1812
|
}
|
|
1813
1813
|
connectedCallback() {
|
|
1814
|
-
const a = this.shadowRoot.querySelector(".side-menu"), e = this.shadowRoot.querySelector(".side-menu-content"),
|
|
1815
|
-
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>`),
|
|
1814
|
+
const a = this.shadowRoot.querySelector(".side-menu"), e = this.shadowRoot.querySelector(".side-menu-content"), i = this.shadowRoot.querySelector(".main-content"), o = this.shadowRoot.querySelector(".side-menu > .btn");
|
|
1815
|
+
this.hasAttribute("data-css") && this.shadowRoot.querySelector(".styles").insertAdjacentHTML("beforeend", `@import "${this.getAttribute("data-css")}";`), this.hasAttribute("data-title") || this.setAttribute("data-title", "configuration"), e.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), i.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)") && (this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("h4"), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("main-content__title")), o.addEventListener("click", (n) => {
|
|
1816
1816
|
a.classList.contains("open") ? (a.classList.remove("open"), o.removeAttribute("aria-expanded"), setTimeout(function() {
|
|
1817
1817
|
e.classList.add("closed");
|
|
1818
1818
|
}, 1e3), a.classList.add("pe-none"), setTimeout(function() {
|
|
@@ -1838,38 +1838,38 @@ const Pa = {
|
|
|
1838
1838
|
mounted() {
|
|
1839
1839
|
}
|
|
1840
1840
|
};
|
|
1841
|
-
function za(t, a, e,
|
|
1841
|
+
function za(t, a, e, i, o, n) {
|
|
1842
1842
|
return r(), l("iam-collapsible-side", null, [
|
|
1843
1843
|
f(t.$slots, "default")
|
|
1844
1844
|
]);
|
|
1845
1845
|
}
|
|
1846
|
-
const
|
|
1846
|
+
const ci = /* @__PURE__ */ p(Pa, [["render", za]]);
|
|
1847
1847
|
export {
|
|
1848
1848
|
Va as Accordion,
|
|
1849
1849
|
Oa as AccordionItem,
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1850
|
+
ri as Actionbar,
|
|
1851
|
+
di as AddressLookup,
|
|
1852
|
+
si as AppliedFilters,
|
|
1853
1853
|
Ba as Banner,
|
|
1854
1854
|
Ua as Card,
|
|
1855
1855
|
Wa as Carousel,
|
|
1856
|
-
|
|
1856
|
+
ci as CollapsibleSideMenu,
|
|
1857
1857
|
Fa as FileUpload,
|
|
1858
|
-
|
|
1858
|
+
ni as Filterlist,
|
|
1859
1859
|
Ka as Header,
|
|
1860
1860
|
R as Input,
|
|
1861
1861
|
Da as Logo,
|
|
1862
1862
|
Ja as Nav,
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1863
|
+
ii as NoteFeed,
|
|
1864
|
+
oi as Notification,
|
|
1865
|
+
li as Pagination,
|
|
1866
1866
|
Ya as PropertySearchbar,
|
|
1867
1867
|
Za as Snapshot,
|
|
1868
|
-
|
|
1868
|
+
ei as Step,
|
|
1869
1869
|
Xa as Stepper,
|
|
1870
|
-
|
|
1870
|
+
ai as Tab,
|
|
1871
1871
|
N as Table,
|
|
1872
|
-
|
|
1872
|
+
ti as Tabs,
|
|
1873
1873
|
Ga as Testimonial,
|
|
1874
1874
|
Qa as Timeline
|
|
1875
1875
|
};
|