@conecli/cone-render 0.10.1-shop-beta.11 → 0.10.1-shop-beta.13

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.
Files changed (78) hide show
  1. package/README.md +1 -1
  2. package/dist/common/const.ts +1 -1
  3. package/dist/common/index.dynamic.ts +1 -0
  4. package/dist/common/index.h5.ts +1 -1
  5. package/dist/common/index.jd.ts +1 -1
  6. package/dist/common/index.ts +1 -1
  7. package/dist/common/index.weapp.ts +1 -1
  8. package/dist/common/jssdk.ts +1 -1
  9. package/dist/common/token/index.h5.ts +1 -1
  10. package/dist/common/wxappApi.ts +1 -1
  11. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  12. package/dist/components/base/CountDown/index.tsx +1 -1
  13. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  14. package/dist/components/base/Dialog/index.dynamic.module.scss +126 -0
  15. package/dist/components/base/Dialog/index.dynamic.tsx +1 -0
  16. package/dist/components/base/DynamicTest/index.dynamic.module.scss +15 -0
  17. package/dist/components/base/DynamicTest/index.module.scss +16 -0
  18. package/dist/components/base/DynamicTest/index.tsx +1 -0
  19. package/dist/components/base/ExposureSmart/index.tsx +1 -1
  20. package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
  21. package/dist/components/base/JdLoading/index.module.scss +2 -0
  22. package/dist/components/base/JdLoading/index.tsx +1 -1
  23. package/dist/components/base/LazyLoadImage/index.tsx +1 -1
  24. package/dist/components/base/NetworkDataError/const.ts +1 -1
  25. package/dist/components/base/NetworkDataError/index.module.scss +116 -70
  26. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  27. package/dist/components/base/Price/Base/index.dynamic.module.scss +63 -0
  28. package/dist/components/base/Price/Base/index.dynamic.tsx +1 -0
  29. package/dist/components/base/Price/Base/index.module.scss +6 -0
  30. package/dist/components/base/Price/Base/index.tsx +1 -1
  31. package/dist/components/base/Price/Double/index.dynamic.module.scss +172 -0
  32. package/dist/components/base/Price/Double/index.dynamic.tsx +1 -0
  33. package/dist/components/base/Price/Double/index.module.scss +6 -0
  34. package/dist/components/base/Price/Double/index.tsx +1 -1
  35. package/dist/components/debug/DebugLayout/index.module.scss +2 -2
  36. package/dist/config/env.ts +1 -1
  37. package/dist/interface/common.ts +1 -1
  38. package/dist/interface/component.ts +1 -1
  39. package/dist/interface/jumpEventReport.ts +1 -1
  40. package/dist/jumpEventReport/const.ts +1 -1
  41. package/dist/jumpEventReport/index.dynamic.ts +1 -0
  42. package/dist/jumpEventReport/index.h5.ts +1 -1
  43. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  44. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  45. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  46. package/dist/jumpEventReport/web.base.ts +1 -1
  47. package/dist/jumpEventReport/web.jd.ts +1 -1
  48. package/dist/language/zh_CN.json +162 -0
  49. package/dist/open/api/index.ts +1 -1
  50. package/dist/open/api/shopMember.dynamic.ts +1 -0
  51. package/dist/open/api/shopMember.ts +1 -1
  52. package/dist/open/components/index.dynamic.ts +1 -0
  53. package/dist/open/components/index.ts +1 -1
  54. package/dist/sass/app.dynamic.scss +306 -0
  55. package/dist/service/fetchGateway.h5.ts +1 -0
  56. package/dist/service/fetchGateway.ts +1 -1
  57. package/dist/service/fetchGateway.weapp.ts +1 -1
  58. package/dist/service/fetchJsonp.h5.ts +1 -0
  59. package/dist/service/fetchJsonp.ts +1 -1
  60. package/dist/service/http/colorSign.dynamic.ts +1 -0
  61. package/dist/service/http/http.ts +1 -1
  62. package/dist/service/requestServer.h5.ts +1 -1
  63. package/dist/service/requestServer.ts +1 -1
  64. package/dist/service/requestServer.weapp.ts +1 -1
  65. package/dist/utils/connectNativeJsBridge.dynamic.ts +1 -0
  66. package/dist/utils/connectNativeJsBridge.ts +1 -1
  67. package/dist/utils/h5Utils.ts +1 -1
  68. package/dist/utils/index.h5.ts +1 -1
  69. package/dist/utils/index.ts +1 -1
  70. package/dist/utils/index.weapp.ts +1 -1
  71. package/dist/utils/intersectionObserver.ts +1 -1
  72. package/dist/utils/jumpExtMapUtil.ts +1 -0
  73. package/dist/utils/log.ts +1 -0
  74. package/dist/utils/utils.ts +1 -1
  75. package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
  76. package/dist/wxapp/common/user_info.js +1 -1
  77. package/package.json +51 -31
  78. /package/dist/utils/{jumpExtMapUtil.js → jumpExtMapUtil.h5.ts} +0 -0
