@finema/core 3.6.4 → 3.6.5
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/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -65,7 +65,8 @@
|
|
|
65
65
|
class="mt-4 flex justify-between px-3"
|
|
66
66
|
>
|
|
67
67
|
<p class="text-xs text-gray-500">
|
|
68
|
-
{{ pageBetween }}
|
|
68
|
+
{{ pageBetween }} {{ appConfig.core?.locale === "th" ? "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23 \u0E08\u0E32\u0E01\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14" : "items of total" }}
|
|
69
|
+
{{ totalCountWithComma }} {{ appConfig.core?.locale === "th" ? "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23" : "items" }}
|
|
69
70
|
</p>
|
|
70
71
|
<Pagination
|
|
71
72
|
v-if="options.pageOptions.totalPage > 1"
|
|
@@ -83,7 +84,7 @@
|
|
|
83
84
|
import { computed, ref, watch } from "vue";
|
|
84
85
|
import { useElementVisibility } from "@vueuse/core";
|
|
85
86
|
import { NumberHelper } from "#core/utils/NumberHelper";
|
|
86
|
-
import { _debounce, useRouter, useWatchChange, useWatchTrue } from "#imports";
|
|
87
|
+
import { _debounce, useRouter, useWatchChange, useWatchTrue, useAppConfig } from "#imports";
|
|
87
88
|
import { useCoreConfig } from "#core/composables/useConfig";
|
|
88
89
|
import Empty from "#core/components/Empty.vue";
|
|
89
90
|
const emits = defineEmits(["pageChange", "search"]);
|
|
@@ -99,6 +100,7 @@ const props = defineProps({
|
|
|
99
100
|
});
|
|
100
101
|
defineSlots();
|
|
101
102
|
const coreConfig = useCoreConfig();
|
|
103
|
+
const appConfig = useAppConfig();
|
|
102
104
|
const router = useRouter();
|
|
103
105
|
const q = ref(props.options?.pageOptions.search ?? "");
|
|
104
106
|
const bottomEdgeElement = ref(null);
|