From 8d2a9a222c1459d9bdda0294dd88e97134f5651e Mon Sep 17 00:00:00 2001 From: Kagol Date: Wed, 11 Oct 2023 04:02:39 -0700 Subject: [PATCH] feat: support react and add new components: rich-text-editor/color-picker/divider/calendar-view --- .gitignore | 2 + .prettierrc | 3 +- .vscode/settings.json | 3 +- examples/docs/newsrc/pc.vue | 2 +- examples/docs/newsrc/uses/useMonaco.js | 31 - .../mobile-first/app/badge/props-content.vue | 13 + .../mobile-first/app/button/banner.vue | 16 + .../mobile-first/app/button/button-class.vue | 2 +- .../mobile-first/app/button/image.vue | 2 +- .../mobile-first/app/button/slot-default.vue | 2 +- .../mobile-first/app/button/webdoc/button.js | 16 +- .../mobile-first/app/carousel/close-loop.vue | 8 +- .../mobile-first/app/cell/basic-usage.vue | 20 + .../mobile-first/app/cell/disabled.vue | 20 + .../resources/mobile-first/app/cell/icon.vue | 22 + .../mobile-first/app/cell/placeholder.vue | 20 + .../mobile-first/app/cell/webdoc/cell.cn.md | 9 + .../mobile-first/app/cell/webdoc/cell.en.md | 9 + .../mobile-first/app/cell/webdoc/cell.js | 67 + .../app/cell/with-date-picker.vue | 46 + .../app/column-list-item/basic-usage.vue | 4 +- .../app/column-list-item/custom-width.vue | 7 +- .../app/column-list-item/icon-click-event.vue | 2 +- .../app/column-list-item/icon-disabled.vue | 2 +- .../app/column-list-item/size.vue | 4 +- .../app/file-upload/display-only-picture.vue | 8 +- .../app/file-upload/download-picture.vue | 8 +- .../app/file-upload/drag-file-list.vue | 6 +- .../app/file-upload/picture-card.vue | 6 +- .../app/file-upload/picture-show-name.vue | 6 +- .../mobile-first/app/file-upload/picture.vue | 2 +- .../app/file-upload/preview-picture.vue | 8 +- .../app/file-upload/re-upload-picture.vue | 2 +- .../app/flowchart/basic-usage.vue | 1 + .../app/flowchart/dot-horizon-async.vue | 120 + .../app/flowchart/dot-horizon.vue | 1 + .../app/flowchart/dot-vertical-async.vue | 221 + .../app/flowchart/dot-vertical.vue | 1 + .../app/flowchart/holistic-fork.vue | 1 + .../mobile-first/app/flowchart/holistic.vue | 1 + .../mobile-first/app/flowchart/horizon.vue | 1 + .../app/flowchart/webdoc/flowchart.js | 28 +- .../mobile-first/app/grid/basic-usage.vue | 12 +- .../search/{mini-mode.vue => big-mode.vue} | 7 +- .../mobile-first/app/search/webdoc/search.js | 20 +- .../app/standard-list-item/basic-usage.vue | 2 +- .../app/standard-list-item/content-slot.vue | 2 +- .../app/standard-list-item/type.vue | 2 +- .../mobile-first/app/time-line/auto-slot.vue | 18 +- .../app/user-head/basic-usage.vue | 2 +- .../app/user-head/user-head-group.vue | 24 +- .../app/user-head/user-head-size.vue | 2 +- examples/docs/resources/mobile-first/menus.js | 1 + .../vite-plugins/vite-plugin-uno-preset.ts | 4 +- .../public/static/images/tiny3bg.b5dd307.jpg | Bin 0 -> 389452 bytes examples/sites/.prettierrc | 3 +- examples/sites/README.md | 56 - .../app/action-menu/webdoc/action-menu.js | 20 +- .../demos/app/alert/base-composition-api.vue | 6 +- examples/sites/demos/app/alert/base.vue | 6 +- .../app/alert/center-composition-api.vue | 2 +- examples/sites/demos/app/alert/center.vue | 2 +- .../app/alert/closable-composition-api.vue | 10 - .../sites/demos/app/alert/closable.spec.ts | 10 - examples/sites/demos/app/alert/closable.vue | 16 - .../demos/app/alert/close-composition-api.vue | 11 - .../app/alert/close-text-composition-api.vue | 15 - .../sites/demos/app/alert/close-text.spec.ts | 18 - examples/sites/demos/app/alert/close-text.vue | 22 - examples/sites/demos/app/alert/close.spec.ts | 14 - examples/sites/demos/app/alert/close.vue | 18 - .../alert/custom-close-composition-api.vue | 13 +- .../demos/app/alert/custom-close.spec.ts | 34 + .../sites/demos/app/alert/custom-close.vue | 14 +- .../custom-description-composition-api.vue | 13 - .../app/alert/custom-description.spec.ts | 11 - .../demos/app/alert/custom-description.vue | 19 - .../feedback-of-result-composition-api.vue | 19 - .../app/alert/feedback-of-result.spec.ts | 14 - .../demos/app/alert/feedback-of-result.vue | 25 - examples/sites/demos/app/alert/icon.vue | 2 +- .../app/alert/show-icon-composition-api.vue | 2 +- examples/sites/demos/app/alert/show-icon.vue | 2 +- .../demos/app/alert/size-composition-api.vue | 2 +- examples/sites/demos/app/alert/size.vue | 16 - .../alert/slot-default-composition-api.vue | 2 +- .../sites/demos/app/alert/slot-default.vue | 2 +- .../demos/app/alert/title-composition-api.vue | 2 +- examples/sites/demos/app/alert/title.vue | 2 +- .../demos/app/alert/type-composition-api.vue | 13 - examples/sites/demos/app/alert/type.spec.ts | 69 - examples/sites/demos/app/alert/type.vue | 19 - .../sites/demos/app/alert/webdoc/alert.js | 195 +- .../sites/demos/app/amount/webdoc/amount.js | 36 +- .../app/anchor/on-change-composition-api.vue | 5 +- examples/sites/demos/app/anchor/on-change.vue | 5 +- .../sites/demos/app/anchor/webdoc/anchor.js | 6 +- examples/sites/demos/app/area/webdoc/area.js | 14 +- .../app/autocomplete/webdoc/autocomplete.js | 36 +- .../sites/demos/app/badge/webdoc/badge.js | 18 +- .../base-on-route-composition-api.vue | 4 +- .../demos/app/breadcrumb/webdoc/breadcrumb.js | 20 +- .../bulletin-board/webdoc/bulletin-board.js | 10 +- .../app/button-group/webdoc/button-group.js | 18 +- examples/sites/demos/app/button/text.vue | 20 +- .../sites/demos/app/button/webdoc/button.js | 22 +- .../demos/app/calendar-view/basic-usage.vue | 82 + .../app/calendar-view/calendar-day-mark.vue | 31 + .../calendar-view/calendar-disabled-day.vue | 23 + .../app/calendar-view/calendar-event.vue | 45 + .../demos/app/calendar-view/calendar-mode.vue | 19 + .../calendar-view/calendar-schedule-slot.vue | 129 + .../calendar-view/calendar-timeline-range.vue | 83 + .../calendar-view/calendar-timeline-slot.vue | 145 + .../calendar-view/custom-calendar-toolbar.vue | 20 + .../app/calendar-view/custom-day-bg-color.vue | 27 + .../demos/app/calendar-view/custom-header.vue | 86 + .../demos/app/calendar-view/hide-mode.vue | 13 + .../app/calendar-view/mode-combination.vue | 14 + .../demos/app/calendar-view/multi-select.vue | 32 + .../app/calendar-view/set-working-day.vue | 63 + .../calendar-view/webdoc/calendar-view.cn.md | 7 + .../calendar-view/webdoc/calendar-view.en.md | 7 + .../app/calendar-view/webdoc/calendar-view.js | 332 + .../demos/app/calendar/webdoc/calendar.js | 8 +- .../demos/app/carousel/webdoc/carousel.js | 24 +- .../cascader-panel/webdoc/cascader-panel.js | 22 +- .../demos/app/cascader/webdoc/cascader.js | 60 +- .../app/chart/events/base-composition-api.vue | 4 +- .../sites/demos/app/chart/events/base.vue | 4 +- examples/sites/demos/app/chart/map/base.vue | 4 +- .../sites/demos/app/chart/webdoc/chart.js | 34 +- .../demos/app/checkbox/webdoc/checkbox.js | 56 +- .../collapse/accordion-composition-api.vue | 10 +- .../sites/demos/app/collapse/accordion.vue | 12 +- .../collapse/basic-usage-composition-api.vue | 2 +- .../sites/demos/app/collapse/basic-usage.vue | 2 +- .../collapse/block-close-composition-api.vue | 2 +- .../sites/demos/app/collapse/block-close.vue | 2 +- .../demos/app/collapse/collapse-events.vue | 2 +- .../app/collapse/custom-collapse-icon.vue | 2 +- .../custom-collapse-title-composition-api.vue | 35 +- .../collapse/custom-collapse-title.spec.ts | 7 + .../app/collapse/custom-collapse-title.vue | 35 +- .../custom-title-right-composition-api.vue | 44 - .../app/collapse/custom-title-right.spec.ts | 10 - .../demos/app/collapse/custom-title-right.vue | 52 - .../dynamic-disable-composition-api.vue | 2 +- .../demos/app/collapse/dynamic-disable.vue | 2 +- .../collapse/nested-form-composition-api.vue | 2 +- .../sites/demos/app/collapse/nested-form.vue | 2 +- .../demos/app/collapse/webdoc/collapse.js | 126 +- .../color-picker/alpha-composition-api.vue | 30 + .../sites/demos/app/color-picker/alpha.vue | 21 +- .../app/color-picker/base-composition-api.vue | 11 + .../sites/demos/app/color-picker/base.vue | 11 +- .../default-visible-composition-api.vue | 10 + .../app/color-picker/default-visible.vue | 6 +- .../dynamic-color-change-composition-api.vue | 14 + .../app/color-picker/dynamic-color-change.vue | 19 +- .../color-picker/event-composition-api.vue | 30 + .../sites/demos/app/color-picker/event.vue | 21 +- .../app/color-picker/webdoc/color-picker.js | 2 +- .../sites/demos/app/company/webdoc/company.js | 16 +- .../demos/app/container/webdoc/container.js | 8 +- .../sites/demos/app/country/webdoc/country.js | 14 +- .../webdoc/credit-card-form.js | 4 +- examples/sites/demos/app/crop/webdoc/crop.js | 72 +- .../demos/app/currency/webdoc/currency.js | 14 +- .../basic-usage-composition-api.vue | 2 +- .../app/date-picker/webdoc/date-picker.js | 12 +- .../dept/before-confirm-composition-api.vue | 5 +- .../sites/demos/app/dept/before-confirm.vue | 5 +- examples/sites/demos/app/dept/webdoc/dept.js | 6 +- .../app/detail-page/webdoc/detail-page.js | 16 +- .../form-in-dialog-composition-api.vue | 4 +- .../demos/app/dialog-box/form-in-dialog.vue | 14 +- .../lock-scroll-composition-api.vue | 16 +- .../demos/app/dialog-box/lock-scroll.vue | 17 +- .../open-close-events-composition-api.vue | 3 +- .../app/dialog-box/open-close-events.vue | 3 +- .../demos/app/dialog-box/webdoc/dialog-box.js | 42 +- .../app/dialog-select/webdoc/dialog-select.js | 36 +- .../app/drawer/placement-composition-api.vue | 6 +- examples/sites/demos/app/drawer/placement.vue | 4 +- .../sites/demos/app/drawer/webdoc/drawer.js | 20 +- .../basic-usage-composition-api.vue | 13 +- .../demos/app/drop-roles/basic-usage.vue | 3 +- .../change-role-event-composition-api.vue | 13 +- .../app/drop-roles/change-role-event.vue | 3 +- .../custom-service-composition-api.vue | 3 +- .../demos/app/drop-roles/custom-service.vue | 3 +- .../app/drop-roles/size-composition-api.vue | 13 +- examples/sites/demos/app/drop-roles/size.vue | 3 +- .../demos/app/drop-roles/webdoc/drop-roles.js | 16 +- .../demos/app/drop-times/webdoc/drop-times.js | 14 +- examples/sites/demos/app/dropdown/events.vue | 2 +- .../demos/app/dropdown/webdoc/dropdown.js | 48 +- .../sites/demos/app/espace/webdoc/espace.js | 2 +- .../demos/app/fall-menu/webdoc/fall-menu.js | 2 +- .../abort-quest-composition-api.vue | 5 +- .../demos/app/file-upload/abort-quest.vue | 5 +- .../custom-prefix-composition-api.vue | 7 +- .../demos/app/file-upload/custom-prefix.vue | 7 +- .../custom-upload-request-composition-api.vue | 5 +- .../app/file-upload/custom-upload-request.vue | 5 +- .../drag-upload-composition-api.vue | 5 +- .../demos/app/file-upload/drag-upload.vue | 5 +- .../jalor-request-composition-api.vue | 5 +- .../demos/app/file-upload/jalor-request.vue | 5 +- .../max-file-count-composition-api.vue | 5 +- .../demos/app/file-upload/max-file-count.vue | 5 +- .../prevent-delete-file-composition-api.vue | 5 +- .../app/file-upload/prevent-delete-file.vue | 5 +- .../prevent-upload-file-composition-api.vue | 5 +- .../app/file-upload/prevent-upload-file.vue | 5 +- .../upload-events-composition-api.vue | 19 +- .../demos/app/file-upload/upload-events.vue | 19 +- .../upload-limit-composition-api.vue | 4 +- .../demos/app/file-upload/upload-limit.vue | 4 +- .../upload-request-composition-api.vue | 5 +- .../demos/app/file-upload/upload-request.vue | 5 +- .../app/file-upload/webdoc/file-upload.js | 70 +- .../app/filter-panel/webdoc/filter-panel.js | 16 +- ...custom-validation-rule-composition-api.vue | 3 - .../demos/app/form/custom-validation-rule.vue | 3 - .../app/form/display-only-composition-api.vue | 3 +- .../sites/demos/app/form/display-only.vue | 3 +- .../form/form-validation-composition-api.vue | 64 +- .../sites/demos/app/form/form-validation.vue | 66 +- .../frequently-used-form-composition-api.vue | 8 +- .../demos/app/form/frequently-used-form.vue | 18 +- .../app/form/label-align-composition-api.vue | 3 - examples/sites/demos/app/form/label-align.vue | 3 - .../no-validate-to-add-composition-api.vue | 126 - .../demos/app/form/no-validate-to-add.spec.js | 28 - .../demos/app/form/no-validate-to-add.vue | 145 - .../app/form/novalid-tip-composition-api.vue | 23 +- examples/sites/demos/app/form/novalid-tip.vue | 22 +- .../demos/app/form/size-composition-api.vue | 73 +- examples/sites/demos/app/form/size.vue | 88 +- .../app/form/smb-required-composition-api.vue | 16 +- .../sites/demos/app/form/smb-required.vue | 17 +- .../validate-debounce-composition-api.vue | 3 +- .../demos/app/form/validate-debounce.vue | 3 +- .../form/validate-type-composition-api.vue | 58 +- .../sites/demos/app/form/validate-type.vue | 58 +- .../validation-position-composition-api.vue | 21 +- .../demos/app/form/validation-position.vue | 27 +- examples/sites/demos/app/form/webdoc/form.js | 904 +-- .../demos/app/fullscreen/webdoc/fullscreen.js | 12 +- .../multiple-column-sort-composition-api.vue | 103 + .../app/grid/custom/multiple-column-sort.vue | 114 + .../ordercolumn-local-composition-api.vue | 17 +- .../app/grid/custom/ordercolumn-local.vue | 18 +- .../custom/server-storage-composition-api.vue | 21 +- .../demos/app/grid/custom/server-storage.vue | 36 +- ...ooter-cell-click-event-composition-api.vue | 4 +- .../grid/event/footer-cell-click-event.vue | 4 +- ...ell-context-menu-event-composition-api.vue | 4 +- .../event/footer-cell-context-menu-event.vue | 4 +- ...er-cell-dblclick-event-composition-api.vue | 8 +- .../grid/event/footer-cell-dblclick-event.vue | 8 +- ...bar-button-click-event-composition-api.vue | 11 +- .../grid/event/toolbar-button-click-event.vue | 11 +- .../footer-summation-composition-api.vue | 4 +- .../app/grid/footer/footer-summation.vue | 4 +- ...fore-submit-validation-composition-api.vue | 12 +- .../gridValid/before-submit-validation.vue | 7 +- .../select-validation-composition-api.vue | 14 +- .../gridValid/select-validation.vue | 9 +- ...lidation-scroll-to-col-composition-api.vue | 13 +- .../gridValid/validation-scroll-to-col.vue | 7 +- .../footer-menu-composition-api.vue | 3 +- .../grid_Example/shortcutMenu/footer-menu.vue | 3 +- .../header-menu-composition-api.vue | 3 +- .../grid_Example/shortcutMenu/header-menu.vue | 3 +- .../menu-permissions-composition-api.vue | 3 +- .../shortcutMenu/menu-permissions.vue | 3 +- .../slot/buttons-slot-composition-api.vue | 11 +- .../demos/app/grid/slot/buttons-slot.vue | 11 +- .../copy-row-data-composition-api.vue | 5 +- .../grid/tiny-first-menu/copy-row-data.vue | 5 +- .../get-row-method-composition-api.vue | 13 +- .../grid/tiny-first-menu/get-row-method.vue | 13 +- .../insert-delete-update-composition-api.vue | 7 +- .../tiny-first-menu/insert-delete-update.vue | 7 +- .../static-data-composition-api.vue | 60 +- .../app/grid/tiny-first-menu/static-data.vue | 66 +- .../tip/cell-tip-config-composition-api.vue | 13 +- .../demos/app/grid/tip/cell-tip-config.vue | 13 +- .../toolbar-op-config-composition-api.vue | 9 +- .../app/grid/toolbar/toolbar-op-config.vue | 9 +- .../tree-grid-base-composition-api.vue | 9 +- .../app/grid/tree-table/tree-grid-base.vue | 10 +- .../demos/app/grid/webdoc/grid-customized.js | 30 +- .../demos/app/grid/webdoc/grid-editor.js | 4 +- .../sites/demos/app/grid/webdoc/grid-event.js | 2 +- .../app/grid/webdoc/grid-grid-optimization.js | 4 +- .../demos/app/grid/webdoc/grid-large-data.js | 8 +- .../sites/demos/app/grid/webdoc/grid-sort.js | 2 +- .../demos/app/grid/webdoc/grid-tree-grid.js | 9 +- examples/sites/demos/app/grid/webdoc/grid.js | 290 +- .../guide/content-steps-composition-api.vue | 8 +- .../sites/demos/app/guide/content-steps.vue | 8 +- .../app/guide/title-steps-composition-api.vue | 12 +- .../sites/demos/app/guide/title-steps.vue | 12 +- .../sites/demos/app/guide/webdoc/guide.js | 36 +- .../demos/app/hrapprover/webdoc/hrapprover.js | 10 +- .../sites/demos/app/image/webdoc/image.js | 10 +- .../infinite-scroll/webdoc/infinite-scroll.js | 8 +- .../input/autocomplete-composition-api.vue | 18 - .../demos/app/input/autocomplete.spec.ts | 8 - .../sites/demos/app/input/autocomplete.vue | 26 - .../app/input/autofocus-composition-api.vue | 18 - .../sites/demos/app/input/autofocus.spec.ts | 8 - examples/sites/demos/app/input/autofocus.vue | 26 - .../app/input/autosize-composition-api.vue | 19 - .../sites/demos/app/input/autosize.spec.ts | 8 - examples/sites/demos/app/input/autosize.vue | 27 - .../app/input/basic-usage-composition-api.vue | 4 +- .../sites/demos/app/input/basic-usage.spec.ts | 15 +- .../sites/demos/app/input/basic-usage.vue | 4 +- .../app/input/clearable-composition-api.vue | 4 +- .../sites/demos/app/input/clearable.spec.ts | 10 +- examples/sites/demos/app/input/clearable.vue | 4 +- .../demos/app/input/cols-composition-api.vue | 21 - examples/sites/demos/app/input/cols.spec.ts | 8 - examples/sites/demos/app/input/cols.vue | 29 - .../app/input/counter-composition-api.vue | 4 +- .../sites/demos/app/input/counter.spec.ts | 2 +- examples/sites/demos/app/input/counter.vue | 2 +- .../app/input/disabled-composition-api.vue | 15 - examples/sites/demos/app/input/disabled.vue | 21 - .../app/input/event-blur-composition-api.vue | 22 - .../sites/demos/app/input/event-blur.spec.ts | 10 - examples/sites/demos/app/input/event-blur.vue | 31 - .../input/event-change-composition-api.vue | 22 - .../demos/app/input/event-change.spec.ts | 11 - .../sites/demos/app/input/event-change.vue | 31 - .../app/input/event-clear-composition-api.vue | 22 - .../sites/demos/app/input/event-clear.spec.ts | 11 - .../sites/demos/app/input/event-clear.vue | 31 - .../demos/app/input/event-composition-api.vue | 43 + .../app/input/event-focus-composition-api.vue | 22 - .../sites/demos/app/input/event-focus.spec.ts | 10 - .../sites/demos/app/input/event-focus.vue | 31 - .../app/input/event-input-composition-api.vue | 22 - .../sites/demos/app/input/event-input.vue | 31 - examples/sites/demos/app/input/event.spec.ts | 53 + examples/sites/demos/app/input/event.vue | 48 + .../demos/app/input/form-composition-api.vue | 19 - examples/sites/demos/app/input/form.spec.ts | 8 - examples/sites/demos/app/input/form.vue | 28 - ...api.vue => input-icon-composition-api.vue} | 13 +- .../sites/demos/app/input/input-icon.spec.ts | 10 + .../input/{prefix-icon.vue => input-icon.vue} | 8 +- .../demos/app/input/label-composition-api.vue | 18 - examples/sites/demos/app/input/label.spec.ts | 8 - examples/sites/demos/app/input/label.vue | 26 - .../demos/app/input/max-composition-api.vue | 18 - examples/sites/demos/app/input/max.spec.ts | 8 - examples/sites/demos/app/input/max.vue | 26 - .../app/input/maxlength-composition-api.vue | 18 - .../sites/demos/app/input/maxlength.spec.ts | 8 - examples/sites/demos/app/input/maxlength.vue | 26 - .../method-addMemory-composition-api.vue | 9 +- .../demos/app/input/method-addMemory.spec.ts | 14 +- .../demos/app/input/method-addMemory.vue | 9 +- .../app/input/method-blur-composition-api.vue | 28 - .../sites/demos/app/input/method-blur.spec.ts | 11 - .../sites/demos/app/input/method-blur.vue | 36 - .../input/method-focus-composition-api.vue | 26 - .../demos/app/input/method-focus.spec.ts | 9 - .../sites/demos/app/input/method-focus.vue | 35 - .../input/method-select-composition-api.vue | 26 - .../demos/app/input/method-select.spec.ts | 12 - .../sites/demos/app/input/method-select.vue | 35 - .../app/input/methods-composition-api.vue | 45 + .../sites/demos/app/input/methods.spec.js | 37 + examples/sites/demos/app/input/methods.vue | 51 + .../demos/app/input/min-composition-api.vue | 18 - examples/sites/demos/app/input/min.spec.ts | 8 - examples/sites/demos/app/input/min.vue | 26 - .../demos/app/input/name-composition-api.vue | 24 - examples/sites/demos/app/input/name.spec.ts | 10 - examples/sites/demos/app/input/name.vue | 32 - .../app/input/native-composition-api.vue | 44 + examples/sites/demos/app/input/native.spec.ts | 14 + examples/sites/demos/app/input/native.vue | 52 + .../app/input/placeholder-composition-api.vue | 18 - .../sites/demos/app/input/placeholder.vue | 26 - .../app/input/prefix-icon-composition-api.vue | 20 - .../sites/demos/app/input/prefix-icon.spec.ts | 8 - .../app/input/readonly-composition-api.vue | 15 - examples/sites/demos/app/input/readonly.vue | 21 - .../app/input/resize-composition-api.vue | 27 +- examples/sites/demos/app/input/resize.spec.ts | 25 +- examples/sites/demos/app/input/resize.vue | 29 +- .../demos/app/input/rows-composition-api.vue | 12 +- examples/sites/demos/app/input/rows.spec.ts | 5 +- examples/sites/demos/app/input/rows.vue | 12 +- .../input/show-password-composition-api.vue | 4 +- .../demos/app/input/show-password.spec.ts | 21 +- .../sites/demos/app/input/show-password.vue | 4 +- .../input/show-word-limit-composition-api.vue | 6 +- .../demos/app/input/show-word-limit.spec.ts | 25 +- .../sites/demos/app/input/show-word-limit.vue | 6 +- .../demos/app/input/size-composition-api.vue | 11 +- examples/sites/demos/app/input/size.spec.ts | 2 +- examples/sites/demos/app/input/size.vue | 11 +- .../app/input/slot-append-composition-api.vue | 20 - .../sites/demos/app/input/slot-append.spec.ts | 8 - .../sites/demos/app/input/slot-append.vue | 28 - .../demos/app/input/slot-composition-api.vue | 37 + .../app/input/slot-prefix-composition-api.vue | 24 - .../sites/demos/app/input/slot-prefix.spec.ts | 8 - .../sites/demos/app/input/slot-prefix.vue | 32 - .../input/slot-prepend-composition-api.vue | 20 - .../demos/app/input/slot-prepend.spec.ts | 8 - .../sites/demos/app/input/slot-prepend.vue | 28 - .../sites/demos/app/input/slot-suffix.spec.ts | 8 - .../sites/demos/app/input/slot-suffix.vue | 32 - examples/sites/demos/app/input/slot.spec.ts | 18 + examples/sites/demos/app/input/slot.vue | 45 + .../demos/app/input/step-composition-api.vue | 18 - examples/sites/demos/app/input/step.spec.ts | 8 - examples/sites/demos/app/input/step.vue | 26 - .../app/input/suffix-icon-composition-api.vue | 20 - .../sites/demos/app/input/suffix-icon.spec.ts | 8 - .../sites/demos/app/input/suffix-icon.vue | 28 - .../app/input/tabindex-composition-api.vue | 19 - .../sites/demos/app/input/tabindex.spec.ts | 21 - examples/sites/demos/app/input/tabindex.vue | 27 - .../demos/app/input/type-composition-api.vue | 37 +- examples/sites/demos/app/input/type.spec.ts | 2 +- examples/sites/demos/app/input/type.vue | 36 +- .../input/validate-event-composition-api.vue | 2 +- .../demos/app/input/validate-event.spec.ts | 2 +- .../sites/demos/app/input/validate-event.vue | 2 +- .../sites/demos/app/input/webdoc/input.js | 987 ++- .../basic-usage-composition-api.vue | 12 + .../demos/app/ip-address/basic-usage.spec.ts | 13 + .../demos/app/ip-address/basic-usage.vue | 20 + .../app/ip-address/blur-composition-api.vue | 2 +- examples/sites/demos/app/ip-address/blur.vue | 2 +- .../app/ip-address/change-composition-api.vue | 2 +- .../sites/demos/app/ip-address/change.vue | 2 +- .../ip-address/delimiter-composition-api.vue | 9 +- .../demos/app/ip-address/delimiter.spec.ts | 2 + .../sites/demos/app/ip-address/delimiter.vue | 9 +- .../ip-address/disabled-composition-api.vue | 2 +- .../sites/demos/app/ip-address/disabled.vue | 2 +- .../app/ip-address/focus-composition-api.vue | 2 +- examples/sites/demos/app/ip-address/focus.vue | 2 +- .../app/ip-address/input-composition-api.vue | 2 +- examples/sites/demos/app/ip-address/input.vue | 2 +- .../ip-address/ipv4-type-composition-api.vue | 10 - .../demos/app/ip-address/ipv4-type.spec.ts | 11 - .../sites/demos/app/ip-address/ipv4-type.vue | 18 - .../ip-address/ipv6-type-composition-api.vue | 10 - .../demos/app/ip-address/ipv6-type.spec.ts | 11 - .../sites/demos/app/ip-address/ipv6-type.vue | 18 - .../ip-address/readonly-composition-api.vue | 2 +- .../sites/demos/app/ip-address/readonly.vue | 2 +- .../app/ip-address/select-composition-api.vue | 2 +- .../sites/demos/app/ip-address/select.vue | 2 +- .../app/ip-address/size-composition-api.vue | 2 +- examples/sites/demos/app/ip-address/size.vue | 2 +- .../app/ip-address/slots-composition-api.vue | 14 - .../sites/demos/app/ip-address/slots.spec.ts | 14 - examples/sites/demos/app/ip-address/slots.vue | 22 - .../demos/app/ip-address/webdoc/ip-address.js | 133 +- .../sites/demos/app/layout/webdoc/layout.js | 28 +- .../demos/app/link-menu/webdoc/link-menu.js | 16 +- .../app/link/custom-icon-composition-api.vue | 22 +- examples/sites/demos/app/link/custom-icon.vue | 23 +- examples/sites/demos/app/link/webdoc/link.js | 10 +- .../sites/demos/app/loading/webdoc/loading.js | 18 +- .../locales/change-lang-composition-api.vue | 6 +- .../sites/demos/app/locales/webdoc/locales.js | 6 +- .../sites/demos/app/logout/webdoc/logout.js | 2 +- .../milestone-events-composition-api.vue | 3 +- .../demos/app/milestone/milestone-events.vue | 3 +- .../demos/app/milestone/webdoc/milestone.js | 32 +- .../sites/demos/app/modal/webdoc/modal.js | 58 +- .../nav-menu/slot-toolbar-composition-api.vue | 9 +- .../demos/app/nav-menu/slot-toolbar.spec.ts | 2 +- .../sites/demos/app/nav-menu/slot-toolbar.vue | 12 +- .../demos/app/nav-menu/webdoc/nav-menu.js | 14 +- .../sites/demos/app/notify/webdoc/notify.js | 26 +- .../sites/demos/app/numeric/webdoc/numeric.js | 36 +- .../sites/demos/app/pager/basic-usage.spec.js | 46 - .../app/pager/before-page-change.spec.js | 37 - .../demos/app/pager/current-page.spec.js | 25 - .../demos/app/pager/custom-layout.spec.js | 27 - .../demos/app/pager/custom-layout.spec.ts | 2 +- .../app/pager/custom-next-prev-text.spec.js | 14 - .../app/pager/hide-on-single-page.spec.js | 17 - .../app/pager/page-append-to-body.spec.js | 15 - .../app/pager/page-append-to-body.spec.ts | 2 +- .../sites/demos/app/pager/page-count.spec.js | 12 - .../sites/demos/app/pager/page-size.spec.js | 22 - .../sites/demos/app/pager/page-size.spec.ts | 2 +- .../sites/demos/app/pager/pager-count.spec.js | 12 - .../demos/app/pager/pager-disabled.spec.js | 19 - .../demos/app/pager/pager-disabled.spec.ts | 5 +- .../pager/pager-events-current-change.spec.js | 17 - .../app/pager/pager-events-nextclick.spec.js | 20 - .../app/pager/pager-events-prev-click.spec.js | 20 - .../demos/app/pager/pager-events.spec.js | 19 - .../demos/app/pager/pager-events.spec.ts | 2 +- .../demos/app/pager/pager-in-grid.spec.js | 16 - .../demos/app/pager/pager-mode-fixed.spec.js | 19 - .../demos/app/pager/pager-mode-number.spec.js | 18 - .../demos/app/pager/pager-mode-number.spec.ts | 2 +- .../demos/app/pager/pager-mode-simple.spec.js | 18 - .../demos/app/pager/pager-mode-simple.spec.ts | 2 +- .../sites/demos/app/pager/pager-mode.spec.js | 18 - .../sites/demos/app/pager/pager-mode.spec.ts | 2 +- .../sites/demos/app/pager/pager-size.spec.js | 11 - .../demos/app/pager/popper-class.spec.js | 14 - .../demos/app/pager/popper-class.spec.ts | 2 +- .../sites/demos/app/pager/webdoc/pager.js | 36 +- .../demos/app/pop-upload/webdoc/pop-upload.js | 38 +- .../demos/app/popconfirm/webdoc/popconfirm.js | 16 +- .../demos/app/popeditor/webdoc/popeditor.js | 64 +- .../popover/arrow-offset-composition-api.vue | 9 +- .../sites/demos/app/popover/arrow-offset.vue | 9 +- .../popover/frame-offset-composition-api.vue | 7 +- .../sites/demos/app/popover/frame-offset.vue | 7 +- .../popper-options-composition-api.vue | 1 - .../demos/app/popover/popper-options.vue | 1 - .../sites/demos/app/popover/webdoc/popover.js | 43 +- .../demos/app/progress/webdoc/progress.js | 16 +- .../sites/demos/app/radio/webdoc/radio.js | 16 +- examples/sites/demos/app/rate/webdoc/rate.js | 36 +- .../basic-usage-composition-api.vue | 7 + .../webdoc/rich-text-editor.js | 2 +- .../app/scroll-text/webdoc/scroll-text.js | 8 +- .../sites/demos/app/search/webdoc/search.js | 32 +- .../clear-no-match-value-composition-api.vue | 42 + .../demos/app/select/clear-no-match-value.vue | 50 + .../sites/demos/app/select/webdoc/select.js | 112 +- .../demos/app/slide-bar/webdoc/slide-bar.js | 8 +- .../sites/demos/app/slider/webdoc/slider.js | 32 +- .../split/disabled-drag-composition-api.vue | 30 + .../sites/demos/app/split/disabled-drag.vue | 38 + .../app/split/event-click-composition-api.vue | 45 + .../sites/demos/app/split/event-click.vue | 54 + .../horizontal-collapse-composition-api.vue | 31 + ...ntal-collapse-left-top-composition-api.vue | 30 + .../split/horizontal-collapse-left-top.vue | 38 + .../demos/app/split/horizontal-collapse.vue | 39 + .../app/split/three-areas-composition-api.vue | 41 + .../sites/demos/app/split/three-areas.vue | 49 + .../split/trigger-simple-composition-api.vue | 30 + .../sites/demos/app/split/trigger-simple.vue | 38 + .../sites/demos/app/split/webdoc/split.js | 152 +- .../demos/app/steps/size-composition-api.vue | 2 +- examples/sites/demos/app/steps/size.vue | 2 +- .../sites/demos/app/steps/webdoc/steps.js | 18 +- .../custom-open-close-composition-api.vue | 2 +- .../demos/app/switch/custom-open-close.vue | 2 +- ...ustom-true-false-value-composition-api.vue | 2 +- .../app/switch/custom-true-false-value.vue | 2 +- .../sites/demos/app/switch/webdoc/switch.js | 12 +- examples/sites/demos/app/tabs/webdoc/tabs.js | 30 +- .../tag-group/basic-usage-composition-api.vue | 69 +- .../sites/demos/app/tag-group/basic-usage.vue | 69 +- .../tag-group-effect-composition-api.vue | 16 +- .../demos/app/tag-group/tag-group-effect.vue | 18 +- .../tag-group-event-composition-api.vue | 66 +- .../demos/app/tag-group/tag-group-event.vue | 66 +- .../tag-group-size-composition-api.vue | 18 +- .../demos/app/tag-group/tag-group-size.vue | 18 +- .../tag-group-type-composition-api.vue | 47 - .../demos/app/tag-group/tag-group-type.vue | 55 - .../app/tag-group/webdoc/tag-group.en.md | 7 + .../demos/app/tag-group/webdoc/tag-group.js | 36 +- examples/sites/demos/app/tag/webdoc/tag.js | 16 +- .../demos/app/text-popup/webdoc/text-popup.js | 10 +- .../demos/app/time-line/webdoc/time-line.js | 29 +- .../app/time-picker/webdoc/time-picker.js | 42 +- .../app/time-select/webdoc/time-select.js | 22 +- .../app/toggle-menu/webdoc/toggle-menu.js | 52 +- .../sites/demos/app/tooltip/webdoc/tooltip.js | 36 +- .../transfer/nested-tree-composition-api.vue | 3 +- .../sites/demos/app/transfer/nested-tree.vue | 3 +- .../demos/app/transfer/webdoc/transfer.js | 40 +- ...xpanded-keys-highlight-composition-api.vue | 131 + .../default-expanded-keys-highlight.spec.ts | 12 + .../default-expanded-keys-highlight.vue | 141 + ...e => menu-collapsible-composition-api.vue} | 3 +- ...sible.spec.ts => menu-collapsible.spec.ts} | 2 +- .../{collapsible.vue => menu-collapsible.vue} | 3 +- .../demos/app/tree-menu/webdoc/tree-menu.js | 96 +- examples/sites/demos/app/tree/webdoc/tree.js | 54 +- .../app/user-account/webdoc/user-account.js | 6 +- .../app/user-contact/webdoc/user-contact.js | 12 +- .../demos/app/user-head/webdoc/user-head.js | 18 +- .../sites/demos/app/user-link/value-split.vue | 2 +- .../demos/app/user-link/webdoc/user-link.js | 14 +- examples/sites/demos/app/user/webdoc/user.js | 40 +- .../sites/demos/app/wizard/webdoc/wizard.js | 8 +- examples/sites/demos/menus.js | 1 + examples/sites/demos/webdoc/develop-demo.md | 8 +- .../demos/webdoc/envpreparation-open-en.md | 8 - .../sites/demos/webdoc/envpreparation-open.md | 8 - examples/sites/demos/webdoc/form-valid-en.md | 3 - examples/sites/demos/webdoc/form-valid.md | 3 - examples/sites/demos/webdoc/i18n.md | 8 +- .../sites/demos/webdoc/import-components.md | 4 +- .../sites/demos/webdoc/installation-en.md | 126 + .../demos/webdoc/installation-open-en.md | 44 - .../{installation-open.md => installation.md} | 57 +- examples/sites/env/.env.innersaas | 5 + examples/sites/env/.env.saas | 6 + examples/sites/index.html | 1 + examples/sites/md.extend.config.js | 37 +- examples/sites/package.json | 16 +- examples/sites/playground/App.vue | 59 +- examples/sites/postcss.config.cjs | 5 + examples/sites/src/App.vue | 2 +- examples/sites/src/assets/index.less | 47 - examples/sites/src/main.js | 26 + examples/sites/src/style.css | 5 + examples/sites/src/tailwind.css | 3 + examples/sites/src/tools/appData.js | 2 - examples/sites/src/tools/useApiMode.js | 8 +- .../src/views/components/async-highlight.vue | 87 + .../sites/src/views/components/components.vue | 415 +- examples/sites/src/views/components/demo.vue | 97 +- examples/sites/src/views/docs/docs.vue | 58 +- examples/sites/src/views/layout/layout.vue | 65 +- examples/sites/src/views/overview.vue | 45 +- examples/sites/tailwind.config.cjs | 10 + examples/sites/tiny-uno/autocomplete.js | 102 + examples/sites/tiny-uno/index.js | 12 +- examples/sites/tiny-uno/preflights.js | 54 +- examples/sites/tiny-uno/rules/animate.js | 4 +- examples/sites/tiny-uno/rules/font.js | 13 +- .../sites/tiny-uno/rules/keyframes/help.js | 6 +- examples/sites/tiny-uno/rules/utils.js | 40 +- examples/sites/tiny-uno/variants/prefix.js | 2 +- examples/sites/tsconfig.json | 28 + examples/sites/tsconfig.node.json | 12 + examples/sites/uno.config.js | 2 +- .../sites/{vite.config.js => vite.config.ts} | 23 +- examples/vue2.7/package.json | 3 +- examples/vue2.7/shims-vue.d.ts | 7 +- examples/vue2/package.json | 3 +- examples/vue2/shims-vue.d.ts | 6 +- examples/vue2/vitest.config.ts | 1 + examples/vue3/package.json | 3 +- examples/vue3/vite.config.ts | 1 + examples/vue3/vitest.config.ts | 1 + gulp/buildTheme.mjs | 6 +- gulp/themeConcat.mjs | 8 +- internals/cli/package.json | 4 +- internals/cli/src/commands/build/build-ui.ts | 9 +- .../commands/build/rollup/inline-chunks.ts | 1 + .../cli/src/commands/release/releaseAurora.ts | 6 +- internals/cli/src/shared/module-utils.ts | 3 +- .../unplugin-virtual-template/package.json | 4 +- internals/vue-vite-import/package.json | 4 +- package.json | 30 +- packages/design/aurora/package.json | 4 +- packages/design/aurora/src/dropdown/index.ts | 2 +- packages/design/smb/index.ts | 6 +- packages/design/smb/package.json | 4 +- packages/design/smb/src/dropdown/index.ts | 2 +- packages/design/smb/src/form/index.ts | 3 + packages/design/smb/src/tree-node/index.ts | 8 + packages/modules.json | 5502 +++++++++-------- packages/renderless/package.json | 9 +- packages/renderless/src/action-menu/index.ts | 8 +- packages/renderless/src/action-menu/vue.ts | 27 +- packages/renderless/src/action-sheet/index.ts | 6 + packages/renderless/src/anchor/index.ts | 102 +- packages/renderless/src/anchor/vue.ts | 62 +- .../renderless/src/async-flowchart/index.ts | 75 + .../renderless/src/async-flowchart/vue.ts | 47 + packages/renderless/src/badge/index.ts | 9 +- packages/renderless/src/badge/vue.ts | 7 +- .../renderless/src/breadcrumb-item/index.ts | 24 +- .../renderless/src/breadcrumb-item/vue.ts | 5 +- packages/renderless/src/breadcrumb/index.ts | 15 +- packages/renderless/src/breadcrumb/vue.ts | 8 +- packages/renderless/src/button-group/index.ts | 19 +- packages/renderless/src/button-group/vue.ts | 18 +- packages/renderless/src/button/index.ts | 6 +- packages/renderless/src/button/vue.ts | 4 +- .../renderless/src/calendar-view/index.ts | 757 +++ packages/renderless/src/calendar-view/vue.ts | 309 + .../renderless/src/cascader-menu/index.ts | 26 +- packages/renderless/src/cascader-menu/vue.ts | 17 +- .../renderless/src/cascader-node/index.ts | 28 +- packages/renderless/src/cascader-node/vue.ts | 20 +- .../renderless/src/cascader-panel/index.ts | 220 +- .../renderless/src/cascader-panel/node.ts | 71 +- .../renderless/src/cascader-panel/store.ts | 50 +- packages/renderless/src/cascader-panel/vue.ts | 34 +- packages/renderless/src/cascader/index.ts | 6 +- packages/renderless/src/cascader/vue.ts | 1 + packages/renderless/src/checkbox/index.ts | 96 +- packages/renderless/src/checkbox/react.ts | 22 - packages/renderless/src/checkbox/vue.ts | 44 +- packages/renderless/src/col/index.ts | 13 +- .../renderless/src/collapse-item/index.ts | 10 +- packages/renderless/src/collapse-item/vue.ts | 13 +- packages/renderless/src/collapse/index.ts | 13 +- packages/renderless/src/collapse/vue.ts | 13 +- packages/renderless/src/common/array.ts | 2 +- .../src/common/calendar/calendar.ts | 158 + packages/renderless/src/common/deps/dom.ts | 151 +- .../src/common/deps/infinite-scroll.ts | 5 +- packages/renderless/src/common/deps/popper.ts | 1134 ++-- .../src/common/deps/popup-manager.ts | 133 +- .../src/common/deps/scrollbar-width.ts | 5 +- packages/renderless/src/common/deps/touch.ts | 2 +- .../renderless/src/common/deps/vue-popper.ts | 349 +- .../renderless/src/common/deps/vue-popup.ts | 250 +- packages/renderless/src/common/object.ts | 139 +- packages/renderless/src/common/runtime.ts | 2 + packages/renderless/src/common/string.ts | 19 +- packages/renderless/src/common/type.ts | 52 +- .../renderless/src/common/validate/schema.ts | 34 + .../renderless/src/common/validate/util.ts | 38 +- packages/renderless/src/common/xss.ts | 165 +- .../src/date-picker-mobile/index.ts | 522 +- .../renderless/src/date-picker-mobile/vue.ts | 68 +- .../src/date-picker-mobile/year-month.ts | 59 + packages/renderless/src/dialog-box/index.ts | 101 +- packages/renderless/src/dialog-box/vue.ts | 56 +- packages/renderless/src/drawer/index.ts | 2 +- .../renderless/src/dropdown-item/index.ts | 89 +- packages/renderless/src/dropdown-item/mf.ts | 14 +- packages/renderless/src/dropdown-item/vue.ts | 26 +- .../renderless/src/dropdown-menu/index.ts | 85 +- packages/renderless/src/dropdown-menu/vue.ts | 27 +- packages/renderless/src/dropdown/index.ts | 133 +- packages/renderless/src/dropdown/vue.ts | 33 +- packages/renderless/src/file-upload/index.ts | 574 +- packages/renderless/src/file-upload/vue.ts | 46 +- packages/renderless/src/floatbar/index.ts | 5 +- packages/renderless/src/floatbar/vue.ts | 8 +- packages/renderless/src/flowchart/index.ts | 1068 +++- packages/renderless/src/flowchart/node.ts | 54 + packages/renderless/src/flowchart/vue.ts | 39 +- packages/renderless/src/form-item/index.ts | 248 +- packages/renderless/src/form-item/vue.ts | 40 +- packages/renderless/src/form/index.ts | 111 +- packages/renderless/src/form/vue.ts | 18 +- .../grid/static/array/helperCreateTreeFunc.ts | 2 +- .../renderless/src/grid/static/base/get.ts | 2 +- packages/renderless/src/image/index.ts | 95 +- packages/renderless/src/image/vue.ts | 51 +- packages/renderless/src/index-bar/index.ts | 1 - packages/renderless/src/input/index.ts | 180 +- packages/renderless/src/input/vue.ts | 82 +- packages/renderless/src/link/index.ts | 5 +- packages/renderless/src/link/vue.ts | 5 +- packages/renderless/src/loading/index.ts | 15 +- packages/renderless/src/loading/vue.ts | 12 +- packages/renderless/src/milestone/index.ts | 62 +- packages/renderless/src/milestone/vue.ts | 24 +- packages/renderless/src/modal/index.ts | 458 +- packages/renderless/src/modal/vue.ts | 22 +- packages/renderless/src/nav-menu/index.ts | 469 +- packages/renderless/src/nav-menu/vue.ts | 14 +- packages/renderless/src/numeric/index.ts | 155 +- packages/renderless/src/numeric/vue.ts | 59 +- packages/renderless/src/picker/index.ts | 65 +- packages/renderless/src/picker/vue.ts | 73 +- packages/renderless/src/popover/index.ts | 78 +- packages/renderless/src/popover/vue.ts | 65 +- packages/renderless/src/pull-refresh/index.ts | 2 - packages/renderless/src/radio-button/index.ts | 49 +- packages/renderless/src/radio-button/vue.ts | 33 +- packages/renderless/src/radio-group/index.ts | 17 +- packages/renderless/src/radio-group/vue.ts | 19 +- packages/renderless/src/radio/index.ts | 69 +- packages/renderless/src/radio/vue.ts | 15 +- .../renderless/src/rich-text-edtior/vue.ts | 6 +- packages/renderless/src/search/index.ts | 66 +- packages/renderless/src/search/vue.ts | 25 +- .../renderless/src/select-dropdown/index.ts | 4 +- packages/renderless/src/select/index.ts | 85 +- packages/renderless/src/select/vue.ts | 8 +- packages/renderless/src/slider/index.ts | 106 +- packages/renderless/src/slider/vue.ts | 26 +- packages/renderless/src/split/index.ts | 97 +- packages/renderless/src/split/vue.ts | 97 +- packages/renderless/src/steps/index.ts | 16 +- packages/renderless/src/steps/vue.ts | 10 +- packages/renderless/src/switch/index.ts | 32 +- packages/renderless/src/switch/vue.ts | 26 +- packages/renderless/src/tab-bar/index.ts | 105 +- packages/renderless/src/tab-bar/vue.ts | 17 +- packages/renderless/src/tab-item/index.ts | 15 +- packages/renderless/src/tab-item/vue.ts | 21 +- packages/renderless/src/tab-nav/index.ts | 78 +- packages/renderless/src/tab-nav/vue.ts | 24 +- packages/renderless/src/tabbar-item/index.ts | 6 +- packages/renderless/src/tabbar-item/vue.ts | 4 +- packages/renderless/src/tabbar/vue.ts | 3 +- packages/renderless/src/tabs/index.ts | 71 +- packages/renderless/src/tabs/vue.ts | 33 +- packages/renderless/src/tag/vue.ts | 2 +- packages/renderless/src/time-line/index.ts | 61 +- packages/renderless/src/time-line/vue.ts | 28 +- .../renderless/src/timeline-item/index.ts | 60 +- packages/renderless/src/timeline-item/vue.ts | 31 +- packages/renderless/src/tooltip/index.ts | 69 +- packages/renderless/src/tooltip/vue.ts | 15 +- packages/renderless/src/tree-menu/index.ts | 14 +- packages/renderless/src/tree-menu/vue.ts | 4 +- packages/renderless/src/tree-node/index.ts | 519 +- packages/renderless/src/tree-node/vue.ts | 14 +- packages/renderless/src/tree/index.ts | 1 + .../renderless/src/upload-dragger/index.ts | 17 +- packages/renderless/src/upload-dragger/vue.ts | 18 +- packages/renderless/src/upload-list/index.ts | 79 +- packages/renderless/src/upload-list/vue.ts | 28 +- packages/renderless/src/upload/index.ts | 154 +- packages/renderless/src/upload/vue.ts | 25 +- .../renderless/src/user-head-group/index.ts | 28 + .../renderless/src/user-head-group/vue.ts | 36 +- packages/renderless/src/user-head/index.ts | 95 +- packages/renderless/src/user-head/vue.ts | 28 +- packages/renderless/src/wizard/index.ts | 29 +- packages/renderless/src/wizard/vue.ts | 18 +- packages/renderless/tsup.config.ts | 50 +- packages/renderless/types/action-menu.type.ts | 44 +- .../renderless/types/action-sheet.type.ts | 2 +- packages/renderless/types/amount.type.ts | 2 +- packages/renderless/types/anchor.type.ts | 58 +- packages/renderless/types/area.type.ts | 2 +- .../renderless/types/autocomplete.type.ts | 2 +- .../renderless/types/autonavi-map.type.ts | 2 +- packages/renderless/types/avatar.type.ts | 2 +- packages/renderless/types/badge.type.ts | 28 +- packages/renderless/types/baidu-map.type.ts | 2 +- .../renderless/types/breadcrumb-item.type.ts | 16 +- packages/renderless/types/breadcrumb.type.ts | 25 +- .../renderless/types/bulletin-board.type.ts | 2 +- .../renderless/types/button-group.type.ts | 41 +- packages/renderless/types/button.type.ts | 13 +- .../renderless/types/calendar-bar.type.ts | 2 +- packages/renderless/types/calendar.type.ts | 2 +- packages/renderless/types/card-group.type.ts | 2 +- .../renderless/types/card-template.type.ts | 2 +- packages/renderless/types/card.type.ts | 2 +- .../renderless/types/carousel-item.type.ts | 2 +- packages/renderless/types/carousel.type.ts | 2 +- .../renderless/types/cascader-menu.type.ts | 33 +- .../renderless/types/cascader-mobile.type.ts | 2 +- .../renderless/types/cascader-node.type.ts | 37 +- .../renderless/types/cascader-panel.type.ts | 143 +- .../renderless/types/cascader-select.type.ts | 2 +- packages/renderless/types/cascader.type.ts | 2 +- packages/renderless/types/cell.type.ts | 2 +- packages/renderless/types/chart-bar.type.ts | 2 +- .../renderless/types/chart-boxplot.type.ts | 2 +- .../renderless/types/chart-candle.type.ts | 2 +- packages/renderless/types/chart-core.type.ts | 2 +- .../renderless/types/chart-funnel.type.ts | 2 +- packages/renderless/types/chart-gauge.type.ts | 2 +- packages/renderless/types/chart-graph.type.ts | 2 +- .../renderless/types/chart-heatmap.type.ts | 2 +- packages/renderless/types/chart-line.type.ts | 2 +- .../renderless/types/chart-liquidfill.type.ts | 2 +- packages/renderless/types/chart-map.type.ts | 2 +- packages/renderless/types/chart-pie.type.ts | 2 +- packages/renderless/types/chart-radar.type.ts | 2 +- .../renderless/types/chart-sankey.type.ts | 2 +- .../renderless/types/chart-scatter.type.ts | 2 +- .../renderless/types/chart-sunburst.type.ts | 2 +- packages/renderless/types/chart-tree.type.ts | 2 +- .../renderless/types/chart-waterfall.type.ts | 2 +- .../renderless/types/chart-wordcloud.type.ts | 2 +- .../renderless/types/checkbox-button.type.ts | 2 +- .../renderless/types/checkbox-group.type.ts | 2 +- packages/renderless/types/checkbox.type.ts | 92 +- packages/renderless/types/col.type.ts | 2 +- .../renderless/types/collapse-item.type.ts | 40 +- packages/renderless/types/collapse.type.ts | 27 +- .../types/column-list-group.type.ts | 2 +- .../renderless/types/column-list-item.type.ts | 2 +- packages/renderless/types/common.type.ts | 2 +- packages/renderless/types/company.type.ts | 2 +- packages/renderless/types/container.type.ts | 2 +- packages/renderless/types/country.type.ts | 2 +- .../renderless/types/credit-card-form.type.ts | 2 +- packages/renderless/types/credit-card.type.ts | 2 +- packages/renderless/types/crop.type.ts | 2 +- packages/renderless/types/currency.type.ts | 2 +- packages/renderless/types/date-panel.type.ts | 2 +- .../types/date-picker-mobile.type.ts | 2 +- packages/renderless/types/date-picker.type.ts | 8 +- packages/renderless/types/date-range.type.ts | 2 +- packages/renderless/types/date-table.type.ts | 2 +- packages/renderless/types/dept.type.ts | 2 +- packages/renderless/types/detail-page.type.ts | 2 +- packages/renderless/types/dialog-box.type.ts | 119 +- .../renderless/types/dialog-select.type.ts | 2 +- packages/renderless/types/drawer.type.ts | 2 +- packages/renderless/types/drop-roles.type.ts | 2 +- packages/renderless/types/drop-times.type.ts | 2 +- .../renderless/types/dropdown-item.type.ts | 116 +- .../renderless/types/dropdown-menu.type.ts | 82 +- packages/renderless/types/dropdown.type.ts | 72 +- .../types/dynamic-scroller-item.type.ts | 2 +- .../renderless/types/dynamic-scroller.type.ts | 2 +- packages/renderless/types/espace.type.ts | 2 +- packages/renderless/types/exception.type.ts | 2 +- packages/renderless/types/fall-menu.type.ts | 2 +- packages/renderless/types/file-upload.type.ts | 327 +- packages/renderless/types/filter-bar.type.ts | 2 +- packages/renderless/types/filter-box.type.ts | 2 +- .../renderless/types/filter-panel.type.ts | 2 +- packages/renderless/types/filter.type.ts | 2 +- packages/renderless/types/floatbar.type.ts | 39 +- .../renderless/types/floating-button.type.ts | 2 +- packages/renderless/types/flowchart.type.ts | 2 +- packages/renderless/types/form-item.type.ts | 140 +- packages/renderless/types/form.type.ts | 69 +- packages/renderless/types/fullscreen.type.ts | 2 +- packages/renderless/types/grid.type.ts | 2 +- packages/renderless/types/guide.type.ts | 2 +- packages/renderless/types/hrapprover.type.ts | 2 +- .../renderless/types/image-viewer.type.ts | 2 +- packages/renderless/types/image.type.ts | 68 +- .../renderless/types/index-bar-anchor.type.ts | 2 +- packages/renderless/types/index-bar.type.ts | 2 +- packages/renderless/types/input.type.ts | 91 +- packages/renderless/types/ip-address.type.ts | 2 +- packages/renderless/types/layout.type.ts | 2 +- packages/renderless/types/link-menu.type.ts | 2 +- packages/renderless/types/link.type.ts | 23 +- packages/renderless/types/list.type.ts | 2 +- packages/renderless/types/loading.type.ts | 40 +- packages/renderless/types/locales.type.ts | 2 +- packages/renderless/types/logon-user.type.ts | 2 +- packages/renderless/types/logout.type.ts | 2 +- packages/renderless/types/milestone.type.ts | 70 +- packages/renderless/types/mini-picker.type.ts | 2 +- packages/renderless/types/modal.type.ts | 164 +- packages/renderless/types/month-range.type.ts | 2 +- packages/renderless/types/month-table.type.ts | 2 +- .../renderless/types/multi-select.type.ts | 2 +- packages/renderless/types/nav-menu.type.ts | 98 +- packages/renderless/types/notify.type.ts | 2 +- packages/renderless/types/numeric.type.ts | 120 +- .../renderless/types/option-group.type.ts | 2 +- packages/renderless/types/option.type.ts | 2 +- packages/renderless/types/pager-item.type.ts | 2 +- packages/renderless/types/pager.type.ts | 2 +- packages/renderless/types/panel.type.ts | 2 +- .../renderless/types/picker-column.type.ts | 2 +- packages/renderless/types/picker.type.ts | 85 +- packages/renderless/types/pop-upload.type.ts | 2 +- packages/renderless/types/popconfirm.type.ts | 2 +- packages/renderless/types/popeditor.type.ts | 61 +- packages/renderless/types/popover.type.ts | 70 +- packages/renderless/types/popup.type.ts | 2 +- packages/renderless/types/progress.type.ts | 1 + .../renderless/types/pull-refresh.type.ts | 2 +- .../renderless/types/query-builder.type.ts | 2 +- .../renderless/types/radio-button.type.ts | 52 +- packages/renderless/types/radio-group.type.ts | 27 +- packages/renderless/types/radio.type.ts | 56 +- packages/renderless/types/rate.type.ts | 2 +- packages/renderless/types/record.type.ts | 2 +- .../renderless/types/recycle-scroller.type.ts | 2 +- packages/renderless/types/river.type.ts | 2 +- packages/renderless/types/roles.type.ts | 2 +- packages/renderless/types/row.type.ts | 2 +- packages/renderless/types/scroll-text.type.ts | 2 +- packages/renderless/types/scrollbar.type.ts | 2 +- packages/renderless/types/search.type.ts | 44 +- .../renderless/types/select-dropdown.type.ts | 2 +- .../renderless/types/select-mobile.type.ts | 2 +- packages/renderless/types/select-view.type.ts | 2 +- packages/renderless/types/select.type.ts | 2 +- .../renderless/types/selected-box.type.ts | 2 +- packages/renderless/types/shared.type.ts | 14 +- packages/renderless/types/slide-bar.type.ts | 2 +- .../types/slider-button-group.type.ts | 2 +- .../renderless/types/slider-button.type.ts | 2 +- packages/renderless/types/slider.type.ts | 79 +- packages/renderless/types/split.type.ts | 2 +- .../types/standard-list-item.type.ts | 2 +- packages/renderless/types/steps.type.ts | 35 +- packages/renderless/types/switch.type.ts | 38 +- packages/renderless/types/tab-bar.type.ts | 33 +- .../renderless/types/tab-dropdown.type.ts | 2 +- packages/renderless/types/tab-item-mf.type.ts | 2 +- packages/renderless/types/tab-item.type.ts | 37 +- packages/renderless/types/tab-nav.type.ts | 95 +- packages/renderless/types/tabbar-item.type.ts | 2 +- packages/renderless/types/tabbar.type.ts | 2 +- packages/renderless/types/table.type.ts | 2 +- packages/renderless/types/tabs-mf.type.ts | 2 +- packages/renderless/types/tabs.type.ts | 89 +- packages/renderless/types/tag-group.type.ts | 2 +- packages/renderless/types/tag.type.ts | 3 +- .../renderless/types/tall-storage.type.ts | 2 +- packages/renderless/types/text-popup.type.ts | 2 +- packages/renderless/types/time-line.type.ts | 63 +- packages/renderless/types/time-panel.type.ts | 2 +- .../types/time-picker-mobile.type.ts | 2 +- packages/renderless/types/time-range.type.ts | 2 +- .../renderless/types/time-spinner.type.ts | 2 +- packages/renderless/types/time.type.ts | 2 +- .../renderless/types/timeline-item.type.ts | 78 +- packages/renderless/types/toggle-menu.type.ts | 2 +- packages/renderless/types/tooltip.type.ts | 67 +- packages/renderless/types/top-box.type.ts | 2 +- .../renderless/types/transfer-panel.type.ts | 2 +- packages/renderless/types/transfer.type.ts | 2 +- packages/renderless/types/tree-menu.type.ts | 2 +- packages/renderless/types/tree-node.type.ts | 2 +- packages/renderless/types/tree.type.ts | 2 +- .../renderless/types/upload-dragger.type.ts | 28 +- packages/renderless/types/upload-list.type.ts | 85 +- packages/renderless/types/upload.type.ts | 98 +- .../renderless/types/user-account.type.ts | 2 +- .../renderless/types/user-contact.type.ts | 2 +- .../renderless/types/user-head-group.type.ts | 2 +- packages/renderless/types/user-head.type.ts | 2 +- packages/renderless/types/user-link.type.ts | 2 +- packages/renderless/types/user.type.ts | 2 +- packages/renderless/types/wheel.type.ts | 2 +- packages/renderless/types/wizard.type.ts | 66 +- packages/renderless/types/year-range.type.ts | 2 +- packages/renderless/types/year-table.type.ts | 2 +- packages/theme-mobile/package.json | 4 +- .../theme-mobile/src/mixins/variable.less | 2 +- packages/theme-saas/build/gulp-dist.js | 2 + packages/theme-saas/package.json | 7 +- packages/theme-saas/plugins/loadTheme.js | 171 + packages/theme-saas/src/button/index.less | 33 +- .../theme-saas/src/calendar-view/index.less | 0 .../theme-saas/src/card-layout/index.less | 4 +- .../theme-saas/src/card-template/index.less | 2 +- packages/theme-saas/src/cascader/index.less | 2 +- .../theme-saas/src/checkbox-button/index.less | 4 +- .../theme-saas/src/color-picker/index.less | 0 packages/theme-saas/src/divider/index.less | 0 packages/theme-saas/src/grid/header.less | 3 +- packages/theme-saas/src/grid/icon.less | 6 +- packages/theme-saas/src/grid/table.less | 16 +- packages/theme-saas/src/index.less | 4 + packages/theme-saas/src/input/index.less | 112 +- packages/theme-saas/src/ip-address/index.less | 2 +- packages/theme-saas/src/mixins/button.less | 2 +- packages/theme-saas/src/mixins/input.less | 2 +- packages/theme-saas/src/modal/index.less | 84 +- packages/theme-saas/src/pager/index.less | 31 +- .../theme-saas/src/radio-button/index.less | 4 +- .../theme-saas/src/radio-group/index.less | 2 +- .../src/rich-text-editor/index.less | 0 packages/theme-saas/src/select/index.less | 59 +- packages/theme-saas/src/split/index.less | 2 +- packages/theme-saas/src/svgs/agenda-view.svg | 6 + packages/theme-saas/src/svgs/day-view.svg | 6 + .../src/svgs/fillet-external-link.svg | 12 + packages/theme-saas/src/svgs/month-view.svg | 6 + .../src/svgs/rich-text-add-column-after.svg | 5 + .../src/svgs/rich-text-add-column-before.svg | 5 + .../src/svgs/rich-text-add-row-after.svg | 5 + .../src/svgs/rich-text-add-row-before.svg | 5 + .../src/svgs/rich-text-align-center.svg | 4 + .../src/svgs/rich-text-align-left.svg | 4 + .../src/svgs/rich-text-align-right.svg | 4 + .../theme-saas/src/svgs/rich-text-bold.svg | 5 + .../src/svgs/rich-text-code-block.svg | 5 + .../src/svgs/rich-text-code-view.svg | 5 + .../theme-saas/src/svgs/rich-text-color.svg | 5 + .../src/svgs/rich-text-delete-column.svg | 5 + .../src/svgs/rich-text-delete-row.svg | 5 + .../src/svgs/rich-text-delete-table.svg | 5 + .../src/svgs/rich-text-font-size.svg | 5 + .../src/svgs/rich-text-format-clear.svg | 5 + .../theme-saas/src/svgs/rich-text-h-1.svg | 5 + .../theme-saas/src/svgs/rich-text-h-2.svg | 5 + .../theme-saas/src/svgs/rich-text-h-3.svg | 5 + .../theme-saas/src/svgs/rich-text-h-4.svg | 5 + .../theme-saas/src/svgs/rich-text-h-5.svg | 5 + .../theme-saas/src/svgs/rich-text-h-6.svg | 5 + .../theme-saas/src/svgs/rich-text-heading.svg | 4 + .../src/svgs/rich-text-high-light.svg | 5 + .../theme-saas/src/svgs/rich-text-image.svg | 5 + .../theme-saas/src/svgs/rich-text-italic.svg | 4 + .../src/svgs/rich-text-line-height.svg | 5 + .../src/svgs/rich-text-link-unlink.svg | 5 + .../theme-saas/src/svgs/rich-text-link.svg | 5 + .../src/svgs/rich-text-list-ordered.svg | 5 + .../src/svgs/rich-text-list-unordered.svg | 5 + .../svgs/rich-text-merge-cells-vertical.svg | 5 + .../src/svgs/rich-text-merge-cells.svg | 5 + .../src/svgs/rich-text-node-delete.svg | 5 + .../src/svgs/rich-text-paragraph.svg | 5 + .../src/svgs/rich-text-quote-text.svg | 5 + .../src/svgs/rich-text-quote-text1.svg | 4 + .../theme-saas/src/svgs/rich-text-redo.svg | 5 + .../svgs/rich-text-split-cells-horizontal.svg | 5 + .../svgs/rich-text-split-cells-vertical.svg | 5 + .../src/svgs/rich-text-strikethrough.svg | 5 + .../src/svgs/rich-text-subscript.svg | 5 + .../src/svgs/rich-text-superscript.svg | 5 + .../theme-saas/src/svgs/rich-text-table-2.svg | 5 + .../src/svgs/rich-text-table-drop-ico.svg | 6 + .../theme-saas/src/svgs/rich-text-table.svg | 15 + .../src/svgs/rich-text-task-list.svg | 5 + .../src/svgs/rich-text-underline.svg | 5 + .../theme-saas/src/svgs/rich-text-undo.svg | 5 + packages/theme-saas/src/switch/index.less | 4 +- packages/theme-saas/src/tabs/index.less | 6 +- packages/theme-saas/src/textarea/index.less | 1 - packages/theme-saas/src/textarea/vars.less | 70 - packages/theme-saas/src/tree-menu/index.less | 6 +- .../theme-saas/src/upload-list/index.less | 2 +- packages/theme-saas/tailwind.config.js | 424 +- packages/theme-saas/theme/theme.json | 990 +++ packages/theme/package.json | 8 +- packages/theme/scripts/.gitkeep | 0 packages/theme/scripts/build-theme-json.js | 174 - packages/theme/scripts/components.js | 37 - packages/theme/src/button-group/index.less | 2 +- packages/theme/src/button-group/smb-theme.js | 22 +- packages/theme/src/button-group/vars.less | 2 + packages/theme/src/button/aurora-theme.js | 6 +- packages/theme/src/button/index.less | 36 +- packages/theme/src/button/smb-theme.js | 27 +- packages/theme/src/button/vars.less | 27 +- packages/theme/src/calendar-view/index.less | 661 ++ packages/theme/src/calendar-view/vars.less | 15 + packages/theme/src/checkbox-button/index.less | 28 +- .../theme/src/checkbox-button/smb-theme.js | 16 +- packages/theme/src/checkbox-button/vars.less | 8 +- packages/theme/src/checkbox/index.less | 74 +- packages/theme/src/checkbox/smb-theme.js | 10 +- packages/theme/src/collapse-item/index.less | 12 + packages/theme/src/collapse-item/smb-theme.js | 3 +- packages/theme/src/dialog-box/index.less | 5 +- packages/theme/src/drawer/index.less | 74 +- packages/theme/src/form-item/index.less | 3 + packages/theme/src/form-item/smb-theme.js | 1 - packages/theme/src/form-item/vars.less | 2 +- packages/theme/src/form/index.less | 3 + packages/theme/src/grid/checkbox.less | 2 +- packages/theme/src/grid/header.less | 1 + packages/theme/src/grid/radio.less | 2 +- packages/theme/src/grid/smb-theme.js | 4 +- packages/theme/src/grid/table.less | 8 +- packages/theme/src/grid/vars.less | 4 + packages/theme/src/index.less | 4 + packages/theme/src/link/aurora-theme.js | 3 +- packages/theme/src/link/index.less | 79 +- packages/theme/src/link/smb-theme.js | 17 +- packages/theme/src/link/vars.less | 8 +- packages/theme/src/mixins/link.less | 14 +- packages/theme/src/mixins/variable.less | 2 +- packages/theme/src/modal/index.less | 26 +- packages/theme/src/option/index.less | 8 + packages/theme/src/option/smb-theme.js | 8 +- packages/theme/src/option/vars.less | 2 + packages/theme/src/pager/aurora-theme.js | 3 +- packages/theme/src/pager/index.less | 96 +- packages/theme/src/pager/vars.less | 4 + packages/theme/src/radio/smb-theme.js | 8 +- packages/theme/src/search/index.less | 2 +- .../theme/src/select-dropdown/smb-theme.js | 3 +- packages/theme/src/select/aurora-theme.js | 1 - packages/theme/src/select/vars.less | 2 +- packages/theme/src/split/index.less | 251 +- packages/theme/src/steps/index.less | 8 +- packages/theme/src/steps/smb-theme.js | 2 +- packages/theme/src/svgs/agenda-view.svg | 6 + packages/theme/src/svgs/day-view.svg | 6 + .../theme/src/svgs/fillet-external-link.svg | 12 + packages/theme/src/svgs/month-view.svg | 6 + packages/theme/src/svgs/repeat.svg | 12 +- packages/theme/src/svgs/replace.svg | 14 +- packages/theme/src/svgs/replies.svg | 18 +- .../src/svgs/rich-text-add-column-after.svg | 6 +- .../src/svgs/rich-text-add-column-before.svg | 6 +- .../src/svgs/rich-text-add-row-after.svg | 6 +- .../src/svgs/rich-text-add-row-before.svg | 6 +- .../theme/src/svgs/rich-text-align-center.svg | 5 +- .../theme/src/svgs/rich-text-align-left.svg | 5 +- .../theme/src/svgs/rich-text-align-right.svg | 5 +- packages/theme/src/svgs/rich-text-bold.svg | 6 +- .../theme/src/svgs/rich-text-code-block.svg | 6 +- .../theme/src/svgs/rich-text-code-view.svg | 6 +- packages/theme/src/svgs/rich-text-color.svg | 6 +- .../src/svgs/rich-text-delete-column.svg | 6 +- .../theme/src/svgs/rich-text-delete-row.svg | 6 +- .../theme/src/svgs/rich-text-delete-table.svg | 6 +- .../theme/src/svgs/rich-text-font-size.svg | 6 +- .../theme/src/svgs/rich-text-format-clear.svg | 6 +- packages/theme/src/svgs/rich-text-h-1.svg | 6 +- packages/theme/src/svgs/rich-text-h-2.svg | 6 +- packages/theme/src/svgs/rich-text-h-3.svg | 6 +- packages/theme/src/svgs/rich-text-h-4.svg | 6 +- packages/theme/src/svgs/rich-text-h-5.svg | 6 +- packages/theme/src/svgs/rich-text-h-6.svg | 6 +- packages/theme/src/svgs/rich-text-heading.svg | 5 +- .../theme/src/svgs/rich-text-high-light.svg | 6 +- packages/theme/src/svgs/rich-text-image.svg | 6 +- packages/theme/src/svgs/rich-text-italic.svg | 5 +- .../theme/src/svgs/rich-text-line-height.svg | 6 +- .../theme/src/svgs/rich-text-link-unlink.svg | 6 +- packages/theme/src/svgs/rich-text-link.svg | 6 +- .../theme/src/svgs/rich-text-list-ordered.svg | 6 +- .../src/svgs/rich-text-list-unordered.svg | 6 +- .../svgs/rich-text-merge-cells-vertical.svg | 6 +- .../theme/src/svgs/rich-text-merge-cells.svg | 6 +- .../theme/src/svgs/rich-text-node-delete.svg | 6 +- .../theme/src/svgs/rich-text-paragraph.svg | 6 +- .../theme/src/svgs/rich-text-quote-text.svg | 6 +- .../theme/src/svgs/rich-text-quote-text1.svg | 5 +- packages/theme/src/svgs/rich-text-redo.svg | 6 +- .../svgs/rich-text-split-cells-horizontal.svg | 6 +- .../svgs/rich-text-split-cells-vertical.svg | 6 +- .../src/svgs/rich-text-strikethrough.svg | 6 +- .../theme/src/svgs/rich-text-subscript.svg | 6 +- .../theme/src/svgs/rich-text-superscript.svg | 6 +- packages/theme/src/svgs/rich-text-table-2.svg | 6 +- .../src/svgs/rich-text-table-drop-ico.svg | 12 +- packages/theme/src/svgs/rich-text-table.svg | 2 +- .../theme/src/svgs/rich-text-task-list.svg | 6 +- .../theme/src/svgs/rich-text-underline.svg | 6 +- packages/theme/src/svgs/rich-text-undo.svg | 6 +- packages/theme/src/svgs/right-frozen.svg | 13 +- packages/theme/src/svgs/right-o.svg | 8 +- packages/theme/src/svgs/right.svg | 8 +- packages/theme/src/svgs/rightward.svg | 11 +- packages/theme/src/svgs/sandwich-collapse.svg | 8 +- packages/theme/src/svgs/sandwich-expand.svg | 8 +- packages/theme/src/svgs/save.svg | 8 +- packages/theme/src/svgs/scissor.svg | 8 +- packages/theme/src/svgs/search.svg | 8 +- packages/theme/src/svgs/select.svg | 8 +- packages/theme/src/svgs/sent.svg | 8 +- packages/theme/src/svgs/separate.svg | 10 +- packages/theme/src/svgs/setting.svg | 8 +- packages/theme/src/svgs/share.svg | 12 +- packages/theme/src/svgs/shopping-card.svg | 8 +- packages/theme/src/svgs/smile-o.svg | 8 +- packages/theme/src/svgs/smile.svg | 6 +- .../src/svgs/sort-triangle-ascending.svg | 7 +- .../src/svgs/sort-triangle-descending.svg | 7 +- packages/theme/src/switch/index.less | 3 +- packages/theme/src/switch/smb-theme.js | 5 +- packages/theme/src/textarea/index.less | 2 + packages/theme/src/textarea/vars.less | 2 + packages/theme/src/tree-menu/index.less | 54 +- packages/theme/src/tree-menu/smb-theme.js | 5 + packages/theme/src/tree-menu/vars.less | 10 +- packages/theme/src/tree/index.less | 120 +- packages/theme/src/tree/smb-theme.js | 9 + packages/theme/src/tree/vars.less | 24 +- packages/vue-common/package.json | 4 +- .../vue-common/src/adapter/vue2.7/index.ts | 10 +- .../src/adapter/vue2.7/package.json | 5 +- packages/vue-common/src/adapter/vue2/index.ts | 27 +- .../vue-common/src/adapter/vue2/package.json | 5 +- packages/vue-common/src/index.ts | 18 +- packages/vue-icon-saas/index.ts | 197 + packages/vue-icon-saas/package.json | 4 +- .../vue-icon-saas/src/administrator/index.ts | 15 - .../vue-icon-saas/src/align-baseline/index.ts | 15 - .../vue-icon-saas/src/align-center/index.ts | 15 - .../src/align-flex-center/index.ts | 15 - .../vue-icon-saas/src/align-flex-end/index.ts | 15 - .../src/align-flex-start/index.ts | 15 - .../vue-icon-saas/src/align-justify/index.ts | 15 - .../vue-icon-saas/src/align-left/index.ts | 15 - .../vue-icon-saas/src/align-right/index.ts | 15 - .../vue-icon-saas/src/align-stretch/index.ts | 15 - packages/vue-icon-saas/src/angularjs/index.ts | 15 - .../vue-icon-saas/src/application/index.ts | 15 - .../vue-icon-saas/src/area-chart/index.ts | 15 - .../vue-icon-saas/src/arrow-bottom/index.ts | 4 - .../vue-icon-saas/src/arrow-down/index.ts | 15 - .../vue-icon-saas/src/arrow-right/index.ts | 15 - packages/vue-icon-saas/src/arrow-up/index.ts | 15 - packages/vue-icon-saas/src/ascending/index.ts | 15 - .../vue-icon-saas/src/association/index.ts | 15 - .../vue-icon-saas/src/attachment/index.ts | 15 - packages/vue-icon-saas/src/audio/index.ts | 4 - packages/vue-icon-saas/src/bar-chart/index.ts | 15 - packages/vue-icon-saas/src/boat/index.ts | 15 - packages/vue-icon-saas/src/box-solid/index.ts | 15 - packages/vue-icon-saas/src/busy/index.ts | 15 - .../vue-icon-saas/src/calculator/index.ts | 15 - packages/vue-icon-saas/src/calendar/index.ts | 15 - packages/vue-icon-saas/src/check-out/index.ts | 15 - packages/vue-icon-saas/src/check/index.ts | 15 - .../vue-icon-saas/src/checked-linear/index.ts | 15 - .../vue-icon-saas/src/checked-sur/index.ts | 15 - .../vue-icon-saas/src/checked-true/index.ts | 15 - .../vue-icon-saas/src/chevron-down/index.ts | 15 - .../vue-icon-saas/src/chevron-left/index.ts | 15 - .../vue-icon-saas/src/chevron-right/index.ts | 15 - .../vue-icon-saas/src/chevron-up/index.ts | 15 - .../vue-icon-saas/src/clear-filter/index.ts | 15 - .../vue-icon-saas/src/clock-work/index.ts | 15 - .../vue-icon-saas/src/close-circle/index.ts | 15 - .../vue-icon-saas/src/close-square/index.ts | 15 - packages/vue-icon-saas/src/close/index.ts | 15 - .../vue-icon-saas/src/cloud-download/index.ts | 15 - .../vue-icon-saas/src/cloud-upload/index.ts | 15 - packages/vue-icon-saas/src/code/index.ts | 15 - packages/vue-icon-saas/src/coin/index.ts | 15 - .../vue-icon-saas/src/col-reverse/index.ts | 15 - .../vue-icon-saas/src/commission/index.ts | 15 - .../src/conment-refresh/index.ts | 15 - .../vue-icon-saas/src/copy-solid/index.ts | 15 - packages/vue-icon-saas/src/copy/index.ts | 15 - packages/vue-icon-saas/src/course/index.ts | 15 - packages/vue-icon-saas/src/crop/index.ts | 15 - packages/vue-icon-saas/src/cue-l/index.ts | 15 - packages/vue-icon-saas/src/custom/index.ts | 15 - .../src/customer-service/index.ts | 15 - .../vue-icon-saas/src/data-source/index.ts | 15 - packages/vue-icon-saas/src/default/index.ts | 15 - .../src/defined-filtration/index.ts | 15 - packages/vue-icon-saas/src/del/index.ts | 15 - .../vue-icon-saas/src/delete-page/index.ts | 15 - packages/vue-icon-saas/src/deleted/index.ts | 15 - .../vue-icon-saas/src/delta-down-o/index.ts | 15 - .../vue-icon-saas/src/delta-down/index.ts | 15 - .../vue-icon-saas/src/delta-left-o/index.ts | 15 - .../vue-icon-saas/src/delta-left/index.ts | 15 - .../vue-icon-saas/src/delta-right-o/index.ts | 15 - .../vue-icon-saas/src/delta-right/index.ts | 15 - .../vue-icon-saas/src/delta-up-o/index.ts | 15 - packages/vue-icon-saas/src/delta-up/index.ts | 15 - packages/vue-icon-saas/src/derive/index.ts | 15 - .../vue-icon-saas/src/descending/index.ts | 15 - .../vue-icon-saas/src/desktop-view/index.ts | 15 - packages/vue-icon-saas/src/dialog/index.ts | 15 - packages/vue-icon-saas/src/dialog2/index.ts | 15 - .../vue-icon-saas/src/direction-col/index.ts | 15 - .../vue-icon-saas/src/direction-row/index.ts | 15 - packages/vue-icon-saas/src/dot-chart/index.ts | 15 - .../vue-icon-saas/src/dot-download/index.ts | 15 - packages/vue-icon-saas/src/dot-ipv4/index.ts | 15 - .../vue-icon-saas/src/double-left/index.ts | 15 - .../vue-icon-saas/src/double-right/index.ts | 15 - packages/vue-icon-saas/src/down-o/index.ts | 15 - packages/vue-icon-saas/src/down-ward/index.ts | 15 - packages/vue-icon-saas/src/down/index.ts | 15 - .../vue-icon-saas/src/download-cloud/index.ts | 15 - .../vue-icon-saas/src/download-link/index.ts | 15 - packages/vue-icon-saas/src/download/index.ts | 15 - packages/vue-icon-saas/src/draft/index.ts | 15 - packages/vue-icon-saas/src/edit/index.ts | 15 - .../src/editor-align-center/index.ts | 15 - .../src/editor-align-left/index.ts | 15 - .../src/editor-align-right/index.ts | 15 - .../src/editor-background/index.ts | 15 - .../vue-icon-saas/src/editor-bold/index.ts | 15 - .../vue-icon-saas/src/editor-code/index.ts | 15 - .../src/editor-deleteline/index.ts | 15 - .../vue-icon-saas/src/editor-eraser/index.ts | 15 - .../vue-icon-saas/src/editor-italic/index.ts | 15 - .../src/editor-left-border/index.ts | 15 - .../src/editor-list-dot/index.ts | 15 - .../src/editor-list-num/index.ts | 15 - .../vue-icon-saas/src/editor-list/index.ts | 15 - .../src/editor-menu-left/index.ts | 15 - .../src/editor-menu-right/index.ts | 15 - .../vue-icon-saas/src/editor-quote/index.ts | 15 - .../vue-icon-saas/src/editor-redo/index.ts | 15 - .../src/editor-right-border/index.ts | 15 - .../vue-icon-saas/src/editor-sub/index.ts | 15 - .../src/editor-subtitle/index.ts | 15 - .../vue-icon-saas/src/editor-super/index.ts | 15 - .../vue-icon-saas/src/editor-tab/index.ts | 15 - .../vue-icon-saas/src/editor-table/index.ts | 15 - .../src/editor-textcolor/index.ts | 15 - .../vue-icon-saas/src/editor-title/index.ts | 15 - .../src/editor-underline/index.ts | 15 - .../vue-icon-saas/src/editor-undo/index.ts | 15 - .../vue-icon-saas/src/editor-video/index.ts | 15 - packages/vue-icon-saas/src/ellipsis/index.ts | 15 - packages/vue-icon-saas/src/email-add/index.ts | 15 - .../vue-icon-saas/src/email-circle/index.ts | 15 - packages/vue-icon-saas/src/end/index.ts | 15 - packages/vue-icon-saas/src/error/index.ts | 15 - .../vue-icon-saas/src/espace-auto/index.ts | 15 - packages/vue-icon-saas/src/espace/index.ts | 15 - .../vue-icon-saas/src/excel-type/index.ts | 4 - packages/vue-icon-saas/src/excel/index.ts | 15 - packages/vue-icon-saas/src/exception/index.ts | 15 - .../vue-icon-saas/src/exclamation/index.ts | 15 - packages/vue-icon-saas/src/expand/index.ts | 15 - packages/vue-icon-saas/src/export/index.ts | 15 - .../vue-icon-saas/src/express-search/index.ts | 15 - packages/vue-icon-saas/src/eyeclose/index.ts | 15 - packages/vue-icon-saas/src/eyeopen/index.ts | 15 - .../src/file-cloudupload/index.ts | 15 - .../vue-icon-saas/src/file-excel/index.ts | 15 - packages/vue-icon-saas/src/file-type/index.ts | 4 - packages/vue-icon-saas/src/file/index.ts | 15 - .../vue-icon-saas/src/files-circle/index.ts | 15 - packages/vue-icon-saas/src/files/index.ts | 15 - packages/vue-icon-saas/src/filetext/index.ts | 15 - .../vue-icon-saas/src/fileupload/index.ts | 15 - packages/vue-icon-saas/src/filtered/index.ts | 15 - packages/vue-icon-saas/src/flag/index.ts | 15 - .../vue-icon-saas/src/folder-closed/index.ts | 15 - .../vue-icon-saas/src/folder-opened/index.ts | 15 - .../vue-icon-saas/src/font-color/index.ts | 15 - .../vue-icon-saas/src/font-family/index.ts | 15 - packages/vue-icon-saas/src/font-size/index.ts | 15 - .../vue-icon-saas/src/font-style/index.ts | 15 - .../vue-icon-saas/src/font-weight/index.ts | 15 - .../vue-icon-saas/src/freeze-left/index.ts | 15 - .../vue-icon-saas/src/freeze-right/index.ts | 15 - packages/vue-icon-saas/src/frown-o/index.ts | 15 - packages/vue-icon-saas/src/frown/index.ts | 15 - .../src/fullscreen-left/index.ts | 15 - .../vue-icon-saas/src/fullscreen/index.ts | 15 - packages/vue-icon-saas/src/grade/index.ts | 15 - .../vue-icon-saas/src/group-transfer/index.ts | 15 - packages/vue-icon-saas/src/group/index.ts | 15 - .../vue-icon-saas/src/halfchecked/index.ts | 15 - .../vue-icon-saas/src/halfselect/index.ts | 15 - .../vue-icon-saas/src/heartempty/index.ts | 15 - .../vue-icon-saas/src/help-circle/index.ts | 15 - .../vue-icon-saas/src/help-query/index.ts | 15 - .../vue-icon-saas/src/help-solid/index.ts | 15 - packages/vue-icon-saas/src/help/index.ts | 15 - packages/vue-icon-saas/src/helpful/index.ts | 15 - packages/vue-icon-saas/src/hide-left/index.ts | 15 - .../vue-icon-saas/src/hide-right/index.ts | 15 - .../vue-icon-saas/src/hide-topleft/index.ts | 15 - packages/vue-icon-saas/src/import/index.ts | 15 - .../vue-icon-saas/src/info-circle/index.ts | 15 - .../vue-icon-saas/src/info-solid/index.ts | 15 - packages/vue-icon-saas/src/info/index.ts | 15 - .../vue-icon-saas/src/information/index.ts | 15 - packages/vue-icon-saas/src/js/index.ts | 15 - .../vue-icon-saas/src/jusitfy-center/index.ts | 15 - .../src/jusitfy-flex-end/index.ts | 15 - .../src/jusitfy-space-between/index.ts | 18 - .../src/justitfy-flex-start/index.ts | 18 - packages/vue-icon-saas/src/language/index.ts | 15 - packages/vue-icon-saas/src/leave/index.ts | 15 - .../vue-icon-saas/src/left-frozen/index.ts | 15 - packages/vue-icon-saas/src/left-o/index.ts | 15 - .../src/left-ward-arrow/index.ts | 16 - packages/vue-icon-saas/src/left-ward/index.ts | 15 - packages/vue-icon-saas/src/left/index.ts | 15 - .../vue-icon-saas/src/line-chart/index.ts | 15 - .../vue-icon-saas/src/line-height/index.ts | 15 - .../vue-icon-saas/src/line-throught/index.ts | 15 - packages/vue-icon-saas/src/link/index.ts | 15 - .../vue-icon-saas/src/loading-shadow/index.ts | 15 - packages/vue-icon-saas/src/loading/index.ts | 15 - packages/vue-icon-saas/src/lock/index.ts | 15 - .../vue-icon-saas/src/mail-content/index.ts | 15 - packages/vue-icon-saas/src/mail/index.ts | 15 - packages/vue-icon-saas/src/male/index.ts | 15 - packages/vue-icon-saas/src/mark-on/index.ts | 15 - packages/vue-icon-saas/src/meh/index.ts | 15 - .../vue-icon-saas/src/message-circle/index.ts | 15 - packages/vue-icon-saas/src/mic/index.ts | 4 - .../vue-icon-saas/src/minscreen-left/index.ts | 15 - packages/vue-icon-saas/src/minscreen/index.ts | 15 - .../vue-icon-saas/src/minus-circle/index.ts | 15 - .../vue-icon-saas/src/minus-square/index.ts | 15 - packages/vue-icon-saas/src/minus/index.ts | 15 - .../src/mobile-checkbox-half/index.ts | 4 - .../src/mobile-checkbox-selected/index.ts | 4 - .../src/mobile-checkbox/index.ts | 4 - .../src/mobile-radio-selected/index.ts | 4 - .../vue-icon-saas/src/mobile-radio/index.ts | 4 - .../vue-icon-saas/src/mobile-view/index.ts | 15 - packages/vue-icon-saas/src/mobile/index.ts | 15 - packages/vue-icon-saas/src/more/index.ts | 15 - packages/vue-icon-saas/src/new/index.ts | 15 - .../vue-icon-saas/src/no-premission/index.ts | 15 - packages/vue-icon-saas/src/node-open/index.ts | 15 - packages/vue-icon-saas/src/node/index.ts | 15 - packages/vue-icon-saas/src/nodejs/index.ts | 15 - packages/vue-icon-saas/src/none/index.ts | 15 - packages/vue-icon-saas/src/off-line/index.ts | 15 - packages/vue-icon-saas/src/on-line/index.ts | 15 - .../src/operationfaild-l/index.ts | 15 - .../vue-icon-saas/src/operationfaild/index.ts | 15 - .../vue-icon-saas/src/other-type/index.ts | 4 - .../vue-icon-saas/src/outer-link/index.ts | 15 - packages/vue-icon-saas/src/pagelink/index.ts | 15 - .../vue-icon-saas/src/pager-first/index.ts | 15 - .../vue-icon-saas/src/pager-last/index.ts | 15 - .../vue-icon-saas/src/pager-next/index.ts | 15 - .../vue-icon-saas/src/pager-prev/index.ts | 15 - packages/vue-icon-saas/src/panel-max/index.ts | 15 - .../vue-icon-saas/src/panel-mini/index.ts | 15 - .../vue-icon-saas/src/panel-normal/index.ts | 15 - .../vue-icon-saas/src/pause-circle/index.ts | 15 - packages/vue-icon-saas/src/pause/index.ts | 15 - packages/vue-icon-saas/src/pdf-type/index.ts | 4 - .../vue-icon-saas/src/picture-type/index.ts | 4 - packages/vue-icon-saas/src/picture/index.ts | 15 - packages/vue-icon-saas/src/pie-chart/index.ts | 15 - .../vue-icon-saas/src/plus-circle/index.ts | 15 - .../vue-icon-saas/src/plus-square/index.ts | 15 - packages/vue-icon-saas/src/plus/index.ts | 15 - packages/vue-icon-saas/src/popup/index.ts | 15 - packages/vue-icon-saas/src/ppt-type/index.ts | 4 - .../vue-icon-saas/src/pre-checked/index.ts | 15 - .../vue-icon-saas/src/print-preview/index.ts | 15 - .../src/prompt-exclamation/index.ts | 15 - packages/vue-icon-saas/src/prompt/index.ts | 15 - packages/vue-icon-saas/src/pushpin/index.ts | 15 - packages/vue-icon-saas/src/put-away/index.ts | 15 - packages/vue-icon-saas/src/radio/index.ts | 15 - .../vue-icon-saas/src/radioselected/index.ts | 15 - packages/vue-icon-saas/src/reactjs/index.ts | 15 - packages/vue-icon-saas/src/redo/index.ts | 15 - packages/vue-icon-saas/src/refres/index.ts | 15 - packages/vue-icon-saas/src/renew/index.ts | 15 - packages/vue-icon-saas/src/repeat/index.ts | 15 - packages/vue-icon-saas/src/replace/index.ts | 15 - packages/vue-icon-saas/src/replies/index.ts | 15 - .../vue-icon-saas/src/right-frozen/index.ts | 15 - packages/vue-icon-saas/src/right-o/index.ts | 15 - packages/vue-icon-saas/src/right/index.ts | 15 - packages/vue-icon-saas/src/rightward/index.ts | 15 - .../vue-icon-saas/src/row-reverse/index.ts | 15 - .../src/sandwich-collapse/index.ts | 15 - .../src/sandwich-expand/index.ts | 15 - packages/vue-icon-saas/src/save/index.ts | 15 - packages/vue-icon-saas/src/scissor/index.ts | 15 - packages/vue-icon-saas/src/search/index.ts | 15 - packages/vue-icon-saas/src/select/index.ts | 15 - packages/vue-icon-saas/src/sent/index.ts | 15 - packages/vue-icon-saas/src/separate/index.ts | 15 - packages/vue-icon-saas/src/setting/index.ts | 15 - .../vue-icon-saas/src/share-arrow/index.ts | 15 - packages/vue-icon-saas/src/share/index.ts | 15 - .../vue-icon-saas/src/shopping-card/index.ts | 15 - packages/vue-icon-saas/src/smile-o/index.ts | 15 - packages/vue-icon-saas/src/smile/index.ts | 15 - .../vue-icon-saas/src/sort-default/index.ts | 15 - .../src/sort-triangle-ascending/index.ts | 15 - .../src/sort-triangle-descending/index.ts | 15 - .../vue-icon-saas/src/sort-triangle/index.ts | 15 - packages/vue-icon-saas/src/sort/index.ts | 15 - .../vue-icon-saas/src/star-active/index.ts | 15 - .../vue-icon-saas/src/star-disable/index.ts | 15 - packages/vue-icon-saas/src/star-o/index.ts | 15 - .../vue-icon-saas/src/start-circle/index.ts | 15 - packages/vue-icon-saas/src/start/index.ts | 15 - .../vue-icon-saas/src/statistics/index.ts | 15 - packages/vue-icon-saas/src/stop/index.ts | 15 - .../vue-icon-saas/src/stream-solid/index.ts | 15 - packages/vue-icon-saas/src/stretch/index.ts | 15 - packages/vue-icon-saas/src/success/index.ts | 15 - .../vue-icon-saas/src/successful/index.ts | 15 - .../vue-icon-saas/src/tablet-view/index.ts | 15 - .../src/task-cooperation/index.ts | 15 - .../src/telephone-circle/index.ts | 15 - packages/vue-icon-saas/src/telephone/index.ts | 15 - .../vue-icon-saas/src/text-align/index.ts | 15 - .../src/text-decoration/index.ts | 15 - packages/vue-icon-saas/src/text-tab/index.ts | 15 - packages/vue-icon-saas/src/text-type/index.ts | 4 - packages/vue-icon-saas/src/text/index.ts | 15 - packages/vue-icon-saas/src/time/index.ts | 15 - packages/vue-icon-saas/src/total/index.ts | 15 - .../vue-icon-saas/src/triangle-down/index.ts | 15 - packages/vue-icon-saas/src/undelete/index.ts | 15 - packages/vue-icon-saas/src/underline/index.ts | 15 - packages/vue-icon-saas/src/undo/index.ts | 15 - packages/vue-icon-saas/src/unfilter/index.ts | 15 - packages/vue-icon-saas/src/unfreeze/index.ts | 15 - packages/vue-icon-saas/src/unknow/index.ts | 15 - packages/vue-icon-saas/src/unknown/index.ts | 15 - packages/vue-icon-saas/src/unlock/index.ts | 15 - packages/vue-icon-saas/src/unsent/index.ts | 15 - packages/vue-icon-saas/src/up-o/index.ts | 15 - packages/vue-icon-saas/src/up-ward/index.ts | 15 - packages/vue-icon-saas/src/up/index.ts | 15 - packages/vue-icon-saas/src/upload/index.ts | 15 - packages/vue-icon-saas/src/user/index.ts | 15 - .../vue-icon-saas/src/versiontree/index.ts | 15 - .../vue-icon-saas/src/video-type/index.ts | 4 - packages/vue-icon-saas/src/view/index.ts | 15 - packages/vue-icon-saas/src/vuejs/index.ts | 15 - .../src/warning-triangle/index.ts | 15 - packages/vue-icon-saas/src/warning/index.ts | 15 - packages/vue-icon-saas/src/web-plus/index.ts | 15 - packages/vue-icon-saas/src/word-type/index.ts | 4 - packages/vue-icon-saas/src/writing/index.ts | 15 - packages/vue-icon-saas/src/yes/index.ts | 15 - packages/vue-icon-saas/src/zip-type/index.ts | 4 - packages/vue-icon-saas/src/zoom-in/index.ts | 15 - packages/vue-icon-saas/src/zoom-out/index.ts | 15 - packages/vue-icon/index.ts | 13 + packages/vue-icon/package.json | 4 +- .../src/agenda-view}/index.ts | 4 +- .../app => vue-icon/src/day-view}/index.ts | 4 +- .../src/fillet-external-link}/index.ts | 4 +- .../src/month-view}/index.ts | 4 +- .../vue-icon/src/prompt-exclamation/index.ts | 4 +- packages/vue-locale/package.json | 4 +- packages/vue-locale/src/lang/en.ts | 16 +- packages/vue-locale/src/lang/zh-CN.ts | 18 +- packages/vue/mobile-first.ts | 10 +- packages/vue/package.json | 4 +- packages/vue/src/action-menu/index.ts | 14 +- packages/vue/src/action-menu/src/index.ts | 55 + .../vue/src/action-sheet/src/mobile-first.vue | 3 +- packages/vue/src/action-sheet/src/mobile.vue | 2 +- packages/vue/src/alert/src/mobile-first.vue | 5 +- packages/vue/src/alert/src/mobile.vue | 3 +- packages/vue/src/alert/src/pc.vue | 3 +- packages/vue/src/anchor/index.ts | 2 +- packages/vue/src/anchor/src/index.ts | 40 + packages/vue/src/anchor/src/pc.vue | 5 +- .../src/async-flowchart}/index.ts | 20 +- packages/vue/src/async-flowchart/package.json | 24 + .../src/async-flowchart/src}/index.ts | 19 +- .../src/async-flowchart/src/mobile-first.vue | 34 + packages/vue/src/badge/src/index.ts | 74 +- packages/vue/src/badge/src/mobile-first.vue | 3 +- packages/vue/src/badge/src/pc.vue | 3 +- packages/vue/src/badge/src/token.ts | 2 +- packages/vue/src/breadcrumb-item/src/index.ts | 26 +- packages/vue/src/breadcrumb/src/index.ts | 48 +- packages/vue/src/button-group/src/index.ts | 57 +- packages/vue/src/button-group/src/pc.vue | 7 +- packages/vue/src/button/src/index.ts | 6 +- packages/vue/src/button/src/mobile-first.vue | 14 +- packages/vue/src/button/src/mobile.vue | 16 +- packages/vue/src/button/src/pc.vue | 6 +- packages/vue/src/button/src/token.ts | 80 +- packages/vue/src/calendar-view/index.ts | 34 + packages/vue/src/calendar-view/package.json | 20 + packages/vue/src/calendar-view/src/index.ts | 88 + .../src/calendar-view/src/mobile-first.vue | 397 ++ packages/vue/src/calendar-view/src/pc.vue | 309 + packages/vue/src/calendar-view/src/token.ts | 26 + packages/vue/src/cascader-menu/src/index.tsx | 24 +- packages/vue/src/cascader-node/src/pc.vue | 28 +- packages/vue/src/cascader-panel/src/pc.vue | 3 +- .../vue/src/cascader-select/src/mobile.vue | 2 +- packages/vue/src/cascader/src/pc.vue | 9 +- packages/vue/src/cell/src/mobile-first.vue | 14 +- packages/vue/src/checkbox/src/index.ts | 89 +- packages/vue/src/checkbox/src/pc.vue | 5 +- packages/vue/src/collapse-item/src/index.ts | 36 +- packages/vue/src/collapse-item/src/pc.vue | 7 +- packages/vue/src/collapse/src/index.ts | 32 +- .../vue/src/config-provider/src/index.vue | 4 +- .../vue/src/date-picker-mobile-first/index.ts | 2 +- .../src/date-picker-mobile-first/src/index.ts | 55 + .../src/mobile-first.vue | 171 - .../date-picker-mobile-first/src/normal.vue | 210 + .../date-picker-mobile-first/src/option.vue | 6 +- .../src/year-month-range.vue | 153 + packages/vue/src/date-picker/src/index.ts | 26 +- packages/vue/src/dialog-box/src/index.ts | 183 +- packages/vue/src/dialog-box/src/pc.vue | 3 +- packages/vue/src/divider/src/index.ts | 2 +- packages/vue/src/drawer/src/pc.vue | 111 +- packages/vue/src/dropdown-item/src/index.ts | 126 +- packages/vue/src/dropdown-item/src/mobile.vue | 4 +- packages/vue/src/dropdown-item/src/pc.vue | 3 +- packages/vue/src/dropdown-menu/src/index.ts | 126 +- packages/vue/src/dropdown-menu/src/mobile.vue | 4 +- packages/vue/src/dropdown/src/index.ts | 143 +- packages/vue/src/dropdown/src/pc.vue | 6 +- packages/vue/src/file-upload/src/index.ts | 342 +- .../vue/src/file-upload/src/mobile-first.vue | 9 +- packages/vue/src/file-upload/src/mobile.vue | 3 +- packages/vue/src/file-upload/src/pc.vue | 9 +- packages/vue/src/floatbar/src/index.ts | 10 +- packages/vue/src/flowchart/index.ts | 6 +- .../vue/src/flowchart/src/mobile-first.vue | 214 +- packages/vue/src/flowchart/src/node.vue | 113 + .../vue/src/flowchart/src/resize-mixin.js | 41 + packages/vue/src/form-item/src/index.ts | 111 +- .../vue/src/form-item/src/mobile-first.vue | 30 +- packages/vue/src/form-item/src/pc.vue | 187 +- packages/vue/src/form/src/index.ts | 162 +- packages/vue/src/form/src/mobile-first.vue | 7 +- packages/vue/src/form/src/mobile.vue | 3 +- packages/vue/src/form/src/pc.vue | 3 +- packages/vue/src/grid-toolbar/src/custom.vue | 37 +- packages/vue/src/grid-toolbar/src/index.ts | 1 + packages/vue/src/grid/src/body/src/body.tsx | 15 +- packages/vue/src/grid/src/cell/src/cell.ts | 4 +- packages/vue/src/grid/src/config.ts | 6 +- .../vue/src/grid/src/filter/src/methods.ts | 5 +- packages/vue/src/grid/src/grid/grid.ts | 23 +- .../grid/src/mobile-first/column-content.vue | 14 +- .../src/grid/src/mobile-first/column-link.vue | 2 +- .../vue/src/grid/src/mobile-first/index.vue | 74 +- .../vue/src/grid/src/table/src/methods.ts | 113 +- packages/vue/src/grid/src/table/src/table.ts | 84 +- .../src/table/src/utils/computeScrollLoad.ts | 4 +- .../grid/src/table/src/utils/handleTooltip.ts | 12 +- packages/vue/src/image/src/index.ts | 87 +- packages/vue/src/image/src/mobile-first.vue | 5 +- packages/vue/src/image/src/pc.vue | 4 +- packages/vue/src/input/src/index.ts | 201 +- packages/vue/src/input/src/pc.vue | 4 +- packages/vue/src/link/src/index.ts | 30 +- packages/vue/src/loading/src/index.ts | 33 +- packages/vue/src/loading/src/mobile-first.vue | 5 +- packages/vue/src/loading/src/mobile.vue | 3 +- packages/vue/src/loading/src/pc.vue | 3 +- packages/vue/src/loading/src/service.ts | 1 + packages/vue/src/milestone/src/index.ts | 134 +- packages/vue/src/milestone/src/pc.vue | 7 +- packages/vue/src/modal/src/index.ts | 120 +- packages/vue/src/modal/src/pc.vue | 4 +- packages/vue/src/nav-menu/src/index.ts | 48 +- packages/vue/src/numeric/src/index.ts | 190 +- packages/vue/src/numeric/src/pc.vue | 3 +- packages/vue/src/pager-item/src/pc.vue | 2 +- packages/vue/src/pager/src/mobile-first.vue | 24 +- packages/vue/src/pager/src/pc.vue | 217 +- packages/vue/src/picker/src/pc.vue | 121 +- packages/vue/src/picker/src/type.ts | 121 + .../vue/src/popconfirm/src/mobile-first.vue | 2 +- packages/vue/src/popeditor/src/index.ts | 344 +- packages/vue/src/popeditor/src/pc.vue | 8 +- packages/vue/src/popover/src/index.ts | 146 +- packages/vue/src/popover/src/mobile-first.vue | 4 - packages/vue/src/popover/src/mobile.vue | 1 - packages/vue/src/popover/src/pc.vue | 4 +- .../vue/src/progress/src/mobile-first.vue | 5 +- packages/vue/src/progress/src/mobile.vue | 3 +- packages/vue/src/progress/src/pc.vue | 3 +- packages/vue/src/radio-button/src/index.ts | 36 +- packages/vue/src/radio-button/src/pc.vue | 5 +- packages/vue/src/radio-group/src/index.ts | 48 +- packages/vue/src/radio-group/src/pc.vue | 3 +- packages/vue/src/radio/src/index.ts | 60 +- packages/vue/src/radio/src/pc.vue | 3 +- .../rich-text-editor/src/code-highlight.tsx | 41 + packages/vue/src/rich-text-editor/src/pc.vue | 116 +- packages/vue/src/search/src/index.ts | 149 +- packages/vue/src/search/src/mobile-first.vue | 14 +- packages/vue/src/search/src/mobile.vue | 3 +- packages/vue/src/search/src/pc.vue | 5 +- packages/vue/src/search/src/token.ts | 40 +- packages/vue/src/select-dropdown/src/index.ts | 4 - packages/vue/src/select-dropdown/src/pc.vue | 3 +- packages/vue/src/select/src/index.ts | 12 +- packages/vue/src/select/src/pc.vue | 5 +- packages/vue/src/slider/src/index.ts | 132 +- packages/vue/src/slider/src/mobile-first.vue | 3 +- packages/vue/src/slider/src/mobile.vue | 3 +- packages/vue/src/slider/src/pc.vue | 3 +- packages/vue/src/split/src/index.ts | 7 +- packages/vue/src/split/src/pc.vue | 139 +- packages/vue/src/steps/src/index.ts | 79 +- packages/vue/src/switch/src/index.ts | 93 +- packages/vue/src/switch/src/pc.vue | 3 +- packages/vue/src/tab-item/src/index.ts | 36 +- .../vue/src/tab-item/src/mobile-first.vue | 3 +- packages/vue/src/tab-item/src/pc.vue | 3 +- packages/vue/src/tabbar-item/src/mobile.vue | 2 +- packages/vue/src/table/src/pc.vue | 2 +- packages/vue/src/tabs/src/index.ts | 88 +- packages/vue/src/tabs/src/mobile-first.vue | 3 +- packages/vue/src/tabs/src/mobile.vue | 3 +- packages/vue/src/tabs/src/pc.vue | 3 +- packages/vue/src/tabs/src/tab-nav/index.ts | 68 + packages/vue/src/tabs/src/tab-nav/mb.vue | 40 +- packages/vue/src/tabs/src/tab-nav/pc.vue | 34 +- packages/vue/src/tabs/src/tab-nav/tab-bar.vue | 11 +- packages/vue/src/tag-group/src/pc.vue | 6 +- packages/vue/src/tag/src/mobile-first.vue | 3 +- packages/vue/src/tag/src/pc.vue | 3 +- packages/vue/src/time-line/src/index.ts | 145 +- packages/vue/src/time-line/src/pc.vue | 7 +- packages/vue/src/timeline-item/src/index.ts | 39 +- packages/vue/src/timeline-item/src/pc.vue | 5 +- packages/vue/src/tooltip/src/index.ts | 19 +- packages/vue/src/tooltip/src/mobile-first.vue | 6 +- packages/vue/src/tooltip/src/pc.vue | 21 +- packages/vue/src/tree-menu/src/pc.vue | 32 +- packages/vue/src/tree/src/tree-node.vue | 23 +- packages/vue/src/upload-dragger/src/index.ts | 12 +- .../src/upload-dragger/src/mobile-first.vue | 3 +- packages/vue/src/upload-dragger/src/pc.vue | 3 +- packages/vue/src/upload-list/src/index.ts | 174 +- .../vue/src/upload-list/src/mobile-first.vue | 5 +- packages/vue/src/upload-list/src/pc.vue | 3 +- packages/vue/src/upload/src/index.ts | 153 +- packages/vue/src/upload/src/mobile-first.vue | 3 +- packages/vue/src/upload/src/pc.vue | 4 +- packages/vue/src/user-head-group/src/index.ts | 12 +- .../src/user-head-group/src/mobile-first.vue | 107 +- packages/vue/src/user-head/src/index.ts | 30 +- .../vue/src/user-head/src/mobile-first.vue | 7 +- packages/vue/src/user-head/src/pc.vue | 1 + packages/vue/src/wizard/src/index.ts | 50 +- packages/vue/src/wizard/src/pc.vue | 3 +- patches/tsup@7.2.0.patch | 22 + pnpm-workspace.yaml | 2 +- tsconfig.vue2.7.json | 45 +- tsconfig.vue2.json | 45 +- tsconfig.vue3.json | 45 +- 1818 files changed, 32639 insertions(+), 24821 deletions(-) delete mode 100644 examples/docs/newsrc/uses/useMonaco.js create mode 100644 examples/docs/resources/mobile-first/app/badge/props-content.vue create mode 100644 examples/docs/resources/mobile-first/app/button/banner.vue create mode 100644 examples/docs/resources/mobile-first/app/cell/basic-usage.vue create mode 100644 examples/docs/resources/mobile-first/app/cell/disabled.vue create mode 100644 examples/docs/resources/mobile-first/app/cell/icon.vue create mode 100644 examples/docs/resources/mobile-first/app/cell/placeholder.vue create mode 100644 examples/docs/resources/mobile-first/app/cell/webdoc/cell.cn.md create mode 100644 examples/docs/resources/mobile-first/app/cell/webdoc/cell.en.md create mode 100644 examples/docs/resources/mobile-first/app/cell/webdoc/cell.js create mode 100644 examples/docs/resources/mobile-first/app/cell/with-date-picker.vue create mode 100644 examples/docs/resources/mobile-first/app/flowchart/dot-horizon-async.vue create mode 100644 examples/docs/resources/mobile-first/app/flowchart/dot-vertical-async.vue rename examples/docs/resources/mobile-first/app/search/{mini-mode.vue => big-mode.vue} (51%) create mode 100644 examples/public/static/images/tiny3bg.b5dd307.jpg delete mode 100644 examples/sites/README.md delete mode 100644 examples/sites/demos/app/alert/closable-composition-api.vue delete mode 100644 examples/sites/demos/app/alert/closable.spec.ts delete mode 100644 examples/sites/demos/app/alert/closable.vue delete mode 100644 examples/sites/demos/app/alert/close-composition-api.vue delete mode 100644 examples/sites/demos/app/alert/close-text-composition-api.vue delete mode 100644 examples/sites/demos/app/alert/close-text.spec.ts delete mode 100644 examples/sites/demos/app/alert/close-text.vue delete mode 100644 examples/sites/demos/app/alert/close.spec.ts delete mode 100644 examples/sites/demos/app/alert/close.vue delete mode 100644 examples/sites/demos/app/alert/custom-description-composition-api.vue delete mode 100644 examples/sites/demos/app/alert/custom-description.spec.ts delete mode 100644 examples/sites/demos/app/alert/custom-description.vue delete mode 100644 examples/sites/demos/app/alert/feedback-of-result-composition-api.vue delete mode 100644 examples/sites/demos/app/alert/feedback-of-result.spec.ts delete mode 100644 examples/sites/demos/app/alert/feedback-of-result.vue delete mode 100644 examples/sites/demos/app/alert/size.vue delete mode 100644 examples/sites/demos/app/alert/type-composition-api.vue delete mode 100644 examples/sites/demos/app/alert/type.spec.ts delete mode 100644 examples/sites/demos/app/alert/type.vue create mode 100644 examples/sites/demos/app/calendar-view/basic-usage.vue create mode 100644 examples/sites/demos/app/calendar-view/calendar-day-mark.vue create mode 100644 examples/sites/demos/app/calendar-view/calendar-disabled-day.vue create mode 100644 examples/sites/demos/app/calendar-view/calendar-event.vue create mode 100644 examples/sites/demos/app/calendar-view/calendar-mode.vue create mode 100644 examples/sites/demos/app/calendar-view/calendar-schedule-slot.vue create mode 100644 examples/sites/demos/app/calendar-view/calendar-timeline-range.vue create mode 100644 examples/sites/demos/app/calendar-view/calendar-timeline-slot.vue create mode 100644 examples/sites/demos/app/calendar-view/custom-calendar-toolbar.vue create mode 100644 examples/sites/demos/app/calendar-view/custom-day-bg-color.vue create mode 100644 examples/sites/demos/app/calendar-view/custom-header.vue create mode 100644 examples/sites/demos/app/calendar-view/hide-mode.vue create mode 100644 examples/sites/demos/app/calendar-view/mode-combination.vue create mode 100644 examples/sites/demos/app/calendar-view/multi-select.vue create mode 100644 examples/sites/demos/app/calendar-view/set-working-day.vue create mode 100644 examples/sites/demos/app/calendar-view/webdoc/calendar-view.cn.md create mode 100644 examples/sites/demos/app/calendar-view/webdoc/calendar-view.en.md create mode 100644 examples/sites/demos/app/calendar-view/webdoc/calendar-view.js delete mode 100644 examples/sites/demos/app/collapse/custom-title-right-composition-api.vue delete mode 100644 examples/sites/demos/app/collapse/custom-title-right.spec.ts delete mode 100644 examples/sites/demos/app/collapse/custom-title-right.vue create mode 100644 examples/sites/demos/app/color-picker/alpha-composition-api.vue create mode 100644 examples/sites/demos/app/color-picker/base-composition-api.vue create mode 100644 examples/sites/demos/app/color-picker/default-visible-composition-api.vue create mode 100644 examples/sites/demos/app/color-picker/dynamic-color-change-composition-api.vue create mode 100644 examples/sites/demos/app/color-picker/event-composition-api.vue delete mode 100644 examples/sites/demos/app/form/no-validate-to-add-composition-api.vue delete mode 100644 examples/sites/demos/app/form/no-validate-to-add.spec.js delete mode 100644 examples/sites/demos/app/form/no-validate-to-add.vue create mode 100644 examples/sites/demos/app/grid/custom/multiple-column-sort-composition-api.vue create mode 100644 examples/sites/demos/app/grid/custom/multiple-column-sort.vue delete mode 100644 examples/sites/demos/app/input/autocomplete-composition-api.vue delete mode 100644 examples/sites/demos/app/input/autocomplete.spec.ts delete mode 100644 examples/sites/demos/app/input/autocomplete.vue delete mode 100644 examples/sites/demos/app/input/autofocus-composition-api.vue delete mode 100644 examples/sites/demos/app/input/autofocus.spec.ts delete mode 100644 examples/sites/demos/app/input/autofocus.vue delete mode 100644 examples/sites/demos/app/input/autosize-composition-api.vue delete mode 100644 examples/sites/demos/app/input/autosize.spec.ts delete mode 100644 examples/sites/demos/app/input/autosize.vue delete mode 100644 examples/sites/demos/app/input/cols-composition-api.vue delete mode 100644 examples/sites/demos/app/input/cols.spec.ts delete mode 100644 examples/sites/demos/app/input/cols.vue delete mode 100644 examples/sites/demos/app/input/disabled-composition-api.vue delete mode 100644 examples/sites/demos/app/input/disabled.vue delete mode 100644 examples/sites/demos/app/input/event-blur-composition-api.vue delete mode 100644 examples/sites/demos/app/input/event-blur.spec.ts delete mode 100644 examples/sites/demos/app/input/event-blur.vue delete mode 100644 examples/sites/demos/app/input/event-change-composition-api.vue delete mode 100644 examples/sites/demos/app/input/event-change.spec.ts delete mode 100644 examples/sites/demos/app/input/event-change.vue delete mode 100644 examples/sites/demos/app/input/event-clear-composition-api.vue delete mode 100644 examples/sites/demos/app/input/event-clear.spec.ts delete mode 100644 examples/sites/demos/app/input/event-clear.vue create mode 100644 examples/sites/demos/app/input/event-composition-api.vue delete mode 100644 examples/sites/demos/app/input/event-focus-composition-api.vue delete mode 100644 examples/sites/demos/app/input/event-focus.spec.ts delete mode 100644 examples/sites/demos/app/input/event-focus.vue delete mode 100644 examples/sites/demos/app/input/event-input-composition-api.vue delete mode 100644 examples/sites/demos/app/input/event-input.vue create mode 100644 examples/sites/demos/app/input/event.spec.ts create mode 100644 examples/sites/demos/app/input/event.vue delete mode 100644 examples/sites/demos/app/input/form-composition-api.vue delete mode 100644 examples/sites/demos/app/input/form.spec.ts delete mode 100644 examples/sites/demos/app/input/form.vue rename examples/sites/demos/app/input/{slot-suffix-composition-api.vue => input-icon-composition-api.vue} (57%) create mode 100644 examples/sites/demos/app/input/input-icon.spec.ts rename examples/sites/demos/app/input/{prefix-icon.vue => input-icon.vue} (60%) delete mode 100644 examples/sites/demos/app/input/label-composition-api.vue delete mode 100644 examples/sites/demos/app/input/label.spec.ts delete mode 100644 examples/sites/demos/app/input/label.vue delete mode 100644 examples/sites/demos/app/input/max-composition-api.vue delete mode 100644 examples/sites/demos/app/input/max.spec.ts delete mode 100644 examples/sites/demos/app/input/max.vue delete mode 100644 examples/sites/demos/app/input/maxlength-composition-api.vue delete mode 100644 examples/sites/demos/app/input/maxlength.spec.ts delete mode 100644 examples/sites/demos/app/input/maxlength.vue delete mode 100644 examples/sites/demos/app/input/method-blur-composition-api.vue delete mode 100644 examples/sites/demos/app/input/method-blur.spec.ts delete mode 100644 examples/sites/demos/app/input/method-blur.vue delete mode 100644 examples/sites/demos/app/input/method-focus-composition-api.vue delete mode 100644 examples/sites/demos/app/input/method-focus.spec.ts delete mode 100644 examples/sites/demos/app/input/method-focus.vue delete mode 100644 examples/sites/demos/app/input/method-select-composition-api.vue delete mode 100644 examples/sites/demos/app/input/method-select.spec.ts delete mode 100644 examples/sites/demos/app/input/method-select.vue create mode 100644 examples/sites/demos/app/input/methods-composition-api.vue create mode 100644 examples/sites/demos/app/input/methods.spec.js create mode 100644 examples/sites/demos/app/input/methods.vue delete mode 100644 examples/sites/demos/app/input/min-composition-api.vue delete mode 100644 examples/sites/demos/app/input/min.spec.ts delete mode 100644 examples/sites/demos/app/input/min.vue delete mode 100644 examples/sites/demos/app/input/name-composition-api.vue delete mode 100644 examples/sites/demos/app/input/name.spec.ts delete mode 100644 examples/sites/demos/app/input/name.vue create mode 100644 examples/sites/demos/app/input/native-composition-api.vue create mode 100644 examples/sites/demos/app/input/native.spec.ts create mode 100644 examples/sites/demos/app/input/native.vue delete mode 100644 examples/sites/demos/app/input/placeholder-composition-api.vue delete mode 100644 examples/sites/demos/app/input/placeholder.vue delete mode 100644 examples/sites/demos/app/input/prefix-icon-composition-api.vue delete mode 100644 examples/sites/demos/app/input/prefix-icon.spec.ts delete mode 100644 examples/sites/demos/app/input/readonly-composition-api.vue delete mode 100644 examples/sites/demos/app/input/readonly.vue delete mode 100644 examples/sites/demos/app/input/slot-append-composition-api.vue delete mode 100644 examples/sites/demos/app/input/slot-append.spec.ts delete mode 100644 examples/sites/demos/app/input/slot-append.vue create mode 100644 examples/sites/demos/app/input/slot-composition-api.vue delete mode 100644 examples/sites/demos/app/input/slot-prefix-composition-api.vue delete mode 100644 examples/sites/demos/app/input/slot-prefix.spec.ts delete mode 100644 examples/sites/demos/app/input/slot-prefix.vue delete mode 100644 examples/sites/demos/app/input/slot-prepend-composition-api.vue delete mode 100644 examples/sites/demos/app/input/slot-prepend.spec.ts delete mode 100644 examples/sites/demos/app/input/slot-prepend.vue delete mode 100644 examples/sites/demos/app/input/slot-suffix.spec.ts delete mode 100644 examples/sites/demos/app/input/slot-suffix.vue create mode 100644 examples/sites/demos/app/input/slot.spec.ts create mode 100644 examples/sites/demos/app/input/slot.vue delete mode 100644 examples/sites/demos/app/input/step-composition-api.vue delete mode 100644 examples/sites/demos/app/input/step.spec.ts delete mode 100644 examples/sites/demos/app/input/step.vue delete mode 100644 examples/sites/demos/app/input/suffix-icon-composition-api.vue delete mode 100644 examples/sites/demos/app/input/suffix-icon.spec.ts delete mode 100644 examples/sites/demos/app/input/suffix-icon.vue delete mode 100644 examples/sites/demos/app/input/tabindex-composition-api.vue delete mode 100644 examples/sites/demos/app/input/tabindex.spec.ts delete mode 100644 examples/sites/demos/app/input/tabindex.vue create mode 100644 examples/sites/demos/app/ip-address/basic-usage-composition-api.vue create mode 100644 examples/sites/demos/app/ip-address/basic-usage.spec.ts create mode 100644 examples/sites/demos/app/ip-address/basic-usage.vue delete mode 100644 examples/sites/demos/app/ip-address/ipv4-type-composition-api.vue delete mode 100644 examples/sites/demos/app/ip-address/ipv4-type.spec.ts delete mode 100644 examples/sites/demos/app/ip-address/ipv4-type.vue delete mode 100644 examples/sites/demos/app/ip-address/ipv6-type-composition-api.vue delete mode 100644 examples/sites/demos/app/ip-address/ipv6-type.spec.ts delete mode 100644 examples/sites/demos/app/ip-address/ipv6-type.vue delete mode 100644 examples/sites/demos/app/ip-address/slots-composition-api.vue delete mode 100644 examples/sites/demos/app/ip-address/slots.spec.ts delete mode 100644 examples/sites/demos/app/ip-address/slots.vue delete mode 100644 examples/sites/demos/app/pager/basic-usage.spec.js delete mode 100644 examples/sites/demos/app/pager/before-page-change.spec.js delete mode 100644 examples/sites/demos/app/pager/current-page.spec.js delete mode 100644 examples/sites/demos/app/pager/custom-layout.spec.js delete mode 100644 examples/sites/demos/app/pager/custom-next-prev-text.spec.js delete mode 100644 examples/sites/demos/app/pager/hide-on-single-page.spec.js delete mode 100644 examples/sites/demos/app/pager/page-append-to-body.spec.js delete mode 100644 examples/sites/demos/app/pager/page-count.spec.js delete mode 100644 examples/sites/demos/app/pager/page-size.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-count.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-disabled.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-events-current-change.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-events-nextclick.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-events-prev-click.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-events.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-in-grid.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-mode-fixed.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-mode-number.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-mode-simple.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-mode.spec.js delete mode 100644 examples/sites/demos/app/pager/pager-size.spec.js delete mode 100644 examples/sites/demos/app/pager/popper-class.spec.js create mode 100644 examples/sites/demos/app/rich-text-editor/basic-usage-composition-api.vue create mode 100644 examples/sites/demos/app/select/clear-no-match-value-composition-api.vue create mode 100644 examples/sites/demos/app/select/clear-no-match-value.vue create mode 100644 examples/sites/demos/app/split/disabled-drag-composition-api.vue create mode 100644 examples/sites/demos/app/split/disabled-drag.vue create mode 100644 examples/sites/demos/app/split/event-click-composition-api.vue create mode 100644 examples/sites/demos/app/split/event-click.vue create mode 100644 examples/sites/demos/app/split/horizontal-collapse-composition-api.vue create mode 100644 examples/sites/demos/app/split/horizontal-collapse-left-top-composition-api.vue create mode 100644 examples/sites/demos/app/split/horizontal-collapse-left-top.vue create mode 100644 examples/sites/demos/app/split/horizontal-collapse.vue create mode 100644 examples/sites/demos/app/split/three-areas-composition-api.vue create mode 100644 examples/sites/demos/app/split/three-areas.vue create mode 100644 examples/sites/demos/app/split/trigger-simple-composition-api.vue create mode 100644 examples/sites/demos/app/split/trigger-simple.vue delete mode 100644 examples/sites/demos/app/tag-group/tag-group-type-composition-api.vue delete mode 100644 examples/sites/demos/app/tag-group/tag-group-type.vue create mode 100644 examples/sites/demos/app/tag-group/webdoc/tag-group.en.md create mode 100644 examples/sites/demos/app/tree-menu/default-expanded-keys-highlight-composition-api.vue create mode 100644 examples/sites/demos/app/tree-menu/default-expanded-keys-highlight.spec.ts create mode 100644 examples/sites/demos/app/tree-menu/default-expanded-keys-highlight.vue rename examples/sites/demos/app/tree-menu/{collapsible-composition-api.vue => menu-collapsible-composition-api.vue} (95%) rename examples/sites/demos/app/tree-menu/{collapsible.spec.ts => menu-collapsible.spec.ts} (88%) rename examples/sites/demos/app/tree-menu/{collapsible.vue => menu-collapsible.vue} (96%) create mode 100644 examples/sites/demos/webdoc/installation-en.md delete mode 100644 examples/sites/demos/webdoc/installation-open-en.md rename examples/sites/demos/webdoc/{installation-open.md => installation.md} (58%) create mode 100644 examples/sites/env/.env.innersaas create mode 100644 examples/sites/env/.env.saas create mode 100644 examples/sites/postcss.config.cjs create mode 100644 examples/sites/src/tailwind.css create mode 100644 examples/sites/src/views/components/async-highlight.vue create mode 100644 examples/sites/tailwind.config.cjs create mode 100644 examples/sites/tiny-uno/autocomplete.js create mode 100644 examples/sites/tsconfig.json create mode 100644 examples/sites/tsconfig.node.json rename examples/sites/{vite.config.js => vite.config.ts} (78%) create mode 100644 packages/design/smb/src/form/index.ts create mode 100644 packages/design/smb/src/tree-node/index.ts create mode 100644 packages/renderless/src/async-flowchart/index.ts create mode 100644 packages/renderless/src/async-flowchart/vue.ts create mode 100644 packages/renderless/src/calendar-view/index.ts create mode 100644 packages/renderless/src/calendar-view/vue.ts delete mode 100644 packages/renderless/src/checkbox/react.ts create mode 100644 packages/renderless/src/common/calendar/calendar.ts create mode 100644 packages/renderless/src/date-picker-mobile/year-month.ts create mode 100644 packages/renderless/src/flowchart/node.ts create mode 100644 packages/renderless/src/user-head-group/index.ts create mode 100644 packages/theme-saas/plugins/loadTheme.js rename git => packages/theme-saas/src/calendar-view/index.less (100%) create mode 100644 packages/theme-saas/src/color-picker/index.less create mode 100644 packages/theme-saas/src/divider/index.less create mode 100644 packages/theme-saas/src/rich-text-editor/index.less create mode 100644 packages/theme-saas/src/svgs/agenda-view.svg create mode 100644 packages/theme-saas/src/svgs/day-view.svg create mode 100644 packages/theme-saas/src/svgs/fillet-external-link.svg create mode 100644 packages/theme-saas/src/svgs/month-view.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-add-column-after.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-add-column-before.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-add-row-after.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-add-row-before.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-align-center.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-align-left.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-align-right.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-bold.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-code-block.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-code-view.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-color.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-delete-column.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-delete-row.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-delete-table.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-font-size.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-format-clear.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-h-1.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-h-2.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-h-3.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-h-4.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-h-5.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-h-6.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-heading.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-high-light.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-image.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-italic.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-line-height.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-link-unlink.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-link.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-list-ordered.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-list-unordered.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-merge-cells-vertical.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-merge-cells.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-node-delete.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-paragraph.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-quote-text.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-quote-text1.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-redo.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-split-cells-horizontal.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-split-cells-vertical.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-strikethrough.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-subscript.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-superscript.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-table-2.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-table-drop-ico.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-table.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-task-list.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-underline.svg create mode 100644 packages/theme-saas/src/svgs/rich-text-undo.svg delete mode 100644 packages/theme-saas/src/textarea/vars.less create mode 100644 packages/theme-saas/theme/theme.json create mode 100644 packages/theme/scripts/.gitkeep delete mode 100644 packages/theme/scripts/build-theme-json.js delete mode 100644 packages/theme/scripts/components.js create mode 100644 packages/theme/src/calendar-view/index.less create mode 100644 packages/theme/src/calendar-view/vars.less create mode 100644 packages/theme/src/svgs/agenda-view.svg create mode 100644 packages/theme/src/svgs/day-view.svg create mode 100644 packages/theme/src/svgs/fillet-external-link.svg create mode 100644 packages/theme/src/svgs/month-view.svg create mode 100644 packages/theme/src/tree-menu/smb-theme.js create mode 100644 packages/theme/src/tree/smb-theme.js delete mode 100644 packages/vue-icon-saas/src/administrator/index.ts delete mode 100644 packages/vue-icon-saas/src/align-baseline/index.ts delete mode 100644 packages/vue-icon-saas/src/align-center/index.ts delete mode 100644 packages/vue-icon-saas/src/align-flex-center/index.ts delete mode 100644 packages/vue-icon-saas/src/align-flex-end/index.ts delete mode 100644 packages/vue-icon-saas/src/align-flex-start/index.ts delete mode 100644 packages/vue-icon-saas/src/align-justify/index.ts delete mode 100644 packages/vue-icon-saas/src/align-left/index.ts delete mode 100644 packages/vue-icon-saas/src/align-right/index.ts delete mode 100644 packages/vue-icon-saas/src/align-stretch/index.ts delete mode 100644 packages/vue-icon-saas/src/angularjs/index.ts delete mode 100644 packages/vue-icon-saas/src/application/index.ts delete mode 100644 packages/vue-icon-saas/src/area-chart/index.ts delete mode 100644 packages/vue-icon-saas/src/arrow-bottom/index.ts delete mode 100644 packages/vue-icon-saas/src/arrow-down/index.ts delete mode 100644 packages/vue-icon-saas/src/arrow-right/index.ts delete mode 100644 packages/vue-icon-saas/src/arrow-up/index.ts delete mode 100644 packages/vue-icon-saas/src/ascending/index.ts delete mode 100644 packages/vue-icon-saas/src/association/index.ts delete mode 100644 packages/vue-icon-saas/src/attachment/index.ts delete mode 100644 packages/vue-icon-saas/src/audio/index.ts delete mode 100644 packages/vue-icon-saas/src/bar-chart/index.ts delete mode 100644 packages/vue-icon-saas/src/boat/index.ts delete mode 100644 packages/vue-icon-saas/src/box-solid/index.ts delete mode 100644 packages/vue-icon-saas/src/busy/index.ts delete mode 100644 packages/vue-icon-saas/src/calculator/index.ts delete mode 100644 packages/vue-icon-saas/src/calendar/index.ts delete mode 100644 packages/vue-icon-saas/src/check-out/index.ts delete mode 100644 packages/vue-icon-saas/src/check/index.ts delete mode 100644 packages/vue-icon-saas/src/checked-linear/index.ts delete mode 100644 packages/vue-icon-saas/src/checked-sur/index.ts delete mode 100644 packages/vue-icon-saas/src/checked-true/index.ts delete mode 100644 packages/vue-icon-saas/src/chevron-down/index.ts delete mode 100644 packages/vue-icon-saas/src/chevron-left/index.ts delete mode 100644 packages/vue-icon-saas/src/chevron-right/index.ts delete mode 100644 packages/vue-icon-saas/src/chevron-up/index.ts delete mode 100644 packages/vue-icon-saas/src/clear-filter/index.ts delete mode 100644 packages/vue-icon-saas/src/clock-work/index.ts delete mode 100644 packages/vue-icon-saas/src/close-circle/index.ts delete mode 100644 packages/vue-icon-saas/src/close-square/index.ts delete mode 100644 packages/vue-icon-saas/src/close/index.ts delete mode 100644 packages/vue-icon-saas/src/cloud-download/index.ts delete mode 100644 packages/vue-icon-saas/src/cloud-upload/index.ts delete mode 100644 packages/vue-icon-saas/src/code/index.ts delete mode 100644 packages/vue-icon-saas/src/coin/index.ts delete mode 100644 packages/vue-icon-saas/src/col-reverse/index.ts delete mode 100644 packages/vue-icon-saas/src/commission/index.ts delete mode 100644 packages/vue-icon-saas/src/conment-refresh/index.ts delete mode 100644 packages/vue-icon-saas/src/copy-solid/index.ts delete mode 100644 packages/vue-icon-saas/src/copy/index.ts delete mode 100644 packages/vue-icon-saas/src/course/index.ts delete mode 100644 packages/vue-icon-saas/src/crop/index.ts delete mode 100644 packages/vue-icon-saas/src/cue-l/index.ts delete mode 100644 packages/vue-icon-saas/src/custom/index.ts delete mode 100644 packages/vue-icon-saas/src/customer-service/index.ts delete mode 100644 packages/vue-icon-saas/src/data-source/index.ts delete mode 100644 packages/vue-icon-saas/src/default/index.ts delete mode 100644 packages/vue-icon-saas/src/defined-filtration/index.ts delete mode 100644 packages/vue-icon-saas/src/del/index.ts delete mode 100644 packages/vue-icon-saas/src/delete-page/index.ts delete mode 100644 packages/vue-icon-saas/src/deleted/index.ts delete mode 100644 packages/vue-icon-saas/src/delta-down-o/index.ts delete mode 100644 packages/vue-icon-saas/src/delta-down/index.ts delete mode 100644 packages/vue-icon-saas/src/delta-left-o/index.ts delete mode 100644 packages/vue-icon-saas/src/delta-left/index.ts delete mode 100644 packages/vue-icon-saas/src/delta-right-o/index.ts delete mode 100644 packages/vue-icon-saas/src/delta-right/index.ts delete mode 100644 packages/vue-icon-saas/src/delta-up-o/index.ts delete mode 100644 packages/vue-icon-saas/src/delta-up/index.ts delete mode 100644 packages/vue-icon-saas/src/derive/index.ts delete mode 100644 packages/vue-icon-saas/src/descending/index.ts delete mode 100644 packages/vue-icon-saas/src/desktop-view/index.ts delete mode 100644 packages/vue-icon-saas/src/dialog/index.ts delete mode 100644 packages/vue-icon-saas/src/dialog2/index.ts delete mode 100644 packages/vue-icon-saas/src/direction-col/index.ts delete mode 100644 packages/vue-icon-saas/src/direction-row/index.ts delete mode 100644 packages/vue-icon-saas/src/dot-chart/index.ts delete mode 100644 packages/vue-icon-saas/src/dot-download/index.ts delete mode 100644 packages/vue-icon-saas/src/dot-ipv4/index.ts delete mode 100644 packages/vue-icon-saas/src/double-left/index.ts delete mode 100644 packages/vue-icon-saas/src/double-right/index.ts delete mode 100644 packages/vue-icon-saas/src/down-o/index.ts delete mode 100644 packages/vue-icon-saas/src/down-ward/index.ts delete mode 100644 packages/vue-icon-saas/src/down/index.ts delete mode 100644 packages/vue-icon-saas/src/download-cloud/index.ts delete mode 100644 packages/vue-icon-saas/src/download-link/index.ts delete mode 100644 packages/vue-icon-saas/src/download/index.ts delete mode 100644 packages/vue-icon-saas/src/draft/index.ts delete mode 100644 packages/vue-icon-saas/src/edit/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-align-center/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-align-left/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-align-right/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-background/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-bold/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-code/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-deleteline/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-eraser/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-italic/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-left-border/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-list-dot/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-list-num/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-list/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-menu-left/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-menu-right/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-quote/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-redo/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-right-border/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-sub/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-subtitle/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-super/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-tab/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-table/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-textcolor/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-title/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-underline/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-undo/index.ts delete mode 100644 packages/vue-icon-saas/src/editor-video/index.ts delete mode 100644 packages/vue-icon-saas/src/ellipsis/index.ts delete mode 100644 packages/vue-icon-saas/src/email-add/index.ts delete mode 100644 packages/vue-icon-saas/src/email-circle/index.ts delete mode 100644 packages/vue-icon-saas/src/end/index.ts delete mode 100644 packages/vue-icon-saas/src/error/index.ts delete mode 100644 packages/vue-icon-saas/src/espace-auto/index.ts delete mode 100644 packages/vue-icon-saas/src/espace/index.ts delete mode 100644 packages/vue-icon-saas/src/excel-type/index.ts delete mode 100644 packages/vue-icon-saas/src/excel/index.ts delete mode 100644 packages/vue-icon-saas/src/exception/index.ts delete mode 100644 packages/vue-icon-saas/src/exclamation/index.ts delete mode 100644 packages/vue-icon-saas/src/expand/index.ts delete mode 100644 packages/vue-icon-saas/src/export/index.ts delete mode 100644 packages/vue-icon-saas/src/express-search/index.ts delete mode 100644 packages/vue-icon-saas/src/eyeclose/index.ts delete mode 100644 packages/vue-icon-saas/src/eyeopen/index.ts delete mode 100644 packages/vue-icon-saas/src/file-cloudupload/index.ts delete mode 100644 packages/vue-icon-saas/src/file-excel/index.ts delete mode 100644 packages/vue-icon-saas/src/file-type/index.ts delete mode 100644 packages/vue-icon-saas/src/file/index.ts delete mode 100644 packages/vue-icon-saas/src/files-circle/index.ts delete mode 100644 packages/vue-icon-saas/src/files/index.ts delete mode 100644 packages/vue-icon-saas/src/filetext/index.ts delete mode 100644 packages/vue-icon-saas/src/fileupload/index.ts delete mode 100644 packages/vue-icon-saas/src/filtered/index.ts delete mode 100644 packages/vue-icon-saas/src/flag/index.ts delete mode 100644 packages/vue-icon-saas/src/folder-closed/index.ts delete mode 100644 packages/vue-icon-saas/src/folder-opened/index.ts delete mode 100644 packages/vue-icon-saas/src/font-color/index.ts delete mode 100644 packages/vue-icon-saas/src/font-family/index.ts delete mode 100644 packages/vue-icon-saas/src/font-size/index.ts delete mode 100644 packages/vue-icon-saas/src/font-style/index.ts delete mode 100644 packages/vue-icon-saas/src/font-weight/index.ts delete mode 100644 packages/vue-icon-saas/src/freeze-left/index.ts delete mode 100644 packages/vue-icon-saas/src/freeze-right/index.ts delete mode 100644 packages/vue-icon-saas/src/frown-o/index.ts delete mode 100644 packages/vue-icon-saas/src/frown/index.ts delete mode 100644 packages/vue-icon-saas/src/fullscreen-left/index.ts delete mode 100644 packages/vue-icon-saas/src/fullscreen/index.ts delete mode 100644 packages/vue-icon-saas/src/grade/index.ts delete mode 100644 packages/vue-icon-saas/src/group-transfer/index.ts delete mode 100644 packages/vue-icon-saas/src/group/index.ts delete mode 100644 packages/vue-icon-saas/src/halfchecked/index.ts delete mode 100644 packages/vue-icon-saas/src/halfselect/index.ts delete mode 100644 packages/vue-icon-saas/src/heartempty/index.ts delete mode 100644 packages/vue-icon-saas/src/help-circle/index.ts delete mode 100644 packages/vue-icon-saas/src/help-query/index.ts delete mode 100644 packages/vue-icon-saas/src/help-solid/index.ts delete mode 100644 packages/vue-icon-saas/src/help/index.ts delete mode 100644 packages/vue-icon-saas/src/helpful/index.ts delete mode 100644 packages/vue-icon-saas/src/hide-left/index.ts delete mode 100644 packages/vue-icon-saas/src/hide-right/index.ts delete mode 100644 packages/vue-icon-saas/src/hide-topleft/index.ts delete mode 100644 packages/vue-icon-saas/src/import/index.ts delete mode 100644 packages/vue-icon-saas/src/info-circle/index.ts delete mode 100644 packages/vue-icon-saas/src/info-solid/index.ts delete mode 100644 packages/vue-icon-saas/src/info/index.ts delete mode 100644 packages/vue-icon-saas/src/information/index.ts delete mode 100644 packages/vue-icon-saas/src/js/index.ts delete mode 100644 packages/vue-icon-saas/src/jusitfy-center/index.ts delete mode 100644 packages/vue-icon-saas/src/jusitfy-flex-end/index.ts delete mode 100644 packages/vue-icon-saas/src/jusitfy-space-between/index.ts delete mode 100644 packages/vue-icon-saas/src/justitfy-flex-start/index.ts delete mode 100644 packages/vue-icon-saas/src/language/index.ts delete mode 100644 packages/vue-icon-saas/src/leave/index.ts delete mode 100644 packages/vue-icon-saas/src/left-frozen/index.ts delete mode 100644 packages/vue-icon-saas/src/left-o/index.ts delete mode 100644 packages/vue-icon-saas/src/left-ward-arrow/index.ts delete mode 100644 packages/vue-icon-saas/src/left-ward/index.ts delete mode 100644 packages/vue-icon-saas/src/left/index.ts delete mode 100644 packages/vue-icon-saas/src/line-chart/index.ts delete mode 100644 packages/vue-icon-saas/src/line-height/index.ts delete mode 100644 packages/vue-icon-saas/src/line-throught/index.ts delete mode 100644 packages/vue-icon-saas/src/link/index.ts delete mode 100644 packages/vue-icon-saas/src/loading-shadow/index.ts delete mode 100644 packages/vue-icon-saas/src/loading/index.ts delete mode 100644 packages/vue-icon-saas/src/lock/index.ts delete mode 100644 packages/vue-icon-saas/src/mail-content/index.ts delete mode 100644 packages/vue-icon-saas/src/mail/index.ts delete mode 100644 packages/vue-icon-saas/src/male/index.ts delete mode 100644 packages/vue-icon-saas/src/mark-on/index.ts delete mode 100644 packages/vue-icon-saas/src/meh/index.ts delete mode 100644 packages/vue-icon-saas/src/message-circle/index.ts delete mode 100644 packages/vue-icon-saas/src/mic/index.ts delete mode 100644 packages/vue-icon-saas/src/minscreen-left/index.ts delete mode 100644 packages/vue-icon-saas/src/minscreen/index.ts delete mode 100644 packages/vue-icon-saas/src/minus-circle/index.ts delete mode 100644 packages/vue-icon-saas/src/minus-square/index.ts delete mode 100644 packages/vue-icon-saas/src/minus/index.ts delete mode 100644 packages/vue-icon-saas/src/mobile-checkbox-half/index.ts delete mode 100644 packages/vue-icon-saas/src/mobile-checkbox-selected/index.ts delete mode 100644 packages/vue-icon-saas/src/mobile-checkbox/index.ts delete mode 100644 packages/vue-icon-saas/src/mobile-radio-selected/index.ts delete mode 100644 packages/vue-icon-saas/src/mobile-radio/index.ts delete mode 100644 packages/vue-icon-saas/src/mobile-view/index.ts delete mode 100644 packages/vue-icon-saas/src/mobile/index.ts delete mode 100644 packages/vue-icon-saas/src/more/index.ts delete mode 100644 packages/vue-icon-saas/src/new/index.ts delete mode 100644 packages/vue-icon-saas/src/no-premission/index.ts delete mode 100644 packages/vue-icon-saas/src/node-open/index.ts delete mode 100644 packages/vue-icon-saas/src/node/index.ts delete mode 100644 packages/vue-icon-saas/src/nodejs/index.ts delete mode 100644 packages/vue-icon-saas/src/none/index.ts delete mode 100644 packages/vue-icon-saas/src/off-line/index.ts delete mode 100644 packages/vue-icon-saas/src/on-line/index.ts delete mode 100644 packages/vue-icon-saas/src/operationfaild-l/index.ts delete mode 100644 packages/vue-icon-saas/src/operationfaild/index.ts delete mode 100644 packages/vue-icon-saas/src/other-type/index.ts delete mode 100644 packages/vue-icon-saas/src/outer-link/index.ts delete mode 100644 packages/vue-icon-saas/src/pagelink/index.ts delete mode 100644 packages/vue-icon-saas/src/pager-first/index.ts delete mode 100644 packages/vue-icon-saas/src/pager-last/index.ts delete mode 100644 packages/vue-icon-saas/src/pager-next/index.ts delete mode 100644 packages/vue-icon-saas/src/pager-prev/index.ts delete mode 100644 packages/vue-icon-saas/src/panel-max/index.ts delete mode 100644 packages/vue-icon-saas/src/panel-mini/index.ts delete mode 100644 packages/vue-icon-saas/src/panel-normal/index.ts delete mode 100644 packages/vue-icon-saas/src/pause-circle/index.ts delete mode 100644 packages/vue-icon-saas/src/pause/index.ts delete mode 100644 packages/vue-icon-saas/src/pdf-type/index.ts delete mode 100644 packages/vue-icon-saas/src/picture-type/index.ts delete mode 100644 packages/vue-icon-saas/src/picture/index.ts delete mode 100644 packages/vue-icon-saas/src/pie-chart/index.ts delete mode 100644 packages/vue-icon-saas/src/plus-circle/index.ts delete mode 100644 packages/vue-icon-saas/src/plus-square/index.ts delete mode 100644 packages/vue-icon-saas/src/plus/index.ts delete mode 100644 packages/vue-icon-saas/src/popup/index.ts delete mode 100644 packages/vue-icon-saas/src/ppt-type/index.ts delete mode 100644 packages/vue-icon-saas/src/pre-checked/index.ts delete mode 100644 packages/vue-icon-saas/src/print-preview/index.ts delete mode 100644 packages/vue-icon-saas/src/prompt-exclamation/index.ts delete mode 100644 packages/vue-icon-saas/src/prompt/index.ts delete mode 100644 packages/vue-icon-saas/src/pushpin/index.ts delete mode 100644 packages/vue-icon-saas/src/put-away/index.ts delete mode 100644 packages/vue-icon-saas/src/radio/index.ts delete mode 100644 packages/vue-icon-saas/src/radioselected/index.ts delete mode 100644 packages/vue-icon-saas/src/reactjs/index.ts delete mode 100644 packages/vue-icon-saas/src/redo/index.ts delete mode 100644 packages/vue-icon-saas/src/refres/index.ts delete mode 100644 packages/vue-icon-saas/src/renew/index.ts delete mode 100644 packages/vue-icon-saas/src/repeat/index.ts delete mode 100644 packages/vue-icon-saas/src/replace/index.ts delete mode 100644 packages/vue-icon-saas/src/replies/index.ts delete mode 100644 packages/vue-icon-saas/src/right-frozen/index.ts delete mode 100644 packages/vue-icon-saas/src/right-o/index.ts delete mode 100644 packages/vue-icon-saas/src/right/index.ts delete mode 100644 packages/vue-icon-saas/src/rightward/index.ts delete mode 100644 packages/vue-icon-saas/src/row-reverse/index.ts delete mode 100644 packages/vue-icon-saas/src/sandwich-collapse/index.ts delete mode 100644 packages/vue-icon-saas/src/sandwich-expand/index.ts delete mode 100644 packages/vue-icon-saas/src/save/index.ts delete mode 100644 packages/vue-icon-saas/src/scissor/index.ts delete mode 100644 packages/vue-icon-saas/src/search/index.ts delete mode 100644 packages/vue-icon-saas/src/select/index.ts delete mode 100644 packages/vue-icon-saas/src/sent/index.ts delete mode 100644 packages/vue-icon-saas/src/separate/index.ts delete mode 100644 packages/vue-icon-saas/src/setting/index.ts delete mode 100644 packages/vue-icon-saas/src/share-arrow/index.ts delete mode 100644 packages/vue-icon-saas/src/share/index.ts delete mode 100644 packages/vue-icon-saas/src/shopping-card/index.ts delete mode 100644 packages/vue-icon-saas/src/smile-o/index.ts delete mode 100644 packages/vue-icon-saas/src/smile/index.ts delete mode 100644 packages/vue-icon-saas/src/sort-default/index.ts delete mode 100644 packages/vue-icon-saas/src/sort-triangle-ascending/index.ts delete mode 100644 packages/vue-icon-saas/src/sort-triangle-descending/index.ts delete mode 100644 packages/vue-icon-saas/src/sort-triangle/index.ts delete mode 100644 packages/vue-icon-saas/src/sort/index.ts delete mode 100644 packages/vue-icon-saas/src/star-active/index.ts delete mode 100644 packages/vue-icon-saas/src/star-disable/index.ts delete mode 100644 packages/vue-icon-saas/src/star-o/index.ts delete mode 100644 packages/vue-icon-saas/src/start-circle/index.ts delete mode 100644 packages/vue-icon-saas/src/start/index.ts delete mode 100644 packages/vue-icon-saas/src/statistics/index.ts delete mode 100644 packages/vue-icon-saas/src/stop/index.ts delete mode 100644 packages/vue-icon-saas/src/stream-solid/index.ts delete mode 100644 packages/vue-icon-saas/src/stretch/index.ts delete mode 100644 packages/vue-icon-saas/src/success/index.ts delete mode 100644 packages/vue-icon-saas/src/successful/index.ts delete mode 100644 packages/vue-icon-saas/src/tablet-view/index.ts delete mode 100644 packages/vue-icon-saas/src/task-cooperation/index.ts delete mode 100644 packages/vue-icon-saas/src/telephone-circle/index.ts delete mode 100644 packages/vue-icon-saas/src/telephone/index.ts delete mode 100644 packages/vue-icon-saas/src/text-align/index.ts delete mode 100644 packages/vue-icon-saas/src/text-decoration/index.ts delete mode 100644 packages/vue-icon-saas/src/text-tab/index.ts delete mode 100644 packages/vue-icon-saas/src/text-type/index.ts delete mode 100644 packages/vue-icon-saas/src/text/index.ts delete mode 100644 packages/vue-icon-saas/src/time/index.ts delete mode 100644 packages/vue-icon-saas/src/total/index.ts delete mode 100644 packages/vue-icon-saas/src/triangle-down/index.ts delete mode 100644 packages/vue-icon-saas/src/undelete/index.ts delete mode 100644 packages/vue-icon-saas/src/underline/index.ts delete mode 100644 packages/vue-icon-saas/src/undo/index.ts delete mode 100644 packages/vue-icon-saas/src/unfilter/index.ts delete mode 100644 packages/vue-icon-saas/src/unfreeze/index.ts delete mode 100644 packages/vue-icon-saas/src/unknow/index.ts delete mode 100644 packages/vue-icon-saas/src/unknown/index.ts delete mode 100644 packages/vue-icon-saas/src/unlock/index.ts delete mode 100644 packages/vue-icon-saas/src/unsent/index.ts delete mode 100644 packages/vue-icon-saas/src/up-o/index.ts delete mode 100644 packages/vue-icon-saas/src/up-ward/index.ts delete mode 100644 packages/vue-icon-saas/src/up/index.ts delete mode 100644 packages/vue-icon-saas/src/upload/index.ts delete mode 100644 packages/vue-icon-saas/src/user/index.ts delete mode 100644 packages/vue-icon-saas/src/versiontree/index.ts delete mode 100644 packages/vue-icon-saas/src/video-type/index.ts delete mode 100644 packages/vue-icon-saas/src/view/index.ts delete mode 100644 packages/vue-icon-saas/src/vuejs/index.ts delete mode 100644 packages/vue-icon-saas/src/warning-triangle/index.ts delete mode 100644 packages/vue-icon-saas/src/warning/index.ts delete mode 100644 packages/vue-icon-saas/src/web-plus/index.ts delete mode 100644 packages/vue-icon-saas/src/word-type/index.ts delete mode 100644 packages/vue-icon-saas/src/writing/index.ts delete mode 100644 packages/vue-icon-saas/src/yes/index.ts delete mode 100644 packages/vue-icon-saas/src/zip-type/index.ts delete mode 100644 packages/vue-icon-saas/src/zoom-in/index.ts delete mode 100644 packages/vue-icon-saas/src/zoom-out/index.ts rename packages/{vue-icon-saas/src/befilter => vue-icon/src/agenda-view}/index.ts (78%) rename packages/{vue-icon-saas/src/app => vue-icon/src/day-view}/index.ts (79%) rename packages/{vue-icon-saas/src/add => vue-icon/src/fillet-external-link}/index.ts (74%) rename packages/{vue-icon-saas/src/add-circle => vue-icon/src/month-view}/index.ts (78%) create mode 100644 packages/vue/src/action-menu/src/index.ts create mode 100644 packages/vue/src/anchor/src/index.ts rename packages/{vue-icon-saas/src/arrow-left => vue/src/async-flowchart}/index.ts (54%) create mode 100644 packages/vue/src/async-flowchart/package.json rename packages/{vue-icon-saas/src/jusitfy-space-around => vue/src/async-flowchart/src}/index.ts (56%) create mode 100644 packages/vue/src/async-flowchart/src/mobile-first.vue create mode 100644 packages/vue/src/calendar-view/index.ts create mode 100644 packages/vue/src/calendar-view/package.json create mode 100644 packages/vue/src/calendar-view/src/index.ts create mode 100644 packages/vue/src/calendar-view/src/mobile-first.vue create mode 100644 packages/vue/src/calendar-view/src/pc.vue create mode 100644 packages/vue/src/calendar-view/src/token.ts create mode 100644 packages/vue/src/date-picker-mobile-first/src/index.ts delete mode 100644 packages/vue/src/date-picker-mobile-first/src/mobile-first.vue create mode 100644 packages/vue/src/date-picker-mobile-first/src/normal.vue create mode 100644 packages/vue/src/date-picker-mobile-first/src/year-month-range.vue create mode 100644 packages/vue/src/flowchart/src/node.vue create mode 100644 packages/vue/src/flowchart/src/resize-mixin.js create mode 100644 packages/vue/src/picker/src/type.ts create mode 100644 packages/vue/src/rich-text-editor/src/code-highlight.tsx create mode 100644 packages/vue/src/tabs/src/tab-nav/index.ts create mode 100644 patches/tsup@7.2.0.patch diff --git a/.gitignore b/.gitignore index d28292a8e..fe033415e 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,8 @@ coverage/ /packages/vue/mobile.ts /packages/vue/mobile-first.ts /packages/vue/app.ts +/packages/vue-icon-saas/src +/packages/vue-icon-saas/index.ts /packages/react/index.ts /packages/react/pc.ts diff --git a/.prettierrc b/.prettierrc index a607ca7c5..78e82be0b 100644 --- a/.prettierrc +++ b/.prettierrc @@ -11,6 +11,7 @@ "useTabs": false, "tabWidth": 2, "proseWrap": "preserve", + "arrowParens": "always", "overrides": [ { "files": ".prettierrc", @@ -19,4 +20,4 @@ } } ] -} +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 3d29d348e..171f415fc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -81,5 +81,6 @@ "bold": false, "italic": false } - ] + ], + "vue.codeActions.enabled": false } diff --git a/examples/docs/newsrc/pc.vue b/examples/docs/newsrc/pc.vue index 3f50abda0..62828915f 100644 --- a/examples/docs/newsrc/pc.vue +++ b/examples/docs/newsrc/pc.vue @@ -97,7 +97,7 @@ - + diff --git a/examples/docs/newsrc/uses/useMonaco.js b/examples/docs/newsrc/uses/useMonaco.js deleted file mode 100644 index fb376012d..000000000 --- a/examples/docs/newsrc/uses/useMonaco.js +++ /dev/null @@ -1,31 +0,0 @@ -import * as monaco from 'monaco-editor' -import { hooks } from '@opentiny/vue-common' -// monaco ESM模块集成说明 : https://github.com/microsoft/monaco-editor/blob/main/docs/integrate-esm.md#using-vite -// https://github.com/vitejs/vite/discussions/1791#discussioncomment-321046 -import HtmlWorker from 'monaco-editor/esm/vs/language/html/html.worker?worker' -self.MonacoEnvironment = { - getWorker: () => new HtmlWorker() -} - -export function useMonaco(selector) { - const state = { - editor: null, - getCode: () => state.editor && state.editor.getValue(), - setCode: (code) => state.editor && state.editor.setValue(code), - hotKey: (key, fn) => state.editor && state.editor.addCommand(key, fn), - format: () => state.editor && state.editor.trigger('anyString', 'editor.action.formatDocument'), - scrollTop: () => state.editor && state.editor.setScrollTop(0) - } - - hooks.onMounted(() => { - state.editor = monaco.editor.create(document.querySelector(selector), { - value: '', - language: 'html', - theme: 'vs-dark', - tabSize: 2, - automaticLayout: true - }) - }) - hooks.onUnmounted(() => (state.editor = null)) - return state -} diff --git a/examples/docs/resources/mobile-first/app/badge/props-content.vue b/examples/docs/resources/mobile-first/app/badge/props-content.vue new file mode 100644 index 000000000..80b23eb96 --- /dev/null +++ b/examples/docs/resources/mobile-first/app/badge/props-content.vue @@ -0,0 +1,13 @@ + + + diff --git a/examples/docs/resources/mobile-first/app/button/banner.vue b/examples/docs/resources/mobile-first/app/button/banner.vue new file mode 100644 index 000000000..e4903469a --- /dev/null +++ b/examples/docs/resources/mobile-first/app/button/banner.vue @@ -0,0 +1,16 @@ + + + diff --git a/examples/docs/resources/mobile-first/app/button/button-class.vue b/examples/docs/resources/mobile-first/app/button/button-class.vue index f04e8c3ac..b133da3f6 100644 --- a/examples/docs/resources/mobile-first/app/button/button-class.vue +++ b/examples/docs/resources/mobile-first/app/button/button-class.vue @@ -1,7 +1,7 @@ diff --git a/examples/docs/resources/mobile-first/app/button/image.vue b/examples/docs/resources/mobile-first/app/button/image.vue index c78a38bcb..ad5b35889 100644 --- a/examples/docs/resources/mobile-first/app/button/image.vue +++ b/examples/docs/resources/mobile-first/app/button/image.vue @@ -14,7 +14,7 @@ export default { }, data() { return { - image: 'webnova/static/images/hae-logo.png' + image: '/static/images/hae-logo.png' } } } diff --git a/examples/docs/resources/mobile-first/app/button/slot-default.vue b/examples/docs/resources/mobile-first/app/button/slot-default.vue index 8c7a2b569..44b42031e 100644 --- a/examples/docs/resources/mobile-first/app/button/slot-default.vue +++ b/examples/docs/resources/mobile-first/app/button/slot-default.vue @@ -23,7 +23,7 @@ export default { }, data() { return { - image: 'webnova/static/images/hae-logo.png' + image: '/static/images/hae-logo.png' } } } diff --git a/examples/docs/resources/mobile-first/app/button/webdoc/button.js b/examples/docs/resources/mobile-first/app/button/webdoc/button.js index d631247df..854289518 100644 --- a/examples/docs/resources/mobile-first/app/button/webdoc/button.js +++ b/examples/docs/resources/mobile-first/app/button/webdoc/button.js @@ -115,7 +115,7 @@ export default { codeFiles: ['click.vue'] }, { - demoId: 'dynamic-disable-button', + demoId: 'dynamic-disabled', name: { 'zh-CN': '动态禁用按钮', 'en-US': 'events' @@ -124,7 +124,19 @@ export default { 'zh-CN': '

