@opentiny/vue-renderless 3.11.8 → 3.12.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/anchor/index.js +13 -6
- package/anchor/vue.js +1 -1
- package/breadcrumb/index.js +6 -1
- package/breadcrumb-item/index.js +8 -1
- package/calendar-bar/index.js +295 -68
- package/calendar-bar/vue.js +82 -8
- package/calendar-view/index.js +2 -2
- package/card/index.js +4 -4
- package/card/vue.js +2 -3
- package/card-group/vue.js +3 -7
- package/carousel/index.js +26 -27
- package/carousel/vue.js +41 -46
- package/carousel-item/index.js +9 -6
- package/carousel-item/vue.js +4 -4
- package/cascader-mobile/index.js +5 -1
- package/cascader-mobile/vue.js +2 -1
- package/cascader-panel/index.js +6 -2
- package/cascader-view/index.js +363 -0
- package/cascader-view/vue.js +130 -0
- package/chart-core/deps/constants.js +27 -0
- package/chart-core/deps/numerify.js +27 -28
- package/chart-core/index.js +122 -31
- package/chart-core/vue.js +12 -8
- package/chart-radar/index.js +2 -2
- package/checkbox-button/vue.js +8 -1
- package/checkbox-group/vue.js +4 -5
- package/col/index.js +5 -9
- package/col/vue.js +4 -3
- package/collapse-item/index.js +14 -2
- package/color-picker/index.js +24 -34
- package/color-picker/utils/color.js +7 -1
- package/color-picker/vue.js +39 -26
- package/color-select-panel/alpha-select/vue.js +5 -8
- package/color-select-panel/hue-select/index.js +4 -2
- package/color-select-panel/hue-select/vue.js +11 -10
- package/color-select-panel/index.js +29 -17
- package/color-select-panel/utils/color.js +5 -0
- package/color-select-panel/vue.js +16 -7
- package/column-list-item/index.js +19 -5
- package/column-list-item/vue.js +16 -14
- package/common/bigInt.js +1 -1
- package/common/deps/dom.js +37 -5
- package/common/deps/repeat-click.js +3 -2
- package/common/deps/touch-emulator.js +95 -0
- package/common/deps/touch.js +12 -11
- package/common/deps/useEventListener.js +47 -0
- package/common/deps/useTouch.js +68 -0
- package/common/deps/vue-popper.js +2 -3
- package/common/index.js +1 -1
- package/common/runtime.js +1 -1
- package/common/string.js +20 -9
- package/date-picker/index.js +24 -4
- package/date-picker-mobile/index.js +5 -1
- package/file-upload/index.js +148 -50
- package/file-upload/vue.js +24 -6
- package/filter/index.js +2 -1
- package/filter/vue.js +1 -1
- package/form-item/index.js +24 -21
- package/form-item/vue.js +14 -12
- package/grid/plugins/export.js +0 -8
- package/grid/utils/common.js +13 -16
- package/image-viewer/index.js +1 -1
- package/ip-address/index.js +6 -3
- package/menu/index.js +127 -0
- package/menu/vue.js +90 -0
- package/menu-node/index.js +12 -0
- package/menu-node/vue.js +42 -0
- package/modal/index.js +6 -0
- package/modal/vue.js +3 -1
- package/numeric/index.js +18 -2
- package/numeric/vue.js +11 -7
- package/package.json +1 -1
- package/popconfirm/index.js +15 -6
- package/popconfirm/vue.js +5 -4
- package/pull-refresh-mobile-first/index.js +243 -0
- package/pull-refresh-mobile-first/vue.js +116 -0
- package/qr-code/index.js +54 -0
- package/qr-code/vue.js +31 -0
- package/radio/index.js +9 -7
- package/radio/vue.js +4 -4
- package/radio-button/index.js +2 -2
- package/radio-button/vue.js +2 -2
- package/radio-group/vue.js +1 -0
- package/rich-text-edtior/index.js +18 -38
- package/rich-text-edtior/vue.js +52 -63
- package/select/index.js +2 -4
- package/slide-bar/index.js +6 -6
- package/slide-bar/vue.js +5 -5
- package/slider/index.js +47 -14
- package/slider/vue.js +25 -6
- package/slider-button/index.js +5 -1
- package/slider-button/vue.js +1 -0
- package/slider-button-group/index.js +15 -0
- package/slider-button-group/vue.js +8 -11
- package/standard-list-item/index.js +9 -3
- package/standard-list-item/vue.js +3 -2
- package/switch/index.js +11 -9
- package/switch/vue.js +1 -1
- package/tab-bar/index.js +1 -1
- package/tab-bar/vue.js +2 -1
- package/tab-nav/index.js +31 -31
- package/tab-nav/vue.js +13 -12
- package/tabs/vue.js +3 -1
- package/tabs-mf/index.js +14 -9
- package/tabs-mf/vue-bar.js +3 -2
- package/tabs-mf/vue-nav-item.js +2 -1
- package/tabs-mf/vue-nav.js +18 -2
- package/tabs-mf/vue.js +3 -1
- package/tag/index.js +1 -1
- package/toast/index.js +7 -0
- package/toast/vue.js +19 -0
- package/transfer/index.js +2 -2
- package/transfer/vue.js +1 -1
- package/tree-node/index.js +1 -1
- package/types/{action-menu.type.d.mts → action-menu.type.d.ts} +3 -3
- package/types/{alert.type.d.mts → alert.type.d.ts} +2 -1
- package/types/{anchor.type.d.mts → anchor.type.d.ts} +3 -3
- package/types/{badge.type.d.mts → badge.type.d.ts} +1 -1
- package/types/{breadcrumb-item.type.d.mts → breadcrumb-item.type.d.ts} +1 -1
- package/types/{breadcrumb.type.d.mts → breadcrumb.type.d.ts} +1 -1
- package/types/{button-group.type.d.mts → button-group.type.d.ts} +1 -1
- package/types/{button.type.d.mts → button.type.d.ts} +1 -1
- package/types/{cascader-menu.type.d.mts → cascader-menu.type.d.ts} +4 -4
- package/types/{cascader-node.type.d.mts → cascader-node.type.d.ts} +4 -4
- package/types/{cascader-panel.type.d.mts → cascader-panel.type.d.ts} +6 -6
- package/types/{checkbox.type.d.mts → checkbox.type.d.ts} +2 -1
- package/types/{collapse-item.type.d.mts → collapse-item.type.d.ts} +1 -1
- package/types/{collapse.type.d.mts → collapse.type.d.ts} +1 -1
- package/types/{color-picker.type.d.mts → color-picker.type.d.ts} +2 -2
- package/types/{color-select-panel.type.d.mts → color-select-panel.type.d.ts} +2 -2
- package/types/{date-picker.type.d.mts → date-picker.type.d.ts} +5 -1
- package/types/{dialog-box.type.d.mts → dialog-box.type.d.ts} +9 -9
- package/types/{dropdown-item.type-77f0c8c5.d.ts → dropdown-item.type-bf83e929.d.ts} +4 -4
- package/types/{dropdown-item.type.d.mts → dropdown-item.type.d.ts} +3 -3
- package/types/{dropdown-menu.type.d.mts → dropdown-menu.type.d.ts} +3 -3
- package/types/{dropdown.type.d.mts → dropdown.type.d.ts} +1 -1
- package/types/{file-upload.type.d.mts → file-upload.type.d.ts} +2 -2
- package/types/{floatbar.type.d.mts → floatbar.type.d.ts} +7 -7
- package/types/{form-item.type.d.mts → form-item.type.d.ts} +2 -2
- package/types/{form.type-1e2e9272.d.ts → form.type-d0fd42f3.d.ts} +20 -7
- package/types/{form.type.d.mts → form.type.d.ts} +2 -2
- package/types/{image.type.d.mts → image.type.d.ts} +1 -1
- package/types/{input.type.d.mts → input.type.d.ts} +10 -2
- package/types/{link.type.d.mts → link.type.d.ts} +1 -1
- package/types/{loading.type.d.mts → loading.type.d.ts} +1 -1
- package/types/{milestone.type.d.mts → milestone.type.d.ts} +1 -1
- package/types/{modal.type.d.mts → modal.type.d.ts} +18 -19
- package/types/{nav-menu.type.d.mts → nav-menu.type.d.ts} +1 -1
- package/types/{numeric.type.d.mts → numeric.type.d.ts} +9 -3
- package/types/{picker.type.d.mts → picker.type.d.ts} +5 -1
- package/types/{popeditor.type.d.mts → popeditor.type.d.ts} +1 -1
- package/types/{popover.type.d.mts → popover.type.d.ts} +1 -1
- package/types/{progress.type.d.mts → progress.type.d.ts} +1 -1
- package/types/{radio-button.type.d.mts → radio-button.type.d.ts} +3 -3
- package/types/{radio-group.type.d.mts → radio-group.type.d.ts} +5 -1
- package/types/{radio.type.d.mts → radio.type.d.ts} +2 -2
- package/types/{search.type.d.mts → search.type.d.ts} +1 -1
- package/types/{shared.type.d.mts → shared.type.d.ts} +7 -7
- package/types/{slider.type.d.mts → slider.type.d.ts} +1 -1
- package/types/{steps.type.d.mts → steps.type.d.ts} +6 -1
- package/types/{switch.type.d.mts → switch.type.d.ts} +5 -1
- package/types/{tab-bar.type.d.mts → tab-bar.type.d.ts} +3 -2
- package/types/{tab-item.type.d.mts → tab-item.type.d.ts} +2 -2
- package/types/{tab-nav.type.d.mts → tab-nav.type.d.ts} +13 -12
- package/types/{tabs.type.d.mts → tabs.type.d.ts} +6 -4
- package/types/{tag.type.d.mts → tag.type.d.ts} +1 -1
- package/types/{time-line.type-5f76ecc2.d.ts → time-line.type-d7daa669.d.ts} +1 -1
- package/types/{time-line.type.d.mts → time-line.type.d.ts} +2 -2
- package/types/{timeline-item.type.d.mts → timeline-item.type.d.ts} +2 -2
- package/types/toast.type.d.ts +63 -0
- package/types/{tooltip.type.d.mts → tooltip.type.d.ts} +2 -9
- package/types/{upload-dragger.type.d.mts → upload-dragger.type.d.ts} +2 -2
- package/types/{upload-list.type-b934f279.d.ts → upload-list.type-343e8c11.d.ts} +45 -7
- package/types/{upload-list.type.d.mts → upload-list.type.d.ts} +2 -2
- package/types/{upload.type.d.mts → upload.type.d.ts} +2 -2
- package/types/watermark.type.d.ts +33 -0
- package/types/{wizard.type.d.mts → wizard.type.d.ts} +1 -1
- package/upload/index.js +1 -1
- package/upload-list/index.js +3 -2
- package/upload-list/vue.js +12 -2
- package/watermark/index.js +202 -0
- package/watermark/vue.js +27 -0
- package/wizard/index.js +5 -5
- package/card-group/index.js +0 -16
- package/color-picker/alpha-select/index.js +0 -20
- package/color-picker/alpha-select/vue.js +0 -60
- package/color-picker/color-select/index.js +0 -69
- package/color-picker/color-select/vue.js +0 -57
- package/color-picker/utils/use-drag.js +0 -38
- /package/types/{action-sheet.type.d.mts → action-sheet.type.d.ts} +0 -0
- /package/types/{amount.type.d.mts → amount.type.d.ts} +0 -0
- /package/types/{area.type.d.mts → area.type.d.ts} +0 -0
- /package/types/{autocomplete.type.d.mts → autocomplete.type.d.ts} +0 -0
- /package/types/{autonavi-map.type.d.mts → autonavi-map.type.d.ts} +0 -0
- /package/types/{avatar.type.d.mts → avatar.type.d.ts} +0 -0
- /package/types/{baidu-map.type.d.mts → baidu-map.type.d.ts} +0 -0
- /package/types/{bulletin-board.type.d.mts → bulletin-board.type.d.ts} +0 -0
- /package/types/{calendar-bar.type.d.mts → calendar-bar.type.d.ts} +0 -0
- /package/types/{calendar.type.d.mts → calendar.type.d.ts} +0 -0
- /package/types/{card-group.type.d.mts → card-group.type.d.ts} +0 -0
- /package/types/{card-template.type.d.mts → card-template.type.d.ts} +0 -0
- /package/types/{card.type.d.mts → card.type.d.ts} +0 -0
- /package/types/{carousel-item.type.d.mts → carousel-item.type.d.ts} +0 -0
- /package/types/{carousel.type.d.mts → carousel.type.d.ts} +0 -0
- /package/types/{cascader-mobile.type.d.mts → cascader-mobile.type.d.ts} +0 -0
- /package/types/{cascader-select.type.d.mts → cascader-select.type.d.ts} +0 -0
- /package/types/{cascader.type.d.mts → cascader.type.d.ts} +0 -0
- /package/types/{cell.type.d.mts → cell.type.d.ts} +0 -0
- /package/types/{chart-bar.type.d.mts → chart-bar.type.d.ts} +0 -0
- /package/types/{chart-boxplot.type.d.mts → chart-boxplot.type.d.ts} +0 -0
- /package/types/{chart-candle.type.d.mts → chart-candle.type.d.ts} +0 -0
- /package/types/{chart-core.type.d.mts → chart-core.type.d.ts} +0 -0
- /package/types/{chart-funnel.type.d.mts → chart-funnel.type.d.ts} +0 -0
- /package/types/{chart-gauge.type.d.mts → chart-gauge.type.d.ts} +0 -0
- /package/types/{chart-graph.type.d.mts → chart-graph.type.d.ts} +0 -0
- /package/types/{chart-heatmap.type.d.mts → chart-heatmap.type.d.ts} +0 -0
- /package/types/{chart-line.type.d.mts → chart-line.type.d.ts} +0 -0
- /package/types/{chart-liquidfill.type.d.mts → chart-liquidfill.type.d.ts} +0 -0
- /package/types/{chart-map.type.d.mts → chart-map.type.d.ts} +0 -0
- /package/types/{chart-pie.type.d.mts → chart-pie.type.d.ts} +0 -0
- /package/types/{chart-radar.type.d.mts → chart-radar.type.d.ts} +0 -0
- /package/types/{chart-sankey.type.d.mts → chart-sankey.type.d.ts} +0 -0
- /package/types/{chart-scatter.type.d.mts → chart-scatter.type.d.ts} +0 -0
- /package/types/{chart-sunburst.type.d.mts → chart-sunburst.type.d.ts} +0 -0
- /package/types/{chart-tree.type.d.mts → chart-tree.type.d.ts} +0 -0
- /package/types/{chart-waterfall.type.d.mts → chart-waterfall.type.d.ts} +0 -0
- /package/types/{chart-wordcloud.type.d.mts → chart-wordcloud.type.d.ts} +0 -0
- /package/types/{checkbox-button.type.d.mts → checkbox-button.type.d.ts} +0 -0
- /package/types/{checkbox-group.type.d.mts → checkbox-group.type.d.ts} +0 -0
- /package/types/{col.type.d.mts → col.type.d.ts} +0 -0
- /package/types/{column-list-group.type.d.mts → column-list-group.type.d.ts} +0 -0
- /package/types/{column-list-item.type.d.mts → column-list-item.type.d.ts} +0 -0
- /package/types/{common.type.d.mts → common.type.d.ts} +0 -0
- /package/types/{company.type.d.mts → company.type.d.ts} +0 -0
- /package/types/{container.type.d.mts → container.type.d.ts} +0 -0
- /package/types/{country.type.d.mts → country.type.d.ts} +0 -0
- /package/types/{credit-card-form.type.d.mts → credit-card-form.type.d.ts} +0 -0
- /package/types/{credit-card.type.d.mts → credit-card.type.d.ts} +0 -0
- /package/types/{crop.type.d.mts → crop.type.d.ts} +0 -0
- /package/types/{currency.type.d.mts → currency.type.d.ts} +0 -0
- /package/types/{date-panel.type.d.mts → date-panel.type.d.ts} +0 -0
- /package/types/{date-picker-mobile.type.d.mts → date-picker-mobile.type.d.ts} +0 -0
- /package/types/{date-range.type.d.mts → date-range.type.d.ts} +0 -0
- /package/types/{date-table.type.d.mts → date-table.type.d.ts} +0 -0
- /package/types/{dept.type.d.mts → dept.type.d.ts} +0 -0
- /package/types/{detail-page.type.d.mts → detail-page.type.d.ts} +0 -0
- /package/types/{dialog-select.type.d.mts → dialog-select.type.d.ts} +0 -0
- /package/types/{drawer.type.d.mts → drawer.type.d.ts} +0 -0
- /package/types/{drop-roles.type.d.mts → drop-roles.type.d.ts} +0 -0
- /package/types/{drop-times.type.d.mts → drop-times.type.d.ts} +0 -0
- /package/types/{dynamic-scroller-item.type.d.mts → dynamic-scroller-item.type.d.ts} +0 -0
- /package/types/{dynamic-scroller.type.d.mts → dynamic-scroller.type.d.ts} +0 -0
- /package/types/{espace.type.d.mts → espace.type.d.ts} +0 -0
- /package/types/{exception.type.d.mts → exception.type.d.ts} +0 -0
- /package/types/{fall-menu.type.d.mts → fall-menu.type.d.ts} +0 -0
- /package/types/{filter-bar.type.d.mts → filter-bar.type.d.ts} +0 -0
- /package/types/{filter-box.type.d.mts → filter-box.type.d.ts} +0 -0
- /package/types/{filter-panel.type.d.mts → filter-panel.type.d.ts} +0 -0
- /package/types/{filter.type.d.mts → filter.type.d.ts} +0 -0
- /package/types/{floating-button.type.d.mts → floating-button.type.d.ts} +0 -0
- /package/types/{flowchart.type.d.mts → flowchart.type.d.ts} +0 -0
- /package/types/{fullscreen.type.d.mts → fullscreen.type.d.ts} +0 -0
- /package/types/{grid.type.d.mts → grid.type.d.ts} +0 -0
- /package/types/{guide.type.d.mts → guide.type.d.ts} +0 -0
- /package/types/{hrapprover.type.d.mts → hrapprover.type.d.ts} +0 -0
- /package/types/{image-viewer.type.d.mts → image-viewer.type.d.ts} +0 -0
- /package/types/{index-bar-anchor.type.d.mts → index-bar-anchor.type.d.ts} +0 -0
- /package/types/{index-bar.type.d.mts → index-bar.type.d.ts} +0 -0
- /package/types/{ip-address.type.d.mts → ip-address.type.d.ts} +0 -0
- /package/types/{layout.type.d.mts → layout.type.d.ts} +0 -0
- /package/types/{link-menu.type.d.mts → link-menu.type.d.ts} +0 -0
- /package/types/{list.type.d.mts → list.type.d.ts} +0 -0
- /package/types/{locales.type.d.mts → locales.type.d.ts} +0 -0
- /package/types/{logon-user.type.d.mts → logon-user.type.d.ts} +0 -0
- /package/types/{logout.type.d.mts → logout.type.d.ts} +0 -0
- /package/types/{mini-picker.type.d.mts → mini-picker.type.d.ts} +0 -0
- /package/types/{month-range.type.d.mts → month-range.type.d.ts} +0 -0
- /package/types/{month-table.type.d.mts → month-table.type.d.ts} +0 -0
- /package/types/{multi-select.type.d.mts → multi-select.type.d.ts} +0 -0
- /package/types/{notify.type.d.mts → notify.type.d.ts} +0 -0
- /package/types/{option-group.type.d.mts → option-group.type.d.ts} +0 -0
- /package/types/{option.type.d.mts → option.type.d.ts} +0 -0
- /package/types/{pager-item.type.d.mts → pager-item.type.d.ts} +0 -0
- /package/types/{pager.type.d.mts → pager.type.d.ts} +0 -0
- /package/types/{panel.type.d.mts → panel.type.d.ts} +0 -0
- /package/types/{picker-column.type.d.mts → picker-column.type.d.ts} +0 -0
- /package/types/{pop-upload.type.d.mts → pop-upload.type.d.ts} +0 -0
- /package/types/{popconfirm.type.d.mts → popconfirm.type.d.ts} +0 -0
- /package/types/{popup.type.d.mts → popup.type.d.ts} +0 -0
- /package/types/{pull-refresh.type.d.mts → pull-refresh.type.d.ts} +0 -0
- /package/types/{query-builder.type.d.mts → query-builder.type.d.ts} +0 -0
- /package/types/{rate.type.d.mts → rate.type.d.ts} +0 -0
- /package/types/{record.type.d.mts → record.type.d.ts} +0 -0
- /package/types/{recycle-scroller.type.d.mts → recycle-scroller.type.d.ts} +0 -0
- /package/types/{river.type.d.mts → river.type.d.ts} +0 -0
- /package/types/{roles.type.d.mts → roles.type.d.ts} +0 -0
- /package/types/{row.type.d.mts → row.type.d.ts} +0 -0
- /package/types/{scroll-text.type.d.mts → scroll-text.type.d.ts} +0 -0
- /package/types/{scrollbar.type.d.mts → scrollbar.type.d.ts} +0 -0
- /package/types/{select-dropdown.type.d.mts → select-dropdown.type.d.ts} +0 -0
- /package/types/{select-mobile.type.d.mts → select-mobile.type.d.ts} +0 -0
- /package/types/{select-view.type.d.mts → select-view.type.d.ts} +0 -0
- /package/types/{select.type.d.mts → select.type.d.ts} +0 -0
- /package/types/{selected-box.type.d.mts → selected-box.type.d.ts} +0 -0
- /package/types/{slide-bar.type.d.mts → slide-bar.type.d.ts} +0 -0
- /package/types/{slider-button-group.type.d.mts → slider-button-group.type.d.ts} +0 -0
- /package/types/{slider-button.type.d.mts → slider-button.type.d.ts} +0 -0
- /package/types/{split.type.d.mts → split.type.d.ts} +0 -0
- /package/types/{standard-list-item.type.d.mts → standard-list-item.type.d.ts} +0 -0
- /package/types/{tab-dropdown.type.d.mts → tab-dropdown.type.d.ts} +0 -0
- /package/types/{tab-item-mf.type.d.mts → tab-item-mf.type.d.ts} +0 -0
- /package/types/{tabbar-item.type.d.mts → tabbar-item.type.d.ts} +0 -0
- /package/types/{tabbar.type.d.mts → tabbar.type.d.ts} +0 -0
- /package/types/{table.type.d.mts → table.type.d.ts} +0 -0
- /package/types/{tabs-mf.type.d.mts → tabs-mf.type.d.ts} +0 -0
- /package/types/{tag-group.type.d.mts → tag-group.type.d.ts} +0 -0
- /package/types/{tall-storage.type.d.mts → tall-storage.type.d.ts} +0 -0
- /package/types/{text-popup.type.d.mts → text-popup.type.d.ts} +0 -0
- /package/types/{time-panel.type.d.mts → time-panel.type.d.ts} +0 -0
- /package/types/{time-picker-mobile.type.d.mts → time-picker-mobile.type.d.ts} +0 -0
- /package/types/{time-range.type.d.mts → time-range.type.d.ts} +0 -0
- /package/types/{time-spinner.type.d.mts → time-spinner.type.d.ts} +0 -0
- /package/types/{time.type.d.mts → time.type.d.ts} +0 -0
- /package/types/{toggle-menu.type.d.mts → toggle-menu.type.d.ts} +0 -0
- /package/types/{top-box.type.d.mts → top-box.type.d.ts} +0 -0
- /package/types/{transfer-panel.type.d.mts → transfer-panel.type.d.ts} +0 -0
- /package/types/{transfer.type.d.mts → transfer.type.d.ts} +0 -0
- /package/types/{tree-menu.type.d.mts → tree-menu.type.d.ts} +0 -0
- /package/types/{tree-node.type.d.mts → tree-node.type.d.ts} +0 -0
- /package/types/{tree.type.d.mts → tree.type.d.ts} +0 -0
- /package/types/{user-account.type.d.mts → user-account.type.d.ts} +0 -0
- /package/types/{user-contact.type.d.mts → user-contact.type.d.ts} +0 -0
- /package/types/{user-head-group.type.d.mts → user-head-group.type.d.ts} +0 -0
- /package/types/{user-head.type.d.mts → user-head.type.d.ts} +0 -0
- /package/types/{user-link.type.d.mts → user-link.type.d.ts} +0 -0
- /package/types/{user.type.d.mts → user.type.d.ts} +0 -0
- /package/types/{wheel.type.d.mts → wheel.type.d.ts} +0 -0
- /package/types/{year-range.type.d.mts → year-range.type.d.ts} +0 -0
- /package/types/{year-table.type.d.mts → year-table.type.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const $constants: {
|
|
5
5
|
MODAL_STATUS: {
|
|
@@ -79,7 +79,7 @@ declare const modalProps: {
|
|
|
79
79
|
default: () => boolean;
|
|
80
80
|
};
|
|
81
81
|
maskClosable: BooleanConstructor;
|
|
82
|
-
message: (StringConstructor | FunctionConstructor
|
|
82
|
+
message: (StringConstructor | FunctionConstructor)[];
|
|
83
83
|
minHeight: {
|
|
84
84
|
type: (StringConstructor | NumberConstructor)[];
|
|
85
85
|
default: () => number;
|
|
@@ -111,34 +111,33 @@ declare const modalProps: {
|
|
|
111
111
|
vSize: StringConstructor;
|
|
112
112
|
width: (StringConstructor | NumberConstructor)[];
|
|
113
113
|
zIndex: (StringConstructor | NumberConstructor)[];
|
|
114
|
-
tiny_theme: StringConstructor;
|
|
115
|
-
mode: null;
|
|
116
114
|
description: StringConstructor;
|
|
117
115
|
options: ArrayConstructor;
|
|
118
116
|
showClose: {
|
|
119
117
|
type: BooleanConstructor;
|
|
120
118
|
default: boolean;
|
|
121
119
|
};
|
|
120
|
+
confirmContent: StringConstructor;
|
|
121
|
+
cancelContent: StringConstructor;
|
|
122
122
|
position: {
|
|
123
123
|
type: StringConstructor;
|
|
124
124
|
default: string;
|
|
125
125
|
validator(val: string): boolean;
|
|
126
126
|
};
|
|
127
|
-
|
|
128
|
-
confirmContent: StringConstructor;
|
|
129
|
-
cancelContent: StringConstructor;
|
|
127
|
+
customClass: StringConstructor;
|
|
130
128
|
confirmBtnProps: {
|
|
131
129
|
type: ObjectConstructor;
|
|
132
|
-
default: {};
|
|
130
|
+
default: () => {};
|
|
133
131
|
};
|
|
134
132
|
cancelBtnProps: {
|
|
135
133
|
type: ObjectConstructor;
|
|
136
|
-
default: {};
|
|
134
|
+
default: () => {};
|
|
137
135
|
};
|
|
138
136
|
tiny_mode: StringConstructor;
|
|
139
137
|
tiny_mode_root: BooleanConstructor;
|
|
140
138
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
141
139
|
tiny_renderless: FunctionConstructor;
|
|
140
|
+
tiny_theme: StringConstructor;
|
|
142
141
|
tiny_chart_theme: ObjectConstructor;
|
|
143
142
|
};
|
|
144
143
|
|
|
@@ -197,16 +196,16 @@ interface IModalApi {
|
|
|
197
196
|
resetDragStyle: () => void;
|
|
198
197
|
}
|
|
199
198
|
type IModalRenderlessParamUtils = ISharedRenderlessParamUtils<IModalConstants>;
|
|
200
|
-
|
|
199
|
+
interface IModalEmitParam {
|
|
201
200
|
type: string;
|
|
202
201
|
$modal: IModalRenderlessParamUtils['parent'];
|
|
203
202
|
options?: any[];
|
|
204
|
-
}
|
|
203
|
+
}
|
|
205
204
|
type IModalEmitZoomParam = {
|
|
206
205
|
params: IModalEmitParam;
|
|
207
206
|
event: Event;
|
|
208
207
|
} & Pick<IModalRenderlessParams, 'parent' | 'emit'>;
|
|
209
|
-
|
|
208
|
+
interface IModalSizeInfo {
|
|
210
209
|
width: number;
|
|
211
210
|
height: number;
|
|
212
211
|
top: number;
|
|
@@ -224,7 +223,7 @@ type IModalSizeInfo = {
|
|
|
224
223
|
marginSize: number | string;
|
|
225
224
|
left: number;
|
|
226
225
|
modalBoxElem: IModalRenderlessParams['vm'];
|
|
227
|
-
}
|
|
226
|
+
}
|
|
228
227
|
type IModalComputeLeftParam = Pick<IModalSizeInfo, 'width' | 'offsetWidth' | 'x' | 'minWidth' | 'temp' | 'offsetLeft' | 'marginSize' | 'left'>;
|
|
229
228
|
type IModalComputeTopParam = Pick<IModalSizeInfo, 'height' | 'offsetHeight' | 'y' | 'minHeight' | 'temp' | 'offsetTop' | 'marginSize' | 'top'>;
|
|
230
229
|
type IModalComputeRightParam = Pick<IModalSizeInfo, 'width' | 'offsetWidth' | 'x' | 'minWidth' | 'temp' | 'visibleWidth' | 'offsetLeft' | 'marginSize'>;
|
|
@@ -233,22 +232,22 @@ type IModalUpdateWlParam = Pick<IModalSizeInfo, 'width' | 'offsetWidth' | 'x' |
|
|
|
233
232
|
type IModalUpdateWrParam = Pick<IModalSizeInfo, 'width' | 'offsetWidth' | 'x' | 'minWidth' | 'temp' | 'visibleWidth' | 'offsetLeft' | 'marginSize' | 'modalBoxElem'>;
|
|
234
233
|
type IModalUpdateStParam = Pick<IModalSizeInfo, 'height' | 'offsetHeight' | 'y' | 'minHeight' | 'temp' | 'offsetTop' | 'marginSize' | 'top' | 'modalBoxElem'>;
|
|
235
234
|
type IModalUpdateSbParam = Pick<IModalSizeInfo, 'height' | 'offsetHeight' | 'y' | 'minHeight' | 'temp' | 'visibleHeight' | 'offsetTop' | 'marginSize' | 'modalBoxElem'>;
|
|
236
|
-
|
|
235
|
+
interface IModalRet {
|
|
237
236
|
width?: number;
|
|
238
237
|
height?: number;
|
|
239
238
|
top?: number;
|
|
240
239
|
left?: number;
|
|
241
|
-
}
|
|
242
|
-
|
|
240
|
+
}
|
|
241
|
+
interface IModalUpdateDeltaParam {
|
|
243
242
|
event: MouseEvent;
|
|
244
243
|
delta: {
|
|
245
244
|
x: number;
|
|
246
245
|
y: number;
|
|
247
246
|
};
|
|
248
247
|
state: IModalRenderlessParams['state'];
|
|
249
|
-
}
|
|
248
|
+
}
|
|
250
249
|
type IModalDragDirection = 'wl' | 'wr' | 'st' | 'sb' | 'swst' | 'sest' | 'swlb' | 'selb';
|
|
251
|
-
|
|
250
|
+
interface IModalSetModalBoxStyleParam {
|
|
252
251
|
delta: {
|
|
253
252
|
x: number;
|
|
254
253
|
y: number;
|
|
@@ -259,6 +258,6 @@ type IModalSetModalBoxStyleParam = {
|
|
|
259
258
|
disX: number;
|
|
260
259
|
disY: number;
|
|
261
260
|
} & Pick<IModalSizeInfo, 'offsetTop' | 'offsetLeft' | 'visibleHeight' | 'visibleWidth' | 'modalBoxElem'>;
|
|
262
|
-
}
|
|
261
|
+
}
|
|
263
262
|
|
|
264
263
|
export { IModalApi, IModalComputeBottomParam, IModalComputeLeftParam, IModalComputeRightParam, IModalComputeTopParam, IModalConstants, IModalDragDirection, IModalEmitParam, IModalEmitZoomParam, IModalProps, IModalRenderlessParamUtils, IModalRenderlessParams, IModalRet, IModalSetModalBoxStyleParam, IModalState, IModalUpdateDeltaParam, IModalUpdateSbParam, IModalUpdateStParam, IModalUpdateWlParam, IModalUpdateWrParam };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes, ComputedRef } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const navMenuProps: {
|
|
5
5
|
data: ArrayConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare class BigIntDecimal {
|
|
5
5
|
constructor(value: any);
|
|
@@ -88,7 +88,7 @@ declare const numericProps: {
|
|
|
88
88
|
type: BooleanConstructor;
|
|
89
89
|
default: boolean;
|
|
90
90
|
};
|
|
91
|
-
modelValue:
|
|
91
|
+
modelValue: (StringConstructor | NumberConstructor | undefined)[];
|
|
92
92
|
mouseWheel: BooleanConstructor;
|
|
93
93
|
name: StringConstructor;
|
|
94
94
|
placeholder: StringConstructor;
|
|
@@ -136,6 +136,10 @@ declare const numericProps: {
|
|
|
136
136
|
type: BooleanConstructor;
|
|
137
137
|
default: boolean;
|
|
138
138
|
};
|
|
139
|
+
showEmptyValue: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
default: boolean;
|
|
142
|
+
};
|
|
139
143
|
tiny_mode: StringConstructor;
|
|
140
144
|
tiny_mode_root: BooleanConstructor;
|
|
141
145
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
@@ -161,7 +165,7 @@ declare const initService: (service: INumericRenderlessParamUtils['service']) =>
|
|
|
161
165
|
getNumberFormat: Function;
|
|
162
166
|
};
|
|
163
167
|
declare const getDecimal: (props: INumericProps) => (value: number) => BigIntDecimal;
|
|
164
|
-
declare const watchValue: ({ api, state }: Pick<INumericRenderlessParams, 'api' | 'state'>) => (value: number) => void;
|
|
168
|
+
declare const watchValue: ({ api, state, nextTick }: Pick<INumericRenderlessParams, 'api' | 'state' | 'nextTick'>) => (value: number) => void;
|
|
165
169
|
declare const toPrecision: (state: INumericState) => ({ num, precision }: {
|
|
166
170
|
num: number;
|
|
167
171
|
precision: number;
|
|
@@ -192,6 +196,7 @@ declare const getNumPecision: ({ api, props }: Pick<INumericRenderlessParams, 'a
|
|
|
192
196
|
declare const mouseEvent: ({ api, props, state }: Pick<INumericRenderlessParams, 'api' | 'props' | 'state'>) => (event: MouseEvent) => void | boolean;
|
|
193
197
|
declare const dispatchDisplayedValue: ({ state, api, dispatch }: Pick<INumericRenderlessParams, 'state' | 'api' | 'dispatch'>) => () => void;
|
|
194
198
|
declare const getDisplayedValue: ({ state, props }: Pick<INumericRenderlessParams, 'state' | 'props'>) => () => string;
|
|
199
|
+
declare const getDisplayOnlyText: ({ parent, state, props }: Pick<INumericRenderlessParams, 'parent' | 'state' | 'props'>) => () => string | number;
|
|
195
200
|
|
|
196
201
|
type INumericProps = ExtractPropTypes<typeof numericProps>;
|
|
197
202
|
type INumericConstants = typeof $constants;
|
|
@@ -238,6 +243,7 @@ interface INumericApi {
|
|
|
238
243
|
setCurrentValue: ReturnType<typeof setCurrentValue>;
|
|
239
244
|
dispatchDisplayedValue: ReturnType<typeof dispatchDisplayedValue>;
|
|
240
245
|
getDisplayedValue: ReturnType<typeof getDisplayedValue>;
|
|
246
|
+
getDisplayOnlyText: ReturnType<typeof getDisplayOnlyText>;
|
|
241
247
|
}
|
|
242
248
|
type INumericRenderlessParams = ISharedRenderlessFunctionParams<INumericConstants> & {
|
|
243
249
|
api: INumericApi;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { ExtractPropTypes, Component, ComputedRef } from 'vue';
|
|
3
|
-
import { ISharedRenderlessParamUtils } from './shared.type.
|
|
3
|
+
import { ISharedRenderlessParamUtils } from './shared.type.js';
|
|
4
4
|
|
|
5
5
|
declare const pickerProps: {
|
|
6
6
|
type: {
|
|
@@ -12,6 +12,10 @@ declare const pickerProps: {
|
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
timeArrowControl: BooleanConstructor;
|
|
15
|
+
timeEditable: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
15
19
|
size: StringConstructor;
|
|
16
20
|
format: StringConstructor;
|
|
17
21
|
valueFormat: StringConstructor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { ComputedRef, ExtractPropTypes } from 'vue';
|
|
3
3
|
import * as _opentiny_vue_common from '@opentiny/vue-common';
|
|
4
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
4
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
5
5
|
|
|
6
6
|
declare const $constants: {
|
|
7
7
|
TITLE: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const $constants: {
|
|
5
5
|
PROGRESS_TYPE: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StyleValue, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
3
|
-
import { IRadioGroupProps } from './radio-group.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
|
+
import { IRadioGroupProps } from './radio-group.type.js';
|
|
4
4
|
|
|
5
5
|
declare const $constants: {
|
|
6
6
|
RADIO_GROUP: string;
|
|
@@ -51,7 +51,7 @@ declare const getStyle: (state: IRadioButtonRenderlessParams['state']) => () =>
|
|
|
51
51
|
boxShadow: string;
|
|
52
52
|
color: any;
|
|
53
53
|
};
|
|
54
|
-
declare const toggleEvents: ({
|
|
54
|
+
declare const toggleEvents: ({ vm, props }: Pick<IRadioButtonRenderlessParams, 'vm' | 'props'>) => (isUnBind?: boolean) => void;
|
|
55
55
|
declare const keydownHandle: ({ state, props }: Pick<IRadioButtonRenderlessParams, 'state' | 'props'>) => () => void;
|
|
56
56
|
declare const handleFocus: (state: IRadioButtonRenderlessParams['state']) => () => boolean;
|
|
57
57
|
declare const handleBlur: (state: IRadioButtonRenderlessParams['state']) => () => boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const radioGroupProps: {
|
|
5
5
|
modelValue: {};
|
|
@@ -23,6 +23,10 @@ declare const radioGroupProps: {
|
|
|
23
23
|
type: BooleanConstructor;
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
|
+
displayOnly: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
26
30
|
tiny_mode: StringConstructor;
|
|
27
31
|
tiny_mode_root: BooleanConstructor;
|
|
28
32
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const $constants: {
|
|
5
5
|
RADIO_GROUP: string;
|
|
@@ -60,7 +60,7 @@ declare const isDisabled: ({ props, state }: Pick<IRadioRenderlessParams, 'props
|
|
|
60
60
|
declare const isDisplayOnly: ({ props }: Pick<IRadioRenderlessParams, 'props'>) => () => boolean;
|
|
61
61
|
declare const tabIndex: ({ props, state }: Pick<IRadioRenderlessParams, 'props' | 'state'>) => () => number;
|
|
62
62
|
declare const getModel: ({ props, state }: Pick<IRadioRenderlessParams, 'props' | 'state'>) => () => IRadioState['model'];
|
|
63
|
-
declare const setModel: ({ constants, dispatch, emit, props,
|
|
63
|
+
declare const setModel: ({ constants, dispatch, emit, props, vm, state }: Pick<IRadioRenderlessParams, 'constants' | 'dispatch' | 'emit' | 'props' | 'vm' | 'state'>) => (val: IRadioState['model']) => void;
|
|
64
64
|
declare const dispatchDisplayedValue: ({ state, dispatch, api }: Pick<IRadioRenderlessParams, 'state' | 'dispatch' | 'api'>) => () => void;
|
|
65
65
|
declare const getDisplayedValue: ({ vm, state, props }: Pick<IRadioRenderlessParams, 'vm' | 'props' | 'state'>) => () => string;
|
|
66
66
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
interface ISearchState {
|
|
5
5
|
show: boolean;
|
|
@@ -40,7 +40,7 @@ interface ISharedRenderlessParamUtils<CT = never> {
|
|
|
40
40
|
attrs: any;
|
|
41
41
|
/** 返回组件props._constants */
|
|
42
42
|
constants: CT;
|
|
43
|
-
/** vue的内置nextTick, 其实可以从第二参 hooks中获取, 还可以通过当前vm.$nextTick
|
|
43
|
+
/** vue的内置nextTick, 其实可以从第二参 hooks中获取, 还可以通过当前vm.$nextTick来获取 */
|
|
44
44
|
nextTick: typeof vue.nextTick;
|
|
45
45
|
/** parentVm */
|
|
46
46
|
parent: ITinyVm<CT>;
|
|
@@ -53,7 +53,7 @@ interface ISharedRenderlessParamUtils<CT = never> {
|
|
|
53
53
|
route: any;
|
|
54
54
|
/** 当前的router实例。 从app的根上读取 */
|
|
55
55
|
router: any;
|
|
56
|
-
/** 从app的根上读取: root?.$service, 用户必须引用服务适配器的包, 并传入app
|
|
56
|
+
/** 从app的根上读取: root?.$service, 用户必须引用服务适配器的包, 并传入app后,才有该变量 */
|
|
57
57
|
service: any;
|
|
58
58
|
/** 调用从app的根上$getService: root?.$getService(vm) */
|
|
59
59
|
getService: any;
|
|
@@ -94,7 +94,7 @@ interface ISharedRenderlessParamUtils<CT = never> {
|
|
|
94
94
|
* @param props Object.defineProperties的第2参, 格式:{ property1: {value: 42,writable: true},property2: {...} }
|
|
95
95
|
*/
|
|
96
96
|
defineInstanceProperties: (props: PropertyDescriptorMap & ThisType<any>) => void;
|
|
97
|
-
/** 给parentVm
|
|
97
|
+
/** 给parentVm 添加属性。 */
|
|
98
98
|
defineParentInstanceProperties: (props: PropertyDescriptorMap & ThisType<any>) => void;
|
|
99
99
|
/** 返回 context.emit */
|
|
100
100
|
emit: (event: any, ...args: any[]) => void;
|
|
@@ -135,11 +135,11 @@ interface ITinyVm<CT = never> {
|
|
|
135
135
|
$constants: CT;
|
|
136
136
|
/** 返回 instance.vnode.el */
|
|
137
137
|
$el: HTMLElement;
|
|
138
|
-
/** 返回 instance._tiny_mode*/
|
|
138
|
+
/** 返回 instance._tiny_mode */
|
|
139
139
|
$mode: 'pc' | 'mobile' | 'mobile-first';
|
|
140
140
|
/** 即 hooks.nextTick */
|
|
141
141
|
$nextTick: typeof vue.nextTick;
|
|
142
|
-
/** 自动触发 instance.emit 和 instance.$emitter
|
|
142
|
+
/** 自动触发 instance.emit 和 instance.$emitter 两处地方 */
|
|
143
143
|
$emit: (...args: any[]) => void;
|
|
144
144
|
/** instance.$emitter.off, 不传任何参数则是移除所有事件 */
|
|
145
145
|
$off: (eventname?: string, callback?: Function) => void;
|
|
@@ -157,9 +157,9 @@ interface ITinyVm<CT = never> {
|
|
|
157
157
|
/** 返回 instance.refs,
|
|
158
158
|
* @mark ⭐ 尽量使用这个,每次都会是最新的refs */
|
|
159
159
|
$refs: Record<string, any>;
|
|
160
|
-
/** 返回 instance.slots*/
|
|
160
|
+
/** 返回 instance.slots */
|
|
161
161
|
$slots: Record<string, Function>;
|
|
162
|
-
/** 返回 instance.slots*/
|
|
162
|
+
/** 返回 instance.slots */
|
|
163
163
|
$scopedSlots: Record<string, Function>;
|
|
164
164
|
/** 给target赋值。 vue2是调用instance.$set
|
|
165
165
|
* @mark vue3是响应数据,直接转为 target[propertyName] = value。
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes, ComputedRef } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const $constants: {
|
|
5
5
|
TIP_HEIGHT: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const stepsProps: {
|
|
5
5
|
nameField: {
|
|
@@ -28,6 +28,10 @@ declare const stepsProps: {
|
|
|
28
28
|
type: StringConstructor;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
|
+
size: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
31
35
|
vertical: {
|
|
32
36
|
type: BooleanConstructor;
|
|
33
37
|
default: boolean;
|
|
@@ -36,6 +40,7 @@ declare const stepsProps: {
|
|
|
36
40
|
type: BooleanConstructor;
|
|
37
41
|
default: boolean;
|
|
38
42
|
};
|
|
43
|
+
line: BooleanConstructor;
|
|
39
44
|
duration: {
|
|
40
45
|
type: NumberConstructor;
|
|
41
46
|
default: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StyleValue, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const $constants: {
|
|
5
5
|
PC_PREFIXCLS: string;
|
|
@@ -56,6 +56,10 @@ declare const switchProps: {
|
|
|
56
56
|
type: BooleanConstructor;
|
|
57
57
|
default: boolean;
|
|
58
58
|
};
|
|
59
|
+
loading: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
59
63
|
tiny_mode: StringConstructor;
|
|
60
64
|
tiny_mode_root: BooleanConstructor;
|
|
61
65
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ITabsVm } from './tabs.type.
|
|
3
|
-
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.
|
|
2
|
+
import { ITabsVm } from './tabs.type.js';
|
|
3
|
+
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
4
4
|
import { t as tabBarProps } from './index-e0250f63.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -21,6 +21,7 @@ type ITabBarPcProps = ExtractPropTypes<typeof tabBarProps>;
|
|
|
21
21
|
interface ITabBarPcState {
|
|
22
22
|
rootTabs: ITabsVm;
|
|
23
23
|
barStyle: object;
|
|
24
|
+
separator: boolean | null;
|
|
24
25
|
}
|
|
25
26
|
interface ITabBarPcApi {
|
|
26
27
|
state: ITabBarPcState;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.
|
|
3
|
-
import { ITabsVm } from './tabs.type.
|
|
2
|
+
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
3
|
+
import { ITabsVm } from './tabs.type.js';
|
|
4
4
|
|
|
5
5
|
declare const $constants: {};
|
|
6
6
|
declare const tabItemProps: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ITabsProps, ITabsVm } from './tabs.type.
|
|
3
|
-
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.
|
|
2
|
+
import { ITabsProps, ITabsVm } from './tabs.type.js';
|
|
3
|
+
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
4
4
|
import { a as tabNavPcProps } from './index-e0250f63.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -18,28 +18,28 @@ import { a as tabNavPcProps } from './index-e0250f63.js';
|
|
|
18
18
|
declare const computedNavStyle: (state: ITabNavRenderlessParams['state']) => {
|
|
19
19
|
transform: string;
|
|
20
20
|
};
|
|
21
|
-
declare const scrollIntoView: ({ parent,
|
|
21
|
+
declare const scrollIntoView: ({ parent, vm, state }: Pick<ITabNavRenderlessParams, 'parent' | 'vm' | 'state'>) => () => void;
|
|
22
22
|
declare const computedSizeName: (state: ITabNavRenderlessParams['state']) => 'width' | 'height';
|
|
23
|
-
declare const updated: ({ api,
|
|
23
|
+
declare const updated: ({ api, vm, state }: Pick<ITabNavRenderlessParams, 'api' | 'vm' | 'state'>) => () => void;
|
|
24
24
|
declare const mounted: ({ api, parent }: Pick<ITabNavRenderlessParams, 'api' | 'parent'>) => void;
|
|
25
25
|
declare const beforeUnmount: ({ api, parent }: Pick<ITabNavRenderlessParams, 'api' | 'parent'>) => void;
|
|
26
26
|
declare const visibilityChangeHandler: (state: ITabNavRenderlessParams['state']) => () => void;
|
|
27
27
|
declare const windowBlurHandler: (state: ITabNavRenderlessParams['state']) => () => void;
|
|
28
28
|
declare const windowFocusHandler: (state: ITabNavRenderlessParams['state']) => () => void;
|
|
29
|
-
declare const scrollToActiveTab: ({ parent,
|
|
30
|
-
declare const scrollPrev: ({
|
|
31
|
-
declare const scrollNext: ({
|
|
29
|
+
declare const scrollToActiveTab: ({ parent, vm, state }: Pick<ITabNavRenderlessParams, 'parent' | 'vm' | 'state'>) => () => void;
|
|
30
|
+
declare const scrollPrev: ({ vm, state }: Pick<ITabNavRenderlessParams, 'vm' | 'state'>) => () => void;
|
|
31
|
+
declare const scrollNext: ({ vm, state }: Pick<ITabNavRenderlessParams, 'vm' | 'state'>) => () => void;
|
|
32
32
|
declare const changeTab: (api: ITabNavRenderlessParams['api']) => (event: KeyboardEvent) => void;
|
|
33
33
|
declare const setFocus: (state: ITabNavRenderlessParams['state']) => () => void;
|
|
34
34
|
declare const removeFocus: (state: ITabNavRenderlessParams['state']) => () => void;
|
|
35
35
|
declare const moreTabShow: (state: ITabNavRenderlessParams['state']) => () => void;
|
|
36
36
|
declare const expandTabShow: ({ api, state }: Pick<ITabNavRenderlessParams, 'api' | 'state'>) => () => void;
|
|
37
37
|
declare const expandTabHide: (state: ITabNavRenderlessParams['state']) => () => boolean;
|
|
38
|
-
declare const computedHeaderStyle: ({
|
|
39
|
-
declare const handleTabDragStart: ({ state,
|
|
40
|
-
declare const handleTabDragEnd: ({
|
|
41
|
-
declare const sortableEvent: ({ api, props, state,
|
|
42
|
-
declare const watchCurrentName: ({ nextTick,
|
|
38
|
+
declare const computedHeaderStyle: ({ vm, state }: Pick<ITabNavRenderlessParams, 'vm' | 'state'>) => () => {};
|
|
39
|
+
declare const handleTabDragStart: ({ state, vm, emit }: Pick<ITabNavRenderlessParams, 'state' | 'vm' | 'emit'>) => (event: DragEvent) => void;
|
|
40
|
+
declare const handleTabDragEnd: ({ vm, state, nextTick }: Pick<ITabNavRenderlessParams, 'vm' | 'state' | 'nextTick'>) => () => void;
|
|
41
|
+
declare const sortableEvent: ({ api, props, state, vm, emit, markRaw }: Pick<ITabNavRenderlessParams, 'api' | 'props' | 'state' | 'vm' | 'emit' | 'markRaw'>) => () => void;
|
|
42
|
+
declare const watchCurrentName: ({ nextTick, vm, state }: Pick<ITabNavRenderlessParams, 'nextTick' | 'vm' | 'state'>) => () => void;
|
|
43
43
|
|
|
44
44
|
type ITabNavProps = {
|
|
45
45
|
_mode: string;
|
|
@@ -68,6 +68,7 @@ interface ITabNavState {
|
|
|
68
68
|
sizeName: string;
|
|
69
69
|
navStyle: ITabNavStyle;
|
|
70
70
|
navSortableObj: object;
|
|
71
|
+
separator: boolean | null;
|
|
71
72
|
}
|
|
72
73
|
interface ITabNavApi {
|
|
73
74
|
state: ITabNavState;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPublicInstance, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ITinyVm, ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.
|
|
2
|
+
import { ITinyVm, ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const $constants: {
|
|
5
5
|
TAB_ITEM: string;
|
|
@@ -29,9 +29,6 @@ declare const tabsProps: {
|
|
|
29
29
|
beforeLeave: FunctionConstructor;
|
|
30
30
|
stretch: BooleanConstructor;
|
|
31
31
|
showMoreTabs: BooleanConstructor;
|
|
32
|
-
showExpandTabs: BooleanConstructor;
|
|
33
|
-
expandTabsTitle: StringConstructor;
|
|
34
|
-
expandTabsMode: StringConstructor;
|
|
35
32
|
swipeable: {
|
|
36
33
|
type: BooleanConstructor;
|
|
37
34
|
default: boolean;
|
|
@@ -45,6 +42,10 @@ declare const tabsProps: {
|
|
|
45
42
|
type: ObjectConstructor;
|
|
46
43
|
default: () => null;
|
|
47
44
|
};
|
|
45
|
+
separator: BooleanConstructor;
|
|
46
|
+
showExpandTabs: BooleanConstructor;
|
|
47
|
+
expandTabsTitle: StringConstructor;
|
|
48
|
+
expandTabsMode: StringConstructor;
|
|
48
49
|
tooltipConfig: (StringConstructor | ObjectConstructor)[];
|
|
49
50
|
tiny_mode: StringConstructor;
|
|
50
51
|
tiny_mode_root: BooleanConstructor;
|
|
@@ -94,6 +95,7 @@ interface ITabsState {
|
|
|
94
95
|
direction: string;
|
|
95
96
|
expandPanesWidth: string | number;
|
|
96
97
|
morePanes?: ITabsPaneVm[];
|
|
98
|
+
separator?: boolean;
|
|
97
99
|
}
|
|
98
100
|
/**
|
|
99
101
|
*tab根元素实例对象
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
import { PropType } from '@opentiny/vue-common';
|
|
3
|
-
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.
|
|
3
|
+
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
4
4
|
|
|
5
5
|
declare const $constants$1: {
|
|
6
6
|
PROCESS_DONE_CLS: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { l as ITimelineApi, i as ITimelineConstants, o as ITimelineCustomCls, h as ITimelineProps, j as ITimelineRenderlessParamUtils, m as ITimelineRenderlessParams, k as ITimelineState, n as ITimelineStatusCls } from './time-line.type-
|
|
3
|
-
import './shared.type.
|
|
2
|
+
export { l as ITimelineApi, i as ITimelineConstants, o as ITimelineCustomCls, h as ITimelineProps, j as ITimelineRenderlessParamUtils, m as ITimelineRenderlessParams, k as ITimelineState, n as ITimelineStatusCls } from './time-line.type-d7daa669.js';
|
|
3
|
+
import './shared.type.js';
|
|
4
4
|
import '@opentiny/vue-common';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { g as ITimelineInject, f as ITimelineItem, d as ITimelineItemApi, a as ITimelineItemConstants, I as ITimelineItemProps, b as ITimelineItemRenderlessParamUtils, e as ITimelineItemRenderlessParams, c as ITimelineItemState, T as TimelineItemType } from './time-line.type-
|
|
3
|
-
import './shared.type.
|
|
2
|
+
export { g as ITimelineInject, f as ITimelineItem, d as ITimelineItemApi, a as ITimelineItemConstants, I as ITimelineItemProps, b as ITimelineItemRenderlessParamUtils, e as ITimelineItemRenderlessParams, c as ITimelineItemState, T as TimelineItemType } from './time-line.type-d7daa669.js';
|
|
3
|
+
import './shared.type.js';
|
|
4
4
|
import '@opentiny/vue-common';
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { ExtractPropTypes } from 'vue';
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
|
+
|
|
4
|
+
declare const toastProps: {
|
|
5
|
+
type: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
validator: (value: string) => boolean;
|
|
8
|
+
};
|
|
9
|
+
zIndex: {
|
|
10
|
+
type: NumberConstructor;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
text: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
time: {
|
|
18
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
19
|
+
default: number;
|
|
20
|
+
};
|
|
21
|
+
timeout: {
|
|
22
|
+
type: FunctionConstructor;
|
|
23
|
+
default: null;
|
|
24
|
+
};
|
|
25
|
+
tiny_mode: StringConstructor;
|
|
26
|
+
tiny_mode_root: BooleanConstructor;
|
|
27
|
+
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
28
|
+
tiny_renderless: FunctionConstructor;
|
|
29
|
+
tiny_theme: StringConstructor;
|
|
30
|
+
tiny_chart_theme: ObjectConstructor;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Copyright (c) 2022 - present TinyVue Authors.
|
|
35
|
+
* Copyright (c) 2022 - present Huawei Cloud Computing Technologies Co., Ltd.
|
|
36
|
+
*
|
|
37
|
+
* Use of this source code is governed by an MIT-style license.
|
|
38
|
+
*
|
|
39
|
+
* THE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,
|
|
40
|
+
* BUT WITHOUT ANY WARRANTY, WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR
|
|
41
|
+
* A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
|
|
45
|
+
declare const timeout: (emit: IToastRenderlessParamUtils['emit']) => () => void;
|
|
46
|
+
|
|
47
|
+
interface IToastState {
|
|
48
|
+
text: string | null;
|
|
49
|
+
type?: string;
|
|
50
|
+
time: number;
|
|
51
|
+
}
|
|
52
|
+
type IToastProps = ExtractPropTypes<typeof toastProps>;
|
|
53
|
+
type IToastRenderlessParams = ISharedRenderlessFunctionParams<never> & {
|
|
54
|
+
state: IToastState;
|
|
55
|
+
props: IToastProps;
|
|
56
|
+
};
|
|
57
|
+
interface IToastApi {
|
|
58
|
+
state: IToastState;
|
|
59
|
+
timeout: ReturnType<typeof timeout>;
|
|
60
|
+
}
|
|
61
|
+
type IToastRenderlessParamUtils = ISharedRenderlessParamUtils<never>;
|
|
62
|
+
|
|
63
|
+
export { IToastApi, IToastProps, IToastRenderlessParamUtils, IToastRenderlessParams, IToastState };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const tooltipProps: {
|
|
5
5
|
visible: {
|
|
@@ -19,10 +19,6 @@ declare const tooltipProps: {
|
|
|
19
19
|
type: NumberConstructor;
|
|
20
20
|
default: () => number;
|
|
21
21
|
};
|
|
22
|
-
boundariesPadding: {
|
|
23
|
-
type: NumberConstructor;
|
|
24
|
-
default: () => number;
|
|
25
|
-
};
|
|
26
22
|
content: {
|
|
27
23
|
type: (StringConstructor | ObjectConstructor)[];
|
|
28
24
|
};
|
|
@@ -67,10 +63,7 @@ declare const tooltipProps: {
|
|
|
67
63
|
type: StringConstructor;
|
|
68
64
|
};
|
|
69
65
|
popperOptions: {
|
|
70
|
-
default: () => {
|
|
71
|
-
gpuAcceleration: boolean;
|
|
72
|
-
boundariesPadding: number;
|
|
73
|
-
};
|
|
66
|
+
default: () => {};
|
|
74
67
|
};
|
|
75
68
|
pre: {
|
|
76
69
|
type: BooleanConstructor;
|