@conecli/cone-render 0.10.1-beta.3 → 0.10.1-beta.5

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 (56) hide show
  1. package/dist/api/index.ts +1 -1
  2. package/dist/common/const.ts +1 -1
  3. package/dist/common/index.h5.ts +1 -1
  4. package/dist/common/index.weapp.ts +1 -1
  5. package/dist/common/sgmCustomCode.ts +1 -1
  6. package/dist/components/ErrorBoundary.tsx +1 -1
  7. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  8. package/dist/components/base/CustomVideo/index.tsx +1 -1
  9. package/dist/components/base/ExposureSmart/index.tsx +1 -1
  10. package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
  11. package/dist/components/base/InViewRender/index.weapp.tsx +1 -1
  12. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  13. package/dist/components/base/LazyLayoutLoad/index.weapp.tsx +1 -1
  14. package/dist/components/base/LazyLoadImage/index.h5.module.scss +3 -0
  15. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  16. package/dist/components/base/MobileCommonHeader/index.module.scss +8 -0
  17. package/dist/components/base/MobileCommonHeader/index.tsx +1 -1
  18. package/dist/components/base/NetworkDataError/index.module.scss +3 -0
  19. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  20. package/dist/components/decorate/DecorateFloorModule/index.module.scss +11 -0
  21. package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
  22. package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
  23. package/dist/components/decorate/PlaceHolder/index.tsx +1 -1
  24. package/dist/components/floorItem.tsx +1 -1
  25. package/dist/components/remoteFloorItem.tsx +1 -1
  26. package/dist/interface/common.ts +1 -1
  27. package/dist/interface/component.ts +1 -1
  28. package/dist/interface/jumpEventReport.ts +1 -1
  29. package/dist/interface/service.ts +1 -1
  30. package/dist/jumpEventReport/base.ts +1 -1
  31. package/dist/jumpEventReport/const.ts +1 -1
  32. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  33. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  34. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  35. package/dist/jumpEventReport/web.base.ts +1 -1
  36. package/dist/jumpEventReport/web.jd.ts +1 -1
  37. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  38. package/dist/modules/ContainerFloorList/index.h5.module.scss +1 -0
  39. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  40. package/dist/open/api/device.ts +1 -1
  41. package/dist/open/api/request.ts +1 -1
  42. package/dist/open/api/shopMember.ts +1 -1
  43. package/dist/open/api/util.ts +1 -1
  44. package/dist/open/components/index.ts +1 -1
  45. package/dist/sass/app.h5.scss +5 -0
  46. package/dist/sass/base.scss +45 -0
  47. package/dist/service/requestServer.ts +1 -1
  48. package/dist/utils/connectNativeJsBridge.ts +1 -1
  49. package/dist/utils/h5Utils.ts +1 -1
  50. package/dist/utils/index.h5.ts +1 -1
  51. package/dist/utils/index.ts +1 -1
  52. package/dist/utils/index.weapp.ts +1 -1
  53. package/dist/utils/sgmCodeUtils.ts +1 -1
  54. package/dist/utils/taroRenderUtil.ts +1 -1
  55. package/dist/utils/utils.ts +1 -1
  56. package/package.json +24 -23
@@ -1 +1 @@
1
- import React from 'react'
2
1
  const {
3
2
  floorData,
4
3
  renderSourceType = BUSINESS_TYPE.ONLINE,
5
4
  builtInComponents = {},
6
5
  } = props
7
6
  const isDevMode = renderSourceType === BUSINESS_TYPE.DECORATE
8
7
  const floorModuleType: any = floorData?.floorExtInfo?.moduleFlag
9
8
  const FloorContentItem =
10
9
  (floorModuleType && builtInComponents[floorModuleType]) || null
11
10
  const dataDefines = getFloorDataToDataDefines(floorData)
12
11
 
13
12
  const renderDecorateDefaultModule = () => {
14
13
  return (
15
14
  <View
16
15
  style={{
17
16
  lineHeight: '120px',
18
17
  textAlign: 'center',
19
18
  }}
20
19
  >
21
20
  当前模块是{floorData.moduleName}
22
21
  </View>
23
22
  )
24
23
  }
