@conecli/cone-render 0.10.1-shop3.10 → 0.10.1-shop3.101

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 (115) 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/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 +395 -0
  70. package/dist/language/zh_CN.json +395 -0
  71. package/dist/language/zh_HK.json +395 -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 +19 -2
  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/jumpExtMapUtil.weapp.ts +1 -0
  106. package/dist/utils/log.ts +1 -0
  107. package/dist/utils/{sColor.js → sColor.ts} +1 -1
  108. package/dist/utils/sColor.weapp.ts +1 -0
  109. package/dist/utils/utils.ts +1 -1
  110. package/dist/wxapp/common/address_api/address_api_v2.js +1 -0
  111. package/dist/wxapp/common/user_info.js +1 -1
  112. package/package.json +162 -141
  113. package/dist/jumpEventReport/web/wqshop.report.ts +0 -1
  114. package/dist/utils/priceUtils.js +0 -1
  115. /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
  }
532
532
  export interface CountDownTimerRef {
533
533
  type: string;
534
534
  text: string | null | undefined;
535
535
  time?: number | null;
536
536
  endTime?: number | null;
537
537
  }
538
538
  export interface FilterBarSearchChangeType {
539
539
  id?: string;
540
540
  inStock: boolean;
541
541
  inStockText: string;
542
542
  showJdDeliver: boolean;
543
543
  showJdDeliverText: string;
544
544
  searchDataSetState: boolean;
545
545
  }
546
546
  export interface MultipleFilterListItem {
547
547
  id?: string;
548
548
  type: number;
549
549
  value: string;
550
550
  checked: boolean;
551
551
  text: string;
552
552
  }
553
553
  export interface FilterBarProps {
554
554
  className?: string;
555
555
  showType?: string | number;
556
556
  defaultSelected?: number;
557
557
  isTriggerFilterChangeOnInit?: boolean;
558
558
  onFilterChange?: functionType | null;
559
559
  onShowTypeChange?: functionType | null;
560
560
  instockSelected?: boolean;
561
561
  pageId?: undefined | string;
562
562
  searchDescription?: undefined | string;
563
563
  searchChangeType: FilterBarSearchChangeType;
564
564
  placeholderDomRef?: HTMLElement | null;
565
565
  isFixed?: boolean;
566
566
  searchTab?: any;
567
567
  useNewMultiple?: boolean;
568
568
  }
569
569
  export interface FilterRadioItemProps {
570
570
  filterType?: number;
571
571
  label: string;
572
572
  className: string;
573
573
  icon: boolean;
574
574
  onToggleChange?: functionType;
575
575
  onSelected: functionType;
576
576
  selected: boolean;
577
577
  type: string;
578
578
  switchOn: boolean;
579
579
  }
580
580
  export interface ShopNavBarScrollXOffsetRef {
581
581
  [key: number]: number;
582
582
  tabListPosResList?: number;
583
583
  }
584
584
  export interface SearchHotKeyWord {
585
585
  [key: string]: string;
586
586
  }
587
587
  export interface ProductWithFilterProps {
588
588
  className?: string;
589
589
  listClassName?: string;
590
590
  gridListClassName?: string;
591
591
  filterBarEnabled?: boolean;
592
592
  height: number;
593
593
  minHeight: number;
594
594
  keyWord: string;
595
595
  defaultKeyWord: string;
596
596
  totalHeight: number;
597
597
  defaultShowType?: undefined | string | number;
598
598
  showType?: undefined | string | number;
599
599
  showTypeChangeDisable: boolean;
600
600
  searchType: string | number;
601
601
  loadState: string | number;
602
602
  skuId?: string | number;
603
603
  cateId?: undefined | string;
604
604
  pageId?: undefined | string;
605
605
  activityId?: undefined | string;
606
606
  activityType?: undefined | string;
607
607
  searchDescription?: undefined | string;
608
608
  useOutsideScrollView: boolean;
609
609
  extraParam: object;
610
610
  pageJumpParam?: object;
611
611
  enableEventUpdate?: boolean;
612
612
  showFilterBarSecondary?: boolean;
613
613
  showEmptyFloorTip?: boolean;
614
614
  displayHeight: number;
615
615
  toTop: boolean;
616
616
  tabContentShowState?: boolean;
617
617
  scrollToLowerState?: boolean;
618
618
  changeScrollToLowerStateFn?: functionType;
619
619
  changeProductWithFilterStateFn?: functionType;
620
620
  fetchProductsFun?: functionType;
621
621
  }
