@conecli/cone-render 0.10.1-shop3.8 → 0.10.1-shop3.80

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 (109) 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 +0 -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.ts +1 -1
  17. package/dist/components/ErrorBoundary.tsx +1 -1
  18. package/dist/components/base/CommonFloorHead/index.tsx +1 -1
  19. package/dist/components/base/CountDown/index.tsx +1 -1
  20. package/dist/components/base/CustomScrollView/index.tsx +1 -1
  21. package/dist/components/base/CustomVideo/index.tsx +1 -1
  22. package/dist/components/base/CustomVideo/index.weapp.tsx +1 -0
  23. package/dist/components/base/ExposureSmart/index.h5.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.weapp.tsx +1 -0
  30. package/dist/components/base/NetworkDataError/const.ts +1 -1
  31. package/dist/components/base/NetworkDataError/index.module.scss +118 -72
  32. package/dist/components/base/NetworkDataError/index.tsx +1 -1
  33. package/dist/components/base/Price/Base/index.module.scss +12 -0
  34. package/dist/components/base/Price/Base/index.tsx +1 -1
  35. package/dist/components/base/Price/Double/index.module.scss +24 -0
  36. package/dist/components/base/Price/Double/index.tsx +1 -1
  37. package/dist/components/base/ShopLeGaoTag/index.h5.module.scss +35 -0
  38. package/dist/components/base/ShopLeGaoTag/index.h5.tsx +1 -0
  39. package/dist/components/base/ShopLeGaoTag/index.module.scss +33 -0
  40. package/dist/components/base/ShopLeGaoTag/index.tsx +1 -0
  41. package/dist/components/debug/DebugLayout/index.module.scss +2 -2
  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/interface/common.ts +1 -1
  46. package/dist/interface/component.ts +1 -1
  47. package/dist/interface/jumpEventReport.ts +1 -1
  48. package/dist/interface/service.ts +1 -1
  49. package/dist/jumpEventReport/base.ts +1 -1
  50. package/dist/jumpEventReport/const.ts +1 -1
  51. package/dist/jumpEventReport/createReportFloorData.ts +1 -1
  52. package/dist/jumpEventReport/index.h5.ts +1 -1
  53. package/dist/jumpEventReport/index.jd.ts +1 -1
  54. package/dist/jumpEventReport/index.weapp.ts +1 -1
  55. package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
  56. package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
  57. package/dist/jumpEventReport/logEventConfig.h5.ts +1 -0
  58. package/dist/jumpEventReport/logEventConfig.ts +1 -1
  59. package/dist/jumpEventReport/web/report.ts +1 -1
  60. package/dist/jumpEventReport/web.base.ts +1 -1
  61. package/dist/jumpEventReport/web.jd.ts +1 -1
  62. package/dist/jumpEventReport/web.pc.ts +1 -1
  63. package/dist/jumpEventReport/web.tjm.ts +1 -1
  64. package/dist/jumpEventReport/web.wxapp.ts +1 -1
  65. package/dist/language/en_US.json +274 -0
  66. package/dist/language/zh_CN.json +274 -0
  67. package/dist/language/zh_HK.json +274 -0
  68. package/dist/libs/openShopBridge.js +161 -0
  69. package/dist/libs/openShopBridge.min.js +1 -0
  70. package/dist/libs/taroAppReport.js +2 -2
  71. package/dist/modules/ContainerFloorList/index.h5.module.scss +16 -2
  72. package/dist/modules/ContainerFloorList/index.h5.tsx +1 -1
  73. package/dist/modules/ContainerFloorList/index.tsx +1 -1
  74. package/dist/modules/DecorateContainerFloorList/index.weapp.tsx +1 -0
  75. package/dist/open/api/environment.ts +1 -1
  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 +27 -1
  83. package/dist/service/fetchGateway.ts +1 -1
  84. package/dist/service/fetchGateway.weapp.ts +1 -1
  85. package/dist/service/fetchJsonp.weapp.ts +1 -0
  86. package/dist/service/http/const.ts +1 -1
  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.ts +1 -0
  100. package/dist/utils/log.ts +1 -0
  101. package/dist/utils/{sColor.js → sColor.ts} +1 -1
  102. package/dist/utils/sColor.weapp.ts +1 -0
  103. package/dist/utils/utils.ts +1 -1
  104. package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
  105. package/dist/wxapp/common/user_info.js +1 -1
  106. package/package.json +162 -141
  107. package/dist/jumpEventReport/web/wqshop.report.ts +0 -1
  108. package/dist/utils/priceUtils.js +0 -1
  109. /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
  renderSourceType?: string;
