@fluxhub/fluxhub-lib 1.0.209 → 1.0.210

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.
@@ -99,7 +99,8 @@
99
99
 
100
100
  <tr>
101
101
  <td class="col-md-3">template</td>
102
- <td class="col-md-9"><pre class="line-numbers"><code class="language-html">&lt;div *ngIf&#x3D;&quot;loading&quot; fxLayout&#x3D;&quot;row&quot;&gt;
102
+ <td class="col-md-9"><pre class="line-numbers"><code class="language-html">aaaazzz
103
+ &lt;div *ngIf&#x3D;&quot;loading&quot; fxLayout&#x3D;&quot;row&quot;&gt;
103
104
  WAIT
104
105
  &lt;/div&gt;
105
106
  &lt;div *ngIf&#x3D;&quot;enabled &amp;amp;&amp;amp; !loading&quot; fxLayout&#x3D;&quot;row&quot;&gt;
@@ -170,6 +171,9 @@
170
171
  <li>
171
172
  <a href="#label_b">label_b</a>
172
173
  </li>
174
+ <li>
175
+ <a href="#lista_allegati">lista_allegati</a>
176
+ </li>
173
177
  <li>
174
178
  <a href="#loading">loading</a>
175
179
  </li>
@@ -589,7 +593,7 @@
589
593
  </tr>
590
594
  <tr>
591
595
  <td class="col-md-4">
592
- <code>ch()</code>
596
+ <code>ch(fileItem: FileItem)</code>
593
597
  </td>
594
598
  </tr>
595
599
 
@@ -599,10 +603,41 @@
599
603
  <tr>
600
604
  <td class="col-md-4">
601
605
 
606
+ <div class="io-description">
607
+ <b>Parameters :</b>
608
+ <table class="params">
609
+ <thead>
610
+ <tr>
611
+ <td>Name</td>
612
+ <td>Type</td>
613
+ <td>Optional</td>
614
+ </tr>
615
+ </thead>
616
+ <tbody>
617
+ <tr>
618
+ <td>fileItem</td>
619
+ <td>
620
+ <code>FileItem</code>
621
+ </td>
622
+
623
+ <td>
624
+ No
625
+ </td>
626
+
627
+
628
+ </tr>
629
+ </tbody>
630
+ </table>
631
+ </div>
632
+ <div>
633
+ </div>
602
634
  <div class="io-description">
603
635
  <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
604
636
 
605
637
  </div>
638
+ <div class="io-description">
639
+
640
+ </div>
606
641
  </td>
607
642
  </tr>
608
643
  </tbody>
@@ -1141,6 +1176,40 @@
1141
1176
  </tr>
1142
1177
 
1143
1178
 
1179
+ </tbody>
1180
+ </table>
1181
+ <table class="table table-sm table-bordered">
1182
+ <tbody>
1183
+ <tr>
1184
+ <td class="col-md-4">
1185
+ <a name="lista_allegati"></a>
1186
+ <span class="name">
1187
+ <b>
1188
+ lista_allegati
1189
+ </b>
1190
+ <a href="#lista_allegati"><span class="icon ion-ios-link"></span></a>
1191
+ </span>
1192
+ </td>
1193
+ </tr>
1194
+ <tr>
1195
+ <td class="col-md-4">
1196
+ <code>lista_allegati: <code>Array&lt;any&gt;</code>
1197
+ </code>
1198
+ </td>
1199
+ </tr>
1200
+ <tr>
1201
+ <td class="col-md-4">
1202
+ <i>Type : </i> <code>Array&lt;any&gt;</code>
1203
+
1204
+ </td>
1205
+ </tr>
1206
+ <tr>
1207
+ <td class="col-md-4">
1208
+ <i>Default value : </i><code>[]</code>
1209
+ </td>
1210
+ </tr>
1211
+
1212
+
1144
1213
  </tbody>
1145
1214
  </table>
1146
1215
  <table class="table table-sm table-bordered">
@@ -1356,7 +1425,7 @@
1356
1425
  <script src="../js/libs/htmlparser.js"></script>
1357
1426
  <script src="../js/libs/deep-iterator.js"></script>
1358
1427
  <script>
