@opentiny/vue-renderless 3.11.8 → 3.12.1
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 +3 -2
- package/col/vue.js +1 -1
- 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 +11 -7
- 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} +6 -2
- 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
package/transfer/index.js
CHANGED
|
@@ -27,7 +27,7 @@ const getFlatData = (data, hasChildren) => {
|
|
|
27
27
|
}
|
|
28
28
|
return nodes;
|
|
29
29
|
};
|
|
30
|
-
const getTargetData = ({
|
|
30
|
+
const getTargetData = ({ props, state, Tree, Table }) => () => {
|
|
31
31
|
if (props.render && props.render.plugin.name === Tree) {
|
|
32
32
|
const nodes = getFlatData(copyArray(props.data), true);
|
|
33
33
|
const rightData = nodes.filter((item) => props.modelValue.includes(item[props.props.key]));
|
|
@@ -38,7 +38,7 @@ const getTargetData = ({ order, props, state, Tree, Table }) => () => {
|
|
|
38
38
|
sortAry.flag = "sort";
|
|
39
39
|
return sortAry;
|
|
40
40
|
}
|
|
41
|
-
if (props.targetOrder ===
|
|
41
|
+
if (props.targetOrder === "original") {
|
|
42
42
|
return props.data.filter((item) => props.modelValue.includes(item[props.props.key]));
|
|
43
43
|
} else {
|
|
44
44
|
const data = props.modelValue.reduce((arr, cur) => {
|
package/transfer/vue.js
CHANGED
|
@@ -56,7 +56,7 @@ const renderless = (props, { computed, onMounted, reactive, h }, { $prefix, emit
|
|
|
56
56
|
onTargetCheckedChange: onTargetCheckedChange({ emit, state }),
|
|
57
57
|
onSourceCheckedChange: onSourceCheckedChange({ emit, state }),
|
|
58
58
|
logicFun: logicFun({ props, emit, state }),
|
|
59
|
-
getTargetData: getTargetData({ props, state,
|
|
59
|
+
getTargetData: getTargetData({ props, state, Tree, Table }),
|
|
60
60
|
recursiveData: recursiveData({ api: api2, props, state }),
|
|
61
61
|
sortableEvent: sortableEvent({ api: api2, droppanel: DROPPANEL, props, queryDom: TRANSFERPANEL, refs, state })
|
|
62
62
|
});
|
package/tree-node/index.js
CHANGED
|
@@ -241,7 +241,7 @@ const computedExpandIcon = ({ designConfig }) => ({ showLine }, { tree, expanded
|
|
|
241
241
|
return isSaaSTheme ? "icon-arrow-bottom" : "icon-chevron-right";
|
|
242
242
|
};
|
|
243
243
|
const computedIndent = () => ({ node, showLine }, { tree }) => {
|
|
244
|
-
return (node.level > 1 ? 1 : 0) * (tree.indent + (showLine ? 8 : 0)) + tree.baseIndent + "px";
|
|
244
|
+
return (node.level > 1 ? 1 : 0) * (parseInt(tree.indent) + (showLine ? 8 : 0)) + parseInt(tree.baseIndent) + "px";
|
|
245
245
|
};
|
|
246
246
|
export {
|
|
247
247
|
addNode,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, ExtractPropTypes, ComponentPublicInstance } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Copyright (c) 2022 - present TinyVue Authors.
|
|
@@ -72,11 +72,11 @@ type IActionMenuRenderlessParams = ISharedRenderlessFunctionParams<null> & {
|
|
|
72
72
|
state: IActionMenuState;
|
|
73
73
|
props: IActionMenuProps;
|
|
74
74
|
};
|
|
75
|
-
|
|
75
|
+
interface IActionMenuItemData {
|
|
76
76
|
itemData: object;
|
|
77
77
|
vm: ComponentPublicInstance;
|
|
78
78
|
disabled: boolean;
|
|
79
|
-
}
|
|
79
|
+
}
|
|
80
80
|
interface IActionMenuApi {
|
|
81
81
|
handleMoreClick: () => void;
|
|
82
82
|
handleItemClick: (data: IActionMenuItemData) => void;
|
|
@@ -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 const $constants: {
|
|
5
5
|
ICON_MAP: {
|
|
@@ -76,6 +76,7 @@ declare const alertProps: {
|
|
|
76
76
|
type: BooleanConstructor;
|
|
77
77
|
default: boolean;
|
|
78
78
|
};
|
|
79
|
+
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
79
80
|
tiny_mode: StringConstructor;
|
|
80
81
|
tiny_mode_root: BooleanConstructor;
|
|
81
82
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
@@ -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 anchorProps: {
|
|
5
5
|
isAffix: {
|
|
@@ -44,10 +44,10 @@ declare const getContainer: ({ props }: Pick<IAnchorRenderlessParams, 'props'>)
|
|
|
44
44
|
declare const mounted: ({ state, api, props, nextTick }: Pick<IAnchorRenderlessParams, 'state' | 'api' | 'props' | 'nextTick'>) => () => void;
|
|
45
45
|
declare const updated: ({ api }: Pick<IAnchorRenderlessParams, 'api'>) => () => void;
|
|
46
46
|
declare const unmounted: ({ state, api }: Pick<IAnchorRenderlessParams, 'state' | 'api'>) => () => void;
|
|
47
|
-
declare const onItersectionObserver: ({ state, props, api }: Pick<IAnchorRenderlessParams, 'state' | 'props' | 'api'>) => () => void;
|
|
47
|
+
declare const onItersectionObserver: ({ state, props, api, vm, emit }: Pick<IAnchorRenderlessParams, 'state' | 'props' | 'api' | 'vm' | 'emit'>) => () => void;
|
|
48
48
|
declare const linkClick: ({ state, vm, emit, props, api }: Pick<IAnchorRenderlessParams, 'state' | 'vm' | 'emit' | 'props' | 'api'>) => (e: Event, item: IAnchorLinkItem) => void;
|
|
49
49
|
|
|
50
|
-
type IAnchorObject =
|
|
50
|
+
type IAnchorObject = HTMLElement | null;
|
|
51
51
|
interface IAnchorState {
|
|
52
52
|
currentLink: string;
|
|
53
53
|
observerLinks: object;
|
|
@@ -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 const badgeProps: {
|
|
5
5
|
showLeft: {
|
|
@@ -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 const breadcrumbItemProps: {
|
|
5
5
|
to: ObjectConstructor;
|
|
@@ -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 const $constants: {
|
|
5
5
|
EVENT_NAME: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
2
|
import { IButtonGroupNode as IButtonGroupNode$1 } from '@opentiny/vue-renderless/types/button-group.type';
|
|
3
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
3
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
4
4
|
|
|
5
5
|
declare const buttonGroupProps: {
|
|
6
6
|
size: StringConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComputedRef, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const buttonProps: {
|
|
5
5
|
type: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
-
import { ICascaderPanelNode, ICascaderPanelApi } from './cascader-panel.type.
|
|
1
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
2
|
+
import { ICascaderPanelNode, ICascaderPanelApi } from './cascader-panel.type.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -21,10 +21,10 @@ declare const handleMouseMove: ({ api, parent, refs, state, svg }: Pick<ICascade
|
|
|
21
21
|
}) => (e: MouseEvent) => void;
|
|
22
22
|
declare const clearHoverZone: (refs: ICascaderMenuRenderlessParamUtils['vm']['$refs']) => () => void;
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
interface ICascaderMenuProps {
|
|
25
25
|
nodes: ICascaderPanelNode[];
|
|
26
26
|
index: number;
|
|
27
|
-
}
|
|
27
|
+
}
|
|
28
28
|
interface ICascaderMenuState {
|
|
29
29
|
activeNode: null | HTMLElement;
|
|
30
30
|
hoverTimer: null | NodeJS.Timeout;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ICascaderPanelNode, ICascaderPanelConfig, ICascaderPanelNodeValue, ICascaderPanelNodePropValue, ICascaderPanelApi } from './cascader-panel.type.
|
|
2
|
-
import { ISharedRenderlessFunctionParams } from './shared.type.
|
|
1
|
+
import { ICascaderPanelNode, ICascaderPanelConfig, ICascaderPanelNodeValue, ICascaderPanelNodePropValue, ICascaderPanelApi } from './cascader-panel.type.js';
|
|
2
|
+
import { ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -20,10 +20,10 @@ declare const handleCheckChange: ({ api, parent, dispatch, state }: Pick<ICascad
|
|
|
20
20
|
declare const handleMultiCheckChange: ({ parent, props }: Pick<ICascaderNodeRenderlessParams, 'parent' | 'props'>) => (checked: boolean) => void;
|
|
21
21
|
declare const isInPath: (props: ICascaderNodeRenderlessParams['props']) => (pathNodes: ICascaderPanelNode[]) => boolean;
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
interface ICascaderNodeProps {
|
|
24
24
|
node: ICascaderPanelNode;
|
|
25
25
|
nodeId: string;
|
|
26
|
-
}
|
|
26
|
+
}
|
|
27
27
|
interface ICascaderNodeState {
|
|
28
28
|
config: ICascaderPanelConfig;
|
|
29
29
|
isLeaf: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Copyright (c) 2022 - present TinyVue Authors.
|
|
@@ -145,7 +145,7 @@ type ICascaderPanelStore = Store;
|
|
|
145
145
|
type ICascaderPanelNodeValue = string | Object | number;
|
|
146
146
|
/** 值的类型(是数组还是值)由ICascaderPanelConfig的emitPath和multiple决定 */
|
|
147
147
|
type ICascaderPanelNodePropValue = ICascaderPanelNodeValue | ICascaderPanelNodeValue[] | ICascaderPanelNodeValue[][];
|
|
148
|
-
|
|
148
|
+
/** 懒加载时,提供给用户的根节点的node */
|
|
149
149
|
interface ICascaderPanelLazyLoadNode {
|
|
150
150
|
root: boolean;
|
|
151
151
|
level: number;
|
|
@@ -170,25 +170,25 @@ interface ICascaderPanelConfig {
|
|
|
170
170
|
/**
|
|
171
171
|
* ICascaderPanelData的结构里的key名由ICascaderPanelConfig的value、label、children、disabled、leaf的值决定
|
|
172
172
|
*/
|
|
173
|
-
|
|
173
|
+
interface ICascaderPanelData {
|
|
174
174
|
value?: ICascaderPanelNodeValue;
|
|
175
175
|
label?: string;
|
|
176
176
|
children?: ICascaderPanelData[];
|
|
177
177
|
disabled?: boolean;
|
|
178
178
|
leaf?: boolean;
|
|
179
179
|
[key: string]: ICascaderPanelNodeValue | ICascaderPanelData[] | string | boolean | undefined;
|
|
180
|
-
}
|
|
180
|
+
}
|
|
181
181
|
type IRenderLabelFunction = (arg1: {
|
|
182
182
|
node: ICascaderPanelNode;
|
|
183
183
|
data: ICascaderPanelData;
|
|
184
184
|
}) => VNode;
|
|
185
|
-
|
|
185
|
+
interface ICascaderPanelProps {
|
|
186
186
|
modelValue: ICascaderPanelNodePropValue;
|
|
187
187
|
options: ICascaderPanelData[];
|
|
188
188
|
props: ICascaderPanelConfig;
|
|
189
189
|
border: boolean;
|
|
190
190
|
renderLabel?: IRenderLabelFunction;
|
|
191
|
-
}
|
|
191
|
+
}
|
|
192
192
|
interface ICascaderPanelState {
|
|
193
193
|
checkedValue: ICascaderPanelNodePropValue | null;
|
|
194
194
|
checkedNodePaths: ICascaderPanelNode[][];
|
|
@@ -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
|
FORM_ITEM: string;
|
|
@@ -38,6 +38,7 @@ declare const checkboxProps: {
|
|
|
38
38
|
border: BooleanConstructor;
|
|
39
39
|
size: StringConstructor;
|
|
40
40
|
text: StringConstructor;
|
|
41
|
+
customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
|
|
41
42
|
validateEvent: {
|
|
42
43
|
type: BooleanConstructor;
|
|
43
44
|
default: boolean;
|
|
@@ -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
|
INTERVAL: number;
|
|
@@ -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 const $constants: {
|
|
5
5
|
COMPONENT_NAME: {
|
|
@@ -2,7 +2,7 @@ import * as vue from 'vue';
|
|
|
2
2
|
import { ExtractPropTypes, ComputedRef } from 'vue';
|
|
3
3
|
import * as _opentiny_vue_common from '@opentiny/vue-common';
|
|
4
4
|
import { PropType } from '@opentiny/vue-common';
|
|
5
|
-
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.
|
|
5
|
+
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams } from './shared.type.js';
|
|
6
6
|
|
|
7
7
|
declare const $constants: {
|
|
8
8
|
MonthDay: number;
|
|
@@ -28,7 +28,7 @@ declare const $constants: {
|
|
|
28
28
|
};
|
|
29
29
|
declare const datePickerProps: {
|
|
30
30
|
type: {
|
|
31
|
-
type: PropType<"date" | "dates" | "
|
|
31
|
+
type: PropType<"date" | "dates" | "year" | "years" | "yearrange" | "month" | "week" | "daterange" | "datetimerange" | "monthrange" | "datetime">;
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
34
|
_constants: {
|
|
@@ -57,6 +57,10 @@ declare const datePickerProps: {
|
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
59
|
timeArrowControl: BooleanConstructor;
|
|
60
|
+
timeEditable: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
60
64
|
size: StringConstructor;
|
|
61
65
|
format: StringConstructor;
|
|
62
66
|
valueFormat: StringConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams, ISharedRenderlessParamHooks } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessParamUtils, ISharedRenderlessFunctionParams, ISharedRenderlessParamHooks } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Copyright (c) 2022 - present TinyVue Authors.
|
|
@@ -174,7 +174,7 @@ declare const hideScrollbar: (lockScrollClass: string) => () => void;
|
|
|
174
174
|
|
|
175
175
|
type IDialogBoxProps = ExtractPropTypes<typeof dialogBoxProps>;
|
|
176
176
|
type IDialogBoxConstants = typeof $constants;
|
|
177
|
-
|
|
177
|
+
interface IDialogBoxState {
|
|
178
178
|
emitter: ReturnType<ISharedRenderlessParamUtils<IDialogBoxConstants>['emitter']>;
|
|
179
179
|
key: number;
|
|
180
180
|
x: number | string | null;
|
|
@@ -195,8 +195,8 @@ type IDialogBoxState = {
|
|
|
195
195
|
animationName: string;
|
|
196
196
|
opened?: boolean;
|
|
197
197
|
rendered?: boolean;
|
|
198
|
-
}
|
|
199
|
-
|
|
198
|
+
}
|
|
199
|
+
interface IDialogBoxApi {
|
|
200
200
|
state: IDialogBoxState;
|
|
201
201
|
open: (options: any) => void;
|
|
202
202
|
close: () => void;
|
|
@@ -218,7 +218,7 @@ type IDialogBoxApi = {
|
|
|
218
218
|
hideScrollbar: ReturnType<typeof hideScrollbar>;
|
|
219
219
|
showScrollbar: ReturnType<typeof showScrollbar>;
|
|
220
220
|
handleDrag: ReturnType<typeof handleDrag>;
|
|
221
|
-
}
|
|
221
|
+
}
|
|
222
222
|
type IDialogBoxRenderlessParams = ISharedRenderlessFunctionParams<IDialogBoxConstants> & {
|
|
223
223
|
api: IDialogBoxApi;
|
|
224
224
|
props: IDialogBoxProps;
|
|
@@ -232,19 +232,19 @@ type IDialogBoxInitApiParam = Pick<IDialogBoxRenderlessParams, 'api' | 'state' |
|
|
|
232
232
|
usePopups: object;
|
|
233
233
|
lockScrollClass: string;
|
|
234
234
|
};
|
|
235
|
-
|
|
235
|
+
interface IDialogBoxInitWatchParam {
|
|
236
236
|
watch: ISharedRenderlessParamHooks['watch'];
|
|
237
237
|
state: IDialogBoxState;
|
|
238
238
|
api: IDialogBoxApi;
|
|
239
239
|
props: IDialogBoxProps;
|
|
240
|
-
}
|
|
241
|
-
|
|
240
|
+
}
|
|
241
|
+
interface IDialogBoxStyle {
|
|
242
242
|
width?: string | number;
|
|
243
243
|
height?: string | number;
|
|
244
244
|
maxHeight?: string | number;
|
|
245
245
|
top?: string | number;
|
|
246
246
|
right?: string | number;
|
|
247
247
|
left?: string | number;
|
|
248
|
-
}
|
|
248
|
+
}
|
|
249
249
|
|
|
250
250
|
export { IDialogBoxApi, IDialogBoxConstants, IDialogBoxInitApiParam, IDialogBoxInitWatchParam, IDialogBoxMergeStateParam, IDialogBoxProps, IDialogBoxRenderlessParamUtils, IDialogBoxRenderlessParams, IDialogBoxState, IDialogBoxStyle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes, ComponentPublicInstance, ComputedRef } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
3
|
-
import { IDropdownVm } from './dropdown.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
|
+
import { IDropdownVm } from './dropdown.type.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Copyright (c) 2022 - present TinyVue Authors.
|
|
@@ -209,14 +209,14 @@ type IDropdownMenuRenderlessParams = ISharedRenderlessFunctionParams<null> & {
|
|
|
209
209
|
api: IDropdownMenuApi;
|
|
210
210
|
};
|
|
211
211
|
type IDropdownMenuRenderlessParamUtils = ISharedRenderlessParamUtils<null>;
|
|
212
|
-
|
|
212
|
+
interface IDropdownMenuPopperParams {
|
|
213
213
|
api: IDropdownMenuApi;
|
|
214
214
|
props: IDropdownMenuProps;
|
|
215
215
|
hooks: Pick<IDropdownMenuRenderlessParams, 'reactive' | 'provide' | 'onMounted' | 'inject' | 'nextTick' | 'onBeforeUnmount' | 'onDeactivated' | 'toRefs' | 'watch'>;
|
|
216
216
|
instance: IDropdownMenuRenderlessParamUtils;
|
|
217
217
|
state: IDropdownMenuState;
|
|
218
218
|
dropdownVm: IDropdownVm;
|
|
219
|
-
}
|
|
219
|
+
}
|
|
220
220
|
type IDropdownMenuVm = ComponentPublicInstance & {
|
|
221
221
|
state: IDropdownMenuState;
|
|
222
222
|
} & IDropdownMenuProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { k as IDropdownItemApi, i as IDropdownItemConstants, q as IDropdownItemMfDataStore, p as IDropdownItemOptionStyle, h as IDropdownItemProps, m as IDropdownItemRenderlessParamUtils, l as IDropdownItemRenderlessParams, j as IDropdownItemState, n as IDropdownItemStyle, o as IDropdownItemTag, g as IDropdownItemVm } from './dropdown-item.type-
|
|
3
|
-
import './shared.type.
|
|
4
|
-
import './dropdown.type.
|
|
2
|
+
export { k as IDropdownItemApi, i as IDropdownItemConstants, q as IDropdownItemMfDataStore, p as IDropdownItemOptionStyle, h as IDropdownItemProps, m as IDropdownItemRenderlessParamUtils, l as IDropdownItemRenderlessParams, j as IDropdownItemState, n as IDropdownItemStyle, o as IDropdownItemTag, g as IDropdownItemVm } from './dropdown-item.type-bf83e929.js';
|
|
3
|
+
import './shared.type.js';
|
|
4
|
+
import './dropdown.type.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { b as IDropdownMenuApi, e as IDropdownMenuPopperParams, I as IDropdownMenuProps, d as IDropdownMenuRenderlessParamUtils, c as IDropdownMenuRenderlessParams, a as IDropdownMenuState, f as IDropdownMenuVm } from './dropdown-item.type-
|
|
3
|
-
import './shared.type.
|
|
4
|
-
import './dropdown.type.
|
|
2
|
+
export { b as IDropdownMenuApi, e as IDropdownMenuPopperParams, I as IDropdownMenuProps, d as IDropdownMenuRenderlessParamUtils, c as IDropdownMenuRenderlessParams, a as IDropdownMenuState, f as IDropdownMenuVm } from './dropdown-item.type-bf83e929.js';
|
|
3
|
+
import './shared.type.js';
|
|
4
|
+
import './dropdown.type.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExtractPropTypes, ComponentPublicInstance } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const dropdownProps: {
|
|
5
5
|
modelValue: (StringConstructor | NumberConstructor)[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { C as IFileUploadAfterDownload, m as IFileUploadApi, D as IFileUploadBatchSegmentDownload, y as IFileUploadBatchSegmentUpload, a as IFileUploadConstants, w as IFileUploadDownloadFileInner, x as IFileUploadDownloadFileSingle, u as IFileUploadDownloadFileSingleInner, t as IFileUploadEdmDownload, s as IFileUploadFile, A as IFileUploadGetFormData, v as IFileUploadLargeDocumentDownload, r as IFileUploadModalVm, o as IFileUploadProps, p as IFileUploadRenderlessParamUtils, q as IFileUploadRenderlessParams, z as IFileUploadSegmentUploadInner, n as IFileUploadService, B as IFileUploadSetWriterFile, E as IFileUploadSliceDownloadChunk, l as IFileUploadState, F as IFileUploadStreamsaver, I as IFileUploadVm } from './upload-list.type-
|
|
3
|
-
import './shared.type.
|
|
2
|
+
export { C as IFileUploadAfterDownload, m as IFileUploadApi, D as IFileUploadBatchSegmentDownload, y as IFileUploadBatchSegmentUpload, a as IFileUploadConstants, w as IFileUploadDownloadFileInner, x as IFileUploadDownloadFileSingle, u as IFileUploadDownloadFileSingleInner, t as IFileUploadEdmDownload, s as IFileUploadFile, A as IFileUploadGetFormData, v as IFileUploadLargeDocumentDownload, r as IFileUploadModalVm, o as IFileUploadProps, p as IFileUploadRenderlessParamUtils, q as IFileUploadRenderlessParams, z as IFileUploadSegmentUploadInner, n as IFileUploadService, B as IFileUploadSetWriterFile, E as IFileUploadSliceDownloadChunk, l as IFileUploadState, F as IFileUploadStreamsaver, I as IFileUploadVm } from './upload-list.type-343e8c11.js';
|
|
3
|
+
import './shared.type.js';
|
|
@@ -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 const floatbarProps: {
|
|
5
5
|
data: ArrayConstructor;
|
|
@@ -24,18 +24,18 @@ declare const floatbarProps: {
|
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
interface IFloatbarItem {
|
|
28
28
|
url: string;
|
|
29
29
|
target: string;
|
|
30
30
|
title: string;
|
|
31
|
-
}
|
|
31
|
+
}
|
|
32
32
|
type IFloatbarProps = ExtractPropTypes<typeof floatbarProps>;
|
|
33
|
-
|
|
33
|
+
interface IFloatbarState {
|
|
34
34
|
data: IFloatbarItem[];
|
|
35
|
-
}
|
|
36
|
-
|
|
35
|
+
}
|
|
36
|
+
interface IFloatbarApi {
|
|
37
37
|
state: IFloatbarState;
|
|
38
|
-
}
|
|
38
|
+
}
|
|
39
39
|
type IFloatbarRenderlessParams = ISharedRenderlessFunctionParams<never> & {
|
|
40
40
|
props: IFloatbarProps;
|
|
41
41
|
state: IFloatbarState;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { i as IFormItemApi, f as IFormItemConstants, I as IFormItemDisplayedValueParam, k as IFormItemInstance, c as IFormItemLabelStyle, g as IFormItemProps, j as IFormItemRenderlessParamUtils, h as IFormItemRenderlessParams, d as IFormItemRule, e as IFormItemState, b as IFormItemTrigger, a as IFormItemValidateStatus } from './form.type-
|
|
3
|
-
import './shared.type.
|
|
2
|
+
export { i as IFormItemApi, f as IFormItemConstants, I as IFormItemDisplayedValueParam, k as IFormItemInstance, c as IFormItemLabelStyle, g as IFormItemProps, j as IFormItemRenderlessParamUtils, h as IFormItemRenderlessParams, d as IFormItemRule, e as IFormItemState, b as IFormItemTrigger, a as IFormItemValidateStatus } from './form.type-d0fd42f3.js';
|
|
3
|
+
import './shared.type.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StyleValue, ExtractPropTypes, ComponentPublicInstance } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils, ITinyVm } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils, ITinyVm } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const formProps: {
|
|
5
5
|
model: ObjectConstructor;
|
|
@@ -80,6 +80,18 @@ declare const formProps: {
|
|
|
80
80
|
type: BooleanConstructor;
|
|
81
81
|
default: boolean;
|
|
82
82
|
};
|
|
83
|
+
showEmptyValue: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
validateTag: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
overflowTitle: {
|
|
92
|
+
type: BooleanConstructor;
|
|
93
|
+
default: boolean;
|
|
94
|
+
};
|
|
83
95
|
tiny_mode: StringConstructor;
|
|
84
96
|
tiny_mode_root: BooleanConstructor;
|
|
85
97
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
@@ -133,6 +145,7 @@ declare const formItemProps: {
|
|
|
133
145
|
};
|
|
134
146
|
size: StringConstructor;
|
|
135
147
|
tipContent: StringConstructor;
|
|
148
|
+
validateDisabled: BooleanConstructor;
|
|
136
149
|
validateDebounce: BooleanConstructor;
|
|
137
150
|
validatePosition: StringConstructor;
|
|
138
151
|
validateStatus: StringConstructor;
|
|
@@ -177,11 +190,11 @@ declare const computedValueStyle: ({ props, state }: Pick<IFormItemRenderlessPar
|
|
|
177
190
|
width: string;
|
|
178
191
|
};
|
|
179
192
|
declare const computedContentStyle: ({ props, state }: Pick<IFormItemRenderlessParams, 'props' | 'state'>) => () => StyleValue;
|
|
180
|
-
declare const computedForm: ({ constants,
|
|
193
|
+
declare const computedForm: ({ constants, vm, state }: Pick<IFormItemRenderlessParams, 'constants' | 'vm' | 'state'>) => () => IFormInstance | null;
|
|
181
194
|
declare const computedIsRequired: ({ api, state }: Pick<IFormItemRenderlessParams, 'api' | 'state'>) => () => boolean;
|
|
182
195
|
declare const computedFieldValue: ({ props, state }: Pick<IFormItemRenderlessParams, 'props' | 'state'>) => () => any;
|
|
183
|
-
declare const mounted: ({ api,
|
|
184
|
-
declare const unmounted: ({ api,
|
|
196
|
+
declare const mounted: ({ api, vm, props, state }: Pick<IFormItemRenderlessParams, 'api' | 'vm' | 'props' | 'state'>) => () => void;
|
|
197
|
+
declare const unmounted: ({ api, vm, state }: Pick<IFormItemRenderlessParams, 'api' | 'vm' | 'state'>) => () => void;
|
|
185
198
|
declare const validate$1: ({ api, props, state, t }: Pick<IFormItemRenderlessParams, 'api' | 'props' | 'state' | 't'>) => (trigger: IFormItemTrigger, callback?: Function) => void;
|
|
186
199
|
declare const clearValidate$1: (state: IFormItemRenderlessParams['state']) => () => void;
|
|
187
200
|
declare const resetField: ({ api, nextTick, props, state }: Pick<IFormItemRenderlessParams, 'api' | 'nextTick' | 'props' | 'state'>) => () => void;
|
|
@@ -201,9 +214,9 @@ declare const getFilteredRule: (api: IFormItemRenderlessParams['api']) => (trigg
|
|
|
201
214
|
declare const onFieldBlur: (api: IFormItemRenderlessParams['api']) => () => void;
|
|
202
215
|
declare const onFieldChange: ({ api, state }: Pick<IFormItemRenderlessParams, 'api' | 'state'>) => () => void;
|
|
203
216
|
declare const updateComputedLabelWidth: (state: IFormItemRenderlessParams['state']) => (width: number) => void;
|
|
204
|
-
declare const addValidateEvents: ({ api,
|
|
205
|
-
declare const removeValidateEvents: (
|
|
206
|
-
declare const updateTip$1: ({
|
|
217
|
+
declare const addValidateEvents: ({ api, vm, props, state }: Pick<IFormItemRenderlessParams, 'api' | 'vm' | 'props' | 'state'>) => () => void;
|
|
218
|
+
declare const removeValidateEvents: (vm: IFormItemRenderlessParams['vm']) => () => void;
|
|
219
|
+
declare const updateTip$1: ({ vm, state }: Pick<IFormItemRenderlessParams, 'vm' | 'state'>) => () => void;
|
|
207
220
|
/**
|
|
208
221
|
* 目前仅mobile-first模板使用到
|
|
209
222
|
*/
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'vue';
|
|
2
|
-
export { p as IFormApi, r as IFormInstance, n as IFormProps, q as IFormRenderlessParamUtils, o as IFormRenderlessParams, l as IFormRules, m as IFormState } from './form.type-
|
|
3
|
-
import './shared.type.
|
|
2
|
+
export { p as IFormApi, r as IFormInstance, n as IFormProps, q as IFormRenderlessParamUtils, o as IFormRenderlessParams, l as IFormRules, m as IFormState } from './form.type-d0fd42f3.js';
|
|
3
|
+
import './shared.type.js';
|
|
@@ -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 const $constants: {
|
|
5
5
|
NONE: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComputedRef, 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: {
|
|
6
6
|
INPUT_PC: string;
|
|
@@ -18,6 +18,7 @@ declare const $constants: {
|
|
|
18
18
|
COMPONENT_NAME: {
|
|
19
19
|
FormItem: string;
|
|
20
20
|
};
|
|
21
|
+
MASKSYMBOL: string;
|
|
21
22
|
};
|
|
22
23
|
declare const inputProps: {
|
|
23
24
|
_constants: {
|
|
@@ -38,6 +39,7 @@ declare const inputProps: {
|
|
|
38
39
|
COMPONENT_NAME: {
|
|
39
40
|
FormItem: string;
|
|
40
41
|
};
|
|
42
|
+
MASKSYMBOL: string;
|
|
41
43
|
};
|
|
42
44
|
};
|
|
43
45
|
name: StringConstructor;
|
|
@@ -52,6 +54,8 @@ declare const inputProps: {
|
|
|
52
54
|
};
|
|
53
55
|
disabled: BooleanConstructor;
|
|
54
56
|
readonly: BooleanConstructor;
|
|
57
|
+
hoverExpand: BooleanConstructor;
|
|
58
|
+
mask: BooleanConstructor;
|
|
55
59
|
suffixIcon: (StringConstructor | ObjectConstructor)[];
|
|
56
60
|
prefixIcon: (StringConstructor | ObjectConstructor)[];
|
|
57
61
|
modelValue: PropType<string | number | null>;
|
|
@@ -155,7 +159,7 @@ declare const inputProps: {
|
|
|
155
159
|
type: StringConstructor;
|
|
156
160
|
default: string;
|
|
157
161
|
};
|
|
158
|
-
|
|
162
|
+
customClass: {
|
|
159
163
|
type: StringConstructor;
|
|
160
164
|
default: string;
|
|
161
165
|
};
|
|
@@ -163,6 +167,10 @@ declare const inputProps: {
|
|
|
163
167
|
type: BooleanConstructor;
|
|
164
168
|
default: boolean;
|
|
165
169
|
};
|
|
170
|
+
showEmptyValue: {
|
|
171
|
+
type: BooleanConstructor;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
166
174
|
tiny_mode: StringConstructor;
|
|
167
175
|
tiny_mode_root: BooleanConstructor;
|
|
168
176
|
tiny_template: (FunctionConstructor | ObjectConstructor)[];
|
|
@@ -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 linkProps: {
|
|
5
5
|
type: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component, ExtractPropTypes } from 'vue';
|
|
2
|
-
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.
|
|
2
|
+
import { ISharedRenderlessFunctionParams, ISharedRenderlessParamUtils } from './shared.type.js';
|
|
3
3
|
|
|
4
4
|
declare const loadingProps: {
|
|
5
5
|
type: {
|
|
@@ -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 const $constants: {
|
|
5
5
|
DEFAULT_COLOR: string;
|