@conecli/cone-render 0.10.1-shop3.12 → 0.10.1-shop3.121

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 (118) 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.ts +1 -1
  12. package/dist/common/jssdk.weapp.ts +1 -0
  13. package/dist/common/pageType.ts +1 -1
  14. package/dist/common/token/index.h5.ts +1 -1
  15. package/dist/common/token/token.jd.ts +1 -1
  16. package/dist/common/wxappApi.ascf.ts +1 -0
  17. package/dist/common/wxappApi.ts +1 -1
  18. package/dist/components/ErrorBoundary.tsx +1 -1
  19. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  20. package/dist/components/base/CountDown/index.tsx +1 -1
  21. package/dist/components/base/CountDownForApp/index.module.scss +52 -0
  22. package/dist/components/base/CountDownForApp/index.tsx +1 -0
  23. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  24. package/dist/components/base/CustomVideo/index.tsx +1 -1
  25. package/dist/components/base/CustomVideo/index.weapp.tsx +1 -0
  26. package/dist/components/base/ExposureSmart/index.h5.tsx +1 -1
  27. package/dist/components/base/ExposureSmart/index.tsx +1 -1
  28. package/dist/components/base/ExposureSmart/reporter.tsx +1 -1
  29. package/dist/components/base/InOrOutViewObserver/index.weapp.tsx +1 -0
  30. package/dist/components/base/InViewRender/index.tsx +1 -1
  31. package/dist/components/base/LazyLayoutLoad/index.module.scss +9 -9
  32. package/dist/components/base/LazyLayoutLoad/index.tsx +1 -1
  33. package/dist/components/base/LazyLoadImage/index.h5.tsx +1 -1
  34. package/dist/components/base/MobileCommonHeader/index.tsx +1 -1
  35. package/dist/components/base/MobileCommonHeader/index.weapp.tsx +1 -0
  36. package/dist/components/base/NetworkDataError/const.ts +1 -1
  37. package/dist/components/base/NetworkDataError/index.module.scss +118 -72
  38. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  39. package/dist/components/base/Price/Base/index.module.scss +12 -0
  40. package/dist/components/base/Price/Base/index.tsx +1 -1
  41. package/dist/components/base/Price/Double/index.module.scss +25 -1
  42. package/dist/components/base/Price/Double/index.tsx +1 -1
  43. package/dist/components/base/ShopLeGaoTag/index.h5.module.scss +35 -0
  44. package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -0
  45. package/dist/components/base/ShopLeGaoTag/index.module.scss +33 -0
  46. package/dist/components/base/ShopLeGaoTag/index.tsx +1 -0
  47. package/dist/components/debug/DebugLayout/index.module.scss +2 -2
  48. package/dist/components/floorItem.tsx +1 -1
  49. package/dist/components/isv/Floor/index.tsx +1 -1
  50. package/dist/components/remoteFloorItem.tsx +1 -1
  51. package/dist/config/env.ts +1 -1
  52. package/dist/interface/common.ts +1 -1
  53. package/dist/interface/component.ts +1 -1
  54. package/dist/interface/jumpEventReport.ts +1 -1
  55. package/dist/interface/service.ts +1 -1
  56. package/dist/jumpEventReport/base.ts +1 -1
  57. package/dist/jumpEventReport/const.ts +1 -1
  58. package/dist/jumpEventReport/createReportFloorData.ts +1 -1
  59. package/dist/jumpEventReport/index.h5.ts +1 -1
  60. package/dist/jumpEventReport/index.jd.ts +1 -1
  61. package/dist/jumpEventReport/index.weapp.ts +1 -1
  62. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  63. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  64. package/dist/jumpEventReport/logEventConfig.h5.ts +1 -0
  65. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  66. package/dist/jumpEventReport/web/report.ts +1 -1
  67. package/dist/jumpEventReport/web.base.ts +1 -1
  68. package/dist/jumpEventReport/web.jd.ts +1 -1
  69. package/dist/jumpEventReport/web.pc.ts +1 -1
  70. package/dist/jumpEventReport/web.tjm.ts +1 -1
  71. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  72. package/dist/language/en_US.json +397 -0
  73. package/dist/language/zh_CN.json +397 -0
  74. package/dist/language/zh_HK.json +397 -0
  75. package/dist/libs/openShopBridge.js +161 -0
  76. package/dist/libs/openShopBridge.min.js +1 -0
  77. package/dist/libs/taroAppReport.js +2 -2
  78. package/dist/modules/ContainerFloorList/index.h5.module.scss +16 -2
  79. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  80. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  81. package/dist/modules/DecorateContainerFloorList/index.weapp.tsx +1 -0
  82. package/dist/open/api/environment.ts +1 -1
  83. package/dist/open/api/shopMember.ts +1 -1
  84. package/dist/open/api/shopMember.weapp.ts +1 -0
  85. package/dist/open/api/track.ts +1 -1
  86. package/dist/open/api/util.ts +1 -1
  87. package/dist/open/components/index.ts +1 -1
  88. package/dist/open/index.ts +1 -1
  89. package/dist/sass/app.h5.scss +19 -2
  90. package/dist/sass/base.scss +8 -4
  91. package/dist/service/fetchGateway.ts +1 -1
  92. package/dist/service/fetchGateway.weapp.ts +1 -1
  93. package/dist/service/fetchJsonp.weapp.ts +1 -0
  94. package/dist/service/http/const.ts +1 -1
  95. package/dist/service/http/h5Http.ts +1 -1
  96. package/dist/service/http/httpInterceptors.weapp.ts +1 -0
  97. package/dist/service/requestServer.h5.ts +1 -1
  98. package/dist/service/requestServer.ts +1 -1
  99. package/dist/service/requestServer.weapp.ts +1 -1
  100. package/dist/utils/connectNativeJsBridge.ts +1 -1
  101. package/dist/utils/h5Utils.ts +1 -1
  102. package/dist/utils/harmonyCallRouter.h5.ts +1 -0
  103. package/dist/utils/harmonyCallRouter.ts +0 -0
  104. package/dist/utils/index.h5.ts +1 -1
  105. package/dist/utils/index.ts +1 -1
  106. package/dist/utils/index.weapp.ts +1 -1
  107. package/dist/utils/jumpExtMapUtil.ts +1 -0
  108. package/dist/utils/jumpExtMapUtil.weapp.ts +1 -0
  109. package/dist/utils/log.ts +1 -0
  110. package/dist/utils/{sColor.js → sColor.ts} +1 -1
  111. package/dist/utils/sColor.weapp.ts +1 -0
  112. package/dist/utils/utils.ts +1 -1
  113. package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
  114. package/dist/wxapp/common/user_info.js +1 -1
  115. package/package.json +166 -141
  116. package/dist/jumpEventReport/web/wqshop.report.ts +0 -1
  117. package/dist/utils/priceUtils.js +0 -1
  118. /package/dist/utils/{jumpExtMapUtil.js → jumpExtMapUtil.h5.ts} +0 -0
