@10yun/cv-mobile-ui 0.5.19 → 0.5.21

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 (137) hide show
  1. package/other/mpvue-picker/mpvuePicker.vue +402 -0
  2. package/{uni-ui/lib → other}/mpvue-picker/style.css +0 -1
  3. package/{uni-ui/lib → other}/tab-nvue/style.css +0 -1
  4. package/other/uParse/components/style.css +1 -0
  5. package/other/uParse/components/wxParseAudio.vue +1 -0
  6. package/other/uParse/components/wxParseImg.vue +86 -0
  7. package/other/uParse/components/wxParseTable.vue +54 -0
  8. package/other/uParse/components/wxParseTemplate0.vue +98 -0
  9. package/other/uParse/components/wxParseTemplate1.vue +81 -0
  10. package/other/uParse/components/wxParseTemplate10.vue +81 -0
  11. package/other/uParse/components/wxParseTemplate11.vue +79 -0
  12. package/other/uParse/components/wxParseTemplate2.vue +81 -0
  13. package/other/uParse/components/wxParseTemplate3.vue +81 -0
  14. package/other/uParse/components/wxParseTemplate4.vue +81 -0
  15. package/other/uParse/components/wxParseTemplate5.vue +81 -0
  16. package/other/uParse/components/wxParseTemplate6.vue +81 -0
  17. package/other/uParse/components/wxParseTemplate7.vue +81 -0
  18. package/other/uParse/components/wxParseTemplate8.vue +81 -0
  19. package/other/uParse/components/wxParseTemplate9.vue +81 -0
  20. package/other/uParse/components/wxParseVideo.vue +14 -0
  21. package/other/uParse/editor.css +495 -0
  22. package/{uni-ui/lib/uParse/src → other/uParse}/libs/html2json.js +19 -22
  23. package/{uni-ui/lib/uParse/src → other/uParse}/libs/htmlparser.js +12 -5
  24. package/{uni-ui/lib/uParse/src → other/uParse}/libs/wxDiscode.js +2 -2
  25. package/other/uParse/wxParse.vue +196 -0
  26. package/package.json +1 -1
  27. package/plugins/map/amqp-wx.js +173 -0
  28. package/{uni-ui/lib/mpvueGestureLock/index.vue → ui-cv/components/cv-draw-gesture-lock/cv-draw-gesture-lock.vue} +4 -1
  29. package/ui-cv/components/cv-draw-gesture-lock/gestureLock.js +169 -0
  30. package/{uni-ui/lib/mpvueGestureLock → ui-cv/components/cv-draw-gesture-lock}/style.css +0 -1
  31. package/{uni-ui/lib/mpvue-citypicker → ui-cv/components/cv-geo-region}/style.css +0 -1
  32. package/ui-cv/components/cv-grid-item/cv-grid-item.vue +1 -1
  33. package/uni-ui/lib/uni-badge/uni-badge.vue +150 -1
  34. package/uni-ui/lib/uni-breadcrumb/uni-breadcrumb.vue +37 -1
  35. package/uni-ui/lib/uni-breadcrumb-item/uni-breadcrumb-item.vue +83 -1
  36. package/uni-ui/lib/uni-calendar/uni-calendar-item.vue +122 -1
  37. package/uni-ui/lib/uni-calendar/uni-calendar.vue +366 -1
  38. package/uni-ui/lib/uni-card/uni-card.vue +124 -1
  39. package/uni-ui/lib/uni-col/uni-col.vue +1 -1
  40. package/uni-ui/lib/uni-collapse/uni-collapse.vue +135 -1
  41. package/uni-ui/lib/uni-collapse-item/uni-collapse-item.vue +266 -1
  42. package/uni-ui/lib/uni-combox/uni-combox.vue +1 -1
  43. package/uni-ui/lib/uni-countdown/uni-countdown.vue +239 -1
  44. package/uni-ui/lib/uni-data-checkbox/uni-data-checkbox.vue +487 -1
  45. package/uni-ui/lib/uni-data-picker/uni-data-picker.vue +530 -1
  46. package/uni-ui/lib/uni-data-pickerview/uni-data-picker.js +157 -150
  47. package/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.vue +166 -1
  48. package/uni-ui/lib/uni-data-select/uni-data-select.vue +289 -1
  49. package/uni-ui/lib/uni-datetime-picker/calendar-item.vue +70 -1
  50. package/uni-ui/lib/uni-datetime-picker/calendar.vue +629 -1
  51. package/uni-ui/lib/uni-datetime-picker/time-picker.vue +741 -1
  52. package/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue +847 -1
  53. package/uni-ui/lib/uni-drawer/uni-drawer.vue +115 -1
  54. package/uni-ui/lib/uni-easyinput/uni-easyinput.vue +515 -1
  55. package/uni-ui/lib/uni-fab/uni-fab.vue +257 -1
  56. package/uni-ui/lib/uni-fav/uni-fav.vue +123 -1
  57. package/uni-ui/lib/uni-file-picker/uni-file-picker.vue +642 -1
  58. package/uni-ui/lib/uni-file-picker/upload-file.vue +177 -1
  59. package/uni-ui/lib/uni-file-picker/upload-image.vue +176 -1
  60. package/uni-ui/lib/uni-forms/uni-forms.vue +375 -1
  61. package/uni-ui/lib/uni-forms-item/uni-forms-item.vue +429 -1
  62. package/uni-ui/lib/uni-goods-nav/uni-goods-nav.vue +129 -1
  63. package/uni-ui/lib/uni-grid/uni-grid.vue +115 -1
  64. package/uni-ui/lib/uni-grid-item/uni-grid-item.vue +78 -1
  65. package/uni-ui/lib/uni-group/uni-group.vue +85 -1
  66. package/uni-ui/lib/uni-icons/uni-icons.vue +85 -1
  67. package/uni-ui/lib/uni-indexed-list/uni-indexed-list-item.vue +68 -1
  68. package/uni-ui/lib/uni-indexed-list/uni-indexed-list.vue +294 -1
  69. package/uni-ui/lib/uni-list/uni-list.vue +81 -1
  70. package/uni-ui/lib/uni-list-ad/uni-list-ad.vue +77 -1
  71. package/uni-ui/lib/uni-list-chat/uni-list-chat.vue +294 -1
  72. package/uni-ui/lib/uni-list-item/uni-list-item.vue +346 -1
  73. package/uni-ui/lib/uni-load-more/uni-load-more.vue +172 -1
  74. package/uni-ui/lib/uni-nav-bar/uni-nav-bar.vue +205 -1
  75. package/uni-ui/lib/uni-nav-bar/uni-status-bar.vue +18 -1
  76. package/uni-ui/lib/uni-notice-bar/uni-notice-bar.vue +331 -1
  77. package/uni-ui/lib/uni-number-box/uni-number-box.vue +166 -1
  78. package/uni-ui/lib/uni-pagination/uni-pagination.vue +323 -1
  79. package/uni-ui/lib/uni-popup/uni-popup.vue +1 -1
  80. package/uni-ui/lib/uni-popup-dialog/uni-popup-dialog.vue +173 -1
  81. package/uni-ui/lib/uni-popup-message/uni-popup-message.vue +74 -1
  82. package/uni-ui/lib/uni-popup-share/uni-popup-share.vue +106 -1
  83. package/uni-ui/lib/uni-rate/uni-rate.vue +322 -1
  84. package/uni-ui/lib/uni-row/uni-row.vue +1 -1
  85. package/uni-ui/lib/uni-search-bar/uni-search-bar.vue +236 -1
  86. package/uni-ui/lib/uni-section/uni-section.vue +109 -1
  87. package/uni-ui/lib/uni-segmented-control/uni-segmented-control.vue +103 -1
  88. package/uni-ui/lib/uni-status-bar/uni-status-bar.vue +1 -1
  89. package/uni-ui/lib/uni-steps/uni-steps.vue +120 -1
  90. package/uni-ui/lib/uni-swipe-action-item/uni-swipe-action-item.vue +226 -3
  91. package/uni-ui/lib/uni-swiper-dot/uni-swiper-dot.vue +167 -1
  92. package/uni-ui/lib/uni-table/uni-table.vue +297 -1
  93. package/uni-ui/lib/uni-tag/uni-tag.vue +100 -1
  94. package/uni-ui/lib/uni-td/uni-td.vue +78 -1
  95. package/uni-ui/lib/uni-th/filter-dropdown.vue +1 -1
  96. package/uni-ui/lib/uni-th/uni-th.vue +224 -1
  97. package/uni-ui/lib/uni-thead/uni-thead.vue +77 -1
  98. package/uni-ui/lib/uni-tr/table-checkbox.vue +79 -1
  99. package/uni-ui/lib/uni-tr/uni-tr.vue +135 -1
  100. package/uni-ui/lib/amap-wx/js/util.js +0 -181
  101. package/uni-ui/lib/marked/index.js +0 -1
  102. package/uni-ui/lib/mpvue-citypicker/city-data/area.js +0 -12542
  103. package/uni-ui/lib/mpvue-citypicker/city-data/city.js +0 -1503
  104. package/uni-ui/lib/mpvue-citypicker/city-data/province.js +0 -139
  105. package/uni-ui/lib/mpvue-picker/mpvuePicker.vue +0 -3
  106. package/uni-ui/lib/mpvueGestureLock/gestureLock.js +0 -175
  107. package/uni-ui/lib/uParse/src/components/style.css +0 -2
  108. package/uni-ui/lib/uParse/src/components/wxParseAudio.vue +0 -1
  109. package/uni-ui/lib/uParse/src/components/wxParseImg.vue +0 -1
  110. package/uni-ui/lib/uParse/src/components/wxParseTable.vue +0 -3
  111. package/uni-ui/lib/uParse/src/components/wxParseTemplate0.vue +0 -1
  112. package/uni-ui/lib/uParse/src/components/wxParseTemplate1.vue +0 -1
  113. package/uni-ui/lib/uParse/src/components/wxParseTemplate10.vue +0 -1
  114. package/uni-ui/lib/uParse/src/components/wxParseTemplate11.vue +0 -1
  115. package/uni-ui/lib/uParse/src/components/wxParseTemplate2.vue +0 -1
  116. package/uni-ui/lib/uParse/src/components/wxParseTemplate3.vue +0 -1
  117. package/uni-ui/lib/uParse/src/components/wxParseTemplate4.vue +0 -1
  118. package/uni-ui/lib/uParse/src/components/wxParseTemplate5.vue +0 -1
  119. package/uni-ui/lib/uParse/src/components/wxParseTemplate6.vue +0 -1
  120. package/uni-ui/lib/uParse/src/components/wxParseTemplate7.vue +0 -1
  121. package/uni-ui/lib/uParse/src/components/wxParseTemplate8.vue +0 -1
  122. package/uni-ui/lib/uParse/src/components/wxParseTemplate9.vue +0 -1
  123. package/uni-ui/lib/uParse/src/components/wxParseVideo.vue +0 -1
  124. package/uni-ui/lib/uParse/src/editor.css +0 -495
  125. package/uni-ui/lib/uParse/src/wxParse.vue +0 -1
  126. /package/{uni-ui/lib → other}/api-set-tabbar.nvue +0 -0
  127. /package/{uni-ui/lib → other}/mpvue-echarts/src/echarts.vue +0 -0
  128. /package/{uni-ui/lib → other}/mpvue-echarts/src/style.css +0 -0
  129. /package/{uni-ui/lib → other}/mpvue-echarts/src/wx-canvas.js +0 -0
  130. /package/{uni-ui/lib → other}/product.vue +0 -0
  131. /package/{uni-ui/lib → other}/style.css +0 -0
  132. /package/{uni-ui/lib → other}/tab-nvue/mediaList.vue +0 -0
  133. /package/{uni-ui/lib → other}/u-charts/u-charts.js +0 -0
  134. /package/{uni-ui/lib/uParse/src → other/uParse}/wxParse.css +0 -0
  135. /package/{uni-ui/lib/amap-wx → plugins/map}/lib/amap-wx.js +0 -0
  136. /package/{uni-ui/lib/mpvue-citypicker → ui-cv/components/cv-geo-region}/mpvueCityPicker.vue +0 -0
  137. /package/{uni-ui/lib/marked → ui-cv/components/cv-markdown-show}/lib/marked.js +0 -0
