@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
|
@@ -1092,6 +1092,7 @@ class FHComboboxComponent {
|
|
|
1092
1092
|
this._dataService = _dataService;
|
|
1093
1093
|
this._dataService_odbc = _dataService_odbc;
|
|
1094
1094
|
this._tsr = _tsr;
|
|
1095
|
+
this.error = null;
|
|
1095
1096
|
this.init_fill = true;
|
|
1096
1097
|
this.sql = "";
|
|
1097
1098
|
this.types = [];
|
|
@@ -1482,6 +1483,7 @@ FHComboboxComponent.decorators = [
|
|
|
1482
1483
|
app.descrizione_valore | translate
|
|
1483
1484
|
}}</mat-option>
|
|
1484
1485
|
</mat-select>
|
|
1486
|
+
<mat-error *ngIf="error==null">{{ error }}</mat-error>
|
|
1485
1487
|
</mat-form-field>
|
|
1486
1488
|
|
|
1487
1489
|
<mat-form-field
|
|
@@ -1508,6 +1510,7 @@ FHComboboxComponent.ctorParameters = () => [
|
|
|
1508
1510
|
{ type: TranslateService }
|
|
1509
1511
|
];
|
|
1510
1512
|
FHComboboxComponent.propDecorators = {
|
|
1513
|
+
error: [{ type: Input }],
|
|
1511
1514
|
init_fill: [{ type: Input }],
|
|
1512
1515
|
sql: [{ type: Input }],
|
|
1513
1516
|
types: [{ type: Input }],
|
|
@@ -10709,6 +10712,7 @@ class FHTextArea {
|
|
|
10709
10712
|
this.enabled = true;
|
|
10710
10713
|
this.required = false;
|
|
10711
10714
|
this.rows = 3;
|
|
10715
|
+
this.error = null;
|
|
10712
10716
|
this.change = new EventEmitter();
|
|
10713
10717
|
this.focusout = new EventEmitter();
|
|
10714
10718
|
this.focusin = new EventEmitter();
|
|
@@ -10761,6 +10765,7 @@ FHTextArea.decorators = [
|
|
|
10761
10765
|
(focusin)="onFi()"
|
|
10762
10766
|
(ngModelChange)="modelch()"
|
|
10763
10767
|
></textarea>
|
|
10768
|
+
<mat-error *ngIf="error==null">{{ error }}</mat-error>
|
|
10764
10769
|
</mat-form-field>
|
|
10765
10770
|
`,
|
|
10766
10771
|
styles: [``]
|
|
@@ -10773,6 +10778,7 @@ FHTextArea.propDecorators = {
|
|
|
10773
10778
|
enabled: [{ type: Input }],
|
|
10774
10779
|
required: [{ type: Input }],
|
|
10775
10780
|
rows: [{ type: Input }],
|
|
10781
|
+
error: [{ type: Input }],
|
|
10776
10782
|
change: [{ type: Output }],
|
|
10777
10783
|
focusout: [{ type: Output }],
|
|
10778
10784
|
focusin: [{ type: Output }]
|
|
@@ -11535,6 +11541,7 @@ class FHAutoCompleteComponent {
|
|
|
11535
11541
|
this._dataService = _dataService;
|
|
11536
11542
|
this._dataService_odbc = _dataService_odbc;
|
|
11537
11543
|
this.init_fill = true; //automatic load data from database default is true
|
|
11544
|
+
this.error = null;
|
|
11538
11545
|
this.sql = "";
|
|
11539
11546
|
this.label = "";
|
|
11540
11547
|
this.types = [];
|
|
@@ -11911,6 +11918,7 @@ FHAutoCompleteComponent.decorators = [
|
|
|
11911
11918
|
(focusout)="fo_search($event)"
|
|
11912
11919
|
#searchp
|
|
11913
11920
|
/>
|
|
11921
|
+
<mat-error *ngIf="error==null">{{ error }}</mat-error>
|
|
11914
11922
|
</mat-form-field>
|
|
11915
11923
|
<mat-autocomplete
|
|
11916
11924
|
#auto="matAutocomplete"
|
|
@@ -11950,6 +11958,7 @@ FHAutoCompleteComponent.ctorParameters = () => [
|
|
|
11950
11958
|
FHAutoCompleteComponent.propDecorators = {
|
|
11951
11959
|
init_fill: [{ type: Input }],
|
|
11952
11960
|
autocomplete: [{ type: ViewChild, args: [MatAutocompleteTrigger,] }],
|
|
11961
|
+
error: [{ type: Input }],
|
|
11953
11962
|
sql: [{ type: Input }],
|
|
11954
11963
|
label: [{ type: Input }],
|
|
11955
11964
|
types: [{ type: Input }],
|
|
@@ -12153,6 +12162,7 @@ class FHDatePickerComponent {
|
|
|
12153
12162
|
this.uti_s = uti_s;
|
|
12154
12163
|
this._apps = _apps;
|
|
12155
12164
|
this.label = "";
|
|
12165
|
+
this.error = null;
|
|
12156
12166
|
this.required = false;
|
|
12157
12167
|
this.show_buttons = false;
|
|
12158
12168
|
this.enabled = true;
|
|
@@ -12380,6 +12390,7 @@ FHDatePickerComponent.decorators = [
|
|
|
12380
12390
|
(click)="chxx($event)"
|
|
12381
12391
|
></mat-datepicker-toggle>
|
|
12382
12392
|
<mat-datepicker (click)="chxx($event)" #picker></mat-datepicker>
|
|
12393
|
+
<mat-error *ngIf="error==null">{{ error }}</mat-error>
|
|
12383
12394
|
</mat-form-field>
|
|
12384
12395
|
`,
|
|
12385
12396
|
styles: [`
|
|
@@ -12412,6 +12423,7 @@ FHDatePickerComponent.ctorParameters = () => [
|
|
|
12412
12423
|
];
|
|
12413
12424
|
FHDatePickerComponent.propDecorators = {
|
|
12414
12425
|
label: [{ type: Input }],
|
|
12426
|
+
error: [{ type: Input }],
|
|
12415
12427
|
required: [{ type: Input }],
|
|
12416
12428
|
show_buttons: [{ type: Input }],
|
|
12417
12429
|
enabled: [{ type: Input }],
|
|
@@ -12440,6 +12452,7 @@ class FHTextInput {
|
|
|
12440
12452
|
this.enabled = true;
|
|
12441
12453
|
this.required = false;
|
|
12442
12454
|
this.email = false;
|
|
12455
|
+
this.error = null;
|
|
12443
12456
|
this.change = new EventEmitter();
|
|
12444
12457
|
this.focusout = new EventEmitter();
|
|
12445
12458
|
this.focusin = new EventEmitter();
|
|
@@ -12500,6 +12513,7 @@ FHTextInput.decorators = [
|
|
|
12500
12513
|
[type]="type"
|
|
12501
12514
|
/>
|
|
12502
12515
|
<mat-hint [hidden]="hint==''">{{hint}}</mat-hint>
|
|
12516
|
+
<mat-error *ngIf="error==null">{{ error }}</mat-error>
|
|
12503
12517
|
</mat-form-field>
|
|
12504
12518
|
`,
|
|
12505
12519
|
styles: [``]
|
|
@@ -12516,6 +12530,7 @@ FHTextInput.propDecorators = {
|
|
|
12516
12530
|
enabled: [{ type: Input }],
|
|
12517
12531
|
required: [{ type: Input }],
|
|
12518
12532
|
email: [{ type: Input }],
|
|
12533
|
+
error: [{ type: Input }],
|
|
12519
12534
|
change: [{ type: Output }],
|
|
12520
12535
|
focusout: [{ type: Output }],
|
|
12521
12536
|
focusin: [{ type: Output }],
|
|
@@ -13543,6 +13558,7 @@ class FHNumericFieldComponent {
|
|
|
13543
13558
|
this.enabled = true;
|
|
13544
13559
|
this.hidden = false;
|
|
13545
13560
|
this.color = "";
|
|
13561
|
+
this.error = null;
|
|
13546
13562
|
this.m_bkcolor = "";
|
|
13547
13563
|
this.pattern = "[-+]?[0-9]*[.,]?[0-9]+";
|
|
13548
13564
|
this.change = new EventEmitter();
|
|
@@ -13696,6 +13712,7 @@ FHNumericFieldComponent.decorators = [
|
|
|
13696
13712
|
(keydown)="keyDownFunctioncl($event)"
|
|
13697
13713
|
/>
|
|
13698
13714
|
<mat-hint [hidden]="hint==''">{{hint}}</mat-hint>
|
|
13715
|
+
<mat-error *ngIf="error==null">{{ error }}</mat-error>
|
|
13699
13716
|
</mat-form-field>
|
|
13700
13717
|
`,
|
|
13701
13718
|
styles: [`
|
|
@@ -13717,6 +13734,7 @@ FHNumericFieldComponent.propDecorators = {
|
|
|
13717
13734
|
enabled: [{ type: Input }],
|
|
13718
13735
|
hidden: [{ type: Input }],
|
|
13719
13736
|
color: [{ type: Input }],
|
|
13737
|
+
error: [{ type: Input }],
|
|
13720
13738
|
change: [{ type: Output }],
|
|
13721
13739
|
focus_out: [{ type: Output }],
|
|
13722
13740
|
enter_key_pressed: [{ type: Output }],
|
|
@@ -24282,8 +24300,8 @@ class dati_aggiuntivi_v2 {
|
|
|
24282
24300
|
this.tsr = tsr;
|
|
24283
24301
|
this.m_obj = {};
|
|
24284
24302
|
this.next_label = "Procedi";
|
|
24285
|
-
this.next_label_color = "#
|
|
24286
|
-
this.next_back_ground_color = "#
|
|
24303
|
+
this.next_label_color = "#000000";
|
|
24304
|
+
this.next_back_ground_color = "#ffd740";
|
|
24287
24305
|
this.b_init_next = false;
|
|
24288
24306
|
this.sort_field = "";
|
|
24289
24307
|
this.in_carico = false;
|
|
@@ -26498,17 +26516,9 @@ wkf_header_bar_v2.decorators = [
|
|
|
26498
26516
|
>
|
|
26499
26517
|
{{prendi_in_carico_lbl | translate}}</button
|
|
26500
26518
|
></div>
|
|
26501
|
-
|
|
26502
|
-
dt_agg?.b_init_next {{dt_agg?.b_init_next|json}}
|
|
26519
|
+
|
|
26503
26520
|
<div *ngIf="dt_agg!=null && dt_agg?.b_init_next">
|
|
26504
|
-
|
|
26505
|
-
dt_agg?.next_label {{dt_agg?.next_label}}<br>
|
|
26506
|
-
dt_agg?.next_back_ground_color {{dt_agg?.next_back_ground_color}}<br>
|
|
26507
|
-
dt_agg?.next_label_color {{dt_agg?.next_label_color}}<br>
|
|
26508
|
-
in_carico {{in_carico}}<br>
|
|
26509
|
-
edit_button {{edit_button}}<br>
|
|
26510
|
-
procedi_button {{procedi_button}}<br>
|
|
26511
|
-
(edit_button && procedi_button) && !in_carico {{(edit_button && procedi_button) && !in_carico}}<br>
|
|
26521
|
+
|
|
26512
26522
|
<button
|
|
26513
26523
|
mat-flat-button
|
|
26514
26524
|
(click)="procedi()"
|