@conecli/cone-render 0.10.1-beta.8 → 0.10.1-beta.9

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 (34) hide show
  1. package/dist/common/const.ts +1 -1
  2. package/dist/common/index.h5.ts +1 -1
  3. package/dist/common/jssdk.ts +1 -1
  4. package/dist/common/token/token.jd.ts +1 -1
  5. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  6. package/dist/components/base/InOrOutViewObserver/index.tsx +1 -1
  7. package/dist/components/base/InViewRender/index.tsx +1 -1
  8. package/dist/components/base/InViewRender/index.weapp.tsx +1 -1
  9. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  10. package/dist/components/base/LazyLayoutLoad/index.weapp.tsx +1 -1
  11. package/dist/components/base/LazyLoadImage/index.h5.module.scss +4 -8
  12. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  13. package/dist/components/base/LazyLoadImage/index.tsx +1 -1
  14. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  15. package/dist/components/debug/DebugLayout/index.module.scss +2 -2
  16. package/dist/components/decorate/PlaceHolder/index.tsx +1 -1
  17. package/dist/components/floorItem.jd.tsx +1 -1
  18. package/dist/components/floorItem.tsx +1 -1
  19. package/dist/components/floorItem.weapp.tsx +1 -1
  20. package/dist/interface/component.ts +1 -1
  21. package/dist/interface/jumpEventReport.ts +1 -1
  22. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  23. package/dist/jumpEventReport/web.tjm.ts +1 -1
  24. package/dist/open/api/device.ts +1 -1
  25. package/dist/sass/app.h5.scss +0 -18
  26. package/dist/service/http/colorSign.ts +1 -1
  27. package/dist/service/requestServer.ts +1 -1
  28. package/dist/utils/connectNativeJsBridge.ts +1 -1
  29. package/dist/utils/index.h5.ts +1 -1
  30. package/dist/utils/taroRenderUtil.ts +1 -1
  31. package/dist/utils/utils.ts +1 -1
  32. package/package.json +53 -64
  33. package/dist/components/base/CustomScrollView/index-back.tsx +0 -1
  34. package/dist/utils/log.ts +0 -1
@@ -1 +1 @@
1
- export enum TaroRenderVersion {
2
1
  VERSION_OLD = 0,
3
2
  VERSION_NEW = 1,
4
3
  let result = modularPackResult?.bundleUrl || ''
5
4
  if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
6
5
  result = modularPackResult?.bundleUrlV2 || ''
7
6
  }
8
7
  return result
9
8
  let result = modularPackResult?.bundleFileName || ''
10
9
  if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
11
10
  result = modularPackResult?.bundleFileNameV2 || ''
12
11
  }
13
12
  return result
14
13
  let result = modularPackResult?.taroVersion || ''
15
14
  if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
16
15
  result = modularPackResult?.taroVersionV2 || ''
17
16
  }
18
17
  console.log(
19
18
  'getTaroVersion taroRenderVersion:' +
20
19
  window?.taroRenderVersion +
21
20
  ',taroVersion:' +
22
21
  result,
23
22
  )
24
23
  return result
25
24
  if (typeof modularPackResult === 'string') {
26
25
  try {
27
26
  return JSON.parse(modularPackResult)
28
27
  } catch (e) {
29
28
  console.error('JSON解析失败', e)
30
29
  return {}
31
30
  }
32
31
  }
33
32
  return modularPackResult || {}
33
+ export enum TaroRenderVersion {
34
34
  VERSION_OLD = 0,
35
35
  VERSION_NEW = 1,
36
36
  let result = modularPackResult?.bundleUrl || ''
37
37
  if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
38
38
  result = modularPackResult?.bundleUrlV2 || ''
39
39
  }
40
40
  console.log(
41
41
  'getBundleUrl taroRenderVersion:' +
42
42
  window?.taroRenderVersion +
43
43
  ',bundleUrl:' +
44
44
  result,
45
45
  )
46
46
  return result
47
47
  let result = modularPackResult?.bundleFileName || ''
48
48
  if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
49
49
  result = modularPackResult?.bundleFileNameV2 || ''
50
50
  }
51
51
  console.log(
52
52
  'getBundleUrl taroRenderVersion:' +
53
53
  window?.taroRenderVersion +
54
54
  ',bundleFileName:' +
55
55
  result,
56
56
  )
57
57
  return result
58
58
  let result = modularPackResult?.taroVersion || ''
59
59
  if (window?.taroRenderVersion === TaroRenderVersion.VERSION_NEW) {
60
60
  result = modularPackResult?.taroVersionV2 || ''
61
61
  }
62
62
  console.log(
63
63
  'getTaroVersion taroRenderVersion:' +
64
64
  window?.taroRenderVersion +
65
65
  ',taroVersion:' +
66
66
  result,
67
67
  )
68
68
  return result
69
69
  if (typeof modularPackResult === 'string') {
70
70
  try {
71
71
  return JSON.parse(modularPackResult)
72
72
  } catch (e) {
73
73
  console.error('JSON解析失败', e)
74
74
  return {}
75
75
  }
76
76
  }
77
77
  return modularPackResult || {}