@conecli/cone-render 0.10.1-beta.5 → 0.10.1-beta.7

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 (57) 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/base/CountDown/index.module.scss +49 -44
  11. package/dist/components/base/CountDown/index.tsx +1 -1
  12. package/dist/components/base/CustomVideo/common.ts +1 -0
  13. package/dist/components/base/CustomVideo/index.tsx +1 -1
  14. package/dist/components/base/LazyLoadImage/index.h5.module.scss +11 -6
  15. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  16. package/dist/components/base/Price/Base/index.tsx +1 -1
  17. package/dist/components/base/Price/Double/index.module.scss +8 -0
  18. package/dist/components/base/Price/Double/index.tsx +1 -1
  19. package/dist/components/floorItem.tsx +1 -1
  20. package/dist/components/isv/Floor/index.tsx +1 -1
  21. package/dist/interface/component.ts +1 -1
  22. package/dist/interface/jumpEventReport.ts +1 -1
  23. package/dist/interface/service.ts +1 -1
  24. package/dist/jumpEventReport/base.ts +1 -1
  25. package/dist/jumpEventReport/index.jd.ts +1 -1
  26. package/dist/jumpEventReport/index.weapp.ts +1 -1
  27. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  28. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  29. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  30. package/dist/jumpEventReport/web.base.ts +1 -1
  31. package/dist/jumpEventReport/web.jd.ts +1 -1
  32. package/dist/jumpEventReport/web.jdb.ts +1 -1
  33. package/dist/jumpEventReport/web.jdjch.ts +1 -1
  34. package/dist/jumpEventReport/web.jxwxapp.ts +1 -1
  35. package/dist/jumpEventReport/web.pc.ts +1 -1
  36. package/dist/jumpEventReport/web.tjapp.ts +1 -1
  37. package/dist/jumpEventReport/web.tjm.ts +1 -1
  38. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  39. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  40. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  41. package/dist/open/api/util.ts +1 -1
  42. package/dist/sass/base.scss +142 -141
  43. package/dist/service/fetchGateway.ts +1 -1
  44. package/dist/service/http/colorSign.ts +1 -1
  45. package/dist/service/http/h5Http.ts +1 -0
  46. package/dist/service/http/index.h5.ts +1 -0
  47. package/dist/service/requestServer.h5.ts +1 -0
  48. package/dist/service/requestServer.ts +1 -1
  49. package/dist/utils/connectNativeJsBridge.ts +1 -1
  50. package/dist/utils/connectNativeJsBridge.weapp.ts +1 -1
  51. package/dist/utils/h5Utils.ts +1 -1
  52. package/dist/utils/index.h5.ts +1 -1
  53. package/dist/utils/index.ts +1 -1
  54. package/dist/utils/index.weapp.ts +1 -1
  55. package/dist/utils/utils.ts +1 -1
  56. package/package.json +35 -29
  57. package/dist/utils/memberFormatUtils.js +0 -1
@@ -1 +1 @@
1
- import React, { useCallback } from 'react'
2
1
  const {
3
2
  style,
4
3
  dataDefines,
5
4
  containerBorderRadius,
6
5
  floorData,
7
6
  isRealTimeRender,
8
7
  forceRenderTime,
9
8
  } = props
10
9
  const getRenderRealTimeKeyObj = {
11
10
  key: isRealTimeRender ? Date.now() : forceRenderTime,
12
11
  }
13
12
  console.log('远程加载楼层渲染key信息', getRenderRealTimeKeyObj)
14
13
  return (
15
14
  <View className={floorStyle['wrap']} style={style}>
16
15
  {floorData?.showCommonFloorHead === false ? null : (
17
16
  <CommonFloorHead
18
17
  dataDefines={dataDefines}
19
18
  floorData={floorData}
20
19
  {...getRenderRealTimeKeyObj}
21
20
  />
22
21
  )}
23
22
  <View
24
23
  className={floorStyle['wrap']}
25
24
  style={
26
25
  containerBorderRadius
27
26
  ? {
28
27
  borderRadius: containerBorderRadius + 'px',
29
28
  }
30
29
  : {}
31
30
  }
32
31
  >
33
32
  {}
34
33
  {props.children &&
35
34
  React.cloneElement(props.children, {
36
35
  dataDefines: dataDefines,
37
36
  ...getRenderRealTimeKeyObj,
38
37
  })}
39
38
  </View>
40
39
  </View>
41
40
  )
