@conecli/cone-render 0.10.1-shop3.85 → 0.10.1-shop3.86
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.
- package/dist/common/accessibility.h5.ts +1 -1
- package/dist/common/const.ts +1 -1
- package/dist/components/base/NetworkDataError/const.ts +1 -1
- package/dist/components/base/NetworkDataError/index.module.scss +1 -1
- package/dist/interface/jumpEventReport.ts +1 -1
- package/dist/jumpEventReport/base.ts +1 -1
- package/dist/jumpEventReport/jdJumpJdApp.ts +1 -1
- package/dist/jumpEventReport/jumpUrlConfig/base.ts +1 -1
- package/dist/jumpEventReport/logEventConfig.h5.ts +1 -1
- package/dist/language/en_US.json +22 -0
- package/dist/language/zh_CN.json +22 -0
- package/dist/language/zh_HK.json +22 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import { NETWORK_DATA_TYPE } from '../../../common/const';
|
|
2
1
|
[NETWORK_DATA_TYPE.NO_NET_WORK]: global?.languageJsonData?.loseNetwork || '网络连接已断开',
|
|
3
2
|
[NETWORK_DATA_TYPE.DATA_ERROR]:
|
|
4
3
|
global?.languageJsonData?.highTraffic || '活动太火爆,访问人数较多',
|
|
5
4
|
[NETWORK_DATA_TYPE.NO_DATA]: global?.languageJsonData?.highTraffic || '活动太火爆,访问人数较多',
|
|
6
5
|
[NETWORK_DATA_TYPE.RISK]: global?.languageJsonData?.highTraffic || '活动太火爆,访问人数较多',
|
|
7
6
|
[NETWORK_DATA_TYPE.NO_NET_WORK]: global?.languageJsonData?.checkNetwork || '请检查您的网络设置',
|
|
8
7
|
[NETWORK_DATA_TYPE.DATA_ERROR]:
|
|
9
8
|
global?.languageJsonData?.pageLoadFailed || '排队进场中,请稍后再试',
|
|
10
9
|
[NETWORK_DATA_TYPE.NO_DATA]: global?.languageJsonData?.pageLoadFailed || '排队进场中,请稍后再试',
|
|
11
10
|
[NETWORK_DATA_TYPE.RISK]: `${
|
|
12
11
|
global?.languageJsonData?.pageLoadFailed || '排队进场中,请稍后再试'
|
|
13
12
|
}。`,
|
|
14
13
|
NETWORK_DATA_TYPE.NO_NET_WORK,
|
|
15
14
|
NETWORK_DATA_TYPE.DATA_ERROR,
|
|
16
15
|
NETWORK_DATA_TYPE.NO_DATA,
|
|
17
16
|
NETWORK_DATA_TYPE.RISK,
|
|
18
17
|
PART: 'part',
|
|
19
18
|
FULL: 'full',
|
|
20
19
|
No_Data_Default_Tip: 'no-data-default-tip',
|
|
21
20
|
No_Data_Tip_1: 'no-data-tip-1',
|
|
22
21
|
No_Data_Tip_2: 'no-data-tip-2',
|
|
23
22
|
No_Network_Err_Tip: 'no-network',
|
|
24
23
|
No_Data_Bmall: 'no-data-bmall',
|
|
25
24
|
OLD: 'old',
|
|
26
25
|
NEW: 'new',
|
|
26
|
+
import { NETWORK_DATA_TYPE } from '../../../common/const';
|
|
27
27
|
[NETWORK_DATA_TYPE.NO_NET_WORK]: global?.languageJsonData?.loseNetwork || '网络连接已断开',
|
|
28
28
|
[NETWORK_DATA_TYPE.DATA_ERROR]:
|
|
29
29
|
global?.languageJsonData?.highTraffic || '活动太火爆,访问人数较多',
|
|
30
30
|
[NETWORK_DATA_TYPE.NO_DATA]: global?.languageJsonData?.highTraffic || '活动太火爆,访问人数较多',
|
|
31
31
|
[NETWORK_DATA_TYPE.RISK]: global?.languageJsonData?.highTraffic || '活动太火爆,访问人数较多',
|
|
32
32
|
[NETWORK_DATA_TYPE.NOT_LOGIN]: global?.languageJsonData?.notLogin || '登录后,购物更轻松~',
|
|
33
33
|
[NETWORK_DATA_TYPE.NO_NET_WORK]: global?.languageJsonData?.checkNetwork || '请检查您的网络设置',
|
|
34
34
|
[NETWORK_DATA_TYPE.DATA_ERROR]:
|
|
35
35
|
global?.languageJsonData?.pageLoadFailed || '排队进场中,请稍后再试',
|
|
36
36
|
[NETWORK_DATA_TYPE.NO_DATA]: global?.languageJsonData?.pageLoadFailed || '排队进场中,请稍后再试',
|
|
37
37
|
[NETWORK_DATA_TYPE.RISK]: `${global?.languageJsonData?.pageLoadFailed || '排队进场中,请稍后再试'
|
|
38
38
|
}。`,
|
|
39
39
|
[NETWORK_DATA_TYPE.NOT_LOGIN]: '',
|
|
40
40
|
NETWORK_DATA_TYPE.NO_NET_WORK,
|
|
41
41
|
NETWORK_DATA_TYPE.DATA_ERROR,
|
|
42
42
|
NETWORK_DATA_TYPE.NO_DATA,
|
|
43
43
|
NETWORK_DATA_TYPE.RISK,
|
|
44
44
|
NETWORK_DATA_TYPE.NOT_LOGIN,
|
|
45
45
|
PART: 'part',
|
|
46
46
|
FULL: 'full',
|
|
47
47
|
No_Data_Default_Tip: 'no-data-default-tip',
|
|
48
48
|
No_Data_Tip_1: 'no-data-tip-1',
|
|
49
49
|
No_Data_Tip_2: 'no-data-tip-2',
|
|
50
50
|
No_Network_Err_Tip: 'no-network',
|
|
51
51
|
No_Data_Bmall: 'no-data-bmall',
|
|
52
52
|
OLD: 'old',
|
|
53
53
|
NEW: 'new',
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
.d-risk {
|
|
92
92
|
background-image: url('https://img11.360buyimg.com/imagetools/jfs/t1/256437/5/21857/22576/67b438adFed8a2665/7df7277fec7e3e8e.png');
|
|
93
93
|
}
|
|
94
|
-
.d-no-data {
|
|
94
|
+
.d-no-data, .d-no-login {
|
|
95
95
|
background-image: url('https://img11.360buyimg.com/imagetools/jfs/t1/256437/5/21857/22576/67b438adFed8a2665/7df7277fec7e3e8e.png');
|
|
96
96
|
}
|
|
97
97
|
.d-no-data-tip-1 {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare namespace JumpEventReportInterFace {
|
|
2
1
|
export interface ShopIdsInfo {
|
|
3
2
|
shopId?: number | string;
|
|
4
3
|
venderId?: number | string;
|
|
5
4
|
logEventInfo?: object;
|
|
6
5
|
type?: string;
|
|
7
6
|
}
|
|
8
7
|
export interface RouterInfo {
|
|
9
8
|
params: any;
|
|
10
9
|
pageParamStr?: string;
|
|
11
10
|
[key: string]: any;
|
|
12
11
|
}
|
|
13
12
|
export interface JumpMiniPath {
|
|
14
13
|
shop: string;
|
|
15
14
|
shopx: string;
|
|
16
15
|
detail: string;
|
|
17
16
|
searchCoupon: string;
|
|
18
17
|
h5: string;
|
|
19
18
|
jingGouHome: string;
|
|
20
19
|
shopFans: string;
|
|
21
20
|
shopLight: string;
|
|
22
21
|
couponSearch: string;
|
|
23
22
|
shopSearch: string;
|
|
24
23
|
jxCouponSearch: string;
|
|
25
24
|
jxDetail: string;
|
|
26
25
|
jdLive: string;
|
|
27
26
|
}
|
|
28
27
|
export interface jumpWebUrl {
|
|
29
28
|
mshop: string;
|
|
30
29
|
pages: string;
|
|
31
30
|
pcCoupon: string;
|
|
32
31
|
couponSearch: string;
|
|
33
32
|
jxCouponSearch: string;
|
|
34
33
|
pcCouponSearch: string;
|
|
35
34
|
shopSecondActivity: string;
|
|
36
35
|
shopLight: string;
|
|
37
36
|
detail: string;
|
|
38
37
|
jxDetail: string;
|
|
39
38
|
tjDetail: string;
|
|
40
39
|
pcDetail: string;
|
|
41
40
|
mobileHome: string;
|
|
42
41
|
rank: string;
|
|
43
42
|
wqShopMember: string;
|
|
44
43
|
wqShopDetail: string;
|
|
45
44
|
wqShopSearch: string;
|
|
46
45
|
myCouponList: string;
|
|
47
46
|
myRedPacketList: string;
|
|
48
47
|
memberHome: string;
|
|
49
48
|
memberCard: string;
|
|
50
49
|
memberPoints: string;
|
|
51
50
|
memberBenefit: string;
|
|
52
51
|
memberScores: string;
|
|
53
52
|
memberScoreRule: string;
|
|
54
53
|
memberProduct: string;
|
|
55
54
|
shopMember: string;
|
|
56
55
|
shopMemberPointDetail: string;
|
|
57
56
|
shopMemberBenefit: string;
|
|
58
57
|
shopMemberRule: string;
|
|
59
58
|
shopMemberCloseAccount: string;
|
|
60
59
|
shopMemberPointExchange: string;
|
|
61
60
|
shopMemberBonusPurchase: string;
|
|
62
61
|
shopMemberGood: string;
|
|
63
62
|
beanDetail: string;
|
|
64
63
|
totalPromotion: string;
|
|
65
64
|
mLive: string;
|
|
66
65
|
shopHome: string;
|
|
67
66
|
shopIntroduce: string;
|
|
68
67
|
shopSearch: string;
|
|
69
68
|
shopLottery: string;
|
|
70
69
|
shopCoupon: string;
|
|
71
70
|
shopWares: string;
|
|
72
71
|
shopFastShopping: string;
|
|
73
72
|
shopSpeciSeckill: string;
|
|
74
73
|
shopVideos: string;
|
|
75
74
|
shopMoreGoods: string;
|
|
76
75
|
shopUseShareOrderUgcContent: string;
|
|
77
76
|
dongDongChat: string;
|
|
78
77
|
samCenter: string;
|
|
79
78
|
samCard: string;
|
|
80
79
|
shopH5MemberCardAPP: string;
|
|
81
80
|
shopH5MemberCardM: string;
|
|
82
81
|
sageAuthorHome: string;
|
|
83
82
|
shopMemberInfoEdit: string;
|
|
84
83
|
cart: string;
|
|
85
84
|
}
|
|
86
85
|
export interface EventReportConfig {
|
|
87
86
|
routerInfo: RouterInfo;
|
|
88
87
|
nativeEvent: any;
|
|
89
88
|
}
|
|
90
89
|
export interface OptEventLogParams {
|
|
91
90
|
eventId?: string;
|
|
92
91
|
eventParam?: string | object;
|
|
93
92
|
pTag?: string;
|
|
94
93
|
jsonParam?: {
|
|
95
94
|
[key: string]: any;
|
|
96
95
|
};
|
|
97
96
|
skuId?: string | number;
|
|
98
97
|
eventLevel?: string;
|
|
99
98
|
exposureState?: boolean;
|
|
100
99
|
otherParams?: object;
|
|
101
100
|
spmAllCode?: string;
|
|
102
101
|
spmCodeForCD?: string;
|
|
103
102
|
}
|
|
104
103
|
|
|
105
104
|
export interface JumpH5ReportConfig {
|
|
106
105
|
shopId?: number | string;
|
|
107
106
|
venderId?: number | string;
|
|
108
107
|
sourceValue?: string;
|
|
109
108
|
sourceType?: string;
|
|
110
109
|
}
|
|
111
110
|
export interface JumpEventReportInit extends EventReportConfig {
|
|
112
111
|
getConfig(opt): EventReportConfig;
|
|
113
112
|
updateInfo(routerInfo, logPname): void;
|
|
114
113
|
}
|
|
115
114
|
export interface CouponUrlParams {
|
|
116
115
|
batchId: number;
|
|
117
116
|
bindType: number;
|
|
118
117
|
startTime?: number;
|
|
119
118
|
endTime?: number;
|
|
120
119
|
quangoufrom?: number;
|
|
121
120
|
sceneId?: number;
|
|
122
121
|
}
|
|
123
122
|
export interface JdMiniJumpParams {
|
|
124
123
|
param: string | object;
|
|
125
124
|
sourceValue?: string;
|
|
126
125
|
sourceType?: string;
|
|
127
126
|
des?: any;
|
|
128
127
|
logEventInfo?: object;
|
|
129
128
|
useEncodeParams?: boolean;
|
|
130
129
|
}
|
|
131
130
|
export interface LinkMiniParams {
|
|
132
131
|
param?: {
|
|
133
132
|
pageType?: string;
|
|
134
133
|
};
|
|
135
134
|
appId?: string | number;
|
|
136
135
|
path?: string;
|
|
137
136
|
}
|
|
138
137
|
export interface JdJumpWxappReportConfig {
|
|
139
138
|
wxApiVersion: string;
|
|
140
139
|
wxApiUrl: string;
|
|
141
140
|
wqReportUrl: string;
|
|
142
141
|
}
|
|
142
|
+
export declare namespace JumpEventReportInterFace {
|
|
143
143
|
export interface ShopIdsInfo {
|
|
144
144
|
shopId?: number | string;
|
|
145
145
|
venderId?: number | string;
|
|
146
146
|
logEventInfo?: object;
|
|
147
147
|
type?: string;
|
|
148
148
|
}
|
|
149
149
|
export interface RouterInfo {
|
|
150
150
|
params: any;
|
|
151
151
|
pageParamStr?: string;
|
|
152
152
|
[key: string]: any;
|
|
153
153
|
}
|
|
154
154
|
export interface JumpMiniPath {
|
|
155
155
|
shop: string;
|
|
156
156
|
shopx: string;
|
|
157
157
|
detail: string;
|
|
158
158
|
searchCoupon: string;
|
|
159
159
|
h5: string;
|
|
160
160
|
jingGouHome: string;
|
|
161
161
|
shopFans: string;
|
|
162
162
|
shopLight: string;
|
|
163
163
|
couponSearch: string;
|
|
164
164
|
shopSearch: string;
|
|
165
165
|
jxCouponSearch: string;
|
|
166
166
|
jxDetail: string;
|
|
167
167
|
jdLive: string;
|
|
168
168
|
}
|
|
169
169
|
export interface jumpWebUrl {
|
|
170
170
|
mshop: string;
|
|
171
171
|
pages: string;
|
|
172
172
|
pcCoupon: string;
|
|
173
173
|
couponSearch: string;
|
|
174
174
|
jxCouponSearch: string;
|
|
175
175
|
pcCouponSearch: string;
|
|
176
176
|
shopSecondActivity: string;
|
|
177
177
|
shopLight: string;
|
|
178
178
|
detail: string;
|
|
179
179
|
jxDetail: string;
|
|
180
180
|
tjDetail: string;
|
|
181
181
|
pcDetail: string;
|
|
182
182
|
mobileHome: string;
|
|
183
183
|
rank: string;
|
|
184
184
|
wqShopMember: string;
|
|
185
185
|
wqShopDetail: string;
|
|
186
186
|
wqShopSearch: string;
|
|
187
187
|
myCouponList: string;
|
|
188
188
|
myRedPacketList: string;
|
|
189
189
|
memberHome: string;
|
|
190
190
|
memberCard: string;
|
|
191
191
|
memberPoints: string;
|
|
192
192
|
memberBenefit: string;
|
|
193
193
|
memberScores: string;
|
|
194
194
|
memberScoreRule: string;
|
|
195
195
|
memberProduct: string;
|
|
196
196
|
shopMember: string;
|
|
197
197
|
shopMemberPointDetail: string;
|
|
198
198
|
shopMemberBenefit: string;
|
|
199
199
|
shopMemberRule: string;
|
|
200
200
|
shopMemberCloseAccount: string;
|
|
201
201
|
shopMemberPointExchange: string;
|
|
202
202
|
shopMemberBonusPurchase: string;
|
|
203
203
|
shopMemberGood: string;
|
|
204
204
|
beanDetail: string;
|
|
205
205
|
totalPromotion: string;
|
|
206
206
|
mLive: string;
|
|
207
207
|
shopHome: string;
|
|
208
208
|
shopIntroduce: string;
|
|
209
209
|
shopSearch: string;
|
|
210
210
|
shopLottery: string;
|
|
211
211
|
shopCoupon: string;
|
|
212
212
|
shopWares: string;
|
|
213
213
|
shopFastShopping: string;
|
|
214
214
|
shopSpeciSeckill: string;
|
|
215
215
|
shopVideos: string;
|
|
216
216
|
shopMoreGoods: string;
|
|
217
217
|
shopUseShareOrderUgcContent: string;
|
|
218
218
|
dongDongChat: string;
|
|
219
219
|
samCenter: string;
|
|
220
220
|
samCard: string;
|
|
221
221
|
shopH5MemberCardAPP: string;
|
|
222
222
|
shopH5MemberCardM: string;
|
|
223
223
|
sageAuthorHome: string;
|
|
224
224
|
shopMemberInfoEdit: string;
|
|
225
225
|
cart: string;
|
|
226
226
|
memberPaidCenter: string;
|
|
227
227
|
memberPaidCard: string;
|
|
228
228
|
memberPaidBind: string;
|
|
229
229
|
}
|
|
230
230
|
export interface EventReportConfig {
|
|
231
231
|
routerInfo: RouterInfo;
|
|
232
232
|
nativeEvent: any;
|
|
233
233
|
}
|
|
234
234
|
export interface OptEventLogParams {
|
|
235
235
|
eventId?: string;
|
|
236
236
|
eventParam?: string | object;
|
|
237
237
|
pTag?: string;
|
|
238
238
|
jsonParam?: {
|
|
239
239
|
[key: string]: any;
|
|
240
240
|
};
|
|
241
241
|
skuId?: string | number;
|
|
242
242
|
eventLevel?: string;
|
|
243
243
|
exposureState?: boolean;
|
|
244
244
|
otherParams?: object;
|
|
245
245
|
spmAllCode?: string;
|
|
246
246
|
spmCodeForCD?: string;
|
|
247
247
|
}
|
|
248
248
|
|
|
249
249
|
export interface JumpH5ReportConfig {
|
|
250
250
|
shopId?: number | string;
|
|
251
251
|
venderId?: number | string;
|
|
252
252
|
sourceValue?: string;
|
|
253
253
|
sourceType?: string;
|
|
254
254
|
}
|
|
255
255
|
export interface JumpEventReportInit extends EventReportConfig {
|
|
256
256
|
getConfig(opt): EventReportConfig;
|
|
257
257
|
updateInfo(routerInfo, logPname): void;
|
|
258
258
|
}
|
|
259
259
|
export interface CouponUrlParams {
|
|
260
260
|
batchId: number;
|
|
261
261
|
bindType: number;
|
|
262
262
|
startTime?: number;
|
|
263
263
|
endTime?: number;
|
|
264
264
|
quangoufrom?: number;
|
|
265
265
|
sceneId?: number;
|
|
266
266
|
}
|
|
267
267
|
export interface JdMiniJumpParams {
|
|
268
268
|
param: string | object;
|
|
269
269
|
sourceValue?: string;
|
|
270
270
|
sourceType?: string;
|
|
271
271
|
des?: any;
|
|
272
272
|
logEventInfo?: object;
|
|
273
273
|
useEncodeParams?: boolean;
|
|
274
274
|
}
|
|
275
275
|
export interface LinkMiniParams {
|
|
276
276
|
param?: {
|
|
277
277
|
pageType?: string;
|
|
278
278
|
};
|
|
279
279
|
appId?: string | number;
|
|
280
280
|
path?: string;
|
|
281
281
|
}
|
|
282
282
|
export interface JdJumpWxappReportConfig {
|
|
283
283
|
wxApiVersion: string;
|
|
284
284
|
wxApiUrl: string;
|
|
285
285
|
wqReportUrl: string;
|
|
286
286
|
}
|