vxe-pc-ui 4.3.94 → 4.3.95
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/es/date-picker/src/date-picker.js +55 -10
- package/es/date-picker/style.css +3 -0
- package/es/date-picker/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/language/ar-EG.js +2 -1
- package/es/language/de-DE.js +2 -1
- package/es/language/en-US.js +2 -1
- package/es/language/es-ES.js +2 -1
- package/es/language/fr-FR.js +2 -1
- package/es/language/hu-HU.js +2 -1
- package/es/language/hy-AM.js +2 -1
- package/es/language/id-ID.js +2 -1
- package/es/language/it-IT.js +2 -1
- package/es/language/ja-JP.js +2 -1
- package/es/language/ko-KR.js +2 -1
- package/es/language/nb-NO.js +2 -1
- package/es/language/pt-BR.js +2 -1
- package/es/language/ru-RU.js +2 -1
- package/es/language/th-TH.js +2 -1
- package/es/language/ug-CN.js +2 -1
- package/es/language/uk-UA.js +2 -1
- package/es/language/vi-VN.js +2 -1
- package/es/language/zh-CHT.js +2 -1
- package/es/language/zh-CN.js +2 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +2 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-date-picker/style.css +3 -0
- package/es/vxe-date-picker/style.min.css +1 -1
- package/lib/date-picker/src/date-picker.js +57 -10
- package/lib/date-picker/src/date-picker.min.js +1 -1
- package/lib/date-picker/style/style.css +3 -0
- package/lib/date-picker/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +62 -13
- package/lib/index.umd.min.js +1 -1
- package/lib/language/ar-EG.js +2 -1
- package/lib/language/ar-EG.min.js +1 -1
- package/lib/language/de-DE.js +2 -1
- package/lib/language/de-DE.min.js +1 -1
- package/lib/language/en-US.js +2 -1
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +2 -1
- package/lib/language/es-ES.js +2 -1
- package/lib/language/es-ES.min.js +1 -1
- package/lib/language/es-ES.umd.js +2 -1
- package/lib/language/fr-FR.js +2 -1
- package/lib/language/fr-FR.min.js +1 -1
- package/lib/language/hu-HU.js +2 -1
- package/lib/language/hu-HU.min.js +1 -1
- package/lib/language/hu-HU.umd.js +2 -1
- package/lib/language/hy-AM.js +2 -1
- package/lib/language/hy-AM.min.js +1 -1
- package/lib/language/id-ID.js +2 -1
- package/lib/language/id-ID.min.js +1 -1
- package/lib/language/it-IT.js +2 -1
- package/lib/language/it-IT.min.js +1 -1
- package/lib/language/ja-JP.js +2 -1
- package/lib/language/ja-JP.min.js +1 -1
- package/lib/language/ja-JP.umd.js +2 -1
- package/lib/language/ko-KR.js +2 -1
- package/lib/language/ko-KR.min.js +1 -1
- package/lib/language/ko-KR.umd.js +2 -1
- package/lib/language/nb-NO.js +2 -1
- package/lib/language/nb-NO.min.js +1 -1
- package/lib/language/pt-BR.js +2 -1
- package/lib/language/pt-BR.min.js +1 -1
- package/lib/language/pt-BR.umd.js +2 -1
- package/lib/language/ru-RU.js +2 -1
- package/lib/language/ru-RU.min.js +1 -1
- package/lib/language/ru-RU.umd.js +2 -1
- package/lib/language/th-TH.js +2 -1
- package/lib/language/th-TH.min.js +1 -1
- package/lib/language/ug-CN.js +2 -1
- package/lib/language/ug-CN.min.js +1 -1
- package/lib/language/uk-UA.js +2 -1
- package/lib/language/uk-UA.min.js +1 -1
- package/lib/language/uk-UA.umd.js +2 -1
- package/lib/language/vi-VN.js +2 -1
- package/lib/language/vi-VN.min.js +1 -1
- package/lib/language/zh-CHT.js +2 -1
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CN.js +2 -1
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +2 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +2 -1
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-date-picker/style/style.css +3 -0
- package/lib/vxe-date-picker/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/date-picker/src/date-picker.ts +58 -10
- package/packages/language/ar-EG.ts +2 -1
- package/packages/language/de-DE.ts +2 -1
- package/packages/language/en-US.ts +2 -1
- package/packages/language/es-ES.ts +2 -1
- package/packages/language/fr-FR.ts +2 -1
- package/packages/language/hu-HU.ts +2 -1
- package/packages/language/hy-AM.ts +2 -1
- package/packages/language/id-ID.ts +2 -1
- package/packages/language/it-IT.ts +2 -1
- package/packages/language/ja-JP.ts +2 -1
- package/packages/language/ko-KR.ts +2 -1
- package/packages/language/nb-NO.ts +2 -1
- package/packages/language/pt-BR.ts +2 -1
- package/packages/language/ru-RU.ts +2 -1
- package/packages/language/th-TH.ts +2 -1
- package/packages/language/ug-CN.ts +2 -1
- package/packages/language/uk-UA.ts +2 -1
- package/packages/language/vi-VN.ts +2 -1
- package/packages/language/zh-CHT.ts +2 -1
- package/packages/language/zh-CN.ts +2 -1
- package/packages/ui/index.ts +1 -0
- package/styles/components/date-picker.scss +3 -0
- package/types/components/date-picker.d.ts +2 -0
- package/types/components/tooltip.d.ts +1 -0
- /package/es/icon/{iconfont.1740104040576.ttf → iconfont.1740188871481.ttf} +0 -0
- /package/es/icon/{iconfont.1740104040576.woff → iconfont.1740188871481.woff} +0 -0
- /package/es/icon/{iconfont.1740104040576.woff2 → iconfont.1740188871481.woff2} +0 -0
- /package/es/{iconfont.1740104040576.ttf → iconfont.1740188871481.ttf} +0 -0
- /package/es/{iconfont.1740104040576.woff → iconfont.1740188871481.woff} +0 -0
- /package/es/{iconfont.1740104040576.woff2 → iconfont.1740188871481.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1740104040576.ttf → iconfont.1740188871481.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1740104040576.woff → iconfont.1740188871481.woff} +0 -0
- /package/lib/icon/style/{iconfont.1740104040576.woff2 → iconfont.1740188871481.woff2} +0 -0
- /package/lib/{iconfont.1740104040576.ttf → iconfont.1740188871481.ttf} +0 -0
- /package/lib/{iconfont.1740104040576.woff → iconfont.1740188871481.woff} +0 -0
- /package/lib/{iconfont.1740104040576.woff2 → iconfont.1740188871481.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3524,7 +3524,8 @@ setTheme();
|
|
|
3524
3524
|
},
|
|
3525
3525
|
button: {
|
|
3526
3526
|
confirm: '确认',
|
|
3527
|
-
cancel: '取消'
|
|
3527
|
+
cancel: '取消',
|
|
3528
|
+
clear: '清除'
|
|
3528
3529
|
},
|
|
3529
3530
|
filter: {
|
|
3530
3531
|
search: '搜索'
|
|
@@ -4147,14 +4148,14 @@ function checkDynamic() {
|
|
|
4147
4148
|
}
|
|
4148
4149
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
4149
4150
|
|
|
4150
|
-
const log_version = `ui v${"4.3.
|
|
4151
|
+
const log_version = `ui v${"4.3.95"}`;
|
|
4151
4152
|
const warnLog = log.create('warn', log_version);
|
|
4152
4153
|
const errLog = log.create('error', log_version);
|
|
4153
4154
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
4154
4155
|
|
|
4155
4156
|
|
|
4156
4157
|
|
|
4157
|
-
const ui_version = "4.3.
|
|
4158
|
+
const ui_version = "4.3.95";
|
|
4158
4159
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
4159
4160
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
4160
4161
|
function config(options) {
|
|
@@ -4365,6 +4366,7 @@ setConfig({
|
|
|
4365
4366
|
left: 32
|
|
4366
4367
|
}
|
|
4367
4368
|
},
|
|
4369
|
+
// remember: false,
|
|
4368
4370
|
// storage: false,
|
|
4369
4371
|
storageKey: 'VXE_MODAL_POSITION'
|
|
4370
4372
|
},
|
|
@@ -14259,6 +14261,10 @@ const Countdown = VxeCountdown;
|
|
|
14259
14261
|
default: () => getConfig().datePicker.size || getConfig().size
|
|
14260
14262
|
},
|
|
14261
14263
|
multiple: Boolean,
|
|
14264
|
+
limitCount: {
|
|
14265
|
+
type: [String, Number],
|
|
14266
|
+
default: () => getConfig().upload.limitCount
|
|
14267
|
+
},
|
|
14262
14268
|
// date、week、month、quarter、year
|
|
14263
14269
|
startDate: {
|
|
14264
14270
|
type: [String, Number, Date],
|
|
@@ -14452,6 +14458,20 @@ const Countdown = VxeCountdown;
|
|
|
14452
14458
|
const dateLabelFormat = computeDateLabelFormat.value;
|
|
14453
14459
|
return dateListValue.map(date => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateLabelFormat)).join(', ');
|
|
14454
14460
|
});
|
|
14461
|
+
const computeLimitMaxCount = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
14462
|
+
return props.multiple ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(props.limitCount) : 0;
|
|
14463
|
+
});
|
|
14464
|
+
const computeOverCount = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
14465
|
+
const {
|
|
14466
|
+
multiple
|
|
14467
|
+
} = props;
|
|
14468
|
+
const limitMaxCount = computeLimitMaxCount.value;
|
|
14469
|
+
const dateMultipleValue = computeDateMultipleValue.value;
|
|
14470
|
+
if (multiple && limitMaxCount) {
|
|
14471
|
+
return dateMultipleValue.length >= limitMaxCount;
|
|
14472
|
+
}
|
|
14473
|
+
return false;
|
|
14474
|
+
});
|
|
14455
14475
|
const computeDateValueFormat = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
14456
14476
|
const {
|
|
14457
14477
|
type,
|
|
@@ -15055,6 +15075,7 @@ const Countdown = VxeCountdown;
|
|
|
15055
15075
|
});
|
|
15056
15076
|
dateCheckMonth(date);
|
|
15057
15077
|
if (multiple) {
|
|
15078
|
+
const overCount = computeOverCount.value;
|
|
15058
15079
|
// 如果为多选
|
|
15059
15080
|
if (isDateTimeType) {
|
|
15060
15081
|
// 如果是datetime特殊类型
|
|
@@ -15062,6 +15083,10 @@ const Countdown = VxeCountdown;
|
|
|
15062
15083
|
const datetimeRest = [];
|
|
15063
15084
|
const eqIndex = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().findIndexOf(dateListValue, val => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(date, val, 'yyyyMMdd'));
|
|
15064
15085
|
if (eqIndex === -1) {
|
|
15086
|
+
if (overCount) {
|
|
15087
|
+
// 如果超出最大多选数量
|
|
15088
|
+
return;
|
|
15089
|
+
}
|
|
15065
15090
|
dateListValue.push(date);
|
|
15066
15091
|
} else {
|
|
15067
15092
|
dateListValue.splice(eqIndex, 1);
|
|
@@ -15087,6 +15112,10 @@ const Countdown = VxeCountdown;
|
|
|
15087
15112
|
type: 'update'
|
|
15088
15113
|
});
|
|
15089
15114
|
} else {
|
|
15115
|
+
if (overCount) {
|
|
15116
|
+
// 如果超出最大多选数量
|
|
15117
|
+
return;
|
|
15118
|
+
}
|
|
15090
15119
|
handleChange(dateMultipleValue.concat([inpVal]).join(','), {
|
|
15091
15120
|
type: 'update'
|
|
15092
15121
|
});
|
|
@@ -15484,6 +15513,11 @@ const Countdown = VxeCountdown;
|
|
|
15484
15513
|
}
|
|
15485
15514
|
dateTimeChangeEvent(evnt);
|
|
15486
15515
|
};
|
|
15516
|
+
// const dateClearEvent = (evnt: MouseEvent) => {
|
|
15517
|
+
// const value = ''
|
|
15518
|
+
// handleChange(value, evnt)
|
|
15519
|
+
// dispatchEvent('clear', { value }, evnt)
|
|
15520
|
+
// }
|
|
15487
15521
|
const dateConfirmEvent = () => {
|
|
15488
15522
|
const {
|
|
15489
15523
|
multiple
|
|
@@ -16014,6 +16048,7 @@ const Countdown = VxeCountdown;
|
|
|
16014
16048
|
const dateHeaders = computeDateHeaders.value;
|
|
16015
16049
|
const dayDatas = computeDayDatas.value;
|
|
16016
16050
|
const dateListValue = computeDateListValue.value;
|
|
16051
|
+
const overCount = computeOverCount.value;
|
|
16017
16052
|
const matchFormat = 'yyyyMMdd';
|
|
16018
16053
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {
|
|
16019
16054
|
class: `vxe-date-picker--date-${datePanelType}-view`,
|
|
@@ -16024,6 +16059,7 @@ const Countdown = VxeCountdown;
|
|
|
16024
16059
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', item.label);
|
|
16025
16060
|
}))]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tbody', dayDatas.map(rows => {
|
|
16026
16061
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tr', rows.map(item => {
|
|
16062
|
+
const isSelected = multiple ? dateListValue.some(val => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(val, item.date, matchFormat)) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(dateValue, item.date, matchFormat);
|
|
16027
16063
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
|
|
16028
16064
|
class: {
|
|
16029
16065
|
'is--prev': item.isPrev,
|
|
@@ -16031,8 +16067,9 @@ const Countdown = VxeCountdown;
|
|
|
16031
16067
|
'is--now': item.isNow,
|
|
16032
16068
|
'is--next': item.isNext,
|
|
16033
16069
|
'is--disabled': isDateDisabled(item),
|
|
16034
|
-
'is--selected':
|
|
16035
|
-
'is--
|
|
16070
|
+
'is--selected': isSelected,
|
|
16071
|
+
'is--over': overCount && !isSelected,
|
|
16072
|
+
'is--hover': !overCount && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
16036
16073
|
},
|
|
16037
16074
|
onClick: () => dateSelectEvent(item),
|
|
16038
16075
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
@@ -16052,6 +16089,7 @@ const Countdown = VxeCountdown;
|
|
|
16052
16089
|
const weekHeaders = computeWeekHeaders.value;
|
|
16053
16090
|
const weekDates = computeWeekDates.value;
|
|
16054
16091
|
const dateListValue = computeDateListValue.value;
|
|
16092
|
+
const overCount = computeOverCount.value;
|
|
16055
16093
|
const matchFormat = 'yyyyMMdd';
|
|
16056
16094
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {
|
|
16057
16095
|
class: `vxe-date-picker--date-${datePanelType}-view`,
|
|
@@ -16072,7 +16110,8 @@ const Countdown = VxeCountdown;
|
|
|
16072
16110
|
'is--next': item.isNext,
|
|
16073
16111
|
'is--disabled': isDateDisabled(item),
|
|
16074
16112
|
'is--selected': isSelected,
|
|
16075
|
-
'is--
|
|
16113
|
+
'is--over': overCount && !isSelected,
|
|
16114
|
+
'is--hover': !overCount && isHover
|
|
16076
16115
|
},
|
|
16077
16116
|
// event
|
|
16078
16117
|
onClick: () => dateSelectEvent(item),
|
|
@@ -16092,6 +16131,7 @@ const Countdown = VxeCountdown;
|
|
|
16092
16131
|
const dateValue = computeDateValue.value;
|
|
16093
16132
|
const monthDatas = computeMonthDatas.value;
|
|
16094
16133
|
const dateListValue = computeDateListValue.value;
|
|
16134
|
+
const overCount = computeOverCount.value;
|
|
16095
16135
|
const matchFormat = 'yyyyMM';
|
|
16096
16136
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {
|
|
16097
16137
|
class: `vxe-date-picker--date-${datePanelType}-view`,
|
|
@@ -16100,6 +16140,7 @@ const Countdown = VxeCountdown;
|
|
|
16100
16140
|
border: 0
|
|
16101
16141
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tbody', monthDatas.map(rows => {
|
|
16102
16142
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tr', rows.map(item => {
|
|
16143
|
+
const isSelected = multiple ? dateListValue.some(val => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(val, item.date, matchFormat)) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(dateValue, item.date, matchFormat);
|
|
16103
16144
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
|
|
16104
16145
|
class: {
|
|
16105
16146
|
'is--prev': item.isPrev,
|
|
@@ -16107,8 +16148,9 @@ const Countdown = VxeCountdown;
|
|
|
16107
16148
|
'is--now': item.isNow,
|
|
16108
16149
|
'is--next': item.isNext,
|
|
16109
16150
|
'is--disabled': isDateDisabled(item),
|
|
16110
|
-
'is--selected':
|
|
16111
|
-
'is--
|
|
16151
|
+
'is--selected': isSelected,
|
|
16152
|
+
'is--over': overCount && !isSelected,
|
|
16153
|
+
'is--hover': !overCount && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
16112
16154
|
},
|
|
16113
16155
|
onClick: () => dateSelectEvent(item),
|
|
16114
16156
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
@@ -16127,6 +16169,7 @@ const Countdown = VxeCountdown;
|
|
|
16127
16169
|
const dateValue = computeDateValue.value;
|
|
16128
16170
|
const quarterDatas = computeQuarterDatas.value;
|
|
16129
16171
|
const dateListValue = computeDateListValue.value;
|
|
16172
|
+
const overCount = computeOverCount.value;
|
|
16130
16173
|
const matchFormat = 'yyyyq';
|
|
16131
16174
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {
|
|
16132
16175
|
class: `vxe-date-picker--date-${datePanelType}-view`,
|
|
@@ -16135,6 +16178,7 @@ const Countdown = VxeCountdown;
|
|
|
16135
16178
|
border: 0
|
|
16136
16179
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tbody', quarterDatas.map(rows => {
|
|
16137
16180
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tr', rows.map(item => {
|
|
16181
|
+
const isSelected = multiple ? dateListValue.some(val => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(val, item.date, matchFormat)) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(dateValue, item.date, matchFormat);
|
|
16138
16182
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
|
|
16139
16183
|
class: {
|
|
16140
16184
|
'is--prev': item.isPrev,
|
|
@@ -16142,8 +16186,9 @@ const Countdown = VxeCountdown;
|
|
|
16142
16186
|
'is--now': item.isNow,
|
|
16143
16187
|
'is--next': item.isNext,
|
|
16144
16188
|
'is--disabled': isDateDisabled(item),
|
|
16145
|
-
'is--selected':
|
|
16146
|
-
'is--
|
|
16189
|
+
'is--selected': isSelected,
|
|
16190
|
+
'is--over': overCount && !isSelected,
|
|
16191
|
+
'is--hover': !overCount && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
16147
16192
|
},
|
|
16148
16193
|
onClick: () => dateSelectEvent(item),
|
|
16149
16194
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
@@ -16162,6 +16207,7 @@ const Countdown = VxeCountdown;
|
|
|
16162
16207
|
const dateValue = computeDateValue.value;
|
|
16163
16208
|
const yearDatas = computeYearDatas.value;
|
|
16164
16209
|
const dateListValue = computeDateListValue.value;
|
|
16210
|
+
const overCount = computeOverCount.value;
|
|
16165
16211
|
const matchFormat = 'yyyy';
|
|
16166
16212
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {
|
|
16167
16213
|
class: `vxe-date-picker--date-${datePanelType}-view`,
|
|
@@ -16170,6 +16216,7 @@ const Countdown = VxeCountdown;
|
|
|
16170
16216
|
border: 0
|
|
16171
16217
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tbody', yearDatas.map(rows => {
|
|
16172
16218
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tr', rows.map(item => {
|
|
16219
|
+
const isSelected = multiple ? dateListValue.some(val => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(val, item.date, matchFormat)) : external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(dateValue, item.date, matchFormat);
|
|
16173
16220
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
|
|
16174
16221
|
class: {
|
|
16175
16222
|
'is--prev': item.isPrev,
|
|
@@ -16177,8 +16224,9 @@ const Countdown = VxeCountdown;
|
|
|
16177
16224
|
'is--now': item.isNow,
|
|
16178
16225
|
'is--next': item.isNext,
|
|
16179
16226
|
'is--disabled': isDateDisabled(item),
|
|
16180
|
-
'is--selected':
|
|
16181
|
-
'is--
|
|
16227
|
+
'is--selected': isSelected,
|
|
16228
|
+
'is--over': overCount && !isSelected,
|
|
16229
|
+
'is--hover': !overCount && external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
16182
16230
|
},
|
|
16183
16231
|
onClick: () => dateSelectEvent(item),
|
|
16184
16232
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
@@ -16212,6 +16260,7 @@ const Countdown = VxeCountdown;
|
|
|
16212
16260
|
const isDisabledPrevDateBtn = computeIsDisabledPrevDateBtn.value;
|
|
16213
16261
|
const isDisabledNextDateBtn = computeIsDisabledNextDateBtn.value;
|
|
16214
16262
|
const selectDatePanelLabel = computeSelectDatePanelLabel.value;
|
|
16263
|
+
const supportMultiples = computeSupportMultiples.value;
|
|
16215
16264
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16216
16265
|
class: 'vxe-date-picker--date-picker-header'
|
|
16217
16266
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
@@ -16242,7 +16291,7 @@ const Countdown = VxeCountdown;
|
|
|
16242
16291
|
onClick: dateNextEvent
|
|
16243
16292
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
16244
16293
|
class: 'vxe-icon-caret-right'
|
|
16245
|
-
})]), multiple &&
|
|
16294
|
+
})]), multiple && supportMultiples ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
16246
16295
|
class: 'vxe-date-picker--date-picker-btn vxe-date-picker--date-picker-confirm-btn'
|
|
16247
16296
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('button', {
|
|
16248
16297
|
class: 'vxe-date-picker--date-picker-confirm',
|