42
41
  isRealTimeRender: false,
43
42
  forceRenderTime: 1,
43
+ import React, { useCallback } from 'react'
44
44
  const {
45
45
  style,
46
46
  dataDefines,
47
47
  containerBorderRadius,
48
48
  floorData,
49
49
  isRealTimeRender,
50
50
  forceRenderTime,
51
51
  } = props
52
52
  const getRenderRealTimeKeyObj = {
53
53
  key: isRealTimeRender ? Date.now() : forceRenderTime,
54
54
  }
55
55
  console.log('远程加载楼层渲染key信息', getRenderRealTimeKeyObj)
56
56
  return (
57
57
  <View className={floorStyle['wrap']} style={style}>
58
58
  {floorData?.showCommonFloorHead === false ? null : (
59
59
  <CommonFloorHead
60
60
  dataDefines={dataDefines}
61
61
  floorData={floorData}
62
62
  {...getRenderRealTimeKeyObj}
63
63
  />
64
64
  )}
65
65
  <View
66
66
  className={floorStyle['wrap']}
67
67
  style={
68
68
  typeof containerBorderRadius === 'number'
69
69
  ? {
70
70
  borderRadius: containerBorderRadius + 'px',
71
71
  }
72
72
  : containerBorderRadius
73
73
  }
74
74
  >
75
75
  {}
76
76
  {props.children &&
77
77
  React.cloneElement(props.children, {
78
78
  dataDefines: dataDefines,
79
79
  ...getRenderRealTimeKeyObj,
80
80
  })}
81
81
  </View>
82
82
  </View>
83
83
  )
84
84
  isRealTimeRender: false,
85
85
  forceRenderTime: 1,
@@ -1 +1 @@
1
- import React from 'react'
2
1
  subMessage?: string
3
2
  viewMaxHeight?: string
4
3
  noPosition?: boolean
5
4
  floorLoadWay?: number
6
5
  floorKind?: number
7
6
  shopId?: string
8
7
  moduleDesignerType?: string
9
8
  showCommonFloorHead?: boolean
10
9
  borderRadius: number
11
10
  borderTopLeftRadius?: number
12
11
  borderTopRightRadius?: number
13
12
  borderBottomLeftRadius?: number
14
13
  borderBottomRightRadius?: number
15
14
  marginTop?: number
16
15
  marginBottom?: number
17
16
  marginLeft?: number
18
17
  marginRight?: number
19
18
  paddingTop?: number
20
19
  paddingBottom?: number
21
20
  paddingLeft?: number
22
21
  paddingRight?: number
23
22
  containerId: string
24
23
  background?: string
25
24
  containerPosition?: string
26
25
  key?: string
27
26
  floors: floorItemData[]
28
27
  includeUids: string[]
29
28
  typeCn: string
30
29
  typeCode?: string
31
30
  addLuxuryStyle?: boolean
32
31
  addLuxuryBackupStyle?: boolean
33
32
  renderExtendComponent?: Function
34
33
  insertContainerStartComponent?: Function
35
34
  floorExtendData?: any
36
35
  }
37
36
  isRealTimeRender: boolean
38
37
  forceRenderTime: number
39
38
  luxuryFixed?: boolean
40
39
  customErrorIsvFloorModule?: React.ReactElement | undefined
41
40
  containerIndex?: number
42
41
  containerData?: any
43
42
  shopTotalInfo?: any
44
43
  selectContainerFn?: Function
45
44
  selectContainerId?: string
46
45
  placeHolderPreContainerId?: string
