vxe-pc-ui 3.14.0 → 3.14.2

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 (40) hide show
  1. package/es/dynamics/index.js +7 -6
  2. package/es/icon/style.css +1 -1
  3. package/es/image/src/image.js +27 -10
  4. package/es/style.css +1 -1
  5. package/es/style.min.css +1 -1
  6. package/es/ui/index.js +1 -1
  7. package/es/ui/src/log.js +1 -1
  8. package/lib/dynamics/index.js +11 -10
  9. package/lib/dynamics/index.min.js +1 -1
  10. package/lib/icon/style/style.css +1 -1
  11. package/lib/icon/style/style.min.css +1 -1
  12. package/lib/image/src/image.js +30 -9
  13. package/lib/image/src/image.min.js +1 -1
  14. package/lib/index.umd.js +43 -21
  15. package/lib/index.umd.min.js +1 -1
  16. package/lib/style.css +1 -1
  17. package/lib/style.min.css +1 -1
  18. package/lib/ui/index.js +1 -1
  19. package/lib/ui/index.min.js +1 -1
  20. package/lib/ui/src/log.js +1 -1
  21. package/lib/ui/src/log.min.js +1 -1
  22. package/package.json +1 -1
  23. package/packages/dynamics/index.ts +8 -6
  24. package/packages/image/src/image.ts +27 -10
  25. package/types/components/gantt-plugins/extend-gantt-chart.d.ts +9 -0
  26. package/types/components/gantt.d.ts +21 -1
  27. package/types/components/image.d.ts +8 -0
  28. package/types/components/table.d.ts +8 -4
  29. /package/es/icon/{iconfont.1777795840596.ttf → iconfont.1778051786436.ttf} +0 -0
  30. /package/es/icon/{iconfont.1777795840596.woff → iconfont.1778051786436.woff} +0 -0
  31. /package/es/icon/{iconfont.1777795840596.woff2 → iconfont.1778051786436.woff2} +0 -0
  32. /package/es/{iconfont.1777795840596.ttf → iconfont.1778051786436.ttf} +0 -0
  33. /package/es/{iconfont.1777795840596.woff → iconfont.1778051786436.woff} +0 -0
  34. /package/es/{iconfont.1777795840596.woff2 → iconfont.1778051786436.woff2} +0 -0
  35. /package/lib/icon/style/{iconfont.1777795840596.ttf → iconfont.1778051786436.ttf} +0 -0
  36. /package/lib/icon/style/{iconfont.1777795840596.woff → iconfont.1778051786436.woff} +0 -0
  37. /package/lib/icon/style/{iconfont.1777795840596.woff2 → iconfont.1778051786436.woff2} +0 -0
  38. /package/lib/{iconfont.1777795840596.ttf → iconfont.1778051786436.ttf} +0 -0
  39. /package/lib/{iconfont.1777795840596.woff → iconfont.1778051786436.woff} +0 -0
  40. /package/lib/{iconfont.1777795840596.woff2 → iconfont.1778051786436.woff2} +0 -0
package/lib/index.umd.js CHANGED
@@ -13128,16 +13128,17 @@ var DynamicApp = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
13128
13128
  },
13129
13129
  methods: {
13130
13130
  renderVN: function renderVN(h) {
13131
+ var $xeDynamicApp = this;
13131
13132
  var VxeUIModalComponent = VxeUI.getComponent('vxe-modal');
13132
13133
  var VxeUIDrawerComponent = VxeUI.getComponent('vxe-drawer');
13133
13134
  var VxeUILoadingComponent = VxeUI.getComponent('vxe-loading');
13134
13135
  var VxeUIWatermarkComponent = VxeUI.getComponent('vxe-watermark');
13135
13136
  var VxeUIContextMenuComponent = VxeUI.getComponent('vxe-context-menu');
13136
- var modals = this.modals,
13137
- drawers = this.drawers,
13138
- globalLoading = this.globalLoading,
13139
- globalWatermark = this.globalWatermark,
13140
- globalContextMenu = this.globalContextMenu;
13137
+ var modals = $xeDynamicApp.modals,
13138
+ drawers = $xeDynamicApp.drawers,
13139
+ globalLoading = $xeDynamicApp.globalLoading,
13140
+ globalWatermark = $xeDynamicApp.globalWatermark,
13141
+ globalContextMenu = $xeDynamicApp.globalContextMenu;
13141
13142
  var cmOns;
13142
13143
  if (globalContextMenu) {
13143
13144
  var events = globalContextMenu.events || {};
@@ -13175,7 +13176,7 @@ var DynamicApp = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
13175
13176
  props: item.props,
13176
13177
  on: item.on
13177
13178
  });
13178
- })) : renderEmptyElement(this), drawers.length ? h('div', {
13179
+ })) : renderEmptyElement($xeDynamicApp), drawers.length ? h('div', {
13179
13180
  key: 2,
13180
13181
  class: 'vxe-dynamics--drawer'
13181
13182
  }, drawers.map(function (item) {
@@ -13184,17 +13185,17 @@ var DynamicApp = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
13184
13185
  props: item.props,
13185
13186
  on: item.on
13186
13187
  });
13187
- })) : renderEmptyElement(this), globalWatermark ? h(VxeUIWatermarkComponent, {
13188
+ })) : renderEmptyElement($xeDynamicApp), globalWatermark ? h(VxeUIWatermarkComponent, {
13188
13189
  key: 'gw',
13189
13190
  props: globalWatermark
13190
- }) : renderEmptyElement(this), globalLoading ? h(VxeUILoadingComponent, {
13191
+ }) : renderEmptyElement($xeDynamicApp), globalLoading ? h(VxeUILoadingComponent, {
13191
13192
  key: 'gl',
13192
13193
  props: globalLoading
13193
- }) : renderEmptyElement(this), globalContextMenu ? h(VxeUIContextMenuComponent, {
13194
+ }) : renderEmptyElement($xeDynamicApp), globalContextMenu ? h(VxeUIContextMenuComponent, {
13194
13195
  key: 'cm',
13195
13196
  props: globalContextMenu,
13196
13197
  on: cmOns
13197
- }) : renderEmptyElement(this)]);
13198
+ }) : renderEmptyElement($xeDynamicApp)]);
13198
13199
  }
