iov-design 2.15.27 → 2.15.29
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.
- package/lib/cascader.js +1 -2
- package/lib/empty.js +2 -9
- package/lib/index.js +1 -1
- package/lib/input.js +10 -7
- package/lib/iov-design.common.js +20 -31
- package/lib/select.js +1 -1
- package/lib/table.js +5 -11
- package/lib/theme-chalk/autocomplete.css +1 -1
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/button.css +1 -1
- package/lib/theme-chalk/calendar.css +1 -1
- package/lib/theme-chalk/cascader-panel.css +1 -1
- package/lib/theme-chalk/cascader.css +1 -1
- package/lib/theme-chalk/date-picker.css +1 -1
- package/lib/theme-chalk/dropdown.css +1 -1
- package/lib/theme-chalk/form.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/iovfont.css +1 -1
- package/lib/theme-chalk/message-box.css +1 -1
- package/lib/theme-chalk/pagination.css +1 -1
- package/lib/theme-chalk/popover.css +1 -1
- package/lib/theme-chalk/popper.css +1 -1
- package/lib/theme-chalk/radio.css +1 -1
- package/lib/theme-chalk/select-dropdown.css +1 -1
- package/lib/theme-chalk/select.css +1 -1
- package/lib/theme-chalk/table-column.css +1 -1
- package/lib/theme-chalk/table.css +1 -1
- package/lib/theme-chalk/tag.css +1 -1
- package/lib/theme-chalk/time-picker.css +1 -1
- package/lib/theme-chalk/time-select.css +1 -1
- package/lib/theme-chalk/transfer.css +1 -1
- package/package.json +1 -1
- package/packages/cascader/src/cascader.vue +1 -2
- package/packages/empty/src/index.vue +2 -7
- package/packages/input/src/input.vue +1 -1
- package/packages/select/src/select.vue +1 -1
- package/packages/table/src/table.vue +3 -10
- package/packages/theme-chalk/src/button.scss +1 -0
- package/packages/theme-chalk/src/cascader.scss +4 -3
- package/packages/theme-chalk/src/form.scss +5 -2
- package/packages/theme-chalk/src/iovfont.scss +7 -3
- package/packages/theme-chalk/src/popper.scss +59 -58
- package/packages/theme-chalk/src/radio.scss +1 -1
- package/packages/theme-chalk/src/select.scss +4 -0
- package/packages/theme-chalk/src/tag.scss +24 -12
- 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 =
|
|
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&
|