bfg-common 1.2.133 → 1.2.135

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 (48) hide show
  1. package/assets/scss/common/icons/icons-2.scss +222 -222
  2. package/components/atoms/switch/Switch.vue +107 -107
  3. package/components/atoms/table/dataGrid/DataGrid.vue +7 -8
  4. package/components/common/BadBrowser.vue +114 -114
  5. package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
  6. package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
  7. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
  8. package/components/common/browse/blocks/Title.vue +66 -66
  9. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
  10. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
  11. package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
  12. package/components/common/feedback/Feedback.vue +261 -261
  13. package/components/common/feedback/VisitPortal.vue +53 -53
  14. package/components/common/help/navbar/left/utils/constructAccordion.ts +27 -27
  15. package/components/common/recursionTree/RecursionTree.vue +201 -201
  16. package/components/common/vm/actions/clone/Clone.vue +545 -545
  17. package/components/common/vm/actions/clone/select/options/Options.vue +65 -65
  18. package/components/common/vm/actions/clone/utils.ts +43 -43
  19. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +109 -109
  20. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +383 -383
  21. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +234 -234
  22. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/config/options.ts +28 -28
  23. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +316 -316
  24. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/config/memoryOptions.ts +35 -35
  25. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +447 -447
  26. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +235 -235
  27. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +177 -177
  28. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +197 -197
  29. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +181 -181
  30. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +51 -51
  31. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +253 -253
  32. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +55 -55
  33. package/components/common/vm/actions/common/select/storage/Storage.vue +194 -194
  34. package/components/common/vm/actions/common/select/storage/config/config.ts +154 -154
  35. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  36. package/composables/useLocal.ts +38 -38
  37. package/minify.js +146 -146
  38. package/models/store/interfaces.ts +37 -37
  39. package/models/store/storage/interfaces.ts +32 -32
  40. package/models/store/types.ts +43 -43
  41. package/modules/fixContentBuild/utils/methods.ts +114 -114
  42. package/package.json +1 -1
  43. package/public/spice-console/application/codec.js +257 -257
  44. package/public/spice-console/lib/rasterEngine.js +907 -907
  45. package/public/spice-console/network/spicechannel.js +369 -369
  46. package/utils/contentBuild.ts +34 -34
  47. package/components/common/vm/models/interfaces.ts +0 -9
  48. package/components/common/vm/utils/powerActions.ts +0 -55
@@ -82,7 +82,7 @@
82
82
  ]"
83
83
  @click="sortTable(item.sortColumn)"
84
84
  >
85
- <slot name="th" :key="key" :item="item">
85
+ <slot :key="key" name="th" :item="item">
86
86
  <span
87
87
  :title="item.text"
88
88
  :style="{
@@ -204,7 +204,7 @@
204
204
  },
205
205
  ]"
206
206
  >
207
- <slot name="type" :key="key" :item="item">
207
+ <slot :key="key" name="type" :item="item">
208
208
  <div
209
209
  :class="`clr-${props.type}-wrapper flex-justify-center flex-align-center`"
210
210
  >
