@conecli/cone-render 0.8.38-beta.0 → 0.8.38

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 (41) 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.jd.ts +1 -1
  5. package/dist/common/index.ts +1 -1
  6. package/dist/common/index.weapp.ts +1 -1
  7. package/dist/common/wxappApi.ts +1 -1
  8. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  9. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  10. package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
  11. package/dist/components/floorItem.tsx +1 -1
  12. package/dist/components/isv/Floor/index.tsx +1 -1
  13. package/dist/components/remoteFloorItem.tsx +1 -1
  14. package/dist/interface/common.ts +1 -1
  15. package/dist/interface/component.ts +1 -1
  16. package/dist/interface/jumpEventReport.ts +1 -1
  17. package/dist/interface/service.ts +1 -1
  18. package/dist/jumpEventReport/base.ts +1 -1
  19. package/dist/jumpEventReport/index.h5.ts +1 -1
  20. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  21. package/dist/jumpEventReport/web.base.ts +1 -1
  22. package/dist/jumpEventReport/web.jd.ts +1 -1
  23. package/dist/open/api/index.ts +1 -1
  24. package/dist/utils/h5Utils.ts +1 -1
  25. package/dist/utils/index.h5.ts +1 -1
  26. package/dist/utils/index.ts +1 -1
  27. package/dist/utils/index.weapp.ts +1 -1
  28. package/dist/utils/utils.ts +1 -1
  29. package/package.json +1 -1
  30. package/dist/common/jssdk.ts +0 -1
  31. package/dist/jumpEventReport/web.pc.ts +0 -1
  32. package/dist/wxapp/api/helper.js +0 -1
  33. package/dist/wxapp/components/launch-app/index.js +0 -1
  34. package/dist/wxapp/components/launch-app/index.json +0 -5
  35. package/dist/wxapp/components/launch-app/index.wxml +0 -0
  36. package/dist/wxapp/components/launch-app/index.wxss +0 -0
  37. package/dist/wxapp/components/subscribe-guider/helper.js +0 -1
  38. package/dist/wxapp/components/subscribe-guider/index.js +0 -1
  39. package/dist/wxapp/components/subscribe-guider/index.json +0 -5
  40. package/dist/wxapp/components/subscribe-guider/index.wxml +0 -0
  41. package/dist/wxapp/components/subscribe-guider/index.wxss +0 -0
@@ -1 +0,0 @@
1
- import global from '../common'
2
  BUSINESS_TYPE,
3
1
  SHOP_MENU_ID_TYPE,
4
2
  SHOP_MENU_ID_NAME,
5
3
  SECTION_HOME_TAB_TYPE,
6
4
  SECTION_HOME_TAB_NAME_TYPE,
7
5
  objectToUrlEncode,
8
6
  parseQueryUrlString,
9
7
  filterUrlQueryData,
10
8
  routerInfo: {
11
9
  params: {},
12
10
  },
13
11
  nativeEvent: null,
14
12
  jumpConfig: {
15
13
  venderId: null,
16
14
  shopId: null,
17
15
  sourceValue: '',
18
16
  sourceType: 'M-H5',
19
17
  activityType: 'shopx',
20
18
  moduleId: 'none',
21
19
  entrance: 'none',
22
20
  },
23
21
  logPageParamStr: '',
24
22
  public logPageId: string
25
23
  public jumpConfig: JumpEventReportInterFace.JumpH5ReportConfig
26
24
  getConfig(opt) {
27
25
  return Object.assign(this, {}, defaultConfig, opt)
28
26
  }
29
27
  updateInfo(
30
28
  routerInfo,
31
29
  logPname = LogPnameInfo.HOME,
32
30
  pageId = LogPageIdInfo.APP,
33
31
  ) {
34
32
  this.routerInfo = routerInfo
35
33
  this.logPname = logPname
36
34
  this.jumpConfig = Object.assign(
37
35
  {},
38
36
  this.jumpConfig,
39
37
  filterUrlQueryData(routerInfo?.params || {}),
40
38
  )
41
39
  this.logPageId = pageId
42
40
  }
