@finema/finework-layer 0.2.19 → 0.2.20
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 +130 -130
- package/.playground/app/pages/submenu/layout-admin.vue +210 -210
- package/.vscode/extensions.json +26 -26
- package/CHANGELOG.md +167 -161
- package/app/app.config.ts +35 -35
- 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 +213 -213
- 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/useRequestOptions.ts +50 -50
- package/app/error.vue +218 -218
- package/app/middleware/auth.ts +45 -0
- package/app/middleware/common.ts +12 -0
- package/app/middleware/guest.ts +7 -0
- package/app/middleware/permissions.ts +29 -0
- package/bun.lock +2730 -2730
- package/index.d.ts +16 -16
- package/nuxt.config.ts +41 -41
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,169 +1,175 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
## [0.2.
|
|
4
|
-
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.2.20](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.19...0.2.20) (2025-10-20)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* middleware ([182a1f4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/182a1f46b4affd4ffb34b94f33808c24362785ee))
|
|
8
|
+
|
|
9
|
+
## [0.2.19](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.18...0.2.19) (2025-10-20)
|
|
10
|
+
|
|
5
11
|
## [0.2.18](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.17...0.2.18) (2025-10-20)
|
|
6
12
|
|
|
7
13
|
### Bug Fixes
|
|
8
14
|
|
|
9
|
-
* **auth:** handle missing timestamp in cache expiration check ([90fe085](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/90fe08598b92e0c1f6f2e8da2db65c7397a8cf67))
|
|
10
|
-
|
|
11
|
-
## [0.2.17](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.16...0.2.17) (2025-10-20)
|
|
12
|
-
|
|
15
|
+
* **auth:** handle missing timestamp in cache expiration check ([90fe085](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/90fe08598b92e0c1f6f2e8da2db65c7397a8cf67))
|
|
16
|
+
|
|
17
|
+
## [0.2.17](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.16...0.2.17) (2025-10-20)
|
|
18
|
+
|
|
13
19
|
## [0.2.16](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.15...0.2.16) (2025-10-20)
|
|
14
20
|
|
|
15
21
|
### Performance Improvements
|
|
16
22
|
|
|
17
|
-
* **auth:** add user data caching with expiration ([f34144e](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/f34144e4b74c8f90658b1dd59d4143812e15a903))
|
|
18
|
-
|
|
19
|
-
## [0.2.15](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.14...0.2.15) (2025-10-17)
|
|
20
|
-
|
|
21
|
-
## [0.2.14](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.13...0.2.14) (2025-10-17)
|
|
22
|
-
|
|
23
|
-
## [0.2.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.12...0.2.13) (2025-10-17)
|
|
24
|
-
|
|
25
|
-
### Bug Fixes
|
|
26
|
-
|
|
27
|
-
* update @finema/core to version 2.52.3 and adjust layout for fullScreen prop ([7ffe5fd](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/7ffe5fd4e1ee3cae62ae66f31da98b4c0e727d33))
|
|
28
|
-
|
|
29
|
-
## [0.2.12](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.11...0.2.12) (2025-10-17)
|
|
30
|
-
|
|
31
|
-
## [0.2.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.10...0.2.11) (2025-10-17)
|
|
32
|
-
|
|
33
|
-
## [0.2.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.9...0.2.10) (2025-10-17)
|
|
34
|
-
|
|
35
|
-
## [0.2.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.8...0.2.9) (2025-10-17)
|
|
36
|
-
|
|
37
|
-
### Bug Fixes
|
|
38
|
-
|
|
39
|
-
* limit 10 ([fd10d78](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/fd10d78a8c89b310157acea7afcb27ae90449104))
|
|
40
|
-
|
|
41
|
-
## [0.2.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.7...0.2.8) (2025-10-17)
|
|
42
|
-
|
|
43
|
-
## [0.2.7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.6...0.2.7) (2025-10-16)
|
|
44
|
-
|
|
45
|
-
## [0.2.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.5...0.2.6) (2025-10-16)
|
|
46
|
-
|
|
47
|
-
### Bug Fixes
|
|
48
|
-
|
|
49
|
-
* truncate when isCollapsed ([f87622a](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/f87622aba1cf2ca4e3796ac5623bb27526b01d08))
|
|
50
|
-
|
|
51
|
-
## [0.2.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.4...0.2.5) (2025-10-16)
|
|
52
|
-
|
|
53
|
-
## [0.2.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.3...0.2.4) (2025-10-16)
|
|
54
|
-
|
|
55
|
-
## [0.2.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.2...0.2.3) (2025-10-16)
|
|
56
|
-
|
|
57
|
-
## [0.2.2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.1...0.2.2) (2025-10-16)
|
|
58
|
-
|
|
59
|
-
## [0.2.1](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.17...0.2.1) (2025-10-16)
|
|
60
|
-
|
|
61
|
-
## [0.1.17](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.16...0.1.17) (2025-10-16)
|
|
62
|
-
|
|
63
|
-
### Features
|
|
64
|
-
|
|
65
|
-
* **sidebar:** update sidebar navigation paths and add submenu structure ([0094fe5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0094fe5a6a2a9fbd3c159b393e7c774ae7d4aebf))
|
|
66
|
-
|
|
67
|
-
## [0.1.16](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.15...0.1.16) (2025-10-16)
|
|
68
|
-
|
|
69
|
-
### Performance Improvements
|
|
70
|
-
|
|
71
|
-
* **lint:** enable eslint caching for better performance ([369be3c](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/369be3ceadaf8f3a7297dbe12fd0a11360cdb781))
|
|
72
|
-
|
|
73
|
-
## [0.1.15](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.14...0.1.15) (2025-10-16)
|
|
74
|
-
|
|
75
|
-
## [0.1.14](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.13...0.1.14) (2025-10-16)
|
|
76
|
-
|
|
77
|
-
## [0.1.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.12...0.1.13) (2025-10-16)
|
|
78
|
-
|
|
79
|
-
## [0.1.12](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.11...0.1.12) (2025-10-16)
|
|
80
|
-
|
|
81
|
-
### Bug Fixes
|
|
82
|
-
|
|
83
|
-
* install icon ([0606b0a](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0606b0ad99bf060692b0f592e306e7f7b0b78406))
|
|
84
|
-
|
|
85
|
-
## [0.1.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.10...0.1.11) (2025-10-16)
|
|
86
|
-
|
|
87
|
-
## [0.1.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.9...0.1.10) (2025-10-15)
|
|
88
|
-
|
|
89
|
-
## [0.1.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.8...0.1.9) (2025-10-15)
|
|
90
|
-
|
|
91
|
-
## [0.1.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.7...0.1.8) (2025-10-15)
|
|
92
|
-
|
|
93
|
-
## [0.1.7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.6...0.1.7) (2025-10-15)
|
|
94
|
-
|
|
95
|
-
## [0.1.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.5...0.1.6) (2025-10-15)
|
|
96
|
-
|
|
97
|
-
## [0.1.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.4...0.1.5) (2025-10-15)
|
|
98
|
-
|
|
99
|
-
## [0.1.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.3...0.1.4) (2025-10-15)
|
|
100
|
-
|
|
101
|
-
## [0.1.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.2...0.1.3) (2025-10-15)
|
|
102
|
-
|
|
103
|
-
## [0.1.2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.1...0.1.2) (2025-10-14)
|
|
104
|
-
|
|
105
|
-
### Features
|
|
106
|
-
|
|
107
|
-
* layout user ([6bf83a1](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/6bf83a15db0747323e6fd02555eab0b0c4e3e64e))
|
|
108
|
-
|
|
109
|
-
## [0.1.1](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.16...0.1.1) (2025-10-14)
|
|
110
|
-
|
|
111
|
-
### Bug Fixes
|
|
112
|
-
|
|
113
|
-
* lint version ([0b2ef1f](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0b2ef1f822b8db97be7fd55a24be42f0fc65357d))
|
|
114
|
-
* version ([742da07](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/742da076e250a965d1a2684430d522d3e901c3b6))
|
|
115
|
-
|
|
116
|
-
## [0.0.16](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.15...0.0.16) (2025-10-14)
|
|
117
|
-
|
|
118
|
-
### Bug Fixes
|
|
119
|
-
|
|
120
|
-
* **admin:** hide logo when sidebar is collapsed ([74e5dd2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/74e5dd2c8d1367bc7c5009f95498e83d86c7244c))
|
|
121
|
-
|
|
122
|
-
## [0.0.15](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.14...0.0.15) (2025-10-14)
|
|
123
|
-
|
|
124
|
-
### Bug Fixes
|
|
125
|
-
|
|
126
|
-
* **admin:** always show logo in sidebar ([914c216](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/914c216503b911574d85d658b7cf76618d58e007))
|
|
127
|
-
|
|
128
|
-
## [0.0.14](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.13...0.0.14) (2025-10-14)
|
|
129
|
-
|
|
130
|
-
### Bug Fixes
|
|
131
|
-
|
|
132
|
-
* **ui:** adjust responsive header height and padding ([000e5d7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/000e5d75d2779c5fd94354cf4426f5a9085af733))
|
|
133
|
-
* **ui:** adjust responsive layout of admin header elements ([0c46820](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0c468205b498a1ff6c260eefd32b4e244a671f96))
|
|
134
|
-
|
|
135
|
-
## [0.0.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.12...0.0.13) (2025-10-14)
|
|
136
|
-
|
|
137
|
-
### Features
|
|
138
|
-
|
|
139
|
-
* **admin:** add admin layout system with sidebar and navigation ([758c58b](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/758c58b89b005652ba88ffd4f5a850d3e8690e95))
|
|
140
|
-
|
|
141
|
-
## [0.0.12](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.11...0.0.12) (2025-10-10)
|
|
142
|
-
|
|
143
|
-
## [0.0.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.10...0.0.11) (2025-10-10)
|
|
144
|
-
|
|
145
|
-
## [0.0.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.9...0.0.10) (2025-10-10)
|
|
146
|
-
|
|
147
|
-
## [0.0.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.8...0.0.9) (2025-10-10)
|
|
148
|
-
|
|
149
|
-
## [0.0.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.7...0.0.8) (2025-10-10)
|
|
150
|
-
|
|
151
|
-
### Bug Fixes
|
|
152
|
-
|
|
153
|
-
* modal body padding top ([d5e6986](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/d5e6986946b4ec1c70dbd4a8022402f16ad0f82d))
|
|
154
|
-
|
|
155
|
-
## [0.0.7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.6...0.0.7) (2025-10-09)
|
|
156
|
-
|
|
157
|
-
### Features
|
|
158
|
-
|
|
159
|
-
* add ActionIcon, Back, InfoItemList, StatusBox components and update logout handler ([34d39fa](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/34d39fa6997da9e1e87e7813efc3c30716a6b9a4))
|
|
160
|
-
|
|
161
|
-
## [0.0.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.5...0.0.6) (2025-10-09)
|
|
162
|
-
|
|
163
|
-
## [0.0.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.4...0.0.5) (2025-10-09)
|
|
164
|
-
|
|
165
|
-
## [0.0.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.3...0.0.4) (2025-10-09)
|
|
166
|
-
|
|
167
|
-
## [0.0.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.2...0.0.3) (2025-10-09)
|
|
168
|
-
|
|
169
|
-
## 0.0.2 (2025-10-09)
|
|
23
|
+
* **auth:** add user data caching with expiration ([f34144e](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/f34144e4b74c8f90658b1dd59d4143812e15a903))
|
|
24
|
+
|
|
25
|
+
## [0.2.15](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.14...0.2.15) (2025-10-17)
|
|
26
|
+
|
|
27
|
+
## [0.2.14](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.13...0.2.14) (2025-10-17)
|
|
28
|
+
|
|
29
|
+
## [0.2.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.12...0.2.13) (2025-10-17)
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* update @finema/core to version 2.52.3 and adjust layout for fullScreen prop ([7ffe5fd](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/7ffe5fd4e1ee3cae62ae66f31da98b4c0e727d33))
|
|
34
|
+
|
|
35
|
+
## [0.2.12](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.11...0.2.12) (2025-10-17)
|
|
36
|
+
|
|
37
|
+
## [0.2.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.10...0.2.11) (2025-10-17)
|
|
38
|
+
|
|
39
|
+
## [0.2.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.9...0.2.10) (2025-10-17)
|
|
40
|
+
|
|
41
|
+
## [0.2.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.8...0.2.9) (2025-10-17)
|
|
42
|
+
|
|
43
|
+
### Bug Fixes
|
|
44
|
+
|
|
45
|
+
* limit 10 ([fd10d78](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/fd10d78a8c89b310157acea7afcb27ae90449104))
|
|
46
|
+
|
|
47
|
+
## [0.2.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.7...0.2.8) (2025-10-17)
|
|
48
|
+
|
|
49
|
+
## [0.2.7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.6...0.2.7) (2025-10-16)
|
|
50
|
+
|
|
51
|
+
## [0.2.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.5...0.2.6) (2025-10-16)
|
|
52
|
+
|
|
53
|
+
### Bug Fixes
|
|
54
|
+
|
|
55
|
+
* truncate when isCollapsed ([f87622a](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/f87622aba1cf2ca4e3796ac5623bb27526b01d08))
|
|
56
|
+
|
|
57
|
+
## [0.2.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.4...0.2.5) (2025-10-16)
|
|
58
|
+
|
|
59
|
+
## [0.2.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.3...0.2.4) (2025-10-16)
|
|
60
|
+
|
|
61
|
+
## [0.2.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.2...0.2.3) (2025-10-16)
|
|
62
|
+
|
|
63
|
+
## [0.2.2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.1...0.2.2) (2025-10-16)
|
|
64
|
+
|
|
65
|
+
## [0.2.1](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.17...0.2.1) (2025-10-16)
|
|
66
|
+
|
|
67
|
+
## [0.1.17](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.16...0.1.17) (2025-10-16)
|
|
68
|
+
|
|
69
|
+
### Features
|
|
70
|
+
|
|
71
|
+
* **sidebar:** update sidebar navigation paths and add submenu structure ([0094fe5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0094fe5a6a2a9fbd3c159b393e7c774ae7d4aebf))
|
|
72
|
+
|
|
73
|
+
## [0.1.16](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.15...0.1.16) (2025-10-16)
|
|
74
|
+
|
|
75
|
+
### Performance Improvements
|
|
76
|
+
|
|
77
|
+
* **lint:** enable eslint caching for better performance ([369be3c](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/369be3ceadaf8f3a7297dbe12fd0a11360cdb781))
|
|
78
|
+
|
|
79
|
+
## [0.1.15](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.14...0.1.15) (2025-10-16)
|
|
80
|
+
|
|
81
|
+
## [0.1.14](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.13...0.1.14) (2025-10-16)
|
|
82
|
+
|
|
83
|
+
## [0.1.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.12...0.1.13) (2025-10-16)
|
|
84
|
+
|
|
85
|
+
## [0.1.12](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.11...0.1.12) (2025-10-16)
|
|
86
|
+
|
|
87
|
+
### Bug Fixes
|
|
88
|
+
|
|
89
|
+
* install icon ([0606b0a](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0606b0ad99bf060692b0f592e306e7f7b0b78406))
|
|
90
|
+
|
|
91
|
+
## [0.1.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.10...0.1.11) (2025-10-16)
|
|
92
|
+
|
|
93
|
+
## [0.1.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.9...0.1.10) (2025-10-15)
|
|
94
|
+
|
|
95
|
+
## [0.1.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.8...0.1.9) (2025-10-15)
|
|
96
|
+
|
|
97
|
+
## [0.1.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.7...0.1.8) (2025-10-15)
|
|
98
|
+
|
|
99
|
+
## [0.1.7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.6...0.1.7) (2025-10-15)
|
|
100
|
+
|
|
101
|
+
## [0.1.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.5...0.1.6) (2025-10-15)
|
|
102
|
+
|
|
103
|
+
## [0.1.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.4...0.1.5) (2025-10-15)
|
|
104
|
+
|
|
105
|
+
## [0.1.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.3...0.1.4) (2025-10-15)
|
|
106
|
+
|
|
107
|
+
## [0.1.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.2...0.1.3) (2025-10-15)
|
|
108
|
+
|
|
109
|
+
## [0.1.2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.1.1...0.1.2) (2025-10-14)
|
|
110
|
+
|
|
111
|
+
### Features
|
|
112
|
+
|
|
113
|
+
* layout user ([6bf83a1](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/6bf83a15db0747323e6fd02555eab0b0c4e3e64e))
|
|
114
|
+
|
|
115
|
+
## [0.1.1](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.16...0.1.1) (2025-10-14)
|
|
116
|
+
|
|
117
|
+
### Bug Fixes
|
|
118
|
+
|
|
119
|
+
* lint version ([0b2ef1f](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0b2ef1f822b8db97be7fd55a24be42f0fc65357d))
|
|
120
|
+
* version ([742da07](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/742da076e250a965d1a2684430d522d3e901c3b6))
|
|
121
|
+
|
|
122
|
+
## [0.0.16](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.15...0.0.16) (2025-10-14)
|
|
123
|
+
|
|
124
|
+
### Bug Fixes
|
|
125
|
+
|
|
126
|
+
* **admin:** hide logo when sidebar is collapsed ([74e5dd2](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/74e5dd2c8d1367bc7c5009f95498e83d86c7244c))
|
|
127
|
+
|
|
128
|
+
## [0.0.15](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.14...0.0.15) (2025-10-14)
|
|
129
|
+
|
|
130
|
+
### Bug Fixes
|
|
131
|
+
|
|
132
|
+
* **admin:** always show logo in sidebar ([914c216](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/914c216503b911574d85d658b7cf76618d58e007))
|
|
133
|
+
|
|
134
|
+
## [0.0.14](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.13...0.0.14) (2025-10-14)
|
|
135
|
+
|
|
136
|
+
### Bug Fixes
|
|
137
|
+
|
|
138
|
+
* **ui:** adjust responsive header height and padding ([000e5d7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/000e5d75d2779c5fd94354cf4426f5a9085af733))
|
|
139
|
+
* **ui:** adjust responsive layout of admin header elements ([0c46820](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/0c468205b498a1ff6c260eefd32b4e244a671f96))
|
|
140
|
+
|
|
141
|
+
## [0.0.13](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.12...0.0.13) (2025-10-14)
|
|
142
|
+
|
|
143
|
+
### Features
|
|
144
|
+
|
|
145
|
+
* **admin:** add admin layout system with sidebar and navigation ([758c58b](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/758c58b89b005652ba88ffd4f5a850d3e8690e95))
|
|
146
|
+
|
|
147
|
+
## [0.0.12](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.11...0.0.12) (2025-10-10)
|
|
148
|
+
|
|
149
|
+
## [0.0.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.10...0.0.11) (2025-10-10)
|
|
150
|
+
|
|
151
|
+
## [0.0.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.9...0.0.10) (2025-10-10)
|
|
152
|
+
|
|
153
|
+
## [0.0.9](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.8...0.0.9) (2025-10-10)
|
|
154
|
+
|
|
155
|
+
## [0.0.8](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.7...0.0.8) (2025-10-10)
|
|
156
|
+
|
|
157
|
+
### Bug Fixes
|
|
158
|
+
|
|
159
|
+
* modal body padding top ([d5e6986](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/d5e6986946b4ec1c70dbd4a8022402f16ad0f82d))
|
|
160
|
+
|
|
161
|
+
## [0.0.7](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.6...0.0.7) (2025-10-09)
|
|
162
|
+
|
|
163
|
+
### Features
|
|
164
|
+
|
|
165
|
+
* add ActionIcon, Back, InfoItemList, StatusBox components and update logout handler ([34d39fa](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/34d39fa6997da9e1e87e7813efc3c30716a6b9a4))
|
|
166
|
+
|
|
167
|
+
## [0.0.6](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.5...0.0.6) (2025-10-09)
|
|
168
|
+
|
|
169
|
+
## [0.0.5](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.4...0.0.5) (2025-10-09)
|
|
170
|
+
|
|
171
|
+
## [0.0.4](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.3...0.0.4) (2025-10-09)
|
|
172
|
+
|
|
173
|
+
## [0.0.3](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.0.2...0.0.3) (2025-10-09)
|
|
174
|
+
|
|
175
|
+
## 0.0.2 (2025-10-09)
|
package/app/app.config.ts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
export default defineAppConfig({
|
|
2
|
-
core: {
|
|
3
|
-
is_thai_year: false,
|
|
4
|
-
is_thai_month: false,
|
|
5
|
-
date_format: 'dd MMM yyyy',
|
|
6
|
-
month_format: 'MMM yyyy',
|
|
7
|
-
date_time_format: 'dd/MM/yyyy HH:mm น.',
|
|
8
|
-
color: '#335AFF',
|
|
9
|
-
limit_per_page: 10,
|
|
10
|
-
locale: 'en',
|
|
11
|
-
},
|
|
12
|
-
ui: {
|
|
13
|
-
dialog: {
|
|
14
|
-
slots: {
|
|
15
|
-
base: [
|
|
16
|
-
'bg-[url(/dialog-bg.png)] bg-no-repeat bg-top-left bg-size-[220px]',
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
|
|
21
|
-
card: {
|
|
22
|
-
variants: {
|
|
23
|
-
variant: {
|
|
24
|
-
soft: {
|
|
25
|
-
root: 'bg-elevated/50 divide-y divide-default',
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
defaultVariants: {
|
|
30
|
-
variant: 'soft',
|
|
31
|
-
},
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
})
|
|
1
|
+
export default defineAppConfig({
|
|
2
|
+
core: {
|
|
3
|
+
is_thai_year: false,
|
|
4
|
+
is_thai_month: false,
|
|
5
|
+
date_format: 'dd MMM yyyy',
|
|
6
|
+
month_format: 'MMM yyyy',
|
|
7
|
+
date_time_format: 'dd/MM/yyyy HH:mm น.',
|
|
8
|
+
color: '#335AFF',
|
|
9
|
+
limit_per_page: 10,
|
|
10
|
+
locale: 'en',
|
|
11
|
+
},
|
|
12
|
+
ui: {
|
|
13
|
+
dialog: {
|
|
14
|
+
slots: {
|
|
15
|
+
base: [
|
|
16
|
+
'bg-[url(/dialog-bg.png)] bg-no-repeat bg-top-left bg-size-[220px]',
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
|
|
21
|
+
card: {
|
|
22
|
+
variants: {
|
|
23
|
+
variant: {
|
|
24
|
+
soft: {
|
|
25
|
+
root: 'bg-elevated/50 divide-y divide-default',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
defaultVariants: {
|
|
30
|
+
variant: 'soft',
|
|
31
|
+
},
|
|
32
|
+
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
})
|
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>
|