@conecli/cone-render 0.10.1-isv2.1 → 0.10.1-isv2.2

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 (84) hide show
  1. package/dist/api/index.ts +1 -1
  2. package/dist/common/const.ts +1 -1
  3. package/dist/common/environmentType.ts +1 -1
  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/pageType.ts +1 -1
  9. package/dist/common/sgmCustomCode.ts +1 -1
  10. package/dist/components/ErrorBoundary.tsx +1 -1
  11. package/dist/components/base/CountDown/index.module.scss +49 -44
  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/CustomVideo/common.ts +1 -0
  15. package/dist/components/base/CustomVideo/index.tsx +1 -1
  16. package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
  17. package/dist/components/base/InViewRender/index.weapp.tsx +1 -1
  18. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  19. package/dist/components/base/LazyLayoutLoad/index.weapp.tsx +1 -1
  20. package/dist/components/base/LazyLoadImage/index.h5.module.scss +11 -3
  21. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  22. package/dist/components/base/LazyLoadImage/index.tsx +1 -1
  23. package/dist/components/base/MobileCommonHeader/index.tsx +1 -1
  24. package/dist/components/base/NetworkDataError/index.module.scss +3 -0
  25. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  26. package/dist/components/base/Price/Base/index.tsx +1 -1
  27. package/dist/components/base/Price/Double/index.module.scss +8 -0
  28. package/dist/components/base/Price/Double/index.tsx +1 -1
  29. package/dist/components/decorate/DecorateFloorModule/index.module.scss +11 -0
  30. package/dist/components/decorate/DecorateFloorModule/index.tsx +1 -1
  31. package/dist/components/decorate/EmptyFloorModule/index.tsx +1 -1
  32. package/dist/components/decorate/PlaceHolder/index.tsx +1 -1
  33. package/dist/components/floorItem.jd.tsx +1 -1
  34. package/dist/components/floorItem.tsx +1 -1
  35. package/dist/components/floorItem.weapp.tsx +1 -1
  36. package/dist/components/isv/Floor/index.tsx +1 -1
  37. package/dist/components/remoteFloorItem.tsx +1 -1
  38. package/dist/interface/common.ts +1 -1
  39. package/dist/interface/component.ts +1 -1
  40. package/dist/interface/jumpEventReport.ts +1 -1
  41. package/dist/interface/service.ts +1 -1
  42. package/dist/jumpEventReport/base.ts +1 -1
  43. package/dist/jumpEventReport/const.ts +1 -1
  44. package/dist/jumpEventReport/index.jd.ts +1 -1
  45. package/dist/jumpEventReport/index.weapp.ts +1 -1
  46. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  47. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  48. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  49. package/dist/jumpEventReport/web.base.ts +1 -1
  50. package/dist/jumpEventReport/web.jd.ts +1 -1
  51. package/dist/jumpEventReport/web.jdb.ts +1 -1
  52. package/dist/jumpEventReport/web.jdjch.ts +1 -1
  53. package/dist/jumpEventReport/web.jxwxapp.ts +1 -1
  54. package/dist/jumpEventReport/web.pc.ts +1 -1
  55. package/dist/jumpEventReport/web.tjapp.ts +1 -1
  56. package/dist/jumpEventReport/web.tjm.ts +1 -1
  57. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  58. package/dist/modules/ContainerFloorList/index.h5.module.scss +1 -0
  59. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  60. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  61. package/dist/open/api/device.ts +1 -1
  62. package/dist/open/api/request.ts +1 -1
  63. package/dist/open/api/shopMember.ts +1 -1
  64. package/dist/open/api/util.ts +1 -1
  65. package/dist/open/components/index.ts +1 -1
  66. package/dist/sass/app.h5.scss +5 -0
  67. package/dist/sass/base.scss +183 -137
  68. package/dist/service/fetchGateway.ts +1 -1
  69. package/dist/service/http/colorSign.ts +1 -1
  70. package/dist/service/http/h5Http.ts +1 -0
  71. package/dist/service/http/index.h5.ts +1 -0
  72. package/dist/service/requestServer.h5.ts +1 -0
  73. package/dist/service/requestServer.ts +1 -1
  74. package/dist/utils/connectNativeJsBridge.ts +1 -1
  75. package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
  76. package/dist/utils/h5Utils.ts +1 -1
  77. package/dist/utils/index.h5.ts +1 -1
  78. package/dist/utils/index.ts +1 -1
  79. package/dist/utils/index.weapp.ts +1 -1
  80. package/dist/utils/sgmCodeUtils.ts +1 -1
  81. package/dist/utils/taroRenderUtil.ts +1 -1
  82. package/dist/utils/utils.ts +1 -1
  83. package/package.json +35 -29
  84. package/dist/utils/memberFormatUtils.js +0 -1