25
24
  if (
26
25
  floorModuleType &&
27
26
  (RemoteLoadFloorList.includes(floorModuleType) ||
28
27
  floorData?.floorExtInfo?.floorLoadWay === 2)
29
28
  ) {
30
29
  return (
31
30
  <RemoteFloorItem {...props} dataDefines={dataDefines}></RemoteFloorItem>
32
31
  )
33
32
  } else {
34
33
  return FloorContentItem ? (
35
34
  <ErrorBoundary {...props}>
36
35
  <FloorContentItem {...props} dataDefines={dataDefines} />
37
36
  </ErrorBoundary>
38
37
  ) : isDevMode ? (
39
38
  renderDecorateDefaultModule()
40
39
  ) : null
41
40
  }
42
41
  switch (moduleId) {
43
42
  case 83158:
44
43
  return 'freeLayout'
45
44
  case 99654:
46
45
  return 'activeText'
47
46
  case 100382:
48
47
  return 'superGoods'
49
48
  }
50
49
  floorList.map((item) => {
51
50
  if (!item.floorExtInfo) {
52
51
  return null
53
52
  }
54
53
  const moduleFlag = item.floorExtInfo.moduleFlag
55
54
  if (!moduleFlag) {
56
55
  const newModuleFlag = moduleId2ModuleFlag(item.moduleId)
57
56
  if (newModuleFlag) {
58
57
  item.floorExtInfo.moduleFlag = newModuleFlag
59
58
  }
60
59
  }
61
60
  })
61
+ import React from 'react'
62
62
  const {
63
63
  floorData,
64
64
  renderSourceType = BUSINESS_TYPE.ONLINE,
65
65
  builtInComponents = {},
66
66
  } = props
67
67
  const isDevMode = renderSourceType === BUSINESS_TYPE.DECORATE
68
68
  const specificModuleFlag = ['mHeaderVideo']
69
69
  const frontEndSpecificModuleFlag = ['header_mVideo']
70
70
  const luxuryContainerPosition = 'luxuryFixed'
71
71
  const floorPosition = floorData?.floorPosition
72
72
  let floorModuleType: any = floorData?.floorExtInfo?.moduleFlag
73
73
  specificModuleFlag.includes(floorModuleType) && floorPosition === luxuryContainerPosition && (floorModuleType = frontEndSpecificModuleFlag)
74
74
  const FloorContentItem =
75
75
  (floorModuleType && builtInComponents[floorModuleType]) || null
76
76
  const dataDefines = getFloorDataToDataDefines(floorData)
77
77
 
78
78
  const renderDecorateDefaultModule = () => {
79
79
  return (
80
80
  <View
81
81
  style={{
82
82
  lineHeight: '120px',
83
83
  textAlign: 'center',
84
84
  }}
85
85
  >
86
86
  当前模块是{floorData.moduleName}
87
87
  </View>
88
88
  )
89
89
  }
90
90
  if (
91
91
  floorModuleType &&
92
92
  (RemoteLoadFloorList.includes(floorModuleType) ||
93
93
  floorData?.floorExtInfo?.floorLoadWay === 2)
94
94
  ) {
95
95
  return (
96
96
  <RemoteFloorItem {...props} dataDefines={dataDefines}></RemoteFloorItem>
97
97
  )
98
98
  } else {
99
99
  return FloorContentItem ? (
100
100
  <ErrorBoundary {...props}>
101
101
  <FloorContentItem {...props} dataDefines={dataDefines} />
102
102
  </ErrorBoundary>
103
103
  ) : isDevMode ? (
104
104
  renderDecorateDefaultModule()
105
105
  ) : null
106
106
  }
107
107
  switch (moduleId) {
108
108
  case 83158:
109
109
  return 'freeLayout'
110
110
  case 99654:
111
111
  return 'activeText'
112
112
  case 100382:
113
113
  return 'superGoods'
114
114
  }
115
115
  floorList.map((item) => {
116
116
  if (!item.floorExtInfo) {
117
117
  return null
118
118
  }
119
119
  const moduleFlag = item.floorExtInfo.moduleFlag
120
120
  if (!moduleFlag) {
121
121
  const newModuleFlag = moduleId2ModuleFlag(item.moduleId)
122
122
  if (newModuleFlag) {
123
123
  item.floorExtInfo.moduleFlag = newModuleFlag
124
124
  }
125
125
  }
126
126
  })
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  getBundleUrl,
3
2
  getBundleFileName,
4
3
  formatPackResult,
5
4
  const { floorData, renderSourceType, updateContainerFloorListDataFn } = props
6
5
  const dataDefines = getFloorDataToDataDefines(floorData)
7
6
  const [forceRenderTime,setForceRenderTime] = useState(1)
