@finema/finework-layer 1.0.10 → 1.0.11
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,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.11](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.10...1.0.11) (2026-03-12)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add item-trailing slot to Sidebar and update routes for Cost Sheet ([54c9511](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/54c9511802e30eb5bf24706be6e5e47b08313689))
|
|
8
|
+
|
|
3
9
|
## [1.0.10](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.9...1.0.10) (2026-03-11)
|
|
4
10
|
|
|
5
11
|
### Bug Fixes
|
|
@@ -87,7 +87,14 @@
|
|
|
87
87
|
childItem: 'ps-0',
|
|
88
88
|
}"
|
|
89
89
|
class="w-full justify-center"
|
|
90
|
-
|
|
90
|
+
>
|
|
91
|
+
<template #item-trailing="{ item }">
|
|
92
|
+
<slot
|
|
93
|
+
name="item-trailing"
|
|
94
|
+
:item="item"
|
|
95
|
+
/>
|
|
96
|
+
</template>
|
|
97
|
+
</NavigationMenu>
|
|
91
98
|
</div>
|
|
92
99
|
</div>
|
|
93
100
|
<NavigationMenu
|
|
@@ -116,7 +123,14 @@
|
|
|
116
123
|
childItem: 'ps-0',
|
|
117
124
|
}"
|
|
118
125
|
class="w-full justify-center"
|
|
119
|
-
|
|
126
|
+
>
|
|
127
|
+
<template #item-trailing="{ item }">
|
|
128
|
+
<slot
|
|
129
|
+
name="item-trailing"
|
|
130
|
+
:item="item"
|
|
131
|
+
/>
|
|
132
|
+
</template>
|
|
133
|
+
</NavigationMenu>
|
|
120
134
|
<slot
|
|
121
135
|
name="sidebar-tailing"
|
|
122
136
|
:is-collapsed="isCollapsed"
|
|
@@ -189,6 +203,9 @@ defineSlots<{
|
|
|
189
203
|
isMobile: boolean
|
|
190
204
|
isGroup: boolean
|
|
191
205
|
}
|
|
206
|
+
'item-trailing': {
|
|
207
|
+
item: NavigationMenuItem
|
|
208
|
+
}
|
|
192
209
|
}>()
|
|
193
210
|
|
|
194
211
|
const route = useRoute()
|
|
@@ -26,6 +26,12 @@
|
|
|
26
26
|
:is-group="isSidebarGroup"
|
|
27
27
|
/>
|
|
28
28
|
</template>
|
|
29
|
+
<template #item-trailing="{ item }">
|
|
30
|
+
<slot
|
|
31
|
+
name="item-trailing"
|
|
32
|
+
:item="item"
|
|
33
|
+
/>
|
|
34
|
+
</template>
|
|
29
35
|
</Sidebar>
|
|
30
36
|
</div>
|
|
31
37
|
<div
|
|
@@ -82,6 +88,12 @@
|
|
|
82
88
|
:is-group="isSidebarGroup"
|
|
83
89
|
/>
|
|
84
90
|
</template>
|
|
91
|
+
<template #item-trailing="{ item }">
|
|
92
|
+
<slot
|
|
93
|
+
name="item-trailing"
|
|
94
|
+
:item="item"
|
|
95
|
+
/>
|
|
96
|
+
</template>
|
|
85
97
|
</Sidebar>
|
|
86
98
|
</template>
|
|
87
99
|
</Slideover>
|
|
@@ -198,11 +210,15 @@ const props = withDefaults(
|
|
|
198
210
|
)
|
|
199
211
|
|
|
200
212
|
defineSlots<{
|
|
213
|
+
'default': any
|
|
201
214
|
'sidebar-tailing': {
|
|
202
215
|
isCollapsed: boolean
|
|
203
216
|
isMobile: boolean
|
|
204
217
|
isGroup: boolean
|
|
205
218
|
}
|
|
219
|
+
'item-trailing': {
|
|
220
|
+
item: NavigationMenuItem
|
|
221
|
+
}
|
|
206
222
|
}>()
|
|
207
223
|
|
|
208
224
|
const app = useApp()
|
|
@@ -381,7 +381,7 @@ const financeApps = computed(() => [
|
|
|
381
381
|
logo: '/admin/cost-sheet.png',
|
|
382
382
|
label: 'Cost Sheet',
|
|
383
383
|
description: 'รายรับรายจ่ายงบประมาณโครงการ',
|
|
384
|
-
to: routes.costSheet.
|
|
384
|
+
to: routes.costSheet.docs.doc.to,
|
|
385
385
|
status: StatusPortal.ACTIVE,
|
|
386
386
|
},
|
|
387
387
|
]
|
package/app/constants/routes.ts
CHANGED