@farris/ui-list-filter 0.1.5 → 0.1.9

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 (91) hide show
  1. package/bundles/farris-ui-list-filter.umd.js +266 -251
  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/lib/controlcomponent/checkboxcomponent/checkbox.component.js +9 -2
  6. package/esm2015/lib/controlcomponent/datecomponent/date.component.js +9 -2
  7. package/esm2015/lib/controlcomponent/daterangecomponent/daterange.component.js +8 -1
  8. package/esm2015/lib/controlcomponent/dropdowncomponent/dropdown.component.js +8 -1
  9. package/esm2015/lib/controlcomponent/helpcomponent.ts/help.component.js +12 -2
  10. package/esm2015/lib/controlcomponent/inputcomponent/input.component.js +5 -1
  11. package/esm2015/lib/controlcomponent/inputgroupcomponent/inputgroup.component.js +2 -1
  12. package/esm2015/lib/controlcomponent/numbercomponent/number.component.js +10 -8
  13. package/esm2015/lib/controlcomponent/radiocomponent/radio.component.js +8 -1
  14. package/esm2015/lib/controlcomponent/searchcomponent/search.component.js +3 -2
  15. package/esm2015/lib/entity/conditionvalue/checkboxgroupvalue.js +30 -18
  16. package/esm2015/lib/entity/conditionvalue/daterangetimevalue.js +20 -22
  17. package/esm2015/lib/entity/conditionvalue/daterangevalue.js +19 -21
  18. package/esm2015/lib/entity/conditionvalue/datevalue.js +12 -11
  19. package/esm2015/lib/entity/conditionvalue/dropdownlistvalue.js +13 -13
  20. package/esm2015/lib/entity/conditionvalue/helpvalue.js +21 -16
  21. package/esm2015/lib/entity/conditionvalue/inputgroup.js +48 -43
  22. package/esm2015/lib/entity/conditionvalue/month.js +12 -11
  23. package/esm2015/lib/entity/conditionvalue/monthrange.js +19 -14
  24. package/esm2015/lib/entity/conditionvalue/numberrangevaue.js +16 -11
  25. package/esm2015/lib/entity/conditionvalue/radiovalue.js +12 -11
  26. package/esm2015/lib/entity/conditionvalue/searchvalue.js +12 -7
  27. package/esm2015/lib/entity/conditionvalue/textvalue.js +6 -1
  28. package/esm2015/lib/entity/conditionvalue/yearrange.js +13 -8
  29. package/esm2015/lib/entity/conditionvalue/yearvalue.js +12 -11
  30. package/esm2015/lib/entity/controltype/help/helpcontrol.js +3 -1
  31. package/esm2015/lib/entity/controltype.js +1 -1
  32. package/esm2015/lib/list-filter.component.js +32 -4
  33. package/esm2015/lib/service/convertorservice.js +1 -1
  34. package/esm2015/lib/service/solution.service.js +16 -3
  35. package/esm5/lib/controlcomponent/checkboxcomponent/checkbox.component.js +10 -2
  36. package/esm5/lib/controlcomponent/datecomponent/date.component.js +10 -2
  37. package/esm5/lib/controlcomponent/daterangecomponent/daterange.component.js +9 -1
  38. package/esm5/lib/controlcomponent/dropdowncomponent/dropdown.component.js +9 -1
  39. package/esm5/lib/controlcomponent/helpcomponent.ts/help.component.js +13 -2
  40. package/esm5/lib/controlcomponent/inputcomponent/input.component.js +5 -1
  41. package/esm5/lib/controlcomponent/inputgroupcomponent/inputgroup.component.js +2 -1
  42. package/esm5/lib/controlcomponent/numbercomponent/number.component.js +11 -8
  43. package/esm5/lib/controlcomponent/radiocomponent/radio.component.js +9 -1
  44. package/esm5/lib/controlcomponent/searchcomponent/search.component.js +3 -2
  45. package/esm5/lib/entity/conditionvalue/checkboxgroupvalue.js +29 -22
  46. package/esm5/lib/entity/conditionvalue/daterangetimevalue.js +17 -34
  47. package/esm5/lib/entity/conditionvalue/daterangevalue.js +16 -33
  48. package/esm5/lib/entity/conditionvalue/datevalue.js +7 -15
  49. package/esm5/lib/entity/conditionvalue/dropdownlistvalue.js +8 -17
  50. package/esm5/lib/entity/conditionvalue/helpvalue.js +6 -1
  51. package/esm5/lib/entity/conditionvalue/inputgroup.js +49 -44
  52. package/esm5/lib/entity/conditionvalue/month.js +7 -15
  53. package/esm5/lib/entity/conditionvalue/monthrange.js +15 -10
  54. package/esm5/lib/entity/conditionvalue/numberrangevaue.js +10 -5
  55. package/esm5/lib/entity/conditionvalue/radiovalue.js +7 -15
  56. package/esm5/lib/entity/conditionvalue/searchvalue.js +6 -1
  57. package/esm5/lib/entity/conditionvalue/textvalue.js +6 -1
  58. package/esm5/lib/entity/conditionvalue/yearrange.js +6 -1
  59. package/esm5/lib/entity/conditionvalue/yearvalue.js +7 -15
  60. package/esm5/lib/entity/controltype/help/helpcontrol.js +3 -1
  61. package/esm5/lib/entity/controltype.js +1 -1
  62. package/esm5/lib/list-filter.component.js +37 -4
  63. package/esm5/lib/service/convertorservice.js +1 -1
  64. package/esm5/lib/service/solution.service.js +22 -5
  65. package/farris-ui-list-filter.metadata.json +1 -1
  66. package/fesm2015/farris-ui-list-filter.js +304 -216
  67. package/fesm2015/farris-ui-list-filter.js.map +1 -1
  68. package/fesm5/farris-ui-list-filter.js +255 -231
  69. package/fesm5/farris-ui-list-filter.js.map +1 -1
  70. package/lib/controlcomponent/checkboxcomponent/checkbox.component.d.ts +2 -2
  71. package/lib/controlcomponent/datecomponent/date.component.d.ts +2 -2
  72. package/lib/controlcomponent/helpcomponent.ts/help.component.d.ts +1 -0
  73. package/lib/entity/conditionvalue/checkboxgroupvalue.d.ts +9 -5
  74. package/lib/entity/conditionvalue/daterangetimevalue.d.ts +11 -9
  75. package/lib/entity/conditionvalue/daterangevalue.d.ts +9 -7
  76. package/lib/entity/conditionvalue/datevalue.d.ts +4 -2
  77. package/lib/entity/conditionvalue/dropdownlistvalue.d.ts +2 -0
  78. package/lib/entity/conditionvalue/helpvalue.d.ts +2 -0
  79. package/lib/entity/conditionvalue/inputgroup.d.ts +7 -5
  80. package/lib/entity/conditionvalue/month.d.ts +4 -2
  81. package/lib/entity/conditionvalue/monthrange.d.ts +9 -7
  82. package/lib/entity/conditionvalue/numberrangevaue.d.ts +7 -5
  83. package/lib/entity/conditionvalue/radiovalue.d.ts +4 -2
  84. package/lib/entity/conditionvalue/searchvalue.d.ts +3 -1
  85. package/lib/entity/conditionvalue/textvalue.d.ts +2 -0
  86. package/lib/entity/conditionvalue/yearrange.d.ts +8 -6
  87. package/lib/entity/conditionvalue/yearvalue.d.ts +4 -2
  88. package/lib/entity/controltype/help/helpcontrol.d.ts +1 -0
  89. package/lib/list-filter.component.d.ts +4 -1
  90. package/lib/service/solution.service.d.ts +5 -3
  91. package/package.json +1 -1
