@vergelijkdirect/comparison-forms 2.1.3 → 2.1.4

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.
Binary file
@@ -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) => {
@@ -19555,6 +19588,12 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
19555
19588
  return [2, this.client.getVoogdAdditionalCoverages(e)];
19556
19589
  });
19557
19590
  });
19591
+ }, s.prototype.getNNAdditionalCoverages = function(e) {
19592
+ return n(this, void 0, void 0, function() {
19593
+ return r(this, function(t) {
19594
+ return [2, this.client.getNNAdditionalCoverages(e)];
19595
+ });
19596
+ });
19558
19597
  }, s;
19559
19598
  }(dE().RateService);
19560
19599
  })), aE = /* @__PURE__ */ s(((e) => {
@@ -20638,13 +20677,17 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
20638
20677
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
20639
20678
  };
20640
20679
  })();
20641
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = function(e) {
20680
+ Object.defineProperty(e, "__esModule", { value: !0 });
20681
+ var n = VN(), r = eE();
20682
+ e.default = function(e) {
20642
20683
  t(n, e);
20643
20684
  function n() {
20644
20685
  return e !== null && e.apply(this, arguments) || this;
20645
20686
  }
20646
- return n;
20647
- }(VN().Rate);
20687
+ return n.prototype.getAdditionalCoverages = function(e) {
20688
+ return r.ApiServiceFactory.get(this.insuranceCategory).getNNAdditionalCoverages(e);
20689
+ }, n;
20690
+ }(n.Rate);
20648
20691
  })), EE = /* @__PURE__ */ s(((e) => {
20649
20692
  var t = e && e.__extends || (function() {
20650
20693
  var e = function(t, n) {
@@ -20778,16 +20821,135 @@ var Mw, Nw, Pw, Fw, Iw, Lw, Rw, zw = o((() => {
20778
20821
  }
20779
20822
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
20780
20823
  };
20781
- })();
20782
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = function(e) {
20783
- t(n, e);
20784
- function n() {
20824
+ })(), n = e && e.__awaiter || function(e, t, n, r) {
20825
+ function i(e) {
20826
+ return e instanceof n ? e : new n(function(t) {
20827
+ t(e);
20828
+ });
20829
+ }
20830
+ return new (n ||= Promise)(function(n, a) {
20831
+ function o(e) {
20832
+ try {
20833
+ c(r.next(e));
20834
+ } catch (e) {
20835
+ a(e);
20836
+ }
20837
+ }
20838
+ function s(e) {
20839
+ try {
20840
+ c(r.throw(e));
20841
+ } catch (e) {
20842
+ a(e);
20843
+ }
20844
+ }
20845
+ function c(e) {
20846
+ e.done ? n(e.value) : i(e.value).then(o, s);
20847
+ }
20848
+ c((r = r.apply(e, t || [])).next());
20849
+ });
20850
+ }, r = e && e.__generator || function(e, t) {
20851
+ var n = {
20852
+ label: 0,
20853
+ sent: function() {
20854
+ if (a[0] & 1) throw a[1];
20855
+ return a[1];
20856
+ },
20857
+ trys: [],
20858
+ ops: []
20859
+ }, r, i, a, o;
20860
+ return o = {
20861
+ next: s(0),
20862
+ throw: s(1),
20863
+ return: s(2)
20864
+ }, typeof Symbol == "function" && (o[Symbol.iterator] = function() {
20865
+ return this;
20866
+ }), o;
20867
+ function s(e) {
20868
+ return function(t) {
20869
+ return c([e, t]);
20870
+ };
20871
+ }
20872
+ function c(s) {
20873
+ if (r) throw TypeError("Generator is already executing.");
20874
+ for (; o && (o = 0, s[0] && (n = 0)), n;) try {
20875
+ 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;
20876
+ switch (i = 0, a && (s = [s[0] & 2, a.value]), s[0]) {
20877
+ case 0:
20878
+ case 1:
20879
+ a = s;
20880
+ break;
20881
+ case 4: return n.label++, {
20882
+ value: s[1],
20883
+ done: !1
20884
+ };
20885
+ case 5:
20886
+ n.label++, i = s[1], s = [0];
20887
+ continue;
20888
+ case 7:
20889
+ s = n.ops.pop(), n.trys.pop();
20890
+ continue;
20891
+ default:
20892
+ if ((a = n.trys, !(a = a.length > 0 && a[a.length - 1])) && (s[0] === 6 || s[0] === 2)) {
20893
+ n = 0;
20894
+ continue;
20895
+ }
20896
+ if (s[0] === 3 && (!a || s[1] > a[0] && s[1] < a[3])) {
20897
+ n.label = s[1];
20898
+ break;
20899
+ }
20900
+ if (s[0] === 6 && n.label < a[1]) {
20901
+ n.label = a[1], a = s;
20902
+ break;
20903
+ }
20904
+ if (a && n.label < a[2]) {
20905
+ n.label = a[2], n.ops.push(s);
20906
+ break;
20907
+ }
20908
+ a[2] && n.ops.pop(), n.trys.pop();
20909
+ continue;
20910
+ }
20911
+ s = t.call(e, n);
20912
+ } catch (e) {
20913
+ s = [6, e], i = 0;
20914
+ } finally {
20915
+ r = a = 0;
20916
+ }
20917
+ if (s[0] & 5) throw s[1];
20918
+ return {
20919
+ value: s[0] ? s[1] : void 0,
20920
+ done: !0
20921
+ };
20922
+ }
20923
+ };
20924
+ Object.defineProperty(e, "__esModule", { value: !0 });
20925
+ var i = VN();
20926
+ e.default = function(e) {
20927
+ t(a, e);
20928
+ function a() {
20785
20929
  return e !== null && e.apply(this, arguments) || this;
20786
20930
  }
20787
- return n.prototype.getAdditionalCoverages = function(e) {
20931
+ return a.prototype.getCompanyName = function() {
20932
+ return this.get("Company.Title") || e.prototype.getCompanyName.call(this);
20933
+ }, a.prototype.fetchDocuments = function() {
20934
+ return n(this, void 0, void 0, function() {
20935
+ var e = this;
20936
+ return r(this, function(t) {
20937
+ return [2, function() {
20938
+ return n(e, void 0, void 0, function() {
20939
+ return r(this, function(e) {
20940
+ return [2, new i.DocumentsModel({
20941
+ ConditionUrls: this.get("Summary.ConditionUrls") ?? this.get("ConditionUrls", []),
20942
+ InsuranceCards: this.get("Summary.InsuranceCards") ?? this.get("InsuranceCards", [])
20943
+ })];
20944
+ });
20945
+ });
20946
+ }];
20947
+ });
20948
+ });
20949
+ }, a.prototype.getAdditionalCoverages = function(e) {
20788
20950
  return Promise.resolve(this.get("AdditionalCoverages"));
20789
- }, n;
20790
- }(VN().Rate);
20951
+ }, a;
20952
+ }(i.Rate);
20791
20953
  })), AE = /* @__PURE__ */ s(((e) => {
20792
20954
  Object.defineProperty(e, "__esModule", { value: !0 }), e.PetsecurRate = void 0;
20793
20955
  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.4",
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.74",
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.74",
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.",