@vtj/materials 0.13.15 → 0.13.17
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/assets/antdv/index.umd.js +2 -2
- package/dist/assets/charts/index.umd.js +2 -2
- package/dist/assets/element/index.umd.js +3 -3
- package/dist/assets/icons/index.umd.js +2 -2
- package/dist/assets/ui/index.umd.js +2 -2
- package/dist/assets/uni-h5/index.umd.js +2 -2
- package/dist/assets/uni-ui/index.umd.js +2 -2
- package/dist/assets/vant/index.umd.js +2 -2
- package/dist/deps/@vtj/charts/index.umd.js +2 -2
- package/dist/deps/@vtj/icons/index.umd.js +2 -2
- package/dist/deps/@vtj/ui/index.umd.js +4 -4
- package/dist/deps/@vtj/ui/style.css +1 -1
- package/dist/deps/@vtj/utils/index.umd.js +28 -33
- package/dist/deps/@vueuse/core/index.iife.min.js +1 -1
- package/dist/deps/element-plus/index.css +1 -1
- package/dist/deps/element-plus/index.full.min.js +14 -14
- package/dist/deps/element-plus/zh-cn.js +1 -1
- package/dist/deps/uni-app/index.umd.js +1 -1
- package/dist/deps/uni-h5/index.umd.js +8 -8
- package/dist/deps/uni-h5/style.css +1 -1
- package/dist/deps/uni-h5-vue/index.umd.js +1 -1
- package/dist/deps/uni-ui/index.umd.js +6 -1
- package/dist/deps/uni-ui/style.css +1 -1
- package/dist/deps/vue/vue.global.js +88 -53
- package/dist/deps/vue/vue.global.prod.js +9 -9
- package/package.json +12 -12
- package/src/antdv/image.ts +1 -1
- package/src/element/image.ts +1 -1
- package/src/element/virtualizedTable.ts +6 -6
- package/src/manifest.json +69 -0
- package/src/pages/index.vue +2 -0
- package/src/pages.json +19 -0
- package/src/uni-ui/index.ts +88 -58
- package/src/{uni-ui/lib/uni.scss → uni.scss} +4 -0
- package/src/version.ts +2 -2
- package/src/uni-ui/lib/uni-col/uni-col.vue +0 -324
- package/src/uni-ui/lib/uni-collapse/uni-collapse.vue +0 -153
- package/src/uni-ui/lib/uni-collapse-item/uni-collapse-item.vue +0 -425
- package/src/uni-ui/lib/uni-data-picker/keypress.js +0 -45
- package/src/uni-ui/lib/uni-data-picker/uni-data-picker.vue +0 -604
- package/src/uni-ui/lib/uni-data-pickerview/uni-data-picker.js +0 -622
- package/src/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.css +0 -76
- package/src/uni-ui/lib/uni-data-pickerview/uni-data-pickerview.vue +0 -335
- package/src/uni-ui/lib/uni-data-select/uni-data-select.vue +0 -590
- package/src/uni-ui/lib/uni-datetime-picker/calendar-item.vue +0 -188
- package/src/uni-ui/lib/uni-datetime-picker/calendar.vue +0 -985
- package/src/uni-ui/lib/uni-datetime-picker/i18n/en.json +0 -22
- package/src/uni-ui/lib/uni-datetime-picker/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-datetime-picker/i18n/zh-Hans.json +0 -22
- package/src/uni-ui/lib/uni-datetime-picker/i18n/zh-Hant.json +0 -22
- package/src/uni-ui/lib/uni-datetime-picker/time-picker.vue +0 -1032
- package/src/uni-ui/lib/uni-datetime-picker/uni-datetime-picker.vue +0 -1230
- package/src/uni-ui/lib/uni-datetime-picker/util.js +0 -448
- package/src/uni-ui/lib/uni-easyinput/common.js +0 -54
- package/src/uni-ui/lib/uni-easyinput/uni-easyinput.vue +0 -790
- package/src/uni-ui/lib/uni-fav/i18n/en.json +0 -4
- package/src/uni-ui/lib/uni-fav/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-fav/i18n/zh-Hans.json +0 -4
- package/src/uni-ui/lib/uni-fav/i18n/zh-Hant.json +0 -4
- package/src/uni-ui/lib/uni-fav/uni-fav.vue +0 -170
- package/src/uni-ui/lib/uni-file-picker/choose-and-upload-file.js +0 -280
- package/src/uni-ui/lib/uni-file-picker/uni-file-picker.vue +0 -668
- package/src/uni-ui/lib/uni-file-picker/upload-file.vue +0 -325
- package/src/uni-ui/lib/uni-file-picker/upload-image.vue +0 -292
- package/src/uni-ui/lib/uni-file-picker/utils.js +0 -110
- package/src/uni-ui/lib/uni-forms/uni-forms.vue +0 -416
- package/src/uni-ui/lib/uni-forms/utils.js +0 -293
- package/src/uni-ui/lib/uni-forms/validate.js +0 -486
- package/src/uni-ui/lib/uni-forms-item/uni-forms-item.vue +0 -630
- package/src/uni-ui/lib/uni-goods-nav/i18n/en.json +0 -6
- package/src/uni-ui/lib/uni-goods-nav/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-goods-nav/i18n/zh-Hans.json +0 -6
- package/src/uni-ui/lib/uni-goods-nav/i18n/zh-Hant.json +0 -6
- package/src/uni-ui/lib/uni-goods-nav/uni-goods-nav.vue +0 -231
- package/src/uni-ui/lib/uni-grid/uni-grid.vue +0 -148
- package/src/uni-ui/lib/uni-icons/uni-icons.uvue +0 -91
- package/src/uni-ui/lib/uni-icons/uni-icons.vue +0 -114
- package/src/uni-ui/lib/uni-icons/uniicons.css +0 -664
- package/src/uni-ui/lib/uni-icons/uniicons.ttf +0 -0
- package/src/uni-ui/lib/uni-icons/uniicons_file.ts +0 -664
- package/src/uni-ui/lib/uni-icons/uniicons_file_vue.js +0 -649
- package/src/uni-ui/lib/uni-indexed-list/uni-indexed-list-item.vue +0 -168
- package/src/uni-ui/lib/uni-indexed-list/uni-indexed-list.vue +0 -404
- package/src/uni-ui/lib/uni-list/uni-list.vue +0 -123
- package/src/uni-ui/lib/uni-list/uni-refresh.vue +0 -65
- package/src/uni-ui/lib/uni-list/uni-refresh.wxs +0 -87
- package/src/uni-ui/lib/uni-load-more/i18n/en.json +0 -5
- package/src/uni-ui/lib/uni-load-more/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-load-more/i18n/zh-Hans.json +0 -5
- package/src/uni-ui/lib/uni-load-more/i18n/zh-Hant.json +0 -5
- package/src/uni-ui/lib/uni-load-more/uni-load-more.vue +0 -456
- package/src/uni-ui/lib/uni-notice-bar/uni-notice-bar.vue +0 -484
- package/src/uni-ui/lib/uni-popup/i18n/en.json +0 -7
- package/src/uni-ui/lib/uni-popup/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-popup/i18n/zh-Hans.json +0 -7
- package/src/uni-ui/lib/uni-popup/i18n/zh-Hant.json +0 -7
- package/src/uni-ui/lib/uni-popup/keypress.js +0 -45
- package/src/uni-ui/lib/uni-popup/popup.js +0 -26
- package/src/uni-ui/lib/uni-popup/uni-popup.uvue +0 -90
- package/src/uni-ui/lib/uni-popup/uni-popup.vue +0 -552
- package/src/uni-ui/lib/uni-popup-dialog/keypress.js +0 -45
- package/src/uni-ui/lib/uni-popup-dialog/uni-popup-dialog.vue +0 -324
- package/src/uni-ui/lib/uni-popup-message/uni-popup-message.vue +0 -149
- package/src/uni-ui/lib/uni-rate/uni-rate.vue +0 -380
- package/src/uni-ui/lib/uni-row/uni-row.vue +0 -193
- package/src/uni-ui/lib/uni-search-bar/i18n/en.json +0 -4
- package/src/uni-ui/lib/uni-search-bar/i18n/index.js +0 -8
- package/src/uni-ui/lib/uni-search-bar/i18n/zh-Hans.json +0 -4
- package/src/uni-ui/lib/uni-search-bar/i18n/zh-Hant.json +0 -4
- package/src/uni-ui/lib/uni-search-bar/uni-search-bar.vue +0 -339
- package/src/uni-ui/lib/uni-swipe-action-item/bindingx.js +0 -311
- package/src/uni-ui/lib/uni-swipe-action-item/isPC.js +0 -12
- package/src/uni-ui/lib/uni-swipe-action-item/mpalipay.js +0 -195
- package/src/uni-ui/lib/uni-swipe-action-item/mpother.js +0 -260
- package/src/uni-ui/lib/uni-swipe-action-item/mpwxs.js +0 -84
- package/src/uni-ui/lib/uni-swipe-action-item/render.js +0 -270
- package/src/uni-ui/lib/uni-swipe-action-item/uni-swipe-action-item.vue +0 -493
- package/src/uni-ui/lib/uni-swipe-action-item/wx.wxs +0 -341
- package/src/uni-ui/lib/uni-table/uni-table.vue +0 -496
- package/src/uni-ui/lib/uni-td/uni-td.vue +0 -99
- package/src/uni-ui/lib/uni-th/filter-dropdown.vue +0 -559
- package/src/uni-ui/lib/uni-th/uni-th.vue +0 -322
- package/src/uni-ui/lib/uni-tr/table-checkbox.vue +0 -181
- package/src/uni-ui/lib/uni-tr/uni-tr.vue +0 -208
- package/src/uni-ui/lib/uni-transition/createAnimation.js +0 -131
- package/src/uni-ui/lib/uni-transition/uni-transition.vue +0 -310
- package/src/uni-ui/polyfill.ts +0 -41
@@ -1,188 +0,0 @@
|
|
1
|
-
<template>
|
2
|
-
<view
|
3
|
-
class="uni-calendar-item__weeks-box"
|
4
|
-
:class="{
|
5
|
-
'uni-calendar-item--disable': weeks.disable,
|
6
|
-
'uni-calendar-item--before-checked-x': weeks.beforeMultiple,
|
7
|
-
'uni-calendar-item--multiple': weeks.multiple,
|
8
|
-
'uni-calendar-item--after-checked-x': weeks.afterMultiple
|
9
|
-
}"
|
10
|
-
@click="choiceDate(weeks)"
|
11
|
-
@mouseenter="handleMousemove(weeks)">
|
12
|
-
<view
|
13
|
-
class="uni-calendar-item__weeks-box-item"
|
14
|
-
:class="{
|
15
|
-
'uni-calendar-item--checked':
|
16
|
-
calendar.fullDate === weeks.fullDate &&
|
17
|
-
(calendar.userChecked || !checkHover),
|
18
|
-
'uni-calendar-item--checked-range-text': checkHover,
|
19
|
-
'uni-calendar-item--before-checked': weeks.beforeMultiple,
|
20
|
-
'uni-calendar-item--multiple': weeks.multiple,
|
21
|
-
'uni-calendar-item--after-checked': weeks.afterMultiple,
|
22
|
-
'uni-calendar-item--disable': weeks.disable
|
23
|
-
}">
|
24
|
-
<text
|
25
|
-
v-if="selected && weeks.extraInfo"
|
26
|
-
class="uni-calendar-item__weeks-box-circle"></text>
|
27
|
-
<text
|
28
|
-
class="uni-calendar-item__weeks-box-text uni-calendar-item__weeks-box-text-disable uni-calendar-item--checked-text"
|
29
|
-
>{{ weeks.date }}</text
|
30
|
-
>
|
31
|
-
</view>
|
32
|
-
<view :class="{ 'uni-calendar-item--today': weeks.isToday }"></view>
|
33
|
-
</view>
|
34
|
-
</template>
|
35
|
-
|
36
|
-
<script>
|
37
|
-
export default {
|
38
|
-
props: {
|
39
|
-
weeks: {
|
40
|
-
type: Object,
|
41
|
-
default() {
|
42
|
-
return {};
|
43
|
-
}
|
44
|
-
},
|
45
|
-
calendar: {
|
46
|
-
type: Object,
|
47
|
-
default: () => {
|
48
|
-
return {};
|
49
|
-
}
|
50
|
-
},
|
51
|
-
selected: {
|
52
|
-
type: Array,
|
53
|
-
default: () => {
|
54
|
-
return [];
|
55
|
-
}
|
56
|
-
},
|
57
|
-
checkHover: {
|
58
|
-
type: Boolean,
|
59
|
-
default: false
|
60
|
-
}
|
61
|
-
},
|
62
|
-
methods: {
|
63
|
-
choiceDate(weeks) {
|
64
|
-
this.$emit('change', weeks);
|
65
|
-
},
|
66
|
-
handleMousemove(weeks) {
|
67
|
-
this.$emit('handleMouse', weeks);
|
68
|
-
}
|
69
|
-
}
|
70
|
-
};
|
71
|
-
</script>
|
72
|
-
|
73
|
-
<style lang="scss">
|
74
|
-
$uni-primary: #007aff !default;
|
75
|
-
|
76
|
-
.uni-calendar-item__weeks-box {
|
77
|
-
flex: 1;
|
78
|
-
/* #ifndef APP-NVUE */
|
79
|
-
display: flex;
|
80
|
-
/* #endif */
|
81
|
-
flex-direction: column;
|
82
|
-
justify-content: center;
|
83
|
-
align-items: center;
|
84
|
-
margin: 1px 0;
|
85
|
-
position: relative;
|
86
|
-
}
|
87
|
-
|
88
|
-
.uni-calendar-item__weeks-box-text {
|
89
|
-
font-size: 14px;
|
90
|
-
// font-family: Lato-Bold, Lato;
|
91
|
-
font-weight: bold;
|
92
|
-
color: darken($color: $uni-primary, $amount: 40%);
|
93
|
-
}
|
94
|
-
|
95
|
-
.uni-calendar-item__weeks-box-item {
|
96
|
-
position: relative;
|
97
|
-
/* #ifndef APP-NVUE */
|
98
|
-
display: flex;
|
99
|
-
/* #endif */
|
100
|
-
flex-direction: column;
|
101
|
-
justify-content: center;
|
102
|
-
align-items: center;
|
103
|
-
width: 40px;
|
104
|
-
height: 40px;
|
105
|
-
/* #ifdef H5 */
|
106
|
-
cursor: pointer;
|
107
|
-
/* #endif */
|
108
|
-
}
|
109
|
-
|
110
|
-
.uni-calendar-item__weeks-box-circle {
|
111
|
-
position: absolute;
|
112
|
-
top: 5px;
|
113
|
-
right: 5px;
|
114
|
-
width: 8px;
|
115
|
-
height: 8px;
|
116
|
-
border-radius: 8px;
|
117
|
-
background-color: #dd524d;
|
118
|
-
}
|
119
|
-
|
120
|
-
.uni-calendar-item__weeks-box .uni-calendar-item--disable {
|
121
|
-
cursor: default;
|
122
|
-
}
|
123
|
-
|
124
|
-
.uni-calendar-item--disable .uni-calendar-item__weeks-box-text-disable {
|
125
|
-
color: #d1d1d1;
|
126
|
-
}
|
127
|
-
|
128
|
-
.uni-calendar-item--today {
|
129
|
-
position: absolute;
|
130
|
-
top: 10px;
|
131
|
-
right: 17%;
|
132
|
-
background-color: #dd524d;
|
133
|
-
width: 6px;
|
134
|
-
height: 6px;
|
135
|
-
border-radius: 50%;
|
136
|
-
}
|
137
|
-
|
138
|
-
.uni-calendar-item--extra {
|
139
|
-
color: #dd524d;
|
140
|
-
opacity: 0.8;
|
141
|
-
}
|
142
|
-
|
143
|
-
.uni-calendar-item__weeks-box .uni-calendar-item--checked {
|
144
|
-
background-color: $uni-primary;
|
145
|
-
border-radius: 50%;
|
146
|
-
box-sizing: border-box;
|
147
|
-
border: 3px solid #fff;
|
148
|
-
}
|
149
|
-
|
150
|
-
.uni-calendar-item--checked .uni-calendar-item--checked-text {
|
151
|
-
color: #fff;
|
152
|
-
}
|
153
|
-
|
154
|
-
.uni-calendar-item--multiple .uni-calendar-item--checked-range-text {
|
155
|
-
color: #333;
|
156
|
-
}
|
157
|
-
|
158
|
-
.uni-calendar-item--multiple {
|
159
|
-
background-color: #f6f7fc;
|
160
|
-
// color: #fff;
|
161
|
-
}
|
162
|
-
|
163
|
-
.uni-calendar-item--multiple .uni-calendar-item--before-checked,
|
164
|
-
.uni-calendar-item--multiple .uni-calendar-item--after-checked {
|
165
|
-
background-color: $uni-primary;
|
166
|
-
border-radius: 50%;
|
167
|
-
box-sizing: border-box;
|
168
|
-
border: 3px solid #f6f7fc;
|
169
|
-
}
|
170
|
-
|
171
|
-
.uni-calendar-item--before-checked .uni-calendar-item--checked-text,
|
172
|
-
.uni-calendar-item--after-checked .uni-calendar-item--checked-text {
|
173
|
-
color: #fff;
|
174
|
-
}
|
175
|
-
|
176
|
-
.uni-calendar-item--before-checked-x {
|
177
|
-
border-top-left-radius: 50px;
|
178
|
-
border-bottom-left-radius: 50px;
|
179
|
-
box-sizing: border-box;
|
180
|
-
background-color: #f6f7fc;
|
181
|
-
}
|
182
|
-
|
183
|
-
.uni-calendar-item--after-checked-x {
|
184
|
-
border-top-right-radius: 50px;
|
185
|
-
border-bottom-right-radius: 50px;
|
186
|
-
background-color: #f6f7fc;
|
187
|
-
}
|
188
|
-
</style>
|