@sumaris-net/ngx-components 1.22.4 → 1.22.7

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.
@@ -24829,7 +24829,7 @@
24829
24829
  MenuComponent.decorators = [
24830
24830
  { type: i0.Component, args: [{
24831
24831
  selector: 'app-menu',
24832
- template: "<ion-split-pane #splitPane [contentId]=\"contentId\" (swiperight)=\"onSwipeRight($event)\">\n\n <ion-menu [id]=\"id\" [menuId]=\"menuId\" contentId=\"menu-content\">\n <ion-header>\n\n <ion-toolbar @fadeInAnimation *ngIf=\"isLogin; else notLogin\" class=\"ion-toolbar-top\">\n <ion-grid>\n <ion-row>\n <ion-col size=\"4\">\n <button type=\"button\" mat-flat-button\n class=\"user-avatar\" [class.primary]=\"!accountAvatar\"\n [style.background-image]=\"'url('+(accountAvatar||'./assets/img/person.png')+')'\"\n [routerLink]=\"['/account']\"\n routerDirection=\"root\"\n routerLinkActive=\"ion-color-primary\"\n (click)=\"close()\"\n [title]=\"'MENU.BTN_MY_ACCOUNT'|translate\">\n </button>\n </ion-col>\n <ion-col size=\"8\" class=\"user-logo\">\n <img *ngIf=\"logo\" src=\"{{logo}}\" [title]=\"'APP_NAME'|translate: {appName: appName}\" width=\"108px\"/>\n <span *ngIf=\"!logo\" style=\"width: 108px;\">{{appName}}</span>\n </ion-col>\n </ion-row>\n <ion-row class=\"ion-no-padding\">\n <ion-col>\n <button mat-button type=\"button\"\n [routerLink]=\"['/account']\"\n routerDirection=\"root\"\n routerLinkActive=\"ion-color-primary\"\n (click)=\"close()\"\n [title]=\"'MENU.BTN_MY_ACCOUNT'|translate\">\n <ion-label color=\"primary\" class=\"ion-text-wrap ion-text-start\">\n <h3 class=\"no-margin username\">\n <b>{{accountName}}</b>\n </h3>\n <h4>{{accountEmail}}</h4>\n </ion-label>\n </button>\n </ion-col>\n\n <!-- Insertion slot='header-bottom-right' -->\n <ion-col size=\"auto\">\n <ng-content select=\"[slot=header-bottom-right]\"></ng-content>\n </ion-col>\n </ion-row>\n </ion-grid>\n\n </ion-toolbar>\n\n <!-- User not logged -->\n <ng-template #notLogin>\n <mat-toolbar class=\"ion-padding\" @fadeInAnimation\n style=\"height: unset; display: block; margin: auto; text-align: center;\">\n <img *ngIf=\"logo\" src=\"{{logo}}\" [title]=\"'APP_NAME'|translate: {appName: appName}\" width=\"150px;\">\n <span *ngIf=\"!logo\" style=\"width: 150px\">{{appName}}</span>\n </mat-toolbar>\n </ng-template>\n </ion-header>\n\n <ion-content [class.has-user-header]=\"isLogin\">\n\n <ion-list lines=\"none\">\n <ion-menu-toggle auto-hide=\"false\"\n [class.flex-spacer]=\"item.cssClass == 'flex-spacer'\"\n *ngFor=\"let item of $items | async\">\n\n <!-- link -->\n <ion-item *ngIf=\"!loading && item.path\"\n @fadeInAnimation\n class=\"{{item.cssClass}} {{item.color}} text-1x\"\n tappable\n [routerLink]=\"item.path\"\n routerDirection=\"root\"\n routerLinkActive=\"selected\"\n [routerLinkActiveOptions]=\"{exact: (item.path === '/')}\">\n <ion-icon slot=\"start\" *ngIf=\"item.icon\" [name]=\"item.icon\"></ion-icon>\n <mat-icon slot=\"start\" *ngIf=\"item.matIcon\">{{item.matIcon}}</mat-icon>\n <ion-label translate>{{item.title}}</ion-label>\n </ion-item>\n\n <!-- action -->\n <ion-item *ngIf=\"!loading && item.action\"\n @fadeInAnimation\n class=\"{{item.cssClass}} {{item.color}} text-1x\"\n tappable\n (click)=\"doAction(item.action, $event)\">\n <ion-icon slot=\"start\" *ngIf=\"item.icon\" [name]=\"item.icon\"></ion-icon>\n <mat-icon slot=\"start\" *ngIf=\"item.matIcon\">{{item.matIcon}}</mat-icon>\n <ion-label translate>{{item.title}}</ion-label>\n </ion-item>\n\n <!-- divider -->\n <ion-item-divider @fadeInAnimation\n class=\"{{item.cssClass}} {{item.color}}\"\n *ngIf=\"!loading && !item.path && !item.action\">\n <ion-label translate>{{item.title}}</ion-label>\n </ion-item-divider>\n\n </ion-menu-toggle>\n </ion-list>\n </ion-content>\n\n <ion-footer class=\"hidden-xs hidden-sm\">\n <ion-toolbar>\n\n <ion-buttons slot=\"start\">\n <ion-button mat-icon-button color=\"accent\" (click)=\"openAboutModal($event)\">\n <mat-icon slot=\"icon-only\">help_outline</mat-icon>\n </ion-button>\n </ion-buttons>\n\n <ion-title (click)=\"openAboutModal($event)\" color=\"medium\">\n {{'MENU.FOOTER_VERSION_ABOUT'| translate: {version: appVersion} }}\n </ion-title>\n\n <ion-buttons slot=\"end\">\n <button mat-icon-button color=\"accent\" (click)=\"toggleSplitPaneShow($event)\"\n class=\"hidden-xs hidden-sm hidden-md\"\n [title]=\"(splitPane.when ? 'COMMON.BTN_HIDE_MENU' : 'COMMON.BTN_SHOW_MENU') |translate\">\n <mat-icon><span>{{splitPane.when ? '&#xab;' : '&#xbb;'}}</span></mat-icon>\n </button>\n </ion-buttons>\n </ion-toolbar>\n </ion-footer>\n\n </ion-menu>\n\n <ng-content></ng-content>\n\n</ion-split-pane>\n",
24832
+ template: "<ion-split-pane #splitPane [contentId]=\"contentId\" (swiperight)=\"onSwipeRight($event)\">\n\n <ion-menu [id]=\"id\" [menuId]=\"menuId\" [contentId]=\"contentId\">\n <ion-header>\n\n <ion-toolbar @fadeInAnimation *ngIf=\"isLogin; else notLogin\" class=\"ion-toolbar-top\">\n <ion-grid>\n <ion-row>\n <ion-col size=\"4\">\n <button type=\"button\" mat-flat-button\n class=\"user-avatar\" [class.primary]=\"!accountAvatar\"\n [style.background-image]=\"'url('+(accountAvatar||'./assets/img/person.png')+')'\"\n [routerLink]=\"['/account']\"\n routerDirection=\"root\"\n routerLinkActive=\"ion-color-primary\"\n (click)=\"close()\"\n [title]=\"'MENU.BTN_MY_ACCOUNT'|translate\">\n </button>\n </ion-col>\n <ion-col size=\"8\" class=\"user-logo\">\n <img *ngIf=\"logo\" src=\"{{logo}}\" [title]=\"'APP_NAME'|translate: {appName: appName}\" width=\"108px\"/>\n <span *ngIf=\"!logo\" style=\"width: 108px;\">{{appName}}</span>\n </ion-col>\n </ion-row>\n <ion-row class=\"ion-no-padding\">\n <ion-col>\n <button mat-button type=\"button\"\n [routerLink]=\"['/account']\"\n routerDirection=\"root\"\n routerLinkActive=\"ion-color-primary\"\n (click)=\"close()\"\n [title]=\"'MENU.BTN_MY_ACCOUNT'|translate\">\n <ion-label color=\"primary\" class=\"ion-text-wrap ion-text-start\">\n <h3 class=\"no-margin username\">\n <b>{{accountName}}</b>\n </h3>\n <h4>{{accountEmail}}</h4>\n </ion-label>\n </button>\n </ion-col>\n\n <!-- Insertion slot='header-bottom-right' -->\n <ion-col size=\"auto\">\n <ng-content select=\"[slot=header-bottom-right]\"></ng-content>\n </ion-col>\n </ion-row>\n </ion-grid>\n\n </ion-toolbar>\n\n <!-- User not logged -->\n <ng-template #notLogin>\n <mat-toolbar class=\"ion-padding\" @fadeInAnimation\n style=\"height: unset; display: block; margin: auto; text-align: center;\">\n <img *ngIf=\"logo\" src=\"{{logo}}\" [title]=\"'APP_NAME'|translate: {appName: appName}\" width=\"150px;\">\n <span *ngIf=\"!logo\" style=\"width: 150px\">{{appName}}</span>\n </mat-toolbar>\n </ng-template>\n </ion-header>\n\n <ion-content [class.has-user-header]=\"isLogin\">\n\n <ion-list lines=\"none\">\n <ion-menu-toggle auto-hide=\"false\"\n [class.flex-spacer]=\"item.cssClass == 'flex-spacer'\"\n *ngFor=\"let item of $items | async\">\n\n <!-- link -->\n <ion-item *ngIf=\"!loading && item.path\"\n @fadeInAnimation\n class=\"{{item.cssClass}} {{item.color}} text-1x\"\n tappable\n [routerLink]=\"item.path\"\n routerDirection=\"root\"\n routerLinkActive=\"selected\"\n [routerLinkActiveOptions]=\"{exact: (item.path === '/')}\">\n <ion-icon slot=\"start\" *ngIf=\"item.icon\" [name]=\"item.icon\"></ion-icon>\n <mat-icon slot=\"start\" *ngIf=\"item.matIcon\">{{item.matIcon}}</mat-icon>\n <ion-label translate>{{item.title}}</ion-label>\n </ion-item>\n\n <!-- action -->\n <ion-item *ngIf=\"!loading && item.action\"\n @fadeInAnimation\n class=\"{{item.cssClass}} {{item.color}} text-1x\"\n tappable\n (click)=\"doAction(item.action, $event)\">\n <ion-icon slot=\"start\" *ngIf=\"item.icon\" [name]=\"item.icon\"></ion-icon>\n <mat-icon slot=\"start\" *ngIf=\"item.matIcon\">{{item.matIcon}}</mat-icon>\n <ion-label translate>{{item.title}}</ion-label>\n </ion-item>\n\n <!-- divider -->\n <ion-item-divider @fadeInAnimation\n class=\"{{item.cssClass}} {{item.color}}\"\n *ngIf=\"!loading && !item.path && !item.action\">\n <ion-label translate>{{item.title}}</ion-label>\n </ion-item-divider>\n\n </ion-menu-toggle>\n </ion-list>\n </ion-content>\n\n <ion-footer class=\"hidden-xs hidden-sm\">\n <ion-toolbar>\n\n <ion-buttons slot=\"start\">\n <ion-button mat-icon-button color=\"accent\" (click)=\"openAboutModal($event)\">\n <mat-icon slot=\"icon-only\">help_outline</mat-icon>\n </ion-button>\n </ion-buttons>\n\n <ion-title (click)=\"openAboutModal($event)\" color=\"medium\">\n {{'MENU.FOOTER_VERSION_ABOUT'| translate: {version: appVersion} }}\n </ion-title>\n\n <ion-buttons slot=\"end\">\n <button mat-icon-button color=\"accent\" (click)=\"toggleSplitPaneShow($event)\"\n class=\"hidden-xs hidden-sm hidden-md\"\n [title]=\"(splitPane.when ? 'COMMON.BTN_HIDE_MENU' : 'COMMON.BTN_SHOW_MENU') |translate\">\n <mat-icon><span>{{splitPane.when ? '&#xab;' : '&#xbb;'}}</span></mat-icon>\n </button>\n </ion-buttons>\n </ion-toolbar>\n </ion-footer>\n\n </ion-menu>\n\n <ng-content></ng-content>\n\n</ion-split-pane>\n",
24833
24833
  animations: [fadeInAnimation],
24834
24834
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
24835
24835
  styles: ["ion-menu{--ion-item-background:transparent;--ion-item-divider-background:transparent;--ion-item-icon-color:var(--ion-color-primary-tint);--ion-item-text-color:var(--ion-color-primary-tint);--ion-item-background-selected:var(--ion-color-secondary100);--ion-item-text-color-selected:var(--ion-color-primary);--ion-item-icon-color-selected:var(--ion-color-primary);--ion-item-text-color-disable:var(--ion-color-medium);--ion-item-icon-color-disable:var(--ion-color-medium)}ion-menu ion-header ion-text{color:var(--ion-color-primary)}ion-menu ion-header .user-avatar{background-size:cover;background-repeat:no-repeat;background-position:50%;background-color:var(--ion-color-secondary);border:1px solid var(--ion-color-primary);overflow:hidden!important;font-size:var(--avatar-size,60px)!important;line-height:var(--avatar-size,60px);height:var(--avatar-size,60px)!important;width:var(--avatar-size,60px)!important;border-radius:50%;display:inline-block}ion-menu ion-header .user-avatar:hover{background-color:var(--ion-color-secondary-shade);border:2px solid var(--ion-color-primary-shade)}ion-menu ion-header .user-logo{text-align:right}ion-menu ion-header .user-logo img{max-width:120px;max-height:var(--avatar-size,60px);width:auto}ion-menu ion-header .username{padding-top:0;margin-top:0;margin-bottom:0;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}ion-menu ion-header button[mat-button]{padding:0;text-align:start!important;width:100%}ion-menu .scroll-content{margin-top:79px!important}ion-menu .has-user-header .scroll-content{margin-top:188px!important}ion-menu ion-content.has-profile-header{--offset-top:188px}ion-menu ion-content.no-profile-header{--offset-top:79px}ion-menu ion-content ion-list{min-height:100%;display:flex;flex-direction:column;justify-content:flex-start}ion-menu ion-content ion-list ion-menu-toggle.flex-spacer{flex:1 1 auto;display:flex;flex-direction:column;justify-content:flex-end}ion-menu ion-content ion-list ion-item.primary{--ion-item-icon-color:var(--ion-color-primary-tint);--ion-item-text-color:var(--ion-color-primary-tint)}ion-menu ion-content ion-list ion-item.secondary{--ion-item-icon-color:var(--ion-color-secondary-tint);--ion-item-text-color:var(--ion-color-secondary-tint)}ion-menu ion-content ion-list ion-item.tertiary{--ion-item-icon-color:var(--ion-color-tertiary-tint);--ion-item-text-color:var(--ion-color-tertiary-tint)}ion-menu ion-content ion-list ion-item.danger{--ion-item-icon-color:var(--ion-color-danger-tint);--ion-item-text-color:var(--ion-color-danger-tint)}ion-menu ion-content ion-list ion-item.medium{--ion-item-icon-color:var(--ion-color-medium-shade);--ion-item-text-color:var(--ion-color-medium-shade)}ion-menu ion-content ion-list ion-item.dark{--ion-item-icon-color:var(--ion-color-dark-tint);--ion-item-text-color:var(--ion-color-dark-tint)}ion-menu ion-content ion-list ion-item ion-icon,ion-menu ion-content ion-list ion-item mat-icon{color:var(--ion-item-icon-color)!important;fill:currentColor;stroke:currentColor}ion-menu ion-content ion-list ion-item ion-label,ion-menu ion-content ion-list ion-item ion-text{color:var(--ion-item-text-color)!important}ion-menu ion-content ion-list ion-item.selected{background-color:var(--ion-item-background-selected)!important;--color-hover:var(--ion-item-background-selected)!important}ion-menu ion-content ion-list ion-item.selected ion-icon,ion-menu ion-content ion-list ion-item.selected mat-icon{color:var(--ion-item-icon-color-selected)!important;fill:currentColor;stroke:currentColor}ion-menu ion-content ion-list ion-item.selected ion-label,ion-menu ion-content ion-list ion-item.selected ion-text{color:var(--ion-item-text-color-selected)!important}ion-menu ion-content ion-list ion-item.selected:hover{--color-hover:var(--ion-item-background-selected)!important;--ion-item-icon-color-selected:var(--ion-item-icon-color)!important;--ion-item-text-color-selected:var(--ion-item-text-color)!important}ion-menu ion-footer{display:block!important}ion-menu ion-footer ion-toolbar ion-title{cursor:pointer;font-size:12pt;font-weight:400;text-align:center;padding:0 8px}ion-menu ion-footer ion-toolbar ion-button{--width:40px}@media screen and (max-width:767px){ion-menu ion-footer{display:none!important;visibility:hidden!important}}@media screen and (min-width:768px){ion-menu ion-scroll{overflow-y:auto!important}ion-menu .user-avatar{font-size:var(--avatar-size,80px)!important;line-height:var(--avatar-size,80px);height:var(--avatar-size,80px)!important;width:var(--avatar-size,80px)!important}ion-menu .user-logo img{max-height:var(--avatar-size,80px)}}"]
@@ -30341,7 +30341,7 @@
30341
30341
  var templateObject_1$2, templateObject_2$2;
30342
30342
 
30343
30343
  var moment$6 = momentImported__namespace;
30344
- var UserEventServiceToken = new i0.InjectionToken('UserEventService');
30344
+ var USER_EVENT_SERVICE = new i0.InjectionToken('UserEventService');
30345
30345
  var AbstractUserEventService = /** @class */ (function (_super) {
30346
30346
  __extends(AbstractUserEventService, _super);
30347
30347
  function AbstractUserEventService(graphql, accountService, network, translate, options) {
@@ -30929,7 +30929,7 @@
30929
30929
  };
30930
30930
  var UserEventService = /** @class */ (function (_super) {
30931
30931
  __extends(UserEventService, _super);
30932
- function UserEventService(graphql, accountService, network, translate, toastController, environment) {
30932
+ function UserEventService(graphql, accountService, network, translate, environment) {
30933
30933
  var _this = _super.call(this, graphql, accountService, network, translate, {
30934
30934
  queries: userEventQueries,
30935
30935
  mutations: userEventMutations,
@@ -30939,89 +30939,9 @@
30939
30939
  _this.accountService = accountService;
30940
30940
  _this.network = network;
30941
30941
  _this.translate = translate;
30942
- _this.toastController = toastController;
30943
30942
  _this.environment = environment;
30944
30943
  return _this;
30945
30944
  }
30946
- UserEventService.prototype.showToastErrorWithContext = function (opts) {
30947
- return __awaiter(this, void 0, void 0, function () {
30948
- var message, res, context, userEvent, err_1;
30949
- return __generator(this, function (_b) {
30950
- switch (_b.label) {
30951
- case 0:
30952
- message = opts.message || (opts.error && opts.error.message || opts.error);
30953
- // Make sure message a string
30954
- if (!message || typeof message !== 'string') {
30955
- message = 'ERROR.UNKNOWN_TECHNICAL_ERROR';
30956
- }
30957
- // If offline, display a simple alert
30958
- if (this.network.offline) {
30959
- this.showToast({ message: message, type: 'error' });
30960
- return [2 /*return*/];
30961
- }
30962
- // Translate the message (to be able to extract details content)
30963
- message = this.translate.instant(message);
30964
- // Clean details parts
30965
- if (message && message.indexOf('<small>') !== -1) {
30966
- message = message.substr(0, message.indexOf('<small>') - 1);
30967
- }
30968
- return [4 /*yield*/, this.showToast({
30969
- type: 'error',
30970
- duration: 15000,
30971
- message: message + '<br/><br/><b>' + this.translate.instant('CONFIRM.SEND_DEBUG_DATA') + '</b>',
30972
- buttons: [{
30973
- icon: 'bug',
30974
- text: this.translate.instant('COMMON.BTN_SEND'),
30975
- role: 'send'
30976
- }]
30977
- })];
30978
- case 1:
30979
- res = _b.sent();
30980
- if (!res || res.role !== 'send')
30981
- return [2 /*return*/];
30982
- _b.label = 2;
30983
- case 2:
30984
- _b.trys.push([2, 6, , 7]);
30985
- if (this._debug)
30986
- console.debug('Sending debug data...');
30987
- context = opts && opts.context;
30988
- if (typeof context === 'function') {
30989
- context = context();
30990
- }
30991
- if (!(context instanceof Promise)) return [3 /*break*/, 4];
30992
- return [4 /*yield*/, context];
30993
- case 3:
30994
- context = _b.sent();
30995
- _b.label = 4;
30996
- case 4: return [4 /*yield*/, this.sendDataForDebug({
30997
- message: message,
30998
- error: opts.error || undefined,
30999
- context: this.convertObjectToString(context)
31000
- })];
31001
- case 5:
31002
- userEvent = _b.sent();
31003
- console.info('Debug data successfully sent to admin', userEvent);
31004
- this.showToast({
31005
- type: 'info',
31006
- message: 'INFO.DEBUG_DATA_SEND',
31007
- showCloseButton: true
31008
- });
31009
- return [3 /*break*/, 7];
31010
- case 6:
31011
- err_1 = _b.sent();
31012
- console.error('Error while sending debug data:', err_1);
31013
- return [3 /*break*/, 7];
31014
- case 7: return [2 /*return*/];
31015
- }
31016
- });
31017
- });
31018
- };
31019
- UserEventService.prototype.sendDataForDebug = function (data) {
31020
- var userEvent = new exports.UserEvent();
31021
- userEvent.type = UserEventTypes.DEBUG_DATA;
31022
- userEvent.content = this.convertObjectToString(data);
31023
- return this.save(userEvent);
31024
- };
31025
30945
  UserEventService.prototype.asFilter = function (filter) {
31026
30946
  return exports.UserEventFilter.fromObject(filter);
31027
30947
  };
@@ -31029,33 +30949,6 @@
31029
30949
  return exports.UserEvent.fromObject(source);
31030
30950
  };
31031
30951
  /* -- protected methods -- */
31032
- UserEventService.prototype.convertObjectToString = function (data) {
31033
- if (typeof data === 'string') {
31034
- return data;
31035
- }
31036
- // Serialize content into string
31037
- else if (typeof data === 'object') {
31038
- if (data instanceof Entity) {
31039
- return JSON.stringify(data.asObject({ keepTypename: true, keepLocalId: true, minify: false }));
31040
- }
31041
- else {
31042
- return JSON.stringify(data);
31043
- }
31044
- }
31045
- };
31046
- UserEventService.prototype.showToast = function (opts) {
31047
- return __awaiter(this, void 0, void 0, function () {
31048
- return __generator(this, function (_b) {
31049
- switch (_b.label) {
31050
- case 0:
31051
- if (!this.toastController)
31052
- throw new Error('Missing toastController in component\'s constructor');
31053
- return [4 /*yield*/, Toasts.show(this.toastController, this.translate, opts)];
31054
- case 1: return [2 /*return*/, _b.sent()];
31055
- }
31056
- });
31057
- });
31058
- };
31059
30952
  UserEventService.prototype.fillDefaultProperties = function (entity) {
31060
30953
  entity.issuer = this.accountService.account.pubkey;
31061
30954
  // TODO: compute hash (using cryptoService)
@@ -31072,7 +30965,6 @@
31072
30965
  { type: AccountService },
31073
30966
  { type: NetworkService },
31074
30967
  { type: i1$2.TranslateService },
31075
- { type: i1$5.ToastController },
31076
30968
  { type: Environment, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [ENVIRONMENT,] }] }
31077
30969
  ]; };
31078
30970
  var templateObject_1$3, templateObject_2$3, templateObject_3$2, templateObject_4$2;
@@ -31235,7 +31127,7 @@
31235
31127
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
31236
31128
  providers: [
31237
31129
  {
31238
- provide: UserEventServiceToken, useClass: UserEventService
31130
+ provide: USER_EVENT_SERVICE, useClass: UserEventService
31239
31131
  }
31240
31132
  ],
31241
31133
  styles: [".mat-header-row .mat-column-icon,.mat-row .mat-column-icon{max-width:40px;padding-left:0}.mat-header-row .mat-column-icon ion-icon,.mat-header-row .mat-column-icon mat-icon,.mat-row .mat-column-icon ion-icon,.mat-row .mat-column-icon mat-icon{font-size:1.2em;height:1.2em;width:1.2em}.mat-header-row .mat-column-creationDate,.mat-row .mat-column-creationDate{min-width:100px;max-width:120px}"]
@@ -31244,7 +31136,7 @@
31244
31136
  UserEventsTable.ctorParameters = function () { return [
31245
31137
  { type: i0.Injector },
31246
31138
  { type: AccountService },
31247
- { type: undefined, decorators: [{ type: i0.Inject, args: [UserEventServiceToken,] }] },
31139
+ { type: undefined, decorators: [{ type: i0.Inject, args: [USER_EVENT_SERVICE,] }] },
31248
31140
  { type: EntitiesStorage },
31249
31141
  { type: i0.ChangeDetectorRef },
31250
31142
  { type: undefined, decorators: [{ type: i0.Inject, args: [ENVIRONMENT,] }] }
@@ -31323,7 +31215,7 @@
31323
31215
  UserEventNotificationList.ctorParameters = function () { return [
31324
31216
  { type: i0.ChangeDetectorRef },
31325
31217
  { type: i1$5.PopoverController },
31326
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [UserEventServiceToken,] }] }
31218
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [USER_EVENT_SERVICE,] }] }
31327
31219
  ]; };
31328
31220
  UserEventNotificationList.propDecorators = {
31329
31221
  debug: [{ type: i0.Input }],
@@ -31429,7 +31321,7 @@
31429
31321
  },] }
31430
31322
  ];
