@finema/finework-layer 2.0.7 → 2.0.9

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.8...2.0.9) (2026-07-07)
4
+
5
+ ## [2.0.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.7...2.0.8) (2026-07-03)
6
+
3
7
  ## [2.0.7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.6...2.0.7) (2026-07-03)
4
8
 
5
9
  ## [2.0.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.5...2.0.6) (2026-07-01)
@@ -392,28 +392,27 @@ const managementApps = computed(() => [
392
392
  },
393
393
  ]
394
394
  : []),
395
- ...(auth.hasPermission(UserModule.TOR, Permission.ADMIN, Permission.SUPER)
395
+ ...(auth.hasPermission(UserModule.TOR, Permission.USER, Permission.ADMIN, Permission.SUPER)
396
396
  ? [
397
397
  {
398
398
  name: 'tor',
399
399
  logo: '/admin/tor.svg',
400
400
  label: 'TOR',
401
- description: 'ระบบสร้างตารางเปรียบเทียบข้อกำหนด (TOR Compliance)',
401
+ description: 'ระบบสร้างตารางเปรียบเทียบข้อกำหนด',
402
402
  to: routes.tor.home.to,
403
403
  status: StatusPortal.ACTIVE,
404
404
  },
405
405
  ]
406
406
  : []),
407
- ...(auth.hasPermission(UserModule.SUPPORT, Permission.ADMIN, Permission.SUPER)
407
+ ...(auth.hasPermission(UserModule.SUPPORT, Permission.USER, Permission.ADMIN, Permission.SUPER)
408
408
  ? [
409
409
  {
410
410
  name: 'support',
411
411
  logo: '/admin/support.svg',
412
412
  label: 'Support',
413
- description: 'รายงาน Heatmap Monitor & Report',
414
- // to: routes.support.support.to,
415
- to: '/',
416
- status: StatusPortal.DEVELOPING,
413
+ description: 'Heatmap Monitor & Report',
414
+ to: routes.support.home.to,
415
+ status: StatusPortal.ACTIVE,
417
416
  },
418
417
  ]
419
418
  : []),
@@ -558,7 +557,7 @@ const peopleApps = computed(() => [
558
557
  },
559
558
  ]
560
559
  : []),
561
- ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
560
+ ...(auth.hasPermission(UserModule.RECRUIT, Permission.ADMIN, Permission.SUPER)
562
561
  ? [
563
562
  {
564
563
  name: 'Recruit',
@@ -566,7 +565,7 @@ const peopleApps = computed(() => [
566
565
  label: 'Recruit',
567
566
  description: 'ระบบการสรรหาบุคลากร',
568
567
  to: '/',
569
- status: StatusPortal.DEVELOPING,
568
+ status: StatusPortal.ACTIVE,
570
569
  },
571
570
  ]
572
571
  : []),
@@ -255,7 +255,7 @@ export const routes = {
255
255
  },
256
256
  },
257
257
  support: {
258
- support: {
258
+ home: {
259
259
  label: 'Support',
260
260
  to: '/support',
261
261
  icon: 'ph:file-text',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "2.0.7",
4
+ "version": "2.0.9",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",