340
340
  children?: any;
341
341
  extendInfoData?: object | undefined;
342
342
  updateContainerFloorListDataFn?: functionType;
343
343
  customErrorIsvFloorModule?: React.ReactElement | undefined;
344
344
  }
345
345
  export interface DecorateContainerData {
346
346
  containerIndex?: number;
347
347
  containerData?: any;
348
348
  shopTotalInfo?: any;
349
349
  selectContainerFn?: functionType;
350
350
  selectContainerId?: string;
351
351
  placeHolderPreContainerId?: string;
352
352
  children?: any;
353
353
  luxuryFixed?: boolean;
354
354
  style?: {
355
355
  [key: string]: any;
356
356
  };
357
357
  layoutLeftRightMargin?: number;
358
358
  urlQueryData?: object | any;
359
359
  }
360
360
  export interface PlaceHolderProps {
361
361
  containerId: string;
362
362
  placeHolderPreContainerId: string;
363
363
  isShowPlaceHolder?: boolean;
364
364
  }
365
365
  export interface ShopRankGradeProps {
366
366
  scoreGrade: number | string;
367
367
  className?: string;
368
368
  }
369
369
  export interface ShopRankGradeGradeArrItem {
370
370
  index: number;
371
371
  starState: string;
372
372
  }
373
373
  export interface DataDefinesItem {
374
374
  type: string;
375
375
  nodeText: {
376
376
 
377
377
  feedFlowInfo?: any;
378
378
  max?: any;
379
379
 
380
380
  data?: any;
381
381
  hotAreaHeight?: number;
382
382
  numShowPerLine?: number;
383
383
  };
384
384
  propertyName?: string;
385
385
  }
386
386
  export interface PriceProps {
387
387
  prefixCls?: string;
388
388
  className?: string;
389
389
  style?: React.CSSProperties;
390
390
 
391
391
  value: string | number;
392
392
 
393
393
  symbol?: string;
394
394
 
395
395
  currencySym?: string;
396
396
 
397
397
  symPos?: string;
398
398
 
399
399
  decLength?: number;
400
400
 
401
401
  decPos?: string;
402
402
 
403
403
  status?: string;
404
404
 
405
405
  symClassName?: string;
406
406
 
407
407
  intClassName?: string;
408
408
 
409
409
  decClassName?: string;
410
410
 
411
411
  noPriceClassName?: string;
412
412
 
413
413
  decToIntegerState?: boolean;
414
414
 
415
415
  isPlusPrice?: boolean;
416
416
 
417
417
  isSamsPrice?: boolean;
418
418
 
419
419
  isSfpPrice?: boolean;
420
420
 
421
421
  isMemberPrice?: boolean;
422
422
 
423
423
  memberPriceIcon?: string;
424
424
 
425
425
  isShowPriceLabel?: boolean;
426
426
 
427
427
  priceLabelText?: string;
428
428
 
429
429
  priceTextColor;
430
430
 
431
431
  useFontV2?: boolean;
432
432
  useFontV2Bold?: boolean;
433
433
  }
434
434
  export interface rankSkuItem {
435
435
  skuId: string;
436
436
  wareId: string;
437
437
  buyedStr?: string;
438
438
  imgPath: string;
439
439
  name: string;
440
440
  wareName: string;
441
441
  commentcount?: string;
442
442
  favRateDto?: {
443
443
  commentCountStr: string;
444
444
  };
445
445
  }
