@vergelijkdirect/comparison-forms 2.0.0-rc.14 → 2.0.0-rc.15

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.
Files changed (53) hide show
  1. package/dist/wc-forms/VdInput-BaZx7lM7.js +1 -0
  2. package/dist/wc-forms/VdPopover-B_0EwmOm.js +1 -0
  3. package/dist/wc-forms/VdRadioGroup-BAy4077M.js +1 -0
  4. package/dist/wc-forms/VdSearchableSelect-BYsNA8so.js +9 -0
  5. package/dist/wc-forms/VdSelect-DS5ijaBw.js +1 -0
  6. package/dist/wc-forms/bike.js +1 -1647
  7. package/dist/wc-forms/birthdate.schema-B2IfhcT0.js +1 -0
  8. package/dist/wc-forms/business-car.js +1 -109
  9. package/dist/wc-forms/business-liability.js +1 -71
  10. package/dist/wc-forms/car.js +1 -112
  11. package/dist/wc-forms/caravan.js +1 -144
  12. package/dist/wc-forms/company.schema-D_-KvPAl.js +1 -0
  13. package/dist/wc-forms/date.util-Dn_Fq_ZZ.js +1 -0
  14. package/dist/wc-forms/familyComposition.schema-BckaOvgV.js +1 -0
  15. package/dist/wc-forms/floating-ui.dom-CZdxKWz5.js +1 -0
  16. package/dist/wc-forms/house.js +1 -101
  17. package/dist/wc-forms/houseOwnedBuilding.model-RQzmveyS.js +1 -0
  18. package/dist/wc-forms/legal.js +1 -153
  19. package/dist/wc-forms/liability.js +1 -89
  20. package/dist/wc-forms/loan.js +1 -173
  21. package/dist/wc-forms/messages-Da6go1uu.js +1 -0
  22. package/dist/wc-forms/moped.js +1 -115
  23. package/dist/wc-forms/motor.js +1 -112
  24. package/dist/wc-forms/package.js +1 -119
  25. package/dist/wc-forms/pet.js +1 -158
  26. package/dist/wc-forms/rolldown-runtime-Bm1jhNxk.js +1 -0
  27. package/dist/wc-forms/rules-4erM_5MW.js +1 -0
  28. package/dist/wc-forms/services-D6FlwWWO.js +1 -0
  29. package/dist/wc-forms/travel.js +1 -99
  30. package/dist/wc-forms/useAddress-mxYJ2B9-.js +1 -0
  31. package/dist/wc-forms/useLicensePlate-BK5GSqI6.js +1 -0
  32. package/dist/wc-forms/useValidator-BXvfnDwv.js +27 -0
  33. package/dist/wc-forms/yesNo-Dat_jmcx.js +1 -0
  34. package/package.json +1 -1
  35. package/dist/wc-forms/VdInput-PLH7DZsc.js +0 -331
  36. package/dist/wc-forms/VdPopover-CcRVedXS.js +0 -285
  37. package/dist/wc-forms/VdRadioGroup-BsMaGEuY.js +0 -166
  38. package/dist/wc-forms/VdSearchableSelect-CY7qBcIO.js +0 -4516
  39. package/dist/wc-forms/VdSelect-BPB3Jh_f.js +0 -108
  40. package/dist/wc-forms/birthdate.schema-DGsq2GQR.js +0 -89
  41. package/dist/wc-forms/company.schema-CUG4hnMP.js +0 -239
  42. package/dist/wc-forms/date.util-D9xNHiuY.js +0 -474
  43. package/dist/wc-forms/familyComposition.schema-fY4w6P1J.js +0 -74
  44. package/dist/wc-forms/floating-ui.dom-B6uyM6oK.js +0 -856
  45. package/dist/wc-forms/houseOwnedBuilding.model-CPULUrWv.js +0 -14
  46. package/dist/wc-forms/messages-kbFdNTrA.js +0 -40
  47. package/dist/wc-forms/rolldown-runtime-Dqa2HsxW.js +0 -20
  48. package/dist/wc-forms/rules-Cj1sWDmF.js +0 -13
  49. package/dist/wc-forms/services-CG6XsnRT.js +0 -16
  50. package/dist/wc-forms/useAddress-LSZ7sQk9.js +0 -243
  51. package/dist/wc-forms/useLicensePlate-KLwykzxF.js +0 -187
  52. package/dist/wc-forms/useValidator-DdXn8soU.js +0 -7197
  53. package/dist/wc-forms/yesNo-BvJlCm7Y.js +0 -6
