mmhglobal-dynamicform 2.18.0 → 2.19.0

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.
@@ -787,7 +787,8 @@ class MainService {
787
787
  if (event instanceof NavigationStart) {
788
788
  // Show progress spinner or progress bar
789
789
  console.log(event);
790
- this.toastService?.dismiss();
790
+ this.toastService?.dismissAll();
791
+ this.alertService?.dismissAll();
791
792
  // Reset the routeParam,backNavigationPath and related sessionStorage current page is startup page
792
793
  if (this.getStartupPage() === event.url) {
793
794
  this.resetRouteParam();
@@ -2065,13 +2066,14 @@ class ZGridBindingDirective extends DataBindingDirective {
2065
2066
  constructor(grid, // Injecting GridComponent provides access to the scope and context of the GridComponent.
2066
2067
  webapiService, toastService,
2067
2068
  //private mainService: MainService,
2068
- offlineDatabaseService, signalrService, gridService) {
2069
+ offlineDatabaseService, signalrService, gridService, loggingService) {
2069
2070
  super(grid);
2070
2071
  this.webapiService = webapiService;
2071
2072
  this.toastService = toastService;
2072
2073
  this.offlineDatabaseService = offlineDatabaseService;
2073
2074
  this.signalrService = signalrService;
2074
2075
  this.gridService = gridService;
2076
+ this.loggingService = loggingService;
2075
2077
  this.changeEvent = {
2076
2078
  pageChanged: false,
2077
2079
  filterChanged: false,
@@ -2198,6 +2200,7 @@ class ZGridBindingDirective extends DataBindingDirective {
2198
2200
  columnConfigurations: columnsConfig
2199
2201
  };
2200
2202
  ZComponentHelper.getGridColumns(this.gridSetting);
2203
+ this.loggingService.logToConsoleForDebug('generated grid columns', this.gridSetting);
2201
2204
  this.getFilterParamsColumns();
2202
2205
  this.getFilter();
2203
2206
  this.getFilterParams();
@@ -2872,9 +2875,10 @@ class ZGridBindingDirective extends DataBindingDirective {
2872
2875
  setColumns(columns) {
2873
2876
  this.gridSetting.columnField = columns;
2874
2877
  ZComponentHelper.getGridColumns(this.gridSetting);
2878
+ this.loggingService.logToConsoleForDebug('generated grid columns', this.gridSetting);
2875
2879
  }
2876
2880
  }
2877
- ZGridBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ZGridBindingDirective, deps: [{ token: GridComponent }, { token: i2.WebApiService }, { token: i2.ToastService }, { token: i2.OfflineDatabaseService }, { token: i2.SignalrService }, { token: ZGridService }], target: i0.ɵɵFactoryTarget.Directive });
2881
+ ZGridBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ZGridBindingDirective, deps: [{ token: GridComponent }, { token: i2.WebApiService }, { token: i2.ToastService }, { token: i2.OfflineDatabaseService }, { token: i2.SignalrService }, { token: ZGridService }, { token: i2.LoggingService }], target: i0.ɵɵFactoryTarget.Directive });
2878
2882
  ZGridBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: ZGridBindingDirective, selector: "[zgridbinding]", inputs: { zgridbinding: "zgridbinding" }, usesInheritance: true, ngImport: i0 });
2879
2883
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: ZGridBindingDirective, decorators: [{
2880
2884
  type: Directive,
@@ -2884,7 +2888,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
2884
2888
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2885
2889
  type: Inject,
2886
2890
  args: [GridComponent]
2887
- }] }, { type: i2.WebApiService }, { type: i2.ToastService }, { type: i2.OfflineDatabaseService }, { type: i2.SignalrService }, { type: ZGridService }]; }, propDecorators: { zgridbinding: [{
2891
+ }] }, { type: i2.WebApiService }, { type: i2.ToastService }, { type: i2.OfflineDatabaseService }, { type: i2.SignalrService }, { type: ZGridService }, { type: i2.LoggingService }]; }, propDecorators: { zgridbinding: [{
2888
2892
  type: Input
2889
2893
  }] } });
2890
2894