bfg-common 1.5.634 → 1.5.636

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 (90) 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/components/atoms/TheIcon3.vue +50 -50
  7. package/components/atoms/collapse/CollapseNav.vue +170 -170
  8. package/components/atoms/perPage/PerPage.vue +58 -58
  9. package/components/atoms/table/dataGrid/DataGrid.vue +1718 -1718
  10. package/components/atoms/table/dataGrid/DataGridPagination.vue +97 -97
  11. package/components/atoms/table/dataGrid/lib/config/settingsTable.ts +94 -94
  12. package/components/atoms/table/dataGrid/lib/utils/export.ts +16 -16
  13. package/components/common/backup/storage/actions/add/lib/utils.ts +51 -51
  14. package/components/common/browse/blocks/contents/filesNew/Skeleton.vue +18 -18
  15. package/components/common/diagramMain/modals/lib/config/portModal.ts +251 -251
  16. package/components/common/diagramMain/modals/lib/config/vCenterModal.ts +48 -48
  17. package/components/common/diagramMain/port/Port.vue +580 -580
  18. package/components/common/layout/theHeader/helpMenu/About.vue +79 -79
  19. package/components/common/layout/theHeader/helpMenu/aboutOld/AboutOld.vue +79 -79
  20. package/components/common/pages/backups/DetailView.vue +52 -52
  21. package/components/common/pages/backups/lib/models/interfaces.ts +36 -36
  22. package/components/common/pages/backups/modals/Modals.vue +243 -243
  23. package/components/common/pages/backups/modals/createBackup/configuration/maxBandwidth/lib/config/options.ts +6 -6
  24. package/components/common/pages/backups/modals/createBackup/lib/config/readyToCompleteOptions.ts +69 -69
  25. package/components/common/pages/backups/modals/lib/config/restore.ts +115 -115
  26. package/components/common/pages/backups/modals/lib/models/interfaces.ts +186 -186
  27. package/components/common/pages/backups/modals/restore/name/lib/models/interfaces.ts +6 -6
  28. package/components/common/pages/home/lib/models/interfaces.ts +48 -48
  29. package/components/common/pages/home/widgets/hosts/Hosts.vue +27 -27
  30. package/components/common/pages/home/widgets/hosts/lib/config/items.ts +23 -23
  31. package/components/common/pages/home/widgets/vms/VmsOld.vue +35 -35
  32. package/components/common/pages/home/widgets/vms/lib/config/items.ts +19 -19
  33. package/components/common/pages/scheduledTasks/lib/utils/utils.ts +84 -84
  34. package/components/common/readyToComplete/ReadyToComplete.vue +17 -17
  35. package/components/common/select/radio/RadioGroup.vue +137 -137
  36. package/components/common/spiceConsole/Drawer.vue +420 -420
  37. package/components/common/spiceConsole/SpiceConsole.vue +184 -184
  38. package/components/common/spiceConsole/lib/models/interfaces.ts +5 -5
  39. package/components/common/tools/Actions.vue +207 -207
  40. package/components/common/treeView/TreeView.vue +52 -52
  41. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/shares/lib/config/options.ts +28 -28
  42. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +283 -283
  43. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +2 -2
  44. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/New.vue +11 -11
  45. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Old.vue +11 -11
  46. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +156 -154
  47. package/components/common/vm/actions/common/select/compatibility/Old.vue +107 -107
  48. package/components/common/vm/actions/common/select/createType/lib/models/interfaces.ts +5 -5
  49. package/components/common/vm/actions/common/select/storage/Old.vue +125 -125
  50. package/components/common/vm/actions/common/select/storage/new/New.vue +311 -311
  51. package/components/common/vm/actions/common/select/storage/new/lib/models/interfaces.ts +5 -5
  52. package/components/common/vm/actions/common/select/storage/new/lib/utils/utils.ts +21 -21
  53. package/components/common/vm/actions/common/select/template/old/Old.vue +50 -50
  54. package/components/common/vm/actions/editSettings/new/Skeleton.vue +88 -88
  55. package/components/common/vm/actions/register/New.vue +1 -17
  56. package/components/common/vm/actions/register/lib/config/steps.ts +86 -86
  57. package/components/common/wizards/common/compatibility/Compatibility.vue +35 -35
  58. package/components/common/wizards/common/compatibility/New.vue +99 -99
  59. package/components/common/wizards/common/compatibility/Old.vue +53 -53
  60. package/components/common/wizards/common/steps/computeResource/New.vue +93 -93
  61. package/components/common/wizards/common/steps/name/Name.vue +178 -178
  62. package/components/common/wizards/common/steps/name/New.vue +221 -221
  63. package/components/common/wizards/common/steps/name/Old.vue +121 -121
  64. package/components/common/wizards/common/steps/name/lib/models/interfaces.ts +4 -4
  65. package/components/common/wizards/common/steps/name/location/New.vue +40 -40
  66. package/components/common/wizards/datastore/add/Add.vue +228 -228
  67. package/components/common/wizards/datastore/add/lib/utils.ts +85 -85
  68. package/components/common/wizards/datastore/add/steps/typeMode/lib/config/typeOptions.ts +43 -43
  69. package/composables/useAppVersion.ts +21 -21
  70. package/composables/useLocal.ts +6 -6
  71. package/composables/useLocalCommon.ts +39 -39
  72. package/package.json +2 -2
  73. package/plugins/console.ts +21 -21
  74. package/plugins/mouse.ts +21 -21
  75. package/plugins/panelStates.ts +70 -70
  76. package/plugins/text.ts +59 -59
  77. package/public/spice-console/application/clientgui.js +854 -854
  78. package/public/spice-console/application/packetfactory.js +211 -211
  79. package/public/spice-console/application/virtualmouse.js +147 -147
  80. package/public/spice-console/lib/images/bitmap.js +203 -203
  81. package/public/spice-console/network/spicechannel.js +440 -440
  82. package/public/spice-console/process/cursorprocess.js +128 -128
  83. package/public/spice-console/process/inputprocess.js +227 -227
  84. package/public/spice-console/process/mainprocess.js +212 -212
  85. package/public/spice-console/run.js +210 -210
  86. package/store/main/mutations.ts +7 -7
  87. package/store/main/state.ts +7 -7
  88. package/store/tasks/actions.ts +165 -165
  89. package/store/tasks/mappers/recentTasks.ts +123 -123
  90. package/store/tasks/mutations.ts +82 -82
