independer-design-system 1.4.2 → 1.5.1
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/README.md +0 -2
- package/dist/module.json +1 -1
- package/dist/runtime/assets/images/energie.svg +26 -0
- package/dist/runtime/assets/images/hypotheek.svg +21 -0
- package/dist/runtime/assets/images/logo-full.svg +19 -0
- package/dist/runtime/assets/images/phone.svg +22 -0
- package/dist/runtime/assets/images/shield.svg +21 -0
- package/dist/runtime/assets/images/sparen.svg +21 -0
- package/dist/runtime/components/Footer.d.vue.ts +13 -0
- package/dist/runtime/components/Footer.vue +82 -0
- package/dist/runtime/components/Footer.vue.d.ts +13 -0
- package/dist/runtime/components/Form/Input.d.vue.ts +1 -1
- package/dist/runtime/components/Form/Input.vue.d.ts +1 -1
- package/dist/runtime/components/Form/Textarea.d.vue.ts +1 -1
- package/dist/runtime/components/Form/Textarea.vue.d.ts +1 -1
- package/dist/runtime/components/Header.d.vue.ts +55 -0
- package/dist/runtime/components/Header.vue +286 -0
- package/dist/runtime/components/Header.vue.d.ts +55 -0
- package/dist/runtime/components/Logo.d.vue.ts +15 -0
- package/dist/runtime/components/Logo.vue +24 -0
- package/dist/runtime/components/Logo.vue.d.ts +15 -0
- package/dist/runtime/components/Menu/Account.d.vue.ts +21 -0
- package/dist/runtime/components/Menu/Account.vue +60 -0
- package/dist/runtime/components/Menu/Account.vue.d.ts +21 -0
- package/dist/runtime/components/Menu/Button.d.vue.ts +29 -0
- package/dist/runtime/components/Menu/Button.vue +26 -0
- package/dist/runtime/components/Menu/Button.vue.d.ts +29 -0
- package/dist/runtime/components/Menu/Energie.d.vue.ts +3 -0
- package/dist/runtime/components/Menu/Energie.vue +15 -0
- package/dist/runtime/components/Menu/Energie.vue.d.ts +3 -0
- package/dist/runtime/components/Menu/Kennis.d.vue.ts +13 -0
- package/dist/runtime/components/Menu/Kennis.vue +35 -0
- package/dist/runtime/components/Menu/Kennis.vue.d.ts +13 -0
- package/dist/runtime/components/Menu/Kennisbank.d.vue.ts +3 -0
- package/dist/runtime/components/Menu/Kennisbank.vue +20 -0
- package/dist/runtime/components/Menu/Kennisbank.vue.d.ts +3 -0
- package/dist/runtime/components/Menu/Klantenservice.d.vue.ts +3 -0
- package/dist/runtime/components/Menu/Klantenservice.vue +21 -0
- package/dist/runtime/components/Menu/Klantenservice.vue.d.ts +3 -0
- package/dist/runtime/components/Menu/Products.d.vue.ts +28 -0
- package/dist/runtime/components/Menu/Products.vue +65 -0
- package/dist/runtime/components/Menu/Products.vue.d.ts +28 -0
- package/dist/runtime/components/Menu/Verzekeringen.d.vue.ts +3 -0
- package/dist/runtime/components/Menu/Verzekeringen.vue +40 -0
- package/dist/runtime/components/Menu/Verzekeringen.vue.d.ts +3 -0
- package/dist/runtime/components/PriceQuote.d.vue.ts +18 -0
- package/dist/runtime/components/PriceQuote.vue +25 -9
- package/dist/runtime/components/PriceQuote.vue.d.ts +18 -0
- package/dist/runtime/components/Shoppingcart/Footer.d.vue.ts +33 -0
- package/dist/runtime/components/Shoppingcart/Footer.vue +31 -0
- package/dist/runtime/components/Shoppingcart/Footer.vue.d.ts +33 -0
- package/dist/runtime/components/Shoppingcart/Index.d.vue.ts +21 -0
- package/dist/runtime/components/Shoppingcart/Index.vue +25 -0
- package/dist/runtime/components/Shoppingcart/Index.vue.d.ts +21 -0
- package/dist/runtime/components/Shoppingcart/Mobile.d.vue.ts +51 -0
- package/dist/runtime/components/Shoppingcart/Mobile.vue +55 -0
- package/dist/runtime/components/Shoppingcart/Mobile.vue.d.ts +51 -0
- package/dist/runtime/components/Shoppingcart/Summary.d.vue.ts +29 -0
- package/dist/runtime/components/Shoppingcart/Summary.vue +27 -0
- package/dist/runtime/components/Shoppingcart/Summary.vue.d.ts +29 -0
- package/dist/runtime/components/StepsIndicator.d.vue.ts +7 -0
- package/dist/runtime/components/StepsIndicator.vue +37 -0
- package/dist/runtime/components/StepsIndicator.vue.d.ts +7 -0
- package/dist/runtime/components/SubmenuExpand.d.vue.ts +14 -0
- package/dist/runtime/components/SubmenuExpand.vue +34 -0
- package/dist/runtime/components/SubmenuExpand.vue.d.ts +14 -0
- package/dist/runtime/components/SubmenuItem.d.vue.ts +30 -0
- package/dist/runtime/components/SubmenuItem.vue +41 -0
- package/dist/runtime/components/SubmenuItem.vue.d.ts +30 -0
- package/dist/runtime/components/SubmenuProduct.d.vue.ts +13 -0
- package/dist/runtime/components/SubmenuProduct.vue +30 -0
- package/dist/runtime/components/SubmenuProduct.vue.d.ts +13 -0
- package/package.json +4 -1
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<header class="bg-white border-b border-b-purple-light">
|
|
3
|
+
<div :class="['flex flex-row items-center !px-2 py-2 tablet:!px-4 desktop:py-4 desktop:!px-8 desktop-lg:!px-10', { 'w-full': fullWidth, 'grid-container': !fullWidth }]">
|
|
4
|
+
<IndMenuButton
|
|
5
|
+
v-if="compact === false"
|
|
6
|
+
:state="modalProducts"
|
|
7
|
+
class="desktop:hidden"
|
|
8
|
+
@toggle="toggleModalProducts()"
|
|
9
|
+
>
|
|
10
|
+
<Icon name="eva:menu-outline" />
|
|
11
|
+
</IndMenuButton>
|
|
12
|
+
|
|
13
|
+
<NuxtLink
|
|
14
|
+
to="/"
|
|
15
|
+
class="ml-2 desktop:ml-0"
|
|
16
|
+
>
|
|
17
|
+
<IndLogo
|
|
18
|
+
size="medium"
|
|
19
|
+
class="desktop:w-58"
|
|
20
|
+
/>
|
|
21
|
+
</NuxtLink>
|
|
22
|
+
|
|
23
|
+
<ul class="flex ml-auto desktop:hidden">
|
|
24
|
+
<li v-if="contact === true">
|
|
25
|
+
<IndMenuButton>
|
|
26
|
+
<Icon name="eva:message-circle-outline" />
|
|
27
|
+
</IndMenuButton>
|
|
28
|
+
</li>
|
|
29
|
+
|
|
30
|
+
<li>
|
|
31
|
+
<IndMenuButton
|
|
32
|
+
:state="modalAccount"
|
|
33
|
+
@toggle="toggleModalAccount"
|
|
34
|
+
>
|
|
35
|
+
<template v-if="user.loggedIn">
|
|
36
|
+
<Icon name="eva:person-done-outline" />
|
|
37
|
+
</template>
|
|
38
|
+
|
|
39
|
+
<template v-else>
|
|
40
|
+
<Icon name="eva:person-delete-outline" />
|
|
41
|
+
</template>
|
|
42
|
+
</IndMenuButton>
|
|
43
|
+
</li>
|
|
44
|
+
</ul>
|
|
45
|
+
|
|
46
|
+
<ul class="hidden desktop:flex gap-1">
|
|
47
|
+
<li
|
|
48
|
+
v-if="compact === false"
|
|
49
|
+
class="hidden desktop:block"
|
|
50
|
+
>
|
|
51
|
+
<IndMenuButton
|
|
52
|
+
:state="products"
|
|
53
|
+
@toggle="toggleProducts"
|
|
54
|
+
>
|
|
55
|
+
Producten
|
|
56
|
+
</IndMenuButton>
|
|
57
|
+
|
|
58
|
+
<div
|
|
59
|
+
v-if="products"
|
|
60
|
+
v-on-click-outside="toggleProducts"
|
|
61
|
+
class="absolute z-30 flex mt-2 drop-shadow-lg"
|
|
62
|
+
>
|
|
63
|
+
<IndMenuProducts
|
|
64
|
+
:verzekeringen="verzekeringen"
|
|
65
|
+
:energie="energie"
|
|
66
|
+
@toggle-verzekeringen="toggleVerzekeringen"
|
|
67
|
+
@toggle-energie="toggleEnergie"
|
|
68
|
+
/>
|
|
69
|
+
|
|
70
|
+
<IndMenuVerzekeringen v-if="verzekeringen" />
|
|
71
|
+
|
|
72
|
+
<IndMenuEnergie v-if="energie" />
|
|
73
|
+
</div>
|
|
74
|
+
</li>
|
|
75
|
+
|
|
76
|
+
<li
|
|
77
|
+
v-if="compact === false"
|
|
78
|
+
class="hidden desktop:block"
|
|
79
|
+
>
|
|
80
|
+
<IndMenuButton
|
|
81
|
+
:state="kennis"
|
|
82
|
+
@toggle="toggleKennis"
|
|
83
|
+
>
|
|
84
|
+
Kennis & tools
|
|
85
|
+
</IndMenuButton>
|
|
86
|
+
|
|
87
|
+
<div
|
|
88
|
+
v-if="kennis"
|
|
89
|
+
v-on-click-outside="toggleKennis"
|
|
90
|
+
class="absolute z-30 flex mt-2 drop-shadow-lg"
|
|
91
|
+
>
|
|
92
|
+
<IndMenuKennis
|
|
93
|
+
:kennisbank="kennisbank"
|
|
94
|
+
@toggle-kennisbank="toggleKennisbank"
|
|
95
|
+
/>
|
|
96
|
+
|
|
97
|
+
<IndMenuKennisbank v-if="kennisbank" />
|
|
98
|
+
</div>
|
|
99
|
+
</li>
|
|
100
|
+
|
|
101
|
+
<li
|
|
102
|
+
v-if="compact === false"
|
|
103
|
+
class="hidden desktop:block"
|
|
104
|
+
>
|
|
105
|
+
<IndMenuButton
|
|
106
|
+
:state="klantenservice"
|
|
107
|
+
@toggle="toggleKlantenservice"
|
|
108
|
+
>
|
|
109
|
+
Klantenservice
|
|
110
|
+
</IndMenuButton>
|
|
111
|
+
|
|
112
|
+
<div
|
|
113
|
+
v-if="klantenservice"
|
|
114
|
+
v-on-click-outside="toggleKlantenservice"
|
|
115
|
+
class="absolute z-30 flex mt-2 drop-shadow-lg"
|
|
116
|
+
>
|
|
117
|
+
<IndMenuKlantenservice />
|
|
118
|
+
</div>
|
|
119
|
+
</li>
|
|
120
|
+
</ul>
|
|
121
|
+
|
|
122
|
+
<ul class="hidden desktop:flex gap-1 ml-auto">
|
|
123
|
+
<li
|
|
124
|
+
v-if="contact === true"
|
|
125
|
+
class="relative"
|
|
126
|
+
>
|
|
127
|
+
<IndMenuButton :icon="false">
|
|
128
|
+
<Icon name="eva:message-circle-outline" />
|
|
129
|
+
Stel je vraag
|
|
130
|
+
</IndMenuButton>
|
|
131
|
+
</li>
|
|
132
|
+
|
|
133
|
+
<li class="relative">
|
|
134
|
+
<IndMenuButton
|
|
135
|
+
v-if="user.loggedIn"
|
|
136
|
+
:state="account"
|
|
137
|
+
@toggle="toggleAccount"
|
|
138
|
+
>
|
|
139
|
+
<Icon name="eva:person-done-outline" />
|
|
140
|
+
<span class="hidden desktop:block">{{ user.name }}</span>
|
|
141
|
+
</IndMenuButton>
|
|
142
|
+
|
|
143
|
+
<IndMenuButton
|
|
144
|
+
v-if="!user.loggedIn"
|
|
145
|
+
:icon="false"
|
|
146
|
+
@toggle="toggleAccount"
|
|
147
|
+
>
|
|
148
|
+
<Icon name="eva:person-delete-outline" />
|
|
149
|
+
<span class="hidden desktop:block">Inloggen</span>
|
|
150
|
+
</IndMenuButton>
|
|
151
|
+
|
|
152
|
+
<div
|
|
153
|
+
v-if="account"
|
|
154
|
+
v-on-click-outside="toggleAccount"
|
|
155
|
+
class="absolute right-0 z-30 flex mt-2 rounded-lg drop-shadow-lg"
|
|
156
|
+
>
|
|
157
|
+
<IndMenuAccount />
|
|
158
|
+
</div>
|
|
159
|
+
</li>
|
|
160
|
+
</ul>
|
|
161
|
+
</div>
|
|
162
|
+
|
|
163
|
+
<IndStepsIndicator :steps="steps" />
|
|
164
|
+
|
|
165
|
+
<LazyIndModal
|
|
166
|
+
:show="modalProducts"
|
|
167
|
+
:show-back="verzekeringen || energie || kennis || kennisbank || klantenservice"
|
|
168
|
+
@back="backModal"
|
|
169
|
+
@close="toggleModalProducts"
|
|
170
|
+
>
|
|
171
|
+
<template v-if="!verzekeringen && !energie && !kennis && !kennisbank && !klantenservice">
|
|
172
|
+
<IndMenuProducts
|
|
173
|
+
:verzekeringen="verzekeringen"
|
|
174
|
+
:energie="energie"
|
|
175
|
+
:kennis="kennis"
|
|
176
|
+
:klantenservice="klantenservice"
|
|
177
|
+
@toggle-verzekeringen="toggleVerzekeringen"
|
|
178
|
+
@toggle-energie="toggleEnergie"
|
|
179
|
+
@toggle-kennis="toggleKennis"
|
|
180
|
+
@toggle-klantenservice="toggleKlantenservice"
|
|
181
|
+
/>
|
|
182
|
+
</template>
|
|
183
|
+
|
|
184
|
+
<IndMenuVerzekeringen v-if="verzekeringen" />
|
|
185
|
+
|
|
186
|
+
<IndMenuEnergie v-if="energie" />
|
|
187
|
+
|
|
188
|
+
<IndMenuKennis
|
|
189
|
+
v-if="kennis"
|
|
190
|
+
:kennisbank="kennisbank"
|
|
191
|
+
@toggle-kennisbank="toggleKennisbank"
|
|
192
|
+
/>
|
|
193
|
+
|
|
194
|
+
<IndMenuKennisbank v-if="kennisbank" />
|
|
195
|
+
|
|
196
|
+
<IndMenuKlantenservice v-if="klantenservice" />
|
|
197
|
+
</LazyIndModal>
|
|
198
|
+
|
|
199
|
+
<LazyIndModal
|
|
200
|
+
:show="modalAccount"
|
|
201
|
+
@close="toggleModalAccount"
|
|
202
|
+
>
|
|
203
|
+
<IndMenuAccount />
|
|
204
|
+
</LazyIndModal>
|
|
205
|
+
</header>
|
|
206
|
+
</template>
|
|
207
|
+
|
|
208
|
+
<script setup>
|
|
209
|
+
import { ref } from "vue";
|
|
210
|
+
import { vOnClickOutside } from "@vueuse/components";
|
|
211
|
+
defineProps({
|
|
212
|
+
compact: Boolean,
|
|
213
|
+
fullWidth: Boolean,
|
|
214
|
+
contact: {
|
|
215
|
+
type: Boolean,
|
|
216
|
+
default: true
|
|
217
|
+
},
|
|
218
|
+
steps: {
|
|
219
|
+
type: Array,
|
|
220
|
+
default: () => [
|
|
221
|
+
{
|
|
222
|
+
number: 1,
|
|
223
|
+
label: "1. Gegevens",
|
|
224
|
+
path: `/`
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
228
|
+
domain: String,
|
|
229
|
+
user: {
|
|
230
|
+
type: Object,
|
|
231
|
+
default: () => ({
|
|
232
|
+
loggedIn: false,
|
|
233
|
+
name: "Arjan"
|
|
234
|
+
})
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
const modalProducts = ref(false);
|
|
238
|
+
const modalAccount = ref(false);
|
|
239
|
+
const products = ref(false);
|
|
240
|
+
const verzekeringen = ref(false);
|
|
241
|
+
const energie = ref(false);
|
|
242
|
+
const kennisbank = ref(false);
|
|
243
|
+
const kennis = ref(false);
|
|
244
|
+
const klantenservice = ref(false);
|
|
245
|
+
const account = ref(false);
|
|
246
|
+
const toggleModalProducts = () => {
|
|
247
|
+
modalProducts.value = !modalProducts.value;
|
|
248
|
+
};
|
|
249
|
+
const toggleModalAccount = () => {
|
|
250
|
+
modalAccount.value = !modalAccount.value;
|
|
251
|
+
};
|
|
252
|
+
const backModal = () => {
|
|
253
|
+
verzekeringen.value = false;
|
|
254
|
+
kennis.value = false;
|
|
255
|
+
energie.value = false;
|
|
256
|
+
kennisbank.value = false;
|
|
257
|
+
klantenservice.value = false;
|
|
258
|
+
};
|
|
259
|
+
const toggleProducts = () => {
|
|
260
|
+
products.value = !products.value;
|
|
261
|
+
verzekeringen.value = false;
|
|
262
|
+
energie.value = false;
|
|
263
|
+
kennis.value = false;
|
|
264
|
+
};
|
|
265
|
+
const toggleVerzekeringen = () => {
|
|
266
|
+
verzekeringen.value = !verzekeringen.value;
|
|
267
|
+
kennis.value = false;
|
|
268
|
+
energie.value = false;
|
|
269
|
+
};
|
|
270
|
+
const toggleEnergie = () => {
|
|
271
|
+
energie.value = !energie.value;
|
|
272
|
+
verzekeringen.value = false;
|
|
273
|
+
};
|
|
274
|
+
const toggleKennis = () => {
|
|
275
|
+
kennis.value = !kennis.value;
|
|
276
|
+
};
|
|
277
|
+
const toggleKennisbank = () => {
|
|
278
|
+
kennisbank.value = !kennisbank.value;
|
|
279
|
+
};
|
|
280
|
+
const toggleKlantenservice = () => {
|
|
281
|
+
klantenservice.value = !klantenservice.value;
|
|
282
|
+
};
|
|
283
|
+
const toggleAccount = () => {
|
|
284
|
+
account.value = !account.value;
|
|
285
|
+
};
|
|
286
|
+
</script>
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
compact: BooleanConstructor;
|
|
5
|
+
fullWidth: BooleanConstructor;
|
|
6
|
+
contact: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
steps: {
|
|
11
|
+
type: ArrayConstructor;
|
|
12
|
+
default: () => {
|
|
13
|
+
number: number;
|
|
14
|
+
label: string;
|
|
15
|
+
path: string;
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
18
|
+
domain: StringConstructor;
|
|
19
|
+
user: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
default: () => {
|
|
22
|
+
loggedIn: boolean;
|
|
23
|
+
name: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
+
compact: BooleanConstructor;
|
|
28
|
+
fullWidth: BooleanConstructor;
|
|
29
|
+
contact: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
steps: {
|
|
34
|
+
type: ArrayConstructor;
|
|
35
|
+
default: () => {
|
|
36
|
+
number: number;
|
|
37
|
+
label: string;
|
|
38
|
+
path: string;
|
|
39
|
+
}[];
|
|
40
|
+
};
|
|
41
|
+
domain: StringConstructor;
|
|
42
|
+
user: {
|
|
43
|
+
type: ObjectConstructor;
|
|
44
|
+
default: () => {
|
|
45
|
+
loggedIn: boolean;
|
|
46
|
+
name: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{}>, {
|
|
50
|
+
compact: boolean;
|
|
51
|
+
fullWidth: boolean;
|
|
52
|
+
contact: boolean;
|
|
53
|
+
steps: unknown[];
|
|
54
|
+
user: Record<string, any>;
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
size: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
size: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
|
+
size: string;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<img
|
|
4
|
+
src="../assets/images/logo-full.svg"
|
|
5
|
+
:class="sizeClass + ' shrink-0 object-contain object-left'"
|
|
6
|
+
>
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script setup>
|
|
11
|
+
import { computed } from "vue";
|
|
12
|
+
const props = defineProps({
|
|
13
|
+
size: {
|
|
14
|
+
type: String,
|
|
15
|
+
default: "medium"
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
const sizeClass = computed(() => {
|
|
19
|
+
if (props.size === "small") return "w-32 h-6";
|
|
20
|
+
if (props.size === "medium") return "w-80 h-8";
|
|
21
|
+
if (props.size === "large") return "w-48 h-11";
|
|
22
|
+
return "w-80 h-9";
|
|
23
|
+
});
|
|
24
|
+
</script>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
size: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
size: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {
|
|
14
|
+
size: string;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
user: {
|
|
5
|
+
type: ObjectConstructor;
|
|
6
|
+
default: () => {
|
|
7
|
+
loggedIn: boolean;
|
|
8
|
+
name: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
user: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
default: () => {
|
|
15
|
+
loggedIn: boolean;
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
user: Record<string, any>;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="min-w-[336px] bg-white rounded-lg">
|
|
3
|
+
<ul class="p-3 border-b border-grey-light">
|
|
4
|
+
<IndSubmenuItem
|
|
5
|
+
label="Overzicht"
|
|
6
|
+
icon="eva:file-text-outline"
|
|
7
|
+
/>
|
|
8
|
+
<IndSubmenuItem
|
|
9
|
+
label="Adviezen"
|
|
10
|
+
icon="eva:bell-outline"
|
|
11
|
+
/>
|
|
12
|
+
<IndSubmenuItem
|
|
13
|
+
label="Vergelijken"
|
|
14
|
+
icon="eva:heart-outline"
|
|
15
|
+
/>
|
|
16
|
+
<IndSubmenuItem
|
|
17
|
+
label="Instellingen"
|
|
18
|
+
icon="eva:settings-outline"
|
|
19
|
+
/>
|
|
20
|
+
<IndSubmenuItem
|
|
21
|
+
label="Schade melden"
|
|
22
|
+
icon="eva:alert-triangle-outline"
|
|
23
|
+
/>
|
|
24
|
+
</ul>
|
|
25
|
+
|
|
26
|
+
<ul class="flex flex-col gap-3 p-3">
|
|
27
|
+
<IndButton
|
|
28
|
+
v-if="!user.loggedIn"
|
|
29
|
+
tone="filled-yellow"
|
|
30
|
+
label="Inloggen"
|
|
31
|
+
class="w-full"
|
|
32
|
+
@click.prevent="user.toggleDialogLogin"
|
|
33
|
+
/>
|
|
34
|
+
<IndButton
|
|
35
|
+
v-if="!user.loggedIn"
|
|
36
|
+
tone="wire-purple"
|
|
37
|
+
label="Nieuwe klant?"
|
|
38
|
+
class="w-full"
|
|
39
|
+
/>
|
|
40
|
+
<IndSubmenuItem
|
|
41
|
+
v-if="user.loggedIn"
|
|
42
|
+
label="Uitloggen"
|
|
43
|
+
icon="eva:log-out-outline"
|
|
44
|
+
@click.prevent="user.toggleLogin"
|
|
45
|
+
/>
|
|
46
|
+
</ul>
|
|
47
|
+
</div>
|
|
48
|
+
</template>
|
|
49
|
+
|
|
50
|
+
<script setup>
|
|
51
|
+
defineProps({
|
|
52
|
+
user: {
|
|
53
|
+
type: Object,
|
|
54
|
+
default: () => ({
|
|
55
|
+
loggedIn: false,
|
|
56
|
+
name: "Arjan"
|
|
57
|
+
})
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
</script>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
user: {
|
|
5
|
+
type: ObjectConstructor;
|
|
6
|
+
default: () => {
|
|
7
|
+
loggedIn: boolean;
|
|
8
|
+
name: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
user: {
|
|
13
|
+
type: ObjectConstructor;
|
|
14
|
+
default: () => {
|
|
15
|
+
loggedIn: boolean;
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
user: Record<string, any>;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
state: BooleanConstructor;
|
|
9
|
+
icon: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
toggle: (...args: any[]) => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
state: BooleanConstructor;
|
|
17
|
+
icon: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
onToggle?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
icon: boolean;
|
|
25
|
+
state: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
type __VLS_Slots = {
|
|
28
|
+
default?: ((props: {}) => any) | undefined;
|
|
29
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<button
|
|
3
|
+
class="flex gap-2 font-semibold text-purple px-3 desktop:px-6 py-3 rounded-lg cursor-pointer hover:underline hover:text-purple-dark hover:underline-offset-4 hover:decoration-1"
|
|
4
|
+
:class="{ 'bg-purple-200': state }"
|
|
5
|
+
@click.prevent="emit('toggle')"
|
|
6
|
+
>
|
|
7
|
+
<slot />
|
|
8
|
+
|
|
9
|
+
<Icon
|
|
10
|
+
v-if="icon"
|
|
11
|
+
name="eva:arrow-ios-downward-outline"
|
|
12
|
+
class="!hidden desktop:!block transition-all"
|
|
13
|
+
/>
|
|
14
|
+
</button>
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<script setup>
|
|
18
|
+
const emit = defineEmits(["toggle"]);
|
|
19
|
+
defineProps({
|
|
20
|
+
state: Boolean,
|
|
21
|
+
icon: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: true
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
</script>
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4
|
+
type __VLS_WithSlots<T, S> = T & (new () => {
|
|
5
|
+
$slots: S;
|
|
6
|
+
});
|
|
7
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
|
+
state: BooleanConstructor;
|
|
9
|
+
icon: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
toggle: (...args: any[]) => void;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
state: BooleanConstructor;
|
|
17
|
+
icon: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
onToggle?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
icon: boolean;
|
|
25
|
+
state: boolean;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
type __VLS_Slots = {
|
|
28
|
+
default?: ((props: {}) => any) | undefined;
|
|
29
|
+
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="min-w-[336px] p-3 bg-white rounded-lg rounded-l-none">
|
|
3
|
+
<ul>
|
|
4
|
+
<h4 class="pt-4 px-3 pb-2 font-serif text-purple-dark font-bold desktop:hidden">
|
|
5
|
+
Energie
|
|
6
|
+
</h4>
|
|
7
|
+
<IndSubmenuItem
|
|
8
|
+
label="Energie vergelijken"
|
|
9
|
+
to="/energie"
|
|
10
|
+
/>
|
|
11
|
+
<IndSubmenuItem label="Zonnepanelen kopen" />
|
|
12
|
+
<IndSubmenuItem label="Energiealert" />
|
|
13
|
+
</ul>
|
|
14
|
+
</div>
|
|
15
|
+
</template>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
kennisbank: BooleanConstructor;
|
|
5
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"toggle-kennisbank": (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
kennisbank: BooleanConstructor;
|
|
9
|
+
}>> & Readonly<{
|
|
10
|
+
"onToggle-kennisbank"?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
kennisbank: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="min-w-[336px]">
|
|
3
|
+
<div
|
|
4
|
+
class="bg-white rounded-lg"
|
|
5
|
+
:class="{ 'rounded-r-none': kennisbank }"
|
|
6
|
+
>
|
|
7
|
+
<ul class="p-3">
|
|
8
|
+
<h4 class="pt-4 px-3 pb-2 font-serif text-purple-dark font-bold desktop:hidden">
|
|
9
|
+
Kennis & tools
|
|
10
|
+
</h4>
|
|
11
|
+
<IndSubmenuItem
|
|
12
|
+
label="Kennisbank"
|
|
13
|
+
:icon-right="true"
|
|
14
|
+
:active="kennisbank"
|
|
15
|
+
@click.prevent="emit('toggle-kennisbank')"
|
|
16
|
+
/>
|
|
17
|
+
<IndSubmenuItem
|
|
18
|
+
label="Slimme tools"
|
|
19
|
+
:icon-right="true"
|
|
20
|
+
/>
|
|
21
|
+
<IndSubmenuItem
|
|
22
|
+
label="Over Independer"
|
|
23
|
+
:icon-right="true"
|
|
24
|
+
/>
|
|
25
|
+
</ul>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<script setup>
|
|
31
|
+
const emit = defineEmits(["toggle-kennisbank"]);
|
|
32
|
+
defineProps({
|
|
33
|
+
kennisbank: Boolean
|
|
34
|
+
});
|
|
35
|
+
</script>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const _default: typeof __VLS_export;
|
|
2
|
+
export default _default;
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
kennisbank: BooleanConstructor;
|
|
5
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"toggle-kennisbank": (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
kennisbank: BooleanConstructor;
|
|
9
|
+
}>> & Readonly<{
|
|
10
|
+
"onToggle-kennisbank"?: ((...args: any[]) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
kennisbank: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|