inviton-powerduck 0.0.81 → 0.0.82
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.
|
@@ -890,6 +890,7 @@ class DataTableComponent extends TsxComponent<DataTableArgs> implements DataTabl
|
|
|
890
890
|
};
|
|
891
891
|
|
|
892
892
|
var regexBuilder = "";
|
|
893
|
+
var markArr: string[] = [];
|
|
893
894
|
if (this.filterArr != null) {
|
|
894
895
|
this.filterArr.forEach((filterItem) => {
|
|
895
896
|
if (regexBuilder.length > 0) {
|
|
@@ -897,7 +898,7 @@ class DataTableComponent extends TsxComponent<DataTableArgs> implements DataTabl
|
|
|
897
898
|
}
|
|
898
899
|
|
|
899
900
|
(getValueArr(filterItem) || []).forEach((filterValue) => {
|
|
900
|
-
|
|
901
|
+
markArr.push(escapeRegExp(filterValue));
|
|
901
902
|
});
|
|
902
903
|
});
|
|
903
904
|
}
|
|
@@ -908,7 +909,7 @@ class DataTableComponent extends TsxComponent<DataTableArgs> implements DataTabl
|
|
|
908
909
|
|
|
909
910
|
if (DataTableConfig.filterMarking) {
|
|
910
911
|
this.unmarkSelection(() => {
|
|
911
|
-
mySelf.markInstance.
|
|
912
|
+
mySelf.markInstance.mark(markArr);
|
|
912
913
|
});
|
|
913
914
|
}
|
|
914
915
|
}
|