@conecli/cone-render 0.10.1-isv2.4 → 0.10.1-isv3.1

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 (105) hide show
  1. package/README.md +1 -1
  2. package/dist/api/index.ts +1 -1
  3. package/dist/common/accessibility.h5.ts +1 -0
  4. package/dist/common/accessibility.ts +1 -0
  5. package/dist/common/const.ts +1 -1
  6. package/dist/common/index.h5.ts +1 -1
  7. package/dist/common/index.jd.ts +1 -1
  8. package/dist/common/index.ts +1 -1
  9. package/dist/common/index.weapp.ts +1 -1
  10. package/dist/common/jdplayerSdk.weapp.tsx +1 -0
  11. package/dist/common/jssdk.weapp.ts +1 -0
  12. package/dist/common/pageType.ts +1 -1
  13. package/dist/common/token/index.h5.ts +1 -1
  14. package/dist/common/token/token.jd.ts +1 -1
  15. package/dist/common/wxappApi.ascf.ts +1 -0
  16. package/dist/components/ErrorBoundary.tsx +1 -1
  17. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  18. package/dist/components/base/CountDown/index.tsx +1 -1
  19. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  20. package/dist/components/base/CustomVideo/index.tsx +1 -1
  21. package/dist/components/base/CustomVideo/index.weapp.tsx +1 -0
  22. package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
  23. package/dist/components/base/ExposureSmart/index.tsx +1 -1
  24. package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
  25. package/dist/components/base/InOrOutViewObserver/index.weapp.tsx +1 -0
  26. package/dist/components/base/ItemViewExposureSmart/index.tsx +1 -1
  27. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  28. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  29. package/dist/components/base/MobileCommonHeader/index.tsx +1 -1
  30. package/dist/components/base/MobileCommonHeader/index.weapp.tsx +1 -0
  31. package/dist/components/base/NetworkDataError/const.ts +1 -1
  32. package/dist/components/base/NetworkDataError/index.module.scss +118 -72
  33. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  34. package/dist/components/base/Price/Base/index.module.scss +12 -0
  35. package/dist/components/base/Price/Base/index.tsx +1 -1
  36. package/dist/components/base/Price/Double/index.module.scss +25 -1
  37. package/dist/components/base/Price/Double/index.tsx +1 -1
  38. package/dist/components/base/ShopLeGaoTag/index.h5.module.scss +35 -0
  39. package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -0
  40. package/dist/components/base/ShopLeGaoTag/index.module.scss +33 -0
  41. package/dist/components/base/ShopLeGaoTag/index.tsx +1 -0
  42. package/dist/components/floorItem.tsx +1 -1
  43. package/dist/components/isv/Floor/index.tsx +1 -1
  44. package/dist/components/remoteFloorItem.tsx +1 -1
  45. package/dist/config/env.ts +1 -1
  46. package/dist/interface/common.ts +1 -1
  47. package/dist/interface/component.ts +1 -1
  48. package/dist/interface/jumpEventReport.ts +1 -1
  49. package/dist/interface/service.ts +1 -1
  50. package/dist/jumpEventReport/base.ts +1 -1
  51. package/dist/jumpEventReport/const.ts +1 -1
  52. package/dist/jumpEventReport/createReportFloorData.ts +1 -1
  53. package/dist/jumpEventReport/index.h5.ts +1 -1
  54. package/dist/jumpEventReport/index.jd.ts +1 -1
  55. package/dist/jumpEventReport/index.weapp.ts +1 -1
  56. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  57. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  58. package/dist/jumpEventReport/logEventConfig.h5.ts +1 -0
  59. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  60. package/dist/jumpEventReport/web/report.ts +1 -1
  61. package/dist/jumpEventReport/web.base.ts +1 -1
  62. package/dist/jumpEventReport/web.jd.ts +1 -1
  63. package/dist/jumpEventReport/web.pc.ts +1 -1
  64. package/dist/jumpEventReport/web.tjm.ts +1 -1
  65. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  66. package/dist/language/en_US.json +395 -0
  67. package/dist/language/zh_CN.json +395 -0
  68. package/dist/language/zh_HK.json +395 -0
  69. package/dist/libs/openShopBridge.js +161 -0
  70. package/dist/libs/openShopBridge.min.js +1 -0
  71. package/dist/libs/taroAppReport.js +2 -2
  72. package/dist/modules/ContainerFloorList/index.h5.module.scss +16 -2
  73. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  74. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  75. package/dist/modules/DecorateContainerFloorList/index.weapp.tsx +1 -0
  76. package/dist/open/api/shopMember.ts +1 -1
  77. package/dist/open/api/shopMember.weapp.ts +1 -0
  78. package/dist/open/api/track.ts +1 -1
  79. package/dist/open/api/util.ts +1 -1
  80. package/dist/open/components/index.ts +1 -1
  81. package/dist/open/index.ts +1 -1
  82. package/dist/sass/app.h5.scss +6 -1
  83. package/dist/sass/base.scss +8 -4
  84. package/dist/service/fetchGateway.ts +1 -1
  85. package/dist/service/fetchGateway.weapp.ts +1 -1
  86. package/dist/service/fetchJsonp.weapp.ts +1 -0
  87. package/dist/service/http/h5Http.ts +1 -1
  88. package/dist/service/http/httpInterceptors.weapp.ts +1 -0
  89. package/dist/service/requestServer.h5.ts +1 -1
  90. package/dist/service/requestServer.ts +1 -1
  91. package/dist/service/requestServer.weapp.ts +1 -1
  92. package/dist/utils/connectNativeJsBridge.ts +1 -1
  93. package/dist/utils/h5Utils.ts +1 -1
  94. package/dist/utils/harmonyCallRouter.h5.ts +1 -0
  95. package/dist/utils/harmonyCallRouter.ts +0 -0
  96. package/dist/utils/index.h5.ts +1 -1
  97. package/dist/utils/index.ts +1 -1
  98. package/dist/utils/index.weapp.ts +1 -1
  99. package/dist/utils/jumpExtMapUtil.weapp.ts +1 -0
  100. package/dist/utils/sColor.weapp.ts +1 -0
  101. package/dist/utils/utils.ts +1 -1
  102. package/package.json +42 -36
  103. package/dist/jumpEventReport/web/wqshop.report.ts +0 -1
  104. package/dist/utils/priceUtils.js +0 -1
  105. /package/dist/utils/{sColor.js → sColor.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conecli/cone-render",
3
- "version": "0.10.1-isv2.4",
3
+ "version": "0.10.1-isv3.1",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist/"
@@ -46,10 +46,12 @@
46
46
  "dev:qq": "npm run build:qq -- --watch",
47
47
  "dev:jd": "npm run build:jd -- --watch",
48
48
  "dev:harmony-hybrid": "npm run build:harmony-hybrid -- --watch",
49
- "compressWatch": "gulp compressWatch --gulpfile ./publish/gulpfile.js",
49
+ "compressWatch": "gulp compressWatch --gulpfile ./publish/gulpfile.js --replaceType=compressWatch",
50
50
  "compress": "gulp compress --gulpfile ./publish/gulpfile.js",
51
+ "compressToXingyunDev": "gulp compress --gulpfile ./publish/gulpfile.js --replaceType=xingyunDev",
51
52
  "build": "npm run compress",
52
- "check": "gulp check --gulpfile ./publish/gulpfile.js"
53
+ "check": "gulp check --gulpfile ./publish/gulpfile.js",
54
+ "build:openShopBridge": "node publish/build-openShopBridge.js"
53
55
  },
