bfg-common 1.2.108 → 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/assets/localization/local_be.json +5 -1
- package/assets/localization/local_en.json +5 -1
- package/assets/localization/local_hy.json +5 -1
- package/assets/localization/local_kk.json +5 -1
- package/assets/localization/local_ru.json +5 -1
- package/assets/localization/local_zh.json +5 -1
- package/components/atoms/modal/Modal.vue +6 -0
- package/components/atoms/modal/bySteps/BySteps.vue +1 -1
- package/components/atoms/modal/byStepsSecond/ByStepsSecond.vue +2 -2
- package/components/atoms/step/VerticalStep.vue +1 -1
- 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/monitor/advanced/tools/Tools.vue +428 -428
- 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/config/stepItems.ts +3 -3
- package/components/common/wizards/datastore/add/nfs/kerberosAuthentication/KerberosAuthentication.vue +54 -54
- package/components/common/wizards/vm/common/Tooltip.vue +74 -0
- package/components/common/wizards/vm/common/readyComplete/ReadyComplete.vue +15 -0
- package/components/common/wizards/vm/migrate/Migrate.vue +204 -0
- package/components/common/wizards/vm/migrate/config/constructDataReady.ts +82 -0
- package/components/common/wizards/vm/migrate/contentHeading/ContentHeading.vue +31 -0
- package/components/common/wizards/vm/migrate/models/enums.ts +6 -0
- package/components/common/wizards/vm/migrate/models/interfaces.ts +13 -0
- package/components/common/wizards/vm/migrate/models/types.ts +5 -0
- package/components/common/wizards/vm/migrate/select/storage/Storage.vue +136 -0
- package/components/common/wizards/vm/migrate/select/storage/config/tabsPannel.ts +18 -0
- package/components/common/wizards/vm/migrate/select/storage/configure/batch/Batch.vue +61 -0
- package/components/common/wizards/vm/migrate/select/storage/configure/disk/Disk.vue +73 -0
- package/components/common/wizards/vm/migrate/select/storage/diskFormat/DiskFormat.vue +68 -0
- package/components/common/wizards/vm/migrate/select/storage/diskFormat/config/formatOptions.ts +22 -0
- package/components/common/wizards/vm/migrate/select/storage/models/interfaces.ts +14 -0
- package/components/common/wizards/vm/migrate/select/storage/models/types.ts +3 -0
- package/components/common/wizards/vm/migrate/select/storage/policy/Policy.vue +83 -0
- package/components/common/wizards/vm/migrate/select/storage/selectedPerDisk/SelectedPerDisk.vue +84 -0
- package/components/common/wizards/vm/migrate/select/storage/table/datastore/Datastore.vue +105 -0
- package/components/common/wizards/vm/migrate/select/storage/table/datastore/config/config.ts +154 -0
- package/components/common/wizards/vm/migrate/select/storage/table/datastore/models/types.ts +15 -0
- package/components/common/wizards/vm/migrate/select/storage/table/disk/Disk.vue +73 -0
- package/components/common/wizards/vm/migrate/select/storage/table/disk/config/config.ts +102 -0
- package/components/common/wizards/vm/migrate/select/storage/table/disk/models/interfaces.ts +9 -0
- package/components/common/wizards/vm/migrate/select/storage/table/disk/models/types.ts +9 -0
- package/components/common/wizards/vm/migrate/select/type/Type.vue +38 -0
- package/components/common/wizards/vm/migrate/select/type/config/typeOptions.ts +41 -0
- package/components/common/wizards/vm/migrate/select/type/models/interfaces.ts +5 -0
- package/components/common/wizards/vm/migrate/utils.ts +125 -0
- 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,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>
|
|
@@ -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>
|
|
@@ -127,6 +127,7 @@
|
|
|
127
127
|
:initial-data="initialData"
|
|
128
128
|
:items="networkEditSettingsTabs"
|
|
129
129
|
:adapters="props.adapters"
|
|
130
|
+
:is-dark-mode="props.isDarkMode"
|
|
130
131
|
@send-edit-data="onSendEditData"
|
|
131
132
|
@change-edit-fields-data="onChangeEditFieldsData"
|
|
132
133
|
@check-network-label="onCheckNetworkLabel"
|
|
@@ -141,6 +142,7 @@
|
|
|
141
142
|
:title="initialData.portName"
|
|
142
143
|
:initial-data="initialData"
|
|
143
144
|
:items="portEditSettingsTabs"
|
|
145
|
+
:is-dark-mode="props.isDarkMode"
|
|
144
146
|
@send-edit-data="onSendEditData"
|
|
145
147
|
@change-edit-fields-data="onChangeEditFieldsData"
|
|
146
148
|
@hide="onHidePortEditSettingsModal"
|
|
@@ -156,6 +158,7 @@
|
|
|
156
158
|
:initial-data="initialData"
|
|
157
159
|
:items="switchEditSettingsTabs"
|
|
158
160
|
:adapters="props.adapters"
|
|
161
|
+
:is-dark-mode="props.isDarkMode"
|
|
159
162
|
@send-edit-data="onSendEditData"
|
|
160
163
|
@change-edit-fields-data="onChangeEditFieldsData"
|
|
161
164
|
@check-network-label="onCheckNetworkLabel"
|