@@ -1 +1 @@
1
- import ready from '../utils/ready'
2
1
  return new Promise((resolve, reject) => {
3
2
  ready('jmfe', timeout)
4
3
  .then(() => {
5
4
  registerCode(JSSDK_APP_WEBVIEW_CODE)
6
5
  resolve(window['jmfe'])
7
6
  })
8
7
  .catch(() => {
9
8
  console.log('window.jmfe不存在')
10
9
  reject(null)
11
10
  })
12
11
  })
13
12
  if (window['jmfe']) {
14
13
  console.log('registerCode:', code)
15
14
  window['jmfe'].registerCode(code)
16
15
  } else {
17
16
  console.warn('jmfe对象不存在,可能没有提前引入jd-jssdk.js')
18
17
  }
18
+ import ready from '../utils/ready';
19
19
  return new Promise((resolve, reject) => {
20
20
  ready('jmfe', timeout)
21
21
  .then(() => {
22
22
  registerCode(JSSDK_APP_WEBVIEW_CODE);
23
23
  resolve(window['jmfe']);
24
24
  })
25
25
  .catch(() => {
26
26
  console.log('window.jmfe不存在');
27
27
  reject(null);
28
28
  });
29
29
  });
30
30
  if (window['jmfe']) {
31
31
  console.log('registerCode:', code);
32
32
  window['jmfe'].registerCode(code);
33
33
  } else {
34
34
  console.warn('jmfe对象不存在,可能没有提前引入jd-jssdk.js');
35
35
  }
@@ -1 +1 @@
1
- import { isApp } from '../../utils/jm-common'
2
1
  return new Promise((resolve, reject) => {
3
2
  let platform: string = getPlatform()
4
3
  if (platform === TokenPlatform.TYPE_JDAPP) {
5
4
  ready('jmfe', 3000)
6
5
  .then(() => {
7
6
  console.log('window.jmfe已经存在:', window['jmfe'])
8
7
  import('./token.jd')
9
8
  .then((data) => {
10
9
  console.log('data:', data)
11
10
  resolve(data)
12
11
  })
13
12
  .catch((err) => {
14
13
  reject(err)
15
14
  })
16
15
  })
17
16
  .catch((e) => {
18
17
  console.log('window.jmfe不存在')
19
18
  reject(e)
20
19
  })
21
20
  }
22
21
  else if (platform === TokenPlatform.TYPE_WQ) {
23
22
  import('./token.wxapp')
24
23
  .then((data) => {
25
24
  console.log('data:', data)
26
25
  resolve(data)
27
26
  })
28
27
  .catch((err) => {
29
28
  reject(err)
30
29
  })
31
30
  } else {
32
31
  import('./token')
33
32
  .then((data) => {
34
33
  console.log('data:', data)
35
34
  resolve(data)
36
35
  })
37
36
  .catch((err) => {
38
37
  reject(err)
39
38
  })
40
39
  }
41
40
  })
42
41
  console.log(e)
43
42
  return {}
44
43
  return new Promise((resolve) => {
45
44
  loadTokenPromise
46
45
  .then((proxy: any) => {
47
46
  if (proxy?.isLogin) {
48
47
  proxy?.isLogin().then((data: boolean) => {
49
48
  resolve(data)
50
49
  })
51
50
  } else {
52
51
  resolve(false)
53
52
  }
54
53
  })
55
54
  .catch((err) => {
56
55
  resolve(false)
57
56
  })
58
57
  })