@@ -605,39 +605,27 @@
605
605
  if (value === void 0) {
606
606
  value = { startTime: '', endTime: '' };
607
607
  }
608
+ this.clear$ = new i0.EventEmitter();
608
609
  this.startTime = value.startTime;
609
610
  this.endTime = value.endTime;
610
611
  }
611
- // getControlType(): ControlType {
612
- // return ControlType.DateRange;
613
- // }
614
- // // startTime:string;
615
- // // endTime:string;
616
- // startTime:Date;
617
- // endTime:Date;
618
- // getControlType(): ControlType {
619
- // return ControlType.DateRange;
620
- // }
621
- // // startTime:string;
622
- // // endTime:string;
623
- // startTime:Date;
624
- // endTime:Date;
612
+ /**
613
+ * @return {?}
614
+ */
615
+ DateRangeValue.prototype.isEmpty = /**
616
+ * @return {?}
617
+ */
618
+ function () {
619
+ return !this.startTime || !this.endTime;
620
+ };
625
621
  /**
626
622
  * @param {?} value
627
623
  * @return {?}
628
624
  */
629
- DateRangeValue.prototype.setOriginalValue =
630
- // getControlType(): ControlType {
631
- // return ControlType.DateRange;
632
- // }
633
- // // startTime:string;
634
- // // endTime:string;
635
- // startTime:Date;
636
- // endTime:Date;
637
- /**
638
- * @param {?} value
639
- * @return {?}
640
- */
625
+ DateRangeValue.prototype.setOriginalValue = /**
626
+ * @param {?} value
627
+ * @return {?}
628
+ */
641
629
  function (value) {
642
630
  if (value.formatted) {
643
631
  this.startTime = value.formatted.split(value.delimiter)[0];
@@ -674,15 +662,7 @@
674
662
  function () {
675
663
  this.startTime = undefined;
676
664
  this.endTime = undefined;
677
- };
678
- /**
679
- * @return {?}
680
- */
681
- DateRangeValue.prototype.isEmpty = /**
682
- * @return {?}
683
- */
684
- function () {
685
- return !this.startTime || !this.endTime;
665
+ this.clear$.emit();
686
666
  };
687
667
  return DateRangeValue;
688
668
  }());
@@ -696,6 +676,7 @@
696
676
  if (data === void 0) {
697
677
  data = '';
698
678
  }
679
+ this.clear$ = new i0.EventEmitter();
699
680
  this.value = data;
700
681
  }
701
682
  /**
@@ -715,6 +696,7 @@
715
696
  */
716
697
  function () {
717
698
  this.value = undefined;
699
+ this.clear$.emit();
718
700
  };
719
701
  /**
720
702
  * @param {?} value
@@ -757,6 +739,7 @@
757
739
  if (data === void 0) {
758
740
  data = '';
759
741
  }
742
+ this.clear$ = new i0.EventEmitter();
760
743
  this.value = data;
761
744
  }
762
745
  /**
@@ -776,6 +759,7 @@
776
759
  */
777
760
  function () {
778
761
  this.value = undefined;
762
+ this.clear$.emit();
779
763
  };
780
764
  /**
781
765
  * @param {?} value
@@ -818,29 +802,17 @@
818
802
  if (date === void 0) {
819
803
  date = '';
820
804
  }
805
+ this.clear$ = new i0.EventEmitter();
821
806
  this.value = date;
822
807
  }
823
- // getControlType(): ControlType {
824
- // return ControlType.Date;
825
- // }
826
- // value:Date;
827
- // getControlType(): ControlType {
828
- // return ControlType.Date;
829
- // }
830
- // value:Date;
831
808
  /**
832
809
  * @param {?} value
833
810
  * @return {?}
834
811
  */
835
- DateValue.prototype.setOriginalValue =
836
- // getControlType(): ControlType {
837
- // return ControlType.Date;
838
- // }
839
- // value:Date;
840
- /**
841
- * @param {?} value
842
- * @return {?}
843
- */
812
+ DateValue.prototype.setOriginalValue = /**
813
+ * @param {?} value
814
+ * @return {?}
815
+ */
844
816
  function (value) {
845
817
  this.value = value.formatted;
846
818
  };