@@ -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
  export interface LazyLoadImageProps {
63
63
  src: string;
64
64
  lazyLoad?: boolean;
65
65
  imagRenderingSet?: boolean;
66
66
  width?: number | string;
67
67
  height?: number | string;
68
68
  className?: string;
69
69
  style?: object;
70
70
  backgroundColor?: string;
71
71
  errorSrc?: string;
72
72
  [key: string]: any;
73
73
  }
74
74
  export interface JdLoadingProps {
75
75
  className: string | null;
76
76
  hideState: boolean;
77
77
  fullState: boolean;
78
78
  localState: boolean;
79
79
  style: object;
80
80
  text: string | null;
81
81
  }
82
82
  export interface ShopConfigTabsItem {
83
83
  tabType: number;
84
84
  tabActBlurIcon?: string;
85
85
  tabText?: string;
86
86
  tabActClickIcon?: string;
87
87
  }
88
88
  export interface ShopConfigMenuItem extends ShopMenuListItem {
89
89
  url?: string;
90
90
  }
91
91
  export interface VipShopConfigMenuItem {
92
92
  menuName?: string;
93
93
  menuId: string | number;
94
94
  }
95
95
  export interface ShopTotalInfo {
96
96
  shopInfo: {
97
97
  shopId?: string;
98
98
  venderId?: string;
99
99
  shopName?: string;
100
100
  logoUrl?: string;
101
101
  followed?: boolean;
102
102
  followerCount?: number;
103
103
  closed?: boolean;
104
104
  filterShop?: boolean;
105
105
  [key: string]: any;
106
106
  };
107
107
  tabs?: [ShopConfigTabsItem];
108
108
  config?: {
109
109
  tabs: [ShopConfigTabsItem];
110
110
  mTabs: [ShopConfigTabsItem];
111
111
  bigBgImgUrl?: string;
112
112
  [key: string]: any;
113
113
  };
114
114
  menuInfo?: {
115
115
  menuList: [ShopConfigMenuItem];
116
116
  mMenuList: [ShopConfigMenuItem];
117
117
  [key: string]: any;
118
118
  };
119
119
  activityInfo?: {
120
120
  activityRuleType: number;
121
121
  isSign: number;
122
122
  followed: boolean;
123
123
  coupons?: ShopCouponListItem[];
124
124
  liveInfo?: {
125
125
  type: string;
126
126
  data: {
127
127
  living: {
128
128
  [key: string]: any;
129
129
  };
130
130
  playback: {
131
131
  [key: string]: any;
132
132
  };
133
133
  preview: {
134
134
  [key: string]: any;
135
135
  };
136
136
  };
137
137
  [key: string]: any;
138
138
  };
139
139
  signStatus?: {
140
140
  activityRuleType: number;
141
141
  interActActivityId: number;
142
142
  interActActivityType: number;
143
143
  isSign: number;
144
144
  source: number;
145
145
  };
146
146
  giftBagDataResult?: {
147
147
  activityId: number;
148
148
  activityType: number;
149
149
  giftButton: string;
150
150
  giftTitle: string;
151
151
  giftsToast: string;
152
152
  isVipGift: string;
153
153
  shopGifts: any[];
154
154
  };
155
155
  [key: string]: any;
156
156
  };
157
157
  extendInfo?: {
158
158
  coupons?: ShopCouponListItem[];
159
159
  liveInfo?: {
160
160
  type: string;
161
161
  data: {
162
162
  living: {
163
163
  [key: string]: any;
164
164
  };
165
165
  playback: {
166
166
  [key: string]: any;
167
167
  };
168
168
  preview: {
169
169
  [key: string]: any;
170
170
  };
171
171
  };
172
172
  [key: string]: any;
173
173
  };
174
174
  signStatus?: {
175
175
  activityRuleType: number;
176
176
  interActActivityId: number;
177
177
  interActActivityType: number;
178
178
  isSign: number;
179
179
  source: number;
180
180
  };
181
181
  };
182
182
  pageSet?: {
183
183
  [key: string]: any;
184
184
  };
185
185
  followed?: boolean;
186
186
  followCount?: number;
187
187
  }
188
188
  export interface PageSetData {
189
189
  backGround?: {
190
190
  type?: string;
191
191
  value?: string;
192
192
  } | null;
193
193
  [key: string]: any;
194
194
  }
195
195
  interface ShopContactInfoItem {
196
196
  hasImChat: boolean;
197
197
  infoTitle: string;
198
198
  typeCShopUrl?: string;
199
199
  infoDetail?: string;
200
200
  infoTelephone: string;
201
201
  infoType: string;
202
202
  }
