@conecli/cone-render 0.10.1-shop3.52 → 0.10.1-shop3.53

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.
@@ -1 +1 @@
1
- import { ComponentInterFace } from './component';
2
1
  export interface Domain {
3
2
  base: string;
4
3
  ztJshop: string;
5
4
  jshop2013: string;
6
5
  pcCoupon: string;
7
6
  sale: string;
8
7
  mshop: string;
9
8
  pages: string;
10
9
  club: string;
11
10
  pm: string;
12
11
  pf: string;
13
12
  fmall: string;
14
13
  lbs: string;
15
14
  yushou: string;
16
15
  wq: string;
17
16
  wqs: string;
18
17
  wqshop: string;
19
18
  shopMember: string;
20
19
  bean: string;
21
20
  mapi: string;
22
21
  api: string;
23
22
  hkApi: string;
24
23
  actJshop: string;
25
24
  msJshop: string;
26
25
  quark: string;
27
26
  ranking: string;
28
27
  iJshop: string;
29
28
  mobileSo: string;
30
29
  pcSo: string;
31
30
  capturehomeshare: string;
32
31
  jdcs: string;
33
32
  lives: string;
34
33
  mobileDetail: string;
35
34
  mobileHome: string;
36
35
  mobileLogin: string;
37
36
  pcView: string;
38
37
  pcLogin: string;
39
38
  kpl: string;
40
39
  jxDomain: string;
41
40
  ecoDomain: string;
42
41
  }
43
42
  export interface HttpApi {
44
43
  decorate: {
45
44
  preview: string;
46
45
  };
47
46
  userAddress: string;
48
47
  lbsLocation: string;
49
48
  couponStatus: string;
50
49
  addCart: string;
51
50
  receiveCoupon: string;
52
51
  areaStockState: string;
53
52
  apiFunc: string;
54
53
  hkApiFunc: string;
55
54
  follow: string;
56
55
  unfollow: string;
57
56
  isFollow: string;
58
57
  flowers: string;
59
58
  serverTime: string;
60
59
  followShop: string;
61
60
  getDefaultAddress: string;
62
61
  userInfo: string;
63
62
  font: string;
64
63
  isLogin: string;
65
64
  }
66
65
  export interface HttpRequestInfo {
67
66
  cookiesStr: string;
68
67
  requestHeaderContentType: {
69
68
  jsonHeader: {
70
69
  'content-type': string;
71
70
  };
72
71
  formDataHeader: {
73
72
  'content-type': string;
74
73
  };
75
74
  };
76
75
  requestBaseParam: {
77
76
  data: any;
78
77
  header: {
79
78
  'content-type': string;
80
79
  };
81
80
  };
82
81
  apiClientParams: {
83
82
  appid: string;
84
83
  clientVersion: string;
85
84
  client: string;
86
85
  uuid: string;
87
86
  area?: string;
88
87
  loginType?: string;
89
88
  loginWQBiz?: string;
90
89
  };
91
90
  wxappClientParams?: {
92
91
  appid: string;
93
92
  clientVersion: string;
94
93
  client: string;
95
94
  uuid: string;
96
95
  area?: string;
97
96
  };
98
97
  timeOut: number;
99
98
  }
100
99
  export interface Method {
101
100
 
102
101
  OPTIONS;
103
102
 
104
103
  GET;
105
104
 
106
105
  HEAD;
107
106
 
108
107
  POST;
109
108
 
110
109
  PUT;
111
110
 
112
111
  DELETE;
113
112
 
114
113
  TRACE;
115
114
 
116
115
  CONNECT;
117
116
  }
118
117
  export interface RequestPromiseRes {
119
118
  statusCode: number;
120
119
  resTimeoutState?: boolean;
121
120
  errMsg?: string;
122
121
  msg?: string;
123
122
  data?: any;
124
123
  status?: string;
125
124
  requestType?: string;
126
125
  }
127
126
  export interface RequestResponseFormatRes {
128
127
  statusCode?: number;
129
128
  code?: number | string;
130
129
  ok: boolean;
131
130
  errMsg?: string;
132
131
  msg?: string;
133
132
  data?: any;
134
133
  result?: any;
135
134
  source?: any;
136
135
  }
137
136
  export interface CouponParams {
138
137
  couponId: string;
139
138
  act: string;
140
139
  operation: string;
141
140
  }
