bfg-common 1.4.75 → 1.4.77

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 (20) hide show
  1. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cdDvdDrive/CdDvdDrive.vue +1 -2
  2. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuHotPlug.vue +56 -57
  3. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuModel.vue +2 -4
  4. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Hv.vue +1 -2
  5. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Iommu.vue +1 -2
  6. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Pc.vue +1 -2
  7. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/MemoryHotPlug.vue +1 -2
  8. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +1 -2
  9. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/Graphics.vue +1 -2
  10. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/Menu.vue +1 -2
  11. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/Secure.vue +1 -2
  12. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +1 -2
  13. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +1 -2
  14. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/FileTransfer.vue +1 -2
  15. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/FolderSharing.vue +1 -2
  16. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/PlaybackCompression.vue +1 -2
  17. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/PowerControl.vue +1 -2
  18. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +1 -2
  19. package/components/common/vm/actions/common/customizeHardware/vmoptions/tools/Tools.vue +1 -2
  20. package/package.json +20 -20
@@ -24,13 +24,12 @@
24
24
  <div class="flex-align-center" @click.stop>
25
25
  <input
26
26
  :id="`cd-dvd-delete-files-from-datastore-${props.index}`"
27
+ v-model="deleteFilesFromDatastore"
27
28
  :data-id="`cd-dvd-delete-files-from-datastore-${props.index}`"
28
29
  :disabled="props.disabled"
29
30
  type="checkbox"
30
31
  class="pointer"
31
32
  @click.stop
32
- v-model="deleteFilesFromDatastore"
33
- @input="deleteFilesFromDatastore = !deleteFilesFromDatastore"
34
33
  />
35
34
  <label
36
35
  :for="`cd-dvd-delete-files-from-datastore-${props.index}`"
@@ -1,57 +1,56 @@
1
- <template>
2
- <div class="">
3
- <atoms-stack-block :has-children="false">
4
- <template #stackBlockKey>
5
- {{ localization.common.cpuHotPlug }}
6
- </template>
7
- <template #stackBlockContent>
8
- <input
9
- id="enable-cpu-hot-add"
10
- data-id="enable-cpu-hot-add"
11
- type="checkbox"
12
- :disabled="props.disabled"
13
- v-model="enableCpuHotAddLocal"
14
- @input="enableCpuHotAddLocal = !enableCpuHotAddLocal"
15
- />
16
- <label
17
- for="enable-cpu-hot-add"
18
- :class="['label-text-normal', props.disabled && 'div-disabled']"
19
- >{{ localization.common.enableCpuHotAdd }}</label
20
- >
21
- </template>
22
- </atoms-stack-block>
23
- </div>
24
- </template>
25
-
26
- <script setup lang="ts">
27
- import type { UI_I_Localization } from '~/lib/models/interfaces'
28
-
29
- const localization = computed<UI_I_Localization>(() => useLocal())
30
-
31
- const props = defineProps<{
32
- enableCpuHotAdd: boolean
33
- disabled: boolean
34
- }>()
35
- const emits = defineEmits<{
36
- (event: 'update:enable-cpu-hot-add', value: boolean): void
37
- }>()
38
-
39
- // const enableCpuHotAddLocal = ref(false)
40
- // const enableCpuHotAddLocal = defineModel('enableCpuHotAdd', {
41
- // required: true,
42
- // })
43
- const enableCpuHotAddLocal = computed<boolean>({
44
- get() {
45
- return props.enableCpuHotAdd
46
- },
47
- set(newValue) {
48
- emits('update:enable-cpu-hot-add', !newValue)
49
- },
50
- })
51
- </script>
52
-
53
- <style scoped lang="scss">
54
- #enable-cpu-hot-add {
55
- margin: 4px 4px 0 0;
56
- }
57
- </style>
1
+ <template>
2
+ <div class="">
3
+ <atoms-stack-block :has-children="false">
4
+ <template #stackBlockKey>
5
+ {{ localization.common.cpuHotPlug }}
6
+ </template>
7
+ <template #stackBlockContent>
8
+ <input
9
+ id="enable-cpu-hot-add"
10
+ v-model="enableCpuHotAddLocal"
11
+ data-id="enable-cpu-hot-add"
12
+ type="checkbox"
13
+ :disabled="props.disabled"
14
+ />
15
+ <label
16
+ for="enable-cpu-hot-add"
17
+ :class="['label-text-normal', props.disabled && 'div-disabled']"
18
+ >{{ localization.common.enableCpuHotAdd }}</label
19
+ >
20
+ </template>
21
+ </atoms-stack-block>
22
+ </div>
23
+ </template>
24
+
25
+ <script setup lang="ts">
26
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
27
+
28
+ const localization = computed<UI_I_Localization>(() => useLocal())
29
+
30
+ const props = defineProps<{
31
+ enableCpuHotAdd: boolean
32
+ disabled: boolean
33
+ }>()
34
+ const emits = defineEmits<{
35
+ (event: 'update:enable-cpu-hot-add', value: boolean): void
36
+ }>()
37
+
38
+ // const enableCpuHotAddLocal = ref(false)
39
+ // const enableCpuHotAddLocal = defineModel('enableCpuHotAdd', {
40
+ // required: true,
41
+ // })
42
+ const enableCpuHotAddLocal = computed<boolean>({
43
+ get() {
44
+ return props.enableCpuHotAdd
45
+ },
46
+ set(newValue) {
47
+ emits('update:enable-cpu-hot-add', !newValue)
48
+ },
49
+ })
50
+ </script>
51
+
52
+ <style scoped lang="scss">
53
+ #enable-cpu-hot-add {
54
+ margin: 4px 4px 0 0;
55
+ }
56
+ </style>
@@ -36,11 +36,10 @@
36
36
  <div class="passthrough-host-cpu-wrap flex-align-center">
