@fluxhub/fluxhub-lib 1.0.175 → 1.0.177

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.
@@ -352,6 +352,12 @@
352
352
  <span class="modifier">Public</span>
353
353
  <a href="#selectCount">selectCount</a>
354
354
  </li>
355
+ <li>
356
+ <a href="#setAutoHeight">setAutoHeight</a>
357
+ </li>
358
+ <li>
359
+ <a href="#setFixHeight">setFixHeight</a>
360
+ </li>
355
361
  <li>
356
362
  <span class="modifier">Public</span>
357
363
  <a href="#setHeaderHeight">setHeaderHeight</a>
@@ -3042,6 +3048,72 @@
3042
3048
  </tr>
3043
3049
  </tbody>
3044
3050
  </table>
3051
+ <table class="table table-sm table-bordered">
3052
+ <tbody>
3053
+ <tr>
3054
+ <td class="col-md-4">
3055
+ <a name="setAutoHeight"></a>
3056
+ <span class="name">
3057
+ <b>
3058
+ setAutoHeight
3059
+ </b>
3060
+ <a href="#setAutoHeight"><span class="icon ion-ios-link"></span></a>
3061
+ </span>
3062
+ </td>
3063
+ </tr>
3064
+ <tr>
3065
+ <td class="col-md-4">
3066
+ <code>setAutoHeight()</code>
3067
+ </td>
3068
+ </tr>
3069
+
3070
+
3071
+
3072
+
3073
+ <tr>
3074
+ <td class="col-md-4">
3075
+
3076
+ <div class="io-description">
3077
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
3078
+
3079
+ </div>
3080
+ </td>
3081
+ </tr>
3082
+ </tbody>
3083
+ </table>
3084
+ <table class="table table-sm table-bordered">
3085
+ <tbody>
3086
+ <tr>
3087
+ <td class="col-md-4">
3088
+ <a name="setFixHeight"></a>
3089
+ <span class="name">
3090
+ <b>
3091
+ setFixHeight
3092
+ </b>
3093
+ <a href="#setFixHeight"><span class="icon ion-ios-link"></span></a>
3094
+ </span>
3095
+ </td>
3096
+ </tr>
3097
+ <tr>
3098
+ <td class="col-md-4">
3099
+ <code>setFixHeight()</code>
3100
+ </td>
3101
+ </tr>
3102
+
3103
+
3104
+
3105
+
3106
+ <tr>
3107
+ <td class="col-md-4">
3108
+
3109
+ <div class="io-description">
3110
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
3111
+
3112
+ </div>
3113
+ </td>
3114
+ </tr>
3115
+ </tbody>
3116
+ </table>
3045
3117
  <table class="table table-sm table-bordered">
3046
3118
  <tbody>
3047
3119
  <tr>
@@ -3478,7 +3550,7 @@
3478
3550
  this.slimLoadingBarService.start(() &#x3D;&gt; {
3479
3551
  });
3480
3552
 
3481
- var p: QGParam &#x3D; new QGParam();
3553
+ let p: QGParam &#x3D; new QGParam();
3482
3554
  p.table &#x3D; this.tbl_name;
3483
3555
  p.table_count &#x3D; this.tbl_name;