142
141
  export interface AddToCartQueryParam {
143
142
  wareId: string | number;
144
143
  num: number;
145
144
  resourceType: string;
146
145
  resourceValue: string;
147
146
  sid: string;
148
147
  clientKey: string;
149
148
  ran: number;
150
149
  suitSkuId?: string | number;
151
150
  suitSkuNum?: number;
152
151
  sType?: number;
153
152
  ybId?: string | number | null;
154
153
  }
155
154
  export interface UserAddressData {
156
155
  id: number;
157
156
  provinceId: number;
158
157
  cityId: number;
159
158
  countyId?: number;
160
159
  townId?: number;
161
160
  }
162
161
  export interface UserAddressListData {
163
162
  body: {
164
163
  addressInfoList: UserAddressListItemData[];
165
164
  addressLimit: number;
166
165
  checkFlag: boolean;
167
166
  rangeFlag: boolean;
168
167
  resultFlag: boolean;
169
168
  supportGis: boolean;
170
169
  supportIntelliGenText: boolean;
171
170
  };
172
171
  code: string;
173
172
  message: string;
174
173
  }
175
174
  export interface UserAddressListItemData {
176
175
  addressDetail: string;
177
176
  addressId: number;
178
177
  addressName: string;
179
178
  areaCode: string;
180
179
  cityId: number;
181
180
  cityName: string;
182
181
  clickAble: boolean;
183
182
  coordType: number;
184
183
  countyId: number;
185
184
  countyName: string;
186
185
  defaultAddress: boolean;
187
186
  email: string;
188
187
  encryFlag: boolean;
189
188
  foreignOverSea: boolean;
190
189
  fullAddress: string;
191
190
  gangAoTai: boolean;
192
191
  latitude: number;
193
192
  latitudeString: string;
194
193
  longitude: number;
195
194
  longitudeString: string;
196
195
  mobile: string;
197
196
  name: string;
198
197
  nameCode: string;
199
198
  operateTime: string;
200
199
  operationType: number;
201
200
  phone: string;
202
201
  postCode: string;
203
202
  provinceId: number;
204
203
  provinceName: string;
205
204
  realMobile: string;
206
205
  retTag: number;
207
206
  selected: boolean;
208
207
  sortTime: string;
209
208
  tagSource: number;
210
209
  townId: number;
211
210
  townName: string;
212
211
  updateTime: string;
213
212
  }
214
213
  export interface ShopHomeDataResponseRes extends RequestResponseFormatRes {
215
214
  readonly ok: boolean;
216
215
  readonly msg?: any;
217
216
  baseInfo?: ComponentInterFace.ShopTotalInfo;
218
217
  extendInfo?: {
219
218
  [key: string]: any;
220
219
  };
221
220
  floorInfo?: {
222
221
  floors: [];
223
222
  pageSet?: object;
224
223
  homeDecorationType?: number;
225
224
  [key: string]: any;
226
225
  };
227
226
  otherInfo?: {
228
227
  [key: string]: any;
229
228
  };
230
229
  menuInfo?: {
231
230
  menuList: [];
232
231
  [key: string]: any;
233
232
  };
234
233
  activityInfo?: {
235
234
  activityRuleType: number;
236
235
  isSign: number;
237
236
  followed: boolean;
238
237
  [key: string]: any;
239
238
  };
240
239
  }
241
240
  export interface ShopPromotionListDataRes extends RequestResponseFormatRes {
242
241
  readonly ok: boolean;
243
242
  readonly msg?: any;
244
243
  noPromotionState?: boolean;
245
244
  shopTotalInfo?: ComponentInterFace.ShopTotalInfo;
246
245
  shopPromotionData?: ComponentInterFace.FloorModuleData;
247
246
  }
248
247
  export interface ShopPromotionDataResponseRes extends RequestResponseFormatRes {
249
248
  readonly ok: boolean;
250
249
  readonly msg?: any;
251
250
  baseInfo?: ComponentInterFace.ShopTotalInfo;
252
251
  extendInfo?: {
253
252
  [key: string]: any;
254
253
  };
255
254
  floorInfo?: {
256
255
  floors: [];
257
256
  pageSet?: object;
258
257
  [key: string]: any;
259
258
  };
260
259
  }
261
260
  export interface SkuToCartDataRes {
262
261
  readonly ok: boolean;
263
262
  [key: string]: any;
264
263
  }
265
264
  export interface FloorInfoPageRequestParam {
266
265
  snapVersion?: string;
267
266
  projectId?: string;
268
267
  pageId?: string;
269
268
  lastFloorIdInPrePage?: string;
270
269
  }
