@conecli/cone-render 0.10.1-shop3.126 → 0.10.1-shop3.128

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