@@ -879,6 +851,7 @@
879
851
  */
880
852
  function () {
881
853
  this.value = undefined;
854
+ this.clear$.emit();
882
855
  };
883
856
  return DateValue;
884
857
  }());
@@ -892,26 +865,27 @@
892
865
  if (data === void 0) {
893
866
  data = { startValue: '', endValue: '' };
894
867
  }
868
+ this.clear$ = new i0.EventEmitter();
895
869
  this.startValue = data.startValue ? parseFloat(data.startValue) : null;
896
870
  this.endValue = data.endValue ? parseFloat(data.endValue) : null;
897
871
  }
898
872
  /**
899
873
  * @return {?}
900
874
  */
901
- NumberRangeValue.prototype.getControlType = /**
875
+ NumberRangeValue.prototype.isEmpty = /**
902
876
  * @return {?}
903
877
  */
904
878
  function () {
905
- return ControlType.NumberRange;
879
+ return (this.startValue == null && this.endValue == null);
906
880
  };
907
881
  /**
908
882
  * @return {?}
909
883
  */
910
- NumberRangeValue.prototype.isEmpty = /**
884
+ NumberRangeValue.prototype.getControlType = /**
911
885
  * @return {?}
912
886
  */
913
887
  function () {
914
- return (this.startValue == null && this.endValue == null);
888
+ return ControlType.NumberRange;
915
889
  };
916
890
  /**
917
891
  * @return {?}
@@ -922,6 +896,7 @@
922
896
  function () {
923
897
  this.startValue = undefined;
924
898
  this.endValue = undefined;
899
+ this.clear$.emit();
925
900
  };
926
901
  /**
927
902
  * @param {?} value
@@ -999,30 +974,18 @@
999
974
  if (data === void 0) {
1000
975
  data = '';
1001
976
  }
977
+ this.clear$ = new i0.EventEmitter();
1002
978
  this.value = data;
1003
979
  }
1004
- // getControlType(): ControlType {
1005
- // return ControlType.DropDown;
1006
- // }
1007
- // value:IEnumValue;
1008
- // getControlType(): ControlType {
1009
- // return ControlType.DropDown;
1010
- // }
1011
- // value:IEnumValue;
1012
980
  /**
1013
981
  * @return {?}
1014
982
  */
1015
- DropDownListValue.prototype.clearValue =
1016
- // getControlType(): ControlType {
1017
- // return ControlType.DropDown;
1018
- // }
1019
- // value:IEnumValue;
1020
- /**
1021
- * @return {?}
1022
- */
983
+ DropDownListValue.prototype.clearValue = /**
984
+ * @return {?}
985
+ */
1023
986
  function () {
1024
987
  this.value = undefined;
1025
- // this.key = undefined;
988
+ this.clear$.emit();
1026
989
  };
1027
990
  /**
1028
991
  * @param {?} value
@@ -1033,7 +996,7 @@
1033
996
  * @return {?}
1034
997
  */
1035
998
  function (value) {
1036
- throw new Error("Method not implemented.");
999
+ this.value = value;
1037
1000
  };
1038
1001
  /**
1039
1002
  * @return {?}
@@ -1119,6 +1082,7 @@
1119
1082
  if (data === void 0) {
1120
1083
  data = { value: [], valueField: undefined, textValue: undefined };
1121
1084
  }
1085
+ this.clear$ = new i0.EventEmitter();
1122
1086
  if (data.hasOwnProperty('textValue')) { // 新结构,value是数组
1123
1087
  this.valueField = data.valueField;
1124
1088
  this.value = data.value;
@@ -1158,6 +1122,7 @@
1158
1122
  this.value = [];
1159
1123
  this.valueField = undefined;
1160
1124
  this.textValue = undefined;
1125
+ this.clear$.emit();
1161
1126
  };
1162
1127
  /**
1163
1128
  * @param {?} value
@@ -1234,29 +1199,28 @@
1234
1199
  if (value === void 0) {
1235
1200
  value = [];
1236
1201
  }
1202
+ this.clear$ = new i0.EventEmitter();
1203
+ this.valueChanged = new i0.EventEmitter();
1237
1204
  this.value = value;
1238
1205
  }
1239
- // getControlType(): ControlType {
1240
- // return ControlType.CheckboxGroup;
1241
- // }
1242
- // value:CheckboxIEnumValue[];
1243
- // getControlType(): ControlType {
1244
- // return ControlType.CheckboxGroup;
1245
- // }
1246
- // value:CheckboxIEnumValue[];
1247
1206
  /**
1248
1207
  * @return {?}
1249
1208
  */
1250
- CheckboxGroupValue.prototype.clearValue =
1251
- // getControlType(): ControlType {
1252
- // return ControlType.CheckboxGroup;
1253
- // }
1254
- // value:CheckboxIEnumValue[];
1255
- /**
1256
- * @return {?}
1257
- */
1209
+ CheckboxGroupValue.prototype.isEmpty = /**
1210
+ * @return {?}
1211
+ */
1212
+ function () {
1213
+ return this.value.length == 0;
1214
+ };
1215
+ /**
1216
+ * @return {?}
1217
+ */
1218
+ CheckboxGroupValue.prototype.clearValue = /**
1219
+ * @return {?}
1220
+ */
1258
1221
  function () {
1259
1222
  this.value = [];
1223
+ this.clear$.emit();
1260
1224
  };
1261
1225
  /**
1262
1226
  * @param {?} value
@@ -1270,31 +1234,34 @@
1270
1234
  this.value = value;
1271
1235
  };
1272
1236
  /**
1237
+ * @param {?} value
1273
1238
  * @return {?}
1274
1239
  */
1275
- CheckboxGroupValue.prototype.getOriginalValue = /**
1240
+ CheckboxGroupValue.prototype.setValue = /**
1241
+ * @param {?} value
1276
1242
  * @return {?}
1277
1243
  */