1359
- var COMPONENT_TEMPLATE = '<div><div *ngIf="loading" fxLayout="row"> WAIT</div><div *ngIf="enabled &amp;&amp; !loading" fxLayout="row"> <mat-form-field class="field_style"> <input matInput type="text" name="descrizione" [(ngModel)]="descrizione" placeholder="{{label}} {{fixed_label}}"> </mat-form-field> <input type="file" ng2FileSelect [uploader]="uploader" multiple/> <div> <button mat-raised-button *ngIf="b_edit_loaded" (click)="download_all()">{{label_b}}</button> </div></div><div *ngIf="!enabled"> <label>{{label}}:</label>{{descrizione}}</div><div *ngIf="!b_ini" style="color:#ff0000"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div></div>'
1428
+ var COMPONENT_TEMPLATE = '<div>aaaazzz<div *ngIf="loading" fxLayout="row"> WAIT</div><div *ngIf="enabled &amp;&amp; !loading" fxLayout="row"> <mat-form-field class="field_style"> <input matInput type="text" name="descrizione" [(ngModel)]="descrizione" placeholder="{{label}} {{fixed_label}}"> </mat-form-field> <input type="file" ng2FileSelect [uploader]="uploader" multiple/> <div> <button mat-raised-button *ngIf="b_edit_loaded" (click)="download_all()">{{label_b}}</button> </div></div><div *ngIf="!enabled"> <label>{{label}}:</label>{{descrizione}}</div><div *ngIf="!b_ini" style="color:#ff0000"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div></div>'
1360
1429
  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'}];
1361
1430
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
1362
1431
  var ACTUAL_COMPONENT = {'name': 'FHUploadComponent'};
@@ -117,6 +117,7 @@
117
117
  &lt;th style&#x3D;&quot;width:50%&quot;&gt;Nome&lt;/th&gt;
118
118
  &lt;th style&#x3D;&quot;width:60px;text-align:center&quot;&gt;Dim.&lt;/th&gt;
119
119
  &lt;th style&#x3D;&quot;width:50%&quot;&gt;Descrizione&lt;/th&gt;
120
+ &lt;th style&#x3D;&quot;width:30%&quot;&gt;Utente&lt;/th&gt;
120
121
  &lt;th style&#x3D;&quot;width:240px;text-align:center&quot;&gt;Data&lt;/th&gt;
121
122
  &lt;th style&#x3D;&quot;width:40px&quot; class&#x3D;&quot;actions&quot;&gt;&lt;/th&gt;
122
123
  &lt;th *ngIf&#x3D;&quot;enabled&quot; style&#x3D;&quot;width:40px&quot; class&#x3D;&quot;actions&quot;&gt;&lt;/th&gt;
@@ -134,6 +135,7 @@
134
135
  &lt;td *ngIf&#x3D;&quot;!b_mobile&quot;&gt;{{app.Filename}}&lt;/td&gt;
135
136
  &lt;td *ngIf&#x3D;&quot;!b_mobile&quot; style&#x3D;&quot;text-align:center&quot;&gt;{{app.Filesize}}&lt;/td&gt;
136
137
  &lt;td *ngIf&#x3D;&quot;!b_mobile&quot;&gt;{{app.descrizione}}&lt;/td&gt;
138
+ &lt;td *ngIf&#x3D;&quot;!b_mobile&quot;&gt;{{app.nc}}&lt;/td&gt;
137
139
  &lt;td *ngIf&#x3D;&quot;!b_mobile&quot; style&#x3D;&quot;text-align:center&quot;&gt;{{app.dt_ins | date: &#x27;dd/MM/yyyy HH:mm:ss&#x27;}}&lt;/td&gt;
138
140
  &lt;td *ngIf&#x3D;&quot;!b_mobile&quot; style&#x3D;&quot;text-align:center&quot;&gt;
139
141
  &lt;button mat-icon-button matTooltip&#x3D;&quot;Download File&quot; (click)&#x3D;&quot;download_all(app)&quot;&gt;
@@ -142,9 +144,15 @@
142
144
  &lt;/td&gt;
143
145
 
