@farris/ui-list-filter 0.1.13 → 0.1.15

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.
@@ -3369,7 +3369,7 @@
3369
3369
  var igv = (( /** @type {?} */(qc.value)));
3370
3370
  /** @type {?} */
3371
3371
  var arr = [];
3372
- if (igv.textValue.length == 0) {
3372
+ if (igv.textValue === undefined || igv.textValue === null || igv.textValue.length == 0) {
3373
3373
  return [];
3374
3374
  }
3375
3375
  else if (igv.isInputText) {
@@ -4338,12 +4338,11 @@
4338
4338
  * @return {?}
4339
4339
  */
4340
4340
  function () {
4341
- if (this.currentLocale === this.localeIds['en']) {
4342
- this.isControlInline = false;
4343
- }
4344
- else {
4345
- this.isControlInline = true;
4346
- }
4341
+ // if (this.currentLocale === this.localeIds['en']) {
4342
+ // this.isControlInline = false;
4343
+ // } else {
4344
+ // this.isControlInline = true;
4345
+ // }
4347
4346
  this.canShowMoreIcon();
4348
4347
  };
4349
4348
  /**
@@ -5138,6 +5137,7 @@
5138
5137
  query: [{ type: i0.Output }],
5139
5138
  clear: [{ type: i0.Output }],
5140
5139
  searchChange: [{ type: i0.Output }],
5140
+ isControlInline: [{ type: i0.Input }],
5141
5141
  filterList: [{ type: i0.Input }]
5142
5142
  };
5143
5143
  return ListFilterComponent;
@@ -7507,10 +7507,20 @@
7507
7507
  }
7508
7508
  this.searchHandle.emit();
7509
7509
  };
7510
+ /**
7511
+ * @return {?}
7512
+ */
7513
+ FilterInputGroupComponent.prototype.onClear = /**
7514
+ * @return {?}
7515
+ */
7516
+ function () {
7517
+ (( /** @type {?} */(this.item.value))).clearValue();
7518
+ this.searchHandle.emit();
7519
+ };
7510
7520
  FilterInputGroupComponent.decorators = [
7511
7521
  { type: i0.Component, args: [{
7512
7522
  selector: 'app-filter-inputgroup',
7513
- template: "<label class=\"col-form-label\" *ngIf=\"item && showlabel\" title=\"{{getConditionItemTitle(item)}}\">\r\n <span class=\"farris-label-info text-danger\" *ngIf=\"item.control.required\">*</span>\r\n <span class=\"farris-label-text\">{{item.fieldName}}</span>\r\n</label>\r\n<div class=\"farris-input-wrap\" *ngIf=\"item\">\r\n <input-group #inputgroup\r\n [(ngModel)]=\"item.value.textValue\" \r\n name=\"{{item.fieldName}}\" \r\n id=\"{{testId}}\"\r\n [readonly]=\"disabled\"\r\n [groupText]=\"item.control.groupText\"\r\n [editable]=\"item.control.editable\"\r\n [placeholder]=\"item.placeHolder\"\r\n (clickHandle)=\"onClick($event)\"\r\n (blurHandle)=\"onBlur()\"\r\n >\r\n </input-group>\r\n</div>\r\n"
7523
+ template: "<label class=\"col-form-label\" *ngIf=\"item && showlabel\" title=\"{{getConditionItemTitle(item)}}\">\r\n <span class=\"farris-label-info text-danger\" *ngIf=\"item.control.required\">*</span>\r\n <span class=\"farris-label-text\">{{item.fieldName}}</span>\r\n</label>\r\n<div class=\"farris-input-wrap\" *ngIf=\"item\">\r\n <input-group #inputgroup\r\n [(ngModel)]=\"item.value.textValue\" \r\n name=\"{{item.fieldName}}\" \r\n id=\"{{testId}}\"\r\n [readonly]=\"disabled\"\r\n [groupText]=\"item.control.groupText\"\r\n [editable]=\"item.control.editable\"\r\n [placeholder]=\"item.placeHolder\"\r\n (clickHandle)=\"onClick($event)\"\r\n (blurHandle)=\"onBlur()\"\r\n (clear)=\"onClear()\"\r\n >\r\n </input-group>\r\n</div>\r\n"
7514
7524
  }] }
7515
7525
  ];
7516
7526
  /** @nocollapse */