设置 disabled属性为 true 后,可以禁用按钮。

', 'en-US': '

bbutton click

' }, - codeFiles: ['dynamic-disable-button.vue'] + codeFiles: ['dynamic-disabled.vue'] + }, + { + demoId: 'banner', + name: { + 'zh-CN': '通知栏按钮', + 'en-US': 'events' + }, + desc: { + 'zh-CN': '

通过添加banner属性设置通栏按钮

', + 'en-US': '

bbutton click

' + }, + codeFiles: ['banner.vue'] } ], apis: [] diff --git a/examples/docs/resources/mobile-first/app/carousel/close-loop.vue b/examples/docs/resources/mobile-first/app/carousel/close-loop.vue index b30701758..b63ff6161 100644 --- a/examples/docs/resources/mobile-first/app/carousel/close-loop.vue +++ b/examples/docs/resources/mobile-first/app/carousel/close-loop.vue @@ -2,16 +2,16 @@
- + - + - + - +
diff --git a/examples/docs/resources/mobile-first/app/cell/basic-usage.vue b/examples/docs/resources/mobile-first/app/cell/basic-usage.vue new file mode 100644 index 000000000..f43ac561c --- /dev/null +++ b/examples/docs/resources/mobile-first/app/cell/basic-usage.vue @@ -0,0 +1,20 @@ + + + diff --git a/examples/docs/resources/mobile-first/app/cell/disabled.vue b/examples/docs/resources/mobile-first/app/cell/disabled.vue new file mode 100644 index 000000000..9689fbb0f --- /dev/null +++ b/examples/docs/resources/mobile-first/app/cell/disabled.vue @@ -0,0 +1,20 @@ + + + diff --git a/examples/docs/resources/mobile-first/app/cell/icon.vue b/examples/docs/resources/mobile-first/app/cell/icon.vue new file mode 100644 index 000000000..7c2de59b2 --- /dev/null +++ b/examples/docs/resources/mobile-first/app/cell/icon.vue @@ -0,0 +1,22 @@ + + + diff --git a/examples/docs/resources/mobile-first/app/cell/placeholder.vue b/examples/docs/resources/mobile-first/app/cell/placeholder.vue new file mode 100644 index 000000000..7a06a79a6 --- /dev/null +++ b/examples/docs/resources/mobile-first/app/cell/placeholder.vue @@ -0,0 +1,20 @@ + + + diff --git a/examples/docs/resources/mobile-first/app/cell/webdoc/cell.cn.md b/examples/docs/resources/mobile-first/app/cell/webdoc/cell.cn.md new file mode 100644 index 000000000..ebe9391d6 --- /dev/null +++ b/examples/docs/resources/mobile-first/app/cell/webdoc/cell.cn.md @@ -0,0 +1,9 @@ +--- +title: Cell 单元格 +--- + +# Cell 单元格 + +
+此组件主要用于移动下拉选择组件(DatePickerMobile、SelectMobile 等)显示值的承载容器 +
diff --git a/examples/docs/resources/mobile-first/app/cell/webdoc/cell.en.md b/examples/docs/resources/mobile-first/app/cell/webdoc/cell.en.md new file mode 100644 index 000000000..ebe9391d6 --- /dev/null +++ b/examples/docs/resources/mobile-first/app/cell/webdoc/cell.en.md @@ -0,0 +1,9 @@ +--- +title: Cell 单元格 +--- + +# Cell 单元格 + +
+此组件主要用于移动下拉选择组件(DatePickerMobile、SelectMobile 等)显示值的承载容器 +
diff --git a/examples/docs/resources/mobile-first/app/cell/webdoc/cell.js b/examples/docs/resources/mobile-first/app/cell/webdoc/cell.js new file mode 100644 index 000000000..7589df9a0 --- /dev/null +++ b/examples/docs/resources/mobile-first/app/cell/webdoc/cell.js @@ -0,0 +1,67 @@ +export default { + column: '2', + owner: '', + demos: [ + { + demoId: 'basic-usage', + name: { + 'zh-CN': '基本用法', + 'en-US': 'events' + }, + desc: { + 'zh-CN': '

', + 'en-US': '

bbutton click

' + }, + codeFiles: ['basic-usage.vue'] + }, + { + demoId: 'with-date-picker', + name: { + 'zh-CN': '结合日期选择一起使用', + 'en-US': 'events' + }, + desc: { + 'zh-CN': '

', + 'en-US': '

bbutton click

' + }, + codeFiles: ['with-date-picker.vue'] + }, + { + demoId: 'placeholder', + name: { + 'zh-CN': '占位文本', + 'en-US': 'events' + }, + desc: { + 'zh-CN': '

', + 'en-US': '

bbutton click

' + }, + codeFiles: ['placeholder.vue'] + }, + { + demoId: 'disabled', + name: { + 'zh-CN': '禁用', + 'en-US': 'events' + }, + desc: { + 'zh-CN': '

', + 'en-US': '

bbutton click

' + }, + codeFiles: ['disabled.vue'] + }, + { + demoId: 'icon', + name: { + 'zh-CN': 'icon 图标', + 'en-US': 'events' + }, + desc: { + 'zh-CN': '

可以传入一个 svg 对象替换默认的下拉图标

', + 'en-US': '

bbutton click

' + }, + codeFiles: ['icon.vue'] + } + ], + apis: [] +} diff --git a/examples/docs/resources/mobile-first/app/cell/with-date-picker.vue b/examples/docs/resources/mobile-first/app/cell/with-date-picker.vue new file mode 100644 index 000000000..61a91a580 --- /dev/null +++ b/examples/docs/resources/mobile-first/app/cell/with-date-picker.vue @@ -0,0 +1,46 @@ + + + diff --git a/examples/docs/resources/mobile-first/app/column-list-item/basic-usage.vue b/examples/docs/resources/mobile-first/app/column-list-item/basic-usage.vue index 776bc4495..20d00b1dc 100644 --- a/examples/docs/resources/mobile-first/app/column-list-item/basic-usage.vue +++ b/examples/docs/resources/mobile-first/app/column-list-item/basic-usage.vue @@ -3,7 +3,7 @@ - + diff --git a/examples/sites/demos/app/breadcrumb/webdoc/breadcrumb.js b/examples/sites/demos/app/breadcrumb/webdoc/breadcrumb.js index 9161a40e2..d4145bda4 100644 --- a/examples/sites/demos/app/breadcrumb/webdoc/breadcrumb.js +++ b/examples/sites/demos/app/breadcrumb/webdoc/breadcrumb.js @@ -49,7 +49,7 @@ export default { { 'name': 'options', 'type': 'Array', - 'defaultValue': '该属性的默认值为 []', + 'defaultValue': '[]', 'desc': { 'zh-CN': '配置 options ,可以单独使用 tiny-breadcrumb 组件', 'en-US': 'Configure options. The tiny-breadcrumb component can be used independently.' @@ -58,21 +58,21 @@ export default { }, { 'name': 'separator', - 'type': 'String', - 'defaultValue': '该属性的默认值为 >', + 'type': 'string', + 'defaultValue': '>', 'desc': { 'zh-CN': '分隔符', 'en-US': 'Separator' }, 'demoId': 'separator' }, { 'name': 'separator-icon', - 'type': 'Object', - 'defaultValue': '', + 'type': 'object', + 'defaultValue': '--', 'desc': { 'zh-CN': '图标分隔符 class', 'en-US': 'Icon separator class' }, 'demoId': 'separator' }, { 'name': 'text-field', - 'type': 'String', + 'type': 'string', 'defaultValue': 'label', 'desc': { 'zh-CN': '指定面包屑的显示字段,结合 options 使用,组件默认 label ', @@ -86,7 +86,7 @@ export default { { 'name': 'select', 'type': 'Function', - 'defaultValue': '', + 'defaultValue': '--', 'desc': { 'zh-CN': '点击 breadcrumb-item 时触发', 'en-US': 'This event is triggered when breadcrumb-item is clicked.' @@ -108,7 +108,7 @@ export default { }, { 'name': 'replace', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '在使用 to 进行路由跳转时,启用 replace 将不会向 history 添加新记录', @@ -130,8 +130,8 @@ export default { 'events': [ { 'name': 'select', - 'type': '', - 'defaultValue': '', + 'type': 'Function()', + 'defaultValue': '--', 'desc': { 'zh-CN': '点击 breadcrumb-item 时触发', 'en-US': 'This event is triggered when breadcrumb-item is clicked.' diff --git a/examples/sites/demos/app/bulletin-board/webdoc/bulletin-board.js b/examples/sites/demos/app/bulletin-board/webdoc/bulletin-board.js index c131be1d5..9b8c790c5 100644 --- a/examples/sites/demos/app/bulletin-board/webdoc/bulletin-board.js +++ b/examples/sites/demos/app/bulletin-board/webdoc/bulletin-board.js @@ -88,7 +88,7 @@ export default { 'properties': [ { 'name': 'active-name', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 1', 'desc': { 'zh-CN': "默认显示第1栏,可选'1' '2' '3'等", @@ -105,7 +105,7 @@ export default { }, { 'name': 'icon', - 'type': 'Object , String', + 'type': 'object , string', 'defaultValue': '', 'desc': { 'zh-CN': 'tab-item中第一条信息的字体图标;tab-item中第一条信息的字体图标', @@ -116,7 +116,7 @@ export default { }, { 'name': 'show-more', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '是否显示更多按钮,默认显示,需要与 more-link 同时使用', @@ -127,7 +127,7 @@ export default { }, { 'name': 'more-link', - 'type': 'Object', + 'type': 'object', 'defaultValue': '', 'desc': { 'zh-CN': @@ -146,7 +146,7 @@ export default { }, { 'name': 'title', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '公告牌的标题', 'en-US': 'Billboard title' }, 'demoId': 'title' diff --git a/examples/sites/demos/app/button-group/webdoc/button-group.js b/examples/sites/demos/app/button-group/webdoc/button-group.js index 5198be25e..e259df4d4 100644 --- a/examples/sites/demos/app/button-group/webdoc/button-group.js +++ b/examples/sites/demos/app/button-group/webdoc/button-group.js @@ -144,14 +144,14 @@ export default { 'properties': [ { 'name': 'disabled', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '设置按钮组是否被禁用。', 'en-US': 'Sets whether the button group is disabled.' }, 'demoId': 'disabled' }, { 'name': 'size', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '设置组件大小', 'en-US': 'Set the component size' }, 'demoId': 'size' @@ -168,35 +168,35 @@ export default { }, { 'name': 'value-field', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 value', 'desc': { 'zh-CN': '按钮值的字段值。', 'en-US': 'Field value of the button value.' }, 'demoId': 'text-value-field' }, { 'name': 'text-field', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 text', 'desc': { 'zh-CN': '按钮显示文字的字段值。', 'en-US': 'Field value of the button displayed text.' }, 'demoId': 'text-value-field' }, { 'name': 'modelValue / v-model', - 'type': 'Number , String', + 'type': 'number , string', 'defaultValue': '', 'desc': { 'zh-CN': '默认选中按钮的值。', 'en-US': 'Default value of the selected button.' }, 'demoId': 'base' }, { 'name': 'plain', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '是否朴素按钮。', 'en-US': 'Indicates whether the button is a simple button.' }, 'demoId': 'plain' }, { 'name': 'show-more', - 'type': 'Number', + 'type': 'number', 'defaultValue': '', 'desc': { 'zh-CN': '设置超过多少个显示更多按钮。', @@ -206,7 +206,7 @@ export default { }, { 'name': 'show-edit', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '是否显示编辑按钮,只有在显示更多的情况下生效。', @@ -217,7 +217,7 @@ export default { }, { 'name': 'border', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '是否显示边框线。', 'en-US': 'Remove button border.' }, 'demoId': 'border' diff --git a/examples/sites/demos/app/button/text.vue b/examples/sites/demos/app/button/text.vue index b675cc8ac..1ae340eac 100644 --- a/examples/sites/demos/app/button/text.vue +++ b/examples/sites/demos/app/button/text.vue @@ -1,16 +1,32 @@ diff --git a/examples/sites/demos/app/button/webdoc/button.js b/examples/sites/demos/app/button/webdoc/button.js index c9a04c778..9f42d5b6c 100644 --- a/examples/sites/demos/app/button/webdoc/button.js +++ b/examples/sites/demos/app/button/webdoc/button.js @@ -120,7 +120,7 @@ export default { }, { 'name': 'disabled', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '设置按钮是否被禁用', 'en-US': 'Sets whether the button is disabled' }, 'demoId': 'dynamic-disabled' @@ -141,7 +141,7 @@ export default { }, { 'name': 'native-type', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 button', 'desc': { 'zh-CN': @@ -160,7 +160,7 @@ export default { }, { 'name': 'reset-time', - 'type': 'Number', + 'type': 'number', 'defaultValue': '该属性的默认值为 1000', 'desc': { 'zh-CN': '设置按钮禁用时间,防止重复提交,单位毫秒', @@ -174,10 +174,20 @@ export default { 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '是否圆角按钮', 'en-US': 'Whether to round the corner button' }, 'demoId': 'base' - }, + }, + { + 'name': 'size', + 'type': 'string', + 'defaultValue': '', + 'desc': { + 'zh-CN': '定义按钮尺寸;该属性的可选值为 large / medium / small / mini', + 'en-US': 'Define the button size. The value of this attribute can be large, medium, small, or mini' + }, + 'demoId': 'size' + }, { 'name': 'text', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '设置按钮显示的文本,可配置国际化', @@ -187,7 +197,7 @@ export default { }, { 'name': 'type', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '展示按钮不同的状态;该属性的可选值为 primary / success / warning / danger / info / text', diff --git a/examples/sites/demos/app/calendar-view/basic-usage.vue b/examples/sites/demos/app/calendar-view/basic-usage.vue new file mode 100644 index 000000000..a66eefe1e --- /dev/null +++ b/examples/sites/demos/app/calendar-view/basic-usage.vue @@ -0,0 +1,82 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/calendar-day-mark.vue b/examples/sites/demos/app/calendar-view/calendar-day-mark.vue new file mode 100644 index 000000000..23f812ef9 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/calendar-day-mark.vue @@ -0,0 +1,31 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/calendar-disabled-day.vue b/examples/sites/demos/app/calendar-view/calendar-disabled-day.vue new file mode 100644 index 000000000..361560249 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/calendar-disabled-day.vue @@ -0,0 +1,23 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/calendar-event.vue b/examples/sites/demos/app/calendar-view/calendar-event.vue new file mode 100644 index 000000000..24b0ce284 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/calendar-event.vue @@ -0,0 +1,45 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/calendar-mode.vue b/examples/sites/demos/app/calendar-view/calendar-mode.vue new file mode 100644 index 000000000..f86bfbaf8 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/calendar-mode.vue @@ -0,0 +1,19 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/calendar-schedule-slot.vue b/examples/sites/demos/app/calendar-view/calendar-schedule-slot.vue new file mode 100644 index 000000000..1fb95097e --- /dev/null +++ b/examples/sites/demos/app/calendar-view/calendar-schedule-slot.vue @@ -0,0 +1,129 @@ + + + + + diff --git a/examples/sites/demos/app/calendar-view/calendar-timeline-range.vue b/examples/sites/demos/app/calendar-view/calendar-timeline-range.vue new file mode 100644 index 000000000..7076b4323 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/calendar-timeline-range.vue @@ -0,0 +1,83 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/calendar-timeline-slot.vue b/examples/sites/demos/app/calendar-view/calendar-timeline-slot.vue new file mode 100644 index 000000000..cd5a38d46 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/calendar-timeline-slot.vue @@ -0,0 +1,145 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/custom-calendar-toolbar.vue b/examples/sites/demos/app/calendar-view/custom-calendar-toolbar.vue new file mode 100644 index 000000000..2a32b8f85 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/custom-calendar-toolbar.vue @@ -0,0 +1,20 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/custom-day-bg-color.vue b/examples/sites/demos/app/calendar-view/custom-day-bg-color.vue new file mode 100644 index 000000000..f2ea1d9c3 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/custom-day-bg-color.vue @@ -0,0 +1,27 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/custom-header.vue b/examples/sites/demos/app/calendar-view/custom-header.vue new file mode 100644 index 000000000..7585973fa --- /dev/null +++ b/examples/sites/demos/app/calendar-view/custom-header.vue @@ -0,0 +1,86 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/hide-mode.vue b/examples/sites/demos/app/calendar-view/hide-mode.vue new file mode 100644 index 000000000..9b09f0787 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/hide-mode.vue @@ -0,0 +1,13 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/mode-combination.vue b/examples/sites/demos/app/calendar-view/mode-combination.vue new file mode 100644 index 000000000..ddfe65631 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/mode-combination.vue @@ -0,0 +1,14 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/multi-select.vue b/examples/sites/demos/app/calendar-view/multi-select.vue new file mode 100644 index 000000000..a775b056d --- /dev/null +++ b/examples/sites/demos/app/calendar-view/multi-select.vue @@ -0,0 +1,32 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/set-working-day.vue b/examples/sites/demos/app/calendar-view/set-working-day.vue new file mode 100644 index 000000000..cee409e97 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/set-working-day.vue @@ -0,0 +1,63 @@ + + + diff --git a/examples/sites/demos/app/calendar-view/webdoc/calendar-view.cn.md b/examples/sites/demos/app/calendar-view/webdoc/calendar-view.cn.md new file mode 100644 index 000000000..0863835c0 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/webdoc/calendar-view.cn.md @@ -0,0 +1,7 @@ +--- +title: CalendarView 日历视图 +--- + +# CalendarView 日历视图 + +
按照日历形式展示数据的容器。
diff --git a/examples/sites/demos/app/calendar-view/webdoc/calendar-view.en.md b/examples/sites/demos/app/calendar-view/webdoc/calendar-view.en.md new file mode 100644 index 000000000..5db430bb3 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/webdoc/calendar-view.en.md @@ -0,0 +1,7 @@ +--- +title: CalendarView +--- + +# CalendarView + +
A container that presents data in calendar form.
diff --git a/examples/sites/demos/app/calendar-view/webdoc/calendar-view.js b/examples/sites/demos/app/calendar-view/webdoc/calendar-view.js new file mode 100644 index 000000000..a15ebf9e9 --- /dev/null +++ b/examples/sites/demos/app/calendar-view/webdoc/calendar-view.js @@ -0,0 +1,332 @@ +export default { + column: '1', + owner: '', + demos: [ + { + 'demoId': 'basic-usage', + 'name': { 'zh-CN': '基本用法', 'en-US': 'Basic Usage' }, + 'desc': { + 'zh-CN': '

默认以月的形式展示当月的每一天。

\n', + 'en-US': '

By default, each day of the current month is displayed in the form of month.

\n' + }, + 'codeFiles': ['basic-usage.vue'] + }, + { + 'demoId': 'calendar-mode', + 'name': { 'zh-CN': '显示模式', 'en-US': 'Display mode' }, + 'desc': { + 'zh-CN': '

通过 mode 属性指定以年的形式显示,将展示当年的每个月份。可选值有 year、month。

\n', + 'en-US': '

The mode attribute specifies that each month of the current year is displayed. The options are year and month.

\n' + }, + 'codeFiles': ['calendar-mode.vue'] + }, + { + 'demoId': 'calendar-disabled-day', + 'name': { 'zh-CN': '日期禁用', 'en-US': '' }, + 'desc': { + 'zh-CN': '

通过 disabled 回调函数来禁用某些日期。

\n', + 'en-US': '

\n' + }, + 'codeFiles': ['calendar-disabled-day.vue'] + }, + { + 'demoId': 'calendar-schedule-slot', + 'name': { 'zh-CN': '日程模式插槽', 'en-US': '' }, + 'desc': { + 'zh-CN': '

日程模式下内容区提供 weekday1-weekday7 这 7 个插槽,方便用户自定义日程展示。

\n', + 'en-US': '

\n' + }, + 'codeFiles': ['calendar-schedule-slot.vue'] + }, + { + 'demoId': 'calendar-timeline', + 'name': { 'zh-CN': '日程模式插槽', 'en-US': '' }, + 'desc': { + 'zh-CN': '

通过dayTimes属性配置时间线模式下所展示的时间范围,默认为[8,18],可配范围[0,23]。

\n', + 'en-US': '

\n' + }, + 'codeFiles': ['calendar-timeline-slot.vue'] + }, + { + 'demoId': 'multi-select', + 'name': { 'zh-CN': '日期多选', 'en-US': '' }, + 'desc': { + 'zh-CN': '

设置 mult-select = true 属性后,可开启日期多选。

\n', + 'en-US': '

\n' + }, + 'codeFiles': ['multi-select.vue'] + }, + { + 'demoId': 'calendar-day-mark', + 'name': { 'zh-CN': '日期标记', 'en-US': '' }, + 'desc': { + 'zh-CN': '

通过showMark回调函数来标记某些日期,markColor属性设置标记的颜色,此功能只在时间线模式和日程模式生效。markColor可选颜色同 theme

\n', + 'en-US': '

\n' + }, + 'codeFiles': ['calendar-day-mark.vue'] + }, + { + 'demoId': 'custom-header', + 'name': { 'zh-CN': '自定义头部显示', 'en-US': 'Display Selected Date' }, + 'desc': { + 'zh-CN': '

通过作用域插槽 header 自定义需要显示的头部区域。

\n', + 'en-US': '

\n' + }, + 'codeFiles': ['custom-header.vue'] + }, + { + 'demoId': 'custom-calendar-toolbar', + 'name': { 'zh-CN': '自定义工具栏', 'en-US': 'Custom Toolbar' }, + 'desc': { + 'zh-CN': '

通过作用域插槽 tool 自定义需要的工具栏。

\n', + 'en-US': '

Customize the required toolbar through the scope slot tool.

\n' + }, + 'codeFiles': ['custom-calendar-toolbar.vue'] + }, + { + 'demoId': 'custom-day-bg-color', + 'name': { 'zh-CN': '自定义日期单元格背景色', 'en-US': 'Add Schedule Event' }, + 'desc': { + 'zh-CN': '

自定义日期单元格背景色。

\n

目前只支持预置的颜色,可选颜色blue、green、red、yellow、purple、cyan、grey

\n', + 'en-US': '

\n' + }, + 'codeFiles': ['custom-day-bg-color.vue'] + }, + { + 'demoId': 'set-working-day', + 'name': { 'zh-CN': '设置工作日或节假日', 'en-US': '' }, + 'desc': { + 'zh-CN': '

可以结合日期多选,自定义背景色,工具栏插槽等功能实现设置工作日或节假日的功能

\n', + 'en-US': '

\n' + }, + 'codeFiles': ['set-working-day.vue'] + }, + { + 'demoId': 'calendar-event', + 'name': { 'zh-CN': '事件', 'en-US': '' }, + 'desc': { + 'zh-CN': '

日历抛出的事件有以下这些:

\n

new-schedule:新增日程按钮点击事件

\n

selected-date-change:选中日期改变事件

\n

prev-week-click:上一周按钮点击事件

\n

next-week-click:下一周按钮点击事件

\n

week-change:周改变事件

\n

year-change:年改变事件

\n

month-change:月改变事件

\n', + 'en-US': '

\n' + }, + 'codeFiles': ['calendar-event.vue'] + } + ], + apis: [ + { + 'name': 'calendar-view', + 'type': 'component', + 'properties': [ + { + 'name': 'day-times', + 'type': 'Array', + 'defaultValue': '', + 'desc': { + 'zh-CN': '配置时间线模式下所展示的时间范围,默认为[8,18],可配范围[0,23]。', + 'en-US': '' + }, + 'demoId': 'basic-usage' + }, + { + 'name': 'disabled', + 'type': 'Function', + 'defaultValue': '', + 'desc': { + 'zh-CN': '日期禁用', + 'en-US': '' + }, + 'demoId': 'calendar-disabled-day' + }, + { + 'name': 'events', + 'type': 'Array', + 'defaultValue': '', + 'desc': { + 'zh-CN': '日程事件', + 'en-US': '' + }, + 'demoId': 'calendar-event' + }, + { + 'name': 'height', + 'type': 'string', + 'defaultValue': '', + 'desc': { + 'zh-CN': '日历高度', + 'en-US': '' + }, + 'demoId': 'basic-usage' + }, + { + 'name': 'mark-color', + 'type': 'string', + 'defaultValue': '', + 'desc': { + 'zh-CN': '点标记的颜色', + 'en-US': '' + }, + 'demoId': 'calendar-day-mark' + }, + { + 'name': 'mode', + 'type': 'string', + 'defaultValue': '', + 'desc': { + 'zh-CN': '显示模式,可选值有 timeline-时间线模式、schedule-日程模式、month-月模式,默认为月模式。', + 'en-US': '' + }, + 'demoId': 'calendar-mode' + }, + { + 'name': 'modes', + 'type': 'Array', + 'defaultValue': '', + 'desc': { + 'zh-CN': '模式组,显示模式任意组合', + 'en-US': '' + }, + 'demoId': 'calendar-mode' + }, + { + 'name': 'month', + 'type': 'string', + 'defaultValue': '', + 'desc': { + 'zh-CN': '日历当前显示月份', + 'en-US': '' + }, + 'demoId': 'basic-usage' + }, + { + 'name': 'multi-select', + 'type': 'boolean', + 'defaultValue': '', + 'desc': { + 'zh-CN': '日期多选', + 'en-US': '' + }, + 'demoId': 'multi-select' + }, + { + 'name': 'set-day-bg-color', + 'type': 'Function', + 'defaultValue': '', + 'desc': { + 'zh-CN': '设置日期背景色', + 'en-US': '' + }, + 'demoId': 'custom-day-bg-color' + }, + { + 'name': 'show-mark', + 'type': 'Function', + 'defaultValue': '', + 'desc': { + 'zh-CN': '显示点标记', + 'en-US': '' + }, + 'demoId': 'calendar-day-mark' + }, + { + 'name': 'show-new-schedule', + 'type': 'Function', + 'defaultValue': '', + 'desc': { + 'zh-CN': '显示新增日程按钮', + 'en-US': '' + }, + 'demoId': 'basic-usage' + }, + { + 'name': 'year', + 'type': 'number', + 'defaultValue': '', + 'desc': { + 'zh-CN': '日历当前显示年份', + 'en-US': '' + }, + 'demoId': 'basic-usage' + }, + ], + 'events': [ + { + 'name': 'month-change', + 'desc': { + 'zh-CN': '月改变事件', + 'en-US': '' + }, + 'demoId': 'calendar-event' + }, + { + 'name': 'new-schedule', + 'desc': { + 'zh-CN': '新增日程按钮点击事件', + 'en-US': '' + }, + 'demoId': 'calendar-event' + }, + { + 'name': 'next-week-click', + 'desc': { + 'zh-CN': '下一周按钮点击事件', + 'en-US': '' + }, + 'demoId': 'calendar-event' + }, + { + 'name': 'prev-week-click', + 'desc': { + 'zh-CN': '上一周按钮点击事件', + 'en-US': '' + }, + 'demoId': 'calendar-event' + }, + { + 'name': 'selected-date-change', + 'desc': { + 'zh-CN': '选中日期改变事件', + 'en-US': '' + }, + 'demoId': 'calendar-event' + }, + { + 'name': 'week-change', + 'desc': { + 'zh-CN': '周改变事件', + 'en-US': '' + }, + 'demoId': 'calendar-event' + }, + { + 'name': 'year-change', + 'desc': { + 'zh-CN': '年改变事件', + 'en-US': '' + }, + 'demoId': 'calendar-event' + } + ], + 'slots': [ + { + 'name': 'header', + 'desc': { 'zh-CN': '头部插槽', 'en-US': '' }, + 'demoId': 'calendar-schedule-slot' + }, + { + 'name': 'timeline', + 'desc': { 'zh-CN': '时间线插槽,有timeline1-timeline7 7个插槽', 'en-US': '' }, + 'demoId': 'calendar-schedule-slot' + }, + { + 'name': 'tool', + 'desc': { 'zh-CN': '工具栏插槽', 'en-US': '' }, + 'demoId': 'calendar-schedule-slot' + }, + { + 'name': 'weekday', + 'desc': { 'zh-CN': '日程插槽,有weekday1-weekday7 7个插槽', 'en-US': '' }, + 'demoId': 'calendar-schedule-slot' + } + ] + } + ] +} diff --git a/examples/sites/demos/app/calendar/webdoc/calendar.js b/examples/sites/demos/app/calendar/webdoc/calendar.js index a78b7782a..d803dbe75 100644 --- a/examples/sites/demos/app/calendar/webdoc/calendar.js +++ b/examples/sites/demos/app/calendar/webdoc/calendar.js @@ -76,7 +76,7 @@ export default { }, { 'name': 'mode', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '显示模式,month / year 可选,默认 month', @@ -86,7 +86,7 @@ export default { }, { 'name': 'month', - 'type': 'Number', + 'type': 'number', 'defaultValue': '', 'desc': { 'zh-CN': '指定月份,默认当月', @@ -96,14 +96,14 @@ export default { }, { 'name': 'show-selected', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '', 'desc': { 'zh-CN': '显示选中的日期', 'en-US': 'Display the selected date.' }, 'demoId': 'show-selected-date' }, { 'name': 'year', - 'type': 'Number', + 'type': 'number', 'defaultValue': '', 'desc': { 'zh-CN': '指定年份,默认今年', 'en-US': 'Specified year. The default year is this year.' }, 'demoId': 'custom-day-cell' diff --git a/examples/sites/demos/app/carousel/webdoc/carousel.js b/examples/sites/demos/app/carousel/webdoc/carousel.js index ef6b8a860..45fc83c54 100644 --- a/examples/sites/demos/app/carousel/webdoc/carousel.js +++ b/examples/sites/demos/app/carousel/webdoc/carousel.js @@ -128,70 +128,70 @@ export default { 'carousel-attrs': [ { 'name': 'arrow', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 hover', 'desc': { 'zh-CN': '切换箭头的显示时机;该属性的可选值为 always / hover / never', 'en-US': '' }, 'demoId': 'up-down-carousel' }, { 'name': 'autoplay', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '是否自动切换', 'en-US': '' }, 'demoId': 'autoplay' }, { 'name': 'height', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '走马灯的高度', 'en-US': '' }, 'demoId': 'indicator-trigger' }, { 'name': 'indicator-position', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '指示器的位置。该属性的可选值为 outside / none', 'en-US': '' }, 'demoId': 'indicator-trigger' }, { 'name': 'initial-index', - 'type': 'Number', + 'type': 'number', 'defaultValue': '该属性的默认值为 0', 'desc': { 'zh-CN': '初始状态激活的幻灯片的索引,从 0 开始', 'en-US': '' }, 'demoId': 'manual-play' }, { 'name': 'interval', - 'type': 'Number', + 'type': 'number', 'defaultValue': '该属性的默认值为 3000', 'desc': { 'zh-CN': '自动切换的时间间隔,单位为毫秒', 'en-US': '' }, 'demoId': 'play-interval' }, { 'name': 'show-title', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '是否显示标题', 'en-US': '' }, 'demoId': 'show-title' }, { 'name': 'trigger', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 hover', 'desc': { 'zh-CN': '指示器的触发方式,默认为 hover。该属性的可选值为 click', 'en-US': '' }, 'demoId': 'indicator-trigger' }, { 'name': 'type', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 horizontal', 'desc': { 'zh-CN': '走马灯的类型;该属性的可选值为 horizontal / vertical / card', 'en-US': '' }, 'demoId': 'card-mode' }, { 'name': 'loop', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '是否循环显示', 'en-US': '' }, 'demoId': 'close-loop' @@ -241,14 +241,14 @@ export default { 'carouselItem-attrs': [ { 'name': 'title', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '幻灯片标题', 'en-US': '' }, 'demoId': 'show-title' }, { 'name': 'name', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '幻灯片名称', 'en-US': '' }, 'demoId': 'show-title' diff --git a/examples/sites/demos/app/cascader-panel/webdoc/cascader-panel.js b/examples/sites/demos/app/cascader-panel/webdoc/cascader-panel.js index 6043cac18..6b256fb1c 100644 --- a/examples/sites/demos/app/cascader-panel/webdoc/cascader-panel.js +++ b/examples/sites/demos/app/cascader-panel/webdoc/cascader-panel.js @@ -82,7 +82,7 @@ export default { }, { 'name': 'props', - 'type': 'Object', + 'type': 'object', 'defaultValue': '', 'desc': { 'zh-CN': '配置选项,具体见 CascaderPanel Props 表 ', @@ -151,7 +151,7 @@ export default { 'caspanelprops': [ { 'name': 'expandTrigger', - 'type': 'String', + 'type': 'string', 'defaultValue': 'click', 'desc': { 'zh-CN': '次级菜单的展开方式;该属性的可选值为 click / hover', @@ -161,14 +161,14 @@ export default { }, { 'name': 'multiple', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': 'false', 'desc': { 'zh-CN': '是否多选', 'en-US': 'Whether to select multiple options' }, 'demoId': 'default-multiple' }, { 'name': 'checkStrictly', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': ' false', 'desc': { 'zh-CN': '是否严格的遵守父子节点不互相关联', @@ -179,7 +179,7 @@ export default { }, { 'name': 'emitPath', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': ' true', 'desc': { 'zh-CN': @@ -191,7 +191,7 @@ export default { }, { 'name': 'lazy', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': 'false', 'desc': { 'zh-CN': '是否动态加载子节点,需与 lazyLoad 方法结合使用', @@ -214,7 +214,7 @@ export default { }, { 'name': 'value', - 'type': 'String', + 'type': 'string', 'defaultValue': "'value'", 'desc': { 'zh-CN': '指定选项的值为选项对象的某个属性值', @@ -224,7 +224,7 @@ export default { }, { 'name': 'label', - 'type': 'String', + 'type': 'string', 'defaultValue': "'label'", 'desc': { 'zh-CN': '指定选项标签为选项对象的某个属性值', @@ -234,7 +234,7 @@ export default { }, { 'name': 'children', - 'type': 'String', + 'type': 'string', 'defaultValue': "'children'", 'desc': { 'zh-CN': '指定选项的子选项为选项对象的某个属性值', @@ -244,7 +244,7 @@ export default { }, { 'name': 'disabled', - 'type': 'String', + 'type': 'string', 'defaultValue': "'disabled'", 'desc': { 'zh-CN': '指定选项的禁用为选项对象的某个属性值', @@ -254,7 +254,7 @@ export default { }, { 'name': 'leaf', - 'type': 'String', + 'type': 'string', 'defaultValue': "'leaf'", 'desc': { 'zh-CN': '指定选项的叶子节点的标志位为选项对象的某个属性值', diff --git a/examples/sites/demos/app/cascader/webdoc/cascader.js b/examples/sites/demos/app/cascader/webdoc/cascader.js index d0c15e4a7..92875b3a8 100644 --- a/examples/sites/demos/app/cascader/webdoc/cascader.js +++ b/examples/sites/demos/app/cascader/webdoc/cascader.js @@ -177,7 +177,7 @@ export default { 'zh-CN': '

filter-method 自定义搜索逻辑,第一个参数是节点 node,第二个参数是搜索关键词 keyword,通过返回布尔值表示是否命中,如果需要选择父级,通过 props.checkStrictly = true 来设置父子节点取消选中关联,从而达到选择任意一级选项的目的。默认单选模式下,只能选择叶子节点。

\n', 'en-US': - '

filter-method customizes the search logic. The first parameter is node, and the second parameter is keyword. A Boolean value is returned to indicate whether the search is hit. To select a parent, set props.checkStrictly = true to deselect the parent and child nodes. In this way, the purpose of selecting any level of option is achieved. In the default single-choice mode, only leaf nodes can be selected.

\n' + '

filter-method customizes the search logic. The first parameter is node, and the second parameter is keyword. A boolean value is returned to indicate whether the search is hit. To select a parent, set props.checkStrictly = true to deselect the parent and child nodes. In this way, the purpose of selecting any level of option is achieved. In the default single-choice mode, only leaf nodes can be selected.

\n' }, 'codeFiles': ['filter-method.vue'] }, @@ -240,7 +240,7 @@ export default { }, { 'name': 'props', - 'type': 'Object', + 'type': 'object', 'defaultValue': '', 'desc': { 'zh-CN': '配置选项,具体见 Cascader Props 表', @@ -250,7 +250,7 @@ export default { }, { 'name': 'popper-class', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '为 popper 添加类名(可参考 popover 组件)', @@ -260,7 +260,7 @@ export default { }, { 'name': 'popper-append-to-body', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': 'true', 'desc': { 'zh-CN': @@ -272,7 +272,7 @@ export default { }, { 'name': 'size', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '尺寸;该属性的可选值为 medium / small / mini', @@ -282,28 +282,28 @@ export default { }, { 'name': 'placeholder', - 'type': 'String', + 'type': 'string', 'defaultValue': '请选择', 'desc': { 'zh-CN': '输入框占位文本', 'en-US': 'Placeholder text in the text box' }, 'demoId': 'filterable-multiple1' }, { 'name': 'disabled', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': 'false', 'desc': { 'zh-CN': '是否禁用', 'en-US': 'Disable' }, 'demoId': 'disabled-items' }, { 'name': 'clearable', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': 'false', 'desc': { 'zh-CN': '是否支持清空选项', 'en-US': 'Whether to support the clear option' }, 'demoId': 'clearable' }, { 'name': 'show-all-levels', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': 'true', 'desc': { 'zh-CN': '输入框中是否显示选中值的完整路径', @@ -313,21 +313,21 @@ export default { }, { 'name': 'collapse-tags', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': 'false', 'desc': { 'zh-CN': '多选模式下是否折叠Tag', 'en-US': 'Whether to collapse tags in multi-choice mode' }, 'demoId': 'collapse-tags' }, { 'name': 'separator', - 'type': 'String', + 'type': 'string', 'defaultValue': '/', 'desc': { 'zh-CN': '选项分隔符', 'en-US': 'Option separator' }, 'demoId': 'clearable1' }, { 'name': 'filterable', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '', 'desc': { 'zh-CN': '是否可搜索选项', 'en-US': 'Whether to search for options' }, 'demoId': 'filterable' @@ -340,13 +340,13 @@ export default { 'zh-CN': '自定义搜索逻辑,第一个参数是节点 node,第二个参数是搜索关键词 keyword,通过返回布尔值表示是否命中', 'en-US': - 'Customize the search logic. The first parameter is node, and the second parameter is keyword. A Boolean value is returned to indicate whether the search is hit.' + 'Customize the search logic. The first parameter is node, and the second parameter is keyword. A boolean value is returned to indicate whether the search is hit.' }, 'demoId': 'filter-method' }, { 'name': 'debounce', - 'type': 'Number', + 'type': 'number', 'defaultValue': '300', 'desc': { 'zh-CN': '搜索关键词输入的去抖延迟,单位毫秒', @@ -367,7 +367,7 @@ export default { }, { 'name': 'popper-class', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '自定义浮层类名', 'en-US': 'Customized floating layer class name' }, 'demoId': '' @@ -401,9 +401,9 @@ export default { 'type': 'Fuction(arg)', 'defaultValue': '', 'desc': { - 'zh-CN': '当失去焦点时触发;arg:回调参数为 (event: Event, 类型:Object)', + 'zh-CN': '当失去焦点时触发;arg:回调参数为 (event: Event, 类型:object)', 'en-US': - 'This event is triggered when the focus is lost. arg: The callback parameter is (event: Event, type: Object).' + 'This event is triggered when the focus is lost. arg: The callback parameter is (event: Event, type: object).' }, 'demoId': 'events' }, @@ -412,9 +412,9 @@ export default { 'type': 'Fuction(arg)', 'defaultValue': '', 'desc': { - 'zh-CN': '当获得焦点时触发;arg:回调参数为 (event: Event, 类型:Object)', + 'zh-CN': '当获得焦点时触发;arg:回调参数为 (event: Event, 类型:object)', 'en-US': - 'This event is triggered when the focus is obtained. arg: The callback parameter is (event: Event, type: Object).' + 'This event is triggered when the focus is obtained. arg: The callback parameter is (event: Event, type: object).' }, 'demoId': 'events' }, @@ -425,7 +425,7 @@ export default { 'desc': { 'zh-CN': '下拉框出现/隐藏时触发;arg:回调参数为 出现则为 true,隐藏则为 false(布尔类型)', 'en-US': - 'This event is triggered when the drop-down list box is displayed or hidden. arg: true if the callback parameter is present; false if the callback parameter is hidden (Boolean)' + 'This event is triggered when the drop-down list box is displayed or hidden. arg: true if the callback parameter is present; false if the callback parameter is hidden (boolean)' }, 'demoId': 'events' }, @@ -466,7 +466,7 @@ export default { 'casprops': [ { 'name': 'expandTrigger', - 'type': 'String', + 'type': 'string', 'defaultValue': 'click', 'desc': { 'zh-CN': '次级菜单的展开方式;该属性的可选值为 click / hover', @@ -476,14 +476,14 @@ export default { }, { 'name': 'multiple', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': 'false', 'desc': { 'zh-CN': '是否多选', 'en-US': 'Whether to select multiple options' }, 'demoId': 'default-multiple' }, { 'name': 'checkStrictly', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': ' false', 'desc': { 'zh-CN': '是否严格的遵守父子节点不互相关联', @@ -494,7 +494,7 @@ export default { }, { 'name': 'emitPath', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': ' true', 'desc': { 'zh-CN': @@ -506,7 +506,7 @@ export default { }, { 'name': 'lazy', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': 'false', 'desc': { 'zh-CN': '是否动态加载子节点,需与 lazyLoad 方法结合使用', @@ -529,7 +529,7 @@ export default { }, { 'name': 'value', - 'type': 'String', + 'type': 'string', 'defaultValue': "'value'", 'desc': { 'zh-CN': '指定选项的值为选项对象的某个属性值', @@ -539,7 +539,7 @@ export default { }, { 'name': 'label', - 'type': 'String', + 'type': 'string', 'defaultValue': "'label'", 'desc': { 'zh-CN': '指定选项标签为选项对象的某个属性值', @@ -549,7 +549,7 @@ export default { }, { 'name': 'children', - 'type': 'String', + 'type': 'string', 'defaultValue': "'children'", 'desc': { 'zh-CN': '指定选项的子选项为选项对象的某个属性值', @@ -559,7 +559,7 @@ export default { }, { 'name': 'disabled', - 'type': 'String', + 'type': 'string', 'defaultValue': "'disabled'", 'desc': { 'zh-CN': '指定选项的禁用为选项对象的某个属性值', @@ -569,7 +569,7 @@ export default { }, { 'name': 'leaf', - 'type': 'String', + 'type': 'string', 'defaultValue': "'leaf'", 'desc': { 'zh-CN': '指定选项的叶子节点的标志位为选项对象的某个属性值', diff --git a/examples/sites/demos/app/chart/events/base-composition-api.vue b/examples/sites/demos/app/chart/events/base-composition-api.vue index e3841d58c..868d237f4 100644 --- a/examples/sites/demos/app/chart/events/base-composition-api.vue +++ b/examples/sites/demos/app/chart/events/base-composition-api.vue @@ -4,7 +4,7 @@ diff --git a/examples/sites/demos/app/chart/events/base.vue b/examples/sites/demos/app/chart/events/base.vue index 1e5d97a6f..111713c2f 100644 --- a/examples/sites/demos/app/chart/events/base.vue +++ b/examples/sites/demos/app/chart/events/base.vue @@ -3,7 +3,7 @@ diff --git a/examples/sites/demos/app/collapse/accordion.vue b/examples/sites/demos/app/collapse/accordion.vue index 692c971b0..7a082ad1d 100644 --- a/examples/sites/demos/app/collapse/accordion.vue +++ b/examples/sites/demos/app/collapse/accordion.vue @@ -1,5 +1,5 @@ - diff --git a/examples/sites/demos/app/collapse/basic-usage-composition-api.vue b/examples/sites/demos/app/collapse/basic-usage-composition-api.vue index 866f599c8..427c4e429 100644 --- a/examples/sites/demos/app/collapse/basic-usage-composition-api.vue +++ b/examples/sites/demos/app/collapse/basic-usage-composition-api.vue @@ -20,7 +20,7 @@ - - - diff --git a/examples/sites/demos/app/collapse/custom-title-right.spec.ts b/examples/sites/demos/app/collapse/custom-title-right.spec.ts deleted file mode 100644 index 1d520d9a9..000000000 --- a/examples/sites/demos/app/collapse/custom-title-right.spec.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { test, expect } from '@playwright/test' - -test('Collapse 自定义面板标题右侧内容', async ({ page }) => { - page.on('pageerror', (exception) => expect(exception).toBeNull()) - await page.goto('http://localhost:7130/pc/collapse/custom-title-right') - - const titleRight = page.locator('.tiny-collapse-item__title__right') - await expect(titleRight).not.toHaveCount(0) - await expect(titleRight.nth(1)).toBeVisible() -}) diff --git a/examples/sites/demos/app/collapse/custom-title-right.vue b/examples/sites/demos/app/collapse/custom-title-right.vue deleted file mode 100644 index 7b03408e4..000000000 --- a/examples/sites/demos/app/collapse/custom-title-right.vue +++ /dev/null @@ -1,52 +0,0 @@ - - - - - diff --git a/examples/sites/demos/app/collapse/dynamic-disable-composition-api.vue b/examples/sites/demos/app/collapse/dynamic-disable-composition-api.vue index 82c09f3f1..129a36553 100644 --- a/examples/sites/demos/app/collapse/dynamic-disable-composition-api.vue +++ b/examples/sites/demos/app/collapse/dynamic-disable-composition-api.vue @@ -20,7 +20,7 @@ - diff --git a/examples/sites/demos/app/color-picker/alpha.vue b/examples/sites/demos/app/color-picker/alpha.vue index 2e11c595b..3b07f90e1 100644 --- a/examples/sites/demos/app/color-picker/alpha.vue +++ b/examples/sites/demos/app/color-picker/alpha.vue @@ -4,36 +4,31 @@ diff --git a/examples/sites/demos/app/color-picker/base.vue b/examples/sites/demos/app/color-picker/base.vue index f5dc1a3bf..ecf2f0a5f 100644 --- a/examples/sites/demos/app/color-picker/base.vue +++ b/examples/sites/demos/app/color-picker/base.vue @@ -4,11 +4,16 @@ - \ No newline at end of file + diff --git a/examples/sites/demos/app/color-picker/default-visible-composition-api.vue b/examples/sites/demos/app/color-picker/default-visible-composition-api.vue new file mode 100644 index 000000000..0f0da86d7 --- /dev/null +++ b/examples/sites/demos/app/color-picker/default-visible-composition-api.vue @@ -0,0 +1,10 @@ + + + diff --git a/examples/sites/demos/app/color-picker/default-visible.vue b/examples/sites/demos/app/color-picker/default-visible.vue index 13dc148bf..a896d1593 100644 --- a/examples/sites/demos/app/color-picker/default-visible.vue +++ b/examples/sites/demos/app/color-picker/default-visible.vue @@ -4,16 +4,14 @@ diff --git a/examples/sites/demos/app/color-picker/dynamic-color-change.vue b/examples/sites/demos/app/color-picker/dynamic-color-change.vue index 2d77ba84e..7dc62011f 100644 --- a/examples/sites/demos/app/color-picker/dynamic-color-change.vue +++ b/examples/sites/demos/app/color-picker/dynamic-color-change.vue @@ -1,27 +1,24 @@ diff --git a/examples/sites/demos/app/color-picker/event.vue b/examples/sites/demos/app/color-picker/event.vue index 1bf958768..dfa084fa2 100644 --- a/examples/sites/demos/app/color-picker/event.vue +++ b/examples/sites/demos/app/color-picker/event.vue @@ -4,36 +4,31 @@ diff --git a/examples/sites/demos/app/dialog-box/lock-scroll.vue b/examples/sites/demos/app/dialog-box/lock-scroll.vue index 1c0a123e1..567fa442a 100644 --- a/examples/sites/demos/app/dialog-box/lock-scroll.vue +++ b/examples/sites/demos/app/dialog-box/lock-scroll.vue @@ -1,10 +1,18 @@ diff --git a/examples/sites/demos/app/file-upload/custom-prefix.vue b/examples/sites/demos/app/file-upload/custom-prefix.vue index b9a368f1b..3246f6a26 100644 --- a/examples/sites/demos/app/file-upload/custom-prefix.vue +++ b/examples/sites/demos/app/file-upload/custom-prefix.vue @@ -15,8 +15,7 @@ diff --git a/examples/sites/demos/app/file-upload/custom-upload-request.vue b/examples/sites/demos/app/file-upload/custom-upload-request.vue index f5c5b63bd..5d117e22e 100644 --- a/examples/sites/demos/app/file-upload/custom-upload-request.vue +++ b/examples/sites/demos/app/file-upload/custom-upload-request.vue @@ -13,8 +13,7 @@ diff --git a/examples/sites/demos/app/file-upload/drag-upload.vue b/examples/sites/demos/app/file-upload/drag-upload.vue index 63e67ccd5..fde5a95b2 100644 --- a/examples/sites/demos/app/file-upload/drag-upload.vue +++ b/examples/sites/demos/app/file-upload/drag-upload.vue @@ -6,9 +6,8 @@ diff --git a/examples/sites/demos/app/file-upload/jalor-request.vue b/examples/sites/demos/app/file-upload/jalor-request.vue index 9f3c16e6b..7aa419c4c 100644 --- a/examples/sites/demos/app/file-upload/jalor-request.vue +++ b/examples/sites/demos/app/file-upload/jalor-request.vue @@ -7,8 +7,7 @@ diff --git a/examples/sites/demos/app/file-upload/max-file-count.vue b/examples/sites/demos/app/file-upload/max-file-count.vue index e4d3b2737..248508032 100644 --- a/examples/sites/demos/app/file-upload/max-file-count.vue +++ b/examples/sites/demos/app/file-upload/max-file-count.vue @@ -5,8 +5,7 @@ diff --git a/examples/sites/demos/app/file-upload/upload-events.vue b/examples/sites/demos/app/file-upload/upload-events.vue index f34d4d2b6..86ddb51bb 100644 --- a/examples/sites/demos/app/file-upload/upload-events.vue +++ b/examples/sites/demos/app/file-upload/upload-events.vue @@ -20,8 +20,7 @@ diff --git a/examples/sites/demos/app/form/form-validation.vue b/examples/sites/demos/app/form/form-validation.vue index 8338006b4..45e4e1dd5 100644 --- a/examples/sites/demos/app/form/form-validation.vue +++ b/examples/sites/demos/app/form/form-validation.vue @@ -1,13 +1,9 @@ 当前值:{{ value }} diff --git a/examples/sites/demos/app/switch/webdoc/switch.js b/examples/sites/demos/app/switch/webdoc/switch.js index 56da0f36a..954bcc854 100644 --- a/examples/sites/demos/app/switch/webdoc/switch.js +++ b/examples/sites/demos/app/switch/webdoc/switch.js @@ -53,28 +53,28 @@ export default { 'properties': [ { 'name': 'disabled', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '是否禁用', 'en-US': 'Disable' }, 'demoId': 'dynamic-disable' }, { 'name': 'false-value', - 'type': 'Boolean , String , Number', + 'type': 'boolean , string , number', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': 'switch 关闭时的值', 'en-US': 'Value when switch is disabled' }, 'demoId': 'custom-true-false-value' }, { 'name': 'true-value', - 'type': 'Boolean , String , Number', + 'type': 'boolean , string , number', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': 'switch 打开时的值', 'en-US': 'Value when switch is enabled' }, 'demoId': 'custom-true-false-value' }, { 'name': 'show-text', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': 'switch 是否显示内容里面的文字', @@ -84,7 +84,7 @@ export default { }, { 'name': 'mini', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '设置是否显示为 mini 模式。mini 模式下不会显示 slot 的内容。', @@ -94,7 +94,7 @@ export default { }, { 'name': 'modelValue / v-model', - 'type': 'Boolean , String , Number', + 'type': 'boolean , string , number', 'defaultValue': '', 'desc': { 'zh-CN': '绑定值', 'en-US': 'Bound Value' }, 'demoId': 'basic-usage' diff --git a/examples/sites/demos/app/tabs/webdoc/tabs.js b/examples/sites/demos/app/tabs/webdoc/tabs.js index 4e7dafadb..a93add2ac 100644 --- a/examples/sites/demos/app/tabs/webdoc/tabs.js +++ b/examples/sites/demos/app/tabs/webdoc/tabs.js @@ -219,7 +219,7 @@ export default { 'properties': [ { 'name': 'tab-style', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '标签页样式;该属性的可选值为 card / border-card / button-card', @@ -229,7 +229,7 @@ export default { }, { 'name': 'popper-class', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '为 popper 添加类名(可参考 popover 组件)', @@ -239,14 +239,14 @@ export default { }, { 'name': 'with-add', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '标签是否可增加', 'en-US': 'Whether tags can be added' }, 'demoId': 'with-add' }, { 'name': 'with-close', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '标签是否可关闭;标签是否可关闭', @@ -256,7 +256,7 @@ export default { }, { 'name': 'editable', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '标签是否同时可增加和关闭', @@ -266,7 +266,7 @@ export default { }, { 'name': 'show-more-tabs', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '当标签页超过一定宽度时将显示 更多 ,鼠标悬停到 更多 时,将显示超出宽度的标签页。', @@ -277,7 +277,7 @@ export default { }, { 'name': 'modelValue / v-model', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 第一个选项卡的 name', 'desc': { 'zh-CN': '绑定值,选中选项卡的 name', @@ -287,7 +287,7 @@ export default { }, { 'name': 'position', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 top', 'desc': { 'zh-CN': '选项卡所在位置;该属性的可选值为 top/right/bottom/left', @@ -297,7 +297,7 @@ export default { }, { 'name': 'stretch', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '标签的宽度是否自撑开', 'en-US': 'Whether the label width is self-expanded' }, 'demoId': 'stretch-wh' @@ -315,14 +315,14 @@ export default { }, { 'name': 'active-name', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '激活当前页面', 'en-US': 'Activate the current page' }, 'demoId': 'tab-style-card' }, { 'name': 'size', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '设置 tabs 标签页尺寸,当与 tabStyle 为 card 或者 border-card 时生效, 该属性可选值为 small', @@ -333,7 +333,7 @@ export default { }, { 'name': 'drop-config', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': @@ -345,13 +345,13 @@ export default { }, { 'name': 'tooltip-config', - 'type': 'Object , String', + 'type': 'object , string', 'defaultValue': '', 'desc': { 'zh-CN': - '设置文字超出提示, Object类型的值参考tooltip组件配置,如果想使用默认的title属性,可设置为String 类型,值为title,【3.8.0版本新增】', + '设置文字超出提示, object类型的值参考tooltip组件配置,如果想使用默认的title属性,可设置为String 类型,值为title,【3.8.0版本新增】', 'en-US': - 'Set the message indicating that the text exceeds the limit. For details about the value of the Object type, see the configuration of the tooltip component. If you want to use the default title attribute, set it to the String type and set it to title. [Added in 3.8.0]' + 'Set the message indicating that the text exceeds the limit. For details about the value of the object type, see the configuration of the tooltip component. If you want to use the default title attribute, set it to the string type and set it to title. [Added in 3.8.0]' }, 'demoId': 'position-left' } diff --git a/examples/sites/demos/app/tag-group/basic-usage-composition-api.vue b/examples/sites/demos/app/tag-group/basic-usage-composition-api.vue index 82d929283..0569eb80d 100644 --- a/examples/sites/demos/app/tag-group/basic-usage-composition-api.vue +++ b/examples/sites/demos/app/tag-group/basic-usage-composition-api.vue @@ -9,91 +9,38 @@ import { TagGroup as TinyTagGroup } from '@opentiny/vue' const data = ref([ { name: '标签一', - type: 'default' }, { name: '标签二', - type: 'default' + type: 'info' }, { name: '标签三', - type: 'default' + type: 'success' }, { name: '标签四', - type: 'default' + type: 'warning' }, { name: '标签五', - type: 'default' + type: 'danger' }, { name: '标签六', - type: 'default' + type: 'info' }, { name: '标签七', - type: 'default' + type: 'success' }, { name: '标签八', - type: 'default' + type: 'warning' }, { name: '标签九', - type: 'default' - }, - { - name: '标签十', - type: 'default' - }, - { - name: '标签十一', - type: 'default' - }, - { - name: '标签十二', - type: 'default' - }, - { - name: '标签十三', - type: 'default' - }, - { - name: '标签十四', - type: 'default' - }, - { - name: '标签十五', - type: 'default' - }, - { - name: '标签十六', - type: 'default' - }, - { - name: '标签十七', - type: 'default' - }, - { - name: '标签十八', - type: 'default' - }, - { - name: '标签十九', - type: 'default' - }, - { - name: '标签二十', - type: 'default' - }, - { - name: '标签二十一', - type: 'default' - }, - { - name: '标签二十二', - type: 'default' + type: 'danger' } ]) diff --git a/examples/sites/demos/app/tag-group/basic-usage.vue b/examples/sites/demos/app/tag-group/basic-usage.vue index 6418301b3..b51a34bd2 100644 --- a/examples/sites/demos/app/tag-group/basic-usage.vue +++ b/examples/sites/demos/app/tag-group/basic-usage.vue @@ -14,91 +14,38 @@ export default { data: [ { name: '标签一', - type: 'default' }, { name: '标签二', - type: 'default' + type: 'info' }, { name: '标签三', - type: 'default' + type: 'success' }, { name: '标签四', - type: 'default' + type: 'warning' }, { name: '标签五', - type: 'default' + type: 'danger' }, { name: '标签六', - type: 'default' + type: 'info' }, { name: '标签七', - type: 'default' + type: 'success' }, { name: '标签八', - type: 'default' + type: 'warning' }, { name: '标签九', - type: 'default' - }, - { - name: '标签十', - type: 'default' - }, - { - name: '标签十一', - type: 'default' - }, - { - name: '标签十二', - type: 'default' - }, - { - name: '标签十三', - type: 'default' - }, - { - name: '标签十四', - type: 'default' - }, - { - name: '标签十五', - type: 'default' - }, - { - name: '标签十六', - type: 'default' - }, - { - name: '标签十七', - type: 'default' - }, - { - name: '标签十八', - type: 'default' - }, - { - name: '标签十九', - type: 'default' - }, - { - name: '标签二十', - type: 'default' - }, - { - name: '标签二十一', - type: 'default' - }, - { - name: '标签二十二', - type: 'default' + type: 'danger' } ] } diff --git a/examples/sites/demos/app/tag-group/tag-group-effect-composition-api.vue b/examples/sites/demos/app/tag-group/tag-group-effect-composition-api.vue index e9eb29c91..f0cb4ffeb 100644 --- a/examples/sites/demos/app/tag-group/tag-group-effect-composition-api.vue +++ b/examples/sites/demos/app/tag-group/tag-group-effect-composition-api.vue @@ -1,12 +1,12 @@ @@ -16,11 +16,11 @@ import { ref } from 'vue' import { TagGroup as TinyTagGroup } from '@opentiny/vue' const items = ref([ - { type: 'success', name: '标签一' }, - { type: 'success', name: '标签二' }, + { name: '标签一' }, + { type: 'info', name: '标签二' }, { type: 'success', name: '标签三' }, - { type: 'success', name: '标签四' }, - { type: 'success', name: '标签五' }, - { type: 'success', name: '标签六' } + { type: 'warning', name: '标签四' }, + { type: 'danger', name: '标签五' }, + { name: '标签六' } ]) diff --git a/examples/sites/demos/app/tag-group/tag-group-effect.vue b/examples/sites/demos/app/tag-group/tag-group-effect.vue index 541b54d8c..c17a4fe8e 100644 --- a/examples/sites/demos/app/tag-group/tag-group-effect.vue +++ b/examples/sites/demos/app/tag-group/tag-group-effect.vue @@ -1,12 +1,12 @@ @@ -21,14 +21,14 @@ export default { data() { return { items: [ - { type: 'success', name: '标签一' }, - { type: 'success', name: '标签二' }, + { name: '标签一' }, + { type: 'info', name: '标签二' }, { type: 'success', name: '标签三' }, - { type: 'success', name: '标签四' }, - { type: 'success', name: '标签五' }, - { type: 'success', name: '标签六' } + { type: 'warning', name: '标签四' }, + { type: 'danger', name: '标签五' }, + { name: '标签六' } ] } } } - + \ No newline at end of file diff --git a/examples/sites/demos/app/tag-group/tag-group-event-composition-api.vue b/examples/sites/demos/app/tag-group/tag-group-event-composition-api.vue index 0df111e0a..7f5201240 100644 --- a/examples/sites/demos/app/tag-group/tag-group-event-composition-api.vue +++ b/examples/sites/demos/app/tag-group/tag-group-event-composition-api.vue @@ -8,92 +8,70 @@ import { TagGroup as TinyTagGroup, Modal } from '@opentiny/vue' const data = ref([ { - name: '标签一', - type: 'default' + name: '标签一' }, { - name: '标签二', - type: 'default' + name: '标签二' }, { - name: '标签三', - type: 'default' + name: '标签三' }, { - name: '标签四', - type: 'default' + name: '标签四' }, { - name: '标签五', - type: 'default' + name: '标签五' }, { - name: '标签六', - type: 'default' + name: '标签六' }, { - name: '标签七', - type: 'default' + name: '标签七' }, { - name: '标签八', - type: 'default' + name: '标签八' }, { - name: '标签九', - type: 'default' + name: '标签九' }, { - name: '标签十', - type: 'default' + name: '标签十' }, { - name: '标签十一', - type: 'default' + name: '标签十一' }, { - name: '标签十二', - type: 'default' + name: '标签十二' }, { - name: '标签十三', - type: 'default' + name: '标签十三' }, { - name: '标签十四', - type: 'default' + name: '标签十四' }, { - name: '标签十五', - type: 'default' + name: '标签十五' }, { - name: '标签十六', - type: 'default' + name: '标签十六' }, { - name: '标签十七', - type: 'default' + name: '标签十七' }, { - name: '标签十八', - type: 'default' + name: '标签十八' }, { - name: '标签十九', - type: 'default' + name: '标签十九' }, { - name: '标签二十', - type: 'default' + name: '标签二十' }, { - name: '标签二十一', - type: 'default' + name: '标签二十一' }, { - name: '标签二十二', - type: 'default' + name: '标签二十二' } ]) diff --git a/examples/sites/demos/app/tag-group/tag-group-event.vue b/examples/sites/demos/app/tag-group/tag-group-event.vue index 2769f541d..0c9229286 100644 --- a/examples/sites/demos/app/tag-group/tag-group-event.vue +++ b/examples/sites/demos/app/tag-group/tag-group-event.vue @@ -13,92 +13,70 @@ export default { return { data: [ { - name: '标签一', - type: 'default' + name: '标签一' }, { - name: '标签二', - type: 'default' + name: '标签二' }, { - name: '标签三', - type: 'default' + name: '标签三' }, { - name: '标签四', - type: 'default' + name: '标签四' }, { - name: '标签五', - type: 'default' + name: '标签五' }, { - name: '标签六', - type: 'default' + name: '标签六' }, { - name: '标签七', - type: 'default' + name: '标签七' }, { - name: '标签八', - type: 'default' + name: '标签八' }, { - name: '标签九', - type: 'default' + name: '标签九' }, { - name: '标签十', - type: 'default' + name: '标签十' }, { - name: '标签十一', - type: 'default' + name: '标签十一' }, { - name: '标签十二', - type: 'default' + name: '标签十二' }, { - name: '标签十三', - type: 'default' + name: '标签十三' }, { - name: '标签十四', - type: 'default' + name: '标签十四' }, { - name: '标签十五', - type: 'default' + name: '标签十五' }, { - name: '标签十六', - type: 'default' + name: '标签十六' }, { - name: '标签十七', - type: 'default' + name: '标签十七' }, { - name: '标签十八', - type: 'default' + name: '标签十八' }, { - name: '标签十九', - type: 'default' + name: '标签十九' }, { - name: '标签二十', - type: 'default' + name: '标签二十' }, { - name: '标签二十一', - type: 'default' + name: '标签二十一' }, { - name: '标签二十二', - type: 'default' + name: '标签二十二' } ] } diff --git a/examples/sites/demos/app/tag-group/tag-group-size-composition-api.vue b/examples/sites/demos/app/tag-group/tag-group-size-composition-api.vue index 954a46b94..f36d5c92e 100644 --- a/examples/sites/demos/app/tag-group/tag-group-size-composition-api.vue +++ b/examples/sites/demos/app/tag-group/tag-group-size-composition-api.vue @@ -1,12 +1,12 @@ @@ -16,11 +16,11 @@ import { ref } from 'vue' import { TagGroup as TinyTagGroup } from '@opentiny/vue' const items = ref([ - { type: 'default', name: '标签一' }, - { type: 'default', name: '标签二' }, - { type: 'default', name: '标签三' }, - { type: 'default', name: '标签四' }, - { type: 'default', name: '标签五' }, - { type: 'default', name: '标签六' } + { type: '', name: '标签一' }, + { type: 'info', name: '标签二' }, + { type: 'success', name: '标签三' }, + { type: 'warning', name: '标签四' }, + { type: 'danger', name: '标签五' }, + { type: 'info', name: '标签六' } ]) diff --git a/examples/sites/demos/app/tag-group/tag-group-size.vue b/examples/sites/demos/app/tag-group/tag-group-size.vue index 1fae2b4cc..4027c3fd4 100644 --- a/examples/sites/demos/app/tag-group/tag-group-size.vue +++ b/examples/sites/demos/app/tag-group/tag-group-size.vue @@ -1,12 +1,12 @@ @@ -21,12 +21,12 @@ export default { data() { return { items: [ - { type: 'default', name: '标签一' }, - { type: 'default', name: '标签二' }, - { type: 'default', name: '标签三' }, - { type: 'default', name: '标签四' }, - { type: 'default', name: '标签五' }, - { type: 'default', name: '标签六' } + { type: '', name: '标签一' }, + { type: 'info', name: '标签二' }, + { type: 'success', name: '标签三' }, + { type: 'warning', name: '标签四' }, + { type: 'danger', name: '标签五' }, + { type: 'info', name: '标签六' } ] } } diff --git a/examples/sites/demos/app/tag-group/tag-group-type-composition-api.vue b/examples/sites/demos/app/tag-group/tag-group-type-composition-api.vue deleted file mode 100644 index 553f02c86..000000000 --- a/examples/sites/demos/app/tag-group/tag-group-type-composition-api.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - diff --git a/examples/sites/demos/app/tag-group/tag-group-type.vue b/examples/sites/demos/app/tag-group/tag-group-type.vue deleted file mode 100644 index 18ee22bbb..000000000 --- a/examples/sites/demos/app/tag-group/tag-group-type.vue +++ /dev/null @@ -1,55 +0,0 @@ - - - diff --git a/examples/sites/demos/app/tag-group/webdoc/tag-group.en.md b/examples/sites/demos/app/tag-group/webdoc/tag-group.en.md new file mode 100644 index 000000000..31348fe7e --- /dev/null +++ b/examples/sites/demos/app/tag-group/webdoc/tag-group.en.md @@ -0,0 +1,7 @@ +--- +title: TagGroup +--- + +# TagGroup + +
TagGroup tagGroup component, used to mark transaction attributes and dimensions.
diff --git a/examples/sites/demos/app/tag-group/webdoc/tag-group.js b/examples/sites/demos/app/tag-group/webdoc/tag-group.js index 48e65779f..a1b87954d 100644 --- a/examples/sites/demos/app/tag-group/webdoc/tag-group.js +++ b/examples/sites/demos/app/tag-group/webdoc/tag-group.js @@ -5,18 +5,13 @@ export default { { 'demoId': 'basic-usage', 'name': { 'zh-CN': '基本用法', 'en-US': 'basic usage' }, - 'desc': { 'zh-CN': '

data 为数据源

\n', 'en-US': 'data is the data source. ' }, - 'codeFiles': ['basic-usage.vue'] - }, - { - 'demoId': 'tag-group-type', - 'name': { 'zh-CN': '类型', 'en-US': 'type' }, 'desc': { 'zh-CN': - '

通过 type 属性可以为标签设置相应的类型,可选值 (success / warning / alerting / error / info / default) ,默认值为 info

\n', - 'en-US': 'You can set the type of a tag through the type attribute. The value can be (success / warning / alerting / error / info / default). The default value is info. ' + '

通过 name 属性设置对应标签名
通过 type 属性可以为标签设置相应的类型,可选值 (success / warning / info / danger )

\n', + 'en-US': + 'Set the name of the corresponding tag through the name attribute.
You can set the type of a tag through the type attribute. The value can be (success / warning / info / danger). info. ' }, - 'codeFiles': ['tag-group-type.vue'] + 'codeFiles': ['basic-usage.vue'] }, { 'demoId': 'tag-group-size', @@ -24,7 +19,8 @@ export default { 'desc': { 'zh-CN': '

可通过 size 设置标签组标签大小,可选值 medium / small / mini,默认值为 medium

\n', - 'en-US': 'You can use size to set the label size of a label group. The options are medium / small / mini. The default value is medium. ' + 'en-US': + 'You can use size to set the label size of a label group. The options are medium / small / mini. The default value is medium. ' }, 'codeFiles': ['tag-group-size.vue'] }, @@ -34,7 +30,8 @@ export default { 'desc': { 'zh-CN': '

可通过 effect 设置 TagGroup 标签组 标签主题,可选值 dark / light / plain,默认值为 light

\n', - 'en-US': 'You can use effect to set the tag group tag theme. The options are dark / light / plain. The default value is light. ' + 'en-US': + 'You can use effect to set the tag group tag theme. The options are dark / light / plain. The default value is light. ' }, 'codeFiles': ['tag-group-effect.vue'] }, @@ -44,7 +41,8 @@ export default { 'desc': { 'zh-CN': '

TagGroup 标签组提供了 item-click事件,item-click 事件默认提供的参数有 item,index,event

\n', - 'en-US': 'The TagGroup tag group provides the item-click event. By default, the item-click event provides the following parameters: item, index, and event. ' + 'en-US': + 'The TagGroup tag group provides the item-click event. By default, the item-click event provides the following parameters: item, index, and event. ' }, 'codeFiles': ['tag-group-event.vue'] } @@ -63,16 +61,22 @@ export default { }, { 'name': 'size', - 'type': 'String', + 'type': 'string', 'defaultValue': '默认值为 medium', - 'desc': { 'zh-CN': '尺寸;该属性的可选值为 medium / small / mini', 'en-US': 'Size, the value of this attribute can be dark / light / plain. ' }, + 'desc': { + 'zh-CN': '尺寸;该属性的可选值为 medium / small / mini', + 'en-US': 'Size, the value of this attribute can be dark / light / plain. ' + }, 'demoId': 'tag-group-size' }, { 'name': 'effect', - 'type': 'String', + 'type': 'string', 'defaultValue': '默认值为 light', - 'desc': { 'zh-CN': '主题;该属性的可选值为 dark / light / plain', 'en-US': 'Effect, the value of this attribute can be dark / light / plain. ' }, + 'desc': { + 'zh-CN': '主题;该属性的可选值为 dark / light / plain', + 'en-US': 'Effect, the value of this attribute can be dark / light / plain. ' + }, 'demoId': 'tag-group-effect' } ], diff --git a/examples/sites/demos/app/tag/webdoc/tag.js b/examples/sites/demos/app/tag/webdoc/tag.js index 4fd97ba9c..bdbafd9a3 100644 --- a/examples/sites/demos/app/tag/webdoc/tag.js +++ b/examples/sites/demos/app/tag/webdoc/tag.js @@ -110,21 +110,21 @@ export default { 'properties': [ { 'name': 'hit', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '是否有边框描边', 'en-US': 'Whether there is a border stroke' }, 'demoId': 'hit' }, { 'name': 'closeable', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '', 'desc': { 'zh-CN': '是否可关闭', 'en-US': 'Can be disabled' }, 'demoId': 'create' }, { 'name': 'color', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '颜色,支持 rgb,rgba,hex 三种格式;背景色', @@ -134,7 +134,7 @@ export default { }, { 'name': 'type', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '显示类型;该属性的可选值为 success / info / warning / danger', @@ -144,7 +144,7 @@ export default { }, { 'name': 'size', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '尺寸;该属性的可选值为 medium / small / mini', @@ -154,7 +154,7 @@ export default { }, { 'name': 'effect', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 light', 'desc': { 'zh-CN': '主题;该属性的可选值为 dark / light / plain', @@ -164,14 +164,14 @@ export default { }, { 'name': 'disabled', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '是否禁用', 'en-US': 'Whether to disable' }, 'demoId': 'disabled' }, { 'name': 'value', - 'type': 'Number, String', + 'type': 'number, string', 'defaultValue': '', 'desc': { 'zh-CN': '通过绑定此属性设置自定义内容【3.9.1新增】', diff --git a/examples/sites/demos/app/text-popup/webdoc/text-popup.js b/examples/sites/demos/app/text-popup/webdoc/text-popup.js index fb63acdbc..b4afbedba 100644 --- a/examples/sites/demos/app/text-popup/webdoc/text-popup.js +++ b/examples/sites/demos/app/text-popup/webdoc/text-popup.js @@ -69,14 +69,14 @@ export default { 'properties': [ { 'name': 'value', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '绑定值', 'en-US': 'Bound Value' }, 'demoId': 'value' }, { 'name': 'placeholder', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '设置输入框内的提示占位文本', @@ -86,21 +86,21 @@ export default { }, { 'name': 'readonly', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '设置是否只读', 'en-US': 'Set whether to read only' }, 'demoId': 'readonly' }, { 'name': 'width', - 'type': 'Number , String', + 'type': 'number , string', 'defaultValue': '该属性的默认值为 150', 'desc': { 'zh-CN': '设置宽度', 'en-US': 'Set width' }, 'demoId': 'width' }, { 'name': 'separtor', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 ,', 'desc': { 'zh-CN': '分隔符', 'en-US': 'Separator' }, 'demoId': 'separtor' diff --git a/examples/sites/demos/app/time-line/webdoc/time-line.js b/examples/sites/demos/app/time-line/webdoc/time-line.js index 14362269b..6290e86d7 100644 --- a/examples/sites/demos/app/time-line/webdoc/time-line.js +++ b/examples/sites/demos/app/time-line/webdoc/time-line.js @@ -145,21 +145,21 @@ export default { }, { 'name': 'vertical', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '竖式步骤条', 'en-US': 'vertical step bar' }, 'demoId': 'vertical-step' }, { 'name': 'horizontal', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '是否为横向步骤条', 'en-US': 'Whether it is a horizontal step bar' }, 'demoId': 'horizontal-step' }, { 'name': 'show-number', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '设置未完成的状态是否显示序号', @@ -169,14 +169,14 @@ export default { }, { 'name': 'name-field', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 name', 'desc': { 'zh-CN': '设置节点信息中名称对应的字段名', 'en-US': 'Set the field name in the node information.' }, 'demoId': 'different-data' }, { 'name': 'time-field', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 time', 'desc': { 'zh-CN': '设置节点时间信息对应的字段名', @@ -186,14 +186,14 @@ export default { }, { 'name': 'start', - 'type': 'Number', + 'type': 'number', 'defaultValue': '该属性的默认值为 1', 'desc': { 'zh-CN': '设置步骤条序号起始值', 'en-US': 'Set the start step sequence number.' }, 'demoId': 'set-start-value' }, { 'name': 'space', - 'type': 'String, Numer', + 'type': 'string, Numer', 'defaultValue': '', 'desc': { 'zh-CN': '设置时间线节点的宽度, 取值为数字、带长度单位数值与百分比,数字会默认以px为长度单位。', @@ -203,17 +203,28 @@ export default { }, { 'name': 'active', - 'type': 'Number', + 'type': 'number', 'defaultValue': '该属性的默认值为 -1', 'desc': { 'zh-CN': '设置步骤条的选中步骤', 'en-US': 'Set the selected step of the step bar' }, 'demoId': 'basic-usage' }, { 'name': 'reverse', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '设置竖向步骤条的方向', 'en-US': 'Set the direction of the vertical step bar' }, 'demoId': 'vertical-step-reverse' + }, + { + 'name': 'line-width', + 'type': 'string | number', + 'defaultValue': '--', + 'desc': { + 'zh-CN': '连接线长度,仅text-position取值为true时生效,设置后space属性失效。', + 'en-US': + 'The length of the connection line and it is valid only when text-position is set to true. After setting, the space property is invalid' + }, + 'demoId': '' } ], 'events': [ diff --git a/examples/sites/demos/app/time-picker/webdoc/time-picker.js b/examples/sites/demos/app/time-picker/webdoc/time-picker.js index 9899a0ea3..217d733c9 100644 --- a/examples/sites/demos/app/time-picker/webdoc/time-picker.js +++ b/examples/sites/demos/app/time-picker/webdoc/time-picker.js @@ -149,7 +149,7 @@ export default { 'properties': [ { 'name': 'arrow-control', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '是否使用箭头进行时间选择', @@ -159,14 +159,14 @@ export default { }, { 'name': 'clearable', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '是否显示清除按钮', 'en-US': 'Display Clear Button' }, 'demoId': 'clearable' }, { 'name': 'clear-icon', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 IconOperationfaild', 'desc': { 'zh-CN': '自定义清空图标', @@ -187,21 +187,21 @@ export default { }, { 'name': 'disabled', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '禁用', 'en-US': 'Disabled' }, 'demoId': 'disabled' }, { 'name': 'editable', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '文本框可输入', 'en-US': 'The text box can be entered.' }, 'demoId': 'editable' }, { 'name': 'end-placeholder', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '范围选择时结束日期的占位内容', @@ -211,7 +211,7 @@ export default { }, { 'name': 'is-range', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '是否为时间范围选择,仅对有效', @@ -232,28 +232,28 @@ export default { }, { 'name': 'name', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '原生 input name 属性', 'en-US': 'Native input name attribute' }, 'demoId': 'name' }, { 'name': 'picker-options', - 'type': 'Object', + 'type': 'object', 'defaultValue': '该属性的默认值为 {}', 'desc': { 'zh-CN': '当前时间日期选择器特有的选项参考下表', 'en-US': 'Separator for selecting a range' }, 'demoId': 'basic-usage1' }, { 'name': 'placeholder', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为空', 'desc': { 'zh-CN': '非范围选择时的占位内容', 'en-US': 'Placeholder content for non-range selection' }, 'demoId': 'placeholder' }, { 'name': 'popper-append-to-body', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '是否将弹出框插入至 body 元素。在弹出框的定位出现问题时,可将该属性设置为 false', @@ -263,7 +263,7 @@ export default { }, { 'name': 'popper-class', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': 'TimePicker 下拉框的 class 类名', @@ -273,7 +273,7 @@ export default { }, { 'name': 'range-separator', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 - ', 'desc': { 'zh-CN': '选择范围时的分隔符', @@ -284,7 +284,7 @@ export default { }, { 'name': 'size', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '输入框尺寸;该属性的可选值为 medium,small, mini', @@ -294,7 +294,7 @@ export default { }, { 'name': 'start-placeholder', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '范围选择时开始日期的占位内容', @@ -304,7 +304,7 @@ export default { }, { 'name': 'step', - 'type': 'Object', + 'type': 'object', 'defaultValue': '', 'desc': { 'zh-CN': '自定义时分秒步长', @@ -314,7 +314,7 @@ export default { }, { 'name': 'suffix-icon', - 'type': 'String', + 'type': 'string', 'defaultValue': '该自定后置图标, 该属性的默认值为 IconCalendar', 'desc': { 'zh-CN': '自定义头部图标的类名', 'en-US': 'Custom Clear Icon' }, 'demoId': 'suffix-icon' @@ -326,8 +326,8 @@ export default { 'type': 'Function(arg)', 'defaultValue': '', 'desc': { - 'zh-CN': '当 input 失去焦点时触发;arg:{Object 时间组件Vue对象}', - 'en-US': 'This event is triggered when the input loses focus. arg:{Object Time Component Vue Object}' + 'zh-CN': '当 input 失去焦点时触发;arg:{object 时间组件Vue对象}', + 'en-US': 'This event is triggered when the input loses focus. arg:{object Time Component Vue Object}' }, 'demoId': 'event' }, @@ -348,8 +348,8 @@ export default { 'type': 'Function(arg)', 'defaultValue': '', 'desc': { - 'zh-CN': '当 input 获得焦点时触发;arg:{Object 时间组件Vue对象}', - 'en-US': 'This event is triggered when the input is focused. arg:{Object Time Component Vue Object}' + 'zh-CN': '当 input 获得焦点时触发;arg:{object 时间组件Vue对象}', + 'en-US': 'This event is triggered when the input is focused. arg:{object Time Component Vue object}' }, 'demoId': 'event' } diff --git a/examples/sites/demos/app/time-select/webdoc/time-select.js b/examples/sites/demos/app/time-select/webdoc/time-select.js index d927a5dd0..85c218e90 100644 --- a/examples/sites/demos/app/time-select/webdoc/time-select.js +++ b/examples/sites/demos/app/time-select/webdoc/time-select.js @@ -135,28 +135,28 @@ export default { }, { 'name': 'disabled', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '禁用', 'en-US': 'Disabled' }, 'demoId': 'disabled' }, { 'name': 'editable', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '文本框可输入', 'en-US': 'The text box can be entered.' }, 'demoId': 'basic-usage' }, { 'name': 'clearable', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '是否显示清除按钮', 'en-US': 'Display Clear Button' }, 'demoId': 'clear-icon' }, { 'name': 'size', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '输入框尺寸;该属性的可选值为 medium,small, mini', @@ -166,14 +166,14 @@ export default { }, { 'name': 'placeholder', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为空', 'desc': { 'zh-CN': '非范围选择时的占位内容', 'en-US': 'Placeholder content for non-range selection' }, 'demoId': 'basic-usage' }, { 'name': 'popper-class', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': 'TimePicker 下拉框的 class 类名', @@ -183,7 +183,7 @@ export default { }, { 'name': 'picker-options', - 'type': 'Object', + 'type': 'object', 'defaultValue': '该属性的默认值为 {}', 'desc': { 'zh-CN': '当前时间日期选择器特有的选项参考下表', @@ -204,28 +204,28 @@ export default { }, { 'name': 'name', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '原生属性', 'en-US': 'Native attribute' }, 'demoId': 'name' }, { 'name': 'suffix-icon', - 'type': 'String', + 'type': 'string', 'defaultValue': '该自定后置图标,该属性的默认值为 IconCalendar', 'desc': { 'zh-CN': '自定义头部图标', 'en-US': 'Custom header icon' }, 'demoId': 'suffix-icon' }, { 'name': 'clear-icon', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 IconOperationfaild', 'desc': { 'zh-CN': '自定义清空图标', 'en-US': 'Customized clear icon' }, 'demoId': 'clear-icon' }, { 'name': 'popper-append-to-body', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '是否将弹出框插入至 body 元素。在弹出框的定位出现问题时,可将该属性设置为 false', diff --git a/examples/sites/demos/app/toggle-menu/webdoc/toggle-menu.js b/examples/sites/demos/app/toggle-menu/webdoc/toggle-menu.js index f2107f37e..7abb93fac 100644 --- a/examples/sites/demos/app/toggle-menu/webdoc/toggle-menu.js +++ b/examples/sites/demos/app/toggle-menu/webdoc/toggle-menu.js @@ -173,7 +173,7 @@ export default { }, { 'name': 'draggable', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '', 'desc': { 'zh-CN': '设置是否开启拖拽节点的功能,默认值为 `false`', @@ -183,7 +183,7 @@ export default { }, { 'name': 'show-filter', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '', 'desc': { 'zh-CN': '设置是否展示过滤搜索框,默认为 `true`。', @@ -193,14 +193,14 @@ export default { }, { 'name': 'icon', - 'type': 'Object', + 'type': 'object', 'defaultValue': '', 'desc': { 'zh-CN': '自定义菜单左侧图标。', 'en-US': 'Customize the icon on the left of the menu.' }, 'demoId': 'custom-icon' }, { 'name': 'default-expand-all', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '', 'desc': { 'zh-CN': '设置菜单默认是否展开所有节点,默认为 false 。', @@ -210,7 +210,7 @@ export default { }, { 'name': 'expand-on-click-node', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '', 'desc': { 'zh-CN': '设置是否可以通过点击节点展开/收起菜单,默认为 false。', @@ -220,14 +220,14 @@ export default { }, { 'name': 'placeholder', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '输入框占位符。', 'en-US': 'Placeholder in the text box.' }, 'demoId': 'show-filter' }, { 'name': 'ellipsis', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '', 'desc': { 'zh-CN': '菜单内容超长时省略显示,默认为 false 。', @@ -237,7 +237,7 @@ export default { }, { 'name': 'wrap', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '', 'desc': { 'zh-CN': '菜单内容超长时换行显示,默认为 false 。', @@ -247,7 +247,7 @@ export default { }, { 'name': 'automatic-filtering', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '', 'desc': { 'zh-CN': '输入框输入内容时是否自动过滤内容,默认是 true 。', @@ -258,7 +258,7 @@ export default { }, { 'name': 'props', - 'type': 'Object', + 'type': 'object', 'defaultValue': "该属性的默认值为 {children: 'children',label: 'label',disabled: 'disabled'}", 'desc': { 'zh-CN': '配置数据选项的映射字段名称', 'en-US': 'Configuration data option mapping field name' }, 'demoId': 'toggle-props' @@ -289,9 +289,9 @@ export default { 'defaultValue': '', 'desc': { 'zh-CN': - '点击节点后的事件。;点击节点后触发的回调函数;//参数arg1:\n{children: 点击节点的子节点, id: 点击节点的id ,label: 点击节点的title} \n//参数arg2:\n Object 当前点击节点的数据信息对象 ', + '点击节点后的事件。;点击节点后触发的回调函数;//参数arg1:\n{children: 点击节点的子节点, id: 点击节点的id ,label: 点击节点的title} \n//参数arg2:\n object 当前点击节点的数据信息对象 ', 'en-US': - 'Indicates that a node is clicked. ;Callback function triggered after a node is clicked. //Parameter arg1:\n{children: child node of the clicked node, id: ID of the clicked node, label: title of the clicked node} \n//Parameter arg2:\n Object Data information object of the currently clicked node' + 'Indicates that a node is clicked. ;Callback function triggered after a node is clicked. //Parameter arg1:\n{children: child node of the clicked node, id: ID of the clicked node, label: title of the clicked node} \n//Parameter arg2:\n object Data information object of the currently clicked node' }, 'demoId': 'node-click' }, @@ -313,9 +313,9 @@ export default { 'defaultValue': '', 'desc': { 'zh-CN': - '收缩节点后的事件。;节点被关闭时触发的事件;//参数arg1:Object \n{children: 点击节点的子节点,id: 点击节点的id,label: 点击节点的title}\n//参数arg2:Object 当前点击节点的数据信息对象', + '收缩节点后的事件。;节点被关闭时触发的事件;//参数arg1:object \n{children: 点击节点的子节点,id: 点击节点的id,label: 点击节点的title}\n//参数arg2:object 当前点击节点的数据信息对象', 'en-US': - 'Event after the node is scaled in. ; Event triggered when a node is shut down; //Parameter arg1:Object \n{children: child node of the clicked node, id: ID of the clicked node, label: title of the clicked node}\n//Parameter arg2:Object Data information object of the currently clicked node' + 'Event after the node is scaled in. ; Event triggered when a node is shut down; //Parameter arg1:object \n{children: child node of the clicked node, id: ID of the clicked node, label: title of the clicked node}\n//Parameter arg2:object Data information object of the currently clicked node' }, 'demoId': 'node-collapse' }, @@ -325,9 +325,9 @@ export default { 'defaultValue': '', 'desc': { 'zh-CN': - '节点开始拖拽时触发的事件。;节点开始拖拽时触发的事件。;//参数: \narg1:Object 当前拖拽节点的数据信息对象\narg2:event ', + '节点开始拖拽时触发的事件。;节点开始拖拽时触发的事件。;//参数: \narg1:object 当前拖拽节点的数据信息对象\narg2:event ', 'en-US': - 'Event triggered when a node starts to be dragged. ;Event triggered when a node starts to be dragged. ; / / Parameters:\narg1:Object Data information object of the current node \narg2:event' + 'Event triggered when a node starts to be dragged. ;Event triggered when a node starts to be dragged. ; / / Parameters:\narg1:object Data information object of the current node \narg2:event' }, 'demoId': 'drag-events' }, @@ -337,9 +337,9 @@ export default { 'defaultValue': '', 'desc': { 'zh-CN': - '拖拽进入其他节点时触发的事件;拖拽进入其他节点时触发的事件;//参数\narg1:Object 当前拖拽节点的数据信息对象\narg2: Object 当前点击节点拖拽后位置的节点数据信息对象', + '拖拽进入其他节点时触发的事件;拖拽进入其他节点时触发的事件;//参数\narg1:object 当前拖拽节点的数据信息对象\narg2: object 当前点击节点拖拽后位置的节点数据信息对象', 'en-US': - 'This event is triggered when a user drags a node to another node. Event triggered when a user drags a node to another node. / / Parameter \narg1: Object Data information object of the current node \narg2: Object Data information object of the current node after the node is dragged.' + 'This event is triggered when a user drags a node to another node. Event triggered when a user drags a node to another node. / / Parameter \narg1: object Data information object of the current node \narg2: object Data information object of the current node after the node is dragged.' }, 'demoId': 'drag-events' }, @@ -349,9 +349,9 @@ export default { 'defaultValue': '', 'desc': { 'zh-CN': - '拖拽离开某个节点时触发的事件;拖拽离开某个节点时触发的事件;//参数\narg1:Object 当前拖拽节点的数据信息对象\narg2: Object 当前拖出后节点的数据信息对象', + '拖拽离开某个节点时触发的事件;拖拽离开某个节点时触发的事件;//参数\narg1:object 当前拖拽节点的数据信息对象\narg2: object 当前拖出后节点的数据信息对象', 'en-US': - 'This event is triggered when a user drags a node. Event triggered when a user drags a node. / / Parameter \narg1:Object Data information object of the currently dragged node \narg2: Object Data information object of the currently dragged node' + 'This event is triggered when a user drags a node. Event triggered when a user drags a node. / / Parameter \narg1:object Data information object of the currently dragged node \narg2: object Data information object of the currently dragged node' }, 'demoId': 'drag-events' }, @@ -361,9 +361,9 @@ export default { 'defaultValue': '', 'desc': { 'zh-CN': - '在拖拽节点时触发的事件(类似浏览器的 mouseover 事件);在拖拽节点时触发的事件(类似浏览器的 mouseover 事件);//参数\narg1:Object 当前拖拽节点的数据信息对象\narg2:Object 当前拖拽节点拖拽时节点的数据信息对象\n arg3:event ', + '在拖拽节点时触发的事件(类似浏览器的 mouseover 事件);在拖拽节点时触发的事件(类似浏览器的 mouseover 事件);//参数\narg1:object 当前拖拽节点的数据信息对象\narg2:object 当前拖拽节点拖拽时节点的数据信息对象\n arg3:event ', 'en-US': - 'Event triggered when a node is dragged (similar to the mouseover event of the browser); Event triggered when a node is dragged (similar to the mouseover event of the browser) / / Parameter \narg1:Object Data information object of the current dragged node \narg2:Object Data information object of the current dragged node \n arg3:event' + 'Event triggered when a node is dragged (similar to the mouseover event of the browser); Event triggered when a node is dragged (similar to the mouseover event of the browser) / / Parameter \narg1:object Data information object of the current dragged node \narg2:object Data information object of the current dragged node \n arg3:event' }, 'demoId': 'drag-events' }, @@ -373,9 +373,9 @@ export default { 'defaultValue': '', 'desc': { 'zh-CN': - "拖拽结束时(r可能未成功)触发的事件;拖拽成功完成时触发的事件;//参数\narg1: Object当前拖拽节点的数据信息对象\narg2: Object当前点击节点拖拽后位置的节点数据信息对象\narg3: 拖拽的类型,如:'inner'\narg4:event ", + "拖拽结束时(r可能未成功)触发的事件;拖拽成功完成时触发的事件;//参数\narg1: object当前拖拽节点的数据信息对象\narg2: object当前点击节点拖拽后位置的节点数据信息对象\narg3: 拖拽的类型,如:'inner'\narg4:event ", 'en-US': - "Event triggered when dragging ends (r may not succeed). Event triggered when the drag is successfully completed; / / Parameter \narg1: Object Data information object of the current node\narg2: Object Data information object of the current node after the node is dragged\narg3: Drag type, for example,'inner'\narg4:event" + "Event triggered when dragging ends (r may not succeed). Event triggered when the drag is successfully completed; / / Parameter \narg1: object Data information object of the current node\narg2: object Data information object of the current node after the node is dragged\narg3: Drag type, for example,'inner'\narg4:event" }, 'demoId': 'drag-events' }, @@ -385,9 +385,9 @@ export default { 'defaultValue': '', 'desc': { 'zh-CN': - '拖放节点后的事件。开启 draggable 属性为 true 有效。;拖放节点后的事件。开启 draggable 属性为 true 有效。;//参数\narg1:Object 当前拖拽节点的数据信息对象\n arg2:Object 当前点击节点拖拽后的位置节点的数据信息对象\narg3: 拖拽的类型\narg4:event ', + '拖放节点后的事件。开启 draggable 属性为 true 有效。;拖放节点后的事件。开启 draggable 属性为 true 有效。;//参数\narg1:object 当前拖拽节点的数据信息对象\n arg2:object 当前点击节点拖拽后的位置节点的数据信息对象\narg3: 拖拽的类型\narg4:event ', 'en-US': - 'Indicates the event after a node is dragged and dropped. This parameter is valid when the draggable attribute is set to true. ; Events after a node is dragged and dropped. This parameter is valid when the draggable attribute is set to true. ; / / Parameter \narg1:Object Data information object of the current dragged node \n arg2:Object Data information object of the current clicked node after the dragged node \narg3:Drag type \narg4:event' + 'Indicates the event after a node is dragged and dropped. This parameter is valid when the draggable attribute is set to true. ; Events after a node is dragged and dropped. This parameter is valid when the draggable attribute is set to true. ; / / Parameter \narg1:object Data information object of the current dragged node \n arg2:object Data information object of the current clicked node after the dragged node \narg3:Drag type \narg4:event' }, 'demoId': 'node-drop' } diff --git a/examples/sites/demos/app/tooltip/webdoc/tooltip.js b/examples/sites/demos/app/tooltip/webdoc/tooltip.js index 2399300b1..a4ecb62e0 100644 --- a/examples/sites/demos/app/tooltip/webdoc/tooltip.js +++ b/examples/sites/demos/app/tooltip/webdoc/tooltip.js @@ -153,7 +153,7 @@ export default { 'properties': [ { 'name': 'effect', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 dark', 'desc': { 'zh-CN': '默认提供的主题;该属性的可选值为 dark/light', @@ -163,7 +163,7 @@ export default { }, { 'name': 'type', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '默认提供的类型;该属性的可选值为 normal/warning/error/info/success 。type的优先级大于effect', @@ -174,7 +174,7 @@ export default { }, { 'name': 'content', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '显示的内容,也可以通过 slot#content 传入 DOM', @@ -184,14 +184,14 @@ export default { }, { 'name': 'append-to-body', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '是否添加到body上', 'en-US': 'Whether to add to body' }, 'demoId': '' }, { 'name': 'placement', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 bottom', 'desc': { 'zh-CN': @@ -203,35 +203,35 @@ export default { }, { 'name': 'modelValue / v-model', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '状态是否可见', 'en-US': 'Whether the status is visible' }, 'demoId': 'manual-control-tip' }, { 'name': 'disabled', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': 'Tooltip 是否可用', 'en-US': 'Whether Tooltip is available' }, 'demoId': 'dynamic-disable' }, { 'name': 'offset', - 'type': 'Number', + 'type': 'number', 'defaultValue': '该属性的默认值为 0', 'desc': { 'zh-CN': '出现位置的偏移量', 'en-US': 'Offset of the occurrence position' }, 'demoId': 'tooltip-offset' }, { 'name': 'transition', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 tiny-fade-in-linear', 'desc': { 'zh-CN': '定义渐变动画', 'en-US': 'Define gradient animation' }, 'demoId': 'custom-transition' }, { 'name': 'visible-arrow', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '是否显示 Tooltip 箭头,popper.js 的参数', @@ -241,7 +241,7 @@ export default { }, { 'name': 'popper-options', - 'type': 'Object', + 'type': 'object', 'defaultValue': "该属性的默认值为 { boundariesCBG XUI: 'body', gpuAcceleration: false }", 'desc': { 'zh-CN': 'popper.js 的参数;该属性的可选值为 参考 popper.js 文档', @@ -252,14 +252,14 @@ export default { }, { 'name': 'open-delay', - 'type': 'Number', + 'type': 'number', 'defaultValue': '该属性的默认值为 0', 'desc': { 'zh-CN': '延迟出现,单位毫秒', 'en-US': 'Delay, in milliseconds.' }, 'demoId': 'open-delay' }, { 'name': 'manual', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 false', 'desc': { 'zh-CN': '手动控制模式,设置为 true 后,mouseenter 和 mouseleave 事件将不会生效', @@ -270,7 +270,7 @@ export default { }, { 'name': 'visible', - 'type': 'String', + 'type': 'string', 'defaultValue': '该属性的默认值为 always', 'desc': { 'zh-CN': '提示的智能出现的模式;该属性的可选值为 auto/always', @@ -280,21 +280,21 @@ export default { }, { 'name': 'popper-class', - 'type': 'String', + 'type': 'string', 'defaultValue': '', 'desc': { 'zh-CN': '为 Tooltip 的 popper 添加类名', 'en-US': 'Add a class name for the tooltip popper.' }, 'demoId': 'popper-class' }, { 'name': 'enterable', - 'type': 'Boolean', + 'type': 'boolean', 'defaultValue': '该属性的默认值为 true', 'desc': { 'zh-CN': '鼠标是否可进入到 tooltip 中', 'en-US': 'Whether the mouse can go to the tooltip' }, 'demoId': 'enterable' }, { 'name': 'hide-after', - 'type': 'Number', + 'type': 'number', 'defaultValue': '该属性的默认值为 0', 'desc': { 'zh-CN': 'Tooltip 出现后自动隐藏延时,单位毫秒,为 0 则不会自动隐藏', @@ -305,7 +305,7 @@ export default { }, { 'name': 'tabindex', - 'type': 'Number', + 'type': 'number', 'defaultValue': '', 'desc': { 'zh-CN': '配置该元素,配置的属性会自动添加到该组件的触发原上', diff --git a/examples/sites/demos/app/transfer/nested-tree-composition-api.vue b/examples/sites/demos/app/transfer/nested-tree-composition-api.vue index 41a3176a4..4e4658ea0 100644 --- a/examples/sites/demos/app/transfer/nested-tree-composition-api.vue +++ b/examples/sites/demos/app/transfer/nested-tree-composition-api.vue @@ -15,8 +15,7 @@ diff --git a/examples/sites/demos/app/tree-menu/default-expanded-keys-highlight.spec.ts b/examples/sites/demos/app/tree-menu/default-expanded-keys-highlight.spec.ts new file mode 100644 index 000000000..97e352b26 --- /dev/null +++ b/examples/sites/demos/app/tree-menu/default-expanded-keys-highlight.spec.ts @@ -0,0 +1,12 @@ +import { test, expect } from '@playwright/test' + +test('默认展开某节点', async ({ page }) => { + page.on('pageerror', (exception) => expect(exception).toBeNull()) + await page.goto('http://localhost:7130/pc/tree-menu/default-expanded-keys-highlight') + + const treeMenu = page.locator('#preview .tiny-tree-menu') + const node = treeMenu.locator('.tiny-tree-node').filter({ hasText: '按需引入' }).nth(2) + + await page.getByRole('button', { name: 'highlight' }).click() + await expect(node).toHaveClass(/is-current/) +}) diff --git a/examples/sites/demos/app/tree-menu/default-expanded-keys-highlight.vue b/examples/sites/demos/app/tree-menu/default-expanded-keys-highlight.vue new file mode 100644 index 000000000..333550272 --- /dev/null +++ b/examples/sites/demos/app/tree-menu/default-expanded-keys-highlight.vue @@ -0,0 +1,141 @@ + + + diff --git a/examples/sites/demos/app/tree-menu/collapsible-composition-api.vue b/examples/sites/demos/app/tree-menu/menu-collapsible-composition-api.vue similarity index 95% rename from examples/sites/demos/app/tree-menu/collapsible-composition-api.vue rename to examples/sites/demos/app/tree-menu/menu-collapsible-composition-api.vue index 5f7ae41d2..60e8645b8 100644 --- a/examples/sites/demos/app/tree-menu/collapsible-composition-api.vue +++ b/examples/sites/demos/app/tree-menu/menu-collapsible-composition-api.vue @@ -1,11 +1,12 @@ + + + +``` + +Then you can import TinyVue and register the TinyVue plug-in globally through the use method of the app instance, so that TinyVue components can be used in the template template. + +```html + +
+ + +``` + +### Historical Project Upgrade + +due to`TinyVue`of a large number of projects and`@opentiny/vue2`or`@opentiny/vue3`The two packages will not be upgraded. For projects that are still being developed or maintained, you are advised to upgrade the latest versions using either of the following methods: + +1. standard upgrade method + +- remove`package.json`medium`@opentiny/vue2`or`@opentiny/vue3`Once dependent, install the correct`@opentiny/vue`version. +- In the project directory, search for`@opentiny/vue2`or`@opentiny/vue3`for the name, replaced with`@opentiny/vue`. +- If you use component internationalization, refer to`Internationalization`document of the, and the key value`zh_CN`Modified to`zhCN`, the key value`en_US`Modified to`enUS`. +- Rerun the project and verify the functionality! + +2. Dependent package alias upgrade method + +- remove`package.json`medium`@opentiny/vue2`or`@opentiny/vue3`Once dependent, install the correct`@opentiny/vue`Version +- In the`Vite`engineering`vite.config.js`In, add the following code highlighted section: + +```js {3-6} +export default defineConfig({ + //...... + resolve: { + alias: { + "@opentiny/vue2": "@opentiny/vue" + } + } +}) +``` + +- If you use component internationalization, refer to`Internationalization`document of the, and the key value`zh_CN`Modified to`zhCN`, the key value`en_US`Modified to`enUS`. +- Rerun the project and verify the functionality! + +If you encounter other difficulties in project upgrade, you can create a new issue on github to provide feedback (`https://github.com/opentiny/tiny-vue/issues`) + +
diff --git a/examples/sites/demos/webdoc/installation-open-en.md b/examples/sites/demos/webdoc/installation-open-en.md deleted file mode 100644 index 6726848d9..000000000 --- a/examples/sites/demos/webdoc/installation-open-en.md +++ /dev/null @@ -1,44 +0,0 @@ - - -## Installation - -`TinyVue`The component library also supports`Vue 2.0`and`Vue 3.0`Framework, unified dependency package`@opentiny/vue`, please install different versions to fit your project according to the table below: - -| Project Vue Version | Component Library Version | -| ------------------- | ------------------------- | -| Vue2.x | @opentiny/vue@2.x | -| Vue3.x | @opentiny/vue@3.x | - -### New Project Configuration - -In the root directory of the project, open the console and execute the following command to`Vue 3.0`Project Installation`TinyVue`Component library: - -```bash -yarn add @opentiny/vue@3 -#or -npm install @opentiny/vue@3 -``` - -Alternatively, run the following command to set`Vue 2.0`Project Installation`TinyVue`Component library: - -```bash -yarn add @opentiny/vue@2 -#or -npm install @opentiny/vue@2 -``` - -If it's`Vite`Project, after installation, modify the project's`vite.config.js`, add the following code highlighted section: - -```js {8-10} -//vite.config.js - -import { defineConfig } from 'vite' -import vue from '@vitejs/plugin-vue' - -export default defineConfig({ - plugins: [vue()], - define: { - 'process.env': { ...process.env } - } -}) -``` diff --git a/examples/sites/demos/webdoc/installation-open.md b/examples/sites/demos/webdoc/installation.md similarity index 58% rename from examples/sites/demos/webdoc/installation-open.md rename to examples/sites/demos/webdoc/installation.md index 0082a154e..0208c7963 100644 --- a/examples/sites/demos/webdoc/installation-open.md +++ b/examples/sites/demos/webdoc/installation.md @@ -9,7 +9,9 @@ | Vue2.x | @opentiny/vue@2.x | | Vue3.x | @opentiny/vue@3.x | -### 使用包管理器 +`TinyVue` 暂时不支持 `Vue2.7`, 当项目使用`Vue2.0`框架时,推荐版本写法:`"vue": "~2.6.14" , "vue-template-compiler": "~2.6.14"` 。 + +### 全新项目配置 在项目的根目录中,打开控制台,执行以下命令,为 `Vue 3.0` 的项目安装 `TinyVue` 组件库 : @@ -88,3 +90,56 @@ export default defineConfig({ ``` + +### 常见问题和解决方法: + +问题一:`v-model cannot be used on a prop, because local prop bindings are not writable.` + +如果启动项目,页面报以下错误: + +```shell +[plugin:vite:vue] v-model cannot be used on a prop, because local prop bindings are not writable. + +Use a v-bind binding combined with a v-on listener that emits update:x event instead. + +/your-project/src/components/tab.vue:2:23 +1 |