bfg-common 1.3.248 → 1.3.250

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.
Files changed (30) hide show
  1. package/components/atoms/switch/Switch.vue +111 -111
  2. package/components/atoms/table/compact/Compact.vue +526 -526
  3. package/components/atoms/table/dataGrid/DataGrid.vue +1 -1
  4. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +2 -0
  5. package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +14 -2
  6. package/components/atoms/table/dataGrid/lib/models/interfaces.ts +1 -0
  7. package/components/atoms/table/dataGrid/lib/utils/constructDataTable.ts +3 -1
  8. package/components/common/tools/Actions.vue +1 -0
  9. package/components/common/vm/actions/clone/Clone.vue +518 -518
  10. package/components/common/vm/actions/common/customizeHardware/CustomizeHardware.vue +269 -269
  11. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +693 -693
  12. package/components/common/vm/actions/common/customizeHardware/virtualHardware/lib/config/dropdownItems.ts +59 -59
  13. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/NewPciDevice.vue +165 -165
  14. package/components/common/vm/actions/common/select/storage/lib/config/config.ts +166 -166
  15. package/components/common/vm/actions/editSettings/EditSettings.vue +313 -313
  16. package/components/common/weekSelect/lib/config/options.ts +10 -10
  17. package/composables/useAppVersion.ts +21 -21
  18. package/composables/useEnvLanguage.ts +20 -20
  19. package/lib/utils/sendTask.ts +72 -72
  20. package/minify.js +146 -146
  21. package/package.json +1 -1
  22. package/public/spice-console/application/codec.js +257 -257
  23. package/public/spice-console/lib/rasterEngine.js +907 -907
  24. package/public/spice-console/network/spicechannel.js +369 -369
  25. package/store/main/lib/interfaces.ts +9 -9
  26. package/store/tasks/actions.ts +133 -133
  27. package/store/tasks/getters.ts +25 -25
  28. package/store/tasks/lib/models/interfaces.ts +18 -18
  29. package/store/tasks/mutations.ts +58 -58
  30. package/store/tasks/state.ts +16 -16
@@ -448,7 +448,7 @@
448
448
  </div>
449
449
 
450
450
  <atoms-table-data-grid-pagination
451
- test-id="props.testId"
451
+ :test-id="props.testId"
452
452
  :page-size="props.pageSize"
453
453
  :page="props.page"
454
454
  :options="mergeOptions"
@@ -28,6 +28,7 @@
28
28
  <input
29
29
  :id="`${props.testId}-${item.id}`"
30
30
  v-model="item.show"
31
+ :data-id="item.testId"
31
32
  :disabled="isLast && item.show"
32
33
  type="checkbox"
33
34
  @change="change($event, key)"
@@ -43,6 +44,7 @@
43
44
  <div class="switch-footer">
44
45
  <button
45
46
  :id="`${props.testId}-select-all-button`"
47
+ :data-id="`${props.testId}-select-all-button`"
46
48
  class="btn btn-sm btn-link switch-button export-link"
47
49
  @click="selectAll"
48
50
  >
@@ -12,7 +12,9 @@ export const defaultColumnKeys = (
12
12
  ): UI_I_ColumnKey[] => {
13
13
  const result: UI_I_ColumnKey[] = []
14
14
  items.forEach((item, i) => {
15
- result.push(constructColumnKey(`col${i}`, item[0], item[1]))
15
+ result.push(
16
+ constructColumnKey(`col${i}`, item[0], item[1], `show-column-${item[3]}`)
17
+ )
16
18
  })
17
19
  return result
18
20
  }
@@ -22,7 +24,17 @@ export const defaultHeadItems = (
22
24
  ): UI_I_HeadItem[] => {
23
25
  const result: UI_I_HeadItem[] = []
24
26
  items.forEach((item, i) => {
25
- result.push(constructHeadItem(`col${i}`, item[0], item[3], false, item[2]))
27
+ result.push(
28
+ constructHeadItem(
29
+ `col${i}`,
30
+ item[0],
31
+ item[3],
32
+ false,
33
+ item[2],
34
+ undefined,
35
+ item[3]
36
+ )
37
+ )
26
38
  })
27
39
  return result
28
40
  }
@@ -32,4 +32,5 @@ export interface UI_I_ColumnKey {
32
32
  text: string
33
33
  show: boolean
34
34
  id?: number
35
+ testId?: string
35
36
  }
@@ -6,11 +6,13 @@ import {
6
6
  export const constructColumnKey = (
7
7
  key: string,
8
8
  text: string,
9
- show: boolean
9
+ show: boolean,
10
+ testId?: string
10
11
  ): UI_I_ColumnKey => ({
11
12
  key,
12
13
  text,
13
14
  show,
15
+ testId,
14
16
  })
15
17
 
16
18
  export const constructHeadItem = (
@@ -82,6 +82,7 @@ const collapsedItems = computed<UI_I_CollapseNavItem[]>(() => {
82
82
  value: item.type,
83
83
  disabled: item.disabled,
84
84
  uploaded: item.uploaded,
85
+ testId: item.testId,
85
86
  }
86
87
  })
87
88
  })