sprintify-ui 0.0.79 → 0.0.80
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.
|
@@ -300,6 +300,7 @@ declare const _default: {
|
|
|
300
300
|
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
301
301
|
}, {
|
|
302
302
|
fetch: () => void;
|
|
303
|
+
fetchWithoutLoading: () => void;
|
|
303
304
|
query: import("vue").ComputedRef<DataTableQuery | null>;
|
|
304
305
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "checkAll" | "update:checked-rows" | "check" | "cell-click")[], string, {
|
|
305
306
|
actions: MenuItemInterface[];
|
|
@@ -472,6 +473,7 @@ declare const _default: {
|
|
|
472
473
|
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
473
474
|
} & import("vue").ShallowUnwrapRef<{
|
|
474
475
|
fetch: () => void;
|
|
476
|
+
fetchWithoutLoading: () => void;
|
|
475
477
|
query: import("vue").ComputedRef<DataTableQuery | null>;
|
|
476
478
|
}> & {} & import("vue").ComponentCustomProperties & {};
|
|
477
479
|
__isFragment?: undefined;
|
|
@@ -610,6 +612,7 @@ declare const _default: {
|
|
|
610
612
|
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
611
613
|
}, {
|
|
612
614
|
fetch: () => void;
|
|
615
|
+
fetchWithoutLoading: () => void;
|
|
613
616
|
query: import("vue").ComputedRef<DataTableQuery | null>;
|
|
614
617
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "checkAll" | "update:checked-rows" | "check" | "cell-click")[], "delete" | "checkAll" | "update:checked-rows" | "check" | "cell-click", {
|
|
615
618
|
actions: MenuItemInterface[];
|
package/package.json
CHANGED
|
@@ -485,12 +485,21 @@ function fetch() {
|
|
|
485
485
|
dataIterator.value.fetch(true);
|
|
486
486
|
}
|
|
487
487
|
|
|
488
|
+
function fetchWithoutLoading() {
|
|
489
|
+
if (!dataIterator.value) {
|
|
490
|
+
return;
|
|
491
|
+
}
|
|
492
|
+
// Refetch even if URL is the same
|
|
493
|
+
dataIterator.value.fetchWithLoading(true);
|
|
494
|
+
}
|
|
495
|
+
|
|
488
496
|
const dataIteratorQuery = computed((): DataTableQuery | null => {
|
|
489
497
|
return dataIterator.value?.query ?? null;
|
|
490
498
|
});
|
|
491
499
|
|
|
492
500
|
defineExpose({
|
|
493
501
|
fetch,
|
|
502
|
+
fetchWithoutLoading,
|
|
494
503
|
query: dataIteratorQuery,
|
|
495
504
|
});
|
|
496
505
|
</script>
|