@iamproperty/components 7.2.2--beta3 → 7.4.0
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/actionbar.component.css +1 -1
- package/assets/css/components/actionbar.component.css.map +1 -1
- package/assets/css/components/actionbar.global.css +1 -1
- package/assets/css/components/actionbar.global.css.map +1 -1
- package/assets/css/components/barchart.component.css +1 -1
- package/assets/css/components/barchart.component.css.map +1 -1
- package/assets/css/components/bento-grid.global.css.map +1 -1
- package/assets/css/components/calendar.component.css +1 -0
- package/assets/css/components/calendar.component.css.map +1 -0
- package/assets/css/components/calendar.config.css +1 -0
- package/assets/css/components/calendar.config.css.map +1 -0
- package/assets/css/components/card.component.css +1 -1
- package/assets/css/components/card.component.css.map +1 -1
- package/assets/css/components/carousel.component.css +1 -1
- package/assets/css/components/carousel.component.css.map +1 -1
- package/assets/css/components/charts.module.css.map +1 -1
- package/assets/css/components/collapsible-side.css +1 -1
- package/assets/css/components/collapsible-side.css.map +1 -1
- package/assets/css/components/content.component.css +1 -0
- package/assets/css/components/content.component.css.map +1 -0
- package/assets/css/components/doughnutchart.component.css +1 -1
- package/assets/css/components/doughnutchart.component.css.map +1 -1
- package/assets/css/components/fileupload.css.map +1 -1
- package/assets/css/components/inline-edit.css +1 -1
- package/assets/css/components/inline-edit.css.map +1 -1
- package/assets/css/components/marketing.component.css +1 -0
- package/assets/css/components/marketing.component.css.map +1 -0
- package/assets/css/components/menu.component.css +1 -1
- package/assets/css/components/menu.component.css.map +1 -1
- package/assets/css/components/menu.css +1 -1
- package/assets/css/components/menu.css.map +1 -1
- package/assets/css/components/milestone.css +1 -0
- package/assets/css/components/milestone.css.map +1 -0
- package/assets/css/components/multiselect.css +1 -1
- package/assets/css/components/multiselect.css.map +1 -1
- package/assets/css/components/nav.component.css +1 -1
- package/assets/css/components/nav.component.css.map +1 -1
- package/assets/css/components/nav.global.css +1 -1
- package/assets/css/components/nav.global.css.map +1 -1
- package/assets/css/components/pagination.css.map +1 -1
- package/assets/css/components/rank.component.css +1 -1
- package/assets/css/components/rank.component.css.map +1 -1
- package/assets/css/components/rankings.component.css +1 -1
- package/assets/css/components/rankings.component.css.map +1 -1
- package/assets/css/components/rankings.global.css +1 -1
- package/assets/css/components/rankings.global.css.map +1 -1
- package/assets/css/components/slider.css.map +1 -1
- package/assets/css/components/split-button.component.css +1 -0
- package/assets/css/components/split-button.component.css.map +1 -0
- package/assets/css/components/table-basic.global.css.map +1 -1
- package/assets/css/components/table.global.css.map +1 -1
- package/assets/css/core.min.css +1 -1
- package/assets/css/core.min.css.map +1 -1
- package/assets/css/mobile-core.min.css +1 -1
- package/assets/css/mobile-core.min.css.map +1 -1
- package/assets/css/mobile.min.css +1 -1
- package/assets/css/mobile.min.css.map +1 -1
- package/assets/css/style.min.css +1 -1
- package/assets/css/style.min.css.map +1 -1
- package/assets/js/components/accordion/accordion.component.min.js +1 -1
- package/assets/js/components/actionbar/actionbar.component.js +51 -31
- package/assets/js/components/actionbar/actionbar.component.min.js +17 -17
- package/assets/js/components/actionbar/actionbar.component.min.js.map +1 -1
- package/assets/js/components/address-lookup/address-lookup.component.min.js +1 -1
- package/assets/js/components/advanced-select/advanced-select.component.js +63 -0
- package/assets/js/components/advanced-select/advanced-select.component.min.js +23 -0
- package/assets/js/components/advanced-select/advanced-select.component.min.js.map +1 -0
- package/assets/js/components/applied-filters/applied-filters.component.min.js +1 -1
- package/assets/js/components/barchart/barchart.component.min.js +2 -2
- package/assets/js/components/bento-grid/bento-grid.component.min.js +1 -1
- package/assets/js/components/calendar/calendar.component.js +1083 -0
- package/assets/js/components/calendar/calendar.component.min.js +170 -0
- package/assets/js/components/calendar/calendar.component.min.js.map +1 -0
- package/assets/js/components/card/card.component.js +20 -8
- package/assets/js/components/card/card.component.min.js +10 -10
- package/assets/js/components/card/card.component.min.js.map +1 -1
- package/assets/js/components/carousel/carousel.component.min.js +2 -2
- package/assets/js/components/collapsible-side/collapsible-side.component.js +47 -12
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js +6 -5
- package/assets/js/components/collapsible-side/collapsible-side.component.min.js.map +1 -1
- package/assets/js/components/content/content.component.js +66 -0
- package/assets/js/components/content/content.component.min.js +15 -0
- package/assets/js/components/content/content.component.min.js.map +1 -0
- package/assets/js/components/doughnutchart/doughnutchart.component.min.js +2 -2
- 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 +5 -5
- package/assets/js/components/marketing/marketing.component.js +1 -1
- package/assets/js/components/marketing/marketing.component.min.js +2 -2
- package/assets/js/components/marketing/marketing.component.min.js.map +1 -1
- package/assets/js/components/menu/menu.component.js +148 -161
- package/assets/js/components/menu/menu.component.min.js +4 -69
- package/assets/js/components/menu/menu.component.min.js.map +1 -1
- package/assets/js/components/milestone/milestone.component.js +38 -0
- package/assets/js/components/milestone/milestone.component.min.js +15 -0
- package/assets/js/components/milestone/milestone.component.min.js.map +1 -0
- package/assets/js/components/milestone-group/milestone-group.component.js +35 -0
- package/assets/js/components/milestone-group/milestone-group.component.min.js +13 -0
- package/assets/js/components/milestone-group/milestone-group.component.min.js.map +1 -0
- package/assets/js/components/multi-step/multi-step.component.min.js +1 -1
- package/assets/js/components/multiselect/multiselect.component.js +54 -2
- package/assets/js/components/multiselect/multiselect.component.min.js +5 -5
- package/assets/js/components/multiselect/multiselect.component.min.js.map +1 -1
- package/assets/js/components/nav/nav.component.js +19 -0
- package/assets/js/components/nav/nav.component.min.js +6 -6
- package/assets/js/components/nav/nav.component.min.js.map +1 -1
- package/assets/js/components/notification/notification.component.js +17 -11
- package/assets/js/components/notification/notification.component.min.js +4 -4
- 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/rank/rank.component.js +346 -210
- package/assets/js/components/rank/rank.component.min.js +346 -211
- package/assets/js/components/rank/rank.component.min.js.map +1 -1
- package/assets/js/components/rankings/rankings.component.js +17 -8
- package/assets/js/components/rankings/rankings.component.min.js +14 -8
- package/assets/js/components/rankings/rankings.component.min.js.map +1 -1
- package/assets/js/components/record-card/record-card.component.min.js +1 -1
- package/assets/js/components/search/search.component.js +5 -3
- package/assets/js/components/search/search.component.min.js +6 -6
- package/assets/js/components/search/search.component.min.js.map +1 -1
- package/assets/js/components/slider/slider.component.min.js +1 -1
- package/assets/js/components/split-button/split-button.component.js +60 -0
- package/assets/js/components/split-button/split-button.component.min.js +34 -0
- package/assets/js/components/split-button/split-button.component.min.js.map +1 -0
- package/assets/js/components/table/table.component.js +12 -0
- package/assets/js/components/table/table.component.min.js +3 -3
- package/assets/js/components/table/table.component.min.js.map +1 -1
- package/assets/js/components/table-ajax/table-ajax.component.js +12 -0
- package/assets/js/components/table-ajax/table-ajax.component.min.js +3 -3
- package/assets/js/components/table-ajax/table-ajax.component.min.js.map +1 -1
- package/assets/js/components/table-basic/table-basic.component.min.js +1 -1
- package/assets/js/components/table-basic/table-basic.component.min.js.map +1 -1
- package/assets/js/components/table-no-submit/table-no-submit.component.js +12 -0
- package/assets/js/components/table-no-submit/table-no-submit.component.min.js +3 -3
- package/assets/js/components/table-no-submit/table-no-submit.component.min.js.map +1 -1
- package/assets/js/components/table-submit/table-submit.component.js +12 -0
- package/assets/js/components/table-submit/table-submit.component.min.js +3 -3
- package/assets/js/components/table-submit/table-submit.component.min.js.map +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/video-card/video-card.component.min.js.map +1 -1
- package/assets/js/components.js +58 -0
- package/assets/js/modules/advanced-select.js +106 -0
- package/assets/js/modules/dialogs.js +53 -51
- package/assets/js/modules/dynamicEvents.js +7 -0
- package/assets/js/modules/milestone-group.js +30 -0
- package/assets/js/modules/milestone.js +89 -0
- package/assets/js/modules/table.js +11 -1
- package/assets/js/modules/videos.js +1 -1
- package/assets/js/scripts.bundle.js +3 -3
- package/assets/js/scripts.bundle.js.map +1 -1
- package/assets/js/scripts.bundle.min.js +2 -2
- package/assets/js/scripts.bundle.min.js.map +1 -1
- package/assets/js/scripts.js +4 -0
- package/assets/sass/_components.scss +11 -0
- package/assets/sass/_functions/utility-mixins.scss +41 -0
- package/assets/sass/_functions/variables.scss +11 -8
- package/assets/sass/components/actionbar.component.scss +3 -4
- package/assets/sass/components/actionbar.global.scss +4 -4
- package/assets/sass/components/bento-grid.global.scss +0 -1
- package/assets/sass/components/calendar.component.scss +1380 -0
- package/assets/sass/components/calendar.config.scss +476 -0
- package/assets/sass/components/card.component.scss +4 -34
- package/assets/sass/components/carousel.component.scss +5 -0
- package/assets/sass/components/charts.module.scss +0 -2
- package/assets/sass/components/collapsible-side.scss +91 -95
- package/assets/sass/components/content.component.scss +18 -0
- package/assets/sass/components/inline-edit.scss +2 -0
- package/assets/sass/components/{marketing.scss → marketing.component.scss} +2 -6
- package/assets/sass/components/menu.component.scss +118 -31
- package/assets/sass/components/menu.scss +68 -7
- package/assets/sass/components/milestone.scss +207 -0
- package/assets/sass/components/multiselect.scss +3 -0
- package/assets/sass/components/nav.component.scss +1 -0
- package/assets/sass/components/nav.global.scss +30 -0
- package/assets/sass/components/rank.component.scss +197 -33
- package/assets/sass/components/rankings.component.scss +39 -35
- package/assets/sass/components/rankings.global.scss +66 -10
- package/assets/sass/components/split-button.component.scss +77 -0
- package/assets/sass/components/table-basic.global.scss +2 -4
- package/assets/sass/components/table.global.scss +4 -4
- package/assets/sass/elements/badge-tag.scss +5 -1
- package/assets/sass/elements/buttons--compact.scss +4 -0
- package/assets/sass/elements/buttons--global.scss +1 -1
- package/assets/sass/elements/details.scss +0 -1
- package/assets/sass/elements/dialog.scss +1 -3
- package/assets/sass/elements/forms.scss +148 -22
- package/assets/sass/elements/links.scss +132 -4
- package/assets/sass/elements/lists.scss +61 -0
- package/assets/sass/elements/popover.scss +64 -10
- package/assets/sass/elements/toggle-button.scss +7 -8
- package/assets/sass/elements/type.scss +7 -10
- package/assets/sass/foundations/reboot.scss +3 -3
- package/assets/sass/templates/form.scss +0 -2
- package/assets/ts/components/actionbar/actionbar.component.ts +49 -23
- package/assets/ts/components/advanced-select/advanced-select.component.ts +74 -0
- package/assets/ts/components/calendar/calendar.component.ts +1460 -0
- package/assets/ts/components/card/card.component.ts +22 -14
- package/assets/ts/components/collapsible-side/collapsible-side.component.ts +53 -12
- package/assets/ts/components/content/content.component.ts +78 -0
- package/assets/ts/components/marketing/marketing.component.ts +1 -1
- package/assets/ts/components/menu/menu.component.ts +162 -173
- package/assets/ts/components/milestone/milestone.component.ts +45 -0
- package/assets/ts/components/milestone-group/milestone-group.component.ts +41 -0
- package/assets/ts/components/multiselect/multiselect.component.ts +69 -3
- package/assets/ts/components/nav/nav.component.ts +25 -0
- package/assets/ts/components/notification/notification.component.ts +34 -11
- package/assets/ts/components/rank/rank.component.ts +345 -214
- package/assets/ts/components/rankings/rankings.component.ts +28 -15
- package/assets/ts/components/search/search.component.ts +6 -4
- package/assets/ts/components/split-button/split-button.component.ts +69 -0
- package/assets/ts/components/table/table.component.ts +14 -0
- package/assets/ts/components/table-ajax/table-ajax.component.ts +14 -0
- package/assets/ts/components/table-no-submit/table-no-submit.component.ts +14 -0
- package/assets/ts/components/table-submit/table-submit.component.ts +14 -0
- package/assets/ts/components/video-card/video-card.component.ts +2 -3
- package/assets/ts/components.ts +63 -0
- package/assets/ts/modules/advanced-select.ts +125 -0
- package/assets/ts/modules/dialogs.ts +64 -61
- package/assets/ts/modules/dynamicEvents.ts +12 -1
- package/assets/ts/modules/milestone-group.ts +42 -0
- package/assets/ts/modules/milestone.ts +122 -0
- package/assets/ts/modules/table.ts +15 -1
- package/assets/ts/modules/videos.ts +19 -37
- package/assets/ts/scripts.ts +5 -3
- package/dist/components.es.js +41 -1923
- package/dist/components.umd.js +127 -171
- package/package.json +1 -1
- package/src/components/AdvancedSelect/AdvancedSelect.vue +23 -0
- package/src/components/Calendar/Calendar.vue +26 -0
- package/src/components/Card/Card.vue +1 -1
- package/src/components/CollapsibleSideMenu/CollapsibleSideMenu.vue +7 -13
- package/src/components/Content/Content.vue +23 -0
- package/src/components/Milestones/Milestone.vue +27 -0
- package/src/components/Milestones/MilestoneGroup.vue +27 -0
- package/src/components/Rank/Rank.vue +1 -2
- package/src/components/Rankings/Rankings.vue +9 -10
- package/src/components/SplitButton/README.md +19 -0
- package/src/components/SplitButton/SplitButton.vue +26 -0
- package/src/index.js +44 -41
- package/assets/css/components/marketing.css +0 -1
- package/assets/css/components/marketing.css.map +0 -1
- package/assets/css/components/nav.old.css +0 -1
- package/assets/css/components/nav.old.css.map +0 -1
- package/assets/sass/components/nav.old.scss +0 -891
package/dist/components.es.js
CHANGED
|
@@ -1,1925 +1,43 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const u = (e, i) => {
|
|
3
|
-
const t = e.__vccOpts || e;
|
|
4
|
-
for (const [n, s] of i)
|
|
5
|
-
t[n] = s;
|
|
6
|
-
return t;
|
|
7
|
-
}, U = {
|
|
8
|
-
name: "Logo",
|
|
9
|
-
props: {
|
|
10
|
-
id: {
|
|
11
|
-
type: String,
|
|
12
|
-
required: !1,
|
|
13
|
-
default: "property"
|
|
14
|
-
},
|
|
15
|
-
path: {
|
|
16
|
-
type: String,
|
|
17
|
-
required: !1,
|
|
18
|
-
default: "/svg/logo.svg"
|
|
19
|
-
},
|
|
20
|
-
desc: {
|
|
21
|
-
type: String
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
computed: {
|
|
25
|
-
src: function() {
|
|
26
|
-
return "#logo-" + this.id;
|
|
27
|
-
},
|
|
28
|
-
className: function() {
|
|
29
|
-
return "brand brand--" + this.id;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}, W = ["xlink:href"], G = ["innerHTML"];
|
|
33
|
-
function K(e, i, t, n, s, a) {
|
|
34
|
-
return r(), o("div", {
|
|
35
|
-
class: b(a.className)
|
|
36
|
-
}, [
|
|
37
|
-
(r(), o("svg", null, [
|
|
38
|
-
c("title", null, "iam " + y(t.id), 1),
|
|
39
|
-
c("use", {
|
|
40
|
-
"xlink:href": t.path + a.src
|
|
41
|
-
}, null, 8, W)
|
|
42
|
-
])),
|
|
43
|
-
t.desc ? (r(), o("span", {
|
|
44
|
-
key: 0,
|
|
45
|
-
innerHTML: t.desc
|
|
46
|
-
}, null, 8, G)) : f("", !0)
|
|
47
|
-
], 2);
|
|
48
|
-
}
|
|
49
|
-
const Gi = /* @__PURE__ */ u(U, [["render", K]]), Q = {
|
|
50
|
-
name: "Input",
|
|
51
|
-
props: {
|
|
52
|
-
value: {
|
|
53
|
-
type: String,
|
|
54
|
-
required: !1
|
|
55
|
-
},
|
|
56
|
-
id: {
|
|
57
|
-
type: String,
|
|
58
|
-
required: !0
|
|
59
|
-
},
|
|
60
|
-
name: {
|
|
61
|
-
type: String,
|
|
62
|
-
required: !1
|
|
63
|
-
},
|
|
64
|
-
list: {
|
|
65
|
-
type: String,
|
|
66
|
-
required: !1
|
|
67
|
-
},
|
|
68
|
-
label: {
|
|
69
|
-
type: String,
|
|
70
|
-
required: !1
|
|
71
|
-
},
|
|
72
|
-
labelclass: {
|
|
73
|
-
type: String,
|
|
74
|
-
required: !1
|
|
75
|
-
},
|
|
76
|
-
inputclass: {
|
|
77
|
-
type: String,
|
|
78
|
-
required: !1
|
|
79
|
-
},
|
|
80
|
-
type: {
|
|
81
|
-
type: String,
|
|
82
|
-
required: !1,
|
|
83
|
-
default: "text"
|
|
84
|
-
},
|
|
85
|
-
size: {
|
|
86
|
-
type: String,
|
|
87
|
-
required: !1
|
|
88
|
-
},
|
|
89
|
-
errormsg: {
|
|
90
|
-
type: String,
|
|
91
|
-
required: !1
|
|
92
|
-
},
|
|
93
|
-
options: {
|
|
94
|
-
type: Array,
|
|
95
|
-
required: !1
|
|
96
|
-
},
|
|
97
|
-
prefix: {
|
|
98
|
-
type: String,
|
|
99
|
-
required: !1
|
|
100
|
-
},
|
|
101
|
-
prefixClass: {
|
|
102
|
-
type: String,
|
|
103
|
-
required: !1
|
|
104
|
-
},
|
|
105
|
-
suffix: {
|
|
106
|
-
type: String,
|
|
107
|
-
required: !1
|
|
108
|
-
},
|
|
109
|
-
pattern: {
|
|
110
|
-
type: String,
|
|
111
|
-
required: !1
|
|
112
|
-
},
|
|
113
|
-
suffixClass: {
|
|
114
|
-
type: String,
|
|
115
|
-
required: !1
|
|
116
|
-
},
|
|
117
|
-
title: {
|
|
118
|
-
type: String,
|
|
119
|
-
required: !1
|
|
120
|
-
},
|
|
121
|
-
hint: {
|
|
122
|
-
type: String,
|
|
123
|
-
required: !1
|
|
124
|
-
},
|
|
125
|
-
multiple: {
|
|
126
|
-
type: String,
|
|
127
|
-
required: !1
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
computed: {
|
|
131
|
-
displayLabel() {
|
|
132
|
-
return () => this.$attrs.multiple ? this.label + '<span class="small d-block text-body font-body fw-normal">Hold down the Ctrl (windows) or Command (Mac) button to select multiple options.</span>' : this.hint ? this.label + `<span class="small d-block text-body font-body fw-normal">${this.hint}</span>` : this.label;
|
|
133
|
-
},
|
|
134
|
-
wrapperClass() {
|
|
135
|
-
return () => {
|
|
136
|
-
switch (this.type) {
|
|
137
|
-
case "radio":
|
|
138
|
-
case "checkbox":
|
|
139
|
-
return "form-check";
|
|
140
|
-
case "radio-btn":
|
|
141
|
-
case "checkbox-btn":
|
|
142
|
-
return !1;
|
|
143
|
-
default:
|
|
144
|
-
return "form-control__wrapper";
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
},
|
|
148
|
-
needPattern() {
|
|
149
|
-
return () => {
|
|
150
|
-
if (this.pattern) return this.pattern;
|
|
151
|
-
switch (this.type) {
|
|
152
|
-
case "datetime-local":
|
|
153
|
-
return "[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}";
|
|
154
|
-
}
|
|
155
|
-
return "(.*?)";
|
|
156
|
-
};
|
|
157
|
-
},
|
|
158
|
-
needsLabel() {
|
|
159
|
-
return () => {
|
|
160
|
-
switch (this.type) {
|
|
161
|
-
case "radio":
|
|
162
|
-
case "radio-btn":
|
|
163
|
-
case "checkbox":
|
|
164
|
-
case "checkbox-btn":
|
|
165
|
-
return !1;
|
|
166
|
-
default:
|
|
167
|
-
return !0;
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
},
|
|
171
|
-
isInput() {
|
|
172
|
-
return () => {
|
|
173
|
-
switch (this.type) {
|
|
174
|
-
case "textarea":
|
|
175
|
-
case "select":
|
|
176
|
-
case "radio":
|
|
177
|
-
case "radio-btn":
|
|
178
|
-
case "checkbox":
|
|
179
|
-
case "checkbox-btn":
|
|
180
|
-
case "range":
|
|
181
|
-
case "color":
|
|
182
|
-
return !1;
|
|
183
|
-
default:
|
|
184
|
-
return !0;
|
|
185
|
-
}
|
|
186
|
-
};
|
|
187
|
-
},
|
|
188
|
-
allowDatalist() {
|
|
189
|
-
return () => {
|
|
190
|
-
switch (this.type) {
|
|
191
|
-
case "select":
|
|
192
|
-
case "radio":
|
|
193
|
-
case "radio-btn":
|
|
194
|
-
case "checkbox":
|
|
195
|
-
case "checkbox-btn":
|
|
196
|
-
return !1;
|
|
197
|
-
default:
|
|
198
|
-
return !0;
|
|
199
|
-
}
|
|
200
|
-
};
|
|
201
|
-
},
|
|
202
|
-
hasOptions() {
|
|
203
|
-
return () => {
|
|
204
|
-
if (this.list) return this.list;
|
|
205
|
-
if (this.options)
|
|
206
|
-
return this.id + "-list";
|
|
207
|
-
};
|
|
208
|
-
},
|
|
209
|
-
inputVal: {
|
|
210
|
-
get() {
|
|
211
|
-
return this.value == null && this.options != null && this.type == "select" ? this.$attrs.multiple ? [] : this.options[0].value : this.value;
|
|
212
|
-
},
|
|
213
|
-
set(e) {
|
|
214
|
-
this.$emit("input", e);
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
},
|
|
218
|
-
mounted() {
|
|
219
|
-
this.$nextTick(function() {
|
|
220
|
-
let e = this.$refs.wrapper;
|
|
221
|
-
if (e.parentNode && e.parentNode.classList.contains("form-check") || e.classList.length == 0) {
|
|
222
|
-
const i = document.createDocumentFragment();
|
|
223
|
-
Array.from(e.childNodes).forEach((t) => i.appendChild(t)), e.parentNode.insertBefore(i, e), e.parentNode.removeChild(e);
|
|
224
|
-
}
|
|
225
|
-
});
|
|
226
|
-
},
|
|
227
|
-
methods: {
|
|
228
|
-
inputKeyup(e) {
|
|
229
|
-
this.$emit("keyupEvent", e);
|
|
230
|
-
},
|
|
231
|
-
clickEvent() {
|
|
232
|
-
this.$emit("bus");
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
}, Y = ["for", "innerHTML", "title"], J = ["innerHTML"], X = ["innerHTML"], Z = ["type", "name", "id", "pattern", "list"], tt = ["type", "name", "id", "pattern"], et = {
|
|
236
|
-
key: 5,
|
|
237
|
-
class: "input-group"
|
|
238
|
-
}, it = ["type", "name", "id", "pattern", "list"], at = { class: "input-group-text border-0 col-2 col-sm-1 px-0" }, nt = {
|
|
239
|
-
key: 6,
|
|
240
|
-
class: "input-group"
|
|
241
|
-
}, st = ["type", "name", "id", "pattern", "list"], ot = { class: "input-group-text flex-fill" }, rt = ["type", "name", "id", "pattern"], lt = ["value"], ct = ["type", "name", "id"], dt = ["for", "innerHTML"], mt = ["type", "name", "id"], ut = ["for", "innerHTML"], pt = ["innerHTML"], ht = ["id"], ft = ["value"];
|
|
242
|
-
function gt(e, i, t, n, s, a) {
|
|
243
|
-
return r(), o("div", {
|
|
244
|
-
class: b(a.wrapperClass()),
|
|
245
|
-
ref: "wrapper"
|
|
246
|
-
}, [
|
|
247
|
-
a.needsLabel() ? (r(), o("label", {
|
|
248
|
-
key: 0,
|
|
249
|
-
class: b(`form-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
|
|
250
|
-
for: t.id,
|
|
251
|
-
innerHTML: a.displayLabel(),
|
|
252
|
-
title: t.title
|
|
253
|
-
}, null, 10, Y)) : f("", !0),
|
|
254
|
-
t.prefix ? (r(), o("span", {
|
|
255
|
-
key: 1,
|
|
256
|
-
class: b(`prefix ${this.prefixClass} ${t.size ? `prefix-${t.size}` : ""}`),
|
|
257
|
-
innerHTML: t.prefix,
|
|
258
|
-
role: "presentation"
|
|
259
|
-
}, null, 10, J)) : f("", !0),
|
|
260
|
-
t.suffix ? (r(), o("span", {
|
|
261
|
-
key: 2,
|
|
262
|
-
class: b(`suffix ${this.suffixClass} ${t.size ? `suffix-${t.size}` : ""}`),
|
|
263
|
-
innerHTML: t.suffix,
|
|
264
|
-
role: "presentation"
|
|
265
|
-
}, null, 10, X)) : f("", !0),
|
|
266
|
-
a.isInput() ? x((r(), o("input", v({
|
|
267
|
-
key: 3,
|
|
268
|
-
"onUpdate:modelValue": i[0] || (i[0] = (l) => a.inputVal = l),
|
|
269
|
-
class: `form-control${t.size ? ` form-control-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
270
|
-
type: t.type,
|
|
271
|
-
name: t.name ? t.name : t.id,
|
|
272
|
-
id: t.id,
|
|
273
|
-
pattern: a.needPattern(),
|
|
274
|
-
list: a.hasOptions()
|
|
275
|
-
}, e.$attrs, {
|
|
276
|
-
onKeyup: i[1] || (i[1] = (...l) => a.inputKeyup && a.inputKeyup(...l))
|
|
277
|
-
}), null, 16, Z)), [
|
|
278
|
-
[E, a.inputVal]
|
|
279
|
-
]) : f("", !0),
|
|
280
|
-
t.type == "textarea" ? x((r(), o("textarea", v({
|
|
281
|
-
key: 4,
|
|
282
|
-
"onUpdate:modelValue": i[2] || (i[2] = (l) => a.inputVal = l),
|
|
283
|
-
class: `form-control${t.size ? ` form-control-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
284
|
-
type: t.type,
|
|
285
|
-
name: t.name ? t.name : t.id,
|
|
286
|
-
id: t.id,
|
|
287
|
-
pattern: a.needPattern()
|
|
288
|
-
}, e.$attrs), null, 16, tt)), [
|
|
289
|
-
[F, a.inputVal]
|
|
290
|
-
]) : f("", !0),
|
|
291
|
-
t.type == "range" ? (r(), o("div", et, [
|
|
292
|
-
x(c("input", v({
|
|
293
|
-
"onUpdate:modelValue": i[3] || (i[3] = (l) => a.inputVal = l),
|
|
294
|
-
class: `form-range${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
295
|
-
type: t.type,
|
|
296
|
-
name: t.name ? t.name : t.id,
|
|
297
|
-
id: t.id,
|
|
298
|
-
pattern: a.needPattern(),
|
|
299
|
-
list: a.hasOptions()
|
|
300
|
-
}, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, it), [
|
|
301
|
-
[E, a.inputVal]
|
|
302
|
-
]),
|
|
303
|
-
c("output", at, y(t.value), 1)
|
|
304
|
-
])) : f("", !0),
|
|
305
|
-
t.type == "color" ? (r(), o("div", nt, [
|
|
306
|
-
x(c("input", v({
|
|
307
|
-
"onUpdate:modelValue": i[4] || (i[4] = (l) => a.inputVal = l),
|
|
308
|
-
class: `form-control form-control-color${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
309
|
-
type: t.type,
|
|
310
|
-
name: t.name ? t.name : t.id,
|
|
311
|
-
id: t.id,
|
|
312
|
-
pattern: a.needPattern(),
|
|
313
|
-
list: a.hasOptions()
|
|
314
|
-
}, e.$attrs, { oninput: "this.nextElementSibling.value=this.value;" }), null, 16, st), [
|
|
315
|
-
[E, a.inputVal]
|
|
316
|
-
]),
|
|
317
|
-
c("output", ot, y(t.value ? e.vale : "#000000"), 1)
|
|
318
|
-
])) : f("", !0),
|
|
319
|
-
t.type == "select" ? x((r(), o("select", v({
|
|
320
|
-
key: 7,
|
|
321
|
-
"onUpdate:modelValue": i[5] || (i[5] = (l) => a.inputVal = l),
|
|
322
|
-
class: `form-select${t.size ? ` form-select-${t.size}` : ""}${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
323
|
-
type: t.type,
|
|
324
|
-
name: t.id,
|
|
325
|
-
id: t.id,
|
|
326
|
-
pattern: a.needPattern()
|
|
327
|
-
}, e.$attrs), [
|
|
328
|
-
(r(!0), o(w, null, $(t.options, (l, m) => (r(), o("option", {
|
|
329
|
-
key: m,
|
|
330
|
-
value: l.value
|
|
331
|
-
}, y(l.display ? l.display : l.value), 9, lt))), 128))
|
|
332
|
-
], 16, rt)), [
|
|
333
|
-
[z, a.inputVal]
|
|
334
|
-
]) : f("", !0),
|
|
335
|
-
t.type == "checkbox" || t.type == "radio" ? (r(), o("input", v({
|
|
336
|
-
key: 8,
|
|
337
|
-
class: "form-check-input",
|
|
338
|
-
type: t.type,
|
|
339
|
-
name: t.name ? t.name : t.id,
|
|
340
|
-
id: t.id
|
|
341
|
-
}, e.$attrs), null, 16, ct)) : f("", !0),
|
|
342
|
-
t.type == "checkbox" || t.type == "radio" ? (r(), o("label", {
|
|
343
|
-
key: 9,
|
|
344
|
-
class: b(`form-label form-check-label${t.labelclass ? ` ${t.labelclass}` : ""}`),
|
|
345
|
-
for: t.id,
|
|
346
|
-
innerHTML: t.label
|
|
347
|
-
}, null, 10, dt)) : f("", !0),
|
|
348
|
-
t.type == "checkbox-btn" || t.type == "radio-btn" ? (r(), o("input", v({
|
|
349
|
-
key: 10,
|
|
350
|
-
class: `btn-check${t.inputclass ? ` ${t.inputclass}` : ""}`,
|
|
351
|
-
type: t.type.replace("-btn", ""),
|
|
352
|
-
autocomplete: "off",
|
|
353
|
-
name: t.name ? t.name : t.id,
|
|
354
|
-
id: t.id
|
|
355
|
-
}, e.$attrs), null, 16, mt)) : f("", !0),
|
|
356
|
-
t.type == "checkbox-btn" || t.type == "radio-btn" ? (r(), o("label", {
|
|
357
|
-
key: 11,
|
|
358
|
-
class: b(`btn${t.labelclass ? ` ${t.labelclass}` : ""}`),
|
|
359
|
-
for: t.id,
|
|
360
|
-
innerHTML: t.label,
|
|
361
|
-
onClick: i[6] || (i[6] = (...l) => a.clickEvent && a.clickEvent(...l))
|
|
362
|
-
}, null, 10, ut)) : f("", !0),
|
|
363
|
-
d(e.$slots, "default"),
|
|
364
|
-
t.errormsg ? (r(), o("span", {
|
|
365
|
-
key: 12,
|
|
366
|
-
class: "invalid-feedback mb-0",
|
|
367
|
-
innerHTML: t.errormsg
|
|
368
|
-
}, null, 8, pt)) : f("", !0),
|
|
369
|
-
a.allowDatalist() ? (r(), o("datalist", {
|
|
370
|
-
key: 13,
|
|
371
|
-
id: t.id + "-list"
|
|
372
|
-
}, [
|
|
373
|
-
(r(!0), o(w, null, $(t.options, (l, m) => (r(), o("option", {
|
|
374
|
-
key: m,
|
|
375
|
-
value: l.value
|
|
376
|
-
}, y(l.value), 9, ft))), 128))
|
|
377
|
-
], 8, ht)) : f("", !0)
|
|
378
|
-
], 2);
|
|
379
|
-
}
|
|
380
|
-
const R = /* @__PURE__ */ u(Q, [["render", gt]]), bt = {
|
|
381
|
-
name: "Accordion",
|
|
382
|
-
props: {},
|
|
383
|
-
mounted() {
|
|
384
|
-
this.$nextTick(function() {
|
|
385
|
-
import("./accordion.component.min-P9tiEtrr.js").then((e) => {
|
|
386
|
-
window.customElements.get("iam-accordion") || window.customElements.define("iam-accordion", e.default);
|
|
387
|
-
}).catch((e) => {
|
|
388
|
-
console.log(e.message);
|
|
389
|
-
});
|
|
390
|
-
});
|
|
391
|
-
}
|
|
392
|
-
}, yt = { ref: "wrapper" };
|
|
393
|
-
function _t(e, i, t, n, s, a) {
|
|
394
|
-
return r(), o("iam-accordion", yt, [
|
|
395
|
-
d(e.$slots, "default")
|
|
396
|
-
], 512);
|
|
397
|
-
}
|
|
398
|
-
const Ki = /* @__PURE__ */ u(bt, [["render", _t]]), vt = (e) => e.charAt(0).toUpperCase() + e.slice(1), wt = (e) => e.replace(/_/g, " "), $t = (e) => e.replace(/ /g, "_"), kt = function(e) {
|
|
399
|
-
return e = e.toLowerCase(), e = $t(e), e = e.replace(/\W/g, ""), e;
|
|
400
|
-
}, At = {
|
|
401
|
-
name: "AccordionItem",
|
|
402
|
-
props: {
|
|
403
|
-
title: {
|
|
404
|
-
type: String,
|
|
405
|
-
required: !0
|
|
406
|
-
},
|
|
407
|
-
titlecolour: {
|
|
408
|
-
type: String,
|
|
409
|
-
required: !1
|
|
410
|
-
},
|
|
411
|
-
badge: {
|
|
412
|
-
type: [Number, String],
|
|
413
|
-
required: !1
|
|
414
|
-
},
|
|
415
|
-
badgecolour: {
|
|
416
|
-
type: String,
|
|
417
|
-
required: !1,
|
|
418
|
-
default: "light"
|
|
419
|
-
},
|
|
420
|
-
lazy: {
|
|
421
|
-
type: Boolean,
|
|
422
|
-
required: !1
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
computed: {
|
|
426
|
-
createID() {
|
|
427
|
-
return (e) => `${kt(e)}`;
|
|
428
|
-
}
|
|
429
|
-
},
|
|
430
|
-
data() {
|
|
431
|
-
return {
|
|
432
|
-
show: !this.lazy
|
|
433
|
-
};
|
|
434
|
-
}
|
|
435
|
-
}, xt = ["id"];
|
|
436
|
-
function Lt(e, i, t, n, s, a) {
|
|
437
|
-
return r(), o("details", {
|
|
438
|
-
id: a.createID(t.title)
|
|
439
|
-
}, [
|
|
440
|
-
c("summary", null, [
|
|
441
|
-
B(y(t.title), 1),
|
|
442
|
-
t.badge ? (r(), o("span", {
|
|
443
|
-
key: 0,
|
|
444
|
-
class: b(`badge bg-${t.badgecolour}`)
|
|
445
|
-
}, y(t.badge), 3)) : f("", !0)
|
|
446
|
-
]),
|
|
447
|
-
d(e.$slots, "default")
|
|
448
|
-
], 8, xt);
|
|
449
|
-
}
|
|
450
|
-
const Qi = /* @__PURE__ */ u(At, [["render", Lt]]), St = {
|
|
451
|
-
name: "Actionbar",
|
|
452
|
-
props: {},
|
|
453
|
-
mounted() {
|
|
454
|
-
this.$nextTick(function() {
|
|
455
|
-
import("./actionbar.component.min-mOQCuzsN.js").then((e) => {
|
|
456
|
-
window.customElements.get("iam-actionbar") || window.customElements.define("iam-actionbar", e.default);
|
|
457
|
-
}).catch((e) => {
|
|
458
|
-
console.log(e.message);
|
|
459
|
-
});
|
|
460
|
-
});
|
|
461
|
-
}
|
|
462
|
-
};
|
|
463
|
-
function Et(e, i, t, n, s, a) {
|
|
464
|
-
return r(), o("iam-actionbar", null, [
|
|
465
|
-
d(e.$slots, "default")
|
|
466
|
-
]);
|
|
467
|
-
}
|
|
468
|
-
const Yi = /* @__PURE__ */ u(St, [["render", Et]]), qt = {
|
|
469
|
-
name: "Address Lookup",
|
|
470
|
-
mounted() {
|
|
471
|
-
this.$nextTick(function() {
|
|
472
|
-
import("./address-lookup.component.min-CFK-gdst.js").then((e) => {
|
|
473
|
-
window.customElements.get("iam-address-lookup") || window.customElements.define("iam-address-lookup", e.default);
|
|
474
|
-
}).catch((e) => {
|
|
475
|
-
console.log(e.message);
|
|
476
|
-
});
|
|
477
|
-
});
|
|
478
|
-
}
|
|
479
|
-
};
|
|
480
|
-
function Tt(e, i, t, n, s, a) {
|
|
481
|
-
return r(), o("iam-address-lookup", null, [
|
|
482
|
-
d(e.$slots, "default")
|
|
483
|
-
]);
|
|
484
|
-
}
|
|
485
|
-
const Ji = /* @__PURE__ */ u(qt, [["render", Tt]]), Mt = {
|
|
486
|
-
name: "Applied Filter",
|
|
487
|
-
mounted() {
|
|
488
|
-
this.$nextTick(function() {
|
|
489
|
-
import("./applied-filters.component-DVJe7PVv.js").then((e) => {
|
|
490
|
-
window.customElements.get("iam-applied-filters") || window.customElements.define("iam-applied-filters", e.default);
|
|
491
|
-
}).catch((e) => {
|
|
492
|
-
console.log(e.message);
|
|
493
|
-
});
|
|
494
|
-
});
|
|
495
|
-
}
|
|
496
|
-
};
|
|
497
|
-
function Ht(e, i, t, n, s, a) {
|
|
498
|
-
return r(), o("iam-applied-filters", null, [
|
|
499
|
-
d(e.$slots, "default")
|
|
500
|
-
]);
|
|
501
|
-
}
|
|
502
|
-
const Xi = /* @__PURE__ */ u(Mt, [["render", Ht]]), Ct = {
|
|
503
|
-
name: "Header",
|
|
504
|
-
props: {
|
|
505
|
-
title: {
|
|
506
|
-
type: String,
|
|
507
|
-
required: !0
|
|
508
|
-
},
|
|
509
|
-
image: {
|
|
510
|
-
type: String,
|
|
511
|
-
required: !1
|
|
512
|
-
},
|
|
513
|
-
background: {
|
|
514
|
-
type: String,
|
|
515
|
-
default: "light",
|
|
516
|
-
required: !1
|
|
517
|
-
}
|
|
518
|
-
}
|
|
519
|
-
}, Nt = { class: "container" }, Rt = { class: "row" }, Pt = { class: "col-sm-6" }, jt = { class: "pt-5 pb-3 px-4" }, It = { class: "col-sm-6 col-md-5 ms-auto" }, Vt = ["src"];
|
|
520
|
-
function Dt(e, i, t, n, s, a) {
|
|
521
|
-
return r(), o("div", Nt, [
|
|
522
|
-
c("div", {
|
|
523
|
-
class: b("bg-" + t.background + " mb-4")
|
|
524
|
-
}, [
|
|
525
|
-
c("div", Rt, [
|
|
526
|
-
c("div", Pt, [
|
|
527
|
-
c("div", jt, [
|
|
528
|
-
c("h2", null, y(t.title), 1),
|
|
529
|
-
d(e.$slots, "default")
|
|
530
|
-
])
|
|
531
|
-
]),
|
|
532
|
-
c("div", It, [
|
|
533
|
-
t.image ? (r(), o("img", {
|
|
534
|
-
key: 0,
|
|
535
|
-
src: t.image,
|
|
536
|
-
alt: "",
|
|
537
|
-
class: "h-100 w-100 object-cover"
|
|
538
|
-
}, null, 8, Vt)) : f("", !0)
|
|
539
|
-
])
|
|
540
|
-
])
|
|
541
|
-
], 2)
|
|
542
|
-
]);
|
|
543
|
-
}
|
|
544
|
-
const Zi = /* @__PURE__ */ u(Ct, [["render", Dt]]), Ft = {
|
|
545
|
-
name: "Barchart",
|
|
546
|
-
created() {
|
|
547
|
-
this.$nextTick(function() {
|
|
548
|
-
import("./barchart.component.min-CBrq48jW.js").then((e) => {
|
|
549
|
-
window.customElements.get("iam-barchart") || window.customElements.define("iam-barchart", e.default);
|
|
550
|
-
}).catch((e) => {
|
|
551
|
-
console.log(e.message);
|
|
552
|
-
});
|
|
553
|
-
});
|
|
554
|
-
}
|
|
555
|
-
};
|
|
556
|
-
function zt(e, i, t, n, s, a) {
|
|
557
|
-
return r(), o("iam-barchart", null, [
|
|
558
|
-
d(e.$slots, "default")
|
|
559
|
-
]);
|
|
560
|
-
}
|
|
561
|
-
const ta = /* @__PURE__ */ u(Ft, [["render", zt]]), Bt = { ref: "wrapper" }, ea = {
|
|
562
|
-
__name: "BentoGrid",
|
|
563
|
-
setup(e) {
|
|
564
|
-
return L(() => {
|
|
565
|
-
import("./bento-grid.component.min-d57gVO4r.js").then((i) => {
|
|
566
|
-
window.customElements.get("iam-bento-grid") || window.customElements.define("iam-bento-grid", i.default);
|
|
567
|
-
}).catch((i) => {
|
|
568
|
-
console.log(i.message);
|
|
569
|
-
});
|
|
570
|
-
}), (i, t) => (r(), o("iam-bento-grid", Bt, [
|
|
571
|
-
d(i.$slots, "default")
|
|
572
|
-
], 512));
|
|
573
|
-
}
|
|
574
|
-
}, Ot = {
|
|
575
|
-
name: "Card",
|
|
576
|
-
created() {
|
|
577
|
-
this.$nextTick(function() {
|
|
578
|
-
import("./card.component.min-DSjCICZf.js").then((e) => {
|
|
579
|
-
window.customElements.get("iam-card") || window.customElements.define("iam-card", e.default);
|
|
580
|
-
}).catch((e) => {
|
|
581
|
-
console.log(e.message);
|
|
582
|
-
});
|
|
583
|
-
});
|
|
584
|
-
}
|
|
585
|
-
};
|
|
586
|
-
function Ut(e, i, t, n, s, a) {
|
|
587
|
-
return r(), o("iam-card", null, [
|
|
588
|
-
d(e.$slots, "default")
|
|
589
|
-
]);
|
|
590
|
-
}
|
|
591
|
-
const ia = /* @__PURE__ */ u(Ot, [["render", Ut]]), Wt = {
|
|
592
|
-
name: "Header",
|
|
593
|
-
mounted() {
|
|
594
|
-
this.$nextTick(function() {
|
|
595
|
-
import("./carousel.component.min-JpbxPlQO.js").then((e) => {
|
|
596
|
-
window.customElements.get("iam-carousel") || window.customElements.define("iam-carousel", e.default);
|
|
597
|
-
}).catch((e) => {
|
|
598
|
-
console.log(e.message);
|
|
599
|
-
});
|
|
600
|
-
});
|
|
601
|
-
}
|
|
602
|
-
};
|
|
603
|
-
function Gt(e, i, t, n, s, a) {
|
|
604
|
-
return r(), o("iam-carousel", null, [
|
|
605
|
-
d(e.$slots, "default")
|
|
606
|
-
]);
|
|
607
|
-
}
|
|
608
|
-
const aa = /* @__PURE__ */ u(Wt, [["render", Gt]]);
|
|
609
|
-
window.dataLayer = window.dataLayer || [];
|
|
610
|
-
window.dataLayer.push({
|
|
611
|
-
event: "customElementRegistered",
|
|
612
|
-
element: "collapsible side menu"
|
|
613
|
-
});
|
|
614
|
-
class Kt extends HTMLElement {
|
|
615
|
-
constructor() {
|
|
616
|
-
super(), this.attachShadow({ mode: "open" });
|
|
617
|
-
const i = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${i}/css/core.min.css`, n = `@import "${i}/css/components/collapsible-side.css";`, s = document.createElement("template");
|
|
618
|
-
s.innerHTML = `
|
|
619
|
-
<style class="styles">
|
|
620
|
-
@import "${t}";
|
|
621
|
-
${n}
|
|
622
|
-
${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
|
|
623
|
-
</style>
|
|
624
|
-
<link rel="stylesheet" href="https://kit.fontawesome.com/26fdbf0179.css" crossorigin="anonymous">
|
|
625
|
-
<div class="container" part="container">
|
|
626
|
-
|
|
627
|
-
<div class="side-menu" part="side-menu">
|
|
628
|
-
<button class="btn btn-compact fa-chevron-right btn-secondary btn-sm btn-collapse" part="btn">Open or close Collapsible menu</button>
|
|
629
|
-
<div class="side-menu-content closed" part="side-menu-content">
|
|
630
|
-
<slot name="menu"></slot>
|
|
631
|
-
</div>
|
|
632
|
-
</div>
|
|
633
|
-
|
|
634
|
-
<div class="main-content" part="main-content">
|
|
635
|
-
<slot></slot>
|
|
636
|
-
</div>
|
|
637
|
-
|
|
638
|
-
</div>
|
|
639
|
-
`, this.shadowRoot.appendChild(s.content.cloneNode(!0));
|
|
640
|
-
}
|
|
641
|
-
connectedCallback() {
|
|
642
|
-
const i = this.shadowRoot.querySelector(".side-menu"), t = this.shadowRoot.querySelector(".side-menu-content"), n = this.shadowRoot.querySelector(".main-content"), s = this.shadowRoot.querySelector(".side-menu > .btn");
|
|
643
|
-
this.hasAttribute("data-css") && this.shadowRoot.querySelector(".styles").insertAdjacentHTML("beforeend", `@import "${this.getAttribute("data-css")}";`), this.hasAttribute("data-title") || this.setAttribute("data-title", "configuration"), t.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 && (i.classList.add("open"), s.setAttribute("aria-expanded", !0)), s.addEventListener("click", () => {
|
|
644
|
-
i.classList.contains("open") ? (i.classList.remove("open"), s.removeAttribute("aria-expanded"), setTimeout(function() {
|
|
645
|
-
t.classList.add("closed");
|
|
646
|
-
}, 1e3), i.classList.add("pe-none"), setTimeout(function() {
|
|
647
|
-
i.classList.remove("pe-none");
|
|
648
|
-
}, 1e3)) : (t.classList.remove("closed"), setTimeout(function() {
|
|
649
|
-
i.classList.add("open"), s.setAttribute("aria-expanded", !0);
|
|
650
|
-
}, 100));
|
|
651
|
-
}), i.addEventListener("mouseenter", () => {
|
|
652
|
-
window.innerWidth > 992 && (i.classList.contains("open") || t.classList.remove("closed"), i.classList.add("hover"));
|
|
653
|
-
}), i.addEventListener("mousemove", () => {
|
|
654
|
-
window.innerWidth > 992 && (i.classList.contains("open") || t.classList.remove("closed"));
|
|
655
|
-
}), i.addEventListener("mouseleave", () => {
|
|
656
|
-
window.innerWidth > 992 && (i.classList.remove("hover"), i.classList.contains("open") || setTimeout(function() {
|
|
657
|
-
t.classList.add("closed");
|
|
658
|
-
}, 1e3));
|
|
659
|
-
});
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
window.customElements.get("iam-collapsible-side") || window.customElements.define("iam-collapsible-side", Kt);
|
|
663
|
-
const Qt = {
|
|
664
|
-
name: "CollapsibleSideMenu",
|
|
665
|
-
props: {},
|
|
666
|
-
mounted() {
|
|
667
|
-
}
|
|
668
|
-
};
|
|
669
|
-
function Yt(e, i, t, n, s, a) {
|
|
670
|
-
return r(), o("iam-collapsible-side", null, [
|
|
671
|
-
d(e.$slots, "default")
|
|
672
|
-
]);
|
|
673
|
-
}
|
|
674
|
-
const na = /* @__PURE__ */ u(Qt, [["render", Yt]]), Jt = {
|
|
675
|
-
name: "FileUpload",
|
|
676
|
-
props: {
|
|
677
|
-
maxfilesize: {
|
|
678
|
-
type: Number,
|
|
679
|
-
required: !1
|
|
680
|
-
},
|
|
681
|
-
maxfiles: {
|
|
682
|
-
type: Number,
|
|
683
|
-
required: !1
|
|
684
|
-
}
|
|
685
|
-
},
|
|
686
|
-
created() {
|
|
687
|
-
this.$nextTick(function() {
|
|
688
|
-
import("./fileupload.component.min-4LAcoWXV.js").then((e) => {
|
|
689
|
-
window.customElements.get("iam-fileupload") || window.customElements.define("iam-fileupload", e.default);
|
|
690
|
-
}).catch((e) => {
|
|
691
|
-
console.log(e.message);
|
|
692
|
-
});
|
|
693
|
-
});
|
|
694
|
-
}
|
|
695
|
-
}, sa = /* @__PURE__ */ Object.assign(Jt, {
|
|
696
|
-
emits: ["elementChange", "empty", "fileRemoved"],
|
|
697
|
-
setup(e, { emit: i }) {
|
|
698
|
-
const t = i, n = N(null);
|
|
699
|
-
return L(() => {
|
|
700
|
-
n.value.addEventListener("elementChange", function(s) {
|
|
701
|
-
t("elementChange", s);
|
|
702
|
-
}), n.value.addEventListener("empty", function(s) {
|
|
703
|
-
t("empty", s);
|
|
704
|
-
}), n.value.addEventListener("fileRemoved", function(s) {
|
|
705
|
-
t("fileRemoved", s);
|
|
706
|
-
});
|
|
707
|
-
}), (s, a) => (r(), o("iam-fileupload", {
|
|
708
|
-
ref_key: "$component",
|
|
709
|
-
ref: n
|
|
710
|
-
}, [
|
|
711
|
-
d(s.$slots, "default")
|
|
712
|
-
], 512));
|
|
713
|
-
}
|
|
714
|
-
}), Xt = {
|
|
715
|
-
name: "Card",
|
|
716
|
-
created() {
|
|
717
|
-
this.$nextTick(function() {
|
|
718
|
-
import("./filter-card.component.min-_Y7dhDEa.js").then((e) => {
|
|
719
|
-
window.customElements.get("iam-filter-card") || window.customElements.define("iam-filter-card", e.default);
|
|
720
|
-
}).catch((e) => {
|
|
721
|
-
console.log(e.message);
|
|
722
|
-
});
|
|
723
|
-
});
|
|
724
|
-
}
|
|
725
|
-
};
|
|
726
|
-
function Zt(e, i, t, n, s, a) {
|
|
727
|
-
return r(), o("iam-filter-card", null, [
|
|
728
|
-
d(e.$slots, "default")
|
|
729
|
-
]);
|
|
730
|
-
}
|
|
731
|
-
const oa = /* @__PURE__ */ u(Xt, [["render", Zt]]);
|
|
732
|
-
/*!
|
|
733
|
-
* iamKey v7.2.2--beta3
|
|
734
|
-
* Copyright 2022-2025 iamproperty
|
|
735
|
-
*/
|
|
736
|
-
function te(e, i) {
|
|
737
|
-
ee(e, i);
|
|
738
|
-
}
|
|
739
|
-
function ee(e, i) {
|
|
740
|
-
let t;
|
|
741
|
-
i.addEventListener("keyup", () => {
|
|
742
|
-
clearTimeout(t), t = setTimeout(function() {
|
|
743
|
-
C(e, i.value);
|
|
744
|
-
}, 500);
|
|
745
|
-
}), i.addEventListener("change", () => {
|
|
746
|
-
clearTimeout(t), C(e, i.value);
|
|
747
|
-
});
|
|
748
|
-
}
|
|
749
|
-
const C = function(e, i) {
|
|
750
|
-
Array.from(e.querySelectorAll(":scope > li")).forEach((t) => {
|
|
751
|
-
const n = t.textContent.toLowerCase();
|
|
752
|
-
t.classList.add("d-none"), n.includes(i.toLowerCase()) && t.classList.remove("d-none");
|
|
753
|
-
}), window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "Filtered list", value: i });
|
|
754
|
-
};
|
|
755
|
-
window.dataLayer = window.dataLayer || [], window.dataLayer.push({ event: "customElementRegistered", element: "filterlist" });
|
|
756
|
-
class ie extends HTMLElement {
|
|
757
|
-
constructor() {
|
|
758
|
-
super(), this.attachShadow({ mode: "open" });
|
|
759
|
-
const i = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${i}/css/core.min.css`, n = document.createElement("template");
|
|
760
|
-
n.innerHTML = `
|
|
761
|
-
<style>
|
|
762
|
-
@import "${t}";
|
|
763
|
-
${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
|
|
764
|
-
|
|
765
|
-
:host {
|
|
766
|
-
margin-bottom: 1rem;
|
|
767
|
-
display:block;
|
|
768
|
-
}
|
|
769
|
-
:host(.mh-sm){
|
|
770
|
-
max-height: none!important;
|
|
771
|
-
}
|
|
772
|
-
:host(.mh-md){
|
|
773
|
-
max-height: none!important;
|
|
774
|
-
}
|
|
775
|
-
:host(.mh-lg){
|
|
776
|
-
max-height: none!important;
|
|
777
|
-
}
|
|
778
|
-
</style>
|
|
779
|
-
<div class="form-control__wrapper">
|
|
780
|
-
<label for="search" class="visually-hidden">Search</label>
|
|
781
|
-
<span class="suffix" role="presentation"><slot name="icon"></slot></span>
|
|
782
|
-
<input name="search" id="search" type="text" class="form-control" autocomplete="off" placeholder="Search" part="search-input" />
|
|
783
|
-
</div>
|
|
784
|
-
<div class="list__wrapper" part="wrapper">
|
|
785
|
-
<slot></slot>
|
|
786
|
-
</div>
|
|
787
|
-
`, this.shadowRoot.appendChild(n.content.cloneNode(!0));
|
|
788
|
-
}
|
|
789
|
-
connectedCallback() {
|
|
790
|
-
const i = this.classList.toString();
|
|
791
|
-
this.shadowRoot.querySelector(".list__wrapper").setAttribute("class", `list__wrapper ${i}`), this.querySelector("i.fa-search") || (this.innerHTML += '<i class="fa fa-light fa-search" aria-hidden="true" slot="icon"></i>'), te(this.querySelector("ul"), this.shadowRoot.querySelector("#search"));
|
|
792
|
-
}
|
|
793
|
-
}
|
|
794
|
-
window.customElements.get("iam-filterlist") || window.customElements.define("iam-filterlist", ie);
|
|
795
|
-
const ae = {
|
|
796
|
-
name: "Filter list"
|
|
797
|
-
};
|
|
798
|
-
function ne(e, i, t, n, s, a) {
|
|
799
|
-
return r(), o("iam-filterlist", null, [
|
|
800
|
-
d(e.$slots, "default")
|
|
801
|
-
]);
|
|
802
|
-
}
|
|
803
|
-
const ra = /* @__PURE__ */ u(ae, [["render", ne]]), se = {
|
|
804
|
-
name: "Header",
|
|
805
|
-
props: {
|
|
806
|
-
title: {
|
|
807
|
-
type: String,
|
|
808
|
-
required: !0
|
|
809
|
-
},
|
|
810
|
-
image: {
|
|
811
|
-
type: String,
|
|
812
|
-
required: !1
|
|
813
|
-
}
|
|
814
|
-
},
|
|
815
|
-
mounted() {
|
|
816
|
-
this.$nextTick(function() {
|
|
817
|
-
import("./header.component.min-hQKKN9pW.js").then((e) => {
|
|
818
|
-
window.customElements.get("iam-header") || window.customElements.define("iam-header", e.default);
|
|
819
|
-
}).catch((e) => {
|
|
820
|
-
console.log(e.message);
|
|
821
|
-
});
|
|
822
|
-
});
|
|
823
|
-
}
|
|
824
|
-
}, oe = ["image"], re = ["innerHTML"];
|
|
825
|
-
function le(e, i, t, n, s, a) {
|
|
826
|
-
return r(), o("iam-header", { image: t.image }, [
|
|
827
|
-
d(e.$slots, "breadcrumb"),
|
|
828
|
-
t.title ? (r(), o("h1", {
|
|
829
|
-
key: 0,
|
|
830
|
-
innerHTML: t.title
|
|
831
|
-
}, null, 8, re)) : f("", !0),
|
|
832
|
-
d(e.$slots, "default")
|
|
833
|
-
], 8, oe);
|
|
834
|
-
}
|
|
835
|
-
const la = /* @__PURE__ */ u(se, [["render", le]]), ce = {
|
|
836
|
-
components: {},
|
|
837
|
-
name: "Inline Edit",
|
|
838
|
-
mounted() {
|
|
839
|
-
this.$nextTick(function() {
|
|
840
|
-
import("./inline-edit.component-CU28Noq8.js").then((e) => {
|
|
841
|
-
window.customElements.get("iam-inline-edit") || window.customElements.define("iam-inline-edit", e.default);
|
|
842
|
-
}).catch((e) => {
|
|
843
|
-
console.log(e.message);
|
|
844
|
-
});
|
|
845
|
-
});
|
|
846
|
-
}
|
|
847
|
-
}, ca = /* @__PURE__ */ Object.assign(ce, {
|
|
848
|
-
emits: ["save", "autosave"],
|
|
849
|
-
setup(e, { emit: i }) {
|
|
850
|
-
const t = i, n = N(null);
|
|
851
|
-
return L(() => {
|
|
852
|
-
n.value.addEventListener("inline-edit-save", function(s) {
|
|
853
|
-
t("save", s);
|
|
854
|
-
}), n.value.addEventListener("inline-edit-autosave", function(s) {
|
|
855
|
-
t("autosave", s);
|
|
856
|
-
});
|
|
857
|
-
}), (s, a) => (r(), o("iam-inline-edit", {
|
|
858
|
-
ref_key: "$component",
|
|
859
|
-
ref: n
|
|
860
|
-
}, [
|
|
861
|
-
d(s.$slots, "default")
|
|
862
|
-
], 512));
|
|
863
|
-
}
|
|
864
|
-
}), de = {
|
|
865
|
-
name: "Multiselect",
|
|
866
|
-
mounted() {
|
|
867
|
-
this.$nextTick(function() {
|
|
868
|
-
import("./multiselect.component.min-_4ZbqOmf.js").then((e) => {
|
|
869
|
-
window.customElements.get("iam-multiselect") || window.customElements.define("iam-multiselect", e.default);
|
|
870
|
-
}).catch((e) => {
|
|
871
|
-
console.log(e.message);
|
|
872
|
-
});
|
|
873
|
-
});
|
|
874
|
-
}
|
|
875
|
-
};
|
|
876
|
-
function me(e, i, t, n, s, a) {
|
|
877
|
-
return r(), o("iam-multiselect", null, [
|
|
878
|
-
d(e.$slots, "default")
|
|
879
|
-
]);
|
|
880
|
-
}
|
|
881
|
-
const da = /* @__PURE__ */ u(de, [["render", me]]), ma = {
|
|
882
|
-
__name: "MultiStep",
|
|
883
|
-
setup(e) {
|
|
884
|
-
return L(() => {
|
|
885
|
-
import("./multi-step.component-DFBWFGUz.js").then((i) => {
|
|
886
|
-
window.customElements.get("iam-multi-step") || window.customElements.define("iam-multi-step", i.default);
|
|
887
|
-
}).catch((i) => {
|
|
888
|
-
console.log(i.message);
|
|
889
|
-
});
|
|
890
|
-
}), (i, t) => (r(), o("iam-multi-step", null, [
|
|
891
|
-
d(i.$slots, "default")
|
|
892
|
-
]));
|
|
893
|
-
}
|
|
894
|
-
}, ue = {
|
|
895
|
-
name: "Menu",
|
|
896
|
-
created() {
|
|
897
|
-
this.$nextTick(function() {
|
|
898
|
-
import("./menu.component-C3uSnLQM.js").then((e) => {
|
|
899
|
-
window.customElements.get("iam-menu") || window.customElements.define("iam-menu", e.default);
|
|
900
|
-
}).catch((e) => {
|
|
901
|
-
console.log(e.message);
|
|
902
|
-
});
|
|
903
|
-
});
|
|
904
|
-
}
|
|
905
|
-
}, pe = { ref: "wrapper" };
|
|
906
|
-
function he(e, i, t, n, s, a) {
|
|
907
|
-
return r(), o("iam-menu", pe, [
|
|
908
|
-
d(e.$slots, "default")
|
|
909
|
-
], 512);
|
|
910
|
-
}
|
|
911
|
-
const ua = /* @__PURE__ */ u(ue, [["render", he]]), fe = {
|
|
912
|
-
components: {},
|
|
913
|
-
name: "Nav",
|
|
914
|
-
mounted() {
|
|
915
|
-
this.$nextTick(function() {
|
|
916
|
-
import("./nav.component.min-mr-CJJ11.js").then((e) => {
|
|
917
|
-
window.customElements.get("iam-nav") || window.customElements.define("iam-nav", e.default);
|
|
918
|
-
}).catch((e) => {
|
|
919
|
-
console.log(e.message);
|
|
920
|
-
});
|
|
921
|
-
});
|
|
922
|
-
},
|
|
923
|
-
methods: {}
|
|
924
|
-
}, ge = { ref: "wrapper" };
|
|
925
|
-
function be(e, i, t, n, s, a) {
|
|
926
|
-
return r(), o("iam-nav", ge, [
|
|
927
|
-
d(e.$slots, "default")
|
|
928
|
-
], 512);
|
|
929
|
-
}
|
|
930
|
-
const pa = /* @__PURE__ */ u(fe, [["render", be]]), ye = {
|
|
931
|
-
name: "Table",
|
|
932
|
-
props: {
|
|
933
|
-
items: {
|
|
934
|
-
type: Array,
|
|
935
|
-
required: !1
|
|
936
|
-
},
|
|
937
|
-
fields: {
|
|
938
|
-
type: Array,
|
|
939
|
-
required: !1
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
computed: {
|
|
943
|
-
cellHeading() {
|
|
944
|
-
return (e) => `${vt(wt(e))}`;
|
|
945
|
-
}
|
|
946
|
-
},
|
|
947
|
-
created() {
|
|
948
|
-
this.$nextTick(function() {
|
|
949
|
-
import("./table.component.min-DjLyNKKV.js").then((e) => {
|
|
950
|
-
window.customElements.get("iam-table") || window.customElements.define("iam-table", e.default);
|
|
951
|
-
}).catch((e) => {
|
|
952
|
-
console.log(e.message);
|
|
953
|
-
}), Promise.resolve().then(() => Re).then((e) => {
|
|
954
|
-
window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination", e.default);
|
|
955
|
-
}).catch((e) => {
|
|
956
|
-
console.log(e.message);
|
|
957
|
-
});
|
|
958
|
-
});
|
|
959
|
-
},
|
|
960
|
-
updated() {
|
|
961
|
-
}
|
|
962
|
-
}, _e = { key: 0 }, ve = { key: 0 }, we = ["data-row-id"], $e = ["innerHTML"];
|
|
963
|
-
function ke(e, i, t, n, s, a) {
|
|
964
|
-
return r(), o("iam-table", null, [
|
|
965
|
-
d(e.$slots, "before"),
|
|
966
|
-
t.fields ? (r(), o("table", _e, [
|
|
967
|
-
c("thead", null, [
|
|
968
|
-
c("tr", null, [
|
|
969
|
-
(r(!0), o(w, null, $(t.fields, (l) => (r(), o("th", {
|
|
970
|
-
key: l.key
|
|
971
|
-
}, y(a.cellHeading(l.key)), 1))), 128))
|
|
972
|
-
])
|
|
973
|
-
]),
|
|
974
|
-
t.items ? (r(), o("tbody", ve, [
|
|
975
|
-
(r(!0), o(w, null, $(t.items, (l, m) => (r(), o("tr", {
|
|
976
|
-
key: m,
|
|
977
|
-
"data-row-id": l.rowid
|
|
978
|
-
}, [
|
|
979
|
-
(r(!0), o(w, null, $(Object.fromEntries(
|
|
980
|
-
Object.entries(l).filter(([p]) => p !== "rowid")
|
|
981
|
-
), (p, h) => (r(), o("td", {
|
|
982
|
-
key: h,
|
|
983
|
-
innerHTML: p
|
|
984
|
-
}, null, 8, $e))), 128))
|
|
985
|
-
], 8, we))), 128))
|
|
986
|
-
])) : f("", !0)
|
|
987
|
-
])) : d(e.$slots, "default", { key: 1 })
|
|
988
|
-
]);
|
|
989
|
-
}
|
|
990
|
-
const P = /* @__PURE__ */ u(ye, [["render", ke]]);
|
|
991
|
-
let j = P.props;
|
|
992
|
-
j.fields.required = !1;
|
|
993
|
-
const Ae = {
|
|
994
|
-
components: {
|
|
995
|
-
Table: P,
|
|
996
|
-
Input: R
|
|
997
|
-
},
|
|
998
|
-
data() {
|
|
999
|
-
return {
|
|
1000
|
-
itemsData: [...this.items]
|
|
1001
|
-
// Redefine data to avoid bleeding of data to other components
|
|
1002
|
-
};
|
|
1003
|
-
},
|
|
1004
|
-
methods: {
|
|
1005
|
-
submitForm: function(e) {
|
|
1006
|
-
console.log(this);
|
|
1007
|
-
const i = new FormData(e.target);
|
|
1008
|
-
let t = /* @__PURE__ */ new Date();
|
|
1009
|
-
const n = t.getFullYear();
|
|
1010
|
-
let s = t.getMonth() + 1, a = t.getDate();
|
|
1011
|
-
a < 10 && (a = "0" + a), s < 10 && (s = "0" + s), t = a + "/" + s + "/" + n, this.itemsData.unshift({
|
|
1012
|
-
date_added: t,
|
|
1013
|
-
user: i.get("user"),
|
|
1014
|
-
note: i.get("addNote")
|
|
1015
|
-
}), this.$emit("formSubmitted", e);
|
|
1016
|
-
}
|
|
1017
|
-
},
|
|
1018
|
-
name: "NoteFeed",
|
|
1019
|
-
props: {
|
|
1020
|
-
user: {
|
|
1021
|
-
type: String,
|
|
1022
|
-
required: !0
|
|
1023
|
-
},
|
|
1024
|
-
...j,
|
|
1025
|
-
title: {
|
|
1026
|
-
type: String,
|
|
1027
|
-
required: !1
|
|
1028
|
-
},
|
|
1029
|
-
method: {
|
|
1030
|
-
type: String,
|
|
1031
|
-
required: !1,
|
|
1032
|
-
default: "post"
|
|
1033
|
-
},
|
|
1034
|
-
action: {
|
|
1035
|
-
type: String,
|
|
1036
|
-
required: !1
|
|
1037
|
-
}
|
|
1038
|
-
}
|
|
1039
|
-
}, xe = { class: "container note-feed mb-2" }, Le = ["innerHTML"], Se = ["action", "method"], Ee = ["value"];
|
|
1040
|
-
function qe(e, i, t, n, s, a) {
|
|
1041
|
-
const l = q("Table"), m = q("Input");
|
|
1042
|
-
return r(), o("div", xe, [
|
|
1043
|
-
t.title ? (r(), o("span", {
|
|
1044
|
-
key: 0,
|
|
1045
|
-
class: "h3",
|
|
1046
|
-
innerHTML: t.title
|
|
1047
|
-
}, null, 8, Le)) : f("", !0),
|
|
1048
|
-
_(l, v({
|
|
1049
|
-
fields: [{ key: "date_added" }, { key: "user" }, { key: "note" }],
|
|
1050
|
-
items: s.itemsData
|
|
1051
|
-
}, e.$props, { class: "mb-0" }), null, 16, ["items"]),
|
|
1052
|
-
c("form", {
|
|
1053
|
-
action: t.action,
|
|
1054
|
-
method: t.method,
|
|
1055
|
-
onSubmit: i[0] || (i[0] = O((p) => a.submitForm(...arguments), ["prevent"]))
|
|
1056
|
-
}, [
|
|
1057
|
-
c("input", {
|
|
1058
|
-
type: "hidden",
|
|
1059
|
-
value: t.user,
|
|
1060
|
-
name: "user"
|
|
1061
|
-
}, null, 8, Ee),
|
|
1062
|
-
_(m, {
|
|
1063
|
-
id: "addNote",
|
|
1064
|
-
type: "textarea",
|
|
1065
|
-
label: "Add note",
|
|
1066
|
-
required: "",
|
|
1067
|
-
class: "mw-100"
|
|
1068
|
-
}),
|
|
1069
|
-
i[1] || (i[1] = c("button", { class: "btn btn-tertiary" }, "Submit note", -1))
|
|
1070
|
-
], 40, Se)
|
|
1071
|
-
]);
|
|
1072
|
-
}
|
|
1073
|
-
const ha = /* @__PURE__ */ u(Ae, [["render", qe]]);
|
|
1074
|
-
function Te(e) {
|
|
1075
|
-
if (e.hasAttribute("data-type") && e.getAttribute("data-type") == "toast") {
|
|
1076
|
-
let i = document.querySelector(".notification__holder");
|
|
1077
|
-
i || (i = document.createElement("div"), i.classList.add("notification__holder"), i.classList.add("container"), document.querySelector("body").appendChild(i)), e.closest(".notification__holder") || i.appendChild(e);
|
|
1078
|
-
}
|
|
1079
|
-
if (e.setAttribute("role", "alert"), e.addEventListener("click", function(i) {
|
|
1080
|
-
event && event.target instanceof HTMLElement && (event.target.closest("[data-dismiss-button]") || event.target.matches("[data-dismiss-button]")) && (i.preventDefault(), T(e));
|
|
1081
|
-
}, !1), e.hasAttribute("data-timeout")) {
|
|
1082
|
-
const i = e.getAttribute("data-timeout"), t = new Me(function() {
|
|
1083
|
-
T(e);
|
|
1084
|
-
}, i);
|
|
1085
|
-
e.addEventListener("mouseenter", () => {
|
|
1086
|
-
t.pause();
|
|
1087
|
-
}), e.addEventListener("mouseleave", () => {
|
|
1088
|
-
t.resume();
|
|
1089
|
-
});
|
|
1090
|
-
}
|
|
1091
|
-
}
|
|
1092
|
-
function Me(e, i) {
|
|
1093
|
-
let t, n, s = i;
|
|
1094
|
-
this.pause = function() {
|
|
1095
|
-
window.clearTimeout(t), s -= /* @__PURE__ */ new Date() - n;
|
|
1096
|
-
}, this.resume = function() {
|
|
1097
|
-
n = /* @__PURE__ */ new Date(), window.clearTimeout(t), t = window.setTimeout(e, s);
|
|
1098
|
-
}, this.resume();
|
|
1099
|
-
}
|
|
1100
|
-
const T = function(e) {
|
|
1101
|
-
e.classList.add("d-none");
|
|
1102
|
-
};
|
|
1103
|
-
window.dataLayer = window.dataLayer || [];
|
|
1104
|
-
window.dataLayer.push({
|
|
1105
|
-
event: "customElementRegistered",
|
|
1106
|
-
element: "Notification"
|
|
1107
|
-
});
|
|
1108
|
-
class He extends HTMLElement {
|
|
1109
|
-
constructor() {
|
|
1110
|
-
super(), this.attachShadow({ mode: "open" });
|
|
1111
|
-
const i = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${i}/css/core.min.css`, n = `@import "${i}/css/components/notification.css";`, s = `@import "${i}/css/components/notification.global.css";`, a = document.createElement("template");
|
|
1112
|
-
a.innerHTML = `
|
|
1113
|
-
<style>
|
|
1114
|
-
@import "${t}";
|
|
1115
|
-
${n}
|
|
1116
|
-
${this.hasAttribute("data-css") ? `${this.getAttribute("data-css")}` : ""}
|
|
1117
|
-
</style>
|
|
1118
|
-
|
|
1119
|
-
<div class="notification">
|
|
1120
|
-
<div class="notification__icon"><slot name="icon"></slot></div>
|
|
1121
|
-
<div class="notification__inner"><div class="notification__text"><slot></slot></div><div class="notification__btns"><slot name="btns"></slot></div></div>
|
|
1122
|
-
<div class="notification__dismiss"></div>
|
|
1123
|
-
</div>
|
|
1124
|
-
`, this.shadowRoot.appendChild(a.content.cloneNode(!0)), document.getElementById("notificationHolder") || document.head.insertAdjacentHTML("beforeend", `<style id="notificationHolder">${s}</style>`);
|
|
1125
|
-
}
|
|
1126
|
-
connectedCallback() {
|
|
1127
|
-
var i, t, n, s, a;
|
|
1128
|
-
const l = this, m = this.hasAttribute("data-status") ? this.getAttribute("data-status") : "white";
|
|
1129
|
-
if (this.hasAttribute("data-type") ? this.classList.add(`bg-${m}`) : this.classList.add(`colour-${m}`), !this.querySelector("i"))
|
|
1130
|
-
switch (m) {
|
|
1131
|
-
case "danger":
|
|
1132
|
-
this.innerHTML += '<i class="fa-solid fa-circle-exclamation" aria-hidden="true" slot="icon"></i>';
|
|
1133
|
-
break;
|
|
1134
|
-
case "warning":
|
|
1135
|
-
this.innerHTML += '<i class="fa-solid fa-triangle-exclamation" aria-hidden="true" slot="icon"></i>';
|
|
1136
|
-
break;
|
|
1137
|
-
case "success":
|
|
1138
|
-
this.innerHTML += '<i class="fa-solid fa-check-circle" aria-hidden="true" slot="icon"></i>';
|
|
1139
|
-
break;
|
|
1140
|
-
default:
|
|
1141
|
-
this.innerHTML += '<i class="fa-solid fa-circle-info" aria-hidden="true" slot="icon"></i>';
|
|
1142
|
-
}
|
|
1143
|
-
const p = this.querySelectorAll("a,button");
|
|
1144
|
-
Array.from(p).forEach((h) => {
|
|
1145
|
-
h.setAttribute("slot", "btns"), h.classList.add("link");
|
|
1146
|
-
}), (p.length || this.hasAttribute("data-dismiss")) && this.classList.add("notification--dismissable"), p.length ? (s = (n = this.shadowRoot) === null || n === void 0 ? void 0 : n.querySelector(".notification__btns")) === null || s === void 0 || s.classList.remove("empty") : (t = (i = this.shadowRoot) === null || i === void 0 ? void 0 : i.querySelector(".notification__btns")) === null || t === void 0 || t.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() {
|
|
1147
|
-
T(l);
|
|
1148
|
-
}, !1)), Te(this);
|
|
1149
|
-
}
|
|
1150
|
-
}
|
|
1151
|
-
const Ce = {
|
|
1152
|
-
name: "Notification",
|
|
1153
|
-
props: {},
|
|
1154
|
-
created() {
|
|
1155
|
-
this.$nextTick(function() {
|
|
1156
|
-
window.customElements.get("iam-notification") || window.customElements.define("iam-notification", He);
|
|
1157
|
-
});
|
|
1158
|
-
}
|
|
1159
|
-
};
|
|
1160
|
-
function Ne(e, i, t, n, s, a) {
|
|
1161
|
-
return r(), o("iam-notification", null, [
|
|
1162
|
-
d(e.$slots, "default")
|
|
1163
|
-
]);
|
|
1164
|
-
}
|
|
1165
|
-
const fa = /* @__PURE__ */ u(Ce, [["render", Ne]]);
|
|
1166
|
-
/*!
|
|
1167
|
-
* iamKey v7.2.2--beta3
|
|
1168
|
-
* Copyright 2022-2025 iamproperty
|
|
1169
|
-
*/
|
|
1170
|
-
class I extends HTMLElement {
|
|
1171
|
-
constructor() {
|
|
1172
|
-
super(), this.attachShadow({ mode: "open" });
|
|
1173
|
-
const i = document.body.hasAttribute("data-assets-location") ? document.body.getAttribute("data-assets-location") : "/assets", t = document.body.hasAttribute("data-core-css") ? document.body.getAttribute("data-core-css") : `${i}/css/core.min.css`, n = document.createElement("template");
|
|
1174
|
-
n.innerHTML = `
|
|
1175
|
-
<style>
|
|
1176
|
-
@import "${t}";
|
|
1177
|
-
.m-0{margin:0 !important}.mx-0{margin-left:0 !important;margin-right:0 !important}.my-0{margin-top:0 !important;margin-bottom:0 !important}.mt-0{margin-top:0 !important}.me-0{margin-right:0 !important}.mb-0{margin-bottom:0 !important}.ms-0{margin-left:0 !important}.m-1{margin:0.5rem !important}.mx-1{margin-left:0.5rem !important;margin-right:0.5rem !important}.my-1{margin-top:0.5rem !important;margin-bottom:0.5rem !important}.mt-1{margin-top:0.5rem !important}.me-1{margin-right:0.5rem !important}.mb-1{margin-bottom:0.5rem !important}.ms-1{margin-left:0.5rem !important}.m-2{margin:1rem !important}.mx-2{margin-left:1rem !important;margin-right:1rem !important}.my-2{margin-top:1rem !important;margin-bottom:1rem !important}.mt-2{margin-top:1rem !important}.me-2{margin-right:1rem !important}.mb-2{margin-bottom:1rem !important}.ms-2{margin-left:1rem !important}.m-3{margin:1.5rem !important}.mx-3{margin-left:1.5rem !important;margin-right:1.5rem !important}.my-3{margin-top:1.5rem !important;margin-bottom:1.5rem !important}.mt-3{margin-top:1.5rem !important}.me-3{margin-right:1.5rem !important}.mb-3{margin-bottom:1.5rem !important}.ms-3{margin-left:1.5rem !important}.m-4{margin:2rem !important}.mx-4{margin-left:2rem !important;margin-right:2rem !important}.my-4{margin-top:2rem !important;margin-bottom:2rem !important}.mt-4{margin-top:2rem !important}.me-4{margin-right:2rem !important}.mb-4{margin-bottom:2rem !important}.ms-4{margin-left:2rem !important}.m-5{margin:3rem !important}.mx-5{margin-left:3rem !important;margin-right:3rem !important}.my-5{margin-top:3rem !important;margin-bottom:3rem !important}.mt-5{margin-top:3rem !important}.me-5{margin-right:3rem !important}.mb-5{margin-bottom:3rem !important}.ms-5{margin-left:3rem !important}.m-auto{margin:auto !important}.mx-auto{margin-right:auto !important;margin-left:auto !important}.my-auto{margin-top:auto !important;margin-bottom:auto !important}.mt-auto{margin-top:auto !important}.me-auto{margin-right:auto !important}.mb-auto{margin-bottom:auto !important}.ms-auto{margin-left:auto !important}: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:has(.prev:disabled):has(.next:disabled){display:none;padding:0}.pagination div:is(.page-jump,.per-page){border:1px solid var(--colour-light);height:3.25rem;display:none;align-items:center;padding-inline:1rem}.pagination div:is(.page-jump,.per-page) .select--minimal{height:calc(3.25rem - 1em);line-height:calc(3.25rem - 1em);margin-left:-1rem;font-weight:bold}.pagination div:is(.page-jump,.per-page) div:has(>select){margin-bottom:0}.pagination div:is(.page-jump,.per-page) div:has(>select):after{top:50%}.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;color:var(--colour-body)}@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(--pagination-link-color);color:var(--colour-hover)}*:where(.prev,.next):is(:active):not(:disabled){background-color:var(--pagination-link-color);color:var(--colour-active)}*: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 */
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
${this.hasAttribute("css") ? `@import "${this.getAttribute("css")}";` : ""}
|
|
1181
|
-
</style>
|
|
1182
|
-
<link rel="stylesheet" href="https://kit.fontawesome.com/26fdbf0179.css" crossorigin="anonymous">
|
|
1183
|
-
<div class="pagination d-none">
|
|
1184
|
-
|
|
1185
|
-
<div class="minimal" part="minimal">
|
|
1186
|
-
<div class="page-jump">
|
|
1187
|
-
<div><select class="select--minimal"></select></div>
|
|
1188
|
-
<span class="total-pages"></span>
|
|
1189
|
-
</div>
|
|
1190
|
-
|
|
1191
|
-
<button class="prev" disabled>Prev</button>
|
|
1192
|
-
<button class="next" disabled>Next</button>
|
|
1193
|
-
</div>
|
|
1194
|
-
|
|
1195
|
-
<div class="item-count" part="item-count"></div>
|
|
1196
|
-
<div class="per-page" part="per-page">
|
|
1197
|
-
<div>
|
|
1198
|
-
<select class="select--minimal">
|
|
1199
|
-
<option value="15">15</option>
|
|
1200
|
-
<option value="25">25</option>
|
|
1201
|
-
<option value="40">40</option>
|
|
1202
|
-
<option value="50">50</option>
|
|
1203
|
-
</select>
|
|
1204
|
-
</div>
|
|
1205
|
-
<span> / page</span>
|
|
1206
|
-
</div>
|
|
1207
|
-
<div class="mobile-controls m-auto text-center">
|
|
1208
|
-
<i class="fa-solid fa-spinner fa-spin"></i>
|
|
1209
|
-
<button class="load-more btn btn-primary m-auto">Load more</a>
|
|
1210
|
-
</div>
|
|
1211
|
-
</div>
|
|
1212
|
-
`, this.shadowRoot.appendChild(n.content.cloneNode(!0));
|
|
1213
|
-
}
|
|
1214
|
-
connectedCallback() {
|
|
1215
|
-
const i = new URLSearchParams(window.location.search);
|
|
1216
|
-
this.hasAttribute("data-total") || this.setAttribute("data-total", 15), this.hasAttribute("data-page") || this.setAttribute("data-page", i.has("page") ? i.get("page") : 1), this.hasAttribute("data-show") || this.setAttribute("data-show", i.has("show") ? i.get("show") : 15), this.hasAttribute("data-increment") || this.setAttribute("data-increment", this.getAttribute("data-show"));
|
|
1217
|
-
const t = this.shadowRoot.querySelector(".page-jump select"), n = this.shadowRoot.querySelector(".prev"), s = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".per-page select"), l = this.shadowRoot.querySelector(".load-more");
|
|
1218
|
-
this.setup(), t.addEventListener("change", (h) => {
|
|
1219
|
-
this.setAttribute("data-show", this.getAttribute("data-increment")), this.setAttribute("data-page", h.target.value);
|
|
1220
|
-
}), s.addEventListener("click", () => {
|
|
1221
|
-
t.value = parseInt(t.value) + 1, t.dispatchEvent(new Event("change"));
|
|
1222
|
-
}), n.addEventListener("click", () => {
|
|
1223
|
-
t.value = parseInt(t.value) - 1, t.dispatchEvent(new Event("change"));
|
|
1224
|
-
}), a.addEventListener("change", (h) => {
|
|
1225
|
-
this.setAttribute("data-increment", h.target.value);
|
|
1226
|
-
});
|
|
1227
|
-
const m = parseInt(this.getAttribute("data-increment")), p = parseInt(this.getAttribute("data-show"));
|
|
1228
|
-
p >= parseInt(this.getAttribute("data-total")) && l.remove(), l.addEventListener("click", () => {
|
|
1229
|
-
const h = p + m;
|
|
1230
|
-
this.setAttribute("data-show", h), h > parseInt(this.getAttribute("data-total")) && l.remove();
|
|
1231
|
-
});
|
|
1232
|
-
}
|
|
1233
|
-
setup() {
|
|
1234
|
-
const i = this.shadowRoot.querySelector(".pagination"), t = this.shadowRoot.querySelector(".page-jump select"), n = this.shadowRoot.querySelector(".prev"), s = this.shadowRoot.querySelector(".next"), a = this.shadowRoot.querySelector(".item-count"), l = this.shadowRoot.querySelector(".per-page select"), m = this.shadowRoot.querySelector(".total-pages"), p = parseInt(this.getAttribute("data-page")), h = parseInt(this.getAttribute("data-total")), k = parseInt(this.getAttribute("data-show")), g = parseInt(this.getAttribute("data-increment")), S = Math.ceil(h / g);
|
|
1235
|
-
h > k && i.classList.remove("d-none");
|
|
1236
|
-
let M = "";
|
|
1237
|
-
for (let A = 1; A <= S; A++) M += `<option value="${A}" ${A == p ? "selected" : ""}>${A}</option>`;
|
|
1238
|
-
t.innerHTML = M, m.innerHTML = `of ${S}`, p == S ? s.setAttribute("disabled", "disabled") : s.removeAttribute("disabled"), p == 1 ? n.setAttribute("disabled", "disabled") : n.removeAttribute("disabled");
|
|
1239
|
-
const V = p == 1 ? 1 : (p - 1) * k + 1, H = p == 1 ? k : p * k;
|
|
1240
|
-
a.innerHTML = `${V} - ${H > h ? h : H} of ${h} items`;
|
|
1241
|
-
const D = [15, 25, 40, 50];
|
|
1242
|
-
g && l.value != g && !D.includes(g) && (l.innerHTML = `<option value="${g}">${g}</option>
|
|
1243
|
-
<option value="${g * 2}">${g * 2}</option>
|
|
1244
|
-
<option value="${g * 3}">${g * 3}</option>
|
|
1245
|
-
<option value="${g * 4}">${g * 4}</option>`), l.value = g;
|
|
1246
|
-
}
|
|
1247
|
-
static get observedAttributes() {
|
|
1248
|
-
return ["data-total", "data-increment", "data-page", "data-show"];
|
|
1249
|
-
}
|
|
1250
|
-
attributeChangedCallback(i, t, n) {
|
|
1251
|
-
switch (i) {
|
|
1252
|
-
case "data-total": {
|
|
1253
|
-
t != n && this.setup();
|
|
1254
|
-
break;
|
|
1255
|
-
}
|
|
1256
|
-
case "data-show": {
|
|
1257
|
-
t != n && (this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
|
|
1258
|
-
break;
|
|
1259
|
-
}
|
|
1260
|
-
case "data-increment": {
|
|
1261
|
-
t != n && (this.setAttribute("data-show", n), this.setup(), this.dispatchEvent(new CustomEvent("update-show", { detail: { show: n } })));
|
|
1262
|
-
break;
|
|
1263
|
-
}
|
|
1264
|
-
case "data-page": {
|
|
1265
|
-
t && t != n && (this.setup(), console.log(n), this.dispatchEvent(new CustomEvent("update-page", { detail: { page: n } })));
|
|
1266
|
-
break;
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
const Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1272
|
-
__proto__: null,
|
|
1273
|
-
default: I
|
|
1274
|
-
}, Symbol.toStringTag, { value: "Module" })), Pe = {
|
|
1275
|
-
name: "Pagination",
|
|
1276
|
-
props: {},
|
|
1277
|
-
computed: {},
|
|
1278
|
-
created() {
|
|
1279
|
-
this.$nextTick(function() {
|
|
1280
|
-
window.customElements.get("iam-pagination") || window.customElements.define("iam-pagination", I);
|
|
1281
|
-
});
|
|
1282
|
-
},
|
|
1283
|
-
updated() {
|
|
1284
|
-
}
|
|
1285
|
-
};
|
|
1286
|
-
function je(e, i, t, n, s, a) {
|
|
1287
|
-
return r(), o("iam-pagination");
|
|
1288
|
-
}
|
|
1289
|
-
const ga = /* @__PURE__ */ u(Pe, [["render", je]]), Ie = {
|
|
1290
|
-
components: {
|
|
1291
|
-
Input: R
|
|
1292
|
-
},
|
|
1293
|
-
name: "PropertySearchbar",
|
|
1294
|
-
props: {
|
|
1295
|
-
formaction: {
|
|
1296
|
-
type: String,
|
|
1297
|
-
required: !1
|
|
1298
|
-
},
|
|
1299
|
-
formmethod: {
|
|
1300
|
-
type: String,
|
|
1301
|
-
required: !1
|
|
1302
|
-
},
|
|
1303
|
-
location: {
|
|
1304
|
-
type: String,
|
|
1305
|
-
required: !1
|
|
1306
|
-
},
|
|
1307
|
-
locations: {
|
|
1308
|
-
type: Array,
|
|
1309
|
-
required: !1
|
|
1310
|
-
},
|
|
1311
|
-
distances: {
|
|
1312
|
-
type: Array,
|
|
1313
|
-
required: !1,
|
|
1314
|
-
default() {
|
|
1315
|
-
return [
|
|
1316
|
-
{ value: "0.25", display: "+¼ mi" },
|
|
1317
|
-
{ value: "0.5", display: "+½ mi" },
|
|
1318
|
-
{ value: "1", display: "+1 mi" },
|
|
1319
|
-
{ value: "2", display: "+2 mi" },
|
|
1320
|
-
{ value: "3", display: "+3 mi" },
|
|
1321
|
-
{ value: "4", display: "+4 mi" },
|
|
1322
|
-
{ value: "5", display: "+5 mi" }
|
|
1323
|
-
];
|
|
1324
|
-
}
|
|
1325
|
-
},
|
|
1326
|
-
pricemin: {
|
|
1327
|
-
type: Array,
|
|
1328
|
-
required: !1,
|
|
1329
|
-
default() {
|
|
1330
|
-
return [
|
|
1331
|
-
{ value: "0", display: "No min" },
|
|
1332
|
-
{ value: "50000", display: "£50k min" },
|
|
1333
|
-
{ value: "75000", display: "£75k min" },
|
|
1334
|
-
{ value: "100000", display: "£100k min" },
|
|
1335
|
-
{ value: "150000", display: "£150k min" },
|
|
1336
|
-
{ value: "200000", display: "£200k min" },
|
|
1337
|
-
{ value: "250000", display: "£250k min" }
|
|
1338
|
-
];
|
|
1339
|
-
}
|
|
1340
|
-
},
|
|
1341
|
-
pricemax: {
|
|
1342
|
-
type: Array,
|
|
1343
|
-
required: !1,
|
|
1344
|
-
default() {
|
|
1345
|
-
return [
|
|
1346
|
-
{ value: "any", display: "No max" },
|
|
1347
|
-
{ value: "50000", display: "£50k max" },
|
|
1348
|
-
{ value: "75000", display: "£75k max" },
|
|
1349
|
-
{ value: "100000", display: "£100k max" },
|
|
1350
|
-
{ value: "150000", display: "£150k max" },
|
|
1351
|
-
{ value: "200000", display: "£200k max" },
|
|
1352
|
-
{ value: "250000", display: "£250k max" }
|
|
1353
|
-
];
|
|
1354
|
-
}
|
|
1355
|
-
},
|
|
1356
|
-
bedsmin: {
|
|
1357
|
-
type: Array,
|
|
1358
|
-
required: !1,
|
|
1359
|
-
default() {
|
|
1360
|
-
return [
|
|
1361
|
-
{ value: "any", display: "No min" },
|
|
1362
|
-
{ value: "0", display: "Studio min" },
|
|
1363
|
-
{ value: "1", display: "1 bed min" },
|
|
1364
|
-
{ value: "2", display: "2 beds min" },
|
|
1365
|
-
{ value: "3", display: "3 beds min" },
|
|
1366
|
-
{ value: "4", display: "4 beds min" },
|
|
1367
|
-
{ value: "5", display: "5 beds min" },
|
|
1368
|
-
{ value: "6", display: "6 beds min" }
|
|
1369
|
-
];
|
|
1370
|
-
}
|
|
1371
|
-
},
|
|
1372
|
-
bedsmax: {
|
|
1373
|
-
type: Array,
|
|
1374
|
-
required: !1,
|
|
1375
|
-
default() {
|
|
1376
|
-
return [
|
|
1377
|
-
{ value: "any", display: "No max" },
|
|
1378
|
-
{ value: "0", display: "Studio max" },
|
|
1379
|
-
{ value: "1", display: "1 bed max" },
|
|
1380
|
-
{ value: "2", display: "2 beds max" },
|
|
1381
|
-
{ value: "3", display: "3 beds max" },
|
|
1382
|
-
{ value: "4", display: "4 beds max" },
|
|
1383
|
-
{ value: "5", display: "5 beds max" },
|
|
1384
|
-
{ value: "6", display: "6 beds max" }
|
|
1385
|
-
];
|
|
1386
|
-
}
|
|
1387
|
-
},
|
|
1388
|
-
propertytypes: {
|
|
1389
|
-
type: Array,
|
|
1390
|
-
required: !1,
|
|
1391
|
-
default() {
|
|
1392
|
-
return [
|
|
1393
|
-
{ value: "all", display: "Show all" },
|
|
1394
|
-
{ value: "Bungalow", display: "Bungalow" },
|
|
1395
|
-
{ value: "Character Property", display: "Character Property" },
|
|
1396
|
-
{ value: "Commercial Property", display: "Commercial Property" },
|
|
1397
|
-
{ value: "Flat / Apartment", display: "Flat / Apartment" },
|
|
1398
|
-
{ value: "Garage / Parking", display: "Garage / Parking" },
|
|
1399
|
-
{ value: "Guest House / Hotel", display: "Guest House / Hotel" },
|
|
1400
|
-
{ value: "House", display: "House" },
|
|
1401
|
-
{ value: "House / Flat Share", display: "House / Flat Share" },
|
|
1402
|
-
{ value: "Land", display: "Land" },
|
|
1403
|
-
{ value: "Mobile / Park Home", display: "Mobile / Park Home" },
|
|
1404
|
-
{ value: "Private Halls", display: "Private Halls" },
|
|
1405
|
-
{ value: "Retirement Property", display: "Retirement Property" }
|
|
1406
|
-
];
|
|
1407
|
-
}
|
|
1408
|
-
}
|
|
1409
|
-
},
|
|
1410
|
-
data() {
|
|
1411
|
-
return {
|
|
1412
|
-
locationSave: ""
|
|
1413
|
-
};
|
|
1414
|
-
},
|
|
1415
|
-
methods: {
|
|
1416
|
-
locationKeyup: function(e) {
|
|
1417
|
-
this.$emit("locationKeyup", e);
|
|
1418
|
-
}
|
|
1419
|
-
},
|
|
1420
|
-
computed: {
|
|
1421
|
-
locationSet: {
|
|
1422
|
-
get() {
|
|
1423
|
-
return this.locationSave ? this.locationSave : this.location;
|
|
1424
|
-
},
|
|
1425
|
-
set(e) {
|
|
1426
|
-
this.locationSave = e, this.$emit("input", e);
|
|
1427
|
-
}
|
|
1428
|
-
},
|
|
1429
|
-
locationsList() {
|
|
1430
|
-
return () => this.locations ? this.locations : [{ value: "Newcastle" }];
|
|
1431
|
-
}
|
|
1432
|
-
}
|
|
1433
|
-
}, Ve = {
|
|
1434
|
-
class: "container",
|
|
1435
|
-
ref: "wrapper"
|
|
1436
|
-
}, De = { class: "property-searchbar" }, Fe = ["action", "method"], ze = { class: "col-12 col-md-3" }, Be = { class: "col-12 col-md" }, Oe = {
|
|
1437
|
-
class: "row",
|
|
1438
|
-
"data-input-range": ""
|
|
1439
|
-
}, Ue = { class: "col-12 col-md" }, We = {
|
|
1440
|
-
class: "row",
|
|
1441
|
-
"data-input-range": ""
|
|
1442
|
-
}, Ge = { class: "col-12 col-md-2" };
|
|
1443
|
-
function Ke(e, i, t, n, s, a) {
|
|
1444
|
-
const l = q("Input");
|
|
1445
|
-
return r(), o("div", Ve, [
|
|
1446
|
-
d(e.$slots, "default"),
|
|
1447
|
-
c("div", De, [
|
|
1448
|
-
c("form", {
|
|
1449
|
-
class: "row",
|
|
1450
|
-
action: t.formaction,
|
|
1451
|
-
method: t.formmethod
|
|
1452
|
-
}, [
|
|
1453
|
-
c("fieldset", ze, [
|
|
1454
|
-
_(l, {
|
|
1455
|
-
inputClass: "input--locations",
|
|
1456
|
-
modelValue: a.locationSet,
|
|
1457
|
-
"onUpdate:modelValue": i[0] || (i[0] = (m) => a.locationSet = m),
|
|
1458
|
-
label: "Location",
|
|
1459
|
-
id: "location",
|
|
1460
|
-
options: a.locationsList(),
|
|
1461
|
-
required: "",
|
|
1462
|
-
placeholder: "i.e. Newcastle or NE1",
|
|
1463
|
-
onKeyupEvent: i[1] || (i[1] = (m) => a.locationKeyup(...arguments)),
|
|
1464
|
-
ref: "search"
|
|
1465
|
-
}, null, 8, ["modelValue", "options"]),
|
|
1466
|
-
_(l, {
|
|
1467
|
-
class: "select--miles",
|
|
1468
|
-
label: "Miles",
|
|
1469
|
-
id: "miles",
|
|
1470
|
-
type: "select",
|
|
1471
|
-
options: t.distances
|
|
1472
|
-
}, null, 8, ["options"])
|
|
1473
|
-
]),
|
|
1474
|
-
c("fieldset", Be, [
|
|
1475
|
-
i[2] || (i[2] = c("span", { class: "form-label d-none d-md-block" }, "Price range", -1)),
|
|
1476
|
-
c("div", Oe, [
|
|
1477
|
-
_(l, {
|
|
1478
|
-
class: "col-6",
|
|
1479
|
-
label: "Minimum price",
|
|
1480
|
-
id: "price-min",
|
|
1481
|
-
"data-min": "true",
|
|
1482
|
-
type: "select",
|
|
1483
|
-
options: t.pricemin
|
|
1484
|
-
}, null, 8, ["options"]),
|
|
1485
|
-
_(l, {
|
|
1486
|
-
class: "col-6",
|
|
1487
|
-
label: "Maximum price",
|
|
1488
|
-
id: "price-max",
|
|
1489
|
-
"data-max": "true",
|
|
1490
|
-
type: "select",
|
|
1491
|
-
options: t.pricemax
|
|
1492
|
-
}, null, 8, ["options"])
|
|
1493
|
-
])
|
|
1494
|
-
]),
|
|
1495
|
-
c("fieldset", Ue, [
|
|
1496
|
-
i[3] || (i[3] = c("span", { class: "form-label d-none d-md-block" }, "Number of beds", -1)),
|
|
1497
|
-
c("div", We, [
|
|
1498
|
-
_(l, {
|
|
1499
|
-
class: "col-6",
|
|
1500
|
-
label: "Minimum beds",
|
|
1501
|
-
id: "beds-min",
|
|
1502
|
-
"data-min": "true",
|
|
1503
|
-
type: "select",
|
|
1504
|
-
options: t.bedsmin
|
|
1505
|
-
}, null, 8, ["options"]),
|
|
1506
|
-
_(l, {
|
|
1507
|
-
class: "col-6",
|
|
1508
|
-
label: "Maximum beds",
|
|
1509
|
-
id: "beds-max",
|
|
1510
|
-
"data-max": "true",
|
|
1511
|
-
type: "select",
|
|
1512
|
-
options: t.bedsmax
|
|
1513
|
-
}, null, 8, ["options"])
|
|
1514
|
-
])
|
|
1515
|
-
]),
|
|
1516
|
-
c("fieldset", Ge, [
|
|
1517
|
-
_(l, {
|
|
1518
|
-
label: "Property type",
|
|
1519
|
-
id: "property-type",
|
|
1520
|
-
type: "select",
|
|
1521
|
-
options: t.propertytypes
|
|
1522
|
-
}, null, 8, ["options"])
|
|
1523
|
-
]),
|
|
1524
|
-
i[4] || (i[4] = c("div", { class: "col-12 col-md mw-md-fit-content d-flex property-searchbar__btn" }, [
|
|
1525
|
-
c("button", {
|
|
1526
|
-
class: "btn w-100 me-0",
|
|
1527
|
-
type: "submit",
|
|
1528
|
-
value: "submit"
|
|
1529
|
-
}, "Search")
|
|
1530
|
-
], -1))
|
|
1531
|
-
], 8, Fe)
|
|
1532
|
-
]),
|
|
1533
|
-
d(e.$slots, "after")
|
|
1534
|
-
], 512);
|
|
1535
|
-
}
|
|
1536
|
-
const ba = /* @__PURE__ */ u(Ie, [["render", Ke]]), Qe = {
|
|
1537
|
-
name: "Card",
|
|
1538
|
-
created() {
|
|
1539
|
-
this.$nextTick(function() {
|
|
1540
|
-
import("./record-card.component.min-DGV-2S4k.js").then((e) => {
|
|
1541
|
-
window.customElements.get("iam-record-card") || window.customElements.define("iam-record-card", e.default);
|
|
1542
|
-
}).catch((e) => {
|
|
1543
|
-
console.log(e.message);
|
|
1544
|
-
});
|
|
1545
|
-
});
|
|
1546
|
-
}
|
|
1547
|
-
};
|
|
1548
|
-
function Ye(e, i, t, n, s, a) {
|
|
1549
|
-
return r(), o("iam-record-card", null, [
|
|
1550
|
-
d(e.$slots, "default")
|
|
1551
|
-
]);
|
|
1552
|
-
}
|
|
1553
|
-
const ya = /* @__PURE__ */ u(Qe, [["render", Ye]]), Je = {
|
|
1554
|
-
name: "Search",
|
|
1555
|
-
mounted() {
|
|
1556
|
-
this.$nextTick(function() {
|
|
1557
|
-
import("./search.component.min-CtMgQ1j2.js").then((e) => {
|
|
1558
|
-
window.customElements.get("iam-search") || window.customElements.define("iam-search", e.default);
|
|
1559
|
-
}).catch((e) => {
|
|
1560
|
-
console.log(e.message);
|
|
1561
|
-
});
|
|
1562
|
-
});
|
|
1563
|
-
}
|
|
1564
|
-
};
|
|
1565
|
-
function Xe(e, i, t, n, s, a) {
|
|
1566
|
-
return r(), o("iam-search", null, [
|
|
1567
|
-
d(e.$slots, "default")
|
|
1568
|
-
]);
|
|
1569
|
-
}
|
|
1570
|
-
const _a = /* @__PURE__ */ u(Je, [["render", Xe]]), Ze = {
|
|
1571
|
-
name: "Slider",
|
|
1572
|
-
mounted() {
|
|
1573
|
-
this.$nextTick(function() {
|
|
1574
|
-
import("./slider.component.min-DQ4I43ce.js").then((e) => {
|
|
1575
|
-
window.customElements.get("iam-slider") || window.customElements.define("iam-slider", e.default);
|
|
1576
|
-
}).catch((e) => {
|
|
1577
|
-
console.log(e.message);
|
|
1578
|
-
});
|
|
1579
|
-
});
|
|
1580
|
-
}
|
|
1581
|
-
};
|
|
1582
|
-
function ti(e, i, t, n, s, a) {
|
|
1583
|
-
return r(), o("iam-slider", null, [
|
|
1584
|
-
d(e.$slots, "default")
|
|
1585
|
-
]);
|
|
1586
|
-
}
|
|
1587
|
-
const va = /* @__PURE__ */ u(Ze, [["render", ti]]), ei = {
|
|
1588
|
-
name: "Snapshot",
|
|
1589
|
-
props: {
|
|
1590
|
-
items: {
|
|
1591
|
-
type: Array,
|
|
1592
|
-
required: !0
|
|
1593
|
-
}
|
|
1594
|
-
}
|
|
1595
|
-
}, ii = {
|
|
1596
|
-
class: "container snapshot",
|
|
1597
|
-
ref: "wrapper"
|
|
1598
|
-
}, ai = { class: "row" }, ni = ["href"], si = { class: "lead snapshot__title" }, oi = { class: "stat" };
|
|
1599
|
-
function ri(e, i, t, n, s, a) {
|
|
1600
|
-
return r(), o("div", ii, [
|
|
1601
|
-
d(e.$slots, "default"),
|
|
1602
|
-
c("div", ai, [
|
|
1603
|
-
(r(!0), o(w, null, $(t.items, (l, m) => (r(), o("div", {
|
|
1604
|
-
class: "col",
|
|
1605
|
-
key: m
|
|
1606
|
-
}, [
|
|
1607
|
-
l.link ? (r(), o("a", {
|
|
1608
|
-
key: 0,
|
|
1609
|
-
href: l.link
|
|
1610
|
-
}, "View " + y(l.title), 9, ni)) : f("", !0),
|
|
1611
|
-
c("div", {
|
|
1612
|
-
class: b(`snapshot__item ${l.bg ? "bg-" + l.bg : ""}`)
|
|
1613
|
-
}, [
|
|
1614
|
-
c("span", si, y(l.title), 1),
|
|
1615
|
-
c("span", oi, y(l.number), 1)
|
|
1616
|
-
], 2)
|
|
1617
|
-
]))), 128))
|
|
1618
|
-
])
|
|
1619
|
-
], 512);
|
|
1620
|
-
}
|
|
1621
|
-
const wa = /* @__PURE__ */ u(ei, [["render", ri]]), li = {
|
|
1622
|
-
name: "Stepper",
|
|
1623
|
-
props: {
|
|
1624
|
-
label: {
|
|
1625
|
-
type: String,
|
|
1626
|
-
required: !1
|
|
1627
|
-
},
|
|
1628
|
-
endlabel: {
|
|
1629
|
-
type: String,
|
|
1630
|
-
required: !1,
|
|
1631
|
-
default: "Complete"
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
}, ci = { class: "container" }, di = ["aria-label"], mi = {
|
|
1635
|
-
key: 0,
|
|
1636
|
-
class: "h6 stepper__start"
|
|
1637
|
-
}, ui = { class: "list-unstyled" }, pi = { class: "h6 stepper__end" };
|
|
1638
|
-
function hi(e, i, t, n, s, a) {
|
|
1639
|
-
return r(), o("div", ci, [
|
|
1640
|
-
c("nav", {
|
|
1641
|
-
class: "stepper",
|
|
1642
|
-
"aria-label": t.label ? t.label : "Progress"
|
|
1643
|
-
}, [
|
|
1644
|
-
t.label ? (r(), o("span", mi, y(t.label), 1)) : f("", !0),
|
|
1645
|
-
c("ol", ui, [
|
|
1646
|
-
d(e.$slots, "default")
|
|
1647
|
-
]),
|
|
1648
|
-
c("span", pi, y(t.endlabel), 1)
|
|
1649
|
-
], 8, di)
|
|
1650
|
-
]);
|
|
1651
|
-
}
|
|
1652
|
-
const $a = /* @__PURE__ */ u(li, [["render", hi]]), fi = {
|
|
1653
|
-
name: "Stepper",
|
|
1654
|
-
props: {
|
|
1655
|
-
url: {
|
|
1656
|
-
type: String,
|
|
1657
|
-
required: !1
|
|
1658
|
-
},
|
|
1659
|
-
status: {
|
|
1660
|
-
type: String,
|
|
1661
|
-
required: !1
|
|
1662
|
-
},
|
|
1663
|
-
current: {
|
|
1664
|
-
type: String,
|
|
1665
|
-
required: !1
|
|
1666
|
-
}
|
|
1667
|
-
}
|
|
1668
|
-
}, gi = ["href", "aria-current"], bi = {
|
|
1669
|
-
key: 0,
|
|
1670
|
-
class: "visually-hidden"
|
|
1671
|
-
};
|
|
1672
|
-
function yi(e, i, t, n, s, a) {
|
|
1673
|
-
return r(), o("li", null, [
|
|
1674
|
-
c("a", {
|
|
1675
|
-
href: t.url,
|
|
1676
|
-
class: b(`${t.status ? "bg-" + t.status : ""}${typeof t.current < "u" ? "current" : ""}`),
|
|
1677
|
-
"aria-current": typeof t.current < "u" ? "step" : !1
|
|
1678
|
-
}, [
|
|
1679
|
-
c("span", null, [
|
|
1680
|
-
d(e.$slots, "default")
|
|
1681
|
-
]),
|
|
1682
|
-
t.status ? (r(), o("em", bi, " - status: " + y(t.status), 1)) : f("", !0)
|
|
1683
|
-
], 10, gi)
|
|
1684
|
-
]);
|
|
1685
|
-
}
|
|
1686
|
-
const ka = /* @__PURE__ */ u(fi, [["render", yi]]), _i = {
|
|
1687
|
-
name: "Tabs",
|
|
1688
|
-
created() {
|
|
1689
|
-
this.$nextTick(function() {
|
|
1690
|
-
import("./tabs.component.min-DCHdHkbJ.js").then((e) => {
|
|
1691
|
-
window.customElements.get("iam-tabs") || window.customElements.define("iam-tabs", e.default);
|
|
1692
|
-
}).catch((e) => {
|
|
1693
|
-
console.log(e.message);
|
|
1694
|
-
});
|
|
1695
|
-
});
|
|
1696
|
-
}
|
|
1697
|
-
}, vi = { ref: "wrapper" };
|
|
1698
|
-
function wi(e, i, t, n, s, a) {
|
|
1699
|
-
return r(), o("iam-tabs", vi, [
|
|
1700
|
-
d(e.$slots, "default")
|
|
1701
|
-
], 512);
|
|
1702
|
-
}
|
|
1703
|
-
const Aa = /* @__PURE__ */ u(_i, [["render", wi]]), $i = {
|
|
1704
|
-
name: "Tab",
|
|
1705
|
-
props: {
|
|
1706
|
-
title: {
|
|
1707
|
-
type: String,
|
|
1708
|
-
required: !0
|
|
1709
|
-
},
|
|
1710
|
-
lazy: {
|
|
1711
|
-
type: Boolean,
|
|
1712
|
-
required: !1
|
|
1713
|
-
},
|
|
1714
|
-
disabled: {
|
|
1715
|
-
type: Boolean,
|
|
1716
|
-
required: !1
|
|
1717
|
-
}
|
|
1718
|
-
},
|
|
1719
|
-
data() {
|
|
1720
|
-
return {
|
|
1721
|
-
show: !this.lazy,
|
|
1722
|
-
isDisabled: !!this.disabled
|
|
1723
|
-
};
|
|
1724
|
-
}
|
|
1725
|
-
}, ki = { class: "tab" }, Ai = ["innerHTML"];
|
|
1726
|
-
function xi(e, i, t, n, s, a) {
|
|
1727
|
-
return r(), o("details", ki, [
|
|
1728
|
-
c("summary", {
|
|
1729
|
-
innerHTML: t.title,
|
|
1730
|
-
class: b({ disabled: s.isDisabled })
|
|
1731
|
-
}, null, 10, Ai),
|
|
1732
|
-
d(e.$slots, "default")
|
|
1733
|
-
]);
|
|
1734
|
-
}
|
|
1735
|
-
const xa = /* @__PURE__ */ u($i, [["render", xi]]);
|
|
1736
|
-
function Li(e) {
|
|
1737
|
-
let i;
|
|
1738
|
-
const t = e.querySelector(".testimonial__images"), n = t.querySelectorAll("img").length;
|
|
1739
|
-
if (n == 1)
|
|
1740
|
-
return !1;
|
|
1741
|
-
e.classList.add("testimonial--multi");
|
|
1742
|
-
const s = function(a) {
|
|
1743
|
-
const l = e.querySelector(".btn-next"), m = e.querySelector(".btn-prev");
|
|
1744
|
-
l.setAttribute("data-go", a + 1), m.setAttribute("data-go", a - 1), l.removeAttribute("disabled"), m.removeAttribute("disabled"), a == 1 ? m.setAttribute("disabled", !0) : a == n && l.setAttribute("disabled", !0);
|
|
1745
|
-
};
|
|
1746
|
-
t.addEventListener(
|
|
1747
|
-
"scroll",
|
|
1748
|
-
function() {
|
|
1749
|
-
clearTimeout(i), i = setTimeout(function() {
|
|
1750
|
-
const a = t.scrollWidth, l = t.scrollHeight, m = t.scrollLeft, p = t.scrollTop;
|
|
1751
|
-
let h = Math.round(m / a * n) + 1;
|
|
1752
|
-
m == 0 && p != 0 && (h = Math.round(p / l * n) + 1), e.setAttribute("data-show", h), s(h);
|
|
1753
|
-
}, 300);
|
|
1754
|
-
},
|
|
1755
|
-
!1
|
|
1756
|
-
), e.addEventListener(
|
|
1757
|
-
"click",
|
|
1758
|
-
function(a) {
|
|
1759
|
-
for (let l = a.target; l && l != this; l = l.parentNode)
|
|
1760
|
-
if (l.matches("[data-go]")) {
|
|
1761
|
-
const m = parseInt(l.getAttribute("data-go"));
|
|
1762
|
-
let p = 0, h = 0;
|
|
1763
|
-
const k = t.scrollWidth, g = t.scrollHeight;
|
|
1764
|
-
k > g ? h = Math.floor(k * ((m - 1) / n)) : p = Math.floor(g * ((m - 1) / n)), t.scroll({
|
|
1765
|
-
top: p,
|
|
1766
|
-
left: h,
|
|
1767
|
-
behavior: "smooth"
|
|
1768
|
-
});
|
|
1769
|
-
break;
|
|
1770
|
-
}
|
|
1771
|
-
},
|
|
1772
|
-
!1
|
|
1773
|
-
);
|
|
1774
|
-
}
|
|
1775
|
-
const Si = {
|
|
1776
|
-
name: "Testimonial",
|
|
1777
|
-
props: {
|
|
1778
|
-
items: {
|
|
1779
|
-
type: Array,
|
|
1780
|
-
required: !0
|
|
1781
|
-
},
|
|
1782
|
-
background: {
|
|
1783
|
-
type: String,
|
|
1784
|
-
default: "light",
|
|
1785
|
-
required: !1
|
|
1786
|
-
}
|
|
1787
|
-
},
|
|
1788
|
-
mounted() {
|
|
1789
|
-
Li(this.$refs.wrapper);
|
|
1790
|
-
}
|
|
1791
|
-
}, Ei = {
|
|
1792
|
-
class: "container testimonial mb-5",
|
|
1793
|
-
"data-show": "1",
|
|
1794
|
-
ref: "wrapper"
|
|
1795
|
-
}, qi = { class: "row" }, Ti = { class: "col-md-5 position-relative" }, Mi = { class: "testimonial__images" }, Hi = ["src"], Ci = { class: "col-md-7" }, Ni = { class: "testimonial__content" }, Ri = ["innerHTML"], Pi = ["innerHTML"], ji = { class: "testimonial__after" };
|
|
1796
|
-
function Ii(e, i, t, n, s, a) {
|
|
1797
|
-
return r(), o("div", Ei, [
|
|
1798
|
-
c("div", {
|
|
1799
|
-
class: b("bg-" + t.background)
|
|
1800
|
-
}, [
|
|
1801
|
-
c("div", qi, [
|
|
1802
|
-
c("div", Ti, [
|
|
1803
|
-
c("div", Mi, [
|
|
1804
|
-
(r(!0), o(w, null, $(t.items, (l, m) => (r(), o("img", {
|
|
1805
|
-
key: m,
|
|
1806
|
-
src: l.image ? l.image : "data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",
|
|
1807
|
-
alt: "",
|
|
1808
|
-
class: b("h-100 w-100 object-cover" + (l.image ? "" : " opacity-0"))
|
|
1809
|
-
}, null, 10, Hi))), 128))
|
|
1810
|
-
]),
|
|
1811
|
-
i[0] || (i[0] = c("div", { class: "testimonial__controls" }, [
|
|
1812
|
-
c("button", {
|
|
1813
|
-
"data-go": "0",
|
|
1814
|
-
disabled: "",
|
|
1815
|
-
class: "btn-prev"
|
|
1816
|
-
}, "Previous"),
|
|
1817
|
-
c("button", {
|
|
1818
|
-
"data-go": "2",
|
|
1819
|
-
class: "btn-next"
|
|
1820
|
-
}, "Next")
|
|
1821
|
-
], -1))
|
|
1822
|
-
]),
|
|
1823
|
-
c("div", Ci, [
|
|
1824
|
-
i[1] || (i[1] = c("h2", null, "What our customers think…", -1)),
|
|
1825
|
-
c("div", Ni, [
|
|
1826
|
-
(r(!0), o(w, null, $(t.items, (l, m) => (r(), o("blockquote", {
|
|
1827
|
-
key: m,
|
|
1828
|
-
class: b(l.class)
|
|
1829
|
-
}, [
|
|
1830
|
-
c("div", {
|
|
1831
|
-
innerHTML: l.quote
|
|
1832
|
-
}, null, 8, Ri),
|
|
1833
|
-
c("cite", {
|
|
1834
|
-
innerHTML: l.cite
|
|
1835
|
-
}, null, 8, Pi)
|
|
1836
|
-
], 2))), 128))
|
|
1837
|
-
]),
|
|
1838
|
-
c("div", ji, [
|
|
1839
|
-
d(e.$slots, "default")
|
|
1840
|
-
])
|
|
1841
|
-
])
|
|
1842
|
-
]),
|
|
1843
|
-
i[2] || (i[2] = c("span", { class: "circle circle--dots d-none d-md-block" }, null, -1))
|
|
1844
|
-
], 2)
|
|
1845
|
-
], 512);
|
|
1846
|
-
}
|
|
1847
|
-
const La = /* @__PURE__ */ u(Si, [["render", Ii]]), Vi = {
|
|
1848
|
-
name: "Timeline",
|
|
1849
|
-
props: {
|
|
1850
|
-
image: {
|
|
1851
|
-
type: String,
|
|
1852
|
-
required: !1
|
|
1853
|
-
}
|
|
1854
|
-
}
|
|
1855
|
-
}, Di = { class: "timeline" }, Fi = { class: "timeline__content" }, zi = ["src"];
|
|
1856
|
-
function Bi(e, i, t, n, s, a) {
|
|
1857
|
-
return r(), o("div", Di, [
|
|
1858
|
-
c("div", Fi, [
|
|
1859
|
-
d(e.$slots, "default")
|
|
1860
|
-
]),
|
|
1861
|
-
t.image ? (r(), o("img", {
|
|
1862
|
-
key: 0,
|
|
1863
|
-
src: t.image,
|
|
1864
|
-
alt: ""
|
|
1865
|
-
}, null, 8, zi)) : f("", !0)
|
|
1866
|
-
]);
|
|
1867
|
-
}
|
|
1868
|
-
const Sa = /* @__PURE__ */ u(Vi, [["render", Bi]]), Oi = {
|
|
1869
|
-
name: "Video card",
|
|
1870
|
-
created() {
|
|
1871
|
-
this.$nextTick(function() {
|
|
1872
|
-
import("./video-card.component.min-jCPJGLxO.js").then((e) => {
|
|
1873
|
-
window.customElements.get("iam-video-card") || window.customElements.define("iam-video-card", e.default);
|
|
1874
|
-
}).catch((e) => {
|
|
1875
|
-
console.log(e.message);
|
|
1876
|
-
});
|
|
1877
|
-
});
|
|
1878
|
-
}
|
|
1879
|
-
};
|
|
1880
|
-
function Ui(e, i, t, n, s, a) {
|
|
1881
|
-
return r(), o("iam-video-card", null, [
|
|
1882
|
-
d(e.$slots, "default")
|
|
1883
|
-
]);
|
|
1884
|
-
}
|
|
1885
|
-
const Ea = /* @__PURE__ */ u(Oi, [["render", Ui]]);
|
|
1
|
+
import { A as e, b as i, c as r, d as o, e as t, B as l, f as n, _ as d, C as p, g as c, h as u, i as C, F as S, j as b, H as M, k as A, I as F, L as T, m as h, z as m, D as B, M as I, l as N, N as f, n as g, o as L, P, p as k, R as v, S as x, q as y, r as G, u as H, s as R, w as V, T as j, v as q, x as w, y as z, V as D } from "./index-BG7-7aF5.js";
|
|
1886
2
|
export {
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
3
|
+
e as Accordion,
|
|
4
|
+
i as AccordionItem,
|
|
5
|
+
r as Actionbar,
|
|
6
|
+
o as AddressLookup,
|
|
7
|
+
t as AppliedFilters,
|
|
8
|
+
l as Banner,
|
|
9
|
+
n as BarChart,
|
|
10
|
+
d as BentoGrid,
|
|
11
|
+
p as Card,
|
|
12
|
+
c as Carousel,
|
|
13
|
+
u as CollapsibleSideMenu,
|
|
14
|
+
C as FileUpload,
|
|
15
|
+
S as FilterCard,
|
|
16
|
+
b as Filterlist,
|
|
17
|
+
M as Header,
|
|
18
|
+
A as InlineEdit,
|
|
19
|
+
F as Input,
|
|
20
|
+
T as Logo,
|
|
21
|
+
h as Menu,
|
|
22
|
+
m as Milestone,
|
|
23
|
+
B as MilestoneGroup,
|
|
24
|
+
I as Multiselect,
|
|
25
|
+
N as Multistep,
|
|
26
|
+
f as Nav,
|
|
27
|
+
g as NoteFeed,
|
|
28
|
+
L as Notification,
|
|
29
|
+
P as Pagination,
|
|
30
|
+
k as PropertySearchbar,
|
|
31
|
+
v as RecordCard,
|
|
32
|
+
x as Search,
|
|
33
|
+
y as Slider,
|
|
34
|
+
G as Snapshot,
|
|
35
|
+
H as Step,
|
|
36
|
+
R as Stepper,
|
|
37
|
+
V as Tab,
|
|
38
|
+
j as Table,
|
|
39
|
+
q as Tabs,
|
|
40
|
+
w as Testimonial,
|
|
41
|
+
z as Timeline,
|
|
42
|
+
D as VideoCard
|
|
1925
43
|
};
|