203
203
  interface ShopBriefInfoItem {
204
204
  infoDetail: string;
205
205
  infoTitle: string;
206
206
  }
207
207
  interface ShopScoreItem {
208
208
  scoreColor: string;
209
209
  scoreNumber: string;
210
210
  scorePercent: string;
211
211
  scoreTitle: string;
212
212
  }
213
213
  export interface ShopDetailInfo {
214
214
  score?: ShopScoreItem[];
215
215
  shopContactInfo?: ShopContactInfoItem[];
216
216
  shopBriefInfo?: ShopBriefInfoItem[];
217
217
  shopStarInfo?: {
218
218
  title: string | null;
219
219
  scoreRankRateGrade: string;
220
220
  tip: string;
221
221
  descPageURL: string;
222
222
  };
223
223
  }
224
224
  export interface ShopContextValue {
225
225
  shopTotalInfo: ShopTotalInfo;
226
226
  urlQueryData?: object | null;
227
227
  oldUrlParamsToStr?: string;
228
228
  rootEleNode?: HTMLElement | null;
229
229
  updateShopFollowedStateFn: functionType;
230
230
  }
231
231
  export interface NetWorkErrorProps {
232
232
  className?: string;
233
233
  netWorkImageType?: string;
234
234
  message?: string;
235
235
  btnLabel?: string;
236
236
  subMessage?: string;
237
237
  netWorkDataType: string;
238
238
  netWorkShowType?: string;
239
239
  netWorkStyleType?: string;
240
240
  viewMaxHeight?: string;
241
241
  backgroundColorWhite?: boolean;
242
242
  refreshCallBackFn?: functionType | null;
243
243
  noPosition?: boolean;
244
244
  }
245
245
  export interface floorItemData {
246
246
  uid: string;
247
247
  floorIdx?: number;
248
248
  containerIndex?: number;
249
249
  containerId?: string;
250
250
  moduleFlag?: string;
251
251
  moduleName?: string;
252
252
  moduleAlias?: string;
253
253
  moduleId?: number;
254
254
  previewUri?: string;
255
255
  moduleType: number | string;
256
256
  sizeRule: number;
257
257
  visible: boolean;
258
258
  configEmpty?: boolean;
259
259
  floorPosition?: string;
260
260
  middleTemplateType?: string;
261
261
  middleTemplateId?: number;
262
262
  dsConfig?: any;
263
263
  jdrInfo?: any;
264
264
  floorExtInfo?: {
265
265
  moduleFlag?: string;
266
266
  moduleName?: string;
267
267
  moduleId?: number;
268
268
  currentTimeMillis?: number;
269
269
  floorHeight?: string;
270
270
  floorLoadWay?: number;
271
271
  floorKind?: number;
272
272
  transform?: boolean;
273
273
  modularPackResult?: {
274
274
  bundleUrl?: string;
275
275
  bundleFileName?: string;
276
276
  };
277
277
  shopId?: string;
278
278
  moduleDesignerType?: string;
279
279
  };
280
280
  showCommonFloorHead?: boolean;
281
281
  }
282
282
  export interface FloorInfoInterfaceResponseData {
283
283
  containers: ContainerItemData[];
284
284
  floors: floorItemData[];
285
285
  pageSet?: object;
286
286
  }
287
287
  export interface ContainerItemData {
288
288
  borderRadius: number;
289
289
  borderTopLeftRadius?: number;
290
290
  borderTopRightRadius?: number;
291
291
  borderBottomLeftRadius?: number;
292
292
  borderBottomRightRadius?: number;
293
293
  marginTop?: number;
294
294
  marginBottom?: number;
295
295
  marginLeft?: number;
296
296
  marginRight?: number;
297
297
  paddingTop?: number;
298
298
  paddingBottom?: number;
299
299
  paddingLeft?: number;
300
300
  paddingRight?: number;
301
301
  containerId: string;
302
302
  background?: string;
303
303
  containerPosition?: string;
304
304
  key?: string;
305
305
  floors: floorItemData[];
306
306
  includeUids: string[];
307
307
  typeCn: string;
308
308
  typeCode?: string;
309
309
  addLuxuryStyle?: boolean;
310
310
  addLuxuryBackupStyle?: boolean;
311
311
  renderExtendComponent?: functionType;
312
312
  insertContainerStartComponent?: functionType;
313
313
  floorExtendData?: any;
314
314
  }
315
315
  export interface FloorModuleData {
316
316
  floorIndex?: number;
317
317
  containerIndex?: number;
318
318
  floorData: floorItemData;
319
319
  children?: React.ReactElement;
320
320
  style?: {
321
321
  [key: string]: any;
322
322
  };
323
323
  layoutLeftRightMargin: number;
324
324
  containerBorderRadius?: number | { [key: string]: any };
325
325
  dataDefines?: DataDefinesItem[];
326
326
  updateShopFloorDataFn?: functionType;
327
327
  loadingEndComponentFn?: functionType;
328
328
  changeScrollTopFn?: functionType;
329
329
  changeScrollToLowerStateFn?: functionType | null;
330
330
  customerLayoutWidth?: number;
331
331
  builtInComponents?: any;
332
332
  updateContainerFloorListDataFn?: functionType;
333
333
  isRealTimeRender: boolean;
334
334
  forceRenderTime: number;
335
335
  luxuryFixed?: boolean;
336
336
  }