8
7
  useEffect(() => {
9
8
  isJdAndAndroidDevice && Taro.eventCenter.on(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT, (_result) => {
10
9
  setForceRenderTime(Date.now())
11
10
  })
12
11
  return () => {
13
12
  isJdAndAndroidDevice && Taro.eventCenter.off(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT)
14
13
  }
15
14
  },[])
16
15
 
17
16
  const getFloorSetHeight = (item) => {
18
17
  const getHeight = item?.floorExtInfo?.floorHeight
19
18
  ? Number(item?.floorExtInfo?.floorHeight)
20
19
  : 200
21
20
  return getHeight > 0 ? getHeight : 200
22
21
  }
23
22
  console.log(
24
23
  '>>>>>>>>>> floorModuleType === FloorModuleType.ISVDESIGNERH5MODULE >>>>>>>>>>',
25
24
  )
26
25
  const renderResult = (() => {
27
26
  try {
28
27
  console.log('>>>>>>>>>> 开始渲染1个isv模块 >>>>>>>>>>')
29
28
  console.log(
30
29
  '==========当前业务类型renderSourceType、楼层floorId: ',
31
30
  renderSourceType,
32
31
  floorData.uid,
33
32
  )
34
33
  const modularPackResult = floorData?.floorExtInfo?.modularPackResult
35
34
  const modularPackResultObj = formatPackResult(modularPackResult)
36
35
  const bundleUrl = getBundleUrl(modularPackResultObj)
37
36
  const bundleFileName = getBundleFileName(modularPackResultObj)
38
37
  const opt = {
39
38
  msg: `店铺h5楼层隐藏不显示。原因:模块数据不完备,楼层过滤。`,
40
39
  floorIdx: floorData?.floorIdx,
41
40
  uid: floorData?.uid,
42
41
  shopId: floorData?.floorExtInfo?.shopId,
43
42
  moduleId: floorData?.moduleId,
44
43
  moduleDesignerType: floorData?.floorExtInfo?.moduleDesignerType,
45
44
  floorLoadWay: floorData?.floorExtInfo?.floorLoadWay,
46
45
  floorKind: floorData?.floorExtInfo?.floorKind,
47
46
  middleTemplateId: floorData?.middleTemplateId,
48
47
  modularPackResult: modularPackResult,
49
48
  }
50
49
  if (bundleUrl && bundleFileName) {
51
50
  let ISVModule =
52
51
  taroJdBaseInfo?.renderedIsvComponents[
53
52
  `${floorData.uid}_${bundleFileName}`
54
53
  ] || null
55
54
  if (!ISVModule) {
56
55
  ISVModule = lazy(() => import(bundleFileName + '@@@@@@' + bundleUrl))
57
56
  console.log(
58
57
  '1|加载isv模块==========走lazy import生成新的isv模块react组件',
59
58
  bundleFileName,
60
59
  )
61
60
  taroJdBaseInfo.renderedIsvComponents[
62
61
  `${floorData.uid}_${bundleFileName}`
63
62
  ] = ISVModule
64
63
  console.log(
65
64
  '2|渲染isv模块的react组件==========,window.taroJshopH5WebpackJsonp上的组件是否已就绪: ',
66
65
  bundleFileName,
67
66
  window['taroJshopH5WebpackJsonp'].find(
68
67
  (item) => item[0][0] == bundleFileName,
69
68
  ),
70
69
  )
71
70
  } else {
72
71
  console.log(
73
72
  '1|加载isv模块==========不走lazy import生成新的isv模块react组件,从已加载中获取,taroJdBaseInfo: ',
74
73
  taroJdBaseInfo,
75
74
  )
76
75
  console.log(
77
76
  '2|渲染isv模块的react组件==========,taroJdBaseInfo.renderedIsvComponents上的组件是否已就绪: ',
78
77
  taroJdBaseInfo.renderedIsvComponents[
79
78
  `${floorData.uid}_${bundleFileName}`
80
79
  ],
81
80
  )
82
81
  }
83
82
  const _floorHeight = getFloorSetHeight(floorData)
84
83
  return (
85
84
  <ErrorBoundary {...props}>
86
85
  <Suspense
87
86
  fallback={
88
87
  <View
89
88
  style={{
90
89
  position: 'relative',
91
90
  background: `#ffffff url('${JD_PLACEHOLDER_IMG}') center center no-repeat`,
92
91
  height: `${_floorHeight}px`,
93
92
  }}
94
93
  ></View>
95
94
  }
96
95
  >
97
96
  <ISVFloor {...props} dataDefines={dataDefines} forceRenderTime={forceRenderTime} isRealTimeRender={realTimerRenderTypeList.includes(taroJdBaseInfo.info.pageInfo.dataType)}>
98
97
  <ISVModule {...props} dataDefines={dataDefines}></ISVModule>
99
98
  </ISVFloor>
100
99
  </Suspense>
101
100
  </ErrorBoundary>
102
101
  )
103
102
  } else {
104
103
  console.log(
105
104
  '3|isv模块渲染异常,modularPackResult中缺少bundleUrl或bundleFileName==========modularPackResult: ',
106
105
  modularPackResultObj,
107
106
  )
108
107
  sgmCustomReport({
109
108
  code: getSgmCustomCode(SgmCustomCode.REMOTEMODULE_DATA),
110
109
  msg: opt,
111
110
  })
112
111
  return null
113
112
  }
114
113
  } catch (err) {
115
114
  console.log('3|isv模块渲染异常,floorItem逻辑错误==========err: ', err)
116
115
  return null
117
116
  }
118
117
  })()