622
622
  export interface ShopMenuListItem {
623
623
  menuId: number;
624
624
  menuName: string;
625
625
  menuType?: string;
626
626
  icon?: string;
627
627
  text?: string;
628
628
  config?: object;
629
629
  subMenu?: any[];
630
630
  }
631
631
  export interface VipShopMenuListItem {
632
632
  menuId: number | string;
633
633
  menuName: string;
634
634
  iconAfter: string;
635
635
  iconBefore: string;
636
636
  jumpUrl: string;
637
637
  visible: boolean;
638
638
  }
639
639
  export interface DialogConfigBackFn {
640
640
  onClose?: functionType;
641
641
  onBeforeConfirm?: functionType;
642
642
  onConfirm?: functionType;
643
643
  onBackground?: functionType;
644
644
  onHide?: functionType;
645
645
  onInit?: functionType;
646
646
  onFormSubmit?: functionType;
647
647
  onFormReset?: functionType;
648
648
  }
649
649
  export interface DialogConfigProps extends DialogConfigBackFn {
650
650
  type: number;
651
651
  className?: string;
652
652
  style?: React.CSSProperties;
653
653
  title?: string;
654
654
  message?: string | null;
655
655
  closeBtnText?: string;
656
656
  closeBtnHideState?: boolean;
657
657
  confirmBtnText?: string;
658
658
  confirmBtnHideState?: boolean;
659
659
  hasFooter?: boolean;
660
660
  bodyNode?: React.ReactNode | null;
661
661
  footerNode?: React.ReactNode;
662
662
  show?: boolean;
663
663
  isCustom?: boolean;
664
664
  maskCloseable?: boolean;
665
665
  isFormDialog?: boolean;
666
666
  dialogTransition?: string;
667
667
  maskTransition?: string;
668
668
  usePortal?: boolean;
669
669
  forbiddenBgScrollState?: boolean;
670
670
  }
671
671
  export interface ActivityTabFullData {
672
672
  sortOrderFloorMapList: string[];
673
673
  serverTimeRes: number;
674
674
  loadingDataFinishState: boolean;
675
675
  secKillPage?: {
676
676
  [key: string]: string;
677
677
  };
678
678
  gwredPage?: {
679
679
  [key: string]: string;
680
680
  };
681
681
  orderFloorMap?: {
682
682
  [key: string]: string;
683
683
  };
684
684
  promotionFloorInfo?: {
685
685
  [key: string]: string;
686
686
  };
687
687
  shopSalePage?: {
688
688
  [key: string]: string;
689
689
  };
690
690
  signInfo?: {
691
691
  [key: string]: string;
692
692
  };
693
693
  speciSecKillPage?: {
694
694
  [key: string]: string;
695
695
  };
696
696
  couponInfos?: any[];
697
697
  }
698
698
  export interface PromotionTabData {
699
699
  loadingDataFinishState: boolean;
700
700
  hasGoodsFeeds: boolean;
701
701
  list: ContainerItemData[];
702
702
  }