337
337
  export interface DecorateFloorModuleData extends FloorModuleData {
338
338
  source?: string;
339
339
  memberBaseInfo?: {
340
340
  shopId?: string;
341
341
  venderId?: string;
342
342
  channel?: string;
343
343
  venderType?: string;
344
344
  showDefaultModule?: boolean;
345
345
  customerLevel?: string;
346
346
  isUserForMember?: boolean;
347
347
  isLv0?: boolean;
348
348
  levelZeroMenuUrl?: string;
349
349
  totalRefresh?: functionType;
350
350
  callOpenCardPopPage?: functionType;
351
351
  };
352
352
  renderSourceType?: string;
353
353
  children?: any;
354
354
  extendInfoData?: object | undefined;
355
355
  updateContainerFloorListDataFn?: functionType;
356
356
  customErrorIsvFloorModule?: React.ReactElement | undefined;
357
357
  }
358
358
  export interface DecorateContainerData {
359
359
  containerIndex?: number;
360
360
  containerData?: any;
361
361
  shopTotalInfo?: any;
362
362
  selectContainerFn?: functionType;
363
363
  selectContainerId?: string;
364
364
  placeHolderPreContainerId?: string;
365
365
  children?: any;
366
366
  luxuryFixed?: boolean;
367
367
  style?: {
368
368
  [key: string]: any;
369
369
  };
370
370
  layoutLeftRightMargin?: number;
371
371
  urlQueryData?: object | any;
372
372
  }
373
373
  export interface PlaceHolderProps {
374
374
  containerId: string;
375
375
  placeHolderPreContainerId: string;
376
376
  isShowPlaceHolder?: boolean;
377
377
  }
378
378
  export interface ShopRankGradeProps {
379
379
  scoreGrade: number | string;
380
380
  className?: string;
381
381
  }
382
382
  export interface ShopRankGradeGradeArrItem {
383
383
  index: number;
384
384
  starState: string;
385
385
  }
386
386
  export interface DataDefinesItem {
387
387
  type: string;
388
388
  nodeText: {
389
389
 
390
390
  feedFlowInfo?: any;
391
391
  max?: any;
392
392
 
393
393
  data?: any;
394
394
  hotAreaHeight?: number;
395
395
  numShowPerLine?: number;
396
396
  };
397
397
  propertyName?: string;
398
398
  }
399
399
  export interface PriceProps {
400
400
  prefixCls?: string;
401
401
  className?: string;
402
402
  nativeProps?: any;
403
403
  style?: React.CSSProperties;
404
404
 
405
405
  value: string | number;
406
406
 
407
407
  symbol?: string;
408
408
 
409
409
  currencySym?: string;
410
410
 
411
411
  symPos?: string;
412
412
 
413
413
  decLength?: number;
414
414
 
415
415
  decPos?: string;
416
416
 
417
417
  status?: string;
418
418
 
419
419
  symClassName?: string;
420
420
 
421
421
  intClassName?: string;
422
422
 
423
423
  decClassName?: string;
424
424
 
425
425
  noPriceClassName?: string;
426
426
 
427
427
  decToIntegerState?: boolean;
428
428
 
429
429
  isPlusPrice?: boolean;
430
430
 
431
431
  isSamsPrice?: boolean;
432
432
 
433
433
  isSfpPrice?: boolean;
434
434
 
435
435
  isMemberPrice?: boolean;
436
436
 
437
437
  memberPriceIcon?: string;
438
438
 
439
439
  isShowPriceLabel?: boolean;
440
440
 
441
441
  priceLabelText?: string;
442
442
 
443
443
  priceTextColor;
444
444
 
445
445
  useFontV2?: boolean;
446
446
  useFontV2Bold?: boolean;
447
447
  }
448
448
  export interface rankSkuItem {
449
449
  skuId: string;
450
450
  wareId: string;
451
451
  buyedStr?: string;
452
452
  imgPath: string;
453
453
  name: string;
454
454
  wareName: string;
455
455
  commentcount?: string;
456
456
  favRateDto?: {
457
457
  commentCountStr: string;
458
458
  };
459
459
  }
460
460
  export interface rankItem {
461
461
  title: string;
462
462
  rankId?: number;
463
463
  rankSkuInfoVoList: rankSkuItem[];
464
464
  }
465
465
  export interface MiniLoadFloorListRef {
466
466
  index: number;
467
467
  itemNum: number;
468
468
  list: (floorItemData | any)[];
469
469
  loadList: (floorItemData | any)[];
470
470
  max: number;
471
471
  }
472
472
  export interface HotStyleConfig {
473
473
  wHotMobile: number;
474
474
  hHotMobile: number;
475
475
  xHotMobile: number;
476
476
  yHotMobile: number;
477
477
  }
478
478
  export interface HotData {
479
479
  data?: HotDataItem[];
480
480
  hotAreaHeight?: number;
481
481
  }
482
482
  export interface HotDataItem {
483
483
  coordinate: {
484
484
  h: number;
485
485
  w: number;
486
486
  x: number;
487
487
  y: number;
488
488
  };
489
489
  detail: {
490
490
  configDataType: number;
491
491
  configDataValue: any;
492
492
  };
493
493
  dataSourceType: number;
494
494
  jdPrice?: boolean;
495
495
  prefix: string;
496
496
  price: string;
497
497
  priceStyleConfig: any;
498
498
  showSkuPrice: number;
499
499
  priceInfoDetail?: {
500
500
  jdPrice: string;
501
501
  };
502
502
  }
