@vergelijkdirect/comparison-forms 2.1.3 → 2.1.5

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.
@@ -14714,7 +14714,7 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
14714
14714
  return n.prototype.getCategory = function() {
14715
14715
  return "pet";
14716
14716
  }, n.prototype.getAvailableServices = function() {
14717
- return ["petsecur"];
14717
+ return ["vergelijkdirect"];
14718
14718
  }, n.prototype.getPetsecurAdditionalCoverages = function(e) {
14719
14719
  return this.http({
14720
14720
  method: "post",
@@ -14982,7 +14982,8 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
14982
14982
  "moneyview",
14983
14983
  "vergelijkdirect",
14984
14984
  "enra",
14985
- "unigarant"
14985
+ "unigarant",
14986
+ "nn"
14986
14987
  ];
14987
14988
  }, n.prototype.findMoped = function(e) {
14988
14989
  return this.http({
@@ -15025,6 +15026,12 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
15025
15026
  url: "/unigarant/additional_coverages",
15026
15027
  data: e
15027
15028
  });
15029
+ }, n.prototype.getNNAdditionalCoverages = function(e) {
15030
+ return this.http({
15031
+ method: "post",
15032
+ url: "/nn/additional_coverages",
15033
+ data: e
15034
+ });
15028
15035
  }, n;
15029
15036
  }(Jw().default);
15030
15037
  })), eT = /* @__PURE__ */ s(((e) => {
@@ -15057,7 +15064,8 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
15057
15064
  "risk",
15058
15065
  "moneyview",
15059
15066
  "rolls",
15060
- "voogd"
15067
+ "voogd",
15068
+ "nn"
15061
15069
  ];
15062
15070
  }, n.prototype.findMotor = function(e) {
15063
15071
  return this.http({
@@ -15094,6 +15102,12 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
15094
15102
  url: "/voogd/additional_coverages",
15095
15103
  data: e
15096
15104
  });
15105
+ }, n.prototype.getNNAdditionalCoverages = function(e) {
15106
+ return this.http({
15107
+ method: "post",
15108
+ url: "/nn/additional_coverages",
15109
+ data: e
15110
+ });
15097
15111
  }, n;
15098
15112
  }(Jw().default);
15099
15113
  })), tT = /* @__PURE__ */ s(((e) => {
@@ -15183,7 +15197,8 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
15183
15197
  "moneyview",
15184
15198
  "rolls",
15185
15199
  "ominimo",
15186
- "voogd"
15200
+ "voogd",
15201
+ "nn"
15187
15202
  ];
15188
15203
  }, n.prototype.findCar = function(e) {
15189
15204
  return this.http({
@@ -15226,6 +15241,12 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
15226
15241
  url: "/voogd/additional_coverages",
15227
15242
  data: e
15228
15243
  });
15244
+ }, n.prototype.getNNAdditionalCoverages = function(e) {
15245
+ return this.http({
15246
+ method: "post",
15247
+ url: "/nn/additional_coverages",
15248
+ data: e
15249
+ });
15229
15250
  }, n;
15230
15251
  }(Jw().default);
15231
15252
  })), rT = /* @__PURE__ */ s(((e) => {
@@ -16940,6 +16961,12 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
16940
16961
  return [2, this.client.getUnigarantAdditionalCoverages(e)];
16941
16962
  });
16942
16963
  });
16964
+ }, s.prototype.getNNAdditionalCoverages = function(e) {
16965
+ return n(this, void 0, void 0, function() {
16966
+ return r(this, function(t) {
16967
+ return [2, this.client.getNNAdditionalCoverages(e)];
16968
+ });
16969
+ });
16943
16970
  }, s;
16944
16971
  }(dE().RateService);
16945
16972
  })), kT = /* @__PURE__ */ s(((e) => {
@@ -17117,6 +17144,12 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
17117
17144
  return [2, this.client.getVoogdAdditionalCoverages(e)];
17118
17145
  });
17119
17146
  });
17147
+ }, s.prototype.getNNAdditionalCoverages = function(e) {
17148
+ return n(this, void 0, void 0, function() {
17149
+ return r(this, function(t) {
17150
+ return [2, this.client.getNNAdditionalCoverages(e)];
17151
+ });
17152
+ });
17120
17153
  }, s;
17121
17154
  }(dE().RateService);