703
703
  export interface NewWareInfoData {
704
704
  hasReady: boolean;
705
705
  hasNext: boolean;
706
706
  pageIdx: number;
707
707
  newWareList: {
708
708
  date: number;
709
709
  title: string;
710
710
  wareList: any[];
711
711
  }[];
712
712
  totalPage: number;
713
713
  totalCount: number;
714
714
  magicTabs: any[];
715
715
  videoTabs: any[];
716
716
  extend: null | {
717
717
  background: string;
718
718
  backgroundType: null;
719
719
  newProductList: any[];
720
720
  newProductSubTitle: string;
721
721
  };
722
722
  serialNew: {
723
723
  compName: string;
724
724
  firstText: string;
725
725
  headerImg: string;
726
726
  secText: string;
727
727
  serialUrl: string;
728
728
  skuInfoList: any[];
729
729
  }[];
730
730
  preferredGoods: null | {
731
731
  headerTitle: string;
732
732
  headerTagImg: null;
733
733
  itemList: any[];
734
734
  };
735
735
  }
736
736
  export interface ActivitySignInfo {
737
737
  source: number;
738
738
  isvUrl?: string;
739
739
  isvText?: string;
740
740
  isvImgUrl?: string;
741
741
  signImageUrl?: string;
742
742
  }
743
743
  export interface ShopLotteryInfo {
744
744
  signInfo: {
745
745
  activityRuleType: number;
746
746
  continueDay: number;
747
747
  isSign: number;
748
748
  signTotal: number;
749
749
  };
750
750
  winInfo: string[];
751
751
  tabNames: string[];
752
752
  lotteryTabMenuList: ShopLotteryTabMenuListItem[];
753
753
  products?: ShopLotteryProductItem[];
754
754
  }
755
755
  export interface ShopLotteryTabMenuListItem {
756
756
  id: number;
757
757
  name: string;
758
758
  type: string;
759
759
  }
760
760
  export interface ShopLotteryProductItem {
761
761
  wareId: string;
762
762
  imgPath: string;
763
763
  wareName: string;
764
764
  jdPrice: string;
765
765
  promotion: boolean;
766
766
  flashSale: number;
767
767
  status: number;
768
768
  isUnderCarriage: number;
769
769
  stock: number;
770
770
  addCart: boolean;
771
771
  addCartAbTest: boolean;
772
772
  preSale: boolean;
773
773
  emptyJDPrice: boolean;
774
774
  emptyPrice: boolean;
775
775
  }
776
776
  export interface ShopCouponListItem {
777
777
  couponId: number;
778
778
  type: number;
779
779
  couponName?: string;
780
780
  name?: string;
781
781
  beginTime: string;
782
782
  endTime: string;
783
783
  discount: number;
784
784
  quota: number;
785
785
  style: number;
786
786
  crmCoupon: boolean;
787
787
  applicability: boolean;
788
788
  act: string;
789
789
  bindType: number;
790
790
  isfansCoupon: boolean;
791
791
  couponSource: string;
792
792
  couponSourceDetail: string;
793
793
  channel: string;
794
794
  subChannel: string;
795
795
  couponStatus?: number;
796
796
  channelDetail?: string;
797
797
  minDiscount?: string | number;
798
798
  maxDiscount?: string | number;
799
799
  biinfo?: string;
800
800
  skus?: string;
801
801
  foldSpread?: boolean;
802
802
  couponFaceDescription?: string;
803
803
  appid?: string;
804
804
  platformid?: string;
805
805
  }
806
806
  export interface ShopProWaresListItem {
807
807
  wareId: number;
808
808
  wareImage: string;
809
809
  wareName: string;
810
810
  jdPrice: string;
811
811
  lineationPrice?: string;
812
812
  isPreSale: boolean;
813
813
  purchasePrice?: string;
814
814
  }
815
815
  export interface ShopPromotionWaresListInfo {
816
816
  hasNext: boolean;
817
817
  pageIdx: number;
818
818
  pageSize: number;
819
819
  skuList: ShopProWaresListItem[];
820
820
  totalSize: number;
821
821
  activityIntensity?: string;
822
822
  }
