vxe-pc-ui 4.20.19 → 4.20.20

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.
Files changed (35) hide show
  1. package/dist/all.esm.js +7 -8
  2. package/dist/style.css +1 -1
  3. package/dist/style.min.css +1 -1
  4. package/es/icon/style.css +1 -1
  5. package/es/style.css +1 -1
  6. package/es/style.min.css +1 -1
  7. package/es/ui/index.js +1 -1
  8. package/es/ui/src/log.js +1 -1
  9. package/es/ui/src/utils.js +5 -6
  10. package/lib/icon/style/style.css +1 -1
  11. package/lib/icon/style/style.min.css +1 -1
  12. package/lib/index.umd.js +43 -11
  13. package/lib/index.umd.min.js +1 -1
  14. package/lib/style.css +1 -1
  15. package/lib/style.min.css +1 -1
  16. package/lib/ui/index.js +1 -1
  17. package/lib/ui/index.min.js +1 -1
  18. package/lib/ui/src/log.js +1 -1
  19. package/lib/ui/src/log.min.js +1 -1
  20. package/lib/ui/src/utils.js +4 -5
  21. package/lib/ui/src/utils.min.js +1 -1
  22. package/package.json +3 -2
  23. package/packages/ui/src/utils.ts +5 -6
  24. /package/es/icon/{iconfont.1792838802602.ttf → iconfont.1792913047056.ttf} +0 -0
  25. /package/es/icon/{iconfont.1792838802602.woff → iconfont.1792913047056.woff} +0 -0
  26. /package/es/icon/{iconfont.1792838802602.woff2 → iconfont.1792913047056.woff2} +0 -0
  27. /package/es/{iconfont.1792838802602.ttf → iconfont.1792913047056.ttf} +0 -0
  28. /package/es/{iconfont.1792838802602.woff → iconfont.1792913047056.woff} +0 -0
  29. /package/es/{iconfont.1792838802602.woff2 → iconfont.1792913047056.woff2} +0 -0
  30. /package/lib/icon/style/{iconfont.1792838802602.ttf → iconfont.1792913047056.ttf} +0 -0
  31. /package/lib/icon/style/{iconfont.1792838802602.woff → iconfont.1792913047056.woff} +0 -0
  32. /package/lib/icon/style/{iconfont.1792838802602.woff2 → iconfont.1792913047056.woff2} +0 -0
  33. /package/lib/{iconfont.1792838802602.ttf → iconfont.1792913047056.ttf} +0 -0
  34. /package/lib/{iconfont.1792838802602.woff → iconfont.1792913047056.woff} +0 -0
  35. /package/lib/{iconfont.1792838802602.woff2 → iconfont.1792913047056.woff2} +0 -0
package/dist/all.esm.js CHANGED
@@ -1,9 +1,8 @@
1
1
  import * as core from '@vxe-ui/core';
2
- import { VxeUI, setConfig as setConfig$1, setIcon, renderEmptyElement as renderEmptyElement$a, createEvent as createEvent$e, useSize, getConfig as getConfig$g, getIcon as getIcon$b, getI18n as getI18n$9, useFns as useFns$a, usePermission, permission as permission$1, globalEvents as globalEvents$c, renderer as renderer$2, GLOBAL_EVENT_KEYS as GLOBAL_EVENT_KEYS$5, getSlotVNs as getSlotVNs$1, commands, formats, getComponent, globalResize as globalResize$4 } from '@vxe-ui/core';
2
+ import { VxeUI, setConfig as setConfig$1, setIcon, renderEmptyElement as renderEmptyElement$a, createEvent as createEvent$e, useSize, getConfig as getConfig$g, zIndex, getIcon as getIcon$b, getI18n as getI18n$9, useFns as useFns$a, usePermission, permission as permission$1, globalEvents as globalEvents$c, renderer as renderer$2, GLOBAL_EVENT_KEYS as GLOBAL_EVENT_KEYS$5, getSlotVNs as getSlotVNs$1, commands, formats, getComponent, globalResize as globalResize$4 } from '@vxe-ui/core';
3
3
  export * from '@vxe-ui/core';
4
4
  import { defineComponent, ref, reactive, h, createCommentVNode, createApp, inject, computed, watch, onMounted, onUnmounted, provide, nextTick, onBeforeUnmount, resolveComponent, Teleport, onActivated, onDeactivated, TransitionGroup } from 'vue';
5
5
  import XEUtils from 'xe-utils';
6
- import DomZIndex from 'dom-zindex';
7
6
 
8
7
  const defineVxeComponent = defineComponent;
9
8
 
@@ -101,7 +100,7 @@ function checkDynamic() {
101
100
  }
102
101
 
103
102
  const { log } = VxeUI;
104
- const uiVersion = `ui v${"4.20.19"}`;
103
+ const uiVersion = `ui v${"4.20.20"}`;
105
104
  function createComponentLog(name) {
106
105
  const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : '';
107
106
  const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : '';
@@ -115,7 +114,7 @@ function createComponentLog(name) {
115
114
  const warnLog$j = log.create('warn', uiVersion);
116
115
  log.create('error', uiVersion);
117
116
 
118
- const version = "4.20.19";
117
+ const version = "4.20.20";
119
118
  VxeUI.uiVersion = version;
120
119
  VxeUI.dynamicApp = dynamicApp;
121
120
  function config(options) {
@@ -2665,16 +2664,16 @@ function isEnableConf(conf) {
2665
2664
  return conf && conf.enabled !== false;
2666
2665
  }
2667
2666
  function nextZIndex() {
2668
- return DomZIndex.getNext();
2667
+ return zIndex.next();
2669
2668
  }
2670
2669
  function getLastZIndex() {
2671
- return DomZIndex.getCurrent();
2670
+ return zIndex.getLast();
2672
2671
  }
2673
2672
  function nextSubZIndex() {
2674
- return DomZIndex.getSubNext();
2673
+ return zIndex.nextSub();
2675
2674
  }
2676
2675
  function getSubLastZIndex() {
2677
- return DomZIndex.getSubCurrent();
2676
+ return zIndex.getSubLast();
2678
2677
  }
2679
2678
  function getGlobalDefaultConfig(value, globalValue) {
2680
2679
  if (XEUtils.eqNull(value)) {