@@ -1 +1,122 @@
1
- <template>
2
1
  <view
3
2
  class="uni-calendar-item__weeks-box"
4
3
  :class="{
5
4
  'uni-calendar-item--disable': weeks.disable,
6
5
  'uni-calendar-item--isDay': calendar.fullDate === weeks.fullDate && weeks.isDay,
7
6
  'uni-calendar-item--checked': calendar.fullDate === weeks.fullDate && !weeks.isDay,
8
7
  'uni-calendar-item--before-checked': weeks.beforeMultiple,
9
8
  'uni-calendar-item--multiple': weeks.multiple,
10
9
  'uni-calendar-item--after-checked': weeks.afterMultiple
11
10
  }"
12
11
  @click="choiceDate(weeks)"
13
12
  >
14
13
  <view class="uni-calendar-item__weeks-box-item">
15
14
  <text v-if="selected && weeks.extraInfo" class="uni-calendar-item__weeks-box-circle"></text>
16
15
  <text
17
16
  class="uni-calendar-item__weeks-box-text"
18
17
  :class="{
19
18
  'uni-calendar-item--isDay-text': weeks.isDay,
20
19
  'uni-calendar-item--isDay': calendar.fullDate === weeks.fullDate && weeks.isDay,
21
20
  'uni-calendar-item--checked': calendar.fullDate === weeks.fullDate && !weeks.isDay,
