@fluxhub/fluxhub-lib 1.0.243 → 1.0.245

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.
@@ -307,6 +307,9 @@
307
307
  <span class="modifier">Public</span>
308
308
  <a href="#onFilterModified">onFilterModified</a>
309
309
  </li>
310
+ <li>
311
+ <a href="#onfirstDataRendered">onfirstDataRendered</a>
312
+ </li>
310
313
  <li>
311
314
  <span class="modifier">Public</span>
312
315
  <a href="#onReady">onReady</a>
@@ -2445,6 +2448,39 @@
2445
2448
 
2446
2449
 
2447
2450
 
2451
+ <tr>
2452
+ <td class="col-md-4">
2453
+
2454
+ <div class="io-description">
2455
+ <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
2456
+
2457
+ </div>
2458
+ </td>
2459
+ </tr>
2460
+ </tbody>
2461
+ </table>
2462
+ <table class="table table-sm table-bordered">
2463
+ <tbody>
2464
+ <tr>
2465
+ <td class="col-md-4">
2466
+ <a name="onfirstDataRendered"></a>
2467
+ <span class="name">
2468
+ <b>
2469
+ onfirstDataRendered
2470
+ </b>
2471
+ <a href="#onfirstDataRendered"><span class="icon ion-ios-link"></span></a>
2472
+ </span>
2473
+ </td>
2474
+ </tr>
2475
+ <tr>
2476
+ <td class="col-md-4">
2477
+ <code>onfirstDataRendered()</code>
2478
+ </td>
2479
+ </tr>
2480
+
2481
+
2482
+
2483
+
2448
2484
  <tr>
2449
2485
  <td class="col-md-4">
2450
2486
 
@@ -3722,23 +3758,6 @@
3722
3758
  let b_mantieni_ck: boolean &#x3D; false;
3723
3759
  if (this.toggle_mantieni !&#x3D; null) b_mantieni_ck &#x3D; this.toggle_mantieni.checked;
3724
3760
 
3725
- if (this.no_pref &amp;&amp; !this.b_init1) {
3726
- this.autoSizeAll();
3727
-
3728
- }
3729
- this.b_init1 &#x3D; true;
3730
- this.ensure_visible();
3731
- if (!this.show_buttons &amp;&amp; this.first_ref) {
3732
- setTimeout(() &#x3D;&gt; {
3733
- this.autoSizeAll();
3734
- }, 300);
3735
- this.first_ref &#x3D; false;
3736
-
3737
-
3738
- } else if (localStorage.getItem(this.grid_key + &#x27;_COLS&#x27;) &#x3D;&#x3D; null)
3739
- setTimeout(() &#x3D;&gt; {
3740
- this.autoSizeAll();
3741
- }, 300);
3742
3761
  //console.log(&#x27;xxxxxxxxxxxxxxxxxxx&#x27;);
3743
3762
  // console.log(this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;].id);
3744
3763
  //if(this.m_appService.getState().grid_obj[this.grid_key+&#x27;_NODE&#x27;]!&#x3D;null)
@@ -4423,7 +4442,7 @@
4423
4442
  <script src="../js/libs/htmlparser.js"></script>
4424
4443
  <script src="../js/libs/deep-iterator.js"></script>
4425
4444
  <script>
4426
- var COMPONENT_TEMPLATE = '<div><div fxLayout="column" fxFlexFill> <div fxLayout="row" fxLayoutAlign="start center" 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="primary" *ngIf="show_buttons"> <mat-icon>compare_arrows</mat-icon> </button> </div> <div fxHide fxShow.gt-sm matTooltip="FIT SIZE" matTooltipPosition="above"> <button mat-raised-button (click)="fitSizeAll()" color="primary" *ngIf="show_buttons"> <mat-icon>keyboard_tab</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="primary" *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" style="width:100%" fxFlex="95"><ag-grid-angular ref-agGrid style="width: 100%; height: 100%;" 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" (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>'
4445
+ var COMPONENT_TEMPLATE = '<div><div fxLayout="column" fxFlexFill> <div fxLayout="row" fxLayoutAlign="start center" 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="primary" *ngIf="show_buttons"> <mat-icon>compare_arrows</mat-icon> </button> </div> <div fxHide fxShow.gt-sm matTooltip="FIT SIZE" matTooltipPosition="above"> <button mat-raised-button (click)="fitSizeAll()" color="primary" *ngIf="show_buttons"> <mat-icon>keyboard_tab</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="primary" *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" style="width:100%" fxFlex="95"><ag-grid-angular ref-agGrid style="width: 100%; height: 100%;" 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" (firstDataRendered)="onfirstDataRendered()" (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
4446
  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': 'image_preview', 'selector': 'image_preview'},{'name': 'ImageViewerComponent', 'selector': 'fh-image-viewer'},{'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_show_image', 'selector': ''},{'name': 'win_time_slider', 'selector': 'fhtimeslider'},{'name': 'win_uploads', 'selector': 'wkf_win_upload'},{'name': 'WinAskButtonsComponent', 'selector': 'app-win_ask_buttons'},{'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'}];
4428
4447
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'},{'name': 'ToggleFullscreenDirective', 'selector': '[ngxToggleFullscreen]'}];
4429
4448
  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/102)</span>
240
+ <span class="coverage-count">(0/103)</span>
241
241
  </td>
242
242
  </tr>
243
243
  <tr class="low">
@@ -1277,7 +1277,7 @@
1277
1277
  </td>
1278
1278
  <td align="right" data-sort="0">
1279
1279
  <span class="coverage-percent">0 %</span>
1280
- <span class="coverage-count">(0/14)</span>
1280
+ <span class="coverage-count">(0/13)</span>
1281
1281
  </td>
1282
1282
  </tr>
1283
1283
  <tr class="low">
@@ -111,9 +111,6 @@
111
111
  <li>
112
112
  <a href="#login">login</a>
113
113
  </li>
114
- <li>
115
- <a href="#login_sa">login_sa</a>
116
- </li>
117
114
  <li>
118
115
  <a href="#logout">logout</a>
119
116
  </li>
@@ -683,39 +680,6 @@
683
680
  </tr>
684
681
  </tbody>
685
682
  </table>
686
- <table class="table table-sm table-bordered">
687
- <tbody>
688
- <tr>
689
- <td class="col-md-4">
690
- <a name="login_sa"></a>
691
- <span class="name">
692
- <b>
693
- login_sa
694
- </b>
695
- <a href="#login_sa"><span class="icon ion-ios-link"></span></a>
696
- </span>
697
- </td>
698
- </tr>
699
- <tr>
700
- <td class="col-md-4">
701
- <code>login_sa()</code>
702
- </td>
703
- </tr>
704
-
705
-
706
-
707
-
708
- <tr>
709
- <td class="col-md-4">
710
-
711
- <div class="io-description">
712
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
713
-
714
- </div>
715
- </td>
716
- </tr>
717
- </tbody>
718
- </table>
719
683
  <table class="table table-sm table-bordered">
720
684
  <tbody>
721
685
  <tr>