@fluxhub/fluxhub-lib 1.0.606 → 1.0.608

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.
@@ -3219,9 +3219,11 @@ var FHComboboxComponent = /** @class */ (function () {
3219
3219
  * @return {?}
3220
3220
  */
3221
3221
  function () {
3222
+ var _this = this;
3222
3223
  // console.log(this.init_fill);
3223
3224
  // if(!this.init_fill){this.init_fill=true;return;}
3224
- var _this = this;
3225
+ if (this.sql == null)
3226
+ this.sql = '';
3225
3227
  if (this.sql.indexOf('|') != -1 && this.sql.indexOf('$') != -1) {
3226
3228
  this.set_options(this.sql);
3227
3229
  return;
@@ -19178,6 +19180,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
19178
19180
  */
19179
19181
  function () {
19180
19182
  this.value = '';
19183
+ this.writeValue(this.value);
19181
19184
  };
19182
19185
  /**
19183
19186
  * @param {?} value
@@ -19220,15 +19223,6 @@ var FHFieldPickListComponent = /** @class */ (function () {
19220
19223
  */
19221
19224
  function () {
19222
19225
  };
19223
- /**
19224
- * @return {?}
19225
- */
19226
- FHFieldPickListComponent.prototype.reset = /**
19227
- * @return {?}
19228
- */
19229
- function () {
19230
- this.value = '';
19231
- };
19232
19226
  /**
19233
19227
  * @return {?}
19234
19228
  */
@@ -19260,6 +19254,7 @@ var FHFieldPickListComponent = /** @class */ (function () {
19260
19254
  if (_this.value != '')
19261
19255
  _this.value += _this.separator;
19262
19256
  _this.value += result[i].descrizione_valore;
19257
+ _this.writeValue(_this.value);
19263
19258
  }
19264
19259
  return;
19265
19260
  }
@@ -19837,6 +19832,8 @@ var FHComboboxComponentFilter = /** @class */ (function () {
19837
19832
  // console.log(this.init_fill);
19838
19833
  // if(!this.init_fill){this.init_fill=true;return;}
19839
19834
  // console.log("fillcombo "+this.sql);
19835
+ if (this.sql == null)
19836
+ this.sql = '';
19840
19837
  if (this.sql.indexOf('|') != -1 && this.sql.indexOf('$') != -1) {
19841
19838
  this.set_options(this.sql);
19842
19839
  return;
@@ -20153,7 +20150,7 @@ var FHComboboxComponentFilter = /** @class */ (function () {
20153
20150
  };
20154
20151
  FHComboboxComponentFilter.decorators = [
20155
20152
  { type: Component, args: [{
20156
- selector: 'FHFilterComboBox', template: "\n <mat-form-field [hidden]=\"!enabled || hidden\"> \n <mat-select #cmb [(ngModel)]=\"selval\" (selectionChange)=\"sc()\" [required]=\"required\" [placeholder]=\"label\">\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 ",
20153
+ selector: 'FHFilterComboBox', template: "\n <mat-form-field [hidden]=\"!enabled || hidden\">\n <mat-select #cmb [(ngModel)]=\"selval\" (selectionChange)=\"sc()\" [required]=\"required\" [placeholder]=\"label\">\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 ",
20157
20154
  styles: ["\n\n "]
20158
20155
  }] }
20159
20156
  ];