iov-design 2.15.27 → 2.15.28

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 (36) hide show
  1. package/lib/cascader.js +1 -2
  2. package/lib/empty.js +2 -9
  3. package/lib/index.js +1 -1
  4. package/lib/input.js +10 -7
  5. package/lib/iov-design.common.js +19 -30
  6. package/lib/table.js +5 -11
  7. package/lib/theme-chalk/base.css +1 -1
  8. package/lib/theme-chalk/button.css +1 -1
  9. package/lib/theme-chalk/calendar.css +1 -1
  10. package/lib/theme-chalk/cascader-panel.css +1 -1
  11. package/lib/theme-chalk/cascader.css +1 -1
  12. package/lib/theme-chalk/dropdown.css +1 -1
  13. package/lib/theme-chalk/form.css +1 -1
  14. package/lib/theme-chalk/index.css +1 -1
  15. package/lib/theme-chalk/iovfont.css +1 -1
  16. package/lib/theme-chalk/message-box.css +1 -1
  17. package/lib/theme-chalk/pagination.css +1 -1
  18. package/lib/theme-chalk/radio.css +1 -1
  19. package/lib/theme-chalk/select.css +1 -1
  20. package/lib/theme-chalk/table-column.css +1 -1
  21. package/lib/theme-chalk/table.css +1 -1
  22. package/lib/theme-chalk/tag.css +1 -1
  23. package/lib/theme-chalk/transfer.css +1 -1
  24. package/package.json +1 -1
  25. package/packages/cascader/src/cascader.vue +1 -2
  26. package/packages/empty/src/index.vue +2 -7
  27. package/packages/input/src/input.vue +1 -1
  28. package/packages/table/src/table.vue +3 -10
  29. package/packages/theme-chalk/src/button.scss +1 -0
  30. package/packages/theme-chalk/src/cascader.scss +4 -3
  31. package/packages/theme-chalk/src/form.scss +5 -2
  32. package/packages/theme-chalk/src/iovfont.scss +3 -3
  33. package/packages/theme-chalk/src/radio.scss +1 -1
  34. package/packages/theme-chalk/src/select.scss +4 -0
  35. package/packages/theme-chalk/src/tag.scss +24 -12
  36. package/src/index.js +1 -1
package/lib/cascader.js CHANGED
@@ -1387,7 +1387,6 @@ var InputSizeMap = {
1387
1387
 
1388
1388
  var tags = $el.querySelector('.el-cascader__tags');
1389
1389
  var groupPrefix = $el.querySelector('.el-input-group--prefix');
1390
- var prefix = $el.querySelector('.el-input__prefix');
1391
1390
  var prefixLabel = $el.querySelector('.el-input-group__prefix-label');
1392
1391
  var suggestionPanelEl = null;
1393
1392
 
@@ -1399,7 +1398,7 @@ var InputSizeMap = {
1399
1398
  if (tags) {
1400
1399
  var offsetHeight = Math.round(tags.getBoundingClientRect().height);
1401
1400
  var height = Math.max(offsetHeight + 4, inputInitialHeight) + 'px';
1402
- var inputPaddingLeft = groupPrefix || prefix ? Math.round(window.getComputedStyle(inputInner).paddingLeft.replace(/px/, '')) : 0;
1401
+ var inputPaddingLeft = Math.round(window.getComputedStyle(inputInner).paddingLeft.replace(/px/, '')) || 0;
1403
1402
  var prefixLabelWidth = prefixLabel && Math.round(prefixLabel.getBoundingClientRect().width) || 0;
1404
1403
  if (groupPrefix) {
1405
1404
  groupPrefix.style.height = height;
package/lib/empty.js CHANGED
@@ -214,13 +214,11 @@ var render = function() {
214
214
  [
215
215
  _vm.image
216
216
  ? _c("img", {
217
- attrs: { src: _vm.image, ondragstart: "return false" },
218
- on: { load: _vm.onLoad }
217
+ attrs: { src: _vm.image, ondragstart: "return false" }
219
218
  })
220
219
  : _vm._t("image", [
221
220
  _c("img", {
222
- attrs: { src: _vm.img, ondragstart: "return false" },
223
- on: { load: _vm.onLoad }
221
+ attrs: { src: _vm.img, ondragstart: "return false" }
224
222
  })
225
223
  ])
226
224
  ],
@@ -316,11 +314,6 @@ var IMG = {
316
314
  img: function img() {
317
315
  return IMG[this.type];
318
316
  }
319
- },
320
- methods: {
321
- onLoad: function onLoad() {
322
- this.$emit('loaded');
323
- }
324
317
  }
325
318
  });
326
319
  // CONCATENATED MODULE: ./packages/empty/src/index.vue?vue&type=script&lang=js&