yswk-ui 0.1.4 → 0.1.5

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 (67) hide show
  1. package/dist/index.es.js +4 -4
  2. package/dist/utils/sessionHelper.d.ts +1 -1
  3. package/dist/wkc-ui/component/address/AddressForm/config.json.d.ts +420 -0
  4. package/dist/wkc-ui/component/address/AddressList/config.json.d.ts +643 -0
  5. package/dist/wkc-ui/component/address/script/config.json.d.ts +421 -0
  6. package/dist/wkc-ui/component/base/btn/BtnLink/config.json.d.ts +297 -0
  7. package/dist/wkc-ui/component/base/media/AudioPlayer/config.json.d.ts +149 -0
  8. package/dist/wkc-ui/component/base/media/BlockBackground/config.json.d.ts +656 -0
  9. package/dist/wkc-ui/component/base/media/ImgCommon/config.json.d.ts +196 -0
  10. package/dist/wkc-ui/component/base/media/PageBackground/config.json.d.ts +121 -0
  11. package/dist/wkc-ui/component/base/media/UserImg/config.json.d.ts +138 -0
  12. package/dist/wkc-ui/component/base/media/VideoPlayer/config.json.d.ts +193 -0
  13. package/dist/wkc-ui/component/base/text/ActTimeAlert/config.json.d.ts +64 -0
  14. package/dist/wkc-ui/component/base/text/TextCommon/config.json.d.ts +627 -0
  15. package/dist/wkc-ui/component/base/time/Countdown/config.json.d.ts +151 -0
  16. package/dist/wkc-ui/component/live/LiveEnter/config.json.d.ts +219 -0
  17. package/dist/wkc-ui/component/live/LiveEnter/index.vue.d.ts +10 -1
  18. package/dist/wkc-ui/component/live/LiveEnter/type.d.ts +16 -1
  19. package/dist/wkc-ui/component/live/LivePassword/config.json.d.ts +80 -0
  20. package/dist/wkc-ui/component/live/LivePassword/type.d.ts +4 -5
  21. package/dist/wkc-ui/component/live/LiveStream/components/BarrageList/BarrageList.vue.d.ts +15 -0
  22. package/dist/wkc-ui/component/live/LiveStream/components/PopCom/PopLivePrize.vue.d.ts +19 -0
  23. package/dist/wkc-ui/component/live/LiveStream/components/PopCom/PopMyPrize.vue.d.ts +24 -0
  24. package/dist/wkc-ui/component/live/LiveStream/components/PopCom/PopWinnerList.vue.d.ts +26 -0
  25. package/dist/wkc-ui/component/live/LiveStream/components/Tabs/Chat/MsgInput.vue.d.ts +4 -4
  26. package/dist/wkc-ui/component/live/LiveStream/components/Tabs/Chat/TabChat.vue.d.ts +9 -0
  27. package/dist/wkc-ui/component/live/LiveStream/components/Tabs/PrizeList/TabLivePrize.vue.d.ts +20 -0
  28. package/dist/wkc-ui/component/live/LiveStream/components/Tabs/ShareLiveName.vue.d.ts +26 -0
  29. package/dist/wkc-ui/component/live/LiveStream/components/Tabs/TabGIftRank.vue.d.ts +7 -1
  30. package/dist/wkc-ui/component/live/LiveStream/components/Tabs/TabInfo.vue.d.ts +7 -1
  31. package/dist/wkc-ui/component/live/LiveStream/components/Tabs/TabsIndex.vue.d.ts +4 -0
  32. package/dist/wkc-ui/component/live/LiveStream/components/VideoPlay/VideoPlay.vue.d.ts +19 -5
  33. package/dist/wkc-ui/component/live/LiveStream/config.json.d.ts +1057 -0
  34. package/dist/wkc-ui/component/live/LiveStream/context.d.ts +4 -0
  35. package/dist/wkc-ui/component/live/LiveStream/mockData.d.ts +183 -0
  36. package/dist/wkc-ui/component/live/LiveStream/type.d.ts +123 -31
  37. package/dist/wkc-ui/component/live/LiveText/config.json.d.ts +126 -0
  38. package/dist/wkc-ui/component/live/LiveText/type.d.ts +1 -0
  39. package/dist/wkc-ui/component/live/script/type.d.ts +34 -43
  40. package/dist/wkc-ui/component/lucky/BlindBox/config.json.d.ts +382 -0
  41. package/dist/wkc-ui/component/lucky/FlipCard/config.json.d.ts +218 -0
  42. package/dist/wkc-ui/component/lucky/LuckyBag/config.json.d.ts +157 -0
  43. package/dist/wkc-ui/component/lucky/NineGrid/config.json.d.ts +231 -0
  44. package/dist/wkc-ui/component/lucky/PasswordLottery/config.json.d.ts +229 -0
  45. package/dist/wkc-ui/component/lucky/PlateLottery/config.json.d.ts +308 -0
  46. package/dist/wkc-ui/component/lucky/PrizeDisplay/config.json.d.ts +260 -0
  47. package/dist/wkc-ui/component/lucky/RedPacketRain/config.json.d.ts +125 -0
  48. package/dist/wkc-ui/component/lucky/ScratchCard/config.json.d.ts +175 -0
  49. package/dist/wkc-ui/component/lucky/script/config.json.d.ts +629 -0
  50. package/dist/wkc-ui/component/pop/PopNotice/config.json.d.ts +39 -0
  51. package/dist/wkc-ui/component/pop/PopOverlay/config.json.d.ts +78 -0
  52. package/dist/wkc-ui/component/prize/MyPrizeList/config.json.d.ts +755 -0
  53. package/dist/wkc-ui/component/prize/WinRecordBarrage/config.json.d.ts +189 -0
  54. package/dist/wkc-ui/component/prize/WinRecordList/config.json.d.ts +334 -0
  55. package/dist/wkc-ui/component/scan/ScanTobaInput/config.json.d.ts +1023 -0
  56. package/dist/wkc-ui/component/scan/ScanTobaInput/type.d.ts +3 -3
  57. package/dist/wkc-ui/component/scan/ScanTobaResult/config.json.d.ts +1165 -0
  58. package/dist/wkc-ui/component/scan/ScanTobaResult/type.d.ts +3 -0
  59. package/dist/wkc-ui/component/scan/ScanTobaResultV2/config.json.d.ts +1216 -0
  60. package/dist/wkc-ui/component/scan/ScanTobaResultV2/type.d.ts +3 -0
  61. package/dist/wkc-ui/component/test/CaptchaInput/config.json.d.ts +162 -0
  62. package/dist/wkc-ui/constants.d.ts +14 -0
  63. package/dist/wkc-ui/types/act.d.ts +15 -3
  64. package/dist/wkc-ui/types/component.d.ts +30 -28
  65. package/dist/wkc-ui/types/live.d.ts +100 -0
  66. package/dist/wkc-ui/utils/busiHelper.d.ts +1 -0
  67. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -316,7 +316,7 @@ function ca() {
316
316
  }
