@10yun/cv-mobile-ui 0.5.14 → 0.5.15

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 (47) hide show
  1. package/package.json +1 -1
  2. package/ui-cv/cv-banner/cv-banner.vue +1 -0
  3. package/ui-cv/cv-banner-card/cv-banner-card.vue +1 -0
  4. package/ui-cv/cv-base-audio/cv-base-audio.vue +1 -0
  5. package/ui-cv/cv-cell-row/cv-cell-row.vue +1 -1
  6. package/ui-cv/cv-checkbox-group/cv-checkbox-group.vue +1 -0
  7. package/ui-cv/cv-code-sms/cv-code-sms.vue +1 -0
  8. package/ui-cv/cv-date-base/cv-date-base.vue +1 -0
  9. package/ui-cv/cv-datetime-base/cv-datetime-base.vue +1 -0
  10. package/ui-cv/cv-datetime-linkage/cv-datetime-linkage.vue +1 -0
  11. package/ui-cv/cv-dialog-bottom/cv-dialog-bottom.vue +1 -0
  12. package/ui-cv/cv-dialog-share/cv-dialog-share.vue +2 -0
  13. package/ui-cv/cv-draw-barcode/cv-draw-barcode.vue +1 -0
  14. package/ui-cv/cv-draw-posters/cv-draw-posters.vue +1 -0
  15. package/ui-cv/cv-draw-qrcode/cv-draw-qrcode.vue +1 -0
  16. package/ui-cv/cv-editor-parse/cv-editor-parse.vue +1 -0
  17. package/ui-cv/cv-editor-parse/u-parse.vue +1 -0
  18. package/ui-cv/cv-editor-quill/cv-editor-quill.vue +1 -0
  19. package/ui-cv/cv-filter-hm/cv-filter-hm.vue +1 -0
  20. package/ui-cv/cv-form-base/cv-form-base.vue +0 -1
  21. package/ui-cv/cv-geo-local/cv-geo-local.vue +1 -0
  22. package/ui-cv/cv-geo-region/cv-geo-region.vue +1 -0
  23. package/ui-cv/cv-input-digit/cv-input-digit.vue +1 -0
  24. package/ui-cv/cv-input-idcard/cv-input-idcard.vue +1 -0
  25. package/ui-cv/cv-input-number/cv-input-number.vue +1 -0
  26. package/ui-cv/cv-input-password/cv-input-password.vue +1 -0
  27. package/ui-cv/cv-input-text/cv-input-text.vue +1 -0
  28. package/ui-cv/cv-lists-base/cv-lists-base.vue +1 -0
  29. package/ui-cv/cv-lists-swiper/cv-lists-swipe2r.vue +1 -0
  30. package/ui-cv/cv-lists-swiper/cv-lists-swiper.vue +1 -0
  31. package/ui-cv/cv-nav-col/cv-nav-col.vue +1 -0
  32. package/ui-cv/cv-picker1/cv-picker1.vue +1 -0
  33. package/ui-cv/cv-picker2/cv-picker2.vue +1 -0
  34. package/ui-cv/cv-picker3/cv-picker3.vue +1 -0
  35. package/ui-cv/cv-radio-group/cv-radio-group.vue +1 -0
  36. package/ui-cv/cv-rate/cv-rate.vue +1 -0
  37. package/ui-cv/cv-rate/uni-rate.vue +1 -0
  38. package/ui-cv/cv-search/cv-search.vue +1 -0
  39. package/ui-cv/cv-specs/cv-specs.vue +1 -0
  40. package/ui-cv/cv-switch/cv-switch.vue +1 -0
  41. package/ui-cv/cv-tab-lists/cv-tab-lists.vue +1 -0
  42. package/ui-cv/cv-tabs-box/cv-tabs-box.vue +1 -0
  43. package/ui-cv/cv-textarea/cv-textarea.vue +1 -0
  44. package/ui-cv/cv-time-base/cv-time-base.vue +1 -0
  45. package/ui-cv/cv-treaty/cv-treaty.vue +1 -1
  46. package/ui-cv/cv-upload-avatar/cv-upload-avatar.vue +1 -0
  47. package/ui-cv/cv-upload-image/cv-upload-image.vue +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@10yun/cv-mobile-ui",
3
- "version": "0.5.14",
3
+ "version": "0.5.15",
4
4
  "description": "十云cvjs移动端ui,适用uniapp",
5
5
  "author": "10yun",