@@ -1,1647 +1 @@
1
- import { Dn as e, Gt as t, Jt as n, Sr as r, Un as i, _r as a, a as o, c as s, d as c, dt as l, in as u, kn as d, nn as f, qt as p, r as m, ri as h, s as g, t as _, u as v, zr as y } from "./useValidator-DdXn8soU.js";
2
- import { t as b } from "./VdSearchableSelect-CY7qBcIO.js";
3
- import { t as x } from "./VdInput-PLH7DZsc.js";
4
- import { t as S } from "./VdSelect-BPB3Jh_f.js";
5
- import { t as C } from "./VdRadioGroup-BsMaGEuY.js";
6
- import { t as w } from "./messages-kbFdNTrA.js";
7
- import { t as T } from "./rules-Cj1sWDmF.js";
8
- //#region src/comparisons/bike/constants.ts
9
- var E = [1, 7], D = [3, 4], O = {
10
- raceOrMtb: 15e3,
11
- default: 9999
12
- }, k = (e, t) => e.test("max-value", w.bike.priceMax(t), (e) => {
13
- let n = Number(e);
14
- return Number.isNaN(n) || n <= t;
15
- }), A = m({
16
- kind: T(w.bike.kindRequired),
17
- condition: T(w.bike.conditionRequired),
18
- price: o().required(w.bike.priceRequired).when("kind", {
19
- is: (e) => D.includes(Number(e)),
20
- then: (e) => k(e, O.raceOrMtb),
21
- otherwise: (e) => k(e, O.default)
22
- }),
23
- brand: o().when("kind", {
24
- is: (e) => E.includes(Number(e)),
25
- then: (e) => e.required(w.bike.brandRequired)
26
- })
27
- }), j = [
28
- {
29
- value: 4,
30
- title: "ATB / Mountainbike",
31
- name: "Mountainbike",
32
- isEBike: !1
33
- },
34
- {
35
- value: 7,
36
- title: "Elektrische bakfiets",
37
- name: "Elektrische bakfiets",
38
- isEBike: !0
39
- },
40
- {
41
- value: 8,
42
- title: "Elektrische ATB / mountainbike",
43
- name: "Elektrische ATB / mountainbike",
44
- isEBike: !0
45
- },
46
- {
47
- value: 1,
48
- title: "E-Bike",
49
- name: "E-Bike",
50
- isEBike: !0
51
- },
52
- {
53
- value: 12,
54
- title: "Fatbike",
55
- name: "Fatbike",
56
- isEBike: !0
57
- },
58
- {
59
- value: 2,
60
- title: "Fiets",
61
- name: "Fiets",
62
- isEBike: !1
63
- },
64
- {
65
- value: 5,
66
- title: "Ligfiets",
67
- name: "Ligfiets",
68
- isEBike: !1
69
- },
70
- {
71
- value: 9,
72
- title: "Kinderfiets",
73
- name: "Kinderfiets",
74
- isEBike: !1
75
- },
76
- {
77
- value: 3,
78
- title: "Racefiets",
79
- name: "Racefiets",
80
- isEBike: !1
81
- },
82
- {
83
- value: 11,
84
- title: "Tandem",
85
- name: "Tandem",
86
- isEBike: !1
87
- },
88
- {
89
- value: 10,
90
- title: "Vouwfiets",
91
- name: "Vouwfiets",
92
- isEBike: !1
93
- }
94
- ], M = [{
95
- value: 1,
96
- label: "Nieuw"
97
- }, {
98
- value: 0,
99
- label: "Tweedehands"
100
- }], N = [
101
- {
102
- id: "Ander merk",
103
- name: "Ander merk"
104
- },
105
- {
106
- id: "Acer",
107
- name: "Acer"
108
- },
109
- {
110
- id: "Achielle",
111
- name: "Achielle"
112
- },
113
- {
114
- id: "ADO (A Dece Oasis)",
115
- name: "ADO (A Dece Oasis)"
116
- },
117
- {
118
- id: "Advanced",
119
- name: "Advanced"
120
- },
121
- {
122
- id: "AGM",
123
- name: "AGM"
124
- },
125
- {
126
- id: "Alba",
127
- name: "Alba"
128
- },
129
- {
130
- id: "Aldo",
131
- name: "Aldo"
132
- },
133
- {
134
- id: "Alpina",
135
- name: "Alpina"
136
- },
137
- {
138
- id: "Altec",
139
- name: "Altec"
140
- },
141
- {
142
- id: "Amigo",
143
- name: "Amigo"
144
- },
145
- {
146
- id: "Ampler",
147
- name: "Ampler"
148
- },
149
- {
150
- id: "Amslod",
151
- name: "Amslod"
152
- },
153
- {
154
- id: "Antilope",
155
- name: "Antilope"
156
- },
157
- {
158
- id: "Anyway",
159
- name: "Anyway"
160
- },
161
- {
162
- id: "Astonic",
163
- name: "Astonic"
164
- },
165
- {
166
- id: "Avalon",
167
- name: "Avalon"
168
- },
169
- {
170
- id: "Avant",
171
- name: "Avant"
172
- },
173
- {
174
- id: "Avon",
175
- name: "Avon"
176
- },
177
- {
178
- id: "Azor",
179
- name: "Azor"
180
- },
181
- {
182
- id: "B'twin",
183
- name: "B'twin"
184
- },
185
- {
186
- id: "Babboe",
187
- name: "Babboe"
188
- },
189
- {
190
- id: "Bakfiets.nl",
191
- name: "Bakfiets.nl"
192
- },
193
- {
194
- id: "Batavus",
195
- name: "Batavus"
196
- },
197
- {
198
- id: "Bayck",
199
- name: "Bayck"
200
- },
201
- {
202
- id: "Baysigri",
203
- name: "Baysigri"
204
- },
205
- {
206
- id: "Beaufort",
207
- name: "Beaufort"
208
- },
209
- {
210
- id: "BEEQ",
211
- name: "BEEQ"
212
- },
213
- {
214
- id: "Beixo",
215
- name: "Beixo"
216
- },
217
- {
218
- id: "Benno",
219
- name: "Benno"
220
- },
221
- {
222
- id: "BeOne",
223
- name: "BeOne"
224
- },
225
- {
226
- id: "Bergamont",
227
- name: "Bergamont"
228
- },
229
- {
230
- id: "BESV",
231
- name: "BESV"
232
- },
233
- {
234
- id: "BH Bikes",
235
- name: "BH Bikes"
236
- },
237
- {
238
- id: "Bianchi",
239
- name: "Bianchi"
240
- },
241
- {
242
- id: "Bigway",
243
- name: "Bigway"
244
- },
245
- {
246
- id: "Bike43",
247
- name: "Bike43"
248
- },
249
- {
250
- id: "BikeFun",
251
- name: "BikeFun"
252
- },
253
- {
254
- id: "Bikkel",
255
- name: "Bikkel"
256
- },
257
- {
258
- id: "Bimas",
259
- name: "Bimas"
260
- },
261
- {
262
- id: "BirdBike",
263
- name: "BirdBike"
264
- },
265
- {
266
- id: "biXbi",
267
- name: "biXbi"
268
- },
269
- {
270
- id: "Bizobike",
271
- name: "Bizobike"
272
- },
273
- {
274
- id: "BMC",
275
- name: "BMC"
276
- },
277
- {
278
- id: "Bohlt",
279
- name: "Bohlt"
280
- },
281
- {
282
- id: "Bombtrack",
283
- name: "Bombtrack"
284
- },
285
- {
286
- id: "Booda Bike",
287
- name: "Booda Bike"
288
- },
289
- {
290
- id: "Breezer",
291
- name: "Breezer"
292
- },
293
- {
294
- id: "BREKR",
295
- name: "BREKR"
296
- },
297
- {
298
- id: "Brennabor",
299
- name: "Brennabor"
300
- },
301
- {
302
- id: "Brinckers",
303
- name: "Brinckers"
304
- },
305
- {
306
- id: "Brompton",
307
- name: "Brompton"
308
- },
309
- {
310
- id: "BSP",
311
- name: "BSP"
312
- },
313
- {
314
- id: "Bulls",
315
- name: "Bulls"
316
- },
317
- {
318
- id: "Burgers",
319
- name: "Burgers"
320
- },
321
- {
322
- id: "Butchers & Bicycles",
323
- name: "Butchers & Bicycles"
324
- },
325
- {
326
- id: "Button Cycle",
327
- name: "Button Cycle"
328
- },
329
- {
330
- id: "BZEN",
331
- name: "BZEN"
332
- },
333
- {
334
- id: "Cangoo",
335
- name: "Cangoo"
336
- },
337
- {
338
- id: "Cannondale",
339
- name: "Cannondale"
340
- },
341
- {
342
- id: "Canyon",
343
- name: "Canyon"
344
- },
345
- {
346
- id: "Capri Bikes",
347
- name: "Capri Bikes"
348
- },
349
- {
350
- id: "Carqon",
351
- name: "Carqon"
352
- },
353
- {
354
- id: "Cervélo",
355
- name: "Cervélo"
356
- },
357
- {
358
- id: "Chrisson",
359
- name: "Chrisson"
360
- },
361
- {
362
- id: "Cloot",
363
- name: "Cloot"
364
- },
365
- {
366
- id: "Coast Cruiser",
367
- name: "Coast Cruiser"
368
- },
369
- {
370
- id: "Colorado",
371
- name: "Colorado"
372
- },
373
- {
374
- id: "Colorway",
375
- name: "Colorway"
376
- },
377
- {
378
- id: "Comate",
379
- name: "Comate"
380
- },
381
- {
382
- id: "Conway",
383
- name: "Conway"
384
- },
385
- {
386
- id: "Corelli",
387
- name: "Corelli"
388
- },
389
- {
390
- id: "Cortina",
391
- name: "Cortina"
392
- },
393
- {
394
- id: "Cowboy",
395
- name: "Cowboy"
396
- },
397
- {
398
- id: "Creme Cycles",
399
- name: "Creme Cycles"
400
- },
401
- {
402
- id: "Crivit",
403
- name: "Crivit"
404
- },
405
- {
406
- id: "Crossboss",
407
- name: "Crossboss"
408
- },
409
- {
410
- id: "Crown",
411
- name: "Crown"
412
- },
413
- {
414
- id: "Crussis",
415
- name: "Crussis"
416
- },
417
- {
418
- id: "Cube",
419
- name: "Cube"
420
- },
421
- {
422
- id: "Damsko",
423
- name: "Damsko"
424
- },
425
- {
426
- id: "Decatt",
427
- name: "Decatt"
428
- },
429
- {
430
- id: "Denver",
431
- name: "Denver"
432
- },
433
- {
434
- id: "Deruiz",
435
- name: "Deruiz"
436
- },
437
- {
438
- id: "Desiknio",
439
- name: "Desiknio"
440
- },
441
- {
442
- id: "Devron",
443
- name: "Devron"
444
- },
445
- {
446
- id: "Diablo",
447
- name: "Diablo"
448
- },
449
- {
450
- id: "Diamant",
451
- name: "Diamant"
452
- },
453
- {
454
- id: "DiD",
455
- name: "DiD"
456
- },
457
- {
458
- id: "Dolan",
459
- name: "Dolan"
460
- },
461
- {
462
- id: "Dolly",
463
- name: "Dolly"
464
- },
465
- {
466
- id: "Don Souris",
467
- name: "Don Souris"
468
- },
469
- {
470
- id: "Doppio",
471
- name: "Doppio"
472
- },
473
- {
474
- id: "Dutch ID",
475
- name: "Dutch ID"
476
- },
477
- {
478
- id: "Dymand",
479
- name: "Dymand"
480
- },
481
- {
482
- id: "DYU",
483
- name: "DYU"
484
- },
485
- {
486
- id: "E-4motion",
487
- name: "E-4motion"
488
- },
489
- {
490
- id: "Ebike Das Original",
491
- name: "Ebike Das Original"
492
- },
493
- {
494
- id: "Ecobike",
495
- name: "Ecobike"
496
- },
497
- {
498
- id: "e-cult",
499
- name: "e-cult"
500
- },
501
- {
502
- id: "Ednine",
503
- name: "Ednine"
504
- },
505
- {
506
- id: "Eightshot",
507
- name: "Eightshot"
508
- },
509
- {
510
- id: "Electra",
511
- name: "Electra"
512
- },
513
- {
514
- id: "Eleglide",
515
- name: "Eleglide"
516
- },
517
- {
518
- id: "Elekgo",
519
- name: "Elekgo"
520
- },
521
- {
522
- id: "Elops",
523
- name: "Elops"
524
- },
525
- {
526
- id: "Emoove",
527
- name: "Emoove"
528
- },
529
- {
530
- id: "EMQ",
531
- name: "EMQ"
532
- },
533
- {
534
- id: "Engwe",
535
- name: "Engwe"
536
- },
537
- {
538
- id: "E-Novation",
539
- name: "E-Novation"
540
- },
541
- {
542
- id: "Eovolt",
543
- name: "Eovolt"
544
- },
545
- {
546
- id: "Eskute",
547
- name: "Eskute"
548
- },
549
- {
550
- id: "Esmaster",
551
- name: "Esmaster"
552
- },
553
- {
554
- id: "e-strong",
555
- name: "e-strong"
556
- },
557
- {
558
- id: "Excelsior",
559
- name: "Excelsior"
560
- },
561
- {
562
- id: "Factor",
563
- name: "Factor"
564
- },
565
- {
566
- id: "Fafrees",
567
- name: "Fafrees"
568
- },
569
- {
570
- id: "Falter",
571
- name: "Falter"
572
- },
573
- {
574
- id: "Felt",
575
- name: "Felt"
576
- },
577
- {
578
- id: "Fiido",
579
- name: "Fiido"
580
- },
581
- {
582
- id: "Fiore",
583
- name: "Fiore"
584
- },
585
- {
586
- id: "Fischer",
587
- name: "Fischer"
588
- },
589
- {
590
- id: "Flyer",
591
- name: "Flyer"
592
- },
593
- {
594
- id: "Focus",
595
- name: "Focus"
596
- },
597
- {
598
- id: "Folt",
599
- name: "Folt"
600
- },
601
- {
602
- id: "Fongers",
603
- name: "Fongers"
604
- },
605
- {
606
- id: "Formula",
607
- name: "Formula"
608
- },
609
- {
610
- id: "Forza",
611
- name: "Forza"
612
- },
613
- {
614
- id: "Frappé",
615
- name: "Frappé"
616
- },
617
- {
618
- id: "Freebike",
619
- name: "Freebike"
620
- },
621
- {
622
- id: "Freewheeler",
623
- name: "Freewheeler"
624
- },
625
- {
626
- id: "Gazelle",
627
- name: "Gazelle"
628
- },
629
- {
630
- id: "Ghost",
631
- name: "Ghost"
632
- },
633
- {
634
- id: "Giant",
635
- name: "Giant"
636
- },
637
- {
638
- id: "Gocycle",
639
- name: "Gocycle"
640
- },
641
- {
642
- id: "Gogobest",
643
- name: "Gogobest"
644
- },
645
- {
646
- id: "Granville",
647
- name: "Granville"
648
- },
649
- {
650
- id: "Green's",
651
- name: "Green's"
652
- },
653
- {
654
- id: "Grünberg",
655
- name: "Grünberg"
656
- },
657
- {
658
- id: "GT",
659
- name: "GT"
660
- },
661
- {
662
- id: "GTS",
663
- name: "GTS"
664
- },
665
- {
666
- id: "Gudereit",
667
- name: "Gudereit"
668
- },
669
- {
670
- id: "Hagen",
671
- name: "Hagen"
672
- },
673
- {
674
- id: "Haibike",
675
- name: "Haibike"
676
- },
677
- {
678
- id: "Hartje",
679
- name: "Hartje"
680
- },
681
- {
682
- id: "Hase Bikes",
683
- name: "Hase Bikes"
684
- },
685
- {
686
- id: "Hercules",
687
- name: "Hercules"
688
- },
689
- {
690
- id: "Heybike",
691
- name: "Heybike"
692
- },
693
- {
694
- id: "Himiway",
695
- name: "Himiway"
696
- },
697
- {
698
- id: "Himo",
699
- name: "Himo"
700
- },
701
- {
702
- id: "Hitway",
703
- name: "Hitway"
704
- },
705
- {
706
- id: "HNF-Nicolai",
707
- name: "HNF-Nicolai"
708
- },
709
- {
710
- id: "HoheAcht",
711
- name: "HoheAcht"
712
- },
713
- {
714
- id: "Hollandia",
715
- name: "Hollandia"
716
- },
717
- {
718
- id: "Honbike",
719
- name: "Honbike"
720
- },
721
- {
722
- id: "Husqvarna",
723
- name: "Husqvarna"
724
- },
725
- {
726
- id: "Huyser",
727
- name: "Huyser"
728
- },
729
- {
730
- id: "i:SY",
731
- name: "i:SY"
732
- },
733
- {
734
- id: "iCycle",
735
- name: "iCycle"
736
- },
737
- {
738
- id: "Idpoo",
739
- name: "Idpoo"
740
- },
741
- {
742
- id: "Idworx",
743
- name: "Idworx"
744
- },
745
- {
746
- id: "iMove",
747
- name: "iMove"
748
- },
749
- {
750
- id: "Jan Janssen",
751
- name: "Jan Janssen"
752
- },
753
- {
754
- id: "Jobobike",
755
- name: "Jobobike"
756
- },
757
- {
758
- id: "Johnny Loco",
759
- name: "Johnny Loco"
760
- },
761
- {
762
- id: "Jongerius",
763
- name: "Jongerius"
764
- },
765
- {
766
- id: "Jools",
767
- name: "Jools"
768
- },
769
- {
770
- id: "Juno",
771
- name: "Juno"
772
- },
773
- {
774
- id: "Kalkhoff",
775
- name: "Kalkhoff"
776
- },
777
- {
778
- id: "Keewee",
779
- name: "Keewee"
780
- },
781
- {
782
- id: "Keola",
783
- name: "Keola"
784
- },
785
- {
786
- id: "Kettler",
787
- name: "Kettler"
788
- },
789
- {
790
- id: "Klever",
791
- name: "Klever"
792
- },
793
- {
794
- id: "Knaap",
795
- name: "Knaap"
796
- },
797
- {
798
- id: "Koga",
799
- name: "Koga"
800
- },
801
- {
802
- id: "Kona",
803
- name: "Kona"
804
- },
805
- {
806
- id: "Koolux",
807
- name: "Koolux"
808
- },
809
- {
810
- id: "Kreidler",
811
- name: "Kreidler"
812
- },
813
- {
814
- id: "KTM",
815
- name: "KTM"
816
- },
817
- {
818
- id: "Kuota",
819
- name: "Kuota"
820
- },
821
- {
822
- id: "Kymco",
823
- name: "Kymco"
824
- },
825
- {
826
- id: "La Souris",
827
- name: "La Souris"
828
- },
829
- {
830
- id: "Lacros",
831
- name: "Lacros"
832
- },
833
- {
834
- id: "Lapierre",
835
- name: "Lapierre"
836
- },
837
- {
838
- id: "Le Velo",
839
- name: "Le Velo"
840
- },
841
- {
842
- id: "Leader",
843
- name: "Leader"
844
- },
845
- {
846
- id: "Leader Fox",
847
- name: "Leader Fox"
848
- },
849
- {
850
- id: "Lekker Bikes",
851
- name: "Lekker Bikes"
852
- },
853
- {
854
- id: "Lemmo",
855
- name: "Lemmo"
856
- },
857
- {
858
- id: "Levante",
859
- name: "Levante"
860
- },
861
- {
862
- id: "Levelo",
863
- name: "Levelo"
864
- },
865
- {
866
- id: "Levit",
867
- name: "Levit"
868
- },
869
- {
870
- id: "LIQBike",
871
- name: "LIQBike"
872
- },
873
- {
874
- id: "Liv",
875
- name: "Liv"
876
- },
877
- {
878
- id: "Livorno",
879
- name: "Livorno"
880
- },
881
- {
882
- id: "Lopifit",
883
- name: "Lopifit"
884
- },
885
- {
886
- id: "Lovens",
887
- name: "Lovens"
888
- },
889
- {
890
- id: "Lowland",
891
- name: "Lowland"
892
- },
893
- {
894
- id: "Lugano",
895
- name: "Lugano"
896
- },
897
- {
898
- id: "Lumo",
899
- name: "Lumo"
900
- },
901
- {
902
- id: "Marin",
903
- name: "Marin"
904
- },
905
- {
906
- id: "Mate.bike",
907
- name: "Mate.bike"
908
- },
909
- {
910
- id: "MATTS",
911
- name: "MATTS"
912
- },
913
- {
914
- id: "MBM",
915
- name: "MBM"
916
- },
917
- {
918
- id: "Merida",
919
- name: "Merida"
920
- },
921
- {
922
- id: "Minerva",
923
- name: "Minerva"
924
- },
925
- {
926
- id: "Moevs",
927
- name: "Moevs"
928
- },
929
- {
930
- id: "Mokumono",
931
- name: "Mokumono"
932
- },
933
- {
934
- id: "Mokwheel",
935
- name: "Mokwheel"
936
- },
937
- {
938
- id: "Moma Bikes",
939
- name: "Moma Bikes"
940
- },
941
- {
942
- id: "Momentum",
943
- name: "Momentum"
944
- },
945
- {
946
- id: "Momo",
947
- name: "Momo"
948
- },
949
- {
950
- id: "Moustache",
951
- name: "Moustache"
952
- },
953
- {
954
- id: "Multicycle",
955
- name: "Multicycle"
956
- },
957
- {
958
- id: "Muon",
959
- name: "Muon"
960
- },
961
- {
962
- id: "Muto",
963
- name: "Muto"
964
- },
965
- {
966
- id: "Nassau",
967
- name: "Nassau"
968
- },
969
- {
970
- id: "NCM",
971
- name: "NCM"
972
- },
973
- {
974
- id: "Nihola",
975
- name: "Nihola"
976
- },
977
- {
978
- id: "Nijland",
979
- name: "Nijland"
980
- },
981
- {
982
- id: "Nilox",
983
- name: "Nilox"
984
- },
985
- {
986
- id: "Nogan",
987
- name: "Nogan"
988
- },
989
- {
990
- id: "Noord",
991
- name: "Noord"
992
- },
993
- {
994
- id: "Norta",
995
- name: "Norta"
996
- },
997
- {
998
- id: "Okai",
999
- name: "Okai"
1000
- },
1001
- {
1002
- id: "Onebot",
1003
- name: "Onebot"
1004
- },
1005
- {
1006
- id: "OneSport",
1007
- name: "OneSport"
1008
- },
1009
- {
1010
- id: "Orbea",
1011
- name: "Orbea"
1012
- },
1013
- {
1014
- id: "Ostrichoo",
1015
- name: "Ostrichoo"
1016
- },
1017
- {
1018
- id: "Otto",
1019
- name: "Otto"
1020
- },
1021
- {
1022
- id: "Ouxi",
1023
- name: "Ouxi"
1024
- },
1025
- {
1026
- id: "Oxford",
1027
- name: "Oxford"
1028
- },
1029
- {
1030
- id: "Pegasus",
1031
- name: "Pegasus"
1032
- },
1033
- {
1034
- id: "Pelikaan",
1035
- name: "Pelikaan"
1036
- },
1037
- {
1038
- id: "Phatfour",
1039
- name: "Phatfour"
1040
- },
1041
- {
1042
- id: "Piaggio",
1043
- name: "Piaggio"
1044
- },
1045
- {
1046
- id: "Pinarello",
1047
- name: "Pinarello"
1048
- },
1049
- {
1050
- id: "Pointer",
1051
- name: "Pointer"
1052
- },
1053
- {
1054
- id: "Popal",
1055
- name: "Popal"
1056
- },
1057
- {
1058
- id: "Prophete",
1059
- name: "Prophete"
1060
- },
1061
- {
1062
- id: "Puch",
1063
- name: "Puch"
1064
- },
1065
- {
1066
- id: "Puky",
1067
- name: "Puky"
1068
- },
1069
- {
1070
- id: "PVY",
1071
- name: "PVY"
1072
- },
1073
- {
1074
- id: "QIO",
1075
- name: "QIO"
1076
- },
1077
- {
1078
- id: "Qivelo",
1079
- name: "Qivelo"
1080
- },
1081
- {
1082
- id: "QMWHEEL",
1083
- name: "QMWHEEL"
1084
- },
1085
- {
1086
- id: "QWIC",
1087
- name: "QWIC"
1088
- },
1089
- {
1090
- id: "Raaks",
1091
- name: "Raaks"
1092
- },
1093
- {
1094
- id: "Rad Power Bikes",
1095
- name: "Rad Power Bikes"
1096
- },
1097
- {
1098
- id: "Radon",
1099
- name: "Radon"
1100
- },
1101
- {
1102
- id: "Raleigh",
1103
- name: "Raleigh"
1104
- },
1105
- {
1106
- id: "Raymon",
1107
- name: "Raymon"
1108
- },
1109
- {
1110
- id: "Reany",
1111
- name: "Reany"
1112
- },
1113
- {
1114
- id: "Republic Dutch",
1115
- name: "Republic Dutch"
1116
- },
1117
- {
1118
- id: "Ride Cycly",
1119
- name: "Ride Cycly"
1120
- },
1121
- {
1122
- id: "Ridley",
1123
- name: "Ridley"
1124
- },
1125
- {
1126
- id: "Riese & Müller",
1127
- name: "Riese & Müller"
1128
- },
1129
- {
1130
- id: "RIH",
1131
- name: "RIH"
1132
- },
1133
- {
1134
- id: "Rivel",
1135
- name: "Rivel"
1136
- },
1137
- {
1138
- id: "Riverside",
1139
- name: "Riverside"
1140
- },
1141
- {
1142
- id: "Rockrider",
1143
- name: "Rockrider"
1144
- },
1145
- {
1146
- id: "Roetz",
1147
- name: "Roetz"
1148
- },
1149
- {
1150
- id: "Romet",
1151
- name: "Romet"
1152
- },
1153
- {
1154
- id: "Rose",
1155
- name: "Rose"
1156
- },
1157
- {
1158
- id: "Roxx",
1159
- name: "Roxx"
1160
- },
1161
- {
1162
- id: "Ruff Cycles",
1163
- name: "Ruff Cycles"
1164
- },
1165
- {
1166
- id: "Sachs",
1167
- name: "Sachs"
1168
- },
1169
- {
1170
- id: "Sachsenrad",
1171
- name: "Sachsenrad"
1172
- },
1173
- {
1174
- id: "Samebike",
1175
- name: "Samebike"
1176
- },
1177
- {
1178
- id: "Santos",
1179
- name: "Santos"
1180
- },
1181
- {
1182
- id: "Scapin",
1183
- name: "Scapin"
1184
- },
1185
- {
1186
- id: "Schindelhauer",
1187
- name: "Schindelhauer"
1188
- },
1189
- {
1190
- id: "S'COOL",
1191
- name: "S'COOL"
1192
- },
1193
- {
1194
- id: "Scott",
1195
- name: "Scott"
1196
- },
1197
- {
1198
- id: "Scrapper",
1199
- name: "Scrapper"
1200
- },
1201
- {
1202
- id: "Sensa",
1203
- name: "Sensa"
1204
- },
1205
- {
1206
- id: "Serial 1",
1207
- name: "Serial 1"
1208
- },
1209
- {
1210
- id: "Shinga",
1211
- name: "Shinga"
1212
- },
1213
- {
1214
- id: "Sitgo",
1215
- name: "Sitgo"
1216
- },
1217
- {
1218
- id: "Slider",
1219
- name: "Slider"
1220
- },
1221
- {
1222
- id: "Soci.bike",
1223
- name: "Soci.bike"
1224
- },
1225
- {
1226
- id: "Sparta",
1227
- name: "Sparta"
1228
- },
1229
- {
1230
- id: "Specialized",
1231
- name: "Specialized"
1232
- },
1233
- {
1234
- id: "Spiked",
1235
- name: "Spiked"
1236
- },
1237
- {
1238
- id: "Spirit",
1239
- name: "Spirit"
1240
- },
1241
- {
1242
- id: "Staerk",
1243
- name: "Staerk"
1244
- },
1245
- {
1246
- id: "Static",
1247
- name: "Static"
1248
- },
1249
- {
1250
- id: "Stella",
1251
- name: "Stella"
1252
- },
1253
- {
1254
- id: "Stevens",
1255
- name: "Stevens"
1256
- },
1257
- {
1258
- id: "Stoer",
1259
- name: "Stoer"
1260
- },
1261
- {
1262
- id: "Stokvis",
1263
- name: "Stokvis"
1264
- },
1265
- {
1266
- id: "Stromer",
1267
- name: "Stromer"
1268
- },
1269
- {
1270
- id: "Suelo",
1271
- name: "Suelo"
1272
- },
1273
- {
1274
- id: "Sundvall",
1275
- name: "Sundvall"
1276
- },
1277
- {
1278
- id: "Super73",
1279
- name: "Super73"
1280
- },
1281
- {
1282
- id: "Superior",
1283
- name: "Superior"
1284
- },
1285
- {
1286
- id: "Sushi Bike",
1287
- name: "Sushi Bike"
1288
- },
1289
- {
1290
- id: "Switzz",
1291
- name: "Switzz"
1292
- },
1293
- {
1294
- id: "Tamobyke",
1295
- name: "Tamobyke"
1296
- },
1297
- {
1298
- id: "Telefunken",
1299
- name: "Telefunken"
1300
- },
1301
- {
1302
- id: "Tenways",
1303
- name: "Tenways"
1304
- },
1305
- {
1306
- id: "Tern",
1307
- name: "Tern"
1308
- },
1309
- {
1310
- id: "Thompson",
1311
- name: "Thompson"
1312
- },
1313
- {
1314
- id: "Tomos",
1315
- name: "Tomos"
1316
- },
1317
- {
1318
- id: "Toscane",
1319
- name: "Toscane"
1320
- },
1321
- {
1322
- id: "Totem",
1323
- name: "Totem"
1324
- },
1325
- {
1326
- id: "Touroll",
1327
- name: "Touroll"
1328
- },
1329
- {
1330
- id: "Tout Terrain",
1331
- name: "Tout Terrain"
1332
- },
1333
- {
1334
- id: "Trek",
1335
- name: "Trek"
1336
- },
1337
- {
1338
- id: "Trenergy",
1339
- name: "Trenergy"
1340
- },
1341
- {
1342
- id: "Tretwerk",
1343
- name: "Tretwerk"
1344
- },
1345
- {
1346
- id: "Triban",
1347
- name: "Triban"
1348
- },
1349
- {
1350
- id: "Troy",
1351
- name: "Troy"
1352
- },
1353
- {
1354
- id: "Umit",
1355
- name: "Umit"
1356
- },
1357
- {
1358
- id: "Union",
1359
- name: "Union"
1360
- },
1361
- {
1362
- id: "Urban Arrow",
1363
- name: "Urban Arrow"
1364
- },
1365
- {
1366
- id: "UrbanBiker",
1367
- name: "UrbanBiker"
1368
- },
1369
- {
1370
- id: "Urtopia",
1371
- name: "Urtopia"
1372
- },
1373
- {
1374
- id: "Valenti",
1375
- name: "Valenti"
1376
- },
1377
- {
1378
- id: "Van Raam",
1379
- name: "Van Raam"
1380
- },
1381
- {
1382
- id: "Van Tuyl",
1383
- name: "Van Tuyl"
1384
- },
1385
- {
1386
- id: "VanDijck",
1387
- name: "VanDijck"
1388
- },
1389
- {
1390
- id: "VanMoof",
1391
- name: "VanMoof"
1392
- },
1393
- {
1394
- id: "V-Bike",
1395
- name: "V-Bike"
1396
- },
1397
- {
1398
- id: "Veldia",
1399
- name: "Veldia"
1400
- },
1401
- {
1402
- id: "Velo de Ville",
1403
- name: "Velo de Ville"
1404
- },
1405
- {
1406
- id: "Veloci",
1407
- name: "Veloci"
1408
- },
1409
- {
1410
- id: "Veloe",
1411
- name: "Veloe"
1412
- },
1413
- {
1414
- id: "Veloretti",
1415
- name: "Veloretti"
1416
- },
1417
- {
1418
- id: "Verdoes",
1419
- name: "Verdoes"
1420
- },
1421
- {
1422
- id: "Vesper",
1423
- name: "Vesper"
1424
- },
1425
- {
1426
- id: "Victesse",
1427
- name: "Victesse"
1428
- },
1429
- {
1430
- id: "Victoria",
1431
- name: "Victoria"
1432
- },
1433
- {
1434
- id: "Villette",
1435
- name: "Villette"
1436
- },
1437
- {
1438
- id: "Vintage Cruiser",
1439
- name: "Vintage Cruiser"
1440
- },
1441
- {
1442
- id: "VMG",
1443
- name: "VMG"
1444
- },
1445
- {
1446
- id: "Vogue Bike",
1447
- name: "Vogue Bike"
1448
- },
1449
- {
1450
- id: "Volta",
1451
- name: "Volta"
1452
- },
1453
- {
1454
- id: "Voltaire",
1455
- name: "Voltaire"
1456
- },
1457
- {
1458
- id: "Votani",
1459
- name: "Votani"
1460
- },
1461
- {
1462
- id: "VSF Fahrradmanufaktur",
1463
- name: "VSF Fahrradmanufaktur"
1464
- },
1465
- {
1466
- id: "Vyber",
1467
- name: "Vyber"
1468
- },
1469
- {
1470
- id: "WATT",
1471
- name: "WATT"
1472
- },
1473
- {
1474
- id: "Wayscral",
1475
- name: "Wayscral"
1476
- },
1477
- {
1478
- id: "Wellington",
1479
- name: "Wellington"
1480
- },
1481
- {
1482
- id: "Wilier",
1483
- name: "Wilier"
1484
- },
1485
- {
1486
- id: "Windgoo",
1487
- name: "Windgoo"
1488
- },
1489
- {
1490
- id: "Winora",
1491
- name: "Winora"
1492
- },
1493
- {
1494
- id: "Winther",
1495
- name: "Winther"
1496
- },
1497
- {
1498
- id: "Woom",
1499
- name: "Woom"
1500
- },
1501
- {
1502
- id: "Xiaomi",
1503
- name: "Xiaomi"
1504
- },
1505
- {
1506
- id: "X-Tract",
1507
- name: "X-Tract"
1508
- },
1509
- {
1510
- id: "Yamaha",
1511
- name: "Yamaha"
1512
- },
1513
- {
1514
- id: "Zemo",
1515
- name: "Zemo"
1516
- },
1517
- {
1518
- id: "Zündapp",
1519
- name: "Zündapp"
1520
- }
1521
- ], P = /* @__PURE__ */ u({
1522
- __name: "BikeForm",
1523
- props: /*@__PURE__*/ e({
1524
- initialData: {},
1525
- title: {},
1526
- description: {},
1527
- banner: {},
1528
- layout: {},
1529
- card: { type: Boolean },
1530
- flat: { type: Boolean },
1531
- fullWidth: { type: Boolean },
1532
- submitLabel: {},
1533
- submitDisabled: { type: Boolean }
1534
- }, {
1535
- ...v,
1536
- title: "Fietsverzekering vergelijken"
1537
- }),
1538
- emits: ["submit"],
1539
- setup(e, { emit: o }) {
1540
- let l = e, u = c(l), m = o, { isSubmitting: v, handleSubmit: w, defineField: T, resetField: D } = _(A, {
1541
- kind: l.initialData?.kind ?? null,
1542
- condition: l.initialData?.condition ?? 1,
1543
- price: l.initialData?.price ?? "",
1544
- brand: l.initialData?.brand ?? ""
1545
- }), [O, k, P] = T("kind", { validateAt: "change" }), [F, I, L] = T("brand", { validateAt: "change" }), [R, z, B] = T("condition"), [V, H, U] = T("price"), W = t(() => E.includes(Number(O.value)));
1546
- a(O, (e) => {
1547
- E.includes(Number(e)) || D("brand", { value: "" });
1548
- }, { immediate: !0 });
1549
- function G() {
1550
- w((e) => {
1551
- m("submit", { ...e });
1552
- });
1553
- }
1554
- return (t, a) => (i(), p(h(g), d(h(u), {
1555
- "submit-disabled": e.submitDisabled || h(v),
1556
- onSubmit: G
1557
- }), {
1558
- default: r(() => [
1559
- f(h(s), {
1560
- span: W.value ? 2 : 4,
1561
- md: "6"
1562
- }, {
1563
- default: r(() => [f(h(S), d({
1564
- modelValue: h(O),
1565
- "onUpdate:modelValue": a[0] ||= (e) => y(O) ? O.value = e : null,
1566
- modelModifiers: { number: !0 },
1567
- label: "Soort fiets",
1568
- options: h(j),
1569
- name: "kind",
1570
- required: !1,
1571
- "error-message": h(P)
1572
- }, h(k)), null, 16, [
1573
- "modelValue",
1574
- "options",
1575
- "error-message"
1576
- ])]),
1577
- _: 1
1578
- }, 8, ["span"]),
1579
- W.value ? (i(), p(h(s), {
1580
- key: 0,
1581
- span: "2",
1582
- md: "6"
1583
- }, {
1584
- default: r(() => [f(h(b), d({
1585
- modelValue: h(F),
1586
- "onUpdate:modelValue": a[1] ||= (e) => y(F) ? F.value = e : null,
1587
- label: "Merk fiets",
1588
- placeholder: "Typ of kies je merk",
1589
- options: h(N),
1590
- "label-key": "name",
1591
- "value-key": "id",
1592
- name: "brand",
1593
- required: !1,
1594
- "error-message": h(L)
1595
- }, h(I)), null, 16, [
1596
- "modelValue",
1597
- "options",
1598
- "error-message"
1599
- ])]),
1600
- _: 1
1601
- })) : n("", !0),
1602
- f(h(s), {
1603
- span: "4",
1604
- md: "6"
1605
- }, {
1606
- default: r(() => [f(h(C), d({
1607
- modelValue: h(R),
1608
- "onUpdate:modelValue": a[2] ||= (e) => y(R) ? R.value = e : null,
1609
- legend: "Gekocht als",
1610
- name: "condition",
1611
- options: h(M),
1612
- variant: "boxed",
1613
- required: !1,
1614
- "error-message": h(B)
1615
- }, h(z)), null, 16, [
1616
- "modelValue",
1617
- "options",
1618
- "error-message"
1619
- ])]),
1620
- _: 1
1621
- }),
1622
- f(h(s), {
1623
- span: "2",
1624
- md: "6"
1625
- }, {
1626
- default: r(() => [f(h(x), d({
1627
- modelValue: h(V),
1628
- "onUpdate:modelValue": a[3] ||= (e) => y(V) ? V.value = e : null,
1629
- label: "Aankoopprijs",
1630
- placeholder: "bv. 1 000",
1631
- icon: "far fa-euro-sign",
1632
- name: "price",
1633
- mask: "#####",
1634
- required: !1,
1635
- "error-message": h(U)
1636
- }, h(H)), null, 16, ["modelValue", "error-message"])]),
1637
- _: 1
1638
- })
1639
- ]),
1640
- _: 1
1641
- }, 16, ["submit-disabled"]));
1642
- }
1643
- });
1644
- //#endregion
1645
- //#region src/entries/wc-forms/bike.ts
1646
- customElements.define("vd-bike-form", l(P, { shadowRoot: !1 }));
1647
- //#endregion
1
+ import{VdComparisonForm_default,VdFormCol_default,comparisonFormSharedDefaults,computed,create$3,create$6,createBlock,createCommentVNode,createVNode,defineComponent,defineCustomElement,isRef,mergeDefaults,mergeProps,openBlock,unref,useComparisonFormProps,useValidator,watch,withCtx}from"./useValidator-BXvfnDwv.js";import{VdSearchableSelect_default}from"./VdSearchableSelect-BYsNA8so.js";import{VdInput_default}from"./VdInput-BaZx7lM7.js";import{VdSelect_default}from"./VdSelect-DS5ijaBw.js";import{VdRadioGroup_default}from"./VdRadioGroup-BAy4077M.js";import{VALIDATION_MESSAGES}from"./messages-Da6go1uu.js";import{requiredNumber}from"./rules-4erM_5MW.js";var EBikes=[1,7],RACE_OR_MTB=[3,4],PRICE_LIMIT={raceOrMtb:15e3,default:9999},maxPriceTest=(schema,max)=>schema.test(`max-value`,VALIDATION_MESSAGES.bike.priceMax(max),value=>{let amount=Number(value);return Number.isNaN(amount)||amount<=max}),bikeFormSchema=create$3({kind:requiredNumber(VALIDATION_MESSAGES.bike.kindRequired),condition:requiredNumber(VALIDATION_MESSAGES.bike.conditionRequired),price:create$6().required(VALIDATION_MESSAGES.bike.priceRequired).when(`kind`,{is:kind=>RACE_OR_MTB.includes(Number(kind)),then:schema=>maxPriceTest(schema,PRICE_LIMIT.raceOrMtb),otherwise:schema=>maxPriceTest(schema,PRICE_LIMIT.default)}),brand:create$6().when(`kind`,{is:kind=>EBikes.includes(Number(kind)),then:schema=>schema.required(VALIDATION_MESSAGES.bike.brandRequired)})}),bikeKinds_model_default=[{value:4,title:`ATB / Mountainbike`,name:`Mountainbike`,isEBike:!1},{value:7,title:`Elektrische bakfiets`,name:`Elektrische bakfiets`,isEBike:!0},{value:8,title:`Elektrische ATB / mountainbike`,name:`Elektrische ATB / mountainbike`,isEBike:!0},{value:1,title:`E-Bike`,name:`E-Bike`,isEBike:!0},{value:12,title:`Fatbike`,name:`Fatbike`,isEBike:!0},{value:2,title:`Fiets`,name:`Fiets`,isEBike:!1},{value:5,title:`Ligfiets`,name:`Ligfiets`,isEBike:!1},{value:9,title:`Kinderfiets`,name:`Kinderfiets`,isEBike:!1},{value:3,title:`Racefiets`,name:`Racefiets`,isEBike:!1},{value:11,title:`Tandem`,name:`Tandem`,isEBike:!1},{value:10,title:`Vouwfiets`,name:`Vouwfiets`,isEBike:!1}],bikeConditions_model_default=[{value:1,label:`Nieuw`},{value:0,label:`Tweedehands`}],bikeBrands_model_default=[{id:`Ander merk`,name:`Ander merk`},{id:`Acer`,name:`Acer`},{id:`Achielle`,name:`Achielle`},{id:`ADO (A Dece Oasis)`,name:`ADO (A Dece Oasis)`},{id:`Advanced`,name:`Advanced`},{id:`AGM`,name:`AGM`},{id:`Alba`,name:`Alba`},{id:`Aldo`,name:`Aldo`},{id:`Alpina`,name:`Alpina`},{id:`Altec`,name:`Altec`},{id:`Amigo`,name:`Amigo`},{id:`Ampler`,name:`Ampler`},{id:`Amslod`,name:`Amslod`},{id:`Antilope`,name:`Antilope`},{id:`Anyway`,name:`Anyway`},{id:`Astonic`,name:`Astonic`},{id:`Avalon`,name:`Avalon`},{id:`Avant`,name:`Avant`},{id:`Avon`,name:`Avon`},{id:`Azor`,name:`Azor`},{id:`B'twin`,name:`B'twin`},{id:`Babboe`,name:`Babboe`},{id:`Bakfiets.nl`,name:`Bakfiets.nl`},{id:`Batavus`,name:`Batavus`},{id:`Bayck`,name:`Bayck`},{id:`Baysigri`,name:`Baysigri`},{id:`Beaufort`,name:`Beaufort`},{id:`BEEQ`,name:`BEEQ`},{id:`Beixo`,name:`Beixo`},{id:`Benno`,name:`Benno`},{id:`BeOne`,name:`BeOne`},{id:`Bergamont`,name:`Bergamont`},{id:`BESV`,name:`BESV`},{id:`BH Bikes`,name:`BH Bikes`},{id:`Bianchi`,name:`Bianchi`},{id:`Bigway`,name:`Bigway`},{id:`Bike43`,name:`Bike43`},{id:`BikeFun`,name:`BikeFun`},{id:`Bikkel`,name:`Bikkel`},{id:`Bimas`,name:`Bimas`},{id:`BirdBike`,name:`BirdBike`},{id:`biXbi`,name:`biXbi`},{id:`Bizobike`,name:`Bizobike`},{id:`BMC`,name:`BMC`},{id:`Bohlt`,name:`Bohlt`},{id:`Bombtrack`,name:`Bombtrack`},{id:`Booda Bike`,name:`Booda Bike`},{id:`Breezer`,name:`Breezer`},{id:`BREKR`,name:`BREKR`},{id:`Brennabor`,name:`Brennabor`},{id:`Brinckers`,name:`Brinckers`},{id:`Brompton`,name:`Brompton`},{id:`BSP`,name:`BSP`},{id:`Bulls`,name:`Bulls`},{id:`Burgers`,name:`Burgers`},{id:`Butchers & Bicycles`,name:`Butchers & Bicycles`},{id:`Button Cycle`,name:`Button Cycle`},{id:`BZEN`,name:`BZEN`},{id:`Cangoo`,name:`Cangoo`},{id:`Cannondale`,name:`Cannondale`},{id:`Canyon`,name:`Canyon`},{id:`Capri Bikes`,name:`Capri Bikes`},{id:`Carqon`,name:`Carqon`},{id:`Cervélo`,name:`Cervélo`},{id:`Chrisson`,name:`Chrisson`},{id:`Cloot`,name:`Cloot`},{id:`Coast Cruiser`,name:`Coast Cruiser`},{id:`Colorado`,name:`Colorado`},{id:`Colorway`,name:`Colorway`},{id:`Comate`,name:`Comate`},{id:`Conway`,name:`Conway`},{id:`Corelli`,name:`Corelli`},{id:`Cortina`,name:`Cortina`},{id:`Cowboy`,name:`Cowboy`},{id:`Creme Cycles`,name:`Creme Cycles`},{id:`Crivit`,name:`Crivit`},{id:`Crossboss`,name:`Crossboss`},{id:`Crown`,name:`Crown`},{id:`Crussis`,name:`Crussis`},{id:`Cube`,name:`Cube`},{id:`Damsko`,name:`Damsko`},{id:`Decatt`,name:`Decatt`},{id:`Denver`,name:`Denver`},{id:`Deruiz`,name:`Deruiz`},{id:`Desiknio`,name:`Desiknio`},{id:`Devron`,name:`Devron`},{id:`Diablo`,name:`Diablo`},{id:`Diamant`,name:`Diamant`},{id:`DiD`,name:`DiD`},{id:`Dolan`,name:`Dolan`},{id:`Dolly`,name:`Dolly`},{id:`Don Souris`,name:`Don Souris`},{id:`Doppio`,name:`Doppio`},{id:`Dutch ID`,name:`Dutch ID`},{id:`Dymand`,name:`Dymand`},{id:`DYU`,name:`DYU`},{id:`E-4motion`,name:`E-4motion`},{id:`Ebike Das Original`,name:`Ebike Das Original`},{id:`Ecobike`,name:`Ecobike`},{id:`e-cult`,name:`e-cult`},{id:`Ednine`,name:`Ednine`},{id:`Eightshot`,name:`Eightshot`},{id:`Electra`,name:`Electra`},{id:`Eleglide`,name:`Eleglide`},{id:`Elekgo`,name:`Elekgo`},{id:`Elops`,name:`Elops`},{id:`Emoove`,name:`Emoove`},{id:`EMQ`,name:`EMQ`},{id:`Engwe`,name:`Engwe`},{id:`E-Novation`,name:`E-Novation`},{id:`Eovolt`,name:`Eovolt`},{id:`Eskute`,name:`Eskute`},{id:`Esmaster`,name:`Esmaster`},{id:`e-strong`,name:`e-strong`},{id:`Excelsior`,name:`Excelsior`},{id:`Factor`,name:`Factor`},{id:`Fafrees`,name:`Fafrees`},{id:`Falter`,name:`Falter`},{id:`Felt`,name:`Felt`},{id:`Fiido`,name:`Fiido`},{id:`Fiore`,name:`Fiore`},{id:`Fischer`,name:`Fischer`},{id:`Flyer`,name:`Flyer`},{id:`Focus`,name:`Focus`},{id:`Folt`,name:`Folt`},{id:`Fongers`,name:`Fongers`},{id:`Formula`,name:`Formula`},{id:`Forza`,name:`Forza`},{id:`Frappé`,name:`Frappé`},{id:`Freebike`,name:`Freebike`},{id:`Freewheeler`,name:`Freewheeler`},{id:`Gazelle`,name:`Gazelle`},{id:`Ghost`,name:`Ghost`},{id:`Giant`,name:`Giant`},{id:`Gocycle`,name:`Gocycle`},{id:`Gogobest`,name:`Gogobest`},{id:`Granville`,name:`Granville`},{id:`Green's`,name:`Green's`},{id:`Grünberg`,name:`Grünberg`},{id:`GT`,name:`GT`},{id:`GTS`,name:`GTS`},{id:`Gudereit`,name:`Gudereit`},{id:`Hagen`,name:`Hagen`},{id:`Haibike`,name:`Haibike`},{id:`Hartje`,name:`Hartje`},{id:`Hase Bikes`,name:`Hase Bikes`},{id:`Hercules`,name:`Hercules`},{id:`Heybike`,name:`Heybike`},{id:`Himiway`,name:`Himiway`},{id:`Himo`,name:`Himo`},{id:`Hitway`,name:`Hitway`},{id:`HNF-Nicolai`,name:`HNF-Nicolai`},{id:`HoheAcht`,name:`HoheAcht`},{id:`Hollandia`,name:`Hollandia`},{id:`Honbike`,name:`Honbike`},{id:`Husqvarna`,name:`Husqvarna`},{id:`Huyser`,name:`Huyser`},{id:`i:SY`,name:`i:SY`},{id:`iCycle`,name:`iCycle`},{id:`Idpoo`,name:`Idpoo`},{id:`Idworx`,name:`Idworx`},{id:`iMove`,name:`iMove`},{id:`Jan Janssen`,name:`Jan Janssen`},{id:`Jobobike`,name:`Jobobike`},{id:`Johnny Loco`,name:`Johnny Loco`},{id:`Jongerius`,name:`Jongerius`},{id:`Jools`,name:`Jools`},{id:`Juno`,name:`Juno`},{id:`Kalkhoff`,name:`Kalkhoff`},{id:`Keewee`,name:`Keewee`},{id:`Keola`,name:`Keola`},{id:`Kettler`,name:`Kettler`},{id:`Klever`,name:`Klever`},{id:`Knaap`,name:`Knaap`},{id:`Koga`,name:`Koga`},{id:`Kona`,name:`Kona`},{id:`Koolux`,name:`Koolux`},{id:`Kreidler`,name:`Kreidler`},{id:`KTM`,name:`KTM`},{id:`Kuota`,name:`Kuota`},{id:`Kymco`,name:`Kymco`},{id:`La Souris`,name:`La Souris`},{id:`Lacros`,name:`Lacros`},{id:`Lapierre`,name:`Lapierre`},{id:`Le Velo`,name:`Le Velo`},{id:`Leader`,name:`Leader`},{id:`Leader Fox`,name:`Leader Fox`},{id:`Lekker Bikes`,name:`Lekker Bikes`},{id:`Lemmo`,name:`Lemmo`},{id:`Levante`,name:`Levante`},{id:`Levelo`,name:`Levelo`},{id:`Levit`,name:`Levit`},{id:`LIQBike`,name:`LIQBike`},{id:`Liv`,name:`Liv`},{id:`Livorno`,name:`Livorno`},{id:`Lopifit`,name:`Lopifit`},{id:`Lovens`,name:`Lovens`},{id:`Lowland`,name:`Lowland`},{id:`Lugano`,name:`Lugano`},{id:`Lumo`,name:`Lumo`},{id:`Marin`,name:`Marin`},{id:`Mate.bike`,name:`Mate.bike`},{id:`MATTS`,name:`MATTS`},{id:`MBM`,name:`MBM`},{id:`Merida`,name:`Merida`},{id:`Minerva`,name:`Minerva`},{id:`Moevs`,name:`Moevs`},{id:`Mokumono`,name:`Mokumono`},{id:`Mokwheel`,name:`Mokwheel`},{id:`Moma Bikes`,name:`Moma Bikes`},{id:`Momentum`,name:`Momentum`},{id:`Momo`,name:`Momo`},{id:`Moustache`,name:`Moustache`},{id:`Multicycle`,name:`Multicycle`},{id:`Muon`,name:`Muon`},{id:`Muto`,name:`Muto`},{id:`Nassau`,name:`Nassau`},{id:`NCM`,name:`NCM`},{id:`Nihola`,name:`Nihola`},{id:`Nijland`,name:`Nijland`},{id:`Nilox`,name:`Nilox`},{id:`Nogan`,name:`Nogan`},{id:`Noord`,name:`Noord`},{id:`Norta`,name:`Norta`},{id:`Okai`,name:`Okai`},{id:`Onebot`,name:`Onebot`},{id:`OneSport`,name:`OneSport`},{id:`Orbea`,name:`Orbea`},{id:`Ostrichoo`,name:`Ostrichoo`},{id:`Otto`,name:`Otto`},{id:`Ouxi`,name:`Ouxi`},{id:`Oxford`,name:`Oxford`},{id:`Pegasus`,name:`Pegasus`},{id:`Pelikaan`,name:`Pelikaan`},{id:`Phatfour`,name:`Phatfour`},{id:`Piaggio`,name:`Piaggio`},{id:`Pinarello`,name:`Pinarello`},{id:`Pointer`,name:`Pointer`},{id:`Popal`,name:`Popal`},{id:`Prophete`,name:`Prophete`},{id:`Puch`,name:`Puch`},{id:`Puky`,name:`Puky`},{id:`PVY`,name:`PVY`},{id:`QIO`,name:`QIO`},{id:`Qivelo`,name:`Qivelo`},{id:`QMWHEEL`,name:`QMWHEEL`},{id:`QWIC`,name:`QWIC`},{id:`Raaks`,name:`Raaks`},{id:`Rad Power Bikes`,name:`Rad Power Bikes`},{id:`Radon`,name:`Radon`},{id:`Raleigh`,name:`Raleigh`},{id:`Raymon`,name:`Raymon`},{id:`Reany`,name:`Reany`},{id:`Republic Dutch`,name:`Republic Dutch`},{id:`Ride Cycly`,name:`Ride Cycly`},{id:`Ridley`,name:`Ridley`},{id:`Riese & Müller`,name:`Riese & Müller`},{id:`RIH`,name:`RIH`},{id:`Rivel`,name:`Rivel`},{id:`Riverside`,name:`Riverside`},{id:`Rockrider`,name:`Rockrider`},{id:`Roetz`,name:`Roetz`},{id:`Romet`,name:`Romet`},{id:`Rose`,name:`Rose`},{id:`Roxx`,name:`Roxx`},{id:`Ruff Cycles`,name:`Ruff Cycles`},{id:`Sachs`,name:`Sachs`},{id:`Sachsenrad`,name:`Sachsenrad`},{id:`Samebike`,name:`Samebike`},{id:`Santos`,name:`Santos`},{id:`Scapin`,name:`Scapin`},{id:`Schindelhauer`,name:`Schindelhauer`},{id:`S'COOL`,name:`S'COOL`},{id:`Scott`,name:`Scott`},{id:`Scrapper`,name:`Scrapper`},{id:`Sensa`,name:`Sensa`},{id:`Serial 1`,name:`Serial 1`},{id:`Shinga`,name:`Shinga`},{id:`Sitgo`,name:`Sitgo`},{id:`Slider`,name:`Slider`},{id:`Soci.bike`,name:`Soci.bike`},{id:`Sparta`,name:`Sparta`},{id:`Specialized`,name:`Specialized`},{id:`Spiked`,name:`Spiked`},{id:`Spirit`,name:`Spirit`},{id:`Staerk`,name:`Staerk`},{id:`Static`,name:`Static`},{id:`Stella`,name:`Stella`},{id:`Stevens`,name:`Stevens`},{id:`Stoer`,name:`Stoer`},{id:`Stokvis`,name:`Stokvis`},{id:`Stromer`,name:`Stromer`},{id:`Suelo`,name:`Suelo`},{id:`Sundvall`,name:`Sundvall`},{id:`Super73`,name:`Super73`},{id:`Superior`,name:`Superior`},{id:`Sushi Bike`,name:`Sushi Bike`},{id:`Switzz`,name:`Switzz`},{id:`Tamobyke`,name:`Tamobyke`},{id:`Telefunken`,name:`Telefunken`},{id:`Tenways`,name:`Tenways`},{id:`Tern`,name:`Tern`},{id:`Thompson`,name:`Thompson`},{id:`Tomos`,name:`Tomos`},{id:`Toscane`,name:`Toscane`},{id:`Totem`,name:`Totem`},{id:`Touroll`,name:`Touroll`},{id:`Tout Terrain`,name:`Tout Terrain`},{id:`Trek`,name:`Trek`},{id:`Trenergy`,name:`Trenergy`},{id:`Tretwerk`,name:`Tretwerk`},{id:`Triban`,name:`Triban`},{id:`Troy`,name:`Troy`},{id:`Umit`,name:`Umit`},{id:`Union`,name:`Union`},{id:`Urban Arrow`,name:`Urban Arrow`},{id:`UrbanBiker`,name:`UrbanBiker`},{id:`Urtopia`,name:`Urtopia`},{id:`Valenti`,name:`Valenti`},{id:`Van Raam`,name:`Van Raam`},{id:`Van Tuyl`,name:`Van Tuyl`},{id:`VanDijck`,name:`VanDijck`},{id:`VanMoof`,name:`VanMoof`},{id:`V-Bike`,name:`V-Bike`},{id:`Veldia`,name:`Veldia`},{id:`Velo de Ville`,name:`Velo de Ville`},{id:`Veloci`,name:`Veloci`},{id:`Veloe`,name:`Veloe`},{id:`Veloretti`,name:`Veloretti`},{id:`Verdoes`,name:`Verdoes`},{id:`Vesper`,name:`Vesper`},{id:`Victesse`,name:`Victesse`},{id:`Victoria`,name:`Victoria`},{id:`Villette`,name:`Villette`},{id:`Vintage Cruiser`,name:`Vintage Cruiser`},{id:`VMG`,name:`VMG`},{id:`Vogue Bike`,name:`Vogue Bike`},{id:`Volta`,name:`Volta`},{id:`Voltaire`,name:`Voltaire`},{id:`Votani`,name:`Votani`},{id:`VSF Fahrradmanufaktur`,name:`VSF Fahrradmanufaktur`},{id:`Vyber`,name:`Vyber`},{id:`WATT`,name:`WATT`},{id:`Wayscral`,name:`Wayscral`},{id:`Wellington`,name:`Wellington`},{id:`Wilier`,name:`Wilier`},{id:`Windgoo`,name:`Windgoo`},{id:`Winora`,name:`Winora`},{id:`Winther`,name:`Winther`},{id:`Woom`,name:`Woom`},{id:`Xiaomi`,name:`Xiaomi`},{id:`X-Tract`,name:`X-Tract`},{id:`Yamaha`,name:`Yamaha`},{id:`Zemo`,name:`Zemo`},{id:`Zündapp`,name:`Zündapp`}],BikeForm_default=defineComponent({__name:`BikeForm`,props:mergeDefaults({initialData:{},title:{},description:{},banner:{},layout:{},card:{type:Boolean},flat:{type:Boolean},fullWidth:{type:Boolean},submitLabel:{},submitDisabled:{type:Boolean}},{...comparisonFormSharedDefaults,title:`Fietsverzekering vergelijken`}),emits:[`submit`],setup(__props,{emit:__emit}){let props=__props,baseFormProps=useComparisonFormProps(props),emit=__emit,{isSubmitting,handleSubmit,defineField,resetField}=useValidator(bikeFormSchema,{kind:props.initialData?.kind??null,condition:props.initialData?.condition??1,price:props.initialData?.price??``,brand:props.initialData?.brand??``}),[kind,kindAttrs,kindError]=defineField(`kind`,{validateAt:`change`}),[brand,brandAttrs,brandError]=defineField(`brand`,{validateAt:`change`}),[condition,conditionAttrs,conditionError]=defineField(`condition`),[price,priceAttrs,priceError]=defineField(`price`),isEBike=computed(()=>EBikes.includes(Number(kind.value)));watch(kind,value=>{EBikes.includes(Number(value))||resetField(`brand`,{value:``})},{immediate:!0});function onSubmit(){handleSubmit(validFormData=>{emit(`submit`,{...validFormData})})}return(_ctx,_cache)=>(openBlock(),createBlock(unref(VdComparisonForm_default),mergeProps(unref(baseFormProps),{"submit-disabled":__props.submitDisabled||unref(isSubmitting),onSubmit}),{default:withCtx(()=>[createVNode(unref(VdFormCol_default),{span:isEBike.value?2:4,md:`6`},{default:withCtx(()=>[createVNode(unref(VdSelect_default),mergeProps({modelValue:unref(kind),"onUpdate:modelValue":_cache[0]||=$event=>isRef(kind)?kind.value=$event:null,modelModifiers:{number:!0},label:`Soort fiets`,options:unref(bikeKinds_model_default),name:`kind`,required:!1,"error-message":unref(kindError)},unref(kindAttrs)),null,16,[`modelValue`,`options`,`error-message`])]),_:1},8,[`span`]),isEBike.value?(openBlock(),createBlock(unref(VdFormCol_default),{key:0,span:`2`,md:`6`},{default:withCtx(()=>[createVNode(unref(VdSearchableSelect_default),mergeProps({modelValue:unref(brand),"onUpdate:modelValue":_cache[1]||=$event=>isRef(brand)?brand.value=$event:null,label:`Merk fiets`,placeholder:`Typ of kies je merk`,options:unref(bikeBrands_model_default),"label-key":`name`,"value-key":`id`,name:`brand`,required:!1,"error-message":unref(brandError)},unref(brandAttrs)),null,16,[`modelValue`,`options`,`error-message`])]),_:1})):createCommentVNode(``,!0),createVNode(unref(VdFormCol_default),{span:`4`,md:`6`},{default:withCtx(()=>[createVNode(unref(VdRadioGroup_default),mergeProps({modelValue:unref(condition),"onUpdate:modelValue":_cache[2]||=$event=>isRef(condition)?condition.value=$event:null,legend:`Gekocht als`,name:`condition`,options:unref(bikeConditions_model_default),variant:`boxed`,required:!1,"error-message":unref(conditionError)},unref(conditionAttrs)),null,16,[`modelValue`,`options`,`error-message`])]),_:1}),createVNode(unref(VdFormCol_default),{span:`2`,md:`6`},{default:withCtx(()=>[createVNode(unref(VdInput_default),mergeProps({modelValue:unref(price),"onUpdate:modelValue":_cache[3]||=$event=>isRef(price)?price.value=$event:null,label:`Aankoopprijs`,placeholder:`bv. 1 000`,icon:`far fa-euro-sign`,name:`price`,mask:`#####`,required:!1,"error-message":unref(priceError)},unref(priceAttrs)),null,16,[`modelValue`,`error-message`])]),_:1})]),_:1},16,[`submit-disabled`]))}});customElements.define(`vd-bike-form`,defineCustomElement(BikeForm_default,{shadowRoot:!1}));