@finema/finework-layer 1.0.23 → 1.0.25

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.25](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.24...1.0.25) (2026-03-27)
4
+
5
+ ### Bug Fixes
6
+
7
+ * update naming and status for Request and Request Admin in PortalApp ([a584944](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/a58494411ee4dc8de6bfd6c5e7eaec20c9185625))
8
+
9
+ ## [1.0.24](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.23...1.0.24) (2026-03-26)
10
+
11
+ ### Bug Fixes
12
+
13
+ * update logo formats for Loan and Requests Admin in PortalApp ([d697fa6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/d697fa67cbf799e523f9d0774284844af10c440e))
14
+
3
15
  ## [1.0.23](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.22...1.0.23) (2026-03-26)
4
16
 
5
17
  ### Features
@@ -328,12 +328,12 @@ const dailyApps = computed(() => [
328
328
  status: StatusPortal.ACTIVE,
329
329
  },
330
330
  {
331
- name: 'Requests',
331
+ name: 'Request',
332
332
  logo: '/admin/request.png',
333
- label: 'Requests',
333
+ label: 'Request',
334
334
  description: 'ระบบขอ ลา เบิก อนุมัติรายการต่างๆ',
335
335
  to: '/',
336
- status: StatusPortal.DEVELOPING,
336
+ status: StatusPortal.ACTIVE,
337
337
  },
338
338
  ])
339
339
 
@@ -437,7 +437,7 @@ const financeApps = computed(() => [
437
437
  ? [
438
438
  {
439
439
  name: 'Loan',
440
- logo: '/admin/loan.png',
440
+ logo: '/admin/loan.svg',
441
441
  label: 'Loan',
442
442
  description: 'รายการกู้เงินจากธนาคาร',
443
443
  to: '/',
@@ -509,7 +509,7 @@ const peopleApps = computed(() => [
509
509
  },
510
510
  ]
511
511
  : []),
512
- ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
512
+ ...(auth.hasPermission(UserModule.RESOURCE, Permission.USER, Permission.ADMIN, Permission.SUPER)
513
513
  ? [
514
514
  {
515
515
  name: 'Resource',
@@ -517,19 +517,19 @@ const peopleApps = computed(() => [
517
517
  label: 'Resource',
518
518
  description: 'ระบบจัดการทรัพยากรบุคคล',
519
519
  to: '/',
520
- status: StatusPortal.DEVELOPING,
520
+ status: StatusPortal.ACTIVE,
521
521
  },
522
522
  ]
523
523
  : []),
524
- ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
524
+ ...(auth.hasPermission(UserModule.REQUEST, Permission.USER, Permission.ADMIN, Permission.SUPER)
525
525
  ? [
526
526
  {
527
- name: 'Requests Admin',
528
- logo: '/admin/request-admin.png',
529
- label: 'Requests Admin',
527
+ name: 'Request Admin',
528
+ logo: '/admin/request-admin.svg',
529
+ label: 'Request Admin',
530
530
  description: 'ระบบจัดการคำขออนุมัติต่างๆ',
531
531
  to: '/',
532
- status: StatusPortal.DEVELOPING,
532
+ status: StatusPortal.ACTIVE,
533
533
  },
534
534
  ]
535
535
  : []),
@@ -537,7 +537,7 @@ const peopleApps = computed(() => [
537
537
  ])
538
538
 
539
539
  const legalApps = computed(() => [
540
- ...(auth.hasPermission(UserModule.CONTRACT, Permission.USER, Permission.ADMIN)
540
+ ...(auth.hasPermission(UserModule.CONTRACT, Permission.USER, Permission.ADMIN, Permission.SUPER)
541
541
  ? [
542
542
  {
543
543
  name: 'Contract',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "1.0.23",
4
+ "version": "1.0.25",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",