503
503
  export interface CountDownProps {
504
504
  residueTime: number;
505
505
  serverTime: number;
506
506
  className?: string;
507
507
  startTime: number;
508
508
  endTime: number;
509
509
  info?: any;
510
510
  startTitleText?: string | null;
511
511
  endTitleText?: string | null;
512
512
  fromEndText?: string | null;
513
513
  startTimeEndCallBack?: functionType | null;
514
514
  endTimeEndCallBack?: functionType | null;
515
515
  timeNumSpaceTextState: boolean;
516
516
  showDaytimeNumSpaceTextState?: boolean;
517
517
  onlyShowDayState?: boolean;
518
518
  onlyShowDaySpaceTextState?: boolean;
519
519
  showDayState?: boolean;
520
520
  showDayToSecondState?: boolean;
521
521
  showHourState: boolean;
522
522
  showMinuteState: boolean;
523
523
  showSecondState: boolean;
524
524
  getDaysToHours: boolean;
525
525
  fromStartText: null | string;
526
526
  numTextColor: null | string;
527
527
  textColor: null | string;
528
528
  numTextBgColor: null | string;
529
529
  useFontV2: boolean;
530
530
  useFontV2Bold: boolean;
531
531
  useDateNowCalc?: boolean;
532
532
  }
533
533
  export interface CountDownTimerRef {
534
534
  type: string;
535
535
  text: string | null | undefined;
536
536
  time?: number | null;
537
537
  endTime?: number | null;
538
538
  }
539
539
  export interface FilterBarSearchChangeType {
540
540
  id?: string;
541
541
  inStock: boolean;
542
542
  inStockText: string;
543
543
  showJdDeliver: boolean;
544
544
  showJdDeliverText: string;
545
545
  searchDataSetState: boolean;
546
546
  }
547
547
  export interface MultipleFilterListItem {
548
548
  id?: string;
549
549
  type: number;
550
550
  value: string;
551
551
  checked: boolean;
552
552
  text: string;
553
553
  }
554
554
  export interface FilterBarProps {
555
555
  className?: string;
556
556
  showType?: string | number;
557
557
  defaultSelected?: number;
558
558
  isTriggerFilterChangeOnInit?: boolean;
559
559
  onFilterChange?: functionType | null;
560
560
  onShowTypeChange?: functionType | null;
561
561
  instockSelected?: boolean;
562
562
  pageId?: undefined | string;
563
563
  searchDescription?: undefined | string;
564
564
  searchChangeType: FilterBarSearchChangeType;
565
565
  placeholderDomRef?: HTMLElement | null;
566
566
  isFixed?: boolean;
567
567
  searchTab?: any;
568
568
  useNewMultiple?: boolean;
569
569
  }
570
570
  export interface FilterRadioItemProps {
571
571
  filterType?: number;
572
572
  label: string;
573
573
  className: string;
574
574
  icon: boolean;
575
575
  onToggleChange?: functionType;
576
576
  onSelected: functionType;
577
577
  selected: boolean;
578
578
  type: string;
579
579
  switchOn: boolean;
580
580
  }
581
581
  export interface ShopNavBarScrollXOffsetRef {
582
582
  [key: number]: number;
583
583
  tabListPosResList?: number;
584
584
  }
585
585
  export interface SearchHotKeyWord {
586
586
  [key: string]: string;
587
587
  }
588
588
  export interface ProductWithFilterProps {
589
589
  className?: string;
590
590
  listClassName?: string;
591
591
  gridListClassName?: string;
592
592
  filterBarEnabled?: boolean;
593
593
  height: number;
594
594
  minHeight: number;
595
595
  keyWord: string;
596
596
  defaultKeyWord: string;
597
597
  totalHeight: number;
598
598
  defaultShowType?: undefined | string | number;
599
599
  showType?: undefined | string | number;
600
600
  showTypeChangeDisable: boolean;
601
601
  searchType: string | number;
602
602
  loadState: string | number;
603
603
  skuId?: string | number;
604
604
  cateId?: undefined | string;
605
605
  pageId?: undefined | string;
606
606
  activityId?: undefined | string;
607
607
  activityType?: undefined | string;
608
608
  searchDescription?: undefined | string;
609
609
  useOutsideScrollView: boolean;
610
610
  extraParam: object;
611
611
  pageJumpParam?: object;
612
612
  enableEventUpdate?: boolean;
613
613
  showFilterBarSecondary?: boolean;
614
614
  showEmptyFloorTip?: boolean;
615
615
  displayHeight: number;
616
616
  toTop: boolean;
617
617
  tabContentShowState?: boolean;
618
618
  scrollToLowerState?: boolean;
619
619
  changeScrollToLowerStateFn?: functionType;
620
620
  changeProductWithFilterStateFn?: functionType;
621
621
  fetchProductsFun?: functionType;
622
622
  }
623
623
  export interface ShopMenuListItem {
624
624
  menuId: number;
625
625
  menuName: string;
626
626
  menuType?: string;
627
627
  icon?: string;
628
628
  text?: string;
629
629
  config?: object;
630
630
  subMenu?: any[];
631
631
  }
632
632
  export interface VipShopMenuListItem {
633
633
  menuId: number | string;
634
634
  menuName: string;
635
635
  iconAfter: string;
636
636
  iconBefore: string;
637
637
  jumpUrl: string;
638
638
  visible: boolean;
639
639
  }
640
640
  export interface DialogConfigBackFn {
641
641
  onClose?: functionType;
642
642
  onBeforeConfirm?: functionType;
643
643
  onConfirm?: functionType;
644
644
  onBackground?: functionType;
645
645
  onHide?: functionType;
646
646
  onInit?: functionType;
647
647
  onFormSubmit?: functionType;
648
648
  onFormReset?: functionType;
649
649
  }
650
650
  export interface DialogConfigProps extends DialogConfigBackFn {
651
651
  type: number;
652
652
  className?: string;
653
653
  style?: React.CSSProperties;
654
654
  title?: string;
655
655
  message?: string | null;
656
656
  closeBtnText?: string;
657
657
  closeBtnHideState?: boolean;
658
658
  confirmBtnText?: string;
659
659
  confirmBtnHideState?: boolean;
660
660
  hasFooter?: boolean;
661
661
  bodyNode?: React.ReactNode | null;
662
662
  footerNode?: React.ReactNode;
663
663
  show?: boolean;
664
664
  isCustom?: boolean;
665
665
  maskCloseable?: boolean;
666
666
  isFormDialog?: boolean;
667
667
  dialogTransition?: string;
668
668
  maskTransition?: string;
669
669
  usePortal?: boolean;
670
670
  forbiddenBgScrollState?: boolean;
671
671
  }