@@ -479,7 +479,7 @@ const emits = defineEmits<{
479
479
  (event: 'update:selected-row', value: UI_T_SelectedRow): void
480
480
  (event: 'update:page-size', value: number): void
481
481
  (event: 'update:page', value: number): void
482
- (event: 'filtering', value: any): void
482
+ (event: 'filtering', value: string[][]): void
483
483
  (event: 'sorting', value: [string, boolean]): void
484
484
  (event: 'change', value: any): void
485
485
  (event: 'row-detail', value: number): void
@@ -660,11 +660,10 @@ const sortTable = (sortName: string): void => {
660
660
  const filterShow = ref<boolean[]>([])
661
661
  const filterTerm = ref<string[]>([])
662
662
  const filtering = (): void => {
663
- const filter = headItemsPresent.value
664
- .filter((_, key) => filterTerm.value[key])
665
- .map((item, key) => {
666
- return [item.key, filterTerm.value[key]]
667
- })
663
+ const filter: string[][] = []
664
+ headItemsPresent.value.forEach((item, key) => {
665
+ if (filterTerm.value[key]) filter.push([item.key, filterTerm.value[key]])
666
+ })
668
667
 
669
668
  emits('filtering', filter)
670
669
  }
@@ -1,114 +1,114 @@
1
- <template>
2
- <div class="bad-browser">
3
- <div class="main-block">
4
- <h1 class="title-block">
5
- {{ localization.browserOutDate }}
6
- </h1>
7
- <p class="first description-text">
8
- {{ firstDescriptionText }}
9
- </p>
10
- <div class="browsers-block">
11
- <a
12
- href="https://www.google.com/chrome/"
13
- target="_blank"
14
- class="browser-link"
15
- >
16
- <div class="browser-item">
17
- <atoms-the-icon2 name="chrome" class="browser-icon" />
18
- <p class="browser-name">Chrome</p>
19
- </div>
20
- </a>
21
- <a
22
- href="https://www.mozilla.org/en-US/"
23
- target="_blank"
24
- class="browser-link"
25
- >
26
- <div class="browser-item">
27
- <atoms-the-icon2 name="firefox" class="browser-icon" />
28
- <p class="browser-name">Firefox</p>
29
- </div>
30
- </a>
31
- <a
32
- href="https://support.apple.com/downloads/safari"
33
- target="_blank"
34
- class="browser-link"
35
- >
36
- <div class="browser-item">
37
- <atoms-the-icon2 name="safari" class="browser-icon" />
38
- <p class="browser-name">Safari</p>
39
- </div>
40
- </a>
41
- <a
42
- href="https://www.microsoft.com/en-us/edge/download?form=MA13FJ"
43
- target="_blank"
44
- class="browser-link last"
45
- >
46
- <div class="browser-item">
47
- <atoms-the-icon2 name="edge" class="browser-icon" />
48
- <p class="browser-name">Edge</p>
49
- </div>
50
- </a>
51
- </div>
52
- <p>
53
- {{ localization.browserOutDateDesc2 }}
54
- <a href="#">{{ localization.browserOutDateDesc3 }}</a>
55
- </p>
56
- </div>
57
- </div>
58
- </template>
59
-
60
- <script setup lang="ts">
61
- import { UI_I_Localization } from '~/models/interfaces'
62
-
63
- const props = defineProps<{
64
- projectName: string
65
- }>()
66
-
67
- const localization = computed<UI_I_Localization>(() => useLocal())
68
-
69
- const firstDescriptionText = computed<string>(() =>
70
- localization.value.browserOutDateDesc.replace('{0}', props.projectName)
71
- )
72
- </script>
73
-
74
- <style scoped lang="scss">
75
- .bad-browser {
76
- height: inherit;
77
- display: flex;
78
- justify-content: center;
79
- align-items: center;
80
-
81
- .main-block {
82
- width: max-content;
83
- padding: 20px 40px;
84
- text-align: center;
85
-
86
- .title-block {
87
- font-size: 32px;
88
- font-weight: 400;
89
- }
90
- .description-text {
91
- &.first {
92
- margin: 0 auto;
93
- max-width: 400px;
94
- }
95
- }
96
- .browsers-block {
97
- margin: 20px 0;
98
- display: flex;
99
- align-items: center;
100
- justify-content: center;
101
-
102
- .browser-link:not(.last) {
103
- margin-right: 40px;
104
- }
105
-
106
- .browser-item {
107
- .browser-icon {
108
- width: 60px;
109
- }
110
- }
111
- }
112
- }
113
- }
114
- </style>
1
+ <template>
2
+ <div class="bad-browser">
3
+ <div class="main-block">
4
+ <h1 class="title-block">
5
+ {{ localization.browserOutDate }}
6
+ </h1>
7
+ <p class="first description-text">
8
+ {{ firstDescriptionText }}
9
+ </p>
10
+ <div class="browsers-block">
11
+ <a
12
+ href="https://www.google.com/chrome/"
13
+ target="_blank"
14
+ class="browser-link"
15
+ >
16
+ <div class="browser-item">
17
+ <atoms-the-icon2 name="chrome" class="browser-icon" />
18
+ <p class="browser-name">Chrome</p>
19
+ </div>
20
+ </a>
21
+ <a
22
+ href="https://www.mozilla.org/en-US/"
23
+ target="_blank"
24
+ class="browser-link"
25
+ >
26
+ <div class="browser-item">
27
+ <atoms-the-icon2 name="firefox" class="browser-icon" />
28
+ <p class="browser-name">Firefox</p>
29
+ </div>
30
+ </a>
31
+ <a
32
+ href="https://support.apple.com/downloads/safari"
33
+ target="_blank"
34
+ class="browser-link"
35
+ >
36
+ <div class="browser-item">
37
+ <atoms-the-icon2 name="safari" class="browser-icon" />
38
+ <p class="browser-name">Safari</p>
39
+ </div>
40
+ </a>
41
+ <a
42
+ href="https://www.microsoft.com/en-us/edge/download?form=MA13FJ"
43
+ target="_blank"
44
+ class="browser-link last"
45
+ >
46
+ <div class="browser-item">
47
+ <atoms-the-icon2 name="edge" class="browser-icon" />
48
+ <p class="browser-name">Edge</p>
49
+ </div>
50
+ </a>
51
+ </div>
52
+ <p>
53
+ {{ localization.browserOutDateDesc2 }}
54
+ <a href="#">{{ localization.browserOutDateDesc3 }}</a>
55
+ </p>
56
+ </div>
57
+ </div>
58
+ </template>
59
+
60
+ <script setup lang="ts">
61
+ import { UI_I_Localization } from '~/models/interfaces'
62
+
63
+ const props = defineProps<{
64
+ projectName: string
65
+ }>()
66
+
67
+ const localization = computed<UI_I_Localization>(() => useLocal())
68
+
69
+ const firstDescriptionText = computed<string>(() =>
70
+ localization.value.browserOutDateDesc.replace('{0}', props.projectName)
71
+ )
72
+ </script>
73
+
74
+ <style scoped lang="scss">
75
+ .bad-browser {
76
+ height: inherit;
77
+ display: flex;
78
+ justify-content: center;
79
+ align-items: center;
80
+
81
+ .main-block {
82
+ width: max-content;
83
+ padding: 20px 40px;
84
+ text-align: center;
85
+
86
+ .title-block {
87
+ font-size: 32px;
88
+ font-weight: 400;
89
+ }
90
+ .description-text {
91
+ &.first {
92
+ margin: 0 auto;
93
+ max-width: 400px;
94
+ }
95
+ }
96
+ .browsers-block {
97
+ margin: 20px 0;
98
+ display: flex;
99
+ align-items: center;
100
+ justify-content: center;
101
+
102
+ .browser-link:not(.last) {
103
+ margin-right: 40px;
104
+ }
105
+
106
+ .browser-item {
107
+ .browser-icon {
108
+ width: 60px;
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
114
+ </style>
@@ -1,82 +1,82 @@
1
- <template>
2
- <div>
3
- <atoms-modal
4
- test-id="add-adapter-warning"
5
- width="576"
6
- height="420"
7
- :show="props.show"
8
- :title="props.title"
9
- class="diagram-action__remove"
10
- @hide="onHideModal"
11
- >
12
- <template #modalBody>
13
- <div class="modal-body-content modal-body-content__confirmation">
14
- <div class="confirm-icon-container">
15
- <atoms-diagram-icon name="is-warning" />
16
- </div>
17
- <p class="preserve-newlines">
18
- {{ localization.noFreeNetworkAdaptersAddSwitch }}
19
- </p>
20
- </div>
21
- </template>
22
- <template #modalFooter>
23
- <span>
24
- <button
25
- :id="`${props.testId}-modal-close-button`"
26
- type="button"
27
- class="btn btn-primary"
28
- @click="onHideModal"
29
- >
30
- {{ localization.ok }}
31
- </button>
32
- </span>
33
- </template>
34
- </atoms-modal>
35
- </div>
36
- </template>
37
-
38
- <script setup lang="ts">
39
- import { UI_I_Localization } from '~/models/interfaces'
40
-
41
- // Props from up
42
- const props = defineProps<{
43
- show: boolean
44
- modalName: string
45
- viewName: string
46
- title: string
47
- testId: string
48
- }>()
49
-
50
- // UI_I_Localization
51
- const localization = computed<UI_I_Localization>(() => useLocal())
52
-
53
- // Modal
54
- const emits = defineEmits<{
55
- (event: 'hide'): void
56
- }>()
57
- const onHideModal = (): void => {
58
- emits('hide')
59
- }
60
- </script>
61
-
62
- <style scoped lang="scss">
63
- :deep(.diagram-action__remove) {
64
- .modal-body-content {
65
- display: flex;
66
-
67
- .confirm-icon-container {
68
- margin-right: 20px;
69
- }
70
-
71
- .preserve-newlines {
72
- white-space: pre-line;
73
- font-size: 15px;
74
- }
75
- }
76
- }
77
- .table-fixed-height {
78
- min-height: 287px;
79
- max-height: 287px;
80
- overflow-y: auto;
81
- }
82
- </style>
1
+ <template>
2
+ <div>
3
+ <atoms-modal
4
+ test-id="add-adapter-warning"
5
+ width="576"
6
+ height="420"
7
+ :show="props.show"
8
+ :title="props.title"
9
+ class="diagram-action__remove"
10
+ @hide="onHideModal"
11
+ >
12
+ <template #modalBody>
13
+ <div class="modal-body-content modal-body-content__confirmation">
14
+ <div class="confirm-icon-container">
15
+ <atoms-diagram-icon name="is-warning" />
16
+ </div>
17
+ <p class="preserve-newlines">
18
+ {{ localization.noFreeNetworkAdaptersAddSwitch }}
19
+ </p>
20
+ </div>
21
+ </template>
22
+ <template #modalFooter>
23
+ <span>
24
+ <button
25
+ :id="`${props.testId}-modal-close-button`"
26
+ type="button"
27
+ class="btn btn-primary"
28
+ @click="onHideModal"
29
+ >
30
+ {{ localization.ok }}
31
+ </button>
32
+ </span>
33
+ </template>
34
+ </atoms-modal>
35
+ </div>
36
+ </template>
37
+
38
+ <script setup lang="ts">
39
+ import { UI_I_Localization } from '~/models/interfaces'
40
+
41
+ // Props from up
42
+ const props = defineProps<{
43
+ show: boolean
44
+ modalName: string
45
+ viewName: string
46
+ title: string
47
+ testId: string
48
+ }>()
49
+
50
+ // UI_I_Localization
51
+ const localization = computed<UI_I_Localization>(() => useLocal())
52
+
53
+ // Modal
54
+ const emits = defineEmits<{
55
+ (event: 'hide'): void
56
+ }>()
57
+ const onHideModal = (): void => {
58
+ emits('hide')
59
+ }
60
+ </script>
61
+
62
+ <style scoped lang="scss">
63
+ :deep(.diagram-action__remove) {
64
+ .modal-body-content {
65
+ display: flex;
66
+
67
+ .confirm-icon-container {
68
+ margin-right: 20px;
69
+ }
70
+
71
+ .preserve-newlines {
72
+ white-space: pre-line;
73
+ font-size: 15px;
74
+ }
75
+ }
76
+ }
77
+ .table-fixed-height {
78
+ min-height: 287px;
79
+ max-height: 287px;
80
+ overflow-y: auto;
81
+ }
82
+ </style>
@@ -1,62 +1,62 @@
1
- <template>
2
- <div>
3
- <atoms-modal
4
- test-id="no-active-adapters"
5
- width="576px"
6
- height="257px"
7
- :show="props.show"
8
- :title="localization.physicalNetworkAdaptersWarning"
9
- @hide="onHide"
10
- @submit="onSubmit"
11
- >
12
- <template #modalBody>
13
- <div class="modal-body-content modal-body-content__confirmation">
14
- <div class="confirm-icon-container">
15
- <atoms-diagram-icon name="is-warning" />
16
- </div>
17
- <p class="preserve-newlines">
18
- {{
19
- `${localization.thereAreNoActivePhysicalNetworkAdaptersForSwitch}
20
-
21
- ${localization.okOrCancelToReviewYourChanges}`
22
- }}
23
- </p>
24
- </div>
25
- </template>
26
- </atoms-modal>
27
- </div>
28
- </template>
29
-
30
- <script setup lang="ts">
31
- import { UI_I_Localization } from '~/models/interfaces'
32
-
33
- const props = defineProps<{
34
- show: boolean
35
- title: string
36
- }>()
37
-
38
- const emits = defineEmits<{
39
- (event: 'hide'): void
40
- (event: 'submit'): void
41
- }>()
42
-
43
- const onHide = () => emits('hide')
44
- const onSubmit = () => emits('submit')
45
-
46
- const localization = computed<UI_I_Localization>(() => useLocal())
47
- </script>
48
-
49
- <style scoped lang="scss">
50
- :deep(.modal-body-content.modal-body-content__confirmation) {
51
- display: flex;
52
-
53
- .confirm-icon-container {
54
- margin-right: 20px;
55
- }
56
-
57
- .preserve-newlines {
58
- white-space: pre-line;
59
- font-size: 15px;
60
- }
61
- }
62
- </style>
1
+ <template>
2
+ <div>
3
+ <atoms-modal
4
+ test-id="no-active-adapters"
5
+ width="576px"
6
+ height="257px"
7
+ :show="props.show"
8
+ :title="localization.physicalNetworkAdaptersWarning"
9
+ @hide="onHide"
10
+ @submit="onSubmit"
11
+ >
12
+ <template #modalBody>
13
+ <div class="modal-body-content modal-body-content__confirmation">
14
+ <div class="confirm-icon-container">
15
+ <atoms-diagram-icon name="is-warning" />
16
+ </div>
17
+ <p class="preserve-newlines">
18
+ {{
19
+ `${localization.thereAreNoActivePhysicalNetworkAdaptersForSwitch}
20
+
21
+ ${localization.okOrCancelToReviewYourChanges}`
22
+ }}
23
+ </p>
24
+ </div>
25
+ </template>
26
+ </atoms-modal>
27
+ </div>
28
+ </template>
29
+
30
+ <script setup lang="ts">
31
+ import { UI_I_Localization } from '~/models/interfaces'
32
+
33
+ const props = defineProps<{
34
+ show: boolean
35
+ title: string
36
+ }>()
37
+
38
+ const emits = defineEmits<{
39
+ (event: 'hide'): void
40
+ (event: 'submit'): void
41
+ }>()
42
+
43
+ const onHide = () => emits('hide')
44
+ const onSubmit = () => emits('submit')
45
+
46
+ const localization = computed<UI_I_Localization>(() => useLocal())
47
+ </script>
48
+
49
+ <style scoped lang="scss">
50
+ :deep(.modal-body-content.modal-body-content__confirmation) {
51
+ display: flex;
52
+
53
+ .confirm-icon-container {
54
+ margin-right: 20px;
55
+ }
56
+
57
+ .preserve-newlines {
58
+ white-space: pre-line;
59
+ font-size: 15px;
60
+ }
61
+ }
62
+ </style>