22
21
  'uni-calendar-item--before-checked': weeks.beforeMultiple,
23
22
  'uni-calendar-item--multiple': weeks.multiple,
24
23
  'uni-calendar-item--after-checked': weeks.afterMultiple,
25
24
  'uni-calendar-item--disable': weeks.disable
26
25
  }"
27
26
  >
28
27
  {{ weeks.date }}
29
28
  </text>
30
29
  <text
31
30
  v-if="!lunar && !weeks.extraInfo && weeks.isDay"
32
31
  class="uni-calendar-item__weeks-lunar-text"
33
32
  :class="{
34
33
  'uni-calendar-item--isDay-text': weeks.isDay,
35
34
  'uni-calendar-item--isDay': calendar.fullDate === weeks.fullDate && weeks.isDay,
36
35
  'uni-calendar-item--checked': calendar.fullDate === weeks.fullDate && !weeks.isDay,
37
36
  'uni-calendar-item--before-checked': weeks.beforeMultiple,
38
37
  'uni-calendar-item--multiple': weeks.multiple,
39
38
  'uni-calendar-item--after-checked': weeks.afterMultiple
40
39
  }"
41
40
  >
42
41
  {{ todayText }}
43
42
  </text>
44
43
  <text
45
44
  v-if="lunar && !weeks.extraInfo"