13199
13200
  },
13200
13201
  render: function render(h) {
@@ -13213,7 +13214,7 @@ function checkDynamic() {
13213
13214
  }
13214
13215
  ;// ./packages/ui/src/log.ts
13215
13216
 
13216
- var log_version = "ui v".concat("3.14.0");
13217
+ var log_version = "ui v".concat("3.14.2");
13217
13218
  var warnLog = log.create('warn', log_version);
13218
13219
  var errLog = log.create('error', log_version);
13219
13220
  ;// ./packages/ui/index.ts
@@ -13221,7 +13222,7 @@ var errLog = log.create('error', log_version);
13221
13222
 
13222
13223
 
13223
13224
 
13224
- var ui_version = "3.14.0";
13225
+ var ui_version = "3.14.2";
13225
13226
  VxeUI.uiVersion = ui_version;
13226
13227
  VxeUI.dynamicApp = dynamicApp;
13227
13228
  function config(options) {
@@ -40217,6 +40218,10 @@ function image_createReactData() {
40217
40218
  title: [String, Number],
40218
40219
  width: [String, Number],
40219
40220
  height: [String, Number],
40221
+ minWidth: [String, Number],
40222
+ minHeight: [String, Number],
40223
+ maxWidth: [String, Number],
40224
+ maxHeight: [String, Number],
40220
40225
  circle: Boolean,
40221
40226
  draggable: {
40222
40227
  type: Boolean,
@@ -40273,20 +40278,37 @@ function image_createReactData() {
40273
40278
  var props = $xeImage;
40274
40279
  var width = props.width,
40275
40280
  height = props.height,
40281
+ minWidth = props.minWidth,
40282
+ minHeight = props.minHeight,
40283
+ maxWidth = props.maxWidth,
40284
+ maxHeight = props.maxHeight,
40276
40285
  circle = props.circle;
40277
40286
  var stys = {};
40278
- if (width) {
40279
- stys.width = toCssUnit(width);
40280
- } else if (circle) {
40281
- if (height) {
40282
- stys.width = toCssUnit(height);
40283
- }
40287
+ if (minWidth) {
40288
+ stys.minWidth = toCssUnit(minWidth);
40284
40289
  }
40285
- if (height) {
40286
- stys.height = toCssUnit(height);
40287
- } else if (circle) {
40290
+ if (minHeight) {
40291
+ stys.minHeight = toCssUnit(minHeight);
40292
+ }
40293
+ if (maxWidth) {
40294
+ stys.maxWidth = toCssUnit(maxWidth);
40295
+ }
40296
+ if (maxHeight) {
40297
+ stys.maxHeight = toCssUnit(maxHeight);
40298
+ }
40299
+ if (circle) {
40300
+ // 圆形只能生效一个
40288
40301
  if (width) {
40289
40302
  stys.height = toCssUnit(width);
40303
+ } else if (height) {
40304
+ stys.width = toCssUnit(height);
40305
+ }
40306
+ } else {
40307
+ if (width) {
40308
+ stys.width = toCssUnit(width);
40309
+ }
40310
+ if (height) {
40311
+ stys.height = toCssUnit(height);
40290
40312
  }
40291
40313
  }
40292
40314
  return stys;