446
446
  export interface rankItem {
447
447
  title: string;
448
448
  rankId?: number;
449
449
  rankSkuInfoVoList: rankSkuItem[];
450
450
  }
451
451
  export interface MiniLoadFloorListRef {
452
452
  index: number;
453
453
  itemNum: number;
454
454
  list: (floorItemData | any)[];
455
455
  loadList: (floorItemData | any)[];
456
456
  max: number;
457
457
  }
458
458
  export interface HotStyleConfig {
459
459
  wHotMobile: number;
460
460
  hHotMobile: number;
461
461
  xHotMobile: number;
462
462
  yHotMobile: number;
463
463
  }
464
464
  export interface HotData {
465
465
  data?: HotDataItem[];
466
466
  hotAreaHeight?: number;
467
467
  }
468
468
  export interface HotDataItem {
469
469
  coordinate: {
470
470
  h: number;
471
471
  w: number;
472
472
  x: number;
473
473
  y: number;
474
474
  };
475
475
  detail: {
476
476
  configDataType: number;
477
477
  configDataValue: any;
478
478
  };
479
479
  dataSourceType: number;
480
480
  jdPrice?: boolean;
481
481
  prefix: string;
482
482
  price: string;
483
483
  priceStyleConfig: any;
484
484
  showSkuPrice: number;
485
485
  priceInfoDetail?: {
486
486
  jdPrice: string;
487
487
  };
488
488
  }
489
489
  export interface CountDownProps {
490
490
  residueTime: number;
491
491
  serverTime: number;
492
492
  className?: string;
493
493
  startTime: number;
494
494
  endTime: number;
495
495
  info?: any;
496
496
  startTitleText?: string | null;
497
497
  endTitleText?: string | null;
498
498
  fromEndText?: string | null;
499
499
  startTimeEndCallBack?: functionType | null;
500
500
  endTimeEndCallBack?: functionType | null;
501
501
  timeNumSpaceTextState: boolean;
502
502
  showDaytimeNumSpaceTextState?: boolean;
503
503
  onlyShowDayState?: boolean;
504
504
  onlyShowDaySpaceTextState?: boolean;
505
505
  showDayState?: boolean;
506
506
  showDayToSecondState?: boolean;
507
507
  showHourState: boolean;
508
508
  showMinuteState: boolean;
509
509
  showSecondState: boolean;
510
510
  getDaysToHours: boolean;
511
511
  fromStartText: null | string;
512
512
  numTextColor: null | string;
513
513
  textColor: null | string;
514
514
  numTextBgColor: null | string;
515
515
  useFontV2: boolean;
516
516
  useFontV2Bold: boolean;
517
517
  }
518
518
  export interface CountDownTimerRef {
519
519
  type: string;
520
520
  text: string | null | undefined;
521
521
  time?: number | null;
522
522
  endTime?: number | null;
523
523
  }
524
524
  export interface FilterBarSearchChangeType {
525
525
  id?: string;
526
526
  inStock: boolean;
527
527
  inStockText: string;
528
528
  showJdDeliver: boolean;
529
529
  showJdDeliverText: string;
530
530
  searchDataSetState: boolean;
531
531
  }
532
532
  export interface MultipleFilterListItem {
533
533
  id?: string;
534
534
  type: number;
535
535
  value: string;
536
536
  checked: boolean;
537
537
  text: string;
538
538
  }
539
539
  export interface FilterBarProps {
540
540
  className?: string;
541
541
  defaultShowType?: string | number;
542
542
  defaultSelected?: number;
543
543
  isTriggerFilterChangeOnInit?: boolean;
544
544
  onFilterChange?: functionType | null;
545
545
  onShowTypeChange?: functionType | null;
546
546
  instockSelected?: boolean;
547
547
  pageId?: undefined | string;
548
548
  searchDescription?: undefined | string;
549
549
  searchChangeType: FilterBarSearchChangeType;
550
550
  }
551
551
  export interface FilterRadioItemProps {
552
552
  filterType?: number;
553
553
  label: string;
554
554
  className: string;
555
555
  icon: boolean;
556
556
  onToggleChange?: functionType;
557
557
  onSelected: functionType;
558
558
  selected: boolean;
559
559
  type: string;
560
560
  switchOn: boolean;
561
561
  }
