vxe-pc-ui 3.3.42 → 3.3.44
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/button/style.css +1 -1
- package/es/button/style.min.css +1 -1
- package/es/checkbox/src/checkbox.js +2 -0
- package/es/checkbox/src/group.js +1 -0
- package/es/color-picker/src/color-picker.js +991 -7
- package/es/color-picker/src/util.js +190 -0
- package/es/color-picker/style.css +355 -0
- package/es/color-picker/style.min.css +1 -0
- package/es/icon/style.css +1 -1
- package/es/input/src/input.js +19 -8
- package/es/language/ar-EG.js +9 -0
- package/es/language/de-DE.js +9 -0
- package/es/language/en-US.js +9 -0
- package/es/language/es-ES.js +9 -0
- package/es/language/fr-FR.js +9 -0
- package/es/language/hu-HU.js +9 -0
- package/es/language/hy-AM.js +9 -0
- package/es/language/ja-JP.js +9 -0
- package/es/language/ko-KR.js +9 -0
- package/es/language/nb-NO.js +9 -0
- package/es/language/pt-BR.js +9 -0
- package/es/language/ru-RU.js +9 -0
- package/es/language/ug-CN.js +9 -0
- package/es/language/uk-UA.js +9 -0
- package/es/language/vi-VN.js +9 -0
- package/es/language/zh-CHT.js +9 -0
- package/es/language/zh-CN.js +9 -0
- package/es/list/src/list.js +1 -1
- package/es/number-input/src/number-input.js +3 -1
- package/es/radio/src/button.js +2 -0
- package/es/radio/src/group.js +1 -0
- package/es/radio/src/radio.js +2 -0
- package/es/slider/src/slider.js +2 -4
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +11 -3
- package/es/ui/src/log.js +1 -1
- package/es/vxe-button/style.css +1 -1
- package/es/vxe-button/style.min.css +1 -1
- package/es/vxe-color-picker/style.css +355 -0
- package/es/vxe-color-picker/style.min.css +1 -0
- package/helper/vetur/attributes.json +1 -1
- package/helper/vetur/tags.json +1 -1
- package/lib/button/style/style.css +1 -1
- package/lib/button/style/style.min.css +1 -1
- package/lib/checkbox/src/checkbox.js +2 -0
- package/lib/checkbox/src/checkbox.min.js +1 -1
- package/lib/checkbox/src/group.js +1 -0
- package/lib/checkbox/src/group.min.js +1 -1
- package/lib/color-picker/src/color-picker.js +950 -7
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/color-picker/src/util.js +215 -0
- package/lib/color-picker/src/util.min.js +1 -0
- package/lib/color-picker/style/style.css +355 -0
- package/lib/color-picker/style/style.min.css +1 -0
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +9964 -8778
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +17 -7
- package/lib/input/src/input.min.js +1 -1
- package/lib/language/ar-EG.js +9 -0
- package/lib/language/ar-EG.min.js +1 -1
- package/lib/language/de-DE.js +9 -0
- package/lib/language/de-DE.min.js +1 -1
- package/lib/language/en-US.js +9 -0
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +9 -0
- package/lib/language/es-ES.js +9 -0
- package/lib/language/es-ES.min.js +1 -1
- package/lib/language/es-ES.umd.js +9 -0
- package/lib/language/fr-FR.js +9 -0
- package/lib/language/fr-FR.min.js +1 -1
- package/lib/language/hu-HU.js +9 -0
- package/lib/language/hu-HU.min.js +1 -1
- package/lib/language/hu-HU.umd.js +9 -0
- package/lib/language/hy-AM.js +9 -0
- package/lib/language/hy-AM.min.js +1 -1
- package/lib/language/ja-JP.js +9 -0
- package/lib/language/ja-JP.min.js +1 -1
- package/lib/language/ja-JP.umd.js +9 -0
- package/lib/language/ko-KR.js +9 -0
- package/lib/language/ko-KR.min.js +1 -1
- package/lib/language/ko-KR.umd.js +9 -0
- package/lib/language/nb-NO.js +9 -0
- package/lib/language/nb-NO.min.js +1 -1
- package/lib/language/pt-BR.js +9 -0
- package/lib/language/pt-BR.min.js +1 -1
- package/lib/language/pt-BR.umd.js +9 -0
- package/lib/language/ru-RU.js +9 -0
- package/lib/language/ru-RU.min.js +1 -1
- package/lib/language/ru-RU.umd.js +9 -0
- package/lib/language/ug-CN.js +9 -0
- package/lib/language/ug-CN.min.js +1 -1
- package/lib/language/uk-UA.js +9 -0
- package/lib/language/uk-UA.min.js +1 -1
- package/lib/language/uk-UA.umd.js +9 -0
- package/lib/language/vi-VN.js +9 -0
- package/lib/language/vi-VN.min.js +1 -1
- package/lib/language/zh-CHT.js +9 -0
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CHT.umd.js +9 -0
- package/lib/language/zh-CN.js +9 -0
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +9 -0
- package/lib/list/src/list.js +1 -1
- package/lib/list/src/list.min.js +1 -1
- package/lib/number-input/src/number-input.js +3 -1
- package/lib/number-input/src/number-input.min.js +1 -1
- package/lib/radio/src/button.js +2 -0
- package/lib/radio/src/button.min.js +1 -1
- package/lib/radio/src/group.js +1 -0
- package/lib/radio/src/group.min.js +1 -1
- package/lib/radio/src/radio.js +2 -0
- package/lib/radio/src/radio.min.js +1 -1
- package/lib/slider/src/slider.js +2 -4
- package/lib/slider/src/slider.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +11 -3
- 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-button/style/style.css +1 -1
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-color-picker/style/style.css +355 -0
- package/lib/vxe-color-picker/style/style.min.css +1 -0
- package/package.json +1 -1
- package/packages/checkbox/src/checkbox.ts +2 -0
- package/packages/checkbox/src/group.ts +1 -0
- package/packages/color-picker/src/color-picker.ts +1036 -9
- package/packages/color-picker/src/util.ts +198 -0
- package/packages/input/src/input.ts +18 -8
- package/packages/language/ar-EG.ts +9 -0
- package/packages/language/de-DE.ts +9 -0
- package/packages/language/en-US.ts +9 -0
- package/packages/language/es-ES.ts +9 -0
- package/packages/language/fr-FR.ts +9 -0
- package/packages/language/hu-HU.ts +9 -0
- package/packages/language/hy-AM.ts +9 -0
- package/packages/language/ja-JP.ts +9 -0
- package/packages/language/ko-KR.ts +9 -0
- package/packages/language/nb-NO.ts +9 -0
- package/packages/language/pt-BR.ts +9 -0
- package/packages/language/ru-RU.ts +9 -0
- package/packages/language/ug-CN.ts +9 -0
- package/packages/language/uk-UA.ts +9 -0
- package/packages/language/vi-VN.ts +9 -0
- package/packages/language/zh-CHT.ts +9 -0
- package/packages/language/zh-CN.ts +9 -0
- package/packages/list/src/list.ts +1 -1
- package/packages/number-input/src/number-input.ts +3 -1
- package/packages/radio/src/button.ts +2 -0
- package/packages/radio/src/group.ts +1 -0
- package/packages/radio/src/radio.ts +2 -0
- package/packages/slider/src/slider.ts +2 -4
- package/packages/ui/index.ts +11 -2
- package/styles/components/button.scss +1 -1
- package/styles/components/color-picker.scss +345 -0
- package/types/components/color-picker.d.ts +21 -0
- package/types/components/table.d.ts +5 -3
- package/types/ui/global-icon.d.ts +3 -0
- /package/es/icon/{iconfont.1734675929343.ttf → iconfont.1734950846147.ttf} +0 -0
- /package/es/icon/{iconfont.1734675929343.woff → iconfont.1734950846147.woff} +0 -0
- /package/es/icon/{iconfont.1734675929343.woff2 → iconfont.1734950846147.woff2} +0 -0
- /package/es/{iconfont.1734675929343.ttf → iconfont.1734950846147.ttf} +0 -0
- /package/es/{iconfont.1734675929343.woff → iconfont.1734950846147.woff} +0 -0
- /package/es/{iconfont.1734675929343.woff2 → iconfont.1734950846147.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1734675929343.ttf → iconfont.1734950846147.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1734675929343.woff → iconfont.1734950846147.woff} +0 -0
- /package/lib/icon/style/{iconfont.1734675929343.woff2 → iconfont.1734950846147.woff2} +0 -0
- /package/lib/{iconfont.1734675929343.ttf → iconfont.1734950846147.ttf} +0 -0
- /package/lib/{iconfont.1734675929343.woff → iconfont.1734950846147.woff} +0 -0
- /package/lib/{iconfont.1734675929343.woff2 → iconfont.1734950846147.woff2} +0 -0
|
@@ -364,7 +364,7 @@ export default defineVxeComponent({
|
|
|
364
364
|
const $xeNumberInput = this;
|
|
365
365
|
const reactData = $xeNumberInput.reactData;
|
|
366
366
|
const inpImmediate = $xeNumberInput.computeInpImmediate;
|
|
367
|
-
const value = inputValue ===
|
|
367
|
+
const value = inputValue === eqEmptyValue(inputValue) ? null : XEUtils.toNumber(inputValue);
|
|
368
368
|
reactData.inputValue = inputValue;
|
|
369
369
|
if (inpImmediate) {
|
|
370
370
|
$xeNumberInput.handleChange(value, inputValue, evnt);
|
|
@@ -389,6 +389,8 @@ export default defineVxeComponent({
|
|
|
389
389
|
focusEvent(evnt) {
|
|
390
390
|
const $xeNumberInput = this;
|
|
391
391
|
const reactData = $xeNumberInput.reactData;
|
|
392
|
+
const { inputValue } = reactData;
|
|
393
|
+
reactData.inputValue = eqEmptyValue(inputValue) ? '' : `${XEUtils.toNumber(inputValue)}`;
|
|
392
394
|
reactData.isFocus = true;
|
|
393
395
|
reactData.isActivated = true;
|
|
394
396
|
$xeNumberInput.triggerEvent(evnt);
|
package/es/radio/src/button.js
CHANGED
|
@@ -141,11 +141,13 @@ export default defineVxeComponent({
|
|
|
141
141
|
const $xeRadioButton = this;
|
|
142
142
|
const props = $xeRadioButton;
|
|
143
143
|
const slots = $xeRadioButton.$scopedSlots;
|
|
144
|
+
const { label } = props;
|
|
144
145
|
const vSize = $xeRadioButton.computeSize;
|
|
145
146
|
const isDisabled = $xeRadioButton.computeIsDisabled;
|
|
146
147
|
const name = $xeRadioButton.computeName;
|
|
147
148
|
const isChecked = $xeRadioButton.computeChecked;
|
|
148
149
|
return h('label', {
|
|
150
|
+
key: label,
|
|
149
151
|
class: ['vxe-radio', 'vxe-radio-button', {
|
|
150
152
|
[`size--${vSize}`]: vSize,
|
|
151
153
|
'is--disabled': isDisabled
|
package/es/radio/src/group.js
CHANGED
package/es/radio/src/radio.js
CHANGED
|
@@ -143,12 +143,14 @@ export default defineVxeComponent({
|
|
|
143
143
|
renderVN(h) {
|
|
144
144
|
const $xeRadio = this;
|
|
145
145
|
const props = $xeRadio;
|
|
146
|
+
const { label } = props;
|
|
146
147
|
const slots = $xeRadio.$scopedSlots;
|
|
147
148
|
const vSize = $xeRadio.computeSize;
|
|
148
149
|
const isDisabled = $xeRadio.computeIsDisabled;
|
|
149
150
|
const name = $xeRadio.computeName;
|
|
150
151
|
const isChecked = $xeRadio.computeChecked;
|
|
151
152
|
return h('label', {
|
|
153
|
+
key: label,
|
|
152
154
|
class: ['vxe-radio', {
|
|
153
155
|
[`size--${vSize}`]: vSize,
|
|
154
156
|
'is--checked': isChecked,
|
package/es/slider/src/slider.js
CHANGED
|
@@ -197,8 +197,6 @@ export default defineVxeComponent({
|
|
|
197
197
|
const minNum = $xeSlider.computeMinNum;
|
|
198
198
|
if (!(formReadonly || isDisabled)) {
|
|
199
199
|
evnt.preventDefault();
|
|
200
|
-
const domMousemove = document.onmousemove;
|
|
201
|
-
const domMouseup = document.onmouseup;
|
|
202
200
|
document.onmousemove = evnt => {
|
|
203
201
|
evnt.preventDefault();
|
|
204
202
|
const barElem = $xeSlider.$refs.refBarElem;
|
|
@@ -215,8 +213,8 @@ export default defineVxeComponent({
|
|
|
215
213
|
$xeSlider.updateBarStyle();
|
|
216
214
|
};
|
|
217
215
|
document.onmouseup = (evnt) => {
|
|
218
|
-
document.onmousemove =
|
|
219
|
-
document.onmouseup =
|
|
216
|
+
document.onmousemove = null;
|
|
217
|
+
document.onmouseup = null;
|
|
220
218
|
$xeSlider.changeEvent(evnt);
|
|
221
219
|
$xeSlider.updateBarStyle();
|
|
222
220
|
};
|