119
118
  if (renderResult === null) {
120
119
  updateContainerFloorListDataFn &&
121
120
  updateContainerFloorListDataFn({
122
121
  type: 'filter',
123
122
  containerId: floorData?.uid,
124
123
  })
125
124
  console.log('renderResult === null: 命中了!')
126
125
  taroEventSendPageScrollInfo()
127
126
  } else {
128
127
  console.log('renderResult !== null: 没命中', renderResult)
129
128
  }
130
129
  return renderResult
130
+ import Taro from '@tarojs/taro'
131
131
  getBundleUrl,
132
132
  getBundleFileName,
133
133
  formatPackResult,
134
134
  getTaroVersion
135
135
  const { floorData, renderSourceType, updateContainerFloorListDataFn } = props
136
136
  const dataDefines = getFloorDataToDataDefines(floorData)
137
137
  const [forceRenderTime,setForceRenderTime] = useState(1)
138
138
  useEffect(() => {
139
139
  isJdAndAndroidDevice && Taro.eventCenter.on(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT, (_result) => {
140
140
  setForceRenderTime(Date.now())
141
141
  })
142
142
  return () => {
143
143
  isJdAndAndroidDevice && Taro.eventCenter.off(TaroEventType.FORCE_UPDATE_PAGE_LAYOUT)
144
144
  }
145
145
  },[])
146
146
 
147
147
  const getFloorSetHeight = (item) => {
148
148
  const getHeight = item?.floorExtInfo?.floorHeight
149
149
  ? Number(item?.floorExtInfo?.floorHeight)
150
150
  : 200
151
151
  return getHeight > 0 ? getHeight : 200
152
152
  }
153
153
  console.log(
154
154
  '>>>>>>>>>> floorModuleType === FloorModuleType.ISVDESIGNERH5MODULE >>>>>>>>>>',
155
155
  )