1278
- function () {
1279
- return this.value;
1244
+ function (value) {
1245
+ this.value = value;
1246
+ this.valueChanged.emit(this.value);
1280
1247
  };
1281
1248
  /**
1282
1249
  * @return {?}
1283
1250
  */
1284
- CheckboxGroupValue.prototype.getControlType = /**
1251
+ CheckboxGroupValue.prototype.getOriginalValue = /**
1285
1252
  * @return {?}
1286
1253
  */
1287
1254
  function () {
1288
- return ControlType.CheckboxGroup;
1255
+ return this.value;
1289
1256
  };
1290
1257
  /**
1291
1258
  * @return {?}
1292
1259
  */
1293
- CheckboxGroupValue.prototype.isEmpty = /**
1260
+ CheckboxGroupValue.prototype.getControlType = /**
1294
1261
  * @return {?}
1295
1262
  */
1296
1263
  function () {
1297
- return this.value.length == 0;
1264
+ return ControlType.CheckboxGroup;
1298
1265
  };
1299
1266
  return CheckboxGroupValue;
1300
1267
  }());
@@ -1308,39 +1275,27 @@
1308
1275
  if (value === void 0) {
1309
1276
  value = { startTime: '', endTime: '' };
1310
1277
  }
1278
+ this.clear$ = new i0.EventEmitter();
1311
1279
  this.startTime = value.startTime;
1312
1280
  this.endTime = value.endTime;
1313
1281
  }
1314
- // getControlType(): ControlType {
1315
- // return ControlType.DateRangeTime;
1316
- // }
1317
- // // startTime:string;
1318
- // // endTime:string;
1319
- // startTime:Date;
1320
- // endTime:Date;
1321
- // getControlType(): ControlType {
1322
- // return ControlType.DateRangeTime;
1323
- // }
1324
- // // startTime:string;
1325
- // // endTime:string;
1326
- // startTime:Date;
1327
- // endTime:Date;
1282
+ /**
1283
+ * @return {?}
1284
+ */
1285
+ DateRangeTimeValue.prototype.isEmpty = /**
1286
+ * @return {?}
1287
+ */
1288
+ function () {
1289
+ return !this.startTime || !this.endTime;
1290
+ };
1328
1291
  /**
1329
1292
  * @param {?} value
1330
1293
  * @return {?}
1331
1294
  */
1332
- DateRangeTimeValue.prototype.setOriginalValue =
1333
- // getControlType(): ControlType {
1334
- // return ControlType.DateRangeTime;
1335
- // }
1336
- // // startTime:string;
1337
- // // endTime:string;
1338
- // startTime:Date;
1339
- // endTime:Date;
1340
- /**
1341
- * @param {?} value
1342
- * @return {?}
1343
- */
1295
+ DateRangeTimeValue.prototype.setOriginalValue = /**
1296
+ * @param {?} value
1297
+ * @return {?}
1298
+ */
1344
1299
  function (value) {
1345
1300
  if (value.formatted) {
1346
1301
  this.startTime = value.formatted.split(value.delimiter)[0];
@@ -1377,15 +1332,7 @@
1377
1332
  function () {
1378
1333
  this.startTime = undefined;
1379
1334
  this.endTime = undefined;
1380
- };
1381
- /**
1382
- * @return {?}
1383
- */
1384
- DateRangeTimeValue.prototype.isEmpty = /**
1385
- * @return {?}
1386
- */
1387
- function () {
1388
- return !this.startTime || !this.endTime;
1335
+ this.clear$.emit();
1389
1336
  };
1390
1337
  return DateRangeTimeValue;
1391
1338
  }());
@@ -1428,29 +1375,18 @@
1428
1375
  if (data === void 0) {
1429
1376
  data = '';
1430
1377
  }
1378
+ this.clear$ = new i0.EventEmitter();
1431
1379
  this.value = data;
1432
1380
  }
1433
- // getControlType(): ControlType {
1434
- // return ControlType.DropDown;
1435
- // }
1436
- // value:IEnumValue;
1437
- // getControlType(): ControlType {
1438
- // return ControlType.DropDown;
1439
- // }
1440
- // value:IEnumValue;
1441
1381
  /**
1442
1382
  * @return {?}
1443
1383
  */
1444
- RadioGroupValue.prototype.clearValue =
1445
- // getControlType(): ControlType {
1446
- // return ControlType.DropDown;
1447
- // }
1448
- // value:IEnumValue;
1449
- /**
1450
- * @return {?}
1451
- */
1384
+ RadioGroupValue.prototype.clearValue = /**
1385
+ * @return {?}
1386
+ */
1452
1387
  function () {
1453
1388
  this.value = undefined;
1389
+ this.clear$.emit();
1454
1390
  };
1455
1391
  /**
1456
1392
  * @param {?} value
@@ -1540,29 +1476,17 @@
1540
1476
  if (date === void 0) {
1541
1477
  date = '';
1542
1478
  }
1479
+ this.clear$ = new i0.EventEmitter();
1543
1480
  this.value = date;
1544
1481
  }
1545
- // getControlType(): ControlType {
1546
- // return ControlType.Date;
1547
- // }
1548
- // value:Date;
1549
- // getControlType(): ControlType {
1550
- // return ControlType.Date;
1551
- // }
1552
- // value:Date;
1553
1482
  /**
1554
1483
  * @param {?} value
1555
1484
  * @return {?}
1556
1485
  */
1557
- YearValue.prototype.setOriginalValue =
1558
- // getControlType(): ControlType {
1559
- // return ControlType.Date;
1560
- // }
1561
- // value:Date;
1562
- /**
1563
- * @param {?} value
1564
- * @return {?}
1565
- */
1486
+ YearValue.prototype.setOriginalValue = /**
1487
+ * @param {?} value
1488
+ * @return {?}
1489
+ */
1566
1490
  function (value) {
1567
1491
  this.value = value.formatted;
1568
1492
  };
@@ -1601,6 +1525,7 @@
1601
1525
  */