46
45
  class="uni-calendar-item__weeks-lunar-text"
47
46
  :class="{
48
47
  'uni-calendar-item--isDay-text': weeks.isDay,
49
48
  'uni-calendar-item--isDay': calendar.fullDate === weeks.fullDate && weeks.isDay,
50
49
  'uni-calendar-item--checked': calendar.fullDate === weeks.fullDate && !weeks.isDay,
51
50
  'uni-calendar-item--before-checked': weeks.beforeMultiple,
52
51
  'uni-calendar-item--multiple': weeks.multiple,
53
52
  'uni-calendar-item--after-checked': weeks.afterMultiple,
54
53
  'uni-calendar-item--disable': weeks.disable
55
54
  }"
56
55
  >
57
56
  {{ weeks.isDay ? todayText : weeks.lunar.IDayCn === '初一' ? weeks.lunar.IMonthCn : weeks.lunar.IDayCn }}
58
57
  </text>
59
58
  <text
60
59
  v-if="weeks.extraInfo && weeks.extraInfo.info"
61
60
  class="uni-calendar-item__weeks-lunar-text"
62
61
  :class="{
63
62
  'uni-calendar-item--extra': weeks.extraInfo.info,
64
63
  'uni-calendar-item--isDay-text': weeks.isDay,
65
64
  'uni-calendar-item--isDay': calendar.fullDate === weeks.fullDate && weeks.isDay,