156
156
  const renderResult = (() => {
157
157
  try {
158
158
  console.log('>>>>>>>>>> 开始渲染1个isv模块 >>>>>>>>>>')
159
159
  console.log(
160
160
  '==========当前业务类型renderSourceType、楼层floorId: ',
161
161
  renderSourceType,
162
162
  floorData.uid,
163
163
  )
164
164
  const modularPackResult = floorData?.floorExtInfo?.modularPackResult
165
165
  const modularPackResultObj = formatPackResult(modularPackResult)
166
166
  const bundleUrl = getBundleUrl(modularPackResultObj)
167
167
  const bundleFileName = getBundleFileName(modularPackResultObj)
168
168
  const taroVersion = getTaroVersion(modularPackResultObj)
169
169
  const opt = {
170
170
  msg: `店铺h5楼层隐藏不显示。原因:模块数据不完备,楼层过滤。`,
171
171
  floorIdx: floorData?.floorIdx,
172
172
  uid: floorData?.uid,
173
173
  shopId: floorData?.floorExtInfo?.shopId,
174
174
  moduleId: floorData?.moduleId,
175
175
  moduleDesignerType: floorData?.floorExtInfo?.moduleDesignerType,
176
176
  floorLoadWay: floorData?.floorExtInfo?.floorLoadWay,
177
177
  floorKind: floorData?.floorExtInfo?.floorKind,
178
178
  middleTemplateId: floorData?.middleTemplateId,
179
179
  modularPackResult: {
180
180
  bundleUrl,
181
181
  taroVersion
182
182
  }
183
183
  }
184
184
  if (bundleUrl && bundleFileName) {
185
185
  let ISVModule =
186
186
  taroJdBaseInfo?.renderedIsvComponents[
187
187
  `${floorData.uid}_${bundleFileName}`
188
188
  ] || null
189
189
  if (!ISVModule) {
190
190
  ISVModule = lazy(() => import(bundleFileName + '@@@@@@' + bundleUrl))
191
191
  console.log(
192
192
  '1|加载isv模块==========走lazy import生成新的isv模块react组件',
193
193
  bundleFileName,
194
194
  )
195
195
  taroJdBaseInfo.renderedIsvComponents[
196
196
  `${floorData.uid}_${bundleFileName}`
197
197
  ] = ISVModule
198
198
  console.log(
199
199
  '2|渲染isv模块的react组件==========,window.taroJshopH5WebpackJsonp上的组件是否已就绪: ',
200
200
  bundleFileName,
201
201
  window['taroJshopH5WebpackJsonp'].find(
202
202
  (item) => item[0][0] == bundleFileName,
203
203
  ),
204
204
  )
205
205
  } else {
206
206
  console.log(
207
207
  '1|加载isv模块==========不走lazy import生成新的isv模块react组件,从已加载中获取,taroJdBaseInfo: ',
208
208
  taroJdBaseInfo,
209
209
  )
210
210
  console.log(
211
211
  '2|渲染isv模块的react组件==========,taroJdBaseInfo.renderedIsvComponents上的组件是否已就绪: ',
212
212
  taroJdBaseInfo.renderedIsvComponents[
213
213
  `${floorData.uid}_${bundleFileName}`
214
214
  ],
215
215
  )
216
216
  }
217
217
  const _floorHeight = getFloorSetHeight(floorData)
218
218
  return (
219
219
  <ErrorBoundary {...props}>
220
220
  <Suspense
221
221
  fallback={
222
222
  <View
223
223
  style={{
224
224
  position: 'relative',
225
225
  background: `#ffffff url('${JD_PLACEHOLDER_IMG}') center center no-repeat`,
226
226
  height: `${_floorHeight}px`,
227
227
  }}
228
228
  ></View>
229
229
  }
230
230
  >
231
231
  <ISVFloor {...props} dataDefines={dataDefines} forceRenderTime={forceRenderTime} isRealTimeRender={realTimerRenderTypeList.includes(taroJdBaseInfo.info.pageInfo.dataType)}>
232
232
  <ISVModule {...props} dataDefines={dataDefines}></ISVModule>
233
233
  </ISVFloor>
234
234
  </Suspense>
235
235
  </ErrorBoundary>
236
236
  )
237
237
  } else {
238
238
  console.log(
239
239
  '3|isv模块渲染异常,modularPackResult中缺少bundleUrl或bundleFileName==========modularPackResult: ',
240
240
  modularPackResultObj,
241
241
  )
242
242
  sgmCustomReport({
243
243
  code: getSgmCustomCode(handleSgmCodeTaroVersion(floorData?.floorExtInfo?.floorKind === FLOOR_KIND.PDC_SYSTEM_MODULE ? SgmCustomCode.SYSTEMPDCMODULE_DATA : SgmCustomCode.REMOTEMODULE_DATA)),
244
244
  msg: opt,
245
245
  })
246
246
  return null
247
247
  }
248
248
  } catch (err) {
249
249
  console.log('3|isv模块渲染异常,floorItem逻辑错误==========err: ', err)
250
250
  return null
251
251
  }
252
252
  })()
253
253
  if (renderResult === null) {
254
254
  updateContainerFloorListDataFn &&
255
255
  updateContainerFloorListDataFn({
256
256
  type: 'filter',
257
257
  containerId: floorData?.uid,
258
258
  })
259
259
  console.log('renderResult === null: 命中了!')
260
260
  taroEventSendPageScrollInfo()
261
261
  } else {
262
262
  console.log('renderResult !== null: 没命中', renderResult)
263
263
  }
264
264
  return renderResult
@@ -1 +1 @@
1
- import Taro from '@tarojs/taro'
2
1
  isJingxiMiniViewState?: boolean
3
2
  floorVideInfo: object