@@ -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[]
@@ -1 +1 @@
1
- export declare namespace JumpEventReportInterFace {
2
1
  export interface ShopIdsInfo {
3
2
  shopId?: number | string
4
3
  venderId?: number | string
5
4
  logEventInfo?: object
6
5
  type?: string
7
6
  }
8
7
  export interface RouterInfo {
9
8
  params: any
10
9
  pageParamStr?: string
11
10
  [key: string]: any
12
11
  }
13
12
  export interface JumpMiniPath {
14
13
  shop: string
15
14
  shopx: string
16
15
  detail: string
17
16
  searchCoupon: string
18
17
  h5: string
19
18
  jingGouHome: string
20
19
  shopFans: string
21
20
  shopLight: string
22
21
  couponSearch: string
23
22
  shopSearch: string
24
23
  jxCouponSearch: string
25
24
  jxDetail: string
26
25
  }
27
26
  export interface jumpWebUrl {
28
27
  mshop: string
29
28
  pages: string
30
29
  pcCoupon: string
31
30
  couponSearch: string
32
31
  jxCouponSearch: string
33
32
  pcCouponSearch: string
34
33
  shopSecondActivity: string
35
34
  shopLight: string
36
35
  detail: string
37
36
  jxDetail: string
38
37
  tjDetail: string
39
38
  pcDetail: string
40
39
  mobileHome: string
41
40
  rank: string
42
41
  wqShopMember: string
43
42
  wqShopDetail: string
44
43
  wqShopSearch: string
45
44
  myCouponList: string
46
45
  myRedPacketList: string
47
46
  memberHome: string
48
47
  memberCard: string
49
48
  memberPoints: string
50
49
  memberBenefit: string
51
50
  shopMember: string
52
51
  shopMemberPointDetail: string
53
52
  shopMemberBenefit: string
54
53
  shopMemberRule: string
55
54
  shopMemberCloseAccount: string
56
55
  shopMemberPointExchange: string
57
56
  shopMemberBonusPurchase: string
58
57
  shopMemberGood: string
59
58
  beanDetail: string
60
59
  totalPromotion: string
61
60
  mLive: string
62
61
  shopHome: string
63
62
  shopIntroduce: string
64
63
  shopSearch: string
65
64
  shopLottery: string
66
65
  shopCoupon: string
67
66
  shopWares: string
68
67
  shopFastShopping: string
69
68
  shopSpeciSeckill: string
70
69
  shopVideos: string
71
70
  shopMoreGoods:string
72
71
  shopUseShareOrderUgcContent: string
73
72
  dongDongChat: string
74
73
  samCenter: string
75
74
  samCard: string
76
75
  shopH5MemberCardAPP: string
77
76
  shopH5MemberCardM: string
78
77
  }
79
78
  export interface EventReportConfig {
80
79
  routerInfo: RouterInfo
81
80
  nativeEvent: any
82
81
  }
83
82
  export interface OptEventLogParams {
84
83
  eventId?: string
85
84
  eventParam?: string | object
86
85
  pTag?: string
87
86
  jsonParam?: {
88
87
  [key: string]: any
89
88
  }
90
89
  skuId?: string | number
91
90
  eventLevel?: string
92
91
  exposureState?: boolean
93
92
  otherParams?: object
94
93
  }
95
94
 
96
95
  export interface JumpH5ReportConfig {
97
96
  shopId?: number | string
98
97
  venderId?: number | string
99
98
  sourceValue?: string
100
99
  sourceType?: string
101
100
  }
102
101
  export interface JumpEventReportInit extends EventReportConfig {
103
102
  getConfig(opt): EventReportConfig
104
103
  updateInfo(routerInfo, logPname): void
105
104
  }
106
105
  export interface CouponUrlParams {
107
106
  batchId: number
108
107
  bindType: number
109
108
  startTime?: number
110
109
  endTime?: number
111
110
  quangoufrom?: number
112
111
  sceneId?: number
113
112
  }
114
113
  export interface JdMiniJumpParams {
115
114
  param: string | object
116
115
  sourceValue?: string
117
116
  sourceType?: string
118
117
  des?: any
119
118
  logEventInfo?: object
120
119
  }
121
120
  export interface LinkMiniParams {
122
121
  param?: {
123
122
  pageType?: string
124
123
  }
125
124
  appId?: string | number
126
125
  path?: string
127
126
  }
128
127
  export interface JdJumpWxappReportConfig {
129
128
  wxApiVersion: string
130
129
  wxApiUrl: string
131
130
  wqReportUrl: string
132
131
  }
132
+ export declare namespace JumpEventReportInterFace {
133
133
  export interface ShopIdsInfo {
134
134
  shopId?: number | string
135
135
  venderId?: number | string
136
136
  logEventInfo?: object
137
137
  type?: string
138
138
  }
139
139
  export interface RouterInfo {
140
140
  params: any
141
141
  pageParamStr?: string
142
142
  [key: string]: any
143
143
  }
144
144
  export interface JumpMiniPath {
145
145
  shop: string
146
146
  shopx: string
147
147
  detail: string
148
148
  searchCoupon: string
149
149
  h5: string
150
150
  jingGouHome: string
151
151
  shopFans: string
152
152
  shopLight: string
153
153
  couponSearch: string
154
154
  shopSearch: string
155
155
  jxCouponSearch: string
156
156
  jxDetail: string
157
157
  }
158
158
  export interface jumpWebUrl {
159
159
  mshop: string
160
160
  pages: string
161
161
  pcCoupon: string
162
162
  couponSearch: string
163
163
  jxCouponSearch: string
164
164
  pcCouponSearch: string
165
165
  shopSecondActivity: string
166
166
  shopLight: string
167
167
  detail: string
168
168
  jxDetail: string
169
169
  tjDetail: string
170
170
  pcDetail: string
171
171
  mobileHome: string
172
172
  rank: string
173
173
  wqShopMember: string
174
174
  wqShopDetail: string
175
175
  wqShopSearch: string
176
176
  myCouponList: string
177
177
  myRedPacketList: string
178
178
  memberHome: string
179
179
  memberCard: string
180
180
  memberPoints: string
181
181
  memberBenefit: string
182
182
  memberScores: string
183
183
  memberScoreRule: string
184
184
  memberProduct: string
185
185
  shopMember: string
186
186
  shopMemberPointDetail: string
187
187
  shopMemberBenefit: string
188
188
  shopMemberRule: string
189
189
  shopMemberCloseAccount: string
190
190
  shopMemberPointExchange: string
191
191
  shopMemberBonusPurchase: string
192
192
  shopMemberGood: string
193
193
  beanDetail: string
194
194
  totalPromotion: string
195
195
  mLive: string
196
196
  shopHome: string
197
197
  shopIntroduce: string
198
198
  shopSearch: string
199
199
  shopLottery: string
200
200
  shopCoupon: string
201
201
  shopWares: string
202
202
  shopFastShopping: string
203
203
  shopSpeciSeckill: string
204
204
  shopVideos: string
205
205
  shopMoreGoods:string
206
206
  shopUseShareOrderUgcContent: string
207
207
  dongDongChat: string
208
208
  samCenter: string
209
209
  samCard: string
210
210
  shopH5MemberCardAPP: string
211
211
  shopH5MemberCardM: string
212
212
  }
213
213
  export interface EventReportConfig {
214
214
  routerInfo: RouterInfo
215
215
  nativeEvent: any
216
216
  }
217
217
  export interface OptEventLogParams {
218
218
  eventId?: string
219
219
  eventParam?: string | object
220
220
  pTag?: string
221
221
  jsonParam?: {
222
222
  [key: string]: any
223
223
  }
224
224
  skuId?: string | number
225
225
  eventLevel?: string
226
226
  exposureState?: boolean
227
227
  otherParams?: object
228
228
  }
229
229
 
230
230
  export interface JumpH5ReportConfig {
231
231
  shopId?: number | string
232
232
  venderId?: number | string
233
233
  sourceValue?: string
234
234
  sourceType?: string
235
235
  }
236
236
  export interface JumpEventReportInit extends EventReportConfig {
237
237
  getConfig(opt): EventReportConfig
238
238
  updateInfo(routerInfo, logPname): void
239
239
  }
240
240
  export interface CouponUrlParams {
241
241
  batchId: number
242
242
  bindType: number
243
243
  startTime?: number
244
244
  endTime?: number
245
245
  quangoufrom?: number
246
246
  sceneId?: number
247
247
  }
248
248
  export interface JdMiniJumpParams {
249
249
  param: string | object
250
250
  sourceValue?: string
251
251
  sourceType?: string
252
252
  des?: any
253
253
  logEventInfo?: object
254
254
  }
255
255
  export interface LinkMiniParams {
256
256
  param?: {
257
257
  pageType?: string
258
258
  }
259
259
  appId?: string | number
260
260
  path?: string
261
261
  }
262
262
  export interface JdJumpWxappReportConfig {
263
263
  wxApiVersion: string
264
264
  wxApiUrl: string
265
265
  wqReportUrl: string
266
266
  }
@@ -1 +1 @@
1
- import { ComponentInterFace } from './component'
2
1
  pcCoupon: string
3
2
  pcSo: string
4
3
  mobileLogin: string
5
4
  kpl: string
6
5
  jxDomain: string
7
6
  isLogin: string
7
+ import { ComponentInterFace } from './component'
8
8
  pcCoupon: string
9
9
  api: string
10
10
  hkApi: string
11
11
  pcSo: string
12
12
  mobileLogin: string
13
13
  kpl: string
14
14
  jxDomain: string
15
15
  hkApiFunc: string
16
16
  isLogin: string
17
17
  statusCode: number
18
18
  resTimeoutState?: boolean
19
19
  errMsg?: string
20
20
  msg?: string
21
21
  data?: any
22
22
  status?: string
23
23
  requestType?: string
24
24
  }
25
25
  }
26
26
  export interface FloorInfoPageRequestParam {
27
27
  snapVersion?: string
28
28
  projectId?: string
29
29
  pageId?: string
30
30
  lastFloorIdInPrePage?: string
31
31
  }