@ledvance/group-ui-biz-bundle 1.0.140 → 1.0.141
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 +1 -1
- package/src/modules/energyConsumption/EnergyConsumptionActions.ts +41 -15
- package/src/modules/energyConsumption/EnergyConsumptionCard.tsx +3 -3
- package/src/modules/energyConsumption/EnergyConsumptionChart/ChartSection.tsx +99 -3
- package/src/modules/energyConsumption/EnergyConsumptionChart/PortraitView.tsx +3 -27
- package/src/modules/energyConsumption/EnergyConsumptionChart/styles.ts +5 -0
- package/src/modules/energyConsumption/EnergyConsumptionChart/useEnergyData.ts +26 -12
- package/src/modules/energyConsumption/EnergyConsumptionChart.tsx +4 -0
- package/src/modules/energyConsumption/EnergyConsumptionDetail.tsx +41 -31
- package/src/modules/energyConsumption/EnergyConsumptionPage.tsx +52 -3
- package/src/modules/energyConsumption/component/DateSelectedItem.tsx +1 -1
- package/src/modules/energyConsumption/component/DateSwitch.tsx +1 -1
- package/src/modules/energyConsumption/component/DateTypeItem.tsx +1 -1
- package/src/modules/energyConsumption/component/EnergyModal.tsx +2 -2
- package/src/modules/energyConsumption/component/NewBarChart.tsx +202 -154
- package/src/modules/energyConsumption/component/Overview.tsx +1 -1
- package/src/modules/flags/FlagInfo.tsx +147 -3
- package/src/modules/flags/FlagItem.tsx +1 -2
- package/src/modules/flags/FlagPage.tsx +19 -15
- package/src/modules/mood_new/MoodItem.tsx +0 -1
|
@@ -557,7 +557,55 @@ export const defFlagList: FlagUiInfo[] = [
|
|
|
557
557
|
name: I18n.getLang('country_VE'),
|
|
558
558
|
...defFlagConfig,
|
|
559
559
|
colors: [{ h: 0, s: 100, v: 100 }, { h: 205, s: 100, v: 100 }, { h: 60, s: 100, v: 100 },],
|
|
560
|
-
}
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
id: 168,
|
|
563
|
+
name: I18n.getLang('country_JO'),
|
|
564
|
+
...defFlagConfig,
|
|
565
|
+
colors: [{"h":150,"s":100,"v":48}, {"h":0,"s":0,"v":100}, {"h":0,"s":0,"v":0},{"h":353,"s":92,"v":81}],
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
id: 167,
|
|
569
|
+
name: I18n.getLang('country_CV'),
|
|
570
|
+
...defFlagConfig,
|
|
571
|
+
colors: [{"h":49,"s":100,"v":100}, {"h":356,"s":79,"v":94}, {"h":0,"s":0,"v":100},{"h":218,"s":100,"v":65}],
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
id: 166,
|
|
575
|
+
name: I18n.getLang('country_PA'),
|
|
576
|
+
...defFlagConfig,
|
|
577
|
+
colors: [{"h":219,"s":92,"v":34}, {"h":0,"s":0,"v":100}, {"h":358,"s":92,"v":85}],
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
id: 165,
|
|
581
|
+
name: I18n.getLang('country_northern_ireland'),
|
|
582
|
+
...defFlagConfig,
|
|
583
|
+
colors: [{"h":0,"s":0,"v":100}, {"h":0,"s":100,"v":82}, {"h":0,"s":0,"v":100}],
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
id: 164,
|
|
587
|
+
name: I18n.getLang('country_wales'),
|
|
588
|
+
...defFlagConfig,
|
|
589
|
+
colors: [{"h":142,"s":100,"v":69}, {"h":350,"s":92,"v":78}, {"h":0,"s":0,"v":100}],
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
id: 163,
|
|
593
|
+
name: I18n.getLang('country_BA'),
|
|
594
|
+
...defFlagConfig,
|
|
595
|
+
colors: [{"h":0,"s":0,"v":100}, {"h":214,"s":100,"v":42}, {"h":48,"s":100,"v":100}],
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
id: 162,
|
|
599
|
+
name: I18n.getLang('country_north_macedonia'),
|
|
600
|
+
...defFlagConfig,
|
|
601
|
+
colors: [{"h":56,"s":81,"v":97}, {"h":358,"s":85,"v":85}],
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
id: 161,
|
|
605
|
+
name: I18n.getLang('country_werder_bremen'),
|
|
606
|
+
...defFlagConfig,
|
|
607
|
+
colors: [{"h":0,"s":0,"v":100}, {"h":160,"s":80,"v":34}],
|
|
608
|
+
},
|
|
561
609
|
]
|
|
562
610
|
|
|
563
611
|
export const def2Pids = ['k588eygmfkdzmpzm']
|
|
@@ -1084,7 +1132,55 @@ export const def2FlagList: FlagUiInfo[] = [
|
|
|
1084
1132
|
name: I18n.getLang('country_VE'),
|
|
1085
1133
|
...defFlagConfig,
|
|
1086
1134
|
colors: [{ h: 0, s: 100, v: 100 }, { h: 205, s: 100, v: 100 }, { h: 60, s: 100, v: 100 },],
|
|
1087
|
-
}
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
id: 168,
|
|
1138
|
+
name: I18n.getLang('country_JO'),
|
|
1139
|
+
...defFlagConfig,
|
|
1140
|
+
colors: [{"h":150,"s":100,"v":48}, {"h":0,"s":0,"v":100}, {"h":0,"s":0,"v":0},{"h":353,"s":92,"v":81}],
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
id: 167,
|
|
1144
|
+
name: I18n.getLang('country_CV'),
|
|
1145
|
+
...defFlagConfig,
|
|
1146
|
+
colors: [{"h":49,"s":100,"v":100}, {"h":356,"s":79,"v":94}, {"h":0,"s":0,"v":100},{"h":218,"s":100,"v":65}],
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
id: 166,
|
|
1150
|
+
name: I18n.getLang('country_PA'),
|
|
1151
|
+
...defFlagConfig,
|
|
1152
|
+
colors: [{"h":219,"s":92,"v":34}, {"h":0,"s":0,"v":100}, {"h":358,"s":92,"v":85}],
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
id: 165,
|
|
1156
|
+
name: I18n.getLang('country_northern_ireland'),
|
|
1157
|
+
...defFlagConfig,
|
|
1158
|
+
colors: [{"h":0,"s":0,"v":100}, {"h":0,"s":100,"v":82}, {"h":0,"s":0,"v":100}],
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
id: 164,
|
|
1162
|
+
name: I18n.getLang('country_wales'),
|
|
1163
|
+
...defFlagConfig,
|
|
1164
|
+
colors: [{"h":142,"s":100,"v":69}, {"h":350,"s":92,"v":78}, {"h":0,"s":0,"v":100}],
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
id: 163,
|
|
1168
|
+
name: I18n.getLang('country_BA'),
|
|
1169
|
+
...defFlagConfig,
|
|
1170
|
+
colors: [{"h":0,"s":0,"v":100}, {"h":214,"s":100,"v":42}, {"h":48,"s":100,"v":100}],
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
id: 162,
|
|
1174
|
+
name: I18n.getLang('country_north_macedonia'),
|
|
1175
|
+
...defFlagConfig,
|
|
1176
|
+
colors: [{"h":56,"s":81,"v":97}, {"h":358,"s":85,"v":85}],
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
id: 161,
|
|
1180
|
+
name: I18n.getLang('country_werder_bremen'),
|
|
1181
|
+
...defFlagConfig,
|
|
1182
|
+
colors: [{"h":0,"s":0,"v":100}, {"h":160,"s":80,"v":34}],
|
|
1183
|
+
},
|
|
1088
1184
|
]
|
|
1089
1185
|
|
|
1090
1186
|
export const def3Pids = ['uzoammz8zm0onv1i', '85bmfxhxpmwj7exf']
|
|
@@ -1611,5 +1707,53 @@ export const def3FlagList: FlagUiInfo[] = [
|
|
|
1611
1707
|
name: I18n.getLang('country_VE'),
|
|
1612
1708
|
...defFlagConfig,
|
|
1613
1709
|
colors: [{ h: 0, s: 100, v: 100 }, { h: 205, s: 100, v: 100 }, { h: 60, s: 100, v: 100 },],
|
|
1614
|
-
}
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
id: 168,
|
|
1713
|
+
name: I18n.getLang('country_JO'),
|
|
1714
|
+
...defFlagConfig,
|
|
1715
|
+
colors: [{"h":150,"s":100,"v":48}, {"h":0,"s":0,"v":100}, {"h":0,"s":0,"v":0},{"h":353,"s":92,"v":81}],
|
|
1716
|
+
},
|
|
1717
|
+
{
|
|
1718
|
+
id: 167,
|
|
1719
|
+
name: I18n.getLang('country_CV'),
|
|
1720
|
+
...defFlagConfig,
|
|
1721
|
+
colors: [{"h":49,"s":100,"v":100}, {"h":356,"s":79,"v":94}, {"h":0,"s":0,"v":100},{"h":218,"s":100,"v":65}],
|
|
1722
|
+
},
|
|
1723
|
+
{
|
|
1724
|
+
id: 166,
|
|
1725
|
+
name: I18n.getLang('country_PA'),
|
|
1726
|
+
...defFlagConfig,
|
|
1727
|
+
colors: [{"h":219,"s":92,"v":34}, {"h":0,"s":0,"v":100}, {"h":358,"s":92,"v":85}],
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
id: 165,
|
|
1731
|
+
name: I18n.getLang('country_northern_ireland'),
|
|
1732
|
+
...defFlagConfig,
|
|
1733
|
+
colors: [{"h":0,"s":0,"v":100}, {"h":0,"s":100,"v":82}, {"h":0,"s":0,"v":100}],
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
id: 164,
|
|
1737
|
+
name: I18n.getLang('country_wales'),
|
|
1738
|
+
...defFlagConfig,
|
|
1739
|
+
colors: [{"h":142,"s":100,"v":69}, {"h":350,"s":92,"v":78}, {"h":0,"s":0,"v":100}],
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
id: 163,
|
|
1743
|
+
name: I18n.getLang('country_BA'),
|
|
1744
|
+
...defFlagConfig,
|
|
1745
|
+
colors: [{"h":0,"s":0,"v":100}, {"h":214,"s":100,"v":42}, {"h":48,"s":100,"v":100}],
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
id: 162,
|
|
1749
|
+
name: I18n.getLang('country_north_macedonia'),
|
|
1750
|
+
...defFlagConfig,
|
|
1751
|
+
colors: [{"h":56,"s":81,"v":97}, {"h":358,"s":85,"v":85}],
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
id: 161,
|
|
1755
|
+
name: I18n.getLang('country_werder_bremen'),
|
|
1756
|
+
...defFlagConfig,
|
|
1757
|
+
colors: [{"h":0,"s":0,"v":100}, {"h":160,"s":80,"v":34}],
|
|
1758
|
+
},
|
|
1615
1759
|
]
|
|
@@ -46,7 +46,6 @@ const FlagItem = (props: RecommendMoodItemProps) => {
|
|
|
46
46
|
height: cx(45),
|
|
47
47
|
marginTop: cx(-5),
|
|
48
48
|
marginBottom: cx(-10),
|
|
49
|
-
fontWeight: 'bold',
|
|
50
49
|
},
|
|
51
50
|
gradientItem: {
|
|
52
51
|
alignItems: 'center',
|
|
@@ -60,7 +59,7 @@ const FlagItem = (props: RecommendMoodItemProps) => {
|
|
|
60
59
|
<Card
|
|
61
60
|
style={[styles.card, props.style]}
|
|
62
61
|
onPress={props.onPress}>
|
|
63
|
-
<View>
|
|
62
|
+
<View accessibilityLabel={'FlagItem'} accessibilityHint={`${props.title}`}>
|
|
64
63
|
<Spacer height={cx(16)} />
|
|
65
64
|
<View style={styles.headline}>
|
|
66
65
|
<View style={{ flexDirection: 'row', flex: 1, paddingRight: cx(5), justifyContent: 'flex-start' }}>
|
|
@@ -158,22 +158,26 @@ const FlagPage = (props: { theme?: ThemeType }) => {
|
|
|
158
158
|
placeholder={I18n.getLang('country_selection_textfield_headline_search')}
|
|
159
159
|
style={{ marginHorizontal: cx(24), flex: 1 }}
|
|
160
160
|
/>
|
|
161
|
-
<TouchableOpacity
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
161
|
+
<TouchableOpacity
|
|
162
|
+
style={{ paddingRight: cx(24) }}
|
|
163
|
+
accessibilityLabel={'RefreshButton'}
|
|
164
|
+
accessibilityHint={'RefreshButton'}
|
|
165
|
+
onPress={() => {
|
|
166
|
+
showDialog({
|
|
167
|
+
method: 'confirm',
|
|
168
|
+
title: I18n.getLang('flag_resetbutton'),
|
|
169
|
+
subTitle: I18n.getLang('flag_resetdescription'),
|
|
170
|
+
onConfirm: async (_, { close }) => {
|
|
171
|
+
close()
|
|
172
|
+
state.loading = true
|
|
173
|
+
await getRemoteFlagInfo(true)
|
|
174
|
+
state.loading = false
|
|
175
|
+
}
|
|
176
|
+
})
|
|
177
|
+
}}
|
|
175
178
|
>
|
|
176
|
-
<Image source={{uri: res.ic_refresh
|
|
179
|
+
<Image source={{ uri: res.ic_refresh }}
|
|
180
|
+
style={{ width: cx(24), height: cx(24), tintColor: props.theme?.global.fontColor }}/>
|
|
177
181
|
</TouchableOpacity>
|
|
178
182
|
</View>
|
|
179
183
|
<FlatList
|