37
37
  <input
38
38
  id="passthrough-host-cpu"
39
+ v-model="passthroughHostCpuLocal"
39
40
  data-id="passthrough-host-cpu"
40
41
  :disabled="props.disabled"
41
42
  type="checkbox"
42
- v-model="passthroughHostCpuLocal"
43
- @input="passthroughHostCpuLocal = !passthroughHostCpuLocal"
44
43
  @change="changePassthroughHostCpu"
45
44
  />
46
45
  <label for="passthrough-host-cpu" class="label-text-normal">{{
@@ -80,11 +79,10 @@
80
79
  <div class="flex-align-center">
81
80
  <input
82
81
  id="host-model-cpu"
82
+ v-model="hostModelCpuLocal"
83
83
  data-id="host-model-cpu-input"
84
84
  type="checkbox"
85
85
  :disabled="props.disabled"
86
- v-model="hostModelCpuLocal"
87
- @input="hostModelCpuLocal = !hostModelCpuLocal"
88
86
  @change="changeHostModelCpu"
89
87
  />
90
88
  <label for="host-model-cpu" class="label-text-normal">{{
@@ -9,11 +9,10 @@
9
9
  <div class="flex-align-center">
10
10
  <input
11
11
  id="expose-hardware-assisted-virtualization"
12
+ v-model="hardwareVirtualizationLocal"
12
13
  data-id="expose-hardware-assisted-virtualization"
13
14
  type="checkbox"
14
15
  disabled
15
- v-model="hardwareVirtualizationLocal"
16
- @input="hardwareVirtualizationLocal = !hardwareVirtualizationLocal"
17
16
  />
18
17
  <label
19
18
  for="expose-hardware-assisted-virtualization"
@@ -9,11 +9,10 @@
9
9
  <div class="flex-align-center">
10
10
  <input
11
11
  id="enable-iommu"
12
+ v-model="iommuLocal"
12
13
  type="checkbox"
13
14
  data-id="select-enable-iommu"
14
15
  disabled
15
- v-model="iommuLocal"
16
- @input="iommuLocal = !iommuLocal"
17
16
  />
18
17
  <label
19
18
  for="enable-iommu"
@@ -9,11 +9,10 @@
9
9
  <div class="flex-align-center">
10
10
  <input
11
11
  id="enable-performance-counters"
12
+ v-model="performanceCountersLocal"
12
13
  data-id="enable-performance-counters"
13
14
  type="checkbox"
14
15
  disabled
15
- v-model="performanceCountersLocal"
16
- @input="performanceCountersLocal = !performanceCountersLocal"
17
16
  />
18
17
  <label
19
18
  for="enable-performance-counters"
@@ -8,11 +8,10 @@
8
8
  <div class="flex-align-center">
9
9
  <input
10
10
  id="memory-hot-plug"
11
+ v-model="memoryHotPlugLocal"
11
12
  data-id="memory-hot-plug-input"
12
13
  type="checkbox"
13
14
  :disabled="props.disabled"
14
- v-model="memoryHotPlugLocal"
15
- @input="memoryHotPlugLocal = !memoryHotPlugLocal"
16
15
  />
17
16
  <label
18
17
  for="memory-hot-plug"
@@ -31,12 +31,11 @@
31
31
  <div @click.stop class="flex-align-center">
32
32
  <input
33
33
  :id="`hard-disk-delete-files-from-datastore-${props.index}`"
34
+ v-model="deleteFilesFromDatastore"
34
35
  :data-id="`hard-disk-delete-files-from-datastore-${props.index}`"
35
36
  :disabled="props.disabled"
36
37
  type="checkbox"
37
38
  class="pointer"
38
- v-model="deleteFilesFromDatastore"
39
- @input="deleteFilesFromDatastore = !deleteFilesFromDatastore"
40
39
  @click.stop
41
40
  />
42
41
  <label
@@ -8,10 +8,9 @@
8
8
  <div class="flex-align-center">
9
9
  <input
10
10
  id="graphics"
11
+ v-model="graphicsLocal"
11
12
  data-id="graphics-checkbox"
12
13
  type="checkbox"
13
- v-model="graphicsLocal"
14
- @input="graphicsLocal = !graphicsLocal"
15
14
  />
16
15
  <label for="graphics" class="label-text-normal">{{
17
16
  localization.common.enable3dSupport
@@ -8,10 +8,9 @@
8
8
  <div class="flex-align-center">
9
9
  <input
10
10
  id="boot-menu"
11
+ v-model="bootMenuLocal"
11
12
  data-id="boot-menu-checkbox"
12
13
  type="checkbox"
13
- v-model="bootMenuLocal"
14
- @input="bootMenuLocal = !bootMenuLocal"
15
14
  />
16
15
  <label for="boot-menu" class="label-text-normal">{{
17
16
  localization.common.enable
@@ -8,10 +8,9 @@
8
8
  <div class="flex-align-center">
9
9
  <input
10
10
  id="secure-boot"
11
+ v-model="secureBootLocal"
11
12
  data-id="secure-boot-checkbox"
12
13
  type="checkbox"
13
- v-model="secureBootLocal"
14
- @input="secureBootLocal = !secureBootLocal"
15
14
  />
16
15
  <label for="secure-boot" class="label-text-normal">{{
17
16
  localization.common.enable
@@ -17,10 +17,9 @@
17
17
  >
18
18
  <input
19
19
  :id="`boot-order-${index}`"
20
+ v-model="item.isChecked"
20
21
  :data-id="item.testId"
21
22
  type="checkbox"
22
- v-model="item.isChecked"
23
- @input="item.isChecked = !item.isChecked"
24
23
  />
25
24
  </template>
26
25
  <template
@@ -8,11 +8,10 @@
8
8
  <div class="flex-align-center">
9
9
  <input
10
10
  id="copy-paste"
11
+ v-model="copyPasteLocal"
11
12
  data-id="copy-paste-checkbox"
12
13
  :disabled="props.disabled"
13
14
  type="checkbox"
14
- v-model="copyPasteLocal"
15
- @input="copyPasteLocal = !copyPasteLocal"
16
15
  />
17
16
  <label for="copy-paste" class="label-text-normal">{{
18
17
  localization.common.enable
@@ -8,11 +8,10 @@
8
8
  <div class="flex-align-center">
9
9
  <input
10
10
  id="file-transfer"
11
+ v-model="fileTransferLocal"
11
12
  data-id="file-transfer-checkbox"
12
13
  :disabled="props.disabled"
13
14
  type="checkbox"
14
- v-model="fileTransferLocal"
15
- @input="fileTransferLocal = !fileTransferLocal"
16
15
  />
17
16
  <label for="file-transfer" class="label-text-normal">{{
18
17
  localization.common.enable
@@ -8,11 +8,10 @@
8
8
  <div class="flex-align-center">
9
9
  <input
10
10
  id="folder-sharing"
11
+ v-model="folderSharingLocal"
11
12
  data-id="folder-sharing-checkbox"
12
13
  type="checkbox"
13
14
  disabled
14
- v-model="folderSharingLocal"
15
- @input="folderSharingLocal = !folderSharingLocal"
16
15
  />
17
16
  <label for="folder-sharing" class="div-disabled label-text-normal">{{
18
17
  localization.common.enable
@@ -8,11 +8,10 @@
8
8
  <div class="flex-align-center">
9
9
  <input
10
10
  id="playback-compression"
11
+ v-model="playbackCompressionLocal"
11
12
  data-id="playback-compression-checkbox"
12
13
  :disabled="props.disabled"
13
14
  type="checkbox"
14
- v-model="playbackCompressionLocal"
15
- @input="playbackCompressionLocal = !playbackCompressionLocal"
16
15
  />
17
16
  <label for="playback-compression" class="label-text-normal">{{
18
17
  localization.common.enable
@@ -8,10 +8,9 @@
8
8
  <div class="flex-align-center">
9
9
  <input
10
10
  id="power-control"
11
+ v-model="powerControlLocal"
11
12
  data-id="power-control-checkbox"
12
13
  type="checkbox"
13
- v-model="powerControlLocal"
14
- @input="powerControlLocal = !powerControlLocal"
15
14
  />
16
15
  <label for="power-control" class="label-text-normal">{{
17
16
  localization.common.enable
@@ -8,11 +8,10 @@
8
8
  <div class="flex-align-center">
9
9
  <input
10
10
  id="enable-password"
11
+ v-model="isEnabledPassword"
11
12
  data-id="enable-password-input"
12
13
  :disabled="props.disabled"
13
14
  type="checkbox"
14
- v-model="isEnabledPassword"
15
- @input="isEnabledPassword = !isEnabledPassword"
16
15
  @change="setPasswordDisable"
17
16
  />
18
17
  <label for="enable-password" class="label-text-normal mr-1">{{
@@ -18,10 +18,9 @@
18
18
  <template #stackBlockContent>
19
19
  <input
20
20
  id="tools-2"
21
+ v-model="tools"
21
22
  data-id="tools-2-checkbox"
22
23
  type="checkbox"
23
- v-model="tools"
24
- @input="tools = !tools"
25
24
  />
26
25
  <label for="tools-2" class="label-text-normal">{{
27
26
  localization.common.enable
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bfg-common",
3
3
  "private": false,
4
- "version": "1.4.75",
4
+ "version": "1.4.77",
5
5
  "scripts": {
6
6
  "build": "nuxt build",
7
7
  "dev": "nuxt dev --port=3002",
@@ -13,30 +13,30 @@
13
13
  },
14
14
  "devDependencies": {
15
15
  "@novnc/novnc": "1.4.0",
16
- "@vueuse/core": "10.1.2",
17
- "@vueuse/nuxt": "10.1.2",
18
- "eslint-config-prettier": "8.5.0",
16
+ "@vueuse/core": "^10.1.2",
17
+ "@vueuse/nuxt": "^10.1.2",
18
+ "eslint-config-prettier": "^8.5.0",
19
19
  "nuxt": "3.13.1",
20
20
  "prettier": "2.7.1",
21
- "sass": "1.54.9",
22
- "sass-loader": "10.3.1",
23
- "terser": "5.22.0",
24
- "vite-plugin-eslint": "1.8.1",
25
- "xterm": "5.1.0",
26
- "xterm-addon-attach": "0.8.0",
27
- "xterm-addon-fit": "0.7.0",
28
- "xterm-addon-serialize": "0.9.0",
29
- "xterm-addon-unicode11": "0.5.0",
30
- "xterm-addon-web-links": "0.8.0",
21
+ "sass": "^1.54.9",
22
+ "sass-loader": "^10.3.1",
23
+ "terser": "^5.22.0",
24
+ "vite-plugin-eslint": "^1.8.1",
25
+ "xterm": "^5.1.0",
26
+ "xterm-addon-attach": "^0.8.0",
27
+ "xterm-addon-fit": "^0.7.0",
28
+ "xterm-addon-serialize": "^0.9.0",
29
+ "xterm-addon-unicode11": "^0.5.0",
30
+ "xterm-addon-web-links": "^0.8.0",
31
31
  "eslint-plugin-myrules": "file:./eslint"
32
32
  },
33
33
  "dependencies": {
34
- "@nuxtjs/eslint-config-typescript": "12.0.0",
35
- "@vueuse/components": "10.1.2",
36
- "date-fns": "2.29.3",
37
- "bfg-nuxt-3-graph": "1.0.15",
34
+ "@nuxtjs/eslint-config-typescript": "^12.0.0",
35
+ "@vueuse/components": "^10.1.2",
36
+ "date-fns": "^2.29.3",
37
+ "bfg-nuxt-3-graph": "^1.0.15",
38
38
  "bfg-uikit": "1.0.91",
39
- "html2canvas": "1.4.1",
40
- "prettier-eslint": "15.0.1"
39
+ "html2canvas": "^1.4.1",
40
+ "prettier-eslint": "^15.0.1"
41
41
  }
42
42
  }