bfg-common 1.5.511 → 1.5.513

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 (129) hide show
  1. package/CODE_STYLE.md +109 -109
  2. package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
  3. package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
  4. package/assets/img/icons/icons-sprite-light-3.svg +227 -227
  5. package/assets/img/icons/icons-sprite-light-5.svg +488 -488
  6. package/assets/localization/local_be.json +1 -1
  7. package/assets/localization/local_en.json +1 -1
  8. package/assets/localization/local_hy.json +1 -1
  9. package/assets/localization/local_kk.json +1 -1
  10. package/assets/localization/local_ru.json +1 -1
  11. package/assets/localization/local_zh.json +1 -1
  12. package/components/atoms/TheIcon3.vue +50 -50
  13. package/components/atoms/collapse/CollapseNav.vue +170 -170
  14. package/components/atoms/perPage/PerPage.vue +58 -58
  15. package/components/atoms/table/dataGrid/DataGridPagination.vue +97 -97
  16. package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +94 -94
  17. package/components/atoms/table/dataGrid/lib/utils/export.ts +16 -16
  18. package/components/atoms/table/info/lib/models/interfaces.ts +1 -0
  19. package/components/common/backup/storage/actions/add/Add.vue +251 -251
  20. package/components/common/backup/storage/actions/add/lib/utils.ts +51 -51
  21. package/components/common/browse/blocks/contents/filesNew/Skeleton.vue +18 -18
  22. package/components/common/browse/blocks/lib/models/types.ts +1 -1
  23. package/components/common/browse/lib/models/interfaces.ts +5 -5
  24. package/components/common/countdownTimer/CountdownTimer.vue +11 -4
  25. package/components/common/countdownTimer/CountdownTimerNew.vue +13 -5
  26. package/components/common/diagramMain/modals/lib/config/networkModal.ts +7 -3
  27. package/components/common/diagramMain/network/Contents.vue +497 -497
  28. package/components/common/layout/theHeader/helpMenu/About.vue +79 -79
  29. package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +79 -79
  30. package/components/common/layout/theHeader/modals/reconnect/ReconnectNew.vue +1 -0
  31. package/components/common/pages/backups/DetailView.vue +52 -52
  32. package/components/common/pages/backups/lib/models/interfaces.ts +36 -36
  33. package/components/common/pages/backups/modals/Modals.vue +243 -243
  34. package/components/common/pages/backups/modals/createBackup/configuration/Configuration.vue +29 -29
  35. package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/config/options.ts +6 -6
  36. package/components/common/pages/backups/modals/createBackup/datastores/tableView/TableView.vue +95 -95
  37. package/components/common/pages/backups/modals/createBackup/general/General.vue +141 -141
  38. package/components/common/pages/backups/modals/createBackup/lib/config/strategyOptions.ts +12 -12
  39. package/components/common/pages/backups/modals/lib/config/restore.ts +115 -115
  40. package/components/common/pages/backups/modals/lib/models/interfaces.ts +186 -186
  41. package/components/common/pages/backups/modals/restore/disks/Disks.vue +27 -27
  42. package/components/common/pages/backups/modals/restore/disks/tableView/lib/config/table.ts +117 -117
  43. package/components/common/pages/backups/modals/restore/name/Name.vue +166 -166
  44. package/components/common/pages/backups/modals/restore/name/lib/models/interfaces.ts +6 -6
  45. package/components/common/pages/backups/modals/restore/networks/Networks.vue +67 -67
  46. package/components/common/pages/backups/modals/restore/networks/table/Table.vue +214 -214
  47. package/components/common/pages/backups/modals/restore/types/lib/config/typeOptions.ts +25 -25
  48. package/components/common/pages/home/lib/models/interfaces.ts +48 -48
  49. package/components/common/pages/home/widgets/hosts/Hosts.vue +27 -27
  50. package/components/common/pages/home/widgets/hosts/lib/config/items.ts +23 -23
  51. package/components/common/pages/home/widgets/vms/VmsOld.vue +35 -35
  52. package/components/common/pages/home/widgets/vms/lib/config/items.ts +19 -19
  53. package/components/common/pages/scheduledTasks/lib/utils/utils.ts +84 -84
  54. package/components/common/readyToComplete/New.vue +9 -0
  55. package/components/common/readyToComplete/ReadyToComplete.vue +17 -17
  56. package/components/common/select/radio/RadioGroup.vue +137 -137
  57. package/components/common/spiceConsole/Drawer.vue +420 -392
  58. package/components/common/spiceConsole/SpiceConsole.vue +184 -184
  59. package/components/common/spiceConsole/lib/models/interfaces.ts +5 -5
  60. package/components/common/spiceConsole/lib/models/types.ts +1 -0
  61. package/components/common/tools/Actions.vue +207 -207
  62. package/components/common/treeView/TreeView.vue +52 -52
  63. package/components/common/vm/actions/add/Add.vue +895 -895
  64. package/components/common/vm/actions/add/New.vue +695 -695
  65. package/components/common/vm/actions/add/Old.vue +414 -414
  66. package/components/common/vm/actions/add/lib/config/steps.ts +347 -347
  67. package/components/common/vm/actions/clone/Clone.vue +863 -863
  68. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +368 -368
  69. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/Shares.vue +140 -140
  70. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +28 -28
  71. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/location/Location.vue +154 -154
  72. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/location/new/table/Table.vue +99 -99
  73. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/macAddress/MacAddress.vue +119 -119
  74. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newPciDevice/dynamicDirectPathIo/DynamicDirectPathIo.vue +31 -31
  75. package/components/common/vm/actions/common/customizeHardware/virtualHardware/other/Other.vue +16 -16
  76. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/numberDisplays/NumberDisplays.vue +53 -53
  77. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/delay/Delay.vue +32 -32
  78. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/firmware/Firmware.vue +60 -60
  79. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +174 -174
  80. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +32 -32
  81. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/password/Password.vue +103 -103
  82. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/usbRedirection/UsbRedirection.vue +28 -28
  83. package/components/common/vm/actions/common/select/compatibility/Old.vue +107 -107
  84. package/components/common/vm/actions/common/select/computeResource/ComputeResource.vue +143 -143
  85. package/components/common/vm/actions/common/select/computeResource/New.vue +184 -184
  86. package/components/common/vm/actions/common/select/computeResource/treeView/TreeView.vue +131 -131
  87. package/components/common/vm/actions/common/select/createType/CreateType.vue +38 -38
  88. package/components/common/vm/actions/common/select/createType/lib/models/interfaces.ts +5 -5
  89. package/components/common/vm/actions/common/select/os/Old.vue +152 -152
  90. package/components/common/vm/actions/common/select/os/Os.vue +139 -139
  91. package/components/common/vm/actions/common/select/storage/new/New.vue +320 -320
  92. package/components/common/vm/actions/common/select/storage/new/lib/models/interfaces.ts +5 -5
  93. package/components/common/vm/actions/common/select/storage/new/lib/utils/utils.ts +21 -21
  94. package/components/common/vm/actions/common/select/template/old/Old.vue +50 -50
  95. package/components/common/vm/actions/editSettings/new/Skeleton.vue +88 -88
  96. package/components/common/vm/actions/register/Register.vue +285 -285
  97. package/components/common/vm/actions/register/lib/config/steps.ts +86 -86
  98. package/components/common/wizards/common/steps/name/Name.vue +179 -179
  99. package/components/common/wizards/common/steps/name/New.vue +221 -221
  100. package/components/common/wizards/common/steps/name/Old.vue +121 -121
  101. package/components/common/wizards/common/steps/name/lib/models/interfaces.ts +4 -4
  102. package/components/common/wizards/common/steps/name/location/Location.vue +85 -85
  103. package/components/common/wizards/common/steps/name/location/New.vue +40 -40
  104. package/components/common/wizards/datastore/add/Add.vue +228 -228
  105. package/components/common/wizards/datastore/add/lib/utils.ts +85 -85
  106. package/components/common/wizards/datastore/add/steps/typeMode/lib/config/typeOptions.ts +43 -43
  107. package/components/common/wizards/vm/migrate/select/network/Network.vue +103 -103
  108. package/composables/useAppVersion.ts +21 -21
  109. package/composables/useLocal.ts +6 -6
  110. package/composables/useLocalCommon.ts +39 -39
  111. package/package.json +1 -1
  112. package/plugins/console.ts +21 -22
  113. package/plugins/date.ts +233 -233
  114. package/plugins/mouse.ts +21 -0
  115. package/plugins/panelStates.ts +70 -70
  116. package/plugins/text.ts +59 -59
  117. package/public/spice-console/application/clientgui.js +854 -849
  118. package/public/spice-console/application/packetfactory.js +211 -206
  119. package/public/spice-console/application/virtualmouse.js +146 -109
  120. package/public/spice-console/lib/images/bitmap.js +203 -203
  121. package/public/spice-console/network/spicechannel.js +440 -440
  122. package/public/spice-console/process/cursorprocess.js +121 -111
  123. package/public/spice-console/process/inputprocess.js +227 -203
  124. package/public/spice-console/process/mainprocess.js +210 -78
  125. package/public/spice-console/run.js +210 -210
  126. package/public/spice-console/spiceobjects/spiceobjects.js +49 -28
  127. package/public/spice-console-minify/run.min.js +1 -1
  128. package/store/main/mutations.ts +7 -7
  129. package/store/main/state.ts +7 -7
