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
@@ -1,182 +1,182 @@
1
- <template>
2
- <atoms-modal
3
- test-id="browse"
4
- width="864px"
5
- height="586px"
6
- :show="props.show"
7
- :title="localization.selectFile"
8
- :disabled-submit="!props.selectedFile"
9
- >
10
- <template #modalBody>
11
- <common-browse-blocks-container
12
- type="horizontal"
13
- :blocks-width="blocksWidth"
14
- @change-widths="onChangeWidths"
15
- >
16
- <template #firstBlock>
17
- <common-browse-blocks-title
18
- :width="blocksWidth[0]"
19
- :title="localization.datastores"
20
- >
21
- <template #content>
22
- <div class="">
23
- <common-recursion-tree
24
- :nodes="props.nodes"
25
- class="recursion-tree"
26
- @get-nodes="onShowNodes"
27
- @select-node="onSelectNode"
28
- />
29
- </div>
30
- </template>
31
- </common-browse-blocks-title>
32
- </template>
33
- <template #secondBlock>
34
- <common-browse-blocks-title
35
- :width="blocksWidth[1]"
36
- :title="localization.contents"
37
- >
38
- <template #content>
39
- <common-browse-blocks-contents-files
40
- :selected-folder-files="props.files"
41
- :selected-file="props.selectedFile"
42
- @select-file="onSelectFile"
43
- />
44
- </template>
45
- </common-browse-blocks-title>
46
- </template>
47
- <template #thirdBlock>
48
- <common-browse-blocks-title
49
- :width="blocksWidth[2]"
50
- :title="localization.information"
51
- >
52
- <template v-if="info" #content>
53
- <div
54
- v-for="item in info"
55
- :key="item.title"
56
- class="info-container"
57
- >
58
- <common-browse-blocks-info-text
59
- v-if="item.type === 'text'"
60
- :title="item.title"
61
- :value="item.value"
62
- />
63
- <common-browse-blocks-info-size
64
- v-if="item.type === 'size'"
65
- :title="item.title"
66
- :value="item.value"
67
- />
68
- <common-browse-blocks-info-date
69
- v-if="item.type === 'date'"
70
- :title="item.title"
71
- :value="item.value"
72
- />
73
- </div>
74
- </template>
75
- </common-browse-blocks-title>
76
- </template>
77
- </common-browse-blocks-container>
78
- <div v-if="props.fileTypes" class="ptm">
79
- <b>{{ localization.fileType }}:</b>
80
- <select v-model="selectedFileTypeLocal">
81
- <option
82
- v-for="item in props.fileTypes"
83
- :key="item.value"
84
- :value="item.value"
85
- >
86
- {{ item.text }}
87
- </option>
88
- </select>
89
- </div>
90
- </template>
91
- </atoms-modal>
92
- </template>
93
-
94
- <script setup lang="ts">
95
- import { UI_I_Localization } from '~/models/interfaces'
96
- import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
97
- import { UI_T_BlocksWidth } from '~/components/common/browse/blocks/models/types'
98
- import { UI_I_FileInfo } from '~/components/common/browse/models/interfaces'
99
-
100
- const props = defineProps<{
101
- show: boolean
102
- nodes: any[]
103
- files: any[]
104
- info: UI_I_FileInfo[] | null
105
- selectedFile: any | null
106
- fileTypes?: UI_I_OptionItem[]
107
- selectedFileType?: any
108
- }>()
109
- const emits = defineEmits<{
110
- (
111
- event: 'get-nodes',
112
- value: {
113
- node: any | null
114
- cb: () => void
115
- }
116
- ): void
117
- (event: 'select-node', value: any): void
118
- (event: 'update:selected-file', value: any): void
119
- (event: 'update:selected-file-type', value: any): void
120
- }>()
121
-
122
- const localization = computed<UI_I_Localization>(() => useLocal())
123
-
124
- const blocksWidth = ref<UI_T_BlocksWidth>([272, 272, 256])
125
-
126
- const onChangeWidths = (width: number, index: number) => {
127
- blocksWidth.value[index] = width
128
- }
129
- const onSelectFile = (file: any) => {
130
- emits('update:selected-file', file)
131
- }
132
- const onSelectNode = (node: any): void => {
133
- emits('select-node', node)
134
- }
135
- const onShowNodes = (data: { node: any | null; cb: () => void }): void => {
136
- emits('get-nodes', data)
137
- }
138
-
139
- const selectedFileTypeLocal = computed<any>({
140
- get() {
141
- return props.selectedFileType
142
- },
143
- set(newValue) {
144
- emits('update:selected-file-type', newValue)
145
- },
146
- })
147
- </script>
148
-
149
- <style scoped lang="scss">
150
- :deep(.recursion-tree) {
151
- .tree-node-text-drag {
152
- border-radius: 3px 0 0 3px;
153
- }
154
- }
155
-
156
- :deep(.modal-body) {
157
- overflow: hidden;
158
- min-height: 430px;
159
- }
160
-
161
- .info-container {
162
- padding: 3px;
163
- div {
164
- line-height: 17px;
165
- span {
166
- font-size: 13px;
167
- font-weight: 400;
168
- }
169
- }
170
- }
171
-
172
- .ptm {
173
- padding-top: 5px;
174
-
175
- select {
176
- outline: none;
177
- border-color: rgb(118, 118, 118);
178
- color: rgb(133, 133, 133);
179
- margin-left: 5px;
180
- }
181
- }
182
- </style>
1
+ <template>
2
+ <atoms-modal
3
+ test-id="browse"
4
+ width="864px"
5
+ height="586px"
6
+ :show="props.show"
7
+ :title="localization.selectFile"
8
+ :disabled-submit="!props.selectedFile"
9
+ >
10
+ <template #modalBody>
11
+ <common-browse-blocks-container
12
+ type="horizontal"
13
+ :blocks-width="blocksWidth"
14
+ @change-widths="onChangeWidths"
15
+ >
16
+ <template #firstBlock>
17
+ <common-browse-blocks-title
18
+ :width="blocksWidth[0]"
19
+ :title="localization.datastores"
20
+ >
21
+ <template #content>
22
+ <div class="">
23
+ <common-recursion-tree
24
+ :nodes="props.nodes"
25
+ class="recursion-tree"
26
+ @get-nodes="onShowNodes"
27
+ @select-node="onSelectNode"
28
+ />
29
+ </div>
30
+ </template>
31
+ </common-browse-blocks-title>
32
+ </template>
33
+ <template #secondBlock>
34
+ <common-browse-blocks-title
35
+ :width="blocksWidth[1]"
36
+ :title="localization.contents"
37
+ >
38
+ <template #content>
39
+ <common-browse-blocks-contents-files
40
+ :selected-folder-files="props.files"
41
+ :selected-file="props.selectedFile"
42
+ @select-file="onSelectFile"
43
+ />
44
+ </template>
45
+ </common-browse-blocks-title>
46
+ </template>
47
+ <template #thirdBlock>
48
+ <common-browse-blocks-title
49
+ :width="blocksWidth[2]"
50
+ :title="localization.information"
51
+ >
52
+ <template v-if="info" #content>
53
+ <div
54
+ v-for="item in info"
55
+ :key="item.title"
56
+ class="info-container"
57
+ >
58
+ <common-browse-blocks-info-text
59
+ v-if="item.type === 'text'"
60
+ :title="item.title"
61
+ :value="item.value"
62
+ />
63
+ <common-browse-blocks-info-size
64
+ v-if="item.type === 'size'"
65
+ :title="item.title"
66
+ :value="item.value"
67
+ />
68
+ <common-browse-blocks-info-date
69
+ v-if="item.type === 'date'"
70
+ :title="item.title"
71
+ :value="item.value"
72
+ />
73
+ </div>
74
+ </template>
75
+ </common-browse-blocks-title>
76
+ </template>
77
+ </common-browse-blocks-container>
78
+ <div v-if="props.fileTypes" class="ptm">
79
+ <b>{{ localization.fileType }}:</b>
80
+ <select v-model="selectedFileTypeLocal">
81
+ <option
82
+ v-for="item in props.fileTypes"
83
+ :key="item.value"
84
+ :value="item.value"
85
+ >
86
+ {{ item.text }}
87
+ </option>
88
+ </select>
89
+ </div>
90
+ </template>
91
+ </atoms-modal>
92
+ </template>
93
+
94
+ <script setup lang="ts">
95
+ import { UI_I_Localization } from '~/models/interfaces'
96
+ import { UI_I_OptionItem } from '~/components/atoms/models/interfaces'
97
+ import { UI_T_BlocksWidth } from '~/components/common/browse/blocks/models/types'
98
+ import { UI_I_FileInfo } from '~/components/common/browse/models/interfaces'
99
+
100
+ const props = defineProps<{
101
+ show: boolean
102
+ nodes: any[]
103
+ files: any[]
104
+ info: UI_I_FileInfo[] | null
105
+ selectedFile: any | null
106
+ fileTypes?: UI_I_OptionItem[]
107
+ selectedFileType?: any
108
+ }>()
109
+ const emits = defineEmits<{
110
+ (
111
+ event: 'get-nodes',
112
+ value: {
113
+ node: any | null
114
+ cb: () => void
115
+ }
116
+ ): void
117
+ (event: 'select-node', value: any): void
118
+ (event: 'update:selected-file', value: any): void
119
+ (event: 'update:selected-file-type', value: any): void
120
+ }>()
121
+
122
+ const localization = computed<UI_I_Localization>(() => useLocal())
123
+
124
+ const blocksWidth = ref<UI_T_BlocksWidth>([272, 272, 256])
125
+
126
+ const onChangeWidths = (width: number, index: number) => {
127
+ blocksWidth.value[index] = width
128
+ }
129
+ const onSelectFile = (file: any) => {
130
+ emits('update:selected-file', file)
131
+ }
132
+ const onSelectNode = (node: any): void => {
133
+ emits('select-node', node)
134
+ }
135
+ const onShowNodes = (data: { node: any | null; cb: () => void }): void => {
136
+ emits('get-nodes', data)
137
+ }
138
+
139
+ const selectedFileTypeLocal = computed<any>({
140
+ get() {
141
+ return props.selectedFileType
142
+ },
143
+ set(newValue) {
144
+ emits('update:selected-file-type', newValue)
145
+ },
146
+ })
147
+ </script>
148
+
149
+ <style scoped lang="scss">
150
+ :deep(.recursion-tree) {
151
+ .tree-node-text-drag {
152
+ border-radius: 3px 0 0 3px;
153
+ }
154
+ }
155
+
156
+ :deep(.modal-body) {
157
+ overflow: hidden;
158
+ min-height: 430px;
159
+ }
160
+
161
+ .info-container {
162
+ padding: 3px;
163
+ div {
164
+ line-height: 17px;
165
+ span {
166
+ font-size: 13px;
167
+ font-weight: 400;
168
+ }
169
+ }
170
+ }
171
+
172
+ .ptm {
173
+ padding-top: 5px;
174
+
175
+ select {
176
+ outline: none;
177
+ border-color: rgb(118, 118, 118);
178
+ color: rgb(133, 133, 133);
179
+ margin-left: 5px;
180
+ }
181
+ }
182
+ </style>
@@ -1,66 +1,66 @@
1
- <template>
2
- <div class="title-block" :style="blockWidth">
3
- <div class="title-block__container" :style="blockWidth">
4
- <div class="title-block__title" :style="blockTitleWidth">
5
- <b>{{ props.title }}</b>
6
- </div>
7
- <div class="title-block__body">
8
- <slot name="content"></slot>
9
- </div>
10
- </div>
11
- </div>
12
- </template>
13
-
14
- <script setup lang="ts">
15
- const props = defineProps<{
16
- title: string
17
- width: number
18
- }>()
19
-
20
- const blockWidth = computed(() => ({ width: `${props.width}px` }))
21
- const blockTitleWidth = computed(() => ({ width: `${props.width - 2}px` }))
22
- </script>
23
-
24
- <style scoped lang="scss">
25
- .title-block {
26
- width: 100%;
27
- min-height: 400px;
28
- position: relative;
29
-
30
- &__container {
31
- position: absolute;
32
- top: 0;
33
- height: 400px;
34
- left: 0;
35
- display: flex;
36
- flex-direction: column;
37
- border-width: 1px;
38
- border-style: solid;
39
- border-color: rgb(204, 204, 204);
40
- border-image: initial;
41
- background: rgb(255, 255, 255);
42
- }
43
- &__title {
44
- background-color: rgb(231, 235, 239);
45
- flex: 0 0 auto;
46
- padding: 8px;
47
- border-bottom: 1px solid rgb(204, 204, 204);
48
- display: inline-block;
49
- white-space: nowrap;
50
- overflow: hidden !important;
51
- text-overflow: ellipsis;
52
-
53
- b {
54
- font-weight: bolder;
55
- font-size: 13px;
56
- letter-spacing: normal;
57
- font-family: Metropolis, Avenir Next, Helvetica Neue, Arial, sans-serif;
58
- color: #666;
59
- }
60
- }
61
- &__body {
62
- flex: 1 1 auto;
63
- overflow-y: auto;
64
- }
65
- }
66
- </style>
1
+ <template>
2
+ <div class="title-block" :style="blockWidth">
3
+ <div class="title-block__container" :style="blockWidth">
4
+ <div class="title-block__title" :style="blockTitleWidth">
5
+ <b>{{ props.title }}</b>
6
+ </div>
7
+ <div class="title-block__body">
8
+ <slot name="content"></slot>
9
+ </div>
10
+ </div>
11
+ </div>
12
+ </template>
13
+
14
+ <script setup lang="ts">
15
+ const props = defineProps<{
16
+ title: string
17
+ width: number
18
+ }>()
19
+
20
+ const blockWidth = computed(() => ({ width: `${props.width}px` }))
21
+ const blockTitleWidth = computed(() => ({ width: `${props.width - 2}px` }))
22
+ </script>
23
+
24
+ <style scoped lang="scss">
25
+ .title-block {
26
+ width: 100%;
27
+ min-height: 400px;
28
+ position: relative;
29
+
30
+ &__container {
31
+ position: absolute;
32
+ top: 0;
33
+ height: 400px;
34
+ left: 0;
35
+ display: flex;
36
+ flex-direction: column;
37
+ border-width: 1px;
38
+ border-style: solid;
39
+ border-color: rgb(204, 204, 204);
40
+ border-image: initial;
41
+ background: rgb(255, 255, 255);
42
+ }
43
+ &__title {
44
+ background-color: rgb(231, 235, 239);
45
+ flex: 0 0 auto;
46
+ padding: 8px;
47
+ border-bottom: 1px solid rgb(204, 204, 204);
48
+ display: inline-block;
49
+ white-space: nowrap;
50
+ overflow: hidden !important;
51
+ text-overflow: ellipsis;
52
+
53
+ b {
54
+ font-weight: bolder;
55
+ font-size: 13px;
56
+ letter-spacing: normal;
57
+ font-family: Metropolis, Avenir Next, Helvetica Neue, Arial, sans-serif;
58
+ color: #666;
59
+ }
60
+ }
61
+ &__body {
62
+ flex: 1 1 auto;
63
+ overflow-y: auto;
64
+ }
65
+ }
66
+ </style>