@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.
@@ -3241,9 +3241,11 @@
3241
3241
  * @return {?}
3242
3242
  */
3243
3243
  function () {
3244
+ var _this = this;
3244
3245
  // console.log(this.init_fill);
3245
3246
  // if(!this.init_fill){this.init_fill=true;return;}
3246
- var _this = this;
3247
+ if (this.sql == null)
3248
+ this.sql = '';
3247
3249
  if (this.sql.indexOf('|') != -1 && this.sql.indexOf('$') != -1) {
3248
3250
  this.set_options(this.sql);
3249
3251
  return;
@@ -19200,6 +19202,7 @@
19200
19202
  */
19201
19203
  function () {
19202
19204
  this.value = '';
19205
+ this.writeValue(this.value);
19203
19206
  };
19204
19207
  /**
19205
19208
  * @param {?} value
@@ -19242,15 +19245,6 @@
19242
19245
  */
19243
19246
  function () {
19244
19247
  };
19245
- /**
19246
- * @return {?}
19247
- */
19248
- FHFieldPickListComponent.prototype.reset = /**
19249
- * @return {?}
19250
- */
19251
- function () {
19252
- this.value = '';
19253
- };
19254
19248
  /**
19255
19249
  * @return {?}
19256
19250
  */
@@ -19282,6 +19276,7 @@
19282
19276
  if (_this.value != '')
19283
19277
  _this.value += _this.separator;
19284
19278
  _this.value += result[i].descrizione_valore;
19279
+ _this.writeValue(_this.value);
19285
19280
  }
19286
19281
  return;
19287
19282
  }
@@ -19859,6 +19854,8 @@
19859
19854
  // console.log(this.init_fill);
19860
19855
  // if(!this.init_fill){this.init_fill=true;return;}
19861
19856
  // console.log("fillcombo "+this.sql);
19857
+ if (this.sql == null)
19858
+ this.sql = '';
19862
19859
  if (this.sql.indexOf('|') != -1 && this.sql.indexOf('$') != -1) {
19863
19860
  this.set_options(this.sql);
19864
19861
  return;
@@ -20175,7 +20172,7 @@
20175
20172
  };
20176
20173
  FHComboboxComponentFilter.decorators = [
20177
20174
  { type: core.Component, args: [{
20178
- 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 ",
20175
+ 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 ",
20179
20176
  styles: ["\n\n "]
20180
20177
  }] }
20181
20178
  ];