bfg-common 1.4.76 → 1.4.78

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 -56
  3. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CpuModel.vue +2 -2
  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 +21 -21
@@ -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,56 +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
- 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>
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>
@@ -162,7 +162,7 @@ const passthroughHostCpuLocal = computed<boolean>({
162
162
  return props.passthroughHostCpu
163
163
  },
164
164
  set(newValue) {
165
- emits('update:passthrough-host-cpu', newValue)
165
+ emits('update:passthrough-host-cpu', !newValue)
166
166
  },
167
167
  })
168
168
  const hostModelCpuLocal = computed<boolean>({
@@ -170,7 +170,7 @@ const hostModelCpuLocal = computed<boolean>({
170
170
  return props.hostModelCpu
171
171
  },
172
172
  set(newValue) {
173
- emits('update:host-model-cpu', newValue)
173
+ emits('update:host-model-cpu', !newValue)
174
174
  },
175
175
  })
176
176
 
@@ -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.76",
4
+ "version": "1.4.78",
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",
19
- "nuxt": "3.13.1",
16
+ "@vueuse/core": "^10.1.2",
17
+ "@vueuse/nuxt": "^10.1.2",
18
+ "eslint-config-prettier": "^8.5.0",
19
+ "nuxt": "3.11.2",
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
  }