bfg-common 1.4.579 → 1.4.580

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 (66) hide show
  1. package/assets/img/icons/icons-sprite-dark-1.svg +407 -437
  2. package/assets/img/icons/icons-sprite-dark-2.svg +343 -347
  3. package/assets/img/icons/icons-sprite-dark-3.svg +227 -227
  4. package/assets/img/icons/icons-sprite-dark-4.svg +255 -259
  5. package/assets/img/icons/icons-sprite-dark-5.svg +488 -488
  6. package/assets/img/icons/icons-sprite-dark-6.svg +94 -94
  7. package/assets/img/icons/icons-sprite-light-1.svg +407 -437
  8. package/assets/img/icons/icons-sprite-light-2.svg +343 -347
  9. package/assets/img/icons/icons-sprite-light-3.svg +227 -227
  10. package/assets/img/icons/icons-sprite-light-4.svg +255 -259
  11. package/assets/img/icons/icons-sprite-light-5.svg +488 -488
  12. package/assets/img/icons/icons-sprite-light-6.svg +94 -94
  13. package/assets/scss/common/icons/icons-6.scss +156 -156
  14. package/assets/scss/common/theme.scss +321 -321
  15. package/components/common/browse/blocks/lib/models/types.ts +1 -1
  16. package/components/common/browse/lib/models/interfaces.ts +5 -5
  17. package/components/common/diagramMain/Diagram.vue +377 -364
  18. package/components/common/diagramMain/DiagramMain.vue +894 -872
  19. package/components/common/diagramMain/Header.vue +211 -211
  20. package/components/common/diagramMain/adapter/AdapterItem.vue +2 -0
  21. package/components/common/diagramMain/adapter/AdapterItems.vue +61 -61
  22. package/components/common/diagramMain/adapter/Contents.vue +207 -189
  23. package/components/common/diagramMain/lib/config/initial.ts +50 -50
  24. package/components/common/diagramMain/lib/config/positions.ts +194 -194
  25. package/components/common/diagramMain/lib/models/enums.ts +44 -44
  26. package/components/common/diagramMain/lib/models/types.ts +21 -21
  27. package/components/common/diagramMain/lib/utils/utils.ts +331 -331
  28. package/components/common/diagramMain/modals/ManagePhysicalAdaptersModal.vue +330 -330
  29. package/components/common/diagramMain/modals/editSettings/ConfirmTeamingSettingsModal.vue +40 -40
  30. package/components/common/diagramMain/modals/editSettings/EditSettings.vue +497 -497
  31. package/components/common/diagramMain/modals/editSettings/EditSettingsModal.vue +812 -812
  32. package/components/common/diagramMain/modals/editSettings/tabs/NetworkProperties.vue +214 -214
  33. package/components/common/diagramMain/modals/editSettings/tabs/Security.vue +189 -189
  34. package/components/common/diagramMain/modals/editSettings/tabs/SwitchProperties.vue +163 -163
  35. package/components/common/diagramMain/modals/editSettings/tabs/TeamingFailover.vue +175 -175
  36. package/components/common/diagramMain/modals/editSettings/tabs/TrafficShaping.vue +398 -398
  37. package/components/common/diagramMain/modals/editSettings/tabs/port/IpvFourSettings.vue +346 -346
  38. package/components/common/diagramMain/modals/editSettings/tabs/port/PortProperties.vue +205 -205
  39. package/components/common/diagramMain/modals/lib/config/diagramConfig.ts +23 -23
  40. package/components/common/diagramMain/modals/lib/config/initial.ts +180 -180
  41. package/components/common/diagramMain/modals/lib/config/vmKernelAdapter.ts +90 -90
  42. package/components/common/diagramMain/modals/lib/mappers/mappers.ts +87 -87
  43. package/components/common/diagramMain/modals/lib/utils/index.ts +24 -24
  44. package/components/common/diagramMain/modals/migrateVmkernelAdapter/MigrateVmkernelAdapter.vue +537 -537
  45. package/components/common/diagramMain/modals/migrateVmkernelAdapter/lib/config/steps.ts +114 -114
  46. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/ConnectionSettings.vue +169 -169
  47. package/components/common/diagramMain/modals/migrateVmkernelAdapter/steps/SelectVmkernelAdapter.vue +159 -159
  48. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/common.ts +14 -14
  49. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings.ts +137 -137
  50. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter.ts +52 -52
  51. package/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/validations.ts +19 -19
  52. package/components/common/diagramMain/modals/viewSettings/info/InfoNew.vue +156 -155
  53. package/components/common/diagramMain/modals/viewSettings/viewSettingsModal/ViewSettingsModalNew.vue +68 -63
  54. package/components/common/diagramMain/network/Contents.vue +491 -488
  55. package/components/common/diagramMain/network/noNetwork/NoNetworkNew.vue +1 -1
  56. package/components/common/diagramMain/port/Port.vue +2 -0
  57. package/components/common/diagramMain/port/Ports.vue +47 -47
  58. package/components/common/layout/theHeader/TheHeaderNew.vue +4 -10
  59. package/components/common/layout/theHeader/userMenu/userMenuNew/UserMenuNew.vue +4 -4
  60. package/components/common/layout/theHeader/userMenu/userMenuNew/lib/config/dropMenu.ts +1 -1
  61. package/components/common/pages/home/headline/HeadlineNew.vue +48 -71
  62. package/components/common/pages/home/resource/ResourceNew.vue +58 -63
  63. package/components/common/pages/home/widgets/WidgetsNew.vue +74 -79
  64. package/components/common/split/horizontal/HorizontalNew.vue +331 -354
  65. package/components/common/wizards/network/add/lib/config/steps.ts +464 -464
  66. package/package.json +2 -2
