@conecli/cone-render 0.10.1-shop3.14 → 0.10.1-shop3.140

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