@posiwise/common-services 0.2.8 → 0.2.10
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.
|
@@ -107,10 +107,10 @@ class ScriptLoaderService {
|
|
|
107
107
|
style.href = styleUrl;
|
|
108
108
|
head.appendChild(style);
|
|
109
109
|
}
|
|
110
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
111
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
110
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ScriptLoaderService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
111
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ScriptLoaderService, providedIn: 'root' }); }
|
|
112
112
|
}
|
|
113
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
113
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ScriptLoaderService, decorators: [{
|
|
114
114
|
type: Injectable,
|
|
115
115
|
args: [{
|
|
116
116
|
providedIn: 'root'
|
|
@@ -226,10 +226,10 @@ class GoogleAnalyticsService {
|
|
|
226
226
|
this.subscription.unsubscribe();
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
230
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
229
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GoogleAnalyticsService, deps: [{ token: i3.Router }, { token: ScriptLoaderService }, { token: i1.AppConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
230
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GoogleAnalyticsService }); }
|
|
231
231
|
}
|
|
232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GoogleAnalyticsService, decorators: [{
|
|
233
233
|
type: Injectable
|
|
234
234
|
}], ctorParameters: () => [{ type: i3.Router }, { type: ScriptLoaderService }, { type: i1.AppConfigService }] });
|
|
235
235
|
|
|
@@ -303,10 +303,10 @@ class CustomToastService {
|
|
|
303
303
|
this.error(message);
|
|
304
304
|
}
|
|
305
305
|
}
|
|
306
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
307
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CustomToastService, deps: [{ token: i1$1.ToastrService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
307
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CustomToastService, providedIn: 'root' }); }
|
|
308
308
|
}
|
|
309
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CustomToastService, decorators: [{
|
|
310
310
|
type: Injectable,
|
|
311
311
|
args: [{
|
|
312
312
|
providedIn: 'root'
|
|
@@ -397,10 +397,10 @@ class BaseHttpService {
|
|
|
397
397
|
this.toast.showToast(error);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
401
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
400
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: BaseHttpService, deps: [{ token: i1$2.HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
401
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: BaseHttpService }); }
|
|
402
402
|
}
|
|
403
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: BaseHttpService, decorators: [{
|
|
404
404
|
type: Injectable
|
|
405
405
|
}], ctorParameters: () => [{ type: i1$2.HttpClient }, { type: i0.Injector }] });
|
|
406
406
|
|
|
@@ -415,10 +415,10 @@ class IntegrationsApiHttpService extends BaseHttpService {
|
|
|
415
415
|
: config?.['links']?.integrations_api;
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
419
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IntegrationsApiHttpService, deps: [{ token: i1$2.HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
419
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IntegrationsApiHttpService, providedIn: 'root' }); }
|
|
420
420
|
}
|
|
421
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
421
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: IntegrationsApiHttpService, decorators: [{
|
|
422
422
|
type: Injectable,
|
|
423
423
|
args: [{
|
|
424
424
|
providedIn: 'root'
|
|
@@ -444,10 +444,10 @@ class LocalStorage {
|
|
|
444
444
|
getItem(key) {
|
|
445
445
|
return localStorage.getItem(key);
|
|
446
446
|
}
|
|
447
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
448
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
447
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: LocalStorage, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
448
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: LocalStorage, providedIn: 'root' }); }
|
|
449
449
|
}
|
|
450
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
450
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: LocalStorage, decorators: [{
|
|
451
451
|
type: Injectable,
|
|
452
452
|
args: [{
|
|
453
453
|
providedIn: 'root'
|
|
@@ -463,10 +463,10 @@ class MainApiHttpService extends BaseHttpService {
|
|
|
463
463
|
this.baseUrl = isDevMode() ? MAIN_API_PREFIX : config?.['links']?.main_api;
|
|
464
464
|
});
|
|
465
465
|
}
|
|
466
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
467
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
466
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: MainApiHttpService, deps: [{ token: i1$2.HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
467
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: MainApiHttpService, providedIn: 'root' }); }
|
|
468
468
|
}
|
|
469
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: MainApiHttpService, decorators: [{
|
|
470
470
|
type: Injectable,
|
|
471
471
|
args: [{
|
|
472
472
|
providedIn: 'root'
|
|
@@ -720,10 +720,10 @@ class SecureTokenStorageService {
|
|
|
720
720
|
this.phonegapTokenSubject.next(phonegapToken);
|
|
721
721
|
}
|
|
722
722
|
}
|
|
723
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
724
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
723
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SecureTokenStorageService, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
724
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SecureTokenStorageService, providedIn: 'root' }); }
|
|
725
725
|
}
|
|
726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SecureTokenStorageService, decorators: [{
|
|
727
727
|
type: Injectable,
|
|
728
728
|
args: [{
|
|
729
729
|
providedIn: 'root'
|
|
@@ -782,10 +782,10 @@ class ProfileService {
|
|
|
782
782
|
postLinks(data) {
|
|
783
783
|
return this.api.post('/user_links', data);
|
|
784
784
|
}
|
|
785
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
786
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
785
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ProfileService, deps: [{ token: MainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
786
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ProfileService, providedIn: 'root' }); }
|
|
787
787
|
}
|
|
788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ProfileService, decorators: [{
|
|
789
789
|
type: Injectable,
|
|
790
790
|
args: [{
|
|
791
791
|
providedIn: 'root'
|
|
@@ -962,10 +962,10 @@ class UserService {
|
|
|
962
962
|
refreshUserApiTokens() {
|
|
963
963
|
return this.api.get(`${this.endpoint}/refresh_user_api_tokens`);
|
|
964
964
|
}
|
|
965
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
966
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
965
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: UserService, deps: [{ token: MainApiHttpService }, { token: i2.Store }, { token: i3.Router }, { token: i1.AppConfigService }, { token: ProfileService }, { token: CustomToastService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
966
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: UserService, providedIn: 'root' }); }
|
|
967
967
|
}
|
|
968
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: UserService, decorators: [{
|
|
969
969
|
type: Injectable,
|
|
970
970
|
args: [{
|
|
971
971
|
providedIn: 'root'
|
|
@@ -1260,10 +1260,10 @@ class AuthService {
|
|
|
1260
1260
|
}
|
|
1261
1261
|
});
|
|
1262
1262
|
}
|
|
1263
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1264
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1263
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: AuthService, deps: [{ token: LocalStorage }, { token: SecureTokenStorageService }, { token: i3.Router }, { token: MainApiHttpService }, { token: UserService }, { token: CustomToastService }, { token: i1.AppConfigService }, { token: IntegrationsApiHttpService }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1264
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: AuthService }); }
|
|
1265
1265
|
}
|
|
1266
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1266
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: AuthService, decorators: [{
|
|
1267
1267
|
type: Injectable
|
|
1268
1268
|
}], ctorParameters: () => [{ type: LocalStorage }, { type: SecureTokenStorageService }, { type: i3.Router }, { type: MainApiHttpService }, { type: UserService }, { type: CustomToastService }, { type: i1.AppConfigService }, { type: IntegrationsApiHttpService }, { type: Document, decorators: [{
|
|
1269
1269
|
type: Inject,
|
|
@@ -1283,19 +1283,19 @@ class UserEffects {
|
|
|
1283
1283
|
)));
|
|
1284
1284
|
});
|
|
1285
1285
|
}
|
|
1286
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1287
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1286
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: UserEffects, deps: [{ token: UserService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1287
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: UserEffects }); }
|
|
1288
1288
|
}
|
|
1289
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: UserEffects, decorators: [{
|
|
1290
1290
|
type: Injectable
|
|
1291
1291
|
}], ctorParameters: () => [{ type: UserService }] });
|
|
1292
1292
|
|
|
1293
1293
|
class CommonServicesModule {
|
|
1294
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1295
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.
|
|
1296
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.
|
|
1294
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CommonServicesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1295
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.19", ngImport: i0, type: CommonServicesModule, imports: [CommonModule, i1$3.EffectsRootModule, i2.StoreRootModule] }); }
|
|
1296
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CommonServicesModule, providers: [AuthService], imports: [CommonModule, EffectsModule.forRoot([UserEffects]), StoreModule.forRoot(appReducers)] }); }
|
|
1297
1297
|
}
|
|
1298
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1298
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CommonServicesModule, decorators: [{
|
|
1299
1299
|
type: NgModule,
|
|
1300
1300
|
args: [{
|
|
1301
1301
|
imports: [CommonModule, EffectsModule.forRoot([UserEffects]), StoreModule.forRoot(appReducers)],
|
|
@@ -1332,10 +1332,10 @@ class SeoService {
|
|
|
1332
1332
|
this.meta.updateTag({ name: 'twitter:description', content: description });
|
|
1333
1333
|
this.meta.updateTag({ name: 'twitter:card', content: 'summary' });
|
|
1334
1334
|
}
|
|
1335
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1336
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1335
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SeoService, deps: [{ token: i1$4.Meta }, { token: i1$4.Title }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1336
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SeoService, providedIn: 'root' }); }
|
|
1337
1337
|
}
|
|
1338
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SeoService, decorators: [{
|
|
1339
1339
|
type: Injectable,
|
|
1340
1340
|
args: [{
|
|
1341
1341
|
providedIn: 'root'
|
|
@@ -1481,24 +1481,7 @@ class PermissionService {
|
|
|
1481
1481
|
expr = this.handleNonBooleanPermissions(permission, expr, productKey, permission_key, productSlug);
|
|
1482
1482
|
// Now expr is made of true/false values with &&, ||, ()
|
|
1483
1483
|
// Safe parser: no eval() - CSP 'unsafe-eval' not required
|
|
1484
|
-
|
|
1485
|
-
// Comparison: warn if result differs from legacy eval (for verification, no behavior change)
|
|
1486
|
-
try {
|
|
1487
|
-
// eslint-disable-next-line no-eval
|
|
1488
|
-
const evalResult = eval(expr);
|
|
1489
|
-
const evalAsBool = !!evalResult;
|
|
1490
|
-
if (evalAsBool !== ourResult) {
|
|
1491
|
-
console.warn('[PermissionService] Result diff vs eval:', {
|
|
1492
|
-
expr,
|
|
1493
|
-
ourResult,
|
|
1494
|
-
evalResult
|
|
1495
|
-
});
|
|
1496
|
-
}
|
|
1497
|
-
}
|
|
1498
|
-
catch {
|
|
1499
|
-
// eval blocked (CSP) or invalid - skip comparison
|
|
1500
|
-
}
|
|
1501
|
-
return ourResult;
|
|
1484
|
+
return this.evaluateBooleanExpression(expr);
|
|
1502
1485
|
}
|
|
1503
1486
|
/** Safe boolean expression parser - replaces eval() for CSP compliance. */
|
|
1504
1487
|
evaluateBooleanExpression(expr) {
|
|
@@ -1663,10 +1646,10 @@ class PermissionService {
|
|
|
1663
1646
|
getCurrentProduct() {
|
|
1664
1647
|
return JSON.parse(localStorage.getItem('product'));
|
|
1665
1648
|
}
|
|
1666
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1667
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1649
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: PermissionService, deps: [{ token: MainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1650
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: PermissionService, providedIn: 'root' }); }
|
|
1668
1651
|
}
|
|
1669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: PermissionService, decorators: [{
|
|
1670
1653
|
type: Injectable,
|
|
1671
1654
|
args: [{
|
|
1672
1655
|
providedIn: 'root'
|
|
@@ -1707,10 +1690,10 @@ class LinkService {
|
|
|
1707
1690
|
window.console.error('Error within linkService : ', e);
|
|
1708
1691
|
}
|
|
1709
1692
|
}
|
|
1710
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1711
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1693
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: LinkService, deps: [{ token: i0.RendererFactory2 }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1694
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: LinkService, providedIn: 'root' }); }
|
|
1712
1695
|
}
|
|
1713
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1696
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: LinkService, decorators: [{
|
|
1714
1697
|
type: Injectable,
|
|
1715
1698
|
args: [{
|
|
1716
1699
|
providedIn: 'root'
|
|
@@ -1728,7 +1711,6 @@ class CustomPreloadingStrategy {
|
|
|
1728
1711
|
preload(route, load) {
|
|
1729
1712
|
// Skip preloading if we're on the landing page (root path)
|
|
1730
1713
|
if (this.router.url === '/' || this.router.url === '') {
|
|
1731
|
-
console.log('🚫 Skipping preload for route:', route.path, '- on landing page');
|
|
1732
1714
|
return of(null);
|
|
1733
1715
|
}
|
|
1734
1716
|
const loadRoute = delay => (delay ? timer(5000).pipe(mergeMap(_ => load())) : load());
|
|
@@ -1740,10 +1722,10 @@ class CustomPreloadingStrategy {
|
|
|
1740
1722
|
const ret = routeData.preload && this.permission.isGranted(routeData.permission);
|
|
1741
1723
|
return ret;
|
|
1742
1724
|
}
|
|
1743
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1744
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1725
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CustomPreloadingStrategy, deps: [{ token: PermissionService }, { token: i3.Router }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1726
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CustomPreloadingStrategy, providedIn: 'root' }); }
|
|
1745
1727
|
}
|
|
1746
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1728
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CustomPreloadingStrategy, decorators: [{
|
|
1747
1729
|
type: Injectable,
|
|
1748
1730
|
args: [{
|
|
1749
1731
|
providedIn: 'root'
|
|
@@ -1785,13 +1767,12 @@ class AbTestService {
|
|
|
1785
1767
|
* dynamically loads the microservice
|
|
1786
1768
|
*/
|
|
1787
1769
|
getServiceInstance(service) {
|
|
1788
|
-
console.log(typeof service);
|
|
1789
1770
|
return service ? this.injector.get(service) : this.injector.get(MainApiHttpService); // fallback to Core Microservice
|
|
1790
1771
|
}
|
|
1791
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1792
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1772
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: AbTestService, deps: [{ token: i0.Injector }, { token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1773
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: AbTestService, providedIn: 'root' }); }
|
|
1793
1774
|
}
|
|
1794
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: AbTestService, decorators: [{
|
|
1795
1776
|
type: Injectable,
|
|
1796
1777
|
args: [{
|
|
1797
1778
|
providedIn: 'root'
|
|
@@ -1819,10 +1800,10 @@ class GeoService {
|
|
|
1819
1800
|
return this.cookieService.putObject('location_from_ip', data);
|
|
1820
1801
|
}));
|
|
1821
1802
|
}
|
|
1822
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1823
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1803
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GeoService, deps: [{ token: MainApiHttpService }, { token: i2$1.CookieService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1804
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GeoService, providedIn: 'root' }); }
|
|
1824
1805
|
}
|
|
1825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1806
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GeoService, decorators: [{
|
|
1826
1807
|
type: Injectable,
|
|
1827
1808
|
args: [{
|
|
1828
1809
|
providedIn: 'root'
|
|
@@ -1946,10 +1927,10 @@ class SubscriptionService {
|
|
|
1946
1927
|
...HelperService.getPagingParams(paging)
|
|
1947
1928
|
});
|
|
1948
1929
|
}
|
|
1949
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1950
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
1930
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SubscriptionService, deps: [{ token: MainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1931
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SubscriptionService }); }
|
|
1951
1932
|
}
|
|
1952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1933
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SubscriptionService, decorators: [{
|
|
1953
1934
|
type: Injectable
|
|
1954
1935
|
}], ctorParameters: () => [{ type: MainApiHttpService }] });
|
|
1955
1936
|
|
|
@@ -2009,16 +1990,18 @@ class ProductService {
|
|
|
2009
1990
|
getUsersForProduct(id, subscription_id) {
|
|
2010
1991
|
return this.api.getWithParams(`${this.endpoint}/${id}/insights`, { subscription_id });
|
|
2011
1992
|
}
|
|
2012
|
-
getAvailableStripeUnsubscribeBehaviors() {
|
|
2013
|
-
|
|
1993
|
+
getAvailableStripeUnsubscribeBehaviors(subscription_id) {
|
|
1994
|
+
const params = subscription_id != null ? { subscription_id } : {};
|
|
1995
|
+
return this.api.getWithParams(`${this.endpoint}/available_stripe_unsubscribe_behaviors`, params);
|
|
2014
1996
|
}
|
|
2015
|
-
getAvailableStripeProrationBehaviors() {
|
|
2016
|
-
|
|
1997
|
+
getAvailableStripeProrationBehaviors(subscription_id) {
|
|
1998
|
+
const params = subscription_id != null ? { subscription_id } : {};
|
|
1999
|
+
return this.api.getWithParams(`${this.endpoint}/available_stripe_proration_behaviors`, params);
|
|
2017
2000
|
}
|
|
2018
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2019
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2001
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ProductService, deps: [{ token: MainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2002
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ProductService, providedIn: 'root' }); }
|
|
2020
2003
|
}
|
|
2021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2004
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ProductService, decorators: [{
|
|
2022
2005
|
type: Injectable,
|
|
2023
2006
|
args: [{
|
|
2024
2007
|
providedIn: 'root'
|
|
@@ -2052,10 +2035,10 @@ class ValidationService {
|
|
|
2052
2035
|
return valid ? null : error;
|
|
2053
2036
|
};
|
|
2054
2037
|
}
|
|
2055
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2056
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2038
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ValidationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2039
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ValidationService }); }
|
|
2057
2040
|
}
|
|
2058
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2041
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: ValidationService, decorators: [{
|
|
2059
2042
|
type: Injectable
|
|
2060
2043
|
}] });
|
|
2061
2044
|
|
|
@@ -2160,10 +2143,10 @@ class AhoyService {
|
|
|
2160
2143
|
this.toast.showToast(error);
|
|
2161
2144
|
}
|
|
2162
2145
|
}
|
|
2163
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2164
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2146
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: AhoyService, deps: [{ token: i1$2.HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2147
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: AhoyService, providedIn: 'root' }); }
|
|
2165
2148
|
}
|
|
2166
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: AhoyService, decorators: [{
|
|
2167
2150
|
type: Injectable,
|
|
2168
2151
|
args: [{
|
|
2169
2152
|
providedIn: 'root'
|
|
@@ -2288,10 +2271,10 @@ class CommonService {
|
|
|
2288
2271
|
}
|
|
2289
2272
|
return this.api.post(`${CUSTOMER_SUPPORT_PATH}`, formData);
|
|
2290
2273
|
}
|
|
2291
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2292
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2274
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CommonService, deps: [{ token: MainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2275
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CommonService, providedIn: 'root' }); }
|
|
2293
2276
|
}
|
|
2294
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: CommonService, decorators: [{
|
|
2295
2278
|
type: Injectable,
|
|
2296
2279
|
args: [{
|
|
2297
2280
|
providedIn: 'root'
|
|
@@ -2365,10 +2348,10 @@ class NgbDateCustomParserFormatter extends NgbDateParserFormatter {
|
|
|
2365
2348
|
day: Number(date.substring(8, 10))
|
|
2366
2349
|
};
|
|
2367
2350
|
}
|
|
2368
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2369
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2351
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: NgbDateCustomParserFormatter, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2352
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: NgbDateCustomParserFormatter, providedIn: 'root' }); }
|
|
2370
2353
|
}
|
|
2371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2354
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: NgbDateCustomParserFormatter, decorators: [{
|
|
2372
2355
|
type: Injectable,
|
|
2373
2356
|
args: [{
|
|
2374
2357
|
providedIn: 'root'
|
|
@@ -2478,10 +2461,10 @@ class TagService {
|
|
|
2478
2461
|
addTagCategoryById(data, subscription_id) {
|
|
2479
2462
|
return this.api.post(this.ADMIN_TAG_CATEGORIES_PATH, { ...data, subscription_id });
|
|
2480
2463
|
}
|
|
2481
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2482
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2464
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TagService, deps: [{ token: MainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2465
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TagService, providedIn: 'root' }); }
|
|
2483
2466
|
}
|
|
2484
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TagService, decorators: [{
|
|
2485
2468
|
type: Injectable,
|
|
2486
2469
|
args: [{
|
|
2487
2470
|
providedIn: 'root'
|
|
@@ -2511,10 +2494,10 @@ class TipsService {
|
|
|
2511
2494
|
addUserTips(data, subscription_id) {
|
|
2512
2495
|
return this.api.post(`/users/user_tips`, { ...data, subscription_id });
|
|
2513
2496
|
}
|
|
2514
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2515
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2497
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TipsService, deps: [{ token: MainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2498
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TipsService, providedIn: 'root' }); }
|
|
2516
2499
|
}
|
|
2517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: TipsService, decorators: [{
|
|
2518
2501
|
type: Injectable,
|
|
2519
2502
|
args: [{
|
|
2520
2503
|
providedIn: 'root'
|
|
@@ -2529,10 +2512,10 @@ class WindowService {
|
|
|
2529
2512
|
replaceUrl(url) {
|
|
2530
2513
|
window.location.href = url;
|
|
2531
2514
|
}
|
|
2532
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2533
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2515
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: WindowService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2516
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: WindowService, providedIn: 'root' }); }
|
|
2534
2517
|
}
|
|
2535
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2518
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: WindowService, decorators: [{
|
|
2536
2519
|
type: Injectable,
|
|
2537
2520
|
args: [{
|
|
2538
2521
|
providedIn: 'root'
|
|
@@ -2645,10 +2628,10 @@ class GroupService {
|
|
|
2645
2628
|
deleteCommunicationFiles(id) {
|
|
2646
2629
|
return this.api.delete(`/group_communication_files/${id}`);
|
|
2647
2630
|
}
|
|
2648
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2649
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2631
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GroupService, deps: [{ token: MainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2632
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GroupService, providedIn: 'root' }); }
|
|
2650
2633
|
}
|
|
2651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2634
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: GroupService, decorators: [{
|
|
2652
2635
|
type: Injectable,
|
|
2653
2636
|
args: [{
|
|
2654
2637
|
providedIn: 'root'
|
|
@@ -2669,10 +2652,10 @@ class QualificationService {
|
|
|
2669
2652
|
deleteQualifications(id) {
|
|
2670
2653
|
return this.api.delete(`${this.endPoint}/${id}`);
|
|
2671
2654
|
}
|
|
2672
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2673
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2655
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: QualificationService, deps: [{ token: MainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2656
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: QualificationService, providedIn: 'root' }); }
|
|
2674
2657
|
}
|
|
2675
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: QualificationService, decorators: [{
|
|
2676
2659
|
type: Injectable,
|
|
2677
2660
|
args: [{
|
|
2678
2661
|
providedIn: 'root'
|
|
@@ -2686,10 +2669,10 @@ class DashboardService {
|
|
|
2686
2669
|
search(keyword, subscriptionId) {
|
|
2687
2670
|
return this.api.get(`/search/global_search?search_term=${keyword}&subscription_id=${subscriptionId}`);
|
|
2688
2671
|
}
|
|
2689
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2690
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2672
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DashboardService, deps: [{ token: MainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2673
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DashboardService, providedIn: 'root' }); }
|
|
2691
2674
|
}
|
|
2692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2675
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DashboardService, decorators: [{
|
|
2693
2676
|
type: Injectable,
|
|
2694
2677
|
args: [{
|
|
2695
2678
|
providedIn: 'root'
|
|
@@ -2745,10 +2728,10 @@ class MailBoxService {
|
|
|
2745
2728
|
getRecipient(params = {}) {
|
|
2746
2729
|
return this.http.getWithParams(`${this.endpoint}available_recipients`, params);
|
|
2747
2730
|
}
|
|
2748
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2749
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2731
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: MailBoxService, deps: [{ token: MainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2732
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: MailBoxService, providedIn: 'root' }); }
|
|
2750
2733
|
}
|
|
2751
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2734
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: MailBoxService, decorators: [{
|
|
2752
2735
|
type: Injectable,
|
|
2753
2736
|
args: [{
|
|
2754
2737
|
providedIn: 'root'
|
|
@@ -2766,10 +2749,10 @@ class WebsocketService {
|
|
|
2766
2749
|
this.webSocket$ = this.webSocketSubject.asObservable().pipe(distinctUntilChanged());
|
|
2767
2750
|
});
|
|
2768
2751
|
}
|
|
2769
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2770
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2752
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: WebsocketService, deps: [{ token: i1.AppConfigService }, { token: AuthService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2753
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: WebsocketService, providedIn: 'root' }); }
|
|
2771
2754
|
}
|
|
2772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2755
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: WebsocketService, decorators: [{
|
|
2773
2756
|
type: Injectable,
|
|
2774
2757
|
args: [{
|
|
2775
2758
|
providedIn: 'root'
|
|
@@ -2825,10 +2808,10 @@ class NotificationService {
|
|
|
2825
2808
|
return null;
|
|
2826
2809
|
}));
|
|
2827
2810
|
}
|
|
2828
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2829
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2811
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: NotificationService, deps: [{ token: MainApiHttpService }, { token: CustomToastService }, { token: WebsocketService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2812
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: NotificationService, providedIn: 'root' }); }
|
|
2830
2813
|
}
|
|
2831
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: NotificationService, decorators: [{
|
|
2832
2815
|
type: Injectable,
|
|
2833
2816
|
args: [{
|
|
2834
2817
|
providedIn: 'root'
|
|
@@ -2843,10 +2826,10 @@ class DataService {
|
|
|
2843
2826
|
changeMessage(message) {
|
|
2844
2827
|
this.messageSource.next(message);
|
|
2845
2828
|
}
|
|
2846
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2847
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2829
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DataService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2830
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DataService, providedIn: 'root' }); }
|
|
2848
2831
|
}
|
|
2849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2832
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: DataService, decorators: [{
|
|
2850
2833
|
type: Injectable,
|
|
2851
2834
|
args: [{
|
|
2852
2835
|
providedIn: 'root'
|
|
@@ -2884,10 +2867,10 @@ class NumberPickerService {
|
|
|
2884
2867
|
*/
|
|
2885
2868
|
this.value = null;
|
|
2886
2869
|
}
|
|
2887
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
2888
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
2870
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: NumberPickerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2871
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: NumberPickerService, providedIn: 'root' }); }
|
|
2889
2872
|
}
|
|
2890
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
2873
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: NumberPickerService, decorators: [{
|
|
2891
2874
|
type: Injectable,
|
|
2892
2875
|
args: [{
|
|
2893
2876
|
providedIn: 'root'
|
|
@@ -3079,7 +3062,6 @@ class SentryErrorHandler {
|
|
|
3079
3062
|
return; // Skip logging to Sentry
|
|
3080
3063
|
}
|
|
3081
3064
|
if (error.status === 0 && error.statusText === 'Unknown Error') {
|
|
3082
|
-
// Handle network-related errors differently or suppress them
|
|
3083
3065
|
console.warn('Network-related error:', error);
|
|
3084
3066
|
return; // Don't rethrow the error
|
|
3085
3067
|
}
|
|
@@ -3098,12 +3080,11 @@ class SentryErrorHandler {
|
|
|
3098
3080
|
try {
|
|
3099
3081
|
message = JSON.stringify(error);
|
|
3100
3082
|
}
|
|
3101
|
-
catch
|
|
3083
|
+
catch {
|
|
3102
3084
|
message =
|
|
3103
3085
|
typeof error === 'object' && error !== null
|
|
3104
3086
|
? JSON.stringify(error)
|
|
3105
3087
|
: error.toString();
|
|
3106
|
-
console.log(e);
|
|
3107
3088
|
}
|
|
3108
3089
|
}
|
|
3109
3090
|
return message;
|
|
@@ -3231,10 +3212,10 @@ class SentryErrorHandler {
|
|
|
3231
3212
|
console.error(error, e);
|
|
3232
3213
|
}
|
|
3233
3214
|
}
|
|
3234
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
3235
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
3215
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SentryErrorHandler, deps: [{ token: i1.AppConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3216
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SentryErrorHandler, providedIn: 'root' }); }
|
|
3236
3217
|
}
|
|
3237
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
3218
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: SentryErrorHandler, decorators: [{
|
|
3238
3219
|
type: Injectable,
|
|
3239
3220
|
args: [{
|
|
3240
3221
|
providedIn: 'root'
|
|
@@ -3294,10 +3275,10 @@ class LogoCacheService {
|
|
|
3294
3275
|
this.cache = JSON.parse(cacheData);
|
|
3295
3276
|
}
|
|
3296
3277
|
}
|
|
3297
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
3298
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
3278
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: LogoCacheService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3279
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: LogoCacheService, providedIn: 'root' }); }
|
|
3299
3280
|
}
|
|
3300
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
3281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: LogoCacheService, decorators: [{
|
|
3301
3282
|
type: Injectable,
|
|
3302
3283
|
args: [{
|
|
3303
3284
|
providedIn: 'root'
|
|
@@ -3336,10 +3317,10 @@ class HopscotchService {
|
|
|
3336
3317
|
window?.hopscotch?.endTour();
|
|
3337
3318
|
}
|
|
3338
3319
|
}
|
|
3339
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
3340
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
3320
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: HopscotchService, deps: [{ token: ScriptLoaderService }, { token: TipsService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3321
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: HopscotchService, providedIn: 'root' }); }
|
|
3341
3322
|
}
|
|
3342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
3323
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: HopscotchService, decorators: [{
|
|
3343
3324
|
type: Injectable,
|
|
3344
3325
|
args: [{
|
|
3345
3326
|
providedIn: 'root'
|
|
@@ -3355,10 +3336,10 @@ class BrainApiHttpService extends BaseHttpService {
|
|
|
3355
3336
|
this.baseUrl = isDevMode() ? BRAIN_API_PREFIX : config?.['links']['brain_api'] ?? '';
|
|
3356
3337
|
});
|
|
3357
3338
|
}
|
|
3358
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
3359
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
3339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: BrainApiHttpService, deps: [{ token: i1$2.HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3340
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: BrainApiHttpService, providedIn: 'root' }); }
|
|
3360
3341
|
}
|
|
3361
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
3342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: BrainApiHttpService, decorators: [{
|
|
3362
3343
|
type: Injectable,
|
|
3363
3344
|
args: [{
|
|
3364
3345
|
providedIn: 'root'
|
|
@@ -3372,10 +3353,10 @@ class BrainApiService {
|
|
|
3372
3353
|
invokeModel(payload) {
|
|
3373
3354
|
return this.api.post('/bedrock/invoke', payload);
|
|
3374
3355
|
}
|
|
3375
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
3376
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
3356
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: BrainApiService, deps: [{ token: BrainApiHttpService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
3357
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: BrainApiService, providedIn: 'root' }); }
|
|
3377
3358
|
}
|
|
3378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
3359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: BrainApiService, decorators: [{
|
|
3379
3360
|
type: Injectable,
|
|
3380
3361
|
args: [{
|
|
3381
3362
|
providedIn: 'root'
|