@finema/finework-layer 0.2.4 → 0.2.6
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/.husky/pre-commit +1 -1
- package/.playground/app/pages/layout-admin/[id]/index.vue +145 -145
- package/.playground/app/pages/layout-admin.vue +129 -129
- package/.playground/app/pages/submenu/layout-admin.vue +129 -129
- package/CHANGELOG.md +127 -119
- package/app/app.vue +10 -10
- package/app/components/Button/ActionIcon.vue +29 -29
- package/app/components/Button/Back.vue +22 -22
- package/app/components/InfoItemList.vue +202 -202
- package/app/components/Layout/Admin/Sidebar.vue +304 -304
- package/app/components/Layout/Admin/index.vue +207 -207
- package/app/components/Layout/Apps.vue +45 -45
- package/app/components/Layout/User/index.vue +99 -99
- package/app/components/StatusBox.vue +56 -56
- package/app/composables/useAuth.ts +189 -189
- package/app/composables/useRequestOptions.ts +50 -50
- package/app/error.vue +218 -218
- package/bun.lock +2 -2
- package/index.d.ts +16 -16
- package/nuxt.config.ts +41 -41
- package/package.json +2 -2
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<LayoutAdmin
|
|
3
|
-
label="Test Layout"
|
|
4
|
-
:sidebar-items="sidebarItems"
|
|
5
|
-
is-sidebar-group
|
|
6
|
-
>
|
|
7
|
-
<p>dasdasd</p>
|
|
8
|
-
</LayoutAdmin>
|
|
9
|
-
</template>
|
|
10
|
-
|
|
11
|
-
<script lang="ts" setup>
|
|
12
|
-
import type { NavigationMenuItem } from '@nuxt/ui'
|
|
13
|
-
|
|
14
|
-
const auth = useAuth()
|
|
15
|
-
|
|
16
|
-
useApp().definePage({
|
|
17
|
-
title: 'Test Layout',
|
|
18
|
-
breadcrumbs: [
|
|
19
|
-
{
|
|
20
|
-
label: 'Home',
|
|
21
|
-
to: '/',
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
label: 'Test Layout',
|
|
25
|
-
to: '/test-layout',
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
auth.me.set({
|
|
31
|
-
id: 'edab2396-2b6f-4855-b04e-a7c9ae9b70ae',
|
|
32
|
-
created_at: '2025-09-02T10:16:37.195Z',
|
|
33
|
-
updated_at: '2025-10-11T10:14:10.296Z',
|
|
34
|
-
email: 'long@finema.co',
|
|
35
|
-
full_name: 'Passakon Puttasuwan',
|
|
36
|
-
display_name: 'Long',
|
|
37
|
-
position: 'Technical Specialist',
|
|
38
|
-
team_code: 'DEV',
|
|
39
|
-
company: 'finema',
|
|
40
|
-
avatar_url:
|
|
41
|
-
'https://avatars.slack-edge.com/2023-09-25/5968557597936_c750902e3ffc4f690d80_512.jpg',
|
|
42
|
-
slack_id: 'U0147KLKKH8',
|
|
43
|
-
azure_id: 'fd7fbb55-a249-4b79-b439-2270981bd3ae',
|
|
44
|
-
is_active: true,
|
|
45
|
-
joined_date: '2025-09-02T00:00:00Z',
|
|
46
|
-
access_level: {
|
|
47
|
-
user_id: 'edab2396-2b6f-4855-b04e-a7c9ae9b70ae',
|
|
48
|
-
clockin: 'ADMIN',
|
|
49
|
-
timesheet: 'ADMIN',
|
|
50
|
-
pmo: 'SUPER',
|
|
51
|
-
setting: 'SUPER',
|
|
52
|
-
created_at: '2025-08-15T16:40:29.319Z',
|
|
53
|
-
updated_at: '2025-09-30T10:14:59.228Z',
|
|
54
|
-
},
|
|
55
|
-
team: {
|
|
56
|
-
id: 'ef2abb00-d57f-4a38-a5d1-660ee63d2e1f',
|
|
57
|
-
created_at: '2025-08-26T10:36:53.598Z',
|
|
58
|
-
updated_at: '2025-10-01T06:00:29.941Z',
|
|
59
|
-
name: 'Developer Team',
|
|
60
|
-
code: 'DEV',
|
|
61
|
-
color: 'violet',
|
|
62
|
-
description: '',
|
|
63
|
-
working_start_at: '12:02:00',
|
|
64
|
-
working_end_at: '20:00:00',
|
|
65
|
-
created_by_id: null,
|
|
66
|
-
updated_by_id: '96d3ec63-be14-41c6-9268-ea8095d2a73b',
|
|
67
|
-
deleted_by_id: null,
|
|
68
|
-
},
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
const sidebarItems: NavigationMenuItem[] = [
|
|
72
|
-
{
|
|
73
|
-
children: [
|
|
74
|
-
{
|
|
75
|
-
label: 'Submenu 1',
|
|
76
|
-
to: '/layout-admin',
|
|
77
|
-
icon: 'i-heroicons-outline:home',
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
label: 'Submenu 2',
|
|
81
|
-
to: '/layout-admin/asdasd',
|
|
82
|
-
icon: 'i-heroicons-outline:home',
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
label: 'DASHBOARD',
|
|
88
|
-
children: [
|
|
89
|
-
{
|
|
90
|
-
label: 'Submenu 1',
|
|
91
|
-
to: '/submenu1',
|
|
92
|
-
icon: 'i-heroicons-outline:home',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
label: 'Submenu 2',
|
|
96
|
-
to: '/submenu2',
|
|
97
|
-
icon: 'i-heroicons-outline:home',
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
label: 'Users',
|
|
103
|
-
children: [
|
|
104
|
-
{
|
|
105
|
-
label: 'Submenu 1',
|
|
106
|
-
to: '/submenu1',
|
|
107
|
-
icon: 'i-heroicons-outline:home',
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
label: 'Submenu 2',
|
|
111
|
-
to: '/layout-admin',
|
|
112
|
-
icon: 'i-heroicons-outline:home',
|
|
113
|
-
children: [
|
|
114
|
-
{
|
|
115
|
-
label: 'Submenu 2-1',
|
|
116
|
-
to: '/layout-admin/1',
|
|
117
|
-
icon: 'i-heroicons-outline:home',
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
label: 'Submenu 2-2',
|
|
121
|
-
to: '/layout-admin/2',
|
|
122
|
-
icon: 'i-heroicons-outline:home',
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
},
|
|
126
|
-
],
|
|
127
|
-
},
|
|
128
|
-
]
|
|
129
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<LayoutAdmin
|
|
3
|
+
label="Test Layout"
|
|
4
|
+
:sidebar-items="sidebarItems"
|
|
5
|
+
is-sidebar-group
|
|
6
|
+
>
|
|
7
|
+
<p>dasdasd</p>
|
|
8
|
+
</LayoutAdmin>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script lang="ts" setup>
|
|
12
|
+
import type { NavigationMenuItem } from '@nuxt/ui'
|
|
13
|
+
|
|
14
|
+
const auth = useAuth()
|
|
15
|
+
|
|
16
|
+
useApp().definePage({
|
|
17
|
+
title: 'Test Layout',
|
|
18
|
+
breadcrumbs: [
|
|
19
|
+
{
|
|
20
|
+
label: 'Home',
|
|
21
|
+
to: '/',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: 'Test Layout',
|
|
25
|
+
to: '/test-layout',
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
})
|
|
29
|
+
|
|
30
|
+
auth.me.set({
|
|
31
|
+
id: 'edab2396-2b6f-4855-b04e-a7c9ae9b70ae',
|
|
32
|
+
created_at: '2025-09-02T10:16:37.195Z',
|
|
33
|
+
updated_at: '2025-10-11T10:14:10.296Z',
|
|
34
|
+
email: 'long@finema.co',
|
|
35
|
+
full_name: 'Passakon Puttasuwan',
|
|
36
|
+
display_name: 'Long',
|
|
37
|
+
position: 'Technical Specialist',
|
|
38
|
+
team_code: 'DEV',
|
|
39
|
+
company: 'finema',
|
|
40
|
+
avatar_url:
|
|
41
|
+
'https://avatars.slack-edge.com/2023-09-25/5968557597936_c750902e3ffc4f690d80_512.jpg',
|
|
42
|
+
slack_id: 'U0147KLKKH8',
|
|
43
|
+
azure_id: 'fd7fbb55-a249-4b79-b439-2270981bd3ae',
|
|
44
|
+
is_active: true,
|
|
45
|
+
joined_date: '2025-09-02T00:00:00Z',
|
|
46
|
+
access_level: {
|
|
47
|
+
user_id: 'edab2396-2b6f-4855-b04e-a7c9ae9b70ae',
|
|
48
|
+
clockin: 'ADMIN',
|
|
49
|
+
timesheet: 'ADMIN',
|
|
50
|
+
pmo: 'SUPER',
|
|
51
|
+
setting: 'SUPER',
|
|
52
|
+
created_at: '2025-08-15T16:40:29.319Z',
|
|
53
|
+
updated_at: '2025-09-30T10:14:59.228Z',
|
|
54
|
+
},
|
|
55
|
+
team: {
|
|
56
|
+
id: 'ef2abb00-d57f-4a38-a5d1-660ee63d2e1f',
|
|
57
|
+
created_at: '2025-08-26T10:36:53.598Z',
|
|
58
|
+
updated_at: '2025-10-01T06:00:29.941Z',
|
|
59
|
+
name: 'Developer Team',
|
|
60
|
+
code: 'DEV',
|
|
61
|
+
color: 'violet',
|
|
62
|
+
description: '',
|
|
63
|
+
working_start_at: '12:02:00',
|
|
64
|
+
working_end_at: '20:00:00',
|
|
65
|
+
created_by_id: null,
|
|
66
|
+
updated_by_id: '96d3ec63-be14-41c6-9268-ea8095d2a73b',
|
|
67
|
+
deleted_by_id: null,
|
|
68
|
+
},
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
const sidebarItems: NavigationMenuItem[] = [
|
|
72
|
+
{
|
|
73
|
+
children: [
|
|
74
|
+
{
|
|
75
|
+
label: 'Submenu 1',
|
|
76
|
+
to: '/layout-admin',
|
|
77
|
+
icon: 'i-heroicons-outline:home',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
label: 'Submenu 2',
|
|
81
|
+
to: '/layout-admin/asdasd',
|
|
82
|
+
icon: 'i-heroicons-outline:home',
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
label: 'DASHBOARD',
|
|
88
|
+
children: [
|
|
89
|
+
{
|
|
90
|
+
label: 'Submenu 1',
|
|
91
|
+
to: '/submenu1',
|
|
92
|
+
icon: 'i-heroicons-outline:home',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
label: 'Submenu 2',
|
|
96
|
+
to: '/submenu2',
|
|
97
|
+
icon: 'i-heroicons-outline:home',
|
|
98
|
+
},
|
|
99
|
+
],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
label: 'Users',
|
|
103
|
+
children: [
|
|
104
|
+
{
|
|
105
|
+
label: 'Submenu 1',
|
|
106
|
+
to: '/submenu1',
|
|
107
|
+
icon: 'i-heroicons-outline:home',
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
label: 'Submenu 2',
|
|
111
|
+
to: '/layout-admin',
|
|
112
|
+
icon: 'i-heroicons-outline:home',
|
|
113
|
+
children: [
|
|
114
|
+
{
|
|
115
|
+
label: 'Submenu 2-1',
|
|
116
|
+
to: '/layout-admin/1',
|
|
117
|
+
icon: 'i-heroicons-outline:home',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
label: 'Submenu 2-2',
|
|
121
|
+
to: '/layout-admin/2',
|
|
122
|
+
icon: 'i-heroicons-outline:home',
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
},
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
]
|
|
129
|
+
</script>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,119 +1,127 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## [0.2.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
## [0.2.
|
|
10
|
-
|
|
11
|
-
## [0.
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
## [0.1
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
## [0.1.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## [0.1.
|
|
36
|
-
|
|
37
|
-
## [0.1.
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
## [0.1.
|
|
44
|
-
|
|
45
|
-
## [0.1.
|
|
46
|
-
|
|
47
|
-
## [0.1.
|
|
48
|
-
|
|
49
|
-
## [0.1.
|
|
50
|
-
|
|
51
|
-
## [0.1.
|
|
52
|
-
|
|
53
|
-
## [0.1.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
## [0.1.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
## [0.0.
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
## [0.0.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
## [0.0.
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
## [0.0.
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
## 0.0.
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.2.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.5...0.2.6) (2025-10-16)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* truncate when isCollapsed ([f87622a](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/f87622aba1cf2ca4e3796ac5623bb27526b01d08))
|
|
8
|
+
|
|
9
|
+
## [0.2.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.4...0.2.5) (2025-10-16)
|
|
10
|
+
|
|
11
|
+
## [0.2.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.3...0.2.4) (2025-10-16)
|
|
12
|
+
|
|
13
|
+
## [0.2.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.2...0.2.3) (2025-10-16)
|
|
14
|
+
|
|
15
|
+
## [0.2.2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.1...0.2.2) (2025-10-16)
|
|
16
|
+
|
|
17
|
+
## [0.2.1](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.17...0.2.1) (2025-10-16)
|
|
18
|
+
|
|
19
|
+
## [0.1.17](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.16...0.1.17) (2025-10-16)
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **sidebar:** update sidebar navigation paths and add submenu structure ([0094fe5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0094fe5a6a2a9fbd3c159b393e7c774ae7d4aebf))
|
|
24
|
+
|
|
25
|
+
## [0.1.16](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.15...0.1.16) (2025-10-16)
|
|
26
|
+
|
|
27
|
+
### Performance Improvements
|
|
28
|
+
|
|
29
|
+
* **lint:** enable eslint caching for better performance ([369be3c](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/369be3ceadaf8f3a7297dbe12fd0a11360cdb781))
|
|
30
|
+
|
|
31
|
+
## [0.1.15](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.14...0.1.15) (2025-10-16)
|
|
32
|
+
|
|
33
|
+
## [0.1.14](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.13...0.1.14) (2025-10-16)
|
|
34
|
+
|
|
35
|
+
## [0.1.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.12...0.1.13) (2025-10-16)
|
|
36
|
+
|
|
37
|
+
## [0.1.12](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.11...0.1.12) (2025-10-16)
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
* install icon ([0606b0a](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0606b0ad99bf060692b0f592e306e7f7b0b78406))
|
|
42
|
+
|
|
43
|
+
## [0.1.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.10...0.1.11) (2025-10-16)
|
|
44
|
+
|
|
45
|
+
## [0.1.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.9...0.1.10) (2025-10-15)
|
|
46
|
+
|
|
47
|
+
## [0.1.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.8...0.1.9) (2025-10-15)
|
|
48
|
+
|
|
49
|
+
## [0.1.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.7...0.1.8) (2025-10-15)
|
|
50
|
+
|
|
51
|
+
## [0.1.7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.6...0.1.7) (2025-10-15)
|
|
52
|
+
|
|
53
|
+
## [0.1.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.5...0.1.6) (2025-10-15)
|
|
54
|
+
|
|
55
|
+
## [0.1.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.4...0.1.5) (2025-10-15)
|
|
56
|
+
|
|
57
|
+
## [0.1.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.3...0.1.4) (2025-10-15)
|
|
58
|
+
|
|
59
|
+
## [0.1.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.2...0.1.3) (2025-10-15)
|
|
60
|
+
|
|
61
|
+
## [0.1.2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.1...0.1.2) (2025-10-14)
|
|
62
|
+
|
|
63
|
+
### Features
|
|
64
|
+
|
|
65
|
+
* layout user ([6bf83a1](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/6bf83a15db0747323e6fd02555eab0b0c4e3e64e))
|
|
66
|
+
|
|
67
|
+
## [0.1.1](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.16...0.1.1) (2025-10-14)
|
|
68
|
+
|
|
69
|
+
### Bug Fixes
|
|
70
|
+
|
|
71
|
+
* lint version ([0b2ef1f](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0b2ef1f822b8db97be7fd55a24be42f0fc65357d))
|
|
72
|
+
* version ([742da07](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/742da076e250a965d1a2684430d522d3e901c3b6))
|
|
73
|
+
|
|
74
|
+
## [0.0.16](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.15...0.0.16) (2025-10-14)
|
|
75
|
+
|
|
76
|
+
### Bug Fixes
|
|
77
|
+
|
|
78
|
+
* **admin:** hide logo when sidebar is collapsed ([74e5dd2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/74e5dd2c8d1367bc7c5009f95498e83d86c7244c))
|
|
79
|
+
|
|
80
|
+
## [0.0.15](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.14...0.0.15) (2025-10-14)
|
|
81
|
+
|
|
82
|
+
### Bug Fixes
|
|
83
|
+
|
|
84
|
+
* **admin:** always show logo in sidebar ([914c216](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/914c216503b911574d85d658b7cf76618d58e007))
|
|
85
|
+
|
|
86
|
+
## [0.0.14](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.13...0.0.14) (2025-10-14)
|
|
87
|
+
|
|
88
|
+
### Bug Fixes
|
|
89
|
+
|
|
90
|
+
* **ui:** adjust responsive header height and padding ([000e5d7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/000e5d75d2779c5fd94354cf4426f5a9085af733))
|
|
91
|
+
* **ui:** adjust responsive layout of admin header elements ([0c46820](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0c468205b498a1ff6c260eefd32b4e244a671f96))
|
|
92
|
+
|
|
93
|
+
## [0.0.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.12...0.0.13) (2025-10-14)
|
|
94
|
+
|
|
95
|
+
### Features
|
|
96
|
+
|
|
97
|
+
* **admin:** add admin layout system with sidebar and navigation ([758c58b](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/758c58b89b005652ba88ffd4f5a850d3e8690e95))
|
|
98
|
+
|
|
99
|
+
## [0.0.12](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.11...0.0.12) (2025-10-10)
|
|
100
|
+
|
|
101
|
+
## [0.0.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.10...0.0.11) (2025-10-10)
|
|
102
|
+
|
|
103
|
+
## [0.0.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.9...0.0.10) (2025-10-10)
|
|
104
|
+
|
|
105
|
+
## [0.0.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.8...0.0.9) (2025-10-10)
|
|
106
|
+
|
|
107
|
+
## [0.0.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.7...0.0.8) (2025-10-10)
|
|
108
|
+
|
|
109
|
+
### Bug Fixes
|
|
110
|
+
|
|
111
|
+
* modal body padding top ([d5e6986](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/d5e6986946b4ec1c70dbd4a8022402f16ad0f82d))
|
|
112
|
+
|
|
113
|
+
## [0.0.7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.6...0.0.7) (2025-10-09)
|
|
114
|
+
|
|
115
|
+
### Features
|
|
116
|
+
|
|
117
|
+
* add ActionIcon, Back, InfoItemList, StatusBox components and update logout handler ([34d39fa](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/34d39fa6997da9e1e87e7813efc3c30716a6b9a4))
|
|
118
|
+
|
|
119
|
+
## [0.0.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.5...0.0.6) (2025-10-09)
|
|
120
|
+
|
|
121
|
+
## [0.0.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.4...0.0.5) (2025-10-09)
|
|
122
|
+
|
|
123
|
+
## [0.0.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.3...0.0.4) (2025-10-09)
|
|
124
|
+
|
|
125
|
+
## [0.0.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.2...0.0.3) (2025-10-09)
|
|
126
|
+
|
|
127
|
+
## 0.0.2 (2025-10-09)
|
package/app/app.vue
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<App
|
|
3
|
-
:toaster="{
|
|
4
|
-
position: 'top-right',
|
|
5
|
-
progress: false,
|
|
6
|
-
}"
|
|
7
|
-
>
|
|
8
|
-
<NuxtPage />
|
|
9
|
-
</App>
|
|
10
|
-
</template>
|
|
1
|
+
<template>
|
|
2
|
+
<App
|
|
3
|
+
:toaster="{
|
|
4
|
+
position: 'top-right',
|
|
5
|
+
progress: false,
|
|
6
|
+
}"
|
|
7
|
+
>
|
|
8
|
+
<NuxtPage />
|
|
9
|
+
</App>
|
|
10
|
+
</template>
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<Button
|
|
3
|
-
size="lg"
|
|
4
|
-
variant="ghost"
|
|
5
|
-
:icon="icon"
|
|
6
|
-
:color="color"
|
|
7
|
-
square
|
|
8
|
-
:disabled="disabled"
|
|
9
|
-
:loading="loading"
|
|
10
|
-
:to="to"
|
|
11
|
-
@click="$emit('click')"
|
|
12
|
-
/>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script lang="ts" setup>
|
|
16
|
-
defineEmits<{
|
|
17
|
-
(e: 'click'): void
|
|
18
|
-
}>()
|
|
19
|
-
|
|
20
|
-
withDefaults(defineProps<{
|
|
21
|
-
to?: string
|
|
22
|
-
icon: string
|
|
23
|
-
color?: 'neutral' | 'error' | 'primary' | 'success' | 'warning' | 'info'
|
|
24
|
-
disabled?: boolean
|
|
25
|
-
loading?: boolean
|
|
26
|
-
}>(), {
|
|
27
|
-
color: 'neutral',
|
|
28
|
-
})
|
|
29
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<Button
|
|
3
|
+
size="lg"
|
|
4
|
+
variant="ghost"
|
|
5
|
+
:icon="icon"
|
|
6
|
+
:color="color"
|
|
7
|
+
square
|
|
8
|
+
:disabled="disabled"
|
|
9
|
+
:loading="loading"
|
|
10
|
+
:to="to"
|
|
11
|
+
@click="$emit('click')"
|
|
12
|
+
/>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script lang="ts" setup>
|
|
16
|
+
defineEmits<{
|
|
17
|
+
(e: 'click'): void
|
|
18
|
+
}>()
|
|
19
|
+
|
|
20
|
+
withDefaults(defineProps<{
|
|
21
|
+
to?: string
|
|
22
|
+
icon: string
|
|
23
|
+
color?: 'neutral' | 'error' | 'primary' | 'success' | 'warning' | 'info'
|
|
24
|
+
disabled?: boolean
|
|
25
|
+
loading?: boolean
|
|
26
|
+
}>(), {
|
|
27
|
+
color: 'neutral',
|
|
28
|
+
})
|
|
29
|
+
</script>
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<Button
|
|
3
|
-
icon="icon-park-outline:left"
|
|
4
|
-
variant="outline"
|
|
5
|
-
color="neutral"
|
|
6
|
-
:to="to"
|
|
7
|
-
@click="$emit('click')"
|
|
8
|
-
>
|
|
9
|
-
{{ label || 'กลับ' }}
|
|
10
|
-
</Button>
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<script lang="ts" setup>
|
|
14
|
-
defineEmits<{
|
|
15
|
-
(e: 'click'): void
|
|
16
|
-
}>()
|
|
17
|
-
|
|
18
|
-
defineProps<{
|
|
19
|
-
to?: string
|
|
20
|
-
label?: string
|
|
21
|
-
}>()
|
|
22
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<Button
|
|
3
|
+
icon="icon-park-outline:left"
|
|
4
|
+
variant="outline"
|
|
5
|
+
color="neutral"
|
|
6
|
+
:to="to"
|
|
7
|
+
@click="$emit('click')"
|
|
8
|
+
>
|
|
9
|
+
{{ label || 'กลับ' }}
|
|
10
|
+
</Button>
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script lang="ts" setup>
|
|
14
|
+
defineEmits<{
|
|
15
|
+
(e: 'click'): void
|
|
16
|
+
}>()
|
|
17
|
+
|
|
18
|
+
defineProps<{
|
|
19
|
+
to?: string
|
|
20
|
+
label?: string
|
|
21
|
+
}>()
|
|
22
|
+
</script>
|