@finema/finework-layer 1.0.38 → 1.0.40
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.40](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.39...1.0.40) (2026-04-21)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* add label class infoitem ([4d666ed](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/4d666ed7b82825dd60d294d0ba099691e90c3d18))
|
|
8
|
+
|
|
9
|
+
## [1.0.39](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.38...1.0.39) (2026-04-10)
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* hilight not ([75edf87](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/75edf87b4f471a9171288b73376def219ca6a33c))
|
|
14
|
+
|
|
3
15
|
## [1.0.38](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.37...1.0.38) (2026-04-10)
|
|
4
16
|
|
|
5
17
|
## [1.0.37](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/1.0.36...1.0.37) (2026-04-10)
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
'font-bold text-black!': item.label && titleBold,
|
|
33
33
|
'flex-shrink-0': inline,
|
|
34
34
|
},
|
|
35
|
+
item.labelClass,
|
|
35
36
|
]"
|
|
36
37
|
:style="inline && labelWidth ? { width: `${labelWidth}px` } : undefined"
|
|
37
38
|
>
|
|
@@ -159,6 +160,7 @@ enum TYPE_INFO_ITEM {
|
|
|
159
160
|
const props = defineProps<{
|
|
160
161
|
items: Array<{
|
|
161
162
|
label: string
|
|
163
|
+
labelClass?: string
|
|
162
164
|
value?: any
|
|
163
165
|
component?: any
|
|
164
166
|
props?: Record<string, any>
|
|
@@ -213,7 +213,7 @@ const getMessage = (item: INotificationItem): string => {
|
|
|
213
213
|
|
|
214
214
|
if (item.data) {
|
|
215
215
|
Object.entries(item.data).forEach(([key, value]) => {
|
|
216
|
-
if (key.endsWith('_slug') && typeof value === 'string' && value) {
|
|
216
|
+
if ((key.endsWith('_slug') || key.endsWith('_name')) && typeof value === 'string' && value) {
|
|
217
217
|
const escapedValue = value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')
|
|
218
218
|
const slugPattern = new RegExp(escapedValue, 'g')
|
|
219
219
|
|