@finema/finework-layer 0.2.102 → 0.2.103

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
+ ## [0.2.103](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.102...0.2.103) (2026-01-06)
4
+
5
+ ### Features
6
+
7
+ * add asset management functionality and update routes ([a8bb09e](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/a8bb09e7d1c0ac1a9a4601e03daa44b6b7bc4015))
8
+
3
9
  ## [0.2.102](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.101...0.2.102) (2025-12-29)
4
10
 
5
11
  ### Features
@@ -346,6 +346,18 @@ const peopleApps = computed(() => [
346
346
  ]
347
347
  : []),
348
348
 
349
+ ...(auth.hasPermission(UserModule.ASSET, Permission.USER, Permission.ADMIN)
350
+ ? [
351
+ {
352
+ name: 'Assets',
353
+ logo: '/admin/assets.png',
354
+ label: 'Assets',
355
+ description: 'ระบบจัดการสินทรัพย์',
356
+ to: routes.asset.item.items.to,
357
+ status: StatusPortal.ACTIVE,
358
+ },
359
+ ]
360
+ : []),
349
361
  ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
350
362
  ? [
351
363
  {
@@ -370,18 +382,7 @@ const peopleApps = computed(() => [
370
382
  },
371
383
  ]
372
384
  : []),
373
- ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
374
- ? [
375
- {
376
- name: 'Assets',
377
- logo: '/admin/assets.png',
378
- label: 'Assets',
379
- description: 'ระบบจัดการสินทรัพย์',
380
- to: '/',
381
- status: StatusPortal.DEVELOPING,
382
- },
383
- ]
384
- : []),
385
+
385
386
  ])
386
387
 
387
388
  const legalApps = computed(() => [
@@ -130,5 +130,14 @@ export const routes = {
130
130
  icon: 'ph:users',
131
131
  },
132
132
  },
133
+ asset: {
134
+ item: {
135
+ items: {
136
+ label: 'ข้อมูลสินทรัพย์',
137
+ to: '/asset/items',
138
+ icon: 'ph:desktop-tower',
139
+ },
140
+ },
141
+ },
133
142
 
134
143
  } as const
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.102",
4
+ "version": "0.2.103",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",