144
146
  &lt;td *ngIf&#x3D;&quot;enabled&quot; style&#x3D;&quot;text-align:center&quot;&gt;
145
- &lt;a mat-icon-button matTooltip&#x3D;&quot;Elimina File&quot; *ngIf&#x3D;&quot;enabled&quot; (click)&#x3D;&quot;delete(app)&quot;&gt;
147
+ &lt;a mat-icon-button matTooltip&#x3D;&quot;Elimina File&quot; *ngIf&#x3D;&quot;app.can_delete&quot; (click)&#x3D;&quot;delete(app)&quot;&gt;
146
148
  &lt;mat-icon&gt;delete&lt;/mat-icon&gt;
147
- &lt;/a&gt;&lt;/td&gt;
149
+ &lt;/a&gt;
150
+
151
+ &lt;a mat-icon-button [matTooltip]&#x3D;&quot;&#x27;Cancellazione consentita solo a: &#x27;+app.nc&quot; *ngIf&#x3D;&quot;!app.can_delete&quot; [disabled]&#x3D;&quot;true&quot; &gt;
152
+ &lt;mat-icon&gt;delete&lt;/mat-icon&gt;
153
+ &lt;/a&gt;
154
+
155
+ &lt;/td&gt;
148
156
 
149
157
  &lt;/tr&gt;
150
158
  &lt;/table&gt;
@@ -245,6 +253,9 @@
245
253
  <tr>
246
254
  <td class="col-md-4">
247
255
  <ul class="index-list">
256
+ <li>
257
+ <a href="#access_control">access_control</a>
258
+ </li>
248
259
  <li>
249
260
  <a href="#enabled">enabled</a>
250
261
  </li>
@@ -373,6 +384,25 @@
373
384
 
374
385
  <section>
375
386
  <h3 id="inputs">Inputs</h3>
387
+ <table class="table table-sm table-bordered">
388
+ <tbody>
389
+ <tr>
390
+ <td class="col-md-2">
391
+ <a name="access_control"></a>
392
+ <code>access_control</code>
393
+ </td>
394
+ <td class="col-md-10">
395
+ <p>
396
+ <em>Type :</em> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
397
+
398
+ </p>
399
+ <p>
400
+ <em>Default value : </em><code>false</code>
401
+ </p>
402
+ </td>
403
+ </tr>
404
+ </tbody>
405
+ </table>
376
406
  <table class="table table-sm table-bordered">
377
407
  <tbody>
378
408
  <tr>
@@ -1048,7 +1078,7 @@
1048
1078
  <script src="../js/libs/htmlparser.js"></script>
1049
1079
  <script src="../js/libs/deep-iterator.js"></script>
1050
1080
  <script>
