taxtank-core 0.9.5 → 0.10.2
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/bundles/taxtank-core.umd.js +29 -0
- package/bundles/taxtank-core.umd.js.map +1 -1
- package/esm2015/lib/services/kompassify/kompassify.service.js +30 -0
- package/esm2015/public-api.js +2 -1
- package/fesm2015/taxtank-core.js +28 -1
- package/fesm2015/taxtank-core.js.map +1 -1
- package/lib/services/kompassify/kompassify.service.d.ts +13 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -10581,6 +10581,34 @@
|
|
|
10581
10581
|
}] }];
|
|
10582
10582
|
} });
|
|
10583
10583
|
|
|
10584
|
+
/**
|
|
10585
|
+
* Service listen and handle kompassify events
|
|
10586
|
+
*/
|
|
10587
|
+
var KompassifyService = /** @class */ (function () {
|
|
10588
|
+
function KompassifyService(
|
|
10589
|
+
// router required for execution of js code from progressbar step
|
|
10590
|
+
router) {
|
|
10591
|
+
this.router = router;
|
|
10592
|
+
}
|
|
10593
|
+
KompassifyService.prototype.listenEvents = function () {
|
|
10594
|
+
window.addEventListener('message', function (event) {
|
|
10595
|
+
// Execute js code from progressbar step
|
|
10596
|
+
if (event.data.TYPE === 'KOMPASSIFY_EXECUTE_JS_CODE') {
|
|
10597
|
+
eval(event.data.jsCode);
|
|
10598
|
+
}
|
|
10599
|
+
});
|
|
10600
|
+
};
|
|
10601
|
+
return KompassifyService;
|
|
10602
|
+
}());
|
|
10603
|
+
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 });
|
|
10604
|
+
KompassifyService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: KompassifyService, providedIn: 'root' });
|
|
10605
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: KompassifyService, decorators: [{
|
|
10606
|
+
type: i0.Injectable,
|
|
10607
|
+
args: [{
|
|
10608
|
+
providedIn: 'root'
|
|
10609
|
+
}]
|
|
10610
|
+
}], ctorParameters: function () { return [{ type: i1__namespace$1.Router }]; } });
|
|
10611
|
+
|
|
10584
10612
|
/**
|
|
10585
10613
|
* Service that handling loans logic
|
|
10586
10614
|
*/
|
|
@@ -13174,6 +13202,7 @@
|
|
|
13174
13202
|
exports.InterceptorsModule = InterceptorsModule;
|
|
13175
13203
|
exports.IntercomService = IntercomService;
|
|
13176
13204
|
exports.JwtService = JwtService;
|
|
13205
|
+
exports.KompassifyService = KompassifyService;
|
|
13177
13206
|
exports.Loan = Loan;
|
|
13178
13207
|
exports.LoanCollection = LoanCollection;
|
|
13179
13208
|
exports.LoanPayment = LoanPayment;
|