vxe-pc-ui 4.16.8 → 4.16.9
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/README.en.md +3 -3
- package/README.ja-JP.md +3 -3
- package/README.md +3 -3
- package/README.zh-TW.md +3 -3
- package/dist/all.esm.js +23 -9
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/button/style.css +14 -0
- package/es/button/style.min.css +1 -1
- package/es/checkbox/src/group.js +7 -4
- package/es/checkbox/style.css +11 -0
- package/es/checkbox/style.min.css +1 -1
- package/es/checkbox-button/style.css +6 -0
- package/es/checkbox-button/style.min.css +1 -1
- package/es/form/style.css +12 -0
- package/es/form/style.min.css +1 -1
- package/es/icon/style.css +7 -1
- package/es/icon/style.min.css +1 -1
- package/es/input/style.css +276 -66
- package/es/input/style.min.css +1 -1
- package/es/menu/style.css +10 -0
- package/es/menu/style.min.css +1 -1
- package/es/number-input/style.css +28 -21
- package/es/number-input/style.min.css +1 -1
- package/es/password-input/src/password-input.js +1 -0
- package/es/password-input/style.css +28 -399
- package/es/password-input/style.min.css +1 -1
- package/es/radio/src/group.js +3 -3
- package/es/radio/style.css +11 -0
- package/es/radio/style.min.css +1 -1
- package/es/radio-button/style.css +6 -0
- package/es/radio-button/style.min.css +1 -1
- package/es/select/style.css +10 -0
- package/es/select/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/switch/style.css +36 -22
- package/es/switch/style.min.css +1 -1
- package/es/tag/style.css +20 -19
- package/es/tag/style.min.css +1 -1
- package/es/tree/src/tree.js +13 -2
- package/es/tree/style.css +4 -1
- package/es/tree/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/upload/style.css +10 -0
- package/es/upload/style.min.css +1 -1
- package/es/vxe-button/style.css +14 -0
- package/es/vxe-button/style.min.css +1 -1
- package/es/vxe-checkbox/style.css +11 -0
- package/es/vxe-checkbox/style.min.css +1 -1
- package/es/vxe-checkbox-button/style.css +6 -0
- package/es/vxe-checkbox-button/style.min.css +1 -1
- package/es/vxe-form/style.css +12 -0
- package/es/vxe-form/style.min.css +1 -1
- package/es/vxe-icon/style.css +6 -0
- package/es/vxe-icon/style.min.css +1 -1
- package/es/vxe-input/style.css +276 -66
- package/es/vxe-input/style.min.css +1 -1
- package/es/vxe-menu/style.css +10 -0
- package/es/vxe-menu/style.min.css +1 -1
- package/es/vxe-number-input/style.css +28 -21
- package/es/vxe-number-input/style.min.css +1 -1
- package/es/vxe-password-input/style.css +28 -399
- package/es/vxe-password-input/style.min.css +1 -1
- package/es/vxe-radio/style.css +11 -0
- package/es/vxe-radio/style.min.css +1 -1
- package/es/vxe-radio-button/style.css +6 -0
- package/es/vxe-radio-button/style.min.css +1 -1
- package/es/vxe-select/style.css +10 -0
- package/es/vxe-select/style.min.css +1 -1
- package/es/vxe-switch/style.css +36 -22
- package/es/vxe-switch/style.min.css +1 -1
- package/es/vxe-tag/style.css +20 -19
- package/es/vxe-tag/style.min.css +1 -1
- package/es/vxe-tree/style.css +4 -1
- package/es/vxe-tree/style.min.css +1 -1
- package/es/vxe-upload/style.css +10 -0
- package/es/vxe-upload/style.min.css +1 -1
- package/lib/button/style/style.css +14 -0
- package/lib/button/style/style.min.css +1 -1
- package/lib/checkbox/src/group.js +8 -4
- package/lib/checkbox/src/group.min.js +1 -1
- package/lib/checkbox/style/style.css +11 -0
- package/lib/checkbox/style/style.min.css +1 -1
- package/lib/checkbox-button/style/style.css +6 -0
- package/lib/checkbox-button/style/style.min.css +1 -1
- package/lib/form/style/style.css +12 -0
- package/lib/form/style/style.min.css +1 -1
- package/lib/icon/style/style.css +7 -1
- package/lib/icon/style/style.min.css +7 -1
- package/lib/index.umd.js +24 -11
- package/lib/index.umd.min.js +1 -1
- package/lib/input/style/style.css +276 -66
- package/lib/input/style/style.min.css +1 -1
- package/lib/menu/style/style.css +10 -0
- package/lib/menu/style/style.min.css +1 -1
- package/lib/number-input/style/style.css +28 -21
- package/lib/number-input/style/style.min.css +1 -1
- package/lib/password-input/src/password-input.js +1 -0
- package/lib/password-input/src/password-input.min.js +1 -1
- package/lib/password-input/style/style.css +28 -399
- package/lib/password-input/style/style.min.css +1 -1
- package/lib/radio/src/group.js +4 -4
- package/lib/radio/src/group.min.js +1 -1
- package/lib/radio/style/style.css +11 -0
- package/lib/radio/style/style.min.css +1 -1
- package/lib/radio-button/style/style.css +6 -0
- package/lib/radio-button/style/style.min.css +1 -1
- package/lib/select/style/style.css +10 -0
- package/lib/select/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/switch/style/style.css +36 -22
- package/lib/switch/style/style.min.css +1 -1
- package/lib/tag/style/style.css +20 -19
- package/lib/tag/style/style.min.css +1 -1
- package/lib/tree/src/tree.js +10 -2
- package/lib/tree/src/tree.min.js +1 -1
- package/lib/tree/style/style.css +4 -1
- package/lib/tree/style/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/style/style.css +10 -0
- package/lib/upload/style/style.min.css +1 -1
- package/lib/vxe-button/style/style.css +14 -0
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-checkbox/style/style.css +11 -0
- package/lib/vxe-checkbox/style/style.min.css +1 -1
- package/lib/vxe-checkbox-button/style/style.css +6 -0
- package/lib/vxe-checkbox-button/style/style.min.css +1 -1
- package/lib/vxe-form/style/style.css +12 -0
- package/lib/vxe-form/style/style.min.css +1 -1
- package/lib/vxe-icon/style/style.css +6 -0
- package/lib/vxe-icon/style/style.min.css +1 -1
- package/lib/vxe-input/style/style.css +276 -66
- package/lib/vxe-input/style/style.min.css +1 -1
- package/lib/vxe-menu/style/style.css +10 -0
- package/lib/vxe-menu/style/style.min.css +1 -1
- package/lib/vxe-number-input/style/style.css +28 -21
- package/lib/vxe-number-input/style/style.min.css +1 -1
- package/lib/vxe-password-input/style/style.css +28 -399
- package/lib/vxe-password-input/style/style.min.css +1 -1
- package/lib/vxe-radio/style/style.css +11 -0
- package/lib/vxe-radio/style/style.min.css +1 -1
- package/lib/vxe-radio-button/style/style.css +6 -0
- package/lib/vxe-radio-button/style/style.min.css +1 -1
- package/lib/vxe-select/style/style.css +10 -0
- package/lib/vxe-select/style/style.min.css +1 -1
- package/lib/vxe-switch/style/style.css +36 -22
- package/lib/vxe-switch/style/style.min.css +1 -1
- package/lib/vxe-tag/style/style.css +20 -19
- package/lib/vxe-tag/style/style.min.css +1 -1
- package/lib/vxe-tree/style/style.css +4 -1
- package/lib/vxe-tree/style/style.min.css +1 -1
- package/lib/vxe-upload/style/style.css +10 -0
- package/lib/vxe-upload/style/style.min.css +1 -1
- package/package.json +3 -3
- package/packages/checkbox/src/group.ts +7 -4
- package/packages/password-input/src/password-input.ts +1 -0
- package/packages/radio/src/group.ts +3 -3
- package/packages/tree/src/tree.ts +13 -2
- package/styles/components/button.scss +12 -0
- package/styles/components/checkbox-button.scss +6 -0
- package/styles/components/checkbox.scss +11 -0
- package/styles/components/form.scss +12 -0
- package/styles/components/icon.scss +6 -0
- package/styles/components/input.scss +52 -28
- package/styles/components/menu.scss +8 -0
- package/styles/components/number-input.scss +29 -23
- package/styles/components/password-input.scss +29 -173
- package/styles/components/radio-button.scss +6 -0
- package/styles/components/radio.scss +11 -0
- package/styles/components/select.scss +8 -0
- package/styles/components/switch.scss +37 -22
- package/styles/components/tag.scss +21 -21
- package/styles/components/tree.scss +3 -1
- package/styles/components/upload.scss +8 -0
- package/styles/theme/base.scss +47 -0
- package/types/components/checkbox-group.d.ts +2 -0
- package/types/components/tree.d.ts +7 -0
- /package/es/icon/{iconfont.1783923662673.ttf → iconfont.1783939831164.ttf} +0 -0
- /package/es/icon/{iconfont.1783923662673.woff → iconfont.1783939831164.woff} +0 -0
- /package/es/icon/{iconfont.1783923662673.woff2 → iconfont.1783939831164.woff2} +0 -0
- /package/es/{iconfont.1783923662673.ttf → iconfont.1783939831164.ttf} +0 -0
- /package/es/{iconfont.1783923662673.woff → iconfont.1783939831164.woff} +0 -0
- /package/es/{iconfont.1783923662673.woff2 → iconfont.1783939831164.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1783923662673.ttf → iconfont.1783939831164.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1783923662673.woff → iconfont.1783939831164.woff} +0 -0
- /package/lib/icon/style/{iconfont.1783923662673.woff2 → iconfont.1783939831164.woff2} +0 -0
- /package/lib/{iconfont.1783923662673.ttf → iconfont.1783939831164.ttf} +0 -0
- /package/lib/{iconfont.1783923662673.woff → iconfont.1783939831164.woff} +0 -0
- /package/lib/{iconfont.1783923662673.woff2 → iconfont.1783939831164.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3346,7 +3346,7 @@ if (typeof window !== 'undefined') {
|
|
|
3346
3346
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
3347
3347
|
var es_array_push = __webpack_require__(4114);
|
|
3348
3348
|
;// ./node_modules/@vxe-ui/core/es/src/core.js
|
|
3349
|
-
const coreVersion = "4.4.
|
|
3349
|
+
const coreVersion = "4.4.17";
|
|
3350
3350
|
const VxeCore = {
|
|
3351
3351
|
coreVersion,
|
|
3352
3352
|
uiVersion: '',
|
|
@@ -3973,7 +3973,7 @@ function createLog(type, name) {
|
|
|
3973
3973
|
return msg;
|
|
3974
3974
|
};
|
|
3975
3975
|
}
|
|
3976
|
-
const version = "4.4.
|
|
3976
|
+
const version = "4.4.17";
|
|
3977
3977
|
const log = {
|
|
3978
3978
|
create: createLog,
|
|
3979
3979
|
warn: createLog('warn', `v${version}`),
|
|
@@ -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.9"}`;
|
|
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.9";
|
|
4679
4679
|
VxeUI.uiVersion = ui_version;
|
|
4680
4680
|
VxeUI.dynamicApp = dynamicApp;
|
|
4681
4681
|
function config(options) {
|
|
@@ -19897,6 +19897,7 @@ const CheckboxButton = VxeCheckboxButton;
|
|
|
19897
19897
|
|
|
19898
19898
|
|
|
19899
19899
|
|
|
19900
|
+
|
|
19900
19901
|
function group_createReactData() {
|
|
19901
19902
|
return {};
|
|
19902
19903
|
}
|
|
@@ -19915,6 +19916,7 @@ function group_createInternalData() {
|
|
|
19915
19916
|
type: Boolean,
|
|
19916
19917
|
default: null
|
|
19917
19918
|
},
|
|
19919
|
+
type: String,
|
|
19918
19920
|
disabled: {
|
|
19919
19921
|
type: Boolean,
|
|
19920
19922
|
default: null
|
|
@@ -20094,7 +20096,8 @@ function group_createInternalData() {
|
|
|
20094
20096
|
const renderVN = () => {
|
|
20095
20097
|
const {
|
|
20096
20098
|
status,
|
|
20097
|
-
options
|
|
20099
|
+
options,
|
|
20100
|
+
type
|
|
20098
20101
|
} = props;
|
|
20099
20102
|
const defaultSlot = slots.default;
|
|
20100
20103
|
const valueField = computeValueField.value;
|
|
@@ -20104,14 +20107,15 @@ function group_createInternalData() {
|
|
|
20104
20107
|
const titleField = computeTitleField.value;
|
|
20105
20108
|
const isReadonly = computeIsReadonly.value;
|
|
20106
20109
|
const isDisabled = computeIsDisabled.value;
|
|
20110
|
+
const btnComp = type === 'button' ? checkbox_button : packages_checkbox;
|
|
20107
20111
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
20108
|
-
class: ['vxe-checkbox-group', {
|
|
20112
|
+
class: ['vxe-checkbox-group', `type--${type === 'button' ? type : ''}`, {
|
|
20109
20113
|
[`theme--${status}`]: status,
|
|
20110
20114
|
'is--readonly': isReadonly,
|
|
20111
20115
|
'is--disabled': isDisabled
|
|
20112
20116
|
}]
|
|
20113
20117
|
}, defaultSlot ? defaultSlot({}) : options ? options.map(item => {
|
|
20114
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(
|
|
20118
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(btnComp, {
|
|
20115
20119
|
key: item[valueField],
|
|
20116
20120
|
checkedValue: item[valueField],
|
|
20117
20121
|
content: item[labelField],
|
|
@@ -41791,6 +41795,7 @@ const Pager = VxePager;
|
|
|
41791
41795
|
inputValue
|
|
41792
41796
|
} = reactData;
|
|
41793
41797
|
const value = inputValue;
|
|
41798
|
+
reactData.isActivated = false;
|
|
41794
41799
|
$xePasswordInput.dispatchEvent('blur', {
|
|
41795
41800
|
value
|
|
41796
41801
|
}, evnt);
|
|
@@ -43724,9 +43729,9 @@ function src_group_createInternalData() {
|
|
|
43724
43729
|
const disabledField = computeDisabledField.value;
|
|
43725
43730
|
const iconField = computeIconField.value;
|
|
43726
43731
|
const titleField = computeTitleField.value;
|
|
43727
|
-
const btnComp = type === 'button' ?
|
|
43732
|
+
const btnComp = type === 'button' ? radio_button : packages_radio;
|
|
43728
43733
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
43729
|
-
class: ['vxe-radio-group', {
|
|
43734
|
+
class: ['vxe-radio-group', `type--${type === 'button' ? type : ''}`, {
|
|
43730
43735
|
[`theme--${status}`]: status,
|
|
43731
43736
|
[`size--${vSize}`]: vSize
|
|
43732
43737
|
}]
|
|
@@ -49846,6 +49851,10 @@ let crossTreeDragNodeObj = null;
|
|
|
49846
49851
|
type: [String, Number],
|
|
49847
49852
|
default: () => tree_getConfig().tree.minHeight
|
|
49848
49853
|
},
|
|
49854
|
+
emptyText: {
|
|
49855
|
+
type: [String, Number],
|
|
49856
|
+
default: () => tree_getConfig().tree.emptyText
|
|
49857
|
+
},
|
|
49849
49858
|
loading: Boolean,
|
|
49850
49859
|
loadingConfig: Object,
|
|
49851
49860
|
accordion: {
|
|
@@ -53361,16 +53370,20 @@ let crossTreeDragNodeObj = null;
|
|
|
53361
53370
|
};
|
|
53362
53371
|
const renderList = treeList => {
|
|
53363
53372
|
const {
|
|
53364
|
-
transform
|
|
53373
|
+
transform,
|
|
53374
|
+
emptyText
|
|
53365
53375
|
} = props;
|
|
53366
53376
|
const {
|
|
53367
53377
|
treeExpandedMaps
|
|
53368
53378
|
} = internalData;
|
|
53369
53379
|
const childrenField = computeChildrenField.value;
|
|
53380
|
+
const emptySlot = slots.empty;
|
|
53370
53381
|
if (!treeList.length) {
|
|
53371
53382
|
return [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
53372
53383
|
class: 'vxe-tree--empty-placeholder'
|
|
53373
|
-
},
|
|
53384
|
+
}, emptySlot ? emptySlot({}) : [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
53385
|
+
class: 'vxe-tree--empty-placeholder-content'
|
|
53386
|
+
}, getText(emptyText || tree_getI18n('vxe.tree.searchEmpty')))])];
|
|
53374
53387
|
}
|
|
53375
53388
|
const nodeVNs = [];
|
|
53376
53389
|
treeList.forEach(transform ? node => {
|