vxe-pc-ui 3.18.22 → 3.18.23

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 (50) hide show
  1. package/es/icon/style.css +1 -1
  2. package/es/scrollbar/src/scrollbar.js +43 -7
  3. package/es/scrollbar/style.css +2 -2
  4. package/es/scrollbar/style.min.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/upload/style.css +5 -3
  10. package/es/upload/style.min.css +1 -1
  11. package/es/vxe-scrollbar/style.css +2 -2
  12. package/es/vxe-scrollbar/style.min.css +1 -1
  13. package/es/vxe-upload/style.css +5 -3
  14. package/es/vxe-upload/style.min.css +1 -1
  15. package/lib/icon/style/style.css +1 -1
  16. package/lib/icon/style/style.min.css +1 -1
  17. package/lib/index.umd.js +42 -9
  18. package/lib/index.umd.min.js +1 -1
  19. package/lib/scrollbar/src/scrollbar.js +40 -7
  20. package/lib/scrollbar/src/scrollbar.min.js +1 -1
  21. package/lib/scrollbar/style/style.css +2 -2
  22. package/lib/scrollbar/style/style.min.css +1 -1
  23. package/lib/style.css +1 -1
  24. package/lib/style.min.css +1 -1
  25. package/lib/ui/index.js +1 -1
  26. package/lib/ui/index.min.js +1 -1
  27. package/lib/ui/src/log.js +1 -1
  28. package/lib/ui/src/log.min.js +1 -1
  29. package/lib/upload/style/style.css +5 -3
  30. package/lib/upload/style/style.min.css +1 -1
  31. package/lib/vxe-scrollbar/style/style.css +2 -2
  32. package/lib/vxe-scrollbar/style/style.min.css +1 -1
  33. package/lib/vxe-upload/style/style.css +5 -3
  34. package/lib/vxe-upload/style/style.min.css +1 -1
  35. package/package.json +1 -1
  36. package/packages/scrollbar/src/scrollbar.ts +50 -7
  37. package/styles/components/scrollbar.scss +2 -2
  38. package/styles/components/upload.scss +5 -3
  39. /package/es/icon/{iconfont.1791471260167.ttf → iconfont.1791517840480.ttf} +0 -0
  40. /package/es/icon/{iconfont.1791471260167.woff → iconfont.1791517840480.woff} +0 -0
  41. /package/es/icon/{iconfont.1791471260167.woff2 → iconfont.1791517840480.woff2} +0 -0
  42. /package/es/{iconfont.1791471260167.ttf → iconfont.1791517840480.ttf} +0 -0
  43. /package/es/{iconfont.1791471260167.woff → iconfont.1791517840480.woff} +0 -0
  44. /package/es/{iconfont.1791471260167.woff2 → iconfont.1791517840480.woff2} +0 -0
  45. /package/lib/icon/style/{iconfont.1791471260167.ttf → iconfont.1791517840480.ttf} +0 -0
  46. /package/lib/icon/style/{iconfont.1791471260167.woff → iconfont.1791517840480.woff} +0 -0
  47. /package/lib/icon/style/{iconfont.1791471260167.woff2 → iconfont.1791517840480.woff2} +0 -0
  48. /package/lib/{iconfont.1791471260167.ttf → iconfont.1791517840480.ttf} +0 -0
  49. /package/lib/{iconfont.1791471260167.woff → iconfont.1791517840480.woff} +0 -0
  50. /package/lib/{iconfont.1791471260167.woff2 → iconfont.1791517840480.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -13347,7 +13347,7 @@ var es_array_filter = __webpack_require__(2008);
13347
13347
 
13348
13348
 
13349
13349
  var log_log = VxeUI.log;
13350
- var uiVersion = "ui v".concat("3.18.22");
13350
+ var uiVersion = "ui v".concat("3.18.23");
13351
13351
  function createComponentLog(name) {
13352
13352
  var tableVersion = VxeUI.tableVersion ? "table v".concat(VxeUI.tableVersion) : '';
13353
13353
  var ganttVersion = VxeUI.ganttVersion ? "gantt v".concat(VxeUI.ganttVersion) : '';
@@ -13367,7 +13367,7 @@ var errLog = log_log.create('error', uiVersion);
13367
13367
 
13368
13368
 
13369
13369
 
13370
- var ui_version = "3.18.22";
13370
+ var ui_version = "3.18.23";
13371
13371
  VxeUI.uiVersion = ui_version;
13372
13372
  VxeUI.dynamicApp = dynamicApp;
13373
13373
  function config(options) {
@@ -58160,7 +58160,8 @@ function scrollbar_createInternalData() {
58160
58160
  var props = $xeScrollbar;
58161
58161
  var slots = $xeScrollbar.$scopedSlots;
58162
58162
  var native = props.native,
58163
- loading = props.loading;
58163
+ loading = props.loading,
58164
+ autoResize = props.autoResize;
58164
58165
  var wrapperStyle = $xeScrollbar.computeWrapperStyle;
58165
58166
  var wrapperClss = $xeScrollbar.computeWrapperClss;
58166
58167
  var viewClss = $xeScrollbar.computeViewClss;
@@ -58180,7 +58181,11 @@ function scrollbar_createInternalData() {
58180
58181
  }, [h('div', {
58181
58182
  ref: 'refViewInnerElem',
58182
58183
  class: 'vxe-scrollbar--view-inner'
58183
- }, defaultSlot ? defaultSlot({}) : [])]), native || xOpts.visible === 'hidden' ? scrollbar_renderEmptyElement($xeScrollbar) : h('div', {
58184
+ }, autoResize ? [h('div', {
58185
+ key: 'vi',
58186
+ ref: 'refViewInnerElem',
58187
+ class: 'vxe-scrollbar--view-inner'
58188
+ }, defaultSlot ? defaultSlot({}) : [])] : defaultSlot ? defaultSlot({}) : [])]), native || xOpts.visible === 'hidden' ? scrollbar_renderEmptyElement($xeScrollbar) : h('div', {
58184
58189
  ref: 'refTrackXElem',
58185
58190
  class: 'vxe-scrollbar--track-x',
58186
58191
  on: {
@@ -58221,6 +58226,30 @@ function scrollbar_createInternalData() {
58221
58226
  }
58222
58227
  },
58223
58228
  watch: {
58229
+ height: function height() {
58230
+ var $xeScrollbar = this;
58231
+ $xeScrollbar.reFlag++;
58232
+ },
58233
+ width: function width() {
58234
+ var $xeScrollbar = this;
58235
+ $xeScrollbar.reFlag++;
58236
+ },
58237
+ minHeight: function minHeight() {
58238
+ var $xeScrollbar = this;
58239
+ $xeScrollbar.reFlag++;
58240
+ },
58241
+ minWidth: function minWidth() {
58242
+ var $xeScrollbar = this;
58243
+ $xeScrollbar.reFlag++;
58244
+ },
58245
+ maxHeight: function maxHeight() {
58246
+ var $xeScrollbar = this;
58247
+ $xeScrollbar.reFlag++;
58248
+ },
58249
+ maxWidth: function maxWidth() {
58250
+ var $xeScrollbar = this;
58251
+ $xeScrollbar.reFlag++;
58252
+ },
58224
58253
  native: function native() {
58225
58254
  var $xeScrollbar = this;
58226
58255
  $xeScrollbar.reFlag++;
@@ -58245,19 +58274,23 @@ function scrollbar_createInternalData() {
58245
58274
  var props = $xeScrollbar;
58246
58275
  var internalData = $xeScrollbar.internalData;
58247
58276
  var autoResize = props.autoResize;
58277
+ var viewEl = $xeScrollbar.$refs.refViewElem;
58248
58278
  var viewInnerEl = $xeScrollbar.$refs.refViewInnerElem;
58249
- if (autoResize && viewInnerEl) {
58279
+ if (autoResize) {
58250
58280
  var resizeObserver = scrollbar_globalResize.create(function () {
58251
58281
  if (props.autoResize) {
58252
58282
  $xeScrollbar.reFlag++;
58253
58283
  }
58254
58284
  });
58255
- resizeObserver.observe(viewInnerEl);
58285
+ if (viewEl) {
58286
+ resizeObserver.observe(viewEl);
58287
+ }
58288
+ if (viewInnerEl) {
58289
+ resizeObserver.observe(viewInnerEl);
58290
+ }
58256
58291
  internalData.resizeObserver = resizeObserver;
58257
58292
  }
58258
- $xeScrollbar.$nextTick(function () {
58259
- $xeScrollbar.recalculate();
58260
- });
58293
+ $xeScrollbar.reFlag++;
58261
58294
  },
58262
58295
  beforeDestroy: function beforeDestroy() {
58263
58296
  var $xeScrollbar = this;