270
+ import { ComponentInterFace } from './component';
271
271
  export interface Domain {
272
272
  base: string;
273
273
  ztJshop: string;
274
274
  jshop2013: string;
275
275
  pcCoupon: string;
276
276
  sale: string;
277
277
  mshop: string;
278
278
  pages: string;
279
279
  club: string;
280
280
  pm: string;
281
281
  pf: string;
282
282
  fmall: string;
283
283
  lbs: string;
284
284
  yushou: string;
285
285
  wq: string;
286
286
  wqs: string;
287
287
  wqshop: string;
288
288
  shopMember: string;
289
289
  bean: string;
290
290
  mapi: string;
291
291
  api: string;
292
292
  hkApi: string;
293
293
  actJshop: string;
294
294
  msJshop: string;
295
295
  quark: string;
296
296
  ranking: string;
297
297
  iJshop: string;
298
298
  mobileSo: string;
299
299
  pcSo: string;
300
300
  capturehomeshare: string;
301
301
  jdcs: string;
302
302
  lives: string;
303
303
  mobileDetail: string;
304
304
  mobileHome: string;
305
305
  mobileLogin: string;
306
306
  pcView: string;
307
307
  pcLogin: string;
308
308
  kpl: string;
309
309
  jxDomain: string;
310
310
  ecoDomain: string;
311
311
  p: string;
312
312
  }
313
313
  export interface HttpApi {
314
314
  decorate: {
315
315
  preview: string;
316
316
  };
317
317
  userAddress: string;
318
318
  lbsLocation: string;
319
319
  couponStatus: string;
320
320
  addCart: string;
321
321
  receiveCoupon: string;
322
322
  areaStockState: string;
323
323
  apiFunc: string;
324
324
  hkApiFunc: string;
325
325
  follow: string;
326
326
  unfollow: string;
327
327
  isFollow: string;
328
328
  flowers: string;
329
329
  serverTime: string;
330
330
  followShop: string;
331
331
  getDefaultAddress: string;
332
332
  userInfo: string;
333
333
  font: string;
334
334
  isLogin: string;
335
335
  }
336
336
  export interface HttpRequestInfo {
337
337
  cookiesStr: string;
338
338
  requestHeaderContentType: {
339
339
  jsonHeader: {
340
340
  'content-type': string;
341
341
  };
342
342
  formDataHeader: {
343
343
  'content-type': string;
344
344
  };
345
345
  };
346
346
  requestBaseParam: {
347
347
  data: any;
348
348
  header: {
349
349
  'content-type': string;
350
350
  };
351
351
  };
352
352
  apiClientParams: {
353
353
  appid: string;
354
354
  clientVersion: string;
355
355
  client: string;
356
356
  uuid: string;
357
357
  area?: string;
358
358
  loginType?: string;
359
359
  loginWQBiz?: string;
360
360
  };
361
361
  wxappClientParams?: {
362
362
  appid: string;
363
363
  clientVersion: string;
364
364
  client: string;
365
365
  uuid: string;
366
366
  area?: string;
367
367
  };
368
368
  timeOut: number;
369
369
  }
370
370
  export interface Method {
371
371
 
372
372
  OPTIONS;
373
373
 
374
374
  GET;
375
375
 
376
376
  HEAD;
377
377
 
378
378
  POST;
379
379
 
380
380
  PUT;
381
381
 
382
382
  DELETE;
383
383
 
384
384
  TRACE;
385
385
 
386
386
  CONNECT;
387
387
  }
388
388
  export interface RequestPromiseRes {
389
389
  statusCode: number;
390
390
  resTimeoutState?: boolean;
391
391
  errMsg?: string;
392
392
  msg?: string;
393
393
  data?: any;
394
394
  status?: string;
395
395
  requestType?: string;
396
396
  }
397
397
  export interface RequestResponseFormatRes {
398
398
  statusCode?: number;
399
399
  code?: number | string;
400
400
  ok: boolean;
401
401
  errMsg?: string;
402
402
  msg?: string;
403
403
  data?: any;
404
404
  result?: any;
405
405
  source?: any;
406
406
  }
407
407
  export interface CouponParams {
408
408
  couponId: string;
409
409
  act: string;
410
410
  operation: string;
411
411
  }
