@opentinyvue/vue-docs 3.21.8 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/demos/apis/button-group.js +1 -1
- package/demos/apis/calendar-view.js +14 -0
- package/demos/apis/date-panel.js +205 -0
- package/demos/apis/progress.js +14 -1
- package/demos/apis/steps.js +15 -0
- package/demos/mobile-first/app/calendar-view/calendar-mode.vue +7 -1
- package/demos/mobile-first/app/calendar-view/webdoc/calendar-view.js +2 -2
- package/demos/mobile-first/app/input/display-only-popup-more.vue +27 -0
- package/demos/mobile-first/app/input/webdoc/input.js +14 -0
- package/demos/mobile-first/app/progress/slot-icon-status.vue +35 -0
- package/demos/mobile-first/app/steps/content-center.vue +35 -0
- package/demos/mobile-first/app/steps/webdoc/steps.js +13 -0
- package/demos/mobile-first/app/tabs/show-echarts.vue +2 -1
- package/demos/pc/app/card/card-select-composition-api.vue +6 -4
- package/demos/pc/app/card/card-select.vue +6 -4
- package/demos/pc/app/cascader/filterable-multiple.spec.ts +2 -2
- package/demos/pc/app/chart/amap/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/amap/base.vue +1 -1
- package/demos/pc/app/chart/bar/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/bar/base.vue +1 -1
- package/demos/pc/app/chart/bar/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/bar/demo2.vue +1 -1
- package/demos/pc/app/chart/bar/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/bar/demo3.vue +1 -1
- package/demos/pc/app/chart/bar/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/bar/demo4.vue +1 -1
- package/demos/pc/app/chart/bar/demo5-composition-api.vue +1 -1
- package/demos/pc/app/chart/bar/demo5.vue +1 -1
- package/demos/pc/app/chart/bar/demo6-composition-api.vue +1 -1
- package/demos/pc/app/chart/bar/demo6.vue +1 -1
- package/demos/pc/app/chart/bar/demo7-composition-api.vue +1 -1
- package/demos/pc/app/chart/bar/demo7.vue +1 -1
- package/demos/pc/app/chart/base-composition-api.vue +2 -1
- package/demos/pc/app/chart/base.vue +2 -1
- package/demos/pc/app/chart/bmap/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/bmap/base.vue +1 -1
- package/demos/pc/app/chart/boxplot/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/boxplot/base.vue +1 -1
- package/demos/pc/app/chart/boxplot/multiple-composition-api.vue +1 -1
- package/demos/pc/app/chart/boxplot/multiple.vue +1 -1
- package/demos/pc/app/chart/boxplot/vertical-composition-api.vue +1 -1
- package/demos/pc/app/chart/boxplot/vertical.vue +1 -1
- package/demos/pc/app/chart/candle/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/candle/base.vue +1 -1
- package/demos/pc/app/chart/candle/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/candle/demo2.vue +1 -1
- package/demos/pc/app/chart/candle/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/candle/demo3.vue +1 -1
- package/demos/pc/app/chart/candle/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/candle/demo4.vue +1 -1
- package/demos/pc/app/chart/candle/demo5-composition-api.vue +1 -1
- package/demos/pc/app/chart/candle/demo5.vue +1 -1
- package/demos/pc/app/chart/candle/demo6-composition-api.vue +1 -1
- package/demos/pc/app/chart/candle/demo6.vue +1 -1
- package/demos/pc/app/chart/events/base-composition-api.vue +2 -1
- package/demos/pc/app/chart/events/base.vue +2 -1
- package/demos/pc/app/chart/funnel/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/funnel/base.vue +1 -1
- package/demos/pc/app/chart/funnel/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/funnel/demo2.vue +1 -1
- package/demos/pc/app/chart/funnel/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/funnel/demo3.vue +1 -1
- package/demos/pc/app/chart/funnel/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/funnel/demo4.vue +1 -1
- package/demos/pc/app/chart/funnel/demo5-composition-api.vue +1 -1
- package/demos/pc/app/chart/funnel/demo5.vue +1 -1
- package/demos/pc/app/chart/funnel/demo6-composition-api.vue +1 -1
- package/demos/pc/app/chart/funnel/demo6.vue +1 -1
- package/demos/pc/app/chart/funnel/demo7-composition-api.vue +1 -1
- package/demos/pc/app/chart/funnel/demo7.vue +1 -1
- package/demos/pc/app/chart/gauge/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/gauge/base.vue +1 -1
- package/demos/pc/app/chart/gauge/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/gauge/demo2.vue +1 -1
- package/demos/pc/app/chart/gauge/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/gauge/demo3.vue +1 -1
- package/demos/pc/app/chart/gauge/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/gauge/demo4.vue +1 -1
- package/demos/pc/app/chart/gauge/demo5-composition-api.vue +1 -1
- package/demos/pc/app/chart/gauge/demo5.vue +1 -1
- package/demos/pc/app/chart/gauge/demo6-composition-api.vue +1 -1
- package/demos/pc/app/chart/gauge/demo6.vue +1 -1
- package/demos/pc/app/chart/graph/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/graph/base.vue +1 -1
- package/demos/pc/app/chart/graph/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/graph/demo2.vue +1 -1
- package/demos/pc/app/chart/heatmap/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/heatmap/base.vue +1 -1
- package/demos/pc/app/chart/heatmap/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/heatmap/demo2.vue +1 -1
- package/demos/pc/app/chart/heatmap/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/heatmap/demo3.vue +1 -1
- package/demos/pc/app/chart/histogram/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/histogram/base.vue +1 -1
- package/demos/pc/app/chart/histogram/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/histogram/demo2.vue +1 -1
- package/demos/pc/app/chart/histogram/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/histogram/demo3.vue +1 -1
- package/demos/pc/app/chart/histogram/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/histogram/demo4.vue +1 -1
- package/demos/pc/app/chart/histogram/demo5-composition-api.vue +1 -1
- package/demos/pc/app/chart/histogram/demo5.vue +1 -1
- package/demos/pc/app/chart/histogram/demo6-composition-api.vue +1 -1
- package/demos/pc/app/chart/histogram/demo6.vue +1 -1
- package/demos/pc/app/chart/histogram/demo7-composition-api.vue +1 -1
- package/demos/pc/app/chart/histogram/demo7.vue +1 -1
- package/demos/pc/app/chart/histogram/demo8-composition-api.vue +1 -1
- package/demos/pc/app/chart/histogram/demo8.vue +1 -1
- package/demos/pc/app/chart/line/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/line/base.vue +1 -1
- package/demos/pc/app/chart/line/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/line/demo2.vue +1 -1
- package/demos/pc/app/chart/line/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/line/demo3.vue +1 -1
- package/demos/pc/app/chart/line/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/line/demo4.vue +1 -1
- package/demos/pc/app/chart/line/demo5-composition-api.vue +1 -1
- package/demos/pc/app/chart/line/demo5.vue +1 -1
- package/demos/pc/app/chart/line/demo6-composition-api.vue +1 -1
- package/demos/pc/app/chart/line/demo6.vue +1 -1
- package/demos/pc/app/chart/line/demo7-composition-api.vue +1 -1
- package/demos/pc/app/chart/line/demo7.vue +1 -1
- package/demos/pc/app/chart/line/demo8-composition-api.vue +1 -1
- package/demos/pc/app/chart/line/demo8.vue +1 -1
- package/demos/pc/app/chart/line/demo9-composition-api.vue +1 -1
- package/demos/pc/app/chart/line/demo9.vue +1 -1
- package/demos/pc/app/chart/liquidfill/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/liquidfill/base.vue +1 -1
- package/demos/pc/app/chart/map/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/map/base.vue +1 -1
- package/demos/pc/app/chart/pie/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/pie/base.vue +1 -1
- package/demos/pc/app/chart/pie/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/pie/demo2.vue +1 -1
- package/demos/pc/app/chart/pie/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/pie/demo3.vue +1 -1
- package/demos/pc/app/chart/pie/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/pie/demo4.vue +1 -1
- package/demos/pc/app/chart/pie/demo5-composition-api.vue +1 -1
- package/demos/pc/app/chart/pie/demo5.vue +1 -1
- package/demos/pc/app/chart/pie/demo6-composition-api.vue +1 -1
- package/demos/pc/app/chart/pie/demo6.vue +1 -1
- package/demos/pc/app/chart/pie/demo7-composition-api.vue +1 -1
- package/demos/pc/app/chart/pie/demo7.vue +1 -1
- package/demos/pc/app/chart/process/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/process/base.vue +1 -1
- package/demos/pc/app/chart/process/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/process/demo2.vue +1 -1
- package/demos/pc/app/chart/process/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/process/demo3.vue +1 -1
- package/demos/pc/app/chart/process/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/process/demo4.vue +1 -1
- package/demos/pc/app/chart/process/demo5-composition-api.vue +1 -1
- package/demos/pc/app/chart/process/demo5.vue +1 -1
- package/demos/pc/app/chart/process/demo6-composition-api.vue +1 -1
- package/demos/pc/app/chart/process/demo6.vue +1 -1
- package/demos/pc/app/chart/props/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/props/base.vue +1 -1
- package/demos/pc/app/chart/props/demo10-composition-api.vue +2 -1
- package/demos/pc/app/chart/props/demo10.vue +2 -1
- package/demos/pc/app/chart/props/demo11-composition-api.vue +1 -1
- package/demos/pc/app/chart/props/demo11.vue +1 -1
- package/demos/pc/app/chart/props/demo12-composition-api.vue +1 -1
- package/demos/pc/app/chart/props/demo12.vue +1 -1
- package/demos/pc/app/chart/props/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/props/demo2.vue +1 -1
- package/demos/pc/app/chart/props/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/props/demo3.vue +1 -1
- package/demos/pc/app/chart/props/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/props/demo4.vue +1 -1
- package/demos/pc/app/chart/props/demo5-composition-api.vue +1 -1
- package/demos/pc/app/chart/props/demo5.vue +1 -1
- package/demos/pc/app/chart/props/demo6-composition-api.vue +1 -1
- package/demos/pc/app/chart/props/demo6.vue +1 -1
- package/demos/pc/app/chart/props/demo7-composition-api.vue +1 -1
- package/demos/pc/app/chart/props/demo7.vue +1 -1
- package/demos/pc/app/chart/props/demo8-composition-api.vue +1 -1
- package/demos/pc/app/chart/props/demo8.vue +1 -1
- package/demos/pc/app/chart/props/demo9-composition-api.vue +1 -1
- package/demos/pc/app/chart/props/demo9.vue +1 -1
- package/demos/pc/app/chart/question/base-composition-api.vue +2 -1
- package/demos/pc/app/chart/question/base.vue +2 -1
- package/demos/pc/app/chart/question/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/question/demo2.vue +1 -1
- package/demos/pc/app/chart/question/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/question/demo3.vue +1 -1
- package/demos/pc/app/chart/question/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/question/demo4.vue +1 -1
- package/demos/pc/app/chart/question/demo5-composition-api.vue +2 -1
- package/demos/pc/app/chart/question/demo5.vue +2 -1
- package/demos/pc/app/chart/radar/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/radar/base.vue +1 -1
- package/demos/pc/app/chart/radar/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/radar/demo2.vue +1 -1
- package/demos/pc/app/chart/radar/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/radar/demo3.vue +1 -1
- package/demos/pc/app/chart/ring/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/ring/base.vue +1 -1
- package/demos/pc/app/chart/ring/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/ring/demo2.vue +1 -1
- package/demos/pc/app/chart/ring/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/ring/demo3.vue +1 -1
- package/demos/pc/app/chart/ring/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/ring/demo4.vue +1 -1
- package/demos/pc/app/chart/ring/demo5-composition-api.vue +1 -1
- package/demos/pc/app/chart/ring/demo5.vue +1 -1
- package/demos/pc/app/chart/ring/demo6-composition-api.vue +1 -1
- package/demos/pc/app/chart/ring/demo6.vue +1 -1
- package/demos/pc/app/chart/ring/ring-title-composition-api.vue +1 -1
- package/demos/pc/app/chart/ring/ring-title.vue +1 -1
- package/demos/pc/app/chart/sankey/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/sankey/base.vue +1 -1
- package/demos/pc/app/chart/sankey/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/sankey/demo2.vue +1 -1
- package/demos/pc/app/chart/scatter/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/scatter/base.vue +1 -1
- package/demos/pc/app/chart/scatter/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/scatter/demo2.vue +1 -1
- package/demos/pc/app/chart/scatter/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/scatter/demo3.vue +1 -1
- package/demos/pc/app/chart/sunburst/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/sunburst/base.vue +1 -1
- package/demos/pc/app/chart/sunburst/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/sunburst/demo2.vue +1 -1
- package/demos/pc/app/chart/sunburst/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/sunburst/demo3.vue +1 -1
- package/demos/pc/app/chart/tree/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/tree/base.vue +1 -1
- package/demos/pc/app/chart/tree/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/tree/demo2.vue +1 -1
- package/demos/pc/app/chart/tree/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/tree/demo3.vue +1 -1
- package/demos/pc/app/chart/tree/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/tree/demo4.vue +1 -1
- package/demos/pc/app/chart/tree/demo5-composition-api.vue +1 -1
- package/demos/pc/app/chart/tree/demo5.vue +1 -1
- package/demos/pc/app/chart/waterfall/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/waterfall/base.vue +1 -1
- package/demos/pc/app/chart/waterfall/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/waterfall/demo2.vue +1 -1
- package/demos/pc/app/chart/waterfall/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/waterfall/demo3.vue +1 -1
- package/demos/pc/app/chart/waterfall/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/waterfall/demo4.vue +1 -1
- package/demos/pc/app/chart/webdoc/chart-docs.cn.md +3 -3
- package/demos/pc/app/chart/webdoc/chart-docs.en.md +3 -3
- package/demos/pc/app/chart/webdoc/chart-docs.json.cn.md +3 -3
- package/demos/pc/app/chart/webdoc/chart-docs.json.en.md +3 -3
- package/demos/pc/app/chart/wordcloud/base-composition-api.vue +1 -1
- package/demos/pc/app/chart/wordcloud/base.vue +1 -1
- package/demos/pc/app/chart/wordcloud/demo2-composition-api.vue +1 -1
- package/demos/pc/app/chart/wordcloud/demo2.vue +1 -1
- package/demos/pc/app/chart/wordcloud/demo3-composition-api.vue +1 -1
- package/demos/pc/app/chart/wordcloud/demo3.vue +1 -1
- package/demos/pc/app/chart/wordcloud/demo4-composition-api.vue +1 -1
- package/demos/pc/app/chart/wordcloud/demo4.vue +1 -1
- package/demos/pc/app/date-panel/basic-usage-composition-api.vue +14 -3
- package/demos/pc/app/date-panel/basic-usage.spec.ts +25 -7
- package/demos/pc/app/date-panel/basic-usage.vue +13 -2
- package/demos/pc/app/date-panel/disabled-date-composition-api.vue +24 -3
- package/demos/pc/app/date-panel/disabled-date.spec.ts +28 -1
- package/demos/pc/app/date-panel/disabled-date.vue +24 -3
- package/demos/pc/app/date-panel/event-composition-api.vue +29 -2
- package/demos/pc/app/date-panel/event.spec.ts +25 -6
- package/demos/pc/app/date-panel/event.vue +29 -1
- package/demos/pc/app/date-panel/format-composition-api.vue +4 -1
- package/demos/pc/app/date-panel/format.spec.ts +5 -0
- package/demos/pc/app/date-panel/format.vue +4 -1
- package/demos/pc/app/date-panel/readonly-composition-api.vue +13 -1
- package/demos/pc/app/date-panel/readonly.spec.ts +20 -2
- package/demos/pc/app/date-panel/readonly.vue +13 -1
- package/demos/pc/app/date-panel/shortcuts-composition-api.vue +130 -1
- package/demos/pc/app/date-panel/shortcuts.spec.ts +24 -0
- package/demos/pc/app/date-panel/shortcuts.vue +130 -1
- package/demos/pc/app/date-panel/unlink-panels-composition-api.vue +18 -13
- package/demos/pc/app/date-panel/unlink-panels.spec.ts +61 -3
- package/demos/pc/app/date-panel/unlink-panels.vue +17 -12
- package/demos/pc/app/filter-panel/code-composition-api.vue +7 -1
- package/demos/pc/app/filter-panel/code.vue +7 -1
- package/demos/pc/app/grid/editor/popeditor-in-grid-remote-search-composition-api.vue +3 -20
- package/demos/pc/app/grid/editor/popeditor-in-grid-remote-search.vue +3 -20
- package/demos/pc/app/icon/basic-usage-composition-api.vue +2 -0
- package/demos/pc/app/icon/basic-usage.vue +2 -0
- package/demos/pc/app/icon/list-composition-api.vue +7 -1
- package/demos/pc/app/icon/list.vue +7 -1
- package/demos/pc/app/icon/show-title-composition-api.vue +2 -0
- package/demos/pc/app/icon/show-title.vue +2 -0
- package/demos/pc/app/icon-multicolor/list-composition-api.vue +1 -1
- package/demos/pc/app/icon-multicolor/list.vue +1 -1
- package/demos/pc/app/input/display-only-popup-more-composition-api.vue +1 -1
- package/demos/pc/app/input/display-only-popup-more.vue +1 -1
- package/demos/pc/app/progress/slot-icon-status-composition-api.vue +30 -0
- package/demos/pc/app/progress/slot-icon-status.spec.ts +38 -0
- package/demos/pc/app/progress/slot-icon-status.vue +35 -0
- package/demos/pc/app/progress/webdoc/progress.js +12 -0
- package/demos/pc/app/search/{slot-prefix-composition-api.vue → slot-prefix-suffix-composition-api.vue} +9 -2
- package/demos/pc/app/search/slot-prefix-suffix.spec.ts +31 -0
- package/demos/pc/app/search/{slot-prefix.vue → slot-prefix-suffix.vue} +9 -2
- package/demos/pc/app/search/webdoc/search.js +7 -6
- package/demos/pc/app/steps/content-center-composition-api.vue +27 -0
- package/demos/pc/app/steps/content-center.vue +35 -0
- package/demos/pc/app/steps/webdoc/steps.js +13 -0
- package/demos/pc/app/tag/color-border-composition-api.vue +3 -3
- package/demos/pc/app/tag/color-border.vue +3 -3
- package/demos/pc/app/tag/effect-composition-api.vue +7 -0
- package/demos/pc/app/tag/effect.vue +7 -0
- package/demos/pc/app/tag/size-composition-api.vue +1 -1
- package/demos/pc/app/tag/size.vue +1 -1
- package/demos/pc/app/tag/tag-event-click-composition-api.vue +7 -0
- package/demos/pc/app/tag/tag-event-click.vue +7 -0
- package/demos/pc/app/time-line/set-node-width-composition-api.vue +1 -0
- package/demos/pc/app/time-line/set-node-width.vue +1 -0
- package/demos/pc/app/time-picker/format.spec.ts +17 -6
- package/demos/pc/app/tooltip/control-composition-api.vue +1 -1
- package/demos/pc/app/tooltip/control.vue +1 -1
- package/demos/pc/app/tooltip/theme.spec.js +3 -2
- package/demos/pc/webdoc/develop-demo-en.md +1 -1
- package/demos/pc/webdoc/develop-demo.md +1 -1
- package/demos/pc/webdoc/import-components.md +45 -115
- package/demos/pc/webdoc/installation-en.md +1 -1
- package/demos/pc/webdoc/installation.md +10 -9
- package/package.json +20 -17
- package/playground/icons/Github.vue +1 -1
- package/src/assets/custom-block.less +3 -2
- package/src/assets/custom-markdown.css +6 -3
- package/src/assets/images/leftMenu/cmp-business-components.svg +1 -12
- package/src/assets/images/leftMenu/directives-custom-instruction.svg +1 -1
- package/src/assets/index.less +0 -5
- package/src/const.ts +4 -2
- package/src/main.js +1 -1
- package/src/style.css +16 -0
- package/src/tools/appData.js +1 -6
- package/src/tools/useTheme.js +1 -0
- package/src/views/components-doc/common.vue +2 -2
- package/src/views/components-doc/components/api-docs.vue +21 -10
- package/src/views/components-doc/components/async-highlight.vue +3 -2
- package/src/views/components-doc/components/contributor.vue +1 -2
- package/src/views/components-doc/components/demo.vue +40 -48
- package/src/views/components-doc/components/float-settings.vue +43 -32
- package/src/views/components-doc/components/header.vue +3 -0
- package/src/views/docs/docs.vue +17 -0
- package/src/views/layout/layout.vue +15 -3
- package/src/views/overview.vue +23 -4
- package/demos/pc/app/search/slot-prefix.spec.ts +0 -12
|
@@ -171,6 +171,20 @@ export default {
|
|
|
171
171
|
mode: ['pc', 'mobile-first'],
|
|
172
172
|
pcDemo: 'basic-usage',
|
|
173
173
|
mfDemo: 'basic-usage'
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
name: 'show-back-today',
|
|
177
|
+
type: 'boolean',
|
|
178
|
+
defaultValue: 'true',
|
|
179
|
+
desc: {
|
|
180
|
+
'zh-CN': '是否展示左上侧按钮显示,默认展示',
|
|
181
|
+
'en-US': 'Should the upper left button be displayed, Default Display'
|
|
182
|
+
},
|
|
183
|
+
meta: {
|
|
184
|
+
stable: '3.22.0'
|
|
185
|
+
},
|
|
186
|
+
mode: ['mobile-first'],
|
|
187
|
+
mfDemo: 'calendar-mode'
|
|
174
188
|
}
|
|
175
189
|
],
|
|
176
190
|
events: [
|
package/demos/apis/date-panel.js
CHANGED
|
@@ -461,6 +461,211 @@ export default {
|
|
|
461
461
|
mode: ['pc']
|
|
462
462
|
}
|
|
463
463
|
]
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
name: 'month-range',
|
|
467
|
+
type: 'component',
|
|
468
|
+
props: [
|
|
469
|
+
{
|
|
470
|
+
name: 'modelValue / v-model',
|
|
471
|
+
type: 'Array<T>',
|
|
472
|
+
defaultValue: '[]',
|
|
473
|
+
desc: {
|
|
474
|
+
'zh-CN': '绑定值',
|
|
475
|
+
'en-US': 'Set the initial value of the calendar component. ;Bound Value'
|
|
476
|
+
},
|
|
477
|
+
mode: ['pc'],
|
|
478
|
+
pcDemo: 'basic-usage'
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
name: 'disabled-date',
|
|
482
|
+
type: '() => void',
|
|
483
|
+
defaultValue: '',
|
|
484
|
+
desc: {
|
|
485
|
+
'zh-CN': '配置部分禁用',
|
|
486
|
+
'en-US': 'Configuration section disabled.'
|
|
487
|
+
},
|
|
488
|
+
mode: ['pc'],
|
|
489
|
+
pcDemo: 'disabled-date'
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
name: 'format',
|
|
493
|
+
type: 'string',
|
|
494
|
+
defaultValue: "'yyyy-MM'",
|
|
495
|
+
desc: {
|
|
496
|
+
'zh-CN': '显示在输入框中的格式',
|
|
497
|
+
'en-US': 'Display format in the text box'
|
|
498
|
+
},
|
|
499
|
+
mode: ['pc'],
|
|
500
|
+
pcDemo: 'format'
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
name: 'popper-class',
|
|
504
|
+
type: 'string',
|
|
505
|
+
defaultValue: '',
|
|
506
|
+
desc: {
|
|
507
|
+
'zh-CN': '为 MonthRange 下拉弹框添加的 class 类名',
|
|
508
|
+
'en-US': 'Class name added for MonthRange.'
|
|
509
|
+
},
|
|
510
|
+
mode: ['pc'],
|
|
511
|
+
pcDemo: 'custom-suffix-icon'
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
name: 'readonly',
|
|
515
|
+
type: 'boolean',
|
|
516
|
+
defaultValue: 'false',
|
|
517
|
+
desc: {
|
|
518
|
+
'zh-CN': '设置日期是否只读',
|
|
519
|
+
'en-US': 'Set whether the calendar component is read-only.'
|
|
520
|
+
},
|
|
521
|
+
mode: ['pc'],
|
|
522
|
+
pcDemo: 'disabled'
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
name: 'shortcuts',
|
|
526
|
+
type: 'Array<T>',
|
|
527
|
+
defaultValue: '[]',
|
|
528
|
+
desc: {
|
|
529
|
+
'zh-CN': `设置快捷选项`,
|
|
530
|
+
'en-US': 'Set shortcut options'
|
|
531
|
+
},
|
|
532
|
+
mode: ['pc'],
|
|
533
|
+
pcDemo: 'shortcuts'
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
name: 'unlink-panels',
|
|
537
|
+
type: 'boolean',
|
|
538
|
+
defaultValue: 'false',
|
|
539
|
+
desc: {
|
|
540
|
+
'zh-CN': '在范围选择器里取消两个日期面板之间的联动',
|
|
541
|
+
'en-US': 'Unlink the two date panels in the range selector'
|
|
542
|
+
},
|
|
543
|
+
mode: ['pc'],
|
|
544
|
+
pcDemo: 'unlink-panels'
|
|
545
|
+
}
|
|
546
|
+
],
|
|
547
|
+
events: [
|
|
548
|
+
{
|
|
549
|
+
name: 'select-change',
|
|
550
|
+
type: '(value: Date) => void',
|
|
551
|
+
desc: {
|
|
552
|
+
'zh-CN': '用户确认选定的值时触发',
|
|
553
|
+
'en-US': 'This event is triggered when the user confirms the selected values.'
|
|
554
|
+
},
|
|
555
|
+
mode: ['pc'],
|
|
556
|
+
pcDemo: 'events'
|
|
557
|
+
}
|
|
558
|
+
],
|
|
559
|
+
format: [
|
|
560
|
+
{
|
|
561
|
+
name: 'M',
|
|
562
|
+
desc: {
|
|
563
|
+
'zh-CN': '月,不补0',
|
|
564
|
+
'en-US': ''
|
|
565
|
+
},
|
|
566
|
+
mode: ['pc']
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
name: 'MM',
|
|
570
|
+
desc: {
|
|
571
|
+
'zh-CN': '月',
|
|
572
|
+
'en-US': ''
|
|
573
|
+
},
|
|
574
|
+
mode: ['pc']
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
name: 'yyyy',
|
|
578
|
+
desc: {
|
|
579
|
+
'zh-CN': '年',
|
|
580
|
+
'en-US': ''
|
|
581
|
+
},
|
|
582
|
+
mode: ['pc']
|
|
583
|
+
}
|
|
584
|
+
]
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
name: 'year-range',
|
|
588
|
+
type: 'component',
|
|
589
|
+
props: [
|
|
590
|
+
{
|
|
591
|
+
name: 'modelValue / v-model',
|
|
592
|
+
type: 'Array<T>',
|
|
593
|
+
defaultValue: '[]',
|
|
594
|
+
desc: {
|
|
595
|
+
'zh-CN': '绑定值',
|
|
596
|
+
'en-US': 'Set the initial value of the calendar component. ;Bound Value'
|
|
597
|
+
},
|
|
598
|
+
mode: ['pc'],
|
|
599
|
+
pcDemo: 'basic-usage'
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
name: 'disabled-date',
|
|
603
|
+
type: '() => void',
|
|
604
|
+
defaultValue: '',
|
|
605
|
+
desc: {
|
|
606
|
+
'zh-CN': '配置部分禁用',
|
|
607
|
+
'en-US': 'Configuration section disabled.'
|
|
608
|
+
},
|
|
609
|
+
mode: ['pc'],
|
|
610
|
+
pcDemo: 'disabled-date'
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
name: 'popper-class',
|
|
614
|
+
type: 'string',
|
|
615
|
+
defaultValue: '',
|
|
616
|
+
desc: {
|
|
617
|
+
'zh-CN': '为 YearRange 下拉弹框添加的 class 类名',
|
|
618
|
+
'en-US': 'Class name added for YearRange.'
|
|
619
|
+
},
|
|
620
|
+
mode: ['pc'],
|
|
621
|
+
pcDemo: 'custom-suffix-icon'
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
name: 'readonly',
|
|
625
|
+
type: 'boolean',
|
|
626
|
+
defaultValue: 'false',
|
|
627
|
+
desc: {
|
|
628
|
+
'zh-CN': '设置日期是否只读',
|
|
629
|
+
'en-US': 'Set whether the calendar component is read-only.'
|
|
630
|
+
},
|
|
631
|
+
mode: ['pc'],
|
|
632
|
+
pcDemo: 'readonly'
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
name: 'shortcuts',
|
|
636
|
+
type: 'Array<T>',
|
|
637
|
+
defaultValue: '[]',
|
|
638
|
+
desc: {
|
|
639
|
+
'zh-CN': `设置快捷选项`,
|
|
640
|
+
'en-US': 'Set shortcut options'
|
|
641
|
+
},
|
|
642
|
+
mode: ['pc'],
|
|
643
|
+
pcDemo: 'shortcuts'
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
name: 'unlink-panels',
|
|
647
|
+
type: 'boolean',
|
|
648
|
+
defaultValue: 'false',
|
|
649
|
+
desc: {
|
|
650
|
+
'zh-CN': '在范围选择器里取消两个日期面板之间的联动',
|
|
651
|
+
'en-US': 'Unlink the two date panels in the range selector'
|
|
652
|
+
},
|
|
653
|
+
mode: ['pc'],
|
|
654
|
+
pcDemo: 'unlink-panels'
|
|
655
|
+
}
|
|
656
|
+
],
|
|
657
|
+
events: [
|
|
658
|
+
{
|
|
659
|
+
name: 'select-change',
|
|
660
|
+
type: '(value: Date) => void',
|
|
661
|
+
desc: {
|
|
662
|
+
'zh-CN': '用户确认选定的值时触发',
|
|
663
|
+
'en-US': 'This event is triggered when the user confirms the selected values.'
|
|
664
|
+
},
|
|
665
|
+
mode: ['pc'],
|
|
666
|
+
pcDemo: 'events'
|
|
667
|
+
}
|
|
668
|
+
]
|
|
464
669
|
}
|
|
465
670
|
]
|
|
466
671
|
}
|
package/demos/apis/progress.js
CHANGED
|
@@ -140,7 +140,20 @@ export default {
|
|
|
140
140
|
],
|
|
141
141
|
events: [],
|
|
142
142
|
methods: [],
|
|
143
|
-
slots: [
|
|
143
|
+
slots: [
|
|
144
|
+
{
|
|
145
|
+
name: 'statusIcon',
|
|
146
|
+
desc: {
|
|
147
|
+
'zh-CN': '状态插槽,successIcon / exceptionIcon / warningIcon',
|
|
148
|
+
'en-US': 'Status slot, successIcon / exceptionIcon / warningIcon'
|
|
149
|
+
},
|
|
150
|
+
mode: ['pc', 'mobile-first'],
|
|
151
|
+
pcDemo: 'slot-icon-status',
|
|
152
|
+
meta: {
|
|
153
|
+
stable: '3.22.0'
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
]
|
|
144
157
|
}
|
|
145
158
|
],
|
|
146
159
|
types: [
|
package/demos/apis/steps.js
CHANGED
|
@@ -29,6 +29,21 @@ export default {
|
|
|
29
29
|
pcDemo: 'advanced-steps',
|
|
30
30
|
mfDemo: 'advanced-steps'
|
|
31
31
|
},
|
|
32
|
+
{
|
|
33
|
+
name: 'content-center',
|
|
34
|
+
type: 'string',
|
|
35
|
+
defaultValue: 'false',
|
|
36
|
+
desc: {
|
|
37
|
+
'zh-CN': '使步骤条内容默认居中显示',
|
|
38
|
+
'en-US': 'Make the step bar content appear centered by default'
|
|
39
|
+
},
|
|
40
|
+
meta: {
|
|
41
|
+
stable: '3.22.0'
|
|
42
|
+
},
|
|
43
|
+
mode: ['mobile-first', 'pc'],
|
|
44
|
+
pcDemo: 'content-center',
|
|
45
|
+
mfDemo: 'content-center'
|
|
46
|
+
},
|
|
32
47
|
{
|
|
33
48
|
name: 'count-field',
|
|
34
49
|
type: 'string',
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<tiny-calendar-view
|
|
2
|
+
<tiny-calendar-view
|
|
3
|
+
:show-back-today="false"
|
|
4
|
+
:events="eventslist"
|
|
5
|
+
:year="2023"
|
|
6
|
+
:month="6"
|
|
7
|
+
:modes="['month', 'timeline', 'schedule']"
|
|
8
|
+
>
|
|
3
9
|
</tiny-calendar-view>
|
|
4
10
|
</template>
|
|
5
11
|
|
|
@@ -22,9 +22,9 @@ export default {
|
|
|
22
22
|
},
|
|
23
23
|
desc: {
|
|
24
24
|
'zh-CN':
|
|
25
|
-
'<p>通过 <code>mode</code> 属性指定以年的形式显示,将展示当年的每个月份。可选值有 <code>month</code> / <code>timeline</code> / <code>schedule</code
|
|
25
|
+
'<p>通过 <code>mode</code> 属性指定以年的形式显示,将展示当年的每个月份。可选值有 <code>month</code> / <code>timeline</code> / <code>schedule</code>。通过<code>show-back-today</code> 属性控制左侧按钮显示。</p>\n',
|
|
26
26
|
'en-US':
|
|
27
|
-
'<p>The <code>mode</code> attribute specifies that each month of the current year is displayed. The options are <code>month</code> / <code>timeline</code> / <code>schedule</code>. </p>\n'
|
|
27
|
+
'<p>The <code>mode</code> attribute specifies that each month of the current year is displayed. The options are <code>month</code> / <code>timeline</code> / <code>schedule</code>. Control the display of the left button through the<code>show back today</code>attribute.</p>\n'
|
|
28
28
|
},
|
|
29
29
|
codeFiles: ['calendar-mode.vue']
|
|
30
30
|
},
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="demo-input">
|
|
3
|
+
<tiny-input type="textarea" v-model="input" display-only popup-more></tiny-input>
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import { TinyInput } from '@opentiny/vue'
|
|
9
|
+
|
|
10
|
+
export default {
|
|
11
|
+
components: {
|
|
12
|
+
TinyInput
|
|
13
|
+
},
|
|
14
|
+
data() {
|
|
15
|
+
return {
|
|
16
|
+
input:
|
|
17
|
+
'表单文本域开启只读模式,\n文本内容超过 5 行自动隐藏。\n表单文本域开启只读模式,\n文本内容超过 5 行自动隐藏。\n表单文本域开启只读模式,\n文本内容超过 5 行自动隐藏。\n表单文本域开启只读模式,\n文本内容超过 5 行自动隐藏。\n表单文本域开启只读模式,\n文本内容超过 5 行自动隐藏'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<style scoped>
|
|
24
|
+
.demo-input .tiny-textarea {
|
|
25
|
+
width: 260px;
|
|
26
|
+
}
|
|
27
|
+
</style>
|
|
@@ -508,6 +508,20 @@ export default {
|
|
|
508
508
|
'en-US': '<p>bbutton click</p>'
|
|
509
509
|
},
|
|
510
510
|
codeFiles: ['display-only-content.vue']
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
demoId: 'display-only-popup-more',
|
|
514
|
+
name: {
|
|
515
|
+
'zh-CN': '文本域只读超出显示更多按钮',
|
|
516
|
+
'en-US': 'Text field read-only beyond Show more button'
|
|
517
|
+
},
|
|
518
|
+
desc: {
|
|
519
|
+
'zh-CN':
|
|
520
|
+
'在只读的基础上增加<code>popup-more</code>属性,可使文本域超出显示更多按钮,点击更多按钮可以查看详细信息。',
|
|
521
|
+
'en-US':
|
|
522
|
+
'The <code>popup-more</code> attribute is added to enable the text field to exceed the display of more buttons. You can click more buttons to view details.'
|
|
523
|
+
},
|
|
524
|
+
codeFiles: ['display-only-popup-more.vue']
|
|
511
525
|
}
|
|
512
526
|
]
|
|
513
527
|
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<tiny-progress class="progress" :stroke-width="12" :percentage="100" status="success">
|
|
4
|
+
<template #successIcon>
|
|
5
|
+
<TinyIconSmile />
|
|
6
|
+
</template>
|
|
7
|
+
</tiny-progress>
|
|
8
|
+
<br />
|
|
9
|
+
<tiny-progress class="progress" :stroke-width="12" :percentage="80" status="warning">
|
|
10
|
+
<template #warningIcon>
|
|
11
|
+
<TinyIconMeh />
|
|
12
|
+
</template>
|
|
13
|
+
</tiny-progress>
|
|
14
|
+
<br />
|
|
15
|
+
<tiny-progress class="progress" :stroke-width="12" :percentage="50" status="exception">
|
|
16
|
+
<template #exceptionIcon>
|
|
17
|
+
<TinyIconFrown />
|
|
18
|
+
</template>
|
|
19
|
+
</tiny-progress>
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<script lang="jsx">
|
|
24
|
+
import { TinyProgress } from '@opentiny/vue'
|
|
25
|
+
import { IconFrown, IconMeh, IconSmile } from '@opentiny/vue-icon'
|
|
26
|
+
|
|
27
|
+
export default {
|
|
28
|
+
components: {
|
|
29
|
+
TinyProgress,
|
|
30
|
+
TinyIconSmile: IconSmile(),
|
|
31
|
+
TinyIconMeh: IconMeh(),
|
|
32
|
+
TinyIconFrown: IconFrown()
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
</script>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<tiny-steps ref="steps" advanced content-center flex :data="data" :active="advancedActive"></tiny-steps>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
import { TinySteps } from '@opentiny/vue'
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
components: {
|
|
10
|
+
TinySteps
|
|
11
|
+
},
|
|
12
|
+
data() {
|
|
13
|
+
return {
|
|
14
|
+
advancedActive: 2,
|
|
15
|
+
data: [
|
|
16
|
+
{
|
|
17
|
+
name: '默认',
|
|
18
|
+
status: '',
|
|
19
|
+
description:
|
|
20
|
+
'Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional Optional '
|
|
21
|
+
},
|
|
22
|
+
{ name: '已完成', status: 'done', description: 'done 已完成' },
|
|
23
|
+
{ name: '进行中', status: 'doing', description: 'doing 进行中' },
|
|
24
|
+
{ name: '错误', status: 'error', description: 'error 错误' },
|
|
25
|
+
{
|
|
26
|
+
name: '已禁用',
|
|
27
|
+
status: 'disabled',
|
|
28
|
+
description:
|
|
29
|
+
'disabled 已禁用,描述内容描述内容,超出部分隐藏,描述内容,超出部分隐藏,描述内容,超出部分隐藏,描述内容,超出部分隐藏'
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
</script>
|
|
@@ -39,6 +39,19 @@ export default {
|
|
|
39
39
|
},
|
|
40
40
|
codeFiles: ['advanced-steps.vue']
|
|
41
41
|
},
|
|
42
|
+
{
|
|
43
|
+
demoId: 'content-center',
|
|
44
|
+
name: {
|
|
45
|
+
'zh-CN': '内容居中',
|
|
46
|
+
'en-US': 'Content center'
|
|
47
|
+
},
|
|
48
|
+
desc: {
|
|
49
|
+
'zh-CN': '<p>添加 <code>content-center</code> 使步骤条内容默认居中显示。</p>',
|
|
50
|
+
'en-US':
|
|
51
|
+
'<p>Adding the attribute<code>content center</code>can make the step bar content appear centered by default.</p>'
|
|
52
|
+
},
|
|
53
|
+
codeFiles: ['content-center.vue']
|
|
54
|
+
},
|
|
42
55
|
{
|
|
43
56
|
demoId: 'advanced-flex',
|
|
44
57
|
name: {
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
</template>
|
|
11
11
|
|
|
12
12
|
<script>
|
|
13
|
-
import { TinyTabs, TinyTabItem
|
|
13
|
+
import { TinyTabs, TinyTabItem } from '@opentiny/vue'
|
|
14
|
+
import { TinyHuichartsBar, TinyHuichartsGauge } from '@opentiny/vue-huicharts'
|
|
14
15
|
|
|
15
16
|
export default {
|
|
16
17
|
components: {
|
|
@@ -159,10 +159,12 @@ const dataArr = ref([
|
|
|
159
159
|
.card-stlecting {
|
|
160
160
|
border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
161
161
|
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
<style>
|
|
165
|
-
#smb-card .tiny-card--small-padding {
|
|
162
|
+
#smb-card :deep(.tiny-card--small-padding) {
|
|
166
163
|
padding: 0;
|
|
167
164
|
}
|
|
165
|
+
.card-wrap :deep(.tiny-input__inner) {
|
|
166
|
+
border: none;
|
|
167
|
+
border-radius: 6px;
|
|
168
|
+
background-color: #fafafa;
|
|
169
|
+
}
|
|
168
170
|
</style>
|
|
@@ -169,10 +169,12 @@ export default {
|
|
|
169
169
|
.card-stlecting {
|
|
170
170
|
border-top: 1px solid rgba(0, 0, 0, 0.05);
|
|
171
171
|
}
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
<style>
|
|
175
|
-
#smb-card .tiny-card--small-padding {
|
|
172
|
+
#smb-card :deep(.tiny-card--small-padding) {
|
|
176
173
|
padding: 0;
|
|
177
174
|
}
|
|
175
|
+
.card-wrap :deep(.tiny-input__inner) {
|
|
176
|
+
border: none;
|
|
177
|
+
border-radius: 6px;
|
|
178
|
+
background-color: #fafafa;
|
|
179
|
+
}
|
|
178
180
|
</style>
|
|
@@ -3,8 +3,8 @@ import { test, expect } from '@playwright/test'
|
|
|
3
3
|
test('多选可搜索', async ({ page }) => {
|
|
4
4
|
page.on('pageerror', (exception) => expect(exception).toBeNull())
|
|
5
5
|
await page.goto('cascader#filterable-multiple')
|
|
6
|
-
await page.getByRole('textbox', { name: '试试搜索:安装' }).
|
|
7
|
-
await page.getByRole('textbox', { name: '试试搜索:安装' }).
|
|
6
|
+
await page.getByRole('textbox', { name: '试试搜索:安装' }).click()
|
|
7
|
+
await page.getByRole('textbox', { name: '试试搜索:安装' }).fill('安装')
|
|
8
8
|
await page.waitForTimeout(1000)
|
|
9
9
|
const text = await page.locator('.tiny-cascader__suggestion-item')
|
|
10
10
|
await expect(text).toHaveText([
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<script setup lang="jsx">
|
|
8
8
|
import { ref } from 'vue'
|
|
9
|
-
import { TinyHuichartsAmap as TinyAutonaviMap } from '@opentiny/vue'
|
|
9
|
+
import { TinyHuichartsAmap as TinyAutonaviMap } from '@opentiny/vue-huicharts'
|
|
10
10
|
|
|
11
11
|
const options = ref({
|
|
12
12
|
key: '4b5f2cf2cba25200cc6b68c398468899',
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
<script setup lang="jsx">
|
|
8
8
|
import { ref } from 'vue'
|
|
9
|
-
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue'
|
|
9
|
+
import { TinyHuichartsBar as TinyChartBar } from '@opentiny/vue-huicharts'
|
|
10
10
|
const options = ref({
|
|
11
11
|
// 双向柱状图形态
|
|
12
12
|
type: 'double-sides',
|