562
562
  export interface ShopNavBarScrollXOffsetRef {
563
563
  [key: number]: number;
564
564
  tabListPosResList?: number;
565
565
  }
566
566
  export interface SearchHotKeyWord {
567
567
  [key: string]: string;
568
568
  }
569
569
  export interface ProductWithFilterProps {
570
570
  listClassName?: string;
571
571
  filterBarEnabled?: boolean;
572
572
  keyWord: string;
573
573
  defaultKeyWord: string;
574
574
  totalHeight: number;
575
575
  defaultShowType?: undefined | string | number;
576
576
  searchType: string | number;
577
577
  skuId?: string | number;
578
578
  cateId?: undefined | string;
579
579
  pageId?: undefined | string;
580
580
  searchDescription?: undefined | string;
581
581
  useOutsideScrollView: boolean;
582
582
  extraParam: object;
583
583
  pageJumpParam?: object;
584
584
  enableEventUpdate?: boolean;
585
585
  showFilterBarSecondary?: boolean;
586
586
  displayHeight: number;
587
587
  toTop: boolean;
588
588
  tabContentShowState?: boolean;
589
589
  scrollToLowerState?: boolean;
590
590
  changeScrollToLowerStateFn?: functionType;
591
591
  changeProductWithFilterStateFn?: functionType;
592
592
  }
593
593
  export interface ShopMenuListItem {
594
594
  menuId: number;
595
595
  menuName: string;
596
596
  menuType?: string;
597
597
  icon?: string;
598
598
  text?: string;
599
599
  config?: object;
600
600
  subMenu?: any[];
601
601
  }
602
602
  export interface VipShopMenuListItem {
603
603
  menuId: number | string;
604
604
  menuName: string;
605
605
  iconAfter: string;
606
606
  iconBefore: string;
607
607
  jumpUrl: string;
608
608
  visible: boolean;
609
609
  }
610
610
  export interface DialogConfigBackFn {
611
611
  onClose?: functionType;
612
612
  onBeforeConfirm?: functionType;
613
613
  onConfirm?: functionType;
614
614
  onBackground?: functionType;
615
615
  onHide?: functionType;
616
616
  onInit?: functionType;
617
617
  onFormSubmit?: functionType;
618
618
  onFormReset?: functionType;
619
619
  }
620
620
  export interface DialogConfigProps extends DialogConfigBackFn {
621
621
  type: number;
622
622
  className?: string;
623
623
  style?: React.CSSProperties;
624
624
  title?: string;
625
625
  message?: string | null;
626
626
  closeBtnText?: string;
627
627
  closeBtnHideState?: boolean;
628
628
  confirmBtnText?: string;
629
629
  confirmBtnHideState?: boolean;
630
630
  hasFooter?: boolean;
631
631
  bodyNode?: React.ReactNode | null;
632
632
  footerNode?: React.ReactNode;
633
633
  show?: boolean;
634
634
  isCustom?: boolean;
635
635
  maskCloseable?: boolean;
636
636
  isFormDialog?: boolean;
637
637
  dialogTransition?: string;
638
638
  maskTransition?: string;
639
639
  usePortal?: boolean;
640
640
  forbiddenBgScrollState?: boolean;
641
641
  }
642
642
  export interface ActivityTabFullData {
643
643
  sortOrderFloorMapList: string[];
644
644
  serverTimeRes: number;
645
645
  loadingDataFinishState: boolean;
646
646
  secKillPage?: {
647
647
  [key: string]: string;
648
648
  };
649
649
  gwredPage?: {
650
650
  [key: string]: string;
651
651
  };
652
652
  orderFloorMap?: {
653
653
  [key: string]: string;
654
654
  };
655
655
  promotionFloorInfo?: {
656
656
  [key: string]: string;
657
657
  };
658
658
  shopSalePage?: {
659
659
  [key: string]: string;
660
660
  };
661
661
  signInfo?: {
662
662
  [key: string]: string;
663
663
  };
664
664
  speciSecKillPage?: {
665
665
  [key: string]: string;
666
666
  };
667
667
  couponInfos?: any[];
668
668
  }
