vxe-pc-ui 4.3.93 → 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 +4 -2
- package/es/language/de-DE.js +4 -2
- package/es/language/en-US.js +4 -2
- package/es/language/es-ES.js +4 -2
- package/es/language/fr-FR.js +4 -2
- package/es/language/hu-HU.js +4 -2
- package/es/language/hy-AM.js +4 -2
- package/es/language/id-ID.js +4 -2
- package/es/language/it-IT.js +4 -2
- package/es/language/ja-JP.js +4 -2
- package/es/language/ko-KR.js +4 -2
- package/es/language/nb-NO.js +4 -2
- package/es/language/pt-BR.js +4 -2
- package/es/language/ru-RU.js +4 -2
- package/es/language/th-TH.js +4 -2
- package/es/language/ug-CN.js +4 -2
- package/es/language/uk-UA.js +4 -2
- package/es/language/vi-VN.js +4 -2
- package/es/language/zh-CHT.js +4 -2
- package/es/language/zh-CN.js +4 -2
- 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 +64 -14
- package/lib/index.umd.min.js +1 -1
- package/lib/language/ar-EG.js +4 -2
- package/lib/language/ar-EG.min.js +1 -1
- package/lib/language/de-DE.js +4 -2
- package/lib/language/de-DE.min.js +1 -1
- package/lib/language/en-US.js +4 -2
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +4 -2
- package/lib/language/es-ES.js +4 -2
- package/lib/language/es-ES.min.js +1 -1
- package/lib/language/es-ES.umd.js +4 -2
- package/lib/language/fr-FR.js +4 -2
- package/lib/language/fr-FR.min.js +1 -1
- package/lib/language/hu-HU.js +4 -2
- package/lib/language/hu-HU.min.js +1 -1
- package/lib/language/hu-HU.umd.js +4 -2
- package/lib/language/hy-AM.js +4 -2
- package/lib/language/hy-AM.min.js +1 -1
- package/lib/language/id-ID.js +4 -2
- package/lib/language/id-ID.min.js +1 -1
- package/lib/language/it-IT.js +4 -2
- package/lib/language/it-IT.min.js +1 -1
- package/lib/language/ja-JP.js +4 -2
- package/lib/language/ja-JP.min.js +1 -1
- package/lib/language/ja-JP.umd.js +4 -2
- package/lib/language/ko-KR.js +4 -2
- package/lib/language/ko-KR.min.js +1 -1
- package/lib/language/ko-KR.umd.js +4 -2
- package/lib/language/nb-NO.js +4 -2
- package/lib/language/nb-NO.min.js +1 -1
- package/lib/language/pt-BR.js +4 -2
- package/lib/language/pt-BR.min.js +1 -1
- package/lib/language/pt-BR.umd.js +4 -2
- package/lib/language/ru-RU.js +4 -2
- package/lib/language/ru-RU.min.js +1 -1
- package/lib/language/ru-RU.umd.js +4 -2
- package/lib/language/th-TH.js +4 -2
- package/lib/language/th-TH.min.js +1 -1
- package/lib/language/ug-CN.js +4 -2
- package/lib/language/ug-CN.min.js +1 -1
- package/lib/language/uk-UA.js +4 -2
- package/lib/language/uk-UA.min.js +1 -1
- package/lib/language/uk-UA.umd.js +4 -2
- package/lib/language/vi-VN.js +4 -2
- package/lib/language/vi-VN.min.js +1 -1
- package/lib/language/zh-CHT.js +4 -2
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CN.js +4 -2
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +4 -2
- 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 +4 -2
- package/packages/language/de-DE.ts +4 -2
- package/packages/language/en-US.ts +4 -2
- package/packages/language/es-ES.ts +4 -2
- package/packages/language/fr-FR.ts +4 -2
- package/packages/language/hu-HU.ts +4 -2
- package/packages/language/hy-AM.ts +4 -2
- package/packages/language/id-ID.ts +4 -2
- package/packages/language/it-IT.ts +4 -2
- package/packages/language/ja-JP.ts +4 -2
- package/packages/language/ko-KR.ts +4 -2
- package/packages/language/nb-NO.ts +4 -2
- package/packages/language/pt-BR.ts +4 -2
- package/packages/language/ru-RU.ts +4 -2
- package/packages/language/th-TH.ts +4 -2
- package/packages/language/ug-CN.ts +4 -2
- package/packages/language/uk-UA.ts +4 -2
- package/packages/language/vi-VN.ts +4 -2
- package/packages/language/zh-CHT.ts +4 -2
- package/packages/language/zh-CN.ts +4 -2
- 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.1740038120639.ttf → iconfont.1740188871481.ttf} +0 -0
- /package/es/icon/{iconfont.1740038120639.woff → iconfont.1740188871481.woff} +0 -0
- /package/es/icon/{iconfont.1740038120639.woff2 → iconfont.1740188871481.woff2} +0 -0
- /package/es/{iconfont.1740038120639.ttf → iconfont.1740188871481.ttf} +0 -0
- /package/es/{iconfont.1740038120639.woff → iconfont.1740188871481.woff} +0 -0
- /package/es/{iconfont.1740038120639.woff2 → iconfont.1740188871481.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1740038120639.ttf → iconfont.1740188871481.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1740038120639.woff → iconfont.1740188871481.woff} +0 -0
- /package/lib/icon/style/{iconfont.1740038120639.woff2 → iconfont.1740188871481.woff2} +0 -0
- /package/lib/{iconfont.1740038120639.ttf → iconfont.1740188871481.ttf} +0 -0
- /package/lib/{iconfont.1740038120639.woff → iconfont.1740188871481.woff} +0 -0
- /package/lib/{iconfont.1740038120639.woff2 → iconfont.1740188871481.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3456,7 +3456,7 @@ setTheme();
|
|
|
3456
3456
|
treeNotImp: '树表格不支持导入',
|
|
3457
3457
|
treeCrossDrag: '只能拖拽第一层级',
|
|
3458
3458
|
treeDragChild: '父级不能拖拽到自己的子级中',
|
|
3459
|
-
reqPlugin: '
|
|
3459
|
+
reqPlugin: '扩展插件未安装 "{1}" https://vxeui.com/other{0}/#/{1}/install'
|
|
3460
3460
|
},
|
|
3461
3461
|
table: {
|
|
3462
3462
|
emptyText: '暂无数据',
|
|
@@ -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: '搜索'
|
|
@@ -3576,6 +3577,7 @@ setTheme();
|
|
|
3576
3577
|
pdf: 'PDF (*.pdf)'
|
|
3577
3578
|
},
|
|
3578
3579
|
modes: {
|
|
3580
|
+
empty: '空数据',
|
|
3579
3581
|
current: '当前数据(当前页的数据)',
|
|
3580
3582
|
selected: '选中数据(当前页选中的数据)',
|
|
3581
3583
|
all: '全量数据(包括所有分页的数据)'
|
|
@@ -4146,14 +4148,14 @@ function checkDynamic() {
|
|
|
4146
4148
|
}
|
|
4147
4149
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
4148
4150
|
|
|
4149
|
-
const log_version = `ui v${"4.3.
|
|
4151
|
+
const log_version = `ui v${"4.3.95"}`;
|
|
4150
4152
|
const warnLog = log.create('warn', log_version);
|
|
4151
4153
|
const errLog = log.create('error', log_version);
|
|
4152
4154
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
4153
4155
|
|
|
4154
4156
|
|
|
4155
4157
|
|
|
4156
|
-
const ui_version = "4.3.
|
|
4158
|
+
const ui_version = "4.3.95";
|
|
4157
4159
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
4158
4160
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
4159
4161
|
function config(options) {
|
|
@@ -4364,6 +4366,7 @@ setConfig({
|
|
|
4364
4366
|
left: 32
|
|
4365
4367
|
}
|
|
4366
4368
|
},
|
|
4369
|
+
// remember: false,
|
|
4367
4370
|
// storage: false,
|
|
4368
4371
|
storageKey: 'VXE_MODAL_POSITION'
|
|
4369
4372
|
},
|
|
@@ -14258,6 +14261,10 @@ const Countdown = VxeCountdown;
|
|
|
14258
14261
|
default: () => getConfig().datePicker.size || getConfig().size
|
|
14259
14262
|
},
|
|
14260
14263
|
multiple: Boolean,
|
|
14264
|
+
limitCount: {
|
|
14265
|
+
type: [String, Number],
|
|
14266
|
+
default: () => getConfig().upload.limitCount
|
|
14267
|
+
},
|
|
14261
14268
|
// date、week、month、quarter、year
|
|
14262
14269
|
startDate: {
|
|
14263
14270
|
type: [String, Number, Date],
|
|
@@ -14451,6 +14458,20 @@ const Countdown = VxeCountdown;
|
|
|
14451
14458
|
const dateLabelFormat = computeDateLabelFormat.value;
|
|
14452
14459
|
return dateListValue.map(date => external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toDateString(date, dateLabelFormat)).join(', ');
|
|
14453
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
|
+
});
|
|
14454
14475
|
const computeDateValueFormat = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
14455
14476
|
const {
|
|
14456
14477
|
type,
|
|
@@ -15054,6 +15075,7 @@ const Countdown = VxeCountdown;
|
|
|
15054
15075
|
});
|
|
15055
15076
|
dateCheckMonth(date);
|
|
15056
15077
|
if (multiple) {
|
|
15078
|
+
const overCount = computeOverCount.value;
|
|
15057
15079
|
// 如果为多选
|
|
15058
15080
|
if (isDateTimeType) {
|
|
15059
15081
|
// 如果是datetime特殊类型
|
|
@@ -15061,6 +15083,10 @@ const Countdown = VxeCountdown;
|
|
|
15061
15083
|
const datetimeRest = [];
|
|
15062
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'));
|
|
15063
15085
|
if (eqIndex === -1) {
|
|
15086
|
+
if (overCount) {
|
|
15087
|
+
// 如果超出最大多选数量
|
|
15088
|
+
return;
|
|
15089
|
+
}
|
|
15064
15090
|
dateListValue.push(date);
|
|
15065
15091
|
} else {
|
|
15066
15092
|
dateListValue.splice(eqIndex, 1);
|
|
@@ -15086,6 +15112,10 @@ const Countdown = VxeCountdown;
|
|
|
15086
15112
|
type: 'update'
|
|
15087
15113
|
});
|
|
15088
15114
|
} else {
|
|
15115
|
+
if (overCount) {
|
|
15116
|
+
// 如果超出最大多选数量
|
|
15117
|
+
return;
|
|
15118
|
+
}
|
|
15089
15119
|
handleChange(dateMultipleValue.concat([inpVal]).join(','), {
|
|
15090
15120
|
type: 'update'
|
|
15091
15121
|
});
|
|
@@ -15483,6 +15513,11 @@ const Countdown = VxeCountdown;
|
|
|
15483
15513
|
}
|
|
15484
15514
|
dateTimeChangeEvent(evnt);
|
|
15485
15515
|
};
|
|
15516
|
+
// const dateClearEvent = (evnt: MouseEvent) => {
|
|
15517
|
+
// const value = ''
|
|
15518
|
+
// handleChange(value, evnt)
|
|
15519
|
+
// dispatchEvent('clear', { value }, evnt)
|
|
15520
|
+
// }
|
|
15486
15521
|
const dateConfirmEvent = () => {
|
|
15487
15522
|
const {
|
|
15488
15523
|
multiple
|
|
@@ -16013,6 +16048,7 @@ const Countdown = VxeCountdown;
|
|
|
16013
16048
|
const dateHeaders = computeDateHeaders.value;
|
|
16014
16049
|
const dayDatas = computeDayDatas.value;
|
|
16015
16050
|
const dateListValue = computeDateListValue.value;
|
|
16051
|
+
const overCount = computeOverCount.value;
|
|
16016
16052
|
const matchFormat = 'yyyyMMdd';
|
|
16017
16053
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {
|
|
16018
16054
|
class: `vxe-date-picker--date-${datePanelType}-view`,
|
|
@@ -16023,6 +16059,7 @@ const Countdown = VxeCountdown;
|
|
|
16023
16059
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('th', item.label);
|
|
16024
16060
|
}))]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tbody', dayDatas.map(rows => {
|
|
16025
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);
|
|
16026
16063
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
|
|
16027
16064
|
class: {
|
|
16028
16065
|
'is--prev': item.isPrev,
|
|
@@ -16030,8 +16067,9 @@ const Countdown = VxeCountdown;
|
|
|
16030
16067
|
'is--now': item.isNow,
|
|
16031
16068
|
'is--next': item.isNext,
|
|
16032
16069
|
'is--disabled': isDateDisabled(item),
|
|
16033
|
-
'is--selected':
|
|
16034
|
-
'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)
|
|
16035
16073
|
},
|
|
16036
16074
|
onClick: () => dateSelectEvent(item),
|
|
16037
16075
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
@@ -16051,6 +16089,7 @@ const Countdown = VxeCountdown;
|
|
|
16051
16089
|
const weekHeaders = computeWeekHeaders.value;
|
|
16052
16090
|
const weekDates = computeWeekDates.value;
|
|
16053
16091
|
const dateListValue = computeDateListValue.value;
|
|
16092
|
+
const overCount = computeOverCount.value;
|
|
16054
16093
|
const matchFormat = 'yyyyMMdd';
|
|
16055
16094
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {
|
|
16056
16095
|
class: `vxe-date-picker--date-${datePanelType}-view`,
|
|
@@ -16071,7 +16110,8 @@ const Countdown = VxeCountdown;
|
|
|
16071
16110
|
'is--next': item.isNext,
|
|
16072
16111
|
'is--disabled': isDateDisabled(item),
|
|
16073
16112
|
'is--selected': isSelected,
|
|
16074
|
-
'is--
|
|
16113
|
+
'is--over': overCount && !isSelected,
|
|
16114
|
+
'is--hover': !overCount && isHover
|
|
16075
16115
|
},
|
|
16076
16116
|
// event
|
|
16077
16117
|
onClick: () => dateSelectEvent(item),
|
|
@@ -16091,6 +16131,7 @@ const Countdown = VxeCountdown;
|
|
|
16091
16131
|
const dateValue = computeDateValue.value;
|
|
16092
16132
|
const monthDatas = computeMonthDatas.value;
|
|
16093
16133
|
const dateListValue = computeDateListValue.value;
|
|
16134
|
+
const overCount = computeOverCount.value;
|
|
16094
16135
|
const matchFormat = 'yyyyMM';
|
|
16095
16136
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {
|
|
16096
16137
|
class: `vxe-date-picker--date-${datePanelType}-view`,
|
|
@@ -16099,6 +16140,7 @@ const Countdown = VxeCountdown;
|
|
|
16099
16140
|
border: 0
|
|
16100
16141
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tbody', monthDatas.map(rows => {
|
|
16101
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);
|
|
16102
16144
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
|
|
16103
16145
|
class: {
|
|
16104
16146
|
'is--prev': item.isPrev,
|
|
@@ -16106,8 +16148,9 @@ const Countdown = VxeCountdown;
|
|
|
16106
16148
|
'is--now': item.isNow,
|
|
16107
16149
|
'is--next': item.isNext,
|
|
16108
16150
|
'is--disabled': isDateDisabled(item),
|
|
16109
|
-
'is--selected':
|
|
16110
|
-
'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)
|
|
16111
16154
|
},
|
|
16112
16155
|
onClick: () => dateSelectEvent(item),
|
|
16113
16156
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
@@ -16126,6 +16169,7 @@ const Countdown = VxeCountdown;
|
|
|
16126
16169
|
const dateValue = computeDateValue.value;
|
|
16127
16170
|
const quarterDatas = computeQuarterDatas.value;
|
|
16128
16171
|
const dateListValue = computeDateListValue.value;
|
|
16172
|
+
const overCount = computeOverCount.value;
|
|
16129
16173
|
const matchFormat = 'yyyyq';
|
|
16130
16174
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {
|
|
16131
16175
|
class: `vxe-date-picker--date-${datePanelType}-view`,
|
|
@@ -16134,6 +16178,7 @@ const Countdown = VxeCountdown;
|
|
|
16134
16178
|
border: 0
|
|
16135
16179
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tbody', quarterDatas.map(rows => {
|
|
16136
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);
|
|
16137
16182
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
|
|
16138
16183
|
class: {
|
|
16139
16184
|
'is--prev': item.isPrev,
|
|
@@ -16141,8 +16186,9 @@ const Countdown = VxeCountdown;
|
|
|
16141
16186
|
'is--now': item.isNow,
|
|
16142
16187
|
'is--next': item.isNext,
|
|
16143
16188
|
'is--disabled': isDateDisabled(item),
|
|
16144
|
-
'is--selected':
|
|
16145
|
-
'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)
|
|
16146
16192
|
},
|
|
16147
16193
|
onClick: () => dateSelectEvent(item),
|
|
16148
16194
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
@@ -16161,6 +16207,7 @@ const Countdown = VxeCountdown;
|
|
|
16161
16207
|
const dateValue = computeDateValue.value;
|
|
16162
16208
|
const yearDatas = computeYearDatas.value;
|
|
16163
16209
|
const dateListValue = computeDateListValue.value;
|
|
16210
|
+
const overCount = computeOverCount.value;
|
|
16164
16211
|
const matchFormat = 'yyyy';
|
|
16165
16212
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('table', {
|
|
16166
16213
|
class: `vxe-date-picker--date-${datePanelType}-view`,
|
|
@@ -16169,6 +16216,7 @@ const Countdown = VxeCountdown;
|
|
|
16169
16216
|
border: 0
|
|
16170
16217
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('tbody', yearDatas.map(rows => {
|
|
16171
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);
|
|
16172
16220
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('td', {
|
|
16173
16221
|
class: {
|
|
16174
16222
|
'is--prev': item.isPrev,
|
|
@@ -16176,8 +16224,9 @@ const Countdown = VxeCountdown;
|
|
|
16176
16224
|
'is--now': item.isNow,
|
|
16177
16225
|
'is--next': item.isNext,
|
|
16178
16226
|
'is--disabled': isDateDisabled(item),
|
|
16179
|
-
'is--selected':
|
|
16180
|
-
'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)
|
|
16181
16230
|
},
|
|
16182
16231
|
onClick: () => dateSelectEvent(item),
|
|
16183
16232
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
@@ -16211,6 +16260,7 @@ const Countdown = VxeCountdown;
|
|
|
16211
16260
|
const isDisabledPrevDateBtn = computeIsDisabledPrevDateBtn.value;
|
|
16212
16261
|
const isDisabledNextDateBtn = computeIsDisabledNextDateBtn.value;
|
|
16213
16262
|
const selectDatePanelLabel = computeSelectDatePanelLabel.value;
|
|
16263
|
+
const supportMultiples = computeSupportMultiples.value;
|
|
16214
16264
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
16215
16265
|
class: 'vxe-date-picker--date-picker-header'
|
|
16216
16266
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
@@ -16241,7 +16291,7 @@ const Countdown = VxeCountdown;
|
|
|
16241
16291
|
onClick: dateNextEvent
|
|
16242
16292
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
16243
16293
|
class: 'vxe-icon-caret-right'
|
|
16244
|
-
})]), multiple &&
|
|
16294
|
+
})]), multiple && supportMultiples ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
16245
16295
|
class: 'vxe-date-picker--date-picker-btn vxe-date-picker--date-picker-confirm-btn'
|
|
16246
16296
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('button', {
|
|
16247
16297
|
class: 'vxe-date-picker--date-picker-confirm',
|