@iamproperty/components 5.6.1-beta2 → 5.6.1-beta4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/components/collapsible-side.css +1 -1
- package/assets/css/components/collapsible-side.css.map +1 -1
- package/assets/js/components/accordion/accordion.component.min.js +1 -1
- package/assets/js/components/actionbar/actionbar.component.min.js +1 -1
- package/assets/js/components/address-lookup/address-lookup.component.js +3 -3
- package/assets/js/components/address-lookup/address-lookup.component.min.js +6 -6
- package/assets/js/components/address-lookup/address-lookup.component.min.js.map +1 -1
- package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
- package/assets/js/components/card/card.component.min.js +1 -1
- package/assets/js/components/carousel/carousel.component.min.js +1 -1
- package/assets/js/components/collapsible-side/collapsible-side.component.js +5 -5
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js +7 -7
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js.map +1 -1
- package/assets/js/components/fileupload/fileupload.component.min.js +1 -1
- package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
- package/assets/js/components/header/header.component.min.js +1 -1
- package/assets/js/components/inline-edit/inline-edit.component.min.js +1 -1
- package/assets/js/components/marketing/marketing.component.min.js +1 -1
- package/assets/js/components/multiselect/multiselect.component.min.js +1 -1
- package/assets/js/components/nav/nav.component.min.js +1 -1
- package/assets/js/components/notification/notification.component.min.js +1 -1
- package/assets/js/components/pagination/pagination.component.min.js +1 -1
- package/assets/js/components/search/search.component.min.js +1 -1
- package/assets/js/components/slider/slider.component.min.js +1 -1
- package/assets/js/components/table/table.component.min.js +1 -1
- package/assets/js/components/tabs/tabs.component.min.js +1 -1
- package/assets/js/dynamic.min.js +1 -1
- package/assets/js/scripts.bundle.js +1 -1
- package/assets/js/scripts.bundle.min.js +1 -1
- package/assets/sass/components/collapsible-side.scss +8 -1
- package/assets/ts/components/address-lookup/address-lookup.component.ts +3 -3
- package/assets/ts/components/collapsible-side/collapsible-side.component.ts +5 -5
- package/dist/components.es.js +439 -440
- package/dist/components.umd.js +18 -22
- package/package.json +1 -1
- package/src/components/CollapsibleSideMenu/CollapsibleSideMenu.vue +1 -1
package/dist/components.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
const p = (t,
|
|
1
|
+
import { openBlock as l, createElementBlock as r, normalizeClass as g, createElementVNode as d, toDisplayString as _, createCommentVNode as h, renderSlot as m, Fragment as k, renderList as L, withDirectives as T, mergeProps as A, vModelDynamic as E, vModelText as I, vModelSelect as D, createTextVNode as F, resolveComponent as H, createVNode as $, withModifiers as V } from "vue";
|
|
2
|
+
const p = (t, s) => {
|
|
3
3
|
const e = t.__vccOpts || t;
|
|
4
|
-
for (const [
|
|
5
|
-
e[
|
|
4
|
+
for (const [n, o] of s)
|
|
5
|
+
e[n] = o;
|
|
6
6
|
return e;
|
|
7
7
|
}, B = {
|
|
8
8
|
name: "Logo",
|
|
@@ -29,24 +29,24 @@ const p = (t, i) => {
|
|
|
29
29
|
return "brand brand--" + this.id;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
},
|
|
33
|
-
function W(t,
|
|
34
|
-
return
|
|
35
|
-
class:
|
|
32
|
+
}, O = ["xlink:href"], U = ["innerHTML"];
|
|
33
|
+
function W(t, s, e, n, o, a) {
|
|
34
|
+
return l(), r("div", {
|
|
35
|
+
class: g(a.className)
|
|
36
36
|
}, [
|
|
37
|
-
(
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
(l(), r("svg", null, [
|
|
38
|
+
d("title", null, "iam " + _(e.id), 1),
|
|
39
|
+
d("use", {
|
|
40
40
|
"xlink:href": e.path + a.src
|
|
41
|
-
}, null, 8,
|
|
41
|
+
}, null, 8, O)
|
|
42
42
|
])),
|
|
43
|
-
e.desc ? (
|
|
43
|
+
e.desc ? (l(), r("span", {
|
|
44
44
|
key: 0,
|
|
45
45
|
innerHTML: e.desc
|
|
46
|
-
}, null, 8,
|
|
46
|
+
}, null, 8, U)) : h("", !0)
|
|
47
47
|
], 2);
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const Ps = /* @__PURE__ */ p(B, [["render", W]]), K = (t) => t.charAt(0).toUpperCase() + t.slice(1), G = (t) => t.replace(/_/g, " "), Q = (t) => t.replace(/ /g, "_"), Y = function(t) {
|
|
50
50
|
return t = t.toLowerCase(), t = Q(t), t = t.replace(/\W/g, ""), t;
|
|
51
51
|
}, J = {
|
|
52
52
|
name: "Table",
|
|
@@ -71,7 +71,7 @@ const Pi = /* @__PURE__ */ p(B, [["render", W]]), K = (t) => t.charAt(0).toUpper
|
|
|
71
71
|
window.customElements.get("iam-table") || window.customElements.define("iam-table", t.default);
|
|
72
72
|
}).catch((t) => {
|
|
73
73
|
console.log(t.message);
|
|
74
|
-
}), Promise.resolve().then(() =>
|
|
74
|
+
}), Promise.resolve().then(() => xs).then((t) => {
|
|
75
75
|
window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination", t.default);
|
|
76
76
|
}).catch((t) => {
|
|
77
77
|
console.log(t.message);
|
|
@@ -81,23 +81,23 @@ const Pi = /* @__PURE__ */ p(B, [["render", W]]), K = (t) => t.charAt(0).toUpper
|
|
|
81
81
|
updated() {
|
|
82
82
|
}
|
|
83
83
|
}, X = { key: 0 }, Z = { key: 0 }, ee = ["data-row-id"], te = ["innerHTML"];
|
|
84
|
-
function
|
|
85
|
-
return
|
|
84
|
+
function se(t, s, e, n, o, a) {
|
|
85
|
+
return l(), r("iam-table", null, [
|
|
86
86
|
m(t.$slots, "before"),
|
|
87
|
-
e.fields ? (
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
(
|
|
91
|
-
key:
|
|
92
|
-
}, _(a.cellHeading(
|
|
87
|
+
e.fields ? (l(), r("table", X, [
|
|
88
|
+
d("thead", null, [
|
|
89
|
+
d("tr", null, [
|
|
90
|
+
(l(!0), r(k, null, L(e.fields, (i) => (l(), r("th", {
|
|
91
|
+
key: i.key
|
|
92
|
+
}, _(a.cellHeading(i.key)), 1))), 128))
|
|
93
93
|
])
|
|
94
94
|
]),
|
|
95
|
-
e.items ? (
|
|
96
|
-
(
|
|
97
|
-
key:
|
|
98
|
-
"data-row-id":
|
|
95
|
+
e.items ? (l(), r("tbody", Z, [
|
|
96
|
+
(l(!0), r(k, null, L(e.items, (i, c) => (l(), r("tr", {
|
|
97
|
+
key: c,
|
|
98
|
+
"data-row-id": i.rowid
|
|
99
99
|
}, [
|
|
100
|
-
(
|
|
100
|
+
(l(!0), r(k, null, L(Object.fromEntries(Object.entries(i).filter(([u]) => u !== "rowid")), (u, b) => (l(), r("td", {
|
|
101
101
|
key: b,
|
|
102
102
|
innerHTML: u
|
|
103
103
|
}, null, 8, te))), 128))
|
|
@@ -106,7 +106,7 @@ function ie(t, i, e, s, o, a) {
|
|
|
106
106
|
])) : m(t.$slots, "default", { key: 1 })
|
|
107
107
|
]);
|
|
108
108
|
}
|
|
109
|
-
const N = /* @__PURE__ */ p(J, [["render",
|
|
109
|
+
const N = /* @__PURE__ */ p(J, [["render", se]]), ae = {
|
|
110
110
|
name: "Input",
|
|
111
111
|
props: {
|
|
112
112
|
value: {
|
|
@@ -281,8 +281,8 @@ const N = /* @__PURE__ */ p(J, [["render", ie]]), ae = {
|
|
|
281
281
|
this.$nextTick(function() {
|
|
282
282
|
let t = this.$refs.wrapper;
|
|
283
283
|
if (t.parentNode && t.parentNode.classList.contains("form-check") || t.classList.length == 0) {
|
|
284
|
-
const
|
|
285
|
-
Array.from(t.childNodes).forEach((e) =>
|
|
284
|
+
const s = document.createDocumentFragment();
|
|
285
|
+
Array.from(t.childNodes).forEach((e) => s.appendChild(e)), t.parentNode.insertBefore(s, t), t.parentNode.removeChild(t);
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
288
|
},
|
|
@@ -294,40 +294,40 @@ const N = /* @__PURE__ */ p(J, [["render", ie]]), ae = {
|
|
|
294
294
|
this.$emit("bus");
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
|
-
},
|
|
297
|
+
}, ie = ["for", "innerHTML", "title"], ne = ["innerHTML"], oe = ["innerHTML"], le = ["type", "name", "id", "pattern", "list"], re = ["type", "name", "id", "pattern"], ce = {
|
|
298
298
|
key: 5,
|
|
299
299
|
class: "input-group"
|
|
300
|
-
},
|
|
300
|
+
}, de = ["type", "name", "id", "pattern", "list"], ue = { class: "input-group-text border-0 col-2 col-sm-1 px-0" }, me = {
|
|
301
301
|
key: 6,
|
|
302
302
|
class: "input-group"
|
|
303
|
-
}, pe = ["type", "name", "id", "pattern", "list"], he = { class: "input-group-text flex-fill" }, fe = ["type", "name", "id", "pattern"], be = ["value"],
|
|
304
|
-
function
|
|
305
|
-
return
|
|
306
|
-
class:
|
|
303
|
+
}, pe = ["type", "name", "id", "pattern", "list"], he = { class: "input-group-text flex-fill" }, fe = ["type", "name", "id", "pattern"], be = ["value"], ye = ["type", "name", "id"], ge = ["for", "innerHTML"], _e = ["type", "name", "id"], ve = ["for", "innerHTML"], we = ["innerHTML"], $e = ["id"], Ae = ["value"];
|
|
304
|
+
function ke(t, s, e, n, o, a) {
|
|
305
|
+
return l(), r("div", {
|
|
306
|
+
class: g(a.wrapperClass()),
|
|
307
307
|
ref: "wrapper"
|
|
308
308
|
}, [
|
|
309
|
-
a.needsLabel() ? (
|
|
309
|
+
a.needsLabel() ? (l(), r("label", {
|
|
310
310
|
key: 0,
|
|
311
|
-
class:
|
|
311
|
+
class: g(`form-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
|
|
312
312
|
for: e.id,
|
|
313
313
|
innerHTML: a.displayLabel(),
|
|
314
314
|
title: e.title
|
|
315
|
-
}, null, 10,
|
|
316
|
-
e.prefix ? (
|
|
315
|
+
}, null, 10, ie)) : h("", !0),
|
|
316
|
+
e.prefix ? (l(), r("span", {
|
|
317
317
|
key: 1,
|
|
318
|
-
class:
|
|
318
|
+
class: g(`prefix ${this.prefixClass} ${e.size ? `prefix-${e.size}` : ""}`),
|
|
319
319
|
innerHTML: e.prefix,
|
|
320
320
|
role: "presentation"
|
|
321
|
-
}, null, 10,
|
|
322
|
-
e.suffix ? (
|
|
321
|
+
}, null, 10, ne)) : h("", !0),
|
|
322
|
+
e.suffix ? (l(), r("span", {
|
|
323
323
|
key: 2,
|
|
324
|
-
class:
|
|
324
|
+
class: g(`suffix ${this.suffixClass} ${e.size ? `suffix-${e.size}` : ""}`),
|
|
325
325
|
innerHTML: e.suffix,
|
|
326
326
|
role: "presentation"
|
|
327
327
|
}, null, 10, oe)) : h("", !0),
|
|
328
|
-
a.isInput() ? T((
|
|
328
|
+
a.isInput() ? T((l(), r("input", A({
|
|
329
329
|
key: 3,
|
|
330
|
-
"onUpdate:modelValue":
|
|
330
|
+
"onUpdate:modelValue": s[0] || (s[0] = (i) => a.inputVal = i),
|
|
331
331
|
class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
332
332
|
type: e.type,
|
|
333
333
|
name: e.name ? e.name : e.id,
|
|
@@ -335,38 +335,38 @@ function xe(t, i, e, s, o, a) {
|
|
|
335
335
|
pattern: a.needPattern(),
|
|
336
336
|
list: a.hasOptions()
|
|
337
337
|
}, t.$attrs, {
|
|
338
|
-
onKeyup:
|
|
339
|
-
}), null, 16,
|
|
338
|
+
onKeyup: s[1] || (s[1] = (...i) => a.inputKeyup && a.inputKeyup(...i))
|
|
339
|
+
}), null, 16, le)), [
|
|
340
340
|
[E, a.inputVal]
|
|
341
341
|
]) : h("", !0),
|
|
342
|
-
e.type == "textarea" ? T((
|
|
342
|
+
e.type == "textarea" ? T((l(), r("textarea", A({
|
|
343
343
|
key: 4,
|
|
344
|
-
"onUpdate:modelValue":
|
|
344
|
+
"onUpdate:modelValue": s[2] || (s[2] = (i) => a.inputVal = i),
|
|
345
345
|
class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
346
346
|
type: e.type,
|
|
347
347
|
name: e.name ? e.name : e.id,
|
|
348
348
|
id: e.id,
|
|
349
349
|
pattern: a.needPattern()
|
|
350
|
-
}, t.$attrs), null, 16,
|
|
350
|
+
}, t.$attrs), null, 16, re)), [
|
|
351
351
|
[I, a.inputVal]
|
|
352
352
|
]) : h("", !0),
|
|
353
|
-
e.type == "range" ? (
|
|
354
|
-
T(
|
|
355
|
-
"onUpdate:modelValue":
|
|
353
|
+
e.type == "range" ? (l(), r("div", ce, [
|
|
354
|
+
T(d("input", A({
|
|
355
|
+
"onUpdate:modelValue": s[3] || (s[3] = (i) => a.inputVal = i),
|
|
356
356
|
class: `form-range${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
357
357
|
type: e.type,
|
|
358
358
|
name: e.name ? e.name : e.id,
|
|
359
359
|
id: e.id,
|
|
360
360
|
pattern: a.needPattern(),
|
|
361
361
|
list: a.hasOptions()
|
|
362
|
-
}, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16,
|
|
362
|
+
}, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, de), [
|
|
363
363
|
[E, a.inputVal]
|
|
364
364
|
]),
|
|
365
|
-
|
|
365
|
+
d("output", ue, _(e.value), 1)
|
|
366
366
|
])) : h("", !0),
|
|
367
|
-
e.type == "color" ? (
|
|
368
|
-
T(
|
|
369
|
-
"onUpdate:modelValue":
|
|
367
|
+
e.type == "color" ? (l(), r("div", me, [
|
|
368
|
+
T(d("input", A({
|
|
369
|
+
"onUpdate:modelValue": s[4] || (s[4] = (i) => a.inputVal = i),
|
|
370
370
|
class: `form-control form-control-color${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
371
371
|
type: e.type,
|
|
372
372
|
name: e.name ? e.name : e.id,
|
|
@@ -376,38 +376,38 @@ function xe(t, i, e, s, o, a) {
|
|
|
376
376
|
}, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, pe), [
|
|
377
377
|
[E, a.inputVal]
|
|
378
378
|
]),
|
|
379
|
-
|
|
379
|
+
d("output", he, _(e.value ? t.vale : "#000000"), 1)
|
|
380
380
|
])) : h("", !0),
|
|
381
|
-
e.type == "select" ? T((
|
|
381
|
+
e.type == "select" ? T((l(), r("select", A({
|
|
382
382
|
key: 7,
|
|
383
|
-
"onUpdate:modelValue":
|
|
383
|
+
"onUpdate:modelValue": s[5] || (s[5] = (i) => a.inputVal = i),
|
|
384
384
|
class: `form-select${e.size ? ` form-select-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
385
385
|
type: e.type,
|
|
386
386
|
name: e.id,
|
|
387
387
|
id: e.id,
|
|
388
388
|
pattern: a.needPattern()
|
|
389
389
|
}, t.$attrs), [
|
|
390
|
-
(
|
|
391
|
-
key:
|
|
392
|
-
value:
|
|
393
|
-
}, _(
|
|
390
|
+
(l(!0), r(k, null, L(e.options, (i, c) => (l(), r("option", {
|
|
391
|
+
key: c,
|
|
392
|
+
value: i.value
|
|
393
|
+
}, _(i.display ? i.display : i.value), 9, be))), 128))
|
|
394
394
|
], 16, fe)), [
|
|
395
395
|
[D, a.inputVal]
|
|
396
396
|
]) : h("", !0),
|
|
397
|
-
e.type == "checkbox" || e.type == "radio" ? (
|
|
397
|
+
e.type == "checkbox" || e.type == "radio" ? (l(), r("input", A({
|
|
398
398
|
key: 8,
|
|
399
399
|
class: "form-check-input",
|
|
400
400
|
type: e.type,
|
|
401
401
|
name: e.name ? e.name : e.id,
|
|
402
402
|
id: e.id
|
|
403
|
-
}, t.$attrs), null, 16,
|
|
404
|
-
e.type == "checkbox" || e.type == "radio" ? (
|
|
403
|
+
}, t.$attrs), null, 16, ye)) : h("", !0),
|
|
404
|
+
e.type == "checkbox" || e.type == "radio" ? (l(), r("label", {
|
|
405
405
|
key: 9,
|
|
406
|
-
class:
|
|
406
|
+
class: g(`form-label form-check-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
|
|
407
407
|
for: e.id,
|
|
408
408
|
innerHTML: e.label
|
|
409
|
-
}, null, 10,
|
|
410
|
-
e.type == "checkbox-btn" || e.type == "radio-btn" ? (
|
|
409
|
+
}, null, 10, ge)) : h("", !0),
|
|
410
|
+
e.type == "checkbox-btn" || e.type == "radio-btn" ? (l(), r("input", A({
|
|
411
411
|
key: 10,
|
|
412
412
|
class: `btn-check${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
413
413
|
type: e.type.replace("-btn", ""),
|
|
@@ -415,41 +415,41 @@ function xe(t, i, e, s, o, a) {
|
|
|
415
415
|
name: e.name ? e.name : e.id,
|
|
416
416
|
id: e.id
|
|
417
417
|
}, t.$attrs), null, 16, _e)) : h("", !0),
|
|
418
|
-
e.type == "checkbox-btn" || e.type == "radio-btn" ? (
|
|
418
|
+
e.type == "checkbox-btn" || e.type == "radio-btn" ? (l(), r("label", {
|
|
419
419
|
key: 11,
|
|
420
|
-
class:
|
|
420
|
+
class: g(`btn${e.labelclass ? ` ${e.labelclass}` : ""}`),
|
|
421
421
|
for: e.id,
|
|
422
422
|
innerHTML: e.label,
|
|
423
|
-
onClick:
|
|
423
|
+
onClick: s[6] || (s[6] = (...i) => a.clickEvent && a.clickEvent(...i))
|
|
424
424
|
}, null, 10, ve)) : h("", !0),
|
|
425
425
|
m(t.$slots, "default"),
|
|
426
|
-
e.errormsg ? (
|
|
426
|
+
e.errormsg ? (l(), r("span", {
|
|
427
427
|
key: 12,
|
|
428
428
|
class: "invalid-feedback mb-0",
|
|
429
429
|
innerHTML: e.errormsg
|
|
430
430
|
}, null, 8, we)) : h("", !0),
|
|
431
|
-
a.allowDatalist() ? (
|
|
431
|
+
a.allowDatalist() ? (l(), r("datalist", {
|
|
432
432
|
key: 13,
|
|
433
433
|
id: e.id + "-list"
|
|
434
434
|
}, [
|
|
435
|
-
(
|
|
436
|
-
key:
|
|
437
|
-
value:
|
|
438
|
-
}, _(
|
|
435
|
+
(l(!0), r(k, null, L(e.options, (i, c) => (l(), r("option", {
|
|
436
|
+
key: c,
|
|
437
|
+
value: i.value
|
|
438
|
+
}, _(i.value), 9, Ae))), 128))
|
|
439
439
|
], 8, $e)) : h("", !0)
|
|
440
440
|
], 2);
|
|
441
441
|
}
|
|
442
|
-
const R = /* @__PURE__ */ p(ae, [["render",
|
|
443
|
-
function
|
|
444
|
-
const e =
|
|
445
|
-
if (
|
|
446
|
-
|
|
447
|
-
}),
|
|
448
|
-
if (
|
|
449
|
-
const u = new DataTransfer(), { files: b } = o,
|
|
442
|
+
const R = /* @__PURE__ */ p(ae, [["render", ke]]);
|
|
443
|
+
function Le(t, s) {
|
|
444
|
+
const e = s.querySelector(".files"), n = s.querySelector(".drop-area"), o = t.querySelector("input"), a = t.hasAttribute("data-maxsize") ? t.getAttribute("data-maxsize") : 0, i = o.cloneNode();
|
|
445
|
+
if (n.append(i), s.addEventListener("click", (c) => {
|
|
446
|
+
c && c.target instanceof HTMLElement && c.target.closest(".btn-primary") && (c.target.closest(".btn-primary"), (o.hasAttribute("multiple") ? i : o).click());
|
|
447
|
+
}), s.addEventListener("click", (c) => {
|
|
448
|
+
if (c && c.target instanceof HTMLElement && c.target.closest(".files button")) {
|
|
449
|
+
const u = new DataTransfer(), { files: b } = o, y = c.target.closest(".files button");
|
|
450
450
|
for (let v = 0; v < b.length; v++) {
|
|
451
451
|
const w = b[v];
|
|
452
|
-
w.name !=
|
|
452
|
+
w.name != y.getAttribute("data-file") && u.items.add(w);
|
|
453
453
|
}
|
|
454
454
|
if (o.files = u.files, o.files.length == 0) {
|
|
455
455
|
const v = new Event("empty");
|
|
@@ -458,38 +458,38 @@ function Ae(t, i) {
|
|
|
458
458
|
const f = new Event("change");
|
|
459
459
|
o.dispatchEvent(f);
|
|
460
460
|
}
|
|
461
|
-
}),
|
|
461
|
+
}), i.addEventListener("change", (c) => {
|
|
462
462
|
if (o.hasAttribute("multiple")) {
|
|
463
|
-
const
|
|
463
|
+
const y = [...o.files, ...i.files];
|
|
464
464
|
let f = [];
|
|
465
465
|
const v = new DataTransfer();
|
|
466
|
-
for (let w = 0; w <
|
|
467
|
-
const
|
|
468
|
-
!f.includes(
|
|
466
|
+
for (let w = 0; w < y.length; w++) {
|
|
467
|
+
const S = y[w], q = S.size / 1e3;
|
|
468
|
+
!f.includes(S.name) && (a == 0 || q < a) && v.items.add(S), f.push(S.name);
|
|
469
469
|
}
|
|
470
470
|
o.files = v.files;
|
|
471
471
|
} else
|
|
472
|
-
o.files =
|
|
472
|
+
o.files = i.files;
|
|
473
473
|
const u = new Event("change");
|
|
474
474
|
o.dispatchEvent(u);
|
|
475
475
|
const b = new Event("elementChange");
|
|
476
476
|
t.dispatchEvent(b);
|
|
477
|
-
}),
|
|
478
|
-
|
|
479
|
-
}),
|
|
480
|
-
|
|
481
|
-
}),
|
|
482
|
-
|
|
483
|
-
}), o.addEventListener("change", (
|
|
477
|
+
}), i.addEventListener("dragenter", (c) => {
|
|
478
|
+
i.classList.add("focus");
|
|
479
|
+
}), i.addEventListener("dragleave", (c) => {
|
|
480
|
+
i.classList.remove("focus");
|
|
481
|
+
}), i.addEventListener("drop", (c) => {
|
|
482
|
+
i.classList.remove("focus");
|
|
483
|
+
}), o.addEventListener("change", (c) => {
|
|
484
484
|
e.innerHTML = "";
|
|
485
485
|
for (const u of o.files)
|
|
486
486
|
e.innerHTML += `<span class="file">${u.name} <button data-file="${u.name}">Remove</button></span>`;
|
|
487
487
|
}), t.hasAttribute("data-filename")) {
|
|
488
|
-
let
|
|
489
|
-
|
|
488
|
+
let c = t.getAttribute("data-filename");
|
|
489
|
+
c && (e.innerHTML += `<span class="file">${c} <button data-file="${c}">Remove</button></span>`);
|
|
490
490
|
}
|
|
491
|
-
|
|
492
|
-
|
|
491
|
+
s.addEventListener("click", (c) => {
|
|
492
|
+
c && c.target instanceof HTMLElement && c.target.closest(".btn-primary") && (c.target.closest(".btn-primary"), (o.hasAttribute("multiple") ? i : o).click());
|
|
493
493
|
});
|
|
494
494
|
}
|
|
495
495
|
window.dataLayer = window.dataLayer || [];
|
|
@@ -497,14 +497,14 @@ window.dataLayer.push({
|
|
|
497
497
|
event: "customElementRegistered",
|
|
498
498
|
element: "fileupload"
|
|
499
499
|
});
|
|
500
|
-
class
|
|
500
|
+
class Se extends HTMLElement {
|
|
501
501
|
constructor() {
|
|
502
502
|
super(), this.attachShadow({ mode: "open" });
|
|
503
|
-
const
|
|
503
|
+
const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, n = `@import "${s}/css/components/fileupload.css";`, o = document.createElement("template");
|
|
504
504
|
o.innerHTML = `
|
|
505
505
|
<style>
|
|
506
506
|
@import "${e}";
|
|
507
|
-
${
|
|
507
|
+
${n}
|
|
508
508
|
${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
|
|
509
509
|
</style>
|
|
510
510
|
<div class="file-upload">
|
|
@@ -520,11 +520,11 @@ class Le extends HTMLElement {
|
|
|
520
520
|
}
|
|
521
521
|
connectedCallback() {
|
|
522
522
|
this.innerHTML += '<i class="fa-regular fa-arrow-up-from-bracket me-2" aria-hidden="true" slot="btn"></i>';
|
|
523
|
-
const
|
|
524
|
-
this.querySelector('[slot="helper"]') || (
|
|
523
|
+
const s = this.shadowRoot.querySelector(".file-upload"), e = this.querySelector("input"), n = this.shadowRoot.querySelector(".helper-text");
|
|
524
|
+
this.querySelector('[slot="helper"]') || (n.innerHTML = `${this.hasAttribute("data-maxsize") ? `Max file size is ${this.getAttribute("data-maxsize")}kb. ` : ""}${e.hasAttribute("accept") ? `Supported file types are ${e.getAttribute("accept")}` : ""}`), Le(this, s);
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
const
|
|
527
|
+
const xe = {
|
|
528
528
|
name: "FileUpload",
|
|
529
529
|
props: {
|
|
530
530
|
maxfilesize: {
|
|
@@ -538,22 +538,22 @@ const Se = {
|
|
|
538
538
|
},
|
|
539
539
|
mounted() {
|
|
540
540
|
this.$nextTick(function() {
|
|
541
|
-
window.customElements.get("iam-fileupload") || window.customElements.define("iam-fileupload",
|
|
541
|
+
window.customElements.get("iam-fileupload") || window.customElements.define("iam-fileupload", Se);
|
|
542
542
|
});
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
|
-
function Te(t,
|
|
546
|
-
return
|
|
545
|
+
function Te(t, s, e, n, o, a) {
|
|
546
|
+
return l(), r("iam-fileupload", null, [
|
|
547
547
|
m(t.$slots, "default")
|
|
548
548
|
]);
|
|
549
549
|
}
|
|
550
|
-
const
|
|
550
|
+
const zs = /* @__PURE__ */ p(xe, [["render", Te]]);
|
|
551
551
|
const qe = {
|
|
552
552
|
name: "Accordion",
|
|
553
553
|
props: {},
|
|
554
554
|
mounted() {
|
|
555
555
|
this.$nextTick(function() {
|
|
556
|
-
import("./accordion.component.min-
|
|
556
|
+
import("./accordion.component.min-66585476.mjs").then((t) => {
|
|
557
557
|
window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", t.default);
|
|
558
558
|
}).catch((t) => {
|
|
559
559
|
console.log(t.message);
|
|
@@ -561,12 +561,12 @@ const qe = {
|
|
|
561
561
|
});
|
|
562
562
|
}
|
|
563
563
|
}, Ee = { ref: "wrapper" };
|
|
564
|
-
function He(t,
|
|
565
|
-
return
|
|
564
|
+
function He(t, s, e, n, o, a) {
|
|
565
|
+
return l(), r("iam-accordion", Ee, [
|
|
566
566
|
m(t.$slots, "default")
|
|
567
567
|
], 512);
|
|
568
568
|
}
|
|
569
|
-
const
|
|
569
|
+
const js = /* @__PURE__ */ p(qe, [["render", He]]), Me = {
|
|
570
570
|
name: "AccordionItem",
|
|
571
571
|
props: {
|
|
572
572
|
title: {
|
|
@@ -602,21 +602,21 @@ const ji = /* @__PURE__ */ p(qe, [["render", He]]), Me = {
|
|
|
602
602
|
};
|
|
603
603
|
}
|
|
604
604
|
}, Ce = ["id"];
|
|
605
|
-
function Ne(t,
|
|
606
|
-
return
|
|
605
|
+
function Ne(t, s, e, n, o, a) {
|
|
606
|
+
return l(), r("details", {
|
|
607
607
|
id: a.createID(e.title)
|
|
608
608
|
}, [
|
|
609
|
-
|
|
609
|
+
d("summary", null, [
|
|
610
610
|
F(_(e.title), 1),
|
|
611
|
-
e.badge ? (
|
|
611
|
+
e.badge ? (l(), r("span", {
|
|
612
612
|
key: 0,
|
|
613
|
-
class:
|
|
613
|
+
class: g(`badge bg-${e.badgecolour}`)
|
|
614
614
|
}, _(e.badge), 3)) : h("", !0)
|
|
615
615
|
]),
|
|
616
616
|
m(t.$slots, "default")
|
|
617
617
|
], 8, Ce);
|
|
618
618
|
}
|
|
619
|
-
const
|
|
619
|
+
const Is = /* @__PURE__ */ p(Me, [["render", Ne]]), Re = {
|
|
620
620
|
name: "Header",
|
|
621
621
|
props: {
|
|
622
622
|
title: {
|
|
@@ -634,20 +634,20 @@ const Ii = /* @__PURE__ */ p(Me, [["render", Ne]]), Re = {
|
|
|
634
634
|
}
|
|
635
635
|
}
|
|
636
636
|
}, Pe = { class: "container" }, ze = { class: "row" }, je = { class: "col-sm-6" }, Ie = { class: "pt-5 pb-3 px-4" }, De = { class: "col-sm-6 col-md-5 ms-auto" }, Fe = ["src"];
|
|
637
|
-
function Ve(t,
|
|
638
|
-
return
|
|
639
|
-
|
|
640
|
-
class:
|
|
637
|
+
function Ve(t, s, e, n, o, a) {
|
|
638
|
+
return l(), r("div", Pe, [
|
|
639
|
+
d("div", {
|
|
640
|
+
class: g("bg-" + e.background + " mb-4")
|
|
641
641
|
}, [
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
642
|
+
d("div", ze, [
|
|
643
|
+
d("div", je, [
|
|
644
|
+
d("div", Ie, [
|
|
645
|
+
d("h2", null, _(e.title), 1),
|
|
646
646
|
m(t.$slots, "default")
|
|
647
647
|
])
|
|
648
648
|
]),
|
|
649
|
-
|
|
650
|
-
e.image ? (
|
|
649
|
+
d("div", De, [
|
|
650
|
+
e.image ? (l(), r("img", {
|
|
651
651
|
key: 0,
|
|
652
652
|
src: e.image,
|
|
653
653
|
alt: "",
|
|
@@ -658,7 +658,7 @@ function Ve(t, i, e, s, o, a) {
|
|
|
658
658
|
], 2)
|
|
659
659
|
]);
|
|
660
660
|
}
|
|
661
|
-
const
|
|
661
|
+
const Ds = /* @__PURE__ */ p(Re, [["render", Ve]]), Be = {
|
|
662
662
|
name: "Card",
|
|
663
663
|
created() {
|
|
664
664
|
this.$nextTick(function() {
|
|
@@ -670,12 +670,12 @@ const Di = /* @__PURE__ */ p(Re, [["render", Ve]]), Be = {
|
|
|
670
670
|
});
|
|
671
671
|
}
|
|
672
672
|
};
|
|
673
|
-
function
|
|
674
|
-
return
|
|
673
|
+
function Oe(t, s, e, n, o, a) {
|
|
674
|
+
return l(), r("iam-card", null, [
|
|
675
675
|
m(t.$slots, "default")
|
|
676
676
|
]);
|
|
677
677
|
}
|
|
678
|
-
const
|
|
678
|
+
const Fs = /* @__PURE__ */ p(Be, [["render", Oe]]), Ue = {
|
|
679
679
|
name: "Header",
|
|
680
680
|
props: {
|
|
681
681
|
title: {
|
|
@@ -689,7 +689,7 @@ const Fi = /* @__PURE__ */ p(Be, [["render", Ue]]), Oe = {
|
|
|
689
689
|
},
|
|
690
690
|
mounted() {
|
|
691
691
|
this.$nextTick(function() {
|
|
692
|
-
import("./carousel.component.min-
|
|
692
|
+
import("./carousel.component.min-26dac62b.mjs").then((t) => {
|
|
693
693
|
window.customElements.get("iam-carousel") || window.customElements.define("iam-carousel", t.default);
|
|
694
694
|
}).catch((t) => {
|
|
695
695
|
console.log(t.message);
|
|
@@ -697,12 +697,12 @@ const Fi = /* @__PURE__ */ p(Be, [["render", Ue]]), Oe = {
|
|
|
697
697
|
});
|
|
698
698
|
}
|
|
699
699
|
};
|
|
700
|
-
function We(t,
|
|
701
|
-
return
|
|
700
|
+
function We(t, s, e, n, o, a) {
|
|
701
|
+
return l(), r("iam-carousel", null, [
|
|
702
702
|
m(t.$slots, "default")
|
|
703
703
|
]);
|
|
704
704
|
}
|
|
705
|
-
const
|
|
705
|
+
const Vs = /* @__PURE__ */ p(Ue, [["render", We]]), Ke = {
|
|
706
706
|
name: "Header",
|
|
707
707
|
props: {
|
|
708
708
|
title: {
|
|
@@ -716,7 +716,7 @@ const Vi = /* @__PURE__ */ p(Oe, [["render", We]]), Ke = {
|
|
|
716
716
|
},
|
|
717
717
|
mounted() {
|
|
718
718
|
this.$nextTick(function() {
|
|
719
|
-
import("./header.component.min-
|
|
719
|
+
import("./header.component.min-771b9f3e.mjs").then((t) => {
|
|
720
720
|
window.customElements.get("iam-header") || window.customElements.define("iam-header", t.default);
|
|
721
721
|
}).catch((t) => {
|
|
722
722
|
console.log(t.message);
|
|
@@ -724,37 +724,37 @@ const Vi = /* @__PURE__ */ p(Oe, [["render", We]]), Ke = {
|
|
|
724
724
|
});
|
|
725
725
|
}
|
|
726
726
|
}, Ge = ["image"], Qe = ["innerHTML"];
|
|
727
|
-
function Ye(t,
|
|
728
|
-
return
|
|
727
|
+
function Ye(t, s, e, n, o, a) {
|
|
728
|
+
return l(), r("iam-header", { image: e.image }, [
|
|
729
729
|
m(t.$slots, "breadcrumb"),
|
|
730
|
-
e.title ? (
|
|
730
|
+
e.title ? (l(), r("h1", {
|
|
731
731
|
key: 0,
|
|
732
732
|
innerHTML: e.title
|
|
733
733
|
}, null, 8, Qe)) : h("", !0),
|
|
734
734
|
m(t.$slots, "default")
|
|
735
735
|
], 8, Ge);
|
|
736
736
|
}
|
|
737
|
-
const
|
|
737
|
+
const Bs = /* @__PURE__ */ p(Ke, [["render", Ye]]);
|
|
738
738
|
function Je(t) {
|
|
739
|
-
var
|
|
740
|
-
const e = t.querySelector(".testimonial__images"),
|
|
741
|
-
if (
|
|
739
|
+
var s;
|
|
740
|
+
const e = t.querySelector(".testimonial__images"), n = e.querySelectorAll("img").length;
|
|
741
|
+
if (n == 1)
|
|
742
742
|
return !1;
|
|
743
743
|
t.classList.add("testimonial--multi");
|
|
744
744
|
const o = function(a) {
|
|
745
|
-
const
|
|
746
|
-
|
|
745
|
+
const i = t.querySelector(".btn-next"), c = t.querySelector(".btn-prev");
|
|
746
|
+
i.setAttribute("data-go", a + 1), c.setAttribute("data-go", a - 1), i.removeAttribute("disabled"), c.removeAttribute("disabled"), a == 1 ? c.setAttribute("disabled", !0) : a == n && i.setAttribute("disabled", !0);
|
|
747
747
|
};
|
|
748
748
|
e.addEventListener("scroll", function(a) {
|
|
749
|
-
clearTimeout(
|
|
750
|
-
let
|
|
751
|
-
u == 0 && b != 0 && (
|
|
749
|
+
clearTimeout(s), s = setTimeout(function() {
|
|
750
|
+
let i = e.scrollWidth, c = e.scrollHeight, u = e.scrollLeft, b = e.scrollTop, y = Math.round(u / i * n) + 1;
|
|
751
|
+
u == 0 && b != 0 && (y = Math.round(b / c * n) + 1), t.setAttribute("data-show", y), o(y);
|
|
752
752
|
}, 300);
|
|
753
753
|
}, !1), t.addEventListener("click", function(a) {
|
|
754
|
-
for (var
|
|
755
|
-
if (
|
|
756
|
-
let
|
|
757
|
-
|
|
754
|
+
for (var i = a.target; i && i != this; i = i.parentNode)
|
|
755
|
+
if (i.matches("[data-go]")) {
|
|
756
|
+
let c = parseInt(i.getAttribute("data-go")), u = 0, b = 0, y = e.scrollWidth, f = e.scrollHeight;
|
|
757
|
+
y > f ? b = Math.floor(y * ((c - 1) / n)) : u = Math.floor(f * ((c - 1) / n)), e.scroll({
|
|
758
758
|
top: u,
|
|
759
759
|
left: b,
|
|
760
760
|
behavior: "smooth"
|
|
@@ -783,50 +783,50 @@ const Xe = {
|
|
|
783
783
|
class: "container testimonial mb-5",
|
|
784
784
|
"data-show": "1",
|
|
785
785
|
ref: "wrapper"
|
|
786
|
-
}, et = { class: "row" }, tt = { class: "col-md-5 position-relative" },
|
|
787
|
-
/* @__PURE__ */
|
|
786
|
+
}, et = { class: "row" }, tt = { class: "col-md-5 position-relative" }, st = { class: "testimonial__images" }, at = ["src"], it = /* @__PURE__ */ d("div", { class: "testimonial__controls" }, [
|
|
787
|
+
/* @__PURE__ */ d("button", {
|
|
788
788
|
"data-go": "0",
|
|
789
789
|
disabled: "",
|
|
790
790
|
class: "btn-prev"
|
|
791
791
|
}, "Previous"),
|
|
792
|
-
/* @__PURE__ */
|
|
792
|
+
/* @__PURE__ */ d("button", {
|
|
793
793
|
"data-go": "2",
|
|
794
794
|
class: "btn-next"
|
|
795
795
|
}, "Next")
|
|
796
|
-
], -1),
|
|
797
|
-
function mt(t,
|
|
798
|
-
return
|
|
799
|
-
|
|
800
|
-
class:
|
|
796
|
+
], -1), nt = { class: "col-md-7" }, ot = /* @__PURE__ */ d("h2", null, "What our customers think…", -1), lt = { class: "testimonial__content" }, rt = ["innerHTML"], ct = ["innerHTML"], dt = { class: "testimonial__after" }, ut = /* @__PURE__ */ d("span", { class: "circle circle--dots d-none d-md-block" }, null, -1);
|
|
797
|
+
function mt(t, s, e, n, o, a) {
|
|
798
|
+
return l(), r("div", Ze, [
|
|
799
|
+
d("div", {
|
|
800
|
+
class: g("bg-" + e.background)
|
|
801
801
|
}, [
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
(
|
|
806
|
-
key:
|
|
807
|
-
src:
|
|
802
|
+
d("div", et, [
|
|
803
|
+
d("div", tt, [
|
|
804
|
+
d("div", st, [
|
|
805
|
+
(l(!0), r(k, null, L(e.items, (i, c) => (l(), r("img", {
|
|
806
|
+
key: c,
|
|
807
|
+
src: i.image ? i.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
|
|
808
808
|
alt: "",
|
|
809
|
-
class:
|
|
809
|
+
class: g("h-100 w-100 object-cover" + (i.image ? "" : " opacity-0"))
|
|
810
810
|
}, null, 10, at))), 128))
|
|
811
811
|
]),
|
|
812
|
-
|
|
812
|
+
it
|
|
813
813
|
]),
|
|
814
|
-
|
|
814
|
+
d("div", nt, [
|
|
815
815
|
ot,
|
|
816
|
-
|
|
817
|
-
(
|
|
818
|
-
key:
|
|
819
|
-
class:
|
|
816
|
+
d("div", lt, [
|
|
817
|
+
(l(!0), r(k, null, L(e.items, (i, c) => (l(), r("blockquote", {
|
|
818
|
+
key: c,
|
|
819
|
+
class: g(i.class)
|
|
820
820
|
}, [
|
|
821
|
-
|
|
822
|
-
innerHTML:
|
|
823
|
-
}, null, 8,
|
|
824
|
-
|
|
825
|
-
innerHTML:
|
|
826
|
-
}, null, 8,
|
|
821
|
+
d("div", {
|
|
822
|
+
innerHTML: i.quote
|
|
823
|
+
}, null, 8, rt),
|
|
824
|
+
d("cite", {
|
|
825
|
+
innerHTML: i.cite
|
|
826
|
+
}, null, 8, ct)
|
|
827
827
|
], 2))), 128))
|
|
828
828
|
]),
|
|
829
|
-
|
|
829
|
+
d("div", dt, [
|
|
830
830
|
m(t.$slots, "default")
|
|
831
831
|
])
|
|
832
832
|
])
|
|
@@ -835,7 +835,7 @@ function mt(t, i, e, s, o, a) {
|
|
|
835
835
|
], 2)
|
|
836
836
|
], 512);
|
|
837
837
|
}
|
|
838
|
-
const
|
|
838
|
+
const Os = /* @__PURE__ */ p(Xe, [["render", mt]]);
|
|
839
839
|
const pt = {
|
|
840
840
|
name: "Timeline",
|
|
841
841
|
props: {
|
|
@@ -845,20 +845,20 @@ const pt = {
|
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
847
|
}, ht = { class: "timeline" }, ft = { class: "timeline__content" }, bt = ["src"];
|
|
848
|
-
function
|
|
849
|
-
return
|
|
850
|
-
|
|
848
|
+
function yt(t, s, e, n, o, a) {
|
|
849
|
+
return l(), r("div", ht, [
|
|
850
|
+
d("div", ft, [
|
|
851
851
|
m(t.$slots, "default")
|
|
852
852
|
]),
|
|
853
|
-
e.image ? (
|
|
853
|
+
e.image ? (l(), r("img", {
|
|
854
854
|
key: 0,
|
|
855
855
|
src: e.image,
|
|
856
856
|
alt: ""
|
|
857
857
|
}, null, 8, bt)) : h("", !0)
|
|
858
858
|
]);
|
|
859
859
|
}
|
|
860
|
-
const
|
|
861
|
-
const
|
|
860
|
+
const Us = /* @__PURE__ */ p(pt, [["render", yt]]);
|
|
861
|
+
const gt = {
|
|
862
862
|
components: {
|
|
863
863
|
Input: R
|
|
864
864
|
},
|
|
@@ -1007,43 +1007,43 @@ const yt = {
|
|
|
1007
1007
|
}, _t = {
|
|
1008
1008
|
class: "container",
|
|
1009
1009
|
ref: "wrapper"
|
|
1010
|
-
}, vt = { class: "property-searchbar" }, wt = ["action", "method"], $t = { class: "col-12 col-md-3" },
|
|
1010
|
+
}, vt = { class: "property-searchbar" }, wt = ["action", "method"], $t = { class: "col-12 col-md-3" }, At = { class: "col-12 col-md" }, kt = /* @__PURE__ */ d("span", { class: "form-label d-none d-md-block" }, "Price range", -1), Lt = {
|
|
1011
1011
|
class: "row",
|
|
1012
1012
|
"data-input-range": ""
|
|
1013
|
-
},
|
|
1013
|
+
}, St = { class: "col-12 col-md" }, xt = /* @__PURE__ */ d("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1), Tt = {
|
|
1014
1014
|
class: "row",
|
|
1015
1015
|
"data-input-range": ""
|
|
1016
|
-
}, qt = { class: "col-12 col-md-2" }, Et = /* @__PURE__ */
|
|
1017
|
-
/* @__PURE__ */
|
|
1016
|
+
}, qt = { class: "col-12 col-md-2" }, Et = /* @__PURE__ */ d("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
|
|
1017
|
+
/* @__PURE__ */ d("button", {
|
|
1018
1018
|
class: "btn w-100 me-0",
|
|
1019
1019
|
type: "submit",
|
|
1020
1020
|
value: "submit"
|
|
1021
1021
|
}, "Search")
|
|
1022
1022
|
], -1);
|
|
1023
|
-
function Ht(t,
|
|
1024
|
-
const
|
|
1025
|
-
return
|
|
1023
|
+
function Ht(t, s, e, n, o, a) {
|
|
1024
|
+
const i = H("Input");
|
|
1025
|
+
return l(), r("div", _t, [
|
|
1026
1026
|
m(t.$slots, "default"),
|
|
1027
|
-
|
|
1028
|
-
|
|
1027
|
+
d("div", vt, [
|
|
1028
|
+
d("form", {
|
|
1029
1029
|
class: "row",
|
|
1030
1030
|
action: e.formaction,
|
|
1031
1031
|
method: e.formmethod
|
|
1032
1032
|
}, [
|
|
1033
|
-
|
|
1034
|
-
$(
|
|
1033
|
+
d("fieldset", $t, [
|
|
1034
|
+
$(i, {
|
|
1035
1035
|
inputClass: "input--locations",
|
|
1036
1036
|
modelValue: a.locationSet,
|
|
1037
|
-
"onUpdate:modelValue":
|
|
1037
|
+
"onUpdate:modelValue": s[0] || (s[0] = (c) => a.locationSet = c),
|
|
1038
1038
|
label: "Location",
|
|
1039
1039
|
id: "location",
|
|
1040
1040
|
options: a.locationsList(),
|
|
1041
1041
|
required: "",
|
|
1042
1042
|
placeholder: "i.e. Newcastle or NE1",
|
|
1043
|
-
onKeyupEvent:
|
|
1043
|
+
onKeyupEvent: s[1] || (s[1] = (c) => a.locationKeyup(...arguments)),
|
|
1044
1044
|
ref: "search"
|
|
1045
1045
|
}, null, 8, ["modelValue", "options"]),
|
|
1046
|
-
$(
|
|
1046
|
+
$(i, {
|
|
1047
1047
|
class: "select--miles",
|
|
1048
1048
|
label: "Miles",
|
|
1049
1049
|
id: "miles",
|
|
@@ -1051,10 +1051,10 @@ function Ht(t, i, e, s, o, a) {
|
|
|
1051
1051
|
options: e.distances
|
|
1052
1052
|
}, null, 8, ["options"])
|
|
1053
1053
|
]),
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
$(
|
|
1054
|
+
d("fieldset", At, [
|
|
1055
|
+
kt,
|
|
1056
|
+
d("div", Lt, [
|
|
1057
|
+
$(i, {
|
|
1058
1058
|
class: "col-6",
|
|
1059
1059
|
label: "Minimum price",
|
|
1060
1060
|
id: "price-min",
|
|
@@ -1062,7 +1062,7 @@ function Ht(t, i, e, s, o, a) {
|
|
|
1062
1062
|
type: "select",
|
|
1063
1063
|
options: e.pricemin
|
|
1064
1064
|
}, null, 8, ["options"]),
|
|
1065
|
-
$(
|
|
1065
|
+
$(i, {
|
|
1066
1066
|
class: "col-6",
|
|
1067
1067
|
label: "Maximum price",
|
|
1068
1068
|
id: "price-max",
|
|
@@ -1072,10 +1072,10 @@ function Ht(t, i, e, s, o, a) {
|
|
|
1072
1072
|
}, null, 8, ["options"])
|
|
1073
1073
|
])
|
|
1074
1074
|
]),
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
$(
|
|
1075
|
+
d("fieldset", St, [
|
|
1076
|
+
xt,
|
|
1077
|
+
d("div", Tt, [
|
|
1078
|
+
$(i, {
|
|
1079
1079
|
class: "col-6",
|
|
1080
1080
|
label: "Minimum beds",
|
|
1081
1081
|
id: "beds-min",
|
|
@@ -1083,7 +1083,7 @@ function Ht(t, i, e, s, o, a) {
|
|
|
1083
1083
|
type: "select",
|
|
1084
1084
|
options: e.bedsmin
|
|
1085
1085
|
}, null, 8, ["options"]),
|
|
1086
|
-
$(
|
|
1086
|
+
$(i, {
|
|
1087
1087
|
class: "col-6",
|
|
1088
1088
|
label: "Maximum beds",
|
|
1089
1089
|
id: "beds-max",
|
|
@@ -1093,8 +1093,8 @@ function Ht(t, i, e, s, o, a) {
|
|
|
1093
1093
|
}, null, 8, ["options"])
|
|
1094
1094
|
])
|
|
1095
1095
|
]),
|
|
1096
|
-
|
|
1097
|
-
$(
|
|
1096
|
+
d("fieldset", qt, [
|
|
1097
|
+
$(i, {
|
|
1098
1098
|
label: "Property type",
|
|
1099
1099
|
id: "property-type",
|
|
1100
1100
|
type: "select",
|
|
@@ -1107,12 +1107,12 @@ function Ht(t, i, e, s, o, a) {
|
|
|
1107
1107
|
m(t.$slots, "after")
|
|
1108
1108
|
], 512);
|
|
1109
1109
|
}
|
|
1110
|
-
const
|
|
1110
|
+
const Ws = /* @__PURE__ */ p(gt, [["render", Ht]]), Mt = {
|
|
1111
1111
|
components: {},
|
|
1112
1112
|
name: "Nav",
|
|
1113
1113
|
mounted() {
|
|
1114
1114
|
this.$nextTick(function() {
|
|
1115
|
-
import("./nav.component.min-
|
|
1115
|
+
import("./nav.component.min-e637dda8.mjs").then((t) => {
|
|
1116
1116
|
window.customElements.get("iam-nav") || window.customElements.define("iam-nav", t.default);
|
|
1117
1117
|
}).catch((t) => {
|
|
1118
1118
|
console.log(t.message);
|
|
@@ -1121,12 +1121,12 @@ const Wi = /* @__PURE__ */ p(yt, [["render", Ht]]), Mt = {
|
|
|
1121
1121
|
},
|
|
1122
1122
|
methods: {}
|
|
1123
1123
|
}, Ct = { ref: "wrapper" };
|
|
1124
|
-
function Nt(t,
|
|
1125
|
-
return
|
|
1124
|
+
function Nt(t, s, e, n, o, a) {
|
|
1125
|
+
return l(), r("iam-nav", Ct, [
|
|
1126
1126
|
m(t.$slots, "default")
|
|
1127
1127
|
], 512);
|
|
1128
1128
|
}
|
|
1129
|
-
const
|
|
1129
|
+
const Ks = /* @__PURE__ */ p(Mt, [["render", Nt]]);
|
|
1130
1130
|
const Rt = {
|
|
1131
1131
|
name: "Stepper",
|
|
1132
1132
|
props: {
|
|
@@ -1144,21 +1144,21 @@ const Rt = {
|
|
|
1144
1144
|
key: 0,
|
|
1145
1145
|
class: "h6 stepper__start"
|
|
1146
1146
|
}, It = { class: "list-unstyled" }, Dt = { class: "h6 stepper__end" };
|
|
1147
|
-
function Ft(t,
|
|
1148
|
-
return
|
|
1149
|
-
|
|
1147
|
+
function Ft(t, s, e, n, o, a) {
|
|
1148
|
+
return l(), r("div", Pt, [
|
|
1149
|
+
d("nav", {
|
|
1150
1150
|
class: "stepper",
|
|
1151
1151
|
"aria-label": e.label ? e.label : "Progress"
|
|
1152
1152
|
}, [
|
|
1153
|
-
e.label ? (
|
|
1154
|
-
|
|
1153
|
+
e.label ? (l(), r("span", jt, _(e.label), 1)) : h("", !0),
|
|
1154
|
+
d("ol", It, [
|
|
1155
1155
|
m(t.$slots, "default")
|
|
1156
1156
|
]),
|
|
1157
|
-
|
|
1157
|
+
d("span", Dt, _(e.endlabel), 1)
|
|
1158
1158
|
], 8, zt)
|
|
1159
1159
|
]);
|
|
1160
1160
|
}
|
|
1161
|
-
const
|
|
1161
|
+
const Gs = /* @__PURE__ */ p(Rt, [["render", Ft]]);
|
|
1162
1162
|
const Vt = {
|
|
1163
1163
|
name: "Snapshot",
|
|
1164
1164
|
props: {
|
|
@@ -1170,30 +1170,30 @@ const Vt = {
|
|
|
1170
1170
|
}, Bt = {
|
|
1171
1171
|
class: "container snapshot",
|
|
1172
1172
|
ref: "wrapper"
|
|
1173
|
-
},
|
|
1174
|
-
function Gt(t,
|
|
1175
|
-
return
|
|
1173
|
+
}, Ot = { class: "row" }, Ut = ["href"], Wt = { class: "lead snapshot__title" }, Kt = { class: "stat" };
|
|
1174
|
+
function Gt(t, s, e, n, o, a) {
|
|
1175
|
+
return l(), r("div", Bt, [
|
|
1176
1176
|
m(t.$slots, "default"),
|
|
1177
|
-
|
|
1178
|
-
(
|
|
1177
|
+
d("div", Ot, [
|
|
1178
|
+
(l(!0), r(k, null, L(e.items, (i, c) => (l(), r("div", {
|
|
1179
1179
|
class: "col",
|
|
1180
|
-
key:
|
|
1180
|
+
key: c
|
|
1181
1181
|
}, [
|
|
1182
|
-
|
|
1182
|
+
i.link ? (l(), r("a", {
|
|
1183
1183
|
key: 0,
|
|
1184
|
-
href:
|
|
1185
|
-
}, "View " + _(
|
|
1186
|
-
|
|
1187
|
-
class:
|
|
1184
|
+
href: i.link
|
|
1185
|
+
}, "View " + _(i.title), 9, Ut)) : h("", !0),
|
|
1186
|
+
d("div", {
|
|
1187
|
+
class: g(`snapshot__item ${i.bg ? "bg-" + i.bg : ""}`)
|
|
1188
1188
|
}, [
|
|
1189
|
-
|
|
1190
|
-
|
|
1189
|
+
d("span", Wt, _(i.title), 1),
|
|
1190
|
+
d("span", Kt, _(i.number), 1)
|
|
1191
1191
|
], 2)
|
|
1192
1192
|
]))), 128))
|
|
1193
1193
|
])
|
|
1194
1194
|
], 512);
|
|
1195
1195
|
}
|
|
1196
|
-
const
|
|
1196
|
+
const Qs = /* @__PURE__ */ p(Vt, [["render", Gt]]), Qt = {
|
|
1197
1197
|
name: "Stepper",
|
|
1198
1198
|
props: {
|
|
1199
1199
|
url: {
|
|
@@ -1213,39 +1213,39 @@ const Qi = /* @__PURE__ */ p(Vt, [["render", Gt]]), Qt = {
|
|
|
1213
1213
|
key: 0,
|
|
1214
1214
|
class: "visually-hidden"
|
|
1215
1215
|
};
|
|
1216
|
-
function Xt(t,
|
|
1217
|
-
return
|
|
1218
|
-
|
|
1216
|
+
function Xt(t, s, e, n, o, a) {
|
|
1217
|
+
return l(), r("li", null, [
|
|
1218
|
+
d("a", {
|
|
1219
1219
|
href: e.url,
|
|
1220
|
-
class:
|
|
1220
|
+
class: g(`${e.status ? "bg-" + e.status : ""}${typeof e.current < "u" ? "current" : ""}`),
|
|
1221
1221
|
"aria-current": typeof e.current < "u" ? "step" : !1
|
|
1222
1222
|
}, [
|
|
1223
|
-
|
|
1223
|
+
d("span", null, [
|
|
1224
1224
|
m(t.$slots, "default")
|
|
1225
1225
|
]),
|
|
1226
|
-
e.status ? (
|
|
1226
|
+
e.status ? (l(), r("em", Jt, " - status: " + _(e.status), 1)) : h("", !0)
|
|
1227
1227
|
], 10, Yt)
|
|
1228
1228
|
]);
|
|
1229
1229
|
}
|
|
1230
|
-
const
|
|
1230
|
+
const Ys = /* @__PURE__ */ p(Qt, [["render", Xt]]);
|
|
1231
1231
|
const Zt = {
|
|
1232
1232
|
name: "Tabs",
|
|
1233
1233
|
created() {
|
|
1234
1234
|
this.$nextTick(function() {
|
|
1235
|
-
import("./tabs.component.min-
|
|
1235
|
+
import("./tabs.component.min-60bed978.mjs").then((t) => {
|
|
1236
1236
|
window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", t.default);
|
|
1237
1237
|
}).catch((t) => {
|
|
1238
1238
|
console.log(t.message);
|
|
1239
1239
|
});
|
|
1240
1240
|
});
|
|
1241
1241
|
}
|
|
1242
|
-
},
|
|
1243
|
-
function
|
|
1244
|
-
return
|
|
1242
|
+
}, es = { ref: "wrapper" };
|
|
1243
|
+
function ts(t, s, e, n, o, a) {
|
|
1244
|
+
return l(), r("iam-tabs", es, [
|
|
1245
1245
|
m(t.$slots, "default")
|
|
1246
1246
|
], 512);
|
|
1247
1247
|
}
|
|
1248
|
-
const
|
|
1248
|
+
const Js = /* @__PURE__ */ p(Zt, [["render", ts]]), ss = {
|
|
1249
1249
|
name: "Tab",
|
|
1250
1250
|
props: {
|
|
1251
1251
|
title: {
|
|
@@ -1267,20 +1267,20 @@ const Ji = /* @__PURE__ */ p(Zt, [["render", ti]]), ii = {
|
|
|
1267
1267
|
isDisabled: !!this.disabled
|
|
1268
1268
|
};
|
|
1269
1269
|
}
|
|
1270
|
-
},
|
|
1271
|
-
function
|
|
1272
|
-
return
|
|
1273
|
-
|
|
1270
|
+
}, as = { class: "tab" }, is = ["innerHTML"];
|
|
1271
|
+
function ns(t, s, e, n, o, a) {
|
|
1272
|
+
return l(), r("details", as, [
|
|
1273
|
+
d("summary", {
|
|
1274
1274
|
innerHTML: e.title,
|
|
1275
|
-
class:
|
|
1276
|
-
}, null, 10,
|
|
1275
|
+
class: g({ disabled: o.isDisabled })
|
|
1276
|
+
}, null, 10, is),
|
|
1277
1277
|
m(t.$slots, "default")
|
|
1278
1278
|
]);
|
|
1279
1279
|
}
|
|
1280
|
-
const
|
|
1280
|
+
const Xs = /* @__PURE__ */ p(ss, [["render", ns]]);
|
|
1281
1281
|
let P = N.props;
|
|
1282
1282
|
P.fields.required = !1;
|
|
1283
|
-
const
|
|
1283
|
+
const os = {
|
|
1284
1284
|
components: {
|
|
1285
1285
|
Table: N,
|
|
1286
1286
|
Input: R
|
|
@@ -1294,14 +1294,14 @@ const oi = {
|
|
|
1294
1294
|
methods: {
|
|
1295
1295
|
submitForm: function(t) {
|
|
1296
1296
|
console.log(this);
|
|
1297
|
-
const
|
|
1297
|
+
const s = new FormData(t.target);
|
|
1298
1298
|
let e = /* @__PURE__ */ new Date();
|
|
1299
|
-
const
|
|
1299
|
+
const n = e.getFullYear();
|
|
1300
1300
|
let o = e.getMonth() + 1, a = e.getDate();
|
|
1301
|
-
a < 10 && (a = "0" + a), o < 10 && (o = "0" + o), e = a + "/" + o + "/" +
|
|
1301
|
+
a < 10 && (a = "0" + a), o < 10 && (o = "0" + o), e = a + "/" + o + "/" + n, this.itemsData.unshift({
|
|
1302
1302
|
date_added: e,
|
|
1303
|
-
user:
|
|
1304
|
-
note:
|
|
1303
|
+
user: s.get("user"),
|
|
1304
|
+
note: s.get("addNote")
|
|
1305
1305
|
}), this.$emit("formSubmitted", t);
|
|
1306
1306
|
}
|
|
1307
1307
|
},
|
|
@@ -1326,41 +1326,41 @@ const oi = {
|
|
|
1326
1326
|
required: !1
|
|
1327
1327
|
}
|
|
1328
1328
|
}
|
|
1329
|
-
},
|
|
1330
|
-
function
|
|
1331
|
-
const
|
|
1332
|
-
return
|
|
1333
|
-
e.title ? (
|
|
1329
|
+
}, ls = { class: "container note-feed mb-2" }, rs = ["innerHTML"], cs = ["action", "method"], ds = ["value"], us = /* @__PURE__ */ d("button", { class: "btn btn-tertiary" }, "Submit note", -1);
|
|
1330
|
+
function ms(t, s, e, n, o, a) {
|
|
1331
|
+
const i = H("Table"), c = H("Input");
|
|
1332
|
+
return l(), r("div", ls, [
|
|
1333
|
+
e.title ? (l(), r("span", {
|
|
1334
1334
|
key: 0,
|
|
1335
1335
|
class: "h3",
|
|
1336
1336
|
innerHTML: e.title
|
|
1337
|
-
}, null, 8,
|
|
1338
|
-
$(
|
|
1337
|
+
}, null, 8, rs)) : h("", !0),
|
|
1338
|
+
$(i, A({
|
|
1339
1339
|
fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
|
|
1340
1340
|
items: o.itemsData
|
|
1341
1341
|
}, t.$props, { class: "mb-0" }), null, 16, ["items"]),
|
|
1342
|
-
|
|
1342
|
+
d("form", {
|
|
1343
1343
|
action: e.action,
|
|
1344
1344
|
method: e.method,
|
|
1345
|
-
onSubmit:
|
|
1345
|
+
onSubmit: s[0] || (s[0] = V((u) => a.submitForm(...arguments), ["prevent"]))
|
|
1346
1346
|
}, [
|
|
1347
|
-
|
|
1347
|
+
d("input", {
|
|
1348
1348
|
type: "hidden",
|
|
1349
1349
|
value: e.user,
|
|
1350
1350
|
name: "user"
|
|
1351
|
-
}, null, 8,
|
|
1352
|
-
$(
|
|
1351
|
+
}, null, 8, ds),
|
|
1352
|
+
$(c, {
|
|
1353
1353
|
id: "addNote",
|
|
1354
1354
|
type: "textarea",
|
|
1355
1355
|
label: "Add note",
|
|
1356
1356
|
required: "",
|
|
1357
1357
|
class: "mw-100"
|
|
1358
1358
|
}),
|
|
1359
|
-
|
|
1360
|
-
], 40,
|
|
1359
|
+
us
|
|
1360
|
+
], 40, cs)
|
|
1361
1361
|
]);
|
|
1362
1362
|
}
|
|
1363
|
-
const
|
|
1363
|
+
const Zs = /* @__PURE__ */ p(os, [["render", ms]]), ps = {
|
|
1364
1364
|
name: "Applied Filter",
|
|
1365
1365
|
mounted() {
|
|
1366
1366
|
this.$nextTick(function() {
|
|
@@ -1372,41 +1372,41 @@ const Zi = /* @__PURE__ */ p(oi, [["render", mi]]), pi = {
|
|
|
1372
1372
|
});
|
|
1373
1373
|
}
|
|
1374
1374
|
};
|
|
1375
|
-
function
|
|
1376
|
-
return
|
|
1375
|
+
function hs(t, s, e, n, o, a) {
|
|
1376
|
+
return l(), r("iam-applied-filters", null, [
|
|
1377
1377
|
m(t.$slots, "default")
|
|
1378
1378
|
]);
|
|
1379
1379
|
}
|
|
1380
|
-
const ea = /* @__PURE__ */ p(
|
|
1380
|
+
const ea = /* @__PURE__ */ p(ps, [["render", hs]]);
|
|
1381
1381
|
/*!
|
|
1382
|
-
* iamKey v5.6.1-
|
|
1382
|
+
* iamKey v5.6.1-beta4
|
|
1383
1383
|
* Copyright 2022-2024 iamproperty
|
|
1384
1384
|
*/
|
|
1385
|
-
function
|
|
1386
|
-
|
|
1385
|
+
function fs(t, s) {
|
|
1386
|
+
bs(t, s);
|
|
1387
1387
|
}
|
|
1388
|
-
function
|
|
1388
|
+
function bs(t, s) {
|
|
1389
1389
|
var e;
|
|
1390
|
-
|
|
1390
|
+
s.addEventListener("keyup", (n) => {
|
|
1391
1391
|
clearTimeout(e), e = setTimeout(function() {
|
|
1392
|
-
C(t,
|
|
1392
|
+
C(t, s.value);
|
|
1393
1393
|
}, 500);
|
|
1394
|
-
}),
|
|
1395
|
-
clearTimeout(e), C(t,
|
|
1394
|
+
}), s.addEventListener("change", (n) => {
|
|
1395
|
+
clearTimeout(e), C(t, s.value);
|
|
1396
1396
|
});
|
|
1397
1397
|
}
|
|
1398
|
-
const C = function(t,
|
|
1399
|
-
Array.from(t.querySelectorAll(":scope > li")).forEach((e,
|
|
1398
|
+
const C = function(t, s) {
|
|
1399
|
+
Array.from(t.querySelectorAll(":scope > li")).forEach((e, n) => {
|
|
1400
1400
|
let o = e.textContent.toLowerCase();
|
|
1401
|
-
e.classList.add("d-none"), o.includes(
|
|
1402
|
-
}), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Filtered list", value:
|
|
1401
|
+
e.classList.add("d-none"), o.includes(s.toLowerCase()) && e.classList.remove("d-none");
|
|
1402
|
+
}), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Filtered list", value: s });
|
|
1403
1403
|
};
|
|
1404
1404
|
window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "filterlist" });
|
|
1405
|
-
class
|
|
1405
|
+
class ys extends HTMLElement {
|
|
1406
1406
|
constructor() {
|
|
1407
1407
|
super(), this.attachShadow({ mode: "open" });
|
|
1408
|
-
const
|
|
1409
|
-
|
|
1408
|
+
const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, n = document.createElement("template");
|
|
1409
|
+
n.innerHTML = `
|
|
1410
1410
|
<style>
|
|
1411
1411
|
@import "${e}";
|
|
1412
1412
|
${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
|
|
@@ -1433,24 +1433,24 @@ class gi extends HTMLElement {
|
|
|
1433
1433
|
<div class="list__wrapper">
|
|
1434
1434
|
<slot></slot>
|
|
1435
1435
|
</div>
|
|
1436
|
-
`, this.shadowRoot.appendChild(
|
|
1436
|
+
`, this.shadowRoot.appendChild(n.content.cloneNode(!0));
|
|
1437
1437
|
}
|
|
1438
1438
|
connectedCallback() {
|
|
1439
|
-
let
|
|
1440
|
-
this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${
|
|
1439
|
+
let s = this.classList.toString();
|
|
1440
|
+
this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${s}`), this.querySelector("i.fa-search") || (this.innerHTML += '<i class="fa fa-light fa-search" aria-hidden="true" slot="icon"></i>'), fs(this.querySelector("ul"), this.shadowRoot.querySelector("#search"));
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
|
-
window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist",
|
|
1444
|
-
const
|
|
1443
|
+
window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist", ys);
|
|
1444
|
+
const gs = {
|
|
1445
1445
|
name: "Filter list"
|
|
1446
1446
|
};
|
|
1447
|
-
function
|
|
1448
|
-
return
|
|
1447
|
+
function _s(t, s, e, n, o, a) {
|
|
1448
|
+
return l(), r("iam-filterlist", null, [
|
|
1449
1449
|
m(t.$slots, "default")
|
|
1450
1450
|
]);
|
|
1451
1451
|
}
|
|
1452
|
-
const ta = /* @__PURE__ */ p(
|
|
1453
|
-
function
|
|
1452
|
+
const ta = /* @__PURE__ */ p(gs, [["render", _s]]);
|
|
1453
|
+
function vs(t) {
|
|
1454
1454
|
if (t.hasAttribute("data-type") && t.getAttribute("data-type") == "toast") {
|
|
1455
1455
|
let e = document.querySelector(".notification__holder");
|
|
1456
1456
|
e || (e = document.createElement("div"), e.classList.add("notification__holder"), e.classList.add("container"), document.querySelector("body").appendChild(e)), t.closest(".notification__holder") || e.appendChild(t);
|
|
@@ -1459,22 +1459,22 @@ function vi(t) {
|
|
|
1459
1459
|
event && event.target instanceof HTMLElement && event.target.closest("[data-dismiss-button]") && (e.preventDefault(), M(t));
|
|
1460
1460
|
}, !1), t.hasAttribute("data-timeout")) {
|
|
1461
1461
|
let e = t.getAttribute("data-timeout");
|
|
1462
|
-
var
|
|
1462
|
+
var s = new ws(function() {
|
|
1463
1463
|
M(t);
|
|
1464
1464
|
}, e);
|
|
1465
|
-
t.addEventListener("mouseenter", (
|
|
1466
|
-
|
|
1467
|
-
}), t.addEventListener("mouseleave", (
|
|
1468
|
-
|
|
1465
|
+
t.addEventListener("mouseenter", (n) => {
|
|
1466
|
+
s.pause();
|
|
1467
|
+
}), t.addEventListener("mouseleave", (n) => {
|
|
1468
|
+
s.resume();
|
|
1469
1469
|
});
|
|
1470
1470
|
}
|
|
1471
1471
|
}
|
|
1472
|
-
function
|
|
1473
|
-
var e,
|
|
1472
|
+
function ws(t, s) {
|
|
1473
|
+
var e, n, o = s;
|
|
1474
1474
|
this.pause = function() {
|
|
1475
|
-
window.clearTimeout(e), o -= /* @__PURE__ */ new Date() -
|
|
1475
|
+
window.clearTimeout(e), o -= /* @__PURE__ */ new Date() - n;
|
|
1476
1476
|
}, this.resume = function() {
|
|
1477
|
-
|
|
1477
|
+
n = /* @__PURE__ */ new Date(), window.clearTimeout(e), e = window.setTimeout(t, o);
|
|
1478
1478
|
}, this.resume();
|
|
1479
1479
|
}
|
|
1480
1480
|
const M = function(t) {
|
|
@@ -1485,18 +1485,18 @@ window.dataLayer.push({
|
|
|
1485
1485
|
event: "customElementRegistered",
|
|
1486
1486
|
element: "Notification"
|
|
1487
1487
|
});
|
|
1488
|
-
class $
|
|
1488
|
+
class $s extends HTMLElement {
|
|
1489
1489
|
constructor() {
|
|
1490
1490
|
super(), this.attachShadow({ mode: "open" });
|
|
1491
|
-
const
|
|
1492
|
-
Array.from(a).forEach((
|
|
1493
|
-
|
|
1491
|
+
const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, n = `@import "${s}/css/components/notification.css";`, o = `@import "${s}/css/components/notification.global.css";`, a = this.querySelectorAll("a,button");
|
|
1492
|
+
Array.from(a).forEach((c, u) => {
|
|
1493
|
+
c.setAttribute("slot", "btns"), c.classList.add("link");
|
|
1494
1494
|
}), (a.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable");
|
|
1495
|
-
const
|
|
1496
|
-
|
|
1495
|
+
const i = document.createElement("template");
|
|
1496
|
+
i.innerHTML = `
|
|
1497
1497
|
<style>
|
|
1498
1498
|
@import "${e}";
|
|
1499
|
-
${
|
|
1499
|
+
${n}
|
|
1500
1500
|
${this.hasAttribute("data-css") ? `${this.getAttribute("data-css")}` : ""}
|
|
1501
1501
|
</style>
|
|
1502
1502
|
|
|
@@ -1505,12 +1505,12 @@ class $i extends HTMLElement {
|
|
|
1505
1505
|
<div class="notification__inner"><div class="notification__text"><slot></slot></div>${a.length ? '<div class="notification__btns"><slot name="btns"></slot></div>' : ""}</div>
|
|
1506
1506
|
${this.hasAttribute("data-dismiss") ? '<div class="notification__dismiss"><button data-dismiss-button>Dismiss</button></div>' : ""}
|
|
1507
1507
|
</div>
|
|
1508
|
-
`, this.shadowRoot.appendChild(
|
|
1508
|
+
`, this.shadowRoot.appendChild(i.content.cloneNode(!0)), document.getElementById("notificationHolder") || document.head.insertAdjacentHTML("beforeend", `<style id="notificationHolder">${o}</style>`);
|
|
1509
1509
|
}
|
|
1510
1510
|
connectedCallback() {
|
|
1511
|
-
const
|
|
1511
|
+
const s = this.shadowRoot.querySelector("[data-dismiss-button]"), e = this.hasAttribute("data-status") ? this.getAttribute("data-status") : "white";
|
|
1512
1512
|
this.hasAttribute("data-type") ? this.classList.add(`bg-${e}`) : this.classList.add(`colour-${e}`);
|
|
1513
|
-
const
|
|
1513
|
+
const n = this;
|
|
1514
1514
|
if (!this.querySelector("i"))
|
|
1515
1515
|
switch (e) {
|
|
1516
1516
|
case "danger":
|
|
@@ -1525,31 +1525,31 @@ class $i extends HTMLElement {
|
|
|
1525
1525
|
default:
|
|
1526
1526
|
this.innerHTML += '<i class="fa-solid fa-circle-info" aria-hidden="true" slot="icon"></i>';
|
|
1527
1527
|
}
|
|
1528
|
-
|
|
1529
|
-
M(
|
|
1528
|
+
vs(n), s && s.addEventListener("click", function(o) {
|
|
1529
|
+
M(n);
|
|
1530
1530
|
}, !1);
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
1533
|
-
const
|
|
1533
|
+
const As = {
|
|
1534
1534
|
name: "Notification",
|
|
1535
1535
|
props: {},
|
|
1536
1536
|
created() {
|
|
1537
1537
|
this.$nextTick(function() {
|
|
1538
|
-
window.customElements.get("iam-notification") || window.customElements.define("iam-notification", $
|
|
1538
|
+
window.customElements.get("iam-notification") || window.customElements.define("iam-notification", $s);
|
|
1539
1539
|
});
|
|
1540
1540
|
}
|
|
1541
1541
|
};
|
|
1542
|
-
function
|
|
1543
|
-
return
|
|
1542
|
+
function ks(t, s, e, n, o, a) {
|
|
1543
|
+
return l(), r("iam-notification", null, [
|
|
1544
1544
|
m(t.$slots, "default")
|
|
1545
1545
|
]);
|
|
1546
1546
|
}
|
|
1547
|
-
const
|
|
1547
|
+
const sa = /* @__PURE__ */ p(As, [["render", ks]]), Ls = {
|
|
1548
1548
|
name: "Actionbar",
|
|
1549
1549
|
props: {},
|
|
1550
1550
|
mounted() {
|
|
1551
1551
|
this.$nextTick(function() {
|
|
1552
|
-
import("./actionbar.component.min-
|
|
1552
|
+
import("./actionbar.component.min-4c086d85.mjs").then((t) => {
|
|
1553
1553
|
window.customElements.get("iam-actionbar") || window.customElements.define("iam-actionbar", t.default);
|
|
1554
1554
|
}).catch((t) => {
|
|
1555
1555
|
console.log(t.message);
|
|
@@ -1557,21 +1557,21 @@ const ia = /* @__PURE__ */ p(ki, [["render", xi]]), Ai = {
|
|
|
1557
1557
|
});
|
|
1558
1558
|
}
|
|
1559
1559
|
};
|
|
1560
|
-
function
|
|
1561
|
-
return
|
|
1560
|
+
function Ss(t, s, e, n, o, a) {
|
|
1561
|
+
return l(), r("iam-actionbar", null, [
|
|
1562
1562
|
m(t.$slots, "default")
|
|
1563
1563
|
]);
|
|
1564
1564
|
}
|
|
1565
|
-
const aa = /* @__PURE__ */ p(
|
|
1565
|
+
const aa = /* @__PURE__ */ p(Ls, [["render", Ss]]);
|
|
1566
1566
|
/*!
|
|
1567
|
-
* iamKey v5.6.1-
|
|
1567
|
+
* iamKey v5.6.1-beta4
|
|
1568
1568
|
* Copyright 2022-2024 iamproperty
|
|
1569
1569
|
*/
|
|
1570
1570
|
class z extends HTMLElement {
|
|
1571
1571
|
constructor() {
|
|
1572
1572
|
super(), this.attachShadow({ mode: "open" });
|
|
1573
|
-
const
|
|
1574
|
-
|
|
1573
|
+
const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, n = document.createElement("template");
|
|
1574
|
+
n.innerHTML = `
|
|
1575
1575
|
<style>
|
|
1576
1576
|
@import "${e}";
|
|
1577
1577
|
:host{container-type:inline-size;display:block}.pagination{display:block}@container (width > 23.4375em){.pagination{display:flex;align-items:center;justify-content:space-between !important;padding-top:2rem}}.pagination>div{display:flex;align-items:center}.pagination div:is(.page-jump,.per-page){border:1px solid var(--colour-light);height:3.25rem;display:none;align-items:center;padding-inline:1rem}.pagination div:is(.page-jump,.per-page) .select--minimal{--select-padding-left: rem(16);height:3.25rem;line-height:3.25rem;margin-left:-1rem;font-weight:bold}.pagination div:is(.page-jump,.per-page) div:has(>select){margin-bottom:0}.page-jump{border-right:none !important}.total-pages{white-space:nowrap}:host([data-page-jump][data-minimal]) .page-jump{display:flex !important}@container (width > 23.4375em){:host([data-page-jump]) .page-jump{display:flex !important}}@container (width > 23.4375em){:host([data-per-page]:not([data-page-jump][data-item-count])) .per-page{display:flex !important}}@container (width > 48em){:host([data-per-page][data-page-jump][data-item-count]) .per-page{display:flex !important}}.pagination>.item-count{display:block;text-align:center;margin-bottom:1rem;margin-inline:auto}@container (width > 23.4375em){.pagination>.item-count{display:none}:host([data-item-count]) .pagination>.item-count{display:flex !important;margin:0}}*:where(.prev,.next){border:1px solid var(--colour-light);line-height:3.25rem;height:3.25rem;margin:0;display:none;background:none;padding-inline:1rem}@container (width > 23.4375em){*:where(.prev,.next){display:inline-block}}*:where(.prev,.next):after{margin-left:.5em;font-size:.8rem;content:"";font-family:"Font Awesome 6 Pro";color:var(--colour-info)}*:where(.prev,.next):is(:hover,:focus):not(:disabled){background-color:var(--colour-light)}*:where(.prev,.next):is(:active):not(:disabled){background-color:#e0e0e0}@media screen and (prefers-color-scheme: dark){*:where(.prev,.next):is(:hover,:focus):not(:disabled){background-color:var(--colour-canvas)}*:where(.prev,.next):is(:active):not(:disabled){background-color:var(--colour-canvas)}}*:where(.prev,.next):disabled:after,*:where(.prev,.next):disabled:before{color:inherit !important}:host([data-minimal]) .pagination{justify-content:flex-end}@container (width > 23.4375em){:host([data-minimal]) .pagination{justify-content:space-between}}:host([data-minimal]) *:where(.prev,.next){display:inline-block !important}.prev{border-right:none}.prev:after{display:none}.prev:before{margin-right:.5em;font-size:.8rem;content:"";font-family:"Font Awesome 6 Pro";color:var(--colour-info)}.mobile-controls{display:block}:host([data-minimal]) .pagination{padding-top:1.5rem;display:flex;align-items:center;justify-content:flex-end}:host([data-minimal]) *:is(.mobile-controls,.item-count){display:none}@container (width > 23.4375em){.mobile-controls{display:none !important}:host([data-item-count]) .item-count{display:flex !important}}.fa-spin{display:none !important;font-size:3rem;color:var(--colour-info)}:host([data-loading]) .mobile-controls{padding-top:2rem}:host([data-loading]) .item-count,:host([data-loading]) .mobile-controls>*:not(.fa-spin){display:none !important}:host([data-loading]) .fa-spin{display:block !important;margin:auto}/*# sourceMappingURL=assets/css/components/pagination.css.map */
|
|
@@ -1609,68 +1609,68 @@ class z extends HTMLElement {
|
|
|
1609
1609
|
<button class="load-more btn btn-primary m-auto">Load more</a>
|
|
1610
1610
|
</div>
|
|
1611
1611
|
</div>
|
|
1612
|
-
`, this.shadowRoot.appendChild(
|
|
1612
|
+
`, this.shadowRoot.appendChild(n.content.cloneNode(!0));
|
|
1613
1613
|
}
|
|
1614
1614
|
connectedCallback() {
|
|
1615
|
-
const
|
|
1616
|
-
this.hasAttribute("data-total") || this.setAttribute("data-total", 15), this.hasAttribute("data-page") || this.setAttribute("data-page",
|
|
1617
|
-
const e = this.shadowRoot.querySelector(".page-jump select"),
|
|
1618
|
-
this.setup(), e.addEventListener("change", (
|
|
1619
|
-
this.setAttribute("data-show", this.getAttribute("data-increment")), this.setAttribute("data-page",
|
|
1620
|
-
}), o.addEventListener("click", (
|
|
1615
|
+
const s = new URLSearchParams(window.location.search);
|
|
1616
|
+
this.hasAttribute("data-total") || this.setAttribute("data-total", 15), this.hasAttribute("data-page") || this.setAttribute("data-page", s.has("page") ? s.get("page") : 1), this.hasAttribute("data-show") || this.setAttribute("data-show", s.has("show") ? s.get("show") : 15), this.hasAttribute("data-increment") || this.setAttribute("data-increment", this.getAttribute("data-show"));
|
|
1617
|
+
const e = this.shadowRoot.querySelector(".page-jump select"), n = this.shadowRoot.querySelector(".prev"), o = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".per-page select"), i = this.shadowRoot.querySelector(".load-more");
|
|
1618
|
+
this.setup(), e.addEventListener("change", (c) => {
|
|
1619
|
+
this.setAttribute("data-show", this.getAttribute("data-increment")), this.setAttribute("data-page", c.target.value);
|
|
1620
|
+
}), o.addEventListener("click", (c) => {
|
|
1621
1621
|
e.value = parseInt(e.value) + 1, e.dispatchEvent(new Event("change"));
|
|
1622
|
-
}),
|
|
1622
|
+
}), n.addEventListener("click", (c) => {
|
|
1623
1623
|
e.value = parseInt(e.value) - 1, e.dispatchEvent(new Event("change"));
|
|
1624
|
-
}), a.addEventListener("change", (
|
|
1625
|
-
this.setAttribute("data-increment",
|
|
1626
|
-
}),
|
|
1624
|
+
}), a.addEventListener("change", (c) => {
|
|
1625
|
+
this.setAttribute("data-increment", c.target.value);
|
|
1626
|
+
}), i.addEventListener("click", (c) => {
|
|
1627
1627
|
let u = parseInt(this.getAttribute("data-show")) + parseInt(this.getAttribute("data-increment"));
|
|
1628
|
-
this.setAttribute("data-show", u), u > parseInt(this.getAttribute("data-total")) &&
|
|
1628
|
+
this.setAttribute("data-show", u), u > parseInt(this.getAttribute("data-total")) && i.remove();
|
|
1629
1629
|
});
|
|
1630
1630
|
}
|
|
1631
1631
|
setup() {
|
|
1632
|
-
const
|
|
1633
|
-
b >
|
|
1632
|
+
const s = this.shadowRoot.querySelector(".pagination"), e = this.shadowRoot.querySelector(".page-jump select"), n = this.shadowRoot.querySelector(".prev"), o = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".item-count"), i = this.shadowRoot.querySelector(".per-page select"), c = this.shadowRoot.querySelector(".total-pages"), u = parseInt(this.getAttribute("data-page")), b = parseInt(this.getAttribute("data-total")), y = parseInt(this.getAttribute("data-show")), f = parseInt(this.getAttribute("data-increment")), v = Math.ceil(b / f);
|
|
1633
|
+
b > y && s.classList.remove("d-none");
|
|
1634
1634
|
let w = "";
|
|
1635
|
-
for (let
|
|
1636
|
-
w += `<option value="${
|
|
1637
|
-
e.innerHTML = w,
|
|
1638
|
-
let
|
|
1639
|
-
a.innerHTML = `${
|
|
1635
|
+
for (let x = 1; x <= v; x++)
|
|
1636
|
+
w += `<option value="${x}" ${x == u ? "selected" : ""}>${x}</option>`;
|
|
1637
|
+
e.innerHTML = w, c.innerHTML = `of ${v}`, u == v ? o.setAttribute("disabled", "disabled") : o.removeAttribute("disabled"), u == 1 ? n.setAttribute("disabled", "disabled") : n.removeAttribute("disabled");
|
|
1638
|
+
let S = u == 1 ? 1 : (u - 1) * y + 1, q = u == 1 ? y : u * y;
|
|
1639
|
+
a.innerHTML = `${S} - ${q > b ? b : q} of ${b} items`;
|
|
1640
1640
|
const j = [15, 25, 40, 50];
|
|
1641
|
-
f &&
|
|
1641
|
+
f && i.value != f && !j.includes(f) && (i.innerHTML = `<option value="${f}">${f}</option>
|
|
1642
1642
|
<option value="${f * 2}">${f * 2}</option>
|
|
1643
1643
|
<option value="${f * 3}">${f * 3}</option>
|
|
1644
|
-
<option value="${f * 4}">${f * 4}</option>`),
|
|
1644
|
+
<option value="${f * 4}">${f * 4}</option>`), i.value = f;
|
|
1645
1645
|
}
|
|
1646
1646
|
static get observedAttributes() {
|
|
1647
1647
|
return ["data-total", "data-increment", "data-page", "data-show"];
|
|
1648
1648
|
}
|
|
1649
|
-
attributeChangedCallback(
|
|
1650
|
-
switch (
|
|
1649
|
+
attributeChangedCallback(s, e, n) {
|
|
1650
|
+
switch (s) {
|
|
1651
1651
|
case "data-total": {
|
|
1652
|
-
e !=
|
|
1652
|
+
e != n && (this.setAttribute("data-page", 1), this.setup());
|
|
1653
1653
|
break;
|
|
1654
1654
|
}
|
|
1655
1655
|
case "data-show": {
|
|
1656
|
-
e !=
|
|
1656
|
+
e != n && (this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
|
|
1657
1657
|
break;
|
|
1658
1658
|
}
|
|
1659
1659
|
case "data-increment": {
|
|
1660
|
-
e !=
|
|
1660
|
+
e != n && (this.setAttribute("data-show", n), this.setAttribute("data-page", 1), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
|
|
1661
1661
|
break;
|
|
1662
1662
|
}
|
|
1663
1663
|
case "data-page": {
|
|
1664
|
-
e && e !=
|
|
1664
|
+
e && e != n && (this.setup(), this.dispatchEvent(new CustomEvent("update-page", { detail: { page: n } })));
|
|
1665
1665
|
break;
|
|
1666
1666
|
}
|
|
1667
1667
|
}
|
|
1668
1668
|
}
|
|
1669
1669
|
}
|
|
1670
|
-
const
|
|
1670
|
+
const xs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1671
1671
|
__proto__: null,
|
|
1672
1672
|
default: z
|
|
1673
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1673
|
+
}, Symbol.toStringTag, { value: "Module" })), Ts = {
|
|
1674
1674
|
name: "Pagination",
|
|
1675
1675
|
props: {},
|
|
1676
1676
|
computed: {},
|
|
@@ -1682,14 +1682,14 @@ const Si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1682
1682
|
updated() {
|
|
1683
1683
|
}
|
|
1684
1684
|
};
|
|
1685
|
-
function
|
|
1686
|
-
return
|
|
1685
|
+
function qs(t, s, e, n, o, a) {
|
|
1686
|
+
return l(), r("iam-pagination");
|
|
1687
1687
|
}
|
|
1688
|
-
const
|
|
1688
|
+
const ia = /* @__PURE__ */ p(Ts, [["render", qs]]), Es = {
|
|
1689
1689
|
name: "Address Lookup",
|
|
1690
1690
|
mounted() {
|
|
1691
1691
|
this.$nextTick(function() {
|
|
1692
|
-
import("./address-lookup.component.min-
|
|
1692
|
+
import("./address-lookup.component.min-c3186305.mjs").then((t) => {
|
|
1693
1693
|
window.customElements.get("iam-address-lookup") || window.customElements.define("iam-address-lookup", t.default);
|
|
1694
1694
|
}).catch((t) => {
|
|
1695
1695
|
console.log(t.message);
|
|
@@ -1697,105 +1697,104 @@ const na = /* @__PURE__ */ p(Ti, [["render", qi]]), Ei = {
|
|
|
1697
1697
|
});
|
|
1698
1698
|
}
|
|
1699
1699
|
};
|
|
1700
|
-
function
|
|
1701
|
-
return
|
|
1700
|
+
function Hs(t, s, e, n, o, a) {
|
|
1701
|
+
return l(), r("iam-address-lookup", null, [
|
|
1702
1702
|
m(t.$slots, "default")
|
|
1703
1703
|
]);
|
|
1704
1704
|
}
|
|
1705
|
-
const
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
class
|
|
1705
|
+
const na = /* @__PURE__ */ p(Es, [["render", Hs]]);
|
|
1706
|
+
window.dataLayer = window.dataLayer || [];
|
|
1707
|
+
window.dataLayer.push({
|
|
1708
|
+
event: "customElementRegistered",
|
|
1709
|
+
element: "collapsible side menu"
|
|
1710
|
+
});
|
|
1711
|
+
class Ms extends HTMLElement {
|
|
1712
1712
|
constructor() {
|
|
1713
1713
|
super(), this.attachShadow({ mode: "open" });
|
|
1714
|
-
const
|
|
1715
|
-
|
|
1714
|
+
const s = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", e = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${s}/css/core.min.css`, n = `@import "${s}/css/components/collapsible-side.css";`, o = document.createElement("template");
|
|
1715
|
+
o.innerHTML = `
|
|
1716
1716
|
<style class="styles">
|
|
1717
1717
|
@import "${e}";
|
|
1718
|
-
|
|
1719
|
-
|
|
1718
|
+
${n}
|
|
1720
1719
|
${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
|
|
1721
1720
|
</style>
|
|
1722
1721
|
<link rel="stylesheet" href="https://kit.fontawesome.com/26fdbf0179.css" crossorigin="anonymous">
|
|
1723
1722
|
<div class="container" part="container">
|
|
1724
1723
|
|
|
1725
|
-
<div class="side-menu">
|
|
1726
|
-
<button class="btn btn-compact fa-chevron-right btn-secondary btn-sm btn-collapse">Open or close Collapsible menu</button>
|
|
1727
|
-
<div class="side-menu-content closed">
|
|
1724
|
+
<div class="side-menu" part="side-menu">
|
|
1725
|
+
<button class="btn btn-compact fa-chevron-right btn-secondary btn-sm btn-collapse" part="btn">Open or close Collapsible menu</button>
|
|
1726
|
+
<div class="side-menu-content closed" part="side-menu-content">
|
|
1728
1727
|
<slot name="menu"></slot>
|
|
1729
1728
|
</div>
|
|
1730
1729
|
</div>
|
|
1731
1730
|
|
|
1732
|
-
<div class="main-content">
|
|
1731
|
+
<div class="main-content" part="main-content">
|
|
1733
1732
|
<slot></slot>
|
|
1734
1733
|
</div>
|
|
1735
1734
|
|
|
1736
1735
|
</div>
|
|
1737
|
-
`, this.shadowRoot.appendChild(
|
|
1736
|
+
`, this.shadowRoot.appendChild(o.content.cloneNode(!0));
|
|
1738
1737
|
}
|
|
1739
1738
|
connectedCallback() {
|
|
1740
|
-
const
|
|
1741
|
-
this.hasAttribute("data-css") && this.shadowRoot.querySelector(".styles").insertAdjacentHTML("beforeend", `@import "${this.getAttribute("data-css")}";`), this.hasAttribute("data-title") || this.setAttribute("data-title", "configuration"), e.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`),
|
|
1742
|
-
|
|
1739
|
+
const s = this.shadowRoot.querySelector(".side-menu"), e = this.shadowRoot.querySelector(".side-menu-content"), n = this.shadowRoot.querySelector(".main-content"), o = this.shadowRoot.querySelector(".side-menu > .btn");
|
|
1740
|
+
this.hasAttribute("data-css") && this.shadowRoot.querySelector(".styles").insertAdjacentHTML("beforeend", `@import "${this.getAttribute("data-css")}";`), this.hasAttribute("data-title") || this.setAttribute("data-title", "configuration"), e.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), n.insertAdjacentHTML("afterbegin", `<span class="h3">${this.getAttribute("data-title")}</span>`), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)") && (this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("h4"), this.querySelector(":scope > :is(h1,h2,h3,h4,h5,h6)").classList.add("main-content__title")), this.hasAttribute("open") && window.innerWidth > 992 && (s.classList.add("open"), o.setAttribute("aria-expanded", !0)), o.addEventListener("click", (a) => {
|
|
1741
|
+
s.classList.contains("open") ? (s.classList.remove("open"), o.removeAttribute("aria-expanded"), setTimeout(function() {
|
|
1743
1742
|
e.classList.add("closed");
|
|
1744
|
-
}, 1e3),
|
|
1745
|
-
|
|
1743
|
+
}, 1e3), s.classList.add("pe-none"), setTimeout(function() {
|
|
1744
|
+
s.classList.remove("pe-none");
|
|
1746
1745
|
}, 1e3)) : (e.classList.remove("closed"), setTimeout(function() {
|
|
1747
|
-
|
|
1746
|
+
s.classList.add("open"), o.setAttribute("aria-expanded", !0);
|
|
1748
1747
|
}, 100));
|
|
1749
|
-
}),
|
|
1750
|
-
window.innerWidth > 992 && (
|
|
1751
|
-
}),
|
|
1752
|
-
window.innerWidth > 992 && (
|
|
1753
|
-
}),
|
|
1754
|
-
window.innerWidth > 992 && (
|
|
1748
|
+
}), s.addEventListener("mouseenter", (a) => {
|
|
1749
|
+
window.innerWidth > 992 && (s.classList.contains("open") || e.classList.remove("closed"), s.classList.add("hover"));
|
|
1750
|
+
}), s.addEventListener("mousemove", (a) => {
|
|
1751
|
+
window.innerWidth > 992 && (s.classList.contains("open") || e.classList.remove("closed"));
|
|
1752
|
+
}), s.addEventListener("mouseleave", (a) => {
|
|
1753
|
+
window.innerWidth > 992 && (s.classList.remove("hover"), s.classList.contains("open") || setTimeout(function() {
|
|
1755
1754
|
e.classList.add("closed");
|
|
1756
1755
|
}, 1e3));
|
|
1757
1756
|
});
|
|
1758
1757
|
}
|
|
1759
1758
|
}
|
|
1760
|
-
window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side",
|
|
1761
|
-
const
|
|
1759
|
+
window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side", Ms);
|
|
1760
|
+
const Cs = {
|
|
1762
1761
|
name: "CollapsibleSideMenu",
|
|
1763
1762
|
props: {},
|
|
1764
1763
|
mounted() {
|
|
1765
1764
|
}
|
|
1766
1765
|
};
|
|
1767
|
-
function
|
|
1768
|
-
return
|
|
1766
|
+
function Ns(t, s, e, n, o, a) {
|
|
1767
|
+
return l(), r("iam-collapsible-side", null, [
|
|
1769
1768
|
m(t.$slots, "default")
|
|
1770
1769
|
]);
|
|
1771
1770
|
}
|
|
1772
|
-
const oa = /* @__PURE__ */ p(
|
|
1771
|
+
const oa = /* @__PURE__ */ p(Cs, [["render", Ns]]);
|
|
1773
1772
|
export {
|
|
1774
|
-
|
|
1775
|
-
|
|
1773
|
+
js as Accordion,
|
|
1774
|
+
Is as AccordionItem,
|
|
1776
1775
|
aa as Actionbar,
|
|
1777
|
-
|
|
1776
|
+
na as AddressLookup,
|
|
1778
1777
|
ea as AppliedFilters,
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1778
|
+
Ds as Banner,
|
|
1779
|
+
Fs as Card,
|
|
1780
|
+
Vs as Carousel,
|
|
1782
1781
|
oa as CollapsibleSideMenu,
|
|
1783
|
-
|
|
1782
|
+
zs as FileUpload,
|
|
1784
1783
|
ta as Filterlist,
|
|
1785
|
-
|
|
1784
|
+
Bs as Header,
|
|
1786
1785
|
R as Input,
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1786
|
+
Ps as Logo,
|
|
1787
|
+
Ks as Nav,
|
|
1788
|
+
Zs as NoteFeed,
|
|
1789
|
+
sa as Notification,
|
|
1790
|
+
ia as Pagination,
|
|
1791
|
+
Ws as PropertySearchbar,
|
|
1792
|
+
Qs as Snapshot,
|
|
1793
|
+
Ys as Step,
|
|
1794
|
+
Gs as Stepper,
|
|
1795
|
+
Xs as Tab,
|
|
1797
1796
|
N as Table,
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1797
|
+
Js as Tabs,
|
|
1798
|
+
Os as Testimonial,
|
|
1799
|
+
Us as Timeline
|
|
1801
1800
|
};
|