bfg-common 1.4.498 → 1.4.499
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/common/diagramMain/Diagram.vue +364 -364
- package/components/common/diagramMain/adapter/Adapter.vue +123 -123
- package/components/common/diagramMain/adapter/block/Block.vue +27 -27
- package/components/common/diagramMain/adapter/secondBlock/SecondBlock.vue +27 -27
- package/components/common/diagramMain/adapter/secondBlock/SecondBlockOld.vue +51 -51
- package/components/common/diagramMain/network/Network.vue +1 -1
- package/components/common/diagramMain/network/block/BlockOld.vue +64 -64
- package/components/common/diagramMain/network/noNetwork/NoNetwork.vue +12 -12
- package/components/common/diagramMain/network/noNetwork/NoNetworkOld.vue +61 -61
- package/components/common/diagramMain/network/secondBlock/SecondBlockOld.vue +60 -60
- package/package.json +1 -1
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<g>
|
|
3
|
-
<rect
|
|
4
|
-
width="280"
|
|
5
|
-
height="38"
|
|
6
|
-
shape-rendering="geometricprecision"
|
|
7
|
-
x="16.5"
|
|
8
|
-
y="17.5"
|
|
9
|
-
class="panel"
|
|
10
|
-
></rect>
|
|
11
|
-
<path
|
|
12
|
-
d="M 313.5 17.5 H 333.5 V 55.5 H 313.5 "
|
|
13
|
-
shape-rendering="geometricprecision"
|
|
14
|
-
class="panel"
|
|
15
|
-
></path>
|
|
16
|
-
<text
|
|
17
|
-
dy="14px"
|
|
18
|
-
font-size="14"
|
|
19
|
-
font-weight="500"
|
|
20
|
-
x="50"
|
|
21
|
-
y="27"
|
|
22
|
-
class="diagram__heading"
|
|
23
|
-
>
|
|
24
|
-
{{ localization.common.noAssociatedPortGroups }}
|
|
25
|
-
</text>
|
|
26
|
-
</g>
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<script setup lang="ts">
|
|
30
|
-
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
31
|
-
|
|
32
|
-
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
33
|
-
</script>
|
|
34
|
-
|
|
35
|
-
<style scoped lang="scss">
|
|
36
|
-
@import '~/assets/scss/common/mixins.scss';
|
|
37
|
-
:root.dark-theme {
|
|
38
|
-
.diagram__heading {
|
|
39
|
-
fill: #c1cdd4;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.panel {
|
|
43
|
-
fill: #1b2a32;
|
|
44
|
-
stroke: #adbbc4;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.diagram {
|
|
49
|
-
&__heading {
|
|
50
|
-
@include text($fs: 14px, $fw: 500);
|
|
51
|
-
fill: #565656;
|
|
52
|
-
letter-spacing: normal;
|
|
53
|
-
line-height: 1.2rem;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.panel {
|
|
58
|
-
fill: #fff;
|
|
59
|
-
stroke: #888;
|
|
60
|
-
}
|
|
61
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<g>
|
|
3
|
+
<rect
|
|
4
|
+
width="280"
|
|
5
|
+
height="38"
|
|
6
|
+
shape-rendering="geometricprecision"
|
|
7
|
+
x="16.5"
|
|
8
|
+
y="17.5"
|
|
9
|
+
class="panel"
|
|
10
|
+
></rect>
|
|
11
|
+
<path
|
|
12
|
+
d="M 313.5 17.5 H 333.5 V 55.5 H 313.5 "
|
|
13
|
+
shape-rendering="geometricprecision"
|
|
14
|
+
class="panel"
|
|
15
|
+
></path>
|
|
16
|
+
<text
|
|
17
|
+
dy="14px"
|
|
18
|
+
font-size="14"
|
|
19
|
+
font-weight="500"
|
|
20
|
+
x="50"
|
|
21
|
+
y="27"
|
|
22
|
+
class="diagram__heading"
|
|
23
|
+
>
|
|
24
|
+
{{ localization.common.noAssociatedPortGroups }}
|
|
25
|
+
</text>
|
|
26
|
+
</g>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script setup lang="ts">
|
|
30
|
+
import type { UI_I_Localization } from '~/lib/models/interfaces'
|
|
31
|
+
|
|
32
|
+
const localization = computed<UI_I_Localization>(() => useLocal())
|
|
33
|
+
</script>
|
|
34
|
+
|
|
35
|
+
<style scoped lang="scss">
|
|
36
|
+
@import '~/assets/scss/common/mixins.scss';
|
|
37
|
+
:root.dark-theme {
|
|
38
|
+
.diagram__heading {
|
|
39
|
+
fill: #c1cdd4;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.panel {
|
|
43
|
+
fill: #1b2a32;
|
|
44
|
+
stroke: #adbbc4;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.diagram {
|
|
49
|
+
&__heading {
|
|
50
|
+
@include text($fs: 14px, $fw: 500);
|
|
51
|
+
fill: #565656;
|
|
52
|
+
letter-spacing: normal;
|
|
53
|
+
line-height: 1.2rem;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.panel {
|
|
58
|
+
fill: #fff;
|
|
59
|
+
stroke: #888;
|
|
60
|
+
}
|
|
61
|
+
</style>
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<g data-title="network-second-block-group">
|
|
3
|
-
<path
|
|
4
|
-
data-title="network-second-block"
|
|
5
|
-
:d="`M 313.5 ${props.network.rectPosition} H 333.5 V ${props.networkRectBottomPosition} H 313.5`"
|
|
6
|
-
shape-rendering="geometricprecision"
|
|
7
|
-
class="panel"
|
|
8
|
-
/>
|
|
9
|
-
|
|
10
|
-
<common-diagram-main-highlights
|
|
11
|
-
data-title="network-second"
|
|
12
|
-
type="second-orange"
|
|
13
|
-
:d="`M 313.5 ${props.network.rectPosition} H 333.5 V ${props.networkRectBottomPosition} H 313.5`"
|
|
14
|
-
:hide="
|
|
15
|
-
props.isCantBeHighlighted ||
|
|
16
|
-
(!props.selectedMainLine && !props.isNetworkConnectedSelectedAdapter)
|
|
17
|
-
"
|
|
18
|
-
/>
|
|
19
|
-
|
|
20
|
-
<common-diagram-main-highlights
|
|
21
|
-
data-title="network-second"
|
|
22
|
-
type="second-blue"
|
|
23
|
-
:d="`M 313.5 ${props.network.rectPosition} H 333.5 V ${props.networkRectBottomPosition} H 313.5`"
|
|
24
|
-
:hide="!(props.selectedNetwork === props.network.id)"
|
|
25
|
-
/>
|
|
26
|
-
</g>
|
|
27
|
-
</template>
|
|
28
|
-
|
|
29
|
-
<script setup lang="ts">
|
|
30
|
-
import type { UI_I_NetworkFullWithPositions } from '~/components/common/diagramMain/lib/models/interfaces'
|
|
31
|
-
|
|
32
|
-
const props = defineProps<{
|
|
33
|
-
network: UI_I_NetworkFullWithPositions
|
|
34
|
-
selectedMainLine: boolean
|
|
35
|
-
selectedNetwork: string
|
|
36
|
-
networkRectBottomPosition: number
|
|
37
|
-
isNetworkConnectedSelectedAdapter: boolean
|
|
38
|
-
isCantBeHighlighted: boolean
|
|
39
|
-
}>()
|
|
40
|
-
</script>
|
|
41
|
-
|
|
42
|
-
<style scoped lang="scss">
|
|
43
|
-
:root.dark-theme {
|
|
44
|
-
.panel {
|
|
45
|
-
fill: #1b2a32;
|
|
46
|
-
stroke: #adbbc4;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.panel {
|
|
51
|
-
fill: #fff;
|
|
52
|
-
stroke: #888;
|
|
53
|
-
|
|
54
|
-
margin-bottom: 20px;
|
|
55
|
-
background-color: #fff;
|
|
56
|
-
border: 1px solid transparent;
|
|
57
|
-
border-radius: 0;
|
|
58
|
-
box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
|
|
59
|
-
}
|
|
60
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<g data-title="network-second-block-group">
|
|
3
|
+
<path
|
|
4
|
+
data-title="network-second-block"
|
|
5
|
+
:d="`M 313.5 ${props.network.rectPosition} H 333.5 V ${props.networkRectBottomPosition} H 313.5`"
|
|
6
|
+
shape-rendering="geometricprecision"
|
|
7
|
+
class="panel"
|
|
8
|
+
/>
|
|
9
|
+
|
|
10
|
+
<common-diagram-main-highlights
|
|
11
|
+
data-title="network-second"
|
|
12
|
+
type="second-orange"
|
|
13
|
+
:d="`M 313.5 ${props.network.rectPosition} H 333.5 V ${props.networkRectBottomPosition} H 313.5`"
|
|
14
|
+
:hide="
|
|
15
|
+
props.isCantBeHighlighted ||
|
|
16
|
+
(!props.selectedMainLine && !props.isNetworkConnectedSelectedAdapter)
|
|
17
|
+
"
|
|
18
|
+
/>
|
|
19
|
+
|
|
20
|
+
<common-diagram-main-highlights
|
|
21
|
+
data-title="network-second"
|
|
22
|
+
type="second-blue"
|
|
23
|
+
:d="`M 313.5 ${props.network.rectPosition} H 333.5 V ${props.networkRectBottomPosition} H 313.5`"
|
|
24
|
+
:hide="!(props.selectedNetwork === props.network.id)"
|
|
25
|
+
/>
|
|
26
|
+
</g>
|
|
27
|
+
</template>
|
|
28
|
+
|
|
29
|
+
<script setup lang="ts">
|
|
30
|
+
import type { UI_I_NetworkFullWithPositions } from '~/components/common/diagramMain/lib/models/interfaces'
|
|
31
|
+
|
|
32
|
+
const props = defineProps<{
|
|
33
|
+
network: UI_I_NetworkFullWithPositions
|
|
34
|
+
selectedMainLine: boolean
|
|
35
|
+
selectedNetwork: string
|
|
36
|
+
networkRectBottomPosition: number
|
|
37
|
+
isNetworkConnectedSelectedAdapter: boolean
|
|
38
|
+
isCantBeHighlighted: boolean
|
|
39
|
+
}>()
|
|
40
|
+
</script>
|
|
41
|
+
|
|
42
|
+
<style scoped lang="scss">
|
|
43
|
+
:root.dark-theme {
|
|
44
|
+
.panel {
|
|
45
|
+
fill: #1b2a32;
|
|
46
|
+
stroke: #adbbc4;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.panel {
|
|
51
|
+
fill: #fff;
|
|
52
|
+
stroke: #888;
|
|
53
|
+
|
|
54
|
+
margin-bottom: 20px;
|
|
55
|
+
background-color: #fff;
|
|
56
|
+
border: 1px solid transparent;
|
|
57
|
+
border-radius: 0;
|
|
58
|
+
box-shadow: 0 1px 1px rgb(0 0 0 / 5%);
|
|
59
|
+
}
|
|
60
|
+
</style>
|