@fluxhub/fluxhub-lib 11.0.8 → 11.0.10
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 +21 -9
- 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/fhautocomplete.js +4 -1
- package/esm2015/lib/controls/fhcombobox.js +4 -1
- package/esm2015/lib/controls/fhdatepicker.js +4 -1
- package/esm2015/lib/controls/fhnumeric.js +4 -1
- package/esm2015/lib/controls/fhtextarea.js +4 -1
- package/esm2015/lib/controls/fhtextinput.js +4 -1
- package/esm2015/lib/wkf_engine_v2/wkf_header_bar.js +3 -11
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +3 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +22 -12
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhautocomplete.d.ts +1 -0
- package/lib/controls/fhcombobox.d.ts +1 -0
- package/lib/controls/fhdatepicker.d.ts +1 -0
- package/lib/controls/fhnumeric.d.ts +1 -0
- package/lib/controls/fhtextarea.d.ts +1 -0
- package/lib/controls/fhtextinput.d.ts +1 -0
- package/package.json +1 -1
|
@@ -3386,6 +3386,7 @@
|
|
|
3386
3386
|
this.enabled = true;
|
|
3387
3387
|
this.required = false;
|
|
3388
3388
|
this.rows = 3;
|
|
3389
|
+
this.error = null;
|
|
3389
3390
|
this.change = new i0.EventEmitter();
|
|
3390
3391
|
this.focusout = new i0.EventEmitter();
|
|
3391
3392
|
this.focusin = new i0.EventEmitter();
|
|
@@ -3428,7 +3429,7 @@
|
|
|
3428
3429
|
{ type: i0.Component, args: [{
|
|
3429
3430
|
selector: "FHTextArea",
|
|
3430
3431
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$1],
|
|
3431
|
-
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <textarea\n matInput\n [rows]=\"rows\"\n type=\"text\"\n [(ngModel)]=\"text_v\"\n [readonly]=\"!enabled\"\n [required]=\"required\"\n (focusout)=\"onFu()\"\n (focusin)=\"onFi()\"\n (ngModelChange)=\"modelch()\"\n ></textarea>\n </mat-form-field>\n ",
|
|
3432
|
+
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <textarea\n matInput\n [rows]=\"rows\"\n type=\"text\"\n [(ngModel)]=\"text_v\"\n [readonly]=\"!enabled\"\n [required]=\"required\"\n (focusout)=\"onFu()\"\n (focusin)=\"onFi()\"\n (ngModelChange)=\"modelch()\"\n ></textarea>\n <mat-error *ngIf=\"error==null\">{{ error }}</mat-error>\n </mat-form-field>\n ",
|
|
3432
3433
|
styles: [""]
|
|
3433
3434
|
},] }
|
|
3434
3435
|
];
|
|
@@ -3439,6 +3440,7 @@
|
|
|
3439
3440
|
enabled: [{ type: i0.Input }],
|
|
3440
3441
|
required: [{ type: i0.Input }],
|
|
3441
3442
|
rows: [{ type: i0.Input }],
|
|
3443
|
+
error: [{ type: i0.Input }],
|
|
3442
3444
|
change: [{ type: i0.Output }],
|
|
3443
3445
|
focusout: [{ type: i0.Output }],
|
|
3444
3446
|
focusin: [{ type: i0.Output }]
|
|
@@ -7417,6 +7419,7 @@
|
|
|
7417
7419
|
this._dataService = _dataService;
|
|
7418
7420
|
this._dataService_odbc = _dataService_odbc;
|
|
7419
7421
|
this._tsr = _tsr;
|
|
7422
|
+
this.error = null;
|
|
7420
7423
|
this.init_fill = true;
|
|
7421
7424
|
this.sql = "";
|
|
7422
7425
|
this.types = [];
|
|
@@ -7793,7 +7796,7 @@
|
|
|
7793
7796
|
{ type: i0.Component, args: [{
|
|
7794
7797
|
selector: "FHComboBox",
|
|
7795
7798
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$3],
|
|
7796
|
-
template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0)\" [class.fh_field]=\"enabled\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label|translate }}</mat-label>\n <mat-select\n #cmb\n [(ngModel)]=\"selval\"\n (selectionChange)=\"sc()\"\n [required]=\"required\"\n [matTooltip]=\"tooltip\"\n >\n <mat-option value=\"-1\" *ngIf=\"show_empty\">{{ sel_label }}</mat-option>\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of myData\">{{\n app.descrizione_valore | translate\n }}</mat-option>\n </mat-select>\n </mat-form-field>\n\n <mat-form-field\n [hidden]=\"enabled || hidden\" [class.fh_field_dis]=\"!enabled\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n #el1\n matInput\n [disabled]=\"true\"\n [(ngModel)]=\"dis_value\"\n [matTooltip]=\"tooltip\"\n />\n </mat-form-field>\n ",
|
|
7799
|
+
template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0)\" [class.fh_field]=\"enabled\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label|translate }}</mat-label>\n <mat-select\n #cmb\n [(ngModel)]=\"selval\"\n (selectionChange)=\"sc()\"\n [required]=\"required\"\n [matTooltip]=\"tooltip\"\n >\n <mat-option value=\"-1\" *ngIf=\"show_empty\">{{ sel_label }}</mat-option>\n <mat-option value=\"{{ app.valore }}\" *ngFor=\"let app of myData\">{{\n app.descrizione_valore | translate\n }}</mat-option>\n </mat-select>\n <mat-error *ngIf=\"error==null\">{{ error }}</mat-error>\n </mat-form-field>\n\n <mat-form-field\n [hidden]=\"enabled || hidden\" [class.fh_field_dis]=\"!enabled\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n #el1\n matInput\n [disabled]=\"true\"\n [(ngModel)]=\"dis_value\"\n [matTooltip]=\"tooltip\"\n />\n </mat-form-field>\n ",
|
|
7797
7800
|
styles: [""]
|
|
7798
7801
|
},] }
|
|
7799
7802
|
];
|
|
@@ -7803,6 +7806,7 @@
|
|
|
7803
7806
|
{ type: core.TranslateService }
|
|
7804
7807
|
]; };
|
|
7805
7808
|
FHComboboxComponent.propDecorators = {
|
|
7809
|
+
error: [{ type: i0.Input }],
|
|
7806
7810
|
init_fill: [{ type: i0.Input }],
|
|
7807
7811
|
sql: [{ type: i0.Input }],
|
|
7808
7812
|
types: [{ type: i0.Input }],
|
|
@@ -7836,6 +7840,7 @@
|
|
|
7836
7840
|
this._dataService = _dataService;
|
|
7837
7841
|
this._dataService_odbc = _dataService_odbc;
|
|
7838
7842
|
this.init_fill = true; //automatic load data from database default is true
|
|
7843
|
+
this.error = null;
|
|
7839
7844
|
this.sql = "";
|
|
7840
7845
|
this.label = "";
|
|
7841
7846
|
this.types = [];
|
|
@@ -8200,7 +8205,7 @@
|
|
|
8200
8205
|
{ type: i0.Component, args: [{
|
|
8201
8206
|
selector: "FHAutoComplete",
|
|
8202
8207
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4],
|
|
8203
|
-
template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0)\" [class.fh_field]=\"enabled\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [disabled]=\"!enabled || hidden\"\n [matAutocomplete]=\"auto\"\n [required]=\"required\"\n #trigger=\"matAutocompleteTrigger\"\n (keyup)=\"onChange_up($event)\"\n [(ngModel)]=\"sItem\"\n (focus)=\"fi_search();onChange_up($event)\"\n (focusout)=\"fo_search($event)\"\n #searchp\n />\n </mat-form-field>\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"selectedSearchItem($event)\"\n [autoActiveFirstOption]=\"open_on_load\"\n >\n <mat-option\n *ngFor=\"let objx of searchItemsFiltered\"\n [value]=\"objx.descrizione_valore\"\n >\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\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\n [hidden]=\"enabled || hidden\" [class.fh_field_dis]=\"!enabled\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [required]=\"required\" [(ngModel)]=\"sItem\" />\n </mat-form-field>\n ",
|
|
8208
|
+
template: "\n <div style=\"min-height:45px\" *ngIf=\"enabled && !hidden && !is_loaded && myData?.length==0\"><mat-spinner diameter=\"25\" ></mat-spinner></div>\n <mat-form-field\n [hidden]=\"!enabled || hidden || (!is_loaded && myData?.length==0)\" [class.fh_field]=\"enabled\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [disabled]=\"!enabled || hidden\"\n [matAutocomplete]=\"auto\"\n [required]=\"required\"\n #trigger=\"matAutocompleteTrigger\"\n (keyup)=\"onChange_up($event)\"\n [(ngModel)]=\"sItem\"\n (focus)=\"fi_search();onChange_up($event)\"\n (focusout)=\"fo_search($event)\"\n #searchp\n />\n <mat-error *ngIf=\"error==null\">{{ error }}</mat-error>\n </mat-form-field>\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"selectedSearchItem($event)\"\n [autoActiveFirstOption]=\"open_on_load\"\n >\n <mat-option\n *ngFor=\"let objx of searchItemsFiltered\"\n [value]=\"objx.descrizione_valore\"\n >\n {{ objx.descrizione_valore }}\n </mat-option>\n </mat-autocomplete>\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\n [hidden]=\"enabled || hidden\" [class.fh_field_dis]=\"!enabled\"\n\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n <input type=\"text\" #el1 matInput [disabled]=\"true\" [required]=\"required\" [(ngModel)]=\"sItem\" />\n </mat-form-field>\n ",
|
|
8204
8209
|
styles: [""]
|
|
8205
8210
|
},] }
|
|
8206
8211
|
];
|
|
@@ -8211,6 +8216,7 @@
|
|
|
8211
8216
|
FHAutoCompleteComponent.propDecorators = {
|
|
8212
8217
|
init_fill: [{ type: i0.Input }],
|
|
8213
8218
|
autocomplete: [{ type: i0.ViewChild, args: [autocomplete.MatAutocompleteTrigger,] }],
|
|
8219
|
+
error: [{ type: i0.Input }],
|
|
8214
8220
|
sql: [{ type: i0.Input }],
|
|
8215
8221
|
label: [{ type: i0.Input }],
|
|
8216
8222
|
types: [{ type: i0.Input }],
|
|
@@ -8417,6 +8423,7 @@
|
|
|
8417
8423
|
this.uti_s = uti_s;
|
|
8418
8424
|
this._apps = _apps;
|
|
8419
8425
|
this.label = "";
|
|
8426
|
+
this.error = null;
|
|
8420
8427
|
this.required = false;
|
|
8421
8428
|
this.show_buttons = false;
|
|
8422
8429
|
this.enabled = true;
|
|
@@ -8598,7 +8605,7 @@
|
|
|
8598
8605
|
{ provide: core$1.MAT_DATE_FORMATS, useValue: ɵ1 },
|
|
8599
8606
|
{ provide: core$1.DateAdapter, useClass: MomentDateAdapter }
|
|
8600
8607
|
],
|
|
8601
|
-
template: "\n <div [hidden]=\"!show_buttons || !enabled\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"add_year()\"\n >\n +1 Anno\n </button>\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"ini_year()\"\n >\n Inizio Anno\n </button>\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"fin_year()\"\n >\n Fine Anno\n </button>\n </div>\n\n <mat-form-field\n (click)=\"chxx($event)\"\n appearance=\"outline\"\n floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n [disabled]=\"!enabled\"\n #pickerId\n (dateChange)=\"ch($event)\"\n (focusout)=\"dt_chg($event)\"\n (keyup)=\"checkInput($event)\"\n [min]=\"min_date\"\n [max]=\"max_date\"\n [required]=\"required\"\n (click)=\"chxx($event)\"\n [(ngModel)]=\"date_sel\"\n matInput\n [matDatepicker]=\"picker\"\n />\n <mat-datepicker-toggle\n matSuffix\n [for]=\"picker\"\n (click)=\"chxx($event)\"\n ></mat-datepicker-toggle>\n <mat-datepicker (click)=\"chxx($event)\" #picker></mat-datepicker>\n </mat-form-field>\n ",
|
|
8608
|
+
template: "\n <div [hidden]=\"!show_buttons || !enabled\">\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"add_year()\"\n >\n +1 Anno\n </button>\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"ini_year()\"\n >\n Inizio Anno\n </button>\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"fin_year()\"\n >\n Fine Anno\n </button>\n </div>\n\n <mat-form-field\n (click)=\"chxx($event)\"\n appearance=\"outline\"\n floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n [disabled]=\"!enabled\"\n #pickerId\n (dateChange)=\"ch($event)\"\n (focusout)=\"dt_chg($event)\"\n (keyup)=\"checkInput($event)\"\n [min]=\"min_date\"\n [max]=\"max_date\"\n [required]=\"required\"\n (click)=\"chxx($event)\"\n [(ngModel)]=\"date_sel\"\n matInput\n [matDatepicker]=\"picker\"\n />\n <mat-datepicker-toggle\n matSuffix\n [for]=\"picker\"\n (click)=\"chxx($event)\"\n ></mat-datepicker-toggle>\n <mat-datepicker (click)=\"chxx($event)\" #picker></mat-datepicker>\n <mat-error *ngIf=\"error==null\">{{ error }}</mat-error>\n </mat-form-field>\n ",
|
|
8602
8609
|
styles: ["\n .lb_small_grigia {\n font-size: 15px;\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 "]
|
|
8603
8610
|
},] }
|
|
8604
8611
|
];
|
|
@@ -8609,6 +8616,7 @@
|
|
|
8609
8616
|
]; };
|
|
8610
8617
|
FHDatePickerComponent.propDecorators = {
|
|
8611
8618
|
label: [{ type: i0.Input }],
|
|
8619
|
+
error: [{ type: i0.Input }],
|
|
8612
8620
|
required: [{ type: i0.Input }],
|
|
8613
8621
|
show_buttons: [{ type: i0.Input }],
|
|
8614
8622
|
enabled: [{ type: i0.Input }],
|
|
@@ -8833,6 +8841,7 @@
|
|
|
8833
8841
|
this.enabled = true;
|
|
8834
8842
|
this.required = false;
|
|
8835
8843
|
this.email = false;
|
|
8844
|
+
this.error = null;
|
|
8836
8845
|
this.change = new i0.EventEmitter();
|
|
8837
8846
|
this.focusout = new i0.EventEmitter();
|
|
8838
8847
|
this.focusin = new i0.EventEmitter();
|
|
@@ -8878,7 +8887,7 @@
|
|
|
8878
8887
|
{ type: i0.Component, args: [{
|
|
8879
8888
|
selector: "FHTextInput",
|
|
8880
8889
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$6],
|
|
8881
|
-
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [email]=\"email\"\n type=\"text\"\n [(ngModel)]=\"text_v\"\n #el\n [disabled]=\"!enabled\"\n [required]=\"required\"\n (focusout)=\"onFu()\"\n (focusin)=\"onFi()\"\n (ngModelChange)=\"modelch()\"\n [autocomplete]=\"autocomplete\"\n [maxlength]=\"maxlength\"\n [type]=\"type\"\n />\n <mat-hint [hidden]=\"hint==''\">{{hint}}</mat-hint>\n </mat-form-field>\n ",
|
|
8890
|
+
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n matInput\n [email]=\"email\"\n type=\"text\"\n [(ngModel)]=\"text_v\"\n #el\n [disabled]=\"!enabled\"\n [required]=\"required\"\n (focusout)=\"onFu()\"\n (focusin)=\"onFi()\"\n (ngModelChange)=\"modelch()\"\n [autocomplete]=\"autocomplete\"\n [maxlength]=\"maxlength\"\n [type]=\"type\"\n />\n <mat-hint [hidden]=\"hint==''\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"error==null\">{{ error }}</mat-error>\n </mat-form-field>\n ",
|
|
8882
8891
|
styles: [""]
|
|
8883
8892
|
},] }
|
|
8884
8893
|
];
|
|
@@ -8893,6 +8902,7 @@
|
|
|
8893
8902
|
enabled: [{ type: i0.Input }],
|
|
8894
8903
|
required: [{ type: i0.Input }],
|
|
8895
8904
|
email: [{ type: i0.Input }],
|
|
8905
|
+
error: [{ type: i0.Input }],
|
|
8896
8906
|
change: [{ type: i0.Output }],
|
|
8897
8907
|
focusout: [{ type: i0.Output }],
|
|
8898
8908
|
focusin: [{ type: i0.Output }],
|
|
@@ -9903,6 +9913,7 @@
|
|
|
9903
9913
|
this.enabled = true;
|
|
9904
9914
|
this.hidden = false;
|
|
9905
9915
|
this.color = "";
|
|
9916
|
+
this.error = null;
|
|
9906
9917
|
this.m_bkcolor = "";
|
|
9907
9918
|
this.pattern = "[-+]?[0-9]*[.,]?[0-9]+";
|
|
9908
9919
|
this.change = new i0.EventEmitter();
|
|
@@ -10040,7 +10051,7 @@
|
|
|
10040
10051
|
{ type: i0.Component, args: [{
|
|
10041
10052
|
selector: "FHNumericField",
|
|
10042
10053
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC],
|
|
10043
|
-
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n [style.text-align]=\"text_align\"\n [style.background-color]=\"getStyle_BkColor()\"\n [style.color]=\"getStyle_Color()\"\n #el\n matInput\n [required]=\"required\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n (ngModelChange)=\"modelch()\"\n formnovalidate\n (blur)=\"chg();focus_out.emit(value)\"\n (click)=\"click_select_allf($event)\"\n (focus)=\"removeCurrencyPipeFormat($event); select_allf($event)\"\n (keydown)=\"keyDownFunctioncl($event)\"\n />\n <mat-hint [hidden]=\"hint==''\">{{hint}}</mat-hint>\n </mat-form-field>\n ",
|
|
10054
|
+
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n [style.text-align]=\"text_align\"\n [style.background-color]=\"getStyle_BkColor()\"\n [style.color]=\"getStyle_Color()\"\n #el\n matInput\n [required]=\"required\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n (ngModelChange)=\"modelch()\"\n formnovalidate\n (blur)=\"chg();focus_out.emit(value)\"\n (click)=\"click_select_allf($event)\"\n (focus)=\"removeCurrencyPipeFormat($event); select_allf($event)\"\n (keydown)=\"keyDownFunctioncl($event)\"\n />\n <mat-hint [hidden]=\"hint==''\">{{hint}}</mat-hint>\n <mat-error *ngIf=\"error==null\">{{ error }}</mat-error>\n </mat-form-field>\n ",
|
|
10044
10055
|
styles: ["\n\n "]
|
|
10045
10056
|
},] }
|
|
10046
10057
|
];
|
|
@@ -10058,6 +10069,7 @@
|
|
|
10058
10069
|
enabled: [{ type: i0.Input }],
|
|
10059
10070
|
hidden: [{ type: i0.Input }],
|
|
10060
10071
|
color: [{ type: i0.Input }],
|
|
10072
|
+
error: [{ type: i0.Input }],
|
|
10061
10073
|
change: [{ type: i0.Output }],
|
|
10062
10074
|
focus_out: [{ type: i0.Output }],
|
|
10063
10075
|
enter_key_pressed: [{ type: i0.Output }],
|
|
@@ -16631,7 +16643,7 @@
|
|
|
16631
16643
|
wkf_header_bar_v2.decorators = [
|
|
16632
16644
|
{ type: i0.Component, args: [{
|
|
16633
16645
|
selector: "wkf_header_bar_v2",
|
|
16634
|
-
template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayoutGap=\"15px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n {{back_lbl}}</button\n ></div>\n <div *ngIf=\"(edit_button || force_save) && !in_carico\">\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n\n color=\"primary\" style=\"font-weight:bold\"\n >\n {{save_lbl}}</button\n ></div>\n\n\n <div>\n <button\n mat-flat-button\n (click)=\"prendi_in_carico()\"\n *ngIf=\"in_carico\"\n style=\"background-color:#709D66;color:#FFFFFF;font-weight:bold\"\n >\n {{prendi_in_carico_lbl | translate}}</button\n ></div>\n
|
|
16646
|
+
template: "\n <div fxLayout=\"row\" fxLayoutGap.lt-md=\"8px\" fxLayoutGap=\"15px\" fxLayout.lt-md=\"column\">\n <div\n fxLayout=\"row\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.lt-md=\"8px\"\n *ngIf=\"\n !m_appService.getState().pageFullscreen ||\n edit_button ||\n respingi_button\n \"\n >\n <div>\n <button\n mat-flat-button\n (click)=\"back()\"\n *ngIf=\"!m_appService.getState().pageFullscreen\"\n >\n {{back_lbl}}</button\n ></div>\n <div *ngIf=\"(edit_button || force_save) && !in_carico\">\n <button\n mat-flat-button\n (click)=\"evt_salv()\"\n\n color=\"primary\" style=\"font-weight:bold\"\n >\n {{save_lbl}}</button\n ></div>\n\n\n <div>\n <button\n mat-flat-button\n (click)=\"prendi_in_carico()\"\n *ngIf=\"in_carico\"\n style=\"background-color:#709D66;color:#FFFFFF;font-weight:bold\"\n >\n {{prendi_in_carico_lbl | translate}}</button\n ></div>\n\n <div *ngIf=\"dt_agg!=null && dt_agg?.b_init_next\">\n\n <button\n mat-flat-button\n (click)=\"procedi()\"\n *ngIf=\"(edit_button && procedi_button) && !in_carico\"\n style=\"font-weight:bold\" [style.background-color]=\"dt_agg?.next_back_ground_color\" [style.color]=\"dt_agg?.next_label_color\"\n >\n {{dt_agg?.next_label | translate}}</button>\n </div>\n\n <div *ngIf=\"(respingi_button) && !in_carico\">\n <button\n mat-flat-button\n (click)=\"respingi()\"\n style=\"font-weight:bold\"\n color=\"warn\"\n >\n {{respingi_lbl | translate}}\n </button>\n </div>\n <div *ngIf=\"(b_revisione) && in_carico\">\n <button\n mat-flat-button\n (click)=\"revisione()\"\n\n color=\"accent\"\n >\n {{revisione_lbl | translate}}\n </button>\n </div>\n <div *ngIf=\"assegna_a\">\n <button\n mat-flat-button\n (click)=\"evt_assegna_a()\"\n\n style=\"background-color:#709D66;color:#FFF;font-weight:bold\"\n >\n {{'Riassegna a'|translate}}</button\n ></div>\n\n <div>\n <!-- <button mat-flat-button (click)=\"doEnd(900)\" color=\"warn\" >test</button> \n-->\n </div>\n \n <div\n fxLayout=\"row\"\n fxLayout.xs=\"column\"\n fxLayoutGap=\"16px\"\n fxLayoutGap.xs=\"8px\"\n >\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div>\n <button\n mat-flat-button\n (click)=\"open_info()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>info_outline</mat-icon> {{info_doc_lbl | translate}}</button\n ></div>\n <div>\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.comm_c ? dt_agg?.comm_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.comm_c ? dt_agg?.comm_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_commenti()\"\n >\n <mat-icon>insert_comment</mat-icon> {{commenti_lbl | translate}}</button\n ></div>\n\n </div>\n <div fxLayout=\"row\" fxLayoutGap=\"16px\">\n <div [hidden]=\"!download_button\">\n <button\n mat-flat-button *ngIf=\"utility_button\"\n [color]=\"(dt_agg?.all_c ? dt_agg?.all_c : 0 > 0) ? 'accent' : ''\"\n [matBadge]=\"dt_agg?.all_c ? dt_agg?.all_c : 0\"\n matBadgePosition=\"before\"\n matBadgeColor=\"primary\"\n (click)=\"open_upload()\"\n >\n <mat-icon>attach_file</mat-icon> {{allegati_lbl | translate}}</button\n ></div>\n\n <div>\n <button\n mat-flat-button\n (click)=\"open_wkf()\"\n *ngIf=\"!m_appService.getState().pageFullscreen && utility_button\"\n >\n <mat-icon>transfer_within_a_station</mat-icon> {{workflow_lbl | translate}}\n </button>\n </div>\n\n\n\n </div>\n </div>\n <div\n *ngIf=\"custom_commands.length > 0\"\n fxLayoutGap=\"10px\"\n fxLayout=\"row\"\n fxLayoutAlign=\"end center\"\n >\n <div *ngFor=\"let app of custom_commands\" fxLayout=\"row\"\n fxLayoutGap=\"5px\">\n <div><button [hidden]=\"app.hidden!=null && app.hidden\"\n mat-flat-button\n [color]=\"app.color\"\n (click)=\"exec_command(app.command)\"\n >\n <mat-icon *ngIf=\"app.icon != null\">{{ app.icon }}</mat-icon\n >{{ app.label | translate}}\n </button> </div>\n </div>\n </div>\n </div>\n "
|
|
16635
16647
|
},] }
|
|
16636
16648
|
];
|
|
16637
16649
|
wkf_header_bar_v2.ctorParameters = function () { return [
|
|
@@ -23048,8 +23060,8 @@
|
|
|
23048
23060
|
this.tsr = tsr;
|
|
23049
23061
|
this.m_obj = {};
|
|
23050
23062
|
this.next_label = "Procedi";
|
|
23051
|
-
this.next_label_color = "#
|
|
23052
|
-
this.next_back_ground_color = "#
|
|
23063
|
+
this.next_label_color = "#000000";
|
|
23064
|
+
this.next_back_ground_color = "#ffd740";
|
|
23053
23065
|
this.b_init_next = false;
|
|
23054
23066
|
this.sort_field = "";
|
|
23055
23067
|
this.in_carico = false;
|