tsv2-library 1.0.61-alpha.60 → 1.0.61-alpha.61
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/dist/tsv2-library.es.js +13 -10
- package/dist/tsv2-library.umd.js +1 -1
- package/package.json +1 -1
package/dist/tsv2-library.es.js
CHANGED
|
@@ -51971,16 +51971,19 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
51971
51971
|
const totalRecords2 = ref();
|
|
51972
51972
|
const loadingTable = ref(false);
|
|
51973
51973
|
const prevQueryParams = shallowRef({});
|
|
51974
|
-
const queryParams = computed(() =>
|
|
51975
|
-
|
|
51976
|
-
|
|
51977
|
-
|
|
51978
|
-
|
|
51979
|
-
|
|
51980
|
-
|
|
51981
|
-
|
|
51982
|
-
|
|
51983
|
-
|
|
51974
|
+
const queryParams = computed(() => {
|
|
51975
|
+
var _a;
|
|
51976
|
+
return {
|
|
51977
|
+
...props.defaultQueryParams,
|
|
51978
|
+
search: (_a = props.search) == null ? void 0 : _a.trim(),
|
|
51979
|
+
page: props.usePaginator ? tablePage.value : void 0,
|
|
51980
|
+
limit: props.usePaginator ? tableRows.value : void 0,
|
|
51981
|
+
sortOrder: sortOrder2.value,
|
|
51982
|
+
sortBy: sortField2.value,
|
|
51983
|
+
...props.filters
|
|
51984
|
+
// This will resets the previous filters.
|
|
51985
|
+
};
|
|
51986
|
+
});
|
|
51984
51987
|
const isArrayIncluded = (smallArray, largeArray) => {
|
|
51985
51988
|
return smallArray.every((element) => largeArray.includes(element));
|
|
51986
51989
|
};
|