@farris/ui-list-filter 0.1.6 → 0.1.10

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.
Files changed (49) hide show
  1. package/bundles/farris-ui-list-filter.umd.js +230 -21
  2. package/bundles/farris-ui-list-filter.umd.js.map +1 -1
  3. package/bundles/farris-ui-list-filter.umd.min.js +1 -1
  4. package/bundles/farris-ui-list-filter.umd.min.js.map +1 -1
  5. package/esm2015/farris-ui-list-filter.js +2 -1
  6. package/esm2015/lib/controlcomponent/checkboxcomponent/checkbox.component.js +25 -3
  7. package/esm2015/lib/controlcomponent/datecomponent/date.component.js +25 -3
  8. package/esm2015/lib/controlcomponent/daterangecomponent/daterange.component.js +29 -3
  9. package/esm2015/lib/controlcomponent/dropdowncomponent/dropdown.component.js +25 -3
  10. package/esm2015/lib/controlcomponent/helpcomponent.ts/help.component.js +32 -4
  11. package/esm2015/lib/controlcomponent/numbercomponent/number.component.js +29 -2
  12. package/esm2015/lib/controlcomponent/radiocomponent/radio.component.js +27 -3
  13. package/esm2015/lib/controlcomponent/searchcomponent/search.component.js +2 -2
  14. package/esm2015/lib/directives/clear-fields.directive.js +87 -0
  15. package/esm2015/lib/entity/controltype/help/helpcontrol.js +6 -1
  16. package/esm2015/lib/list-filter.component.js +5 -2
  17. package/esm2015/lib/list-filter.module.js +4 -2
  18. package/esm2015/lib/service/list-filter.service.js +2 -1
  19. package/esm5/farris-ui-list-filter.js +2 -1
  20. package/esm5/lib/controlcomponent/checkboxcomponent/checkbox.component.js +27 -3
  21. package/esm5/lib/controlcomponent/datecomponent/date.component.js +27 -3
  22. package/esm5/lib/controlcomponent/daterangecomponent/daterange.component.js +31 -3
  23. package/esm5/lib/controlcomponent/dropdowncomponent/dropdown.component.js +27 -3
  24. package/esm5/lib/controlcomponent/helpcomponent.ts/help.component.js +34 -4
  25. package/esm5/lib/controlcomponent/numbercomponent/number.component.js +34 -2
  26. package/esm5/lib/controlcomponent/radiocomponent/radio.component.js +29 -3
  27. package/esm5/lib/controlcomponent/searchcomponent/search.component.js +2 -2
  28. package/esm5/lib/directives/clear-fields.directive.js +88 -0
  29. package/esm5/lib/entity/controltype/help/helpcontrol.js +6 -1
  30. package/esm5/lib/list-filter.component.js +5 -2
  31. package/esm5/lib/list-filter.module.js +4 -2
  32. package/esm5/lib/service/list-filter.service.js +2 -1
  33. package/farris-ui-list-filter.d.ts +1 -0
  34. package/farris-ui-list-filter.metadata.json +1 -1
  35. package/fesm2015/farris-ui-list-filter.js +219 -20
  36. package/fesm2015/farris-ui-list-filter.js.map +1 -1
  37. package/fesm5/farris-ui-list-filter.js +236 -20
  38. package/fesm5/farris-ui-list-filter.js.map +1 -1
  39. package/lib/controlcomponent/checkboxcomponent/checkbox.component.d.ts +6 -2
  40. package/lib/controlcomponent/datecomponent/date.component.d.ts +6 -2
  41. package/lib/controlcomponent/daterangecomponent/daterange.component.d.ts +6 -2
  42. package/lib/controlcomponent/dropdowncomponent/dropdown.component.d.ts +6 -2
  43. package/lib/controlcomponent/helpcomponent.ts/help.component.d.ts +10 -2
  44. package/lib/controlcomponent/numbercomponent/number.component.d.ts +7 -2
  45. package/lib/controlcomponent/radiocomponent/radio.component.d.ts +6 -2
  46. package/lib/directives/clear-fields.directive.d.ts +11 -0
  47. package/lib/entity/controltype/help/helpcontrol.d.ts +4 -0
  48. package/lib/list-filter.component.d.ts +1 -0
  49. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('lodash-es'), require('rxjs'), require('@angular/common'), require('@angular/forms'), require('@farris/ui-input-group'), require('@farris/ui-datepicker'), require('@farris/ui-datalist'), require('@farris/ui-combo-list'), require('@farris/ui-lookup'), require('@farris/ui-forms'), require('@farris/ui-perfect-scrollbar'), require('@farris/ui-number-spinner'), require('@farris/ui-locale'), require('@angular/core')) :
