ets-fe-ng-sdk 19.0.39 → 19.0.41

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.
@@ -1306,7 +1306,7 @@ class UserActivityService {
1306
1306
  this.activities = signal([]);
1307
1307
  this.allowLogging = computed(() => environment.production || environment.logActivities);
1308
1308
  this.newActivity
1309
- .pipe(filter(() => this.allowLogging() && this.activities()?.length > 0), debounceTime(1000))
1309
+ .pipe(filter(() => this.allowLogging() && this.activities()?.length > 0 && !!environment.token), debounceTime(1000))
1310
1310
  .subscribe(() => {
1311
1311
  const activities = clone(this.activities());
1312
1312
  this.activities.set([]);
@@ -8732,24 +8732,24 @@ class ModalComponent {
8732
8732
  .subscribe((r) => {
8733
8733
  this.cdr.detectChanges();
8734
8734
  this.isOpened.set(false);
8735
- this.modalClose.emit(true);
8735
+ this.modalClose.emit(r);
8736
8736
  });
8737
8737
  this.cdr.detectChanges();
8738
8738
  }
8739
- close() {
8739
+ close(value) {
8740
8740
  // debugger;
8741
8741
  if (!this.isOpened())
8742
8742
  return;
8743
- this.dialogRef()?.close();
8743
+ this.dialogRef()?.close(value);
8744
8744
  this.isOpened.set(false);
8745
8745
  this.cdr.detectChanges();
8746
8746
  }
8747
8747
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: ModalComponent, deps: [{ token: UtilityService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
8748
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.1", type: ModalComponent, isStandalone: true, selector: "modal-comp", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, bodyTemplateRef: { classPropertyName: "bodyTemplateRef", publicName: "bodyTemplateRef", isSignal: false, isRequired: false, transformFunction: null }, footerTemplateRef: { classPropertyName: "footerTemplateRef", publicName: "footerTemplateRef", isSignal: false, isRequired: false, transformFunction: null }, showHeader: { classPropertyName: "showHeader", publicName: "showHeader", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, _isFullscreen: { classPropertyName: "_isFullscreen", publicName: "isFullscreen", isSignal: false, isRequired: false, transformFunction: null }, showFooter: { classPropertyName: "showFooter", publicName: "showFooter", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: false, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: false, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: false, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: false, isRequired: false, transformFunction: null }, disableClose: { classPropertyName: "disableClose", publicName: "disableClose", isSignal: false, isRequired: false, transformFunction: null }, hasBackdrop: { classPropertyName: "hasBackdrop", publicName: "hasBackdrop", isSignal: false, isRequired: false, transformFunction: null }, baseConfig: { classPropertyName: "baseConfig", publicName: "baseConfig", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { header: "headerChange", showHeader: "showHeaderChange", mouseLeft: "mouseLeft", loading: "loadingChange", showFooter: "showFooterChange", modalOpen: "modalOpen", modalClose: "modalClose" }, queries: [{ propertyName: "bodyTemplate", first: true, predicate: ModalBodyDirective, descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ModalFooterDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "tempRef", first: true, predicate: ["temp"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #temp>\n <loader [loading]=\"loading()\" [height]=\"cont.offsetHeight\" #loader>\n <div #cont class=\"h-100 modal-comp\" (mouseleave)=\"mouseLeft.emit($event)\"> \n @if (showHeader()) {\n <modal-header [header]=\"header() | trim\" [dialogRef]=\"dialogRef()\" />\n }\n <div\n mat-dialog-content\n class=\"{{ isFullscreen() ? 'p-0' : 'mt-2 px-0 pb-2 pt-0' }} overflow-x-hidden {{\n showFooter() ? '' : 'noFooter h-100'\n }} \">\n <ng-content select=\"[body]\"></ng-content>\n @if (isLoaded()) {\n <ng-container [ngTemplateOutlet]=\"bodyTemplate()?.templateRef\" />\n }\n </div>\n @if (showFooter()) {\n <div mat-dialog-actions class=\"justify-content-end\">\n <ng-content select=\"[footer]\"></ng-content>\n @if (isOpened()) {\n <ng-container [ngTemplateOutlet]=\"footerTemplate()?.templateRef\" />\n }\n </div>\n }\n </div>\n </loader>\n\n <!-- wdwwd -->\n</ng-template>\n", styles: ["::ng-deep .mat-mdc-dialog-content{max-height:100%}::ng-deep .modal-comp{display:flex;flex-direction:column}::ng-deep .loading-content-container{height:100%}\n"], dependencies: [{ kind: "component", type: LoaderComponent, selector: "loader", inputs: ["class", "text", "loading", "height", "width", "useStaticLoader", "ratioHW"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ModalHeaderComponent, selector: "modal-header", inputs: ["dialogRef", "header", "onCloseValue"], outputs: ["close"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "pipe", type: TrimPipe, name: "trim" }] }); }
8748
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.1.1", type: ModalComponent, isStandalone: true, selector: "modal-comp", inputs: { header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, bodyTemplateRef: { classPropertyName: "bodyTemplateRef", publicName: "bodyTemplateRef", isSignal: false, isRequired: false, transformFunction: null }, footerTemplateRef: { classPropertyName: "footerTemplateRef", publicName: "footerTemplateRef", isSignal: false, isRequired: false, transformFunction: null }, showHeader: { classPropertyName: "showHeader", publicName: "showHeader", isSignal: true, isRequired: false, transformFunction: null }, loading: { classPropertyName: "loading", publicName: "loading", isSignal: true, isRequired: false, transformFunction: null }, _isFullscreen: { classPropertyName: "_isFullscreen", publicName: "isFullscreen", isSignal: false, isRequired: false, transformFunction: null }, showFooter: { classPropertyName: "showFooter", publicName: "showFooter", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: false, isRequired: false, transformFunction: null }, minWidth: { classPropertyName: "minWidth", publicName: "minWidth", isSignal: false, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: false, isRequired: false, transformFunction: null }, maxHeight: { classPropertyName: "maxHeight", publicName: "maxHeight", isSignal: false, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: false, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: false, isRequired: false, transformFunction: null }, disableClose: { classPropertyName: "disableClose", publicName: "disableClose", isSignal: false, isRequired: false, transformFunction: null }, hasBackdrop: { classPropertyName: "hasBackdrop", publicName: "hasBackdrop", isSignal: false, isRequired: false, transformFunction: null }, baseConfig: { classPropertyName: "baseConfig", publicName: "baseConfig", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { header: "headerChange", showHeader: "showHeaderChange", mouseLeft: "mouseLeft", loading: "loadingChange", showFooter: "showFooterChange", modalOpen: "modalOpen", modalClose: "modalClose" }, queries: [{ propertyName: "bodyTemplate", first: true, predicate: ModalBodyDirective, descendants: true, isSignal: true }, { propertyName: "footerTemplate", first: true, predicate: ModalFooterDirective, descendants: true, isSignal: true }], viewQueries: [{ propertyName: "tempRef", first: true, predicate: ["temp"], descendants: true, isSignal: true }], ngImport: i0, template: "<ng-template #temp>\n <loader [loading]=\"loading()\" [height]=\"cont.offsetHeight\" #loader>\n <div #cont class=\"h-100 modal-comp\" (mouseleave)=\"mouseLeft.emit($event)\"> \n @if (showHeader()) {\n <modal-header [header]=\"header() | trim\" [dialogRef]=\"dialogRef()\" [onCloseValue]=\"false\" />\n }\n <div\n mat-dialog-content\n class=\"{{ isFullscreen() ? 'p-0' : 'mt-2 px-0 pb-2 pt-0' }} overflow-x-hidden {{\n showFooter() ? '' : 'noFooter h-100'\n }} \">\n <ng-content select=\"[body]\"></ng-content>\n @if (isLoaded()) {\n <ng-container [ngTemplateOutlet]=\"bodyTemplate()?.templateRef\" />\n }\n </div>\n @if (showFooter()) {\n <div mat-dialog-actions class=\"justify-content-end\">\n <ng-content select=\"[footer]\"></ng-content>\n @if (isOpened()) {\n <ng-container [ngTemplateOutlet]=\"footerTemplate()?.templateRef\" />\n }\n </div>\n }\n </div>\n </loader>\n\n <!-- wdwwd -->\n</ng-template>\n", styles: ["::ng-deep .mat-mdc-dialog-content{max-height:100%}::ng-deep .modal-comp{display:flex;flex-direction:column}::ng-deep .loading-content-container{height:100%}\n"], dependencies: [{ kind: "component", type: LoaderComponent, selector: "loader", inputs: ["class", "text", "loading", "height", "width", "useStaticLoader", "ratioHW"] }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ModalHeaderComponent, selector: "modal-header", inputs: ["dialogRef", "header", "onCloseValue"], outputs: ["close"] }, { kind: "ngmodule", type: MatDialogModule }, { kind: "directive", type: i1$1.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i1$1.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "pipe", type: TrimPipe, name: "trim" }] }); }
8749
8749
  }
8750
8750
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.1.1", ngImport: i0, type: ModalComponent, decorators: [{
8751
8751
  type: Component,
8752
- args: [{ selector: 'modal-comp', imports: [LoaderComponent, CommonModule, ModalHeaderComponent, MatDialogModule, TrimPipe], template: "<ng-template #temp>\n <loader [loading]=\"loading()\" [height]=\"cont.offsetHeight\" #loader>\n <div #cont class=\"h-100 modal-comp\" (mouseleave)=\"mouseLeft.emit($event)\"> \n @if (showHeader()) {\n <modal-header [header]=\"header() | trim\" [dialogRef]=\"dialogRef()\" />\n }\n <div\n mat-dialog-content\n class=\"{{ isFullscreen() ? 'p-0' : 'mt-2 px-0 pb-2 pt-0' }} overflow-x-hidden {{\n showFooter() ? '' : 'noFooter h-100'\n }} \">\n <ng-content select=\"[body]\"></ng-content>\n @if (isLoaded()) {\n <ng-container [ngTemplateOutlet]=\"bodyTemplate()?.templateRef\" />\n }\n </div>\n @if (showFooter()) {\n <div mat-dialog-actions class=\"justify-content-end\">\n <ng-content select=\"[footer]\"></ng-content>\n @if (isOpened()) {\n <ng-container [ngTemplateOutlet]=\"footerTemplate()?.templateRef\" />\n }\n </div>\n }\n </div>\n </loader>\n\n <!-- wdwwd -->\n</ng-template>\n", styles: ["::ng-deep .mat-mdc-dialog-content{max-height:100%}::ng-deep .modal-comp{display:flex;flex-direction:column}::ng-deep .loading-content-container{height:100%}\n"] }]
8752
+ args: [{ selector: 'modal-comp', imports: [LoaderComponent, CommonModule, ModalHeaderComponent, MatDialogModule, TrimPipe], template: "<ng-template #temp>\n <loader [loading]=\"loading()\" [height]=\"cont.offsetHeight\" #loader>\n <div #cont class=\"h-100 modal-comp\" (mouseleave)=\"mouseLeft.emit($event)\"> \n @if (showHeader()) {\n <modal-header [header]=\"header() | trim\" [dialogRef]=\"dialogRef()\" [onCloseValue]=\"false\" />\n }\n <div\n mat-dialog-content\n class=\"{{ isFullscreen() ? 'p-0' : 'mt-2 px-0 pb-2 pt-0' }} overflow-x-hidden {{\n showFooter() ? '' : 'noFooter h-100'\n }} \">\n <ng-content select=\"[body]\"></ng-content>\n @if (isLoaded()) {\n <ng-container [ngTemplateOutlet]=\"bodyTemplate()?.templateRef\" />\n }\n </div>\n @if (showFooter()) {\n <div mat-dialog-actions class=\"justify-content-end\">\n <ng-content select=\"[footer]\"></ng-content>\n @if (isOpened()) {\n <ng-container [ngTemplateOutlet]=\"footerTemplate()?.templateRef\" />\n }\n </div>\n }\n </div>\n </loader>\n\n <!-- wdwwd -->\n</ng-template>\n", styles: ["::ng-deep .mat-mdc-dialog-content{max-height:100%}::ng-deep .modal-comp{display:flex;flex-direction:column}::ng-deep .loading-content-container{height:100%}\n"] }]
8753
8753
  }], ctorParameters: () => [{ type: UtilityService }, { type: i0.ChangeDetectorRef }], propDecorators: { bodyTemplateRef: [{
8754
8754
  type: Input
8755
8755
  }], footerTemplateRef: [{