@@ -3,15 +3,22 @@
3
3
  v-if="isNewView"
4
4
  :minutes="minutes"
5
5
  :seconds="seconds"
6
+ :is-hide-seconds-text="props.isHideSecondsText"
6
7
  />
7
8
  <common-countdown-timer-old v-else :minutes="minutes" :seconds="seconds" />
8
9
  </template>
9
10
 
10
11
  <script lang="ts" setup>
11
- const props = defineProps<{
12
- timer: number
13
- totalTime: number
14
- }>()
12
+ const props = withDefaults(
13
+ defineProps<{
14
+ timer: number
15
+ totalTime: number
16
+ isHideSecondsText?: boolean
17
+ }>(),
18
+ {
19
+ isHideSecondsText: false,
20
+ }
21
+ )
15
22
 
16
23
  const { $store }: any = useNuxtApp()
17
24
 
@@ -2,7 +2,9 @@
2
2
  <div class="countdown-timer-container flex items-center justify-center">
3
3
  <div class="inner-block">
4
4
  <span class="value">{{ props.minutes }}:{{ props.seconds }}</span>
5
- <span class="seconds-text">{{ localization.common.seconds }}</span>
5
+ <span v-if="!props.isHideSecondsText" class="seconds-text">{{
6
+ localization.common.seconds
7
+ }}</span>
6
8
  </div>