66
65
  'uni-calendar-item--checked': calendar.fullDate === weeks.fullDate && !weeks.isDay,
67
66
  'uni-calendar-item--before-checked': weeks.beforeMultiple,
68
67
  'uni-calendar-item--multiple': weeks.multiple,
69
68
  'uni-calendar-item--after-checked': weeks.afterMultiple,
70
69
  'uni-calendar-item--disable': weeks.disable
71
70
  }"
72
71
  >
73
72
  {{ weeks.extraInfo.info }}
74
73
  </text>
75
74
  </view>
76
75
  </view>
77
76
  emits: ['change'],
78
77
  props: {
79
78
  weeks: {
80
79
  type: Object,
81
80
  default() {
82
81
  return {};
83
82
  }
84
83
  },
85
84
  calendar: {
86
85
  type: Object,
87
86
  default: () => {
88
87
  return {};
89
88
  }
90
89
  },
91
90
  selected: {
92
91
  type: Array,
93
92
  default: () => {
94
93
  return [];
95
94
  }
96
95
  },
97
96
  lunar: {
98
97
  type: Boolean,
99
98
  default: false
100
99
  }
101
100
  },
102
101
  computed: {
103
102
  todayText() {
104
103
  return t('uni-calender.today');
105
104
  }
106
105
  },
107
106
  methods: {
108
107
  choiceDate(weeks) {
109
108
  this.$emit('change', weeks);
110
109
  }
111
110
  }
