@indigina/ui-kit 1.1.220 → 1.1.222
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.
|
@@ -6790,9 +6790,10 @@ class KitGlobalSearchComponent {
|
|
|
6790
6790
|
}
|
|
6791
6791
|
ngOnInit() {
|
|
6792
6792
|
combineLatest([
|
|
6793
|
-
this.textbox().valueChange.pipe(debounceTime(500), distinctUntilChanged()),
|
|
6793
|
+
this.textbox().valueChange.pipe(debounceTime(500), distinctUntilChanged(), map((text) => text.trim())),
|
|
6794
6794
|
this.selectedFilters$,
|
|
6795
6795
|
]).pipe(filter(([text, _,]) => text.length > 2 && !this.isClearing)).subscribe(([text, filters,]) => {
|
|
6796
|
+
this.searchValue = text;
|
|
6796
6797
|
this.isLoading.set(true);
|
|
6797
6798
|
this.showPropmts.set(false);
|
|
6798
6799
|
this.searchFn()(text, filters).subscribe(searchRusult => {
|
|
@@ -6842,6 +6843,7 @@ class KitGlobalSearchComponent {
|
|
|
6842
6843
|
this.router.navigate(routeConfig.commands, {
|
|
6843
6844
|
...routeConfig.extras,
|
|
6844
6845
|
queryParams: {
|
|
6846
|
+
...routeConfig.extras?.queryParams,
|
|
6845
6847
|
search: this.searchValue,
|
|
6846
6848
|
},
|
|
6847
6849
|
queryParamsHandling: 'replace',
|
|
@@ -7050,7 +7052,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
|
|
|
7050
7052
|
type: Input
|
|
7051
7053
|
}] } });
|
|
7052
7054
|
|
|
7053
|
-
const kitDataStateToODataString = (state, utcDates = false) => toODataString(state, { utcDates });
|
|
7055
|
+
const kitDataStateToODataString = (state, utcDates = false) => decodeURIComponent(toODataString(state, { utcDates }));
|
|
7054
7056
|
|
|
7055
7057
|
class KitPageLayoutComponent {
|
|
7056
7058
|
constructor(kitNavigationMenuService) {
|