@finema/finework-layer 0.2.141 → 0.2.143

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,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.143](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.142...0.2.143) (2026-02-25)
4
+
5
+ ### Bug Fixes
6
+
7
+ * update @finema/core dependency to version 3.13.0 and comment out Purchase app in PortalApp.vue ([917a4f2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/917a4f21a15123b7727b3cc4d9f97b54f7f2dc77))
8
+
9
+ ## [0.2.142](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.141...0.2.142) (2026-02-19)
10
+
3
11
  ## [0.2.141](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.140...0.2.141) (2026-02-19)
4
12
 
5
13
  ### Bug Fixes
@@ -31,47 +31,54 @@
31
31
  v-else
32
32
  :loading="notification.fetch.status.isLoading"
33
33
  >
34
- <div class="space-y-2 divide-y-1 divide-gray-200">
35
- <div
36
- v-for="item in notification.fetch.items"
37
- :key="item.id"
34
+ <div
35
+ v-for="item in notification.fetch.items"
36
+ :key="item.id"
37
+ >
38
+ <Separator />
39
+ <NuxtLink
40
+ :to="getLink(item)"
41
+ :target="getLink(item) === '#' ? '_self' : '_blank'"
42
+ :class="['flex cursor-pointer items-start gap-2 rounded-lg p-4 hover:bg-gray-100']"
38
43
  >
39
- <NuxtLink
40
- :to="getLink(item)"
41
- :target="getLink(item) === '#' ? '_self' : '_blank'"
42
- :class="['flex cursor-pointer items-start gap-2 rounded-lg p-4 hover:bg-gray-100']"
43
- >
44
- <!-- <Chip
44
+ <!-- <Chip
45
45
  position="bottom-right"
46
46
  size="3xl"
47
47
  inset
48
48
  :color="getNotificationColor(item)"
49
49
  > -->
50
- <div class="relative">
51
- <Avatar
52
- class="min-h-12 min-w-12"
53
- :src="item.actor.avatar_url"
54
- :alt="item.actor.display_name"
55
- />
56
- <img
57
- :src="getImage(item)!"
58
- class="absolute -right-1 -bottom-1 w-5 rounded-full bg-white p-0.25"
59
- />
60
- </div>
61
- <!-- </Chip> -->
62
-
63
- <div class="flex flex-1 flex-col gap-0">
64
- <p
65
- class="text-gray line-clamp-2 text-sm"
66
- v-html="getMessage(item)"
67
- />
68
- <FormatTimeFromNow
69
- class="text-xs font-medium whitespace-nowrap text-gray-600"
70
- :value="item.sent_at"
71
- />
72
- </div>
73
- </NuxtLink>
74
- </div>
50
+ <div
51
+ v-if="item.actor?.avatar_url"
52
+ class="relative"
53
+ >
54
+ <Avatar
55
+ class="min-h-12 min-w-12"
56
+ :src="item.actor?.avatar_url"
57
+ :alt="item.actor?.display_name"
58
+ />
59
+ <img
60
+ :src="getImage(item)!"
61
+ class="absolute -right-1 -bottom-1 w-5 rounded-full bg-white p-0.25"
62
+ />
63
+ </div>
64
+ <img
65
+ v-else
66
+ :src="getImage(item)!"
67
+ class="h-12 min-h-12 w-12 min-w-12"
68
+ />
69
+ <!-- </Chip> -->
70
+
71
+ <div class="flex flex-1 flex-col gap-0">
72
+ <p
73
+ class="text-gray line-clamp-2 text-sm"
74
+ v-html="getMessage(item)"
75
+ />
76
+ <FormatTimeFromNow
77
+ class="text-xs font-medium whitespace-nowrap text-gray-600"
78
+ :value="item.sent_at"
79
+ />
80
+ </div>
81
+ </NuxtLink>
75
82
  </div>
76
83
  </Loader>
77
84
  </template>
@@ -411,18 +411,18 @@ const financeApps = computed(() => [
411
411
  },
412
412
  ]
413
413
  : []),
414
- ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
415
- ? [
416
- {
417
- name: 'Purchase',
418
- logo: '/admin/purchase.png',
419
- label: 'Purchase',
420
- description: 'จัดการเอกสารการจ่ายงวด',
421
- to: '/',
422
- status: StatusPortal.DEVELOPING,
423
- },
424
- ]
425
- : []),
414
+ // ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
415
+ // ? [
416
+ // {
417
+ // name: 'Purchase',
418
+ // logo: '/admin/purchase.png',
419
+ // label: 'Purchase',
420
+ // description: 'จัดการเอกสารการจ่ายงวด',
421
+ // to: '/',
422
+ // status: StatusPortal.DEVELOPING,
423
+ // },
424
+ // ]
425
+ // : []),
426
426
  ])
427
427
 
428
428
  const peopleApps = computed(() => [
package/bun.lock CHANGED
@@ -4,7 +4,7 @@
4
4
  "": {
5
5
  "name": "@finema/finework-layer",
6
6
  "dependencies": {
7
- "@finema/core": "^3.11.0",
7
+ "@finema/core": "^3.13.0",
8
8
  },
9
9
  "devDependencies": {
10
10
  "@finema/eslint-config": "^2.0.3",
@@ -183,7 +183,7 @@
183
183
 
184
184
  "@eslint/plugin-kit": ["@eslint/plugin-kit@0.4.1", "", { "dependencies": { "@eslint/core": "^0.17.0", "levn": "^0.4.1" } }, "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA=="],
185
185
 
186
- "@finema/core": ["@finema/core@3.11.0", "", { "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.4.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-hZEpL4LcNnh6kWSISqhirP8BepUcm9uj8UCuEVC3W6DeR38yVxf5UD4i0NyhFQXvYa0d070tql4GjnedRnFsXw=="],
186
+ "@finema/core": ["@finema/core@3.13.0", "", { "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.4.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-oVNt3Q5+cIzpO2jrWovh//T8rWePYB5aufCzfRLNUomG7GpQ0iPVItbFbr+9DpACeWCYmGv74WS19l6qIdYUmg=="],
187
187
 
188
188
  "@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=="],
189
189
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.141",
4
+ "version": "0.2.143",
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.12.0"
33
+ "@finema/core": "^3.13.0"
34
34
  },
35
35
  "lint-staged": {
36
36
  "*": "eslint"
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file