@fluxhub/fluxhub-lib 1.0.349 → 1.0.351
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 +28 -25
- 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/esm2015/lib/controls/app_manager/win_manage_values.js +9 -9
- package/esm2015/lib/controls/fhautocomplete.js +5 -5
- package/esm2015/lib/controls/fhcombobox.js +5 -5
- package/esm2015/lib/controls/fhcurrencyfield.js +5 -5
- package/esm2015/lib/controls/fhdatepicker.js +3 -3
- package/esm2015/lib/controls/fhfieldpicklist.js +3 -3
- package/esm2015/lib/controls/fhgrid_json.js +4 -3
- package/esm2015/lib/controls/fhnumeric.js +3 -3
- package/esm2015/lib/controls/fhupload.js +3 -3
- package/esm2015/lib/controls/fhuserfield.js +5 -5
- package/esm2015/lib/controls/grid_editors/textarea-editor.component.js +3 -3
- package/esm2015/lib/controls/win_ask_number.js +3 -3
- package/esm2015/lib/controls/win_ask_text.js +3 -3
- package/esm2015/lib/controls/win_ask_textbig.js +3 -3
- package/esm2015/lib/controls/win_combo_select.js +3 -3
- package/esm2015/lib/form_builder/form_builder.js +17 -17
- package/esm2015/lib/form_builder/form_executer.js +9 -8
- package/esm2015/lib/wkf_engine/win_assegna.js +3 -3
- package/esm2015/lib/wkf_engine/win_commenti.js +3 -3
- package/esm2015/lib/wkf_engine/win_conferma.js +3 -3
- package/esm2015/lib/wkf_engine/win_log.js +3 -3
- package/esm2015/lib/wkf_engine/win_riassegna_select_user.js +3 -3
- package/esm2015/lib/wkf_engine/wkf_header_bar.js +8 -4
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -2
- package/esm5/lib/controls/app_manager/win_manage_values.js +2 -2
- package/esm5/lib/controls/fhautocomplete.js +2 -2
- package/esm5/lib/controls/fhcombobox.js +2 -2
- package/esm5/lib/controls/fhcurrencyfield.js +2 -2
- package/esm5/lib/controls/fhdatepicker.js +2 -2
- package/esm5/lib/controls/fhfieldpicklist.js +2 -2
- package/esm5/lib/controls/fhgrid_json.js +2 -2
- package/esm5/lib/controls/fhnumeric.js +2 -2
- package/esm5/lib/controls/fhupload.js +2 -2
- package/esm5/lib/controls/fhuserfield.js +2 -2
- package/esm5/lib/controls/grid_editors/textarea-editor.component.js +2 -2
- package/esm5/lib/controls/win_ask_number.js +2 -2
- package/esm5/lib/controls/win_ask_text.js +2 -2
- package/esm5/lib/controls/win_ask_textbig.js +2 -2
- package/esm5/lib/controls/win_combo_select.js +2 -2
- package/esm5/lib/form_builder/form_builder.js +2 -2
- package/esm5/lib/form_builder/form_executer.js +2 -2
- package/esm5/lib/wkf_engine/win_assegna.js +2 -2
- package/esm5/lib/wkf_engine/win_commenti.js +2 -2
- package/esm5/lib/wkf_engine/win_conferma.js +2 -2
- package/esm5/lib/wkf_engine/win_log.js +2 -2
- package/esm5/lib/wkf_engine/win_riassegna_select_user.js +2 -2
- package/esm5/lib/wkf_engine/wkf_header_bar.js +8 -4
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +85 -80
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +28 -25
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkf_header_bar.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3337,7 +3337,7 @@
|
|
|
3337
3337
|
FHUploadComponent.decorators = [
|
|
3338
3338
|
{ type: core.Component, args: [{
|
|
3339
3339
|
selector: 'FHUpload',
|
|
3340
|
-
template: "\n \n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div *ngIf=\"enabled && !loading\" fxLayout=\"row\">\n <mat-form-field class=\"field_style\">\n <input matInput type=\"text\" name=\"descrizione\" [(ngModel)]=\"descrizione\"\n
|
|
3340
|
+
template: "\n \n <div *ngIf=\"loading\" fxLayout=\"row\">\n WAIT\n </div>\n <div *ngIf=\"enabled && !loading\" fxLayout=\"row\">\n <mat-form-field class=\"field_style\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}} {{fixed_label}}</mat-label>\n <input matInput type=\"text\" name=\"descrizione\" [(ngModel)]=\"descrizione\"\n >\n </mat-form-field>\n <input type=\"file\" ng2FileSelect [uploader]=\"uploader\" multiple/>\n <div>\n <button mat-raised-button *ngIf=\"b_edit_loaded\" (click)=\"download_all()\">{{label_b}}</button>\n </div>\n </div>\n <div *ngIf=\"!enabled\">\n <label>{{label}}:</label>{{descrizione}}\n </div>\n <div *ngIf=\"!b_ini\" style=\"color:#ff0000\"><b>ATTENZIONE COMPONENTE NON INIZIALIZZATO</b></div>\n ",
|
|
3341
3341
|
styles: ["\n\n "]
|
|
3342
3342
|
}] }
|
|
3343
3343
|
];
|
|
@@ -3797,7 +3797,7 @@
|
|
|
3797
3797
|
WinAskTextBigComponent.decorators = [
|
|
3798
3798
|
{ type: core.Component, args: [{
|
|
3799
3799
|
selector: 'app-win_ask_text',
|
|
3800
|
-
template: "\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"width:600px\">\n <mat-form-field
|
|
3800
|
+
template: "\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"width:600px\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <textarea matInput [readonly]=\"readonly\" [(ngModel)]=\"valore\" style=\"min-width:600px\" rows=\"15\"\n required></textarea>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions style=\"width:100%;horizontal-align: center\">\n <button mat-raised-button color=\"primary\" (click)=\"do_check()\">OK</button> \n <button *ngIf=\"show_annulla\" mat-raised-button color=\"warn\" (click)=\"chiudi()\">ANNULLA</button>\n </mat-dialog-actions>\n\n\n "
|
|
3801
3801
|
}] }
|
|
3802
3802
|
];
|
|
3803
3803
|
/** @nocollapse */
|
|
@@ -4634,7 +4634,7 @@
|
|
|
4634
4634
|
};
|
|
4635
4635
|
FHComboboxComponent.decorators = [
|
|
4636
4636
|
{ type: core.Component, args: [{
|
|
4637
|
-
selector: 'FHComboBox', template: "\n <mat-form-field [hidden]=\"!enabled || hidden\"
|
|
4637
|
+
selector: 'FHComboBox', template: "\n <mat-form-field [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (selectionChange)=\"sc()\" [required]=\"required\">\n <mat-option value=\"-1\">{{sel_label}}</mat-option>\n <mat-option value=\"{{app.valore}}\" *ngFor=\"let app of myData\">{{app.descrizione_valore}}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [(ngModel)]=\"dis_value\">\n </mat-form-field>\n ",
|
|
4638
4638
|
styles: ["\n\n "]
|
|
4639
4639
|
}] }
|
|
4640
4640
|
];
|
|
@@ -4727,7 +4727,7 @@
|
|
|
4727
4727
|
WinAskTextComponent.decorators = [
|
|
4728
4728
|
{ type: core.Component, args: [{
|
|
4729
4729
|
selector: 'app-win_ask_text',
|
|
4730
|
-
template: "\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content>\n <mat-form-field
|
|
4730
|
+
template: "\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content>\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}} (min {{min_chars}} - max {{max_chars}} caratteri)</mat-label>\n <input matInput type=\"text\"\n [(ngModel)]=\"valore\" required>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button mat-raised-button color=\"primary\" (click)=\"do_check()\">OK</button> <button\n mat-raised-button color=\"warn\" (click)=\"chiudi()\">ANNULLA\n </button>\n </mat-dialog-actions>\n\n\n "
|
|
4731
4731
|
}] }
|
|
4732
4732
|
];
|
|
4733
4733
|
/** @nocollapse */
|
|
@@ -5254,7 +5254,7 @@
|
|
|
5254
5254
|
};
|
|
5255
5255
|
win_riassegna_select_user.decorators = [
|
|
5256
5256
|
{ type: core.Component, args: [{
|
|
5257
|
-
template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\" fxLayout=\"column\">\n\n <div style=\"min-width:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br> \n <br><br>\n <mat-form-field [hidden]=\"commento_hidden\"
|
|
5257
|
+
template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n\n <div mat-dialog-content style=\"min-width:700px\" fxLayout=\"column\">\n\n <div style=\"min-width:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <br> \n <br><br>\n <mat-form-field [hidden]=\"commento_hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento {{nota_commento}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\"\n rows=\"6\"></textarea>\n\n </mat-form-field>\n\n \n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
|
|
5258
5258
|
}] }
|
|
5259
5259
|
];
|
|
5260
5260
|
/** @nocollapse */
|
|
@@ -8838,7 +8838,7 @@
|
|
|
8838
8838
|
FHAutoCompleteComponent.decorators = [
|
|
8839
8839
|
{ type: core.Component, args: [{
|
|
8840
8840
|
selector: 'FHAutoComplete',
|
|
8841
|
-
template: "\n <mat-form-field class=\"field_style\" [hidden]=\"!enabled || hidden\">\n <input matInput\n class=\"field_style\" [disabled]=\"!enabled || hidden\" [matAutocomplete]=\"auto\"
|
|
8841
|
+
template: "\n <mat-form-field class=\"field_style\" [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input matInput\n class=\"field_style\" [disabled]=\"!enabled || hidden\" [matAutocomplete]=\"auto\" [required]=\"required\"\n (keyup)=\"onChange($event)\" [(ngModel)]=\"sItem\" (focus)=\"fi_search()\" (focusout)=\"fo_search($event)\"\n #searchp>\n </mat-form-field>\n <mat-autocomplete #auto=\"matAutocomplete\" (optionSelected)=\"selectedSearchItem($event)\" autoActiveFirstOption >\n <mat-option *ngFor=\"let objx of searchItemsFiltered\" class=\"search_home\" [value]=\"objx.descrizione_valore\">\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\n\n\n <div class=\"ui negative message\" *ngIf=\"errorMsg != ''\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n {{errorMsg}}\n </div>\n </div>\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>label</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [(ngModel)]=\"sItem\"\n >\n </mat-form-field>\n ",
|
|
8842
8842
|
providers: [
|
|
8843
8843
|
{ provide: forms.NG_VALUE_ACCESSOR, useExisting: FHAutoCompleteComponent, multi: true },
|
|
8844
8844
|
],
|
|
@@ -9504,7 +9504,7 @@
|
|
|
9504
9504
|
{ provide: material.DateAdapter, useClass: MomentDateAdapter },
|
|
9505
9505
|
{ provide: forms.NG_VALUE_ACCESSOR, useExisting: FHDatePickerComponent, multi: true },
|
|
9506
9506
|
],
|
|
9507
|
-
template: "\n <div [hidden]=\"!show_buttons||!enabled\">\n <button mat-raised-button (click)=\"add_year()\">+1 Anno</button>\n <button mat-raised-button (click)=\"ini_year()\">Inizio Anno</button>\n <button mat-raised-button (click)=\"fin_year()\">Fine Anno</button>\n </div>\n\n <mat-form-field (click)=\"chxx($event)\">\n <input [disabled]=\"!enabled\" #pickerId (dateChange)=\"ch( $event)\" (focusout)=\"dt_chg($event.target.value)\"\n (click)=\"chxx($event)\" [(ngModel)]=\"date_sel\" matInput [matDatepicker]=\"picker\"
|
|
9507
|
+
template: "\n <div [hidden]=\"!show_buttons||!enabled\">\n <button mat-raised-button (click)=\"add_year()\">+1 Anno</button>\n <button mat-raised-button (click)=\"ini_year()\">Inizio Anno</button>\n <button mat-raised-button (click)=\"fin_year()\">Fine Anno</button>\n </div>\n\n <mat-form-field (click)=\"chxx($event)\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input [disabled]=\"!enabled\" #pickerId (dateChange)=\"ch( $event)\" (focusout)=\"dt_chg($event.target.value)\"\n (click)=\"chxx($event)\" [(ngModel)]=\"date_sel\" matInput [matDatepicker]=\"picker\" >\n <mat-datepicker-toggle matSuffix [for]=\"picker\" (click)=\"chxx($event)\"></mat-datepicker-toggle>\n <mat-datepicker (click)=\"chxx($event)\" #picker></mat-datepicker>\n </mat-form-field>\n\n ",
|
|
9508
9508
|
styles: ["\n .lb_small_grigia {\n font-size: 12px;\n color: #B8B8B8;\n }\n\n .label_dis {\n font-size: 14px;\n font-weight: bold;\n }\n\n :host.ng-invalid > .ng-touched ::ng-deep .mat-input-element,\n :host.ng-invalid > .ng-touched ::ng-deep .mat-form-field-label {\n color: #f44336;\n }\n\n :host.ng-invalid > .ng-touched ::ng-deep .mat-form-field-underline,\n :host.ng-invalid > .ng-touched ::ng-deep .mat-form-field-ripple {\n background-color: #f44336;\n }\n "]
|
|
9509
9509
|
}] }
|
|
9510
9510
|
];
|
|
@@ -9944,7 +9944,7 @@
|
|
|
9944
9944
|
TextAreaEditor.decorators = [
|
|
9945
9945
|
{ type: core.Component, args: [{
|
|
9946
9946
|
selector: 'editor-cell',
|
|
9947
|
-
template: "\n <div #container class=\"mood\">\n <div fxLayout=\"row\" (keydown)=\"onKeyDown($event)\">\n <mat-form-field>\n <textarea matInput style=\"min-height:180px;min-width:400px\" [(ngModel)]=\"text\" #appdt\n
|
|
9947
|
+
template: "\n <div #container class=\"mood\">\n <div fxLayout=\"row\" (keydown)=\"onKeyDown($event)\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <textarea matInput style=\"min-height:180px;min-width:400px\" [(ngModel)]=\"text\" #appdt\n ></textarea>\n </mat-form-field>\n </div>\n\n <button mat-raised-button (click)=\"this.setDt();this.params.api.stopEditing();\">CONFERMA</button>\n <!-- \n <button mat-raised-button (click)=\"this.params.api.stopEditing();\">ANNULLA</button>\n-->\n </div>\n\n ",
|
|
9948
9948
|
styles: ["\n .mood {\n border-radius: 15px;\n border: 1px solid grey;\n background: #e6e6e6;\n padding: 15px;\n text-align: center;\n display: inline-block;\n outline: none\n }\n\n .default {\n padding-left: 10px;\n padding-right: 10px;\n border: 1px solid transparent;\n padding: 4px;\n }\n\n .selected {\n padding-left: 10px;\n padding-right: 10px;\n border: 1px solid lightgreen;\n padding: 4px;\n }\n "]
|
|
9949
9949
|
}] }
|
|
9950
9950
|
];
|
|
@@ -10151,7 +10151,7 @@
|
|
|
10151
10151
|
FHWinComboSelect.decorators = [
|
|
10152
10152
|
{ type: core.Component, args: [{
|
|
10153
10153
|
selector: 'fhwincomboselect',
|
|
10154
|
-
template: "\n <h2 mat-dialog-title [style.width]=\"width\">\n SELEZIONA {{label | uppercase}}\n </h2>\n <mat-dialog-content style=\"width:100%\">\n <div [style.width]=\"width\">\n <FHComboBox #cmb_sel [init_fill]=\"false\"></FHComboBox>\n </div>\n <mat-form-field *ngIf=\"nota\" >\n <textarea matInput
|
|
10154
|
+
template: "\n <h2 mat-dialog-title [style.width]=\"width\">\n SELEZIONA {{label | uppercase}}\n </h2>\n <mat-dialog-content style=\"width:100%\">\n <div [style.width]=\"width\">\n <FHComboBox #cmb_sel [init_fill]=\"false\"></FHComboBox>\n </div>\n <mat-form-field *ngIf=\"nota\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Nota</mat-label>\n <textarea matInput [(ngModel)]=\"nota_val\" rows=\"12\"></textarea>\n </mat-form-field>\n\n </mat-dialog-content>\n\n\n <mat-dialog-actions [style.width]=\"width\" style=\"text-align:center\">\n\n\n <button mat-raised-button color=\"primary\" (click)=\"ok()\">OK</button>\n <button mat-raised-button color=\"warn\" (click)=\"dialogRef.close('')\">CHIUDI</button>\n\n </mat-dialog-actions>\n "
|
|
10155
10155
|
}] }
|
|
10156
10156
|
];
|
|
10157
10157
|
/** @nocollapse */
|
|
@@ -10776,7 +10776,7 @@
|
|
|
10776
10776
|
WinAskNumberComponent.decorators = [
|
|
10777
10777
|
{ type: core.Component, args: [{
|
|
10778
10778
|
selector: 'app-win_ask_text',
|
|
10779
|
-
template: "\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content>\n <mat-form-field
|
|
10779
|
+
template: "\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content>\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input matInput type=\"number\" [(ngModel)]=\"valore\" required>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button mat-raised-button color=\"primary\" (click)=\"do_check()\">OK</button> <button\n mat-raised-button color=\"warn\" (click)=\"chiudi()\">ANNULLA\n </button>\n </mat-dialog-actions>\n\n\n "
|
|
10780
10780
|
}] }
|
|
10781
10781
|
];
|
|
10782
10782
|
/** @nocollapse */
|
|
@@ -11195,7 +11195,7 @@
|
|
|
11195
11195
|
{ type: core.Component, args: [{
|
|
11196
11196
|
selector: 'FHCurrencyField',
|
|
11197
11197
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
|
|
11198
|
-
template: "\n <mat-form-field [hidden]=\"!enabled || hidden\">\n <input type=\"text\" style=\"text-align:right\" #el matInput\n [disabled]=\"!enabled\"
|
|
11198
|
+
template: "\n <mat-form-field [hidden]=\"!enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" style=\"text-align:right\" #el matInput\n [disabled]=\"!enabled\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"transformAmount($event)\" [style.color]=\"getStyle_color()\" (keydown)=\"kd($event)\" \n (focus)=\"removeCurrencyPipeFormat($event)\" (keyup)=\"chg()\"\n pattern=\"[0-9]+\">\n </mat-form-field>\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" style=\"text-align:right\" [style.color]=\"getStyle_color()\" #el1 matInput [disabled]=\"true\"\n [(ngModel)]=\"formattedAmount\"\n >\n </mat-form-field>\n ",
|
|
11199
11199
|
styles: ["\n\n "]
|
|
11200
11200
|
}] }
|
|
11201
11201
|
];
|
|
@@ -11632,7 +11632,7 @@
|
|
|
11632
11632
|
{ type: core.Component, args: [{
|
|
11633
11633
|
selector: 'FHNumericField',
|
|
11634
11634
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC],
|
|
11635
|
-
template: "\n <mat-form-field [hidden]=\"hidden\">\n <input type=\"text\" style=\"text-align:right\" [style.background-color]=\"getStyle()\" #el matInput\n [disabled]=\"!enabled\"
|
|
11635
|
+
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" style=\"text-align:right\" [style.background-color]=\"getStyle()\" #el matInput\n [disabled]=\"!enabled\" [(ngModel)]=\"formattedAmount\"\n (blur)=\"chg()\"\n (focus)=\"removeCurrencyPipeFormat($event)\"\n pattern=\"[0-9]+\">\n </mat-form-field>\n\n ",
|
|
11636
11636
|
styles: ["\n\n "]
|
|
11637
11637
|
}] }
|
|
11638
11638
|
];
|
|
@@ -12066,7 +12066,7 @@
|
|
|
12066
12066
|
FHUserFieldComponent.decorators = [
|
|
12067
12067
|
{ type: core.Component, args: [{
|
|
12068
12068
|
selector: 'FHUserField', providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1],
|
|
12069
|
-
template: "\n <div fxLayout=\"row\" [hidden]=\"!enabled || hidden\">\n <mat-form-field style=\"clickable-field\" (click)=\"open_pick()\">\n\n <input matInput\n [hidden]=\"hidden\"\n
|
|
12069
|
+
template: "\n <div fxLayout=\"row\" [hidden]=\"!enabled || hidden\">\n <mat-form-field style=\"clickable-field\" (click)=\"open_pick()\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n\n <input matInput\n [hidden]=\"hidden\"\n \n type=\"text\"\n [ngModel]=\"userName\"\n [disabled]=\"false\" readonly>\n\n </mat-form-field>\n <button mat-icon-button matSuffix\n [hidden]=\"selectedUser.length==0\"\n (click)=\"clear()\">\n <mat-icon>clear</mat-icon>\n </button>\n </div>\n <mat-form-field [hidden]=\"enabled || hidden\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [(ngModel)]=\"userName\"\n >\n </mat-form-field>\n ",
|
|
12070
12070
|
styles: ["\n .clickable-field {\n border: 1px solid #000000;\n color: #000000;\n }\n\n .clickable-field:focus {\n outline: none;\n }\n\n :host ::ng-deep .mat-input-element {\n cursor: pointer !important;\n }\n "]
|
|
12071
12071
|
}] }
|
|
12072
12072
|
];
|
|
@@ -12212,7 +12212,7 @@
|
|
|
12212
12212
|
};
|
|
12213
12213
|
win_assegna.decorators = [
|
|
12214
12214
|
{ type: core.Component, args: [{
|
|
12215
|
-
template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n <div mat-dialog-content style=\"min-width:700px\">\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired!=1\">\n <br><br><br>\n <mat-form-field
|
|
12215
|
+
template: "\n <mat-toolbar>{{title}}\n </mat-toolbar>\n <div mat-dialog-content style=\"min-width:700px\">\n <div style=\"height:370px;\">\n <FHPickUsers #up [users_list]=\"arrAutori\" [vis_buttons]=\"false\"></FHPickUsers>\n </div>\n <div *ngIf=\"comm_notrequired!=1\">\n <br><br><br>\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento {{nota_commento}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n </div>\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
|
|
12216
12216
|
}] }
|
|
12217
12217
|
];
|
|
12218
12218
|
/** @nocollapse */
|
|
@@ -12290,7 +12290,7 @@
|
|
|
12290
12290
|
};
|
|
12291
12291
|
win_conferma.decorators = [
|
|
12292
12292
|
{ type: core.Component, args: [{
|
|
12293
|
-
template: "\n <mat-toolbar>\n <div style=\"font-size:10px\" *ngIf=\"mobile\">{{lbl}}</div>\n <div *ngIf=\"!mobile\">{{lbl}}</div>\n\n\n </mat-toolbar>\n <br>\n <div mat-dialog-content style=\"min-width:800px\">\n <div *ngIf=\"mobile\" style=\"font-size:10px\">Assegnata a: {{utenti}}</div>\n <h3 *ngIf=\"!mobile\">Assegnata a: {{utenti}}</h3>\n <br>\n <mat-form-field [hidden]=\"comm_notrequired==1\"
|
|
12293
|
+
template: "\n <mat-toolbar>\n <div style=\"font-size:10px\" *ngIf=\"mobile\">{{lbl}}</div>\n <div *ngIf=\"!mobile\">{{lbl}}</div>\n\n\n </mat-toolbar>\n <br>\n <div mat-dialog-content style=\"min-width:800px\">\n <div *ngIf=\"mobile\" style=\"font-size:10px\">Assegnata a: {{utenti}}</div>\n <h3 *ngIf=\"!mobile\">Assegnata a: {{utenti}}</h3>\n <br>\n <mat-form-field [hidden]=\"comm_notrequired==1\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento {{nota_commento}}</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"6\"></textarea>\n </mat-form-field>\n\n\n </div>\n <br>\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button>\n </div>\n\n "
|
|
12294
12294
|
}] }
|
|
12295
12295
|
];
|
|
12296
12296
|
/** @nocollapse */
|
|
@@ -13258,7 +13258,7 @@
|
|
|
13258
13258
|
};
|
|
13259
13259
|
win_commenti.decorators = [
|
|
13260
13260
|
{ type: core.Component, args: [{
|
|
13261
|
-
template: "\n <mat-toolbar color=\"primary\">{{title}}\n <span class=\"fill-remaining-space\"></span>\n <button color=\"primary\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n\n </mat-toolbar>\n <br>\n <div mat-dialog-content style=\"min-width:800px\">\n\n <mat-form-field *ngIf=\"b_edit\" >\n <textarea matInput
|
|
13261
|
+
template: "\n <mat-toolbar color=\"primary\">{{title}}\n <span class=\"fill-remaining-space\"></span>\n <button color=\"primary\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n\n </mat-toolbar>\n <br>\n <div mat-dialog-content style=\"min-width:800px\">\n\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n \n\n <div *ngIf=\"b_edit\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button> \n <mat-checkbox [(ngModel)]=\"not_int\" [hidden]=\"lettori===''\">\n Notifica Interessati\n </mat-checkbox>\n </div>\n <section class=\"bs\" *ngIf=\"!b_edit\">\n <table style=\"min-width: 100%\" class=\"fh_table\">\n <thead>\n <tr>\n <th>Commento</th>\n <th width=\"15%\">Autore</th>\n <th width=\"15%\">Data</th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n \n <tr *ngFor=\"let app of commenti_list;let odd=odd; let even=even;index as i\" [ngClass]=\"{ odd: odd, even: even }\" >\n\n <td [innerHTML]=\"app.v_commento\"></td>\n <td>{{app.COGNOME + ' ' + app.NOME}}</td>\n <td>{{app.v_data_creazione}}</td>\n <td>\n <mat-icon *ngIf=\"i==0 && app.creatore==m_appService.getState().wkf_doc_info.curr_user\"\n (click)=\"edit_comm(app)\">edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </section>\n\n </div>\n <br>\n\n <div style=\"width:100%;text-align:center;\">\n <button mat-raised-button (click)=\"dialogRef.close('')\">CHIUDI</button>\n\n </div>\n\n\n ",
|
|
13262
13262
|
styles: ["\n\n \n\n "]
|
|
13263
13263
|
}] }
|
|
13264
13264
|
];
|
|
@@ -13706,7 +13706,7 @@
|
|
|
13706
13706
|
};
|
|
13707
13707
|
win_log.decorators = [
|
|
13708
13708
|
{ type: core.Component, args: [{
|
|
13709
|
-
template: "\n <mat-tab-group #zz style=\"min-width:950px\"\n [style.height]=\"m_appService.getState().body_height\">\n <mat-tab label=\"DIAGRAMMA\" style=\"width:100%;height:100%\" *ngIf=\"b_flussook\">\n\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n \n\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <mat-toolbar color=\"primary\">{{title}}\n <div style=\"width:100%;text-align: right;\">\n\n </div>\n <!--\n <button color=\"primary\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n-->\n </mat-toolbar>\n <br>\n <div mat-dialog-content>\n <section class=\"bs\" *ngIf=\"b_edit\">\n <br>\n <mat-form-field *ngIf=\"b_edit\">\n <textarea matInput
|
|
13709
|
+
template: "\n <mat-tab-group #zz style=\"min-width:950px\"\n [style.height]=\"m_appService.getState().body_height\">\n <mat-tab label=\"DIAGRAMMA\" style=\"width:100%;height:100%\" *ngIf=\"b_flussook\">\n\n <div style=\"width:100%;height:100%\" id=\"canvas\"></div>\n \n\n </mat-tab>\n\n <mat-tab label=\"LOGS\">\n <mat-toolbar color=\"primary\">{{title}}\n <div style=\"width:100%;text-align: right;\">\n\n </div>\n <!--\n <button color=\"primary\" (click)=\"ins()\" *ngIf=\"!b_edit\">\n <mat-icon>note_add</mat-icon>\n INSERISCI\n </button>\n-->\n </mat-toolbar>\n <br>\n <div mat-dialog-content>\n <section class=\"bs\" *ngIf=\"b_edit\">\n <br>\n <mat-form-field *ngIf=\"b_edit\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Commento</mat-label>\n <textarea matInput [(ngModel)]=\"nota\" rows=\"12\"></textarea>\n </mat-form-field>\n\n <div *ngIf=\"b_edit\">\n <button mat-raised-button color=\"primary\" (click)=\"ok()\"> OK</button> \n <button mat-raised-button color=\"warn\" (click)=\"annulla()\">ANNULLA</button> \n <mat-checkbox [(ngModel)]=\"not_int\" [hidden]=\"lettori===''\">\n Notifica Interessati\n </mat-checkbox>\n </div>\n <br><br>\n </section>\n <table *ngIf=\"!b_edit\" class=\"fh_table\">\n\n <thead>\n <tr>\n <th width=\"15%\">Data</th>\n <th width=\"15%\">Utente</th>\n <th>Operazione</th>\n\n <td></td>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let app of logs;let odd=odd; let even=even;index as i\" [ngClass]=\"{ odd: odd, even: even }\">\n\n <td>{{app.v_data_creazione}}</td>\n <td>{{app.nc}}</td>\n <td>{{app.operazione}}</td>\n\n <td>\n <mat-icon *ngIf=\"i==0 && app.creatore==m_appService.getState().wkf_doc_info.curr_user\"\n (click)=\"edit_comm(app)\">edit\n </mat-icon>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <br>\n </mat-tab>\n </mat-tab-group>\n <div style=\"width:100%;text-align:center;\" *ngIf=\"!b_edit\">\n <button mat-raised-button (click)=\"dialogRef.close('')\">CHIUDI</button>\n\n </div>\n ",
|
|
13710
13710
|
styles: ["\n\n\n "]
|
|
13711
13711
|
}] }
|
|
13712
13712
|
];
|
|
@@ -15229,7 +15229,7 @@
|
|
|
15229
15229
|
};
|
|
15230
15230
|
FHGridJSONComponent.decorators = [
|
|
15231
15231
|
{ type: core.Component, args: [{
|
|
15232
|
-
selector: 'FHGridJSON', template: "\n <table [hidden]='!show_buttons' style=\"height: 15%;\">\n <tr>\n <td [hidden]='this.m_appService.getState().pageFullscreen'><h5>{{num_r + label_elementi}}</h5>\n \n </td>\n <td style=\"vertical-align:'bottom'\">  
|
|
15232
|
+
selector: 'FHGridJSON', template: "\n <table [hidden]='!show_buttons' style=\"height: 15%;\">\n <tr>\n <td [hidden]='this.m_appService.getState().pageFullscreen'><h5>{{num_r + label_elementi}}</h5>\n \n </td>\n <td style=\"vertical-align:'bottom'\"> \n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{trova_label}}</mat-label>\n <input matInput (keydown)=\"keyDownFunctioncl($event)\" [(ngModel)]=\"ric_libera\"\n style=\"width:200px\">\n </mat-form-field> \n </td>\n <td [hidden]='this.m_appService.getState().pageFullscreen'\n *ngIf=\"show_buttons && !this.m_appService.getState( ).mobile\"> <button\n *ngIf=\"show_pulisci_filtri\" mat-raised-button (click)=\"pulisci_filtri()\" color=\"warn\">\n <mat-icon>clear</mat-icon> REMOVE FILTER\n </button>\n </td>\n <td [hidden]='this.m_appService.getState().pageFullscreen'\n *ngIf=\"show_buttons && !this.m_appService.getState( ).mobile\"> \n <button mat-raised-button (click)=\"autoSizeAll()\" color=\"accent\">\n <mat-icon>photo_size_select_small</mat-icon> AUTO SIZE\n </button>\n </td>\n <td [hidden]='this.m_appService.getState().pageFullscreen'\n *ngIf=\"show_buttons && !this.m_appService.getState( ).mobile\"> \n <button mat-raised-button (click)=\"fitSizeAll()\" color=\"accent\">\n <mat-icon>aspect_ratio</mat-icon> FIT SIZE\n </button>\n\n </td>\n\n </tr>\n </table>\n <div [hidden]='this.m_appService.getState().pageFullscreen'\n *ngIf=\"!show_buttons && !this.m_appService.getState( ).mobile && show_num_elem\"><h5>\n {{num_r + ' Elementi'}}</h5></div>\n\n <ag-grid-angular ref-agGrid style=\"width:100%;height:85%;\" (cellDoubleClicked)=\"onColumnEvent($event)\"\n (cellClicked)=\"onCellClicked($event)\" [headerHeight]=\"header_h\" [groupHeaderHeight]=\"header_h\"\n class=\"ag-theme-balham\" [singleClickEdit]=\"true\" [gridOptions]=\"gridOptions\"\n [columnDefs]=\"columnDefs\"\n [rowData]=\"rowData\"\n (afterFilterChanged)=\"onAfterFilterChanged()\" (filterModified)=\"onFilterModified()\"\n (rowDoubleClicked)=\"onRowDClicked($event)\"\n (rowClicked)=\"onRowClicked($event)\" (columnVisible)=\"oncolumnEverythingChanged($event)\"\n (columnResized)=\"oncolumnEverythingChanged($event)\"\n (columnMoved)=\"oncolumnEverythingChanged($event)\" (cellValueChanged)=\"okr($event)\"\n (sortChanged)=\"onAfterSortChanged()\" [paginationPageSize]=\"num_per_pag\"\n (gridReady)=\"onReady($event)\">\n </ag-grid-angular>\n\n\n ",
|
|
15233
15233
|
styles: ["\n\n "]
|
|
15234
15234
|
}] }
|
|
15235
15235
|
];
|
|
@@ -17246,9 +17246,10 @@
|
|
|
17246
17246
|
setTimeout((/**
|
|
17247
17247
|
* @return {?}
|
|
17248
17248
|
*/
|
|
17249
|
-
function () { _this.init_user_i(); }), 500);
|
|
17249
|
+
function () { _this.init_user_i(); _this.init_engine(); }), 500);
|
|
17250
17250
|
return;
|
|
17251
17251
|
}
|
|
17252
|
+
console.log('init_engine ');
|
|
17252
17253
|
this.m_route.params.subscribe((/**
|
|
17253
17254
|
* @param {?} params
|
|
17254
17255
|
* @return {?}
|
|
@@ -17414,6 +17415,7 @@
|
|
|
17414
17415
|
this.dt_agg = null;
|
|
17415
17416
|
this.edit_button = false;
|
|
17416
17417
|
this.respingi_button = false;
|
|
17418
|
+
this.procedi_button = true;
|
|
17417
17419
|
}
|
|
17418
17420
|
/**
|
|
17419
17421
|
* @return {?}
|
|
@@ -17490,7 +17492,7 @@
|
|
|
17490
17492
|
wkf_header_bar.decorators = [
|
|
17491
17493
|
{ type: core.Component, args: [{
|
|
17492
17494
|
selector: 'wkf_header_bar',
|
|
17493
|
-
template: "\n\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" >\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n\n<button mat-raised-button (click)=\"back()\" *ngIf=\"!m_appService.getState().pageFullscreen\">Indietro</button>\n <button mat-raised-button (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" color=\"primary\" >Salva</button>\n <button mat-raised-button (click)=\"procedi()\" *ngIf=\"edit_button\" color=\"accent\" >Procedi</button>\n <button mat-raised-button (click)=\"respingi()\" *ngIf=\"respingi_button\" color=\"warn\" >Respingi</button>\n<!-- <button mat-raised-button (click)=\"doEnd(900)\" color=\"warn\" >test</button> \n-->\n\n</div>\n \n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n\n\n<button mat-raised-button (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>info_outline</mat-icon> Info Doc</button>\n<button mat-raised-button (click)=\"open_commenti()\"> <mat-icon>insert_comment</mat-icon> Commenti {{dt_agg?.comm_c}}</button>\n<button mat-raised-button (click)=\"open_upload()\"> <mat-icon>attach_file</mat-icon> Allegati {{dt_agg?.all_c}}</button>\n<button mat-raised-button (click)=\"open_wkf()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>transfer_within_a_station</mat-icon> Workflow</button>\n\n</div>\n</div>\n\n "
|
|
17495
|
+
template: "\n\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" >\n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" *ngIf=\"!m_appService.getState().pageFullscreen || edit_button || respingi_button\">\n\n<button mat-raised-button (click)=\"back()\" *ngIf=\"!m_appService.getState().pageFullscreen\">Indietro</button>\n <button mat-raised-button (click)=\"evt_salv()\" *ngIf=\"edit_button && !m_appService.getState().pageFullscreen\" color=\"primary\" >Salva</button>\n <button mat-raised-button (click)=\"procedi()\" *ngIf=\"edit_button && procedi_button\" color=\"accent\" >Procedi</button>\n <button mat-raised-button (click)=\"respingi()\" *ngIf=\"respingi_button\" color=\"warn\" >Respingi</button>\n<!-- <button mat-raised-button (click)=\"doEnd(900)\" color=\"warn\" >test</button> \n-->\n\n</div>\n \n<div fxLayout=\"row\" fxLayout.xs=\"column\" fxLayoutGap=\"3px\" >\n\n\n<button mat-raised-button (click)=\"open_info()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>info_outline</mat-icon> Info Doc</button>\n<button mat-raised-button (click)=\"open_commenti()\"> <mat-icon>insert_comment</mat-icon> Commenti {{dt_agg?.comm_c}}</button>\n<button mat-raised-button (click)=\"open_upload()\"> <mat-icon>attach_file</mat-icon> Allegati {{dt_agg?.all_c}}</button>\n<button mat-raised-button (click)=\"open_wkf()\" *ngIf=\"!m_appService.getState().pageFullscreen\"> <mat-icon>transfer_within_a_station</mat-icon> Workflow</button>\n\n</div>\n</div>\n\n "
|
|
17494
17496
|
}] }
|
|
17495
17497
|
];
|
|
17496
17498
|
/** @nocollapse */
|
|
@@ -17500,7 +17502,8 @@
|
|
|
17500
17502
|
wkf_header_bar.propDecorators = {
|
|
17501
17503
|
dt_agg: [{ type: core.Input }],
|
|
17502
17504
|
edit_button: [{ type: core.Input }],
|
|
17503
|
-
respingi_button: [{ type: core.Input }]
|
|
17505
|
+
respingi_button: [{ type: core.Input }],
|
|
17506
|
+
procedi_button: [{ type: core.Input }]
|
|
17504
17507
|
};
|
|
17505
17508
|
return wkf_header_bar;
|
|
17506
17509
|
}());
|
|
@@ -17655,7 +17658,7 @@
|
|
|
17655
17658
|
};
|
|
17656
17659
|
FormBuilderComponent.decorators = [
|
|
17657
17660
|
{ type: core.Component, args: [{
|
|
17658
|
-
selector: 'FHFormBuilder', template: "\n <div fxLayout=\"row\" style=\"width: 100%;height:100%\">\n <mat-toolbar color=\"primary\" style=\"max-width: 200px;height:100%;\" >\n <mat-toolbar-row (click)=\"add_component(1)\">\n <mat-icon>text_fields</mat-icon> <span>Text Field</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(2)\">\n <mat-icon>filter_1</mat-icon> <span>Number</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(3)\">\n <mat-icon>filter_none</mat-icon> <span>Text Area</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(4)\">\n <mat-icon>check_box</mat-icon> <span>Check Box</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(5)\">\n <mat-icon>radio_button_checked</mat-icon> <span>Radio</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(6)\">\n <mat-icon>dehaze</mat-icon> <span>Select</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(7)\">\n <mat-icon>today</mat-icon> <span>Date</span>\n </mat-toolbar-row>\n\n </mat-toolbar>\n <div fxLayout=\"column\" fxFlex=\"100\" style=\"width:100%;border:1px solid #004040;height:100%;overflow:auto;background-color: #a6aec4\">\n <div fxLayout=\"row\" style=\"width:90%;width:100%;height:5000px;\">\n\n <ul [dragula]='\"bag-items\"' [(dragulaModel)]='items' style=\"width:100%;\">\n <li fxLayout=\"row\" *ngFor=\"let item of items\" [ngStyle]=\"setStyles(item.uiid)\" fxLayoutAlign=\"start center\">\n <div style=\"width:100%\">\n\n <div style=\"width: 90%\">\n <mat-form-field *ngIf=\"item.type=='text_field'\" style=\"max-width: 350px\" >\n <input matInput
|
|
17661
|
+
selector: 'FHFormBuilder', template: "\n <div fxLayout=\"row\" style=\"width: 100%;height:100%\">\n <mat-toolbar color=\"primary\" style=\"max-width: 200px;height:100%;\" >\n <mat-toolbar-row (click)=\"add_component(1)\">\n <mat-icon>text_fields</mat-icon> <span>Text Field</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(2)\">\n <mat-icon>filter_1</mat-icon> <span>Number</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(3)\">\n <mat-icon>filter_none</mat-icon> <span>Text Area</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(4)\">\n <mat-icon>check_box</mat-icon> <span>Check Box</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(5)\">\n <mat-icon>radio_button_checked</mat-icon> <span>Radio</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(6)\">\n <mat-icon>dehaze</mat-icon> <span>Select</span>\n </mat-toolbar-row>\n <mat-toolbar-row (click)=\"add_component(7)\">\n <mat-icon>today</mat-icon> <span>Date</span>\n </mat-toolbar-row>\n\n </mat-toolbar>\n <div fxLayout=\"column\" fxFlex=\"100\" style=\"width:100%;border:1px solid #004040;height:100%;overflow:auto;background-color: #a6aec4\">\n <div fxLayout=\"row\" style=\"width:90%;width:100%;height:5000px;\">\n\n <ul [dragula]='\"bag-items\"' [(dragulaModel)]='items' style=\"width:100%;\">\n <li fxLayout=\"row\" *ngFor=\"let item of items\" [ngStyle]=\"setStyles(item.uiid)\" fxLayoutAlign=\"start center\">\n <div style=\"width:100%\">\n\n <div style=\"width: 90%\">\n <mat-form-field *ngIf=\"item.type=='text_field'\" style=\"max-width: 350px\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{item.label}}</mat-label>\n <input matInput [required]=\"item.required\" type=\"text\" [(ngModel)]=\"item.default_value\">\n </mat-form-field>\n\n\n <mat-form-field *ngIf=\"item.type=='numeric_field'\" style=\"max-width: 220px\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{item.label}}</mat-label>\n <input matInput [required]=\"item.required\" type=\"number\" [(ngModel)]=\"item.default_value\">\n </mat-form-field>\n\n \n <FHRichText *ngIf=\"item.type=='textarea'\" [label]=\"item.label\" [required]=\"item.required\" [(ngModel)]=\"item.default_value\" height=\"15'\" enabled=\"false\"></FHRichText>\n\n <mat-checkbox *ngIf=\"item.type=='checkbox'\" [required]=\"item.required\" [(ngModel)]=\"item.default_value\"><b>{{item.label}}</b></mat-checkbox>\n\n\n <section class=\"custom-section\" *ngIf=\"item.type=='radiobutton'\" >\n <label class=\"custom-margin\">{{item.label}}:</label>\n <mat-radio-group [(ngModel)]=\"item.default_value\" [required]=\"item.required\" >\n <mat-radio-button *ngFor=\"let opt of item.opts\" class=\"custom-margin\" value=\"{{opt}}\"><b>{{opt}}</b></mat-radio-button>\n </mat-radio-group>\n </section>\n\n <mat-form-field *ngIf=\"item.type=='select'\" style=\"max-width: 400px\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{item.label}}</mat-label>\n <mat-select [required]=\"item.required\" [(ngModel)]=\"item.default_value\">\n <mat-option *ngFor=\"let opt of item.opts\" value=\"{{opt}}\">{{opt}}</mat-option>\n </mat-select>\n </mat-form-field>\n <div style=\"width: 220px\" *ngIf=\"item.type=='date_field'\">\n <FHDatePicker [required]=\"item.required\" [(ngModel)]=\"item.default_value\" [label]=\"item.label\" ></FHDatePicker> \n </div>\n\n </div></div>\n <div fxLayout=\"column\" style=\"width:70px\" fxLayoutGap=\"10px\">\n <button mat-raised-button (click)=\"edit_item(item.uiid)\" color=\"primary\"><mat-icon>edit</mat-icon></button>\n <button mat-raised-button (click)=\"del_item(item.uiid)\" color=\"warn\"><mat-icon>delete</mat-icon></button>\n </div>\n </li>\n </ul>\n\n\n </div>\n <mat-form-field [hidden]=\"true\">\n <input matInput #bottoml>\n </mat-form-field>\n </div>\n\n <div style=\"width:400px;height:100%;background-color: #3F51B5\" fxLayoutAlign=\"start center\" fxLayout=\"column\" *ngIf=\"edit_obj!=null\">\n <br><br>\n <mat-card style=\"width: 96%\">\n <mat-card-title>Properties</mat-card-title>\n <mat-card-content>\n <div fxLayout=\"column\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>Label</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"edit_obj.label\">\n </mat-form-field>\n <mat-checkbox [(ngModel)]=\"edit_obj.required\">Required</mat-checkbox>\n\n <mat-form-field *ngIf=\"edit_obj.type=='numeric_field_tobe'\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Decimal Places</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"edit_obj.decimali\">\n </mat-form-field>\n <mat-form-field *ngIf=\"edit_obj.type=='text_field'\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Default Value</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"edit_obj.default_value\" >\n </mat-form-field>\n\n\n <mat-checkbox *ngIf=\"edit_obj.type=='checkbox'\" [(ngModel)]=\"edit_obj.default_value\">Default Value</mat-checkbox>\n\n <mat-form-field *ngIf=\"edit_obj.type=='radiobutton' || edit_obj.type=='select'\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Values</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"radio_values\" (ngModelChange)=\"edit_obj.opts=$event.split(',');\" >\n </mat-form-field>\n <mat-form-field *ngIf=\"edit_obj.type=='radiobutton' || edit_obj.type=='select'\" appearance=\"outline\" floatLabel=\"always\"><mat-label>Default Value</mat-label>\n <input matInput type=\"text\" [(ngModel)]=\"edit_obj.default_value\" >\n </mat-form-field>\n\n <button mat-raised-button (click)=\"ok_panel()\" color=\"primary\">OK</button>\n </div></mat-card-content>\n </mat-card>\n </div>\n </div>\n ",
|
|
17659
17662
|
styles: ["\n\n "]
|
|
17660
17663
|
}] }
|
|
17661
17664
|
];
|
|
@@ -17735,7 +17738,7 @@
|
|
|
17735
17738
|
};
|
|
17736
17739
|
FormExecuterComponent.decorators = [
|
|
17737
17740
|
{ type: core.Component, args: [{
|
|
17738
|
-
selector: 'FHFormExecuter', template: "\n \n <div fxLayout=\"column\" fxFlex=\"100\" style=\"width:100%;border:1px solid #004040;height:100%\" *ngIf=\"items!=null\">\n\n \n <div fxLayout=\"row\" *ngFor=\"let item of items\" [ngStyle]=\"setStyles(item.uiid)\" fxLayoutAlign=\"start center\">\n \n <div style=\"width: 90%\">\n <mat-form-field *ngIf=\"item.type=='text_field'\" style=\"max-width: 350px\" >\n <input matInput
|
|
17741
|
+
selector: 'FHFormExecuter', template: "\n \n <div fxLayout=\"column\" fxFlex=\"100\" style=\"width:100%;border:1px solid #004040;height:100%\" *ngIf=\"items!=null\">\n\n \n <div fxLayout=\"row\" *ngFor=\"let item of items\" [ngStyle]=\"setStyles(item.uiid)\" fxLayoutAlign=\"start center\">\n \n <div style=\"width: 90%\">\n <mat-form-field *ngIf=\"item.type=='text_field'\" style=\"max-width: 350px\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{item.label}}</mat-label>\n <input matInput [required]=\"item.required\" [disabled]=\"!enabled\" type=\"text\" [(ngModel)]=\"item.default_value\">\n </mat-form-field>\n\n\n\n <mat-form-field *ngIf=\"item.type=='numeric_field'\" style=\"max-width: 220px\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{item.label}}</mat-label>\n <input matInput [required]=\"item.required\" [disabled]=\"!enabled\" type=\"number\" [(ngModel)]=\"item.default_value\">\n </mat-form-field>\n\n\n <FHRichText *ngIf=\"item.type=='textarea'\" [label]=\"item.label\" [required]=\"item.required\" [(ngModel)]=\"item.default_value\" height=\"15'\" enabled=\"false\"></FHRichText>\n\n <mat-checkbox *ngIf=\"item.type=='checkbox'\" [required]=\"item.required\" [disabled]=\"!enabled\" [(ngModel)]=\"item.default_value\"><b>{{item.label}}</b></mat-checkbox>\n\n\n <section *ngIf=\"item.type=='radiobutton'\" >\n <label *ngIf=\"!item.required\">{{item.label}}: </label> \n <label *ngIf=\"item.required\">{{item.label}}: *</label> \n <mat-radio-group [(ngModel)]=\"item.default_value\" [required]=\"item.required\" >\n <mat-radio-button *ngFor=\"let opt of item.opts\" [disabled]=\"!enabled\" class=\"custom-margin\" value=\"{{opt}}\"><b>{{opt}}</b> </mat-radio-button>\n </mat-radio-group>\n </section>\n\n <mat-form-field *ngIf=\"item.type=='select'\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{item.label}}</mat-label>\n <mat-select [required]=\"item.required\" [(ngModel)]=\"item.default_value\">\n <mat-option *ngFor=\"let opt of item.opts\" [disabled]=\"!enabled\" value=\"{{opt}}\">{{opt}}</mat-option>\n </mat-select>\n </mat-form-field>\n <div style=\"width: 220px\" *ngIf=\"item.type=='date_field'\">\n <FHDatePicker [required]=\"item.required\" [disabled]=\"!enabled\" [(ngModel)]=\"item.default_value\" [label]=\"item.label\" ></FHDatePicker> \n </div>\n\n </div>\n \n </div>\n \n\n <mat-form-field [hidden]=\"true\">\n <input matInput #bottoml>\n </mat-form-field>\n </div>\n\n \n ",
|
|
17739
17742
|
styles: ["\n\n "]
|
|
17740
17743
|
}] }
|
|
17741
17744
|
];
|
|
@@ -18683,7 +18686,7 @@
|
|
|
18683
18686
|
FHFieldPickListComponent.decorators = [
|
|
18684
18687
|
{ type: core.Component, args: [{
|
|
18685
18688
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$2],
|
|
18686
|
-
selector: 'FHFieldPickList', template: "\n<div fxLayout=\"row\" style=\"width: 100%\" fxLayoutAlign=\"start center\" [hidden]=\"hidden\">\n <mat-form-field>\n <input type=\"text\" #el1 matInput [readonly]=\"!enabled || only_in_list\"
|
|
18689
|
+
selector: 'FHFieldPickList', template: "\n<div fxLayout=\"row\" style=\"width: 100%\" fxLayoutAlign=\"start center\" [hidden]=\"hidden\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input type=\"text\" #el1 matInput [readonly]=\"!enabled || only_in_list\" [(ngModel)]=\"value\">\n </mat-form-field>\n <div style=\"min-width: 170px;text-align: right\"> <button mat-raised-button color=\"primary\" (click)=\"open_pick_list()\" [disabled]=\"!enabled\">SELEZIONA</button>\n</div></div>\n ",
|
|
18687
18690
|
styles: ["\n\n "]
|
|
18688
18691
|
}] }
|
|
18689
18692
|
];
|
|
@@ -18864,7 +18867,7 @@
|
|
|
18864
18867
|
win_manage_values.decorators = [
|
|
18865
18868
|
{ type: core.Component, args: [{
|
|
18866
18869
|
selector: 'win_manage_values',
|
|
18867
|
-
template: "\n\n \n <div fxLayout=\"column\" style=\"height: 520px\">\n <div fxLayout=\"row\" style=\"width: 90%\">\n <mat-form-field>\n <input matInput
|
|
18870
|
+
template: "\n\n \n <div fxLayout=\"column\" style=\"height: 520px\">\n <div fxLayout=\"row\" style=\"width: 90%\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>Descrizione</mat-label>\n <input matInput [(ngModel)]=\"nValori.descrizione\" style=\"min-width:500px\">\n </mat-form-field>\n <div>\n <button mat-raised-button color=\"primary\" (click)=\"update_tassoc_ins(nValori)\">Inserisci</button>\n </div>\n </div>\n <div fxLayout=\"column\" style=\"overflow-y: scroll;height:100%;\">\n <div fxLayout=\"column\" style=\"overflow-y: scroll;height:420px;\">\n <table style=\"width: 90%\" class=\"fh_table\">\n <thead>\n <tr>\n <th style=\"width:70%;\">Descrizione</th>\n <th style=\"width:5%;\">V1</th>\n <th style=\"width:5%;\">V2</th>\n <th style=\"width:5%;\">V3</th>\n <th style=\"width:10%;\">Lingua</th>\n <th style=\"width:5%;\"></th>\n </tr>\n </thead>\n <tbody>\n <tr *ngFor=\"let u of valoris;let odd=odd; let even=even;\" [ngClass]=\"{ odd: odd, even: even }\">\n <td style=\"width:70%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"> \n <input matInput [(ngModel)]=\"u.descrizione\" (focusout)=\"update_tassoc(u)\">\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"> \n <input matInput type=\"text\" [(ngModel)]=\"u.v1\" (focusout)=\"update_tassoc(u)\">\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"> \n <input matInput type=\"text\" [(ngModel)]=\"u.v2\" (focusout)=\"update_tassoc(u)\">\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"> \n <input matInput type=\"text\" [(ngModel)]=\"u.v3\" (focusout)=\"update_tassoc(u)\">\n </mat-form-field>\n </td>\n <td style=\"width:10%;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"> \n <input matInput type=\"text\" [(ngModel)]=\"u.lingua\" (focusout)=\"update_tassoc(u)\">\n </mat-form-field>\n </td>\n <td style=\"width:5%;\">\n\n <a mat-icon-button (click)=\"delete_uassoc(u)\">\n <mat-icon>delete</mat-icon>\n </a>\n </td>\n\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\">\n\n <button mat-raised-button color=\"warn\" (click)=\"dialogRef.close('')\">CHIUDI</button>\n </div>\n\n </div>\n "
|
|
18868
18871
|
}] }
|
|
18869
18872
|
];
|
|
18870
18873
|
/** @nocollapse */
|