412
412
  export interface AddToCartQueryParam {
413
413
  wareId: string | number;
414
414
  num: number;
415
415
  resourceType: string;
416
416
  resourceValue: string;
417
417
  sid: string;
418
418
  clientKey: string;
419
419
  ran: number;
420
420
  suitSkuId?: string | number;
421
421
  suitSkuNum?: number;
422
422
  sType?: number;
423
423
  ybId?: string | number | null;
424
424
  }
425
425
  export interface UserAddressData {
426
426
  id: number;
427
427
  provinceId: number;
428
428
  cityId: number;
429
429
  countyId?: number;
430
430
  townId?: number;
431
431
  }
432
432
  export interface UserAddressListData {
433
433
  body: {
434
434
  addressInfoList: UserAddressListItemData[];
435
435
  addressLimit: number;
436
436
  checkFlag: boolean;
437
437
  rangeFlag: boolean;
438
438
  resultFlag: boolean;
439
439
  supportGis: boolean;
440
440
  supportIntelliGenText: boolean;
441
441
  };
442
442
  code: string;
443
443
  message: string;
444
444
  }
445
445
  export interface UserAddressListItemData {
446
446
  addressDetail: string;
447
447
  addressId: number;
448
448
  addressName: string;
449
449
  areaCode: string;
450
450
  cityId: number;
451
451
  cityName: string;
452
452
  clickAble: boolean;
453
453
  coordType: number;
454
454
  countyId: number;
455
455
  countyName: string;
456
456
  defaultAddress: boolean;
457
457
  email: string;
458
458
  encryFlag: boolean;
459
459
  foreignOverSea: boolean;
460
460
  fullAddress: string;
461
461
  gangAoTai: boolean;
462
462
  latitude: number;
463
463
  latitudeString: string;
464
464
  longitude: number;
465
465
  longitudeString: string;
466
466
  mobile: string;
467
467
  name: string;
468
468
  nameCode: string;
469
469
  operateTime: string;
470
470
  operationType: number;
471
471
  phone: string;
472
472
  postCode: string;
473
473
  provinceId: number;
474
474
  provinceName: string;
475
475
  realMobile: string;
476
476
  retTag: number;
477
477
  selected: boolean;
478
478
  sortTime: string;
479
479
  tagSource: number;
480
480
  townId: number;
481
481
  townName: string;
482
482
  updateTime: string;
483
483
  }
484
484
  export interface ShopHomeDataResponseRes extends RequestResponseFormatRes {
485
485
  readonly ok: boolean;
486
486
  readonly msg?: any;
487
487
  baseInfo?: ComponentInterFace.ShopTotalInfo;
488
488
  extendInfo?: {
489
489
  [key: string]: any;
490
490
  };
491
491
  floorInfo?: {
492
492
  floors: [];
493
493
  pageSet?: object;
494
494
  homeDecorationType?: number;
495
495
  [key: string]: any;
496
496
  };
497
497
  otherInfo?: {
498
498
  [key: string]: any;
499
499
  };
500
500
  menuInfo?: {
501
501
  menuList: [];
502
502
  [key: string]: any;
503
503
  };
504
504
  activityInfo?: {
505
505
  activityRuleType: number;
506
506
  isSign: number;
507
507
  followed: boolean;
508
508
  [key: string]: any;
509
509
  };
510
510
  }
511
511
  export interface ShopPromotionListDataRes extends RequestResponseFormatRes {
512
512
  readonly ok: boolean;
513
513
  readonly msg?: any;
514
514
  noPromotionState?: boolean;
515
515
  shopTotalInfo?: ComponentInterFace.ShopTotalInfo;
516
516
  shopPromotionData?: ComponentInterFace.FloorModuleData;
517
517
  }
518
518
  export interface ShopPromotionDataResponseRes extends RequestResponseFormatRes {
519
519
  readonly ok: boolean;
520
520
  readonly msg?: any;
521
521
  baseInfo?: ComponentInterFace.ShopTotalInfo;
522
522
  extendInfo?: {
523
523
  [key: string]: any;
524
524
  };
525
525
  floorInfo?: {
526
526
  floors: [];
527
527
  pageSet?: object;
528
528
  [key: string]: any;
529
529
  };
530
530
  }
531
531
  export interface SkuToCartDataRes {
532
532
  readonly ok: boolean;
533
533
  [key: string]: any;
534
534
  }
535
535
  export interface FloorInfoPageRequestParam {
536
536
  snapVersion?: string;
537
537
  projectId?: string;
538
538
  pageId?: string;
539
539
  lastFloorIdInPrePage?: string;
540
540
  }