vxe-pc-ui 3.3.37 → 3.3.39
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/icon/style.css +1 -1
- package/es/language/ar-EG.js +3 -0
- package/es/language/de-DE.js +3 -0
- package/es/language/en-US.js +3 -0
- package/es/language/es-ES.js +3 -0
- package/es/language/fr-FR.js +3 -0
- package/es/language/hu-HU.js +3 -0
- package/es/language/hy-AM.js +3 -0
- package/es/language/ja-JP.js +3 -0
- package/es/language/ko-KR.js +3 -0
- package/es/language/nb-NO.js +3 -0
- package/es/language/pt-BR.js +3 -0
- package/es/language/ru-RU.js +3 -0
- package/es/language/ug-CN.js +3 -0
- package/es/language/uk-UA.js +3 -0
- package/es/language/vi-VN.js +3 -0
- package/es/language/zh-CHT.js +3 -0
- package/es/language/zh-CN.js +3 -0
- package/es/number-input/src/number-input.js +14 -2
- 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/es/upload/src/upload.js +10 -5
- package/es/upload/style.css +1 -2
- package/es/upload/style.min.css +1 -1
- package/es/vxe-upload/style.css +1 -2
- package/es/vxe-upload/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 +35 -8
- package/lib/index.umd.min.js +1 -1
- package/lib/language/ar-EG.js +3 -0
- package/lib/language/ar-EG.min.js +1 -1
- package/lib/language/de-DE.js +3 -0
- package/lib/language/de-DE.min.js +1 -1
- package/lib/language/en-US.js +3 -0
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +3 -0
- package/lib/language/es-ES.js +3 -0
- package/lib/language/es-ES.min.js +1 -1
- package/lib/language/es-ES.umd.js +3 -0
- package/lib/language/fr-FR.js +3 -0
- package/lib/language/fr-FR.min.js +1 -1
- package/lib/language/hu-HU.js +3 -0
- package/lib/language/hu-HU.min.js +1 -1
- package/lib/language/hu-HU.umd.js +3 -0
- package/lib/language/hy-AM.js +3 -0
- package/lib/language/hy-AM.min.js +1 -1
- package/lib/language/ja-JP.js +3 -0
- package/lib/language/ja-JP.min.js +1 -1
- package/lib/language/ja-JP.umd.js +3 -0
- package/lib/language/ko-KR.js +3 -0
- package/lib/language/ko-KR.min.js +1 -1
- package/lib/language/ko-KR.umd.js +3 -0
- package/lib/language/nb-NO.js +3 -0
- package/lib/language/nb-NO.min.js +1 -1
- package/lib/language/pt-BR.js +3 -0
- package/lib/language/pt-BR.min.js +1 -1
- package/lib/language/pt-BR.umd.js +3 -0
- package/lib/language/ru-RU.js +3 -0
- package/lib/language/ru-RU.min.js +1 -1
- package/lib/language/ru-RU.umd.js +3 -0
- package/lib/language/ug-CN.js +3 -0
- package/lib/language/ug-CN.min.js +1 -1
- package/lib/language/uk-UA.js +3 -0
- package/lib/language/uk-UA.min.js +1 -1
- package/lib/language/uk-UA.umd.js +3 -0
- package/lib/language/vi-VN.js +3 -0
- package/lib/language/vi-VN.min.js +1 -1
- package/lib/language/zh-CHT.js +3 -0
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CHT.umd.js +3 -0
- package/lib/language/zh-CN.js +3 -0
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +3 -0
- package/lib/number-input/src/number-input.js +20 -2
- package/lib/number-input/src/number-input.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/lib/upload/src/upload.js +9 -4
- package/lib/upload/src/upload.min.js +1 -1
- package/lib/upload/style/style.css +1 -2
- package/lib/upload/style/style.min.css +1 -1
- package/lib/vxe-upload/style/style.css +1 -2
- package/lib/vxe-upload/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/language/ar-EG.ts +3 -0
- package/packages/language/de-DE.ts +3 -0
- package/packages/language/en-US.ts +3 -0
- package/packages/language/es-ES.ts +3 -0
- package/packages/language/fr-FR.ts +3 -0
- package/packages/language/hu-HU.ts +3 -0
- package/packages/language/hy-AM.ts +3 -0
- package/packages/language/ja-JP.ts +3 -0
- package/packages/language/ko-KR.ts +3 -0
- package/packages/language/nb-NO.ts +3 -0
- package/packages/language/pt-BR.ts +3 -0
- package/packages/language/ru-RU.ts +3 -0
- package/packages/language/ug-CN.ts +3 -0
- package/packages/language/uk-UA.ts +3 -0
- package/packages/language/vi-VN.ts +3 -0
- package/packages/language/zh-CHT.ts +3 -0
- package/packages/language/zh-CN.ts +3 -0
- package/packages/number-input/src/number-input.ts +14 -2
- package/packages/upload/src/upload.ts +10 -5
- package/styles/components/upload.scss +1 -2
- package/types/components/number-input.d.ts +12 -0
- package/types/components/table.d.ts +16 -0
- /package/es/icon/{iconfont.1734347209149.ttf → iconfont.1734427242348.ttf} +0 -0
- /package/es/icon/{iconfont.1734347209149.woff → iconfont.1734427242348.woff} +0 -0
- /package/es/icon/{iconfont.1734347209149.woff2 → iconfont.1734427242348.woff2} +0 -0
- /package/es/{iconfont.1734347209149.ttf → iconfont.1734427242348.ttf} +0 -0
- /package/es/{iconfont.1734347209149.woff → iconfont.1734427242348.woff} +0 -0
- /package/es/{iconfont.1734347209149.woff2 → iconfont.1734427242348.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1734347209149.ttf → iconfont.1734427242348.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1734347209149.woff → iconfont.1734427242348.woff} +0 -0
- /package/lib/icon/style/{iconfont.1734347209149.woff2 → iconfont.1734427242348.woff2} +0 -0
- /package/lib/{iconfont.1734347209149.ttf → iconfont.1734427242348.ttf} +0 -0
- /package/lib/{iconfont.1734347209149.woff → iconfont.1734427242348.woff} +0 -0
- /package/lib/{iconfont.1734347209149.woff2 → iconfont.1734427242348.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -12370,6 +12370,9 @@ setTheme();
|
|
|
12370
12370
|
}
|
|
12371
12371
|
}
|
|
12372
12372
|
},
|
|
12373
|
+
numberInput: {
|
|
12374
|
+
currencySymbol: '¥'
|
|
12375
|
+
},
|
|
12373
12376
|
imagePreview: {
|
|
12374
12377
|
popupTitle: '预览',
|
|
12375
12378
|
operBtn: {
|
|
@@ -12859,7 +12862,7 @@ function handleBooleanDefaultValue(value) {
|
|
|
12859
12862
|
}
|
|
12860
12863
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
12861
12864
|
|
|
12862
|
-
var log_version = "ui v".concat("3.3.
|
|
12865
|
+
var log_version = "ui v".concat("3.3.39");
|
|
12863
12866
|
var warnLog = log.create('warn', log_version);
|
|
12864
12867
|
var errLog = log.create('error', log_version);
|
|
12865
12868
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
@@ -12867,7 +12870,7 @@ var errLog = log.create('error', log_version);
|
|
|
12867
12870
|
|
|
12868
12871
|
|
|
12869
12872
|
|
|
12870
|
-
var ui_version = "3.3.
|
|
12873
|
+
var ui_version = "3.3.39";
|
|
12871
12874
|
index_esm_VxeUI.version = ui_version;
|
|
12872
12875
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
12873
12876
|
index_esm_VxeUI.tableVersion = '';
|
|
@@ -33765,6 +33768,7 @@ var NoticeBar = VxeNoticeBar;
|
|
|
33765
33768
|
|
|
33766
33769
|
|
|
33767
33770
|
|
|
33771
|
+
|
|
33768
33772
|
var handleNumberString = function handleNumberString(val) {
|
|
33769
33773
|
if (external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(val)) {
|
|
33770
33774
|
return '';
|
|
@@ -33835,6 +33839,18 @@ var handleNumberString = function handleNumberString(val) {
|
|
|
33835
33839
|
return getConfig().numberInput.exponential;
|
|
33836
33840
|
}
|
|
33837
33841
|
},
|
|
33842
|
+
showCurrency: {
|
|
33843
|
+
type: Boolean,
|
|
33844
|
+
default: function _default() {
|
|
33845
|
+
return getConfig().numberInput.showCurrency;
|
|
33846
|
+
}
|
|
33847
|
+
},
|
|
33848
|
+
currencySymbol: {
|
|
33849
|
+
type: String,
|
|
33850
|
+
default: function _default() {
|
|
33851
|
+
return getConfig().numberInput.currencySymbol;
|
|
33852
|
+
}
|
|
33853
|
+
},
|
|
33838
33854
|
// number、integer、float
|
|
33839
33855
|
controls: {
|
|
33840
33856
|
type: Boolean,
|
|
@@ -33994,13 +34010,19 @@ var handleNumberString = function handleNumberString(val) {
|
|
|
33994
34010
|
var $xeNumberInput = this;
|
|
33995
34011
|
var props = $xeNumberInput;
|
|
33996
34012
|
var reactData = $xeNumberInput.reactData;
|
|
33997
|
-
var type = props.type
|
|
34013
|
+
var type = props.type,
|
|
34014
|
+
showCurrency = props.showCurrency,
|
|
34015
|
+
currencySymbol = props.currencySymbol;
|
|
33998
34016
|
var inputValue = reactData.inputValue;
|
|
33999
34017
|
var digitsValue = $xeNumberInput.computeDigitsValue;
|
|
34000
34018
|
if (type === 'amount') {
|
|
34001
|
-
|
|
34019
|
+
var amountLabel = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().commafy(external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(inputValue), {
|
|
34002
34020
|
digits: digitsValue
|
|
34003
34021
|
});
|
|
34022
|
+
if (showCurrency) {
|
|
34023
|
+
return "".concat(currencySymbol || getI18n('vxe.numberInput.currencySymbol') || '').concat(amountLabel);
|
|
34024
|
+
}
|
|
34025
|
+
return amountLabel;
|
|
34004
34026
|
}
|
|
34005
34027
|
return external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toString(inputValue);
|
|
34006
34028
|
},
|
|
@@ -45379,12 +45401,14 @@ function handleTransferFiles(items) {
|
|
|
45379
45401
|
function showDropTip($xeUpload, evnt, dragEl, dragPos) {
|
|
45380
45402
|
var xID = $xeUpload.xID;
|
|
45381
45403
|
var reactData = $xeUpload.reactData;
|
|
45404
|
+
var showMorePopup = reactData.showMorePopup;
|
|
45382
45405
|
var el = $xeUpload.$refs.refElem;
|
|
45383
|
-
|
|
45406
|
+
var popupEl = document.getElementById("refPopupElem".concat(xID));
|
|
45407
|
+
var wrapperEl = showMorePopup ? popupEl : el;
|
|
45408
|
+
if (!wrapperEl) {
|
|
45384
45409
|
return;
|
|
45385
45410
|
}
|
|
45386
|
-
var
|
|
45387
|
-
var wrapperRect = el.getBoundingClientRect();
|
|
45411
|
+
var wrapperRect = wrapperEl.getBoundingClientRect();
|
|
45388
45412
|
var ddLineEl = $xeUpload.$refs.refDragLineElem;
|
|
45389
45413
|
var mdLineEl = document.getElementById("refModalDragLineElem".concat(xID));
|
|
45390
45414
|
var currDLineEl = showMorePopup ? mdLineEl : ddLineEl;
|
|
@@ -46381,6 +46405,9 @@ function hideDropTip($xeUpload) {
|
|
|
46381
46405
|
ons.drop = $xeUpload.handleUploadDropEvent;
|
|
46382
46406
|
}
|
|
46383
46407
|
return h('div', {
|
|
46408
|
+
attrs: {
|
|
46409
|
+
id: "refPopupElem".concat(xID)
|
|
46410
|
+
},
|
|
46384
46411
|
class: ['vxe-upload--more-popup', {
|
|
46385
46412
|
'is--readonly': formReadonly,
|
|
46386
46413
|
'is--disabled': isDisabled,
|
|
@@ -46996,7 +47023,7 @@ function hideDropTip($xeUpload) {
|
|
|
46996
47023
|
errLog('vxe.error.errConflicts', ['multiple', 'single-mode']);
|
|
46997
47024
|
}
|
|
46998
47025
|
if (props.imageStyle) {
|
|
46999
|
-
|
|
47026
|
+
warnLog('vxe.error.delProp', ['image-style', 'image-config']);
|
|
47000
47027
|
}
|
|
47001
47028
|
}
|
|
47002
47029
|
globalEvents.on($xeUpload, 'paste', $xeUpload.handleGlobalPasteEvent);
|