669
669
  export interface PromotionTabData {
670
670
  loadingDataFinishState: boolean;
671
671
  hasGoodsFeeds: boolean;
672
672
  list: ContainerItemData[];
673
673
  }
674
674
  export interface NewWareInfoData {
675
675
  hasReady: boolean;
676
676
  hasNext: boolean;
677
677
  pageIdx: number;
678
678
  newWareList: {
679
679
  date: number;
680
680
  title: string;
681
681
  wareList: any[];
682
682
  }[];
683
683
  totalPage: number;
684
684
  totalCount: number;
685
685
  magicTabs: any[];
686
686
  videoTabs: any[];
687
687
  extend: null | {
688
688
  background: string;
689
689
  backgroundType: null;
690
690
  newProductList: any[];
691
691
  newProductSubTitle: string;
692
692
  };
693
693
  serialNew: {
694
694
  compName: string;
695
695
  firstText: string;
696
696
  headerImg: string;
697
697
  secText: string;
698
698
  serialUrl: string;
699
699
  skuInfoList: any[];
700
700
  }[];
701
701
  preferredGoods: null | {
702
702
  headerTitle: string;
703
703
  headerTagImg: null;
704
704
  itemList: any[];
705
705
  };
706
706
  }
707
707
  export interface ActivitySignInfo {
708
708
  source: number;
709
709
  isvUrl?: string;
710
710
  isvText?: string;
711
711
  isvImgUrl?: string;
712
712
  signImageUrl?: string;
713
713
  }
714
714
  export interface ShopLotteryInfo {
715
715
  signInfo: {
716
716
  activityRuleType: number;
717
717
  continueDay: number;
718
718
  isSign: number;
719
719
  signTotal: number;
720
720
  };
721
721
  winInfo: string[];
722
722
  tabNames: string[];
723
723
  lotteryTabMenuList: ShopLotteryTabMenuListItem[];
724
724
  products?: ShopLotteryProductItem[];
725
725
  }
726
726
  export interface ShopLotteryTabMenuListItem {
727
727
  id: number;
728
728
  name: string;
729
729
  type: string;
730
730
  }
731
731
  export interface ShopLotteryProductItem {
732
732
  wareId: string;
733
733
  imgPath: string;
734
734
  wareName: string;
735
735
  jdPrice: string;
736
736
  promotion: boolean;
737
737
  flashSale: number;
738
738
  status: number;
739
739
  isUnderCarriage: number;
740
740
  stock: number;
741
741
  addCart: boolean;
742
742
  addCartAbTest: boolean;
743
743
  preSale: boolean;
744
744
  emptyJDPrice: boolean;
745
745
  emptyPrice: boolean;
746
746
  }
747
747
  export interface ShopCouponListItem {
748
748
  couponId: number;
749
749
  type: number;
750
750
  couponName?: string;
751
751
  name?: string;
752
752
  beginTime: string;
753
753
  endTime: string;
754
754
  discount: number;
755
755
  quota: number;
756
756
  style: number;
757
757
  crmCoupon: boolean;
758
758
  applicability: boolean;
759
759
  act: string;
760
760
  bindType: number;
761
761
  isfansCoupon: boolean;
762
762
  couponSource: string;
763
763
  couponSourceDetail: string;
764
764
  channel: string;
765
765
  subChannel: string;
766
766
  couponStatus?: number;
767
767
  channelDetail?: string;
768
768
  minDiscount?: string | number;
769
769
  maxDiscount?: string | number;
770
770
  biinfo?: string;
771
771
  skus?: string;
772
772
  foldSpread?: boolean;
773
773
  couponFaceDescription?: string;
774
774
  appid?: string;
775
775
  platformid?: string;
776
776
  }
