@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +44 -7
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/docs/components/FHUploadComponent.html +72 -3
- package/docs/components/FHUploadPanelComponent.html +33 -3
- package/docs/components/win_uploads.html +70 -6
- package/docs/coverage.html +3 -3
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/fhupload.js +19 -4
- package/esm2015/lib/controls/fhuploadpanel.js +19 -3
- package/esm2015/lib/wkf_engine/win_uploads.js +35 -6
- package/esm5/lib/controls/fhupload.js +20 -5
- package/esm5/lib/controls/fhuploadpanel.js +10 -2
- package/esm5/lib/wkf_engine/win_uploads.js +23 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +65 -11
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +45 -8
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhupload.d.ts +3 -2
- package/lib/controls/fhuploadpanel.d.ts +1 -0
- package/lib/wkf_engine/win_uploads.d.ts +3 -2
- package/package.json +1 -1
|
@@ -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"
|
|
102
|
+
<td class="col-md-9"><pre class="line-numbers"><code class="language-html">aaaazzz
|
|
103
|
+
<div *ngIf="loading" fxLayout="row">
|
|
103
104
|
WAIT
|
|
104
105
|
</div>
|
|
105
106
|
<div *ngIf="enabled &amp;&amp; !loading" fxLayout="row">
|
|
@@ -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<any></code>
|
|
1197
|
+
</code>
|
|
1198
|
+
</td>
|
|
1199
|
+
</tr>
|
|
1200
|
+
<tr>
|
|
1201
|
+
<td class="col-md-4">
|
|
1202
|
+
<i>Type : </i> <code>Array<any></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
|
|
1428
|
+
var COMPONENT_TEMPLATE = '<div>aaaazzz<div *ngIf="loading" fxLayout="row"> WAIT</div><div *ngIf="enabled && !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
|
<th style="width:50%">Nome</th>
|
|
118
118
|
<th style="width:60px;text-align:center">Dim.</th>
|
|
119
119
|
<th style="width:50%">Descrizione</th>
|
|
120
|
+
<th style="width:30%">Utente</th>
|
|
120
121
|
<th style="width:240px;text-align:center">Data</th>
|
|
121
122
|
<th style="width:40px" class="actions"></th>
|
|
122
123
|
<th *ngIf="enabled" style="width:40px" class="actions"></th>
|
|
@@ -134,6 +135,7 @@
|
|
|
134
135
|
<td *ngIf="!b_mobile">{{app.Filename}}</td>
|
|
135
136
|
<td *ngIf="!b_mobile" style="text-align:center">{{app.Filesize}}</td>
|
|
136
137
|
<td *ngIf="!b_mobile">{{app.descrizione}}</td>
|
|
138
|
+
<td *ngIf="!b_mobile">{{app.nc}}</td>
|
|
137
139
|
<td *ngIf="!b_mobile" style="text-align:center">{{app.dt_ins | date: 'dd/MM/yyyy HH:mm:ss'}}</td>
|
|
138
140
|
<td *ngIf="!b_mobile" style="text-align:center">
|
|
139
141
|
<button mat-icon-button matTooltip="Download File" (click)="download_all(app)">
|
|
@@ -142,9 +144,15 @@
|
|
|
142
144
|
</td>
|
|
143
145
|
|
|
144
146
|
<td *ngIf="enabled" style="text-align:center">
|
|
145
|
-
<a mat-icon-button matTooltip="Elimina File" *ngIf="
|
|
147
|
+
<a mat-icon-button matTooltip="Elimina File" *ngIf="app.can_delete" (click)="delete(app)">
|
|
146
148
|
<mat-icon>delete</mat-icon>
|
|
147
|
-
</a>
|
|
149
|
+
</a>
|
|
150
|
+
|
|
151
|
+
<a mat-icon-button [matTooltip]="'Cancellazione consentita solo a: '+app.nc" *ngIf="!app.can_delete" [disabled]="true" >
|
|
152
|
+
<mat-icon>delete</mat-icon>
|
|
153
|
+
</a>
|
|
154
|
+
|
|
155
|
+
</td>
|
|
148
156
|
|
|
149
157
|
</tr>
|
|
150
158
|
</table>
|
|
@@ -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="
|
|
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
|
<input matInput type="text" name="descrizione" [(ngModel)]="descrizione" placeholder="{{label}}">
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
<input type="file" ng2FileSelect [uploader]="uploader" multiple
|
|
115
|
+
<input type="file" ng2FileSelect [uploader]="uploader" multiple />
|
|
116
116
|
<!--<button mat-raised-button *ngIf="b_edit_loaded" (click)="download_all()">{{label_b}}</button>-->
|
|
117
117
|
</div>
|
|
118
118
|
<br>
|
|
@@ -127,6 +127,8 @@
|
|
|
127
127
|
<th style="width:50%">Nome</th>
|
|
128
128
|
<th style="width:60px;text-align:center">Dim.</th>
|
|
129
129
|
<th style="width:50%">Descrizione</th>
|
|
130
|
+
|
|
131
|
+
<th style="width:30%">Utente</th>
|
|
130
132
|
<th style="width:240px;text-align:center">Data</th>
|
|
131
133
|
<th style="width:40px" class="actions"></th>
|
|
132
134
|
<th *ngIf="enabled" style="width:40px" class="actions"></th>
|
|
@@ -141,6 +143,7 @@
|
|
|
141
143
|
<td>{{app.Filename}}</td>
|
|
142
144
|
<td style="text-align:center">{{app.Filesize}}</td>
|
|
143
145
|
<td>{{app.descrizione}}</td>
|
|
146
|
+
<td>{{app.nc}}</td>
|
|
144
147
|
<td style="text-align:center">{{app.dt_ins | date: 'dd/MM/yyyy HH:mm:ss'}}</td>
|
|
145
148
|
<td style="text-align:center">
|
|
146
149
|
<button mat-icon-button matTooltip="Download File" (click)="download_all(app)">
|
|
@@ -148,9 +151,17 @@
|
|
|
148
151
|
</button>
|
|
149
152
|
</td>
|
|
150
153
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
+
|
|
155
|
+
<td *ngIf="enabled" style="text-align:center">
|
|
156
|
+
<a mat-icon-button matTooltip="Elimina File" *ngIf="app.can_delete" (click)="delete(app)">
|
|
157
|
+
<mat-icon>delete</mat-icon>
|
|
158
|
+
</a>
|
|
159
|
+
|
|
160
|
+
<a mat-icon-button [matTooltip]="'Cancellazione consentita solo a: '+app.nc" *ngIf="!app.can_delete" [disabled]="true" >
|
|
161
|
+
<mat-icon>delete</mat-icon>
|
|
162
|
+
</a>
|
|
163
|
+
|
|
164
|
+
</td>
|
|
154
165
|
</tr>
|
|
155
166
|
</table>
|
|
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
|
|
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'};
|
package/docs/coverage.html
CHANGED
|
@@ -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/
|
|
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/
|
|
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/
|
|
1472
|
+
<span class="coverage-count">(0/24)</span>
|
|
1473
1473
|
</td>
|
|
1474
1474
|
</tr>
|
|
1475
1475
|
<tr class="low">
|