1602
1526
  function () {
1603
1527
  this.value = undefined;
1528
+ this.clear$.emit();
1604
1529
  };
1605
1530
  return YearValue;
1606
1531
  }());
@@ -1643,29 +1568,17 @@
1643
1568
  if (date === void 0) {
1644
1569
  date = '';
1645
1570
  }
1571
+ this.clear$ = new i0.EventEmitter();
1646
1572
  this.value = date;
1647
1573
  }
1648
- // getControlType(): ControlType {
1649
- // return ControlType.Date;
1650
- // }
1651
- // value:Date;
1652
- // getControlType(): ControlType {
1653
- // return ControlType.Date;
1654
- // }
1655
- // value:Date;
1656
1574
  /**
1657
1575
  * @param {?} value
1658
1576
  * @return {?}
1659
1577
  */
1660
- MonthValue.prototype.setOriginalValue =
1661
- // getControlType(): ControlType {
1662
- // return ControlType.Date;
1663
- // }
1664
- // value:Date;
1665
- /**
1666
- * @param {?} value
1667
- * @return {?}
1668
- */
1578
+ MonthValue.prototype.setOriginalValue = /**
1579
+ * @param {?} value
1580
+ * @return {?}
1581
+ */
1669
1582
  function (value) {
1670
1583
  this.value = value.formatted;
1671
1584
  };
@@ -1704,6 +1617,7 @@
1704
1617
  */
1705
1618
  function () {
1706
1619
  this.value = undefined;
1620
+ this.clear$.emit();
1707
1621
  };
1708
1622
  return MonthValue;
1709
1623
  }());
@@ -1717,6 +1631,7 @@
1717
1631
  if (value === void 0) {
1718
1632
  value = { startTime: '', endTime: '' };
1719
1633
  }
1634
+ this.clear$ = new i0.EventEmitter();
1720
1635
  this.startTime = value.startTime;
1721
1636
  this.endTime = value.endTime;
1722
1637
  }
@@ -1764,6 +1679,7 @@
1764
1679
  function () {
1765
1680
  this.startTime = undefined;
1766
1681
  this.endTime = undefined;
1682
+ this.clear$.emit();
1767
1683
  };
1768
1684
  /**
1769
1685
  * @return {?}
@@ -1815,9 +1731,19 @@
1815
1731
  if (value === void 0) {
1816
1732
  value = { startTime: '', endTime: '' };
1817
1733
  }
1734
+ this.clear$ = new i0.EventEmitter();
1818
1735
  this.startTime = value.startTime;
1819
1736
  this.endTime = value.endTime;
1820
1737
  }
1738
+ /**
1739
+ * @return {?}
1740
+ */
1741
+ MonthRangeValue.prototype.isEmpty = /**
1742
+ * @return {?}
1743
+ */
1744
+ function () {
1745
+ return !this.startTime || !this.endTime;
1746
+ };
1821
1747
  /**
1822
1748
  * @param {?} value
1823
1749
  * @return {?}
@@ -1862,15 +1788,7 @@
1862
1788
  function () {
1863
1789
  this.startTime = undefined;
1864
1790
  this.endTime = undefined;
1865
- };
1866
- /**
1867
- * @return {?}
1868
- */
1869
- MonthRangeValue.prototype.isEmpty = /**
1870
- * @return {?}
1871
- */
1872
- function () {
1873
- return !this.startTime || !this.endTime;
1791
+ this.clear$.emit();
1874
1792
  };
1875
1793
  return MonthRangeValue;
1876
1794
  }());
@@ -1913,11 +1831,54 @@
1913
1831
  if (data === void 0) {
1914
1832
  data = { value: [], textValue: undefined, textField: undefined, isInputText: undefined };
1915
1833
  }
1834
+ this.clear$ = new i0.EventEmitter();
1916
1835
  this.value = data.value;
1917
1836
  this.textValue = data.textValue ? data.textValue.trim() : '';
1918
1837
  this.textField = data.textField;
1919
1838
  this.isInputText = data.isInputText;
1920
1839
  }
1840
+ /**
1841
+ * @param {?} targetField
1842
+ * @return {?}
1843
+ */
1844
+ InputGroupValue.prototype.getTextValue = /**
1845
+ * @param {?} targetField
1846
+ * @return {?}
1847
+ */
1848
+ function (targetField) {
1849
+ var _this = this;
1850
+ /** @type {?} */
1851
+ var args = targetField.split('.');
1852
+ /** @type {?} */
1853
+ var textArr = this.value.map(( /**
1854
+ * @param {?} item
1855
+ * @return {?}
1856
+ */function (item) { return _this.getPropValue(item, lodashEs.cloneDeep(args)); }));
1857
+ return textArr && textArr.length ? textArr.join(',') : '';
1858
+ };
1859
+ /**
1860
+ * @param {?} item
1861
+ * @param {?} args
1862
+ * @return {?}
1863
+ */
1864
+ InputGroupValue.prototype.getPropValue = /**
1865
+ * @param {?} item
1866
+ * @param {?} args
1867
+ * @return {?}
1868
+ */
1869
+ function (item, args) {
1870
+ if (args.length > 1) {
1871
+ /** @type {?} */
1872
+ var arg = args.shift();
1873
+ if (arg) {
1874
+ return item[arg] ? this.getPropValue(item[arg], args) : '';
1875
+ }
1876
+ else {
1877
+ return '';
1878
+ }
1879
+ }
1880
+ return item[args[0]];
1881
+ };
1921
1882
  /**
1922
1883
  * @return {?}
1923
1884
  */
@@ -1966,6 +1927,7 @@
1966
1927
  this.textValue = undefined;
1967
1928
  this.textField = undefined;
1968
1929
  this.isInputText = undefined;
1930
+ this.clear$.emit();
1969
1931
  };
