@iamproperty/components 7.1.0--beta2 → 7.1.0--beta4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/components/notification.css +1 -1
- package/assets/css/components/notification.css.map +1 -1
- package/assets/js/components/accordion/accordion.component.min.js +1 -1
- package/assets/js/components/actionbar/actionbar.component.min.js +1 -1
- package/assets/js/components/address-lookup/address-lookup.component.min.js +1 -1
- package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
- package/assets/js/components/barchart/barchart.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.min.js +1 -1
- package/assets/js/components/fileupload/fileupload.component.min.js +1 -1
- package/assets/js/components/filter-card/filter-card.component.min.js +1 -1
- package/assets/js/components/filterlist/filterlist.component.min.js +1 -1
- package/assets/js/components/header/header.component.min.js +1 -1
- package/assets/js/components/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.js +4 -3
- package/assets/js/components/multiselect/multiselect.component.min.js +4 -3
- package/assets/js/components/multiselect/multiselect.component.min.js.map +1 -1
- package/assets/js/components/nav/nav.component.min.js +1 -1
- package/assets/js/components/notification/notification.component.js +23 -14
- package/assets/js/components/notification/notification.component.min.js +7 -7
- package/assets/js/components/notification/notification.component.min.js.map +1 -1
- package/assets/js/components/pagination/pagination.component.min.js +1 -1
- package/assets/js/components/record-card/record-card.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/components/video-card/video-card.component.min.js +1 -1
- package/assets/js/components.bundle.js +1 -1
- package/assets/js/modules/notification.js +3 -1
- package/assets/js/scripts.bundle.js +1 -1
- package/assets/js/scripts.bundle.min.js +1 -1
- package/assets/sass/components/notification.scss +8 -0
- package/assets/ts/components/multiselect/multiselect.component.ts +4 -3
- package/assets/ts/components/notification/notification.component.ts +27 -18
- package/assets/ts/modules/notification.ts +5 -1
- package/dist/components.es.js +165 -167
- package/dist/components.umd.js +41 -41
- package/package.json +1 -1
package/dist/components.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as o, createElementBlock as l, normalizeClass as
|
|
1
|
+
import { openBlock as o, createElementBlock as l, normalizeClass as y, createElementVNode as d, toDisplayString as _, createCommentVNode as h, renderSlot as u, Fragment as $, renderList as k, withDirectives as L, mergeProps as w, vModelDynamic as x, vModelText as D, vModelSelect as V, ref as F, onMounted as z, createTextVNode as B, resolveComponent as q, createVNode as g, withModifiers as O } from "vue";
|
|
2
2
|
const m = (t, s) => {
|
|
3
3
|
const e = t.__vccOpts || t;
|
|
4
4
|
for (const [i, r] of s)
|
|
@@ -32,10 +32,10 @@ const m = (t, s) => {
|
|
|
32
32
|
}, W = ["xlink:href"], K = ["innerHTML"];
|
|
33
33
|
function G(t, s, e, i, r, a) {
|
|
34
34
|
return o(), l("div", {
|
|
35
|
-
class:
|
|
35
|
+
class: y(a.className)
|
|
36
36
|
}, [
|
|
37
37
|
(o(), l("svg", null, [
|
|
38
|
-
d("title", null, "iam " +
|
|
38
|
+
d("title", null, "iam " + _(e.id), 1),
|
|
39
39
|
d("use", {
|
|
40
40
|
"xlink:href": e.path + a.src
|
|
41
41
|
}, null, 8, W)
|
|
@@ -43,7 +43,7 @@ function G(t, s, e, i, r, a) {
|
|
|
43
43
|
e.desc ? (o(), l("span", {
|
|
44
44
|
key: 0,
|
|
45
45
|
innerHTML: e.desc
|
|
46
|
-
}, null, 8, K)) :
|
|
46
|
+
}, null, 8, K)) : h("", !0)
|
|
47
47
|
], 2);
|
|
48
48
|
}
|
|
49
49
|
const qs = /* @__PURE__ */ m(U, [["render", G]]), Q = (t) => t.charAt(0).toUpperCase() + t.slice(1), Y = (t) => t.replace(/_/g, " "), J = (t) => t.replace(/ /g, "_"), X = function(t) {
|
|
@@ -67,11 +67,11 @@ const qs = /* @__PURE__ */ m(U, [["render", G]]), Q = (t) => t.charAt(0).toUpper
|
|
|
67
67
|
},
|
|
68
68
|
created() {
|
|
69
69
|
this.$nextTick(function() {
|
|
70
|
-
import("./table.component.min-
|
|
70
|
+
import("./table.component.min-8e15c690.mjs").then((t) => {
|
|
71
71
|
window.customElements.get("iam-table") || window.customElements.define("iam-table", t.default);
|
|
72
72
|
}).catch((t) => {
|
|
73
73
|
console.log(t.message);
|
|
74
|
-
}), Promise.resolve().then(() =>
|
|
74
|
+
}), Promise.resolve().then(() => gs).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);
|
|
@@ -87,24 +87,24 @@ function ie(t, s, e, i, r, a) {
|
|
|
87
87
|
e.fields ? (o(), l("table", ee, [
|
|
88
88
|
d("thead", null, [
|
|
89
89
|
d("tr", null, [
|
|
90
|
-
(o(!0), l(
|
|
90
|
+
(o(!0), l($, null, k(e.fields, (n) => (o(), l("th", {
|
|
91
91
|
key: n.key
|
|
92
|
-
},
|
|
92
|
+
}, _(a.cellHeading(n.key)), 1))), 128))
|
|
93
93
|
])
|
|
94
94
|
]),
|
|
95
95
|
e.items ? (o(), l("tbody", te, [
|
|
96
|
-
(o(!0), l(
|
|
96
|
+
(o(!0), l($, null, k(e.items, (n, c) => (o(), l("tr", {
|
|
97
97
|
key: c,
|
|
98
98
|
"data-row-id": n.rowid
|
|
99
99
|
}, [
|
|
100
|
-
(o(!0), l(
|
|
101
|
-
Object.entries(n).filter(([
|
|
102
|
-
), (
|
|
103
|
-
key:
|
|
104
|
-
innerHTML:
|
|
100
|
+
(o(!0), l($, null, k(Object.fromEntries(
|
|
101
|
+
Object.entries(n).filter(([p]) => p !== "rowid")
|
|
102
|
+
), (p, f) => (o(), l("td", {
|
|
103
|
+
key: f,
|
|
104
|
+
innerHTML: p
|
|
105
105
|
}, null, 8, ae))), 128))
|
|
106
106
|
], 8, se))), 128))
|
|
107
|
-
])) :
|
|
107
|
+
])) : h("", !0)
|
|
108
108
|
])) : u(t.$slots, "default", { key: 1 })
|
|
109
109
|
]);
|
|
110
110
|
}
|
|
@@ -302,32 +302,32 @@ const C = /* @__PURE__ */ m(Z, [["render", ie]]), ne = {
|
|
|
302
302
|
}, me = ["type", "name", "id", "pattern", "list"], pe = { class: "input-group-text border-0 col-2 col-sm-1 px-0" }, he = {
|
|
303
303
|
key: 6,
|
|
304
304
|
class: "input-group"
|
|
305
|
-
}, fe = ["type", "name", "id", "pattern", "list"], be = { class: "input-group-text flex-fill" }, ye = ["type", "name", "id", "pattern"],
|
|
306
|
-
function
|
|
305
|
+
}, fe = ["type", "name", "id", "pattern", "list"], be = { class: "input-group-text flex-fill" }, ye = ["type", "name", "id", "pattern"], _e = ["value"], ge = ["type", "name", "id"], ve = ["for", "innerHTML"], we = ["type", "name", "id"], $e = ["for", "innerHTML"], ke = ["innerHTML"], Ae = ["id"], Le = ["value"];
|
|
306
|
+
function Se(t, s, e, i, r, a) {
|
|
307
307
|
return o(), l("div", {
|
|
308
|
-
class:
|
|
308
|
+
class: y(a.wrapperClass()),
|
|
309
309
|
ref: "wrapper"
|
|
310
310
|
}, [
|
|
311
311
|
a.needsLabel() ? (o(), l("label", {
|
|
312
312
|
key: 0,
|
|
313
|
-
class:
|
|
313
|
+
class: y(`form-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
|
|
314
314
|
for: e.id,
|
|
315
315
|
innerHTML: a.displayLabel(),
|
|
316
316
|
title: e.title
|
|
317
|
-
}, null, 10, oe)) :
|
|
317
|
+
}, null, 10, oe)) : h("", !0),
|
|
318
318
|
e.prefix ? (o(), l("span", {
|
|
319
319
|
key: 1,
|
|
320
|
-
class:
|
|
320
|
+
class: y(`prefix ${this.prefixClass} ${e.size ? `prefix-${e.size}` : ""}`),
|
|
321
321
|
innerHTML: e.prefix,
|
|
322
322
|
role: "presentation"
|
|
323
|
-
}, null, 10, le)) :
|
|
323
|
+
}, null, 10, le)) : h("", !0),
|
|
324
324
|
e.suffix ? (o(), l("span", {
|
|
325
325
|
key: 2,
|
|
326
|
-
class:
|
|
326
|
+
class: y(`suffix ${this.suffixClass} ${e.size ? `suffix-${e.size}` : ""}`),
|
|
327
327
|
innerHTML: e.suffix,
|
|
328
328
|
role: "presentation"
|
|
329
|
-
}, null, 10, re)) :
|
|
330
|
-
a.isInput() ? L((o(), l("input",
|
|
329
|
+
}, null, 10, re)) : h("", !0),
|
|
330
|
+
a.isInput() ? L((o(), l("input", w({
|
|
331
331
|
key: 3,
|
|
332
332
|
"onUpdate:modelValue": s[0] || (s[0] = (n) => a.inputVal = n),
|
|
333
333
|
class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
@@ -339,9 +339,9 @@ function xe(t, s, e, i, r, a) {
|
|
|
339
339
|
}, t.$attrs, {
|
|
340
340
|
onKeyup: s[1] || (s[1] = (...n) => a.inputKeyup && a.inputKeyup(...n))
|
|
341
341
|
}), null, 16, de)), [
|
|
342
|
-
[
|
|
343
|
-
]) :
|
|
344
|
-
e.type == "textarea" ? L((o(), l("textarea",
|
|
342
|
+
[x, a.inputVal]
|
|
343
|
+
]) : h("", !0),
|
|
344
|
+
e.type == "textarea" ? L((o(), l("textarea", w({
|
|
345
345
|
key: 4,
|
|
346
346
|
"onUpdate:modelValue": s[2] || (s[2] = (n) => a.inputVal = n),
|
|
347
347
|
class: `form-control${e.size ? ` form-control-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
@@ -351,9 +351,9 @@ function xe(t, s, e, i, r, a) {
|
|
|
351
351
|
pattern: a.needPattern()
|
|
352
352
|
}, t.$attrs), null, 16, ce)), [
|
|
353
353
|
[D, a.inputVal]
|
|
354
|
-
]) :
|
|
354
|
+
]) : h("", !0),
|
|
355
355
|
e.type == "range" ? (o(), l("div", ue, [
|
|
356
|
-
L(d("input",
|
|
356
|
+
L(d("input", w({
|
|
357
357
|
"onUpdate:modelValue": s[3] || (s[3] = (n) => a.inputVal = n),
|
|
358
358
|
class: `form-range${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
359
359
|
type: e.type,
|
|
@@ -362,12 +362,12 @@ function xe(t, s, e, i, r, a) {
|
|
|
362
362
|
pattern: a.needPattern(),
|
|
363
363
|
list: a.hasOptions()
|
|
364
364
|
}, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, me), [
|
|
365
|
-
[
|
|
365
|
+
[x, a.inputVal]
|
|
366
366
|
]),
|
|
367
|
-
d("output", pe,
|
|
368
|
-
])) :
|
|
367
|
+
d("output", pe, _(e.value), 1)
|
|
368
|
+
])) : h("", !0),
|
|
369
369
|
e.type == "color" ? (o(), l("div", he, [
|
|
370
|
-
L(d("input",
|
|
370
|
+
L(d("input", w({
|
|
371
371
|
"onUpdate:modelValue": s[4] || (s[4] = (n) => a.inputVal = n),
|
|
372
372
|
class: `form-control form-control-color${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
373
373
|
type: e.type,
|
|
@@ -376,11 +376,11 @@ function xe(t, s, e, i, r, a) {
|
|
|
376
376
|
pattern: a.needPattern(),
|
|
377
377
|
list: a.hasOptions()
|
|
378
378
|
}, t.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, fe), [
|
|
379
|
-
[
|
|
379
|
+
[x, a.inputVal]
|
|
380
380
|
]),
|
|
381
|
-
d("output", be,
|
|
382
|
-
])) :
|
|
383
|
-
e.type == "select" ? L((o(), l("select",
|
|
381
|
+
d("output", be, _(e.value ? t.vale : "#000000"), 1)
|
|
382
|
+
])) : h("", !0),
|
|
383
|
+
e.type == "select" ? L((o(), l("select", w({
|
|
384
384
|
key: 7,
|
|
385
385
|
"onUpdate:modelValue": s[5] || (s[5] = (n) => a.inputVal = n),
|
|
386
386
|
class: `form-select${e.size ? ` form-select-${e.size}` : ""}${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
@@ -389,59 +389,59 @@ function xe(t, s, e, i, r, a) {
|
|
|
389
389
|
id: e.id,
|
|
390
390
|
pattern: a.needPattern()
|
|
391
391
|
}, t.$attrs), [
|
|
392
|
-
(o(!0), l(
|
|
392
|
+
(o(!0), l($, null, k(e.options, (n, c) => (o(), l("option", {
|
|
393
393
|
key: c,
|
|
394
394
|
value: n.value
|
|
395
|
-
},
|
|
395
|
+
}, _(n.display ? n.display : n.value), 9, _e))), 128))
|
|
396
396
|
], 16, ye)), [
|
|
397
397
|
[V, a.inputVal]
|
|
398
|
-
]) :
|
|
399
|
-
e.type == "checkbox" || e.type == "radio" ? (o(), l("input",
|
|
398
|
+
]) : h("", !0),
|
|
399
|
+
e.type == "checkbox" || e.type == "radio" ? (o(), l("input", w({
|
|
400
400
|
key: 8,
|
|
401
401
|
class: "form-check-input",
|
|
402
402
|
type: e.type,
|
|
403
403
|
name: e.name ? e.name : e.id,
|
|
404
404
|
id: e.id
|
|
405
|
-
}, t.$attrs), null, 16,
|
|
405
|
+
}, t.$attrs), null, 16, ge)) : h("", !0),
|
|
406
406
|
e.type == "checkbox" || e.type == "radio" ? (o(), l("label", {
|
|
407
407
|
key: 9,
|
|
408
|
-
class:
|
|
408
|
+
class: y(`form-label form-check-label${e.labelclass ? ` ${e.labelclass}` : ""}`),
|
|
409
409
|
for: e.id,
|
|
410
410
|
innerHTML: e.label
|
|
411
|
-
}, null, 10, ve)) :
|
|
412
|
-
e.type == "checkbox-btn" || e.type == "radio-btn" ? (o(), l("input",
|
|
411
|
+
}, null, 10, ve)) : h("", !0),
|
|
412
|
+
e.type == "checkbox-btn" || e.type == "radio-btn" ? (o(), l("input", w({
|
|
413
413
|
key: 10,
|
|
414
414
|
class: `btn-check${e.inputclass ? ` ${e.inputclass}` : ""}`,
|
|
415
415
|
type: e.type.replace("-btn", ""),
|
|
416
416
|
autocomplete: "off",
|
|
417
417
|
name: e.name ? e.name : e.id,
|
|
418
418
|
id: e.id
|
|
419
|
-
}, t.$attrs), null, 16, we)) :
|
|
419
|
+
}, t.$attrs), null, 16, we)) : h("", !0),
|
|
420
420
|
e.type == "checkbox-btn" || e.type == "radio-btn" ? (o(), l("label", {
|
|
421
421
|
key: 11,
|
|
422
|
-
class:
|
|
422
|
+
class: y(`btn${e.labelclass ? ` ${e.labelclass}` : ""}`),
|
|
423
423
|
for: e.id,
|
|
424
424
|
innerHTML: e.label,
|
|
425
425
|
onClick: s[6] || (s[6] = (...n) => a.clickEvent && a.clickEvent(...n))
|
|
426
|
-
}, null, 10, $e)) :
|
|
426
|
+
}, null, 10, $e)) : h("", !0),
|
|
427
427
|
u(t.$slots, "default"),
|
|
428
428
|
e.errormsg ? (o(), l("span", {
|
|
429
429
|
key: 12,
|
|
430
430
|
class: "invalid-feedback mb-0",
|
|
431
431
|
innerHTML: e.errormsg
|
|
432
|
-
}, null, 8, ke)) :
|
|
432
|
+
}, null, 8, ke)) : h("", !0),
|
|
433
433
|
a.allowDatalist() ? (o(), l("datalist", {
|
|
434
434
|
key: 13,
|
|
435
435
|
id: e.id + "-list"
|
|
436
436
|
}, [
|
|
437
|
-
(o(!0), l(
|
|
437
|
+
(o(!0), l($, null, k(e.options, (n, c) => (o(), l("option", {
|
|
438
438
|
key: c,
|
|
439
439
|
value: n.value
|
|
440
|
-
},
|
|
441
|
-
], 8, Ae)) :
|
|
440
|
+
}, _(n.value), 9, Le))), 128))
|
|
441
|
+
], 8, Ae)) : h("", !0)
|
|
442
442
|
], 2);
|
|
443
443
|
}
|
|
444
|
-
const N = /* @__PURE__ */ m(ne, [["render",
|
|
444
|
+
const N = /* @__PURE__ */ m(ne, [["render", Se]]), xe = {
|
|
445
445
|
name: "FileUpload",
|
|
446
446
|
props: {
|
|
447
447
|
maxfilesize: {
|
|
@@ -455,14 +455,14 @@ const N = /* @__PURE__ */ m(ne, [["render", xe]]), Se = {
|
|
|
455
455
|
},
|
|
456
456
|
created() {
|
|
457
457
|
this.$nextTick(function() {
|
|
458
|
-
import("./fileupload.component.min-
|
|
458
|
+
import("./fileupload.component.min-aa3fc123.mjs").then((t) => {
|
|
459
459
|
window.customElements.get("iam-fileupload") || window.customElements.define("iam-fileupload", t.default);
|
|
460
460
|
}).catch((t) => {
|
|
461
461
|
console.log(t.message);
|
|
462
462
|
});
|
|
463
463
|
});
|
|
464
464
|
}
|
|
465
|
-
}, Ts = /* @__PURE__ */ Object.assign(
|
|
465
|
+
}, Ts = /* @__PURE__ */ Object.assign(xe, {
|
|
466
466
|
emits: ["elementChange", "empty"],
|
|
467
467
|
setup(t, { emit: s }) {
|
|
468
468
|
const e = s, i = F(null);
|
|
@@ -485,7 +485,7 @@ const qe = {
|
|
|
485
485
|
props: {},
|
|
486
486
|
mounted() {
|
|
487
487
|
this.$nextTick(function() {
|
|
488
|
-
import("./accordion.component.min-
|
|
488
|
+
import("./accordion.component.min-fa32c97c.mjs").then((t) => {
|
|
489
489
|
window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", t.default);
|
|
490
490
|
}).catch((t) => {
|
|
491
491
|
console.log(t.message);
|
|
@@ -539,11 +539,11 @@ function Ce(t, s, e, i, r, a) {
|
|
|
539
539
|
id: a.createID(e.title)
|
|
540
540
|
}, [
|
|
541
541
|
d("summary", null, [
|
|
542
|
-
B(
|
|
542
|
+
B(_(e.title), 1),
|
|
543
543
|
e.badge ? (o(), l("span", {
|
|
544
544
|
key: 0,
|
|
545
|
-
class:
|
|
546
|
-
},
|
|
545
|
+
class: y(`badge bg-${e.badgecolour}`)
|
|
546
|
+
}, _(e.badge), 3)) : h("", !0)
|
|
547
547
|
]),
|
|
548
548
|
u(t.$slots, "default")
|
|
549
549
|
], 8, Me);
|
|
@@ -565,16 +565,16 @@ const Hs = /* @__PURE__ */ m(He, [["render", Ce]]), Ne = {
|
|
|
565
565
|
required: !1
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
},
|
|
568
|
+
}, Re = { class: "container" }, Pe = { 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" }, Ve = ["src"];
|
|
569
569
|
function Fe(t, s, e, i, r, a) {
|
|
570
|
-
return o(), l("div",
|
|
570
|
+
return o(), l("div", Re, [
|
|
571
571
|
d("div", {
|
|
572
|
-
class:
|
|
572
|
+
class: y("bg-" + e.background + " mb-4")
|
|
573
573
|
}, [
|
|
574
|
-
d("div",
|
|
574
|
+
d("div", Pe, [
|
|
575
575
|
d("div", je, [
|
|
576
576
|
d("div", Ie, [
|
|
577
|
-
d("h2", null,
|
|
577
|
+
d("h2", null, _(e.title), 1),
|
|
578
578
|
u(t.$slots, "default")
|
|
579
579
|
])
|
|
580
580
|
]),
|
|
@@ -584,7 +584,7 @@ function Fe(t, s, e, i, r, a) {
|
|
|
584
584
|
src: e.image,
|
|
585
585
|
alt: "",
|
|
586
586
|
class: "h-100 w-100 object-cover"
|
|
587
|
-
}, null, 8, Ve)) :
|
|
587
|
+
}, null, 8, Ve)) : h("", !0)
|
|
588
588
|
])
|
|
589
589
|
])
|
|
590
590
|
], 2)
|
|
@@ -594,7 +594,7 @@ const Ms = /* @__PURE__ */ m(Ne, [["render", Fe]]), ze = {
|
|
|
594
594
|
name: "Card",
|
|
595
595
|
created() {
|
|
596
596
|
this.$nextTick(function() {
|
|
597
|
-
import("./card.component.min-
|
|
597
|
+
import("./card.component.min-ab1c5aa5.mjs").then((t) => {
|
|
598
598
|
window.customElements.get("iam-card") || window.customElements.define("iam-card", t.default);
|
|
599
599
|
}).catch((t) => {
|
|
600
600
|
console.log(t.message);
|
|
@@ -611,7 +611,7 @@ const Cs = /* @__PURE__ */ m(ze, [["render", Be]]), Oe = {
|
|
|
611
611
|
name: "Header",
|
|
612
612
|
mounted() {
|
|
613
613
|
this.$nextTick(function() {
|
|
614
|
-
import("./carousel.component.min-
|
|
614
|
+
import("./carousel.component.min-e11fdfa4.mjs").then((t) => {
|
|
615
615
|
window.customElements.get("iam-carousel") || window.customElements.define("iam-carousel", t.default);
|
|
616
616
|
}).catch((t) => {
|
|
617
617
|
console.log(t.message);
|
|
@@ -638,7 +638,7 @@ const Ns = /* @__PURE__ */ m(Oe, [["render", Ue]]), We = {
|
|
|
638
638
|
},
|
|
639
639
|
mounted() {
|
|
640
640
|
this.$nextTick(function() {
|
|
641
|
-
import("./header.component.min-
|
|
641
|
+
import("./header.component.min-17a66ded.mjs").then((t) => {
|
|
642
642
|
window.customElements.get("iam-header") || window.customElements.define("iam-header", t.default);
|
|
643
643
|
}).catch((t) => {
|
|
644
644
|
console.log(t.message);
|
|
@@ -652,11 +652,11 @@ function Qe(t, s, e, i, r, a) {
|
|
|
652
652
|
e.title ? (o(), l("h1", {
|
|
653
653
|
key: 0,
|
|
654
654
|
innerHTML: e.title
|
|
655
|
-
}, null, 8, Ge)) :
|
|
655
|
+
}, null, 8, Ge)) : h("", !0),
|
|
656
656
|
u(t.$slots, "default")
|
|
657
657
|
], 8, Ke);
|
|
658
658
|
}
|
|
659
|
-
const
|
|
659
|
+
const Rs = /* @__PURE__ */ m(We, [["render", Qe]]);
|
|
660
660
|
function Ye(t) {
|
|
661
661
|
let s;
|
|
662
662
|
const e = t.querySelector(".testimonial__images"), i = e.querySelectorAll("img").length;
|
|
@@ -671,9 +671,9 @@ function Ye(t) {
|
|
|
671
671
|
"scroll",
|
|
672
672
|
function() {
|
|
673
673
|
clearTimeout(s), s = setTimeout(function() {
|
|
674
|
-
const a = e.scrollWidth, n = e.scrollHeight, c = e.scrollLeft,
|
|
675
|
-
let
|
|
676
|
-
c == 0 &&
|
|
674
|
+
const a = e.scrollWidth, n = e.scrollHeight, c = e.scrollLeft, p = e.scrollTop;
|
|
675
|
+
let f = Math.round(c / a * i) + 1;
|
|
676
|
+
c == 0 && p != 0 && (f = Math.round(p / n * i) + 1), t.setAttribute("data-show", f), r(f);
|
|
677
677
|
}, 300);
|
|
678
678
|
},
|
|
679
679
|
!1
|
|
@@ -683,11 +683,11 @@ function Ye(t) {
|
|
|
683
683
|
for (let n = a.target; n && n != this; n = n.parentNode)
|
|
684
684
|
if (n.matches("[data-go]")) {
|
|
685
685
|
const c = parseInt(n.getAttribute("data-go"));
|
|
686
|
-
let
|
|
687
|
-
const
|
|
688
|
-
|
|
689
|
-
top:
|
|
690
|
-
left:
|
|
686
|
+
let p = 0, f = 0;
|
|
687
|
+
const v = e.scrollWidth, b = e.scrollHeight;
|
|
688
|
+
v > b ? f = Math.floor(v * ((c - 1) / i)) : p = Math.floor(b * ((c - 1) / i)), e.scroll({
|
|
689
|
+
top: p,
|
|
690
|
+
left: f,
|
|
691
691
|
behavior: "smooth"
|
|
692
692
|
});
|
|
693
693
|
break;
|
|
@@ -720,16 +720,16 @@ const Je = {
|
|
|
720
720
|
function rt(t, s, e, i, r, a) {
|
|
721
721
|
return o(), l("div", Xe, [
|
|
722
722
|
d("div", {
|
|
723
|
-
class:
|
|
723
|
+
class: y("bg-" + e.background)
|
|
724
724
|
}, [
|
|
725
725
|
d("div", Ze, [
|
|
726
726
|
d("div", et, [
|
|
727
727
|
d("div", tt, [
|
|
728
|
-
(o(!0), l(
|
|
728
|
+
(o(!0), l($, null, k(e.items, (n, c) => (o(), l("img", {
|
|
729
729
|
key: c,
|
|
730
730
|
src: n.image ? n.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
|
|
731
731
|
alt: "",
|
|
732
|
-
class:
|
|
732
|
+
class: y("h-100 w-100 object-cover" + (n.image ? "" : " opacity-0"))
|
|
733
733
|
}, null, 10, st))), 128))
|
|
734
734
|
]),
|
|
735
735
|
s[0] || (s[0] = d("div", { class: "testimonial__controls" }, [
|
|
@@ -747,9 +747,9 @@ function rt(t, s, e, i, r, a) {
|
|
|
747
747
|
d("div", at, [
|
|
748
748
|
s[1] || (s[1] = d("h2", null, "What our customers think…", -1)),
|
|
749
749
|
d("div", it, [
|
|
750
|
-
(o(!0), l(
|
|
750
|
+
(o(!0), l($, null, k(e.items, (n, c) => (o(), l("blockquote", {
|
|
751
751
|
key: c,
|
|
752
|
-
class:
|
|
752
|
+
class: y(n.class)
|
|
753
753
|
}, [
|
|
754
754
|
d("div", {
|
|
755
755
|
innerHTML: n.quote
|
|
@@ -768,7 +768,7 @@ function rt(t, s, e, i, r, a) {
|
|
|
768
768
|
], 2)
|
|
769
769
|
], 512);
|
|
770
770
|
}
|
|
771
|
-
const
|
|
771
|
+
const Ps = /* @__PURE__ */ m(Je, [["render", rt]]);
|
|
772
772
|
const dt = {
|
|
773
773
|
name: "Timeline",
|
|
774
774
|
props: {
|
|
@@ -787,7 +787,7 @@ function pt(t, s, e, i, r, a) {
|
|
|
787
787
|
key: 0,
|
|
788
788
|
src: e.image,
|
|
789
789
|
alt: ""
|
|
790
|
-
}, null, 8, mt)) :
|
|
790
|
+
}, null, 8, mt)) : h("", !0)
|
|
791
791
|
]);
|
|
792
792
|
}
|
|
793
793
|
const js = /* @__PURE__ */ m(dt, [["render", pt]]);
|
|
@@ -938,7 +938,7 @@ const ht = {
|
|
|
938
938
|
}, ft = {
|
|
939
939
|
class: "container",
|
|
940
940
|
ref: "wrapper"
|
|
941
|
-
}, bt = { class: "property-searchbar" }, yt = ["action", "method"],
|
|
941
|
+
}, bt = { class: "property-searchbar" }, yt = ["action", "method"], _t = { class: "col-12 col-md-3" }, gt = { class: "col-12 col-md" }, vt = {
|
|
942
942
|
class: "row",
|
|
943
943
|
"data-input-range": ""
|
|
944
944
|
}, wt = { class: "col-12 col-md" }, $t = {
|
|
@@ -955,8 +955,8 @@ function At(t, s, e, i, r, a) {
|
|
|
955
955
|
action: e.formaction,
|
|
956
956
|
method: e.formmethod
|
|
957
957
|
}, [
|
|
958
|
-
d("fieldset",
|
|
959
|
-
|
|
958
|
+
d("fieldset", _t, [
|
|
959
|
+
g(n, {
|
|
960
960
|
inputClass: "input--locations",
|
|
961
961
|
modelValue: a.locationSet,
|
|
962
962
|
"onUpdate:modelValue": s[0] || (s[0] = (c) => a.locationSet = c),
|
|
@@ -968,7 +968,7 @@ function At(t, s, e, i, r, a) {
|
|
|
968
968
|
onKeyupEvent: s[1] || (s[1] = (c) => a.locationKeyup(...arguments)),
|
|
969
969
|
ref: "search"
|
|
970
970
|
}, null, 8, ["modelValue", "options"]),
|
|
971
|
-
|
|
971
|
+
g(n, {
|
|
972
972
|
class: "select--miles",
|
|
973
973
|
label: "Miles",
|
|
974
974
|
id: "miles",
|
|
@@ -976,10 +976,10 @@ function At(t, s, e, i, r, a) {
|
|
|
976
976
|
options: e.distances
|
|
977
977
|
}, null, 8, ["options"])
|
|
978
978
|
]),
|
|
979
|
-
d("fieldset",
|
|
979
|
+
d("fieldset", gt, [
|
|
980
980
|
s[2] || (s[2] = d("span", { class: "form-label d-none d-md-block" }, "Price range", -1)),
|
|
981
981
|
d("div", vt, [
|
|
982
|
-
|
|
982
|
+
g(n, {
|
|
983
983
|
class: "col-6",
|
|
984
984
|
label: "Minimum price",
|
|
985
985
|
id: "price-min",
|
|
@@ -987,7 +987,7 @@ function At(t, s, e, i, r, a) {
|
|
|
987
987
|
type: "select",
|
|
988
988
|
options: e.pricemin
|
|
989
989
|
}, null, 8, ["options"]),
|
|
990
|
-
|
|
990
|
+
g(n, {
|
|
991
991
|
class: "col-6",
|
|
992
992
|
label: "Maximum price",
|
|
993
993
|
id: "price-max",
|
|
@@ -1000,7 +1000,7 @@ function At(t, s, e, i, r, a) {
|
|
|
1000
1000
|
d("fieldset", wt, [
|
|
1001
1001
|
s[3] || (s[3] = d("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1)),
|
|
1002
1002
|
d("div", $t, [
|
|
1003
|
-
|
|
1003
|
+
g(n, {
|
|
1004
1004
|
class: "col-6",
|
|
1005
1005
|
label: "Minimum beds",
|
|
1006
1006
|
id: "beds-min",
|
|
@@ -1008,7 +1008,7 @@ function At(t, s, e, i, r, a) {
|
|
|
1008
1008
|
type: "select",
|
|
1009
1009
|
options: e.bedsmin
|
|
1010
1010
|
}, null, 8, ["options"]),
|
|
1011
|
-
|
|
1011
|
+
g(n, {
|
|
1012
1012
|
class: "col-6",
|
|
1013
1013
|
label: "Maximum beds",
|
|
1014
1014
|
id: "beds-max",
|
|
@@ -1019,7 +1019,7 @@ function At(t, s, e, i, r, a) {
|
|
|
1019
1019
|
])
|
|
1020
1020
|
]),
|
|
1021
1021
|
d("fieldset", kt, [
|
|
1022
|
-
|
|
1022
|
+
g(n, {
|
|
1023
1023
|
label: "Property type",
|
|
1024
1024
|
id: "property-type",
|
|
1025
1025
|
type: "select",
|
|
@@ -1043,7 +1043,7 @@ const Is = /* @__PURE__ */ m(ht, [["render", At]]), Lt = {
|
|
|
1043
1043
|
name: "Nav",
|
|
1044
1044
|
mounted() {
|
|
1045
1045
|
this.$nextTick(function() {
|
|
1046
|
-
import("./nav.component.min-
|
|
1046
|
+
import("./nav.component.min-e6e7db33.mjs").then((t) => {
|
|
1047
1047
|
window.customElements.get("iam-nav") || window.customElements.define("iam-nav", t.default);
|
|
1048
1048
|
}).catch((t) => {
|
|
1049
1049
|
console.log(t.message);
|
|
@@ -1051,13 +1051,13 @@ const Is = /* @__PURE__ */ m(ht, [["render", At]]), Lt = {
|
|
|
1051
1051
|
});
|
|
1052
1052
|
},
|
|
1053
1053
|
methods: {}
|
|
1054
|
-
},
|
|
1055
|
-
function
|
|
1056
|
-
return o(), l("iam-nav",
|
|
1054
|
+
}, St = { ref: "wrapper" };
|
|
1055
|
+
function xt(t, s, e, i, r, a) {
|
|
1056
|
+
return o(), l("iam-nav", St, [
|
|
1057
1057
|
u(t.$slots, "default")
|
|
1058
1058
|
], 512);
|
|
1059
1059
|
}
|
|
1060
|
-
const Ds = /* @__PURE__ */ m(Lt, [["render",
|
|
1060
|
+
const Ds = /* @__PURE__ */ m(Lt, [["render", xt]]);
|
|
1061
1061
|
const qt = {
|
|
1062
1062
|
name: "Stepper",
|
|
1063
1063
|
props: {
|
|
@@ -1081,16 +1081,16 @@ function Nt(t, s, e, i, r, a) {
|
|
|
1081
1081
|
class: "stepper",
|
|
1082
1082
|
"aria-label": e.label ? e.label : "Progress"
|
|
1083
1083
|
}, [
|
|
1084
|
-
e.label ? (o(), l("span", Ht,
|
|
1084
|
+
e.label ? (o(), l("span", Ht, _(e.label), 1)) : h("", !0),
|
|
1085
1085
|
d("ol", Mt, [
|
|
1086
1086
|
u(t.$slots, "default")
|
|
1087
1087
|
]),
|
|
1088
|
-
d("span", Ct,
|
|
1088
|
+
d("span", Ct, _(e.endlabel), 1)
|
|
1089
1089
|
], 8, Et)
|
|
1090
1090
|
]);
|
|
1091
1091
|
}
|
|
1092
1092
|
const Vs = /* @__PURE__ */ m(qt, [["render", Nt]]);
|
|
1093
|
-
const
|
|
1093
|
+
const Rt = {
|
|
1094
1094
|
name: "Snapshot",
|
|
1095
1095
|
props: {
|
|
1096
1096
|
items: {
|
|
@@ -1098,33 +1098,33 @@ const Pt = {
|
|
|
1098
1098
|
required: !0
|
|
1099
1099
|
}
|
|
1100
1100
|
}
|
|
1101
|
-
},
|
|
1101
|
+
}, Pt = {
|
|
1102
1102
|
class: "container snapshot",
|
|
1103
1103
|
ref: "wrapper"
|
|
1104
1104
|
}, jt = { class: "row" }, It = ["href"], Dt = { class: "lead snapshot__title" }, Vt = { class: "stat" };
|
|
1105
1105
|
function Ft(t, s, e, i, r, a) {
|
|
1106
|
-
return o(), l("div",
|
|
1106
|
+
return o(), l("div", Pt, [
|
|
1107
1107
|
u(t.$slots, "default"),
|
|
1108
1108
|
d("div", jt, [
|
|
1109
|
-
(o(!0), l(
|
|
1109
|
+
(o(!0), l($, null, k(e.items, (n, c) => (o(), l("div", {
|
|
1110
1110
|
class: "col",
|
|
1111
1111
|
key: c
|
|
1112
1112
|
}, [
|
|
1113
1113
|
n.link ? (o(), l("a", {
|
|
1114
1114
|
key: 0,
|
|
1115
1115
|
href: n.link
|
|
1116
|
-
}, "View " +
|
|
1116
|
+
}, "View " + _(n.title), 9, It)) : h("", !0),
|
|
1117
1117
|
d("div", {
|
|
1118
|
-
class:
|
|
1118
|
+
class: y(`snapshot__item ${n.bg ? "bg-" + n.bg : ""}`)
|
|
1119
1119
|
}, [
|
|
1120
|
-
d("span", Dt,
|
|
1121
|
-
d("span", Vt,
|
|
1120
|
+
d("span", Dt, _(n.title), 1),
|
|
1121
|
+
d("span", Vt, _(n.number), 1)
|
|
1122
1122
|
], 2)
|
|
1123
1123
|
]))), 128))
|
|
1124
1124
|
])
|
|
1125
1125
|
], 512);
|
|
1126
1126
|
}
|
|
1127
|
-
const Fs = /* @__PURE__ */ m(
|
|
1127
|
+
const Fs = /* @__PURE__ */ m(Rt, [["render", Ft]]), zt = {
|
|
1128
1128
|
name: "Stepper",
|
|
1129
1129
|
props: {
|
|
1130
1130
|
url: {
|
|
@@ -1148,13 +1148,13 @@ function Ut(t, s, e, i, r, a) {
|
|
|
1148
1148
|
return o(), l("li", null, [
|
|
1149
1149
|
d("a", {
|
|
1150
1150
|
href: e.url,
|
|
1151
|
-
class:
|
|
1151
|
+
class: y(`${e.status ? "bg-" + e.status : ""}${typeof e.current < "u" ? "current" : ""}`),
|
|
1152
1152
|
"aria-current": typeof e.current < "u" ? "step" : !1
|
|
1153
1153
|
}, [
|
|
1154
1154
|
d("span", null, [
|
|
1155
1155
|
u(t.$slots, "default")
|
|
1156
1156
|
]),
|
|
1157
|
-
e.status ? (o(), l("em", Ot, " - status: " +
|
|
1157
|
+
e.status ? (o(), l("em", Ot, " - status: " + _(e.status), 1)) : h("", !0)
|
|
1158
1158
|
], 10, Bt)
|
|
1159
1159
|
]);
|
|
1160
1160
|
}
|
|
@@ -1163,7 +1163,7 @@ const Wt = {
|
|
|
1163
1163
|
name: "Tabs",
|
|
1164
1164
|
created() {
|
|
1165
1165
|
this.$nextTick(function() {
|
|
1166
|
-
import("./tabs.component.min-
|
|
1166
|
+
import("./tabs.component.min-fdbecb78.mjs").then((t) => {
|
|
1167
1167
|
window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", t.default);
|
|
1168
1168
|
}).catch((t) => {
|
|
1169
1169
|
console.log(t.message);
|
|
@@ -1203,14 +1203,14 @@ function Xt(t, s, e, i, r, a) {
|
|
|
1203
1203
|
return o(), l("details", Yt, [
|
|
1204
1204
|
d("summary", {
|
|
1205
1205
|
innerHTML: e.title,
|
|
1206
|
-
class:
|
|
1206
|
+
class: y({ disabled: r.isDisabled })
|
|
1207
1207
|
}, null, 10, Jt),
|
|
1208
1208
|
u(t.$slots, "default")
|
|
1209
1209
|
]);
|
|
1210
1210
|
}
|
|
1211
1211
|
const Os = /* @__PURE__ */ m(Qt, [["render", Xt]]);
|
|
1212
|
-
let
|
|
1213
|
-
|
|
1212
|
+
let R = C.props;
|
|
1213
|
+
R.fields.required = !1;
|
|
1214
1214
|
const Zt = {
|
|
1215
1215
|
components: {
|
|
1216
1216
|
Table: C,
|
|
@@ -1242,7 +1242,7 @@ const Zt = {
|
|
|
1242
1242
|
type: String,
|
|
1243
1243
|
required: !0
|
|
1244
1244
|
},
|
|
1245
|
-
...
|
|
1245
|
+
...R,
|
|
1246
1246
|
title: {
|
|
1247
1247
|
type: String,
|
|
1248
1248
|
required: !1
|
|
@@ -1265,22 +1265,22 @@ function is(t, s, e, i, r, a) {
|
|
|
1265
1265
|
key: 0,
|
|
1266
1266
|
class: "h3",
|
|
1267
1267
|
innerHTML: e.title
|
|
1268
|
-
}, null, 8, ts)) :
|
|
1269
|
-
|
|
1268
|
+
}, null, 8, ts)) : h("", !0),
|
|
1269
|
+
g(n, w({
|
|
1270
1270
|
fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
|
|
1271
1271
|
items: r.itemsData
|
|
1272
1272
|
}, t.$props, { class: "mb-0" }), null, 16, ["items"]),
|
|
1273
1273
|
d("form", {
|
|
1274
1274
|
action: e.action,
|
|
1275
1275
|
method: e.method,
|
|
1276
|
-
onSubmit: s[0] || (s[0] = O((
|
|
1276
|
+
onSubmit: s[0] || (s[0] = O((p) => a.submitForm(...arguments), ["prevent"]))
|
|
1277
1277
|
}, [
|
|
1278
1278
|
d("input", {
|
|
1279
1279
|
type: "hidden",
|
|
1280
1280
|
value: e.user,
|
|
1281
1281
|
name: "user"
|
|
1282
1282
|
}, null, 8, as),
|
|
1283
|
-
|
|
1283
|
+
g(c, {
|
|
1284
1284
|
id: "addNote",
|
|
1285
1285
|
type: "textarea",
|
|
1286
1286
|
label: "Add note",
|
|
@@ -1310,7 +1310,7 @@ function os(t, s, e, i, r, a) {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
const Ws = /* @__PURE__ */ m(ns, [["render", os]]);
|
|
1312
1312
|
/*!
|
|
1313
|
-
* iamKey v7.1.0--
|
|
1313
|
+
* iamKey v7.1.0--beta4
|
|
1314
1314
|
* Copyright 2022-2025 iamproperty
|
|
1315
1315
|
*/
|
|
1316
1316
|
function ls(t, s) {
|
|
@@ -1387,7 +1387,7 @@ function ms(t) {
|
|
|
1387
1387
|
s || (s = document.createElement("div"), s.classList.add("notification__holder"), s.classList.add("container"), document.querySelector("body").appendChild(s)), t.closest(".notification__holder") || s.appendChild(t);
|
|
1388
1388
|
}
|
|
1389
1389
|
if (t.setAttribute("role", "alert"), t.addEventListener("click", function(s) {
|
|
1390
|
-
event && event.target instanceof HTMLElement && event.target.closest("[data-dismiss-button]") && (s.preventDefault(), T(t));
|
|
1390
|
+
event && event.target instanceof HTMLElement && (event.target.closest("[data-dismiss-button]") || event.target.matches("[data-dismiss-button]")) && (s.preventDefault(), T(t));
|
|
1391
1391
|
}, !1), t.hasAttribute("data-timeout")) {
|
|
1392
1392
|
const s = t.getAttribute("data-timeout"), e = new ps(function() {
|
|
1393
1393
|
T(t);
|
|
@@ -1418,12 +1418,8 @@ window.dataLayer.push({
|
|
|
1418
1418
|
class hs extends HTMLElement {
|
|
1419
1419
|
constructor() {
|
|
1420
1420
|
super(), this.attachShadow({ mode: "open" });
|
|
1421
|
-
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`, i = `@import "${s}/css/components/notification.css";`, r = `@import "${s}/css/components/notification.global.css";`, a =
|
|
1422
|
-
|
|
1423
|
-
c.setAttribute("slot", "btns"), c.classList.add("link");
|
|
1424
|
-
}), (a.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable");
|
|
1425
|
-
const n = document.createElement("template");
|
|
1426
|
-
n.innerHTML = `
|
|
1421
|
+
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`, i = `@import "${s}/css/components/notification.css";`, r = `@import "${s}/css/components/notification.global.css";`, a = document.createElement("template");
|
|
1422
|
+
a.innerHTML = `
|
|
1427
1423
|
<style>
|
|
1428
1424
|
@import "${e}";
|
|
1429
1425
|
${i}
|
|
@@ -1432,17 +1428,16 @@ class hs extends HTMLElement {
|
|
|
1432
1428
|
|
|
1433
1429
|
<div class="notification">
|
|
1434
1430
|
<div class="notification__icon"><slot name="icon"></slot></div>
|
|
1435
|
-
<div class="notification__inner"><div class="notification__text"><slot></slot></div
|
|
1436
|
-
|
|
1431
|
+
<div class="notification__inner"><div class="notification__text"><slot></slot></div><div class="notification__btns"><slot name="btns"></slot></div></div>
|
|
1432
|
+
<div class="notification__dismiss"></div>
|
|
1437
1433
|
</div>
|
|
1438
|
-
`, this.shadowRoot.appendChild(
|
|
1434
|
+
`, this.shadowRoot.appendChild(a.content.cloneNode(!0)), document.getElementById("notificationHolder") || document.head.insertAdjacentHTML("beforeend", `<style id="notificationHolder">${r}</style>`);
|
|
1439
1435
|
}
|
|
1440
1436
|
connectedCallback() {
|
|
1441
|
-
|
|
1442
|
-
this.hasAttribute("data-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
switch (e) {
|
|
1437
|
+
var s, e, i, r, a;
|
|
1438
|
+
const n = this, c = this.hasAttribute("data-status") ? this.getAttribute("data-status") : "white";
|
|
1439
|
+
if (this.hasAttribute("data-type") ? this.classList.add(`bg-${c}`) : this.classList.add(`colour-${c}`), !this.querySelector("i"))
|
|
1440
|
+
switch (c) {
|
|
1446
1441
|
case "danger":
|
|
1447
1442
|
this.innerHTML += '<i class="fa-solid fa-circle-exclamation" aria-hidden="true" slot="icon"></i>';
|
|
1448
1443
|
break;
|
|
@@ -1455,9 +1450,12 @@ class hs extends HTMLElement {
|
|
|
1455
1450
|
default:
|
|
1456
1451
|
this.innerHTML += '<i class="fa-solid fa-circle-info" aria-hidden="true" slot="icon"></i>';
|
|
1457
1452
|
}
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1453
|
+
const p = this.querySelectorAll("a,button");
|
|
1454
|
+
Array.from(p).forEach((f, v) => {
|
|
1455
|
+
f.setAttribute("slot", "btns"), f.classList.add("link");
|
|
1456
|
+
}), (p.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable"), p.length ? (r = (i = this.shadowRoot) === null || i === void 0 ? void 0 : i.querySelector(".notification__btns")) === null || r === void 0 || r.classList.remove("empty") : (e = (s = this.shadowRoot) === null || s === void 0 ? void 0 : s.querySelector(".notification__btns")) === null || e === void 0 || e.classList.add("empty"), this.hasAttribute("data-dismiss") && ((a = this.shadowRoot.querySelector(".notification__dismiss")) === null || a === void 0 || (a.innerHTML = '<button data-dismiss-button part="dismiss-btn">Dismiss</button>'), this.shadowRoot.querySelector(".notification__dismiss [data-dismiss-button]").addEventListener("click", function(f) {
|
|
1457
|
+
T(n);
|
|
1458
|
+
}, !1)), ms(this);
|
|
1461
1459
|
}
|
|
1462
1460
|
}
|
|
1463
1461
|
const fs = {
|
|
@@ -1479,7 +1477,7 @@ const Gs = /* @__PURE__ */ m(fs, [["render", bs]]), ys = {
|
|
|
1479
1477
|
props: {},
|
|
1480
1478
|
mounted() {
|
|
1481
1479
|
this.$nextTick(function() {
|
|
1482
|
-
import("./actionbar.component.min-
|
|
1480
|
+
import("./actionbar.component.min-33d2d178.mjs").then((t) => {
|
|
1483
1481
|
window.customElements.get("iam-actionbar") || window.customElements.define("iam-actionbar", t.default);
|
|
1484
1482
|
}).catch((t) => {
|
|
1485
1483
|
console.log(t.message);
|
|
@@ -1487,17 +1485,17 @@ const Gs = /* @__PURE__ */ m(fs, [["render", bs]]), ys = {
|
|
|
1487
1485
|
});
|
|
1488
1486
|
}
|
|
1489
1487
|
};
|
|
1490
|
-
function
|
|
1488
|
+
function _s(t, s, e, i, r, a) {
|
|
1491
1489
|
return o(), l("iam-actionbar", null, [
|
|
1492
1490
|
u(t.$slots, "default")
|
|
1493
1491
|
]);
|
|
1494
1492
|
}
|
|
1495
|
-
const Qs = /* @__PURE__ */ m(ys, [["render",
|
|
1493
|
+
const Qs = /* @__PURE__ */ m(ys, [["render", _s]]);
|
|
1496
1494
|
/*!
|
|
1497
|
-
* iamKey v7.1.0--
|
|
1495
|
+
* iamKey v7.1.0--beta4
|
|
1498
1496
|
* Copyright 2022-2025 iamproperty
|
|
1499
1497
|
*/
|
|
1500
|
-
class
|
|
1498
|
+
class P extends HTMLElement {
|
|
1501
1499
|
constructor() {
|
|
1502
1500
|
super(), this.attachShadow({ mode: "open" });
|
|
1503
1501
|
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`, i = document.createElement("template");
|
|
@@ -1554,24 +1552,24 @@ class R extends HTMLElement {
|
|
|
1554
1552
|
}), a.addEventListener("change", (c) => {
|
|
1555
1553
|
this.setAttribute("data-increment", c.target.value);
|
|
1556
1554
|
}), n.addEventListener("click", (c) => {
|
|
1557
|
-
const
|
|
1558
|
-
this.setAttribute("data-show",
|
|
1555
|
+
const p = parseInt(this.getAttribute("data-show")) + parseInt(this.getAttribute("data-increment"));
|
|
1556
|
+
this.setAttribute("data-show", p), p > parseInt(this.getAttribute("data-total")) && n.remove();
|
|
1559
1557
|
});
|
|
1560
1558
|
}
|
|
1561
1559
|
setup() {
|
|
1562
|
-
const s = this.shadowRoot.querySelector(".pagination"), e = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), r = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".item-count"), n = this.shadowRoot.querySelector(".per-page select"), c = this.shadowRoot.querySelector(".total-pages"),
|
|
1563
|
-
|
|
1560
|
+
const s = this.shadowRoot.querySelector(".pagination"), e = this.shadowRoot.querySelector(".page-jump select"), i = this.shadowRoot.querySelector(".prev"), r = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".item-count"), n = this.shadowRoot.querySelector(".per-page select"), c = this.shadowRoot.querySelector(".total-pages"), p = parseInt(this.getAttribute("data-page")), f = parseInt(this.getAttribute("data-total")), v = parseInt(this.getAttribute("data-show")), b = parseInt(this.getAttribute("data-increment")), S = Math.ceil(f / b);
|
|
1561
|
+
f > v && s.classList.remove("d-none");
|
|
1564
1562
|
let E = "";
|
|
1565
|
-
for (let A = 1; A <=
|
|
1566
|
-
E += `<option value="${A}" ${A ==
|
|
1567
|
-
e.innerHTML = E, c.innerHTML = `of ${
|
|
1568
|
-
const j =
|
|
1569
|
-
a.innerHTML = `${j} - ${H >
|
|
1563
|
+
for (let A = 1; A <= S; A++)
|
|
1564
|
+
E += `<option value="${A}" ${A == p ? "selected" : ""}>${A}</option>`;
|
|
1565
|
+
e.innerHTML = E, c.innerHTML = `of ${S}`, p == S ? r.setAttribute("disabled", "disabled") : r.removeAttribute("disabled"), p == 1 ? i.setAttribute("disabled", "disabled") : i.removeAttribute("disabled");
|
|
1566
|
+
const j = p == 1 ? 1 : (p - 1) * v + 1, H = p == 1 ? v : p * v;
|
|
1567
|
+
a.innerHTML = `${j} - ${H > f ? f : H} of ${f} items`;
|
|
1570
1568
|
const I = [15, 25, 40, 50];
|
|
1571
|
-
|
|
1572
|
-
<option value="${
|
|
1573
|
-
<option value="${
|
|
1574
|
-
<option value="${
|
|
1569
|
+
b && n.value != b && !I.includes(b) && (n.innerHTML = `<option value="${b}">${b}</option>
|
|
1570
|
+
<option value="${b * 2}">${b * 2}</option>
|
|
1571
|
+
<option value="${b * 3}">${b * 3}</option>
|
|
1572
|
+
<option value="${b * 4}">${b * 4}</option>`), n.value = b;
|
|
1575
1573
|
}
|
|
1576
1574
|
static get observedAttributes() {
|
|
1577
1575
|
return ["data-total", "data-increment", "data-page", "data-show"];
|
|
@@ -1597,16 +1595,16 @@ class R extends HTMLElement {
|
|
|
1597
1595
|
}
|
|
1598
1596
|
}
|
|
1599
1597
|
}
|
|
1600
|
-
const
|
|
1598
|
+
const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1601
1599
|
__proto__: null,
|
|
1602
|
-
default:
|
|
1600
|
+
default: P
|
|
1603
1601
|
}, Symbol.toStringTag, { value: "Module" })), vs = {
|
|
1604
1602
|
name: "Pagination",
|
|
1605
1603
|
props: {},
|
|
1606
1604
|
computed: {},
|
|
1607
1605
|
created() {
|
|
1608
1606
|
this.$nextTick(function() {
|
|
1609
|
-
window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination",
|
|
1607
|
+
window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination", P);
|
|
1610
1608
|
});
|
|
1611
1609
|
},
|
|
1612
1610
|
updated() {
|
|
@@ -1693,12 +1691,12 @@ const Ls = {
|
|
|
1693
1691
|
mounted() {
|
|
1694
1692
|
}
|
|
1695
1693
|
};
|
|
1696
|
-
function
|
|
1694
|
+
function Ss(t, s, e, i, r, a) {
|
|
1697
1695
|
return o(), l("iam-collapsible-side", null, [
|
|
1698
1696
|
u(t.$slots, "default")
|
|
1699
1697
|
]);
|
|
1700
1698
|
}
|
|
1701
|
-
const Xs = /* @__PURE__ */ m(Ls, [["render",
|
|
1699
|
+
const Xs = /* @__PURE__ */ m(Ls, [["render", Ss]]);
|
|
1702
1700
|
export {
|
|
1703
1701
|
Es as Accordion,
|
|
1704
1702
|
Hs as AccordionItem,
|
|
@@ -1711,7 +1709,7 @@ export {
|
|
|
1711
1709
|
Xs as CollapsibleSideMenu,
|
|
1712
1710
|
Ts as FileUpload,
|
|
1713
1711
|
Ks as Filterlist,
|
|
1714
|
-
|
|
1712
|
+
Rs as Header,
|
|
1715
1713
|
N as Input,
|
|
1716
1714
|
qs as Logo,
|
|
1717
1715
|
Ds as Nav,
|
|
@@ -1725,6 +1723,6 @@ export {
|
|
|
1725
1723
|
Os as Tab,
|
|
1726
1724
|
C as Table,
|
|
1727
1725
|
Bs as Tabs,
|
|
1728
|
-
|
|
1726
|
+
Ps as Testimonial,
|
|
1729
1727
|
js as Timeline
|
|
1730
1728
|
};
|