vxe-pc-ui 3.16.22 → 3.16.24
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/form/style.css +2 -2
- package/es/form/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/select/src/select.js +11 -5
- 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-form/style.css +2 -2
- package/es/vxe-form/style.min.css +1 -1
- package/lib/form/style/style.css +2 -2
- package/lib/form/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 +18 -7
- package/lib/index.umd.min.js +1 -1
- package/lib/select/src/select.js +15 -5
- package/lib/select/src/select.min.js +1 -1
- 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-form/style/style.css +2 -2
- package/lib/vxe-form/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/select/src/select.ts +11 -5
- package/packages/ui/index.ts +1 -0
- package/styles/components/form.scss +2 -2
- package/types/components/select.d.ts +3 -1
- /package/es/icon/{iconfont.1784893277784.ttf → iconfont.1785391079384.ttf} +0 -0
- /package/es/icon/{iconfont.1784893277784.woff → iconfont.1785391079384.woff} +0 -0
- /package/es/icon/{iconfont.1784893277784.woff2 → iconfont.1785391079384.woff2} +0 -0
- /package/es/{iconfont.1784893277784.ttf → iconfont.1785391079384.ttf} +0 -0
- /package/es/{iconfont.1784893277784.woff → iconfont.1785391079384.woff} +0 -0
- /package/es/{iconfont.1784893277784.woff2 → iconfont.1785391079384.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1784893277784.ttf → iconfont.1785391079384.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1784893277784.woff → iconfont.1785391079384.woff} +0 -0
- /package/lib/icon/style/{iconfont.1784893277784.woff2 → iconfont.1785391079384.woff2} +0 -0
- /package/lib/{iconfont.1784893277784.ttf → iconfont.1785391079384.ttf} +0 -0
- /package/lib/{iconfont.1784893277784.woff → iconfont.1785391079384.woff} +0 -0
- /package/lib/{iconfont.1784893277784.woff2 → iconfont.1785391079384.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -13260,7 +13260,7 @@ var es_array_join = __webpack_require__(8598);
|
|
|
13260
13260
|
|
|
13261
13261
|
|
|
13262
13262
|
var log_log = VxeUI.log;
|
|
13263
|
-
var uiVersion = "ui v".concat("3.16.
|
|
13263
|
+
var uiVersion = "ui v".concat("3.16.24");
|
|
13264
13264
|
function createComponentLog(name) {
|
|
13265
13265
|
var tableVersion = VxeUI.tableVersion ? "table v".concat(VxeUI.tableVersion) : '';
|
|
13266
13266
|
var ganttVersion = VxeUI.ganttVersion ? "gantt v".concat(VxeUI.ganttVersion) : '';
|
|
@@ -13280,7 +13280,7 @@ var errLog = log_log.create('error', uiVersion);
|
|
|
13280
13280
|
|
|
13281
13281
|
|
|
13282
13282
|
|
|
13283
|
-
var ui_version = "3.16.
|
|
13283
|
+
var ui_version = "3.16.24";
|
|
13284
13284
|
VxeUI.uiVersion = ui_version;
|
|
13285
13285
|
VxeUI.dynamicApp = dynamicApp;
|
|
13286
13286
|
function config(options) {
|
|
@@ -13611,6 +13611,7 @@ setConfig({
|
|
|
13611
13611
|
row: {},
|
|
13612
13612
|
segmented: {},
|
|
13613
13613
|
select: {
|
|
13614
|
+
emptyValue: null,
|
|
13614
13615
|
multiCharOverflow: 8,
|
|
13615
13616
|
radioConfig: {
|
|
13616
13617
|
showIcon: true,
|
|
@@ -50825,6 +50826,12 @@ function select_createInternalData() {
|
|
|
50825
50826
|
props: {
|
|
50826
50827
|
value: [String, Number, Boolean, Array],
|
|
50827
50828
|
defaultConfig: Object,
|
|
50829
|
+
emptyValue: {
|
|
50830
|
+
type: [String, Number, Boolean, Array],
|
|
50831
|
+
default: function _default() {
|
|
50832
|
+
return getConfig().select.emptyValue;
|
|
50833
|
+
}
|
|
50834
|
+
},
|
|
50828
50835
|
clearable: {
|
|
50829
50836
|
type: Boolean,
|
|
50830
50837
|
default: function _default() {
|
|
@@ -51699,8 +51706,10 @@ function select_createInternalData() {
|
|
|
51699
51706
|
},
|
|
51700
51707
|
clearEvent: function clearEvent(params) {
|
|
51701
51708
|
var $xeSelect = this;
|
|
51709
|
+
var props = $xeSelect;
|
|
51710
|
+
var emptyValue = props.emptyValue;
|
|
51702
51711
|
var $event = params.$event;
|
|
51703
|
-
$xeSelect.clearValueEvent($event,
|
|
51712
|
+
$xeSelect.clearValueEvent($event, emptyValue);
|
|
51704
51713
|
$xeSelect.hideOptionPanel($event);
|
|
51705
51714
|
},
|
|
51706
51715
|
allCheckedPanelEvent: function allCheckedPanelEvent(params) {
|
|
@@ -51750,9 +51759,10 @@ function select_createInternalData() {
|
|
|
51750
51759
|
clearCheckedPanelEvent: function clearCheckedPanelEvent(params) {
|
|
51751
51760
|
var $xeSelect = this;
|
|
51752
51761
|
var props = $xeSelect;
|
|
51753
|
-
var
|
|
51762
|
+
var emptyValue = props.emptyValue,
|
|
51763
|
+
clearClosable = props.clearClosable;
|
|
51754
51764
|
var $event = params.$event;
|
|
51755
|
-
$xeSelect.clearValueEvent($event,
|
|
51765
|
+
$xeSelect.clearValueEvent($event, emptyValue);
|
|
51756
51766
|
if (clearClosable) {
|
|
51757
51767
|
$xeSelect.hideOptionPanel($event);
|
|
51758
51768
|
}
|
|
@@ -51915,7 +51925,8 @@ function select_createInternalData() {
|
|
|
51915
51925
|
var $xeSelect = this;
|
|
51916
51926
|
var props = $xeSelect;
|
|
51917
51927
|
var reactData = $xeSelect.reactData;
|
|
51918
|
-
var
|
|
51928
|
+
var emptyValue = props.emptyValue,
|
|
51929
|
+
clearable = props.clearable;
|
|
51919
51930
|
var visiblePanel = reactData.visiblePanel,
|
|
51920
51931
|
currentOption = reactData.currentOption;
|
|
51921
51932
|
var isDisabled = $xeSelect.computeIsDisabled;
|
|
@@ -51960,7 +51971,7 @@ function select_createInternalData() {
|
|
|
51960
51971
|
}
|
|
51961
51972
|
if (reactData.isActivated) {
|
|
51962
51973
|
if (isDel && clearable) {
|
|
51963
|
-
$xeSelect.clearValueEvent(evnt,
|
|
51974
|
+
$xeSelect.clearValueEvent(evnt, emptyValue);
|
|
51964
51975
|
}
|
|
51965
51976
|
}
|
|
51966
51977
|
}
|