1970
1932
  /**
1971
1933
  * @return {?}
@@ -1976,48 +1938,6 @@
1976
1938
  function () {
1977
1939
  return !this.textValue;
1978
1940
  };
1979
- /**
1980
- * @param {?} targetField
1981
- * @return {?}
1982
- */
1983
- InputGroupValue.prototype.getTextValue = /**
1984
- * @param {?} targetField
1985
- * @return {?}
1986
- */
1987
- function (targetField) {
1988
- var _this = this;
1989
- /** @type {?} */
1990
- var args = targetField.split('.');
1991
- /** @type {?} */
1992
- var textArr = this.value.map(( /**
1993
- * @param {?} item
1994
- * @return {?}
1995
- */function (item) { return _this.getPropValue(item, lodashEs.cloneDeep(args)); }));
1996
- return textArr && textArr.length ? textArr.join(',') : '';
1997
- };
1998
- /**
1999
- * @param {?} item
2000
- * @param {?} args
2001
- * @return {?}
2002
- */
2003
- InputGroupValue.prototype.getPropValue = /**
2004
- * @param {?} item
2005
- * @param {?} args
2006
- * @return {?}
2007
- */
2008
- function (item, args) {
2009
- if (args.length > 1) {
2010
- /** @type {?} */
2011
- var arg = args.shift();
2012
- if (arg) {
2013
- return item[arg] ? this.getPropValue(item[arg], args) : '';
2014
- }
2015
- else {
2016
- return '';
2017
- }
2018
- }
2019
- return item[args[0]];
2020
- };
2021
1941
  return InputGroupValue;
2022
1942
  }());
2023
1943
 
@@ -4820,7 +4740,7 @@
4820
4740
  if (this.disabled) {
4821
4741
  return;
4822
4742
  }
4823
- this.searchChange.emit(this.listFilterConditions);
4743
+ this.searchChange.emit({ item: item, conditions: this.listFilterConditions, instance: this });
4824
4744
  this.inSetCurrentFilterConditions();
4825
4745
  this.canSubmit = this.canSubmitFilter(this.requiredListFilter);