1051
- var COMPONENT_TEMPLATE = '<div><div fxLayout="column"> <h3>{{label}}</h3> <div fxLayout="column"> <div [hidden]="!enabled"> <FHUpload [single]="b_False" (change)="ref_allegato()" #upc></FHUpload> <br></div> <table width="98%" class="fh_table"> <thead *ngIf="!b_mobile"> <tr class="header"> <th style="width:40px"></th> <th style="width:50%">Nome</th> <th style="width:60px;text-align:center">Dim.</th> <th style="width:50%">Descrizione</th> <th style="width:240px;text-align:center">Data</th> <th style="width:40px" class="actions"></th> <th *ngIf="enabled" style="width:40px" class="actions"></th> </tr> </thead> <tbody> <tr *ngFor="let app of arr_g" style="font-size: 12px;"> <td style="text-align:center;vertical-align: middle;width:36px;height:36px;"> <div style="text-align:center;vertical-align: middle;width:28px;height:28px;"> <img src="assets/icons/square-o/{{app.icon}}" style="width:28px;height:28px;"></div> </td> <td *ngIf="b_mobile" style="text-align:center">{{app.Filename}}<br><br> <button (click)="download_all(app)" mat-raised-button>DOWNLOAD</button> </td> <td *ngIf="!b_mobile">{{app.Filename}}</td> <td *ngIf="!b_mobile" style="text-align:center">{{app.Filesize}}</td> <td *ngIf="!b_mobile">{{app.descrizione}}</td> <td *ngIf="!b_mobile" style="text-align:center">{{app.dt_ins | date: \'dd/MM/yyyy HH:mm:ss\'}}</td> <td *ngIf="!b_mobile" style="text-align:center"> <button mat-icon-button matTooltip="Download File" (click)="download_all(app)"> <mat-icon>save_alt</mat-icon> </button> </td> <td *ngIf="enabled" style="text-align:center"> <a mat-icon-button matTooltip="Elimina File" *ngIf="enabled" (click)="delete(app)"> <mat-icon>delete</mat-icon> </a></td> </tr> </table> </div></div><div *ngIf="!b_ini" style="color:#ff0000"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div></div>'
1081
+ var COMPONENT_TEMPLATE = '<div><div fxLayout="column"> <h3>{{label}}</h3> <div fxLayout="column"> <div [hidden]="!enabled"> <FHUpload [single]="b_False" (change)="ref_allegato()" #upc></FHUpload> <br></div> <table width="98%" class="fh_table"> <thead *ngIf="!b_mobile"> <tr class="header"> <th style="width:40px"></th> <th style="width:50%">Nome</th> <th style="width:60px;text-align:center">Dim.</th> <th style="width:50%">Descrizione</th> <th style="width:30%">Utente</th> <th style="width:240px;text-align:center">Data</th> <th style="width:40px" class="actions"></th> <th *ngIf="enabled" style="width:40px" class="actions"></th> </tr> </thead> <tbody> <tr *ngFor="let app of arr_g" style="font-size: 12px;"> <td style="text-align:center;vertical-align: middle;width:36px;height:36px;"> <div style="text-align:center;vertical-align: middle;width:28px;height:28px;"> <img src="assets/icons/square-o/{{app.icon}}" style="width:28px;height:28px;"></div> </td> <td *ngIf="b_mobile" style="text-align:center">{{app.Filename}}<br><br> <button (click)="download_all(app)" mat-raised-button>DOWNLOAD</button> </td> <td *ngIf="!b_mobile">{{app.Filename}}</td> <td *ngIf="!b_mobile" style="text-align:center">{{app.Filesize}}</td> <td *ngIf="!b_mobile">{{app.descrizione}}</td> <td *ngIf="!b_mobile">{{app.nc}}</td> <td *ngIf="!b_mobile" style="text-align:center">{{app.dt_ins | date: \'dd/MM/yyyy HH:mm:ss\'}}</td> <td *ngIf="!b_mobile" style="text-align:center"> <button mat-icon-button matTooltip="Download File" (click)="download_all(app)"> <mat-icon>save_alt</mat-icon> </button> </td> <td *ngIf="enabled" style="text-align:center"> <a mat-icon-button matTooltip="Elimina File" *ngIf="app.can_delete" (click)="delete(app)"> <mat-icon>delete</mat-icon> </a> <a mat-icon-button [matTooltip]="\'Cancellazione consentita solo a: \'+app.nc" *ngIf="!app.can_delete" [disabled]="true" > <mat-icon>delete</mat-icon> </a> </td> </tr> </table> </div></div><div *ngIf="!b_ini" style="color:#ff0000"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div></div>'
1052
1082
  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'}];
1053
1083
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
1054
1084
  var ACTUAL_COMPONENT = {'name': 'FHUploadPanelComponent'};
@@ -112,7 +112,7 @@
112
112
  &lt;input matInput type&#x3D;&quot;text&quot; name&#x3D;&quot;descrizione&quot; [(ngModel)]&#x3D;&quot;descrizione&quot; placeholder&#x3D;&quot;{{label}}&quot;&gt;
113
113
 
114
114
 
115
- &lt;input type&#x3D;&quot;file&quot; ng2FileSelect [uploader]&#x3D;&quot;uploader&quot; multiple (change)&#x3D;&quot;ch()&quot;/&gt;
115
+ &lt;input type&#x3D;&quot;file&quot; ng2FileSelect [uploader]&#x3D;&quot;uploader&quot; multiple /&gt;
116
116
  &lt;!--&lt;button mat-raised-button *ngIf&#x3D;&quot;b_edit_loaded&quot; (click)&#x3D;&quot;download_all()&quot;&gt;{{label_b}}&lt;/button&gt;--&gt;
117
117
  &lt;/div&gt;
118
118
  &lt;br&gt;
@@ -127,6 +127,8 @@
127
127
  &lt;th style&#x3D;&quot;width:50%&quot;&gt;Nome&lt;/th&gt;
128
128
  &lt;th style&#x3D;&quot;width:60px;text-align:center&quot;&gt;Dim.&lt;/th&gt;
129
129
  &lt;th style&#x3D;&quot;width:50%&quot;&gt;Descrizione&lt;/th&gt;
130
+
131
+ &lt;th style&#x3D;&quot;width:30%&quot;&gt;Utente&lt;/th&gt;
130
132
  &lt;th style&#x3D;&quot;width:240px;text-align:center&quot;&gt;Data&lt;/th&gt;
131
133
  &lt;th style&#x3D;&quot;width:40px&quot; class&#x3D;&quot;actions&quot;&gt;&lt;/th&gt;
132
134
  &lt;th *ngIf&#x3D;&quot;enabled&quot; style&#x3D;&quot;width:40px&quot; class&#x3D;&quot;actions&quot;&gt;&lt;/th&gt;
@@ -141,6 +143,7 @@
141
143
  &lt;td&gt;{{app.Filename}}&lt;/td&gt;
142
144
  &lt;td style&#x3D;&quot;text-align:center&quot;&gt;{{app.Filesize}}&lt;/td&gt;
143
145
  &lt;td&gt;{{app.descrizione}}&lt;/td&gt;
146
+ &lt;td&gt;{{app.nc}}&lt;/td&gt;
144
147
  &lt;td style&#x3D;&quot;text-align:center&quot;&gt;{{app.dt_ins | date: &#x27;dd/MM/yyyy HH:mm:ss&#x27;}}&lt;/td&gt;
145
148
  &lt;td style&#x3D;&quot;text-align:center&quot;&gt;
146
149
  &lt;button mat-icon-button matTooltip&#x3D;&quot;Download File&quot; (click)&#x3D;&quot;download_all(app)&quot;&gt;
@@ -148,9 +151,17 @@
148
151
  &lt;/button&gt;
149
152
  &lt;/td&gt;
150
153
 
151
- &lt;td style&#x3D;&quot;text-align:center&quot;&gt;&lt;a mat-icon-button *ngIf&#x3D;&quot;enabled&quot; (click)&#x3D;&quot;delete(app)&quot;&gt;
152
- &lt;mat-icon&gt;delete&lt;/mat-icon&gt;
153
- &lt;/a&gt;&lt;/td&gt;
154
+
155
+ &lt;td *ngIf&#x3D;&quot;enabled&quot; style&#x3D;&quot;text-align:center&quot;&gt;
156
+ &lt;a mat-icon-button matTooltip&#x3D;&quot;Elimina File&quot; *ngIf&#x3D;&quot;app.can_delete&quot; (click)&#x3D;&quot;delete(app)&quot;&gt;
157
+ &lt;mat-icon&gt;delete&lt;/mat-icon&gt;
158
+ &lt;/a&gt;
159
+
160
+ &lt;a mat-icon-button [matTooltip]&#x3D;&quot;&#x27;Cancellazione consentita solo a: &#x27;+app.nc&quot; *ngIf&#x3D;&quot;!app.can_delete&quot; [disabled]&#x3D;&quot;true&quot; &gt;
161
+ &lt;mat-icon&gt;delete&lt;/mat-icon&gt;
162
+ &lt;/a&gt;
163
+
164
+ &lt;/td&gt;
154
165
  &lt;/tr&gt;
155
166
  &lt;/table&gt;
156
167
 
@@ -270,6 +281,9 @@
270
281
  <tr>
271
282
  <td class="col-md-4">
272
283
  <ul class="index-list">
284
+ <li>
285
+ <a href="#access_control">access_control</a>
286
+ </li>
273
287
  <li>
274
288
  <a href="#enabled">enabled</a>
275
289
  </li>
@@ -395,6 +409,25 @@
395
409
 
396
410
  <section>
397
411
  <h3 id="inputs">Inputs</h3>
