vxe-pc-ui 4.10.47 → 4.10.49
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/calendar/src/calendar.js +11 -5
- package/es/icon/style.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/lib/calendar/src/calendar.js +41 -5
- package/lib/calendar/src/calendar.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +43 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +1 -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/package.json +1 -1
- package/packages/calendar/src/calendar.ts +11 -5
- package/types/components/calendar.d.ts +10 -1
- package/types/components/date-panel.d.ts +1 -1
- package/types/components/gantt.d.ts +5 -5
- package/types/components/input.d.ts +1 -1
- /package/es/icon/{iconfont.1765187548583.ttf → iconfont.1765265204333.ttf} +0 -0
- /package/es/icon/{iconfont.1765187548583.woff → iconfont.1765265204333.woff} +0 -0
- /package/es/icon/{iconfont.1765187548583.woff2 → iconfont.1765265204333.woff2} +0 -0
- /package/es/{iconfont.1765187548583.ttf → iconfont.1765265204333.ttf} +0 -0
- /package/es/{iconfont.1765187548583.woff → iconfont.1765265204333.woff} +0 -0
- /package/es/{iconfont.1765187548583.woff2 → iconfont.1765265204333.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1765187548583.ttf → iconfont.1765265204333.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1765187548583.woff → iconfont.1765265204333.woff} +0 -0
- /package/lib/icon/style/{iconfont.1765187548583.woff2 → iconfont.1765265204333.woff2} +0 -0
- /package/lib/{iconfont.1765187548583.ttf → iconfont.1765265204333.ttf} +0 -0
- /package/lib/{iconfont.1765187548583.woff → iconfont.1765265204333.woff} +0 -0
- /package/lib/{iconfont.1765187548583.woff2 → iconfont.1765265204333.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3599,14 +3599,14 @@ function checkDynamic() {
|
|
|
3599
3599
|
}
|
|
3600
3600
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
3601
3601
|
|
|
3602
|
-
const log_version = `ui v${"4.10.
|
|
3602
|
+
const log_version = `ui v${"4.10.49"}`;
|
|
3603
3603
|
const warnLog = log.create('warn', log_version);
|
|
3604
3604
|
const errLog = log.create('error', log_version);
|
|
3605
3605
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
3606
3606
|
|
|
3607
3607
|
|
|
3608
3608
|
|
|
3609
|
-
const ui_version = "4.10.
|
|
3609
|
+
const ui_version = "4.10.49";
|
|
3610
3610
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
3611
3611
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
3612
3612
|
function config(options) {
|
|
@@ -8069,6 +8069,7 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8069
8069
|
type: Function,
|
|
8070
8070
|
default: () => getConfig().calendar.disabledMethod
|
|
8071
8071
|
},
|
|
8072
|
+
cellStyle: Function,
|
|
8072
8073
|
// week
|
|
8073
8074
|
selectDay: {
|
|
8074
8075
|
type: [String, Number],
|
|
@@ -8901,7 +8902,8 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8901
8902
|
};
|
|
8902
8903
|
const renderDateDayTable = () => {
|
|
8903
8904
|
const {
|
|
8904
|
-
multiple
|
|
8905
|
+
multiple,
|
|
8906
|
+
cellStyle
|
|
8905
8907
|
} = props;
|
|
8906
8908
|
const {
|
|
8907
8909
|
datePanelType,
|
|
@@ -8933,6 +8935,12 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8933
8935
|
'is--selected': 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),
|
|
8934
8936
|
'is--hover': external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
8935
8937
|
}],
|
|
8938
|
+
style: Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(cellStyle) ? cellStyle({
|
|
8939
|
+
type: datePanelType,
|
|
8940
|
+
viewType: datePanelType,
|
|
8941
|
+
date: item.date,
|
|
8942
|
+
$calendar: $xeCalendar
|
|
8943
|
+
}) : cellStyle),
|
|
8936
8944
|
onClick: () => dateSelectEvent(item),
|
|
8937
8945
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
8938
8946
|
}, renderDateLabel(item, item.label));
|
|
@@ -8941,7 +8949,8 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8941
8949
|
};
|
|
8942
8950
|
const renderDateWeekTable = () => {
|
|
8943
8951
|
const {
|
|
8944
|
-
multiple
|
|
8952
|
+
multiple,
|
|
8953
|
+
cellStyle
|
|
8945
8954
|
} = props;
|
|
8946
8955
|
const {
|
|
8947
8956
|
datePanelType,
|
|
@@ -8975,6 +8984,12 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8975
8984
|
'is--selected': isSelected,
|
|
8976
8985
|
'is--hover': isHover
|
|
8977
8986
|
}],
|
|
8987
|
+
style: Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(cellStyle) ? cellStyle({
|
|
8988
|
+
type: datePanelType,
|
|
8989
|
+
viewType: datePanelType,
|
|
8990
|
+
date: item.date,
|
|
8991
|
+
$calendar: $xeCalendar
|
|
8992
|
+
}) : cellStyle),
|
|
8978
8993
|
// event
|
|
8979
8994
|
onClick: () => dateSelectEvent(item),
|
|
8980
8995
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
@@ -8984,7 +8999,8 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8984
8999
|
};
|
|
8985
9000
|
const renderDateMonthTable = () => {
|
|
8986
9001
|
const {
|
|
8987
|
-
multiple
|
|
9002
|
+
multiple,
|
|
9003
|
+
cellStyle
|
|
8988
9004
|
} = props;
|
|
8989
9005
|
const {
|
|
8990
9006
|
datePanelType,
|
|
@@ -9011,6 +9027,12 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
9011
9027
|
'is--selected': 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),
|
|
9012
9028
|
'is--hover': external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
9013
9029
|
}],
|
|
9030
|
+
style: Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(cellStyle) ? cellStyle({
|
|
9031
|
+
type: datePanelType,
|
|
9032
|
+
viewType: datePanelType,
|
|
9033
|
+
date: item.date,
|
|
9034
|
+
$calendar: $xeCalendar
|
|
9035
|
+
}) : cellStyle),
|
|
9014
9036
|
onClick: () => dateSelectEvent(item),
|
|
9015
9037
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
9016
9038
|
}, renderDateLabel(item, getI18n(`vxe.input.date.months.m${item.month}`)));
|
|
@@ -9019,7 +9041,8 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
9019
9041
|
};
|
|
9020
9042
|
const renderDateQuarterTable = () => {
|
|
9021
9043
|
const {
|
|
9022
|
-
multiple
|
|
9044
|
+
multiple,
|
|
9045
|
+
cellStyle
|
|
9023
9046
|
} = props;
|
|
9024
9047
|
const {
|
|
9025
9048
|
datePanelType,
|
|
@@ -9046,6 +9069,12 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
9046
9069
|
'is--selected': 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),
|
|
9047
9070
|
'is--hover': external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
9048
9071
|
}],
|
|
9072
|
+
style: Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(cellStyle) ? cellStyle({
|
|
9073
|
+
type: datePanelType,
|
|
9074
|
+
viewType: datePanelType,
|
|
9075
|
+
date: item.date,
|
|
9076
|
+
$calendar: $xeCalendar
|
|
9077
|
+
}) : cellStyle),
|
|
9049
9078
|
onClick: () => dateSelectEvent(item),
|
|
9050
9079
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
9051
9080
|
}, renderDateLabel(item, getI18n(`vxe.input.date.quarters.q${item.quarter}`)));
|
|
@@ -9054,7 +9083,8 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
9054
9083
|
};
|
|
9055
9084
|
const renderDateYearTable = () => {
|
|
9056
9085
|
const {
|
|
9057
|
-
multiple
|
|
9086
|
+
multiple,
|
|
9087
|
+
cellStyle
|
|
9058
9088
|
} = props;
|
|
9059
9089
|
const {
|
|
9060
9090
|
datePanelType,
|
|
@@ -9081,6 +9111,12 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
9081
9111
|
'is--selected': 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),
|
|
9082
9112
|
'is--hover': external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
9083
9113
|
}],
|
|
9114
|
+
style: Object.assign({}, external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isFunction(cellStyle) ? cellStyle({
|
|
9115
|
+
type: datePanelType,
|
|
9116
|
+
viewType: datePanelType,
|
|
9117
|
+
date: item.date,
|
|
9118
|
+
$calendar: $xeCalendar
|
|
9119
|
+
}) : cellStyle),
|
|
9084
9120
|
onClick: () => dateSelectEvent(item),
|
|
9085
9121
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
9086
9122
|
}, renderDateLabel(item, item.year));
|