ngx-techlify-core 14.11.3 → 14.11.4
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/esm2020/lib/base-model/techlify-service.class.mjs +5 -2
- package/esm2020/lib/searchable-selector/searchable-selector.component.mjs +2 -5
- package/fesm2015/ngx-techlify-core.mjs +6 -5
- package/fesm2015/ngx-techlify-core.mjs.map +1 -1
- package/fesm2020/ngx-techlify-core.mjs +5 -5
- package/fesm2020/ngx-techlify-core.mjs.map +1 -1
- package/lib/base-model/techlify-service.class.d.ts +1 -1
- package/package.json +1 -1
|
@@ -244,7 +244,10 @@ class TechlifyServiceBaseClass {
|
|
|
244
244
|
* @param params Query parameters
|
|
245
245
|
* @return Observable<any>
|
|
246
246
|
*/
|
|
247
|
-
index(params) {
|
|
247
|
+
index(params, isCache) {
|
|
248
|
+
if (isCache) {
|
|
249
|
+
return this.http.cache().get(`api/${this.baseUrl}`, { params });
|
|
250
|
+
}
|
|
248
251
|
return this.http.get(`api/${this.baseUrl}`, { params });
|
|
249
252
|
}
|
|
250
253
|
/**
|
|
@@ -2919,10 +2922,7 @@ let SearchableSelectorComponent = SearchableSelectorComponent_1 = class Searchab
|
|
|
2919
2922
|
this.stateChanges.next();
|
|
2920
2923
|
}
|
|
2921
2924
|
get value() {
|
|
2922
|
-
|
|
2923
|
-
return this.selectorForm.value.select_value;
|
|
2924
|
-
}
|
|
2925
|
-
return '';
|
|
2925
|
+
return this.selectorForm.get('select_value')?.value || '';
|
|
2926
2926
|
}
|
|
2927
2927
|
set value(data) {
|
|
2928
2928
|
this.selectorForm.patchValue({ select_value: data || '' });
|