mirror of https://github.com/ElemeFE/element
Merge branch 'ElemeFE:dev' into dev
commit
a326fd7159
|
@ -1,5 +1,69 @@
|
|||
## Changelog
|
||||
|
||||
### 2.15.9
|
||||
|
||||
*2022-06-02*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Table
|
||||
- Fix Tabl-header shake bug (#21863 by @bofeng)
|
||||
- Fix when partial import show `el-checkbox not imported` error (#21828 by @bobohuochai)
|
||||
- FormItem
|
||||
- Fix change rules verification not reset bug (#21892 by @bofeng)
|
||||
- Cascader
|
||||
- Fix change options unexpect error (#21759 by @louiebb)
|
||||
- Docs
|
||||
- Fix Popover docs (#21843 by @lod61)
|
||||
- Fix Calendar docs (#21814 by @GoJam11)
|
||||
- Fix TimePicker docs (#21803 by @Alanscut)
|
||||
- Fix DatePicker docs (#21877 by @Nirvanaiu)
|
||||
- 其他
|
||||
- Fix codepen display bug (#21863 by @bofeng)
|
||||
|
||||
#### Optimization
|
||||
|
||||
- I18n
|
||||
- Add translation of Swahili (#21895 by @quilltouch)
|
||||
- Chore
|
||||
- Use launch-editor-middleware in dev environment (#21633 by @polemices)
|
||||
- DatePicker & Cascader
|
||||
- Optimize the dropdown animation direction (#21806 by @XivLaw)
|
||||
- Tooltip
|
||||
- Optimize `getFirstElement` code (#21886 by @zhankang)
|
||||
- Input
|
||||
- Optimize scss code (#21558 by @cheese-git)
|
||||
|
||||
### 2.15.8
|
||||
|
||||
*2022-04-12*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Drawer
|
||||
- Fix appendToBody failure problem (#21264 by @cs1707)
|
||||
- Switch
|
||||
- Fix toggling value problem(#19473 by @EdwinBetanc0urt)
|
||||
- Docs
|
||||
- Fix input docs (#21723 by @justforuse)
|
||||
- Fix DatePicker docs (#21663 by @justforuse)
|
||||
- Fix Skeleton docs (#21601 by @yanwydxf)
|
||||
- Others
|
||||
- Fix vue version (#21736 by @ckvv)
|
||||
|
||||
#### Optimization
|
||||
|
||||
- I18n
|
||||
- add translation of Azerbaijani (#21012 by @ricardotondello)
|
||||
- update translation of Slovenian (#21729 by @patik123)
|
||||
- update translation of Slovak (#21711 by @sjaustirni )
|
||||
- add translation of Icelandic (#21709 by @aronhr)
|
||||
- add translation of Bengali (#21485 by @llwwtt)
|
||||
|
||||
#### Others
|
||||
|
||||
- Due to compatibility considerations, the PR on node-sass (#21019 by @linxsbox) of 2.15.7 release has been withdrawn and will be published in an appropriate version after re-evaluation.
|
||||
|
||||
### 2.15.7
|
||||
|
||||
*2021-11-18*
|
||||
|
|
|
@ -1,5 +1,69 @@
|
|||
## Changelog
|
||||
|
||||
### 2.15.9
|
||||
|
||||
*2022-06-02*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Table
|
||||
- Fix Tabl-header shake bug (#21863 by @bofeng)
|
||||
- Fix when partial import show `el-checkbox not imported` error (#21828 by @bobohuochai)
|
||||
- FormItem
|
||||
- Fix change rules verification not reset bug (#21892 by @bofeng)
|
||||
- Cascader
|
||||
- Fix change options unexpect error (#21759 by @louiebb)
|
||||
- Docs
|
||||
- Fix Popover docs (#21843 by @lod61)
|
||||
- Fix Calendar docs (#21814 by @GoJam11)
|
||||
- Fix TimePicker docs (#21803 by @Alanscut)
|
||||
- Fix DatePicker docs (#21877 by @Nirvanaiu)
|
||||
- 其他
|
||||
- Fix codepen display bug (#21863 by @bofeng)
|
||||
|
||||
#### Optimization
|
||||
|
||||
- I18n
|
||||
- Add translation of Swahili (#21895 by @quilltouch)
|
||||
- Chore
|
||||
- Use launch-editor-middleware in dev environment (#21633 by @polemices)
|
||||
- DatePicker & Cascader
|
||||
- Optimize the dropdown animation direction (#21806 by @XivLaw)
|
||||
- Tooltip
|
||||
- Optimize `getFirstElement` code (#21886 by @zhankang)
|
||||
- Input
|
||||
- Optimize scss code (#21558 by @cheese-git)
|
||||
|
||||
### 2.15.8
|
||||
|
||||
*2022-04-12*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Drawer
|
||||
- Fix appendToBody failure problem (#21264 by @cs1707)
|
||||
- Switch
|
||||
- Fix toggling value problem(#19473 by @EdwinBetanc0urt)
|
||||
- Docs
|
||||
- Fix input docs (#21723 by @justforuse)
|
||||
- Fix DatePicker docs (#21663 by @justforuse)
|
||||
- Fix Skeleton docs (#21601 by @yanwydxf)
|
||||
- Others
|
||||
- Fix vue version (#21736 by @ckvv)
|
||||
|
||||
#### Optimization
|
||||
|
||||
- I18n
|
||||
- add translation of Azerbaijani (#21012 by @ricardotondello)
|
||||
- update translation of Slovenian (#21729 by @patik123)
|
||||
- update translation of Slovak (#21711 by @sjaustirni )
|
||||
- add translation of Icelandic (#21709 by @aronhr)
|
||||
- add translation of Bengali (#21485 by @llwwtt)
|
||||
|
||||
#### Others
|
||||
|
||||
- Due to compatibility considerations, the PR on node-sass (#21019 by @linxsbox) of 2.15.7 release has been withdrawn and will be published in an appropriate version after re-evaluation.
|
||||
|
||||
### 2.15.7
|
||||
|
||||
*2021-11-18*
|
||||
|
|
|
@ -1,5 +1,69 @@
|
|||
## Changelog
|
||||
|
||||
### 2.15.9
|
||||
|
||||
*2022-06-02*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Table
|
||||
- Fix Tabl-header shake bug (#21863 by @bofeng)
|
||||
- Fix when partial import show `el-checkbox not imported` error (#21828 by @bobohuochai)
|
||||
- FormItem
|
||||
- Fix change rules verification not reset bug (#21892 by @bofeng)
|
||||
- Cascader
|
||||
- Fix change options unexpect error (#21759 by @louiebb)
|
||||
- Docs
|
||||
- Fix Popover docs (#21843 by @lod61)
|
||||
- Fix Calendar docs (#21814 by @GoJam11)
|
||||
- Fix TimePicker docs (#21803 by @Alanscut)
|
||||
- Fix DatePicker docs (#21877 by @Nirvanaiu)
|
||||
- 其他
|
||||
- Fix codepen display bug (#21863 by @bofeng)
|
||||
|
||||
#### Optimization
|
||||
|
||||
- I18n
|
||||
- Add translation of Swahili (#21895 by @quilltouch)
|
||||
- Chore
|
||||
- Use launch-editor-middleware in dev environment (#21633 by @polemices)
|
||||
- DatePicker & Cascader
|
||||
- Optimize the dropdown animation direction (#21806 by @XivLaw)
|
||||
- Tooltip
|
||||
- Optimize `getFirstElement` code (#21886 by @zhankang)
|
||||
- Input
|
||||
- Optimize scss code (#21558 by @cheese-git)
|
||||
|
||||
### 2.15.8
|
||||
|
||||
*2022-04-12*
|
||||
|
||||
#### Bug fixes
|
||||
|
||||
- Drawer
|
||||
- Fix appendToBody failure problem (#21264 by @cs1707)
|
||||
- Switch
|
||||
- Fix toggling value problem(#19473 by @EdwinBetanc0urt)
|
||||
- Docs
|
||||
- Fix input docs (#21723 by @justforuse)
|
||||
- Fix DatePicker docs (#21663 by @justforuse)
|
||||
- Fix Skeleton docs (#21601 by @yanwydxf)
|
||||
- Others
|
||||
- Fix vue version (#21736 by @ckvv)
|
||||
|
||||
#### Optimization
|
||||
|
||||
- I18n
|
||||
- add translation of Azerbaijani (#21012 by @ricardotondello)
|
||||
- update translation of Slovenian (#21729 by @patik123)
|
||||
- update translation of Slovak (#21711 by @sjaustirni )
|
||||
- add translation of Icelandic (#21709 by @aronhr)
|
||||
- add translation of Bengali (#21485 by @llwwtt)
|
||||
|
||||
#### Others
|
||||
|
||||
- Due to compatibility considerations, the PR on node-sass (#21019 by @linxsbox) of 2.15.7 release has been withdrawn and will be published in an appropriate version after re-evaluation.
|
||||
|
||||
### 2.15.7
|
||||
|
||||
*2021-11-18*
|
||||
|
|
|
@ -1,5 +1,69 @@
|
|||
## 更新日志
|
||||
|
||||
### 2.15.9
|
||||
|
||||
*2022-06-02*
|
||||
|
||||
#### Bug 修复
|
||||
|
||||
- Table
|
||||
- 表头抖动修复 (#21863 by @bofeng)
|
||||
- 按需引用时 `el-checkbox not imported` 修复 (#21828 by @bobohuochai)
|
||||
- FormItem
|
||||
- 修复 rules 切换为 null 时校验未重置 问题 (#21892 by @bofeng)
|
||||
- Cascader
|
||||
- 修复 切换 options 时错误报错信息 问题 (#21759 by @louiebb)
|
||||
- Docs
|
||||
- 修复 Popover 文案 (#21843 by @lod61)
|
||||
- 修复 Calendar 文案 (#21814 by @GoJam11)
|
||||
- 修复 TimePicker 文案 (#21803 by @Alanscut)
|
||||
- 修复 DatePicker 文案 (#21877 by @Nirvanaiu)
|
||||
- 其他
|
||||
- 官网在线演示功能修复 (#21863 by @bofeng)
|
||||
|
||||
#### 优化
|
||||
|
||||
- I18n
|
||||
- 新增 斯瓦希里语 翻译 (#21895 by @quilltouch)
|
||||
- Chore
|
||||
- 本地开发时可从 devTools 工具跳转源代码 (#21633 by @polemices)
|
||||
- DatePicker & Cascader
|
||||
- 弹窗方向优化 (#21806 by @XivLaw)
|
||||
- Tooltip
|
||||
- 优化 `getFirstElement` 代码 (#21886 by @zhankang)
|
||||
- Input
|
||||
- 优化 scss 代码 (#21558 by @cheese-git)
|
||||
|
||||
### 2.15.8
|
||||
|
||||
*2022-04-12*
|
||||
|
||||
#### Bug 修复
|
||||
|
||||
- Drawer
|
||||
- 修复 appendToBody 失效问题 (#21264 by @cs1707)
|
||||
- Switch
|
||||
- 修复 toggling value 问题(#19473 by @EdwinBetanc0urt)
|
||||
- Docs
|
||||
- 修复 input 文案 (#21723 by @justforuse)
|
||||
- 修复 DatePicker 文案 (#21663 by @justforuse)
|
||||
- 修复 Skeleton 文案 (#21601 by @yanwydxf)
|
||||
- 其他
|
||||
- 修复 vue 版本(#21736 by @ckvv)
|
||||
|
||||
#### 优化
|
||||
|
||||
- I18n
|
||||
- 新增 阿塞拜疆语 翻译 (#21012 by @ricardotondello)
|
||||
- 更新 斯洛文尼亚语 翻译 (#21729 by @patik123)
|
||||
- 更新 斯洛伐克语 翻译 (#21711 by @sjaustirni )
|
||||
- 新增 冰岛语 的翻译 (#21709 by @aronhr)
|
||||
- 新增 孟加拉 语的翻译 (#21485 by @llwwtt)
|
||||
|
||||
#### 其他
|
||||
|
||||
- 因兼容性考虑,撤回2.15.7关于node-sass的更新(#21019 by @linxsbox),重新评估后会在后续合适版本上线
|
||||
|
||||
### 2.15.7
|
||||
|
||||
*2021-11-18*
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
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
|
||||
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)
|
||||
|
||||
## Links
|
||||
- Homepage and documentation
|
||||
|
|
|
@ -7,6 +7,7 @@ const ProgressBarPlugin = require('progress-bar-webpack-plugin');
|
|||
const VueLoaderPlugin = require('vue-loader/lib/plugin');
|
||||
const OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');
|
||||
const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
|
||||
const launchEditorMiddleware = require('launch-editor-middleware');
|
||||
|
||||
const config = require('./config');
|
||||
|
||||
|
@ -33,7 +34,16 @@ const webpackConfig = {
|
|||
host: '0.0.0.0',
|
||||
port: 8085,
|
||||
publicPath: '/',
|
||||
hot: true
|
||||
hot: true,
|
||||
before: (app) => {
|
||||
/*
|
||||
* 编辑器类型 :此处的指令表示的时各个各个编辑器在cmd或terminal中的命令
|
||||
* webstorm
|
||||
* code // vscode
|
||||
* idea
|
||||
*/
|
||||
app.use('/__open-in-editor', launchEditorMiddleware('code'));
|
||||
}
|
||||
},
|
||||
performance: {
|
||||
hints: false
|
||||
|
|
|
@ -205,7 +205,7 @@
|
|||
goCodepen() {
|
||||
// since 2.6.2 use code rather than jsfiddle https://blog.codepen.io/documentation/api/prefill/
|
||||
const { script, html, style } = this.codepen;
|
||||
const resourcesTpl = '<scr' + 'ipt src="//unpkg.com/vue/dist/vue.js"></scr' + 'ipt>' +
|
||||
const resourcesTpl = '<scr' + 'ipt src="//unpkg.com/vue@2/dist/vue.js"></scr' + 'ipt>' +
|
||||
'\n<scr' + `ipt src="//unpkg.com/element-ui@${ version }/lib/index.js"></scr` + 'ipt>';
|
||||
let jsTpl = (script || '').replace(/export default/, 'var Main =').trim();
|
||||
let htmlTpl = `${resourcesTpl}\n<div id="app">\n${html.trim()}\n</div>`;
|
||||
|
|
|
@ -476,7 +476,7 @@ Custom validate callback function must be called. See more advanced usage at [as
|
|||
{ type: 'number', message: 'age must be a number'}
|
||||
]"
|
||||
>
|
||||
<el-input type="age" v-model.number="numberValidateForm.age" autocomplete="off"></el-input>
|
||||
<el-input v-model.number="numberValidateForm.age" autocomplete="off"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="submitForm('numberValidateForm')">Submit</el-button>
|
||||
|
|
|
@ -144,7 +144,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
|
|||
## Import via CDN
|
||||
|
||||
```html
|
||||
<script src="//unpkg.com/vue"></script>
|
||||
<script src="//unpkg.com/vue@2"></script>
|
||||
<script src="//unpkg.com/element-ui"></script>
|
||||
<script src="//unpkg.com/element-ui/lib/umd/locale/en.js"></script>
|
||||
|
||||
|
@ -156,7 +156,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
|
|||
Compatible with `vue-i18n`
|
||||
|
||||
```html
|
||||
<script src="//unpkg.com/vue"></script>
|
||||
<script src="//unpkg.com/vue@2"></script>
|
||||
<script src="//unpkg.com/vue-i18n/dist/vue-i18n.js"></script>
|
||||
<script src="//unpkg.com/element-ui"></script>
|
||||
<script src="//unpkg.com/element-ui/lib/umd/locale/zh-CN.js"></script>
|
||||
|
|
|
@ -263,7 +263,7 @@ export default {
|
|||
|
||||
### Sizes
|
||||
|
||||
:::demo Add `size` attribute to change the size of Input. In addition to the default size, there are three other options: `large`, `small` and `mini`.
|
||||
:::demo Add `size` attribute to change the size of Input. In addition to the default size, there are three other options: `medium`, `small` and `mini`.
|
||||
```html
|
||||
<div class="demo-input-size">
|
||||
<el-input
|
||||
|
|
|
@ -25,11 +25,11 @@ We recommend our users to lock Element's version when using CDN. Please refer to
|
|||
|
||||
### Hello world
|
||||
|
||||
If you are using CDN, a hello-world page is easy with Element. [Online Demo](https://codepen.io/ziyoung/pen/rRKYpd)
|
||||
If you are using CDN, a hello-world page is easy with Element. [Online Demo](https://codepen.io/bofeng/pen/poaEmJY)
|
||||
|
||||
<iframe height="265" style="width: 100%;" scrolling="no" title="Element demo" src="//codepen.io/ziyoung/embed/rRKYpd/?height=265&theme-id=light&default-tab=html" frameborder="no" allowtransparency="true" allowfullscreen="true">
|
||||
See the Pen <a href='https://codepen.io/ziyoung/pen/rRKYpd/'>Element demo</a> by hetech
|
||||
(<a href='https://codepen.io/ziyoung'>@ziyoung</a>) on <a href='https://codepen.io'>CodePen</a>.
|
||||
<iframe height="265" style="width: 100%;" scrolling="no" title="Element demo" src="//codepen.io/bofeng/embed/poaEmJY/?height=265&theme-id=light&default-tab=html" frameborder="no" allowtransparency="true" allowfullscreen="true">
|
||||
See the Pen <a href='https://codepen.io/bofeng/pen/poaEmJY/'>Element demo</a> by hetech
|
||||
(<a href='https://codepen.io/bofeng'>@bofeng</a>) on <a href='https://codepen.io'>CodePen</a>.
|
||||
</iframe>
|
||||
|
||||
If you are using npm and wish to apply webpack, please continue to the next page: [Quick Start](/#/en-US/component/quickstart).
|
||||
|
|
|
@ -485,7 +485,7 @@ Se debe llamar a la función de validación de llamada de retorno personalizada.
|
|||
{ type: 'number', message: 'age must be a number'}
|
||||
]"
|
||||
>
|
||||
<el-input type="age" v-model.number="numberValidateForm.age" autocomplete="off"></el-input>
|
||||
<el-input v-model.number="numberValidateForm.age" autocomplete="off"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="submitForm('numberValidateForm')">Submit</el-button>
|
||||
|
|
|
@ -144,7 +144,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
|
|||
## Importar via CDN
|
||||
|
||||
```html
|
||||
<script src="//unpkg.com/vue"></script>
|
||||
<script src="//unpkg.com/vue@2"></script>
|
||||
<script src="//unpkg.com/element-ui"></script>
|
||||
<script src="//unpkg.com/element-ui/lib/umd/locale/en.js"></script>
|
||||
|
||||
|
@ -156,7 +156,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
|
|||
Compatible con `vue-i18n`
|
||||
|
||||
```html
|
||||
<script src="//unpkg.com/vue"></script>
|
||||
<script src="//unpkg.com/vue@2"></script>
|
||||
<script src="//unpkg.com/vue-i18n/dist/vue-i18n.js"></script>
|
||||
<script src="//unpkg.com/element-ui"></script>
|
||||
<script src="//unpkg.com/element-ui/lib/umd/locale/zh-CN.js"></script>
|
||||
|
|
|
@ -269,7 +269,7 @@ export default {
|
|||
|
||||
### Tamaño
|
||||
|
||||
:::demo Añada el atributo `size` para cambiar el tamaño del Input. Además del tamaño predeterminado, hay otras tres opciones: `large`, `small` y `mini`.
|
||||
:::demo Añada el atributo `size` para cambiar el tamaño del Input. Además del tamaño predeterminado, hay otras tres opciones: `medium`, `small` y `mini`.
|
||||
|
||||
```html
|
||||
<div class="demo-input-size">
|
||||
|
|
|
@ -24,11 +24,11 @@ Recomendamos a nuestros usuarios congelar la versión de Element cuando usas un
|
|||
|
||||
### Hello world
|
||||
|
||||
Si esta usando un CDN, una página con Hello-World es fácil con Element. [Online Demo](https://codepen.io/ziyoung/pen/rRKYpd)
|
||||
Si esta usando un CDN, una página con Hello-World es fácil con Element. [Online Demo](https://codepen.io/bofeng/pen/poaEmJY)
|
||||
|
||||
<iframe height="265" style="width: 100%;" scrolling="no" title="Element demo" src="//codepen.io/ziyoung/embed/rRKYpd/?height=265&theme-id=light&default-tab=html,result" frameborder="no" allowtransparency="true" allowfullscreen="true">
|
||||
See the Pen <a href='https://codepen.io/ziyoung/pen/rRKYpd/'>Element demo</a> by hetech
|
||||
(<a href='https://codepen.io/ziyoung'>@ziyoung</a>) on <a href='https://codepen.io'>CodePen</a>.
|
||||
<iframe height="265" style="width: 100%;" scrolling="no" title="Element demo" src="//codepen.io/bofeng/embed/poaEmJY/?height=265&theme-id=light&default-tab=html,result" frameborder="no" allowtransparency="true" allowfullscreen="true">
|
||||
See the Pen <a href='https://codepen.io/bofeng/pen/poaEmJY/'>Element demo</a> by hetech
|
||||
(<a href='https://codepen.io/bofeng'>@bofeng</a>) on <a href='https://codepen.io'>CodePen</a>.
|
||||
</iframe>
|
||||
|
||||
Si esta usando npm y desea combinarlo con webpack, por favor continué a la siguiente página: [Quick Start](/#/es/component/quickstart)
|
||||
|
|
|
@ -475,7 +475,7 @@ Les callback de validations personnalisées doivent être appelées. Un usage pl
|
|||
{ type: 'number', message: 'l\'âge doit être un nombre'}
|
||||
]"
|
||||
>
|
||||
<el-input type="age" v-model.number="numberValidateForm.age" autocomplete="off"></el-input>
|
||||
<el-input v-model.number="numberValidateForm.age" autocomplete="off"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="submitForm('numberValidateForm')">Soumettre</el-button>
|
||||
|
|
|
@ -147,7 +147,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
|
|||
## Import via un CDN
|
||||
|
||||
```html
|
||||
<script src="//unpkg.com/vue"></script>
|
||||
<script src="//unpkg.com/vue@2"></script>
|
||||
<script src="//unpkg.com/element-ui"></script>
|
||||
<script src="//unpkg.com/element-ui/lib/umd/locale/en.js"></script>
|
||||
|
||||
|
@ -159,7 +159,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
|
|||
Compatible avec `vue-i18n`
|
||||
|
||||
```html
|
||||
<script src="//unpkg.com/vue"></script>
|
||||
<script src="//unpkg.com/vue@2"></script>
|
||||
<script src="//unpkg.com/vue-i18n/dist/vue-i18n.js"></script>
|
||||
<script src="//unpkg.com/element-ui"></script>
|
||||
<script src="//unpkg.com/element-ui/lib/umd/locale/zh-CN.js"></script>
|
||||
|
|
|
@ -262,7 +262,7 @@ export default {
|
|||
|
||||
### Tailles
|
||||
|
||||
:::demo Ajoutez l'attribut `size` pour changer la taille de l'input. En plus de la taille par défaut, il y a trois autres options: `large`, `small` et `mini`.
|
||||
:::demo Ajoutez l'attribut `size` pour changer la taille de l'input. En plus de la taille par défaut, il y a trois autres options: `medium`, `small` et `mini`.
|
||||
```html
|
||||
<div class="demo-input-size">
|
||||
<el-input
|
||||
|
|
|
@ -25,11 +25,11 @@ Il est recommandé de fixer la version d'Element lors de l'utilisation du CDN. R
|
|||
|
||||
### Hello world
|
||||
|
||||
Si vous utilisez un CDN, une page hello-world peut être obtenue facilement avec Element ([démo en ligne](https://codepen.io/ziyoung/pen/rRKYpd)).
|
||||
Si vous utilisez un CDN, une page hello-world peut être obtenue facilement avec Element ([démo en ligne](https://codepen.io/bofeng/pen/poaEmJY)).
|
||||
|
||||
<iframe height="265" style="width: 100%;" scrolling="no" title="Element demo" src="//codepen.io/ziyoung/embed/rRKYpd/?height=265&theme-id=light&default-tab=html" frameborder="no" allowtransparency="true" allowfullscreen="true">
|
||||
See the Pen <a href='https://codepen.io/ziyoung/pen/rRKYpd/'>Element demo</a> by hetech
|
||||
(<a href='https://codepen.io/ziyoung'>@ziyoung</a>) on <a href='https://codepen.io'>CodePen</a>.
|
||||
<iframe height="265" style="width: 100%;" scrolling="no" title="Element demo" src="//codepen.io/bofeng/embed/poaEmJY/?height=265&theme-id=light&default-tab=html" frameborder="no" allowtransparency="true" allowfullscreen="true">
|
||||
See the Pen <a href='https://codepen.io/bofeng/pen/poaEmJY/'>Element demo</a> by hetech
|
||||
(<a href='https://codepen.io/bofeng'>@bofeng</a>) on <a href='https://codepen.io'>CodePen</a>.
|
||||
</iframe>
|
||||
|
||||
Si vous utilisez npm et souhaitez ajouter webpack, continuez sur la page suivante: [Démarrer](/#/fr-FR/component/quickstart).
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
## Calendar calendar
|
||||
## Calendar 日历
|
||||
|
||||
显示日期
|
||||
|
||||
|
|
|
@ -273,7 +273,7 @@
|
|||
|
||||
使用`format`指定输入框的格式;使用`value-format`指定绑定值的格式。
|
||||
|
||||
默认情况下,组件接受并返回`Date`对象。以下为可用的格式化字串,以 UTC 2017年1月2日 03:04:05 为例:
|
||||
默认情况下,组件接受并返回`Date`对象。以下为可用的格式化字符串,以 UTC 2017年1月2日 03:04:05 为例:
|
||||
|
||||
:::warning
|
||||
请注意大小写
|
||||
|
|
|
@ -470,7 +470,7 @@ W3C 标准中有如下[规定](https://www.w3.org/MarkUp/html-spec/html-spec_8.h
|
|||
{ type: 'number', message: '年龄必须为数字值'}
|
||||
]"
|
||||
>
|
||||
<el-input type="age" v-model.number="numberValidateForm.age" autocomplete="off"></el-input>
|
||||
<el-input v-model.number="numberValidateForm.age" autocomplete="off"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="submitForm('numberValidateForm')">提交</el-button>
|
||||
|
|
|
@ -146,7 +146,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
|
|||
## 通过 CDN 的方式加载语言文件
|
||||
|
||||
```html
|
||||
<script src="//unpkg.com/vue"></script>
|
||||
<script src="//unpkg.com/vue@2"></script>
|
||||
<script src="//unpkg.com/element-ui"></script>
|
||||
<script src="//unpkg.com/element-ui/lib/umd/locale/en.js"></script>
|
||||
|
||||
|
@ -158,7 +158,7 @@ ElementLocale.i18n((key, value) => i18n.t(key, value))
|
|||
搭配 `vue-i18n` 使用
|
||||
|
||||
```html
|
||||
<script src="//unpkg.com/vue"></script>
|
||||
<script src="//unpkg.com/vue@2"></script>
|
||||
<script src="//unpkg.com/vue-i18n/dist/vue-i18n.js"></script>
|
||||
<script src="//unpkg.com/element-ui"></script>
|
||||
<script src="//unpkg.com/element-ui/lib/umd/locale/zh-CN.js"></script>
|
||||
|
|
|
@ -250,7 +250,7 @@ export default {
|
|||
|
||||
### 尺寸
|
||||
|
||||
:::demo 可通过 `size` 属性指定输入框的尺寸,除了默认的大小外,还提供了 large、small 和 mini 三种尺寸。
|
||||
:::demo 可通过 `size` 属性指定输入框的尺寸,除了默认的大小外,还提供了 medium、small 和 mini 三种尺寸。
|
||||
```html
|
||||
<div class="demo-input-size">
|
||||
<el-input
|
||||
|
|
|
@ -25,11 +25,11 @@ npm i element-ui -S
|
|||
|
||||
### Hello world
|
||||
|
||||
通过 CDN 的方式我们可以很容易地使用 Element 写出一个 Hello world 页面。[在线演示](https://codepen.io/ziyoung/pen/rRKYpd)
|
||||
通过 CDN 的方式我们可以很容易地使用 Element 写出一个 Hello world 页面。[在线演示](https://codepen.io/bofeng/pen/poaEmJY)
|
||||
|
||||
<iframe height="265" style="width: 100%;" scrolling="no" title="Element demo" src="//codepen.io/ziyoung/embed/rRKYpd/?height=265&theme-id=light&default-tab=html" frameborder="no" allowtransparency="true" allowfullscreen="true">
|
||||
See the Pen <a href='https://codepen.io/ziyoung/pen/rRKYpd/'>Element demo</a> by hetech
|
||||
(<a href='https://codepen.io/ziyoung'>@ziyoung</a>) on <a href='https://codepen.io'>CodePen</a>.
|
||||
<iframe height="265" style="width: 100%;" scrolling="no" title="Element demo" src="//codepen.io/bofeng/embed/poaEmJY/?height=265&theme-id=light&default-tab=html" frameborder="no" allowtransparency="true" allowfullscreen="true">
|
||||
See the Pen <a href='https://codepen.io/bofeng/pen/poaEmJY/'>Element demo</a> by hetech
|
||||
(<a href='https://codepen.io/bofeng'>@bofeng</a>) on <a href='https://codepen.io'>CodePen</a>.
|
||||
</iframe>
|
||||
|
||||
如果是通过 npm 安装,并希望配合 webpack 使用,请阅读下一节:[快速上手](/#/zh-CN/component/quickstart)。
|
||||
|
|
|
@ -146,7 +146,7 @@ Popover 的属性与 Tooltip 很类似,它们都是基于`Vue-popper`开发的
|
|||
| offset | 出现位置的偏移量 | Number | — | 0 |
|
||||
| transition | 定义渐变动画 | String | — | fade-in-linear |
|
||||
| visible-arrow | 是否显示 Tooltip 箭头,更多参数可见[Vue-popper](https://github.com/element-component/vue-popper) | Boolean | — | true |
|
||||
| popper-options | [popper.js](https://popper.js.org/documentation.html) 的参数 | Object | 参考 [popper.js](https://popper.js.org/documentation.html) 文档 | `{ boundariesElement: 'body', gpuAcceleration: false }` |
|
||||
| popper-options | [popper.js](https://popper.js.org/) 的参数 | Object | 参考 [popper.js](https://popper.js.org/) 文档 | `{ boundariesElement: 'body', gpuAcceleration: false }` |
|
||||
| popper-class | 为 popper 添加类名 | String | — | — |
|
||||
| open-delay | 触发方式为 hover 时的显示延迟,单位为毫秒 | Number | — | — |
|
||||
| close-delay | 触发方式为 hover 时的隐藏延迟,单位为毫秒 | number | — | 200 |
|
||||
|
|
|
@ -306,7 +306,7 @@ Element 提供的排版模式有时候并不满足要求,当您想要用自己
|
|||
|
||||
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|
||||
| ------- | ------------------------ | ------------ | -------------------------------------------------------------------- | ------ |
|
||||
| variant | 当前显示的占位元素的样式 | Enum(string) | p / text / h1 / h3 / text / caption / button / image / circle / rect | text |
|
||||
| variant | 当前显示的占位元素的样式 | Enum(string) | p / h1 / h3 / text / caption / button / image / circle / rect | text |
|
||||
|
||||
### Skeleton Slots
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
## TimePicker 时间选择器
|
||||
|
||||
用于选择或输入日期
|
||||
用于选择或输入时间
|
||||
|
||||
### 固定时间点
|
||||
|
||||
|
|
|
@ -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.1":"2.14","2.15.7":"2.15"}
|
||||
{"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","2.15.9":"2.15"}
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "element-ui",
|
||||
"version": "2.15.7",
|
||||
"version": "2.15.9",
|
||||
"description": "A Component Library for Vue.js.",
|
||||
"main": "lib/element-ui.common.js",
|
||||
"files": [
|
||||
|
@ -102,7 +102,7 @@
|
|||
"gulp": "^4.0.0",
|
||||
"gulp-autoprefixer": "^6.0.0",
|
||||
"gulp-cssmin": "^0.2.0",
|
||||
"gulp-dart-sass": "^1.0.2",
|
||||
"gulp-sass": "^4.0.2",
|
||||
"highlight.js": "^9.3.0",
|
||||
"html-webpack-plugin": "^3.2.0",
|
||||
"json-loader": "^0.5.7",
|
||||
|
@ -115,18 +115,19 @@
|
|||
"karma-sourcemap-loader": "^0.3.7",
|
||||
"karma-spec-reporter": "^0.0.32",
|
||||
"karma-webpack": "^3.0.5",
|
||||
"launch-editor-middleware": "^2.3.0",
|
||||
"markdown-it": "^8.4.1",
|
||||
"markdown-it-anchor": "^5.0.2",
|
||||
"markdown-it-chain": "^1.3.0",
|
||||
"markdown-it-container": "^2.0.0",
|
||||
"mini-css-extract-plugin": "^0.4.1",
|
||||
"mocha": "^6.0.2",
|
||||
"node-sass": "^4.11.0",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
||||
"postcss": "^7.0.14",
|
||||
"progress-bar-webpack-plugin": "^1.11.0",
|
||||
"rimraf": "^2.5.4",
|
||||
"sass": "^1.34.0",
|
||||
"sass-loader": "^10.1.1",
|
||||
"sass-loader": "^7.1.0",
|
||||
"select-version-cli": "^0.0.2",
|
||||
"sinon": "^7.2.7",
|
||||
"sinon-chai": "^3.3.0",
|
||||
|
|
|
@ -136,6 +136,10 @@ export default {
|
|||
},
|
||||
|
||||
watch: {
|
||||
value() {
|
||||
this.syncCheckedValue();
|
||||
this.checkStrictly && this.calculateCheckedNodePaths();
|
||||
},
|
||||
options: {
|
||||
handler: function() {
|
||||
this.initStore();
|
||||
|
@ -143,10 +147,6 @@ export default {
|
|||
immediate: true,
|
||||
deep: true
|
||||
},
|
||||
value() {
|
||||
this.syncCheckedValue();
|
||||
this.checkStrictly && this.calculateCheckedNodePaths();
|
||||
},
|
||||
checkedValue(val) {
|
||||
if (!isEqual(val, this.value)) {
|
||||
this.checkStrictly && this.calculateCheckedNodePaths();
|
||||
|
|
|
@ -159,7 +159,8 @@ const PopperMixin = {
|
|||
arrowOffset: Popper.props.arrowOffset,
|
||||
offset: Popper.props.offset,
|
||||
boundariesPadding: Popper.props.boundariesPadding,
|
||||
popperOptions: Popper.props.popperOptions
|
||||
popperOptions: Popper.props.popperOptions,
|
||||
transformOrigin: Popper.props.transformOrigin
|
||||
},
|
||||
methods: Popper.methods,
|
||||
data: Popper.data,
|
||||
|
|
|
@ -218,16 +218,16 @@
|
|||
},
|
||||
|
||||
bindScrollEvent() {
|
||||
const bindFuntion = (type) => {
|
||||
const bindFunction = (type) => {
|
||||
this.$refs[type].wrap.onscroll = (e) => {
|
||||
// TODO: scroll is emitted when set scrollTop programatically
|
||||
// should find better solutions in the future!
|
||||
this.handleScroll(type, e);
|
||||
};
|
||||
};
|
||||
bindFuntion('hours');
|
||||
bindFuntion('minutes');
|
||||
bindFuntion('seconds');
|
||||
bindFunction('hours');
|
||||
bindFunction('minutes');
|
||||
bindFunction('seconds');
|
||||
},
|
||||
|
||||
handleScroll(type) {
|
||||
|
|
|
@ -97,7 +97,9 @@ const NewPopper = {
|
|||
appendToBody: Popper.props.appendToBody,
|
||||
offset: Popper.props.offset,
|
||||
boundariesPadding: Popper.props.boundariesPadding,
|
||||
arrowOffset: Popper.props.arrowOffset
|
||||
arrowOffset: Popper.props.arrowOffset,
|
||||
placement: Popper.props.placement,
|
||||
transformOrigin: Popper.props.transformOrigin
|
||||
},
|
||||
methods: Popper.methods,
|
||||
data() {
|
||||
|
|
|
@ -95,6 +95,11 @@
|
|||
},
|
||||
validateStatus(value) {
|
||||
this.validateState = value;
|
||||
},
|
||||
rules(value) {
|
||||
if ((!value || value.length === 0) && this.required === undefined) {
|
||||
this.clearValidate();
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
|
@ -134,7 +134,9 @@
|
|||
this.$nextTick(() => {
|
||||
// set input's checked property
|
||||
// in case parent refuses to change component's value
|
||||
if (this.$refs.input) {
|
||||
this.$refs.input.checked = this.checked;
|
||||
}
|
||||
});
|
||||
},
|
||||
setBackgroundColor() {
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import ElCheckbox from 'element-ui/packages/checkbox';
|
||||
export default {
|
||||
name: 'ElTableRow',
|
||||
props: [
|
||||
|
@ -20,6 +21,9 @@ export default {
|
|||
'handleCellMouseEnter',
|
||||
'fixed'
|
||||
],
|
||||
components: {
|
||||
ElCheckbox
|
||||
},
|
||||
render() {
|
||||
const {
|
||||
columns,
|
||||
|
|
|
@ -412,7 +412,7 @@
|
|||
},
|
||||
|
||||
// TODO 使用 CSS transform
|
||||
syncPostion: throttle(20, function() {
|
||||
syncPostion() {
|
||||
const { scrollLeft, scrollTop, offsetWidth, scrollWidth } = this.bodyWrapper;
|
||||
const { headerWrapper, footerWrapper, fixedBodyWrapper, rightFixedBodyWrapper } = this.$refs;
|
||||
if (headerWrapper) headerWrapper.scrollLeft = scrollLeft;
|
||||
|
@ -427,17 +427,30 @@
|
|||
} else {
|
||||
this.scrollPosition = 'middle';
|
||||
}
|
||||
},
|
||||
|
||||
throttleSyncPostion: throttle(16, function() {
|
||||
this.syncPostion();
|
||||
}),
|
||||
|
||||
onScroll(evt) {
|
||||
let raf = window.requestAnimationFrame;
|
||||
if (!raf) {
|
||||
this.throttleSyncPostion();
|
||||
} else {
|
||||
raf(this.syncPostion);
|
||||
}
|
||||
},
|
||||
|
||||
bindEvents() {
|
||||
this.bodyWrapper.addEventListener('scroll', this.syncPostion, { passive: true });
|
||||
this.bodyWrapper.addEventListener('scroll', this.onScroll, { passive: true });
|
||||
if (this.fit) {
|
||||
addResizeListener(this.$el, this.resizeListener);
|
||||
}
|
||||
},
|
||||
|
||||
unbindEvents() {
|
||||
this.bodyWrapper.removeEventListener('scroll', this.syncPostion, { passive: true });
|
||||
this.bodyWrapper.removeEventListener('scroll', this.onScroll, { passive: true });
|
||||
if (this.fit) {
|
||||
removeResizeListener(this.$el, this.resizeListener);
|
||||
}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
'use strict';
|
||||
|
||||
const { series, src, dest } = require('gulp');
|
||||
const sass = require('gulp-dart-sass');
|
||||
const sass = require('gulp-sass');
|
||||
const autoprefixer = require('gulp-autoprefixer');
|
||||
const cssmin = require('gulp-cssmin');
|
||||
|
||||
function compile() {
|
||||
return src('./src/*.scss')
|
||||
.pipe(sass.sync().on('error', sass.logError))
|
||||
.pipe(sass.sync())
|
||||
.pipe(autoprefixer({
|
||||
overrideBrowserslist: ['ie > 9', 'last 2 versions'],
|
||||
browsers: ['ie > 9', 'last 2 versions'],
|
||||
cascade: false
|
||||
}))
|
||||
.pipe(cssmin())
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "element-theme-chalk",
|
||||
"version": "2.15.7",
|
||||
"version": "2.15.9",
|
||||
"description": "Element component chalk theme.",
|
||||
"main": "lib/index.css",
|
||||
"style": "lib/index.css",
|
||||
|
@ -28,7 +28,7 @@
|
|||
"devDependencies": {
|
||||
"gulp": "^3.9.1",
|
||||
"gulp-cssmin": "^0.1.7",
|
||||
"gulp-dart-sass": "^1.0.2",
|
||||
"gulp-sass": "^3.1.0",
|
||||
"gulp-autoprefixer": "^4.0.0"
|
||||
},
|
||||
"dependencies": {}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
@use "sass:math";
|
||||
@import "mixins/mixins";
|
||||
@import "common/var";
|
||||
|
||||
|
@ -23,7 +22,7 @@
|
|||
@include when(fixed) {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: #{1 + math.div($--badge-size, 2)};
|
||||
right: #{1 + $--badge-size / 2};
|
||||
transform: translateY(-50%) translateX(100%);
|
||||
|
||||
@include when(dot) {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
@use "sass:math";
|
||||
@import "mixins/mixins";
|
||||
@import "common/var";
|
||||
|
||||
|
@ -123,7 +122,7 @@
|
|||
padding: $--carousel-indicator-padding-horizontal $--carousel-indicator-padding-vertical;
|
||||
.el-carousel__button {
|
||||
width: $--carousel-indicator-height;
|
||||
height: #{math.div($--carousel-indicator-width, 2)};
|
||||
height: #{$--carousel-indicator-width / 2};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
@use "sass:math";
|
||||
@import "./common/var.scss";
|
||||
@import "./mixins/mixins.scss";
|
||||
|
||||
|
@ -13,21 +12,21 @@
|
|||
|
||||
@for $i from 0 through 24 {
|
||||
.el-col-#{$i} {
|
||||
width: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
width: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-offset-#{$i} {
|
||||
margin-left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
margin-left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-pull-#{$i} {
|
||||
position: relative;
|
||||
right: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
right: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-push-#{$i} {
|
||||
position: relative;
|
||||
left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -37,21 +36,21 @@
|
|||
}
|
||||
@for $i from 0 through 24 {
|
||||
.el-col-xs-#{$i} {
|
||||
width: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
width: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-xs-offset-#{$i} {
|
||||
margin-left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
margin-left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-xs-pull-#{$i} {
|
||||
position: relative;
|
||||
right: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
right: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-xs-push-#{$i} {
|
||||
position: relative;
|
||||
left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -62,21 +61,21 @@
|
|||
}
|
||||
@for $i from 0 through 24 {
|
||||
.el-col-sm-#{$i} {
|
||||
width: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
width: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-sm-offset-#{$i} {
|
||||
margin-left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
margin-left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-sm-pull-#{$i} {
|
||||
position: relative;
|
||||
right: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
right: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-sm-push-#{$i} {
|
||||
position: relative;
|
||||
left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -87,21 +86,21 @@
|
|||
}
|
||||
@for $i from 0 through 24 {
|
||||
.el-col-md-#{$i} {
|
||||
width: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
width: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-md-offset-#{$i} {
|
||||
margin-left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
margin-left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-md-pull-#{$i} {
|
||||
position: relative;
|
||||
right: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
right: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-md-push-#{$i} {
|
||||
position: relative;
|
||||
left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -112,21 +111,21 @@
|
|||
}
|
||||
@for $i from 0 through 24 {
|
||||
.el-col-lg-#{$i} {
|
||||
width: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
width: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-lg-offset-#{$i} {
|
||||
margin-left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
margin-left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-lg-pull-#{$i} {
|
||||
position: relative;
|
||||
right: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
right: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-lg-push-#{$i} {
|
||||
position: relative;
|
||||
left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -137,21 +136,21 @@
|
|||
}
|
||||
@for $i from 0 through 24 {
|
||||
.el-col-xl-#{$i} {
|
||||
width: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
width: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-xl-offset-#{$i} {
|
||||
margin-left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
margin-left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-xl-pull-#{$i} {
|
||||
position: relative;
|
||||
right: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
right: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
|
||||
.el-col-xl-push-#{$i} {
|
||||
position: relative;
|
||||
left: (math.div(1 , 24) * $i * 100) * 1%;
|
||||
left: (1 / 24 * $i * 100) * 1%;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +1,3 @@
|
|||
@use "sass:math";
|
||||
/* Element Chalk Variables */
|
||||
|
||||
// Special comment for theme configurator
|
||||
|
@ -427,8 +426,6 @@ $--input-font-size: $--font-size-base !default;
|
|||
/// color||Color|0
|
||||
$--input-font-color: $--color-text-regular !default;
|
||||
/// height||Other|4
|
||||
$--input-width: 140px !default;
|
||||
/// height||Other|4
|
||||
$--input-height: 40px !default;
|
||||
$--input-border: $--border-base !default;
|
||||
$--input-border-color: $--border-color-base !default;
|
||||
|
@ -487,7 +484,7 @@ $--cascader-tag-background: #f0f2f5;
|
|||
|
||||
/* Group
|
||||
-------------------------- */
|
||||
$--group-option-flex: 0 0 math.div(1, 5) * 100% !default;
|
||||
$--group-option-flex: 0 0 (1/5) * 100% !default;
|
||||
$--group-option-offset-bottom: 12px !default;
|
||||
$--group-option-fill-hover: rgba($--color-black, 0.06) !default;
|
||||
$--group-title-color: $--color-black !default;
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
@use "sass:math";
|
||||
@import "mixins/mixins";
|
||||
@import "common/var";
|
||||
@import "input";
|
||||
|
@ -138,7 +137,7 @@
|
|||
|
||||
@include e((increase, decrease)) {
|
||||
height: auto;
|
||||
line-height: #{math.div($--input-height - 2, 2)};
|
||||
line-height: #{($--input-height - 2) / 2};
|
||||
|
||||
[class*=el-icon] {
|
||||
transform: scale(.8);
|
||||
|
@ -162,19 +161,19 @@
|
|||
|
||||
&[class*=medium] {
|
||||
[class*=increase], [class*=decrease] {
|
||||
line-height: #{math.div($--input-medium-height - 2, 2)};
|
||||
line-height: #{($--input-medium-height - 2) / 2};
|
||||
}
|
||||
}
|
||||
|
||||
&[class*=small] {
|
||||
[class*=increase], [class*=decrease] {
|
||||
line-height: #{math.div($--input-small-height - 2, 2)};
|
||||
line-height: #{($--input-small-height - 2) / 2};
|
||||
}
|
||||
}
|
||||
|
||||
&[class*=mini] {
|
||||
[class*=increase], [class*=decrease] {
|
||||
line-height: #{math.div($--input-mini-height - 2, 2)};
|
||||
line-height: #{($--input-mini-height - 2) / 2};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
@use "sass:math";
|
||||
@import "mixins/mixins";
|
||||
@import "common/var";
|
||||
|
||||
|
@ -27,7 +26,7 @@
|
|||
position: fixed;
|
||||
|
||||
.el-loading-spinner {
|
||||
margin-top: #{math.div(-$--loading-fullscreen-spinner-size, 2)};
|
||||
margin-top: #{- $--loading-fullscreen-spinner-size / 2};
|
||||
|
||||
.circular {
|
||||
height: $--loading-fullscreen-spinner-size;
|
||||
|
@ -39,7 +38,7 @@
|
|||
|
||||
@include b(loading-spinner) {
|
||||
top: 50%;
|
||||
margin-top: #{math.div(-$--loading-spinner-size, 2)};
|
||||
margin-top: #{- $--loading-spinner-size / 2};
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
|
|
|
@ -6,18 +6,9 @@
|
|||
@mixin res($key, $map: $--breakpoints) {
|
||||
// 循环断点Map,如果存在则返回
|
||||
@if map-has-key($map, $key) {
|
||||
@if $key=='sm-only'or $key=='md-only'or $key=='lg-only' {
|
||||
// 判定特定定义处理字符串参数值问题
|
||||
@media only screen and #{unquote(map-get($map, $key))} {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@else {
|
||||
@media only screen and #{inspect(map-get($map, $key))} {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
} @else {
|
||||
@warn "Undefeined points: `#{$map}`";
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
@use "sass:math";
|
||||
@import "mixins/mixins";
|
||||
@import "common/var";
|
||||
|
||||
|
@ -30,7 +29,7 @@
|
|||
&[x-placement^="top"] .popper__arrow {
|
||||
bottom: -$--popover-arrow-size;
|
||||
left: 50%;
|
||||
margin-right: math.div($--tooltip-arrow-size, 2);
|
||||
margin-right: #{$--tooltip-arrow-size / 2};
|
||||
border-top-color: $--popover-border-color;
|
||||
border-bottom-width: 0;
|
||||
|
||||
|
@ -49,7 +48,7 @@
|
|||
&[x-placement^="bottom"] .popper__arrow {
|
||||
top: -$--popover-arrow-size;
|
||||
left: 50%;
|
||||
margin-right: math.div($--tooltip-arrow-size, 2);
|
||||
margin-right: #{$--tooltip-arrow-size / 2};
|
||||
border-top-width: 0;
|
||||
border-bottom-color: $--popover-border-color;
|
||||
|
||||
|
@ -68,7 +67,7 @@
|
|||
&[x-placement^="right"] .popper__arrow {
|
||||
top: 50%;
|
||||
left: -$--popover-arrow-size;
|
||||
margin-bottom: #{math.div($--tooltip-arrow-size , 2)};
|
||||
margin-bottom: #{$--tooltip-arrow-size / 2};
|
||||
border-right-color: $--popover-border-color;
|
||||
border-left-width: 0;
|
||||
|
||||
|
@ -87,7 +86,7 @@
|
|||
&[x-placement^="left"] .popper__arrow {
|
||||
top: 50%;
|
||||
right: -$--popover-arrow-size;
|
||||
margin-bottom: #{math.div($--tooltip-arrow-size , 2)};
|
||||
margin-bottom: #{$--tooltip-arrow-size / 2};
|
||||
border-right-width: 0;
|
||||
border-left-color: $--popover-border-color;
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
@use "sass:math";
|
||||
@import "mixins/mixins";
|
||||
@import "mixins/utils";
|
||||
@import "common/var";
|
||||
|
@ -139,7 +138,7 @@
|
|||
font-size: 12px;
|
||||
display: inline-block;
|
||||
box-sizing: border-box;
|
||||
border-radius: #{math.div($--transfer-filter-height, 2)};
|
||||
border-radius: #{$--transfer-filter-height / 2};
|
||||
padding-right: 10px;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
|
|
@ -218,6 +218,7 @@ export default {
|
|||
for (let index = 0; index < slots.length; index++) {
|
||||
if (slots[index] && slots[index].tag) {
|
||||
element = slots[index];
|
||||
break;
|
||||
};
|
||||
}
|
||||
return element;
|
||||
|
|
|
@ -210,7 +210,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|||
}
|
||||
|
||||
export default {
|
||||
version: '2.15.7',
|
||||
version: '2.15.9',
|
||||
locale: locale.use,
|
||||
i18n: locale.i18n,
|
||||
install,
|
||||
|
|
|
@ -0,0 +1,126 @@
|
|||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
exports.default = {
|
||||
el: {
|
||||
colorpicker: {
|
||||
confirm: 'Təsdiqlə',
|
||||
clear: 'Təmizlə'
|
||||
},
|
||||
datepicker: {
|
||||
now: 'İndi',
|
||||
today: 'Bugün',
|
||||
cancel: 'İmtina',
|
||||
clear: 'Təmizlə',
|
||||
confirm: 'Təsdiqlə',
|
||||
selectDate: 'Taxir seç',
|
||||
selectTime: 'Saat seç',
|
||||
startDate: 'Başlanğıc Tarixi',
|
||||
startTime: 'Başlanğıc Saatı',
|
||||
endDate: 'Bitmə Tarixi',
|
||||
endTime: 'Bitmə Saatı',
|
||||
prevYear: 'Öncəki il',
|
||||
nextYear: 'Sonrakı il',
|
||||
prevMonth: 'Öncəki ay',
|
||||
nextMonth: 'Sonrakı ay',
|
||||
year: '',
|
||||
month1: 'Yanvar',
|
||||
month2: 'Fevral',
|
||||
month3: 'Mart',
|
||||
month4: 'Aprel',
|
||||
month5: 'May',
|
||||
month6: 'İyun',
|
||||
month7: 'İyul',
|
||||
month8: 'Avqust',
|
||||
month9: 'Sentyabr',
|
||||
month10: 'Oktyabr',
|
||||
month11: 'Noyabr',
|
||||
month12: 'Dekabr',
|
||||
// week: 'week',
|
||||
weeks: {
|
||||
sun: 'Baz',
|
||||
mon: 'B.e',
|
||||
tue: 'Ç.a',
|
||||
wed: 'Çər',
|
||||
thu: 'C.a',
|
||||
fri: 'Cüm',
|
||||
sat: 'Şən'
|
||||
},
|
||||
months: {
|
||||
jan: 'Yan',
|
||||
feb: 'Fev',
|
||||
mar: 'Mar',
|
||||
apr: 'Apr',
|
||||
may: 'May',
|
||||
jun: 'İyn',
|
||||
jul: 'İyl',
|
||||
aug: 'Avq',
|
||||
sep: 'Sen',
|
||||
oct: 'Okt',
|
||||
nov: 'Noy',
|
||||
dec: 'Dek'
|
||||
}
|
||||
},
|
||||
select: {
|
||||
loading: 'Yüklənir',
|
||||
noMatch: 'Nəticə tapılmadı',
|
||||
noData: 'Məlumat yoxdur',
|
||||
placeholder: 'Seç'
|
||||
},
|
||||
cascader: {
|
||||
noMatch: 'Nəticə tapılmadı',
|
||||
loading: 'Yüklənir',
|
||||
placeholder: 'Seç',
|
||||
noData: 'Məlumat yoxdur'
|
||||
},
|
||||
pagination: {
|
||||
goto: 'Get',
|
||||
pagesize: '/səhifə',
|
||||
total: 'Toplam {total}',
|
||||
pageClassifier: ''
|
||||
},
|
||||
messagebox: {
|
||||
title: 'Mesaj',
|
||||
confirm: 'Təsdiqlə',
|
||||
cancel: 'İmtina',
|
||||
error: 'Səhv'
|
||||
},
|
||||
upload: {
|
||||
deleteTip: 'Sürüşdürmədən sonra sil',
|
||||
delete: 'Sil',
|
||||
preview: 'Ön izlə',
|
||||
continue: 'Davam et'
|
||||
},
|
||||
table: {
|
||||
emptyText: 'Məlumat yoxdur',
|
||||
confirmFilter: 'Təsdiqlə',
|
||||
resetFilter: 'Sıfırla',
|
||||
clearFilter: 'Bütün',
|
||||
sumText: 'Cəmi'
|
||||
},
|
||||
tree: {
|
||||
emptyText: 'Məlumat yoxdur'
|
||||
},
|
||||
transfer: {
|
||||
noMatch: 'Nəticə tapılmadı',
|
||||
noData: 'Məlumat yoxdur',
|
||||
titles: ['List 1', 'List 2'],
|
||||
filterPlaceholder: 'Kəliməliri daxil et',
|
||||
noCheckedFormat: '{total} ədəd',
|
||||
hasCheckedFormat: '{checked}/{total} seçildi'
|
||||
},
|
||||
image: {
|
||||
error: 'SƏHV' // to be translated
|
||||
},
|
||||
pageHeader: {
|
||||
title: 'Geri' // to be translated
|
||||
},
|
||||
popconfirm: {
|
||||
confirmButtonText: 'Bəli', // to be translated
|
||||
cancelButtonText: 'Xeyr' // to be translated
|
||||
},
|
||||
empty: {
|
||||
description: 'Məlumat yoxdur'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -0,0 +1,126 @@
|
|||
'use strict';
|
||||
|
||||
exports.__esModule = true;
|
||||
exports.default = {
|
||||
el: {
|
||||
colorpicker: {
|
||||
confirm: 'নিশ্চিত',
|
||||
clear: 'খালি'
|
||||
},
|
||||
datepicker: {
|
||||
now: 'এখন',
|
||||
today: 'আজকাল',
|
||||
cancel: 'বাতিল করুন',
|
||||
clear: 'খালি',
|
||||
confirm: 'নিশ্চিত',
|
||||
selectDate: 'তারিখ নির্বাচন করুন',
|
||||
selectTime: 'নির্বাচনের সময়কাল',
|
||||
startDate: 'শুরুর তারিখ',
|
||||
startTime: 'শুরুর সময়',
|
||||
endDate: 'শেষ তারিখ',
|
||||
endTime: 'শেষ সময়',
|
||||
prevYear: 'গত বছর',
|
||||
nextYear: 'আগামী বছর',
|
||||
prevMonth: 'গত মাসে',
|
||||
nextMonth: 'পরের মাসে',
|
||||
year: 'বছর',
|
||||
month1: 'জানুয়ারি',
|
||||
month2: 'ফেব্রুয়ারি',
|
||||
month3: 'মার্চ',
|
||||
month4: 'এপ্রিল',
|
||||
month5: 'মে',
|
||||
month6: 'জুন',
|
||||
month7: 'জুলাই',
|
||||
month8: 'আগস্ট',
|
||||
month9: 'সেপ্টেম্বর',
|
||||
month10: 'অক্টোবর',
|
||||
month11: 'নভেম্বর',
|
||||
month12: 'ডিসেম্বর',
|
||||
// week: '周次',
|
||||
weeks: {
|
||||
sun: 'রবিবার',
|
||||
mon: 'সোমবারে',
|
||||
tue: 'মঙ্গলবার',
|
||||
wed: 'বুধবার',
|
||||
thu: 'বৃহস্পতিবার',
|
||||
fri: 'শুক্রবার',
|
||||
sat: 'শনিবার'
|
||||
},
|
||||
months: {
|
||||
jan: 'জানুয়ারি',
|
||||
feb: 'ফেব্রুয়ারি',
|
||||
mar: 'মার্চ',
|
||||
apr: 'এপ্রিল',
|
||||
may: 'মে',
|
||||
jun: 'জুন',
|
||||
jul: 'জুলাই',
|
||||
aug: 'আগস্ট',
|
||||
sep: 'সেপ্টেম্বর',
|
||||
oct: 'অক্টোবর',
|
||||
nov: 'নভেম্বর',
|
||||
dec: 'ডিসেম্বর'
|
||||
}
|
||||
},
|
||||
select: {
|
||||
loading: 'লোড হচ্ছে',
|
||||
noMatch: 'কোন মিল তথ্য',
|
||||
noData: 'কোন তথ্য নেই',
|
||||
placeholder: 'পছন্দ কর'
|
||||
},
|
||||
cascader: {
|
||||
noMatch: 'কোন মিল তথ্য',
|
||||
loading: 'লোড হচ্ছে',
|
||||
placeholder: 'পছন্দ কর',
|
||||
noData: 'কোন তথ্য নেই'
|
||||
},
|
||||
pagination: {
|
||||
goto: 'যাও',
|
||||
pagesize: 'প্রবন্ধ/পৃষ্ঠা',
|
||||
total: 'সর্বমোট {total} ফালা',
|
||||
pageClassifier: 'পাতা'
|
||||
},
|
||||
messagebox: {
|
||||
title: 'ইঙ্গিত',
|
||||
confirm: 'নিশ্চিত',
|
||||
cancel: 'বাতিল করুন',
|
||||
error: 'প্রবেশ করা তথ্য অবৈধ!'
|
||||
},
|
||||
upload: {
|
||||
deleteTip: 'অনুসারে delete মুছে ফেলা',
|
||||
delete: 'মুছে ফেলা',
|
||||
preview: 'ভিউ ইমেজ',
|
||||
continue: 'আপলোড চালিয়ে যান'
|
||||
},
|
||||
table: {
|
||||
emptyText: 'কোন তথ্য নেই',
|
||||
confirmFilter: 'ছাঁকনি',
|
||||
resetFilter: 'রিসেট',
|
||||
clearFilter: 'সব',
|
||||
sumText: 'মোট'
|
||||
},
|
||||
tree: {
|
||||
emptyText: 'কোন তথ্য নেই'
|
||||
},
|
||||
transfer: {
|
||||
noMatch: 'কোন মিল তথ্য',
|
||||
noData: 'কোন তথ্য নেই',
|
||||
titles: ['তালিকা 1', 'তালিকা 2'],
|
||||
filterPlaceholder: 'অনুসন্ধান বিষয়বস্তু লিখুন',
|
||||
noCheckedFormat: 'মোট {total} আইটেম',
|
||||
hasCheckedFormat: 'নির্বাচিত {checked}/{total} আইটেম'
|
||||
},
|
||||
image: {
|
||||
error: 'লোড করতে ব্যর্থ'
|
||||
},
|
||||
pageHeader: {
|
||||
title: 'প্রত্যাবর্তন'
|
||||
},
|
||||
popconfirm: {
|
||||
confirmButtonText: 'নিশ্চিত',
|
||||
cancelButtonText: 'বাতিল করুন'
|
||||
},
|
||||
empty: {
|
||||
description: 'কোন তথ্য নেই'
|
||||
}
|
||||
}
|
||||
};
|
|
@ -0,0 +1,124 @@
|
|||
export default {
|
||||
el: {
|
||||
colorpicker: {
|
||||
confirm: 'OK',
|
||||
clear: 'Hreinsa'
|
||||
},
|
||||
datepicker: {
|
||||
now: 'Núna',
|
||||
today: 'Í dag',
|
||||
cancel: 'Hætta við',
|
||||
clear: 'Hreinsa',
|
||||
confirm: 'OK',
|
||||
selectDate: 'Velja dagsetningu',
|
||||
selectTime: 'Velja tíma',
|
||||
startDate: 'Upphafsdagsetning',
|
||||
startTime: 'Upphafstími',
|
||||
endDate: 'Lokadagsetning',
|
||||
endTime: 'Lokatími',
|
||||
prevYear: 'Síðasta ár',
|
||||
nextYear: 'Næsta ár',
|
||||
prevMonth: 'Síðasti mánuður',
|
||||
nextMonth: 'Næsti mánuður',
|
||||
year: 'Ár',
|
||||
month1: 'Janúar',
|
||||
month2: 'Febrúar',
|
||||
month3: 'Mars',
|
||||
month4: 'Apríl',
|
||||
month5: 'Maí',
|
||||
month6: 'Júní',
|
||||
month7: 'Júlí',
|
||||
month8: 'Ágúst',
|
||||
month9: 'September',
|
||||
month10: 'Október',
|
||||
month11: 'Nóvember',
|
||||
month12: 'Desember',
|
||||
week: 'Vika',
|
||||
weeks: {
|
||||
sun: 'Sun',
|
||||
mon: 'Mán',
|
||||
tue: 'Þri',
|
||||
wed: 'Mið',
|
||||
thu: 'Fim',
|
||||
fri: 'Fös',
|
||||
sat: 'Lau'
|
||||
},
|
||||
months: {
|
||||
jan: 'Jan',
|
||||
feb: 'Feb',
|
||||
mar: 'Mar',
|
||||
apr: 'Apr',
|
||||
may: 'Maí',
|
||||
jun: 'Jún',
|
||||
jul: 'Júl',
|
||||
aug: 'Ágú',
|
||||
sep: 'Sep',
|
||||
oct: 'Okt',
|
||||
nov: 'Nóv',
|
||||
dec: 'Des'
|
||||
}
|
||||
},
|
||||
select: {
|
||||
loading: 'Hleð',
|
||||
noMatch: 'Ekkert fannst',
|
||||
noData: 'Engin gögn',
|
||||
placeholder: 'Velja'
|
||||
},
|
||||
cascader: {
|
||||
noMatch: 'Ekkert fannst',
|
||||
loading: 'Hleð',
|
||||
placeholder: 'Velja',
|
||||
noData: 'Engin gögn'
|
||||
},
|
||||
pagination: {
|
||||
goto: 'Fara á',
|
||||
pagesize: '/sida',
|
||||
total: 'Samtals {total}',
|
||||
pageClassifier: ''
|
||||
},
|
||||
messagebox: {
|
||||
title: 'Skilaboð',
|
||||
confirm: 'OK',
|
||||
cancel: 'Hætta við',
|
||||
error: 'Rangt innslegið'
|
||||
},
|
||||
upload: {
|
||||
deleteTip: 'smelltu á eyða til að eyða',
|
||||
delete: 'Eyða',
|
||||
preview: 'Skoða',
|
||||
continue: 'Halda áfram'
|
||||
},
|
||||
table: {
|
||||
emptyText: 'Engin gögn',
|
||||
confirmFilter: 'Staðfesta',
|
||||
resetFilter: 'Endurstilla',
|
||||
clearFilter: 'Allt',
|
||||
sumText: 'Summa'
|
||||
},
|
||||
tree: {
|
||||
emptyText: 'Engin gögn'
|
||||
},
|
||||
transfer: {
|
||||
noMatch: 'Engin gögn fundust',
|
||||
noData: 'Engin gögn',
|
||||
titles: ['Listi 1', 'Listi 2'],
|
||||
filterPlaceholder: 'Slá inn orð',
|
||||
noCheckedFormat: '{total} atriði',
|
||||
hasCheckedFormat: '{checked}/{total} valin'
|
||||
},
|
||||
image: {
|
||||
error: 'VILLA'
|
||||
},
|
||||
pageHeader: {
|
||||
title: 'Til baka'
|
||||
},
|
||||
popconfirm: {
|
||||
confirmButtonText: 'Já',
|
||||
cancelButtonText: 'Nei'
|
||||
},
|
||||
empty: {
|
||||
description: 'Engin gögn'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
@ -109,14 +109,14 @@ export default {
|
|||
hasCheckedFormat: '{checked}/{total} označených'
|
||||
},
|
||||
image: {
|
||||
error: 'FAILED' // to be translated
|
||||
error: 'Chyba načítania'
|
||||
},
|
||||
pageHeader: {
|
||||
title: 'Back' // to be translated
|
||||
title: 'Späť'
|
||||
},
|
||||
popconfirm: {
|
||||
confirmButtonText: 'Yes', // to be translated
|
||||
cancelButtonText: 'No' // to be translated
|
||||
confirmButtonText: 'Potvrdiť',
|
||||
cancelButtonText: 'Zrušiť'
|
||||
},
|
||||
empty: {
|
||||
description: 'Žiadne dáta'
|
||||
|
|
|
@ -107,14 +107,14 @@ export default {
|
|||
hasCheckedFormat: '{checked}/{total} izbranih'
|
||||
},
|
||||
image: {
|
||||
error: 'FAILED' // to be translated
|
||||
error: 'NEUSPELO'
|
||||
},
|
||||
pageHeader: {
|
||||
title: 'Back' // to be translated
|
||||
title: 'Nazaj'
|
||||
},
|
||||
popconfirm: {
|
||||
confirmButtonText: 'Yes', // to be translated
|
||||
cancelButtonText: 'No' // to be translated
|
||||
confirmButtonText: 'Da',
|
||||
cancelButtonText: 'Ne'
|
||||
},
|
||||
empty: {
|
||||
description: 'Ni podatkov'
|
||||
|
|
|
@ -0,0 +1,123 @@
|
|||
export default {
|
||||
el: {
|
||||
colorpicker: {
|
||||
confirm: 'Sawa',
|
||||
clear: 'Futa'
|
||||
},
|
||||
datepicker: {
|
||||
now: 'Hivi Punde',
|
||||
today: 'Leo',
|
||||
cancel: 'Katisha',
|
||||
clear: 'Futa',
|
||||
confirm: 'Sawa',
|
||||
selectDate: 'Chagua tarehe',
|
||||
selectTime: 'Chagua Muda',
|
||||
startDate: 'Kuanzia tarehe',
|
||||
startTime: 'Kuanzia saa',
|
||||
endDate: 'Mpaka Tarehe',
|
||||
endTime: 'Mpaka Saa',
|
||||
prevYear: 'Mwaka uliopita',
|
||||
nextYear: 'Mwaka ujao',
|
||||
prevMonth: 'Mwezi uliopita',
|
||||
nextMonth: 'Mwezi ujao',
|
||||
year: '',
|
||||
month1: 'Januari',
|
||||
month2: 'Februari',
|
||||
month3: 'Machi',
|
||||
month4: 'Aprili',
|
||||
month5: 'Mei',
|
||||
month6: 'Juni',
|
||||
month7: 'Jalai',
|
||||
month8: 'Agosti',
|
||||
month9: 'Septemba',
|
||||
month10: 'Oktoba',
|
||||
month11: 'Novemba',
|
||||
month12: 'Disemba',
|
||||
week: 'wili',
|
||||
weeks: {
|
||||
sun: 'J2',
|
||||
mon: 'J3',
|
||||
tue: 'J4',
|
||||
wed: 'J5',
|
||||
thu: 'Alhamis',
|
||||
fri: 'Ijumaa',
|
||||
sat: 'J1'
|
||||
},
|
||||
months: {
|
||||
jan: 'Jan',
|
||||
feb: 'Feb',
|
||||
mar: 'Mar',
|
||||
apr: 'Apr',
|
||||
may: 'Mei',
|
||||
jun: 'Jun',
|
||||
jul: 'Jul',
|
||||
aug: 'Ago',
|
||||
sep: 'Sep',
|
||||
oct: 'Okt',
|
||||
nov: 'Nov',
|
||||
dec: 'Dec'
|
||||
}
|
||||
},
|
||||
select: {
|
||||
loading: 'Inapakia',
|
||||
noMatch: 'Hakuna Matokeo yaliyofanana',
|
||||
noData: 'Hakuna Matokeo',
|
||||
placeholder: 'Chagua'
|
||||
},
|
||||
cascader: {
|
||||
noMatch: 'Hakuna Matokeo yaliyofanana',
|
||||
loading: 'Inapakia',
|
||||
placeholder: 'Chagua',
|
||||
noData: 'Hakuna Matokeo'
|
||||
},
|
||||
pagination: {
|
||||
goto: 'Nenda',
|
||||
pagesize: '/page',
|
||||
total: 'Jumla {total}',
|
||||
pageClassifier: ''
|
||||
},
|
||||
messagebox: {
|
||||
title: 'Ujumbe',
|
||||
confirm: 'Sawa',
|
||||
cancel: 'Katisha',
|
||||
error: 'Maingizo yasiyo sahihi'
|
||||
},
|
||||
upload: {
|
||||
deleteTip: 'bonyeza futa kuondoa',
|
||||
delete: 'Futa',
|
||||
preview: 'Onyesha',
|
||||
continue: 'Endelea'
|
||||
},
|
||||
table: {
|
||||
emptyText: 'Hakuna Data',
|
||||
confirmFilter: 'Hakikisha',
|
||||
resetFilter: 'Ondoa Kichujio',
|
||||
clearFilter: 'Zote',
|
||||
sumText: 'Jumla'
|
||||
},
|
||||
tree: {
|
||||
emptyText: 'Hakuna Data'
|
||||
},
|
||||
transfer: {
|
||||
noMatch: 'Hakuna Matokeo yaliyofanana',
|
||||
noData: 'Hakuna Data',
|
||||
titles: ['List 1', 'List 2'], // to be translated
|
||||
filterPlaceholder: 'Enter keyword', // to be translated
|
||||
noCheckedFormat: '{total} ya zote', // to be translated
|
||||
hasCheckedFormat: '{checked}/{total} zilizochaguliwa' // to be translated
|
||||
},
|
||||
image: {
|
||||
error: 'IMEFELI'
|
||||
},
|
||||
pageHeader: {
|
||||
title: 'Nyuma' // to be translated
|
||||
},
|
||||
popconfirm: {
|
||||
confirmButtonText: 'Ndio',
|
||||
cancelButtonText: 'Hapana'
|
||||
},
|
||||
empty: {
|
||||
description: 'Hakuna Data'
|
||||
}
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue