@finema/finework-layer 2.0.45 → 2.0.46

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
+ ## [2.0.46](https://gitlab.finema.co/finema/internal/finework/compare/2.0.45...2.0.46) (2026-08-21)
4
+
5
+ ### Features
6
+
7
+ * app document ([a798e24](https://gitlab.finema.co/finema/internal/finework/commit/a798e24a80d7511a51c93de13673da83e69a98b7))
8
+
3
9
  ## [2.0.45](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/2.0.44...2.0.45) (2026-08-21)
4
10
 
5
11
  ### Features
@@ -355,67 +355,6 @@ const managementApps = computed(() => [
355
355
  },
356
356
  ]
357
357
  : []),
358
- ...(auth.hasPermission(UserModule.CHECKIN, Permission.ADMIN, Permission.SUPER)
359
- ? [
360
- {
361
- name: 'clockin-admin',
362
- logo: '/admin/clock-in-admin-logo.png',
363
- label: 'Clock-in Report',
364
- description: 'รายงานการลงเวลา',
365
- to: routes.adminClockin.checkinDashboard.to,
366
- status: StatusPortal.ACTIVE,
367
- },
368
- ]
369
- : []),
370
-
371
- ...(auth.hasPermission(UserModule.TIMESHEET, Permission.ADMIN, Permission.SUPER)
372
- ? [
373
- {
374
- name: 'timesheet-admin',
375
- logo: '/admin/timesheet-admin-logo.png',
376
- label: 'Timesheet Report',
377
- description: 'รายงานการบันทึกข้อมูลไทม์ชีท',
378
- to: routes.adminTimesheet.summaryReport.to,
379
- status: StatusPortal.ACTIVE,
380
- },
381
- ]
382
- : []),
383
- ...(auth.hasPermission(UserModule.SETTING, Permission.ADMIN, Permission.SUPER)
384
- ? [
385
- {
386
- name: 'report',
387
- logo: '/admin/report.svg',
388
- label: 'Report',
389
- description: 'รายงานภาพรวมบริษัท',
390
- to: routes.report.checkinSummaryDashboard.to,
391
- status: StatusPortal.ACTIVE,
392
- },
393
- ]
394
- : []),
395
- ...(auth.hasPermission(UserModule.TOR, Permission.USER, Permission.ADMIN, Permission.SUPER)
396
- ? [
397
- {
398
- name: 'tor',
399
- logo: '/admin/tor.svg',
400
- label: 'Presales Tools',
401
- description: 'ระบบสร้างตารางเปรียบเทียบข้อกำหนด',
402
- to: routes.tor.home.to,
403
- status: StatusPortal.ACTIVE,
404
- },
405
- ]
406
- : []),
407
- ...(auth.hasPermission(UserModule.SUPPORT, Permission.USER, Permission.ADMIN, Permission.SUPER)
408
- ? [
409
- {
410
- name: 'support',
411
- logo: '/admin/support.svg',
412
- label: 'Support',
413
- description: 'Heatmap Monitor & Report',
414
- to: routes.support.home.to,
415
- status: StatusPortal.ACTIVE,
416
- },
417
- ]
418
- : []),
419
358
  ...(auth.hasPermission(
420
359
  UserModule.PMO_SETUP,
421
360
  Permission.ADMIN,
@@ -484,6 +423,80 @@ const managementApps = computed(() => [
484
423
  },
485
424
  ]
486
425
  : []),
426
+ ...(auth.hasPermission(UserModule.CHECKIN, Permission.ADMIN, Permission.SUPER)
427
+ ? [
428
+ {
429
+ name: 'clockin-admin',
430
+ logo: '/admin/clock-in-admin-logo.png',
431
+ label: 'Clock-in Report',
432
+ description: 'รายงานการลงเวลา',
433
+ to: routes.adminClockin.checkinDashboard.to,
434
+ status: StatusPortal.ACTIVE,
435
+ },
436
+ ]
437
+ : []),
438
+
439
+ ...(auth.hasPermission(UserModule.TIMESHEET, Permission.ADMIN, Permission.SUPER)
440
+ ? [
441
+ {
442
+ name: 'timesheet-admin',
443
+ logo: '/admin/timesheet-admin-logo.png',
444
+ label: 'Timesheet Report',
445
+ description: 'รายงานการบันทึกข้อมูลไทม์ชีท',
446
+ to: routes.adminTimesheet.summaryReport.to,
447
+ status: StatusPortal.ACTIVE,
448
+ },
449
+ ]
450
+ : []),
451
+ ...(auth.hasPermission(UserModule.SETTING, Permission.ADMIN, Permission.SUPER)
452
+ ? [
453
+ {
454
+ name: 'report',
455
+ logo: '/admin/report.svg',
456
+ label: 'Report',
457
+ description: 'รายงานภาพรวมบริษัท',
458
+ to: routes.report.checkinSummaryDashboard.to,
459
+ status: StatusPortal.ACTIVE,
460
+ },
461
+ ]
462
+ : []),
463
+ ...(auth.hasPermission(UserModule.TOR, Permission.USER, Permission.ADMIN, Permission.SUPER)
464
+ ? [
465
+ {
466
+ name: 'tor',
467
+ logo: '/admin/tor.svg',
468
+ label: 'Presales Tools',
469
+ description: 'ระบบสร้างตารางเปรียบเทียบข้อกำหนด',
470
+ to: routes.tor.home.to,
471
+ status: StatusPortal.ACTIVE,
472
+ },
473
+ ]
474
+ : []),
475
+ ...(auth.hasPermission(UserModule.SUPPORT, Permission.USER, Permission.ADMIN, Permission.SUPER)
476
+ ? [
477
+ {
478
+ name: 'support',
479
+ logo: '/admin/support.svg',
480
+ label: 'Support',
481
+ description: 'Heatmap Monitor & Report',
482
+ to: routes.support.home.to,
483
+ status: StatusPortal.ACTIVE,
484
+ },
485
+ ]
486
+ : []),
487
+ ...(auth.hasPermission(UserModule.DOCUMENT, Permission.USER, Permission.ADMIN, Permission.SUPER)
488
+ ? [
489
+ {
490
+ name: 'document',
491
+ logo: '/admin/document.png',
492
+ label: 'Document Flow',
493
+ description: '',
494
+ to: routes.docsManagement.root.to,
495
+ status: StatusPortal.ACTIVE,
496
+ },
497
+ ]
498
+ : []),
499
+
487
500
  ])
488
501
 
489
502
  const financeApps = computed(() => [
@@ -307,6 +307,14 @@ export const routes = {
307
307
  permissions: ['pmo_warranty:USER', 'pmo_warranty:ADMIN', 'pmo_warranty:SUPER'],
308
308
  },
309
309
  },
310
+ docsManagement: {
311
+ root: {
312
+ label: 'Dashboard สรุปผล',
313
+ to: '/docs-management',
314
+ icon: 'ph:squares-four',
315
+ permissions: ['document:USER', 'document:ADMIN', 'document:SUPER'],
316
+ },
317
+ },
310
318
  } as const
311
319
 
312
320
  export const sidebarProfile = [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "2.0.45",
4
+ "version": "2.0.46",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",