@finema/core 3.6.3 → 3.6.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/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "3.6.3",
3
+ "version": "3.6.4",
4
4
  "configKey": "core",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
package/dist/module.mjs CHANGED
@@ -4,7 +4,7 @@ import * as lodash from 'lodash-es';
4
4
  import * as theme from '../dist/runtime/theme/index.js';
5
5
 
6
6
  const name = "@finema/core";
7
- const version = "3.6.3";
7
+ const version = "3.6.4";
8
8
 
9
9
  const nuxtAppOptions = {
10
10
  head: {
@@ -45,8 +45,8 @@
45
45
  })
46
46
  "
47
47
  >
48
- <span v-if="options.pageOptions">{{ pageBetween }} จากทั้งหมด {{ totalCountWithComma }}</span>
49
- <span v-else>ทั้งหมด {{ options.rawData.length }} รายการ</span>
48
+ <span v-if="options.pageOptions">{{ pageBetween }} {{ appConfig.core?.locale === "th" ? "\u0E08\u0E32\u0E01\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14" : "of total" }} {{ totalCountWithComma }}</span>
49
+ <span v-else>{{ appConfig.core?.locale === "th" ? "\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14" : "Total" }} {{ options.rawData.length }} {{ appConfig.core?.locale === "th" ? "\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23" : "items" }}</span>
50
50
  </p>
51
51
  </div>
52
52
 
@@ -71,7 +71,8 @@
71
71
  import {
72
72
  computed,
73
73
  NumberHelper,
74
- useUiConfig
74
+ useUiConfig,
75
+ useAppConfig
75
76
  } from "#imports";
76
77
  import UPagination from "#ui/components/Pagination";
77
78
  import USelect from "#ui/components/Select";
@@ -83,6 +84,7 @@ const props = defineProps({
83
84
  options: { type: Object, required: true },
84
85
  ui: { type: null, required: false }
85
86
  });
87
+ const appConfig = useAppConfig();
86
88
  const pageLimitItems = [
87
89
  {
88
90
  label: "10",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "3.6.3",
3
+ "version": "3.6.4",
4
4
  "repository": "https://gitlab.finema.co/finema/ui-kit",
5
5
  "license": "MIT",
6
6
  "author": "Finema Dev Core Team",