777
777
  export interface ShopProWaresListItem {
778
778
  wareId: number;
779
779
  wareImage: string;
780
780
  wareName: string;
781
781
  jdPrice: string;
782
782
  lineationPrice?: string;
783
783
  isPreSale: boolean;
784
784
  purchasePrice?: string;
785
785
  }
786
786
  export interface ShopPromotionWaresListInfo {
787
787
  hasNext: boolean;
788
788
  pageIdx: number;
789
789
  pageSize: number;
790
790
  skuList: ShopProWaresListItem[];
791
791
  totalSize: number;
792
792
  activityIntensity?: string;
793
793
  }
794
794
  export interface GuideInfoWaresListItem {
795
795
  wareId: number | string;
796
796
  imgPath: string;
797
797
  wareName: string;
798
798
  jdPrice: string;
799
799
  priceInfo?: PriceInfo;
800
800
  spPrice?: string;
801
801
  ppPrice?: string;
802
802
  }
803
803
  export interface GuideInfoWaresListInfo {
804
804
  hasNext: boolean;
805
805
  pageIdx: number;
806
806
  pageSize: number;
807
807
  wareList: GuideInfoWaresListItem[];
808
808
  totalSize: number;
809
809
  guideText: string;
810
810
  standbyText: string;
811
811
  testId: string;
812
812
  totalCount: number;
813
813
  totalPage: number;
814
814
  }
815
815
  export interface ShopVideosListItem {
816
816
  cmtid: string;
817
817
  content: string;
818
818
  days: string;
819
819
  height: string;
820
820
  openApp: string;
821
821
  playUrl: string;
822
822
  projectid: string;
823
823
  skuId: string;
824
824
  skuPic: string;
825
825
  videoCoverUrl: string;
826
826
  videoNum: string;
827
827
  width: string;
828
828
  }
829
829
  export interface ShopVideosListInfo {
830
830
  hasNext: boolean;
831
831
  pageIdx: number;
832
832
  pageSize: number;
833
833
  videoList: ShopVideosListItem[];
834
834
  videoEvenList: ShopVideosListItem[];
835
835
  videoOddList: ShopVideosListItem[];
836
836
  totalPage: number;
837
837
  videoItemWh: number;
838
838
  }
839
839
  export interface ShopMoreGoodsListInfo {
840
840
  hasNext: boolean;
841
841
  pageIdx: number;
842
842
  pageSize: number;
843
843
  wareList: ShopMoreGoodsListItem[];
844
844
  totalPage: number;
845
845
  }
846
846
  export interface ShopMoreGoodsListItem {
847
847
  wareId: number;
848
848
  imgPath: string;
849
849
  wareName: string;
850
850
  skVersionInfo: {};
851
851
  shareInfo: {
852
852
  title: string;
853
853
  content: string;
854
854
  url: string;
855
855
  img: string;
856
856
  };
857
857
  }
858
858
  export interface ShopFastShoppingSkuListItem {
859
859
  actId: number;
860
860
  displayTime: string;
861
861
  endTime: string;
862
862
  jgys: string;
863
863
  jdPrice?: string;
864
864
  redPrice: string;
865
865
  skuId: number;
866
866
  skuImg: string;
867
867
  skuName: string;
868
868
  soldOut: number;
869
869
  start: string | number;
870
870
  startTime: string;
871
871
  }
872
872
  export interface ShopFastShoppingSkuListInfo {
873
873
  nextPage: boolean;
874
874
  data: ShopFastShoppingSkuListItem[];
875
875
  total: number;
876
876
  serverTime?: number;
877
877
  displayTime?: string;
878
878
  startTime?: string;
879
879
  endTime?: string;
880
880
  }
881
881
  export interface ShopSpeciSecKillSkuListItem {
882
882
  displayTime: string;
883
883
  endTime: string;
884
884
  jdPrice?: string;
885
885
  miaoShaPrice: string;
886
886
  skuId: number;
887
887
  imageUrl: string;
888
888
  skuName: string;
889
889
  discountReason: string;
890
890
  operateWord: string;
891
891
  promotionId: string;
892
892
  seckillNum: string;
893
893
  soldOut: number;
894
894
  source: number;
895
895
  seckillType: number;
896
896
  start: string | number;
897
897
  startTime: string;
898
898
  }
