bfg-common 1.3.244 → 1.3.246
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/components/atoms/table/dataGrid/DataGrid.vue +1 -1
- package/components/common/context/ContextRecursion.vue +1 -1
- package/components/common/context/lib/models/interfaces.ts +1 -0
- package/components/common/monitor/advanced/table/lib/config/performanceDatatable.ts +15 -2
- package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/lib/config/tableConfig.ts +3 -1
- package/package.json +1 -1
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
<div class="flex-align-center">
|
|
298
298
|
<button
|
|
299
299
|
:id="`${props.testId}-toggle-icon-${key}`"
|
|
300
|
-
:
|
|
300
|
+
:data-id="`${item[0].testId}-toggle-row-button`"
|
|
301
301
|
class="datagrid-expandable-caret-button reset-btn"
|
|
302
302
|
@click="toggle(key)"
|
|
303
303
|
>
|
|
@@ -40,7 +40,9 @@ const getItems = (
|
|
|
40
40
|
]
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
export const columnKeys = (
|
|
43
|
+
export const columnKeys = (
|
|
44
|
+
localization: UI_I_Localization
|
|
45
|
+
): UI_I_ColumnKey[] => {
|
|
44
46
|
const result: UI_I_ColumnKey[] = []
|
|
45
47
|
getItems(localization).forEach((item, i) => {
|
|
46
48
|
const col = `col${i + 1}`
|
|
@@ -54,7 +56,9 @@ export const headItems = (localization: UI_I_Localization): UI_I_HeadItem[] => {
|
|
|
54
56
|
const result: UI_I_HeadItem[] = []
|
|
55
57
|
getItems(localization).forEach((item, i) => {
|
|
56
58
|
const col = `col${i + 1}`
|
|
57
|
-
result.push(
|
|
59
|
+
result.push(
|
|
60
|
+
constructHeadItem(col, item[0], item[3], false, item[2], '', item[3])
|
|
61
|
+
)
|
|
58
62
|
})
|
|
59
63
|
return result
|
|
60
64
|
}
|
|
@@ -69,46 +73,55 @@ export const bodyItems = (data: UI_I_PerformanceItem[]): UI_I_BodyItem[][] => {
|
|
|
69
73
|
text: '',
|
|
70
74
|
data: { color: performance[performanceTableKey[0]] },
|
|
71
75
|
id: key,
|
|
76
|
+
testId: `advanced-item-${performanceTableKey[0]}-${key}`,
|
|
72
77
|
},
|
|
73
78
|
{
|
|
74
79
|
key: 'col2',
|
|
75
80
|
text: performance[performanceTableKey[1]],
|
|
76
81
|
id: key,
|
|
82
|
+
testId: `advanced-item-${performanceTableKey[1]}-${key}`,
|
|
77
83
|
},
|
|
78
84
|
{
|
|
79
85
|
key: 'col3',
|
|
80
86
|
text: performance[performanceTableKey[2]],
|
|
81
87
|
id: key,
|
|
88
|
+
testId: `advanced-item-${performanceTableKey[2]}-${key}`,
|
|
82
89
|
},
|
|
83
90
|
{
|
|
84
91
|
key: 'col4',
|
|
85
92
|
text: performance[performanceTableKey[3]],
|
|
86
93
|
id: key,
|
|
94
|
+
testId: `advanced-item-${performanceTableKey[3]}-${key}`,
|
|
87
95
|
},
|
|
88
96
|
{
|
|
89
97
|
key: 'col5',
|
|
90
98
|
text: performance[performanceTableKey[4]],
|
|
91
99
|
id: key,
|
|
100
|
+
testId: `advanced-item-${performanceTableKey[4]}-${key}`,
|
|
92
101
|
},
|
|
93
102
|
{
|
|
94
103
|
key: 'col6',
|
|
95
104
|
text: performance[performanceTableKey[5]],
|
|
96
105
|
id: key,
|
|
106
|
+
testId: `advanced-item-${performanceTableKey[5]}-${key}`,
|
|
97
107
|
},
|
|
98
108
|
{
|
|
99
109
|
key: 'col7',
|
|
100
110
|
text: performance[performanceTableKey[6]],
|
|
101
111
|
id: key,
|
|
112
|
+
testId: `advanced-item-${performanceTableKey[6]}-${key}`,
|
|
102
113
|
},
|
|
103
114
|
{
|
|
104
115
|
key: 'col8',
|
|
105
116
|
text: performance[performanceTableKey[7]],
|
|
106
117
|
id: key,
|
|
118
|
+
testId: `advanced-item-${performanceTableKey[7]}-${key}`,
|
|
107
119
|
},
|
|
108
120
|
{
|
|
109
121
|
key: 'col9',
|
|
110
122
|
text: performance[performanceTableKey[8]],
|
|
111
123
|
id: key,
|
|
124
|
+
testId: `advanced-item-${performanceTableKey[8]}-${key}`,
|
|
112
125
|
},
|
|
113
126
|
])
|
|
114
127
|
})
|
|
@@ -45,7 +45,9 @@ export const headItems = (localization: UI_I_Localization): UI_I_HeadItem[] => {
|
|
|
45
45
|
const result: UI_I_HeadItem[] = []
|
|
46
46
|
getItems(localization).forEach((item, i) => {
|
|
47
47
|
const col = `col${i + 1}`
|
|
48
|
-
result.push(
|
|
48
|
+
result.push(
|
|
49
|
+
constructHeadItem(col, item[0], item[3], false, item[2], '', item[3])
|
|
50
|
+
)
|
|
49
51
|
})
|
|
50
52
|
return result
|
|
51
53
|
}
|