bfg-common 1.5.740 → 1.5.741
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 +1 -61
- package/assets/localization/local_en.json +1 -61
- package/assets/localization/local_hy.json +1 -61
- package/assets/localization/local_kk.json +1 -61
- package/assets/localization/local_ru.json +1 -61
- package/assets/localization/local_zh.json +1 -61
- package/assets/scss/common/global.scss +5 -5
- package/components/atoms/table/dataGrid/DataGrid.vue +9 -10
- package/components/common/browse/blocks/lib/models/types.ts +1 -1
- package/components/common/browse/lib/models/interfaces.ts +5 -5
- package/components/common/diagramMain/lib/models/interfaces.ts +0 -2
- package/components/common/diagramMain/modals/lib/config/vCenterModal.ts +48 -48
- package/components/common/diagramMain/modals/viewSettings/info/Info.vue +1 -5
- package/components/common/diagramMain/modals/viewSettings/info/InfoOld.vue +0 -12
- package/components/common/diagramMain/network/Contents.vue +497 -497
- package/components/common/diagramMain/port/Port.vue +580 -580
- package/components/common/wizards/network/add/Add.vue +870 -870
- package/package.json +1 -1
- package/plugins/time.ts +58 -58
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
|
|
2
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
3
|
-
import type { UI_I_ModalsInitialData } from '~/components/common/diagramMain/lib/models/interfaces'
|
|
4
|
-
import type { UI_I_CollapseNavItem } from '~/components/atoms/collapse/lib/models/interfaces'
|
|
5
|
-
|
|
6
|
-
export const vCenterViewSettingsFunc = (
|
|
7
|
-
localization: UI_I_Localization,
|
|
8
|
-
initialData: UI_I_ModalsInitialData
|
|
9
|
-
) => [
|
|
10
|
-
{
|
|
11
|
-
title: 'Network adapter 1',
|
|
12
|
-
id: 1,
|
|
13
|
-
type: 1,
|
|
14
|
-
rows: [
|
|
15
|
-
{
|
|
16
|
-
name: localization.common.macAddress,
|
|
17
|
-
value: initialData.macAddress,
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
name: localization.common.adapterType,
|
|
21
|
-
value: initialData.adapter,
|
|
22
|
-
},
|
|
23
|
-
],
|
|
24
|
-
},
|
|
25
|
-
]
|
|
26
|
-
|
|
27
|
-
export const vCenterPopupFieldsFunc = (
|
|
28
|
-
localization: UI_I_Localization,
|
|
29
|
-
testId: string
|
|
30
|
-
): UI_I_CollapseNavItem[] => [
|
|
31
|
-
{
|
|
32
|
-
text: localization.common.viewSettings,
|
|
33
|
-
value: 'v-center-view-settings',
|
|
34
|
-
testId: `${testId}-view`,
|
|
35
|
-
},
|
|
36
|
-
]
|
|
37
|
-
|
|
38
|
-
export const vCenterPopupFieldsNewFunc = (
|
|
39
|
-
localization: UI_I_Localization,
|
|
40
|
-
testId: string
|
|
41
|
-
): UI_I_Dropdown[] => [
|
|
42
|
-
{
|
|
43
|
-
text: localization.common.viewSettings,
|
|
44
|
-
value: 'v-center-view-settings',
|
|
45
|
-
iconName: 'password-hide',
|
|
46
|
-
testId: `${testId}-view`,
|
|
47
|
-
},
|
|
48
|
-
]
|
|
1
|
+
import type { UI_I_Dropdown } from '~/node_modules/bfg-uikit/components/ui/dropdown/models/interfaces'
|
|
2
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
3
|
+
import type { UI_I_ModalsInitialData } from '~/components/common/diagramMain/lib/models/interfaces'
|
|
4
|
+
import type { UI_I_CollapseNavItem } from '~/components/atoms/collapse/lib/models/interfaces'
|
|
5
|
+
|
|
6
|
+
export const vCenterViewSettingsFunc = (
|
|
7
|
+
localization: UI_I_Localization,
|
|
8
|
+
initialData: UI_I_ModalsInitialData
|
|
9
|
+
) => [
|
|
10
|
+
{
|
|
11
|
+
title: 'Network adapter 1',
|
|
12
|
+
id: 1,
|
|
13
|
+
type: 1,
|
|
14
|
+
rows: [
|
|
15
|
+
{
|
|
16
|
+
name: localization.common.macAddress,
|
|
17
|
+
value: initialData.macAddress,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: localization.common.adapterType,
|
|
21
|
+
value: initialData.adapter,
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
},
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
export const vCenterPopupFieldsFunc = (
|
|
28
|
+
localization: UI_I_Localization,
|
|
29
|
+
testId: string
|
|
30
|
+
): UI_I_CollapseNavItem[] => [
|
|
31
|
+
{
|
|
32
|
+
text: localization.common.viewSettings,
|
|
33
|
+
value: 'v-center-view-settings',
|
|
34
|
+
testId: `${testId}-view`,
|
|
35
|
+
},
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
export const vCenterPopupFieldsNewFunc = (
|
|
39
|
+
localization: UI_I_Localization,
|
|
40
|
+
testId: string
|
|
41
|
+
): UI_I_Dropdown[] => [
|
|
42
|
+
{
|
|
43
|
+
text: localization.common.viewSettings,
|
|
44
|
+
value: 'v-center-view-settings',
|
|
45
|
+
iconName: 'password-hide',
|
|
46
|
+
testId: `${testId}-view`,
|
|
47
|
+
},
|
|
48
|
+
]
|
|
@@ -17,11 +17,7 @@
|
|
|
17
17
|
:full-mode="props.fullMode"
|
|
18
18
|
:height="props.height"
|
|
19
19
|
:with-collapse="props.withCollapse"
|
|
20
|
-
|
|
21
|
-
<template #dynamic="{ dynamicName, data }">
|
|
22
|
-
<slot :name="dynamicName" :data="data" />
|
|
23
|
-
</template>
|
|
24
|
-
</common-diagram-main-modals-view-settings-info-old>
|
|
20
|
+
/>
|
|
25
21
|
</template>
|
|
26
22
|
|
|
27
23
|
<script setup lang="ts">
|
|
@@ -18,11 +18,7 @@
|
|
|
18
18
|
v-for="viewSettingsField in viewSettingsTabContent(tab.value)"
|
|
19
19
|
:key="viewSettingsField.id"
|
|
20
20
|
>
|
|
21
|
-
<template v-if="viewSettingsField.slot">
|
|
22
|
-
<slot name="dynamic" :dynamic-name="viewSettingsField.slot" />
|
|
23
|
-
</template>
|
|
24
21
|
<common-diagram-main-modals-view-settings-view-settings
|
|
25
|
-
v-else
|
|
26
22
|
:view-name="props.viewName"
|
|
27
23
|
:view-settings-field="viewSettingsField"
|
|
28
24
|
:with-collapse="props.withCollapse"
|
|
@@ -38,15 +34,7 @@
|
|
|
38
34
|
v-for="viewSettingsField in props.viewSettingsFields"
|
|
39
35
|
:key="viewSettingsField.id"
|
|
40
36
|
>
|
|
41
|
-
<template v-if="viewSettingsField.slot">
|
|
42
|
-
<slot
|
|
43
|
-
name="dynamic"
|
|
44
|
-
:dynamic-name="viewSettingsField.slot"
|
|
45
|
-
:data="viewSettingsField.data"
|
|
46
|
-
/>
|
|
47
|
-
</template>
|
|
48
37
|
<common-diagram-main-modals-view-settings-view-settings
|
|
49
|
-
v-else
|
|
50
38
|
:view-name="props.viewName"
|
|
51
39
|
:view-settings-field="viewSettingsField"
|
|
52
40
|
/>
|