59
58
  return new Promise((resolve) => {
60
59
  loadTokenPromise
61
60
  .then((proxy: any) => {
62
61
  if (proxy?.getIsvToken) {
63
62
  proxy?.getIsvToken().then((data: string) => {
64
63
  resolve(data)
65
64
  })
66
65
  } else {
67
66
  resolve('')
68
67
  }
69
68
  })
70
69
  .catch((err) => {
71
70
  resolve('')
72
71
  })
73
72
  })
74
73
  return new Promise((resolve) => {
75
74
  loadTokenPromise
76
75
  .then((proxy: any) => {
77
76
  if (proxy?.toLogin) {
78
77
  proxy?.toLogin(options)
79
78
  resolve(true)
80
79
  } else {
81
80
  resolve(false)
82
81
  }
83
82
  })
84
83
  .catch((err) => {
85
84
  resolve(false)
86
85
  })
87
86
  })
88
87
  let platform = TokenPlatform.TYPE_M
89
88
  if (isApp('jd')) {
90
89
  platform = TokenPlatform.TYPE_JDAPP
91
90
  }
92
91
  else if (isApp('wx') && isApp('mp')) {
93
92
  platform = TokenPlatform.TYPE_WQ
94
93
  }
95
94
  return platform
96
95
  let platform = getPlatform()
97
96
  let source = platform
98
97
  if (platform === TokenPlatform.TYPE_M || platform === TokenPlatform.TYPE_WQ) {
99
98
  source = TokenPlatform.TYPE_JDAPP
100
99
  }
101
100
  return source
102
101
  return window?.page_data?.pageChannel || ''
102
+ import global from '../../common';
103
103
  return new Promise((resolve, reject) => {
104
104
  let platform: string = getPlatform();
105
105
  if (platform === TokenPlatform.TYPE_JDAPP) {
106
106
  global
107
107
  .jmfeReayPromise()
108
108
  .then(() => {
109
109
  console.log(
110
110
  'loadTokenAsync window.jmfe已经存在:',
111
111
  window?.jmfe,
112
112
  '当前版本',
113
113
  window?.jmfe?.VERSION,
114
114
  );
115
115
  import('./token.jd')
116
116
  .then((data) => {
117
117
  console.log('data:', data);
118
118
  resolve(data);
119
119
  })
120
120
  .catch((err) => {
121
121
  reject(err);
122
122
  });
123
123
  })
124
124
  .catch((e) => {
125
125
  console.log('window.jmfe不存在');
126
126
  reject(e);
127
127
  });
128
128
  }
129
129
  else if (platform === TokenPlatform.TYPE_WQ) {
130
130
  import('./token.wxapp')
131
131
  .then((data) => {
132
132
  console.log('data:', data);
133
133
  resolve(data);
134
134
  })
135
135
  .catch((err) => {
136
136
  reject(err);
137
137
  });
138
138
  } else {
139
139
  import('./token')
140
140
  .then((data) => {
141
141
  console.log('data:', data);
142
142
  resolve(data);
143
143
  })
144
144
  .catch((err) => {
145
145
  reject(err);
146
146
  });
147
147
  }
148
148
  });
149
149
  console.log(e);
150
150
  return {};
151
151
  return new Promise((resolve) => {
152
152
  loadTokenPromise
153
153
  .then((proxy: any) => {
154
154
  if (proxy?.isLogin) {
155
155
  proxy?.isLogin().then((data: boolean) => {
156
156
  resolve(data);
157
157
  });
158
158
  } else {
159
159
  resolve(false);
160
160
  }
161
161
  })
162
162
  .catch((err) => {
163
163
  console.log(err);
164
164
  resolve(false);
165
165
  });
166
166
  });
167
167
  return new Promise((resolve) => {
168
168
  loadTokenPromise
169
169
  .then((proxy: any) => {
170
170
  if (proxy?.getIsvToken) {
171
171
  proxy?.getIsvToken().then((data: string) => {
172
172
  resolve(data);
173
173
  });
174
174
  } else {
175
175
  resolve('');
176
176
  }
177
177
  })
178
178
  .catch((err) => {
179
179
  console.log(err);
180
180
  resolve('');
181
181
  });
182
182
  });
