ngx-techlify-core 14.6.3-alpha-1 → 14.6.3-alpha-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.
|
@@ -18,5 +18,6 @@ export * from './storage.service';
|
|
|
18
18
|
export * from './techlify-config.model';
|
|
19
19
|
export * from './token.interceptor';
|
|
20
20
|
export * from './dataManager.service';
|
|
21
|
+
export * from './pusher.service';
|
|
21
22
|
export * from './filter.service';
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uZ3gtdGVjaGxpZnktY29yZS9zcmMvbGliL2NvcmUvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLHNCQUFzQixDQUFDO0FBRXJDLGNBQWMsaUJBQWlCLENBQUM7QUFDaEMsY0FBYywwQkFBMEIsQ0FBQztBQUN6QyxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLHlCQUF5QixDQUFDO0FBQ3hDLGNBQWMsMEJBQTBCLENBQUM7QUFDekMsY0FBYyxzQkFBc0IsQ0FBQztBQUNyQyxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYywyQkFBMkIsQ0FBQztBQUMxQyxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMseUJBQXlCLENB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uZmlnLm1vZGVsJztcbmV4cG9ydCAqIGZyb20gJy4vdG9rZW4uaW50ZXJjZXB0b3InO1xuZXhwb3J0ICogZnJvbSAnLi9kYXRhTWFuYWdlci5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vcHVzaGVyLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9maWx0ZXIuc2VydmljZSc7XG4iXX0=
|
|
@@ -60,6 +60,7 @@ import * as i9$2 from '@angular/material/datepicker';
|
|
|
60
60
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
|
61
61
|
import * as i1$5 from '@angular/router';
|
|
62
62
|
import { RouteReuseStrategy, RouterModule, NavigationEnd } from '@angular/router';
|
|
63
|
+
import Pusher from 'pusher-js';
|
|
63
64
|
import * as i7$3 from '@angular/material/divider';
|
|
64
65
|
import { MatDividerModule } from '@angular/material/divider';
|
|
65
66
|
import * as i8$3 from '@angular/material/list';
|
|
@@ -68,7 +69,6 @@ import * as i5$1 from '@angular/material/button-toggle';
|
|
|
68
69
|
import { MatButtonToggleModule } from '@angular/material/button-toggle';
|
|
69
70
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
70
71
|
import * as i2$1 from 'ngx-toastr';
|
|
71
|
-
import Pusher from 'pusher-js';
|
|
72
72
|
import * as i9$3 from '@angular/material/badge';
|
|
73
73
|
import { MatBadgeModule } from '@angular/material/badge';
|
|
74
74
|
import * as i10$1 from '@angular/material/slide-toggle';
|
|
@@ -3650,6 +3650,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
3650
3650
|
}]
|
|
3651
3651
|
}], ctorParameters: function () { return [{ type: HttpService }]; } });
|
|
3652
3652
|
|
|
3653
|
+
class PusherService {
|
|
3654
|
+
constructor(credentialService, configService) {
|
|
3655
|
+
this.credentialService = credentialService;
|
|
3656
|
+
this.configService = configService;
|
|
3657
|
+
this.pusher = new BehaviorSubject(null);
|
|
3658
|
+
this.initPusher();
|
|
3659
|
+
}
|
|
3660
|
+
initPusher() {
|
|
3661
|
+
var _a, _b, _c;
|
|
3662
|
+
if (this.pusher.value) {
|
|
3663
|
+
this.pusher.value.disconnect();
|
|
3664
|
+
}
|
|
3665
|
+
this.pusher.next(new Pusher(this.configService.getConfigsRaw().pusherAppKey, {
|
|
3666
|
+
cluster: this.configService.getConfigsRaw().pusherAppCluster,
|
|
3667
|
+
forceTLS: true,
|
|
3668
|
+
authEndpoint: this.configService.getApiUrl() + 'api/broadcasting/auth',
|
|
3669
|
+
auth: {
|
|
3670
|
+
headers: {
|
|
3671
|
+
Authorization: 'Bearer ' + ((_c = (_b = (_a = this.credentialService) === null || _a === void 0 ? void 0 : _a.credentials) === null || _b === void 0 ? void 0 : _b.token) === null || _c === void 0 ? void 0 : _c.access_token)
|
|
3672
|
+
}
|
|
3673
|
+
}
|
|
3674
|
+
}));
|
|
3675
|
+
}
|
|
3676
|
+
getPusher() {
|
|
3677
|
+
return this.pusher.asObservable();
|
|
3678
|
+
}
|
|
3679
|
+
}
|
|
3680
|
+
PusherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PusherService, deps: [{ token: CredentialsService }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3681
|
+
PusherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PusherService, providedIn: 'root' });
|
|
3682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PusherService, decorators: [{
|
|
3683
|
+
type: Injectable,
|
|
3684
|
+
args: [{
|
|
3685
|
+
providedIn: 'root'
|
|
3686
|
+
}]
|
|
3687
|
+
}], ctorParameters: function () { return [{ type: CredentialsService }, { type: ConfigService }]; } });
|
|
3688
|
+
|
|
3653
3689
|
class FilterService {
|
|
3654
3690
|
constructor(router) {
|
|
3655
3691
|
this.router = router;
|
|
@@ -4270,42 +4306,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
4270
4306
|
}]
|
|
4271
4307
|
}] });
|
|
4272
4308
|
|
|
4273
|
-
class PusherService {
|
|
4274
|
-
constructor(credentialService, configService) {
|
|
4275
|
-
this.credentialService = credentialService;
|
|
4276
|
-
this.configService = configService;
|
|
4277
|
-
this.pusher = new BehaviorSubject(null);
|
|
4278
|
-
this.initPusher();
|
|
4279
|
-
}
|
|
4280
|
-
initPusher() {
|
|
4281
|
-
var _a, _b, _c;
|
|
4282
|
-
if (this.pusher.value) {
|
|
4283
|
-
this.pusher.value.disconnect();
|
|
4284
|
-
}
|
|
4285
|
-
this.pusher.next(new Pusher(this.configService.getConfigsRaw().pusherAppKey, {
|
|
4286
|
-
cluster: this.configService.getConfigsRaw().pusherAppCluster,
|
|
4287
|
-
forceTLS: true,
|
|
4288
|
-
authEndpoint: this.configService.getApiUrl() + 'api/broadcasting/auth',
|
|
4289
|
-
auth: {
|
|
4290
|
-
headers: {
|
|
4291
|
-
Authorization: 'Bearer ' + ((_c = (_b = (_a = this.credentialService) === null || _a === void 0 ? void 0 : _a.credentials) === null || _b === void 0 ? void 0 : _b.token) === null || _c === void 0 ? void 0 : _c.access_token)
|
|
4292
|
-
}
|
|
4293
|
-
}
|
|
4294
|
-
}));
|
|
4295
|
-
}
|
|
4296
|
-
getPusher() {
|
|
4297
|
-
return this.pusher.asObservable();
|
|
4298
|
-
}
|
|
4299
|
-
}
|
|
4300
|
-
PusherService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PusherService, deps: [{ token: CredentialsService }, { token: ConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4301
|
-
PusherService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PusherService, providedIn: 'root' });
|
|
4302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImport: i0, type: PusherService, decorators: [{
|
|
4303
|
-
type: Injectable,
|
|
4304
|
-
args: [{
|
|
4305
|
-
providedIn: 'root'
|
|
4306
|
-
}]
|
|
4307
|
-
}], ctorParameters: function () { return [{ type: CredentialsService }, { type: ConfigService }]; } });
|
|
4308
|
-
|
|
4309
4309
|
let NgxTechlifyNotifierComponent = class NgxTechlifyNotifierComponent {
|
|
4310
4310
|
constructor(http, toastr, credentialService, pusherService, environment) {
|
|
4311
4311
|
this.http = http;
|
|
@@ -9366,5 +9366,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.7", ngImpor
|
|
|
9366
9366
|
* Generated bundle index. Do not edit.
|
|
9367
9367
|
*/
|
|
9368
9368
|
|
|
9369
|
-
export { ActionPopup, ActionPopupComponent, ActionPopupModule, AlertService, ApiPrefixInterceptor, AuditLogForModelComponent, AuditLogForModelModule, AuditLogForModelRoutingModule, AuditLogListComponent, AuditLogListFilterComponent, AuditLogListFilterModule, AuditLogListFilterRoutingModule, AuditLogListModule, AuditLogListRoutingModule, AuditLogModule, AuditLogRoutingModule, AuditLogViewComponent, AuditLogViewModelComponent, AuditLogViewModelModule, AuditLogViewModelRoutingModule, AuditLogViewModule, AuditLogViewRoutingModule, AuditLogsViewModelComponent, AuditLogsViewModelModule, AuditLogsViewModelRoutingModule, AuthenticationGuard, AuthenticationService, CacheInterceptor, CommentFormComponent, ConfigService, CoreModule, CredentialsService, DataManager, DataTable, DataTableComponent, DataTableModule, DateUtils, DateValidator, DocumentViewerComponent, DocumentViewerModule, EmailSubscriptionForUserComponent, EmailSubscriptionForUserModule, EmailSubscriptionForUserRoutingModule, EmailSubscriptionModule, EmailSubscriptionRoutingModule, EmailSubscriptionTypeFormComponent, EmailSubscriptionTypeFormModule, EmailSubscriptionTypeFormRoutingModule, EmailSubscriptionTypeListComponent, EmailSubscriptionTypeListModule, EmailSubscriptionTypeListRoutingModule, EmailSubscriptionTypeModule, EmailSubscriptionTypeRoutingModule, EmailSubscriptionUserFormComponent, EmailSubscriptionUserFormModule, EmailSubscriptionUserFormRoutingModule, EmailSubscriptionUserListComponent, EmailSubscriptionUserListFilterComponent, EmailSubscriptionUserListFilterModule, EmailSubscriptionUserListFilterRoutingModule, EmailSubscriptionUserListModule, EmailSubscriptionUserListRoutingModule, EmailSubscriptionUserModule, EmailSubscriptionUserRoutingModule, EntityFileFormComponent, EntityFilesViewAllComponent, EntityFilesViewAllModule, ErrorHandlerInterceptor, ErrorHandlerService, ErrorSnackComponent, ExportExcelButtonComponent, ExportExcelModule, FileDropperComponent, FileDropperConfig, FileDropperModule, FilterService, FormValidatorService, HTTP_DYNAMIC_INTERCEPTORS, HttpCacheService, HttpService, ImportCsvComponent, ImportCsvModule, LoaderComponent, LoaderModule, LogLevel, Logger, LoginHistoryForUserComponent, LoginHistoryForUserModule, LoginHistoryForUserRoutingModule, MatSelectInfiniteScrollDirective, MaterialModule, NgxTechlifyNotifierComponent, NgxTechlifyNotifierModule, NgxTechlifyNotifierRoutingModule, NoteFormComponent, NoteListComponent, NoteModule, NumItemsSelector, NumberSelector, PageEvent, ReadMoreComponent, ReadMoreModule, RequestHelperService, RouteReusableStrategy, SearchableSelectorComponent, SearchableSelectorModule, SnackModule, StorageService, SuccessSnackComponent, TechlifyConfig, TechlifyFeatureEnabledDirective, TechlifyFeatureListingComponent, TechlifyFeatureModule, TechlifyFeatureRoutes, TechlifyFormComponentInterface, TechlifyListingControllerInterface, TechlifyNotficationSubscriberDashboardComponent, TechlifyNotficationSubscriberDashboardModule, TechlifyNotficationSubscriberDashboardRoutingModule, TechlifyNotificationForUserComponent, TechlifyNotificationForUserModule, TechlifyNotificationForUserRoutingModule, TechlifyNotificationModule, TechlifyNotificationRoutingModule, TechlifyNotificationSubscriberFormComponent, TechlifyNotificationSubscriberFormModule, TechlifyNotificationSubscriberListComponent, TechlifyNotificationSubscriberListFilterComponent, TechlifyNotificationSubscriberListFilterModule, TechlifyNotificationSubscriberListModule, TechlifyNotificationSubscriberListRoutingModule, TechlifyNotificationSubscriberModule, TechlifyNotificationSubscriberRoutingModule, TechlifyNotificationSubscriptionEntity, TechlifyNotificationTypeFormComponent, TechlifyNotificationTypeFormModule, TechlifyNotificationTypeListComponent, TechlifyNotificationTypeListModule, TechlifyNotificationTypeListRoutingModule, TechlifyNotificationTypeModule, TechlifyNotificationTypeRoutingModule, TechlifyNotificationUserStatus, TechlifyServiceBaseClass, TechlifyTaggerTagFormConfigModel, TechlifyTaggerTagFormFieldComponent, TechlifyTaggerTagFormFieldModule, TechlifyTaggerTagSelectorComponent, TechlifyTaggerTagSelectorModule, TechlifyUpdateHistoryModule, TechlifyUpdateModule, Timeline, TimelineFilterComponent, TimelineFilterModule, TokenInterceptor, UpdateNotifierComponent, UpdateNotifierModule, UtilityModule, ViewerConfig, calculateTimeline, esfur, estlr, esulr };
|
|
9369
|
+
export { ActionPopup, ActionPopupComponent, ActionPopupModule, AlertService, ApiPrefixInterceptor, AuditLogForModelComponent, AuditLogForModelModule, AuditLogForModelRoutingModule, AuditLogListComponent, AuditLogListFilterComponent, AuditLogListFilterModule, AuditLogListFilterRoutingModule, AuditLogListModule, AuditLogListRoutingModule, AuditLogModule, AuditLogRoutingModule, AuditLogViewComponent, AuditLogViewModelComponent, AuditLogViewModelModule, AuditLogViewModelRoutingModule, AuditLogViewModule, AuditLogViewRoutingModule, AuditLogsViewModelComponent, AuditLogsViewModelModule, AuditLogsViewModelRoutingModule, AuthenticationGuard, AuthenticationService, CacheInterceptor, CommentFormComponent, ConfigService, CoreModule, CredentialsService, DataManager, DataTable, DataTableComponent, DataTableModule, DateUtils, DateValidator, DocumentViewerComponent, DocumentViewerModule, EmailSubscriptionForUserComponent, EmailSubscriptionForUserModule, EmailSubscriptionForUserRoutingModule, EmailSubscriptionModule, EmailSubscriptionRoutingModule, EmailSubscriptionTypeFormComponent, EmailSubscriptionTypeFormModule, EmailSubscriptionTypeFormRoutingModule, EmailSubscriptionTypeListComponent, EmailSubscriptionTypeListModule, EmailSubscriptionTypeListRoutingModule, EmailSubscriptionTypeModule, EmailSubscriptionTypeRoutingModule, EmailSubscriptionUserFormComponent, EmailSubscriptionUserFormModule, EmailSubscriptionUserFormRoutingModule, EmailSubscriptionUserListComponent, EmailSubscriptionUserListFilterComponent, EmailSubscriptionUserListFilterModule, EmailSubscriptionUserListFilterRoutingModule, EmailSubscriptionUserListModule, EmailSubscriptionUserListRoutingModule, EmailSubscriptionUserModule, EmailSubscriptionUserRoutingModule, EntityFileFormComponent, EntityFilesViewAllComponent, EntityFilesViewAllModule, ErrorHandlerInterceptor, ErrorHandlerService, ErrorSnackComponent, ExportExcelButtonComponent, ExportExcelModule, FileDropperComponent, FileDropperConfig, FileDropperModule, FilterService, FormValidatorService, HTTP_DYNAMIC_INTERCEPTORS, HttpCacheService, HttpService, ImportCsvComponent, ImportCsvModule, LoaderComponent, LoaderModule, LogLevel, Logger, LoginHistoryForUserComponent, LoginHistoryForUserModule, LoginHistoryForUserRoutingModule, MatSelectInfiniteScrollDirective, MaterialModule, NgxTechlifyNotifierComponent, NgxTechlifyNotifierModule, NgxTechlifyNotifierRoutingModule, NoteFormComponent, NoteListComponent, NoteModule, NumItemsSelector, NumberSelector, PageEvent, PusherService, ReadMoreComponent, ReadMoreModule, RequestHelperService, RouteReusableStrategy, SearchableSelectorComponent, SearchableSelectorModule, SnackModule, StorageService, SuccessSnackComponent, TechlifyConfig, TechlifyFeatureEnabledDirective, TechlifyFeatureListingComponent, TechlifyFeatureModule, TechlifyFeatureRoutes, TechlifyFormComponentInterface, TechlifyListingControllerInterface, TechlifyNotficationSubscriberDashboardComponent, TechlifyNotficationSubscriberDashboardModule, TechlifyNotficationSubscriberDashboardRoutingModule, TechlifyNotificationForUserComponent, TechlifyNotificationForUserModule, TechlifyNotificationForUserRoutingModule, TechlifyNotificationModule, TechlifyNotificationRoutingModule, TechlifyNotificationSubscriberFormComponent, TechlifyNotificationSubscriberFormModule, TechlifyNotificationSubscriberListComponent, TechlifyNotificationSubscriberListFilterComponent, TechlifyNotificationSubscriberListFilterModule, TechlifyNotificationSubscriberListModule, TechlifyNotificationSubscriberListRoutingModule, TechlifyNotificationSubscriberModule, TechlifyNotificationSubscriberRoutingModule, TechlifyNotificationSubscriptionEntity, TechlifyNotificationTypeFormComponent, TechlifyNotificationTypeFormModule, TechlifyNotificationTypeListComponent, TechlifyNotificationTypeListModule, TechlifyNotificationTypeListRoutingModule, TechlifyNotificationTypeModule, TechlifyNotificationTypeRoutingModule, TechlifyNotificationUserStatus, TechlifyServiceBaseClass, TechlifyTaggerTagFormConfigModel, TechlifyTaggerTagFormFieldComponent, TechlifyTaggerTagFormFieldModule, TechlifyTaggerTagSelectorComponent, TechlifyTaggerTagSelectorModule, TechlifyUpdateHistoryModule, TechlifyUpdateModule, Timeline, TimelineFilterComponent, TimelineFilterModule, TokenInterceptor, UpdateNotifierComponent, UpdateNotifierModule, UtilityModule, ViewerConfig, calculateTimeline, esfur, estlr, esulr };
|
|
9370
9370
|
//# sourceMappingURL=ngx-techlify-core.mjs.map
|