6
6
  "license": "Apache-2.0",
@@ -27,6 +27,7 @@
27
27
  <script>
28
28
  export default {
29
29
  name: 'cvBanner',
30
+ emits: ['change'],
30
31
  options: {
31
32
  addGlobalClass: true
32
33
  },
@@ -27,6 +27,7 @@
27
27
  <script>
28
28
  export default {
29
29
  name: 'cvBannerCard',
30
+ emits: ['change'],
30
31
  options: {
31
32
  addGlobalClass: true
32
33
  },
@@ -50,6 +50,7 @@ function sToHs(s) {
50
50
  }
51
51
  export default {
52
52
  name: 'ComAudio',
53
+ emits: ['update:play'],
53
54
  props: {
54
55
  // 是否播放或暂停
55
56
  play: {
@@ -38,8 +38,8 @@
38
38
 
39
39
  <script>
40
40
  export default {
41
+ name: 'cvCellRow',
41
42
  emits: ['click'],
42
- name: 'cvCell',
43
43
  options: {
44
44
  addGlobalClass: true
45
45
  },
@@ -37,6 +37,7 @@ import cvCheckboxOptBase from '../cv-checkbox-opt-base/cv-checkbox-opt-base.vue'
37
37
  import cvCheckboxOptTag from '../cv-checkbox-opt-tag/cv-checkbox-opt-tag.vue';
38
38
  export default {
39
39
  name: 'cvCheckboxGroup',
40
+ emits: ['input', 'update:modelValue'],
40
41
  components: {
41
42
  cvCheckboxOptBase,
42
43
  cvCheckboxOptTag
@@ -27,6 +27,7 @@
27
27
  <script>
28
28
  export default {
29
29
  name: 'cvCodeSms',
30
+ emits: ['input', 'update:modelValue'],
30
31
  props: {
31
32
  value: {
32
33
  type: [Number, String],
@@ -19,6 +19,7 @@
19
19
  <script>
20
20
  export default {
21
21
  name: 'cvDateBase',
22
+ emits: ['input', 'update:modelValue'],
22
23
  props: {
23
24
  //默认输入框
24
25
  value: {
@@ -32,6 +32,7 @@
32
32
  <script>
33
33
  export default {
34
34
  name: 'cvDatetimeBase',
35
+ emits: ['input', 'update:modelValue'],
35
36
  props: {
36
37
  //默认输入框
37
38
  value: {
@@ -20,6 +20,7 @@
20
20
  <script>
21
21
  export default {
22
22
  name: 'cvDatetimeLinkage',
23
+ emits: ['input', 'update:modelValue'],
23
24
  props: {
24
25
  //默认输入框内容
25
26
  value: {
@@ -17,6 +17,7 @@
17
17
  <script>
18
18
  export default {
19
19
  name: 'cvDialogBottom',
20
+ emits: ['confirm'],
20
21
  options: {
21
22
  addGlobalClass: true
22
23
  },
@@ -27,6 +27,8 @@
27
27
  </template>
28
28
  <script>
29
29
  export default {
30
+ name: 'cvDialogShare',
31
+ emits: ['input', 'update:modelValue'],
30
32
  props: {
31
33
  value: {
32
34
  type: [String, Number],
@@ -33,6 +33,7 @@ const opations = {
33
33
  };
34
34
  export default {
35
35
  name: 'cvDrawBarcode',
36
+ emits: ['resule'],
36
37
  props: {
37
38
  show: {
38
39
  type: Boolean,
@@ -5,6 +5,7 @@
5
5
  const CACHE_KEYS = 'cv_draw_posters_cache';
6
6
  export default {
7
7
  name: 'cvDrawPosters',
8
+ emits: ['error', 'success'],
8
9
  props: {
9
10
  postersData: {
10
11
  type: Object,
@@ -16,6 +16,7 @@ import QRCode from './qrcode.js';
16
16
  let qrcode;
17
17
  export default {
18
18
  name: 'cvDrawQrcode',
19
+ emits: ['result'],
19
20
  props: {
20
21
  cid: {
21
22
  type: String,
@@ -18,6 +18,7 @@ import HtmlToJson from './libs/html2json';
18
18
  import wxParseTemplate from './components/wxParseTemplate0';
19
19
  export default {
20
20
  name: 'wxParse',
21
+ emits: ['navigate', 'preview'],
21
22
  props: {
22
23
  loading: {
23
24
  type: Boolean,
@@ -21,6 +21,7 @@ import wxParseTemplate from './components/wxParseTemplate0';
21
21
 
22
22
  export default {
23
23
  name: 'wxParse',
24
+ emits: ['navigate', 'preview'],
24
25
  props: {
25
26
  loading: {
26
27
  type: Boolean,
@@ -150,6 +150,7 @@ export default {
150
150
  helangCompress
151
151
  },
152
152
  name: 'cvEditorQuill',
153
+ emits: ['input', 'update:modelValue'],
153
154
  props: {
154
155
  value: {
155
156
  type: String,
@@ -141,6 +141,7 @@
141
141
  export default {
142
142
  component: true,
143
143
  name: 'cvFilterHm',
144
+ emits: ['confirm'],
144
145
  data() {
145
146
  return {
146
147
  subData: [], //菜单数据
@@ -243,7 +243,6 @@ export default {
243
243
  this.$emit('update:modelValue', Object.assign({}, this.value, this.formData));
244
244
  return example.triggerCheck(value, callback);
245
245
  },
246
-
247
246
  /**
248
247
  * 表单重置
249
248
  * @param {Object} event
@@ -29,6 +29,7 @@
29
29
  <script>
30
30
  export default {
31
31
  name: 'cvGeoLocal',
32
+ emits: ['input', 'update:modelValue', 'location'],
32
33
  options: {
33
34
  addGlobalClass: true
34
35
  },
@@ -26,6 +26,7 @@ import city from '../dict/area-city.js';
26
26
  import county from '../dict/area-county.js';
27
27
  export default {
28
28
  name: 'cvPickerRegion',
29
+ emits: ['input', 'update:modelValue', 'onChoose'],
29
30
  props: {
30
31
  value: {
31
32
  type: [Array, Object],
@@ -26,6 +26,7 @@
26
26
  <script>
27
27
  export default {
28
28
  name: 'cvInputDigit',
29
+ emits: ['input', 'update:modelValue'],
29
30
  props: {
30
31
  value: {
31
32
  type: [Number, String],
@@ -22,6 +22,7 @@
22
22
  <script>
23
23
  export default {
24
24
  name: 'cvInputIdcard',
25
+ emits: ['input', 'update:modelValue'],
25
26
  props: {
26
27
  value: {
27
28
  type: [Number, String],
@@ -25,6 +25,7 @@
25
25
  <script>
26
26
  export default {
27
27
  name: 'cvInputNumber',
28
+ emits: ['input', 'update:modelValue'],
28
29
  props: {
29
30
  value: {
30
31
  type: [Number, String],
@@ -32,6 +32,7 @@
32
32
  <script>
33
33
  export default {
34
34
  name: 'cvInputPassword',
35
+ emits: ['input', 'update:modelValue'],
35
36
  props: {
36
37
  value: {
37
38
  type: [Number, String],
@@ -26,6 +26,7 @@
26
26
  <script>
27
27
  export default {
28
28
  name: 'cvInputText',
29
+ emits: ['input', 'update:modelValue'],
29
30
  options: {
30
31
  addGlobalClass: true
31
32
  },
@@ -43,6 +43,7 @@
43
43
  <script>
44
44
  export default {
45
45
  name: 'cvListsBase',
46
+ emits: ['change', 'dataList', 'update:dataList'],
46
47
  props: {
47
48
  tabsConfig: {
48
49
  type: [Array, Function],
@@ -48,6 +48,7 @@
48
48
 
49
49
  export default {
50
50
  name: 'cv-lists-swiper',
51
+ emits: ['click', 'close'],
51
52
  props: {
52
53
  tabsArr: {
53
54
  type: [Array, Object],
@@ -83,6 +83,7 @@
83
83
  <script>
84
84
  export default {
85
85
  name: 'cvListsSwiper',
86
+ emits: ['onAjaxData'],
86
87
  props: {
87
88
  // tabs 配置
88
89
  tabsConfig: {
@@ -18,6 +18,7 @@
18
18
  <script>
19
19
  export default {
20
20
  name: 'cvNavCol',
21
+ emits: ['click'],
21
22
  options: {
22
23
  addGlobalClass: true,
23
24
  virtualHost: true
@@ -18,6 +18,7 @@
18
18
  <script>
19
19
  export default {
20
20
  name: 'cvPicker1',
21
+ emits: ['input', 'update:modelValue'],
21
22
  props: {
22
23
  value: {
23
24
  type: [Number, String],
@@ -24,6 +24,7 @@
24
24
  <script>
25
25
  export default {
26
26
  name: 'cvPicker2',
27
+ emits: ['input', 'update:modelValue'],
27
28
  props: {
28
29
  value: {
29
30
  type: [Array],
@@ -35,6 +35,7 @@
35
35
  <script>
36
36
  export default {
37
37
  name: 'cvPicker3',
38
+ emits: ['input', 'update:modelValue'],
38
39
  props: {
39
40
  value: {
40
41
  type: [Array],
@@ -36,6 +36,7 @@ import cvRadioOptBase from '../cv-radio-opt-base/cv-radio-opt-base.vue';
36
36
  import cvRadioOptTag from '../cv-radio-opt-tag/cv-radio-opt-tag.vue';
37
37
  export default {
38
38
  name: 'cvRadioGroup',
39
+ emits: ['input', 'update:modelValue'],
39
40
  components: {
40
41
  cvRadioOptBase,
41
42
  cvRadioOptTag
@@ -17,6 +17,7 @@
17
17
  <script>
18
18
  export default {
19
19
  name: 'cvRate',
20
+ emits: ['input', 'update:modelValue'],
20
21
  props: {
21
22
  // 当前评分
22
23
  value: {
@@ -54,6 +54,7 @@ const dom = uni.requireNativePlugin('dom');
54
54
 
55
55
  export default {
56
56
  name: 'UniRate',
57
+ emits: ['input', 'update:modelValue', 'change'],
57
58
  props: {
58
59
  isFill: {
59
60
  // 星星的类型,是否镂空
@@ -34,6 +34,7 @@
34
34
  export default {
35
35
  component: true,
36
36
  name: 'cvSearch',
37
+ emits: ['input', 'update:modelValue', 'search'],
37
38
  options: {
38
39
  addGlobalClass: true
39
40
  },
@@ -41,6 +41,7 @@
41
41
  <script>
42
42
  export default {
43
43
  name: 'cvSpecs',
44
+ emits: ['change'],
44
45
  options: {
45
46
  addGlobalClass: true
46
47
  },
@@ -5,6 +5,7 @@
5
5
  <script>
6
6
  export default {
7
7
  name: 'cvSwitch',
8
+ emits: ['input', 'update:modelValue'],
8
9
  props: {
9
10
  value: {
10
11
  type: [Number, String, Boolean],
@@ -102,6 +102,7 @@
102
102
  <script>
103
103
  export default {
104
104
  name: 'cvTabLists',
105
+ emits: ['input', 'update:dataList', 'change', 'dataLists'],
105
106
  props: {
106
107
  tabsConfig: {
107
108
  type: [Array, Function],
@@ -10,6 +10,7 @@
10
10
  <script>
11
11
  export default {
12
12
  name: 'cvTabsBox',
13
+ emits: ['input', 'update:modelValue', 'tabClick'],
13
14
  props: {
14
15
  value: {
15
16
  type: [Number, String],
@@ -24,6 +24,7 @@
24
24
  <script>
25
25
  export default {
26
26
  name: 'cvTextArea',
27
+ emits: ['input', 'update:modelValue'],
27
28
  props: {
28
29
  value: {
29
30
  type: [Number, String],
@@ -19,6 +19,7 @@
19
19
  <script>
20
20
  export default {
21
21
  name: 'cvTimeBase',
22
+ emits: ['input', 'update:modelValue'],
22
23
  props: {
23
24
  //默认输入框
24
25
  value: {
@@ -16,8 +16,8 @@
16
16
 
17
17
  <script>
18
18
  export default {
19
- emits: ['click'],
20
19
  name: 'cvTreaty',
20
+ emits: ['input', 'update:modelValue', 'click'],
21
21
  props: {
22
22
  value: {
23
23
  type: Boolean,
@@ -9,6 +9,7 @@
9
9
  <script>
10
10
  export default {
11
11
  name: 'cvUploadAvatar',
12
+ emits: ['input', 'update:modelValue'],
12
13
  props: {
13
14
  value: {
14
15
  type: [Number, String],
@@ -78,7 +78,7 @@
78
78
  <script>
79
79
  export default {
80
80
  name: 'cvUploadImg',
81
- components: {},
81
+ emits: ['input', 'update:modelValue'],
82
82
  props: {
83
83
  value: {
84
84
  type: [Array, Object, String],