@fluxhub/fluxhub-lib 1.0.209 → 1.0.211
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 +43 -8
- 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 +57 -40
- package/docs/components/FHUploadPanelComponent.html +34 -4
- package/docs/components/win_uploads.html +70 -6
- package/docs/coverage.html +2 -2
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/fhupload.js +20 -7
- package/esm2015/lib/controls/fhuploadpanel.js +18 -4
- package/esm2015/lib/wkf_engine/win_uploads.js +35 -6
- package/esm5/lib/controls/fhupload.js +21 -8
- package/esm5/lib/controls/fhuploadpanel.js +8 -2
- package/esm5/lib/wkf_engine/win_uploads.js +23 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +65 -13
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +44 -9
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhupload.d.ts +3 -3
- 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">
|
|
@@ -173,9 +174,6 @@
|
|
|
173
174
|
<li>
|
|
174
175
|
<a href="#loading">loading</a>
|
|
175
176
|
</li>
|
|
176
|
-
<li>
|
|
177
|
-
<a href="#progress_p">progress_p</a>
|
|
178
|
-
</li>
|
|
179
177
|
<li>
|
|
180
178
|
<a href="#tipo">tipo</a>
|
|
181
179
|
</li>
|
|
@@ -248,6 +246,9 @@
|
|
|
248
246
|
<li>
|
|
249
247
|
<a href="#limit_string">limit_string</a>
|
|
250
248
|
</li>
|
|
249
|
+
<li>
|
|
250
|
+
<a href="#lista_allegati">lista_allegati</a>
|
|
251
|
+
</li>
|
|
251
252
|
<li>
|
|
252
253
|
<a href="#programma_da_eseguire">programma_da_eseguire</a>
|
|
253
254
|
</li>
|
|
@@ -497,6 +498,25 @@
|
|
|
497
498
|
</tr>
|
|
498
499
|
</tbody>
|
|
499
500
|
</table>
|
|
501
|
+
<table class="table table-sm table-bordered">
|
|
502
|
+
<tbody>
|
|
503
|
+
<tr>
|
|
504
|
+
<td class="col-md-2">
|
|
505
|
+
<a name="lista_allegati"></a>
|
|
506
|
+
<code>lista_allegati</code>
|
|
507
|
+
</td>
|
|
508
|
+
<td class="col-md-10">
|
|
509
|
+
<p>
|
|
510
|
+
<em>Type :</em> <code>Array<any></code>
|
|
511
|
+
|
|
512
|
+
</p>
|
|
513
|
+
<p>
|
|
514
|
+
<em>Default value : </em><code>[]</code>
|
|
515
|
+
</p>
|
|
516
|
+
</td>
|
|
517
|
+
</tr>
|
|
518
|
+
</tbody>
|
|
519
|
+
</table>
|
|
500
520
|
<table class="table table-sm table-bordered">
|
|
501
521
|
<tbody>
|
|
502
522
|
<tr>
|
|
@@ -589,7 +609,7 @@
|
|
|
589
609
|
</tr>
|
|
590
610
|
<tr>
|
|
591
611
|
<td class="col-md-4">
|
|
592
|
-
<code>ch()</code>
|
|
612
|
+
<code>ch(fileItem: FileItem)</code>
|
|
593
613
|
</td>
|
|
594
614
|
</tr>
|
|
595
615
|
|
|
@@ -599,10 +619,41 @@
|
|
|
599
619
|
<tr>
|
|
600
620
|
<td class="col-md-4">
|
|
601
621
|
|
|
622
|
+
<div class="io-description">
|
|
623
|
+
<b>Parameters :</b>
|
|
624
|
+
<table class="params">
|
|
625
|
+
<thead>
|
|
626
|
+
<tr>
|
|
627
|
+
<td>Name</td>
|
|
628
|
+
<td>Type</td>
|
|
629
|
+
<td>Optional</td>
|
|
630
|
+
</tr>
|
|
631
|
+
</thead>
|
|
632
|
+
<tbody>
|
|
633
|
+
<tr>
|
|
634
|
+
<td>fileItem</td>
|
|
635
|
+
<td>
|
|
636
|
+
<code>FileItem</code>
|
|
637
|
+
</td>
|
|
638
|
+
|
|
639
|
+
<td>
|
|
640
|
+
No
|
|
641
|
+
</td>
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
</tr>
|
|
645
|
+
</tbody>
|
|
646
|
+
</table>
|
|
647
|
+
</div>
|
|
648
|
+
<div>
|
|
649
|
+
</div>
|
|
602
650
|
<div class="io-description">
|
|
603
651
|
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
|
|
604
652
|
|
|
605
653
|
</div>
|
|
654
|
+
<div class="io-description">
|
|
655
|
+
|
|
656
|
+
</div>
|
|
606
657
|
</td>
|
|
607
658
|
</tr>
|
|
608
659
|
</tbody>
|
|
@@ -1175,40 +1226,6 @@
|
|
|
1175
1226
|
</tr>
|
|
1176
1227
|
|
|
1177
1228
|
|
|
1178
|
-
</tbody>
|
|
1179
|
-
</table>
|
|
1180
|
-
<table class="table table-sm table-bordered">
|
|
1181
|
-
<tbody>
|
|
1182
|
-
<tr>
|
|
1183
|
-
<td class="col-md-4">
|
|
1184
|
-
<a name="progress_p"></a>
|
|
1185
|
-
<span class="name">
|
|
1186
|
-
<b>
|
|
1187
|
-
progress_p
|
|
1188
|
-
</b>
|
|
1189
|
-
<a href="#progress_p"><span class="icon ion-ios-link"></span></a>
|
|
1190
|
-
</span>
|
|
1191
|
-
</td>
|
|
1192
|
-
</tr>
|
|
1193
|
-
<tr>
|
|
1194
|
-
<td class="col-md-4">
|
|
1195
|
-
<code>progress_p: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
1196
|
-
</code>
|
|
1197
|
-
</td>
|
|
1198
|
-
</tr>
|
|
1199
|
-
<tr>
|
|
1200
|
-
<td class="col-md-4">
|
|
1201
|
-
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
1202
|
-
|
|
1203
|
-
</td>
|
|
1204
|
-
</tr>
|
|
1205
|
-
<tr>
|
|
1206
|
-
<td class="col-md-4">
|
|
1207
|
-
<i>Default value : </i><code>0</code>
|
|
1208
|
-
</td>
|
|
1209
|
-
</tr>
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
1229
|
</tbody>
|
|
1213
1230
|
</table>
|
|
1214
1231
|
<table class="table table-sm table-bordered">
|
|
@@ -1356,7 +1373,7 @@
|
|
|
1356
1373
|
<script src="../js/libs/htmlparser.js"></script>
|
|
1357
1374
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
1358
1375
|
<script>
|
|
1359
|
-
var COMPONENT_TEMPLATE = '<div
|
|
1376
|
+
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
1377
|
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
1378
|
var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
|
|
1362
1379
|
var ACTUAL_COMPONENT = {'name': 'FHUploadComponent'};
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
|
|
108
108
|
<div fxLayout="column">
|
|
109
109
|
<div [hidden]="!enabled">
|
|
110
|
-
<FHUpload [single]="b_False" (change)="ref_allegato()" #upc></FHUpload>
|
|
110
|
+
<FHUpload [single]="b_False" [lista_allegati]="arr_g" (change)="ref_allegato()" #upc></FHUpload>
|
|
111
111
|
<br></div>
|
|
112
112
|
|
|
113
113
|
<table width="98%" class="fh_table">
|
|
@@ -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" [lista_allegati]="arr_g" (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
|
@@ -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">
|