mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
Compare commits
17 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d216a252f3 | ||
|
|
3d7c3d71df | ||
|
|
127dfadb6a | ||
|
|
5fecffa353 | ||
|
|
e2e63e698f | ||
|
|
7e22785a58 | ||
|
|
3ceec7aa6a | ||
|
|
a2683e975e | ||
|
|
04981518db | ||
|
|
deb41057d1 | ||
|
|
31286d724b | ||
|
|
5ce89b8e00 | ||
|
|
985bd49fef | ||
|
|
c71ab0a127 | ||
|
|
1f7a591d18 | ||
|
|
4448fab89c | ||
|
|
ea5b4dbc25 |
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: true
|
||||
contact_links:
|
||||
- name: Create new issue
|
||||
url: https://elementui.github.io/issue-generator
|
||||
about: The issue which is not created via https://elementui.github.io/issue-generator will be closed immediately.
|
||||
@@ -1,5 +1,20 @@
|
||||
## Changelog
|
||||
|
||||
### 2.14.1
|
||||
|
||||
*2020-11-11*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Popover
|
||||
- Compatible with Vue 2.6 new v-slot syntax (#20424 by @iamkun)
|
||||
|
||||
#### Optimization
|
||||
|
||||
- I18n
|
||||
- Update Arabic translation (#20202 by @elkattan)
|
||||
- Update Uighur translation (#20177 by @IlhamTahir)
|
||||
|
||||
### 2.14.0
|
||||
|
||||
*2020-10-29*
|
||||
@@ -7,7 +22,7 @@
|
||||
#### Breaking changes
|
||||
|
||||
- Popconfirm
|
||||
- Rename event name to `confirm`, `cancel` (#20240 by @hugiron)"
|
||||
- Rename event name to `confirm`, `cancel` (#20240 by @hugiron)
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
## Changelog
|
||||
|
||||
### 2.14.1
|
||||
|
||||
*2020-11-11*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Popover
|
||||
- Compatible with Vue 2.6 new v-slot syntax (#20424 by @iamkun)
|
||||
|
||||
#### Optimization
|
||||
|
||||
- I18n
|
||||
- Update Arabic translation (#20202 by @elkattan)
|
||||
- Update Uighur translation (#20177 by @IlhamTahir)
|
||||
|
||||
### 2.14.0
|
||||
|
||||
*2020-10-29*
|
||||
@@ -7,7 +22,7 @@
|
||||
#### Breaking changes
|
||||
|
||||
- Popconfirm
|
||||
- Rename event name to `confirm`, `cancel` (#20240 by @hugiron)"
|
||||
- Rename event name to `confirm`, `cancel` (#20240 by @hugiron)
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
## Changelog
|
||||
|
||||
### 2.14.1
|
||||
|
||||
*2020-11-11*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Popover
|
||||
- Compatible with Vue 2.6 new v-slot syntax (#20424 by @iamkun)
|
||||
|
||||
#### Optimization
|
||||
|
||||
- I18n
|
||||
- Update Arabic translation (#20202 by @elkattan)
|
||||
- Update Uighur translation (#20177 by @IlhamTahir)
|
||||
|
||||
### 2.14.0
|
||||
|
||||
*2020-10-29*
|
||||
@@ -7,7 +22,7 @@
|
||||
#### Breaking changes
|
||||
|
||||
- Popconfirm
|
||||
- Rename event name to `confirm`, `cancel` (#20240 by @hugiron)"
|
||||
- Rename event name to `confirm`, `cancel` (#20240 by @hugiron)
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
|
||||
@@ -1,5 +1,20 @@
|
||||
## 更新日志
|
||||
|
||||
### 2.14.1
|
||||
|
||||
*2020-11-11*
|
||||
|
||||
#### Bug 修复
|
||||
|
||||
- Popover
|
||||
- 兼容 Vue 2.6 新 v-slot 语法 (#20424 by @iamkun)
|
||||
|
||||
#### 优化
|
||||
|
||||
- I18n
|
||||
- 更新阿拉伯语翻译 (#20202 by @elkattan)
|
||||
- 更新维吾尔语翻译 (#20177 by @IlhamTahir)
|
||||
|
||||
### 2.14.0
|
||||
|
||||
*2020-10-29*
|
||||
@@ -7,7 +22,7 @@
|
||||
#### 非兼容性更新
|
||||
|
||||
- Popconfirm
|
||||
- 事件名称修改为 `confirm`, `cancel` (#20240 by @hugiron)"
|
||||
- 事件名称修改为 `confirm`, `cancel` (#20240 by @hugiron)
|
||||
|
||||
#### Bug 修复
|
||||
|
||||
|
||||
104
README.md
104
README.md
@@ -42,31 +42,6 @@ Element will stay with Vue 2.x
|
||||
|
||||
For Vue 3.0, we recommend using [Element Plus](https://github.com/element-plus/element-plus) from the same team
|
||||
|
||||
<p align="center">
|
||||
<b>Special thanks to the generous sponsorship by:</b>
|
||||
</p>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td align="center" valign="middle">
|
||||
<a href="https://tipe.io/?ref=element" target="_blank">
|
||||
<img width="150px" src="https://user-images.githubusercontent.com/1016365/34124854-48fafa06-e3e9-11e7-8c04-251055feebee.png">
|
||||
</a>
|
||||
</td>
|
||||
<td align="center" valign="middle">
|
||||
<a href="https://www.duohui.cn/?utm_source=element&utm_medium=web&utm_campaign=element-index" target="_blank">
|
||||
<img width="150px" src="https://user-images.githubusercontent.com/10095631/35603534-bb24470c-0678-11e8-8bcc-17ceaef8cbef.png">
|
||||
</a>
|
||||
</td>
|
||||
<td align="center" valign="middle">
|
||||
<a href="https://bitsrc.io/" target="_blank">
|
||||
<img width="150px" src="https://user-images.githubusercontent.com/10095631/41342907-e44e7196-6f2f-11e8-92f2-47702dc8f059.png">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
## Links
|
||||
- Homepage and documentation
|
||||
- [International users](http://element.eleme.io/#/en-US)
|
||||
@@ -75,6 +50,7 @@ For Vue 3.0, we recommend using [Element Plus](https://github.com/element-plus/e
|
||||
- [French users](http://element.eleme.io/#/fr-FR)
|
||||
- [awesome-element](https://github.com/ElementUI/awesome-element)
|
||||
- [FAQ](./FAQ.md)
|
||||
- [Vue.js 3.0 migration](https://github.com/element-plus/element-plus)
|
||||
- [Customize theme](http://element.eleme.io/#/en-US/component/custom-theme)
|
||||
- [Preview and generate theme online](https://elementui.github.io/theme-chalk-preview)
|
||||
- [Element for React](https://github.com/elemefe/element-react)
|
||||
@@ -130,8 +106,6 @@ We have collected some [frequently asked questions](https://github.com/ElemeFE/e
|
||||
## Contribution
|
||||
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.
|
||||
|
||||
[](https://issuehunt.io/repos/67274736)
|
||||
|
||||
## Special Thanks
|
||||
English documentation is brought to you by SwiftGG Translation Team:
|
||||
- [raychenfj](https://github.com/raychenfj)
|
||||
@@ -161,82 +135,6 @@ French documentation is made possible by these community developers:
|
||||
- [smalesys](https://github.com/smalesys)
|
||||
- [blombard](https://github.com/blombard)
|
||||
|
||||
## Donation
|
||||
If you find Element useful, you can buy us a cup of coffee
|
||||
|
||||
<img width="650" src="https://user-images.githubusercontent.com/14025786/44833997-5d7c4d80-ac62-11e8-8445-1dffec0eb13c.png" alt="donation">
|
||||
|
||||
## Backers
|
||||
|
||||
Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/element#backer)]
|
||||
|
||||
<a href="https://opencollective.com/element/backer/0/website" target="_blank"><img src="https://opencollective.com/element/backer/0/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/1/website" target="_blank"><img src="https://opencollective.com/element/backer/1/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/2/website" target="_blank"><img src="https://opencollective.com/element/backer/2/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/3/website" target="_blank"><img src="https://opencollective.com/element/backer/3/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/4/website" target="_blank"><img src="https://opencollective.com/element/backer/4/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/5/website" target="_blank"><img src="https://opencollective.com/element/backer/5/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/6/website" target="_blank"><img src="https://opencollective.com/element/backer/6/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/7/website" target="_blank"><img src="https://opencollective.com/element/backer/7/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/8/website" target="_blank"><img src="https://opencollective.com/element/backer/8/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/9/website" target="_blank"><img src="https://opencollective.com/element/backer/9/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/10/website" target="_blank"><img src="https://opencollective.com/element/backer/10/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/11/website" target="_blank"><img src="https://opencollective.com/element/backer/11/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/12/website" target="_blank"><img src="https://opencollective.com/element/backer/12/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/13/website" target="_blank"><img src="https://opencollective.com/element/backer/13/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/14/website" target="_blank"><img src="https://opencollective.com/element/backer/14/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/15/website" target="_blank"><img src="https://opencollective.com/element/backer/15/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/16/website" target="_blank"><img src="https://opencollective.com/element/backer/16/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/17/website" target="_blank"><img src="https://opencollective.com/element/backer/17/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/18/website" target="_blank"><img src="https://opencollective.com/element/backer/18/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/19/website" target="_blank"><img src="https://opencollective.com/element/backer/19/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/20/website" target="_blank"><img src="https://opencollective.com/element/backer/20/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/21/website" target="_blank"><img src="https://opencollective.com/element/backer/21/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/22/website" target="_blank"><img src="https://opencollective.com/element/backer/22/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/23/website" target="_blank"><img src="https://opencollective.com/element/backer/23/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/24/website" target="_blank"><img src="https://opencollective.com/element/backer/24/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/25/website" target="_blank"><img src="https://opencollective.com/element/backer/25/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/26/website" target="_blank"><img src="https://opencollective.com/element/backer/26/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/27/website" target="_blank"><img src="https://opencollective.com/element/backer/27/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/28/website" target="_blank"><img src="https://opencollective.com/element/backer/28/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/backer/29/website" target="_blank"><img src="https://opencollective.com/element/backer/29/avatar.svg"></a>
|
||||
|
||||
|
||||
## Sponsors
|
||||
|
||||
Become a sponsor and get your logo on our README on Github with a link to your site. [[Become a sponsor](https://opencollective.com/element#sponsor)]
|
||||
|
||||
<a href="https://opencollective.com/element/sponsor/0/website" target="_blank"><img src="https://opencollective.com/element/sponsor/0/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/1/website" target="_blank"><img src="https://opencollective.com/element/sponsor/1/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/2/website" target="_blank"><img src="https://opencollective.com/element/sponsor/2/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/3/website" target="_blank"><img src="https://opencollective.com/element/sponsor/3/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/4/website" target="_blank"><img src="https://opencollective.com/element/sponsor/4/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/5/website" target="_blank"><img src="https://opencollective.com/element/sponsor/5/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/6/website" target="_blank"><img src="https://opencollective.com/element/sponsor/6/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/7/website" target="_blank"><img src="https://opencollective.com/element/sponsor/7/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/8/website" target="_blank"><img src="https://opencollective.com/element/sponsor/8/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/9/website" target="_blank"><img src="https://opencollective.com/element/sponsor/9/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/10/website" target="_blank"><img src="https://opencollective.com/element/sponsor/10/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/11/website" target="_blank"><img src="https://opencollective.com/element/sponsor/11/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/12/website" target="_blank"><img src="https://opencollective.com/element/sponsor/12/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/13/website" target="_blank"><img src="https://opencollective.com/element/sponsor/13/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/14/website" target="_blank"><img src="https://opencollective.com/element/sponsor/14/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/15/website" target="_blank"><img src="https://opencollective.com/element/sponsor/15/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/16/website" target="_blank"><img src="https://opencollective.com/element/sponsor/16/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/17/website" target="_blank"><img src="https://opencollective.com/element/sponsor/17/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/18/website" target="_blank"><img src="https://opencollective.com/element/sponsor/18/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/19/website" target="_blank"><img src="https://opencollective.com/element/sponsor/19/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/20/website" target="_blank"><img src="https://opencollective.com/element/sponsor/20/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/21/website" target="_blank"><img src="https://opencollective.com/element/sponsor/21/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/22/website" target="_blank"><img src="https://opencollective.com/element/sponsor/22/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/23/website" target="_blank"><img src="https://opencollective.com/element/sponsor/23/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/24/website" target="_blank"><img src="https://opencollective.com/element/sponsor/24/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/25/website" target="_blank"><img src="https://opencollective.com/element/sponsor/25/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/26/website" target="_blank"><img src="https://opencollective.com/element/sponsor/26/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/27/website" target="_blank"><img src="https://opencollective.com/element/sponsor/27/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/28/website" target="_blank"><img src="https://opencollective.com/element/sponsor/28/avatar.svg"></a>
|
||||
<a href="https://opencollective.com/element/sponsor/29/website" target="_blank"><img src="https://opencollective.com/element/sponsor/29/avatar.svg"></a>
|
||||
|
||||
## Join Discussion Group
|
||||
|
||||
Scan the QR code using [Dingtalk App](https://www.dingtalk.com/) to join in discussion group :
|
||||
|
||||
@@ -15,5 +15,5 @@ cp -rf ../../examples/element-ui/** $SUB_FOLDER/
|
||||
cd ../..
|
||||
|
||||
# deploy domestic site
|
||||
faas deploy alpha -P element
|
||||
faas deploy daily -P element
|
||||
rm -rf temp_web
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
<svg width="98" height="150" viewBox="0 0 98 150" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>duohui-element</title>
|
||||
<desc>Created using Figma</desc>
|
||||
<g id="Canvas" transform="translate(-2216 140)">
|
||||
<clipPath id="clip-0" clip-rule="evenodd">
|
||||
<path d="M 2216 -140L 2314 -140L 2314 10L 2216 10L 2216 -140Z" fill="#FFFFFF"/>
|
||||
</clipPath>
|
||||
<g id="duohui-element" clip-path="url(#clip-0)">
|
||||
<path d="M 2216 -140L 2314 -140L 2314 10L 2216 10L 2216 -140Z" fill="#FFFFFF"/>
|
||||
<g id="Duohui Icon 2">
|
||||
<g id="Vector">
|
||||
<use xlink:href="#path0_fill" transform="matrix(1.26636 0 0 1.21929 2230 -75.7038)" fill="#3A88FD"/>
|
||||
</g>
|
||||
<g id="Vector">
|
||||
<use xlink:href="#path1_fill" transform="matrix(1.41534 0 0 1.21834 2226 -112)" fill="#35AFFB"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
<defs>
|
||||
<path id="path0_fill" fill-rule="evenodd" d="M 25.7722 1.00635C 26.2 0.374983 26.8949 -2.6613e-07 27.6349 -2.6613e-07C 28.3755 -2.6613e-07 29.0699 0.374983 29.4983 1.00635C 34.409 8.24964 47.798 27.9964 54.5986 38.0262C 55.3878 39.1901 55.4896 40.7162 54.8623 41.983C 54.235 43.2498 52.9833 44.0452 51.6178 44.0452C 39.6694 44.0452 15.601 44.0452 3.6521 44.0452C 2.28712 44.0452 1.03545 43.2498 0.408173 41.983C -0.219106 40.7162 -0.117353 39.1901 0.671804 38.0262C 7.47242 27.9964 20.8609 8.24964 25.7722 1.00635Z"/>
|
||||
<path id="path1_fill" fill-rule="evenodd" d="M 24.9939 1.44703C 25.6137 0.533117 26.5572 -3.01614e-07 27.5551 -3.01614e-07C 28.5535 -3.01614e-07 29.497 0.533117 30.1168 1.44703C 35.4674 9.33854 47.8725 27.6342 54.4043 37.2681C 55.1825 38.4157 55.3299 39.982 54.7847 41.2999C 54.2389 42.6185 53.096 43.4556 51.8426 43.4556C 39.9023 43.4556 15.2084 43.4556 3.26811 43.4556C 2.01471 43.4556 0.871739 42.6185 0.325978 41.2999C -0.219783 39.982 -0.0717813 38.4157 0.70639 37.2681C 7.23818 27.6342 19.6433 9.33854 24.9939 1.44703Z"/>
|
||||
</defs>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 1.8 KiB |
@@ -1,175 +0,0 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 148.32 226.69">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
fill: url(#radial-gradient);
|
||||
}
|
||||
|
||||
.cls-3 {
|
||||
fill: url(#linear-gradient);
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: url(#linear-gradient-2);
|
||||
}
|
||||
|
||||
.cls-5 {
|
||||
fill: url(#linear-gradient-3);
|
||||
}
|
||||
|
||||
.cls-6 {
|
||||
fill: url(#linear-gradient-4);
|
||||
}
|
||||
|
||||
.cls-7 {
|
||||
fill: url(#linear-gradient-5);
|
||||
}
|
||||
|
||||
.cls-8 {
|
||||
fill: url(#linear-gradient-6);
|
||||
}
|
||||
|
||||
.cls-9 {
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
.cls-11, .cls-9 {
|
||||
mix-blend-mode: multiply;
|
||||
}
|
||||
|
||||
.cls-10 {
|
||||
fill: url(#linear-gradient-7);
|
||||
}
|
||||
|
||||
.cls-12 {
|
||||
fill: url(#linear-gradient-8);
|
||||
}
|
||||
|
||||
.cls-13 {
|
||||
fill: url(#linear-gradient-9);
|
||||
}
|
||||
|
||||
.cls-14 {
|
||||
fill: #3c2e36;
|
||||
}
|
||||
|
||||
.cls-15 {
|
||||
fill: url(#linear-gradient-10);
|
||||
}
|
||||
|
||||
.cls-16 {
|
||||
fill: url(#radial-gradient-2);
|
||||
}
|
||||
</style>
|
||||
<radialGradient id="radial-gradient" cx="74.93" cy="117.87" r="86.39" gradientTransform="translate(0 22.72) scale(1 1.07)" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.32" stop-color="#e4dce1"/>
|
||||
<stop offset="0.48" stop-color="#e1dadf"/>
|
||||
<stop offset="0.59" stop-color="#d9d3da"/>
|
||||
<stop offset="0.68" stop-color="#cac7d2"/>
|
||||
<stop offset="0.76" stop-color="#b5b6c6"/>
|
||||
<stop offset="0.79" stop-color="#aaadc0"/>
|
||||
<stop offset="1" stop-color="#6f6f85"/>
|
||||
</radialGradient>
|
||||
<linearGradient id="linear-gradient" x1="38.85" y1="122.53" x2="108.18" y2="108.38" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0" stop-color="#e4dce1"/>
|
||||
<stop offset="0.19" stop-color="#d7d0d7"/>
|
||||
<stop offset="0.53" stop-color="#b5b2be"/>
|
||||
<stop offset="0.97" stop-color="#808296"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linear-gradient-2" x1="32.25" y1="64.7" x2="148.44" y2="64.7" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.32" stop-color="#e4dce1"/>
|
||||
<stop offset="0.49" stop-color="#e1dadf"/>
|
||||
<stop offset="0.6" stop-color="#d9d3da"/>
|
||||
<stop offset="0.69" stop-color="#cac7d2"/>
|
||||
<stop offset="0.78" stop-color="#b5b6c6"/>
|
||||
<stop offset="0.81" stop-color="#aaadc0"/>
|
||||
<stop offset="1" stop-color="#6f6f85"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linear-gradient-3" x1="139.11" y1="68.34" x2="139.11" y2="1.17" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.12" stop-color="#888aa0"/>
|
||||
<stop offset="0.54" stop-color="#716f8a"/>
|
||||
<stop offset="0.89" stop-color="#635d7c"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linear-gradient-4" x1="111.94" y1="16.05" x2="135.36" y2="16.05" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0" stop-color="#3c314b"/>
|
||||
<stop offset="0.54" stop-color="#534a67"/>
|
||||
<stop offset="0.89" stop-color="#635d7c"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linear-gradient-5" x1="6752.04" y1="68.34" x2="6752.04" y2="-3.45" gradientTransform="matrix(-1, 0, 0, 1, 6787.68, 0)" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.19" stop-color="#e4dce1"/>
|
||||
<stop offset="0.42" stop-color="#c2bac6"/>
|
||||
<stop offset="0.92" stop-color="#6b6582"/>
|
||||
<stop offset="0.97" stop-color="#635d7c"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linear-gradient-6" x1="39.39" y1="16.05" x2="62.82" y2="16.05" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0" stop-color="#3c314b"/>
|
||||
<stop offset="0.02" stop-color="#3d324c"/>
|
||||
<stop offset="0.35" stop-color="#524a66"/>
|
||||
<stop offset="0.65" stop-color="#5f5876"/>
|
||||
<stop offset="0.89" stop-color="#635d7c"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linear-gradient-7" x1="79.66" y1="229.05" x2="79.66" y2="194.82" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.03" stop-color="#808296"/>
|
||||
<stop offset="0.31" stop-color="#b7b8c3" stop-opacity="0.78"/>
|
||||
<stop offset="0.79" stop-color="#fff" stop-opacity="0.5"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linear-gradient-8" x1="87.38" y1="117.84" x2="87.38" y2="41.77" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0" stop-color="#e3dddf" stop-opacity="0"/>
|
||||
<stop offset="0.04" stop-color="#cbc5cd" stop-opacity="0.12"/>
|
||||
<stop offset="0.15" stop-color="#9d97a9" stop-opacity="0.37"/>
|
||||
<stop offset="0.25" stop-color="#7b758f" stop-opacity="0.54"/>
|
||||
<stop offset="0.35" stop-color="#67617f" stop-opacity="0.65"/>
|
||||
<stop offset="0.45" stop-color="#605a7a" stop-opacity="0.68"/>
|
||||
<stop offset="0.54" stop-color="#575070" stop-opacity="0.75"/>
|
||||
<stop offset="1" stop-color="#382e4a"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linear-gradient-9" x1="11357.22" y1="78.8" x2="11361.46" y2="58.49" gradientTransform="matrix(-1, 0, 0, 1, 11419.34, 0)" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.07" stop-color="#28ffff"/>
|
||||
<stop offset="0.41" stop-color="#51d2ff"/>
|
||||
<stop offset="0.8" stop-color="#7ba3ff"/>
|
||||
<stop offset="1" stop-color="#8b91ff"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linear-gradient-10" x1="113" y1="78.8" x2="117.24" y2="58.49" gradientTransform="matrix(1, 0, 0, 1, 0, 0)" xlink:href="#linear-gradient-9"/>
|
||||
<radialGradient id="radial-gradient-2" cx="36.09" cy="124.71" r="36.13" gradientUnits="userSpaceOnUse">
|
||||
<stop offset="0.11" stop-color="#635d7c"/>
|
||||
<stop offset="0.35" stop-color="#5f5876"/>
|
||||
<stop offset="0.65" stop-color="#524a66"/>
|
||||
<stop offset="0.98" stop-color="#3d324c"/>
|
||||
<stop offset="1" stop-color="#3c314b"/>
|
||||
</radialGradient>
|
||||
</defs>
|
||||
<title>Asset 3</title>
|
||||
<g class="cls-1">
|
||||
<g id="Layer_2" data-name="Layer 2">
|
||||
<g id="Layer_1-2" data-name="Layer 1">
|
||||
<g>
|
||||
<path class="cls-2" d="M138.13,128.27c-4.7-9.78-11.29-21.28-9.75-33.55a15.83,15.83,0,0,1,3.26-8.26A65.12,65.12,0,0,1,114.75,99a64.1,64.1,0,0,1-6.11,2.76,66.61,66.61,0,0,0-14.35,9.42c-13.43,11.7-26.21,44.39-48.51,50.6h0a23.9,23.9,0,0,1-9.81,2c-9.41-.07-20.4-6.21-26.26-15.43C1,134.68,3.58,115.85,9.49,103.81c-.18.37-.37.74-.55,1.13a102.51,102.51,0,0,0-4.2,10.42v0A86.37,86.37,0,0,0,0,143.69c0,45.84,35.49,83,79.27,83,11.19,0,29-3.38,43.66-13.61a57.75,57.75,0,0,0,22.57-32C151.54,158.58,144.94,142.45,138.13,128.27Z"/>
|
||||
<path class="cls-3" d="M51.46,158.37a27,27,0,0,1-5.67,3.38h0c22.3-6.21,35.07-38.9,48.51-50.6a66.61,66.61,0,0,1,14.35-9.42,58.67,58.67,0,0,1-21.26,4.09c-19.75,0-37.75-10.49-48.31-24,1,1.39,13,15.46,22.29,43.72A30,30,0,0,1,51.46,158.37Z"/>
|
||||
<path class="cls-4" d="M145.33,59.56c-2.08,22.29-28.26,46.26-58,46.26-29.95,0-55.88-24.12-58-46.26-1.45-15.6,7.34-36,58-36S146.78,44,145.33,59.56Z"/>
|
||||
<path class="cls-5" d="M135.36,0h0a51.59,51.59,0,0,0-4.68,32.1A37.21,37.21,0,0,1,134,34.24c10,7.23,12.12,17,11.34,25.32a35.2,35.2,0,0,1-1.6,7.61A73.45,73.45,0,0,0,142.08,12,71.18,71.18,0,0,0,135.36,0Z"/>
|
||||
<path class="cls-6" d="M130.68,32.1A51.59,51.59,0,0,1,135.36,0h0a57.92,57.92,0,0,0-9.41,6.87,59.8,59.8,0,0,0-14,18.75q3.35.64,6.29,1.45A53.09,53.09,0,0,1,130.68,32.1Z"/>
|
||||
<path class="cls-7" d="M39.39,0h0a51.59,51.59,0,0,1,4.68,32.1,37.21,37.21,0,0,0-3.31,2.14c-10,7.23-12.12,17-11.34,25.32A35.2,35.2,0,0,0,31,67.17,73.45,73.45,0,0,1,32.67,12,71.18,71.18,0,0,1,39.39,0Z"/>
|
||||
<path class="cls-8" d="M48.81,6.87A57.92,57.92,0,0,0,39.39,0h0a51.59,51.59,0,0,1,4.68,32.1,53.09,53.09,0,0,1,12.45-5q2.94-.82,6.29-1.45A59.8,59.8,0,0,0,48.81,6.87Z"/>
|
||||
<g class="cls-9">
|
||||
<path class="cls-10" d="M84.24,182.6c-26.08,0-49.56,5.42-66,14.08,14.54,18.33,36.47,30,61,30,11.19,0,29-3.38,43.66-13.61A58.81,58.81,0,0,0,141,192.47C125.56,186.3,105.79,182.6,84.24,182.6Z"/>
|
||||
</g>
|
||||
<g>
|
||||
<g class="cls-11">
|
||||
<path class="cls-12" d="M138.51,52.94c-.56-2.94-2-5.19-5-5.88-7.88-1.85-27,9.84-37.8,15.34-4,2.06-6.16,3.05-8.34,3s-4.31-.94-8.34-3c-10.77-5.5-29.92-17.18-37.8-15.34-3,.7-4.44,2.94-5,5.88-1,5.16.35,18,9.89,27.49,7.14,7.11,16.68,10.46,24.69,12.71l.18.08a4.2,4.2,0,0,0-.09.88c0,3.28,3.83,5.94,8.56,5.94,2.34,0,6.35-.65,7.9-1.71h0c1.55,1.06,5.56,1.71,7.9,1.71,4.73,0,8.56-2.66,8.56-5.94a4.2,4.2,0,0,0-.09-.88l.18-.08c8-2.25,17.56-5.6,24.69-12.71C138.16,70.92,139.49,58.1,138.51,52.94Z"/>
|
||||
</g>
|
||||
<path class="cls-13" d="M75.26,75.35C64.56,86.85,47.81,77.09,45,63.28c-1.83-9.07,3.63-7.73,8.71-5.67C60.14,60.2,68.84,66.27,75.26,75.35Z"/>
|
||||
<path class="cls-14" d="M60.43,68.26a15.16,15.16,0,0,1-2.19,8,15.56,15.56,0,0,1,0-15.92A15.16,15.16,0,0,1,60.43,68.26Z"/>
|
||||
<path d="M87.36,86.64a8.15,8.15,0,0,0-6.27,2.49c8.25,5.17,4.31,5.17,12.55,0A8.15,8.15,0,0,0,87.36,86.64Z"/>
|
||||
<path class="cls-15" d="M99.86,75.35c10.69,11.5,27.45,1.74,30.23-12.07,1.83-9.07-3.63-7.73-8.71-5.67C115,60.2,106.28,66.27,99.86,75.35Z"/>
|
||||
<path class="cls-14" d="M114.69,68.26a15.16,15.16,0,0,0,2.19,8,15.56,15.56,0,0,0,0-15.92A15.16,15.16,0,0,0,114.69,68.26Z"/>
|
||||
</g>
|
||||
<path class="cls-16" d="M9.71,148.35c5.86,9.22,16.85,15.37,26.26,15.43a23.7,23.7,0,0,0,8.21-1.41l0,0c-15,4.18-19.32-25.16-10.92-43.06v0c1.09-3.38,2.35-6.34,3.42-8.83.37-.86,2.53-5.15,2.09-9.8-.84-9-14-17.33-24-5.37A44.52,44.52,0,0,0,9.39,104C3.55,116.06,1.08,134.76,9.71,148.35Z"/>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 9.2 KiB |
@@ -122,21 +122,6 @@
|
||||
:class="{ 'is-fade': isFade }"
|
||||
:style="navStyle">
|
||||
<ul>
|
||||
<li class="nav-item sponsors">
|
||||
<a>{{ lang === 'zh-CN' ? '赞助商' : 'Sponsors' }}</a>
|
||||
<ul class="pure-menu-list sub-nav">
|
||||
<li class="nav-item" v-show="lang !== 'zh-CN'">
|
||||
<a href="https://tipe.io/?ref=element" target="_blank">
|
||||
<img src="~examples/assets/images/tipe.svg" alt="tipe.io">
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="sponsor" href="https://www.duohui.cn/?utm_source=element&utm_medium=web&utm_campaign=element-index" target="_blank">
|
||||
<img src="~examples/assets/images/duohui.svg" alt="duohui">
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li
|
||||
class="nav-item"
|
||||
v-for="(item, key) in data"
|
||||
|
||||
@@ -170,4 +170,5 @@ You also can specify `type` attribute to `dashboard` to use dashboard progress b
|
||||
| color | background color of progress bar. Overrides `status` prop | string/function/array | — | '' |
|
||||
| width | the canvas width of circle progress bar | number | — | 126 |
|
||||
| show-text | whether to show percentage | boolean | — | true |
|
||||
| stroke-linecap | circle/dashboard type shape at the end path | string | butt/round/square | round |
|
||||
| stroke-linecap | circle/dashboard type shape at the end path | string | butt/round/square | round |
|
||||
| format | custom text format | function(percentage) | — | — |
|
||||
@@ -168,4 +168,5 @@ Puede utilizar el atributo `color` para establecer el color de la barra de progr
|
||||
| color | color de fondo de la barra de progreso. Sobrescribe la propiedad `status` | string/function/array | — | '' |
|
||||
| width | ancho del canvas que contiene la barra de progreso circula | number | — | 126 |
|
||||
| show-text | mostrar porcentaje | boolean | — | true |
|
||||
| stroke-linecap | circle/dashboard tipo de diseño al final del camino | string | butt/round/square | round |
|
||||
| stroke-linecap | circle/dashboard tipo de diseño al final del camino | string | butt/round/square | round |
|
||||
| format | personalizar el formato de texto estableciendo format | function(percentage) | — | — |
|
||||
@@ -46,7 +46,7 @@ DateTimePicker est dérivé de DatePicker et TimePicker. Pour plus d'information
|
||||
return {
|
||||
pickerOptions: {
|
||||
shortcuts: [{
|
||||
text: 'Aujourdh\'ui',
|
||||
text: 'Aujourd\'hui',
|
||||
onClick(picker) {
|
||||
picker.$emit('pick', new Date());
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ Progress est utilisé pour afficher la progression d'une opération et informer
|
||||
|
||||
### Barre de progression linéaire
|
||||
|
||||
:::demo Utilisez l'attribut `percentage` pour indiquer le pourcentage. Cet attribut est **requis** et doit être compris entre 0 et 100. You can custom text format by setting `format`.
|
||||
:::demo Utilisez l'attribut `percentage` pour indiquer le pourcentage. Cet attribut est **requis** et doit être compris entre 0 et 100. Vous pouvez personnaliser le format du texte en définissant le `format`.
|
||||
```html
|
||||
<el-progress :percentage="50"></el-progress>
|
||||
<el-progress :percentage="100" :format="format"></el-progress>
|
||||
@@ -171,4 +171,5 @@ Vous pouvez également spécifier l'attribut `type` de `dashboard` pour utiliser
|
||||
| color | La couleur de fon de la barre. Écrase `status`. | string/function/array | — | '' |
|
||||
| width | La largeur du canvas dans le cas d'une barre circulaire. | number | — | 126 |
|
||||
| show-text | Si le pourcentage doit être affiché. | boolean | — | true |
|
||||
| stroke-linecap | circle/dashboard type shape at the end path | string | butt/round/square | round |
|
||||
| stroke-linecap | circle/dashboard type shape at the end path | string | butt/round/square | round |
|
||||
| format | Vous pouvez personnaliser le format du texte en définissant le format | function(percentage) | — | — |
|
||||
@@ -174,4 +174,5 @@ Progress 组件可通过 `type` 属性来指定使用环形进度条,在环形
|
||||
| color | 进度条背景色(会覆盖 status 状态颜色) | string/function/array | — | '' |
|
||||
| width | 环形进度条画布宽度(只在 type 为 circle 或 dashboard 时可用) | number | | 126 |
|
||||
| show-text | 是否显示进度条文字内容 | boolean | — | true |
|
||||
| stroke-linecap | circle/dashboard 类型路径两端的形状 | string | butt/round/square | round |
|
||||
| stroke-linecap | circle/dashboard 类型路径两端的形状 | string | butt/round/square | round |
|
||||
| format | 指定进度条文字内容 | function(percentage) | — | — |
|
||||
@@ -298,22 +298,6 @@
|
||||
<img src="~examples/assets/images/theme-index-red.png" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="sponsors">
|
||||
<a class="sponsor" href="https://tipe.io/?ref=element" target="_blank" v-show="lang !== 'zh-CN'">
|
||||
<img width="35px" src="~examples/assets/images/tipe.svg" alt="tipe.io">
|
||||
<div>
|
||||
<p>Sponsored by Tipe.io</p>
|
||||
<p>Next Generation API-first CMS</p>
|
||||
</div>
|
||||
</a>
|
||||
<a class="sponsor" href="https://www.duohui.cn/?utm_source=element&utm_medium=web&utm_campaign=element-index" target="_blank">
|
||||
<img width="45px" src="~examples/assets/images/duohui.svg" alt="duohui">
|
||||
<div>
|
||||
<p>Sponsored by 多会</p>
|
||||
<p>炫酷的新一代活动票务系统</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<div class="cards">
|
||||
<ul class="container">
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"1.4.13":"1.4","2.0.11":"2.0","2.1.0":"2.1","2.2.2":"2.2","2.3.9":"2.3","2.4.11":"2.4","2.5.4":"2.5","2.6.3":"2.6","2.7.2":"2.7","2.8.2":"2.8","2.9.2":"2.9","2.10.1":"2.10","2.11.1":"2.11","2.12.0":"2.12","2.13.2":"2.13","2.14.0":"2.14"}
|
||||
{"1.4.13":"1.4","2.0.11":"2.0","2.1.0":"2.1","2.2.2":"2.2","2.3.9":"2.3","2.4.11":"2.4","2.5.4":"2.5","2.6.3":"2.6","2.7.2":"2.7","2.8.2":"2.8","2.9.2":"2.9","2.10.1":"2.10","2.11.1":"2.11","2.12.0":"2.12","2.13.2":"2.13","2.14.1":"2.14"}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "element-ui",
|
||||
"version": "2.14.0",
|
||||
"version": "2.14.1",
|
||||
"description": "A Component Library for Vue.js.",
|
||||
"main": "lib/element-ui.common.js",
|
||||
"files": [
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
>
|
||||
<header class="el-drawer__header" id="el-drawer__title" v-if="withHeader">
|
||||
<slot name="title">
|
||||
<span role="heading" tabindex="0" :title="title">{{ title }}</span>
|
||||
<span role="heading" :title="title">{{ title }}</span>
|
||||
</slot>
|
||||
<button
|
||||
:aria-label="`close ${title || 'drawer'}`"
|
||||
@@ -49,7 +49,6 @@
|
||||
<script>
|
||||
import Popup from 'element-ui/src/utils/popup';
|
||||
import emitter from 'element-ui/src/mixins/emitter';
|
||||
import Utils from 'element-ui/src/utils/aria-utils';
|
||||
|
||||
export default {
|
||||
name: 'ElDrawer',
|
||||
@@ -133,9 +132,6 @@ export default {
|
||||
document.body.appendChild(this.$el);
|
||||
}
|
||||
this.prevActiveElement = document.activeElement;
|
||||
this.$nextTick(() => {
|
||||
Utils.focusFirstDescendant(this.$refs.drawer);
|
||||
});
|
||||
} else {
|
||||
if (!this.closed) this.$emit('close');
|
||||
this.$nextTick(() => {
|
||||
|
||||
@@ -20,14 +20,14 @@
|
||||
:type="cancelButtonType"
|
||||
@click="cancel"
|
||||
>
|
||||
{{cancelButtonText}}
|
||||
{{ displayCancelButtonText }}
|
||||
</el-button>
|
||||
<el-button
|
||||
size="mini"
|
||||
:type="confirmButtonType"
|
||||
@click="confirm"
|
||||
>
|
||||
{{confirmButtonText}}
|
||||
{{ displayConfirmButtonText }}
|
||||
</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -47,12 +47,10 @@ export default {
|
||||
type: String
|
||||
},
|
||||
confirmButtonText: {
|
||||
type: String,
|
||||
default: t('el.popconfirm.confirmButtonText')
|
||||
type: String
|
||||
},
|
||||
cancelButtonText: {
|
||||
type: String,
|
||||
default: t('el.popconfirm.cancelButtonText')
|
||||
type: String
|
||||
},
|
||||
confirmButtonType: {
|
||||
type: String,
|
||||
@@ -84,6 +82,14 @@ export default {
|
||||
visible: false
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
displayConfirmButtonText() {
|
||||
return this.confirmButtonText || t('el.popconfirm.confirmButtonText')
|
||||
},
|
||||
displayCancelButtonText() {
|
||||
return this.cancelButtonText || t('el.popconfirm.cancelButtonText')
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
confirm() {
|
||||
this.visible = false;
|
||||
|
||||
@@ -18,7 +18,9 @@
|
||||
<slot>{{ content }}</slot>
|
||||
</div>
|
||||
</transition>
|
||||
<slot name="reference"></slot>
|
||||
<span class="el-popover__reference-wrapper" ref="wrapper" >
|
||||
<slot name="reference"></slot>
|
||||
</span>
|
||||
</span>
|
||||
</template>
|
||||
<script>
|
||||
@@ -87,8 +89,8 @@ export default {
|
||||
let reference = this.referenceElm = this.reference || this.$refs.reference;
|
||||
const popper = this.popper || this.$refs.popper;
|
||||
|
||||
if (!reference && this.$slots.reference && this.$slots.reference[0]) {
|
||||
reference = this.referenceElm = this.$slots.reference[0].elm;
|
||||
if (!reference && this.$refs.wrapper.children) {
|
||||
reference = this.referenceElm = this.$refs.wrapper.children[0];
|
||||
}
|
||||
// 可访问性
|
||||
if (reference) {
|
||||
@@ -192,8 +194,8 @@ export default {
|
||||
let reference = this.reference || this.$refs.reference;
|
||||
const popper = this.popper || this.$refs.popper;
|
||||
|
||||
if (!reference && this.$slots.reference && this.$slots.reference[0]) {
|
||||
reference = this.referenceElm = this.$slots.reference[0].elm;
|
||||
if (!reference && this.$refs.wrapper.children) {
|
||||
reference = this.referenceElm = this.$refs.wrapper.children[0];
|
||||
}
|
||||
if (!this.$el ||
|
||||
!reference ||
|
||||
|
||||
@@ -145,7 +145,6 @@
|
||||
import debounce from 'throttle-debounce/debounce';
|
||||
import Clickoutside from 'element-ui/src/utils/clickoutside';
|
||||
import { addResizeListener, removeResizeListener } from 'element-ui/src/utils/resize-event';
|
||||
import { t } from 'element-ui/src/locale';
|
||||
import scrollIntoView from 'element-ui/src/utils/scroll-into-view';
|
||||
import { getValueByPath, valueEquals, isIE, isEdge } from 'element-ui/src/utils/util';
|
||||
import NavigationMixin from './navigation-mixin';
|
||||
@@ -235,6 +234,9 @@
|
||||
return ['small', 'mini'].indexOf(this.selectSize) > -1
|
||||
? 'mini'
|
||||
: 'small';
|
||||
},
|
||||
propPlaceholder() {
|
||||
return typeof this.placeholder !== 'undefined' ? this.placeholder : this.t('el.select.placeholder');
|
||||
}
|
||||
},
|
||||
|
||||
@@ -288,9 +290,7 @@
|
||||
},
|
||||
placeholder: {
|
||||
type: String,
|
||||
default() {
|
||||
return t('el.select.placeholder');
|
||||
}
|
||||
required: false
|
||||
},
|
||||
defaultFirstOption: Boolean,
|
||||
reserveKeyword: Boolean,
|
||||
@@ -339,7 +339,7 @@
|
||||
});
|
||||
},
|
||||
|
||||
placeholder(val) {
|
||||
propPlaceholder(val) {
|
||||
this.cachedPlaceHolder = this.currentPlaceholder = val;
|
||||
},
|
||||
|
||||
@@ -838,7 +838,7 @@
|
||||
},
|
||||
|
||||
created() {
|
||||
this.cachedPlaceHolder = this.currentPlaceholder = this.placeholder;
|
||||
this.cachedPlaceHolder = this.currentPlaceholder = this.propPlaceholder;
|
||||
if (this.multiple && !Array.isArray(this.value)) {
|
||||
this.$emit('input', []);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "element-theme-chalk",
|
||||
"version": "2.14.0",
|
||||
"version": "2.14.1",
|
||||
"description": "Element component chalk theme.",
|
||||
"main": "lib/index.css",
|
||||
"style": "lib/index.css",
|
||||
|
||||
@@ -119,6 +119,7 @@ $directions: rtl, ltr, ttb, btt;
|
||||
0 16px 24px 2px rgba(0, 0, 0, 0.14),
|
||||
0 6px 30px 5px rgba(0, 0, 0, 0.12);
|
||||
overflow: hidden;
|
||||
outline: 0;
|
||||
|
||||
@each $direction in $directions {
|
||||
@include animation-out($direction);
|
||||
|
||||
@@ -198,7 +198,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
||||
}
|
||||
|
||||
export default {
|
||||
version: '2.14.0',
|
||||
version: '2.14.1',
|
||||
locale: locale.use,
|
||||
i18n: locale.i18n,
|
||||
install,
|
||||
|
||||
@@ -112,8 +112,8 @@ export default {
|
||||
title: 'عودة'
|
||||
},
|
||||
popconfirm: {
|
||||
confirmButtonText: 'Yes', // to be translated
|
||||
cancelButtonText: 'No' // to be translated
|
||||
confirmButtonText: 'تأكيد',
|
||||
cancelButtonText: 'إلغاء'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -107,14 +107,14 @@ export default {
|
||||
hasCheckedFormat: 'تاللانغىنى {checked}/{total} تۈر'
|
||||
},
|
||||
image: {
|
||||
error: 'FAILED' // to be translated
|
||||
error: 'مەغلۇب بولدى'
|
||||
},
|
||||
pageHeader: {
|
||||
title: 'Back' // to be translated
|
||||
title: 'قايتىش'
|
||||
},
|
||||
popconfirm: {
|
||||
confirmButtonText: 'Yes', // to be translated
|
||||
cancelButtonText: 'No' // to be translated
|
||||
confirmButtonText: 'ھەئە',
|
||||
cancelButtonText: 'ياق'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user