vxe-pc-ui 4.14.35 → 4.14.36

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 (43) hide show
  1. package/dist/all.esm.js +8 -2
  2. package/dist/style.css +1 -1
  3. package/dist/style.min.css +1 -1
  4. package/es/layout-aside/src/layout-aside.js +6 -0
  5. package/es/layout-aside/style.css +3 -1
  6. package/es/layout-aside/style.min.css +1 -1
  7. package/es/style.css +1 -1
  8. package/es/style.min.css +1 -1
  9. package/es/ui/index.js +1 -1
  10. package/es/ui/src/log.js +1 -1
  11. package/es/vxe-layout-aside/style.css +3 -1
  12. package/es/vxe-layout-aside/style.min.css +1 -1
  13. package/lib/index.umd.js +8 -2
  14. package/lib/index.umd.min.js +1 -1
  15. package/lib/layout-aside/src/layout-aside.js +6 -0
  16. package/lib/layout-aside/src/layout-aside.min.js +1 -1
  17. package/lib/layout-aside/style/style.css +3 -1
  18. package/lib/layout-aside/style/style.min.css +1 -1
  19. package/lib/style.css +1 -1
  20. package/lib/style.min.css +1 -1
  21. package/lib/ui/index.js +1 -1
  22. package/lib/ui/index.min.js +1 -1
  23. package/lib/ui/src/log.js +1 -1
  24. package/lib/ui/src/log.min.js +1 -1
  25. package/lib/vxe-layout-aside/style/style.css +3 -1
  26. package/lib/vxe-layout-aside/style/style.min.css +1 -1
  27. package/package.json +1 -1
  28. package/packages/layout-aside/src/layout-aside.ts +7 -0
  29. package/styles/components/layout-aside.scss +3 -1
  30. package/types/components/layout-aside.d.ts +7 -0
  31. package/types/components/table.d.ts +9 -2
  32. /package/es/icon/{iconfont.1781140815698.ttf → iconfont.1781257618320.ttf} +0 -0
  33. /package/es/icon/{iconfont.1781140815698.woff → iconfont.1781257618320.woff} +0 -0
  34. /package/es/icon/{iconfont.1781140815698.woff2 → iconfont.1781257618320.woff2} +0 -0
  35. /package/es/{iconfont.1781140815698.ttf → iconfont.1781257618320.ttf} +0 -0
  36. /package/es/{iconfont.1781140815698.woff → iconfont.1781257618320.woff} +0 -0
  37. /package/es/{iconfont.1781140815698.woff2 → iconfont.1781257618320.woff2} +0 -0
  38. /package/lib/icon/style/{iconfont.1781140815698.ttf → iconfont.1781257618320.ttf} +0 -0
  39. /package/lib/icon/style/{iconfont.1781140815698.woff → iconfont.1781257618320.woff} +0 -0
  40. /package/lib/icon/style/{iconfont.1781140815698.woff2 → iconfont.1781257618320.woff2} +0 -0
  41. /package/lib/{iconfont.1781140815698.ttf → iconfont.1781257618320.ttf} +0 -0
  42. /package/lib/{iconfont.1781140815698.woff → iconfont.1781257618320.woff} +0 -0
  43. /package/lib/{iconfont.1781140815698.woff2 → iconfont.1781257618320.woff2} +0 -0
package/dist/all.esm.js CHANGED
@@ -80,11 +80,11 @@ function checkDynamic() {
80
80
  }
81
81
  }
82
82
 
83
- const version$1 = `ui v${"4.14.35"}`;
83
+ const version$1 = `ui v${"4.14.36"}`;
84
84
  const warnLog = log.create('warn', version$1);
85
85
  const errLog = log.create('error', version$1);
86
86
 
87
- const version = "4.14.35";
87
+ const version = "4.14.36";
88
88
  VxeUI.uiVersion = version;
89
89
  VxeUI.dynamicApp = dynamicApp;
90
90
  function config(options) {
@@ -23255,6 +23255,7 @@ var VxeLayoutAsideComponent = defineVxeComponent({
23255
23255
  collapseWidth: [String, Number],
23256
23256
  loading: Boolean,
23257
23257
  padding: Boolean,
23258
+ collapseConfig: Object,
23258
23259
  size: {
23259
23260
  type: String,
23260
23261
  default: () => getConfig$3().layoutAside.size || getConfig$3().size
@@ -23270,6 +23271,9 @@ var VxeLayoutAsideComponent = defineVxeComponent({
23270
23271
  const refMaps = {
23271
23272
  refElem
23272
23273
  };
23274
+ const computeCollapseOpts = computed(() => {
23275
+ return Object.assign({}, getConfig$3().layoutAside.collapseConfig, props.collapseConfig);
23276
+ });
23273
23277
  const computeWrapperWidth = computed(() => {
23274
23278
  const { width, collapsed, collapseWidth } = props;
23275
23279
  if (collapsed) {
@@ -23307,11 +23311,13 @@ var VxeLayoutAsideComponent = defineVxeComponent({
23307
23311
  const { width, collapsed, loading, padding } = props;
23308
23312
  const wrapperWidth = computeWrapperWidth.value;
23309
23313
  const vSize = computeSize.value;
23314
+ const collapseOpts = computeCollapseOpts.value;
23310
23315
  const defaultSlot = slots.default;
23311
23316
  return h('aside', {
23312
23317
  ref: refElem,
23313
23318
  class: ['vxe-layout-aside', {
23314
23319
  [`size--${vSize}`]: vSize,
23320
+ 'is--animat': collapseOpts.animation !== false,
23315
23321
  'is--padding': padding,
23316
23322
  'is--default-width': !width,
23317
23323
  'is--collapse': collapsed,