823
823
  export interface GuideInfoWaresListItem {
824
824
  wareId: number | string;
825
825
  imgPath: string;
826
826
  wareName: string;
827
827
  jdPrice: string;
828
828
  priceInfo?: PriceInfo;
829
829
  spPrice?: string;
830
830
  ppPrice?: string;
831
831
  }
832
832
  export interface GuideInfoWaresListInfo {
833
833
  hasNext: boolean;
834
834
  pageIdx: number;
835
835
  pageSize: number;
836
836
  wareList: GuideInfoWaresListItem[];
837
837
  totalSize: number;
838
838
  guideText: string;
839
839
  standbyText: string;
840
840
  testId: string;
841
841
  totalCount: number;
842
842
  totalPage: number;
843
843
  }
844
844
  export interface ShopVideosListItem {
845
845
  cmtid: string;
846
846
  content: string;
847
847
  days: string;
848
848
  height: string;
849
849
  openApp: string;
850
850
  playUrl: string;
851
851
  projectid: string;
852
852
  skuId: string;
853
853
  skuPic: string;
854
854
  videoCoverUrl: string;
855
855
  videoNum: string;
856
856
  width: string;
857
857
  }
858
858
  export interface ShopVideosListInfo {
859
859
  hasNext: boolean;
860
860
  pageIdx: number;
861
861
  pageSize: number;
862
862
  videoList: ShopVideosListItem[];
863
863
  videoEvenList: ShopVideosListItem[];
864
864
  videoOddList: ShopVideosListItem[];
865
865
  totalPage: number;
866
866
  videoItemWh: number;
867
867
  }
868
868
  export interface ShopMoreGoodsListInfo {
869
869
  hasNext: boolean;
870
870
  pageIdx: number;
871
871
  pageSize: number;
872
872
  wareList: ShopMoreGoodsListItem[];
873
873
  totalPage: number;
874
874
  }
875
875
  export interface ShopMoreGoodsListItem {
876
876
  wareId: number;
877
877
  imgPath: string;
878
878
  wareName: string;
879
879
  skVersionInfo: {};
880
880
  shareInfo: {
881
881
  title: string;
882
882
  content: string;
883
883
  url: string;
884
884
  img: string;
885
885
  };
886
886
  }
887
887
  export interface ShopFastShoppingSkuListItem {
888
888
  actId: number;
889
889
  displayTime: string;
890
890
  endTime: string;
891
891
  jgys: string;
892
892
  jdPrice?: string;
893
893
  redPrice: string;
894
894
  skuId: number;
895
895
  skuImg: string;
896
896
  skuName: string;
897
897
  soldOut: number;
898
898
  start: string | number;
899
899
  startTime: string;
900
900
  }
901
901
  export interface ShopFastShoppingSkuListInfo {
902
902
  nextPage: boolean;
903
903
  data: ShopFastShoppingSkuListItem[];
904
904
  total: number;
905
905
  serverTime?: number;
906
906
  displayTime?: string;
907
907
  startTime?: string;
908
908
  endTime?: string;
909
909
  }
910
910
  export interface ShopSpeciSecKillSkuListItem {
911
911
  displayTime: string;
912
912
  endTime: string;
913
913
  jdPrice?: string;
914
914
  miaoShaPrice: string;
915
915
  skuId: number;
916
916
  imageUrl: string;
917
917
  skuName: string;
918
918
  discountReason: string;
919
919
  operateWord: string;
920
920
  promotionId: string;
921
921
  seckillNum: string;
922
922
  soldOut: number;
923
923
  source: number;
924
924
  seckillType: number;
925
925
  start: string | number;
926
926
  startTime: string;
927
927
  }
928
928
  export interface ShopSpeciSecKillSkuListInfo {
929
929
  nextPage: boolean;
930
930
  data: ShopSpeciSecKillSkuListItem[];
931
931
  total: number;
932
932
  }
933
933
  export interface CategoryList {
934
934
  showType: number;
935
935
  insurancePriceSuffix?: string;
936
936
  hasCateList: boolean;
937
937
  wareInfoList: any;
938
938
  }
