@finema/finework-layer 0.0.11 → 0.0.13

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.
@@ -0,0 +1 @@
1
+ bunx lint-staged
@@ -0,0 +1,6 @@
1
+ @import "tailwindcss";
2
+ @import "@nuxt/ui";
3
+
4
+
5
+ @source "../../../../node_modules/@finema/core";
6
+ @source "../../../../app";
@@ -0,0 +1,104 @@
1
+ <template>
2
+ <LayoutAdmin
3
+ label="Test Layout"
4
+ :sidebar-items="sidebarItems"
5
+ :is-sidebar-group="true"
6
+ >
7
+ <p>
8
+ dasdasd
9
+ </p>
10
+ </LayoutAdmin>
11
+ </template>
12
+
13
+ <script lang="ts" setup>
14
+ import type { NavigationMenuItem } from '@nuxt/ui'
15
+
16
+ const auth = useAuth()
17
+
18
+ useApp().definePage({
19
+ title: 'Test Layout',
20
+ breadcrumbs: [
21
+ {
22
+ label: 'Home',
23
+ to: '/',
24
+ },
25
+ {
26
+ label: 'Test Layout',
27
+ to: '/test-layout',
28
+ },
29
+ ],
30
+ })
31
+
32
+ auth.me.set({
33
+ id: 'edab2396-2b6f-4855-b04e-a7c9ae9b70ae',
34
+ created_at: '2025-09-02T10:16:37.195Z',
35
+ updated_at: '2025-10-11T10:14:10.296Z',
36
+ email: 'long@finema.co',
37
+ full_name: 'Passakon Puttasuwan',
38
+ display_name: 'Long',
39
+ position: 'Technical Specialist',
40
+ team_code: 'DEV',
41
+ company: 'finema',
42
+ avatar_url: 'https://avatars.slack-edge.com/2023-09-25/5968557597936_c750902e3ffc4f690d80_512.jpg',
43
+ slack_id: 'U0147KLKKH8',
44
+ azure_id: 'fd7fbb55-a249-4b79-b439-2270981bd3ae',
45
+ is_active: true,
46
+ joined_date: '2025-09-02T00:00:00Z',
47
+ access_level: {
48
+ user_id: 'edab2396-2b6f-4855-b04e-a7c9ae9b70ae',
49
+ clockin: 'ADMIN',
50
+ timesheet: 'ADMIN',
51
+ pmo: 'SUPER',
52
+ setting: 'SUPER',
53
+ created_at: '2025-08-15T16:40:29.319Z',
54
+ updated_at: '2025-09-30T10:14:59.228Z',
55
+ },
56
+ team: {
57
+ id: 'ef2abb00-d57f-4a38-a5d1-660ee63d2e1f',
58
+ created_at: '2025-08-26T10:36:53.598Z',
59
+ updated_at: '2025-10-01T06:00:29.941Z',
60
+ name: 'Developer Team',
61
+ code: 'DEV',
62
+ color: 'violet',
63
+ description: '',
64
+ working_start_at: '12:02:00',
65
+ working_end_at: '20:00:00',
66
+ created_by_id: null,
67
+ updated_by_id: '96d3ec63-be14-41c6-9268-ea8095d2a73b',
68
+ deleted_by_id: null,
69
+ },
70
+ })
71
+
72
+ const sidebarItems: NavigationMenuItem[] = [
73
+ {
74
+ label: 'Dashboard',
75
+ children: [
76
+ {
77
+ label: 'Submenu 1',
78
+ to: '/submenu1',
79
+ icon: 'i-heroicons-outline:home',
80
+ },
81
+ {
82
+ label: 'Submenu 2',
83
+ to: '/submenu2',
84
+ icon: 'i-heroicons-outline:home',
85
+ },
86
+ ],
87
+ },
88
+ {
89
+ label: 'Users',
90
+ children: [
91
+ {
92
+ label: 'Submenu 1',
93
+ to: '/submenu1',
94
+ icon: 'i-heroicons-outline:home',
95
+ },
96
+ {
97
+ label: 'Submenu 2',
98
+ to: '/submenu2',
99
+ icon: 'i-heroicons-outline:home',
100
+ },
101
+ ],
102
+ },
103
+ ]
104
+ </script>
@@ -1,5 +1,5 @@
1
1
  export default defineAppConfig({
2
2
  myLayer: {
3
- name: 'My amazing Nuxt layer (overwritten)'
4
- }
3
+ name: 'My amazing Nuxt layer (overwritten)',
4
+ },
5
5
  })