412
+ <table class="table table-sm table-bordered">
413
+ <tbody>
414
+ <tr>
415
+ <td class="col-md-2">
416
+ <a name="access_control"></a>
417
+ <code>access_control</code>
418
+ </td>
419
+ <td class="col-md-10">
420
+ <p>
421
+ <em>Type :</em> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
422
+
423
+ </p>
424
+ <p>
425
+ <em>Default value : </em><code>true</code>
426
+ </p>
427
+ </td>
428
+ </tr>
429
+ </tbody>
430
+ </table>
398
431
  <table class="table table-sm table-bordered">
399
432
  <tbody>
400
433
  <tr>
@@ -473,7 +506,7 @@
473
506
  </tr>
474
507
  <tr>
475
508
  <td class="col-md-4">
476
- <code>ch()</code>
509
+ <code>ch(fileItem: FileItem)</code>
477
510
  </td>
478
511
  </tr>
479
512
 
@@ -483,10 +516,41 @@
483
516
  <tr>
484
517
  <td class="col-md-4">
485
518
 
519
+ <div class="io-description">
520
+ <b>Parameters :</b>
521
+ <table class="params">
522
+ <thead>
523
+ <tr>
524
+ <td>Name</td>
525
+ <td>Type</td>
526
+ <td>Optional</td>
527
+ </tr>
528
+ </thead>
529
+ <tbody>
530
+ <tr>
531
+ <td>fileItem</td>
532
+ <td>
533
+ <code>FileItem</code>
534
+ </td>
535
+
536
+ <td>
537
+ No
538
+ </td>
539
+
540
+
541
+ </tr>
542
+ </tbody>
543
+ </table>
544
+ </div>
545
+ <div>
546
+ </div>
486
547
  <div class="io-description">
487
548
  <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
488
549
 
489
550
  </div>
551
+ <div class="io-description">
552
+
553
+ </div>
490
554
  </td>
491
555
  </tr>
492
556
  </tbody>
@@ -1218,7 +1282,7 @@
1218
1282
  <script src="../js/libs/htmlparser.js"></script>
1219
1283
  <script src="../js/libs/deep-iterator.js"></script>
1220
1284
  <script>