899
899
  export interface ShopSpeciSecKillSkuListInfo {
900
900
  nextPage: boolean;
901
901
  data: ShopSpeciSecKillSkuListItem[];
902
902
  total: number;
903
903
  }
904
904
  export interface CategoryList {
905
905
  showType: number;
906
906
  insurancePriceSuffix?: string;
907
907
  hasCateList: boolean;
908
908
  wareInfoList: any;
909
909
  }
910
910
  export interface DecorationDataList {
911
911
  parentId: string;
912
912
  navigationDecorationData: any;
913
913
  index: number;
914
914
  }
915
915
  export interface ShopSignActivityRuleInfo {
916
916
  data: {
917
917
  activityDescription: string;
918
918
  activityTime: string;
919
919
  awardName: string;
920
920
  awardDescription: string[];
921
921
  } | null;
922
922
  loadState: boolean;
923
923
  }
924
924
  export interface ShopSignPrizeListItem {
925
925
  type: number;
926
926
  loadState: boolean;
927
927
  activeState: boolean;
928
928
  list: any[];
929
929
  expireList: any[];
930
930
  name: string;
931
931
  }
932
932
  export interface ShopSignPrizeListInfo {
933
933
  loadState: boolean;
934
934
  signPrizeList: ShopSignPrizeListItem[] | any[];
935
935
  }
936
936
  export interface VipShopHeader {
937
937
  current?: {
938
938
  className?: string;
939
939
  } | null;
940
940
  [key: string]: any;
941
941
  }
942
942
  export interface BuyerShowTabListInfoData {
943
943
  finishState: boolean;
944
944
  loadingDataFinishState: boolean;
945
945
  list: any[];
946
946
  evenList: any[];
947
947
  oddList: any[];
948
948
  }
949
949
  interface BuyerShowInfoImageItem {
950
950
  largePicURL: string;
951
951
  mediaType: string;
952
952
  picHeight: string;
953
953
  picURL: string;
954
954
  picWidth: string;
955
955
  }
956
956
  export interface BuyerShowInfoData {
957
957
  category: string;
958
958
  commentData: string;
959
959
  commentId: string;
960
960
  commentType: string;
961
961
  createdDate: string;
962
962
  guid: string;
963
963
  hadPraise: boolean;
964
964
  imageInfoList: BuyerShowInfoImageItem[];
965
965
  oldCommentId: string;
966
966
  praiseCnt: string;
967
967
  praiseCntNum: number;
968
968
  praiseUsable: boolean;
969
969
  resourceType: number;
970
970
  skuImgUrl: string;
971
971
  skuName: string;
972
972
  skuPrice: string;
973
973
  source: string;
974
974
  userImgURL: string;
975
975
  userLevel: null | string;
976
976
  userNickName: string;
977
977
  userPin: null | string;
978
978
  wareId: string;
979
979
  detailImageLoadState?: boolean;
980
980
  }
981
981
  export interface RecommendShopGuidListItem {
982
982
  followed: boolean;
983
983
  followerCount: number;
984
984
  longLogoStatus: number;
985
985
  recommendGoods: {
986
986
  imgUrl: string;
987
987
  wareId: string;
988
988
  wareName: string;
989
989
  }[];
990
990
  shopBanner: string;
991
991
  shopId: string;
992
992
  shopLogoImg: string;
993
993
  shopName: string;
994
994
  venderType: number;
995
995
  vendorId: string;
996
996
  }
997
997
 
998
998
  export interface InOrOutViewObserverProps {
999
999
  children?: React.ReactElement;
1000
1000
  className?: string;
1001
1001
 
1002
1002
  style?: object;
1003
1003
 
1004
1004
  threshold?: number;
1005
1005
 
1006
1006
  inViewCallback?: functionType;
1007
1007
 
1008
1008
  outViewCallback?: functionType;
1009
1009
  }
1010
1010
 