@@ -1,52 +1,52 @@
1
- import type { UI_I_SelectVmkernelAdapter } from '~/components/common/wizards/network/add/lib/models/interfaces'
2
- import type { UI_I_Localization } from '~/lib/models/interfaces'
3
- import type { UI_I_WizardStep, UI_I_ValidationReturn } from '~/components/atoms/wizard/lib/models/interfaces'
4
- import { UI_E_MigrationValidationFields } from '~/components/common/diagramMain/lib/models/enums'
5
- import type Wizard from '~/components/atoms/wizard/lib/utils/utils'
6
-
7
- export const validateSelectedVmLocal = (
8
- localization: UI_I_Localization,
9
- data: UI_I_SelectVmkernelAdapter,
10
- wizard: Wizard
11
- ): void => {
12
- wizard.validateFieldLocal(
13
- 0,
14
- 'vm',
15
- data.vm === '',
16
- '',
17
- localization.common.noVmKernelNetworkAdapterSelectedForMigration
18
- )
19
- }
20
-
21
- export const checkSelectedVmSync = (
22
- localization: UI_I_Localization,
23
- data: UI_I_SelectVmkernelAdapter,
24
- wizard: Wizard,
25
- value: UI_I_WizardStep[]
26
- ): UI_I_ValidationReturn => {
27
- let stepHasError = false
28
-
29
- if (data.vm === '') {
30
- stepHasError = wizard.setValidation(
31
- 0,
32
- UI_E_MigrationValidationFields.SELECT_ADAPTER_VM,
33
- {
34
- fieldMessage: '',
35
- alertMessage: localization.common.noVmKernelNetworkAdapterSelectedForMigration,
36
- }
37
- )
38
- } else if (
39
- wizard.hasMessage(0, UI_E_MigrationValidationFields.SELECT_ADAPTER_VM)
40
- ) {
41
- value = wizard.removeValidation(
42
- 0,
43
- UI_E_MigrationValidationFields.SELECT_ADAPTER_VM,
44
- value
45
- )
46
- }
47
-
48
- return {
49
- newValue: value,
50
- stepHasError,
51
- }
52
- }
1
+ import type { UI_I_SelectVmkernelAdapter } from '~/components/common/wizards/network/add/lib/models/interfaces'
2
+ import type { UI_I_Localization } from '~/lib/models/interfaces'
3
+ import type { UI_I_WizardStep, UI_I_ValidationReturn } from '~/components/atoms/wizard/lib/models/interfaces'
4
+ import { UI_E_MigrationValidationFields } from '~/components/common/diagramMain/lib/models/enums'
5
+ import type Wizard from '~/components/atoms/wizard/lib/utils/utils'
6
+
7
+ export const validateSelectedVmLocal = (
8
+ localization: UI_I_Localization,
9
+ data: UI_I_SelectVmkernelAdapter,
10
+ wizard: Wizard
11
+ ): void => {
12
+ wizard.validateFieldLocal(
13
+ 0,
14
+ 'vm',
15
+ data.vm === '',
16
+ '',
17
+ localization.common.noVmKernelNetworkAdapterSelectedForMigration
18
+ )
19
+ }
20
+
21
+ export const checkSelectedVmSync = (
22
+ localization: UI_I_Localization,
23
+ data: UI_I_SelectVmkernelAdapter,
24
+ wizard: Wizard,
25
+ value: UI_I_WizardStep[]
26
+ ): UI_I_ValidationReturn => {
27
+ let stepHasError = false
28
+
29
+ if (data.vm === '') {
30
+ stepHasError = wizard.setValidation(
31
+ 0,
32
+ UI_E_MigrationValidationFields.SELECT_ADAPTER_VM,
33
+ {
34
+ fieldMessage: '',
35
+ alertMessage: localization.common.noVmKernelNetworkAdapterSelectedForMigration,
36
+ }
37
+ )
38
+ } else if (
39
+ wizard.hasMessage(0, UI_E_MigrationValidationFields.SELECT_ADAPTER_VM)
40
+ ) {
41
+ value = wizard.removeValidation(
42
+ 0,
43
+ UI_E_MigrationValidationFields.SELECT_ADAPTER_VM,
44
+ value
45
+ )
46
+ }
47
+
48
+ return {
49
+ newValue: value,
50
+ stepHasError,
51
+ }
52
+ }
@@ -1,19 +1,19 @@
1
- import {
2
- validateVlanIdConnectionSettingsLocal,
3
- validateNetworkConnectionSettingsLocal,
4
- checkConnectionSettingsSync,
5
- checkNetworkAsync,
6
- } from '~/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings'
7
- import {
8
- checkSelectedVmSync,
9
- validateSelectedVmLocal,
10
- } from '~/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter'
11
-
12
- export {
13
- validateVlanIdConnectionSettingsLocal,
14
- validateNetworkConnectionSettingsLocal,
15
- checkConnectionSettingsSync,
16
- checkNetworkAsync,
17
- checkSelectedVmSync,
18
- validateSelectedVmLocal,
19
- }
1
+ import {
2
+ validateVlanIdConnectionSettingsLocal,
3
+ validateNetworkConnectionSettingsLocal,
4
+ checkConnectionSettingsSync,
5
+ checkNetworkAsync,
6
+ } from '~/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/connectionSettings'
7
+ import {
8
+ checkSelectedVmSync,
9
+ validateSelectedVmLocal,
10
+ } from '~/components/common/diagramMain/modals/migrateVmkernelAdapter/validations/selectVmkernelAdapter'
11
+
12
+ export {
13
+ validateVlanIdConnectionSettingsLocal,
14
+ validateNetworkConnectionSettingsLocal,
15
+ checkConnectionSettingsSync,
16
+ checkNetworkAsync,
17
+ checkSelectedVmSync,
18
+ validateSelectedVmLocal,
19
+ }
@@ -1,155 +1,156 @@
1
- <template>
2
- <div v-if="props.show" class="info-container">
3
- <div class="tabs-container">
4
- <ui-tabs
5
- v-if="modalTabsLocal && modalTabsLocal.length > 0"
6
- v-model="selectedTabViewSettings"
7
- test-id="main-tabs"
8
- :tabs="modalTabsLocal"
9
- type="underline"
10
- />
11
- </div>
12
- <template v-if="modalTabsLocal && modalTabsLocal.length > 0">
13
- <template v-for="tab in modalTabsLocal" :key="tab.value">
14
- <template v-if="selectedTabViewSettings === tab.value">
15
- <div
16
- :class="[
17
- 'table-fixed-height',
18
- { 'table-fixed-full-height': props.fullMode },
19
- ]"
20
- >
21
- <template
22
- v-for="viewSettingsField in viewSettingsTabContent(tab.value)"
23
- :key="viewSettingsField.id"
24
- >
25
- <div class="info-block-container">
26
- <div class="info-block-container-inner">
27
- <common-diagram-main-modals-view-settings-view-settings
28
- :view-name="props.viewName"
29
- :view-settings-field="viewSettingsField"
30
- />
31
- </div>
32
- </div>
33
- </template>
34
- </div>
35
- </template>
36
- </template>
37
- </template>
38
- <template v-else>
39
- <div class="table-fixed-height" :style="{ 'min-height': props.height }">
40
- <template
41
- v-for="viewSettingsField in props.viewSettingsFields"
42
- :key="viewSettingsField.id"
43
- >
44
- <div class="info-block-container">
45
- <div class="info-block-container-inner">
46
- <common-diagram-main-modals-view-settings-view-settings
47
- :view-name="props.viewName"
48
- :view-settings-field="viewSettingsField"
49
- />
50
- </div>
51
- </div>
52
- </template>
53
- </div>
54
- </template>
55
- </div>
56
- </template>
57
-
58
- <script setup lang="ts">
59
- import {
60
- UI_I_ViewSettingsFields,
61
- UI_I_ModalTab,
62
- } from '~/components/common/diagramMain/lib/models/interfaces'
63
-
64
- // Props from up
65
-
66
- const props = withDefaults(
67
- defineProps<{
68
- show: boolean
69
- modalTabs?: UI_I_ModalTab[]
70
- viewSettingsFields: UI_I_ViewSettingsFields[]
71
- viewName?: string
72
- fullMode?: boolean
73
- height?: string
74
- selectedTab?: number
75
- }>(),
76
- {
77
- modalTabs: undefined,
78
- height: undefined,
79
- viewName: '',
80
- selectedTab: 0,
81
- }
82
- )
83
-
84
- const modalTabsLocal = computed(() =>
85
- props.modalTabs.map((tab) => ({ ...tab, name: tab.text }))
86
- )
87
- // Selected tab id on the view settings modal
88
- const selectedTabViewSettings = ref<number>(props.selectedTab)
89
-
90
- // Filtering the selected tab content
91
- const viewSettingsTabContent = (tab: number): UI_I_ViewSettingsFields[] =>
92
- tab === 0
93
- ? props.viewSettingsFields
94
- : props.viewSettingsFields.filter(
95
- (field: UI_I_ViewSettingsFields): boolean => field.type === tab
96
- )
97
- </script>
98
-
99
- <style scoped lang="scss">
100
- .info-container {
101
- padding: 8px 0px 0 32px;
102
- background-color: #fafafa;
103
-
104
- .tabs-container {
105
- padding-right: 32px;
106
- }
107
- }
108
-
109
- .table-fixed-height {
110
- min-height: 400px;
111
- max-height: 400px;
112
- overflow-y: auto;
113
- padding-right: 32px;
114
- padding-top: 16px;
115
-
116
- &.table-fixed-full-height {
117
- max-height: 312px;
118
- }
119
-
120
- .info-block-container {
121
- padding-bottom: 24px;
122
-
123
- &-inner {
124
- padding-bottom: 32px;
125
- border-bottom: 1px solid #e9ebeda3;
126
- }
127
- }
128
- & > div:last-of-type {
129
- padding-bottom: 16px;
130
-
131
- .info-block-container-inner {
132
- padding-bottom: 0;
133
- border-bottom: none;
134
- }
135
- }
136
- }
137
-
138
- :root.dark-theme {
139
- .info-container {
140
- background-color: #213444;
141
- }
142
- .info-block-container .info-block-container-inner {
143
- border-bottom: 1px solid #e9ebed1f;
144
- }
145
-
146
- .table-fixed-height {
147
- & > div:last-of-type {
148
- .info-block-container-inner {
149
- padding-bottom: 0;
150
- border-bottom: none;
151
- }
152
- }
153
- }
154
- }
155
- </style>
1
+ <template>
2
+ <div v-if="props.show" class="info-container">
3
+ <div class="tabs-container">
4
+ <ui-tabs
5
+ v-if="modalTabsLocal && modalTabsLocal.length > 0"
6
+ v-model="selectedTabViewSettings"
7
+ test-id="main-tabs"
8
+ :tabs="modalTabsLocal"
9
+ type="underline"
10
+ />
11
+ </div>
12
+ <template v-if="modalTabsLocal && modalTabsLocal.length > 0">
13
+ <template v-for="tab in modalTabsLocal" :key="tab.value">
14
+ <template v-if="selectedTabViewSettings === tab.value">
15
+ <div
16
+ :class="[
17
+ 'table-fixed-height',
18
+ { 'table-fixed-full-height': props.fullMode },
19
+ ]"
20
+ >
21
+ <template
22
+ v-for="viewSettingsField in viewSettingsTabContent(tab.value)"
23
+ :key="viewSettingsField.id"
24
+ >
25
+ <div class="info-block-container">
26
+ <div class="info-block-container-inner">
27
+ <common-diagram-main-modals-view-settings-view-settings
28
+ :view-name="props.viewName"
29
+ :view-settings-field="viewSettingsField"
30
+ />
31
+ </div>
32
+ </div>
33
+ </template>
34
+ </div>
35
+ </template>
36
+ </template>
37
+ </template>
38
+ <template v-else>
39
+ <div class="table-fixed-height" :style="{ 'min-height': props.height }">
40
+ <template
41
+ v-for="viewSettingsField in props.viewSettingsFields"
42
+ :key="viewSettingsField.id"
43
+ >
44
+ <div class="info-block-container">
45
+ <div class="info-block-container-inner">
46
+ <common-diagram-main-modals-view-settings-view-settings
47
+ :view-name="props.viewName"
48
+ :view-settings-field="viewSettingsField"
49
+ />
50
+ </div>
51
+ </div>
52
+ </template>
53
+ </div>
54
+ </template>
55
+ </div>
56
+ </template>
57
+
58
+ <script setup lang="ts">
59
+ import {
60
+ UI_I_ViewSettingsFields,
61
+ UI_I_ModalTab,
62
+ } from '~/components/common/diagramMain/lib/models/interfaces'
63
+
64
+ // Props from up
65
+
66
+ const props = withDefaults(
67
+ defineProps<{
68
+ show: boolean
69
+ modalTabs?: UI_I_ModalTab[]
70
+ viewSettingsFields: UI_I_ViewSettingsFields[]
71
+ viewName?: string
72
+ fullMode?: boolean
73
+ height?: string
74
+ selectedTab?: number
75
+ }>(),
76
+ {
77
+ modalTabs: undefined,
78
+ height: undefined,
79
+ viewName: '',
80
+ selectedTab: 0,
81
+ }
82
+ )
83
+
84
+ const modalTabsLocal = computed(() =>
85
+ props.modalTabs.map((tab) => ({ ...tab, name: tab.text }))
86
+ )
87
+ // Selected tab id on the view settings modal
88
+ const selectedTabViewSettings = ref<number>(props.selectedTab)
89
+
90
+ // Filtering the selected tab content
91
+ const viewSettingsTabContent = (tab: number): UI_I_ViewSettingsFields[] =>
92
+ tab === 0
93
+ ? props.viewSettingsFields
94
+ : props.viewSettingsFields.filter(
95
+ (field: UI_I_ViewSettingsFields): boolean => field.type === tab
96
+ )
97
+ </script>
98
+
99
+ <style scoped lang="scss">
100
+ .info-container {
101
+ padding: 8px 0px 0 32px;
102
+ background-color: #fafafa;
103
+
104
+ .tabs-container {
105
+ padding-right: 32px;
106
+ }
107
+ }
108
+
109
+ .table-fixed-height {
110
+ min-height: min(calc(100vh - 270px), 400px);
111
+ max-height: min(calc(100vh - 270px), 400px);
112
+ overflow-y: auto;
113
+ overflow-x: hidden;
114
+ padding-right: 32px;
115
+ padding-top: 16px;
116
+
117
+ &.table-fixed-full-height {
118
+ max-height: 312px;
119
+ }
120
+
121
+ .info-block-container {
122
+ padding-bottom: 24px;
123
+
124
+ &-inner {
125
+ padding-bottom: 32px;
126
+ border-bottom: 1px solid #e9ebeda3;
127
+ }
128
+ }
129
+ & > div:last-of-type {
130
+ padding-bottom: 16px;
131
+
132
+ .info-block-container-inner {
133
+ padding-bottom: 0;
134
+ border-bottom: none;
135
+ }
136
+ }
137
+ }
138
+
139
+ :root.dark-theme {
140
+ .info-container {
141
+ background-color: #213444;
142
+ }
143
+ .info-block-container .info-block-container-inner {
144
+ border-bottom: 1px solid #e9ebed1f;
145
+ }
146
+
147
+ .table-fixed-height {
148
+ & > div:last-of-type {
149
+ .info-block-container-inner {
150
+ padding-bottom: 0;
151
+ border-bottom: none;
152
+ }
153
+ }
154
+ }
155
+ }
156
+ </style>
@@ -1,63 +1,68 @@
1
- <template>
2
- <div class="view-settings-modal__container">
3
- <ui-modal
4
- v-if="props.show"
5
- :width="props.width"
6
- :title="props.title"
7
- :subtitle="props.secondTitle"
8
- @hide="emits('hide')"
9
- >
10
- <template #content>
11
- <common-diagram-main-modals-view-settings-info
12
- :show="true"
13
- :height="props.infoHeight"
14
- :view-name="props.viewName"
15
- :modal-tabs="props.modalTabs"
16
- :full-mode="false"
17
- :view-settings-fields="props.viewSettingsFields"
18
- />
19
- </template>
20
- <template #footer>
21
- <div style="height: 32px"></div>
22
- </template>
23
- </ui-modal>
24
- </div>
25
- </template>
26
-
27
- <script setup lang="ts">
28
- import {
29
- UI_I_ViewSettingsFields,
30
- UI_I_ModalTab,
31
- UI_I_ModalsInitialData,
32
- } from '~/components/common/diagramMain/lib/models/interfaces'
33
-
34
- // Props from up
35
- interface UI_I_PortViewSettingsModalProps {
36
- show: boolean
37
- modalTabs?: UI_I_ModalTab[]
38
- viewSettingsFields: UI_I_ViewSettingsFields[]
39
- viewName: string
40
- title?: string
41
- width?: string
42
- height?: string
43
- infoHeight?: string
44
- initialData?: UI_I_ModalsInitialData
45
- secondTitle?: string
46
- }
47
-
48
- const props = withDefaults(defineProps<UI_I_PortViewSettingsModalProps>(), {
49
- initialData: () => ({}),
50
- title: '',
51
- width: '560px',
52
- height: '553px',
53
- modalTabs: () => [],
54
- infoHeight: '390px',
55
- secondTitle: '',
56
- })
57
-
58
- const emits = defineEmits<{
59
- (event: 'hide'): void
60
- }>()
61
- </script>
62
-
63
- <style scoped lang="scss"></style>
1
+ <template>
2
+ <div class="view-settings-modal__container">
3
+ <ui-modal
4
+ v-if="props.show"
5
+ :width="props.width"
6
+ :title="props.title"
7
+ :subtitle="props.secondTitle"
8
+ @hide="emits('hide')"
9
+ >
10
+ <template #content>
11
+ <common-diagram-main-modals-view-settings-info
12
+ :show="true"
13
+ :height="props.infoHeight"
14
+ :view-name="props.viewName"
15
+ :modal-tabs="props.modalTabs"
16
+ :full-mode="false"
17
+ :view-settings-fields="props.viewSettingsFields"
18
+ />
19
+ </template>
20
+ <template #footer>
21
+ <div style="height: 32px"></div>
22
+ </template>
23
+ </ui-modal>
24
+ </div>
25
+ </template>
26
+
27
+ <script setup lang="ts">
28
+ import {
29
+ UI_I_ViewSettingsFields,
30
+ UI_I_ModalTab,
31
+ UI_I_ModalsInitialData,
32
+ } from '~/components/common/diagramMain/lib/models/interfaces'
33
+
34
+ // Props from up
35
+ interface UI_I_PortViewSettingsModalProps {
36
+ show: boolean
37
+ modalTabs?: UI_I_ModalTab[]
38
+ viewSettingsFields: UI_I_ViewSettingsFields[]
39
+ viewName: string
40
+ title?: string
41
+ width?: string
42
+ height?: string
43
+ infoHeight?: string
44
+ initialData?: UI_I_ModalsInitialData
45
+ secondTitle?: string
46
+ }
47
+
48
+ const props = withDefaults(defineProps<UI_I_PortViewSettingsModalProps>(), {
49
+ initialData: () => ({}),
50
+ title: '',
51
+ width: '560px',
52
+ height: '553px',
53
+ modalTabs: () => [],
54
+ infoHeight: '390px',
55
+ secondTitle: '',
56
+ })
57
+
58
+ const emits = defineEmits<{
59
+ (event: 'hide'): void
60
+ }>()
61
+ </script>
62
+
63
+ <style scoped lang="scss">
64
+ :deep(.modal-body) {
65
+ max-height: unset;
66
+ overflow-y: unset;
67
+ }
68
+ </style>