939
939
  export interface DecorationDataList {
940
940
  parentId: string;
941
941
  navigationDecorationData: any;
942
942
  index: number;
943
943
  }
944
944
  export interface ShopSignActivityRuleInfo {
945
945
  data: {
946
946
  activityDescription: string;
947
947
  activityTime: string;
948
948
  awardName: string;
949
949
  awardDescription: string[];
950
950
  } | null;
951
951
  loadState: boolean;
952
952
  }
953
953
  export interface ShopSignPrizeListItem {
954
954
  type: number;
955
955
  loadState: boolean;
956
956
  activeState: boolean;
957
957
  list: any[];
958
958
  expireList: any[];
959
959
  name: string;
960
960
  }
961
961
  export interface ShopSignPrizeListInfo {
962
962
  loadState: boolean;
963
963
  signPrizeList: ShopSignPrizeListItem[] | any[];
964
964
  }
965
965
  export interface VipShopHeader {
966
966
  current?: {
967
967
  className?: string;
968
968
  } | null;
969
969
  [key: string]: any;
970
970
  }
971
971
  export interface BuyerShowTabListInfoData {
972
972
  finishState: boolean;
973
973
  loadingDataFinishState: boolean;
974
974
  list: any[];
975
975
  evenList: any[];
976
976
  oddList: any[];
977
977
  }
978
978
  interface BuyerShowInfoImageItem {
979
979
  largePicURL: string;
980
980
  mediaType: string;
981
981
  picHeight: string;
982
982
  picURL: string;
983
983
  picWidth: string;
984
984
  }
985
985
  export interface BuyerShowInfoData {
986
986
  category: string;
987
987
  commentData: string;
988
988
  commentId: string;
989
989
  commentType: string;
990
990
  createdDate: string;
991
991
  guid: string;
992
992
  hadPraise: boolean;
993
993
  imageInfoList: BuyerShowInfoImageItem[];
994
994
  oldCommentId: string;
995
995
  praiseCnt: string;
996
996
  praiseCntNum: number;
997
997
  praiseUsable: boolean;
998
998
  resourceType: number;
999
999
  skuImgUrl: string;
1000
1000
  skuName: string;
1001
1001
  skuPrice: string;
1002
1002
  source: string;
1003
1003
  userImgURL: string;
1004
1004
  userLevel: null | string;
1005
1005
  userNickName: string;
1006
1006
  userPin: null | string;
1007
1007
  wareId: string;
1008
1008
  detailImageLoadState?: boolean;
1009
1009
  }
1010
1010
  export interface RecommendShopGuidListItem {
1011
1011
  followed: boolean;
1012
1012
  followerCount: number;
1013
1013
  longLogoStatus: number;
1014
1014
  recommendGoods: {
1015
1015
  imgUrl: string;
1016
1016
  wareId: string;
1017
1017
  wareName: string;
1018
1018
  }[];
1019
1019
  shopBanner: string;
1020
1020
  shopId: string;
1021
1021
  shopLogoImg: string;
1022
1022
  shopName: string;
1023
1023
  venderType: number;
1024
1024
  vendorId: string;
1025
1025
  }
1026
1026
 
1027
1027
  export interface InOrOutViewObserverProps {
1028
1028
  children?: React.ReactElement;
1029
1029
  className?: string;
1030
1030
 
1031
1031
  style?: object;
1032
1032
 
1033
1033
  threshold?: number;
1034
1034
 
1035
1035
  inViewCallback?: functionType;
1036
1036
 
1037
1037
  outViewCallback?: functionType;
1038
1038
  }
1039
1039
 
