cy-element-ui 1.0.87 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +148 -172
- package/lib/index.js +1 -58539
- package/lib/theme-chalk/alert.css +1 -0
- package/lib/theme-chalk/aside.css +1 -0
- package/lib/theme-chalk/autocomplete.css +1 -0
- package/lib/theme-chalk/avatar.css +1 -0
- package/lib/theme-chalk/backtop.css +1 -0
- package/lib/theme-chalk/badge.css +1 -0
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/breadcrumb.css +1 -0
- package/lib/theme-chalk/button.css +1 -0
- package/lib/theme-chalk/calendar.css +1 -0
- package/lib/theme-chalk/card.css +1 -0
- package/lib/theme-chalk/carousel-item.css +1 -0
- package/lib/theme-chalk/carousel.css +1 -0
- package/lib/theme-chalk/cascader-panel.css +1 -0
- package/lib/theme-chalk/cascader.css +1 -0
- package/lib/theme-chalk/checkbox.css +1 -0
- package/lib/theme-chalk/col.css +1 -0
- package/lib/theme-chalk/collapse.css +1 -0
- package/lib/theme-chalk/color-picker.css +1 -0
- package/lib/theme-chalk/container.css +1 -0
- package/lib/theme-chalk/date-picker.css +1 -0
- package/lib/theme-chalk/descriptions-item.css +1 -0
- package/lib/theme-chalk/descriptions.css +1 -0
- package/lib/theme-chalk/dialog.css +1 -0
- package/lib/theme-chalk/display.css +1 -0
- package/lib/theme-chalk/divider.css +1 -0
- package/lib/theme-chalk/drawer.css +1 -0
- package/lib/theme-chalk/dropdown.css +1 -0
- package/lib/theme-chalk/empty.css +1 -0
- package/lib/theme-chalk/footer.css +1 -0
- package/lib/theme-chalk/form.css +1 -0
- package/lib/theme-chalk/header.css +1 -0
- package/lib/theme-chalk/icon.css +1 -0
- package/lib/theme-chalk/image.css +1 -0
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/input-number.css +1 -0
- package/lib/theme-chalk/input.css +1 -0
- package/lib/theme-chalk/link.css +1 -0
- package/lib/theme-chalk/loading.css +1 -0
- package/lib/theme-chalk/main.css +1 -0
- package/lib/theme-chalk/menu.css +1 -0
- package/lib/theme-chalk/message-box.css +1 -0
- package/lib/theme-chalk/message.css +1 -0
- package/lib/theme-chalk/notification.css +1 -0
- package/lib/theme-chalk/option-group.css +1 -0
- package/lib/theme-chalk/option.css +1 -0
- package/lib/theme-chalk/page-header.css +1 -0
- package/lib/theme-chalk/pagination.css +1 -0
- package/lib/theme-chalk/popconfirm.css +1 -0
- package/lib/theme-chalk/popover.css +1 -0
- package/lib/theme-chalk/popper.css +1 -0
- package/lib/theme-chalk/progress.css +1 -0
- package/lib/theme-chalk/radio-button.css +1 -0
- package/lib/theme-chalk/radio-group.css +1 -0
- package/lib/theme-chalk/radio.css +1 -0
- package/lib/theme-chalk/rate.css +1 -0
- package/lib/theme-chalk/reset.css +1 -0
- package/lib/theme-chalk/result.css +1 -0
- package/lib/theme-chalk/row.css +1 -0
- package/lib/theme-chalk/scrollbar.css +1 -0
- package/lib/theme-chalk/select-dropdown.css +1 -0
- package/lib/theme-chalk/select.css +1 -0
- package/lib/theme-chalk/skeleton-item.css +1 -0
- package/lib/theme-chalk/skeleton.css +1 -0
- package/lib/theme-chalk/slider.css +1 -0
- package/lib/theme-chalk/spinner.css +1 -0
- package/lib/theme-chalk/statistic.css +1 -0
- package/lib/theme-chalk/step.css +1 -0
- package/lib/theme-chalk/steps.css +1 -0
- package/lib/theme-chalk/switch.css +1 -0
- package/lib/theme-chalk/table-column.css +1 -0
- package/lib/theme-chalk/table.css +1 -0
- package/lib/theme-chalk/tabs.css +1 -0
- package/lib/theme-chalk/tag.css +1 -0
- package/lib/theme-chalk/time-picker.css +1 -0
- package/lib/theme-chalk/time-select.css +1 -0
- package/lib/theme-chalk/timeline-item.css +1 -0
- package/lib/theme-chalk/timeline.css +1 -0
- package/lib/theme-chalk/tooltip.css +1 -0
- package/lib/theme-chalk/transfer.css +1 -0
- package/lib/theme-chalk/tree.css +1 -0
- package/lib/theme-chalk/upload.css +1 -0
- package/package.json +150 -159
- package/packages/alert/index.js +8 -8
- package/packages/alert/src/main.vue +94 -94
- package/packages/aside/index.js +8 -8
- package/packages/aside/src/main.vue +20 -20
- package/packages/autocomplete/index.js +8 -8
- package/packages/autocomplete/src/autocomplete-suggestions.vue +76 -76
- package/packages/autocomplete/src/autocomplete.vue +285 -285
- package/packages/avatar/index.js +8 -8
- package/packages/avatar/src/main.vue +107 -107
- package/packages/backtop/index.js +8 -8
- package/packages/backtop/src/main.vue +110 -110
- package/packages/badge/index.js +8 -8
- package/packages/badge/src/main.vue +53 -53
- package/packages/breadcrumb/index.js +8 -8
- package/packages/breadcrumb/src/breadcrumb-item.vue +41 -41
- package/packages/breadcrumb/src/breadcrumb.vue +34 -34
- package/packages/breadcrumb-item/index.js +8 -8
- package/packages/button/index.js +8 -8
- package/packages/button/src/button-group.vue +10 -10
- package/packages/button/src/button.vue +78 -78
- package/packages/button-group/index.js +8 -8
- package/packages/calendar/index.js +8 -8
- package/packages/calendar/src/date-table.vue +200 -200
- package/packages/calendar/src/main.vue +280 -280
- package/packages/card/index.js +8 -8
- package/packages/card/src/main.vue +23 -23
- package/packages/carousel/index.js +8 -8
- package/packages/carousel/src/item.vue +138 -138
- package/packages/carousel/src/main.vue +315 -315
- package/packages/carousel-item/index.js +8 -8
- package/packages/cascader/index.js +8 -8
- package/packages/cascader/src/cascader.vue +663 -663
- package/packages/cascader-panel/index.js +8 -8
- package/packages/cascader-panel/src/cascader-menu.vue +138 -138
- package/packages/cascader-panel/src/cascader-node.vue +246 -246
- package/packages/cascader-panel/src/cascader-panel.vue +391 -391
- package/packages/cascader-panel/src/node.js +166 -165
- package/packages/cascader-panel/src/store.js +58 -57
- package/packages/checkbox/index.js +8 -8
- package/packages/checkbox/src/checkbox-button.vue +199 -199
- package/packages/checkbox/src/checkbox-group.vue +48 -48
- package/packages/checkbox/src/checkbox.vue +222 -222
- package/packages/checkbox-button/index.js +8 -8
- package/packages/checkbox-group/index.js +8 -8
- package/packages/col/index.js +9 -9
- package/packages/col/src/col.js +71 -71
- package/packages/collapse/index.js +9 -9
- package/packages/collapse/src/collapse-item.vue +114 -114
- package/packages/collapse/src/collapse.vue +73 -73
- package/packages/collapse-item/index.js +8 -8
- package/packages/color-picker/index.js +8 -8
- package/packages/color-picker/src/color.js +317 -317
- package/packages/color-picker/src/components/alpha-slider.vue +132 -132
- package/packages/color-picker/src/components/hue-slider.vue +123 -123
- package/packages/color-picker/src/components/picker-dropdown.vue +121 -121
- package/packages/color-picker/src/components/predefine.vue +61 -61
- package/packages/color-picker/src/components/sv-panel.vue +100 -100
- package/packages/color-picker/src/draggable.js +36 -36
- package/packages/color-picker/src/main.vue +188 -188
- package/packages/container/index.js +8 -8
- package/packages/container/src/main.vue +33 -33
- package/packages/date-picker/index.js +8 -8
- package/packages/date-picker/src/basic/date-table.vue +441 -441
- package/packages/date-picker/src/basic/month-table.vue +269 -268
- package/packages/date-picker/src/basic/time-spinner.vue +304 -304
- package/packages/date-picker/src/basic/year-table.vue +111 -111
- package/packages/date-picker/src/panel/date-range.vue +680 -680
- package/packages/date-picker/src/panel/date.vue +609 -609
- package/packages/date-picker/src/panel/month-range.vue +289 -289
- package/packages/date-picker/src/panel/time-range.vue +248 -248
- package/packages/date-picker/src/panel/time-select.vue +178 -178
- package/packages/date-picker/src/panel/time.vue +186 -186
- package/packages/date-picker/src/picker/date-picker.js +43 -43
- package/packages/date-picker/src/picker/time-picker.js +39 -39
- package/packages/date-picker/src/picker/time-select.js +21 -21
- package/packages/date-picker/src/picker.vue +932 -390
- package/packages/descriptions/index.js +8 -8
- package/packages/descriptions/src/descriptions-item.js +30 -30
- package/packages/descriptions/src/descriptions-row.js +116 -116
- package/packages/descriptions/src/index.js +180 -180
- package/packages/descriptions-item/index.js +8 -8
- package/packages/dialog/index.js +8 -8
- package/packages/dialog/src/component.vue +212 -212
- package/packages/divider/index.js +8 -8
- package/packages/divider/src/main.vue +37 -37
- package/packages/drawer/index.js +8 -8
- package/packages/drawer/src/main.vue +205 -205
- package/packages/dropdown/index.js +8 -8
- package/packages/dropdown/src/dropdown-item.vue +37 -37
- package/packages/dropdown/src/dropdown-menu.vue +63 -63
- package/packages/dropdown/src/dropdown.vue +293 -293
- package/packages/dropdown-item/index.js +8 -8
- package/packages/dropdown-menu/index.js +8 -8
- package/packages/empty/index.js +7 -7
- package/packages/empty/src/img-empty.vue +132 -132
- package/packages/empty/src/index.vue +50 -50
- package/packages/footer/index.js +8 -8
- package/packages/footer/src/main.vue +20 -20
- package/packages/form/index.js +8 -8
- package/packages/form/src/form-item.vue +294 -334
- package/packages/form/src/form.vue +182 -182
- package/packages/form/src/label-wrap.vue +78 -0
- package/packages/form-item/index.js +8 -8
- package/packages/header/index.js +8 -8
- package/packages/header/src/main.vue +20 -20
- package/packages/icon/index.js +8 -8
- package/packages/icon/src/icon.vue +13 -13
- package/packages/image/index.js +8 -8
- package/packages/image/src/image-viewer.vue +330 -330
- package/packages/image/src/main.vue +249 -249
- package/packages/infinite-scroll/index.js +8 -8
- package/packages/infinite-scroll/src/main.js +150 -149
- package/packages/input/index.js +8 -8
- package/packages/input/src/calcTextareaHeight.js +104 -104
- package/packages/input/src/input.vue +440 -440
- package/packages/input-number/index.js +8 -8
- package/packages/input-number/src/input-number.vue +286 -286
- package/packages/link/index.js +8 -8
- package/packages/link/src/main.vue +53 -53
- package/packages/loading/index.js +11 -11
- package/packages/loading/src/directive.js +133 -133
- package/packages/loading/src/index.js +106 -106
- package/packages/loading/src/loading.vue +41 -41
- package/packages/main/index.js +8 -8
- package/packages/main/src/main.vue +12 -12
- package/packages/menu/index.js +8 -8
- package/packages/menu/src/menu-item-group.vue +45 -45
- package/packages/menu/src/menu-item.vue +112 -112
- package/packages/menu/src/menu-mixin.js +44 -44
- package/packages/menu/src/menu.vue +325 -325
- package/packages/menu/src/submenu.vue +349 -348
- package/packages/menu-item/index.js +8 -8
- package/packages/menu-item-group/index.js +8 -8
- package/packages/message/index.js +2 -2
- package/packages/message/src/main.js +91 -91
- package/packages/message/src/main.vue +117 -117
- package/packages/message-box/index.js +2 -2
- package/packages/message-box/src/main.js +216 -216
- package/packages/message-box/src/main.vue +332 -332
- package/packages/notification/index.js +2 -2
- package/packages/notification/src/main.js +94 -94
- package/packages/notification/src/main.vue +152 -152
- package/packages/option/index.js +8 -8
- package/packages/option-group/index.js +8 -8
- package/packages/page-header/index.js +8 -8
- package/packages/page-header/src/main.vue +30 -30
- package/packages/pagination/index.js +8 -8
- package/packages/pagination/src/pager.vue +163 -163
- package/packages/pagination/src/pagination.js +386 -386
- package/packages/popconfirm/index.js +8 -8
- package/packages/popconfirm/src/main.vue +104 -104
- package/packages/popover/index.js +14 -14
- package/packages/popover/src/directive.js +20 -20
- package/packages/popover/src/main.vue +237 -237
- package/packages/progress/index.js +8 -8
- package/packages/progress/src/progress.vue +235 -235
- package/packages/radio/index.js +8 -8
- package/packages/radio/src/radio-button.vue +115 -115
- package/packages/radio/src/radio-group.vue +113 -113
- package/packages/radio/src/radio.vue +134 -134
- package/packages/radio-button/index.js +8 -8
- package/packages/radio-group/index.js +8 -8
- package/packages/rate/index.js +8 -8
- package/packages/rate/src/main.vue +348 -348
- package/packages/result/index.js +8 -8
- package/packages/result/src/icon-error.vue +13 -13
- package/packages/result/src/icon-info.vue +13 -13
- package/packages/result/src/icon-success.vue +13 -13
- package/packages/result/src/icon-warning.vue +13 -13
- package/packages/result/src/index.vue +65 -65
- package/packages/row/index.js +9 -9
- package/packages/row/src/row.js +44 -44
- package/packages/scrollbar/index.js +8 -8
- package/packages/scrollbar/src/bar.js +92 -92
- package/packages/scrollbar/src/main.js +130 -130
- package/packages/scrollbar/src/util.js +34 -34
- package/packages/select/index.js +8 -8
- package/packages/select/src/navigation-mixin.js +54 -54
- package/packages/select/src/option-group.vue +60 -60
- package/packages/select/src/option.vue +168 -168
- package/packages/select/src/select-dropdown.vue +74 -74
- package/packages/select/src/select.vue +900 -900
- package/packages/skeleton/index.js +8 -8
- package/packages/skeleton/src/img-placeholder.vue +16 -16
- package/packages/skeleton/src/index.vue +76 -76
- package/packages/skeleton/src/item.vue +22 -22
- package/packages/skeleton-item/index.js +8 -8
- package/packages/slider/index.js +8 -8
- package/packages/slider/src/button.vue +238 -238
- package/packages/slider/src/main.vue +427 -427
- package/packages/slider/src/marker.js +18 -18
- package/packages/spinner/index.js +8 -8
- package/packages/spinner/src/spinner.vue +27 -27
- package/packages/statistic/index.js +8 -8
- package/packages/statistic/src/main.vue +204 -203
- package/packages/step/index.js +8 -8
- package/packages/steps/README.md +69 -69
- package/packages/steps/index.js +8 -8
- package/packages/steps/src/step.vue +184 -184
- package/packages/steps/src/steps.vue +68 -68
- package/packages/submenu/index.js +8 -8
- package/packages/switch/index.js +9 -9
- package/packages/switch/src/component.vue +174 -174
- package/packages/tab-pane/index.js +8 -8
- package/packages/table/index.js +8 -8
- package/packages/table/src/config.js +124 -124
- package/packages/table/src/dropdown.js +28 -28
- package/packages/table/src/filter-panel.vue +194 -194
- package/packages/table/src/layout-observer.js +68 -68
- package/packages/table/src/store/current.js +76 -76
- package/packages/table/src/store/expand.js +65 -65
- package/packages/table/src/store/helper.js +41 -41
- package/packages/table/src/store/index.js +147 -147
- package/packages/table/src/store/tree.js +209 -209
- package/packages/table/src/store/watcher.js +381 -381
- package/packages/table/src/table-body.js +469 -469
- package/packages/table/src/table-column.js +319 -319
- package/packages/table/src/table-footer.js +153 -153
- package/packages/table/src/table-header.js +511 -511
- package/packages/table/src/table-layout.js +249 -249
- package/packages/table/src/table-row.js +101 -101
- package/packages/table/src/table.vue +712 -718
- package/packages/table/src/util.js +273 -273
- package/packages/table-column/index.js +8 -8
- package/packages/tabs/index.js +8 -8
- package/packages/tabs/src/tab-bar.vue +57 -57
- package/packages/tabs/src/tab-nav.vue +294 -294
- package/packages/tabs/src/tab-pane.vue +56 -56
- package/packages/tabs/src/tabs.vue +191 -191
- package/packages/tag/index.js +8 -8
- package/packages/tag/src/tag.vue +58 -58
- package/packages/theme-chalk/README.md +33 -33
- package/packages/theme-chalk/gulpfile.js +25 -27
- package/packages/theme-chalk/package.json +35 -35
- package/packages/theme-chalk/src/alert.scss +147 -147
- package/packages/theme-chalk/src/aside.scss +7 -7
- package/packages/theme-chalk/src/autocomplete.scss +80 -80
- package/packages/theme-chalk/src/avatar.scss +51 -51
- package/packages/theme-chalk/src/backtop.scss +22 -22
- package/packages/theme-chalk/src/badge.scss +57 -57
- package/packages/theme-chalk/src/base.scss +2 -2
- package/packages/theme-chalk/src/breadcrumb.scss +55 -55
- package/packages/theme-chalk/src/button.scss +262 -262
- package/packages/theme-chalk/src/calendar.scss +79 -79
- package/packages/theme-chalk/src/card.scss +32 -32
- package/packages/theme-chalk/src/carousel-item.scss +50 -50
- package/packages/theme-chalk/src/carousel.scss +161 -161
- package/packages/theme-chalk/src/cascader-panel.scss +120 -120
- package/packages/theme-chalk/src/cascader.scss +182 -182
- package/packages/theme-chalk/src/checkbox.scss +359 -359
- package/packages/theme-chalk/src/col.scss +156 -156
- package/packages/theme-chalk/src/collapse.scss +63 -63
- package/packages/theme-chalk/src/color-picker.scss +384 -384
- package/packages/theme-chalk/src/common/popup.scss +42 -42
- package/packages/theme-chalk/src/common/transition.scss +99 -99
- package/packages/theme-chalk/src/common/var.scss +1028 -1028
- package/packages/theme-chalk/src/container.scss +14 -14
- package/packages/theme-chalk/src/date-picker/date-picker.scss +97 -97
- package/packages/theme-chalk/src/date-picker/date-range-picker.scss +101 -101
- package/packages/theme-chalk/src/date-picker/date-table.scss +151 -151
- package/packages/theme-chalk/src/date-picker/month-table.scss +82 -82
- package/packages/theme-chalk/src/date-picker/picker-panel.scss +117 -117
- package/packages/theme-chalk/src/date-picker/picker.scss +197 -197
- package/packages/theme-chalk/src/date-picker/time-picker.scss +85 -85
- package/packages/theme-chalk/src/date-picker/time-range-picker.scss +31 -31
- package/packages/theme-chalk/src/date-picker/time-spinner.scss +110 -110
- package/packages/theme-chalk/src/date-picker/year-table.scss +51 -51
- package/packages/theme-chalk/src/date-picker.scss +11 -11
- package/packages/theme-chalk/src/descriptions-item.scss +42 -42
- package/packages/theme-chalk/src/descriptions.scss +111 -111
- package/packages/theme-chalk/src/dialog.scss +123 -123
- package/packages/theme-chalk/src/display.scss +12 -12
- package/packages/theme-chalk/src/divider.scss +47 -47
- package/packages/theme-chalk/src/drawer.scss +219 -219
- package/packages/theme-chalk/src/dropdown.scss +182 -182
- package/packages/theme-chalk/src/empty.scss +45 -45
- package/packages/theme-chalk/src/footer.scss +8 -8
- package/packages/theme-chalk/src/form.scss +167 -167
- package/packages/theme-chalk/src/header.scss +8 -8
- package/packages/theme-chalk/src/icon.scss +1167 -1167
- package/packages/theme-chalk/src/image.scss +179 -179
- package/packages/theme-chalk/src/index.scss +87 -87
- package/packages/theme-chalk/src/input-number.scss +261 -180
- package/packages/theme-chalk/src/input.scss +360 -360
- package/packages/theme-chalk/src/link.scss +81 -81
- package/packages/theme-chalk/src/loading.scss +96 -96
- package/packages/theme-chalk/src/main.scss +12 -12
- package/packages/theme-chalk/src/menu.scss +289 -289
- package/packages/theme-chalk/src/message-box.scss +226 -226
- package/packages/theme-chalk/src/message.scss +120 -120
- package/packages/theme-chalk/src/mixins/_button.scss +81 -81
- package/packages/theme-chalk/src/mixins/config.scss +4 -4
- package/packages/theme-chalk/src/mixins/function.scss +44 -44
- package/packages/theme-chalk/src/mixins/mixins.scss +191 -196
- package/packages/theme-chalk/src/mixins/utils.scss +39 -39
- package/packages/theme-chalk/src/notification.scss +99 -99
- package/packages/theme-chalk/src/option-group.scss +42 -42
- package/packages/theme-chalk/src/option.scss +36 -36
- package/packages/theme-chalk/src/page-header.scss +41 -41
- package/packages/theme-chalk/src/pagination.scss +295 -295
- package/packages/theme-chalk/src/popconfirm.scss +16 -16
- package/packages/theme-chalk/src/popover.scss +40 -40
- package/packages/theme-chalk/src/popper.scss +101 -101
- package/packages/theme-chalk/src/progress.scss +141 -141
- package/packages/theme-chalk/src/radio-button.scss +113 -113
- package/packages/theme-chalk/src/radio-group.scss +9 -9
- package/packages/theme-chalk/src/radio.scss +199 -199
- package/packages/theme-chalk/src/rate.scss +49 -49
- package/packages/theme-chalk/src/reset.scss +79 -79
- package/packages/theme-chalk/src/result.scss +61 -61
- package/packages/theme-chalk/src/row.scss +43 -43
- package/packages/theme-chalk/src/scrollbar.scss +72 -72
- package/packages/theme-chalk/src/select-dropdown.scss +62 -62
- package/packages/theme-chalk/src/select.scss +152 -152
- package/packages/theme-chalk/src/skeleton-item.scss +84 -84
- package/packages/theme-chalk/src/skeleton.scss +40 -40
- package/packages/theme-chalk/src/slider.scss +250 -250
- package/packages/theme-chalk/src/spinner.scss +44 -44
- package/packages/theme-chalk/src/statistic.scss +38 -38
- package/packages/theme-chalk/src/step.scss +317 -317
- package/packages/theme-chalk/src/steps.scss +20 -20
- package/packages/theme-chalk/src/switch.scss +116 -116
- package/packages/theme-chalk/src/table-column.scss +97 -97
- package/packages/theme-chalk/src/table.scss +564 -564
- package/packages/theme-chalk/src/tabs.scss +602 -602
- package/packages/theme-chalk/src/tag.scss +163 -163
- package/packages/theme-chalk/src/time-picker.scss +8 -8
- package/packages/theme-chalk/src/time-select.scss +37 -37
- package/packages/theme-chalk/src/timeline-item.scss +86 -86
- package/packages/theme-chalk/src/timeline.scss +14 -14
- package/packages/theme-chalk/src/tooltip.scss +141 -141
- package/packages/theme-chalk/src/transfer.scss +227 -227
- package/packages/theme-chalk/src/tree.scss +123 -123
- package/packages/theme-chalk/src/upload.scss +603 -603
- package/packages/time-picker/index.js +8 -8
- package/packages/time-select/index.js +8 -8
- package/packages/timeline/index.js +8 -8
- package/packages/timeline/src/item.vue +73 -73
- package/packages/timeline/src/main.vue +33 -33
- package/packages/timeline-item/index.js +8 -8
- package/packages/tooltip/index.js +8 -8
- package/packages/tooltip/src/main.js +242 -242
- package/packages/transfer/index.js +8 -8
- package/packages/transfer/src/main.vue +231 -231
- package/packages/transfer/src/transfer-panel.vue +251 -251
- package/packages/tree/index.js +8 -8
- package/packages/tree/src/model/node.js +484 -484
- package/packages/tree/src/model/tree-store.js +340 -340
- package/packages/tree/src/model/util.js +27 -27
- package/packages/tree/src/tree-node.vue +279 -279
- package/packages/tree/src/tree.vue +496 -496
- package/packages/upload/index.js +8 -8
- package/packages/upload/src/ajax.js +85 -85
- package/packages/upload/src/index.vue +338 -338
- package/packages/upload/src/upload-dragger.vue +70 -70
- package/packages/upload/src/upload-list.vue +105 -105
- package/packages/upload/src/upload.vue +211 -211
- package/src/directives/mousewheel.js +18 -18
- package/src/directives/repeat-click.js +26 -26
- package/src/index.js +202 -216
- package/src/locale/format.js +46 -45
- package/src/locale/index.js +48 -48
- package/src/locale/lang/en.js +123 -123
- package/src/locale/lang/zh-CN.js +123 -123
- package/src/locale/lang/zh-TW.js +123 -123
- package/src/mixins/emitter.js +33 -33
- package/src/mixins/focus.js +9 -9
- package/src/mixins/locale.js +9 -9
- package/src/mixins/migrating.js +54 -54
- package/src/transitions/collapse-transition.js +77 -77
- package/src/utils/after-leave.js +27 -27
- package/src/utils/aria-dialog.js +90 -90
- package/src/utils/aria-utils.js +122 -122
- package/src/utils/clickoutside.js +76 -76
- package/src/utils/date-util.js +282 -282
- package/src/utils/date.js +368 -368
- package/src/utils/dom.js +227 -227
- package/src/utils/lodash.js +18075 -18075
- package/src/utils/menu/aria-menubar.js +14 -14
- package/src/utils/menu/aria-menuitem.js +49 -49
- package/src/utils/menu/aria-submenu.js +59 -59
- package/src/utils/merge.js +15 -15
- package/src/utils/popper.js +1276 -1276
- package/src/utils/popup/index.js +218 -218
- package/src/utils/popup/popup-manager.js +194 -194
- package/src/utils/resize-event.js +36 -36
- package/src/utils/scroll-into-view.js +27 -27
- package/src/utils/scrollbar-width.js +29 -29
- package/src/utils/shared.js +7 -7
- package/src/utils/types.js +40 -40
- package/src/utils/util.js +245 -245
- package/src/utils/vdom.js +5 -5
- package/src/utils/vue-popper.js +198 -198
- package/types/alert.d.ts +31 -31
- package/types/aside.d.ts +7 -7
- package/types/autocomplete.d.ts +78 -78
- package/types/avatar.d.ts +20 -20
- package/types/backtop.d.ts +16 -16
- package/types/badge.d.ts +16 -16
- package/types/breadcrumb-item.d.ts +10 -10
- package/types/breadcrumb.d.ts +10 -10
- package/types/button-group.d.ts +4 -4
- package/types/button.d.ts +37 -37
- package/types/calendar.d.ts +15 -15
- package/types/card.d.ts +26 -26
- package/types/carousel-item.d.ts +10 -10
- package/types/carousel.d.ts +57 -57
- package/types/cascader-panel.d.ts +72 -72
- package/types/cascader.d.ts +65 -65
- package/types/checkbox-button.d.ts +22 -22
- package/types/checkbox-group.d.ts +22 -22
- package/types/checkbox.d.ts +34 -34
- package/types/col.d.ts +46 -46
- package/types/collapse-item.d.ts +26 -26
- package/types/collapse.d.ts +10 -10
- package/types/color-picker.d.ts +21 -21
- package/types/component.d.ts +13 -13
- package/types/container.d.ts +7 -7
- package/types/date-picker.d.ts +124 -124
- package/types/descriptions-item.d.ts +37 -37
- package/types/descriptions.d.ts +52 -52
- package/types/dialog.d.ts +62 -62
- package/types/divider.d.ts +12 -12
- package/types/drawer.d.ts +63 -63
- package/types/dropdown-item.d.ts +16 -16
- package/types/dropdown-menu.d.ts +4 -4
- package/types/dropdown.d.ts +38 -38
- package/types/element-ui.d.ts +1 -22
- package/types/empty.d.ts +31 -31
- package/types/footer.d.ts +7 -7
- package/types/form-item.d.ts +37 -37
- package/types/form.d.ts +82 -82
- package/types/header.d.ts +7 -7
- package/types/icon.d.ts +7 -7
- package/types/image.d.ts +43 -43
- package/types/index.d.ts +4 -4
- package/types/infinite-scroll.d.ts +5 -5
- package/types/input-number.d.ts +47 -47
- package/types/input.d.ts +107 -107
- package/types/link.d.ts +25 -25
- package/types/loading.d.ts +62 -62
- package/types/main.d.ts +4 -4
- package/types/menu-item-group.d.ts +7 -7
- package/types/menu-item.d.ts +10 -10
- package/types/menu.d.ts +46 -46
- package/types/message-box.d.ts +176 -176
- package/types/message.d.ts +90 -90
- package/types/notification.d.ts +84 -84
- package/types/option-group.d.ts +10 -10
- package/types/option.d.ts +13 -13
- package/types/page-header.d.ts +10 -10
- package/types/pagination.d.ts +43 -43
- package/types/popconfirm.d.ts +29 -29
- package/types/popover.d.ts +71 -71
- package/types/progress.d.ts +37 -37
- package/types/radio-button.d.ts +16 -16
- package/types/radio-group.d.ts +18 -18
- package/types/radio.d.ts +19 -19
- package/types/rate.d.ts +64 -64
- package/types/result.d.ts +33 -33
- package/types/row.d.ts +25 -25
- package/types/select.d.ts +90 -90
- package/types/skeleton-item.d.ts +7 -7
- package/types/skeleton.d.ts +33 -33
- package/types/slider.d.ts +68 -68
- package/types/spinner.d.ts +16 -16
- package/types/statistic.d.ts +37 -37
- package/types/step.d.ts +34 -34
- package/types/steps.d.ts +28 -28
- package/types/submenu.d.ts +22 -22
- package/types/switch.d.ts +43 -43
- package/types/tab-pane.d.ts +19 -19
- package/types/table-column.d.ts +117 -117
- package/types/table.d.ts +177 -177
- package/types/tabs.d.ts +31 -31
- package/types/tag.d.ts +28 -28
- package/types/time-picker.d.ts +63 -63
- package/types/time-select.d.ts +56 -56
- package/types/timeline-item.d.ts +20 -20
- package/types/timeline.d.ts +6 -6
- package/types/tooltip.d.ts +52 -52
- package/types/transfer.d.ts +73 -73
- package/types/tree.d.ts +266 -266
- package/types/upload.d.ts +124 -124
- package/web-types.json +4195 -4195
- package/lib/alert.js +0 -402
- package/lib/aside.js +0 -270
- package/lib/autocomplete.js +0 -4651
- package/lib/avatar.js +0 -363
- package/lib/backtop.js +0 -386
- package/lib/badge.js +0 -313
- package/lib/breadcrumb-item.js +0 -309
- package/lib/breadcrumb.js +0 -287
- package/lib/button-group.js +0 -256
- package/lib/button.js +0 -332
- package/lib/calendar.js +0 -2373
- package/lib/card.js +0 -289
- package/lib/carousel-item.js +0 -755
- package/lib/carousel.js +0 -719
- package/lib/cascader-panel.js +0 -3623
- package/lib/cascader.js +0 -7498
- package/lib/checkbox-button.js +0 -573
- package/lib/checkbox-group.js +0 -344
- package/lib/checkbox.js +0 -603
- package/lib/col.js +0 -177
- package/lib/collapse-item.js +0 -1156
- package/lib/collapse.js +0 -323
- package/lib/color-picker.js +0 -5600
- package/lib/container.js +0 -281
- package/lib/date-picker.js +0 -9871
- package/lib/descriptions-item.js +0 -140
- package/lib/descriptions.js +0 -512
- package/lib/dialog.js +0 -1736
- package/lib/directives/mousewheel.js +0 -26
- package/lib/directives/repeat-click.js +0 -33
- package/lib/divider.js +0 -297
- package/lib/drawer.js +0 -1316
- package/lib/dropdown-item.js +0 -332
- package/lib/dropdown-menu.js +0 -2545
- package/lib/dropdown.js +0 -1579
- package/lib/element-ui.common.js +0 -54072
- package/lib/empty.js +0 -1186
- package/lib/fileUpload.js +0 -3276
- package/lib/footer.js +0 -270
- package/lib/form-item.js +0 -1129
- package/lib/form.js +0 -471
- package/lib/header.js +0 -270
- package/lib/icon.js +0 -260
- package/lib/image.js +0 -2386
- package/lib/infinite-scroll.js +0 -591
- package/lib/input-number.js +0 -2093
- package/lib/input.js +0 -1358
- package/lib/link.js +0 -308
- package/lib/loading.js +0 -1349
- package/lib/locale/format.js +0 -55
- package/lib/locale/index.js +0 -63
- package/lib/locale/lang/af-ZA.js +0 -126
- package/lib/locale/lang/ar.js +0 -125
- package/lib/locale/lang/az.js +0 -126
- package/lib/locale/lang/bg.js +0 -126
- package/lib/locale/lang/bn.js +0 -126
- package/lib/locale/lang/ca.js +0 -125
- package/lib/locale/lang/cs-CZ.js +0 -128
- package/lib/locale/lang/da.js +0 -125
- package/lib/locale/lang/de.js +0 -127
- package/lib/locale/lang/ee.js +0 -126
- package/lib/locale/lang/el.js +0 -126
- package/lib/locale/lang/en.js +0 -126
- package/lib/locale/lang/eo.js +0 -126
- package/lib/locale/lang/es.js +0 -125
- package/lib/locale/lang/eu.js +0 -126
- package/lib/locale/lang/fa.js +0 -126
- package/lib/locale/lang/fi.js +0 -126
- package/lib/locale/lang/fr.js +0 -125
- package/lib/locale/lang/he.js +0 -126
- package/lib/locale/lang/hr.js +0 -126
- package/lib/locale/lang/hu.js +0 -125
- package/lib/locale/lang/hy-AM.js +0 -126
- package/lib/locale/lang/id.js +0 -126
- package/lib/locale/lang/is.js +0 -126
- package/lib/locale/lang/it.js +0 -125
- package/lib/locale/lang/ja.js +0 -126
- package/lib/locale/lang/kg.js +0 -126
- package/lib/locale/lang/km.js +0 -126
- package/lib/locale/lang/ko.js +0 -126
- package/lib/locale/lang/ku.js +0 -126
- package/lib/locale/lang/kz.js +0 -126
- package/lib/locale/lang/lo-LA.js +0 -126
- package/lib/locale/lang/lt.js +0 -126
- package/lib/locale/lang/lv.js +0 -126
- package/lib/locale/lang/mn.js +0 -126
- package/lib/locale/lang/ms.js +0 -125
- package/lib/locale/lang/nb-NO.js +0 -125
- package/lib/locale/lang/nl.js +0 -126
- package/lib/locale/lang/pl.js +0 -126
- package/lib/locale/lang/pt-br.js +0 -126
- package/lib/locale/lang/pt.js +0 -126
- package/lib/locale/lang/ro.js +0 -126
- package/lib/locale/lang/ru-RU.js +0 -126
- package/lib/locale/lang/si.js +0 -126
- package/lib/locale/lang/sk.js +0 -128
- package/lib/locale/lang/sl.js +0 -126
- package/lib/locale/lang/sr-Latn.js +0 -126
- package/lib/locale/lang/sr.js +0 -126
- package/lib/locale/lang/sv-SE.js +0 -126
- package/lib/locale/lang/sw.js +0 -126
- package/lib/locale/lang/ta.js +0 -125
- package/lib/locale/lang/th.js +0 -126
- package/lib/locale/lang/tk.js +0 -126
- package/lib/locale/lang/tr-TR.js +0 -126
- package/lib/locale/lang/ua.js +0 -126
- package/lib/locale/lang/ug-CN.js +0 -126
- package/lib/locale/lang/uz-UZ.js +0 -126
- package/lib/locale/lang/vi.js +0 -126
- package/lib/locale/lang/zh-CN.js +0 -126
- package/lib/locale/lang/zh-TW.js +0 -126
- package/lib/main.js +0 -257
- package/lib/menu-item-group.js +0 -296
- package/lib/menu-item.js +0 -3344
- package/lib/menu.js +0 -1556
- package/lib/message-box.js +0 -3564
- package/lib/message.js +0 -1601
- package/lib/mixins/emitter.js +0 -36
- package/lib/mixins/focus.js +0 -15
- package/lib/mixins/locale.js +0 -17
- package/lib/mixins/migrating.js +0 -69
- package/lib/notification.js +0 -1662
- package/lib/option-group.js +0 -364
- package/lib/option.js +0 -835
- package/lib/page-header.js +0 -908
- package/lib/pagination.js +0 -6855
- package/lib/popconfirm.js +0 -3708
- package/lib/popover.js +0 -3118
- package/lib/progress.js +0 -542
- package/lib/radio-button.js +0 -456
- package/lib/radio-group.js +0 -412
- package/lib/radio.js +0 -482
- package/lib/rate.js +0 -1278
- package/lib/result.js +0 -528
- package/lib/row.js +0 -149
- package/lib/scrollbar.js +0 -1108
- package/lib/select.js +0 -6134
- package/lib/selectDisplayInput.js +0 -355
- package/lib/skeleton-item.js +0 -322
- package/lib/skeleton.js +0 -345
- package/lib/slider.js +0 -5231
- package/lib/spinner.js +0 -293
- package/lib/statistic.js +0 -9999
- package/lib/step.js +0 -476
- package/lib/steps.js +0 -745
- package/lib/subTitle.js +0 -284
- package/lib/submenu.js +0 -3021
- package/lib/switch.js +0 -970
- package/lib/tab-pane.js +0 -318
- package/lib/tabDialog.js +0 -2264
- package/lib/table-column.js +0 -1800
- package/lib/table.js +0 -8803
- package/lib/tabs.js +0 -1329
- package/lib/tag.js +0 -304
- package/lib/theme-chalk/README.md +0 -33
- package/lib/theme-chalk/element.css +0 -1
- package/lib/theme-chalk/fileUpload.css +0 -1
- package/lib/theme-chalk/gulpfile.js +0 -27
- package/lib/theme-chalk/package.json +0 -35
- package/lib/theme-chalk/selectDisplayInput.css +0 -1
- package/lib/theme-chalk/src/alert.scss +0 -147
- package/lib/theme-chalk/src/aside.scss +0 -7
- package/lib/theme-chalk/src/autocomplete.scss +0 -80
- package/lib/theme-chalk/src/avatar.scss +0 -51
- package/lib/theme-chalk/src/backtop.scss +0 -22
- package/lib/theme-chalk/src/badge.scss +0 -57
- package/lib/theme-chalk/src/base.scss +0 -2
- package/lib/theme-chalk/src/breadcrumb.scss +0 -55
- package/lib/theme-chalk/src/button.scss +0 -262
- package/lib/theme-chalk/src/calendar.scss +0 -79
- package/lib/theme-chalk/src/card.scss +0 -32
- package/lib/theme-chalk/src/carousel-item.scss +0 -50
- package/lib/theme-chalk/src/carousel.scss +0 -161
- package/lib/theme-chalk/src/cascader-panel.scss +0 -120
- package/lib/theme-chalk/src/cascader.scss +0 -182
- package/lib/theme-chalk/src/checkbox.scss +0 -359
- package/lib/theme-chalk/src/col.scss +0 -156
- package/lib/theme-chalk/src/collapse.scss +0 -63
- package/lib/theme-chalk/src/color-picker.scss +0 -384
- package/lib/theme-chalk/src/common/popup.scss +0 -42
- package/lib/theme-chalk/src/common/transition.scss +0 -99
- package/lib/theme-chalk/src/common/var.scss +0 -1028
- package/lib/theme-chalk/src/container.scss +0 -14
- package/lib/theme-chalk/src/date-picker/date-picker.scss +0 -97
- package/lib/theme-chalk/src/date-picker/date-range-picker.scss +0 -101
- package/lib/theme-chalk/src/date-picker/date-table.scss +0 -151
- package/lib/theme-chalk/src/date-picker/month-table.scss +0 -82
- package/lib/theme-chalk/src/date-picker/picker-panel.scss +0 -117
- package/lib/theme-chalk/src/date-picker/picker.scss +0 -197
- package/lib/theme-chalk/src/date-picker/time-picker.scss +0 -85
- package/lib/theme-chalk/src/date-picker/time-range-picker.scss +0 -31
- package/lib/theme-chalk/src/date-picker/time-spinner.scss +0 -110
- package/lib/theme-chalk/src/date-picker/year-table.scss +0 -51
- package/lib/theme-chalk/src/date-picker.scss +0 -12
- package/lib/theme-chalk/src/descriptions-item.scss +0 -42
- package/lib/theme-chalk/src/descriptions.scss +0 -111
- package/lib/theme-chalk/src/dialog.scss +0 -123
- package/lib/theme-chalk/src/display.scss +0 -12
- package/lib/theme-chalk/src/divider.scss +0 -47
- package/lib/theme-chalk/src/drawer.scss +0 -219
- package/lib/theme-chalk/src/dropdown.scss +0 -182
- package/lib/theme-chalk/src/empty.scss +0 -45
- package/lib/theme-chalk/src/fonts/element-icons.ttf +0 -0
- package/lib/theme-chalk/src/fonts/element-icons.woff +0 -0
- package/lib/theme-chalk/src/footer.scss +0 -8
- package/lib/theme-chalk/src/form.scss +0 -167
- package/lib/theme-chalk/src/header.scss +0 -8
- package/lib/theme-chalk/src/icon.scss +0 -1167
- package/lib/theme-chalk/src/image.scss +0 -179
- package/lib/theme-chalk/src/index.scss +0 -87
- package/lib/theme-chalk/src/input-number.scss +0 -180
- package/lib/theme-chalk/src/input.scss +0 -360
- package/lib/theme-chalk/src/link.scss +0 -81
- package/lib/theme-chalk/src/loading.scss +0 -96
- package/lib/theme-chalk/src/main.scss +0 -12
- package/lib/theme-chalk/src/menu.scss +0 -289
- package/lib/theme-chalk/src/message-box.scss +0 -226
- package/lib/theme-chalk/src/message.scss +0 -120
- package/lib/theme-chalk/src/mixins/_button.scss +0 -81
- package/lib/theme-chalk/src/mixins/config.scss +0 -4
- package/lib/theme-chalk/src/mixins/function.scss +0 -44
- package/lib/theme-chalk/src/mixins/mixins.scss +0 -196
- package/lib/theme-chalk/src/mixins/utils.scss +0 -39
- package/lib/theme-chalk/src/notification.scss +0 -99
- package/lib/theme-chalk/src/option-group.scss +0 -42
- package/lib/theme-chalk/src/option.scss +0 -36
- package/lib/theme-chalk/src/page-header.scss +0 -41
- package/lib/theme-chalk/src/pagination.scss +0 -295
- package/lib/theme-chalk/src/popconfirm.scss +0 -16
- package/lib/theme-chalk/src/popover.scss +0 -40
- package/lib/theme-chalk/src/popper.scss +0 -101
- package/lib/theme-chalk/src/progress.scss +0 -141
- package/lib/theme-chalk/src/radio-button.scss +0 -113
- package/lib/theme-chalk/src/radio-group.scss +0 -9
- package/lib/theme-chalk/src/radio.scss +0 -199
- package/lib/theme-chalk/src/rate.scss +0 -49
- package/lib/theme-chalk/src/reset.scss +0 -79
- package/lib/theme-chalk/src/result.scss +0 -61
- package/lib/theme-chalk/src/row.scss +0 -43
- package/lib/theme-chalk/src/scrollbar.scss +0 -72
- package/lib/theme-chalk/src/select-dropdown.scss +0 -62
- package/lib/theme-chalk/src/select.scss +0 -152
- package/lib/theme-chalk/src/skeleton-item.scss +0 -84
- package/lib/theme-chalk/src/skeleton.scss +0 -40
- package/lib/theme-chalk/src/slider.scss +0 -250
- package/lib/theme-chalk/src/spinner.scss +0 -44
- package/lib/theme-chalk/src/statistic.scss +0 -38
- package/lib/theme-chalk/src/step.scss +0 -317
- package/lib/theme-chalk/src/steps.scss +0 -20
- package/lib/theme-chalk/src/switch.scss +0 -116
- package/lib/theme-chalk/src/table-column.scss +0 -97
- package/lib/theme-chalk/src/table.scss +0 -564
- package/lib/theme-chalk/src/tabs.scss +0 -602
- package/lib/theme-chalk/src/tag.scss +0 -163
- package/lib/theme-chalk/src/time-picker.scss +0 -8
- package/lib/theme-chalk/src/time-select.scss +0 -37
- package/lib/theme-chalk/src/timeline-item.scss +0 -86
- package/lib/theme-chalk/src/timeline.scss +0 -14
- package/lib/theme-chalk/src/tooltip.scss +0 -141
- package/lib/theme-chalk/src/transfer.scss +0 -227
- package/lib/theme-chalk/src/tree.scss +0 -123
- package/lib/theme-chalk/src/upload.scss +0 -603
- package/lib/theme-chalk/subTitle.css +0 -1
- package/lib/theme-chalk/tabDialog.css +0 -1
- package/lib/theme-chalk/treeSelect.css +0 -1
- package/lib/theme-cy/base.css +0 -1
- package/lib/theme-cy/element.css +0 -1
- package/lib/theme-cy/fileUpload.css +0 -1
- package/lib/theme-cy/index.css +0 -1
- package/lib/theme-cy/selectDisplayInput.css +0 -1
- package/lib/theme-cy/subTitle.css +0 -1
- package/lib/theme-cy/tabDialog.css +0 -1
- package/lib/theme-cy/treeSelect.css +0 -1
- package/lib/time-picker.js +0 -6881
- package/lib/time-select.js +0 -5892
- package/lib/timeline-item.js +0 -329
- package/lib/timeline.js +0 -275
- package/lib/tooltip.js +0 -2950
- package/lib/transfer.js +0 -2998
- package/lib/transitions/collapse-transition.js +0 -91
- package/lib/tree.js +0 -3470
- package/lib/treeSelect.js +0 -4058
- package/lib/umd/locale/af-ZA.js +0 -142
- package/lib/umd/locale/ar.js +0 -141
- package/lib/umd/locale/az.js +0 -141
- package/lib/umd/locale/bg.js +0 -142
- package/lib/umd/locale/bn.js +0 -141
- package/lib/umd/locale/ca.js +0 -141
- package/lib/umd/locale/cs-CZ.js +0 -144
- package/lib/umd/locale/da.js +0 -141
- package/lib/umd/locale/de.js +0 -143
- package/lib/umd/locale/ee.js +0 -142
- package/lib/umd/locale/el.js +0 -142
- package/lib/umd/locale/en.js +0 -142
- package/lib/umd/locale/eo.js +0 -142
- package/lib/umd/locale/es.js +0 -141
- package/lib/umd/locale/eu.js +0 -142
- package/lib/umd/locale/fa.js +0 -142
- package/lib/umd/locale/fi.js +0 -142
- package/lib/umd/locale/fr.js +0 -141
- package/lib/umd/locale/he.js +0 -142
- package/lib/umd/locale/hr.js +0 -142
- package/lib/umd/locale/hu.js +0 -141
- package/lib/umd/locale/hy-AM.js +0 -142
- package/lib/umd/locale/id.js +0 -142
- package/lib/umd/locale/is.js +0 -142
- package/lib/umd/locale/it.js +0 -141
- package/lib/umd/locale/ja.js +0 -142
- package/lib/umd/locale/kg.js +0 -142
- package/lib/umd/locale/km.js +0 -142
- package/lib/umd/locale/ko.js +0 -142
- package/lib/umd/locale/ku.js +0 -142
- package/lib/umd/locale/kz.js +0 -142
- package/lib/umd/locale/lo-LA.js +0 -141
- package/lib/umd/locale/lt.js +0 -142
- package/lib/umd/locale/lv.js +0 -142
- package/lib/umd/locale/mn.js +0 -142
- package/lib/umd/locale/ms.js +0 -141
- package/lib/umd/locale/nb-NO.js +0 -141
- package/lib/umd/locale/nl.js +0 -142
- package/lib/umd/locale/pl.js +0 -142
- package/lib/umd/locale/pt-br.js +0 -142
- package/lib/umd/locale/pt.js +0 -142
- package/lib/umd/locale/ro.js +0 -142
- package/lib/umd/locale/ru-RU.js +0 -142
- package/lib/umd/locale/si.js +0 -142
- package/lib/umd/locale/sk.js +0 -144
- package/lib/umd/locale/sl.js +0 -142
- package/lib/umd/locale/sr-Latn.js +0 -142
- package/lib/umd/locale/sr.js +0 -142
- package/lib/umd/locale/sv-SE.js +0 -142
- package/lib/umd/locale/sw.js +0 -142
- package/lib/umd/locale/ta.js +0 -141
- package/lib/umd/locale/th.js +0 -142
- package/lib/umd/locale/tk.js +0 -142
- package/lib/umd/locale/tr-TR.js +0 -142
- package/lib/umd/locale/ua.js +0 -142
- package/lib/umd/locale/ug-CN.js +0 -142
- package/lib/umd/locale/uz-UZ.js +0 -142
- package/lib/umd/locale/vi.js +0 -142
- package/lib/umd/locale/zh-CN.js +0 -142
- package/lib/umd/locale/zh-TW.js +0 -142
- package/lib/upload.js +0 -2337
- package/lib/utils/after-leave.js +0 -35
- package/lib/utils/aria-dialog.js +0 -104
- package/lib/utils/aria-utils.js +0 -126
- package/lib/utils/clickoutside.js +0 -79
- package/lib/utils/date-util.js +0 -310
- package/lib/utils/date.js +0 -369
- package/lib/utils/dom.js +0 -234
- package/lib/utils/lodash.js +0 -9421
- package/lib/utils/menu/aria-menubar.js +0 -24
- package/lib/utils/menu/aria-menuitem.js +0 -62
- package/lib/utils/menu/aria-submenu.js +0 -69
- package/lib/utils/merge.js +0 -21
- package/lib/utils/popper.js +0 -1261
- package/lib/utils/popup/index.js +0 -233
- package/lib/utils/popup/popup-manager.js +0 -205
- package/lib/utils/resize-event.js +0 -59
- package/lib/utils/scroll-into-view.js +0 -38
- package/lib/utils/scrollbar-width.js +0 -39
- package/lib/utils/shared.js +0 -12
- package/lib/utils/types.js +0 -52
- package/lib/utils/util.js +0 -272
- package/lib/utils/vdom.js +0 -13
- package/lib/utils/vue-popper.js +0 -202
- package/packages/fileUpload/index.js +0 -8
- package/packages/fileUpload/src/main.vue +0 -430
- package/packages/selectDisplayInput/index.js +0 -8
- package/packages/selectDisplayInput/src/main.vue +0 -75
- package/packages/subTitle/index.js +0 -8
- package/packages/subTitle/src/main.vue +0 -33
- package/packages/tabDialog/index.js +0 -23
- package/packages/tabDialog/src/dialog/drag.js +0 -63
- package/packages/tabDialog/src/dialog/dragHeight.js +0 -34
- package/packages/tabDialog/src/dialog/dragWidth.js +0 -30
- package/packages/tabDialog/src/main.vue +0 -277
- package/packages/theme-cy/README.md +0 -38
- package/packages/theme-cy/gulpfile.js +0 -27
- package/packages/theme-cy/package.json +0 -35
- package/packages/theme-cy/src/base.scss +0 -3
- package/packages/theme-cy/src/element.scss +0 -45
- package/packages/theme-cy/src/fileUpload.scss +0 -30
- package/packages/theme-cy/src/index.scss +0 -7
- package/packages/theme-cy/src/selectDisplayInput.scss +0 -76
- package/packages/theme-cy/src/subTitle.scss +0 -26
- package/packages/theme-cy/src/tabDialog.scss +0 -43
- package/packages/theme-cy/src/treeSelect.scss +0 -98
- package/packages/treeSelect/index.js +0 -8
- package/packages/treeSelect/src/main.vue +0 -325
- package/src/locale/lang/af-ZA.js +0 -123
- package/src/locale/lang/ar.js +0 -122
- package/src/locale/lang/az.js +0 -126
- package/src/locale/lang/bg.js +0 -123
- package/src/locale/lang/bn.js +0 -126
- package/src/locale/lang/ca.js +0 -122
- package/src/locale/lang/cs-CZ.js +0 -125
- package/src/locale/lang/da.js +0 -122
- package/src/locale/lang/de.js +0 -124
- package/src/locale/lang/ee.js +0 -123
- package/src/locale/lang/el.js +0 -123
- package/src/locale/lang/eo.js +0 -123
- package/src/locale/lang/es.js +0 -122
- package/src/locale/lang/eu.js +0 -123
- package/src/locale/lang/fa.js +0 -123
- package/src/locale/lang/fi.js +0 -123
- package/src/locale/lang/fr.js +0 -122
- package/src/locale/lang/he.js +0 -123
- package/src/locale/lang/hr.js +0 -123
- package/src/locale/lang/hu.js +0 -122
- package/src/locale/lang/hy-AM.js +0 -123
- package/src/locale/lang/id.js +0 -123
- package/src/locale/lang/is.js +0 -124
- package/src/locale/lang/it.js +0 -122
- package/src/locale/lang/ja.js +0 -123
- package/src/locale/lang/kg.js +0 -123
- package/src/locale/lang/km.js +0 -123
- package/src/locale/lang/ko.js +0 -123
- package/src/locale/lang/ku.js +0 -123
- package/src/locale/lang/kz.js +0 -123
- package/src/locale/lang/lo-LA.js +0 -126
- package/src/locale/lang/lt.js +0 -123
- package/src/locale/lang/lv.js +0 -123
- package/src/locale/lang/mn.js +0 -123
- package/src/locale/lang/ms.js +0 -122
- package/src/locale/lang/nb-NO.js +0 -122
- package/src/locale/lang/nl.js +0 -123
- package/src/locale/lang/pl.js +0 -123
- package/src/locale/lang/pt-br.js +0 -123
- package/src/locale/lang/pt.js +0 -123
- package/src/locale/lang/ro.js +0 -123
- package/src/locale/lang/ru-RU.js +0 -123
- package/src/locale/lang/si.js +0 -123
- package/src/locale/lang/sk.js +0 -125
- package/src/locale/lang/sl.js +0 -123
- package/src/locale/lang/sr-Latn.js +0 -123
- package/src/locale/lang/sr.js +0 -123
- package/src/locale/lang/sv-SE.js +0 -123
- package/src/locale/lang/sw.js +0 -123
- package/src/locale/lang/ta.js +0 -122
- package/src/locale/lang/th.js +0 -123
- package/src/locale/lang/tk.js +0 -123
- package/src/locale/lang/tr-TR.js +0 -123
- package/src/locale/lang/ua.js +0 -123
- package/src/locale/lang/ug-CN.js +0 -123
- package/src/locale/lang/uz-UZ.js +0 -123
- package/src/locale/lang/vi.js +0 -123
- package/types/fileUpload.d.ts +0 -5
- package/types/selectDisplayInput.d.ts +0 -5
- package/types/subTitle.d.ts +0 -5
- package/types/tabDialog.d.ts +0 -5
- package/types/treeSelect.d.ts +0 -5
- /package/lib/theme-chalk/{src/breadcrumb-item.scss → breadcrumb-item.css} +0 -0
- /package/lib/theme-chalk/{src/button-group.scss → button-group.css} +0 -0
- /package/lib/theme-chalk/{src/checkbox-button.scss → checkbox-button.css} +0 -0
- /package/lib/theme-chalk/{src/checkbox-group.scss → checkbox-group.css} +0 -0
- /package/lib/theme-chalk/{src/collapse-item.scss → collapse-item.css} +0 -0
- /package/lib/theme-chalk/{src/dropdown-item.scss → dropdown-item.css} +0 -0
- /package/lib/theme-chalk/{src/dropdown-menu.scss → dropdown-menu.css} +0 -0
- /package/lib/theme-chalk/{src/form-item.scss → form-item.css} +0 -0
- /package/lib/theme-chalk/{src/infinite-scroll.scss → infinite-scroll.css} +0 -0
- /package/lib/theme-chalk/{src/infiniteScroll.scss → infiniteScroll.css} +0 -0
- /package/lib/theme-chalk/{src/menu-item-group.scss → menu-item-group.css} +0 -0
- /package/lib/theme-chalk/{src/menu-item.scss → menu-item.css} +0 -0
- /package/lib/theme-chalk/{src/submenu.scss → submenu.css} +0 -0
- /package/lib/theme-chalk/{src/tab-pane.scss → tab-pane.css} +0 -0
package/types/drawer.d.ts
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import { ElementUIComponent } from './component'
|
|
2
|
-
import { VNode } from 'vue'
|
|
3
|
-
|
|
4
|
-
type hide = (shouldCancel: boolean) => void
|
|
5
|
-
declare enum Direction {
|
|
6
|
-
LTR = 'ltr', // left to right
|
|
7
|
-
RTL = 'rtl', // right to left
|
|
8
|
-
TTB = 'ttb', // top to bottom
|
|
9
|
-
BTT = 'btt' // bottom to top
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
interface DrawerSlots {
|
|
13
|
-
/* Main Content Slots */
|
|
14
|
-
default: VNode[];
|
|
15
|
-
|
|
16
|
-
/* Title Slots */
|
|
17
|
-
title: VNode[];
|
|
18
|
-
|
|
19
|
-
[key: string]: VNode[]
|
|
20
|
-
}
|
|
21
|
-
/** Drawer Component */
|
|
22
|
-
export declare class ElDrawer extends ElementUIComponent {
|
|
23
|
-
/* Equivalent to `Dialog`'s append to body attribute, when applying nested drawer, make sure this one is set to true */
|
|
24
|
-
appendToBody: boolean
|
|
25
|
-
|
|
26
|
-
/* Hook method called before close drawer, the first parameter is a function which should determine if the drawer should be closed */
|
|
27
|
-
beforeClose: (done: hide) => void
|
|
28
|
-
|
|
29
|
-
/** Whether the Drawer can be closed by pressing ESC */
|
|
30
|
-
closeOnPressEscape: boolean
|
|
31
|
-
|
|
32
|
-
/** Custom class names for Dialog */
|
|
33
|
-
customClass: string
|
|
34
|
-
|
|
35
|
-
/* Determine whether the wrapped children should be destroyed, if true, children's destroyed life cycle method will be called all local state will be destroyed */
|
|
36
|
-
destroyOnClose: boolean
|
|
37
|
-
|
|
38
|
-
/* Equivalent to `Dialog`'s modal attribute, determines whether the dark shadowing background should show */
|
|
39
|
-
modal: boolean
|
|
40
|
-
|
|
41
|
-
/* Equivalent to `Dialog`'s modal-append-to-body attribute, determines whether the shadowing background should be inserted direct to DocumentBody element */
|
|
42
|
-
modalAppendToBody: boolean
|
|
43
|
-
|
|
44
|
-
/* Attributes that controls the drawer's direction of display*/
|
|
45
|
-
position: Direction
|
|
46
|
-
|
|
47
|
-
/* Whether the close button should be rendered to control the drawer's visible state */
|
|
48
|
-
showClose: boolean
|
|
49
|
-
|
|
50
|
-
/* The size of the drawer component, supporting number with unit of pixel, string by percentage e.g. 30% */
|
|
51
|
-
size: number | string
|
|
52
|
-
|
|
53
|
-
/* The Drawer's title, also can be replaced by named slot `title` */
|
|
54
|
-
title: string
|
|
55
|
-
|
|
56
|
-
/* Whether the drawer component should show, also can be decorated by `.sync` */
|
|
57
|
-
visible: boolean
|
|
58
|
-
|
|
59
|
-
/* Flag attribute whi */
|
|
60
|
-
wrapperClosable: boolean
|
|
61
|
-
|
|
62
|
-
$slots: DrawerSlots
|
|
63
|
-
}
|
|
1
|
+
import { ElementUIComponent } from './component'
|
|
2
|
+
import { VNode } from 'vue'
|
|
3
|
+
|
|
4
|
+
type hide = (shouldCancel: boolean) => void
|
|
5
|
+
declare enum Direction {
|
|
6
|
+
LTR = 'ltr', // left to right
|
|
7
|
+
RTL = 'rtl', // right to left
|
|
8
|
+
TTB = 'ttb', // top to bottom
|
|
9
|
+
BTT = 'btt' // bottom to top
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface DrawerSlots {
|
|
13
|
+
/* Main Content Slots */
|
|
14
|
+
default: VNode[];
|
|
15
|
+
|
|
16
|
+
/* Title Slots */
|
|
17
|
+
title: VNode[];
|
|
18
|
+
|
|
19
|
+
[key: string]: VNode[]
|
|
20
|
+
}
|
|
21
|
+
/** Drawer Component */
|
|
22
|
+
export declare class ElDrawer extends ElementUIComponent {
|
|
23
|
+
/* Equivalent to `Dialog`'s append to body attribute, when applying nested drawer, make sure this one is set to true */
|
|
24
|
+
appendToBody: boolean
|
|
25
|
+
|
|
26
|
+
/* Hook method called before close drawer, the first parameter is a function which should determine if the drawer should be closed */
|
|
27
|
+
beforeClose: (done: hide) => void
|
|
28
|
+
|
|
29
|
+
/** Whether the Drawer can be closed by pressing ESC */
|
|
30
|
+
closeOnPressEscape: boolean
|
|
31
|
+
|
|
32
|
+
/** Custom class names for Dialog */
|
|
33
|
+
customClass: string
|
|
34
|
+
|
|
35
|
+
/* Determine whether the wrapped children should be destroyed, if true, children's destroyed life cycle method will be called all local state will be destroyed */
|
|
36
|
+
destroyOnClose: boolean
|
|
37
|
+
|
|
38
|
+
/* Equivalent to `Dialog`'s modal attribute, determines whether the dark shadowing background should show */
|
|
39
|
+
modal: boolean
|
|
40
|
+
|
|
41
|
+
/* Equivalent to `Dialog`'s modal-append-to-body attribute, determines whether the shadowing background should be inserted direct to DocumentBody element */
|
|
42
|
+
modalAppendToBody: boolean
|
|
43
|
+
|
|
44
|
+
/* Attributes that controls the drawer's direction of display*/
|
|
45
|
+
position: Direction
|
|
46
|
+
|
|
47
|
+
/* Whether the close button should be rendered to control the drawer's visible state */
|
|
48
|
+
showClose: boolean
|
|
49
|
+
|
|
50
|
+
/* The size of the drawer component, supporting number with unit of pixel, string by percentage e.g. 30% */
|
|
51
|
+
size: number | string
|
|
52
|
+
|
|
53
|
+
/* The Drawer's title, also can be replaced by named slot `title` */
|
|
54
|
+
title: string
|
|
55
|
+
|
|
56
|
+
/* Whether the drawer component should show, also can be decorated by `.sync` */
|
|
57
|
+
visible: boolean
|
|
58
|
+
|
|
59
|
+
/* Flag attribute whi */
|
|
60
|
+
wrapperClosable: boolean
|
|
61
|
+
|
|
62
|
+
$slots: DrawerSlots
|
|
63
|
+
}
|
package/types/dropdown-item.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ElementUIComponent } from './component'
|
|
2
|
-
|
|
3
|
-
/** Toggleable menu for displaying lists of links and actions. */
|
|
4
|
-
export declare class ElDropdownItem extends ElementUIComponent {
|
|
5
|
-
/** A command to be dispatched to Dropdown's command callback */
|
|
6
|
-
command: string | number | object
|
|
7
|
-
|
|
8
|
-
/** Whether the item is disabled */
|
|
9
|
-
disabled: boolean
|
|
10
|
-
|
|
11
|
-
/** Whether a divider is displayed */
|
|
12
|
-
divided: boolean
|
|
13
|
-
|
|
14
|
-
/** Icon to show on left side of text */
|
|
15
|
-
icon: string
|
|
16
|
-
}
|
|
1
|
+
import { ElementUIComponent } from './component'
|
|
2
|
+
|
|
3
|
+
/** Toggleable menu for displaying lists of links and actions. */
|
|
4
|
+
export declare class ElDropdownItem extends ElementUIComponent {
|
|
5
|
+
/** A command to be dispatched to Dropdown's command callback */
|
|
6
|
+
command: string | number | object
|
|
7
|
+
|
|
8
|
+
/** Whether the item is disabled */
|
|
9
|
+
disabled: boolean
|
|
10
|
+
|
|
11
|
+
/** Whether a divider is displayed */
|
|
12
|
+
divided: boolean
|
|
13
|
+
|
|
14
|
+
/** Icon to show on left side of text */
|
|
15
|
+
icon: string
|
|
16
|
+
}
|
package/types/dropdown-menu.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementUIComponent } from './component'
|
|
2
|
-
|
|
3
|
-
/** Dropdown Menu Component */
|
|
4
|
-
export declare class ElDropdownMenu extends ElementUIComponent {}
|
|
1
|
+
import { ElementUIComponent } from './component'
|
|
2
|
+
|
|
3
|
+
/** Dropdown Menu Component */
|
|
4
|
+
export declare class ElDropdownMenu extends ElementUIComponent {}
|
package/types/dropdown.d.ts
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { ElementUIComponent, ElementUIComponentSize } from './component'
|
|
2
|
-
import { ButtonType } from './button'
|
|
3
|
-
|
|
4
|
-
export type DropdownMenuAlignment = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'
|
|
5
|
-
export type DropdownMenuTrigger = 'hover' | 'click'
|
|
6
|
-
|
|
7
|
-
/** Toggleable menu for displaying lists of links and actions */
|
|
8
|
-
export declare class ElDropdown extends ElementUIComponent {
|
|
9
|
-
/** Menu button type. only works when split-button is true */
|
|
10
|
-
type: ButtonType
|
|
11
|
-
|
|
12
|
-
/** Whether a button group is displayed */
|
|
13
|
-
splitButton: boolean
|
|
14
|
-
|
|
15
|
-
/** menu size, also works on the split button */
|
|
16
|
-
size: ElementUIComponentSize
|
|
17
|
-
|
|
18
|
-
/** Placement of the menu */
|
|
19
|
-
placement: DropdownMenuAlignment
|
|
20
|
-
|
|
21
|
-
/** How to trigger */
|
|
22
|
-
trigger: DropdownMenuTrigger
|
|
23
|
-
|
|
24
|
-
/** Whether to hide menu after clicking menu-item */
|
|
25
|
-
hideOnClick: boolean
|
|
26
|
-
|
|
27
|
-
/** Delay time before show a dropdown */
|
|
28
|
-
showTimeout: number
|
|
29
|
-
|
|
30
|
-
/** Delay time before hide a dropdown */
|
|
31
|
-
hideTimeout: number
|
|
32
|
-
|
|
33
|
-
/** Dropdown tabindex */
|
|
34
|
-
tabindex: number
|
|
35
|
-
|
|
36
|
-
/** Whether Dropdown is disabled */
|
|
37
|
-
disabled: boolean
|
|
38
|
-
}
|
|
1
|
+
import { ElementUIComponent, ElementUIComponentSize } from './component'
|
|
2
|
+
import { ButtonType } from './button'
|
|
3
|
+
|
|
4
|
+
export type DropdownMenuAlignment = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end'
|
|
5
|
+
export type DropdownMenuTrigger = 'hover' | 'click'
|
|
6
|
+
|
|
7
|
+
/** Toggleable menu for displaying lists of links and actions */
|
|
8
|
+
export declare class ElDropdown extends ElementUIComponent {
|
|
9
|
+
/** Menu button type. only works when split-button is true */
|
|
10
|
+
type: ButtonType
|
|
11
|
+
|
|
12
|
+
/** Whether a button group is displayed */
|
|
13
|
+
splitButton: boolean
|
|
14
|
+
|
|
15
|
+
/** menu size, also works on the split button */
|
|
16
|
+
size: ElementUIComponentSize
|
|
17
|
+
|
|
18
|
+
/** Placement of the menu */
|
|
19
|
+
placement: DropdownMenuAlignment
|
|
20
|
+
|
|
21
|
+
/** How to trigger */
|
|
22
|
+
trigger: DropdownMenuTrigger
|
|
23
|
+
|
|
24
|
+
/** Whether to hide menu after clicking menu-item */
|
|
25
|
+
hideOnClick: boolean
|
|
26
|
+
|
|
27
|
+
/** Delay time before show a dropdown */
|
|
28
|
+
showTimeout: number
|
|
29
|
+
|
|
30
|
+
/** Delay time before hide a dropdown */
|
|
31
|
+
hideTimeout: number
|
|
32
|
+
|
|
33
|
+
/** Dropdown tabindex */
|
|
34
|
+
tabindex: number
|
|
35
|
+
|
|
36
|
+
/** Whether Dropdown is disabled */
|
|
37
|
+
disabled: boolean
|
|
38
|
+
}
|
package/types/element-ui.d.ts
CHANGED
|
@@ -90,12 +90,6 @@ import { ElDescriptionsItem } from './descriptions-item'
|
|
|
90
90
|
import { ElResult } from './result'
|
|
91
91
|
import { ElStatistic } from './statistic'
|
|
92
92
|
|
|
93
|
-
import { CyTreeSelect } from './treeSelect'
|
|
94
|
-
import { CySubTitle } from './subTitle'
|
|
95
|
-
import { CyTabDialog } from './tabDialog'
|
|
96
|
-
import { CyFileUpload } from './fileUpload'
|
|
97
|
-
|
|
98
|
-
|
|
99
93
|
export interface InstallationOptions {
|
|
100
94
|
locale: any,
|
|
101
95
|
i18n: any,
|
|
@@ -385,19 +379,4 @@ export class DescriptionsItem extends ElDescriptionsItem {}
|
|
|
385
379
|
export class Result extends ElResult {}
|
|
386
380
|
|
|
387
381
|
/** Statistic Component */
|
|
388
|
-
export class Statistic extends ElStatistic {}
|
|
389
|
-
|
|
390
|
-
/** TreeSelect Component */
|
|
391
|
-
export class TreeSelect extends CyTreeSelect {}
|
|
392
|
-
|
|
393
|
-
/** SubTitle Component */
|
|
394
|
-
export class SubTitle extends CySubTitle {}
|
|
395
|
-
|
|
396
|
-
/** TabDialog Component */
|
|
397
|
-
export class TabDialog extends CyTabDialog {}
|
|
398
|
-
|
|
399
|
-
/** FileUpload Component */
|
|
400
|
-
export class FileUpload extends CyFileUpload {}
|
|
401
|
-
|
|
402
|
-
/** SelectDisplayInput Component */
|
|
403
|
-
export class SelectDisplayInput extends CySelectDisplayInput {}
|
|
382
|
+
export class Statistic extends ElStatistic {}
|
package/types/empty.d.ts
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { ElementUIComponent } from './component'
|
|
2
|
-
import { VNode } from 'vue'
|
|
3
|
-
|
|
4
|
-
interface ELEmptySlots {
|
|
5
|
-
/* default slot: Custom bottom content */
|
|
6
|
-
default: VNode[]
|
|
7
|
-
|
|
8
|
-
/* image slot: Custom image */
|
|
9
|
-
image: VNode[]
|
|
10
|
-
|
|
11
|
-
/* description slot: Custom description */
|
|
12
|
-
description: VNode[]
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
[key: string]: VNode[]
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/** Placeholder hints for empty states. */
|
|
19
|
-
export declare class ElEmpty extends ElementUIComponent {
|
|
20
|
-
/* image URL */
|
|
21
|
-
image: string
|
|
22
|
-
|
|
23
|
-
/* image size (width) */
|
|
24
|
-
imageSize: number
|
|
25
|
-
|
|
26
|
-
/* description */
|
|
27
|
-
description: string
|
|
28
|
-
|
|
29
|
-
$slots: ELEmptySlots
|
|
30
|
-
|
|
31
|
-
}
|
|
1
|
+
import { ElementUIComponent } from './component'
|
|
2
|
+
import { VNode } from 'vue'
|
|
3
|
+
|
|
4
|
+
interface ELEmptySlots {
|
|
5
|
+
/* default slot: Custom bottom content */
|
|
6
|
+
default: VNode[]
|
|
7
|
+
|
|
8
|
+
/* image slot: Custom image */
|
|
9
|
+
image: VNode[]
|
|
10
|
+
|
|
11
|
+
/* description slot: Custom description */
|
|
12
|
+
description: VNode[]
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
[key: string]: VNode[]
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/** Placeholder hints for empty states. */
|
|
19
|
+
export declare class ElEmpty extends ElementUIComponent {
|
|
20
|
+
/* image URL */
|
|
21
|
+
image: string
|
|
22
|
+
|
|
23
|
+
/* image size (width) */
|
|
24
|
+
imageSize: number
|
|
25
|
+
|
|
26
|
+
/* description */
|
|
27
|
+
description: string
|
|
28
|
+
|
|
29
|
+
$slots: ELEmptySlots
|
|
30
|
+
|
|
31
|
+
}
|
package/types/footer.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ElementUIComponent } from './component'
|
|
2
|
-
|
|
3
|
-
/** Footer Component */
|
|
4
|
-
export declare class ElFooter extends ElementUIComponent {
|
|
5
|
-
/** Height of the footer */
|
|
6
|
-
height: string
|
|
7
|
-
}
|
|
1
|
+
import { ElementUIComponent } from './component'
|
|
2
|
+
|
|
3
|
+
/** Footer Component */
|
|
4
|
+
export declare class ElFooter extends ElementUIComponent {
|
|
5
|
+
/** Height of the footer */
|
|
6
|
+
height: string
|
|
7
|
+
}
|
package/types/form-item.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { ElementUIComponent, ElementUIComponentSize } from './component'
|
|
2
|
-
|
|
3
|
-
/** FormItem Component */
|
|
4
|
-
export declare class ElFormItem extends ElementUIComponent {
|
|
5
|
-
/** A key of `model` of the enclosing `el-form` component */
|
|
6
|
-
prop: string
|
|
7
|
-
|
|
8
|
-
/** Label */
|
|
9
|
-
label: string
|
|
10
|
-
|
|
11
|
-
/** Width of label, e.g. '50px' */
|
|
12
|
-
labelWidth: string
|
|
13
|
-
|
|
14
|
-
/** Whether the field is required or not, will be determined by validation rules if omitted */
|
|
15
|
-
required: boolean
|
|
16
|
-
|
|
17
|
-
/** Validation rules of form */
|
|
18
|
-
rules: object
|
|
19
|
-
|
|
20
|
-
/** Field error message, set its value and the field will validate error and show this message immediately */
|
|
21
|
-
error: string
|
|
22
|
-
|
|
23
|
-
/** Whether to show the error message */
|
|
24
|
-
showMessage: boolean
|
|
25
|
-
|
|
26
|
-
/** Whether to display the error message inline with the form item */
|
|
27
|
-
inlineMessage: boolean
|
|
28
|
-
|
|
29
|
-
/** Controls the size of components in this form */
|
|
30
|
-
size: ElementUIComponentSize
|
|
31
|
-
|
|
32
|
-
/** Reset current field and remove validation result */
|
|
33
|
-
resetField (): void
|
|
34
|
-
|
|
35
|
-
/** Remove validation status of the field */
|
|
36
|
-
clearValidate (): void
|
|
37
|
-
}
|
|
1
|
+
import { ElementUIComponent, ElementUIComponentSize } from './component'
|
|
2
|
+
|
|
3
|
+
/** FormItem Component */
|
|
4
|
+
export declare class ElFormItem extends ElementUIComponent {
|
|
5
|
+
/** A key of `model` of the enclosing `el-form` component */
|
|
6
|
+
prop: string
|
|
7
|
+
|
|
8
|
+
/** Label */
|
|
9
|
+
label: string
|
|
10
|
+
|
|
11
|
+
/** Width of label, e.g. '50px' */
|
|
12
|
+
labelWidth: string
|
|
13
|
+
|
|
14
|
+
/** Whether the field is required or not, will be determined by validation rules if omitted */
|
|
15
|
+
required: boolean
|
|
16
|
+
|
|
17
|
+
/** Validation rules of form */
|
|
18
|
+
rules: object
|
|
19
|
+
|
|
20
|
+
/** Field error message, set its value and the field will validate error and show this message immediately */
|
|
21
|
+
error: string
|
|
22
|
+
|
|
23
|
+
/** Whether to show the error message */
|
|
24
|
+
showMessage: boolean
|
|
25
|
+
|
|
26
|
+
/** Whether to display the error message inline with the form item */
|
|
27
|
+
inlineMessage: boolean
|
|
28
|
+
|
|
29
|
+
/** Controls the size of components in this form */
|
|
30
|
+
size: ElementUIComponentSize
|
|
31
|
+
|
|
32
|
+
/** Reset current field and remove validation result */
|
|
33
|
+
resetField (): void
|
|
34
|
+
|
|
35
|
+
/** Remove validation status of the field */
|
|
36
|
+
clearValidate (): void
|
|
37
|
+
}
|
package/types/form.d.ts
CHANGED
|
@@ -1,82 +1,82 @@
|
|
|
1
|
-
import { ElementUIComponent, ElementUIComponentSize } from './component'
|
|
2
|
-
|
|
3
|
-
export type FormItemLabelPosition = 'left' | 'right' | 'top'
|
|
4
|
-
|
|
5
|
-
export interface ValidateCallback {
|
|
6
|
-
/**
|
|
7
|
-
* The callback to tell the validation result
|
|
8
|
-
*
|
|
9
|
-
* @param isValid Whether the form is valid
|
|
10
|
-
* @param invalidFields fields that fail validation
|
|
11
|
-
*/
|
|
12
|
-
(isValid: boolean, invalidFields: object): void
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export interface ValidateFieldCallback {
|
|
16
|
-
/**
|
|
17
|
-
* The callback to tell the field validation result
|
|
18
|
-
*
|
|
19
|
-
* @param errorMessage The error message. It will be empty if there is no error
|
|
20
|
-
*/
|
|
21
|
-
(errorMessage: string): void
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/** Form Component */
|
|
25
|
-
export declare class ElForm extends ElementUIComponent {
|
|
26
|
-
/** Data of form component */
|
|
27
|
-
model: object
|
|
28
|
-
|
|
29
|
-
/** Validation rules of form */
|
|
30
|
-
rules: object
|
|
31
|
-
|
|
32
|
-
/** Whether the form is inline */
|
|
33
|
-
inline: boolean
|
|
34
|
-
|
|
35
|
-
/** Whether the form is disabled */
|
|
36
|
-
disabled: boolean
|
|
37
|
-
|
|
38
|
-
/** Position of label */
|
|
39
|
-
labelPosition: FormItemLabelPosition
|
|
40
|
-
|
|
41
|
-
/** Width of label, and all form items will inherit from Form */
|
|
42
|
-
labelWidth: string
|
|
43
|
-
|
|
44
|
-
/** Suffix of the label */
|
|
45
|
-
labelSuffix: string
|
|
46
|
-
|
|
47
|
-
/** Whether to show the error message */
|
|
48
|
-
showMessage: boolean
|
|
49
|
-
|
|
50
|
-
/** Whether to display the error message inline with the form item */
|
|
51
|
-
inlineMessage: boolean
|
|
52
|
-
|
|
53
|
-
/** Whether to display an icon indicating the validation result */
|
|
54
|
-
statusIcon: boolean
|
|
55
|
-
|
|
56
|
-
/** Whether to trigger validation when the `rules` prop is changed */
|
|
57
|
-
validateOnRuleChange: boolean
|
|
58
|
-
|
|
59
|
-
/** Controls the size of components in this form */
|
|
60
|
-
size: ElementUIComponentSize
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* Validate the whole form
|
|
64
|
-
*
|
|
65
|
-
* @param callback A callback to tell the validation result
|
|
66
|
-
*/
|
|
67
|
-
validate (callback: ValidateCallback): void
|
|
68
|
-
validate (): Promise<boolean>
|
|
69
|
-
/**
|
|
70
|
-
* Validate certain form items
|
|
71
|
-
*
|
|
72
|
-
* @param props The property of `model` or array of prop which is going to validate
|
|
73
|
-
* @param callback A callback to tell the field validation result
|
|
74
|
-
*/
|
|
75
|
-
validateField (props: string | string[], callback?: ValidateFieldCallback): void
|
|
76
|
-
|
|
77
|
-
/** reset all the fields and remove validation result */
|
|
78
|
-
resetFields (): void
|
|
79
|
-
|
|
80
|
-
/** clear validation message for certain fields */
|
|
81
|
-
clearValidate (props?: string | string[]): void
|
|
82
|
-
}
|
|
1
|
+
import { ElementUIComponent, ElementUIComponentSize } from './component'
|
|
2
|
+
|
|
3
|
+
export type FormItemLabelPosition = 'left' | 'right' | 'top'
|
|
4
|
+
|
|
5
|
+
export interface ValidateCallback {
|
|
6
|
+
/**
|
|
7
|
+
* The callback to tell the validation result
|
|
8
|
+
*
|
|
9
|
+
* @param isValid Whether the form is valid
|
|
10
|
+
* @param invalidFields fields that fail validation
|
|
11
|
+
*/
|
|
12
|
+
(isValid: boolean, invalidFields: object): void
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export interface ValidateFieldCallback {
|
|
16
|
+
/**
|
|
17
|
+
* The callback to tell the field validation result
|
|
18
|
+
*
|
|
19
|
+
* @param errorMessage The error message. It will be empty if there is no error
|
|
20
|
+
*/
|
|
21
|
+
(errorMessage: string): void
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/** Form Component */
|
|
25
|
+
export declare class ElForm extends ElementUIComponent {
|
|
26
|
+
/** Data of form component */
|
|
27
|
+
model: object
|
|
28
|
+
|
|
29
|
+
/** Validation rules of form */
|
|
30
|
+
rules: object
|
|
31
|
+
|
|
32
|
+
/** Whether the form is inline */
|
|
33
|
+
inline: boolean
|
|
34
|
+
|
|
35
|
+
/** Whether the form is disabled */
|
|
36
|
+
disabled: boolean
|
|
37
|
+
|
|
38
|
+
/** Position of label */
|
|
39
|
+
labelPosition: FormItemLabelPosition
|
|
40
|
+
|
|
41
|
+
/** Width of label, and all form items will inherit from Form */
|
|
42
|
+
labelWidth: string
|
|
43
|
+
|
|
44
|
+
/** Suffix of the label */
|
|
45
|
+
labelSuffix: string
|
|
46
|
+
|
|
47
|
+
/** Whether to show the error message */
|
|
48
|
+
showMessage: boolean
|
|
49
|
+
|
|
50
|
+
/** Whether to display the error message inline with the form item */
|
|
51
|
+
inlineMessage: boolean
|
|
52
|
+
|
|
53
|
+
/** Whether to display an icon indicating the validation result */
|
|
54
|
+
statusIcon: boolean
|
|
55
|
+
|
|
56
|
+
/** Whether to trigger validation when the `rules` prop is changed */
|
|
57
|
+
validateOnRuleChange: boolean
|
|
58
|
+
|
|
59
|
+
/** Controls the size of components in this form */
|
|
60
|
+
size: ElementUIComponentSize
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Validate the whole form
|
|
64
|
+
*
|
|
65
|
+
* @param callback A callback to tell the validation result
|
|
66
|
+
*/
|
|
67
|
+
validate (callback: ValidateCallback): void
|
|
68
|
+
validate (): Promise<boolean>
|
|
69
|
+
/**
|
|
70
|
+
* Validate certain form items
|
|
71
|
+
*
|
|
72
|
+
* @param props The property of `model` or array of prop which is going to validate
|
|
73
|
+
* @param callback A callback to tell the field validation result
|
|
74
|
+
*/
|
|
75
|
+
validateField (props: string | string[], callback?: ValidateFieldCallback): void
|
|
76
|
+
|
|
77
|
+
/** reset all the fields and remove validation result */
|
|
78
|
+
resetFields (): void
|
|
79
|
+
|
|
80
|
+
/** clear validation message for certain fields */
|
|
81
|
+
clearValidate (props?: string | string[]): void
|
|
82
|
+
}
|
package/types/header.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ElementUIComponent } from './component'
|
|
2
|
-
|
|
3
|
-
/** Header Component */
|
|
4
|
-
export declare class ElHeader extends ElementUIComponent {
|
|
5
|
-
/** Height of the header */
|
|
6
|
-
height: string
|
|
7
|
-
}
|
|
1
|
+
import { ElementUIComponent } from './component'
|
|
2
|
+
|
|
3
|
+
/** Header Component */
|
|
4
|
+
export declare class ElHeader extends ElementUIComponent {
|
|
5
|
+
/** Height of the header */
|
|
6
|
+
height: string
|
|
7
|
+
}
|
package/types/icon.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ElementUIComponent } from './component'
|
|
2
|
-
|
|
3
|
-
/** Icon Component */
|
|
4
|
-
export declare class ElIcon extends ElementUIComponent {
|
|
5
|
-
/** Icon name */
|
|
6
|
-
name: string
|
|
7
|
-
}
|
|
1
|
+
import { ElementUIComponent } from './component'
|
|
2
|
+
|
|
3
|
+
/** Icon Component */
|
|
4
|
+
export declare class ElIcon extends ElementUIComponent {
|
|
5
|
+
/** Icon name */
|
|
6
|
+
name: string
|
|
7
|
+
}
|