3
- typeof define === 'function' && define.amd ? define('@farris/ui-list-filter', ['exports', 'lodash-es', 'rxjs', '@angular/common', '@angular/forms', '@farris/ui-input-group', '@farris/ui-datepicker', '@farris/ui-datalist', '@farris/ui-combo-list', '@farris/ui-lookup', '@farris/ui-forms', '@farris/ui-perfect-scrollbar', '@farris/ui-number-spinner', '@farris/ui-locale', '@angular/core'], factory) :
4
- (factory((global.farris = global.farris || {}, global.farris['ui-list-filter'] = {}),global.lodashEs,global.rxjs,global.ng.common,global.ng.forms,global.uiInputGroup,global.uiDatepicker,global.uiDatalist,global.uiComboList,global.uiLookup,global.uiForms,global.uiPerfectScrollbar,global.uiNumberSpinner,global.uiLocale,global.ng.core));
5
- }(this, (function (exports,lodashEs,rxjs,common,forms,uiInputGroup,uiDatepicker,uiDatalist,uiComboList,uiLookup,uiForms,uiPerfectScrollbar,uiNumberSpinner,uiLocale,i0) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('lodash-es'), require('rxjs'), require('@angular/common'), require('@farris/ui-input-group'), require('@farris/ui-datepicker'), require('@farris/ui-datalist'), require('@farris/ui-combo-list'), require('@farris/ui-lookup'), require('@farris/ui-forms'), require('@farris/ui-perfect-scrollbar'), require('@farris/ui-number-spinner'), require('@farris/ui-locale'), require('@angular/core'), require('@angular/forms')) :
3
+ typeof define === 'function' && define.amd ? define('@farris/ui-list-filter', ['exports', 'lodash-es', 'rxjs', '@angular/common', '@farris/ui-input-group', '@farris/ui-datepicker', '@farris/ui-datalist', '@farris/ui-combo-list', '@farris/ui-lookup', '@farris/ui-forms', '@farris/ui-perfect-scrollbar', '@farris/ui-number-spinner', '@farris/ui-locale', '@angular/core', '@angular/forms'], factory) :
4
+ (factory((global.farris = global.farris || {}, global.farris['ui-list-filter'] = {}),global.lodashEs,global.rxjs,global.ng.common,global.uiInputGroup,global.uiDatepicker,global.uiDatalist,global.uiComboList,global.uiLookup,global.uiForms,global.uiPerfectScrollbar,global.uiNumberSpinner,global.uiLocale,global.ng.core,global.ng.forms));
5
+ }(this, (function (exports,lodashEs,rxjs,common,uiInputGroup,uiDatepicker,uiDatalist,uiComboList,uiLookup,uiForms,uiPerfectScrollbar,uiNumberSpinner,uiLocale,i0,forms) { 'use strict';
6
6
 
7
7
  /**
8
8
  * @fileoverview added by tsickle
@@ -2318,6 +2318,7 @@
2318
2318
  lookupEdit.showLabel = filedSchema.control.hasOwnProperty('showLabel') ? filedSchema.control.showLabel : true;
2319
2319
  lookupEdit.required = filedSchema.control.hasOwnProperty('required') ? filedSchema.control.required : false;
2320
2320
  lookupEdit.placeholder = filedSchema.control.placeholder ? filedSchema.control.placeholder : '';
2321
+ lookupEdit.clearFields = filedSchema.control.hasOwnProperty('clearFields') ? filedSchema.control.clearFields : '';
2321
2322
  return lookupEdit;
2322
2323
  };
2323
2324
  /**
@@ -4286,6 +4287,7 @@
4286
4287
  };
4287
4288
  this.currentLocale = 'zh-CHS';
4288
4289
  this.isControlInline = true;
4290
+ this.fieldCodeOfClearFields = [];
4289
4291
  if (this.injector) {
4290
4292
  this.currentLocale = this.injector.get(i0.LOCALE_ID);
4291
4293
  this.listfilterHandler = this.injector.get(LISTFILTER_HANDLER_TOKEN, null, i0.InjectFlags.Optional);
@@ -5104,7 +5106,7 @@
5104
5106
  ListFilterComponent.decorators = [
5105
5107
  { type: i0.Component, args: [{
5106
5108
  selector: 'farris-list-filter',
5107
- template: "<app-filter-common></app-filter-common>\r\n<div class=\"f-list-filter position-relative\"\r\n [ngClass]=\"{'list-filter-padding': showMoreIcon,'list-filter-autoWidth': autoWidth,'list-filter-paddingnone': filterPaddingNone}\">\r\n <ng-container *ngIf=\"filterType === 'list';else filterLayout\">\r\n <div class=\"filter-inputs-main filter-inputs-main-list f-form-layout farris-form farris-form-controls-inline\">\r\n <ng-container *ngFor=\"let formItem of listFilterConditions;let last = last;\">\r\n <div class=\"col-12\"\r\n [ngClass]=\"{'filter-list-item': showFilterList && showFilterList.length && showFilterList[showFilterList.length-1]['id'] == formItem.id}\"\r\n *ngIf=\"!formItem.control.isExtend\">\r\n <div class=\"filter-input-list farris-group-wrap\"\r\n [ngClass]=\"{'filter-input-list-autolabel': autoLabel,'filter-input-list-checkbox': getControlType(formItem) === 'checkboxgroup'}\"\r\n [id]=\"'filter-'+formItem.id\">\r\n <ng-container [ngTemplateOutlet]=\"filterInputTemplate\"\r\n [ngTemplateOutletContext]=\"{ item: formItem }\"></ng-container>\r\n <div class=\"filter-search-btn\"\r\n *ngIf=\"!liveSearch && showFilterList && showFilterList.length && showFilterList[showFilterList.length-1]['id'] == formItem.id\">\r\n <button class=\"btn btn-primary\" [ngClass]=\"{'disabled': disabled || !canSubmit}\"\r\n (click)=\"filterClick()\">{{ 'listFilter.filter' | locale }}</button>\r\n <button class=\"btn btn-secondary filter-search-btn-reset\" *ngIf=\"!showMoreIcon\"\r\n (click)=\"resetSearch()\">\r\n <span class=\"f-icon f-icon-remove\"></span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #filterLayout>\r\n <ng-container *ngIf=\"autoWidth;else gridLayout\">\r\n <div class=\"filter-inputs-main-basis-wrapper\" [ngClass]=\"{'list-filter-wrapper-show-btn': !liveSearch,'list-filter-wrapper-show-btn-remove': !liveSearch && !showMoreIcon}\">\r\n <div class=\"filter-inputs-main-basis-wrapper-inner\">\r\n <div class=\"filter-inputs-main filter-inputs-main-basis farris-form d-flex\"\r\n [ngClass]=\"{'justify-content-end': !alLeft,'farris-form-controls-inline':isControlInline}\"\r\n #filterMainBasis>\r\n <ng-container *ngFor=\"let formItem of listFilterConditions\">\r\n <div *ngIf=\"!formItem.control.isExtend\" class=\"filter-input-list farris-group-wrap\"\r\n [ngClass]=\"{'filter-input-list-autolabel': autoLabel,'filter-input-list-checkbox': getControlType(formItem) === 'checkboxgroup', 'filter-input-list-expand':formExpand,'filter-input-list-left': alLeft}\"\r\n [id]=\"'filter-'+formItem.id\">\r\n <ng-container [ngTemplateOutlet]=\"filterInputTemplate\"\r\n [ngTemplateOutletContext]=\"{ item: formItem }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n <div class=\"filter-search-btn\" [ngClass]=\"{'filter-search-btn-remove': !showMoreIcon}\"\r\n *ngIf=\"!liveSearch\">\r\n <button class=\"btn btn-primary\" [ngClass]=\"{'disabled': disabled || !canSubmit}\"\r\n (click)=\"filterClick()\">{{ 'listFilter.filter' | locale }}</button>\r\n <button class=\"btn btn-secondary filter-search-btn-reset\" *ngIf=\"!showMoreIcon\"\r\n (click)=\"resetSearch()\">\r\n <span class=\"f-icon f-icon-remove\"></span>\r\n </button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-template #gridLayout>\r\n <div class=\"filter-inputs-main f-form-layout farris-form\" [ngClass]=\"\r\n {'list-filter-type-1': getShowLength() === 1,\r\n 'list-filter-type-2': getShowLength() === 2,\r\n 'list-filter-type-3': getShowLength() === 3,\r\n 'list-filter-type-4': getShowLength() === 4,\r\n 'list-filter-type-5': getShowLength() === 5,\r\n 'list-filter-type-6': getShowLength() >= 6,\r\n 'list-filter-custom-type': this.filterClass,\r\n 'list-filter-show-reset': !showMoreIcon,\r\n 'list-filter-padding-none': liveSearch,\r\n 'farris-form-controls-inline':isControlInline}\">\r\n <ng-container *ngFor=\"let formItem of listFilterConditions\">\r\n <div [ngClass]=\"getStyle(formItem)\" *ngIf=\"!formItem.control.isExtend\">\r\n <div class=\"filter-input-list farris-group-wrap\"\r\n [ngClass]=\"{'filter-input-list-autolabel': autoLabel,'filter-input-list-checkbox': getControlType(formItem) === 'checkboxgroup'}\"\r\n [id]=\"'filter-'+formItem.id\">\r\n <ng-container [ngTemplateOutlet]=\"filterInputTemplate\"\r\n [ngTemplateOutletContext]=\"{ item: formItem }\"></ng-container>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <div class=\"filter-search-btn\" [ngClass]=\"{\r\n 'filter-search-btn-type-1': getShowLength() === 1,\r\n 'filter-search-btn-type-2': getShowLength() === 2,\r\n 'filter-search-btn-type-3': getShowLength() === 3,\r\n 'filter-search-btn-type-4': getShowLength() === 4,\r\n 'filter-search-btn-type-5': getShowLength() === 5,\r\n 'filter-search-custom-type': this.filterClass,\r\n 'filter-search-btn-type-6': getShowLength() >= 6}\" *ngIf=\"!liveSearch\">\r\n <button class=\"btn btn-primary\" [ngClass]=\"{'disabled': disabled || !canSubmit}\"\r\n (click)=\"filterClick()\">{{ 'listFilter.filter' | locale }}</button>\r\n <button class=\"btn btn-secondary filter-search-btn-reset\" *ngIf=\"!showMoreIcon\"\r\n (click)=\"resetSearch()\">\r\n <span class=\"f-icon f-icon-remove\"></span>\r\n </button>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </ng-template>\r\n <div class=\"filter-expand position-absolute\" [class.active]=\"showFilter\" (click)=\"showFilter = !showFilter\"\r\n *ngIf=\"showMoreIcon\">\r\n <span class=\"f-icon f-icon-filtrate\"></span>\r\n <span class=\"filter-expand-tag\" *ngIf=\"showExpandTag\"></span>\r\n </div>\r\n <div class=\"filter-inputs-extend position-absolute\" [hidden]=\"!showFilter\" *ngIf=\"showMoreIcon\">\r\n <div class=\"filter-typelist-arrow\"></div>\r\n <div class=\"farris-form farris-form-auto\" [ngClass]=\"{'farris-form-controls-inline':isControlInline}\">\r\n <fieldset class=\"f-section-formgroup\">\r\n <div class=\"f-section-formgroup-inputs\">\r\n <div class=\"col-12\">\r\n <ng-container *ngFor=\"let formItem of listFilterConditions\">\r\n <div class=\"filter-input-list farris-group-wrap\" *ngIf=\"formItem.control.isExtend\">\r\n <ng-container [ngTemplateOutlet]=\"filterInputTemplate\"\r\n [ngTemplateOutletContext]=\"{ item: formItem }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </fieldset>\r\n <div class=\"filter-form-btns text-right\">\r\n <button class=\"btn btn-link filter-form-btn-reset\" (click)=\"resetSearch()\">{{ 'listFilter.reset' | locale }}</button>\r\n <button class=\"btn btn-primary\" [ngClass]=\"{'disabled': disabled || !canSubmit}\" (click)=\"listSearch()\">{{ 'listFilter.confirm' | locale }}</button>\r\n <button class=\"btn btn-secondary\" (click)=\"listSearchCancel()\">{{ 'listFilter.cancel' | locale }}</button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template #filterInputTemplate let-item=\"item\">\r\n <ng-container [ngSwitch]=\"item | controlType\">\r\n <div class=\"filter-input-item filter-type-input\" *ngSwitchCase=\"'input'\">\r\n <app-filter-input [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-input>\r\n </div>\r\n <div class=\"filter-input-item filter-type-search\" *ngSwitchCase=\"'search'\">\r\n <app-filter-search [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-search>\r\n </div>\r\n <div class=\"filter-input-item filter-type-date\" *ngSwitchCase=\"'date'\">\r\n <app-filter-date [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-date>\r\n </div>\r\n <div class=\"filter-input-item filter-type-year\" *ngSwitchCase=\"'year'\">\r\n <app-filter-date [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\" [showType]=\"'3'\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-date>\r\n </div>\r\n <div class=\"filter-input-item filter-type-month\" *ngSwitchCase=\"'month'\">\r\n <app-filter-date [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\" [showType]=\"'2'\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-date>\r\n </div>\r\n <div class=\"filter-input-item filter-type-date\" *ngSwitchCase=\"'daterange'\">\r\n <app-filter-daterange [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-daterange>\r\n </div>\r\n <div class=\"filter-input-item filter-type-date\" *ngSwitchCase=\"'daterangetime'\">\r\n <app-filter-daterange [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\" [showTime]=\"true\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-daterange>\r\n </div>\r\n <div class=\"filter-input-item filter-type-monthrange\" *ngSwitchCase=\"'monthrange'\">\r\n <app-filter-daterange [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\" [showType]=\"'2'\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-daterange>\r\n </div>\r\n <div class=\"filter-input-item filter-type-yearrange\" *ngSwitchCase=\"'yearrange'\">\r\n <app-filter-daterange [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\" [showType]=\"'3'\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-daterange>\r\n </div>\r\n <div class=\"filter-input-item filter-type-dropdown\" *ngSwitchCase=\"'dropdown'\">\r\n <app-filter-dropdown [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-dropdown>\r\n </div>\r\n <div class=\"filter-input-item filter-type-number\" *ngSwitchCase=\"'number'\">\r\n <app-filter-number [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-number>\r\n </div>\r\n <div class=\"filter-input-item filter-type-help\" *ngSwitchCase=\"'help'\">\r\n <app-filter-help [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\" [hostRef]=\"this\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-help>\r\n </div>\r\n <div class=\"filter-input-item filter-type-checkboxgroup\" *ngSwitchCase=\"'checkboxgroup'\">\r\n <app-filter-checkbox [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"\r\n style=\"white-space: nowrap;\"></app-filter-checkbox>\r\n </div>\r\n <div class=\"filter-input-item filter-type-radio\" *ngSwitchCase=\"'radio'\">\r\n <app-filter-radio [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"\r\n style=\"white-space: nowrap;\"></app-filter-radio>\r\n </div>\r\n <div class=\"filter-input-item filter-type-input-group\" *ngSwitchCase=\"'input-group'\">\r\n <app-filter-inputgroup [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-inputgroup>\r\n </div>\r\n <div class=\"filter-input-item filter-type-default\" *ngSwitchDefault>\r\n <app-filter-input [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-input>\r\n </div>\r\n </ng-container>\r\n</ng-template>",
5109
+ template: "<app-filter-common></app-filter-common>\r\n<div class=\"f-list-filter position-relative\"\r\n [ngClass]=\"{'list-filter-padding': showMoreIcon,'list-filter-autoWidth': autoWidth,'list-filter-paddingnone': filterPaddingNone}\">\r\n <ng-container *ngIf=\"filterType === 'list';else filterLayout\">\r\n <div class=\"filter-inputs-main filter-inputs-main-list f-form-layout farris-form farris-form-controls-inline\">\r\n <ng-container *ngFor=\"let formItem of listFilterConditions;let last = last;\">\r\n <div class=\"col-12\"\r\n [ngClass]=\"{'filter-list-item': showFilterList && showFilterList.length && showFilterList[showFilterList.length-1]['id'] == formItem.id}\"\r\n *ngIf=\"!formItem.control.isExtend\">\r\n <div class=\"filter-input-list farris-group-wrap\"\r\n [ngClass]=\"{'filter-input-list-autolabel': autoLabel,'filter-input-list-checkbox': getControlType(formItem) === 'checkboxgroup'}\"\r\n [id]=\"'filter-'+formItem.id\">\r\n <ng-container [ngTemplateOutlet]=\"filterInputTemplate\"\r\n [ngTemplateOutletContext]=\"{ item: formItem }\"></ng-container>\r\n <div class=\"filter-search-btn\"\r\n *ngIf=\"!liveSearch && showFilterList && showFilterList.length && showFilterList[showFilterList.length-1]['id'] == formItem.id\">\r\n <button class=\"btn btn-primary\" [ngClass]=\"{'disabled': disabled || !canSubmit}\"\r\n (click)=\"filterClick()\">{{ 'listFilter.filter' | locale }}</button>\r\n <button class=\"btn btn-secondary filter-search-btn-reset\" *ngIf=\"!showMoreIcon\"\r\n (click)=\"resetSearch()\">\r\n <span class=\"f-icon f-icon-remove\"></span>\r\n </button>\r\n </div>\r\n </div>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </ng-container>\r\n <ng-template #filterLayout>\r\n <ng-container *ngIf=\"autoWidth;else gridLayout\">\r\n <div class=\"filter-inputs-main-basis-wrapper\"\r\n [ngClass]=\"{'list-filter-wrapper-show-btn': !liveSearch,'list-filter-wrapper-show-btn-remove': !liveSearch && !showMoreIcon}\">\r\n <div class=\"filter-inputs-main-basis-wrapper-inner\">\r\n <div class=\"filter-inputs-main filter-inputs-main-basis farris-form d-flex\"\r\n [ngClass]=\"{'justify-content-end': !alLeft,'farris-form-controls-inline':isControlInline}\"\r\n #filterMainBasis>\r\n <ng-container *ngFor=\"let formItem of listFilterConditions\">\r\n <div *ngIf=\"!formItem.control.isExtend\" class=\"filter-input-list farris-group-wrap\"\r\n [ngClass]=\"{'filter-input-list-autolabel': autoLabel,'filter-input-list-checkbox': getControlType(formItem) === 'checkboxgroup', 'filter-input-list-expand':formExpand,'filter-input-list-left': alLeft}\"\r\n [id]=\"'filter-'+formItem.id\">\r\n <ng-container [ngTemplateOutlet]=\"filterInputTemplate\"\r\n [ngTemplateOutletContext]=\"{ item: formItem }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n <div class=\"filter-search-btn\" [ngClass]=\"{'filter-search-btn-remove': !showMoreIcon}\"\r\n *ngIf=\"!liveSearch\">\r\n <button class=\"btn btn-primary\" [ngClass]=\"{'disabled': disabled || !canSubmit}\"\r\n (click)=\"filterClick()\">{{ 'listFilter.filter' | locale }}</button>\r\n <button class=\"btn btn-secondary filter-search-btn-reset\" *ngIf=\"!showMoreIcon\"\r\n (click)=\"resetSearch()\">\r\n <span class=\"f-icon f-icon-remove\"></span>\r\n </button>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-template #gridLayout>\r\n <div class=\"filter-inputs-main f-form-layout farris-form\" [ngClass]=\"\r\n {'list-filter-type-1': getShowLength() === 1,\r\n 'list-filter-type-2': getShowLength() === 2,\r\n 'list-filter-type-3': getShowLength() === 3,\r\n 'list-filter-type-4': getShowLength() === 4,\r\n 'list-filter-type-5': getShowLength() === 5,\r\n 'list-filter-type-6': getShowLength() >= 6,\r\n 'list-filter-custom-type': this.filterClass,\r\n 'list-filter-show-reset': !showMoreIcon,\r\n 'list-filter-padding-none': liveSearch,\r\n 'farris-form-controls-inline':isControlInline}\">\r\n <ng-container *ngFor=\"let formItem of listFilterConditions\">\r\n <div [ngClass]=\"getStyle(formItem)\" *ngIf=\"!formItem.control.isExtend\">\r\n <div class=\"filter-input-list farris-group-wrap\"\r\n [ngClass]=\"{'filter-input-list-autolabel': autoLabel,'filter-input-list-checkbox': getControlType(formItem) === 'checkboxgroup'}\"\r\n [id]=\"'filter-'+formItem.id\">\r\n <ng-container [ngTemplateOutlet]=\"filterInputTemplate\"\r\n [ngTemplateOutletContext]=\"{ item: formItem }\"></ng-container>\r\n </div>\r\n </div>\r\n </ng-container>\r\n <div class=\"filter-search-btn\" [ngClass]=\"{\r\n 'filter-search-btn-type-1': getShowLength() === 1,\r\n 'filter-search-btn-type-2': getShowLength() === 2,\r\n 'filter-search-btn-type-3': getShowLength() === 3,\r\n 'filter-search-btn-type-4': getShowLength() === 4,\r\n 'filter-search-btn-type-5': getShowLength() === 5,\r\n 'filter-search-custom-type': this.filterClass,\r\n 'filter-search-btn-type-6': getShowLength() >= 6}\" *ngIf=\"!liveSearch\">\r\n <button class=\"btn btn-primary\" [ngClass]=\"{'disabled': disabled || !canSubmit}\"\r\n (click)=\"filterClick()\">{{ 'listFilter.filter' | locale }}</button>\r\n <button class=\"btn btn-secondary filter-search-btn-reset\" *ngIf=\"!showMoreIcon\"\r\n (click)=\"resetSearch()\">\r\n <span class=\"f-icon f-icon-remove\"></span>\r\n </button>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </ng-template>\r\n <div class=\"filter-expand position-absolute\" [class.active]=\"showFilter\" (click)=\"showFilter = !showFilter\"\r\n *ngIf=\"showMoreIcon\">\r\n <span class=\"f-icon f-icon-filtrate\"></span>\r\n <span class=\"filter-expand-tag\" *ngIf=\"showExpandTag\"></span>\r\n </div>\r\n <div class=\"filter-inputs-extend position-absolute\" [hidden]=\"!showFilter\" *ngIf=\"showMoreIcon\">\r\n <div class=\"filter-typelist-arrow\"></div>\r\n <div class=\"farris-form farris-form-auto\" [ngClass]=\"{'farris-form-controls-inline':isControlInline}\">\r\n <fieldset class=\"f-section-formgroup\">\r\n <div class=\"f-section-formgroup-inputs\">\r\n <div class=\"col-12\">\r\n <ng-container *ngFor=\"let formItem of listFilterConditions\">\r\n <div class=\"filter-input-list farris-group-wrap\" *ngIf=\"formItem.control.isExtend\">\r\n <ng-container [ngTemplateOutlet]=\"filterInputTemplate\"\r\n [ngTemplateOutletContext]=\"{ item: formItem }\"></ng-container>\r\n </div>\r\n </ng-container>\r\n </div>\r\n </div>\r\n </fieldset>\r\n <div class=\"filter-form-btns text-right\">\r\n <button class=\"btn btn-link filter-form-btn-reset\"\r\n (click)=\"resetSearch()\">{{ 'listFilter.reset' | locale }}</button>\r\n <button class=\"btn btn-primary\" [ngClass]=\"{'disabled': disabled || !canSubmit}\"\r\n (click)=\"listSearch()\">{{ 'listFilter.confirm' | locale }}</button>\r\n <button class=\"btn btn-secondary\"\r\n (click)=\"listSearchCancel()\">{{ 'listFilter.cancel' | locale }}</button>\r\n </div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<ng-template #filterInputTemplate let-item=\"item\">\r\n <ng-container [ngSwitch]=\"item | controlType\">\r\n <div class=\"filter-input-item filter-type-input\" *ngSwitchCase=\"'input'\">\r\n <app-filter-input [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-input>\r\n </div>\r\n <div class=\"filter-input-item filter-type-search\" *ngSwitchCase=\"'search'\">\r\n <app-filter-search [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-search>\r\n </div>\r\n <div class=\"filter-input-item filter-type-date\" *ngSwitchCase=\"'date'\">\r\n <app-filter-date [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\">\r\n </app-filter-date>\r\n </div>\r\n <div class=\"filter-input-item filter-type-year\" *ngSwitchCase=\"'year'\">\r\n <app-filter-date [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" [showType]=\"'3'\" (searchHandle)=\"onSearch($event,item)\"\r\n class=\"form-group farris-form-group\"></app-filter-date>\r\n </div>\r\n <div class=\"filter-input-item filter-type-month\" *ngSwitchCase=\"'month'\">\r\n <app-filter-date [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" [showType]=\"'2'\" (searchHandle)=\"onSearch($event,item)\"\r\n class=\"form-group farris-form-group\"></app-filter-date>\r\n </div>\r\n <div class=\"filter-input-item filter-type-date\" *ngSwitchCase=\"'daterange'\">\r\n <app-filter-daterange [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\">\r\n </app-filter-daterange>\r\n </div>\r\n <div class=\"filter-input-item filter-type-date\" *ngSwitchCase=\"'daterangetime'\">\r\n <app-filter-daterange [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" [showTime]=\"true\" (searchHandle)=\"onSearch($event,item)\"\r\n class=\"form-group farris-form-group\"></app-filter-daterange>\r\n </div>\r\n <div class=\"filter-input-item filter-type-monthrange\" *ngSwitchCase=\"'monthrange'\">\r\n <app-filter-daterange [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" [showType]=\"'2'\" (searchHandle)=\"onSearch($event,item)\"\r\n class=\"form-group farris-form-group\"></app-filter-daterange>\r\n </div>\r\n <div class=\"filter-input-item filter-type-yearrange\" *ngSwitchCase=\"'yearrange'\">\r\n <app-filter-daterange [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" [showType]=\"'3'\" (searchHandle)=\"onSearch($event,item)\"\r\n class=\"form-group farris-form-group\"></app-filter-daterange>\r\n </div>\r\n <div class=\"filter-input-item filter-type-dropdown\" *ngSwitchCase=\"'dropdown'\">\r\n <app-filter-dropdown [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\">\r\n </app-filter-dropdown>\r\n </div>\r\n <div class=\"filter-input-item filter-type-number\" *ngSwitchCase=\"'number'\">\r\n <app-filter-number [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\">\r\n </app-filter-number>\r\n </div>\r\n <div class=\"filter-input-item filter-type-help\" *ngSwitchCase=\"'help'\">\r\n <app-filter-help [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" [hostRef]=\"this\" (searchHandle)=\"onSearch($event,item)\"\r\n class=\"form-group farris-form-group\"></app-filter-help>\r\n </div>\r\n <div class=\"filter-input-item filter-type-checkboxgroup\" *ngSwitchCase=\"'checkboxgroup'\">\r\n <app-filter-checkbox [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"\r\n style=\"white-space: nowrap;\"></app-filter-checkbox>\r\n </div>\r\n <div class=\"filter-input-item filter-type-radio\" *ngSwitchCase=\"'radio'\">\r\n <app-filter-radio [changeFields]=\"fieldCodeOfClearFields\" [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"\r\n style=\"white-space: nowrap;\"></app-filter-radio>\r\n </div>\r\n <div class=\"filter-input-item filter-type-input-group\" *ngSwitchCase=\"'input-group'\">\r\n <app-filter-inputgroup [item]=\"item\" [autoLabel]=\"autoLabel\"\r\n [disabled]=\"disabled\" (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\">\r\n </app-filter-inputgroup>\r\n </div>\r\n <div class=\"filter-input-item filter-type-default\" *ngSwitchDefault>\r\n <app-filter-input [item]=\"item\" [autoLabel]=\"autoLabel\" [disabled]=\"disabled\"\r\n (searchHandle)=\"onSearch($event,item)\" class=\"form-group farris-form-group\"></app-filter-input>\r\n </div>\r\n </ng-container>\r\n</ng-template>",
5108
5110
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
5109
5111
  styles: ["::-webkit-scrollbar{width:6px;height:6px;background-color:#eee}::-webkit-scrollbar-track{border-radius:0}::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.15);-webkit-transition:.2s;transition:.2s;border-radius:6px}::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.45)}.filter-search-btn-col{flex-basis:0;-webkit-box-flex:1;flex-grow:1;max-width:100%}.filter-search-btn-absoulte{position:absolute;right:0;top:0}.f-list-filter .filter-inputs-main-basis-wrapper{width:100%;overflow:hidden}.f-list-filter .filter-inputs-main-basis-wrapper.list-filter-wrapper-show-btn{position:relative;padding-right:84px}.f-list-filter .filter-inputs-main-basis-wrapper.list-filter-wrapper-show-btn.list-filter-wrapper-show-btn-remove{padding-right:124px}.f-list-filter .filter-inputs-main-basis-wrapper.list-filter-wrapper-show-btn .filter-search-btn{position:absolute;right:0;top:0}.f-list-filter .filter-inputs-main-basis-wrapper.list-filter-wrapper-show-btn .filter-search-btn .btn{margin-left:6px}.f-list-filter .filter-inputs-main-basis-wrapper.list-filter-wrapper-show-btn .filter-search-btn .btn:first-child{margin-left:0}.f-list-filter .filter-inputs-main-basis-wrapper .filter-inputs-main-basis-wrapper-inner{width:100%;overflow:auto}.f-list-filter .filter-inputs-main-basis-wrapper .filter-inputs-main-basis-wrapper-inner .filter-inputs-main-basis.justify-content-end{margin-left:auto}.f-list-filter.list-filter-padding{padding-right:45px}.f-list-filter.list-filter-autoWidth{padding-bottom:8px}.f-list-filter.list-filter-autoWidth.list-filter-paddingnone{padding-bottom:0}@media (min-width:768px){.f-list-filter .list-filter-type-1{position:static;padding-right:0}.f-list-filter .list-filter-type-2,.f-list-filter .list-filter-type-3{position:relative;padding-right:70px}}@media (max-width:767px){.f-list-filter .list-filter-type-1{position:relative;padding-right:70px}.f-list-filter .list-filter-type-1.list-filter-show-reset{padding-right:110px}.f-list-filter .list-filter-type-2,.f-list-filter .list-filter-type-3{position:relative;padding-right:70px}.f-list-filter .list-filter-type-2.list-filter-show-reset,.f-list-filter .list-filter-type-3.list-filter-show-reset{position:relative;padding-right:110px}}@media (min-width:1200px){.f-list-filter .list-filter-type-2,.f-list-filter .list-filter-type-3{position:static;padding-right:0}.f-list-filter .list-filter-type-4,.f-list-filter .list-filter-type-5{position:relative;padding-right:70px}}@media (max-width:767px){.f-list-filter .list-filter-type-4,.f-list-filter .list-filter-type-5{position:relative;padding-right:70px}.f-list-filter .list-filter-type-4.list-filter-show-reset,.f-list-filter .list-filter-type-5.list-filter-show-reset{position:relative;padding-right:110px}}@media (min-width:768px){.f-list-filter .list-filter-type-2.list-filter-show-reset,.f-list-filter .list-filter-type-3.list-filter-show-reset{position:relative;padding-right:110px}.f-list-filter .list-filter-type-4,.f-list-filter .list-filter-type-5{position:relative;padding-right:70px}.f-list-filter .list-filter-type-4.list-filter-show-reset,.f-list-filter .list-filter-type-5.list-filter-show-reset{position:relative;padding-right:110px}}@media (min-width:1690px){.f-list-filter .list-filter-type-4,.f-list-filter .list-filter-type-5{position:static;padding-right:0}}@media (min-width:1200px){.f-list-filter .list-filter-type-4.list-filter-show-reset,.f-list-filter .list-filter-type-5.list-filter-show-reset{position:relative;padding-right:110px}}.f-list-filter .list-filter-custom-type,.f-list-filter .list-filter-type-6{position:relative;padding-right:70px}.f-list-filter .list-filter-custom-type.list-filter-show-reset,.f-list-filter .list-filter-type-6.list-filter-show-reset{padding-right:110px}.f-list-filter .list-filter-padding-none{padding-right:0}.f-list-filter .filter-inputs-main{width:100%;overflow:hidden}.f-list-filter .filter-inputs-main .col-12{padding-left:0}.f-list-filter .filter-inputs-main.filter-inputs-main-padding{padding-right:70px;position:relative}.f-list-filter .filter-inputs-main .filter-input-list.filter-input-list-autolabel{padding-right:14px}.f-list-filter .filter-inputs-main .filter-input-list.filter-input-list-autolabel:last-child{padding-right:0}.f-list-filter .filter-inputs-main .filter-input-list.filter-input-list-checkbox{max-width:none;-webkit-box-flex:inherit;flex:inherit}@media (max-width:767px){.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-1{position:absolute;right:0;top:0}}@media (min-width:768px){.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-1{flex-basis:0;-webkit-box-flex:1;flex-grow:1;max-width:100%;position:static}.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-2,.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-3{position:absolute;right:0;top:0}}@media (max-width:767px){.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-2,.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-3{position:absolute;right:0;top:0}}@media (min-width:1200px){.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-2,.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-3{flex-basis:0;-webkit-box-flex:1;flex-grow:1;max-width:100%;position:static}.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-4,.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-5{position:absolute;right:0;top:0}}@media (max-width:767px){.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-4,.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-5{position:absolute;right:0;top:0}}@media (min-width:768px){.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-4,.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-5{position:absolute;right:0;top:0}}@media (min-width:1690px){.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-4,.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-5{flex-basis:0;-webkit-box-flex:1;flex-grow:1;max-width:100%;position:static}}.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-btn-type-6,.f-list-filter .filter-inputs-main .filter-search-btn.filter-search-custom-type{position:absolute;right:0;top:0}.f-list-filter .filter-inputs-main .filter-search-btn .btn{margin-left:6px}.f-list-filter .filter-inputs-main .filter-search-btn .btn:first-child{margin-left:0}.f-list-filter .filter-inputs-main.filter-inputs-main-basis .filter-input-list{min-width:200px}.f-list-filter .filter-inputs-main.filter-inputs-main-basis .filter-input-list .filter-input-item .form-group{margin-bottom:0}.f-list-filter .filter-inputs-main.filter-inputs-main-basis .filter-input-list.filter-input-list-left{-webkit-box-flex:1;flex:1 1 auto}.f-list-filter .filter-inputs-main.filter-inputs-main-basis .filter-input-list.filter-input-list-expand{max-width:none}.f-list-filter .filter-inputs-main.filter-inputs-main-basis.justify-content-end .filter-input-list:not(.filter-input-list-checkbox){-webkit-box-flex:1;flex:auto}.f-list-filter .filter-expand{right:0;top:0;width:24px;margin-left:21px;height:24px;line-height:24px;cursor:pointer}.f-list-filter .filter-expand.active{border-radius:2px}.f-list-filter .filter-expand .f-icon{display:block;line-height:24px;margin:0 auto;font-size:18px}.f-list-filter .filter-expand .filter-expand-tag{position:absolute;right:0;top:0;display:block;width:6px;height:6px;border-radius:50%}.f-list-filter .filter-inputs-extend{width:429px;right:0;top:34px;background-color:#fff;box-shadow:0 2px 3px 0 rgba(0,0,0,.15);z-index:900;padding:20px 0}.f-list-filter .filter-inputs-extend .filter-typelist-arrow{display:block;position:absolute;right:7px;top:-4px;width:8.48528137px;height:8.48528137px;background:0 0;border-style:solid;border-width:4.24264069px;box-shadow:-2px -2px 5px rgba(0,0,0,.08);-webkit-transform:translateX(-50%) rotate(45deg);transform:translateX(-50%) rotate(45deg);border-color:#fff transparent transparent #fff}.f-list-filter .filter-inputs-extend .filter-form-btns{margin-top:6px;padding:0 14px}.f-list-filter .filter-inputs-extend .filter-form-btns .btn{margin-left:6px}.f-list-filter .filter-inputs-extend .filter-form-btns .filter-form-btn-reset{position:relative;padding-right:10px;margin-right:4px}.f-list-filter .filter-inputs-extend .filter-form-btns .filter-form-btn-reset::after{content:'';position:absolute;right:0;top:50%;width:1px;height:16px;margin-top:-8px;background:#d9d9d9}.f-list-filter .filter-search-btn-reset{padding-left:4px;padding-right:4px;color:rgba(0,0,0,.65)}.f-list-filter .filter-input-list .form-group{display:block}.f-list-filter .farris-form-controls-inline .filter-input-list .form-group{display:-webkit-box;display:flex}.f-list-filter .filter-inputs-main-list .filter-input-item .farris-form-group{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}.f-list-filter .filter-inputs-main-list .filter-list-item{padding-right:100px}.f-list-filter .filter-inputs-main-list .filter-list-item .filter-input-list{position:relative}.f-list-filter .filter-inputs-main-list .filter-list-item .filter-search-btn{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;position:absolute;top:50%;left:calc(100% + 20px);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.filter-expand-simulate{opacity:0;display:inline-block;width:24px;height:24px;padding-left:21px}.filter-expand-simulate .f-icon{font-size:24px}"]
5110
5112
  }] }
@@ -5495,7 +5497,7 @@
5495
5497
  SearchComponent.decorators = [
5496
5498
  { type: i0.Component, args: [{
5497
5499
  selector: 'app-filter-search',
5498
- 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 [groupText]=\"groupIcon\" [readonly]=\"disabled\" [(ngModel)]=\"item.value.value\" \r\n (clear)=\"onSearch($event)\" (blurHandle)=\"onSearch($event)\" (enterHandle)=\"onSearch($event)\" \r\n (clickHandle)=\"onSearch($event)\" [placeholder]=\"placeholder\"></input-group>\r\n</div>"
5500
+ 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 [groupText]=\"groupIcon\" [readonly]=\"disabled\" [(ngModel)]=\"item.value.value\" \r\n (clear)=\"onSearch($event)\" (enterHandle)=\"onSearch($event)\" \r\n (clickHandle)=\"onSearch($event)\" [placeholder]=\"placeholder\"></input-group>\r\n</div>"
5499
5501
  }] }
5500
5502
  ];
5501
5503
  /** @nocollapse */
@@ -5532,6 +5534,10 @@
5532
5534
  * 判断是否显示label
5533
5535
  */
5534
5536
  this.showlabel = true;
5537
+ /**
5538
+ * 某个字段发生值变化事件时,需要同步清空的字段,可能不是当前字段
5539
+ */
5540
+ this.changeFields = [];
5535
5541
  this.onSearch = ( /**
5536
5542
  * @return {?}
5537
5543
  */function () {
@@ -5595,13 +5601,26 @@
5595
5601
  }));
5596
5602
  };
5597
5603
  /**
5604
+ * @param {?} changes
5598
5605
  * @return {?}
5599
5606
  */
5600
5607
  HelpComponent.prototype.ngOnChanges = /**
5608
+ * @param {?} changes
5601
5609
  * @return {?}
5602
5610
  */
5603
- function () {
5611
+ function (changes) {
5612
+ var _this = this;
5604
5613
  this.getHelpBindingInfo();
5614
+ if (changes['changeFields'] && changes['changeFields'].currentValue && !changes['changeFields'].firstChange) {
5615
+ /** @type {?} */
5616
+ var isChange = changes['changeFields'].currentValue.some(( /**
5617
+ * @param {?} field
5618
+ * @return {?}
5619
+ */function (field) { return field == _this.item.fieldCode; }));
5620
+ if (isChange) {
5621
+ this.textValue = (( /** @type {?} */(this.item.value))).textValue;
5622
+ }
5623
+ }
5605
5624
  };
5606
5625
  /**
5607
5626
  * @param {?} selectedItem
@@ -5687,6 +5706,7 @@
5687
5706
  this.helpId = helpList_1.helpId;
5688
5707
  /** @type {?} */
5689
5708
  var helpValue = (( /** @type {?} */(this.item.value)));
5709
+ this.clearFields = helpList_1.clearFields;
5690
5710
  // if (helpValue && helpValue.value) {
5691
5711
  // // this.textValue = (this.item.value as HelpValue).value[this.textField];
5692
5712
  // this.textValue = HelpValue.getPropValue(helpValue.value, this.textField.split('.'));
@@ -5736,7 +5756,7 @@
5736
5756
  HelpComponent.decorators = [
5737
5757
  { type: i0.Component, args: [{
5738
5758
  selector: 'app-filter-help',
5739
- 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 <farris-lookup-grid \r\n [uri]=\"uri\" \r\n [idField]=\"idField\" \r\n [textField]=\"textField\" \r\n [valueField]=\"valueField\" \r\n [(ngModel)]=\"textValue\"\r\n [displayType]=\"displayType\"\r\n [editable]=\"false\"\r\n [readonly]=\"disabled\"\r\n (clear)=\"clearData($event)\"\r\n (selectedData)=\"selectedDataHandler($event)\"\r\n [placeholder]=\"placeholder\"\r\n [mapFields]=\"mapFields\"\r\n [dictPicking]=\"preEventCmd\"\r\n [dictPicked]=\"postEventCmd\"\r\n [context]=\"context\"\r\n [enableFullTree]=\"enableFullTree\"\r\n [loadTreeDataType]=\"loadTreeDataType\"\r\n [singleSelect]=\"singleSelect\"\r\n [expandLevel]=\"expandLevel\"\r\n [enableCascade]=\"enableCascade\"\r\n >\r\n </farris-lookup-grid>\r\n\r\n <!-- [dictPicked]=\"onSearch\" -->\r\n <!-- (selectedData)=\"selectedDataHandler($event)\" -->\r\n</div>"
5759
+ 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 <farris-lookup-grid \r\n [uri]=\"uri\" \r\n [idField]=\"idField\" \r\n [textField]=\"textField\" \r\n [valueField]=\"valueField\" \r\n [(ngModel)]=\"textValue\"\r\n [displayType]=\"displayType\"\r\n [editable]=\"false\"\r\n [readonly]=\"disabled\"\r\n (clear)=\"clearData($event)\"\r\n (selectedData)=\"selectedDataHandler($event)\"\r\n [placeholder]=\"placeholder\"\r\n [mapFields]=\"mapFields\"\r\n [dictPicking]=\"preEventCmd\"\r\n [dictPicked]=\"postEventCmd\"\r\n [context]=\"context\"\r\n [enableFullTree]=\"enableFullTree\"\r\n [loadTreeDataType]=\"loadTreeDataType\"\r\n [singleSelect]=\"singleSelect\"\r\n [expandLevel]=\"expandLevel\"\r\n [enableCascade]=\"enableCascade\"\r\n [clear-fields]=\"clearFields\"\r\n >\r\n </farris-lookup-grid>\r\n\r\n <!-- [dictPicked]=\"onSearch\" -->\r\n <!-- (selectedData)=\"selectedDataHandler($event)\" -->\r\n</div>"
5740
5760
  // providers: [{ provide: ServerSideToken, useClass: LookupHttpBeQueryService }]
5741
5761
  }] }
5742
5762
  ];
@@ -5753,7 +5773,8 @@
5753
5773
  hostRef: [{ type: i0.Input }],
5754
5774
  searchHandle: [{ type: i0.Output }],
5755
5775
  isExtend: [{ type: i0.HostBinding, args: ['class.filter-item-wrap',] }],
5756
- hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }]
5776
+ hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }],
5777
+ changeFields: [{ type: i0.Input }]
5757
5778
  };
