@esfaenza/admin-module 11.2.16 → 11.2.17

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.
@@ -1711,6 +1711,7 @@
1711
1711
  _super.prototype.set.call(_this, "en->it", "Name", ["Nome"]);
1712
1712
  _super.prototype.set.call(_this, "en->it", "Loading Application Dynamic Views", ["Carico le Viste Dinamiche Applicative"]);
1713
1713
  _super.prototype.set.call(_this, "en->it", "View Name is mandatory for search operations", ["Il nome della vista è obbligatorio per le operazioni di ricerca"]);
1714
+ _super.prototype.set.call(_this, "en->it", "No element found for Dynamic View", ["Nessun elemento trovato per la vista dinamica"]);
1714
1715
  return _this;
1715
1716
  }
1716
1717
  return AdmDynamicViewsLoc;
@@ -1734,7 +1735,6 @@
1734
1735
  this.mod = mod;
1735
1736
  this.searchView = new DynamicViewsView();
1736
1737
  this.Names = [];
1737
- this.searchInProgress = false;
1738
1738
  this.badSearch = false;
1739
1739
  this.currentName = "";
1740
1740
  // Staccato dalla view perché deve essere distrutta e ricreata di continuo
@@ -1788,7 +1788,7 @@
1788
1788
  };
1789
1789
  AdmDynamicViewsComponent.prototype.sendSearch = function (resetPage) {
1790
1790
  if (resetPage === void 0) { resetPage = true; }
1791
- this.searchInProgress = true;
1791
+ this.searchView.searchinprogress = true;
1792
1792
  if (resetPage)
1793
1793
  this.searchView.page = 1;
1794
1794
  this.searchView.filtername = this.filterName;
@@ -1812,7 +1812,7 @@
1812
1812
  }
1813
1813
  this.http.post(url, data).subscribe(function (t) {
1814
1814
  _this.searchView = t;
1815
- _this.searchInProgress = false;
1815
+ _this.searchView.searchinprogress = false;
1816
1816
  _this.localStorage.setItem("HotDinamitato", _this.searchView).subscribe();
1817
1817
  });
1818
1818
  };
@@ -1822,7 +1822,7 @@
1822
1822
  { type: core.Component, args: [{
1823
1823
  selector: "adm_dynamic_views",
1824
1824
  viewProviders: [{ provide: localizations.LocalizationService, useClass: AdmDynamicViewsLoc }],
1825
- template: "<div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"card app-overflow-visible\" widget>\r\n <div class=\"card-header\">\r\n <span class=\"text-uppercase\">{{'Search Application Dynamic Views' | localize : lc}}</span>\r\n </div>\r\n <div class=\"card-body widget-body\">\r\n <div class=\"col-md-12 bottom-15\">\r\n <form role=\"form\">\r\n <div class=\"row app-first-filter-line\">\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\">\r\n <form-select [FormLayout]=\"false\" [Validation]=\"false\" [(ngModel)]=\"filterName\" name=\"filtername\" [Source]=\"Names\" [SelectLabel]=\"'Name' | localize : lc\"></form-select>\r\n </div>\r\n <button class=\"input-group-addon btn app-btn-search app-margin-top-20\" (click)=\"sendSearch()\" type=\"submit\"><i class=\"fa fa-search\"></i></button>\r\n </div>\r\n </form>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div *ngIf=\"badSearch\" class=\"card card-info app-white-text app-padding-10\">{{'View Name is mandatory for search operations' | localize : lc}}</div>\r\n <ng-container *ngIf=\"!badSearch\">\r\n <p *ngIf=\"!searchView\"><em>{{'Loading Application Dynamic Views' | localize : lc}}...</em></p>\r\n <div *ngIf=\"searchView\">\r\n <es-table [(ngModel)]=\"searchView\" [AutoUpdate]=\"true\" [OrderByColumn]=\"true\" (onSearchRequest)=\"sendSearch($event);\"></es-table>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>"
1825
+ template: "<div class=\"row\">\r\n <div class=\"col-12\">\r\n <div class=\"card app-overflow-visible\" widget>\r\n <div class=\"card-header\">\r\n <span class=\"text-uppercase\">{{'Search Application Dynamic Views' | localize : lc}}</span>\r\n </div>\r\n <div class=\"card-body widget-body\">\r\n <div class=\"col-md-12 bottom-15\">\r\n <form role=\"form\">\r\n <div class=\"row app-first-filter-line\">\r\n <div class=\"col-xl-2 col-lg-2 col-md-12 app-filter-wrapper\">\r\n <form-select [FormLayout]=\"false\" [Validation]=\"false\" [(ngModel)]=\"filterName\" name=\"filtername\" [Source]=\"Names\" [SelectLabel]=\"'Name' | localize : lc\"></form-select>\r\n </div>\r\n <button class=\"input-group-addon btn app-btn-search app-margin-top-20\" (click)=\"sendSearch()\" type=\"submit\"><i class=\"fa fa-search\"></i></button>\r\n </div>\r\n </form>\r\n </div>\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <div *ngIf=\"badSearch\" class=\"card card-info app-white-text app-padding-10\">{{'View Name is mandatory for search operations' | localize : lc}}</div>\r\n <ng-container *ngIf=\"!badSearch\">\r\n <p *ngIf=\"!searchView\"><em>{{'Loading Application Dynamic Views' | localize : lc}}...</em></p>\r\n <div *ngIf=\"searchView && searchView.items.length > 0\">\r\n <es-table [(ngModel)]=\"searchView\" [AutoUpdate]=\"true\" [OrderByColumn]=\"true\" (onSearchRequest)=\"sendSearch($event);\"></es-table>\r\n </div>\r\n <div *ngIf=\"searchView && searchView.items.length == 0 && !searchView.searchinprogress\" class=\"card card-info app-white-text app-padding-10\">\r\n {{'No element found for Dynamic View' | localize : lc}}&nbsp;<strong>{{filterName}}</strong>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>"
1826
1826
  },] }
1827
1827
  ];
1828
1828
  AdmDynamicViewsComponent.ctorParameters = function () { return [