taxtank-core 0.9.4 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10581,6 +10581,35 @@
10581
10581
  }] }];
10582
10582
  } });
10583
10583
 
10584
+ /**
10585
+ * Service listen and handle kompassify events
10586
+ * @TODO break to different services when we got new kompassify functionality (check lists, progress, etc.)
10587
+ */
10588
+ var KompassifyService = /** @class */ (function () {
10589
+ function KompassifyService(
10590
+ // router required for execution of js code from progressbar step
10591
+ router) {
10592
+ this.router = router;
10593
+ }
10594
+ KompassifyService.prototype.listenEvents = function () {
10595
+ window.addEventListener('message', function (event) {
10596
+ // Execute js code from progressbar step
10597
+ if (event.data.TYPE === 'KOMPASSIFY_EXECUTE_JS_CODE') {
10598
+ eval(event.data.jsCode);
10599
+ }
10600
+ });
10601
+ };
10602
+ return KompassifyService;
10603
+ }());
10604
+ KompassifyService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: KompassifyService, deps: [{ token: i1__namespace$1.Router }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
10605
+ KompassifyService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: KompassifyService, providedIn: 'root' });
10606
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: KompassifyService, decorators: [{
10607
+ type: i0.Injectable,
10608
+ args: [{
10609
+ providedIn: 'root'
10610
+ }]
10611
+ }], ctorParameters: function () { return [{ type: i1__namespace$1.Router }]; } });
10612
+
10584
10613
  /**
10585
10614
  * Service that handling loans logic
10586
10615
  */
@@ -13174,6 +13203,7 @@
13174
13203
  exports.InterceptorsModule = InterceptorsModule;
13175
13204
  exports.IntercomService = IntercomService;
13176
13205
  exports.JwtService = JwtService;
13206
+ exports.KompassifyService = KompassifyService;
13177
13207
  exports.Loan = Loan;
13178
13208
  exports.LoanCollection = LoanCollection;
13179
13209
  exports.LoanPayment = LoanPayment;