111
+ <template>
112
+ <view
113
+ class="uni-calendar-item__weeks-box"
114
+ :class="{
115
+ 'uni-calendar-item--disable': weeks.disable,
116
+ 'uni-calendar-item--isDay': calendar.fullDate === weeks.fullDate && weeks.isDay,
117
+ 'uni-calendar-item--checked': calendar.fullDate === weeks.fullDate && !weeks.isDay,
118
+ 'uni-calendar-item--before-checked': weeks.beforeMultiple,
119
+ 'uni-calendar-item--multiple': weeks.multiple,
120
+ 'uni-calendar-item--after-checked': weeks.afterMultiple
121
+ }"
122
+ @click="choiceDate(weeks)"
123
+ >
124
+ <view class="uni-calendar-item__weeks-box-item">
125
+ <text v-if="selected && weeks.extraInfo" class="uni-calendar-item__weeks-box-circle"></text>
126
+ <text
127
+ class="uni-calendar-item__weeks-box-text"
128
+ :class="{
129
+ 'uni-calendar-item--isDay-text': weeks.isDay,
130
+ 'uni-calendar-item--isDay': calendar.fullDate === weeks.fullDate && weeks.isDay,
131
+ 'uni-calendar-item--checked': calendar.fullDate === weeks.fullDate && !weeks.isDay,
132
+ 'uni-calendar-item--before-checked': weeks.beforeMultiple,
133
+ 'uni-calendar-item--multiple': weeks.multiple,
134
+ 'uni-calendar-item--after-checked': weeks.afterMultiple,
135
+ 'uni-calendar-item--disable': weeks.disable
136
+ }"
137
+ >
138
+ {{ weeks.date }}
139
+ </text>
140
+ <text
141
+ v-if="!lunar && !weeks.extraInfo && weeks.isDay"
142
+ class="uni-calendar-item__weeks-lunar-text"
143
+ :class="{
144
+ 'uni-calendar-item--isDay-text': weeks.isDay,
145
+ 'uni-calendar-item--isDay': calendar.fullDate === weeks.fullDate && weeks.isDay,
146
+ 'uni-calendar-item--checked': calendar.fullDate === weeks.fullDate && !weeks.isDay,
147
+ 'uni-calendar-item--before-checked': weeks.beforeMultiple,
148
+ 'uni-calendar-item--multiple': weeks.multiple,
149
+ 'uni-calendar-item--after-checked': weeks.afterMultiple
150
+ }"
151
+ >
152
+ {{ todayText }}
153
+ </text>
154
+ <text
155
+ v-if="lunar && !weeks.extraInfo"
156
+ class="uni-calendar-item__weeks-lunar-text"
157
+ :class="{
158
+ 'uni-calendar-item--isDay-text': weeks.isDay,
159
+ 'uni-calendar-item--isDay': calendar.fullDate === weeks.fullDate && weeks.isDay,
160
+ 'uni-calendar-item--checked': calendar.fullDate === weeks.fullDate && !weeks.isDay,
161
+ 'uni-calendar-item--before-checked': weeks.beforeMultiple,
162
+ 'uni-calendar-item--multiple': weeks.multiple,
163
+ 'uni-calendar-item--after-checked': weeks.afterMultiple,
164
+ 'uni-calendar-item--disable': weeks.disable
165
+ }"
166
+ >
167
+ {{ weeks.isDay ? todayText : weeks.lunar.IDayCn === '初一' ? weeks.lunar.IMonthCn : weeks.lunar.IDayCn }}
168
+ </text>
169
+ <text
170
+ v-if="weeks.extraInfo && weeks.extraInfo.info"
171
+ class="uni-calendar-item__weeks-lunar-text"
172
+ :class="{
173
+ 'uni-calendar-item--extra': weeks.extraInfo.info,
174
+ 'uni-calendar-item--isDay-text': weeks.isDay,
175
+ 'uni-calendar-item--isDay': calendar.fullDate === weeks.fullDate && weeks.isDay,
176
+ 'uni-calendar-item--checked': calendar.fullDate === weeks.fullDate && !weeks.isDay,
177
+ 'uni-calendar-item--before-checked': weeks.beforeMultiple,
178
+ 'uni-calendar-item--multiple': weeks.multiple,
179
+ 'uni-calendar-item--after-checked': weeks.afterMultiple,
180
+ 'uni-calendar-item--disable': weeks.disable
181
+ }"
182
+ >
183
+ {{ weeks.extraInfo.info }}
184
+ </text>
185
+ </view>
186
+ </view>
187
+ </template>
188
+ <script>
189
+ import { initVueI18n } from '@dcloudio/uni-i18n';
190
+ import i18nMessages from './i18n/index.js';
191
+ const { t } = initVueI18n(i18nMessages);
192
+ export default {
193
+ emits: ['change'],
194
+ props: {
195
+ weeks: {
196
+ type: Object,
197
+ default() {
198
+ return {};
199
+ }
200
+ },
201
+ calendar: {
202
+ type: Object,
203
+ default: () => {
204
+ return {};
205
+ }
206
+ },
207
+ selected: {
208
+ type: Array,
209
+ default: () => {
210
+ return [];
211
+ }
212
+ },
213
+ lunar: {
214
+ type: Boolean,
215
+ default: false
216
+ }
217
+ },
218
+ computed: {
219
+ todayText() {
220
+ return t('uni-calender.today');
221
+ }
222
+ },
223
+ methods: {
224
+ choiceDate(weeks) {
225
+ this.$emit('change', weeks);
226
+ }
227
+ }
228
+ };
229
+ </script>
230
+ <style scoped>
231
+ @import 'style.css';
232
+ </style>