7
9
  </div>
8
10
  </template>
@@ -10,10 +12,16 @@
10
12
  <script lang="ts" setup>
11
13
  import type { UI_I_Localization } from '~/lib/models/interfaces'
12
14
 
13
- const props = defineProps<{
14
- minutes: string
15
- seconds: string
16
- }>()
15
+ const props = withDefaults(
16
+ defineProps<{
17
+ minutes: string
18
+ seconds: string
19
+ isHideSecondsText?: boolean
20
+ }>(),
21
+ {
22
+ isHideSecondsText: false,
23
+ }
24
+ )
17
25
 
18
26
  const localization = computed<UI_I_Localization>(() => useLocal())
19
27
  </script>
@@ -271,7 +271,9 @@ export const networkPopupFieldsFunc = (
271
271
  value: 'network-edit-settings',
272
272
  testId: `${testId}-edit`,
273
273
  permission:
274
- networkType === '1' ? 'Networks.UpdateSysx' : 'Networks.UpdatePortGroup',
274
+ networkType === '1'
275
+ ? 'Networks.UpdateInfoSysx'
276
+ : 'Networks.UpdatePortGroup',
275
277
  }
276
278
  const remove = {
277
279
  text: localization.common.remove,
@@ -313,7 +315,9 @@ export const networkPopupFieldsNewFunc = (
313
315
  iconName: 'edit',
314
316
  testId: `${testId}-edit`,
315
317
  permission:
316
- networkType === '1' ? 'Networks.UpdateSysx' : 'Networks.UpdatePortGroup',
318
+ networkType === '1'
319
+ ? 'Networks.UpdateInfoSysx'
320
+ : 'Networks.UpdatePortGroup',
317
321
  }
318
322
  const remove = {
319
323
  text: localization.common.remove,
@@ -323,7 +327,7 @@ export const networkPopupFieldsNewFunc = (
323
327
  textColor: '#ea3223',
324
328
  testId: `${testId}-remove`,
325
329
  permission:
326
- networkType === '1' ? 'Networks.RemoveSysx' : 'Networks.RemovePortGroup',
330
+ networkType === '1' ? 'Networks.RemoveSysx' : 'Networks.RemovePortGroup',
327
331
  // networkType === '1' ? 'network-vkernel-remove' : 'network-port-remove',
328
332
  }
329
333