43
41
 
44
42
  jdJumpToProduct(skuIds, logEventInfo) {
45
43
  skuIds = skuIds.toString().trim()
46
44
  const getSkuId = skuIds.indexOf(',') !== -1 ? skuIds.split(',')[0] : skuIds
47
45
  let url = `${this.jumpWebUrl.pcDetail}${getSkuId}.html`
48
46
  this.jdNavigateToNative(url, logEventInfo)
49
47
  }
50
48
 
51
49
  jdJumpToShopHome(shopInfo: JumpEventReportInterFace.ShopIdsInfo = {}) {
52
50
  const getInfo = Object.assign(
53
51
  {},
54
52
  {
55
53
  shopId: global.info.queryInfo.shopId,
56
54
  venderId: global.info.queryInfo.venderId,
57
55
  },
58
56
  shopInfo,
59
57
  )
60
58
  let url = `${this.jumpWebUrl.pages}/index-${global.info.queryInfo.shopId}.html`
61
59
  this.jdNavigateToNative(url, {
62
60
  ...getInfo,
63
61
  })
64
62
  }
65
63
 
66
64
  getPcSearchUrl = (cateId) => {
67
65
  const flag = document.querySelector('#JSHOP_CHANNEL_FLAG')?.value
68
66
  const appId =
69
67
  document.querySelector('#J_AppId')?.value ||
70
68
  document.querySelector('#pageInstance_appId')?.value
71
69
  return flag === 'yao'
72
70
  ? this.jumpWebUrl.pages + '/view_shop_search-' + appId + '.html'
73
71
  : this.jumpWebUrl.pages +
74
72
  '/view_search-' +
75
73
  appId +
76
74
  '-' +
77
75
  cateId +
78
76
  '-99-1-20-1.html'
79
77
  }
80
78
 
81
79
  jdJumpToShopSearch(shopInfo) {
82
80
  const getInfo = Object.assign(
83
81
  {},
84
82
  {
85
83
  shopId: global.info.queryInfo.shopId,
86
84
  venderId: global.info.queryInfo.venderId,
87
85
  },
88
86
  shopInfo,
89
87
  )
90
88
  const { categoryId } = getInfo
91
89
  const url = `${this.getPcSearchUrl(categoryId)}`
92
90
  this.jdJumpToWeb(url, getInfo)
93
91
  }
94
92
 
95
93
  jdJumpToTabAllProduct(shopId, venderId, logEventInfo = {}) {
96
94
  console.log('web.base.ts - jdJumpToTabAllProduct')
97
95
  if (typeof shopId === 'undefined') shopId = global.info.queryInfo.shopId
98
96
  if (typeof venderId === 'undefined')
99
97
  venderId = global.info.queryInfo.venderId
100
98
  const url = `${this.jumpWebUrl.pages}/index-${shopId}.html`
101
99
  this.jdJumpToWeb(url, logEventInfo)
102
100
  }
103
101
 
104
102
  jdJumpToCouponSearchProductList(couponId, logEventInfo = {}) {
105
103
  const url = `${this.jumpWebUrl.couponSearch}?couponbatch=${couponId}&sceneval=2`
106
104
  this.jdJumpToWeb(url, logEventInfo)
107
105
  }
@@ -1 +0,0 @@
1
- export const delayShow = () => {
@@ -1 +0,0 @@
1
- Component({
2
  properties: {},
3
1
  data: {},
4
2
  methods: {}
@@ -1,5 +0,0 @@
1
- {
2
- "component": true,
3
- "usingComponents": {
4
- }
5
- }
File without changes
File without changes
@@ -1 +0,0 @@
1
- export const delayShow = () => {
@@ -1 +0,0 @@
1
- Component({
2
  properties: {},
3
1
  data: {},
4
2
  methods: {}
@@ -1,5 +0,0 @@
1
- {
2
- "component": true,
3
- "usingComponents": {
4
- }
5
- }
File without changes
File without changes