diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/element-attributes.json b/element-attributes.json old mode 100644 new mode 100755 index 0b4e5b3..36287d7 --- a/element-attributes.json +++ b/element-attributes.json @@ -20,7 +20,7 @@ "minlength": {"description": "minimum Input text length"}, "rows": {"description": "number of rows of textarea, only works when type is 'textarea'"}, "autosize": {"description": "whether textarea has an adaptive height, only works when type is 'textarea'. Can accept an object, e.g. { minRows: 2, maxRows: 6 }"}, - "auto-complete": {"options": ["one", "off"]}, + "auto-complete": {"version": "<2.4.7", "options": ["one", "off"]}, "form": {"description": "same as 'form' in native input"}, "custom-item": {"version": "<2.0.0", "description": "component name of your customized suggestion list item"}, "fetch-suggestions": {"description": "a method to fetch input suggestions. When suggestions are ready, invoke callback(data:[]) to return them to Autocomplete"}, @@ -158,7 +158,7 @@ "interval": {"description": "interval of the auto loop, in milliseconds, default: 30000"}, "indicator-position": {"options": ["outside", "none"], "description": "position of the indicators"}, "arrow": {"options": ["always", "hover", "nerver"], "description": "when arrows are shown, default: hover"}, - "menu-algin": {"version": "<2.0.0", "options": ["start", "end"], "description": "horizontal alignment, default: end"}, + "menu-align": {"version": "<2.0.0", "options": ["start", "end"], "description": "horizontal alignment, default: end"}, "placement": {"version": ">=2.0.0", "options": ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end", "right", "right-start", "right-end"], "description": "default: bottom"}, "value-key": {"description": "unique identity key name for value, required when value is an object"}, "hide-after": {"description": "timeout in milliseconds to hide tooltip, default: 0"}, @@ -171,8 +171,15 @@ "show-timeout": {"description": "Delay time before show a dropdown, default: 250"}, "hide-timeout": {"description": "Delay time before hide a dropdown, default: 150"}, "default-time": {"description": "The time value to use when selecting date range, type: string[]"}, + "autocomplete": {"version": ">=2.4.7", "options": ["one", "off"], "description": "same as autocomplete in native input, default: off"}, + "precision": {"version": ">=2.4.0", "description": "precision of input value"}, + "before-leave": {"version": ">=2.4.0", "description": "hook function before switching tab. If false is returned or a Promise is returned and then is rejected, switching will be prevented"}, + "pager-count": {"version": ">=2.3.5", "description": "number of pagers(odd number between 5 and 21). Pagination collapses when the total page count exceeds this value, default: 7"}, "target-order": {"version": ">=2.2.1", "options": ["original", "push", "unshift"], "description": "order strategy for elements in the target list. If set to 'original', the elements will keep the same order as the data source. If set to 'push', the newly added elements will be pushed to the bottom. If set to 'unshift', the newly added elements will be inserted on the top, default: original"}, "input-size": {"version": ">=2.2.1", "options": ["large", "medium", "small", "mini"], "description": "size of the input box, default: small"}, + "shadow": {"version": ">=2.3.3", "options": ["always", "hover", "never"], "description": "when to show card shadows, default: always"}, + "el-container/direction": {"options": ["horizontal", "vertical"], "description": "vertical when nested with el-header or el-footer; horizontal otherwise"}, + "el-autocomplete/placement": {"version": ">=2.3.3", "options": ["top", "top-start", "top-end", "bottom", "bottom-start", "bottom-end"], "description": "placement of the popup menu, default: bottom-start"}, "el-submenu/show-timeout": {"version": ">=2.0.11", "description": "timeout before showing a sub-menu, default: 300"}, "el-submenu/hide-timeout": {"version": ">=2.0.11", "description": "timeout before hiding a sub-menu, default: 300"}, "el-input/on-icon-click": {"version": "<2.0.0", "description": "hook function when clicking on the input icon"}, @@ -190,7 +197,7 @@ "el-popover/trigger": {"options": ["click", "focus", "hover", "manual"], "description": "how the popover is triggered, default: click"}, "el-tabs/name": {"description": "identifier corresponding to the activeName of Tabs, representing the alias of the tab-pane"}, "el-tabs/index": {"description": "name of the selected tab"}, - "el-menu/model": {"options": ["horizontal", "vertical"], "description": "menu display mode"}, + "el-menu/mode": {"options": ["horizontal", "vertical"], "description": "menu display mode"}, "el-tree/render-content": {"description": "render function for tree node"}, "el-step/status": {"options": ["wait", "process", "finish", "error", "success"], "description": "current status. It will be automatically set by Steps if not configured."}, "el-progress/status": {"options": ["success", "exception"], "description": "the current status of progress bar"}, @@ -200,7 +207,7 @@ "el-form-item/prop": {"description": "a key of model. In the use of validate and resetFields method, the attribute is required"}, "el-table-column/prop": {"description": "field name. You can also use its alias: property"}, "el-row/align": {"options": ["top", "middle", "bottom"], "description": "vertical alignment of flex layout"}, - "el-row/offset": {"description": "number of spacing on the left side of the grid"}, + "el-col/offset": {"description": "number of spacing on the left side of the grid"}, "el-tooltip/offset": {"description": "offset of the Tooltip, default: 0"}, "el-carousel-item/name": {"description": "name of the item, can be used in 'setActiveItem'"}, "el-collapse/name": {"description": "unique identification of the panel"}, @@ -221,6 +228,7 @@ "el-table-column/type": {"options": ["selection", "index", "expand"], "description": "type of the column. If set to 'selection', the column will display checkbox. If set to 'index', the column will display index of the row (staring from 1). If set to 'expand', the column will display expand icon."}, "el-tag/type": {"options": ["info", "success", "warning", "danger"], "description": "theme"}, "el-alert/type": {"options": ["success", "warning", "info", "danger"], "description": "component type"}, + "el-badge/type": {"version": ">=2.4.9", "options": ["primary", "success", "warning", "danger", "info"], "description": "button type"}, "el-checkbox-group/min": {"description": "minimum number of checkbox checked"}, "el-input-number/min": {"description": "the minimum allowed value"}, "el-slider/min": {"description": "minimum value, defalult: 0"}, @@ -249,6 +257,36 @@ "options": ["shortcuts", "disabledDate", "firstDayOfWeek", "onPick"], "description": "additional options, type is object" }, + "el-cascader/before-filter": {"description": "hook function before filtering with the value to be filtered as its parameter. If false is returned or a Promise is returned and then is rejected, filtering will be aborted"}, + "el-slider/step": {"description": "step size"}, + "el-slider/marks": {"version": ">=2.8.0", "description": "marks, type of key must be number and must in closed interval [min, max], each mark can custom style"}, + "el-table/tree-props": {"version": ">=2.9.1", "description": "configuration for rendering nested data"}, + "el-table-column/sort-orders": {"description": "the order of the sorting strategies used when sorting the data, works when sortable is true. Accepts an array, as the user clicks on the header, the column is sorted in order of the elements in the array"}, + "el-progress/stroke-linecap": {"options": ["butt", "round", "square"], "description": "circle/dashboard type shape at the end path"}, + "el-popover/close-delay": {"version": ">=2.12.0", "description": "delay before disappearing when trigger is hover, in milliseconds"}, + "el-timeline-item/timestamp": {"description": "timestamp content"}, + "el-divider/content-position": {"options": ["left", "right", "center"], "description": "customize the content on the divider line"}, + "el-calendar/first-day-of-week": {"version": ">=2.10.0", "options": [1, 2, 3, 4, 5, 6, 7], "description": "fisrt day of week"}, + "el-image/src": {"version": ">=2.8.0", "description": "Image source, same as native"}, + "el-image/alt": {"version": ">=2.8.0", "options": ["fill", "contain", "cover", "none", "scale-down"], "description": "Indicate how the image should be resized to fit its container, same as object-fit"}, + "el-image/referrer-policy": {"version": ">=2.8.0", "description": "Native referrerPolicy"}, + "el-image/scroll-container": {"version": ">=2.8.0", "description": "The container to add scroll listener when using lazy load"}, + "el-image/preview-src-list": {"version": ">=2.8.0", "description": "allow big image preview"}, + "el-image/z-index": {"version": ">=2.8.0", "description": "set image preview z-index"}, + "el-backtop/target": {"version": ">=2.9.0", "description": "the target to trigger scroll"}, + "el-backtop/visibility-height": {"version": ">=2.9.0", "description": "the button will not show until the scroll height reaches this value"}, + "el-backtop/right": {"version": ">=2.9.0", "description": "right distance"}, + "el-backtop/bottom": {"version": ">=2.9.0", "description": "bottom distance"}, + "el-page-header/content": {"version": ">=2.9.0", "description": "content"}, + "el-link/href": {"version": ">=2.8.0", "description": "same as native hyperlink's href"}, + "el-avatar/shape": {"version": ">=2.10.0", "options": ["circle", "square"], "description": "set avatar shape"}, + "el-avatar/src": {"version": ">=2.10.0", "description": "the address of the image for an image avatar"}, + "el-avatar/alt": {"version": ">=2.10.0", "description": "This attribute defines an alternative text description of the image"}, + "el-popconfirm/confirmButtonText": {"version": ">=2.13.0", "description": "Confirm button text"}, + "el-popconfirm/cancelButtonText": {"version": ">=2.13.0", "description": "Cancel button text"}, + "el-popconfirm/confirmButtonType": {"version": ">=2.13.0", "description": "Confirm button type"}, + "el-popconfirm/cancelButtonType": {"version": ">=2.13.0", "description": "Cancel button type"}, + "el-popconfirm/iconColor": {"version": ">=2.13.0", "description": "Icon color"}, "loading": {"type": "boolean"}, "disabled": {"type": "boolean"}, "autofocus": {"type": "boolean"}, @@ -280,7 +318,7 @@ "auto-expand-parent": {"type": "boolean", "description": "whether to expand father node when a child node is expanded, default: true"}, "expand-on-click-node": {"type": "boolean", "description": "whether to expand or collapse node when clicking on the node, if false, then expand or collapse node only when clicking on the arrow icon, default: true"}, "filter-multiple": {"type": "boolean", "description": "whether data filtering supports multiple options"}, - "shwo-header": {"type": "boolean", "description": "whether table header is visible"}, + "show-header": {"type": "boolean", "description": "whether table header is visible"}, "fit": {"type": "boolean", "description": "whether width of column automatically fits its container"}, "inline": {"type": "boolean", "description": "whether the form is inline"}, "indeterminate": {"type": "boolean", "description": "same as indeterminate in native checkbox"}, @@ -290,10 +328,41 @@ "show-upload-list": {"type": "boolean", "description": "whether to show the uploaded file list, default: true"}, "vertical": {"type": "boolean", "description": "defaults: false"}, "collapse": {"type": "boolean", "description": "whether the menu is collapsed (available only in vertical mode)"}, - "el-tooltip/vavlue": {"type": "boolean", "description": "visibility of Tooltip, default: false"}, + "el-tooltip/value": {"type": "boolean", "description": "visibility of Tooltip, default: false"}, "el-collapse/accordion": {"type": "boolean", "description": "whether to activate accordion mode, default: false"}, "el-tree/accordion": {"type": "boolean", "description": "whether only one node among the same level can be expanded at one time, default: false"}, "el-button/round": {"version": ">=2.0.0", "type": "boolean", "description": "determine whether it's a round button, default: false"}, + "el-submenu/popper-append-to-body": {"version": ">=2.3.3", "type": "boolean", "description": "whether to append the popup menu to body. If the positioning of the menu is wrong, you can try setting this prop, default: level one Submenu: true / other Submenus: false"}, + "el-autocomplete/popper-append-to-body": {"version": ">=2.4.6", "type": "boolean", "description": "whether to append the dropdown to body. If the positioning of the dropdown is wrong, you can try to set this prop to false, default: true"}, + "el-carousel/loop": {"version": ">=2.4.10", "type": "boolean", "description": "display the items in loop, default: true"}, + "el-date-picker/validate-event": {"version": ">=2.5.0", "type": "boolean", "description": "whether to trigger form validation, default: true"}, + "el-input/show-word-limit": {"type": "boolean", "description": "whether show word count,only works when type is 'text' or 'textarea'"}, + "el-input/show-password": {"version": ">=2.6.0", "type": "boolean", "description": "whether to show toggleable password input"}, + "el-input/validate-event": {"type": "boolean", "description": "whether to trigger form validation"}, + "el-input/highlight-first-item": {"version": ">=2.6.0", "type": "boolean", "description": "whether to highlight first item in remote search suggestions by default"}, + "el-input-number/step-strictly": {"version": ">=2.8.0", "type": "boolean", "description": "whether input value can only be multiple of step"}, + "el-switch/validate-event": {"version": ">=2.6.0", "type": "boolean", "description": "whether to trigger form validation"}, + "el-time-picker/is-range": {"type": "boolean", "description": "whether to pick a time range, only works with "}, + "el-upload/show-file-list": {"type": "boolean", "description": "whether to show the uploaded file list"}, + "el-form/hide-required-asterisk": {"type": "boolean", "description": "whether required fields should have a red asterisk (star) beside their labels"}, + "el-table/lazy": {"type": "boolean", "description": "whether to lazy loading data"}, + "el-tag/disable-transitions": {"type": "boolean", "description": "whether to disable animations"}, + "el-tree/render-after-expand": {"version": ">=2.0.9", "type": "boolean", "description": "whether to render child nodes only after a parent node is expanded for the first time"}, + "el-tree/check-on-click-node": {"version": ">=2.3.8", "type": "boolean", "description": "whether to check or uncheck node when clicking on the node, if false, the node can only be checked or unchecked by clicking on the checkbox."}, + "el-tree/lazy": {"type": "boolean", "description": "whether to lazy load leaf node, used with load attribute"}, + "el-pagination/hide-on-single-page": {"version": ">=2.8.0", "type": "boolean", "description": "whether to hide when there's only one page"}, + "el-tabs/addable": {"type": "boolean", "description": "whether Tab is addable"}, + "el-dialog/destroy-on-close": {"version": ">=2.11.0", "type": "boolean", "description": "Destroy elements in Dialog when closed"}, + "el-popover/offset": {"type": "boolean", "description": "offset of the Popover, default: 0"}, + "el-timeline/reverse": {"version": ">=2.6.0", "type": "boolean", "description": "whether the node is ascending or descending, default is ascending"}, + "el-timeline-item/hide-timestamp": {"version": ">=2.6.0", "type": "boolean", "description": "whether to show timestamp"}, + "el-image/lazy": {"version": ">=2.8.0", "type": "boolean", "description": "Whether to use lazy load"}, + "el-drawer/destroy-on-close": {"version": ">=2.11.0", "type": "boolean", "description": "Indicates whether children should be destroyed after Drawer closed"}, + "el-drawer/wrapperClosable": {"version": ">=2.11.0", "type": "boolean", "description": "Indicates whether user can close Drawer by clicking the shadowing layer."}, + "el-drawer/withHeader": {"version": ">=2.11.0", "type": "boolean", "description": "Flag that controls the header section's existance, default to true, when withHeader set to false, both title attribute and title slot won't work"}, + "el-link/underline": {"version": ">=2.8.0", "type": "boolean", "description": "whether the component has underline"}, + "el-avatar/srcSet": {"version": ">=2.10.0", "type": "boolean", "description": "A list of one or more strings separated by commas indicating a set of possible image sources for the user agent to use"}, + "el-popconfirm/hideIcon": {"version": ">=2.13.0", "type": "boolean", "description": "is hide Icon"}, "change": {"type": "method"}, "select": {"type": "method"}, "click": {"type": "method"}, @@ -302,13 +371,14 @@ "method": {"type": "method"}, "visible-change": {"type": "method"}, "remove-tag": {"type": "method"}, - "szie-change": {"type": "method"}, + "size-change": {"type": "method"}, "close": {"type": "method"}, "open": {"type": "method"}, "active-change": {"type": "method"}, "el-input/click": {"version": "<2.0.0", "type": "method"}, "el-menu/open": {"version": ">=2.0.0", "type": "method"}, "el-menu/close": {"version": ">=2.0.0", "type": "method"}, + "el-tag/click": {"version": ">=2.5.0", "type": "method", "description": "triggers when Tag is clicked"}, "check": {"version": ">=2.2.0", "type": "method", "description": "triggers after clicking the checkbox of a node"}, "show": {"type": "method", "description": "triggers when popover shows"}, "hide": {"type": "method", "description": "triggers when popover hides"}, @@ -347,15 +417,27 @@ "node-drag-end": {"version": ">=2.3.0", "type": "method", "description": "triggers when dragging ends"}, "node-drop": {"version": ">=2.3.0", "type": "method", "description": "triggers after the dragging node is dropped"}, "validate": {"version": ">=2.3.0", "type": "method", "description": "triggers after a form item is validated"}, + "prev-click": {"version": ">=2.3.5", "type": "method", "description": "triggers when the prev button is clicked and current page changes"}, + "next-click": {"version": ">=2.3.5", "type": "method", "description": "triggers when the next button is clicked and current page changes"}, + "closed": {"version": ">=2.4.1", "type": "method", "description": "triggers when the Dialog closing animation ends"}, + "opened": {"version": ">=2.4.8", "type": "method", "description": "triggers when the Dialog opening animation ends"}, "el-table/select": {"type": "method", "description": "triggers when user clicks the checkbox in a row, arg: selection, row"}, + "el-table/header-contextmenu": {"type": "method", "description": "triggers when user right clicks on a column header"}, "el-tag/close": {"type": "method", "description": "triggers when Tab is removed"}, "el-tree/current-change": {"type": "method", "description": "triggers when current node changes"}, "el-pagination/current-change": {"type": "method", "description": "triggers when 'current-page' changes"}, "el-dropdown/command": {"type": "method", "description": "triggers when a dropdown item is clicked"}, - "el-input/clear": {"version": ">=2.2.2", "type": "method", "descriptino": "triggers when the Input is cleared by the button which generated by the 'clearable' attribute"}, - "el-select/clear": {"type": "method", "descriptino": "triggers when the clear icon is clicked in a clearable Select"}, + "el-input/clear": {"version": ">=2.2.2", "type": "method", "description": "triggers when the Input is cleared by the button which generated by the 'clearable' attribute"}, + "el-select/clear": {"type": "method", "description": "triggers when the clear icon is clicked in a clearable Select"}, + "el-autocomplete/clear": {"type": "method", "version": ">=2.4.10", "description": "triggers when the clear icon is clicked in a clearable Select"}, "el-popover/after-enter": {"version": ">=2.2.2", "type": "method", "description": "triggers when the entering transition ends"}, "el-popover/after-leave": {"version": ">=2.2.2", "type": "method", "description": "triggers when the leaving transition ends"}, + "el-cascader/visible-change": {"version": ">=2.4.10", "type": "method", "description": "triggers when the dropdown appears/disappears, parameters: true when it appears, and false otherwise"}, + "el-page-header/back": {"type": "method", "description": "triggers when right side is clicked"}, + "el-popconfirm/onConfirm": {"type": "method", "description": "triggers when click confirm button"}, + "el-popconfirm/onCancel": {"type": "method", "description": "triggers when click cancel button"}, + "el-drawer/opened": {"type": "method", "description": "Triggered after Drawer opening animation ended"}, + "el-drawer/closed": {"type": "method", "description": "Triggered after Drawer closing animation ended"}, "readonly": {"type": "flag"}, "multiple": {"type": "flag"}, "clearable": {"type": "flag"}, @@ -378,6 +460,10 @@ "simple": {"version": ">=2.0.0", "type": "flag"}, "el-radio/border": {"version": ">=2.0.0", "type": "flag"}, "el-checkbox/border": {"version": ">=2.0.0", "type": "flag"}, + "stretch": {"version": ">=2.4.1", "type": "flag", "description": "whether width of tab automatically fits its container"}, + "lazy": {"version": ">=2.4.0", "type": "flag", "description": "whether Tab is lazily rendered"}, + "hide-loading": {"version": ">=2.4.0", "type": "flag", "description": "whether to hide the loading icon in remote search"}, + "automatic-dropdown": {"version": ">=2.3.5", "type": "flag", "description": "for non-filterable Select, this prop decides if the option menu pops up when the input is focused"}, "draggable": {"version": ">=2.3.0", "type": "flag", "description": "whether enable tree nodes drag and drop"}, "unlink-panels": {"version": ">=2.0.0", "type": "flag", "description": "unlink two date-panels in range-picker"}, "reserve-keyword": {"version": ">=2.0.0", "type": "flag", "description": "when 'multiple' and 'filter' is true, whether to reserve current keyword after selecting an option"}, @@ -415,7 +501,7 @@ "collapse-tags": {"version": ">=2.0.5", "type": "flag", "description": "whether to collapse tags to a text when multiple selecting"}, "el-dialog/center": {"version": ">=2.0.0", "type": "flag", "description": "whether to align the header and footer in center"}, "el-alert/center": {"type": "flag", "description": "whether to center the text"}, - "e;-steps/center": {"version": "<2.0.0", "type": "flag", "description": "center whole 'Steps' component"}, + "el-steps/center": {"version": "<2.0.0", "type": "flag", "description": "center whole 'Steps' component"}, "el-form/inline-message": {"version": ">=2.0.0", "type": "flag", "description": "whether to display the error message inline with the form item"}, "el-form-item/inline-message": {"version": ">=2.0.0", "type": "flag", "description": "inline style validate message"}, "format-tooltip": {}, @@ -457,9 +543,10 @@ "off-icon-class": {"version": "<2.0.0", "type": "icon", "description": "class name of the icon displayed when in off state, overrides 'off-text', version < 2"}, "active-icon-class": {"version": ">=2.0.0", "type": "icon", "description": "class name of the icon displayed when in on state, overrides 'active-text', version >= 2"}, "inactive-icon-class": {"version": ">=2.0.0", "type": "icon", "description": "class name of the icon displayed when in off state, overrides 'inactive-text', version >= 2"}, + "el-tree/icon-class": { "version": ">=2.4.10", "type": "icon", "description": "custome tree node icon"}, "prefix-icon": {"version": ">=2.0.0", "type":"flag", "description": "prefix icon class"}, "suffix-icon": {"version": ">=2.0.0", "type":"flag", "description": "suffix icon class"}, "icon": {"type": "shortcut-icon"}, "el-input/icon": {"version": "<2.0.0", "type": "shortcut-icon", "description": "icon name"}, - "icons": ["el-icon-arrow-down", "el-icon-arrow-left","el-icon-arrow-right", "el-icon-arrow-up", "el-icon-caret-bottom", "el-icon-caret-left", "el-icon-caret-right", "el-icon-caret-top", "el-icon-check", "el-icon-circle-check", "el-icon-circle-cross", "el-icon-close", "el-icon-upload", "el-icon-d-arrow-left", "el-icon-d-arrow-right", "el-icon-d-caret", "el-icon-date", "el-icon-delete", "el-icon-document", "el-icon-edit", "el-icon-information", "el-icon-loading", "el-icon-menu", "el-icon-message", "el-icon-minus", "el-icon-more", "el-icon-picture", "el-icon-plus", "el-icon-search", "el-icon-setting", "el-icon-share", "el-icon-star-off", "el-icon-star-on", "el-icon-time", "el-icon-warning", "el-icon-delete2", "el-icon-upload2", "el-icon-view"] + "icons": ["el-icon-arrow-down", "el-icon-arrow-left", "el-icon-arrow-right", "el-icon-arrow-up", "el-icon-caret-bottom", "el-icon-caret-left", "el-icon-caret-right", "el-icon-caret-top", "el-icon-check", "el-icon-circle-check", "el-icon-circle-cross", "el-icon-close", "el-icon-upload", "el-icon-d-arrow-left", "el-icon-d-arrow-right", "el-icon-d-caret", "el-icon-date", "el-icon-delete", "el-icon-document", "el-icon-edit", "el-icon-information", "el-icon-loading", "el-icon-menu", "el-icon-message", "el-icon-minus", "el-icon-more", "el-icon-picture", "el-icon-plus", "el-icon-search", "el-icon-setting", "el-icon-share", "el-icon-star-off", "el-icon-star-on", "el-icon-time", "el-icon-warning", "el-icon-delete2", "el-icon-upload2", "el-icon-view", "el-icon-platform-eleme", "el-icon-eleme", "el-icon-delete-solid", "el-icon-s-tools", "el-icon-user-solid", "el-icon-user", "el-icon-phone", "el-icon-phone-outline", "el-icon-more-outline", "el-icon-s-goods", "el-icon-goods", "el-icon-warning-outline", "el-icon-question", "el-icon-info", "el-icon-remove", "el-icon-circle-plus", "el-icon-success", "el-icon-error", "el-icon-zoom-in", "el-icon-zoom-out", "el-icon-remove-outline", "el-icon-circle-plus-outline", "el-icon-circle-close", "el-icon-s-help", "el-icon-help", "el-icon-video-camera-solid", "el-icon-video-camera", "el-icon-s-cooperation", "el-icon-s-order", "el-icon-s-platform", "el-icon-s-fold", "el-icon-s-unfold", "el-icon-s-operation", "el-icon-s-promotion", "el-icon-s-home", "el-icon-s-release", "el-icon-s-ticket", "el-icon-s-management", "el-icon-s-open", "el-icon-s-shop", "el-icon-s-marketing", "el-icon-s-flag", "el-icon-s-comment", "el-icon-s-finance", "el-icon-s-claim", "el-icon-s-custom", "el-icon-s-opportunity", "el-icon-s-data", "el-icon-s-check", "el-icon-s-grid", "el-icon-bottom-left", "el-icon-bottom-right", "el-icon-back", "el-icon-right", "el-icon-bottom", "el-icon-top", "el-icon-top-left", "el-icon-sort", "el-icon-sort-up", "el-icon-sort-down", "el-icon-rank", "el-icon-c-scale-to-original", "el-icon-edit-outline", "el-icon-folder", "el-icon-folder-opened", "el-icon-tickets", "el-icon-document-remove", "el-icon-document-delete", "el-icon-document-copy", "el-icon-document-checked", "el-icon-document-add", "el-icon-printer", "el-icon-paperclip", "el-icon-takeaway-box", "el-icon-monitor", "el-icon-scissors", "el-icon-brush", "el-icon-mouse", "el-icon-coordinate", "el-icon-magic-stick", "el-icon-reading", "el-icon-data-line", "el-icon-data-board", "el-icon-pie-chart", "el-icon-data-analysis", "el-icon-collection-tag", "el-icon-film", "el-icon-suitcase", "el-icon-receiving", "el-icon-collection", "el-icon-files", "el-icon-notebook-1", "el-icon-toilet-paper", "el-icon-office-building", "el-icon-school", "el-icon-table-lamp", "el-icon-house", "el-icon-no-smoking", "el-icon-smoking", "el-icon-shopping-cart-full", "el-icon-shopping-cart-1", "el-icon-shopping-cart-2", "el-icon-shopping-bag-1", "el-icon-shopping-bag-2", "el-icon-sold-out", "el-icon-sell", "el-icon-present", "el-icon-box", "el-icon-bank-card", "el-icon-money", "el-icon-coin", "el-icon-wallet", "el-icon-discount", "el-icon-price-tag", "el-icon-news", "el-icon-guide", "el-icon-male", "el-icon-female", "el-icon-thumb", "el-icon-cpu", "el-icon-link", "el-icon-connection", "el-icon-open", "el-icon-turn-off", "el-icon-set-up", "el-icon-chat-round", "el-icon-chat-line-round", "el-icon-chat-square", "el-icon-chat-dot-round", "el-icon-chat-dot-square", "el-icon-chat-line-square", "el-icon-postcard", "el-icon-position", "el-icon-turn-off-microphone", "el-icon-microphone", "el-icon-close-notification", "el-icon-bangzhu", "el-icon-odometer", "el-icon-crop", "el-icon-aim", "el-icon-switch-button", "el-icon-full-screen", "el-icon-copy-document", "el-icon-mic", "el-icon-stopwatch", "el-icon-medal-1", "el-icon-medal", "el-icon-trophy", "el-icon-trophy-1", "el-icon-first-aid-kit", "el-icon-discover", "el-icon-place", "el-icon-location", "el-icon-location-outline", "el-icon-location-information", "el-icon-delete-location", "el-icon-map-location", "el-icon-alarm-clock", "el-icon-timer", "el-icon-watch-1", "el-icon-watch", "el-icon-unlock", "el-icon-key", "el-icon-service", "el-icon-mobile-phone", "el-icon-bicycle", "el-icon-truck", "el-icon-ship", "el-icon-basketball", "el-icon-football", "el-icon-soccer", "el-icon-baseball", "el-icon-wind-power", "el-icon-light-rain", "el-icon-lightning", "el-icon-heavy-rain", "el-icon-sunrise", "el-icon-sunrise-1", "el-icon-sunset", "el-icon-sunny", "el-icon-cloudy", "el-icon-partly-cloudy", "el-icon-cloudy-and-sunny", "el-icon-moon", "el-icon-moon-night", "el-icon-dish", "el-icon-dish-1", "el-icon-food", "el-icon-chicken", "el-icon-fork-spoon", "el-icon-knife-fork", "el-icon-burger", "el-icon-tableware", "el-icon-sugar", "el-icon-dessert", "el-icon-ice-cream", "el-icon-hot-water", "el-icon-water-cup", "el-icon-coffee-cup", "el-icon-cold-drink", "el-icon-goblet", "el-icon-goblet-full", "el-icon-goblet-square", "el-icon-goblet-square-full", "el-icon-refrigerator", "el-icon-grape", "el-icon-watermelon", "el-icon-cherry", "el-icon-apple", "el-icon-pear", "el-icon-orange", "el-icon-coffee", "el-icon-ice-tea", "el-icon-ice-drink", "el-icon-milk-tea", "el-icon-potato-strips", "el-icon-lollipop", "el-icon-ice-cream-square", "el-icon-ice-cream-round"] } diff --git a/element-tags.json b/element-tags.json old mode 100644 new mode 100755 index 1d1c503..ad73c9e --- a/element-tags.json +++ b/element-tags.json @@ -1,4 +1,21 @@ { + "el-container": { + "attributes": ["direction"], + "description": "wrapper container. When nested with a or , all its child elements will be vertically arranged. Otherwise horizontally" + }, + "el-header": { + "attributes": ["height"], + "description": "container for headers" + }, + "el-footer": { + "attributes": ["height"], + "description": "container for footers" + }, + "el-aside": { + "attributes": ["width"], + "defaults": ["width"], + "description": "container for side sections (usually a side nav)" + }, "el-row": { "attributes": ["gutter", "type", "justify", "align", "tag"], "subtags": ["el-col"], @@ -14,18 +31,23 @@ "defaults": ["type"], "description": "Commonly used button." }, + "el-link": { + "attributes": ["type", "underline", "disabled", "href", "icon"], + "defaults": ["href"], + "description": "Text hyperlink" + }, "el-radio": { "attributes": ["label", "disabled", "border", "size", "name"], "defaults": ["label"], "description": "Single selection among multiple options." }, "el-radio-group": { - "attributes": ["size", "fill", "text-color", "change"], + "attributes": ["size", "fill", "text-color", "disabled", "change"], "defaults": ["v-model"], "subtags": ["el-radio"] }, "el-radio-button": { - "attributes": ["label", "disabled"], + "attributes": ["label", "disabled", "name"], "defaults": ["label"] }, "el-checkbox": { @@ -34,29 +56,29 @@ "description": "A group of options for multiple choices." }, "el-checkbox-group": { - "attributes": ["size", "fill", "text-color", "min", "max", "change"], + "attributes": ["size", "fill", "text-color", "min", "max", "disabled", "change"], "defaults": ["v-model"], "subtags": ["el-checkbox"] }, "el-checkbox-button": { - "attributes": ["label"], + "attributes": ["label", "true-label", "false-label", "disabled", "name", "checked"], "defaults": ["label"] }, "el-input": { - "attributes": ["type", "value", "maxlength", "minlength", "placeholder", "disabled", "size", "icon", "prefix-icon", "suffix-icon", "rows", "autosize", "auto-complete", "name", "readonly", "max", "min", "step", "resize", "autofocus", "form", "label", "tabindex", "clearable", "on-icon-click", "click", "blur", "focus", "change", "clear"], + "attributes": ["type", "value", "maxlength", "minlength", "placeholder", "disabled", "size", "icon", "prefix-icon", "suffix-icon", "rows", "autosize", "autocomplete", "auto-complete", "name", "readonly", "max", "min", "step", "resize", "autofocus", "form", "label", "tabindex", "clearable", "show-word-limit", "show-password", "validate-event", "on-icon-click", "click", "blur", "focus", "change", "clear"], "defaults": ["v-model", "placeholder"], "description": "Input data using mouse or keyboard." }, "el-autocomplete": { - "attributes": ["value", "debounce", "placeholder", "disabled", "props", "custom-item", "icon", "fetch-suggestions", "popper-class", "trigger-on-focus", "on-icon-click", "select-when-unmatched", "label", "prefix-icon", "suffix-icon", "select"], + "attributes": ["value", "debounce", "placement", "placeholder", "disabled", "props", "custom-item", "icon", "fetch-suggestions", "popper-class", "trigger-on-focus", "on-icon-click", "select-when-unmatched", "label", "prefix-icon", "suffix-icon", "hide-loading", "popper-append-to-body", "value-key", "name", "highlight-first-item", "select", "clear", "change"], "defaults": ["v-model", "placeholder"] }, "el-input-number": { - "attributes": ["value", "min", "max", "step", "size", "disabled", "controls-position", "controls", "debounce", "change"], + "attributes": ["value", "min", "max", "step", "precision", "size", "disabled", "controls-position", "controls", "debounce", "step-strictly", "name", "label", "placeholder", "change", "blur", "focus"], "defaults": ["v-model", "placeholder"] }, "el-select": { - "attributes": ["multiple", "disabled", "value-key", "size", "clearable", "collapse-tags", "multiple-limit", "name", "auto-complete", "placeholder", "filterable", "allow-create", "filter-method", "remote", "remote-method", "loading", "loading-text", "no-match-text", "no-data-text", "popper-class", "reserve-keyword", "default-first-option", "popper-append-to-body", "change", "visible-change", "remote-tag", "clear", "blur", "focus"], + "attributes": ["multiple", "disabled", "value-key", "size", "clearable", "collapse-tags", "multiple-limit", "name", "autocomplete", "auto-complete", "placeholder", "filterable", "allow-create", "filter-method", "remote", "remote-method", "loading", "loading-text", "no-match-text", "no-data-text", "popper-class", "reserve-keyword", "default-first-option", "popper-append-to-body", "automatic-dropdown", "change", "visible-change", "remote-tag", "clear", "blur", "focus"], "defaults": ["v-model", "placeholder"], "subtags": ["el-option"], "description": "When there are plenty of options, use a drop-down menu to display and select desired ones." @@ -71,30 +93,35 @@ "defaults": ["v-for", ":key"] }, "el-cascader": { - "attributes": ["options", "props", "value", "separator", "popper-class", "placeholder", "disabled", "clearable", "expand-trigger", "show-all-levels", "filterable", "debounce", "change-on-select", "size", "change", "active-item-change", "blur", "focus"], + "attributes": ["options", "props", "value", "separator", "popper-class", "placeholder", "disabled", "clearable", "expand-trigger", "show-all-levels", "filterable", "debounce", "change-on-select", "collapse-tags", "filter-method", "before-filter", "size", "change", "active-item-change", "blur", "focus", "visible-change", "remove-tag"], + "defaults": [":options", "v-model"], + "description": "If the options have a clear hierarchical structure, Cascader can be used to view and select them." + }, + "el-cascader-panel": { + "attributes": ["value", "options", "props"], "defaults": [":options", "v-model"], "description": "If the options have a clear hierarchical structure, Cascader can be used to view and select them." }, "el-switch": { - "attributes": ["disabled", "width", "active-icon-class", "inactive-icon-class", "active-text", "inactive-text", "active-value", "inactive-value", "active-color", "inactive-color", "on-icon-class", "off-icon-class", "on-text", "off-text", "on-value", "off-value", "on-color", "off-color", "name", "change"], + "attributes": ["disabled", "width", "active-icon-class", "inactive-icon-class", "active-text", "inactive-text", "active-value", "inactive-value", "active-color", "inactive-color", "on-icon-class", "off-icon-class", "on-text", "off-text", "on-value", "off-value", "on-color", "off-color", "name", "validate-event", "change"], "defaults": ["v-model"], "description": "Switch is used for switching between two opposing states." }, "el-slider": { - "attributes": ["min", "max", "disabled", "step", "show-input", "show-input-controls", "input-size", "show-stops", "show-tooltip", "format-tooltip", "range", "vertical", "height", "debounce", "tooltip-class", "change"], + "attributes": ["min", "max", "disabled", "step", "show-input", "show-input-controls", "input-size", "show-stops", "show-tooltip", "format-tooltip", "range", "vertical", "height", "debounce", "tooltip-class", "step", "label", "marks", "change", "input"], "defaults": ["v-model"], "description": "Drag the slider within a fixed range." }, "el-time-select": { - "attributes": ["readonly", "editable", "disabled", "clearable", "size", "placeholder", "value", "align", "popper-class", "picker-options", "vertical", "height", "change"], + "attributes": ["readonly", "editable", "disabled", "clearable", "size", "placeholder", "value", "align", "popper-class", "picker-options", "vertical", "height", "change", "blur", "focus"], "defaults": ["v-model", "placeholder"] }, "el-time-picker": { - "attributes": ["readonly", "editable", "disabled", "clearable", "size", "placeholder", "start-placeholde", "end-placeholde", "value", "align", "picker-options", "range-separator", "popper-class", "is-range", "arrow-control", "value-format", "default-value", "change", "blur", "focus"], + "attributes": ["readonly", "editable", "disabled", "clearable", "size", "placeholder", "start-placeholde", "end-placeholde", "value", "align", "picker-options", "range-separator", "popper-class", "is-range", "arrow-control", "value-format", "default-value", "start-placeholder", "end-placeholder", "is-range", "name", "prefix-icon", "clear-icon", "change", "blur", "focus"], "defaults": ["v-model", "placeholder"] }, "el-date-picker": { - "attributes": ["readonly", "editable", "disabled", "clearable", "size", "placeholder", "start-placeholde", "end-placeholde", "time-arrow-control", "type", "format", "align", "popper-class", "picker-options", "range-separator", "default-value", "default-time", "value-format", "name", "unlink-panels", "prefix-icon", "clear-icon", "change"], + "attributes": ["readonly", "editable", "disabled", "clearable", "size", "placeholder", "start-placeholder", "end-placeholder", "time-arrow-control", "type", "format", "align", "popper-class", "picker-options", "range-separator", "default-value", "default-time", "value-format", "name", "unlink-panels", "prefix-icon", "clear-icon", "validate-event", "change", "blur", "focus"], "defaults": ["v-model", "placeholder"] }, "el-upload": { @@ -117,7 +144,7 @@ "defaults": ["v-model", ":data"] }, "el-form": { - "attributes": ["model", "rules", "inline", "label-position", "label-width", "label-suffix", "show-message", "inline-message", "status-icon", "validate-on-rule-change", "size", "disabled", "validate"], + "attributes": ["model", "rules", "inline", "label-position", "label-width", "label-suffix", "hide-required-asterisk", "show-message", "inline-message", "status-icon", "validate-on-rule-change", "size", "disabled", "validate"], "defaults": [":model"], "subtags": ["el-form-item"], "description": "Form consists of `input`, `radio`, `select`, `checkbox` and so on. With form, you can collect, verify and submit data." @@ -127,42 +154,47 @@ "defaults": ["label"] }, "el-table": { - "attributes": ["data", "height", "max-height", "stripe", "border", "fit", "show-header", "highlight-current-row", "current-row-key", "row-class-name", "cell-class-name", "cell-style", "header-row-class-name", "header-row-style", "header-cell-name", "header-cell-style", "row-style", "row-key", "empty-text", "default-expand-all", "expand-row-keys", "default-sort", "tooltip-effect", "show-summary", "sum-text", "summary-method", "span-method", "select-on-indeterminate", "select", "select-all", "selection-change", "cell-mouse-enter", "cell-mouse-leave", "cell-click", "cell-dbclick", "row-click", "row-contextmenu", "row-dbclick", "header-click", "sort-change", "filter-change", "current-change", "header-draggend", "expand", "expand-change"], + "attributes": ["data", "height", "max-height", "stripe", "border", "fit", "show-header", "highlight-current-row", "current-row-key", "row-class-name", "cell-class-name", "cell-style", "header-row-class-name", "header-row-style", "header-cell-name", "header-cell-style", "row-style", "row-key", "empty-text", "default-expand-all", "expand-row-keys", "default-sort", "tooltip-effect", "show-summary", "sum-text", "summary-method", "span-method", "select-on-indeterminate", "size", "show-header", "indent", "lazy", "load", "tree-props", "select", "select-all", "selection-change", "cell-mouse-enter", "cell-mouse-leave", "cell-click", "cell-dbclick", "row-click", "row-contextmenu", "row-dbclick", "header-click", "header-contextmenu", "sort-change", "filter-change", "current-change", "header-draggend", "expand", "expand-change"], "defaults": [":data"], "subtags": ["el-table-column"], "description": "Display multiple data with similar format. You can sort, filter, compare your data in a table." }, "el-table-column": { - "attributes": ["type", "column-key", "index", "label", "prop", "width", "min-width", "fixed", "render-header", "sortable", "sort-method", "sort-by", "resizable", "formatter", "show-overflow-tooltip", "align", "header-align", "class-name", "label-class-name", "selectable", "reserve-selection", "filters", "filter-placement", "filter-multiple", "filter-method", "filtered-value"], + "attributes": ["type", "column-key", "index", "label", "prop", "width", "min-width", "fixed", "render-header", "sortable", "sort-method", "sort-by", "sort-orders", "resizable", "formatter", "show-overflow-tooltip", "align", "header-align", "class-name", "label-class-name", "selectable", "reserve-selection", "filters", "filter-placement", "filter-multiple", "filter-method", "filtered-value"], "defaults": ["label"] }, "el-tag": { - "attributes": ["type", "closable", "close-transition", "hit", "color", "size", "close"], + "attributes": ["type", "closable", "close-transition", "hit", "color", "size", "disable-transitions", "effect", "click", "close"], "defaults": ["type"], "description": "Used for marking and selection." }, "el-progress": { - "attributes": ["percentage", "type", "stroke-width", "text-inside", "status", "color", "width", "show-text"], + "attributes": ["percentage", "type", "stroke-width", "text-inside", "status", "color", "width", "show-text", "stroke-linecap"], "defaults": ["percentage"], "description": "Progress is used to show the progress of current operation, and inform the user the current status." }, "el-tree": { - "attributes": ["data", "empty-text", "node-key", "props", "load", "render-content", "highlight-current", "current-node-key", "default-expand-all", "expand-on-click-node", "auto-expand-parent", "default-expanded-keys", "show-checkbox", "check-strictly", "default-checked-keys", "filter-node-method", "accordion", "indent", "check-descendants", "draggable", "allow-drag", "allow-drop", "node-click", "node-contextmenu", "check-change", "check", "current-change", "node-expand", "node-collapse", "node-drag-start", "node-drag-enter", "node-drag-leave", "node-drag-over", "node-drag-end", "node-drop"], + "attributes": ["data", "empty-text", "node-key", "props", "load", "render-content", "highlight-current", "current-node-key", "default-expand-all", "expand-on-click-node", "auto-expand-parent", "default-expanded-keys", "show-checkbox", "check-strictly", "default-checked-keys", "filter-node-method", "accordion", "indent", "icon-class", "check-descendants", "draggable", "allow-drag", "allow-drop", "render-after-expand", "check-on-click-node", "lazy", "node-click", "node-contextmenu", "check-change", "check", "current-change", "node-expand", "node-collapse", "node-drag-start", "node-drag-enter", "node-drag-leave", "node-drag-over", "node-drag-end", "node-drop"], "defaults": [":data"], "description": "Display a set of data with hierarchies." }, "el-pagination": { - "attributes": ["small", "background", "page-size", "total", "page-count", "current-page", "layout", "page-sizes", "popper-class", "prev-text", "next-text", "disabled", "size-change", "current-page"], + "attributes": ["small", "background", "page-size", "total", "page-count", "pager-count", "current-page", "layout", "page-sizes", "popper-class", "prev-text", "next-text", "disabled", "hide-on-single-page", "size-change", "current-page", "prev-click", "next-click"], "defaults": [":total", ":current-page", ":page-size", "@current-change", "layout"], "description": "If you have too much data to display in one page, use pagination." }, "el-badge": { - "attributes": ["value", "max", "is-dot", "hidden"], + "attributes": ["value", "max", "is-dot", "hidden", "type"], "defaults": ["value"], "description": "A number or status mark on buttons and icons." }, + "el-avatar": { + "attributes": ["icon", "size", "shape", "src", "srcSet", "alt", "fit", "error"], + "defaults": [":src"], + "description": "Avatars can be used to represent people or objects. It supports images, Icons, or characters." + }, "el-alert": { - "attributes": ["title", "type", "description", "closable", "center", "close-text", "show-icon", "close"], + "attributes": ["title", "type", "description", "closable", "center", "close-text", "show-icon", "effect", "close"], "defaults": ["type", "title"], "description": "Displays important alert messages." }, @@ -172,7 +204,7 @@ "subtags": ["el-submenu", "el-menu-item"] }, "el-submenu": { - "attribute": ["index", "popper-class", "show-timeout", "hide-timeout", "disabled"], + "attribute": ["index", "popper-class", "show-timeout", "hide-timeout", "disabled", "popper-append-to-body"], "defaults": ["index"], "subtags": ["el-menu-item"] }, @@ -185,12 +217,12 @@ "defaults": ["index"] }, "el-tabs": { - "attributes": ["type", "closable", "addable", "editable", "value", "activate-name", "tab-position", "tab-click", "tab-remove", "tab-add", "edit"], + "attributes": ["type", "closable", "addable", "editable", "value", "activate-name", "tab-position", "stretch", "before-leave", "tab-click", "tab-remove", "tab-add", "edit"], "subtags": ["el-tab-pane"], "description": "Divide data collections which are related yet belong to different types." }, "el-tab-pane": { - "attributes": ["label", "disabled", "name", "closable"] + "attributes": ["label", "disabled", "name", "closable", "lazy"] }, "el-breadcrumb": { "attributes": ["separator", "separator-class"], @@ -201,13 +233,21 @@ "el-breadcrumb-item": { "attributes": ["to", "replace"] }, + "el-page-header": { + "attributes": ["title", "content", "back"], + "defaults": ["@back", "content"], + "description": "If path of the page is simple, it is recommended to use PageHeader instead of the Breadcrumb." + }, "el-dropdown": { - "attributes": ["type", "szie", "split-button", "placement", "trigger", "hide-on-click", "show-timeout", "hide-timeout", "click", "command", "visible-change"], + "attributes": ["type", "size", "split-button", "placement", "trigger", "hide-on-click", "show-timeout", "hide-timeout", "tabindex", "click", "command", "visible-change"], "subtags": ["el-dropdown-menu"], "description": "Toggleable menu for displaying lists of links and actions." }, "el-dropdown-menu": { - "attributes": ["command", "disabled", "divided"] + "attributes": ["command", "disabled", "divided", "icon"] + }, + "el-dropdown-item": { + "attributes": ["command", "disabled", "divided", "icon"] }, "el-steps": { "attributes": ["space", "direction", "active", "process-status", "finish-status", "align-center", "center", "simple"], @@ -220,25 +260,30 @@ "defaults": ["title"] }, "el-dialog": { - "attributes": ["title", "top", "visible", "width", "fullscreen", "modal", "modal-append-to-body", "append-to-body", "lock-scroll", "custom-class", "close-on-click-modal", "show-close", "before-close", "center", "close", "open"], + "attributes": ["title", "top", "visible", "width", "fullscreen", "modal", "modal-append-to-body", "append-to-body", "lock-scroll", "custom-class", "close-on-click-modal", "close-on-press-escape", "show-close", "before-close", "center", "destroy-on-close", "close", "open", "opened", "closed"], "defaults": ["title"], "description": "Informs users while preserving the current page state." }, "el-tooltip": { - "attributes": ["effect", "content", "placement", "value", "disabled", "offset", "transition", "visible-arrow", "popper-options", "open-delay", "manual", "popper-class", "enterable", "hide-after"], + "attributes": ["effect", "content", "placement", "value", "disabled", "offset", "transition", "visible-arrow", "popper-options", "open-delay", "manual", "popper-class", "enterable", "hide-after", "tabindex"], "defaults": ["content", "placement"], "description": "Display prompt information for mouse hover." }, "el-popover": { - "attributes": ["trigger", "title", "content", "width", "placement", "disabled", "value", "offset", "transition", "visible-arrow", "popper-options", "popper-class", "open-delay", "show", "hide", "after-enter", "after-leave"], + "attributes": ["trigger", "title", "content", "width", "placement", "disabled", "value", "offset", "transition", "visible-arrow", "popper-options", "popper-class", "open-delay", "close-delay", "tabindex", "show", "hide", "after-enter", "after-leave"], "defaults": ["placement"] }, + "el-popconfirm": { + "attributes": ["title", "confirmButtonText", "cancelButtonText", "confirmButtonType", "cancelButtonType", "icon", "iconColor", "hideIcon", "onConfirm", "onCancel"], + "defaults": ["title"], + "description": "A simple confirmation dialog of an element click action." + }, "el-card": { - "attributes": ["header", "body-style"], + "attributes": ["header", "body-style", "shadow"], "description": "Integrate information in a card container." }, "el-carousel": { - "attributes": ["height", "initial-index", "trigger", "autoplay", "interval", "indicator-position", "arrow", "type", "change"], + "attributes": ["height", "initial-index", "trigger", "autoplay", "interval", "indicator-position", "arrow", "type", "loop", "direction", "change"], "subtags": ["el-carousel-item"], "description": "Loop a series of images or texts in a limited space" }, @@ -251,7 +296,39 @@ "description": "Use Collapse to store contents." }, "el-collapse-item": { - "attributes": ["name", "title"], + "attributes": ["name", "title", "disabled"], "defaults": ["name", "title"] + }, + "el-timeline": { + "attributes": ["reverse"], + "subtags": ["el-timeline-item"], + "description": "Visually display timeline." + }, + "el-timeline-item": { + "attributes": ["timestamp", "hide-timestamp", "placement", "type", "color", "size", "icon"], + "defaults": ["v-for", ":key", ":timestamp"] + }, + "el-divider": { + "attributes": ["direction", "content-position"], + "description": "The dividing line that separates the content." + }, + "el-calendar": { + "attributes": ["value", "range", "first-day-of-week"], + "defaults": ["v-model"], + "description": "Display date." + }, + "el-image": { + "attributes": ["src", "fit", "alt", "referrer-policy", "lazy", "scroll-container", "preview-src-list", "z-index", "load", "error"], + "defaults": [":src"], + "description": "Besides the native features of img, support lazy load, custom placeholder and load failure, etc." + }, + "el-backtop": { + "attributes": ["target", "visibility-height", "right", "bottom", "click"], + "description": "A button to back to top" + }, + "el-drawer": { + "attributes": ["append-to-body", "before-close", "close-on-press-escape", "custom-class", "destroy-on-close", "modal", "modal-append-to-body", "direction", "show-close", "size", "title", "visible", "wrapperClosable", "withHeader", "open", "opened", "close", "closed"], + "defaults": [":visible.sync"], + "description": "Sometimes, Dialog does not always satisfy our requirements, let's say you have a massive form, or you need space to display something like terms & conditions, Drawer has almost identical API with Dialog, but it introduces different user experience." } } diff --git a/package.json b/package.json old mode 100644 new mode 100755