@eturnity/eturnity_reusable_components 7.48.1-EPDM-12680.38 → 7.48.1-EPDM-12680.39

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "7.48.1-EPDM-12680.38",
3
+ "version": "7.48.1-EPDM-12680.39",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -110,7 +110,7 @@
110
110
  </MarkerText>
111
111
  </MarkerItem>
112
112
  <MarkerItem
113
- v-if="item.type !== 'optimizer'"
113
+ v-if="item.type !== 'optimizer' && item.type !== 'storage'"
114
114
  :title="$gettext('AC power is the nominal AC output power.')"
115
115
  >
116
116
  {{
@@ -123,7 +123,7 @@
123
123
  {{ $gettext('kWAC') }}
124
124
  </MarkerItem>
125
125
  <MarkerItem
126
- v-if="!itemHasStrings(item)"
126
+ v-if="!itemHasStrings(item) && item.type !== 'storage'"
127
127
  :title="$gettext('The DC power is the maximum DC input power.')"
128
128
  >
129
129
  {{
@@ -135,6 +135,19 @@
135
135
  }}
136
136
  {{ $gettext('kWDC') }}
137
137
  </MarkerItem>
138
+ <MarkerItem
139
+ v-if="item.type == 'storage'"
140
+ :title="$gettext('charging_ac_power_kva_marker_title')"
141
+ >
142
+ {{
143
+ numberToString({
144
+ value: item.chargingAcPowerKva,
145
+ numberPrecision: 0,
146
+ minDecimals: 0,
147
+ })
148
+ }}
149
+ {{ $gettext('kVA AC') }}
150
+ </MarkerItem>
138
151
  </MarkersContainer>
139
152
  <IconsContainer>
140
153
  <IconWrapper
@@ -769,7 +782,10 @@
769
782
  },
770
783
  computed: {
771
784
  dataListToDisplay() {
772
- return this.hasExpandedSection ? this.dataList : this.compressedDataList
785
+ let data = this.hasExpandedSection
786
+ ? this.dataList
787
+ : this.compressedDataList
788
+ return data.sort((a, b) => a.lineNr - b.lineNr)
773
789
  },
774
790
  hasExpandedSection() {
775
791
  return this.expandedInverters.length > 0