4826
4746
  if (item.control.isExtend || !this.canSubmit || !this.liveSearch) {
@@ -5134,6 +5054,9 @@
5134
5054
  */
5135
5055
  function (fields) {
5136
5056
  if (fields && fields.length) {
5057
+ if (typeof fields === 'string') {
5058
+ fields = fields.split(',');
5059
+ }
5137
5060
  fields = fields.map(( /**
5138
5061
  * @param {?} n
5139
5062
  * @return {?}
@@ -5144,12 +5067,40 @@
5144
5067
  * @param {?} n
5145
5068
  * @return {?}
5146
5069
  */function (n) {
5147
- if (fields.indexOf(n.fieldName.toLowerCase()) > -1) {
5148
- n.value['value'] = '';
5070
+ if (fields.indexOf(n.fieldCode.toLowerCase()) > -1) {
5071
+ n.value.clearValue();
5149
5072
  }
5150
5073
  }));
5151
5074
  }
5152
5075
  };
5076
+ /**
5077
+ * @param {?} values
5078
+ * @return {?}
5079
+ */
5080
+ ListFilterComponent.prototype.updateValues = /**
5081
+ * @param {?} values
5082
+ * @return {?}
5083
+ */
5084
+ function (values) {
5085
+ var _this = this;
5086
+ if (values && Object.keys(values)) {
5087
+ /** @type {?} */
5088
+ var fields_1 = Object.keys(values);
5089
+ fields_1.forEach(( /**
5090
+ * @param {?} f
5091
+ * @return {?}
5092
+ */function (f) {
5093
+ _this.listFilterConditions.forEach(( /**
5094
+ * @param {?} n
5095
+ * @return {?}
5096
+ */function (n) {
5097
+ if (fields_1.indexOf(n.fieldCode.toLowerCase()) > -1) {
5098
+ n.value['value'] = values[f];
5099
+ }
5100
+ }));
5101
+ }));
5102
+ }
5103
+ };
5153
5104
  ListFilterComponent.decorators = [
5154
5105
  { type: i0.Component, args: [{
5155
5106
  selector: 'farris-list-filter',
@@ -5191,9 +5142,9 @@
5191
5142
  * @fileoverview added by tsickle
5192
5143
  * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
5193
5144
  */
5194
- // import { NotifyService, NotifyOptions } from '@farris/ui-notify';
5195
5145
  var SolutionService = /** @class */ (function () {
5196
5146
  function SolutionService() {
5147
+ this.filterEditors = {};
5197
5148
  }
5198
5149
  /**
5199
5150
  * @return {?}
@@ -5216,9 +5167,9 @@
5216
5167
  return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
5217
5168
  };
5218
5169
  /**
5219
- * 根据字段获取Lable控件的Title
5220
- * @param field
5221
- */
5170
+ * 根据字段获取Lable控件的Title
5171
+ * @param field
5172
+ */
5222
5173
  /**
5223
5174
  * 根据字段获取Lable控件的Title
5224
5175
  * @param {?} field
@@ -5261,6 +5212,19 @@
5261
5212
  }
5262
5213
  return result;
5263
5214
  };
5215
+ /**
5216
+ * @param {?} fieldName
5217
+ * @param {?} cmpIns
5218
+ * @return {?}
5219
+ */
5220
+ SolutionService.prototype.addFilterEditorInstance = /**
5221
+ * @param {?} fieldName
5222
+ * @param {?} cmpIns
5223
+ * @return {?}
5224
+ */
5225
+ function (fieldName, cmpIns) {
5226
+ this.filterEditors[fieldName] = cmpIns;
5227
+ };
5264
5228
  SolutionService.decorators = [
5265
5229
  { type: i0.Injectable }
5266
5230
  ];
@@ -5331,6 +5295,10 @@
5331
5295
  this.showlabel = this.item.control.showLabel;
5332
5296
  }
5333
5297
  }
5298
+ this.solutionService.addFilterEditorInstance(this.item.fieldCode, this);
5299
+ // (this.item.value as HelpValue).clear$.subscribe(() => {
5300
+ // this.textValue = '';
5301
+ // });
5334
5302
  };
5335
5303
  /**
5336
5304
  * @return {?}
@@ -5479,6 +5447,7 @@
5479
5447
  this.showlabel = this.item.control.showLabel;
5480
5448
  }
5481
5449
  }
5450
+ this.solutionService.addFilterEditorInstance(this.item.fieldCode, this);
5482
5451
  };
5483
5452
  /**
5484
5453
  * @return {?}
@@ -5526,7 +5495,7 @@
5526
5495
  SearchComponent.decorators = [
5527
5496
  { type: i0.Component, args: [{
5528
5497
  selector: 'app-filter-search',
5529
- 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\" (clear)=\"onSearch($event)\" (blurHandle)=\"onSearch($event)\" (enterHandle)=\"onSearch($event)\" (clickHandle)=\"onSearch($event)\" [placeholder]=\"placeholder\"></input-group>\r\n</div>"
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)\" (enterHandle)=\"onSearch($event)\" \r\n (clickHandle)=\"onSearch($event)\" [placeholder]=\"placeholder\"></input-group>\r\n</div>"
5530
5499
  }] }
5531
5500
  ];
5532
5501
  /** @nocollapse */
@@ -5598,6 +5567,7 @@
5598
5567
  * @return {?}
5599
5568
  */
5600
5569
  function () {
5570
+ var _this = this;
5601
5571
  if (this.item) {
5602
5572
  /** @type {?} */
5603
5573
  var type = Object.prototype.toString.call(this.item.placeHolder);
@@ -5617,6 +5587,12 @@
5617
5587
  this.showlabel = this.item.control.showLabel;
5618
5588
  }
5619
5589
  }
5590
+ this.solutionService.addFilterEditorInstance(this.item.fieldCode, this);
5591
+ (( /** @type {?} */(this.item.value))).clear$.subscribe(( /**
5592
+ * @return {?}
5593
+ */function () {
5594
+ _this.textValue = '';
5595
+ }));
5620
5596
  };
5621
5597
  /**
5622
5598
  * @return {?}
@@ -5709,6 +5685,7 @@
5709
5685
  this.expandLevel = helpList_1.expandLevel;
5710
5686
  this.enableCascade = helpList_1.enableCascade;
5711
5687
  this.helpId = helpList_1.helpId;
5688
+ this.title = helpList_1.title;
5712
5689
  /** @type {?} */
5713
5690
  var helpValue = (( /** @type {?} */(this.item.value)));
5714
5691
  // if (helpValue && helpValue.value) {
@@ -5760,7 +5737,7 @@
5760
5737
  HelpComponent.decorators = [
5761
5738
  { type: i0.Component, args: [{
5762
5739
  selector: 'app-filter-help',
5763
- 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>"
5740
+ 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 [title]=\"title\"\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>"
5764
5741
  // providers: [{ provide: ServerSideToken, useClass: LookupHttpBeQueryService }]
5765
5742
  }] }
5766
5743
  ];
@@ -5824,6 +5801,7 @@
5824
5801
  * @return {?}
5825
5802
  */
5826
5803
  function () {
5804
+ var _this = this;
5827
5805
  // console.log(this.showType);
5828
5806
  this.initDate();
5829
5807
  if (this.item) {
@@ -5844,6 +5822,12 @@
5844
5822
  this.showlabel = this.item.control.showLabel;
5845
5823
  }
5846
5824
  }
5825
+ this.solutionService.addFilterEditorInstance(this.item.fieldCode, this);
5826
+ (( /** @type {?} */(this.item.value))).clear$.subscribe(( /**
5827
+ * @return {?}
5828
+ */function () {
5829
+ _this.date = '';
5830
+ }));
5847
5831
  };
5848
5832
  /**
5849
5833
  * @return {?}
@@ -5957,7 +5941,7 @@
5957
5941
  autoLabel: [{ type: i0.Input }],
5958
5942
  disabled: [{ type: i0.Input }],
5959
5943
  showType: [{ type: i0.Input }],
5960
- searchHandle: [{ type: i0.Output, args: ['searchHandle',] }],
5944
+ searchHandle: [{ type: i0.Output }],
5961
5945
  isExtend: [{ type: i0.HostBinding, args: ['class.filter-item-wrap',] }],
5962
5946
  hidenLabel: [{ type: i0.HostBinding, args: ['class.filter-item-hiddenlabel',] }]
5963
5947
  };
@@ -6007,6 +5991,7 @@
6007
5991
  * @return {?}
6008
5992
  */
6009
5993
  function () {
5994
+ var _this = this;
6010
5995
  // this.getDataSource();
6011
5996
  // const initialValue = this.item.value as DropDownListValue;
6012
5997
  // initialValue.value && (this.selectedItemId = initialValue.value.getEnumValue());
@@ -6032,6 +6017,12 @@
6032
6017
  this.showlabel = this.item.control.showLabel;
6033
6018
  }
6034
6019
  }
6020
+ this.solutionService.addFilterEditorInstance(this.item.fieldCode, this);
6021
+ (( /** @type {?} */(this.item.value))).clear$.subscribe(( /**
6022
+ * @return {?}
6023
+ */function () {
6024
+ _this.selectedItemId = '';
6025
+ }));
6035
6026
  // this.testId = this.solutionService.getGuid();
6036
6027
  };
6037
6028
  /**
@@ -6236,6 +6227,7 @@
6236
6227
  * @return {?}
6237
6228
  */
6238
6229
  function () {
6230
+ var _this = this;
6239
6231
  if (this.item) {
6240
6232
  /** @type {?} */
6241
6233
  var type = Object.prototype.toString.call(this.item.placeHolder);
@@ -6268,12 +6260,13 @@
6268
6260
  this.endPlaceHolder = this.item.endPlaceHolder;
6269
6261
  }
6270
6262
  }
6271
- // if(this._item && this._item.control && this._item.control.hasOwnProperty('isExtend')){
6272
- // this.extend = this._item.control.isExtend;
6273
- // if(!this.extend){
6274
- // this.showlabel = this._item.control.showLabel;
6275
- // }
6276
- // }
6263
+ (( /** @type {?} */(this.item.value))).clear$.subscribe(( /**
6264
+ * @return {?}
6265
+ */function () {
6266
+ _this.beginValue = '';
6267
+ _this.endValue = '';
6268
+ }));
6269
+ this.solutionService.addFilterEditorInstance(this.item.fieldCode, this);
6277
6270
  };
