Merge branch '202412_CR' of ssh://dev.pollex.com.tw:29418/pcalife/PAM into 202412_CR
¤ñ¹ï·sÀÉ®× |
| | |
| | | ## Changelog |
| | | |
| | | ### 2.15.13 |
| | | |
| | | *2023-02-12* |
| | | |
| | | #### Bug fixes |
| | | - Docs |
| | | - Fix Statistic docs (#22383 by @JUST-Limbo) |
| | | - Fix Input docs (#22093 by @lm312) |
| | | - Fix en-US docs (#22268 #22269 #22270 by @Hazel-Lin) |
| | | - Fix Pagination docs (#22288 by @xujintai123) |
| | | - Fix: Links docs (#22370 by @itmier) |
| | | - Statistics |
| | | - fix slot display bug (#22375 by @webvs2) |
| | | - Chore |
| | | - missing web-type after publishing (#22271 by @loosheng) |
| | | #### Optimization |
| | | - InputNumber |
| | | - Fix touch one click trigger twice on the window touch pad (#22185 by @mrsai) |
| | | - Image |
| | | - Add initialIndex prop (#22346 by @inkroom) |
| | | - Statistics |
| | | - Updated countdown feature to localize lodash Closes (#22260 by @webvs2) |
| | | - Update code and doc (#22276 by @webvs2) |
| | | - Other |
| | | - fix web-types type props (#22281 by @whzxc) |
| | | |
| | | ### 2.15.12 |
| | | |
| | | *2022-11-16* |
| | | |
| | | #### Bug fixes |
| | | - Statisticï¼ |
| | | - Fixed the thousandth bit bug (#22252 by @webvs2) |
| | | - Other |
| | | - Fix 2.15.11 element-theme-chalk publish fail bug |
| | | |
| | | ### 2.15.11 |
| | | |
| | | *2022-11-15* |
| | | |
| | | #### Bug fixes |
| | | - Docs |
| | | - Fix Radio docs (#22178 by @bchen1029) |
| | | - Fix Progress docs |
| | | #### Optimization |
| | | - I18n |
| | | - Update translation of Malaysian (#22185 by @z4q) |
| | | - Update translation of Norwegian (#22145 by @Barsnes) |
| | | - Progress |
| | | - Add defineBackColor and textColor prop (#22089 by @lm312) |
| | | - Statistics |
| | | - Add new component Statistics (#22159 by @webvs2) |
| | | - Other |
| | | - Add Web Types to improve code assistance in WebStorm IDE and other JetBrains IDEs (#22135 by @piotrtomiak) |
| | | |
| | | ### 2.15.10 |
| | | |
| | | *2022-09-13* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - DatePicker |
| | | - Fix props placement error (#21908 by @lqzhgood) |
| | | - Loading |
| | | - Fix sticky DOM error (#22087 by @zzjjhh001) |
| | | - Docs |
| | | - Fix Popover docs (#22083 by @lm312) |
| | | - Fix Skeleton docs (#22092 by @lm312) |
| | | - Fix DatePicker docs (#21970 by @guojiongwei) |
| | | - Tree: |
| | | - fix lazy-load default check problem (#21934 by @kiss-yu) |
| | | |
| | | #### Optimization |
| | | |
| | | - I18n |
| | | - Add translation of Sinhalese (#21936 by @sayuri-gi) |
| | | - Update translation of Spanish (#21924 by @jcardus) |
| | | - Add translation of Malaysian (#22028 by @iorange0411) |
| | | - Update translation of Swahili (#21904 by @Cholowao) |
| | | - Utils |
| | | - update date-util.js (#22099 by @Due07) |
| | | - DatePicker |
| | | - add months And years type (#21918 by @akiko123456) |
| | | |
| | | ### 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) |
| | | - Other |
| | | - 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* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Select |
| | | - fix click icon triggering dropdown (#21314 by @dennyak47) |
| | | - fix keydown event when composition (#21336 by @bchen1029) |
| | | - Badge |
| | | - fix type class when is-dot (#21308 by @adaex) |
| | | - Form |
| | | - validate method reject error info (#21374 by @cs1707) |
| | | - Table |
| | | - fix resizeObserver loop limit exceeded (#21255 by @tomieric) |
| | | - fix toggleAllSelection bug when table is empty (#21456 by @cs1707) |
| | | - optimize performance (#21330 by @cs1707) |
| | | - Button |
| | | - fix disabled priority (#21375 by @cs1707) |
| | | - Descriptions |
| | | - fix label slot bug (#21462 by @cs1707) |
| | | - SASS |
| | | - replace node-sass with dart-sass (#21019 by @linxsbox) |
| | | - Docs |
| | | - fix skeleton typos (#21408 by @zhhbstudio) |
| | | |
| | | ### 2.15.6 |
| | | |
| | | *2021-09-02* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Cascader |
| | | - fix a bug that makes the browser jitter in zoom mode (#21207 by @cs1707) |
| | | - optimize performance (#21231 by @cs1707) |
| | | - Select |
| | | - fix long text overflow in multiple mode (#21237 by @cs1707) |
| | | - Dropdown |
| | | - add disabled property (#21235 by @mshioda) |
| | | - Radio |
| | | - fix checked state when browser go back (#21250 by @cs1707) |
| | | - Descriptions |
| | | - fix type declaration (#21265 by @adaex) |
| | | - avoid table style conflict (#21254 by @adaex) |
| | | - Drawer |
| | | - fix append to body (#21264 by @cs1707) |
| | | - Local |
| | | - fix italian mistake (#21012 by @ricardotondello) |
| | | |
| | | ### 2.15.5 |
| | | |
| | | *2021-08-04* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Select |
| | | - fix resetInputHeight (#21201 by @cs1707) |
| | | |
| | | ### 2.15.4 |
| | | |
| | | *2021-08-03* |
| | | |
| | | #### New features |
| | | |
| | | - Descriptions |
| | | - add description component (#21129 by @cs1707) |
| | | - Result |
| | | - add result component (#21171 by @cs1707) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Utils |
| | | - fix isScroll (#21098 by @canvascat) |
| | | - Translation |
| | | - update it.js (#21133 by @bliberi) |
| | | - RadioGroup |
| | | - fix RadioGroup used in component causes exception #17908 (#20783 by @lceric) |
| | | - Message |
| | | - fix message[type] (#21088 by @cs1707) |
| | | - Carousel |
| | | - reset the timer when setActiveItem method is called (#20846 by @Nekojita1) |
| | | - Cascader |
| | | - fix emitPath (#21185 by @cs1707) |
| | | - Select |
| | | - fix select filterable bug (#17494 by @profore) |
| | | - fix a bug that makes the browser jitter in zoom mode (#21197 by @cs1707) |
| | | - Tree |
| | | - fix insertChild (#21194 by @cs1707) |
| | | |
| | | ### 2.15.3 |
| | | |
| | | *2021-06-29* |
| | | |
| | | #### New features |
| | | |
| | | - Skeleton |
| | | - add skeleton component (#21038 by @cs1707) |
| | | - Empty |
| | | - add empty component (#21080 by @cs1707) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Local |
| | | - fix week translations for hr locale (#21040 by @cs1707) |
| | | - Table |
| | | - fix lazy load data (#21041 by @cs1707) |
| | | - Docs |
| | | - fix form hide-required-asterisk description (#21045 by @cs1707) |
| | | - Drawer: |
| | | - fix destroy (#20715 by @zj9495) |
| | | - Row |
| | | - fix align top (#20963 by @cs1707) |
| | | - Select |
| | | - fix the bug when the value is Boolean (#21052 by @cs1707) |
| | | - Calendar |
| | | - fix first-day-of-week (#21057 by @cs1707) |
| | | - Utils |
| | | - fix isScroll (#21065 by @cs1707) |
| | | - fix(utils.dom by @fw6) |
| | | - TypeScript |
| | | - add CascaderPanel export type (#21070 by @qige2016) |
| | | - add spinner.d.ts (#21090 by @qige2016) |
| | | |
| | | ### 2.15.2 |
| | | |
| | | *2021-05-28* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Image |
| | | - fix z-index and keydown event add stopPropagation (#20859 by @cs1707) |
| | | - Input |
| | | - fix show password cursor (#20870 by @cs1707) |
| | | - fix show password icon in edge (#20902 by @cs1707) |
| | | - Carousel |
| | | - fix interval and scale bug (#20931 by @cs1707) |
| | | - Cascader |
| | | - fix delete tag bug (#20939 by @cs1707) |
| | | - Drawer |
| | | - add overflow auto (#20948 by @cs1707) |
| | | - Others |
| | | - fix isFunction (#20912 by @cs1707) |
| | | |
| | | ### 2.15.1 |
| | | |
| | | *2021-02-23* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Drawer |
| | | - bugfix (by @cs1707) |
| | | - Image |
| | | - fix incorrect image object fit ratio in IE (#19583 by @charlie0228) |
| | | - Cascader |
| | | - fix cascader panel active path (#20730 by @cs1707) |
| | | - Calendar |
| | | - fix calendar component i18n bug (#20758 by @iamkun) |
| | | - ColorPicker |
| | | - fix bugs (by @UxieVerity) |
| | | |
| | | #### Optimization |
| | | |
| | | - Doc |
| | | - update Axure resource v2.1.0 (by @iamkun) |
| | | |
| | | ### 2.15.0 |
| | | |
| | | *2021-01-15* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Select |
| | | - Fix placeholder i18n bug (#17644 by @nzh63) |
| | | - Popconfirm |
| | | - Popconfirm i18n bug by @iamkun) |
| | | - Drawer |
| | | - Fix focus bug (#20626 by @cs1707) |
| | | - Image |
| | | - Preview optimization (#20652 by @cs1707) |
| | | |
| | | #### Optimization |
| | | |
| | | - Doc |
| | | - Fix typo in french translation of datetime-picker.md (#20543 by @lonk) |
| | | - Add format attribute description to the progress component (#20641 by @cs1707) |
| | | |
| | | ### 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* |
| | | |
| | | #### Breaking changes |
| | | |
| | | - Popconfirm |
| | | - Rename event name to `confirm`, `cancel` (#20240 by @hugiron) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Progress |
| | | - Fix attribute error (#19985 by @Caaalabash) |
| | | |
| | | #### Optimization |
| | | |
| | | - I18n |
| | | - Update Russian translation (#19451 by @yangirov) |
| | | - Update Khmer translation (#20077 by @Sovai) |
| | | - Update Ukrainian translation (#20344 by @MammutAlex) |
| | | |
| | | ### 2.13.2 |
| | | |
| | | *2020-05-18* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Autocomplete |
| | | - Fix change event bug (#19200 by @sxzz) |
| | | - Image |
| | | - Update error status (#19194 by @lhx6538665) |
| | | |
| | | #### Optimization |
| | | |
| | | - I18n |
| | | - Update ru-RU popconfirm translation (#19220 by @Opppex) |
| | | - Update vi translation (#19244 by @quangln2810) |
| | | - Update Catalan and Spanish translations (#19296 by @Ismaaa) |
| | | - Update Indonesia translation (#19320) by @therour) |
| | | - Update Brazilian Portuguese translation (#19374 by @diegomengarda) |
| | | |
| | | ### 2.13.1 |
| | | |
| | | *2020-04-13* |
| | | |
| | | #### New features |
| | | - Autocomplete |
| | | - Add change event (#17913 by @sxzz) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Autocomplete |
| | | - Fix suggestion error when textarea (#18478 by @Roojay) |
| | | - Carousel |
| | | - Fix console typo bug (#18264 by @IceFox) |
| | | - Image |
| | | - Fix preview dose not show when preview list not contain src issue (#18975) (#19130 by @luckyCao) |
| | | - Fix shortcut key not work at second time issue (#18983) (#19156 by @luckyCao) |
| | | - Don't show image-viewer when preview is false (#18967 by @inooNgt) |
| | | - Transfer |
| | | - Fix incorrect line-height of el-transfer's first list item when it was used with el-form-item (#18917 by @Hanx) |
| | | - InputNumber |
| | | - Correctly compute inputNumberDisabled (#18439 by @ashuser-pendo) |
| | | - Chore |
| | | - Remove index intro (#19155 by @iamkun) |
| | | - Doc |
| | | - Popconfirm doc update (#18324 by @iamkun) |
| | | - Fix step-strictly docs typo (#18705 by @dream2023) |
| | | - Fix a type error in document of steps component (#17555 by @haoranyu) |
| | | |
| | | ### 2.13.0 |
| | | |
| | | *2019-11-26* |
| | | |
| | | #### New features |
| | | |
| | | - Popconfirm |
| | | - Add popconfirm component (#17548 by @iamkun) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - BackTop |
| | | - Use cubic bezier scrolling (by @lon) |
| | | - DatePicker |
| | | - Fix bug of only select min date of date range problem (#17191 by @smk0621) |
| | | - Select |
| | | - Fix select test cases by (@msidolphin) |
| | | - Tree |
| | | - Add font-size for the style of tree empty-text (#17094 by @spengjie) |
| | | - Table |
| | | - Column header can be costumed (#17291 by @ziyoung) |
| | | - Update table header cell style (#17284 by @ziyoung) |
| | | - Fix table header height after filter (#17348 by @ziyoung) |
| | | - Fixed row-style with display not work (#17002 by @a631807682) |
| | | - Fix header table not display (#17341 by @ziyoung) |
| | | - Calendar |
| | | - Import el-button and el-button-group (#17376 by @masongzhi) |
| | | - MessageBox |
| | | - Fix icon position error (#17410 by @nullptru) |
| | | - TimePicker |
| | | - Set the selection range after scrolling up or down (#16868 by @mattheyan) |
| | | - Message |
| | | - Fix close instace offsetHeightï¼#17564ï¼ (#17852 by @gzwgq222) |
| | | - Form |
| | | - Callback of validateField should be optional (#17314 by @CarterLi) |
| | | - Cascader |
| | | - Fix TypeScript 3.7 compatibility (#17881 by @CarterLi) |
| | | - Menu |
| | | - Fix router NavigationDuplicated error when using vue-router@^3.1.0 (#17269 by @iamkun) |
| | | - Dropdown |
| | | - Update type file (#17550 by @iamkun) |
| | | - Progress |
| | | - Add strokeLinecap prop (#17552 by @iamkun) |
| | | - InfiniteScroll |
| | | - Skip trigger event on invisible element (#17553 by @iamkun) |
| | | - Image |
| | | - Perfect picture preview behavior (#16985 by @luckyCao) |
| | | - Fix shield the page when preview big image (#16796 by @luckyCao) |
| | | - Drawer |
| | | - Bugfix drawer-append-to-body-not-working (#16953 by @JeremyWuuuuu) |
| | | - Select |
| | | - Fix tag show value or empty issue (17199 by @luckyCao) |
| | | - Scrollbar |
| | | - Fix FireFox scroll bar width (#18091 by @iamkun) |
| | | |
| | | #### Optimization |
| | | |
| | | - I18n |
| | | - Update sv-SE.js (#17926 by @FOLLGAD) |
| | | - Update avatar component fr doc (#17762 by @blombard) |
| | | - Docs |
| | | - Fix time-select typo (#17250 by @wacky6) |
| | | - Fix Drawer attribute accepted value typo in es (#17122 by @haoranyu) |
| | | - Update Spanish changelog 2.12.0 (#17364 by @Gonzalo2310) |
| | | - Fix Changelog typo (#17874 by @renlixin) |
| | | - Fix Loading demo (#17862 by @MBearo) |
| | | - Add input event in input Events Table (#18061 by @zhouxinyong) |
| | | - Delete Input repeat change event (#18085 by @zhouxinyong) |
| | | |
| | | ### 2.12.0 |
| | | |
| | | *2019-08-29* |
| | | |
| | | #### New features |
| | | |
| | | - Popover |
| | | - Add close-delay prop (#16671 by @LachlanStuart) |
| | | - Theme |
| | | - Add Chrome Extension: Element Theme Extension (#16686 by @iamkun) |
| | | - Icon |
| | | - Add font-display to @font-face declaration (#16805 by @iamfaizalandyka) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Carousel |
| | | - Fix onChange emit value (#16705 by @iamkun) |
| | | - Notification |
| | | - Fix modifying incoming option object (#16704 by @iamkun) |
| | | - DatePicker |
| | | - Add className for picker option (#16632 by @iamkun) |
| | | - DateTimePicker |
| | | - Fix time-spinner not scroll to right position (#16854 by @jesse-li) |
| | | - Table |
| | | - Prevent click handler after drag (#16850 by @ziyoung) |
| | | - Fix chrome crash when set thead css display to none (#16956 by @luckyCao) |
| | | - Fix wrong empty block height (#16861 by @ziyoung) |
| | | - Not throw error when calling toggleExpansion (#16304 by @yyjjqq94) |
| | | - Not trigger sort-change event when mounted (#17113 by @a631807682) |
| | | - Fix setCurrentRow unable to clear highlight row (#16879 by @ziyoung) |
| | | - Fix expand-row-keys not work when data is loaded asynchronously (#16899 by @ziyoung) |
| | | - set toggleAllSelection as instance property (#17137 by @ziyoung) |
| | | - Tree |
| | | - Fix distance between label and checkbox (#16799 by @Hazlank) |
| | | - Tabs |
| | | - Fix incorrect TabItem's position (#16520 by @victorting) |
| | | - Fix activated tab is out of visual range bug (#17033 by @nullptru) |
| | | - Calendar |
| | | - Fix weekdays i18n issue (#16772 by @ubitoffee) |
| | | - fix locale error (#17208 by @iamkun) |
| | | - Cascader |
| | | - Fix CascaderPanel display error (#16716 by @zhangHongEn) |
| | | - Fix disable status and close button issue (#16224 by @yyjjqq94) |
| | | - Input |
| | | - Fix Korean composition event (#15069 by @MoonHyuk) |
| | | - Fix click event of clear button not trigger when using v-loading (#16576 by @a631807682) |
| | | - Select |
| | | - Not toggle dropdown when filtering (#17205 by @luckyCao) |
| | | - Transfer |
| | | - Fix style error (#17206 by @iamkun) |
| | | - Dialog |
| | | - update sass var (#16365 by @haoranyu) |
| | | - RadioGroup |
| | | - Not produce invalid HTML in table if "is" attribute is specify (#17070 by @nullptru) |
| | | - Divider |
| | | - Support custom classes (#17078 by @island205) |
| | | |
| | | #### Optimization |
| | | |
| | | - Checkbox |
| | | - Improve screen reader experience (#16575 by @tylertrotter) |
| | | - Docs |
| | | - Update changelog (#16773 by @SimonaliaChen) |
| | | - Update contributing guide (#14800 by @sinchang) |
| | | - Fix typo in Drawer docs (#16848 by @winkay) |
| | | - Update custom theme (#16983 by @iamkun) |
| | | - Add Esperanto translation (#16955 by @maxkoryukov) |
| | | - Update input-number document about change event (#16316 by @luckyCao) |
| | | - Update spanish doc 2.11.1 (#16961 by @Gonzalo2310) |
| | | - I18n |
| | | - Remove translation of 'year' in catalan language as in the other languages (#14722 by @oscaralbareda) |
| | | - Update spanish changelog 2.10.0 and 2.10.1 (#16548 by @Gonzalo2310) |
| | | - Update ar.js (#16653 by @l3op) |
| | | - Test |
| | | - Correct spelling error (#16672 by @boomler) |
| | | - Refactor unit test to use data-uri (#16847 by @a631807682) |
| | | - Types |
| | | - Fix httprequest type (#16633 by @luckyCao) |
| | | |
| | | ### 2.11.1 |
| | | |
| | | *2019-07-26* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Image |
| | | - Fix Image component SSR compatibility (#16737 by @luckyCao) |
| | | - Chore |
| | | - Update dart-sass compatibility (#16744 by @LewisChennnnn) |
| | | |
| | | ### 2.11.0 |
| | | |
| | | *2019-07-25* |
| | | |
| | | #### New features |
| | | |
| | | - Drawer |
| | | - Add drawer component (#16577 by @JeremyWuuuuu) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Checkbox |
| | | - Enhance css selector (#16006 by @Hazlank) |
| | | - Tree |
| | | - Make el-tree generic (#15934 by @JeremyWuuuuu) |
| | | - Set isCurrent prop to False (#15870 by @kkkisme) |
| | | - Dropdown |
| | | - Fix split-button caret default color (#15931 by @JuniorTour) |
| | | - Cascader |
| | | - Fix level 1 children is empty update problem (#16399 by @luckyCao) |
| | | - Add sets default values when lazy is true (#16420 by @luckyCao) |
| | | - Fix display errors when node value is duplicate (#15935 by @junyiz) |
| | | - Expose getCheckedNodes and fix options change bug (#16709 by @SimonaliaChen) |
| | | - Calendar |
| | | - Display correct header when range is specified (#16354 by @ziyoung) |
| | | - Submenu |
| | | - Fix prop append-to-body (#16289 by @a631807682) |
| | | - Table |
| | | - Fix tree table when updating data (#16481 by @island205) |
| | | - Select |
| | | - Fix memory leak issue (#16463 by @island205) |
| | | - InfiniteScroll |
| | | - Update naming & doc (#16698 by @iamkun) |
| | | - Avatar |
| | | - Fix image not center vertically issue (#16489 by @luckyCao) |
| | | - Dialog |
| | | - Add destroyOnClose attribute (#16455 by @ziyoung) |
| | | - Image |
| | | - Add big Image preview feature (#16333 by @luckyCao) |
| | | |
| | | #### Optimization |
| | | |
| | | - Docs |
| | | - Fix dropdown demo (#16193 by @webxmsj) |
| | | - Fix typo in table documents (#15971 by @howiefh) |
| | | - I18n |
| | | - Update translation of Thai language (#16689 by @ponkrit) |
| | | - Chore |
| | | - Update theme base api (#16607 by @iamkun) |
| | | - Add form theme token (#16699 by @iamkun) |
| | | - Mark ali inner user's access (#16609 by @iamkun) |
| | | - Fix doc anchor bug (#16692 by @iamkun) |
| | | |
| | | ### 2.10.1 |
| | | |
| | | *2019-07-02* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Table |
| | | - Fix sort icon (#15439 by @bezany) |
| | | - Fix layout breaks when append slot exists (#16332 by @ziyoung) |
| | | - Fix showOverflowTooltip not reactive (#16295 by @a631807682) |
| | | - Register scrollbar in filter-panel (#16246 by @ziyoung) |
| | | - Chore |
| | | - Fix 2.9 docs (#16233 by @ziyoung) |
| | | - Fix index page theme intro english css style issue (#16254 by @iamkun) |
| | | |
| | | #### Optimization |
| | | |
| | | - Tag |
| | | - Compatible with IE (#16334 by @ziyoung) |
| | | - Chore |
| | | - Update Dingtalk Group QR image (#16236 by @iamkun) |
| | | - Doc |
| | | - Update online theme roller doc (#16244 by @iamkun) |
| | | |
| | | ### 2.10.0 |
| | | |
| | | *2019-06-25* |
| | | |
| | | #### New features |
| | | |
| | | - I18n |
| | | - Added Uzbek language (#15796 by @ogabek96) |
| | | - Calendar |
| | | - Add first-day-of-week attribute (#16047 by @ziyoung) |
| | | - Avatar |
| | | - Add avatar component (#16144 by @luckyCao) |
| | | - Upload: |
| | | - Add capability to customize thumbnail template (#13192 by @victorzhuk) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Tree |
| | | - Not highlight tree node when currentKey is null (#15668 by @yyjjqq94) |
| | | - Fix issue #15538 caused by two Tree sharing the same data (#15615 by @VanMess) |
| | | - Upload |
| | | - Update the parameter `fileList` type (#15716 by @underfin) |
| | | - Table |
| | | - Fix loading icon not display (#15868 by @ziyoung) |
| | | - Fix background color of complex table when hovering (#15504 by @cnlon) |
| | | - Fix current-row-key and select event bug (#15983 by @ziyoung) |
| | | - Height accepts more units (#16013 by @ziyoung) |
| | | - Fix reserve-selection not work (#16135 by @ziyoung) |
| | | - Docs |
| | | - Fix Divider attribute type in zh-cn (#15889 by @haoranyu) |
| | | - Menu |
| | | - Fixed submenu hidden bug after adding popper-append-to-body (#15391 by @PanJiaChen) |
| | | - Select |
| | | - Fix initialInputHeight (#15989 by @yyjjqq94) |
| | | - Fix default-first-option behavior when typing Chinese (#15431 by @VanMess) |
| | | - fix double import problem (#16215 by @lengband) |
| | | - Message |
| | | - Add type def for offset option (#16027 by @matjaz) |
| | | - Timeline |
| | | - Fix reverse broken (#16091 by @ziyoung) |
| | | - Slider |
| | | - Fix #15545 by adding explains about "input" event in Chinese (#15588 by @VanMess) |
| | | - InfiniteScroll |
| | | - Update package name (#16125 by @iamkun) |
| | | - MessageBox |
| | | - Fix distinguishCancelAndClose action not same as docs bug (#15438 by @qingdengyue) |
| | | - PopupManager |
| | | - Fix z-index cannot be rewritten at first using (#15738 by @luckyCao) |
| | | - Docs |
| | | - Delete an incorrect closing html tag and empty block code (#16194 by @Alexeykhr) |
| | | - Chore |
| | | - Update test api host (#15807 by @iamkun) |
| | | |
| | | #### Optimization |
| | | |
| | | - Tree |
| | | - Modify loop conditions to improve performance (#15699 by @KingJeason) |
| | | - Theme |
| | | - Refine GA track & Update footer link forward to online theme roller (#16007 by @island205) |
| | | - Badge |
| | | - Update badge prop check (#16198 by @iamkun) |
| | | - Avatar |
| | | - Update theme config var (#16202 by @luckyCao) |
| | | - I18n |
| | | - Update pt-br.js (#15776 by @gigioSouza) |
| | | - Update Farsi translation (#15881 by @pamenary) |
| | | - Docs |
| | | - Add missing components in quickstart (#16063 by @pape2016) |
| | | - Update french translation (#16208 by @blombard) |
| | | - Add description $slots.default (#15444 by @Alexeykhr) |
| | | - Update Spanish Doc 2.9.1 (#15840 by @Gonzalo2310) |
| | | - Fix spelling mistakes in fr (#15837 by @blombard) |
| | | - Update changelog 2.9.2 Spanish (#16185 by @Gonzalo2310) |
| | | |
| | | #### Breaking changes |
| | | |
| | | - Form |
| | | - Remove success status (#16159 by @ziyoung) |
| | | |
| | | ### 2.9.2 |
| | | |
| | | *2019-06-21* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Chore |
| | | - Fix TS definitions file (#15805 by @NateScarlet) |
| | | |
| | | ### 2.9.1 |
| | | |
| | | *2019-05-30* |
| | | |
| | | #### New features |
| | | |
| | | - Table |
| | | - default-expand-all, expand-row-keys, toggle-row-expansion method and expand-change event are supported in Tree Table (#15709 by @ziyoung) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Table |
| | | - Fix some bugs (#15709 by @ziyoung) |
| | | - Theme |
| | | - Update api host (#15784 by @iamkun) |
| | | |
| | | #### Optimization |
| | | |
| | | - Chore |
| | | - Update InfiniteScroll type (#15794 by @iamkun) |
| | | |
| | | ### 2.9.0 |
| | | |
| | | *2019-05-30* |
| | | |
| | | #### New features |
| | | |
| | | - Backtop |
| | | - Add Backtop component (#15541 by @iamkun) |
| | | - PageHeader |
| | | - Add PageHeader component (#15714 by @ziyoung) |
| | | - InfiniteScroll |
| | | - Add InfiniteScroll directive (#15567 by @iamkun) |
| | | - Cascader |
| | | - Add multiple mode and filter-method (#15611 by @SimonaliaChen) |
| | | - Message |
| | | - Display in stack mode (#15639 by @island205) |
| | | - Tag |
| | | - Add prop effect (#15725 by @SimonaliaChen) |
| | | - Tabs |
| | | - Left align title when type is card (#15695 by @luckyCao) |
| | | - DatePicker |
| | | - Support literal strings (#15525 by island205) |
| | | - Image |
| | | - Add support for transmit attrs and listeners (#15578 by @VanMess) |
| | | - Theme |
| | | - Add popup background (#15412 by @iamkun) |
| | | - Chore |
| | | - Update new 2.9.0 index page (#15682 by @iamkun) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Table |
| | | - Fix sort-change behaviour when sort condition is null (#15012 by @joelxr) |
| | | - Image |
| | | - Fix ssr and object-fit compatibility (#15346 by @SimonaliaChen) |
| | | - Input |
| | | - Fix show-word-count style in el-form (#15359 by @lvjiaxuan) |
| | | - Fix clear icon is not centered (#15354 by @YiiGuxing) |
| | | - Calendar |
| | | - Fix not correct day of week when the day is Sunday (#15399 by @qingdengyue) |
| | | - Fix October disappear bug (#15394 by @qingdengyue) |
| | | - Tabs |
| | | - Fix basic tab nested in card tab padding error (#15461 by @SimonaliaChen) |
| | | - Tag |
| | | - Fix stop propagation problem (#15150 by @infjer) |
| | | - Form |
| | | - Fix input-group within form-item height error (#15457 by @SimonaliaChen) |
| | | - Fix resetFields issue (15181 by @luckyCao) |
| | | - Tooltip |
| | | - Fix custom tabindex not work (#15619 by @SimonaliaChen ) |
| | | - Link |
| | | - Fix link icon style class (#15752 by @iamkun) |
| | | - Select |
| | | - Revert set value to null when cleared (#15447 by @iamkun) |
| | | - Loading |
| | | - Fix dom not change when loading state change quickly (#15123 by @FAKER-A) |
| | | - Switch |
| | | - Label with el-switch repeating event (#15178 by @FAKER-A) |
| | | - Slider |
| | | - Fix style problem when clicking slider bar(#15561 by @luckyCao) |
| | | - Radio |
| | | - Fix issue 14808 (#14809 by @OverTree) |
| | | - Form |
| | | - Fix resetFields issue (15181 by @luckyCao) |
| | | - Chore |
| | | - Upgrade dependencies and fix demo bug (#15324 by ziyoung) |
| | | - Type |
| | | - Fix loading type definition (#15635 by @iamkun) |
| | | - Fix Icon type (#15634 by @iamkun) |
| | | - Fix Link type definition (#15402 by @iamkun) |
| | | |
| | | #### Optimization |
| | | |
| | | - Cascader |
| | | - Refactor (#15611 by @SimonaliaChen) |
| | | - Chore |
| | | - Update make new component logic (by @iamkun) |
| | | - Docs |
| | | - Rename variable in docs (#15185 by @liupl) |
| | | - Fix image attribute type and default value (#15423 by @haoranyu) |
| | | - Fix form doc bug (#15228 by @SHERlocked93) |
| | | |
| | | ### 2.8.2 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Icon |
| | | - Update icon (#15272 by @iamkun) |
| | | - Docs |
| | | - Fix Form and Input doc style (#15273 by @ziyoung) |
| | | |
| | | ### 2.8.1 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Icon |
| | | - Update icon of cascader and select (#15264 by @SimonaliaChen) |
| | | - Update icon (#15258 #15268 by @iamkun) |
| | | |
| | | #### Optimization |
| | | |
| | | - Chore |
| | | - Update build script (#15267 by @ziyoung) |
| | | - Docs |
| | | - Fix link underline color (#15265 by @iamkun) |
| | | - Other |
| | | - Fix migrating config not compatible with camel case props and events (#15260 by @SimonaliaChen) |
| | | |
| | | ### 2.8.0 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### New features |
| | | |
| | | - Divider |
| | | - Add divider component (#15055 by @island205) |
| | | - Rate |
| | | - Add custom colors and icon-classes by passing a object (#15051 by @SimonaliaChen) |
| | | - Link |
| | | - Add link component (#15052 by @iamkun) |
| | | - Calendar |
| | | - Add calendar component (#14908 by @ziyoung) |
| | | - Icon |
| | | - Add icon (#15214 by @iamkun) |
| | | - Alert |
| | | - Add dark theme (#15041 by @island205) |
| | | - Image |
| | | - Add image component (#15117 by @SimonaliaChen) |
| | | - Collapse |
| | | - CollapseItem can be disabled (#15076 by @ziyoung) |
| | | - Carousel |
| | | - Add direction attribute and support vertical direction (#15122 by @ziyoung) |
| | | - Pagination |
| | | - Add hide-on-single-page attribute (#15096 by @ziyoung) |
| | | - Slider |
| | | - Add marks attribute (#15133 by @luckyCao) |
| | | - Input |
| | | - Add show-word-count attribute (#15075 by @luckyCao) |
| | | - InputNumber |
| | | - Add step-strictly attribute (#15050 by @luckyCao) |
| | | - Tooltip, Dropdown, Popover |
| | | - Support tabindex attribute (#15167 by @ziyoung) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Notification |
| | | - Fix title word break (#15008 by @iamkun) |
| | | - Form |
| | | - Fix switching the rules in el-form not work (#14985 by @luckyCao) |
| | | - Fix label style (#14969 by @ziyoung) |
| | | - Required FormItem displays asterisk when label is auto (#15144 by @ziyoung) |
| | | - Pagination |
| | | - Fix slot not updated (#14711 by @lucyhao) |
| | | - Table |
| | | - Fix load bug in lazy mode (#15101 by @ziyoung) |
| | | - Fix cell width when colspan is grater than 1 (#15196 by @ziyoung) |
| | | - Improve performance (#14868 by @ziyoung) |
| | | - Don't emit triggers sort-change during initialization (#14625 by @PeanutWatson) |
| | | - Equal behaviour for height and max-height (#14660 by @arthurdenner) |
| | | - Dialog |
| | | - Fix dialog body correctly break long words (#15027 by @iamkun) |
| | | - Alert |
| | | - update type definition (#15186 by @ziyoung) |
| | | - Tabs |
| | | - Fix issue where Promise rejection was hitting application (#14816 by @ffxsam) |
| | | - Rerender when slot changes (#15238 by @ziyoung) |
| | | - Message |
| | | - Fix type definition (#14968 by @agoni1212) |
| | | - Select |
| | | - Fix error when value is undefined or null (#15022 by @luckyCao) |
| | | - Tree |
| | | - Delete current node after it removed (#14604 by @sinchang) |
| | | - Improve performance (#14881 by @ChenZhuoSteve) |
| | | - Dropdown |
| | | - Fix style (#14907 by @doing123) |
| | | - Slider |
| | | - Fix broken keyboard a11y bug (#14792 by @erezsob) |
| | | - Menu |
| | | - ActiveIndex value shall be null if defaultIndex does not exist(#14074 by @hoythan) |
| | | - Directive |
| | | - RepeatClick: use Date.now() instead of new Date() (#14776 by @pavelmash) |
| | | - Upload |
| | | - Fix Upload transparent picture display style (#15039 by @iamkun) |
| | | - Theme |
| | | - Add zero border (#15256 by @iamkun) |
| | | |
| | | #### Optimization |
| | | |
| | | - Chore |
| | | - Update changelog zh-cn (#14965 by @iamkun) |
| | | - Hide demo description when it's empty (#15014 by @ziyoung) |
| | | - Display dev server info by default by @iamkun) |
| | | - Fix 2.6.0 changelog error (#15026 by @iamkun) |
| | | - Update build config (#14821 by @abc3660170) |
| | | - Add hmr (#15221 by @SimonaliaChen) |
| | | - Use sourcemap in dev environment (#15087 by @ibufu) |
| | | Docs |
| | | - Rename variable in docs (#14602 #15003 #15094 #15105 by @liupl) |
| | | - Fix upload doc error (#15023 by @iamkun) |
| | | - Update Form custom validator doc (#15040 by @iamkun) |
| | | - Update Tabs docs to display vertical tabs (#15053 by @iamkun) |
| | | - Use eleme.cn as domain (#15139 by @ziyoung) |
| | | - Fix Image route name (#15194 by @iamkun) |
| | | - Remove duplicated fr translation (#15207 by @iamkun) |
| | | |
| | | #### Breaking changes |
| | | |
| | | - Rate |
| | | - Fix decimal display support in disabled mode (#15089 by @haoranyu) |
| | | - Select |
| | | - Use placeholder option label to set placeholder in filter mode (#14989 by @ibufu) |
| | | |
| | | ### 2.7.2 |
| | | |
| | | *2019-04-03* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Form |
| | | - Fix auto `label-width` style (#14955 by @ziyoung) |
| | | |
| | | #### Optimization |
| | | - Docs |
| | | - Fix doc img link error (#14957 by @iamkun) |
| | | - Chore |
| | | - Fix deploy mkdir error (#14952 by @iamkun) |
| | | |
| | | ### 2.7.1 |
| | | |
| | | *2019-04-03* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Select |
| | | - Set value to null when cleared (#14322 by @aaronfulkerson) |
| | | - Input |
| | | - Update DOM dependent values on type change (#14889 by @wacky6) |
| | | - Table |
| | | - Make `defaultExpandAll` works when expanded column exists (#14935 by @ziyoung) |
| | | - Dialog |
| | | - Background color can be configured (#14939 by @ziyoung) |
| | | - Form |
| | | - `label-width` supports auto width (#14944 by @ziyoung) |
| | | |
| | | #### Optimization |
| | | - Docs |
| | | - Update Spanish docs (#14913 by @Gonzalo2310) |
| | | - Add French doc for new component (#14924 by @ziyoung) |
| | | - Optimize Tabs docs (#14938 by @ziyoung) |
| | | |
| | | ### 2.7.0 |
| | | |
| | | *2019-03-28* |
| | | |
| | | #### New features |
| | | |
| | | - Table |
| | | - Add support tree structure data (#14632 by @ziyoung) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Tabs |
| | | - Use primary color as boxShadow color (#14558 by @Richard-Choooou) |
| | | - Rerender when label changes (#14496 by @akki-jat) |
| | | - Table |
| | | - Footer follows body cell align (#14730 by @ziyoung) |
| | | - NavMenu |
| | | - Fix click el-submenu trigger childMenu pop again bug (#14443 by @PanJiaChen) |
| | | - Dropdown |
| | | - Make compatible with 2.6 new v-slot syntax (#14832 by @ziyoung) |
| | | - ColorPicker |
| | | - Fix handle error hex color string (#14793 by @iamkun) |
| | | - Tree |
| | | - Revert pr #13349 (#14847 by @ziyoung) |
| | | - Tooltip |
| | | - Display when initial value is true (#14826 by @ziyoung) |
| | | - Docs |
| | | - Update cascader docs (#14442 by @panhezeng) |
| | | - Style |
| | | - Fix media query in sm-only, md-only, lg-only (#14611 by @sinchang) |
| | | |
| | | #### Optimization |
| | | |
| | | - Chore |
| | | - Add webpage description (#14802 by @iamkun) |
| | | |
| | | ### 2.6.3 |
| | | |
| | | *2019-03-21* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Fix Cascader demo style (#14789 by @ziyoung) |
| | | - Remove unnecessary DOM operation (#14788 by @ziyoung) |
| | | - Fix DatePicker default-value DST (#14562 by @wacky6) |
| | | |
| | | ### 2.6.2 |
| | | |
| | | *2019-03-21* |
| | | |
| | | #### New features |
| | | |
| | | - DatePicker |
| | | - Add monthrange for type attribute (#14487 by @zxyRealm) |
| | | - i18n |
| | | - Add Croatian locale (#14360 by @danijelh) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Input |
| | | - Fix regression (#14572 by @wacky6) |
| | | - DatePicker |
| | | - Fix first-day-of-week computation (#14523 by @sinchang) |
| | | - Fix week picker's value-format (#13754 by @wacky6) |
| | | - Steps |
| | | - Fix issue #14502 (#14596 by @sinchang) |
| | | - Fix style with simple theme (#14610 by @sinchang) |
| | | - Docs |
| | | - Update french doc for 2.6.1 and fix typos (#14555 by @smalesys) |
| | | - Rename variable in Table docs (#14587 by @likwotsing) |
| | | - Add french search index (#14565 by @iamkun) |
| | | - Fix TimePicker page style (#14579 by @ziyoung) |
| | | - Rename variable in Upload docs (#14593 by @liupl) |
| | | - French translation update (#14643 by @smalesys) |
| | | - Update Form async validator docs (#14694 by @iamkun) |
| | | - Fix tooltip doc error (#14748 by @iamkun) |
| | | - Fix typo (#14751 by @2bj) |
| | | - Fix highlighting control elements for Webkit touch (#14703 by @VladG0r) |
| | | |
| | | #### Optimization |
| | | |
| | | - Chore |
| | | - Update ci build script (#14600 by @ziyoung) |
| | | - Update ga tracking (#14560 by @iamkun) |
| | | - Add more ga event (#14633 by @iamkun) |
| | | - Update discusion group (#14741 by @iamkun) |
| | | - Update test deps and conf (#14735 by @wacky6) |
| | | - Upgrade gulp (#14745 by @ziyoung) |
| | | - Use codepen to display demo & fix doc error (#14747 by @ziyoung) |
| | | |
| | | ### 2.6.1 |
| | | |
| | | *2019-03-03* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - **Don't specify node version** (by @iamkun in #14546) |
| | | - Fix doc directory in `deloy-faas.sh` (by @ziyoung in #14553) |
| | | - Fix date style issue in changelog for 2.6.0 (by @island205 in #14547) |
| | | - Fix doc typo (by @wack6 in #14552) |
| | | |
| | | ### 2.6.0 |
| | | |
| | | *2019-03-01* |
| | | |
| | | #### New features |
| | | - Timeline |
| | | - Add timeline component (by @jikkai in #14248) |
| | | - DropdownItem |
| | | - Add icon prop to `el-dropdown-item` (by @gabrielboliveira in #14088) |
| | | - Input |
| | | - Add show-password props (by @phshy0607 in #13966) |
| | | - Select |
| | | - Add slot `empty` (by @elfman in #13785) |
| | | - Autocomplete |
| | | - Add highlight-first-item prop (by @YamenSharaf in #14269) |
| | | - I18n |
| | | - Created Armenian locale (by @hamletbarsamyan in #14214) |
| | | - Docs |
| | | - French translation (by @smalesys in #12153, #14418, #14434) |
| | | |
| | | #### Optimization |
| | | - Alert |
| | | - Update alert description default slot class (by @iamkun in #14488) |
| | | - Input |
| | | - Update input password (by @iamkun in #14480) |
| | | - InputNumber |
| | | - Remove unnecessary parseFloat (by @JuniorTour in #14172) |
| | | - Menu |
| | | - Add support for `el-menu-item` without index (by @georgyfarniev in #13298) |
| | | - Table |
| | | - Remove some html DOM operations (by @elfman in #13643) |
| | | - Upload |
| | | - Optimize code (by @elfman in #13973) |
| | | - Popup |
| | | - Optimize code (by @KAionro in #14413) |
| | | - Docs |
| | | - Add more detail about how to run play mode for contribution (by @island205 in #14355) |
| | | - Warn input as a controlled component (by @wacky6 in #14463) |
| | | - Update Table doc (by @luguokong in #14329) |
| | | - Update input doc (by @iamkun in #14437) |
| | | - Update custom-theme docs (by @wangguohao in #14297) |
| | | - Make the icon style change when hover on it (by @tuxinghuan in #14295) |
| | | - Build |
| | | - Minimizing css and js for Element doc site (by @iamkun in #14430) |
| | | - Speeding up webpack (by @hetech in #14484) |
| | | - Use cli to select release version (by @hetech in #14354) |
| | | - Install stale for issue handling (by @island205 in #14392) |
| | | |
| | | #### Bug fixes |
| | | - Menu |
| | | - Fix subMenu focus bug when switch browser tab (by @liupl in #13976) |
| | | - MessageBox |
| | | - Fix type definition (by @NateScarlet in #14278) |
| | | - ScrollBar |
| | | - Prevent right button click on thumb (by @xifeiwu in #14196) |
| | | - Switch |
| | | - Trigger form validation if value changes (by @hetech in #14426) |
| | | - Table |
| | | - Make toggleAllSelection method an instance method (by @letanure in #14075) |
| | | - Tabs & Dropdown |
| | | - Fix style (by @hetech in #14452) |
| | | - Tree |
| | | - Empty-text tips are different from tables (by @ColinCll in #14331) |
| | | - Docs |
| | | - Fix DatetimePicker format doc error (by @iamkun in #14290) |
| | | - Spelling issue in datepicker documentation (by @helmut in #14481) |
| | | - Fix pagination doc style (by @liuchuzhang in #14451) |
| | | |
| | | #### Breaking changes |
| | | - Table |
| | | - Fix params order of row events (by @jikkai in #12086) |
| | | |
| | | ### 2.5.4 |
| | | |
| | | *2019-02-01* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Build: Fix babel config issue which lead to collapse transition broken (by @island205 in #14282) |
| | | |
| | | ### 2.5.3 |
| | | |
| | | *2019-01-31* |
| | | |
| | | #### Optimization |
| | | |
| | | - Optimize code of Message (by @vok123 in #14029) |
| | | - Retire gh-pages (by @ziyoung in #14266) |
| | | - Add IssueHunt link (by @island205 in #14261) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Fix UMD module error on server side (by @island205 in #14242) |
| | | - Fix active TabBar style (by @iamkun in #14240) |
| | | - Fix Table demo code error (by @xunmeng in #14253) |
| | | |
| | | ### 2.5.2 |
| | | |
| | | *2019-01-27* |
| | | |
| | | #### Optimization |
| | | - Docs: |
| | | - Update ChangeLog ES 2.5.1 (by @Gonzalo2310 in #14231) |
| | | |
| | | #### Bug fixes |
| | | - Build: |
| | | - Delete unremoved comments in umd module `lib/index.js` (by @island205 in #14233) |
| | | - Fix export error fired in commonjs module used in nuxt.js (by @island205 in #14232) |
| | | - Fix 2.5.1 build issues (by @iamkun in #14228) |
| | | |
| | | ### 2.5.1 |
| | | |
| | | *2019-01-26* |
| | | |
| | | #### Optimization |
| | | - DatePicker: highlight current month and year (by @Debiancc in #14211) |
| | | - Update 2.5.0 changelog (by @wacky6 in #14217) |
| | | |
| | | #### Bug fixes |
| | | - Fix export issue generate by webpack upgrading (by @island205 in #14220) |
| | | - Keep 2.4.11 docs && new sub folder for 2.5+ (by @iamkun in #14222) |
| | | |
| | | ### 2.5.0 |
| | | |
| | | *2019-01-25* |
| | | |
| | | #### New features |
| | | - DatePicker |
| | | - Add `validate-event` attribute (by @ziyoung in #13531) |
| | | - DateTimePicker |
| | | - `pickerOptions` support `selectableRange` option (by @eeeeeeeason) |
| | | - Tag |
| | | - Add `click` event (by @licdream in #14106) |
| | | - I18n |
| | | - support Kyrgyz language (by @zzjframework in #14174) |
| | | |
| | | #### Optimization |
| | | - Upgrade to webpack@4 (by @jikkai in #14173) |
| | | - Input |
| | | - Simplify implementation, follow one-way data flow. Fix several related bugs (by @wacky6 in #13471) |
| | | - Update Axure fileï¼add new components (by @ziyoung in #13773) |
| | | |
| | | #### Bug fixes |
| | | - Autocomplete |
| | | - Fix dropdown's last line beging clipped (by @ziyoung in #13597) |
| | | - Fix missing popper arrow (by @liuchuzhang in #13762) |
| | | - Carousel |
| | | - Cleanup timer when component is destroyed (by @elfman in #13820) |
| | | - Cascader |
| | | - Remove deprecated property of computed props (by @iamkun in #13737) |
| | | - Fix CascaderOption's type definition in TypeScript (by @NateScarlet in #13613) |
| | | - Fix icon covering the text (by @ziyoung in #13596) |
| | | - Checkbox |
| | | - Refine style (by @PanJiaChen) |
| | | - DatePicker |
| | | - Add missing v-for `key` in TimeSpinner (by @Ende93 in #13547) |
| | | - Fix week highlight on year boundary (by @suyi91 in #13883) |
| | | - Input |
| | | - Fix textarea DOM node reference (by @laomu1988 @island205 in #13803) |
| | | - Pagination |
| | | - Input value won't be less than 1 (by @elfman in #13727) |
| | | - Popover |
| | | - Fix popover issues with hover trigger (by @goldengecko in #13104) |
| | | - Fix popper instance memory leak (by @qpxtWhite in #13988) |
| | | - Radio |
| | | - Refine style (by @ohhoney1) |
| | | - Table |
| | | - Enhanced table sorting when clicking on the sorting arrow (by @ohhoney1 in #12890) |
| | | - Fix empty text vertical alignment issue on IE10+ (by @imzjy in #13638) |
| | | - Fix index type documentation (by @ilovefafa in #13628) |
| | | - Fix `show-summary` display issue when multilevel header has fixed attr (by @luckyCao in #13914) |
| | | - Tabs |
| | | - Fix auto scroll bug (by @iamkun in #13696) |
| | | - Get the correct tab through tab name (by @iamkun in #13705) |
| | | - Use paneName instead of name to determine pane style (by @iamkun in #13733) |
| | | - Tree |
| | | - Fix `showCheckbox` prop on `Tree` can not affect their children `tree-node` (by @KidneyFlower) |
| | | - Update doc and definition file (by @ziyoung in #13540) |
| | | - Upload |
| | | - Add `url` prop to upload file when `list-type` changed (by @elfman in #13771) |
| | | - Slider |
| | | - Fix source code indentation (by @wacky6 in #13955) |
| | | - I18n |
| | | - Add missing Catalan translations (by @jaumesala) |
| | | - Add missing ru translation (by @justlp in #13658) |
| | | - Fix Finnish translations (by @jenkrisu in #14137) |
| | | - Doc |
| | | - Update Spanish doc 2.4.11 (by @Gonzalo2310 in #13522) |
| | | - Others |
| | | - Remove unnecessary script (by @ziyoung) |
| | | - Fix error anchor link (by @iamkun in #13753) |
| | | - Fix inconsistent capitalization in documentation (by @wonderjar) |
| | | - Add DingDing chat group qr code to readme (by @iamkun in #13957) |
| | | - Add yarn logs to .gitignore (by @mimimi in #13922) |
| | | - Remove sponsor duotai (by @island205 in #14156) |
| | | - Update readme qr code src (by @iamkun in #13960) |
| | | - Update CDN link, fix typo (by @ziyoung) |
| | | |
| | | ### 2.4.11 |
| | | |
| | | *2018-11-21* |
| | | |
| | | - Revert pr #13296. Fixed clicking on Menu external causing Submenu collapsed, #13478 |
| | | - Adjust small screen (xs) media query breakpoints, #13468 (by @alekoshen712) |
| | | |
| | | ### 2.4.10 |
| | | |
| | | *2018-11-16* |
| | | |
| | | - Fixed multiple clicks on Select to display the drop-down list, #13268 |
| | | - The clear icon for input is not displayed when Form is disabled, #13208 |
| | | - Adjust the style of Select, Progress, Autocomplete, Tooltip, Collaspe, TimePicker, #13188 (by @porcelainHeart) #13210 #13266 #13257 #13290 #13347 (by @PanJiaChen) |
| | | - Carousel component added `loop` attribute, #13217 |
| | | - When the data of Table changes, the highlighted line will remain, #13200 |
| | | - Table header scoped slot can receive parameters, #13263 |
| | | - Table's `clearFilter` method supports arguments, #13176 |
| | | - Tooltip is no longer created when there is no content in the Table cell, #13152 (by @rongxingsun) |
| | | - The input box contents of the ColorPicker panel can be displayed correctly, #13278 |
| | | - ColorPicker no longer triggers form validation when dragging, #13299 |
| | | - InputNumber added `select `method, #13286 (by @st-sloth) |
| | | - Autocomplete added `clear` event, #12171(by arthurdenner) #13326 |
| | | - You can close Menu by clicking on Menu outside, #13296 |
| | | - Form's `validateField` method can receive arguments, #13319 |
| | | - Cascader added `visible-change` event, #13415 |
| | | - DatePicker added range-separator slot, #13272 (by @milworm) |
| | | - Tree adds `iconClass` and `currentNodeKey` properties, #13337 #13197 (by @isnifer) |
| | | - Progress's` status` added text #13198 (by @ali-master) |
| | | - Fixing tree's `defaultCheckedKeys` caused an error, #13349 (by @dive2Pro) |
| | | |
| | | ### 2.4.9 |
| | | |
| | | *2018-10-26* |
| | | |
| | | - The parameter of Form's `clearValidate` supports string, #12990 (by @codinglobster) |
| | | - Added type attribute for Badge, #12991 |
| | | - Users can use scoped-slot to customize table column header #13012 (by @ivanseidel) |
| | | - Fixed the input box of Select unable to type text under IE, #13034 (by @GaliMU) |
| | | - Select option does not wrap when space is enough, #12329 (by @akki-jat) |
| | | - When dropdown list of Select is expanded, the arrow icon will also display correctly, #12353 (by @firesh) |
| | | - Fixed that the size attribute of Select does not work, #13070 |
| | | - Select multiple values can be cleared, #13049 (by @ZSkycat) |
| | | - Fixed the last TabNav unable be deleted, #13039 |
| | | - Fixed that TabNav label is not displayed correctly, #13178 |
| | | - Added title slot for Alert, #13082 (by @Kingwl) |
| | | - Fixed an issue where the tooltip content in Table was incorrect, #13159 (by @elfman) |
| | | - Optimize the animation of Upload when file is deleted, #12987 |
| | | - Adjusted style of InputNumber when control button is not displayed, #13052 |
| | | |
| | | ### 2.4.8 |
| | | |
| | | - Not displaying outline when Switch is focused, #12771 |
| | | - Fixed Dropdown's style in ButtonGroup, #12819 (by @bluejfox) |
| | | - Added opened event for Dialog, #12828 |
| | | - Fixed the incorrect display order of TabNav, #12846 |
| | | - Fixed the problem that Tabs did not scroll to the selected tab, #12948 |
| | | - Fixed the problem that the identifier does not display when the Tree node is dragged, #12854 |
| | | - The validate event parameter of Form contains the validation message, #12860 (by @YamenSharaf) |
| | | - Fixed DatePicker not to verify the validity of user input time, #12898 |
| | | - Fixed the problem that `render-header` attribute of Table header doesn't work, #12914 |
| | | |
| | | ### 2.4.7 |
| | | |
| | | *2018-09-14* |
| | | |
| | | - Fixed DatePicker not triggering form validation, #12328 #12348 |
| | | - Fixed DatePicker throwing errors in multiple mode, #12347 |
| | | - Fixed incorrect position of DatePicker spinner, #12415 (by @rang-ali) |
| | | - Fixed automatic filling of DatePicker input box, #12521 (by @abdallanayer) |
| | | - Fixed Input not highlighted in Cascader, #12341 |
| | | - Fixed wrong order of Tabpane, #12346 |
| | | - Fixed incorrect position of ColorPicker cursor, #12376 (by @cnwhy) |
| | | - Fixed the style of Submenu, #2457 |
| | | - Fixed not highlighted after Submenu is selected, #12479 |
| | | - Fixed incorrect values selected by Cascader, #12508 (by @huangjinqiang) |
| | | - Fixed incorrect value of Pagination input box, #12525 |
| | | - Fixed order that Pagination triggers events, #12530 |
| | | - Fixed Table Filter not displayed, #12539 |
| | | - Fixed Tree unable to delete nodes, #12684 |
| | | - Fixed height of Select Input changing in single mode, #12719 |
| | | - Fixed style of FormItem label in nested Form, #12748 |
| | | - Added `autocomplete` attribute for Input, deprecated `auto-complete`, #12514 (by @axetroy) |
| | | - Added slots-scope for Form to display validation information, #12715 (by @YamenSharaf) |
| | | |
| | | ### 2.4.6 |
| | | |
| | | *2018-08-09* |
| | | |
| | | - Fixed Table not showing filter icon when `filters` is assigned empty array, #12165 |
| | | - Fixed Menu not saving active state when `collapse` is changed, #12178 (by @elfman) |
| | | - Fixed Cascader not escaping special characters for Regexp, #12248 |
| | | - Fixed disabled RadioButton showing box-shadow when clicked, #12262 |
| | | - Fixed arrow key not effect when default value is `undefined`,#12322 |
| | | - Fixed query function of Select not debounced in multi mode, #12181 |
| | | - Fixed query keyword of Select disappearing in multi mode, #12304 |
| | | - Fixed incorrect width of Dialog when it is displayed in full screen, #12203 |
| | | - Fixed incorrect display of Main on IE, #12237 |
| | | - Fixed Input triggering two form validations, #12260 |
| | | - Fixed adding new Tree node causing nodes to disappear, #12256 |
| | | - Fixed Tree node not deleted after dragging, #12279 |
| | | - Fixed Popover not visible when InputNumber focuses, #12284 |
| | | - Added `popper-append-to-body` attribute for Autocomplete, #12241 |
| | | - Added `sync` modifier support for Pagination's `page-size` attribute, #12281 |
| | | |
| | | ### 2.4.5 |
| | | |
| | | *2018-07-26* |
| | | |
| | | - Fixed Table setting `class-name` does not work for `expand` column, #12006 |
| | | - Added `toggleAllSelection` method for Table, #12047 |
| | | - Fixed wrong position of suffix slot when Input contains Select, #12108 |
| | | - Fixed `line-height` of Option unable to set, #12120 |
| | | - Fixed TimeSelect with default value of `null` could not be assigned after executing `resetField`, #12010 |
| | | - Fixed keydown event which is not arrow key does not work in Tree, #12008 |
| | | - Fixed parent node checked in lazy mode, #12106 |
| | | - Added `includeHalfChecked` parameter for getCheckedNodes of Tree, #12014 |
| | | |
| | | ### 2.4.4 |
| | | |
| | | *2018-07-13* |
| | | |
| | | - Fixed triggering Select validation after Form resetting, #11837 |
| | | - Fixed wrong position of Input `suffix` slot when `suffix` slot with `append` slot, #11951 |
| | | - Fixed clearable Input still displaying the clear icon when readonly, #11967 |
| | | - Fixed Tree node checked when it's disabled, #11847 |
| | | - Fixed Tree's `default-checked-keys` not working, #11971 |
| | | - Fixed `empty-text` not visible when Tree node filtered, #11971 |
| | | - Fixed the position of oversized `empty-text` in Table, #11965 |
| | | - Fixed Table row not be unhighlighted when `current-row-key` is assigned to `null`, #11866 |
| | | - Fixed showing filter dropdown when `filters` is an empty array, #11864 |
| | | - Fixed Radio's label does not stop event propagation, #11912 |
| | | |
| | | ### 2.4.3 |
| | | |
| | | *2018-07-03* |
| | | |
| | | - Fixed `allow-drop` not working properly when Tree nodes have a custom height, #11797 |
| | | - Now you can pass a parameter to the `clearValidate` method of Form, specifying which FormItems' validation results need to be cleared, #11821 |
| | | - Added `distinguishCancelAndClose` attribute for MessageBox, #11831 |
| | | |
| | | ### 2.4.2 |
| | | |
| | | *2018-06-26* |
| | | |
| | | - Now `class-name` and `label-class-name` of Table are reactive, #11626 |
| | | - Fixed Table still highlighting clicked row when `highlight-current-row` is `false`, #11646 |
| | | - Fixed a style bug of ButtonGroup when it has only one `round` or `circle` Button, #11605 |
| | | - Fixed style of page size Select of Pagination, #11622 |
| | | - Fixed Menu's `open` method error when `collapse` is dynamically changed, #11646 |
| | | - Added `activeName` and `oldActiveName` parameters to the before-leave hook of Tabs, #11713 |
| | | - Fixed Cascader focused after outside clicked, #11588 |
| | | - Fixed Cascader not closing when option is clicked when `change-on-select` is true, #11623 |
| | | - Now updating Select's value programmatically will trigger form validation, #11672 |
| | | |
| | | ### 2.4.1 |
| | | |
| | | *2018-06-08* |
| | | |
| | | - Removed Autocomplete's duplicate type declaration, #11388 |
| | | - Fixed Select's dropdown arrow style in FireFox when nested in Form, #11427 |
| | | - Fixed clear icon of Select still showing when the initial value is `null`, #11460 |
| | | - Fixed disabled radio showing box-shadow when clicked, #11462 |
| | | - Added `iconClass` attribute for MessageBox, #11499 |
| | | - Added `stretch` attribute for Tabs, #11476 |
| | | - Fixed rendering order issue of TabPane when Tabs is `lazy`, #11461 |
| | | - Fixed Table not retaining current highlight row when expanded, #11464 |
| | | - Fixed focusing state when `before-leave` returns a resolved promise, #11386 |
| | | - Fixed disabled Popover still creating poppers, #11426 |
| | | - Fixed Tree's endless loop when a new node is added in lazy mode, #11430 (by @wangjingf) |
| | | - Added `closed` event for Dialog, #11490 |
| | | |
| | | ### 2.4.0 Fullerene |
| | | |
| | | *2018-05-28* |
| | | |
| | | #### New features |
| | | - General |
| | | - Dev tool and bundler is switched to native webpack, #11216 |
| | | - Now you can globally set the initial z-index of popups, #11257 |
| | | - Autocomplete |
| | | - Added `hide-loading` attribute, #11260 |
| | | - Button |
| | | - Now you can use the `size` attribute on circle buttons to control their sizes, #11275 |
| | | - InputNumber |
| | | - Added `precision` attribute, #11281 |
| | | - Tabs |
| | | - Added `before-leave` attribute, #11259 |
| | | - Added `lazy` attribute, #11167(by @Kingwl) |
| | | - Table |
| | | - Added `sort` method to manually sort the table, #11311 |
| | | |
| | | #### Bug fixes |
| | | - Input |
| | | - Fixed an issue that causes a re-render when using the Chinese IME to quickly input text, #11235 (by @STLighter) |
| | | - Popover |
| | | - Fixed the console error when the triggering element is Radio or Checkbox, #11265 |
| | | - Breadcrumb |
| | | - Fixed the `to` attribute not supporting dynamic update, #11286 |
| | | - Upload |
| | | - Fixed the console error when a File is resolved in the returned Promise of the `beforeUpload` method, #11297 (by @qusiba) |
| | | - Tooltip |
| | | - Fixed arrow not positioned correctly when content is empty, #11335 |
| | | - Autocomplete |
| | | - Fixed incorrect input suggestions after deleting keyword quickly, #11323 |
| | | - ColorPicker |
| | | - Fixed `active-change` event incorrectly triggering when picker dropdown is closed, #11304 |
| | | - Table |
| | | - Fixed style error of oversized filter panel, #11314 |
| | | - Fixed currently selected row not retained when the table is sorted, #11348 |
| | | - Checkbox |
| | | - Fixed single checkbox not supporting validation, #11271 |
| | | - Radio |
| | | - Fixed disabled Radio still being selected when pressing space key, #11303 |
| | | - MessageBox |
| | | - Fixed the `el-popup-parent--hidden` class not removed when opening MessageBox in succession, #11371 |
| | | |
| | | ### 2.3.9 |
| | | |
| | | *2018-05-18* |
| | | |
| | | - Fixed when the source data does not have the field specified by a TableColumn's `prop` attribute, an error would occur when the mouse moves into that column's cells, #11137 |
| | | - The `lockScroll` attribute of pop up components no longer adds an inline style to the parent element, but instead adds a class name, #11114 |
| | | - Fixed the icon of Progress not displaying when its `status` is exception, #11172 |
| | | - Fixed options' `disabled` attribute not working in filterable Cascader's filter result list, #11185 |
| | | - Fixed an issue where Table's expanded row cannot be collapsed if the data source is updated after its expansion, #11186 |
| | | - `setCurrentKey` of Tree now accepts `null` as its param to cancel the currently highlighted node, #11205 |
| | | |
| | | ### 2.3.8 |
| | | |
| | | *2018-05-11* |
| | | |
| | | - Fixed DatePicker panel jumping to the current month after picking a date in a non-current month when `type` is dates, #10973 |
| | | - Fixed clearable Input still displaying the clear icon when readonly, #10912 |
| | | - Fixed closing the DatePicker panel without changing the value incorrectly triggering the `change` event, #11017 |
| | | - Fixed keyboard navigation not working properly when Select has grouped options, #11058 |
| | | - Added `prefix` named slot for Select, #11063 |
| | | - Added `clearValidate` method for FormItem, #11076 |
| | | - Added `checkOnClickNode` attribute for Tree, #11111 |
| | | |
| | | ### 2.3.7 |
| | | |
| | | *2018-04-29* |
| | | |
| | | - Fixed Table not updating its header widths when the scroll bar disappears due to filtering, #10834 |
| | | - Fixed clearable Input still showing the clear icon when its initial value is `null`, #10912 |
| | | - Fixed incorrect trigger of the `active-change` event after changing ColorPicker's binding value programatically, #10903 (by @zhangbobell) |
| | | - Fixed filterable Select causing an infinite loop when navigating options using keyboard if all options are disabled, #10945 |
| | | |
| | | ### 2.3.6 |
| | | |
| | | *2018-04-21* |
| | | |
| | | - Fixed wrong behavior of Tree's `allow-drop` callback when `type` parameter is used, #10821 |
| | | - Now you can properly enter keywords in filterable single Select in IE11, #10822 |
| | | - Fixed single Select incorrectly triggering `blur` event after clicking an option, #10822 |
| | | |
| | | ### 2.3.5 |
| | | |
| | | *2018-04-20* |
| | | |
| | | - Fixed incorrect highlights in DatePicker panel when `type` is week, #10712 |
| | | - Fixed InputNumber being empty when its initial value is 0, #10714 |
| | | - Added `automatic-dropdown` attribute for Select, #10042 (by @Seebiscuit) |
| | | - Fixed disabled Rate's value still being updated by navigation keys, #10726 (by @Richard-Choooou) |
| | | - Now DatePicker's `type` attribute can be `'dates'`, where you can pick multiple dates in one picker, #10650 (by @Mini256) |
| | | - Added `prev-click` and `next-click` events for Pagination, #10755 |
| | | - Added `pager-count` attribute for Pagination, #10493 (by @chongjohn716) |
| | | - Added `type` as the 3rd param of Tree's `allow-drop` attribute callback, #10792 |
| | | - Now we use ResizeObserver to detect DOM element resizing, #10779 |
| | | |
| | | ### 2.3.4 |
| | | |
| | | *2018-04-12* |
| | | |
| | | - Deleted duplicate `showTimeout` attribute in SubMenu's TypeScript declaration, #10566 (by @kimond) |
| | | - Now you can customize Transfer's data item using scoped slot, #10577 |
| | | - Fixed clicking disabled prev and next button of Pagination still triggers `current-change` event, #10628 |
| | | - Fixed Textarea displaying `undefined` in SSR when its value is not set, #10630 |
| | | - Fixed disabled TabItem style when `type` is border-card, #10640 |
| | | - Added `$index` as `formatter`'s fourth param of Table, #10645 |
| | | - Fixed CheckboxButton not exported in TypeScript declaration, #10666 |
| | | |
| | | ### 2.3.3 |
| | | |
| | | *2018-04-04* |
| | | |
| | | - Added `shadow` attribute for Card, #10418 (by @YunYouJun) |
| | | - Fixed Badge being hidden when `value` is `0`, #10470 |
| | | - Fixed some bugs of draggable Tree, #10474 #10494 |
| | | - Added `placement` for Autocomplete, #10475 |
| | | - Now `default-time` attribute also works in non-range DateTimePicker, #10321 (by @RickMacTurk) |
| | | - Removed the blue outline of TabItem after the browser blurs or is minimized, #10503 |
| | | - Added `popper-append-to-body` attribute for SubMenu, #10515 |
| | | - Removed visual feedback when hovering on non-link BreadcrumbItem, #10551 |
| | | - Fixed InputNumber's `change` event to ensure the component's binding value is updated in the event handler, #10553 |
| | | |
| | | ### 2.3.2 |
| | | |
| | | *2018-03-29* |
| | | |
| | | - Fixed an Autocomplete regression, #10442 |
| | | |
| | | ### 2.3.1 |
| | | |
| | | *2018-03-29* |
| | | |
| | | - Fixed a regression that `type` of Input is not passed down to the native input element, #10415 |
| | | - Added `blur` method for Select, #10416 |
| | | |
| | | ### 2.3.0 Diamond |
| | | |
| | | *2018-03-28* |
| | | |
| | | #### New features |
| | | - Table |
| | | - Now `formatter` of TableColumn can be dynamically updated, #10184 (by @elfman) |
| | | - Added `select-on-indeterminate` attribute, #9924 (by @syn-zeta) |
| | | - Menu |
| | | - Added `collapse-transition` attribute, #8809 (by @limichange) |
| | | - Input |
| | | - Added `select` method, #10229 |
| | | - Added `blur` method, #10356 |
| | | - ColorPicker |
| | | - Added `predefine` attribute, #10170 (by @elfman) |
| | | - Tree |
| | | - Added `draggable`, `allow-drop` and `allow-drag` attributes, and `node-drag-start`, `node-drag-enter`, `node-drag-leave`, `node-drag-over`, `node-drag-end` and `node-drop` events, #9251 #10372 (by @elfman) |
| | | - Form |
| | | - `validate` method now has a second parameter, containing information of form items that failed the validation, #10279 |
| | | - Added `validate` event, #10351 |
| | | - Progress |
| | | - Added `color` attribute, #10352 (by @YunYouJun) |
| | | - Button |
| | | - Added `circle` attribute, #10359 (by @YunYouJun) |
| | | |
| | | #### Bug fixes |
| | | - Form |
| | | - Fixed label of FormItem not align with mixed Input, #10189 |
| | | - Menu |
| | | - Now collapsed Menu will only show the Tooltip when the `title` slot of MenuItem is set, #10193 (by @PanJiaChen) |
| | | - Pagination |
| | | - Fixed `current-change` event wrongly triggering without user interaction, #10247 |
| | | - DatePicker |
| | | - Now the date and time value in the dropdown panel are correctly formatted based on the `format` attribute, #10174(by @remizovvv) |
| | | - Upload |
| | | - Fixed `accept` attribute not working when `drag` is true, #10278 |
| | | |
| | | ### 2.2.2 |
| | | |
| | | *2018-03-14* |
| | | |
| | | - Added `clear` event for Input, #9988 (by @blackmiaool) |
| | | - Now manual input of ColorPicker supports `hsl`, `hsv` and `rgb` modes, #9991 |
| | | - Fixed DatePicker not triggering `change` event when its initial value is cleared, #9986 |
| | | - Now icon class related attributes of Rate support dynamic updates, #10003 |
| | | - Fixed Table with fixed columns not updating its height correctly if `max-height` is set, #10034 |
| | | - Now DatePicker's range mode supports reverse selection (clicking the end date, then clicking the start date), #8156 (by @earlymeme) |
| | | - Added `disabled` attribute for Pagination, #10006 |
| | | - Added `after-enter` and ` after-leave` events for Popover, #10047 |
| | | - Fixed Select not triggering validation when user selects an option after executing `resetFields` of Form, #10105 |
| | | - Fixed incorrect widths of fixed columns of Table in some cases, #10130 |
| | | - Fixed MessageBox inheriting the `title` attribute of its previous instance when called without `title`, #10126 (by @Pochodaydayup) |
| | | - Added `input-size` attribute for Slider, #10154 |
| | | - Added `left-check-change` and `right-check-change` events for Transfer, #10156 |
| | | |
| | | ### 2.2.1 |
| | | |
| | | *2018-03-02* |
| | | |
| | | - Fixed Aside, Header and Footer shrinking in some layout, #9812 |
| | | - Fixed Table with a `height` attribute not rendering in SSR, #9876 |
| | | - Fixed expandable Table not calculating its height when a row is expanded, #9848 |
| | | - Fixed `change` event not trigger when manually typing date in DateTimePicker, #9913 |
| | | - Fixed Select showing its options when the input box is right-clicked, #9894 (by @openks) |
| | | - Added `tooltip-class` attribute for Slider, #9957 |
| | | - Now Select will stay focused after selection, #9857 (by @Seebiscuit) |
| | | - Added `target-order` attribute for Transfer, #9960 |
| | | |
| | | ### 2.2.0 Graphite |
| | | |
| | | *2018-02-12* |
| | | |
| | | #### New features |
| | | - Menu |
| | | - Added `popper-class` and `disabled` attributes for SubMenu, #9604 #9771 |
| | | - Horizontal Menu now supports multi-layered SubMenu, #9741 |
| | | - Tree |
| | | - Added `node-contextmenu` event, #9678 |
| | | - Now you can customize node template using scoped slot, #9686 |
| | | - Added `getNode`, `remove`, `append`, `insertBefore`, `insertAfter`, `getCheckedKeys`, `getHalfCheckedNodes`, `getHalfCheckedKeys` methods and `check` event, #9718 #9730 |
| | | - Transfer |
| | | - Added `clearQuery` method, #9753 |
| | | - Select |
| | | - Added `popper-append-to-body` attribute, #9782 |
| | | |
| | | #### Bug fixes |
| | | - Table |
| | | - Fixed clicking expanding icon of an expandable row triggers `row-click` event, #9654 |
| | | - Fixed layout not update when column width is changed by user dragging, #9668 |
| | | - Fixed style issue when summary row co-exists with fixed columns, #9667 |
| | | - Container |
| | | - Fixed container components not stretching in IE11, #9655 |
| | | - Loading |
| | | - Fixed Loading not showing when the value of `v-loading` is changed to true in the `mounted` hook, #9722 |
| | | - Switch |
| | | - Fixed two native click events are triggered when Switch is clicked, #9760 |
| | | |
| | | ### 2.1.0 Charcoal |
| | | |
| | | *2018-01-31* |
| | | |
| | | #### New features |
| | | - Cascader |
| | | - Added `focus` and `blur` events, #9184 (by @viewweiwu) |
| | | - Table |
| | | - The `filter-method` now has a third param `column`, #9196 (by @liyanlong) |
| | | - DatePicker |
| | | - Added `prefix-icon` and `clear-icon` attributes, #9237 (by @AdamSGit) |
| | | - Added `default-time` attribute, #9094 (by @nighca) |
| | | - `value-format` now supports `timestamp`, #9319 (by @wacky6) |
| | | - InputNumber |
| | | - Now the binding value can be `undefined`, #9361 |
| | | - Select |
| | | - Added `auto-complete` attribute, #9388 |
| | | - Form |
| | | - Added `disabled` attribute, #9529 |
| | | - Added `validateOnRuleChange` attribute, #8141 |
| | | - Notificaition |
| | | - Added `closeAll` method, #9514 |
| | | |
| | | #### Bug fixes |
| | | - InputNumber |
| | | - Fixed value resetting when typing decimal point, #9116 |
| | | - Dropdown |
| | | - Fixed dropdown menu incorrect positioning when the page only has a horizontal scrollbar in some browsers, #9138 (by @banzhuanmei) |
| | | - Table |
| | | - Fixed an error in calculating number of fixed columns after the column data changes, #9188(by @kolesoffac) |
| | | - Fixed the border of the last column of the grouped header not properly displayed, #9326 |
| | | - Fixed incorrect positioning of table header in Safari, #9327 |
| | | - Fixed expanded row collapsing when the table data changes, #9462 |
| | | - Fixed unnecessary multiple renders in some conditions, #9426 |
| | | - Fixed column width calculation error when `width` of TableColumn changes, #9426 |
| | | - Loading |
| | | - Fixed Loading not hiding correctly in some conditions, #9313 |
| | | - DatePicker |
| | | - Fixed `focus` method not working in range mode, #9437 |
| | | - Fixed clicking the "now" button still selecting the current date even if it is disabled, #9470 (by @wacky6) |
| | | - Fixed date clamping when navigating, #9577 (by @wacky6) |
| | | - Steps |
| | | - Fixed style error in IE 11, #9454 |
| | | |
| | | #### Breaking changes |
| | | - Menu |
| | | - The popup menu in `collapse` mode now appends directly to `body`, so that it is visible when nested in Aside, #9263 |
| | | - Table |
| | | - Now checking the checkboxes in multi-selection Table doesn't trigger `row-click` event, #9467 |
| | | - Loading |
| | | - The `z-index` of non-fullscreen loading mask is changed to 2000. The `z-index` of fullscreen loading mask will update dynamically with the popup components, #9522 |
| | | - Dropdown |
| | | - `show-timeout` and `hide-timeout` attributes now only works when trigger is `hover`, #9573 |
| | | |
| | | ### 2.0.11 |
| | | |
| | | *2018-01-08* |
| | | |
| | | - Fixed border color issue of Select when in `prepend` or `append` slot of Input, #9089 |
| | | - Fixed `remove-tag` event's parameter of Select, #9090 |
| | | - Added `show-timeout` and `hide-timeout` attributes for SubMenu, #8934 (by @HugoLew) |
| | | - Fixed missing Tooltip style of `show-overflow-tooltip` when Table is imported on demand, #9130 |
| | | - Fixed Table column's sorting malfunctioning after `clearSort` is executed on that column, #9100 (by @zEmily) |
| | | - i18n config file for Czech is renamed from `cz` to `cs-CZ`, #9164 |
| | | |
| | | ### 2.0.10 |
| | | |
| | | *2017-12-29* |
| | | |
| | | - Fixed wrong max height calculation of Table when fixed column and summary row co-exist, #9026 |
| | | - Fixed uncompiled color style of empty text in Table, #9028 |
| | | - Now DatePicker only emits `change` event when value is truly changed, #9029 (by @remizovvv) |
| | | - Added `tabindex` attribute for Input, #9041 (by @dicklwm) |
| | | |
| | | ### 2.0.9ð |
| | | |
| | | *2017-12-24* |
| | | |
| | | - Added `before-remove` hook function for Upload, #8788 (by @firesh) |
| | | - Fixed initial value of `error` not working for FormItem, #8840 |
| | | - Now Loading directive supports custom class name by assigning `element-loading-custom-class` attribute, #8826 (by @earlymeme) |
| | | - Fixed CarouselItem becoming invisible when data is asynchronously updated, #8921 |
| | | - Added `renderAfterExpand` attribute for Tree, #8972 |
| | | |
| | | ### 2.0.8 |
| | | |
| | | *2017-12-12* |
| | | |
| | | - Added Spanish documentation |
| | | - Fixed `show-timeout` of Dropdown not working when trigger is click, #8734 (by @presidenten) |
| | | - Fixed Form validation timing for rules whose trigger is blur, #8776 |
| | | - Fixed blur event of ranged DatePicker, #8784 |
| | | - `format` of TimePicker now supports AM/PM, #8620 (by @firesh) |
| | | |
| | | ### 2.0.7 |
| | | |
| | | *2017-11-29* |
| | | |
| | | - Fixed disabled text button style, #8570 |
| | | |
| | | ### 2.0.6 |
| | | |
| | | *2017-11-29* |
| | | |
| | | - Fixed style bug of Table's sorting icons, #8405 |
| | | - Fixed trigger mechanism for Popover when its `trigger` is manual, #8467 |
| | | - Added `prefix-icon` and `suffix-icon` attributes for Autocomplete, #8446 (by @liyanlong) |
| | | - Added `separator` attribute for Cascader, #8501 |
| | | - Added `clearable` attribute for Input, #8509 (by @lbogdan) |
| | | - Added `background` attribute for Pagination, #8553 |
| | | |
| | | ### 2.0.5 |
| | | |
| | | *2017-11-17* |
| | | |
| | | - Fixed Popover, Tree, Breadcrumb and Cascader regression in 2.0.4, #8188 #8217 #8283 |
| | | - Fixed memory leak of clickoutside directive, #8168 #8225 (by @badpunman @STLighter) |
| | | - Fixed multiple Select height when its value is cleared, #8317 (by @luciy) |
| | | - Added `collapse-tags` attribute for multiple Select to replace tags with one line of text, #8190 |
| | | - Fixed high CPU consumption caused by hidden Table, #8351 |
| | | - Now you can use `doLayout` method of Table to update its layout, #8351 |
| | | |
| | | ### 2.0.4 |
| | | |
| | | *2017-11-10* |
| | | |
| | | - Improved accessibility for Cascader, Dropdown, Message, Notification, Popover, Tooltip and Tree |
| | | - Fixed Container resize when the width of viewport decreases, #8042 |
| | | - Fixed Tree's `updateKeyChildren` incorrectly deleting child nodes, #8100 |
| | | - Fixed bordered CheckboxButton's height when nested in a Form, #8100 |
| | | - Fixed Menu's parsing error for custom colors, #8153 (by @zhouyixiang) |
| | | |
| | | ### 2.0.3 |
| | | |
| | | *2017-11-03* |
| | | |
| | | - Fixed `editable` and `readonly` attributes for ranged DatePicker, #7922 |
| | | - Fixed style error of nested Tabs, #7941 |
| | | - Fixed style error of the last Step of vertical Steps, #7980 |
| | | - Fixed trigger timing of `current-change` event for Pagination, #7995 |
| | | - Fixed unregistered Tooltip in Menu, #7995 |
| | | |
| | | ### 2.0.2 |
| | | |
| | | *2017-10-31* |
| | | |
| | | - Now right-clicking the buttons of InputNumber won't change its value, #7817 |
| | | - `validate` method of Form can now wait for asynchronous validations before executing its callback, #7774 (by @Allenice) |
| | | - Fixed range selection of DatePicker not working in Chromium 53-57 browsers, #7838 |
| | | - Fixed missing preview and delete icons of Upload when its `list-type` is picture-card, #7857 |
| | | - Added `sort-by` attribute for TableColumn, #7828 (by @wangfengming) |
| | | - Fixed DatePicker sometimes displaying wrong year number when selecting the first week in week mode, #7860 (by @hh23485) |
| | | - Fixed icon style error of vertical Steps, #7891 |
| | | - The hot area for node arrows in Tree is expanded, #7891 |
| | | |
| | | ### 2.0.1 |
| | | |
| | | *2017-10-28* |
| | | |
| | | - Fixed style error of RadioButton and CheckboxButton, #7793 |
| | | - Fixed TimePicker not respond to mouse scroll in some conditions, #7811 |
| | | - Fixed incomplete styles of some components when imported on demand, #7811 |
| | | |
| | | ### 2.0.0 Carbon |
| | | |
| | | *2017-10-27* |
| | | |
| | | #### New features |
| | | - General |
| | | - A new theme: `theme-chalk` |
| | | - Accessibility of the following components are improved: Alert, AutoComplete, Breadcrumb, Button, Checkbox, Collapse, Input, InputNumber, Menu, Progress, Radio, Rate, Slider, Switch, Upload |
| | | - Added TypeScript typings |
| | | - All existing icons are redesigned. Some new icons are added |
| | | - Added a series of breakpoint-based utility classes that hide elements when the viewport size meets certain conditions |
| | | - Added layout components: Container, Header, Aside, Main, Footer |
| | | - Now you can configure component sizes globally. When importing Element, you can add a global config object with a `size` prop to configure default sizes for all components. |
| | | - Button |
| | | - Added `round` attribute. It's used for round-cornered Buttons #6643 |
| | | - TimeSelect |
| | | - Now can be navigated by `Up` and `Down`, and hitting `Enter` selects the time #6023 |
| | | - TimePicker |
| | | - Now can be navigated by arrow keys, and hitting `Enter` selects the time #6050 |
| | | - Added `start-placeholder` and `end-placeholder`. They're placeholders for the two input boxes in range mode #7169 |
| | | - Added `arrow-control` attribute to spin the time with arrows #7438 |
| | | - Tree |
| | | - Now child nodes don't render before the first expand #6257 |
| | | - Added `check-descendants` attribute. It determines if child nodes are checked when checking their parent node in `lazy` mode #6235 |
| | | - Tag |
| | | - Added `size` attribute #7203 |
| | | - Datepicker |
| | | - Now `timeFormat` can format the TimePicker when type is set to `datetimerange` #6052 |
| | | - Added `start-placeholder` and `end-placeholder`. They're placeholders for the two input boxes in range mode #7169 |
| | | - Added `value-format` attribute to customize the format of the binding value, #7367 |
| | | - Added `unlink-panels` attribute to unlink the two date panels when selecting a date range |
| | | - MessageBox |
| | | - Added `closeOnHashChange` attribute #6043 |
| | | - Added `center` attribute so that the content can be centered #7029 |
| | | - Added `roundButton` attribute to display round Buttons #7029 |
| | | - Added `dangerouslyUseHTMLString` attribute. When set to `true`, `message` will be parsed as HTML string<sup>*</sup> #6043 |
| | | - Added `inputType` attribute to assign type for the inner input box, #7651 |
| | | - Dialog |
| | | - Added `width`ã`fullscreen`ã`append-to-body` attributes. Now Dialog can be nested |
| | | - Added `center` attribute so that the content can be centered #7042 |
| | | - Added `focus-after-closed`ã`focus-after-open` to improve accessibility #6511 |
| | | - ColorPicker |
| | | - Now you can type colors in the input box #6167 |
| | | - Added `size` and `disabled` attributes #7026 |
| | | - Added `popper-class` attribute #7351 |
| | | - Message |
| | | - Now color of the icons can be overridden by CSS #6207 |
| | | - Added `dangerouslyUseHTMLString` attribute. When set to `true`, `message` will be parsed as HTML string<sup>*</sup> #6207 |
| | | - Added `center` attribute so that the content can be centered #6875 |
| | | - Notification |
| | | - Added `position` attribute to configure where Notification pops up #6231 |
| | | - Added `dangerouslyUseHTMLString` attribute. When set to `true`, `message` will be parsed as HTML string<sup>*</sup> #6231 |
| | | - Added `showClose` attribute to hide the close button #6402 |
| | | - Rate |
| | | - Added `show-score` attribute to determine if current score is displayed #6295 |
| | | - Tabs |
| | | - Added `tab-position` attribute #6096 |
| | | - Radio |
| | | - Added `border` and `size` attributes #6690 |
| | | - Checkbox |
| | | - Added `border` and `size` attributes #6690 |
| | | - Alert |
| | | - Added `center` attribute so that the content can be centered #6876 |
| | | - Menu |
| | | - Added `background-color`, `text-color` and `active-text-color` attributes #7064 |
| | | - Added `open` and `close` methods to open and close SubMenu programmatically, #7412 |
| | | - Form |
| | | - Added `inline-message` attribute to determine if the validation message is displayed in inline style #7032 |
| | | - Added `status-icon` attribute to display a feedback icon when validated #7032 |
| | | - Form and FormItem now have a `size` attribute. Inner components will inherit this size if not specified on themselves, #7428 |
| | | - `validate` method will now return a promise if the callback is omitted, #7405 |
| | | - Added `clearValidate` method for clearing validating results for all form items, #7623 |
| | | - Input |
| | | - Added `suffix` and `prefix` named slots, `suffixIcon` and `prefixIcon` attributes to add contents inside the input box #7032 |
| | | - Breadcrumb |
| | | - Added `separator-class` attribute to support icons as item separators #7203 |
| | | - Steps |
| | | - Added `simple` attribute to activate simple-styled Steps #7274 |
| | | - Pagination |
| | | - Added `prev-text` and `next-text` attributes to customize texts of previous page and next page #7005 |
| | | - Loading |
| | | - Now you can customize spinner icon and background color with `spinner` and `background` prop, #7390 |
| | | - Autocomplete |
| | | - Added `debounce` attribute, #7413 |
| | | - Upload |
| | | - Added `limit` and `on-exceed` attributes to limit the amount of files, #7405 |
| | | - DateTimePicker |
| | | - Added `time-arrow-control` attribute to activate `arrow-control` of the nesting TimePicker, #7438 |
| | | - Layout |
| | | - Added a new breakpoint `xl` for viewport wider than 1920px |
| | | - Table |
| | | - Added `span-method` attribute for merging cells |
| | | - Added `clearSort` method to clear sorting programmatically |
| | | - Added `clearFilter` method to clear filter programmatically |
| | | - For expandable rows, when a row is expanded, a `.expanded` class will be added to its class list, so that you can customize its style |
| | | - Added `size` attribute |
| | | - Added `toggleRowExpansion` method to expand or collapse expandable rows programmatically |
| | | - Added `cell-class-name` attribute to assign class name for cells |
| | | - Added `cell-style` attribute to style cells |
| | | - Added `header-row-class-name` attribute to assign class name for header rows |
| | | - Added `header-row-style` attribute to style header rows |
| | | - Added `header-cell-class-name` attribute to assign class name for header cells |
| | | - Added `header-cell-style` attribute to style header cells |
| | | - TableColumn's `prop` attribute now accepts `object[key]` notations |
| | | - Added `index` attribute for TableColumn to customize row indices |
| | | - Select |
| | | - Added `reserve-keyword` attribute for reserving current search keyword after selecting an option |
| | | |
| | | #### Bug fixes |
| | | - DatePicker |
| | | - Fixed `v-model` returning the second day of the selected week in week mode #6038 |
| | | - Fixed the first input being cleared in `daterange` type #6021 |
| | | - DateTimePicker |
| | | - Fixed DateTimePicker and TimePicker affecting each other when picked #6090 |
| | | - Fixed hour and second can be beyond limit when selecting time #6076 |
| | | - TimePicker |
| | | - Fixed `v-model` not update correctly when blurred #6023 |
| | | - Dialog |
| | | - Fixed texts having blurry edges when opening and closing nesting dropdowns #6088 |
| | | - Select |
| | | - Improved performance. Now Vue dev-tool won't crash when a large number of Selects are destroyed #6151 |
| | | - Table |
| | | - Fixed a bug that Table remains hiding when its parent element appears from `display: none` |
| | | - Fixed Table expanding its width when its parent element has `display: flex` |
| | | - Fixed a bug that fixed columns of a Table with `append` slot would disappear when data is dynamically fetched |
| | | - Fixed `expand-row-keys` attribute not working with initial value |
| | | - Fixed filter failing when `data` updates |
| | | - Fixed a calculation error of fixed columns layout with grouped headers |
| | | - Fixed a dynamic `max-height` bug |
| | | - Fixed some style calculation errors |
| | | |
| | | #### Breaking changes |
| | | - General |
| | | - Removed `theme-default` |
| | | - Compatible with Vue 2.5.2+ and IE 10+ |
| | | - `change` event of form components and `current-change` event of Pagination now only trigger on user interaction |
| | | - `size` attribute of Button and form components now accept `medium`, `small` and `mini` |
| | | - To facilitate the use of third-party icons, `icon` attribute of Button and Steps, `prefix-icon` and `suffix-icon` attributes of Input now require a full class name |
| | | - Dialog |
| | | - Removed `size` attribute. Now the size of Dialog can be configured by `width` and `fullscreen` |
| | | - Now the visibility of Dialog cannot be controlled by `v-model` |
| | | - Rate |
| | | - `text-template` is renamed to `score-template` |
| | | - Dropdown |
| | | - `menu-align` is renamed to `placement`. Now it supports more positions |
| | | - Transfer |
| | | - `footer-format` is renamed to `format` |
| | | - Switch |
| | | - Attributes starting with `on-*` will be parsed to events in JSX, making all `on-*` attributes of Switch not |
| | | able to work in JSX. So `on-*` attributes are renamed to `active-*`, and accordingly `off-*` attributes are renamed to `inactive-*`. This change affects the following attributes: `on-icon-class`, `off-icon-class`, `on-text`, `off-text`, `on-color`, `off-color`, `on-value`, `off-value` |
| | | - `active-text` and `inactive-text` attributes now don't have default values |
| | | - Tag |
| | | - `type` attribute now accepts `success`, `info`, `warning` and `danger` |
| | | - Menu |
| | | - Removed `theme` attribute. The color of Menu can be configured using `background-color`, `text-color` and `active-text-color` |
| | | - Input |
| | | - Removed `icon` attribute. Now the suffix icon can be configured using `suffix-icon` attribute or `suffix` named slot |
| | | - Removed `on-icon-click` attribute and `click` event. Now to add click handler on icons, please use named slots |
| | | - `change` event now behaves like the native input element, which triggers only on blur or pressing enter. If you need to respond to user input in real time, you can use `input` event. |
| | | - Autocomplete |
| | | - Removed `custom-item` attribute. Now the template of input suggestions can be customized using `scoped slot` |
| | | - Removed `props` attribute. Now you can use `value-key` attribute to designate key name of the input suggestion object for display |
| | | - Steps |
| | | - Removed `center` attribute |
| | | - Now the Steps will fill its parent container by default |
| | | - DatePicker |
| | | - The params of DatePicker's `change` event is now the binding value itself. Its format is controlled by `value-format` |
| | | - Table |
| | | - Removed support for customizing column template using `inline-template` |
| | | - `sort-method` now aligns with `Array.sort`. It should return a number instead of a boolean |
| | | - `append` slot is moved outside the `tbody` element to avoid multiple rendering |
| | | - `expand` event is renamed to `expand-change` |
| | | - The params of `row-class-name` and `row-style` method is now an object |
| | | |
| | | ## |
| | | <i><sup>*</sup> Dynamically rendering arbitrary HTML on your website can be very dangerous because it can easily lead to [XSS attacks](https://en.wikipedia.org/wiki/Cross-site_scripting). So when `dangerouslyUseHTMLString` is on, please make sure the content of `message` is trusted, and **never** assign `message` to user-provided content.</i> |
¤ñ¹ï·sÀÉ®× |
| | |
| | | ## Changelog |
| | | |
| | | ### 2.15.13 |
| | | |
| | | *2023-02-12* |
| | | |
| | | #### Bug fixes |
| | | - Docs |
| | | - Fix Statistic docs (#22383 by @JUST-Limbo) |
| | | - Fix Input docs (#22093 by @lm312) |
| | | - Fix en-US docs (#22268 #22269 #22270 by @Hazel-Lin) |
| | | - Fix Pagination docs (#22288 by @xujintai123) |
| | | - Fix: Links docs (#22370 by @itmier) |
| | | - Statistics |
| | | - fix slot display bug (#22375 by @webvs2) |
| | | - Chore |
| | | - missing web-type after publishing (#22271 by @loosheng) |
| | | #### Optimization |
| | | - InputNumber |
| | | - Fix touch one click trigger twice on the window touch pad (#22185 by @mrsai) |
| | | - Image |
| | | - Add initialIndex prop (#22346 by @inkroom) |
| | | - Statistics |
| | | - Updated countdown feature to localize lodash Closes (#22260 by @webvs2) |
| | | - Update code and doc (#22276 by @webvs2) |
| | | - Other |
| | | - fix web-types type props (#22281 by @whzxc) |
| | | |
| | | ### 2.15.12 |
| | | |
| | | *2022-11-16* |
| | | |
| | | #### Bug fixes |
| | | - Statisticï¼ |
| | | - Fixed the thousandth bit bug (#22252 by @webvs2) |
| | | - Other |
| | | - Fix 2.15.11 element-theme-chalk publish fail bug |
| | | |
| | | ### 2.15.11 |
| | | |
| | | *2022-11-15* |
| | | |
| | | #### Bug fixes |
| | | - Docs |
| | | - Fix Radio docs (#22178 by @bchen1029) |
| | | - Fix Progress docs |
| | | #### Optimization |
| | | - I18n |
| | | - Update translation of Malaysian (#22185 by @z4q) |
| | | - Update translation of Norwegian (#22145 by @Barsnes) |
| | | - Progress |
| | | - Add defineBackColor and textColor prop (#22089 by @lm312) |
| | | - Statistics |
| | | - Add new component Statistics (#22159 by @webvs2) |
| | | - Other |
| | | - Add Web Types to improve code assistance in WebStorm IDE and other JetBrains IDEs (#22135 by @piotrtomiak) |
| | | |
| | | ### 2.15.10 |
| | | |
| | | *2022-09-13* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - DatePicker |
| | | - Fix props placement error (#21908 by @lqzhgood) |
| | | - Loading |
| | | - Fix sticky DOM error (#22087 by @zzjjhh001) |
| | | - Docs |
| | | - Fix Popover docs (#22083 by @lm312) |
| | | - Fix Skeleton docs (#22092 by @lm312) |
| | | - Fix DatePicker docs (#21970 by @guojiongwei) |
| | | - Tree: |
| | | - fix lazy-load default check problem (#21934 by @kiss-yu) |
| | | |
| | | #### Optimization |
| | | |
| | | - I18n |
| | | - Add translation of Sinhalese (#21936 by @sayuri-gi) |
| | | - Update translation of Spanish (#21924 by @jcardus) |
| | | - Add translation of Malaysian (#22028 by @iorange0411) |
| | | - Update translation of Swahili (#21904 by @Cholowao) |
| | | - Utils |
| | | - update date-util.js (#22099 by @Due07) |
| | | - DatePicker |
| | | - add months And years type (#21918 by @akiko123456) |
| | | |
| | | ### 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) |
| | | - Other |
| | | - 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* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Select |
| | | - fix click icon triggering dropdown (#21314 by @dennyak47) |
| | | - fix keydown event when composition (#21336 by @bchen1029) |
| | | - Badge |
| | | - fix type class when is-dot (#21308 by @adaex) |
| | | - Form |
| | | - validate method reject error info (#21374 by @cs1707) |
| | | - Table |
| | | - fix resizeObserver loop limit exceeded (#21255 by @tomieric) |
| | | - fix toggleAllSelection bug when table is empty (#21456 by @cs1707) |
| | | - optimize performance (#21330 by @cs1707) |
| | | - Button |
| | | - fix disabled priority (#21375 by @cs1707) |
| | | - Descriptions |
| | | - fix label slot bug (#21462 by @cs1707) |
| | | - SASS |
| | | - replace node-sass with dart-sass (#21019 by @linxsbox) |
| | | - Docs |
| | | - fix skeleton typos (#21408 by @zhhbstudio) |
| | | |
| | | ### 2.15.6 |
| | | |
| | | *2021-09-02* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Cascader |
| | | - fix a bug that makes the browser jitter in zoom mode (#21207 by @cs1707) |
| | | - optimize performance (#21231 by @cs1707) |
| | | - Select |
| | | - fix long text overflow in multiple mode (#21237 by @cs1707) |
| | | - Dropdown |
| | | - add disabled property (#21235 by @mshioda) |
| | | - Radio |
| | | - fix checked state when browser go back (#21250 by @cs1707) |
| | | - Descriptions |
| | | - fix type declaration (#21265 by @adaex) |
| | | - avoid table style conflict (#21254 by @adaex) |
| | | - Drawer |
| | | - fix append to body (#21264 by @cs1707) |
| | | - Local |
| | | - fix italian mistake (#21012 by @ricardotondello) |
| | | |
| | | ### 2.15.5 |
| | | |
| | | *2021-08-04* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Select |
| | | - fix resetInputHeight (#21201 by @cs1707) |
| | | |
| | | ### 2.15.4 |
| | | |
| | | *2021-08-03* |
| | | |
| | | #### New features |
| | | |
| | | - Descriptions |
| | | - add description component (#21129 by @cs1707) |
| | | - Result |
| | | - add result component (#21171 by @cs1707) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Utils |
| | | - fix isScroll (#21098 by @canvascat) |
| | | - Translation |
| | | - update it.js (#21133 by @bliberi) |
| | | - RadioGroup |
| | | - fix RadioGroup used in component causes exception #17908 (#20783 by @lceric) |
| | | - Message |
| | | - fix message[type] (#21088 by @cs1707) |
| | | - Carousel |
| | | - reset the timer when setActiveItem method is called (#20846 by @Nekojita1) |
| | | - Cascader |
| | | - fix emitPath (#21185 by @cs1707) |
| | | - Select |
| | | - fix select filterable bug (#17494 by @profore) |
| | | - fix a bug that makes the browser jitter in zoom mode (#21197 by @cs1707) |
| | | - Tree |
| | | - fix insertChild (#21194 by @cs1707) |
| | | |
| | | ### 2.15.3 |
| | | |
| | | *2021-06-29* |
| | | |
| | | #### New features |
| | | |
| | | - Skeleton |
| | | - add skeleton component (#21038 by @cs1707) |
| | | - Empty |
| | | - add empty component (#21080 by @cs1707) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Local |
| | | - fix week translations for hr locale (#21040 by @cs1707) |
| | | - Table |
| | | - fix lazy load data (#21041 by @cs1707) |
| | | - Docs |
| | | - fix form hide-required-asterisk description (#21045 by @cs1707) |
| | | - Drawer: |
| | | - fix destroy (#20715 by @zj9495) |
| | | - Row |
| | | - fix align top (#20963 by @cs1707) |
| | | - Select |
| | | - fix the bug when the value is Boolean (#21052 by @cs1707) |
| | | - Calendar |
| | | - fix first-day-of-week (#21057 by @cs1707) |
| | | - Utils |
| | | - fix isScroll (#21065 by @cs1707) |
| | | - fix(utils.dom by @fw6) |
| | | - TypeScript |
| | | - add CascaderPanel export type (#21070 by @qige2016) |
| | | - add spinner.d.ts (#21090 by @qige2016) |
| | | |
| | | ### 2.15.2 |
| | | |
| | | *2021-05-28* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Image |
| | | - fix z-index and keydown event add stopPropagation (#20859 by @cs1707) |
| | | - Input |
| | | - fix show password cursor (#20870 by @cs1707) |
| | | - fix show password icon in edge (#20902 by @cs1707) |
| | | - Carousel |
| | | - fix interval and scale bug (#20931 by @cs1707) |
| | | - Cascader |
| | | - fix delete tag bug (#20939 by @cs1707) |
| | | - Drawer |
| | | - add overflow auto (#20948 by @cs1707) |
| | | - Others |
| | | - fix isFunction (#20912 by @cs1707) |
| | | |
| | | ### 2.15.1 |
| | | |
| | | *2021-02-23* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Drawer |
| | | - bugfix (by @cs1707) |
| | | - Image |
| | | - fix incorrect image object fit ratio in IE (#19583 by @charlie0228) |
| | | - Cascader |
| | | - fix cascader panel active path (#20730 by @cs1707) |
| | | - Calendar |
| | | - fix calendar component i18n bug (#20758 by @iamkun) |
| | | - ColorPicker |
| | | - fix bugs (by @UxieVerity) |
| | | |
| | | #### Optimization |
| | | |
| | | - Doc |
| | | - update Axure resource v2.1.0 (by @iamkun) |
| | | ### 2.15.0 |
| | | |
| | | *2021-01-15* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Select |
| | | - Fix placeholder i18n bug (#17644 by @nzh63) |
| | | - Popconfirm |
| | | - Popconfirm i18n bug by @iamkun |
| | | - Drawer |
| | | - Fix focus bug (#20626 by @cs1707) |
| | | - Image |
| | | - Preview optimization (#20652 by @cs1707) |
| | | |
| | | #### Optimization |
| | | |
| | | - Doc |
| | | - Fix typo in french translation of datetime-picker.md (#20543 by @lonk) |
| | | - Add format attribute description to the progress component (#20641 by @cs1707) |
| | | |
| | | ### 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* |
| | | |
| | | #### Breaking changes |
| | | |
| | | - Popconfirm |
| | | - Rename event name to `confirm`, `cancel` (#20240 by @hugiron) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Progress |
| | | - Fix attribute error (#19985 by @Caaalabash) |
| | | |
| | | #### Optimization |
| | | |
| | | - I18n |
| | | - Update Russian translation (#19451 by @yangirov) |
| | | - Update Khmer translation (#20077 by @Sovai) |
| | | - Update Ukrainian translation (#20344 by @MammutAlex) |
| | | |
| | | ### 2.13.2 |
| | | |
| | | *2020-05-18* |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Autocomplete |
| | | - Arreglado el error cuando se daba el evento change (#19200 by @sxzz) |
| | | - Image |
| | | - Actualizado el estado de error (#19194 by @lhx6538665) |
| | | |
| | | #### Optimización |
| | | |
| | | - I18n |
| | | - Actualización de la traducción del popconfirm al Ruso (#19220 by @Opppex) |
| | | - Actualización de la traducción al vi (#19244 by @quangln2810) |
| | | - Actualización de la traducción al Catalán y al Español (#19296 by @Ismaaa) |
| | | - Actualización de la traducción al Indonesio (#19320) by @therour) |
| | | - Actualización de la traducción al Portugués Brasileño (#19374 by @diegomengarda) |
| | | |
| | | |
| | | ### 2.13.1 |
| | | |
| | | *2020-04-13* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | - Autocomplete |
| | | - Agregado el evento change (#17913 by @sxzz) |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Autocomplete |
| | | - Solucionado el error de la sugerencia en textarea (#18478 by @Roojay) |
| | | - Carousel |
| | | - Arreglado el error de escritura de la consola (#18264 by @IceFox) |
| | | - Image |
| | | - Solucionado el error de que no se mostraba el preview si no existÃa el src (#18975) (#19130 by @luckyCao) |
| | | - Arreglado el problema de que el shortcut key no funcionaba la segunda vez (#18983) (#19156 by @luckyCao) |
| | | - No muestra la imagen cuando preview es falso (#18967 by @inooNgt) |
| | | - Transfer |
| | | - Corregida la altura (line-height) incorrecta del primer elemento del el-transfer cuando era usado con el-form-item (#18917 by @Hanx) |
| | | - InputNumber |
| | | - Calculo correcto de inputNumberDisabled (#18439 by @ashuser-pendo) |
| | | - Tarea |
| | | - Se quito la introducción del index (#19155 by @iamkun) |
| | | - Documentación |
| | | - Actualización de la documentación de Popconfirm (#18324 by @iamkun) |
| | | - Arreglado el error tipográfico de la documentación de Fix step-strictly (#18705 by @dream2023) |
| | | - Corregido un type error en la documentación de steps component (#17555 by @haoranyu) |
| | | |
| | | ### 2.13.0 |
| | | |
| | | *2019-11-26* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | |
| | | - Popconfirm |
| | | - Agregado componente popconfirm (#17548 by @iamkun) |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - BackTop |
| | | - Se usa cubic bezier para el scroll (by @lon) |
| | | - DatePicker |
| | | - Arreglado el fallo cuando solo se elegÃa fecha mÃnima en un rango de fechas (#17191 by @smk0621) |
| | | - Select |
| | | - Arreglado los casos de test del select (by @msidolphin) |
| | | - Tree |
| | | - Agregado font-size para el estilo del texto cuando esta vacÃo el tree (#17094 by @spengjie) |
| | | - Table |
| | | - La cabecera de la columna puede modificarse (#17291 by @ziyoung) |
| | | - Se actualizo el estilo de la cabecera de la tabla de la celda (#17284 by @ziyoung) |
| | | - Se soluciono el problema de height de la cabecera de la tabla después de un filtro (#17348 by @ziyoung) |
| | | - Corregido el estilo de la fila que con display no funcionaba (#17002 by @a631807682) |
| | | - Arreglado que la cabecera de la tabla no se mostraba (#17341 by @ziyoung) |
| | | - Calendar |
| | | - La importación de el-button y el-button-group (#17376 by @masongzhi) |
| | | - MessageBox |
| | | - Corregido el error de posición del icono (#17410 by @nullptru) |
| | | - TimePicker |
| | | - Establecido el rango de selección después de hacer scroll (#16868 by @mattheyan) |
| | | - Message |
| | | - Corregido el offsetHeight al cerrar la instanciaï¼#17564ï¼ (#17852 by @gzwgq222) |
| | | - Form |
| | | - La función de llamada de validateField es opcional (#17314 by @CarterLi) |
| | | - Cascader |
| | | - Corregida la compatibilidad con TypeScript 3.7 (#17881 by @CarterLi) |
| | | - Menu |
| | | - Corregido el error de la ruta de navegación duplicada cuando se usaba vue-router@^3.1.0 (#17269 by @iamkun) |
| | | - Dropdown |
| | | - Actualización del tipo de archivo (#17550 by @iamkun) |
| | | - Progress |
| | | - Agregada la prop strokeLinecap (#17552 by @iamkun) |
| | | - InfiniteScroll |
| | | - Salto del disparo de evento en elementos invisibles (#17553 by @iamkun) |
| | | - Image |
| | | - Comportamiento perfecto de personalización de imágenes (#16985 by @luckyCao) |
| | | - Corregida la pagina cuando se hace preview de imágenes grandes (#16796 by @luckyCao) |
| | | - Drawer |
| | | - Corregido el fallo del append-to-body del drawer que no funcionaba (#16953 by @JeremyWuuuuu) |
| | | - Select |
| | | - Corregido: ahora muestra el tag o el valor vacÃo (17199 by @luckyCao) |
| | | - Scrollbar |
| | | - Arreglado el ancho del scroll en FireFox (#18091 by @iamkun) |
| | | |
| | | #### Optimización |
| | | |
| | | - I18n |
| | | - Actualizado sv-SE.js (#17926 by @FOLLGAD) |
| | | - Actualizada la documentación para francés para el componente avatar (#17762 by @blombard) |
| | | - Docs |
| | | - Arreglada la typografia de time-select (#17250 by @wacky6) |
| | | - Arreglado en Drawer, ahora el atributo value acepta tipografÃas en español (#17122 by @haoranyu) |
| | | - Actualización del Changelog 2.12.0 al español (#17364 by @Gonzalo2310) |
| | | - Arreglo de la tipografÃa del Changelog (#17874 by @renlixin) |
| | | - Arreglada la demo de Loading (#17862 by @MBearo) |
| | | - Agregado el evento input en los inputs de Table (#18061 by @zhouxinyong) |
| | | - Eliminado el evento repetitivo change de los input (#18085 by @zhouxinyong) |
| | | |
| | | ### 2.12.0 |
| | | |
| | | *2019-08-29* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | |
| | | - Popover |
| | | - Agregada la prop close-delay (#16671 by @LachlanStuart) |
| | | - Theme |
| | | - Añadida la extensión Chrome: Element Theme Extensión (#16686 by @iamkun) |
| | | - Icon |
| | | - Añadido font-display a la declaración @font-face (#16805 by @iamfaizalandyka) |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Carousel |
| | | - Corregido el valor emitido por onChange (#16705 by @iamkun) |
| | | - Notification |
| | | - Corrección de la modificación del objeto de opción entrante (#16704 by @iamkun) |
| | | - DatePicker |
| | | - Agregado el className para la opción picker (#16632 by @iamkun) |
| | | - DateTimePicker |
| | | - Corrección del time-spinner que no se desplazaba a la posición correcta (#16854 by @jesse-li) |
| | | - Table |
| | | - Evitar la propagación del click después del arrastre (#16850 by @ziyoung) |
| | | - Corregido una error en chrome que se producÃa cuando el css de thead tenia display: none (#16956 by @luckyCao) |
| | | - Corregida la altura incorrecta de los bloques vacÃos (#16861 by @ziyoung) |
| | | - No hay lanzamiento de error cuando se llama a toggleExpansion (#16304 by @yyjjqq94) |
| | | - No se lanza el evento sort-change cuando esta montado (#17113 by @a631807682) |
| | | - Corregido que el setCurrentRow no borraba la linea resaltada (#16879 by @ziyoung) |
| | | - Corregido que expand-row-keys no funcionaba cuando los datos eran cargados asincrónicamente (#16899 by @ziyoung) |
| | | - Establecido toggleAllSelection como propiedad instanciada (#17137 by @ziyoung) |
| | | - Tree |
| | | - Corregida la distancia entre label y checkbox (#16799 by @Hazlank) |
| | | - Tabs |
| | | - Corregida la posición incorrecta de los item's del Tab (#16520 by @victorting) |
| | | - Corregido el error de que la pestaña activada estaba fuera del rango visual (#17033 by @nullptru) |
| | | - Calendar |
| | | - Arreglado el problema de los dÃas de la semana con i18n (#16772 by @ubitoffee) |
| | | - Corregido el error de localización (#17208 by @iamkun) |
| | | - Cascader |
| | | - Corregido un error de visualización del CascaderPanel (#16716 by @zhangHongEn) |
| | | - Corregido el problema de disable status y close button (#16224 by @yyjjqq94) |
| | | - Input |
| | | - Arreglado el evento de composición coreana (#15069 by @MoonHyuk) |
| | | - Arreglado el evento click del botón clear que no se lanzaba cuando se usaba v-loading (#16576 by @a631807682) |
| | | - Select |
| | | - No cambiaba el dropdown cuando se filtraba (#17205 by @luckyCao) |
| | | - Transfer |
| | | - Arreglado un error de estilo (#17206 by @iamkun) |
| | | - Dialog |
| | | - Actualizada las variables Sass (#16365 by @haoranyu) |
| | | - RadioGroup |
| | | - No produce HTML invalido en la tabla si el atributo 'is' es especificado (#17070 by @nullptru) |
| | | - Divider |
| | | - Soporta clases personalizadas (#17078 by @island205) |
| | | |
| | | #### Optimización |
| | | |
| | | - Checkbox |
| | | - Mejorada la experiencia del lector de pantalla (#16575 by @tylertrotter) |
| | | - Docs |
| | | - Actualizado changelog (#16773 by @SimonaliaChen) |
| | | - Actualizada la guÃa de contribución (#14800 by @sinchang) |
| | | - Arreglado typo en la documentación de Drawer (#16848 by @winkay) |
| | | - Actualizado el tema personalizado (#16983 by @iamkun) |
| | | - Agregada traducción en Esperanto (#16955 by @maxkoryukov) |
| | | - Actualizada la documentación de input-number sobre el evento change (#16316 by @luckyCao) |
| | | - Actualizada la documentación en Español 2.11.1 (#16961 by @Gonzalo2310) |
| | | - I18n |
| | | - Eliminada la traducción de 'year' en idioma Catalán como en otros idiomas (#14722 by @oscaralbareda) |
| | | - Actualizado el changelog de las versiones 2.10.0 y 2.10.1 en Español (#16548 by @Gonzalo2310) |
| | | - Actualizado ar.js (#16653 by @l3op) |
| | | - Test |
| | | - Corregir error ortográfico (#16672 by @boomler) |
| | | - Refractorizacion del unit test para usar data-uri (#16847 by @a631807682) |
| | | - Types |
| | | - Corrección del tipo httprequest (#16633 by @luckyCao) |
| | | |
| | | ### 2.11.1 |
| | | |
| | | *2019-07-26* |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Image |
| | | - Corregido el componente Image para compatibilidad SSR (#16737 by @luckyCao) |
| | | - Tarea |
| | | - Actualizado para compatibilidad con dart-sass by @LewisChennnnn) |
| | | |
| | | ### 2.11.0 |
| | | |
| | | *2019-07-25* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | |
| | | - Drawer |
| | | - Agregado componente drawer (#16577 by @JeremyWuuuuu) |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Checkbox |
| | | - Mejora del selector css (#16006 by @Hazlank) |
| | | - Tree |
| | | - Establecido el el-tree como genérico (#15934 by @JeremyWuuuuu) |
| | | - Establecido la prop isCurrent como False (#15870 by @kkkisme) |
| | | - Dropdown |
| | | - Corregido el color predeterminado de los split-button (#15931 by @JuniorTour) |
| | | - Cascader |
| | | - Corregido un problema de actualización cuando el nivel 1 de children estaba vació (#16399 by @luckyCao) |
| | | - Ahora se muestra correctamente header cuando range esta especificado (#16354 by @ziyoung) |
| | | - Agregados valores por defecto cuando lazy es true (#16420 by @luckyCao) |
| | | - Solucionado problemas de visualización (#15935 by @junyiz) |
| | | - Expuestos los getCheckedNodes y corrección de errores en el cambio de opciones (#16709 by @SimonaliaChen) |
| | | - Submenu |
| | | - Corregida la prop append-to-body (#16289 by @a631807682) |
| | | - Table |
| | | - Arreglado un fallo en la actualizacion de los datos de tree table (#16481 by @island205) |
| | | - Select |
| | | - Arreglado un problema de fuga de memoria (#16463 by @island205) |
| | | - InfiniteScroll |
| | | - Actualizada la nomenclatura y la documentacion (#16698 by @iamkun) |
| | | - Avatar |
| | | - Arreglado que la imagen no se centraba verticalmente (#16489 by @luckyCao) |
| | | - Dialog |
| | | - Agregado el atributo destroyOnClosee (#16455 by @ziyoung) |
| | | - Image |
| | | - Agregada la función de vista previa grande de imágenes (#16333 by @luckyCao) |
| | | |
| | | #### Optimización |
| | | |
| | | - Documentación |
| | | - Arreglada la demo de dropdown (#16193 by @webxmsj) |
| | | - Corrección de errores tipográficos en las tablas de documentos (#15971 by @howiefh) |
| | | - I18n |
| | | - Actualizada la traduccion del lenguage Thai (#16689 by @ponkrit) |
| | | - Tareas |
| | | - Actualizada la api base del tema (#16607 by @iamkun) |
| | | - Añadido token del formulario del tema (#16699 by @iamkun) |
| | | - Marcar todos los accesos internos del usuario (#16609 by @iamkun) |
| | | - Corrección del error de anclaje del documento (#16692 by @iamkun) |
| | | |
| | | ### 2.10.1 |
| | | |
| | | *2019-07-02* |
| | | |
| | | #### Corrección de errores |
| | | |
| | | |
| | | - Table |
| | | - Corregido el icono de ordenación (#15439 by @bezany) |
| | | - Corregidas las rupturas del layout cuando existÃa un slot (#16332 by @ziyoung) |
| | | - Corregido showOverflowTooltip no era reactivo (#16295 by @a631807682) |
| | | - Registrada la scrollbar en el panel de filtro (#16246 by @ziyoung) |
| | | - Tareas |
| | | - Arreglada la documentación 2.9 (#16233 by @ziyoung) |
| | | - Corregido el Ãndice de la página de introducción del tema en inglés que tenia un error en los estilos css (#16254 by @iamkun) |
| | | |
| | | #### Optimización |
| | | |
| | | - Tag |
| | | - Compatible con IE (#16334 by @ziyoung) |
| | | - Tarea |
| | | - Actualizada la imagen QR de Dingtalk Group (#16236 by @iamkun) |
| | | - Doc |
| | | - Actualizada la documentación online del theme roller (#16244 by @iamkun) |
| | | |
| | | ### 2.10.0 |
| | | |
| | | *2019-06-25* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | |
| | | - I18n |
| | | - Añadido idioma Uzbeko (#15796 by @ogabek96) |
| | | - Calendar |
| | | - Añadido el atributo del primer dÃa de la semana (#16047 by @ziyoung) |
| | | - Avatar |
| | | - Agregado componente Avatar (#16144 by @luckyCao) |
| | | - Upload: |
| | | - Añade capacidad para personalizar la plantilla de miniaturas (#13192 by @victorzhuk) |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Tree |
| | | - No resaltar el nodo de árbol cuando currentKey es nulo (#15668 by @yyjjqq94) |
| | | - Solucionado el problema #15538 causado por dos Tree que compartian los mismos datos.(#15615 by @VanMess) |
| | | - Upload |
| | | - Actualizado el tipo del parámetro `fileList` (#15716 by @underfin) |
| | | - Table |
| | | - Solucionado que el icono de loading no se mostraba (#15868 by @ziyoung) |
| | | - Corregido el color de fondo de una tabla compleja cuando se desplaza el cursor (#15504 by @cnlon) |
| | | - Corregido current-row-key y el bug del evento select (#15983 by @ziyoung) |
| | | - Height acepta más unidades (#16013 by @ziyoung) |
| | | - Solucionado reserve-selection no funcionaba (#16135 by @ziyoung) |
| | | - Docs |
| | | - Corregido el tipo de atributo Divider en zh-cn (#15889 by @haoranyu) |
| | | - Se elimina una etiqueta html de cierre incorrecta y el código de bloque vacÃo (#16194 por @Alexeykhr) |
| | | - Menu |
| | | - Corregido un error oculto en el submenú después de añadir popper-append-to-body (#15391 by @PanJiaChen) |
| | | - Select |
| | | - Arreglado initialInputHeight (#15989 by @yyjjqq94) |
| | | - Corregido el comportamiento de default-first-option cuando se escribe chino (#15431 by @VanMess) |
| | | - Corregido el problema de importación doble (#16215 by @lengband) |
| | | - Message |
| | | - Añadida la opción type def para offset (#16027 by @matjaz) |
| | | - Timeline |
| | | - Arreglado reverso roto (#16091 by @ziyoung) |
| | | - Slider |
| | | - Corregido #15545 agregando explicaciones sobre el evento "input" en chino (#15588 by @VanMess) |
| | | - InfiniteScroll |
| | | - Actualización del nombre del paquete (#16125 by @iamkun) |
| | | - MessageBox |
| | | - Arreglado el bug de distinguishCancelAndClose, la acción no era la misma que la documentada (#15438 by @qingdengyue) |
| | | - PopupManager |
| | | - Arreglado que el z-index no podÃa ser reescrito la primera vez que se usaba (#15738 by @luckyCao) |
| | | - Tarea |
| | | - Actualizado el test del api host (#15807 by @iamkun) |
| | | |
| | | #### Optimizacion |
| | | |
| | | - Tree |
| | | - Modificar las condiciones del bucle para mejorar el rendimiento (#15699 by @KingJeason) |
| | | - Theme |
| | | - Refinado GA track & actualizado el link del pie que lleva al theme roller online (#16007 by @island205) |
| | | - Badge |
| | | - Actualizado el check del prop badge (#16198 by @iamkun) |
| | | - Avatar |
| | | - Actualizado el var del config del theme (#16202 by @luckyCao) |
| | | - I18n |
| | | - Actualizada la traducción del portugués (#15776 by @gigioSouza) |
| | | - Actualizada la traducción del idioma Farsi (#15881 by @pamenary) |
| | | - Docs |
| | | - Agregado componentes faltantes en el quick start (#16063 by @pape2016) |
| | | - Actualizada la traducción al francés (#16208 by @blombard) |
| | | - Agregada descripción $slots.default (#15444 by @Alexeykhr) |
| | | - Actualizada la Doc en Español 2.9.1 (#15840 by @Gonzalo2310) |
| | | - Corrección de errores ortográficos en fr (#15837 by @blombard) |
| | | - Actualizado el changelog 2.9.2 en español (#16185 by @Gonzalo2310) |
| | | |
| | | #### Breaking changes |
| | | |
| | | - Form |
| | | - Eliminado el estado success (#16159 by @ziyoung) |
| | | |
| | | ### 2.9.2 |
| | | |
| | | *2019-06-21* |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Tareas |
| | | - Solucionadas las definiciones de archivos TS (#15805 by @NateScarlet) |
| | | |
| | | ### 2.9.1 |
| | | |
| | | *2019-05-30* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | |
| | | - Table |
| | | - Los metodos tree-propsï¼default-expand-all, expand-row-keys, toggle-row-expansion y el evento expand-change son compatibles con Tree Table (#15709 by @ziyoung) |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Table |
| | | - Corrección de algunos errores (#15709 by @ziyoung) |
| | | - Theme |
| | | - Actualización del host de la api (#15784 by @iamkun) |
| | | |
| | | #### Optimización |
| | | |
| | | - Tarea |
| | | - Una actualización del tipo InfiniteScroll (#15794 by @iamkun) |
| | | |
| | | ### 2.9.0 |
| | | |
| | | *2019-05-30* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | |
| | | - Backtop |
| | | - Añadido componente Backtop (#15541 by @iamkun) |
| | | - PageHeader |
| | | - Añadido el componente PageHeader (#15714 by @ziyoung) |
| | | - InfiniteScroll |
| | | - Añadida la directiva InfiniteScroll (#15567 by @iamkun) |
| | | - Cascader |
| | | - Agregado modo múltiple y método de filtro (#15611 by @SimonaliaChen) |
| | | - Message |
| | | - Visualización en modo stack (#15639 by @island205) |
| | | - Tag |
| | | - Añadido prop effect (#15725 by @SimonaliaChen) |
| | | - Tabs |
| | | - Alinea el tÃtulo a la izquierda cuando el tipo es card (#15695 by @luckyCao) |
| | | - DatePicker |
| | | - Soporta cadenas literales (#15525 by island205) |
| | | - Image |
| | | - Añadido soporte para transmitir attrs y listeners (#15578 by @VanMess) |
| | | - Theme |
| | | - Añadido fondo al popup (#15412 by @iamkun) |
| | | - Tarea |
| | | - Actualizada la nueva página de Ãndice 2.9.0 (#15682 by @iamkun) |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Table |
| | | - Corregido el comportamiento de cambio de orden cuando la condición de orden es nula (#15012 by @joelxr) |
| | | - Image |
| | | - Corregido ssr y compatibilidad de ajuste de objetos (#15346 by @SimonaliaChen) |
| | | - Input |
| | | - Corregido estilo show-word-count en el-form (#15359 by @lvjiaxuan) |
| | | - Corregido el icono de borrar que no estaba centrado (#15354 by @YiiGuxing) |
| | | - Calendar |
| | | - Corregido dÃa de la semana no correcto cuando el dÃa es domingo (#15399 by @qingdengyue) |
| | | - Corregido error de desaparición de octubre (#15394 by @qingdengyue) |
| | | - Tabs |
| | | - Corrección de la pestaña básica anidada en el error de relleno de la pestaña de la tarjeta (#15461 by @SimonaliaChen) |
| | | - Tag |
| | | - Corregido problema de propagación de stop (#15150 by @infjer) |
| | | - Form |
| | | - Corregido el error de grupo de entrada dentro de la altura del elemento de formulario (#15457 by @SimonaliaChen) |
| | | - Solucionado el problema de resetFields (15181 by @luckyCao) |
| | | - Tooltip |
| | | - Corregido tabindex personalizado no funcionaba (#15619 by @SimonaliaChen ) |
| | | - Link |
| | | - Arreglada la clase de estilo del icono de enlace (#15752 by @iamkun) |
| | | - Select |
| | | - Revertir el valor establecido a nulo cuando se borra (#15447 by @iamkun) |
| | | - Loading |
| | | - Corregido dom no cambia cuando el estado de carga cambia rápidamente (#15123 by @FAKER-A) |
| | | - Switch |
| | | - Etiqueta con el evento de repetición del interruptor (#15178 by @FAKER-A) |
| | | - Slider |
| | | - Arreglado el problema de estilo al hacer clic en la barra deslizante (#15561 by @luckyCao) |
| | | - Radio |
| | | - Solucionado el problema 14808 (#14809 by @OverTree) |
| | | - Form |
| | | - Solucionado el problema de resetFields (15181 by @luckyCao) |
| | | - Tarea |
| | | - Se actualizaron las dependencias y se corrigió el error de demostración (#15324 by ziyoung) |
| | | - Type |
| | | - Corregida la definición del tipo de carga (#15635 by @iamkun) |
| | | - Corregido tipo Icono (#15634 by @iamkun) |
| | | - Corregida la definición del tipo de enlace (#15402 by @iamkun) |
| | | |
| | | #### Optimización |
| | | |
| | | - Cascader |
| | | - Refractorización (#15611 by @SimonaliaChen) |
| | | - Tarea |
| | | - Actualización hacer nueva lógica de componentes (by @iamkun) |
| | | - Documentación |
| | | - Renombrar variable en docs (#15185 by @liupl) |
| | | - Corregido el atributo type de imagen y el valor por defecto (#15423 by @haoranyu) |
| | | - Corregido error en la doc de form (#15228 by @SHERlocked93) |
| | | |
| | | ### 2.8.2 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Icon |
| | | - Actualizado icon (#15272 by @iamkun) |
| | | - Docs |
| | | - Arreglada la documentacion de Form e Input (#15273 by @ziyoung) |
| | | |
| | | ### 2.8.1 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Icon |
| | | - Actualizado el icono de cascader y select (#15264 by @SimonaliaChen) |
| | | - Actualizado icon (#15258 #15268 by @iamkun) |
| | | |
| | | #### Optimización |
| | | |
| | | - Chore |
| | | - Actualizado build script (#15267 by @ziyoung) |
| | | - Docs |
| | | - Arreglado el color underline de link (#15265 by @iamkun) |
| | | - Other |
| | | - Arreglada la migracion de la configuracion no compatible con camel case props y eventos (#15260 by @SimonaliaChen) |
| | | |
| | | ### 2.8.0 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | |
| | | - Divider |
| | | - Agregado el componente Divider (#15055 by @island205) |
| | | - Rate |
| | | - Agregados colores personalizados y clases de iconos pasando un objeto (#15051 by @SimonaliaChen) |
| | | - Link |
| | | - Agregado componente Link (#15052 by @iamkun) |
| | | - Calendar |
| | | - Agregado el componente Calendar (#14908 by @ziyoung) |
| | | - Icon |
| | | - Agregado Icon (#15214 by @iamkun) |
| | | - Alert |
| | | - Agregado tema dark (#15041 by @island205) |
| | | - Image |
| | | - Agregado componente image (#15117 by @SimonaliaChen) |
| | | - Collapse |
| | | - CollapseItem puede ser disabled (#15076 by @ziyoung) |
| | | - Carousel |
| | | - Agregado atributo direction y soporte para la direccion vertical (#15122 by @ziyoung) |
| | | - Pagination |
| | | - Agregado atributo hide-on-single-page (#15096 by @ziyoung) |
| | | - Slider |
| | | - Agregado atributo marks (#15133 by @luckyCao) |
| | | - Input |
| | | - Agregado attributo show-word-count (#15075 by @luckyCao) |
| | | - InputNumber |
| | | - Agregado atributo step-strictly (#15050 by @luckyCao) |
| | | - Tooltip, Dropdown, Popover |
| | | - Soporte para el atributo tabindex (#15167 by @ziyoung) |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Notification |
| | | - Arreglado el word break del titulo (#15008 by @iamkun) |
| | | - Form |
| | | - Arreglado que cuando se cambiaban las reglas en el-form no funcionaba (#14985 by @luckyCao) |
| | | - Arreglado el estilo del label (#14969 by @ziyoung) |
| | | - Los FormItem requeridos muestran astericos cuando el label es auto (#15144 by @ziyoung) |
| | | - Pagination |
| | | - Arreglado que el slot no se actualizaba (#14711 by @lucyhao) |
| | | - Table |
| | | - Arreglado un bug del load en el modo lazy (#15101 by @ziyoung) |
| | | - Arreglado el ancho de la celda cuando colspan es mayor que 1 (#15196 by @ziyoung) |
| | | - Mejora en el rendimiento (#14868 by @ziyoung) |
| | | - No se emiten disparadores del evento sort-change durante la inicializacion (#14625 by @PeanutWatson) |
| | | - Igual comportamiento para height y max-height (#14660 by @arthurdenner) |
| | | - Dialog |
| | | - Arreglado que el cuerpo del dialog quiebre las palabras correctamente en las palabras largas (#15027 by @iamkun) |
| | | - Alert |
| | | - Actualizada la definicion de type (#15186 by @ziyoung) |
| | | - Tabs |
| | | - Solucionado el problema por el que el rechazo de la promesa estaba afectando a la aplicación (#14816 by @ffxsam) |
| | | - Rerender cuando hay cambios en el slot (#15238 by @ziyoung) |
| | | - Message |
| | | - Actualizada la definicion de type (#14968 by @agoni1212) |
| | | - Select |
| | | - Solucionado el error cuando value es undefined o null (#15022 by @luckyCao) |
| | | - Tree |
| | | - Eliminar el nodo actual despues de removido (#14604 by @sinchang) |
| | | - Mejora en el rendimiento (#14881 by @ChenZhuoSteve) |
| | | - Dropdown |
| | | - Estilo arreglado (#14907 by @doing123) |
| | | - Slider |
| | | - Corrección de un fallo en el teclado a11y (#14792 by @erezsob) |
| | | - Menu |
| | | - El valor de ActiveIndex será nulo si el defaultIndex no existe (#14074 by @hoythan) |
| | | - Directive |
| | | - RepeatClick: usa Date.now() en lugar de new Date() (#14776 by @pavelmash) |
| | | - Upload |
| | | - Arreglado el estilo para mostrar imagenes transparentes (#15039 by @iamkun) |
| | | - Theme |
| | | - Agregado zero border (#15256 by @iamkun) |
| | | |
| | | #### Optimización |
| | | |
| | | - Tareas |
| | | - Actualizado changelog zh-cn (#14965 by @iamkun) |
| | | |
| | | - Ocultar la descripcion de la demo cuando esta vacia (#15014 by @ziyoung) |
| | | |
| | | - Muestra la info dev del server por defecto @iamkun) |
| | | |
| | | - Arreglado un error del changelog v2.6.0 (#15026 by @iamkun) |
| | | |
| | | - Actualizado build config (#14821 by @abc3660170) |
| | | |
| | | - Agregado hmr (#15221 by @SimonaliaChen) |
| | | |
| | | - Uso de sourcemap en entorno dev (#15087 by @ibufu) Docs |
| | | |
| | | - Cambio de nombre de variable en docs (#14602 #15003 #15094 #15105 by @liupl) |
| | | |
| | | - Arreglado un error en la documentacion de upload (#15023 by @iamkun) |
| | | |
| | | - Actualizada la documentacion del custom validator del Form (#15040 by @iamkun) |
| | | |
| | | - Actualizada la documentacion de Tabs de como mostrar tabs verticales (#15053 by @iamkun) |
| | | |
| | | - Uso del dominio eleme.cn (#15139 by @ziyoung) |
| | | |
| | | - Arreglado el nombre de la ruta de imágenes (#15194 by @iamkun) |
| | | |
| | | - Eliminada la traducción duplicada en francés (#15207 by @iamkun) |
| | | |
| | | |
| | | |
| | | #### Breaking changes |
| | | |
| | | - Rate |
| | | - Arreglado Fix decimal display support in disabled mode (#15089 by @haoranyu) |
| | | - Select |
| | | - Se usa la opcion placeholder del label para poner el placeholder en el modo filter (#14989 by @ibufu) |
| | | |
| | | ### 2.7.2 |
| | | |
| | | *2019-04-03* |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Form |
| | | - Arreglado el estilo auto `label-width` (#14955 by @ziyoung) |
| | | |
| | | #### Optimización |
| | | - Docs |
| | | - Arreglado un error de link de una imagen (#14957 by @iamkun) |
| | | - Chore |
| | | - Arreglado un error de mkdir en el deploy (#14952 by @iamkun) |
| | | |
| | | ### 2.7.1 |
| | | |
| | | *2019-04-03* |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Select |
| | | - Se asigna null a value cuando se limpia (#14322 by @aaronfulkerson) |
| | | - Input |
| | | - Actualiza los valores dependientes en el DOM cuando el tipo cambia (#14889 by @wacky6) |
| | | - Table |
| | | - Hacer que defaultExpandAll funcione cuando exista una columna expandida (#14935 by @ziyoung) |
| | | - Dialog |
| | | - El color de fondo puede ser configurado (#14939 by @ziyoung) |
| | | - Form |
| | | - `label-width` soporta auto width (#14944 by @ziyoung) |
| | | |
| | | #### Optimización |
| | | - Docs |
| | | - Actualización de la documentación en español (#14913 by @Gonzalo2310) |
| | | - Agregada documentación en francés para el nuevo componente (#14924 by @ziyoung) |
| | | - Documentación de los Tabs optimizada (#14938 by @ziyoung) |
| | | |
| | | ### 2.7.0 |
| | | |
| | | *2019-03-28* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | |
| | | - Table |
| | | - Agregado soporte de datos con estructura tree (#14632 by @ziyoung) |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Tabs |
| | | - Uso de color primario como boxShadow color (#14558 by @Richard-Choooou) |
| | | - Renderización cuando cambia la etiqueta (#14496 by @akki-jat) |
| | | - Table |
| | | - El pie de página sigue la alineación de las celdas del body (#14730 by @ziyoung) |
| | | - NavMenu |
| | | - Se ha corregido que al hacer click en el el-submenu se disparaba childMenu nuevamente (#14443 by @PanJiaChen) |
| | | - Dropdown |
| | | - Compatible con la nueva sintaxis de v-slot en V 2.6 (#14832 by @ziyoung) |
| | | - ColorPicker |
| | | - Corregido el manejo de error de string en hex color (#14793 by @iamkun) |
| | | - Tree |
| | | - Revertido pr #13349 (#14847 by @ziyoung) |
| | | - Tooltip |
| | | - Muestra cuando el valor inicial es verdadero (#14826 by @ziyoung) |
| | | - Docs |
| | | - Actualización de documentos de cascader (#14442 by @panhezeng) |
| | | - Style |
| | | - Corrección de la media query en sm-only, md-only, lg-only (#14611 by @sinchang) |
| | | |
| | | #### Optimización |
| | | |
| | | - Chore |
| | | - Añadido descripción de la página web (#14802 by @iamkun) |
| | | |
| | | ### 2.6.3 |
| | | |
| | | *2019-03-21* |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Corrección del estilo de demostración de Cascader (#14789 by @ziyoung) |
| | | - Eliminación de la operación DOM innecesaria (#14788 by @ziyoung) |
| | | - Corrección del valor predeterminado del DST de DatePicker (#14562 by @wacky6) |
| | | |
| | | ### 2.6.2 |
| | | |
| | | *2019-03-21* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | |
| | | - DatePicker |
| | | - Añadido monthrange para el atributo type (#14487 by @zxyRealm) |
| | | - i18n |
| | | - Añadido Locale Croata (#14360 by @danijelh) |
| | | - Docs |
| | | - Actualización del documento en francés para 2.6.1 y corrección de errores tipográficos (#14555 by @smalesys) |
| | | - Actualización de la traducción al francés (#14643 by @smalesys) |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Input |
| | | - Corregida regresión (#14572 by @wacky6) |
| | | - DatePicker |
| | | - Corrección del cálculo del primer dÃa de la semana (#14523 by @sinchang) |
| | | - Corregido el formato de valor del selector de semana (#13754 by @wacky6) |
| | | - Steps |
| | | - Corregida issue #14502 (#14596 by @sinchang) |
| | | - Arreglado estilo con tema simple (#14610 by @sinchang) |
| | | - Docs |
| | | - Renombrada variable en documentos de Table (#14587 by @likwotsing) |
| | | - Añadido Ãndice de búsqueda en francés (#14565 by @iamkun) |
| | | - Corrección del estilo de página TimePicker (#14579 by @ziyoung) |
| | | - Renombrada variable en Upload docs (#14593 by @liupl) |
| | | - Actualización de los documentos del Form async validator (#14694 by @iamkun) |
| | | - Solucionado el error de tooltip doc (#14748 by @iamkun) |
| | | - Corregido error tipográfico (#14751 by @2bj) |
| | | - Corregido los elementos de control de resaltado para Webkit touch (#14703 by @VladG0r) |
| | | |
| | | |
| | | #### Optimización |
| | | |
| | | - Chore |
| | | - Actualización del script de construcción de ci (#14600 by @ziyoung) |
| | | - Actualización ga tracking (#14560 por @iamkun) |
| | | - Añadido más evento ga (#14633 by @iamkun) |
| | | - Actualización del grupo de discusión (#14741 por @iamkun) |
| | | - Actualización de los deps y conf de las pruebas (#14735 by @wacky6) |
| | | - Actualización gulp (#14745 by @ziyoung) |
| | | - Uso de codepen para mostrar la demo y corregir el error doc (#14747 por @ziyoung) |
| | | |
| | | ### 2.6.1 |
| | | |
| | | *2019-03-03* |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - **Don't specify node version** (by @iamkun in #14546) |
| | | - Corrección del directorio doc en `deloy-faas.sh` (by @ziyoung in #14553) |
| | | - Arreglado el estilo de date en changelog para 2.6.0 (by @island205 in #14547) |
| | | - Corregido error tipográfico en doc (by @wack6 in #14552) |
| | | |
| | | ### 2.6.0 |
| | | |
| | | *2019-03-01* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | - Timeline |
| | | - Agregado componente timeline (by @jikkai in #14248) |
| | | - DropdownItem |
| | | - Añadida la prop icon a `el-dropdown-item` (by @gabrielboliveira in #14088) |
| | | - Input |
| | | - Añadida la prop show-password (by @phshy0607 in #13966) |
| | | - Select |
| | | - Añadido el slot `empty` (by @elfman in #13785) |
| | | - Autocomplete |
| | | - Añadida la prop highlight-first-item (by @YamenSharaf in #14269) |
| | | - I18n |
| | | - Locale Armenio creado (by @hamletbarsamyan in #14214) |
| | | - Docs |
| | | - Traducción al francés (by @smalesys in #12153, #14418, #14434) |
| | | |
| | | #### Optimización |
| | | - Alert |
| | | - Actualizada la descripción de Alert (by @iamkun in #14488) |
| | | - Input |
| | | - Actualizado input password (by @iamkun in #14480) |
| | | - InputNumber |
| | | - Removido parseFloat innecesario (by @JuniorTour in #14172) |
| | | - Menu |
| | | - Añadido soporte para `el-menu-item` sin Ãndice (by @georgyfarniev in #13298) |
| | | - Table |
| | | - Eliminadas algunas operaciones DOM html (by @elfman in #13643) |
| | | - Upload |
| | | - Optimizado el código (by @elfman in #13973) |
| | | - Popup |
| | | - Optimizado el código (by @KAionro in #14413) |
| | | - Docs |
| | | - Se han agregado más detalles sobre cómo ejecutar el modo de play para contribuir (by @island205 in #14355) |
| | | - Warn input como componente de control. (by @wacky6 in #14463) |
| | | - Actualizacion de la documentacion de Table (by @luguokong in #14329) |
| | | - Actualizacion de la documentacion de input (by @iamkun in #14437) |
| | | - Actualizacion de la documentacion de custom-theme (by @wangguohao in #14297) |
| | | - Se ha hecho que el icono cambie de estilo en hover (by @tuxinghuan in #14295) |
| | | - Build |
| | | - Minimización de css y js para la doc del sitio de Element (by @iamkun in #14430) |
| | | - Aceleración de webpack (by @hetech in #14484) |
| | | - Uso de cli para seleccionar la versión de lanzamiento (by @hetech in #14354) |
| | | - Instalación de stale para el manejo de issues (by @island205 in #14392) |
| | | |
| | | #### Corrección de errores |
| | | - Menu |
| | | - Corregido el error de focus del submenú cuando se cambiaba la pestaña del navegador (by @liupl in #13976) |
| | | - MessageBox |
| | | - Corregida la definicion de type (by @NateScarlet in #14278) |
| | | - ScrollBar |
| | | - Prevenido el clic del botón derecho en la miniatura (by @xifeiwu in #14196) |
| | | - Switch |
| | | - Activación de la validación de formularios si el valor cambia (by @hetech in #14426) |
| | | - Table |
| | | - Se ha convertido el método toggleAllSelection en un método de instancia (by @letanure in #14075) |
| | | - Tabs & Dropdown |
| | | - Estilo arreglado (by @hetech in #14452) |
| | | - Tree |
| | | - Los tips de texto vacÃo son diferentes de las tablas (by @ColinCll in #14331) |
| | | - Docs |
| | | - Corregido el error de formato de la documentacion de DatetimePicker (by @iamkun in #14290) |
| | | - Problema de ortografÃa en la documentación de datepicker (by @helmut in #14481) |
| | | - Arreglado estilo doc de paginación (by @liuchuzhang in #14451) |
| | | |
| | | #### Breaking changes |
| | | - Table |
| | | - Cambiar el orden de los parámetros enviados en los eventos de las filas (by @jikkai in #12086) |
| | | |
| | | ### 2.5.4 |
| | | |
| | | *2019-02-01* |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Build: Se ha solucionado el problema de configuración de babel que provocaba que el efecto de transicion de collpase se rompiera (por @island205 en #14282) |
| | | |
| | | ### 2.5.3 |
| | | |
| | | *2019-01-31* |
| | | |
| | | #### Optimización |
| | | |
| | | - Optimización del código de Message (por @vok123 en #14029) |
| | | - Retirada de gh-pages (por @ziyoung en #14266) |
| | | - Añadido enlace IssueHunt (por @island205 en #14261) |
| | | |
| | | #### Corrección de errores |
| | | |
| | | - Corregido el error del módulo UMD en el lado del servidor (por @island205 en #14242) |
| | | - Corregido el estilo activo de TabBar (por @iamkun en #14240) |
| | | - Corregido el error de código de demo de la tabla (por @xunmeng en #14253) |
| | | |
| | | |
| | | ### 2.5.2 |
| | | |
| | | *2019-01-27* |
| | | |
| | | #### Optimización |
| | | - Docs: |
| | | - Actualizacion ChangeLog ES 2.5.1 (by @Gonzalo2310 in #14231) |
| | | |
| | | #### Corrección de errores |
| | | - Build: |
| | | - Eliminar comentarios no borrados en el módulo umd `lib/index.js` (por @island205 en #14233) |
| | | - Corregido el error de exportación disparado en el módulo commonjs usado en nuxt.js (por @island205 en #14232) |
| | | - Corrección de problemas de compilación de 2.5.1 (por @iamkun en #14228) |
| | | |
| | | ### 2.5.1 |
| | | |
| | | *2019-01-26* |
| | | |
| | | #### Optimización |
| | | - DatePicker: resalta el mes y año actual (por @Debiancc en #14211) |
| | | - Actualizacion del changelog 2.5.0 (por @wacky6 en #14217) |
| | | |
| | | #### Corrección de errores |
| | | - Arreglado el problema de exportación generado por la actualización de webpack (por @island205 en #14220) |
| | | - Guardados los documentos 2.4.11 y la nueva subcarpeta para 2.5+ (por @iamkun en #14222) |
| | | |
| | | ### 2.5.0 |
| | | |
| | | *2019-01-25* |
| | | |
| | | #### Corrección de errores |
| | | - Autocompletar |
| | | - Corregida la última lÃnea del menú desplegable que comenzaba recortada (#13597) (por @ziyoung) |
| | | - Arreglada la popper arrow que faltaba (#13762) (por @liuchuzhang) |
| | | - Carrusel |
| | | - Contador de limpieza cuando el componente es destruido (#13820) (por @elfman) |
| | | - Cascader |
| | | - Retirada de los props computados obsoletos (#13737) (por @iamkun) |
| | | - Se corrigió la definición de tipo de las opciónes de Cascader en TypeScript (#13613) (por @NateScarlet) |
| | | - Corregido icono que cubre el texto (#13596) (por @ziyoung) |
| | | - Checkbox |
| | | - Refinado el estilo (por @PanJiaChen) |
| | | - DatePicker |
| | | - Añade el `key` en v-for de TimeSpinner (#13547) (por @Ende93) |
| | | - Corregido el resaltado de la semana en el lÃmite del año (#13883) (por @suyi91) |
| | | - Input |
| | | - Corregida la referencia del nodo DOM del textarea (#13803) (por @laomu1988 @island205) |
| | | - Pagination |
| | | - El valor de entrada no será menor que 1 (#13727) (por @elfman) |
| | | - Popover |
| | | - Corrección de problemas de popover con el disparador de hover (#13104) (por @goldengecko) |
| | | - Corregido el fallo de memoria de instancia de popper (#13988) (por @qpxtWhite) |
| | | - Radio |
| | | - Refinado el estilo (por @ohhoney1) |
| | | - Table |
| | | - Mejorada la ordenación de tablas al hacer clic en la flecha de ordenación (#12890) (por @ohhoney1) |
| | | - Solucionado el problema de alineación vertical de texto vacÃo en IE10+ (#13638) (por @imzjjy) |
| | | - Corregida la documentación del tipo de Ãndice (#13628) (por @ilovefafa) |
| | | - Corrección del problema de visualización de `show-summary` cuando el encabezado multinivel tiene el attr fixed (#13914) (por @luckyCao) |
| | | - Tabs |
| | | - Corregido error de autodesplazamiento (#13696) (por @iamkun) |
| | | - Obtener la tab correcta a través del nombre de tab (#13705) (por @iamkun) |
| | | - Uso de paneName en lugar de name para determinar el estilo del panel (#13733) (por @iamkun) |
| | | - Tree |
| | | - Corregido que `showCheckbox` prop en `Tree` no puede afectar a los hijos `tree-node` (por @KidneyFlower) |
| | | - Actualizado documento y archivo de definición (#13540) (por @ziyoung) |
| | | - Upload |
| | | - Agregada la prop `url` para subir el archivo cuando `list-type` cambia (#13771) (por @elfman) |
| | | - Slider |
| | | - Corrección de la sangrÃa del código fuente (#13955) (por @wacky6) |
| | | - I18n |
| | | - Añadidas las traducciones de catalán que faltaban (por @jaumesala) |
| | | - Añadidas las traducciónes de ruso que faltaban (#13658) (por @justlp) |
| | | - Corrección de las traducciones al finés (#14137) (por @jenkrisu) |
| | | - Doc |
| | | - Actualización del documento 2.4.11 (#13522) (por @Gonzalo2310) |
| | | - Otros |
| | | - Eliminar scripts innecesarios (por @ziyoung) |
| | | - Corregido el error de anchor link (#13753) (por @iamkun) |
| | | - Corrección de la capitalización inconsistente en la documentación (por @wonderjar) |
| | | - Añadido código qr del grupo de chat DingDing al readme (by @iamkun in #13957) |
| | | - Añadido logs de hilo a .gitignore (#13922) (por @mimimi) |
| | | - Eliminada la cuota de patrocinadores (#14156) (por @island205) |
| | | - Actualizado readme qr code src (#13960) (por @iamkun) |
| | | - Actualizado enlace CDN, corregido error tipográfico (por @ziyoung) |
| | | |
| | | ### 2.4.11 |
| | | |
| | | *2018-11-21* |
| | | |
| | | - Revertido pr #13296. Arreglado que al hacer clic fuera del Menú causaba que el Submenú colapsara, #13478 |
| | | - Ajustados los media query breakpoints de las pantallas pequeñas (xs), #13468 (por @alekoshen712) |
| | | |
| | | ### 2.4.10 |
| | | |
| | | *2018-11-16* |
| | | |
| | | - Se corrigio que se necesitaban varios clics en Select para mostrar la lista desplegable, #13268 |
| | | - El icono de limpiado para el input no se muestraba cuando Form estaba deshabilitado, #13208 |
| | | - Ajustados los estilos de Select, Progress, Autocomplete, Tooltip, Collaspe, TimePicker, #13188 (by @porcelainHeart) #13210 #13266 #13257 #13290 #13347 (by @PanJiaChen) |
| | | - Se agregó el atributo `loop` al componente carrusel, #13217 |
| | | - Cuando los datos de Table cambian, la lÃnea resaltada permanecerá, #13200 |
| | | - Table header scoped slot puede recibir parámetros, #13263 |
| | | - El método `clearFilter` de la tabla soporta argumentos, #13176 |
| | | - El tooltip ya no se crea cuando no hay contenido en la celda de Table, #13152 (por @rongxingsun) |
| | | - El contenido del input del panel ColorPicker se muestra correctamente, #13278 |
| | | - ColorPicker ya no activa la validación de formularios al arrastrar, #13299 |
| | | - InputNumber se le ha añadido el método `select`, #13286 (por @st-sloth) |
| | | - Autocompletar agregó el evento `clear`, #12171(by arthurdenner) #13326 |
| | | - Puede cerrar Menú haciendo clic fuera del Menú, #13296 |
| | | - El método `validateField` de Form puede recibir argumentos, #13319 |
| | | - Cascader añadió el evento `visible-change`, #13415 |
| | | - DatePicker agregó slot para separador de rango, #13272 (por @milworm) |
| | | - Tree añade las propiedades `iconClass` y `currentNodeKey`, #13337 #13197 (por @isnifer) |
| | | - Progress permite texto en el atributo `status` #13198 (por @ali-master) |
| | | - Corregidas las `defaultCheckedKeys` de Tree que causaba un error, #13349 (por @dive2Pro) |
| | | |
| | | |
| | | ### 2.4.9 |
| | | |
| | | *2018-10-26* |
| | | |
| | | - El parámetro de Form's `clearValidate` soporta cadenas, #12990 (by @codinglobster) |
| | | - Se agregó el atributo `type` para Badge, #12991 |
| | | - Ser puede usar scoped-slot para personalizar el encabezado de la columna de Table #13012 (por @ivanseidel) |
| | | - Arreglado que el input box de Select no se podia escrbir en IE, #13034 (by @GaliMU) |
| | | - La opción Seleccionar no se cerraba cuando el espacio era insuficiente, #12329 (by @akki-jat) |
| | | - Cuando se expande la lista desplegable de Seleccionar, el icono de flecha también se mostrará correctamente, #12353 (by @firesh) |
| | | - Arreglado que el atributo size de Select no funcionaba, #13070 |
| | | - Select multiple values pueden ser limpiado en lote, #13049 (by @ZSkycat) |
| | | - Arreglado el último TabNav que no se podÃa borrar, #13039 |
| | | - Arreglado que la etiqueta del TabNav no se mostraba correctamente, #13178 |
| | | - Añadido title slot para Alert, #13082 (by @Kingwl) |
| | | - Corregido un problema por el cual el contenido del tooltip en Table era incorrecto, #13159 (by @elfman) |
| | | - Optimizada la animación de Upload cuando el archivo es eliminado, #12987 |
| | | - Ajustado el estilo de InputNumber cuando no se muestra el botón de control, #13052 |
| | | |
| | | ### 2.4.8 |
| | | |
| | | - No se muestra el contorno cuando Switch está enfocado, #12771 |
| | | - Arreglado el estilo del Dropdown en ButtonGroup, #12819 (por @bluejfox) |
| | | - Añadido evento opened para Dialog, #12828 |
| | | - Corregido el orden incorrecto de visualización de TabNav, #12846 |
| | | - Corregido el problema de que Tabs no se desplazaba a la pestaña seleccionada, #12948 |
| | | - Corregido el problema de que el identificador no se mostraba cuando se arrastraba el Tree node, #12854 |
| | | - El parámetro validar evento de Form contiene el mensaje de validación, #12860 (por @YamenSharaf) |
| | | - Se ha corregido el DatePicker que no verificaba la validez de la hora de entrada del usuario, #12898 |
| | | - Arreglado el problema de que el atributo `render-header` del encabezado de Table no funcionaba, #12914 |
| | | |
| | | ### 2.4.7 |
| | | |
| | | *2018-09-14* |
| | | |
| | | - Corregido que DatePicker no activaba la validación del Form, #12328 #12348 |
| | | - Corregidos el lanzamiento de errores del DatePicker en modo múltiple, #12347 |
| | | - Corregida la posición incorrecta del spinner del DatePicker, #12415 (por @rang-ali) |
| | | - Se ha corregido el llenado automático del input del DatePicker, #12521 (por @abdallanayer) |
| | | - Corregida el input no resaltada en Cascader, #12341 |
| | | - Corregido el orden incorrecto de Tabpane, #12346 |
| | | - Corregida la posición incorrecta del cursor de ColorPicker, #12376 (por @cnwhy) |
| | | - Corregido el estilo del Submenú, #2457 |
| | | - Corregido el resaltado después de seleccionar el Submenú, #12479 |
| | | - Corregidos los valores incorrectos seleccionados por Cascader, #12508 (por @huangjinqiang) |
| | | - Corregido el valor incorrecto del input de Paginación, #12525 |
| | | - Se ha corregido el orden en que la paginación desencadena los eventos, #12530 |
| | | - Corregido que no se mostraba el Table Filter, #12539 |
| | | - Corregido Tree que era incapaz de borrar nodos, #12684 |
| | | - Corregida la altura de los Select Input que cambiaba en modo simple, #12719 |
| | | - Arreglado el estilo de la etiqueta FormItem en Form anidado, #12748 |
| | | - Añadido el atributo `autocomplete` para Input, obsoleto `auto-complete`, #12514 (por @axetroy) |
| | | - Añadido el slots-scope de Form para mostrar la información de validación, #12715 (por @YamenSharaf) |
| | | |
| | | ### 2.4.6 |
| | | |
| | | *2018-08-09* |
| | | |
| | | - Arreglada la tabla que no mostraba el Ãcono del filtro cuando a `filter` se les asignaba un array vacÃo, #12165 |
| | | - Arreglado Menu que no guardaba el estado activo cuando cambiaba `collapse` #12178 (por @elfman) |
| | | - Se ha corregido que Cascader no escapaba a los caracteres especiales para Regexp, #12248 |
| | | - Se ha corregido que el RadioBotón deshabilitado mostraba la sombra de la caja cuando se hacÃa clic, #12262 |
| | | - Arreglado el efecto de la tecla de flecha en Select cuando el valor por defecto es `undefined`,#12322 |
| | | - Corregida la función de consulta de Select not debounced en modo multi, #12181 |
| | | - Corregida que la palabra clave de consulta de Select desaparecÃa en modo multi, #12304 |
| | | - Corregido el ancho incorrecto de Dialog cuando se muestra a pantalla completa, #12203 |
| | | - Corregida la visualización incorrecta de Main en IE, #12237 |
| | | - Corregido el trigger de Input con dos validaciones de Form, #12260 |
| | | - Arreglado el añadir un nuevo nodo de árbol que causaba que los nodos desaparecieran, #12256 |
| | | - Arreglado el nodo Tree no se borraba después de arrastrar, #12279 |
| | | - Popover corregido porque no era visible cuando InputNumber no enfocaba, #12284 |
| | | - Añadido el atributo `popper-append-to-body` para Autocompletar, #12241 |
| | | - Añadido el modificador `sync` para el atributo `page-size` de Pagination, #12281 |
| | | |
| | | ### 2.4.5 |
| | | |
| | | *2018-07-26* |
| | | |
| | | - Se ha corregido en Table que `class-name` no funcionaba para las columnas `expand`, #12006 |
| | | - Se ha añadido el método `toggleAllSelection` para Table, #12047 |
| | | - Corregida la posición incorrecta del `suffix slot` cuando Input contiene Select, #12108 |
| | | - Corregido que el `line-height` de Option no se establecia, #12120 |
| | | - Corregido que TimeSelect con valor por defecto `null` no podia ser asignado después de ejecutar `resetField`, #12010 |
| | | - Arreglado el evento `keydown` que cuando no era una tecla de flecha no funciona en Tree, #12008 |
| | | - Corregido nodo padre checked en modo lazy, #12106 |
| | | - Añadido el parámetro `includeHalfChecked` para getCheckedNodes de Tree, #12014 |
| | | |
| | | ### 2.4.4 |
| | | |
| | | *2018-07-13* |
| | | |
| | | - Corregido que se disparaba la validacion del Select después de reajustar el formulario, #11837 |
| | | - Corregida la posición incorrecta del slot Input `suffix` cuando se usaba el slot `suffix` con el slot `append` , #11951 |
| | | - Corregido el clearable Input que muestraba el icono de borrado cuando era readonly, #11967 |
| | | - Arreglado el nodo Tree checked cuando estaba disabled, #11847 |
| | | - Corregido que `default-checked-keys` no funcionaba en Tree, #11971 |
| | | - Corregido que el `empty-text` no era visible cuando el nodo Tree se filtraba, #11971 |
| | | - Arreglada la posición de texto vacÃo sobredimensionado en Table, #11965 |
| | | - Corregido que la fila de la tabla no se modificado el resaltado cuando `current-row-key` era asignada a null, #11866 |
| | | - Arreglado que mostraba el filtro del dropdown cuando los filtros eran un array vacÃo, #11864 |
| | | - Corregido que el cambio de label de Radio no detenia propagacion de eventos, #11912 |
| | | |
| | | ### 2.4.3 |
| | | |
| | | *2018-07-03* |
| | | |
| | | - Corregido `allow-drop` que no funcionaba correctamente cuando los nodos de árbol tenian una altura personalizada, #11797 |
| | | - Ahora puede pasar un parámetro al método `clearValidate` de Form, especificando qué resultados de validación de `FormItems` necesita borrar, #11821 |
| | | - Añadido el atributo `distinguishCancelAndClose` para MessageBox, #11831 |
| | | |
| | | ### 2.4.2 |
| | | |
| | | *2018-06-26* |
| | | |
| | | - Ahora el `class-name` y el `label-class-name` de la tabla son reactivos, #11626 |
| | | - Arreglado que Table seguia resaltando la fila en la que se habÃa hecho clic cuando `highlight-current-row` era `false`, #11646 |
| | | - Corregido un error de estilo de ButtonGroup cuando sólo habia un botón `round` o `circle`, #11605 |
| | | - Arreglado estilo del tamaño de página del Select de Pagination, #11622 |
| | | - Corregido un error del método `open` de los Menús cuando se cambiaba dinámicamente `collapse`, #11646 |
| | | - Añadidos los parámetros `activeName` y `oldActiveName` al gancho before-leave de Tabs, #11713 |
| | | - Arreglado el focus en Cascader después de hacer clic fuera, #11588 |
| | | - Arreglado que Cascader no se cerraba cuando se hacia clic en la opción estando `change-on-select` como `true`, #11623 |
| | | - Ahora la actualización del valor de Select programáticamente activará la validación de formulario, #11672 |
| | | |
| | | ### 2.4.1 |
| | | |
| | | *2018-06-08* |
| | | |
| | | - Removida la declaración duplicada de type en Autocompletar, #11388 |
| | | - Corregido el estilo de flecha en el dropdown de Select en FireFox cuando se anidaba en el formulario, #11427 |
| | | - Corregido que el Ãcono `clear` de Select seguia apareciendo cuando el valor inicial era `null`, #11460 |
| | | - Arreglado que cuando el radio estaba `disabled` mostraba el box-shadow al hacer click, #11462 |
| | | - Añadido el atributo `iconClass` para MessageBox, #11499 |
| | | - Añadido el atributo `stretch` para Tabs, #11476 |
| | | - Arreglado el problema de orden de renderizado de TabPane cuando Tabs es `lazy`, #11461 |
| | | - Arreglado que Table no retenia la fila actual de resaltados cuando se expandia, #11464 |
| | | - Arreglado que focusing state cuando `before-leave` devolvia una promesa resuelta, #11386 |
| | | - Arreglado que Popover deshabilitado seguia creando poppers, #11426 |
| | | - Arreglado el bucle sin fin de Tree cuando se añadia un nuevo nodo en modo `lazy`, #11430 (por @wangjingf) |
| | | - Añadido el evento `closed` para Dialog, #11490 |
| | | |
| | | ### 2.4.0 Fullerene |
| | | |
| | | *2018-05-28* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | - Generalidades |
| | | - La herramienta de desarrollo y el empaquetador se cambiaron a webpack nativo, #11216 |
| | | - Ahora puede configurar globalmente el z-index inicial de los popups, #11257 |
| | | - Autocomplete |
| | | - Añadido el atributo `hide-loading`, #11260 |
| | | - Button |
| | | - Ahora se puede usar el atributo `size` en los botones circulares para controlar sus tamaños, #11275 |
| | | - InputNumber |
| | | - Añadido el atributo `precision`, #11281 |
| | | - Tabs |
| | | - Añadido el atributo `before-leave`, #11259 |
| | | - Añadido el atributo `lazy`, #11167ï¼by @Kingwlï¼ |
| | | - Table |
| | | - Añadido el método `sort` para ordenar manualmente la tabla, #11311 |
| | | |
| | | #### Corrección de errores |
| | | - Input |
| | | - Se ha corregido un problema que provocaba que se volviera a procesar al utilizar el IME chino para introducir texto rápidamente, #11235 (por @STLighter). |
| | | - Popover |
| | | - Corregido el error de la consola cuando el elemento disparador es Radio o Checkbox, #11265 |
| | | - Breadcrumb |
| | | - Arreglado el atributo `to` que no soportaba la actualización dinámica, #11286 |
| | | - Upload |
| | | - Corregido el error de la consola cuando se resolvia el Archivo en la Promesa devuelta del método `beforeUpload`, #11297 (por @qusiba) |
| | | - Tooltip |
| | | - Solucionado que la flecha no se posicionaba correctamente cuando el contenido estaba vacÃo, #11335 |
| | | - Autocompletar |
| | | - Corregido que las sugerencias de entrada eran incorrectas después de eliminar la palabra clave rápidamente, #11323 |
| | | - ColorPicker |
| | | - Corregido el evento `active-change` que se disparaba incorrectamente cuando el menú desplegable del picker estaba cerrado, #11304 |
| | | - Table |
| | | - Corregido el error de estilo del panel de filtro cuando se sobredimensionaba, #11314 |
| | | - Corregida que la fila seleccionada actualmente no se retenia cuando se ordenaba la tabla, #11348 |
| | | - CheckBox |
| | | - Arreglado que cuando el checkbox era único no soportaba validación, #11271 |
| | | - Radio |
| | | - Arreglado que el Radio desactivado seguia estando seleccionada cuando se pulsaba la tecla espaciadora, #11303 |
| | | - MessageBox |
| | | - Corregida la clase `el-popup-parent--hidden` que no se eliminaba al abrir MessageBox sucesivamente, #11371 |
| | | |
| | | ### 2.3.9 |
| | | |
| | | *2018-05-18* |
| | | |
| | | - Corregido que cuando los datos de origen no tenian el campo especificado por el atributo `prop` de una TableColumn, se producÃa un error al moverse el ratón dentro de las celdas de esa columna, #11137. |
| | | - El atributo `lockScroll` de los componentes pop-up ya no añade un inline style al elemento padre, sino que añade un nombre de clase, #1111114. |
| | | - Arreglado el icono de Progreso que no se mostraba cuando su `status` era `exception`, #11172 |
| | | - El atributo `disabled` no funcionaba en la lista de resultados del filtro de Cascader, #11185 |
| | | - Se ha corregido un problema por el que la fila expandida de la Tabla no se podÃa contraer si los datos de origen se actualizaban después de su expansión, #11186. |
| | | - `setCurrentKey` de Tree ahora acepta `null` como parámetro para cancelar el nodo actualmente resaltado, #11205 |
| | | |
| | | ### 2.3.8 |
| | | |
| | | *2018-05-11* |
| | | |
| | | - Corregido que el panel DatePicker saltaba al mes actual después de escoger una fecha en un mes diferente cuando el tipo era `dates`, #10973 |
| | | - Arreglado que el `clearable Input` seguÃa mostrando el icono de borrado cuando era sólo de lectura, #10912 |
| | | - Arreglado que al cerrar el panel DatePicker sin modificar el valor se desencadenaba incorrectamente el evento `change`, #11017 |
| | | - Arreglado que la navegación por el teclado no funcionaba correctamente cuando Select tenia opciones agrupadas, #11058 |
| | | - Agregado el `slot named` `prefix` para Select, #11063 |
| | | - Agregado el metodo `clearValidate` para FormItem, #11076 |
| | | - Agregado el atributo `checkOnClickNode` para Tree, #11111 |
| | | |
| | | ### 2.3.7 |
| | | |
| | | *2018-04-29* |
| | | |
| | | - Corregido que Table no actualizaba el ancho de encabezado cuando la barra de desplazamiento desaparecia debido al filtrado, #10834 |
| | | - Corregido input borrable que mostraba el icono de borrado cuando su valor inicial era `nulo`, #10912 |
| | | - Corregido el disparador incorrecto del evento `active-change` después de cambiar el valor enlazado de ColorPicker programáticamente, #10903 (por @zhangbobell) |
| | | - Corregido filterable Select que causaba un bucle infinito al navegar por las opciones usando el teclado si todas las opciones estában deshabilitadas, #10945 |
| | | |
| | | ### 2.3.6 |
| | | |
| | | *2018-04-21* |
| | | |
| | | - Corregido el comportamiento incorrecto del callback `allow-drop` de Tree cuando se usaba el parámetro `type`, #10821 |
| | | - Ahora puede introducir correctamente las palabras clave en filterable Single Select en IE11, #10822 |
| | | - Corregido Single Select activaba incorrectamente el evento `blur` después de hacer clic en una opción, #10822 |
| | | |
| | | ### 2.3.5 |
| | | |
| | | *2018-04-20* |
| | | |
| | | - Arreglado los incorrectos realces en el panel de DatePicker cuando `type` es week, #10712 |
| | | - Arreglado que InputNumber comenzaba vacio cuando el valor inicial era 0, #10714 |
| | | - Agregado el atributo `automatic-dropdown` para Select, #10042 (by @Seebiscuit) |
| | | - Arreglado que el valor del Rate pasaba a `disabled` cuando se comenzaba a actualizar con las teclas de navegacion, #10726 (by @Richard-Choooou) |
| | | - Ahora el atributo `type` de DatePicker's puede ser `'dates'`, donde puede elegir varias fechas en un solo picker, #10650 (by @Mini256) |
| | | - Agregados los eventos `prev-click` y `next-click` para Pagination, #10755 |
| | | - Agregado el atributo `pager-count` para Pagination, #10493 (by @chongjohn716) |
| | | - Agregado `type` como 3rd parametro del atributo `allow-drop` de Tree, #10792 |
| | | - Ahora usamos ResizeObserver para detectar el redimensionamiento de elementos DOM, #10779 |
| | | |
| | | ### 2.3.4 |
| | | |
| | | *2018-04-12* |
| | | |
| | | - Eliminado el atributo duplicado `showTimeout` en SubMenu's en la declaracion TypeScript, #10566 (by @kimond) |
| | | - Ahora se puede personalizar los datos de los items de Transfer usando scoped slot, #10577 |
| | | - Arreglado que los click de los botones `next` y `prev` en Pagination se deshabilitaban cuando se disparaba el evento `current-change`, #10628 |
| | | - Arreglado que Textarea mostraba `undefined` en SSR cuando el valor no era asignado, #10630 |
| | | - Arreglado que se deshabilitaba el estilo del TabItem cuando `type` era border-card, #10640 |
| | | - Agregado `$index` como cuarto parametro en el atributo de las columnas de Table `formatter` , #10645 |
| | | - Arreglado que CheckboxButton no se exportaba en la declaracion de TypeScript, #10666 |
| | | |
| | | ### 2.3.3 |
| | | |
| | | *2018-04-04* |
| | | |
| | | - Agregar atributo `shadow` para Card, #10418 (by @YunYouJun) |
| | | - Se ha corregido el error de ocultar Badge cuando `value` es `0`, #10470 |
| | | - Arreglados algunos bugs del draggable Tree, #10474 #10494 |
| | | - Agregado `placement` para Autocomplete, #10475 |
| | | - Ahora el atributo `default-time` también funciona en un rango que no es el rango DateTimePicker, #10321 (by @RickMacTurk) |
| | | - Eliminado el contorno azul de TabItem después de que el navegador se desdibuja o se minimiza, #10503 |
| | | - Agregado el atributo `popper-append-to-body` para SubMenu, #10515 |
| | | - Eliminado el feedback visual cuando se desplaza sobre non-link BreadcrumbItem, #10551 |
| | | - Se ha corregido el evento `change` de InputNumber para garantizar que el valor de ligado del componente se actualiza en el control de eventos, #10553 |
| | | |
| | | ### 2.3.2 |
| | | |
| | | *2018-03-29* |
| | | |
| | | - Arreglada una regresión de Autocompletar, #10442 |
| | | |
| | | ### 2.3.1 |
| | | |
| | | *2018-03-29* |
| | | |
| | | - Se ha corregido una regresión por la que el `type` de input no se transmitia al elemento de entrada nativo, #10415 |
| | | - Agregado el metodo `blur` para Select, #10416 |
| | | |
| | | ### 2.3.0 Diamond |
| | | |
| | | *2018-03-28* |
| | | |
| | | #### Nuevas caracterÃsticas |
| | | - Table |
| | | - Ahora `formatter` de TableColumn puede ser actualizado dinámicamente, #10184 (by @elfman) |
| | | - Agregado el atributo `select-on-indeterminate`, #9924 (by @syn-zeta) |
| | | - Menu |
| | | - Agregado el atributo `collapse-transition`, #8809 (by @limichange) |
| | | - Input |
| | | - Agregado el metodo `select` , #10229 |
| | | - Agregado el metodo `blur`, #10356 |
| | | - ColorPicker |
| | | - Agregado el atributo `predefine`, #10170 (by @elfman) |
| | | - Tree |
| | | - Agregados los atributos `draggable`, `allow-drop` y `allow-drag`, y los eventos `node-drag-start`, `node-drag-enter`, `node-drag-leave`, `node-drag-over`, `node-drag-end` y `node-drop`, #9251 #10372 (by @elfman) |
| | | - Form |
| | | - El metodo `validate` ahora acepta un segundo parametro, que contiene información de los Ãtems del formulario que no superaron la validación, #10279 |
| | | - Agregado el evento `validate`, #10351 |
| | | - Progress |
| | | - Agregado el atributo `color`, #10352 (by @YunYouJun) |
| | | - Button |
| | | - Agregado el atributo `circle`, #10359 (by @YunYouJun) |
| | | |
| | | #### Bug's arreglados |
| | | - Form |
| | | - Solucionado: Label del FormItem no se alineaba adecuadamente con Input mixto, #10189 |
| | | - Menu |
| | | - Ahora collapsed Menu sólo mostrará el Tooltip cuando el slot `title` de MenuItem esté configurado, #10193 (by @PanJiaChen) |
| | | - Pagination |
| | | - Corregido el evento `current-change` que se disparaba erróneamente sin interacción del usuario, #10247 |
| | | - DatePicker |
| | | - Ahora la fecha y la hora en el panel desplegable están correctamente formateadas según el atributo `format`, #10174ï¼by @remizovvvï¼ |
| | | - Upload |
| | | - Solucionado el atributo `accept` no trabajaba cuando `drag` era true, #10278 |
| | | |
| | | ### 2.2.2 |
| | | |
| | | *2018-03-14* |
| | | |
| | | - Agregado el evento `clear` para Input, #9988 (by @blackmiaool) |
| | | - Ahora la entrada manual de ColorPicker soporta los modos `hsl`, `hsv` y `rgb`, #9991 |
| | | - Arreglado DatePicker no desencadenaba el evento `change` cuando se borraba su valor inicial, #9986 |
| | | - Ahora la clase de iconos relacionadas con los atributos de Rate soporta actualizaciones dinamicas, #10003 |
| | | - Arreglado Table que con columnas `fixed` no actualizaban correctamente su altura si se fijaba `max-height`, #10034 |
| | | - Ahora DatePicker en modo rango admite la selección inversa (haciendo clic en la fecha final y, a continuación, haciendo clic en la fecha de inicio), #8156 (by @earlymeme) |
| | | - Agregado el atributo `disabled` para Pagination, #10006 |
| | | - Agregados los eventos `after-enter` y ` after-leave` para Popover, #10047 |
| | | - Arreglado Select no disparaba validación cuando el usuario seleccionaba una opción después de ejecutar `resetFields` de Form, #10105 |
| | | - Arreglado anchos incorrectos de columnas fijas de Table en algunos casos, #10130 |
| | | - Corregido MessageBox heredaba el atributo `title` de su instancia anterior cuando se llamaba sin `title`, #10126 (by @Pochodaydayup) |
| | | - Agregado el atributo `input-size` para Slider, #10154 |
| | | - Agregados los eventos `left-check-change` y `right-check-change` para Transfer, #10156 |
| | | |
| | | ### 2.2.1 |
| | | |
| | | *2018-03-02* |
| | | |
| | | - Corregido Aside, Header y Footer que se contraia en algunos layout, #9812 |
| | | - Corregido Table con un atributo `height` no renderizaba en SSR, #9876 |
| | | - Corregido Table con fila expandible no calculaba la altura cuando la fila era expandida, #9484 |
| | | - Corregido que cuando se escribia la fecha de forma manual en DateTimePicker no se disparaba el evento `change`, #9913 |
| | | - Corregido que Select mostraba sus opciones cuando se hacia click con el botón derecho del mouse en el Input, #9894 (by @openks) |
| | | - Agregado el atributo `tooltip-class` para Slider, #9957 |
| | | - Ahora Select permanecera enfocado despues de la selección, #9857 (by @Seebiscuit) |
| | | - Agregado el atributo `target-order` para Transfer, #9960 |
| | | |
| | | ### 2.2.0 Graphite |
| | | |
| | | *2018-02-12* |
| | | |
| | | #### New features |
| | | - Menu |
| | | - Agregados los atributos `popper-class` y `disabled` para SubMenu, #9604 #9771 |
| | | - Menu Horizontal ahora soporta SubMenu multi-capas, #9741 |
| | | - Tree |
| | | - Agregado el evento `node-contextmenu`, #9678 |
| | | - Ahora se puede personalizar el template del nodo usando scoped slot, #9686 |
| | | - Agregados los metodos `getNode`, `remove`, `append`, `insertBefore`, `insertAfter`, `getCheckedKeys`, `getHalfCheckedNodes`, `getHalfCheckedKeys` y el evento `check`, #9718 #9730 |
| | | - Transfer |
| | | - Agregado el metodo `clearQuery`, #9753 |
| | | - Select |
| | | - Agregado el atributo `popper-append-to-body`, #9782 |
| | | |
| | | #### Bug fixes |
| | | - Table |
| | | - Corregido el icono de expansión de una fila expandible que al hacer click activaba el evento `row-click`, #9654 |
| | | - Corregido el layout que no se actualizaba cuando el ancho de columna era cambiado por el usuario arrastrando, #9668 |
| | | - Corregido problema de estilo cuando la fila de resumen coexistia con columnas fijas, #9667 |
| | | - Container |
| | | |
| | | - Corregido componentes del Container que no se estiraban en IE11, #9655 |
| | | - Loading |
| | | |
| | | - Corregido Loading no se mostraba cuando el valor de `v-loading` era cambiado a true en el `hook` `mounted`, #9722 |
| | | - Switch |
| | | - Corregido se disparaban los dos eventos nativos de click cuando se hacia click en el Switch, #9760 |
| | | |
| | | |
| | | |
| | | ### 2.1.0 Charcoal |
| | | |
| | | *2018-01-31* |
| | | |
| | | #### New features |
| | | - Cascader |
| | | - Agregados los eventos `focus` y `blur`, #9184 (by @viewweiwu) |
| | | - Table |
| | | - El `filter-method` ahora tiene un tercer parámetro `column`, #9196 (by @liyanlong) |
| | | - DatePicker |
| | | - Agregados los atributos `prefix-icon` y `clear-icon`, #9237 (by @AdamSGit) |
| | | - Agregado el atributo `default-time`, #9094 (by @nighca) |
| | | - `value-format` ahora soporta `timestamp`, #9319 (by @wacky6) |
| | | - InputNumber |
| | | - Ahora el valor vinculado puede ser `undefined`, #9361 |
| | | - Select |
| | | - Agregado el atributo `auto-complete`, #9388 |
| | | - Form |
| | | - Agregado el atributo `disabled`, #9529 |
| | | - Agregado el atributo `validateOnRuleChange`, #8141 |
| | | - Notification |
| | | - Agregado el metodo `closeAll`, #9514 |
| | | |
| | | #### Bug fixes |
| | | - InputNumber |
| | | - Arreglado el reseteo del valor cuando tiene punto decimal, #9116 |
| | | - Dropdown |
| | | - Arreglado el dropdown menu que tenia un posicionamiento incorrecto cuando la página sólo tiene una barra de desplazamiento horizontal en algunos navegadores, #9138 (by @banzhuanmei) |
| | | - Table |
| | | - Corregido un error en el cálculo del número de columnas fijas después de que los datos de la columna cambian, #9188ï¼by @kolesoffacï¼ |
| | | - Corregido el borde de la última columna de la cabecera agrupada que no se visualizaba correctamente., #9326 |
| | | - Corregido el posicionamiento incorrecto del header de la tabla en Safari, #9327 |
| | | - Corregido fila expandida colapsaba cuando cambiaban los datos de la tabla, #9462 |
| | | - Corregido renders múltiples innecesarios en algunas condiciones, #9426 |
| | | - Corregido un error de calculo en el ancho de la columna cuando `width` cambiaba en TableColumn, #9426 |
| | | - Loading |
| | | - Corregido que en algunas ocasiones el loading no se ocultaba correctamente, #9313 |
| | | - DatePicker |
| | | - Corregido el metodo `focus` que no funcionaba en modo `range`, #9437 |
| | | - Corregido si se hacia clic en el botón "now" seguia seleccionando la fecha actual aunque estuviera desactivado, #9470 (by @wacky6) |
| | | - Corregido fijación de fechas al navegar, #9577 (by @wacky6) |
| | | - Steps |
| | | - Corregido error de estilos en IE 11, #9454 |
| | | |
| | | #### Breaking changes |
| | | - Menu |
| | | - El menú desplegable en modo `collapse` ahora se agrega directamente al `body`, de modo que es visible cuando está anidado en Aside, #9263 |
| | | - Table |
| | | - Ahora, al marcar los checkboxes en la Tabla de selección múltiple no se activa el evento `row-click`, #9467 |
| | | - Loading |
| | | - El `z-index` de la máscara de carga non-fullscreen se cambia a 2000. El `z-index` de la máscara de carga fullscreen se actualiza dinámicamente con los componentes emergentes, #9522 |
| | | - Dropdown |
| | | - Los atributos `show-timeout` y `hide-timeout` ahora solo trabajan si se dispara `hover`, #9573 |
| | | |
| | | ### 2.0.11 |
| | | |
| | | *2018-01-08* |
| | | |
| | | - Corregido el problema de color del borde del Select cuando está el slot `prepend` o `append` del Input, #9089 |
| | | - Corregido el parámetro `remove-tag` de Select, #9090 |
| | | - Añadido los atributos `show-timeout` y `hide-timeout` para SubMenu, #8934 (por @HugoLew) |
| | | - Corregido el estilo de Tooltip de `show-overflow-tooltip` que faltaba cuando Table era importada bajo demanda, #9130 |
| | | - Se ha corregido el mal funcionamiento de ordenación de la columna de Table despues que `clearSort` era ejecutado en esa columna, #9100 (por @zEmily) |
| | | - El fichero de configuración i18n para el checo se renombra de `cz` a `cs-CZ`, #9164 |
| | | |
| | | ### 2.0.10 |
| | | |
| | | *2017-12-29* |
| | | |
| | | - Corregido el calculo incorrecto de la altura máxima de Table cuando fixed column y summary row coexisten, #9026 |
| | | - Solucionado el estilo de color que no lo compilaba para textos vacÃos en Table, #9028 |
| | | - Ahora DatePicker sólo emite el evento `change` cuando el valor cambia verdaderamente, #9029 (by @remizovvv) |
| | | - Añadido atributo `tabindex` para Input, #9041 (by @dicklwm) |
| | | |
| | | ### 2.0.9ð |
| | | |
| | | *2017-12-24* |
| | | |
| | | - Añadida la función de enganche (hook) `before-remove` para Upload, #8788 (by @firesh) |
| | | - Arreglado el valor inicial de error que no funcionaba para FormItem, #8840 |
| | | - Ahora la directiva Loading soporta nombre de clase personalizado asignando el atributo `element-loading-custom-class`, #8826 (por @earlymeme) |
| | | - Arreglado CarouselItem que se ponÃa invisible cuando los datos eran actualizados asincrónicamente, #8921 |
| | | - Añadido el atributo `renderAfterExpand` para Tree, #8972 |
| | | |
| | | ### 2.0.8 |
| | | |
| | | *2017-12-12* |
| | | |
| | | - Agregada la documentacion en español |
| | | - Arreglado `show-timeout` de Dropdown que no funcionaba cuando se disparaba el click, #8734 (por @presidenten) |
| | | - Arreglado el tiempo de validacion del Form cuando se disparaba el blur, #8776 |
| | | - Arreglado el evento de perdida de foco (blur) del DatePicker por rangos, #8784 |
| | | - `format` de TimePicker ahora soporta AM/PM, #8620 (por @firesh) |
| | | |
| | | ### 2.0.7 |
| | | |
| | | *2017-11-29* |
| | | |
| | | - Solucionado el estilo disabled en el texto de button, #8570 |
| | | |
| | | ### 2.0.6 |
| | | |
| | | *2017-11-29* |
| | | |
| | | - Corregido error de estilo de los iconos de ordenación de Table, #8405 |
| | | - Corregido activacion para Popover cuando `trigger` es manual, #8467 |
| | | - Añadidos los atributos `prefix-icon` y `suffix-icon` para Autocomplete, #8446 (por @liyanlong) |
| | | - Añadido el atributo `separator` para Cascader, #8501 |
| | | - Añadido atributo `clearable` para Input, #8509 (por @lbogdan) |
| | | - Añadido atributo `background` para Pagination, #8553 |
| | | |
| | | ### 2.0.5 |
| | | |
| | | *2017-11-17* |
| | | |
| | | - Solucionado regresion en 2.0.4 de Popover, Tree, Breadcrumb and Cascader, #8188 #8217 #8283 |
| | | - Solucionado Fuga de memoria de la directiva clickoutside, #8168 #8225 (por @badpunman @STLighter) |
| | | - Solucionada la altura en multiple Select cuando se borra su valor, #8317 (por @luciy) |
| | | - Añadido el atributo `collapse-tags` para multiple Select para reemplazar las tags con una lÃnea de texto, #8190 |
| | | - Solucionado el alto consumo de CPU causado por Table cuando esta oculta, #8351 |
| | | - Ahora puede usar el método `doLayout` de Table para actualizar su diseño, #8351 |
| | | |
| | | ### 2.0.4 |
| | | |
| | | *2017-11-10* |
| | | |
| | | - Accesibilidad mejorada para Cascader, Dropdown, Message, Notification, Popover, Tooltip y Tree |
| | | - Arreglado el cambio de tamaño del Container cuando el ancho de la vista disminuye, #8042 |
| | | - Arreglado Tree's `updateKeyChildren` borraba incorrectamente los nodos hijos, #8100 |
| | | - Arreglado la altura de los bordes de CheckboxBotón's cuando esta anidado en un Form, #8100 |
| | | - Arreglado error de análisis de los Menu's para los colores personalizados, #8153 (por @zhouyixiang) |
| | | |
| | | ### 2.0.3 |
| | | |
| | | *2017-11-03* |
| | | |
| | | - Solucionado atributos `editable` and `readonly` de DatePicker de los rangos, #7922 |
| | | - Corregido error de estilo de los Tabs anidados, #7941 |
| | | - Corregido error de estilo del último Step de Steps verticales, #7980 |
| | | - Corregido el tiempo de activación del evento `current-change` para Pagination, #7995 |
| | | - Corregido Tooltip no registrado en el Menu, #7995 |
| | | |
| | | ### 2.0.2 |
| | | |
| | | *2017-10-31* |
| | | |
| | | - Ahora haciendo clic con el botón derecho del ratón en los botones de InputNumber no cambiará su valor, #7817 |
| | | - El metodo `validate` de Form ahora puede esperar por validaciones asÃncronas antes de ejecutar su devolución de llamada, #7774 (por @Allenice) |
| | | - Corregido la selección de rango de DatePicker no funcionaba en los navegadores Chromium 53-57, #7838 |
| | | - Corregido la perdida de previsualización e iconos de eliminar de Upload cuando su `list-type` es picture-card, #7857 |
| | | - Añadido el atributo `sort-by` para TableColumn, #7828 (por @wangfengming) |
| | | - Corregido que a veces DatePicker muestra un número de año incorrecto al seleccionar la primera semana en modo week, #7860 (por @hh23485) |
| | | - Corregido error de estilo de icono de Step vertical, #7891 |
| | | - El área hot para las flechas de nodo en Tree se expandia, #7891 |
| | | |
| | | ### 2.0.1 |
| | | |
| | | *2017-10-28* |
| | | |
| | | - Corregido error de estilo de RadioButton y CheckboxButton, #7793 |
| | | - Corregido TimePicker no responde al desplazamiento del ratón en algunas condiciones, #7811 |
| | | - Corregido estilos incompletos de algunos componentes cuando se importan bajo demanda, #7811 |
| | | |
| | | ### 2.0.0 Carbon |
| | | |
| | | *2017-10-27* |
| | | |
| | | #### New features |
| | | |
| | | - General |
| | | - Un nuevo tema: `theme-chalk` |
| | | - Se ha mejorado la accesibilidad de los siguientes componentes: Alert, AutoComplete, Breadcrumb, Button, Checkbox, Collapse, Input, InputNumber, Menu, Progress, Radio, Rate, Slider, Switch, Upload |
| | | - Añadido tipografÃas TypeScript |
| | | - Todos los iconos existentes son rediseñados. Se han añadido algunos iconos nuevos |
| | | - Añadida una serie de clases de utilidades basadas en puntos de ruptura que ocultan elementos cuando el tamaño del viewport cumple ciertas condiciones |
| | | - Componentes de diseño añadidos: Container, Header, Aside, Main, Footer. |
| | | - Ahora puede configurar los tamaños de componentes a nivel global. Al importar Element, puede añadir un objeto de configuración global con un prop `size` para configurar tamaños predeterminados para todos los componentes. |
| | | - Button |
| | | - Atributo `round` añadido. Se usa para botones de esquinas redondas #6643 |
| | | - TimeSelect |
| | | - Ahora puede ser navegado por `Up` y `Down`, y presionando `Enter` selecciona la hora #6023 |
| | | - TimePicker |
| | | - Ahora puede ser navegado por `Up` y `Down`, y presionando `Enter` selecciona la hora #6050 |
| | | - Añadido `start-placeholder` y `end-placeholder`. Son placeholder's para las dos casillas de input en modo range #7169 |
| | | - Añadido el atributo `arrow-control` para hacer girar el tiempo con las flechas #7438 |
| | | - Tree |
| | | - Ahora los nodos hijo no se renderizan antes de la primera expansión #6257 |
| | | - Añadido el atributo `check-descendants`. Determina si los nodos hijo se seleccionan al seleccionar su nodo padre en modo `lazy` #6235 |
| | | - Tag |
| | | - Atributo `size` añadido #7203 |
| | | - Datepicker |
| | | - Ahora `timeFormat` puede dar formato al TimePicker cuando type está configurado en `datetimerange` #6052 |
| | | - Añadido `start-placeholder` y `end-placeholder`. Son placeholder's para las dos casillas de input en modo range #7169 |
| | | - Atributo `value-format` añadido para personalizar el formato del valor enlazado, #7367 |
| | | - Añadido el atributo `unlink-panels` para desacoplar los dos paneles de fechas al seleccionar un rango. |
| | | - MessageBox |
| | | - Añadido el atributo `closeOnHashChange` #6043 |
| | | - Atributo `center` agregado para que el contenido pueda ser centrado #7029 |
| | | - Añadido atributo `roundButton` para mostrar Botones redondeados #7029 |
| | | - Añadido atributo `dangerouslyUseHTMLString`. Cuando está configurado en true, el mensaje será analizado como cadena HTML<sup>*</sup> #6043 |
| | | - Añadido atributo `inputType` para asignar el tipo para el input interno, #7651 |
| | | - Dialog |
| | | - Añadidos los atributos `width`, `fullscreen`, `append-to-body`. Ahora Dialog puede ser anidado |
| | | - Atributo `center` agregado para que el contenido pueda ser centrado #7042 |
| | | - Añadidos `focus-after-closed`, `focus-after-open` para mejorar la accesibilidad #6511 |
| | | - ColorPicker |
| | | - Ahora puede escribir colores en el input #6167 |
| | | - Añadidos atributos `size` y `disabled` #7026 |
| | | - Añadido atributo `popper-class` #7351 |
| | | - Message |
| | | - Ahora el color de los iconos puede ser sustituido por CSS #6207 |
| | | - Añadido atributo `dangerouslyUseHTMLString`. Cuando está configurado en true, el mensaje será analizado como cadena HTML<sup>*</sup> #6207 |
| | | - Atributo `center` agregado para que el contenido pueda ser centrado #6875 |
| | | - Notification |
| | | - Añadido atributo `position` para configurar donde aparece Notification #6231 |
| | | - Añadido atributo `dangerouslyUseHTMLString` . Cuando está configurado en true, el mensaje será analizado como cadena HTML<sup>*</sup> #6231 |
| | | - Añadido el atributo `showClose` para ocultar el botón de cierre #6402 |
| | | - Rate |
| | | - Añadido el atributo `show-score` para determinar si la puntuación actual se muestra #6295 |
| | | - Tabs |
| | | - Añadido el atributo `tab-position` #6096 |
| | | - Radio |
| | | - Añadidos los atributos `border` y `size` #6690 |
| | | - Checkbox |
| | | - Añadidos los atributos `border` y `size` #6690 |
| | | - Alert |
| | | - Atributo `center` agregado para que el contenido pueda ser centrado #6876 |
| | | - Menu |
| | | - Añadidos los atributos `background-color`, `text-color` y `active-text-color` #7064 |
| | | - Añadidos los methods `open` and `close` para abrir y cerrar los SubMenu con programación, #7412 |
| | | - Form |
| | | - Añadido el atributo `inline-message` para determinar si el mensaje de validación se muestra inline #7032 |
| | | - Añadido el atributo `status-icon` para mostrar un icono de retroalimentación cuando se valida #7032 |
| | | - Form y FormItem ahora tienen un atributo `size`. Los componentes internos heredarán este tamaño si no se especifica en ellos mismos, #7428 |
| | | - Método `validate` devolverá ahora una promesa si se omite la llamada de retorno, #7405 |
| | | - Añadido método `clearValidate` para limpiar los resultados de las validaciones de todos los form items, #7623 |
| | | - Input |
| | | - Añadido slots con nombres `suffix` y `prefix` y atributos `suffixIcon` y `prefixIcon` para añadir contenido dentro del input #7032 |
| | | - Breadcrumb |
| | | - Añadido el atributo `separator-class` para dar soporte a los iconos como separadores de items #7203 |
| | | - Steps |
| | | - Añadido atributo `simple` para activar Steps de estilo sencillo #7274 |
| | | - Pagination |
| | | - Añadidos los atributos `prev-text` y `next-text` para personalizar los textos de la página anterior y de la página siguiente #7005 |
| | | - Loading |
| | | - Ahora usted puede personalizar el Ãcono del spinner y el color de fondo con los props `spinner` y `background` , #7390 |
| | | - Autocomplete |
| | | - Añadido atributo `debounce`, #7413 |
| | | - Upload |
| | | - Añadidos los atributos `limit` and `on-exceed` para limitar la cantidad de archivos, #7405 |
| | | - DateTimePicker |
| | | - Añadido el atributo `time-arrow-control` para activar `arrow-control` del TimePicker anidado, #7438 |
| | | - Layout |
| | | - Añadido un nuevo breakpoint `xl` para viewport más ancho que 1920px |
| | | - Table |
| | | - Añadido el atributo `span-method` para combinar celdas |
| | | - Añadido el método `clearSort` para borrar la clasificación programáticamente |
| | | - Añadido el método `clearFilter` para limpiar el filtro de forma programática |
| | | - Para las filas ampliables, cuando se amplÃa una fila, se añadirá una clase `.expanded` a su lista de clases, para que pueda personalizar su estilo. |
| | | - Atributo de `size` añadido |
| | | - Añadido el método `toggleRowExpansion` para expandir o contraer filas expandibles programáticamente. |
| | | - Añadido el atributo `cell-class-name` para asignar el nombre de la clase para las celdas |
| | | - Añadido atributo `cell-style` para dar estilo a las celdas |
| | | - Añadido atributo `header-row-class-name` para asignar el nombre de clase para las filas de encabezado. |
| | | - Añadido un atributo `header-row-style` para el estilo de encabezado |
| | | - Añadido el atributo `header-cell-class-name` para asignar el nombre de la clase para las celdas de encabezado. |
| | | - Añadido el atributo `header-cell-style` a las celdas de encabezado de estilo |
| | | - El atributo prop de TableColumn ahora acepta las notaciones `object[key]` |
| | | - Atributo de `index` añadido para TableColumn para personalizar Ãndices de filas |
| | | - Select |
| | | - Añadido el atributo `reserve-keyword` para reservar la palabra clave de búsqueda actual después de seleccionar una opción. |
| | | |
| | | #### Bug fixes |
| | | |
| | | - DatePicker |
| | | - Arreglado `v-model` que devolvia el segundo dÃa de la semana seleccionada en modo week #6038 |
| | | - Arreglado el primer input comenzaba borrado con el type `daterange` #6021 |
| | | - DateTimePicker |
| | | - Arreglado DateTimePicker y TimePicker que se afectaban entre sà cuando se seleccionaban #6090 |
| | | - Arreglado la hora y el segundo podian estar más allá del lÃmite al seleccionar el tiempo #6076 |
| | | - TimePicker |
| | | - Arreglado `v-model` que no se actualizaba correctamente cuando no tenia el foco #6023 |
| | | - Dialog |
| | | - Arreglado textos que tenian bordes borrosos al abrir y cerrar dropdowns anidados #6088 |
| | | - Select |
| | | - Rendimiento mejorado. Ahora Vue dev-tool no se bloqueará cuando un gran número de Selects sean destruidos #6151 |
| | | - Table |
| | | - Corregido un bug de Table permanecÃa oculto cuando su elemento padre tenia el atributo `display: none` |
| | | - Arreglado Table ahora amplia su ancho cuando el elemento padre tiene `display: flex` |
| | | - Arreglado un bug que corregÃa las columnas de una tabla con slot con nombre `append` que desaparecia cuando los datos eran recuperados dinámicamente. |
| | | - Arreglado el atributo `expand-row-keys` que no funcionan con el valor inicial |
| | | - Fallo del filtro corregido al actualizar los datos |
| | | - Se ha corregido un error de cálculo de la disposición de columnas fijas con cabeceras agrupadas. |
| | | - Corregido un error de `max-height` dinámico |
| | | - Corregidos algunos errores de cálculo de estilo |
| | | |
| | | #### Breaking changes |
| | | |
| | | - General |
| | | - Eliminado `theme-default` |
| | | - Compatible con Vue 2.5.2+ e IE 10+ |
| | | - Evento `change` de componentes del formulario y evento `current-change` de Pagination ahora sólo se activa en la interacción del usuario. |
| | | - El atributo `size` del botón y los componentes del formulario aceptan ahora los tamaños `medium`, `small` y `mini`. |
| | | - Para facilitar el uso de iconos de terceros, los atributos `icon` de Button y Steps y los atributos `prefix-icon` y `suffix-icon` del input ahora requieren un nombre de clase completo. |
| | | - Dialog |
| | | - Atributo `size` eliminado. Ahora el tamaño de Dialog se puede configurar con `width` y `fullscreen` |
| | | - Ahora la visibilidad del Diálogo no puede ser controlada por `v-model` |
| | | - Rate |
| | | - `text-template` a sido renombrado a `score-template` |
| | | - Dropdown |
| | | - `menu-align` a sido renombrado a `placement`. Ahora soporta más posiciones |
| | | - Transfer |
| | | - `footer-format` a sido renombrado a `format` |
| | | - Switch |
| | | - Los atributos que comienzan con `on*` serán analizados en eventos en JSX, haciendo que todos los atributos `on*` de Switch no puedan trabajar en JSX. Por lo tanto, los atributos `on*` se renombran a `active-*`, y por consiguiente los atributos `off-*` se renombran a `inactivado-*`. Este cambio afecta a los siguientes atributos: `on-icon-class`, `off-icon-class`, `on-text`, `off-text`, `on-color`, `off-color`, `on-value`, `off-value`. |
| | | - Los atributos `active-text` y `inactive-text` ahora no tienen valores por defecto. |
| | | - Tag |
| | | - El atributo type acepta ahora `success`, `info`, `warning` y `danger` |
| | | - Menu |
| | | - Atributo `theme` eliminado. El color de Menu se puede configurar utilizando `background-color`, `text-color` y `active-text-color` |
| | | - Input |
| | | - Atributo `icon` eliminado. Ahora el icono del sufijo puede configurarse usando el atributo `suffix-icon` o el slot con nombre `suffix`. |
| | | - Eliminado el atributo `on-icon-click` y el evento `click`. Ahora para añadir el manejador de clics en los iconos, por favor use los slots con nombre. |
| | | - El evento `change` se comporta ahora como el nativo, que se activa sólo en la perdida del foco o presionando enter. Si necesita responder a las entradas de usuario en tiempo real, puede utilizar el evento `input`. |
| | | - Autocomplete |
| | | - Atributo `custom-item` eliminado. Ahora la plantilla de sugerencias del input se puede personalizar utilizando `scoped slot` |
| | | - Atributo `props` eliminado. Ahora puede utilizar el atributo `value-key` para designar el nombre de la clave del objeto de sugerencia del input para su visualización. |
| | | - Steps |
| | | - Atributo `center` eliminado |
| | | - Ahora Steps llenara su contenedor padre por defecto |
| | | - DatePicker |
| | | - Los parámetros del evento `change` de DatePicker son ahora el valor vinculante en sà mismo. Su formato es controlado por `value-format` |
| | | - Table |
| | | - Soporte eliminado para personalizar la plantilla de columnas mediante `inline-template` |
| | | - `sort-method` ahora se alinea con `Array.sort`. DeberÃa devolver un número en lugar de un booleano |
| | | - El slot `append` se desplazo fuera del elemento `tbody` para evitar múltiples renderizados. |
| | | - Evento `expand` se renombro a `expand-change` |
| | | - Los parametros de los métodos `row-class-name` y `row-style` son ahora un objeto |
| | | |
| | | # # |
| | | |
| | | <i><sup>*</sup> El procesamiento dinámico de HTML arbitrario en su sitio web puede ser muy peligroso porque puede conducir fácilmente a [ataques XSS](https://en.wikipedia.org/wiki/Cross-site_scripting). Por lo tanto, cuando `dangerouslyUseHTMLString` está encendido, por favor asegúrese de que el contenido de `message` es confiable, y **nunca** asigne el `message` al contenido proporcionado por el usuario.</i>`` |
¤ñ¹ï·sÀÉ®× |
| | |
| | | ## Changelog |
| | | |
| | | ### 2.15.13 |
| | | |
| | | *2023-02-12* |
| | | |
| | | #### Bug fixes |
| | | - Docs |
| | | - Fix Statistic docs (#22383 by @JUST-Limbo) |
| | | - Fix Input docs (#22093 by @lm312) |
| | | - Fix en-US docs (#22268 #22269 #22270 by @Hazel-Lin) |
| | | - Fix Pagination docs (#22288 by @xujintai123) |
| | | - Fix: Links docs (#22370 by @itmier) |
| | | - Statistics |
| | | - fix slot display bug (#22375 by @webvs2) |
| | | - Chore |
| | | - missing web-type after publishing (#22271 by @loosheng) |
| | | #### Optimization |
| | | - InputNumber |
| | | - Fix touch one click trigger twice on the window touch pad (#22185 by @mrsai) |
| | | - Image |
| | | - Add initialIndex prop (#22346 by @inkroom) |
| | | - Statistics |
| | | - Updated countdown feature to localize lodash Closes (#22260 by @webvs2) |
| | | - Update code and doc (#22276 by @webvs2) |
| | | - Other |
| | | - fix web-types type props (#22281 by @whzxc) |
| | | |
| | | ### 2.15.12 |
| | | |
| | | *2022-11-16* |
| | | |
| | | #### Bug fixes |
| | | - Statisticï¼ |
| | | - Fixed the thousandth bit bug (#22252 by @webvs2) |
| | | - Other |
| | | - Fix 2.15.11 element-theme-chalk publish fail bug |
| | | |
| | | ### 2.15.11 |
| | | |
| | | *2022-11-15* |
| | | |
| | | #### Bug fixes |
| | | - Docs |
| | | - Fix Radio docs (#22178 by @bchen1029) |
| | | - Fix Progress docs |
| | | #### Optimization |
| | | - I18n |
| | | - Update translation of Malaysian (#22185 by @z4q) |
| | | - Update translation of Norwegian (#22145 by @Barsnes) |
| | | - Progress |
| | | - Add defineBackColor and textColor prop (#22089 by @lm312) |
| | | - Statistics |
| | | - Add new component Statistics (#22159 by @webvs2) |
| | | - Other |
| | | - Add Web Types to improve code assistance in WebStorm IDE and other JetBrains IDEs (#22135 by @piotrtomiak) |
| | | |
| | | ### 2.15.10 |
| | | |
| | | *2022-09-13* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - DatePicker |
| | | - Fix props placement error (#21908 by @lqzhgood) |
| | | - Loading |
| | | - Fix sticky DOM error (#22087 by @zzjjhh001) |
| | | - Docs |
| | | - Fix Popover docs (#22083 by @lm312) |
| | | - Fix Skeleton docs (#22092 by @lm312) |
| | | - Fix DatePicker docs (#21970 by @guojiongwei) |
| | | - Tree: |
| | | - fix lazy-load default check problem (#21934 by @kiss-yu) |
| | | |
| | | #### Optimization |
| | | |
| | | - I18n |
| | | - Add translation of Sinhalese (#21936 by @sayuri-gi) |
| | | - Update translation of Spanish (#21924 by @jcardus) |
| | | - Add translation of Malaysian (#22028 by @iorange0411) |
| | | - Update translation of Swahili (#21904 by @Cholowao) |
| | | - Utils |
| | | - update date-util.js (#22099 by @Due07) |
| | | - DatePicker |
| | | - add months And years type (#21918 by @akiko123456) |
| | | |
| | | ### 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) |
| | | - Other |
| | | - 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* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Select |
| | | - fix click icon triggering dropdown (#21314 by @dennyak47) |
| | | - fix keydown event when composition (#21336 by @bchen1029) |
| | | - Badge |
| | | - fix type class when is-dot (#21308 by @adaex) |
| | | - Form |
| | | - validate method reject error info (#21374 by @cs1707) |
| | | - Table |
| | | - fix resizeObserver loop limit exceeded (#21255 by @tomieric) |
| | | - fix toggleAllSelection bug when table is empty (#21456 by @cs1707) |
| | | - optimize performance (#21330 by @cs1707) |
| | | - Button |
| | | - fix disabled priority (#21375 by @cs1707) |
| | | - Descriptions |
| | | - fix label slot bug (#21462 by @cs1707) |
| | | - SASS |
| | | - replace node-sass with dart-sass (#21019 by @linxsbox) |
| | | - Docs |
| | | - fix skeleton typos (#21408 by @zhhbstudio) |
| | | |
| | | ### 2.15.6 |
| | | |
| | | *2021-09-02* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Cascader |
| | | - fix a bug that makes the browser jitter in zoom mode (#21207 by @cs1707) |
| | | - optimize performance (#21231 by @cs1707) |
| | | - Select |
| | | - fix long text overflow in multiple mode (#21237 by @cs1707) |
| | | - Dropdown |
| | | - add disabled property (#21235 by @mshioda) |
| | | - Radio |
| | | - fix checked state when browser go back (#21250 by @cs1707) |
| | | - Descriptions |
| | | - fix type declaration (#21265 by @adaex) |
| | | - avoid table style conflict (#21254 by @adaex) |
| | | - Drawer |
| | | - fix append to body (#21264 by @cs1707) |
| | | - Local |
| | | - fix italian mistake (#21012 by @ricardotondello) |
| | | |
| | | ### 2.15.5 |
| | | |
| | | *2021-08-04* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Select |
| | | - fix resetInputHeight (#21201 by @cs1707) |
| | | |
| | | ### 2.15.4 |
| | | |
| | | *2021-08-03* |
| | | |
| | | #### New features |
| | | |
| | | - Descriptions |
| | | - add description component (#21129 by @cs1707) |
| | | - Result |
| | | - add result component (#21171 by @cs1707) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Utils |
| | | - fix isScroll (#21098 by @canvascat) |
| | | - Translation |
| | | - update it.js (#21133 by @bliberi) |
| | | - RadioGroup |
| | | - fix RadioGroup used in component causes exception #17908 (#20783 by @lceric) |
| | | - Message |
| | | - fix message[type] (#21088 by @cs1707) |
| | | - Carousel |
| | | - reset the timer when setActiveItem method is called (#20846 by @Nekojita1) |
| | | - Cascader |
| | | - fix emitPath (#21185 by @cs1707) |
| | | - Select |
| | | - fix select filterable bug (#17494 by @profore) |
| | | - fix a bug that makes the browser jitter in zoom mode (#21197 by @cs1707) |
| | | - Tree |
| | | - fix insertChild (#21194 by @cs1707) |
| | | |
| | | ### 2.15.3 |
| | | |
| | | *2021-06-29* |
| | | |
| | | #### New features |
| | | |
| | | - Skeleton |
| | | - add skeleton component (#21038 by @cs1707) |
| | | - Empty |
| | | - add empty component (#21080 by @cs1707) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Local |
| | | - fix week translations for hr locale (#21040 by @cs1707) |
| | | - Table |
| | | - fix lazy load data (#21041 by @cs1707) |
| | | - Docs |
| | | - fix form hide-required-asterisk description (#21045 by @cs1707) |
| | | - Drawer: |
| | | - fix destroy (#20715 by @zj9495) |
| | | - Row |
| | | - fix align top (#20963 by @cs1707) |
| | | - Select |
| | | - fix the bug when the value is Boolean (#21052 by @cs1707) |
| | | - Calendar |
| | | - fix first-day-of-week (#21057 by @cs1707) |
| | | - Utils |
| | | - fix isScroll (#21065 by @cs1707) |
| | | - fix(utils.dom by @fw6) |
| | | - TypeScript |
| | | - add CascaderPanel export type (#21070 by @qige2016) |
| | | - add spinner.d.ts (#21090 by @qige2016) |
| | | |
| | | ### 2.15.2 |
| | | |
| | | *2021-05-28* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Image |
| | | - fix z-index and keydown event add stopPropagation (#20859 by @cs1707) |
| | | - Input |
| | | - fix show password cursor (#20870 by @cs1707) |
| | | - fix show password icon in edge (#20902 by @cs1707) |
| | | - Carousel |
| | | - fix interval and scale bug (#20931 by @cs1707) |
| | | - Cascader |
| | | - fix delete tag bug (#20939 by @cs1707) |
| | | - Drawer |
| | | - add overflow auto (#20948 by @cs1707) |
| | | - Others |
| | | - fix isFunction (#20912 by @cs1707) |
| | | |
| | | ### 2.15.1 |
| | | |
| | | *2021-02-23* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Drawer |
| | | - bugfix (by @cs1707) |
| | | - Image |
| | | - fix incorrect image object fit ratio in IE (#19583 by @charlie0228) |
| | | - Cascader |
| | | - fix cascader panel active path (#20730 by @cs1707) |
| | | - Calendar |
| | | - fix calendar component i18n bug (#20758 by @iamkun) |
| | | - ColorPicker |
| | | - fix bugs (by @UxieVerity) |
| | | |
| | | #### Optimization |
| | | |
| | | - Doc |
| | | - update Axure resource v2.1.0 (by @iamkun) |
| | | |
| | | ### 2.15.0 |
| | | |
| | | *2021-01-15* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Select |
| | | - Fix placeholder i18n bug (#17644 by @nzh63) |
| | | - Popconfirm |
| | | - Popconfirm i18n bug by @iamkun |
| | | - Drawer |
| | | - Fix focus bug (#20626 by @cs1707) |
| | | - Image |
| | | - Preview optimization (#20652 by @cs1707) |
| | | |
| | | #### Optimization |
| | | |
| | | - Doc |
| | | - Fix typo in french translation of datetime-picker.md (#20543 by @lonk) |
| | | - Add format attribute description to the progress component (#20641 by @cs1707) |
| | | |
| | | ### 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* |
| | | |
| | | #### Breaking changes |
| | | |
| | | - Popconfirm |
| | | - Rename event name to `confirm`, `cancel` (#20240 by @hugiron) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Progress |
| | | - Fix attribute error (#19985 by @Caaalabash) |
| | | |
| | | #### Optimization |
| | | |
| | | - I18n |
| | | - Update Russian translation (#19451 by @yangirov) |
| | | - Update Khmer translation (#20077 by @Sovai) |
| | | - Update Ukrainian translation (#20344 by @MammutAlex) |
| | | |
| | | ### 2.13.2 |
| | | |
| | | *2020-05-18* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Autocomplete |
| | | - Fix change event bug (#19200 by @sxzz) |
| | | - Image |
| | | - Update error status (#19194 by @lhx6538665) |
| | | |
| | | #### Optimization |
| | | |
| | | - I18n |
| | | - Update ru-RU popconfirm translation (#19220 by @Opppex) |
| | | - Update vi translation (#19244 by @quangln2810) |
| | | - Update Catalan and Spanish translations (#19296 by @Ismaaa) |
| | | - Update Indonesia translation (#19320) by @therour) |
| | | - Update Brazilian Portuguese translation (#19374 by @diegomengarda) |
| | | |
| | | |
| | | ### 2.13.1 |
| | | |
| | | *2020-04-13* |
| | | |
| | | #### New features |
| | | - Autocomplete |
| | | - Add change event (#17913 by @sxzz) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Autocomplete |
| | | - Fix suggestion error when textarea (#18478 by @Roojay) |
| | | - Carousel |
| | | - Fix console typo bug (#18264 by @IceFox) |
| | | - Image |
| | | - Fix preview dose not show when preview list not contain src issue (#18975) (#19130 by @luckyCao) |
| | | - Fix shortcut key not work at second time issue (#18983) (#19156 by @luckyCao) |
| | | - Don't show image-viewer when preview is false (#18967 by @inooNgt) |
| | | - Transfer |
| | | - Fix incorrect line-height of el-transfer's first list item when it was used with el-form-item (#18917 by @Hanx) |
| | | - InputNumber |
| | | - Correctly compute inputNumberDisabled (#18439 by @ashuser-pendo) |
| | | - Chore |
| | | - Remove index intro (#19155 by @iamkun) |
| | | - Doc |
| | | - Popconfirm doc update (#18324 by @iamkun) |
| | | - Fix step-strictly docs typo (#18705 by @dream2023) |
| | | - Fix a type error in document of steps component (#17555 by @haoranyu) |
| | | |
| | | ### 2.13.0 |
| | | |
| | | *2019-11-26* |
| | | |
| | | #### New features |
| | | |
| | | - Popconfirm |
| | | - Add popconfirm component (#17548 by @iamkun) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - BackTop |
| | | - Use cubic bezier scrolling (by @lon) |
| | | - DatePicker |
| | | - Fix bug of only select min date of date range problem (#17191 by @smk0621) |
| | | - Select |
| | | - Fix select test cases (by @msidolphin) |
| | | - Tree |
| | | - Add font-size for the style of tree empty-text (#17094 by @spengjie) |
| | | - Table |
| | | - Column header can be costumed (#17291 by @ziyoung) |
| | | - Update table header cell style (#17284 by @ziyoung) |
| | | - Fix table header height after filter (#17348 by @ziyoung) |
| | | - Fixed row-style with display not work (#17002 by @a631807682) |
| | | - Fix header table not display (#17341 by @ziyoung) |
| | | - Calendar |
| | | - Import el-button and el-button-group (#17376 by @masongzhi) |
| | | - MessageBox |
| | | - Fix icon position error (#17410 by @nullptru) |
| | | - TimePicker |
| | | - Set the selection range after scrolling up or down (#16868 by @mattheyan) |
| | | - Message |
| | | - Fix close instace offsetHeightï¼#17564ï¼ (#17852 by @gzwgq222) |
| | | - Form |
| | | - Callback of validateField should be optional (#17314 by @CarterLi) |
| | | - Cascader |
| | | - Fix TypeScript 3.7 compatibility (#17881 by @CarterLi) |
| | | - Menu |
| | | - Fix router NavigationDuplicated error when using vue-router@^3.1.0 (#17269 by @iamkun) |
| | | - Dropdown |
| | | - Update type file (#17550 by @iamkun) |
| | | - Progress |
| | | - Add strokeLinecap prop (#17552 by @iamkun) |
| | | - InfiniteScroll |
| | | - Skip trigger event on invisible element (#17553 by @iamkun) |
| | | - Image |
| | | - Perfect picture preview behavior (#16985 by @luckyCao) |
| | | - Fix shield the page when preview big image (#16796 by @luckyCao) |
| | | - Drawer |
| | | - Bugfix drawer-append-to-body-not-working (#16953 by @JeremyWuuuuu) |
| | | - Select |
| | | - Fix tag show value or empty issue (17199 by @luckyCao) |
| | | - Scrollbar |
| | | - Fix FireFox scroll bar width (#18091 by @iamkun) |
| | | |
| | | #### Optimization |
| | | |
| | | - I18n |
| | | - Update sv-SE.js (#17926 by @FOLLGAD) |
| | | - Update avatar component fr doc (#17762 by @blombard) |
| | | - Docs |
| | | - Fix time-select typo (#17250 by @wacky6) |
| | | - Fix Drawer attribute accepted value typo in es (#17122 by @haoranyu) |
| | | - Update Spanish changelog 2.12.0 (#17364 by @Gonzalo2310) |
| | | - Fix Changelog typo (#17874 by @renlixin) |
| | | - Fix Loading demo (#17862 by @MBearo) |
| | | - Add input event in input Events Table (#18061 by @zhouxinyong) |
| | | - Delete Input repeat change event (#18085 by @zhouxinyong) |
| | | |
| | | ### 2.12.0 |
| | | |
| | | *2019-08-29* |
| | | |
| | | #### New features |
| | | |
| | | - Popover |
| | | - Add close-delay prop (#16671 by @LachlanStuart) |
| | | - Theme |
| | | - Add Chrome Extension: Element Theme Extension (#16686 by @iamkun) |
| | | - Icon |
| | | - Add font-display to @font-face declaration (#16805 by @iamfaizalandyka) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Carousel |
| | | - Fix onChange emit value (#16705 by @iamkun) |
| | | - Notification |
| | | - Fix modifying incoming option object (#16704 by @iamkun) |
| | | - DatePicker |
| | | - Add className for picker option (#16632 by @iamkun) |
| | | - DateTimePicker |
| | | - Fix time-spinner not scroll to right position (#16854 by @jesse-li) |
| | | - Table |
| | | - Prevent click handler after drag (#16850 by @ziyoung) |
| | | - Fix chrome crash when set thead css display to none (#16956 by @luckyCao) |
| | | - Fix wrong empty block height (#16861 by @ziyoung) |
| | | - Not throw error when calling toggleExpansion (#16304 by @yyjjqq94) |
| | | - Not trigger sort-change event when mounted (#17113 by @a631807682) |
| | | - Fix setCurrentRow unable to clear highlight row (#16879 by @ziyoung) |
| | | - Fix expand-row-keys not work when data is loaded asynchronously (#16899 by @ziyoung) |
| | | - set toggleAllSelection as instance property (#17137 by @ziyoung) |
| | | - Tree |
| | | - Fix distance between label and checkbox (#16799 by @Hazlank) |
| | | - Tabs |
| | | - Fix incorrect TabItem's position (#16520 by @victorting) |
| | | - Fix activated tab is out of visual range bug (#17033 by @nullptru) |
| | | - Calendar |
| | | - Fix weekdays i18n issue (#16772 by @ubitoffee) |
| | | - fix locale error by (#17208 by @iamkun) |
| | | - Cascader |
| | | - Fix CascaderPanel display error (#16716 by @zhangHongEn) |
| | | - Fix disable status and close button issue (#16224 by @yyjjqq94) |
| | | - Input |
| | | - Fix Korean composition event (#15069 by @MoonHyuk) |
| | | - Fix click event of clear button not trigger when using v-loading (#16576 by @a631807682) |
| | | - Select |
| | | - Not toggle dropdown when filtering (#17205 by @luckyCao) |
| | | - Transfer |
| | | - Fix style error (#17206 by @iamkun) |
| | | - Dialog |
| | | - update sass var (#16365 by @haoranyu) |
| | | - RadioGroup |
| | | - Not produce invalid HTML in table if "is" attribute is specify (#17070 by @nullptru) |
| | | - Divider |
| | | - Support custom classes (#17078 by @island205) |
| | | |
| | | #### Optimization |
| | | |
| | | - Checkbox |
| | | - Improve screen reader experience (#16575 by @tylertrotter) |
| | | - Docs |
| | | - Update changelog (#16773 by @SimonaliaChen) |
| | | - Update contributing guide (#14800 by @sinchang) |
| | | - Fix typo in Drawer docs (#16848 by @winkay) |
| | | - Update custom theme (#16983 by @iamkun) |
| | | - Add Esperanto translation (#16955 by @maxkoryukov) |
| | | - Update input-number document about change event (#16316 by @luckyCao) |
| | | - Update spanish doc 2.11.1 (#16961 by @Gonzalo2310) |
| | | - I18n |
| | | - Remove translation of 'year' in catalan language as in the other languages (#14722 by @oscaralbareda) |
| | | - Update spanish changelog 2.10.0 and 2.10.1 (#16548 by @Gonzalo2310) |
| | | - Update ar.js (#16653 by @l3op) |
| | | - Test |
| | | - Correct spelling error (#16672 by @boomler) |
| | | - Refactor unit test to use data-uri (#16847 by @a631807682) |
| | | - Types |
| | | - Fix httprequest type (#16633 by @luckyCao) |
| | | |
| | | ### 2.11.1 |
| | | |
| | | *2019-07-26* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Image |
| | | - Fix Image component SSR compatibility (#16737 by @luckyCao) |
| | | - Chore |
| | | - Update dart-sass compatibility (#16744 by @LewisChennnnn) |
| | | |
| | | ### 2.11.0 |
| | | |
| | | *2019-07-25* |
| | | |
| | | #### New features |
| | | |
| | | - Drawer |
| | | - Add drawer component (#16577 by @JeremyWuuuuu) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Checkbox |
| | | - Enhance css selector (#16006 by @Hazlank) |
| | | - Tree |
| | | - Make el-tree generic (#15934 by @JeremyWuuuuu) |
| | | - Set isCurrent prop to False (#15870 by @kkkisme) |
| | | - Dropdown |
| | | - Fix split-button caret default color (#15931 by @JuniorTour) |
| | | - Cascader |
| | | - Fix level 1 children is empty update problem (#16399 by @luckyCao) |
| | | - Add sets default values when lazy is true (#16420 by @luckyCao) |
| | | - Fix display errors when node value is duplicate (#15935 by @junyiz) |
| | | - Expose getCheckedNodes and fix options change bug (#16709 by @SimonaliaChen) |
| | | - Calendar |
| | | - Display correct header when range is specified (#16354 by @ziyoung) |
| | | - Submenu |
| | | - Fix prop append-to-body (#16289 by @a631807682) |
| | | - Table |
| | | - Fix tree table when updating data (#16481 by @island205) |
| | | - Select |
| | | - Fix memory leak issue (#16463 by @island205) |
| | | - InfiniteScroll |
| | | - Update naming & doc (#16698 by @iamkun) |
| | | - Avatar |
| | | - Fix image not center vertically issue (#16489 by @luckyCao) |
| | | - Dialog |
| | | - Add destroyOnClose attribute (#16455 by @ziyoung) |
| | | - Image |
| | | - Add big Image preview feature (#16333 by @luckyCao) |
| | | |
| | | #### Optimization |
| | | |
| | | - Docs |
| | | - Fix dropdown demo (#16193 by @webxmsj) |
| | | - Fix typo in table documents (#15971 by @howiefh) |
| | | - I18n |
| | | - Update translation of Thai language (#16689 by @ponkrit) |
| | | - Chore |
| | | - Update theme base api (#16607 by @iamkun) |
| | | - Add form theme token (#16699 by @iamkun) |
| | | - Mark ali inner user's access (#16609 by @iamkun) |
| | | - Fix doc anchor bug (#16692 by @iamkun) |
| | | |
| | | ### 2.10.1 |
| | | |
| | | *2019-07-02* |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Table |
| | | - Fix sort icon (#15439 by @bezany) |
| | | - Fix layout breaks when append slot exists (#16332 by @ziyoung) |
| | | - Fix showOverflowTooltip not reactive (#16295 by @a631807682) |
| | | - Register scrollbar in filter-panel (#16246 by @ziyoung) |
| | | - Chore |
| | | - Fix 2.9 docs (#16233 by @ziyoung) |
| | | - Fix index page theme intro english css style issue (#16254 by @iamkun) |
| | | |
| | | #### Optimization |
| | | |
| | | - Tag |
| | | - Compatible with IE (#16334 by @ziyoung) |
| | | - Chore |
| | | - Update Dingtalk Group QR image (#16236 by @iamkun) |
| | | - Doc |
| | | - Update online theme roller doc (#16244 by @iamkun) |
| | | |
| | | ### 2.10.0 |
| | | |
| | | *2019-06-25* |
| | | |
| | | #### New features |
| | | |
| | | - I18n |
| | | - Added Uzbek language (#15796 by @ogabek96) |
| | | - Calendar |
| | | - Add first-day-of-week attribute (#16047 by @ziyoung) |
| | | - Avatar |
| | | - Add avatar component (#16144 by @luckyCao) |
| | | - Upload: |
| | | - Add capability to customize thumbnail template (#13192 by @victorzhuk) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Tree |
| | | - Not highlight tree node when currentKey is null (#15668 by @yyjjqq94) |
| | | - Fix issue #15538 caused by two Tree sharing the same data. (#15615 by @VanMess) |
| | | - Upload |
| | | - Update the parameter `fileList` type (#15716 by @underfin) |
| | | - Table |
| | | - Fix loading icon not display (#15868 by @ziyoung) |
| | | - Fix background color of complex table when hovering (#15504 by @cnlon) |
| | | - Fix current-row-key and select event bug (#15983 by @ziyoung) |
| | | - Height accepts more units (#16013 by @ziyoung) |
| | | - Fix reserve-selection not work (#16135 by @ziyoung) |
| | | - Docs |
| | | - Fix Divider attribute type in zh-cn (#15889 by @haoranyu) |
| | | - Menu |
| | | - Fixed submenu hidden bug after adding popper-append-to-body (#15391 by @PanJiaChen) |
| | | - Select |
| | | - Fix initialInputHeight (#15989 by @yyjjqq94) |
| | | - Fix default-first-option behavior when typing Chinese (#15431 by @VanMess) |
| | | - fix double import problem (#16215 by @lengband) |
| | | - Message |
| | | - Add type def for offset option (#16027 by @matjaz) |
| | | - Timeline |
| | | - Fix reverse broken (#16091 by @ziyoung) |
| | | - Slider |
| | | - Fix #15545 by adding explains about "input" event in Chinese (#15588 by @VanMess) |
| | | - InfiniteScroll |
| | | - Update package name (#16125 by @iamkun) |
| | | - MessageBox |
| | | - Fix distinguishCancelAndClose action not same as docs bug (#15438 by @qingdengyue) |
| | | - PopupManager |
| | | - Fix z-index cannot be rewritten at first using (#15738 by @luckyCao) |
| | | - Docs |
| | | - Delete an incorrect closing html tag and empty block code (#16194 by @Alexeykhr) |
| | | - Chore |
| | | - Update test api host (#15807 by @iamkun) |
| | | |
| | | #### Optimization |
| | | |
| | | - Tree |
| | | - Modify loop conditions to improve performance (#15699 by @KingJeason) |
| | | - Theme |
| | | - Refine GA track & Update footer link forward to online theme roller (#16007 by @island205) |
| | | - Badge |
| | | - Update badge prop check (#16198 by @iamkun) |
| | | - Avatar |
| | | - Update theme config var (#16202 by @luckyCao) |
| | | - I18n |
| | | - Update pt-br.js (#15776 by @gigioSouza) |
| | | - Update Farsi translation (#15881 by @pamenary) |
| | | - Docs |
| | | - Add missing components in quickstart (#16063 by @pape2016) |
| | | - Update french translation (#16208 by @blombard) |
| | | - Add description $slots.default (#15444 by @Alexeykhr) |
| | | - Update Spanish Doc 2.9.1 (#15840 by @Gonzalo2310) |
| | | - Fix spelling mistakes in fr (#15837 by @blombard) |
| | | - Update changelog 2.9.2 Spanish (#16185 by @Gonzalo2310) |
| | | |
| | | #### Breaking changes |
| | | |
| | | - Form |
| | | - Remove success status (#16159 by @ziyoung) |
| | | |
| | | ### 2.9.2 |
| | | |
| | | *2019-06-21* |
| | | |
| | | #### Correction de bugs |
| | | |
| | | - Chore |
| | | - Correction du fichier de définitions TS (#15805 by @NateScarlet) |
| | | |
| | | ### 2.9.1 |
| | | |
| | | *2019-05-30* |
| | | |
| | | #### Nouvelles fonctionnalités |
| | | |
| | | - Table |
| | | - les événements tree-propsï¼default-expand-all, expand-row-keys, toggle-row-expansion method and expand-change sont pris en charge dans Tree Table (#15709 by @ziyoung) |
| | | |
| | | #### Correction de bugs |
| | | |
| | | - Table |
| | | - Correction de quelques bugs (#15709 by @ziyoung) |
| | | - Theme |
| | | - Mise à jour de l'hôte api (#15784 by @iamkun) |
| | | |
| | | #### Optimisation |
| | | |
| | | - Chore |
| | | - Mise à jour de InfiniteScroll type (#15794 by @iamkun) |
| | | |
| | | ### 2.9.0 |
| | | |
| | | *2019-05-30* |
| | | |
| | | #### Nouvelles fonctionnalités |
| | | |
| | | - Backtop |
| | | - Ajout du composant Backtop (#15541 by @iamkun) |
| | | - PageHeader |
| | | - Ajout du composant PageHeader (#15714 by @ziyoung) |
| | | - InfiniteScroll |
| | | - Ajout de la directive InfiniteScroll (#15567 by @iamkun) |
| | | - Cascader |
| | | - Ajouter plusieurs mode et filter-method (#15611 by @SimonaliaChen) |
| | | - Message |
| | | - Affichage en mode pile (#15639 by @island205) |
| | | - Tag |
| | | - Ajout d'un effet de prop (#15725 by @SimonaliaChen) |
| | | - Tabs |
| | | - Aligner le titre à gauche lorsque le type est carte (#15695 by @luckyCao) |
| | | - DatePicker |
| | | - Supporte les chaînes de caractères littérales (#15525 by island205) |
| | | - Image |
| | | - Ajout du support pour les attributs de transmission et listeners (#15578 by @VanMess) |
| | | - Theme |
| | | - Ajout d'un popup en arrière plan (#15412 by @iamkun) |
| | | - Chore |
| | | - Mise à jour de la nouvelle page d'index 2.9.0 (#15682 by @iamkun) |
| | | |
| | | #### Correction de bugs |
| | | |
| | | - Table |
| | | - Correction du comportement de sort-change lorsque la condition de tri est nulle (#15012 by @joelxr) |
| | | - Image |
| | | - Correction de la compatibilité ssr et object-fit (#15346 by @SimonaliaChen) |
| | | - Input |
| | | - Correction du style de show-word-count dans el-form (#15359 by @lvjiaxuan) |
| | | - Correction de l'icône d'erreur pas centrée (#15354 by @YiiGuxing) |
| | | - Calendar |
| | | - Correction du mauvais jour de la semaine quand le jour est dimanche (#15399 by @qingdengyue) |
| | | - Correction du bug de disparition d'octobre (#15394 by @qingdengyue) |
| | | - Tabs |
| | | - Correction de l'onglet de base imbriqué dans l'erreur de remplissage de card (#15461 by @SimonaliaChen) |
| | | - Tag |
| | | - Correction du problème de propagation d'arrêt (#15150 by @infjer) |
| | | - Form |
| | | - Correction de input-group dans l'erreur de hauteur de form-item (#15457 by @SimonaliaChen) |
| | | - Résolution de l'issue de resetFields (15181 by @luckyCao) |
| | | - Tooltip |
| | | - Correction de tabindex personnalisé ne fonctionnant pas (#15619 by @SimonaliaChen ) |
| | | - Link |
| | | - Correction de la classe de style d'icône (#15752 by @iamkun) |
| | | - Select |
| | | - Revert définit la valeur à null une fois effacée (#15447 by @iamkun) |
| | | - Loading |
| | | - Résolution du problème de mise à jour de dom lorsque l'état de chargement change rapidement (#15123 by @FAKER-A) |
| | | - Switch |
| | | - Label avec les événements récurrents el-switch (#15178 by @FAKER-A) |
| | | - Slider |
| | | - Correction d'un problème de style lorsque la barre de défilement est cliquée (#15561 by @luckyCao) |
| | | - Radio |
| | | - Résolution de l'issue 14808 (#14809 by @OverTree) |
| | | - Form |
| | | - Résolution du problème de resetFields (15181 by @luckyCao) |
| | | - Chore |
| | | - Mise à jour des dépendances et corrige le bug de démonstration (#15324 by ziyoung) |
| | | - Type |
| | | - Correction du type de chargement (#15635 by @iamkun) |
| | | - Correction du type d'icône (#15634 by @iamkun) |
| | | - Fixe la définition du type de lien (#15402 by @iamkun) |
| | | |
| | | #### Optimisation |
| | | |
| | | - Cascader |
| | | - Refactor (#15611 by @SimonaliaChen) |
| | | - Chore |
| | | - Mise à jour de la logique du nouveau composant (by @iamkun) |
| | | - Docs |
| | | - Renommage de variables dans la documentation (#15185 by @liupl) |
| | | - Correction du type d'attribut d'image et de la valeur par défaut (#15423 by @haoranyu) |
| | | - Correction d'un bug de formulaire (#15228 by @SHERlocked93) |
| | | |
| | | ### 2.8.2 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### Corrections de bugs |
| | | |
| | | - Icon |
| | | - Mise à jour (#15272 par @iamkun) |
| | | - Docs |
| | | - Correction du style de Form et Input (#15273 par @ziyoung) |
| | | |
| | | ### 2.8.1 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### Corrections de bugs |
| | | |
| | | - Icon |
| | | - Mise à jour de l'icône du cascadeur et du select (#15264 par @SimonaliaChen) |
| | | - Mise à jour (#15258 #15268 par @iamkun) |
| | | |
| | | #### Optimisation |
| | | |
| | | - Chore |
| | | - Mise à jour du script de build (#15267 par @ziyoung) |
| | | - Docs |
| | | - Correction de la couleur de souslignage d'un lien (#15265 par @iamkun) |
| | | - Autre |
| | | - Correction d'une configuration de migration non compatible avec les propriétés et évènements en camelCase (#15260 par @SimonaliaChen) |
| | | |
| | | ### 2.8.0 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### Nouvelles fonctionnalités |
| | | |
| | | - Divider |
| | | - Ajout du composant divider (#15055 par @island205) |
| | | - Rate |
| | | - Ajout des couleurs et des classes d'icônes personnalisées en passant un objet (#15051 par @SimonaliaChen) |
| | | - Link |
| | | - Ajout du composant Link (#15052 par @iamkun) |
| | | - Calendar |
| | | - Ajout du composant calendar (#14908 by @ziyoung) |
| | | - Icon |
| | | - Ajout d'une icône (#15214 par @iamkun) |
| | | - Alert |
| | | - Ajout d'un thème sombre (#15041 par @island205) |
| | | - Image |
| | | - Ajout du composant image (#15117 par @SimonaliaChen) |
| | | - Collapse |
| | | - CollapseItem peut être désactivé (#15076 par @ziyoung) |
| | | - Carousel |
| | | - Ajout d'un attribut de direction et support de la direction verticale (#15122 by @ziyoung) |
| | | - Pagination |
| | | - Ajout d'un attribut caché sur une seule page (#15096 par @ziyoung) |
| | | - Slider |
| | | - Ajout des marqueurs (#15133 par @luckyCao) |
| | | - Input |
| | | - Ajout de l'attribut show-word-count (#15075 par @luckyCao) |
| | | - InputNumber |
| | | - Ajout de l'attribut step-strictly (#15050 par @luckyCao) |
| | | - Tooltip, Dropdown, Popover |
| | | - Support de l'attribut tabindex (#15167 by @ziyoung) |
| | | |
| | | #### Corrections de bugs |
| | | |
| | | - Notification |
| | | - Correction du word-break du titre (#15008 par @iamkun) |
| | | - Form |
| | | - Correction d'une erreur dans les règles de validation (#14985 par @luckyCao) |
| | | - Correction du style du label (#14969 par @ziyoung) |
| | | - Les FormItem requis affiche un astérisque lorsque le label est auto (#15144 by @ziyoung) |
| | | - Pagination |
| | | - Fix du slot non mis à jour (#14711 par @lucyhao) |
| | | - Table |
| | | - Correction d'un bug de chargement en mode lazy (#15101 by @ziyoung) |
| | | - Correction de la largeur des cellules lorsque colspan est supérieur à 1 (#15196 by @ziyoung) |
| | | - Amélioration des performances (#14868 by @ziyoung) |
| | | - Ne pas émettre de déclencheurs de changement de tri pendant l'initialisation (#14625 by @PeanutWatson) |
| | | - Comportement égal pour height et max-height (#14660 by @arthurdenner) |
| | | - Dialog |
| | | - Correction de la casse des longs mots (#15027 par @iamkun) |
| | | - Alert |
| | | - Mise à jour (#15186 par @ziyoung) |
| | | - Tabs |
| | | - Correction d'un problème où le rejet d'une promesse touchait l'application (#14816 par @ffxsam) |
| | | - Rerendu lors d'un changement de slots (#1523238 by @ziyoung) |
| | | - Message |
| | | - Mise à jour (#14968 par @agoni121212) |
| | | - Select |
| | | - Correction d'une erreur lorsque la valeur est indéfinie ou nulle (#15022 par @luckyCao) |
| | | - Tree |
| | | - Détruire le noeud courant après sa suppression (#14604 par @sinchang) |
| | | - Amélioration des performances (#14881 par @ChenZhuoSteve) |
| | | - Dropdown |
| | | - Correction de style (#14907 par @doing123) |
| | | - Slider |
| | | - Correction d'un bug clavier a11y cassé (#14792 by @erezsob) |
| | | - Menu |
| | | - La valeur ActiveIndex sera nulle si defaultIndex n'existe pas (#14074 par @hoythan) |
| | | - Directive |
| | | - RepeatClick : utilisation de Date.now() au lieu de Date() (#14776 par @pavelmash) |
| | | - Upload |
| | | - Correction du style d'affichage des images transparentes (#15039 par @iamkun) |
| | | - Thème |
| | | - Ajout d'une bordure (#1525256 par @iamkun) |
| | | |
| | | #### Optimisation |
| | | |
| | | - Chore |
| | | - Mise à jour du changelog zh-cn (#14965 par @iamkun) |
| | | - Masquer la description de la démo quand elle est vide (#15014 par @ziyoung) |
| | | - Afficher les informations du serveur de développement par défaut par @iamkun) |
| | | - Correction d'une erreur de changelog 2.6.0 (#15026 par @iamkun) |
| | | - Mise à jour de la configuration de compilation (#14821 par @abc3660170) |
| | | - Ajout d'hmr (#15221 par @SimonaliaChen) |
| | | - Utilisation de sourcemap dans l'environnement dev (#15087 par @ibufu) |
| | | Docs |
| | | - Renommage de la variable dans docs (#14602 #15003 #15094 #15105 par @liupl) |
| | | - Correction d'une erreur de téléchargement de doc (#15023 par @iamkun) |
| | | - Mise à jour du validateur de formulaire personnalisé doc (#15040 par @iamkun) |
| | | - Mise à jour des onglets docs pour afficher les onglets verticaux (#15053 par @iamkun) |
| | | - Utiliser eleme.cn comme domaine (#15139 par @ziyoung) |
| | | - Correction du nom de route Image (#15194 par @iamkun) |
| | | - Suppression de la traduction en double (#15207 par @iamkun) |
| | | |
| | | #### Breaking changes |
| | | |
| | | - Rate |
| | | - Correction du support de l'affichage décimal en mode désactivé (#15089 par @haoranyu) |
| | | - Select |
| | | - Utiliser le label de l'option pour régler le placeholder en mode filtre (#14989 par @ibufu) |
| | | |
| | | ### 2.7.2 |
| | | |
| | | *2019-04-03* |
| | | |
| | | #### Corrections de bugs |
| | | |
| | | - Form |
| | | - Correction du style de `label-width` auto (#14955 par @ziyoung) |
| | | |
| | | #### Optimisation |
| | | - Docs |
| | | - Correction d'une erreur de lien img (#14957 par @iamkun) |
| | | - Chore |
| | | - Correction d'une erreur de déploiement mkdir (#14952 par @iamkun) |
| | | |
| | | ### 2.7.1 |
| | | |
| | | *2019-04-03* |
| | | |
| | | #### Corrections de bugs |
| | | |
| | | - Select |
| | | - Définir la valeur à null lorsqu'elle est effacée (#14322 par @aaronfulkerson) |
| | | - Input |
| | | - Mise à jour des valeurs dépendantes du DOM lors d'un changement de type (#14889 par @wacky6) |
| | | - Table |
| | | - Faire fonctionner `defaultExpandAll' lorsqu'une colonne étendue existe (#14935 par @ziyoung) |
| | | - Dialog |
| | | - Couleur d'arrière-plan configurable (#14939 par @ziyoung) |
| | | - Form |
| | | - `label-width` supporte la largeur automatique (#14944 by @ziyoung) |
| | | |
| | | #### Optimisation |
| | | - Docs |
| | | - Mise à jour de la documentation en espagnol (#14913 par @Gonzalo2310) |
| | | - Ajout d'un document en français pour le nouveau composant (#14924 by @ziyoung) |
| | | - Optimiser la documentation des onglets (#14938 by @ziyoung) |
| | | |
| | | ### 2.7.0 |
| | | |
| | | *2019-03-28* |
| | | |
| | | #### Nouvelles fonctionnalités |
| | | |
| | | - Table |
| | | - Ajout du support de l'arborescence des données (#14632 by @ziyoung) |
| | | |
| | | #### Corrections de bugs |
| | | |
| | | - Tabs |
| | | - Utilise la couleur primaire comme couleur de l'ombre (#14558 par @Richard-Choooou) |
| | | - Rerendu lorsque label change (#14496 par @akki-jat) |
| | | - Table |
| | | - Le pied de page suit l'alignement des cellules du corps (#14730 by @ziyoung) |
| | | - NavMenu |
| | | - Correction d'un bug de clic sur el-submenu (#14443 par @PanJiaChen) |
| | | - Dropdown |
| | | - Compatible avec la nouvelle syntaxe v-slot 2.6 (#14832 by @ziyoung) |
| | | - ColorPicker |
| | | - Correction d'une erreur de couleur hexadécimale (#14793 par @iamkun) |
| | | - Tree |
| | | - Revert pr #13349 (#14847 par @ziyoung) |
| | | - Tooltip |
| | | - Affichage lorsque la valeur initiale est vraie (#14826 by @ziyoung) |
| | | - Docs |
| | | - Mise à jour de la documentation du cascader (#14442 par @panhezeng) |
| | | - Style |
| | | - Correction des media queries dans sm-only, md-only, lg-only (#14611 by @sinchang) |
| | | |
| | | #### Optimisation |
| | | |
| | | - Chore |
| | | - Ajouter la description de la page web (#14802 par @iamkun) |
| | | |
| | | ### 2.6.3 |
| | | |
| | | *2019-03-21* |
| | | |
| | | #### Corrections de bugs |
| | | |
| | | - Correction du style de la démo de Cascader (#14789 par @ziyoung) |
| | | - Suppression des opérations DOM inutiles (#14788 by @ziyoung) |
| | | - Correction DatePicker valeur par défaut DST (#14562 par @wacky6) |
| | | |
| | | ### 2.6.2 |
| | | |
| | | *2019-03-21* |
| | | |
| | | ##### Nouvelles fonctionnalités |
| | | |
| | | - DatePicker |
| | | - Ajout d'une plage de mois pour l'attribut type (#14487 par @zxyRealm) |
| | | - i18n |
| | | - Ajout de la locale croate (#14360 par @danijelh) |
| | | |
| | | ##### Corrections de bugs |
| | | |
| | | - Input |
| | | - Correction d'un régression (#14572 par @wacky6) |
| | | - DatePicker |
| | | - Correction du calcul du premier jour de la semaine (#14523 par @sinchang) |
| | | - Correction du format de valeur du sélecteur de semaine (#13754 par @wacky6) |
| | | - Steps |
| | | - Correction du problème #14502 (#14596 par @sinchang) |
| | | - Correction du style avec le thème simple (#14610 par @sinchang) |
| | | - Docs |
| | | - Mise à jour de la doc française pour la 2.6.1 et correction de fautes de frappe (#1455555 par @smalesys) |
| | | - Renommage d'une variable dans la documentation de la table (#14587 par @likwotsing) |
| | | - Ajout de l'index de recherche en français (#14565 par @iamkun) |
| | | - Correction du style de la page TimePicker (#14579 par @ziyoung) |
| | | - Renommage d'une variable dans la page Upload (#14593 par @liupl) |
| | | - Mise à jour de la traduction française (#14643 par @smalesys) |
| | | - Mise à jour de la documentation du validateur de formulaire asynchrone (#14694 par @iamkun) |
| | | - Correction d'une erreur de doc tooltip (#14748 par @iamkun) |
| | | - Correction d'une coquille (#14751 par @2bj) |
| | | - Correction de la surbrillance pour Webkit touch (#14703 by @VladG0r) |
| | | |
| | | ##### Optimisation |
| | | |
| | | - Tâche |
| | | - Mise à jour du script de build dans le ci (#14600 par @ziyoung) |
| | | - Mise à jour du tracking ga (#14560 par @iamkun) |
| | | - Ajout d'un événement ga supplémentaire (#14633 par @iamkun) |
| | | - Mise à jour du groupe de discussion (#14741 par @iamkun) |
| | | - Mise à jour des deps de test et conf (#14735 par @wacky6) |
| | | - Mise à jour de Gulp (#14745 by @ziyoung) |
| | | - Utilisez le codepen pour afficher les démos et correction d'une erreur de doc (#14747 by @ziyoung) |
| | | |
| | | ### 2.6.1 |
| | | |
| | | *2019-03-03* |
| | | |
| | | #### Corrections de bugs |
| | | |
| | | - **Ne pas spécifier la version de node** (par @iamkun dans #14546) |
| | | - Correction du répertoire doc dans `deloy-faas.sh` (par @ziyoung dans #14553) |
| | | - Correction d'un problème de style de date dans le changelog de la 2.6.0 (par @island205 dans #14547) |
| | | - Correction d'une typo dans la doc (par @wack6 dans #14552) |
| | | |
| | | ### 2.6.0 |
| | | |
| | | *2019-03-01* |
| | | |
| | | #### Nouvelles fonctionnalités |
| | | - Timeline |
| | | - Ajout d'un composant timeline (par @jikkai dans #14248) |
| | | - DropdownItem |
| | | - Ajout de la propriété `icon` à `el-dropdown-item` (par @gabrielboliveira dans #14088) |
| | | - Input |
| | | - Ajout de propriétés pour afficher les mots de passe (par @phshy0607 dans #13966) |
| | | - Select |
| | | - Ajout du slot `empty` (par @elfman au #13785) |
| | | - Autocomplete |
| | | - Ajout de la propriété `highlight-first-item` (par @YamenSharaf dans #14269) |
| | | - I18n |
| | | - Création de la locale Arménienne (par @hamletbarsamyan dans #14214) |
| | | - Docs |
| | | - Traduction française (par @smalesys dans #12153, #14418, #14434) |
| | | |
| | | #### Optimisation |
| | | - Alert |
| | | - Mise à jour de la classe du slot par défaut de la description de Alert (par @iamkun dans #14488) |
| | | - Input |
| | | - Mise à jour de l'input de type password (par @iamkun dans #14480) |
| | | - InputNumber |
| | | - Retrait d'un parseFloat inutile (par @JuniorTour au #14172) |
| | | - Menu |
| | | - Ajout du support de `el-menu-item` sans index (par @georgyfarniev dans #13298) |
| | | - Table |
| | | - Suppression de certaines opérations du DOM (par @elfman dans #13643) |
| | | - Upload |
| | | - Optimisation du code (par @elfman dans #13973) |
| | | - Popup |
| | | - Optimisation du code (par @KAionro dans #14413) |
| | | - Docs |
| | | - Ajout de détails sur la façon d'exécuter le mode play pour les contributeurs (par @island205 dans #14355) |
| | | - Ajout d'un avertissement concernant Input (par @wacky6 dans #14463) |
| | | - Mise à jour de la doc de Table (par @luguokong dans #14329) |
| | | - Mise à jour de la doc d'Input (par @iamkun dans #14437) |
| | | - Mise à jour de la doc sur le thème (par @wangguohaohao dans #14297) |
| | | - Le style de l'icône change lorsque vous passez dessus (par @tuxinghuan dans #14295) |
| | | - Build |
| | | - Minification du CSS et du JS pour le site d'Element (par @iamkun dans #14430) |
| | | - Accélération de webpack (par @hetech dans #14484) |
| | | - Utilisation du cli pour sélectionner la version de publication (par @hetech dans #14354) |
| | | - Installation de stale pour la gestion des issues (par @island205 dans #14392) |
| | | |
| | | #### Corrections de bugs |
| | | - Menu |
| | | - Correction d'un bug de focus des sous-menus lors du changement d'onglet du navigateur (par @liupl dans #13976) |
| | | - MessageBox |
| | | - Correction de la définition du type (par @NateScarlet dans #14278) |
| | | - ScrollBar |
| | | - Empêche le clic droit sur le bouton du pouce (par @xifeiwu dans #14196) |
| | | - Switch |
| | | - Déclenchement de la validation du formulaire si la valeur change (par @hetech dans #14426) |
| | | - Table |
| | | - La méthode toggleAllSelection est maintenant une méthode d'instance (par @letanure dans #14075) |
| | | - Tabs & Dropdown |
| | | - Correction du style (par @hetech dans #14452) |
| | | - Tree |
| | | - Les tips sont différents des tableaux (par @ColinCll dans #14331) |
| | | - Docs |
| | | - Correction d'une erreur de doc du DatetimePicker (par @iamkun dans #14290) |
| | | - Problème d'orthographe dans la documentation du DatePicker (par @helmut dans #14481) |
| | | - Correction du style de la doc de Pagination(par @liuchuzhang dans #14451) |
| | | |
| | | #### Breaking changes |
| | | - Table |
| | | - Fix params order of row events (by @jikkai in #12086) |
| | | |
| | | ### 2.5.4 |
| | | |
| | | *2019-02-01* |
| | | |
| | | #### Corrections de bugs |
| | | |
| | | - Build: Correction d'un problème de configuration de babel qui cassait la transition collapse (par @island205 dans #14282) |
| | | |
| | | ### 2.5.3 |
| | | |
| | | *2019-01-31* |
| | | |
| | | #### Optimisation |
| | | |
| | | - Optimisation du code de Message (par @vok123 dans #14029) |
| | | - Suppression des gh-pages (par @ziyoung dans #14266) |
| | | - Ajout du lien IssueHunt (par @island205 dans #14261) |
| | | |
| | | #### Corrections de bugs |
| | | |
| | | - Correction d'une erreur du module UMD côté serveur (par @island205 dans #14242) |
| | | - Correction du style du TabBar actif (par @iamkun dans #14240) |
| | | - Correction d'une erreur de code dans la démo de Table (par @xunmeng dans #14253) |
| | | |
| | | ### 2.5.2 |
| | | |
| | | *2019-01-27* |
| | | |
| | | #### Optimisation |
| | | - Docs: |
| | | - Mise à jour du ChangeLog ES 2.5.1 (par @Gonzalo2310 dans #14231) |
| | | |
| | | #### Corrections de bugs |
| | | - Build: |
| | | - Suppression des commentaires non supprimés dans le module umd `lib/index.js` (par @island205 dans #14233) |
| | | - Correction d'une erreur d'exportation dans le module commonjs utilisé dans nuxt.js (par @island205 dans #14232) |
| | | - Correction des problèmes de build 2.5.1 (par @iamkun dans #14228) |
| | | |
| | | ### 2.5.1 |
| | | |
| | | *2019-01-26* |
| | | |
| | | #### Optimisation |
| | | - DatePicker: surbrillance du mois et de l'année courants (par @Debiancc dans #14211) |
| | | - Mise à jour du changelog 2.5.0 (par @wacky6 dans #14217) |
| | | |
| | | #### Corrections de bugs |
| | | - Correction d'un problème d'exportation due par la mise à jour du webpack (par @island205 dans #14220) |
| | | - Conservation de la docs 2.4.11 && nouveau sous-dossier pour 2.5+ (par @iamkun dans #14222) |
| | | |
| | | ### 2.5.0 |
| | | |
| | | *2019-01-25* |
| | | |
| | | #### Nouvelles fonctionnalités |
| | | - DatePicker |
| | | - Ajout de l'attribut `validate-event` (par @ziyoung dans #13531) |
| | | - DateTimePicker |
| | | - `pickerOptions` supporte l'option `selectableRange` (par @eeeeeeeeeeeason) |
| | | - Tag |
| | | - Ajout de l'événement `click` (par @licdream dans #14106) |
| | | - I18n |
| | | - Support de la langue kirghize (par @zzjframework dans #14174) |
| | | |
| | | #### Optimisation |
| | | - Mise à niveau vers webpack@4 (par @jikkai dans #14173) |
| | | - Input |
| | | - Simplification de l'implémentation, suivant un flux de données à sens unique. Correction de plusieurs bugs liés. (par @wacky6 dans #13471) |
| | | - Mise à jour du fichier Axure avec de nouveaux composants (par @ziyoung dans #13773) |
| | | |
| | | #### Corrections de bugs |
| | | - Autocomplete |
| | | - Correction de la dernière ligne du menu déroulant qui était coupée (#13597) (par @ziyoung) |
| | | - Correction d'une flèche de popper manquante (#13762) (par @liuchuzhang) |
| | | - Carrousel |
| | | - Nettoyage du timer lorsque le composant est détruit (#13820) (par @elfman) |
| | | - Cascader |
| | | - Suppression de la propriété obsolète des props calculées (#13737) (par @iamkun) |
| | | - Correction de la définition du type CascaderOption dans TypeScript (#13613) (par @NateScarlet) |
| | | - Correction de l'icône couvrant le texte (#13596) (par @ziyoung) |
| | | - Checkbox |
| | | - Refonte du style (par @PanJiaChen) |
| | | - DatePicker |
| | | - Ajout d'un `key` de v-for manquant dans TimeSpinner (#13547) (par @Ende93) |
| | | - Correction du surlignage de la semaine dans la bordure de l'année (#13883) (par @suyi91) |
| | | - Input |
| | | - Correction de la référence de textarea dans le DOM (#13803) (par @laomu1988 @island205) |
| | | - Pagination |
| | | - La valeur d'entrée ne sera pas inférieure à 1 (#13727) (par @elfman) |
| | | - Popover |
| | | - Correction d'un problème de popover avec le déclencheur de hover (#13104) (par @goldengecko) |
| | | - Correction d'une fuite de mémoire de l'instance popper (#13988) (par @qpxtWhite) |
| | | - Radio |
| | | - Refonte du style (par @ohhhoney1) |
| | | - Table |
| | | - Amélioration du tri des tables en cliquant sur la flèche de tri (#12890) (par @ohhoney1) |
| | | - Correction d'un problème d'alignement vertical du texte vide sur IE10+ (#13638) (par @imzjy) |
| | | - Correction de la documentation sur le type d'index (#13628) (par @ilovefafafa) |
| | | - Correction du problème d'affichage `show-summary` lorsque le header multi-niveaux est fixe (#13914) (par @luckyCao) |
| | | - Tabs |
| | | - Correction d'un bug de défilement automatique (#13696) (par @iamkun) |
| | | - Obtenir l'onglet correct par le nom de l'onglet (#13705) (par @iamkun) |
| | | - Utilisez paneName au lieu de name pour déterminer le style du panneau (#13733) (par @iamkun) |
| | | - Tree |
| | | - Correction de la propriété `showCheckbox` sur `Tree` qui ne pouvait pas affecter leurs `tree-node` enfants(par @KidneyFlower) |
| | | - Mise à jour des fichiers de doc et de définition (#13540) (par @ziyoung) |
| | | - Upload |
| | | - Ajout de le propriété `url` au fichier uploadé lorsque `list-type` est modifié (#13771) (par @elfman) |
| | | - Slider |
| | | - Correction de l'indentation du code source (#13955) (par @wacky6) |
| | | - I18n |
| | | - Ajout des traductions manquantes en catalan (par @jaumesala) |
| | | - Ajout de la traduction russe manquante (#13658) (par @justlp) |
| | | - Correction des traductions en finnois (#14137) (par @jenkrisu) |
| | | - Doc |
| | | - Mise à jour de la documentation espagnol depuis la 2.4.11 (#13522) (par @Gonzalo2310) |
| | | - Autres |
| | | - Suppression d'un script inutile (par @ziyoung) |
| | | - Correction des ancres (#13753) (par @iamkun) |
| | | - Correction de l'incohérence des majuscules dans la documentation (par @wonderjar) |
| | | - Ajout du QR code du chat DingDing au readme (#13957) (par @iamkun) |
| | | - Ajout des logs yarn au .gitignore (#13922) (par @mimimi) |
| | | - Suppression du sponsor duotai (#14156) (par @island205) |
| | | - Mise à jour du QR code dans le readme (#13960) (par @iamkun) |
| | | - Mise à jour du lien CDN, correction d'une typo (par @ziyoung) |
| | | |
| | | ### 2.4.11 |
| | | |
| | | *2018-11-21* |
| | | |
| | | - Revert pr #13296. Correction d'un clic sur Menu externe causant l'effondrement du SubMenu, #13478 |
| | | - Ajustement des points de rupture media query sur petit écran (xs), #13468 (par @alekoshen712) |
| | | |
| | | ### 2.4.10 |
| | | |
| | | *2018-11-16* |
| | | |
| | | - Correction des clics multiples sur Select pour afficher la liste déroulante, #13268 |
| | | - L'icône d'effacement des champs n'est pas affichée lorsque Form est désactivé, #13208 |
| | | - Ajustement des styles de Select, Progress, Autocomplete, Tooltip, Collaspe, TimePicker, #13188 (par @porcelainHeart) #13210 #13266 #13266 #13257 #13290 #13347 (par @PanJiaChen) |
| | | - Ajout de l'attribut `loop` dans le composant Carrousel, #13217 |
| | | - Lorsque les données de Table changent, la ligne en surbrillance reste, #13200 |
| | | - Le slot du header de Table peut recevoir des paramètres, #13263 |
| | | - La méthode `clearFilter` de Table peut recevoir des arguments, #13176 |
| | | - La bulle d'aide n'est plus créée lorsqu'il n'y a pas de contenu dans la cellule de Table, #13152 (par @rongxingsun) |
| | | - Le contenu de la zone de saisie du panneau ColorPicker peut être affiché correctement, #13278 |
| | | - ColorPicker ne déclenche plus la validation des formulaires lors du glisser-déposer, #13299 |
| | | - InputNumber: ajout de la méthode `select`, #13286 (par @st-sloth) |
| | | - AutoComplete: ajout de l'événement `clear`, #12171(par arthurdenner) #13326 |
| | | - Vous pouvez fermer Menu en cliquant à l'extérieur, #13296 |
| | | - La méthode `validateField` du formulaire peut recevoir des arguments, #13319 |
| | | - Cascader: ajout de l'événement `visible-change`, #13415 |
| | | - DatePicker: a ajout d'un slot pour les séparateurs d'intervalle, #13272 (par @milworm) |
| | | - Tree: ajout des propriétés `iconClass` et `currentNodeKey`, #13337 #13197 (par @isnifer) |
| | | - Progress: ajout du texte de statut #13198 (par @ali-master) |
| | | - Correction de `defaultCheckedKeys` de Tree, #13349 (par @dive2Pro) |
| | | |
| | | ### 2.4.9 |
| | | |
| | | *2018-10-26* |
| | | |
| | | - Le paramètre `clearValidate` de Form supporte les strings #12990 (par @codinglobster) |
| | | - Ajout de l'attribut `type` pour Badge, #12991 |
| | | - Les utilisateurs peuvent utiliser scoped-slot pour personnaliser l'en-tête de colonne de Table #13012 (par @ivanseidel) |
| | | - Correction du champ de Select incapable d'entrer du texte sous IE, #13034 (par @GaliMU) |
| | | - Les options Select ne s'enroule pas lorsque l'espace est suffisant, #12329 (par @akki-jat) |
| | | - Lorsque la liste déroulante de Select est ouverte, l'icône de la flèche s'affichera également correctement, #12353 (par @firesh) |
| | | - Correction de l'attribut de taille de Select qui ne fonctionnait pas, #13070 |
| | | - La sélection de plusieurs valeurs peut aussi être effacée, #13049 (par @ZSkycat) |
| | | - Correction du dernier TabNav qui ne pouvait pas être supprimé, #13039 |
| | | - Correction d'un problème d'affichage du label TabNav, #13178 |
| | | - Ajout d'un slot de titre pour Alert, #13082 (par @Kingwl) |
| | | - Correction d'un problème où le contenu de l'infobulle de Table était incorrect, #13159 (par @elfman) |
| | | - Optimisation de l'animation de Upload lorsque le fichier est supprimé, #12987 |
| | | - Style ajusté pour InputNumber lorsque le bouton de commande n'est pas affiché, #13052 |
| | | |
| | | ### 2.4.8 |
| | | |
| | | - Ne pas afficher le contour lorsque le Switch est focus, #12771 |
| | | - Correction du style de Dropdown dans ButtonGroup, #12819 (par @bluejfox) |
| | | - Ajout d'un événement d'ouverture pour Dialog, #12828 |
| | | - Correction de l'ordre d'affichage incorrect de TabNav, #12846 |
| | | - Correction d'un problème qui empêchait les Tabs de défiler jusqu'à l'onglet sélectionné, #12948 |
| | | - Correction d'un problème de l'identificateur qui ne s'affiche pas lorsque le noeud de Tree est glissé, #12854 |
| | | - Le paramètre de l'événement validation du formulaire contient le message de validation #12860 (par @YamenSharaf). |
| | | - Correction de DatePicker pour ne pas vérifier la validité du temps d'entrée de l'utilisateur, #12898 |
| | | - Correction d'un problème avec l'attribut `render-header` de l'en-tête de table qui ne fonctionnait pas, #12914 |
| | | |
| | | ### 2.4.7 |
| | | |
| | | *2018-09-14* |
| | | |
| | | - Correction de DatePicker ne déclenchant pas la validation du formulaire, #12328 #12348 |
| | | - Correction des erreurs lancées par DatePicker en mode multiple, #12347 |
| | | - Correction d'une position incorrecte du spinner de DatePicker, #12415 (par @rang-ali) |
| | | - Correction du remplissage automatique de la zone de saisie de DatePicker, #12521 (par @abdallanayer) |
| | | - Correction du champ non-subrillant dans Cascader, #12341 |
| | | - Correction d'un mauvais ordre de Tabpane, #12346 |
| | | - Correction d'une position incorrecte du curseur ColorPicker, #12376 (par @cnwhy) |
| | | - Correction du style de SubMenu, #2457 |
| | | - Correction de la surbrillance après la sélection de SubMenu, #12479 |
| | | - Correction des valeurs incorrectes sélectionnées par Cascader, #12508 (par @huangjinqiang) |
| | | - Correction d'une valeur incorrecte dans le champ d'entrée Pagination, #12525 |
| | | - Correction de l'ordre dans lequel la Pagination déclenche les événements, #12530 |
| | | - Correction des filtres de table non-affichés, #12539 |
| | | - Correction de l'arbre incapable de supprimer des nÅuds, #12684 |
| | | - Correction de la hauteur de Select Input changeant en mode simple, #12719 |
| | | - Correction d'un style du label de FormItem sous forme imbriquée, #12748 |
| | | - Ajout de l'attribut `autocomplete` pour Input, `auto-complete` devenant obsolète, #12514 (par @axetroy) |
| | | - Ajout des slots-scope pour Form pour afficher les informations de validation, #12715 (par @YamenSharaf) |
| | | |
| | | ### 2.4.6 |
| | | |
| | | *2018-08-09* |
| | | |
| | | - Correction de Table n'affichant pas l'icône de filtre lorsque `filters` est un tableau vide, #12165 |
| | | - Correction de Menu ne sauvegardant pas l'état actif lorsque `collapse` change, #12178 (par @elfman) |
| | | - Correction du Cascader n'échappant pas les caractères spéciaux poue les Regexp, #12248 |
| | | - Correction d'un bouton Radio désactivé affichant l'ombre d'une case lorsqu'on clique dessus, #12262 |
| | | - Correction de arrow key qui n'a pas d'effet lorsque la valeur par défaut est `undefined`, #12322 |
| | | - Correction de la fonction de requête de Select non-stabilisée en mode multi, #12181 |
| | | - Correction du mot-clé de la requête Select disparaissant en mode multi, #12304 |
| | | - Correction d'une largeur incorrecte de Dialog lorsqu'il est affiché en plein écran, #12203 |
| | | - Correction de l'affichage incorrect de Main sur IE, #12237 |
| | | - Correction de Input déclenchant deux validations de formulaire, #12260 |
| | | - Correction de l'ajout d'un nouveau nÅud d'arborescence provoquant la disparition des nÅuds, #12256 |
| | | - Correction d'un nÅud d'arborescence non supprimé après avoir glissé, #12279 |
| | | - Correction du Popover non-visible quand InputNumber a le focus, #12284 |
| | | - Ajout de l'attribut `popper-append-to-body` pour Autocomplete, #12241 |
| | | - Ajout du support du modificateur `sync` pour l'attribut `page-size` de Pagination, #12281 |
| | | |
| | | ### 2.4.5 |
| | | |
| | | *2018-07-26* |
| | | |
| | | - Correction du réglage de Table `class-name` qui ne fonctionne pas pour les colonnes `expand`, #12006 |
| | | - Ajout de la méthode `toggleAllSelection` pour Table, #12047 |
| | | - Correction d'une mauvaise position du slot de suffixe lorsque Input contient Select, #12108 |
| | | - Correction de `line-height` de l'option impossible à régler, #12120 |
| | | - Correction de TimeSelect avec la valeur par défaut `null` ne pouvant être assigné après avoir exécuté `resetField`, #12010 |
| | | - Correction d'un événement keydown qui n'étant pas arrow key ne fonctionne pas dans Tree, #12008 |
| | | - Correction d'un nÅud parent vérifié en mode lazy, #12106 |
| | | - Ajout du paramètre `includeHalfChecked` pour getCheckedNodes de Tree, #12014 |
| | | |
| | | ### 2.4.4 |
| | | |
| | | *2018-07-13* |
| | | |
| | | - Correction du déclenchement de la validation de Select après la réinitialisation du formulaire, #11837 |
| | | - Correction d'une mauvaise position du slot `suffix` de Input lorsque le slot `suffixe` est avec le slot `append`, #11951 |
| | | - Correction de Input affichant toujours l'icône clear même en lecture seule, #11967 |
| | | - Correction d'un nÅud d'arborescence coché lorsqu'il est désactivé, #11847 |
| | | - Correction des `default-checked-keys` qui ne fonctionnait pas, #11971 |
| | | - Correction de `empty-text` non visible lorsque le noeud de Tree est filtré, #11971 |
| | | - Correction de la position du `empty-text` surdimensionné dans Table, #11965 |
| | | - Correction de la surbrillance de la ligne de Table lorsque `current-row-key` est assignée à `null`, #11866 |
| | | - Correction de l'affichage de la liste déroulante des filtres lorsque `filters` est un tableau vide, #11864 |
| | | - Correction du label de Radio qui n'arrête pas la propagation des événements, #11912 |
| | | |
| | | ### 2.4.3 |
| | | |
| | | *2018-07-03* |
| | | |
| | | - Correction de `allow-drop` qui ne fonctionnait pas correctement lorsque les nÅuds de Tree avaient une hauteur personnalisée, #11797 |
| | | - Maintenant vous pouvez passer un paramètre à la méthode `clearValidate` du formulaire, en spécifiant quels résultats de validation FormItems doivent être effacés, #11821 |
| | | - Ajout de l'attribut `distinguishCancelAndClose` pour MessageBox, #11831 |
| | | |
| | | ### 2.4.2 |
| | | |
| | | *2018-06-26* |
| | | |
| | | - Maintenant `class-name` et `label-class-name` de Table sont réactifs, #11626 |
| | | - Correction de Table qui mettait toujours en surbrillance la ligne cliquée lorsque `highlight-current-row` était `false`, #11646 |
| | | - Correction d'un bug de style de ButtonGroup lorsqu'il n'a qu'un seul bouton `round` ou `circle`, #11605 |
| | | - Correction du style du Select de Pagination, #11622 |
| | | - Correction de la méthode `open` du menu quand `collapse` est dynamiquement changé, #11646 |
| | | - Ajout des paramètres `activeName` et `oldActiveName` au hook before-leave de Tabs, #11713 |
| | | - Correction de Cascader ayant le focus après avoir cliqué à l'extérieur, #11588 |
| | | - Correction de Cascader ne se fermant pas quand l'option est cliquée quand `change-on-select` est `true`, #11623 |
| | | - La mise à jour programmatique de la valeur de Select déclenchera la validation du formulaire, #11672 |
| | | |
| | | ### 2.4.1 |
| | | |
| | | *2018-06-08* |
| | | |
| | | - Suppression du duplicata de la déclaration de type pour Autocomplete, #11388 |
| | | - Correction du style de flèche déroulante de Select dans FireFox lorsqu'il est imbriqué dans Form, #11427 |
| | | - Correction de l'icône de l'option de Select qui s'affiche toujours lorsque la valeur initiale est `null`, #11460 |
| | | - Correction d'un Radio désactivé affichant l'ombre de la boîte quand on clique dessus, #11462 |
| | | - Ajout de l'attribut `iconClass` pour MessageBox, #11499 |
| | | - Ajout de l'attribut `stretch` pour Tabs, #11476 |
| | | - Correction d'un problème d'ordre de rendu de TabPane lorsque Tabs est `lazy`, #11461 |
| | | - Correction de Table ne conservant pas la surbrillance de la ligne actuelle lors de son ouverture, #11464 |
| | | - Correction de l'état de la mise au point lorsque `before-leave` renvoie une promesse résolue, #11386 |
| | | - Correction de la désactivation du Popover qui créait encore des poppers, #11426 |
| | | - Correction de la boucle sans fin de Tree lorsqu'un nouveau noeud est ajouté en mode lazy, #11430 (par @wangjingf) |
| | | - Ajout de l'événement `closed` pour Dialog, #11490 |
| | | |
| | | ### 2.4.0 Fullerene |
| | | |
| | | *2018-05-28* |
| | | |
| | | #### Nouvelles fonctionnalités |
| | | - Général |
| | | - L'outil de développement et le bundler sont basculés vers le webpack natif, #11216 |
| | | - Vous pouvez maintenant définir globalement l'index z initial des popups, #11257 |
| | | - Autocomplete |
| | | - Ajout de l'attribut `hide-loading`, #11260 |
| | | - Button |
| | | - Vous pouvez maintenant utiliser l'attribut `size` sur les boutons circulaires pour contrôler leur taille, #11275 |
| | | - InputNumber |
| | | - Ajout de l'attribut `precision`, #11281 |
| | | - Tabs |
| | | - Ajout de l'attribut `before-leave`, #11259 |
| | | - Ajout de l'attribut `lazy`, #11167ï¼by @Kingwlï¼ |
| | | - Table |
| | | - Ajout de la méthode `sort` pour trier manuellement la table, #11311 |
| | | |
| | | #### Corrections de bugs |
| | | - Input |
| | | - Correction d'un problème qui provoquait un re-rendu lors de l'utilisation de l'IME chinois pour saisir rapidement du texte, #11235 (par @STLighter) |
| | | - Popover |
| | | - Correction de l'erreur de console lorsque l'élément déclencheur est Radio ou Checkbox, #11265 |
| | | - Breadcrumb |
| | | - Correction de l'attribut `to` ne supportant pas la mise à jour dynamique, #11286 |
| | | - Upload |
| | | - Correction de l'erreur de console lorsqu'un fichier est résolu dans la promesse retournée de la méthode `beforeUpload`, #11297 (par @qusiba) |
| | | - Infobulle |
| | | - Correction d'une flèche mal positionnée lorsque le contenu est vide, #11335 |
| | | - Autocomplete |
| | | - Correction de suggestions d'entrée incorrectes après la suppression rapide d'un mot-clé, #11323 |
| | | - ColorPicker |
| | | - Correction d'un événement `active-change` se déclenchant incorrectement lorsque le menu déroulant du picker est fermé, #11304 |
| | | - Table |
| | | - Correction d'une erreur de style du panneau de filtre surdimensionné, #11314 |
| | | - Correction de la ligne actuellement sélectionnée qui n'était pas conservée lors du tri de la table, #11348 |
| | | - Checkbox |
| | | - Correction d'une checkbox unique ne supportant pas la validation, #11271 |
| | | - Radio |
| | | - Correction du Radio désactivé quand même sélectionné en appuyant sur la touche espace, #11303 |
| | | - MessageBox |
| | | - Correction de la classe `el-popup-parent-hidden` qui n'était pas supprimée à l'ouverture successive de MessageBox, #11371 |
| | | |
| | | ### 2.3.9 |
| | | |
| | | *2018-05-18* |
| | | |
| | | - Correction d'une erreur lorsque les données source n'ont pas le champ spécifié par l'attribut `prop` d'une TableColumn, lorsque la souris se déplace dans les cellules de cette colonne, #11137 |
| | | - L'attribut `lockScroll` des composants popup n'ajoute plus un style en ligne à l'élément parent, mais ajoute un nom de classe, #1111114 |
| | | - Correction de l'icône de Progression qui ne s'affichait pas quand son `status` était une exception, #11172 |
| | | - Correction de l'attribut `désactivé` qui ne fonctionnait pas dans la liste des résultats de filtrage du Cascader filtrable, #11185 |
| | | - Correction d'un problème où la ligne étendue de la table ne peut pas être réduite si la source de données est mise à jour après son extension, #11186 |
| | | - `setCurrentKey` de Tree accepte maintenant `null` comme paramètre pour annuler le noeud actuellement mis en surbrillance, #11205 |
| | | |
| | | ### 2.3.8 |
| | | |
| | | *2018-05-11* |
| | | |
| | | - Correction du saut du panneau DatePicker au mois courant après avoir choisi une date dans un mois non courant quand `type` est dates, #10973 |
| | | - Correction de l'Input effaçable affichant toujours l'icône d'effacement en lecture seule, #10912 |
| | | - Correction de la fermeture du panneau DatePicker sans changer la valeur déclenchant incorrectement l'événement `change`, #11017 |
| | | - Correction d'un problème de navigation du clavier lorsque Select a regroupé les options, #11058 |
| | | - Ajout du slot nommé `préfixe` pour Select, #11063 |
| | | - Ajout de la méthode `clearValidate` pour FormItem, #11076 |
| | | - Ajout de l'attribut `checkOnClickNode` pour Tree, #1111111 |
| | | |
| | | ### 2.3.7 |
| | | |
| | | *2018-04-29* |
| | | |
| | | - Correction d'une table qui ne mettait pas à jour ses largeurs de headers lorsque la barre de défilement disparaissait à cause du filtrage, #10834 |
| | | - Correction de l'Input effaçable affichant toujours l'icône d'effacement lorsque sa valeur initiale est `null`, #10912 |
| | | - Correction d'un déclencheur incorrect de l'événement `active-change` après avoir changé la valeur liée de ColorPicker par programmation, #10903 (par @zhangbobell) |
| | | - Correction du Select filtrable qui provoquait une boucle infinie lors de la navigation dans les options à l'aide du clavier si toutes les options sont désactivées, #10945 |
| | | |
| | | ### 2.3.6 |
| | | |
| | | *2018-04-21* |
| | | |
| | | - Correction d'un comportement incorrect du callback `allow-drop` de Tree lorsque le paramètre `type` est utilisé, #10821 |
| | | - Maintenant vous pouvez entrer correctement les mots-clés dans le Select simple filtrable dans IE11, #10822 |
| | | - Correction d'un Select simple déclenchant incorrectement un événement `blur` après avoir cliqué sur une option, #10822 |
| | | |
| | | ### 2.3.5 |
| | | |
| | | *2018-04-20* |
| | | |
| | | - Correction d'une surbrillance incorrecte dans le panneau DatePicker lorsque `type` est la semaine, #10712 |
| | | - Correction d'un InputNumber vide lorsque sa valeur initiale est 0, #10714 |
| | | - Ajout de l'attribut `automatic-dropdown` pour Select, #10042 (par @Seebiscuit) |
| | | - Correction de Rate désactivé quand même mis à jour par les touches de navigation, #10726 (par @Richard-Choooou) |
| | | - L'attribut `type` de DatePicker peut être `dates`, où vous pouvez choisir plusieurs dates dans un sélecteur, #10650 (par @Mini256) |
| | | - Ajout des événements `prev-click` et `next-click` pour Pagination, #10755 |
| | | - Ajout de l'attribut `pager-count` pour Pagination, #10493 (par @chongjohn716) |
| | | - Ajout de `type` comme 3ème paramètre de l'attribut `allow-drop` de Tree, #10792 |
| | | - Nous utilisons maintenant ResizeObserver pour détecter le redimensionnement des éléments DOM, #10779 |
| | | |
| | | ### 2.3.4 |
| | | |
| | | *2018-04-12* |
| | | |
| | | - Suppression du double de l'attribut `showTimeout` dans la déclaration TypeScript de SubMenu, #10566 (par @kimond) |
| | | - Vous pouvez maintenant personnaliser les éléments de Transfert en utilisant le scoped slot, #10577 |
| | | - Correction d'un clic sur le bouton précédent désactivé et le bouton suivant de la pagination déclenchant toujours l'événement `current-current-change`, #10628 |
| | | - Correction de Textarea affichant `undefined` dans le SSR lorsque sa valeur n'est pas définie, #10630 |
| | | - Correction de la désactivation du style TabItem lorsque `type` est border-card, #10640 |
| | | - Ajout de `$index` comme quatrième paramètre du `formatter` de la Table, #10645 |
| | | - Correction de CheckboxButton non exporté dans la déclaration TypeScript, #10666 |
| | | |
| | | ### 2.3.3 |
| | | |
| | | *2018-04-04* |
| | | |
| | | - Ajout de l'attribut `shadow` pour Card, #10418 (par @YunYouJun) |
| | | - Correction de Badge masqué lorsque `value` est `0`, #10470 |
| | | - Correction de quelques bugs de Tree, #10474 #10494 |
| | | - Ajout de `placement` pour Autocomplete, #10475 |
| | | - L'attribut `default-time` fonctionne également dans DateTimePicker, #10321 (par @RickMacTurk) |
| | | - Suppression du contour bleu de TabItem après que le navigateur n'ait plus le focus ou soit minimisé, #10503 |
| | | - Ajout de l'attribut `popper-append-to-body` pour SubMenu, #10515 |
| | | - Suppression du feedback visuel lors du survol d'un élément BreadcrumbItem non lié, #10551 |
| | | - Correction de l'événement `change` d'InputNumber pour s'assurer que la valeur liée du composant est mise à jour dans le gestionnaire d'événements, #10553 |
| | | |
| | | ### 2.3.2 |
| | | |
| | | *2018-03-29* |
| | | |
| | | - Correction d'une régression d'Autocomplete, #10442 |
| | | |
| | | ### 2.3.1 |
| | | |
| | | *2018-03-29* |
| | | |
| | | - Correction d'une régression de `type` d'Inputqui n'était pas transmis à l'élément natif, #10415 |
| | | - Ajout de la méthode `blur` pour Select, #10416 |
| | | |
| | | #### 2.3.0 Diamant |
| | | |
| | | *2018-03-28* |
| | | |
| | | #### Nouvelles fonctionnalités |
| | | - Table |
| | | - Maintenant le `formatter` de TableColumn peut être mis à jour dynamiquement, #10184 (par @elfman) |
| | | - Ajout de l'attribut `select-on-indeterminate`, #9924 (par @syn-zeta) |
| | | - Menu |
| | | - Ajout de l'attribut `collapse-transition`, #8809 (par @limichange) |
| | | - Input |
| | | - Ajout de la méthode `select`, #10229 |
| | | - Ajout de la méthode `blur`, #10356 |
| | | - ColorPicker |
| | | - Ajout de l'attribut `predefine`, #10170 (par @elfman) |
| | | - Tree |
| | | - Ajout des attributs `draggable`, `allow-drop` et `allow-drag`, et `node-drag-start`, `node-drag-enter`, `node-drag-leave`, `node-drag-leave`, `node-drag-over`, `node-drag-end` et `node-drop`, #9251 #10372 (par @elfman) |
| | | - Form |
| | | - La méthode `validate` a maintenant un deuxième paramètre, contenant l'information des éléments de formulaire qui ont échoué à la validation, #10279 |
| | | - Ajout de l'événement `validate`, #10351 |
| | | - Progress |
| | | - Ajout de l'attribut `color`, #10352 (par @YunYouJun) |
| | | - Button |
| | | - Ajout de l'attribut `circle`, #10359 (par @YunYouJun) |
| | | |
| | | #### Corrections de bugs |
| | | - Form |
| | | - Correction du label de FormItem non aligné avec l'Input mixte, #10189 |
| | | - Menu |
| | | - Désormais, le menu réduit n'affichera la bulle d'aide que lorsque le slot `title` de l'élément MenuItem est défini, #10193 (par @PanJiaChen). |
| | | - Pagination |
| | | - Correction d'un événement `current-current-change` qui se déclenchait incorrectement sans interaction de l'utilisateur, #10247 |
| | | - DatePicker |
| | | - Maintenant, la date et l'heure dans le panneau déroulant sont correctement formatées en fonction de l'attribut `format`, #10174ï¼by @remizovvvï¼ |
| | | - Upload |
| | | - Correction de l'attribut `accept` qui ne fonctionnait pas quand `drag` est vrai, #10278 |
| | | |
| | | ### 2.2.2 |
| | | |
| | | *2018-03-14* |
| | | |
| | | - Ajout de l'événement `clear` pour Input, #9988 (par @blackmiaool) |
| | | - Maintenant la saisie manuelle de ColorPicker supporte les modes `hsl`, `hsv` et `rgb`, #9991 |
| | | - Correction de DatePicker ne déclenchant pas l'événement `change` lorsque sa valeur initiale est effacée, #9986 |
| | | - Maintenant les attributs liés à la classe d'icônes de Rate supportent les mises à jour dynamiques, #10003 |
| | | - Correction de Table avec des colonnes fixes dont la hauteur n'est pas mise à jour correctement si `max-height` est réglé, #10034 |
| | | - Maintenant le mode plage de DatePicker supporte la sélection inverse (en cliquant sur la date de fin, puis sur la date de début), #8156 (par @earlymeme) |
| | | - Ajout de l'attribut `désactivé` pour Pagination, #10006 |
| | | - Ajout des événements `after-enter` et `after-leave` pour Popover, #10047 |
| | | - Correction de Select ne déclenchant pas la validation lorsque l'utilisateur sélectionne une option après avoir exécuté `resetFields` du formulaire, #10105 |
| | | - Correction des largeurs incorrectes des colonnes fixes de Table dans certains cas, #10130 |
| | | - Correction de MessageBox héritant de l'attribut `title` de son instance précédente lorsqu'il était appelé sans `title`, #10126 (par @Pochodaydaydayup) |
| | | - Ajout de l'attribut `input-size` pour Slider, #10154 |
| | | - Ajout des événements `left-check-change` et `right-check-change` pour Transfer, #10156 |
| | | |
| | | ### 2.2.1 |
| | | |
| | | *2018-03-02* |
| | | |
| | | - Correction d'un rétrécissement de Aside, Header et Footer dans certaines mises en page, #9812 |
| | | - Correction de Table avec un attribut `height` qui ne rendait pas dans SSR, #9876 |
| | | - Correction d'une Table extensible ne calculant pas sa hauteur lorsqu'une rangée est agrandie, #9848 |
| | | - Correction d'un événement `change` qui ne se déclenchait pas lors de la saisie manuelle de la date dans DateTimePicker, #9913 |
| | | - Correction de Select affichant ses options lorsque la boîte de saisie est cliquée avec le bouton droit de la souris, #9894 (par @openks) |
| | | - Ajout de l'attribut `tooltip-class` pour Slider, #9957 |
| | | - Maintenant Select garde le focus après la sélection, #9857 (par @Seebiscuit) |
| | | - Ajout de l'attribut `target-order` pour Transfer, #9960 |
| | | |
| | | ### 2.2.0 Graphite |
| | | |
| | | *2018-02-12* |
| | | |
| | | #### Nouvelles fonctionnalités |
| | | - Menu |
| | | - Ajout des attributs `popper-class` et `disabled` pour le sous-menu, #9604 #9771 |
| | | - Le menu horizontal prend maintenant en charge le sous-menu multicouche, #9741 |
| | | - Tree |
| | | - Ajout de l'évènement `node-contextmenu`, #9678 |
| | | - Vous pouvez maintenant personnaliser le modèle de nÅud en utilisant un slot avec portée, #9686 |
| | | - Ajout des méthodes `getNode`, `remove`, `remove`, `append`, `insertBefore`, `insertAfter`, `getCheckedKeys`, `getHalfCheckedNodes`, `getHalfCheckedNodes`, `getHalfCheckedKeys` et de l'événement `check`, #9718 #9730 |
| | | - Transfer |
| | | - Ajout de la méthode `clearQuery`, #9753 |
| | | - Select |
| | | - Ajout de l'attribut `popper-append-to-body`, #9782 |
| | | |
| | | #### Corrections de bugs |
| | | - Table |
| | | - Correction d'un clic sur l'icône d'expansion d'une ligne extensible qui déclenche l'événement `row-click`, #9654 |
| | | - Correction de la mise en page non mise à jour lorsque la largeur des colonnes est modifiée par glisser-déposer de l'utilisateur, #9668 |
| | | - Correction d'un problème de style lorsque la ligne de résumé coexiste avec des colonnes fixes, #9667 |
| | | - Container |
| | | - Les composants fixes de Container ne s'étirent pas dans IE11, #9655 |
| | | - Loading |
| | | - Correction du chargement n'apparaissant pas lorsque la valeur de `v-loading` est changée en true dans le hook `mounted`, #9722 |
| | | - Switch |
| | | - Correction de deux événements de clics natifs déclenchés lorsque Switch est cliqué, #9760 |
| | | |
| | | ### 2.1.0 Charcoal |
| | | |
| | | *2018-01-31* |
| | | |
| | | #### Nouvelles fonctionnalités |
| | | - Cascader |
| | | - Ajout des événements `focus` et `blur`, #9184 (par @viewweiwu) |
| | | - Table |
| | | - La méthode `filter-method` a maintenant un troisième paramètre `column`, #9196 (par @liyanlong) |
| | | - DatePicker |
| | | - Ajout des attributs `prefix-icon` et `clear-icon`, #9237 (par @AdamSGit) |
| | | - Ajout de l'attribut `default-time`, #9094 (par @nighca) |
| | | - Le format `value-format` supporte maintenant `timestamp`, #9319 (par @wacky6) |
| | | - InputNumber |
| | | - Maintenant la valeur liée peut être `undefined`, #9361 |
| | | - Select |
| | | - Ajouté l'attribut `auto-complete`, #9388 |
| | | - Form |
| | | - Ajout de l'attribut `désactivé`, #9529 |
| | | - Ajout de l'attribut `validateOnRuleChange`, #8141 |
| | | - Notification |
| | | - Ajout de la méthode `closeAll`, #9514 |
| | | |
| | | #### Corrections de bugs |
| | | - InputNumber |
| | | - Correstion du reset lors de la saisie du point des nombres décimaux, #9116 |
| | | - Dropdown |
| | | - Correction du mauvais positionnement du menu déroulant lorsque la page n'a qu'une barre de défilement horizontale dans certains navigateurs, #9138 (par @banzhuanmei) |
| | | - Table |
| | | - Correction d'une erreur dans le calcul du nombre de colonnes fixes après les changements de données des colonnes, #9188ï¼by @kolesoffacï¼ |
| | | - Correction de la bordure de la dernière colonne de l'en-tête groupé qui n'était pas correctement affichée, #9326 |
| | | - Correction d'un positionnement incorrect de l'en-tête du tableau dans Safari, #9327 |
| | | - Correction de la réduction des lignes extensibles lorsque les données de la table changent, #9462 |
| | | - Correction de rendus multiples inutiles dans certaines conditions, #9426 |
| | | - Correction d'une erreur de calcul de la largeur de colonne lors de la modification de `width` de TableColumn, #9426 |
| | | - Loading |
| | | - Correction de Loading ne se cachant pas correctement dans certaines conditions, #9313 |
| | | - DatePicker |
| | | - Correction de la méthode `focus` qui ne fonctionnait pas en mode "range", #9437 |
| | | - Correction du clic sur le bouton "now" qui sélectionnait toujours la date actuelle même si elle était désactivée, #9470 (par @wacky6) |
| | | - Correction d'une date trop serrée lors de la navigation, #9577 (par @wacky6) |
| | | - Steps |
| | | - Correction d'une erreur de style dans IE 11, #9454 |
| | | |
| | | #### Changements |
| | | - Menu |
| | | - Le menu contextuel en mode `collapse` s'ajoute maintenant directement à `body`, de sorte qu'il est visible lorsqu'il est imbriqué dans Aside, #9263 |
| | | - Table |
| | | - Maintenant, cocher les cases dans la Table multi-sélection ne déclenche pas l'événement `row-click`, #9467 |
| | | - Loading |
| | | - Le `z-index` du masque de chargement non plein écran est changé à 2000. Le `z-index` du masque de chargement plein écran se mettra à jour dynamiquement avec les composants popup, #9522 |
| | | - Dropdown |
| | | - Les attributs `show-timeout` et `hide-timeout` ne fonctionnent maintenant que lorsque le déclencheur est `hover`, #9573 |
| | | |
| | | ### 2.0.11 |
| | | |
| | | *2018-01-08* |
| | | |
| | | - Correction d'un problème de couleur de bordure de Select dans les slots `prepend` ou `append` de Input, #9089 |
| | | - Correction du paramètre `remove-tag` de l'événement Select, #909090 |
| | | - Ajout des attributs `show-timeout` et `hide-timeout` pour le sous-menu, #8934 (par @HugoLew) |
| | | - Correction d'un style Tooltip manquant de `show-overflow-tooltip` lors de l'importation de Table sur demande, #9130 |
| | | - Correction d'un dysfonctionnement du tri des colonnes de la table après l'exécution de `clearSort` sur cette colonne, #9100 (par @zEmily) |
| | | - Le fichier de configuration i18n pour le tchèque est renommé de `cz` en `cs-CZ`, #9164 |
| | | |
| | | ### 2.0.10 |
| | | |
| | | *2017-12-29* |
| | | |
| | | - Calcul erroné de la hauteur du tableau lorsque la colonne fixe et la ligne de somme coexistent, #9026 |
| | | - Correction d'un style de couleur non compilé du texte vide dans le tableau, #9028 |
| | | - Maintenant, DatePicker n'émet que l'événement `change` quand la valeur est vraiment changée, #9029 (par @remizovvvv) |
| | | - Ajout de l'attribut `tabindex` pour Input, #9041 (par @dicklwm) |
| | | |
| | | ### 2.0.9ð |
| | | |
| | | *2017-12-24* |
| | | |
| | | - Ajouté la fonction de hook "avant suppression" pour Upload, #8788 (par @firesh) |
| | | - Correction de la valeur initiale de `error` qui ne fonctionnait pas pour FormItem, #8840 |
| | | - La directive Loading prend maintenant en charge le nom de classe personnalisé grâce à l'attribut `element-loading-custom-class`, #8826 (par @earlymeme) |
| | | - Correction CarouselItem devenant invisible lorsque les données sont mises à jour de manière asynchrone, #8921 |
| | | - Ajout de l'attribut `renderAfterExpand` pour Tree, #8972 |
| | | |
| | | ### 2.0.8 |
| | | |
| | | *2017-12-12* |
| | | |
| | | - Ajout de la documentation en espagnol |
| | | - Correction du `show-timeout` de Dropdown qui ne fonctionnait pas quand le déclencheur est click, #8734 (par @presidenten) |
| | | - Correction du temps de validation des formulaires pour les règles dont le déclencheur est blur, #8776 |
| | | - Correction d'un événement de blur de DatePicker avec intervalle, #8784 |
| | | - L'attribut `format` de TimePicker supporte maintenant AM/PM, #8620 (par @firesh) |
| | | |
| | | ### 2.0.7 |
| | | |
| | | *2017-11-29* |
| | | |
| | | - Correction du style du bouton de type texte désactivé, #8570 |
| | | |
| | | ### 2.0.6 |
| | | |
| | | *2017-11-29* |
| | | |
| | | - Correction d'un bug de style des icônes de tri de la table, #8405 |
| | | - Correction du mécanisme de déclenchement de Popover lorsque son `trigger` est manuel, #8467 |
| | | - Ajout des attributs `prefix-icon` et `suffix-icon` pour Autocomplete, #8446 (par @liyanlong) |
| | | - Ajout de l'attribut `separator` pour Cascader, #8501 |
| | | - Ajout de l'attribut `clearable` pour Input, #8509 (par @lbogdan) |
| | | - Ajout de l'attribut `background` pour Pagination, #8553 |
| | | |
| | | ### 2.0.5 |
| | | |
| | | *2017-11-17* |
| | | |
| | | - Correction de la régression Popover, Tree, Breadcrumb et Cascader dans 2.0.4, #8188 #8217 #8283 |
| | | - Correction d'une fuite de mémoire de la directive `clickoutside`, #8168 #8225 (par @badpunman @STLighter) |
| | | - Correction de la hauteur du Select multiple lorsque sa valeur est effacée, #8317 (par @luciy) |
| | | - Ajout de l'attribut `collapse-tags` pour plusieurs Sélectionner pour remplacer les balises par une ligne de texte, #8190 |
| | | - Correction d'une consommation CPU élevée causée par la table cachée, #8351 |
| | | - Maintenant vous pouvez utiliser la méthode `doLayout` de la Table pour mettre à jour sa disposition, #8351 |
| | | |
| | | ### 2.0.4 |
| | | |
| | | *2017-11-10* |
| | | |
| | | - Accessibilité améliorée pour Cascader, Dropdown, Message, Notification, Popover, Tooltip et Tree. |
| | | - Correction du redimensionnement de Container lorsque la largeur de la fenêtre d'affichage diminue, #8042 |
| | | - Correction de la suppression incorrecte de `updateKeyChildren` dans Tree, #8100 |
| | | - Correction de la hauteur de la CheckboxButton avec bordure lorsque le bouton est imbriqué dans un formulaire, #8100 |
| | | - Correction d'une erreur d'analyse du menu pour les couleurs personnalisées, #8153 (par @zhouyixiang) |
| | | |
| | | ### 2.0.3 |
| | | |
| | | *2017-11-03* |
| | | |
| | | - Correction des attributs `éditable` et `readonly` pour DatePicker avec intervalle, #7922 |
| | | - Correction d'une erreur de style des Tabs imbriqués, #7941 |
| | | - Correction d'une erreur de style de la dernière étape des Steps verticales, #7980 |
| | | - Correction de la synchronisation du déclenchement de l'événement `current-current-change` pour Pagination, #7995 |
| | | - Correction d'une infobulle non enregistrée dans Menu, #7995 |
| | | |
| | | ### 2.0.2 |
| | | |
| | | *2017-10-31* |
| | | |
| | | - Un clic droit sur les boutons de InputNumber ne changera pas sa valeur, #7817 |
| | | - La méthode `validate` de Form peut maintenant attendre des validations asynchrones avant d'exécuter son callback, #7774 (par @Allenice) |
| | | - Correction de la plage de sélection de DatePicker ne fonctionnant pas dans les navigateurs Chromium 53-57, #7838 |
| | | - Correction des icônes manquantes de prévisualisation et de suppression de Upload lorsque son `list-type` est picture-card, #7857 |
| | | - Ajout de l'attribut `sort-by` pour TableColumn, #7828 (par @wangfengming) |
| | | - Correction de DatePicker affichant parfois un mauvais numéro d'année lors de la sélection de la première semaine en mode semaine, #7860 (par @hhh23485) |
| | | - Correction d'une erreur de style d'icône des Steps verticales, #7891 |
| | | - La 'hot area' pour les flèches de nÅud dans Tree est étendue, #7891 |
| | | |
| | | ### 2.0.1 |
| | | |
| | | *2017-10-28* |
| | | |
| | | - Correction d'une erreur de style de RadioButton et CheckboxButton, #7793 |
| | | - Correction de TimePicker qui ne répondait pas au défilement de la souris dans certaines conditions, #7811 |
| | | - Correction des styles incomplets de certains composants lors de l'importation à la demande, #7811 |
| | | |
| | | ### 2.0.0 Carbon |
| | | |
| | | *2017-10-27* |
| | | |
| | | #### Nouvelles fonctionnalités |
| | | - Général |
| | | - Un nouveau thème : `theme-chalk`. |
| | | - L'accessibilité des éléments suivants est améliorée : Alert, AutoComplete, Breadcrumb, Button, Checkbox, Collapse, Input, InputNumber, Menu, Progress, Radio, Rate, Slider, Switch, Upload |
| | | - Ajout du typage TypeScript |
| | | - Toutes les icônes existantes sont redessinées. De nouvelles icônes sont ajoutées |
| | | - Ajout d'une série de classes basées sur les breakpoints qui masquent les éléments lorsque la taille de la fenêtre remplit certaines conditions |
| | | - Ajout des composants de mise en page : Container, Header, Aside, Main, Footer |
| | | - Vous pouvez maintenant configurer la taille des composants de manière globale. Lors de l'importation d'un élément, vous pouvez ajouter un objet de configuration global avec une propriété `size` pour configurer les tailles par défaut pour tous les composants. |
| | | - Button |
| | | - Ajout de l'attribut `round`. Il est utilisé pour les boutons à coins ronds #6643 |
| | | - TimeSelect |
| | | - Vous pouvez maintenant naviguer en appuyant sur les touches `Up` et `Down`, et en appuyant sur `Enter` vous sélectionnez l'heure #6023. |
| | | - TimePicker |
| | | - Vous pouvez maintenant naviguer à l'aide des touches fléchées, et en appuyant sur `Entrée` vous sélectionnez l'heure #6050. |
| | | - Ajout de `start-placeholder` et de `end-placeholder`. Ce sont des placeholders pour les deux champs en mode intervalle #7169 |
| | | - Ajout de l'attribut `farrow-control` pour faire tourner le temps avec les flèches #7438 |
| | | - Tree |
| | | - Maintenant les noeuds enfants ne font pas de rendu avant la première ouverture #6257 |
| | | - Ajout de l'attribut `check-descendants`. Il détermine si les nÅuds enfants sont vérifiés lors du contrôle de leur nÅud parent en mode `lazy` #6235 |
| | | - Tag |
| | | - Ajouté l'attribut `size` #7203 |
| | | - Datepicker |
| | | - Maintenant `timeFormat` peut formater le TimePicker quand le type est réglé sur `datetimerange` #6052 |
| | | - Ajout de `start-placeholder` et de `end-placeholder`. Ce sont des placeholders pour les deux champs en mode intervalle #7169 |
| | | - Ajout de l'attribut `value-format` pour personnaliser le format de la valeur liée, #7367 |
| | | - Ajout de l'attribut `unlink-panels` pour dissocier les deux panneaux de date lors de la sélection d'une plage de dates |
| | | - MessageBox |
| | | - Ajout de l'attribut `closeOnHashChange` #6043 |
| | | - Ajout de l'attribut `center` pour que le contenu puisse être centré #7029 |
| | | - Ajout de l'attribut `roundButton` pour afficher les boutons ronds #7029 |
| | | - Ajout de l'attribut `dangerouslyUseHTMLString`. Lorsqu'il est réglé sur `true`, `message` sera interprété comme une chaîne HTML<sup>\*</sup> #6043 |
| | | - Ajout de l'attribut `inputType` pour assigner le type de l'input intérieur, #7651 |
| | | - Dialog |
| | | - Ajout des attributs `width`ã`fullscreen`ã`append-to-body`. La boîte de dialogue peut maintenant être imbriquée |
| | | - Ajout de l'attribut `center` pour que le contenu puisse être centré #7042 |
| | | - Ajout de `focus-after-closed`ã`focus-after-open` pour améliorer l'accessibilité #6511 |
| | | - ColorPicker |
| | | - Maintenant vous pouvez taper les couleurs dans le champ de saisie #6167 |
| | | - Ajout des attributs `size` et `disabled` #7026 |
| | | - Ajout de l'attribut `popper-class` #7351 |
| | | - Message |
| | | - Maintenant la couleur des icônes peut être modifiée par CSS #6207 |
| | | - Ajout de l'attribut `dangerouslyUseHTMLString`. Lorsqu'il est réglé sur `true`, `message` sera interprété comme une chaîne HTML<sup>\*</sup> #6207 |
| | | - Ajout de l'attribut `center` pour que le contenu puisse être centré #6875 |
| | | - Notification |
| | | - Ajout de l'attribut `position` pour configurer où Notification apparaît #6231 |
| | | - Ajout de l'attribut `dangerouslyUseHTMLString`. Lorsqu'il est réglé sur `true`, `message` sera interprété comme une chaîne HTML<sup>\*</sup> #6231 |
| | | - Ajout de l'attribut `showClose` pour cacher le bouton de fermeture #6402 |
| | | - Rate |
| | | - Ajout de l'attribut `show-score` pour déterminer si le score actuel est affiché #6295 |
| | | - Tabs |
| | | - Ajout de l'attribut `tab-position` #6096 |
| | | - Radio |
| | | - Ajout des attributs `border` et `size` #6690 |
| | | - Checkbox |
| | | - Ajout des attributs `border` et `size` #6690 |
| | | - Alert |
| | | - Ajout de l'attribut `center` pour que le contenu puisse être centré #6876 |
| | | - Menu |
| | | - Ajout des attributs `background-color`, `text-color` et `active-text-color` #7064 |
| | | - Ajout des méthodes `open` et `close` pour ouvrir et fermer les sous-menus par programmation, #7412 |
| | | - Form |
| | | - Ajout de l'attribut `inline-message` pour déterminer si le message de validation est affiché en ligne #7032 |
| | | - Ajout de l'attribut `status-icon` pour afficher une icône de feedback après validation #7032 |
| | | - Form et FormItem ont maintenant un attribut `size`. Les composants internes hériteront de cette taille s'ils ne sont pas spécifiés sur eux-mêmes, #7428 |
| | | - La méthode `validate` retournera maintenant une promesse si le rappel est omis, #7405 |
| | | - Ajout de la méthode `clearValidate` pour la validation des résultats pour tous les éléments de formulaire, #7623 |
| | | - Input |
| | | - Ajout des attributs `suffixe` et `préfixe` des slots nommés, `suffixIcon` et `prefixIcon` pour ajouter du contenu dans la zone de saisie #7032 |
| | | - Breadcrumb |
| | | - Ajout de l'attribut `separator-class` pour supporter les icônes comme séparateurs d'éléments #7203 |
| | | - Steps |
| | | - Ajout de l'attribut `simple` pour activer les étapes de style simple #7274 |
| | | - Pagination |
| | | - Ajout des attributs `prev-text` et `next-text` pour personnaliser les textes des pages précédente et suivante #7005 |
| | | - Loading |
| | | - Maintenant vous pouvez personnaliser l'icône et la couleur de fond avec les propriétés `spinner` et `background` #7390 |
| | | - Autocomplete |
| | | - Ajout de l'attribut `debounce`, #7413 |
| | | - Upload |
| | | - Ajout des attributs `limit` et `on-exceed` pour limiter le nombre de fichiers, #7405 |
| | | - DateTimePicker |
| | | - Ajout de l'attribut `time-arrow-control` pour activer `arrow-control` du TimePicker imbriqué, #743838 |
| | | - Layout |
| | | - Ajout d'un nouveau point d'arrêt `xl` pour les fenêtres plus larges que 1920px |
| | | - Table |
| | | - Ajout de l'attribut `span-method` pour la fusion de cellules |
| | | - Ajout de la méthode `clearSort` pour effacer le tri par programmation |
| | | - Ajout de la méthode `clearFilter` pour effacer le filtre par programmation |
| | | - Pour les lignes extensibles, lorsqu'une ligne est étendue, une classe `.expanded` sera ajoutée à sa liste de classes, afin que vous puissiez personnaliser son style |
| | | - Ajout de l'attribut `size` |
| | | - Ajout de la méthode `toggleRowExpansionRowExpansion` pour ouvrir ou réduire les lignes extensibles par programmation |
| | | - Ajout de l'attribut `cell-class-name` pour assigner un nom de classe aux cellules |
| | | - Ajout de l'attribut `cell-style` pour le style des cellules |
| | | - Ajout de l'attribut `header-row-class-name` pour assigner un nom de classe aux lignes d'en-tête |
| | | - Ajout de l'attribut `header-row-style` pour le style d'en-tête |
| | | - Ajout de l'attribut `header-cell-class-name` pour assigner un nom de classe aux cellules d'en-tête |
| | | - Ajout de l'attribut `header-cell-style` pour le style des cellules d'en-tête |
| | | - L'attribut `prop` de la tableColumn accepte maintenant les notations `object[key]` |
| | | - Ajout de l'attribut `index` pour TableColumn pour personnaliser les index de lignes |
| | | - Select |
| | | - Ajout de l'attribut `reserve-keyword` pour réserver le mot-clé de la recherche courante après avoir sélectionné une option. |
| | | |
| | | #### Corrections de bugs |
| | | - DatePicker |
| | | - Correction de `v-model` retournant le deuxième jour de la semaine sélectionnée en mode semaine #6038 |
| | | - Correction de la première entrée effacée dans le type `daterange` #6021 |
| | | - DateTimePicker |
| | | - Correction de DateTimePicker et TimePicker s'affectant l'un l'autre lors de la sélection #6090 |
| | | - Correction de l'heure et de la seconde qui peuvent être au-delà de la limite en sélectionnant l'heure #6076 |
| | | - TimePicker |
| | | - Correction de `v-model` qui ne se mettait pas à jour correctement lors du blur #6023 |
| | | - Dialog |
| | | - Correction des textes ayant des bords flous lors de l'ouverture et de la fermeture des listes déroulantes imbriquées #6088 |
| | | - Select |
| | | - Performances améliorées. Maintenant Vue dev-tool ne crashera pas quand un grand nombre de Select sont détruits #6151 |
| | | - Table |
| | | - Correction d'un bug ou la table reste masquée lorsque son élément parent apparaît depuis `display : none` |
| | | - Correction de l'extension de la largeur de la table lorsque l'élément parent a `display : flex` |
| | | - Correction d'un bug qui corrigeait le fait que les colonnes d'une table avec l'emplacement `append` disparaissaient lorsque les données étaient récupérées dynamiquement |
| | | - Correction de l'attribut `expand-row-keys` qui ne fonctionnait pas avec la valeur initiale |
| | | - Correction d'une défaillance du filtre lors de la mise à jour de `data` |
| | | - Correction d'une erreur de calcul dans la mise en page des colonnes fixes avec en-têtes groupés |
| | | - Correction d'un bug dynamique de `max-height` |
| | | - Correction de quelques erreurs de calcul de style |
| | | |
| | | #### Breaking changes |
| | | - Général |
| | | - Suppression de `theme-default`. |
| | | - Compatible avec Vue 2.5.2+ et IE 10+ |
| | | - L'événement `change` des composants de formulaire et l'événement `current-current-change` de la pagination ne se déclenchent plus que lors de l'interaction de l'utilisateur |
| | | - L'attribut `size` de Button et les composants de formulaire acceptent maintenant `medium`, `small` et `mini` |
| | | - Pour faciliter l'utilisation d'icônes tierces, les attributs `icon` du bouton et des étapes, `prefix-icon` et `suffix-icon` d'Input nécessitent maintenant un nom de classe complet |
| | | - Dialog |
| | | - Suppression de l'attribut `taille`. Maintenant la taille de Dialog peut être configurée par `width` et `fullscreen` |
| | | - Maintenant la visibilité de Dialog ne peut plus être contrôlée par `v-model` |
| | | - Rate |
| | | - Le `text-template` est renommé `score-template` |
| | | - Dropdown |
| | | - `menu-align` est renommé en `placement`. Maintenant il supporte plus de positions |
| | | - Transfert |
| | | - le `footer-format` est renommé en `format` |
| | | - Switch |
| | | - Les attributs commençant par `on-**` seront analysés pour les événements dans JSX, ce qui rend tous les attributs `on-*` de Switch incapable de fonctionner en JSX. Ainsi, les attributs `on-**` sont renommés en `active-*`, et par conséquent les attributs `off-*` sont renommés en `inactive-*`. Cette modification affecte les attributs suivants: `on-icon-class`, `off-icon-class`, `on-text`, `off-text`, `off-text`, `on-color`, `off-color`, `on-value`, `off-value` |
| | | - Les attributs `active-text` et `inactive-text` n'ont plus de valeurs par défaut |
| | | - Tag |
| | | - L'attribut `type` accepte maintenant `success`, `info`, ` warning` et `danger` |
| | | - Menu |
| | | - Suppression de l'attribut `theme`. La couleur du menu peut être configurée en utilisant `background-color`, `text-color` et `active-text-color` |
| | | - Input |
| | | - Suppression de l'attribut `icon`. L'icône du suffixe peut maintenant être configurée à l'aide de l'attribut `suffix-icon` ou du slot `suffix-icon` |
| | | - Suppression de l'attribut `on-icon-click` et de l'événement `click`. Maintenant pour ajouter le gestionnaire de clic sur les icônes, veuillez utiliser les slots nommés |
| | | - L'événement `change` se comporte maintenant comme dans l'input natif, qui ne se déclenche qu'en cas de blur ou en appuyant sur Entrée. Si vous avez besoin de répondre à l'entrée de l'utilisateur en temps réel, vous pouvez utiliser l'événement `input` |
| | | - Autocomplete |
| | | - Suppression de l'attribut `custom-item`. Le template de suggestions d'entrée peut maintenant être personnalisé en utilisant `scoped slot`. |
| | | - Suppression de l'attribut `props`. Vous pouvez maintenant utiliser l'attribut `value-key` pour désigner le nom de clé de l'objet de suggestion d'entrée pour l'affichage. |
| | | - Steps |
| | | - Suppression de l'attribut `center` |
| | | - Maintenant le Steps va remplir son conteneur parent par défaut |
| | | - DatePicker |
| | | - Le paramètre de l'événement `change` de DatePicker est maintenant la valeur liée elle-même. Son format est contrôlé par `value-format` |
| | | - Table |
| | | - Suppression de la prise en charge de la personnalisation du modèle de colonne à l'aide de `inline-template` |
| | | - `sort-method` s'aligne maintenant avec `Array.sort`. Il devrait retourner un nombre au lieu d'un booléen |
| | | - L'emplacement `append` est déplacé à l'extérieur de l'élément `tbody` pour éviter les rendus multiples |
| | | - L'événement `expand` est renommé en `expand-change` |
| | | - Les paramètres de la méthode `row-class-name` et `row-style` sont maintenant un objet |
| | | |
| | | ## |
| | | <i><sup>*</sup> Rendre du HTML arbitraire de façon dynamique sur votre site Web peut être très dangereux car cela peut facilement mener à [des attaques XSS](https://en.wikipedia.org/wiki/Cross-site_scripting). Donc quand `dangerouslyUseHTMLString' est activé, assurez-vous que le contenu du `message' est fiable, et **ne jamais** assigner `message` au contenu fourni par l'utilisateur.</i>. |
¤ñ¹ï·sÀÉ®× |
| | |
| | | ## æ´æ°æ¥å¿ |
| | | |
| | | ### 2.15.13 |
| | | |
| | | *2023-02-12* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | - Docs |
| | | - ä¿®å¤ Statistic ææ¡ (#22383 by @JUST-Limbo) |
| | | - ä¿®å¤ Input ææ¡ (#22093 by @lm312) |
| | | - ä¿®å¤ en-US ææ¡ (#22268 #22269 #22270 by @Hazel-Lin) |
| | | - ä¿®å¤ Pagination ææ¡ (#22288 by @xujintai123) |
| | | - ä¿®å¤ Links ææ¡ (#22370 by @itmier) |
| | | - Statistics |
| | | - ä¿®å¤ slot æ¾ç¤ºé®é¢ (#22375 by @webvs2) |
| | | - Chore |
| | | - ä¿®å¤ web-type æä»¶ä¸¢å¤±é®é¢ (#22271 by @loosheng) |
| | | #### ä¼å |
| | | - InputNumber |
| | | - windows触æ¸å±ååºä¼å (#22185 by @mrsai) |
| | | - Image |
| | | - æ°å¢ initialIndex 屿§ (#22346 by @inkroom) |
| | | - Statistics |
| | | - countdown ç¹æ§æ´æ° (#22260 by @webvs2) |
| | | - 代ç ä¼åådocæ´æ° (#22276 by @webvs2) |
| | | - å
¶ä» |
| | | - web-type代ç ä¼å (#22281 by @whzxc) |
| | | |
| | | ### 2.15.12 |
| | | |
| | | *2022-11-16* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | - Statistics |
| | | - ä¿®æ¹ ååä½ é®é¢ (#22252 by @webvs2) |
| | | - å
¶ä» |
| | | - ä¿®å¤ 2.15.11çæ¬element-theme-chalkæªæååå¸ é®é¢ |
| | | |
| | | ### 2.15.11 |
| | | |
| | | *2022-11-15* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | - Docs |
| | | - ä¿®å¤ Radio ææ¡ (#22178 by @bchen1029) |
| | | - ä¿®å¤ Progress ææ¡ |
| | | #### ä¼å |
| | | - I18n |
| | | - æ´æ° 马æ¥è¥¿äºè¯ ç¿»è¯ (#22185 by @z4q) |
| | | - æ´æ° æªå¨è¯ ç¿»è¯ (#22145 by @Barsnes) |
| | | - Progress |
| | | - æ°å¢ defineBackColor å textColor 屿§ (#22089 by @lm312) |
| | | - Statistics |
| | | - æ°å¢ç»ä»¶ Statistics (#22159 by @webvs2) |
| | | - Other |
| | | - æ¹è¿WebStorm IDEåå
¶ä»JetBrains IDEä¸ç代ç å¸®å© (#22135 by @piotrtomiak) |
| | | |
| | | ### 2.15.10 |
| | | |
| | | *2022-09-13* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - DatePicker |
| | | - ä¿®å¤ props placement æ¥éä¿¡æ¯ é®é¢ (#21908 by @lqzhgood) |
| | | - Loading |
| | | - ä¿®å¤ ä½¿ç¨ Loading çDOMå
ç´ sticky失æ é®é¢ (#22087 by @zzjjhh001) |
| | | - Docs |
| | | - ä¿®å¤ Popover ææ¡ (#22083 by @lm312) |
| | | - ä¿®å¤ Skeleton ææ¡ (#22092 by @lm312) |
| | | - ä¿®å¤ DatePicker ææ¡ (#21970 by @guojiongwei) |
| | | - Tree |
| | | - ä¿®å¤ æå è½½é»è®¤éä¸ é®é¢ (#21934 by @kiss-yu) |
| | | |
| | | #### ä¼å |
| | | |
| | | - I18n |
| | | - æ°å¢ å§ä¼½ç½è¯ ç¿»è¯ (#21936 by @sayuri-gi) |
| | | - æ´æ° 西ççè¯ ç¿»è¯ (#21924 by @jcardus) |
| | | - æ°å¢ 马æ¥è¥¿äºè¯ ç¿»è¯ (#22028 by @iorange0411) |
| | | - æ´æ° æ¯ç¦å¸éè¯ ç¿»è¯ (#21904 by @Cholowao) |
| | | - Utils |
| | | - æ´æ° date-util.js (#22099 by @Due07) |
| | | - DatePicker |
| | | - æ°å¢ months å years ç±»å (#21918 by @akiko123456) |
| | | |
| | | ### 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* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Select |
| | | - ä¿®å¤ filter 模å¼ä¸ï¼ç¹å»å¾æ ä¸è½è§¦å䏿ç bug (#21314 by @dennyak47) |
| | | - ä¿®å¤ composition 模å¼ä¸ keydown äºä»¶ (#21336 by @bchen1029) |
| | | - Badge |
| | | - ä¿®å¤ is-dot class (#21308 by @adaex) |
| | | - Form |
| | | - validate æ¹æ³è¿åéè¯¯ä¿¡æ¯ (#21374 by @cs1707) |
| | | - Table |
| | | - ä¿®å¤ resizeObserver loop limit exceeded (#21255 by @tomieric) |
| | | - ä¿®å¤ toggleAllSelection (#21456 by @cs1707) |
| | | - ä¼å table æ§è½ (#21330 by @cs1707) |
| | | - Button |
| | | - ä¿®å¤ disabled ä¼å
级 (#21375 by @cs1707) |
| | | - Descriptions |
| | | - ä¿®å¤ label slot bug (#21462 by @cs1707) |
| | | - SASS |
| | | - node-sass æ¿æ¢ä¸º dart-sass (#21019 by @linxsbox) |
| | | - Docs |
| | | - ä¿®å¤ skeleton ææ¡ (#21408 by @zhhbstudio) |
| | | |
| | | ### 2.15.6 |
| | | |
| | | *2021-09-02* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Cascader |
| | | - ä¿®å¤æµè§å¨ç¼©æ¾æ¨¡å¼ä¸æå¨ç bug (#21207 by @cs1707) |
| | | - ä¼åæ§è½ (#21231 by @cs1707) |
| | | - Select |
| | | - ä¿®å¤å¤é模å¼ä¸æå溢åºç bug (#21237 by @cs1707) |
| | | - Dropdown |
| | | - å¢å disabled 屿§ (#21235 by @mshioda) |
| | | - Radio |
| | | - ä¿®å¤æµè§å¨è¿ååä¿çç¶æç bug (#21250 by @cs1707) |
| | | - Descriptions |
| | | - ä¿®å¤ç±»åå®ä¹ (#21265 by @adaex) |
| | | - ä¿®å¤ä¸è¡¨æ ¼ç»ä»¶æ··ç¨æ ·å¼å²çªçé®é¢ (#21254 by @adaex) |
| | | - Drawer |
| | | - ä¿®å¤ append-to-body (#21264 by @cs1707) |
| | | - Local |
| | | - ä¿®å¤ italian ç¿»è¯é误 (#21012 by @ricardotondello) |
| | | |
| | | ### 2.15.5 |
| | | |
| | | *2021-08-04* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Select |
| | | - ä¿®å¤ resetInputHeight æ¥éç bug (#21201 by @cs1707) |
| | | |
| | | ### 2.15.4 |
| | | |
| | | *2021-08-03* |
| | | |
| | | #### æ°ç¹æ§ |
| | | |
| | | - Descriptions |
| | | - æ°å¢ Descriptions ç»ä»¶ (#21129 by @cs1707) |
| | | - Result |
| | | - æ°å¢ Result ç»ä»¶ (#21171 by @cs1707) |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Utils |
| | | - ä¿®å¤ isScroll (#21098 by @canvascat) |
| | | - Translation |
| | | - æ´æ° it.js (#21133 by @bliberi) |
| | | - RadioGroup |
| | | - ä¿®å¤ RadioGroup ä¸ component å
¼å®¹ç bug (#20783 by @lceric) |
| | | - Message |
| | | - ä¿®å¤ message[type] (#21088 by @cs1707) |
| | | - Carousel |
| | | - ä¿®å¤ setActiveItem éç½®è®¡æ¶ (#20846 by @Nekojita1) |
| | | - Cascader |
| | | - ä¿®å¤ emitPath (#21185 by @cs1707) |
| | | - Select |
| | | - ä¿®å¤ filterable bug (#17494 by @profore) |
| | | - ä¿®å¤æµè§å¨ç¼©æ¾æ¨¡å¼ä¸æå¨ç bug (#21197 by @cs1707) |
| | | - Tree |
| | | - ä¿®å¤ insertChild (#21194 by @cs1707) |
| | | |
| | | ### 2.15.3 |
| | | |
| | | *2021-06-29* |
| | | #### æ°ç¹æ§ |
| | | |
| | | - Skeleton |
| | | - æ°å¢ Skeleton ç»ä»¶ (#21038 by @cs1707) |
| | | - Empty |
| | | - æ°å¢ Empty ç»ä»¶ (#21080 by @cs1707) |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Local |
| | | - ä¿®å¤ hr è¯è¨ week ç¿»è¯ (#21040 by @cs1707) |
| | | - Table |
| | | - ä¿®å¤ lazy load data (#21041 by @cs1707) |
| | | - Docs |
| | | - ä¿®æ¹ form ç»ä»¶ hide-required-asterisk æè¿° (#21045 by @cs1707) |
| | | - Drawer: |
| | | - ä¿®å¤ destroy (#20715 by @zj9495) |
| | | - Row |
| | | - ä¿®å¤ align top (#20963 by @cs1707) |
| | | - Select |
| | | - ä¿®å¤ value 为 Boolean ç±»åçbug (#21052 by @cs1707) |
| | | - Calendar |
| | | - ä¿®å¤ first-day-of-week (#21057 by @cs1707) |
| | | - Utils |
| | | - ä¿®å¤ fix isScroll (#21065 by @cs1707) |
| | | - ä¿®å¤ (utils.dom by @fw6) |
| | | - TypeScript |
| | | - å¢å CascaderPanel ç±»åå¯¼åº (#21070 by @qige2016) |
| | | - å¢å spinner.d.ts (#21090 by @qige2016) |
| | | |
| | | ### 2.15.2 |
| | | |
| | | *2021-05-28* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Image |
| | | - ä¿®å¤ z-index å¢å keydown äºä»¶ æ·»å stopPropagation (#20859 by @cs1707) |
| | | - Input |
| | | - ä¿®å¤ password cursor å±ç¤º (#20870 by @cs1707) |
| | | - ä¿®å¤ password icon å¨ edge ä¸çå±ç¤º (#20902 by @cs1707) |
| | | - Carousel |
| | | - ä¿®å¤ interval å scale bug (#20931 by @cs1707) |
| | | - Cascader |
| | | - ä¿®å¤ delete tag bug (#20939 by @cs1707) |
| | | - Drawer |
| | | - æ¯æ overflow auto (#20948 by @cs1707) |
| | | - å
¶ä» |
| | | - ä¿®å¤ isFunction (#20912 by @cs1707) |
| | | |
| | | ### 2.15.1 |
| | | |
| | | *2021-02-23* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Drawer |
| | | - ä¿®å¤ Drawer bug (by @cs1707) |
| | | - Image |
| | | - ä¿®å¤ image object fit ratio å¨ IE ä¸ç bug (#19583 by @charlie0228) |
| | | - Cascader |
| | | - ä¿®å¤ cascader panel active path (#20730 by @cs1707) |
| | | - Calendar |
| | | - ä¿®å¤ calendar å½é
å bug (#20758 by @iamkun) |
| | | - ColorPicker |
| | | - ä¿®å¤ bugs (by @UxieVerity) |
| | | |
| | | #### ä¼å |
| | | |
| | | - Doc |
| | | - æ´æ° Axure è®¾è®¡èµæº v2.1.0 (by @iamkun) |
| | | |
| | | ### 2.15.0 |
| | | |
| | | *2021-01-15* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Select |
| | | - ä¿®å¤ placeholder å½é
å bug (#17644 by @nzh63) |
| | | - Popconfirm |
| | | - ä¿®å¤ Popconfirm å½é
å bug by @iamkun |
| | | - Drawer |
| | | - ä¿®å¤ focus bug (#20626 by @cs1707) |
| | | - Image |
| | | - å¾çé¢è§ä¼å (#20652 by @cs1707) |
| | | |
| | | #### ä¼å |
| | | |
| | | - Doc |
| | | - æ´æ°æ³è¯ææ¡£ datetime-picker.md (#20543 by @lonk) |
| | | - æ´æ° Progress ç»ä»¶ææ¡£ (#20641 by @cs1707) |
| | | |
| | | ### 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* |
| | | |
| | | #### éå
¼å®¹æ§æ´æ° |
| | | |
| | | - Popconfirm |
| | | - äºä»¶åç§°ä¿®æ¹ä¸º `confirm`, `cancel` (#20240 by @hugiron) |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Progress |
| | | - ä¿®å¤åæ°é误çé®é¢ (#19985 by @Caaalabash) |
| | | |
| | | #### ä¼å |
| | | |
| | | - I18n |
| | | - æ´æ°ä¿è¯ç¿»è¯ (#19451 by @yangirov) |
| | | - æ´æ°é«æ£è¯ç¿»è¯ (#20077 by @Sovai) |
| | | - æ´æ°ä¹å
å
°è¯ç¿»è¯ (#20344 by @MammutAlex) |
| | | |
| | | ### 2.13.2 |
| | | |
| | | *2020-05-18* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Autocomplete |
| | | - ä¿®å¤ 'change event' é误 (#19200 by @sxzz) |
| | | - Image |
| | | - æ´æ°éè¯¯ç¶æ (#19194 by @lhx6538665) |
| | | |
| | | #### ä¼å |
| | | |
| | | - I18n |
| | | - æ´æ° ru-RU popconfirm ç¿»è¯ (#19220 by @Opppex) |
| | | - æ´æ° vi ç¿»è¯ (#19244 by @quangln2810) |
| | | - æ´æ° Catalan å Spanish ç¿»è¯ (#19296 by @Ismaaa) |
| | | - æ´æ° Indonesia ç¿»è¯ (#19320) by @therour) |
| | | - æ´æ° Brazilian Portuguese ç¿»è¯ (#19374 by @diegomengarda) |
| | | |
| | | |
| | | ### 2.13.1 |
| | | |
| | | *2020-04-13* |
| | | |
| | | #### æ°ç¹æ§ |
| | | - Autocomplete |
| | | - æ·»å change äºä»¶ (#17913 by @sxzz) |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Autocomplete |
| | | - ä¿®å¤ç±»å为 textarea æ¶å»ºè®®é误é®é¢ (#18478 by @Roojay) |
| | | - Carousel |
| | | - ä¿®å¤ console.warn ææ¡æ¼åé误 (#18264 by @IceFox) |
| | | - Image |
| | | - ä¿®å¤å½ preview-src-list 屿§ä¸å
å« src æ¶å¾çé¢è§å¤§å¾å±ç¤ºä¸ºç©ºçé®é¢ (#18975) (#19130 by @luckyCao) |
| | | - ä¿®å¤ç¬¬äºæ¬¡å¾çé¢è§æ¶å¿«æ·é®å¤±æé®é¢ (#18983) (#19156 by @luckyCao) |
| | | - ä¿®å¤ preview-src-list 为空æ¶ç¹å»å¾çä¼ç» body æ·»å overflow: scroll çé®é¢ (#18967 by @inooNgt) |
| | | - Transfer |
| | | - ä¿®å¤å Form ç»ä»¶ä¸èµ·ä½¿ç¨æ¶é误çè¡é«é®é¢ (#18917 by @Hanx) |
| | | - InputNumber |
| | | - æ£ç¡®è®¡ç® inputNumberDisabled (#18439 by @ashuser-pendo) |
| | | - Chore |
| | | - æ´æ°é¦é¡µææ¡ (#19155 by @iamkun) |
| | | - Doc |
| | | - æ´æ° Popconfirm ææ¡£ (#18324 by @iamkun) |
| | | - ä¿®å¤ step-strictly ææ¡£æ¼åé®é¢ (#18705 by @dream2023) |
| | | - ä¿®å¤ Steps ç»ä»¶ææ¡£é®é¢ (#17555 by @haoranyu) |
| | | |
| | | ### 2.13.0 |
| | | |
| | | *2019-11-26* |
| | | |
| | | #### æ°ç¹æ§ |
| | | |
| | | - Popconfirm |
| | | - æ°å¢ Popconfirm ç»ä»¶ (#17548 by @iamkun) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - BackTop |
| | | - å¹³æ»è¿æ¸¡å¨ç» (by @lon) |
| | | - DatePicker |
| | | - ä¿®å¤éæ©æå°æ¥æç bug (#17191 by @smk0621) |
| | | - Select |
| | | - ä¿®å¤æµè¯ç¨ä¾ (by @msidolphin) |
| | | - Tree |
| | | - å¢å font-size æ ·å¼ (#17094 by @spengjie) |
| | | - Table |
| | | - 头é¨å¯èªå®ä¹ (#17291 by @ziyoung) |
| | | - æ´æ°å¤´é¨æ ·å¼ (#17284 by @ziyoung) |
| | | - ä¿®å¤æ¶å filter ä¹åé«åº¦é®é¢ (#17348 by @ziyoung) |
| | | - ä¿®å¤ row-style 失æç bug (#17002 by @a631807682) |
| | | - ä¿®å¤å¤´é¨æ¶å¤±ç bug (#17341 by @ziyoung) |
| | | - Calendar |
| | | - 导å
¥ el-button å el-button-group (#17376 by @masongzhi) |
| | | - MessageBox |
| | | - ä¿®å¤å¾è¡¨ä½ç½® (#17410 by @nullptru) |
| | | - TimePicker |
| | | - æ»å¨å设置æ£ç¡®çä½ç½® (#16868 by @mattheyan) |
| | | - Message |
| | | - ä¿®å¤å
³éç offsetHeightï¼#17564ï¼ (#17852 by @gzwgq222) |
| | | - Form |
| | | - ValidateField çåè°åºä¸ºå¯é项 (#17314 by @CarterLi) |
| | | - Cascader |
| | | - ä¿®å¤ TypeScript 3.7 çå
¼å®¹é®é¢ (#17881 by @CarterLi) |
| | | - Menu |
| | | - ä¿®å¤ NavigationDuplicated å¨ vue-router@^3.1.0 çæ¥é (#17269 by @iamkun) |
| | | - Dropdown |
| | | - æ´æ°ç±»åæä»¶ (#17550 by @iamkun) |
| | | - Progress |
| | | - å¢å strokeLinecap 屿§ (#17552 by @iamkun) |
| | | - InfiniteScroll |
| | | - è·³è¿ä¸å¯è§å
ç´ è§¦å (#17553 by @iamkun) |
| | | - Image |
| | | - ä¼åç¨æ·ä½éª (#16985 by @luckyCao) |
| | | - ä¼å大å¾çå±ç¤ºé®é¢ (#16796 by @luckyCao) |
| | | - Drawer |
| | | - ä¿®å¤ drawer-append-to-body 失æç bug (#16953 by @JeremyWuuuuu) |
| | | - Select |
| | | - ä¿®å¤ç©º tag ç bug (17199 by @luckyCao) |
| | | - Scrollbar |
| | | - ä¿®å¤ FireFox 忻卿¡ç bug (#18091 by @iamkun) |
| | | |
| | | #### Optimization |
| | | |
| | | - I18n |
| | | - æ´æ° sv-SE.js (#17926 by @FOLLGAD) |
| | | - æ´æ° avatar ç»ä»¶æ³è¯ææ¡£ (#17762 by @blombard) |
| | | - Docs |
| | | - ä¿®å¤ time-select ææ¡£é误 (#17250 by @wacky6) |
| | | - ä¿®å¤ Drawer ææ¡£é误 (#17122 by @haoranyu) |
| | | - æ´æ° Spanish changelog 2.12.0 (#17364 by @Gonzalo2310) |
| | | - ä¿®å¤ Changelog ææ¡£é误 (#17874 by @renlixin) |
| | | - ä¿®å¤ Loading ç¤ºä¾ (#17862 by @MBearo) |
| | | - å¢å input event ç¸å
³ææ¡£ (#18061 by @zhouxinyong) |
| | | - ç§»é¤ Input repeat change event ç¸å
³ææ¡£ (#18085 by @zhouxinyong) |
| | | |
| | | ### 2.12.0 |
| | | |
| | | *2019-08-29* |
| | | |
| | | #### æ°ç¹æ§ |
| | | |
| | | - Popover |
| | | - æ·»å close-delay 屿§ (#16671 by @LachlanStuart) |
| | | - Theme |
| | | - å¢å Chrome æä»¶: Element Theme Extension (#16686 by @iamkun) |
| | | - Icon |
| | | - æ¯æ font-display 屿§çé
ç½® (#16805 by @iamfaizalandyka) |
| | | |
| | | #### Bug fixes |
| | | |
| | | - Table |
| | | - å¨è¡¨å¤´ææ½å黿¢ click äºä»¶ç触å (#16850 by @ziyoung) |
| | | - ä¿®å¤è¡¨å¤´ display 为 none é ææµè§å¨å´©æºçé®é¢ (#16956 by @luckyCao) |
| | | - ä¿®å¤æ²¡ææ°æ®çæ¶è¡¨æ ¼é«åº¦é®é¢ (#16861 by @ziyoung) |
| | | - è°ç¨ toggleExpansion ä¸åæåºå¼å¸¸ (#16304 by @yyjjqq94) |
| | | - æè½½æ¶ä¸å触å sort-change äºä»¶ (#17113 by @a631807682) |
| | | - ä¿®å¤ setCurrentRow æ¹æ³ä¸çæçé®é¢ (#16879 by @ziyoung) |
| | | - ä¿®å¤å½æ°æ®å¼æ¥å è½½æ¶ï¼expand-row-keys ä¸çæçé®é¢ (#16899 by @ziyoung) |
| | | - æ toggleAllSelection 设置为 Table 示ä¾ç屿§ (#17137 by @ziyoung) |
| | | - Tree |
| | | - ä¿®å¤æåä¸å¤éæ¡ä¹é´çè·ç¦» (#16799 by @Hazlank) |
| | | - Tabs |
| | | - ä¿®å¤ TabItem ä½ç½®ä¸æ£ç¡®çé®é¢ (#16520 by @victorting) |
| | | - ä¿®å¤é«äº®ç Tab ä¸å¨å¯è§åºçé®é¢ (#17033 by @nullptru) |
| | | - Calendar |
| | | - ä¿®å¤æ¥æçæ¾ç¤ºé®é¢ (#16772 by @ubitoffee) |
| | | - ä¿®å¤å¨å¤ä»¤æ¶çæ¾ç¤ºé®é¢ (#17208 by @iamkun) |
| | | - Cascader |
| | | - ä¿®å¤ CascaderPanel çæ¾ç¤ºé®é¢ (#16716 by @zhangHongEn) |
| | | - ç¦ç¨ç¶æä¸ï¼å
³éæé®ä¸æ¾ç¤º (#16224 by @yyjjqq94) |
| | | - Input |
| | | - ä¿®å¤é©è¯è¾å
¥é®é¢ (#15069 by @MoonHyuk) |
| | | - è§¦åæ¸
餿é®çç¹å»äºä»¶ (#16576 by @a631807682) |
| | | - Select |
| | | - è¿æ»¤æ¶ï¼ä¸æ¶èµ·ä¸ææ¡ (#17205 by @luckyCao) |
| | | - Transfer |
| | | - ä¿®å¤æ ·å¼é®é¢ (#17206 by @iamkun) |
| | | - Dialog |
| | | - æ·»å SCSS åé (#16365 by @haoranyu) |
| | | - RadioGroup |
| | | - is æå®æ¶ï¼ä¸äº§çéæ³ç HTML çæ®µ (#17070 by @nullptru) |
| | | - Divider |
| | | - æ¯æèªå®ä¹ç±» (#17078 by @island205) |
| | | - Carousel |
| | | - ä¿®å¤ change çè§¦åæ¶æº (#16705 by @iamkun) |
| | | - Notification |
| | | - ä¸ä¿®æ¹ä¼ å
¥ç option (#16704 by @iamkun) |
| | | - DatePicker |
| | | - ç» picker-option æ·»å className 屿§ (#16632 by @iamkun) |
| | | - DateTimePicker |
| | | - ä¿®å¤æ¶é´éæ©æ»å¨æ¡çé®é¢ (#16854 by @jesse-li) |
| | | |
| | | #### Optimization |
| | | |
| | | - Checkbox |
| | | - æé«å¯è®¿é®æ§ (#16575 by @tylertrotter) |
| | | - Docs |
| | | - æ´æ° changelog (#16773 by @SimonaliaChen) |
| | | - æ´æ°è´¡ç®æå (#14800 by @sinchang) |
| | | - ä¿®å¤ Drawer ææ¡£ä¸çæ¼åé误 (#16848 by @winkay) |
| | | - æ´æ°èªå®ä¹ä¸»é¢ (#16983 by @iamkun) |
| | | - æ°å¢ Esperanto ç¿»è¯ (#16955 by @maxkoryukov) |
| | | - æ´æ° input-number ææ¡£ (#16316 by @luckyCao) |
| | | - æ´æ° Spanish ææ¡£ (#16961 #16548 by @Gonzalo2310) |
| | | - I18n |
| | | - æ´æ°å æ³°ç½å°¼äºè¯ç¿»è¯ (#14722 by @oscaralbareda) |
| | | - æ´æ°é¿æä¼¯è¯ç¿»è¯ (#16653 by @l3op) |
| | | - Test |
| | | - ä¿®å¤æ¼åé误 (#16672 by @boomler) |
| | | - ä¼å image çåå
æµè¯ (#16847 by @a631807682) |
| | | - Types |
| | | - ä¿®å¤ httprequest çç±»å (#16633 by @luckyCao) |
| | | |
| | | ### 2.11.1 |
| | | |
| | | *2019-07-26* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Image |
| | | - ä¿®å¤ Image ç»ä»¶ SSR å
¼å®¹æ§ (#16737 by @luckyCao) |
| | | - Chore |
| | | - æ´æ° dart-sass çå
¼å®¹æ§ (#16744 by @LewisChennnnn) |
| | | |
| | | ### 2.11.0 |
| | | |
| | | *2019-07-25* |
| | | |
| | | #### æ°ç¹æ§ |
| | | |
| | | - Drawer |
| | | - æ°å¢æ½å±ç»ä»¶ (#16577 by @JeremyWuuuuu) |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Checkbox |
| | | - ä¿®å¤ CSS æ ·å¼é®é¢ (#16006 by @Hazlank) |
| | | - Tree |
| | | - æ´æ°ç±»åå®ä¹ä¸ºæ³ç±»å (#15934 by @JeremyWuuuuu) |
| | | - ä¿®å¤è®¾ç½®èç¹ isCurrent ç为 false çé®é¢ (#15870 by @kkkisme) |
| | | - Dropdown |
| | | - æ´æ° split-button é»è®¤é¢è² (#15931 by @JuniorTour) |
| | | - Cascader |
| | | - ä¿®å¤ä¸çº§èåæ´æ°é®é¢ (#16399 by @luckyCao) |
| | | - æå è½½æ¶è®¾é»è®¤å¼ (#16420 by @luckyCao) |
| | | - ä¿®å¤å½èç¹å¼é夿¶çæ¾ç¤ºé®é¢ (#15935 by @junyiz) |
| | | - 坹夿´é² getCheckedNodes åä¿®å¤ options æ¹åä¼å½±åéä¸çé®é¢ (#16709 by @SimonaliaChen) |
| | | - Calendar |
| | | - æ´æ°æ¾ç¤ºæ£ç¡®ç header çé»è¾ (#16354 by @ziyoung) |
| | | - Submenu |
| | | - ä¿®å¤ append-to-body é®é¢ (#16289 by @a631807682) |
| | | - Table |
| | | - ä¿®å¤ tree table æ°æ®æ´æ°é®é¢ (#16481 by @island205) |
| | | - Select |
| | | - ä¿®å¤å
åæ³æ¼é®é¢ (#16463 by @island205) |
| | | - InfiniteScroll |
| | | - æ´æ°å½åå说æ (#16698 by @iamkun) |
| | | - Avatar |
| | | - ä¿®å¤å¾çä¸å±
ä¸çé®é¢ (#16489 by @luckyCao) |
| | | - Dialog |
| | | - å¢å destroyOnClose 屿§ (#16455 by @ziyoung) |
| | | - Image |
| | | - å¢å 大å¾é¢è§ (#16333 by @luckyCao) |
| | | |
| | | #### ä¼å |
| | | |
| | | - Docs |
| | | - ä¿®å¤ dropdown ç¤ºä¾ (#16193 by @webxmsj) |
| | | - ä¿®æ£ç¬è¯¯ (#15971 by @howiefh) |
| | | - I18n |
| | | - æ´æ°æ³°æç¿»è¯ (#16689 by @ponkrit) |
| | | - Chore |
| | | - æ´æ°åºç¡ API å°å (#16607 by @iamkun) |
| | | - å¢å Form çä¸»é¢ token (#16699 by @iamkun) |
| | | - æ´æ°ç»è®¡ (#16609 by @iamkun) |
| | | - ä¿®å¤ææ¡£éç¹é®é¢ (#16692 by @iamkun) |
| | | |
| | | ### 2.10.1 |
| | | |
| | | *2019-07-02* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Table |
| | | - æåº icon é®é¢ä¿®å¤ (#15439 by @bezany) |
| | | - ä¿®å¤ `append` slot å卿¶å¸å±éä½é®é¢ (#16332 by @ziyoung) |
| | | - ä¿®å¤ `showOverflowTooltip` æ´æ°æ æçé®é¢ (#16295 by @a631807682) |
| | | - ä¿®å¤ `FilterPanel` ä¸ `Scrollbar` æªæ³¨åé®é¢ (#16246 by @ziyoung) |
| | | - Chore |
| | | - æ´æ°çæ¬å·ï¼ä¿®å¤ææ¡£é®é¢ (#16233 by @ziyoung) |
| | | - ä¿®å¤è±æé¦é¡µæ ·å¼é®é¢ (#16254 by @iamkun) |
| | | |
| | | #### ä¼å |
| | | |
| | | - Tag |
| | | - å
¼å®¹ IE (#16334 by @ziyoung) |
| | | - Chore |
| | | - æ´æ°éé3群äºç»´ç (#16236 by @iamkun) |
| | | - Doc |
| | | - æ´æ°ä¸»é¢ç¼è¾å¨ææ¡£ (#16244 by @iamkun) |
| | | |
| | | ### 2.10.0 |
| | | |
| | | *2019-06-25* |
| | | |
| | | #### æ°ç¹æ§ |
| | | |
| | | - I18n |
| | | - æ¯æä¹å
¹å«å
è¯ (#15796 by @ogabek96) |
| | | - Calendar |
| | | - æ¯æ `first-day-of-week` é
ç½® (#16047 by @ziyoung) |
| | | - Avatar |
| | | - æ°å¢ `Avatar` ç»ä»¶ (#16144 by @luckyCao) |
| | | - Upload: |
| | | - æ¯æèªå®ä¹ç¼©ç¥å¾æ¨¡ç (#13192 by @victorzhuk) |
| | | |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Tree |
| | | - å½ `currentKey` 为 `null` æ¶åæ¶å¯¹æ èç¹çé«äº® (#15668 by @yyjjqq94) |
| | | - ä¿®å¤å¤å®ä¾å
±äº«æ°æ®çé®é¢ #15538 (#15615 by @VanMess) |
| | | - Upload |
| | | - æ´æ° `fileList` çç±»åå®ä¹ (#15716 by @underfin) |
| | | - Table |
| | | - ä¿®å¤å è½½ icon 䏿¾ç¤ºçé®é¢ (#15868 by @ziyoung) |
| | | - ä¿®å¤å¤æè¡¨æ ¼ä¸ hover è¡èæ¯è²é®é¢ (#15504 by @cnlon) |
| | | - ä¿®å¤ `current-row-key` åéæ©äºä»¶çé®é¢ (#15983 by @ziyoung) |
| | | - `height` 屿§æ¥åæ´å¤åä½ (#16013 by @ziyoung) |
| | | - ä¿®å¤ `reserve-selection` æ æçé®é¢ (#16135 by @ziyoung) |
| | | - Menu |
| | | - ä¿®å¤ `popper-append-to-body` 设置åï¼åèåæ æ³æ¶èµ·çé®é¢ (#15391 by @PanJiaChen) |
| | | - Select |
| | | - ä¿®å¤ `initialInputHeight` é®é¢ (#15989 by @yyjjqq94) |
| | | - ä¿®å¤è¾å
¥ä¸ææ¶ `default-first-option` çè¡ä¸ºé®é¢ (#15431 by @VanMess) |
| | | - `import` éå¤ (#16215 by @lengband) |
| | | - Message |
| | | - ç±»åå®ä¹ä¸æ·»å `offset` 屿§ (#16027 by @matjaz) |
| | | - Timeline |
| | | - ä¿®å¤éåºé®é¢ (#16091 by @ziyoung) |
| | | - Slider |
| | | - è¡¥å
`input` äºä»¶ææ¡£ (#15588 by @VanMess) |
| | | - InfiniteScroll |
| | | - æ´æ°å
å (#16125 by @iamkun) |
| | | - MessageBox |
| | | - ä¿®å¤ `distinguishCancelAndClose` è¡ä¸ºä¸ææ¡£ä¸ç¬¦çé®é¢ (#15438 by @qingdengyue) |
| | | - PopupManager |
| | | - ä¿®å¤æ æ³å¤å `z-index` çé®é¢ (#15738 by @luckyCao) |
| | | - Docs |
| | | - å é¤ä¸å¿
è¦çå
容 (#16194 by @Alexeykhr) |
| | | - æ´æ£ `Divider` 屿§ç±»å (#15889 by @haoranyu) |
| | | - Chore |
| | | - æ´æ°æµè¯ API å°å (#15807 by @iamkun) |
| | | |
| | | #### ä¼å |
| | | |
| | | - Tree |
| | | -ä¼åå¾ªç¯æ§è½ (#15699 by @KingJeason) |
| | | - Theme |
| | | - æ´æ° GA æç¹ï¼ä¿®æ¹é¡µåºå°å龿¥å°ä¸»é¢ç¼è¾å¨ (#16007 by @island205) |
| | | - Badge |
| | | - æ´æ°ç±»åå®ä¹ (#16198 by @iamkun) |
| | | - Avatar |
| | | - æ´æ°ä¸»é¢åéé
ç½® (#16202 by @luckyCao) |
| | | - I18n |
| | | - æ´æ°è¡èçè¯ (#15776 by @gigioSouza) |
| | | - æ´æ°æ³¢æ¯è¯ (#15881 by @pamenary) |
| | | - Docs |
| | | - è¡¥å
å
¥é¨ææ¡£ä¸çç»ä»¶å表 (#16063 by @pape2016) |
| | | - æ´æ°æ³è¯ææ¡£ (#16208 by @blombard) |
| | | - 为 `Alert` æ·»å é»è®¤ææ§½ææ¡£ (#15444 by @Alexeykhr) |
| | | - æ´æ°è¥¿ççè¯ææ¡£ (#15840 by @Gonzalo2310) |
| | | - æ´æ°æ³è¯ææ¡£ä¸çæ¼åé误 (#15837 by @blombard) |
| | | - æ´æ° 2.9.2 西ççææ¡£ (#16185 by @Gonzalo2310) |
| | | |
| | | #### éå
¼å®¹æ§æ´æ° |
| | | |
| | | - Form |
| | | - ç§»é¤è¾å
¥æ¡çæåç¶æ (#16159 by @ziyoung) |
| | | |
| | | ### 2.9.2 |
| | | |
| | | *2019-06-21* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Chore |
| | | - ä¿®å¤ TS å®ä¹æä»¶ (#15805 by @NateScarlet) |
| | | |
| | | ### 2.9.1 |
| | | |
| | | *2019-05-30* |
| | | |
| | | #### æ°ç¹æ§ |
| | | |
| | | - Table |
| | | - Tree Table æ¯æ tree-propsï¼default-expand-allï¼expand-row-keys 屿§, toggle-row-expansion æ¹æ³ï¼expand-change äºä»¶ (#15709 by @ziyoung) |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Table |
| | | - ä¿®å¤äºä¸äºé®é¢ (#15709 by @ziyoung) |
| | | - Theme |
| | | - æ´æ°æ¥å£åå (#15784 by @iamkun) |
| | | |
| | | #### ä¼å |
| | | |
| | | - Chore |
| | | - æ´æ° InfiniteScroll ç»ä»¶å®ä¹æä»¶ (#15794 by @iamkun) |
| | | |
| | | ### 2.9.0 |
| | | |
| | | *2019-05-30* |
| | | |
| | | #### æ°ç¹æ§ |
| | | |
| | | - Backtop |
| | | - æ°å¢ Backtop ç»ä»¶ (#15541 by @iamkun) |
| | | - PageHeader |
| | | - æ°å¢ PageHeader ç»ä»¶ (#15714 by @ziyoung) |
| | | - InfiniteScroll |
| | | - æ°å¢ InfiniteScroll æä»¤ (#15567 by @iamkun) |
| | | - Cascader |
| | | - æ°å¢å¤é模å¼å filter-method æ¹æ³ (#15611 by @SimonaliaChen) |
| | | - Message |
| | | - ä¿¡æ¯ä¾æ¬¡å±ç¤º (#15639 by @island205) |
| | | - Tag |
| | | - æ°å¢ effect 屿§ (#15725 by @SimonaliaChen) |
| | | - Tabs |
| | | - å¡ç模å¼ä¸æ é¢å·¦å¯¹é½ (#15695 by @luckyCao) |
| | | - DatePicker |
| | | - æ¯æå符串常é (#15525 by island205) |
| | | - Image |
| | | - æ¯æ attrs å listeners (#15578 by @VanMess) |
| | | - Theme |
| | | - æ°å¢ popup èæ¯é
ç½® (#15412 by @iamkun) |
| | | - Chore |
| | | - æ´æ°ææ¡£é¦é¡µ (#15682 by @iamkun) |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Table |
| | | - ä¿®å¤æåºæ¡ä»¶ä¸ºç©ºæ¶çæåºé®é¢ (#15012 by @joelxr) |
| | | - Image |
| | | - ä¿®å¤ ssr é®é¢å object-fit çå
¼å®¹æ§ (#15346 by @SimonaliaChen) |
| | | - Input |
| | | - ä¿®å¤ show-word-count æ ·å¼é®é¢ (#15359 by @lvjiaxuan) |
| | | - ä¿®å¤å é¤å¾æ æ ·å¼ (#15354 by @YiiGuxing) |
| | | - Calendar |
| | | - ä¿®å¤ææå±ç¤ºé误 (#15399 by @qingdengyue) |
| | | - ä¿®å¤åæå±ç¤ºé®é¢ (#15394 by @qingdengyue) |
| | | - Tabs |
| | | - ä¿®å¤ padding é®é¢ (#15461 by @SimonaliaChen) |
| | | - Tag |
| | | - ä¿®å¤é»æ¢å泡é®é¢ (#15150 by @infjer) |
| | | - Form |
| | | - ä¿®å¤ form-item çé«åº¦é误 (#15457 by @SimonaliaChen) |
| | | - ä¿®å¤ resetFields é®é¢ (15181 by @luckyCao) |
| | | - Tooltip |
| | | - ä¿®å¤èªå®ä¹ tabindex ä¸çæé®é¢ (#15619 by @SimonaliaChen) |
| | | - Link |
| | | - ä¿®å¤å¾æ class é®é¢ (#15752 by @iamkun) |
| | | - Select |
| | | - åæ»æ¸
餿¶ï¼è®¾ç½® value 为 null çä¿®æ¹ (#15447 by @iamkun) |
| | | - Loading |
| | | - ä¿®å¤ Dom 䏿´æ°çé®é¢ (#15123 by @FAKER-A) |
| | | - Switch |
| | | - ä¿®å¤äºä»¶éå¤è§¦åé®é¢ (#15178 by @FAKER-A) |
| | | - Slider |
| | | - ä¿®å¤ç¹å»æ¶æ ·å¼é®é¢ (#15561 by @luckyCao) |
| | | - Radio |
| | | - ä¿®å¤ value 䏿´æ°çé®é¢ (#14809 by @OverTree) |
| | | - Form |
| | | - ä¿®å¤ resetFields é®é¢ (15181 by @luckyCao) |
| | | - Chore |
| | | - æ´æ°ä¾èµ (#15324 by ziyoung) |
| | | - Type |
| | | - ä¿®å¤ Loading å®ä¹æä»¶ (#15635 by @iamkun) |
| | | - ä¿®å¤ Icon å®ä¹æä»¶ (#15634 by @iamkun) |
| | | - ä¿®å¤ Link å®ä¹æä»¶ (#15402 by @iamkun) |
| | | |
| | | #### ä¼å |
| | | |
| | | - Cascader |
| | | - éæ (#15611 by @SimonaliaChen) |
| | | - Chore |
| | | - æ´æ°æ°å»ºç»ä»¶çèæ¬ (by @iamkun) |
| | | - Docs |
| | | - éæ°å½åææ¡£åé (#15185 by @liupl) |
| | | - æ´æ° Image ç»ä»¶ææ¡£ (#15423 by @haoranyu) |
| | | - ä¿®å¤ Form ç»ä»¶ææ¡£é误 (#15228 by @SHERlocked93) |
| | | |
| | | ### 2.8.2 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Icon |
| | | - æ´æ° icon (#15272 by @iamkun) |
| | | - ææ¡£ |
| | | - ä¿®å¤ Form ä¸ Input ææ¡£æ ·å¼ (#15273 by @ziyoung) |
| | | |
| | | ### 2.8.1 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Icon |
| | | - æ´æ° Select ä¸ Cascader ç icon (#15264 by @SimonaliaChen) |
| | | - æ´æ° icon (#15258 by @iamkun) |
| | | |
| | | #### ä¼å |
| | | |
| | | - Chore |
| | | - æ´æ°æå»ºèæ¬ (#15267 by @ziyoung) |
| | | - Docs |
| | | - ä¿®å¤ link çæ ·å¼ (#15265 by @iamkun) |
| | | - å
¶ä» |
| | | - migrating é
ç½®å
¼å®¹é©¼å³°åç§° (#15260 by @SimonaliaChen) |
| | | |
| | | ### 2.8.0 |
| | | |
| | | *2019-04-25* |
| | | |
| | | #### æ°ç¹æ§ |
| | | |
| | | - Divider |
| | | - æ°å¢ Divider ç»ä»¶ (#15055 by @island205) |
| | | - Rate |
| | | - æ¯æéè¿å¯¹è±¡èªå®ä¹ colors ä¸ icon-classes 屿§ (#15051 by @SimonaliaChen) |
| | | - Link |
| | | - æ°å¢ Link ç»ä»¶ (#15052 by @iamkun) |
| | | - Calendar |
| | | - æ°å¢ Calendar ç»ä»¶ (#14908 by @ziyoung) |
| | | - Icon |
| | | - æ°å¢å¾æ (#15214 by @iamkun) |
| | | - Alert |
| | | - æ°å¢é«é¥±ååº¦ä¸»é¢ (#15041 by @island205) |
| | | - Image |
| | | - æ°å¢ Image ç»ä»¶ (#15117 by @SimonaliaChen) |
| | | - Collapse |
| | | - CollapseItem æ¯æç¦ç¨ (#15076 by @ziyoung) |
| | | - Carousel |
| | | - æ°å¢ direction 屿§ï¼æ¯æåç´æ¹å忢 (#15122 by @ziyoung) |
| | | - Pagination |
| | | - æ°å¢ hide-on-single-page 屿§ (#15096 by @ziyoung) |
| | | - Slider |
| | | - æ°å¢ marks 屿§ (#15133 by @luckyCao) |
| | | - Input |
| | | - æ°å¢ show-word-count 屿§ (#15075 by @luckyCao) |
| | | - InputNumber |
| | | - æ°å¢ step-strictly 屿§ (#15050 by @luckyCao) |
| | | - Tooltip, Dropdown, Popover |
| | | - æ°å¢ tabindex 屿§ (#15167 by @ziyoung) |
| | | |
| | | #### Bug ä¿®å¤ |
| | | |
| | | - Notification |
| | | - ä¿®å¤æ é¢ä¸æ¢è¡çé®é¢ (#15008 by @iamkun) |
| | | - Form |
| | | - ä¿®å¤å¨æè¡¨åæ ¡éªè§åä¸çæçé®é¢ (#14985 by @luckyCao) |
| | | - ä¿®å¤ label çæ ·å¼ (#14969 by @ziyoung) |
| | | - å½ required 为 true æ¶ï¼æ¾ç¤ºæå· (#15144 by @ziyoung) |
| | | - Pagination |
| | | - ä¿®å¤ slot æªæ´æ°çé®é¢ (#14711 by @lucyhao) |
| | | - Table |
| | | - ä¿®å¤æå è½½æ¶å è½½æ°æ®ç bug (#15101 by @ziyoung) |
| | | - å¨åå¹¶åå
æ ¼æ¶ï¼ä¿®å¤åå
æ ¼ç宽度计ç®ä¸æ£ç¡®çé®é¢ (#15196 by @ziyoung) |
| | | - æåè¡¨æ ¼çæ§è½ (#14868 by @ziyoung) |
| | | - åå§åæ¶ä¸å触å sort-change äºä»¶ (#14625 by @PeanutWatson) |
| | | - 让 height ä¸ max-height 屿§çè¡ä¸ºä¿æä¸è´ (#14660 by @arthurdenner) |
| | | - Dialog |
| | | - ä¿®å¤å
容䏿¢è¡çé®é¢ (#15027 by @iamkun) |
| | | - Alert |
| | | - æ´æ° typescript å®ä¹æä»¶ (#15186 by @ziyoung) |
| | | - Tabs |
| | | - Fix issue where Promise rejection was hitting application (#14816 by @ffxsam) |
| | | - slot æ¹åæ¶ï¼éæ°æ¸²æ (#15238 by @ziyoung) |
| | | - Message |
| | | - ä¿®å¤ typescript å®ä¹æä»¶ (#14968 by @agoni1212) |
| | | - Select |
| | | - ä¿®å¤å½ value 为 undefined æè
null çæ¥é (#15022 by @luckyCao) |
| | | - Tree |
| | | - å½åèç¹è¢«å é¤åï¼éä¸çèç¹ä¹åºè¯¥å é¤ (#14604 by @sinchang) |
| | | - æåæ§è½ (#14881 by @ChenZhuoSteve) |
| | | - Dropdown |
| | | - ä¿®å¤æ ·å¼ (#14907 by @doing123) |
| | | - Slider |
| | | - ä¿®å¤å¯è®¿é®æ§é®é¢ (#14792 by @erezsob) |
| | | - Menu |
| | | - 妿 defaultIndex ä¸åå¨ï¼activeIndex åºè¯¥ä¸ºç©º (#14074 by @hoythan) |
| | | - Directive |
| | | - RepeatClick: ä½¿ç¨ Date.now æåæ§è½ (#14776 by @pavelmash) |
| | | - Upload |
| | | - ä¿®å¤ Upload çèæ¯é¢è² (#15039 by @iamkun) |
| | | - Theme |
| | | - æ·»å æ åè§åé (#15256 by @iamkun) |
| | | |
| | | #### ä¼å |
| | | |
| | | - Chore |
| | | - æ´æ°ä¸æ changelog (#14965 by @iamkun) |
| | | - å½ demo æè¿°ä¸ºç©ºæ¶ï¼ä¸åæ¾ç¤º (#15014 by @ziyoung) |
| | | - æ¾ç¤º DevServer çä¿¡æ¯ (#15028 by @iamkun) |
| | | - ä¿®å¤ 2.6 changelog ç bug (#15026 by @iamkun) |
| | | - æ´æ°æå»ºèæ¬ (#14821 by @abc3660170) |
| | | - æ¬æ¬¡å¼åæ¶æ¯æçæ´æ° (#15221 by @SimonaliaChen) |
| | | - æ¬å°å¼åæ¶ï¼å è½½ sourcemap (#15087 by @ibufu) |
| | | Docs |
| | | - éå½å demo ä¸çåé (#14602 #15003 #15094 #15105 by @liupl) |
| | | - ä¿®å¤ upload ææ¡£ä¸çé误 (#15023 by @iamkun) |
| | | - æ´æ° Form ææ¡£ (#15040 by @iamkun) |
| | | - æ´æ° Tabs ææ¡£ (#15053 by @iamkun) |
| | | - ä½¿ç¨ eleme.cn ä½ä¸ºæ°åå (#15139 by @ziyoung) |
| | | - ä¿®å¤ Image ç»ä»¶çè·¯ç±å (#15194 by @iamkun) |
| | | - å é¤å¤ä½çæ³è¯ç¿»è¯ (#15207 by @iamkun) |
| | | |
| | | #### éå
¼å®¹æ§æ´æ° |
| | | |
| | | - Rate |
| | | - ç¦ç¨æ
åµä¸ï¼æ¾ç¤ºå°ä½æ° (#15089 by @haoranyu) |
| | | - Select |
| | | - è¿æ»¤æ
åµä¸ï¼placeholder 为éä¸é项ç label (#14989 by @ibufu) |
| | | |
| | | ### 2.7.2 |
| | | |
| | | *2019-04-03* |
| | | |
| | | #### ä¿®å¤ |
| | | |
| | | - Form |
| | | - ä¿®å¤ `label-width` 为 `auto` çæ ·å¼ (#14955 by @ziyoung) |
| | | |
| | | #### ä¼å |
| | | - Docs |
| | | - ä¿®å¤ææ¡£å
å¾ç龿¥é误 (#14957 by @iamkun) |
| | | - Chore |
| | | - ä¿®å¤å叿¶ mkdir å¼å¸¸ (#14952 by @iamkun) |
| | | |
| | | ### 2.7.1 |
| | | |
| | | *2019-04-03* |
| | | |
| | | #### ä¿®å¤ |
| | | |
| | | - Select |
| | | - æ¸
空æ¶è®¾ç½® value 为 null (#14322 by @aaronfulkerson) |
| | | - Input |
| | | - å½ç±»åæ¹åæ¶æ´æ° DOM (#14889 by @wacky6) |
| | | - Table |
| | | - ä¿®å¤å½æå±å¼åæ¶ `defaultExpandAll` çè¡ä¸º (#14935 by @ziyoung) |
| | | - Dialog |
| | | - å¯ä»¥è®¾ç½®èæ¯è² (#14939 by @ziyoung) |
| | | - Form |
| | | - `label-width` æ¯æèªå¨å®½åº¦ (#14944 by @ziyoung) |
| | | |
| | | #### ä¼å |
| | | - Docs |
| | | - æ´æ°è¥¿ççè¯ææ¡£ (#14913 by @Gonzalo2310) |
| | | - æ°å¢ç»ä»¶èªå¨çææ³è¯ææ¡£ (#14924 by @ziyoung) |
| | | - æ´æ° Tabs ææ¡£ (#14938 by @ziyoung) |
| | | |
| | | ### 2.7.0 |
| | | |
| | | *2019-03-28* |
| | | |
| | | #### æ°ç¹æ§ |
| | | |
| | | - Table |
| | | - å¢å 对æ å½¢ç»ææ°æ®çæ¯æ (#14632 by @ziyoung) |
| | | |
| | | #### ä¿®å¤ |
| | | |
| | | - Tabs |
| | | - é´å½±æ ·å¼ä½¿ç¨å
¨å±ä¸»é¢è² (#14558 by @Richard-Choooou) |
| | | - å½ label æ¹åæ¶è§¦åæ´æ° (#14496 by @akki-jat) |
| | | - Table |
| | | - Table footer ä¸ body ç对é½ä¸è´ (#14730 by @ziyoung) |
| | | - NavMenu |
| | | - ä¿®å¤ç¹å» el-submenu 夿¬¡è§¦å childMenu é®é¢ (#14443 by @PanJiaChen) |
| | | - Dropdown |
| | | - å
¼å®¹ Vue 2.6 æ° v-slot è¯æ³ (#14832 by @ziyoung) |
| | | - ColorPicker |
| | | - ä¿®å¤åå
è¿å¶é¢è²å符串解æé®é¢ (#14793 by @iamkun) |
| | | - Tree |
| | | - æ¢å¤ pr #13349 (#14847 by @ziyoung) |
| | | - Tooltip |
| | | - å½åå§å¼ä¸º true æ¶é»è®¤æ¾ç¤º (#14826 by @ziyoung) |
| | | - Docs |
| | | - æ´æ° Cascader ææ¡£ (#14442 by @panhezeng) |
| | | - Style |
| | | - ä¿®å¤åªä½æ¥è¯¢ sm-only, md-only, lg-only é®é¢ (#14611 by @sinchang) |
| | | |
| | | #### ä¼å |
| | | |
| | | - Chore |
| | | - å¢å ç½é¡µæè¿°ä¿¡æ¯ (#14802 by @iamkun) |
| | | |
| | | ### 2.6.3 |
| | | |
| | | *2019-03-21* |
| | | |
| | | #### ä¿®å¤ |
| | | |
| | | - ä¿®å¤ Cascader ææ¡£é¡µçæ ·å¼ (#14789 by @ziyoung) |
| | | - ç§»é¤ Cascader ä¸å¤ä½ç DOM æä½ (#14788 by @ziyoung) |
| | | - DateRange æ¯æå¤ä»¤æ¶ (#14562 by @wacky6) |
| | | |
| | | ### 2.6.2 |
| | | |
| | | *2019-03-21* |
| | | |
| | | #### æ°ç¹æ§ |
| | | |
| | | - DatePicker |
| | | - æ¯æ monthrange ç±»å (#14487 by @zxyRealm) |
| | | - i18n |
| | | - æ·»å Croatian è¯è¨å
(#14360 by @danijelh) |
| | | - Docs |
| | | - æ´æ° 2.6.1 æ³è¯ææ¡£ï¼ä¿®å¤ç¬è¯¯ (#14555 by @smalesys) |
| | | - æ´æ°æ³è¯ç¿»è¯ (#14643 by @smalesys) |
| | | |
| | | #### ä¿®å¤ |
| | | |
| | | - Input |
| | | - Fix regression (#14572 by @wacky6) |
| | | - DatePicker |
| | | - ä¿®å¤ first-day-of-week çè®¡ç® (#14523 by @sinchang) |
| | | - ä¿®å¤ WeekPicker value-format çé®é¢ (#13754 by @wacky6) |
| | | - Steps |
| | | - ä¿®å¤ #14502 (#14596 by @sinchang) |
| | | - ä¿®å¤ç®å模å¼ä¸çæ ·å¼ (#14610 by @sinchang) |
| | | - Docs |
| | | - éå½å Table ææ¡£ä¸çåé (#14587 by @likwotsing) |
| | | - æ·»å æ³è¯ææ¡£ç´¢å¼ (#14565 by @iamkun) |
| | | - ä¿®å¤ TimePicker ææ¡£é¡µçæ ·å¼ (#14579 by @ziyoung) |
| | | - éå½å Upload ææ¡£ä¸çåé (#14593 by @liupl) |
| | | - å¨ Form ææ¡£ä¸ æ·»å ç async-validator ææ¡£ (#14694 by @iamkun) |
| | | - ä¿®å¤ Tooltip ææ¡£ç bug (#14748 by @iamkun) |
| | | - ä¿®å¤ç¬è¯¯ (#14751 by @2bj) |
| | | - ä¿®å¤ Switch å¨ç§»å¨ç«¯ Webkit æµè§å¨çé«äº®é®é¢ (#14703 by @VladG0r) |
| | | |
| | | #### ä¼å |
| | | |
| | | - Chore: |
| | | - æ´æ° ci æå»ºèæ¬ (#14600 by @ziyoung) |
| | | - æ´æ°è°·æç»è®¡ (#14560 by @iamkun) |
| | | - æ·»å æ´å¤è°·æç»è®¡äºä»¶ (#14633 by @iamkun) |
| | | - æ´æ°è天ç»ä¿¡æ¯ (#14741 by @iamkun) |
| | | - å级æµè¯ä¾èµ (#14735 by @wacky6) |
| | | - å级 gulp (#14745 by @ziyoung) |
| | | - ä½¿ç¨ codepen æ¾ç¤º demoï¼ä¿®å¤ææ¡£ä¸çé误 (#14747 by @ziyoung) |
| | | |
| | | ### 2.6.1 |
| | | |
| | | *2019-03-03* |
| | | |
| | | #### ä¿®å¤ |
| | | |
| | | - **ä¸åæå® node çæ¬** (by @iamkun in #14546) |
| | | - è°æ´ `deloy-faas.sh` ä¸çææ¡£ç®å½ (by @ziyoung in #14553) |
| | | - è°æ´ 2.6.0 ä¸ changelog æ¥ææ ·å¼ (by @island205 in #14547) |
| | | - ä¿®å¤æ¼åé误 (by @wack6 in #14552) |
| | | |
| | | ### 2.6.0 |
| | | |
| | | *2019-03-01* |
| | | |
| | | #### æ°ç¹æ§ |
| | | - Timeline |
| | | - æ·»å Timeline ç»ä»¶ (by @jikkai in #14248) |
| | | - DropdownItem |
| | | - `el-dropdown-item` æ¯ææ·»å icon (by @gabrielboliveira in #14088) |
| | | - Input |
| | | - æ·»å `show-password` 屿§ï¼æ¯æé
ç½®æ¾ç¤ºå¯ç æé® (by @phshy0607 in #13966) |
| | | - Select |
| | | - æ·»å slot `empty` (by @elfman in #13785) |
| | | - Autocomplete |
| | | - æ·»å `highlight-first-item` 屿§ï¼æ§å¶æ¯å¦é»è®¤çªåºæ¾ç¤ºè¿ç¨æç´¢å»ºè®®ä¸ç第ä¸é¡¹ (by @YamenSharaf in #14269) |
| | | - I18n |
| | | - æ·»å äºç¾å°¼äºè¯æ¯æ (by @hamletbarsamyan in #14214) |
| | | - Docs |
| | | - æ°å¢æ³è¯ææ¡£ (by @smalesys in #12153, #14418, #14434) |
| | | |
| | | #### ä¼å |
| | | - Alert |
| | | - ç»ä»¶å¯¹éè¿ slot ä¼ å
¥ç description ä¹åºç¨é»è®¤æ ·å¼ç±» (by @iamkun in #14488) |
| | | - InputNumber |
| | | -ç§»é¤å¤ä½ç `parseFloat` (by @JuniorTour in #14172) |
| | | - Menu |
| | | - æ¯æ `el-menu-item` 䏿·»å index (by @georgyfarniev in #13298) |
| | | - Table |
| | | - ç§»é¤æ ç¨ç DOM æä½ (by @elfman in #13643) |
| | | - Upload |
| | | - 代ç ä¼å (by @elfman in #13973) |
| | | - Popup |
| | | - ç§»é¤æ ç¨ä»£ç (by @KAionro in #14413) |
| | | - Docs |
| | | - æ·»å æ´å¤ææ¡£è¯´æå¦ä½è´¡ç®ä»£ç (by @island205 in #14355) |
| | | - æ·»å `el-input` æ¯åæ§ç»ä»¶çè¦ç¤º (by @wacky6 in #14463) |
| | | - ä¼å Table çææ¡£ (by @luguokong in #14329) |
| | | - æ´æ° Input ææ¡£ (by @iamkun in #14437) |
| | | - ä¼åèªå®ä¹ä¸»é¢ææ¡£ (by @wangguohao in #14297) |
| | | - 为 Icon ææ¡£æ·»å hover ææ (by @tuxinghuan in #14295) |
| | | - Build |
| | | - å缩 Element ææ¡£ç«ç JS å CSS æä»¶ (by @iamkun in #14430) |
| | | - ä¼å Webpack æå
é度ï¼ä»6åéä¼åå°1åå¤ (by @hetech in #14484) |
| | | - æ·»å CLI å·¥å
·ï¼éæ©çæ¬å· (by @hetech in #14354) |
| | | - ä½¿ç¨ Stale æ¥ç®¡çè¿æ¶ï¼æå®1å¹´ï¼ç Issue å PR (by @island205 in #14392) |
| | | |
| | | #### é®é¢ä¿®å¤ |
| | | - Menu |
| | | - ä¿®å¤æµè§å¨æ ç¾åæ¢å¼èµ·ç focus é®é¢ (by @liupl in #13976) |
| | | - MessageBox |
| | | - ä¿®å¤ TS å®ä¹ (by @NateScarlet in #14278) |
| | | - ScrollBar |
| | | - ä¿®å¤ç¹å»é¼ æ å³é®å¯¼è´æå¨çé®é¢ (by @xifeiwu in #14196) |
| | | - Switch |
| | | - æ·»å `validate-event` 屿§ï¼è®¾ç½®æ¹å Switch ç¶ææ¶æ¯å¦è§¦å表åçæ ¡éª (by @hetech in #14426) |
| | | - Table |
| | | - ä¿®å¤å¤ Table å®ä¾å
±äº« `toggleAllSelection` æ¹æ³ï¼é ææ æ³åæ¢é®é¢ (by @letanure in #14075) |
| | | - Tabs & Dropdown |
| | | - ä¿®å¤æ ·å¼é®é¢ (by @hetech in #14452) |
| | | - Tree |
| | | - ä¸ Table ç»ä¸å ä½ææ ·å¼ (by @ColinCll in #14331) |
| | | - Docs |
| | | - ä¿®å¤ DatetimePicker ææ¡£é®é¢ (by @iamkun in #14290) |
| | | - ä¿®å¤ DatePicker ææ¡£æ¼åé®é¢ (by @helmut in #14481) |
| | | - ä¿®å¤å页ç»ä»¶ææ¡£æ ·å¼é®é¢ (by @liuchuzhang in #14451) |
| | | |
| | | #### éå
¼å®¹æ§æ´æ° |
| | | - Table |
| | | - ä¿®å¤ row äºä»¶çåæ°é¡ºåº (by @jikkai in #12086) |
| | | |
| | | ### 2.5.4 |
| | | |
| | | *2019-02-01* |
| | | |
| | | #### ä¿®å¤ |
| | | |
| | | - æå»º: ä¿®å¤ `.babelrc` é
ç½®é®é¢ââå¯¼è´ Tree çç»ä»¶æ²¡æå¨ç» (by @island205 in #14282) |
| | | |
| | | ### 2.5.3 |
| | | |
| | | *2019-01-31* |
| | | |
| | | #### ä¼å |
| | | |
| | | - ä¼å Message ç代ç (by @vok123 in #14029) |
| | | - ç§»é¤ gh-pages (by @ziyoung in #14266) |
| | | - æ·»å IssueHunt ç龿¥ (by @island205 in #14261) |
| | | |
| | | #### ä¿®å¤ |
| | | |
| | | - ä¿®å¤ UMD å
卿å¡å¨ç«¯è¿è¡åºéçé®é¢ (by @island205 in #14242) |
| | | - ä¿®å¤ Tabbar é«äº®æ¶çæ ·å¼ (by @iamkun in #14240) |
| | | - ä¿®å¤ Table 示ä¾ä»£ç çé误 (by @xunmeng in #14253) |
| | | |
| | | ### 2.5.2 |
| | | |
| | | *2019-01-27* |
| | | |
| | | #### ä¼å |
| | | - ææ¡£: |
| | | - 2.5.1 çæ¬è¥¿ççè¯ææ¡£æ´æ° (by @Gonzalo2310 in #14231) |
| | | |
| | | #### ä¿®å¤ |
| | | - æå»º: |
| | | - å é¤ umd 模å `lib/index.js` 䏿¬æ²¡æç注é (by @island205 in #14233) |
| | | - ä¿®å¤ nuxt.js ä¸å
³äº `export` å
³é®åçæ¥é (by @island205 in #14232) |
| | | - ä¿®å¤åå¸ 2.5.1 è¿ç¨ä¸çé误 (by @iamkun in #14228) |
| | | |
| | | ### 2.5.1 |
| | | |
| | | *2019-01-26* |
| | | |
| | | #### ä¼å |
| | | - DatePickerï¼æ·»å æãå¹´é«äº®çæ ·å¼ï¼by @Debiancc in #14211ï¼ |
| | | - æ´æ° 2.5.0 changelog ï¼by @wacky6 in #14217ï¼ |
| | | |
| | | |
| | | #### ä¿®å¤ |
| | | - ä¿®å¤å级 Webpack 4 产ççé®é¢ï¼æ æ³å
·å `import` ç»ä»¶ï¼`ELEMENT.locale()` è°ç¨æ¥éãï¼by @island205 in #14220ï¼ |
| | | - æ¢å¤ 2.4.11 ææ¡£ (by @iamkun in #14222) |
| | | |
| | | |
| | | ### 2.5.0 |
| | | |
| | | *2019-01-25* |
| | | |
| | | #### æ°ç¹æ§ |
| | | - DatePicker |
| | | - æ°å¢ `validate-event` 屿§ (by @ziyoung in #13531) |
| | | - DateTimePicker |
| | | - `pickerOptions` æ¯æ `selectableRange` é项 (by @eeeeeeeason) |
| | | - Tag |
| | | - æ°å¢ `click` äºä»¶ (by @licdream in #14106) |
| | | - I18n |
| | | - æ°å¢ æ¯å°å
åè¯ (Kyrgyz) (by @zzjframework in #14174) |
| | | |
| | | #### ä¼å |
| | | - åçº§å° webpack@4 (by @jikkai in #14173) |
| | | - Input |
| | | - ç®åå
é¨å®ç°ï¼éµå¾ªååæ°æ®æµï¼ä¿®å¤è¥å¹²ç¸å
³ Bug (by @wacky6 in #13471) |
| | | - æ´æ° Axure æä»¶ï¼å¢å æ°ç»ä»¶ (by @ziyoung in #13773) |
| | | |
| | | #### ä¿®å¤ |
| | | - Autocomplete |
| | | - ä¿®æ£ä¸ææ¡æåä¸è¡æ¾ç¤ºä¸å®æ´çé®é¢ (by @ziyoung in #13597) |
| | | - ä¿®æ£ä¸ææ¡ç®å¤´ (by @liuchuzhang in #13762) |
| | | - Carousel |
| | | - ç»ä»¶éæ¯æ¶éæ¾å
é¨ Timer (by @elfman in #13820) |
| | | - Cascader |
| | | - ç§»é¤å·²åºå¼ç计ç®å±æ§ç cache 屿§ (by @iamkun in #13737) |
| | | - ä¿®æ£ TypeScript ä¸ CascaderOption ç±»åå®ä¹ (by @NateScarlet in #13613) |
| | | - ä¿®æ£å¾æ è¦çæåçé®é¢ (by @ziyoung in #13596) |
| | | - Checkbox |
| | | - æ¹è¿æ¾ç¤ºæ ·å¼ (by @PanJiaChen) |
| | | - DatePicker |
| | | - ä¿®æ£ TimeSpinner ä¸ç¼ºå¤±ç v-for `key` 屿§ (by @Ende93 in #13547) |
| | | - ä¿®æ£å¨éæ©å¨å¨è·¨å¹´æ¶çé«äº®è¡ä¸º (by @suyi91 in #13883) |
| | | - Input |
| | | - ä¿®å¤ textarea æ¶ç DOM èç¹å¼ç¨ (by @laomu1988 @island205 in #13803) |
| | | - Pagination |
| | | - è¾å
¥æ¡çå¼ä¸ä¼å°äº 1 (by @elfman in #13727) |
| | | - Popover |
| | | - ä¿®æ£ hover ç触åè¡ä¸º (by @goldengecko in #13104) |
| | | - ä¿®æ£å¼¹åºæ¡çå
åæ³æ¼ (by @qpxtWhite in #13988) |
| | | - Radio |
| | | - æ¹è¿æ¾ç¤ºæ ·å¼ (by @ohhoney1) |
| | | - Table |
| | | - æ¹è¿ç¹å»æåºç®å¤´æ¶çè¡ä¸º (by @ohhoney1 in #12890) |
| | | - ä¿®æ£ IE10+ ä¸ âææ æ°æ®â æç¤ºçåç´å¸å± (by @imzjy in #13638) |
| | | - ä¿®æ£ææ¡£ä¸ `index` çç±»å说æ (by @ilovefafa in #13628) |
| | | - ä¿®æ£å¤çº§è¡¨å¤´ä½¿ç¨ `fixed` 屿§æ¶ï¼è¡¨å°¾å计è¡çæ¾ç¤ºæ ·å¼ (by @luckyCao in #13914) |
| | | - Tabs |
| | | - ä¿®æ£èªå¨æ»å¨ (by @iamkun in #13696) |
| | | - éè¿é¢æ¿åç§°æ¥æ¾é¢æ¿ (by @iamkun in #13705) |
| | | - ä½¿ç¨ `paneName` 计ç®é¢æ¿æ ·å¼ (by @iamkun in #13733) |
| | | - Tree |
| | | - ä¿®æ£ `showCheckbox` ä¸è½å½±ååèç¹çé®é¢ (by @KidneyFlower) |
| | | - æ´æ°ææ¡£å TypeScript å®ä¹ (by @ziyoung in #13540) |
| | | - Upload |
| | | - `list-type` æ¹åæ¶ï¼ä¿ç `url` 屿§ (by @elfman in #13771) |
| | | - Slider |
| | | - ä¿®æ£æºä»£ç ç¼©è¿ (by @wacky6 in #13955) |
| | | - I18n |
| | | - è¡¥å
å æ³°ç½å°¼äºè¯ (Catalan) ç¿»è¯ (by @jaumesala) |
| | | - è¡¥å
ä¿è¯ (Russian) ç¿»è¯ (by @justlp in #13658) |
| | | - è¡¥å
è¬å
°è¯ (Finnish) ç¿»è¯ (by @jenkrisu in #14137) |
| | | - Doc |
| | | - æ´æ°è¥¿ççè¯ææ¡£è³ 2.4.11 (by @Gonzalo2310 in #13522) |
| | | - å
¶å® |
| | | - ç§»é¤å¤ä½çæå»ºèæ¬ (by @ziyoung) |
| | | - ä¿®æ£ææ¡£è¶
龿¥ (by @iamkun in #13753) |
| | | - ä¿®æ£ææ¡£ä¸ä¸ä¸è´ç大å°å (by @wonderjar) |
| | | - å¢å éé群çäºç»´ç (by @iamkun in #13957) |
| | | - .gitignore å¢å yarn æ¥å¿æä»¶ (by @mimimi in #13922) |
| | | - ç§»é¤èµå©å 夿 (by @island205 in #14156) |
| | | - Update readme qr code src (by @iamkun in #13960) |
| | | - æ´æ° CDN 龿¥ï¼ä¿®æ£éå«å (by @ziyoung) |
| | | |
| | | ### 2.4.11 |
| | | |
| | | *2018-11-21* |
| | | |
| | | - æ¤é pr #13296ï¼ä¿®å¤ç¹å» Menu å¤é¨å¯¼è´ Submenu æ¶èµ·çé®é¢ï¼#13478 |
| | | - è°æ´å°å±å¹ï¼xsï¼åªä½æ¥è¯¢æç¹ï¼#13468 ï¼by @alekoshen712ï¼ |
| | | |
| | | ### 2.4.10 |
| | | |
| | | *2018-11-16* |
| | | |
| | | - ä¿®å¤å¤æ¬¡ç¹å» Select ææ¾ç¤ºä¸æå表çé®é¢ï¼#13268 |
| | | - Form ç¦ç¨æ¶ä¸æ¾ç¤º Input ç clear 徿 ï¼#13208 |
| | | - è°æ´ Selectï¼Progressï¼Autocompleteï¼Tooltipï¼Collaspeï¼TimePicker çæ ·å¼ï¼#13188 (by @porcelainHeart) #13210 #13266 #13257 #13290 #13347 (by @PanJiaChen) |
| | | - Carousel ç»ä»¶æ°å¢ `loop` 屿§ï¼#13217 |
| | | - Table ç data æ¹åæ¶ï¼é«äº®è¡ä¼ç»§ç»ä¿çï¼#13200 |
| | | - Table ç header slot å¯ä»¥æ¥æ¶åæ°ï¼#13263 |
| | | - Table ç `clearFilter` æ¹æ³æ¯æåæ°ï¼#13176 |
| | | - Table åå
æ ¼å
没æå
容æ¶ä¸åå建 Tooltipï¼#13152 (by @rongxingsun) |
| | | - ColorPicker 颿¿çè¾å
¥æ¡å
容å¯ä»¥æ£å¸¸æ¾ç¤ºäºï¼#13278 |
| | | - å¨ææ½æ¶ï¼ColorPicker ä¸å触åè¡¨åæ ¡éªï¼#13299 |
| | | - InputNumber æ°å¢ `select` æ¹æ³ï¼#13286 (by @st-sloth) |
| | | - Autocomplete æ°å¢ `clear` äºä»¶ï¼#12171(by arthurdenner) #13326 |
| | | - å¯ä»¥éè¿ç¹å» Menu å¤é¨æ¥å
³é Menuï¼#13296 |
| | | - Form ç `validateField` æ¹æ³å¯ä»¥æ¥æ¶åæ°ï¼#13319 |
| | | - Cascader æ°å¢ `visible-change` äºä»¶ï¼#13415 |
| | | - DatePicker æ°å¢ range-separator slotï¼ #13272 (by @milworm) |
| | | - Tree æ°å¢ `iconClass` ä¸ `currentNodeKey` 屿§ï¼#13337 #13197 (by @isnifer) |
| | | - Progress ç `status` æ·»å äº text #13198 (by @ali-master) |
| | | - ä¿®å¤ Tree ç `defaultCheckedKeys` å¯¼è´æ¾ç¤ºçé误ï¼#13349 (by @dive2Pro) |
| | | |
| | | ### 2.4.9 |
| | | |
| | | *2018-10-26* |
| | | |
| | | - Form ç»ä»¶ clearValidate æ¹æ³åæ°æ¯æå符串ï¼#12990 ï¼by @codinglobsterï¼ |
| | | - Badge æ°å¢ type 屿§ï¼#12991 |
| | | - ç¨æ·å¯ä»¥ä½¿ç¨ scoped-slot æ¥èªå®ä¹è¡¨å¤´ï¼#13012ï¼by @ivanseidelï¼ |
| | | - ä¿®å¤ IE ä¸ Select è¾å
¥æ¡ä¸è½è¾å
¥çé®é¢ï¼#13034ï¼by @GaliMUï¼ |
| | | - Select å¤éæ¶ï¼é项䏿¢è¡ï¼#12329 ï¼by @akki-jatï¼ |
| | | - Select 䏿å表å±å¼åï¼ç®å¤´å¾æ ä¹å¯ä»¥æ£ç¡®æ¾ç¤ºï¼#12353ï¼by @fireshï¼ |
| | | - ä¿®å¤ Select ç size 屿§ä¸çæçé®é¢ï¼#13070 |
| | | - å¤éæ¶å¯ä»¥æ¸
é¤ Select å·²éä¸çå¼ï¼#13049ï¼by @ZSkycatï¼ |
| | | - ä¿®å¤æåä¸ä¸ª TabNav ä¸è½å é¤çé®é¢ï¼#13039 |
| | | - ä¿®å¤ TabNav ä¸ label æ¾ç¤ºä¸æ£ç¡®çé®é¢ï¼#13178 |
| | | - Alert æ°å¢ title slotï¼#13082ï¼by @Kingwlï¼ |
| | | - ä¿®å¤ Table ä¸ç tooltip å
容䏿£ç¡®çé®é¢ï¼#13159ï¼by @elfmanï¼ |
| | | - ä¼å Upload æä»¶å表å 餿¶çå¨ç»ï¼#12987 |
| | | - å½ InputNumber æ§å¶æé®ä¸æ¾ç¤ºæ¶ï¼è°æ´äºè¾¹è·ï¼#13052 |
| | | |
| | | ### 2.4.8 |
| | | |
| | | - Switch èç¦æ¶ä¸æ¾ç¤ºè½®å»ï¼#12771 |
| | | - ä¿®å¤ Dropdown å¨ ButtonGroup 䏿 ·å¼é®é¢ï¼#12819 ï¼by @bluejfoxï¼ |
| | | - Dialog æ°å¢ opened äºä»¶ï¼#12828 |
| | | - ä¿®å¤ TabNav æ¾ç¤ºé¡ºåºä¸æ£ç¡®çé®é¢ï¼#12846 |
| | | - ä¿®å¤ Tabs æ²¡ææ»å¨å°éä¸ tab çé®é¢ï¼#12948 |
| | | - ä¿®å¤ Tree èç¹å¨ææ½æ¶æ è¯ç¬¦ä¸æ¾ç¤ºçé®é¢ï¼#12854 |
| | | - Form ç validate äºä»¶åæ°ä¸å
å«äºæ ¡éªçä¿¡æ¯ï¼#12860 ï¼by @YamenSharafï¼ |
| | | - ä¿®å¤ DatePicker æ²¡ææ ¡éªç¨æ·è¾å
¥æ¶é´çåæ³æ§é®é¢ï¼#12898 |
| | | - ä¿®å¤ Table 表头ç `render-header`屿§ä¸çæçé®é¢ï¼#12914 |
| | | |
| | | ### 2.4.7 |
| | | |
| | | *2018-09-14* |
| | | |
| | | - ä¿®å¤ DatePicker æªè§¦åè¡¨åæ£éªçé®é¢ï¼#12328ï¼#12348 |
| | | - ä¿®å¤ DatePicker å¤éæ¶æ¥éçé®é¢ï¼#12347 |
| | | - ä¿®å¤ DatePicker éæ©æ¶é´æ¶ spinner ä½ç½®ä¸æ£ç¡®çé®é¢ï¼#12415 ï¼by @rang-aliï¼ |
| | | - ä¿®å¤ Datepicker è¾å
¥æ¡èªå¨å¡«å
çé®é¢ï¼#12521 ï¼by @abdallanayerï¼ |
| | | - ä¿®å¤ Cascader ä¸ Input æªé«äº®çé®é¢ï¼#12341 |
| | | - ä¿®å¤ Tabpane 顺åºä¸æ£ç¡®çé®é¢ï¼#12346 |
| | | - ä¿®å¤ ColorPicker åè²å
æ ä½ç½®ä¸æ£ç¡®çé®é¢ï¼#12376 ï¼by @cnwhyï¼ |
| | | - è°æ´ Submenu çæ ·å¼ï¼#12457 |
| | | - ä¿®å¤ Submenu éä¸å没æé«äº®çé®é¢ï¼#12479 |
| | | - ä¿®å¤ Cascader éæ©å¼ä¸æ£ç¡®çé®é¢ï¼#12508 ï¼by @huangjinqiangï¼ |
| | | - ä¿®å¤ Pagination è¾å
¥æ¡å¼ä¸æ£ç¡®çé®é¢ï¼#12525 |
| | | - è°æ´ Pagination 触åäºä»¶ç顺åºï¼#12530 |
| | | - ä¿®å¤ Table ç filter 䏿¾ç¤ºçé®é¢ï¼#12539 |
| | | - ä¿®å¤ Tree æ æ³å é¤èç¹çé®é¢ï¼#12684 |
| | | - ä¿®å¤ Select å¨åéæ¶ Input é«åº¦ååçé®é¢ï¼#12719 |
| | | - ä¿®å¤ Form å¨åµå¥æ¶ label æ¾ç¤ºä¸æ£ç¡®çé®é¢ï¼#12748 |
| | | - æ°å¢ Input ç autocomplete 屿§ï¼åºå¼ auto-complete 屿§ï¼#12514 ï¼by @axetroyï¼ |
| | | - æ°å¢ Form ç slot-scope å±ç¤ºè¡¨åæ ¡éªä¿¡æ¯ï¼#12715 ï¼by @YamenSharafï¼ |
| | | |
| | | ### 2.4.6 |
| | | |
| | | *2018-08-09* |
| | | |
| | | - ä¿®å¤ Table ç filter åå§å¼ä¸ºç©ºæ°ç»æ¶ä¸æ¾ç¤ºçé徿 çé®é¢ï¼#12165 |
| | | - ä¿®å¤ Menu 卿´æ¹ `collapse` æ¶ä¸ä¿åèåæ¿æ´»ç¶æçé®é¢ï¼#12178 (by @elfman) |
| | | - ä¿®å¤ Cascader æªè½¬ä¹ç¹æ®å符çé®é¢ï¼#12248 |
| | | - ä¿®å¤ç¦ç¨ç RadioButton å¨ç¹å»æ¶æ¾ç¤º box-shadow çé®é¢ï¼#12262 |
| | | - ä¿®å¤ Select åå§å¼ä¸º `undefined` æ¶æ¹åé®å¤±æçé®é¢ï¼#12322 |
| | | - ä¿®å¤ Select å¤éæ¶è¾å
¥çå
³é®åæ¶å¤±çé®é¢ï¼#12304 |
| | | - ä¿®å¤ Select å¤éæ¶æ¥è¯¢å½æ°æ²¡æå»æçé®é¢ï¼#12181 |
| | | - ä¿®å¤ Dialog å¨å
¨å±æ¾ç¤ºæ¶å®½åº¦ä¸æ£ç¡®çé®é¢ï¼#12203 |
| | | - ä¿®å¤ Main å¨ IE ä¸çæ¾ç¤ºä¸æ£ç¡®çé®é¢ï¼#12237 |
| | | - ä¿®å¤ Input 触åä¸¤æ¬¡è¡¨åæ ¡éªçé®é¢ï¼#12260 |
| | | - ä¿®å¤ Tree 卿å è½½æ¶æ·»å èç¹å¯¼è´èç¹æ¶å¤±çé®é¢ï¼#12256 |
| | | - ä¿®å¤ Tree èç¹å¨ææ½åæ æ³å é¤çé®é¢ï¼#12279 |
| | | - ä¿®å¤ Popover å¨ InputNumber èç¦æ¶ä¸æ¾ç¤ºçé®é¢ï¼#12284 |
| | | - æ·»å Autocomplete ç popper-append-to-body 屿§ï¼#12241 |
| | | - æ·»å Pagination ç `page-size` 屿§ `sync` ä¿®é¥°ç¬¦çæ¯æï¼#12281 |
| | | |
| | | ### 2.4.5 |
| | | |
| | | *2018-07-26* |
| | | |
| | | - ä¿®å¤ Table 设置 `class-name` 对 `expand` åä¸çæçé®é¢ï¼#12006 |
| | | - æ°å¢ Table ç `toggleAllSelection` æ¹æ³ï¼#12047 |
| | | - ä¿®å¤ Input å
å« Select æ¶ï¼suffix ææ§½ä½ç½®æ¾ç¤ºä¸æ£ç¡®çé®é¢ï¼#12108 |
| | | - ä¿®å¤ Option ç `line-height` æ æ³è®¾ç½®çé®é¢ï¼#12120 |
| | | - ä¿®å¤åå§å¼ä¸º `null` ç TimeSelect 卿§è¡ `resetField` åæ æ³åèµå¼çé®é¢ï¼#12010 |
| | | - ä¿®å¤ Tree ç»ä»¶ä¸ä¸ååºæ¹åé®ä»¥å¤ keydown äºä»¶çé®é¢ï¼#12008 |
| | | - ä¿®å¤ Tree 卿å è½½æ
åµä¸éä¸ç¶èç¹çé®é¢ï¼#12106 |
| | | - Tree ç `getCheckedNodes` æ¹æ³æ°å¢ `includeHalfChecked` åæ°ï¼#12014 |
| | | |
| | | ### 2.4.4 |
| | | |
| | | *2018-07-13* |
| | | |
| | | - ä¿®å¤é置表åå触å Select ç»ä»¶æ ¡éªé®é¢ï¼#11837 |
| | | - ä¿®å¤ Input ç»ä»¶ `suffix` ä¸ `append` å
±åæ¶æ ·å¼éä¹±é®é¢ï¼#11951 |
| | | - ä¿®å¤å¯æ¸
空çåªè¯» Input ä»ä¼æ¾ç¤ºæ¸
ç©ºå¾æ çé®é¢ï¼#11967 |
| | | - ä¿®å¤ Tree èç¹ç¦ç¨æ¶ä»å¯ä»¥éä¸çé®é¢ï¼#11847 |
| | | - ä¿®å¤ Tree `default-checked-keys` 屿§ä¸çæçé®é¢ï¼#11971 |
| | | - ä¿®å¤ Tree å¨è¿æ»¤èç¹æ¶ä¸ `empty-text` 䏿¾ç¤ºçé®é¢ï¼#11971 |
| | | - ä¿®å¤ Table ç `empty-text` è¿é¿æ¶çä½ç½®æ ·å¼é®é¢ï¼#11965 |
| | | - ä¿®å¤ Table ç `current-row-key` 设置为 `null` æ¶é«äº®è¡ä¸æ¸
é¤çé®é¢ï¼#11866 |
| | | - ä¿®å¤å½ `filters` 为空æ°ç»æ¶æ¾ç¤ºè¿æ»¤å¨ä¸æå表çé®é¢ï¼#11864 |
| | | - ä¿®å¤ Radio ç label ä¸é»æ¢äºä»¶å泡çé®é¢ï¼#11912 |
| | | |
| | | ### 2.4.3 |
| | | |
| | | *2018-07-03* |
| | | |
| | | - ä¿®å¤å½èªå®ä¹ Tree èç¹é«åº¦æ¶ï¼`allow-drop` ä¸è½æ£å¸¸å·¥ä½çé®é¢ï¼#11797 |
| | | - ç°å¨ Form ç `clearValidate` æ¹æ³æ¯æä¼ å
¥åæ°ï¼æå®éè¦æ¸
ç©ºæ ¡éªç»æç FormItemï¼#11821 |
| | | - æ°å¢ MessageBox ç `distinguishCancelAndClose` 屿§ï¼#11831 |
| | | |
| | | ### 2.4.2 |
| | | |
| | | *2018-06-26* |
| | | |
| | | - ä¿®å¤ Table ç `class-name` å `label-class-name` 屿§ä¸æ¯æå¨ææ´æ°çé®é¢ï¼#11626 |
| | | - ä¿®å¤ Table å¨ `highlight-current-row` 为 `false` æ¶ç¹å»è¡ä¹ä¼è§¦åé«äº®çé®é¢ï¼#11691 #11563 |
| | | - ä¿®å¤ ButtonGroup ä¸åªæä¸ä¸ª `round` æ `circle` ç Button æ¶çæ ·å¼é误ï¼#11605 |
| | | - ä¿®å¤å¨æäºæ
åµä¸ Pagination çæ¡ç®æ°éæ©å¨çæ ·å¼é误ï¼#11622 |
| | | - ä¿®å¤ Menu ç `collapse` 屿§åååæ æ³ä½¿ç¨ `open` æ¹æ³çé®é¢ï¼#11646 |
| | | - Tabs ç `before-leave` é©åæ·»å äº `activeName` å `oldActiveName` åæ°ï¼#11713 |
| | | - ä¿®å¤ Cascader å
³éåçèç¦é®é¢ï¼#11588 |
| | | - ä¿®å¤ Cascader å¨ `change-on-select` ç¶æä¸ç¹å»é项ä¸å
³éçé®é¢ï¼#11623 |
| | | - ç°å¨éè¿ä»£ç æ¹å Select çå¼åä¼è§¦åè¡¨åæ ¡éªï¼ä¸ Input è¡ä¸ºä¸è´ï¼#11672 |
| | | |
| | | ### 2.4.1 |
| | | |
| | | *2018-06-08* |
| | | |
| | | - ç§»é¤ Autocomplete çéå¤ç±»å声æï¼#11388 |
| | | - ä¿®å¤åµå¥å¨ Form å
ç Select å¨ FireFox æµè§å¨ä¸ä¸æç®å¤´éä½çé®é¢ï¼#11427 |
| | | - ä¿®å¤ Select çåå§å¼ä¸º `null` æ¶ä»ç¶æ¾ç¤ºæ¸
é¤å¾æ çé®é¢ï¼#11460 |
| | | - ä¿®å¤ç¦ç¨ç Radio å¨ç¹å»æ¶æ¾ç¤º box-shadow çé®é¢ï¼#11462 |
| | | - æ°å¢ MessageBox ç `iconClass` 屿§ï¼#11499 |
| | | - æ°å¢ Tabs ç `stretch` 屿§ï¼#11476 |
| | | - ä¿®å¤ Tabs å¼å¯ `lazy` æ¶æ¸²æé¡ºåºå¼å¸¸çé®é¢ï¼#11461 |
| | | - ä¿®å¤ Table å±å¼è¡æ¶æ æ³ä¿çéä¸è¡æ ·å¼çé®é¢ï¼#11464 |
| | | - ä¿®å¤ Tabs è°ç¨ `before-leave` å¹¶è¿å Promise çæ¶åï¼Tabs ä¼åå¨ focus ç¶æçé®é¢ï¼#11386 |
| | | - ä¿®å¤ Popover ç¦ç¨ç¶æä¸åå»ºå¼¹åºæ¡çé®é¢ï¼#11426 |
| | | - ä¿®å¤ Tree 卿å è½½ç¶æä¸æ·»å æ°èç¹é ææ é循ç¯çé®é¢ï¼#11430 ï¼by @wangjingfï¼ |
| | | - æ°å¢ Dialog ç `closed` äºä»¶ï¼#11490 |
| | | |
| | | ### 2.4.0 Fullerene |
| | | |
| | | *2018-05-28* |
| | | |
| | | #### æ°ç¹æ§ |
| | | - 综å |
| | | - 使ç¨åç webpack ä½ä¸ºæå»ºåæå
å·¥å
·ï¼#11216 |
| | | - å¯ä»¥å
¨å±é
置弹åºå±çåå§ z-indexï¼#11257 |
| | | - Autocomplete |
| | | - æ°å¢ `hide-loading` 屿§ï¼#11260 |
| | | - Button |
| | | - ç°å¨åå½¢æé®ä¹æ¯æéè¿ `size` 屿§æ¹åå
¶å°ºå¯¸äºï¼#11275 |
| | | - InputNumber |
| | | - æ°å¢ `precision` 屿§ï¼#11281 |
| | | - Tabs |
| | | - æ°å¢ `before-leave` é©åï¼#11259 |
| | | - æ°å¢ `lazy` 屿§ï¼#11167ï¼by @Kingwlï¼ |
| | | - Table |
| | | - æ°å¢ `sort` æ¹æ³ï¼æ¯ææå¨æåºï¼#11311 |
| | | |
| | | #### ä¿®å¤ |
| | | - Input |
| | | - ä¿®å¤ä½¿ç¨ä¸æè¾å
¥æ³å¿«éè¾å
¥æåæ¶ä¼å¯¼è´è§å¾éæ°æ¸²æçé®é¢ï¼#11235ï¼by @STLighterï¼ |
| | | - Popover |
| | | - ä¿®å¤å½è§¦åå
ç´ ä¸º Radio æ Checkbox æ¶æ§å¶å°æ¥éçé®é¢ï¼#11265 |
| | | - Breadcrumb |
| | | - ä¿®å¤ `to` 屿§ä¸æ¯æå¨ææ´æ°çé®é¢ï¼#11286 |
| | | - Upload |
| | | - ä¿®å¤å¨ `beforeUpload` æ¹æ³è¿åç Promise ä¸ resolve ä¸ä¸ª File æ¶æ§å¶å°æ¥éçé®é¢ï¼#11297ï¼by @qusibaï¼ |
| | | - Tooltip |
| | | - ä¿®å¤å
容为空æ¶ç®å¤´éä½çé®é¢ï¼#11335 |
| | | - Autocomplete |
| | | - ä¿®å¤å¨å¿«éå é¤æç´¢å
容åè¾å
¥å»ºè®®ä¸æ£ç¡®çé®é¢ï¼#11323 |
| | | - ColorPicker |
| | | - ä¿®å¤å
³ééè²å¨æ¶è§¦å `active-change` äºä»¶çé®é¢ï¼#11304 |
| | | - Table |
| | | - ä¿®å¤çéå表è¿é¿å¯¼è´æ ·å¼è¶
åºçé®é¢ï¼#11314 |
| | | - ä¿®å¤æåºåå¯¼è´æ æ³æ£å¸¸æ¾ç¤ºéä¸è¡æ ·å¼çé®é¢ï¼#11348 |
| | | - Checkbox |
| | | - ä¿®å¤å个 Checkbox 䏿¯æè¡¨åéªè¯çé®é¢ï¼#11271 |
| | | - Radio |
| | | - ä¿®å¤éè¿ç©ºæ ¼å¯ä»¥éä¸è¢«ç¦ç¨ç Radio çé®é¢ï¼#11303 |
| | | - MessageBox |
| | | - ä¿®å¤è¿ç»æå¼ä¸¤ä¸ª MessageBox æ¶ `el-popup-parent--hidden` æ æ³ç§»é¤çé®é¢ï¼#11371 |
| | | |
| | | ### 2.3.9 |
| | | |
| | | *2018-05-18* |
| | | |
| | | - ä¿®å¤å½ TableColumn ç `prop` 屿§æå®çåæ®µå¨æ°æ®æºä¸ä¸å卿¶ï¼é¼ æ ç§»å
¥è¯¥ååå
æ ¼ä¼æ¥éçé®é¢ï¼#11137 |
| | | - å¼¹åºç±»ç»ä»¶ç `lockScroll` 屿§ä¸å为ç¶å
ç´ æ·»å å
èæ ·å¼ï¼èæ¯æ·»å ç¸åºç±»åï¼#11114 |
| | | - ä¿®å¤ Progress å¨ `status` 为 exception æ¶å¾æ 䏿¾ç¤ºçé®é¢ï¼#11172 |
| | | - ä¿®å¤å¯æç´¢ç Cascader å¨è¾å
¥å
³é®è¯åï¼é项ç `disabled` 屿§å¤±æçé®é¢ï¼#11185 |
| | | - ä¿®å¤å¯å±å¼ç Table å¨å±å¼æä¸è¡åæ´æ°æ°æ®æºä¼é æè¯¥è¡æ æ³æ¶èµ·çé®é¢ï¼#11186 |
| | | - Tree ç `setCurrentKey` æ¹æ³æ¯æä¼ å
¥ `null`ï¼å¯åæ¶å½åé«äº®çèç¹ï¼#11205 |
| | | |
| | | ### 2.3.8 |
| | | |
| | | *2018-05-11* |
| | | |
| | | - ä¿®å¤ `type` 为 dates ç DatePicker å¨éæ©éå½åæçæ¥æåï¼é¢æ¿ä¼è·³è½¬è³å½åæçé®é¢ï¼#10973 |
| | | - ä¿®å¤å¯æ¸
空çåªè¯» Input ä»ä¼æ¾ç¤ºæ¸
ç©ºå¾æ çé®é¢ï¼#10912 |
| | | - ä¿®å¤èå´éæ©ç DatePicker 卿ªæ¹åå¼çæ
åµä¸å
³é䏿颿¿ä»ä¼è§¦å `change` äºä»¶çé®é¢ï¼#11017 |
| | | - ä¿®å¤ Select 卿åç»é项æ¶ä¸è½æ£ç¡®éè¿é®ç导èªçé®é¢ï¼#11058 |
| | | - æ°å¢ Select ç `prefix` å
·å slotï¼#11063 |
| | | - æ°å¢ FormItem ç `clearValidate` æ¹æ³ï¼#11076 |
| | | - æ°å¢ Tree ç `checkOnClickNode` 屿§ï¼#11111 |
| | | |
| | | ### 2.3.7 |
| | | |
| | | *2018-04-29* |
| | | |
| | | - ä¿®å¤ Table å¨ç±äºçéè使åæçæ»å¨æ¡æ¶å¤±å表头åå宽度æªåæ¶æ´æ°çé®é¢ï¼#10834 |
| | | - ä¿®å¤å¯æ¸
空ç Input å¨åå§å¼ä¸º `null` æ¶ä»ç¶æ¾ç¤ºæ¸
ç©ºå¾æ çé®é¢ï¼#10912 |
| | | - ä¿®å¤å¨éè¿ä»£ç æ¹å ColorPicker çç»å®å¼åé误å°è§¦å `active-change` äºä»¶çé®é¢ï¼#10903ï¼by @zhangbobellï¼ |
| | | - ä¿®å¤å¯æç´¢ç Select å¨å¤é项å被ç¦ç¨æ¶ï¼éè¿é®ç导èªä¼é ææ é循ç¯çé®é¢ï¼#10945 |
| | | |
| | | ### 2.3.6 |
| | | |
| | | *2018-04-21* |
| | | |
| | | - ä¿®å¤ Tree ç `allow-drop` åè°å¨ä½¿ç¨ `type` åæ°åçé误è¡ä¸ºï¼#10821 |
| | | - ä¿®å¤å¯æç´¢çåé Select å¨ IE11 䏿 æ³è¾å
¥æç´¢å
³é®è¯çé®é¢ï¼#10822 |
| | | - ä¿®å¤åé Select å¨ä½¿ç¨é¼ æ éä¸æä¸ªé项åé误å°è§¦å `blur` äºä»¶çé®é¢ï¼#10822 |
| | | |
| | | ### 2.3.5 |
| | | |
| | | *2018-04-20* |
| | | |
| | | - ä¿®å¤ DatePicker ç `type` 为 week æ¶é¢æ¿é误é«äº®çé®é¢ï¼#10712 |
| | | - ä¿®å¤ InputNumber åå§å¼ä¸º 0 æ¶è¾å
¥æ¡ä¸ºç©ºçé®é¢ï¼#10714 |
| | | - æ°å¢ Select ç `automatic-dropdown` 屿§ï¼#10042ï¼by @Seebiscuitï¼ |
| | | - ä¿®å¤ `disabled` ç Rate ä»è½éè¿é®çå·¦å³é®æ¹åç»ä»¶å¼çé®é¢ï¼#10726ï¼by @Richard-Choooouï¼ |
| | | - ç°å¨ DatePicker ç `type` 屿§å¯ä»¥æ¥æ¶ `'dates'`ï¼ç¨äºéæ©å¤ä¸ªæ¥æï¼#10650ï¼by @Mini256ï¼ |
| | | - æ°å¢ Pagination ç `prev-click` å `next-click` äºä»¶ï¼#10755 |
| | | - æ°å¢ Pagination ç `pager-count` 屿§ï¼#10493ï¼by @chongjohn716ï¼ |
| | | - æ°å¢ `type` ä½ä¸º Tree ç `allow-drop` 屿§åè°ç第ä¸ä¸ªåæ°ï¼#10792 |
| | | - æ¹ç¨ ResizeObserver 对å
ç´ ç尺寸ååè¿è¡çæµï¼#10779 |
| | | |
| | | ### 2.3.4 |
| | | |
| | | *2018-04-12* |
| | | |
| | | - å é¤ SubMenu å¨ TypeScript ç±»å声æä¸éå¤ç `showTimeout` 屿§ï¼#10566ï¼by @kimondï¼ |
| | | - ç°å¨ Transfer æ°æ®é¡¹çæ¸²ææ¯æéè¿ scoped slot èªå®ä¹ï¼#10577 |
| | | - ä¿®å¤ç¹å» Pagination ç¦ç¨çä¸ä¸é¡µãä¸ä¸é¡µæé®ä»ä¼è§¦å `current-change` äºä»¶çé®é¢ï¼#10628 |
| | | - ä¿®å¤æªç»å®å¼ç Textarea å¨ SSR ä¸ä¼æ¾ç¤º `undefined` çé®é¢ï¼#10630 |
| | | - ä¿®å¤ `type` 为 border-card ç Tabs ä¸è¢«ç¦ç¨æ ç¾é¡¹çæ ·å¼ï¼#10640 |
| | | - æ°å¢ `$index` ä½ä¸º Table ç `formatter` 屿§åè°ç第åä¸ªåæ°ï¼#10645 |
| | | - ä¿®å¤ TypeScript ç±»åå£°ææªå¯¼åº CheckboxButton çé®é¢ï¼#10666 |
| | | |
| | | ### 2.3.3 |
| | | |
| | | *2018-04-04* |
| | | |
| | | - æ°å¢ Card ç `shadow` 屿§ï¼#10418ï¼by @YunYouJunï¼ |
| | | - ä¿®å¤ Badge å¨ `value` 屿§ä¸º `0` æ¶ä¸æ¾ç¤ºä¸æ çé®é¢ï¼#10470 |
| | | - ä¿®å¤ Tree èç¹ææ½ç¸å
³çé®é¢ï¼#10474 #10494 |
| | | - æ°å¢ Autocomplete ç `placement` 屿§ï¼#10475 |
| | | - ç°å¨ `default-time` 屿§ä¹å¯ç¨äºéèå´éæ©ç DateTimePicker äºï¼#10321ï¼by @RickMacTurkï¼ |
| | | - ä¿®å¤ TabItem 卿µè§å¨å¤±ç¦åéèååºç°èè²è¾¹æ¡çé®é¢ï¼#10503 |
| | | - æ°å¢ SubMenu ç `popper-append-to-body` 屿§ï¼#10515 |
| | | - ç°å¨é龿¥ç BreadcrumbItem å¨ hover æ¶ä¸åå
·æè§è§åé¦ï¼#10551 |
| | | - è°æ´ InputNumber `change` äºä»¶çè§¦åæ¶æºï¼ä½¿å¾å¨åè°ä¸è½å¤å徿æ°çç»ä»¶ç»å®å¼ï¼#10553 |
| | | |
| | | ### 2.3.2 |
| | | |
| | | *2018-03-29* |
| | | |
| | | - ä¿®å¤ Autocomplete æ¥éçé®é¢ï¼#10442 |
| | | |
| | | ### 2.3.1 |
| | | |
| | | *2018-03-29* |
| | | |
| | | - ä¿®å¤ Input ç `type` 屿§æªä¼ éè³åç input å
ç´ çé®é¢ï¼#10415 |
| | | - æ°å¢ Select ç `blur` æ¹æ³ï¼#10416 |
| | | |
| | | ### 2.3.0 Diamond |
| | | |
| | | *2018-03-28* |
| | | |
| | | #### æ°ç¹æ§ |
| | | - Table |
| | | - ç°å¨ TableColumn ç `formatter` 屿§å¯ä»¥æ¯å¨æçï¼#10184ï¼by @elfmanï¼ |
| | | - æ°å¢ `select-on-indeterminate` 屿§ï¼#9924ï¼by @syn-zetaï¼ |
| | | - Menu |
| | | - æ°å¢ `collapse-transition` 屿§ï¼#8809ï¼by @limichangeï¼ |
| | | - Input |
| | | - æ°å¢ `select` æ¹æ³ï¼#10229 |
| | | - æ°å¢ `blur` æ¹æ³ï¼#10356 |
| | | - ColorPicker |
| | | - æ°å¢ `predefine` 屿§ï¼#10170ï¼by @elfmanï¼ |
| | | - Tree |
| | | - æ°å¢ `draggable`ã`allow-drop` å `allow-drag` 屿§ï¼ä»¥å `node-drag-start`ã`node-drag-enter`ã`node-drag-leave`ã`node-drag-over`ã`node-drag-end` å `node-drop` äºä»¶ï¼#9251 #10372ï¼by @elfmanï¼ |
| | | - Form |
| | | - `validate` æ¹æ³æ°å¢ç¬¬äºä¸ªåæ°ï¼å
嫿ªéè¿æ¬æ¬¡æ ¡éªç表å项信æ¯ï¼#10279 |
| | | - æ°å¢ `validate` äºä»¶ï¼#10351 |
| | | - Progress |
| | | - æ°å¢ `color` 屿§ï¼#10352ï¼by @YunYouJunï¼ |
| | | - Button |
| | | - æ°å¢ `circle` 屿§ï¼#10359ï¼by @YunYouJunï¼ |
| | | |
| | | #### ä¿®å¤ |
| | | - Form |
| | | - ä¿®å¤åµå¥å¤åå Input æ¶ï¼FormItem æ ç¾ä¸è¾å
¥æ¡æªå¯¹é½çé®é¢ï¼#10189 |
| | | - Menu |
| | | - ç°å¨æå ç¶æçèå项ä»
å¨ä¼ å
¥ `title` slot æ¶ææ¾ç¤º Tooltipï¼#10193ï¼by @PanJiaChenï¼ |
| | | - Pagination |
| | | - ä¿®å¤ `current-change` 卿ªåçç¨æ·äº¤äºæ¶é误触åçé®é¢ï¼#10247 |
| | | - DatePicker |
| | | - ç°å¨æ¶é´æ¥æéæ©å¨ä¸æé¢æ¿ä¸çå¼è½å¤æ£ç¡®å°ä» `format` 屿§ä¸è·åå¯¹åºæ ¼å¼äºï¼#10174ï¼by @remizovvvï¼ |
| | | - Upload |
| | | - ç°å¨ææ½ä¸ä¼ 伿¦æªä¸å¨ `accept` 屿§èå´å
çæä»¶ï¼#10278 |
| | | |
| | | ### 2.2.2 |
| | | |
| | | *2018-03-14* |
| | | |
| | | - æ°å¢ Input ç `clear` äºä»¶ï¼#9988ï¼by @blackmiaoolï¼ |
| | | - ç°å¨ ColorPicker çæå¨è¾å
¥æ¯æ `hsl`ã`hsv` å `rgb` æ ¼å¼äºï¼#9991 |
| | | - ä¿®å¤ DatePicker 卿¸
é¤åå§å¼æ¶ä¸è§¦å `change` äºä»¶çé®é¢ï¼#9986 |
| | | - ç°å¨ Rate ç徿 ç±»ç¸å
³å±æ§æ¯æå¨ææ´æ°äºï¼#10003 |
| | | - ä¿®å¤å«æåºå®åç Table å¨è®¾ç½® `max-height` 屿§åææ¶ä¸è½åæ¶æ´æ°å¸å±é«åº¦çé®é¢ï¼#10034 |
| | | - ç°å¨ DatePicker çèå´éæ©æ¯æå
ç¹éç»ææ¥æï¼åç¹éå¼å§æ¥æäºï¼#8156ï¼by @earlymemeï¼ |
| | | - æ°å¢ Pagination ç `disabled` 屿§ï¼#10006 |
| | | - æ°å¢ Popover ç `after-enter` å `after-leave` äºä»¶ï¼#10047 |
| | | - ä¿®å¤é置表ååï¼ç¨æ·ç¬¬ä¸æ¬¡æ¹å Select ç弿¶ä¸è§¦åæ ¡éªçé®é¢ï¼#10105 |
| | | - ä¿®å¤ Table çåºå®åå¨æäºæ
åµä¸å®½åº¦ä¸æ£ç¡®çé®é¢ï¼#10130 |
| | | - ä¿®å¤è°ç¨ MessageBox æªä¼ å
¥ `title` æ¶ï¼æå¼ç MessageBox ä¼ç»§æ¿ä¸ä¸ä¸ªå®ä¾ç `title` 屿§çé®é¢ï¼#10126ï¼by @Pochodaydayupï¼ |
| | | - æ°å¢ Slider ç `input-size` 屿§ï¼#10154 |
| | | - æ°å¢ Transfer ç `left-check-change` å `right-check-change` äºä»¶ï¼#10156 |
| | | |
| | | ### 2.2.1 |
| | | |
| | | *2018-03-02* |
| | | |
| | | - ä¿®å¤ AsideãHeader å Footer 卿äºå¸å±ä¸è¢«å缩çé®é¢ï¼#9812 |
| | | - ä¿®å¤è®¾ç½®äº `height` 屿§ç Table 卿å¡ç«¯æ¸²ææ¶æ æ³å è½½çé®é¢ï¼#9876 |
| | | - ä¿®å¤å¯å±å¼ç Table å¨å±å¼æä¸è¡åé«åº¦æªéæ°è®¡ç®çé®é¢ï¼#9848 |
| | | - ä¿®å¤å¨ DateTimePicker 䏿å¨è¾å
¥æ¥æåä¸è½æ£ç¡®è§¦å `change` äºä»¶çé®é¢ï¼#9913 |
| | | - ä¿®å¤é¼ æ å³é®ç¹å» Select çè¾å
¥æ¡ä¼å±å¼é项çé®é¢ï¼#9894ï¼by @openksï¼ |
| | | - æ°å¢ Slider ç `tooltip-class` 屿§ï¼#9957 |
| | | - ç°å¨ç Select å¨éä¸é项åä»ç¶å¤äº focus ç¶æï¼#9857ï¼by @Seebiscuitï¼ |
| | | - æ°å¢ Transfer ç `target-order` 屿§ï¼#9960 |
| | | |
| | | ### 2.2.0 Graphite |
| | | |
| | | *2018-02-12* |
| | | |
| | | #### æ°ç¹æ§ |
| | | - Menu |
| | | - SubMenu æ°å¢ `popper-class` å `disabled` 屿§ï¼#9604 #9771 |
| | | - ç°å¨æ°´å¹³æ¨¡å¼ä¸ç Menu æ¯æå¤çº§ SubMenu äºï¼#9741 |
| | | - Tree |
| | | - æ°å¢ `node-contextmenu` äºä»¶ï¼#9678 |
| | | - ç°å¨å¯ä»¥ä½¿ç¨ scoped slot èªå®ä¹æ èç¹ç模æ¿äºï¼#9686 |
| | | - æ°å¢ `getNode`ã`remove`ã`append`ã`insertBefore`ã`insertAfter`ã`getCheckedKeys`ã`getHalfCheckedNodes`ã`getHalfCheckedKeys` æ¹æ³å `check` äºä»¶ï¼#9718 #9730 |
| | | - Transfer |
| | | - æ°å¢ `clearQuery` æ¹æ³ï¼#9753 |
| | | - Select |
| | | - æ°å¢ `popper-append-to-body` 屿§ï¼#9782 |
| | | |
| | | #### ä¿®å¤ |
| | | - Table |
| | | - ä¿®å¤ç¹å»å¯å±å¼è¡çå±å¼å¾æ ä¼è§¦å `row-click` äºä»¶çé®é¢ï¼#9654 |
| | | - ä¿®å¤æäºæ
åµä¸éè¿æå¨æ¹åå宽åï¼å¸å±æ²¡æåæ¥æ´æ°çé®é¢ï¼#9668 |
| | | - ä¿®å¤å计è¡ä¸åºå®åå¹¶åæ¶çæ ·å¼é®é¢ï¼#9667 |
| | | - Container |
| | | - ä¿®å¤å¸å±ç»ä»¶å¨ IE11 䏿 æ³èªå¨å¡«å
å¯ç¨ç©ºé´çé®é¢ï¼#9655 |
| | | - Loading |
| | | - ä¿®å¤å¨ `mounted` ä¸ä¿®æ¹ `v-loading` çå¼ä¸º true æ¶ä¸è½æ£ç¡®æ¾ç¤º Loading çé®é¢ï¼#9722 |
| | | - Switch |
| | | - ä¿®å¤ç¹å»æ¶ä¼è§¦å两次åç click äºä»¶çé®é¢ï¼#9760 |
| | | |
| | | ### 2.1.0 Charcoal |
| | | |
| | | *2018-01-31* |
| | | |
| | | #### æ°ç¹æ§ |
| | | - Cascader |
| | | - æ°å¢ `focus` å `blur` äºä»¶ï¼#9184ï¼by @viewweiwuï¼ |
| | | - Table |
| | | - `filter-method` æ¹æ³å å
¥ç¬¬ä¸ä¸ªåæ° `column`ï¼#9196ï¼by @liyanlongï¼ |
| | | - DatePicker |
| | | - æ°å¢ `prefix-icon` å `clear-icon` 屿§ï¼#9237ï¼by @AdamSGitï¼ |
| | | - æ°å¢ `default-time` 屿§ï¼#9094ï¼by @nighcaï¼ |
| | | - `value-format` 屿§å¢å 对 `timestamp` çæ¯æï¼#9319ï¼by @wacky6ï¼ |
| | | - InputNumber |
| | | - ç»ä»¶ç»å®åéç弿¯æ `undefined`ï¼#9361 |
| | | - Select |
| | | - æ°å¢ `auto-complete` 屿§ï¼#9388 |
| | | - Form |
| | | - æ°å¢ `disabled` 屿§ï¼#9529 |
| | | - æ°å¢ `validateOnRuleChange` 屿§ï¼#8141 |
| | | - Notificaition |
| | | - æ°å¢ `closeAll` æ¹æ³ï¼#9514 |
| | | |
| | | #### ä¿®å¤ |
| | | - InputNumber |
| | | - ä¿®å¤åå§è¾å
¥å°æ°ç¹æ¶è¢«éç½®çé®é¢ï¼#9116 |
| | | - Dropdown |
| | | - ä¿®å¤å½é¡µé¢ä»
ææ°´å¹³æ»å¨æ¡æ¶ï¼æäºæµè§å¨ä¸æèåå®ä½é误çé®é¢ï¼#9138ï¼by @banzhuanmeiï¼ |
| | | - Table |
| | | - ä¿®å¤å¸¦æåºå®åç Table å¨åæ°æ®ååååºå®åç个æ°è®¡ç®é误çé®é¢ï¼#9188ï¼by @kolesoffacï¼ |
| | | - ä¿®å¤å¤çº§è¡¨å¤´æåä¸åçè¾¹æ¡ä¸è½æ£ç¡®æ¾ç¤ºçé®é¢ï¼#9326 |
| | | - ä¿®å¤å¨ Safari æµè§å¨ä¸è¡¨å¤´éä½çé®é¢ï¼#9327 |
| | | - ä¿®å¤å¸¦æå±å¼è¡çè¡¨æ ¼å¨å±å¼æä¸è¡åï¼å½è¡¨æ ¼æ°æ®æ´æ°ä½ `row-key` å¼ä¸åæ¶ï¼è¯¥è¡ä¼èªå¨æ¶èµ·çé®é¢ï¼#9462 |
| | | - ä¿®å¤å¨ä¸äºæ
åµä¸ä¸å¿
è¦ç夿¬¡æ¸²æé®é¢ï¼#9426 |
| | | - ä¿®å¤å¨ææ¹å TableColumn ç `width` 屿§æ¶ï¼å
¶å®½åº¦è®¡ç®é误çé®é¢ï¼#9426 |
| | | - Loading |
| | | - ä¿®å¤æäºæ
åµä¸ Loading ä¸è½è¢«æ£ç¡®éèçé®é¢ï¼#9313 |
| | | - DatePicker |
| | | - ä¿®å¤ `focus` æ¹æ³å¨èå´éæ©æ¶æ æçé®é¢ï¼#9437 |
| | | - ä¿®å¤å½ç®åæ¶å»å¤äºä¸å¯éæ©çèå´å
æ¶ï¼ç¹å»é¢æ¿ä¸çãæ¤å»ãæé®ä»è½éä¸ç®åæ¶å»çé®é¢ï¼#9470ï¼by @wacky6ï¼ |
| | | - ä¿®å¤å½å¨æéæ©é¢æ¿ä¸éä¸å¤©æ°è¾å°çæä»½æ¶ï¼æ¥æé¢æ¿åç°ä¸ä¸ä¸ªæçé®é¢ï¼#9577ï¼by @wacky6ï¼ |
| | | - Steps |
| | | - ä¿®å¤å¨ IE 11 ä¸çæ ·å¼é®é¢ï¼#9454 |
| | | |
| | | #### éå
¼å®¹æ§æ´æ° |
| | | - Menu |
| | | - `collapse` ç¶æä¸çå¼¹åºèåç°å¨ä¼æå
¥è³ body å
ç´ ï¼ä¿®å¤å
¶ä½äº Aside å
æ¶å¼¹åºèåä¸å¯è§çé®é¢ï¼#9263 |
| | | - Table |
| | | - å¾éå¤éè¡¨æ ¼ç checkbox æ¶ä¸ååæ¶è§¦å `row-click` äºä»¶ï¼#9467 |
| | | - Loading |
| | | - éå
¨å± Loading é®ç½©å±ç `z-index` ä¿®æ¹ä¸º 2000ï¼å
¨å± Loading é®ç½©å±ç `z-index` å¼ä¼é页é¢ä¸çå¼¹åºç»ä»¶å¨ææ´æ°ï¼#9522 |
| | | - Dropdown |
| | | - `show-timeout` å `hide-timeout` 屿§ç°å¨ä»
å¨ trigger 为 `hover` æ¶çæï¼#9573 |
| | | |
| | | ### 2.0.11 |
| | | |
| | | *2018-01-08* |
| | | |
| | | - ä¿®å¤ Input ç `prepend` æ `append` slot ä¸ Select çè¾¹æ¡é¢è²é误ï¼#9089 |
| | | - ä¿®å¤ Select ç `remove-tag` äºä»¶åæ°ä¸ææ¡£ä¸ç¬¦çé®é¢ï¼#9090 |
| | | - æ°å¢ SubMenu ç `show-timeout` å `hide-timeout` 屿§ï¼#8934ï¼by @HugoLewï¼ |
| | | - ä¿®å¤æéå¼å
¥ Table æ¶ `show-overflow-tooltip` ç Tooltip æ ·å¼ä¸¢å¤±çé®é¢ï¼#9130 |
| | | - ä¿®å¤ Table 卿§è¡ `clearSort` åç¹å»å¯¹åºåçæåºå¾æ æ æ³æ£å¸¸æåºçé®é¢ï¼#9100ï¼by @zEmilyï¼ |
| | | - æ·å
è¯ç i18n é
ç½®æä»¶ç± `cz` éå½å为 `cs-CZ`ï¼#9164 |
| | | |
| | | ### 2.0.10 |
| | | |
| | | *2017-12-29* |
| | | |
| | | - ä¿®å¤äº Table å¨åºå®ååå计è¡å¹¶åæ¶çé«åº¦è®¡ç®é误çé®é¢ï¼#9026 |
| | | - ä¿®å¤äº Table æ ·å¼ SCSS æä»¶é误ç¼è¯çé®é¢ï¼#9028 |
| | | - ç°å¨ DatePicker ç `change` äºä»¶åªä¼å¨ `value` çæ£æ¹åçæ¶å触åï¼#9029ï¼by @remizovvvï¼ |
| | | - æ°å¢ Input ç `tabindex` 屿§ï¼#9041ï¼by @dicklwmï¼ |
| | | |
| | | ### 2.0.9ð |
| | | |
| | | *2017-12-24* |
| | | |
| | | - æ°å¢ Upload ç `before-remove` é©åæ¹æ³ï¼#8788ï¼by @fireshï¼ |
| | | - ä¿®å¤ FormItem ç `error` 屿§åå§å¼æ æçé®é¢ï¼#8840 |
| | | - éè¿æä»¤è°ç¨ç Loading ç°å¨æ¯æä»¥ `element-loading-custom-class` 屿§çæ¹å¼è®¾ç½®èªå®ä¹ç±»åï¼#8826ï¼by @earlymemeï¼ |
| | | - ä¿®å¤ CarouselItem ä¸ºå¼æ¥è·åæ¶è¢«éèçé®é¢ï¼#8921 |
| | | - æ°å¢ Tree ç `renderAfterExpand` 屿§ï¼#8972 |
| | | |
| | | ### 2.0.8 |
| | | |
| | | *2017-12-12* |
| | | |
| | | - æ°å¢è¥¿ççè¯ææ¡£ |
| | | - ä¿®å¤ `show-timeout` 对ç¹å»è§¦åç Dropdown æ æçé®é¢ï¼#8734ï¼by @presidentenï¼ |
| | | - ä¿®å¤ Form å¯¹äº `trigger` 为 blur çæ ¡éªè§åè§¦åæ¶æºæè¯¯çé®é¢ï¼#8776 |
| | | - ä¿®å¤ DatePicker å¨èå´éæ©æ¶ blur äºä»¶è§¦åæ¶æºæè¯¯çé®é¢ï¼#8784 |
| | | - TimePicker ç `format` æ°å¢å¯¹ AM/PM çæ¯æï¼#8620ï¼by @fireshï¼ |
| | | |
| | | ### 2.0.7 |
| | | |
| | | *2017-11-29* |
| | | |
| | | - ä¿®å¤ç¦ç¨æåæé®çæ ·å¼é®é¢ï¼#8570 |
| | | |
| | | ### 2.0.6 |
| | | |
| | | *2017-11-29* |
| | | |
| | | - ä¿®å¤ Table æåºå¾æ çæ ·å¼é®é¢ï¼#8405 |
| | | - ä¿®å¤ `trigger` 为 manual ç Popover ç触åé®é¢ï¼#8467 |
| | | - æ°å¢ Autocomplete ç `prefix-icon` å `suffix-icon` 屿§ï¼#8446ï¼by @liyanlongï¼ |
| | | - æ°å¢ Cascader ç `separator` 屿§ï¼#8501 |
| | | - æ°å¢ Input ç `clearable` 屿§ï¼#8509ï¼by @lbogdanï¼ |
| | | - æ°å¢ Pagination ç `background` 屿§ï¼#8553 |
| | | |
| | | ### 2.0.5 |
| | | |
| | | *2017-11-17* |
| | | |
| | | - ä¿®å¤ä¸ä¸ªçæ¬å¼å
¥ç PopoverãTreeãBreadcrumbãCascader ç bugï¼#8188 #8217 #8283 |
| | | - ä¿®å¤ clickoutside æä»¤çå
åæ³é²é®é¢ï¼#8168 #8225ï¼by @badpunman @STLighterï¼ |
| | | - ä¿®å¤é»è®¤å°ºå¯¸çå¤é Select 卿¸
空é项åè¾å
¥æ¡é«åº¦ä¸é乿´æ°çé®é¢ï¼#8317ï¼by @luciyï¼ |
| | | - æ°å¢ Select ç `collapse-tags` 屿§ï¼ç¨äºå¨å¤éæ¶ä»¥æåä»£æ¿ Tagï¼é¿å
ç»ä»¶é«åº¦çå¢å¤§ï¼#8190 |
| | | - ä¿®å¤è¢«éèç Table ä¼é æ CPU å ç¨æç»å¢å çé®é¢ï¼#8351 |
| | | - 弿¾ Table ç `doLayout` æ¹æ³ï¼ç¨äºéæ°è®¡ç® Table çå¸å±ï¼#8351 |
| | | |
| | | ### 2.0.4 |
| | | |
| | | *2017-11-10* |
| | | |
| | | - æå CascaderãDropdownãMessageãNotificationãPopoverãTooltipãTree çå¯è®¿é®æ§ |
| | | - ä¿®å¤å½è§å£åçªæ¶ Container æ æ³åæ¥æ´æ°å
¶å®½åº¦çé®é¢ï¼#8042 |
| | | - ä¿®å¤ Tree ç `updateKeyChildren` å¨å é¤åèç¹æ¶çè¡ä¸ºé误ï¼#8100 |
| | | - ä¿®å¤å¸¦æè¾¹æ¡ç CheckboxButton å¨ Form ä¸é«åº¦é误çé®é¢ï¼#8100 |
| | | - ä¿®å¤ Menu å¨è§£æèªå®ä¹é¢è²æ¶çé误ï¼#8153ï¼by @zhouyixiangï¼ |
| | | |
| | | ### 2.0.3 |
| | | |
| | | *2017-11-03* |
| | | |
| | | - ä¿®å¤èå´éæ©ç DatePicker `editable` å `readonly` 屿§æ æ³æ£å¸¸å·¥ä½çé®é¢ï¼#7922 |
| | | - ä¿®å¤åµå¥ç Tabs çæ ·å¼é误ï¼#7941 |
| | | - ä¿®å¤çºµå Steps 䏿åä¸ä¸ª Step çæ ·å¼é误ï¼#7980 |
| | | - ä¿®å¤ Pagination ç `current-change` äºä»¶è§¦åæ¶æºé误çé®é¢ï¼#7995 |
| | | - ä¿®å¤ç±äº Menu 使ç¨äºæªæ³¨åç Tooltip é æå
¶å¨æéå¼å
¥æ¶æ¥éçé®é¢ï¼#7995 |
| | | |
| | | ### 2.0.2 |
| | | |
| | | *2017-10-31* |
| | | |
| | | - å¨ InputNumber çå åæé®ä¸åå»é¼ æ å³é®ä¸å触åå¼çæ¹åï¼#7817 |
| | | - Form ç `validate` æ¹æ³ç°å¨è½å¤æ£ç¡®å°å¨å¼æ¥æ ¡éªå®æåæ§è¡åè°äºï¼#7774ï¼by @Alleniceï¼ |
| | | - ä¿®å¤ DatePicker çèå´éæ©å¨å
æ ¸ä¸º Chromium 53-57 çæµè§å¨ä¸æ æ³ä½¿ç¨çé®é¢ï¼#7838 |
| | | - ä¿®å¤ `list-type` 为 picture-card ç Upload é¢è§åå é¤å¾æ 丢失çé®é¢ï¼#7857 |
| | | - æ°å¢ TableColumn ç `sort-by` 屿§ï¼#7828ï¼by @wangfengmingï¼ |
| | | - ä¿®å¤å¨æ¨¡å¼ä¸ç DatePicker å¨éæ©æå¹´ç¬¬ä¸å¨å¯è½ä¼æ¾ç¤ºä¸ºåä¸å¹´ç¬¬ä¸å¨çé®é¢ï¼#7860ï¼by @hh23485ï¼ |
| | | - ä¿®å¤åç´æ¨¡å¼ç Steps ä¸å¾æ å®½åº¦çæ ·å¼é误ï¼#7891 |
| | | - å¢å¤§äº Tree ä¸å±å¼ç®å¤´çç¹å»çåºï¼#7891 |
| | | |
| | | ### 2.0.1 |
| | | |
| | | *2017-10-28* |
| | | |
| | | - ä¿®å¤ RadioButton å CheckboxButton çæ ·å¼é®é¢ï¼#7793 |
| | | - ä¿®å¤ TimePicker å¨æäºæ
åµä¸æ æ³æ»å¨çé®é¢ï¼#7811 |
| | | - ä¿®å¤é¨åç»ä»¶å¨æéå¼å
¥æ¶æ ·å¼ä¸å®æ´çé®é¢ï¼#7811 |
| | | |
| | | ### 2.0.0 Carbon |
| | | |
| | | *2017-10-27* |
| | | |
| | | #### æ°ç¹æ§ |
| | | - 综å |
| | | - æ°å¢ `theme-chalk` ä¸»é¢ |
| | | - å¢å¼ºä»¥ä¸ç»ä»¶çå¯è®¿é®æ§ï¼AlertãAutoCompleteãBreadcrumbãButtonãCheckboxãCollapseãInputãInputNumberãMenuãProgressãRadioãRateãSliderãSwitch å Upload |
| | | - æ°å¢å¸å±ç»ä»¶ ContainerãHeaderãAsideãMain å Footer |
| | | - æ°å¢ TypeScript ç±»å声æ |
| | | - éç»äºå
¨é¨å¾æ ï¼å¹¶æ°å¢äºé¨å徿 |
| | | - æ°å¢äºä¸ç³»ååºäºæç¹çå·¥å
·ç±»ï¼ç¨äºå½è§å£å°ºå¯¸æ»¡è¶³ä¸å®æ¡ä»¶æ¶éèå
ç´ |
| | | - æ°å¢å
¨å±é
ç½®ç»ä»¶å°ºå¯¸çåè½ãå¨å¼å
¥ Element æ¶ï¼é
ç½® `size` åæ®µå¯ä»¥æ¹åææç»ä»¶çé»è®¤å°ºå¯¸ |
| | | - Button |
| | | - æ°å¢ `round` 屿§ï¼ç¨äºåè§æé® #6643 |
| | | - TimeSelect |
| | | - å¯ä»¥ç¨ `Up`ã`Down` 导èªï¼ç¨ `Enter` é䏿¶é´ #6023 |
| | | - TimePicker |
| | | - å¯ä»¥ç¨æ¹åé®å¯¼èªï¼ç¨ `Enter` é䏿¶é´ #6050 |
| | | - æ°å¢ `start-placeholder` å `end-placeholder`ï¼ç¨äºè®¾ç½®èå´éæ©æ¶ä¸¤ä¸ªè¾å
¥æ¡çå ä½ç¬¦ #7169 |
| | | - æ°å¢ `arrow-control` 屿§ï¼æä¾å¦ä¸ç§äº¤äºå½¢å¼ï¼#7438 |
| | | - Tree |
| | | - åèç¹å¨é¦æ¬¡è¢«å±å¼ä¹åä¸è¿è¡æ¸²æ #6257 |
| | | - æ°å¢ `check-descendants` 屿§ï¼è®¾ç½® `lazy` 模å¼ä¸å¾éèç¹æ¶ï¼æ¯å¦å®å
¨å±å¼æ´ä¸ªåæ #6235 |
| | | - Tag |
| | | - æ°å¢ `size` 屿§ #7203 |
| | | - Datepicker |
| | | - type 为 `datetimerange` æ¶å¯ä»¥ä½¿ç¨ `timeFormat` æ ¼å¼åæ¶é´éæ©å¨ #6052 |
| | | - æ°å¢ `start-placeholder` å `end-placeholder`ï¼ç¨äºè®¾ç½®èå´éæ©æ¶ä¸¤ä¸ªè¾å
¥æ¡çå ä½ç¬¦ #7169 |
| | | - æ°å¢ `value-format` 屿§ï¼æ¯æå¯¹ç»å®å¼çæ ¼å¼è¿è¡èªå®ä¹ï¼#7367 |
| | | - æ°å¢ `unlink-panels` 屿§ï¼ç¨äºå¨éæ©æ¥æèå´æ¶åæ¶ä¸¤ä¸ªæ¥æé¢æ¿ä¹é´çèå¨ |
| | | - MessageBox |
| | | - æ°å¢ `closeOnHashChange` 屿§ #6043 |
| | | - æ°å¢ `center` 屿§ï¼æä¾å±
ä¸å¸å± #7029 |
| | | - æ°å¢ `roundButton` 屿§ï¼ä½¿å¾å
鍿é®ä¸ºåè§æé® #7029 |
| | | - æ°å¢ `dangerouslyUseHTMLString` 屿§ï¼ä½¿å¾ `message` æ¯æä¼ å
¥ HTML å符串<sup>*</sup> #6043 |
| | | - æ°å¢ `inputType` 屿§ï¼ç¨æ·æå®å
é¨è¾å
¥æ¡çç±»åï¼#7651 |
| | | - Dialog |
| | | - æ°å¢ `width`ã`fullscreen`ã`append-to-body` 屿§ï¼æ¯æåµå¥ä½¿ç¨ |
| | | - æ°å¢ `center` 屿§ï¼æä¾å±
ä¸å¸å± #7042 |
| | | - æ°å¢ `focus-after-closed`ã`focus-after-open`屿§ï¼æ¯ææ éç¢è®¿é® #6511 |
| | | - ColorPicker |
| | | - å¢å æå¨è¾å
¥è²å¼çæ¯æ #6167 |
| | | - æ°å¢ `size` 屿§ï¼ç¨äºæ§å¶ç»ä»¶çå¤§å° #7026 |
| | | - æ°å¢ `disabled` 屿§ï¼ç¨äºç¦ç¨ç»ä»¶ #7026 |
| | | - æ°å¢ `popper-class` 屿§ï¼#7351 |
| | | - Message |
| | | - 徿 é¨åä½¿ç¨ icon 代æ¿å¾çï¼ä»èæ¯æéè¿ CSS ä¿®æ¹å¾æ èæ¯è² #6207 |
| | | - æ°å¢ `dangerouslyUseHTMLString` 屿§ï¼ä½¿å¾ `message` 屿§æ¯æä¼ å
¥ HTML å符串<sup>*</sup> #6207 |
| | | - æ°å¢ `center` 屿§ï¼æä¾å±
ä¸å¸å± #6875 |
| | | - Notification |
| | | - æ°å¢ `position` 屿§ï¼ç¨äºé
ç½® Notification åºç°çä½ç½® #6231 |
| | | - æ°å¢ `dangerouslyUseHTMLString` 屿§ï¼ä½¿å¾ `message` 屿§æ¯æä¼ å
¥ HTML å符串<sup>*</sup> #6231 |
| | | - æ°å¢ `showClose` 屿§ï¼ç¨äºéèå
³éæé® #6402 |
| | | - Rate |
| | | - æ°å¢ `show-score` 屿§ï¼æ§å¶æ¯å¦å¨å³ä¾§æ¾ç¤ºå½ååæ° #6295 |
| | | - Tabs |
| | | - æ°å¢ `tab-position` 屿§ï¼æ§å¶é项颿¿å
容æ¾ç¤ºçä¸ãä¸ãå·¦ãå³å个æ¹å #6096 |
| | | - Radio |
| | | - å¢å `border` 屿§å `size` 屿§ #6690 |
| | | - Checkbox |
| | | - å¢å `border` 屿§å `size` 屿§ #6690 |
| | | - Alert |
| | | - æ°å¢ `center` 屿§ï¼æä¾å±
ä¸å¸å± #6876 |
| | | - Menu |
| | | - æ°å¢ `background-color`ã`text-color` å `active-text-color` 屿§ï¼åå«ç¨äºè®¾ç½®èåçèæ¯è²ãèåçæåé¢è²åå½åæ¿æ´»èåçæåé¢è² #7064 |
| | | - æ°å¢ `open` å `close` æ¹æ³ï¼æ¯ææå¨æå¼åå
³é SubMenuï¼#7412 |
| | | - Form |
| | | - æ°å¢ `inline-message` 屿§ï¼è®¾ç½®åæ ¡éªä¿¡æ¯ä¼ä»¥è¡å
æ ·å¼æ¾ç¤º #7032 |
| | | - æ°å¢ `status-icon` 屿§ï¼ç¨äºå¨è¾å
¥æ¡ä¸æ¾ç¤ºæ ¡éªç»æåé¦å¾æ #7032 |
| | | - Form å FormItem æ°å¢ `size` 屿§ï¼ç¨äºæ§å¶è¡¨åå
ç»ä»¶ç尺寸ï¼#7428 |
| | | - `validate` æ¹æ³å¨ä¸ä¼ å
¥ callback çæ
åµä¸è¿å promiseï¼#7405 |
| | | - æ°å¢ `clearValidate` æ¹æ³ï¼ç¨äºæ¸
空ææè¡¨å项çéªè¯ä¿¡æ¯ï¼#7623 |
| | | - Input |
| | | - æ°å¢ `suffix`ã`prefix` ç slotï¼ä»¥å `suffixIcon`ã`prefixIcon` 屿§ï¼ç¨äºç»è¾å
¥æ¡å
é¨å¢å åç½®ååç½®å
容 #7032 |
| | | - Breadcrumb |
| | | - æ°å¢ `separator-class` 屿§ï¼å¯ä½¿ç¨å¾æ ä½ä¸ºåé符 #7203 |
| | | - Steps |
| | | - æ°å¢ `simple` 屿§ï¼ç¨äºå¼å¯ç®æ´é£æ ¼çæ¥éª¤æ¡ #7274 |
| | | - Pagination |
| | | - æ°å¢ `prev-text` å `next-text` 屿§ï¼ç¨äºèªå®ä¹ä¸ä¸é¡µåä¸ä¸é¡µçææ¬ #7005 |
| | | - Loading |
| | | - é
置对象æ°å¢ `spinner` å `background` åæ®µï¼æ¯æèªå®ä¹å è½½å¾æ åèæ¯è²ï¼#7390 |
| | | - Autocomplete |
| | | - æ°å¢ `debounce` 屿§ï¼#7413 |
| | | - Upload |
| | | - æ°å¢ `limit` å `on-exceed` 屿§ï¼æ¯æå¯¹ä¸ä¼ æä»¶ç个æ°è¿è¡éå¶ï¼#7405 |
| | | - DateTimePicker |
| | | - æ°å¢ `time-arrow-control` 屿§ï¼ç¨äºå¼å¯æ¶é´éæ©å¨ç `arrow-control`ï¼#7438 |
| | | - Layout |
| | | - æ°å¢æç¹ `xl`ï¼éç¨äºå®½åº¦å¤§äº 1920px çè§å£ |
| | | - Table |
| | | - æ°å¢ `span-method` 屿§ï¼ç¨äºåå¹¶è¡æå |
| | | - æ°å¢ `clearSort` æ¹æ³ï¼ç¨äºæ¸
空æåºç¶æ |
| | | - æ°å¢ `clearFilter` æ¹æ³ï¼ç¨äºæ¸
ç©ºè¿æ»¤ç¶æ |
| | | - 对äºå¯å±å¼è¡ï¼å½è¯¥è¡å±å¼æ¶ä¼è·å¾ä¸ä¸ª `.expanded` ç±»åï¼æ¹ä¾¿èªå®ä¹æ ·å¼ |
| | | - æ°å¢ `size` 屿§ï¼ç¨äºæ§å¶è¡¨æ ¼å°ºå¯¸ |
| | | - æ°å¢ `toggleRowExpansion` æ¹æ³ï¼ç¨äºæå¨å±å¼æå
³éè¡ |
| | | - æ°å¢ `cell-class-name` 屿§ï¼ç¨äºæå®åå
æ ¼çç±»å |
| | | - æ°å¢ `cell-style` 屿§ï¼ç¨äºæå®åå
æ ¼çæ ·å¼ |
| | | - æ°å¢ `header-row-class-name` 屿§ï¼ç¨äºæå®è¡¨å¤´è¡çç±»å |
| | | - æ°å¢ `header-row-style` 屿§ï¼ç¨äºæå®è¡¨å¤´è¡çæ ·å¼ |
| | | - æ°å¢ `header-cell-class-name` 屿§ï¼ç¨äºæå®è¡¨å¤´åå
æ ¼çç±»å |
| | | - æ°å¢ `header-cell-style` 屿§ï¼ç¨äºæå®è¡¨å¤´åå
æ ¼çæ ·å¼ |
| | | - TableColumn ç `prop` 屿§æ¯æ `object[key]` æ ¼å¼ |
| | | - TableColumn æ°å¢ `index` 屿§ï¼ç¨äºèªå®ä¹ç´¢å¼å¼ |
| | | - Select |
| | | - æ°å¢ `reserve-keyword` 屿§ï¼ç¨äºå¨éæ©æä¸ªé项åä¿çå½åçæç´¢å
³é®è¯ |
| | | |
| | | #### ä¿®å¤ |
| | | - DatePicker |
| | | - 鿩卿°æ¶ï¼`v-model` ç»æè¿å该å¨ç¬¬äºå¤©çé®é¢ #6038 |
| | | - å¨ `daterange` ç±»åä¸ï¼ç¬¬ä¸æ¬¡çè¾å
¥ä¼è¢«æ¸
空çé®é¢ #6021 |
| | | - DateTimePicker |
| | | - å TimePicker ç¸äºå½±åçé®é¢ #6090 |
| | | - éæ©æ¶é´å°æ¶åç§å¯è¶
åºéå¶çé®é¢ #6076 |
| | | - TimePicker |
| | | - 失å»ç¦ç¹æ¶æ æ³æ£ç¡®æ¹å `v-model` å¼çé®é¢ #6023 |
| | | - Dialog |
| | | - å½å«æä¸ææ¡æ¶ï¼ä¸ææ¡çæå¼åå
³éä¼é ææåèæçé®é¢ #6088 |
| | | - Select |
| | | - æåæ§è½ï¼ä¿®å¤ç»ä»¶éæ¯æ¶å¯è½å¯¼è´ Vue dev-tool 塿»çé®é¢ #6151 |
| | | - Table |
| | | - ä¿®å¤ Table å¨ç¶å
ç´ ä» `display: none` åæå
¶ä»ç¶ææ¶ä¼éèçé®é¢ |
| | | - ä¿®å¤ Table å¨ç¶å
ç´ ä¸º `display: flex` æ¶å¯è½åºç°çå®½åº¦éæ¸å大çé®é¢ |
| | | - ä¿®å¤ `append` å
·å slot ååºå®åå¹¶åæ¶ï¼å¨æè·åè¡¨æ ¼æ°æ®ä¼å¯¼è´åºå®åæ¶å¤±çé®é¢ |
| | | - ä¿®å¤ `expand-row-keys` 屿§åå§åæ æçé®é¢ |
| | | - ä¿®å¤ `data` æ¹åæ¶è¿æ»¤æ¡ä»¶å¤±æçé®é¢ |
| | | - ä¿®å¤å¤çº§è¡¨å¤´æ¶åºå®åéèæ
åµè®¡ç®é误çé®é¢ |
| | | - ä¿®å¤ `max-height` åæ´åæ æ³æ¢å¤çé®é¢ |
| | | - ä¿®å¤ä¸äºæ ·å¼ä¸ç计ç®é误 |
| | | |
| | | #### éå
¼å®¹æ§æ´æ° |
| | | - 综å |
| | | - ç§»é¤ `theme-default` |
| | | - æä½å
¼å®¹ Vue 2.5.2 å IE 10 |
| | | - 表åç»ä»¶ç `change` äºä»¶å Pagination ç `current-change` äºä»¶ç°å¨ä»
ååºç¨æ·äº¤äº |
| | | - Button å表åç»ä»¶ç `size` 屿§ç°å¨å¯æ¥å `medium`ã`small` å `mini` |
| | | - ä¸ºäºæ¹ä¾¿ä½¿ç¨ç¬¬ä¸æ¹å¾æ ï¼Button ç `icon` 屿§ãInput ç `prefix-icon` å `suffix-icon` 屿§ãSteps ç `icon` 屿§ç°å¨éè¦ä¼ å
¥å®æ´ç徿 ç±»å |
| | | - Dialog |
| | | - ç§»é¤ `size` 屿§ãç°å¨ Dialog çå°ºå¯¸ç± `width` å `fullscreen` æ§å¶ |
| | | - ç§»é¤éè¿ `v-model` æ§å¶ Dialog æ¾ç¤ºåéèçåè½ |
| | | - Rate |
| | | - `text-template` 屿§æ´å为 `score-template` |
| | | - Dropdown |
| | | - `menu-align` 屿§åæ´ä¸º `placement`ï¼å¢å æ´å¤æ¹ä½å±æ§ |
| | | - Transfer |
| | | - `footer-format` 屿§æ´å为 `format` |
| | | - Switch |
| | | - ç±äº `on-*` 屿§å¨ JSX ä¸ä¼è¢«è¯å«ä¸ºäºä»¶ï¼å¯¼è´ Switch ææ `on-*` 屿§å¨ JSX 䏿 æ³æ£å¸¸å·¥ä½ï¼æä»¥ `on-*` 屿§æ´å为 `active-*`ï¼å¯¹åºå°ï¼`off-*` 屿§æ´å为 `inactive-*`ãåå°å½±åç屿§æï¼`on-icon-class`ã`off-icon-class`ã`on-text`ã`off-text`ã`on-color`ã`off-color`ã`on-value`ã`off-value` |
| | | - `active-text` å `inactive-text` 屿§ä¸åæé»è®¤å¼ |
| | | - Tag |
| | | - `type` 屿§ç°å¨æ¯æ `success`ã`info`ã`warning` å `danger` åä¸ªå¼ |
| | | - Menu |
| | | - ç§»é¤ `theme` 屿§ãç°å¨éè¿ `background-color`ã`text-color` å `active-text-color` 屿§è¿è¡é¢è²çèªå®ä¹ |
| | | - Input |
| | | - ç§»é¤ `icon` 屿§ãç°å¨éè¿ `suffix-icon` 屿§æè
`suffix` å
·å slot æ¥å å
¥å°¾é¨å¾æ |
| | | - ç§»é¤ `on-icon-click` 屿§å `click` äºä»¶ãç°å¨å¦æéè¦ä¸ºè¾å
¥æ¡ä¸ç徿 æ·»å ç¹å»äºä»¶ï¼è¯·ä»¥å
·å slot çæ¹å¼æ·»å 徿 |
| | | - `change` äºä»¶ç°å¨ä»
å¨è¾å
¥æ¡å¤±å»ç¦ç¹æç¨æ·æä¸å车æ¶è§¦åï¼ä¸åç input å
ç´ ä¸è´ã妿éè¦å®æ¶ååºç¨æ·çè¾å
¥ï¼å¯ä»¥ä½¿ç¨ `input` äºä»¶ |
| | | - Autocomplete |
| | | - ç§»é¤ `custom-item` 屿§ãç°å¨éè¿ `scoped slot` èªå®ä¹è¾å
¥å»ºè®®å表项çå
容 |
| | | - ç§»é¤ `props` 屿§ï¼ç°å¨ä½¿ç¨ `value-key` 屿§æå®è¾å
¥å»ºè®®å¯¹è±¡ä¸ç¨äºæ¾ç¤ºçé®å |
| | | - Steps |
| | | - ç§»é¤ `center` 屿§ |
| | | - ç°å¨æ¥éª¤æ¡å°é»è®¤å
满ç¶å®¹å¨ |
| | | - DatePicker |
| | | - `change` äºä»¶åæ°ç°å¨ä¸ºç»ä»¶çç»å®å¼ï¼æ ¼å¼ç± `value-format` æ§å¶ |
| | | - Table |
| | | - ç§»é¤éè¿ `inline-template` èªå®ä¹å模æ¿çåè½ |
| | | - `sort-method` ç°å¨å `Array.sort` ä¿æä¸è´çé»è¾ï¼è¦æ±è¿åä¸ä¸ªæ°å |
| | | - å° `append` slot ç§»è³ `tbody` å
ç´ ä»¥å¤ï¼ä»¥ä¿è¯å
¶åªè¢«æ¸²æä¸æ¬¡ |
| | | - `expand` äºä»¶æ´å为 `expand-change`ï¼ä»¥ä¿è¯ API çå½åä¸è´æ§ |
| | | - `row-class-name` å `row-style` ç彿°åæ°æ¹ä¸ºå¯¹è±¡ï¼ä»¥ä¿è¯ API çä¸è´æ§ |
| | | |
| | | ## |
| | | <i><sup>*</sup> å¨ç½ç«ä¸å¨ææ¸²æä»»æ HTML æ¯é常å±é©çï¼å 为容æå¯¼è´ [XSS æ»å»](https://en.wikipedia.org/wiki/Cross-site_scripting)ãå æ¤è¯·å¨ `dangerouslyUseHTMLString` æå¼çæ
åµä¸ï¼ç¡®ä¿ `message` çå
容æ¯å¯ä¿¡çï¼**æ°¸è¿ä¸è¦**å°ç¨æ·æäº¤çå
容èµå¼ç» `message` 屿§ã</i> |
¤ñ¹ï·sÀÉ®× |
| | |
| | | The MIT License (MIT) |
| | | |
| | | Copyright (c) 2016-present ElemeFE |
| | | |
| | | Permission is hereby granted, free of charge, to any person obtaining a copy |
| | | of this software and associated documentation files (the "Software"), to deal |
| | | in the Software without restriction, including without limitation the rights |
| | | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| | | copies of the Software, and to permit persons to whom the Software is |
| | | furnished to do so, subject to the following conditions: |
| | | |
| | | The above copyright notice and this permission notice shall be included in all |
| | | copies or substantial portions of the Software. |
| | | |
| | | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| | | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| | | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| | | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| | | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| | | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
| | | SOFTWARE. |
¤ñ¹ï·sÀÉ®× |
| | |
| | | <p align="center"> |
| | | <img src="https://cdn.rawgit.com/ElemeFE/element/dev/element_logo.svg"> |
| | | </p> |
| | | |
| | | <p align="center"> |
| | | <a href="https://travis-ci.org/ElemeFE/element"> |
| | | <img src="https://travis-ci.org/ElemeFE/element.svg?branch=master"> |
| | | </a> |
| | | <a href="https://coveralls.io/github/ElemeFE/element?branch=master"> |
| | | <img src="https://coveralls.io/repos/github/ElemeFE/element/badge.svg?branch=master"> |
| | | </a> |
| | | <a href="https://cdnjs.com/libraries/element-ui"> |
| | | <img src="https://img.shields.io/cdnjs/v/element-ui.svg"> |
| | | </a> |
| | | <a href="https://www.npmjs.org/package/element-ui"> |
| | | <img src="https://img.shields.io/npm/v/element-ui.svg"> |
| | | </a> |
| | | <a href="https://npmcharts.com/compare/element-ui?minimal=true"> |
| | | <img src="http://img.shields.io/npm/dm/element-ui.svg"> |
| | | </a> |
| | | <br> |
| | | <a href="http://img.badgesize.io/https://unpkg.com/element-ui/lib/index.js?compression=gzip&label=gzip%20size:%20JS"> |
| | | <img src="http://img.badgesize.io/https://unpkg.com/element-ui/lib/index.js?compression=gzip&label=gzip%20size:%20JS"> |
| | | </a> |
| | | <a href="http://img.badgesize.io/https://unpkg.com/element-ui/lib/theme-chalk/index.css?compression=gzip&label=gzip%20size:%20CSS"> |
| | | <img src="http://img.badgesize.io/https://unpkg.com/element-ui/lib/theme-chalk/index.css?compression=gzip&label=gzip%20size:%20CSS"> |
| | | </a> |
| | | <a href="#backers"> |
| | | <img src="https://opencollective.com/element/backers/badge.svg"> |
| | | </a> |
| | | <a href="#sponsors"> |
| | | <img src="https://opencollective.com/element/sponsors/badge.svg"> |
| | | </a> |
| | | <a href="LICENSE"> |
| | | <img src="https://img.shields.io/badge/License-MIT-yellow.svg"> |
| | | </a> |
| | | </p> |
| | | |
| | | > A Vue.js 2.0 UI Toolkit for Web. |
| | | |
| | | Element will stay with Vue 2.x |
| | | |
| | | For Vue 3.0, we recommend using [Element Plus](https://github.com/element-plus/element-plus)(Element Plus is a community develop project) |
| | | |
| | | ## Links |
| | | - Homepage and documentation |
| | | - [International users](http://element.eleme.io/#/en-US) |
| | | - [Chinese users](http://element.eleme.io/#/zh-CN) |
| | | - [Spanish users](http://element.eleme.io/#/es) |
| | | - [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) |
| | | - [Element for Angular](https://github.com/ElemeFE/element-angular) |
| | | - [Atom helper](https://github.com/ElemeFE/element-helper) |
| | | - [Visual Studio Code helper](https://github.com/ElemeFE/vscode-element-helper) |
| | | - Starter kit |
| | | - [element-starter](https://github.com/ElementUI/element-starter) |
| | | - [element-in-laravel-starter](https://github.com/ElementUI/element-in-laravel-starter) |
| | | - [Design resources](https://github.com/ElementUI/Resources) |
| | | - Gitter |
| | | - [International users](https://gitter.im/element-en/Lobby) |
| | | - [Chinese users](https://gitter.im/ElemeFE/element) |
| | | |
| | | ## Install |
| | | ```shell |
| | | npm install element-ui -S |
| | | ``` |
| | | |
| | | ## Quick Start |
| | | ``` javascript |
| | | import Vue from 'vue' |
| | | import Element from 'element-ui' |
| | | |
| | | Vue.use(Element) |
| | | |
| | | // or |
| | | import { |
| | | Select, |
| | | Button |
| | | // ... |
| | | } from 'element-ui' |
| | | |
| | | Vue.component(Select.name, Select) |
| | | Vue.component(Button.name, Button) |
| | | ``` |
| | | For more information, please refer to [Quick Start](http://element.eleme.io/#/en-US/component/quickstart) in our documentation. |
| | | |
| | | ## Browser Support |
| | | Modern browsers and Internet Explorer 10+. |
| | | |
| | | ## Development |
| | | Skip this part if you just want to use Element. |
| | | |
| | | For those who are interested in contributing to Element, please refer to our contributing guide ([䏿](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.zh-CN.md) | [English](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.en-US.md) | [Español](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.es.md) | [Français](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.fr-FR.md)) to see how to run this project. |
| | | |
| | | ## Changelog |
| | | Detailed changes for each release are documented in the [release notes](https://github.com/ElemeFE/element/releases). |
| | | |
| | | ## FAQ |
| | | We have collected some [frequently asked questions](https://github.com/ElemeFE/element/blob/master/FAQ.md). Before reporting an issue, please search if the FAQ has the answer to your problem. |
| | | |
| | | ## 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. |
| | | |
| | | ## Special Thanks |
| | | English documentation is brought to you by SwiftGG Translation Team: |
| | | - [raychenfj](https://github.com/raychenfj) |
| | | - [kevin](http://thekevin.cn/) |
| | | - [æ¾å°æ¶](https://github.com/zengxiaotao) |
| | | - [æ¹¾ä»çäº](https://github.com/wanzaiwanger) |
| | | - [BlooDLine](http://www.ibloodline.com/) |
| | | - [ééå](https://chenmingjia.github.io/) |
| | | - [åå¶ç¥é£](http://mpc6.com/) |
| | | - [æ¢æ°](http://numbbbbb.com) |
| | | - [Changing](https://github.com/sunzhuo11) |
| | | - [mmoaay](https://github.com/mmoaay) |
| | | |
| | | Spanish documentation is made possible by these community developers: |
| | | - [adavie1](https://github.com/adavie1) |
| | | - [carmencitaqiu](https://github.com/carmencitaqiu) |
| | | - [coderdiaz](https://github.com/coderdiaz) |
| | | - [fedegar33](https://github.com/fedegar33) |
| | | - [Gonzalo2310](https://github.com/Gonzalo2310) |
| | | - [lesterbx](https://github.com/lesterbx) |
| | | - [ProgramerGuy](https://github.com/ProgramerGuy) |
| | | - [SantiagoGdaR](https://github.com/SantiagoGdaR) |
| | | - [sigfriedCub1990](https://github.com/sigfriedCub1990) |
| | | - [thechosenjuan](https://github.com/thechosenjuan) |
| | | |
| | | French documentation is made possible by these community developers: |
| | | - [smalesys](https://github.com/smalesys) |
| | | - [blombard](https://github.com/blombard) |
| | | |
| | | ## Join Discussion Group |
| | | |
| | | Scan the QR code using [Dingtalk App](https://www.dingtalk.com/) to join in discussion group : |
| | | |
| | | <img alt="Join Discusion Group" src="https://user-images.githubusercontent.com/17680888/93177882-0ae92d80-f766-11ea-870d-3fa2d7f06454.png" width="300"> |
| | | |
| | | |
| | | ## LICENSE |
| | | [MIT](LICENSE) |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 102); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 102: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/alert/src/main.vue?vue&type=template&id=6e53341b& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c("transition", { attrs: { name: "el-alert-fade" } }, [ |
| | | _c( |
| | | "div", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm.visible, |
| | | expression: "visible" |
| | | } |
| | | ], |
| | | staticClass: "el-alert", |
| | | class: [ |
| | | _vm.typeClass, |
| | | _vm.center ? "is-center" : "", |
| | | "is-" + _vm.effect |
| | | ], |
| | | attrs: { role: "alert" } |
| | | }, |
| | | [ |
| | | _vm.showIcon |
| | | ? _c("i", { |
| | | staticClass: "el-alert__icon", |
| | | class: [_vm.iconClass, _vm.isBigIcon] |
| | | }) |
| | | : _vm._e(), |
| | | _c("div", { staticClass: "el-alert__content" }, [ |
| | | _vm.title || _vm.$slots.title |
| | | ? _c( |
| | | "span", |
| | | { staticClass: "el-alert__title", class: [_vm.isBoldTitle] }, |
| | | [_vm._t("title", [_vm._v(_vm._s(_vm.title))])], |
| | | 2 |
| | | ) |
| | | : _vm._e(), |
| | | _vm.$slots.default && !_vm.description |
| | | ? _c( |
| | | "p", |
| | | { staticClass: "el-alert__description" }, |
| | | [_vm._t("default")], |
| | | 2 |
| | | ) |
| | | : _vm._e(), |
| | | _vm.description && !_vm.$slots.default |
| | | ? _c("p", { staticClass: "el-alert__description" }, [ |
| | | _vm._v(_vm._s(_vm.description)) |
| | | ]) |
| | | : _vm._e(), |
| | | _c( |
| | | "i", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm.closable, |
| | | expression: "closable" |
| | | } |
| | | ], |
| | | staticClass: "el-alert__closebtn", |
| | | class: { |
| | | "is-customed": _vm.closeText !== "", |
| | | "el-icon-close": _vm.closeText === "" |
| | | }, |
| | | on: { |
| | | click: function($event) { |
| | | _vm.close() |
| | | } |
| | | } |
| | | }, |
| | | [_vm._v(_vm._s(_vm.closeText))] |
| | | ) |
| | | ]) |
| | | ] |
| | | ) |
| | | ]) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/alert/src/main.vue?vue&type=template&id=6e53341b& |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/alert/src/main.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | var TYPE_CLASSES_MAP = { |
| | | 'success': 'el-icon-success', |
| | | 'warning': 'el-icon-warning', |
| | | 'error': 'el-icon-error' |
| | | }; |
| | | /* harmony default export */ var mainvue_type_script_lang_js_ = ({ |
| | | name: 'ElAlert', |
| | | |
| | | props: { |
| | | title: { |
| | | type: String, |
| | | default: '' |
| | | }, |
| | | description: { |
| | | type: String, |
| | | default: '' |
| | | }, |
| | | type: { |
| | | type: String, |
| | | default: 'info' |
| | | }, |
| | | closable: { |
| | | type: Boolean, |
| | | default: true |
| | | }, |
| | | closeText: { |
| | | type: String, |
| | | default: '' |
| | | }, |
| | | showIcon: Boolean, |
| | | center: Boolean, |
| | | effect: { |
| | | type: String, |
| | | default: 'light', |
| | | validator: function validator(value) { |
| | | return ['light', 'dark'].indexOf(value) !== -1; |
| | | } |
| | | } |
| | | }, |
| | | |
| | | data: function data() { |
| | | return { |
| | | visible: true |
| | | }; |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | close: function close() { |
| | | this.visible = false; |
| | | this.$emit('close'); |
| | | } |
| | | }, |
| | | |
| | | computed: { |
| | | typeClass: function typeClass() { |
| | | return 'el-alert--' + this.type; |
| | | }, |
| | | iconClass: function iconClass() { |
| | | return TYPE_CLASSES_MAP[this.type] || 'el-icon-info'; |
| | | }, |
| | | isBigIcon: function isBigIcon() { |
| | | return this.description || this.$slots.default ? 'is-big' : ''; |
| | | }, |
| | | isBoldTitle: function isBoldTitle() { |
| | | return this.description || this.$slots.default ? 'is-bold' : ''; |
| | | } |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/alert/src/main.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/alert/src/main.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_mainvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/alert/src/main.vue" |
| | | /* harmony default export */ var main = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/alert/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | main.install = function (Vue) { |
| | | Vue.component(main.name, main); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_alert = __webpack_exports__["default"] = (main); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 118); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 118: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=template&id=03411dbf& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "aside", |
| | | { staticClass: "el-aside", style: { width: _vm.width } }, |
| | | [_vm._t("default")], |
| | | 2 |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=template&id=03411dbf& |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/aside/src/main.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | /* harmony default export */ var mainvue_type_script_lang_js_ = ({ |
| | | name: 'ElAside', |
| | | |
| | | componentName: 'ElAside', |
| | | |
| | | props: { |
| | | width: { |
| | | type: String, |
| | | default: '300px' |
| | | } |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/aside/src/main.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/aside/src/main.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_mainvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/aside/src/main.vue" |
| | | /* harmony default export */ var main = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/aside/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | main.install = function (Vue) { |
| | | Vue.component(main.name, main); |
| | | }; |
| | | |
| | | /* harmony default export */ var aside = __webpack_exports__["default"] = (main); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 65); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 10: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/input"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 11: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/migrating"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 12: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/clickoutside"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 15: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/scrollbar"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 19: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("throttle-debounce/debounce"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 22: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/focus"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 3: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/util"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 4: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/emitter"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 5: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/vue-popper"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 65: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete.vue?vue&type=template&id=152f2ee6& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "div", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "clickoutside", |
| | | rawName: "v-clickoutside", |
| | | value: _vm.close, |
| | | expression: "close" |
| | | } |
| | | ], |
| | | staticClass: "el-autocomplete", |
| | | attrs: { |
| | | "aria-haspopup": "listbox", |
| | | role: "combobox", |
| | | "aria-expanded": _vm.suggestionVisible, |
| | | "aria-owns": _vm.id |
| | | } |
| | | }, |
| | | [ |
| | | _c( |
| | | "el-input", |
| | | _vm._b( |
| | | { |
| | | ref: "input", |
| | | on: { |
| | | input: _vm.handleInput, |
| | | change: _vm.handleChange, |
| | | focus: _vm.handleFocus, |
| | | blur: _vm.handleBlur, |
| | | clear: _vm.handleClear |
| | | }, |
| | | nativeOn: { |
| | | keydown: [ |
| | | function($event) { |
| | | if ( |
| | | !("button" in $event) && |
| | | _vm._k($event.keyCode, "up", 38, $event.key, [ |
| | | "Up", |
| | | "ArrowUp" |
| | | ]) |
| | | ) { |
| | | return null |
| | | } |
| | | $event.preventDefault() |
| | | _vm.highlight(_vm.highlightedIndex - 1) |
| | | }, |
| | | function($event) { |
| | | if ( |
| | | !("button" in $event) && |
| | | _vm._k($event.keyCode, "down", 40, $event.key, [ |
| | | "Down", |
| | | "ArrowDown" |
| | | ]) |
| | | ) { |
| | | return null |
| | | } |
| | | $event.preventDefault() |
| | | _vm.highlight(_vm.highlightedIndex + 1) |
| | | }, |
| | | function($event) { |
| | | if ( |
| | | !("button" in $event) && |
| | | _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") |
| | | ) { |
| | | return null |
| | | } |
| | | return _vm.handleKeyEnter($event) |
| | | }, |
| | | function($event) { |
| | | if ( |
| | | !("button" in $event) && |
| | | _vm._k($event.keyCode, "tab", 9, $event.key, "Tab") |
| | | ) { |
| | | return null |
| | | } |
| | | return _vm.close($event) |
| | | } |
| | | ] |
| | | } |
| | | }, |
| | | "el-input", |
| | | [_vm.$props, _vm.$attrs], |
| | | false |
| | | ), |
| | | [ |
| | | _vm.$slots.prepend |
| | | ? _c("template", { slot: "prepend" }, [_vm._t("prepend")], 2) |
| | | : _vm._e(), |
| | | _vm.$slots.append |
| | | ? _c("template", { slot: "append" }, [_vm._t("append")], 2) |
| | | : _vm._e(), |
| | | _vm.$slots.prefix |
| | | ? _c("template", { slot: "prefix" }, [_vm._t("prefix")], 2) |
| | | : _vm._e(), |
| | | _vm.$slots.suffix |
| | | ? _c("template", { slot: "suffix" }, [_vm._t("suffix")], 2) |
| | | : _vm._e() |
| | | ], |
| | | 2 |
| | | ), |
| | | _c( |
| | | "el-autocomplete-suggestions", |
| | | { |
| | | ref: "suggestions", |
| | | class: [_vm.popperClass ? _vm.popperClass : ""], |
| | | attrs: { |
| | | "visible-arrow": "", |
| | | "popper-options": _vm.popperOptions, |
| | | "append-to-body": _vm.popperAppendToBody, |
| | | placement: _vm.placement, |
| | | id: _vm.id |
| | | } |
| | | }, |
| | | _vm._l(_vm.suggestions, function(item, index) { |
| | | return _c( |
| | | "li", |
| | | { |
| | | key: index, |
| | | class: { highlighted: _vm.highlightedIndex === index }, |
| | | attrs: { |
| | | id: _vm.id + "-item-" + index, |
| | | role: "option", |
| | | "aria-selected": _vm.highlightedIndex === index |
| | | }, |
| | | on: { |
| | | click: function($event) { |
| | | _vm.select(item) |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _vm._t( |
| | | "default", |
| | | [ |
| | | _vm._v("\n " + _vm._s(item[_vm.valueKey]) + "\n ") |
| | | ], |
| | | { item: item } |
| | | ) |
| | | ], |
| | | 2 |
| | | ) |
| | | }), |
| | | 0 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue?vue&type=template&id=152f2ee6& |
| | | |
| | | // EXTERNAL MODULE: external "throttle-debounce/debounce" |
| | | var debounce_ = __webpack_require__(19); |
| | | var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/input" |
| | | var input_ = __webpack_require__(10); |
| | | var input_default = /*#__PURE__*/__webpack_require__.n(input_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside" |
| | | var clickoutside_ = __webpack_require__(12); |
| | | var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=template&id=cd10dcf0& |
| | | var autocomplete_suggestionsvue_type_template_id_cd10dcf0_render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "transition", |
| | | { attrs: { name: "el-zoom-in-top" }, on: { "after-leave": _vm.doDestroy } }, |
| | | [ |
| | | _c( |
| | | "div", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm.showPopper, |
| | | expression: "showPopper" |
| | | } |
| | | ], |
| | | staticClass: "el-autocomplete-suggestion el-popper", |
| | | class: { |
| | | "is-loading": !_vm.parent.hideLoading && _vm.parent.loading |
| | | }, |
| | | style: { width: _vm.dropdownWidth }, |
| | | attrs: { role: "region" } |
| | | }, |
| | | [ |
| | | _c( |
| | | "el-scrollbar", |
| | | { |
| | | attrs: { |
| | | tag: "ul", |
| | | "wrap-class": "el-autocomplete-suggestion__wrap", |
| | | "view-class": "el-autocomplete-suggestion__list" |
| | | } |
| | | }, |
| | | [ |
| | | !_vm.parent.hideLoading && _vm.parent.loading |
| | | ? _c("li", [_c("i", { staticClass: "el-icon-loading" })]) |
| | | : _vm._t("default") |
| | | ], |
| | | 2 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ] |
| | | ) |
| | | } |
| | | var autocomplete_suggestionsvue_type_template_id_cd10dcf0_staticRenderFns = [] |
| | | autocomplete_suggestionsvue_type_template_id_cd10dcf0_render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=template&id=cd10dcf0& |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/vue-popper" |
| | | var vue_popper_ = __webpack_require__(5); |
| | | var vue_popper_default = /*#__PURE__*/__webpack_require__.n(vue_popper_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" |
| | | var emitter_ = __webpack_require__(4); |
| | | var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/scrollbar" |
| | | var scrollbar_ = __webpack_require__(15); |
| | | var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* harmony default export */ var autocomplete_suggestionsvue_type_script_lang_js_ = ({ |
| | | components: { ElScrollbar: scrollbar_default.a }, |
| | | mixins: [vue_popper_default.a, emitter_default.a], |
| | | |
| | | componentName: 'ElAutocompleteSuggestions', |
| | | |
| | | data: function data() { |
| | | return { |
| | | parent: this.$parent, |
| | | dropdownWidth: '' |
| | | }; |
| | | }, |
| | | |
| | | |
| | | props: { |
| | | options: { |
| | | default: function _default() { |
| | | return { |
| | | gpuAcceleration: false |
| | | }; |
| | | } |
| | | }, |
| | | id: String |
| | | }, |
| | | |
| | | methods: { |
| | | select: function select(item) { |
| | | this.dispatch('ElAutocomplete', 'item-click', item); |
| | | } |
| | | }, |
| | | |
| | | updated: function updated() { |
| | | var _this = this; |
| | | |
| | | this.$nextTick(function (_) { |
| | | _this.popperJS && _this.updatePopper(); |
| | | }); |
| | | }, |
| | | mounted: function mounted() { |
| | | this.$parent.popperElm = this.popperElm = this.$el; |
| | | this.referenceElm = this.$parent.$refs.input.$refs.input || this.$parent.$refs.input.$refs.textarea; |
| | | this.referenceList = this.$el.querySelector('.el-autocomplete-suggestion__list'); |
| | | this.referenceList.setAttribute('role', 'listbox'); |
| | | this.referenceList.setAttribute('id', this.id); |
| | | }, |
| | | created: function created() { |
| | | var _this2 = this; |
| | | |
| | | this.$on('visible', function (val, inputWidth) { |
| | | _this2.dropdownWidth = inputWidth + 'px'; |
| | | _this2.showPopper = val; |
| | | }); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_autocomplete_suggestionsvue_type_script_lang_js_ = (autocomplete_suggestionsvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_autocomplete_suggestionsvue_type_script_lang_js_, |
| | | autocomplete_suggestionsvue_type_template_id_cd10dcf0_render, |
| | | autocomplete_suggestionsvue_type_template_id_cd10dcf0_staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/autocomplete/src/autocomplete-suggestions.vue" |
| | | /* harmony default export */ var autocomplete_suggestions = (component.exports); |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/migrating" |
| | | var migrating_ = __webpack_require__(11); |
| | | var migrating_default = /*#__PURE__*/__webpack_require__.n(migrating_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/util" |
| | | var util_ = __webpack_require__(3); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/focus" |
| | | var focus_ = __webpack_require__(22); |
| | | var focus_default = /*#__PURE__*/__webpack_require__.n(focus_); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* harmony default export */ var autocompletevue_type_script_lang_js_ = ({ |
| | | name: 'ElAutocomplete', |
| | | |
| | | mixins: [emitter_default.a, focus_default()('input'), migrating_default.a], |
| | | |
| | | inheritAttrs: false, |
| | | |
| | | componentName: 'ElAutocomplete', |
| | | |
| | | components: { |
| | | ElInput: input_default.a, |
| | | ElAutocompleteSuggestions: autocomplete_suggestions |
| | | }, |
| | | |
| | | directives: { Clickoutside: clickoutside_default.a }, |
| | | |
| | | props: { |
| | | valueKey: { |
| | | type: String, |
| | | default: 'value' |
| | | }, |
| | | popperClass: String, |
| | | popperOptions: Object, |
| | | placeholder: String, |
| | | clearable: { |
| | | type: Boolean, |
| | | default: false |
| | | }, |
| | | disabled: Boolean, |
| | | name: String, |
| | | size: String, |
| | | value: String, |
| | | maxlength: Number, |
| | | minlength: Number, |
| | | autofocus: Boolean, |
| | | fetchSuggestions: Function, |
| | | triggerOnFocus: { |
| | | type: Boolean, |
| | | default: true |
| | | }, |
| | | customItem: String, |
| | | selectWhenUnmatched: { |
| | | type: Boolean, |
| | | default: false |
| | | }, |
| | | prefixIcon: String, |
| | | suffixIcon: String, |
| | | label: String, |
| | | debounce: { |
| | | type: Number, |
| | | default: 300 |
| | | }, |
| | | placement: { |
| | | type: String, |
| | | default: 'bottom-start' |
| | | }, |
| | | hideLoading: Boolean, |
| | | popperAppendToBody: { |
| | | type: Boolean, |
| | | default: true |
| | | }, |
| | | highlightFirstItem: { |
| | | type: Boolean, |
| | | default: false |
| | | } |
| | | }, |
| | | data: function data() { |
| | | return { |
| | | activated: false, |
| | | suggestions: [], |
| | | loading: false, |
| | | highlightedIndex: -1, |
| | | suggestionDisabled: false |
| | | }; |
| | | }, |
| | | |
| | | computed: { |
| | | suggestionVisible: function suggestionVisible() { |
| | | var suggestions = this.suggestions; |
| | | var isValidData = Array.isArray(suggestions) && suggestions.length > 0; |
| | | return (isValidData || this.loading) && this.activated; |
| | | }, |
| | | id: function id() { |
| | | return 'el-autocomplete-' + Object(util_["generateId"])(); |
| | | } |
| | | }, |
| | | watch: { |
| | | suggestionVisible: function suggestionVisible(val) { |
| | | var $input = this.getInput(); |
| | | if ($input) { |
| | | this.broadcast('ElAutocompleteSuggestions', 'visible', [val, $input.offsetWidth]); |
| | | } |
| | | } |
| | | }, |
| | | methods: { |
| | | getMigratingConfig: function getMigratingConfig() { |
| | | return { |
| | | props: { |
| | | 'custom-item': 'custom-item is removed, use scoped slot instead.', |
| | | 'props': 'props is removed, use value-key instead.' |
| | | } |
| | | }; |
| | | }, |
| | | getData: function getData(queryString) { |
| | | var _this = this; |
| | | |
| | | if (this.suggestionDisabled) { |
| | | return; |
| | | } |
| | | this.loading = true; |
| | | this.fetchSuggestions(queryString, function (suggestions) { |
| | | _this.loading = false; |
| | | if (_this.suggestionDisabled) { |
| | | return; |
| | | } |
| | | if (Array.isArray(suggestions)) { |
| | | _this.suggestions = suggestions; |
| | | _this.highlightedIndex = _this.highlightFirstItem ? 0 : -1; |
| | | } else { |
| | | console.error('[Element Error][Autocomplete]autocomplete suggestions must be an array'); |
| | | } |
| | | }); |
| | | }, |
| | | handleInput: function handleInput(value) { |
| | | this.$emit('input', value); |
| | | this.suggestionDisabled = false; |
| | | if (!this.triggerOnFocus && !value) { |
| | | this.suggestionDisabled = true; |
| | | this.suggestions = []; |
| | | return; |
| | | } |
| | | this.debouncedGetData(value); |
| | | }, |
| | | handleChange: function handleChange(value) { |
| | | this.$emit('change', value); |
| | | }, |
| | | handleFocus: function handleFocus(event) { |
| | | this.activated = true; |
| | | this.$emit('focus', event); |
| | | if (this.triggerOnFocus) { |
| | | this.debouncedGetData(this.value); |
| | | } |
| | | }, |
| | | handleBlur: function handleBlur(event) { |
| | | this.$emit('blur', event); |
| | | }, |
| | | handleClear: function handleClear() { |
| | | this.activated = false; |
| | | this.$emit('clear'); |
| | | }, |
| | | close: function close(e) { |
| | | this.activated = false; |
| | | }, |
| | | handleKeyEnter: function handleKeyEnter(e) { |
| | | var _this2 = this; |
| | | |
| | | if (this.suggestionVisible && this.highlightedIndex >= 0 && this.highlightedIndex < this.suggestions.length) { |
| | | e.preventDefault(); |
| | | this.select(this.suggestions[this.highlightedIndex]); |
| | | } else if (this.selectWhenUnmatched) { |
| | | this.$emit('select', { value: this.value }); |
| | | this.$nextTick(function (_) { |
| | | _this2.suggestions = []; |
| | | _this2.highlightedIndex = -1; |
| | | }); |
| | | } |
| | | }, |
| | | select: function select(item) { |
| | | var _this3 = this; |
| | | |
| | | this.$emit('input', item[this.valueKey]); |
| | | this.$emit('select', item); |
| | | this.$nextTick(function (_) { |
| | | _this3.suggestions = []; |
| | | _this3.highlightedIndex = -1; |
| | | }); |
| | | }, |
| | | highlight: function highlight(index) { |
| | | if (!this.suggestionVisible || this.loading) { |
| | | return; |
| | | } |
| | | if (index < 0) { |
| | | this.highlightedIndex = -1; |
| | | return; |
| | | } |
| | | if (index >= this.suggestions.length) { |
| | | index = this.suggestions.length - 1; |
| | | } |
| | | var suggestion = this.$refs.suggestions.$el.querySelector('.el-autocomplete-suggestion__wrap'); |
| | | var suggestionList = suggestion.querySelectorAll('.el-autocomplete-suggestion__list li'); |
| | | |
| | | var highlightItem = suggestionList[index]; |
| | | var scrollTop = suggestion.scrollTop; |
| | | var offsetTop = highlightItem.offsetTop; |
| | | |
| | | if (offsetTop + highlightItem.scrollHeight > scrollTop + suggestion.clientHeight) { |
| | | suggestion.scrollTop += highlightItem.scrollHeight; |
| | | } |
| | | if (offsetTop < scrollTop) { |
| | | suggestion.scrollTop -= highlightItem.scrollHeight; |
| | | } |
| | | this.highlightedIndex = index; |
| | | var $input = this.getInput(); |
| | | $input.setAttribute('aria-activedescendant', this.id + '-item-' + this.highlightedIndex); |
| | | }, |
| | | getInput: function getInput() { |
| | | return this.$refs.input.getInput(); |
| | | } |
| | | }, |
| | | mounted: function mounted() { |
| | | var _this4 = this; |
| | | |
| | | this.debouncedGetData = debounce_default()(this.debounce, this.getData); |
| | | this.$on('item-click', function (item) { |
| | | _this4.select(item); |
| | | }); |
| | | var $input = this.getInput(); |
| | | $input.setAttribute('role', 'textbox'); |
| | | $input.setAttribute('aria-autocomplete', 'list'); |
| | | $input.setAttribute('aria-controls', 'id'); |
| | | $input.setAttribute('aria-activedescendant', this.id + '-item-' + this.highlightedIndex); |
| | | }, |
| | | beforeDestroy: function beforeDestroy() { |
| | | this.$refs.suggestions.$destroy(); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_autocompletevue_type_script_lang_js_ = (autocompletevue_type_script_lang_js_); |
| | | // CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var autocomplete_component = Object(componentNormalizer["a" /* default */])( |
| | | src_autocompletevue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var autocomplete_api; } |
| | | autocomplete_component.options.__file = "packages/autocomplete/src/autocomplete.vue" |
| | | /* harmony default export */ var autocomplete = (autocomplete_component.exports); |
| | | // CONCATENATED MODULE: ./packages/autocomplete/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | autocomplete.install = function (Vue) { |
| | | Vue.component(autocomplete.name, autocomplete); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_autocomplete = __webpack_exports__["default"] = (autocomplete); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 135); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 135: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/avatar/src/main.vue?vue&type=script&lang=js& |
| | | |
| | | /* harmony default export */ var mainvue_type_script_lang_js_ = ({ |
| | | name: 'ElAvatar', |
| | | |
| | | props: { |
| | | size: { |
| | | type: [Number, String], |
| | | validator: function validator(val) { |
| | | if (typeof val === 'string') { |
| | | return ['large', 'medium', 'small'].includes(val); |
| | | } |
| | | return typeof val === 'number'; |
| | | } |
| | | }, |
| | | shape: { |
| | | type: String, |
| | | default: 'circle', |
| | | validator: function validator(val) { |
| | | return ['circle', 'square'].includes(val); |
| | | } |
| | | }, |
| | | icon: String, |
| | | src: String, |
| | | alt: String, |
| | | srcSet: String, |
| | | error: Function, |
| | | fit: { |
| | | type: String, |
| | | default: 'cover' |
| | | } |
| | | }, |
| | | |
| | | data: function data() { |
| | | return { |
| | | isImageExist: true |
| | | }; |
| | | }, |
| | | |
| | | |
| | | computed: { |
| | | avatarClass: function avatarClass() { |
| | | var size = this.size, |
| | | icon = this.icon, |
| | | shape = this.shape; |
| | | |
| | | var classList = ['el-avatar']; |
| | | |
| | | if (size && typeof size === 'string') { |
| | | classList.push('el-avatar--' + size); |
| | | } |
| | | |
| | | if (icon) { |
| | | classList.push('el-avatar--icon'); |
| | | } |
| | | |
| | | if (shape) { |
| | | classList.push('el-avatar--' + shape); |
| | | } |
| | | |
| | | return classList.join(' '); |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | handleError: function handleError() { |
| | | var error = this.error; |
| | | |
| | | var errorFlag = error ? error() : undefined; |
| | | if (errorFlag !== false) { |
| | | this.isImageExist = false; |
| | | } |
| | | }, |
| | | renderAvatar: function renderAvatar() { |
| | | var h = this.$createElement; |
| | | var icon = this.icon, |
| | | src = this.src, |
| | | alt = this.alt, |
| | | isImageExist = this.isImageExist, |
| | | srcSet = this.srcSet, |
| | | fit = this.fit; |
| | | |
| | | |
| | | if (isImageExist && src) { |
| | | return h('img', { |
| | | attrs: { |
| | | src: src, |
| | | |
| | | alt: alt, |
| | | srcSet: srcSet |
| | | }, |
| | | on: { |
| | | 'error': this.handleError |
| | | }, |
| | | style: { 'object-fit': fit } }); |
| | | } |
| | | |
| | | if (icon) { |
| | | return h('i', { 'class': icon }); |
| | | } |
| | | |
| | | return this.$slots.default; |
| | | } |
| | | }, |
| | | |
| | | render: function render() { |
| | | var h = arguments[0]; |
| | | var avatarClass = this.avatarClass, |
| | | size = this.size; |
| | | |
| | | |
| | | var sizeStyle = typeof size === 'number' ? { |
| | | height: size + 'px', |
| | | width: size + 'px', |
| | | lineHeight: size + 'px' |
| | | } : {}; |
| | | |
| | | return h( |
| | | 'span', |
| | | { 'class': avatarClass, style: sizeStyle }, |
| | | [this.renderAvatar()] |
| | | ); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/avatar/src/main.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/avatar/src/main.vue |
| | | var render, staticRenderFns |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_mainvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/avatar/src/main.vue" |
| | | /* harmony default export */ var main = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/avatar/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | main.install = function (Vue) { |
| | | Vue.component(main.name, main); |
| | | }; |
| | | |
| | | /* harmony default export */ var avatar = __webpack_exports__["default"] = (main); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 124); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 124: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/backtop/src/main.vue?vue&type=template&id=257dd4a9& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c("transition", { attrs: { name: "el-fade-in" } }, [ |
| | | _vm.visible |
| | | ? _c( |
| | | "div", |
| | | { |
| | | staticClass: "el-backtop", |
| | | style: { |
| | | right: _vm.styleRight, |
| | | bottom: _vm.styleBottom |
| | | }, |
| | | on: { |
| | | click: function($event) { |
| | | $event.stopPropagation() |
| | | return _vm.handleClick($event) |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _vm._t("default", [_c("el-icon", { attrs: { name: "caret-top" } })]) |
| | | ], |
| | | 2 |
| | | ) |
| | | : _vm._e() |
| | | ]) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/backtop/src/main.vue?vue&type=template&id=257dd4a9& |
| | | |
| | | // EXTERNAL MODULE: external "throttle-debounce/throttle" |
| | | var throttle_ = __webpack_require__(25); |
| | | var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/backtop/src/main.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | |
| | | |
| | | var cubic = function cubic(value) { |
| | | return Math.pow(value, 3); |
| | | }; |
| | | var easeInOutCubic = function easeInOutCubic(value) { |
| | | return value < 0.5 ? cubic(value * 2) / 2 : 1 - cubic((1 - value) * 2) / 2; |
| | | }; |
| | | |
| | | /* harmony default export */ var mainvue_type_script_lang_js_ = ({ |
| | | name: 'ElBacktop', |
| | | |
| | | props: { |
| | | visibilityHeight: { |
| | | type: Number, |
| | | default: 200 |
| | | }, |
| | | target: [String], |
| | | right: { |
| | | type: Number, |
| | | default: 40 |
| | | }, |
| | | bottom: { |
| | | type: Number, |
| | | default: 40 |
| | | } |
| | | }, |
| | | |
| | | data: function data() { |
| | | return { |
| | | el: null, |
| | | container: null, |
| | | visible: false |
| | | }; |
| | | }, |
| | | |
| | | |
| | | computed: { |
| | | styleBottom: function styleBottom() { |
| | | return this.bottom + 'px'; |
| | | }, |
| | | styleRight: function styleRight() { |
| | | return this.right + 'px'; |
| | | } |
| | | }, |
| | | |
| | | mounted: function mounted() { |
| | | this.init(); |
| | | this.throttledScrollHandler = throttle_default()(300, this.onScroll); |
| | | this.container.addEventListener('scroll', this.throttledScrollHandler); |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | init: function init() { |
| | | this.container = document; |
| | | this.el = document.documentElement; |
| | | if (this.target) { |
| | | this.el = document.querySelector(this.target); |
| | | if (!this.el) { |
| | | throw new Error('target is not existed: ' + this.target); |
| | | } |
| | | this.container = this.el; |
| | | } |
| | | }, |
| | | onScroll: function onScroll() { |
| | | var scrollTop = this.el.scrollTop; |
| | | this.visible = scrollTop >= this.visibilityHeight; |
| | | }, |
| | | handleClick: function handleClick(e) { |
| | | this.scrollToTop(); |
| | | this.$emit('click', e); |
| | | }, |
| | | scrollToTop: function scrollToTop() { |
| | | var el = this.el; |
| | | var beginTime = Date.now(); |
| | | var beginValue = el.scrollTop; |
| | | var rAF = window.requestAnimationFrame || function (func) { |
| | | return setTimeout(func, 16); |
| | | }; |
| | | var frameFunc = function frameFunc() { |
| | | var progress = (Date.now() - beginTime) / 500; |
| | | if (progress < 1) { |
| | | el.scrollTop = beginValue * (1 - easeInOutCubic(progress)); |
| | | rAF(frameFunc); |
| | | } else { |
| | | el.scrollTop = 0; |
| | | } |
| | | }; |
| | | rAF(frameFunc); |
| | | } |
| | | }, |
| | | |
| | | beforeDestroy: function beforeDestroy() { |
| | | this.container.removeEventListener('scroll', this.throttledScrollHandler); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/backtop/src/main.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/backtop/src/main.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_mainvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/backtop/src/main.vue" |
| | | /* harmony default export */ var main = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/backtop/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | main.install = function (Vue) { |
| | | Vue.component(main.name, main); |
| | | }; |
| | | |
| | | /* harmony default export */ var backtop = __webpack_exports__["default"] = (main); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 25: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("throttle-debounce/throttle"); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 106); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 106: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/badge/src/main.vue?vue&type=template&id=7ccb6598& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "div", |
| | | { staticClass: "el-badge" }, |
| | | [ |
| | | _vm._t("default"), |
| | | _c("transition", { attrs: { name: "el-zoom-in-center" } }, [ |
| | | _c("sup", { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: |
| | | !_vm.hidden && (_vm.content || _vm.content === 0 || _vm.isDot), |
| | | expression: "!hidden && (content || content === 0 || isDot)" |
| | | } |
| | | ], |
| | | staticClass: "el-badge__content", |
| | | class: [ |
| | | _vm.type ? "el-badge__content--" + _vm.type : null, |
| | | { |
| | | "is-fixed": _vm.$slots.default, |
| | | "is-dot": _vm.isDot |
| | | } |
| | | ], |
| | | domProps: { textContent: _vm._s(_vm.content) } |
| | | }) |
| | | ]) |
| | | ], |
| | | 2 |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/badge/src/main.vue?vue&type=template&id=7ccb6598& |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/badge/src/main.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | /* harmony default export */ var mainvue_type_script_lang_js_ = ({ |
| | | name: 'ElBadge', |
| | | |
| | | props: { |
| | | value: [String, Number], |
| | | max: Number, |
| | | isDot: Boolean, |
| | | hidden: Boolean, |
| | | type: { |
| | | type: String, |
| | | validator: function validator(val) { |
| | | return ['primary', 'success', 'warning', 'info', 'danger'].indexOf(val) > -1; |
| | | } |
| | | } |
| | | }, |
| | | |
| | | computed: { |
| | | content: function content() { |
| | | if (this.isDot) return; |
| | | |
| | | var value = this.value; |
| | | var max = this.max; |
| | | |
| | | if (typeof value === 'number' && typeof max === 'number') { |
| | | return max < value ? max + '+' : value; |
| | | } |
| | | |
| | | return value; |
| | | } |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/badge/src/main.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/badge/src/main.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_mainvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/badge/src/main.vue" |
| | | /* harmony default export */ var main = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/badge/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | main.install = function (Vue) { |
| | | Vue.component(main.name, main); |
| | | }; |
| | | |
| | | /* harmony default export */ var badge = __webpack_exports__["default"] = (main); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 99); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 99: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=template&id=fcf9eaac& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c("span", { staticClass: "el-breadcrumb__item" }, [ |
| | | _c( |
| | | "span", |
| | | { |
| | | ref: "link", |
| | | class: ["el-breadcrumb__inner", _vm.to ? "is-link" : ""], |
| | | attrs: { role: "link" } |
| | | }, |
| | | [_vm._t("default")], |
| | | 2 |
| | | ), |
| | | _vm.separatorClass |
| | | ? _c("i", { |
| | | staticClass: "el-breadcrumb__separator", |
| | | class: _vm.separatorClass |
| | | }) |
| | | : _c( |
| | | "span", |
| | | { |
| | | staticClass: "el-breadcrumb__separator", |
| | | attrs: { role: "presentation" } |
| | | }, |
| | | [_vm._v(_vm._s(_vm.separator))] |
| | | ) |
| | | ]) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=template&id=fcf9eaac& |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | /* harmony default export */ var breadcrumb_itemvue_type_script_lang_js_ = ({ |
| | | name: 'ElBreadcrumbItem', |
| | | props: { |
| | | to: {}, |
| | | replace: Boolean |
| | | }, |
| | | data: function data() { |
| | | return { |
| | | separator: '', |
| | | separatorClass: '' |
| | | }; |
| | | }, |
| | | |
| | | |
| | | inject: ['elBreadcrumb'], |
| | | |
| | | mounted: function mounted() { |
| | | var _this = this; |
| | | |
| | | this.separator = this.elBreadcrumb.separator; |
| | | this.separatorClass = this.elBreadcrumb.separatorClass; |
| | | var link = this.$refs.link; |
| | | link.setAttribute('role', 'link'); |
| | | link.addEventListener('click', function (_) { |
| | | var to = _this.to, |
| | | $router = _this.$router; |
| | | |
| | | if (!to || !$router) return; |
| | | _this.replace ? $router.replace(to) : $router.push(to); |
| | | }); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb-item.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_breadcrumb_itemvue_type_script_lang_js_ = (breadcrumb_itemvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb-item.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_breadcrumb_itemvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/breadcrumb/src/breadcrumb-item.vue" |
| | | /* harmony default export */ var breadcrumb_item = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/breadcrumb-item/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | breadcrumb_item.install = function (Vue) { |
| | | Vue.component(breadcrumb_item.name, breadcrumb_item); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_breadcrumb_item = __webpack_exports__["default"] = (breadcrumb_item); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 98); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 98: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb.vue?vue&type=template&id=4b464c06& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "div", |
| | | { |
| | | staticClass: "el-breadcrumb", |
| | | attrs: { "aria-label": "Breadcrumb", role: "navigation" } |
| | | }, |
| | | [_vm._t("default")], |
| | | 2 |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.vue?vue&type=template&id=4b464c06& |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/breadcrumb/src/breadcrumb.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | /* harmony default export */ var breadcrumbvue_type_script_lang_js_ = ({ |
| | | name: 'ElBreadcrumb', |
| | | |
| | | props: { |
| | | separator: { |
| | | type: String, |
| | | default: '/' |
| | | }, |
| | | separatorClass: { |
| | | type: String, |
| | | default: '' |
| | | } |
| | | }, |
| | | |
| | | provide: function provide() { |
| | | return { |
| | | elBreadcrumb: this |
| | | }; |
| | | }, |
| | | mounted: function mounted() { |
| | | var items = this.$el.querySelectorAll('.el-breadcrumb__item'); |
| | | if (items.length) { |
| | | items[items.length - 1].setAttribute('aria-current', 'page'); |
| | | } |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_breadcrumbvue_type_script_lang_js_ = (breadcrumbvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/breadcrumb/src/breadcrumb.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_breadcrumbvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/breadcrumb/src/breadcrumb.vue" |
| | | /* harmony default export */ var breadcrumb = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/breadcrumb/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | breadcrumb.install = function (Vue) { |
| | | Vue.component(breadcrumb.name, breadcrumb); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_breadcrumb = __webpack_exports__["default"] = (breadcrumb); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 97); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 97: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button-group.vue?vue&type=template&id=3d8661d0& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c("div", { staticClass: "el-button-group" }, [_vm._t("default")], 2) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/button/src/button-group.vue?vue&type=template&id=3d8661d0& |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button-group.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | /* harmony default export */ var button_groupvue_type_script_lang_js_ = ({ |
| | | name: 'ElButtonGroup' |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/button/src/button-group.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_button_groupvue_type_script_lang_js_ = (button_groupvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/button/src/button-group.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_button_groupvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/button/src/button-group.vue" |
| | | /* harmony default export */ var button_group = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/button-group/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | button_group.install = function (Vue) { |
| | | Vue.component(button_group.name, button_group); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_button_group = __webpack_exports__["default"] = (button_group); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 96); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 96: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=template&id=ca859fb4& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "button", |
| | | { |
| | | staticClass: "el-button", |
| | | class: [ |
| | | _vm.type ? "el-button--" + _vm.type : "", |
| | | _vm.buttonSize ? "el-button--" + _vm.buttonSize : "", |
| | | { |
| | | "is-disabled": _vm.buttonDisabled, |
| | | "is-loading": _vm.loading, |
| | | "is-plain": _vm.plain, |
| | | "is-round": _vm.round, |
| | | "is-circle": _vm.circle |
| | | } |
| | | ], |
| | | attrs: { |
| | | disabled: _vm.buttonDisabled || _vm.loading, |
| | | autofocus: _vm.autofocus, |
| | | type: _vm.nativeType |
| | | }, |
| | | on: { click: _vm.handleClick } |
| | | }, |
| | | [ |
| | | _vm.loading ? _c("i", { staticClass: "el-icon-loading" }) : _vm._e(), |
| | | _vm.icon && !_vm.loading ? _c("i", { class: _vm.icon }) : _vm._e(), |
| | | _vm.$slots.default ? _c("span", [_vm._t("default")], 2) : _vm._e() |
| | | ] |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=template&id=ca859fb4& |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/button/src/button.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | /* harmony default export */ var buttonvue_type_script_lang_js_ = ({ |
| | | name: 'ElButton', |
| | | |
| | | inject: { |
| | | elForm: { |
| | | default: '' |
| | | }, |
| | | elFormItem: { |
| | | default: '' |
| | | } |
| | | }, |
| | | |
| | | props: { |
| | | type: { |
| | | type: String, |
| | | default: 'default' |
| | | }, |
| | | size: String, |
| | | icon: { |
| | | type: String, |
| | | default: '' |
| | | }, |
| | | nativeType: { |
| | | type: String, |
| | | default: 'button' |
| | | }, |
| | | loading: Boolean, |
| | | disabled: Boolean, |
| | | plain: Boolean, |
| | | autofocus: Boolean, |
| | | round: Boolean, |
| | | circle: Boolean |
| | | }, |
| | | |
| | | computed: { |
| | | _elFormItemSize: function _elFormItemSize() { |
| | | return (this.elFormItem || {}).elFormItemSize; |
| | | }, |
| | | buttonSize: function buttonSize() { |
| | | return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; |
| | | }, |
| | | buttonDisabled: function buttonDisabled() { |
| | | return this.$options.propsData.hasOwnProperty('disabled') ? this.disabled : (this.elForm || {}).disabled; |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | handleClick: function handleClick(evt) { |
| | | this.$emit('click', evt); |
| | | } |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/button/src/button.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_buttonvue_type_script_lang_js_ = (buttonvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/button/src/button.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_buttonvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/button/src/button.vue" |
| | | /* harmony default export */ var src_button = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/button/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | src_button.install = function (Vue) { |
| | | Vue.component(src_button.name, src_button); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_button = __webpack_exports__["default"] = (src_button); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 71); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 1: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/date-util"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 14: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/button"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 24: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/date"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 36: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/button-group"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 6: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/locale"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 71: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/calendar/src/main.vue?vue&type=template&id=6d9756be& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c("div", { staticClass: "el-calendar" }, [ |
| | | _c("div", { staticClass: "el-calendar__header" }, [ |
| | | _c("div", { staticClass: "el-calendar__title" }, [ |
| | | _vm._v("\n " + _vm._s(_vm.i18nDate) + "\n ") |
| | | ]), |
| | | _vm.validatedRange.length === 0 |
| | | ? _c( |
| | | "div", |
| | | { staticClass: "el-calendar__button-group" }, |
| | | [ |
| | | _c( |
| | | "el-button-group", |
| | | [ |
| | | _c( |
| | | "el-button", |
| | | { |
| | | attrs: { type: "plain", size: "mini" }, |
| | | on: { |
| | | click: function($event) { |
| | | _vm.selectDate("prev-month") |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _vm._v( |
| | | "\n " + |
| | | _vm._s(_vm.t("el.datepicker.prevMonth")) + |
| | | "\n " |
| | | ) |
| | | ] |
| | | ), |
| | | _c( |
| | | "el-button", |
| | | { |
| | | attrs: { type: "plain", size: "mini" }, |
| | | on: { |
| | | click: function($event) { |
| | | _vm.selectDate("today") |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _vm._v( |
| | | "\n " + |
| | | _vm._s(_vm.t("el.datepicker.today")) + |
| | | "\n " |
| | | ) |
| | | ] |
| | | ), |
| | | _c( |
| | | "el-button", |
| | | { |
| | | attrs: { type: "plain", size: "mini" }, |
| | | on: { |
| | | click: function($event) { |
| | | _vm.selectDate("next-month") |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _vm._v( |
| | | "\n " + |
| | | _vm._s(_vm.t("el.datepicker.nextMonth")) + |
| | | "\n " |
| | | ) |
| | | ] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | : _vm._e() |
| | | ]), |
| | | _vm.validatedRange.length === 0 |
| | | ? _c( |
| | | "div", |
| | | { key: "no-range", staticClass: "el-calendar__body" }, |
| | | [ |
| | | _c("date-table", { |
| | | attrs: { |
| | | date: _vm.date, |
| | | "selected-day": _vm.realSelectedDay, |
| | | "first-day-of-week": _vm.realFirstDayOfWeek |
| | | }, |
| | | on: { pick: _vm.pickDay } |
| | | }) |
| | | ], |
| | | 1 |
| | | ) |
| | | : _c( |
| | | "div", |
| | | { key: "has-range", staticClass: "el-calendar__body" }, |
| | | _vm._l(_vm.validatedRange, function(range, index) { |
| | | return _c("date-table", { |
| | | key: index, |
| | | attrs: { |
| | | date: range[0], |
| | | "selected-day": _vm.realSelectedDay, |
| | | range: range, |
| | | "hide-header": index !== 0, |
| | | "first-day-of-week": _vm.realFirstDayOfWeek |
| | | }, |
| | | on: { pick: _vm.pickDay } |
| | | }) |
| | | }), |
| | | 1 |
| | | ) |
| | | ]) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/calendar/src/main.vue?vue&type=template&id=6d9756be& |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/locale" |
| | | var locale_ = __webpack_require__(6); |
| | | var locale_default = /*#__PURE__*/__webpack_require__.n(locale_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/date" |
| | | var date_ = __webpack_require__(24); |
| | | var date_default = /*#__PURE__*/__webpack_require__.n(date_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/button" |
| | | var button_ = __webpack_require__(14); |
| | | var button_default = /*#__PURE__*/__webpack_require__.n(button_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/button-group" |
| | | var button_group_ = __webpack_require__(36); |
| | | var button_group_default = /*#__PURE__*/__webpack_require__.n(button_group_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/date-util" |
| | | var date_util_ = __webpack_require__(1); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/calendar/src/date-table.vue?vue&type=script&lang=js& |
| | | |
| | | |
| | | |
| | | |
| | | /* harmony default export */ var date_tablevue_type_script_lang_js_ = ({ |
| | | props: { |
| | | selectedDay: String, // formated date yyyy-MM-dd |
| | | range: { |
| | | type: Array, |
| | | validator: function validator(val) { |
| | | if (!(val && val.length)) return true; |
| | | var start = val[0], |
| | | end = val[1]; |
| | | |
| | | return Object(date_util_["validateRangeInOneMonth"])(start, end); |
| | | } |
| | | }, |
| | | date: Date, |
| | | hideHeader: Boolean, |
| | | firstDayOfWeek: Number |
| | | }, |
| | | |
| | | inject: ['elCalendar'], |
| | | |
| | | methods: { |
| | | toNestedArr: function toNestedArr(days) { |
| | | return Object(date_util_["range"])(days.length / 7).map(function (_, index) { |
| | | var start = index * 7; |
| | | return days.slice(start, start + 7); |
| | | }); |
| | | }, |
| | | getFormateDate: function getFormateDate(day, type) { |
| | | if (!day || ['prev', 'current', 'next'].indexOf(type) === -1) { |
| | | throw new Error('invalid day or type'); |
| | | } |
| | | var prefix = this.curMonthDatePrefix; |
| | | if (type === 'prev') { |
| | | prefix = this.prevMonthDatePrefix; |
| | | } else if (type === 'next') { |
| | | prefix = this.nextMonthDatePrefix; |
| | | } |
| | | day = ('00' + day).slice(-2); |
| | | return prefix + '-' + day; |
| | | }, |
| | | getCellClass: function getCellClass(_ref) { |
| | | var text = _ref.text, |
| | | type = _ref.type; |
| | | |
| | | var classes = [type]; |
| | | if (type === 'current') { |
| | | var date = this.getFormateDate(text, type); |
| | | if (date === this.selectedDay) { |
| | | classes.push('is-selected'); |
| | | } |
| | | if (date === this.formatedToday) { |
| | | classes.push('is-today'); |
| | | } |
| | | } |
| | | return classes; |
| | | }, |
| | | pickDay: function pickDay(_ref2) { |
| | | var text = _ref2.text, |
| | | type = _ref2.type; |
| | | |
| | | var date = this.getFormateDate(text, type); |
| | | this.$emit('pick', date); |
| | | }, |
| | | cellRenderProxy: function cellRenderProxy(_ref3) { |
| | | var text = _ref3.text, |
| | | type = _ref3.type; |
| | | var h = this.$createElement; |
| | | |
| | | var render = this.elCalendar.$scopedSlots.dateCell; |
| | | if (!render) return h('span', [text]); |
| | | |
| | | var day = this.getFormateDate(text, type); |
| | | var date = new Date(day); |
| | | var data = { |
| | | isSelected: this.selectedDay === day, |
| | | type: type + '-month', |
| | | day: day |
| | | }; |
| | | return render({ date: date, data: data }); |
| | | } |
| | | }, |
| | | |
| | | computed: { |
| | | WEEK_DAYS: function WEEK_DAYS() { |
| | | return Object(date_util_["getI18nSettings"])().dayNames; |
| | | }, |
| | | prevMonthDatePrefix: function prevMonthDatePrefix() { |
| | | var temp = new Date(this.date.getTime()); |
| | | temp.setDate(0); |
| | | return date_default.a.format(temp, 'yyyy-MM'); |
| | | }, |
| | | curMonthDatePrefix: function curMonthDatePrefix() { |
| | | return date_default.a.format(this.date, 'yyyy-MM'); |
| | | }, |
| | | nextMonthDatePrefix: function nextMonthDatePrefix() { |
| | | var temp = new Date(this.date.getFullYear(), this.date.getMonth() + 1, 1); |
| | | return date_default.a.format(temp, 'yyyy-MM'); |
| | | }, |
| | | formatedToday: function formatedToday() { |
| | | return this.elCalendar.formatedToday; |
| | | }, |
| | | isInRange: function isInRange() { |
| | | return this.range && this.range.length; |
| | | }, |
| | | rows: function rows() { |
| | | var days = []; |
| | | // if range exists, should render days in range. |
| | | if (this.isInRange) { |
| | | var _range = this.range, |
| | | start = _range[0], |
| | | end = _range[1]; |
| | | |
| | | var currentMonthRange = Object(date_util_["range"])(end.getDate() - start.getDate() + 1).map(function (_, index) { |
| | | return { |
| | | text: start.getDate() + index, |
| | | type: 'current' |
| | | }; |
| | | }); |
| | | var remaining = currentMonthRange.length % 7; |
| | | remaining = remaining === 0 ? 0 : 7 - remaining; |
| | | var nextMonthRange = Object(date_util_["range"])(remaining).map(function (_, index) { |
| | | return { |
| | | text: index + 1, |
| | | type: 'next' |
| | | }; |
| | | }); |
| | | days = currentMonthRange.concat(nextMonthRange); |
| | | } else { |
| | | var date = this.date; |
| | | var firstDay = Object(date_util_["getFirstDayOfMonth"])(date); |
| | | firstDay = firstDay === 0 ? 7 : firstDay; |
| | | var firstDayOfWeek = typeof this.firstDayOfWeek === 'number' ? this.firstDayOfWeek : 1; |
| | | var offset = (7 + firstDay - firstDayOfWeek) % 7; |
| | | var prevMonthDays = Object(date_util_["getPrevMonthLastDays"])(date, offset).map(function (day) { |
| | | return { |
| | | text: day, |
| | | type: 'prev' |
| | | }; |
| | | }); |
| | | var currentMonthDays = Object(date_util_["getMonthDays"])(date).map(function (day) { |
| | | return { |
| | | text: day, |
| | | type: 'current' |
| | | }; |
| | | }); |
| | | days = [].concat(prevMonthDays, currentMonthDays); |
| | | var nextMonthDays = Object(date_util_["range"])(42 - days.length).map(function (_, index) { |
| | | return { |
| | | text: index + 1, |
| | | type: 'next' |
| | | }; |
| | | }); |
| | | days = days.concat(nextMonthDays); |
| | | } |
| | | return this.toNestedArr(days); |
| | | }, |
| | | weekDays: function weekDays() { |
| | | var start = this.firstDayOfWeek; |
| | | var WEEK_DAYS = this.WEEK_DAYS; |
| | | |
| | | |
| | | if (typeof start !== 'number' || start === 0) { |
| | | return WEEK_DAYS.slice(); |
| | | } else { |
| | | return WEEK_DAYS.slice(start).concat(WEEK_DAYS.slice(0, start)); |
| | | } |
| | | } |
| | | }, |
| | | |
| | | render: function render() { |
| | | var _this = this; |
| | | |
| | | var h = arguments[0]; |
| | | |
| | | var thead = this.hideHeader ? null : h('thead', [this.weekDays.map(function (day) { |
| | | return h( |
| | | 'th', |
| | | { key: day }, |
| | | [day] |
| | | ); |
| | | })]); |
| | | return h( |
| | | 'table', |
| | | { |
| | | 'class': { |
| | | 'el-calendar-table': true, |
| | | 'is-range': this.isInRange |
| | | }, |
| | | attrs: { cellspacing: '0', |
| | | cellpadding: '0' } |
| | | }, |
| | | [thead, h('tbody', [this.rows.map(function (row, index) { |
| | | return h( |
| | | 'tr', |
| | | { |
| | | 'class': { |
| | | 'el-calendar-table__row': true, |
| | | 'el-calendar-table__row--hide-border': index === 0 && _this.hideHeader |
| | | }, |
| | | key: index }, |
| | | [row.map(function (cell, key) { |
| | | return h( |
| | | 'td', |
| | | { key: key, |
| | | 'class': _this.getCellClass(cell), |
| | | on: { |
| | | 'click': _this.pickDay.bind(_this, cell) |
| | | } |
| | | }, |
| | | [h( |
| | | 'div', |
| | | { 'class': 'el-calendar-day' }, |
| | | [_this.cellRenderProxy(cell)] |
| | | )] |
| | | ); |
| | | })] |
| | | ); |
| | | })])] |
| | | ); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/calendar/src/date-table.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_date_tablevue_type_script_lang_js_ = (date_tablevue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/calendar/src/date-table.vue |
| | | var date_table_render, date_table_staticRenderFns |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_date_tablevue_type_script_lang_js_, |
| | | date_table_render, |
| | | date_table_staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/calendar/src/date-table.vue" |
| | | /* harmony default export */ var date_table = (component.exports); |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/calendar/src/main.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | var validTypes = ['prev-month', 'today', 'next-month']; |
| | | var weekDays = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']; |
| | | var oneDay = 86400000; |
| | | |
| | | /* harmony default export */ var mainvue_type_script_lang_js_ = ({ |
| | | name: 'ElCalendar', |
| | | |
| | | mixins: [locale_default.a], |
| | | |
| | | components: { |
| | | DateTable: date_table, |
| | | ElButton: button_default.a, |
| | | ElButtonGroup: button_group_default.a |
| | | }, |
| | | |
| | | props: { |
| | | value: [Date, String, Number], |
| | | range: { |
| | | type: Array, |
| | | validator: function validator(range) { |
| | | if (Array.isArray(range)) { |
| | | return range.length === 2 && range.every(function (item) { |
| | | return typeof item === 'string' || typeof item === 'number' || item instanceof Date; |
| | | }); |
| | | } else { |
| | | return true; |
| | | } |
| | | } |
| | | }, |
| | | firstDayOfWeek: { |
| | | type: Number, |
| | | default: 1 |
| | | } |
| | | }, |
| | | |
| | | provide: function provide() { |
| | | return { |
| | | elCalendar: this |
| | | }; |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | pickDay: function pickDay(day) { |
| | | this.realSelectedDay = day; |
| | | }, |
| | | selectDate: function selectDate(type) { |
| | | if (validTypes.indexOf(type) === -1) { |
| | | throw new Error('invalid type ' + type); |
| | | } |
| | | var day = ''; |
| | | if (type === 'prev-month') { |
| | | day = this.prevMonthDatePrefix + '-01'; |
| | | } else if (type === 'next-month') { |
| | | day = this.nextMonthDatePrefix + '-01'; |
| | | } else { |
| | | day = this.formatedToday; |
| | | } |
| | | |
| | | if (day === this.formatedDate) return; |
| | | this.pickDay(day); |
| | | }, |
| | | toDate: function toDate(val) { |
| | | if (!val) { |
| | | throw new Error('invalid val'); |
| | | } |
| | | return val instanceof Date ? val : new Date(val); |
| | | }, |
| | | rangeValidator: function rangeValidator(date, isStart) { |
| | | var firstDayOfWeek = this.realFirstDayOfWeek; |
| | | var expected = isStart ? firstDayOfWeek : firstDayOfWeek === 0 ? 6 : firstDayOfWeek - 1; |
| | | var message = (isStart ? 'start' : 'end') + ' of range should be ' + weekDays[expected] + '.'; |
| | | if (date.getDay() !== expected) { |
| | | console.warn('[ElementCalendar]', message, 'Invalid range will be ignored.'); |
| | | return false; |
| | | } |
| | | return true; |
| | | } |
| | | }, |
| | | |
| | | computed: { |
| | | prevMonthDatePrefix: function prevMonthDatePrefix() { |
| | | var temp = new Date(this.date.getTime()); |
| | | temp.setDate(0); |
| | | return date_default.a.format(temp, 'yyyy-MM'); |
| | | }, |
| | | curMonthDatePrefix: function curMonthDatePrefix() { |
| | | return date_default.a.format(this.date, 'yyyy-MM'); |
| | | }, |
| | | nextMonthDatePrefix: function nextMonthDatePrefix() { |
| | | var temp = new Date(this.date.getFullYear(), this.date.getMonth() + 1, 1); |
| | | return date_default.a.format(temp, 'yyyy-MM'); |
| | | }, |
| | | formatedDate: function formatedDate() { |
| | | return date_default.a.format(this.date, 'yyyy-MM-dd'); |
| | | }, |
| | | i18nDate: function i18nDate() { |
| | | var year = this.date.getFullYear(); |
| | | var month = this.date.getMonth() + 1; |
| | | return year + ' ' + this.t('el.datepicker.year') + ' ' + this.t('el.datepicker.month' + month); |
| | | }, |
| | | formatedToday: function formatedToday() { |
| | | return date_default.a.format(this.now, 'yyyy-MM-dd'); |
| | | }, |
| | | |
| | | |
| | | realSelectedDay: { |
| | | get: function get() { |
| | | if (!this.value) return this.selectedDay; |
| | | return this.formatedDate; |
| | | }, |
| | | set: function set(val) { |
| | | this.selectedDay = val; |
| | | var date = new Date(val); |
| | | this.$emit('input', date); |
| | | } |
| | | }, |
| | | |
| | | date: function date() { |
| | | if (!this.value) { |
| | | if (this.realSelectedDay) { |
| | | var d = this.selectedDay.split('-'); |
| | | return new Date(d[0], d[1] - 1, d[2]); |
| | | } else if (this.validatedRange.length) { |
| | | return this.validatedRange[0][0]; |
| | | } |
| | | return this.now; |
| | | } else { |
| | | return this.toDate(this.value); |
| | | } |
| | | }, |
| | | |
| | | |
| | | // if range is valid, we get a two-digit array |
| | | validatedRange: function validatedRange() { |
| | | var _this = this; |
| | | |
| | | var range = this.range; |
| | | if (!range) return []; |
| | | range = range.reduce(function (prev, val, index) { |
| | | var date = _this.toDate(val); |
| | | if (_this.rangeValidator(date, index === 0)) { |
| | | prev = prev.concat(date); |
| | | } |
| | | return prev; |
| | | }, []); |
| | | if (range.length === 2) { |
| | | var _range = range, |
| | | start = _range[0], |
| | | end = _range[1]; |
| | | |
| | | if (start > end) { |
| | | console.warn('[ElementCalendar]end time should be greater than start time'); |
| | | return []; |
| | | } |
| | | // start time and end time in one month |
| | | if (Object(date_util_["validateRangeInOneMonth"])(start, end)) { |
| | | return [[start, end]]; |
| | | } |
| | | var data = []; |
| | | var startDay = new Date(start.getFullYear(), start.getMonth() + 1, 1); |
| | | var lastDay = this.toDate(startDay.getTime() - oneDay); |
| | | if (!Object(date_util_["validateRangeInOneMonth"])(startDay, end)) { |
| | | console.warn('[ElementCalendar]start time and end time interval must not exceed two months'); |
| | | return []; |
| | | } |
| | | // 第ä¸ä¸ªæçæ¶é´èå´ |
| | | data.push([start, lastDay]); |
| | | // ä¸ä¸æçæ¶é´èå´ï¼éè¦è®¡ç®ä¸ä¸è¯¥æç第ä¸ä¸ªå¨èµ·å§æ¥ |
| | | var firstDayOfWeek = this.realFirstDayOfWeek; |
| | | var nextMontFirstDay = startDay.getDay(); |
| | | var interval = 0; |
| | | if (nextMontFirstDay !== firstDayOfWeek) { |
| | | if (firstDayOfWeek === 0) { |
| | | interval = 7 - nextMontFirstDay; |
| | | } else { |
| | | interval = firstDayOfWeek - nextMontFirstDay; |
| | | interval = interval > 0 ? interval : 7 + interval; |
| | | } |
| | | } |
| | | startDay = this.toDate(startDay.getTime() + interval * oneDay); |
| | | if (startDay.getDate() < end.getDate()) { |
| | | data.push([startDay, end]); |
| | | } |
| | | return data; |
| | | } |
| | | return []; |
| | | }, |
| | | realFirstDayOfWeek: function realFirstDayOfWeek() { |
| | | if (this.firstDayOfWeek < 1 || this.firstDayOfWeek > 6) { |
| | | return 0; |
| | | } |
| | | return Math.floor(this.firstDayOfWeek); |
| | | } |
| | | }, |
| | | |
| | | data: function data() { |
| | | return { |
| | | selectedDay: '', |
| | | now: new Date() |
| | | }; |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/calendar/src/main.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); |
| | | // CONCATENATED MODULE: ./packages/calendar/src/main.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var main_component = Object(componentNormalizer["a" /* default */])( |
| | | src_mainvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var main_api; } |
| | | main_component.options.__file = "packages/calendar/src/main.vue" |
| | | /* harmony default export */ var main = (main_component.exports); |
| | | // CONCATENATED MODULE: ./packages/calendar/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | main.install = function (Vue) { |
| | | Vue.component(main.name, main); |
| | | }; |
| | | |
| | | /* harmony default export */ var calendar = __webpack_exports__["default"] = (main); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 107); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 107: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/card/src/main.vue?vue&type=template&id=59a4a40f& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "div", |
| | | { |
| | | staticClass: "el-card", |
| | | class: _vm.shadow ? "is-" + _vm.shadow + "-shadow" : "is-always-shadow" |
| | | }, |
| | | [ |
| | | _vm.$slots.header || _vm.header |
| | | ? _c( |
| | | "div", |
| | | { staticClass: "el-card__header" }, |
| | | [_vm._t("header", [_vm._v(_vm._s(_vm.header))])], |
| | | 2 |
| | | ) |
| | | : _vm._e(), |
| | | _c( |
| | | "div", |
| | | { staticClass: "el-card__body", style: _vm.bodyStyle }, |
| | | [_vm._t("default")], |
| | | 2 |
| | | ) |
| | | ] |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/card/src/main.vue?vue&type=template&id=59a4a40f& |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/card/src/main.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | /* harmony default export */ var mainvue_type_script_lang_js_ = ({ |
| | | name: 'ElCard', |
| | | props: { |
| | | header: {}, |
| | | bodyStyle: {}, |
| | | shadow: { |
| | | type: String |
| | | } |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/card/src/main.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/card/src/main.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_mainvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/card/src/main.vue" |
| | | /* harmony default export */ var main = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/card/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | main.install = function (Vue) { |
| | | Vue.component(main.name, main); |
| | | }; |
| | | |
| | | /* harmony default export */ var card = __webpack_exports__["default"] = (main); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 112); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 112: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/item.vue?vue&type=template&id=1801ae19& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "div", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm.ready, |
| | | expression: "ready" |
| | | } |
| | | ], |
| | | staticClass: "el-carousel__item", |
| | | class: { |
| | | "is-active": _vm.active, |
| | | "el-carousel__item--card": _vm.$parent.type === "card", |
| | | "is-in-stage": _vm.inStage, |
| | | "is-hover": _vm.hover, |
| | | "is-animating": _vm.animating |
| | | }, |
| | | style: _vm.itemStyle, |
| | | on: { click: _vm.handleItemClick } |
| | | }, |
| | | [ |
| | | _vm.$parent.type === "card" |
| | | ? _c("div", { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: !_vm.active, |
| | | expression: "!active" |
| | | } |
| | | ], |
| | | staticClass: "el-carousel__mask" |
| | | }) |
| | | : _vm._e(), |
| | | _vm._t("default") |
| | | ], |
| | | 2 |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/carousel/src/item.vue?vue&type=template&id=1801ae19& |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/util" |
| | | var util_ = __webpack_require__(3); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/item.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | |
| | | var CARD_SCALE = 0.83; |
| | | /* harmony default export */ var itemvue_type_script_lang_js_ = ({ |
| | | name: 'ElCarouselItem', |
| | | |
| | | props: { |
| | | name: String, |
| | | label: { |
| | | type: [String, Number], |
| | | default: '' |
| | | } |
| | | }, |
| | | |
| | | data: function data() { |
| | | return { |
| | | hover: false, |
| | | translate: 0, |
| | | scale: 1, |
| | | active: false, |
| | | ready: false, |
| | | inStage: false, |
| | | animating: false |
| | | }; |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | processIndex: function processIndex(index, activeIndex, length) { |
| | | if (activeIndex === 0 && index === length - 1) { |
| | | return -1; |
| | | } else if (activeIndex === length - 1 && index === 0) { |
| | | return length; |
| | | } else if (index < activeIndex - 1 && activeIndex - index >= length / 2) { |
| | | return length + 1; |
| | | } else if (index > activeIndex + 1 && index - activeIndex >= length / 2) { |
| | | return -2; |
| | | } |
| | | return index; |
| | | }, |
| | | calcCardTranslate: function calcCardTranslate(index, activeIndex) { |
| | | var parentWidth = this.$parent.$el.offsetWidth; |
| | | if (this.inStage) { |
| | | return parentWidth * ((2 - CARD_SCALE) * (index - activeIndex) + 1) / 4; |
| | | } else if (index < activeIndex) { |
| | | return -(1 + CARD_SCALE) * parentWidth / 4; |
| | | } else { |
| | | return (3 + CARD_SCALE) * parentWidth / 4; |
| | | } |
| | | }, |
| | | calcTranslate: function calcTranslate(index, activeIndex, isVertical) { |
| | | var distance = this.$parent.$el[isVertical ? 'offsetHeight' : 'offsetWidth']; |
| | | return distance * (index - activeIndex); |
| | | }, |
| | | translateItem: function translateItem(index, activeIndex, oldIndex) { |
| | | var parentType = this.$parent.type; |
| | | var parentDirection = this.parentDirection; |
| | | var length = this.$parent.items.length; |
| | | if (parentType !== 'card' && oldIndex !== undefined) { |
| | | this.animating = index === activeIndex || index === oldIndex; |
| | | } |
| | | if (index !== activeIndex && length > 2 && this.$parent.loop) { |
| | | index = this.processIndex(index, activeIndex, length); |
| | | } |
| | | if (parentType === 'card') { |
| | | if (parentDirection === 'vertical') { |
| | | console.warn('[Element Warn][Carousel]vertical direction is not supported in card mode'); |
| | | } |
| | | this.inStage = Math.round(Math.abs(index - activeIndex)) <= 1; |
| | | this.active = index === activeIndex; |
| | | this.translate = this.calcCardTranslate(index, activeIndex); |
| | | this.scale = this.active ? 1 : CARD_SCALE; |
| | | } else { |
| | | this.active = index === activeIndex; |
| | | var isVertical = parentDirection === 'vertical'; |
| | | this.translate = this.calcTranslate(index, activeIndex, isVertical); |
| | | this.scale = 1; |
| | | } |
| | | this.ready = true; |
| | | }, |
| | | handleItemClick: function handleItemClick() { |
| | | var parent = this.$parent; |
| | | if (parent && parent.type === 'card') { |
| | | var index = parent.items.indexOf(this); |
| | | parent.setActiveItem(index); |
| | | } |
| | | } |
| | | }, |
| | | |
| | | computed: { |
| | | parentDirection: function parentDirection() { |
| | | return this.$parent.direction; |
| | | }, |
| | | itemStyle: function itemStyle() { |
| | | var translateType = this.parentDirection === 'vertical' ? 'translateY' : 'translateX'; |
| | | var value = translateType + '(' + this.translate + 'px) scale(' + this.scale + ')'; |
| | | var style = { |
| | | transform: value |
| | | }; |
| | | return Object(util_["autoprefixer"])(style); |
| | | } |
| | | }, |
| | | |
| | | created: function created() { |
| | | this.$parent && this.$parent.updateItems(); |
| | | }, |
| | | destroyed: function destroyed() { |
| | | this.$parent && this.$parent.updateItems(); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/carousel/src/item.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_itemvue_type_script_lang_js_ = (itemvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/carousel/src/item.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_itemvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/carousel/src/item.vue" |
| | | /* harmony default export */ var item = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/carousel-item/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | item.install = function (Vue) { |
| | | Vue.component(item.name, item); |
| | | }; |
| | | |
| | | /* harmony default export */ var carousel_item = __webpack_exports__["default"] = (item); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 3: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/util"); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 111); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 111: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/main.vue?vue&type=template&id=5d5d1482& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "div", |
| | | { |
| | | class: _vm.carouselClasses, |
| | | on: { |
| | | mouseenter: function($event) { |
| | | $event.stopPropagation() |
| | | return _vm.handleMouseEnter($event) |
| | | }, |
| | | mouseleave: function($event) { |
| | | $event.stopPropagation() |
| | | return _vm.handleMouseLeave($event) |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _c( |
| | | "div", |
| | | { |
| | | staticClass: "el-carousel__container", |
| | | style: { height: _vm.height } |
| | | }, |
| | | [ |
| | | _vm.arrowDisplay |
| | | ? _c("transition", { attrs: { name: "carousel-arrow-left" } }, [ |
| | | _c( |
| | | "button", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: |
| | | (_vm.arrow === "always" || _vm.hover) && |
| | | (_vm.loop || _vm.activeIndex > 0), |
| | | expression: |
| | | "(arrow === 'always' || hover) && (loop || activeIndex > 0)" |
| | | } |
| | | ], |
| | | staticClass: "el-carousel__arrow el-carousel__arrow--left", |
| | | attrs: { type: "button" }, |
| | | on: { |
| | | mouseenter: function($event) { |
| | | _vm.handleButtonEnter("left") |
| | | }, |
| | | mouseleave: _vm.handleButtonLeave, |
| | | click: function($event) { |
| | | $event.stopPropagation() |
| | | _vm.throttledArrowClick(_vm.activeIndex - 1) |
| | | } |
| | | } |
| | | }, |
| | | [_c("i", { staticClass: "el-icon-arrow-left" })] |
| | | ) |
| | | ]) |
| | | : _vm._e(), |
| | | _vm.arrowDisplay |
| | | ? _c("transition", { attrs: { name: "carousel-arrow-right" } }, [ |
| | | _c( |
| | | "button", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: |
| | | (_vm.arrow === "always" || _vm.hover) && |
| | | (_vm.loop || _vm.activeIndex < _vm.items.length - 1), |
| | | expression: |
| | | "(arrow === 'always' || hover) && (loop || activeIndex < items.length - 1)" |
| | | } |
| | | ], |
| | | staticClass: "el-carousel__arrow el-carousel__arrow--right", |
| | | attrs: { type: "button" }, |
| | | on: { |
| | | mouseenter: function($event) { |
| | | _vm.handleButtonEnter("right") |
| | | }, |
| | | mouseleave: _vm.handleButtonLeave, |
| | | click: function($event) { |
| | | $event.stopPropagation() |
| | | _vm.throttledArrowClick(_vm.activeIndex + 1) |
| | | } |
| | | } |
| | | }, |
| | | [_c("i", { staticClass: "el-icon-arrow-right" })] |
| | | ) |
| | | ]) |
| | | : _vm._e(), |
| | | _vm._t("default") |
| | | ], |
| | | 2 |
| | | ), |
| | | _vm.indicatorPosition !== "none" |
| | | ? _c( |
| | | "ul", |
| | | { class: _vm.indicatorsClasses }, |
| | | _vm._l(_vm.items, function(item, index) { |
| | | return _c( |
| | | "li", |
| | | { |
| | | key: index, |
| | | class: [ |
| | | "el-carousel__indicator", |
| | | "el-carousel__indicator--" + _vm.direction, |
| | | { "is-active": index === _vm.activeIndex } |
| | | ], |
| | | on: { |
| | | mouseenter: function($event) { |
| | | _vm.throttledIndicatorHover(index) |
| | | }, |
| | | click: function($event) { |
| | | $event.stopPropagation() |
| | | _vm.handleIndicatorClick(index) |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _c("button", { staticClass: "el-carousel__button" }, [ |
| | | _vm.hasLabel |
| | | ? _c("span", [_vm._v(_vm._s(item.label))]) |
| | | : _vm._e() |
| | | ]) |
| | | ] |
| | | ) |
| | | }), |
| | | 0 |
| | | ) |
| | | : _vm._e() |
| | | ] |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=template&id=5d5d1482& |
| | | |
| | | // EXTERNAL MODULE: external "throttle-debounce/throttle" |
| | | var throttle_ = __webpack_require__(25); |
| | | var throttle_default = /*#__PURE__*/__webpack_require__.n(throttle_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/resize-event" |
| | | var resize_event_ = __webpack_require__(16); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/carousel/src/main.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | |
| | | |
| | | |
| | | /* harmony default export */ var mainvue_type_script_lang_js_ = ({ |
| | | name: 'ElCarousel', |
| | | |
| | | props: { |
| | | initialIndex: { |
| | | type: Number, |
| | | default: 0 |
| | | }, |
| | | height: String, |
| | | trigger: { |
| | | type: String, |
| | | default: 'hover' |
| | | }, |
| | | autoplay: { |
| | | type: Boolean, |
| | | default: true |
| | | }, |
| | | interval: { |
| | | type: Number, |
| | | default: 3000 |
| | | }, |
| | | indicatorPosition: String, |
| | | indicator: { |
| | | type: Boolean, |
| | | default: true |
| | | }, |
| | | arrow: { |
| | | type: String, |
| | | default: 'hover' |
| | | }, |
| | | type: String, |
| | | loop: { |
| | | type: Boolean, |
| | | default: true |
| | | }, |
| | | direction: { |
| | | type: String, |
| | | default: 'horizontal', |
| | | validator: function validator(val) { |
| | | return ['horizontal', 'vertical'].indexOf(val) !== -1; |
| | | } |
| | | } |
| | | }, |
| | | |
| | | data: function data() { |
| | | return { |
| | | items: [], |
| | | activeIndex: -1, |
| | | containerWidth: 0, |
| | | timer: null, |
| | | hover: false |
| | | }; |
| | | }, |
| | | |
| | | |
| | | computed: { |
| | | arrowDisplay: function arrowDisplay() { |
| | | return this.arrow !== 'never' && this.direction !== 'vertical'; |
| | | }, |
| | | hasLabel: function hasLabel() { |
| | | return this.items.some(function (item) { |
| | | return item.label.toString().length > 0; |
| | | }); |
| | | }, |
| | | carouselClasses: function carouselClasses() { |
| | | var classes = ['el-carousel', 'el-carousel--' + this.direction]; |
| | | if (this.type === 'card') { |
| | | classes.push('el-carousel--card'); |
| | | } |
| | | return classes; |
| | | }, |
| | | indicatorsClasses: function indicatorsClasses() { |
| | | var classes = ['el-carousel__indicators', 'el-carousel__indicators--' + this.direction]; |
| | | if (this.hasLabel) { |
| | | classes.push('el-carousel__indicators--labels'); |
| | | } |
| | | if (this.indicatorPosition === 'outside' || this.type === 'card') { |
| | | classes.push('el-carousel__indicators--outside'); |
| | | } |
| | | return classes; |
| | | } |
| | | }, |
| | | |
| | | watch: { |
| | | items: function items(val) { |
| | | if (val.length > 0) this.setActiveItem(this.initialIndex); |
| | | }, |
| | | activeIndex: function activeIndex(val, oldVal) { |
| | | this.resetItemPosition(oldVal); |
| | | if (oldVal > -1) { |
| | | this.$emit('change', val, oldVal); |
| | | } |
| | | }, |
| | | autoplay: function autoplay(val) { |
| | | val ? this.startTimer() : this.pauseTimer(); |
| | | }, |
| | | loop: function loop() { |
| | | this.setActiveItem(this.activeIndex); |
| | | }, |
| | | interval: function interval() { |
| | | this.pauseTimer(); |
| | | this.startTimer(); |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | handleMouseEnter: function handleMouseEnter() { |
| | | this.hover = true; |
| | | this.pauseTimer(); |
| | | }, |
| | | handleMouseLeave: function handleMouseLeave() { |
| | | this.hover = false; |
| | | this.startTimer(); |
| | | }, |
| | | itemInStage: function itemInStage(item, index) { |
| | | var length = this.items.length; |
| | | if (index === length - 1 && item.inStage && this.items[0].active || item.inStage && this.items[index + 1] && this.items[index + 1].active) { |
| | | return 'left'; |
| | | } else if (index === 0 && item.inStage && this.items[length - 1].active || item.inStage && this.items[index - 1] && this.items[index - 1].active) { |
| | | return 'right'; |
| | | } |
| | | return false; |
| | | }, |
| | | handleButtonEnter: function handleButtonEnter(arrow) { |
| | | var _this = this; |
| | | |
| | | if (this.direction === 'vertical') return; |
| | | this.items.forEach(function (item, index) { |
| | | if (arrow === _this.itemInStage(item, index)) { |
| | | item.hover = true; |
| | | } |
| | | }); |
| | | }, |
| | | handleButtonLeave: function handleButtonLeave() { |
| | | if (this.direction === 'vertical') return; |
| | | this.items.forEach(function (item) { |
| | | item.hover = false; |
| | | }); |
| | | }, |
| | | updateItems: function updateItems() { |
| | | this.items = this.$children.filter(function (child) { |
| | | return child.$options.name === 'ElCarouselItem'; |
| | | }); |
| | | }, |
| | | resetItemPosition: function resetItemPosition(oldIndex) { |
| | | var _this2 = this; |
| | | |
| | | this.items.forEach(function (item, index) { |
| | | item.translateItem(index, _this2.activeIndex, oldIndex); |
| | | }); |
| | | }, |
| | | playSlides: function playSlides() { |
| | | if (this.activeIndex < this.items.length - 1) { |
| | | this.activeIndex++; |
| | | } else if (this.loop) { |
| | | this.activeIndex = 0; |
| | | } |
| | | }, |
| | | pauseTimer: function pauseTimer() { |
| | | if (this.timer) { |
| | | clearInterval(this.timer); |
| | | this.timer = null; |
| | | } |
| | | }, |
| | | startTimer: function startTimer() { |
| | | if (this.interval <= 0 || !this.autoplay || this.timer) return; |
| | | this.timer = setInterval(this.playSlides, this.interval); |
| | | }, |
| | | resetTimer: function resetTimer() { |
| | | this.pauseTimer(); |
| | | this.startTimer(); |
| | | }, |
| | | setActiveItem: function setActiveItem(index) { |
| | | if (typeof index === 'string') { |
| | | var filteredItems = this.items.filter(function (item) { |
| | | return item.name === index; |
| | | }); |
| | | if (filteredItems.length > 0) { |
| | | index = this.items.indexOf(filteredItems[0]); |
| | | } |
| | | } |
| | | index = Number(index); |
| | | if (isNaN(index) || index !== Math.floor(index)) { |
| | | console.warn('[Element Warn][Carousel]index must be an integer.'); |
| | | return; |
| | | } |
| | | var length = this.items.length; |
| | | var oldIndex = this.activeIndex; |
| | | if (index < 0) { |
| | | this.activeIndex = this.loop ? length - 1 : 0; |
| | | } else if (index >= length) { |
| | | this.activeIndex = this.loop ? 0 : length - 1; |
| | | } else { |
| | | this.activeIndex = index; |
| | | } |
| | | if (oldIndex === this.activeIndex) { |
| | | this.resetItemPosition(oldIndex); |
| | | } |
| | | this.resetTimer(); |
| | | }, |
| | | prev: function prev() { |
| | | this.setActiveItem(this.activeIndex - 1); |
| | | }, |
| | | next: function next() { |
| | | this.setActiveItem(this.activeIndex + 1); |
| | | }, |
| | | handleIndicatorClick: function handleIndicatorClick(index) { |
| | | this.activeIndex = index; |
| | | }, |
| | | handleIndicatorHover: function handleIndicatorHover(index) { |
| | | if (this.trigger === 'hover' && index !== this.activeIndex) { |
| | | this.activeIndex = index; |
| | | } |
| | | } |
| | | }, |
| | | |
| | | created: function created() { |
| | | var _this3 = this; |
| | | |
| | | this.throttledArrowClick = throttle_default()(300, true, function (index) { |
| | | _this3.setActiveItem(index); |
| | | }); |
| | | this.throttledIndicatorHover = throttle_default()(300, function (index) { |
| | | _this3.handleIndicatorHover(index); |
| | | }); |
| | | }, |
| | | mounted: function mounted() { |
| | | var _this4 = this; |
| | | |
| | | this.updateItems(); |
| | | this.$nextTick(function () { |
| | | Object(resize_event_["addResizeListener"])(_this4.$el, _this4.resetItemPosition); |
| | | if (_this4.initialIndex < _this4.items.length && _this4.initialIndex >= 0) { |
| | | _this4.activeIndex = _this4.initialIndex; |
| | | } |
| | | _this4.startTimer(); |
| | | }); |
| | | }, |
| | | beforeDestroy: function beforeDestroy() { |
| | | if (this.$el) Object(resize_event_["removeResizeListener"])(this.$el, this.resetItemPosition); |
| | | this.pauseTimer(); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/carousel/src/main.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/carousel/src/main.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_mainvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/carousel/src/main.vue" |
| | | /* harmony default export */ var main = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/carousel/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | main.install = function (Vue) { |
| | | Vue.component(main.name, main); |
| | | }; |
| | | |
| | | /* harmony default export */ var carousel = __webpack_exports__["default"] = (main); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 16: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/resize-event"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 25: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("throttle-debounce/throttle"); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 61); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 15: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/scrollbar"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 18: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/checkbox"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 21: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/shared"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 26: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("babel-helper-vue-jsx-merge-props"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 3: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/util"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 31: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/scroll-into-view"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 41: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/aria-utils"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 52: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/radio"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 6: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/locale"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 61: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-panel.vue?vue&type=template&id=34932346& |
| | | var cascader_panelvue_type_template_id_34932346_render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "div", |
| | | { |
| | | class: ["el-cascader-panel", _vm.border && "is-bordered"], |
| | | on: { keydown: _vm.handleKeyDown } |
| | | }, |
| | | _vm._l(_vm.menus, function(menu, index) { |
| | | return _c("cascader-menu", { |
| | | key: index, |
| | | ref: "menu", |
| | | refInFor: true, |
| | | attrs: { index: index, nodes: menu } |
| | | }) |
| | | }), |
| | | 1 |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | cascader_panelvue_type_template_id_34932346_render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue?vue&type=template&id=34932346& |
| | | |
| | | // EXTERNAL MODULE: external "babel-helper-vue-jsx-merge-props" |
| | | var external_babel_helper_vue_jsx_merge_props_ = __webpack_require__(26); |
| | | var external_babel_helper_vue_jsx_merge_props_default = /*#__PURE__*/__webpack_require__.n(external_babel_helper_vue_jsx_merge_props_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/scrollbar" |
| | | var scrollbar_ = __webpack_require__(15); |
| | | var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/checkbox" |
| | | var checkbox_ = __webpack_require__(18); |
| | | var checkbox_default = /*#__PURE__*/__webpack_require__.n(checkbox_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/radio" |
| | | var radio_ = __webpack_require__(52); |
| | | var radio_default = /*#__PURE__*/__webpack_require__.n(radio_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/util" |
| | | var util_ = __webpack_require__(3); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-node.vue?vue&type=script&lang=js& |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | var stopPropagation = function stopPropagation(e) { |
| | | return e.stopPropagation(); |
| | | }; |
| | | |
| | | /* harmony default export */ var cascader_nodevue_type_script_lang_js_ = ({ |
| | | inject: ['panel'], |
| | | |
| | | components: { |
| | | ElCheckbox: checkbox_default.a, |
| | | ElRadio: radio_default.a |
| | | }, |
| | | |
| | | props: { |
| | | node: { |
| | | required: true |
| | | }, |
| | | nodeId: String |
| | | }, |
| | | |
| | | computed: { |
| | | config: function config() { |
| | | return this.panel.config; |
| | | }, |
| | | isLeaf: function isLeaf() { |
| | | return this.node.isLeaf; |
| | | }, |
| | | isDisabled: function isDisabled() { |
| | | return this.node.isDisabled; |
| | | }, |
| | | checkedValue: function checkedValue() { |
| | | return this.panel.checkedValue; |
| | | }, |
| | | isChecked: function isChecked() { |
| | | return this.node.isSameNode(this.checkedValue); |
| | | }, |
| | | inActivePath: function inActivePath() { |
| | | return this.isInPath(this.panel.activePath); |
| | | }, |
| | | inCheckedPath: function inCheckedPath() { |
| | | var _this = this; |
| | | |
| | | if (!this.config.checkStrictly) return false; |
| | | |
| | | return this.panel.checkedNodePaths.some(function (checkedPath) { |
| | | return _this.isInPath(checkedPath); |
| | | }); |
| | | }, |
| | | value: function value() { |
| | | return this.node.getValueByOption(); |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | handleExpand: function handleExpand() { |
| | | var _this2 = this; |
| | | |
| | | var panel = this.panel, |
| | | node = this.node, |
| | | isDisabled = this.isDisabled, |
| | | config = this.config; |
| | | var multiple = config.multiple, |
| | | checkStrictly = config.checkStrictly; |
| | | |
| | | |
| | | if (!checkStrictly && isDisabled || node.loading) return; |
| | | |
| | | if (config.lazy && !node.loaded) { |
| | | panel.lazyLoad(node, function () { |
| | | // do not use cached leaf value here, invoke this.isLeaf to get new value. |
| | | var isLeaf = _this2.isLeaf; |
| | | |
| | | |
| | | if (!isLeaf) _this2.handleExpand(); |
| | | if (multiple) { |
| | | // if leaf sync checked state, else clear checked state |
| | | var checked = isLeaf ? node.checked : false; |
| | | _this2.handleMultiCheckChange(checked); |
| | | } |
| | | }); |
| | | } else { |
| | | panel.handleExpand(node); |
| | | } |
| | | }, |
| | | handleCheckChange: function handleCheckChange() { |
| | | var panel = this.panel, |
| | | value = this.value, |
| | | node = this.node; |
| | | |
| | | panel.handleCheckChange(value); |
| | | panel.handleExpand(node); |
| | | }, |
| | | handleMultiCheckChange: function handleMultiCheckChange(checked) { |
| | | this.node.doCheck(checked); |
| | | this.panel.calculateMultiCheckedValue(); |
| | | }, |
| | | isInPath: function isInPath(pathNodes) { |
| | | var node = this.node; |
| | | |
| | | var selectedPathNode = pathNodes[node.level - 1] || {}; |
| | | return selectedPathNode.uid === node.uid; |
| | | }, |
| | | renderPrefix: function renderPrefix(h) { |
| | | var isLeaf = this.isLeaf, |
| | | isChecked = this.isChecked, |
| | | config = this.config; |
| | | var checkStrictly = config.checkStrictly, |
| | | multiple = config.multiple; |
| | | |
| | | |
| | | if (multiple) { |
| | | return this.renderCheckbox(h); |
| | | } else if (checkStrictly) { |
| | | return this.renderRadio(h); |
| | | } else if (isLeaf && isChecked) { |
| | | return this.renderCheckIcon(h); |
| | | } |
| | | |
| | | return null; |
| | | }, |
| | | renderPostfix: function renderPostfix(h) { |
| | | var node = this.node, |
| | | isLeaf = this.isLeaf; |
| | | |
| | | |
| | | if (node.loading) { |
| | | return this.renderLoadingIcon(h); |
| | | } else if (!isLeaf) { |
| | | return this.renderExpandIcon(h); |
| | | } |
| | | |
| | | return null; |
| | | }, |
| | | renderCheckbox: function renderCheckbox(h) { |
| | | var node = this.node, |
| | | config = this.config, |
| | | isDisabled = this.isDisabled; |
| | | |
| | | var events = { |
| | | on: { change: this.handleMultiCheckChange }, |
| | | nativeOn: {} |
| | | }; |
| | | |
| | | if (config.checkStrictly) { |
| | | // when every node is selectable, click event should not trigger expand event. |
| | | events.nativeOn.click = stopPropagation; |
| | | } |
| | | |
| | | return h('el-checkbox', external_babel_helper_vue_jsx_merge_props_default()([{ |
| | | attrs: { |
| | | value: node.checked, |
| | | indeterminate: node.indeterminate, |
| | | disabled: isDisabled |
| | | } |
| | | }, events])); |
| | | }, |
| | | renderRadio: function renderRadio(h) { |
| | | var checkedValue = this.checkedValue, |
| | | value = this.value, |
| | | isDisabled = this.isDisabled; |
| | | |
| | | // to keep same reference if value cause radio's checked state is calculated by reference comparision; |
| | | |
| | | if (Object(util_["isEqual"])(value, checkedValue)) { |
| | | value = checkedValue; |
| | | } |
| | | |
| | | return h( |
| | | 'el-radio', |
| | | { |
| | | attrs: { |
| | | value: checkedValue, |
| | | label: value, |
| | | disabled: isDisabled |
| | | }, |
| | | on: { |
| | | 'change': this.handleCheckChange |
| | | }, |
| | | nativeOn: { |
| | | 'click': stopPropagation |
| | | } |
| | | }, |
| | | [h('span')] |
| | | ); |
| | | }, |
| | | renderCheckIcon: function renderCheckIcon(h) { |
| | | return h('i', { 'class': 'el-icon-check el-cascader-node__prefix' }); |
| | | }, |
| | | renderLoadingIcon: function renderLoadingIcon(h) { |
| | | return h('i', { 'class': 'el-icon-loading el-cascader-node__postfix' }); |
| | | }, |
| | | renderExpandIcon: function renderExpandIcon(h) { |
| | | return h('i', { 'class': 'el-icon-arrow-right el-cascader-node__postfix' }); |
| | | }, |
| | | renderContent: function renderContent(h) { |
| | | var panel = this.panel, |
| | | node = this.node; |
| | | |
| | | var render = panel.renderLabelFn; |
| | | var vnode = render ? render({ node: node, data: node.data }) : null; |
| | | |
| | | return h( |
| | | 'span', |
| | | { 'class': 'el-cascader-node__label' }, |
| | | [vnode || node.label] |
| | | ); |
| | | } |
| | | }, |
| | | |
| | | render: function render(h) { |
| | | var _this3 = this; |
| | | |
| | | var inActivePath = this.inActivePath, |
| | | inCheckedPath = this.inCheckedPath, |
| | | isChecked = this.isChecked, |
| | | isLeaf = this.isLeaf, |
| | | isDisabled = this.isDisabled, |
| | | config = this.config, |
| | | nodeId = this.nodeId; |
| | | var expandTrigger = config.expandTrigger, |
| | | checkStrictly = config.checkStrictly, |
| | | multiple = config.multiple; |
| | | |
| | | var disabled = !checkStrictly && isDisabled; |
| | | var events = { on: {} }; |
| | | |
| | | if (expandTrigger === 'click') { |
| | | events.on.click = this.handleExpand; |
| | | } else { |
| | | events.on.mouseenter = function (e) { |
| | | _this3.handleExpand(); |
| | | _this3.$emit('expand', e); |
| | | }; |
| | | events.on.focus = function (e) { |
| | | _this3.handleExpand(); |
| | | _this3.$emit('expand', e); |
| | | }; |
| | | } |
| | | if (isLeaf && !isDisabled && !checkStrictly && !multiple) { |
| | | events.on.click = this.handleCheckChange; |
| | | } |
| | | |
| | | return h( |
| | | 'li', |
| | | external_babel_helper_vue_jsx_merge_props_default()([{ |
| | | attrs: { |
| | | role: 'menuitem', |
| | | id: nodeId, |
| | | 'aria-expanded': inActivePath, |
| | | tabindex: disabled ? null : -1 |
| | | }, |
| | | 'class': { |
| | | 'el-cascader-node': true, |
| | | 'is-selectable': checkStrictly, |
| | | 'in-active-path': inActivePath, |
| | | 'in-checked-path': inCheckedPath, |
| | | 'is-active': isChecked, |
| | | 'is-disabled': disabled |
| | | } |
| | | }, events]), |
| | | [this.renderPrefix(h), this.renderContent(h), this.renderPostfix(h)] |
| | | ); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-node.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_cascader_nodevue_type_script_lang_js_ = (cascader_nodevue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-node.vue |
| | | var cascader_node_render, cascader_node_staticRenderFns |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_cascader_nodevue_type_script_lang_js_, |
| | | cascader_node_render, |
| | | cascader_node_staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/cascader-panel/src/cascader-node.vue" |
| | | /* harmony default export */ var cascader_node = (component.exports); |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/locale" |
| | | var locale_ = __webpack_require__(6); |
| | | var locale_default = /*#__PURE__*/__webpack_require__.n(locale_); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-menu.vue?vue&type=script&lang=js& |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* harmony default export */ var cascader_menuvue_type_script_lang_js_ = ({ |
| | | name: 'ElCascaderMenu', |
| | | |
| | | mixins: [locale_default.a], |
| | | |
| | | inject: ['panel'], |
| | | |
| | | components: { |
| | | ElScrollbar: scrollbar_default.a, |
| | | CascaderNode: cascader_node |
| | | }, |
| | | |
| | | props: { |
| | | nodes: { |
| | | type: Array, |
| | | required: true |
| | | }, |
| | | index: Number |
| | | }, |
| | | |
| | | data: function data() { |
| | | return { |
| | | activeNode: null, |
| | | hoverTimer: null, |
| | | id: Object(util_["generateId"])() |
| | | }; |
| | | }, |
| | | |
| | | |
| | | computed: { |
| | | isEmpty: function isEmpty() { |
| | | return !this.nodes.length; |
| | | }, |
| | | menuId: function menuId() { |
| | | return 'cascader-menu-' + this.id + '-' + this.index; |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | handleExpand: function handleExpand(e) { |
| | | this.activeNode = e.target; |
| | | }, |
| | | handleMouseMove: function handleMouseMove(e) { |
| | | var activeNode = this.activeNode, |
| | | hoverTimer = this.hoverTimer; |
| | | var hoverZone = this.$refs.hoverZone; |
| | | |
| | | |
| | | if (!activeNode || !hoverZone) return; |
| | | |
| | | if (activeNode.contains(e.target)) { |
| | | clearTimeout(hoverTimer); |
| | | |
| | | var _$el$getBoundingClien = this.$el.getBoundingClientRect(), |
| | | left = _$el$getBoundingClien.left; |
| | | |
| | | var startX = e.clientX - left; |
| | | var _$el = this.$el, |
| | | offsetWidth = _$el.offsetWidth, |
| | | offsetHeight = _$el.offsetHeight; |
| | | |
| | | var top = activeNode.offsetTop; |
| | | var bottom = top + activeNode.offsetHeight; |
| | | |
| | | hoverZone.innerHTML = '\n <path style="pointer-events: auto;" fill="transparent" d="M' + startX + ' ' + top + ' L' + offsetWidth + ' 0 V' + top + ' Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M' + startX + ' ' + bottom + ' L' + offsetWidth + ' ' + offsetHeight + ' V' + bottom + ' Z" />\n '; |
| | | } else if (!hoverTimer) { |
| | | this.hoverTimer = setTimeout(this.clearHoverZone, this.panel.config.hoverThreshold); |
| | | } |
| | | }, |
| | | clearHoverZone: function clearHoverZone() { |
| | | var hoverZone = this.$refs.hoverZone; |
| | | |
| | | if (!hoverZone) return; |
| | | hoverZone.innerHTML = ''; |
| | | }, |
| | | renderEmptyText: function renderEmptyText(h) { |
| | | return h( |
| | | 'div', |
| | | { 'class': 'el-cascader-menu__empty-text' }, |
| | | [this.t('el.cascader.noData')] |
| | | ); |
| | | }, |
| | | renderNodeList: function renderNodeList(h) { |
| | | var menuId = this.menuId; |
| | | var isHoverMenu = this.panel.isHoverMenu; |
| | | |
| | | var events = { on: {} }; |
| | | |
| | | if (isHoverMenu) { |
| | | events.on.expand = this.handleExpand; |
| | | } |
| | | |
| | | var nodes = this.nodes.map(function (node, index) { |
| | | var hasChildren = node.hasChildren; |
| | | |
| | | return h('cascader-node', external_babel_helper_vue_jsx_merge_props_default()([{ |
| | | key: node.uid, |
| | | attrs: { node: node, |
| | | 'node-id': menuId + '-' + index, |
| | | 'aria-haspopup': hasChildren, |
| | | 'aria-owns': hasChildren ? menuId : null |
| | | } |
| | | }, events])); |
| | | }); |
| | | |
| | | return [].concat(nodes, [isHoverMenu ? h('svg', { ref: 'hoverZone', 'class': 'el-cascader-menu__hover-zone' }) : null]); |
| | | } |
| | | }, |
| | | |
| | | render: function render(h) { |
| | | var isEmpty = this.isEmpty, |
| | | menuId = this.menuId; |
| | | |
| | | var events = { nativeOn: {} }; |
| | | |
| | | // optimize hover to expand experience (#8010) |
| | | if (this.panel.isHoverMenu) { |
| | | events.nativeOn.mousemove = this.handleMouseMove; |
| | | // events.nativeOn.mouseleave = this.clearHoverZone; |
| | | } |
| | | |
| | | return h( |
| | | 'el-scrollbar', |
| | | external_babel_helper_vue_jsx_merge_props_default()([{ |
| | | attrs: { |
| | | tag: 'ul', |
| | | role: 'menu', |
| | | id: menuId, |
| | | |
| | | 'wrap-class': 'el-cascader-menu__wrap', |
| | | 'view-class': { |
| | | 'el-cascader-menu__list': true, |
| | | 'is-empty': isEmpty |
| | | } |
| | | }, |
| | | 'class': 'el-cascader-menu' }, events]), |
| | | [isEmpty ? this.renderEmptyText(h) : this.renderNodeList(h)] |
| | | ); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-menu.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_cascader_menuvue_type_script_lang_js_ = (cascader_menuvue_type_script_lang_js_); |
| | | // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-menu.vue |
| | | var cascader_menu_render, cascader_menu_staticRenderFns |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var cascader_menu_component = Object(componentNormalizer["a" /* default */])( |
| | | src_cascader_menuvue_type_script_lang_js_, |
| | | cascader_menu_render, |
| | | cascader_menu_staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var cascader_menu_api; } |
| | | cascader_menu_component.options.__file = "packages/cascader-panel/src/cascader-menu.vue" |
| | | /* harmony default export */ var cascader_menu = (cascader_menu_component.exports); |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/shared" |
| | | var shared_ = __webpack_require__(21); |
| | | |
| | | // CONCATENATED MODULE: ./packages/cascader-panel/src/node.js |
| | | var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); |
| | | |
| | | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } |
| | | |
| | | |
| | | |
| | | |
| | | var uid = 0; |
| | | |
| | | var node_Node = function () { |
| | | function Node(data, config, parentNode) { |
| | | _classCallCheck(this, Node); |
| | | |
| | | this.data = data; |
| | | this.config = config; |
| | | this.parent = parentNode || null; |
| | | this.level = !this.parent ? 1 : this.parent.level + 1; |
| | | this.uid = uid++; |
| | | |
| | | this.initState(); |
| | | this.initChildren(); |
| | | } |
| | | |
| | | Node.prototype.initState = function initState() { |
| | | var _config = this.config, |
| | | valueKey = _config.value, |
| | | labelKey = _config.label; |
| | | |
| | | |
| | | this.value = this.data[valueKey]; |
| | | this.label = this.data[labelKey]; |
| | | this.pathNodes = this.calculatePathNodes(); |
| | | this.path = this.pathNodes.map(function (node) { |
| | | return node.value; |
| | | }); |
| | | this.pathLabels = this.pathNodes.map(function (node) { |
| | | return node.label; |
| | | }); |
| | | |
| | | // lazy load |
| | | this.loading = false; |
| | | this.loaded = false; |
| | | }; |
| | | |
| | | Node.prototype.initChildren = function initChildren() { |
| | | var _this = this; |
| | | |
| | | var config = this.config; |
| | | |
| | | var childrenKey = config.children; |
| | | var childrenData = this.data[childrenKey]; |
| | | this.hasChildren = Array.isArray(childrenData); |
| | | this.children = (childrenData || []).map(function (child) { |
| | | return new Node(child, config, _this); |
| | | }); |
| | | }; |
| | | |
| | | Node.prototype.calculatePathNodes = function calculatePathNodes() { |
| | | var nodes = [this]; |
| | | var parent = this.parent; |
| | | |
| | | while (parent) { |
| | | nodes.unshift(parent); |
| | | parent = parent.parent; |
| | | } |
| | | |
| | | return nodes; |
| | | }; |
| | | |
| | | Node.prototype.getPath = function getPath() { |
| | | return this.path; |
| | | }; |
| | | |
| | | Node.prototype.getValue = function getValue() { |
| | | return this.value; |
| | | }; |
| | | |
| | | Node.prototype.getValueByOption = function getValueByOption() { |
| | | return this.config.emitPath ? this.getPath() : this.getValue(); |
| | | }; |
| | | |
| | | Node.prototype.getText = function getText(allLevels, separator) { |
| | | return allLevels ? this.pathLabels.join(separator) : this.label; |
| | | }; |
| | | |
| | | Node.prototype.isSameNode = function isSameNode(checkedValue) { |
| | | var value = this.getValueByOption(); |
| | | return this.config.multiple && Array.isArray(checkedValue) ? checkedValue.some(function (val) { |
| | | return Object(util_["isEqual"])(val, value); |
| | | }) : Object(util_["isEqual"])(checkedValue, value); |
| | | }; |
| | | |
| | | Node.prototype.broadcast = function broadcast(event) { |
| | | for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { |
| | | args[_key - 1] = arguments[_key]; |
| | | } |
| | | |
| | | var handlerName = 'onParent' + Object(util_["capitalize"])(event); |
| | | |
| | | this.children.forEach(function (child) { |
| | | if (child) { |
| | | // bottom up |
| | | child.broadcast.apply(child, [event].concat(args)); |
| | | child[handlerName] && child[handlerName].apply(child, args); |
| | | } |
| | | }); |
| | | }; |
| | | |
| | | Node.prototype.emit = function emit(event) { |
| | | var parent = this.parent; |
| | | |
| | | var handlerName = 'onChild' + Object(util_["capitalize"])(event); |
| | | if (parent) { |
| | | for (var _len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { |
| | | args[_key2 - 1] = arguments[_key2]; |
| | | } |
| | | |
| | | parent[handlerName] && parent[handlerName].apply(parent, args); |
| | | parent.emit.apply(parent, [event].concat(args)); |
| | | } |
| | | }; |
| | | |
| | | Node.prototype.onParentCheck = function onParentCheck(checked) { |
| | | if (!this.isDisabled) { |
| | | this.setCheckState(checked); |
| | | } |
| | | }; |
| | | |
| | | Node.prototype.onChildCheck = function onChildCheck() { |
| | | var children = this.children; |
| | | |
| | | var validChildren = children.filter(function (child) { |
| | | return !child.isDisabled; |
| | | }); |
| | | var checked = validChildren.length ? validChildren.every(function (child) { |
| | | return child.checked; |
| | | }) : false; |
| | | |
| | | this.setCheckState(checked); |
| | | }; |
| | | |
| | | Node.prototype.setCheckState = function setCheckState(checked) { |
| | | var totalNum = this.children.length; |
| | | var checkedNum = this.children.reduce(function (c, p) { |
| | | var num = p.checked ? 1 : p.indeterminate ? 0.5 : 0; |
| | | return c + num; |
| | | }, 0); |
| | | |
| | | this.checked = checked; |
| | | this.indeterminate = checkedNum !== totalNum && checkedNum > 0; |
| | | }; |
| | | |
| | | Node.prototype.syncCheckState = function syncCheckState(checkedValue) { |
| | | var value = this.getValueByOption(); |
| | | var checked = this.isSameNode(checkedValue, value); |
| | | |
| | | this.doCheck(checked); |
| | | }; |
| | | |
| | | Node.prototype.doCheck = function doCheck(checked) { |
| | | if (this.checked !== checked) { |
| | | if (this.config.checkStrictly) { |
| | | this.checked = checked; |
| | | } else { |
| | | // bottom up to unify the calculation of the indeterminate state |
| | | this.broadcast('check', checked); |
| | | this.setCheckState(checked); |
| | | this.emit('check'); |
| | | } |
| | | } |
| | | }; |
| | | |
| | | _createClass(Node, [{ |
| | | key: 'isDisabled', |
| | | get: function get() { |
| | | var data = this.data, |
| | | parent = this.parent, |
| | | config = this.config; |
| | | |
| | | var disabledKey = config.disabled; |
| | | var checkStrictly = config.checkStrictly; |
| | | |
| | | return data[disabledKey] || !checkStrictly && parent && parent.isDisabled; |
| | | } |
| | | }, { |
| | | key: 'isLeaf', |
| | | get: function get() { |
| | | var data = this.data, |
| | | loaded = this.loaded, |
| | | hasChildren = this.hasChildren, |
| | | children = this.children; |
| | | var _config2 = this.config, |
| | | lazy = _config2.lazy, |
| | | leafKey = _config2.leaf; |
| | | |
| | | if (lazy) { |
| | | var isLeaf = Object(shared_["isDef"])(data[leafKey]) ? data[leafKey] : loaded ? !children.length : false; |
| | | this.hasChildren = !isLeaf; |
| | | return isLeaf; |
| | | } |
| | | return !hasChildren; |
| | | } |
| | | }]); |
| | | |
| | | return Node; |
| | | }(); |
| | | |
| | | /* harmony default export */ var src_node = (node_Node); |
| | | // CONCATENATED MODULE: ./packages/cascader-panel/src/store.js |
| | | function store_classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } |
| | | |
| | | |
| | | |
| | | |
| | | var flatNodes = function flatNodes(data, leafOnly) { |
| | | return data.reduce(function (res, node) { |
| | | if (node.isLeaf) { |
| | | res.push(node); |
| | | } else { |
| | | !leafOnly && res.push(node); |
| | | res = res.concat(flatNodes(node.children, leafOnly)); |
| | | } |
| | | return res; |
| | | }, []); |
| | | }; |
| | | |
| | | var store_Store = function () { |
| | | function Store(data, config) { |
| | | store_classCallCheck(this, Store); |
| | | |
| | | this.config = config; |
| | | this.initNodes(data); |
| | | } |
| | | |
| | | Store.prototype.initNodes = function initNodes(data) { |
| | | var _this = this; |
| | | |
| | | data = Object(util_["coerceTruthyValueToArray"])(data); |
| | | this.nodes = data.map(function (nodeData) { |
| | | return new src_node(nodeData, _this.config); |
| | | }); |
| | | this.flattedNodes = this.getFlattedNodes(false, false); |
| | | this.leafNodes = this.getFlattedNodes(true, false); |
| | | }; |
| | | |
| | | Store.prototype.appendNode = function appendNode(nodeData, parentNode) { |
| | | var node = new src_node(nodeData, this.config, parentNode); |
| | | var children = parentNode ? parentNode.children : this.nodes; |
| | | |
| | | children.push(node); |
| | | }; |
| | | |
| | | Store.prototype.appendNodes = function appendNodes(nodeDataList, parentNode) { |
| | | var _this2 = this; |
| | | |
| | | nodeDataList = Object(util_["coerceTruthyValueToArray"])(nodeDataList); |
| | | nodeDataList.forEach(function (nodeData) { |
| | | return _this2.appendNode(nodeData, parentNode); |
| | | }); |
| | | }; |
| | | |
| | | Store.prototype.getNodes = function getNodes() { |
| | | return this.nodes; |
| | | }; |
| | | |
| | | Store.prototype.getFlattedNodes = function getFlattedNodes(leafOnly) { |
| | | var cached = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true; |
| | | |
| | | var cachedNodes = leafOnly ? this.leafNodes : this.flattedNodes; |
| | | return cached ? cachedNodes : flatNodes(this.nodes, leafOnly); |
| | | }; |
| | | |
| | | Store.prototype.getNodeByValue = function getNodeByValue(value) { |
| | | var nodes = this.getFlattedNodes(false, !this.config.lazy).filter(function (node) { |
| | | return Object(util_["valueEquals"])(node.path, value) || node.value === value; |
| | | }); |
| | | return nodes && nodes.length ? nodes[0] : null; |
| | | }; |
| | | |
| | | return Store; |
| | | }(); |
| | | |
| | | /* harmony default export */ var src_store = (store_Store); |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/merge" |
| | | var merge_ = __webpack_require__(9); |
| | | var merge_default = /*#__PURE__*/__webpack_require__.n(merge_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/aria-utils" |
| | | var aria_utils_ = __webpack_require__(41); |
| | | var aria_utils_default = /*#__PURE__*/__webpack_require__.n(aria_utils_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/scroll-into-view" |
| | | var scroll_into_view_ = __webpack_require__(31); |
| | | var scroll_into_view_default = /*#__PURE__*/__webpack_require__.n(scroll_into_view_); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader-panel/src/cascader-panel.vue?vue&type=script&lang=js& |
| | | var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; |
| | | |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | var KeyCode = aria_utils_default.a.keys; |
| | | |
| | | var DefaultProps = { |
| | | expandTrigger: 'click', // or hover |
| | | multiple: false, |
| | | checkStrictly: false, // whether all nodes can be selected |
| | | emitPath: true, // wether to emit an array of all levels value in which node is located |
| | | lazy: false, |
| | | lazyLoad: util_["noop"], |
| | | value: 'value', |
| | | label: 'label', |
| | | children: 'children', |
| | | leaf: 'leaf', |
| | | disabled: 'disabled', |
| | | hoverThreshold: 500 |
| | | }; |
| | | |
| | | var cascader_panelvue_type_script_lang_js_isLeaf = function isLeaf(el) { |
| | | return !el.getAttribute('aria-owns'); |
| | | }; |
| | | |
| | | var getSibling = function getSibling(el, distance) { |
| | | var parentNode = el.parentNode; |
| | | |
| | | if (parentNode) { |
| | | var siblings = parentNode.querySelectorAll('.el-cascader-node[tabindex="-1"]'); |
| | | var index = Array.prototype.indexOf.call(siblings, el); |
| | | return siblings[index + distance] || null; |
| | | } |
| | | return null; |
| | | }; |
| | | |
| | | var getMenuIndex = function getMenuIndex(el, distance) { |
| | | if (!el) return; |
| | | var pieces = el.id.split('-'); |
| | | return Number(pieces[pieces.length - 2]); |
| | | }; |
| | | |
| | | var focusNode = function focusNode(el) { |
| | | if (!el) return; |
| | | el.focus(); |
| | | !cascader_panelvue_type_script_lang_js_isLeaf(el) && el.click(); |
| | | }; |
| | | |
| | | var checkNode = function checkNode(el) { |
| | | if (!el) return; |
| | | |
| | | var input = el.querySelector('input'); |
| | | if (input) { |
| | | input.click(); |
| | | } else if (cascader_panelvue_type_script_lang_js_isLeaf(el)) { |
| | | el.click(); |
| | | } |
| | | }; |
| | | |
| | | /* harmony default export */ var cascader_panelvue_type_script_lang_js_ = ({ |
| | | name: 'ElCascaderPanel', |
| | | |
| | | components: { |
| | | CascaderMenu: cascader_menu |
| | | }, |
| | | |
| | | props: { |
| | | value: {}, |
| | | options: Array, |
| | | props: Object, |
| | | border: { |
| | | type: Boolean, |
| | | default: true |
| | | }, |
| | | renderLabel: Function |
| | | }, |
| | | |
| | | provide: function provide() { |
| | | return { |
| | | panel: this |
| | | }; |
| | | }, |
| | | data: function data() { |
| | | return { |
| | | checkedValue: null, |
| | | checkedNodePaths: [], |
| | | store: [], |
| | | menus: [], |
| | | activePath: [], |
| | | loadCount: 0 |
| | | }; |
| | | }, |
| | | |
| | | |
| | | computed: { |
| | | config: function config() { |
| | | return merge_default()(_extends({}, DefaultProps), this.props || {}); |
| | | }, |
| | | multiple: function multiple() { |
| | | return this.config.multiple; |
| | | }, |
| | | checkStrictly: function checkStrictly() { |
| | | return this.config.checkStrictly; |
| | | }, |
| | | leafOnly: function leafOnly() { |
| | | return !this.checkStrictly; |
| | | }, |
| | | isHoverMenu: function isHoverMenu() { |
| | | return this.config.expandTrigger === 'hover'; |
| | | }, |
| | | renderLabelFn: function renderLabelFn() { |
| | | return this.renderLabel || this.$scopedSlots.default; |
| | | } |
| | | }, |
| | | |
| | | watch: { |
| | | value: function value() { |
| | | this.syncCheckedValue(); |
| | | this.checkStrictly && this.calculateCheckedNodePaths(); |
| | | }, |
| | | |
| | | options: { |
| | | handler: function handler() { |
| | | this.initStore(); |
| | | }, |
| | | immediate: true, |
| | | deep: true |
| | | }, |
| | | checkedValue: function checkedValue(val) { |
| | | if (!Object(util_["isEqual"])(val, this.value)) { |
| | | this.checkStrictly && this.calculateCheckedNodePaths(); |
| | | this.$emit('input', val); |
| | | this.$emit('change', val); |
| | | } |
| | | } |
| | | }, |
| | | |
| | | mounted: function mounted() { |
| | | if (!this.isEmptyValue(this.value)) { |
| | | this.syncCheckedValue(); |
| | | } |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | initStore: function initStore() { |
| | | var config = this.config, |
| | | options = this.options; |
| | | |
| | | if (config.lazy && Object(util_["isEmpty"])(options)) { |
| | | this.lazyLoad(); |
| | | } else { |
| | | this.store = new src_store(options, config); |
| | | this.menus = [this.store.getNodes()]; |
| | | this.syncMenuState(); |
| | | } |
| | | }, |
| | | syncCheckedValue: function syncCheckedValue() { |
| | | var value = this.value, |
| | | checkedValue = this.checkedValue; |
| | | |
| | | if (!Object(util_["isEqual"])(value, checkedValue)) { |
| | | this.activePath = []; |
| | | this.checkedValue = value; |
| | | this.syncMenuState(); |
| | | } |
| | | }, |
| | | syncMenuState: function syncMenuState() { |
| | | var multiple = this.multiple, |
| | | checkStrictly = this.checkStrictly; |
| | | |
| | | this.syncActivePath(); |
| | | multiple && this.syncMultiCheckState(); |
| | | checkStrictly && this.calculateCheckedNodePaths(); |
| | | this.$nextTick(this.scrollIntoView); |
| | | }, |
| | | syncMultiCheckState: function syncMultiCheckState() { |
| | | var _this = this; |
| | | |
| | | var nodes = this.getFlattedNodes(this.leafOnly); |
| | | |
| | | nodes.forEach(function (node) { |
| | | node.syncCheckState(_this.checkedValue); |
| | | }); |
| | | }, |
| | | isEmptyValue: function isEmptyValue(val) { |
| | | var multiple = this.multiple, |
| | | config = this.config; |
| | | var emitPath = config.emitPath; |
| | | |
| | | if (multiple || emitPath) { |
| | | return Object(util_["isEmpty"])(val); |
| | | } |
| | | return false; |
| | | }, |
| | | syncActivePath: function syncActivePath() { |
| | | var _this2 = this; |
| | | |
| | | var store = this.store, |
| | | multiple = this.multiple, |
| | | activePath = this.activePath, |
| | | checkedValue = this.checkedValue; |
| | | |
| | | |
| | | if (!Object(util_["isEmpty"])(activePath)) { |
| | | var nodes = activePath.map(function (node) { |
| | | return _this2.getNodeByValue(node.getValue()); |
| | | }); |
| | | this.expandNodes(nodes); |
| | | } else if (!this.isEmptyValue(checkedValue)) { |
| | | var value = multiple ? checkedValue[0] : checkedValue; |
| | | var checkedNode = this.getNodeByValue(value) || {}; |
| | | var _nodes = (checkedNode.pathNodes || []).slice(0, -1); |
| | | this.expandNodes(_nodes); |
| | | } else { |
| | | this.activePath = []; |
| | | this.menus = [store.getNodes()]; |
| | | } |
| | | }, |
| | | expandNodes: function expandNodes(nodes) { |
| | | var _this3 = this; |
| | | |
| | | nodes.forEach(function (node) { |
| | | return _this3.handleExpand(node, true /* silent */); |
| | | }); |
| | | }, |
| | | calculateCheckedNodePaths: function calculateCheckedNodePaths() { |
| | | var _this4 = this; |
| | | |
| | | var checkedValue = this.checkedValue, |
| | | multiple = this.multiple; |
| | | |
| | | var checkedValues = multiple ? Object(util_["coerceTruthyValueToArray"])(checkedValue) : [checkedValue]; |
| | | this.checkedNodePaths = checkedValues.map(function (v) { |
| | | var checkedNode = _this4.getNodeByValue(v); |
| | | return checkedNode ? checkedNode.pathNodes : []; |
| | | }); |
| | | }, |
| | | handleKeyDown: function handleKeyDown(e) { |
| | | var target = e.target, |
| | | keyCode = e.keyCode; |
| | | |
| | | |
| | | switch (keyCode) { |
| | | case KeyCode.up: |
| | | var prev = getSibling(target, -1); |
| | | focusNode(prev); |
| | | break; |
| | | case KeyCode.down: |
| | | var next = getSibling(target, 1); |
| | | focusNode(next); |
| | | break; |
| | | case KeyCode.left: |
| | | var preMenu = this.$refs.menu[getMenuIndex(target) - 1]; |
| | | if (preMenu) { |
| | | var expandedNode = preMenu.$el.querySelector('.el-cascader-node[aria-expanded="true"]'); |
| | | focusNode(expandedNode); |
| | | } |
| | | break; |
| | | case KeyCode.right: |
| | | var nextMenu = this.$refs.menu[getMenuIndex(target) + 1]; |
| | | if (nextMenu) { |
| | | var firstNode = nextMenu.$el.querySelector('.el-cascader-node[tabindex="-1"]'); |
| | | focusNode(firstNode); |
| | | } |
| | | break; |
| | | case KeyCode.enter: |
| | | checkNode(target); |
| | | break; |
| | | case KeyCode.esc: |
| | | case KeyCode.tab: |
| | | this.$emit('close'); |
| | | break; |
| | | default: |
| | | return; |
| | | } |
| | | }, |
| | | handleExpand: function handleExpand(node, silent) { |
| | | var activePath = this.activePath; |
| | | var level = node.level; |
| | | |
| | | var path = activePath.slice(0, level - 1); |
| | | var menus = this.menus.slice(0, level); |
| | | |
| | | if (!node.isLeaf) { |
| | | path.push(node); |
| | | menus.push(node.children); |
| | | } |
| | | |
| | | this.activePath = path; |
| | | this.menus = menus; |
| | | |
| | | if (!silent) { |
| | | var pathValues = path.map(function (node) { |
| | | return node.getValue(); |
| | | }); |
| | | var activePathValues = activePath.map(function (node) { |
| | | return node.getValue(); |
| | | }); |
| | | if (!Object(util_["valueEquals"])(pathValues, activePathValues)) { |
| | | this.$emit('active-item-change', pathValues); // Deprecated |
| | | this.$emit('expand-change', pathValues); |
| | | } |
| | | } |
| | | }, |
| | | handleCheckChange: function handleCheckChange(value) { |
| | | this.checkedValue = value; |
| | | }, |
| | | lazyLoad: function lazyLoad(node, onFullfiled) { |
| | | var _this5 = this; |
| | | |
| | | var config = this.config; |
| | | |
| | | if (!node) { |
| | | node = node || { root: true, level: 0 }; |
| | | this.store = new src_store([], config); |
| | | this.menus = [this.store.getNodes()]; |
| | | } |
| | | node.loading = true; |
| | | var resolve = function resolve(dataList) { |
| | | var parent = node.root ? null : node; |
| | | dataList && dataList.length && _this5.store.appendNodes(dataList, parent); |
| | | node.loading = false; |
| | | node.loaded = true; |
| | | |
| | | // dispose default value on lazy load mode |
| | | if (Array.isArray(_this5.checkedValue)) { |
| | | var nodeValue = _this5.checkedValue[_this5.loadCount++]; |
| | | var valueKey = _this5.config.value; |
| | | var leafKey = _this5.config.leaf; |
| | | |
| | | if (Array.isArray(dataList) && dataList.filter(function (item) { |
| | | return item[valueKey] === nodeValue; |
| | | }).length > 0) { |
| | | var checkedNode = _this5.store.getNodeByValue(nodeValue); |
| | | |
| | | if (!checkedNode.data[leafKey]) { |
| | | _this5.lazyLoad(checkedNode, function () { |
| | | _this5.handleExpand(checkedNode); |
| | | }); |
| | | } |
| | | |
| | | if (_this5.loadCount === _this5.checkedValue.length) { |
| | | _this5.$parent.computePresentText(); |
| | | } |
| | | } |
| | | } |
| | | |
| | | onFullfiled && onFullfiled(dataList); |
| | | }; |
| | | config.lazyLoad(node, resolve); |
| | | }, |
| | | |
| | | |
| | | /** |
| | | * public methods |
| | | */ |
| | | calculateMultiCheckedValue: function calculateMultiCheckedValue() { |
| | | this.checkedValue = this.getCheckedNodes(this.leafOnly).map(function (node) { |
| | | return node.getValueByOption(); |
| | | }); |
| | | }, |
| | | scrollIntoView: function scrollIntoView() { |
| | | if (this.$isServer) return; |
| | | |
| | | var menus = this.$refs.menu || []; |
| | | menus.forEach(function (menu) { |
| | | var menuElement = menu.$el; |
| | | if (menuElement) { |
| | | var container = menuElement.querySelector('.el-scrollbar__wrap'); |
| | | var activeNode = menuElement.querySelector('.el-cascader-node.is-active') || menuElement.querySelector('.el-cascader-node.in-active-path'); |
| | | scroll_into_view_default()(container, activeNode); |
| | | } |
| | | }); |
| | | }, |
| | | getNodeByValue: function getNodeByValue(val) { |
| | | return this.store.getNodeByValue(val); |
| | | }, |
| | | getFlattedNodes: function getFlattedNodes(leafOnly) { |
| | | var cached = !this.config.lazy; |
| | | return this.store.getFlattedNodes(leafOnly, cached); |
| | | }, |
| | | getCheckedNodes: function getCheckedNodes(leafOnly) { |
| | | var checkedValue = this.checkedValue, |
| | | multiple = this.multiple; |
| | | |
| | | if (multiple) { |
| | | var nodes = this.getFlattedNodes(leafOnly); |
| | | return nodes.filter(function (node) { |
| | | return node.checked; |
| | | }); |
| | | } else { |
| | | return this.isEmptyValue(checkedValue) ? [] : [this.getNodeByValue(checkedValue)]; |
| | | } |
| | | }, |
| | | clearCheckedNodes: function clearCheckedNodes() { |
| | | var config = this.config, |
| | | leafOnly = this.leafOnly; |
| | | var multiple = config.multiple, |
| | | emitPath = config.emitPath; |
| | | |
| | | if (multiple) { |
| | | this.getCheckedNodes(leafOnly).filter(function (node) { |
| | | return !node.isDisabled; |
| | | }).forEach(function (node) { |
| | | return node.doCheck(false); |
| | | }); |
| | | this.calculateMultiCheckedValue(); |
| | | } else { |
| | | this.checkedValue = emitPath ? [] : null; |
| | | } |
| | | } |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_cascader_panelvue_type_script_lang_js_ = (cascader_panelvue_type_script_lang_js_); |
| | | // CONCATENATED MODULE: ./packages/cascader-panel/src/cascader-panel.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var cascader_panel_component = Object(componentNormalizer["a" /* default */])( |
| | | src_cascader_panelvue_type_script_lang_js_, |
| | | cascader_panelvue_type_template_id_34932346_render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var cascader_panel_api; } |
| | | cascader_panel_component.options.__file = "packages/cascader-panel/src/cascader-panel.vue" |
| | | /* harmony default export */ var cascader_panel = (cascader_panel_component.exports); |
| | | // CONCATENATED MODULE: ./packages/cascader-panel/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | cascader_panel.install = function (Vue) { |
| | | Vue.component(cascader_panel.name, cascader_panel); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_cascader_panel = __webpack_exports__["default"] = (cascader_panel); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 9: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/merge"); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 115); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 10: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/input"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 11: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/migrating"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 115: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader/src/cascader.vue?vue&type=template&id=032537a6& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "div", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "clickoutside", |
| | | rawName: "v-clickoutside", |
| | | value: function() { |
| | | return _vm.toggleDropDownVisible(false) |
| | | }, |
| | | expression: "() => toggleDropDownVisible(false)" |
| | | } |
| | | ], |
| | | ref: "reference", |
| | | class: [ |
| | | "el-cascader", |
| | | _vm.realSize && "el-cascader--" + _vm.realSize, |
| | | { "is-disabled": _vm.isDisabled } |
| | | ], |
| | | on: { |
| | | mouseenter: function($event) { |
| | | _vm.inputHover = true |
| | | }, |
| | | mouseleave: function($event) { |
| | | _vm.inputHover = false |
| | | }, |
| | | click: function() { |
| | | return _vm.toggleDropDownVisible(_vm.readonly ? undefined : true) |
| | | }, |
| | | keydown: _vm.handleKeyDown |
| | | } |
| | | }, |
| | | [ |
| | | _c( |
| | | "el-input", |
| | | { |
| | | ref: "input", |
| | | class: { "is-focus": _vm.dropDownVisible }, |
| | | attrs: { |
| | | size: _vm.realSize, |
| | | placeholder: _vm.placeholder, |
| | | readonly: _vm.readonly, |
| | | disabled: _vm.isDisabled, |
| | | "validate-event": false |
| | | }, |
| | | on: { |
| | | focus: _vm.handleFocus, |
| | | blur: _vm.handleBlur, |
| | | input: _vm.handleInput |
| | | }, |
| | | model: { |
| | | value: _vm.multiple ? _vm.presentText : _vm.inputValue, |
| | | callback: function($$v) { |
| | | _vm.multiple ? _vm.presentText : (_vm.inputValue = $$v) |
| | | }, |
| | | expression: "multiple ? presentText : inputValue" |
| | | } |
| | | }, |
| | | [ |
| | | _c("template", { slot: "suffix" }, [ |
| | | _vm.clearBtnVisible |
| | | ? _c("i", { |
| | | key: "clear", |
| | | staticClass: "el-input__icon el-icon-circle-close", |
| | | on: { |
| | | click: function($event) { |
| | | $event.stopPropagation() |
| | | return _vm.handleClear($event) |
| | | } |
| | | } |
| | | }) |
| | | : _c("i", { |
| | | key: "arrow-down", |
| | | class: [ |
| | | "el-input__icon", |
| | | "el-icon-arrow-down", |
| | | _vm.dropDownVisible && "is-reverse" |
| | | ], |
| | | on: { |
| | | click: function($event) { |
| | | $event.stopPropagation() |
| | | _vm.toggleDropDownVisible() |
| | | } |
| | | } |
| | | }) |
| | | ]) |
| | | ], |
| | | 2 |
| | | ), |
| | | _vm.multiple |
| | | ? _c( |
| | | "div", |
| | | { staticClass: "el-cascader__tags" }, |
| | | [ |
| | | _vm._l(_vm.presentTags, function(tag) { |
| | | return _c( |
| | | "el-tag", |
| | | { |
| | | key: tag.key, |
| | | attrs: { |
| | | type: "info", |
| | | size: _vm.tagSize, |
| | | hit: tag.hitState, |
| | | closable: tag.closable, |
| | | "disable-transitions": "" |
| | | }, |
| | | on: { |
| | | close: function($event) { |
| | | _vm.deleteTag(tag) |
| | | } |
| | | } |
| | | }, |
| | | [_c("span", [_vm._v(_vm._s(tag.text))])] |
| | | ) |
| | | }), |
| | | _vm.filterable && !_vm.isDisabled |
| | | ? _c("input", { |
| | | directives: [ |
| | | { |
| | | name: "model", |
| | | rawName: "v-model.trim", |
| | | value: _vm.inputValue, |
| | | expression: "inputValue", |
| | | modifiers: { trim: true } |
| | | } |
| | | ], |
| | | staticClass: "el-cascader__search-input", |
| | | attrs: { |
| | | type: "text", |
| | | placeholder: _vm.presentTags.length ? "" : _vm.placeholder |
| | | }, |
| | | domProps: { value: _vm.inputValue }, |
| | | on: { |
| | | input: [ |
| | | function($event) { |
| | | if ($event.target.composing) { |
| | | return |
| | | } |
| | | _vm.inputValue = $event.target.value.trim() |
| | | }, |
| | | function(e) { |
| | | return _vm.handleInput(_vm.inputValue, e) |
| | | } |
| | | ], |
| | | click: function($event) { |
| | | $event.stopPropagation() |
| | | _vm.toggleDropDownVisible(true) |
| | | }, |
| | | keydown: function($event) { |
| | | if ( |
| | | !("button" in $event) && |
| | | _vm._k( |
| | | $event.keyCode, |
| | | "delete", |
| | | [8, 46], |
| | | $event.key, |
| | | ["Backspace", "Delete", "Del"] |
| | | ) |
| | | ) { |
| | | return null |
| | | } |
| | | return _vm.handleDelete($event) |
| | | }, |
| | | blur: function($event) { |
| | | _vm.$forceUpdate() |
| | | } |
| | | } |
| | | }) |
| | | : _vm._e() |
| | | ], |
| | | 2 |
| | | ) |
| | | : _vm._e(), |
| | | _c( |
| | | "transition", |
| | | { |
| | | attrs: { name: "el-zoom-in-top" }, |
| | | on: { "after-leave": _vm.handleDropdownLeave } |
| | | }, |
| | | [ |
| | | _c( |
| | | "div", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm.dropDownVisible, |
| | | expression: "dropDownVisible" |
| | | } |
| | | ], |
| | | ref: "popper", |
| | | class: ["el-popper", "el-cascader__dropdown", _vm.popperClass] |
| | | }, |
| | | [ |
| | | _c("el-cascader-panel", { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: !_vm.filtering, |
| | | expression: "!filtering" |
| | | } |
| | | ], |
| | | ref: "panel", |
| | | attrs: { |
| | | options: _vm.options, |
| | | props: _vm.config, |
| | | border: false, |
| | | "render-label": _vm.$scopedSlots.default |
| | | }, |
| | | on: { |
| | | "expand-change": _vm.handleExpandChange, |
| | | close: function($event) { |
| | | _vm.toggleDropDownVisible(false) |
| | | } |
| | | }, |
| | | model: { |
| | | value: _vm.checkedValue, |
| | | callback: function($$v) { |
| | | _vm.checkedValue = $$v |
| | | }, |
| | | expression: "checkedValue" |
| | | } |
| | | }), |
| | | _vm.filterable |
| | | ? _c( |
| | | "el-scrollbar", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm.filtering, |
| | | expression: "filtering" |
| | | } |
| | | ], |
| | | ref: "suggestionPanel", |
| | | staticClass: "el-cascader__suggestion-panel", |
| | | attrs: { |
| | | tag: "ul", |
| | | "view-class": "el-cascader__suggestion-list" |
| | | }, |
| | | nativeOn: { |
| | | keydown: function($event) { |
| | | return _vm.handleSuggestionKeyDown($event) |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _vm.suggestions.length |
| | | ? _vm._l(_vm.suggestions, function(item, index) { |
| | | return _c( |
| | | "li", |
| | | { |
| | | key: item.uid, |
| | | class: [ |
| | | "el-cascader__suggestion-item", |
| | | item.checked && "is-checked" |
| | | ], |
| | | attrs: { tabindex: -1 }, |
| | | on: { |
| | | click: function($event) { |
| | | _vm.handleSuggestionClick(index) |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _c("span", [_vm._v(_vm._s(item.text))]), |
| | | item.checked |
| | | ? _c("i", { staticClass: "el-icon-check" }) |
| | | : _vm._e() |
| | | ] |
| | | ) |
| | | }) |
| | | : _vm._t("empty", [ |
| | | _c( |
| | | "li", |
| | | { staticClass: "el-cascader__empty-text" }, |
| | | [_vm._v(_vm._s(_vm.t("el.cascader.noMatch")))] |
| | | ) |
| | | ]) |
| | | ], |
| | | 2 |
| | | ) |
| | | : _vm._e() |
| | | ], |
| | | 1 |
| | | ) |
| | | ] |
| | | ) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/cascader/src/cascader.vue?vue&type=template&id=032537a6& |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/vue-popper" |
| | | var vue_popper_ = __webpack_require__(5); |
| | | var vue_popper_default = /*#__PURE__*/__webpack_require__.n(vue_popper_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside" |
| | | var clickoutside_ = __webpack_require__(12); |
| | | var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" |
| | | var emitter_ = __webpack_require__(4); |
| | | var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/locale" |
| | | var locale_ = __webpack_require__(6); |
| | | var locale_default = /*#__PURE__*/__webpack_require__.n(locale_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/migrating" |
| | | var migrating_ = __webpack_require__(11); |
| | | var migrating_default = /*#__PURE__*/__webpack_require__.n(migrating_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/input" |
| | | var input_ = __webpack_require__(10); |
| | | var input_default = /*#__PURE__*/__webpack_require__.n(input_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/tag" |
| | | var tag_ = __webpack_require__(38); |
| | | var tag_default = /*#__PURE__*/__webpack_require__.n(tag_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/scrollbar" |
| | | var scrollbar_ = __webpack_require__(15); |
| | | var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/cascader-panel" |
| | | var cascader_panel_ = __webpack_require__(51); |
| | | var cascader_panel_default = /*#__PURE__*/__webpack_require__.n(cascader_panel_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/aria-utils" |
| | | var aria_utils_ = __webpack_require__(41); |
| | | var aria_utils_default = /*#__PURE__*/__webpack_require__.n(aria_utils_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/locale" |
| | | var lib_locale_ = __webpack_require__(20); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/util" |
| | | var util_ = __webpack_require__(3); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/types" |
| | | var types_ = __webpack_require__(17); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/shared" |
| | | var shared_ = __webpack_require__(21); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/resize-event" |
| | | var resize_event_ = __webpack_require__(16); |
| | | |
| | | // EXTERNAL MODULE: external "throttle-debounce/debounce" |
| | | var debounce_ = __webpack_require__(19); |
| | | var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/cascader/src/cascader.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | var KeyCode = aria_utils_default.a.keys; |
| | | |
| | | var MigratingProps = { |
| | | expandTrigger: { |
| | | newProp: 'expandTrigger', |
| | | type: String |
| | | }, |
| | | changeOnSelect: { |
| | | newProp: 'checkStrictly', |
| | | type: Boolean |
| | | }, |
| | | hoverThreshold: { |
| | | newProp: 'hoverThreshold', |
| | | type: Number |
| | | } |
| | | }; |
| | | |
| | | var PopperMixin = { |
| | | props: { |
| | | placement: { |
| | | type: String, |
| | | default: 'bottom-start' |
| | | }, |
| | | appendToBody: vue_popper_default.a.props.appendToBody, |
| | | visibleArrow: { |
| | | type: Boolean, |
| | | default: true |
| | | }, |
| | | arrowOffset: vue_popper_default.a.props.arrowOffset, |
| | | offset: vue_popper_default.a.props.offset, |
| | | boundariesPadding: vue_popper_default.a.props.boundariesPadding, |
| | | popperOptions: vue_popper_default.a.props.popperOptions, |
| | | transformOrigin: vue_popper_default.a.props.transformOrigin |
| | | }, |
| | | methods: vue_popper_default.a.methods, |
| | | data: vue_popper_default.a.data, |
| | | beforeDestroy: vue_popper_default.a.beforeDestroy |
| | | }; |
| | | |
| | | var InputSizeMap = { |
| | | medium: 36, |
| | | small: 32, |
| | | mini: 28 |
| | | }; |
| | | |
| | | /* harmony default export */ var cascadervue_type_script_lang_js_ = ({ |
| | | name: 'ElCascader', |
| | | |
| | | directives: { Clickoutside: clickoutside_default.a }, |
| | | |
| | | mixins: [PopperMixin, emitter_default.a, locale_default.a, migrating_default.a], |
| | | |
| | | inject: { |
| | | elForm: { |
| | | default: '' |
| | | }, |
| | | elFormItem: { |
| | | default: '' |
| | | } |
| | | }, |
| | | |
| | | components: { |
| | | ElInput: input_default.a, |
| | | ElTag: tag_default.a, |
| | | ElScrollbar: scrollbar_default.a, |
| | | ElCascaderPanel: cascader_panel_default.a |
| | | }, |
| | | |
| | | props: { |
| | | value: {}, |
| | | options: Array, |
| | | props: Object, |
| | | size: String, |
| | | placeholder: { |
| | | type: String, |
| | | default: function _default() { |
| | | return Object(lib_locale_["t"])('el.cascader.placeholder'); |
| | | } |
| | | }, |
| | | disabled: Boolean, |
| | | clearable: Boolean, |
| | | filterable: Boolean, |
| | | filterMethod: Function, |
| | | separator: { |
| | | type: String, |
| | | default: ' / ' |
| | | }, |
| | | showAllLevels: { |
| | | type: Boolean, |
| | | default: true |
| | | }, |
| | | collapseTags: Boolean, |
| | | debounce: { |
| | | type: Number, |
| | | default: 300 |
| | | }, |
| | | beforeFilter: { |
| | | type: Function, |
| | | default: function _default() { |
| | | return function () {}; |
| | | } |
| | | }, |
| | | popperClass: String |
| | | }, |
| | | |
| | | data: function data() { |
| | | return { |
| | | dropDownVisible: false, |
| | | checkedValue: this.value, |
| | | inputHover: false, |
| | | inputValue: null, |
| | | presentText: null, |
| | | presentTags: [], |
| | | checkedNodes: [], |
| | | filtering: false, |
| | | suggestions: [], |
| | | inputInitialHeight: 0, |
| | | pressDeleteCount: 0 |
| | | }; |
| | | }, |
| | | |
| | | |
| | | computed: { |
| | | realSize: function realSize() { |
| | | var _elFormItemSize = (this.elFormItem || {}).elFormItemSize; |
| | | return this.size || _elFormItemSize || (this.$ELEMENT || {}).size; |
| | | }, |
| | | tagSize: function tagSize() { |
| | | return ['small', 'mini'].indexOf(this.realSize) > -1 ? 'mini' : 'small'; |
| | | }, |
| | | isDisabled: function isDisabled() { |
| | | return this.disabled || (this.elForm || {}).disabled; |
| | | }, |
| | | config: function config() { |
| | | var config = this.props || {}; |
| | | var $attrs = this.$attrs; |
| | | |
| | | |
| | | Object.keys(MigratingProps).forEach(function (oldProp) { |
| | | var _MigratingProps$oldPr = MigratingProps[oldProp], |
| | | newProp = _MigratingProps$oldPr.newProp, |
| | | type = _MigratingProps$oldPr.type; |
| | | |
| | | var oldValue = $attrs[oldProp] || $attrs[Object(util_["kebabCase"])(oldProp)]; |
| | | if (Object(shared_["isDef"])(oldProp) && !Object(shared_["isDef"])(config[newProp])) { |
| | | if (type === Boolean && oldValue === '') { |
| | | oldValue = true; |
| | | } |
| | | config[newProp] = oldValue; |
| | | } |
| | | }); |
| | | |
| | | return config; |
| | | }, |
| | | multiple: function multiple() { |
| | | return this.config.multiple; |
| | | }, |
| | | leafOnly: function leafOnly() { |
| | | return !this.config.checkStrictly; |
| | | }, |
| | | readonly: function readonly() { |
| | | return !this.filterable || this.multiple; |
| | | }, |
| | | clearBtnVisible: function clearBtnVisible() { |
| | | if (!this.clearable || this.isDisabled || this.filtering || !this.inputHover) { |
| | | return false; |
| | | } |
| | | |
| | | return this.multiple ? !!this.checkedNodes.filter(function (node) { |
| | | return !node.isDisabled; |
| | | }).length : !!this.presentText; |
| | | }, |
| | | panel: function panel() { |
| | | return this.$refs.panel; |
| | | } |
| | | }, |
| | | |
| | | watch: { |
| | | disabled: function disabled() { |
| | | this.computePresentContent(); |
| | | }, |
| | | value: function value(val) { |
| | | if (!Object(util_["isEqual"])(val, this.checkedValue)) { |
| | | this.checkedValue = val; |
| | | this.computePresentContent(); |
| | | } |
| | | }, |
| | | checkedValue: function checkedValue(val) { |
| | | var value = this.value, |
| | | dropDownVisible = this.dropDownVisible; |
| | | var _config = this.config, |
| | | checkStrictly = _config.checkStrictly, |
| | | multiple = _config.multiple; |
| | | |
| | | |
| | | if (!Object(util_["isEqual"])(val, value) || Object(types_["isUndefined"])(value)) { |
| | | this.computePresentContent(); |
| | | // hide dropdown when single mode |
| | | if (!multiple && !checkStrictly && dropDownVisible) { |
| | | this.toggleDropDownVisible(false); |
| | | } |
| | | |
| | | this.$emit('input', val); |
| | | this.$emit('change', val); |
| | | this.dispatch('ElFormItem', 'el.form.change', [val]); |
| | | } |
| | | }, |
| | | |
| | | options: { |
| | | handler: function handler() { |
| | | this.$nextTick(this.computePresentContent); |
| | | }, |
| | | deep: true |
| | | }, |
| | | presentText: function presentText(val) { |
| | | this.inputValue = val; |
| | | }, |
| | | presentTags: function presentTags(val, oldVal) { |
| | | if (this.multiple && (val.length || oldVal.length)) { |
| | | this.$nextTick(this.updateStyle); |
| | | } |
| | | }, |
| | | filtering: function filtering(val) { |
| | | this.$nextTick(this.updatePopper); |
| | | } |
| | | }, |
| | | |
| | | mounted: function mounted() { |
| | | var _this = this; |
| | | |
| | | var input = this.$refs.input; |
| | | |
| | | if (input && input.$el) { |
| | | this.inputInitialHeight = input.$el.offsetHeight || InputSizeMap[this.realSize] || 40; |
| | | } |
| | | |
| | | if (!this.isEmptyValue(this.value)) { |
| | | this.computePresentContent(); |
| | | } |
| | | |
| | | this.filterHandler = debounce_default()(this.debounce, function () { |
| | | var inputValue = _this.inputValue; |
| | | |
| | | |
| | | if (!inputValue) { |
| | | _this.filtering = false; |
| | | return; |
| | | } |
| | | |
| | | var before = _this.beforeFilter(inputValue); |
| | | if (before && before.then) { |
| | | before.then(_this.getSuggestions); |
| | | } else if (before !== false) { |
| | | _this.getSuggestions(); |
| | | } else { |
| | | _this.filtering = false; |
| | | } |
| | | }); |
| | | |
| | | Object(resize_event_["addResizeListener"])(this.$el, this.updateStyle); |
| | | }, |
| | | beforeDestroy: function beforeDestroy() { |
| | | Object(resize_event_["removeResizeListener"])(this.$el, this.updateStyle); |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | getMigratingConfig: function getMigratingConfig() { |
| | | return { |
| | | props: { |
| | | 'expand-trigger': 'expand-trigger is removed, use `props.expandTrigger` instead.', |
| | | 'change-on-select': 'change-on-select is removed, use `props.checkStrictly` instead.', |
| | | 'hover-threshold': 'hover-threshold is removed, use `props.hoverThreshold` instead' |
| | | }, |
| | | events: { |
| | | 'active-item-change': 'active-item-change is renamed to expand-change' |
| | | } |
| | | }; |
| | | }, |
| | | toggleDropDownVisible: function toggleDropDownVisible(visible) { |
| | | var _this2 = this; |
| | | |
| | | if (this.isDisabled) return; |
| | | |
| | | var dropDownVisible = this.dropDownVisible; |
| | | var input = this.$refs.input; |
| | | |
| | | visible = Object(shared_["isDef"])(visible) ? visible : !dropDownVisible; |
| | | if (visible !== dropDownVisible) { |
| | | this.dropDownVisible = visible; |
| | | if (visible) { |
| | | this.$nextTick(function () { |
| | | _this2.updatePopper(); |
| | | _this2.panel.scrollIntoView(); |
| | | }); |
| | | } |
| | | input.$refs.input.setAttribute('aria-expanded', visible); |
| | | this.$emit('visible-change', visible); |
| | | } |
| | | }, |
| | | handleDropdownLeave: function handleDropdownLeave() { |
| | | this.filtering = false; |
| | | this.inputValue = this.presentText; |
| | | this.doDestroy(); |
| | | }, |
| | | handleKeyDown: function handleKeyDown(event) { |
| | | switch (event.keyCode) { |
| | | case KeyCode.enter: |
| | | this.toggleDropDownVisible(); |
| | | break; |
| | | case KeyCode.down: |
| | | this.toggleDropDownVisible(true); |
| | | this.focusFirstNode(); |
| | | event.preventDefault(); |
| | | break; |
| | | case KeyCode.esc: |
| | | case KeyCode.tab: |
| | | this.toggleDropDownVisible(false); |
| | | break; |
| | | } |
| | | }, |
| | | handleFocus: function handleFocus(e) { |
| | | this.$emit('focus', e); |
| | | }, |
| | | handleBlur: function handleBlur(e) { |
| | | this.$emit('blur', e); |
| | | }, |
| | | handleInput: function handleInput(val, event) { |
| | | !this.dropDownVisible && this.toggleDropDownVisible(true); |
| | | |
| | | if (event && event.isComposing) return; |
| | | if (val) { |
| | | this.filterHandler(); |
| | | } else { |
| | | this.filtering = false; |
| | | } |
| | | }, |
| | | handleClear: function handleClear() { |
| | | this.presentText = ''; |
| | | this.panel.clearCheckedNodes(); |
| | | }, |
| | | handleExpandChange: function handleExpandChange(value) { |
| | | this.$nextTick(this.updatePopper.bind(this)); |
| | | this.$emit('expand-change', value); |
| | | this.$emit('active-item-change', value); // Deprecated |
| | | }, |
| | | focusFirstNode: function focusFirstNode() { |
| | | var _this3 = this; |
| | | |
| | | this.$nextTick(function () { |
| | | var filtering = _this3.filtering; |
| | | var _$refs = _this3.$refs, |
| | | popper = _$refs.popper, |
| | | suggestionPanel = _$refs.suggestionPanel; |
| | | |
| | | var firstNode = null; |
| | | |
| | | if (filtering && suggestionPanel) { |
| | | firstNode = suggestionPanel.$el.querySelector('.el-cascader__suggestion-item'); |
| | | } else { |
| | | var firstMenu = popper.querySelector('.el-cascader-menu'); |
| | | firstNode = firstMenu.querySelector('.el-cascader-node[tabindex="-1"]'); |
| | | } |
| | | |
| | | if (firstNode) { |
| | | firstNode.focus(); |
| | | !filtering && firstNode.click(); |
| | | } |
| | | }); |
| | | }, |
| | | computePresentContent: function computePresentContent() { |
| | | var _this4 = this; |
| | | |
| | | // nextTick is required, because checked nodes may not change right now |
| | | this.$nextTick(function () { |
| | | if (_this4.config.multiple) { |
| | | _this4.computePresentTags(); |
| | | _this4.presentText = _this4.presentTags.length ? ' ' : null; |
| | | } else { |
| | | _this4.computePresentText(); |
| | | } |
| | | }); |
| | | }, |
| | | isEmptyValue: function isEmptyValue(val) { |
| | | var multiple = this.multiple; |
| | | var emitPath = this.panel.config.emitPath; |
| | | |
| | | if (multiple || emitPath) { |
| | | return Object(util_["isEmpty"])(val); |
| | | } |
| | | return false; |
| | | }, |
| | | computePresentText: function computePresentText() { |
| | | var checkedValue = this.checkedValue, |
| | | config = this.config; |
| | | |
| | | if (!this.isEmptyValue(checkedValue)) { |
| | | var node = this.panel.getNodeByValue(checkedValue); |
| | | if (node && (config.checkStrictly || node.isLeaf)) { |
| | | this.presentText = node.getText(this.showAllLevels, this.separator); |
| | | return; |
| | | } |
| | | } |
| | | this.presentText = null; |
| | | }, |
| | | computePresentTags: function computePresentTags() { |
| | | var isDisabled = this.isDisabled, |
| | | leafOnly = this.leafOnly, |
| | | showAllLevels = this.showAllLevels, |
| | | separator = this.separator, |
| | | collapseTags = this.collapseTags; |
| | | |
| | | var checkedNodes = this.getCheckedNodes(leafOnly); |
| | | var tags = []; |
| | | |
| | | var genTag = function genTag(node) { |
| | | return { |
| | | node: node, |
| | | key: node.uid, |
| | | text: node.getText(showAllLevels, separator), |
| | | hitState: false, |
| | | closable: !isDisabled && !node.isDisabled |
| | | }; |
| | | }; |
| | | |
| | | if (checkedNodes.length) { |
| | | var first = checkedNodes[0], |
| | | rest = checkedNodes.slice(1); |
| | | |
| | | var restCount = rest.length; |
| | | tags.push(genTag(first)); |
| | | |
| | | if (restCount) { |
| | | if (collapseTags) { |
| | | tags.push({ |
| | | key: -1, |
| | | text: '+ ' + restCount, |
| | | closable: false |
| | | }); |
| | | } else { |
| | | rest.forEach(function (node) { |
| | | return tags.push(genTag(node)); |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | |
| | | this.checkedNodes = checkedNodes; |
| | | this.presentTags = tags; |
| | | }, |
| | | getSuggestions: function getSuggestions() { |
| | | var _this5 = this; |
| | | |
| | | var filterMethod = this.filterMethod; |
| | | |
| | | |
| | | if (!Object(types_["isFunction"])(filterMethod)) { |
| | | filterMethod = function filterMethod(node, keyword) { |
| | | return node.text.includes(keyword); |
| | | }; |
| | | } |
| | | |
| | | var suggestions = this.panel.getFlattedNodes(this.leafOnly).filter(function (node) { |
| | | if (node.isDisabled) return false; |
| | | node.text = node.getText(_this5.showAllLevels, _this5.separator) || ''; |
| | | return filterMethod(node, _this5.inputValue); |
| | | }); |
| | | |
| | | if (this.multiple) { |
| | | this.presentTags.forEach(function (tag) { |
| | | tag.hitState = false; |
| | | }); |
| | | } else { |
| | | suggestions.forEach(function (node) { |
| | | node.checked = Object(util_["isEqual"])(_this5.checkedValue, node.getValueByOption()); |
| | | }); |
| | | } |
| | | |
| | | this.filtering = true; |
| | | this.suggestions = suggestions; |
| | | this.$nextTick(this.updatePopper); |
| | | }, |
| | | handleSuggestionKeyDown: function handleSuggestionKeyDown(event) { |
| | | var keyCode = event.keyCode, |
| | | target = event.target; |
| | | |
| | | switch (keyCode) { |
| | | case KeyCode.enter: |
| | | target.click(); |
| | | break; |
| | | case KeyCode.up: |
| | | var prev = target.previousElementSibling; |
| | | prev && prev.focus(); |
| | | break; |
| | | case KeyCode.down: |
| | | var next = target.nextElementSibling; |
| | | next && next.focus(); |
| | | break; |
| | | case KeyCode.esc: |
| | | case KeyCode.tab: |
| | | this.toggleDropDownVisible(false); |
| | | break; |
| | | } |
| | | }, |
| | | handleDelete: function handleDelete() { |
| | | var inputValue = this.inputValue, |
| | | pressDeleteCount = this.pressDeleteCount, |
| | | presentTags = this.presentTags; |
| | | |
| | | var lastIndex = presentTags.length - 1; |
| | | var lastTag = presentTags[lastIndex]; |
| | | this.pressDeleteCount = inputValue ? 0 : pressDeleteCount + 1; |
| | | |
| | | if (!lastTag) return; |
| | | |
| | | if (this.pressDeleteCount) { |
| | | if (lastTag.hitState) { |
| | | this.deleteTag(lastTag); |
| | | } else { |
| | | lastTag.hitState = true; |
| | | } |
| | | } |
| | | }, |
| | | handleSuggestionClick: function handleSuggestionClick(index) { |
| | | var multiple = this.multiple; |
| | | |
| | | var targetNode = this.suggestions[index]; |
| | | |
| | | if (multiple) { |
| | | var checked = targetNode.checked; |
| | | |
| | | targetNode.doCheck(!checked); |
| | | this.panel.calculateMultiCheckedValue(); |
| | | } else { |
| | | this.checkedValue = targetNode.getValueByOption(); |
| | | this.toggleDropDownVisible(false); |
| | | } |
| | | }, |
| | | deleteTag: function deleteTag(tag) { |
| | | var checkedValue = this.checkedValue; |
| | | |
| | | var current = tag.node.getValueByOption(); |
| | | var val = checkedValue.find(function (n) { |
| | | return Object(util_["isEqual"])(n, current); |
| | | }); |
| | | this.checkedValue = checkedValue.filter(function (n) { |
| | | return !Object(util_["isEqual"])(n, current); |
| | | }); |
| | | this.$emit('remove-tag', val); |
| | | }, |
| | | updateStyle: function updateStyle() { |
| | | var $el = this.$el, |
| | | inputInitialHeight = this.inputInitialHeight; |
| | | |
| | | if (this.$isServer || !$el) return; |
| | | |
| | | var suggestionPanel = this.$refs.suggestionPanel; |
| | | |
| | | var inputInner = $el.querySelector('.el-input__inner'); |
| | | |
| | | if (!inputInner) return; |
| | | |
| | | var tags = $el.querySelector('.el-cascader__tags'); |
| | | var suggestionPanelEl = null; |
| | | |
| | | if (suggestionPanel && (suggestionPanelEl = suggestionPanel.$el)) { |
| | | var suggestionList = suggestionPanelEl.querySelector('.el-cascader__suggestion-list'); |
| | | suggestionList.style.minWidth = inputInner.offsetWidth + 'px'; |
| | | } |
| | | |
| | | if (tags) { |
| | | var offsetHeight = Math.round(tags.getBoundingClientRect().height); |
| | | var height = Math.max(offsetHeight + 6, inputInitialHeight) + 'px'; |
| | | inputInner.style.height = height; |
| | | if (this.dropDownVisible) { |
| | | this.updatePopper(); |
| | | } |
| | | } |
| | | }, |
| | | |
| | | |
| | | /** |
| | | * public methods |
| | | */ |
| | | getCheckedNodes: function getCheckedNodes(leafOnly) { |
| | | return this.panel.getCheckedNodes(leafOnly); |
| | | } |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/cascader/src/cascader.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_cascadervue_type_script_lang_js_ = (cascadervue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/cascader/src/cascader.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_cascadervue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/cascader/src/cascader.vue" |
| | | /* harmony default export */ var cascader = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/cascader/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | cascader.install = function (Vue) { |
| | | Vue.component(cascader.name, cascader); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_cascader = __webpack_exports__["default"] = (cascader); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 12: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/clickoutside"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 15: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/scrollbar"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 16: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/resize-event"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 17: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/types"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 19: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("throttle-debounce/debounce"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 20: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/locale"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 21: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/shared"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 3: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/util"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 38: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/tag"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 4: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/emitter"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 41: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/aria-utils"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 5: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/vue-popper"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 51: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/cascader-panel"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 6: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/locale"); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 92); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 4: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/emitter"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 92: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-button.vue?vue&type=template&id=478e906e& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "label", |
| | | { |
| | | staticClass: "el-checkbox-button", |
| | | class: [ |
| | | _vm.size ? "el-checkbox-button--" + _vm.size : "", |
| | | { "is-disabled": _vm.isDisabled }, |
| | | { "is-checked": _vm.isChecked }, |
| | | { "is-focus": _vm.focus } |
| | | ], |
| | | attrs: { |
| | | role: "checkbox", |
| | | "aria-checked": _vm.isChecked, |
| | | "aria-disabled": _vm.isDisabled |
| | | } |
| | | }, |
| | | [ |
| | | _vm.trueLabel || _vm.falseLabel |
| | | ? _c("input", { |
| | | directives: [ |
| | | { |
| | | name: "model", |
| | | rawName: "v-model", |
| | | value: _vm.model, |
| | | expression: "model" |
| | | } |
| | | ], |
| | | staticClass: "el-checkbox-button__original", |
| | | attrs: { |
| | | type: "checkbox", |
| | | name: _vm.name, |
| | | disabled: _vm.isDisabled, |
| | | "true-value": _vm.trueLabel, |
| | | "false-value": _vm.falseLabel |
| | | }, |
| | | domProps: { |
| | | checked: Array.isArray(_vm.model) |
| | | ? _vm._i(_vm.model, null) > -1 |
| | | : _vm._q(_vm.model, _vm.trueLabel) |
| | | }, |
| | | on: { |
| | | change: [ |
| | | function($event) { |
| | | var $$a = _vm.model, |
| | | $$el = $event.target, |
| | | $$c = $$el.checked ? _vm.trueLabel : _vm.falseLabel |
| | | if (Array.isArray($$a)) { |
| | | var $$v = null, |
| | | $$i = _vm._i($$a, $$v) |
| | | if ($$el.checked) { |
| | | $$i < 0 && (_vm.model = $$a.concat([$$v])) |
| | | } else { |
| | | $$i > -1 && |
| | | (_vm.model = $$a |
| | | .slice(0, $$i) |
| | | .concat($$a.slice($$i + 1))) |
| | | } |
| | | } else { |
| | | _vm.model = $$c |
| | | } |
| | | }, |
| | | _vm.handleChange |
| | | ], |
| | | focus: function($event) { |
| | | _vm.focus = true |
| | | }, |
| | | blur: function($event) { |
| | | _vm.focus = false |
| | | } |
| | | } |
| | | }) |
| | | : _c("input", { |
| | | directives: [ |
| | | { |
| | | name: "model", |
| | | rawName: "v-model", |
| | | value: _vm.model, |
| | | expression: "model" |
| | | } |
| | | ], |
| | | staticClass: "el-checkbox-button__original", |
| | | attrs: { |
| | | type: "checkbox", |
| | | name: _vm.name, |
| | | disabled: _vm.isDisabled |
| | | }, |
| | | domProps: { |
| | | value: _vm.label, |
| | | checked: Array.isArray(_vm.model) |
| | | ? _vm._i(_vm.model, _vm.label) > -1 |
| | | : _vm.model |
| | | }, |
| | | on: { |
| | | change: [ |
| | | function($event) { |
| | | var $$a = _vm.model, |
| | | $$el = $event.target, |
| | | $$c = $$el.checked ? true : false |
| | | if (Array.isArray($$a)) { |
| | | var $$v = _vm.label, |
| | | $$i = _vm._i($$a, $$v) |
| | | if ($$el.checked) { |
| | | $$i < 0 && (_vm.model = $$a.concat([$$v])) |
| | | } else { |
| | | $$i > -1 && |
| | | (_vm.model = $$a |
| | | .slice(0, $$i) |
| | | .concat($$a.slice($$i + 1))) |
| | | } |
| | | } else { |
| | | _vm.model = $$c |
| | | } |
| | | }, |
| | | _vm.handleChange |
| | | ], |
| | | focus: function($event) { |
| | | _vm.focus = true |
| | | }, |
| | | blur: function($event) { |
| | | _vm.focus = false |
| | | } |
| | | } |
| | | }), |
| | | _vm.$slots.default || _vm.label |
| | | ? _c( |
| | | "span", |
| | | { |
| | | staticClass: "el-checkbox-button__inner", |
| | | style: _vm.isChecked ? _vm.activeStyle : null |
| | | }, |
| | | [_vm._t("default", [_vm._v(_vm._s(_vm.label))])], |
| | | 2 |
| | | ) |
| | | : _vm._e() |
| | | ] |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-button.vue?vue&type=template&id=478e906e& |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" |
| | | var emitter_ = __webpack_require__(4); |
| | | var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-button.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | |
| | | |
| | | /* harmony default export */ var checkbox_buttonvue_type_script_lang_js_ = ({ |
| | | name: 'ElCheckboxButton', |
| | | |
| | | mixins: [emitter_default.a], |
| | | |
| | | inject: { |
| | | elForm: { |
| | | default: '' |
| | | }, |
| | | elFormItem: { |
| | | default: '' |
| | | } |
| | | }, |
| | | |
| | | data: function data() { |
| | | return { |
| | | selfModel: false, |
| | | focus: false, |
| | | isLimitExceeded: false |
| | | }; |
| | | }, |
| | | |
| | | |
| | | props: { |
| | | value: {}, |
| | | label: {}, |
| | | disabled: Boolean, |
| | | checked: Boolean, |
| | | name: String, |
| | | trueLabel: [String, Number], |
| | | falseLabel: [String, Number] |
| | | }, |
| | | computed: { |
| | | model: { |
| | | get: function get() { |
| | | return this._checkboxGroup ? this.store : this.value !== undefined ? this.value : this.selfModel; |
| | | }, |
| | | set: function set(val) { |
| | | if (this._checkboxGroup) { |
| | | this.isLimitExceeded = false; |
| | | this._checkboxGroup.min !== undefined && val.length < this._checkboxGroup.min && (this.isLimitExceeded = true); |
| | | |
| | | this._checkboxGroup.max !== undefined && val.length > this._checkboxGroup.max && (this.isLimitExceeded = true); |
| | | |
| | | this.isLimitExceeded === false && this.dispatch('ElCheckboxGroup', 'input', [val]); |
| | | } else if (this.value !== undefined) { |
| | | this.$emit('input', val); |
| | | } else { |
| | | this.selfModel = val; |
| | | } |
| | | } |
| | | }, |
| | | |
| | | isChecked: function isChecked() { |
| | | if ({}.toString.call(this.model) === '[object Boolean]') { |
| | | return this.model; |
| | | } else if (Array.isArray(this.model)) { |
| | | return this.model.indexOf(this.label) > -1; |
| | | } else if (this.model !== null && this.model !== undefined) { |
| | | return this.model === this.trueLabel; |
| | | } |
| | | }, |
| | | _checkboxGroup: function _checkboxGroup() { |
| | | var parent = this.$parent; |
| | | while (parent) { |
| | | if (parent.$options.componentName !== 'ElCheckboxGroup') { |
| | | parent = parent.$parent; |
| | | } else { |
| | | return parent; |
| | | } |
| | | } |
| | | return false; |
| | | }, |
| | | store: function store() { |
| | | return this._checkboxGroup ? this._checkboxGroup.value : this.value; |
| | | }, |
| | | activeStyle: function activeStyle() { |
| | | return { |
| | | backgroundColor: this._checkboxGroup.fill || '', |
| | | borderColor: this._checkboxGroup.fill || '', |
| | | color: this._checkboxGroup.textColor || '', |
| | | 'box-shadow': '-1px 0 0 0 ' + this._checkboxGroup.fill |
| | | |
| | | }; |
| | | }, |
| | | _elFormItemSize: function _elFormItemSize() { |
| | | return (this.elFormItem || {}).elFormItemSize; |
| | | }, |
| | | size: function size() { |
| | | return this._checkboxGroup.checkboxGroupSize || this._elFormItemSize || (this.$ELEMENT || {}).size; |
| | | }, |
| | | |
| | | |
| | | /* used to make the isDisabled judgment under max/min props */ |
| | | isLimitDisabled: function isLimitDisabled() { |
| | | var _checkboxGroup2 = this._checkboxGroup, |
| | | max = _checkboxGroup2.max, |
| | | min = _checkboxGroup2.min; |
| | | |
| | | return !!(max || min) && this.model.length >= max && !this.isChecked || this.model.length <= min && this.isChecked; |
| | | }, |
| | | isDisabled: function isDisabled() { |
| | | return this._checkboxGroup ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled : this.disabled || (this.elForm || {}).disabled; |
| | | } |
| | | }, |
| | | methods: { |
| | | addToStore: function addToStore() { |
| | | if (Array.isArray(this.model) && this.model.indexOf(this.label) === -1) { |
| | | this.model.push(this.label); |
| | | } else { |
| | | this.model = this.trueLabel || true; |
| | | } |
| | | }, |
| | | handleChange: function handleChange(ev) { |
| | | var _this = this; |
| | | |
| | | if (this.isLimitExceeded) return; |
| | | var value = void 0; |
| | | if (ev.target.checked) { |
| | | value = this.trueLabel === undefined ? true : this.trueLabel; |
| | | } else { |
| | | value = this.falseLabel === undefined ? false : this.falseLabel; |
| | | } |
| | | this.$emit('change', value, ev); |
| | | this.$nextTick(function () { |
| | | if (_this._checkboxGroup) { |
| | | _this.dispatch('ElCheckboxGroup', 'change', [_this._checkboxGroup.value]); |
| | | } |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | created: function created() { |
| | | this.checked && this.addToStore(); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-button.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_checkbox_buttonvue_type_script_lang_js_ = (checkbox_buttonvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-button.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_checkbox_buttonvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/checkbox/src/checkbox-button.vue" |
| | | /* harmony default export */ var checkbox_button = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/checkbox-button/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | checkbox_button.install = function (Vue) { |
| | | Vue.component(checkbox_button.name, checkbox_button); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_checkbox_button = __webpack_exports__["default"] = (checkbox_button); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 93); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 4: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/emitter"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 93: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "div", |
| | | { |
| | | staticClass: "el-checkbox-group", |
| | | attrs: { role: "group", "aria-label": "checkbox-group" } |
| | | }, |
| | | [_vm._t("default")], |
| | | 2 |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=template&id=7289a290& |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" |
| | | var emitter_ = __webpack_require__(4); |
| | | var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js& |
| | | |
| | | |
| | | |
| | | /* harmony default export */ var checkbox_groupvue_type_script_lang_js_ = ({ |
| | | name: 'ElCheckboxGroup', |
| | | |
| | | componentName: 'ElCheckboxGroup', |
| | | |
| | | mixins: [emitter_default.a], |
| | | |
| | | inject: { |
| | | elFormItem: { |
| | | default: '' |
| | | } |
| | | }, |
| | | |
| | | props: { |
| | | value: {}, |
| | | disabled: Boolean, |
| | | min: Number, |
| | | max: Number, |
| | | size: String, |
| | | fill: String, |
| | | textColor: String |
| | | }, |
| | | |
| | | computed: { |
| | | _elFormItemSize: function _elFormItemSize() { |
| | | return (this.elFormItem || {}).elFormItemSize; |
| | | }, |
| | | checkboxGroupSize: function checkboxGroupSize() { |
| | | return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; |
| | | } |
| | | }, |
| | | |
| | | watch: { |
| | | value: function value(_value) { |
| | | this.dispatch('ElFormItem', 'el.form.change', [_value]); |
| | | } |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_checkbox_groupvue_type_script_lang_js_ = (checkbox_groupvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/checkbox/src/checkbox-group.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_checkbox_groupvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/checkbox/src/checkbox-group.vue" |
| | | /* harmony default export */ var checkbox_group = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/checkbox-group/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | checkbox_group.install = function (Vue) { |
| | | Vue.component(checkbox_group.name, checkbox_group); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_checkbox_group = __webpack_exports__["default"] = (checkbox_group); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 91); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 4: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/emitter"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 91: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "label", |
| | | { |
| | | staticClass: "el-checkbox", |
| | | class: [ |
| | | _vm.border && _vm.checkboxSize |
| | | ? "el-checkbox--" + _vm.checkboxSize |
| | | : "", |
| | | { "is-disabled": _vm.isDisabled }, |
| | | { "is-bordered": _vm.border }, |
| | | { "is-checked": _vm.isChecked } |
| | | ], |
| | | attrs: { id: _vm.id } |
| | | }, |
| | | [ |
| | | _c( |
| | | "span", |
| | | { |
| | | staticClass: "el-checkbox__input", |
| | | class: { |
| | | "is-disabled": _vm.isDisabled, |
| | | "is-checked": _vm.isChecked, |
| | | "is-indeterminate": _vm.indeterminate, |
| | | "is-focus": _vm.focus |
| | | }, |
| | | attrs: { |
| | | tabindex: _vm.indeterminate ? 0 : false, |
| | | role: _vm.indeterminate ? "checkbox" : false, |
| | | "aria-checked": _vm.indeterminate ? "mixed" : false |
| | | } |
| | | }, |
| | | [ |
| | | _c("span", { staticClass: "el-checkbox__inner" }), |
| | | _vm.trueLabel || _vm.falseLabel |
| | | ? _c("input", { |
| | | directives: [ |
| | | { |
| | | name: "model", |
| | | rawName: "v-model", |
| | | value: _vm.model, |
| | | expression: "model" |
| | | } |
| | | ], |
| | | staticClass: "el-checkbox__original", |
| | | attrs: { |
| | | type: "checkbox", |
| | | "aria-hidden": _vm.indeterminate ? "true" : "false", |
| | | name: _vm.name, |
| | | disabled: _vm.isDisabled, |
| | | "true-value": _vm.trueLabel, |
| | | "false-value": _vm.falseLabel |
| | | }, |
| | | domProps: { |
| | | checked: Array.isArray(_vm.model) |
| | | ? _vm._i(_vm.model, null) > -1 |
| | | : _vm._q(_vm.model, _vm.trueLabel) |
| | | }, |
| | | on: { |
| | | change: [ |
| | | function($event) { |
| | | var $$a = _vm.model, |
| | | $$el = $event.target, |
| | | $$c = $$el.checked ? _vm.trueLabel : _vm.falseLabel |
| | | if (Array.isArray($$a)) { |
| | | var $$v = null, |
| | | $$i = _vm._i($$a, $$v) |
| | | if ($$el.checked) { |
| | | $$i < 0 && (_vm.model = $$a.concat([$$v])) |
| | | } else { |
| | | $$i > -1 && |
| | | (_vm.model = $$a |
| | | .slice(0, $$i) |
| | | .concat($$a.slice($$i + 1))) |
| | | } |
| | | } else { |
| | | _vm.model = $$c |
| | | } |
| | | }, |
| | | _vm.handleChange |
| | | ], |
| | | focus: function($event) { |
| | | _vm.focus = true |
| | | }, |
| | | blur: function($event) { |
| | | _vm.focus = false |
| | | } |
| | | } |
| | | }) |
| | | : _c("input", { |
| | | directives: [ |
| | | { |
| | | name: "model", |
| | | rawName: "v-model", |
| | | value: _vm.model, |
| | | expression: "model" |
| | | } |
| | | ], |
| | | staticClass: "el-checkbox__original", |
| | | attrs: { |
| | | type: "checkbox", |
| | | "aria-hidden": _vm.indeterminate ? "true" : "false", |
| | | disabled: _vm.isDisabled, |
| | | name: _vm.name |
| | | }, |
| | | domProps: { |
| | | value: _vm.label, |
| | | checked: Array.isArray(_vm.model) |
| | | ? _vm._i(_vm.model, _vm.label) > -1 |
| | | : _vm.model |
| | | }, |
| | | on: { |
| | | change: [ |
| | | function($event) { |
| | | var $$a = _vm.model, |
| | | $$el = $event.target, |
| | | $$c = $$el.checked ? true : false |
| | | if (Array.isArray($$a)) { |
| | | var $$v = _vm.label, |
| | | $$i = _vm._i($$a, $$v) |
| | | if ($$el.checked) { |
| | | $$i < 0 && (_vm.model = $$a.concat([$$v])) |
| | | } else { |
| | | $$i > -1 && |
| | | (_vm.model = $$a |
| | | .slice(0, $$i) |
| | | .concat($$a.slice($$i + 1))) |
| | | } |
| | | } else { |
| | | _vm.model = $$c |
| | | } |
| | | }, |
| | | _vm.handleChange |
| | | ], |
| | | focus: function($event) { |
| | | _vm.focus = true |
| | | }, |
| | | blur: function($event) { |
| | | _vm.focus = false |
| | | } |
| | | } |
| | | }) |
| | | ] |
| | | ), |
| | | _vm.$slots.default || _vm.label |
| | | ? _c( |
| | | "span", |
| | | { staticClass: "el-checkbox__label" }, |
| | | [ |
| | | _vm._t("default"), |
| | | !_vm.$slots.default ? [_vm._v(_vm._s(_vm.label))] : _vm._e() |
| | | ], |
| | | 2 |
| | | ) |
| | | : _vm._e() |
| | | ] |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=template&id=d0387074& |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" |
| | | var emitter_ = __webpack_require__(4); |
| | | var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | |
| | | |
| | | /* harmony default export */ var checkboxvue_type_script_lang_js_ = ({ |
| | | name: 'ElCheckbox', |
| | | |
| | | mixins: [emitter_default.a], |
| | | |
| | | inject: { |
| | | elForm: { |
| | | default: '' |
| | | }, |
| | | elFormItem: { |
| | | default: '' |
| | | } |
| | | }, |
| | | |
| | | componentName: 'ElCheckbox', |
| | | |
| | | data: function data() { |
| | | return { |
| | | selfModel: false, |
| | | focus: false, |
| | | isLimitExceeded: false |
| | | }; |
| | | }, |
| | | |
| | | |
| | | computed: { |
| | | model: { |
| | | get: function get() { |
| | | return this.isGroup ? this.store : this.value !== undefined ? this.value : this.selfModel; |
| | | }, |
| | | set: function set(val) { |
| | | if (this.isGroup) { |
| | | this.isLimitExceeded = false; |
| | | this._checkboxGroup.min !== undefined && val.length < this._checkboxGroup.min && (this.isLimitExceeded = true); |
| | | |
| | | this._checkboxGroup.max !== undefined && val.length > this._checkboxGroup.max && (this.isLimitExceeded = true); |
| | | |
| | | this.isLimitExceeded === false && this.dispatch('ElCheckboxGroup', 'input', [val]); |
| | | } else { |
| | | this.$emit('input', val); |
| | | this.selfModel = val; |
| | | } |
| | | } |
| | | }, |
| | | |
| | | isChecked: function isChecked() { |
| | | if ({}.toString.call(this.model) === '[object Boolean]') { |
| | | return this.model; |
| | | } else if (Array.isArray(this.model)) { |
| | | return this.model.indexOf(this.label) > -1; |
| | | } else if (this.model !== null && this.model !== undefined) { |
| | | return this.model === this.trueLabel; |
| | | } |
| | | }, |
| | | isGroup: function isGroup() { |
| | | var parent = this.$parent; |
| | | while (parent) { |
| | | if (parent.$options.componentName !== 'ElCheckboxGroup') { |
| | | parent = parent.$parent; |
| | | } else { |
| | | this._checkboxGroup = parent; |
| | | return true; |
| | | } |
| | | } |
| | | return false; |
| | | }, |
| | | store: function store() { |
| | | return this._checkboxGroup ? this._checkboxGroup.value : this.value; |
| | | }, |
| | | |
| | | |
| | | /* used to make the isDisabled judgment under max/min props */ |
| | | isLimitDisabled: function isLimitDisabled() { |
| | | var _checkboxGroup = this._checkboxGroup, |
| | | max = _checkboxGroup.max, |
| | | min = _checkboxGroup.min; |
| | | |
| | | return !!(max || min) && this.model.length >= max && !this.isChecked || this.model.length <= min && this.isChecked; |
| | | }, |
| | | isDisabled: function isDisabled() { |
| | | return this.isGroup ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled : this.disabled || (this.elForm || {}).disabled; |
| | | }, |
| | | _elFormItemSize: function _elFormItemSize() { |
| | | return (this.elFormItem || {}).elFormItemSize; |
| | | }, |
| | | checkboxSize: function checkboxSize() { |
| | | var temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; |
| | | return this.isGroup ? this._checkboxGroup.checkboxGroupSize || temCheckboxSize : temCheckboxSize; |
| | | } |
| | | }, |
| | | |
| | | props: { |
| | | value: {}, |
| | | label: {}, |
| | | indeterminate: Boolean, |
| | | disabled: Boolean, |
| | | checked: Boolean, |
| | | name: String, |
| | | trueLabel: [String, Number], |
| | | falseLabel: [String, Number], |
| | | id: String, /* å½indeterminateä¸ºçæ¶ï¼ä¸ºcontrolsæä¾ç¸å
³è¿çcheckboxçidï¼è¡¨æå
ç´ é´çæ§å¶å
³ç³»*/ |
| | | controls: String, /* å½indeterminateä¸ºçæ¶ï¼ä¸ºcontrolsæä¾ç¸å
³è¿çcheckboxçidï¼è¡¨æå
ç´ é´çæ§å¶å
³ç³»*/ |
| | | border: Boolean, |
| | | size: String |
| | | }, |
| | | |
| | | methods: { |
| | | addToStore: function addToStore() { |
| | | if (Array.isArray(this.model) && this.model.indexOf(this.label) === -1) { |
| | | this.model.push(this.label); |
| | | } else { |
| | | this.model = this.trueLabel || true; |
| | | } |
| | | }, |
| | | handleChange: function handleChange(ev) { |
| | | var _this = this; |
| | | |
| | | if (this.isLimitExceeded) return; |
| | | var value = void 0; |
| | | if (ev.target.checked) { |
| | | value = this.trueLabel === undefined ? true : this.trueLabel; |
| | | } else { |
| | | value = this.falseLabel === undefined ? false : this.falseLabel; |
| | | } |
| | | this.$emit('change', value, ev); |
| | | this.$nextTick(function () { |
| | | if (_this.isGroup) { |
| | | _this.dispatch('ElCheckboxGroup', 'change', [_this._checkboxGroup.value]); |
| | | } |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | created: function created() { |
| | | this.checked && this.addToStore(); |
| | | }, |
| | | mounted: function mounted() { |
| | | // 为indeterminateå
ç´ æ·»å aria-controls 屿§ |
| | | if (this.indeterminate) { |
| | | this.$el.setAttribute('aria-controls', this.controls); |
| | | } |
| | | }, |
| | | |
| | | |
| | | watch: { |
| | | value: function value(_value) { |
| | | this.dispatch('ElFormItem', 'el.form.change', _value); |
| | | } |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_checkboxvue_type_script_lang_js_ = (checkboxvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/checkbox/src/checkbox.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_checkboxvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/checkbox/src/checkbox.vue" |
| | | /* harmony default export */ var src_checkbox = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/checkbox/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | src_checkbox.install = function (Vue) { |
| | | Vue.component(src_checkbox.name, src_checkbox); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_checkbox = __webpack_exports__["default"] = (src_checkbox); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 140); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 140: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./packages/col/src/col.js |
| | | var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; |
| | | |
| | | /* harmony default export */ var col = ({ |
| | | name: 'ElCol', |
| | | |
| | | props: { |
| | | span: { |
| | | type: Number, |
| | | default: 24 |
| | | }, |
| | | tag: { |
| | | type: String, |
| | | default: 'div' |
| | | }, |
| | | offset: Number, |
| | | pull: Number, |
| | | push: Number, |
| | | xs: [Number, Object], |
| | | sm: [Number, Object], |
| | | md: [Number, Object], |
| | | lg: [Number, Object], |
| | | xl: [Number, Object] |
| | | }, |
| | | |
| | | computed: { |
| | | gutter: function gutter() { |
| | | var parent = this.$parent; |
| | | while (parent && parent.$options.componentName !== 'ElRow') { |
| | | parent = parent.$parent; |
| | | } |
| | | return parent ? parent.gutter : 0; |
| | | } |
| | | }, |
| | | render: function render(h) { |
| | | var _this = this; |
| | | |
| | | var classList = []; |
| | | var style = {}; |
| | | |
| | | if (this.gutter) { |
| | | style.paddingLeft = this.gutter / 2 + 'px'; |
| | | style.paddingRight = style.paddingLeft; |
| | | } |
| | | |
| | | ['span', 'offset', 'pull', 'push'].forEach(function (prop) { |
| | | if (_this[prop] || _this[prop] === 0) { |
| | | classList.push(prop !== 'span' ? 'el-col-' + prop + '-' + _this[prop] : 'el-col-' + _this[prop]); |
| | | } |
| | | }); |
| | | |
| | | ['xs', 'sm', 'md', 'lg', 'xl'].forEach(function (size) { |
| | | if (typeof _this[size] === 'number') { |
| | | classList.push('el-col-' + size + '-' + _this[size]); |
| | | } else if (_typeof(_this[size]) === 'object') { |
| | | var props = _this[size]; |
| | | Object.keys(props).forEach(function (prop) { |
| | | classList.push(prop !== 'span' ? 'el-col-' + size + '-' + prop + '-' + props[prop] : 'el-col-' + size + '-' + props[prop]); |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | return h(this.tag, { |
| | | class: ['el-col', classList], |
| | | style: style |
| | | }, this.$slots.default); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/col/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | col.install = function (Vue) { |
| | | Vue.component(col.name, col); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_col = __webpack_exports__["default"] = (col); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 114); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 114: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse-item.vue?vue&type=template&id=2d05faac& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "div", |
| | | { |
| | | staticClass: "el-collapse-item", |
| | | class: { "is-active": _vm.isActive, "is-disabled": _vm.disabled } |
| | | }, |
| | | [ |
| | | _c( |
| | | "div", |
| | | { |
| | | attrs: { |
| | | role: "tab", |
| | | "aria-expanded": _vm.isActive, |
| | | "aria-controls": "el-collapse-content-" + _vm.id, |
| | | "aria-describedby": "el-collapse-content-" + _vm.id |
| | | } |
| | | }, |
| | | [ |
| | | _c( |
| | | "div", |
| | | { |
| | | staticClass: "el-collapse-item__header", |
| | | class: { |
| | | focusing: _vm.focusing, |
| | | "is-active": _vm.isActive |
| | | }, |
| | | attrs: { |
| | | role: "button", |
| | | id: "el-collapse-head-" + _vm.id, |
| | | tabindex: _vm.disabled ? undefined : 0 |
| | | }, |
| | | on: { |
| | | click: _vm.handleHeaderClick, |
| | | keyup: function($event) { |
| | | if ( |
| | | !("button" in $event) && |
| | | _vm._k($event.keyCode, "space", 32, $event.key, [ |
| | | " ", |
| | | "Spacebar" |
| | | ]) && |
| | | _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") |
| | | ) { |
| | | return null |
| | | } |
| | | $event.stopPropagation() |
| | | return _vm.handleEnterClick($event) |
| | | }, |
| | | focus: _vm.handleFocus, |
| | | blur: function($event) { |
| | | _vm.focusing = false |
| | | } |
| | | } |
| | | }, |
| | | [ |
| | | _vm._t("title", [_vm._v(_vm._s(_vm.title))]), |
| | | _c("i", { |
| | | staticClass: "el-collapse-item__arrow el-icon-arrow-right", |
| | | class: { "is-active": _vm.isActive } |
| | | }) |
| | | ], |
| | | 2 |
| | | ) |
| | | ] |
| | | ), |
| | | _c("el-collapse-transition", [ |
| | | _c( |
| | | "div", |
| | | { |
| | | directives: [ |
| | | { |
| | | name: "show", |
| | | rawName: "v-show", |
| | | value: _vm.isActive, |
| | | expression: "isActive" |
| | | } |
| | | ], |
| | | staticClass: "el-collapse-item__wrap", |
| | | attrs: { |
| | | role: "tabpanel", |
| | | "aria-hidden": !_vm.isActive, |
| | | "aria-labelledby": "el-collapse-head-" + _vm.id, |
| | | id: "el-collapse-content-" + _vm.id |
| | | } |
| | | }, |
| | | [ |
| | | _c( |
| | | "div", |
| | | { staticClass: "el-collapse-item__content" }, |
| | | [_vm._t("default")], |
| | | 2 |
| | | ) |
| | | ] |
| | | ) |
| | | ]) |
| | | ], |
| | | 1 |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/collapse/src/collapse-item.vue?vue&type=template&id=2d05faac& |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/transitions/collapse-transition" |
| | | var collapse_transition_ = __webpack_require__(28); |
| | | var collapse_transition_default = /*#__PURE__*/__webpack_require__.n(collapse_transition_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" |
| | | var emitter_ = __webpack_require__(4); |
| | | var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); |
| | | |
| | | // EXTERNAL MODULE: external "element-ui/lib/utils/util" |
| | | var util_ = __webpack_require__(3); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse-item.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* harmony default export */ var collapse_itemvue_type_script_lang_js_ = ({ |
| | | name: 'ElCollapseItem', |
| | | |
| | | componentName: 'ElCollapseItem', |
| | | |
| | | mixins: [emitter_default.a], |
| | | |
| | | components: { ElCollapseTransition: collapse_transition_default.a }, |
| | | |
| | | data: function data() { |
| | | return { |
| | | contentWrapStyle: { |
| | | height: 'auto', |
| | | display: 'block' |
| | | }, |
| | | contentHeight: 0, |
| | | focusing: false, |
| | | isClick: false, |
| | | id: Object(util_["generateId"])() |
| | | }; |
| | | }, |
| | | |
| | | |
| | | inject: ['collapse'], |
| | | |
| | | props: { |
| | | title: String, |
| | | name: { |
| | | type: [String, Number], |
| | | default: function _default() { |
| | | return this._uid; |
| | | } |
| | | }, |
| | | disabled: Boolean |
| | | }, |
| | | |
| | | computed: { |
| | | isActive: function isActive() { |
| | | return this.collapse.activeNames.indexOf(this.name) > -1; |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | handleFocus: function handleFocus() { |
| | | var _this = this; |
| | | |
| | | setTimeout(function () { |
| | | if (!_this.isClick) { |
| | | _this.focusing = true; |
| | | } else { |
| | | _this.isClick = false; |
| | | } |
| | | }, 50); |
| | | }, |
| | | handleHeaderClick: function handleHeaderClick() { |
| | | if (this.disabled) return; |
| | | this.dispatch('ElCollapse', 'item-click', this); |
| | | this.focusing = false; |
| | | this.isClick = true; |
| | | }, |
| | | handleEnterClick: function handleEnterClick() { |
| | | this.dispatch('ElCollapse', 'item-click', this); |
| | | } |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/collapse/src/collapse-item.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_collapse_itemvue_type_script_lang_js_ = (collapse_itemvue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/collapse/src/collapse-item.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_collapse_itemvue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/collapse/src/collapse-item.vue" |
| | | /* harmony default export */ var collapse_item = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/collapse-item/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | collapse_item.install = function (Vue) { |
| | | Vue.component(collapse_item.name, collapse_item); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_collapse_item = __webpack_exports__["default"] = (collapse_item); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 28: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/transitions/collapse-transition"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 3: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/utils/util"); |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 4: |
| | | /***/ (function(module, exports) { |
| | | |
| | | module.exports = require("element-ui/lib/mixins/emitter"); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
¤ñ¹ï·sÀÉ®× |
| | |
| | | module.exports = |
| | | /******/ (function(modules) { // webpackBootstrap |
| | | /******/ // The module cache |
| | | /******/ var installedModules = {}; |
| | | /******/ |
| | | /******/ // The require function |
| | | /******/ function __webpack_require__(moduleId) { |
| | | /******/ |
| | | /******/ // Check if module is in cache |
| | | /******/ if(installedModules[moduleId]) { |
| | | /******/ return installedModules[moduleId].exports; |
| | | /******/ } |
| | | /******/ // Create a new module (and put it into the cache) |
| | | /******/ var module = installedModules[moduleId] = { |
| | | /******/ i: moduleId, |
| | | /******/ l: false, |
| | | /******/ exports: {} |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Execute the module function |
| | | /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); |
| | | /******/ |
| | | /******/ // Flag the module as loaded |
| | | /******/ module.l = true; |
| | | /******/ |
| | | /******/ // Return the exports of the module |
| | | /******/ return module.exports; |
| | | /******/ } |
| | | /******/ |
| | | /******/ |
| | | /******/ // expose the modules object (__webpack_modules__) |
| | | /******/ __webpack_require__.m = modules; |
| | | /******/ |
| | | /******/ // expose the module cache |
| | | /******/ __webpack_require__.c = installedModules; |
| | | /******/ |
| | | /******/ // define getter function for harmony exports |
| | | /******/ __webpack_require__.d = function(exports, name, getter) { |
| | | /******/ if(!__webpack_require__.o(exports, name)) { |
| | | /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); |
| | | /******/ } |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // define __esModule on exports |
| | | /******/ __webpack_require__.r = function(exports) { |
| | | /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { |
| | | /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); |
| | | /******/ } |
| | | /******/ Object.defineProperty(exports, '__esModule', { value: true }); |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // create a fake namespace object |
| | | /******/ // mode & 1: value is a module id, require it |
| | | /******/ // mode & 2: merge all properties of value into the ns |
| | | /******/ // mode & 4: return value when already ns object |
| | | /******/ // mode & 8|1: behave like require |
| | | /******/ __webpack_require__.t = function(value, mode) { |
| | | /******/ if(mode & 1) value = __webpack_require__(value); |
| | | /******/ if(mode & 8) return value; |
| | | /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; |
| | | /******/ var ns = Object.create(null); |
| | | /******/ __webpack_require__.r(ns); |
| | | /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); |
| | | /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); |
| | | /******/ return ns; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // getDefaultExport function for compatibility with non-harmony modules |
| | | /******/ __webpack_require__.n = function(module) { |
| | | /******/ var getter = module && module.__esModule ? |
| | | /******/ function getDefault() { return module['default']; } : |
| | | /******/ function getModuleExports() { return module; }; |
| | | /******/ __webpack_require__.d(getter, 'a', getter); |
| | | /******/ return getter; |
| | | /******/ }; |
| | | /******/ |
| | | /******/ // Object.prototype.hasOwnProperty.call |
| | | /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; |
| | | /******/ |
| | | /******/ // __webpack_public_path__ |
| | | /******/ __webpack_require__.p = "/dist/"; |
| | | /******/ |
| | | /******/ |
| | | /******/ // Load entry module and return exports |
| | | /******/ return __webpack_require__(__webpack_require__.s = 113); |
| | | /******/ }) |
| | | /************************************************************************/ |
| | | /******/ ({ |
| | | |
| | | /***/ 0: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return normalizeComponent; }); |
| | | /* globals __VUE_SSR_CONTEXT__ */ |
| | | |
| | | // IMPORTANT: Do NOT use ES2015 features in this file (except for modules). |
| | | // This module is a runtime utility for cleaner component module output and will |
| | | // be included in the final webpack user bundle. |
| | | |
| | | function normalizeComponent ( |
| | | scriptExports, |
| | | render, |
| | | staticRenderFns, |
| | | functionalTemplate, |
| | | injectStyles, |
| | | scopeId, |
| | | moduleIdentifier, /* server only */ |
| | | shadowMode /* vue-cli only */ |
| | | ) { |
| | | // Vue.extend constructor export interop |
| | | var options = typeof scriptExports === 'function' |
| | | ? scriptExports.options |
| | | : scriptExports |
| | | |
| | | // render functions |
| | | if (render) { |
| | | options.render = render |
| | | options.staticRenderFns = staticRenderFns |
| | | options._compiled = true |
| | | } |
| | | |
| | | // functional template |
| | | if (functionalTemplate) { |
| | | options.functional = true |
| | | } |
| | | |
| | | // scopedId |
| | | if (scopeId) { |
| | | options._scopeId = 'data-v-' + scopeId |
| | | } |
| | | |
| | | var hook |
| | | if (moduleIdentifier) { // server build |
| | | hook = function (context) { |
| | | // 2.3 injection |
| | | context = |
| | | context || // cached call |
| | | (this.$vnode && this.$vnode.ssrContext) || // stateful |
| | | (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional |
| | | // 2.2 with runInNewContext: true |
| | | if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { |
| | | context = __VUE_SSR_CONTEXT__ |
| | | } |
| | | // inject component styles |
| | | if (injectStyles) { |
| | | injectStyles.call(this, context) |
| | | } |
| | | // register component module identifier for async chunk inferrence |
| | | if (context && context._registeredComponents) { |
| | | context._registeredComponents.add(moduleIdentifier) |
| | | } |
| | | } |
| | | // used by ssr in case component is cached and beforeCreate |
| | | // never gets called |
| | | options._ssrRegister = hook |
| | | } else if (injectStyles) { |
| | | hook = shadowMode |
| | | ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } |
| | | : injectStyles |
| | | } |
| | | |
| | | if (hook) { |
| | | if (options.functional) { |
| | | // for template-only hot-reload because in that case the render fn doesn't |
| | | // go through the normalizer |
| | | options._injectStyles = hook |
| | | // register for functioal component in vue file |
| | | var originalRender = options.render |
| | | options.render = function renderWithStyleInjection (h, context) { |
| | | hook.call(context) |
| | | return originalRender(h, context) |
| | | } |
| | | } else { |
| | | // inject component registration as beforeCreate hook |
| | | var existing = options.beforeCreate |
| | | options.beforeCreate = existing |
| | | ? [].concat(existing, hook) |
| | | : [hook] |
| | | } |
| | | } |
| | | |
| | | return { |
| | | exports: scriptExports, |
| | | options: options |
| | | } |
| | | } |
| | | |
| | | |
| | | /***/ }), |
| | | |
| | | /***/ 113: |
| | | /***/ (function(module, __webpack_exports__, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | __webpack_require__.r(__webpack_exports__); |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse.vue?vue&type=template&id=461d57f4& |
| | | var render = function() { |
| | | var _vm = this |
| | | var _h = _vm.$createElement |
| | | var _c = _vm._self._c || _h |
| | | return _c( |
| | | "div", |
| | | { |
| | | staticClass: "el-collapse", |
| | | attrs: { role: "tablist", "aria-multiselectable": "true" } |
| | | }, |
| | | [_vm._t("default")], |
| | | 2 |
| | | ) |
| | | } |
| | | var staticRenderFns = [] |
| | | render._withStripped = true |
| | | |
| | | |
| | | // CONCATENATED MODULE: ./packages/collapse/src/collapse.vue?vue&type=template&id=461d57f4& |
| | | |
| | | // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/collapse/src/collapse.vue?vue&type=script&lang=js& |
| | | // |
| | | // |
| | | // |
| | | // |
| | | // |
| | | |
| | | /* harmony default export */ var collapsevue_type_script_lang_js_ = ({ |
| | | name: 'ElCollapse', |
| | | |
| | | componentName: 'ElCollapse', |
| | | |
| | | props: { |
| | | accordion: Boolean, |
| | | value: { |
| | | type: [Array, String, Number], |
| | | default: function _default() { |
| | | return []; |
| | | } |
| | | } |
| | | }, |
| | | |
| | | data: function data() { |
| | | return { |
| | | activeNames: [].concat(this.value) |
| | | }; |
| | | }, |
| | | provide: function provide() { |
| | | return { |
| | | collapse: this |
| | | }; |
| | | }, |
| | | |
| | | |
| | | watch: { |
| | | value: function value(_value) { |
| | | this.activeNames = [].concat(_value); |
| | | } |
| | | }, |
| | | |
| | | methods: { |
| | | setActiveNames: function setActiveNames(activeNames) { |
| | | activeNames = [].concat(activeNames); |
| | | var value = this.accordion ? activeNames[0] : activeNames; |
| | | this.activeNames = activeNames; |
| | | this.$emit('input', value); |
| | | this.$emit('change', value); |
| | | }, |
| | | handleItemClick: function handleItemClick(item) { |
| | | if (this.accordion) { |
| | | this.setActiveNames((this.activeNames[0] || this.activeNames[0] === 0) && this.activeNames[0] === item.name ? '' : item.name); |
| | | } else { |
| | | var activeNames = this.activeNames.slice(0); |
| | | var index = activeNames.indexOf(item.name); |
| | | |
| | | if (index > -1) { |
| | | activeNames.splice(index, 1); |
| | | } else { |
| | | activeNames.push(item.name); |
| | | } |
| | | this.setActiveNames(activeNames); |
| | | } |
| | | } |
| | | }, |
| | | |
| | | created: function created() { |
| | | this.$on('item-click', this.handleItemClick); |
| | | } |
| | | }); |
| | | // CONCATENATED MODULE: ./packages/collapse/src/collapse.vue?vue&type=script&lang=js& |
| | | /* harmony default export */ var src_collapsevue_type_script_lang_js_ = (collapsevue_type_script_lang_js_); |
| | | // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js |
| | | var componentNormalizer = __webpack_require__(0); |
| | | |
| | | // CONCATENATED MODULE: ./packages/collapse/src/collapse.vue |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | /* normalize component */ |
| | | |
| | | var component = Object(componentNormalizer["a" /* default */])( |
| | | src_collapsevue_type_script_lang_js_, |
| | | render, |
| | | staticRenderFns, |
| | | false, |
| | | null, |
| | | null, |
| | | null |
| | | |
| | | ) |
| | | |
| | | /* hot reload */ |
| | | if (false) { var api; } |
| | | component.options.__file = "packages/collapse/src/collapse.vue" |
| | | /* harmony default export */ var collapse = (component.exports); |
| | | // CONCATENATED MODULE: ./packages/collapse/index.js |
| | | |
| | | |
| | | /* istanbul ignore next */ |
| | | collapse.install = function (Vue) { |
| | | Vue.component(collapse.name, collapse); |
| | | }; |
| | | |
| | | /* harmony default export */ var packages_collapse = __webpack_exports__["default"] = (collapse); |
| | | |
| | | /***/ }) |
| | | |
| | | /******/ }); |
PAMapp/local_modules/element-ui/lib/color-picker.js
PAMapp/local_modules/element-ui/lib/container.js
PAMapp/local_modules/element-ui/lib/date-picker.js
PAMapp/local_modules/element-ui/lib/descriptions-item.js
PAMapp/local_modules/element-ui/lib/descriptions.js
PAMapp/local_modules/element-ui/lib/dialog.js
PAMapp/local_modules/element-ui/lib/directives/mousewheel.js
PAMapp/local_modules/element-ui/lib/directives/repeat-click.js
PAMapp/local_modules/element-ui/lib/divider.js
PAMapp/local_modules/element-ui/lib/drawer.js
PAMapp/local_modules/element-ui/lib/dropdown-item.js
PAMapp/local_modules/element-ui/lib/dropdown-menu.js
PAMapp/local_modules/element-ui/lib/dropdown.js
PAMapp/local_modules/element-ui/lib/element-ui.common.js
PAMapp/local_modules/element-ui/lib/empty.js
PAMapp/local_modules/element-ui/lib/footer.js
PAMapp/local_modules/element-ui/lib/form-item.js
PAMapp/local_modules/element-ui/lib/form.js
PAMapp/local_modules/element-ui/lib/header.js
PAMapp/local_modules/element-ui/lib/icon.js
PAMapp/local_modules/element-ui/lib/image.js
PAMapp/local_modules/element-ui/lib/index.js
PAMapp/local_modules/element-ui/lib/infinite-scroll.js
PAMapp/local_modules/element-ui/lib/input-number.js
PAMapp/local_modules/element-ui/lib/input.js
PAMapp/local_modules/element-ui/lib/link.js
PAMapp/local_modules/element-ui/lib/loading.js
PAMapp/local_modules/element-ui/lib/locale/format.js
PAMapp/local_modules/element-ui/lib/locale/index.js
PAMapp/local_modules/element-ui/lib/locale/lang/af-ZA.js
PAMapp/local_modules/element-ui/lib/locale/lang/ar.js
PAMapp/local_modules/element-ui/lib/locale/lang/az.js
PAMapp/local_modules/element-ui/lib/locale/lang/bg.js
PAMapp/local_modules/element-ui/lib/locale/lang/bn.js
PAMapp/local_modules/element-ui/lib/locale/lang/ca.js
PAMapp/local_modules/element-ui/lib/locale/lang/cs-CZ.js
PAMapp/local_modules/element-ui/lib/locale/lang/da.js
PAMapp/local_modules/element-ui/lib/locale/lang/de.js
PAMapp/local_modules/element-ui/lib/locale/lang/ee.js
PAMapp/local_modules/element-ui/lib/locale/lang/el.js
PAMapp/local_modules/element-ui/lib/locale/lang/en.js
PAMapp/local_modules/element-ui/lib/locale/lang/eo.js
PAMapp/local_modules/element-ui/lib/locale/lang/es.js
PAMapp/local_modules/element-ui/lib/locale/lang/eu.js
PAMapp/local_modules/element-ui/lib/locale/lang/fa.js
PAMapp/local_modules/element-ui/lib/locale/lang/fi.js
PAMapp/local_modules/element-ui/lib/locale/lang/fr.js
PAMapp/local_modules/element-ui/lib/locale/lang/he.js
PAMapp/local_modules/element-ui/lib/locale/lang/hr.js
PAMapp/local_modules/element-ui/lib/locale/lang/hu.js
PAMapp/local_modules/element-ui/lib/locale/lang/hy-AM.js
PAMapp/local_modules/element-ui/lib/locale/lang/id.js
PAMapp/local_modules/element-ui/lib/locale/lang/is.js
PAMapp/local_modules/element-ui/lib/locale/lang/it.js
PAMapp/local_modules/element-ui/lib/locale/lang/ja.js
PAMapp/local_modules/element-ui/lib/locale/lang/kg.js
PAMapp/local_modules/element-ui/lib/locale/lang/km.js
PAMapp/local_modules/element-ui/lib/locale/lang/ko.js
PAMapp/local_modules/element-ui/lib/locale/lang/ku.js
PAMapp/local_modules/element-ui/lib/locale/lang/kz.js
PAMapp/local_modules/element-ui/lib/locale/lang/lt.js
PAMapp/local_modules/element-ui/lib/locale/lang/lv.js
PAMapp/local_modules/element-ui/lib/locale/lang/mn.js
PAMapp/local_modules/element-ui/lib/locale/lang/ms.js
PAMapp/local_modules/element-ui/lib/locale/lang/nb-NO.js
PAMapp/local_modules/element-ui/lib/locale/lang/nl.js
PAMapp/local_modules/element-ui/lib/locale/lang/pl.js
PAMapp/local_modules/element-ui/lib/locale/lang/pt-br.js
PAMapp/local_modules/element-ui/lib/locale/lang/pt.js
PAMapp/local_modules/element-ui/lib/locale/lang/ro.js
PAMapp/local_modules/element-ui/lib/locale/lang/ru-RU.js
PAMapp/local_modules/element-ui/lib/locale/lang/si.js
PAMapp/local_modules/element-ui/lib/locale/lang/sk.js
PAMapp/local_modules/element-ui/lib/locale/lang/sl.js
PAMapp/local_modules/element-ui/lib/locale/lang/sr.js
PAMapp/local_modules/element-ui/lib/locale/lang/sv-SE.js
PAMapp/local_modules/element-ui/lib/locale/lang/ta.js
PAMapp/local_modules/element-ui/lib/locale/lang/th.js
PAMapp/local_modules/element-ui/lib/locale/lang/tk.js
PAMapp/local_modules/element-ui/lib/locale/lang/tr-TR.js
PAMapp/local_modules/element-ui/lib/locale/lang/ua.js
PAMapp/local_modules/element-ui/lib/locale/lang/ug-CN.js
PAMapp/local_modules/element-ui/lib/locale/lang/uz-UZ.js
PAMapp/local_modules/element-ui/lib/locale/lang/vi.js
PAMapp/local_modules/element-ui/lib/locale/lang/zh-CN.js
PAMapp/local_modules/element-ui/lib/locale/lang/zh-TW.js
PAMapp/local_modules/element-ui/lib/main.js
PAMapp/local_modules/element-ui/lib/menu-item-group.js
PAMapp/local_modules/element-ui/lib/menu-item.js
PAMapp/local_modules/element-ui/lib/menu.js
PAMapp/local_modules/element-ui/lib/message-box.js
PAMapp/local_modules/element-ui/lib/message.js
PAMapp/local_modules/element-ui/lib/mixins/emitter.js
PAMapp/local_modules/element-ui/lib/mixins/focus.js
PAMapp/local_modules/element-ui/lib/mixins/locale.js
PAMapp/local_modules/element-ui/lib/mixins/migrating.js
PAMapp/local_modules/element-ui/lib/notification.js
PAMapp/local_modules/element-ui/lib/option-group.js
PAMapp/local_modules/element-ui/lib/option.js
PAMapp/local_modules/element-ui/lib/page-header.js
PAMapp/local_modules/element-ui/lib/pagination.js
PAMapp/local_modules/element-ui/lib/popconfirm.js
PAMapp/local_modules/element-ui/lib/popover.js
PAMapp/local_modules/element-ui/lib/progress.js
PAMapp/local_modules/element-ui/lib/radio-button.js
PAMapp/local_modules/element-ui/lib/radio-group.js
PAMapp/local_modules/element-ui/lib/radio.js
PAMapp/local_modules/element-ui/lib/rate.js
PAMapp/local_modules/element-ui/lib/result.js
PAMapp/local_modules/element-ui/lib/row.js
PAMapp/local_modules/element-ui/lib/scrollbar.js
PAMapp/local_modules/element-ui/lib/select.js
PAMapp/local_modules/element-ui/lib/skeleton-item.js
PAMapp/local_modules/element-ui/lib/skeleton.js
PAMapp/local_modules/element-ui/lib/slider.js
PAMapp/local_modules/element-ui/lib/spinner.js
PAMapp/local_modules/element-ui/lib/statistic.js
PAMapp/local_modules/element-ui/lib/step.js
PAMapp/local_modules/element-ui/lib/steps.js
PAMapp/local_modules/element-ui/lib/submenu.js
PAMapp/local_modules/element-ui/lib/switch.js
PAMapp/local_modules/element-ui/lib/tab-pane.js
PAMapp/local_modules/element-ui/lib/table-column.js
PAMapp/local_modules/element-ui/lib/table.js
PAMapp/local_modules/element-ui/lib/tabs.js
PAMapp/local_modules/element-ui/lib/tag.js
PAMapp/local_modules/element-ui/lib/theme-chalk/alert.css
PAMapp/local_modules/element-ui/lib/theme-chalk/aside.css
PAMapp/local_modules/element-ui/lib/theme-chalk/autocomplete.css
PAMapp/local_modules/element-ui/lib/theme-chalk/avatar.css
PAMapp/local_modules/element-ui/lib/theme-chalk/backtop.css
PAMapp/local_modules/element-ui/lib/theme-chalk/badge.css
PAMapp/local_modules/element-ui/lib/theme-chalk/base.css
PAMapp/local_modules/element-ui/lib/theme-chalk/breadcrumb-item.css
PAMapp/local_modules/element-ui/lib/theme-chalk/breadcrumb.css
PAMapp/local_modules/element-ui/lib/theme-chalk/button-group.css
PAMapp/local_modules/element-ui/lib/theme-chalk/button.css
PAMapp/local_modules/element-ui/lib/theme-chalk/calendar.css
PAMapp/local_modules/element-ui/lib/theme-chalk/card.css
PAMapp/local_modules/element-ui/lib/theme-chalk/carousel-item.css
PAMapp/local_modules/element-ui/lib/theme-chalk/carousel.css
PAMapp/local_modules/element-ui/lib/theme-chalk/cascader-panel.css
PAMapp/local_modules/element-ui/lib/theme-chalk/cascader.css
PAMapp/local_modules/element-ui/lib/theme-chalk/checkbox-button.css
PAMapp/local_modules/element-ui/lib/theme-chalk/checkbox-group.css
PAMapp/local_modules/element-ui/lib/theme-chalk/checkbox.css
PAMapp/local_modules/element-ui/lib/theme-chalk/col.css
PAMapp/local_modules/element-ui/lib/theme-chalk/collapse-item.css
PAMapp/local_modules/element-ui/lib/theme-chalk/collapse.css
PAMapp/local_modules/element-ui/lib/theme-chalk/color-picker.css
PAMapp/local_modules/element-ui/lib/theme-chalk/container.css
PAMapp/local_modules/element-ui/lib/theme-chalk/date-picker.css
PAMapp/local_modules/element-ui/lib/theme-chalk/descriptions-item.css
PAMapp/local_modules/element-ui/lib/theme-chalk/descriptions.css
PAMapp/local_modules/element-ui/lib/theme-chalk/dialog.css
PAMapp/local_modules/element-ui/lib/theme-chalk/display.css
PAMapp/local_modules/element-ui/lib/theme-chalk/divider.css
PAMapp/local_modules/element-ui/lib/theme-chalk/drawer.css
PAMapp/local_modules/element-ui/lib/theme-chalk/dropdown-item.css
PAMapp/local_modules/element-ui/lib/theme-chalk/dropdown-menu.css
PAMapp/local_modules/element-ui/lib/theme-chalk/dropdown.css
PAMapp/local_modules/element-ui/lib/theme-chalk/empty.css
PAMapp/local_modules/element-ui/lib/theme-chalk/fonts/element-icons.ttf
PAMapp/local_modules/element-ui/lib/theme-chalk/fonts/element-icons.woff
PAMapp/local_modules/element-ui/lib/theme-chalk/footer.css
PAMapp/local_modules/element-ui/lib/theme-chalk/form-item.css
PAMapp/local_modules/element-ui/lib/theme-chalk/form.css
PAMapp/local_modules/element-ui/lib/theme-chalk/header.css
PAMapp/local_modules/element-ui/lib/theme-chalk/icon.css
PAMapp/local_modules/element-ui/lib/theme-chalk/image.css
PAMapp/local_modules/element-ui/lib/theme-chalk/index.css
PAMapp/local_modules/element-ui/lib/theme-chalk/infinite-scroll.css
PAMapp/local_modules/element-ui/lib/theme-chalk/infiniteScroll.css
PAMapp/local_modules/element-ui/lib/theme-chalk/input-number.css
PAMapp/local_modules/element-ui/lib/theme-chalk/input.css
PAMapp/local_modules/element-ui/lib/theme-chalk/link.css
PAMapp/local_modules/element-ui/lib/theme-chalk/loading.css
PAMapp/local_modules/element-ui/lib/theme-chalk/main.css
PAMapp/local_modules/element-ui/lib/theme-chalk/menu-item-group.css
PAMapp/local_modules/element-ui/lib/theme-chalk/menu-item.css
PAMapp/local_modules/element-ui/lib/theme-chalk/menu.css
PAMapp/local_modules/element-ui/lib/theme-chalk/message-box.css
PAMapp/local_modules/element-ui/lib/theme-chalk/message.css
PAMapp/local_modules/element-ui/lib/theme-chalk/notification.css
PAMapp/local_modules/element-ui/lib/theme-chalk/option-group.css
PAMapp/local_modules/element-ui/lib/theme-chalk/option.css
PAMapp/local_modules/element-ui/lib/theme-chalk/page-header.css
PAMapp/local_modules/element-ui/lib/theme-chalk/pagination.css
PAMapp/local_modules/element-ui/lib/theme-chalk/popconfirm.css
PAMapp/local_modules/element-ui/lib/theme-chalk/popover.css
PAMapp/local_modules/element-ui/lib/theme-chalk/popper.css
PAMapp/local_modules/element-ui/lib/theme-chalk/progress.css
PAMapp/local_modules/element-ui/lib/theme-chalk/radio-button.css
PAMapp/local_modules/element-ui/lib/theme-chalk/radio-group.css
PAMapp/local_modules/element-ui/lib/theme-chalk/radio.css
PAMapp/local_modules/element-ui/lib/theme-chalk/rate.css
PAMapp/local_modules/element-ui/lib/theme-chalk/reset.css
PAMapp/local_modules/element-ui/lib/theme-chalk/result.css
PAMapp/local_modules/element-ui/lib/theme-chalk/row.css
PAMapp/local_modules/element-ui/lib/theme-chalk/scrollbar.css
PAMapp/local_modules/element-ui/lib/theme-chalk/select-dropdown.css
PAMapp/local_modules/element-ui/lib/theme-chalk/select.css
PAMapp/local_modules/element-ui/lib/theme-chalk/skeleton-item.css
PAMapp/local_modules/element-ui/lib/theme-chalk/skeleton.css
PAMapp/local_modules/element-ui/lib/theme-chalk/slider.css
PAMapp/local_modules/element-ui/lib/theme-chalk/spinner.css
PAMapp/local_modules/element-ui/lib/theme-chalk/statistic.css
PAMapp/local_modules/element-ui/lib/theme-chalk/step.css
PAMapp/local_modules/element-ui/lib/theme-chalk/steps.css
PAMapp/local_modules/element-ui/lib/theme-chalk/submenu.css
PAMapp/local_modules/element-ui/lib/theme-chalk/switch.css
PAMapp/local_modules/element-ui/lib/theme-chalk/tab-pane.css
PAMapp/local_modules/element-ui/lib/theme-chalk/table-column.css
PAMapp/local_modules/element-ui/lib/theme-chalk/table.css
PAMapp/local_modules/element-ui/lib/theme-chalk/tabs.css
PAMapp/local_modules/element-ui/lib/theme-chalk/tag.css
PAMapp/local_modules/element-ui/lib/theme-chalk/time-picker.css
PAMapp/local_modules/element-ui/lib/theme-chalk/time-select.css
PAMapp/local_modules/element-ui/lib/theme-chalk/timeline-item.css
PAMapp/local_modules/element-ui/lib/theme-chalk/timeline.css
PAMapp/local_modules/element-ui/lib/theme-chalk/tooltip.css
PAMapp/local_modules/element-ui/lib/theme-chalk/transfer.css
PAMapp/local_modules/element-ui/lib/theme-chalk/tree.css
PAMapp/local_modules/element-ui/lib/theme-chalk/upload.css
PAMapp/local_modules/element-ui/lib/time-picker.js
PAMapp/local_modules/element-ui/lib/time-select.js
PAMapp/local_modules/element-ui/lib/timeline-item.js
PAMapp/local_modules/element-ui/lib/timeline.js
PAMapp/local_modules/element-ui/lib/tooltip.js
PAMapp/local_modules/element-ui/lib/transfer.js
PAMapp/local_modules/element-ui/lib/transitions/collapse-transition.js
PAMapp/local_modules/element-ui/lib/tree.js
PAMapp/local_modules/element-ui/lib/umd/locale/af-ZA.js
PAMapp/local_modules/element-ui/lib/umd/locale/ar.js
PAMapp/local_modules/element-ui/lib/umd/locale/az.js
PAMapp/local_modules/element-ui/lib/umd/locale/bg.js
PAMapp/local_modules/element-ui/lib/umd/locale/bn.js
PAMapp/local_modules/element-ui/lib/umd/locale/ca.js
PAMapp/local_modules/element-ui/lib/umd/locale/cs-CZ.js
PAMapp/local_modules/element-ui/lib/umd/locale/da.js
PAMapp/local_modules/element-ui/lib/umd/locale/de.js
PAMapp/local_modules/element-ui/lib/umd/locale/ee.js
PAMapp/local_modules/element-ui/lib/umd/locale/el.js
PAMapp/local_modules/element-ui/lib/umd/locale/en.js
PAMapp/local_modules/element-ui/lib/umd/locale/eo.js
PAMapp/local_modules/element-ui/lib/umd/locale/es.js
PAMapp/local_modules/element-ui/lib/umd/locale/eu.js
PAMapp/local_modules/element-ui/lib/umd/locale/fa.js
PAMapp/local_modules/element-ui/lib/umd/locale/fi.js
PAMapp/local_modules/element-ui/lib/umd/locale/fr.js
PAMapp/local_modules/element-ui/lib/umd/locale/he.js
PAMapp/local_modules/element-ui/lib/umd/locale/hr.js
PAMapp/local_modules/element-ui/lib/umd/locale/hu.js
PAMapp/local_modules/element-ui/lib/umd/locale/hy-AM.js
PAMapp/local_modules/element-ui/lib/umd/locale/id.js
PAMapp/local_modules/element-ui/lib/umd/locale/is.js
PAMapp/local_modules/element-ui/lib/umd/locale/it.js
PAMapp/local_modules/element-ui/lib/umd/locale/ja.js
PAMapp/local_modules/element-ui/lib/umd/locale/kg.js
PAMapp/local_modules/element-ui/lib/umd/locale/km.js
PAMapp/local_modules/element-ui/lib/umd/locale/ko.js
PAMapp/local_modules/element-ui/lib/umd/locale/ku.js
PAMapp/local_modules/element-ui/lib/umd/locale/kz.js
PAMapp/local_modules/element-ui/lib/umd/locale/lt.js
PAMapp/local_modules/element-ui/lib/umd/locale/lv.js
PAMapp/local_modules/element-ui/lib/umd/locale/mn.js
PAMapp/local_modules/element-ui/lib/umd/locale/ms.js
PAMapp/local_modules/element-ui/lib/umd/locale/nb-NO.js
PAMapp/local_modules/element-ui/lib/umd/locale/nl.js
PAMapp/local_modules/element-ui/lib/umd/locale/pl.js
PAMapp/local_modules/element-ui/lib/umd/locale/pt-br.js
PAMapp/local_modules/element-ui/lib/umd/locale/pt.js
PAMapp/local_modules/element-ui/lib/umd/locale/ro.js
PAMapp/local_modules/element-ui/lib/umd/locale/ru-RU.js
PAMapp/local_modules/element-ui/lib/umd/locale/si.js
PAMapp/local_modules/element-ui/lib/umd/locale/sk.js
PAMapp/local_modules/element-ui/lib/umd/locale/sl.js
PAMapp/local_modules/element-ui/lib/umd/locale/sr.js
PAMapp/local_modules/element-ui/lib/umd/locale/sv-SE.js
PAMapp/local_modules/element-ui/lib/umd/locale/ta.js
PAMapp/local_modules/element-ui/lib/umd/locale/th.js
PAMapp/local_modules/element-ui/lib/umd/locale/tk.js
PAMapp/local_modules/element-ui/lib/umd/locale/tr-TR.js
PAMapp/local_modules/element-ui/lib/umd/locale/ua.js
PAMapp/local_modules/element-ui/lib/umd/locale/ug-CN.js
PAMapp/local_modules/element-ui/lib/umd/locale/uz-UZ.js
PAMapp/local_modules/element-ui/lib/umd/locale/vi.js
PAMapp/local_modules/element-ui/lib/umd/locale/zh-CN.js
PAMapp/local_modules/element-ui/lib/umd/locale/zh-TW.js
PAMapp/local_modules/element-ui/lib/upload.js
PAMapp/local_modules/element-ui/lib/utils/after-leave.js
PAMapp/local_modules/element-ui/lib/utils/aria-dialog.js
PAMapp/local_modules/element-ui/lib/utils/aria-utils.js
PAMapp/local_modules/element-ui/lib/utils/clickoutside.js
PAMapp/local_modules/element-ui/lib/utils/date-util.js
PAMapp/local_modules/element-ui/lib/utils/date.js
PAMapp/local_modules/element-ui/lib/utils/dom.js
PAMapp/local_modules/element-ui/lib/utils/lodash.js
PAMapp/local_modules/element-ui/lib/utils/menu/aria-menubar.js
PAMapp/local_modules/element-ui/lib/utils/menu/aria-menuitem.js
PAMapp/local_modules/element-ui/lib/utils/menu/aria-submenu.js
PAMapp/local_modules/element-ui/lib/utils/merge.js
PAMapp/local_modules/element-ui/lib/utils/popper.js
PAMapp/local_modules/element-ui/lib/utils/popup/index.js
PAMapp/local_modules/element-ui/lib/utils/popup/popup-manager.js
PAMapp/local_modules/element-ui/lib/utils/resize-event.js
PAMapp/local_modules/element-ui/lib/utils/scroll-into-view.js
PAMapp/local_modules/element-ui/lib/utils/scrollbar-width.js
PAMapp/local_modules/element-ui/lib/utils/shared.js
PAMapp/local_modules/element-ui/lib/utils/types.js
PAMapp/local_modules/element-ui/lib/utils/util.js
PAMapp/local_modules/element-ui/lib/utils/vdom.js
PAMapp/local_modules/element-ui/lib/utils/vue-popper.js
PAMapp/local_modules/element-ui/package.json
PAMapp/local_modules/element-ui/packages/alert/index.js
PAMapp/local_modules/element-ui/packages/alert/src/main.vue
PAMapp/local_modules/element-ui/packages/aside/index.js
PAMapp/local_modules/element-ui/packages/aside/src/main.vue
PAMapp/local_modules/element-ui/packages/autocomplete/index.js
PAMapp/local_modules/element-ui/packages/autocomplete/src/autocomplete-suggestions.vue
PAMapp/local_modules/element-ui/packages/autocomplete/src/autocomplete.vue
PAMapp/local_modules/element-ui/packages/avatar/index.js
PAMapp/local_modules/element-ui/packages/avatar/src/main.vue
PAMapp/local_modules/element-ui/packages/backtop/index.js
PAMapp/local_modules/element-ui/packages/backtop/src/main.vue
PAMapp/local_modules/element-ui/packages/badge/index.js
PAMapp/local_modules/element-ui/packages/badge/src/main.vue
PAMapp/local_modules/element-ui/packages/breadcrumb-item/index.js
PAMapp/local_modules/element-ui/packages/breadcrumb/index.js
PAMapp/local_modules/element-ui/packages/breadcrumb/src/breadcrumb-item.vue
PAMapp/local_modules/element-ui/packages/breadcrumb/src/breadcrumb.vue
PAMapp/local_modules/element-ui/packages/button-group/index.js
PAMapp/local_modules/element-ui/packages/button/index.js
PAMapp/local_modules/element-ui/packages/button/src/button-group.vue
PAMapp/local_modules/element-ui/packages/button/src/button.vue
PAMapp/local_modules/element-ui/packages/calendar/index.js
PAMapp/local_modules/element-ui/packages/calendar/src/date-table.vue
PAMapp/local_modules/element-ui/packages/calendar/src/main.vue
PAMapp/local_modules/element-ui/packages/card/index.js
PAMapp/local_modules/element-ui/packages/card/src/main.vue
PAMapp/local_modules/element-ui/packages/carousel-item/index.js
PAMapp/local_modules/element-ui/packages/carousel/index.js
PAMapp/local_modules/element-ui/packages/carousel/src/item.vue
PAMapp/local_modules/element-ui/packages/carousel/src/main.vue
PAMapp/local_modules/element-ui/packages/cascader-panel/index.js
PAMapp/local_modules/element-ui/packages/cascader-panel/src/cascader-menu.vue
PAMapp/local_modules/element-ui/packages/cascader-panel/src/cascader-node.vue
PAMapp/local_modules/element-ui/packages/cascader-panel/src/cascader-panel.vue
PAMapp/local_modules/element-ui/packages/cascader-panel/src/node.js
PAMapp/local_modules/element-ui/packages/cascader-panel/src/store.js
PAMapp/local_modules/element-ui/packages/cascader/index.js
PAMapp/local_modules/element-ui/packages/cascader/src/cascader.vue
PAMapp/local_modules/element-ui/packages/checkbox-button/index.js
PAMapp/local_modules/element-ui/packages/checkbox-group/index.js
PAMapp/local_modules/element-ui/packages/checkbox/index.js
PAMapp/local_modules/element-ui/packages/checkbox/src/checkbox-button.vue
PAMapp/local_modules/element-ui/packages/checkbox/src/checkbox-group.vue
PAMapp/local_modules/element-ui/packages/checkbox/src/checkbox.vue
PAMapp/local_modules/element-ui/packages/col/index.js
PAMapp/local_modules/element-ui/packages/col/src/col.js
PAMapp/local_modules/element-ui/packages/collapse-item/index.js
PAMapp/local_modules/element-ui/packages/collapse/index.js
PAMapp/local_modules/element-ui/packages/collapse/src/collapse-item.vue
PAMapp/local_modules/element-ui/packages/collapse/src/collapse.vue
PAMapp/local_modules/element-ui/packages/color-picker/index.js
PAMapp/local_modules/element-ui/packages/color-picker/src/color.js
PAMapp/local_modules/element-ui/packages/color-picker/src/components/alpha-slider.vue
PAMapp/local_modules/element-ui/packages/color-picker/src/components/hue-slider.vue
PAMapp/local_modules/element-ui/packages/color-picker/src/components/picker-dropdown.vue
PAMapp/local_modules/element-ui/packages/color-picker/src/components/predefine.vue
PAMapp/local_modules/element-ui/packages/color-picker/src/components/sv-panel.vue
PAMapp/local_modules/element-ui/packages/color-picker/src/draggable.js
PAMapp/local_modules/element-ui/packages/color-picker/src/main.vue
PAMapp/local_modules/element-ui/packages/container/index.js
PAMapp/local_modules/element-ui/packages/container/src/main.vue
PAMapp/local_modules/element-ui/packages/date-picker/index.js
PAMapp/local_modules/element-ui/packages/date-picker/src/basic/date-table.vue
PAMapp/local_modules/element-ui/packages/date-picker/src/basic/month-table.vue
PAMapp/local_modules/element-ui/packages/date-picker/src/basic/time-spinner.vue
PAMapp/local_modules/element-ui/packages/date-picker/src/basic/year-table.vue
PAMapp/local_modules/element-ui/packages/date-picker/src/panel/date-range.vue
PAMapp/local_modules/element-ui/packages/date-picker/src/panel/date.vue
PAMapp/local_modules/element-ui/packages/date-picker/src/panel/month-range.vue
PAMapp/local_modules/element-ui/packages/date-picker/src/panel/time-range.vue
PAMapp/local_modules/element-ui/packages/date-picker/src/panel/time-select.vue
PAMapp/local_modules/element-ui/packages/date-picker/src/panel/time.vue
PAMapp/local_modules/element-ui/packages/date-picker/src/picker.vue
PAMapp/local_modules/element-ui/packages/date-picker/src/picker/date-picker.js
PAMapp/local_modules/element-ui/packages/date-picker/src/picker/time-picker.js
PAMapp/local_modules/element-ui/packages/date-picker/src/picker/time-select.js
PAMapp/local_modules/element-ui/packages/descriptions-item/index.js
PAMapp/local_modules/element-ui/packages/descriptions/index.js
PAMapp/local_modules/element-ui/packages/descriptions/src/descriptions-item.js
PAMapp/local_modules/element-ui/packages/descriptions/src/descriptions-row.js
PAMapp/local_modules/element-ui/packages/descriptions/src/index.js
PAMapp/local_modules/element-ui/packages/dialog/index.js
PAMapp/local_modules/element-ui/packages/dialog/src/component.vue
PAMapp/local_modules/element-ui/packages/divider/index.js
PAMapp/local_modules/element-ui/packages/divider/src/main.vue
PAMapp/local_modules/element-ui/packages/drawer/index.js
PAMapp/local_modules/element-ui/packages/drawer/src/main.vue
PAMapp/local_modules/element-ui/packages/dropdown-item/index.js
PAMapp/local_modules/element-ui/packages/dropdown-menu/index.js
PAMapp/local_modules/element-ui/packages/dropdown/index.js
PAMapp/local_modules/element-ui/packages/dropdown/src/dropdown-item.vue
PAMapp/local_modules/element-ui/packages/dropdown/src/dropdown-menu.vue
PAMapp/local_modules/element-ui/packages/dropdown/src/dropdown.vue
PAMapp/local_modules/element-ui/packages/empty/index.js
PAMapp/local_modules/element-ui/packages/empty/src/img-empty.vue
PAMapp/local_modules/element-ui/packages/empty/src/index.vue
PAMapp/local_modules/element-ui/packages/footer/index.js
PAMapp/local_modules/element-ui/packages/footer/src/main.vue
PAMapp/local_modules/element-ui/packages/form-item/index.js
PAMapp/local_modules/element-ui/packages/form/index.js
PAMapp/local_modules/element-ui/packages/form/src/form-item.vue
PAMapp/local_modules/element-ui/packages/form/src/form.vue
PAMapp/local_modules/element-ui/packages/form/src/label-wrap.vue
PAMapp/local_modules/element-ui/packages/header/index.js
PAMapp/local_modules/element-ui/packages/header/src/main.vue
PAMapp/local_modules/element-ui/packages/icon/index.js
PAMapp/local_modules/element-ui/packages/icon/src/icon.vue
PAMapp/local_modules/element-ui/packages/image/index.js
PAMapp/local_modules/element-ui/packages/image/src/image-viewer.vue
PAMapp/local_modules/element-ui/packages/image/src/main.vue
PAMapp/local_modules/element-ui/packages/infinite-scroll/index.js
PAMapp/local_modules/element-ui/packages/infinite-scroll/src/main.js
PAMapp/local_modules/element-ui/packages/input-number/index.js
PAMapp/local_modules/element-ui/packages/input-number/src/input-number.vue
PAMapp/local_modules/element-ui/packages/input/index.js
PAMapp/local_modules/element-ui/packages/input/src/calcTextareaHeight.js
PAMapp/local_modules/element-ui/packages/input/src/input.vue
PAMapp/local_modules/element-ui/packages/link/index.js
PAMapp/local_modules/element-ui/packages/link/src/main.vue
PAMapp/local_modules/element-ui/packages/loading/index.js
PAMapp/local_modules/element-ui/packages/loading/src/directive.js
PAMapp/local_modules/element-ui/packages/loading/src/index.js
PAMapp/local_modules/element-ui/packages/loading/src/loading.vue
PAMapp/local_modules/element-ui/packages/main/index.js
PAMapp/local_modules/element-ui/packages/main/src/main.vue
PAMapp/local_modules/element-ui/packages/menu-item-group/index.js
PAMapp/local_modules/element-ui/packages/menu-item/index.js
PAMapp/local_modules/element-ui/packages/menu/index.js
PAMapp/local_modules/element-ui/packages/menu/src/menu-item-group.vue
PAMapp/local_modules/element-ui/packages/menu/src/menu-item.vue
PAMapp/local_modules/element-ui/packages/menu/src/menu-mixin.js
PAMapp/local_modules/element-ui/packages/menu/src/menu.vue
PAMapp/local_modules/element-ui/packages/menu/src/submenu.vue
PAMapp/local_modules/element-ui/packages/message-box/index.js
PAMapp/local_modules/element-ui/packages/message-box/src/main.js
PAMapp/local_modules/element-ui/packages/message-box/src/main.vue
PAMapp/local_modules/element-ui/packages/message/index.js
PAMapp/local_modules/element-ui/packages/message/src/main.js
PAMapp/local_modules/element-ui/packages/message/src/main.vue
PAMapp/local_modules/element-ui/packages/notification/index.js
PAMapp/local_modules/element-ui/packages/notification/src/main.js
PAMapp/local_modules/element-ui/packages/notification/src/main.vue
PAMapp/local_modules/element-ui/packages/option-group/index.js
PAMapp/local_modules/element-ui/packages/option/index.js
PAMapp/local_modules/element-ui/packages/page-header/index.js
PAMapp/local_modules/element-ui/packages/page-header/src/main.vue
PAMapp/local_modules/element-ui/packages/pagination/index.js
PAMapp/local_modules/element-ui/packages/pagination/src/pager.vue
PAMapp/local_modules/element-ui/packages/pagination/src/pagination.js
PAMapp/local_modules/element-ui/packages/popconfirm/index.js
PAMapp/local_modules/element-ui/packages/popconfirm/src/main.vue
PAMapp/local_modules/element-ui/packages/popover/index.js
PAMapp/local_modules/element-ui/packages/popover/src/directive.js
PAMapp/local_modules/element-ui/packages/popover/src/main.vue
PAMapp/local_modules/element-ui/packages/progress/index.js
PAMapp/local_modules/element-ui/packages/progress/src/progress.vue
PAMapp/local_modules/element-ui/packages/radio-button/index.js
PAMapp/local_modules/element-ui/packages/radio-group/index.js
PAMapp/local_modules/element-ui/packages/radio/index.js
PAMapp/local_modules/element-ui/packages/radio/src/radio-button.vue
PAMapp/local_modules/element-ui/packages/radio/src/radio-group.vue
PAMapp/local_modules/element-ui/packages/radio/src/radio.vue
PAMapp/local_modules/element-ui/packages/rate/index.js
PAMapp/local_modules/element-ui/packages/rate/src/main.vue
PAMapp/local_modules/element-ui/packages/result/index.js
PAMapp/local_modules/element-ui/packages/result/src/icon-error.vue
PAMapp/local_modules/element-ui/packages/result/src/icon-info.vue
PAMapp/local_modules/element-ui/packages/result/src/icon-success.vue
PAMapp/local_modules/element-ui/packages/result/src/icon-warning.vue
PAMapp/local_modules/element-ui/packages/result/src/index.vue
PAMapp/local_modules/element-ui/packages/row/index.js
PAMapp/local_modules/element-ui/packages/row/src/row.js
PAMapp/local_modules/element-ui/packages/scrollbar/index.js
PAMapp/local_modules/element-ui/packages/scrollbar/src/bar.js
PAMapp/local_modules/element-ui/packages/scrollbar/src/main.js
PAMapp/local_modules/element-ui/packages/scrollbar/src/util.js
PAMapp/local_modules/element-ui/packages/select/index.js
PAMapp/local_modules/element-ui/packages/select/src/navigation-mixin.js
PAMapp/local_modules/element-ui/packages/select/src/option-group.vue
PAMapp/local_modules/element-ui/packages/select/src/option.vue
PAMapp/local_modules/element-ui/packages/select/src/select-dropdown.vue
PAMapp/local_modules/element-ui/packages/select/src/select.vue
PAMapp/local_modules/element-ui/packages/skeleton-item/index.js
PAMapp/local_modules/element-ui/packages/skeleton/index.js
PAMapp/local_modules/element-ui/packages/skeleton/src/img-placeholder.vue
PAMapp/local_modules/element-ui/packages/skeleton/src/index.vue
PAMapp/local_modules/element-ui/packages/skeleton/src/item.vue
PAMapp/local_modules/element-ui/packages/slider/index.js
PAMapp/local_modules/element-ui/packages/slider/src/button.vue
PAMapp/local_modules/element-ui/packages/slider/src/main.vue
PAMapp/local_modules/element-ui/packages/slider/src/marker.js
PAMapp/local_modules/element-ui/packages/spinner/index.js
PAMapp/local_modules/element-ui/packages/spinner/src/spinner.vue
PAMapp/local_modules/element-ui/packages/statistic/index.js
PAMapp/local_modules/element-ui/packages/statistic/src/main.vue
PAMapp/local_modules/element-ui/packages/step/index.js
PAMapp/local_modules/element-ui/packages/steps/README.md
PAMapp/local_modules/element-ui/packages/steps/index.js
PAMapp/local_modules/element-ui/packages/steps/src/step.vue
PAMapp/local_modules/element-ui/packages/steps/src/steps.vue
PAMapp/local_modules/element-ui/packages/submenu/index.js
PAMapp/local_modules/element-ui/packages/switch/index.js
PAMapp/local_modules/element-ui/packages/switch/src/component.vue
PAMapp/local_modules/element-ui/packages/tab-pane/index.js
PAMapp/local_modules/element-ui/packages/table-column/index.js
PAMapp/local_modules/element-ui/packages/table/index.js
PAMapp/local_modules/element-ui/packages/table/src/config.js
PAMapp/local_modules/element-ui/packages/table/src/dropdown.js
PAMapp/local_modules/element-ui/packages/table/src/filter-panel.vue
PAMapp/local_modules/element-ui/packages/table/src/layout-observer.js
PAMapp/local_modules/element-ui/packages/table/src/store/current.js
PAMapp/local_modules/element-ui/packages/table/src/store/expand.js
PAMapp/local_modules/element-ui/packages/table/src/store/helper.js
PAMapp/local_modules/element-ui/packages/table/src/store/index.js
PAMapp/local_modules/element-ui/packages/table/src/store/tree.js
PAMapp/local_modules/element-ui/packages/table/src/store/watcher.js
PAMapp/local_modules/element-ui/packages/table/src/table-body.js
PAMapp/local_modules/element-ui/packages/table/src/table-column.js
PAMapp/local_modules/element-ui/packages/table/src/table-footer.js
PAMapp/local_modules/element-ui/packages/table/src/table-header.js
PAMapp/local_modules/element-ui/packages/table/src/table-layout.js
PAMapp/local_modules/element-ui/packages/table/src/table-row.js
PAMapp/local_modules/element-ui/packages/table/src/table.vue
PAMapp/local_modules/element-ui/packages/table/src/util.js
PAMapp/local_modules/element-ui/packages/tabs/index.js
PAMapp/local_modules/element-ui/packages/tabs/src/tab-bar.vue
PAMapp/local_modules/element-ui/packages/tabs/src/tab-nav.vue
PAMapp/local_modules/element-ui/packages/tabs/src/tab-pane.vue
PAMapp/local_modules/element-ui/packages/tabs/src/tabs.vue
PAMapp/local_modules/element-ui/packages/tag/index.js
PAMapp/local_modules/element-ui/packages/tag/src/tag.vue
PAMapp/local_modules/element-ui/packages/theme-chalk/README.md
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/alert.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/aside.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/autocomplete.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/avatar.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/backtop.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/badge.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/base.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/breadcrumb-item.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/breadcrumb.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/button-group.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/button.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/calendar.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/card.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/carousel-item.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/carousel.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/cascader-panel.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/cascader.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/checkbox-button.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/checkbox-group.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/checkbox.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/col.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/collapse-item.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/collapse.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/color-picker.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/container.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/date-picker.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/descriptions-item.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/descriptions.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/dialog.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/display.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/divider.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/drawer.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/dropdown-item.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/dropdown-menu.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/dropdown.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/empty.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/fonts/element-icons.ttf
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/fonts/element-icons.woff
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/footer.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/form-item.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/form.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/header.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/icon.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/image.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/index.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/infinite-scroll.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/infiniteScroll.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/input-number.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/input.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/link.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/loading.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/main.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/menu-item-group.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/menu-item.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/menu.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/message-box.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/message.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/notification.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/option-group.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/option.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/page-header.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/pagination.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/popconfirm.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/popover.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/popper.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/progress.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/radio-button.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/radio-group.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/radio.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/rate.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/reset.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/result.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/row.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/scrollbar.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/select-dropdown.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/select.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/skeleton-item.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/skeleton.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/slider.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/spinner.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/statistic.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/step.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/steps.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/submenu.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/switch.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/tab-pane.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/table-column.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/table.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/tabs.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/tag.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/time-picker.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/time-select.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/timeline-item.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/timeline.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/tooltip.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/transfer.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/tree.css
PAMapp/local_modules/element-ui/packages/theme-chalk/lib/upload.css
PAMapp/local_modules/element-ui/packages/theme-chalk/src/alert.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/aside.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/autocomplete.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/avatar.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/backtop.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/badge.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/base.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/breadcrumb-item.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/breadcrumb.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/button-group.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/button.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/calendar.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/card.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/carousel-item.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/carousel.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/cascader-panel.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/cascader.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/checkbox-button.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/checkbox-group.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/checkbox.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/col.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/collapse-item.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/collapse.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/color-picker.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/common/popup.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/common/transition.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/common/var.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/container.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/date-picker.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/date-picker/date-picker.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/date-picker/date-range-picker.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/date-picker/date-table.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/date-picker/month-table.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/date-picker/picker-panel.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/date-picker/picker.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/date-picker/time-picker.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/date-picker/time-range-picker.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/date-picker/time-spinner.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/date-picker/year-table.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/descriptions-item.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/descriptions.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/dialog.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/display.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/divider.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/drawer.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/dropdown-item.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/dropdown-menu.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/dropdown.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/empty.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/fonts/element-icons.ttf
PAMapp/local_modules/element-ui/packages/theme-chalk/src/fonts/element-icons.woff
PAMapp/local_modules/element-ui/packages/theme-chalk/src/footer.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/form-item.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/form.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/header.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/icon.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/image.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/index.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/infinite-scroll.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/infiniteScroll.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/input-number.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/input.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/link.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/loading.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/main.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/menu-item-group.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/menu-item.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/menu.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/message-box.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/message.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/mixins/_button.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/mixins/config.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/mixins/function.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/mixins/mixins.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/mixins/utils.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/notification.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/option-group.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/option.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/page-header.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/pagination.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/popconfirm.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/popover.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/popper.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/progress.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/radio-button.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/radio-group.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/radio.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/rate.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/reset.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/result.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/row.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/scrollbar.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/select-dropdown.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/select.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/skeleton-item.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/skeleton.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/slider.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/spinner.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/statistic.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/step.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/steps.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/submenu.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/switch.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/tab-pane.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/table-column.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/table.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/tabs.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/tag.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/time-picker.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/time-select.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/timeline-item.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/timeline.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/tooltip.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/transfer.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/tree.scss
PAMapp/local_modules/element-ui/packages/theme-chalk/src/upload.scss
PAMapp/local_modules/element-ui/packages/time-picker/index.js
PAMapp/local_modules/element-ui/packages/time-select/index.js
PAMapp/local_modules/element-ui/packages/timeline-item/index.js
PAMapp/local_modules/element-ui/packages/timeline/index.js
PAMapp/local_modules/element-ui/packages/timeline/src/item.vue
PAMapp/local_modules/element-ui/packages/timeline/src/main.vue
PAMapp/local_modules/element-ui/packages/tooltip/index.js
PAMapp/local_modules/element-ui/packages/tooltip/src/main.js
PAMapp/local_modules/element-ui/packages/transfer/index.js
PAMapp/local_modules/element-ui/packages/transfer/src/main.vue
PAMapp/local_modules/element-ui/packages/transfer/src/transfer-panel.vue
PAMapp/local_modules/element-ui/packages/tree/index.js
PAMapp/local_modules/element-ui/packages/tree/src/model/node.js
PAMapp/local_modules/element-ui/packages/tree/src/model/tree-store.js
PAMapp/local_modules/element-ui/packages/tree/src/model/util.js
PAMapp/local_modules/element-ui/packages/tree/src/tree-node.vue
PAMapp/local_modules/element-ui/packages/tree/src/tree.vue
PAMapp/local_modules/element-ui/packages/upload/index.js
PAMapp/local_modules/element-ui/packages/upload/src/ajax.js
PAMapp/local_modules/element-ui/packages/upload/src/index.vue
PAMapp/local_modules/element-ui/packages/upload/src/upload-dragger.vue
PAMapp/local_modules/element-ui/packages/upload/src/upload-list.vue
PAMapp/local_modules/element-ui/packages/upload/src/upload.vue
PAMapp/local_modules/element-ui/src/directives/mousewheel.js
PAMapp/local_modules/element-ui/src/directives/repeat-click.js
PAMapp/local_modules/element-ui/src/index.js
PAMapp/local_modules/element-ui/src/locale/format.js
PAMapp/local_modules/element-ui/src/locale/index.js
PAMapp/local_modules/element-ui/src/locale/lang/af-ZA.js
PAMapp/local_modules/element-ui/src/locale/lang/ar.js
PAMapp/local_modules/element-ui/src/locale/lang/az.js
PAMapp/local_modules/element-ui/src/locale/lang/bg.js
PAMapp/local_modules/element-ui/src/locale/lang/bn.js
PAMapp/local_modules/element-ui/src/locale/lang/ca.js
PAMapp/local_modules/element-ui/src/locale/lang/cs-CZ.js
PAMapp/local_modules/element-ui/src/locale/lang/da.js
PAMapp/local_modules/element-ui/src/locale/lang/de.js
PAMapp/local_modules/element-ui/src/locale/lang/ee.js
PAMapp/local_modules/element-ui/src/locale/lang/el.js
PAMapp/local_modules/element-ui/src/locale/lang/en.js
PAMapp/local_modules/element-ui/src/locale/lang/eo.js
PAMapp/local_modules/element-ui/src/locale/lang/es.js
PAMapp/local_modules/element-ui/src/locale/lang/eu.js
PAMapp/local_modules/element-ui/src/locale/lang/fa.js
PAMapp/local_modules/element-ui/src/locale/lang/fi.js
PAMapp/local_modules/element-ui/src/locale/lang/fr.js
PAMapp/local_modules/element-ui/src/locale/lang/he.js
PAMapp/local_modules/element-ui/src/locale/lang/hr.js
PAMapp/local_modules/element-ui/src/locale/lang/hu.js
PAMapp/local_modules/element-ui/src/locale/lang/hy-AM.js
PAMapp/local_modules/element-ui/src/locale/lang/id.js
PAMapp/local_modules/element-ui/src/locale/lang/is.js
PAMapp/local_modules/element-ui/src/locale/lang/it.js
PAMapp/local_modules/element-ui/src/locale/lang/ja.js
PAMapp/local_modules/element-ui/src/locale/lang/kg.js
PAMapp/local_modules/element-ui/src/locale/lang/km.js
PAMapp/local_modules/element-ui/src/locale/lang/ko.js
PAMapp/local_modules/element-ui/src/locale/lang/ku.js
PAMapp/local_modules/element-ui/src/locale/lang/kz.js
PAMapp/local_modules/element-ui/src/locale/lang/lt.js
PAMapp/local_modules/element-ui/src/locale/lang/lv.js
PAMapp/local_modules/element-ui/src/locale/lang/mn.js
PAMapp/local_modules/element-ui/src/locale/lang/ms.js
PAMapp/local_modules/element-ui/src/locale/lang/nb-NO.js
PAMapp/local_modules/element-ui/src/locale/lang/nl.js
PAMapp/local_modules/element-ui/src/locale/lang/pl.js
PAMapp/local_modules/element-ui/src/locale/lang/pt-br.js
PAMapp/local_modules/element-ui/src/locale/lang/pt.js
PAMapp/local_modules/element-ui/src/locale/lang/ro.js
PAMapp/local_modules/element-ui/src/locale/lang/ru-RU.js
PAMapp/local_modules/element-ui/src/locale/lang/si.js
PAMapp/local_modules/element-ui/src/locale/lang/sk.js
PAMapp/local_modules/element-ui/src/locale/lang/sl.js
PAMapp/local_modules/element-ui/src/locale/lang/sr.js
PAMapp/local_modules/element-ui/src/locale/lang/sv-SE.js
PAMapp/local_modules/element-ui/src/locale/lang/ta.js
PAMapp/local_modules/element-ui/src/locale/lang/th.js
PAMapp/local_modules/element-ui/src/locale/lang/tk.js
PAMapp/local_modules/element-ui/src/locale/lang/tr-TR.js
PAMapp/local_modules/element-ui/src/locale/lang/ua.js
PAMapp/local_modules/element-ui/src/locale/lang/ug-CN.js
PAMapp/local_modules/element-ui/src/locale/lang/uz-UZ.js
PAMapp/local_modules/element-ui/src/locale/lang/vi.js
PAMapp/local_modules/element-ui/src/locale/lang/zh-CN.js
PAMapp/local_modules/element-ui/src/locale/lang/zh-TW.js
PAMapp/local_modules/element-ui/src/mixins/emitter.js
PAMapp/local_modules/element-ui/src/mixins/focus.js
PAMapp/local_modules/element-ui/src/mixins/locale.js
PAMapp/local_modules/element-ui/src/mixins/migrating.js
PAMapp/local_modules/element-ui/src/transitions/collapse-transition.js
PAMapp/local_modules/element-ui/src/utils/after-leave.js
PAMapp/local_modules/element-ui/src/utils/aria-dialog.js
PAMapp/local_modules/element-ui/src/utils/aria-utils.js
PAMapp/local_modules/element-ui/src/utils/clickoutside.js
PAMapp/local_modules/element-ui/src/utils/date-util.js
PAMapp/local_modules/element-ui/src/utils/date.js
PAMapp/local_modules/element-ui/src/utils/dom.js
PAMapp/local_modules/element-ui/src/utils/lodash.js
PAMapp/local_modules/element-ui/src/utils/menu/aria-menubar.js
PAMapp/local_modules/element-ui/src/utils/menu/aria-menuitem.js
PAMapp/local_modules/element-ui/src/utils/menu/aria-submenu.js
PAMapp/local_modules/element-ui/src/utils/merge.js
PAMapp/local_modules/element-ui/src/utils/popper.js
PAMapp/local_modules/element-ui/src/utils/popup/index.js
PAMapp/local_modules/element-ui/src/utils/popup/popup-manager.js
PAMapp/local_modules/element-ui/src/utils/resize-event.js
PAMapp/local_modules/element-ui/src/utils/scroll-into-view.js
PAMapp/local_modules/element-ui/src/utils/scrollbar-width.js
PAMapp/local_modules/element-ui/src/utils/shared.js
PAMapp/local_modules/element-ui/src/utils/types.js
PAMapp/local_modules/element-ui/src/utils/util.js
PAMapp/local_modules/element-ui/src/utils/vdom.js
PAMapp/local_modules/element-ui/src/utils/vue-popper.js
PAMapp/local_modules/element-ui/types/alert.d.ts
PAMapp/local_modules/element-ui/types/aside.d.ts
PAMapp/local_modules/element-ui/types/autocomplete.d.ts
PAMapp/local_modules/element-ui/types/avatar.d.ts
PAMapp/local_modules/element-ui/types/backtop.d.ts
PAMapp/local_modules/element-ui/types/badge.d.ts
PAMapp/local_modules/element-ui/types/breadcrumb-item.d.ts
PAMapp/local_modules/element-ui/types/breadcrumb.d.ts
PAMapp/local_modules/element-ui/types/button-group.d.ts
PAMapp/local_modules/element-ui/types/button.d.ts
PAMapp/local_modules/element-ui/types/calendar.d.ts
PAMapp/local_modules/element-ui/types/card.d.ts
PAMapp/local_modules/element-ui/types/carousel-item.d.ts
PAMapp/local_modules/element-ui/types/carousel.d.ts
PAMapp/local_modules/element-ui/types/cascader-panel.d.ts
PAMapp/local_modules/element-ui/types/cascader.d.ts
PAMapp/local_modules/element-ui/types/checkbox-button.d.ts
PAMapp/local_modules/element-ui/types/checkbox-group.d.ts
PAMapp/local_modules/element-ui/types/checkbox.d.ts
PAMapp/local_modules/element-ui/types/col.d.ts
PAMapp/local_modules/element-ui/types/collapse-item.d.ts
PAMapp/local_modules/element-ui/types/collapse.d.ts
PAMapp/local_modules/element-ui/types/color-picker.d.ts
PAMapp/local_modules/element-ui/types/component.d.ts
PAMapp/local_modules/element-ui/types/container.d.ts
PAMapp/local_modules/element-ui/types/date-picker.d.ts
PAMapp/local_modules/element-ui/types/descriptions-item.d.ts
PAMapp/local_modules/element-ui/types/descriptions.d.ts
PAMapp/local_modules/element-ui/types/dialog.d.ts
PAMapp/local_modules/element-ui/types/divider.d.ts
PAMapp/local_modules/element-ui/types/drawer.d.ts
PAMapp/local_modules/element-ui/types/dropdown-item.d.ts
PAMapp/local_modules/element-ui/types/dropdown-menu.d.ts
PAMapp/local_modules/element-ui/types/dropdown.d.ts
PAMapp/local_modules/element-ui/types/element-ui.d.ts
PAMapp/local_modules/element-ui/types/empty.d.ts
PAMapp/local_modules/element-ui/types/footer.d.ts
PAMapp/local_modules/element-ui/types/form-item.d.ts
PAMapp/local_modules/element-ui/types/form.d.ts
PAMapp/local_modules/element-ui/types/header.d.ts
PAMapp/local_modules/element-ui/types/icon.d.ts
PAMapp/local_modules/element-ui/types/image.d.ts
PAMapp/local_modules/element-ui/types/index.d.ts
PAMapp/local_modules/element-ui/types/infinite-scroll.d.ts
PAMapp/local_modules/element-ui/types/input-number.d.ts
PAMapp/local_modules/element-ui/types/input.d.ts
PAMapp/local_modules/element-ui/types/link.d.ts
PAMapp/local_modules/element-ui/types/loading.d.ts
PAMapp/local_modules/element-ui/types/main.d.ts
PAMapp/local_modules/element-ui/types/menu-item-group.d.ts
PAMapp/local_modules/element-ui/types/menu-item.d.ts
PAMapp/local_modules/element-ui/types/menu.d.ts
PAMapp/local_modules/element-ui/types/message-box.d.ts
PAMapp/local_modules/element-ui/types/message.d.ts
PAMapp/local_modules/element-ui/types/notification.d.ts
PAMapp/local_modules/element-ui/types/option-group.d.ts
PAMapp/local_modules/element-ui/types/option.d.ts
PAMapp/local_modules/element-ui/types/page-header.d.ts
PAMapp/local_modules/element-ui/types/pagination.d.ts
PAMapp/local_modules/element-ui/types/popconfirm.d.ts
PAMapp/local_modules/element-ui/types/popover.d.ts
PAMapp/local_modules/element-ui/types/progress.d.ts
PAMapp/local_modules/element-ui/types/radio-button.d.ts
PAMapp/local_modules/element-ui/types/radio-group.d.ts
PAMapp/local_modules/element-ui/types/radio.d.ts
PAMapp/local_modules/element-ui/types/rate.d.ts
PAMapp/local_modules/element-ui/types/result.d.ts
PAMapp/local_modules/element-ui/types/row.d.ts
PAMapp/local_modules/element-ui/types/select.d.ts
PAMapp/local_modules/element-ui/types/skeleton-item.d.ts
PAMapp/local_modules/element-ui/types/skeleton.d.ts
PAMapp/local_modules/element-ui/types/slider.d.ts
PAMapp/local_modules/element-ui/types/spinner.d.ts
PAMapp/local_modules/element-ui/types/statistic.d.ts
PAMapp/local_modules/element-ui/types/step.d.ts
PAMapp/local_modules/element-ui/types/steps.d.ts
PAMapp/local_modules/element-ui/types/submenu.d.ts
PAMapp/local_modules/element-ui/types/switch.d.ts
PAMapp/local_modules/element-ui/types/tab-pane.d.ts
PAMapp/local_modules/element-ui/types/table-column.d.ts
PAMapp/local_modules/element-ui/types/table.d.ts
PAMapp/local_modules/element-ui/types/tabs.d.ts
PAMapp/local_modules/element-ui/types/tag.d.ts
PAMapp/local_modules/element-ui/types/time-picker.d.ts
PAMapp/local_modules/element-ui/types/time-select.d.ts
PAMapp/local_modules/element-ui/types/timeline-item.d.ts
PAMapp/local_modules/element-ui/types/timeline.d.ts
PAMapp/local_modules/element-ui/types/tooltip.d.ts
PAMapp/local_modules/element-ui/types/transfer.d.ts
PAMapp/local_modules/element-ui/types/tree.d.ts
PAMapp/local_modules/element-ui/types/upload.d.ts
PAMapp/local_modules/element-ui/web-types.json
PAMapp/package-lock.json
PAMapp/package.json |