@fluxhub/fluxhub-lib 10.0.285 → 10.0.287
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 +4 -1
- 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 +5 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +4 -1
- 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/package.json +1 -1
|
@@ -7134,6 +7134,7 @@
|
|
|
7134
7134
|
this._dataService = _dataService;
|
|
7135
7135
|
this._dataService_odbc = _dataService_odbc;
|
|
7136
7136
|
this.init_fill = true; //automatic load data from database default is true
|
|
7137
|
+
// [autoActiveFirstOption]="open_on_load"
|
|
7137
7138
|
this.sql = "";
|
|
7138
7139
|
this.label = "";
|
|
7139
7140
|
this.types = [];
|
|
@@ -7142,6 +7143,7 @@
|
|
|
7142
7143
|
this.id_loading = false;
|
|
7143
7144
|
this.db_type = "1";
|
|
7144
7145
|
this.enabled = true;
|
|
7146
|
+
this.open_on_load = true;
|
|
7145
7147
|
this.required = false;
|
|
7146
7148
|
this.only_from_list = false;
|
|
7147
7149
|
this.fillend = new i0.EventEmitter();
|
|
@@ -7465,7 +7467,7 @@
|
|
|
7465
7467
|
{ type: i0.Component, args: [{
|
|
7466
7468
|
selector: "FHAutoComplete",
|
|
7467
7469
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4],
|
|
7468
|
-
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)\"\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 (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
|
|
7470
|
+
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)\"\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 (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\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\"\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 ",
|
|
7469
7471
|
styles: [""]
|
|
7470
7472
|
},] }
|
|
7471
7473
|
];
|
|
@@ -7482,6 +7484,7 @@
|
|
|
7482
7484
|
hidden: [{ type: i0.Input }],
|
|
7483
7485
|
db_type: [{ type: i0.Input }],
|
|
7484
7486
|
enabled: [{ type: i0.Input }],
|
|
7487
|
+
open_on_load: [{ type: i0.Input }],
|
|
7485
7488
|
required: [{ type: i0.Input }],
|
|
7486
7489
|
only_from_list: [{ type: i0.Input }],
|
|
7487
7490
|
fillend: [{ type: i0.Output }],
|