bfg-common 1.2.39 → 1.2.41

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 (78) hide show
  1. package/components/atoms/alert/Notification.vue +167 -167
  2. package/components/atoms/autocomplete/Autocomplete.vue +236 -236
  3. package/components/atoms/datepicker/Datepicker.vue +612 -612
  4. package/components/atoms/list/SelectList.vue +62 -62
  5. package/components/atoms/nav/NavBar.vue +116 -116
  6. package/components/atoms/nav/VerticalNavBar.vue +89 -89
  7. package/components/atoms/notificationBar/NotificationBar.vue +175 -175
  8. package/components/atoms/perPage/PerPage.vue +52 -52
  9. package/components/atoms/popup/SimplePopup.vue +90 -90
  10. package/components/atoms/step/VerticalStep.vue +104 -104
  11. package/components/atoms/switch/Switch.vue +107 -107
  12. package/components/atoms/table/dataGrid/DataGridColumnSwitch.vue +206 -206
  13. package/components/atoms/table/dataGrid/DataGridPage.vue +189 -189
  14. package/components/atoms/tabs/Tabs.vue +189 -189
  15. package/components/atoms/tooltip/Signpost.vue +224 -224
  16. package/components/common/BadBrowser.vue +114 -114
  17. package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
  18. package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
  19. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
  20. package/components/common/browse/Browse.vue +182 -182
  21. package/components/common/browse/blocks/Title.vue +66 -66
  22. package/components/common/diagramMain/Diagram.vue +186 -186
  23. package/components/common/diagramMain/DiagramMain.vue +986 -986
  24. package/components/common/diagramMain/adapter/AdapterItem.vue +227 -227
  25. package/components/common/diagramMain/adapter/AdapterItems.vue +57 -57
  26. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
  27. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
  28. package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
  29. package/components/common/diagramMain/network/Contents.vue +238 -238
  30. package/components/common/feedback/Buttons.vue +232 -232
  31. package/components/common/feedback/Message.vue +468 -468
  32. package/components/common/feedback/VisitPortal.vue +54 -54
  33. package/components/common/help/navbar/left/Left.vue +159 -159
  34. package/components/common/help/navbar/left/utils/constructAccordion.ts +27 -27
  35. package/components/common/mainNavigationPanel/MainNavigationPanel.vue +359 -359
  36. package/components/common/modals/Rename.vue +165 -165
  37. package/components/common/monitor/advanced/Advanced.vue +235 -235
  38. package/components/common/monitor/advanced/tools/chartOptionsModal/models/interfaces.ts +19 -19
  39. package/components/common/perPage/PerPage.vue +51 -51
  40. package/components/common/recursionTree/RecursionTree.vue +201 -201
  41. package/components/common/vm/actions/add/config/capabilities.ts +338 -338
  42. package/components/common/vm/actions/add/customizeHardware/virtualHardware/VirtualHardware.vue +657 -657
  43. package/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +109 -109
  44. package/components/common/vm/actions/add/customizeHardware/virtualHardware/cpu/Cpu.vue +383 -383
  45. package/components/common/vm/actions/add/customizeHardware/virtualHardware/limit/Limit.vue +234 -234
  46. package/components/common/vm/actions/add/customizeHardware/virtualHardware/limit/config/options.ts +28 -28
  47. package/components/common/vm/actions/add/customizeHardware/virtualHardware/memory/Memory.vue +316 -316
  48. package/components/common/vm/actions/add/customizeHardware/virtualHardware/memory/config/memoryOptions.ts +35 -35
  49. package/components/common/vm/actions/add/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +445 -445
  50. package/components/common/vm/actions/add/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +288 -288
  51. package/components/common/vm/actions/add/customizeHardware/virtualHardware/reservation/Reservation.vue +235 -235
  52. package/components/common/vm/actions/add/customizeHardware/virtualHardware/videoCard/VideoCard.vue +177 -177
  53. package/components/common/vm/actions/add/customizeHardware/vmoptions/bootOptions/order/Order.vue +197 -197
  54. package/components/common/vm/actions/add/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +181 -181
  55. package/components/common/vm/actions/add/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +51 -51
  56. package/components/common/vm/actions/add/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +253 -253
  57. package/components/common/vm/actions/add/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +55 -55
  58. package/components/common/vm/actions/add/select/storage/config/config.ts +154 -154
  59. package/components/common/vm/actions/clone/Clone.vue +544 -544
  60. package/components/common/vm/actions/clone/select/options/Options.vue +65 -65
  61. package/components/common/vm/actions/clone/utils.ts +43 -43
  62. package/components/common/wizards/datastore/add/nfs/Nfs.vue +94 -94
  63. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +377 -377
  64. package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +123 -123
  65. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  66. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +131 -131
  67. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +230 -230
  68. package/composables/useLocal.ts +38 -38
  69. package/minify.js +146 -146
  70. package/models/store/interfaces.ts +37 -37
  71. package/models/store/storage/interfaces.ts +32 -32
  72. package/models/store/types.ts +32 -32
  73. package/modules/fixContentBuild/utils/methods.ts +114 -114
  74. package/package.json +1 -1
  75. package/public/spice-console/application/codec.js +257 -257
  76. package/public/spice-console/lib/rasterEngine.js +907 -907
  77. package/public/spice-console/network/spicechannel.js +369 -369
  78. package/utils/contentBuild.ts +34 -34