4
3
  originQueryInfo: {
5
4
  openAppData?: {
6
5
  [key: string]: any
7
6
  }
7
+ import Taro from '@tarojs/taro'
8
8
  isJingxiMiniViewState?: boolean
9
9
  floorVideInfo: object
10
10
  isFloorInfoDataByPage?: boolean
11
11
  originQueryInfo: {
12
12
  openAppData?: {
13
13
  [key: string]: any
14
14
  }
@@ -1 +1 @@
1
- import React from 'react'
2
1
  subMessage?: string
3
2
  viewMaxHeight?: string
4
3
  floorLoadWay?: number
5
4
  floorKind?: number
6
5
  shopId?: string
7
6
  moduleDesignerType?: string
8
7
  showCommonFloorHead?: boolean
9
8
  borderRadius: number
10
9
  borderTopLeftRadius?: number
11
10
  borderTopRightRadius?: number
12
11
  borderBottomLeftRadius?: number
13
12
  borderBottomRightRadius?: number
14
13
  marginTop?: number
15
14
  marginBottom?: number
16
15
  marginLeft?: number
17
16
  marginRight?: number
18
17
  paddingTop?: number
19
18
  paddingBottom?: number
20
19
  paddingLeft?: number
21
20
  paddingRight?: number
22
21
  containerId: string
23
22
  background?: string
24
23
  containerPosition?: string
25
24
  key?: string
26
25
  floors: floorItemData[]
27
26
  includeUids: string[]
28
27
  typeCn: string
29
28
  typeCode?: string
30
29
  addLuxuryStyle?: boolean
31
30
  addLuxuryBackupStyle?: boolean
32
31
  renderExtendComponent?: Function
33
32
  floorExtendData?: any
34
33
  }
35
34
  isRealTimeRender: boolean
36
35
  forceRenderTime: number
37
36
  customErrorIsvFloorModule?: React.ReactElement | undefined
38
37
  containerIndex?: number
39
38
  containerData?: any
40
39
  shopTotalInfo?: any
41
40
  selectContainerFn?: Function
42
41
  selectContainerId?: string
43
42
  placeHolderPreContainerId?: string
44
43
  children?: any
45
44
  style?: {
46
45
  [key: string]: any
47
46
  };
48
47
  layoutLeftRightMargin?: number
49
48
  }
50
49
  showDayToSecondState?: boolean
51
50
  onFormSubmit?: Function
52
51
  onFormReset?: Function
53
52
  isFormDialog?: boolean
54
53
  forbiddenBgScrollState?: boolean
55
54
  evenList: any[]
56
55
  oddList: any[]
56
+ import React from 'react'
57
57
  subMessage?: string
58
58
  viewMaxHeight?: string
59
59
  noPosition?: boolean
60
60
  floorLoadWay?: number
61
61
  floorKind?: number
62
62
  shopId?: string
63
63
  moduleDesignerType?: string
64
64
  showCommonFloorHead?: boolean
65
65
  borderRadius: number
66
66
  borderTopLeftRadius?: number
67
67
  borderTopRightRadius?: number
68
68
  borderBottomLeftRadius?: number
69
69
  borderBottomRightRadius?: number
70
70
  marginTop?: number
71
71
  marginBottom?: number
72
72
  marginLeft?: number
73
73
  marginRight?: number
74
74
  paddingTop?: number
75
75
  paddingBottom?: number
76
76
  paddingLeft?: number
77
77
  paddingRight?: number
78
78
  containerId: string
79
79
  background?: string
80
80
  containerPosition?: string
81
81
  key?: string
82
82
  floors: floorItemData[]
83
83
  includeUids: string[]
84
84
  typeCn: string
85
85
  typeCode?: string
86
86
  addLuxuryStyle?: boolean
87
87
  addLuxuryBackupStyle?: boolean
88
88
  renderExtendComponent?: Function
89
89
  insertContainerStartComponent?: Function
90
90
  floorExtendData?: any
91
91
  }
92
92
  isRealTimeRender: boolean
93
93
  forceRenderTime: number
94
94
  luxuryFixed?: boolean
95
95
  customErrorIsvFloorModule?: React.ReactElement | undefined
96
96
  containerIndex?: number
97
97
  containerData?: any
98
98
  shopTotalInfo?: any
99
99
  selectContainerFn?: Function
100
100
  selectContainerId?: string
101
101
  placeHolderPreContainerId?: string
102
102
  children?: any
103
103
  luxuryFixed?: boolean
104
104
  style?: {
105
105
  [key: string]: any
106
106
  };
107
107
  layoutLeftRightMargin?: number
108
108
  }
109
109
  isShowPlaceHolder?: boolean
110
110
  showDayToSecondState?: boolean
111
111
  onFormSubmit?: Function
112
112
  onFormReset?: Function
113
113
  isFormDialog?: boolean
114
114
  forbiddenBgScrollState?: boolean
115
115
  evenList: any[]
116
116
  oddList: any[]