3484
3556
  if (this.count_tbl_name !&#x3D; &#x27;&#x27;)
@@ -3510,7 +3582,7 @@
3510
3582
 
3511
3583
  p.system_dest &#x3D; this.system_dest;
3512
3584
  p.field &#x3D; this.fields;
3513
- // console.log( p.field );
3585
+ console.log( &#x27;p &#x27;,p);
3514
3586
  if (this.filters !&#x3D; null)
3515
3587
  p.filter &#x3D; this.filters;
3516
3588
 
@@ -3527,7 +3599,9 @@
3527
3599
  //console.log(params.filterModel);
3528
3600
  if (params.filterModel !&#x3D; null) {
3529
3601
  // console.log(&#x27;Filtri&#x27;);
3530
- for (let key in params.filterModel) {
3602
+ console.log( &#x27;params.filterModel &#x27;,params.filterModel);
3603
+
3604
+ for (let key in params.filterModel) {
3531
3605
  // console.log(key);
3532
3606
  // if (p.hasOwnProperty(key)) {
3533
3607
  // console.log( params.filterModel[key]);
@@ -3582,10 +3656,12 @@
3582
3656
  } else {
3583
3657
  // if(params.filterModel[key].length&gt;0)p.filter&#x3D; p.filter+&#x27; and &#x27;;
3584
3658
  let sq: String &#x3D; &quot;&quot;;
3585
- for (let i: number &#x3D; 0; i &lt; params.filterModel[key].length; i++)
3586
- if (params.filterModel[key][i] !&#x3D; null) {
3659
+ console.log(params.filterModel[key].values);
3660
+ if(params.filterModel[key].values!&#x3D;null)
3661
+ for (let i: number &#x3D; 0; i &lt; params.filterModel[key].values.length; i++)
3662
+ if (params.filterModel[key].values[i] !&#x3D; null) {
3587
3663
  if (sq !&#x3D; &quot;&quot;) sq &#x3D; sq + &#x27;,&#x27;;
3588
- sq &#x3D; sq + &#x27;\&#x27;&#x27; + params.filterModel[key][i].replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;) + &#x27;\&#x27;&#x27;;
3664
+ sq &#x3D; sq + &#x27;\&#x27;&#x27; + params.filterModel[key].values[i].replace(&#x27;\&#x27;&#x27;, &#x27;\&#x27;\&#x27;&#x27;) + &#x27;\&#x27;&#x27;;
3589
3665
  }
3590
3666
  if (sq !&#x3D; &#x27;&#x27;) {
3591
3667
  b_filter&#x3D;true;
@@ -3872,7 +3948,7 @@
3872
3948
 
3873
3949
  rowSelection: &#x27;multiple&#x27;,
3874
3950
  rowDeselection: false,
3875
- getContextMenuItems: () &#x3D;&gt; this.getContextMenuItems(),
3951
+ // getContextMenuItems: () &#x3D;&gt; this.getContextMenuItems(),
3876
3952
  allowContextMenuWithControlKey: true,
3877
3953
  rowModelType: &#x27;infinite&#x27;,
3878
3954
 
@@ -4348,7 +4424,7 @@
4348
4424
  <script src="../js/libs/htmlparser.js"></script>
4349
4425
  <script src="../js/libs/deep-iterator.js"></script>
4350
4426
  <script>
4351
- var COMPONENT_TEMPLATE = '<div><div fxLayout="column" fxLayoutAlign="stretch" fxFlexFill> <div fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="start center" style="min-height: 55px" [hidden]="!show_buttons"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div> <h5>{{num_r}}&nbsp;{{label_elementi}}</h5> </div> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input matInput [placeholder]="trova_label" (keydown)="keyDownFunctioncl($event)" [(ngModel)]="ric_libera" style="min-width:100px;max-width:180px;border:1px solid;min-height:30px"> <div matTooltip="REMOVE FILTER" matTooltipPosition="above" *ngIf="show_pulisci_filtri" > <button mat-raised-button (click)="pulisci_filtri()" color="warn"> <mat-icon>filter_none</mat-icon>&nbsp; </button> </div> <div fxHide fxShow.gt-sm matTooltip="AUTO SIZE" matTooltipPosition="above"> <button mat-raised-button (click)="autoSizeAll()" color="accent" *ngIf="show_buttons"> <mat-icon>photo_size_select_small</mat-icon> </button> </div> <div fxHide fxShow.gt-sm matTooltip="FIT SIZE" matTooltipPosition="above"> <button mat-raised-button (click)="fitSizeAll()" color="accent" *ngIf="show_buttons"> <mat-icon>aspect_ratio</mat-icon> </button> </div> <FHComboBox fxHide fxShow.gt-sm [hidden]=\'!show_buttons\' (selchange)="ch_config()" (fillend)="fe_cfg()" #gf init_fill="false"></FHComboBox> <div matTooltip="Modifica Preferenza" matTooltipPosition="above" *ngIf="curr_config!=\'-1\'"> <button mat-icon-button *ngIf="show_buttons" style="color:rgb(248, 105, 10)"> <mat-icon (click)="edit_config()">save</mat-icon> </button> </div> <div fxHide fxShow.gt-sm matTooltip="Crea Nuova Preferenza" matTooltipPosition="above"> <button mat-icon-button style="color:rgb(16, 98, 16)" *ngIf="show_buttons"> <mat-icon (click)="insert_config()">library_add</mat-icon> </button> </div> <mat-slide-toggle fxHide fxShow.gt-sm [hidden]=\'!show_buttons\' (click)="ck_flag()" #toggle_mantieni> {{mantieni_impostazioni}} </mat-slide-toggle> &nbsp; <div fxHide fxShow.gt-sm matTooltip="HELP" matTooltipPosition="above"> <button mat-raised-button (click)="help_window()" color="accent" *ngIf="show_buttons && show_help" > <mat-icon>help</mat-icon> </button></div> <div fxLayout="row" fxLayoutAlign="end center" fxFlex> <FHGridToolBar (command)="docmd($event)" [type]="toolbar_type" [custom_commands]="toolbar_custom_commands" [toolbar_wkfapp]="toolbar_wkfapp" ></FHGridToolBar> </div></div> <div fxLayout="row" fxLayoutAlign="stretch" fxFlex="95" style="min-height: 500px;background-color: #CC0000"><ag-grid-angular ref-agGrid style="width:100%;height:100%;min-height: 500px" (cellDoubleClicked)="onColumnEvent($event)" (cellClicked)="onCellClicked($event)" [headerHeight]="header_h" [groupHeaderHeight]="header_h" class="ag-theme-balham" [singleClickEdit]="true" [gridOptions]="gridOptions" [columnDefs]="columnDefs" [rowData]="rowData" enableColResize enableServerSideSorting enableServerSideFilter enableColResize (afterFilterChanged)="onAfterFilterChanged()" (filterModified)="onFilterModified()" (rowDoubleClicked)="onRowDClicked($event)" (rowClicked)="onRowClicked($event)" (columnVisible)="oncolumnEverythingChanged($event)" (columnResized)="oncolumnEverythingChanged($event)" (columnMoved)="oncolumnEverythingChanged($event)" (cellValueChanged)="okr($event)" (sortChanged)="onAfterSortChanged()" [paginationPageSize]="num_per_pag" (gridReady)="onReady($event)"></ag-grid-angular></div></div></div>'
4427
+ var COMPONENT_TEMPLATE = '<div><div fxLayout="column" fxLayoutAlign="start center" fxFlexFill> <div fxLayout="row" fxLayoutGap="3px" style="min-height: 55px" [hidden]="!show_buttons"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div> <h5>{{num_r}}&nbsp;{{label_elementi}}</h5> </div> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <div> <input matInput [placeholder]="trova_label" (keydown)="keyDownFunctioncl($event)" [(ngModel)]="ric_libera" style="min-width:100px;max-width:180px;border:1px solid;min-height:30px"></div> <div matTooltip="REMOVE FILTER" matTooltipPosition="above" *ngIf="show_pulisci_filtri" > <button mat-raised-button (click)="pulisci_filtri()" color="warn"> <mat-icon>filter_none</mat-icon>&nbsp; </button> </div> <div fxHide fxShow.gt-sm matTooltip="AUTO SIZE" matTooltipPosition="above"> <button mat-raised-button (click)="autoSizeAll()" color="accent" *ngIf="show_buttons"> <mat-icon>photo_size_select_small</mat-icon> </button> </div> <div fxHide fxShow.gt-sm matTooltip="FIT SIZE" matTooltipPosition="above"> <button mat-raised-button (click)="fitSizeAll()" color="accent" *ngIf="show_buttons"> <mat-icon>aspect_ratio</mat-icon> </button> </div> <FHComboBox fxHide fxShow.gt-sm [hidden]=\'!show_buttons\' (selchange)="ch_config()" (fillend)="fe_cfg()" #gf init_fill="false"></FHComboBox> <div matTooltip="Modifica Preferenza" matTooltipPosition="above" *ngIf="curr_config!=\'-1\'"> <button mat-icon-button *ngIf="show_buttons" style="color:rgb(248, 105, 10)"> <mat-icon (click)="edit_config()">save</mat-icon> </button> </div> <div fxHide fxShow.gt-sm matTooltip="Crea Nuova Preferenza" matTooltipPosition="above"> <button mat-icon-button style="color:rgb(16, 98, 16)" *ngIf="show_buttons"> <mat-icon (click)="insert_config()">library_add</mat-icon> </button> </div> <mat-slide-toggle fxHide fxShow.gt-sm [hidden]=\'!show_buttons\' (click)="ck_flag()" #toggle_mantieni> {{mantieni_impostazioni}} </mat-slide-toggle> &nbsp; <div fxHide fxShow.gt-sm matTooltip="HELP" matTooltipPosition="above"> <button mat-raised-button (click)="help_window()" color="accent" *ngIf="show_buttons && show_help" > <mat-icon>help</mat-icon> </button></div> <div fxLayout="row" fxLayoutAlign="end center" fxFlex> <FHGridToolBar (command)="docmd($event)" [type]="toolbar_type" [custom_commands]="toolbar_custom_commands" [toolbar_wkfapp]="toolbar_wkfapp" ></FHGridToolBar> </div></div> <div fxLayout="row" fxFlex="95" style="min-height: 500px"><ag-grid-angular ref-agGrid style="width:100%;height:100%;min-height: 500px" id="myGrid" (cellDoubleClicked)="onColumnEvent($event)" (cellClicked)="onCellClicked($event)" [headerHeight]="header_h" [groupHeaderHeight]="header_h" class="ag-theme-balham" [singleClickEdit]="true" [gridOptions]="gridOptions" [columnDefs]="columnDefs" [rowData]="rowData" enableColResize enableServerSideSorting enableServerSideFilter enableColResize (afterFilterChanged)="onAfterFilterChanged()" (filterModified)="onFilterModified()" (rowDoubleClicked)="onRowDClicked($event)" (rowClicked)="onRowClicked($event)" (columnVisible)="oncolumnEverythingChanged($event)" (columnResized)="oncolumnEverythingChanged($event)" (columnMoved)="oncolumnEverythingChanged($event)" (cellValueChanged)="okr($event)" (sortChanged)="onAfterSortChanged()" [paginationPageSize]="num_per_pag" (gridReady)="onReady($event)"></ag-grid-angular></div></div></div>'
4352
4428
  var COMPONENTS = [{'name': 'ApprovaGridComponent', 'selector': 'approva-cell'},{'name': 'ComboBoxEditor', 'selector': 'editor-cell'},{'name': 'CurrencyComponent', 'selector': 'currency-cell'},{'name': 'DateComponent', 'selector': 'editor-cell'},{'name': 'DtPick', 'selector': 'DtPicker'},{'name': 'FHAutoCompleteComponent', 'selector': 'FHAutoComplete'},{'name': 'FHComboboxComponent', 'selector': 'FHComboBox'},{'name': 'FHConfirmComponent', 'selector': ''},{'name': 'FHCurrencyFieldComponent', 'selector': 'FHCurrencyField'},{'name': 'FHDatePickerComponent', 'selector': 'FHDatePicker'},{'name': 'FHGridComponent', 'selector': 'FHGrid'},{'name': 'FHGridJSONComponent', 'selector': 'FHGridJSON'},{'name': 'FHGridToolBarComponent', 'selector': 'FHGridToolBar'},{'name': 'FHListComponent', 'selector': 'FHList'},{'name': 'FHListPick', 'selector': 'fhwincomboselect'},{'name': 'FHLogPanelComponent', 'selector': 'FHLogPanel'},{'name': 'FHMdReader', 'selector': 'FHMdReader'},{'name': 'FHNumericFieldComponent', 'selector': 'FHNumericField'},{'name': 'FHPickListComponent', 'selector': 'FHPickList'},{'name': 'FHRichText', 'selector': 'FHRichText'},{'name': 'FHTimePickerComponent', 'selector': 'FHTimePicker'},{'name': 'FHUploadComponent', 'selector': 'FHUpload'},{'name': 'FHUploadPanelComponent', 'selector': 'FHUploadPanel'},{'name': 'FHUserFieldComponent', 'selector': 'FHUserField'},{'name': 'FHUserPickerComponent', 'selector': 'FHPickUsers'},{'name': 'FHWinComboSelect', 'selector': 'fhwincomboselect'},{'name': 'FormBuilderComponent', 'selector': 'FHFormBuilder'},{'name': 'FormExecuterComponent', 'selector': 'FHFormExecuter'},{'name': 'FSInput', 'selector': ''},{'name': 'FSResult', 'selector': ''},{'name': 'NumericEditorComponent', 'selector': 'numeric-cell'},{'name': 'QGParam', 'selector': ''},{'name': 'QGResult', 'selector': ''},{'name': 'QParam', 'selector': ''},{'name': 'QResult', 'selector': ''},{'name': 'TextAreaEditor', 'selector': 'editor-cell'},{'name': 'win_assegna', 'selector': ''},{'name': 'win_commenti', 'selector': ''},{'name': 'win_commento_sel_notif', 'selector': ''},{'name': 'win_conferma', 'selector': ''},{'name': 'win_grid_help', 'selector': ''},{'name': 'win_info_doc', 'selector': ''},{'name': 'win_log', 'selector': ''},{'name': 'win_mappa', 'selector': ''},{'name': 'win_recupera_doc', 'selector': ''},{'name': 'win_riassegna_select_level', 'selector': ''},{'name': 'win_riassegna_select_user', 'selector': ''},{'name': 'win_salva_annulla', 'selector': ''},{'name': 'win_select_canale', 'selector': ''},{'name': 'win_select_level', 'selector': ''},{'name': 'win_time_slider', 'selector': 'fhtimeslider'},{'name': 'win_uploads', 'selector': 'wkf_win_upload'},{'name': 'WinAskNumberComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextBigComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextComponent', 'selector': 'app-win_ask_text'},{'name': 'WinOutputComponent', 'selector': 'app-win_output'},{'name': 'WinWait', 'selector': 'fhwincomboselect'},{'name': 'wkf_header_bar', 'selector': 'wkf_header_bar'}];
4353
4429
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
4354
4430
  var ACTUAL_COMPONENT = {'name': 'FHGridComponent'};
@@ -237,7 +237,7 @@
237
237
  </td>
238
238
  <td align="right" data-sort="0">
239
239
  <span class="coverage-percent">0 %</span>
240
- <span class="coverage-count">(0/100)</span>
240
+ <span class="coverage-count">(0/102)</span>
241
241
  </td>
242
242
  </tr>
243
243
  <tr class="low">
@@ -89,11 +89,13 @@
89
89
  <li>
90
90
  <b>@swimlane/ngx-graph</b> : ^5.1.0</li>
91
91
  <li>
92
- <b>ag-grid</b> : 17.0.0</li>
92
+ <b>ag-grid</b> : 18.1.2</li>
93
93
  <li>
94
- <b>ag-grid-angular</b> : 17.0.0</li>
94
+ <b>ag-grid-angular</b> : 19.1.2</li>
95
95
  <li>
96
- <b>ag-grid-enterprise</b> : 17.0.0</li>
96
+ <b>ag-grid-enterprise</b> : 19.1.4</li>
97
+ <li>
98
+ <b>ag-grid-community</b> : ^19.1.4</li>
97
99
  <li>
98
100
  <b>angular-calendar</b> : ^0.26.3</li>
99
101
  <li>