31431
31323
  UserEventNotificationComponent.ctorParameters = function () { return [
31432
- { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [UserEventServiceToken,] }] },
31324
+ { type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [USER_EVENT_SERVICE,] }] },
31433
31325
  { type: AccountService },
31434
31326
  { type: i1$5.PopoverController }
31435
31327
  ]; };
@@ -31561,7 +31453,7 @@
31561
31453
  UserEventNotificationComponent
31562
31454
  ],
31563
31455
  providers: [
31564
- { provide: UserEventServiceToken, useClass: UserEventTestService }
31456
+ { provide: USER_EVENT_SERVICE, useClass: UserEventTestService }
31565
31457
  ]
31566
31458
  },] }
31567
31459
  ];
@@ -34571,6 +34463,7 @@
34571
34463
  exports.TranslatablePipe = TranslatablePipe;
34572
34464
  exports.TranslateContextPipe = TranslateContextPipe;
34573
34465
  exports.TranslateContextService = TranslateContextService;
34466
+ exports.USER_EVENT_SERVICE = USER_EVENT_SERVICE;
34574
34467
  exports.UploadFile = UploadFile;
34575
34468
  exports.UploadFileComponent = UploadFileComponent;
34576
34469
  exports.UploadFilePopover = UploadFilePopover;
@@ -34581,7 +34474,6 @@
34581
34474
  exports.UserEventModule = UserEventModule;
34582
34475
  exports.UserEventNotificationComponent = UserEventNotificationComponent;
34583
34476
  exports.UserEventService = UserEventService;
34584
- exports.UserEventServiceToken = UserEventServiceToken;
34585
34477
  exports.UserEventTypes = UserEventTypes;
34586
34478
  exports.UserEventsTable = UserEventsTable;
34587
34479
  exports.UsersPage = UsersPage;