@fluxhub/fluxhub-lib 11.0.143 → 11.0.145

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.
@@ -19759,12 +19759,7 @@
19759
19759
  this.rowData = [];
19760
19760
  this.selectAll = true;
19761
19761
  this.selectNumber = 0;
19762
- this.gridOptions = {
19763
- debug: false,
19764
- rowMultiSelectWithClick: true,
19765
- enableRangeSelection: false,
19766
- defaultColDef: { resizable: true, sortable: true, floatingFilter: true }
19767
- };
19762
+ this.gridOptions = {};
19768
19763
  console.log("🚀 ~ file: win_grid_selection.ts:135 ~ fh_win_grid_selection ~ data:", data);
19769
19764
  if (data) {
19770
19765
  if (data.columnDefs)
@@ -19777,6 +19772,13 @@
19777
19772
  this.selectAll = false;
19778
19773
  console.log("🚀 ~ file: win_grid_selection.ts:144 ~ fh_win_grid_selection ~ this.selectAll: --> ", (data.selectAll), (data.selectAll || true), this.selectAll);
19779
19774
  }
19775
+ this.gridOptions = {
19776
+ debug: false,
19777
+ rowMultiSelectWithClick: true,
19778
+ enableRangeSelection: false,
19779
+ defaultColDef: { resizable: true, sortable: true, floatingFilter: true },
19780
+ rowSelection: 'multiple'
19781
+ };
19780
19782
  }
19781
19783
  fh_win_grid_selection.prototype.ngAfterViewInit = function () {
19782
19784
  this.fitSizeAll();
@@ -19832,7 +19834,7 @@
19832
19834
  fh_win_grid_selection.decorators = [
19833
19835
  { type: i0.Component, args: [{
19834
19836
  providers: [FHCurrencyPipe],
19835
- template: "\n <div fxLayout=\"column\">\n <div fxFlex=\"100\" fxLayout=\"row\" class=\"dialog_header\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" style=\"width:50%\">\n {{ title }}\n </div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"dialogRef.close(null)\"\n />\n </div>\n </div>\n <hr style=\"width:100%;size:0.5;color:#DDDDDD\" />\n\n <mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"10px\">\n <div\n style=\"width: 100%;\"\n [style.height]=\"m_AppService.getState().body_h - 350 + 'px'\"\n >\n <div style=\"width: 100%; height: 100%;\">\n <ag-grid-angular\n #dtm\n [rowMultiSelectWithClick]=\"true\"\n class=\"ag-theme-balham\"\n style=\"width: 100%; height: 100%;\"\n [gridOptions]=\"gridOptions\"\n [columnDefs]=\"columnDefs\"\n [rowData]=\"rowData\"\n (gridReady)=\"onReady($event)\"\n (selectionChanged)=\"onSelectionChanged($event)\"\n >\n </ag-grid-angular>\n </div>\n </div>\n </div>\n </mat-dialog-content>\n <mat-dialog-actions>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"10px\"\n fxLayoutAlign=\"center center\"\n fxFlex\n style=\"width:100%\"\n >\n <button\n mat-flat-button\n color=\"primary\"\n [disabled]=\"ck_sel()\"\n (click)=\"ok()\"\n >\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OK ({{selectNumber}})&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n </button>\n <button mat-flat-button color=\"warn\" (click)=\"dialogRef.close(null)\">\n ANNULLA\n </button>\n </div>\n </mat-dialog-actions>\n </div>\n "
19837
+ template: "\n <div fxLayout=\"column\">\n <div fxFlex=\"100\" fxLayout=\"row\" class=\"dialog_header\">\n <div fxLayout=\"row\" fxLayoutAlign=\"start center\" style=\"width:50%\">\n {{ title }}\n </div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"dialogRef.close(null)\"\n />\n </div>\n </div>\n <hr style=\"width:100%;size:0.5;color:#DDDDDD\" />\n\n <mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"10px\">\n <div\n style=\"width: 100%;\"\n [style.height]=\"m_AppService.getState().body_h - 450 + 'px'\"\n >\n <div style=\"width: 100%; height: 100%;\">\n <ag-grid-angular\n #dtm\n [rowMultiSelectWithClick]=\"true\"\n class=\"ag-theme-balham\"\n style=\"width: 100%; height: 100%;\"\n [gridOptions]=\"gridOptions\"\n [columnDefs]=\"columnDefs\"\n [rowData]=\"rowData\"\n (gridReady)=\"onReady($event)\"\n [rowSelection]=\"'multiple'\"\n (selectionChanged)=\"onSelectionChanged($event)\"\n >\n </ag-grid-angular>\n </div>\n </div>\n </div>\n </mat-dialog-content>\n <mat-dialog-actions>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"10px\"\n fxLayoutAlign=\"center center\"\n fxFlex\n style=\"width:100%\"\n >\n <button\n mat-flat-button\n color=\"primary\"\n [disabled]=\"ck_sel()\"\n (click)=\"ok()\"\n >\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OK ({{selectNumber}})&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n </button>\n <button mat-flat-button color=\"warn\" (click)=\"dialogRef.close(null)\">\n ANNULLA\n </button>\n </div>\n </mat-dialog-actions>\n </div>\n "
19836
19838
  },] }
19837
19839
  ];
19838
19840
  fh_win_grid_selection.ctorParameters = function () { return [