@ledvance/base 1.1.35 → 1.1.37

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
@@ -4,7 +4,7 @@
4
4
  "name": "@ledvance/base",
5
5
  "pid": [],
6
6
  "uiid": "",
7
- "version": "1.1.35",
7
+ "version": "1.1.37",
8
8
  "scripts": {},
9
9
  "dependencies": {
10
10
  "@reduxjs/toolkit": "^1.8.6",
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
package/src/res/index.ts CHANGED
@@ -57,5 +57,9 @@ export default {
57
57
  rn_image_motion_detected: 'rn_image_motion_detected',
58
58
  rn_image_no_motion_detected: 'rn_image_no_motion_detected',
59
59
  sensor_status: require('./iconsMaterialOutlinedOtherJoin.png'),
60
- automation_status: require('./iconsMaterialOutlinedWheatherWbCloudy.png')
60
+ automation_status: require('./iconsMaterialOutlinedWheatherWbCloudy.png'),
61
+ ic_colorize: require('./ic_colorize.png'),
62
+ ic_mood_del: require('./ic_mood_del.png'),
63
+ ic_paint_bucket: require('./ic_paint_bucket.png'),
64
+ ic_text_field_input_error: require('./ic_text_field_input_error.png')
61
65
  }
@@ -106,7 +106,7 @@ export const localeNumber = (v: number | string, fixed?: number) => {
106
106
  // 导出文件
107
107
  export const exportFile = (list) => {
108
108
  const value = list?.map(item => {
109
- return [item?.key.split(' ')[0], item?.value]
109
+ return [item?.key, item?.value]
110
110
  })
111
111
  const data = [
112
112
  ['Date', `${I18n.getLang('consumption_data_annual_bar_chart_system_back_text')} (kWh)`],