672
672
  export interface ActivityTabFullData {
673
673
  sortOrderFloorMapList: string[];
674
674
  serverTimeRes: number;
675
675
  loadingDataFinishState: boolean;
676
676
  secKillPage?: {
677
677
  [key: string]: string;
678
678
  };
679
679
  gwredPage?: {
680
680
  [key: string]: string;
681
681
  };
682
682
  orderFloorMap?: {
683
683
  [key: string]: string;
684
684
  };
685
685
  promotionFloorInfo?: {
686
686
  [key: string]: string;
687
687
  };
688
688
  shopSalePage?: {
689
689
  [key: string]: string;
690
690
  };
691
691
  signInfo?: {
692
692
  [key: string]: string;
693
693
  };
694
694
  speciSecKillPage?: {
695
695
  [key: string]: string;
696
696
  };
697
697
  couponInfos?: any[];
698
698
  }
699
699
  export interface PromotionTabData {
700
700
  loadingDataFinishState: boolean;
701
701
  hasGoodsFeeds: boolean;
702
702
  list: ContainerItemData[];
703
703
  }
704
704
  export interface NewWareInfoData {
705
705
  hasReady: boolean;
706
706
  hasNext: boolean;
707
707
  pageIdx: number;
708
708
  newWareList: {
709
709
  date: number;
710
710
  title: string;
711
711
  wareList: any[];
712
712
  }[];
713
713
  totalPage: number;
714
714
  totalCount: number;
715
715
  magicTabs: any[];
716
716
  videoTabs: any[];
717
717
  extend: null | {
718
718
  background: string;
719
719
  backgroundType: null;
720
720
  newProductList: any[];
721
721
  newProductSubTitle: string;
722
722
  };
723
723
  serialNew: {
724
724
  compName: string;
725
725
  firstText: string;
726
726
  headerImg: string;
727
727
  secText: string;
728
728
  serialUrl: string;
729
729
  skuInfoList: any[];
730
730
  }[];
731
731
  preferredGoods: null | {
732
732
  headerTitle: string;
733
733
  headerTagImg: null;
734
734
  itemList: any[];
735
735
  };
736
736
  }
737
737
  export interface ActivitySignInfo {
738
738
  source: number;
739
739
  isvUrl?: string;
740
740
  isvText?: string;
741
741
  isvImgUrl?: string;
742
742
  signImageUrl?: string;
743
743
  }
744
744
  export interface ShopLotteryInfo {
745
745
  signInfo: {
746
746
  activityRuleType: number;
747
747
  continueDay: number;
748
748
  isSign: number;
749
749
  signTotal: number;
750
750
  };
751
751
  winInfo: string[];
752
752
  tabNames: string[];
753
753
  lotteryTabMenuList: ShopLotteryTabMenuListItem[];
754
754
  products?: ShopLotteryProductItem[];
755
755
  }
756
756
  export interface ShopLotteryTabMenuListItem {
757
757
  id: number;
758
758
  name: string;
759
759
  type: string;
760
760
  }
761
761
  export interface ShopLotteryProductItem {
762
762
  wareId: string;
763
763
  imgPath: string;
764
764
  wareName: string;
765
765
  jdPrice: string;
766
766
  promotion: boolean;
767
767
  flashSale: number;
768
768
  status: number;
769
769
  isUnderCarriage: number;
770
770
  stock: number;
771
771
  addCart: boolean;
772
772
  addCartAbTest: boolean;
773
773
  preSale: boolean;
774
774
  emptyJDPrice: boolean;
775
775
  emptyPrice: boolean;
776
776
  }
777
777
  export interface ShopCouponListItem {
778
778
  couponId: number;
779
779
  type: number;
780
780
  couponName?: string;
781
781
  name?: string;
782
782
  beginTime: string;
783
783
  endTime: string;
784
784
  discount: number;
785
785
  quota: number;
786
786
  style: number;
787
787
  crmCoupon: boolean;
788
788
  applicability: boolean;
789
789
  act: string;
790
790
  bindType: number;
791
791
  isfansCoupon: boolean;
792
792
  couponSource: string;
793
793
  couponSourceDetail: string;
794
794
  channel: string;
795
795
  subChannel: string;
796
796
  couponStatus?: number;
797
797
  channelDetail?: string;
798
798
  minDiscount?: string | number;
799
799
  maxDiscount?: string | number;
800
800
  biinfo?: string;
801
801
  skus?: string;
802
802
  foldSpread?: boolean;
803
803
  couponFaceDescription?: string;
804
804
  appid?: string;
805
805
  platformid?: string;
806
806
  }
807
807
  export interface ShopProWaresListItem {
808
808
  wareId: number;
809
809
  wareImage: string;
810
810
  wareName: string;
811
811
  jdPrice: string;
812
812
  lineationPrice?: string;
813
813
  isPreSale: boolean;
814
814
  purchasePrice?: string;
815
815
  }
816
816
  export interface ShopPromotionWaresListInfo {
817
817
  hasNext: boolean;
818
818
  pageIdx: number;
819
819
  pageSize: number;
820
820
  skuList: ShopProWaresListItem[];
821
821
  totalSize: number;
822
822
  activityIntensity?: string;
823
823
  }
824
824
  export interface GuideInfoWaresListItem {
825
825
  wareId: number | string;
826
826
  imgPath: string;
827
827
  wareName: string;
828
828
  jdPrice: string;
829
829
  priceInfo?: PriceInfo;
830
830
  spPrice?: string;
831
831
  ppPrice?: string;
832
832
  }
