@finema/finework-layer 1.0.3 → 1.0.5

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.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.4...1.0.5) (2026-03-06)
4
+
5
+ ### Bug Fixes
6
+
7
+ * update permissions for finance and eFactoring apps; add eFactoring route ([577f11f](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/577f11f4f2eea91c6e38a52958d60d3819fc5175))
8
+
9
+ ## [1.0.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.3...1.0.4) (2026-02-27)
10
+
11
+ ### Bug Fixes
12
+
13
+ * update @finema/core dependency to version 3.14.2; enhance shadow effects for pinned elements in app.config.ts; refine Noto Sans Thai font import in main.css ([b1ee33e](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/b1ee33e43cc2bffef972057cd46b060b172fc1a8))
14
+
3
15
  ## [1.0.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.2...1.0.3) (2026-02-26)
4
16
 
5
17
  ### Bug Fixes
package/app/app.config.ts CHANGED
@@ -133,8 +133,8 @@ export default defineAppConfig({
133
133
  variants: {
134
134
  pinned: {
135
135
  true: {
136
- th: 'sticky translate-x-px bg-[#F9FAFB] data-[pinned=left]:left-0 data-[pinned=right]:right-0 z-[100] ',
137
- td: 'sticky translate-x-px bg-white data-[pinned=left]:left-0 data-[pinned=right]:right-0 ',
136
+ th: 'sticky translate-x-px bg-[#F9FAFB] data-[pinned=left]:left-0 data-[pinned=right]:right-0 z-[100] data-[pinned=right]:shadow-[inset_2px_0px_4px_0px_#00000012]',
137
+ td: 'sticky translate-x-px bg-white data-[pinned=left]:left-0 data-[pinned=right]:right-0 data-[pinned=right]:shadow-[inset_2px_0px_4px_0px_#00000012]',
138
138
  },
139
139
  },
140
140
  },
@@ -1,4 +1,4 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai');
1
+ @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@200;300;400;500;600;700;800&display=swap');
2
2
  @import "tailwindcss";
3
3
 
4
4
  @theme static{
@@ -374,7 +374,7 @@ const financeApps = computed(() => [
374
374
  },
375
375
  ]
376
376
  : []),
377
- ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
377
+ ...(auth.hasPermission(UserModule.COSTSHEET, Permission.USER, Permission.ADMIN, Permission.SUPER)
378
378
  ? [
379
379
  {
380
380
  name: 'Cost Sheet',
@@ -382,19 +382,19 @@ const financeApps = computed(() => [
382
382
  label: 'Cost Sheet',
383
383
  description: 'รายรับรายจ่ายงบประมาณโครงการ',
384
384
  to: routes.costSheet.overview.to,
385
- status: StatusPortal.DEVELOPING,
385
+ status: StatusPortal.ACTIVE,
386
386
  },
387
387
  ]
388
388
  : []),
389
- ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
389
+ ...(auth.hasPermission(UserModule.EFACTORING, Permission.USER, Permission.ADMIN, Permission.SUPER)
390
390
  ? [
391
391
  {
392
392
  name: 'eFactoring',
393
393
  logo: '/admin/efactoring.png',
394
394
  label: 'eFactoring',
395
395
  description: 'การเบิกเงินหมุนเวียนกับธนาคาร',
396
- to: '/',
397
- status: StatusPortal.DEVELOPING,
396
+ to: routes.efactoring.dashboard.to,
397
+ status: StatusPortal.ACTIVE,
398
398
  },
399
399
  ]
400
400
  : []),
@@ -89,6 +89,13 @@ export const routes = {
89
89
  icon: 'ph:stack',
90
90
  },
91
91
  },
92
+ efactoring: {
93
+ dashboard: {
94
+ label: 'Dashboard',
95
+ to: '/e-factoring/dashboard',
96
+ icon: 'humbleicons:pie-chart',
97
+ },
98
+ },
92
99
  legal: {
93
100
  dashboard: {
94
101
  label: 'Dashboard',
package/bun.lock CHANGED
@@ -5,7 +5,7 @@
5
5
  "": {
6
6
  "name": "@finema/finework-layer",
7
7
  "dependencies": {
8
- "@finema/core": "^3.14.1",
8
+ "@finema/core": "^3.14.2",
9
9
  },
10
10
  "devDependencies": {
11
11
  "@finema/eslint-config": "^2.0.3",
@@ -184,7 +184,7 @@
184
184
 
185
185
  "@eslint/plugin-kit": ["@eslint/plugin-kit@0.4.1", "", { "dependencies": { "@eslint/core": "^0.17.0", "levn": "^0.4.1" } }, "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA=="],
186
186
 
187
- "@finema/core": ["@finema/core@3.14.1", "", { "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.5.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-JEsE7miFDsyS+xeAPkanjrvD3A5o7XGjweEF6fWlTWXMRz4eZr8eE1ZbY0DDGYP0W4n2JmlYcJAtWkvnW1mv0w=="],
187
+ "@finema/core": ["@finema/core@3.14.2", "", { "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.5.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-DWSw3CYzVsxCojkX0FeoDwfMi4x60IsL3KgAeSPa8cw3QYGO7cc6zdEau7IPh2RiLFj9M4iChmPAZWbIoFe8+w=="],
188
188
 
189
189
  "@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=="],
190
190
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "1.0.3",
4
+ "version": "1.0.5",
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.14.1"
33
+ "@finema/core": "^3.14.2"
34
34
  },
35
35
  "lint-staged": {
36
36
  "*": "eslint"