17122
17155
  })), AT = /* @__PURE__ */ s(((e) => {
@@ -18322,7 +18355,7 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
18322
18355
  e === void 0 && (e = {}), this.partnerId = 0, this.showSaveForLater = !0, this.configure(e);
18323
18356
  }
18324
18357
  return e.prototype.configure = function(e) {
18325
- this.partnerId = e.id, this.afmLicenseNumber = e.afm_license_number, this.insuranceLogos = e.insuranceLogos, this.comparisonLinks = e.comparisonLinks, this.partnerPixels = e.partner_pixels, this.configurations = e.configurations, this.showSaveForLater = e.show_save_for_later;
18358
+ this.partnerId = e.id, this.afmLicenseNumber = e.afm_license_number, this.insuranceLogos = e.insuranceLogos, this.comparisonLinks = e.comparisonLinks, this.partnerPixels = e.partner_pixels, this.configurations = e.configurations, this.showSaveForLater = e.show_save_for_later, this.funnelQuizzes = e.funnelQuizzes;
18326
18359
  }, e.prototype.getPartnerId = function() {
18327
18360
  return this.partnerId;
18328
18361
  }, e.prototype.getAfmLicenseNumber = function() {
@@ -18342,6 +18375,8 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
18342
18375
  return [];
18343
18376
  }, e.prototype.saveForLaterEnabled = function() {
18344
18377
  return this.showSaveForLater;
18378
+ }, e.prototype.getAllFunnelQuizzes = function() {
18379
+ return this.funnelQuizzes;
18345
18380
  }, e;
18346
18381
  }();
18347
18382
  })), HT = /* @__PURE__ */ s(((e) => {
@@ -18371,7 +18406,8 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
18371
18406
  insuranceLogos: {},
18372
18407
  comparisonLinks: [],
18373
18408
  configurations: {},
18374
- partner_pixels: []
18409
+ partner_pixels: [],
18410
+ funnelQuizzes: {}
18375
18411
  }) || this;
18376
18412
  }
18377
18413
  return n;
@@ -19555,6 +19591,12 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
19555
19591
  return [2, this.client.getVoogdAdditionalCoverages(e)];
19556
19592
  });
19557
19593
  });
19594
+ }, s.prototype.getNNAdditionalCoverages = function(e) {
19595
+ return n(this, void 0, void 0, function() {
19596
+ return r(this, function(t) {
19597
+ return [2, this.client.getNNAdditionalCoverages(e)];
19598
+ });
19599
+ });
19558
19600
  }, s;
19559
19601
  }(dE().RateService);
19560
19602
  })), aE = /* @__PURE__ */ s(((e) => {
@@ -20638,13 +20680,17 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
20638
20680
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
20639
20681
  };
20640
20682
  })();
