@firestitch/filter 12.0.3 → 12.0.6
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.
- package/bundles/firestitch-filter.umd.js +4 -5
- package/bundles/firestitch-filter.umd.js.map +1 -1
- package/esm2015/app/components/filter/filter.component.js +2 -4
- package/esm2015/app/models/filter-config.js +3 -3
- package/esm2015/public_api.js +2 -1
- package/fesm2015/firestitch-filter.js +4 -6
- package/fesm2015/firestitch-filter.js.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
|
@@ -991,7 +991,7 @@
|
|
|
991
991
|
_this.sort = null;
|
|
992
992
|
_this.sortDirection = null;
|
|
993
993
|
_this.queryParam = false;
|
|
994
|
-
_this.case = '
|
|
994
|
+
_this.case = 'camel';
|
|
995
995
|
_this._fromJSON(data);
|
|
996
996
|
_this._init();
|
|
997
997
|
return _this;
|
|
@@ -1019,7 +1019,7 @@
|
|
|
1019
1019
|
FsFilterConfig.prototype._fromJSON = function (value) {
|
|
1020
1020
|
var _a;
|
|
1021
1021
|
_super.prototype._fromJSON.call(this, value);
|
|
1022
|
-
this.case = (_a = value.case) !== null && _a !== void 0 ? _a : '
|
|
1022
|
+
this.case = (_a = value.case) !== null && _a !== void 0 ? _a : 'camel';
|
|
1023
1023
|
if (this.persist) {
|
|
1024
1024
|
if (typeof this.persist === 'object') {
|
|
1025
1025
|
if (this.persist.name) {
|
|
@@ -5040,9 +5040,6 @@
|
|
|
5040
5040
|
};
|
|
5041
5041
|
FilterComponent.prototype._listenInputChanges = function () {
|
|
5042
5042
|
var _this = this;
|
|
5043
|
-
if (!this._filterItems.keywordItem) {
|
|
5044
|
-
return;
|
|
5045
|
-
}
|
|
5046
5043
|
this._zone.runOutsideAngular(function () {
|
|
5047
5044
|
_this.searchText.valueChanges
|
|
5048
5045
|
.pipe(operators.debounceTime(200), operators.distinctUntilChanged(), operators.filter(function (value) {
|
|
@@ -5102,6 +5099,7 @@
|
|
|
5102
5099
|
if (_this.config.init) {
|
|
5103
5100
|
_this.init();
|
|
5104
5101
|
}
|
|
5102
|
+
_this._syncSearchInputWithKeyword();
|
|
5105
5103
|
_this.ready.emit();
|
|
5106
5104
|
});
|
|
5107
5105
|
};
|
|
@@ -5470,6 +5468,7 @@
|
|
|
5470
5468
|
exports.SavedFiltersController = SavedFiltersController;
|
|
5471
5469
|
exports.SelectItem = SelectItem;
|
|
5472
5470
|
exports.TextItem = TextItem;
|
|
5471
|
+
exports.buildQueryParams = buildQueryParams;
|
|
5473
5472
|
exports.filterFromQueryParam = filterFromQueryParam;
|
|
5474
5473
|
exports.filterToQueryParam = filterToQueryParam;
|
|
5475
5474
|
|