vxe-pc-ui 4.16.22 → 4.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/dist/all.esm.js +13 -7
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- 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 +10 -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 +15 -5
- package/lib/index.umd.min.js +1 -1
- package/lib/select/src/select.js +12 -3
- 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 +10 -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.1784893283450.ttf → iconfont.1785391082558.ttf} +0 -0
- /package/es/icon/{iconfont.1784893283450.woff → iconfont.1785391082558.woff} +0 -0
- /package/es/icon/{iconfont.1784893283450.woff2 → iconfont.1785391082558.woff2} +0 -0
- /package/es/{iconfont.1784893283450.ttf → iconfont.1785391082558.ttf} +0 -0
- /package/es/{iconfont.1784893283450.woff → iconfont.1785391082558.woff} +0 -0
- /package/es/{iconfont.1784893283450.woff2 → iconfont.1785391082558.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1784893283450.ttf → iconfont.1785391082558.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1784893283450.woff → iconfont.1785391082558.woff} +0 -0
- /package/lib/icon/style/{iconfont.1784893283450.woff2 → iconfont.1785391082558.woff2} +0 -0
- /package/lib/{iconfont.1784893283450.ttf → iconfont.1785391082558.ttf} +0 -0
- /package/lib/{iconfont.1784893283450.woff → iconfont.1785391082558.woff} +0 -0
- /package/lib/{iconfont.1784893283450.woff2 → iconfont.1785391082558.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -4657,7 +4657,7 @@ function checkDynamic() {
|
|
|
4657
4657
|
const {
|
|
4658
4658
|
log: log_log
|
|
4659
4659
|
} = VxeUI;
|
|
4660
|
-
const uiVersion = `ui v${"4.16.
|
|
4660
|
+
const uiVersion = `ui v${"4.16.24"}`;
|
|
4661
4661
|
function createComponentLog(name) {
|
|
4662
4662
|
const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
|
|
4663
4663
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -4675,7 +4675,7 @@ const errLog = log_log.create('error', uiVersion);
|
|
|
4675
4675
|
|
|
4676
4676
|
|
|
4677
4677
|
|
|
4678
|
-
const ui_version = "4.16.
|
|
4678
|
+
const ui_version = "4.16.24";
|
|
4679
4679
|
VxeUI.uiVersion = ui_version;
|
|
4680
4680
|
VxeUI.dynamicApp = dynamicApp;
|
|
4681
4681
|
function config(options) {
|
|
@@ -5006,6 +5006,7 @@ setConfig({
|
|
|
5006
5006
|
row: {},
|
|
5007
5007
|
segmented: {},
|
|
5008
5008
|
select: {
|
|
5009
|
+
emptyValue: null,
|
|
5009
5010
|
multiCharOverflow: 8,
|
|
5010
5011
|
radioConfig: {
|
|
5011
5012
|
showIcon: true,
|
|
@@ -39394,6 +39395,10 @@ function select_createInternalData() {
|
|
|
39394
39395
|
props: {
|
|
39395
39396
|
modelValue: [String, Number, Boolean, Array],
|
|
39396
39397
|
defaultConfig: Object,
|
|
39398
|
+
emptyValue: {
|
|
39399
|
+
type: [String, Number, Boolean, Array],
|
|
39400
|
+
default: () => getConfig().select.emptyValue
|
|
39401
|
+
},
|
|
39397
39402
|
clearable: {
|
|
39398
39403
|
type: Boolean,
|
|
39399
39404
|
default: () => getConfig().select.clearable
|
|
@@ -40053,10 +40058,13 @@ function select_createInternalData() {
|
|
|
40053
40058
|
}, evnt);
|
|
40054
40059
|
};
|
|
40055
40060
|
const clearEvent = params => {
|
|
40061
|
+
const {
|
|
40062
|
+
emptyValue
|
|
40063
|
+
} = props;
|
|
40056
40064
|
const {
|
|
40057
40065
|
$event
|
|
40058
40066
|
} = params;
|
|
40059
|
-
clearValueEvent($event,
|
|
40067
|
+
clearValueEvent($event, emptyValue);
|
|
40060
40068
|
hideOptionPanel($event);
|
|
40061
40069
|
};
|
|
40062
40070
|
const allCheckedPanelEvent = params => {
|
|
@@ -40103,12 +40111,13 @@ function select_createInternalData() {
|
|
|
40103
40111
|
};
|
|
40104
40112
|
const clearCheckedPanelEvent = params => {
|
|
40105
40113
|
const {
|
|
40114
|
+
emptyValue,
|
|
40106
40115
|
clearClosable
|
|
40107
40116
|
} = props;
|
|
40108
40117
|
const {
|
|
40109
40118
|
$event
|
|
40110
40119
|
} = params;
|
|
40111
|
-
clearValueEvent($event,
|
|
40120
|
+
clearValueEvent($event, emptyValue);
|
|
40112
40121
|
if (clearClosable) {
|
|
40113
40122
|
hideOptionPanel($event);
|
|
40114
40123
|
}
|
|
@@ -40269,6 +40278,7 @@ function select_createInternalData() {
|
|
|
40269
40278
|
};
|
|
40270
40279
|
const handleGlobalKeydownEvent = evnt => {
|
|
40271
40280
|
const {
|
|
40281
|
+
emptyValue,
|
|
40272
40282
|
clearable
|
|
40273
40283
|
} = props;
|
|
40274
40284
|
const {
|
|
@@ -40319,7 +40329,7 @@ function select_createInternalData() {
|
|
|
40319
40329
|
}
|
|
40320
40330
|
if (reactData.isActivated) {
|
|
40321
40331
|
if (isDel && clearable) {
|
|
40322
|
-
clearValueEvent(evnt,
|
|
40332
|
+
clearValueEvent(evnt, emptyValue);
|
|
40323
40333
|
}
|
|
40324
40334
|
}
|
|
40325
40335
|
}
|