1221
- var COMPONENT_TEMPLATE = '<div><mat-toolbar color="primary">{{title}} <div style="width:100%;text-align: right;"> </div></mat-toolbar><div mat-dialog-content style="min-width:800px"> <br> <div *ngIf="enabled"> <input matInput type="text" name="descrizione" [(ngModel)]="descrizione" placeholder="{{label}}"> <input type="file" ng2FileSelect [uploader]="uploader" multiple (change)="ch()"/> <!--<button mat-raised-button *ngIf="b_edit_loaded" (click)="download_all()">{{label_b}}</button>--> </div> <br> <br> <table style="width: 100%;" class="fh_table"> <thead> <tr> <th style="width:40px"></th> <th style="width:50%">Nome</th> <th style="width:60px;text-align:center">Dim.</th> <th style="width:50%">Descrizione</th> <th style="width:240px;text-align:center">Data</th> <th style="width:40px" class="actions"></th> <th *ngIf="enabled" style="width:40px" class="actions"></th> </tr> </thead> <tbody> <tr *ngFor="let app of arr_g;let odd=odd; let even=even;index as i" [ngClass]="{ odd: odd, even: even }" > <td style="text-align:center;vertical-align: middle;width:36px;height:36px;"> <div style="text-align:center;vertical-align: middle;width:28px;height:28px;"> <img src="assets/icons/square-o/{{app.icon}}" style="width:28px;height:28px;"></div> </td> <td>{{app.Filename}}</td> <td style="text-align:center">{{app.Filesize}}</td> <td>{{app.descrizione}}</td> <td style="text-align:center">{{app.dt_ins | date: \'dd/MM/yyyy HH:mm:ss\'}}</td> <td style="text-align:center"> <button mat-icon-button matTooltip="Download File" (click)="download_all(app)"> <mat-icon>save_alt</mat-icon> </button> </td> <td style="text-align:center"><a mat-icon-button *ngIf="enabled" (click)="delete(app)"> <mat-icon>delete</mat-icon> </a></td> </tr> </table></div><div style="width:100%;text-align:center;"> <button mat-raised-button (click)="dialogRef.close(\'Option 1\')">CHIUDI</button></div><div *ngIf="!b_ini" style="color:#ff0000"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div></div>'
1285
+ var COMPONENT_TEMPLATE = '<div><mat-toolbar color="primary">{{title}} <div style="width:100%;text-align: right;"> </div></mat-toolbar><div mat-dialog-content style="min-width:800px"> <br> <div *ngIf="enabled"> <input matInput type="text" name="descrizione" [(ngModel)]="descrizione" placeholder="{{label}}"> <input type="file" ng2FileSelect [uploader]="uploader" multiple /> <!--<button mat-raised-button *ngIf="b_edit_loaded" (click)="download_all()">{{label_b}}</button>--> </div> <br> <br> <table style="width: 100%;" class="fh_table"> <thead> <tr> <th style="width:40px"></th> <th style="width:50%">Nome</th> <th style="width:60px;text-align:center">Dim.</th> <th style="width:50%">Descrizione</th> <th style="width:30%">Utente</th> <th style="width:240px;text-align:center">Data</th> <th style="width:40px" class="actions"></th> <th *ngIf="enabled" style="width:40px" class="actions"></th> </tr> </thead> <tbody> <tr *ngFor="let app of arr_g;let odd=odd; let even=even;index as i" [ngClass]="{ odd: odd, even: even }" > <td style="text-align:center;vertical-align: middle;width:36px;height:36px;"> <div style="text-align:center;vertical-align: middle;width:28px;height:28px;"> <img src="assets/icons/square-o/{{app.icon}}" style="width:28px;height:28px;"></div> </td> <td>{{app.Filename}}</td> <td style="text-align:center">{{app.Filesize}}</td> <td>{{app.descrizione}}</td> <td>{{app.nc}}</td> <td style="text-align:center">{{app.dt_ins | date: \'dd/MM/yyyy HH:mm:ss\'}}</td> <td style="text-align:center"> <button mat-icon-button matTooltip="Download File" (click)="download_all(app)"> <mat-icon>save_alt</mat-icon> </button> </td> <td *ngIf="enabled" style="text-align:center"> <a mat-icon-button matTooltip="Elimina File" *ngIf="app.can_delete" (click)="delete(app)"> <mat-icon>delete</mat-icon> </a> <a mat-icon-button [matTooltip]="\'Cancellazione consentita solo a: \'+app.nc" *ngIf="!app.can_delete" [disabled]="true" > <mat-icon>delete</mat-icon> </a> </td> </tr> </table></div><div style="width:100%;text-align:center;"> <button mat-raised-button (click)="dialogRef.close(\'Option 1\')">CHIUDI</button></div><div *ngIf="!b_ini" style="color:#ff0000"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div></div>'
1222
1286
  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'}];
1223
1287
  var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
1224
1288
  var ACTUAL_COMPONENT = {'name': 'win_uploads'};
@@ -493,7 +493,7 @@
493
493
  </td>
494
494
  <td align="right" data-sort="0">
495
495
  <span class="coverage-percent">0 %</span>
496
- <span class="coverage-count">(0/32)</span>
496
+ <span class="coverage-count">(0/33)</span>
497
497
  </td>
498
498
  </tr>
499
499
  <tr class="low">
@@ -509,7 +509,7 @@
509
509
  </td>
510
510
  <td align="right" data-sort="0">
511
511
  <span class="coverage-percent">0 %</span>
512
- <span class="coverage-count">(0/19)</span>
512
+ <span class="coverage-count">(0/20)</span>
513
513
  </td>
514
514
  </tr>
515
515
  <tr class="low">
@@ -1469,7 +1469,7 @@
1469
1469
  </td>
1470
1470
  <td align="right" data-sort="0">
1471
1471
  <span class="coverage-percent">0 %</span>
1472
- <span class="coverage-count">(0/23)</span>
1472
+ <span class="coverage-count">(0/24)</span>
1473
1473
  </td>
1474
1474
  </tr>
1475
1475
  <tr class="low">