@conecli/cone-render 0.10.1-shop3.9 → 0.10.1-shop3.90

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