@finema/finework-layer 1.0.21 → 1.0.23

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.23](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.22...1.0.23) (2026-03-26)
4
+
5
+ ### Features
6
+
7
+ * update financeApps and peopleApps with new Loan and Requests Admin entries ([1f69eb2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/1f69eb2d9f715b7d55bbf4a17fdc3834738e167e))
8
+
9
+ ## [1.0.22](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.21...1.0.22) (2026-03-26)
10
+
11
+ ### Bug Fixes
12
+
13
+ * adjust ReuseTemplate placement in PortalApp for proper rendering ([3d77be4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/3d77be4b2caa0ed26edbe398f158c56b7f2eefd6))
14
+
3
15
  ## [1.0.21](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.20...1.0.21) (2026-03-25)
4
16
 
5
17
  ### Bug Fixes
@@ -237,9 +237,11 @@
237
237
  }"
238
238
  >
239
239
  <div class="bg-white">
240
+ <ReuseTemplate v-if="isNavbar" />
240
241
  <Collapsible
241
- default-open
242
+ v-else
242
243
  v-model:open="open"
244
+ default-open
243
245
  >
244
246
  <div class="flex items-center justify-between gap-4">
245
247
  <div class="mb-5 flex items-center gap-2">
@@ -264,7 +266,6 @@
264
266
  <ReuseTemplate />
265
267
  </template>
266
268
  </Collapsible>
267
- <ReuseTemplate v-if="isNavbar" />
268
269
  </div>
269
270
  </Card>
270
271
  </template>
@@ -424,7 +425,7 @@ const financeApps = computed(() => [
424
425
  ? [
425
426
  {
426
427
  name: 'Guarantee',
427
- logo: '/admin/cost-sheet.png',
428
+ logo: '/admin/guarantee.png',
428
429
  label: 'งบค้ำประกัน',
429
430
  description: 'การเบิกเงินค้ำซองและค้ำสัญญา',
430
431
  to: '/',
@@ -432,6 +433,18 @@ const financeApps = computed(() => [
432
433
  },
433
434
  ]
434
435
  : []),
436
+ ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
437
+ ? [
438
+ {
439
+ name: 'Loan',
440
+ logo: '/admin/loan.png',
441
+ label: 'Loan',
442
+ description: 'รายการกู้เงินจากธนาคาร',
443
+ to: '/',
444
+ status: StatusPortal.DEVELOPING,
445
+ },
446
+ ]
447
+ : []),
435
448
  ])
436
449
 
437
450
  const peopleApps = computed(() => [
@@ -508,6 +521,19 @@ const peopleApps = computed(() => [
508
521
  },
509
522
  ]
510
523
  : []),
524
+ ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
525
+ ? [
526
+ {
527
+ name: 'Requests Admin',
528
+ logo: '/admin/request-admin.png',
529
+ label: 'Requests Admin',
530
+ description: 'ระบบจัดการคำขออนุมัติต่างๆ',
531
+ to: '/',
532
+ status: StatusPortal.DEVELOPING,
533
+ },
534
+ ]
535
+ : []),
536
+
511
537
  ])
512
538
 
513
539
  const legalApps = computed(() => [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "1.0.21",
4
+ "version": "1.0.23",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",