@finema/finework-layer 1.0.68 → 1.0.70
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/CHANGELOG.md +8 -0
- package/app/components/PortalApp.vue +3 -3
- package/app/constants/routes.ts +10 -0
- package/bun.lock +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.70](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.69...1.0.70) (2026-05-27)
|
|
4
|
+
|
|
5
|
+
## [1.0.69](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.68...1.0.69) (2026-05-27)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* activate Loan module with proper permissions and routing ([a309b0e](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/a309b0e10d64660c559a3a916bfeafe56cbe562d))
|
|
10
|
+
|
|
3
11
|
## [1.0.68](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.67...1.0.68) (2026-05-26)
|
|
4
12
|
|
|
5
13
|
### Features
|
|
@@ -433,15 +433,15 @@ const financeApps = computed(() => [
|
|
|
433
433
|
},
|
|
434
434
|
]
|
|
435
435
|
: []),
|
|
436
|
-
...(auth.hasPermission(UserModule.
|
|
436
|
+
...(auth.hasPermission(UserModule.LOAN, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
437
437
|
? [
|
|
438
438
|
{
|
|
439
439
|
name: 'Loan',
|
|
440
440
|
logo: '/admin/loan.svg',
|
|
441
441
|
label: 'Loan',
|
|
442
442
|
description: 'รายการกู้เงินจากธนาคาร',
|
|
443
|
-
to:
|
|
444
|
-
status: StatusPortal.
|
|
443
|
+
to: routes.loan.list.lists.to,
|
|
444
|
+
status: StatusPortal.ACTIVE,
|
|
445
445
|
},
|
|
446
446
|
]
|
|
447
447
|
: []),
|
package/app/constants/routes.ts
CHANGED
|
@@ -209,5 +209,15 @@ export const routes = {
|
|
|
209
209
|
},
|
|
210
210
|
},
|
|
211
211
|
},
|
|
212
|
+
loan: {
|
|
213
|
+
list: {
|
|
214
|
+
lists: {
|
|
215
|
+
label: 'รายการเงินกู้',
|
|
216
|
+
to: '/loan/list',
|
|
217
|
+
icon: 'ph:file-text',
|
|
218
|
+
permissions: ['loan:USER', 'loan:ADMIN', 'loan:SUPER'],
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
},
|
|
212
222
|
|
|
213
223
|
} as const
|
package/bun.lock
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"": {
|
|
6
6
|
"name": "@finema/finework-layer",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@finema/core": "^3.16.
|
|
8
|
+
"@finema/core": "^3.16.10",
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@finema/eslint-config": "^2.0.3",
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
|
|
185
185
|
"@eslint/plugin-kit": ["@eslint/plugin-kit@0.4.1", "", { "dependencies": { "@eslint/core": "^0.17.0", "levn": "^0.4.1" } }, "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA=="],
|
|
186
186
|
|
|
187
|
-
"@finema/core": ["@finema/core@3.16.
|
|
187
|
+
"@finema/core": ["@finema/core@3.16.11", "", { "dependencies": { "@iconify-json/heroicons": "^1.2.2", "@iconify-json/ph": "^1.2.2", "@iconify-json/svg-spinners": "^1.2.2", "@nuxt/kit": "^4.1.3", "@nuxt/ui": "^4.5.0", "@pinia/nuxt": "^0.11.0", "@tailwindcss/typography": "^0.5.0-alpha.3", "@tiptap/extension-text-align": "^3.18.0", "@vee-validate/nuxt": "^4.15.1", "@vee-validate/valibot": "^4.15.1", "@vuepic/vue-datepicker": "^11.0.2", "@vueuse/components": "^13.9.0", "@vueuse/core": "^13.9.0", "@wdns/vue-code-block": "^2.3.5", "axios": "^1.10.0", "date-fns": "^4.1.0", "date-fns-tz": "^3.2.0", "defu": "^6.1.4", "lodash-es": "^4.17.21", "maska": "^3.1.1", "url-join": "^5.0.0" } }, "sha512-EoMi6rUA2zGMIP0J8ObgZsxcB00roQKtYPYjeJpN7T9TGHVNr1Xff//AKyM1xPPIQznUL3mI8Po4PXugKyeiaQ=="],
|
|
188
188
|
|
|
189
189
|
"@finema/eslint-config": ["@finema/eslint-config@2.0.4", "", { "dependencies": { "eslint-plugin-better-tailwindcss": "^3.7.10", "eslint-plugin-tailwindcss": "^3.18.2", "eslint-plugin-unused-imports": "^4.2.0" }, "peerDependencies": { "eslint": "^9.37.0" } }, "sha512-kKznMgbsOfPPg+td53dK36I3YFo6Ji4GAwKbVS2pimuQfcJT4mbgnEXCuW1Q/uNvUaFItr1NCSSD1LtEQTNNug=="],
|
|
190
190
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finema/finework-layer",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.70",
|
|
5
5
|
"main": "./nuxt.config.ts",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "nuxi dev .playground -o",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"vue": "latest"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@finema/core": "^3.16.
|
|
33
|
+
"@finema/core": "^3.16.11"
|
|
34
34
|
},
|
|
35
35
|
"lint-staged": {
|
|
36
36
|
"*": "eslint"
|