47
46
  children?: any
48
47
  luxuryFixed?: boolean
49
48
  style?: {
50
49
  [key: string]: any
51
50
  };
52
51
  layoutLeftRightMargin?: number
53
52
  }
54
53
  isShowPlaceHolder?: boolean
55
54
  showDayToSecondState?: boolean
56
55
  onFormSubmit?: Function
57
56
  onFormReset?: Function
58
57
  isFormDialog?: boolean
59
58
  forbiddenBgScrollState?: boolean
60
59
  evenList: any[]
61
60
  oddList: any[]
61
+ import React from 'react'
62
62
  subMessage?: string
63
63
  viewMaxHeight?: string
64
64
  noPosition?: boolean
65
65
  floorLoadWay?: number
66
66
  floorKind?: number
67
67
  shopId?: string
68
68
  moduleDesignerType?: string
69
69
  showCommonFloorHead?: boolean
70
70
  borderRadius: number
71
71
  borderTopLeftRadius?: number
72
72
  borderTopRightRadius?: number
73
73
  borderBottomLeftRadius?: number
74
74
  borderBottomRightRadius?: number
75
75
  marginTop?: number
76
76
  marginBottom?: number
77
77
  marginLeft?: number
78
78
  marginRight?: number
79
79
  paddingTop?: number
80
80
  paddingBottom?: number
81
81
  paddingLeft?: number
82
82
  paddingRight?: number
83
83
  containerId: string
84
84
  background?: string
85
85
  containerPosition?: string
86
86
  key?: string
87
87
  floors: floorItemData[]
88
88
  includeUids: string[]
89
89
  typeCn: string
90
90
  typeCode?: string
91
91
  addLuxuryStyle?: boolean
92
92
  addLuxuryBackupStyle?: boolean
93
93
  renderExtendComponent?: Function
94
94
  insertContainerStartComponent?: Function
95
95
  floorExtendData?: any
96
96
  }
97
97
  isRealTimeRender: boolean
98
98
  forceRenderTime: number
99
99
  luxuryFixed?: boolean
100
100
  customErrorIsvFloorModule?: React.ReactElement | undefined
101
101
  containerIndex?: number
102
102
  containerData?: any
103
103
  shopTotalInfo?: any
104
104
  selectContainerFn?: Function
105
105
  selectContainerId?: string
106
106
  placeHolderPreContainerId?: string
107
107
  children?: any
108
108
  luxuryFixed?: boolean
109
109
  style?: {
110
110
  [key: string]: any
111
111
  };
112
112
  layoutLeftRightMargin?: number
113
113
  }
114
114
  isShowPlaceHolder?: boolean
115
115
  showDayToSecondState?: boolean
116
116
  onFormSubmit?: Function
117
117
  onFormReset?: Function
118
118
  isFormDialog?: boolean
119
119
  forbiddenBgScrollState?: boolean
120
120
  evenList: any[]
121
121
  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
8
7
  }
9
8
  export interface FloorInfoPageRequestParam {
10
9
  snapVersion?: string
11
10
  projectId?: string
12
11
  pageId?: string
13
12
  lastFloorIdInPrePage?: string
14
13
  }
14
+ import { ComponentInterFace } from './component'
15
15
  pcCoupon: string
16
16
  api: string
17
17
  hkApi: string
18
18
  pcSo: string
19
19
  mobileLogin: string
20
20
  kpl: string
21
21
  jxDomain: string
22
22
  hkApiFunc: string
23
23
  isLogin: string
24
24
  statusCode: number
25
25
  resTimeoutState?: boolean
26
26
  errMsg?: string
27
27
  msg?: string
28
28
  data?: any
29
29
  status?: string
30
30
  requestType?: string
31
31
  }
32
32
  }
33
33
  export interface FloorInfoPageRequestParam {
34
34
  snapVersion?: string
35
35
  projectId?: string
36
36
  pageId?: string
37
37
  lastFloorIdInPrePage?: string
38
38
  }