@finema/finework-layer 2.0.43 → 2.0.45

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
+ ## [2.0.45](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.44...2.0.45) (2026-08-21)
4
+
5
+ ### Features
6
+
7
+ * add document module to user access system ([006cae0](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/006cae07b25c3c941eabf3e449eeb05892465f46))
8
+
9
+ ## [2.0.44](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.43...2.0.44) (2026-08-20)
10
+
11
+ ### Features
12
+
13
+ * fix notification avatar visibility logic and update setting notification icon ([d7f9ef8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/d7f9ef821268c6ab538b593d4702d045aa00e355))
14
+
3
15
  ## [2.0.43](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.42...2.0.43) (2026-08-20)
4
16
 
5
17
  ### Features
@@ -49,7 +49,7 @@
49
49
  > -->
50
50
  <div
51
51
  v-if="item.actor?.avatar_url
52
- || (item.source_type !== 'NEWSLETTER' && item.source_type !== 'SETTING_FEEDBACK_TICKET')"
52
+ && (item.source_type !== 'NEWSLETTER' && item.source_type !== 'SETTING_FEEDBACK_TICKET')"
53
53
  class="relative"
54
54
  >
55
55
  <Avatar
@@ -240,7 +240,7 @@ const getImage = (item: INotificationItem): string | null => {
240
240
  } else if (item.source_type?.startsWith('CLOCKIN')) {
241
241
  return `/admin/clockin-logo.png`
242
242
  } else if (item.source_type?.startsWith('SETTING')) {
243
- return `/admin/setting-logo.png`
243
+ return `/admin/super-admin-logo.png`
244
244
  } else if (item.source_type?.startsWith('NEWSLETTER')) {
245
245
  return `/admin/newsletter.png`
246
246
  } else if (item.source_type?.startsWith('TODO')) {
@@ -110,6 +110,7 @@ export enum UserModule {
110
110
  PMO_PRESALE_BIDDING = 'pmo_presale_bidding',
111
111
  PMO_DELIVERY = 'pmo_delivery',
112
112
  PMO_WARRANTY = 'pmo_warranty',
113
+ DOCUMENT = 'document',
113
114
  }
114
115
 
115
116
  const UserModuleLabel = {
@@ -137,6 +138,7 @@ const UserModuleLabel = {
137
138
  [UserModule.PMO_PRESALE_BIDDING]: 'PMO Presale Bidding',
138
139
  [UserModule.PMO_DELIVERY]: 'PMO Delivery',
139
140
  [UserModule.PMO_WARRANTY]: 'PMO Warranty',
141
+ [UserModule.DOCUMENT]: 'Document',
140
142
  }
141
143
 
142
144
  const UserModuleLogo = {
@@ -164,6 +166,7 @@ const UserModuleLogo = {
164
166
  [UserModule.PMO_PRESALE_BIDDING]: '/admin/pmo_presale_bidding.png',
165
167
  [UserModule.PMO_DELIVERY]: '/admin/pmo_delivery.png',
166
168
  [UserModule.PMO_WARRANTY]: '/admin/pmo_warranty.png',
169
+ [UserModule.DOCUMENT]: '/admin/document.png',
167
170
  }
168
171
 
169
172
  export const UserModuleOptions = Object.entries(UserModuleLabel).map(([value, label]) => ({
@@ -202,6 +205,7 @@ export interface IUserAccessLevel {
202
205
  pmo_presale_bidding: Permission
203
206
  pmo_delivery: Permission
204
207
  pmo_warranty: Permission
208
+ document: Permission
205
209
  }
206
210
 
207
211
  export const convertDomainToCookieDomain = (domain: string) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "2.0.43",
4
+ "version": "2.0.45",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",