20641
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = function(e) {
20683
+ Object.defineProperty(e, "__esModule", { value: !0 });
20684
+ var n = VN(), r = eE();
20685
+ e.default = function(e) {
20642
20686
  t(n, e);
20643
20687
  function n() {
20644
20688
  return e !== null && e.apply(this, arguments) || this;
20645
20689
  }
20646
- return n;
20647
- }(VN().Rate);
20690
+ return n.prototype.getAdditionalCoverages = function(e) {
20691
+ return r.ApiServiceFactory.get(this.insuranceCategory).getNNAdditionalCoverages(e);
20692
+ }, n;
20693
+ }(n.Rate);
20648
20694
  })), EE = /* @__PURE__ */ s(((e) => {
20649
20695
  var t = e && e.__extends || (function() {
20650
20696
  var e = function(t, n) {
@@ -20778,16 +20824,135 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
20778
20824
  }
20779
20825
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
20780
20826
  };
20781
- })();
20782
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = function(e) {
20783
- t(n, e);
20784
- function n() {
20827
+ })(), n = e && e.__awaiter || function(e, t, n, r) {
20828
+ function i(e) {
20829
+ return e instanceof n ? e : new n(function(t) {
20830
+ t(e);
20831
+ });
20832
+ }
20833
+ return new (n ||= Promise)(function(n, a) {
20834
+ function o(e) {
20835
+ try {
20836
+ c(r.next(e));
20837
+ } catch (e) {
20838
+ a(e);
20839
+ }
20840
+ }
20841
+ function s(e) {
20842
+ try {
20843
+ c(r.throw(e));
20844
+ } catch (e) {
20845
+ a(e);
20846
+ }
20847
+ }
20848
+ function c(e) {
20849
+ e.done ? n(e.value) : i(e.value).then(o, s);
20850
+ }
20851
+ c((r = r.apply(e, t || [])).next());
20852
+ });
20853
+ }, r = e && e.__generator || function(e, t) {
20854
+ var n = {
20855
+ label: 0,
20856
+ sent: function() {
20857
+ if (a[0] & 1) throw a[1];
20858
+ return a[1];
20859
+ },
20860
+ trys: [],
20861
+ ops: []
20862
+ }, r, i, a, o;
20863
+ return o = {
20864
+ next: s(0),
20865
+ throw: s(1),
20866
+ return: s(2)
20867
+ }, typeof Symbol == "function" && (o[Symbol.iterator] = function() {
20868
+ return this;
20869
+ }), o;
20870
+ function s(e) {
20871
+ return function(t) {
20872
+ return c([e, t]);
20873
+ };
20874
+ }
20875
+ function c(s) {
20876
+ if (r) throw TypeError("Generator is already executing.");
20877
+ for (; o && (o = 0, s[0] && (n = 0)), n;) try {
20878
+ if (r = 1, i && (a = s[0] & 2 ? i.return : s[0] ? i.throw || ((a = i.return) && a.call(i), 0) : i.next) && !(a = a.call(i, s[1])).done) return a;
20879
+ switch (i = 0, a && (s = [s[0] & 2, a.value]), s[0]) {
20880
+ case 0:
20881
+ case 1:
20882
+ a = s;
20883
+ break;
20884
+ case 4: return n.label++, {
20885
+ value: s[1],
20886
+ done: !1
20887
+ };
20888
+ case 5:
20889
+ n.label++, i = s[1], s = [0];
20890
+ continue;
20891
+ case 7:
20892
+ s = n.ops.pop(), n.trys.pop();
20893
+ continue;
20894
+ default:
20895
+ if ((a = n.trys, !(a = a.length > 0 && a[a.length - 1])) && (s[0] === 6 || s[0] === 2)) {
20896
+ n = 0;
20897
+ continue;
20898
+ }
20899
+ if (s[0] === 3 && (!a || s[1] > a[0] && s[1] < a[3])) {
20900
+ n.label = s[1];
20901
+ break;
20902
+ }
20903
+ if (s[0] === 6 && n.label < a[1]) {
20904
+ n.label = a[1], a = s;
20905
+ break;
20906
+ }
20907
+ if (a && n.label < a[2]) {
20908
+ n.label = a[2], n.ops.push(s);
20909
+ break;
20910
+ }
20911
+ a[2] && n.ops.pop(), n.trys.pop();
20912
+ continue;
20913
+ }
20914
+ s = t.call(e, n);
20915
+ } catch (e) {
20916
+ s = [6, e], i = 0;
20917
+ } finally {
20918
+ r = a = 0;
20919
+ }
20920
+ if (s[0] & 5) throw s[1];
20921
+ return {
20922
+ value: s[0] ? s[1] : void 0,
20923
+ done: !0
20924
+ };
20925
+ }
20926
+ };
20927
+ Object.defineProperty(e, "__esModule", { value: !0 });
20928
+ var i = VN();
20929
+ e.default = function(e) {
20930
+ t(a, e);
20931
+ function a() {
20785
20932
  return e !== null && e.apply(this, arguments) || this;
20786
20933
  }
20787
- return n.prototype.getAdditionalCoverages = function(e) {
20934
+ return a.prototype.getCompanyName = function() {
20935
+ return this.get("Company.Title") || e.prototype.getCompanyName.call(this);
20936
+ }, a.prototype.fetchDocuments = function() {
20937
+ return n(this, void 0, void 0, function() {
20938
+ var e = this;
20939
+ return r(this, function(t) {
20940
+ return [2, function() {
20941
+ return n(e, void 0, void 0, function() {
20942
+ return r(this, function(e) {
20943
+ return [2, new i.DocumentsModel({
20944
+ ConditionUrls: this.get("Summary.ConditionUrls") ?? this.get("ConditionUrls", []),
20945
+ InsuranceCards: this.get("Summary.InsuranceCards") ?? this.get("InsuranceCards", [])
20946
+ })];
20947
+ });
20948
+ });
20949
+ }];
20950
+ });
20951
+ });
20952
+ }, a.prototype.getAdditionalCoverages = function(e) {
20788
20953
  return Promise.resolve(this.get("AdditionalCoverages"));
20789
- }, n;
20790
- }(VN().Rate);
20954
+ }, a;
20955
+ }(i.Rate);
20791
20956
  })), AE = /* @__PURE__ */ s(((e) => {
20792
20957
  Object.defineProperty(e, "__esModule", { value: !0 }), e.PetsecurRate = void 0;
20793
20958
  var t = kE();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vergelijkdirect/comparison-forms",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite --config vite.preview.config.ts --host",
@@ -31,7 +31,7 @@
31
31
  "@eslint/js": "^10.0.1",
32
32
  "@microsoft/api-extractor": "^7.58.9",
33
33
  "@types/node": "^24.13.3",
34
- "@vergelijkdirect/insurance-transmission-client": "1.3.73",
34
+ "@vergelijkdirect/insurance-transmission-client": "1.3.75",
35
35
  "@vergelijkdirect/styles": "2.1.5",
36
36
  "@vitejs/plugin-vue": "^6.0.8",
37
37
  "@vue/test-utils": "^2.4.11",
@@ -53,7 +53,7 @@
53
53
  "vue-tsc": "^3.3.7"
54
54
  },
55
55
  "peerDependencies": {
56
- "@vergelijkdirect/insurance-transmission-client": "1.3.73",
56
+ "@vergelijkdirect/insurance-transmission-client": "1.3.75",
57
57
  "vue": "^3.5.0"
58
58
  },
59
59
  "description": "Headless Vue 3 comparison forms for vergelijkdirect — consumable as a Vue 3 library or as self-contained custom elements.",