@finema/finework-layer 1.0.67 → 1.0.69
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 +12 -0
- package/app/components/PortalApp.vue +3 -3
- package/app/composables/useAuth.ts +1 -0
- package/app/constants/routes.ts +10 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.69](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.68...1.0.69) (2026-05-27)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* activate Loan module with proper permissions and routing ([a309b0e](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/a309b0e10d64660c559a3a916bfeafe56cbe562d))
|
|
8
|
+
|
|
9
|
+
## [1.0.68](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.67...1.0.68) (2026-05-26)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add LOAN module to UserModule enum ([edb7f5b](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/edb7f5befe6c6974fa13a2810c52d246a27931cd))
|
|
14
|
+
|
|
3
15
|
## [1.0.67](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.66...1.0.67) (2026-05-26)
|
|
4
16
|
|
|
5
17
|
### 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/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.69",
|
|
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.10"
|
|
34
34
|
},
|
|
35
35
|
"lint-staged": {
|
|
36
36
|
"*": "eslint"
|