bfg-common 1.4.879 → 1.4.880

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.
@@ -1170,7 +1170,7 @@
1170
1170
  "product": "Продукт",
1171
1171
  "productFeatures": "Характеристики продукта",
1172
1172
  "profile": "Профиль",
1173
- "promiscuousMode": "Promiscuous mode",
1173
+ "promiscuousMode": "Беспорядочный режим",
1174
1174
  "propagate": "Распространение",
1175
1175
  "propagateToChildren": "Распространять на дочерние объекты",
1176
1176
  "properties": "Характеристики",
@@ -117,7 +117,7 @@ export interface UI_I_OverrideValue<T = string | number | boolean> {
117
117
  export interface UI_I_NetworkSummaryPortletListItem<
118
118
  T = string | number | boolean
119
119
  > {
120
- label: string
120
+ label?: string
121
121
  value: T
122
122
  id: string
123
123
  initialValue: UI_I_OverrideValue<T>
@@ -159,6 +159,7 @@ const texts = computed<UI_I_TableTexts>(() => ({
159
159
  exportAll: localization.value.common.exportAll,
160
160
  exportSelected: localization.value.common.exportSelected,
161
161
  all: localization.value.common.all,
162
+ filter: localization.value.common.filter,
162
163
  }))
163
164
  const skeletonData = ref<UI_I_DataTableSkeleton>({
164
165
  columnsCount: 6,
@@ -314,8 +315,8 @@ const onSelectNodeOfTree = (
314
315
  width: 100%;
315
316
 
316
317
  .action-icon {
317
- width: 16px;
318
- height: 16px;
318
+ width: 20px;
319
+ height: 20px;
319
320
  color: var(--actions-icon-color);
320
321
 
321
322
  &:hover {
@@ -232,11 +232,11 @@ export const getBodyDataFunc = (
232
232
  isHiddenCollapse: false,
233
233
  collapseToggle: false,
234
234
  data: [
235
- { col: 'col0', text: task.taskName },
235
+ { col: 'col0', text: task.taskName || '--' },
236
236
  {
237
237
  key: 'icon',
238
238
  col: 'col1',
239
- text: task.target,
239
+ text: task.target || '--',
240
240
  data: targetData,
241
241
  },
242
242
  {
@@ -246,16 +246,16 @@ export const getBodyDataFunc = (
246
246
  data: statusData,
247
247
  },
248
248
  { col: 'col3', text: task.details || '--' },
249
- { col: 'col4', text: task.initiator },
249
+ { col: 'col4', text: task.initiator || '--' },
250
250
  { col: 'col5', text: `${task.queuedFor} ms` },
251
251
  { col: 'col6', text: formattedStartTime },
252
252
  { col: 'col7', text: formattedCompletionTime },
253
253
  { col: 'col8', text: `${task.execution} ms` },
254
- { col: 'col9', text: task.server },
254
+ { col: 'col9', text: task.server || '--' },
255
255
  {
256
256
  key: 'icon',
257
257
  col: 'col10',
258
- text: task.zone,
258
+ text: task.zone || '--',
259
259
  data: zoneData,
260
260
  },
261
261
  {
@@ -4,17 +4,17 @@ import type { UI_I_Localization } from '~/lib/models/interfaces'
4
4
  // TODO поменять все :texts для таблицы нового дизайна
5
5
  export const tableTextsFunc = (
6
6
  localization: UI_I_Localization
7
- ): UI_I_TableTexts => {
8
- return {
9
- rowsPerPage: localization.common.rowsPerPage,
10
- of: localization.common.of,
11
- searchHere: localization.common.searchHere,
12
- selected: localization.common.selected,
13
- columns: localization.common.columns,
14
- previous: localization.common.previous,
15
- next: localization.common.next,
16
- noItemsFound: localization.common.noItemsFound,
17
- exportSelected: localization.common.exportSelected,
18
- exportAll: localization.common.exportAll,
19
- }
20
- }
7
+ ): UI_I_TableTexts => ({
8
+ searchHere: localization.common.searchHere,
9
+ rowsPerPage: localization.common.rowsPerPage,
10
+ of: localization.common.of,
11
+ selected: localization.common.selected,
12
+ columns: localization.common.columns,
13
+ previous: localization.common.previous,
14
+ next: localization.common.next,
15
+ noItemsFound: localization.common.noItemsFound,
16
+ exportAll: localization.common.exportAll,
17
+ exportSelected: localization.common.exportSelected,
18
+ all: localization.common.all,
19
+ filter: localization.common.filter,
20
+ })
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.879",
4
+ "version": "1.4.880",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -35,7 +35,7 @@
35
35
  "@vueuse/components": "^10.1.2",
36
36
  "date-fns": "^2.29.3",
37
37
  "bfg-nuxt-3-graph": "1.0.21",
38
- "bfg-uikit": "1.0.356",
38
+ "bfg-uikit": "1.0.363",
39
39
  "html2canvas": "^1.4.1",
40
40
  "prettier-eslint": "^15.0.1"
41
41
  }