317
317
  }
318
318
  function at() {
319
- let c = { qrCode: "", tobaCode: "" };
319
+ let c = { qrCode: "", tobaId: "" };
320
320
  const o = ca();
321
321
  if (!o || !o.scan) return c;
322
322
  const a = o.scan, t = sessionStorage.getItem(a);
@@ -1688,13 +1688,13 @@ const $e = (c) => {
1688
1688
  j < S.value.length && (S.value[j] = y);
1689
1689
  });
1690
1690
  }, G = () => {
1691
- const y = {
1692
- qrCode: at().qrCode || "",
1691
+ const i = at(), y = {
1692
+ qrCode: i.qrCode || "",
1693
1693
  latitude: U.value.lat || 0,
1694
1694
  longitude: U.value.lng || 0,
1695
1695
  verifyCode: S.value.join(""),
1696
1696
  scanId: $.value,
1697
- tobaId: N.value || ""
1697
+ tobaId: i.tobaId || N.value || ""
1698
1698
  };
1699
1699
  return U.value.lat === 0 && delete y.latitude, U.value.lng === 0 && delete y.longitude, y;
1700
1700
  }, ue = async () => {
@@ -15,7 +15,7 @@ export declare function getComIsPreview(): number;
15
15
  export declare function getRouteCacheParams(): any;
16
16
  export declare function getScanRouteParams(): {
17
17
  qrCode: string;
18
- tobaCode: string;
18
+ tobaId: string;
19
19
  };
20
20
  export declare function getLocationInfo(): {
21
21
  lat: number;
@@ -0,0 +1,420 @@
1
+ declare const _default: {
2
+ "id": "AddressForm",
3
+ "name": "地址表单",
4
+ "icon": "icon-address-form",
5
+ "group": "address",
6
+ "version": "0.0.1",
7
+ "desc": "地址编辑表单组件,支持新增和编辑地址,可配置label位置(左侧、顶部、无)",
8
+ "styleSchema": [
9
+ {
10
+ "type": "group-panel",
11
+ "label": "位置",
12
+ "key": "position",
13
+ "renderForm": "position",
14
+ "children": [
15
+ {
16
+ "type": "number",
17
+ "label": "上边距",
18
+ "key": "top",
19
+ "value": 0,
20
+ "min": 0
21
+ },
22
+ {
23
+ "type": "number",
24
+ "label": "左边距",
25
+ "key": "left",
26
+ "value": 0,
27
+ "min": 0
28
+ },
29
+ {
30
+ "type": "boolean",
31
+ "label": "水平居中",
32
+ "key": "centerHorizontal",
33
+ "value": true
34
+ },
35
+ {
36
+ "type": "number",
37
+ "label": "宽度",
38
+ "key": "width",
39
+ "value": 375,
40
+ "min": 200
41
+ },
42
+ {
43
+ "type": "number",
44
+ "label": "高度",
45
+ "key": "height",
46
+ "value": 300,
47
+ "min": 300
48
+ },
49
+ {
50
+ "type": "number",
51
+ "label": "层级",
52
+ "key": "zIndex",
53
+ "value": 10,
54
+ "min": 10,
55
+ "max": 99
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "type": "group-panel",
61
+ "label": "容器样式",
62
+ "key": "container",
63
+ "children": [
64
+ {
65
+ "type": "color",
66
+ "label": "背景色",
67
+ "key": "backgroundColor",
68
+ "value": ""
69
+ },
70
+ {
71
+ "type": "number",
72
+ "label": "内边距",
73
+ "key": "padding",
74
+ "value": 15,
75
+ "min": 0,
76
+ "max": 30
77
+ }
78
+ ]
79
+ },
80
+ {
81
+ "type": "group-panel",
82
+ "label": "表单布局",
83
+ "key": "form",
84
+ "children": [
85
+ {
86
+ "type": "radio",
87
+ "label": "标签位置",
88
+ "key": "labelPosition",
89
+ "value": "none",
90
+ "options": [
91
+ { "label": "左侧", "value": "left" },
92
+ { "label": "顶部", "value": "top" },
93
+ { "label": "无标签", "value": "none" }
94
+ ],
95
+ "desc": "控制表单项标签的显示位置"
96
+ },
97
+ {
98
+ "type": "number",
99
+ "label": "标签宽度",
100
+ "key": "labelWidth",
101
+ "value": 80,
102
+ "min": 60,
103
+ "max": 150,
104
+ "showWhen": {
105
+ "key": "labelPosition",
106
+ "value": "left"
107
+ }
108
+ },
109
+ {
110
+ "type": "color",
111
+ "label": "标签颜色",
112
+ "key": "labelColor",
113
+ "value": "#333333"
114
+ },
115
+ {
116
+ "type": "number",
117
+ "label": "标签字号",
118
+ "key": "labelFontSize",
119
+ "value": 13,
120
+ "min": 12,
121
+ "max": 18
122
+ },
123
+ {
124
+ "type": "color",
125
+ "label": "背景色",
126
+ "key": "backgroundColor",
127
+ "value": ""
128
+ },
129
+ {
130
+ "type": "number",
131
+ "label": "项间距",
132
+ "key": "itemSpacing",
133
+ "value": 15,
134
+ "min": 5,
135
+ "max": 30
136
+ }
137
+ ]
138
+ },
139
+ {
140
+ "type": "group-panel",
141
+ "label": "输入框样式",
142
+ "key": "input",
143
+ "children": [
144
+ {
145
+ "type": "color",
146
+ "label": "背景色",
147
+ "key": "backgroundColor",
148
+ "value": "#FFFFFF"
149
+ },
150
+ {
151
+ "type": "color",
152
+ "label": "文本颜色",
153
+ "key": "textColor",
154
+ "value": "#000000"
155
+ },
156
+ {
157
+ "type": "number",
158
+ "label": "字体大小",
159
+ "key": "fontSize",
160
+ "value": 13,
161
+ "min": 12,
162
+ "max": 18
163
+ },
164
+ {
165
+ "type": "color",
166
+ "label": "占位符颜色",
167
+ "key": "placeholderColor",
168
+ "value": "#8D8B8B"
169
+ },
170
+ {
171
+ "type": "color",
172
+ "label": "边框颜色",
173
+ "key": "borderColor",
174
+ "value": "#EA6B44"
175
+ },
176
+ {
177
+ "type": "number",
178
+ "label": "圆角",
179
+ "key": "borderRadius",
180
+ "value": 4,
181
+ "min": 0,
182
+ "max": 20
183
+ },
184
+ {
185
+ "type": "number",
186
+ "label": "高度",
187
+ "key": "height",
188
+ "value": 36,
189
+ "min": 20,
190
+ "max": 60
191
+ },
192
+ {
193
+ "type": "number",
194
+ "label": "内边距",
195
+ "key": "padding",
196
+ "value": 12,
197
+ "min": 8,
198
+ "max": 20
199
+ }
200
+ ]
201
+ }
202
+ ],
203
+ "businessSchema": [
204
+ {
205
+ "type": "group-panel",
206
+ "label": "占位符文本",
207
+ "key": "placeholders",
208
+ "children": [
209
+ {
210
+ "type": "input",
211
+ "label": "姓名占位符",
212
+ "key": "userName",
213
+ "value": "请输入收件人姓名"
214
+ },
215
+ {
216
+ "type": "input",
217
+ "label": "电话占位符",
218
+ "key": "userPhone",
219
+ "value": "请输入收件人手机号"
220
+ },
221
+ {
222
+ "type": "input",
223
+ "label": "地区占位符",
224
+ "key": "area",
225
+ "value": "请选择您的省/市/县"
226
+ },
227
+ {
228
+ "type": "input",
229
+ "label": "详细地址占位符",
230
+ "key": "streetName",
231
+ "value": "如道路、门牌号、小区..."
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ "type": "group-panel",
237
+ "label": "标签文本",
238
+ "key": "labels",
239
+ "children": [
240
+ {
241
+ "type": "input",
242
+ "label": "姓名标签",
243
+ "key": "userName",
244
+ "value": "收件人"
245
+ },
246
+ {
247
+ "type": "input",
248
+ "label": "电话标签",
249
+ "key": "userPhone",
250
+ "value": "手机号码"
251
+ },
252
+ {
253
+ "type": "input",
254
+ "label": "地区标签",
255
+ "key": "area",
256
+ "value": "地址"
257
+ },
258
+ {
259
+ "type": "input",
260
+ "label": "详细地址标签",
261
+ "key": "streetName",
262
+ "value": "详细地址"
263
+ }
264
+ ]
265
+ }
266
+ ],
267
+ "previewConfig": [
268
+ {
269
+ "name": "组件提供的参数",
270
+ "key": "innerParams",
271
+ "paramsSet": [
272
+ {
273
+ "key": "id",
274
+ "desc": "地址ID(编辑时有值)"
275
+ },
276
+ {
277
+ "key": "userId",
278
+ "desc": "用户ID"
279
+ },
280
+ {
281
+ "key": "userName",
282
+ "desc": "收件人姓名"
283
+ },
284
+ {
285
+ "key": "userPhone",
286
+ "desc": "收件人手机号"
287
+ },
288
+ {
289
+ "key": "provCode",
290
+ "desc": "省份编码"
291
+ },
292
+ {
293
+ "key": "provName",
294
+ "desc": "省份名称"
295
+ },
296
+ {
297
+ "key": "cityCode",
298
+ "desc": "城市编码"
299
+ },
300
+ {
301
+ "key": "cityName",
302
+ "desc": "城市名称"
303
+ },
304
+ {
305
+ "key": "countyCode",
306
+ "desc": "区县编码"
307
+ },
308
+ {
309
+ "key": "countyName",
310
+ "desc": "区县名称"
311
+ },
312
+ {
313
+ "key": "townCode",
314
+ "desc": "乡镇编码"
315
+ },
316
+ {
317
+ "key": "townName",
318
+ "desc": "乡镇名称"
319
+ },
320
+ {
321
+ "key": "streetName",
322
+ "desc": "详细地址"
323
+ },
324
+ {
325
+ "key": "isDefault",
326
+ "desc": "是否默认地址,0否 1是"
327
+ }
328
+ ]
329
+ },
330
+ {
331
+ "name": "保存地址",
332
+ "key": "saveAddress",
333
+ "url": "/weixin/mp/address/save",
334
+ "method": "POST",
335
+ "paramsSet": [
336
+ {
337
+ "key": "id",
338
+ "isData": true,
339
+ "value": "$id$"
340
+ },
341
+ {
342
+ "key": "userId",
343
+ "isData": true,
344
+ "value": "$userId$"
345
+ },
346
+ {
347
+ "key": "userName",
348
+ "isData": true,
349
+ "value": "$userName$"
350
+ },
351
+ {
352
+ "key": "userPhone",
353
+ "isData": true,
354
+ "value": "$userPhone$"
355
+ },
356
+ {
357
+ "key": "provCode",
358
+ "isData": true,
359
+ "value": "$provCode$"
360
+ },
361
+ {
362
+ "key": "provName",
363
+ "isData": true,
364
+ "value": "$provName$"
365
+ },
366
+ {
367
+ "key": "cityCode",
368
+ "isData": true,
369
+ "value": "$cityCode$"
370
+ },
371
+ {
372
+ "key": "cityName",
373
+ "isData": true,
374
+ "value": "$cityName$"
375
+ },
376
+ {
377
+ "key": "countyCode",
378
+ "isData": true,
379
+ "value": "$countyCode$"
380
+ },
381
+ {
382
+ "key": "countyName",
383
+ "isData": true,
384
+ "value": "$countyName$"
385
+ },
386
+ {
387
+ "key": "townCode",
388
+ "isData": true,
389
+ "value": "$townCode$"
390
+ },
391
+ {
392
+ "key": "townName",
393
+ "isData": true,
394
+ "value": "$townName$"
395
+ },
396
+ {
397
+ "key": "streetName",
398
+ "isData": true,
399
+ "value": "$streetName$"
400
+ },
401
+ {
402
+ "key": "isDefault",
403
+ "isData": true,
404
+ "value": "$isDefault$"
405
+ }
406
+ ],
407
+ "mockFields": [],
408
+ "response": {
409
+ "code": 0,
410
+ "message": "保存成功",
411
+ "data": {
412
+ "id": "addr_new_001"
413
+ }
414
+ }
415
+ }
416
+ ]
417
+ }
418
+ ;
419
+
420
+ export default _default;