bfg-common 1.3.245 → 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.
@@ -40,7 +40,9 @@ const getItems = (
40
40
  ]
41
41
  }
42
42
 
43
- export const columnKeys = (localization: UI_I_Localization): UI_I_ColumnKey[] => {
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(constructHeadItem(col, item[0], item[3], false, item[2]))
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
  })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.3.245",
4
+ "version": "1.3.246",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",