@fluxhub/fluxhub-lib 10.0.330 → 10.0.332
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 +12 -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/esm2015/lib/controls/fhfieldpicklist.js +10 -9
- package/esm2015/lib/controls/fhlist.js +3 -3
- package/esm2015/lib/controls/fhpickfield.js +2 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +12 -13
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhpickfield.d.ts +0 -1
- package/package.json +1 -1
|
@@ -2513,7 +2513,6 @@
|
|
|
2513
2513
|
this.required = false;
|
|
2514
2514
|
this.enabled = true;
|
|
2515
2515
|
this.hidden = false;
|
|
2516
|
-
this.readonly = true;
|
|
2517
2516
|
this.sep = ',';
|
|
2518
2517
|
this.value_list = new Array();
|
|
2519
2518
|
this.single_sel = false;
|
|
@@ -2609,7 +2608,7 @@
|
|
|
2609
2608
|
{ type: i0.Component, args: [{
|
|
2610
2609
|
selector: "FHPickField",
|
|
2611
2610
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR],
|
|
2612
|
-
template: "\n <div fxLayout=\"row\" [hidden]=\"!enabled || hidden\">\n <mat-form-field\n style=\"clickable-field\"\n (click)=\"open_pick()\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n\n <input\n matInput\n [hidden]=\"hidden\"\n type=\"text\"\n [ngModel]=\"t_value\"\n [disabled]=\"false\"\n
|
|
2611
|
+
template: "\n <div fxLayout=\"row\" [hidden]=\"!enabled || hidden\">\n <mat-form-field\n style=\"clickable-field\"\n (click)=\"open_pick()\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{ label }}</mat-label>\n\n <input\n matInput\n [hidden]=\"hidden\"\n type=\"text\"\n [ngModel]=\"t_value\"\n [disabled]=\"false\"\n readonly\n />\n </mat-form-field>\n <button\n mat-icon-button\n matSuffix\n [hidden]=\"selectedUser.length == 0\"\n (click)=\"clear()\"\n >\n <mat-icon>clear</mat-icon>\n </button>\n </div>\n <mat-form-field\n [hidden]=\"enabled || hidden\"\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)]=\"t_value\"\n />\n </mat-form-field>\n ",
|
|
2613
2612
|
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 "]
|
|
2614
2613
|
},] }
|
|
2615
2614
|
];
|
|
@@ -2622,7 +2621,6 @@
|
|
|
2622
2621
|
required: [{ type: i0.Input }],
|
|
2623
2622
|
enabled: [{ type: i0.Input }],
|
|
2624
2623
|
hidden: [{ type: i0.Input }],
|
|
2625
|
-
readonly: [{ type: i0.Input }],
|
|
2626
2624
|
sep: [{ type: i0.Input }],
|
|
2627
2625
|
value_list: [{ type: i0.Input }],
|
|
2628
2626
|
single_sel: [{ type: i0.Input }],
|
|
@@ -8541,13 +8539,13 @@
|
|
|
8541
8539
|
if (!this.init_fill) {
|
|
8542
8540
|
return;
|
|
8543
8541
|
}
|
|
8544
|
-
|
|
8542
|
+
console.log("fillcombolist");
|
|
8545
8543
|
var p = new QParam();
|
|
8546
8544
|
p.sql = this.sql;
|
|
8547
8545
|
p.types = this.types;
|
|
8548
8546
|
p.values = this.values;
|
|
8547
|
+
console.log('p ', p);
|
|
8549
8548
|
this._dataService.doQuery(p).subscribe(function (data) {
|
|
8550
|
-
var ok_op = false;
|
|
8551
8549
|
if (data != null)
|
|
8552
8550
|
if (data.result_msg == "OK") {
|
|
8553
8551
|
_this.myData = data.result_data;
|
|
@@ -12988,16 +12986,17 @@
|
|
|
12988
12986
|
FHFieldPickListComponent.prototype.open_pick_list = function () {
|
|
12989
12987
|
var _this = this;
|
|
12990
12988
|
var dialogRef = this.m_dialog.open(fh_win_list, {
|
|
12991
|
-
disableClose: true,
|
|
12989
|
+
disableClose: true, data: {
|
|
12990
|
+
single_sel: this.single_sel,
|
|
12991
|
+
sel_values: this.value,
|
|
12992
|
+
separator: this.separator,
|
|
12993
|
+
label: this.label,
|
|
12994
|
+
sql: this.sql,
|
|
12995
|
+
types: this.types,
|
|
12996
|
+
values: this.values
|
|
12997
|
+
}
|
|
12992
12998
|
});
|
|
12993
12999
|
setTimeout(function () {
|
|
12994
|
-
dialogRef.componentInstance.single_sel = _this.single_sel;
|
|
12995
|
-
dialogRef.componentInstance.sel_values = _this.value;
|
|
12996
|
-
dialogRef.componentInstance.separator = _this.separator;
|
|
12997
|
-
dialogRef.componentInstance.label = _this.label;
|
|
12998
|
-
dialogRef.componentInstance.sql = _this.sql;
|
|
12999
|
-
dialogRef.componentInstance.types = _this.types;
|
|
13000
|
-
dialogRef.componentInstance.values = _this.values;
|
|
13001
13000
|
dialogRef.componentInstance.doFill();
|
|
13002
13001
|
});
|
|
13003
13002
|
dialogRef.afterClosed().subscribe(function (result) {
|