@opentiny/vue-docs 2.2.17 → 2.2.19
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/demos/apis/card.js +56 -23
- package/demos/apis/dialog-box.js +12 -5
- package/demos/apis/fall-menu.js +2 -2
- package/demos/apis/file-upload.js +2 -1
- package/demos/apis/float-button.js +211 -0
- package/demos/apis/grid.js +40 -40
- package/demos/apis/ip-address.js +3 -3
- package/demos/apis/multi-select.js +141 -22
- package/demos/apis/numeric.js +13 -0
- package/demos/apis/popeditor.js +20 -14
- package/demos/apis/search.js +11 -0
- package/demos/apis/slider.js +13 -2
- package/demos/apis/steps.js +6 -6
- package/demos/apis/tabs.js +39 -0
- package/demos/apis/time-line.js +34 -1
- package/demos/apis/time-select.js +1 -1
- package/demos/apis/tooltip.js +1 -1
- package/demos/apis/tree-menu.js +5 -5
- package/demos/mobile/app/alert/icon.vue +1 -1
- package/demos/mobile/app/alert/size.vue +1 -1
- package/demos/mobile/app/alert/slot-default.vue +8 -2
- package/demos/mobile/app/exception/buttonText.vue +4 -2
- package/demos/mobile/app/exception/exceptionClass.vue +4 -2
- package/demos/mobile/app/exception/message.vue +4 -7
- package/demos/mobile/app/exception/type.vue +4 -2
- package/demos/mobile/app/loading/background.vue +24 -0
- package/demos/mobile/app/loading/base.vue +16 -6
- package/demos/mobile/app/loading/custom-class.vue +29 -0
- package/demos/mobile/app/loading/global-registry.vue +61 -0
- package/demos/mobile/app/loading/size.vue +59 -0
- package/demos/mobile/app/loading/spinner.vue +26 -0
- package/demos/mobile/app/loading/tip-text.vue +23 -0
- package/demos/mobile/app/loading/webdoc/loading.js +155 -9
- package/demos/mobile/app/multi-select/basic-usage.vue +221 -73
- package/demos/mobile/app/multi-select/disabled.vue +174 -206
- package/demos/mobile/app/multi-select/event-click-item.vue +60 -75
- package/demos/mobile/app/multi-select/filter.vue +65 -93
- package/demos/mobile/app/multi-select/mask.vue +60 -0
- package/demos/mobile/app/multi-select/slots.vue +66 -0
- package/demos/mobile/app/multi-select/type-wheel.vue +39 -49
- package/demos/mobile/app/multi-select/webdoc/multi-select.js +49 -10
- package/demos/mobile/app/popover/base.vue +2 -3
- package/demos/mobile/app/search/base.vue +2 -2
- package/demos/mobile/app/user-head/basic-usage.vue +2 -5
- package/demos/mobile-first/app/card/basic-usage.vue +4 -2
- package/demos/mobile-first/app/card/card-type.vue +6 -12
- package/demos/mobile-first/app/card/slot.vue +2 -5
- package/demos/mobile-first/app/carousel/close-loop.vue +12 -4
- package/demos/mobile-first/app/column-list-item/basic-usage.vue +3 -7
- package/demos/mobile-first/app/column-list-item/custom-width.vue +4 -7
- package/demos/mobile-first/app/column-list-item/icon-click-event.vue +2 -5
- package/demos/mobile-first/app/column-list-item/icon-disabled.vue +2 -5
- package/demos/mobile-first/app/column-list-item/size.vue +3 -6
- package/demos/mobile-first/app/select/filter-method.vue +47 -18
- package/demos/mobile-first/app/time-line/limited-nodes.vue +29 -0
- package/demos/mobile-first/app/time-line/node-max.vue +26 -0
- package/demos/mobile-first/app/time-line/webdoc/time-line.js +26 -1
- package/demos/pc/app/alert/custom-close-composition-api.vue +7 -2
- package/demos/pc/app/alert/custom-close.spec.ts +1 -1
- package/demos/pc/app/alert/custom-close.vue +7 -2
- package/demos/pc/app/area/custom-service.spec.ts +1 -2
- package/demos/pc/app/button/ghost.spec.ts +6 -6
- package/demos/pc/app/card/basic-usage-composition-api.vue +24 -0
- package/demos/pc/app/card/basic-usage.vue +32 -0
- package/demos/pc/app/card/card-disabled-composition-api.vue +45 -0
- package/demos/pc/app/card/card-disabled.vue +53 -0
- package/demos/pc/app/card/card-events-composition-api.vue +66 -0
- package/demos/pc/app/card/card-events.vue +75 -0
- package/demos/pc/app/card/card-group-composition-api.vue +69 -0
- package/demos/pc/app/card/card-group.vue +79 -0
- package/demos/pc/app/card/card-size-composition-api.vue +59 -0
- package/demos/pc/app/card/card-size.vue +67 -0
- package/demos/pc/app/card/card-status-composition-api.vue +49 -0
- package/demos/pc/app/card/card-status.vue +58 -0
- package/demos/pc/app/card/card-type-composition-api.vue +47 -0
- package/demos/pc/app/card/card-type.vue +55 -0
- package/demos/pc/app/card/check-type-checkbox-composition-api.vue +31 -0
- package/demos/pc/app/card/check-type-checkbox.vue +40 -0
- package/demos/pc/app/card/check-type-radio-composition-api.vue +31 -0
- package/demos/pc/app/card/check-type-radio.vue +39 -0
- package/demos/pc/app/card/custom-class-composition-api.vue +51 -0
- package/demos/pc/app/card/custom-class.vue +59 -0
- package/demos/pc/app/card/operate-bar-composition-api.vue +53 -0
- package/demos/pc/app/card/operate-bar.vue +60 -0
- package/demos/pc/app/card/slot-composition-api.vue +67 -0
- package/demos/pc/app/card/slot.vue +76 -0
- package/demos/pc/app/card/webdoc/card.cn.md +7 -0
- package/demos/pc/app/card/webdoc/card.en.md +7 -0
- package/demos/pc/app/card/webdoc/card.js +148 -0
- package/demos/pc/app/carousel/basic-usage.spec.ts +3 -3
- package/demos/pc/app/carousel/card-mode.spec.ts +4 -11
- package/demos/pc/app/carousel/carousel-arrow-hover.spec.ts +5 -7
- package/demos/pc/app/carousel/carousel-events.spec.ts +7 -16
- package/demos/pc/app/carousel/manual-play.spec.ts +0 -2
- package/demos/pc/app/carousel/play-interval.spec.ts +1 -4
- package/demos/pc/app/cascader/auto-load-checkStrictly.spec.ts +1 -1
- package/demos/pc/app/cascader/auto-load.spec.ts +5 -2
- package/demos/pc/app/color-picker/base.spec.ts +2 -2
- package/demos/pc/app/color-picker/event.spec.ts +1 -1
- package/demos/pc/app/color-picker/history.spec.ts +2 -6
- package/demos/pc/app/color-picker/predefine.spec.ts +2 -5
- package/demos/pc/app/company/basic-usage.spec.ts +3 -6
- package/demos/pc/app/company/custom-service.spec.ts +4 -8
- package/demos/pc/app/country/custom-service.spec.js +4 -4
- package/demos/pc/app/country/fields.spec.js +2 -2
- package/demos/pc/app/crop/aspect-ratio.spec.ts +1 -2
- package/demos/pc/app/crop/auto-crop-area.spec.ts +1 -4
- package/demos/pc/app/crop/basic-usage.spec.ts +0 -2
- package/demos/pc/app/crop/crop-meth.spec.ts +0 -2
- package/demos/pc/app/crop/event-ready.spec.ts +0 -1
- package/demos/pc/app/crop/get-container-data.spec.ts +0 -1
- package/demos/pc/app/crop/get-crop-box-data.spec.ts +0 -2
- package/demos/pc/app/crop/get-data.spec.ts +0 -1
- package/demos/pc/app/crop/min-crop-box-width-height.spec.ts +0 -2
- package/demos/pc/app/crop/no-background.spec.ts +0 -1
- package/demos/pc/app/crop/no-modal.spec.ts +0 -2
- package/demos/pc/app/crop/replace-image.spec.ts +4 -5
- package/demos/pc/app/crop/view-mode.spec.ts +1 -16
- package/demos/pc/app/date-picker/align.spec.ts +17 -14
- package/demos/pc/app/date-picker/basic-usage.spec.ts +17 -22
- package/demos/pc/app/date-picker/clear.spec.ts +13 -7
- package/demos/pc/app/date-picker/date-range.spec.ts +39 -10
- package/demos/pc/app/date-picker/events.spec.ts +11 -3
- package/demos/pc/app/date-picker/format.spec.ts +2 -2
- package/demos/pc/app/date-picker/shortcuts.spec.ts +1 -2
- package/demos/pc/app/dept/custom-service.spec.ts +16 -4
- package/demos/pc/app/detail-page/basic-usage.spec.ts +4 -4
- package/demos/pc/app/dialog-box/basic-usage-composition-api.vue +1 -1
- package/demos/pc/app/dialog-box/basic-usage.vue +1 -1
- package/demos/pc/app/dialog-box/center-composition-api.vue +1 -1
- package/demos/pc/app/dialog-box/center.vue +1 -1
- package/demos/pc/app/dialog-box/close-on-click-modal-composition-api.vue +1 -1
- package/demos/pc/app/dialog-box/close-on-click-modal.vue +1 -1
- package/demos/pc/app/dialog-box/close-on-press-escape-composition-api.vue +1 -1
- package/demos/pc/app/dialog-box/close-on-press-escape.vue +1 -1
- package/demos/pc/app/dialog-box/custom-dialog-content-composition-api.vue +1 -1
- package/demos/pc/app/dialog-box/custom-dialog-content.vue +1 -1
- package/demos/pc/app/dialog-box/custom-dialog-footer-composition-api.vue +2 -2
- package/demos/pc/app/dialog-box/custom-dialog-footer.spec.ts +1 -1
- package/demos/pc/app/dialog-box/custom-dialog-title-composition-api.vue +2 -2
- package/demos/pc/app/dialog-box/custom-dialog-title.spec.ts +1 -1
- package/demos/pc/app/dialog-box/custom-dialog-title.vue +2 -2
- package/demos/pc/app/dialog-box/dialog-top-height-composition-api.vue +2 -2
- package/demos/pc/app/dialog-box/dialog-top-height.vue +2 -2
- package/demos/pc/app/dialog-box/dialog-width-composition-api.vue +2 -2
- package/demos/pc/app/dialog-box/dialog-width.vue +2 -2
- package/demos/pc/app/dialog-box/draggable-composition-api.vue +15 -3
- package/demos/pc/app/dialog-box/draggable.spec.ts +2 -2
- package/demos/pc/app/dialog-box/draggable.vue +15 -3
- package/demos/pc/app/dialog-box/form-in-dialog.spec.ts +0 -1
- package/demos/pc/app/dialog-box/open-close-events-composition-api.vue +1 -1
- package/demos/pc/app/dialog-box/open-close-events.vue +1 -1
- package/demos/pc/app/dialog-box/webdoc/dialog-box.js +2 -2
- package/demos/pc/app/drawer/tips-props-composition-api.vue +23 -0
- package/demos/pc/app/drawer/tips-props.spec.ts +15 -0
- package/demos/pc/app/drawer/tips-props.vue +33 -0
- package/demos/pc/app/drawer/webdoc/drawer.js +10 -12
- package/demos/pc/app/drop-roles/custom-service.spec.ts +1 -1
- package/demos/pc/app/file-upload/custom-prefix.spec.ts +1 -1
- package/demos/pc/app/file-upload/file-picture-card.spec.ts +1 -1
- package/demos/pc/app/file-upload/manual-upload.spec.ts +1 -1
- package/demos/pc/app/file-upload/picture-card.spec.ts +3 -2
- package/demos/pc/app/file-upload/picture-list.spec.ts +3 -3
- package/demos/pc/app/file-upload/upload-file-list.spec.ts +1 -1
- package/demos/pc/app/file-upload/upload-request.spec.ts +11 -6
- package/demos/pc/app/float-button/backTop-composition-api.vue +40 -0
- package/demos/pc/app/float-button/backTop.vue +51 -0
- package/demos/pc/app/float-button/basic-usage-composition-api.vue +39 -0
- package/demos/pc/app/float-button/basic-usage.vue +48 -0
- package/demos/pc/app/float-button/icon-composition-api.vue +21 -0
- package/demos/pc/app/float-button/icon.vue +31 -0
- package/demos/pc/app/float-button/jump-composition-api.vue +19 -0
- package/demos/pc/app/float-button/jump.vue +26 -0
- package/demos/pc/app/float-button/reset-time-composition-api.vue +22 -0
- package/demos/pc/app/float-button/reset-time.vue +26 -0
- package/demos/pc/app/float-button/trigger-composition-api.vue +31 -0
- package/demos/pc/app/float-button/trigger.vue +40 -0
- package/demos/pc/app/float-button/webdoc/float-button.cn.md +7 -0
- package/demos/pc/app/float-button/webdoc/float-button.en.md +7 -0
- package/demos/pc/app/float-button/webdoc/float-button.js +68 -0
- package/demos/pc/app/floatbar/base.spec.ts +1 -1
- package/demos/pc/app/floatbar/custom-floatbar-item.spec.ts +1 -1
- package/demos/pc/app/floatbar/custom-style.spec.ts +1 -1
- package/demos/pc/app/floatbar/operation-floatbar-item.spec.ts +1 -1
- package/demos/pc/app/form/form-row-col.spec.js +2 -0
- package/demos/pc/app/form/label-position.spec.ts +3 -3
- package/demos/pc/app/grid/custom/ordercolumn-local.spec.js +2 -2
- package/demos/pc/app/grid/data-source/static-data-composition-api.vue +1 -1
- package/demos/pc/app/grid/data-source/static-data.spec.js +1 -1
- package/demos/pc/app/grid/data-source/static-data.vue +1 -1
- package/demos/pc/app/grid/edit/grid-equals-composition-api.vue +50 -0
- package/demos/pc/app/grid/edit/grid-equals.spec.js +10 -0
- package/demos/pc/app/grid/edit/grid-equals.vue +60 -0
- package/demos/pc/app/grid/edit/has-row-change.spec.js +2 -2
- package/demos/pc/app/grid/edit/trigger-mode-hm-editing-composition-api.vue +11 -11
- package/demos/pc/app/grid/editor/mutil-render.spec.js +1 -1
- package/demos/pc/app/grid/event/get-row-method.spec.js +4 -4
- package/demos/pc/app/grid/filter/server-filter.spec.js +1 -1
- package/demos/pc/app/grid/fixed/left-fixed.vue +1 -1
- package/demos/pc/app/grid/large-data/column-anchor.vue +132 -0
- package/demos/pc/app/grid/large-data/scroll-to.spec.js +1 -1
- package/demos/pc/app/grid/loading/grid-loading-tip.spec.js +1 -1
- package/demos/pc/app/grid/pager/show-save-msg-composition-api.vue +1 -1
- package/demos/pc/app/grid/pager/show-save-msg.vue +1 -1
- package/demos/pc/app/grid/renderer/inner-renderer-date-composition-api.vue +40 -0
- package/demos/pc/app/grid/renderer/inner-renderer-date.spec.js +9 -0
- package/demos/pc/app/grid/renderer/inner-renderer-date.vue +50 -0
- package/demos/pc/app/grid/size/grid-size-composition-api.vue +33 -26
- package/demos/pc/app/grid/size/grid-size.spec.js +7 -3
- package/demos/pc/app/grid/size/grid-size.vue +34 -26
- package/demos/pc/app/grid/sort/sort.vue +0 -1
- package/demos/pc/app/grid/toolbar/grid-full-screen-teleport-composition-api.vue +65 -0
- package/demos/pc/app/grid/toolbar/grid-full-screen-teleport.spec.js +10 -0
- package/demos/pc/app/grid/toolbar/grid-full-screen-teleport.vue +73 -0
- package/demos/pc/app/grid/tree-table/tree-grid-insert-delete-update.spec.js +1 -1
- package/demos/pc/app/grid/validation/before-submit-validation.spec.js +1 -1
- package/demos/pc/app/grid/webdoc/grid-edit.js +11 -0
- package/demos/pc/app/grid/webdoc/grid-large-data.js +1 -49
- package/demos/pc/app/grid/webdoc/grid-renderer.js +11 -0
- package/demos/pc/app/grid/webdoc/grid-toolbar.js +10 -1
- package/demos/pc/app/guide/basic-usage.spec.ts +3 -2
- package/demos/pc/app/guide/offset.spec.ts +3 -1
- package/demos/pc/app/hrapprover/basic-usage.spec.ts +2 -6
- package/demos/pc/app/hrapprover/custom-service.spec.ts +5 -2
- package/demos/pc/app/hrapprover/disabled.spec.ts +1 -1
- package/demos/pc/app/ip-address/delimiter.spec.ts +1 -1
- package/demos/pc/app/loading/webdoc/loading.js +1 -1
- package/demos/pc/app/locales/custom-service.spec.ts +0 -3
- package/demos/pc/app/logout/basic-usage.spec.ts +5 -5
- package/demos/pc/app/milestone/show-number.spec.ts +1 -1
- package/demos/pc/app/milestone/solid-style.spec.ts +1 -1
- package/demos/pc/app/modal/basic-usage.spec.ts +1 -1
- package/demos/pc/app/modal/duration.spec.ts +1 -2
- package/demos/pc/app/modal/{min-width-composition-api.vue → min-width-height-composition-api.vue} +4 -2
- package/demos/pc/app/modal/{min-width.spec.ts → min-width-height.spec.ts} +3 -3
- package/demos/pc/app/modal/{min-width.vue → min-width-height.vue} +4 -2
- package/demos/pc/app/modal/prop-slots-composition-api.vue +2 -2
- package/demos/pc/app/modal/show-header-footer-composition-api.vue +11 -0
- package/demos/pc/app/modal/{showHeader.spec.ts → show-header-footer.spec.ts} +3 -3
- package/demos/pc/app/modal/{showHeader.vue → show-header-footer.vue} +2 -2
- package/demos/pc/app/modal/webdoc/modal.js +12 -36
- package/demos/pc/app/notify/closeIcon.spec.ts +1 -1
- package/demos/pc/app/numeric/change-event-composition-api.vue +9 -2
- package/demos/pc/app/numeric/change-event.vue +10 -3
- package/demos/pc/app/numeric/dynamic-disabled-composition-api.vue +10 -2
- package/demos/pc/app/numeric/dynamic-disabled.spec.ts +1 -1
- package/demos/pc/app/numeric/dynamic-disabled.vue +11 -3
- package/demos/pc/app/numeric/precision-composition-api.vue +1 -1
- package/demos/pc/app/numeric/precision.spec.ts +10 -11
- package/demos/pc/app/pager/before-page-change.spec.ts +1 -1
- package/demos/pc/app/pager/disabled-and-size.spec.ts +1 -1
- package/demos/pc/app/pop-upload/basic-usage.spec.ts +1 -1
- package/demos/pc/app/pop-upload/custom-request-headers.spec.ts +1 -1
- package/demos/pc/app/popeditor/condition-form-composition-api.vue +0 -1
- package/demos/pc/app/popeditor/condition-form.vue +0 -1
- package/demos/pc/app/popeditor/events-composition-api.vue +8 -2
- package/demos/pc/app/popeditor/events.vue +8 -2
- package/demos/pc/app/popeditor/webdoc/popeditor.js +9 -9
- package/demos/pc/app/popover/webdoc/popover.js +69 -28
- package/demos/pc/app/radio/group-options-composition-api.vue +1 -1
- package/demos/pc/app/rate/custom-3-threshold-colors.spec.js +0 -13
- package/demos/pc/app/rate/custom-3-threshold-icon.spec.js +5 -5
- package/demos/pc/app/rate/disabled-not-selected-class.spec.js +1 -1
- package/demos/pc/app/rate/not-selected-class.spec.js +1 -1
- package/demos/pc/app/rate/threshold-value.spec.js +0 -13
- package/demos/pc/app/search/basic-usage-composition-api.vue +1 -1
- package/demos/pc/app/search/basic-usage.vue +1 -1
- package/demos/pc/app/search/webdoc/search.js +3 -2
- package/demos/pc/app/select/copy-multi.spec.ts +6 -5
- package/demos/pc/app/select/copy-single.spec.ts +7 -4
- package/demos/pc/app/select/events.spec.ts +2 -2
- package/demos/pc/app/select/optimization.spec.ts +3 -7
- package/demos/pc/app/select/option-group-composition-api.vue +2 -2
- package/demos/pc/app/select/option-group.vue +2 -2
- package/demos/pc/app/select/searchable.spec.ts +1 -1
- package/demos/pc/app/select/size.spec.ts +1 -1
- package/demos/pc/app/select/tag-type-composition-api.vue +1 -1
- package/demos/pc/app/select/tag-type.spec.ts +1 -1
- package/demos/pc/app/select/tag-type.vue +1 -1
- package/demos/pc/app/slide-bar/basic-usage.spec.ts +0 -5
- package/demos/pc/app/slide-bar/wheel-blocks.spec.ts +2 -6
- package/demos/pc/app/slider/marks-composition-api.vue +20 -0
- package/demos/pc/app/slider/marks.spec.ts +12 -0
- package/demos/pc/app/slider/marks.vue +27 -0
- package/demos/pc/app/slider/show-input-composition-api.vue +2 -0
- package/demos/pc/app/slider/show-input.vue +3 -1
- package/demos/pc/app/slider/show-iput.spec.ts +14 -4
- package/demos/pc/app/slider/webdoc/slider.js +12 -0
- package/demos/pc/app/steps/advanced-steps-composition-api.vue +2 -2
- package/demos/pc/app/steps/advanced-steps.spec.ts +3 -3
- package/demos/pc/app/steps/advanced-steps.vue +2 -2
- package/demos/pc/app/steps/click-composition-api.vue +3 -10
- package/demos/pc/app/steps/click.vue +4 -12
- package/demos/pc/app/steps/line-horizontal-composition-api.vue +1 -1
- package/demos/pc/app/steps/line-horizontal.vue +1 -1
- package/demos/pc/app/steps/line-vertical-composition-api.vue +1 -1
- package/demos/pc/app/steps/line-vertical.vue +1 -1
- package/demos/pc/app/tabs/overflow-title-composition-api.vue +19 -0
- package/demos/pc/app/tabs/overflow-title.vue +28 -0
- package/demos/pc/app/tabs/tabs-events-close-composition-api.vue +5 -1
- package/demos/pc/app/tabs/tabs-events-close.vue +5 -1
- package/demos/pc/app/tabs/webdoc/tabs.js +18 -4
- package/demos/pc/app/tag/delete.spec.ts +3 -3
- package/demos/pc/app/time-line/shape-composition-api.vue +5 -2
- package/demos/pc/app/time-line/shape.spec.ts +2 -0
- package/demos/pc/app/time-line/shape.vue +5 -1
- package/demos/pc/app/time-line/show-divider-composition-api.vue +1 -1
- package/demos/pc/app/time-line/show-divider.vue +1 -1
- package/demos/pc/app/time-picker/disabled.spec.ts +9 -1
- package/demos/pc/app/time-picker/event.spec.ts +1 -2
- package/demos/pc/app/time-picker/format.spec.ts +10 -3
- package/demos/pc/app/time-picker/step.spec.ts +4 -1
- package/demos/pc/app/time-select/basic-usage.spec.ts +1 -1
- package/demos/pc/app/time-select/clear-icon.spec.ts +1 -1
- package/demos/pc/app/time-select/default-value.spec.ts +1 -1
- package/demos/pc/app/time-select/event-blur-composition-api.vue +3 -3
- package/demos/pc/app/time-select/event-blur.spec.ts +1 -1
- package/demos/pc/app/time-select/event-blur.vue +3 -3
- package/demos/pc/app/time-select/focus-composition-api.vue +1 -1
- package/demos/pc/app/time-select/focus.spec.ts +2 -3
- package/demos/pc/app/time-select/focus.vue +1 -1
- package/demos/pc/app/time-select/range-placeholder.spec.ts +2 -2
- package/demos/pc/app/tooltip/theme-composition-api.vue +28 -26
- package/demos/pc/app/tooltip/theme.vue +28 -26
- package/demos/pc/app/tooltip/webdoc/tooltip.js +55 -29
- package/demos/pc/app/transfer/webdoc/transfer.js +130 -44
- package/demos/pc/app/tree/webdoc/tree.js +319 -68
- package/demos/pc/app/tree-menu/basic-usage.spec.ts +0 -1
- package/demos/pc/app/tree-menu/props.spec.ts +2 -1
- package/demos/pc/app/user/custom-service.spec.ts +1 -1
- package/demos/pc/app/user-account/custom-service.spec.ts +2 -8
- package/demos/pc/app/user-contact/contact-espace-composition-api.vue +1 -0
- package/demos/pc/app/user-link/custom-service.spec.ts +2 -2
- package/demos/pc/app/watermark/webdoc/watermark.js +1 -1
- package/demos/pc/menus.js +2 -1
- package/demos/pc/resource/newVars.json +2 -2
- package/demos/pc/webdoc/changelog.md +138 -0
- package/demos/pc/webdoc/import-components-en.md +40 -2
- package/demos/pc/webdoc/import-components.md +40 -2
- package/package.json +11 -11
- package/playground/App.vue +2 -2
- package/src/App.vue +3 -2
- package/src/const.ts +27 -0
- package/src/router.js +5 -3
- package/src/tools/useTheme.js +60 -50
- package/src/views/components/components.vue +12 -33
- package/src/views/components/demo.vue +4 -4
- package/src/views/layout/layout.vue +6 -6
- package/src/views/overview.vue +6 -3
- package/demos/pc/app/credit-card-form/background-image.spec.ts +0 -10
- package/demos/pc/app/credit-card-form/basic-usage.spec.ts +0 -13
- package/demos/pc/app/credit-card-form/credit-card-form-events.spec.ts +0 -18
- package/demos/pc/app/drawer/default-slot-composition-api.vue +0 -25
- package/demos/pc/app/drawer/default-slot.spec.ts +0 -11
- package/demos/pc/app/drawer/default-slot.vue +0 -35
- package/demos/pc/app/font/Font-usage-specifications.spec.js +0 -41
- package/demos/pc/app/font/chinese-font-set.spec.js +0 -10
- package/demos/pc/app/font/english-fonts.spec.js +0 -10
- package/demos/pc/app/hrapprover/category-type.spec.ts +0 -13
- package/demos/pc/app/modal/min-height-composition-api.vue +0 -16
- package/demos/pc/app/modal/min-height.spec.ts +0 -21
- package/demos/pc/app/modal/min-height.vue +0 -23
- package/demos/pc/app/modal/showFooter-composition-api.vue +0 -11
- package/demos/pc/app/modal/showFooter.spec.ts +0 -10
- package/demos/pc/app/modal/showFooter.vue +0 -18
- package/demos/pc/app/modal/showHeader-composition-api.vue +0 -11
|
@@ -9,10 +9,12 @@ export default {
|
|
|
9
9
|
'en-US': 'Basic Usage'
|
|
10
10
|
},
|
|
11
11
|
desc: {
|
|
12
|
-
'zh-CN':
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
'zh-CN': `通过 <code>content</code> 属性指定提示的内容。<br>
|
|
13
|
+
通过 <code>placement</code> 属性指定提示的显示位置,支持12个显示位置。<br>
|
|
14
|
+
通过 <code>effect</code> 属性指定提示的效果。<br>`,
|
|
15
|
+
'en-US': `Specify the content of the prompt via the <code>content</code> attribute <br>
|
|
16
|
+
Use the <code>placement</code> property to specify the display location of the prompt. 12 display locations are supported <br>
|
|
17
|
+
Specify the effect of the prompt with the <code>effect</code> property <br>`
|
|
16
18
|
},
|
|
17
19
|
codeFiles: ['basic-usage.vue']
|
|
18
20
|
},
|
|
@@ -23,10 +25,12 @@ export default {
|
|
|
23
25
|
'en-US': 'Theme'
|
|
24
26
|
},
|
|
25
27
|
desc: {
|
|
26
|
-
'zh-CN':
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
'zh-CN': `
|
|
29
|
+
通过 <code>effect</code> 属性设置明暗效果,可选值 <code>dark/light</code> ,默认值为 <code>dark</code>,通常使用<code>effect</code>设置效果。<br>
|
|
30
|
+
通过 <code>type</code> 属性设置主题,它的优先级大于 <code>effect</code>。`,
|
|
31
|
+
'en-US': `
|
|
32
|
+
The <code>effect</code> property is used to set the light and dark effect. The optional dark/light effect is dark by default. The effect< br> is usually set by <code>effect</code>.
|
|
33
|
+
Set the theme with the <code>type</code> property, which has a higher priority than the <code>effect</code>.`
|
|
30
34
|
},
|
|
31
35
|
codeFiles: ['theme.vue']
|
|
32
36
|
},
|
|
@@ -37,10 +41,16 @@ export default {
|
|
|
37
41
|
'en-US': 'Control/disable'
|
|
38
42
|
},
|
|
39
43
|
desc: {
|
|
40
|
-
'zh-CN':
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
+
'zh-CN': `
|
|
45
|
+
提示组件默认是监听鼠标移入/移出事件来触发,手动控制提示的出现,有以下方法:<br>
|
|
46
|
+
1.通过 <code>visible</code> 属性设置是否智能识别溢出后提示,属性取值为 <code> always / auto </code>。当取值为<code>auto</code>时,智能提示是自动识别文字是否有长度溢出,动态的显示提示。<br>
|
|
47
|
+
2.通过 <code>manual</code> 属性为 true 后,就可以通过设置 <code>v-model</code> 属性,动态控制显示和隐藏。<br>
|
|
48
|
+
3.通过 <code>disabled</code> 属性,直接禁用提示。<br>`,
|
|
49
|
+
'en-US': `
|
|
50
|
+
The Tooltip component is triggered by listening for mouse move in/out events by default, and manually controls the appearance of the prompt in the following ways: <br>
|
|
51
|
+
1. Use the <code>visible</code> property to set whether the overflow prompt is intelligently recognized. The property value is <code> always/auto </code>. If the value is <code>auto</code>, the smart prompt automatically identifies whether the text length overruns and dynamically displays the prompt. <br>
|
|
52
|
+
2. After the <code>manual</code> property is true, you can dynamically control the display and hiding of <br> by setting the <code>v-model</code> property.
|
|
53
|
+
3. Use the <code>disabled</code> property to disable the tooltip. <br>`
|
|
44
54
|
},
|
|
45
55
|
codeFiles: ['control.vue']
|
|
46
56
|
},
|
|
@@ -51,10 +61,14 @@ export default {
|
|
|
51
61
|
'en-US': 'Tooltip content'
|
|
52
62
|
},
|
|
53
63
|
desc: {
|
|
54
|
-
'zh-CN':
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
64
|
+
'zh-CN': `
|
|
65
|
+
通过 <code>content</code> 属性指定弹出的文本。<br>
|
|
66
|
+
通过 <code>renderContent</code> 自定义渲染函数,可使用 <code>JSX</code> 返回需要渲染的节点内容。<br>
|
|
67
|
+
通过 <code>content</code> 插槽,自定义内容,当弹出复杂的内容结构时,推荐使用插槽的方式。<br>`,
|
|
68
|
+
'en-US': `
|
|
69
|
+
Specify the pop-up text via the <code>content</code> property. <br>
|
|
70
|
+
A custom rendering function with <code>renderContent</code> returns the node content to be rendered. The function is declared as (h, content)=>vnode. <br>
|
|
71
|
+
The <code>content</code> slot is used to customize content. It is recommended to use the slot when a complex content structure pops up. <br>`
|
|
58
72
|
},
|
|
59
73
|
codeFiles: ['content.vue']
|
|
60
74
|
},
|
|
@@ -67,7 +81,7 @@ export default {
|
|
|
67
81
|
desc: {
|
|
68
82
|
'zh-CN': '通过 <code>offset</code> 属性设置组件出现位置的偏移量。',
|
|
69
83
|
'en-US':
|
|
70
|
-
'Use the <code>offset</code> property to set the offset of the position where the Tooltip component appears.
|
|
84
|
+
'Use the <code>offset</code> property to set the offset of the position where the Tooltip component appears. '
|
|
71
85
|
},
|
|
72
86
|
codeFiles: ['offset.vue']
|
|
73
87
|
},
|
|
@@ -78,10 +92,14 @@ export default {
|
|
|
78
92
|
'en-US': 'Features of the popper layer'
|
|
79
93
|
},
|
|
80
94
|
desc: {
|
|
81
|
-
'zh-CN':
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
95
|
+
'zh-CN': `
|
|
96
|
+
通过 <code> visible-arrow </code> 属性设置是否显示小箭头。<br>
|
|
97
|
+
通过 <code> enterable </code> 属性设置鼠标是否可进入到 tooltip 中。<br>
|
|
98
|
+
通过 <code> popper-class </code> 属性设置弹出dom的类名,便于用户定制弹出层的样式。<br>`,
|
|
99
|
+
'en-US': `
|
|
100
|
+
The <code> visible-arrow </code> property sets whether the small arrow is displayed. <br>
|
|
101
|
+
Use the <code> enterable </code> property to set whether the mouse can enter the tooltip. <br>
|
|
102
|
+
You can use the <code> popper-class </code> property to set the class name of the eject dom to customize the style of the eject layer. <br>`
|
|
85
103
|
},
|
|
86
104
|
codeFiles: ['custom-popper.vue']
|
|
87
105
|
},
|
|
@@ -92,10 +110,16 @@ export default {
|
|
|
92
110
|
'en-US': 'Delay control'
|
|
93
111
|
},
|
|
94
112
|
desc: {
|
|
95
|
-
'zh-CN':
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
113
|
+
'zh-CN': `
|
|
114
|
+
通过 <code>open-delay</code> 属性设置组件延迟出现的时间,单位毫秒,默认值为 0。<br>
|
|
115
|
+
通过 <code>close-delay</code> 属性设置 组件延迟关闭的时间,单位毫秒,默认值为 300。<br>
|
|
116
|
+
通过 <code>hide-after</code> 属性设置组件出现后自动隐藏的时间,单位毫秒,为 0 则不会自动隐藏,默认值为 0。<br>
|
|
117
|
+
`,
|
|
118
|
+
'en-US': `
|
|
119
|
+
Use the <code>open-delay</code> property to set the delay in milliseconds for the Tooltip component to appear. The default value is 0. <br>
|
|
120
|
+
Use the <code>close-delay</code> property to set the delay in closing the Tooltip component, in milliseconds. The default value is 300. <br>
|
|
121
|
+
Run the <code>hide-after</code> property to set the time for the Tooltip component to be automatically hidden after it appears, in milliseconds. If it is 0, it will not be automatically hidden. The default value is 0. <br>
|
|
122
|
+
`
|
|
99
123
|
},
|
|
100
124
|
codeFiles: ['delay.vue']
|
|
101
125
|
},
|
|
@@ -131,10 +155,12 @@ export default {
|
|
|
131
155
|
'en-US': 'Customized Animation'
|
|
132
156
|
},
|
|
133
157
|
desc: {
|
|
134
|
-
'zh-CN':
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
158
|
+
'zh-CN': `
|
|
159
|
+
配置 <code> pre </code> 为 <code> true </code> ,就会预格式化 <code> content </code> 文本。<br>
|
|
160
|
+
被包围在 <code> pre </code> 标签元素中的文本会保留空格和换行符,文本也会呈现为等宽字体。`,
|
|
161
|
+
'en-US': `
|
|
162
|
+
If <code> pre </code> is set to <code> true </code>, the <code> content </code> text is preformatted.<br>
|
|
163
|
+
Text enclosed in the <code> pre </code> tag element retains spaces and newline characters, and the text is rendered in a uniform font.`
|
|
138
164
|
},
|
|
139
165
|
codeFiles: ['pre.vue']
|
|
140
166
|
}
|
|
@@ -9,10 +9,14 @@ export default {
|
|
|
9
9
|
'en-US': 'Basic Usage'
|
|
10
10
|
},
|
|
11
11
|
desc: {
|
|
12
|
-
'zh-CN':
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
'zh-CN': `
|
|
13
|
+
通过 <code>data</code> 属性提供左右列表全量的数据源,其是一个数组,每个数据项中默认字段有 <code>key</code>、<code>label</code>、<code>disabled</code>。<br>
|
|
14
|
+
通过 <code>value</code> 属性指定右列表值的数组,其选择项只展示在右侧列表。
|
|
15
|
+
`,
|
|
16
|
+
'en-US': `
|
|
17
|
+
The <code>data</code> property provides the full data source for the left and right lists, which is an array of objects with the default fields key, label, and disabled for each item. <br>
|
|
18
|
+
The <code>value</code> property specifies an array of values for the right list whose selections are displayed only in the right list.
|
|
19
|
+
`
|
|
16
20
|
},
|
|
17
21
|
codeFiles: ['basic-usage.vue']
|
|
18
22
|
},
|
|
@@ -23,10 +27,14 @@ export default {
|
|
|
23
27
|
'en-US': 'Customized List Title'
|
|
24
28
|
},
|
|
25
29
|
desc: {
|
|
26
|
-
'zh-CN':
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
+
'zh-CN': `
|
|
31
|
+
通过 <code>titles</code> 属性,可对左右列表的标题进行自定义。<br>
|
|
32
|
+
通过 <code>format</code> 属性,可定制左右侧列表顶部的数据统计的显示格式,请参考下面示例。
|
|
33
|
+
`,
|
|
34
|
+
'en-US': `
|
|
35
|
+
The titles of the left and right lists can be customized using the <code>titles</code> property. <br>
|
|
36
|
+
The <code>format</code> attribute allows you to customize the format of the statistics at the top of the left and right lists, as shown in the following example:
|
|
37
|
+
`
|
|
30
38
|
},
|
|
31
39
|
codeFiles: ['custom-titles.vue']
|
|
32
40
|
},
|
|
@@ -37,10 +45,18 @@ export default {
|
|
|
37
45
|
'en-US': 'Display All Move Buttons'
|
|
38
46
|
},
|
|
39
47
|
desc: {
|
|
40
|
-
'zh-CN':
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
48
|
+
'zh-CN': `
|
|
49
|
+
按钮区包含默认转移按钮和全部转移按钮。按钮的高亮与禁用,组件内部会自动识别处理。<br>
|
|
50
|
+
通过 <code>show-all-btn</code> 属性设置展示全部转移按钮,属性默认值为<code>false</code>。<br>
|
|
51
|
+
通过 <code>button-texts</code> 属性自定义左右穿梭的默认转移按钮文本,接受包含2个字符串的数组值。全部转移按钮不能自定义文本。<br>
|
|
52
|
+
你可以通过<code>to-left-disable</code> 和 <code>to-right-disable</code> 属性来指定默认转移按钮没有选中项时的状态。
|
|
53
|
+
`,
|
|
54
|
+
'en-US': `
|
|
55
|
+
The button area contains two types of buttons: default buttons and all buttons. Buttons are highlighted and disabled automatically by the component itself. <br>
|
|
56
|
+
show all the move buttons with the <code>show-all-btn</code> property, which defaults to <code>false</code>. <br>
|
|
57
|
+
The default button texts of the left and right shuttles are defined by the <code>button-texts</code> attribute, which accepts an array value containing 2 strings. No custom text for all buttons. <br>
|
|
58
|
+
The <code>to-left-disable</code> and <code>to-right-disable</code> properties allow you to specify the state of the default button when no items are selected.
|
|
59
|
+
`
|
|
44
60
|
},
|
|
45
61
|
codeFiles: ['custom-btns.vue']
|
|
46
62
|
},
|
|
@@ -64,10 +80,22 @@ export default {
|
|
|
64
80
|
'en-US': 'Customized Data Item Rendering'
|
|
65
81
|
},
|
|
66
82
|
desc: {
|
|
67
|
-
'zh-CN':
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
83
|
+
'zh-CN': `
|
|
84
|
+
通过 <code> props </code> 属性,可以指定<code> key / label /disabled </code>的映射列,以支持用户传入非标准格式的数据到<code>data</code>属性。<br>
|
|
85
|
+
通过 <code> default </code> 插槽,自定义数据项渲染的 dom 结构,推荐使用插槽的方式。<br>
|
|
86
|
+
通过 <code> render-content </code> 属性函数,使用 JSX 功能,去自定义数据项渲染的 dom 结构。<br>
|
|
87
|
+
<div class="tip custom-block">
|
|
88
|
+
<p class="custom-block-title">如果数据格式不是标准属性格式,则一定要通过<code>props</code>做属性映射!</p>
|
|
89
|
+
</div>
|
|
90
|
+
`,
|
|
91
|
+
'en-US': `
|
|
92
|
+
Using the <code> props </code> property, you can simply specify that the <code> key/label /disabled </code> maps to the specified column of the data item. <br>
|
|
93
|
+
The <code> default </code> slot allows you to fully customize the dom structure rendered by the data items.It is recommended that you use slots. <br>
|
|
94
|
+
It is also possible to fully customize the dom structure rendered by a data item via the <code> render-content </code> property. <br>
|
|
95
|
+
<div class="tip custom-block">
|
|
96
|
+
<p class="custom-block-title">If the data is not in a standard attribute format, be sure to use <code>props</code> for property mapping!</p>
|
|
97
|
+
</div>
|
|
98
|
+
`
|
|
71
99
|
},
|
|
72
100
|
codeFiles: ['custom-render.vue']
|
|
73
101
|
},
|
|
@@ -78,10 +106,20 @@ export default {
|
|
|
78
106
|
'en-US': 'Custom Search Method'
|
|
79
107
|
},
|
|
80
108
|
desc: {
|
|
81
|
-
'zh-CN':
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
109
|
+
'zh-CN': `
|
|
110
|
+
组件支持显示一个输入框,去过滤显示在左右列表的数据项。<br>
|
|
111
|
+
通过 <code>filterable</code> 属性开启左右侧列表的搜索功能,默认是根据 label 内容过滤。<br>
|
|
112
|
+
通过 <code>filter-placeholder</code> 属性自定义左右搜索框占位符。<br>
|
|
113
|
+
通过 <code>filter-method</code> 钩子函数,可自定义左右列表搜索的方法。<br>
|
|
114
|
+
调用 <code>clearQuery()</code> 方法,可清空左右侧列表的搜索框,参数为 left 或者 right 。<br>
|
|
115
|
+
`,
|
|
116
|
+
'en-US': `
|
|
117
|
+
At the top of the left and right lists, you can display an input field to filter the data items that display the left and right lists. <br>
|
|
118
|
+
Use the <code>filterable</code> attribute to enable the search function of the left and right lists, which by default filter based on the label content. <br>
|
|
119
|
+
Use the <code>filter-placeholder</code> attribute to define the placeholder for the left and right search boxes. <br>
|
|
120
|
+
The <code>filter-method</code> hook allows you to customize the way you search the left and right lists.<br>
|
|
121
|
+
The <code>clearQuery()</code> method clears the search box in the left and right lists with either the left or right arguments.<br>
|
|
122
|
+
`
|
|
85
123
|
},
|
|
86
124
|
codeFiles: ['custom-filter.vue']
|
|
87
125
|
},
|
|
@@ -92,10 +130,14 @@ export default {
|
|
|
92
130
|
'en-US': 'Default options'
|
|
93
131
|
},
|
|
94
132
|
desc: {
|
|
95
|
-
'zh-CN':
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
133
|
+
'zh-CN': `
|
|
134
|
+
通过 <code>left-default-checked</code>、<code>right-default-checked</code> 属性分别指定左右侧列表默认的勾选数据。禁用数据项默认无法勾选。<br>
|
|
135
|
+
通过组件实例上的<code>state</code>属性,可以查询组件当前左右列表的数据项和数据选中项等信息。
|
|
136
|
+
`,
|
|
137
|
+
'en-US': `
|
|
138
|
+
The <code>left-default-checked</code> and <code>right-default-checked</code> attributes specify the default check data for the left and right lists, respectively. Disabling the data item cannot be checked by default. <br>
|
|
139
|
+
Using the <code>state</code> property on the component instance, you can query the current left and right list of the component for data items and data selected items.
|
|
140
|
+
`
|
|
99
141
|
},
|
|
100
142
|
codeFiles: ['default-checked.vue']
|
|
101
143
|
},
|
|
@@ -106,10 +148,16 @@ export default {
|
|
|
106
148
|
'en-US': 'Drag left and right'
|
|
107
149
|
},
|
|
108
150
|
desc: {
|
|
109
|
-
'zh-CN':
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
151
|
+
'zh-CN': `
|
|
152
|
+
<div class="tip custom-block">
|
|
153
|
+
<p class="custom-block-title">使用拖拽功能时请先安装 sortablejs 插件</p>
|
|
154
|
+
</div>
|
|
155
|
+
通过 <code>drop-config</code> 属性配置 sortablejs 插件进行左右拖拽穿梭。`,
|
|
156
|
+
'en-US': `
|
|
157
|
+
<div class="tip custom-block">
|
|
158
|
+
<p class="custom-block-title"> Please install sortablejs plugin before using drag and drop function </p>
|
|
159
|
+
</div>
|
|
160
|
+
Pass The <code>drop-config</code> property config the sortablejs plugin to do the left-right drag shuttle.`
|
|
113
161
|
},
|
|
114
162
|
codeFiles: ['drop-config.vue']
|
|
115
163
|
},
|
|
@@ -120,10 +168,22 @@ export default {
|
|
|
120
168
|
'en-US': 'Right Sorting Policy'
|
|
121
169
|
},
|
|
122
170
|
desc: {
|
|
123
|
-
'zh-CN':
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
171
|
+
'zh-CN': `
|
|
172
|
+
通过 <code>target-order</code> 属性设置右侧列表元素的排序策略,有 original 、push 、unshift 三个选项,默认为 original 。
|
|
173
|
+
<div class="tip custom-block">
|
|
174
|
+
<p class="custom-block-title">排序策略</p>
|
|
175
|
+
<div>
|
|
176
|
+
若为 original,则保持与数据源相同的顺序;<br>若为 push,则新加入的元素排在最后;<br>若为 unshift,则新加入的元素排在最前
|
|
177
|
+
</div>
|
|
178
|
+
</div>`,
|
|
179
|
+
'en-US': `
|
|
180
|
+
The <code>target-order</code> property sets the sorting strategy of the elements in the list on the right.There are three options: original, push, and unshift.The default is original.
|
|
181
|
+
<div class="tip custom-block">
|
|
182
|
+
<p class="custom-block-title"> Sorting strategy </p>
|
|
183
|
+
<div>
|
|
184
|
+
If original, keep same order as data source \n if push, Then the new element is last. nIf unshift, the new element is first.
|
|
185
|
+
</div>
|
|
186
|
+
</div>`
|
|
127
187
|
},
|
|
128
188
|
codeFiles: ['target-order.vue']
|
|
129
189
|
},
|
|
@@ -134,10 +194,14 @@ export default {
|
|
|
134
194
|
'en-US': 'Clear the search box manually'
|
|
135
195
|
},
|
|
136
196
|
desc: {
|
|
137
|
-
'zh-CN':
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
197
|
+
'zh-CN': `
|
|
198
|
+
调用 <code>before-transfer</code> 属性,接受一个函数来拦截穿梭的动作。 <br>
|
|
199
|
+
该函数参数为一个回调函数,执行回调函数,数据项才允许穿梭。
|
|
200
|
+
`,
|
|
201
|
+
'en-US': `
|
|
202
|
+
Call the <code>before-transfer</code> property, which accepts a function to intercept the shuttle action. <br>
|
|
203
|
+
This function takes a callback function and executes the callback function before the data item is allowed to shuttle.
|
|
204
|
+
`
|
|
141
205
|
},
|
|
142
206
|
codeFiles: ['before-transfer.vue']
|
|
143
207
|
},
|
|
@@ -148,10 +212,16 @@ export default {
|
|
|
148
212
|
'en-US': 'Nested Table'
|
|
149
213
|
},
|
|
150
214
|
desc: {
|
|
151
|
-
'zh-CN':
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
215
|
+
'zh-CN': `
|
|
216
|
+
当 <code>render</code> 属性里的 <code>plugin</code> 设置为 <code>Table</code> 时指定穿梭框渲染成表格,
|
|
217
|
+
以下属性 <code> columns </code> <code> pager-op </code> <code> show-pager </code> 是会传递给内部的表格组件。<br>
|
|
218
|
+
属性 <code> left-columns </code> <code> right-columns </code> 可以分别指定左右列表的表头,优先级高于 <code> columns </code> 属性。
|
|
219
|
+
`,
|
|
220
|
+
'en-US': `
|
|
221
|
+
When <code>plugin</code> in the <code>render</code> attribute is set to <code>Table</code>, the shuttle box is rendered as a table,
|
|
222
|
+
The following property <code> columns </code> <code> pager-op </code> <code> show-pager </code> is a table component that will be passed inside.<br>
|
|
223
|
+
The <code> left-columns </code> <code> right-columns </code> attribute can specify the table headers of the left and right lists. The priority of the <code> left-columns </code> <code> right-columns </code> attribute is higher than that of the <code>columns</code> attribute.
|
|
224
|
+
`
|
|
155
225
|
},
|
|
156
226
|
codeFiles: ['nested-table.vue']
|
|
157
227
|
},
|
|
@@ -176,10 +246,26 @@ export default {
|
|
|
176
246
|
'en-US': 'transfer Event'
|
|
177
247
|
},
|
|
178
248
|
desc: {
|
|
179
|
-
'zh-CN':
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
249
|
+
'zh-CN': `
|
|
250
|
+
主要有 <code>change</code>、<code>left-check-change</code>、<code>right-check-change</code> 三个事件。
|
|
251
|
+
<div class="tip custom-block">
|
|
252
|
+
<p class="custom-block-title">事件说明</p>
|
|
253
|
+
<div>
|
|
254
|
+
change:右侧列表元素变化时触发; <br>
|
|
255
|
+
left-check-change:左侧列表元素被用户选中 / 取消选中时触发; <br>
|
|
256
|
+
right-check-change:右侧列表元素被用户选中 / 取消选中时触发;
|
|
257
|
+
</div>
|
|
258
|
+
</div> `,
|
|
259
|
+
'en-US': `
|
|
260
|
+
There are three main events: <code>change</code>, <code>left-check-change</code>, and <code>right-check-change</code>.
|
|
261
|
+
<div class="tip custom-block">
|
|
262
|
+
<p class="custom-block-title"> Event description </p>
|
|
263
|
+
<div>
|
|
264
|
+
change:Triggered when the elements in the list on the right change.<br>
|
|
265
|
+
left-check-change:left-check-change fires when the right side of the list changes.<br>
|
|
266
|
+
right-check-change: Fires when the left list element is selected/deselected by the user.
|
|
267
|
+
</div>
|
|
268
|
+
</div>`
|
|
183
269
|
},
|
|
184
270
|
codeFiles: ['transfer-events.vue']
|
|
185
271
|
}
|