bi-eleme 1.0.11 → 2.0.0
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/README.md +23 -10
- package/lib/breadcrumb.js +7 -3
- package/lib/button.js +3 -2
- package/lib/cascader-panel.js +31 -9
- package/lib/cascader.js +16 -4
- package/lib/collapse-item.js +3 -3
- package/lib/date-picker.js +128 -93
- package/lib/drawer.js +31 -2
- package/lib/dropdown.js +1 -1
- package/lib/element-ui.common.js +626 -377
- package/lib/empty.js +11 -4
- package/lib/index.js +1 -1
- package/lib/input-number.js +4 -5
- package/lib/input.js +9 -6
- package/lib/link.js +14 -4
- package/lib/locale/lang/zh-CN.js +1 -1
- package/lib/page-header.js +3 -3
- package/lib/pagination.js +38 -8
- package/lib/popconfirm.js +4 -4
- package/lib/select.js +4 -4
- package/lib/submenu.js +1 -1
- package/lib/switch.js +14 -11
- package/lib/table-column.js +18 -6
- package/lib/table.js +43 -21
- package/lib/tabs.js +7 -5
- package/lib/tag.js +1 -1
- package/lib/theme-chalk/alert.css +1 -1
- package/lib/theme-chalk/autocomplete.css +1 -1
- package/lib/theme-chalk/backtop.css +1 -1
- package/lib/theme-chalk/badge.css +1 -1
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/breadcrumb.css +1 -1
- package/lib/theme-chalk/button.css +1 -1
- package/lib/theme-chalk/calendar.css +1 -1
- package/lib/theme-chalk/card.css +1 -1
- package/lib/theme-chalk/carousel.css +1 -1
- package/lib/theme-chalk/cascader-panel.css +1 -1
- package/lib/theme-chalk/cascader.css +1 -1
- package/lib/theme-chalk/checkbox.css +1 -1
- package/lib/theme-chalk/collapse.css +1 -1
- package/lib/theme-chalk/color-picker.css +1 -1
- package/lib/theme-chalk/date-picker.css +1 -1
- package/lib/theme-chalk/descriptions-item.css +1 -1
- package/lib/theme-chalk/descriptions.css +1 -1
- package/lib/theme-chalk/dialog.css +1 -1
- package/lib/theme-chalk/divider.css +1 -1
- package/lib/theme-chalk/drawer.css +1 -1
- package/lib/theme-chalk/dropdown.css +1 -1
- package/lib/theme-chalk/empty.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.css +1 -1
- package/lib/theme-chalk/image.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/link.css +1 -1
- package/lib/theme-chalk/loading.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/message-box.css +1 -1
- package/lib/theme-chalk/message.css +1 -1
- package/lib/theme-chalk/notification.css +1 -1
- package/lib/theme-chalk/option-group.css +1 -1
- package/lib/theme-chalk/option.css +1 -1
- package/lib/theme-chalk/page-header.css +1 -1
- package/lib/theme-chalk/pagination.css +1 -1
- package/lib/theme-chalk/popconfirm.css +1 -1
- package/lib/theme-chalk/popover.css +1 -1
- package/lib/theme-chalk/popper.css +1 -1
- package/lib/theme-chalk/progress.css +1 -1
- package/lib/theme-chalk/radio-button.css +1 -1
- package/lib/theme-chalk/radio.css +1 -1
- package/lib/theme-chalk/rate.css +1 -1
- package/lib/theme-chalk/reset.css +1 -1
- package/lib/theme-chalk/result.css +1 -1
- package/lib/theme-chalk/scrollbar.css +1 -1
- package/lib/theme-chalk/select-dropdown.css +1 -1
- package/lib/theme-chalk/select.css +1 -1
- package/lib/theme-chalk/slider.css +1 -1
- package/lib/theme-chalk/step.css +1 -1
- package/lib/theme-chalk/steps.css +1 -1
- package/lib/theme-chalk/switch.css +1 -1
- package/lib/theme-chalk/table-column.css +1 -1
- package/lib/theme-chalk/table.css +1 -1
- package/lib/theme-chalk/tabs.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/timeline-item.css +1 -1
- package/lib/theme-chalk/tooltip.css +1 -1
- package/lib/theme-chalk/transfer.css +1 -1
- package/lib/theme-chalk/tree.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/time-picker.js +96 -56
- package/lib/time-select.js +35 -26
- package/lib/transfer.js +55 -17
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/upload.js +6 -6
- package/lib/utils/util.js +33 -0
- package/package.json +1 -1
- package/packages/breadcrumb/src/breadcrumb.vue +27 -23
- package/packages/button/src/button.vue +1 -0
- package/packages/cascader/src/cascader.vue +5 -2
- package/packages/cascader-panel/src/cascader-menu.vue +4 -4
- package/packages/cascader-panel/src/cascader-node.vue +14 -4
- package/packages/cascader-panel/src/cascader-panel.vue +11 -2
- package/packages/collapse/src/collapse-item.vue +1 -1
- package/packages/date-picker/src/panel/date-range.vue +9 -9
- package/packages/date-picker/src/panel/date.vue +19 -17
- package/packages/date-picker/src/panel/month-range.vue +4 -4
- package/packages/date-picker/src/panel/time-range.vue +8 -6
- package/packages/date-picker/src/panel/time-select.vue +11 -8
- package/packages/date-picker/src/panel/time.vue +20 -5
- package/packages/date-picker/src/picker.vue +2 -2
- package/packages/drawer/src/main.vue +14 -0
- package/packages/dropdown/src/dropdown.vue +1 -1
- package/packages/empty/src/index.vue +3 -2
- package/packages/input/src/input.vue +4 -3
- package/packages/input-number/src/input-number.vue +2 -2
- package/packages/link/src/main.vue +17 -7
- package/packages/menu/src/submenu.vue +1 -1
- package/packages/page-header/src/main.vue +1 -1
- package/packages/pagination/src/pagination.js +49 -12
- package/packages/popconfirm/src/main.vue +2 -2
- package/packages/select/src/select.vue +2 -2
- package/packages/switch/src/component.vue +5 -9
- package/packages/table/src/config.js +25 -7
- package/packages/table/src/filter-panel.vue +15 -3
- package/packages/tabs/src/tab-nav.vue +2 -2
- package/packages/tabs/src/tabs.vue +154 -163
- package/packages/tag/src/tag.vue +1 -1
- package/packages/theme-chalk/lib/alert.css +1 -1
- package/packages/theme-chalk/lib/autocomplete.css +1 -1
- package/packages/theme-chalk/lib/backtop.css +1 -1
- package/packages/theme-chalk/lib/badge.css +1 -1
- package/packages/theme-chalk/lib/base.css +1 -1
- package/packages/theme-chalk/lib/breadcrumb.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/card.css +1 -1
- package/packages/theme-chalk/lib/carousel.css +1 -1
- package/packages/theme-chalk/lib/cascader-panel.css +1 -1
- package/packages/theme-chalk/lib/cascader.css +1 -1
- package/packages/theme-chalk/lib/checkbox.css +1 -1
- package/packages/theme-chalk/lib/collapse.css +1 -1
- package/packages/theme-chalk/lib/color-picker.css +1 -1
- package/packages/theme-chalk/lib/date-picker.css +1 -1
- package/packages/theme-chalk/lib/descriptions-item.css +1 -1
- package/packages/theme-chalk/lib/descriptions.css +1 -1
- package/packages/theme-chalk/lib/dialog.css +1 -1
- package/packages/theme-chalk/lib/divider.css +1 -1
- package/packages/theme-chalk/lib/drawer.css +1 -1
- package/packages/theme-chalk/lib/dropdown.css +1 -1
- package/packages/theme-chalk/lib/empty.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.css +1 -1
- package/packages/theme-chalk/lib/image.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/link.css +1 -1
- package/packages/theme-chalk/lib/loading.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/message.css +1 -1
- package/packages/theme-chalk/lib/notification.css +1 -1
- package/packages/theme-chalk/lib/option-group.css +1 -1
- package/packages/theme-chalk/lib/option.css +1 -1
- package/packages/theme-chalk/lib/page-header.css +1 -1
- package/packages/theme-chalk/lib/pagination.css +1 -1
- package/packages/theme-chalk/lib/popconfirm.css +1 -1
- package/packages/theme-chalk/lib/popover.css +1 -1
- package/packages/theme-chalk/lib/popper.css +1 -1
- package/packages/theme-chalk/lib/progress.css +1 -1
- package/packages/theme-chalk/lib/radio-button.css +1 -1
- package/packages/theme-chalk/lib/radio.css +1 -1
- package/packages/theme-chalk/lib/rate.css +1 -1
- package/packages/theme-chalk/lib/reset.css +1 -1
- package/packages/theme-chalk/lib/result.css +1 -1
- package/packages/theme-chalk/lib/scrollbar.css +1 -1
- package/packages/theme-chalk/lib/select-dropdown.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/step.css +1 -1
- package/packages/theme-chalk/lib/steps.css +1 -1
- package/packages/theme-chalk/lib/switch.css +1 -1
- package/packages/theme-chalk/lib/table-column.css +1 -1
- package/packages/theme-chalk/lib/table.css +1 -1
- package/packages/theme-chalk/lib/tabs.css +1 -1
- package/packages/theme-chalk/lib/tag.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/timeline-item.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/lib/tree.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/alert.scss +19 -5
- package/packages/theme-chalk/src/autocomplete.scss +10 -8
- package/packages/theme-chalk/src/breadcrumb.scss +19 -10
- package/packages/theme-chalk/src/button.scss +7 -6
- package/packages/theme-chalk/src/cascader-panel.scss +48 -15
- package/packages/theme-chalk/src/cascader.scss +19 -12
- package/packages/theme-chalk/src/checkbox.scss +48 -30
- package/packages/theme-chalk/src/collapse.scss +8 -6
- package/packages/theme-chalk/src/common/var.scss +109 -101
- package/packages/theme-chalk/src/date-picker/date-picker.scss +17 -9
- package/packages/theme-chalk/src/date-picker/date-range-picker.scss +4 -5
- package/packages/theme-chalk/src/date-picker/date-table.scss +10 -7
- package/packages/theme-chalk/src/date-picker/month-table.scss +26 -12
- package/packages/theme-chalk/src/date-picker/picker-panel.scss +22 -12
- package/packages/theme-chalk/src/date-picker/picker.scss +1 -0
- package/packages/theme-chalk/src/date-picker/time-picker.scss +27 -18
- package/packages/theme-chalk/src/date-picker/time-spinner.scss +5 -4
- package/packages/theme-chalk/src/date-picker/year-table.scss +22 -7
- package/packages/theme-chalk/src/dialog.scss +7 -5
- package/packages/theme-chalk/src/drawer.scss +18 -4
- package/packages/theme-chalk/src/dropdown.scss +16 -8
- 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 +8 -7
- package/packages/theme-chalk/src/icon.scss +556 -285
- package/packages/theme-chalk/src/input-number.scss +22 -19
- package/packages/theme-chalk/src/input.scss +7 -2
- package/packages/theme-chalk/src/link.scss +22 -23
- package/packages/theme-chalk/src/loading.scss +3 -3
- package/packages/theme-chalk/src/menu.scss +71 -26
- package/packages/theme-chalk/src/message-box.scss +19 -21
- package/packages/theme-chalk/src/mixins/_button.scss +2 -2
- package/packages/theme-chalk/src/option.scss +8 -5
- package/packages/theme-chalk/src/page-header.scss +13 -6
- package/packages/theme-chalk/src/pagination.scss +17 -14
- package/packages/theme-chalk/src/popconfirm.scss +9 -4
- package/packages/theme-chalk/src/popover.scss +14 -9
- package/packages/theme-chalk/src/popper.scss +18 -18
- package/packages/theme-chalk/src/radio.scss +10 -13
- package/packages/theme-chalk/src/result.scss +2 -0
- package/packages/theme-chalk/src/select-dropdown.scss +14 -3
- package/packages/theme-chalk/src/select.scss +16 -6
- package/packages/theme-chalk/src/switch.scss +23 -6
- package/packages/theme-chalk/src/table-column.scss +15 -17
- package/packages/theme-chalk/src/table.scss +35 -16
- package/packages/theme-chalk/src/tabs.scss +63 -53
- package/packages/theme-chalk/src/time-select.scss +10 -7
- package/packages/theme-chalk/src/transfer.scss +51 -19
- package/packages/theme-chalk/src/upload.scss +48 -30
- package/packages/transfer/src/main.vue +6 -4
- package/packages/transfer/src/transfer-panel.vue +15 -4
- package/packages/upload/src/upload-list.vue +1 -1
- package/src/index.js +1 -1
- package/src/locale/lang/zh-CN.js +1 -1
- package/src/utils/util.js +25 -0
package/README.md
CHANGED
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
<img src="http://img.shields.io/npm/dm/element-ui.svg">
|
|
20
20
|
</a>
|
|
21
21
|
<br>
|
|
22
|
-
<a href="http://img.badgesize.io/https://unpkg.com/
|
|
23
|
-
<img src="http://img.badgesize.io/https://unpkg.com/
|
|
22
|
+
<a href="http://img.badgesize.io/https://unpkg.com/bi-eleme/lib/index.js?compression=gzip&label=gzip%20size:%20JS">
|
|
23
|
+
<img src="http://img.badgesize.io/https://unpkg.com/bi-eleme/lib/index.js?compression=gzip&label=gzip%20size:%20JS">
|
|
24
24
|
</a>
|
|
25
|
-
<a href="http://img.badgesize.io/https://unpkg.com/
|
|
26
|
-
<img src="http://img.badgesize.io/https://unpkg.com/
|
|
25
|
+
<a href="http://img.badgesize.io/https://unpkg.com/bi-eleme/lib/theme-chalk/index.css?compression=gzip&label=gzip%20size:%20CSS">
|
|
26
|
+
<img src="http://img.badgesize.io/https://unpkg.com/bi-eleme/lib/theme-chalk/index.css?compression=gzip&label=gzip%20size:%20CSS">
|
|
27
27
|
</a>
|
|
28
28
|
<a href="#backers">
|
|
29
29
|
<img src="https://opencollective.com/element/backers/badge.svg">
|
|
@@ -38,11 +38,12 @@
|
|
|
38
38
|
|
|
39
39
|
> A Vue.js 2.0 UI Toolkit for Web.
|
|
40
40
|
|
|
41
|
-
Element will stay with Vue 2.x
|
|
41
|
+
Element will stay with Vue 2.x
|
|
42
42
|
|
|
43
43
|
For Vue 3.0, we recommend using [Element Plus](https://github.com/element-plus/element-plus) from the same team (Element Plus is a community develop project)
|
|
44
44
|
|
|
45
45
|
## Links
|
|
46
|
+
|
|
46
47
|
- Homepage and documentation
|
|
47
48
|
- [International users](http://element.eleme.io/#/en-US)
|
|
48
49
|
- [Chinese users](http://element-cn.eleme.io/#/zh-CN)
|
|
@@ -66,14 +67,16 @@ For Vue 3.0, we recommend using [Element Plus](https://github.com/element-plus/e
|
|
|
66
67
|
- [Chinese users](https://gitter.im/ElemeFE/element)
|
|
67
68
|
|
|
68
69
|
## Install
|
|
70
|
+
|
|
69
71
|
```shell
|
|
70
|
-
npm install
|
|
72
|
+
npm install bi-eleme -S
|
|
71
73
|
```
|
|
72
74
|
|
|
73
75
|
## Quick Start
|
|
74
|
-
|
|
76
|
+
|
|
77
|
+
```javascript
|
|
75
78
|
import Vue from 'vue'
|
|
76
|
-
import Element from '
|
|
79
|
+
import Element from 'bi-eleme'
|
|
77
80
|
|
|
78
81
|
Vue.use(Element)
|
|
79
82
|
|
|
@@ -82,32 +85,40 @@ import {
|
|
|
82
85
|
Select,
|
|
83
86
|
Button
|
|
84
87
|
// ...
|
|
85
|
-
} from '
|
|
88
|
+
} from 'bi-eleme'
|
|
86
89
|
|
|
87
90
|
Vue.component(Select.name, Select)
|
|
88
91
|
Vue.component(Button.name, Button)
|
|
89
92
|
```
|
|
93
|
+
|
|
90
94
|
For more information, please refer to [Quick Start](http://element.eleme.io/#/en-US/component/quickstart) in our documentation.
|
|
91
95
|
|
|
92
96
|
## Browser Support
|
|
97
|
+
|
|
93
98
|
Modern browsers and Internet Explorer 10+.
|
|
94
99
|
|
|
95
100
|
## Development
|
|
101
|
+
|
|
96
102
|
Skip this part if you just want to use Element.
|
|
97
103
|
|
|
98
104
|
For those who are interested in contributing to Element, please refer to our contributing guide ([中文](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.zh-CN.md) | [English](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.en-US.md) | [Español](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.es.md) | [Français](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.fr-FR.md)) to see how to run this project.
|
|
99
105
|
|
|
100
106
|
## Changelog
|
|
107
|
+
|
|
101
108
|
Detailed changes for each release are documented in the [release notes](https://github.com/ElemeFE/element/releases).
|
|
102
109
|
|
|
103
110
|
## FAQ
|
|
111
|
+
|
|
104
112
|
We have collected some [frequently asked questions](https://github.com/ElemeFE/element/blob/master/FAQ.md). Before reporting an issue, please search if the FAQ has the answer to your problem.
|
|
105
113
|
|
|
106
114
|
## Contribution
|
|
115
|
+
|
|
107
116
|
Please make sure to read the contributing guide ([中文](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.zh-CN.md) | [English](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.en-US.md) | [Español](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.es.md) | [Français](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.fr-FR.md)) before making a pull request.
|
|
108
117
|
|
|
109
118
|
## Special Thanks
|
|
119
|
+
|
|
110
120
|
English documentation is brought to you by SwiftGG Translation Team:
|
|
121
|
+
|
|
111
122
|
- [raychenfj](https://github.com/raychenfj)
|
|
112
123
|
- [kevin](http://thekevin.cn/)
|
|
113
124
|
- [曾小涛](https://github.com/zengxiaotao)
|
|
@@ -120,6 +131,7 @@ English documentation is brought to you by SwiftGG Translation Team:
|
|
|
120
131
|
- [mmoaay](https://github.com/mmoaay)
|
|
121
132
|
|
|
122
133
|
Spanish documentation is made possible by these community developers:
|
|
134
|
+
|
|
123
135
|
- [adavie1](https://github.com/adavie1)
|
|
124
136
|
- [carmencitaqiu](https://github.com/carmencitaqiu)
|
|
125
137
|
- [coderdiaz](https://github.com/coderdiaz)
|
|
@@ -132,6 +144,7 @@ Spanish documentation is made possible by these community developers:
|
|
|
132
144
|
- [thechosenjuan](https://github.com/thechosenjuan)
|
|
133
145
|
|
|
134
146
|
French documentation is made possible by these community developers:
|
|
147
|
+
|
|
135
148
|
- [smalesys](https://github.com/smalesys)
|
|
136
149
|
- [blombard](https://github.com/blombard)
|
|
137
150
|
|
|
@@ -141,6 +154,6 @@ Scan the QR code using [Dingtalk App](https://www.dingtalk.com/) to join in disc
|
|
|
141
154
|
|
|
142
155
|
<img alt="Join Discusion Group" src="https://user-images.githubusercontent.com/17680888/93177882-0ae92d80-f766-11ea-870d-3fa2d7f06454.png" width="300">
|
|
143
156
|
|
|
144
|
-
|
|
145
157
|
## LICENSE
|
|
158
|
+
|
|
146
159
|
[MIT](LICENSE)
|
package/lib/breadcrumb.js
CHANGED
|
@@ -199,7 +199,7 @@ function normalizeComponent(
|
|
|
199
199
|
// ESM COMPAT FLAG
|
|
200
200
|
__webpack_require__.r(__webpack_exports__);
|
|
201
201
|
|
|
202
|
-
// 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/breadcrumb/src/breadcrumb.vue?vue&type=template&id=
|
|
202
|
+
// 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/breadcrumb/src/breadcrumb.vue?vue&type=template&id=1cc0326c&
|
|
203
203
|
var render = function () {
|
|
204
204
|
var _vm = this
|
|
205
205
|
var _h = _vm.$createElement
|
|
@@ -218,7 +218,7 @@ var staticRenderFns = []
|
|
|
218
218
|
render._withStripped = true
|
|
219
219
|
|
|
220
220
|
|
|
221
|
-
// CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.vue?vue&type=template&id=
|
|
221
|
+
// CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.vue?vue&type=template&id=1cc0326c&
|
|
222
222
|
|
|
223
223
|
// CONCATENATED MODULE: ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@15.10.0@vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb.vue?vue&type=script&lang=js&
|
|
224
224
|
//
|
|
@@ -226,6 +226,10 @@ render._withStripped = true
|
|
|
226
226
|
//
|
|
227
227
|
//
|
|
228
228
|
//
|
|
229
|
+
//
|
|
230
|
+
//
|
|
231
|
+
//
|
|
232
|
+
//
|
|
229
233
|
|
|
230
234
|
/* harmony default export */ var breadcrumbvue_type_script_lang_js_ = ({
|
|
231
235
|
name: 'ElBreadcrumb',
|
|
@@ -237,7 +241,7 @@ render._withStripped = true
|
|
|
237
241
|
},
|
|
238
242
|
separatorClass: {
|
|
239
243
|
type: String,
|
|
240
|
-
default: ''
|
|
244
|
+
default: 'el-icon-right'
|
|
241
245
|
}
|
|
242
246
|
},
|
|
243
247
|
|
package/lib/button.js
CHANGED
|
@@ -199,7 +199,7 @@ function normalizeComponent(
|
|
|
199
199
|
// ESM COMPAT FLAG
|
|
200
200
|
__webpack_require__.r(__webpack_exports__);
|
|
201
201
|
|
|
202
|
-
// 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/button/src/button.vue?vue&type=template&id=
|
|
202
|
+
// 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/button/src/button.vue?vue&type=template&id=8e97aa62&
|
|
203
203
|
var render = function () {
|
|
204
204
|
var _vm = this
|
|
205
205
|
var _h = _vm.$createElement
|
|
@@ -237,7 +237,7 @@ var staticRenderFns = []
|
|
|
237
237
|
render._withStripped = true
|
|
238
238
|
|
|
239
239
|
|
|
240
|
-
// CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=template&id=
|
|
240
|
+
// CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=template&id=8e97aa62&
|
|
241
241
|
|
|
242
242
|
// CONCATENATED MODULE: ./node_modules/_babel-loader@7.1.5@babel-loader/lib!./node_modules/_vue-loader@15.10.0@vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=script&lang=js&
|
|
243
243
|
//
|
|
@@ -321,6 +321,7 @@ render._withStripped = true
|
|
|
321
321
|
|
|
322
322
|
methods: {
|
|
323
323
|
handleClick: function handleClick(evt) {
|
|
324
|
+
this.$el.blur();
|
|
324
325
|
this.$emit('click', evt);
|
|
325
326
|
}
|
|
326
327
|
}
|
package/lib/cascader-panel.js
CHANGED
|
@@ -262,15 +262,19 @@ module.exports = require("bi-eleme/lib/mixins/locale");
|
|
|
262
262
|
// ESM COMPAT FLAG
|
|
263
263
|
__webpack_require__.r(__webpack_exports__);
|
|
264
264
|
|
|
265
|
-
// 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/cascader-panel/src/cascader-panel.vue?vue&type=template&id=
|
|
266
|
-
var
|
|
265
|
+
// 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/cascader-panel/src/cascader-panel.vue?vue&type=template&id=49cec31e&
|
|
266
|
+
var cascader_panelvue_type_template_id_49cec31e_render = function () {
|
|
267
267
|
var _vm = this
|
|
268
268
|
var _h = _vm.$createElement
|
|
269
269
|
var _c = _vm._self._c || _h
|
|
270
270
|
return _c(
|
|
271
271
|
"div",
|
|
272
272
|
{
|
|
273
|
-
class: [
|
|
273
|
+
class: [
|
|
274
|
+
"el-cascader-panel",
|
|
275
|
+
_vm.border && "is-bordered",
|
|
276
|
+
_vm.isSingleUse && "is-single-use",
|
|
277
|
+
],
|
|
274
278
|
on: { keydown: _vm.handleKeyDown },
|
|
275
279
|
},
|
|
276
280
|
_vm._l(_vm.menus, function (menu, index) {
|
|
@@ -285,10 +289,10 @@ var cascader_panelvue_type_template_id_689a4834_render = function () {
|
|
|
285
289
|
)
|
|
286
290
|
}
|
|
287
291
|
var staticRenderFns = []
|
|
288
|
-
|
|
292
|
+
cascader_panelvue_type_template_id_49cec31e_render._withStripped = true
|
|
289
293
|
|
|
290
294
|
|
|
291
|
-
// CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue?vue&type=template&id=
|
|
295
|
+
// CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue?vue&type=template&id=49cec31e&
|
|
292
296
|
|
|
293
297
|
// EXTERNAL MODULE: external "babel-helper-vue-jsx-merge-props"
|
|
294
298
|
var external_babel_helper_vue_jsx_merge_props_ = __webpack_require__(26);
|
|
@@ -358,11 +362,20 @@ var stopPropagation = function stopPropagation(e) {
|
|
|
358
362
|
var _this = this;
|
|
359
363
|
|
|
360
364
|
if (!this.config.checkStrictly) return false;
|
|
361
|
-
|
|
362
365
|
return this.panel.checkedNodePaths.some(function (checkedPath) {
|
|
363
366
|
return _this.isInPath(checkedPath);
|
|
364
367
|
});
|
|
365
368
|
},
|
|
369
|
+
inSelectedPath: function inSelectedPath() {
|
|
370
|
+
var panelValue = this.panel.value;
|
|
371
|
+
if (this.panel.isSingleUse) {
|
|
372
|
+
panelValue = this.panel.checkedValue || [];
|
|
373
|
+
}
|
|
374
|
+
if (this.config.multiple) {
|
|
375
|
+
return Object(util_["isArrayAContainedIn2DArrayB"])(this.value, panelValue);
|
|
376
|
+
}
|
|
377
|
+
return Object(util_["isArrayAContainedInB"])(this.value, panelValue);
|
|
378
|
+
},
|
|
366
379
|
value: function value() {
|
|
367
380
|
return this.node.getValueByOption();
|
|
368
381
|
}
|
|
@@ -499,7 +512,7 @@ var stopPropagation = function stopPropagation(e) {
|
|
|
499
512
|
return h('i', { 'class': 'el-icon-loading el-cascader-node__postfix' });
|
|
500
513
|
},
|
|
501
514
|
renderExpandIcon: function renderExpandIcon(h) {
|
|
502
|
-
return h('i', { 'class': 'el-icon-
|
|
515
|
+
return h('i', { 'class': 'el-icon-right el-cascader-node__postfix' });
|
|
503
516
|
},
|
|
504
517
|
renderContent: function renderContent(h) {
|
|
505
518
|
var panel = this.panel,
|
|
@@ -521,6 +534,7 @@ var stopPropagation = function stopPropagation(e) {
|
|
|
521
534
|
|
|
522
535
|
var inActivePath = this.inActivePath,
|
|
523
536
|
inCheckedPath = this.inCheckedPath,
|
|
537
|
+
inSelectedPath = this.inSelectedPath,
|
|
524
538
|
isChecked = this.isChecked,
|
|
525
539
|
isLeaf = this.isLeaf,
|
|
526
540
|
isDisabled = this.isDisabled,
|
|
@@ -563,6 +577,7 @@ var stopPropagation = function stopPropagation(e) {
|
|
|
563
577
|
'is-selectable': checkStrictly,
|
|
564
578
|
'in-active-path': inActivePath,
|
|
565
579
|
'in-checked-path': inCheckedPath,
|
|
580
|
+
'in-selected-path': inSelectedPath,
|
|
566
581
|
'is-active': isChecked,
|
|
567
582
|
'is-disabled': disabled
|
|
568
583
|
}
|
|
@@ -672,7 +687,10 @@ var locale_default = /*#__PURE__*/__webpack_require__.n(locale_);
|
|
|
672
687
|
var top = activeNode.offsetTop;
|
|
673
688
|
var bottom = top + activeNode.offsetHeight;
|
|
674
689
|
|
|
675
|
-
hoverZone.innerHTML =
|
|
690
|
+
// hoverZone.innerHTML = `
|
|
691
|
+
// <path style="pointer-events: auto;" fill="transparent" d="M${startX} ${top} L${offsetWidth} 0 V${top} Z" />
|
|
692
|
+
// <path style="pointer-events: auto;" fill="transparent" d="M${startX} ${bottom} L${offsetWidth} ${offsetHeight} V${bottom} Z" />
|
|
693
|
+
// `
|
|
676
694
|
} else if (!hoverTimer) {
|
|
677
695
|
this.hoverTimer = setTimeout(this.clearHoverZone, this.panel.config.hoverThreshold);
|
|
678
696
|
}
|
|
@@ -1084,6 +1102,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
1084
1102
|
//
|
|
1085
1103
|
//
|
|
1086
1104
|
//
|
|
1105
|
+
//
|
|
1087
1106
|
|
|
1088
1107
|
|
|
1089
1108
|
|
|
@@ -1200,6 +1219,9 @@ var checkNode = function checkNode(el) {
|
|
|
1200
1219
|
},
|
|
1201
1220
|
renderLabelFn: function renderLabelFn() {
|
|
1202
1221
|
return this.renderLabel || this.$scopedSlots.default;
|
|
1222
|
+
},
|
|
1223
|
+
isSingleUse: function isSingleUse() {
|
|
1224
|
+
return this.$parent.$options.name !== 'ElCascader';
|
|
1203
1225
|
}
|
|
1204
1226
|
},
|
|
1205
1227
|
|
|
@@ -1514,7 +1536,7 @@ var checkNode = function checkNode(el) {
|
|
|
1514
1536
|
|
|
1515
1537
|
var cascader_panel_component = Object(componentNormalizer["a" /* default */])(
|
|
1516
1538
|
src_cascader_panelvue_type_script_lang_js_,
|
|
1517
|
-
|
|
1539
|
+
cascader_panelvue_type_template_id_49cec31e_render,
|
|
1518
1540
|
staticRenderFns,
|
|
1519
1541
|
false,
|
|
1520
1542
|
null,
|
package/lib/cascader.js
CHANGED
|
@@ -213,7 +213,7 @@ module.exports = require("bi-eleme/lib/mixins/migrating");
|
|
|
213
213
|
// ESM COMPAT FLAG
|
|
214
214
|
__webpack_require__.r(__webpack_exports__);
|
|
215
215
|
|
|
216
|
-
// 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/cascader/src/cascader.vue?vue&type=template&id=
|
|
216
|
+
// 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/cascader/src/cascader.vue?vue&type=template&id=682766aa&
|
|
217
217
|
var render = function () {
|
|
218
218
|
var _vm = this
|
|
219
219
|
var _h = _vm.$createElement
|
|
@@ -293,7 +293,7 @@ var render = function () {
|
|
|
293
293
|
key: "arrow-down",
|
|
294
294
|
class: [
|
|
295
295
|
"el-input__icon",
|
|
296
|
-
"el-icon-
|
|
296
|
+
"el-icon-down",
|
|
297
297
|
_vm.dropDownVisible && "is-reverse",
|
|
298
298
|
],
|
|
299
299
|
on: {
|
|
@@ -499,7 +499,16 @@ var render = function () {
|
|
|
499
499
|
_c(
|
|
500
500
|
"li",
|
|
501
501
|
{ staticClass: "el-cascader__empty-text" },
|
|
502
|
-
[
|
|
502
|
+
[
|
|
503
|
+
_c("div", [
|
|
504
|
+
_c("i", { staticClass: "el-icon-empty" }),
|
|
505
|
+
]),
|
|
506
|
+
_vm._v(
|
|
507
|
+
"\n " +
|
|
508
|
+
_vm._s(_vm.t("el.cascader.noMatch")) +
|
|
509
|
+
"\n "
|
|
510
|
+
),
|
|
511
|
+
]
|
|
503
512
|
),
|
|
504
513
|
]),
|
|
505
514
|
],
|
|
@@ -519,7 +528,7 @@ var staticRenderFns = []
|
|
|
519
528
|
render._withStripped = true
|
|
520
529
|
|
|
521
530
|
|
|
522
|
-
// CONCATENATED MODULE: ./packages/cascader/src/cascader.vue?vue&type=template&id=
|
|
531
|
+
// CONCATENATED MODULE: ./packages/cascader/src/cascader.vue?vue&type=template&id=682766aa&
|
|
523
532
|
|
|
524
533
|
// EXTERNAL MODULE: external "bi-eleme/lib/utils/vue-popper"
|
|
525
534
|
var vue_popper_ = __webpack_require__(5);
|
|
@@ -716,6 +725,9 @@ var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_);
|
|
|
716
725
|
//
|
|
717
726
|
//
|
|
718
727
|
//
|
|
728
|
+
//
|
|
729
|
+
//
|
|
730
|
+
//
|
|
719
731
|
|
|
720
732
|
|
|
721
733
|
|
package/lib/collapse-item.js
CHANGED
|
@@ -199,7 +199,7 @@ function normalizeComponent(
|
|
|
199
199
|
// ESM COMPAT FLAG
|
|
200
200
|
__webpack_require__.r(__webpack_exports__);
|
|
201
201
|
|
|
202
|
-
// 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/collapse/src/collapse-item.vue?vue&type=template&id=
|
|
202
|
+
// 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/collapse/src/collapse-item.vue?vue&type=template&id=824d6324&
|
|
203
203
|
var render = function () {
|
|
204
204
|
var _vm = this
|
|
205
205
|
var _h = _vm.$createElement
|
|
@@ -260,7 +260,7 @@ var render = function () {
|
|
|
260
260
|
[
|
|
261
261
|
_vm._t("title", [_vm._v(_vm._s(_vm.title))]),
|
|
262
262
|
_c("i", {
|
|
263
|
-
staticClass: "el-collapse-item__arrow el-icon-
|
|
263
|
+
staticClass: "el-collapse-item__arrow el-icon-right",
|
|
264
264
|
class: { "is-active": _vm.isActive },
|
|
265
265
|
}),
|
|
266
266
|
],
|
|
@@ -306,7 +306,7 @@ var staticRenderFns = []
|
|
|
306
306
|
render._withStripped = true
|
|
307
307
|
|
|
308
308
|
|
|
309
|
-
// CONCATENATED MODULE: ./packages/collapse/src/collapse-item.vue?vue&type=template&id=
|
|
309
|
+
// CONCATENATED MODULE: ./packages/collapse/src/collapse-item.vue?vue&type=template&id=824d6324&
|
|
310
310
|
|
|
311
311
|
// EXTERNAL MODULE: external "bi-eleme/lib/transitions/collapse-transition"
|
|
312
312
|
var collapse_transition_ = __webpack_require__(28);
|