833
833
  export interface GuideInfoWaresListInfo {
834
834
  hasNext: boolean;
835
835
  pageIdx: number;
836
836
  pageSize: number;
837
837
  wareList: GuideInfoWaresListItem[];
838
838
  totalSize: number;
839
839
  guideText: string;
840
840
  standbyText: string;
841
841
  testId: string;
842
842
  totalCount: number;
843
843
  totalPage: number;
844
844
  }
845
845
  export interface ShopVideosListItem {
846
846
  cmtid: string;
847
847
  content: string;
848
848
  days: string;
849
849
  height: string;
850
850
  openApp: string;
851
851
  playUrl: string;
852
852
  projectid: string;
853
853
  skuId: string;
854
854
  skuPic: string;
855
855
  videoCoverUrl: string;
856
856
  videoNum: string;
857
857
  width: string;
858
858
  }
859
859
  export interface ShopVideosListInfo {
860
860
  hasNext: boolean;
861
861
  pageIdx: number;
862
862
  pageSize: number;
863
863
  videoList: ShopVideosListItem[];
864
864
  videoEvenList: ShopVideosListItem[];
865
865
  videoOddList: ShopVideosListItem[];
866
866
  totalPage: number;
867
867
  videoItemWh: number;
868
868
  }
869
869
  export interface ShopMoreGoodsListInfo {
870
870
  hasNext: boolean;
871
871
  pageIdx: number;
872
872
  pageSize: number;
873
873
  wareList: ShopMoreGoodsListItem[];
874
874
  totalPage: number;
875
875
  }
876
876
  export interface ShopMoreGoodsListItem {
877
877
  wareId: number;
878
878
  imgPath: string;
879
879
  wareName: string;
880
880
  skVersionInfo: {};
881
881
  shareInfo: {
882
882
  title: string;
883
883
  content: string;
884
884
  url: string;
885
885
  img: string;
886
886
  };
887
887
  }
888
888
  export interface ShopFastShoppingSkuListItem {
889
889
  actId: number;
890
890
  displayTime: string;
891
891
  endTime: string;
892
892
  jgys: string;
893
893
  jdPrice?: string;
894
894
  redPrice: string;
895
895
  skuId: number;
896
896
  skuImg: string;
897
897
  skuName: string;
898
898
  soldOut: number;
899
899
  start: string | number;
900
900
  startTime: string;
901
901
  }
902
902
  export interface ShopFastShoppingSkuListInfo {
903
903
  nextPage: boolean;
904
904
  data: ShopFastShoppingSkuListItem[];
905
905
  total: number;
906
906
  serverTime?: number;
907
907
  displayTime?: string;
908
908
  startTime?: string;
909
909
  endTime?: string;
910
910
  }
911
911
  export interface ShopSpeciSecKillSkuListItem {
912
912
  displayTime: string;
913
913
  endTime: string;
914
914
  jdPrice?: string;
915
915
  miaoShaPrice: string;
916
916
  skuId: number;
917
917
  imageUrl: string;
918
918
  skuName: string;
919
919
  discountReason: string;
920
920
  operateWord: string;
921
921
  promotionId: string;
922
922
  seckillNum: string;
923
923
  soldOut: number;
924
924
  source: number;
925
925
  seckillType: number;
926
926
  start: string | number;
927
927
  startTime: string;
928
928
  }
929
929
  export interface ShopSpeciSecKillSkuListInfo {
930
930
  nextPage: boolean;
931
931
  data: ShopSpeciSecKillSkuListItem[];
932
932
  total: number;
933
933
  }
934
934
  export interface CategoryList {
935
935
  showType: number;
936
936
  insurancePriceSuffix?: string;
937
937
  hasCateList: boolean;
938
938
  wareInfoList: any;
939
939
  }
940
940
  export interface DecorationDataList {
941
941
  parentId: string;
942
942
  navigationDecorationData: any;
943
943
  index: number;
944
944
  }
945
945
  export interface ShopSignActivityRuleInfo {
946
946
  data: {
947
947
  activityDescription: string;
948
948
  activityTime: string;
949
949
  awardName: string;
950
950
  awardDescription: string[];
951
951
  } | null;
952
952
  loadState: boolean;
953
953
  }
954
954
  export interface ShopSignPrizeListItem {
955
955
  type: number;
956
956
  loadState: boolean;
957
957
  activeState: boolean;
958
958
  list: any[];
959
959
  expireList: any[];
960
960
  name: string;
961
961
  }
962
962
  export interface ShopSignPrizeListInfo {
963
963
  loadState: boolean;
964
964
  signPrizeList: ShopSignPrizeListItem[] | any[];
965
965
  }
966
966
  export interface VipShopHeader {
967
967
  current?: {
968
968
  className?: string;
969
969
  } | null;
970
970
  [key: string]: any;
971
971
  }
972
972
  export interface BuyerShowTabListInfoData {
973
973
  finishState: boolean;
974
974
  loadingDataFinishState: boolean;
975
975
  list: any[];
976
976
  evenList: any[];
977
977
  oddList: any[];
978
978
  }
979
979
  interface BuyerShowInfoImageItem {
980
980
  largePicURL: string;
981
981
  mediaType: string;
982
982
  picHeight: string;
983
983
  picURL: string;
984
984
  picWidth: string;
985
985
  }
