vxe-pc-ui 4.18.1 → 4.18.3
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.md +5 -0
- package/dist/all.esm.js +16 -7
- package/dist/style.css +1 -1
- package/dist/style.min.css +1 -1
- package/es/button/src/button.js +11 -3
- package/es/button/style.css +1 -4
- package/es/button/style.min.css +1 -1
- package/es/icon/{iconfont.1788592140906.ttf → iconfont.1788745459463.ttf} +0 -0
- package/es/icon/iconfont.1788745459463.woff +0 -0
- package/es/icon/iconfont.1788745459463.woff2 +0 -0
- package/es/icon/style.css +13 -1
- package/es/icon/style.min.css +1 -1
- package/{lib/icon/style/iconfont.1788592140906.ttf → es/iconfont.1788745459463.ttf} +0 -0
- package/es/iconfont.1788745459463.woff +0 -0
- package/es/iconfont.1788745459463.woff2 +0 -0
- package/es/modal/src/modal.js +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +3 -2
- package/es/ui/src/log.js +1 -1
- package/es/vxe-button/style.css +1 -4
- package/es/vxe-button/style.min.css +1 -1
- package/es/vxe-icon/style.css +13 -1
- package/es/vxe-icon/style.min.css +1 -1
- package/lib/button/src/button.js +12 -2
- package/lib/button/src/button.min.js +1 -1
- package/lib/button/style/style.css +1 -4
- package/lib/button/style/style.min.css +1 -1
- package/lib/{iconfont.1788592140906.ttf → icon/style/iconfont.1788745459463.ttf} +0 -0
- package/lib/icon/style/iconfont.1788745459463.woff +0 -0
- package/lib/icon/style/iconfont.1788745459463.woff2 +0 -0
- package/lib/icon/style/style.css +13 -1
- package/lib/icon/style/style.min.css +13 -1
- package/{es/iconfont.1788592140906.ttf → lib/iconfont.1788745459463.ttf} +0 -0
- package/lib/iconfont.1788745459463.woff +0 -0
- package/lib/iconfont.1788745459463.woff2 +0 -0
- package/lib/index.umd.js +17 -6
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +1 -1
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +3 -2
- 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 +1 -4
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-icon/style/style.css +13 -1
- package/lib/vxe-icon/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/button/src/button.ts +12 -4
- package/packages/modal/src/modal.ts +1 -1
- package/packages/ui/index.ts +2 -1
- package/styles/components/button.scss +1 -4
- package/styles/components/icon.scss +13 -1
- package/styles/icon/iconfont.ttf +0 -0
- package/styles/icon/iconfont.woff +0 -0
- package/styles/icon/iconfont.woff2 +0 -0
- package/types/components/button.d.ts +5 -0
- package/types/components/icon.d.ts +1 -1
- package/types/components/table.d.ts +11 -8
- package/types/ui/global-icon.d.ts +2 -1
- package/es/icon/iconfont.1788592140906.woff +0 -0
- package/es/icon/iconfont.1788592140906.woff2 +0 -0
- package/es/iconfont.1788592140906.woff +0 -0
- package/es/iconfont.1788592140906.woff2 +0 -0
- package/lib/icon/style/iconfont.1788592140906.woff +0 -0
- package/lib/icon/style/iconfont.1788592140906.woff2 +0 -0
- package/lib/iconfont.1788592140906.woff +0 -0
- package/lib/iconfont.1788592140906.woff2 +0 -0
package/README.md
CHANGED
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
* 面向现代浏览器,高效的简洁 API 设计
|
|
22
22
|
* 按需加载
|
|
23
23
|
|
|
24
|
+
* 分支说明
|
|
25
|
+
* v3 分支和 v4 分支功能与 API 保持同步更新
|
|
26
|
+
* v3 分支对应 vue 2.6~2.7 版本,为长期维护版本
|
|
27
|
+
* v4 分支对应 vue 3.x 版本,为长期维护版本
|
|
28
|
+
|
|
24
29
|
* 版本说明
|
|
25
30
|
* **V4**
|
|
26
31
|
* [x] v4.7 基于 xe-utils@4.0+,拆分 [vxe-design](https://github.com/x-extends/vxe-design) 可视化组件和基础组件库
|
package/dist/all.esm.js
CHANGED
|
@@ -101,7 +101,7 @@ function checkDynamic() {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
const { log } = VxeUI;
|
|
104
|
-
const uiVersion = `ui v${"4.18.
|
|
104
|
+
const uiVersion = `ui v${"4.18.3"}`;
|
|
105
105
|
function createComponentLog(name) {
|
|
106
106
|
const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
|
|
107
107
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
|
|
@@ -115,7 +115,7 @@ function createComponentLog(name) {
|
|
|
115
115
|
const warnLog$i = log.create('warn', uiVersion);
|
|
116
116
|
log.create('error', uiVersion);
|
|
117
117
|
|
|
118
|
-
const version = "4.18.
|
|
118
|
+
const version = "4.18.3";
|
|
119
119
|
VxeUI.uiVersion = version;
|
|
120
120
|
VxeUI.dynamicApp = dynamicApp;
|
|
121
121
|
function config(options) {
|
|
@@ -628,7 +628,8 @@ setIcon({
|
|
|
628
628
|
// loading
|
|
629
629
|
LOADING: iconPrefix + 'spinner roll vxe-loading--default-icon',
|
|
630
630
|
// button
|
|
631
|
-
|
|
631
|
+
BUTTON_DROPDOWN_OPEN: iconPrefix + 'arrow-down rotate180',
|
|
632
|
+
BUTTON_DROPDOWN_CLOSE: iconPrefix + 'arrow-down',
|
|
632
633
|
BUTTON_LOADING: iconPrefix + 'spinner roll',
|
|
633
634
|
BUTTON_TOOLTIP_ICON: iconPrefix + 'question-circle-fill',
|
|
634
635
|
// menu
|
|
@@ -3362,6 +3363,14 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
3362
3363
|
type: Boolean,
|
|
3363
3364
|
default: () => getConfig$3().button.showDropdownIcon
|
|
3364
3365
|
},
|
|
3366
|
+
dropdownCloseIcon: {
|
|
3367
|
+
type: String,
|
|
3368
|
+
default: () => getConfig$3().button.dropdownCloseIcon
|
|
3369
|
+
},
|
|
3370
|
+
dropdownOpenIcon: {
|
|
3371
|
+
type: String,
|
|
3372
|
+
default: () => getConfig$3().button.dropdownOpenIcon
|
|
3373
|
+
},
|
|
3365
3374
|
/**
|
|
3366
3375
|
* 在下拉面板关闭时销毁内容
|
|
3367
3376
|
*/
|
|
@@ -3819,7 +3828,7 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
3819
3828
|
};
|
|
3820
3829
|
Object.assign($xeButton, buttonMethods);
|
|
3821
3830
|
const renderVN = () => {
|
|
3822
|
-
const { className, trigger, title, routerLink, type, destroyOnClose, name, loading, shadow, showDropdownIcon } = props;
|
|
3831
|
+
const { className, trigger, title, routerLink, type, destroyOnClose, name, loading, shadow, dropdownOpenIcon, dropdownCloseIcon, showDropdownIcon } = props;
|
|
3823
3832
|
const { initialized, isAniVisible, visiblePanel } = reactData;
|
|
3824
3833
|
const isFormBtn = computeIsFormBtn.value;
|
|
3825
3834
|
const btnMode = computeBtnMode.value;
|
|
@@ -3873,7 +3882,7 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
3873
3882
|
return renderContent().concat(showDropdownIcon
|
|
3874
3883
|
? [
|
|
3875
3884
|
h('i', {
|
|
3876
|
-
class: `vxe-button--dropdown-
|
|
3885
|
+
class: `vxe-button--dropdown-icon ${visiblePanel ? (dropdownOpenIcon || getIcon$2().BUTTON_DROPDOWN_OPEN) : (dropdownCloseIcon || getIcon$2().BUTTON_DROPDOWN_CLOSE)}`
|
|
3877
3886
|
})
|
|
3878
3887
|
]
|
|
3879
3888
|
: []);
|
|
@@ -3891,7 +3900,7 @@ const VxeButtonComponent = defineVxeComponent({
|
|
|
3891
3900
|
name, type: isFormBtn ? type : 'button', disabled: btnDisabled || loading, onClick: clickTargetEvent }, btnOns), renderContent().concat(showDropdownIcon
|
|
3892
3901
|
? [
|
|
3893
3902
|
h('i', {
|
|
3894
|
-
class: `vxe-button--dropdown-
|
|
3903
|
+
class: `vxe-button--dropdown-icon ${visiblePanel ? (dropdownOpenIcon || getIcon$2().BUTTON_DROPDOWN_OPEN) : (dropdownCloseIcon || getIcon$2().BUTTON_DROPDOWN_CLOSE)}`
|
|
3895
3904
|
})
|
|
3896
3905
|
]
|
|
3897
3906
|
: [])),
|
|
@@ -30725,7 +30734,7 @@ var VxeModalComponent = defineVxeComponent({
|
|
|
30725
30734
|
const handleGlobalKeydownEvent = (evnt) => {
|
|
30726
30735
|
const isEsc = globalEvents.hasKey(evnt, GLOBAL_EVENT_KEYS.ESCAPE);
|
|
30727
30736
|
if (isEsc) {
|
|
30728
|
-
const lastModal = XEUtils.max(allActiveModals, (item) => item.reactData.modalZindex);
|
|
30737
|
+
const lastModal = XEUtils.max(allActiveModals.filter(item => item.reactData.zoomStatus !== 'minimize'), (item) => item.reactData.modalZindex);
|
|
30729
30738
|
// 多个时,只关掉最上层的窗口
|
|
30730
30739
|
if (lastModal) {
|
|
30731
30740
|
setTimeout(() => {
|