@finema/finework-layer 1.0.40 → 1.0.42

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.42](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.41...1.0.42) (2026-04-29)
4
+
5
+ ### Features
6
+
7
+ * add evaluation link handling and update @finema/core to 3.14.6 ([ef7836d](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/ef7836db7ad06329c8cf43c9c9b2a5f6eedf74ed))
8
+
9
+ ## [1.0.41](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.40...1.0.41) (2026-04-24)
10
+
11
+ ### Features
12
+
13
+ * evaluation and lg ([365f7fe](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/365f7fe00ed9c8fd48575d4d8bce96ef9a616be8))
14
+
3
15
  ## [1.0.40](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.39...1.0.40) (2026-04-21)
4
16
 
5
17
  ### Bug Fixes
@@ -149,6 +149,11 @@ const getLink = (item: INotificationItem) => {
149
149
  }
150
150
  }
151
151
 
152
+ case 'EVALUATION':
153
+ {
154
+ return `evaluation/evaluator/${item.data?.evaluator_id}`
155
+ }
156
+
152
157
  default:
153
158
  return '#'
154
159
  }
@@ -421,15 +421,15 @@ const financeApps = computed(() => [
421
421
  },
422
422
  ]
423
423
  : []),
424
- ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
424
+ ...(auth.hasPermission(UserModule.LG, Permission.USER, Permission.ADMIN, Permission.SUPER)
425
425
  ? [
426
426
  {
427
427
  name: 'Guarantee',
428
428
  logo: '/admin/guarantee.png',
429
429
  label: 'งบค้ำประกัน',
430
430
  description: 'การเบิกเงินค้ำซองและค้ำสัญญา',
431
- to: '/',
432
- status: StatusPortal.DEVELOPING,
431
+ to: routes.lg.overview.to,
432
+ status: StatusPortal.ACTIVE,
433
433
  },
434
434
  ]
435
435
  : []),
@@ -509,15 +509,15 @@ const peopleApps = computed(() => [
509
509
  },
510
510
  ]
511
511
  : []),
512
- ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
512
+ ...(auth.hasPermission(UserModule.EVALUATION, Permission.USER, Permission.ADMIN, Permission.SUPER)
513
513
  ? [
514
514
  {
515
515
  name: 'Evaluation',
516
516
  logo: '/admin/evaluation.png',
517
517
  label: 'Evaluation',
518
518
  description: 'ระบบจัดการการประเมิน',
519
- to: '/',
520
- status: StatusPortal.DEVELOPING,
519
+ to: routes.evaluation.general.generals.to,
520
+ status: StatusPortal.ACTIVE,
521
521
  },
522
522
  ]
523
523
  : []),
@@ -97,7 +97,7 @@ export enum UserModule {
97
97
  EMPLOYEE = 'employee',
98
98
  ASSET = 'asset',
99
99
  RECRUIT = 'recruit',
100
- GUARANTEE = 'guarantee',
100
+ LG = 'lg',
101
101
  EFACTORING = 'efactoring',
102
102
  RESOURCE = 'resource',
103
103
  }
@@ -118,7 +118,7 @@ export interface IUserAccessLevel {
118
118
  employee: Permission
119
119
  asset: Permission
120
120
  recruit: Permission
121
- guarantee: Permission
121
+ lg: Permission
122
122
  efactoring: Permission
123
123
  resource: Permission
124
124
  }
@@ -193,5 +193,21 @@ export const routes = {
193
193
  permissions: ['resource:USER', 'resource:ADMIN', 'resource:SUPER'],
194
194
  },
195
195
  },
196
+ lg: {
197
+ overview: {
198
+ label: 'ภาพรวม',
199
+ to: '/lg/overview',
200
+ icon: 'ph:stack',
201
+ },
202
+ },
203
+ evaluation: {
204
+ general: {
205
+ generals: {
206
+ label: 'การประเมินทั่วไป',
207
+ to: '/evaluation/generals',
208
+ icon: 'bi:clipboard-check',
209
+ },
210
+ },
211
+ },
196
212
 
197
213
  } as const