1040
1040
  export interface CustomVideoProps {
1041
1041
  isSystemVideo?: boolean;
1042
1042
  id?: string;
1043
1043
  className?: string;
1044
1044
 
1045
1045
  style?: object;
1046
1046
 
1047
1047
  videoStyle?: object;
1048
1048
 
1049
1049
  src: string;
1050
1050
 
1051
1051
  width?: string | number;
1052
1052
 
1053
1053
  height?: string | number;
1054
1054
 
1055
1055
  poster?: string;
1056
1056
 
1057
1057
  controls?: boolean;
1058
1058
 
1059
1059
  autoplay?: boolean;
1060
1060
 
1061
1061
  mockAutoplay?: boolean;
1062
1062
 
1063
1063
  loop?: boolean;
1064
1064
 
1065
1065
  showMuteBtn?: boolean;
1066
1066
 
1067
1067
  muteButtonPostion?: keyof MuteButtonPostion;
1068
1068
 
1069
1069
  muteBtnPicSrcObj?: muteBtnPicObj;
1070
1070
 
1071
1071
  muteBtnClassName?: string;
1072
1072
 
1073
1073
  muteBtnStyle?: object;
1074
1074
 
1075
1075
  showFullscreenBtn?: boolean;
1076
1076
 
1077
1077
  showCenterPlayBtn?: boolean;
1078
1078
 
1079
1079
  objectFit?: keyof ObjectFit;
1080
1080
 
1081
1081
  threshold?: number;
1082
1082
 
1083
1083
  onPlayCallback?: any;
1084
1084
 
1085
1085
  onPauseCallback?: any;
1086
1086
 
1087
1087
  onVideoApiCall?: functionType;
1088
1088
 
1089
1089
  inViewCallback?: functionType;
1090
1090
 
1091
1091
  outViewCallback?: functionType;
1092
1092
  floorData: floorItemData;
1093
1093
  }
1094
1094
 
1095
1095
  interface muteBtnPicObj {
1096
1096
  IS_MUTED: string;
1097
1097
  NOT_MUTED: string;
1098
1098
  }
1099
1099
 
1100
1100
  interface MuteButtonPostion {
1101
1101
  topLeft;
1102
1102
  topRight;
1103
1103
  bottomLeft;
1104
1104
  bottomRight;
1105
1105
  }
1106
1106
 
1107
1107
  interface ObjectFit {
1108
1108
 
1109
1109
  contain;
1110
1110
 
1111
1111
  fill;
1112
1112
 
1113
1113
  cover;
1114
1114
  }
1115
1115
  interface SkuItem {
1116
1116
  id: number;
1117
1117
  name: string;
1118
1118
  imgMain: string;
1119
1119
  suggested: number;
1120
1120
  rankUrl: string;
1121
1121
  }
1122
1122
  export interface RankV1Item {
1123
1123
  id: number;
1124
1124
  type: number;
1125
1125
  rankUrl: string;
1126
1126
  title: string;
1127
1127
  hotPoint: string;
1128
1128
  skuCount: number;
1129
1129
  skuList: SkuItem[];
1130
1130
  }
1131
1131
  interface PriceInfo {
1132
1132
  jdPrice: string;
1133
1133
  finalPrice: string;
1134
1134
  priceText: string;
1135
1135
  priceType: number;
1136
1136
  hiddenPrice: boolean;
1137
1137
  isAuctionWare: boolean;
1138
1138
  isPinGouWare: boolean;
1139
1139
  showPromotionList: boolean;
1140
1140
  hitUserIdentity: boolean;
1141
1141
  }
1142
1142
  interface SkVersionInfo {
1143
1143
  priceInfo: PriceInfo;
1144
1144
  }
1145
1145
  export interface ProductItem {
1146
1146
  id: number;
1147
1147
  name: string;
1148
1148
  imgMain: string;
1149
1149
  priceJD: string;
1150
1150
  sellPoint: string;
1151
1151
  sellCount: number;
1152
1152
  sellCountDesc: string;
1153
1153
  rankDesc: string;
1154
1154
  suggested: number;
1155
1155
  skVersionInfo: SkVersionInfo;
1156
1156
  }