@finema/finework-layer 1.0.12 → 1.0.14

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.14](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.13...1.0.14) (2026-03-18)
4
+
5
+ ### Features
6
+
7
+ * portal app resource ([fd9a0b2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/fd9a0b2a85f8b478c1392ae155ceecf33e335ffa))
8
+
9
+ ## [1.0.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.12...1.0.13) (2026-03-13)
10
+
11
+ ### Bug Fixes
12
+
13
+ * update @finema/core dependency to version 3.14.5 ([73bebe6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/73bebe6c795691b6573b9d27484c8f2e498a17b9))
14
+
3
15
  ## [1.0.12](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.11...1.0.12) (2026-03-13)
4
16
 
5
17
  ### Bug Fixes
@@ -410,18 +410,6 @@ const financeApps = computed(() => [
410
410
  },
411
411
  ]
412
412
  : []),
413
- // ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
414
- // ? [
415
- // {
416
- // name: 'Purchase',
417
- // logo: '/admin/purchase.png',
418
- // label: 'Purchase',
419
- // description: 'จัดการเอกสารการจ่ายงวด',
420
- // to: '/',
421
- // status: StatusPortal.DEVELOPING,
422
- // },
423
- // ]
424
- // : []),
425
413
  ])
426
414
 
427
415
  const peopleApps = computed(() => [
@@ -486,6 +474,18 @@ const peopleApps = computed(() => [
486
474
  },
487
475
  ]
488
476
  : []),
477
+ ...(auth.hasPermission(UserModule.SETTING, Permission.SUPER)
478
+ ? [
479
+ {
480
+ name: 'Resource',
481
+ logo: '/admin/resource.svg',
482
+ label: 'Resource',
483
+ description: 'ระบบจัดการการประเมิน',
484
+ to: '/',
485
+ status: StatusPortal.DEVELOPING,
486
+ },
487
+ ]
488
+ : []),
489
489
 
490
490
  ])
491
491
 
@@ -100,6 +100,7 @@ export enum UserModule {
100
100
  BIDBOND = 'bidbond',
101
101
  EFACTORING = 'efactoring',
102
102
  PURCHASE = 'purchase',
103
+ RESOURCE = 'resource',
103
104
  }
104
105
 
105
106
  export interface IUserAccessLevel {
@@ -121,6 +122,7 @@ export interface IUserAccessLevel {
121
122
  bidbond: Permission
122
123
  efactoring: Permission
123
124
  purchase: Permission
125
+ resource: Permission
124
126
  }
125
127
 
126
128
  export const convertDomainToCookieDomain = (domain: string) => {
package/bun.lock CHANGED
@@ -5,7 +5,7 @@
5
5
  "": {
6
6
  "name": "@finema/finework-layer",
7
7
  "dependencies": {
8
- "@finema/core": "^3.14.4",
8
+ "@finema/core": "^3.14.5",
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.4", "", { "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-kmCnGAjRrbLKxlnjnGkGeJwZETdwGAX8mrd1cthIATgTCumNXpyGc+GRzpWYhy2fQSHKpG1rImgidmonjDuZfg=="],
187
+ "@finema/core": ["@finema/core@3.14.5", "", { "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-jzcxOWPgLrUDEch0r6ovmkkKz2kxwVQ8H0fqQQxXQAlaXfljWrcNG8S8vs02oSH1Nnt09iEKeOdDge2a5liuAg=="],
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.12",
4
+ "version": "1.0.14",
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.4"
33
+ "@finema/core": "^3.14.5"
34
34
  },
35
35
  "lint-staged": {
36
36
  "*": "eslint"