package/bun.lock CHANGED
@@ -5,7 +5,7 @@
5
5
  "": {
6
6
  "name": "@finema/finework-layer",
7
7
  "dependencies": {
8
- "@finema/core": "^3.14.5",
8
+ "@finema/core": "^3.14.6",
9
9
  },
10
10
  "devDependencies": {
11
11
  "@finema/eslint-config": "^2.0.3",
@@ -184,7 +184,7 @@
184
184
 
185
185
  "@eslint/plugin-kit": ["@eslint/plugin-kit@0.4.1", "", { "dependencies": { "@eslint/core": "^0.17.0", "levn": "^0.4.1" } }, "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA=="],
186
186
 
187
- "@finema/core": ["@finema/core@3.14.5", "", { "dependencies": { "@iconify-json/heroicons": "^1.2.2", "@iconify-json/ph": "^1.2.2", "@iconify-json/svg-spinners": "^1.2.2", "@nuxt/kit": "^4.1.3", "@nuxt/ui": "^4.5.0", "@pinia/nuxt": "^0.11.0", "@tailwindcss/typography": "^0.5.0-alpha.3", "@tiptap/extension-text-align": "^3.18.0", "@vee-validate/nuxt": "^4.15.1", "@vee-validate/valibot": "^4.15.1", "@vuepic/vue-datepicker": "^11.0.2", "@vueuse/components": "^13.9.0", "@vueuse/core": "^13.9.0", "@wdns/vue-code-block": "^2.3.5", "axios": "^1.10.0", "date-fns": "^4.1.0", "date-fns-tz": "^3.2.0", "defu": "^6.1.4", "lodash-es": "^4.17.21", "maska": "^3.1.1", "url-join": "^5.0.0" } }, "sha512-jzcxOWPgLrUDEch0r6ovmkkKz2kxwVQ8H0fqQQxXQAlaXfljWrcNG8S8vs02oSH1Nnt09iEKeOdDge2a5liuAg=="],
187
+ "@finema/core": ["@finema/core@3.14.6", "", { "dependencies": { "@iconify-json/heroicons": "^1.2.2", "@iconify-json/ph": "^1.2.2", "@iconify-json/svg-spinners": "^1.2.2", "@nuxt/kit": "^4.1.3", "@nuxt/ui": "^4.5.0", "@pinia/nuxt": "^0.11.0", "@tailwindcss/typography": "^0.5.0-alpha.3", "@tiptap/extension-text-align": "^3.18.0", "@vee-validate/nuxt": "^4.15.1", "@vee-validate/valibot": "^4.15.1", "@vuepic/vue-datepicker": "^11.0.2", "@vueuse/components": "^13.9.0", "@vueuse/core": "^13.9.0", "@wdns/vue-code-block": "^2.3.5", "axios": "^1.10.0", "date-fns": "^4.1.0", "date-fns-tz": "^3.2.0", "defu": "^6.1.4", "lodash-es": "^4.17.21", "maska": "^3.1.1", "url-join": "^5.0.0" } }, "sha512-6pano/JagyGUmYTIT3dVGJu6ndAU/0wca27PFIOgC8qPcOj9Ho3CBgSNLyp/cXCPBDxZymMjg1X4HYOwGtHMuA=="],
188
188
 
189
189
  "@finema/eslint-config": ["@finema/eslint-config@2.0.4", "", { "dependencies": { "eslint-plugin-better-tailwindcss": "^3.7.10", "eslint-plugin-tailwindcss": "^3.18.2", "eslint-plugin-unused-imports": "^4.2.0" }, "peerDependencies": { "eslint": "^9.37.0" } }, "sha512-kKznMgbsOfPPg+td53dK36I3YFo6Ji4GAwKbVS2pimuQfcJT4mbgnEXCuW1Q/uNvUaFItr1NCSSD1LtEQTNNug=="],
190
190
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "1.0.40",
4
+ "version": "1.0.42",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",
@@ -30,7 +30,7 @@
30
30
  "vue": "latest"
31
31
  },
32
32
  "dependencies": {
33
- "@finema/core": "^3.14.5"
33
+ "@finema/core": "^3.14.6"
34
34
  },
35
35
  "lint-staged": {
36
36
  "*": "eslint"