@conecli/cone-render 0.8.20-shop.38 → 0.8.20-shop.39

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.
@@ -1 +1 @@
1
- import global from '../common'
2
1
  return mInfo === 'custom' ? etModelInfo : this.getClickEventInfo(floorData,mInfo,etModelInfo,true,true)
3
2
  return mInfo === 'custom' ? etModelInfo : this.getExposureInfo(floorData,mInfo,etModelInfo,true,true)
4
3
 
5
4
  getFloorPointIndexClassName(floorData, index = 0, otherTip = '') {
6
5
  return isChartH5 ? (floorData && floorData?.uid ? `J_chart_floor_${floorData.uid}_point_${otherTip ? otherTip + '_' : ''}${index}` : '') : ''
7
6
  }
7
+ import global from '../common'
8
8
  mdExtInfo = {}
9
9
  pageCrowdId: mdExtInfo?.userGroupStr || '',
10
10
  updateRecInfo(floorData, _dataDefines) {
11
11
  const { algoId = '', userGroupStr = '' } = floorData
12
12
  const changeRecInfo =
13
13
  this.sectionTabData[this.sectionTabType]?.recInfo || {}
14
14
  return Object.assign({}, this.recInfo, changeRecInfo, {
15
15
  algoId,
16
16
  moduleCrowdId: userGroupStr
17
17
  })
18
18
  }
19
19
 
20
20
  updateMInfo(mInfo: any = [], floorData) {
21
21
  const { floorExtInfo, moduleId } = floorData
22
22
  if(Array.isArray(mInfo)){
23
23
  return mInfo.map((item: any) => {
24
24
  item?.jumpUrl && (item.jumpUrl = encodeURIComponent(item.jumpUrl))
25
25
  item.busid = `${floorExtInfo?.moduleFlag}@${moduleId}`
26
26
  return item
27
27
  })
28
28
  }else {
29
29
  mInfo?.jumpUrl && (mInfo.jumpUrl = encodeURIComponent(mInfo.jumpUrl))
30
30
  mInfo.busid = `${floorExtInfo?.moduleFlag}@${moduleId}`
31
31
  return Object.assign({}, this.mInfo, mInfo)
32
32
  }
33
33
  }
34
34
 
35
35
  updateEtModelExposureInfo(floorData,_dataDefines,etModleArr,mInfoArr) {
36
36
  return {
37
37
  lstms: []
38
38
  }
39
39
  }
40
40
 
41
41
  updateEtModelClickInfo(floorData, _dataDefines, etModleInfo = {}, mInfo) {
42
42
  return {
43
43
  lstm: [],
44
44
  }
45
45
  }
46
46
  return mInfo === 'custom' ? etModelInfo : this.getClickEventInfo(floorData,mInfo,etModelInfo,true,true)
47
47
  return mInfo === 'custom' ? etModelInfo : this.getExposureInfo(floorData,mInfo,etModelInfo,true,true)
48
48
 
49
49
  getFloorPointIndexClassName(floorData, index = 0, otherTip = '') {
50
50
  return isChartH5 ? (floorData && floorData?.uid ? `J_chart_floor_${floorData.uid}_point_${otherTip ? otherTip + '_' : ''}${index}` : '') : ''
51
51
  }