@iamproperty/components 3.7.5 → 3.7.6
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/js/components/accordion/accordion.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/filterlist/filterlist.component.min.js +1 -1
- package/assets/js/components/header/header.component.min.js +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/table/table.component.js +12 -9
- package/assets/js/components/table/table.component.min.js +13 -14
- package/assets/js/components/table/table.component.min.js.map +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 +25 -26
- package/assets/js/scripts.bundle.js.map +1 -1
- package/assets/js/scripts.bundle.min.js +2 -2
- package/assets/js/scripts.bundle.min.js.map +1 -1
- package/assets/ts/components/table/table.component.ts +17 -12
- package/dist/components.es.js +56 -58
- package/dist/components.umd.js +18 -19
- package/package.json +1 -1
|
@@ -10,14 +10,6 @@ class iamTable extends HTMLElement {
|
|
|
10
10
|
const assetLocation = document.body.hasAttribute('data-assets-location') ? document.body.getAttribute('data-assets-location') : '/assets';
|
|
11
11
|
const coreCSS = document.body.hasAttribute('data-core-css') ? document.body.getAttribute('data-core-css') : `${assetLocation}/css/core.min.css`;
|
|
12
12
|
|
|
13
|
-
const isCTA = this.classList.contains('table--cta');
|
|
14
|
-
const isExportable = this.classList.contains('table--export');
|
|
15
|
-
|
|
16
|
-
let classList = this.classList.toString();
|
|
17
|
-
|
|
18
|
-
classList = classList.replace('table--cta','');
|
|
19
|
-
classList = classList.replace('table--loading','');
|
|
20
|
-
|
|
21
13
|
const template = document.createElement('template');
|
|
22
14
|
template.innerHTML = `
|
|
23
15
|
<style>
|
|
@@ -35,12 +27,11 @@ class iamTable extends HTMLElement {
|
|
|
35
27
|
|
|
36
28
|
${this.hasAttribute('css') ? `@import "${this.getAttribute('css')}";` : ``}
|
|
37
29
|
</style>
|
|
38
|
-
|
|
39
|
-
<div class="table__wrapper
|
|
30
|
+
<div class="table--cta">
|
|
31
|
+
<div class="table__wrapper">
|
|
40
32
|
<slot></slot>
|
|
41
33
|
</div>
|
|
42
|
-
|
|
43
|
-
${isExportable ? '<button class="link" type="button" data-export>Export table as CSV</button>' : ''}
|
|
34
|
+
</div>
|
|
44
35
|
<div class="table__pagination"></div>
|
|
45
36
|
`;
|
|
46
37
|
this.shadowRoot.appendChild(template.content.cloneNode(true));
|
|
@@ -50,6 +41,7 @@ class iamTable extends HTMLElement {
|
|
|
50
41
|
connectedCallback() {
|
|
51
42
|
|
|
52
43
|
const params = new URLSearchParams(window.location.search)
|
|
44
|
+
|
|
53
45
|
// Set default attributes
|
|
54
46
|
if(!this.hasAttribute('data-total'))
|
|
55
47
|
this.setAttribute('data-total', this.querySelectorAll('table tbody tr').length);
|
|
@@ -65,10 +57,23 @@ class iamTable extends HTMLElement {
|
|
|
65
57
|
|
|
66
58
|
this.setAttribute('data-pages', Math.ceil(this.getAttribute('data-total') / this.getAttribute('data-show')));
|
|
67
59
|
|
|
60
|
+
// Update table__wrapper class
|
|
61
|
+
let classList = this.classList.toString();
|
|
62
|
+
|
|
63
|
+
classList = classList.replace('table--cta','');
|
|
64
|
+
classList = classList.replace('table--loading','');
|
|
65
|
+
this.shadowRoot.querySelector('.table__wrapper').className += ` ${classList}`;
|
|
66
|
+
|
|
68
67
|
this.table = this.querySelector('table');
|
|
69
68
|
this.savedTableBody = this.table.querySelector('tbody').cloneNode(true);
|
|
70
69
|
this.pagination = this.shadowRoot.querySelector('.table__pagination');
|
|
71
70
|
|
|
71
|
+
// Remove table CTA
|
|
72
|
+
const isCTA = this.classList.contains('table--cta');
|
|
73
|
+
|
|
74
|
+
if(!isCTA)
|
|
75
|
+
this.shadowRoot.querySelector('.table--cta').classList.remove('table--cta');
|
|
76
|
+
|
|
72
77
|
// Set events on the filter table
|
|
73
78
|
this.form = document.createElement('form');
|
|
74
79
|
if(this.hasAttribute('data-filterby')){
|
package/dist/components.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as u, createElementBlock as m, normalizeClass as A, createElementVNode as d, toDisplayString as
|
|
1
|
+
import { openBlock as u, createElementBlock as m, normalizeClass as A, createElementVNode as d, toDisplayString as $, createCommentVNode as g, Fragment as T, renderList as M, renderSlot as _, withDirectives as z, mergeProps as H, vModelDynamic as V, vModelText as ct, vModelSelect as dt, resolveComponent as N, createVNode as x, createTextVNode as ut, withModifiers as mt } from "vue";
|
|
2
2
|
const S = (e, a) => {
|
|
3
3
|
const t = e.__vccOpts || e;
|
|
4
4
|
for (const [r, s] of a)
|
|
@@ -35,7 +35,7 @@ function pt(e, a, t, r, s, i) {
|
|
|
35
35
|
class: A(i.className)
|
|
36
36
|
}, [
|
|
37
37
|
(u(), m("svg", null, [
|
|
38
|
-
d("title", null, "iam " +
|
|
38
|
+
d("title", null, "iam " + $(t.id), 1),
|
|
39
39
|
d("use", {
|
|
40
40
|
"xlink:href": t.path + i.src
|
|
41
41
|
}, null, 8, ft)
|
|
@@ -48,7 +48,7 @@ function pt(e, a, t, r, s, i) {
|
|
|
48
48
|
}
|
|
49
49
|
const yt = /* @__PURE__ */ S(ht, [["render", pt]]);
|
|
50
50
|
/*!
|
|
51
|
-
* iamKey v3.7.
|
|
51
|
+
* iamKey v3.7.6
|
|
52
52
|
* Copyright 2022-2023 iamproperty
|
|
53
53
|
*/
|
|
54
54
|
const gt = function(e) {
|
|
@@ -265,21 +265,21 @@ const X = (e) => {
|
|
|
265
265
|
let k = /* @__PURE__ */ new Date();
|
|
266
266
|
k.setDate(k.getDate() - 1), y = U("date", k);
|
|
267
267
|
} else if (y && (y == "$thisWeek" || y == "$lastWeek")) {
|
|
268
|
-
let k = /* @__PURE__ */ new Date(),
|
|
269
|
-
if (k.setHours(0, 0, 0, 0),
|
|
270
|
-
b = L >=
|
|
268
|
+
let k = /* @__PURE__ */ new Date(), q = new Date(k.setDate(k.getDate() - (k.getDay() - 1))), v = new Date(k.setDate(k.getDate() - k.getDay() + 7)), L = new Date(w.textContent.toLowerCase());
|
|
269
|
+
if (k.setHours(0, 0, 0, 0), q.setHours(0, 0, 0, 0), v.setHours(0, 0, 0, 0), L.setHours(0, 0, 0, 0), y == "$thisWeek")
|
|
270
|
+
b = L >= q && L <= v;
|
|
271
271
|
else {
|
|
272
|
-
let E = new Date(
|
|
272
|
+
let E = new Date(q.setDate(q.getDate() - 7)), D = new Date(v.setDate(v.getDate() - 7));
|
|
273
273
|
E.setHours(0, 0, 0, 0), D.setHours(0, 0, 0, 0), b = L >= E && L <= D;
|
|
274
274
|
}
|
|
275
275
|
} else if (y && y == "$thisMonth") {
|
|
276
|
-
let k = /* @__PURE__ */ new Date(),
|
|
277
|
-
var I = new Date(
|
|
276
|
+
let k = /* @__PURE__ */ new Date(), q = k.getFullYear(), v = k.getMonth();
|
|
277
|
+
var I = new Date(q, v, 1), R = new Date(q, v + 1, 0);
|
|
278
278
|
let L = new Date(w.textContent.toLowerCase());
|
|
279
279
|
I.setHours(0, 0, 0, 0), R.setHours(0, 0, 0, 0), L.setHours(0, 0, 0, 0), b = L >= I && L <= R;
|
|
280
280
|
} else if (y && y == "$lastMonth") {
|
|
281
|
-
let k = /* @__PURE__ */ new Date(),
|
|
282
|
-
var P = new Date(
|
|
281
|
+
let k = /* @__PURE__ */ new Date(), q = k.getFullYear(), v = k.getMonth();
|
|
282
|
+
var P = new Date(q, v - 1, 1), C = new Date(q, v, 0);
|
|
283
283
|
let L = new Date(w.textContent.toLowerCase());
|
|
284
284
|
P.setHours(0, 0, 0, 0), C.setHours(0, 0, 0, 0), L.setHours(0, 0, 0, 0), b = L >= P && L <= C;
|
|
285
285
|
}
|
|
@@ -343,13 +343,13 @@ const X = (e) => {
|
|
|
343
343
|
i.value = o, r.setAttribute("data-show", o), a.dispatchEvent(new Event("submit"));
|
|
344
344
|
}
|
|
345
345
|
});
|
|
346
|
-
},
|
|
346
|
+
}, qt = (e, a) => {
|
|
347
347
|
if (!e)
|
|
348
348
|
return !1;
|
|
349
349
|
e.addEventListener("click", (t) => {
|
|
350
|
-
|
|
350
|
+
$t(a);
|
|
351
351
|
});
|
|
352
|
-
},
|
|
352
|
+
}, $t = function(e) {
|
|
353
353
|
for (var a = [], t = e.getElementsByTagName("tr"), r = 0; r < t.length; r++) {
|
|
354
354
|
for (var s = t[r].querySelectorAll("td,th"), i = [], o = 0; o < s.length; o++)
|
|
355
355
|
i.push(`"${s[o].textContent}"`);
|
|
@@ -386,7 +386,7 @@ const X = (e) => {
|
|
|
386
386
|
yield fetch(l + "?" + o, { signal: h, method: "get", credentials: "same-origin", headers: new Headers({ "Content-Type": "application/json", Accept: "application/json", "X-Requested-With": "XMLHttpRequest" }) }).then((f) => f.json()).then((f) => {
|
|
387
387
|
let b = a.hasAttribute("data-schema") ? a.getAttribute("data-schema") : "data", y = a.hasAttribute("data-schema-total") ? a.getAttribute("data-schema-total") : "meta.total", p = a.hasAttribute("data-schema-page") ? a.getAttribute("data-schema-page") : "meta.current_page", w = s(f, y, 1), I = s(f, p, 1), R = s(f, b), P = r.hasAttribute("data-empty-msg") ? r.getAttribute("data-empty-msg") : "No results found";
|
|
388
388
|
if (R ? (n.innerHTML = "", R.forEach((C, k) => {
|
|
389
|
-
var
|
|
389
|
+
var q = document.createElement("tr");
|
|
390
390
|
c.forEach((v, L) => {
|
|
391
391
|
let E = "";
|
|
392
392
|
var D = document.createElement("td");
|
|
@@ -410,8 +410,8 @@ const X = (e) => {
|
|
|
410
410
|
}), E += B;
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
|
-
v.hasAttribute("data-transform") && (E = JSON.parse(v.getAttribute("data-transform"))[E], !E && v.hasAttribute("data-default") && (E = v.getAttribute("data-default"))), D.innerHTML = E,
|
|
414
|
-
}), n.appendChild(
|
|
413
|
+
v.hasAttribute("data-transform") && (E = JSON.parse(v.getAttribute("data-transform"))[E], !E && v.hasAttribute("data-default") && (E = v.getAttribute("data-default"))), D.innerHTML = E, q.appendChild(D);
|
|
414
|
+
}), n.appendChild(q);
|
|
415
415
|
}), Q(e, a), r.setAttribute("data-total", parseInt(w)), r.setAttribute("data-page", parseInt(I)), r.setAttribute("data-pages", Math.ceil(r.getAttribute("data-total") / r.getAttribute("data-show"))), et(e, a, t, r), G(r, t), parseInt(w) == 0 && (n.innerHTML = `<tr><td colspan="100%"><span>${P}</span></td></tr>`), r.classList.remove("table--loading"), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Ajax table loaded", url: l, formData: o })) : n.innerHTML = '<tr><td colspan="100%"><span>Error loading table</span></td></tr>', a.hasAttribute("data-ajax-post")) {
|
|
416
416
|
const C = new XMLHttpRequest();
|
|
417
417
|
C.open("GET", `${window.location.href}?ajax=true&${o}`), C.send();
|
|
@@ -434,11 +434,8 @@ const X = (e) => {
|
|
|
434
434
|
class Et extends HTMLElement {
|
|
435
435
|
constructor() {
|
|
436
436
|
super(), this.attachShadow({ mode: "open" });
|
|
437
|
-
const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, r =
|
|
438
|
-
|
|
439
|
-
i = i.replace("table--cta", ""), i = i.replace("table--loading", "");
|
|
440
|
-
const o = document.createElement("template");
|
|
441
|
-
o.innerHTML = `
|
|
437
|
+
const a = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${a}/css/core.min.css`, r = document.createElement("template");
|
|
438
|
+
r.innerHTML = `
|
|
442
439
|
<style>
|
|
443
440
|
@import "${t}";
|
|
444
441
|
|
|
@@ -454,18 +451,19 @@ class Et extends HTMLElement {
|
|
|
454
451
|
|
|
455
452
|
${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
|
|
456
453
|
</style>
|
|
457
|
-
|
|
458
|
-
<div class="table__wrapper
|
|
454
|
+
<div class="table--cta">
|
|
455
|
+
<div class="table__wrapper">
|
|
459
456
|
<slot></slot>
|
|
460
457
|
</div>
|
|
461
|
-
|
|
462
|
-
${s ? '<button class="link" type="button" data-export>Export table as CSV</button>' : ""}
|
|
458
|
+
</div>
|
|
463
459
|
<div class="table__pagination"></div>
|
|
464
|
-
`, this.shadowRoot.appendChild(
|
|
460
|
+
`, this.shadowRoot.appendChild(r.content.cloneNode(!0));
|
|
465
461
|
}
|
|
466
462
|
connectedCallback() {
|
|
467
463
|
const a = new URLSearchParams(window.location.search);
|
|
468
|
-
this.hasAttribute("data-total") || this.setAttribute("data-total", this.querySelectorAll("table tbody tr").length), this.hasAttribute("data-page") || this.setAttribute("data-page", a.has("page") ? a.get("page") : 1), this.hasAttribute("data-show") || this.setAttribute("data-show", 15), this.hasAttribute("data-increment") || this.setAttribute("data-increment", 15), this.setAttribute("data-pages", Math.ceil(this.getAttribute("data-total") / this.getAttribute("data-show")))
|
|
464
|
+
this.hasAttribute("data-total") || this.setAttribute("data-total", this.querySelectorAll("table tbody tr").length), this.hasAttribute("data-page") || this.setAttribute("data-page", a.has("page") ? a.get("page") : 1), this.hasAttribute("data-show") || this.setAttribute("data-show", 15), this.hasAttribute("data-increment") || this.setAttribute("data-increment", 15), this.setAttribute("data-pages", Math.ceil(this.getAttribute("data-total") / this.getAttribute("data-show")));
|
|
465
|
+
let t = this.classList.toString();
|
|
466
|
+
t = t.replace("table--cta", ""), t = t.replace("table--loading", ""), this.shadowRoot.querySelector(".table__wrapper").className += ` ${t}`, this.table = this.querySelector("table"), this.savedTableBody = this.table.querySelector("tbody").cloneNode(!0), this.pagination = this.shadowRoot.querySelector(".table__pagination"), this.classList.contains("table--cta") || this.shadowRoot.querySelector(".table--cta").classList.remove("table--cta"), this.form = document.createElement("form"), this.hasAttribute("data-filterby") ? this.form = document.querySelector(`#${this.getAttribute("data-filterby")}`) : this.table.parentNode.insertBefore(this.form, this.table.nextSibling), this.form.hasAttribute("data-ajax") && this.table.classList.add("table--ajax"), Q(this.table, this.form), this.form.querySelector("[data-page]") || (this.form.innerHTML += `<input name="page" type="hidden" value="${this.getAttribute("data-page")}" data-pagination="true" />`), this.form.querySelector("[data-show]") || (this.form.innerHTML += `<input name="show" type="hidden" value="${this.getAttribute("data-show")}" data-show="true" />`), kt(this.table), Lt(this.table, this.form, this.pagination, this, this.savedTableBody), xt(this.table, this.form, this.pagination, this), qt(this.shadowRoot.querySelector("[data-export]"), this.table), this.form.getAttribute("data-ajax") ? at(this.table, this.form, this.pagination, this) : (et(this.table, this.form, this.pagination, this), tt(this.table, this.form, this), G(this, this.pagination), K(this.table, this.form)), this.shadowRoot.querySelector(".table__wrapper").addEventListener("scroll", (r) => {
|
|
469
467
|
this.table.querySelector("dialog[open]") && (this.table.querySelector("dialog[open]").close(), this.table.querySelector(".dialog__wrapper > button.active").classList.remove("active"));
|
|
470
468
|
});
|
|
471
469
|
}
|
|
@@ -509,7 +507,7 @@ function Pt(e, a, t, r, s, i) {
|
|
|
509
507
|
d("tr", null, [
|
|
510
508
|
(u(!0), m(T, null, M(t.fields, (o) => (u(), m("th", {
|
|
511
509
|
key: o.key
|
|
512
|
-
},
|
|
510
|
+
}, $(i.cellHeading(o.key)), 1))), 128))
|
|
513
511
|
])
|
|
514
512
|
]),
|
|
515
513
|
t.items ? (u(), m("tbody", Rt, [
|
|
@@ -778,7 +776,7 @@ function ne(e, a, t, r, s, i) {
|
|
|
778
776
|
}, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, Gt), [
|
|
779
777
|
[V, i.inputVal]
|
|
780
778
|
]),
|
|
781
|
-
d("output", Kt,
|
|
779
|
+
d("output", Kt, $(t.value), 1)
|
|
782
780
|
])) : g("", !0),
|
|
783
781
|
t.type == "color" ? (u(), m("div", Yt, [
|
|
784
782
|
z(d("input", H({
|
|
@@ -792,7 +790,7 @@ function ne(e, a, t, r, s, i) {
|
|
|
792
790
|
}, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, Zt), [
|
|
793
791
|
[V, i.inputVal]
|
|
794
792
|
]),
|
|
795
|
-
d("output", Jt,
|
|
793
|
+
d("output", Jt, $(t.value ? e.vale : "#000000"), 1)
|
|
796
794
|
])) : g("", !0),
|
|
797
795
|
t.type == "select" ? z((u(), m("select", H({
|
|
798
796
|
key: 7,
|
|
@@ -806,7 +804,7 @@ function ne(e, a, t, r, s, i) {
|
|
|
806
804
|
(u(!0), m(T, null, M(t.options, (o, c) => (u(), m("option", {
|
|
807
805
|
key: c,
|
|
808
806
|
value: o.value
|
|
809
|
-
},
|
|
807
|
+
}, $(o.display ? o.display : o.value), 9, Qt))), 128))
|
|
810
808
|
], 16, Xt)), [
|
|
811
809
|
[dt, i.inputVal]
|
|
812
810
|
]) : g("", !0),
|
|
@@ -817,7 +815,7 @@ function ne(e, a, t, r, s, i) {
|
|
|
817
815
|
(u(!0), m(T, null, M(t.options, (o, c) => (u(), m("option", {
|
|
818
816
|
key: c,
|
|
819
817
|
value: o.value
|
|
820
|
-
},
|
|
818
|
+
}, $(o.value), 9, ee))), 128))
|
|
821
819
|
], 8, te)) : g("", !0),
|
|
822
820
|
t.type == "checkbox" || t.type == "radio" ? (u(), m("input", H({
|
|
823
821
|
key: 9,
|
|
@@ -918,7 +916,7 @@ function fe(e, a, t, r, s, i) {
|
|
|
918
916
|
}
|
|
919
917
|
const co = /* @__PURE__ */ S(le, [["render", fe]]);
|
|
920
918
|
/*!
|
|
921
|
-
* iamKey v3.7.
|
|
919
|
+
* iamKey v3.7.6
|
|
922
920
|
* Copyright 2022-2023 iamproperty
|
|
923
921
|
*/
|
|
924
922
|
function be(e) {
|
|
@@ -1014,11 +1012,11 @@ function Se(e, a, t, r, s, i) {
|
|
|
1014
1012
|
d("summary", {
|
|
1015
1013
|
classList: `${t.titlecolour ? `bg-${t.titlecolour}` : ""}`
|
|
1016
1014
|
}, [
|
|
1017
|
-
ut(
|
|
1015
|
+
ut($(t.title), 1),
|
|
1018
1016
|
t.badge ? (u(), m("span", {
|
|
1019
1017
|
key: 0,
|
|
1020
1018
|
class: A(`badge bg-${t.badgecolour}`)
|
|
1021
|
-
},
|
|
1019
|
+
}, $(t.badge), 3)) : g("", !0)
|
|
1022
1020
|
], 8, Ae),
|
|
1023
1021
|
_(e.$slots, "default")
|
|
1024
1022
|
], 8, we);
|
|
@@ -1040,16 +1038,16 @@ const ho = /* @__PURE__ */ S(ve, [["render", Se]]), ke = {
|
|
|
1040
1038
|
required: !1
|
|
1041
1039
|
}
|
|
1042
1040
|
}
|
|
1043
|
-
}, Le = { class: "container" }, xe = { class: "row" },
|
|
1041
|
+
}, Le = { class: "container" }, xe = { class: "row" }, qe = { class: "col-sm-6" }, $e = { class: "pt-5 pb-3 px-4" }, Ee = { class: "col-sm-6 col-md-5 ms-auto" }, Te = ["src"];
|
|
1044
1042
|
function Me(e, a, t, r, s, i) {
|
|
1045
1043
|
return u(), m("div", Le, [
|
|
1046
1044
|
d("div", {
|
|
1047
1045
|
class: A("bg-" + t.background + " mb-4")
|
|
1048
1046
|
}, [
|
|
1049
1047
|
d("div", xe, [
|
|
1050
|
-
d("div",
|
|
1051
|
-
d("div",
|
|
1052
|
-
d("h2", null,
|
|
1048
|
+
d("div", qe, [
|
|
1049
|
+
d("div", $e, [
|
|
1050
|
+
d("h2", null, $(t.title), 1),
|
|
1053
1051
|
_(e.$slots, "default")
|
|
1054
1052
|
])
|
|
1055
1053
|
]),
|
|
@@ -1067,7 +1065,7 @@ function Me(e, a, t, r, s, i) {
|
|
|
1067
1065
|
}
|
|
1068
1066
|
const fo = /* @__PURE__ */ S(ke, [["render", Me]]);
|
|
1069
1067
|
/*!
|
|
1070
|
-
* iamKey v3.7.
|
|
1068
|
+
* iamKey v3.7.6
|
|
1071
1069
|
* Copyright 2022-2023 iamproperty
|
|
1072
1070
|
*/
|
|
1073
1071
|
window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "Card" });
|
|
@@ -1317,7 +1315,7 @@ function We(e, a, t, r, s, i) {
|
|
|
1317
1315
|
key: n,
|
|
1318
1316
|
href: "#carousel" + s.id + "slide" + (n + 1),
|
|
1319
1317
|
class: A(`control-${n + 1}`)
|
|
1320
|
-
}, "Slide " +
|
|
1318
|
+
}, "Slide " + $(n + 1), 11, Oe))), 128))
|
|
1321
1319
|
], 2),
|
|
1322
1320
|
Ve,
|
|
1323
1321
|
Ue
|
|
@@ -1326,7 +1324,7 @@ function We(e, a, t, r, s, i) {
|
|
|
1326
1324
|
}
|
|
1327
1325
|
const bo = /* @__PURE__ */ S(ze, [["render", We]]);
|
|
1328
1326
|
/*!
|
|
1329
|
-
* iamKey v3.7.
|
|
1327
|
+
* iamKey v3.7.6
|
|
1330
1328
|
* Copyright 2022-2023 iamproperty
|
|
1331
1329
|
*/
|
|
1332
1330
|
window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "header" });
|
|
@@ -1658,7 +1656,7 @@ const fa = {
|
|
|
1658
1656
|
value: "submit"
|
|
1659
1657
|
}, "Search")
|
|
1660
1658
|
], -1);
|
|
1661
|
-
function
|
|
1659
|
+
function qa(e, a, t, r, s, i) {
|
|
1662
1660
|
const o = N("Input");
|
|
1663
1661
|
return u(), m("div", ba, [
|
|
1664
1662
|
_(e.$slots, "default"),
|
|
@@ -1745,7 +1743,7 @@ function $a(e, a, t, r, s, i) {
|
|
|
1745
1743
|
_(e.$slots, "after")
|
|
1746
1744
|
], 512);
|
|
1747
1745
|
}
|
|
1748
|
-
const go = /* @__PURE__ */ S(fa, [["render",
|
|
1746
|
+
const go = /* @__PURE__ */ S(fa, [["render", qa]]), $a = (e) => {
|
|
1749
1747
|
Array.from(e.querySelectorAll("details")).forEach((a, t) => {
|
|
1750
1748
|
a.addEventListener("mouseenter", function(r) {
|
|
1751
1749
|
window.matchMedia("(min-width: 62em)").matches && a.setAttribute("open", "true");
|
|
@@ -1830,7 +1828,7 @@ const Ea = {
|
|
|
1830
1828
|
},
|
|
1831
1829
|
mounted() {
|
|
1832
1830
|
this.$nextTick(function() {
|
|
1833
|
-
|
|
1831
|
+
$a(this.$refs.wrapper);
|
|
1834
1832
|
});
|
|
1835
1833
|
}
|
|
1836
1834
|
}, Ta = /* @__PURE__ */ d("input", {
|
|
@@ -2060,11 +2058,11 @@ function Sr(e, a, t, r, s, i) {
|
|
|
2060
2058
|
class: "stepper",
|
|
2061
2059
|
"aria-label": t.label ? t.label : "Progress"
|
|
2062
2060
|
}, [
|
|
2063
|
-
t.label ? (u(), m("span", vr,
|
|
2061
|
+
t.label ? (u(), m("span", vr, $(t.label), 1)) : g("", !0),
|
|
2064
2062
|
d("ol", wr, [
|
|
2065
2063
|
_(e.$slots, "default")
|
|
2066
2064
|
]),
|
|
2067
|
-
d("span", Ar,
|
|
2065
|
+
d("span", Ar, $(t.endlabel), 1)
|
|
2068
2066
|
], 8, _r)
|
|
2069
2067
|
]);
|
|
2070
2068
|
}
|
|
@@ -2088,7 +2086,7 @@ const vo = /* @__PURE__ */ S(yr, [["render", Sr]]), kr = {
|
|
|
2088
2086
|
key: 0,
|
|
2089
2087
|
class: "visually-hidden"
|
|
2090
2088
|
};
|
|
2091
|
-
function
|
|
2089
|
+
function qr(e, a, t, r, s, i) {
|
|
2092
2090
|
return u(), m("li", null, [
|
|
2093
2091
|
d("a", {
|
|
2094
2092
|
href: t.url,
|
|
@@ -2098,16 +2096,16 @@ function $r(e, a, t, r, s, i) {
|
|
|
2098
2096
|
d("span", null, [
|
|
2099
2097
|
_(e.$slots, "default")
|
|
2100
2098
|
]),
|
|
2101
|
-
t.status ? (u(), m("em", xr, " - status: " +
|
|
2099
|
+
t.status ? (u(), m("em", xr, " - status: " + $(t.status), 1)) : g("", !0)
|
|
2102
2100
|
], 10, Lr)
|
|
2103
2101
|
]);
|
|
2104
2102
|
}
|
|
2105
|
-
const wo = /* @__PURE__ */ S(kr, [["render",
|
|
2103
|
+
const wo = /* @__PURE__ */ S(kr, [["render", qr]]);
|
|
2106
2104
|
/*!
|
|
2107
|
-
* iamKey v3.7.
|
|
2105
|
+
* iamKey v3.7.6
|
|
2108
2106
|
* Copyright 2022-2023 iamproperty
|
|
2109
2107
|
*/
|
|
2110
|
-
const
|
|
2108
|
+
const $r = function(e) {
|
|
2111
2109
|
const a = e.querySelectorAll(":scope > details");
|
|
2112
2110
|
e.querySelectorAll(":scope > details > summary");
|
|
2113
2111
|
let t = e.querySelector(":scope > .tabs__links");
|
|
@@ -2142,7 +2140,7 @@ const qr = function(e) {
|
|
|
2142
2140
|
let a = e.querySelectorAll(":scope > details"), t = e.querySelectorAll(":scope > .tabs__links > button, .tabs__links > a");
|
|
2143
2141
|
e.shadowRoot && (t = e.shadowRoot.querySelectorAll(".tabs__links > button, .tabs__links > a")), location.hash && e.querySelector(`.tabs__links [href="${location.hash}"]`) ? (e.querySelector(`[href="${location.hash}"]`).setAttribute("open", !0), e.querySelector(`details[id="${location.hash.replace("#", "")}"]`).setAttribute("open", !0)) : e.querySelector("details[open]") || (a[0].setAttribute("open", !0), t[0].setAttribute("aria-pressed", !0));
|
|
2144
2142
|
}, Mr = function(e) {
|
|
2145
|
-
|
|
2143
|
+
$r(e), Er(e), Tr(e);
|
|
2146
2144
|
};
|
|
2147
2145
|
window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "tabs" });
|
|
2148
2146
|
class Hr extends HTMLElement {
|
|
@@ -2293,7 +2291,7 @@ function Wr(e, a, t, r, s, i) {
|
|
|
2293
2291
|
}
|
|
2294
2292
|
const ko = /* @__PURE__ */ S(Br, [["render", Wr]]);
|
|
2295
2293
|
/*!
|
|
2296
|
-
* iamKey v3.7.
|
|
2294
|
+
* iamKey v3.7.6
|
|
2297
2295
|
* Copyright 2022-2023 iamproperty
|
|
2298
2296
|
*/
|
|
2299
2297
|
function Gr(e, a) {
|
|
@@ -2385,7 +2383,7 @@ function Zr(e, a, t, r, s, i) {
|
|
|
2385
2383
|
}
|
|
2386
2384
|
const Lo = /* @__PURE__ */ S(Yr, [["render", Zr]]);
|
|
2387
2385
|
/*!
|
|
2388
|
-
* iamKey v3.7.
|
|
2386
|
+
* iamKey v3.7.6
|
|
2389
2387
|
* Copyright 2022-2023 iamproperty
|
|
2390
2388
|
*/
|
|
2391
2389
|
function Jr(e, a) {
|
|
@@ -2550,7 +2548,7 @@ function so(e, a, t, r, s, i) {
|
|
|
2550
2548
|
_(e.$slots, "default")
|
|
2551
2549
|
]);
|
|
2552
2550
|
}
|
|
2553
|
-
const
|
|
2551
|
+
const qo = /* @__PURE__ */ S(io, [["render", so]]);
|
|
2554
2552
|
export {
|
|
2555
2553
|
mo as Accordion,
|
|
2556
2554
|
ho as AccordionItem,
|
|
@@ -2565,7 +2563,7 @@ export {
|
|
|
2565
2563
|
yt as Logo,
|
|
2566
2564
|
_o as Nav,
|
|
2567
2565
|
ko as NoteFeed,
|
|
2568
|
-
|
|
2566
|
+
qo as Notification,
|
|
2569
2567
|
go as PropertySearchbar,
|
|
2570
2568
|
wo as Step,
|
|
2571
2569
|
vo as Stepper,
|