183
183
  return new Promise((resolve) => {
184
184
  loadTokenPromise
185
185
  .then((proxy: any) => {
186
186
  if (proxy?.toLogin) {
187
187
  proxy?.toLogin(options);
188
188
  resolve(true);
189
189
  } else {
190
190
  resolve(false);
191
191
  }
192
192
  })
193
193
  .catch((err) => {
194
194
  console.log(err);
195
195
  resolve(false);
196
196
  });
197
197
  });
198
198
  let platform = TokenPlatform.TYPE_M;
199
199
  if (isApp('jd')) {
200
200
  platform = TokenPlatform.TYPE_JDAPP;
201
201
  }
202
202
  else if (isApp('wx') && isApp('mp')) {
203
203
  platform = TokenPlatform.TYPE_WQ;
204
204
  }
205
205
  return platform;
206
206
  let platform = getPlatform();
207
207
  let source = platform;
208
208
  if (platform === TokenPlatform.TYPE_M || platform === TokenPlatform.TYPE_WQ) {
209
209
  source = TokenPlatform.TYPE_JDAPP;
210
210
  }
211
211
  return source;
212
212
  return window?.page_data?.pageChannel || '';
@@ -1 +1 @@
1
- import * as WXAPP_LOGIN from '../wxapp/common/login/login.js'
1
+ import * as WXAPP_LOGIN from '../wxapp/common/login/login.js';
2
2
  WXAPP_LOGIN,
3
3
  WXAPP_BIZ,
4
4
  WXAPP_USER_INFO,
5
5
  WXAPP_NAVIGATOR,
6
6
  WXAPP_REPORT_GDT,
7
7
  WXAPP_PARAMS_SIGN,
8
8
  WXAPP_FINGER_REPORT,
9
9
  WXAPP_REPORT_MANAGE,
10
10
  WXAPP_SUBS_GUIDER,
11
11
  WXAPP_ADDRESS_V2_API,
@@ -1 +1 @@
1
- import React, { useMemo } from 'react';
2
1
  'https://m.360buyimg.com/imagetools/jfs/t1/170321/15/27425/230/61c1839aE0514462b/0b4d278fe18d91bb.png';
3
2
  'https://m.360buyimg.com/imagetools/jfs/t1/94671/2/26921/257/623d630aE681512e3/ded2e640c4a0a7ea.png';
4
3
  const getLogInfo = ReportContainerData.getReportClickFloorInfo(
5
4
  floorData,
6
5
  dataDefines,
7
6
  {
8
7
  clickArea: `title`,
9
8
  skuid: ``,
10
9
  tagList: [],
11
10
  labelList: [],
12
11
  pos: ``,
13
12
  },
14
13
  {
15
14
  la_p: ``,
16
15
  },
17
16
  );
18
17
  if (config) {
19
18
  JumpEventReport.jdJumpConfigUrl(config, {
20
19
  eventId: `TerminatorNew_${floorData.floorExtInfo?.moduleFlag}_Click`,
21
20
  jsonParam: getLogInfo,
22
21
  });
23
22
  }
24
23
  dataDefines,
25
24
  floorData,
26
25
  oldModuleFloorTitle,
27
26
  titleText,
28
27
  titleMoreClick,
29
28
  additionalRenderContent,
30
29
  customClassName,
31
30
  const floorTitleDataDefine = dataDefines
32
31
  ? dataDefines.filter((item) => {
33
32
  return item.type === 'floorTitle';
34
33
  })
35
34
  : [];
36
35
  const floorTitle = oldModuleFloorTitle
37
36
  ? oldModuleFloorTitle
38
37
  : (floorTitleDataDefine[0]?.nodeText?.data ?? {});
39
38
  const { detail, imageUrl, text, textBackground, type: floorTitleType = 1, subText } = floorTitle;
40
39
  if (floorTitleType === 1) {
41
40
  return null;
42
41
  }
43
42
  const bgMap = {
44
43
  '1': null,
45
44
  '2': textBackground || '',
46
45
  '3': imageUrl || '',
47
46
  };
48
47
  const useFloorTitleBgImg = bgMap[floorTitleType];