6278
6271
  /**
6279
6272
  * @return {?}
@@ -6388,7 +6381,7 @@
6388
6381
  NumberComponent.decorators = [
6389
6382
  { type: i0.Component, args: [{
6390
6383
  selector: 'app-filter-number',
6391
- 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 d-flex\">\r\n <farris-number-range class=\"f-utils-fill-flex-row\" [canNull]=\"canNull\" [disabled]=\"disabled\" [beginValue]=\"beginValue\" [endValue]=\"endValue\" (beginValueChange)=\"beginValueChange($event)\" (endValueChange)=\"endValueChange($event)\" (valueChange)=\"numberChange($event)\" [beginPlaceHolder]=\"beginPlaceHolder\" [endPlaceHolder]=\"endPlaceHolder\" [placeholder]=\"placeholder\" [precision]=\"precision\" [bigNumber]=\"bigNumber\"></farris-number-range>\r\n</div>",
6384
+ 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 d-flex\">\r\n <farris-number-range class=\"f-utils-fill-flex-row\" [canNull]=\"canNull\" [disabled]=\"disabled\" [beginValue]=\"beginValue\" [endValue]=\"endValue\" \r\n (beginValueChange)=\"beginValueChange($event)\" (endValueChange)=\"endValueChange($event)\" (valueChange)=\"numberChange($event)\" \r\n [beginPlaceHolder]=\"beginPlaceHolder\" [endPlaceHolder]=\"endPlaceHolder\" [placeholder]=\"placeholder\" [precision]=\"precision\" [bigNumber]=\"bigNumber\"></farris-number-range>\r\n</div>",
6392
6385
  styles: [""]
6393
6386
  }] }
6394
6387
  ];
@@ -6497,6 +6490,7 @@
6497
6490
  * @return {?}
6498
6491
  */
6499
6492
  function () {
6493
+ var _this = this;
6500
6494
  this.getDataSource();
6501
6495
  this.checkValue = this.item.value.getOriginalValue();
6502
6496
  if (this.item && this.item.control && this.item.control.hasOwnProperty('isExtend')) {
@@ -6505,6 +6499,12 @@
6505
6499
  this.showlabel = this.item.control.showLabel;
6506
6500
  }
6507
6501
  }
6502
+ this.solutionService.addFilterEditorInstance(this.item.fieldCode, this);
6503
+ (( /** @type {?} */(this.item.value))).clear$.subscribe(( /**
6504
+ * @return {?}
6505
+ */function () {
6506
+ _this.checkValue = [];
6507
+ }));
6508
6508
  };
6509
6509
  /**
6510
6510
  * @return {?}
@@ -6606,7 +6606,7 @@
6606
6606
  item: [{ type: i0.Input }],
6607
6607
  autoLabel: [{ type: i0.Input }],
6608
6608
  disabled: [{ type: i0.Input }],
6609
- searchHandle: [{ type: i0.Output, args: ['searchHandle',] }],
6609
+ searchHandle: [{ type: i0.Output }],
6610
6610
  isExtend: [{ type: i0.HostBinding, args: ['class.filter-item-wrap',] }],
6611
6611
  isCheckExtend: [{ type: i0.HostBinding, args: ['class.filter-item-checbox-wrap',] }],
6612
6612
  cla: [{ type: i0.HostBinding, args: ['class.filter-item-checkboxgroup',] }],
@@ -6668,6 +6668,7 @@
6668
6668
  * @return {?}
6669
6669
  */
6670
6670
  function () {
6671
+ var _this = this;
6671
6672
  this.initDate();
6672
6673
  if (this.item) {
6673
6674
  /** @type {?} */
@@ -6708,6 +6709,12 @@
6708
6709
  this.showlabel = this.item.control.showLabel;
6709
6710
  }
6710
6711
  }
6712
+ this.solutionService.addFilterEditorInstance(this.item.fieldCode, this);
6713
+ (( /** @type {?} */(this.item.value))).clear$.subscribe(( /**
6714
+ * @return {?}
6715
+ */function () {
6716
+ _this.rangeDate = '';
6717
+ }));
6711
6718
  this.cdr.detectChanges();
6712
6719
  };
6713
6720
  /**
@@ -7003,6 +7010,7 @@
7003
7010
  * @return {?}
7004
7011
  */
7005
7012
  function () {
7013
+ var _this = this;
7006
7014
  this.getDataSource();
7007
7015
  this.radioValue = this.item.value.getOriginalValue();
7008
7016
  if (this.item && this.item.control && this.item.control.hasOwnProperty('isExtend')) {
@@ -7011,6 +7019,12 @@
7011
7019
  this.showlabel = this.item.control.showLabel;
7012
7020
  }
7013
7021
  }
7022
+ this.solutionService.addFilterEditorInstance(this.item.fieldCode, this);
7023
+ (( /** @type {?} */(this.item.value))).clear$.subscribe(( /**
7024
+ * @return {?}
7025
+ */function () {
7026
+ _this.radioValue = [];
7027
+ }));
7014
7028
  };
7015
7029
  /**
7016
7030
  * @return {?}
@@ -7194,6 +7208,7 @@
7194
7208
  this.showlabel = this.item.control.showLabel;
7195
7209
  }
7196
7210
  }
7211
+ this.solutionService.addFilterEditorInstance(this.item.fieldCode, this);
7197
7212
  };
7198
7213
  /**
7199
7214
  * @return {?}