1011
1011
  export interface CustomVideoProps {
1012
1012
  isSystemVideo?: boolean;
1013
1013
  id?: string;
1014
1014
  className?: string;
1015
1015
 
1016
1016
  style?: object;
1017
1017
 
1018
1018
  videoStyle?: object;
1019
1019
 
1020
1020
  src: string;
1021
1021
 
1022
1022
  width?: string | number;
1023
1023
 
1024
1024
  height?: string | number;
1025
1025
 
1026
1026
  poster?: string;
1027
1027
 
1028
1028
  controls?: boolean;
1029
1029
 
1030
1030
  autoplay?: boolean;
1031
1031
 
1032
1032
  mockAutoplay?: boolean;
1033
1033
 
1034
1034
  loop?: boolean;
1035
1035
 
1036
1036
  showMuteBtn?: boolean;
1037
1037
 
1038
1038
  muteButtonPostion?: keyof MuteButtonPostion;
1039
1039
 
1040
1040
  muteBtnPicSrcObj?: muteBtnPicObj;
1041
1041
 
1042
1042
  muteBtnClassName?: string;
1043
1043
 
1044
1044
  muteBtnStyle?: object;
1045
1045
 
1046
1046
  showFullscreenBtn?: boolean;
1047
1047
 
1048
1048
  showCenterPlayBtn?: boolean;
1049
1049
 
1050
1050
  objectFit?: keyof ObjectFit;
1051
1051
 
1052
1052
  threshold?: number;
1053
1053
 
1054
1054
  onPlayCallback?: any;
1055
1055
 
1056
1056
  onPauseCallback?: any;
1057
1057
 
1058
1058
  onVideoApiCall?: functionType;
1059
1059
 
1060
1060
  inViewCallback?: functionType;
1061
1061
 
1062
1062
  outViewCallback?: functionType;
1063
1063
  floorData: floorItemData;
1064
1064
  }
1065
1065
 
1066
1066
  interface muteBtnPicObj {
1067
1067
  IS_MUTED: string;
1068
1068
  NOT_MUTED: string;
1069
1069
  }
1070
1070
 
1071
1071
  interface MuteButtonPostion {
1072
1072
  topLeft;
1073
1073
  topRight;
1074
1074
  bottomLeft;
1075
1075
  bottomRight;
1076
1076
  }
1077
1077
 
1078
1078
  interface ObjectFit {
1079
1079
 
1080
1080
  contain;
1081
1081
 
1082
1082
  fill;
1083
1083
 
1084
1084
  cover;
1085
1085
  }
1086
1086
  interface SkuItem {
1087
1087
  id: number;
1088
1088
  name: string;
1089
1089
  imgMain: string;
1090
1090
  suggested: number;
1091
1091
  rankUrl: string;
1092
1092
  }
1093
1093
  export interface RankV1Item {
1094
1094
  id: number;
1095
1095
  type: number;
1096
1096
  rankUrl: string;
1097
1097
  title: string;
1098
1098
  hotPoint: string;
1099
1099
  skuCount: number;
1100
1100
  skuList: SkuItem[];
1101
1101
  }
1102
1102
  interface PriceInfo {
1103
1103
  jdPrice: string;
1104
1104
  finalPrice: string;
1105
1105
  priceText: string;
1106
1106
  priceType: number;
1107
1107
  hiddenPrice: boolean;
1108
1108
  isAuctionWare: boolean;
1109
1109
  isPinGouWare: boolean;
1110
1110
  showPromotionList: boolean;
1111
1111
  hitUserIdentity: boolean;
1112
1112
  }
1113
1113
  interface SkVersionInfo {
1114
1114
  priceInfo: PriceInfo;
1115
1115
  }
1116
1116
  export interface ProductItem {
1117
1117
  id: number;
1118
1118
  name: string;
1119
1119
  imgMain: string;
1120
1120
  priceJD: string;
1121
1121
  sellPoint: string;
1122
1122
  sellCount: number;
1123
1123
  sellCountDesc: string;
1124
1124
  rankDesc: string;
1125
1125
  suggested: number;
1126
1126
  skVersionInfo: SkVersionInfo;
1127
1127
  }