@eturnity/eturnity_reusable_components 7.48.1-EPDM-12680.15 → 7.48.1-EPDM-12680.17
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
@@ -0,0 +1,10 @@
|
|
1
|
+
<svg width="100px" height="100px" viewBox="8 8 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<g clip-path="url(#clip0_888_9102)">
|
3
|
+
<path d="M9 8.5V19.75C9 20.4404 9.55964 21 10.25 21V21C10.9404 21 11.5 20.4404 11.5 19.75V10.25C11.5 9.55964 12.0596 9 12.75 9V9C13.4404 9 14 9.55964 14 10.25V21.5M15.5 9H20C20.5523 9 21 9.44772 21 10V10C21 10.5523 20.5523 11 20 11H17C16.4477 11 16 11.4477 16 12V12C16 12.5523 16.4477 13 17 13H20C20.5523 13 21 13.4477 21 14V14C21 14.5523 20.5523 15 20 15H17C16.4477 15 16 15.4477 16 16V16C16 16.5523 16.4477 17 17 17H20C20.5523 17 21 17.4477 21 18V18C21 18.5523 20.5523 19 20 19H17C16.4477 19 16 19.4477 16 20V20C16 20.5523 16.4477 21 17 21H21.5" stroke="white"/>
|
4
|
+
</g>
|
5
|
+
<defs>
|
6
|
+
<clipPath id="clip0_888_9102">
|
7
|
+
<rect width="14" height="14" fill="white" transform="translate(8 8)"/>
|
8
|
+
</clipPath>
|
9
|
+
</defs>
|
10
|
+
</svg>
|
@@ -113,7 +113,14 @@
|
|
113
113
|
@click="!item.isLoading && $emit('on-delete', item)"
|
114
114
|
/>
|
115
115
|
</IconWrapper>
|
116
|
-
<IconWrapper
|
116
|
+
<IconWrapper
|
117
|
+
@click="
|
118
|
+
!(
|
119
|
+
item.isLoading ||
|
120
|
+
(item.type != 'pv_storage' && !item.hasTemplate)
|
121
|
+
) && $emit('on-edit', item)
|
122
|
+
"
|
123
|
+
>
|
117
124
|
<RCIcon
|
118
125
|
:color="
|
119
126
|
item.isLoading ||
|
@@ -286,7 +293,7 @@
|
|
286
293
|
name="panels_tool"
|
287
294
|
size="11px"
|
288
295
|
/>
|
289
|
-
<div>
|
296
|
+
<div>0</div>
|
290
297
|
</BoxIconWrapper>
|
291
298
|
</BoxIconsContainer>
|
292
299
|
</BoxTitleWrapper>
|
@@ -757,17 +764,6 @@
|
|
757
764
|
getNumberOfMpptModules(strings) {
|
758
765
|
return strings.reduce((acc, curr) => acc + curr.modules.length, 0)
|
759
766
|
},
|
760
|
-
getTotalModules(item) {
|
761
|
-
// This is for the available MPPTs
|
762
|
-
return item.mppts.reduce((total, mppt) => {
|
763
|
-
return (
|
764
|
-
total +
|
765
|
-
mppt.strings.reduce((stringTotal, string) => {
|
766
|
-
return stringTotal + string.modules.length
|
767
|
-
}, 0)
|
768
|
-
)
|
769
|
-
}, 0)
|
770
|
-
},
|
771
767
|
availableMPPTData(item) {
|
772
768
|
if (item.type === 'optimizer' || item.type === 'storage') {
|
773
769
|
return []
|