bi-eleme 2.0.0 → 2.0.1
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/dropdown.js +3 -3
- package/lib/element-ui.common.js +55 -27
- package/lib/index.js +1 -1
- package/lib/menu-item.js +9 -7
- package/lib/pagination.js +1 -0
- package/lib/submenu.js +3 -3
- package/lib/table.js +36 -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.css +1 -1
- package/lib/theme-chalk/date-picker.css +1 -1
- package/lib/theme-chalk/dropdown.css +1 -1
- package/lib/theme-chalk/fonts/bi-icons.ttf +0 -0
- package/lib/theme-chalk/fonts/bi-icons.woff +0 -0
- package/lib/theme-chalk/form.css +1 -1
- package/lib/theme-chalk/icon-bi.css +1 -0
- package/lib/theme-chalk/icon.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/input-number.css +1 -1
- package/lib/theme-chalk/input.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/message-box.css +1 -1
- package/lib/theme-chalk/pagination.css +1 -1
- package/lib/theme-chalk/select.css +1 -1
- package/lib/theme-chalk/slider.css +1 -1
- package/lib/theme-chalk/table.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/tooltip.css +1 -1
- package/lib/theme-chalk/transfer.css +1 -1
- package/package.json +2 -2
- package/packages/dropdown/src/dropdown.vue +2 -2
- package/packages/menu/src/menu-item.vue +1 -1
- package/packages/menu/src/menu-mixin.js +17 -20
- package/packages/pagination/src/pagination.js +1 -0
- package/packages/table/src/table-footer.js +36 -11
- package/packages/theme-chalk/lib/autocomplete.css +1 -1
- package/packages/theme-chalk/lib/base.css +1 -1
- package/packages/theme-chalk/lib/button.css +1 -1
- package/packages/theme-chalk/lib/calendar.css +1 -1
- package/packages/theme-chalk/lib/cascader.css +1 -1
- package/packages/theme-chalk/lib/date-picker.css +1 -1
- package/packages/theme-chalk/lib/dropdown.css +1 -1
- package/packages/theme-chalk/lib/fonts/bi-icons.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/bi-icons.woff +0 -0
- package/packages/theme-chalk/lib/form.css +1 -1
- package/packages/theme-chalk/lib/icon-bi.css +1 -0
- package/packages/theme-chalk/lib/icon.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/input-number.css +1 -1
- package/packages/theme-chalk/lib/input.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/lib/message-box.css +1 -1
- package/packages/theme-chalk/lib/pagination.css +1 -1
- package/packages/theme-chalk/lib/select.css +1 -1
- package/packages/theme-chalk/lib/slider.css +1 -1
- package/packages/theme-chalk/lib/table.css +1 -1
- package/packages/theme-chalk/lib/time-picker.css +1 -1
- package/packages/theme-chalk/lib/time-select.css +1 -1
- package/packages/theme-chalk/lib/tooltip.css +1 -1
- package/packages/theme-chalk/lib/transfer.css +1 -1
- package/packages/theme-chalk/src/base.scss +3 -2
- package/packages/theme-chalk/src/button.scss +7 -6
- package/packages/theme-chalk/src/cascader.scss +1 -0
- package/packages/theme-chalk/src/common/var.scss +1 -1
- package/packages/theme-chalk/src/date-picker/date-range-picker.scss +9 -3
- package/packages/theme-chalk/src/date-picker/picker.scss +3 -3
- package/packages/theme-chalk/src/dropdown.scss +25 -10
- package/packages/theme-chalk/src/fonts/bi-icons.ttf +0 -0
- package/packages/theme-chalk/src/fonts/bi-icons.woff +0 -0
- package/packages/theme-chalk/src/form.scss +6 -1
- package/packages/theme-chalk/src/icon-bi.scss +255 -0
- package/packages/theme-chalk/src/icon.scss +0 -262
- package/packages/theme-chalk/src/input.scss +3 -1
- package/packages/theme-chalk/src/menu.scss +52 -20
- package/packages/theme-chalk/src/pagination.scss +5 -0
- package/packages/theme-chalk/src/select.scss +1 -0
- package/packages/theme-chalk/src/tooltip.scss +18 -17
- package/packages/time-picker/index.js +5 -5
- package/src/index.js +1 -1
package/lib/dropdown.js
CHANGED
|
@@ -538,7 +538,7 @@ var util_ = __webpack_require__(3);
|
|
|
538
538
|
triggerElm = h('el-button-group', [h(
|
|
539
539
|
'el-button',
|
|
540
540
|
{
|
|
541
|
-
attrs: { type: type, size: dropdownSize, disabled: disabled },
|
|
541
|
+
attrs: { type: type, test: '1', size: dropdownSize, disabled: disabled },
|
|
542
542
|
nativeOn: {
|
|
543
543
|
'click': handleMainButtonClick
|
|
544
544
|
}
|
|
@@ -546,8 +546,8 @@ var util_ = __webpack_require__(3);
|
|
|
546
546
|
[this.$slots.default]
|
|
547
547
|
), h(
|
|
548
548
|
'el-button',
|
|
549
|
-
{ ref: 'trigger', attrs: { type: type, size: dropdownSize, disabled: disabled },
|
|
550
|
-
'class': 'el-dropdown__caret-button' },
|
|
549
|
+
{ ref: 'trigger', attrs: { test: '2', type: type, size: dropdownSize, disabled: disabled },
|
|
550
|
+
'class': 'el-dropdown__caret-button ' },
|
|
551
551
|
[h('i', { 'class': 'el-dropdown__icon el-icon-down' })]
|
|
552
552
|
)]);
|
|
553
553
|
} else {
|
package/lib/element-ui.common.js
CHANGED
|
@@ -956,6 +956,7 @@ var util_ = __webpack_require__(2);
|
|
|
956
956
|
value: this.$parent.internalPageSize,
|
|
957
957
|
popperClass: this.$parent.popperClass || '',
|
|
958
958
|
size: 'mini',
|
|
959
|
+
clearable: false,
|
|
959
960
|
|
|
960
961
|
disabled: this.$parent.disabled
|
|
961
962
|
},
|
|
@@ -2560,7 +2561,7 @@ var button_group_default = /*#__PURE__*/__webpack_require__.n(button_group_);
|
|
|
2560
2561
|
triggerElm = h('el-button-group', [h(
|
|
2561
2562
|
'el-button',
|
|
2562
2563
|
{
|
|
2563
|
-
attrs: { type: type, size: dropdownSize, disabled: disabled },
|
|
2564
|
+
attrs: { type: type, test: '1', size: dropdownSize, disabled: disabled },
|
|
2564
2565
|
nativeOn: {
|
|
2565
2566
|
'click': handleMainButtonClick
|
|
2566
2567
|
}
|
|
@@ -2568,8 +2569,8 @@ var button_group_default = /*#__PURE__*/__webpack_require__.n(button_group_);
|
|
|
2568
2569
|
[this.$slots.default]
|
|
2569
2570
|
), h(
|
|
2570
2571
|
'el-button',
|
|
2571
|
-
{ ref: 'trigger', attrs: { type: type, size: dropdownSize, disabled: disabled },
|
|
2572
|
-
'class': 'el-dropdown__caret-button' },
|
|
2572
|
+
{ ref: 'trigger', attrs: { test: '2', type: type, size: dropdownSize, disabled: disabled },
|
|
2573
|
+
'class': 'el-dropdown__caret-button ' },
|
|
2573
2574
|
[h('i', { 'class': 'el-dropdown__icon el-icon-down' })]
|
|
2574
2575
|
)]);
|
|
2575
2576
|
} else {
|
|
@@ -3524,15 +3525,15 @@ var collapse_transition_default = /*#__PURE__*/__webpack_require__.n(collapse_tr
|
|
|
3524
3525
|
paddingStyle: function paddingStyle() {
|
|
3525
3526
|
if (this.rootMenu.mode !== 'vertical') return {};
|
|
3526
3527
|
|
|
3527
|
-
var padding =
|
|
3528
|
+
var padding = 14;
|
|
3528
3529
|
var parent = this.$parent;
|
|
3529
3530
|
|
|
3530
3531
|
if (this.rootMenu.collapse) {
|
|
3531
|
-
padding =
|
|
3532
|
+
padding = 14;
|
|
3532
3533
|
} else {
|
|
3533
3534
|
while (parent && parent.$options.componentName !== 'ElMenu') {
|
|
3534
3535
|
if (parent.$options.componentName === 'ElSubmenu') {
|
|
3535
|
-
padding +=
|
|
3536
|
+
padding += 28;
|
|
3536
3537
|
}
|
|
3537
3538
|
parent = parent.$parent;
|
|
3538
3539
|
}
|
|
@@ -3933,8 +3934,8 @@ submenu.install = function (Vue) {
|
|
|
3933
3934
|
};
|
|
3934
3935
|
|
|
3935
3936
|
/* harmony default export */ var packages_submenu = (submenu);
|
|
3936
|
-
// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.0@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.0@vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item.vue?vue&type=template&id=
|
|
3937
|
-
var
|
|
3937
|
+
// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.0@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.0@vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item.vue?vue&type=template&id=727ffca8&
|
|
3938
|
+
var menu_itemvue_type_template_id_727ffca8_render = function () {
|
|
3938
3939
|
var _vm = this
|
|
3939
3940
|
var _h = _vm.$createElement
|
|
3940
3941
|
var _c = _vm._self._c || _h
|
|
@@ -3980,9 +3981,11 @@ var menu_itemvue_type_template_id_eef3478e_render = function () {
|
|
|
3980
3981
|
top: "0",
|
|
3981
3982
|
height: "100%",
|
|
3982
3983
|
width: "100%",
|
|
3983
|
-
display: "inline-
|
|
3984
|
+
display: "inline-flex",
|
|
3984
3985
|
"box-sizing": "border-box",
|
|
3985
|
-
padding: "
|
|
3986
|
+
padding: "14px",
|
|
3987
|
+
"align-items": "center",
|
|
3988
|
+
"justify-content": "center",
|
|
3986
3989
|
},
|
|
3987
3990
|
},
|
|
3988
3991
|
[_vm._t("default")],
|
|
@@ -3994,11 +3997,11 @@ var menu_itemvue_type_template_id_eef3478e_render = function () {
|
|
|
3994
3997
|
2
|
|
3995
3998
|
)
|
|
3996
3999
|
}
|
|
3997
|
-
var
|
|
3998
|
-
|
|
4000
|
+
var menu_itemvue_type_template_id_727ffca8_staticRenderFns = []
|
|
4001
|
+
menu_itemvue_type_template_id_727ffca8_render._withStripped = true
|
|
3999
4002
|
|
|
4000
4003
|
|
|
4001
|
-
// CONCATENATED MODULE: ./packages/menu/src/menu-item.vue?vue&type=template&id=
|
|
4004
|
+
// CONCATENATED MODULE: ./packages/menu/src/menu-item.vue?vue&type=template&id=727ffca8&
|
|
4002
4005
|
|
|
4003
4006
|
// EXTERNAL MODULE: external "bi-eleme/lib/tooltip"
|
|
4004
4007
|
var tooltip_ = __webpack_require__(26);
|
|
@@ -4132,8 +4135,8 @@ var tooltip_default = /*#__PURE__*/__webpack_require__.n(tooltip_);
|
|
|
4132
4135
|
|
|
4133
4136
|
var menu_item_component = normalizeComponent(
|
|
4134
4137
|
src_menu_itemvue_type_script_lang_js_,
|
|
4135
|
-
|
|
4136
|
-
|
|
4138
|
+
menu_itemvue_type_template_id_727ffca8_render,
|
|
4139
|
+
menu_itemvue_type_template_id_727ffca8_staticRenderFns,
|
|
4137
4140
|
false,
|
|
4138
4141
|
null,
|
|
4139
4142
|
null,
|
|
@@ -13705,16 +13708,23 @@ var table_footer_extends = Object.assign || function (target) { for (var i = 1;
|
|
|
13705
13708
|
}
|
|
13706
13709
|
});
|
|
13707
13710
|
}
|
|
13708
|
-
console.log('sums:', sums);
|
|
13709
13711
|
if (sums instanceof Array) {
|
|
13710
13712
|
return h(
|
|
13711
13713
|
'table',
|
|
13712
|
-
{
|
|
13714
|
+
{
|
|
13715
|
+
'class': 'el-table__footer',
|
|
13716
|
+
attrs: { cellspacing: '0',
|
|
13717
|
+
cellpadding: '0',
|
|
13718
|
+
border: '0'
|
|
13719
|
+
}
|
|
13713
13720
|
},
|
|
13714
13721
|
[h('colgroup', [this.columns.map(function (column) {
|
|
13715
13722
|
return h('col', {
|
|
13716
|
-
attrs: {
|
|
13717
|
-
|
|
13723
|
+
attrs: {
|
|
13724
|
+
name: column.id
|
|
13725
|
+
},
|
|
13726
|
+
key: column.id
|
|
13727
|
+
});
|
|
13718
13728
|
}), this.hasGutter ? h('col', {
|
|
13719
13729
|
attrs: { name: 'gutter' }
|
|
13720
13730
|
}) : '']), h(
|
|
@@ -13723,8 +13733,13 @@ var table_footer_extends = Object.assign || function (target) { for (var i = 1;
|
|
|
13723
13733
|
[h('tr', [this.columns.map(function (column, cellIndex) {
|
|
13724
13734
|
return h(
|
|
13725
13735
|
'td',
|
|
13726
|
-
{
|
|
13727
|
-
|
|
13736
|
+
{
|
|
13737
|
+
key: cellIndex,
|
|
13738
|
+
attrs: { colspan: column.colSpan,
|
|
13739
|
+
rowspan: column.rowSpan
|
|
13740
|
+
},
|
|
13741
|
+
'class': [].concat(_this.getRowClasses(column, cellIndex), ['el-table__cell'])
|
|
13742
|
+
},
|
|
13728
13743
|
[h(
|
|
13729
13744
|
'div',
|
|
13730
13745
|
{ 'class': ['cell', column.labelClassName] },
|
|
@@ -13737,12 +13752,20 @@ var table_footer_extends = Object.assign || function (target) { for (var i = 1;
|
|
|
13737
13752
|
} else {
|
|
13738
13753
|
return h(
|
|
13739
13754
|
'table',
|
|
13740
|
-
{
|
|
13755
|
+
{
|
|
13756
|
+
'class': 'el-table__footer',
|
|
13757
|
+
attrs: { cellspacing: '0',
|
|
13758
|
+
cellpadding: '0',
|
|
13759
|
+
border: '0'
|
|
13760
|
+
}
|
|
13741
13761
|
},
|
|
13742
13762
|
[h('colgroup', [this.columns.map(function (column) {
|
|
13743
13763
|
return h('col', {
|
|
13744
|
-
attrs: {
|
|
13745
|
-
|
|
13764
|
+
attrs: {
|
|
13765
|
+
name: column.id
|
|
13766
|
+
},
|
|
13767
|
+
key: column.id
|
|
13768
|
+
});
|
|
13746
13769
|
}), this.hasGutter ? h('col', {
|
|
13747
13770
|
attrs: { name: 'gutter' }
|
|
13748
13771
|
}) : '']), h(
|
|
@@ -13751,8 +13774,13 @@ var table_footer_extends = Object.assign || function (target) { for (var i = 1;
|
|
|
13751
13774
|
[h('tr', [this.columns.map(function (column, cellIndex) {
|
|
13752
13775
|
return h(
|
|
13753
13776
|
'td',
|
|
13754
|
-
{
|
|
13755
|
-
|
|
13777
|
+
{
|
|
13778
|
+
key: cellIndex,
|
|
13779
|
+
attrs: { colspan: column.colSpan,
|
|
13780
|
+
rowspan: column.rowSpan
|
|
13781
|
+
},
|
|
13782
|
+
'class': [].concat(_this.getRowClasses(column, cellIndex), ['el-table__cell'])
|
|
13783
|
+
},
|
|
13756
13784
|
[h(
|
|
13757
13785
|
'div',
|
|
13758
13786
|
{ 'class': ['cell', column.labelClassName] },
|
|
@@ -44334,7 +44362,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
44334
44362
|
}
|
|
44335
44363
|
|
|
44336
44364
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
44337
|
-
version: '2.0.
|
|
44365
|
+
version: '2.0.1',
|
|
44338
44366
|
locale: lib_locale_default.a.use,
|
|
44339
44367
|
i18n: lib_locale_default.a.i18n,
|
|
44340
44368
|
install: src_install,
|