vxe-pc-ui 4.6.40 → 4.6.42
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/src/button.js +40 -16
- package/es/button/style.css +6 -25
- package/es/button/style.min.css +1 -1
- package/es/color-picker/src/color-picker.js +1 -1
- package/es/color-picker/style.css +8 -7
- package/es/color-picker/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/language/ar-EG.js +2 -1
- package/es/language/de-DE.js +2 -1
- package/es/language/en-US.js +2 -1
- package/es/language/es-ES.js +2 -1
- package/es/language/fr-FR.js +2 -1
- package/es/language/hu-HU.js +2 -1
- package/es/language/hy-AM.js +2 -1
- package/es/language/id-ID.js +2 -1
- package/es/language/it-IT.js +2 -1
- package/es/language/ja-JP.js +2 -1
- package/es/language/ko-KR.js +2 -1
- package/es/language/ms-MY.js +2 -1
- package/es/language/nb-NO.js +2 -1
- package/es/language/pt-BR.js +2 -1
- package/es/language/ru-RU.js +2 -1
- package/es/language/th-TH.js +2 -1
- package/es/language/ug-CN.js +2 -1
- package/es/language/uk-UA.js +2 -1
- package/es/language/uz-UZ.js +2 -1
- package/es/language/vi-VN.js +2 -1
- package/es/language/zh-CHT.js +2 -1
- package/es/language/zh-CN.js +2 -1
- package/es/select/src/select.js +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +3 -3
- package/es/ui/src/log.js +1 -1
- package/es/vxe-button/style.css +6 -25
- package/es/vxe-button/style.min.css +1 -1
- package/es/vxe-color-picker/style.css +8 -7
- package/es/vxe-color-picker/style.min.css +1 -1
- package/lib/button/src/button.js +37 -16
- package/lib/button/src/button.min.js +1 -1
- package/lib/button/style/style.css +6 -25
- package/lib/button/style/style.min.css +1 -1
- package/lib/color-picker/src/color-picker.js +1 -1
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/color-picker/style/style.css +8 -7
- package/lib/color-picker/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 +45 -23
- package/lib/index.umd.min.js +1 -1
- package/lib/language/ar-EG.js +2 -1
- package/lib/language/ar-EG.min.js +1 -1
- package/lib/language/ar-EG.umd.js +2 -1
- package/lib/language/de-DE.js +2 -1
- package/lib/language/de-DE.min.js +1 -1
- package/lib/language/de-DE.umd.js +2 -1
- package/lib/language/en-US.js +2 -1
- package/lib/language/en-US.min.js +1 -1
- package/lib/language/en-US.umd.js +2 -1
- package/lib/language/es-ES.js +2 -1
- package/lib/language/es-ES.min.js +1 -1
- package/lib/language/es-ES.umd.js +2 -1
- package/lib/language/fr-FR.js +2 -1
- package/lib/language/fr-FR.min.js +1 -1
- package/lib/language/fr-FR.umd.js +2 -1
- package/lib/language/hu-HU.js +2 -1
- package/lib/language/hu-HU.min.js +1 -1
- package/lib/language/hu-HU.umd.js +2 -1
- package/lib/language/hy-AM.js +2 -1
- package/lib/language/hy-AM.min.js +1 -1
- package/lib/language/hy-AM.umd.js +2 -1
- package/lib/language/id-ID.js +2 -1
- package/lib/language/id-ID.min.js +1 -1
- package/lib/language/id-ID.umd.js +2 -1
- package/lib/language/it-IT.js +2 -1
- package/lib/language/it-IT.min.js +1 -1
- package/lib/language/it-IT.umd.js +2 -1
- package/lib/language/ja-JP.js +2 -1
- package/lib/language/ja-JP.min.js +1 -1
- package/lib/language/ja-JP.umd.js +2 -1
- package/lib/language/ko-KR.js +2 -1
- package/lib/language/ko-KR.min.js +1 -1
- package/lib/language/ko-KR.umd.js +2 -1
- package/lib/language/ms-MY.js +2 -1
- package/lib/language/ms-MY.min.js +1 -1
- package/lib/language/ms-MY.umd.js +2 -1
- package/lib/language/nb-NO.js +2 -1
- package/lib/language/nb-NO.min.js +1 -1
- package/lib/language/nb-NO.umd.js +2 -1
- package/lib/language/pt-BR.js +2 -1
- package/lib/language/pt-BR.min.js +1 -1
- package/lib/language/pt-BR.umd.js +2 -1
- package/lib/language/ru-RU.js +2 -1
- package/lib/language/ru-RU.min.js +1 -1
- package/lib/language/ru-RU.umd.js +2 -1
- package/lib/language/th-TH.js +2 -1
- package/lib/language/th-TH.min.js +1 -1
- package/lib/language/th-TH.umd.js +2 -1
- package/lib/language/ug-CN.js +2 -1
- package/lib/language/ug-CN.min.js +1 -1
- package/lib/language/ug-CN.umd.js +2 -1
- package/lib/language/uk-UA.js +2 -1
- package/lib/language/uk-UA.min.js +1 -1
- package/lib/language/uk-UA.umd.js +2 -1
- package/lib/language/uz-UZ.js +2 -1
- package/lib/language/uz-UZ.min.js +1 -1
- package/lib/language/uz-UZ.umd.js +2 -1
- package/lib/language/vi-VN.js +2 -1
- package/lib/language/vi-VN.min.js +1 -1
- package/lib/language/vi-VN.umd.js +2 -1
- package/lib/language/zh-CHT.js +2 -1
- package/lib/language/zh-CHT.min.js +1 -1
- package/lib/language/zh-CHT.umd.js +2 -1
- package/lib/language/zh-CN.js +2 -1
- package/lib/language/zh-CN.min.js +1 -1
- package/lib/language/zh-CN.umd.js +2 -1
- package/lib/select/src/select.js +1 -1
- 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 +3 -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 +6 -25
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-color-picker/style/style.css +8 -7
- package/lib/vxe-color-picker/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/button/src/button.ts +43 -16
- package/packages/color-picker/src/color-picker.ts +2 -2
- package/packages/language/ar-EG.ts +2 -1
- package/packages/language/de-DE.ts +2 -1
- package/packages/language/en-US.ts +2 -1
- package/packages/language/es-ES.ts +2 -1
- package/packages/language/fr-FR.ts +2 -1
- package/packages/language/hu-HU.ts +2 -1
- package/packages/language/hy-AM.ts +2 -1
- package/packages/language/id-ID.ts +2 -1
- package/packages/language/it-IT.ts +2 -1
- package/packages/language/ja-JP.ts +2 -1
- package/packages/language/ko-KR.ts +2 -1
- package/packages/language/ms-MY.ts +2 -1
- package/packages/language/nb-NO.ts +2 -1
- package/packages/language/pt-BR.ts +2 -1
- package/packages/language/ru-RU.ts +2 -1
- package/packages/language/th-TH.ts +2 -1
- package/packages/language/ug-CN.ts +2 -1
- package/packages/language/uk-UA.ts +2 -1
- package/packages/language/uz-UZ.ts +2 -1
- package/packages/language/vi-VN.ts +2 -1
- package/packages/language/zh-CHT.ts +2 -1
- package/packages/language/zh-CN.ts +2 -1
- package/packages/select/src/select.ts +1 -1
- package/packages/ui/index.ts +2 -2
- package/styles/components/button.scss +6 -28
- package/styles/components/color-picker.scss +8 -7
- package/types/components/button.d.ts +29 -4
- package/types/components/color-picker.d.ts +1 -1
- package/types/components/table.d.ts +2 -0
- package/types/ui/global-icon.d.ts +1 -1
- /package/es/icon/{iconfont.1751332695680.ttf → iconfont.1751436014872.ttf} +0 -0
- /package/es/icon/{iconfont.1751332695680.woff → iconfont.1751436014872.woff} +0 -0
- /package/es/icon/{iconfont.1751332695680.woff2 → iconfont.1751436014872.woff2} +0 -0
- /package/es/{iconfont.1751332695680.ttf → iconfont.1751436014872.ttf} +0 -0
- /package/es/{iconfont.1751332695680.woff → iconfont.1751436014872.woff} +0 -0
- /package/es/{iconfont.1751332695680.woff2 → iconfont.1751436014872.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1751332695680.ttf → iconfont.1751436014872.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1751332695680.woff → iconfont.1751436014872.woff} +0 -0
- /package/lib/icon/style/{iconfont.1751332695680.woff2 → iconfont.1751436014872.woff2} +0 -0
- /package/lib/{iconfont.1751332695680.ttf → iconfont.1751436014872.ttf} +0 -0
- /package/lib/{iconfont.1751332695680.woff → iconfont.1751436014872.woff} +0 -0
- /package/lib/{iconfont.1751332695680.woff2 → iconfont.1751436014872.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -3816,7 +3816,8 @@ setTheme();
|
|
|
3816
3816
|
colorPicker: {
|
|
3817
3817
|
clear: '清除',
|
|
3818
3818
|
confirm: '确认',
|
|
3819
|
-
copySuccess: '已复制到剪贴板:{0}'
|
|
3819
|
+
copySuccess: '已复制到剪贴板:{0}',
|
|
3820
|
+
hex: '十六进制'
|
|
3820
3821
|
},
|
|
3821
3822
|
formDesign: {
|
|
3822
3823
|
formName: '表单名称',
|
|
@@ -4242,14 +4243,14 @@ function checkDynamic() {
|
|
|
4242
4243
|
}
|
|
4243
4244
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
4244
4245
|
|
|
4245
|
-
const log_version = `ui v${"4.6.
|
|
4246
|
+
const log_version = `ui v${"4.6.42"}`;
|
|
4246
4247
|
const warnLog = log.create('warn', log_version);
|
|
4247
4248
|
const errLog = log.create('error', log_version);
|
|
4248
4249
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
4249
4250
|
|
|
4250
4251
|
|
|
4251
4252
|
|
|
4252
|
-
const ui_version = "4.6.
|
|
4253
|
+
const ui_version = "4.6.42";
|
|
4253
4254
|
index_esm_VxeUI.uiVersion = ui_version;
|
|
4254
4255
|
index_esm_VxeUI.dynamicApp = dynamicApp;
|
|
4255
4256
|
function config(options) {
|
|
@@ -4311,7 +4312,7 @@ setConfig({
|
|
|
4311
4312
|
collapsePane: {},
|
|
4312
4313
|
countdown: {},
|
|
4313
4314
|
colorPicker: {
|
|
4314
|
-
type: '
|
|
4315
|
+
type: 'rgb',
|
|
4315
4316
|
clearable: true,
|
|
4316
4317
|
showAlpha: true,
|
|
4317
4318
|
clickToCopy: true,
|
|
@@ -4647,7 +4648,7 @@ setIcon({
|
|
|
4647
4648
|
SELECT_LOADED: iconPrefix + 'spinner roll',
|
|
4648
4649
|
SELECT_OPEN: iconPrefix + 'caret-down rotate180',
|
|
4649
4650
|
SELECT_CLOSE: iconPrefix + 'caret-down',
|
|
4650
|
-
|
|
4651
|
+
SELECT_ADD_OPTION: iconPrefix + 'add',
|
|
4651
4652
|
// icon-picker
|
|
4652
4653
|
ICON_PICKER_OPEN: iconPrefix + 'caret-down rotate180',
|
|
4653
4654
|
ICON_PICKER_CLOSE: iconPrefix + 'caret-down',
|
|
@@ -6550,9 +6551,17 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
6550
6551
|
*/
|
|
6551
6552
|
title: String,
|
|
6552
6553
|
/**
|
|
6553
|
-
*
|
|
6554
|
+
* 按钮的前缀图标,属于 prefix-icon 的简写
|
|
6554
6555
|
*/
|
|
6555
6556
|
icon: String,
|
|
6557
|
+
/**
|
|
6558
|
+
* 按钮的前缀图标
|
|
6559
|
+
*/
|
|
6560
|
+
prefixIcon: String,
|
|
6561
|
+
/**
|
|
6562
|
+
* 按钮的后缀图标
|
|
6563
|
+
*/
|
|
6564
|
+
suffixIcon: String,
|
|
6556
6565
|
/**
|
|
6557
6566
|
* 圆角边框
|
|
6558
6567
|
*/
|
|
@@ -6742,10 +6751,10 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
6742
6751
|
return [];
|
|
6743
6752
|
});
|
|
6744
6753
|
const computePrefixTipOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
6745
|
-
return Object.assign({}, props.prefixTooltip);
|
|
6754
|
+
return Object.assign({}, getConfig().button.prefixTooltip, props.prefixTooltip);
|
|
6746
6755
|
});
|
|
6747
6756
|
const computeSuffixTipOpts = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
6748
|
-
return Object.assign({}, props.suffixTooltip);
|
|
6757
|
+
return Object.assign({}, getConfig().button.suffixTooltip, props.suffixTooltip);
|
|
6749
6758
|
});
|
|
6750
6759
|
const updateZindex = () => {
|
|
6751
6760
|
if (reactData.panelIndex < getLastZIndex()) {
|
|
@@ -6933,23 +6942,27 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
6933
6942
|
theme: tipOpts.theme
|
|
6934
6943
|
}, {
|
|
6935
6944
|
default() {
|
|
6936
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('
|
|
6937
|
-
class:
|
|
6938
|
-
})
|
|
6945
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
6946
|
+
class: `vxe-button--item vxe-button--tooltip-${type}-icon`
|
|
6947
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
6948
|
+
class: tipOpts.icon || getIcon().BUTTON_TOOLTIP_ICON
|
|
6949
|
+
})]);
|
|
6939
6950
|
}
|
|
6940
6951
|
});
|
|
6941
6952
|
};
|
|
6942
6953
|
const renderContent = () => {
|
|
6943
6954
|
const {
|
|
6944
6955
|
content,
|
|
6945
|
-
|
|
6956
|
+
suffixIcon,
|
|
6946
6957
|
loading,
|
|
6947
6958
|
prefixTooltip,
|
|
6948
6959
|
suffixTooltip
|
|
6949
6960
|
} = props;
|
|
6961
|
+
const prefixIcon = props.prefixIcon || props.icon;
|
|
6950
6962
|
const prefixTipOpts = computePrefixTipOpts.value;
|
|
6951
6963
|
const suffixTipOpts = computeSuffixTipOpts.value;
|
|
6952
|
-
const
|
|
6964
|
+
const prefixIconSlot = slots.prefix || slots.icon;
|
|
6965
|
+
const suffixIconSlot = slots.suffix;
|
|
6953
6966
|
const defaultSlot = slots.default;
|
|
6954
6967
|
const contVNs = [];
|
|
6955
6968
|
if (prefixTooltip) {
|
|
@@ -6957,26 +6970,35 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
6957
6970
|
}
|
|
6958
6971
|
if (loading) {
|
|
6959
6972
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
6960
|
-
class: ['vxe-button--loading-icon', getIcon().BUTTON_LOADING]
|
|
6973
|
+
class: ['vxe-button--item vxe-button--loading-icon', getIcon().BUTTON_LOADING]
|
|
6961
6974
|
}));
|
|
6962
|
-
} else if (
|
|
6975
|
+
} else if (prefixIconSlot) {
|
|
6963
6976
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
6964
|
-
class: 'vxe-button--custom-icon'
|
|
6965
|
-
},
|
|
6966
|
-
} else if (
|
|
6977
|
+
class: 'vxe-button--item vxe-button--custom-prefix-icon'
|
|
6978
|
+
}, prefixIconSlot({})));
|
|
6979
|
+
} else if (prefixIcon) {
|
|
6967
6980
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
6968
|
-
class: ['vxe-button--icon',
|
|
6981
|
+
class: ['vxe-button--item vxe-button--prefix-icon', prefixIcon]
|
|
6969
6982
|
}));
|
|
6970
6983
|
}
|
|
6971
6984
|
if (defaultSlot) {
|
|
6972
6985
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
6973
|
-
class: 'vxe-button--content'
|
|
6986
|
+
class: 'vxe-button--item vxe-button--content'
|
|
6974
6987
|
}, defaultSlot({})));
|
|
6975
6988
|
} else if (content) {
|
|
6976
6989
|
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
6977
|
-
class: 'vxe-button--content'
|
|
6990
|
+
class: 'vxe-button--item vxe-button--content'
|
|
6978
6991
|
}, getFuncText(content)));
|
|
6979
6992
|
}
|
|
6993
|
+
if (suffixIconSlot) {
|
|
6994
|
+
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('span', {
|
|
6995
|
+
class: 'vxe-button--item vxe-button--custom-suffix-icon'
|
|
6996
|
+
}, suffixIconSlot({})));
|
|
6997
|
+
} else if (suffixIcon) {
|
|
6998
|
+
contVNs.push((0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
6999
|
+
class: ['vxe-button--item vxe-button--suffix-icon', suffixIcon]
|
|
7000
|
+
}));
|
|
7001
|
+
}
|
|
6980
7002
|
if (suffixTooltip) {
|
|
6981
7003
|
contVNs.push(renderTooltipIcon(suffixTipOpts, 'suffix'));
|
|
6982
7004
|
}
|
|
@@ -14432,7 +14454,7 @@ function toFloatValueFixed(inputValue, digitsValue) {
|
|
|
14432
14454
|
}
|
|
14433
14455
|
})]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
14434
14456
|
class: 'vxe-color-picker--input-title'
|
|
14435
|
-
}, '
|
|
14457
|
+
}, i18n_getI18n('vxe.colorPicker.hex'))])])]);
|
|
14436
14458
|
};
|
|
14437
14459
|
const renderQuickWrapper = () => {
|
|
14438
14460
|
const {
|
|
@@ -27951,7 +27973,7 @@ function getOptUniqueId() {
|
|
|
27951
27973
|
key: 2,
|
|
27952
27974
|
class: 'vxe-select-option--add-icon'
|
|
27953
27975
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('i', {
|
|
27954
|
-
class: getIcon().
|
|
27976
|
+
class: getIcon().SELECT_ADD_OPTION
|
|
27955
27977
|
})]) : renderEmptyElement($xeSelect)] : optVNs) : renderEmptyElement($xeSelect);
|
|
27956
27978
|
});
|
|
27957
27979
|
};
|