@finema/finework-layer 1.0.27 → 1.0.28

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,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.28](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.27...1.0.28) (2026-04-01)
4
+
5
+ ### Bug Fixes
6
+
7
+ * update sidebar width and padding, modify request and resource app statuses in PortalApp ([a8a0c8b](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/a8a0c8b55e61a3cff72854fed3f4e7cf56632a25))
8
+
3
9
  ## [1.0.27](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.26...1.0.27) (2026-03-31)
4
10
 
5
11
  ### Bug Fixes
@@ -12,7 +12,7 @@
12
12
  'flex h-[72px] items-center max-sm:pr-5',
13
13
  {
14
14
  'justify-center': isCollapsed,
15
- 'w-[260px] justify-between pl-5': !isCollapsed,
15
+ 'w-[280px] justify-between pl-5': !isCollapsed,
16
16
  },
17
17
  ]"
18
18
  >
@@ -46,7 +46,7 @@
46
46
  />
47
47
  </div>
48
48
 
49
- <div class="flex-1 overflow-y-auto border-r border-gray-200 p-4">
49
+ <div class="flex-1 overflow-y-auto border-r border-gray-200 px-2 py-4">
50
50
  <div
51
51
  v-if="isGroup"
52
52
  class="space-y-5"
@@ -332,8 +332,8 @@ const dailyApps = computed(() => [
332
332
  logo: '/admin/request.png',
333
333
  label: 'Request',
334
334
  description: 'ระบบขอ ลา เบิก อนุมัติรายการต่างๆ',
335
- to: routes.request.myRequest.to,
336
- status: StatusPortal.ACTIVE,
335
+ to: routes.request.myRequest.requests.to,
336
+ status: StatusPortal.DEVELOPING,
337
337
  },
338
338
  ])
339
339
 
@@ -485,6 +485,18 @@ const peopleApps = computed(() => [
485
485
  },
486
486
  ]
487
487
  : []),
488
+ ...(auth.hasPermission(UserModule.RESOURCE, Permission.USER, Permission.ADMIN, Permission.SUPER)
489
+ ? [
490
+ {
491
+ name: 'Resource',
492
+ logo: '/admin/resource.svg',
493
+ label: 'Resource',
494
+ description: 'ระบบจัดการทรัพยากรบุคคล',
495
+ to: routes.resource.talentSearchAndCvBuilder.to,
496
+ status: StatusPortal.ACTIVE,
497
+ },
498
+ ]
499
+ : []),
488
500
  ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
489
501
  ? [
490
502
  {
@@ -509,19 +521,7 @@ const peopleApps = computed(() => [
509
521
  },
510
522
  ]
511
523
  : []),
512
- ...(auth.hasPermission(UserModule.RESOURCE, Permission.USER, Permission.ADMIN, Permission.SUPER)
513
- ? [
514
- {
515
- name: 'Resource',
516
- logo: '/admin/resource.svg',
517
- label: 'Resource',
518
- description: 'ระบบจัดการทรัพยากรบุคคล',
519
- to: routes.resource.talentSearchAndCvBuilder.to,
520
- status: StatusPortal.ACTIVE,
521
- },
522
- ]
523
- : []),
524
- ...(auth.hasPermission(UserModule.REQUEST, Permission.USER, Permission.ADMIN, Permission.SUPER)
524
+ ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
525
525
  ? [
526
526
  {
527
527
  name: 'Request Admin',
@@ -529,7 +529,7 @@ const peopleApps = computed(() => [
529
529
  label: 'Request Admin',
530
530
  description: 'ระบบจัดการคำขออนุมัติต่างๆ',
531
531
  to: routes.requestAdmin.dashboard.to,
532
- status: StatusPortal.ACTIVE,
532
+ status: StatusPortal.DEVELOPING,
533
533
  },
534
534
  ]
535
535
  : []),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "1.0.27",
4
+ "version": "1.0.28",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",