mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-05 19:41:45 +08:00
build: compile 1.8.5
This commit is contained in:
parent
df2f297541
commit
9450660ada
3
dist/area/index.js
vendored
3
dist/area/index.js
vendored
@ -18,7 +18,8 @@ VantComponent({
|
||||
observer: 'setValues',
|
||||
},
|
||||
columnsNum: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 3,
|
||||
},
|
||||
columnsPlaceholder: {
|
||||
|
1
dist/calendar/index.js
vendored
1
dist/calendar/index.js
vendored
@ -317,7 +317,6 @@ VantComponent({
|
||||
if (maxRange && calcDateNum(date) > maxRange) {
|
||||
if (showRangePrompt) {
|
||||
Toast({
|
||||
duration: 0,
|
||||
context: this,
|
||||
message: rangePrompt || `选择天数不能超过 ${maxRange} 天`,
|
||||
});
|
||||
|
3
dist/checkbox/index.js
vendored
3
dist/checkbox/index.js
vendored
@ -23,7 +23,8 @@ VantComponent({
|
||||
value: 'round',
|
||||
},
|
||||
iconSize: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 20,
|
||||
},
|
||||
},
|
||||
|
3
dist/circle/index.js
vendored
3
dist/circle/index.js
vendored
@ -39,7 +39,8 @@ VantComponent({
|
||||
value: WHITE,
|
||||
},
|
||||
color: {
|
||||
type: null,
|
||||
type: String,
|
||||
optionalTypes: [Object],
|
||||
value: BLUE,
|
||||
observer() {
|
||||
this.setHoverColor().then(() => {
|
||||
|
3
dist/grid/index.js
vendored
3
dist/grid/index.js
vendored
@ -8,7 +8,8 @@ VantComponent({
|
||||
observer: 'updateChildren',
|
||||
},
|
||||
gutter: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 0,
|
||||
observer: 'updateChildren',
|
||||
},
|
||||
|
2
dist/mixins/page-scroll.js
vendored
2
dist/mixins/page-scroll.js
vendored
@ -25,7 +25,7 @@ export const pageScrollMixin = (scroller) =>
|
||||
detached() {
|
||||
var _a;
|
||||
const page = getCurrentPage();
|
||||
if (!isDef(page)) {
|
||||
if (isDef(page)) {
|
||||
page.vanPageScroller =
|
||||
((_a = page.vanPageScroller) === null || _a === void 0
|
||||
? void 0
|
||||
|
3
dist/overlay/index.js
vendored
3
dist/overlay/index.js
vendored
@ -4,7 +4,8 @@ VantComponent({
|
||||
show: Boolean,
|
||||
customStyle: String,
|
||||
duration: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 300,
|
||||
},
|
||||
zIndex: {
|
||||
|
3
dist/progress/index.js
vendored
3
dist/progress/index.js
vendored
@ -24,8 +24,9 @@ VantComponent({
|
||||
value: '#fff',
|
||||
},
|
||||
strokeWidth: {
|
||||
type: null,
|
||||
type: Number,
|
||||
value: 4,
|
||||
optionalTypes: [String],
|
||||
},
|
||||
},
|
||||
data: {
|
||||
|
3
dist/radio/index.js
vendored
3
dist/radio/index.js
vendored
@ -23,7 +23,8 @@ VantComponent({
|
||||
value: 'round',
|
||||
},
|
||||
iconSize: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 20,
|
||||
},
|
||||
},
|
||||
|
3
dist/share-sheet/index.js
vendored
3
dist/share-sheet/index.js
vendored
@ -33,7 +33,8 @@ VantComponent({
|
||||
value: true,
|
||||
},
|
||||
duration: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 300,
|
||||
},
|
||||
},
|
||||
|
3
dist/skeleton/index.js
vendored
3
dist/skeleton/index.js
vendored
@ -32,7 +32,8 @@ VantComponent({
|
||||
value: '40%',
|
||||
},
|
||||
rowWidth: {
|
||||
type: null,
|
||||
type: String,
|
||||
optionalTypes: [Array],
|
||||
value: '100%',
|
||||
observer(val) {
|
||||
this.setData({ isArray: val instanceof Array });
|
||||
|
3
dist/swipe-cell/index.js
vendored
3
dist/swipe-cell/index.js
vendored
@ -26,7 +26,8 @@ VantComponent({
|
||||
},
|
||||
asyncClose: Boolean,
|
||||
name: {
|
||||
type: null,
|
||||
type: String,
|
||||
optionalTypes: [Number],
|
||||
value: '',
|
||||
},
|
||||
},
|
||||
|
6
dist/tabs/index.js
vendored
6
dist/tabs/index.js
vendored
@ -31,12 +31,14 @@ VantComponent({
|
||||
},
|
||||
},
|
||||
lineWidth: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 40,
|
||||
observer: 'resize',
|
||||
},
|
||||
lineHeight: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: -1,
|
||||
},
|
||||
active: {
|
||||
|
3
dist/tree-select/index.js
vendored
3
dist/tree-select/index.js
vendored
@ -20,7 +20,8 @@ VantComponent({
|
||||
observer: 'updateSubItems',
|
||||
},
|
||||
height: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 300,
|
||||
},
|
||||
max: {
|
||||
|
6
dist/uploader/index.js
vendored
6
dist/uploader/index.js
vendored
@ -13,11 +13,13 @@ VantComponent({
|
||||
afterRead: null,
|
||||
beforeRead: null,
|
||||
previewSize: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 80,
|
||||
},
|
||||
name: {
|
||||
type: null,
|
||||
type: String,
|
||||
optionalTypes: [Number],
|
||||
value: '',
|
||||
},
|
||||
accept: {
|
||||
|
@ -35,7 +35,8 @@ component_1.VantComponent({
|
||||
observer: 'setValues',
|
||||
},
|
||||
columnsNum: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 3,
|
||||
},
|
||||
columnsPlaceholder: {
|
||||
|
@ -348,7 +348,6 @@ component_1.VantComponent({
|
||||
if (maxRange && utils_1.calcDateNum(date) > maxRange) {
|
||||
if (showRangePrompt) {
|
||||
toast_1.default({
|
||||
duration: 0,
|
||||
context: this,
|
||||
message:
|
||||
rangePrompt ||
|
||||
|
@ -25,7 +25,8 @@ component_1.VantComponent({
|
||||
value: 'round',
|
||||
},
|
||||
iconSize: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 20,
|
||||
},
|
||||
},
|
||||
|
@ -41,7 +41,8 @@ component_1.VantComponent({
|
||||
value: color_1.WHITE,
|
||||
},
|
||||
color: {
|
||||
type: null,
|
||||
type: String,
|
||||
optionalTypes: [Object],
|
||||
value: color_1.BLUE,
|
||||
observer: function () {
|
||||
var _this = this;
|
||||
|
@ -10,7 +10,8 @@ component_1.VantComponent({
|
||||
observer: 'updateChildren',
|
||||
},
|
||||
gutter: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 0,
|
||||
observer: 'updateChildren',
|
||||
},
|
||||
|
@ -29,7 +29,7 @@ var pageScrollMixin = function (scroller) {
|
||||
detached: function () {
|
||||
var _a;
|
||||
var page = utils_1.getCurrentPage();
|
||||
if (!utils_1.isDef(page)) {
|
||||
if (utils_1.isDef(page)) {
|
||||
page.vanPageScroller =
|
||||
((_a = page.vanPageScroller) === null || _a === void 0
|
||||
? void 0
|
||||
|
@ -6,7 +6,8 @@ component_1.VantComponent({
|
||||
show: Boolean,
|
||||
customStyle: String,
|
||||
duration: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 300,
|
||||
},
|
||||
zIndex: {
|
||||
|
@ -26,8 +26,9 @@ component_1.VantComponent({
|
||||
value: '#fff',
|
||||
},
|
||||
strokeWidth: {
|
||||
type: null,
|
||||
type: Number,
|
||||
value: 4,
|
||||
optionalTypes: [String],
|
||||
},
|
||||
},
|
||||
data: {
|
||||
|
@ -25,7 +25,8 @@ component_1.VantComponent({
|
||||
value: 'round',
|
||||
},
|
||||
iconSize: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 20,
|
||||
},
|
||||
},
|
||||
|
@ -35,7 +35,8 @@ component_1.VantComponent({
|
||||
value: true,
|
||||
},
|
||||
duration: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 300,
|
||||
},
|
||||
},
|
||||
|
@ -34,7 +34,8 @@ component_1.VantComponent({
|
||||
value: '40%',
|
||||
},
|
||||
rowWidth: {
|
||||
type: null,
|
||||
type: String,
|
||||
optionalTypes: [Array],
|
||||
value: '100%',
|
||||
observer: function (val) {
|
||||
this.setData({ isArray: val instanceof Array });
|
||||
|
@ -34,7 +34,8 @@ component_1.VantComponent({
|
||||
},
|
||||
asyncClose: Boolean,
|
||||
name: {
|
||||
type: null,
|
||||
type: String,
|
||||
optionalTypes: [Number],
|
||||
value: '',
|
||||
},
|
||||
},
|
||||
|
@ -28,12 +28,14 @@ component_1.VantComponent({
|
||||
},
|
||||
},
|
||||
lineWidth: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 40,
|
||||
observer: 'resize',
|
||||
},
|
||||
lineHeight: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: -1,
|
||||
},
|
||||
active: {
|
||||
|
@ -22,7 +22,8 @@ component_1.VantComponent({
|
||||
observer: 'updateSubItems',
|
||||
},
|
||||
height: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 300,
|
||||
},
|
||||
max: {
|
||||
|
@ -30,11 +30,13 @@ component_1.VantComponent({
|
||||
afterRead: null,
|
||||
beforeRead: null,
|
||||
previewSize: {
|
||||
type: null,
|
||||
type: Number,
|
||||
optionalTypes: [String],
|
||||
value: 80,
|
||||
},
|
||||
name: {
|
||||
type: null,
|
||||
type: String,
|
||||
optionalTypes: [Number],
|
||||
value: '',
|
||||
},
|
||||
accept: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user