vxe-pc-ui 4.10.46 → 4.10.48
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/language/ar-EG.js +14 -10
- package/es/language/de-DE.js +14 -10
- package/es/language/en-US.js +17 -13
- package/es/language/es-ES.js +14 -10
- package/es/language/fr-FR.js +14 -10
- package/es/language/hu-HU.js +14 -10
- package/es/language/hy-AM.js +14 -10
- package/es/language/id-ID.js +14 -10
- package/es/language/it-IT.js +14 -10
- package/es/language/ja-JP.js +14 -10
- package/es/language/ko-KR.js +14 -10
- package/es/language/ms-MY.js +14 -10
- package/es/language/nb-NO.js +14 -10
- package/es/language/pt-BR.js +14 -10
- package/es/language/ru-RU.js +14 -10
- package/es/language/th-TH.js +14 -10
- package/es/language/ug-CN.js +14 -10
- package/es/language/uk-UA.js +14 -10
- package/es/language/uz-UZ.js +14 -10
- package/es/language/vi-VN.js +14 -10
- package/es/language/zh-CHT.js +14 -10
- package/es/language/zh-CN.js +13 -11
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tooltip/src/tooltip.js +6 -2
- 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 +65 -22
- package/lib/index.umd.min.js +1 -1
- package/lib/language/ar-EG.js +14 -10
- package/lib/language/ar-EG.min.js +1 -1
- package/lib/language/ar-EG.umd.js +14 -10
- package/lib/language/de-DE.js +14 -10
- package/lib/language/de-DE.min.js +1 -1
- package/lib/language/de-DE.umd.js +14 -10
- package/lib/language/en-US.js +17 -13
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +17 -13
- package/lib/language/es-ES.js +14 -10
- package/lib/language/es-ES.min.js +1 -1
- package/lib/language/es-ES.umd.js +14 -10
- package/lib/language/fr-FR.js +14 -10
- package/lib/language/fr-FR.min.js +1 -1
- package/lib/language/fr-FR.umd.js +14 -10
- package/lib/language/hu-HU.js +14 -10
- package/lib/language/hu-HU.min.js +1 -1
- package/lib/language/hu-HU.umd.js +14 -10
- package/lib/language/hy-AM.js +14 -10
- package/lib/language/hy-AM.min.js +1 -1
- package/lib/language/hy-AM.umd.js +14 -10
- package/lib/language/id-ID.js +14 -10
- package/lib/language/id-ID.min.js +1 -1
- package/lib/language/id-ID.umd.js +14 -10
- package/lib/language/it-IT.js +14 -10
- package/lib/language/it-IT.min.js +1 -1
- package/lib/language/it-IT.umd.js +14 -10
- package/lib/language/ja-JP.js +14 -10
- package/lib/language/ja-JP.min.js +1 -1
- package/lib/language/ja-JP.umd.js +14 -10
- package/lib/language/ko-KR.js +14 -10
- package/lib/language/ko-KR.min.js +1 -1
- package/lib/language/ko-KR.umd.js +14 -10
- package/lib/language/ms-MY.js +14 -10
- package/lib/language/ms-MY.min.js +1 -1
- package/lib/language/ms-MY.umd.js +14 -10
- package/lib/language/nb-NO.js +14 -10
- package/lib/language/nb-NO.min.js +1 -1
- package/lib/language/nb-NO.umd.js +14 -10
- package/lib/language/pt-BR.js +14 -10
- package/lib/language/pt-BR.min.js +1 -1
- package/lib/language/pt-BR.umd.js +14 -10
- package/lib/language/ru-RU.js +14 -10
- package/lib/language/ru-RU.min.js +1 -1
- package/lib/language/ru-RU.umd.js +14 -10
- package/lib/language/th-TH.js +14 -10
- package/lib/language/th-TH.min.js +1 -1
- package/lib/language/th-TH.umd.js +14 -10
- package/lib/language/ug-CN.js +14 -10
- package/lib/language/ug-CN.min.js +1 -1
- package/lib/language/ug-CN.umd.js +14 -10
- package/lib/language/uk-UA.js +14 -10
- package/lib/language/uk-UA.min.js +1 -1
- package/lib/language/uk-UA.umd.js +14 -10
- package/lib/language/uz-UZ.js +14 -10
- package/lib/language/uz-UZ.min.js +1 -1
- package/lib/language/uz-UZ.umd.js +14 -10
- package/lib/language/vi-VN.js +14 -10
- package/lib/language/vi-VN.min.js +1 -1
- package/lib/language/vi-VN.umd.js +14 -10
- package/lib/language/zh-CHT.js +14 -10
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CHT.umd.js +14 -10
- package/lib/language/zh-CN.js +13 -11
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +13 -11
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tooltip/src/tooltip.js +9 -4
- package/lib/tooltip/src/tooltip.min.js +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/packages/language/ar-EG.ts +14 -10
- package/packages/language/de-DE.ts +14 -10
- package/packages/language/en-US.ts +17 -13
- package/packages/language/es-ES.ts +14 -10
- package/packages/language/fr-FR.ts +14 -10
- package/packages/language/hu-HU.ts +14 -10
- package/packages/language/hy-AM.ts +14 -10
- package/packages/language/id-ID.ts +14 -10
- package/packages/language/it-IT.ts +14 -10
- package/packages/language/ja-JP.ts +14 -10
- package/packages/language/ko-KR.ts +14 -10
- package/packages/language/ms-MY.ts +14 -10
- package/packages/language/nb-NO.ts +14 -10
- package/packages/language/pt-BR.ts +14 -10
- package/packages/language/ru-RU.ts +14 -10
- package/packages/language/th-TH.ts +14 -10
- package/packages/language/ug-CN.ts +14 -10
- package/packages/language/uk-UA.ts +14 -10
- package/packages/language/uz-UZ.ts +14 -10
- package/packages/language/vi-VN.ts +14 -10
- package/packages/language/zh-CHT.ts +14 -10
- package/packages/language/zh-CN.ts +13 -11
- package/packages/tooltip/src/tooltip.ts +6 -2
- package/types/components/calendar.d.ts +10 -1
- package/types/components/gantt.d.ts +27 -6
- /package/es/icon/{iconfont.1765120249306.ttf → iconfont.1765260259336.ttf} +0 -0
- /package/es/icon/{iconfont.1765120249306.woff → iconfont.1765260259336.woff} +0 -0
- /package/es/icon/{iconfont.1765120249306.woff2 → iconfont.1765260259336.woff2} +0 -0
- /package/es/{iconfont.1765120249306.ttf → iconfont.1765260259336.ttf} +0 -0
- /package/es/{iconfont.1765120249306.woff → iconfont.1765260259336.woff} +0 -0
- /package/es/{iconfont.1765120249306.woff2 → iconfont.1765260259336.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1765120249306.ttf → iconfont.1765260259336.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1765120249306.woff → iconfont.1765260259336.woff} +0 -0
- /package/lib/icon/style/{iconfont.1765120249306.woff2 → iconfont.1765260259336.woff2} +0 -0
- /package/lib/{iconfont.1765120249306.ttf → iconfont.1765260259336.ttf} +0 -0
- /package/lib/{iconfont.1765120249306.woff → iconfont.1765260259336.woff} +0 -0
- /package/lib/{iconfont.1765120249306.woff2 → iconfont.1765260259336.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.48"}`;
|
|
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.48";
|
|
3610
3610
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
3611
3611
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
3612
3612
|
function config(options) {
|
|
@@ -4755,24 +4755,26 @@ setIcon({
|
|
|
4755
4755
|
},
|
|
4756
4756
|
gantt: {
|
|
4757
4757
|
tFullFormat: {
|
|
4758
|
-
year: '{
|
|
4759
|
-
quarter: '{
|
|
4760
|
-
month: '{
|
|
4761
|
-
week: '{
|
|
4762
|
-
day: '{
|
|
4763
|
-
date: '{
|
|
4764
|
-
hour: '{
|
|
4765
|
-
minute: '{
|
|
4758
|
+
year: '{yyyy}年',
|
|
4759
|
+
quarter: '{yyyy}年第{q}季度',
|
|
4760
|
+
month: '{yyyy}年{MM}月',
|
|
4761
|
+
week: '{yyyy}年第{W}周',
|
|
4762
|
+
day: '{yyyy}年{MM}月 {E}',
|
|
4763
|
+
date: '{yyyy}年{MM}月{dd}日',
|
|
4764
|
+
hour: '{yyyy}年{MM}月{dd}日{HH}时',
|
|
4765
|
+
minute: '{yyyy}年{MM}月{dd}日{HH}时{mm}分',
|
|
4766
|
+
second: '{yyyy}年{MM}月{dd}日{HH}时{mm}分{ss}秒'
|
|
4766
4767
|
},
|
|
4767
4768
|
tSimpleFormat: {
|
|
4768
|
-
year: '{
|
|
4769
|
+
year: '{yyyy}年',
|
|
4769
4770
|
quarter: '{q}季度',
|
|
4770
4771
|
month: '{M}月',
|
|
4771
4772
|
week: '{W}周',
|
|
4772
4773
|
day: '{d}',
|
|
4773
4774
|
date: '{d}',
|
|
4774
|
-
hour: '{
|
|
4775
|
-
minute: '{
|
|
4775
|
+
hour: '{HH}',
|
|
4776
|
+
minute: '{mm}',
|
|
4777
|
+
second: '{ss}'
|
|
4776
4778
|
},
|
|
4777
4779
|
dayss: {
|
|
4778
4780
|
w0: '日',
|
|
@@ -6675,11 +6677,16 @@ function handleBooleanDefaultValue(value) {
|
|
|
6675
6677
|
return handleVisible(target, content);
|
|
6676
6678
|
},
|
|
6677
6679
|
updatePlacement() {
|
|
6680
|
+
const {
|
|
6681
|
+
visible,
|
|
6682
|
+
tipTarget
|
|
6683
|
+
} = reactData;
|
|
6684
|
+
let el = refElem.value;
|
|
6685
|
+
if (visible && tipTarget && el) {
|
|
6686
|
+
updateTipStyle();
|
|
6687
|
+
}
|
|
6678
6688
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
|
|
6679
|
-
|
|
6680
|
-
tipTarget
|
|
6681
|
-
} = reactData;
|
|
6682
|
-
const el = refElem.value;
|
|
6689
|
+
el = refElem.value;
|
|
6683
6690
|
if (tipTarget && el) {
|
|
6684
6691
|
updateTipStyle();
|
|
6685
6692
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)().then(() => {
|
|
@@ -8062,6 +8069,7 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8062
8069
|
type: Function,
|
|
8063
8070
|
default: () => getConfig().calendar.disabledMethod
|
|
8064
8071
|
},
|
|
8072
|
+
cellStyle: Function,
|
|
8065
8073
|
// week
|
|
8066
8074
|
selectDay: {
|
|
8067
8075
|
type: [String, Number],
|
|
@@ -8894,7 +8902,8 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8894
8902
|
};
|
|
8895
8903
|
const renderDateDayTable = () => {
|
|
8896
8904
|
const {
|
|
8897
|
-
multiple
|
|
8905
|
+
multiple,
|
|
8906
|
+
cellStyle
|
|
8898
8907
|
} = props;
|
|
8899
8908
|
const {
|
|
8900
8909
|
datePanelType,
|
|
@@ -8926,6 +8935,12 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8926
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),
|
|
8927
8936
|
'is--hover': external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
8928
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),
|
|
8929
8944
|
onClick: () => dateSelectEvent(item),
|
|
8930
8945
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
8931
8946
|
}, renderDateLabel(item, item.label));
|
|
@@ -8934,7 +8949,8 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8934
8949
|
};
|
|
8935
8950
|
const renderDateWeekTable = () => {
|
|
8936
8951
|
const {
|
|
8937
|
-
multiple
|
|
8952
|
+
multiple,
|
|
8953
|
+
cellStyle
|
|
8938
8954
|
} = props;
|
|
8939
8955
|
const {
|
|
8940
8956
|
datePanelType,
|
|
@@ -8968,6 +8984,12 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8968
8984
|
'is--selected': isSelected,
|
|
8969
8985
|
'is--hover': isHover
|
|
8970
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),
|
|
8971
8993
|
// event
|
|
8972
8994
|
onClick: () => dateSelectEvent(item),
|
|
8973
8995
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
@@ -8977,7 +8999,8 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
8977
8999
|
};
|
|
8978
9000
|
const renderDateMonthTable = () => {
|
|
8979
9001
|
const {
|
|
8980
|
-
multiple
|
|
9002
|
+
multiple,
|
|
9003
|
+
cellStyle
|
|
8981
9004
|
} = props;
|
|
8982
9005
|
const {
|
|
8983
9006
|
datePanelType,
|
|
@@ -9004,6 +9027,12 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
9004
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),
|
|
9005
9028
|
'is--hover': external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
9006
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),
|
|
9007
9036
|
onClick: () => dateSelectEvent(item),
|
|
9008
9037
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
9009
9038
|
}, renderDateLabel(item, getI18n(`vxe.input.date.months.m${item.month}`)));
|
|
@@ -9012,7 +9041,8 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
9012
9041
|
};
|
|
9013
9042
|
const renderDateQuarterTable = () => {
|
|
9014
9043
|
const {
|
|
9015
|
-
multiple
|
|
9044
|
+
multiple,
|
|
9045
|
+
cellStyle
|
|
9016
9046
|
} = props;
|
|
9017
9047
|
const {
|
|
9018
9048
|
datePanelType,
|
|
@@ -9039,6 +9069,12 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
9039
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),
|
|
9040
9070
|
'is--hover': external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
9041
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),
|
|
9042
9078
|
onClick: () => dateSelectEvent(item),
|
|
9043
9079
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
9044
9080
|
}, renderDateLabel(item, getI18n(`vxe.input.date.quarters.q${item.quarter}`)));
|
|
@@ -9047,7 +9083,8 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
9047
9083
|
};
|
|
9048
9084
|
const renderDateYearTable = () => {
|
|
9049
9085
|
const {
|
|
9050
|
-
multiple
|
|
9086
|
+
multiple,
|
|
9087
|
+
cellStyle
|
|
9051
9088
|
} = props;
|
|
9052
9089
|
const {
|
|
9053
9090
|
datePanelType,
|
|
@@ -9074,6 +9111,12 @@ function getRangeDateByCode(code, val, type, options) {
|
|
|
9074
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),
|
|
9075
9112
|
'is--hover': external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isDateSame(datePanelValue, item.date, matchFormat)
|
|
9076
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),
|
|
9077
9120
|
onClick: () => dateSelectEvent(item),
|
|
9078
9121
|
onMouseenter: () => dateMouseenterEvent(item)
|
|
9079
9122
|
}, renderDateLabel(item, item.year));
|