@fluxhub/fluxhub-lib 1.0.241 → 1.0.243
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 +37 -53
- 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/FHGridComponent.html +297 -297
- package/docs/components/FHUploadPanelComponent.html +51 -3
- package/docs/components/image_preview.html +2 -2
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/fhgrid.js +19 -17
- package/esm2015/lib/controls/fhuploadpanel.js +33 -3
- package/esm2015/lib/controls/image_preview.js +2 -2
- package/esm2015/lib/services/login.service.js +2 -39
- package/esm5/lib/controls/fhgrid.js +18 -16
- package/esm5/lib/controls/fhuploadpanel.js +21 -2
- package/esm5/lib/controls/image_preview.js +2 -2
- package/esm5/lib/services/login.service.js +2 -40
- package/fesm2015/fluxhub-fluxhub-lib.js +51 -55
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +37 -53
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhuploadpanel.d.ts +1 -0
- package/package.json +1 -1
|
@@ -116,8 +116,15 @@
|
|
|
116
116
|
<th style="width:40px"></th>
|
|
117
117
|
<th style="width:50%">Nome</th>
|
|
118
118
|
<th style="width:60px;text-align:center">Dim.</th>
|
|
119
|
-
|
|
120
|
-
<th style="width:
|
|
119
|
+
|
|
120
|
+
<th style="width:20%" *ngIf="image_type">Descrizione</th>
|
|
121
|
+
<th style="width:10%" *ngIf="image_type">Utente</th>
|
|
122
|
+
<th style="width:40%" *ngIf="image_type"></th>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
<th style="width:50%" *ngIf="!image_type">Descrizione</th>
|
|
127
|
+
<th style="width:30%" *ngIf="!image_type">Utente</th>
|
|
121
128
|
<th style="width:240px;text-align:center">Data</th>
|
|
122
129
|
<th style="width:40px" class="actions"></th>
|
|
123
130
|
<th *ngIf="enabled" style="width:40px" class="actions"></th>
|
|
@@ -135,6 +142,10 @@
|
|
|
135
142
|
<td *ngIf="!b_mobile">{{app.Filename}}</td>
|
|
136
143
|
<td *ngIf="!b_mobile" style="text-align:center">{{app.Filesize}}</td>
|
|
137
144
|
<td *ngIf="!b_mobile">{{app.descrizione}}</td>
|
|
145
|
+
<td style="min-width:400px;min-height: 400px" *ngIf="app.type=='IMG'">
|
|
146
|
+
<image_preview [u]="app"></image_preview>
|
|
147
|
+
|
|
148
|
+
</td>
|
|
138
149
|
<td *ngIf="!b_mobile">{{app.nc}}</td>
|
|
139
150
|
<td *ngIf="!b_mobile" style="text-align:center">{{app.dt_ins | date: 'dd/MM/yyyy HH:mm:ss'}}</td>
|
|
140
151
|
<td *ngIf="!b_mobile" style="text-align:center">
|
|
@@ -206,6 +217,9 @@
|
|
|
206
217
|
<li>
|
|
207
218
|
<a href="#b_mobile">b_mobile</a>
|
|
208
219
|
</li>
|
|
220
|
+
<li>
|
|
221
|
+
<a href="#image_type">image_type</a>
|
|
222
|
+
</li>
|
|
209
223
|
<li>
|
|
210
224
|
<a href="#K">K</a>
|
|
211
225
|
</li>
|
|
@@ -1004,6 +1018,40 @@
|
|
|
1004
1018
|
</tr>
|
|
1005
1019
|
|
|
1006
1020
|
|
|
1021
|
+
</tbody>
|
|
1022
|
+
</table>
|
|
1023
|
+
<table class="table table-sm table-bordered">
|
|
1024
|
+
<tbody>
|
|
1025
|
+
<tr>
|
|
1026
|
+
<td class="col-md-4">
|
|
1027
|
+
<a name="image_type"></a>
|
|
1028
|
+
<span class="name">
|
|
1029
|
+
<b>
|
|
1030
|
+
image_type
|
|
1031
|
+
</b>
|
|
1032
|
+
<a href="#image_type"><span class="icon ion-ios-link"></span></a>
|
|
1033
|
+
</span>
|
|
1034
|
+
</td>
|
|
1035
|
+
</tr>
|
|
1036
|
+
<tr>
|
|
1037
|
+
<td class="col-md-4">
|
|
1038
|
+
<code>image_type: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1039
|
+
</code>
|
|
1040
|
+
</td>
|
|
1041
|
+
</tr>
|
|
1042
|
+
<tr>
|
|
1043
|
+
<td class="col-md-4">
|
|
1044
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
1045
|
+
|
|
1046
|
+
</td>
|
|
1047
|
+
</tr>
|
|
1048
|
+
<tr>
|
|
1049
|
+
<td class="col-md-4">
|
|
1050
|
+
<i>Default value : </i><code>false</code>
|
|
1051
|
+
</td>
|
|
1052
|
+
</tr>
|
|
1053
|
+
|
|
1054
|
+
|
|
1007
1055
|
</tbody>
|
|
1008
1056
|
</table>
|
|
1009
1057
|
<table class="table table-sm table-bordered">
|
|
@@ -1187,7 +1235,7 @@
|
|
|
1187
1235
|
<script src="../js/libs/htmlparser.js"></script>
|
|
1188
1236
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
1189
1237
|
<script>
|
|
1190
|
-
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>'
|
|
1238
|
+
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:20%" *ngIf="image_type">Descrizione</th> <th style="width:10%" *ngIf="image_type">Utente</th> <th style="width:40%" *ngIf="image_type"></th> <th style="width:50%" *ngIf="!image_type">Descrizione</th> <th style="width:30%" *ngIf="!image_type">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 style="min-width:400px;min-height: 400px" *ngIf="app.type==\'IMG\'"> <image_preview [u]="app"></image_preview> </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>'
|
|
1191
1239
|
var COMPONENTS = [{'name': 'ApprovaGridComponent', 'selector': 'approva-cell'},{'name': 'ComboBoxEditor', 'selector': 'editor-cell'},{'name': 'CurrencyComponent', 'selector': 'currency-cell'},{'name': 'DateComponent', 'selector': 'editor-cell'},{'name': 'DtPick', 'selector': 'DtPicker'},{'name': 'FHAutoCompleteComponent', 'selector': 'FHAutoComplete'},{'name': 'FHComboboxComponent', 'selector': 'FHComboBox'},{'name': 'FHConfirmComponent', 'selector': ''},{'name': 'FHCurrencyFieldComponent', 'selector': 'FHCurrencyField'},{'name': 'FHDatePickerComponent', 'selector': 'FHDatePicker'},{'name': 'FHGridComponent', 'selector': 'FHGrid'},{'name': 'FHGridJSONComponent', 'selector': 'FHGridJSON'},{'name': 'FHGridToolBarComponent', 'selector': 'FHGridToolBar'},{'name': 'FHListComponent', 'selector': 'FHList'},{'name': 'FHListPick', 'selector': 'fhwincomboselect'},{'name': 'FHLogPanelComponent', 'selector': 'FHLogPanel'},{'name': 'FHMdReader', 'selector': 'FHMdReader'},{'name': 'FHNumericFieldComponent', 'selector': 'FHNumericField'},{'name': 'FHPickListComponent', 'selector': 'FHPickList'},{'name': 'FHRichText', 'selector': 'FHRichText'},{'name': 'FHTimePickerComponent', 'selector': 'FHTimePicker'},{'name': 'FHUploadComponent', 'selector': 'FHUpload'},{'name': 'FHUploadPanelComponent', 'selector': 'FHUploadPanel'},{'name': 'FHUserFieldComponent', 'selector': 'FHUserField'},{'name': 'FHUserPickerComponent', 'selector': 'FHPickUsers'},{'name': 'FHWinComboSelect', 'selector': 'fhwincomboselect'},{'name': 'FormBuilderComponent', 'selector': 'FHFormBuilder'},{'name': 'FormExecuterComponent', 'selector': 'FHFormExecuter'},{'name': 'FSInput', 'selector': ''},{'name': 'FSResult', 'selector': ''},{'name': 'image_preview', 'selector': 'image_preview'},{'name': 'ImageViewerComponent', 'selector': 'fh-image-viewer'},{'name': 'NumericEditorComponent', 'selector': 'numeric-cell'},{'name': 'QGParam', 'selector': ''},{'name': 'QGResult', 'selector': ''},{'name': 'QParam', 'selector': ''},{'name': 'QResult', 'selector': ''},{'name': 'TextAreaEditor', 'selector': 'editor-cell'},{'name': 'win_assegna', 'selector': ''},{'name': 'win_commenti', 'selector': ''},{'name': 'win_commento_sel_notif', 'selector': ''},{'name': 'win_conferma', 'selector': ''},{'name': 'win_grid_help', 'selector': ''},{'name': 'win_info_doc', 'selector': ''},{'name': 'win_log', 'selector': ''},{'name': 'win_mappa', 'selector': ''},{'name': 'win_recupera_doc', 'selector': ''},{'name': 'win_riassegna_select_level', 'selector': ''},{'name': 'win_riassegna_select_user', 'selector': ''},{'name': 'win_salva_annulla', 'selector': ''},{'name': 'win_select_canale', 'selector': ''},{'name': 'win_select_level', 'selector': ''},{'name': 'win_show_image', 'selector': ''},{'name': 'win_time_slider', 'selector': 'fhtimeslider'},{'name': 'win_uploads', 'selector': 'wkf_win_upload'},{'name': 'WinAskButtonsComponent', 'selector': 'app-win_ask_buttons'},{'name': 'WinAskNumberComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextBigComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextComponent', 'selector': 'app-win_ask_text'},{'name': 'WinOutputComponent', 'selector': 'app-win_output'},{'name': 'WinWait', 'selector': 'fhwincomboselect'},{'name': 'wkf_header_bar', 'selector': 'wkf_header_bar'}];
|
|
1192
1240
|
var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'},{'name': 'ToggleFullscreenDirective', 'selector': '[ngxToggleFullscreen]'}];
|
|
1193
1241
|
var ACTUAL_COMPONENT = {'name': 'FHUploadPanelComponent'};
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
<tr>
|
|
101
101
|
<td class="col-md-3">template</td>
|
|
102
102
|
<td class="col-md-9"><pre class="line-numbers"><code class="language-html">
|
|
103
|
-
<fh-image-viewer (init)="init()" (fullScreenEvent)="fullScreenEvent()" [config]="config_photo_big"
|
|
103
|
+
<fh-image-viewer (init)="init()" (fullScreenEvent)="fullScreenEvent()" [config]="config_photo_big" *ngIf="u?.image_thumbnail?.length>0" #photo_c [src]="u.image_thumbnail" index="0"></fh-image-viewer>
|
|
104
104
|
|
|
105
105
|
|
|
106
106
|
</code></pre></td>
|
|
@@ -829,7 +829,7 @@
|
|
|
829
829
|
<script src="../js/libs/htmlparser.js"></script>
|
|
830
830
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
831
831
|
<script>
|
|
832
|
-
var COMPONENT_TEMPLATE = '<div><fh-image-viewer (init)="init()" (fullScreenEvent)="fullScreenEvent()" [config]="config_photo_big"
|
|
832
|
+
var COMPONENT_TEMPLATE = '<div><fh-image-viewer (init)="init()" (fullScreenEvent)="fullScreenEvent()" [config]="config_photo_big" *ngIf="u?.image_thumbnail?.length>0" #photo_c [src]="u.image_thumbnail" index="0"></fh-image-viewer></div>'
|
|
833
833
|
var COMPONENTS = [{'name': 'ApprovaGridComponent', 'selector': 'approva-cell'},{'name': 'ComboBoxEditor', 'selector': 'editor-cell'},{'name': 'CurrencyComponent', 'selector': 'currency-cell'},{'name': 'DateComponent', 'selector': 'editor-cell'},{'name': 'DtPick', 'selector': 'DtPicker'},{'name': 'FHAutoCompleteComponent', 'selector': 'FHAutoComplete'},{'name': 'FHComboboxComponent', 'selector': 'FHComboBox'},{'name': 'FHConfirmComponent', 'selector': ''},{'name': 'FHCurrencyFieldComponent', 'selector': 'FHCurrencyField'},{'name': 'FHDatePickerComponent', 'selector': 'FHDatePicker'},{'name': 'FHGridComponent', 'selector': 'FHGrid'},{'name': 'FHGridJSONComponent', 'selector': 'FHGridJSON'},{'name': 'FHGridToolBarComponent', 'selector': 'FHGridToolBar'},{'name': 'FHListComponent', 'selector': 'FHList'},{'name': 'FHListPick', 'selector': 'fhwincomboselect'},{'name': 'FHLogPanelComponent', 'selector': 'FHLogPanel'},{'name': 'FHMdReader', 'selector': 'FHMdReader'},{'name': 'FHNumericFieldComponent', 'selector': 'FHNumericField'},{'name': 'FHPickListComponent', 'selector': 'FHPickList'},{'name': 'FHRichText', 'selector': 'FHRichText'},{'name': 'FHTimePickerComponent', 'selector': 'FHTimePicker'},{'name': 'FHUploadComponent', 'selector': 'FHUpload'},{'name': 'FHUploadPanelComponent', 'selector': 'FHUploadPanel'},{'name': 'FHUserFieldComponent', 'selector': 'FHUserField'},{'name': 'FHUserPickerComponent', 'selector': 'FHPickUsers'},{'name': 'FHWinComboSelect', 'selector': 'fhwincomboselect'},{'name': 'FormBuilderComponent', 'selector': 'FHFormBuilder'},{'name': 'FormExecuterComponent', 'selector': 'FHFormExecuter'},{'name': 'FSInput', 'selector': ''},{'name': 'FSResult', 'selector': ''},{'name': 'image_preview', 'selector': 'image_preview'},{'name': 'ImageViewerComponent', 'selector': 'fh-image-viewer'},{'name': 'NumericEditorComponent', 'selector': 'numeric-cell'},{'name': 'QGParam', 'selector': ''},{'name': 'QGResult', 'selector': ''},{'name': 'QParam', 'selector': ''},{'name': 'QResult', 'selector': ''},{'name': 'TextAreaEditor', 'selector': 'editor-cell'},{'name': 'win_assegna', 'selector': ''},{'name': 'win_commenti', 'selector': ''},{'name': 'win_commento_sel_notif', 'selector': ''},{'name': 'win_conferma', 'selector': ''},{'name': 'win_grid_help', 'selector': ''},{'name': 'win_info_doc', 'selector': ''},{'name': 'win_log', 'selector': ''},{'name': 'win_mappa', 'selector': ''},{'name': 'win_recupera_doc', 'selector': ''},{'name': 'win_riassegna_select_level', 'selector': ''},{'name': 'win_riassegna_select_user', 'selector': ''},{'name': 'win_salva_annulla', 'selector': ''},{'name': 'win_select_canale', 'selector': ''},{'name': 'win_select_level', 'selector': ''},{'name': 'win_show_image', 'selector': ''},{'name': 'win_time_slider', 'selector': 'fhtimeslider'},{'name': 'win_uploads', 'selector': 'wkf_win_upload'},{'name': 'WinAskButtonsComponent', 'selector': 'app-win_ask_buttons'},{'name': 'WinAskNumberComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextBigComponent', 'selector': 'app-win_ask_text'},{'name': 'WinAskTextComponent', 'selector': 'app-win_ask_text'},{'name': 'WinOutputComponent', 'selector': 'app-win_output'},{'name': 'WinWait', 'selector': 'fhwincomboselect'},{'name': 'wkf_header_bar', 'selector': 'wkf_header_bar'}];
|
|
834
834
|
var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'},{'name': 'ToggleFullscreenDirective', 'selector': '[ngxToggleFullscreen]'}];
|
|
835
835
|
var ACTUAL_COMPONENT = {'name': 'image_preview'};
|
package/docs/coverage.html
CHANGED