@@ -1,99 +1,99 @@
1
- <template>
2
- <div class="compatibility-wrap">
3
- <p class="compatibility">
4
- {{ localization.inventorySummary.compatibility }}
5
- </p>
6
- <div class="compatibility-message flex-align-start">
7
- <ui-skeleton-item v-if="props.loading" width="160px" height="16px" />
8
- <template v-else-if="props.text">
9
- <ui-icon
10
- v-show="props.status === 'error'"
11
- name="error"
12
- width="16"
13
- height="16"
14
- class="icon-compatibility-alert"
15
- />
16
-
17
- <ui-icon
18
- v-show="props.status === 'success'"
19
- name="success-fill"
20
- width="16"
21
- height="16"
22
- class="icon-compatibility-alert"
23
- />
24
- <span
25
- :class="[
26
- 'compatibility-message-description',
27
- { 'not-selected': props.status === 'none' },
28
- ]"
29
- >{{ props.text }}</span
30
- >
31
- </template>
32
- </div>
33
- </div>
34
- </template>
35
-
36
- <script lang="ts" setup>
37
- import type { UI_I_Localization } from '~/lib/models/interfaces'
38
- import type { UI_T_CompatibilityStatus } from '~/components/common/wizards/common/compatibility/lib/models/types'
39
-
40
- const props = withDefaults(
41
- defineProps<{
42
- text: string
43
- status: UI_T_CompatibilityStatus
44
- loading?: boolean
45
- }>(),
46
- {
47
- loading: true,
48
- }
49
- )
50
-
51
- const localization = computed<UI_I_Localization>(() => useLocal())
52
- </script>
53
-
54
- <style>
55
- :root {
56
- --compatibility-border-color: #e9ebed;
57
- --compatibility-bg-color: #ffffff;
58
- --compatibility-title-color: #4d5d69;
59
- --compatibility-empty-escription-color: #9da6ad;
60
- --compatibility-description-color: #4d5d69;
61
- }
62
- :root.dark-theme {
63
- --compatibility-border-color: #e9ebed1f;
64
- --compatibility-bg-color: #1b2a371f;
65
- --compatibility-title-color: #e9eaec;
66
- --compatibility-empty-escription-color: #9da6ad;
67
- --compatibility-description-color: #e9eaec;
68
- }
69
- </style>
70
- <style lang="scss" scoped>
71
- .compatibility-wrap {
72
- .compatibility {
73
- font-size: 16px;
74
- font-weight: 500;
75
- color: var(--compatibility-title-color);
76
- margin-bottom: 16px;
77
- }
78
- .compatibility-message {
79
- border-radius: 8px;
80
- border: 1px solid var(--compatibility-border-color);
81
- padding: 12px;
82
- background-color: var(--compatibility-bg-color);
83
- gap: 10px;
84
-
85
- .icon-compatibility-alert {
86
- min-width: 16px;
87
- min-height: 16px;
88
- }
89
- .compatibility-message-description {
90
- font-size: 13px;
91
- color: var(--compatibility-description-color);
92
-
93
- &.not-selected {
94
- color: var(--compatibility-empty-escription-color);
95
- }
96
- }
97
- }
98
- }
99
- </style>
1
+ <template>
2
+ <div class="compatibility-wrap">
3
+ <p class="compatibility">
4
+ {{ localization.inventorySummary.compatibility }}
5
+ </p>
6
+ <div class="compatibility-message flex-align-start">
7
+ <ui-skeleton-item v-if="props.loading" width="160px" height="16px" />
8
+ <template v-else-if="props.text">
9
+ <ui-icon
10
+ v-show="props.status === 'error'"
11
+ name="error"
12
+ width="16"
13
+ height="16"
14
+ class="icon-compatibility-alert"
15
+ />
16
+
17
+ <ui-icon
18
+ v-show="props.status === 'success'"
19
+ name="success-fill"
20
+ width="16"
21
+ height="16"
22
+ class="icon-compatibility-alert"
23
+ />
24
+ <span
25
+ :class="[
26
+ 'compatibility-message-description',
27
+ { 'not-selected': props.status === 'none' },
28
+ ]"
29
+ >{{ props.text }}</span
30
+ >
31
+ </template>
32
+ </div>
33
+ </div>
34
+ </template>
35
+
36
+ <script lang="ts" setup>
37
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
38
+ import type { UI_T_CompatibilityStatus } from '~/components/common/wizards/common/compatibility/lib/models/types'
39
+
40
+ const props = withDefaults(
41
+ defineProps<{
42
+ text: string
43
+ status: UI_T_CompatibilityStatus
44
+ loading?: boolean
45
+ }>(),
46
+ {
47
+ loading: true,
48
+ }
49
+ )
50
+
51
+ const localization = computed<UI_I_Localization>(() => useLocal())
52
+ </script>
53
+
54
+ <style>
55
+ :root {
56
+ --compatibility-border-color: #e9ebed;
57
+ --compatibility-bg-color: #ffffff;
58
+ --compatibility-title-color: #4d5d69;
59
+ --compatibility-empty-escription-color: #9da6ad;
60
+ --compatibility-description-color: #4d5d69;
61
+ }
62
+ :root.dark-theme {
63
+ --compatibility-border-color: #e9ebed1f;
64
+ --compatibility-bg-color: #1b2a371f;
65
+ --compatibility-title-color: #e9eaec;
66
+ --compatibility-empty-escription-color: #9da6ad;
67
+ --compatibility-description-color: #e9eaec;
68
+ }
69
+ </style>
70
+ <style lang="scss" scoped>
71
+ .compatibility-wrap {
72
+ .compatibility {
73
+ font-size: 16px;
74
+ font-weight: 500;
75
+ color: var(--compatibility-title-color);
76
+ margin-bottom: 16px;
77
+ }
78
+ .compatibility-message {
79
+ border-radius: 8px;
80
+ border: 1px solid var(--compatibility-border-color);
81
+ padding: 12px;
82
+ background-color: var(--compatibility-bg-color);
83
+ gap: 10px;
84
+
85
+ .icon-compatibility-alert {
86
+ min-width: 16px;
87
+ min-height: 16px;
88
+ }
89
+ .compatibility-message-description {
90
+ font-size: 13px;
91
+ color: var(--compatibility-description-color);
92
+
93
+ &.not-selected {
94
+ color: var(--compatibility-empty-escription-color);
95
+ }
96
+ }
97
+ }
98
+ }
99
+ </style>
@@ -1,53 +1,53 @@
1
- <template>
2
- <div class="compatibility">
3
- <p class="compatibility__title">
4
- {{ localization.inventorySummary.compatibility }}
5
- </p>
6
- <div class="flex-align-center compatibility__content">
7
- <template v-if="props.text">
8
- <div class="compatibility__message">
9
- <div v-show="iconStatus" :class="['icon', iconStatus]" />
10
- <span>{{ props.text }}</span>
11
- </div>
12
- </template>
13
- </div>
14
- </div>
15
- </template>
16
-
17
- <script lang="ts" setup>
18
- import type { UI_I_Localization } from '~/lib/models/interfaces'
19
- import type { UI_T_CompatibilityStatus } from '~/components/common/wizards/common/compatibility/lib/models/types'
20
- import { UI_E_CompatibilityStatusIcon } from '~/components/common/wizards/common/compatibility/lib/models/enums'
21
-
22
- const props = defineProps<{
23
- text: string
24
- status: UI_T_CompatibilityStatus
25
- }>()
26
-
27
- const localization = computed<UI_I_Localization>(() => useLocal())
28
- const iconStatus = computed<string>(
29
- () => UI_E_CompatibilityStatusIcon[props.status]
30
- )
31
- </script>
32
-
33
- <style lang="scss" scoped>
34
- @import 'assets/scss/common/mixins';
35
- .compatibility {
36
- padding-top: 10px;
37
-
38
- &__content {
39
- align-items: self-start;
40
- border: 1px solid #000;
41
- padding-top: 5px;
42
- padding-left: 5px;
43
- overflow: auto;
44
- min-height: 75px;
45
- }
46
- &__message {
47
- @include flex($align: center);
48
- .icon {
49
- margin-right: 5px;
50
- }
51
- }
52
- }
53
- </style>
1
+ <template>
2
+ <div class="compatibility">
3
+ <p class="compatibility__title">
4
+ {{ localization.inventorySummary.compatibility }}
5
+ </p>
6
+ <div class="flex-align-center compatibility__content">
7
+ <template v-if="props.text">
8
+ <div class="compatibility__message">
9
+ <div v-show="iconStatus" :class="['icon', iconStatus]" />
10
+ <span>{{ props.text }}</span>
11
+ </div>
12
+ </template>
13
+ </div>
14
+ </div>
15
+ </template>
16
+
17
+ <script lang="ts" setup>
18
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
19
+ import type { UI_T_CompatibilityStatus } from '~/components/common/wizards/common/compatibility/lib/models/types'
20
+ import { UI_E_CompatibilityStatusIcon } from '~/components/common/wizards/common/compatibility/lib/models/enums'
21
+
22
+ const props = defineProps<{
23
+ text: string
24
+ status: UI_T_CompatibilityStatus
25
+ }>()
26
+
27
+ const localization = computed<UI_I_Localization>(() => useLocal())
28
+ const iconStatus = computed<string>(
29
+ () => UI_E_CompatibilityStatusIcon[props.status]
30
+ )
31
+ </script>
32
+
33
+ <style lang="scss" scoped>
34
+ @import 'assets/scss/common/mixins';
35
+ .compatibility {
36
+ padding-top: 10px;
37
+
38
+ &__content {
39
+ align-items: self-start;
40
+ border: 1px solid #000;
41
+ padding-top: 5px;
42
+ padding-left: 5px;
43
+ overflow: auto;
44
+ min-height: 75px;
45
+ }
46
+ &__message {
47
+ @include flex($align: center);
48
+ .icon {
49
+ margin-right: 5px;
50
+ }
51
+ }
52
+ }
53
+ </style>
@@ -1,93 +1,93 @@
1
- <template>
2
- <div class="compute-resource">
3
- <div class="compute-resource__container-tree">
4
- <ui-tree
5
- :nodes="props.nodes"
6
- :expand-all="false"
7
- :is-loading="props.isLoading"
8
- class="compute-resource__tree"
9
- @toggle-node="onShowNodes"
10
- @select-node="onSelectNode"
11
- >
12
- <template #content="{ node }">
13
- <div class="flex-align-center">
14
- <span :class="['node-icon', node.iconClassName]"></span>
15
- <span class="node-name text-ellipsis">{{ node.name }}</span>
16
- </div>
17
- </template>
18
- </ui-tree>
19
- </div>
20
-
21
- <common-wizards-common-compatibility
22
- :loading="props.isLoading"
23
- :status="props.compatibility[0]"
24
- :text="props.compatibility[1]"
25
- />
26
- </div>
27
- </template>
28
-
29
- <script setup lang="ts">
30
- import type { UI_I_TreeNode } from '~/components/common/recursionTree/lib/models/interfaces'
31
- import type { UI_T_CompatibilityStatus } from '~/components/common/wizards/common/compatibility/lib/models/types'
32
-
33
- const props = withDefaults(
34
- defineProps<{
35
- nodes: UI_I_TreeNode[]
36
- compatibility: [UI_T_CompatibilityStatus, string]
37
- isLoading?: boolean
38
- }>(),
39
- {
40
- isLoading: false,
41
- }
42
- )
43
- const emits = defineEmits<{
44
- (event: 'select-node', value: UI_I_TreeNode): void
45
- (event: 'show-nodes', value: UI_I_TreeNode): void
46
- }>()
47
-
48
- const onShowNodes = (node: UI_I_TreeNode): void => emits('show-nodes', node)
49
- const onSelectNode = (node: UI_I_TreeNode): void => emits('select-node', node)
50
- </script>
51
-
52
- <style scoped lang="scss">
53
- @import 'assets/scss/common/mixins.scss';
54
- .compute-resource {
55
- &__container-tree {
56
- height: 240px;
57
- background: var(--input-bg);
58
- border: 1px solid var(--line-color);
59
- border-radius: 8px;
60
- overflow: hidden;
61
-
62
- :deep(.compute-resource__tree) {
63
- .node-icon {
64
- margin-right: 8px;
65
- }
66
- .node-name {
67
- font-size: 12px;
68
- }
69
- .tree-content {
70
- padding: 8px 8px 0;
71
-
72
- &::-webkit-scrollbar-thumb {
73
- background: var(--move-to-tree-scrollbar-thumb-bg);
74
- border-radius: 8px;
75
- border: solid 3px var(--scrollbar-thumb-transparent-border);
76
- }
77
- &::-webkit-scrollbar-track {
78
- background: transparent;
79
- }
80
- &::-webkit-scrollbar-corner {
81
- background: transparent;
82
- }
83
-
84
- .node-wrapper {
85
- border-top-right-radius: 4px;
86
- border-bottom-right-radius: 4px;
87
- min-height: 26px;
88
- }
89
- }
90
- }
91
- }
92
- }
93
- </style>
1
+ <template>
2
+ <div class="compute-resource">
3
+ <div class="compute-resource__container-tree">
4
+ <ui-tree
5
+ :nodes="props.nodes"
6
+ :expand-all="false"
7
+ :is-loading="props.isLoading"
8
+ class="compute-resource__tree"
9
+ @toggle-node="onShowNodes"
10
+ @select-node="onSelectNode"
11
+ >
12
+ <template #content="{ node }">
13
+ <div class="flex-align-center">
14
+ <span :class="['node-icon', node.iconClassName]"></span>
15
+ <span class="node-name text-ellipsis">{{ node.name }}</span>
16
+ </div>
17
+ </template>
18
+ </ui-tree>
19
+ </div>
20
+
21
+ <common-wizards-common-compatibility
22
+ :loading="props.isLoading"
23
+ :status="props.compatibility[0]"
24
+ :text="props.compatibility[1]"
25
+ />
26
+ </div>
27
+ </template>
28
+
29
+ <script setup lang="ts">
30
+ import type { UI_I_TreeNode } from '~/components/common/recursionTree/lib/models/interfaces'
31
+ import type { UI_T_CompatibilityStatus } from '~/components/common/wizards/common/compatibility/lib/models/types'
32
+
33
+ const props = withDefaults(
34
+ defineProps<{
35
+ nodes: UI_I_TreeNode[]
36
+ compatibility: [UI_T_CompatibilityStatus, string]
37
+ isLoading?: boolean
38
+ }>(),
39
+ {
40
+ isLoading: false,
41
+ }
42
+ )
43
+ const emits = defineEmits<{
44
+ (event: 'select-node', value: UI_I_TreeNode): void
45
+ (event: 'show-nodes', value: UI_I_TreeNode): void
46
+ }>()
47
+
48
+ const onShowNodes = (node: UI_I_TreeNode): void => emits('show-nodes', node)
49
+ const onSelectNode = (node: UI_I_TreeNode): void => emits('select-node', node)
50
+ </script>
51
+
52
+ <style scoped lang="scss">
53
+ @import 'assets/scss/common/mixins.scss';
54
+ .compute-resource {
55
+ &__container-tree {
56
+ height: 240px;
57
+ background: var(--input-bg);
58
+ border: 1px solid var(--line-color);
59
+ border-radius: 8px;
60
+ overflow: hidden;
61
+
62
+ :deep(.compute-resource__tree) {
63
+ .node-icon {
64
+ margin-right: 8px;
65
+ }
66
+ .node-name {
67
+ font-size: 12px;
68
+ }
69
+ .tree-content {
70
+ padding: 8px 8px 0;
71
+
72
+ &::-webkit-scrollbar-thumb {
73
+ background: var(--move-to-tree-scrollbar-thumb-bg);
74
+ border-radius: 8px;
75
+ border: solid 3px var(--scrollbar-thumb-transparent-border);
76
+ }
77
+ &::-webkit-scrollbar-track {
78
+ background: transparent;
79
+ }
80
+ &::-webkit-scrollbar-corner {
81
+ background: transparent;
82
+ }
83
+
84
+ .node-wrapper {
85
+ border-top-right-radius: 4px;
86
+ border-bottom-right-radius: 4px;
87
+ min-height: 26px;
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ </style>