49
48
  return (
50
49
  <View
51
50
  className={classNames(styles['d-root'], customClassName)}
52
51
  onClick={floorTitleType === 3 ? gotoMPage.bind(this, dataDefines, floorData, detail) : {}}
53
52
  >
54
53
  <View
55
54
  className={classNames(styles['d-img'], {
56
55
  [styles['d-img-bg']]: useFloorTitleBgImg,
57
56
  })}
58
57
  style={useFloorTitleBgImg ? { backgroundImage: `url(${useFloorTitleBgImg})` } : {}}
59
58
  />
60
59
  <View
61
60
  className={classNames(
62
61
  styles['d-content-wrap'],
63
62
  floorTitleType === 2 && textBackground ? styles['d-has-title-bg'] : null,
64
63
  floorTitleType === 3 ? styles['d-type-is-img'] : null,
65
64
  useFloorTitleBgImg ? styles['d-content-wrap-for-img'] : null,
66
65
  )}
67
66
  >
68
67
  <View className={classNames(styles['d-content'], 'd-content')}>
69
68
  <View className={styles['d-content-left']}>
70
69
  {floorTitleType === 2 && text ? (
71
70
  <Text className={classNames(styles['d-text'], 'text-ellipsis')}>
72
71
  {titleText ? titleText : text}
73
72
  </Text>
74
73
  ) : null}
75
74
  {floorTitleType === 2 && subText
76
75
  ? [
77
76
  textBackground ? <View key={1} className={styles['d-vertical-line']} /> : null,
78
77
  <Text key={2} className={styles['d-sub-text']}>
79
78
  {subText}
80
79
  </Text>,
81
80
  ]
82
81
  : null}
83
82
  {additionalRenderContent ? additionalRenderContent(textBackground) : null}
84
83
  </View>
85
84
  <View className={styles['d-content-right']}>
86
85
  {titleMoreClick ? (
87
86
  <View
88
87
  className={styles['d-title-more']}
89
88
  onClick={(e) => {
90
89
  typeof titleMoreClick === 'function' && titleMoreClick(e);
91
90
  e.stopPropagation();
92
91
  }}
93
92
  >
94
93
  <Text
95
94
  className={classNames(
96
95
  styles['d-title-more-text'],
97
96
  textBackground || floorTitleType === 3
98
97
  ? styles['d-title-more-text-white']
99
98
  : null,
100
99
  )}
101
100
  >
102
101
  更多
103
102
  </Text>
104
103
  <Image
105
104
  className={styles['d-title-more-arrow']}
106
105
  src={textBackground || floorTitleType === 3 ? ICON_ARROW_WHITE : ICON_ARROW_GRAY}
107
106
  mode="widthFix"
108
107
  />
109
108
  </View>
110
109
  ) : null}
111
110
  </View>
112
111
  </View>
113
112
  </View>
114
113
  </View>
115
114
  );
116
115
  return useMemo(() => {
117
116
  return <CommonFloorHeader {...props} />;
118
117
  }, [props.key]);
119
118
  titleText: null,
120
119
  titleMoreClick: null,
121
120
  additionalRenderContent: null,
122
121
  customClassName: null,
123
122
  key: 1,
123
+ import React, { useMemo } from 'react';
124
124
  'https://m.360buyimg.com/imagetools/jfs/t1/170321/15/27425/230/61c1839aE0514462b/0b4d278fe18d91bb.png';
125
125
  'https://m.360buyimg.com/imagetools/jfs/t1/94671/2/26921/257/623d630aE681512e3/ded2e640c4a0a7ea.png';
126
126
  const getLogInfo = ReportContainerData.getReportClickFloorInfo(
127
127
  floorData,
128
128
  dataDefines,
129
129
  {
130
130
  clickArea: `title`,
131
131
  skuid: ``,
132
132
  tagList: [],
133
133
  labelList: [],
134
134
  pos: ``,
135
135
  },
136
136
  {
137
137
  la_p: ``,
138
138
  },
139
139
  );
140
140
  if (config) {
141
141
  JumpEventReport.jdJumpConfigUrl(config, {
142
142
  eventId: `TerminatorNew_${floorData.floorExtInfo?.moduleFlag}_Click`,
143
143
  jsonParam: getLogInfo,
144
144
  });
145
145
  }
146
146
  dataDefines,
147
147
  floorData,
148
148
  oldModuleFloorTitle,
