@fluxhub/fluxhub-lib 1.0.152 → 1.0.156
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 +15 -13
- 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 +1 -1
- package/docs/components/FHGridToolBarComponent.html +2 -2
- package/docs/components/FHPickListComponent.html +109 -95
- package/docs/components/FHUserPickerComponent.html +73 -74
- package/docs/components/win_assegna.html +2 -2
- package/docs/components/win_commenti.html +67 -8
- package/docs/components/win_log.html +121 -68
- package/docs/components/win_riassegna_select_user.html +9 -5
- package/docs/components/win_uploads.html +34 -12
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/fhgrid.js +2 -2
- package/esm2015/lib/controls/fhgrid_toolbar.js +2 -2
- package/esm2015/lib/controls/fhuserpicker.js +52 -54
- package/esm2015/lib/controls/fhwinpicklist.js +47 -36
- package/esm2015/lib/wkf_engine/win_assegna.js +2 -2
- package/esm2015/lib/wkf_engine/win_commenti.js +36 -9
- package/esm2015/lib/wkf_engine/win_log.js +41 -20
- package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +9 -5
- package/esm2015/lib/wkf_engine/win_uploads.js +19 -8
- package/esm5/lib/controls/fhgrid.js +2 -2
- package/esm5/lib/controls/fhgrid_toolbar.js +2 -2
- package/esm5/lib/controls/fhuserpicker.js +3 -3
- package/esm5/lib/controls/fhwinpicklist.js +3 -3
- package/esm5/lib/wkf_engine/win_assegna.js +2 -2
- package/esm5/lib/wkf_engine/win_commenti.js +3 -2
- package/esm5/lib/wkf_engine/win_log.js +3 -2
- package/esm5/lib/wkf_engine/win_riassegna_select_user.js +2 -2
- package/esm5/lib/wkf_engine/win_uploads.js +3 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +203 -131
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +16 -14
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -4348,7 +4348,7 @@
|
|
|
4348
4348
|
<script src="../js/libs/htmlparser.js"></script>
|
|
4349
4349
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
4350
4350
|
<script>
|
|
4351
|
-
var COMPONENT_TEMPLATE = '<div><div fxLayout="column" fxLayoutAlign="stretch" fxFlexFill> <div fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="start center" style="min-height: 55px" [hidden]="!show_buttons"> <div> <h5>{{num_r}} {{label_elementi}}</h5> </div> <input matInput [placeholder]="trova_label" (keydown)="keyDownFunctioncl($event)" [(ngModel)]="ric_libera" style="min-width:100px;max-width:180px;border:1px solid;min-height:30px"> <div matTooltip="REMOVE FILTER" matTooltipPosition="above"
|
|
4351
|
+
var COMPONENT_TEMPLATE = '<div><div fxLayout="column" fxLayoutAlign="stretch" fxFlexFill> <div fxLayout="row" fxLayoutGap="3px" fxLayoutAlign="start center" style="min-height: 55px" [hidden]="!show_buttons"> <div> <h5>{{num_r}} {{label_elementi}}</h5> </div> <input matInput [placeholder]="trova_label" (keydown)="keyDownFunctioncl($event)" [(ngModel)]="ric_libera" style="min-width:100px;max-width:180px;border:1px solid;min-height:30px"> <div matTooltip="REMOVE FILTER" matTooltipPosition="above" *ngIf="show_pulisci_filtri" > <button mat-raised-button (click)="pulisci_filtri()" color="warn"> <mat-icon>filter_none</mat-icon> </button> </div> <div fxHide fxShow.gt-sm matTooltip="AUTO SIZE" matTooltipPosition="above"> <button mat-raised-button (click)="autoSizeAll()" color="accent" *ngIf="show_buttons"> <mat-icon>photo_size_select_small</mat-icon> </button> </div> <div fxHide fxShow.gt-sm matTooltip="FIT SIZE" matTooltipPosition="above"> <button mat-raised-button (click)="fitSizeAll()" color="accent" *ngIf="show_buttons"> <mat-icon>aspect_ratio</mat-icon> </button> </div> <FHComboBox fxHide fxShow.gt-sm [hidden]=\'!show_buttons\' (selchange)="ch_config()" (fillend)="fe_cfg()" #gf init_fill="false"></FHComboBox> <div matTooltip="Modifica Preferenza" matTooltipPosition="above" *ngIf="curr_config!=\'-1\'"> <button mat-icon-button *ngIf="show_buttons" style="color:rgb(248, 105, 10)"> <mat-icon (click)="edit_config()">save</mat-icon> </button> </div> <div fxHide fxShow.gt-sm matTooltip="Crea Nuova Preferenza" matTooltipPosition="above"> <button mat-icon-button style="color:rgb(16, 98, 16)" *ngIf="show_buttons"> <mat-icon (click)="insert_config()">library_add</mat-icon> </button> </div> <mat-slide-toggle fxHide fxShow.gt-sm [hidden]=\'!show_buttons\' (click)="ck_flag()" #toggle_mantieni> {{mantieni_impostazioni}} </mat-slide-toggle> <div fxHide fxShow.gt-sm matTooltip="HELP" matTooltipPosition="above"> <button mat-raised-button (click)="help_window()" color="accent" *ngIf="show_buttons && show_help" > <mat-icon>help</mat-icon> </button></div> <div fxLayout="row" fxLayoutAlign="end center" fxFlex> <FHGridToolBar (command)="docmd($event)" [type]="toolbar_type" [custom_commands]="toolbar_custom_commands" [toolbar_wkfapp]="toolbar_wkfapp" ></FHGridToolBar> </div></div> <div fxLayout="row" fxLayoutAlign="stretch" fxFlex="95"><ag-grid-angular ref-agGrid style="width:100%;height:100%;" (cellDoubleClicked)="onColumnEvent($event)" (cellClicked)="onCellClicked($event)" [headerHeight]="header_h" [groupHeaderHeight]="header_h" class="ag-theme-balham" [singleClickEdit]="true" [gridOptions]="gridOptions" [columnDefs]="columnDefs" [rowData]="rowData" enableColResize enableServerSideSorting enableServerSideFilter enableColResize (afterFilterChanged)="onAfterFilterChanged()" (filterModified)="onFilterModified()" (rowDoubleClicked)="onRowDClicked($event)" (rowClicked)="onRowClicked($event)" (columnVisible)="oncolumnEverythingChanged($event)" (columnResized)="oncolumnEverythingChanged($event)" (columnMoved)="oncolumnEverythingChanged($event)" (cellValueChanged)="okr($event)" (sortChanged)="onAfterSortChanged()" [paginationPageSize]="num_per_pag" (gridReady)="onReady($event)"></ag-grid-angular></div></div></div>'
|
|
4352
4352
|
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'}];
|
|
4353
4353
|
var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
|
|
4354
4354
|
var ACTUAL_COMPONENT = {'name': 'FHGridComponent'};
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
|
|
101
101
|
<button mat-raised-button (click)="insert_doc()" *ngIf="toolbar_wkfapp?.is_Ins" color="primary"><mat-icon>note_add</mat-icon>&nbsp;&nbsp;&nbsp;{{'INSERISCI' | translate}}</button>&nbsp;&nbsp;&nbsp;
|
|
102
102
|
|
|
103
|
-
<button mat-raised-button color="warn" mat-button [matMenuTriggerFor]="gest_menu" *ngIf="toolbar_wkfapp?.is_Supervisor">{{'Gestione' | translate}}</button>
|
|
103
|
+
<button mat-raised-button color="warn" mat-button fxHide fxShow.gt-sm [matMenuTriggerFor]="gest_menu" *ngIf="toolbar_wkfapp?.is_Supervisor">{{'Gestione' | translate}}</button>
|
|
104
104
|
<mat-menu #gest_menu="matMenu" >
|
|
105
105
|
<button mat-menu-item (click)="annulla_richiesta()"> {{'ANNULLA DOCUMENTO' | translate}} </button>
|
|
106
106
|
<button mat-menu-item (click)="recupera_richiesta()"> {{'RECUPERA DOCUMENTO' | translate}} </button>
|
|
@@ -682,7 +682,7 @@
|
|
|
682
682
|
<script src="../js/libs/htmlparser.js"></script>
|
|
683
683
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
684
684
|
<script>
|
|
685
|
-
var COMPONENT_TEMPLATE = '<div><div *ngIf="type==\'WKF\'" fxLayoutGap="3px" fxLayout="row" fxFlex="100" fxLayoutAlign="end center" style="background-color: #CC0000"> <mat-toolbar> <div fxLayout="row" fxLayoutGap="3px"> <button mat-raised-button (click)="insert_doc()" *ngIf="toolbar_wkfapp?.is_Ins" color="primary"><mat-icon>note_add</mat-icon> {{\'INSERISCI\' | translate}}</button> <button mat-raised-button color="warn" mat-button [matMenuTriggerFor]="gest_menu" *ngIf="toolbar_wkfapp?.is_Supervisor">{{\'Gestione\' | translate}}</button> <mat-menu #gest_menu="matMenu" > <button mat-menu-item (click)="annulla_richiesta()"> {{\'ANNULLA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="recupera_richiesta()"> {{\'RECUPERA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="riassegna_richiesta()"> {{\'RIASSEGNA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="test_utente()" *ngIf="toolbar_wkfapp?.is_Admin"> {{\'TEST UTENTE\' | translate}} </button> </mat-menu> <button mat-raised-button (click)="annulla_imp()" *ngIf="toolbar_wkfapp?.imp!=\'\'"> {{toolbar_wkfapp?.imp}} </button> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div> </div> </mat-toolbar></div><div *ngIf="type==\'INSERT_DELETE\'" fxLayoutGap="3px" fxLayout="row"> <mat-toolbar> <div fxLayout="row" fxLayoutGap="3px"> <button mat-raised-button (click)="new_doc()" color="primary"> <mat-icon>note_add</mat-icon> {{\'INSERISCI\' | translate}} </button> <button mat-raised-button (click)="del_doc()" color="warn"> <mat-icon>delete</mat-icon> {{\'ELIMINA\' | translate}} </button> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div> </div> </mat-toolbar></div><div *ngIf="type==\'CUSTOM\'" fxLayoutGap="3px" fxLayout="row"> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div></div></div>'
|
|
685
|
+
var COMPONENT_TEMPLATE = '<div><div *ngIf="type==\'WKF\'" fxLayoutGap="3px" fxLayout="row" fxFlex="100" fxLayoutAlign="end center" style="background-color: #CC0000"> <mat-toolbar> <div fxLayout="row" fxLayoutGap="3px"> <button mat-raised-button (click)="insert_doc()" *ngIf="toolbar_wkfapp?.is_Ins" color="primary"><mat-icon>note_add</mat-icon> {{\'INSERISCI\' | translate}}</button> <button mat-raised-button color="warn" mat-button fxHide fxShow.gt-sm [matMenuTriggerFor]="gest_menu" *ngIf="toolbar_wkfapp?.is_Supervisor">{{\'Gestione\' | translate}}</button> <mat-menu #gest_menu="matMenu" > <button mat-menu-item (click)="annulla_richiesta()"> {{\'ANNULLA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="recupera_richiesta()"> {{\'RECUPERA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="riassegna_richiesta()"> {{\'RIASSEGNA DOCUMENTO\' | translate}} </button> <button mat-menu-item (click)="test_utente()" *ngIf="toolbar_wkfapp?.is_Admin"> {{\'TEST UTENTE\' | translate}} </button> </mat-menu> <button mat-raised-button (click)="annulla_imp()" *ngIf="toolbar_wkfapp?.imp!=\'\'"> {{toolbar_wkfapp?.imp}} </button> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div> </div> </mat-toolbar></div><div *ngIf="type==\'INSERT_DELETE\'" fxLayoutGap="3px" fxLayout="row"> <mat-toolbar> <div fxLayout="row" fxLayoutGap="3px"> <button mat-raised-button (click)="new_doc()" color="primary"> <mat-icon>note_add</mat-icon> {{\'INSERISCI\' | translate}} </button> <button mat-raised-button (click)="del_doc()" color="warn"> <mat-icon>delete</mat-icon> {{\'ELIMINA\' | translate}} </button> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div> </div> </mat-toolbar></div><div *ngIf="type==\'CUSTOM\'" fxLayoutGap="3px" fxLayout="row"> <div *ngFor="let app of custom_commands" ><button mat-raised-button [color]="app.color" (click)="exec_command(app.command)">{{app.label | translate}}</button> </div></div></div>'
|
|
686
686
|
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'}];
|
|
687
687
|
var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
|
|
688
688
|
var ACTUAL_COMPONENT = {'name': 'FHGridToolBarComponent'};
|
|
@@ -93,99 +93,110 @@
|
|
|
93
93
|
<tr>
|
|
94
94
|
<td class="col-md-3">styles</td>
|
|
95
95
|
<td class="col-md-9"><code>
|
|
96
|
+
|
|
97
|
+
table thead tr {
|
|
98
|
+
padding: 10px;
|
|
99
|
+
font-size: 14px;
|
|
100
|
+
font-weight: bold;
|
|
101
|
+
color: white;
|
|
102
|
+
background-color: #015488
|
|
103
|
+
}
|
|
104
|
+
table thead tr th {
|
|
105
|
+
padding: 10px;
|
|
106
|
+
}
|
|
107
|
+
table tbody tr td {
|
|
108
|
+
font-size: 12px;
|
|
109
|
+
padding: 10px;
|
|
110
|
+
vertical-align: middle;
|
|
111
|
+
}
|
|
112
|
+
table tbody tr {
|
|
113
|
+
border: 1px solid black;
|
|
114
|
+
vertical-align: middle;
|
|
115
|
+
}
|
|
96
116
|
.selector:hover {
|
|
97
|
-
background-color: #
|
|
117
|
+
background-color: #B3B1B1;
|
|
98
118
|
cursor: pointer;
|
|
99
119
|
}
|
|
100
120
|
|
|
101
121
|
.active {
|
|
102
|
-
background-color: #
|
|
122
|
+
background-color: #CC6633;
|
|
103
123
|
cursor: pointer;
|
|
104
124
|
}
|
|
105
125
|
|
|
106
|
-
.fabeOut {
|
|
107
|
-
display: block;
|
|
108
|
-
background-color: rgba(0, 0, 0, .5);
|
|
109
|
-
position: fixed;
|
|
110
|
-
top: 0;
|
|
111
|
-
bottom: 0;
|
|
112
|
-
left: 0;
|
|
113
|
-
right: 0;
|
|
114
|
-
|
|
115
|
-
pointer-events: auto;
|
|
116
|
-
-webkit-transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
117
|
-
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.cardFloat {
|
|
121
|
-
|
|
122
|
-
}
|
|
123
126
|
|
|
124
127
|
</code></td>
|
|
125
128
|
</tr>
|
|
126
129
|
|
|
127
130
|
<tr>
|
|
128
131
|
<td class="col-md-3">template</td>
|
|
129
|
-
<td class="col-md-9"><pre class="line-numbers"><code class="language-html"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
<
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
<
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
<
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
</button>
|
|
155
|
-
<br><br>
|
|
156
|
-
<button mat-raised-button (click)="do_rem()" [disabled]="option">
|
|
157
|
-
<mat-icon>delete</mat-icon>
|
|
158
|
-
</button>
|
|
159
|
-
</div>
|
|
160
|
-
</div>
|
|
161
|
-
<div fxLayout="column" fxFlex="41%">
|
|
162
|
-
<div style="text-align: center;">
|
|
163
|
-
<b>Valori Selezionati</b>
|
|
164
|
-
</div>
|
|
165
|
-
|
|
166
|
-
<div style="width:100%;height:250px;overflow:auto;">
|
|
167
|
-
|
|
168
|
-
<table class="table table-striped table-hover">
|
|
169
|
-
<tbody>
|
|
170
|
-
<tr *ngFor="let u of value_sel" (click)="removeTo(u)" (dblclick)="do_rem()" class="selector"
|
|
171
|
-
[ngClass]="{ 'active': selectedRemove == u }">
|
|
172
|
-
<td>{{u.descrizione_valore}}</td>
|
|
173
|
-
|
|
174
|
-
</tr>
|
|
175
|
-
</tbody>
|
|
176
|
-
</table>
|
|
177
|
-
</div>
|
|
178
|
-
</div>
|
|
132
|
+
<td class="col-md-9"><pre class="line-numbers"><code class="language-html">
|
|
133
|
+
<div fxLayout="column" fxLayoutGap="15px" fxFlex style="width:600px;height:400px">
|
|
134
|
+
<div fxLayout="row" style="width:550">
|
|
135
|
+
<div fxLayout="column" fxFlex="41%">
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
<div style="width:100%;height:420px;overflow:auto;">
|
|
139
|
+
<table style="width: 100%">
|
|
140
|
+
<thead>
|
|
141
|
+
<tr>
|
|
142
|
+
<th>VALORI SELEZIONABILI</th>
|
|
143
|
+
</tr>
|
|
144
|
+
</thead>
|
|
145
|
+
|
|
146
|
+
<tbody>
|
|
147
|
+
<tr><td> <input [(ngModel)]="fltr_user" (ngModelChange)="filtra()" style='padding:8px;margin:15px auto;width:100%;'
|
|
148
|
+
placeholder='Ricerca...'>
|
|
149
|
+
</td></tr>
|
|
150
|
+
<tr *ngFor="let u of value_list_sel;let odd=odd; let even=even;" [ngClass]="{ odd: odd, even: even }" (click)="addTo(u)" (dblclick)="do_add()" class="selector"
|
|
151
|
+
[ngClass]="{ 'active': selectedAdd == u }">
|
|
152
|
+
<td>{{u.descrizione_valore}}</td>
|
|
153
|
+
|
|
154
|
+
</tr>
|
|
155
|
+
</tbody>
|
|
156
|
+
</table>
|
|
179
157
|
</div>
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
158
|
+
</div>
|
|
159
|
+
<div fxLayout="column" fxFlex="18%"
|
|
160
|
+
style="height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);">
|
|
161
|
+
<div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);">
|
|
162
|
+
<button mat-raised-button (click)="do_add()" [disabled]="!option">
|
|
163
|
+
<mat-icon>arrow_forward</mat-icon>
|
|
164
|
+
</button>
|
|
165
|
+
<br><br>
|
|
166
|
+
<button mat-raised-button (click)="do_rem()" [disabled]="option">
|
|
167
|
+
<mat-icon>delete</mat-icon>
|
|
168
|
+
</button>
|
|
184
169
|
</div>
|
|
185
170
|
</div>
|
|
186
|
-
|
|
171
|
+
<div fxLayout="column" fxFlex="41%">
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
<div style="width:100%;height:420px;overflow:auto;">
|
|
175
|
+
|
|
176
|
+
<table style="width: 100%">
|
|
177
|
+
<thead>
|
|
178
|
+
<tr>
|
|
179
|
+
<th>VALORI SELEZIONATI</th>
|
|
180
|
+
</tr>
|
|
181
|
+
</thead>
|
|
182
|
+
<tbody>
|
|
183
|
+
<tr *ngFor="let u of value_sel;let odd=odd; let even=even;" (mouseover)="selectedRemove=u" [ngClass]="{ odd: odd, even: even }" (click)="removeTo(u)" (dblclick)="do_rem()" class="selector"
|
|
184
|
+
[ngClass]="{ 'active': selectedRemove == u }">
|
|
185
|
+
<td>{{u.descrizione_valore}}</td>
|
|
186
|
+
|
|
187
|
+
</tr>
|
|
188
|
+
</tbody>
|
|
189
|
+
</table>
|
|
190
|
+
</div>
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
<br><br>
|
|
194
|
+
<div fxLayout="row" fxLayoutAlign="center center" fxLayoutGap="5px">
|
|
195
|
+
<button mat-raised-button color="primary" (click)="ok()">Ok</button>&nbsp;&nbsp;&nbsp;
|
|
196
|
+
<button mat-raised-button (click)="dialogRef.close()">Annulla</button>
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
187
199
|
|
|
188
|
-
</mat-card>
|
|
189
200
|
</code></pre></td>
|
|
190
201
|
</tr>
|
|
191
202
|
|
|
@@ -1491,33 +1502,36 @@
|
|
|
1491
1502
|
|
|
1492
1503
|
<div class="tab-pane fade " id="c-styleData">
|
|
1493
1504
|
<pre class="line-numbers"><code class="language-scss">
|
|
1505
|
+
|
|
1506
|
+
table thead tr {
|
|
1507
|
+
padding: 10px;
|
|
1508
|
+
font-size: 14px;
|
|
1509
|
+
font-weight: bold;
|
|
1510
|
+
color: white;
|
|
1511
|
+
background-color: #015488
|
|
1512
|
+
}
|
|
1513
|
+
table thead tr th {
|
|
1514
|
+
padding: 10px;
|
|
1515
|
+
}
|
|
1516
|
+
table tbody tr td {
|
|
1517
|
+
font-size: 12px;
|
|
1518
|
+
padding: 10px;
|
|
1519
|
+
vertical-align: middle;
|
|
1520
|
+
}
|
|
1521
|
+
table tbody tr {
|
|
1522
|
+
border: 1px solid black;
|
|
1523
|
+
vertical-align: middle;
|
|
1524
|
+
}
|
|
1494
1525
|
.selector:hover {
|
|
1495
|
-
background-color: #
|
|
1526
|
+
background-color: #B3B1B1;
|
|
1496
1527
|
cursor: pointer;
|
|
1497
1528
|
}
|
|
1498
1529
|
|
|
1499
1530
|
.active {
|
|
1500
|
-
background-color: #
|
|
1531
|
+
background-color: #CC6633;
|
|
1501
1532
|
cursor: pointer;
|
|
1502
1533
|
}
|
|
1503
1534
|
|
|
1504
|
-
.fabeOut {
|
|
1505
|
-
display: block;
|
|
1506
|
-
background-color: rgba(0, 0, 0, .5);
|
|
1507
|
-
position: fixed;
|
|
1508
|
-
top: 0;
|
|
1509
|
-
bottom: 0;
|
|
1510
|
-
left: 0;
|
|
1511
|
-
right: 0;
|
|
1512
|
-
|
|
1513
|
-
pointer-events: auto;
|
|
1514
|
-
-webkit-transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
1515
|
-
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
1516
|
-
}
|
|
1517
|
-
|
|
1518
|
-
.cardFloat {
|
|
1519
|
-
|
|
1520
|
-
}
|
|
1521
1535
|
|
|
1522
1536
|
|
|
1523
1537
|
</code></pre>
|
|
@@ -1548,7 +1562,7 @@
|
|
|
1548
1562
|
<script src="../js/libs/htmlparser.js"></script>
|
|
1549
1563
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
1550
1564
|
<script>
|
|
1551
|
-
var COMPONENT_TEMPLATE = '<div><
|
|
1565
|
+
var COMPONENT_TEMPLATE = '<div><div fxLayout="column" fxLayoutGap="15px" fxFlex style="width:600px;height:400px"> <div fxLayout="row" style="width:550"> <div fxLayout="column" fxFlex="41%"> <div style="width:100%;height:420px;overflow:auto;"> <table style="width: 100%"> <thead> <tr> <th>VALORI SELEZIONABILI</th> </tr> </thead> <tbody> <tr><td> <input [(ngModel)]="fltr_user" (ngModelChange)="filtra()" style=\'padding:8px;margin:15px auto;width:100%;\' placeholder=\'Ricerca...\'> </td></tr> <tr *ngFor="let u of value_list_sel;let odd=odd; let even=even;" [ngClass]="{ odd: odd, even: even }" (click)="addTo(u)" (dblclick)="do_add()" class="selector" [ngClass]="{ \'active\': selectedAdd == u }"> <td>{{u.descrizione_valore}}</td> </tr> </tbody> </table> </div> </div> <div fxLayout="column" fxFlex="18%" style="height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);"> <div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);"> <button mat-raised-button (click)="do_add()" [disabled]="!option"> <mat-icon>arrow_forward</mat-icon> </button> <br><br> <button mat-raised-button (click)="do_rem()" [disabled]="option"> <mat-icon>delete</mat-icon> </button> </div> </div> <div fxLayout="column" fxFlex="41%"> <div style="width:100%;height:420px;overflow:auto;"> <table style="width: 100%"> <thead> <tr> <th>VALORI SELEZIONATI</th> </tr> </thead> <tbody> <tr *ngFor="let u of value_sel;let odd=odd; let even=even;" (mouseover)="selectedRemove=u" [ngClass]="{ odd: odd, even: even }" (click)="removeTo(u)" (dblclick)="do_rem()" class="selector" [ngClass]="{ \'active\': selectedRemove == u }"> <td>{{u.descrizione_valore}}</td> </tr> </tbody> </table> </div> </div> </div> <br><br> <div fxLayout="row" fxLayoutAlign="center center" fxLayoutGap="5px"> <button mat-raised-button color="primary" (click)="ok()">Ok</button> <button mat-raised-button (click)="dialogRef.close()">Annulla</button> </div></div></div>'
|
|
1552
1566
|
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'}];
|
|
1553
1567
|
var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
|
|
1554
1568
|
var ACTUAL_COMPONENT = {'name': 'FHPickListComponent'};
|
|
@@ -93,66 +93,68 @@
|
|
|
93
93
|
<tr>
|
|
94
94
|
<td class="col-md-3">styles</td>
|
|
95
95
|
<td class="col-md-9"><code>
|
|
96
|
+
table thead tr {
|
|
97
|
+
padding: 10px;
|
|
98
|
+
font-size: 14px;
|
|
99
|
+
font-weight: bold;
|
|
100
|
+
color: white;
|
|
101
|
+
background-color: #015488
|
|
102
|
+
}
|
|
103
|
+
table thead tr th {
|
|
104
|
+
padding: 10px;
|
|
105
|
+
}
|
|
106
|
+
table tbody tr td {
|
|
107
|
+
font-size: 12px;
|
|
108
|
+
padding: 10px;
|
|
109
|
+
vertical-align: middle;
|
|
110
|
+
}
|
|
111
|
+
table tbody tr {
|
|
112
|
+
border: 1px solid black;
|
|
113
|
+
vertical-align: middle;
|
|
114
|
+
}
|
|
96
115
|
.selector:hover {
|
|
97
|
-
background-color: #
|
|
116
|
+
background-color: #B3B1B1;
|
|
98
117
|
cursor: pointer;
|
|
99
118
|
}
|
|
100
119
|
|
|
101
120
|
.active {
|
|
102
|
-
background-color: #
|
|
121
|
+
background-color: #CC6633;
|
|
103
122
|
cursor: pointer;
|
|
104
123
|
}
|
|
105
124
|
|
|
106
|
-
.fabeOut {
|
|
107
|
-
display: block;
|
|
108
|
-
background-color: rgba(0, 0, 0, .5);
|
|
109
|
-
position: fixed;
|
|
110
|
-
top: 0;
|
|
111
|
-
bottom: 0;
|
|
112
|
-
left: 0;
|
|
113
|
-
right: 0;
|
|
114
|
-
|
|
115
|
-
pointer-events: auto;
|
|
116
|
-
-webkit-transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
117
|
-
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
.cardFloat {
|
|
121
|
-
|
|
122
|
-
}
|
|
123
|
-
|
|
124
125
|
</code></td>
|
|
125
126
|
</tr>
|
|
126
127
|
|
|
127
128
|
<tr>
|
|
128
129
|
<td class="col-md-3">template</td>
|
|
129
|
-
<td class="col-md-9"><pre class="line-numbers"><code class="language-html"><
|
|
130
|
-
<
|
|
131
|
-
|
|
132
|
-
<mat-card>
|
|
133
|
-
<mat-card-content>
|
|
134
|
-
<div fxLayout="column">
|
|
130
|
+
<td class="col-md-9"><pre class="line-numbers"><code class="language-html"><mat-dialog-content>
|
|
131
|
+
<br><br>
|
|
135
132
|
<div fxLayout="row">
|
|
136
133
|
<div fxLayout="column" fxFlex="40">
|
|
137
134
|
|
|
138
135
|
|
|
139
|
-
<div
|
|
140
|
-
|
|
141
|
-
|
|
136
|
+
<div style="width:100%;height:420px;overflow:auto;">
|
|
137
|
+
|
|
138
|
+
<table style="width: 100%">
|
|
139
|
+
<thead>
|
|
140
|
+
<tr>
|
|
141
|
+
<th colspan="2">UTENTI SELEZIONABILI</th>
|
|
142
|
+
</tr>
|
|
143
|
+
</thead>
|
|
142
144
|
|
|
143
|
-
</div>
|
|
144
|
-
<div style="width:100%;height:250px;overflow:auto;">
|
|
145
|
-
<section class="bs">
|
|
146
|
-
<table class="table table-striped table-hover">
|
|
147
145
|
<tbody>
|
|
148
|
-
<tr
|
|
146
|
+
<tr><td colspan="2"> <input [(ngModel)]="fltr_user" (ngModelChange)="filtra()"
|
|
147
|
+
style='padding:8px;margin:15px auto;width:100%;' placeholder='Ricerca...'>
|
|
148
|
+
</td></tr>
|
|
149
|
+
<tr *ngFor="let u of users_list_sel;let odd=odd; let even=even;" (mouseover)="selectedAdd=u"
|
|
150
|
+
[ngClass]="{ odd: odd, even: even }" (click)="addTo(u)" (dblclick)="do_add()" class="selector"
|
|
149
151
|
[ngClass]="{ 'active': selectedAdd == u }">
|
|
150
|
-
<td
|
|
151
|
-
|
|
152
|
+
<td style="width: 80%">{{u.nc}}</td>
|
|
153
|
+
<td style="width: 20%">{{u.canale}}</td>
|
|
152
154
|
</tr>
|
|
153
155
|
</tbody>
|
|
154
156
|
</table>
|
|
155
|
-
|
|
157
|
+
|
|
156
158
|
</div>
|
|
157
159
|
</div>
|
|
158
160
|
<div fxLayout="column" fxFlex="20"
|
|
@@ -168,35 +170,31 @@
|
|
|
168
170
|
</div>
|
|
169
171
|
</div>
|
|
170
172
|
<div fxLayout="column" fxFlex="40">
|
|
171
|
-
<div style="
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
173
|
+
<div style="width:100%;height:420px;overflow:auto;">
|
|
174
|
+
<table style="width: 100%">
|
|
175
|
+
<thead>
|
|
176
|
+
<tr>
|
|
177
|
+
<th colspan="2">UTENTI SELEZIONATI</th>
|
|
178
|
+
</tr>
|
|
179
|
+
</thead>
|
|
178
180
|
<tbody>
|
|
179
|
-
<tr *ngFor="let u of user_sel" (click)="removeTo(u)" (dblclick)="do_rem()"
|
|
181
|
+
<tr *ngFor="let u of user_sel;let odd=odd; let even=even;" (mouseover)="selectedRemove=u" [ngClass]="{ odd: odd, even: even }" (click)="removeTo(u)" (dblclick)="do_rem()" class="selector"
|
|
180
182
|
[ngClass]="{ 'active': selectedRemove == u }">
|
|
181
|
-
<td
|
|
183
|
+
<td style="width: 80%">{{u.nc}}</td>
|
|
184
|
+
<td style="width: 20%">{{u.canale}}</td>
|
|
182
185
|
|
|
183
186
|
</tr>
|
|
184
187
|
</tbody>
|
|
185
188
|
</table>
|
|
186
|
-
|
|
187
|
-
</div>
|
|
189
|
+
</div>
|
|
188
190
|
</div>
|
|
189
191
|
</div>
|
|
190
192
|
|
|
191
|
-
</div>
|
|
192
|
-
</mat-card-content>
|
|
193
|
-
|
|
194
|
-
</mat-card>
|
|
195
193
|
</mat-dialog-content>
|
|
196
194
|
<mat-dialog-actions>
|
|
197
195
|
|
|
198
196
|
<div style="width:100%" *ngIf="vis_buttons" fxLayout="row" fxLayoutAlign="center center">
|
|
199
|
-
<button mat-raised-button color="primary" (click)="dialogRef.close(this.user_sel)">Ok</button>
|
|
197
|
+
<button mat-raised-button color="primary" (click)="dialogRef.close(this.user_sel)">Ok</button>&nbsp;&nbsp;&nbsp;
|
|
200
198
|
<button mat-raised-button (click)="dialogRef.close(false)">Annulla</button>
|
|
201
199
|
</div>
|
|
202
200
|
</mat-dialog-actions>
|
|
@@ -1105,34 +1103,35 @@
|
|
|
1105
1103
|
|
|
1106
1104
|
<div class="tab-pane fade " id="c-styleData">
|
|
1107
1105
|
<pre class="line-numbers"><code class="language-scss">
|
|
1106
|
+
table thead tr {
|
|
1107
|
+
padding: 10px;
|
|
1108
|
+
font-size: 14px;
|
|
1109
|
+
font-weight: bold;
|
|
1110
|
+
color: white;
|
|
1111
|
+
background-color: #015488
|
|
1112
|
+
}
|
|
1113
|
+
table thead tr th {
|
|
1114
|
+
padding: 10px;
|
|
1115
|
+
}
|
|
1116
|
+
table tbody tr td {
|
|
1117
|
+
font-size: 12px;
|
|
1118
|
+
padding: 10px;
|
|
1119
|
+
vertical-align: middle;
|
|
1120
|
+
}
|
|
1121
|
+
table tbody tr {
|
|
1122
|
+
border: 1px solid black;
|
|
1123
|
+
vertical-align: middle;
|
|
1124
|
+
}
|
|
1108
1125
|
.selector:hover {
|
|
1109
|
-
background-color: #
|
|
1126
|
+
background-color: #B3B1B1;
|
|
1110
1127
|
cursor: pointer;
|
|
1111
1128
|
}
|
|
1112
1129
|
|
|
1113
1130
|
.active {
|
|
1114
|
-
background-color: #
|
|
1131
|
+
background-color: #CC6633;
|
|
1115
1132
|
cursor: pointer;
|
|
1116
1133
|
}
|
|
1117
1134
|
|
|
1118
|
-
.fabeOut {
|
|
1119
|
-
display: block;
|
|
1120
|
-
background-color: rgba(0, 0, 0, .5);
|
|
1121
|
-
position: fixed;
|
|
1122
|
-
top: 0;
|
|
1123
|
-
bottom: 0;
|
|
1124
|
-
left: 0;
|
|
1125
|
-
right: 0;
|
|
1126
|
-
|
|
1127
|
-
pointer-events: auto;
|
|
1128
|
-
-webkit-transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
1129
|
-
transition: opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
.cardFloat {
|
|
1133
|
-
|
|
1134
|
-
}
|
|
1135
|
-
|
|
1136
1135
|
|
|
1137
1136
|
</code></pre>
|
|
1138
1137
|
</div>
|
|
@@ -1162,7 +1161,7 @@
|
|
|
1162
1161
|
<script src="../js/libs/htmlparser.js"></script>
|
|
1163
1162
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
1164
1163
|
<script>
|
|
1165
|
-
var COMPONENT_TEMPLATE = '<div><
|
|
1164
|
+
var COMPONENT_TEMPLATE = '<div><mat-dialog-content> <br><br> <div fxLayout="row"> <div fxLayout="column" fxFlex="40"> <div style="width:100%;height:420px;overflow:auto;"> <table style="width: 100%"> <thead> <tr> <th colspan="2">UTENTI SELEZIONABILI</th> </tr> </thead> <tbody> <tr><td colspan="2"> <input [(ngModel)]="fltr_user" (ngModelChange)="filtra()" style=\'padding:8px;margin:15px auto;width:100%;\' placeholder=\'Ricerca...\'> </td></tr> <tr *ngFor="let u of users_list_sel;let odd=odd; let even=even;" (mouseover)="selectedAdd=u" [ngClass]="{ odd: odd, even: even }" (click)="addTo(u)" (dblclick)="do_add()" class="selector" [ngClass]="{ \'active\': selectedAdd == u }"> <td style="width: 80%">{{u.nc}}</td> <td style="width: 20%">{{u.canale}}</td> </tr> </tbody> </table> </div> </div> <div fxLayout="column" fxFlex="20" style="height: 280px; position: relative; margin:0 .5em; padding-left: .5em; padding-right: .5em; border-left: 1px solid rgba(191, 191, 191, 0.5); border-right: 1px solid rgba(191, 191, 191, 0.5);"> <div style="position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);"> <button mat-raised-button (click)="do_add()" [disabled]="!option"> <mat-icon>arrow_forward</mat-icon> </button> <br><br> <button mat-raised-button (click)="do_rem()" [disabled]="option"> <mat-icon>delete</mat-icon> </button> </div> </div> <div fxLayout="column" fxFlex="40"> <div style="width:100%;height:420px;overflow:auto;"> <table style="width: 100%"> <thead> <tr> <th colspan="2">UTENTI SELEZIONATI</th> </tr> </thead> <tbody> <tr *ngFor="let u of user_sel;let odd=odd; let even=even;" (mouseover)="selectedRemove=u" [ngClass]="{ odd: odd, even: even }" (click)="removeTo(u)" (dblclick)="do_rem()" class="selector" [ngClass]="{ \'active\': selectedRemove == u }"> <td style="width: 80%">{{u.nc}}</td> <td style="width: 20%">{{u.canale}}</td> </tr> </tbody> </table> </div> </div> </div></mat-dialog-content><mat-dialog-actions> <div style="width:100%" *ngIf="vis_buttons" fxLayout="row" fxLayoutAlign="center center"> <button mat-raised-button color="primary" (click)="dialogRef.close(this.user_sel)">Ok</button> <button mat-raised-button (click)="dialogRef.close(false)">Annulla</button> </div></mat-dialog-actions></div>'
|
|
1166
1165
|
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'}];
|
|
1167
1166
|
var DIRECTIVES = [{'name': 'DecimalMask', 'selector': '[ngModel][decimal]'},{'name': 'FHCurrencyFormatterDirective', 'selector': '[FHCurrencyFormatter]'}];
|
|
1168
1167
|
var ACTUAL_COMPONENT = {'name': 'FHUserPickerComponent'};
|