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/README.en.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](README.md) | [繁體中文](README.zh-TW.md) | English | [日本語](README.ja-JP.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/x-extends/vxe-pc-ui
|
|
6
|
-
[](https://gitee.com/x-extends/vxe-pc-ui
|
|
7
|
-
[](https://gitcode.com/x-extends/vxe-pc-ui
|
|
5
|
+
[](https://github.com/x-extends/vxe-pc-ui)
|
|
6
|
+
[](https://gitee.com/x-extends/vxe-pc-ui)
|
|
7
|
+
[](https://gitcode.com/x-extends/vxe-pc-ui)
|
|
8
8
|
[](https://www.npmjs.com/package/vxe-pc-ui)
|
|
9
9
|
[](https://github.com/x-extends/vxe-pc-ui/actions/workflows/webpack.yml)
|
|
10
10
|
[](https://npm-stat.com/charts.html?package=vxe-pc-ui)
|
package/README.ja-JP.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](README.md) | [繁體中文](README.zh-TW.md) | [English](README.en.md) | 日本語
|
|
4
4
|
|
|
5
|
-
[](https://github.com/x-extends/vxe-pc-ui
|
|
6
|
-
[](https://gitee.com/x-extends/vxe-pc-ui
|
|
7
|
-
[](https://gitcode.com/x-extends/vxe-pc-ui
|
|
5
|
+
[](https://github.com/x-extends/vxe-pc-ui)
|
|
6
|
+
[](https://gitee.com/x-extends/vxe-pc-ui)
|
|
7
|
+
[](https://gitcode.com/x-extends/vxe-pc-ui)
|
|
8
8
|
[](https://www.npmjs.com/package/vxe-pc-ui)
|
|
9
9
|
[](https://github.com/x-extends/vxe-pc-ui/actions/workflows/webpack.yml)
|
|
10
10
|
[](https://npm-stat.com/charts.html?package=vxe-pc-ui)
|
package/README.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
简体中文 | [繁體中文](README.zh-TW.md) | [English](README.en.md) | [日本語](README.ja-JP.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/x-extends/vxe-pc-ui
|
|
6
|
-
[](https://gitee.com/x-extends/vxe-pc-ui
|
|
7
|
-
[](https://gitcode.com/x-extends/vxe-pc-ui
|
|
5
|
+
[](https://github.com/x-extends/vxe-pc-ui)
|
|
6
|
+
[](https://gitee.com/x-extends/vxe-pc-ui)
|
|
7
|
+
[](https://gitcode.com/x-extends/vxe-pc-ui)
|
|
8
8
|
[](https://www.npmjs.com/package/vxe-pc-ui)
|
|
9
9
|
[](https://github.com/x-extends/vxe-pc-ui/actions/workflows/webpack.yml)
|
|
10
10
|
[](https://unpkg.com/vxe-pc-ui/lib/index.umd.min.js)
|
package/README.zh-TW.md
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
[简体中文](README.md) | 繁體中文 | [English](README.en.md) | [日本語](README.ja-JP.md)
|
|
4
4
|
|
|
5
|
-
[](https://github.com/x-extends/vxe-pc-ui
|
|
6
|
-
[](https://gitee.com/x-extends/vxe-pc-ui
|
|
7
|
-
[](https://gitcode.com/x-extends/vxe-pc-ui
|
|
5
|
+
[](https://github.com/x-extends/vxe-pc-ui)
|
|
6
|
+
[](https://gitee.com/x-extends/vxe-pc-ui)
|
|
7
|
+
[](https://gitcode.com/x-extends/vxe-pc-ui)
|
|
8
8
|
[](https://www.npmjs.com/package/vxe-pc-ui)
|
|
9
9
|
[](https://github.com/x-extends/vxe-pc-ui/actions/workflows/webpack.yml)
|
|
10
10
|
[](https://npm-stat.com/charts.html?package=vxe-pc-ui)
|
package/dist/all.esm.js
CHANGED
|
@@ -81,7 +81,7 @@ function checkDynamic() {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
const { log } = VxeUI;
|
|
84
|
-
const uiVersion = `ui v${"4.16.
|
|
84
|
+
const uiVersion = `ui v${"4.16.9"}`;
|
|
85
85
|
function createComponentLog(name) {
|
|
86
86
|
const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
|
|
87
87
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -95,7 +95,7 @@ function createComponentLog(name) {
|
|
|
95
95
|
const warnLog$h = log.create('warn', uiVersion);
|
|
96
96
|
log.create('error', uiVersion);
|
|
97
97
|
|
|
98
|
-
const version = "4.16.
|
|
98
|
+
const version = "4.16.9";
|
|
99
99
|
VxeUI.uiVersion = version;
|
|
100
100
|
VxeUI.dynamicApp = dynamicApp;
|
|
101
101
|
function config(options) {
|
|
@@ -13877,6 +13877,7 @@ var VxeCheckboxGroupComponent = defineVxeComponent({
|
|
|
13877
13877
|
type: Boolean,
|
|
13878
13878
|
default: null
|
|
13879
13879
|
},
|
|
13880
|
+
type: String,
|
|
13880
13881
|
disabled: {
|
|
13881
13882
|
type: Boolean,
|
|
13882
13883
|
default: null
|
|
@@ -14036,7 +14037,7 @@ var VxeCheckboxGroupComponent = defineVxeComponent({
|
|
|
14036
14037
|
};
|
|
14037
14038
|
Object.assign($xeCheckboxGroup, checkboxGroupMethods, checkboxGroupPrivateMethods);
|
|
14038
14039
|
const renderVN = () => {
|
|
14039
|
-
const { status, options } = props;
|
|
14040
|
+
const { status, options, type } = props;
|
|
14040
14041
|
const defaultSlot = slots.default;
|
|
14041
14042
|
const valueField = computeValueField.value;
|
|
14042
14043
|
const labelField = computeLabelField.value;
|
|
@@ -14045,8 +14046,9 @@ var VxeCheckboxGroupComponent = defineVxeComponent({
|
|
|
14045
14046
|
const titleField = computeTitleField.value;
|
|
14046
14047
|
const isReadonly = computeIsReadonly.value;
|
|
14047
14048
|
const isDisabled = computeIsDisabled.value;
|
|
14049
|
+
const btnComp = type === 'button' ? VxeCheckboxButton : VxeCheckbox;
|
|
14048
14050
|
return h('div', {
|
|
14049
|
-
class: ['vxe-checkbox-group', {
|
|
14051
|
+
class: ['vxe-checkbox-group', `type--${type === 'button' ? type : ''}`, {
|
|
14050
14052
|
[`theme--${status}`]: status,
|
|
14051
14053
|
'is--readonly': isReadonly,
|
|
14052
14054
|
'is--disabled': isDisabled
|
|
@@ -14055,7 +14057,7 @@ var VxeCheckboxGroupComponent = defineVxeComponent({
|
|
|
14055
14057
|
? defaultSlot({})
|
|
14056
14058
|
: (options
|
|
14057
14059
|
? options.map(item => {
|
|
14058
|
-
return h(
|
|
14060
|
+
return h(btnComp, {
|
|
14059
14061
|
key: item[valueField],
|
|
14060
14062
|
checkedValue: item[valueField],
|
|
14061
14063
|
content: item[labelField],
|
|
@@ -33458,6 +33460,7 @@ var VxePasswordInputComponent = defineVxeComponent({
|
|
|
33458
33460
|
const blurEvent = (evnt) => {
|
|
33459
33461
|
const { inputValue } = reactData;
|
|
33460
33462
|
const value = inputValue;
|
|
33463
|
+
reactData.isActivated = false;
|
|
33461
33464
|
$xePasswordInput.dispatchEvent('blur', { value }, evnt);
|
|
33462
33465
|
// 自动更新校验状态
|
|
33463
33466
|
if ($xeForm && formItemInfo) {
|
|
@@ -35243,9 +35246,9 @@ var VxeRadioGroupComponent = defineVxeComponent({
|
|
|
35243
35246
|
const disabledField = computeDisabledField.value;
|
|
35244
35247
|
const iconField = computeIconField.value;
|
|
35245
35248
|
const titleField = computeTitleField.value;
|
|
35246
|
-
const btnComp = type === 'button' ?
|
|
35249
|
+
const btnComp = type === 'button' ? VxeRadioButton : VxeRadio;
|
|
35247
35250
|
return h('div', {
|
|
35248
|
-
class: ['vxe-radio-group', {
|
|
35251
|
+
class: ['vxe-radio-group', `type--${type === 'button' ? type : ''}`, {
|
|
35249
35252
|
[`theme--${status}`]: status,
|
|
35250
35253
|
[`size--${vSize}`]: vSize
|
|
35251
35254
|
}]
|
|
@@ -40682,6 +40685,10 @@ var VxeTreeComponent = defineVxeComponent({
|
|
|
40682
40685
|
type: [String, Number],
|
|
40683
40686
|
default: () => getConfig().tree.minHeight
|
|
40684
40687
|
},
|
|
40688
|
+
emptyText: {
|
|
40689
|
+
type: [String, Number],
|
|
40690
|
+
default: () => getConfig().tree.emptyText
|
|
40691
|
+
},
|
|
40685
40692
|
loading: Boolean,
|
|
40686
40693
|
loadingConfig: Object,
|
|
40687
40694
|
accordion: {
|
|
@@ -43697,14 +43704,21 @@ var VxeTreeComponent = defineVxeComponent({
|
|
|
43697
43704
|
]);
|
|
43698
43705
|
};
|
|
43699
43706
|
const renderList = (treeList) => {
|
|
43700
|
-
const { transform } = props;
|
|
43707
|
+
const { transform, emptyText } = props;
|
|
43701
43708
|
const { treeExpandedMaps } = internalData;
|
|
43702
43709
|
const childrenField = computeChildrenField.value;
|
|
43710
|
+
const emptySlot = slots.empty;
|
|
43703
43711
|
if (!treeList.length) {
|
|
43704
43712
|
return [
|
|
43705
43713
|
h('div', {
|
|
43706
43714
|
class: 'vxe-tree--empty-placeholder'
|
|
43707
|
-
},
|
|
43715
|
+
}, emptySlot
|
|
43716
|
+
? emptySlot({})
|
|
43717
|
+
: [
|
|
43718
|
+
h('div', {
|
|
43719
|
+
class: 'vxe-tree--empty-placeholder-content'
|
|
43720
|
+
}, getText(emptyText || getI18n('vxe.tree.searchEmpty')))
|
|
43721
|
+
])
|
|
43708
43722
|
];
|
|
43709
43723
|
}
|
|
43710
43724
|
const nodeVNs = [];
|