149
149
  titleText,
150
150
  titleMoreClick,
151
151
  additionalRenderContent,
152
152
  customClassName,
153
153
  const floorTitleDataDefine = dataDefines
154
154
  ? dataDefines.filter((item) => {
155
155
  return item.type === 'floorTitle';
156
156
  })
157
157
  : [];
158
158
  const floorTitle = oldModuleFloorTitle
159
159
  ? oldModuleFloorTitle
160
160
  : floorTitleDataDefine[0]?.nodeText?.data ?? {};
161
161
  const { detail, imageUrl, text, textBackground, type: floorTitleType = 1, subText } = floorTitle;
162
162
  if (floorTitleType === 1) {
163
163
  return null;
164
164
  }
165
165
  const bgMap = {
166
166
  '1': null,
167
167
  '2': textBackground || '',
168
168
  '3': imageUrl || '',
169
169
  };
170
170
  const useFloorTitleBgImg = bgMap[floorTitleType];
171
171
  return (
172
172
  <View
173
173
  className={classNames(styles['d-root'], customClassName)}
174
174
  onClick={floorTitleType === 3 ? gotoMPage.bind(this, dataDefines, floorData, detail) : {}}
175
175
  >
176
176
  <View
177
177
  className={classNames(styles['d-img'], {
178
178
  [styles['d-img-bg']]: useFloorTitleBgImg,
179
179
  })}
180
180
  style={useFloorTitleBgImg ? { backgroundImage: `url(${useFloorTitleBgImg})` } : {}}
181
181
  />
182
182
  <View
183
183
  className={classNames(
184
184
  styles['d-content-wrap'],
185
185
  floorTitleType === 2 && textBackground ? styles['d-has-title-bg'] : null,
186
186
  floorTitleType === 3 ? styles['d-type-is-img'] : null,
187
187
  useFloorTitleBgImg ? styles['d-content-wrap-for-img'] : null,
188
188
  )}
189
189
  >
190
190
  <View className={classNames(styles['d-content'], 'd-content')}>
191
191
  <View className={styles['d-content-left']}>
192
192
  {floorTitleType === 2 && text ? (
193
193
  <Text className={classNames(styles['d-text'], 'text-ellipsis', 'd-text')}>
194
194
  {titleText ? titleText : text}
195
195
  </Text>
196
196
  ) : null}
197
197
  {floorTitleType === 2 && subText
198
198
  ? [
199
199
  textBackground ? <View key={1} className={styles['d-vertical-line']} /> : null,
200
200
  <Text key={2} className={styles['d-sub-text']}>
201
201
  {subText}
202
202
  </Text>,
203
203
  ]
204
204
  : null}
205
205
  {additionalRenderContent ? additionalRenderContent(textBackground) : null}
206
206
  </View>
207
207
  <View className={styles['d-content-right']}>
208
208
  {titleMoreClick ? (
209
209
  <View
210
210
  className={classNames(styles['d-title-more'], 'd-title-more')}
211
211
  onClick={(e) => {
212
212
  typeof titleMoreClick === 'function' && titleMoreClick(e);
213
213
  e.stopPropagation();
214
214
  }}
215
215
  >
216
216
  <Text
217
217
  className={classNames(
218
218
  styles['d-title-more-text'],
219
219
  textBackground || floorTitleType === 3
220
220
  ? styles['d-title-more-text-white']
221
221
  : null,
222
222
  )}
223
223
  >
224
224
  更多
225
225
  </Text>
226
226
  <Image
227
227
  className={styles['d-title-more-arrow']}
228
228
  src={textBackground || floorTitleType === 3 ? ICON_ARROW_WHITE : ICON_ARROW_GRAY}
229
229
  mode="widthFix"
230
230
  />
231
231
  </View>
232
232
  ) : null}
233
233
  </View>
234
234
  </View>
235
235
  </View>
236
236
  </View>
237
237
  );
238
238
  props = {
239
239
  titleText: null,
240
240
  titleMoreClick: null,
241
241
  additionalRenderContent: null,
242
242
  customClassName: null,
243
243
  key: 1,
244
244
  },
245
245
  return useMemo(() => {
246
246
  return <CommonFloorHeader {...props} />;
247
247
  }, [props.key]);