@finema/finework-layer 2.0.56 → 2.0.58

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.58](https://gitlab.finema.co/finema/internal/finework/compare/2.0.57...2.0.58) (2026-09-06)
4
+
5
+ ### Bug Fixes
6
+
7
+ * link document ([5df0504](https://gitlab.finema.co/finema/internal/finework/commit/5df050478e00af24633c3bcb4f7ae94536ecdec2))
8
+
9
+ ## [2.0.57](https://gitlab.finema.co/finema/internal/finework/compare/2.0.56...2.0.57) (2026-09-04)
10
+
11
+ ### Bug Fixes
12
+
13
+ * leadin ([dd2f53a](https://gitlab.finema.co/finema/internal/finework/commit/dd2f53affe1bda4c0cdf44c06238bb638b57cda7))
14
+
3
15
  ## [2.0.56](https://gitlab.finema.co/finema/internal/finework/compare/2.0.55...2.0.56) (2026-08-31)
4
16
 
5
17
  ### Bug Fixes
@@ -231,8 +231,17 @@ const getLink = (item: INotificationItem) => {
231
231
  case 'DOCUMENT':
232
232
  {
233
233
  switch (item.action_type) {
234
- case 'DOCUMENT_BIZCO_WAITING':
235
- return `/#documentRef`
234
+ case 'DOCUMENT_BIZCO_WAITING': {
235
+ const documentName = item.data?.document_name
236
+ const projectID = item.data?.project_id
237
+
238
+ if (!documentName) return `/docs-management/register}`
239
+
240
+ let link = `/docs-management/register?q=${documentName}`
241
+ if (projectID) link += `&project_id=${projectID}`
242
+
243
+ return link
244
+ }
236
245
 
237
246
  default:
238
247
  return '#'
@@ -53,7 +53,7 @@
53
53
  กำลังพัฒนา
54
54
  </span>
55
55
  </div>
56
- <span class="line-clamp-2 text-sm font-semibold">
56
+ <span class="line-clamp-2 w-24 text-sm font-semibold">
57
57
  {{ app.label }}
58
58
  </span>
59
59
  </component>
@@ -135,10 +135,10 @@ export const UserModuleLabel = {
135
135
  [UserModule.LOAN]: 'Loan',
136
136
  [UserModule.TOR]: 'Presales Tools',
137
137
  [UserModule.SUPPORT]: 'Support',
138
- [UserModule.PMO_SETUP]: 'PMO Setup',
139
- [UserModule.PMO_PRESALE_BIDDING]: 'PMO Presale Bidding',
140
- [UserModule.PMO_DELIVERY]: 'PMO Delivery',
141
- [UserModule.PMO_WARRANTY]: 'PMO Warranty',
138
+ [UserModule.PMO_SETUP]: 'Lead In',
139
+ [UserModule.PMO_PRESALE_BIDDING]: 'Presale & Bidding',
140
+ [UserModule.PMO_DELIVERY]: 'Delivery',
141
+ [UserModule.PMO_WARRANTY]: 'Warranty',
142
142
  [UserModule.RESOURCE_ALLOCATION]: 'Resource Allocation',
143
143
  [UserModule.DOCUMENT]: 'Document',
144
144
  }
@@ -277,7 +277,7 @@ export const routes = {
277
277
  },
278
278
  pmoSetup: {
279
279
  dashboard: {
280
- label: 'PMO Setup',
280
+ label: 'Lead in',
281
281
  icon: 'ph:squares-four',
282
282
  to: '/pmo-setup',
283
283
  permissions: ['pmo_setup:USER', 'pmo_setup:ADMIN', 'pmo_setup:SUPER'],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "2.0.56",
4
+ "version": "2.0.58",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",