986
986
  export interface BuyerShowInfoData {
987
987
  category: string;
988
988
  commentData: string;
989
989
  commentId: string;
990
990
  commentType: string;
991
991
  createdDate: string;
992
992
  guid: string;
993
993
  hadPraise: boolean;
994
994
  imageInfoList: BuyerShowInfoImageItem[];
995
995
  oldCommentId: string;
996
996
  praiseCnt: string;
997
997
  praiseCntNum: number;
998
998
  praiseUsable: boolean;
999
999
  resourceType: number;
1000
1000
  skuImgUrl: string;
1001
1001
  skuName: string;
1002
1002
  skuPrice: string;
1003
1003
  source: string;
1004
1004
  userImgURL: string;
1005
1005
  userLevel: null | string;
1006
1006
  userNickName: string;
1007
1007
  userPin: null | string;
1008
1008
  wareId: string;
1009
1009
  detailImageLoadState?: boolean;
1010
1010
  }
1011
1011
  export interface RecommendShopGuidListItem {
1012
1012
  followed: boolean;
1013
1013
  followerCount: number;
1014
1014
  longLogoStatus: number;
1015
1015
  recommendGoods: {
1016
1016
  imgUrl: string;
1017
1017
  wareId: string;
1018
1018
  wareName: string;
1019
1019
  }[];
1020
1020
  shopBanner: string;
1021
1021
  shopId: string;
1022
1022
  shopLogoImg: string;
1023
1023
  shopName: string;
1024
1024
  venderType: number;
1025
1025
  vendorId: string;
1026
1026
  }
1027
1027
 
1028
1028
  export interface InOrOutViewObserverProps {
1029
1029
  children?: React.ReactElement;
1030
1030
  className?: string;
1031
1031
 
1032
1032
  style?: object;
1033
1033
 
1034
1034
  threshold?: number;
1035
1035
 
1036
1036
  inViewCallback?: functionType;
1037
1037
 
1038
1038
  outViewCallback?: functionType;
1039
1039
  }
1040
1040
 
1041
1041
  export interface CustomVideoProps {
1042
1042
  isSystemVideo?: boolean;
1043
1043
  id?: string;
1044
1044
  className?: string;
1045
1045
 
1046
1046
  style?: object;
1047
1047
 
1048
1048
  videoStyle?: object;
1049
1049
 
1050
1050
  src: string;
1051
1051
 
1052
1052
  width?: string | number;
1053
1053
 
1054
1054
  height?: string | number;
1055
1055
 
1056
1056
  poster?: string;
1057
1057
 
1058
1058
  controls?: boolean;
1059
1059
 
1060
1060
  autoplay?: boolean;
1061
1061
 
1062
1062
  mockAutoplay?: boolean;
1063
1063
 
1064
1064
  loop?: boolean;
1065
1065
 
1066
1066
  showMuteBtn?: boolean;
1067
1067
 
1068
1068
  muteButtonPostion?: keyof MuteButtonPostion;
1069
1069
 
1070
1070
  muteBtnPicSrcObj?: muteBtnPicObj;
1071
1071
 
1072
1072
  muteBtnClassName?: string;
1073
1073
 
1074
1074
  muteBtnStyle?: object;
1075
1075
 
1076
1076
  showFullscreenBtn?: boolean;
1077
1077
 
1078
1078
  showCenterPlayBtn?: boolean;
1079
1079
 
1080
1080
  objectFit?: keyof ObjectFit;
1081
1081
 
1082
1082
  threshold?: number;
1083
1083
 
1084
1084
  onPlayCallback?: any;
1085
1085
 
1086
1086
  onPauseCallback?: any;
1087
1087
 
1088
1088
  onVideoApiCall?: functionType;
1089
1089
 
1090
1090
  inViewCallback?: functionType;
1091
1091
 
1092
1092
  outViewCallback?: functionType;
1093
1093
  floorData: floorItemData;
1094
1094
  }
1095
1095
 
1096
1096
  interface muteBtnPicObj {
1097
1097
  IS_MUTED: string;
1098
1098
  NOT_MUTED: string;
1099
1099
  }
1100
1100
 
1101
1101
  interface MuteButtonPostion {
1102
1102
  topLeft;
1103
1103
  topRight;
1104
1104
  bottomLeft;
1105
1105
  bottomRight;
1106
1106
  }
1107
1107
 
1108
1108
  interface ObjectFit {
1109
1109
 
1110
1110
  contain;
1111
1111
 
1112
1112
  fill;
1113
1113
 
1114
1114
  cover;
1115
1115
  }
1116
1116
  interface SkuItem {
1117
1117
  id: number;
1118
1118
  name: string;
1119
1119
  imgMain: string;
1120
1120
  suggested: number;
1121
1121
  rankUrl: string;
1122
1122
  }
1123
1123
  export interface RankV1Item {
1124
1124
  id: number;
1125
1125
  type: number;
1126
1126
  rankUrl: string;
1127
1127
  title: string;
1128
1128
  hotPoint: string;
1129
1129
  skuCount: number;
1130
1130
  skuList: SkuItem[];
1131
1131
  }
1132
1132
  interface PriceInfo {
1133
1133
  jdPrice: string;
1134
1134
  finalPrice: string;
1135
1135
  priceText: string;
1136
1136
  priceType: number;
1137
1137
  hiddenPrice: boolean;
1138
1138
  isAuctionWare: boolean;
1139
1139
  isPinGouWare: boolean;
1140
1140
  showPromotionList: boolean;
1141
1141
  hitUserIdentity: boolean;
1142
1142
  }
1143
1143
  interface SkVersionInfo {
1144
1144
  priceInfo: PriceInfo;
1145
1145
  }
1146
1146
  export interface ProductItem {
1147
1147
  id: number;
1148
1148
  name: string;
1149
1149
  imgMain: string;
1150
1150
  priceJD: string;
1151
1151
  sellPoint: string;
1152
1152
  sellCount: number;
1153
1153
  sellCountDesc: string;
1154
1154
  rankDesc: string;
1155
1155
  suggested: number;
1156
1156
  skVersionInfo: SkVersionInfo;
1157
1157
  }