54
56
  "browserslist": {
55
57
  "development": [
@@ -88,60 +90,52 @@
88
90
  "@babel/runtime": "7.24.4",
89
91
  "@tarojs/components": "4.1.2",
90
92
  "@tarojs/helper": "4.1.2",
91
- "@tarojs/plugin-platform-weapp": "4.1.2",
93
+ "@tarojs/plugin-framework-react": "4.1.2",
92
94
  "@tarojs/plugin-platform-alipay": "4.1.2",
93
- "@tarojs/plugin-platform-tt": "4.1.2",
94
- "@tarojs/plugin-platform-swan": "4.1.2",
95
- "@tarojs/plugin-platform-jd": "4.1.2",
96
- "@tarojs/plugin-platform-qq": "4.1.2",
97
95
  "@tarojs/plugin-platform-h5": "4.1.2",
98
96
  "@tarojs/plugin-platform-harmony-hybrid": "4.1.2",
97
+ "@tarojs/plugin-platform-jd": "4.1.2",
98
+ "@tarojs/plugin-platform-qq": "4.1.2",
99
+ "@tarojs/plugin-platform-swan": "4.1.2",
100
+ "@tarojs/plugin-platform-tt": "4.1.2",
101
+ "@tarojs/plugin-platform-weapp": "4.1.2",
102
+ "@tarojs/react": "4.1.2",
99
103
  "@tarojs/runtime": "4.1.2",
104
+ "@tarojs/service": "4.1.2",
100
105
  "@tarojs/shared": "4.1.2",
101
106
  "@tarojs/taro": "4.1.2",
102
- "@tarojs/plugin-framework-react": "4.1.2",
103
- "@tarojs/react": "4.1.2",
104
- "@tarojs/service": "4.1.2",
105
- "react-dom": "^18.2.0",
106
- "react": "^18.2.0",
107
107
  "art-template": "^4.13.2",
108
108
  "gulp-filter": "^7.0.0",
109
109
  "normalize.css": "^8.0.1",
110
+ "react": "^18.2.0",
110
111
  "react-content-loader": "^6.2.0",
112
+ "react-dom": "^18.2.0",
111
113
  "react-intersection-observer": "8.33.1",
112
114
  "react-refresh": "^0.14.0",
113
115
  "sha256": "^0.2.0"
114
116
  },
115
117
  "devDependencies": {
116
- "@babel/plugin-transform-strict-mode": "^7.16.7",
117
118
  "@babel/core": "7.24.4",
118
- "@tarojs/cli": "4.1.2",
119
119
  "@babel/plugin-proposal-class-properties": "7.14.5",
120
- "@types/webpack-env": "^1.13.6",
121
- "@types/react": "^18.0.17",
122
- "webpack": "5.91.0",
120
+ "@babel/plugin-transform-strict-mode": "^7.16.7",
121
+ "@babel/preset-react": "^7.24.1",
122
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
123
+ "@tarojs/cli": "4.1.2",
123
124
  "@tarojs/taro-loader": "4.1.2",
124
125
  "@tarojs/webpack5-runner": "4.1.2",
125
- "sass": "^1.75.0",
126
+ "@types/node": "^18",
127
+ "@types/react": "^18.0.17",
128
+ "@types/webpack-env": "^1.13.6",
129
+ "@typescript-eslint/eslint-plugin": "^6.2.0",
130
+ "@typescript-eslint/parser": "^6.2.0",
126
131
  "babel-preset-taro": "4.1.2",
127
- "eslint-config-taro": "4.1.2",
132
+ "del": "^6.1.1",
133
+ "escodegen": "^2.0.0",
128
134
  "eslint": "^8.57.0",
129
- "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
130
- "react-refresh": "^0.14.0",
131
- "@babel/preset-react": "^7.24.1",
132
- "eslint-plugin-react": "^7.34.1",
135
+ "eslint-config-taro": "4.1.2",
133
136
  "eslint-plugin-import": "^2.12.0",
137
+ "eslint-plugin-react": "^7.34.1",
134
138
  "eslint-plugin-react-hooks": "^4.4.0",
135
- "stylelint": "^16.4.0",
136
- "@typescript-eslint/parser": "^6.2.0",
137
- "@typescript-eslint/eslint-plugin": "^6.2.0",
138
- "typescript": "^5.4.5",
139
- "tsconfig-paths-webpack-plugin": "^4.1.0",
140
- "postcss": "^8.4.38",
141
- "ts-node": "^10.9.1",
142
- "@types/node": "^18",
143
- "del": "^6.1.1",
144
- "escodegen": "^2.0.0",
145
139
  "espree": "^9.3.2",
146
140
  "esprima": "^4.0.1",
147
141
  "estraverse": "^5.3.0",
@@ -149,12 +143,24 @@
149
143
  "gulp-util": "^3.0.8",
150
144
  "html-webpack-plugin": "^5.5.0",
151
145
  "mini-css-extract-plugin": "^2.6.1",
146
+ "postcss": "^8.4.38",
147
+ "react-refresh": "^0.14.0",
148
+ "sass": "^1.75.0",
152
149
  "shelljs": "^0.8.5",
153
- "terser-webpack-plugin": "^5.3.6"
150
+ "stylelint": "^16.4.0",
151
+ "terser": "^5.44.1",
152
+ "terser-webpack-plugin": "^5.3.6",
153
+ "ts-node": "^10.9.1",
154
+ "tsconfig-paths-webpack-plugin": "^4.1.0",
155
+ "typescript": "^5.4.5",
156
+ "webpack": "5.91.0",
157
+ "yargs-parser": "^21.1.1"
154
158
  },
155
159
  "resolutions": {
156
160
  "@babel/runtime": "7.24.4",
157
161
  "@tarojs/cli": "4.1.2",
158
- "@tarojs/helper": "4.1.2"
162
+ "@tarojs/helper": "4.1.2",
163
+ "minimatch": "9.0.5",
164
+ "cacheable": "1.10.4"
159
165
  }
160
166
  }
@@ -1 +0,0 @@
1
- import { SECTION_HOME_TAB_TYPE, SHOP_MENU_ID_TYPE } from '../../common/const'
@@ -1 +0,0 @@
1
- const reg = /([\d|\.]+)/;
2
  const newPrice = (price + '').match(reg);
3
1
  if (Array.isArray(newPrice) && newPrice.length > 0) {
4
2
  return newPrice[0];
5
3
  }
6
4
  return '0';
7
5
  const tmpPrice = parseFloat(price);
8
6
  return tmpPrice.toFixed(2);
9
7
  const tmpPrice = formatPrice(price);
10
8
  const priceArray = tmpPrice.split('.');
11
9
  let decPart;
12
10
  if (tmpPrice.length > 1) {
13
11
  decPart = priceArray[1];
14
12
  } else {
15
13
  decPart = '00';
16
14
  }
17
15
  return {
18
16
  intPart: priceArray[0],
19
17
  decPart
20
18
  }
File without changes