bfg-common 1.2.109 → 1.2.110
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.
- package/components/atoms/modal/Modal.vue +6 -0
- package/components/atoms/switch/Switch.vue +107 -107
- package/components/atoms/tabs/VerticalTabs.vue +6 -0
- package/components/common/BadBrowser.vue +114 -114
- package/components/common/adapterManager/AddAdapterWarningModal.vue +82 -82
- package/components/common/adapterManager/NoActiveAdaptersModal.vue +62 -62
- package/components/common/adapterManager/NoConnectedActiveAdaptersModal.vue +62 -62
- package/components/common/browse/blocks/Title.vue +66 -66
- package/components/common/diagramMain/DiagramMain.vue +3 -0
- package/components/common/diagramMain/modals/editSettings/EditSettingsModal.vue +183 -72
- package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +1 -1
- package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +339 -339
- package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +202 -202
- package/components/common/diagramMain/modals/remove/RemoveModal.vue +226 -226
- package/components/common/feedback/Feedback.vue +261 -261
- package/components/common/feedback/VisitPortal.vue +53 -53
- package/components/common/help/navbar/left/utils/constructAccordion.ts +27 -27
- package/components/common/recursionTree/RecursionTree.vue +201 -201
- package/components/common/vm/actions/clone/Clone.vue +545 -545
- package/components/common/vm/actions/clone/select/options/Options.vue +65 -65
- package/components/common/vm/actions/clone/utils.ts +43 -43
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/CoresPerSocket.vue +109 -109
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/cpu/Cpu.vue +383 -383
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/Limit.vue +234 -234
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/limit/config/options.ts +28 -28
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/Memory.vue +316 -316
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/memory/config/memoryOptions.ts +35 -35
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/newHardDisk/NewHardDisk.vue +446 -446
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/reservation/Reservation.vue +235 -235
- package/components/common/vm/actions/common/customizeHardware/virtualHardware/videoCard/VideoCard.vue +177 -177
- package/components/common/vm/actions/common/customizeHardware/vmoptions/bootOptions/order/Order.vue +197 -197
- package/components/common/vm/actions/common/customizeHardware/vmoptions/generalOptions/GeneralOptions.vue +181 -181
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/CopyPaste.vue +51 -51
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/RemoteConsoleOptions.vue +253 -253
- package/components/common/vm/actions/common/customizeHardware/vmoptions/remoteConsoleOptions/keymap/Keymap.vue +55 -55
- package/components/common/vm/actions/common/select/storage/Storage.vue +194 -194
- package/components/common/vm/actions/common/select/storage/config/config.ts +154 -154
- package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
- package/composables/useLocal.ts +38 -38
- package/minify.js +146 -146
- package/models/store/interfaces.ts +37 -37
- package/models/store/storage/interfaces.ts +32 -32
- package/models/store/types.ts +32 -32
- package/modules/fixContentBuild/utils/methods.ts +114 -114
- package/package.json +1 -1
- package/public/spice-console/application/codec.js +257 -257
- package/public/spice-console/lib/rasterEngine.js +907 -907
- package/public/spice-console/network/spicechannel.js +369 -369
- package/utils/contentBuild.ts +34 -34
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="switch-body">
|
|
3
|
-
<input :id="props.testId" v-model="value" type="checkbox" />
|
|
4
|
-
<label class="switch-label" :for="props.testId"> </label>
|
|
5
|
-
</div>
|
|
6
|
-
</template>
|
|
7
|
-
|
|
8
|
-
<script setup lang="ts">
|
|
9
|
-
const props = withDefaults(
|
|
10
|
-
defineProps<{
|
|
11
|
-
modelValue: boolean
|
|
12
|
-
testId?: string
|
|
13
|
-
}>(),
|
|
14
|
-
{ testId: 'ui-switch' }
|
|
15
|
-
)
|
|
16
|
-
|
|
17
|
-
const emits = defineEmits<{
|
|
18
|
-
(event: 'update:model-value', value: boolean): void
|
|
19
|
-
}>()
|
|
20
|
-
|
|
21
|
-
const value = computed<boolean>({
|
|
22
|
-
get() {
|
|
23
|
-
return props.modelValue
|
|
24
|
-
},
|
|
25
|
-
set(newValue) {
|
|
26
|
-
emits('update:model-value', newValue)
|
|
27
|
-
},
|
|
28
|
-
})
|
|
29
|
-
</script>
|
|
30
|
-
|
|
31
|
-
<style>
|
|
32
|
-
:root {
|
|
33
|
-
--label-before-bg-color: #737373;
|
|
34
|
-
--label-after-bg-color: #fff;
|
|
35
|
-
--label-before-box-shadow: 0 0 0.1rem 0.1rem #69c0e2;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
:root.dark-theme {
|
|
39
|
-
--label-before-bg-color: #fff;
|
|
40
|
-
--label-after-bg-color: #1b2a32;
|
|
41
|
-
--label-before-box-shadow: 0 0 0;
|
|
42
|
-
}
|
|
43
|
-
</style>
|
|
44
|
-
|
|
45
|
-
<style scoped lang="scss">
|
|
46
|
-
.switch-body {
|
|
47
|
-
width: max-content;
|
|
48
|
-
position: relative;
|
|
49
|
-
height: 1.2rem;
|
|
50
|
-
|
|
51
|
-
input[type='checkbox'] {
|
|
52
|
-
position: absolute;
|
|
53
|
-
top: 0.3rem;
|
|
54
|
-
right: 0.3rem;
|
|
55
|
-
height: 0.8rem;
|
|
56
|
-
width: 0.8rem;
|
|
57
|
-
opacity: 0;
|
|
58
|
-
}
|
|
59
|
-
.switch-label {
|
|
60
|
-
display: block;
|
|
61
|
-
position: relative;
|
|
62
|
-
cursor: pointer;
|
|
63
|
-
height: 1.2rem;
|
|
64
|
-
}
|
|
65
|
-
.switch-label {
|
|
66
|
-
&:before {
|
|
67
|
-
position: absolute;
|
|
68
|
-
display: inline-block;
|
|
69
|
-
content: '';
|
|
70
|
-
height: 18px;
|
|
71
|
-
width: 33px;
|
|
72
|
-
border-radius: 0.45rem;
|
|
73
|
-
border: 2px solid var(--label-before-bg-color);
|
|
74
|
-
background-color: var(--label-before-bg-color);
|
|
75
|
-
transition: 0.15s ease-in;
|
|
76
|
-
transition-property: border-color, background-color;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&:after {
|
|
80
|
-
position: absolute;
|
|
81
|
-
display: inline-block;
|
|
82
|
-
content: '';
|
|
83
|
-
height: 14.5px;
|
|
84
|
-
width: 14.5px;
|
|
85
|
-
border: 1px solid var(--label-after-bg-color);
|
|
86
|
-
border-radius: 50%;
|
|
87
|
-
background-color: var(--label-after-bg-color);
|
|
88
|
-
bottom: 12.5px;
|
|
89
|
-
transition: 0.15s ease-in;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
& input[type='checkbox']:focus + label:before {
|
|
94
|
-
box-shadow: var(--label-before-box-shadow);
|
|
95
|
-
}
|
|
96
|
-
& input[type='checkbox']:checked + label:before {
|
|
97
|
-
border-color: #62a420;
|
|
98
|
-
background-color: #62a420;
|
|
99
|
-
}
|
|
100
|
-
& input[type='checkbox']:checked + label:after {
|
|
101
|
-
left: 15px;
|
|
102
|
-
}
|
|
103
|
-
& input[type='checkbox'] + label:after {
|
|
104
|
-
left: 3px;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="switch-body">
|
|
3
|
+
<input :id="props.testId" v-model="value" type="checkbox" />
|
|
4
|
+
<label class="switch-label" :for="props.testId"> </label>
|
|
5
|
+
</div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script setup lang="ts">
|
|
9
|
+
const props = withDefaults(
|
|
10
|
+
defineProps<{
|
|
11
|
+
modelValue: boolean
|
|
12
|
+
testId?: string
|
|
13
|
+
}>(),
|
|
14
|
+
{ testId: 'ui-switch' }
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
const emits = defineEmits<{
|
|
18
|
+
(event: 'update:model-value', value: boolean): void
|
|
19
|
+
}>()
|
|
20
|
+
|
|
21
|
+
const value = computed<boolean>({
|
|
22
|
+
get() {
|
|
23
|
+
return props.modelValue
|
|
24
|
+
},
|
|
25
|
+
set(newValue) {
|
|
26
|
+
emits('update:model-value', newValue)
|
|
27
|
+
},
|
|
28
|
+
})
|
|
29
|
+
</script>
|
|
30
|
+
|
|
31
|
+
<style>
|
|
32
|
+
:root {
|
|
33
|
+
--label-before-bg-color: #737373;
|
|
34
|
+
--label-after-bg-color: #fff;
|
|
35
|
+
--label-before-box-shadow: 0 0 0.1rem 0.1rem #69c0e2;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:root.dark-theme {
|
|
39
|
+
--label-before-bg-color: #fff;
|
|
40
|
+
--label-after-bg-color: #1b2a32;
|
|
41
|
+
--label-before-box-shadow: 0 0 0;
|
|
42
|
+
}
|
|
43
|
+
</style>
|
|
44
|
+
|
|
45
|
+
<style scoped lang="scss">
|
|
46
|
+
.switch-body {
|
|
47
|
+
width: max-content;
|
|
48
|
+
position: relative;
|
|
49
|
+
height: 1.2rem;
|
|
50
|
+
|
|
51
|
+
input[type='checkbox'] {
|
|
52
|
+
position: absolute;
|
|
53
|
+
top: 0.3rem;
|
|
54
|
+
right: 0.3rem;
|
|
55
|
+
height: 0.8rem;
|
|
56
|
+
width: 0.8rem;
|
|
57
|
+
opacity: 0;
|
|
58
|
+
}
|
|
59
|
+
.switch-label {
|
|
60
|
+
display: block;
|
|
61
|
+
position: relative;
|
|
62
|
+
cursor: pointer;
|
|
63
|
+
height: 1.2rem;
|
|
64
|
+
}
|
|
65
|
+
.switch-label {
|
|
66
|
+
&:before {
|
|
67
|
+
position: absolute;
|
|
68
|
+
display: inline-block;
|
|
69
|
+
content: '';
|
|
70
|
+
height: 18px;
|
|
71
|
+
width: 33px;
|
|
72
|
+
border-radius: 0.45rem;
|
|
73
|
+
border: 2px solid var(--label-before-bg-color);
|
|
74
|
+
background-color: var(--label-before-bg-color);
|
|
75
|
+
transition: 0.15s ease-in;
|
|
76
|
+
transition-property: border-color, background-color;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&:after {
|
|
80
|
+
position: absolute;
|
|
81
|
+
display: inline-block;
|
|
82
|
+
content: '';
|
|
83
|
+
height: 14.5px;
|
|
84
|
+
width: 14.5px;
|
|
85
|
+
border: 1px solid var(--label-after-bg-color);
|
|
86
|
+
border-radius: 50%;
|
|
87
|
+
background-color: var(--label-after-bg-color);
|
|
88
|
+
bottom: 12.5px;
|
|
89
|
+
transition: 0.15s ease-in;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
& input[type='checkbox']:focus + label:before {
|
|
94
|
+
box-shadow: var(--label-before-box-shadow);
|
|
95
|
+
}
|
|
96
|
+
& input[type='checkbox']:checked + label:before {
|
|
97
|
+
border-color: #62a420;
|
|
98
|
+
background-color: #62a420;
|
|
99
|
+
}
|
|
100
|
+
& input[type='checkbox']:checked + label:after {
|
|
101
|
+
left: 15px;
|
|
102
|
+
}
|
|
103
|
+
& input[type='checkbox'] + label:after {
|
|
104
|
+
left: 3px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
</style>
|
|
@@ -49,6 +49,12 @@ const selectItem = (value: string): void => {
|
|
|
49
49
|
</script>
|
|
50
50
|
|
|
51
51
|
<style lang="scss" scoped>
|
|
52
|
+
:root.dark-theme {
|
|
53
|
+
.vertical-nav-link:not(.active) {
|
|
54
|
+
color: #fff;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
52
58
|
.vertical-groups-sidenav {
|
|
53
59
|
min-height: 94%;
|
|
54
60
|
background-color: #fafafa;
|
|
@@ -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>
|