@@ -1,12 +1,4 @@
1
- import { fileURLToPath } from 'node:url'
2
-
3
1
  export default defineNuxtConfig({
4
2
  extends: ['..'],
5
- modules: ['@nuxt/eslint'],
6
- eslint: {
7
- config: {
8
- // Use the generated ESLint config for lint root project as well
9
- rootDir: fileURLToPath(new URL('..', import.meta.url))
10
- }
11
- }
3
+ css: ['~/assets/css/main.css'],
12
4
  })
package/CHANGELOG.md CHANGED
@@ -1,29 +1,37 @@
1
- # Changelog
2
-
3
- ## [0.0.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.10...0.0.11) (2025-10-10)
4
-
5
- ## [0.0.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.9...0.0.10) (2025-10-10)
6
-
7
- ## [0.0.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.8...0.0.9) (2025-10-10)
8
-
9
- ## [0.0.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.7...0.0.8) (2025-10-10)
10
-
11
- ### Bug Fixes
12
-
13
- * modal body padding top ([d5e6986](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/d5e6986946b4ec1c70dbd4a8022402f16ad0f82d))
14
-
15
- ## [0.0.7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.6...0.0.7) (2025-10-09)
1
+ # Changelog
2
+
3
+ ## [0.0.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.12...0.0.13) (2025-10-14)
16
4
 
17
5
  ### Features
18
6
 
19
- * add ActionIcon, Back, InfoItemList, StatusBox components and update logout handler ([34d39fa](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/34d39fa6997da9e1e87e7813efc3c30716a6b9a4))
20
-
21
- ## [0.0.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.5...0.0.6) (2025-10-09)
22
-
23
- ## [0.0.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.4...0.0.5) (2025-10-09)
24
-
25
- ## [0.0.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.3...0.0.4) (2025-10-09)
26
-
27
- ## [0.0.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.2...0.0.3) (2025-10-09)
28
-
29
- ## 0.0.2 (2025-10-09)
7
+ * **admin:** add admin layout system with sidebar and navigation ([758c58b](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/758c58b89b005652ba88ffd4f5a850d3e8690e95))
8
+
9
+ ## [0.0.12](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.11...0.0.12) (2025-10-10)
10
+
11
+ ## [0.0.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.10...0.0.11) (2025-10-10)
12
+
13
+ ## [0.0.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.9...0.0.10) (2025-10-10)
14
+
15
+ ## [0.0.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.8...0.0.9) (2025-10-10)
16
+
17
+ ## [0.0.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.7...0.0.8) (2025-10-10)
18
+
19
+ ### Bug Fixes
20
+
21
+ * modal body padding top ([d5e6986](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/d5e6986946b4ec1c70dbd4a8022402f16ad0f82d))
22
+
23
+ ## [0.0.7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.6...0.0.7) (2025-10-09)
24
+
25
+ ### Features
26
+
27
+ * add ActionIcon, Back, InfoItemList, StatusBox components and update logout handler ([34d39fa](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/34d39fa6997da9e1e87e7813efc3c30716a6b9a4))
28
+
29
+ ## [0.0.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.5...0.0.6) (2025-10-09)
30
+
31
+ ## [0.0.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.4...0.0.5) (2025-10-09)
32
+
33
+ ## [0.0.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.3...0.0.4) (2025-10-09)
34
+
35
+ ## [0.0.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.2...0.0.3) (2025-10-09)
36
+
37
+ ## 0.0.2 (2025-10-09)