From 862a361c31230c61964da3b03d85b2f3ddf83461 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=99=93=E9=A3=9E?= Date: Thu, 8 Nov 2018 11:25:50 +0800 Subject: [PATCH] Master (#2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Button: circle button supports size (#11275) 让circle button也支持size属性控制,padding的大小根据size属性的```button-padding-vertical```确定 * Upload: fix Error when `beforeUpload` hook return promise of file object (#11297) * Upload: fix beforeUpload hook bug * Upload: add ElUploadInternalRawFile interface * Radio: prevent changing value when radio is disabled. resolves #11296 (#11303) * InputNumber: add precision attribute (#11281) * ColorPicker: prevent active-change event when picker is closed (#11304) * add support of tab penl lazy render(#11022) (#11167) * add support of tab penl lazy render * add docs * fix test * Tabs: update tab-pane.d.ts * Docs: update Tabs docs * Table: fix oversized filter list. Resolves #11314 (#11320) * Radio: support switching radio with keyborard in ff. Fixes #8198 (#11325) * Docs: fix docs of Tab-pane * Radio: support switching radio with keyborard in ff. Fixes #8198 * Table: support manually sorting. Resolves #9495 (#11311) * Table: support manually sorting. Resolves #9495 * Table: add parameters for sort api * Docs: improve docs * Autocomplete: fix suggestions data bug (#11323) * Radio & Checkbox: replace cubic-bezier with ease-in (#11331) * Tooltip: add min-width (#11335) * Table: retain currently selected row when sorting the table. (#11348) * MessageBox: remove hidden class when using MessageBox twice (#11371) * Tree: fix markNodeData error when data is falsy (#11376) * Changelog: update for 2.4.0 (#11378) * Chore: fix deploy-ci.sh (#11379) * [build] 2.4.0 * [release] 2.4.0 * Chore: update donation QR codes * Docs: update es changelog for 2.4.0 (#11382) * Tabs: remove focus state when before-leave return a resolved promise (#11386) * Autocomplete: remove duplicate prop in types (#11388) * Pagination: update translation for tr-TR (#11399) Added forgotten translation for page * Tree: when tree nodes filtered, don't expand node in lazy mode (#11395) * form-item sizeClass (#11408) * form-item sizeClass * Update form.spec.js * Popover: not emit event or create popper when disabled (#11426) * Select: fix arrow align in FireFox (#11427) * Update node.js * Update node.js * Update node.js * improve the test coverage (#11447) * Test: add some test cases (#11453) * Select: hide clear icon when value is null (#11460) * Radio: remove box-shadow when disabled (#11462) * Tabs: fix lazy loading (#11461) * Tabs: fix lazy tab-pane order * Tabs: fix lazy loading * Update node.js this.data可能为undefined,需要判断一下 * Update node.js * Table: retain currently selected row when expanding row (#11464) * DateTimePicker: fix incorrect date on time pick (#11474) * date-time-picker: fix incorrect date on time pick * date-time-picker: fix incorrect date on confirm * Test: add some test cases (#11485) * Chore: retire lerna and remove redundant files (#11493) * Chore: retire lerna and delete redundant files * Chore: update Makefile * MessageBox: add iconClass (#11499) * Dialog: trigger closed event when closing animation ends (#11490) * Dialog: trigger closed event when close animation ends * Update dialog.md * Update dialog.md * Tabs: add stretch attribute (#11476) * Tabs: add stretch attribute * Update tabs.scss * Table: improve performance of summary-method (#11521) * Changelog: update for 2.4.1 (#11538) * Chore: update yarn.lock (#11539) * [build] 2.4.1 * [release] 2.4.1 * Tabs: fix tabs style (#11536) * Test: add more test cases (#11541) * Tabs: improve test case * Container: improve test case * Radio: improve test case * Popover: fix reference error in the loop (#11503) * Popover: fix reference error in the loop * Update directive.js * Docs: update es changelog for 2.4.1 (#11546) * Table: fix highlightCurrentRow regression (#11563) * Cascader: not focus when outside clicked (#11588) * i18n: update Slovak translation (#11597) * Button: fix style of single round/circle button in a group (#11605) * Chore: update sponsor, optimize suggestJump (#11614) * Pagination: add size to nested select (#11622) * Table: fix class-name & label-class-name prop not reactive (#11626) * Cascader: close when option clicked (#11623) * Cascader: close when option clicked in hover mode * update menu.vue * Tree: optimize not-allowed dropping cursor (#11631) * Pagination: use setCurrentValue when reassigning input value (#11608) * Pagination: input bug currentValue in input component's data object didn't refresh when changeHandle emited * Update pagination.js * Chore: delete unused file (#11641) * Autocomplete: passes id to nested native input (#11643) * Menu: fix open method error when collapse is changed (#11646) * Chore: add missing file when create new component (#11663) * Select: fix form change validation (#11672) * Table: fix highlightCurrentRow regression (#11691) * Docs: fix link of element react (#11718) * Select: remove empty option item when default value is null in single mode (#11731) * i18n: update ee.js (#11709) Add missing Estonian translations * Tabs: add activeName and oldActiveName parameters to before-leave hook (#11713) * Tabs: add activeName and oldActiveName parameters to before-leave hook * Tabs: fix docs * Chore: eslint ignore font files (#11696) * DatePicker: guards common but incorrect usage (#11673) * Loading: add missing definition of directive (#11749) * Changelog: update for 2.4.2 * [release] 2.4.2 * Docs: update es changelog for 2.4.2 (#11758) * Form: fix a typo in docs (#11765) line 412: `...并 Form-Item 的...` -->> `...并将 Form-Item 的...` * Table: fix params on docs (#11774) * Table: fix params on docs * Table: add missing definitions * Table: fix row style definitions * Update table.d.ts * Chore: update id and key for algolia (#11783) * Cascader: hide label when user inputs (#11738) * Cascader: hide label when user input * Cascader: update main.vue * Update main.vue * Cascader: not set readonly in IE * InputNumber: remove undocumented slots (#11794) * Tree: fix TreeNode dragged to wrong position (#11797) * i18n: update lv.js (#11814) * Form: clearValidate supports prop names (#11821) * MessageBox: add distinguishCancelAndClose (#11831) * Notification: remove vm attribute (#11830) * Changelog: update for 2.4.3 (#11832) * [build] 2.4.3 * [release] 2.4.3 * Chore: use rimraf when deploying (#11834) * Select: revert #10105 (#11837) * Table: update getRowClass (#11839) * Table: setCurrentRow only when highlight-current-row is true * Table: trigger current-change * Table: update getRowClass * Tree: not check node when it's disabled (#11847) * Docs: update TimePicker doc (#11845) * Time-Picker: Add missing translation * Time-Picker: Add missing translation * Docs: update es changelog for 2.4.3 (#11850) * update spanish Doc 2.4.3 * update spanish Doc 2.4.3 * MessageBox: add missing declaration (#11861) * Table: disable filter when filters is an empty array (#11864) * Table: changing current-row-key when current-row-key is assigned to null (#11866) * Button: optimize scss(#11900) * Radio: stop event propagation on radio label (#11912) * Chore: add missing style (#11953) * Chore: provide a key with v-for (#11891) * Radio: change component name (#11957) * Table: fix empty slot position (#11965) * Input: fix style error when suffix exists with append (#11951) * Fix - [Bug Report] Localization #11961 (#11968) * Input: add missing readonly prop (#11967) * Tree: fix defaultCheckedKeys and emptyText bug (#11971) * Changelog: update for 2.4.4 (#11981) * [build] 2.4.4 * [release] 2.4.4 * Docs: update es changelog for 2.4.4 (#11991) * Spinner: v-bind:style -> :style (#11997) * FormItem: v-bind:style -> :style (#11996) * Tree: fix keydown event in Tree (#12008) * Table: support class-name when type=expand (#12006) * TimeSelect: fix fieldReset when initialValue is empty string (#12010) * Message: fix type definition of ElMessageOptions, support VNode as message type (#12018) * Input: fix style error - border-spacing should not depend on default value (#11990) (#12016) * Docs: add slot doc for el-upload (#12041) * Table: allow filterable without filter-method (#12045) * MessageBox: fix type definition (#12058) * Use methods instead of inline expressions (#12059) * Docs: update Cascader doc (#12074) * Chore: add es doc for new component (#12098) * Table: add toggleAllSelection method (#12047) * MessageBox: add missing type (#12118) * Tree: not check node when check-strictly is true (#12106) * Select: remove redundant style (#12120) * date-picker: fix #11152 (#12114) * Input: fix wrong style of Input suffix (#12108) * Input: fix wrong style of Input * update input.vue * add test case * Tree: add includeHalfChecked flag to getCheckedNodes (#12014) * Changelog: update for 2.4.5 (#12134) * [build] 2.4.5 * [release] 2.4.5 * Docs: update Spanish doc 2.4.5 (#12138) * Chore: optimize entry script (#12192) * Dialog: ignore width when fullscreen is true (#12203) * Docs: improve quickstart doc (#12205) * Menu: save menu state when change collapse and expand menu(#10622) (#12178) * Docs: improve docs (#12208) * Table: fix async filters (#12165) * Select: debounce query (#12181) * Tree & MessageBox: fix type definition (#12214) * MessageBox: fix ElMessageBoxOptions.message * Tree: fix type definition * Main: fix IE compatibility issues (#12237) * Menu: make font-size constant into variable (#12239) * Autocomplete: add `popper-append-to-body` attribute (#12241) * Cascader: escape special characters for regexp (#12248) * Slider: avoid NaN when min and max values ​​are equal (#12256) * Radio: fix focus style (#12262) * Input: not trigger form validation when input (#12260) * Input: not trigger validation when input * InputNumber: update docs * Tree: register node after dragging (#12279) * Tree: register node after dragging * update Tree docs * Popover: show popper when InputNumber focused (#12284) * Pagination: make page-size attribute supports .sync (#12281) * Pagination: make page-size attribute supports .sync * Update pagination.js * Menu: fix docs (#12299) * Select: not clear text when filtering (#12304) * Select & Cascader: add default value for query string (#12322) * Tree: fix add node bug in lazy mode (#12265) * Changelog: update for 2.4.6 (#12325) * Changelog: update for 2.4.6 * update changelog * [build] 2.4.6 * [release] 2.4.6 * Docs: update Spanish doc for 2.4.6 (#12331) * date-picker: fix form change validation (#12328) * Cascader: highlight input when menu clicked (#12341) * Tabs: fixed tab-pane's incorrect order (#12346) * Date picker refactor dates selection: fix 12323 (#12347) * date-picker: refactor type='dates' fix issue #12323 {month, year} table highlights all selected dates nuke selectedDates to provide cleaner data flow * doc: correct date-picker's array usage empty value must be falsy (empty array should not be used) * DatePicker: improve form change validation (#12348) watch.value will keep firing during time picker selection it now detects whether panel is closed before firing el.form.change * Chore: update license year (#12419) * TimePicker: dynamic scroll position of time-spinner items (#12415) Makes it possible to style the height of ".el-time-spinner__item". Removed the fixed values associated to a height and line-height: 32px. It's now possible to set whichever height a user wants and the scrollbar will adjust itself accordingly. * Menu: fix submenu style (#12457) * MessageBox: update doc (#12465) * Menu: submenu is-active bug (#12479) 选中submenu下的菜单,submenu没有激活样式式象错误 * ColorPicker: fix the position of cursor (#12376) * DatePicker: turn off autocomplete for date picker range (#12521) * Input: fix autocomplete property is not compatible with native #12513 (#12514) * fix #12513 * fix: fallback for autoComplete and print deprecated warning * fix: fix auto-complete property in select component * fix default complete value * Docs: Update document for autocomplete property change * Docs: remove redundant documents * remove unnecessary console log message\ * Update select.md * fix: add missing declaration in select.d.ts * Pagination: assign 1 to default page count (#12525) * Pagination: fix emit order of page size (#12530) * Cascader: prevent value changing when menu is closing (#12507) * Table: fix table filter (#12539) * Chore: update donation qrcode (#12553) * i18n: add Persian translation of the remaining items (#12581) * i18n: add Vietnamese translation of remaining items (#12609) * Fix invalid link (#12667) Current link is https://element.eleme.io/nuxtjs.org instead of https://nuxtjs.org/. * Upload: create blob URL when picture displays (#12402) * Upload: create blob URL when picture displays * Update index.vue * Tree: fix tree node not deleted (#12684) * Pagination: update doc (#12685) * Form: fix style of form label in nested form (#12748) * FormItem: using slot-scope to display validation message (#12715) * Updated el-form-item to accept custom error message via slot * FormItem: updated slot name in docs * updated spanish and chinese translations * Update form.md * Update form.md * Update form.md * Update form.md * doc: add missing info in quickstart (#12574) * Select: use initial height to reset height of input (#12719) * Select: use initial height to reset height of input * Update select.vue * docs: improved documentation for el-form (#12635) * Docs: Document el-form label-position attribute Adds improved documentation to the el-form `label-position` attribute, which behaves differently when used with and without `label-width`. This has been a source of confusion for myself and others: https://github.com/ElemeFE/element/issues/8477 Thanks! * Document el-form label-position attribute (zh-CN, needs translation) * Document el-form label-position attribute (es) * Update form.md * Changelog: update for 2.4.7 (#12765) * [build] 2.4.7 * [release] 2.4.7 * docs: update Spanish doc for 2.4.7 (#12770) * update Spanish Doc * update Spanish Doc * update Spanish Doc * Switch: not display outline when focused (#12771) * FormItem: adding hide-required-asterisk attribute(#12744) * Form: adds prop to make asterisk optional on required fields * Form: adds prop to make asterisk optional on required fields * ElForm: Reverses attribute name to hide-required-asterisk, which defaults to false * Update form-item.vue * Update form.scss * Update form.md * Dialog: add opened event (#12828) * Dialog: add opened event * Docs: update es dialog doc * Update dialog.md * i18n: update Greek translation (#12830) Translate missing text * Upload: add missing definition (#12839) * Tree: show indicator in drop node (#12854) * i18n: add Serbian translation (#12863) Added Serbian translation. * Tabs: fix order of TabNav when array is sorted (#12846) * Tabs: fix order of TabNav when array is sorted * update tabs.vue * update test cases * doc: update i18n doc for Serbian language (#12867) * Form: emits error message on validate event (#12860) * Form: Emits error message on validate events * Update form.md * ButtonGroup: fix Dropdown style in ButtonGroup(#12815) (#12819) * [Button]Support Dropdown in ButtonGroup(#12815) * [Button]Support Dropdown in ButtonGroup(#12815) * [Button]Support Dropdown in ButtonGroup(#12815) * test: update test case for form (#12886) * chore: update date-picker comment notes (#12899) * DatePicker: validate input date (#12898) * date-picker: fix confirm() ignoring date validity make date-range panel's confirm validate date before confirming. 1. disable confirm button if picked date is invalid 2. reset highlight date on picker open (resetView) * test: date-time-range confirm honors disabledDate * Input: s autocomplete on textarea (#12917) A textarea element can also have an autocomplete attribute. Reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea * Table: called render header in index column (#12914) * Table: fix table column default alignment (#12578) * Tree: fix type definition (#12941) * Tabs: scroll to active tab (#12948) * Tabs: fix not scrolling to active tab * update tabs.vue * changelog for 2.4.8 (#12950) * changelog for 2.4.8 * Update CHANGELOG.en-US.md * Update CHANGELOG.es.md * [build] 2.4.8 * [release] 2.4.8 * docs: Changelog for 2.4.8 Spanish update (#12952) * i18n: update Hungarian translation (#12963) * Dropdown: Added slots to documentation (#12985) * Dropdown: Added slots to documentation Added slots section in english to documentation for dropdown component. Chinese and Spanish missing. * Update dropdown.md * Badge: add type attribute (#12991) * badge: add type attribute * Update badge.md * i18n: update Uyghur translation (#13004) 年前面加上“-”, 在维语中年前面要写“-”表示第几年 * select: refactoring icon reverse (#12353) * select: refactoring icon reverse * select: disable clear icon when select popup is visible * select: refactoring clear icon * i18n: fix typo (#13032) 校对有些错误字 * TimePicker: selectable range will affect to column minutes in spinner (#12312) * Tabs: fixed last TabNav unable to be deleted (#13039) * InputNumber: fix style when `controls-position` is right (#13052) * Form: clearValidate supports string type param (#12990) * Select: make clearable work for multi select (#13049) * Select: make clearable work for multi select (#6399) * Select: chore * Select: fix bug and update docs (#13049) * Upload: use uid as upload-list key (#13054) * Upload: use uid as upload-list key * chore: fix code style * i18n: Add missing Slovenian translations (#13059) Date-picker: set year to '', add missing translations. Pagination: translate /page * NavMenu: fix typo (#13060) * Select: fix size attribute not working (#13070) * Select: fix readonly problem in edge (#13034) Cascader select readonly 添加 edge 浏览器判断; src/utils/util.js 添加 isIE, isEdge方法; * Tag: optimize code (#13069) * Tag: optimize code * update tag.vue * Select: fix option wrap in multiple mode (#12329) * Select: Fix (#11392 & #12327) Writing space become small when collapse-tags prop is added & input takes new line even if space is available when filterable & multiple props are true * Changes as IE & Edge dosen't support display: contents * Revert "Changes as IE & Edge dosen't support display: contents" This reverts commit 21475c6daac3e0ca364b4a9889e899316e553839. * Fixed issue - input going in new line even if there is space (collapse-tags) * Made calculating with dynamic (replaced static 208 with el-select__tags dynamic width) * Select: Fixed Bug - Extra Height Fixed bug - getting extra height whenever last options width is most of same as select's width * aria: add role dialog (#13084) * Alert: add support for title slot (#13082) * Alert: add support for title slot * update documents * Table: Adds header rendering slot (#13012) * Table: Adds header rendering slot Fixes #4909 and #4908 * Add translation to spanish * Include render-header deprecation warning * Add chinese translation and scoped slot description at bottom * Fix documentation and warnings. Fix custom-header docs * Fix redundant columns and cleanup example * Prevent scopedSlot from working on selection column * Typo * Table: tooltip content prefer innerText instead of textContent (#13159) * Table: update Chinese doc (#13177) * Tabs: set TabNav key (#13178) * changelog for 2.4.9 (#13182) * changelog for 2.4.9 * update changelog * update changelog * update * update * [build] 2.4.9 * [release] 2.4.9