5758
5779
  return HelpComponent;
5759
5780
  }());
@@ -5774,6 +5795,10 @@
5774
5795
  * 判断是否显示label
5775
5796
  */
5776
5797
  this.showlabel = true;
5798
+ /**
5799
+ * 某个字段发生值变化事件时,需要同步清空的字段,可能不是当前字段
5800
+ */
5801
+ this.changeFields = [];
5777
5802
  }
5778
5803
  Object.defineProperty(DateComponent.prototype, "isExtend", {
5779
5804
  get: /**
@@ -5829,13 +5854,26 @@
5829
5854
  }));
5830
5855
  };
5831
5856
  /**
5857
+ * @param {?} changes
5832
5858
  * @return {?}
5833
5859
  */
5834
5860
  DateComponent.prototype.ngOnChanges = /**
5861
+ * @param {?} changes
5835
5862
  * @return {?}
5836
5863
  */
5837
- function () {
5864
+ function (changes) {
5865
+ var _this = this;
5838
5866
  this.initDate();
5867
+ if (changes['changeFields'] && changes['changeFields'].currentValue && !changes['changeFields'].firstChange) {
5868
+ /** @type {?} */
5869
+ var isChange = changes['changeFields'].currentValue.some(( /**
5870
+ * @param {?} field
5871
+ * @return {?}
5872
+ */function (field) { return field == _this.item.fieldCode; }));
5873
+ if (isChange) {
5874
+ this.date = this.item.value.getOriginalValue();
5875
+ }
5876
+ }
5839
5877
  };
5840
5878
  /**
5841
5879
  * @return {?}
@@ -5942,7 +5980,8 @@
5942
5980
  showType: [{ type: i0.Input }],
5943
5981
  searchHandle: [{ type: i0.Output }],
5944
5982
  isExtend: [{ type: i0.HostBinding, args: ['class.filter-item-wrap',] }],
5945
- hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }]
5983
+ hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }],
5984
+ changeFields: [{ type: i0.Input }]
5946
5985
  };
5947
5986
  return DateComponent;
5948
5987
  }());
@@ -5964,6 +6003,10 @@
5964
6003
  * 判断是否显示label
5965
6004
  */
5966
6005
  this.showlabel = true;
6006
+ /**
6007
+ * 某个字段发生值变化事件时,需要同步清空的字段,可能不是当前字段
6008
+ */
6009
+ this.changeFields = [];
5967
6010
  }
5968
6011
  Object.defineProperty(DropDownComponent.prototype, "isExtend", {
5969
6012
  get: /**
@@ -6025,13 +6068,26 @@
6025
6068
  // this.testId = this.solutionService.getGuid();
6026
6069
  };
6027
6070
  /**
6071
+ * @param {?} changes
6028
6072
  * @return {?}
6029
6073
  */
6030
6074
  DropDownComponent.prototype.ngOnChanges = /**
6075
+ * @param {?} changes
6031
6076
  * @return {?}
6032
6077
  */
6033
- function () {
6078
+ function (changes) {
6079
+ var _this = this;
6034
6080
  this.getDataSource();
6081
+ if (changes['changeFields'] && changes['changeFields'].currentValue && !changes['changeFields'].firstChange) {
6082
+ /** @type {?} */
6083
+ var isChange = changes['changeFields'].currentValue.some(( /**
6084
+ * @param {?} field
6085
+ * @return {?}
6086
+ */function (field) { return field == _this.item.fieldCode; }));
6087
+ if (isChange) {
6088
+ this.selectedItemId = (( /** @type {?} */(this.item.value))).value;
6089
+ }
6090
+ }
6035
6091
  //console.log(this.dropDownListDataSource);
6036
6092
  };
6037
6093
  /**
@@ -6152,7 +6208,8 @@
6152
6208
  disabled: [{ type: i0.Input }],
6153
6209
  searchHandle: [{ type: i0.Output, args: ['searchHandle',] }],
6154
6210
  isExtend: [{ type: i0.HostBinding, args: ['class.filter-item-wrap',] }],
6155
- hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }]
6211
+ hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }],
6212
+ changeFields: [{ type: i0.Input }]
6156
6213
  };
6157
6214
  return DropDownComponent;
6158
6215
  }());
@@ -6176,6 +6233,10 @@
6176
6233
  */
6177
6234
  this.showlabel = true;
6178
6235
  this.canNull = true;
6236
+ /**
6237
+ * 某个字段发生值变化事件时,需要同步清空的字段,可能不是当前字段
6238
+ */
6239
+ this.changeFields = [];
6179
6240
  }
6180
6241
  Object.defineProperty(NumberComponent.prototype, "isExtend", {
6181
6242
  get: /**
@@ -6267,6 +6328,27 @@
6267
6328
  }));
6268
6329
  this.solutionService.addFilterEditorInstance(this.item.fieldCode, this);
6269
6330
  };
6331
+ /**
6332
+ * @param {?} changes
6333
+ * @return {?}
6334
+ */
6335
+ NumberComponent.prototype.ngOnChanges = /**
6336
+ * @param {?} changes
6337
+ * @return {?}
6338
+ */
6339
+ function (changes) {
6340
+ var _this = this;
6341
+ if (changes['changeFields'] && changes['changeFields'].currentValue && !changes['changeFields'].firstChange) {
6342
+ /** @type {?} */
6343
+ var isChange = changes['changeFields'].currentValue.some(( /**
6344
+ * @param {?} field
6345
+ * @return {?}
6346
+ */function (field) { return field == _this.item.fieldCode; }));
6347
+ if (isChange) {
6348
+ this.constructMultiFieldNumberRange(( /** @type {?} */(this.item.value)));
6349
+ }
6350
+ }
6351
+ };
6270
6352
  /**
6271
6353
  * @return {?}
6272
6354
  */
@@ -6397,7 +6479,8 @@
6397
6479
  searchHandle: [{ type: i0.Output, args: ['searchHandle',] }],
6398
6480
  isExtend: [{ type: i0.HostBinding, args: ['class.filter-item-wrap',] }],
6399
6481
  hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }],
6400
- item: [{ type: i0.Input }]
6482
+ item: [{ type: i0.Input }],
6483
+ changeFields: [{ type: i0.Input }]
6401
6484
  };
6402
6485
  return NumberComponent;
6403
6486
  }());
@@ -6454,6 +6537,10 @@
6454
6537
  this.selectCheck = [];
6455
6538
  this.cla = true;
6456
6539
  this.checkboxDataSource = new Array();
6540
+ /**
6541
+ * 某个字段发生值变化事件时,需要同步清空的字段,可能不是当前字段
6542
+ */
6543
+ this.changeFields = [];
6457
6544
  }
6458
6545
  Object.defineProperty(FilterCheckboxComponent.prototype, "isExtend", {
6459
6546
  get: /**
@@ -6506,13 +6593,26 @@
6506
6593
  }));
6507
6594
  };
6508
6595
  /**
6596
+ * @param {?} changes
6509
6597
  * @return {?}
6510
6598
  */
6511
6599
  FilterCheckboxComponent.prototype.ngOnChanges = /**
6600
+ * @param {?} changes
6512
6601
  * @return {?}
6513
6602
  */
6514
- function () {
6603
+ function (changes) {
6604
+ var _this = this;
6515
6605
  this.getDataSource();
6606
+ if (changes['changeFields'] && changes['changeFields'].currentValue && !changes['changeFields'].firstChange) {
6607
+ /** @type {?} */
6608
+ var isChange = changes['changeFields'].currentValue.some(( /**
6609
+ * @param {?} field
6610
+ * @return {?}
6611
+ */function (field) { return field == _this.item.fieldCode; }));
6612
+ if (isChange) {
6613
+ this.checkValue = (( /** @type {?} */(this.item.value))).getOriginalValue();
6614
+ }
6615
+ }
6516
6616
  };
6517
6617
  /**
6518
6618
  * @return {?}
@@ -6609,7 +6709,8 @@
6609
6709
  isExtend: [{ type: i0.HostBinding, args: ['class.filter-item-wrap',] }],
6610
6710
  isCheckExtend: [{ type: i0.HostBinding, args: ['class.filter-item-checbox-wrap',] }],
6611
6711
  cla: [{ type: i0.HostBinding, args: ['class.filter-item-checkboxgroup',] }],
6612
- hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }]
6712
+ hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }],
6713
+ changeFields: [{ type: i0.Input }]
6613
6714
  };
6614
6715
  return FilterCheckboxComponent;
6615
6716
  }());
@@ -6637,6 +6738,10 @@
6637
6738
  * 判断是否显示label
6638
6739
  */
6639
6740
  this.showlabel = true;
6741
+ /**
6742
+ * 某个字段发生值变化事件时,需要同步清空的字段,可能不是当前字段
6743
+ */
6744
+ this.changeFields = [];
6640
6745
  }
6641
6746
  Object.defineProperty(DateRangeComponent.prototype, "isExtend", {
6642
6747
  // showType:string;
@@ -6717,13 +6822,30 @@
6717
6822
  this.cdr.detectChanges();
6718
6823
  };
6719
6824
  /**
6825
+ * @param {?} changes
6720
6826
  * @return {?}
6721
6827
  */
6722
6828
  DateRangeComponent.prototype.ngOnChanges = /**
6829
+ * @param {?} changes
6723
6830
  * @return {?}
6724
6831
  */
6725
- function () {
6832
+ function (changes) {
6833
+ var _this = this;
6726
6834
  this.initDate();
6835
+ if (changes['changeFields'] && changes['changeFields'].currentValue && !changes['changeFields'].firstChange) {
6836
+ /** @type {?} */
6837
+ var isChange = changes['changeFields'].currentValue.some(( /**
6838
+ * @param {?} field
6839
+ * @return {?}
6840
+ */function (field) { return field == _this.item.fieldCode; }));
6841
+ if (isChange) {
6842
+ /** @type {?} */
6843
+ var beginValue = this.item.value && this.item.value.startTime ? this.item.value.startTime.toString().trim() : '';
6844
+ /** @type {?} */
6845
+ var endValue = this.item.value && this.item.value.endTime ? this.item.value.endTime.toString().trim() : '';
6846
+ this.rangeDate = beginValue + "~" + endValue;
6847
+ }
6848
+ }
6727
6849
  };
6728
6850
  /**
6729
6851
  * @return {?}
@@ -6823,7 +6945,8 @@
6823
6945
  showType: [{ type: i0.Input }],
6824
6946
  searchHandle: [{ type: i0.Output, args: ['searchHandle',] }],
6825
6947
  isExtend: [{ type: i0.HostBinding, args: ['class.filter-item-wrap',] }],
6826
- hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }]
6948
+ hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }],
6949
+ changeFields: [{ type: i0.Input }]
6827
6950
  };
6828
6951
  return DateRangeComponent;
6829
6952
  }());
@@ -6974,6 +7097,10 @@
6974
7097
  this.selectCheck = [];
6975
7098
  this.cla = true;
6976
7099
  this.radioDataSource = new Array();
7100
+ /**
7101
+ * 某个字段发生值变化事件时,需要同步清空的字段,可能不是当前字段
7102
+ */
7103
+ this.changeFields = [];
6977
7104
  }
6978
7105
  Object.defineProperty(FilterRadioComponent.prototype, "isExtend", {
6979
7106
  get: /**
@@ -7026,13 +7153,28 @@
7026
7153
  }));
7027
7154
  };
7028
7155
  /**
7156
+ * @param {?} changes
7029
7157
  * @return {?}
7030
7158
  */
7031
7159
  FilterRadioComponent.prototype.ngOnChanges = /**
7160
+ * @param {?} changes
7032
7161
  * @return {?}
7033
7162
  */
7034
- function () {
7163
+ function (changes) {
7164
+ var _this = this;
7035
7165
  this.getDataSource();
7166
+ if (changes['changeFields'] && changes['changeFields'].currentValue && !changes['changeFields'].firstChange) {
7167
+ /** @type {?} */
7168
+ var isChange = changes['changeFields'].currentValue.some(( /**
7169
+ * @param {?} field
7170
+ * @return {?}
7171
+ */function (field) { return field == _this.item.fieldCode; }));
7172
+ if (isChange) {
7173
+ /** @type {?} */
7174
+ var orginalValue = this.item.value.getOriginalValue();
7175
+ this.radioValue = orginalValue == undefined ? [] : orginalValue;
7176
+ }
7177
+ }
7036
7178
  };
7037
7179
  /**
7038
7180
  * @return {?}
@@ -7121,7 +7263,8 @@
7121
7263
  isExtend: [{ type: i0.HostBinding, args: ['class.filter-item-wrap',] }],
7122
7264
  isCheckExtend: [{ type: i0.HostBinding, args: ['class.filter-item-checbox-wrap',] }],
7123
7265
  cla: [{ type: i0.HostBinding, args: ['class.filter-item-radio',] }],
7124
- hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }]
7266
+ hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }],
7267
+ changeFields: [{ type: i0.Input }]
7125
7268
  };
7126
7269
  return FilterRadioComponent;
7127
7270
  }());
@@ -7382,6 +7525,70 @@
7382
7525
  return FilterInputGroupComponent;
7383
7526
  }());
7384
7527
 
7528
+ /**
7529
+ * @fileoverview added by tsickle
7530
+ * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7531
+ */
7532
+ var ClearFieldsDirective = /** @class */ (function () {
7533
+ function ClearFieldsDirective(ngCtrl, listFilterCmp, inject) {
7534
+ this.ngCtrl = ngCtrl;
7535
+ this.listFilterCmp = listFilterCmp;
7536
+ this.inject = inject;
7537
+ this.clearFields = '';
7538
+ }
7539
+ /**
7540
+ * @return {?}
7541
+ */
7542
+ ClearFieldsDirective.prototype.ngOnInit = /**
7543
+ * @return {?}
7544
+ */
7545
+ function () {
7546
+ var _this = this;
7547
+ if (this.clearFields && this.ngCtrl) {
7548
+ this.ngCtrl.valueChanges.subscribe(( /**
7549
+ * @param {?} v
7550
+ * @return {?}
7551
+ */function (v) {
7552
+ _this.listFilterCmp.fieldCodeOfClearFields = [];
7553
+ _this.clearFields.split(',').forEach(( /**
7554
+ * @param {?} n
7555
+ * @return {?}
7556
+ */function (n) {
7557
+ // 字段编号
7558
+ /** @type {?} */
7559
+ var conditionItem = _this.listFilterCmp.listFilterConditions.find(( /**
7560
+ * @param {?} c
7561
+ * @return {?}
7562
+ */function (c) { return c.fieldCode === n; }));
7563
+ if (conditionItem) {
7564
+ // 触发清空字段列表变更,特殊控件类型的清空,不能只是清空值
7565
+ _this.listFilterCmp.fieldCodeOfClearFields.push(n);
7566
+ // 清空字段
7567
+ conditionItem.value.clearValue();
7568
+ }
7569
+ }));
7570
+ }));
7571
+ }
7572
+ };
7573
+ ClearFieldsDirective.decorators = [
7574
+ { type: i0.Directive, args: [{
7575
+ selector: '[clear-fields]'
7576
+ },] }
7577
+ ];
7578
+ /** @nocollapse */
7579
+ ClearFieldsDirective.ctorParameters = function () {
7580
+ return [
7581
+ { type: forms.NgControl, decorators: [{ type: i0.Optional }, { type: i0.Self }] },
7582
+ { type: ListFilterComponent },
7583
+ { type: i0.Injector }
7584
+ ];
7585
+ };
7586
+ ClearFieldsDirective.propDecorators = {
7587
+ clearFields: [{ type: i0.Input, args: ['clear-fields',] }]
7588
+ };
7589
+ return ClearFieldsDirective;
7590
+ }());
7591
+
7385
7592
  /**
7386
7593
  * @fileoverview added by tsickle
7387
7594
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
@@ -7404,7 +7611,8 @@
7404
7611
  ListFilterCommonComponent,
7405
7612
  FilterRadioComponent,
7406
7613
  FilterInputGroupComponent,
7407
- ControlTypeXPipe
7614
+ ControlTypeXPipe,
7615
+ ClearFieldsDirective
7408
7616
  ],
7409
7617
  imports: [
7410
7618
  common.CommonModule,
@@ -7781,6 +7989,7 @@
7781
7989
  exports.YearRangeHandler = YearRangeHandler;
7782
7990
  exports.InputGroupHandler = InputGroupHandler;
7783
7991
  exports.LISTFILTER_HANDLER_TOKEN = LISTFILTER_HANDLER_TOKEN;
7992
+ exports.ɵa = ClearFieldsDirective;
7784
7993
 
7785
7994
  Object.defineProperty(exports, '__esModule', { value: true });
7786
7995