@conecli/cone-render 0.10.1-shop-beta.22 → 0.10.1-shop-beta.24

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