@finema/finework-layer 1.0.19 → 1.0.21

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.21](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.20...1.0.21) (2026-03-25)
4
+
5
+ ### Bug Fixes
6
+
7
+ * update class bindings in InfoItemList and PortalApp for consistency ([06de88c](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/06de88c726bebb4160fb501be59b5489d1b273df))
8
+
9
+ ## [1.0.20](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.19...1.0.20) (2026-03-23)
10
+
11
+ ### Bug Fixes
12
+
13
+ * update descriptions in dailyApps and financeApps for clarity ([484f34e](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/484f34e249d5227a20702ac53820cb6599ba0494))
14
+
3
15
  ## [1.0.19](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.18...1.0.19) (2026-03-23)
4
16
 
5
17
  ### Bug Fixes
@@ -5,7 +5,7 @@
5
5
  {
6
6
  'lg:grid-cols-2': !vertical,
7
7
  },
8
- customClass,
8
+ props.class,
9
9
  ]"
10
10
  >
11
11
  <div
@@ -17,7 +17,7 @@
17
17
  'flex-col': !inline,
18
18
  'flex-row': inline,
19
19
  },
20
- item.customClass,
20
+ item.class,
21
21
 
22
22
  ]"
23
23
  >
@@ -155,7 +155,7 @@ enum TYPE_INFO_ITEM {
155
155
  IMAGE = 'image',
156
156
  }
157
157
 
158
- defineProps<{
158
+ const props = defineProps<{
159
159
  items: Array<{
160
160
  label: string
161
161
  value?: any
@@ -164,13 +164,13 @@ defineProps<{
164
164
  max?: number
165
165
  key?: string
166
166
  type?: TYPE_INFO_ITEM
167
- customClass?: string
167
+ class?: string
168
168
  hide?: boolean
169
169
  linkProps?: ComponentProps<typeof NuxtLink>
170
170
  }>
171
171
  vertical?: boolean
172
172
  inline?: boolean
173
- customClass?: string
173
+ class?: string
174
174
  titleBold?: boolean
175
175
  labelWidth?: string | number
176
176
  }>()
@@ -54,7 +54,7 @@
54
54
  </div>
55
55
  </div>
56
56
  </nav>
57
- <main class="mx-auto w-full max-w-[1480px] flex-1 px-4 pb-20 md:px-10">
57
+ <main class="mx-auto w-full max-w-[1480px] flex-1 px-4 pb-20 xl:px-10">
58
58
  <div
59
59
  v-if="app.pageMeta.title"
60
60
  class="mb-4 flex flex-col justify-between gap-1 md:mb-6 md:gap-4 lg:flex-row lg:items-center"
@@ -239,6 +239,7 @@
239
239
  <div class="bg-white">
240
240
  <Collapsible
241
241
  default-open
242
+ v-model:open="open"
242
243
  >
243
244
  <div class="flex items-center justify-between gap-4">
244
245
  <div class="mb-5 flex items-center gap-2">
@@ -303,7 +304,7 @@ const dailyApps = computed(() => [
303
304
  name: 'Clock-In',
304
305
  logo: '/admin/clock-in-logo.png',
305
306
  label: ' Clock-In',
306
- description: 'เช็กอินเวลางาน และเลือกสถานที่ทำงานของวันนี้',
307
+ description: 'เช็กอินเวลางาน และเลือกสถานที่ทำงาน',
307
308
  to: routes.clockin.home.to,
308
309
  status: StatusPortal.ACTIVE,
309
310
  },
@@ -425,7 +426,7 @@ const financeApps = computed(() => [
425
426
  name: 'Guarantee',
426
427
  logo: '/admin/cost-sheet.png',
427
428
  label: 'งบค้ำประกัน',
428
- description: 'การเบิกเงินค้ำซองและค้ำสัญญากับธนาคาร',
429
+ description: 'การเบิกเงินค้ำซองและค้ำสัญญา',
429
430
  to: '/',
430
431
  status: StatusPortal.DEVELOPING,
431
432
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "1.0.19",
4
+ "version": "1.0.21",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",