@eturnity/eturnity_reusable_components 7.48.1-EPDM-12680.39 → 7.48.1-EPDM-12680.42
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/package.json
CHANGED
|
@@ -48,7 +48,11 @@
|
|
|
48
48
|
v-if="itemHasStrings(item) || item.type === 'optimizer'"
|
|
49
49
|
>
|
|
50
50
|
<ContainerValue
|
|
51
|
-
v-if="
|
|
51
|
+
v-if="
|
|
52
|
+
item.getkWp() > 1 &&
|
|
53
|
+
item.type !== 'optimizer' &&
|
|
54
|
+
hasExpandedSection
|
|
55
|
+
"
|
|
52
56
|
>
|
|
53
57
|
|
|
|
54
58
|
{{
|
|
@@ -59,7 +63,9 @@
|
|
|
59
63
|
}}
|
|
60
64
|
kWp
|
|
61
65
|
</ContainerValue>
|
|
62
|
-
<ContainerValue
|
|
66
|
+
<ContainerValue
|
|
67
|
+
v-else-if="item.type !== 'optimizer' && hasExpandedSection"
|
|
68
|
+
>
|
|
63
69
|
|
|
|
64
70
|
{{
|
|
65
71
|
numberToString({
|
|
@@ -76,9 +82,7 @@
|
|
|
76
82
|
</TitleContainer>
|
|
77
83
|
<MarkersContainer>
|
|
78
84
|
<MarkerItem
|
|
79
|
-
v-if="
|
|
80
|
-
item.mppts.length && (!hasExpandedSection || item.quantity == 1)
|
|
81
|
-
"
|
|
85
|
+
v-if="item.mppts.length && hasExpandedSection"
|
|
82
86
|
:background-color="isTargetRatioInRange(item) ? 'green' : 'red'"
|
|
83
87
|
>{{
|
|
84
88
|
numberToString({
|
|
@@ -123,7 +127,10 @@
|
|
|
123
127
|
{{ $gettext('kWAC') }}
|
|
124
128
|
</MarkerItem>
|
|
125
129
|
<MarkerItem
|
|
126
|
-
v-if="
|
|
130
|
+
v-if="
|
|
131
|
+
(!itemHasStrings(item) || !hasExpandedSection) &&
|
|
132
|
+
item.type !== 'storage'
|
|
133
|
+
"
|
|
127
134
|
:title="$gettext('The DC power is the maximum DC input power.')"
|
|
128
135
|
>
|
|
129
136
|
{{
|
|
@@ -152,6 +159,11 @@
|
|
|
152
159
|
<IconsContainer>
|
|
153
160
|
<IconWrapper
|
|
154
161
|
v-if="nonOptimizerInverterCount > 1 || item.type === 'optimizer'"
|
|
162
|
+
@click="
|
|
163
|
+
!item.isLoading && hasGroupedInverters(item)
|
|
164
|
+
? $emit('on-delete-grouped', item)
|
|
165
|
+
: $emit('on-delete', item)
|
|
166
|
+
"
|
|
155
167
|
>
|
|
156
168
|
<RCIcon
|
|
157
169
|
:color="item.isLoading ? 'grey' : 'red'"
|
|
@@ -159,11 +171,6 @@
|
|
|
159
171
|
:is-disabled="item.isLoading"
|
|
160
172
|
name="delete"
|
|
161
173
|
size="14px"
|
|
162
|
-
@click="
|
|
163
|
-
!item.isLoading && hasGroupedInverters(item)
|
|
164
|
-
? $emit('on-delete-grouped', item)
|
|
165
|
-
: $emit('on-delete', item)
|
|
166
|
-
"
|
|
167
174
|
/>
|
|
168
175
|
</IconWrapper>
|
|
169
176
|
<IconWrapper @click="!item.isLoading && $emit('on-edit', item)">
|
|
@@ -175,13 +182,12 @@
|
|
|
175
182
|
size="14px"
|
|
176
183
|
/>
|
|
177
184
|
</IconWrapper>
|
|
178
|
-
<IconWrapper>
|
|
185
|
+
<IconWrapper @click="$emit('on-datasheet', item)">
|
|
179
186
|
<RCIcon
|
|
180
187
|
color="white"
|
|
181
188
|
cursor="pointer"
|
|
182
189
|
name="document"
|
|
183
190
|
size="14px"
|
|
184
|
-
@click="$emit('on-datasheet', item)"
|
|
185
191
|
/>
|
|
186
192
|
</IconWrapper>
|
|
187
193
|
</IconsContainer>
|