bfg-common 1.2.67 → 1.2.69

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 (81) 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/accordion/Accordion.vue +7 -14
  18. package/components/common/accordion/utils/accordion.ts +1 -1
  19. package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
  20. package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
  21. package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
  22. package/components/common/browse/Browse.vue +182 -182
  23. package/components/common/browse/blocks/Title.vue +66 -66
  24. package/components/common/diagramMain/Diagram.vue +186 -186
  25. package/components/common/diagramMain/DiagramMain.vue +986 -986
  26. package/components/common/diagramMain/adapter/AdapterItem.vue +227 -227
  27. package/components/common/diagramMain/adapter/AdapterItems.vue +57 -57
  28. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
  29. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
  30. package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
  31. package/components/common/diagramMain/network/Contents.vue +238 -238
  32. package/components/common/feedback/Buttons.vue +227 -227
  33. package/components/common/feedback/Feedback.vue +261 -261
  34. package/components/common/feedback/Message.vue +506 -506
  35. package/components/common/feedback/VisitPortal.vue +53 -53
  36. package/components/common/help/navbar/left/Left.vue +164 -159
  37. package/components/common/help/navbar/left/utils/constructAccordion.ts +27 -27
  38. package/components/common/modals/Rename.vue +165 -165
  39. package/components/common/monitor/advanced/tools/chartOptionsModal/ChartOptionsModal.vue +2 -1
  40. package/components/common/monitor/advanced/tools/chartOptionsModal/counters/table/Table.vue +9 -3
  41. package/components/common/perPage/PerPage.vue +51 -51
  42. package/components/common/recursionTree/RecursionTree.vue +201 -201
  43. package/components/common/vm/actions/clone/Clone.vue +545 -545
  44. package/components/common/vm/actions/clone/select/options/Options.vue +65 -65
  45. package/components/common/vm/actions/clone/utils.ts +43 -43
  46. package/components/common/vm/actions/common/config/capabilities.ts +338 -338
  47. package/components/common/vm/actions/common/customizeHardware/virtualHardware/VirtualHardware.vue +678 -678
  48. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +109 -109
  49. package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +383 -383
  50. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +234 -234
  51. package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/config/options.ts +28 -28
  52. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +316 -316
  53. package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/config/memoryOptions.ts +35 -35
  54. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +445 -445
  55. package/components/common/vm/actions/common/customizeHardware/virtualHardware/newNetwork/NewNetwork.vue +288 -288
  56. package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +235 -235
  57. package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +177 -177
  58. package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +197 -197
  59. package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +181 -181
  60. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +51 -51
  61. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +253 -253
  62. package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +55 -55
  63. package/components/common/vm/actions/common/select/storage/Storage.vue +194 -194
  64. package/components/common/vm/actions/common/select/storage/config/config.ts +154 -154
  65. package/components/common/wizards/datastore/add/nfs/Nfs.vue +94 -94
  66. package/components/common/wizards/datastore/add/nfs/configuration/Configuration.vue +377 -377
  67. package/components/common/wizards/datastore/add/nfs/configuration/serversList/ServersList.vue +123 -123
  68. package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
  69. package/components/common/wizards/datastore/add/sharedStorm/deviceSelection/hostTable/HostTable.vue +131 -131
  70. package/components/common/wizards/datastore/add/sharedStorm/partitionConfiguration/PartitionConfiguration.vue +230 -230
  71. package/composables/useLocal.ts +38 -38
  72. package/minify.js +146 -146
  73. package/models/store/interfaces.ts +37 -37
  74. package/models/store/storage/interfaces.ts +32 -32
  75. package/models/store/types.ts +32 -32
  76. package/modules/fixContentBuild/utils/methods.ts +114 -114
  77. package/package.json +1 -1
  78. package/public/spice-console/application/codec.js +257 -257
  79. package/public/spice-console/lib/rasterEngine.js +907 -907
  80. package/public/spice-console/network/spicechannel.js +369 -369
  81. package/utils/contentBuild.ts +34 -34
@@ -30,18 +30,11 @@
30
30
  <script setup lang="ts">
31
31
  import { vOnClickOutside } from '@vueuse/components'
32
32
  import type { UI_I_AccordionRecursion } from '~/components/common/accordion/models/interfaces'
33
- import type { UI_T_ShowType } from '~/components/common/accordion/models/types'
34
- import { UI_E_ShowType } from '~/components/common/accordion/models/enums'
35
- import { constructItems } from '~/components/common/accordion/utils/accordion'
36
-
37
- const props = withDefaults(
38
- defineProps<{
39
- testId: string
40
- accordion: UI_I_AccordionRecursion[]
41
- showType?: UI_T_ShowType
42
- }>(),
43
- { showType: 'default' }
44
- )
33
+
34
+ const props = defineProps<{
35
+ testId: string
36
+ accordion: UI_I_AccordionRecursion[]
37
+ }>()
45
38
 
46
39
  const emits = defineEmits<{
47
40
  (event: 'change', value: UI_I_AccordionRecursion): void
@@ -49,8 +42,8 @@ const emits = defineEmits<{
49
42
 
50
43
  const parentName = ref<string>('')
51
44
  const childName = ref<string>('')
52
- const accordionLocal = computed<UI_I_AccordionRecursion[]>(() =>
53
- constructItems(props.accordion, UI_E_ShowType[props.showType])
45
+ const accordionLocal = computed<UI_I_AccordionRecursion[]>(
46
+ () => props.accordion
54
47
  )
55
48
 
56
49
  const closeDropMenuMobile = (): void => {
@@ -22,7 +22,7 @@ const defaultShow = (
22
22
  return item
23
23
  })
24
24
 
25
- export const constructItems = (
25
+ export const constructAccordionItems = (
26
26
  accordion: UI_I_AccordionRecursion[],
27
27
  showType: number
28
28
  ): UI_I_AccordionRecursion[] =>
@@ -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>
@@ -1,62 +1,62 @@
1
- <template>
2
- <div>
3
- <atoms-modal
4
- test-id="no-connected-active-adapter"
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.allActiveAdaptersAreDisconnected}
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-connected-active-adapter"
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.allActiveAdaptersAreDisconnected}
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>