@@ -1,65 +1,65 @@
1
- <template>
2
- <div class="select-options">
3
- <div class="checkbox">
4
- <input
5
- id="customize-os"
6
- v-model="selectedOptions"
7
- type="checkbox"
8
- value="customize-os"
9
- />
10
- <label for="customize-os">{{
11
- localization.customizeTheOperatingSystem
12
- }}</label>
13
- </div>
14
- <div class="checkbox">
15
- <input
16
- id="customize-hardware"
17
- v-model="selectedOptions"
18
- type="checkbox"
19
- value="customize-hardware"
20
- />
21
- <label for="customize-hardware">{{
22
- localization.customizeThisVirtualMachineHardware
23
- }}</label>
24
- </div>
25
- <div class="checkbox">
26
- <input
27
- id="power-on"
28
- v-model="selectedOptions"
29
- type="checkbox"
30
- value="power-on"
31
- />
32
- <label for="power-on">{{
33
- localization.powerOnVirtualMachineAfterCreation
34
- }}</label>
35
- </div>
36
- </div>
37
- </template>
38
-
39
- <script setup lang="ts">
40
- import type { UI_I_Localization } from '~/models/interfaces'
41
-
42
- const props = defineProps<{
43
- selectOptionsSubmit: number
44
- }>()
45
-
46
- const emits = defineEmits<{
47
- (event: 'submit', value: string[]): void
48
- }>()
49
- const localization = computed<UI_I_Localization>(() => useLocal())
50
-
51
- const selectedOptions = ref<string[]>([])
52
- watch(() => props.selectOptionsSubmit, () => {
53
- emits('submit', selectedOptions.value)
54
- })
55
- </script>
56
-
57
- <style scoped lang="scss">
58
- .select-options {
59
- padding: 12px 0 0;
60
-
61
- .checkbox {
62
- margin: 6px 0;
63
- }
64
- }
65
- </style>
1
+ <template>
2
+ <div class="select-options">
3
+ <div class="checkbox">
4
+ <input
5
+ id="customize-os"
6
+ v-model="selectedOptions"
7
+ type="checkbox"
8
+ value="customize-os"
9
+ />
10
+ <label for="customize-os">{{
11
+ localization.customizeTheOperatingSystem
12
+ }}</label>
13
+ </div>
14
+ <div class="checkbox">
15
+ <input
16
+ id="customize-hardware"
17
+ v-model="selectedOptions"
18
+ type="checkbox"
19
+ value="customize-hardware"
20
+ />
21
+ <label for="customize-hardware">{{
22
+ localization.customizeThisVirtualMachineHardware
23
+ }}</label>
24
+ </div>
25
+ <div class="checkbox">
26
+ <input
27
+ id="power-on"
28
+ v-model="selectedOptions"
29
+ type="checkbox"
30
+ value="power-on"
31
+ />
32
+ <label for="power-on">{{
33
+ localization.powerOnVirtualMachineAfterCreation
34
+ }}</label>
35
+ </div>
36
+ </div>
37
+ </template>
38
+
39
+ <script setup lang="ts">
40
+ import type { UI_I_Localization } from '~/models/interfaces'
41
+
42
+ const props = defineProps<{
43
+ selectOptionsSubmit: number
44
+ }>()
45
+
46
+ const emits = defineEmits<{
47
+ (event: 'submit', value: string[]): void
48
+ }>()
49
+ const localization = computed<UI_I_Localization>(() => useLocal())
50
+
51
+ const selectedOptions = ref<string[]>([])
52
+ watch(() => props.selectOptionsSubmit, () => {
53
+ emits('submit', selectedOptions.value)
54
+ })
55
+ </script>
56
+
57
+ <style scoped lang="scss">
58
+ .select-options {
59
+ padding: 12px 0 0;
60
+
61
+ .checkbox {
62
+ margin: 6px 0;
63
+ }
64
+ }
65
+ </style>
@@ -1,43 +1,43 @@
1
- import { UI_I_Localization } from '~/models/interfaces'
2
- import { UI_I_VerticalStepItem } from '~/components/atoms/models/interfaces'
3
- import { UI_T_Project } from '~/models/types'
4
-
5
- export const stepItemsFunc = (
6
- localization: UI_I_Localization,
7
- project: UI_T_Project
8
- ): UI_I_VerticalStepItem[] => {
9
- if (project === 'sphere') {
10
- return []
11
- }
12
- return [
13
- {
14
- text: localization.selectName,
15
- disabled: false,
16
- complete: false,
17
- },
18
- { text: localization.selectStorage, disabled: true, complete: false },
19
- { text: localization.selectCloneOptions, disabled: true, complete: false },
20
- {
21
- text: localization.customizeHardware,
22
- disabled: true,
23
- complete: false,
24
- },
25
- { text: localization.readyComplete, disabled: true, complete: false },
26
- ]
27
- }
28
-
29
- export const subTitleFunc = (
30
- localization: UI_I_Localization,
31
- project: UI_T_Project
32
- ): string[] => {
33
- if (project === 'sphere') {
34
- return []
35
- }
36
- return [
37
- localization.specifyUniqueName,
38
- localization.selectStorageConfigurationDiskFiles,
39
- localization.chooseGuestOSInstalledVmAndMachineTypeUsedCreateVm,
40
- localization.selectFurtherCloneOptions,
41
- localization.clickFinishStartCreation,
42
- ]
43
- }
1
+ import { UI_I_Localization } from '~/models/interfaces'
2
+ import { UI_I_VerticalStepItem } from '~/components/atoms/models/interfaces'
3
+ import { UI_T_Project } from '~/models/types'
4
+
5
+ export const stepItemsFunc = (
6
+ localization: UI_I_Localization,
7
+ project: UI_T_Project
8
+ ): UI_I_VerticalStepItem[] => {
9
+ if (project === 'sphere') {
10
+ return []
11
+ }
12
+ return [
13
+ {
14
+ text: localization.selectName,
15
+ disabled: false,
16
+ complete: false,
17
+ },
18
+ { text: localization.selectStorage, disabled: true, complete: false },
19
+ { text: localization.selectCloneOptions, disabled: true, complete: false },
20
+ {
21
+ text: localization.customizeHardware,
22
+ disabled: true,
23
+ complete: false,
24
+ },
25
+ { text: localization.readyComplete, disabled: true, complete: false },
26
+ ]
27
+ }
28
+
29
+ export const subTitleFunc = (
30
+ localization: UI_I_Localization,
31
+ project: UI_T_Project
32
+ ): string[] => {
33
+ if (project === 'sphere') {
34
+ return []
35
+ }
36
+ return [
37
+ localization.specifyUniqueName,
38
+ localization.selectStorageConfigurationDiskFiles,
39
+ localization.chooseGuestOSInstalledVmAndMachineTypeUsedCreateVm,
40
+ localization.selectFurtherCloneOptions,
41
+ localization.clickFinishStartCreation,
42
+ ]
43
+ }
@@ -1,94 +1,94 @@
1
- <template>
2
- <div class="nfs-container">
3
- <span class="nfs-container__desc">{{ stepSubTitle }}</span>
4
-
5
- <common-wizards-datastore-add-nfs-version
6
- v-show="props.stepPosition === 1"
7
- v-model:version="nfsVersion"
8
- />
9
-
10
- <common-wizards-datastore-add-nfs-configuration
11
- v-show="props.stepPosition === 2"
12
- :mode="props.mode"
13
- :nfs-version="nfsVersion"
14
- :nfs-configuration-submit="nfsConfigurationSubmit"
15
- @loading="(e) => emits('loading', e)"
16
- @next="applyChangesAndNext"
17
- />
18
-
19
- <!-- <templates-home-datastore-actions-add-nfs-kerberos-authentication-->
20
- <!-- v-show="nfsVersion === 'nfs-4.1' && props.stepPosition === 3"-->
21
- <!-- :nfs-version="nfsVersion"-->
22
- <!-- />--><!-- TODO Он будет когда будем делать групповое -->
23
-
24
- <!-- <templates-home-datastore-actions-add-nfs-accessibility-->
25
- <!-- v-if="showHostAccessibility"-->
26
- <!-- :host-accessibility-submit="hostAccessibilitySubmit"-->
27
- <!-- @next="applyChangesAndNext"-->
28
- <!-- />-->
29
- <!-- TODO Он будет когда будем делать групповое -->
30
- </div>
31
- </template>
32
-
33
- <script lang="ts" setup>
34
- import { UI_I_Localization } from '~/models/interfaces'
35
- import {
36
- UI_T_DatastoreType,
37
- UI_T_NfsType,
38
- UI_T_WizardDatastoreMode,
39
- } from '~/components/common/wizards/datastore/add/models/types'
40
- import { UI_I_ConfigurationSendDataNfs } from '~/components/common/wizards/datastore/add/nfs/configuration/models/interfaces'
41
- import { subTitleFunc } from '~/components/common/wizards/datastore/add/config/stepItems'
42
-
43
- const props = defineProps<{
44
- mode: UI_T_WizardDatastoreMode
45
- stepPosition: number
46
- datastoreType: UI_T_DatastoreType
47
- nfsConfigurationSubmit: number
48
- hostAccessibilitySubmit: number
49
- }>()
50
- const emits = defineEmits<{
51
- (event: 'loading', value: boolean): void
52
- (event: 'submit', value: UI_I_ConfigurationSendDataNfs): void
53
- (event: 'change-nfs-version', value: UI_T_NfsType): void
54
- }>()
55
-
56
- const localization = computed<UI_I_Localization>(() => useLocal())
57
-
58
- const nfsVersion = ref<UI_T_NfsType>('nfs-3')
59
-
60
- const stepSubTitle = computed<string>(() => {
61
- const { datastoreType, stepPosition } = props
62
- return subTitleFunc(
63
- localization.value,
64
- datastoreType,
65
- stepPosition,
66
- nfsVersion.value
67
- )
68
- })
69
-
70
- // const showHostAccessibility = computed<boolean>(() => {
71
- // return (
72
- // (props.stepPosition === 4 && nfsVersion.value === 'nfs-4.1') ||
73
- // (props.stepPosition === 3 && nfsVersion.value === 'nfs-3')
74
- // )
75
- // })
76
-
77
- watch(nfsVersion, (val: UI_T_NfsType) => {
78
- emits('change-nfs-version', val)
79
- })
80
-
81
- const applyChangesAndNext = (event: UI_I_ConfigurationSendDataNfs): void => {
82
- emits('submit', event)
83
- }
84
- </script>
85
-
86
- <style lang="scss" scoped>
87
- @import '~/assets/scss/common/mixins.scss';
88
- .nfs-container {
89
- @include flex($dir: column);
90
- height: 100%;
91
- &__desc {
92
- }
93
- }
94
- </style>
1
+ <template>
2
+ <div class="nfs-container">
3
+ <span class="nfs-container__desc">{{ stepSubTitle }}</span>
4
+
5
+ <common-wizards-datastore-add-nfs-version
6
+ v-show="props.stepPosition === 1"
7
+ v-model:version="nfsVersion"
8
+ />
9
+
10
+ <common-wizards-datastore-add-nfs-configuration
11
+ v-show="props.stepPosition === 2"
12
+ :mode="props.mode"
13
+ :nfs-version="nfsVersion"
14
+ :nfs-configuration-submit="nfsConfigurationSubmit"
15
+ @loading="(e) => emits('loading', e)"
16
+ @next="applyChangesAndNext"
17
+ />
18
+
19
+ <!-- <templates-home-datastore-actions-add-nfs-kerberos-authentication-->
20
+ <!-- v-show="nfsVersion === 'nfs-4.1' && props.stepPosition === 3"-->
21
+ <!-- :nfs-version="nfsVersion"-->
22
+ <!-- />--><!-- TODO Он будет когда будем делать групповое -->
23
+
24
+ <!-- <templates-home-datastore-actions-add-nfs-accessibility-->
25
+ <!-- v-if="showHostAccessibility"-->
26
+ <!-- :host-accessibility-submit="hostAccessibilitySubmit"-->
27
+ <!-- @next="applyChangesAndNext"-->
28
+ <!-- />-->
29
+ <!-- TODO Он будет когда будем делать групповое -->
30
+ </div>
31
+ </template>
32
+
33
+ <script lang="ts" setup>
34
+ import { UI_I_Localization } from '~/models/interfaces'
35
+ import {
36
+ UI_T_DatastoreType,
37
+ UI_T_NfsType,
38
+ UI_T_WizardDatastoreMode,
39
+ } from '~/components/common/wizards/datastore/add/models/types'
40
+ import { UI_I_ConfigurationSendDataNfs } from '~/components/common/wizards/datastore/add/nfs/configuration/models/interfaces'
41
+ import { subTitleFunc } from '~/components/common/wizards/datastore/add/config/stepItems'
42
+
43
+ const props = defineProps<{
44
+ mode: UI_T_WizardDatastoreMode
45
+ stepPosition: number
46
+ datastoreType: UI_T_DatastoreType
47
+ nfsConfigurationSubmit: number
48
+ hostAccessibilitySubmit: number
49
+ }>()
50
+ const emits = defineEmits<{
51
+ (event: 'loading', value: boolean): void
52
+ (event: 'submit', value: UI_I_ConfigurationSendDataNfs): void
53
+ (event: 'change-nfs-version', value: UI_T_NfsType): void
54
+ }>()
55
+
56
+ const localization = computed<UI_I_Localization>(() => useLocal())
57
+
58
+ const nfsVersion = ref<UI_T_NfsType>('nfs-3')
59
+
60
+ const stepSubTitle = computed<string>(() => {
61
+ const { datastoreType, stepPosition } = props
62
+ return subTitleFunc(
63
+ localization.value,
64
+ datastoreType,
65
+ stepPosition,
66
+ nfsVersion.value
67
+ )
68
+ })
69
+
70
+ // const showHostAccessibility = computed<boolean>(() => {
71
+ // return (
72
+ // (props.stepPosition === 4 && nfsVersion.value === 'nfs-4.1') ||
73
+ // (props.stepPosition === 3 && nfsVersion.value === 'nfs-3')
74
+ // )
75
+ // })
76
+
77
+ watch(nfsVersion, (val: UI_T_NfsType) => {
78
+ emits('change-nfs-version', val)
79
+ })
80
+
81
+ const applyChangesAndNext = (event: UI_I_ConfigurationSendDataNfs): void => {
82
+ emits('submit', event)
83
+ }
84
+ </script>
85
+
86
+ <style lang="scss" scoped>
87
+ @import '~/assets/scss/common/mixins.scss';
88
+ .nfs-container {
89
+ @include flex($dir: column);
90
+ height: 100%;
91
+ &__desc {
92
+ }
93
+ }
94
+ </style>