@iamproperty/components 5.1.0-beta7 → 5.1.0-beta8
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/accordion.global.css.map +1 -1
- package/assets/css/components/card.css +1 -1
- package/assets/css/components/card.css.map +1 -1
- package/assets/css/components/carousel.css +1 -1
- package/assets/css/components/carousel.css.map +1 -1
- package/assets/css/components/component.native.css +1 -1
- package/assets/css/components/component.native.css.map +1 -1
- package/assets/css/components/component.reset.css +1 -1
- package/assets/css/components/component.reset.css.map +1 -1
- package/assets/css/components/fileupload.css +1 -1
- package/assets/css/components/fileupload.css.map +1 -1
- package/assets/css/components/header.css +1 -1
- package/assets/css/components/header.css.map +1 -1
- package/assets/css/components/marketing.css +1 -0
- package/assets/css/components/marketing.css.map +1 -0
- package/assets/css/components/nav.css +1 -1
- package/assets/css/components/nav.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/components/slider.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/img/signin-bg.png +0 -0
- 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.js +2 -1
- package/assets/js/components/card/card.component.min.js +4 -3
- package/assets/js/components/card/card.component.min.js.map +1 -1
- package/assets/js/components/carousel/carousel.component.js +61 -0
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js +1 -1
- package/assets/js/components/fileupload/fileupload.component.min.js +2 -2
- package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
- package/assets/js/components/header/header.component.js +6 -12
- package/assets/js/components/header/header.component.min.js +8 -14
- package/assets/js/components/header/header.component.min.js.map +1 -1
- package/assets/js/components/marketing/marketing.component.js +37 -0
- package/assets/js/components/nav/nav.component.min.js +3 -3
- 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.js +1 -1
- package/assets/js/dynamic.min.js +3 -3
- package/assets/js/dynamic.min.js.map +1 -1
- package/assets/js/modules/carousel.js +15 -23
- package/assets/js/scripts.bundle.js +11 -16
- 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/sass/_corefiles.scss +1 -0
- package/assets/sass/_elements.scss +1 -1
- package/assets/sass/_functions/mixins.scss +16 -0
- package/assets/sass/_functions/utilities.scss +0 -17
- package/assets/sass/_functions/variables.scss +1 -0
- package/assets/sass/components/card.scss +23 -3
- package/assets/sass/components/carousel.scss +86 -159
- package/assets/sass/components/component.native.scss +86 -3
- package/assets/sass/components/fileupload.scss +1 -1
- package/assets/sass/components/header.scss +53 -55
- package/assets/sass/components/marketing.scss +64 -0
- package/assets/sass/components/nav.global.scss +1 -0
- package/assets/sass/components/nav.scss +7 -1
- package/assets/sass/elements/admin-panel.scss +9 -7
- package/assets/sass/elements/badge.scss +29 -0
- package/assets/sass/elements/forms.scss +3 -3
- package/assets/sass/elements/links.scss +2 -1
- package/assets/sass/foundations/reboot.scss +12 -13
- package/assets/sass/foundations/root.scss +11 -3
- package/assets/sass/helpers/max-height.scss +78 -4
- package/assets/sass/templates/auth.scss +112 -0
- package/assets/ts/components/card/card.component.ts +2 -1
- package/assets/ts/components/carousel/README.md +39 -0
- package/assets/ts/components/carousel/carousel.component.ts +75 -0
- package/assets/ts/components/header/header.component.ts +6 -12
- package/assets/ts/components/marketing/marketing.component.ts +49 -0
- package/assets/ts/dynamic.ts +1 -1
- package/assets/ts/modules/carousel.ts +21 -33
- package/dist/components.es.js +459 -663
- package/dist/components.umd.js +95 -83
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/Carousel/Carousel.vue +18 -103
- package/src/components/Header/Header.vue +1 -3
- package/src/components/Marketing/Marketing.vue +39 -0
- package/src/components/Marketing/README.md +20 -0
- package/src/components/Carousel/Carousel.spec.js +0 -45
package/dist/components.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as
|
|
1
|
+
import { openBlock as m, createElementBlock as h, normalizeClass as L, createElementVNode as f, toDisplayString as $, createCommentVNode as _, Fragment as D, renderList as R, renderSlot as v, withDirectives as P, mergeProps as C, vModelDynamic as W, vModelText as ht, vModelSelect as pt, createTextVNode as bt, resolveComponent as K, createVNode as M, withModifiers as ft } from "vue";
|
|
2
2
|
const y = (e, a) => {
|
|
3
3
|
const t = e.__vccOpts || e;
|
|
4
4
|
for (const [i, s] of a)
|
|
@@ -29,31 +29,31 @@ const y = (e, a) => {
|
|
|
29
29
|
return "brand brand--" + this.id;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
}, yt = ["xlink:href"],
|
|
33
|
-
function
|
|
34
|
-
return
|
|
35
|
-
class:
|
|
32
|
+
}, yt = ["xlink:href"], wt = ["innerHTML"];
|
|
33
|
+
function vt(e, a, t, i, s, o) {
|
|
34
|
+
return m(), h("div", {
|
|
35
|
+
class: L(o.className)
|
|
36
36
|
}, [
|
|
37
|
-
(
|
|
38
|
-
f("title", null, "iam " +
|
|
37
|
+
(m(), h("svg", null, [
|
|
38
|
+
f("title", null, "iam " + $(t.id), 1),
|
|
39
39
|
f("use", {
|
|
40
40
|
"xlink:href": t.path + o.src
|
|
41
41
|
}, null, 8, yt)
|
|
42
42
|
])),
|
|
43
|
-
t.desc ? (
|
|
43
|
+
t.desc ? (m(), h("span", {
|
|
44
44
|
key: 0,
|
|
45
45
|
innerHTML: t.desc
|
|
46
|
-
}, null, 8,
|
|
46
|
+
}, null, 8, wt)) : _("", !0)
|
|
47
47
|
], 2);
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const Li = /* @__PURE__ */ y(gt, [["render", vt]]);
|
|
50
50
|
/*!
|
|
51
|
-
* iamKey v5.1.0-
|
|
51
|
+
* iamKey v5.1.0-beta8
|
|
52
52
|
* Copyright 2022-2023 iamproperty
|
|
53
53
|
*/
|
|
54
54
|
const _t = function(e) {
|
|
55
55
|
return typeof e != "string" ? !1 : !isNaN(e) && !isNaN(parseFloat(e));
|
|
56
|
-
},
|
|
56
|
+
}, xt = (e, a) => String(e).padStart(a, "0"), At = (e) => e.charAt(0).toUpperCase() + e.slice(1), j = (e, a, t) => a.split(/[\.\[\]\'\"]/).filter((i) => i).reduce((i, s) => i ? i[s] : t, e);
|
|
57
57
|
var kt = function(e, a, t, i) {
|
|
58
58
|
function s(o) {
|
|
59
59
|
return o instanceof t ? o : new t(function(n) {
|
|
@@ -105,7 +105,7 @@ const tt = (e) => {
|
|
|
105
105
|
n += 1.7, a = a > n ? a : n;
|
|
106
106
|
}
|
|
107
107
|
}), a;
|
|
108
|
-
},
|
|
108
|
+
}, $t = (e, a) => {
|
|
109
109
|
if (a.classList.contains("table--fullwidth") && !a.hasAttribute("data-expandable") || e.querySelectorAll("thead tr th").length < 4 && !a.hasAttribute("data-expandable"))
|
|
110
110
|
return !1;
|
|
111
111
|
Array.from(e.querySelectorAll("thead tr")).forEach((t, i) => {
|
|
@@ -114,7 +114,7 @@ const tt = (e) => {
|
|
|
114
114
|
const s = t.getAttribute("data-view") === "full" ? "aria-expanded" : "";
|
|
115
115
|
t.insertAdjacentHTML("afterbegin", `<td class="td--fixed td--expand"><button class="btn btn-compact btn-secondary" data-expand-button ${s}>Expand</button></td>`);
|
|
116
116
|
});
|
|
117
|
-
},
|
|
117
|
+
}, St = (e) => {
|
|
118
118
|
e.addEventListener("click", (a) => {
|
|
119
119
|
if (a && a.target instanceof HTMLElement && a.target.closest("[data-expand-button]")) {
|
|
120
120
|
let t = a.target.closest("[data-expand-button]"), i = t.closest("tr");
|
|
@@ -137,12 +137,12 @@ const tt = (e) => {
|
|
|
137
137
|
let n = function(r, p = !1) {
|
|
138
138
|
if (a.classList.contains("processing"))
|
|
139
139
|
return !1;
|
|
140
|
-
if (r.type == "submit" && (a.classList.add("processing"), Array.from(a.querySelectorAll("[data-duplicate]")).forEach((c,
|
|
141
|
-
const g = c.getAttribute("data-duplicate"), b = document.getElementById(g),
|
|
140
|
+
if (r.type == "submit" && (a.classList.add("processing"), Array.from(a.querySelectorAll("[data-duplicate]")).forEach((c, u) => {
|
|
141
|
+
const g = c.getAttribute("data-duplicate"), b = document.getElementById(g), x = document.querySelector(`[for="${g}"] iam-card`);
|
|
142
142
|
if (b.checked != c.checked)
|
|
143
|
-
if (
|
|
144
|
-
let
|
|
145
|
-
|
|
143
|
+
if (x) {
|
|
144
|
+
let S = new Event("click");
|
|
145
|
+
x.dispatchEvent(S);
|
|
146
146
|
} else
|
|
147
147
|
b.checked = c.checked;
|
|
148
148
|
}), a.classList.remove("processing")), a.hasAttribute("data-ajax")) {
|
|
@@ -152,11 +152,11 @@ const tt = (e) => {
|
|
|
152
152
|
}
|
|
153
153
|
nt(e, a, t, i);
|
|
154
154
|
} else
|
|
155
|
-
a.hasAttribute("data-submit") ? a.submit() : (
|
|
155
|
+
a.hasAttribute("data-submit") ? a.submit() : (G(e, a, i), B(e, a));
|
|
156
156
|
if (a.hasAttribute("data-ajax-post")) {
|
|
157
|
-
let c = new FormData(a),
|
|
157
|
+
let c = new FormData(a), u = new URLSearchParams(c).toString();
|
|
158
158
|
const g = new XMLHttpRequest();
|
|
159
|
-
g.open("GET", `${window.location.href}?ajax=true&${
|
|
159
|
+
g.open("GET", `${window.location.href}?ajax=true&${u}`), g.send();
|
|
160
160
|
}
|
|
161
161
|
};
|
|
162
162
|
a.addEventListener("keyup", (r) => {
|
|
@@ -164,10 +164,10 @@ const tt = (e) => {
|
|
|
164
164
|
n(r);
|
|
165
165
|
}, 500));
|
|
166
166
|
}), a.addEventListener("change", (r) => {
|
|
167
|
-
clearTimeout(o), r && r.target instanceof HTMLElement && r.target.closest("[data-sort]") && (a.hasAttribute("data-submit") || Q(e, a, s), n(r)), r && r.target instanceof HTMLElement && r.target.closest("[data-search]") && n(r), r && r.target instanceof HTMLElement && r.target.closest("[data-filter][data-no-ajax]") ? (
|
|
167
|
+
clearTimeout(o), r && r.target instanceof HTMLElement && r.target.closest("[data-sort]") && (a.hasAttribute("data-submit") || Q(e, a, s), n(r)), r && r.target instanceof HTMLElement && r.target.closest("[data-search]") && n(r), r && r.target instanceof HTMLElement && r.target.closest("[data-filter][data-no-ajax]") ? (G(e, a, i), B(e, a)) : (r && r.target instanceof HTMLElement && r.target.closest("[data-filter]") && r.target.closest("form .dialog__wrapper > dialog") || r && r.target instanceof HTMLElement && r.target.closest("[data-filter]") && !r.target.closest("form dialog")) && n(r), r && r.target instanceof HTMLElement && r.target.closest("[data-show]") && n(r), r && r.target instanceof HTMLElement && r.target.closest("[data-mimic]") && n(r);
|
|
168
168
|
}), a.addEventListener("click", (r) => {
|
|
169
169
|
if (clearTimeout(o), r && r.target instanceof HTMLElement && r.target.closest('dialog button:not([type="button"])') && r.target.closest('dialog button:not([type="button"])').closest("dialog").close(), r && r.target instanceof HTMLElement && r.target.closest(".dialog__close") && (r.preventDefault(), r.stopPropagation()), r && r.target instanceof HTMLElement && r.target.closest("[data-clear]")) {
|
|
170
|
-
a.classList.add("processing"), Array.from(a.querySelectorAll(".applied-filters")).forEach((c,
|
|
170
|
+
a.classList.add("processing"), Array.from(a.querySelectorAll(".applied-filters")).forEach((c, u) => {
|
|
171
171
|
c.innerHTML = "";
|
|
172
172
|
});
|
|
173
173
|
let p = a.elements;
|
|
@@ -181,12 +181,12 @@ const tt = (e) => {
|
|
|
181
181
|
case "radio":
|
|
182
182
|
case "checkbox":
|
|
183
183
|
if (p[c].checked) {
|
|
184
|
-
let
|
|
184
|
+
let u = p[c], g = u.getAttribute("id"), b = document.querySelector(`[for="${g}"`);
|
|
185
185
|
if (b.querySelector("iam-card")) {
|
|
186
|
-
let
|
|
187
|
-
|
|
186
|
+
let x = b.querySelector("iam-card"), S = new Event("click");
|
|
187
|
+
x.dispatchEvent(S);
|
|
188
188
|
}
|
|
189
|
-
|
|
189
|
+
u.checked = !1;
|
|
190
190
|
}
|
|
191
191
|
break;
|
|
192
192
|
case "select-one":
|
|
@@ -206,29 +206,29 @@ const tt = (e) => {
|
|
|
206
206
|
let l = [], d = [];
|
|
207
207
|
Array.from(a.querySelectorAll("[data-mimic]")).forEach((r, p) => {
|
|
208
208
|
let c = r.getAttribute("data-mimic");
|
|
209
|
-
Array.from(document.querySelectorAll(`[name="${c}"]`)).forEach((
|
|
210
|
-
let b =
|
|
209
|
+
Array.from(document.querySelectorAll(`[name="${c}"]`)).forEach((u, g) => {
|
|
210
|
+
let b = u.closest("form");
|
|
211
211
|
l.includes(b) || l.push(b), d.includes(c) || d.push(c);
|
|
212
212
|
});
|
|
213
213
|
}), l.forEach((r, p) => {
|
|
214
214
|
const c = function() {
|
|
215
|
-
let
|
|
216
|
-
for (const [b,
|
|
217
|
-
document.querySelector(`[data-mimic="${b}"]`) && !
|
|
218
|
-
for (const b of
|
|
219
|
-
const
|
|
220
|
-
a.dispatchEvent(
|
|
215
|
+
let u = [], g = new FormData(r);
|
|
216
|
+
for (const [b, x] of g)
|
|
217
|
+
document.querySelector(`[data-mimic="${b}"]`) && !u.includes(b) ? (u.push(b), document.querySelector(`[data-mimic="${b}"]`).value = x) : document.querySelector(`[data-mimic="${b}"]`) && (document.querySelector(`[data-mimic="${b}"]`).value += "," + x);
|
|
218
|
+
for (const b of u) {
|
|
219
|
+
const x = new Event("force");
|
|
220
|
+
a.dispatchEvent(x);
|
|
221
221
|
}
|
|
222
222
|
for (const b of d)
|
|
223
223
|
if (!g.has(b) && r.querySelector(`[name="${b}"]`)) {
|
|
224
224
|
document.querySelector(`[data-mimic="${b}"]`).value = "";
|
|
225
|
-
const
|
|
226
|
-
a.dispatchEvent(
|
|
225
|
+
const x = new Event("force");
|
|
226
|
+
a.dispatchEvent(x);
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
|
-
r.addEventListener("force", (
|
|
229
|
+
r.addEventListener("force", (u) => {
|
|
230
230
|
c();
|
|
231
|
-
}), r.addEventListener("change", (
|
|
231
|
+
}), r.addEventListener("change", (u) => {
|
|
232
232
|
c();
|
|
233
233
|
});
|
|
234
234
|
});
|
|
@@ -241,17 +241,17 @@ const tt = (e) => {
|
|
|
241
241
|
let r = [];
|
|
242
242
|
["asc", "desc", "descending"].includes(l) || (r = l.split(","));
|
|
243
243
|
let p = [];
|
|
244
|
-
Array.from(i.querySelectorAll("tr")).forEach((
|
|
245
|
-
let b =
|
|
246
|
-
|
|
247
|
-
const
|
|
248
|
-
p.push(
|
|
249
|
-
}), p.sort((
|
|
244
|
+
Array.from(i.querySelectorAll("tr")).forEach((u, g) => {
|
|
245
|
+
let b = u.querySelector('td[data-label="' + n + '"], th[data-label="' + n + '"]').textContent.trim();
|
|
246
|
+
u.querySelector('[data-label="' + n + '"] .td__content') && (b = u.querySelector('[data-label="' + n + '"] .td__content').textContent.trim()), r.length && r.includes(b) && (b = r.indexOf(b)), _t(b) && (b = xt(b, 10)), d && d == "date" && (b = new Date(b));
|
|
247
|
+
const x = { index: b, row: u };
|
|
248
|
+
p.push(x);
|
|
249
|
+
}), p.sort((u, g) => u.index > g.index ? 1 : -1), (l == "descending" || l == "desc") && (p = p.reverse());
|
|
250
250
|
let c = "";
|
|
251
|
-
p.forEach((
|
|
252
|
-
c +=
|
|
251
|
+
p.forEach((u, g) => {
|
|
252
|
+
c += u.row.outerHTML;
|
|
253
253
|
}), i.innerHTML = c;
|
|
254
|
-
},
|
|
254
|
+
}, G = (e, a, t) => {
|
|
255
255
|
e.classList.remove("table--filtered");
|
|
256
256
|
let i = it(a), s = [], o = 0, n = a.querySelector("[data-pagination]") ? parseInt(a.querySelector("[data-pagination]").value) : 1, l = a.querySelector("[data-show]") ? parseInt(a.querySelector("[data-show]").value) : 15;
|
|
257
257
|
if (Array.from(e.querySelectorAll("tbody tr")).forEach((r, p) => {
|
|
@@ -272,47 +272,47 @@ const tt = (e) => {
|
|
|
272
272
|
r.innerHTML += `(${d})`, r.parentNode.classList.add("hover");
|
|
273
273
|
}), e.classList.add("table--filtered");
|
|
274
274
|
for (const [r, p] of Object.entries(i))
|
|
275
|
-
Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).forEach((c,
|
|
275
|
+
Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).forEach((c, u) => {
|
|
276
276
|
let g = !1;
|
|
277
|
-
p.forEach((b,
|
|
278
|
-
let
|
|
277
|
+
p.forEach((b, x) => {
|
|
278
|
+
let S = c.querySelector(`[data-label="${r}"]`);
|
|
279
279
|
if (b && b == "$today")
|
|
280
280
|
b = Y("date", /* @__PURE__ */ new Date());
|
|
281
281
|
else if (b && b == "$yesterday") {
|
|
282
|
-
let
|
|
283
|
-
|
|
282
|
+
let A = /* @__PURE__ */ new Date();
|
|
283
|
+
A.setDate(A.getDate() - 1), b = Y("date", A);
|
|
284
284
|
} else if (b && (b == "$thisWeek" || b == "$lastWeek")) {
|
|
285
|
-
let
|
|
286
|
-
if (
|
|
287
|
-
g = q >=
|
|
285
|
+
let A = /* @__PURE__ */ new Date(), k = new Date(A.setDate(A.getDate() - (A.getDay() - 1))), w = new Date(A.setDate(A.getDate() - A.getDay() + 7)), q = new Date(S.textContent.toLowerCase());
|
|
286
|
+
if (A.setHours(0, 0, 0, 0), k.setHours(0, 0, 0, 0), w.setHours(0, 0, 0, 0), q.setHours(0, 0, 0, 0), b == "$thisWeek")
|
|
287
|
+
g = q >= k && q <= w;
|
|
288
288
|
else {
|
|
289
|
-
let E = new Date(
|
|
289
|
+
let E = new Date(k.setDate(k.getDate() - 7)), z = new Date(w.setDate(w.getDate() - 7));
|
|
290
290
|
E.setHours(0, 0, 0, 0), z.setHours(0, 0, 0, 0), g = q >= E && q <= z;
|
|
291
291
|
}
|
|
292
292
|
} else if (b && b == "$thisMonth") {
|
|
293
|
-
let
|
|
294
|
-
var
|
|
295
|
-
let q = new Date(
|
|
296
|
-
|
|
293
|
+
let A = /* @__PURE__ */ new Date(), k = A.getFullYear(), w = A.getMonth();
|
|
294
|
+
var T = new Date(k, w, 1), F = new Date(k, w + 1, 0);
|
|
295
|
+
let q = new Date(S.textContent.toLowerCase());
|
|
296
|
+
T.setHours(0, 0, 0, 0), F.setHours(0, 0, 0, 0), q.setHours(0, 0, 0, 0), g = q >= T && q <= F;
|
|
297
297
|
} else if (b && b == "$lastMonth") {
|
|
298
|
-
let
|
|
299
|
-
var I = new Date(
|
|
300
|
-
let q = new Date(
|
|
301
|
-
I.setHours(0, 0, 0, 0),
|
|
298
|
+
let A = /* @__PURE__ */ new Date(), k = A.getFullYear(), w = A.getMonth();
|
|
299
|
+
var I = new Date(k, w - 1, 1), H = new Date(k, w, 0);
|
|
300
|
+
let q = new Date(S.textContent.toLowerCase());
|
|
301
|
+
I.setHours(0, 0, 0, 0), H.setHours(0, 0, 0, 0), q.setHours(0, 0, 0, 0), g = q >= I && q <= H;
|
|
302
302
|
}
|
|
303
|
-
|
|
303
|
+
S && S.textContent.toLowerCase().includes(b.toLowerCase()) && (g = !0);
|
|
304
304
|
}), g || (c.classList.add("filtered"), c.setAttribute("data-filtered-by", r));
|
|
305
305
|
});
|
|
306
306
|
Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).forEach((r, p) => {
|
|
307
307
|
let c = !(s.length > 0 && s[0].value.length >= 3);
|
|
308
|
-
s.forEach((
|
|
309
|
-
let b = r.querySelector(`[data-label="${
|
|
310
|
-
b &&
|
|
308
|
+
s.forEach((u, g) => {
|
|
309
|
+
let b = r.querySelector(`[data-label="${u.column}"]`);
|
|
310
|
+
b && u.value.length >= 3 && b.textContent.toLowerCase().includes(u.value.toLowerCase()) && (c = !0);
|
|
311
311
|
}), c || r.classList.add("filtered");
|
|
312
312
|
}), Array.from(e.querySelectorAll("tbody tr:not(.filtered")).forEach((r, p) => {
|
|
313
313
|
o++, r.classList.add("filtered--matched"), Math.ceil(o / l) == parseInt(n) && r.classList.add("filtered--show");
|
|
314
314
|
}), t && (t.setAttribute("data-total", o), t.setAttribute("data-show", l), t.setAttribute("data-page", n));
|
|
315
|
-
},
|
|
315
|
+
}, B = (e, a, t) => {
|
|
316
316
|
Array.from(a.querySelectorAll("[data-query]")).forEach((i, s) => {
|
|
317
317
|
let o = i.getAttribute("data-query"), n = 0;
|
|
318
318
|
if (o == "total")
|
|
@@ -329,8 +329,8 @@ const tt = (e) => {
|
|
|
329
329
|
n = Array.from(e.querySelectorAll("tbody tr:not(.filtered)")).filter(function(d) {
|
|
330
330
|
let r = !0;
|
|
331
331
|
for (const [p, c] of Object.entries(l)) {
|
|
332
|
-
let
|
|
333
|
-
(!d.querySelector(`td[data-label="${
|
|
332
|
+
let u = c.split(" == ");
|
|
333
|
+
(!d.querySelector(`td[data-label="${u[0]}"]`) || d.querySelector(`td[data-label="${u[0]}"]`).textContent != `${u[1]}`) && (r = !1);
|
|
334
334
|
}
|
|
335
335
|
return r;
|
|
336
336
|
}).length;
|
|
@@ -377,7 +377,7 @@ const tt = (e) => {
|
|
|
377
377
|
var r = window.URL.createObjectURL(l);
|
|
378
378
|
d.href = r, d.style.display = "none", document.body.appendChild(d), d.click(), document.body.removeChild(d);
|
|
379
379
|
}, at = function(e, a, t, i) {
|
|
380
|
-
if (tt(e),
|
|
380
|
+
if (tt(e), $t(e, i), B(e, a, i), i && i.classList.contains("table--cta")) {
|
|
381
381
|
let s = function() {
|
|
382
382
|
Array.from(e.querySelectorAll("tr")).forEach((n, l) => {
|
|
383
383
|
let d = n.offsetHeight;
|
|
@@ -400,54 +400,54 @@ const tt = (e) => {
|
|
|
400
400
|
let s = new FormData(a), o = new URLSearchParams(s).toString(), n = e.querySelectorAll("thead tr th:not(.expand-button-heading)"), l = e.querySelector("tbody"), d = a.getAttribute("data-ajax");
|
|
401
401
|
i.classList.add("table--loading");
|
|
402
402
|
let r = it(a);
|
|
403
|
-
Array.from(a.querySelectorAll("[data-filter-count]")).forEach((
|
|
404
|
-
|
|
403
|
+
Array.from(a.querySelectorAll("[data-filter-count]")).forEach((u, g) => {
|
|
404
|
+
u.innerHTML = "", u.parentNode.classList.remove("hover");
|
|
405
405
|
});
|
|
406
406
|
let p = 0;
|
|
407
|
-
Object.values(r).forEach((
|
|
408
|
-
typeof
|
|
409
|
-
}), p && Array.from(a.querySelectorAll("[data-filter-count]")).forEach((
|
|
410
|
-
|
|
407
|
+
Object.values(r).forEach((u, g) => {
|
|
408
|
+
typeof u == "object" && Object.values(u).length ? p += Object.values(u).length : p++;
|
|
409
|
+
}), p && Array.from(a.querySelectorAll("[data-filter-count]")).forEach((u, g) => {
|
|
410
|
+
u.innerHTML += `(${p})`, u.parentNode.classList.add("hover");
|
|
411
411
|
}), window.controller || (window.controller = []), window.controller[d] && window.controller[d].abort(), window.controller[d] = new AbortController();
|
|
412
412
|
const { signal: c } = controller[d];
|
|
413
413
|
t.setAttribute("data-loading", "true"), a.classList.add("processing");
|
|
414
414
|
try {
|
|
415
|
-
yield fetch(d + "?" + o, { signal: c, method: "get", credentials: "same-origin", headers: new Headers({ "Content-Type": "application/json", Accept: "application/json", "X-Requested-With": "XMLHttpRequest" }) }).then((
|
|
416
|
-
let g = a.hasAttribute("data-schema") ? a.getAttribute("data-schema") : "data", b = a.hasAttribute("data-schema-total") ? a.getAttribute("data-schema-total") : "meta.total",
|
|
417
|
-
F ? (l.innerHTML = "", F.forEach((
|
|
418
|
-
var
|
|
419
|
-
n.forEach((
|
|
415
|
+
yield fetch(d + "?" + o, { signal: c, method: "get", credentials: "same-origin", headers: new Headers({ "Content-Type": "application/json", Accept: "application/json", "X-Requested-With": "XMLHttpRequest" }) }).then((u) => u.json()).then((u) => {
|
|
416
|
+
let g = a.hasAttribute("data-schema") ? a.getAttribute("data-schema") : "data", b = a.hasAttribute("data-schema-total") ? a.getAttribute("data-schema-total") : "meta.total", x = a.hasAttribute("data-schema-page") ? a.getAttribute("data-schema-page") : "meta.current_page", S = j(u, b, 15), T = j(u, x, 1), F = j(u, g), I = i.hasAttribute("data-empty-msg") ? i.getAttribute("data-empty-msg") : "No results found";
|
|
417
|
+
F ? (l.innerHTML = "", F.forEach((H, A) => {
|
|
418
|
+
var k = document.createElement("tr");
|
|
419
|
+
n.forEach((w, q) => {
|
|
420
420
|
let E = "";
|
|
421
421
|
var z = document.createElement("td");
|
|
422
|
-
if (z.setAttribute("data-label",
|
|
423
|
-
var
|
|
424
|
-
E =
|
|
425
|
-
return
|
|
422
|
+
if (z.setAttribute("data-label", w.innerText), w.getAttribute("data-output")) {
|
|
423
|
+
var U = w.getAttribute("data-output");
|
|
424
|
+
E = U.replace(new RegExp(/{(.*?)}/, "gm"), function(dt) {
|
|
425
|
+
return j(H, dt.replace("{", "").replace("}", ""));
|
|
426
426
|
});
|
|
427
427
|
}
|
|
428
|
-
if (
|
|
429
|
-
var
|
|
430
|
-
let ct =
|
|
431
|
-
E = "", ct.forEach((J,
|
|
432
|
-
let ut =
|
|
433
|
-
if (
|
|
434
|
-
const
|
|
435
|
-
O = ut.replace(`{${
|
|
428
|
+
if (w.hasAttribute("data-output-array")) {
|
|
429
|
+
var U = w.getAttribute("data-output");
|
|
430
|
+
let ct = j(H, U.replace("{", "").replace("}", ""));
|
|
431
|
+
E = "", ct.forEach((J, Ai) => {
|
|
432
|
+
let ut = w.getAttribute("data-output-array"), O = "";
|
|
433
|
+
if (w.hasAttribute("data-output-array-property") && w.hasAttribute("data-output-array-transform")) {
|
|
434
|
+
const V = j(J, w.getAttribute("data-output-array-property")), mt = JSON.parse(w.getAttribute("data-output-array-transform"))[V];
|
|
435
|
+
O = ut.replace(`{${w.getAttribute("data-output-array-property")}}`, mt);
|
|
436
436
|
}
|
|
437
|
-
O = O.replace(new RegExp(/{(.*?)}/, "gm"), function(
|
|
438
|
-
return
|
|
437
|
+
O = O.replace(new RegExp(/{(.*?)}/, "gm"), function(V) {
|
|
438
|
+
return j(J, V.replace("{", "").replace("}", ""));
|
|
439
439
|
}), E += O;
|
|
440
440
|
});
|
|
441
441
|
}
|
|
442
|
-
|
|
443
|
-
}), l.appendChild(
|
|
444
|
-
}), et(e, a), i.setAttribute("data-total", parseInt(
|
|
445
|
-
let
|
|
446
|
-
|
|
447
|
-
}), parseInt(
|
|
442
|
+
w.hasAttribute("data-transform") && (E = JSON.parse(w.getAttribute("data-transform"))[E], !E && w.hasAttribute("data-default") && (E = w.getAttribute("data-default"))), z.innerHTML = E, k.appendChild(z);
|
|
443
|
+
}), l.appendChild(k);
|
|
444
|
+
}), et(e, a), i.setAttribute("data-total", parseInt(S)), i.setAttribute("data-page", parseInt(T)), at(e, a, t, i), Array.from(a.querySelectorAll("[data-ajax-query]")).forEach((H, A) => {
|
|
445
|
+
let k = j(u, H.getAttribute("data-ajax-query"), "");
|
|
446
|
+
H.hasAttribute("data-total") ? H.setAttribute("data-total", k) : H.innerHTML = k;
|
|
447
|
+
}), parseInt(S) == 0 && (l.innerHTML = `<tr><td colspan="100%"><span>${I}</span></td></tr>`), i.classList.remove("table--loading"), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Ajax table loaded", url: d, formData: o })) : l.innerHTML = '<tr><td colspan="100%"><span>Error loading table</span></td></tr>', t.removeAttribute("data-loading"), a.classList.remove("processing");
|
|
448
448
|
});
|
|
449
|
-
} catch (
|
|
450
|
-
console.log(
|
|
449
|
+
} catch (u) {
|
|
450
|
+
console.log(u);
|
|
451
451
|
}
|
|
452
452
|
});
|
|
453
453
|
}, Y = (e, a) => {
|
|
@@ -457,7 +457,7 @@ const tt = (e) => {
|
|
|
457
457
|
case "date":
|
|
458
458
|
return new Date(a).toLocaleDateString("en-gb", { year: "2-digit", month: "long", day: "numeric" });
|
|
459
459
|
case "capitalise":
|
|
460
|
-
return a =
|
|
460
|
+
return a = At(a);
|
|
461
461
|
}
|
|
462
462
|
};
|
|
463
463
|
class Mt extends HTMLElement {
|
|
@@ -496,7 +496,7 @@ class Mt extends HTMLElement {
|
|
|
496
496
|
const a = new URLSearchParams(window.location.search);
|
|
497
497
|
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", a.has("show") ? a.get("show") : 15), this.hasAttribute("data-increment") || this.setAttribute("data-increment", this.getAttribute("data-show"));
|
|
498
498
|
let t = this.classList.toString();
|
|
499
|
-
if (t = t.replace("table--cta", ""), t = t.replace("table--loading", ""), this.shadowRoot.querySelector(".table__wrapper").className += ` ${t}`, this.querySelector(".actionbar__sticky") && this.shadowRoot.querySelector(".table__wrapper").classList.add("has-actionbar"), this.table = this.querySelector("table"), this.savedTableBody = this.table.querySelector("tbody").cloneNode(!0), this.pagination = this.shadowRoot.querySelector("iam-pagination"), this.pagination.setAttribute("data-total", this.getAttribute("data-total")), this.pagination.setAttribute("data-page", this.getAttribute("data-page")), this.pagination.setAttribute("data-show", this.getAttribute("data-show")), this.pagination.setAttribute("data-increment", this.getAttribute("data-show")), this.hasAttribute("data-page-jump") && this.pagination.setAttribute("data-page-jump", "true"), this.hasAttribute("data-per-page") && this.pagination.setAttribute("data-per-page", "true"), this.hasAttribute("data-item-count") && this.pagination.setAttribute("data-item-count", "true"), this.hasAttribute("data-loading") && this.pagination.setAttribute("data-loading", "true"), this.classList.contains("table--fullwidth") && this.pagination.setAttribute("data-minimal", "true"), 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"), et(this.table, this.form), this.form.querySelector("[data-pagination]") || (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" />`),
|
|
499
|
+
if (t = t.replace("table--cta", ""), t = t.replace("table--loading", ""), this.shadowRoot.querySelector(".table__wrapper").className += ` ${t}`, this.querySelector(".actionbar__sticky") && this.shadowRoot.querySelector(".table__wrapper").classList.add("has-actionbar"), this.table = this.querySelector("table"), this.savedTableBody = this.table.querySelector("tbody").cloneNode(!0), this.pagination = this.shadowRoot.querySelector("iam-pagination"), this.pagination.setAttribute("data-total", this.getAttribute("data-total")), this.pagination.setAttribute("data-page", this.getAttribute("data-page")), this.pagination.setAttribute("data-show", this.getAttribute("data-show")), this.pagination.setAttribute("data-increment", this.getAttribute("data-show")), this.hasAttribute("data-page-jump") && this.pagination.setAttribute("data-page-jump", "true"), this.hasAttribute("data-per-page") && this.pagination.setAttribute("data-per-page", "true"), this.hasAttribute("data-item-count") && this.pagination.setAttribute("data-item-count", "true"), this.hasAttribute("data-loading") && this.pagination.setAttribute("data-loading", "true"), this.classList.contains("table--fullwidth") && this.pagination.setAttribute("data-minimal", "true"), 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"), et(this.table, this.form), this.form.querySelector("[data-pagination]") || (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" />`), St(this.table), qt(this.table, this.form, this.pagination, this, this.savedTableBody), Et(this.table, this.form, this.pagination, this), Tt(this.shadowRoot.querySelector("[data-export]"), this.table), this.form.getAttribute("data-ajax"))
|
|
500
500
|
nt(this.table, this.form, this.pagination, this);
|
|
501
501
|
else {
|
|
502
502
|
let i = function(o = 1) {
|
|
@@ -530,7 +530,7 @@ class Mt extends HTMLElement {
|
|
|
530
530
|
}
|
|
531
531
|
}), s != -1 && (this.table.querySelector(`thead tr th:nth-child(${s + 1})`).classList.add("th--fixed"), Array.from(this.table.querySelectorAll(`tbody tr td:nth-child(${s + 1})`)).forEach((o, n) => {
|
|
532
532
|
o.classList.add("td--fixed");
|
|
533
|
-
})), at(this.table, this.form, this.pagination, this),
|
|
533
|
+
})), at(this.table, this.form, this.pagination, this), G(this.table, this.form, this), B(this.table, this.form);
|
|
534
534
|
}
|
|
535
535
|
this.shadowRoot.querySelector(".table__wrapper").addEventListener("scroll", (i) => {
|
|
536
536
|
this.table.querySelector("dialog[open]") && (this.table.querySelector("dialog[open]").close(), this.table.querySelector(".dialog__wrapper > button.active").classList.remove("active"));
|
|
@@ -557,7 +557,7 @@ class Mt extends HTMLElement {
|
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
/*!
|
|
560
|
-
* iamKey v5.1.0-
|
|
560
|
+
* iamKey v5.1.0-beta8
|
|
561
561
|
* Copyright 2022-2023 iamproperty
|
|
562
562
|
*/
|
|
563
563
|
class ot extends HTMLElement {
|
|
@@ -622,16 +622,16 @@ class ot extends HTMLElement {
|
|
|
622
622
|
});
|
|
623
623
|
}
|
|
624
624
|
setup() {
|
|
625
|
-
const a = this.shadowRoot.querySelector(".pagination"), t = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), s = this.shadowRoot.querySelector(".next"), o = this.shadowRoot.querySelector(".item-count"), n = this.shadowRoot.querySelector(".per-page select"), l = this.shadowRoot.querySelector(".total-pages"), d = parseInt(this.getAttribute("data-page")), r = parseInt(this.getAttribute("data-total")), p = parseInt(this.getAttribute("data-show")), c = parseInt(this.getAttribute("data-increment")),
|
|
625
|
+
const a = this.shadowRoot.querySelector(".pagination"), t = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), s = this.shadowRoot.querySelector(".next"), o = this.shadowRoot.querySelector(".item-count"), n = this.shadowRoot.querySelector(".per-page select"), l = this.shadowRoot.querySelector(".total-pages"), d = parseInt(this.getAttribute("data-page")), r = parseInt(this.getAttribute("data-total")), p = parseInt(this.getAttribute("data-show")), c = parseInt(this.getAttribute("data-increment")), u = Math.ceil(r / c);
|
|
626
626
|
r > p && a.classList.remove("d-none");
|
|
627
627
|
let g = "";
|
|
628
|
-
for (let
|
|
629
|
-
g += `<option value="${
|
|
630
|
-
t.innerHTML = g, l.innerHTML = `of ${
|
|
631
|
-
let b = d == 1 ? 1 : (d - 1) * p + 1,
|
|
632
|
-
o.innerHTML = `${b} - ${
|
|
633
|
-
const
|
|
634
|
-
c && n.value != c &&
|
|
628
|
+
for (let T = 1; T <= u; T++)
|
|
629
|
+
g += `<option value="${T}" ${T == d ? "selected" : ""}>${T}</option>`;
|
|
630
|
+
t.innerHTML = g, l.innerHTML = `of ${u}`, d == u ? s.setAttribute("disabled", "disabled") : s.removeAttribute("disabled"), d == 1 ? i.setAttribute("disabled", "disabled") : i.removeAttribute("disabled");
|
|
631
|
+
let b = d == 1 ? 1 : (d - 1) * p + 1, x = d == 1 ? p : d * p;
|
|
632
|
+
o.innerHTML = `${b} - ${x > r ? r : x} of ${r} items`;
|
|
633
|
+
const S = [15, 25, 40, 50];
|
|
634
|
+
c && n.value != c && !S.includes(c) && (n.innerHTML = `<option value="${c}">${c}</option>
|
|
635
635
|
<option value="${c * 2}">${c * 2}</option>
|
|
636
636
|
<option value="${c * 3}">${c * 3}</option>
|
|
637
637
|
<option value="${c * 4}">${c * 4}</option>`), n.value = c;
|
|
@@ -660,9 +660,9 @@ class ot extends HTMLElement {
|
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
}
|
|
663
|
-
const jt = (e) => e.charAt(0).toUpperCase() + e.slice(1), Ct = (e) => e.replace(/_/g, " "),
|
|
664
|
-
return e = e.toLowerCase(), e =
|
|
665
|
-
},
|
|
663
|
+
const jt = (e) => e.charAt(0).toUpperCase() + e.slice(1), Ct = (e) => e.replace(/_/g, " "), Dt = (e) => e.replace(/ /g, "_"), Rt = function(e) {
|
|
664
|
+
return e = e.toLowerCase(), e = Dt(e), e = e.replace(/\W/g, ""), e;
|
|
665
|
+
}, Nt = {
|
|
666
666
|
name: "Table",
|
|
667
667
|
props: {
|
|
668
668
|
items: {
|
|
@@ -688,30 +688,30 @@ const jt = (e) => e.charAt(0).toUpperCase() + e.slice(1), Ct = (e) => e.replace(
|
|
|
688
688
|
}
|
|
689
689
|
}, zt = { key: 0 }, Ft = { key: 0 }, Pt = ["data-row-id"], It = ["innerHTML"];
|
|
690
690
|
function Ot(e, a, t, i, s, o) {
|
|
691
|
-
return
|
|
692
|
-
t.fields ? (
|
|
691
|
+
return m(), h("iam-table", null, [
|
|
692
|
+
t.fields ? (m(), h("table", zt, [
|
|
693
693
|
f("thead", null, [
|
|
694
694
|
f("tr", null, [
|
|
695
|
-
(
|
|
695
|
+
(m(!0), h(D, null, R(t.fields, (n) => (m(), h("th", {
|
|
696
696
|
key: n.key
|
|
697
|
-
},
|
|
697
|
+
}, $(o.cellHeading(n.key)), 1))), 128))
|
|
698
698
|
])
|
|
699
699
|
]),
|
|
700
|
-
t.items ? (
|
|
701
|
-
(
|
|
700
|
+
t.items ? (m(), h("tbody", Ft, [
|
|
701
|
+
(m(!0), h(D, null, R(t.items, (n, l) => (m(), h("tr", {
|
|
702
702
|
key: l,
|
|
703
703
|
"data-row-id": n.rowid
|
|
704
704
|
}, [
|
|
705
|
-
(
|
|
705
|
+
(m(!0), h(D, null, R(Object.fromEntries(Object.entries(n).filter(([d]) => d !== "rowid")), (d, r) => (m(), h("td", {
|
|
706
706
|
key: r,
|
|
707
707
|
innerHTML: d
|
|
708
708
|
}, null, 8, It))), 128))
|
|
709
709
|
], 8, Pt))), 128))
|
|
710
|
-
])) :
|
|
711
|
-
])) :
|
|
710
|
+
])) : _("", !0)
|
|
711
|
+
])) : v(e.$slots, "default", { key: 1 })
|
|
712
712
|
]);
|
|
713
713
|
}
|
|
714
|
-
const rt = /* @__PURE__ */ y(
|
|
714
|
+
const rt = /* @__PURE__ */ y(Nt, [["render", Ot]]), Bt = {
|
|
715
715
|
name: "Input",
|
|
716
716
|
props: {
|
|
717
717
|
value: {
|
|
@@ -899,7 +899,7 @@ const rt = /* @__PURE__ */ y(Dt, [["render", Ot]]), Bt = {
|
|
|
899
899
|
this.$emit("bus");
|
|
900
900
|
}
|
|
901
901
|
}
|
|
902
|
-
}, Ut = ["for", "innerHTML", "title"], Vt = ["innerHTML"], Wt = ["innerHTML"],
|
|
902
|
+
}, Ut = ["for", "innerHTML", "title"], Vt = ["innerHTML"], Wt = ["innerHTML"], Kt = ["type", "name", "id", "pattern", "list"], Gt = ["type", "name", "id", "pattern"], Yt = {
|
|
903
903
|
key: 5,
|
|
904
904
|
class: "input-group"
|
|
905
905
|
}, Xt = ["type", "name", "id", "pattern", "list"], Jt = { class: "input-group-text border-0 col-2 col-sm-1 px-0" }, Qt = {
|
|
@@ -907,30 +907,30 @@ const rt = /* @__PURE__ */ y(Dt, [["render", Ot]]), Bt = {
|
|
|
907
907
|
class: "input-group"
|
|
908
908
|
}, Zt = ["type", "name", "id", "pattern", "list"], te = { class: "input-group-text flex-fill" }, ee = ["type", "name", "id", "pattern"], ae = ["value"], ie = ["type", "name", "id"], ne = ["for", "innerHTML"], oe = ["type", "name", "id"], re = ["for", "innerHTML"], se = ["innerHTML"], le = ["id"], de = ["value"];
|
|
909
909
|
function ce(e, a, t, i, s, o) {
|
|
910
|
-
return
|
|
911
|
-
class:
|
|
910
|
+
return m(), h("div", {
|
|
911
|
+
class: L(o.wrapperClass()),
|
|
912
912
|
ref: "wrapper"
|
|
913
913
|
}, [
|
|
914
|
-
o.needsLabel() ? (
|
|
914
|
+
o.needsLabel() ? (m(), h("label", {
|
|
915
915
|
key: 0,
|
|
916
|
-
class:
|
|
916
|
+
class: L(`form-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
|
|
917
917
|
for: t.id,
|
|
918
918
|
innerHTML: o.displayLabel(),
|
|
919
919
|
title: t.title
|
|
920
|
-
}, null, 10, Ut)) :
|
|
921
|
-
t.prefix ? (
|
|
920
|
+
}, null, 10, Ut)) : _("", !0),
|
|
921
|
+
t.prefix ? (m(), h("span", {
|
|
922
922
|
key: 1,
|
|
923
|
-
class:
|
|
923
|
+
class: L(`prefix ${this.prefixClass} ${t.size ? `prefix-${t.size}` : ""}`),
|
|
924
924
|
innerHTML: t.prefix,
|
|
925
925
|
role: "presentation"
|
|
926
|
-
}, null, 10, Vt)) :
|
|
927
|
-
t.suffix ? (
|
|
926
|
+
}, null, 10, Vt)) : _("", !0),
|
|
927
|
+
t.suffix ? (m(), h("span", {
|
|
928
928
|
key: 2,
|
|
929
|
-
class:
|
|
929
|
+
class: L(`suffix ${this.suffixClass} ${t.size ? `suffix-${t.size}` : ""}`),
|
|
930
930
|
innerHTML: t.suffix,
|
|
931
931
|
role: "presentation"
|
|
932
|
-
}, null, 10, Wt)) :
|
|
933
|
-
o.isInput() ? P((
|
|
932
|
+
}, null, 10, Wt)) : _("", !0),
|
|
933
|
+
o.isInput() ? P((m(), h("input", C({
|
|
934
934
|
key: 3,
|
|
935
935
|
"onUpdate:modelValue": a[0] || (a[0] = (n) => o.inputVal = n),
|
|
936
936
|
class: `form-control${t.size ? ` form-control-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
@@ -941,10 +941,10 @@ function ce(e, a, t, i, s, o) {
|
|
|
941
941
|
list: o.hasOptions()
|
|
942
942
|
}, e.$attrs, {
|
|
943
943
|
onKeyup: a[1] || (a[1] = (...n) => o.inputKeyup && o.inputKeyup(...n))
|
|
944
|
-
}), null, 16,
|
|
945
|
-
[
|
|
946
|
-
]) :
|
|
947
|
-
t.type == "textarea" ? P((
|
|
944
|
+
}), null, 16, Kt)), [
|
|
945
|
+
[W, o.inputVal]
|
|
946
|
+
]) : _("", !0),
|
|
947
|
+
t.type == "textarea" ? P((m(), h("textarea", C({
|
|
948
948
|
key: 4,
|
|
949
949
|
"onUpdate:modelValue": a[2] || (a[2] = (n) => o.inputVal = n),
|
|
950
950
|
class: `form-control${t.size ? ` form-control-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
@@ -952,11 +952,11 @@ function ce(e, a, t, i, s, o) {
|
|
|
952
952
|
name: t.name ? t.name : t.id,
|
|
953
953
|
id: t.id,
|
|
954
954
|
pattern: o.needPattern()
|
|
955
|
-
}, e.$attrs), null, 16,
|
|
955
|
+
}, e.$attrs), null, 16, Gt)), [
|
|
956
956
|
[ht, o.inputVal]
|
|
957
|
-
]) :
|
|
958
|
-
t.type == "range" ? (
|
|
959
|
-
P(f("input",
|
|
957
|
+
]) : _("", !0),
|
|
958
|
+
t.type == "range" ? (m(), h("div", Yt, [
|
|
959
|
+
P(f("input", C({
|
|
960
960
|
"onUpdate:modelValue": a[3] || (a[3] = (n) => o.inputVal = n),
|
|
961
961
|
class: `form-range${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
962
962
|
type: t.type,
|
|
@@ -965,12 +965,12 @@ function ce(e, a, t, i, s, o) {
|
|
|
965
965
|
pattern: o.needPattern(),
|
|
966
966
|
list: o.hasOptions()
|
|
967
967
|
}, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, Xt), [
|
|
968
|
-
[
|
|
968
|
+
[W, o.inputVal]
|
|
969
969
|
]),
|
|
970
|
-
f("output", Jt,
|
|
971
|
-
])) :
|
|
972
|
-
t.type == "color" ? (
|
|
973
|
-
P(f("input",
|
|
970
|
+
f("output", Jt, $(t.value), 1)
|
|
971
|
+
])) : _("", !0),
|
|
972
|
+
t.type == "color" ? (m(), h("div", Qt, [
|
|
973
|
+
P(f("input", C({
|
|
974
974
|
"onUpdate:modelValue": a[4] || (a[4] = (n) => o.inputVal = n),
|
|
975
975
|
class: `form-control form-control-color${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
976
976
|
type: t.type,
|
|
@@ -979,11 +979,11 @@ function ce(e, a, t, i, s, o) {
|
|
|
979
979
|
pattern: o.needPattern(),
|
|
980
980
|
list: o.hasOptions()
|
|
981
981
|
}, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, Zt), [
|
|
982
|
-
[
|
|
982
|
+
[W, o.inputVal]
|
|
983
983
|
]),
|
|
984
|
-
f("output", te,
|
|
985
|
-
])) :
|
|
986
|
-
t.type == "select" ? P((
|
|
984
|
+
f("output", te, $(t.value ? e.vale : "#000000"), 1)
|
|
985
|
+
])) : _("", !0),
|
|
986
|
+
t.type == "select" ? P((m(), h("select", C({
|
|
987
987
|
key: 7,
|
|
988
988
|
"onUpdate:modelValue": a[5] || (a[5] = (n) => o.inputVal = n),
|
|
989
989
|
class: `form-select${t.size ? ` form-select-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
@@ -992,56 +992,56 @@ function ce(e, a, t, i, s, o) {
|
|
|
992
992
|
id: t.id,
|
|
993
993
|
pattern: o.needPattern()
|
|
994
994
|
}, e.$attrs), [
|
|
995
|
-
(
|
|
995
|
+
(m(!0), h(D, null, R(t.options, (n, l) => (m(), h("option", {
|
|
996
996
|
key: l,
|
|
997
997
|
value: n.value
|
|
998
|
-
},
|
|
998
|
+
}, $(n.display ? n.display : n.value), 9, ae))), 128))
|
|
999
999
|
], 16, ee)), [
|
|
1000
1000
|
[pt, o.inputVal]
|
|
1001
|
-
]) :
|
|
1002
|
-
t.type == "checkbox" || t.type == "radio" ? (
|
|
1001
|
+
]) : _("", !0),
|
|
1002
|
+
t.type == "checkbox" || t.type == "radio" ? (m(), h("input", C({
|
|
1003
1003
|
key: 8,
|
|
1004
1004
|
class: "form-check-input",
|
|
1005
1005
|
type: t.type,
|
|
1006
1006
|
name: t.name ? t.name : t.id,
|
|
1007
1007
|
id: t.id
|
|
1008
|
-
}, e.$attrs), null, 16, ie)) :
|
|
1009
|
-
t.type == "checkbox" || t.type == "radio" ? (
|
|
1008
|
+
}, e.$attrs), null, 16, ie)) : _("", !0),
|
|
1009
|
+
t.type == "checkbox" || t.type == "radio" ? (m(), h("label", {
|
|
1010
1010
|
key: 9,
|
|
1011
|
-
class:
|
|
1011
|
+
class: L(`form-label form-check-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
|
|
1012
1012
|
for: t.id,
|
|
1013
1013
|
innerHTML: t.label
|
|
1014
|
-
}, null, 10, ne)) :
|
|
1015
|
-
t.type == "checkbox-btn" || t.type == "radio-btn" ? (
|
|
1014
|
+
}, null, 10, ne)) : _("", !0),
|
|
1015
|
+
t.type == "checkbox-btn" || t.type == "radio-btn" ? (m(), h("input", C({
|
|
1016
1016
|
key: 10,
|
|
1017
1017
|
class: `btn-check${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
1018
1018
|
type: t.type.replace("-btn", ""),
|
|
1019
1019
|
autocomplete: "off",
|
|
1020
1020
|
name: t.name ? t.name : t.id,
|
|
1021
1021
|
id: t.id
|
|
1022
|
-
}, e.$attrs), null, 16, oe)) :
|
|
1023
|
-
t.type == "checkbox-btn" || t.type == "radio-btn" ? (
|
|
1022
|
+
}, e.$attrs), null, 16, oe)) : _("", !0),
|
|
1023
|
+
t.type == "checkbox-btn" || t.type == "radio-btn" ? (m(), h("label", {
|
|
1024
1024
|
key: 11,
|
|
1025
|
-
class:
|
|
1025
|
+
class: L(`btn${t.labelclass ? ` ${t.labelclass}` : ""}`),
|
|
1026
1026
|
for: t.id,
|
|
1027
1027
|
innerHTML: t.label,
|
|
1028
1028
|
onClick: a[6] || (a[6] = (...n) => o.clickEvent && o.clickEvent(...n))
|
|
1029
|
-
}, null, 10, re)) :
|
|
1030
|
-
|
|
1031
|
-
t.errormsg ? (
|
|
1029
|
+
}, null, 10, re)) : _("", !0),
|
|
1030
|
+
v(e.$slots, "default"),
|
|
1031
|
+
t.errormsg ? (m(), h("span", {
|
|
1032
1032
|
key: 12,
|
|
1033
1033
|
class: "invalid-feedback mb-0",
|
|
1034
1034
|
innerHTML: t.errormsg
|
|
1035
|
-
}, null, 8, se)) :
|
|
1036
|
-
o.allowDatalist() ? (
|
|
1035
|
+
}, null, 8, se)) : _("", !0),
|
|
1036
|
+
o.allowDatalist() ? (m(), h("datalist", {
|
|
1037
1037
|
key: 13,
|
|
1038
1038
|
id: t.id + "-list"
|
|
1039
1039
|
}, [
|
|
1040
|
-
(
|
|
1040
|
+
(m(!0), h(D, null, R(t.options, (n, l) => (m(), h("option", {
|
|
1041
1041
|
key: l,
|
|
1042
1042
|
value: n.value
|
|
1043
|
-
},
|
|
1044
|
-
], 8, le)) :
|
|
1043
|
+
}, $(n.value), 9, de))), 128))
|
|
1044
|
+
], 8, le)) : _("", !0)
|
|
1045
1045
|
], 2);
|
|
1046
1046
|
}
|
|
1047
1047
|
const st = /* @__PURE__ */ y(Bt, [["render", ce]]);
|
|
@@ -1052,8 +1052,8 @@ function ue(e, a) {
|
|
|
1052
1052
|
}), a.addEventListener("click", (l) => {
|
|
1053
1053
|
if (l && l.target instanceof HTMLElement && l.target.closest(".files button")) {
|
|
1054
1054
|
const d = new DataTransfer(), { files: r } = s, p = l.target.closest(".files button");
|
|
1055
|
-
for (let
|
|
1056
|
-
const g = r[
|
|
1055
|
+
for (let u = 0; u < r.length; u++) {
|
|
1056
|
+
const g = r[u];
|
|
1057
1057
|
g.name != p.getAttribute("data-file") && d.items.add(g);
|
|
1058
1058
|
}
|
|
1059
1059
|
s.files = d.files;
|
|
@@ -1065,8 +1065,8 @@ function ue(e, a) {
|
|
|
1065
1065
|
const r = [...s.files, ...n.files];
|
|
1066
1066
|
let p = [];
|
|
1067
1067
|
const c = new DataTransfer();
|
|
1068
|
-
for (let
|
|
1069
|
-
const g = r[
|
|
1068
|
+
for (let u = 0; u < r.length; u++) {
|
|
1069
|
+
const g = r[u], b = g.size / 1e3;
|
|
1070
1070
|
!p.includes(g.name) && (o == 0 || b < o) && c.items.add(g), p.push(g.name);
|
|
1071
1071
|
}
|
|
1072
1072
|
s.files = c.files;
|
|
@@ -1137,11 +1137,11 @@ const he = {
|
|
|
1137
1137
|
}
|
|
1138
1138
|
};
|
|
1139
1139
|
function pe(e, a, t, i, s, o) {
|
|
1140
|
-
return
|
|
1141
|
-
|
|
1140
|
+
return m(), h("iam-fileupload", null, [
|
|
1141
|
+
v(e.$slots, "default")
|
|
1142
1142
|
]);
|
|
1143
1143
|
}
|
|
1144
|
-
const
|
|
1144
|
+
const $i = /* @__PURE__ */ y(he, [["render", pe]]), N = (e, a) => {
|
|
1145
1145
|
const t = e[a];
|
|
1146
1146
|
return t ? typeof t == "function" ? t() : Promise.resolve(t) : new Promise((i, s) => {
|
|
1147
1147
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(s.bind(null, new Error("Unknown variable dynamic import: " + a)));
|
|
@@ -1152,7 +1152,7 @@ const be = {
|
|
|
1152
1152
|
props: {},
|
|
1153
1153
|
mounted() {
|
|
1154
1154
|
this.$nextTick(function() {
|
|
1155
|
-
|
|
1155
|
+
N(/* @__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-45b3b4b8.mjs") }), "../../../assets/js/components/accordion/accordion.component.js").then((e) => {
|
|
1156
1156
|
window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", e.default);
|
|
1157
1157
|
}).catch((e) => {
|
|
1158
1158
|
console.log(e.message);
|
|
@@ -1161,11 +1161,11 @@ const be = {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
}, fe = { ref: "wrapper" };
|
|
1163
1163
|
function ge(e, a, t, i, s, o) {
|
|
1164
|
-
return
|
|
1165
|
-
|
|
1164
|
+
return m(), h("iam-accordion", fe, [
|
|
1165
|
+
v(e.$slots, "default")
|
|
1166
1166
|
], 512);
|
|
1167
1167
|
}
|
|
1168
|
-
const
|
|
1168
|
+
const Si = /* @__PURE__ */ y(be, [["render", ge]]), ye = {
|
|
1169
1169
|
name: "AccordionItem",
|
|
1170
1170
|
props: {
|
|
1171
1171
|
title: {
|
|
@@ -1200,24 +1200,24 @@ const Fi = /* @__PURE__ */ y(be, [["render", ge]]), ye = {
|
|
|
1200
1200
|
show: !this.lazy
|
|
1201
1201
|
};
|
|
1202
1202
|
}
|
|
1203
|
-
},
|
|
1203
|
+
}, we = ["id"], ve = ["classList"];
|
|
1204
1204
|
function _e(e, a, t, i, s, o) {
|
|
1205
|
-
return
|
|
1205
|
+
return m(), h("details", {
|
|
1206
1206
|
id: o.createID(t.title)
|
|
1207
1207
|
}, [
|
|
1208
1208
|
f("summary", {
|
|
1209
1209
|
classList: `${t.titlecolour ? `bg-${t.titlecolour}` : ""}`
|
|
1210
1210
|
}, [
|
|
1211
|
-
bt(
|
|
1212
|
-
t.badge ? (
|
|
1211
|
+
bt($(t.title), 1),
|
|
1212
|
+
t.badge ? (m(), h("span", {
|
|
1213
1213
|
key: 0,
|
|
1214
|
-
class:
|
|
1215
|
-
},
|
|
1216
|
-
], 8,
|
|
1217
|
-
|
|
1218
|
-
], 8,
|
|
1214
|
+
class: L(`badge bg-${t.badgecolour}`)
|
|
1215
|
+
}, $(t.badge), 3)) : _("", !0)
|
|
1216
|
+
], 8, ve),
|
|
1217
|
+
v(e.$slots, "default")
|
|
1218
|
+
], 8, we);
|
|
1219
1219
|
}
|
|
1220
|
-
const
|
|
1220
|
+
const qi = /* @__PURE__ */ y(ye, [["render", _e]]), xe = {
|
|
1221
1221
|
name: "Header",
|
|
1222
1222
|
props: {
|
|
1223
1223
|
title: {
|
|
@@ -1234,36 +1234,36 @@ const Pi = /* @__PURE__ */ y(ye, [["render", _e]]), Ae = {
|
|
|
1234
1234
|
required: !1
|
|
1235
1235
|
}
|
|
1236
1236
|
}
|
|
1237
|
-
},
|
|
1237
|
+
}, Ae = { class: "container" }, ke = { class: "row" }, Le = { class: "col-sm-6" }, $e = { class: "pt-5 pb-3 px-4" }, Se = { class: "col-sm-6 col-md-5 ms-auto" }, qe = ["src"];
|
|
1238
1238
|
function Ee(e, a, t, i, s, o) {
|
|
1239
|
-
return
|
|
1239
|
+
return m(), h("div", Ae, [
|
|
1240
1240
|
f("div", {
|
|
1241
|
-
class:
|
|
1241
|
+
class: L("bg-" + t.background + " mb-4")
|
|
1242
1242
|
}, [
|
|
1243
1243
|
f("div", ke, [
|
|
1244
1244
|
f("div", Le, [
|
|
1245
|
-
f("div",
|
|
1246
|
-
f("h2", null,
|
|
1247
|
-
|
|
1245
|
+
f("div", $e, [
|
|
1246
|
+
f("h2", null, $(t.title), 1),
|
|
1247
|
+
v(e.$slots, "default")
|
|
1248
1248
|
])
|
|
1249
1249
|
]),
|
|
1250
|
-
f("div",
|
|
1251
|
-
t.image ? (
|
|
1250
|
+
f("div", Se, [
|
|
1251
|
+
t.image ? (m(), h("img", {
|
|
1252
1252
|
key: 0,
|
|
1253
1253
|
src: t.image,
|
|
1254
1254
|
alt: "",
|
|
1255
1255
|
class: "h-100 w-100 object-cover"
|
|
1256
|
-
}, null, 8, qe)) :
|
|
1256
|
+
}, null, 8, qe)) : _("", !0)
|
|
1257
1257
|
])
|
|
1258
1258
|
])
|
|
1259
1259
|
], 2)
|
|
1260
1260
|
]);
|
|
1261
1261
|
}
|
|
1262
|
-
const
|
|
1262
|
+
const Ei = /* @__PURE__ */ y(xe, [["render", Ee]]), Te = {
|
|
1263
1263
|
name: "Card",
|
|
1264
1264
|
mounted() {
|
|
1265
1265
|
this.$nextTick(function() {
|
|
1266
|
-
|
|
1266
|
+
N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/card/card.component.js": () => import("./card.component-3bb86b22.mjs"), "../../../assets/js/components/card/card.component.min.js": () => import("./card.component.min-b82f0eae.mjs") }), "../../../assets/js/components/card/card.component.js").then((e) => {
|
|
1267
1267
|
window.customElements.get("iam-card") || window.customElements.define("iam-card", e.default);
|
|
1268
1268
|
}).catch((e) => {
|
|
1269
1269
|
console.log(e.message);
|
|
@@ -1272,239 +1272,38 @@ const Ii = /* @__PURE__ */ y(Ae, [["render", Ee]]), Te = {
|
|
|
1272
1272
|
}
|
|
1273
1273
|
};
|
|
1274
1274
|
function He(e, a, t, i, s, o) {
|
|
1275
|
-
return
|
|
1276
|
-
|
|
1275
|
+
return m(), h("iam-card", null, [
|
|
1276
|
+
v(e.$slots, "default")
|
|
1277
1277
|
]);
|
|
1278
1278
|
}
|
|
1279
|
-
const
|
|
1280
|
-
|
|
1281
|
-
var a;
|
|
1282
|
-
let t = e.querySelector(".carousel__inner"), i = e.querySelectorAll(".carousel__item").length;
|
|
1283
|
-
e.getAttribute("data-cols");
|
|
1284
|
-
let s = e.getAttribute("data-sm-cols"), o = e.getAttribute("data-md-cols");
|
|
1285
|
-
e.querySelector(".carousel__controls a").setAttribute("aria-current", !0), t.addEventListener("scroll", function(n) {
|
|
1286
|
-
clearTimeout(a), a = setTimeout(function() {
|
|
1287
|
-
let l = t.clientWidth, d = t.scrollWidth, r = t.scrollLeft, p = Math.round(r / d * i) + 1, c = e.querySelector(".carousel__item:last-child").offsetLeft;
|
|
1288
|
-
Array.from(e.querySelectorAll(".carousel__controls a")).forEach((h, g) => {
|
|
1289
|
-
h.removeAttribute("aria-current");
|
|
1290
|
-
}), e.querySelector(".control-" + p).setAttribute("aria-current", !0), p == 1 ? e.querySelector(".btn-prev").setAttribute("disabled", "disabled") : e.querySelector(".btn-prev").removeAttribute("disabled"), t.scrollLeft + l > c ? e.querySelector(".btn-next").setAttribute("disabled", "disabled") : e.querySelector(".btn-next").removeAttribute("disabled");
|
|
1291
|
-
}, 100);
|
|
1292
|
-
}, !1), e.addEventListener("click", function(n) {
|
|
1293
|
-
for (var l = n.target; l && l != this; l = l.parentNode)
|
|
1294
|
-
if (l.matches(".carousel__controls a")) {
|
|
1295
|
-
n.preventDefault(), Array.from(e.querySelectorAll(".carousel__controls a")).forEach((r, p) => {
|
|
1296
|
-
r.removeAttribute("aria-current");
|
|
1297
|
-
}), l.setAttribute("aria-current", !0);
|
|
1298
|
-
const d = document.querySelector(l.getAttribute("href"));
|
|
1299
|
-
t.scroll({
|
|
1300
|
-
top: 0,
|
|
1301
|
-
left: d.offsetLeft,
|
|
1302
|
-
behavior: "smooth"
|
|
1303
|
-
});
|
|
1304
|
-
break;
|
|
1305
|
-
}
|
|
1306
|
-
}, !1), e.addEventListener("click", function(n) {
|
|
1307
|
-
for (var l = n.target; l && l != this; l = l.parentNode)
|
|
1308
|
-
if (l.matches(".btn-next, .btn-prev")) {
|
|
1309
|
-
n.preventDefault();
|
|
1310
|
-
let d = l.classList.contains("btn-prev") ? t.scrollLeft - t.clientWidth : t.scrollLeft + t.clientWidth;
|
|
1311
|
-
t.scroll({
|
|
1312
|
-
top: 0,
|
|
1313
|
-
left: d,
|
|
1314
|
-
behavior: "smooth"
|
|
1315
|
-
});
|
|
1316
|
-
break;
|
|
1317
|
-
}
|
|
1318
|
-
}, !1), i == 1 && e.classList.add("hide-btns"), s >= i && e.classList.add("hide-sm-btns"), o >= i && e.classList.add("hide-md-btns");
|
|
1319
|
-
}
|
|
1320
|
-
const Ce = {
|
|
1321
|
-
components: {
|
|
1322
|
-
Card: Me
|
|
1323
|
-
},
|
|
1324
|
-
name: "Carousel",
|
|
1325
|
-
data() {
|
|
1326
|
-
return {
|
|
1327
|
-
id: null
|
|
1328
|
-
};
|
|
1329
|
-
},
|
|
1279
|
+
const Ti = /* @__PURE__ */ y(Te, [["render", He]]), Me = {
|
|
1280
|
+
name: "Header",
|
|
1330
1281
|
props: {
|
|
1331
|
-
|
|
1332
|
-
type: Array,
|
|
1333
|
-
required: !1
|
|
1334
|
-
},
|
|
1335
|
-
cols: {
|
|
1336
|
-
type: Number,
|
|
1337
|
-
required: !1,
|
|
1338
|
-
default: 1
|
|
1339
|
-
},
|
|
1340
|
-
smcols: {
|
|
1341
|
-
type: Number,
|
|
1342
|
-
required: !1,
|
|
1343
|
-
default: 1
|
|
1344
|
-
},
|
|
1345
|
-
mdcols: {
|
|
1346
|
-
type: Number,
|
|
1347
|
-
required: !1,
|
|
1348
|
-
default: 3
|
|
1349
|
-
},
|
|
1350
|
-
gap: {
|
|
1351
|
-
type: Number,
|
|
1352
|
-
required: !1,
|
|
1353
|
-
default: 4
|
|
1354
|
-
},
|
|
1355
|
-
cardtype: {
|
|
1356
|
-
type: String,
|
|
1357
|
-
required: !1
|
|
1358
|
-
},
|
|
1359
|
-
cardclass: {
|
|
1360
|
-
type: String,
|
|
1361
|
-
required: !1
|
|
1362
|
-
},
|
|
1363
|
-
btntype: {
|
|
1364
|
-
type: String,
|
|
1365
|
-
required: !1
|
|
1366
|
-
},
|
|
1367
|
-
titleclass: {
|
|
1368
|
-
type: String,
|
|
1369
|
-
required: !1
|
|
1370
|
-
},
|
|
1371
|
-
ctatext: {
|
|
1372
|
-
type: String,
|
|
1373
|
-
required: !1
|
|
1374
|
-
},
|
|
1375
|
-
hidectatext: {
|
|
1376
|
-
type: Boolean,
|
|
1377
|
-
required: !1,
|
|
1378
|
-
default: !1
|
|
1379
|
-
},
|
|
1380
|
-
colclass: {
|
|
1282
|
+
title: {
|
|
1381
1283
|
type: String,
|
|
1382
|
-
required: !
|
|
1284
|
+
required: !0
|
|
1383
1285
|
},
|
|
1384
|
-
|
|
1286
|
+
image: {
|
|
1385
1287
|
type: String,
|
|
1386
1288
|
required: !1
|
|
1387
1289
|
}
|
|
1388
1290
|
},
|
|
1389
|
-
computed: {
|
|
1390
|
-
content() {
|
|
1391
|
-
return (e) => `${e.image ? `<img src="${e.image}" alt="" />` : ""}${e.content ? e.content : ""}`;
|
|
1392
|
-
}
|
|
1393
|
-
},
|
|
1394
1291
|
mounted() {
|
|
1395
|
-
this
|
|
1396
|
-
|
|
1292
|
+
this.$nextTick(function() {
|
|
1293
|
+
N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/carousel/carousel.component.js": () => import("./carousel.component-72a8511a.mjs") }), "../../../assets/js/components/carousel/carousel.component.js").then((e) => {
|
|
1294
|
+
window.customElements.get("iam-carousel") || window.customElements.define("iam-carousel", e.default);
|
|
1295
|
+
}).catch((e) => {
|
|
1296
|
+
console.log(e.message);
|
|
1297
|
+
});
|
|
1397
1298
|
});
|
|
1398
1299
|
}
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
"
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
class: "btn btn-next",
|
|
1405
|
-
"data-go": "2"
|
|
1406
|
-
}, "Next", -1);
|
|
1407
|
-
function Be(e, a, t, i, s, o) {
|
|
1408
|
-
const n = B("Card");
|
|
1409
|
-
return u(), m("div", {
|
|
1410
|
-
class: "container carousel",
|
|
1411
|
-
id: "carousel" + s.id,
|
|
1412
|
-
ref: "wrapper",
|
|
1413
|
-
"data-cols": t.cols,
|
|
1414
|
-
"data-sm-cols": t.smcols,
|
|
1415
|
-
"data-md-cols": t.mdcols
|
|
1416
|
-
}, [
|
|
1417
|
-
_(e.$slots, "default"),
|
|
1418
|
-
f("div", Re, [
|
|
1419
|
-
f("div", De, [
|
|
1420
|
-
t.type == "card" ? (u(), m("div", {
|
|
1421
|
-
key: 0,
|
|
1422
|
-
class: x(`row row-cols-${t.cols} row-cols-sm-${t.smcols} row-cols-md-${t.mdcols} ${t.gap ? `g-${t.gap}` : ""}`)
|
|
1423
|
-
}, [
|
|
1424
|
-
(u(!0), m(T, null, H(t.items, (l, d) => (u(), m("div", {
|
|
1425
|
-
class: x(`col carousel__item${t.colclass ? ` ${t.colclass}` : ""}`),
|
|
1426
|
-
key: d,
|
|
1427
|
-
id: "carousel" + s.id + "slide" + (d + 1)
|
|
1428
|
-
}, [
|
|
1429
|
-
C(n, N(l, {
|
|
1430
|
-
class: t.cardclass,
|
|
1431
|
-
type: t.cardtype,
|
|
1432
|
-
btnyype: t.btntype,
|
|
1433
|
-
titleclass: t.titleclass,
|
|
1434
|
-
ctatext: t.ctatext,
|
|
1435
|
-
hidectatext: t.hidectatext
|
|
1436
|
-
}), null, 16, ["class", "type", "btnyype", "titleclass", "ctatext", "hidectatext"])
|
|
1437
|
-
], 10, ze))), 128))
|
|
1438
|
-
], 2)) : w("", !0),
|
|
1439
|
-
t.type != "card" ? (u(), m("div", {
|
|
1440
|
-
key: 1,
|
|
1441
|
-
class: x(`row row-cols-${t.cols} row-cols-sm-${t.smcols} row-cols-md-${t.mdcols} ${t.gap ? `g-${t.gap}` : ""}`)
|
|
1442
|
-
}, [
|
|
1443
|
-
(u(!0), m(T, null, H(t.items, (l, d) => (u(), m("div", {
|
|
1444
|
-
class: x(`col carousel__item${t.colclass ? ` ${t.colclass}` : ""}`),
|
|
1445
|
-
key: d,
|
|
1446
|
-
innerHTML: o.content(l),
|
|
1447
|
-
id: "carousel" + s.id + "slide" + (d + 1)
|
|
1448
|
-
}, null, 10, Fe))), 128))
|
|
1449
|
-
], 2)) : w("", !0)
|
|
1450
|
-
]),
|
|
1451
|
-
f("div", {
|
|
1452
|
-
class: x(`carousel__controls cols-${t.cols} cols-sm-${t.smcols} cols-md-${t.mdcols}`)
|
|
1453
|
-
}, [
|
|
1454
|
-
(u(!0), m(T, null, H(t.items, (l, d) => (u(), m("a", {
|
|
1455
|
-
key: d,
|
|
1456
|
-
href: "#carousel" + s.id + "slide" + (d + 1),
|
|
1457
|
-
class: x(`control-${d + 1}`)
|
|
1458
|
-
}, "Slide " + S(d + 1), 11, Pe))), 128))
|
|
1459
|
-
], 2),
|
|
1460
|
-
Ie,
|
|
1461
|
-
Oe
|
|
1462
|
-
])
|
|
1463
|
-
], 8, Ne);
|
|
1464
|
-
}
|
|
1465
|
-
const Oi = /* @__PURE__ */ y(Ce, [["render", Be]]);
|
|
1466
|
-
/*!
|
|
1467
|
-
* iamKey v5.1.0-beta7
|
|
1468
|
-
* Copyright 2022-2023 iamproperty
|
|
1469
|
-
*/
|
|
1470
|
-
window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "header" });
|
|
1471
|
-
class Ue extends HTMLElement {
|
|
1472
|
-
constructor() {
|
|
1473
|
-
super(), this.attachShadow({ mode: "open" });
|
|
1474
|
-
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`, i = document.createElement("template");
|
|
1475
|
-
i.innerHTML = `
|
|
1476
|
-
<style>
|
|
1477
|
-
@import "${t}";
|
|
1478
|
-
:host{padding-top:0 !important;margin-bottom:2rem}.header-banner{background:linear-gradient(180deg, var(--colour-secondary) 0, var(--colour-info) 100%);position:relative;overflow:hidden;max-width:100% !important}@media screen and (min-width: 62em){.header-banner{min-height:29.375rem}}.header-banner>.container{padding-bottom:0;position:relative}.header-banner .breadcrumb{margin-top:1.5rem;margin-bottom:-0.5rem}@media screen and (min-width: 62em){.header-banner .breadcrumb{position:absolute;top:0;left:3.75rem}}.header-banner__inner{--colour-muted: #9d9d9d;--colour-body: #595959;--colour-border: #D8D8D8;--colour-link: var(--colour-primary-theme);--colour-brand: var(--colour-primary-theme);--colour-underline: var(--colour-secondary);--colour-heading: var(--colour-primary);--colour-focus: var(--colour-primary-theme);--colour-hover: var(--colour-primary-theme);--colour-active: var(--colour-primary-theme);--colour-selected: var(--colour-info);--colour-inverted: #FCFCFC;--colour-btn: var(--colour-primary-theme);--colour-btn-bg: var(--colour-warning);--colour-btn-border: var(--colour-warning);--colour-btn-bg-hover: transparent;--colour-btn-hover: var(--colour-primary-theme);--colour-btn-secondary: var(--colour-primary-theme);--colour-btn-secondary-border: var(--colour-primary-theme);--colour-btn-secondary-bg: transparent;--colour-btn-secondary-bg-hover: var(--colour-primary-theme);--colour-btn-secondary-hover: var(--colour-inverted);--colour-canvas-2: white;--colour-btn-action-hover-bg: var(--colour-light);color:var(--colour-body);background:#fff;padding:2rem;margin:1.875rem 0;position:relative;z-index:var(--index-above)}.header-banner__inner .text-primary{color:var(--colour-primary) !important}@media screen and (min-width: 62em){.header-banner__inner{max-width:37.5rem;margin:7rem 0 5rem 0;padding:3.5rem 4rem}}.header-banner__inner>*:last-child{padding-bottom:0;margin-bottom:0}.header-banner picture img{display:none}@media screen and (min-width: 62em){.header-banner picture img{display:block;position:absolute;top:-0.5%;left:40%;height:101%;object-fit:cover;width:60%;pointer-events:none}}::slotted(.breadcrumb){margin-top:1.5rem !important;margin-bottom:-0.5rem !important}@media screen and (min-width: 62em){::slotted(.breadcrumb){position:absolute !important;top:0 !important;left:5.25rem !important}}::slotted(*:last-child){padding-bottom:0 !important;margin-bottom:0 !important}/*# sourceMappingURL=assets/css/components/header.css.map */
|
|
1479
|
-
|
|
1480
|
-
${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
|
|
1481
|
-
</style>
|
|
1482
|
-
<div class="header-banner">
|
|
1483
|
-
<div class="container" part="container">
|
|
1484
|
-
<slot name="breadcrumb"></slot>
|
|
1485
|
-
<div class="header-banner__inner">
|
|
1486
|
-
<slot></slot>
|
|
1487
|
-
</div>
|
|
1488
|
-
</div>
|
|
1489
|
-
<picture>
|
|
1490
|
-
<!-- Actual image only loaded on desktops -->
|
|
1491
|
-
<source srcset="" media="(min-width: 62em)">
|
|
1492
|
-
<!-- Placeholder image -->
|
|
1493
|
-
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="" lazy="" />
|
|
1494
|
-
</picture>
|
|
1495
|
-
</div>
|
|
1496
|
-
`, this.shadowRoot.appendChild(i.content.cloneNode(!0));
|
|
1497
|
-
}
|
|
1498
|
-
connectedCallback() {
|
|
1499
|
-
this.classList.add("loaded");
|
|
1500
|
-
const a = this.shadowRoot.querySelector("picture"), t = this.shadowRoot.querySelector("picture source");
|
|
1501
|
-
this.hasAttribute("image") ? t.setAttribute("srcset", this.getAttribute("image")) : a.remove();
|
|
1502
|
-
}
|
|
1300
|
+
};
|
|
1301
|
+
function je(e, a, t, i, s, o) {
|
|
1302
|
+
return m(), h("iam-carousel", null, [
|
|
1303
|
+
v(e.$slots, "default")
|
|
1304
|
+
]);
|
|
1503
1305
|
}
|
|
1504
|
-
const
|
|
1505
|
-
__proto__: null,
|
|
1506
|
-
default: Ue
|
|
1507
|
-
}, Symbol.toStringTag, { value: "Module" })), We = {
|
|
1306
|
+
const Hi = /* @__PURE__ */ y(Me, [["render", je]]), Ce = {
|
|
1508
1307
|
name: "Header",
|
|
1509
1308
|
props: {
|
|
1510
1309
|
title: {
|
|
@@ -1518,29 +1317,26 @@ const Ve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1518
1317
|
},
|
|
1519
1318
|
mounted() {
|
|
1520
1319
|
this.$nextTick(function() {
|
|
1521
|
-
|
|
1320
|
+
N(/* @__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-d2a97755.mjs") }), "../../../assets/js/components/header/header.component.js").then((e) => {
|
|
1522
1321
|
window.customElements.get("iam-header") || window.customElements.define("iam-header", e.default);
|
|
1523
1322
|
}).catch((e) => {
|
|
1524
1323
|
console.log(e.message);
|
|
1525
1324
|
});
|
|
1526
1325
|
});
|
|
1527
1326
|
}
|
|
1528
|
-
},
|
|
1529
|
-
function
|
|
1530
|
-
return
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
}, [
|
|
1534
|
-
_(e.$slots, "breadcrumb"),
|
|
1535
|
-
t.title ? (u(), m("h1", {
|
|
1327
|
+
}, De = ["image"], Re = ["innerHTML"];
|
|
1328
|
+
function Ne(e, a, t, i, s, o) {
|
|
1329
|
+
return m(), h("iam-header", { image: t.image }, [
|
|
1330
|
+
v(e.$slots, "breadcrumb"),
|
|
1331
|
+
t.title ? (m(), h("h1", {
|
|
1536
1332
|
key: 0,
|
|
1537
1333
|
innerHTML: t.title
|
|
1538
|
-
}, null, 8,
|
|
1539
|
-
|
|
1540
|
-
], 8,
|
|
1334
|
+
}, null, 8, Re)) : _("", !0),
|
|
1335
|
+
v(e.$slots, "default")
|
|
1336
|
+
], 8, De);
|
|
1541
1337
|
}
|
|
1542
|
-
const
|
|
1543
|
-
function
|
|
1338
|
+
const Mi = /* @__PURE__ */ y(Ce, [["render", Ne]]);
|
|
1339
|
+
function ze(e) {
|
|
1544
1340
|
var a;
|
|
1545
1341
|
const t = e.querySelector(".testimonial__images"), i = t.querySelectorAll("img").length;
|
|
1546
1342
|
if (i == 1)
|
|
@@ -1568,7 +1364,7 @@ function Xe(e) {
|
|
|
1568
1364
|
}
|
|
1569
1365
|
}, !1);
|
|
1570
1366
|
}
|
|
1571
|
-
const
|
|
1367
|
+
const Fe = {
|
|
1572
1368
|
name: "Testimonial",
|
|
1573
1369
|
props: {
|
|
1574
1370
|
items: {
|
|
@@ -1582,13 +1378,13 @@ const Je = {
|
|
|
1582
1378
|
}
|
|
1583
1379
|
},
|
|
1584
1380
|
mounted() {
|
|
1585
|
-
|
|
1381
|
+
ze(this.$refs.wrapper);
|
|
1586
1382
|
}
|
|
1587
|
-
},
|
|
1383
|
+
}, Pe = {
|
|
1588
1384
|
class: "container testimonial mb-5",
|
|
1589
1385
|
"data-show": "1",
|
|
1590
1386
|
ref: "wrapper"
|
|
1591
|
-
},
|
|
1387
|
+
}, Ie = { class: "row" }, Oe = { class: "col-md-5 position-relative" }, Be = { class: "testimonial__images" }, Ue = ["src"], Ve = /* @__PURE__ */ f("div", { class: "testimonial__controls" }, [
|
|
1592
1388
|
/* @__PURE__ */ f("button", {
|
|
1593
1389
|
"data-go": "0",
|
|
1594
1390
|
disabled: "",
|
|
@@ -1598,50 +1394,50 @@ const Je = {
|
|
|
1598
1394
|
"data-go": "2",
|
|
1599
1395
|
class: "btn-next"
|
|
1600
1396
|
}, "Next")
|
|
1601
|
-
], -1),
|
|
1602
|
-
function
|
|
1603
|
-
return
|
|
1397
|
+
], -1), We = { class: "col-md-7" }, Ke = /* @__PURE__ */ f("h2", null, "What our customers think…", -1), Ge = { class: "testimonial__content" }, Ye = ["innerHTML"], Xe = ["innerHTML"], Je = { class: "testimonial__after" }, Qe = /* @__PURE__ */ f("span", { class: "circle circle--dots d-none d-md-block" }, null, -1);
|
|
1398
|
+
function Ze(e, a, t, i, s, o) {
|
|
1399
|
+
return m(), h("div", Pe, [
|
|
1604
1400
|
f("div", {
|
|
1605
|
-
class:
|
|
1401
|
+
class: L("bg-" + t.background)
|
|
1606
1402
|
}, [
|
|
1607
|
-
f("div",
|
|
1608
|
-
f("div",
|
|
1609
|
-
f("div",
|
|
1610
|
-
(
|
|
1403
|
+
f("div", Ie, [
|
|
1404
|
+
f("div", Oe, [
|
|
1405
|
+
f("div", Be, [
|
|
1406
|
+
(m(!0), h(D, null, R(t.items, (n, l) => (m(), h("img", {
|
|
1611
1407
|
key: l,
|
|
1612
1408
|
src: n.image ? n.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
|
|
1613
1409
|
alt: "",
|
|
1614
|
-
class:
|
|
1615
|
-
}, null, 10,
|
|
1410
|
+
class: L("h-100 w-100 object-cover" + (n.image ? "" : " opacity-0"))
|
|
1411
|
+
}, null, 10, Ue))), 128))
|
|
1616
1412
|
]),
|
|
1617
|
-
|
|
1413
|
+
Ve
|
|
1618
1414
|
]),
|
|
1619
|
-
f("div",
|
|
1620
|
-
|
|
1621
|
-
f("div",
|
|
1622
|
-
(
|
|
1415
|
+
f("div", We, [
|
|
1416
|
+
Ke,
|
|
1417
|
+
f("div", Ge, [
|
|
1418
|
+
(m(!0), h(D, null, R(t.items, (n, l) => (m(), h("blockquote", {
|
|
1623
1419
|
key: l,
|
|
1624
|
-
class:
|
|
1420
|
+
class: L(n.class)
|
|
1625
1421
|
}, [
|
|
1626
1422
|
f("div", {
|
|
1627
1423
|
innerHTML: n.quote
|
|
1628
|
-
}, null, 8,
|
|
1424
|
+
}, null, 8, Ye),
|
|
1629
1425
|
f("cite", {
|
|
1630
1426
|
innerHTML: n.cite
|
|
1631
|
-
}, null, 8,
|
|
1427
|
+
}, null, 8, Xe)
|
|
1632
1428
|
], 2))), 128))
|
|
1633
1429
|
]),
|
|
1634
|
-
f("div",
|
|
1635
|
-
|
|
1430
|
+
f("div", Je, [
|
|
1431
|
+
v(e.$slots, "default")
|
|
1636
1432
|
])
|
|
1637
1433
|
])
|
|
1638
1434
|
]),
|
|
1639
|
-
|
|
1435
|
+
Qe
|
|
1640
1436
|
], 2)
|
|
1641
1437
|
], 512);
|
|
1642
1438
|
}
|
|
1643
|
-
const
|
|
1644
|
-
const
|
|
1439
|
+
const ji = /* @__PURE__ */ y(Fe, [["render", Ze]]);
|
|
1440
|
+
const ta = {
|
|
1645
1441
|
name: "Timeline",
|
|
1646
1442
|
props: {
|
|
1647
1443
|
image: {
|
|
@@ -1649,21 +1445,21 @@ const ma = {
|
|
|
1649
1445
|
required: !1
|
|
1650
1446
|
}
|
|
1651
1447
|
}
|
|
1652
|
-
},
|
|
1653
|
-
function
|
|
1654
|
-
return
|
|
1655
|
-
f("div",
|
|
1656
|
-
|
|
1448
|
+
}, ea = { class: "timeline" }, aa = { class: "timeline__content" }, ia = ["src"];
|
|
1449
|
+
function na(e, a, t, i, s, o) {
|
|
1450
|
+
return m(), h("div", ea, [
|
|
1451
|
+
f("div", aa, [
|
|
1452
|
+
v(e.$slots, "default")
|
|
1657
1453
|
]),
|
|
1658
|
-
t.image ? (
|
|
1454
|
+
t.image ? (m(), h("img", {
|
|
1659
1455
|
key: 0,
|
|
1660
1456
|
src: t.image,
|
|
1661
1457
|
alt: ""
|
|
1662
|
-
}, null, 8,
|
|
1458
|
+
}, null, 8, ia)) : _("", !0)
|
|
1663
1459
|
]);
|
|
1664
1460
|
}
|
|
1665
|
-
const
|
|
1666
|
-
const
|
|
1461
|
+
const Ci = /* @__PURE__ */ y(ta, [["render", na]]);
|
|
1462
|
+
const oa = {
|
|
1667
1463
|
components: {
|
|
1668
1464
|
Input: st
|
|
1669
1465
|
},
|
|
@@ -1809,34 +1605,34 @@ const ga = {
|
|
|
1809
1605
|
];
|
|
1810
1606
|
}
|
|
1811
1607
|
}
|
|
1812
|
-
},
|
|
1608
|
+
}, ra = {
|
|
1813
1609
|
class: "container",
|
|
1814
1610
|
ref: "wrapper"
|
|
1815
|
-
},
|
|
1611
|
+
}, sa = { class: "property-searchbar" }, la = ["action", "method"], da = { class: "col-12 col-md-3" }, ca = { class: "col-12 col-md" }, ua = /* @__PURE__ */ f("span", { class: "form-label d-none d-md-block" }, "Price range", -1), ma = {
|
|
1816
1612
|
class: "row",
|
|
1817
1613
|
"data-input-range": ""
|
|
1818
|
-
},
|
|
1614
|
+
}, ha = { class: "col-12 col-md" }, pa = /* @__PURE__ */ f("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1), ba = {
|
|
1819
1615
|
class: "row",
|
|
1820
1616
|
"data-input-range": ""
|
|
1821
|
-
},
|
|
1617
|
+
}, fa = { class: "col-12 col-md-2" }, ga = /* @__PURE__ */ f("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
|
|
1822
1618
|
/* @__PURE__ */ f("button", {
|
|
1823
1619
|
class: "btn w-100 me-0",
|
|
1824
1620
|
type: "submit",
|
|
1825
1621
|
value: "submit"
|
|
1826
1622
|
}, "Search")
|
|
1827
1623
|
], -1);
|
|
1828
|
-
function
|
|
1829
|
-
const n =
|
|
1830
|
-
return
|
|
1831
|
-
|
|
1832
|
-
f("div",
|
|
1624
|
+
function ya(e, a, t, i, s, o) {
|
|
1625
|
+
const n = K("Input");
|
|
1626
|
+
return m(), h("div", ra, [
|
|
1627
|
+
v(e.$slots, "default"),
|
|
1628
|
+
f("div", sa, [
|
|
1833
1629
|
f("form", {
|
|
1834
1630
|
class: "row",
|
|
1835
1631
|
action: t.formaction,
|
|
1836
1632
|
method: t.formmethod
|
|
1837
1633
|
}, [
|
|
1838
|
-
f("fieldset",
|
|
1839
|
-
|
|
1634
|
+
f("fieldset", da, [
|
|
1635
|
+
M(n, {
|
|
1840
1636
|
inputClass: "input--locations",
|
|
1841
1637
|
modelValue: o.locationSet,
|
|
1842
1638
|
"onUpdate:modelValue": a[0] || (a[0] = (l) => o.locationSet = l),
|
|
@@ -1848,7 +1644,7 @@ function Ta(e, a, t, i, s, o) {
|
|
|
1848
1644
|
onKeyupEvent: a[1] || (a[1] = (l) => o.locationKeyup(...arguments)),
|
|
1849
1645
|
ref: "search"
|
|
1850
1646
|
}, null, 8, ["modelValue", "options"]),
|
|
1851
|
-
|
|
1647
|
+
M(n, {
|
|
1852
1648
|
class: "select--miles",
|
|
1853
1649
|
label: "Miles",
|
|
1854
1650
|
id: "miles",
|
|
@@ -1856,10 +1652,10 @@ function Ta(e, a, t, i, s, o) {
|
|
|
1856
1652
|
options: t.distances
|
|
1857
1653
|
}, null, 8, ["options"])
|
|
1858
1654
|
]),
|
|
1859
|
-
f("fieldset",
|
|
1860
|
-
|
|
1861
|
-
f("div",
|
|
1862
|
-
|
|
1655
|
+
f("fieldset", ca, [
|
|
1656
|
+
ua,
|
|
1657
|
+
f("div", ma, [
|
|
1658
|
+
M(n, {
|
|
1863
1659
|
class: "col-6",
|
|
1864
1660
|
label: "Minimum price",
|
|
1865
1661
|
id: "price-min",
|
|
@@ -1867,7 +1663,7 @@ function Ta(e, a, t, i, s, o) {
|
|
|
1867
1663
|
type: "select",
|
|
1868
1664
|
options: t.pricemin
|
|
1869
1665
|
}, null, 8, ["options"]),
|
|
1870
|
-
|
|
1666
|
+
M(n, {
|
|
1871
1667
|
class: "col-6",
|
|
1872
1668
|
label: "Maximum price",
|
|
1873
1669
|
id: "price-max",
|
|
@@ -1877,10 +1673,10 @@ function Ta(e, a, t, i, s, o) {
|
|
|
1877
1673
|
}, null, 8, ["options"])
|
|
1878
1674
|
])
|
|
1879
1675
|
]),
|
|
1880
|
-
f("fieldset",
|
|
1881
|
-
|
|
1882
|
-
f("div",
|
|
1883
|
-
|
|
1676
|
+
f("fieldset", ha, [
|
|
1677
|
+
pa,
|
|
1678
|
+
f("div", ba, [
|
|
1679
|
+
M(n, {
|
|
1884
1680
|
class: "col-6",
|
|
1885
1681
|
label: "Minimum beds",
|
|
1886
1682
|
id: "beds-min",
|
|
@@ -1888,7 +1684,7 @@ function Ta(e, a, t, i, s, o) {
|
|
|
1888
1684
|
type: "select",
|
|
1889
1685
|
options: t.bedsmin
|
|
1890
1686
|
}, null, 8, ["options"]),
|
|
1891
|
-
|
|
1687
|
+
M(n, {
|
|
1892
1688
|
class: "col-6",
|
|
1893
1689
|
label: "Maximum beds",
|
|
1894
1690
|
id: "beds-max",
|
|
@@ -1898,26 +1694,26 @@ function Ta(e, a, t, i, s, o) {
|
|
|
1898
1694
|
}, null, 8, ["options"])
|
|
1899
1695
|
])
|
|
1900
1696
|
]),
|
|
1901
|
-
f("fieldset",
|
|
1902
|
-
|
|
1697
|
+
f("fieldset", fa, [
|
|
1698
|
+
M(n, {
|
|
1903
1699
|
label: "Property type",
|
|
1904
1700
|
id: "property-type",
|
|
1905
1701
|
type: "select",
|
|
1906
1702
|
options: t.propertytypes
|
|
1907
1703
|
}, null, 8, ["options"])
|
|
1908
1704
|
]),
|
|
1909
|
-
|
|
1910
|
-
], 8,
|
|
1705
|
+
ga
|
|
1706
|
+
], 8, la)
|
|
1911
1707
|
]),
|
|
1912
|
-
|
|
1708
|
+
v(e.$slots, "after")
|
|
1913
1709
|
], 512);
|
|
1914
1710
|
}
|
|
1915
|
-
const
|
|
1711
|
+
const Di = /* @__PURE__ */ y(oa, [["render", ya]]), wa = {
|
|
1916
1712
|
components: {},
|
|
1917
1713
|
name: "Nav",
|
|
1918
1714
|
mounted() {
|
|
1919
1715
|
this.$nextTick(function() {
|
|
1920
|
-
|
|
1716
|
+
N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/nav/nav.component.js": () => import("./nav.component-ff8d1484.mjs"), "../../../assets/js/components/nav/nav.component.min.js": () => import("./nav.component.min-3f8ef26b.mjs") }), "../../../assets/js/components/nav/nav.component.js").then((e) => {
|
|
1921
1717
|
window.customElements.get("iam-nav") || window.customElements.define("iam-nav", e.default);
|
|
1922
1718
|
}).catch((e) => {
|
|
1923
1719
|
console.log(e.message);
|
|
@@ -1925,14 +1721,14 @@ const Wi = /* @__PURE__ */ y(ga, [["render", Ta]]), Ha = {
|
|
|
1925
1721
|
});
|
|
1926
1722
|
},
|
|
1927
1723
|
methods: {}
|
|
1928
|
-
},
|
|
1929
|
-
function
|
|
1930
|
-
return
|
|
1931
|
-
|
|
1724
|
+
}, va = { ref: "wrapper" };
|
|
1725
|
+
function _a(e, a, t, i, s, o) {
|
|
1726
|
+
return m(), h("iam-nav", va, [
|
|
1727
|
+
v(e.$slots, "default")
|
|
1932
1728
|
], 512);
|
|
1933
1729
|
}
|
|
1934
|
-
const
|
|
1935
|
-
const
|
|
1730
|
+
const Ri = /* @__PURE__ */ y(wa, [["render", _a]]);
|
|
1731
|
+
const xa = {
|
|
1936
1732
|
name: "Stepper",
|
|
1937
1733
|
props: {
|
|
1938
1734
|
label: {
|
|
@@ -1945,26 +1741,26 @@ const Ca = {
|
|
|
1945
1741
|
default: "Complete"
|
|
1946
1742
|
}
|
|
1947
1743
|
}
|
|
1948
|
-
},
|
|
1744
|
+
}, Aa = { class: "container" }, ka = ["aria-label"], La = {
|
|
1949
1745
|
key: 0,
|
|
1950
1746
|
class: "h6 stepper__start"
|
|
1951
|
-
},
|
|
1952
|
-
function
|
|
1953
|
-
return
|
|
1747
|
+
}, $a = { class: "list-unstyled" }, Sa = { class: "h6 stepper__end" };
|
|
1748
|
+
function qa(e, a, t, i, s, o) {
|
|
1749
|
+
return m(), h("div", Aa, [
|
|
1954
1750
|
f("nav", {
|
|
1955
1751
|
class: "stepper",
|
|
1956
1752
|
"aria-label": t.label ? t.label : "Progress"
|
|
1957
1753
|
}, [
|
|
1958
|
-
t.label ? (
|
|
1959
|
-
f("ol",
|
|
1960
|
-
|
|
1754
|
+
t.label ? (m(), h("span", La, $(t.label), 1)) : _("", !0),
|
|
1755
|
+
f("ol", $a, [
|
|
1756
|
+
v(e.$slots, "default")
|
|
1961
1757
|
]),
|
|
1962
|
-
f("span",
|
|
1963
|
-
], 8,
|
|
1758
|
+
f("span", Sa, $(t.endlabel), 1)
|
|
1759
|
+
], 8, ka)
|
|
1964
1760
|
]);
|
|
1965
1761
|
}
|
|
1966
|
-
const
|
|
1967
|
-
const
|
|
1762
|
+
const Ni = /* @__PURE__ */ y(xa, [["render", qa]]);
|
|
1763
|
+
const Ea = {
|
|
1968
1764
|
name: "Snapshot",
|
|
1969
1765
|
props: {
|
|
1970
1766
|
items: {
|
|
@@ -1972,33 +1768,33 @@ const Ia = {
|
|
|
1972
1768
|
required: !0
|
|
1973
1769
|
}
|
|
1974
1770
|
}
|
|
1975
|
-
},
|
|
1771
|
+
}, Ta = {
|
|
1976
1772
|
class: "container snapshot",
|
|
1977
1773
|
ref: "wrapper"
|
|
1978
|
-
},
|
|
1979
|
-
function
|
|
1980
|
-
return
|
|
1981
|
-
|
|
1982
|
-
f("div",
|
|
1983
|
-
(
|
|
1774
|
+
}, Ha = { class: "row" }, Ma = ["href"], ja = { class: "lead snapshot__title" }, Ca = { class: "stat" };
|
|
1775
|
+
function Da(e, a, t, i, s, o) {
|
|
1776
|
+
return m(), h("div", Ta, [
|
|
1777
|
+
v(e.$slots, "default"),
|
|
1778
|
+
f("div", Ha, [
|
|
1779
|
+
(m(!0), h(D, null, R(t.items, (n, l) => (m(), h("div", {
|
|
1984
1780
|
class: "col",
|
|
1985
1781
|
key: l
|
|
1986
1782
|
}, [
|
|
1987
|
-
n.link ? (
|
|
1783
|
+
n.link ? (m(), h("a", {
|
|
1988
1784
|
key: 0,
|
|
1989
1785
|
href: n.link
|
|
1990
|
-
}, "View " +
|
|
1786
|
+
}, "View " + $(n.title), 9, Ma)) : _("", !0),
|
|
1991
1787
|
f("div", {
|
|
1992
|
-
class:
|
|
1788
|
+
class: L(`snapshot__item ${n.bg ? "bg-" + n.bg : ""}`)
|
|
1993
1789
|
}, [
|
|
1994
|
-
f("span",
|
|
1995
|
-
f("span",
|
|
1790
|
+
f("span", ja, $(n.title), 1),
|
|
1791
|
+
f("span", Ca, $(n.number), 1)
|
|
1996
1792
|
], 2)
|
|
1997
1793
|
]))), 128))
|
|
1998
1794
|
])
|
|
1999
1795
|
], 512);
|
|
2000
1796
|
}
|
|
2001
|
-
const
|
|
1797
|
+
const zi = /* @__PURE__ */ y(Ea, [["render", Da]]), Ra = {
|
|
2002
1798
|
name: "Stepper",
|
|
2003
1799
|
props: {
|
|
2004
1800
|
url: {
|
|
@@ -2014,43 +1810,43 @@ const Yi = /* @__PURE__ */ y(Ia, [["render", Ga]]), Ka = {
|
|
|
2014
1810
|
required: !1
|
|
2015
1811
|
}
|
|
2016
1812
|
}
|
|
2017
|
-
},
|
|
1813
|
+
}, Na = ["href", "aria-current"], za = {
|
|
2018
1814
|
key: 0,
|
|
2019
1815
|
class: "visually-hidden"
|
|
2020
1816
|
};
|
|
2021
|
-
function
|
|
2022
|
-
return
|
|
1817
|
+
function Fa(e, a, t, i, s, o) {
|
|
1818
|
+
return m(), h("li", null, [
|
|
2023
1819
|
f("a", {
|
|
2024
1820
|
href: t.url,
|
|
2025
|
-
class:
|
|
1821
|
+
class: L(`${t.status ? "bg-" + t.status : ""}${typeof t.current < "u" ? "current" : ""}`),
|
|
2026
1822
|
"aria-current": typeof t.current < "u" ? "step" : !1
|
|
2027
1823
|
}, [
|
|
2028
1824
|
f("span", null, [
|
|
2029
|
-
|
|
1825
|
+
v(e.$slots, "default")
|
|
2030
1826
|
]),
|
|
2031
|
-
t.status ? (
|
|
2032
|
-
], 10,
|
|
1827
|
+
t.status ? (m(), h("em", za, " - status: " + $(t.status), 1)) : _("", !0)
|
|
1828
|
+
], 10, Na)
|
|
2033
1829
|
]);
|
|
2034
1830
|
}
|
|
2035
|
-
const
|
|
2036
|
-
const
|
|
1831
|
+
const Fi = /* @__PURE__ */ y(Ra, [["render", Fa]]);
|
|
1832
|
+
const Pa = {
|
|
2037
1833
|
name: "Tabs",
|
|
2038
1834
|
mounted() {
|
|
2039
1835
|
this.$nextTick(function() {
|
|
2040
|
-
|
|
1836
|
+
N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/tabs/tabs.component.js": () => import("./tabs.component-1dfbdb3b.mjs"), "../../../assets/js/components/tabs/tabs.component.min.js": () => import("./tabs.component.min-4fa524fe.mjs") }), "../../../assets/js/components/tabs/tabs.component.js").then((e) => {
|
|
2041
1837
|
window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", e.default);
|
|
2042
1838
|
}).catch((e) => {
|
|
2043
1839
|
console.log(e.message);
|
|
2044
1840
|
});
|
|
2045
1841
|
});
|
|
2046
1842
|
}
|
|
2047
|
-
},
|
|
2048
|
-
function
|
|
2049
|
-
return
|
|
2050
|
-
|
|
1843
|
+
}, Ia = { ref: "wrapper" };
|
|
1844
|
+
function Oa(e, a, t, i, s, o) {
|
|
1845
|
+
return m(), h("iam-tabs", Ia, [
|
|
1846
|
+
v(e.$slots, "default")
|
|
2051
1847
|
], 512);
|
|
2052
1848
|
}
|
|
2053
|
-
const
|
|
1849
|
+
const Pi = /* @__PURE__ */ y(Pa, [["render", Oa]]), Ba = {
|
|
2054
1850
|
name: "Tab",
|
|
2055
1851
|
props: {
|
|
2056
1852
|
title: {
|
|
@@ -2072,20 +1868,20 @@ const Ji = /* @__PURE__ */ y(Qa, [["render", ti]]), ei = {
|
|
|
2072
1868
|
isDisabled: !!this.disabled
|
|
2073
1869
|
};
|
|
2074
1870
|
}
|
|
2075
|
-
},
|
|
2076
|
-
function
|
|
2077
|
-
return
|
|
1871
|
+
}, Ua = { class: "tab" }, Va = ["innerHTML"];
|
|
1872
|
+
function Wa(e, a, t, i, s, o) {
|
|
1873
|
+
return m(), h("details", Ua, [
|
|
2078
1874
|
f("summary", {
|
|
2079
1875
|
innerHTML: t.title,
|
|
2080
|
-
class:
|
|
2081
|
-
}, null, 10,
|
|
2082
|
-
|
|
1876
|
+
class: L({ disabled: s.isDisabled })
|
|
1877
|
+
}, null, 10, Va),
|
|
1878
|
+
v(e.$slots, "default")
|
|
2083
1879
|
]);
|
|
2084
1880
|
}
|
|
2085
|
-
const
|
|
1881
|
+
const Ii = /* @__PURE__ */ y(Ba, [["render", Wa]]);
|
|
2086
1882
|
let lt = rt.props;
|
|
2087
1883
|
lt.fields.required = !1;
|
|
2088
|
-
const
|
|
1884
|
+
const Ka = {
|
|
2089
1885
|
components: {
|
|
2090
1886
|
Table: rt,
|
|
2091
1887
|
Input: st
|
|
@@ -2131,16 +1927,16 @@ const oi = {
|
|
|
2131
1927
|
required: !1
|
|
2132
1928
|
}
|
|
2133
1929
|
}
|
|
2134
|
-
},
|
|
2135
|
-
function
|
|
2136
|
-
const n =
|
|
2137
|
-
return
|
|
2138
|
-
t.title ? (
|
|
1930
|
+
}, Ga = { class: "container note-feed mb-2" }, Ya = ["innerHTML"], Xa = ["action", "method"], Ja = ["value"], Qa = /* @__PURE__ */ f("button", { class: "btn btn-tertiary" }, "Submit note", -1);
|
|
1931
|
+
function Za(e, a, t, i, s, o) {
|
|
1932
|
+
const n = K("Table"), l = K("Input");
|
|
1933
|
+
return m(), h("div", Ga, [
|
|
1934
|
+
t.title ? (m(), h("span", {
|
|
2139
1935
|
key: 0,
|
|
2140
1936
|
class: "h3",
|
|
2141
1937
|
innerHTML: t.title
|
|
2142
|
-
}, null, 8,
|
|
2143
|
-
|
|
1938
|
+
}, null, 8, Ya)) : _("", !0),
|
|
1939
|
+
M(n, C({
|
|
2144
1940
|
fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
|
|
2145
1941
|
items: s.itemsData
|
|
2146
1942
|
}, e.$props, { class: "mb-0" }), null, 16, ["items"]),
|
|
@@ -2153,24 +1949,24 @@ function ui(e, a, t, i, s, o) {
|
|
|
2153
1949
|
type: "hidden",
|
|
2154
1950
|
value: t.user,
|
|
2155
1951
|
name: "user"
|
|
2156
|
-
}, null, 8,
|
|
2157
|
-
|
|
1952
|
+
}, null, 8, Ja),
|
|
1953
|
+
M(l, {
|
|
2158
1954
|
id: "addNote",
|
|
2159
1955
|
type: "textarea",
|
|
2160
1956
|
label: "Add note",
|
|
2161
1957
|
required: "",
|
|
2162
1958
|
class: "mw-100"
|
|
2163
1959
|
}),
|
|
2164
|
-
|
|
2165
|
-
], 40,
|
|
1960
|
+
Qa
|
|
1961
|
+
], 40, Xa)
|
|
2166
1962
|
]);
|
|
2167
1963
|
}
|
|
2168
|
-
const
|
|
1964
|
+
const Oi = /* @__PURE__ */ y(Ka, [["render", Za]]);
|
|
2169
1965
|
/*!
|
|
2170
|
-
* iamKey v5.1.0-
|
|
1966
|
+
* iamKey v5.1.0-beta8
|
|
2171
1967
|
* Copyright 2022-2023 iamproperty
|
|
2172
1968
|
*/
|
|
2173
|
-
function
|
|
1969
|
+
function ti(e, a) {
|
|
2174
1970
|
function t(i, s) {
|
|
2175
1971
|
let o = !1, n = s.getAttribute("name");
|
|
2176
1972
|
n.includes("[]") && (n = n.replace("[]", `[${s.value}]`));
|
|
@@ -2179,9 +1975,9 @@ function mi(e, a) {
|
|
|
2179
1975
|
let d = s.getAttribute("data-filter-text");
|
|
2180
1976
|
if (l || (l = document.createElement("button"), i.appendChild(l)), l.setAttribute("type", "button"), l.classList.add("filter"), l.setAttribute("data-name", n), l.innerHTML = d.replace("$value", s.value), (!s.value || o) && l.remove(), s.parentNode.closest("[data-filter-text]")) {
|
|
2181
1977
|
let r = s.parentNode.closest("[data-filter-text]"), p = !0;
|
|
2182
|
-
if (n = "", r.querySelectorAll("input").forEach((c,
|
|
1978
|
+
if (n = "", r.querySelectorAll("input").forEach((c, u) => {
|
|
2183
1979
|
let g = c.getAttribute("name");
|
|
2184
|
-
if (n += `${
|
|
1980
|
+
if (n += `${u != 0 ? "," : ""}${g}`, i.querySelector(`[data-name="${g}"]`) && i.querySelector(`[data-name="${g}"]`).remove(), c.value) {
|
|
2185
1981
|
let b = document.createElement("button");
|
|
2186
1982
|
b.setAttribute("type", "button"), b.classList.add("filter"), b.setAttribute("data-name", g), b.innerHTML = d.replace("$value", c.value), i.appendChild(b);
|
|
2187
1983
|
} else
|
|
@@ -2189,11 +1985,11 @@ function mi(e, a) {
|
|
|
2189
1985
|
}), i.querySelector(`[data-name="${n}"]`) && i.querySelector(`[data-name="${n}"]`).remove(), p) {
|
|
2190
1986
|
let c = r.getAttribute("data-filter-text");
|
|
2191
1987
|
r.querySelectorAll("input").forEach((g, b) => {
|
|
2192
|
-
let
|
|
2193
|
-
i.querySelector(`[data-name="${
|
|
1988
|
+
let x = g.getAttribute("name");
|
|
1989
|
+
i.querySelector(`[data-name="${x}"]`) && i.querySelector(`[data-name="${x}"]`).remove(), c = c.replace(`$${b + 1}`, g.value);
|
|
2194
1990
|
});
|
|
2195
|
-
let
|
|
2196
|
-
|
|
1991
|
+
let u = document.createElement("button");
|
|
1992
|
+
u.setAttribute("type", "button"), u.classList.add("filter"), u.setAttribute("data-name", n), u.innerHTML = c, i.appendChild(u);
|
|
2197
1993
|
}
|
|
2198
1994
|
}
|
|
2199
1995
|
}
|
|
@@ -2231,7 +2027,7 @@ function mi(e, a) {
|
|
|
2231
2027
|
}, !1);
|
|
2232
2028
|
}
|
|
2233
2029
|
window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "Applied Filters" });
|
|
2234
|
-
class
|
|
2030
|
+
class ei extends HTMLElement {
|
|
2235
2031
|
constructor() {
|
|
2236
2032
|
super(), this.attachShadow({ mode: "open" });
|
|
2237
2033
|
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`;
|
|
@@ -2249,27 +2045,27 @@ class hi extends HTMLElement {
|
|
|
2249
2045
|
`, this.shadowRoot.appendChild(s.content.cloneNode(!0));
|
|
2250
2046
|
}
|
|
2251
2047
|
connectedCallback() {
|
|
2252
|
-
|
|
2048
|
+
ti(this, this.shadowRoot.querySelector(".applied-filters"));
|
|
2253
2049
|
}
|
|
2254
2050
|
}
|
|
2255
|
-
window.customElements.get("iam-applied-filters") || window.customElements.define("iam-applied-filters",
|
|
2256
|
-
const
|
|
2051
|
+
window.customElements.get("iam-applied-filters") || window.customElements.define("iam-applied-filters", ei);
|
|
2052
|
+
const ai = {
|
|
2257
2053
|
name: "Header"
|
|
2258
2054
|
};
|
|
2259
|
-
function
|
|
2260
|
-
return
|
|
2261
|
-
|
|
2055
|
+
function ii(e, a, t, i, s, o) {
|
|
2056
|
+
return m(), h("iam-applied-filters", null, [
|
|
2057
|
+
v(e.$slots, "default")
|
|
2262
2058
|
]);
|
|
2263
2059
|
}
|
|
2264
|
-
const
|
|
2060
|
+
const Bi = /* @__PURE__ */ y(ai, [["render", ii]]);
|
|
2265
2061
|
/*!
|
|
2266
|
-
* iamKey v5.1.0-
|
|
2062
|
+
* iamKey v5.1.0-beta8
|
|
2267
2063
|
* Copyright 2022-2023 iamproperty
|
|
2268
2064
|
*/
|
|
2269
|
-
function
|
|
2270
|
-
|
|
2065
|
+
function ni(e, a) {
|
|
2066
|
+
oi(e, a);
|
|
2271
2067
|
}
|
|
2272
|
-
function
|
|
2068
|
+
function oi(e, a) {
|
|
2273
2069
|
var t;
|
|
2274
2070
|
a.addEventListener("keyup", (i) => {
|
|
2275
2071
|
clearTimeout(t), t = setTimeout(function() {
|
|
@@ -2286,7 +2082,7 @@ const Z = function(e, a) {
|
|
|
2286
2082
|
}), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Filtered list", value: a });
|
|
2287
2083
|
};
|
|
2288
2084
|
window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "filterlist" });
|
|
2289
|
-
class
|
|
2085
|
+
class ri extends HTMLElement {
|
|
2290
2086
|
constructor() {
|
|
2291
2087
|
super(), this.attachShadow({ mode: "open" });
|
|
2292
2088
|
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`, i = document.createElement("template");
|
|
@@ -2321,20 +2117,20 @@ class yi extends HTMLElement {
|
|
|
2321
2117
|
}
|
|
2322
2118
|
connectedCallback() {
|
|
2323
2119
|
let a = this.classList.toString();
|
|
2324
|
-
this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${a}`), this.querySelector("i.fa-search") || (this.innerHTML += '<i class="fa fa-light fa-search" aria-hidden="true" slot="icon"></i>'),
|
|
2120
|
+
this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${a}`), this.querySelector("i.fa-search") || (this.innerHTML += '<i class="fa fa-light fa-search" aria-hidden="true" slot="icon"></i>'), ni(this.querySelector("ul"), this.shadowRoot.querySelector("#search"));
|
|
2325
2121
|
}
|
|
2326
2122
|
}
|
|
2327
|
-
window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist",
|
|
2328
|
-
const
|
|
2123
|
+
window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist", ri);
|
|
2124
|
+
const si = {
|
|
2329
2125
|
name: "Filter list"
|
|
2330
2126
|
};
|
|
2331
|
-
function
|
|
2332
|
-
return
|
|
2333
|
-
|
|
2127
|
+
function li(e, a, t, i, s, o) {
|
|
2128
|
+
return m(), h("iam-filterlist", null, [
|
|
2129
|
+
v(e.$slots, "default")
|
|
2334
2130
|
]);
|
|
2335
2131
|
}
|
|
2336
|
-
const
|
|
2337
|
-
function
|
|
2132
|
+
const Ui = /* @__PURE__ */ y(si, [["render", li]]);
|
|
2133
|
+
function di(e) {
|
|
2338
2134
|
if (e.hasAttribute("data-type") && e.getAttribute("data-type") == "toast") {
|
|
2339
2135
|
let t = document.querySelector(".notification__holder");
|
|
2340
2136
|
t || (t = document.createElement("div"), t.classList.add("notification__holder"), t.classList.add("container"), document.querySelector("body").appendChild(t)), e.closest(".notification__holder") || t.appendChild(e);
|
|
@@ -2343,7 +2139,7 @@ function _i(e) {
|
|
|
2343
2139
|
event && event.target instanceof HTMLElement && event.target.closest("[data-dismiss-button]") && (t.preventDefault(), X(e));
|
|
2344
2140
|
}, !1), e.hasAttribute("data-timeout")) {
|
|
2345
2141
|
let t = e.getAttribute("data-timeout");
|
|
2346
|
-
var a = new
|
|
2142
|
+
var a = new ci(function() {
|
|
2347
2143
|
X(e);
|
|
2348
2144
|
}, t);
|
|
2349
2145
|
e.addEventListener("mouseenter", (i) => {
|
|
@@ -2353,7 +2149,7 @@ function _i(e) {
|
|
|
2353
2149
|
});
|
|
2354
2150
|
}
|
|
2355
2151
|
}
|
|
2356
|
-
function
|
|
2152
|
+
function ci(e, a) {
|
|
2357
2153
|
var t, i, s = a;
|
|
2358
2154
|
this.pause = function() {
|
|
2359
2155
|
window.clearTimeout(t), s -= /* @__PURE__ */ new Date() - i;
|
|
@@ -2369,7 +2165,7 @@ window.dataLayer.push({
|
|
|
2369
2165
|
event: "customElementRegistered",
|
|
2370
2166
|
element: "Notification"
|
|
2371
2167
|
});
|
|
2372
|
-
class
|
|
2168
|
+
class ui extends HTMLElement {
|
|
2373
2169
|
constructor() {
|
|
2374
2170
|
super(), this.attachShadow({ mode: "open" });
|
|
2375
2171
|
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`, i = `@import "${a}/css/components/notification.css";`, s = `@import "${a}/css/components/notification.global.css";`, o = this.querySelectorAll("a,button");
|
|
@@ -2409,31 +2205,31 @@ class xi extends HTMLElement {
|
|
|
2409
2205
|
default:
|
|
2410
2206
|
this.innerHTML += '<i class="fa-solid fa-circle-info" aria-hidden="true" slot="icon"></i>';
|
|
2411
2207
|
}
|
|
2412
|
-
|
|
2208
|
+
di(i), a && a.addEventListener("click", function(s) {
|
|
2413
2209
|
X(i);
|
|
2414
2210
|
}, !1);
|
|
2415
2211
|
}
|
|
2416
2212
|
}
|
|
2417
|
-
const
|
|
2213
|
+
const mi = {
|
|
2418
2214
|
name: "Notification",
|
|
2419
2215
|
props: {},
|
|
2420
2216
|
created() {
|
|
2421
2217
|
this.$nextTick(function() {
|
|
2422
|
-
window.customElements.get("iam-notification") || window.customElements.define("iam-notification",
|
|
2218
|
+
window.customElements.get("iam-notification") || window.customElements.define("iam-notification", ui);
|
|
2423
2219
|
});
|
|
2424
2220
|
}
|
|
2425
2221
|
};
|
|
2426
|
-
function
|
|
2427
|
-
return
|
|
2428
|
-
|
|
2222
|
+
function hi(e, a, t, i, s, o) {
|
|
2223
|
+
return m(), h("iam-notification", null, [
|
|
2224
|
+
v(e.$slots, "default")
|
|
2429
2225
|
]);
|
|
2430
2226
|
}
|
|
2431
|
-
const
|
|
2227
|
+
const Vi = /* @__PURE__ */ y(mi, [["render", hi]]), pi = {
|
|
2432
2228
|
name: "Actionbar",
|
|
2433
2229
|
props: {},
|
|
2434
2230
|
mounted() {
|
|
2435
2231
|
this.$nextTick(function() {
|
|
2436
|
-
|
|
2232
|
+
N(/* @__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-2e1c3731.mjs") }), "../../../assets/js/components/actionbar/actionbar.component.js").then((e) => {
|
|
2437
2233
|
window.customElements.get("iam-actionbar") || window.customElements.define("iam-actionbar", e.default);
|
|
2438
2234
|
}).catch((e) => {
|
|
2439
2235
|
console.log(e.message);
|
|
@@ -2441,12 +2237,12 @@ const an = /* @__PURE__ */ y(ki, [["render", Li]]), Si = {
|
|
|
2441
2237
|
});
|
|
2442
2238
|
}
|
|
2443
2239
|
};
|
|
2444
|
-
function
|
|
2445
|
-
return
|
|
2446
|
-
|
|
2240
|
+
function bi(e, a, t, i, s, o) {
|
|
2241
|
+
return m(), h("iam-actionbar", null, [
|
|
2242
|
+
v(e.$slots, "default")
|
|
2447
2243
|
]);
|
|
2448
2244
|
}
|
|
2449
|
-
const
|
|
2245
|
+
const Wi = /* @__PURE__ */ y(pi, [["render", bi]]), fi = {
|
|
2450
2246
|
name: "Pagination",
|
|
2451
2247
|
props: {},
|
|
2452
2248
|
computed: {},
|
|
@@ -2458,14 +2254,14 @@ const nn = /* @__PURE__ */ y(Si, [["render", $i]]), qi = {
|
|
|
2458
2254
|
updated() {
|
|
2459
2255
|
}
|
|
2460
2256
|
};
|
|
2461
|
-
function
|
|
2462
|
-
return
|
|
2257
|
+
function gi(e, a, t, i, s, o) {
|
|
2258
|
+
return m(), h("iam-pagination");
|
|
2463
2259
|
}
|
|
2464
|
-
const
|
|
2260
|
+
const Ki = /* @__PURE__ */ y(fi, [["render", gi]]), yi = {
|
|
2465
2261
|
name: "Address Lookup",
|
|
2466
2262
|
mounted() {
|
|
2467
2263
|
this.$nextTick(function() {
|
|
2468
|
-
|
|
2264
|
+
N(/* @__PURE__ */ Object.assign({ "../../../assets/js/components/address-lookup/address-lookup.component.js": () => import("./address-lookup.component-53821bfb.mjs"), "../../../assets/js/components/address-lookup/address-lookup.component.min.js": () => import("./address-lookup.component.min-4ceee9e9.mjs") }), "../../../assets/js/components/address-lookup/address-lookup.component.js").then((e) => {
|
|
2469
2265
|
window.customElements.get("iam-address-lookup") || window.customElements.define("iam-address-lookup", e.default);
|
|
2470
2266
|
}).catch((e) => {
|
|
2471
2267
|
console.log(e.message);
|
|
@@ -2473,18 +2269,18 @@ const on = /* @__PURE__ */ y(qi, [["render", Ei]]), Ti = {
|
|
|
2473
2269
|
});
|
|
2474
2270
|
}
|
|
2475
2271
|
};
|
|
2476
|
-
function
|
|
2477
|
-
return
|
|
2478
|
-
|
|
2272
|
+
function wi(e, a, t, i, s, o) {
|
|
2273
|
+
return m(), h("iam-address-lookup", null, [
|
|
2274
|
+
v(e.$slots, "default")
|
|
2479
2275
|
]);
|
|
2480
2276
|
}
|
|
2481
|
-
const
|
|
2277
|
+
const Gi = /* @__PURE__ */ y(yi, [["render", wi]]);
|
|
2482
2278
|
/*!
|
|
2483
|
-
* iamKey v5.1.0-
|
|
2279
|
+
* iamKey v5.1.0-beta8
|
|
2484
2280
|
* Copyright 2022-2023 iamproperty
|
|
2485
2281
|
*/
|
|
2486
2282
|
window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "collapsible side menu" });
|
|
2487
|
-
class
|
|
2283
|
+
class vi extends HTMLElement {
|
|
2488
2284
|
constructor() {
|
|
2489
2285
|
super(), this.attachShadow({ mode: "open" });
|
|
2490
2286
|
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`, i = document.createElement("template");
|
|
@@ -2533,45 +2329,45 @@ class Mi extends HTMLElement {
|
|
|
2533
2329
|
});
|
|
2534
2330
|
}
|
|
2535
2331
|
}
|
|
2536
|
-
window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side",
|
|
2537
|
-
const
|
|
2332
|
+
window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side", vi);
|
|
2333
|
+
const _i = {
|
|
2538
2334
|
name: "CollapsibleSideMenu",
|
|
2539
2335
|
props: {},
|
|
2540
2336
|
mounted() {
|
|
2541
2337
|
}
|
|
2542
2338
|
};
|
|
2543
|
-
function
|
|
2544
|
-
return
|
|
2545
|
-
|
|
2339
|
+
function xi(e, a, t, i, s, o) {
|
|
2340
|
+
return m(), h("iam-collapsible-side", null, [
|
|
2341
|
+
v(e.$slots, "default")
|
|
2546
2342
|
]);
|
|
2547
2343
|
}
|
|
2548
|
-
const
|
|
2344
|
+
const Yi = /* @__PURE__ */ y(_i, [["render", xi]]);
|
|
2549
2345
|
export {
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2346
|
+
Si as Accordion,
|
|
2347
|
+
qi as AccordionItem,
|
|
2348
|
+
Wi as Actionbar,
|
|
2349
|
+
Gi as AddressLookup,
|
|
2350
|
+
Bi as AppliedFilters,
|
|
2351
|
+
Ei as Banner,
|
|
2352
|
+
Ti as Card,
|
|
2353
|
+
Hi as Carousel,
|
|
2354
|
+
Yi as CollapsibleSideMenu,
|
|
2355
|
+
$i as FileUpload,
|
|
2356
|
+
Ui as Filterlist,
|
|
2357
|
+
Mi as Header,
|
|
2562
2358
|
st as Input,
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2359
|
+
Li as Logo,
|
|
2360
|
+
Ri as Nav,
|
|
2361
|
+
Oi as NoteFeed,
|
|
2362
|
+
Vi as Notification,
|
|
2363
|
+
Ki as Pagination,
|
|
2364
|
+
Di as PropertySearchbar,
|
|
2365
|
+
zi as Snapshot,
|
|
2366
|
+
Fi as Step,
|
|
2367
|
+
Ni as Stepper,
|
|
2368
|
+
Ii as Tab,
|
|
2573
2369
|
rt as Table,
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2370
|
+
Pi as Tabs,
|
|
2371
|
+
ji as Testimonial,
|
|
2372
|
+
Ci as Timeline
|
|
2577
2373
|
};
|