@finema/finework-layer 1.0.61 → 1.0.63
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.63](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.62...1.0.63) (2026-05-23)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* enhance permission checks for management, finance, and people apps ([5ec9a9a](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/5ec9a9a041c1f4957523183a7a5ad2a0e87bac49))
|
|
8
|
+
|
|
9
|
+
## [1.0.62](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.61...1.0.62) (2026-05-19)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* adjust sidebar layout for collapsed state ([b9e189a](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/b9e189a0848c8a720dc9e37b19812e9352420028))
|
|
14
|
+
|
|
3
15
|
## [1.0.61](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.60...1.0.61) (2026-05-19)
|
|
4
16
|
|
|
5
17
|
### Features
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
</div>
|
|
30
30
|
<div
|
|
31
31
|
class="bg-primary flex items-center justify-between px-7 py-4 font-bold text-white"
|
|
32
|
+
:class="isCollapsed ?'justify-center' : 'justify-between'"
|
|
32
33
|
>
|
|
33
34
|
{{ isCollapsed ? "" : label }}
|
|
34
35
|
|
|
@@ -55,7 +56,10 @@
|
|
|
55
56
|
v-for="group in navigationItems"
|
|
56
57
|
:key="group.label"
|
|
57
58
|
>
|
|
58
|
-
<div
|
|
59
|
+
<div
|
|
60
|
+
class="truncate px-2.5 text-xs font-bold text-gray-500"
|
|
61
|
+
:class="isCollapsed ?'text-center' : ''"
|
|
62
|
+
>
|
|
59
63
|
{{ group.label }}
|
|
60
64
|
</div>
|
|
61
65
|
<Separator
|
|
@@ -78,6 +82,7 @@
|
|
|
78
82
|
'cursor-pointer text-sm font-bold text-gray-500 px-[10px] rounded-lg gap-3',
|
|
79
83
|
'hover:text-primary',
|
|
80
84
|
'data-active:before:bg-[#F9FAFB] data-active:before:rounded-lg data-active:text-primary font-semibold',
|
|
85
|
+
'justify-center',
|
|
81
86
|
],
|
|
82
87
|
linkLabel: '!text-[#344054] font-bold',
|
|
83
88
|
linkLeadingIcon:
|
|
@@ -114,6 +119,7 @@
|
|
|
114
119
|
'cursor-pointer text-sm font-bold text-gray-500 px-[10px] rounded-lg gap-3',
|
|
115
120
|
'hover:text-primary',
|
|
116
121
|
'data-active:before:bg-[#F9FAFB] data-active:before:rounded-lg data-active:text-primary font-semibold',
|
|
122
|
+
'justify-center',
|
|
117
123
|
],
|
|
118
124
|
linkLabel: '!text-[#344054] font-bold',
|
|
119
125
|
linkLeadingIcon:
|
|
@@ -355,7 +355,7 @@ const managementApps = computed(() => [
|
|
|
355
355
|
},
|
|
356
356
|
]
|
|
357
357
|
: []),
|
|
358
|
-
...(auth.hasPermission(UserModule.CHECKIN, Permission.ADMIN)
|
|
358
|
+
...(auth.hasPermission(UserModule.CHECKIN, Permission.ADMIN, Permission.SUPER)
|
|
359
359
|
? [
|
|
360
360
|
{
|
|
361
361
|
name: 'clockin-admin',
|
|
@@ -385,7 +385,7 @@ const managementApps = computed(() => [
|
|
|
385
385
|
|
|
386
386
|
const financeApps = computed(() => [
|
|
387
387
|
|
|
388
|
-
...(auth.hasPermission(UserModule.QUOTATION, Permission.USER, Permission.ADMIN)
|
|
388
|
+
...(auth.hasPermission(UserModule.QUOTATION, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
389
389
|
? [
|
|
390
390
|
{
|
|
391
391
|
name: 'Quotation',
|
|
@@ -448,7 +448,7 @@ const financeApps = computed(() => [
|
|
|
448
448
|
])
|
|
449
449
|
|
|
450
450
|
const peopleApps = computed(() => [
|
|
451
|
-
...(auth.hasPermission(UserModule.EMPLOYEE, Permission.USER, Permission.ADMIN)
|
|
451
|
+
...(auth.hasPermission(UserModule.EMPLOYEE, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
452
452
|
? [
|
|
453
453
|
{
|
|
454
454
|
name: 'Employee',
|
|
@@ -460,7 +460,7 @@ const peopleApps = computed(() => [
|
|
|
460
460
|
},
|
|
461
461
|
]
|
|
462
462
|
: []),
|
|
463
|
-
...(auth.hasPermission(UserModule.NEWSLETTER, Permission.USER, Permission.ADMIN)
|
|
463
|
+
...(auth.hasPermission(UserModule.NEWSLETTER, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
464
464
|
? [
|
|
465
465
|
{
|
|
466
466
|
name: 'Newsletter',
|
|
@@ -473,7 +473,7 @@ const peopleApps = computed(() => [
|
|
|
473
473
|
]
|
|
474
474
|
: []),
|
|
475
475
|
|
|
476
|
-
...(auth.hasPermission(UserModule.ASSET, Permission.USER, Permission.ADMIN)
|
|
476
|
+
...(auth.hasPermission(UserModule.ASSET, Permission.USER, Permission.ADMIN, Permission.SUPER)
|
|
477
477
|
? [
|
|
478
478
|
{
|
|
479
479
|
name: 'Assets',
|