@yh-ui/components 0.1.17 → 0.1.21
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/README.md +193 -6
- package/dist/affix/index.d.ts +202 -1
- package/dist/affix/src/affix.vue.d.ts +55 -6
- package/dist/ai-action-group/__tests__/ai-action-group.test.cjs +86 -0
- package/dist/ai-action-group/__tests__/ai-action-group.test.mjs +53 -0
- package/dist/ai-action-group/index.d.ts +110 -1
- package/dist/ai-action-group/src/ai-action-group.vue +8 -8
- package/dist/ai-action-group/src/ai-action-group.vue.d.ts +29 -4
- package/dist/ai-agent-card/__tests__/ai-agent-card.test.cjs +135 -0
- package/dist/ai-agent-card/__tests__/ai-agent-card.test.mjs +69 -0
- package/dist/ai-agent-card/index.d.ts +176 -1
- package/dist/ai-agent-card/src/ai-agent-card.vue +4 -4
- package/dist/ai-agent-card/src/ai-agent-card.vue.d.ts +50 -7
- package/dist/ai-artifacts/index.d.ts +276 -1
- package/dist/ai-artifacts/src/ai-artifacts.cjs +60 -0
- package/dist/ai-artifacts/src/ai-artifacts.css +5 -1
- package/dist/ai-artifacts/src/ai-artifacts.d.ts +99 -18
- package/dist/ai-artifacts/src/ai-artifacts.mjs +60 -0
- package/dist/ai-artifacts/src/ai-artifacts.vue +177 -28
- package/dist/ai-artifacts/src/ai-artifacts.vue.d.ts +149 -36
- package/dist/ai-attachments/__tests__/ai-attachments.ssr.test.cjs +50 -0
- package/dist/ai-attachments/__tests__/ai-attachments.ssr.test.mjs +33 -0
- package/dist/ai-attachments/__tests__/ai-attachments.test.cjs +113 -0
- package/dist/ai-attachments/__tests__/ai-attachments.test.mjs +81 -0
- package/dist/ai-attachments/index.cjs +26 -0
- package/dist/ai-attachments/index.d.ts +363 -0
- package/dist/ai-attachments/index.mjs +5 -0
- package/dist/ai-attachments/src/ai-attachments.cjs +96 -0
- package/dist/ai-attachments/src/ai-attachments.css +685 -0
- package/dist/ai-attachments/src/ai-attachments.d.ts +127 -0
- package/dist/ai-attachments/src/ai-attachments.mjs +90 -0
- package/dist/ai-attachments/src/ai-attachments.vue +1012 -0
- package/dist/ai-attachments/src/ai-attachments.vue.d.ts +218 -0
- package/dist/ai-bubble/__tests__/ai-bubble.ssr.test.cjs +8 -0
- package/dist/ai-bubble/__tests__/ai-bubble.ssr.test.mjs +8 -0
- package/dist/ai-bubble/__tests__/ai-bubble.test.cjs +442 -45
- package/dist/ai-bubble/__tests__/ai-bubble.test.mjs +288 -18
- package/dist/ai-bubble/index.d.ts +442 -1
- package/dist/ai-bubble/src/ai-bubble.cjs +130 -0
- package/dist/ai-bubble/src/ai-bubble.css +104 -0
- package/dist/ai-bubble/src/ai-bubble.d.ts +369 -30
- package/dist/ai-bubble/src/ai-bubble.mjs +172 -0
- package/dist/ai-bubble/src/ai-bubble.vue +1228 -54
- package/dist/ai-bubble/src/ai-bubble.vue.d.ts +235 -72
- package/dist/ai-bubble-list/__tests__/ai-bubble-list.ssr.test.cjs +51 -0
- package/dist/ai-bubble-list/__tests__/ai-bubble-list.ssr.test.mjs +51 -0
- package/dist/ai-bubble-list/__tests__/ai-bubble-list.test.cjs +138 -0
- package/dist/ai-bubble-list/__tests__/ai-bubble-list.test.mjs +112 -0
- package/dist/ai-bubble-list/index.cjs +26 -0
- package/dist/ai-bubble-list/index.d.ts +156 -0
- package/dist/ai-bubble-list/index.mjs +5 -0
- package/dist/ai-bubble-list/src/ai-bubble-list.cjs +57 -0
- package/dist/ai-bubble-list/src/ai-bubble-list.css +490 -0
- package/dist/ai-bubble-list/src/ai-bubble-list.d.ts +58 -0
- package/dist/ai-bubble-list/src/ai-bubble-list.mjs +51 -0
- package/dist/ai-bubble-list/src/ai-bubble-list.vue +594 -0
- package/dist/ai-bubble-list/src/ai-bubble-list.vue.d.ts +93 -0
- package/dist/ai-chat/__tests__/ai-chat.ssr.test.cjs +8 -0
- package/dist/ai-chat/__tests__/ai-chat.ssr.test.mjs +8 -0
- package/dist/ai-chat/__tests__/ai-chat.test.cjs +8 -0
- package/dist/ai-chat/__tests__/ai-chat.test.mjs +8 -0
- package/dist/ai-chat/index.d.ts +164 -1
- package/dist/ai-chat/src/ai-chat.cjs +21 -0
- package/dist/ai-chat/src/ai-chat.css +25 -0
- package/dist/ai-chat/src/ai-chat.d.ts +21 -0
- package/dist/ai-chat/src/ai-chat.mjs +21 -0
- package/dist/ai-chat/src/ai-chat.vue +93 -16
- package/dist/ai-chat/src/ai-chat.vue.d.ts +64 -7
- package/dist/ai-code-block/__tests__/ai-code-block.ssr.test.cjs +9 -0
- package/dist/ai-code-block/__tests__/ai-code-block.ssr.test.mjs +9 -0
- package/dist/ai-code-block/index.d.ts +220 -1
- package/dist/ai-code-block/src/ai-code-block.cjs +17 -1
- package/dist/ai-code-block/src/ai-code-block.css +23 -0
- package/dist/ai-code-block/src/ai-code-block.d.ts +18 -1
- package/dist/ai-code-block/src/ai-code-block.mjs +17 -1
- package/dist/ai-code-block/src/ai-code-block.vue +132 -27
- package/dist/ai-code-block/src/ai-code-block.vue.d.ts +72 -6
- package/dist/ai-code-editor/__tests__/ai-code-editor.ssr.test.cjs +46 -0
- package/dist/ai-code-editor/__tests__/ai-code-editor.ssr.test.mjs +39 -0
- package/dist/ai-code-editor/__tests__/ai-code-editor.test.cjs +90 -0
- package/dist/ai-code-editor/__tests__/ai-code-editor.test.mjs +78 -0
- package/dist/ai-code-editor/index.cjs +26 -0
- package/dist/ai-code-editor/index.d.ts +135 -0
- package/dist/ai-code-editor/index.mjs +5 -0
- package/dist/ai-code-editor/src/ai-code-editor.cjs +100 -0
- package/dist/ai-code-editor/src/ai-code-editor.css +473 -0
- package/dist/ai-code-editor/src/ai-code-editor.d.ts +104 -0
- package/dist/ai-code-editor/src/ai-code-editor.mjs +94 -0
- package/dist/ai-code-editor/src/ai-code-editor.vue +673 -0
- package/dist/ai-code-editor/src/ai-code-editor.vue.d.ts +132 -0
- package/dist/ai-code-runner/__tests__/ai-code-runner.ssr.test.cjs +28 -0
- package/dist/ai-code-runner/__tests__/ai-code-runner.ssr.test.mjs +26 -0
- package/dist/ai-code-runner/__tests__/ai-code-runner.test.cjs +69 -0
- package/dist/ai-code-runner/__tests__/ai-code-runner.test.mjs +66 -0
- package/dist/ai-code-runner/index.cjs +26 -0
- package/dist/ai-code-runner/index.d.ts +70 -0
- package/dist/ai-code-runner/index.mjs +5 -0
- package/dist/ai-code-runner/src/ai-code-runner.cjs +50 -0
- package/dist/ai-code-runner/src/ai-code-runner.css +504 -0
- package/dist/ai-code-runner/src/ai-code-runner.d.ts +55 -0
- package/dist/ai-code-runner/src/ai-code-runner.mjs +44 -0
- package/dist/ai-code-runner/src/ai-code-runner.vue +692 -0
- package/dist/ai-code-runner/src/ai-code-runner.vue.d.ts +67 -0
- package/dist/ai-code-runner/src/webcontainer.cjs +17 -0
- package/dist/ai-code-runner/src/webcontainer.d.ts +4 -0
- package/dist/ai-code-runner/src/webcontainer.mjs +9 -0
- package/dist/ai-conversations/index.d.ts +216 -1
- package/dist/ai-conversations/src/ai-conversations.cjs +29 -0
- package/dist/ai-conversations/src/ai-conversations.css +45 -7
- package/dist/ai-conversations/src/ai-conversations.d.ts +28 -0
- package/dist/ai-conversations/src/ai-conversations.mjs +29 -0
- package/dist/ai-conversations/src/ai-conversations.vue +172 -42
- package/dist/ai-conversations/src/ai-conversations.vue.d.ts +78 -3
- package/dist/ai-editor-sender/index.d.ts +417 -1
- package/dist/ai-editor-sender/src/ai-editor-sender.cjs +92 -1
- package/dist/ai-editor-sender/src/ai-editor-sender.css +96 -0
- package/dist/ai-editor-sender/src/ai-editor-sender.d.ts +144 -29
- package/dist/ai-editor-sender/src/ai-editor-sender.mjs +92 -1
- package/dist/ai-editor-sender/src/ai-editor-sender.vue +309 -3
- package/dist/ai-editor-sender/src/ai-editor-sender.vue.d.ts +221 -50
- package/dist/ai-file-card/__tests__/ai-file-card.ssr.test.cjs +45 -0
- package/dist/ai-file-card/__tests__/ai-file-card.ssr.test.mjs +29 -0
- package/dist/ai-file-card/__tests__/ai-file-card.test.cjs +160 -0
- package/dist/ai-file-card/__tests__/ai-file-card.test.mjs +109 -0
- package/dist/ai-file-card/index.cjs +26 -0
- package/dist/ai-file-card/index.d.ts +231 -0
- package/dist/ai-file-card/index.mjs +5 -0
- package/dist/ai-file-card/src/ai-file-card.cjs +76 -0
- package/dist/ai-file-card/src/ai-file-card.css +757 -0
- package/dist/ai-file-card/src/ai-file-card.d.ts +176 -0
- package/dist/ai-file-card/src/ai-file-card.mjs +70 -0
- package/dist/ai-file-card/src/ai-file-card.vue +1054 -0
- package/dist/ai-file-card/src/ai-file-card.vue.d.ts +135 -0
- package/dist/ai-mention/index.d.ts +368 -14
- package/dist/ai-mention/src/ai-mention.cjs +73 -2
- package/dist/ai-mention/src/ai-mention.css +125 -0
- package/dist/ai-mention/src/ai-mention.d.ts +105 -1
- package/dist/ai-mention/src/ai-mention.mjs +73 -2
- package/dist/ai-mention/src/ai-mention.vue +596 -10
- package/dist/ai-mention/src/ai-mention.vue.d.ts +158 -15
- package/dist/ai-mermaid/__tests__/ai-mermaid.ssr.test.cjs +43 -0
- package/dist/ai-mermaid/__tests__/ai-mermaid.ssr.test.mjs +33 -0
- package/dist/ai-mermaid/__tests__/ai-mermaid.test.cjs +113 -0
- package/dist/ai-mermaid/__tests__/ai-mermaid.test.mjs +92 -0
- package/dist/ai-mermaid/index.cjs +26 -0
- package/dist/ai-mermaid/index.d.ts +228 -0
- package/dist/ai-mermaid/index.mjs +5 -0
- package/dist/ai-mermaid/src/ai-mermaid.cjs +72 -0
- package/dist/ai-mermaid/src/ai-mermaid.css +601 -0
- package/dist/ai-mermaid/src/ai-mermaid.d.ts +113 -0
- package/dist/ai-mermaid/src/ai-mermaid.mjs +66 -0
- package/dist/ai-mermaid/src/ai-mermaid.vue +841 -0
- package/dist/ai-mermaid/src/ai-mermaid.vue.d.ts +133 -0
- package/dist/ai-prompts/index.d.ts +104 -1
- package/dist/ai-prompts/src/ai-prompts.vue.d.ts +27 -6
- package/dist/ai-provider/index.d.ts +139 -1
- package/dist/ai-provider/src/ai-provider.cjs +61 -1
- package/dist/ai-provider/src/ai-provider.d.ts +116 -6
- package/dist/ai-provider/src/ai-provider.mjs +57 -0
- package/dist/ai-provider/src/ai-provider.vue +58 -3
- package/dist/ai-provider/src/ai-provider.vue.d.ts +44 -7
- package/dist/ai-sender/__tests__/ai-sender.test.cjs +118 -2
- package/dist/ai-sender/__tests__/ai-sender.test.mjs +68 -1
- package/dist/ai-sender/index.d.ts +236 -1
- package/dist/ai-sender/src/ai-sender.cjs +5 -1
- package/dist/ai-sender/src/ai-sender.css +38 -0
- package/dist/ai-sender/src/ai-sender.d.ts +4 -0
- package/dist/ai-sender/src/ai-sender.mjs +5 -1
- package/dist/ai-sender/src/ai-sender.vue +86 -2
- package/dist/ai-sender/src/ai-sender.vue.d.ts +77 -15
- package/dist/ai-sources/__tests__/ai-sources.test.cjs +112 -5
- package/dist/ai-sources/__tests__/ai-sources.test.mjs +78 -7
- package/dist/ai-sources/index.d.ts +136 -1
- package/dist/ai-sources/src/ai-sources.css +24 -0
- package/dist/ai-sources/src/ai-sources.d.ts +3 -0
- package/dist/ai-sources/src/ai-sources.vue +88 -21
- package/dist/ai-sources/src/ai-sources.vue.d.ts +38 -5
- package/dist/ai-thinking/index.d.ts +152 -1
- package/dist/ai-thinking/src/ai-thinking.cjs +28 -0
- package/dist/ai-thinking/src/ai-thinking.d.ts +28 -0
- package/dist/ai-thinking/src/ai-thinking.mjs +28 -0
- package/dist/ai-thinking/src/ai-thinking.vue +9 -6
- package/dist/ai-thinking/src/ai-thinking.vue.d.ts +58 -2
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.ssr.test.cjs +6 -1
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.ssr.test.mjs +4 -1
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.test.cjs +141 -1
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.test.mjs +104 -1
- package/dist/ai-thought-chain/index.d.ts +286 -1
- package/dist/ai-thought-chain/src/ai-thought-chain.cjs +61 -1
- package/dist/ai-thought-chain/src/ai-thought-chain.css +106 -0
- package/dist/ai-thought-chain/src/ai-thought-chain.d.ts +68 -0
- package/dist/ai-thought-chain/src/ai-thought-chain.mjs +61 -1
- package/dist/ai-thought-chain/src/ai-thought-chain.vue +285 -20
- package/dist/ai-thought-chain/src/ai-thought-chain.vue.d.ts +95 -11
- package/dist/ai-voice-trigger/index.d.ts +155 -1
- package/dist/ai-voice-trigger/src/ai-voice-trigger.vue +2 -2
- package/dist/ai-voice-trigger/src/ai-voice-trigger.vue.d.ts +43 -4
- package/dist/ai-welcome/index.d.ts +131 -1
- package/dist/ai-welcome/src/ai-welcome.vue.d.ts +32 -3
- package/dist/alert/index.d.ts +289 -1
- package/dist/alert/src/alert.vue.d.ts +81 -10
- package/dist/autocomplete/index.d.ts +134 -1
- package/dist/autocomplete/src/autocomplete.vue.d.ts +15 -12
- package/dist/avatar/index.d.ts +9 -6
- package/dist/avatar/src/avatar.d.ts +4 -0
- package/dist/avatar/src/avatar.vue +2 -0
- package/dist/avatar/src/avatar.vue.d.ts +2 -1
- package/dist/back-top/index.d.ts +153 -1
- package/dist/back-top/src/back-top.vue.d.ts +42 -5
- package/dist/badge/index.d.ts +40 -1
- package/dist/badge/src/badge.vue.d.ts +1 -1
- package/dist/breadcrumb/index.d.ts +177 -2
- package/dist/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
- package/dist/button/index.d.ts +33 -33
- package/dist/button/src/button.css +11 -6
- package/dist/button/src/button.vue +11 -6
- package/dist/button/src/button.vue.d.ts +6 -6
- package/dist/calendar/index.d.ts +1653 -1
- package/dist/calendar/src/calendar.vue +12 -11
- package/dist/calendar/src/calendar.vue.d.ts +241 -121
- package/dist/card/index.d.ts +44 -1
- package/dist/card/src/card.vue.d.ts +2 -2
- package/dist/carousel/__tests__/carousel.ssr.test.cjs +27 -0
- package/dist/carousel/__tests__/carousel.ssr.test.mjs +27 -0
- package/dist/carousel/__tests__/carousel.test.cjs +115 -0
- package/dist/carousel/__tests__/carousel.test.mjs +98 -0
- package/dist/carousel/index.cjs +43 -0
- package/dist/carousel/index.d.ts +456 -0
- package/dist/carousel/index.mjs +10 -0
- package/dist/carousel/src/carousel-item.cjs +10 -0
- package/dist/carousel/src/carousel-item.d.ts +9 -0
- package/dist/carousel/src/carousel-item.mjs +4 -0
- package/dist/carousel/src/carousel-item.vue +277 -0
- package/dist/{menu/src/menu-item-group.d.vue.ts → carousel/src/carousel-item.vue.d.ts} +4 -12
- package/dist/carousel/src/carousel.cjs +118 -0
- package/dist/carousel/src/carousel.css +705 -0
- package/dist/carousel/src/carousel.d.ts +137 -0
- package/dist/carousel/src/carousel.mjs +112 -0
- package/dist/carousel/src/carousel.vue +1070 -0
- package/dist/carousel/src/carousel.vue.d.ts +235 -0
- package/dist/cascader/index.d.ts +211 -2
- package/dist/cascader/src/cascader-panel.vue.d.ts +3 -3
- package/dist/cascader/src/cascader.vue.d.ts +14 -14
- package/dist/category-nav/__tests__/category-nav.ssr.test.cjs +35 -0
- package/dist/category-nav/__tests__/category-nav.ssr.test.mjs +21 -0
- package/dist/category-nav/__tests__/category-nav.test.cjs +53 -0
- package/dist/category-nav/__tests__/category-nav.test.mjs +33 -0
- package/dist/category-nav/index.cjs +26 -0
- package/dist/category-nav/index.d.ts +225 -0
- package/dist/category-nav/index.mjs +5 -0
- package/dist/category-nav/src/category-nav.cjs +66 -0
- package/dist/category-nav/src/category-nav.css +663 -0
- package/dist/category-nav/src/category-nav.d.ts +86 -0
- package/dist/category-nav/src/category-nav.mjs +60 -0
- package/dist/category-nav/src/category-nav.vue +966 -0
- package/dist/category-nav/src/category-nav.vue.d.ts +137 -0
- package/dist/checkbox/index.d.ts +44 -44
- package/dist/checkbox/src/checkbox-group.vue.d.ts +1 -1
- package/dist/checkbox/src/checkbox.vue.d.ts +2 -2
- package/dist/col/index.d.ts +338 -1
- package/dist/col/src/col.vue.d.ts +4 -4
- package/dist/color-picker/index.d.ts +84 -1
- package/dist/color-picker/src/color-picker.vue.d.ts +45 -4
- package/dist/component.d.ts +56 -1
- package/dist/config-provider/index.d.ts +2 -2
- package/dist/config-provider/src/config-provider.d.ts +2 -2
- package/dist/container/index.d.ts +103 -5
- package/dist/countdown/index.d.ts +419 -1
- package/dist/countdown/src/countdown.vue.d.ts +121 -16
- package/dist/coupon-card/__tests__/coupon-card.ssr.test.cjs +21 -0
- package/dist/coupon-card/__tests__/coupon-card.ssr.test.mjs +18 -0
- package/dist/coupon-card/__tests__/coupon-card.test.cjs +67 -0
- package/dist/coupon-card/__tests__/coupon-card.test.mjs +64 -0
- package/dist/coupon-card/index.cjs +26 -0
- package/dist/coupon-card/index.d.ts +346 -0
- package/dist/coupon-card/index.mjs +5 -0
- package/dist/coupon-card/src/coupon-card.cjs +108 -0
- package/dist/coupon-card/src/coupon-card.css +786 -0
- package/dist/coupon-card/src/coupon-card.d.ts +106 -0
- package/dist/coupon-card/src/coupon-card.mjs +102 -0
- package/dist/coupon-card/src/coupon-card.vue +963 -0
- package/dist/coupon-card/src/coupon-card.vue.d.ts +206 -0
- package/dist/date-picker/index.d.ts +606 -1
- package/dist/date-picker/src/date-picker.vue +3 -1
- package/dist/date-picker/src/date-picker.vue.d.ts +29 -27
- package/dist/date-picker/src/date-table.vue.d.ts +2 -1
- package/dist/descriptions/index.d.ts +492 -2
- package/dist/descriptions/src/description-item.vue.d.ts +5 -5
- package/dist/descriptions/src/descriptions.vue.d.ts +4 -4
- package/dist/dialog/index.d.ts +665 -2
- package/dist/dialog/src/dialog.vue +3 -2
- package/dist/dialog/src/dialog.vue.d.ts +200 -22
- package/dist/divider/index.d.ts +113 -1
- package/dist/divider/src/divider.vue.d.ts +3 -3
- package/dist/drawer/index.d.ts +391 -13
- package/dist/drawer/src/drawer.vue.d.ts +120 -10
- package/dist/dropdown/index.d.ts +627 -3
- package/dist/dropdown/src/dropdown-item.vue.d.ts +2 -2
- package/dist/dropdown/src/dropdown.vue.d.ts +135 -18
- package/dist/empty/index.d.ts +27 -1
- package/dist/env.d.ts +6 -0
- package/dist/filter-bar/__tests__/filter-bar.ssr.test.cjs +29 -0
- package/dist/filter-bar/__tests__/filter-bar.ssr.test.mjs +16 -0
- package/dist/filter-bar/__tests__/filter-bar.test.cjs +51 -0
- package/dist/filter-bar/__tests__/filter-bar.test.mjs +29 -0
- package/dist/filter-bar/index.cjs +26 -0
- package/dist/filter-bar/index.d.ts +287 -0
- package/dist/filter-bar/index.mjs +5 -0
- package/dist/filter-bar/src/filter-bar.cjs +90 -0
- package/dist/filter-bar/src/filter-bar.css +761 -0
- package/dist/filter-bar/src/filter-bar.d.ts +124 -0
- package/dist/filter-bar/src/filter-bar.mjs +81 -0
- package/dist/filter-bar/src/filter-bar.vue +1087 -0
- package/dist/filter-bar/src/filter-bar.vue.d.ts +170 -0
- package/dist/form/index.d.ts +690 -3
- package/dist/form/src/form-item.vue.d.ts +7 -7
- package/dist/form/src/form-schema.vue.d.ts +32 -26
- package/dist/form/src/form.vue.d.ts +3 -3
- package/dist/gantt-chart/__tests__/debug_ssr.test.cjs +51 -0
- package/dist/gantt-chart/__tests__/debug_ssr.test.mjs +37 -0
- package/dist/gantt-chart/__tests__/gantt-chart.ssr.test.cjs +95 -0
- package/dist/gantt-chart/__tests__/gantt-chart.ssr.test.mjs +94 -0
- package/dist/gantt-chart/__tests__/gantt-chart.test.cjs +86 -0
- package/dist/gantt-chart/__tests__/gantt-chart.test.mjs +79 -0
- package/dist/gantt-chart/index.cjs +26 -0
- package/dist/gantt-chart/index.d.ts +115 -0
- package/dist/gantt-chart/index.mjs +5 -0
- package/dist/gantt-chart/src/gantt-chart.cjs +1 -0
- package/dist/gantt-chart/src/gantt-chart.css +853 -0
- package/dist/gantt-chart/src/gantt-chart.d.ts +112 -0
- package/dist/gantt-chart/src/gantt-chart.mjs +0 -0
- package/dist/gantt-chart/src/gantt-chart.vue +1583 -0
- package/dist/gantt-chart/src/gantt-chart.vue.d.ts +51 -0
- package/dist/grid/index.d.ts +67 -2
- package/dist/grid/src/grid-item.vue.d.ts +1 -1
- package/dist/grid/src/grid.vue.d.ts +1 -1
- package/dist/icon/index.d.ts +15 -15
- package/dist/icon/src/icon.vue.d.ts +5 -5
- package/dist/icon/src/icons/index.cjs +39 -2
- package/dist/icon/src/icons/index.d.ts +7 -0
- package/dist/icon/src/icons/index.mjs +44 -1
- package/dist/image/index.d.ts +72 -21
- package/dist/image/src/image-viewer.vue.d.ts +55 -4
- package/dist/image/src/image.vue.d.ts +5 -5
- package/dist/image-magnifier/__tests__/image-magnifier.ssr.test.cjs +54 -0
- package/dist/image-magnifier/__tests__/image-magnifier.ssr.test.mjs +35 -0
- package/dist/image-magnifier/__tests__/image-magnifier.test.cjs +257 -0
- package/dist/image-magnifier/__tests__/image-magnifier.test.mjs +177 -0
- package/dist/image-magnifier/index.cjs +26 -0
- package/dist/image-magnifier/index.d.ts +468 -0
- package/dist/image-magnifier/index.mjs +5 -0
- package/dist/image-magnifier/src/image-magnifier.cjs +142 -0
- package/dist/image-magnifier/src/image-magnifier.css +754 -0
- package/dist/image-magnifier/src/image-magnifier.d.ts +146 -0
- package/dist/image-magnifier/src/image-magnifier.mjs +136 -0
- package/dist/image-magnifier/src/image-magnifier.vue +1134 -0
- package/dist/image-magnifier/src/image-magnifier.vue.d.ts +271 -0
- package/dist/index.cjs +229 -1
- package/dist/index.d.ts +19 -0
- package/dist/index.mjs +59 -1
- package/dist/infinite-scroll/index.d.ts +270 -1
- package/dist/infinite-scroll/src/infinite-scroll.vue.d.ts +71 -6
- package/dist/input/index.d.ts +51 -51
- package/dist/input/src/input.vue.d.ts +16 -16
- package/dist/input-number/index.d.ts +33 -33
- package/dist/input-number/src/input-number.vue.d.ts +9 -9
- package/dist/input-tag/index.d.ts +151 -1
- package/dist/input-tag/src/input-tag.vue.d.ts +22 -22
- package/dist/loading/index.d.ts +1 -1
- package/dist/lucky-draw/__tests__/lucky-draw.ssr.test.cjs +33 -0
- package/dist/lucky-draw/__tests__/lucky-draw.ssr.test.mjs +31 -0
- package/dist/lucky-draw/__tests__/lucky-draw.test.cjs +56 -0
- package/dist/lucky-draw/__tests__/lucky-draw.test.mjs +48 -0
- package/dist/lucky-draw/index.cjs +26 -0
- package/dist/lucky-draw/index.d.ts +209 -0
- package/dist/lucky-draw/index.mjs +5 -0
- package/dist/lucky-draw/src/lucky-draw.cjs +63 -0
- package/dist/lucky-draw/src/lucky-draw.css +683 -0
- package/dist/lucky-draw/src/lucky-draw.d.ts +69 -0
- package/dist/lucky-draw/src/lucky-draw.mjs +57 -0
- package/dist/lucky-draw/src/lucky-draw.vue +865 -0
- package/dist/lucky-draw/src/lucky-draw.vue.d.ts +123 -0
- package/dist/marquee/index.d.ts +305 -1
- package/dist/marquee/src/marquee.vue.d.ts +80 -6
- package/dist/mention/index.d.ts +75 -75
- package/dist/mention/src/mention.vue.d.ts +26 -26
- package/dist/menu/index.d.ts +890 -4
- package/dist/menu/src/menu-item.vue.d.ts +1 -1
- package/dist/menu/src/menu-recursive-item.vue +30 -11
- package/dist/menu/src/menu.cjs +1 -1
- package/dist/menu/src/menu.d.ts +3 -3
- package/dist/menu/src/menu.mjs +1 -1
- package/dist/menu/src/menu.vue +1 -1
- package/dist/menu/src/menu.vue.d.ts +179 -16
- package/dist/menu/src/sub-menu.vue +10 -3
- package/dist/menu/src/sub-menu.vue.d.ts +1 -1
- package/dist/message/index.d.ts +1 -1
- package/dist/message/src/message.vue.d.ts +2 -2
- package/dist/message-box/index.cjs +1 -1
- package/dist/message-box/index.d.ts +1 -1
- package/dist/message-box/index.mjs +1 -1
- package/dist/notification/index.d.ts +1 -1
- package/dist/notification/src/notification.vue.d.ts +2 -2
- package/dist/pagination/index.d.ts +15 -15
- package/dist/pagination/src/pagination.vue.d.ts +5 -5
- package/dist/popconfirm/index.d.ts +433 -1
- package/dist/popconfirm/src/popconfirm.cjs +1 -1
- package/dist/popconfirm/src/popconfirm.d.ts +2 -2
- package/dist/popconfirm/src/popconfirm.mjs +1 -1
- package/dist/popconfirm/src/popconfirm.vue.d.ts +125 -16
- package/dist/popover/index.d.ts +392 -1
- package/dist/popover/src/popover.cjs +1 -1
- package/dist/popover/src/popover.d.ts +2 -2
- package/dist/popover/src/popover.mjs +1 -1
- package/dist/popover/src/popover.vue.d.ts +113 -16
- package/dist/price/__tests__/price.ssr.test.cjs +20 -0
- package/dist/price/__tests__/price.ssr.test.mjs +19 -0
- package/dist/price/__tests__/price.test.cjs +45 -0
- package/dist/price/__tests__/price.test.mjs +42 -0
- package/dist/price/index.cjs +26 -0
- package/dist/price/index.d.ts +369 -0
- package/dist/price/index.mjs +5 -0
- package/dist/price/src/price.cjs +118 -0
- package/dist/price/src/price.css +601 -0
- package/dist/price/src/price.d.ts +114 -0
- package/dist/price/src/price.mjs +112 -0
- package/dist/price/src/price.vue +749 -0
- package/dist/price/src/price.vue.d.ts +223 -0
- package/dist/product-card/__tests__/product-card.ssr.test.cjs +21 -0
- package/dist/product-card/__tests__/product-card.ssr.test.mjs +18 -0
- package/dist/product-card/__tests__/product-card.test.cjs +54 -0
- package/dist/product-card/__tests__/product-card.test.mjs +53 -0
- package/dist/product-card/index.cjs +26 -0
- package/dist/product-card/index.d.ts +563 -0
- package/dist/product-card/index.mjs +5 -0
- package/dist/product-card/src/product-card.cjs +184 -0
- package/dist/product-card/src/product-card.css +856 -0
- package/dist/product-card/src/product-card.d.ts +188 -0
- package/dist/product-card/src/product-card.mjs +178 -0
- package/dist/product-card/src/product-card.vue +1097 -0
- package/dist/product-card/src/product-card.vue.d.ts +333 -0
- package/dist/progress/index.d.ts +321 -1
- package/dist/progress/src/progress.vue.d.ts +9 -9
- package/dist/radio/index.d.ts +147 -3
- package/dist/radio/src/radio-button.vue +19 -5
- package/dist/radio/src/radio-group.vue.d.ts +1 -1
- package/dist/rate/index.d.ts +313 -1
- package/dist/rate/src/rate.vue.d.ts +90 -11
- package/dist/result/index.d.ts +31 -1
- package/dist/row/index.d.ts +98 -1
- package/dist/row/src/row.d.ts +2 -2
- package/dist/row/src/row.vue.d.ts +2 -2
- package/dist/scrollbar/__tests__/scrollbar.ssr.test.cjs +49 -0
- package/dist/scrollbar/__tests__/scrollbar.ssr.test.mjs +54 -0
- package/dist/scrollbar/__tests__/scrollbar.test.cjs +43 -0
- package/dist/scrollbar/__tests__/scrollbar.test.mjs +40 -0
- package/dist/scrollbar/index.cjs +26 -0
- package/dist/scrollbar/index.d.ts +213 -0
- package/dist/scrollbar/index.mjs +5 -0
- package/dist/scrollbar/src/scrollbar.cjs +82 -0
- package/dist/scrollbar/src/scrollbar.css +521 -0
- package/dist/scrollbar/src/scrollbar.d.ts +82 -0
- package/dist/scrollbar/src/scrollbar.mjs +73 -0
- package/dist/scrollbar/src/scrollbar.vue +680 -0
- package/dist/scrollbar/src/scrollbar.vue.d.ts +115 -0
- package/dist/scrollbar/src/thumb.vue +112 -0
- package/dist/scrollbar/src/thumb.vue.d.ts +16 -0
- package/dist/scrollbar/src/util.cjs +42 -0
- package/dist/scrollbar/src/util.d.ts +27 -0
- package/dist/scrollbar/src/util.mjs +35 -0
- package/dist/select/index.d.ts +177 -2
- package/dist/select/src/select.vue.d.ts +18 -18
- package/dist/skeleton/index.d.ts +278 -2
- package/dist/skeleton/src/skeleton-item.vue +12 -1
- package/dist/skeleton/src/skeleton-item.vue.d.ts +2 -2
- package/dist/skeleton/src/skeleton.css +12 -1
- package/dist/skeleton/src/skeleton.vue +12 -1
- package/dist/skeleton/src/skeleton.vue.d.ts +1 -1
- package/dist/sku-selector/__tests__/sku-selector.ssr.test.cjs +32 -0
- package/dist/sku-selector/__tests__/sku-selector.ssr.test.mjs +19 -0
- package/dist/sku-selector/__tests__/sku-selector.test.cjs +64 -0
- package/dist/sku-selector/__tests__/sku-selector.test.mjs +53 -0
- package/dist/sku-selector/index.cjs +26 -0
- package/dist/sku-selector/index.d.ts +228 -0
- package/dist/sku-selector/index.mjs +5 -0
- package/dist/sku-selector/src/sku-selector.cjs +70 -0
- package/dist/sku-selector/src/sku-selector.css +664 -0
- package/dist/sku-selector/src/sku-selector.d.ts +96 -0
- package/dist/sku-selector/src/sku-selector.mjs +64 -0
- package/dist/sku-selector/src/sku-selector.vue +779 -0
- package/dist/sku-selector/src/sku-selector.vue.d.ts +137 -0
- package/dist/slider/index.d.ts +463 -1
- package/dist/slider/src/slider-button.vue.d.ts +4 -4
- package/dist/slider/src/slider.vue.d.ts +133 -13
- package/dist/smart-address/__tests__/smart-address.ssr.test.cjs +28 -0
- package/dist/smart-address/__tests__/smart-address.ssr.test.mjs +25 -0
- package/dist/smart-address/__tests__/smart-address.test.cjs +68 -0
- package/dist/smart-address/__tests__/smart-address.test.mjs +56 -0
- package/dist/smart-address/index.cjs +38 -0
- package/dist/smart-address/index.d.ts +331 -0
- package/dist/smart-address/index.mjs +6 -0
- package/dist/smart-address/src/smart-address.cjs +108 -0
- package/dist/smart-address/src/smart-address.css +616 -0
- package/dist/smart-address/src/smart-address.d.ts +114 -0
- package/dist/smart-address/src/smart-address.mjs +102 -0
- package/dist/smart-address/src/smart-address.vue +966 -0
- package/dist/smart-address/src/smart-address.vue.d.ts +204 -0
- package/dist/smart-address/src/use-address-parser.cjs +137 -0
- package/dist/smart-address/src/use-address-parser.d.ts +28 -0
- package/dist/smart-address/src/use-address-parser.mjs +132 -0
- package/dist/space/index.d.ts +40 -1
- package/dist/space/src/space.vue.d.ts +2 -2
- package/dist/spin/index.d.ts +162 -7
- package/dist/spin/src/spin.vue.d.ts +48 -5
- package/dist/steps/index.d.ts +606 -2
- package/dist/steps/src/step.vue.d.ts +4 -4
- package/dist/steps/src/steps.vue.d.ts +77 -8
- package/dist/submit-bar/__tests__/submit-bar.ssr.test.cjs +21 -0
- package/dist/submit-bar/__tests__/submit-bar.ssr.test.mjs +18 -0
- package/dist/submit-bar/__tests__/submit-bar.test.cjs +50 -0
- package/dist/submit-bar/__tests__/submit-bar.test.mjs +36 -0
- package/dist/submit-bar/index.cjs +26 -0
- package/dist/submit-bar/index.d.ts +297 -0
- package/dist/submit-bar/index.mjs +5 -0
- package/dist/submit-bar/src/submit-bar.cjs +94 -0
- package/dist/submit-bar/src/submit-bar.css +639 -0
- package/dist/submit-bar/src/submit-bar.d.ts +93 -0
- package/dist/submit-bar/src/submit-bar.mjs +88 -0
- package/dist/submit-bar/src/submit-bar.vue +749 -0
- package/dist/submit-bar/src/submit-bar.vue.d.ts +175 -0
- package/dist/switch/index.d.ts +372 -1
- package/dist/switch/src/switch.vue.d.ts +98 -7
- package/dist/table/index.d.ts +1248 -2
- package/dist/table/src/table-column.vue +7 -3
- package/dist/table/src/table-column.vue.d.ts +9 -19
- package/dist/table/src/table.d.ts +3 -3
- package/dist/table/src/table.vue +28 -9
- package/dist/table/src/table.vue.d.ts +346 -34
- package/dist/table/src/use-table-import.cjs +1 -1
- package/dist/table/src/use-table-import.mjs +1 -1
- package/dist/tabs/index.d.ts +583 -2
- package/dist/tabs/src/tab-pane.vue.d.ts +2 -2
- package/dist/tabs/src/tabs.vue.d.ts +98 -8
- package/dist/tag/index.d.ts +86 -1
- package/dist/tag/src/tag.vue.d.ts +8 -8
- package/dist/time-picker/index.d.ts +166 -1
- package/dist/time-picker/src/time-picker.vue.d.ts +19 -19
- package/dist/time-select/index.d.ts +112 -1
- package/dist/time-select/src/time-select.vue.d.ts +12 -12
- package/dist/tooltip/index.d.ts +467 -19
- package/dist/tooltip/src/tooltip.cjs +4 -4
- package/dist/tooltip/src/tooltip.d.ts +5 -5
- package/dist/tooltip/src/tooltip.mjs +4 -4
- package/dist/tooltip/src/tooltip.vue +2 -1
- package/dist/tooltip/src/tooltip.vue.d.ts +146 -21
- package/dist/transfer/src/transfer-panel.vue.d.ts +7 -7
- package/dist/transfer/src/transfer.vue.d.ts +10 -10
- package/dist/tree/index.d.ts +623 -2
- package/dist/tree/src/tree.vue.d.ts +176 -28
- package/dist/tree-select/index.d.ts +435 -1
- package/dist/tree-select/src/tree-select.vue.d.ts +128 -18
- package/dist/typography/index.d.ts +180 -4
- package/dist/typography/src/link.vue.d.ts +1 -1
- package/dist/typography/src/paragraph.vue.d.ts +2 -2
- package/dist/typography/src/text.vue.d.ts +4 -4
- package/dist/typography/src/title.vue.d.ts +3 -3
- package/dist/upload/index.d.ts +391 -1
- package/dist/upload/src/upload.css +0 -441
- package/dist/upload/src/upload.vue +1 -441
- package/dist/upload/src/upload.vue.d.ts +108 -11
- package/dist/waterfall/index.d.ts +57 -1
- package/dist/waterfall/src/waterfall.vue.d.ts +3 -3
- package/dist/watermark/index.d.ts +284 -1
- package/dist/watermark/src/watermark.vue.d.ts +6 -6
- package/package.json +26 -11
- package/dist/__tests__/resolver.test.cjs +0 -56
- package/dist/__tests__/resolver.test.d.ts +0 -1
- package/dist/__tests__/resolver.test.mjs +0 -52
- package/dist/__tests__/utils/ssr.cjs +0 -114
- package/dist/__tests__/utils/ssr.d.ts +0 -29
- package/dist/__tests__/utils/ssr.mjs +0 -119
- package/dist/affix/__tests__/affix.bottom.test.d.ts +0 -1
- package/dist/affix/__tests__/affix.ssr.test.d.ts +0 -1
- package/dist/affix/__tests__/affix.test.d.ts +0 -1
- package/dist/affix/src/affix.d.vue.ts +0 -66
- package/dist/ai-action-group/__tests__/ai-action-group.ssr.test.d.ts +0 -1
- package/dist/ai-action-group/__tests__/ai-action-group.test.d.ts +0 -1
- package/dist/ai-action-group/src/ai-action-group.d.vue.ts +0 -40
- package/dist/ai-agent-card/__tests__/ai-agent-card.ssr.test.d.ts +0 -1
- package/dist/ai-agent-card/__tests__/ai-agent-card.test.d.ts +0 -1
- package/dist/ai-agent-card/src/ai-agent-card.d.vue.ts +0 -62
- package/dist/ai-artifacts/__tests__/ai-artifacts.ssr.test.d.ts +0 -1
- package/dist/ai-artifacts/__tests__/ai-artifacts.test.d.ts +0 -1
- package/dist/ai-artifacts/src/ai-artifacts.d.vue.ts +0 -50
- package/dist/ai-bubble/__tests__/ai-bubble.ssr.test.d.ts +0 -1
- package/dist/ai-bubble/__tests__/ai-bubble.test.d.ts +0 -1
- package/dist/ai-bubble/src/ai-bubble.d.vue.ts +0 -110
- package/dist/ai-chat/__tests__/ai-chat.ssr.test.d.ts +0 -1
- package/dist/ai-chat/__tests__/ai-chat.test.d.ts +0 -1
- package/dist/ai-chat/src/ai-chat.d.vue.ts +0 -43
- package/dist/ai-code-block/__tests__/ai-code-block.ssr.test.d.ts +0 -1
- package/dist/ai-code-block/__tests__/ai-code-block.test.d.ts +0 -1
- package/dist/ai-code-block/src/ai-code-block.d.vue.ts +0 -63
- package/dist/ai-conversations/__tests__/ai-conversations.ssr.test.d.ts +0 -1
- package/dist/ai-conversations/__tests__/ai-conversations.test.d.ts +0 -1
- package/dist/ai-conversations/src/ai-conversations.d.vue.ts +0 -52
- package/dist/ai-editor-sender/__tests__/ai-editor-sender.ssr.test.d.ts +0 -1
- package/dist/ai-editor-sender/__tests__/ai-editor-sender.test.d.ts +0 -1
- package/dist/ai-editor-sender/src/ai-editor-sender.d.vue.ts +0 -70
- package/dist/ai-mention/__tests__/ai-mention.ssr.test.d.ts +0 -1
- package/dist/ai-mention/__tests__/ai-mention.test.d.ts +0 -1
- package/dist/ai-mention/src/ai-mention.d.vue.ts +0 -68
- package/dist/ai-prompts/__tests__/ai-prompts.ssr.test.d.ts +0 -1
- package/dist/ai-prompts/__tests__/ai-prompts.test.d.ts +0 -1
- package/dist/ai-prompts/src/ai-prompts.d.vue.ts +0 -44
- package/dist/ai-provider/__tests__/ai-provider.ssr.test.d.ts +0 -1
- package/dist/ai-provider/__tests__/ai-provider.test.d.ts +0 -1
- package/dist/ai-provider/src/ai-provider.d.vue.ts +0 -48
- package/dist/ai-sender/__tests__/ai-sender.ssr.test.d.ts +0 -1
- package/dist/ai-sender/__tests__/ai-sender.test.d.ts +0 -1
- package/dist/ai-sender/src/ai-sender.d.vue.ts +0 -74
- package/dist/ai-sources/__tests__/ai-sources.ssr.test.d.ts +0 -1
- package/dist/ai-sources/__tests__/ai-sources.test.d.ts +0 -1
- package/dist/ai-sources/src/ai-sources.d.vue.ts +0 -45
- package/dist/ai-thinking/__tests__/ai-thinking.ssr.test.d.ts +0 -1
- package/dist/ai-thinking/__tests__/ai-thinking.test.d.ts +0 -1
- package/dist/ai-thinking/src/ai-thinking.d.vue.ts +0 -33
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.ssr.test.d.ts +0 -1
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.test.d.ts +0 -1
- package/dist/ai-thought-chain/src/ai-thought-chain.d.vue.ts +0 -83
- package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.ssr.test.d.ts +0 -1
- package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.test.d.ts +0 -1
- package/dist/ai-voice-trigger/src/ai-voice-trigger.d.vue.ts +0 -49
- package/dist/ai-welcome/__tests__/ai-welcome.ssr.test.d.ts +0 -1
- package/dist/ai-welcome/__tests__/ai-welcome.test.d.ts +0 -1
- package/dist/ai-welcome/src/ai-welcome.d.vue.ts +0 -51
- package/dist/alert/__tests__/alert.ssr.test.d.ts +0 -1
- package/dist/alert/__tests__/alert.test.d.ts +0 -1
- package/dist/alert/src/alert.d.vue.ts +0 -106
- package/dist/autocomplete/__tests__/autocomplete.ssr.test.d.ts +0 -1
- package/dist/autocomplete/__tests__/autocomplete.test.d.ts +0 -1
- package/dist/autocomplete/src/autocomplete.d.vue.ts +0 -63
- package/dist/avatar/__tests__/avatar.ssr.test.d.ts +0 -1
- package/dist/avatar/__tests__/avatar.test.d.ts +0 -1
- package/dist/avatar/src/avatar.d.vue.ts +0 -21
- package/dist/back-top/__tests__/back-top.ssr.test.d.ts +0 -1
- package/dist/back-top/__tests__/back-top.test.d.ts +0 -1
- package/dist/back-top/src/back-top.d.vue.ts +0 -54
- package/dist/badge/__tests__/badge.ssr.test.d.ts +0 -1
- package/dist/badge/__tests__/badge.test.d.ts +0 -1
- package/dist/badge/src/badge.d.vue.ts +0 -22
- package/dist/breadcrumb/__tests__/breadcrumb.ssr.test.d.ts +0 -1
- package/dist/breadcrumb/__tests__/breadcrumb.test.d.ts +0 -1
- package/dist/breadcrumb/src/breadcrumb-item.d.vue.ts +0 -42
- package/dist/breadcrumb/src/breadcrumb.d.vue.ts +0 -41
- package/dist/button/__tests__/button.ssr.test.d.ts +0 -1
- package/dist/button/__tests__/button.test.d.ts +0 -1
- package/dist/button/src/button.d.vue.ts +0 -44
- package/dist/calendar/__tests__/calendar.ssr.test.d.ts +0 -1
- package/dist/calendar/__tests__/calendar.test.d.ts +0 -1
- package/dist/calendar/src/calendar.d.vue.ts +0 -551
- package/dist/card/__tests__/card.ssr.test.d.ts +0 -1
- package/dist/card/__tests__/card.test.d.ts +0 -1
- package/dist/card/src/card.d.vue.ts +0 -26
- package/dist/cascader/__tests__/cascader-panel.test.d.ts +0 -1
- package/dist/cascader/__tests__/cascader.ssr.test.d.ts +0 -1
- package/dist/cascader/__tests__/cascader.test.d.ts +0 -1
- package/dist/cascader/src/cascader-panel.d.vue.ts +0 -39
- package/dist/cascader/src/cascader.d.vue.ts +0 -63
- package/dist/checkbox/__tests__/checkbox.ssr.test.d.ts +0 -1
- package/dist/checkbox/__tests__/checkbox.test.d.ts +0 -1
- package/dist/checkbox/src/checkbox-group.d.vue.ts +0 -24
- package/dist/checkbox/src/checkbox.d.vue.ts +0 -32
- package/dist/col/__tests__/col.ssr.test.d.ts +0 -1
- package/dist/col/__tests__/col.test.d.ts +0 -1
- package/dist/col/src/col.d.vue.ts +0 -189
- package/dist/color-picker/__tests__/color-picker.ssr.test.d.ts +0 -1
- package/dist/color-picker/__tests__/color-picker.test.d.ts +0 -1
- package/dist/color-picker/src/alpha-slider.d.vue.ts +0 -10
- package/dist/color-picker/src/color-picker.d.vue.ts +0 -55
- package/dist/color-picker/src/hue-slider.d.vue.ts +0 -9
- package/dist/color-picker/src/sv-panel.d.vue.ts +0 -11
- package/dist/config-provider/__tests__/config-provider.ssr.test.d.ts +0 -1
- package/dist/config-provider/__tests__/config-provider.test.d.ts +0 -1
- package/dist/container/__tests__/container.ssr.test.d.ts +0 -1
- package/dist/container/__tests__/container.test.d.ts +0 -1
- package/dist/container/src/aside.d.vue.ts +0 -15
- package/dist/container/src/container.d.vue.ts +0 -13
- package/dist/container/src/footer.d.vue.ts +0 -15
- package/dist/container/src/header.d.vue.ts +0 -15
- package/dist/container/src/main.d.vue.ts +0 -13
- package/dist/countdown/__tests__/countdown.ssr.test.d.ts +0 -1
- package/dist/countdown/__tests__/countdown.test.d.ts +0 -1
- package/dist/countdown/src/countdown.d.vue.ts +0 -146
- package/dist/date-picker/__tests__/date-picker-extended.test.d.ts +0 -1
- package/dist/date-picker/__tests__/date-picker.ssr.test.d.ts +0 -1
- package/dist/date-picker/__tests__/date-picker.test.d.ts +0 -1
- package/dist/date-picker/src/date-picker.d.vue.ts +0 -372
- package/dist/date-picker/src/date-table.d.vue.ts +0 -37
- package/dist/date-picker/src/month-table.d.vue.ts +0 -19
- package/dist/date-picker/src/quarter-table.d.vue.ts +0 -19
- package/dist/date-picker/src/year-table.d.vue.ts +0 -19
- package/dist/descriptions/__tests__/descriptions.ssr.test.d.ts +0 -1
- package/dist/descriptions/__tests__/descriptions.test.d.ts +0 -1
- package/dist/descriptions/src/description-item.d.vue.ts +0 -99
- package/dist/descriptions/src/descriptions.d.vue.ts +0 -106
- package/dist/dialog/__tests__/dialog.functional.test.d.ts +0 -1
- package/dist/dialog/__tests__/dialog.ssr.test.d.ts +0 -1
- package/dist/dialog/__tests__/dialog.test.d.ts +0 -1
- package/dist/dialog/src/dialog.d.vue.ts +0 -217
- package/dist/divider/__tests__/divider.ssr.test.d.ts +0 -1
- package/dist/divider/__tests__/divider.test.d.ts +0 -1
- package/dist/divider/src/divider.d.vue.ts +0 -69
- package/dist/drawer/__tests__/drawer.ssr.test.d.ts +0 -1
- package/dist/drawer/__tests__/drawer.test.d.ts +0 -1
- package/dist/drawer/src/drawer.d.vue.ts +0 -141
- package/dist/dropdown/__tests__/dropdown.ssr.test.d.ts +0 -1
- package/dist/dropdown/__tests__/dropdown.test.d.ts +0 -1
- package/dist/dropdown/src/dropdown-item.d.vue.ts +0 -78
- package/dist/dropdown/src/dropdown-menu.d.vue.ts +0 -24
- package/dist/dropdown/src/dropdown.d.vue.ts +0 -158
- package/dist/empty/__tests__/empty.ssr.test.d.ts +0 -1
- package/dist/empty/__tests__/empty.test.d.ts +0 -1
- package/dist/empty/src/empty.d.vue.ts +0 -19
- package/dist/form/__tests__/form-schema.test.d.ts +0 -1
- package/dist/form/__tests__/form.ssr.test.d.ts +0 -1
- package/dist/form/__tests__/form.test.d.ts +0 -1
- package/dist/form/src/form-item.d.vue.ts +0 -144
- package/dist/form/src/form-schema.d.vue.ts +0 -116
- package/dist/form/src/form.d.vue.ts +0 -158
- package/dist/grid/__tests__/grid.ssr.test.d.ts +0 -1
- package/dist/grid/__tests__/grid.test.d.ts +0 -1
- package/dist/grid/src/grid-item.d.vue.ts +0 -17
- package/dist/grid/src/grid.d.vue.ts +0 -20
- package/dist/icon/__tests__/icon.ssr.test.d.ts +0 -1
- package/dist/icon/__tests__/icon.test.d.ts +0 -1
- package/dist/icon/src/icon.d.vue.ts +0 -87
- package/dist/image/__tests__/image-viewer.test.d.ts +0 -1
- package/dist/image/__tests__/image.ssr.test.d.ts +0 -1
- package/dist/image/__tests__/image.test.d.ts +0 -1
- package/dist/image/src/image-viewer.d.vue.ts +0 -60
- package/dist/image/src/image.d.vue.ts +0 -178
- package/dist/infinite-scroll/__tests__/infinite-scroll.ssr.test.d.ts +0 -1
- package/dist/infinite-scroll/__tests__/infinite-scroll.test.d.ts +0 -1
- package/dist/infinite-scroll/src/infinite-scroll.d.vue.ts +0 -95
- package/dist/input/__tests__/input-utils.test.d.ts +0 -1
- package/dist/input/__tests__/input.ssr.test.d.ts +0 -1
- package/dist/input/__tests__/input.test.d.ts +0 -1
- package/dist/input/src/input.d.vue.ts +0 -76
- package/dist/input-number/__tests__/input-number.hydration.test.d.ts +0 -1
- package/dist/input-number/__tests__/input-number.ssr.test.d.ts +0 -1
- package/dist/input-number/__tests__/input-number.test.d.ts +0 -1
- package/dist/input-number/src/input-number.d.vue.ts +0 -50
- package/dist/input-tag/__tests__/input-tag.ssr.test.d.ts +0 -1
- package/dist/input-tag/__tests__/input-tag.test.d.ts +0 -1
- package/dist/input-tag/src/input-tag.d.vue.ts +0 -71
- package/dist/loading/__tests__/loading.ssr.test.d.ts +0 -1
- package/dist/loading/__tests__/loading.test.d.ts +0 -1
- package/dist/marquee/__tests__/marquee.ssr.test.d.ts +0 -1
- package/dist/marquee/__tests__/marquee.test.d.ts +0 -1
- package/dist/marquee/src/marquee.d.vue.ts +0 -109
- package/dist/mention/__tests__/mention.ssr.test.d.ts +0 -1
- package/dist/mention/__tests__/mention.test.d.ts +0 -1
- package/dist/mention/src/mention.d.vue.ts +0 -84
- package/dist/menu/__tests__/menu.ssr.test.d.ts +0 -1
- package/dist/menu/__tests__/menu.test.d.ts +0 -1
- package/dist/menu/src/menu-item.d.vue.ts +0 -52
- package/dist/menu/src/menu-recursive-item.d.vue.ts +0 -6
- package/dist/menu/src/menu.d.vue.ts +0 -209
- package/dist/menu/src/sub-menu.d.vue.ts +0 -87
- package/dist/message/__tests__/message.ssr.test.d.ts +0 -1
- package/dist/message/__tests__/message.test.d.ts +0 -1
- package/dist/message/src/message.d.vue.ts +0 -32
- package/dist/message-box/__tests__/message-box.ssr.test.d.ts +0 -1
- package/dist/message-box/__tests__/message-box.test.d.ts +0 -1
- package/dist/message-box/src/message-box.d.vue.ts +0 -17
- package/dist/notification/__tests__/notification.ssr.test.d.ts +0 -1
- package/dist/notification/__tests__/notification.test.d.ts +0 -1
- package/dist/notification/src/notification.d.vue.ts +0 -30
- package/dist/pagination/__tests__/pagination.ssr.test.d.ts +0 -1
- package/dist/pagination/__tests__/pagination.test.d.ts +0 -1
- package/dist/pagination/src/pagination.d.vue.ts +0 -149
- package/dist/popconfirm/__tests__/popconfirm.ssr.test.d.ts +0 -1
- package/dist/popconfirm/__tests__/popconfirm.test.d.ts +0 -1
- package/dist/popconfirm/src/popconfirm.d.vue.ts +0 -148
- package/dist/popover/__tests__/popover.ssr.test.d.ts +0 -1
- package/dist/popover/__tests__/popover.test.d.ts +0 -1
- package/dist/popover/src/popover.d.vue.ts +0 -140
- package/dist/progress/__tests__/progress.ssr.test.d.ts +0 -1
- package/dist/progress/__tests__/progress.test.d.ts +0 -1
- package/dist/progress/src/progress.d.vue.ts +0 -199
- package/dist/radio/__tests__/radio-button.test.d.ts +0 -1
- package/dist/radio/__tests__/radio.ssr.test.d.ts +0 -1
- package/dist/radio/__tests__/radio.test.d.ts +0 -1
- package/dist/radio/src/radio-button.d.vue.ts +0 -25
- package/dist/radio/src/radio-group.d.vue.ts +0 -23
- package/dist/radio/src/radio.d.vue.ts +0 -26
- package/dist/rate/__tests__/rate.ssr.test.d.ts +0 -1
- package/dist/rate/__tests__/rate.test.d.ts +0 -1
- package/dist/rate/src/rate.d.vue.ts +0 -109
- package/dist/result/__tests__/result.ssr.test.d.ts +0 -1
- package/dist/result/__tests__/result.test.d.ts +0 -1
- package/dist/result/src/result.d.vue.ts +0 -23
- package/dist/row/__tests__/row.ssr.test.d.ts +0 -1
- package/dist/row/__tests__/row.test.d.ts +0 -1
- package/dist/row/__tests__/row_ts.test.d.ts +0 -1
- package/dist/row/src/row.d.vue.ts +0 -60
- package/dist/select/__tests__/select.perf.test.d.ts +0 -1
- package/dist/select/__tests__/select.ssr.test.d.ts +0 -1
- package/dist/select/__tests__/select.test.d.ts +0 -1
- package/dist/select/src/option.d.vue.ts +0 -15
- package/dist/select/src/select.d.vue.ts +0 -68
- package/dist/skeleton/__tests__/skeleton.ssr.test.d.ts +0 -1
- package/dist/skeleton/__tests__/skeleton.test.d.ts +0 -1
- package/dist/skeleton/src/skeleton-item.d.vue.ts +0 -83
- package/dist/skeleton/src/skeleton.d.vue.ts +0 -89
- package/dist/slider/__tests__/repro.test.d.ts +0 -1
- package/dist/slider/__tests__/slider.ssr.test.d.ts +0 -1
- package/dist/slider/__tests__/slider.test.d.ts +0 -1
- package/dist/slider/src/slider-button.d.vue.ts +0 -43
- package/dist/slider/src/slider.d.vue.ts +0 -160
- package/dist/space/__tests__/space.ssr.test.d.ts +0 -1
- package/dist/space/__tests__/space.test.d.ts +0 -1
- package/dist/space/src/space.d.vue.ts +0 -22
- package/dist/spin/__tests__/spin.ssr.test.d.ts +0 -1
- package/dist/spin/__tests__/spin.test.d.ts +0 -1
- package/dist/spin/src/spin.d.vue.ts +0 -67
- package/dist/steps/__tests__/steps.ssr.test.d.ts +0 -1
- package/dist/steps/__tests__/steps.test.d.ts +0 -1
- package/dist/steps/src/step.d.vue.ts +0 -105
- package/dist/steps/src/steps.d.vue.ts +0 -94
- package/dist/switch/__tests__/switch.ssr.test.d.ts +0 -1
- package/dist/switch/__tests__/switch.test.d.ts +0 -1
- package/dist/switch/src/switch.d.vue.ts +0 -133
- package/dist/table/__tests__/table-advance.test.d.ts +0 -1
- package/dist/table/__tests__/table-interaction.test.d.ts +0 -1
- package/dist/table/__tests__/table-utils.test.d.ts +0 -1
- package/dist/table/__tests__/table.perf.test.d.ts +0 -1
- package/dist/table/__tests__/table.ssr.test.d.ts +0 -5
- package/dist/table/__tests__/table.test.d.ts +0 -1
- package/dist/table/__tests__/use-column-drag.test.d.ts +0 -1
- package/dist/table/__tests__/use-table-export.test.d.ts +0 -1
- package/dist/table/__tests__/use-table-import.test.d.ts +0 -1
- package/dist/table/__tests__/use-table-print.test.d.ts +0 -1
- package/dist/table/__tests__/use-virtual-scroll.test.d.ts +0 -1
- package/dist/table/src/table-column.d.vue.ts +0 -81
- package/dist/table/src/table.d.vue.ts +0 -493
- package/dist/tabs/__tests__/tabs.ssr.test.d.ts +0 -1
- package/dist/tabs/__tests__/tabs.test.d.ts +0 -1
- package/dist/tabs/src/tab-pane.d.vue.ts +0 -77
- package/dist/tabs/src/tabs.d.vue.ts +0 -110
- package/dist/tag/__tests__/tag.ssr.test.d.ts +0 -1
- package/dist/tag/__tests__/tag.test.d.ts +0 -1
- package/dist/tag/src/tag.d.vue.ts +0 -42
- package/dist/time-picker/__tests__/time-picker.ssr.test.d.ts +0 -1
- package/dist/time-picker/__tests__/time-picker.test.d.ts +0 -1
- package/dist/time-picker/__tests__/time-spinner.test.d.ts +0 -1
- package/dist/time-picker/src/time-picker.d.vue.ts +0 -67
- package/dist/time-picker/src/time-spinner.d.vue.ts +0 -46
- package/dist/time-select/__tests__/time-select.ssr.test.d.ts +0 -1
- package/dist/time-select/__tests__/time-select.test.d.ts +0 -5
- package/dist/time-select/src/time-select.d.vue.ts +0 -51
- package/dist/tooltip/__tests__/tooltip.ssr.test.d.ts +0 -1
- package/dist/tooltip/__tests__/tooltip.test.d.ts +0 -1
- package/dist/tooltip/src/tooltip.d.vue.ts +0 -167
- package/dist/transfer/__tests__/transfer.ssr.test.d.ts +0 -1
- package/dist/transfer/__tests__/transfer.test.d.ts +0 -5
- package/dist/transfer/src/transfer-panel.d.vue.ts +0 -45
- package/dist/transfer/src/transfer.d.vue.ts +0 -68
- package/dist/tree/__tests__/tree.perf.test.d.ts +0 -1
- package/dist/tree/__tests__/tree.ssr.test.d.ts +0 -1
- package/dist/tree/__tests__/tree.test.d.ts +0 -1
- package/dist/tree/src/tree-node.d.vue.ts +0 -18
- package/dist/tree/src/tree.d.vue.ts +0 -228
- package/dist/tree-select/__tests__/tree-select.ssr.test.d.ts +0 -1
- package/dist/tree-select/__tests__/tree-select.test.d.ts +0 -1
- package/dist/tree-select/src/tree-select.d.vue.ts +0 -141
- package/dist/typography/__tests__/typography.ssr.test.d.ts +0 -1
- package/dist/typography/__tests__/typography.test.d.ts +0 -1
- package/dist/typography/src/link.d.vue.ts +0 -21
- package/dist/typography/src/paragraph.d.vue.ts +0 -22
- package/dist/typography/src/text.d.vue.ts +0 -29
- package/dist/typography/src/title.d.vue.ts +0 -26
- package/dist/upload/__tests__/upload.ssr.test.d.ts +0 -1
- package/dist/upload/__tests__/upload.test.d.ts +0 -1
- package/dist/upload/src/upload.d.vue.ts +0 -133
- package/dist/waterfall/__tests__/waterfall.ssr.test.d.ts +0 -1
- package/dist/waterfall/__tests__/waterfall.test.d.ts +0 -1
- package/dist/waterfall/src/waterfall.d.vue.ts +0 -56
- package/dist/watermark/__tests__/watermark.ssr.test.d.ts +0 -1
- package/dist/watermark/__tests__/watermark.test.d.ts +0 -1
- package/dist/watermark/src/watermark.d.vue.ts +0 -167
package/dist/dialog/index.d.ts
CHANGED
|
@@ -1,6 +1,669 @@
|
|
|
1
1
|
import Dialog from './src/dialog.vue';
|
|
2
|
-
export declare const YhDialog:
|
|
3
|
-
|
|
2
|
+
export declare const YhDialog: import("@yh-ui/utils").SFCWithInstall<{
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
readonly modelValue: {
|
|
5
|
+
readonly type: BooleanConstructor;
|
|
6
|
+
readonly default: false;
|
|
7
|
+
};
|
|
8
|
+
readonly title: {
|
|
9
|
+
readonly type: import("vue").PropType<import("./index.js").RenderContent>;
|
|
10
|
+
};
|
|
11
|
+
readonly showIcon: {
|
|
12
|
+
readonly type: BooleanConstructor;
|
|
13
|
+
readonly default: true;
|
|
14
|
+
};
|
|
15
|
+
readonly style: {
|
|
16
|
+
readonly type: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
17
|
+
};
|
|
18
|
+
readonly titleClass: StringConstructor;
|
|
19
|
+
readonly titleStyle: import("vue").PropType<import("vue").CSSProperties | string>;
|
|
20
|
+
readonly transformOrigin: {
|
|
21
|
+
readonly type: import("vue").PropType<"mouse" | "center">;
|
|
22
|
+
readonly default: "mouse";
|
|
23
|
+
};
|
|
24
|
+
readonly type: {
|
|
25
|
+
readonly type: import("vue").PropType<"error" | "success" | "warning" | "info" | "default">;
|
|
26
|
+
readonly default: "default";
|
|
27
|
+
};
|
|
28
|
+
readonly loading: {
|
|
29
|
+
readonly type: BooleanConstructor;
|
|
30
|
+
readonly default: false;
|
|
31
|
+
};
|
|
32
|
+
readonly content: {
|
|
33
|
+
readonly type: import("vue").PropType<import("./index.js").RenderContent>;
|
|
34
|
+
};
|
|
35
|
+
readonly contentClass: StringConstructor;
|
|
36
|
+
readonly contentStyle: import("vue").PropType<import("vue").CSSProperties | string>;
|
|
37
|
+
readonly action: {
|
|
38
|
+
readonly type: import("vue").PropType<() => import("vue").VNode | import("vue").Component>;
|
|
39
|
+
};
|
|
40
|
+
readonly actionClass: StringConstructor;
|
|
41
|
+
readonly actionStyle: import("vue").PropType<import("vue").CSSProperties | string>;
|
|
42
|
+
readonly autoFocus: {
|
|
43
|
+
readonly type: BooleanConstructor;
|
|
44
|
+
readonly default: true;
|
|
45
|
+
};
|
|
46
|
+
readonly width: {
|
|
47
|
+
readonly type: import("vue").PropType<string | number>;
|
|
48
|
+
readonly default: "50%";
|
|
49
|
+
};
|
|
50
|
+
readonly top: {
|
|
51
|
+
readonly type: StringConstructor;
|
|
52
|
+
readonly default: "15vh";
|
|
53
|
+
};
|
|
54
|
+
readonly fullscreen: {
|
|
55
|
+
readonly type: BooleanConstructor;
|
|
56
|
+
readonly default: false;
|
|
57
|
+
};
|
|
58
|
+
readonly alignCenter: {
|
|
59
|
+
readonly type: BooleanConstructor;
|
|
60
|
+
readonly default: false;
|
|
61
|
+
};
|
|
62
|
+
readonly center: {
|
|
63
|
+
readonly type: BooleanConstructor;
|
|
64
|
+
readonly default: false;
|
|
65
|
+
};
|
|
66
|
+
readonly glass: {
|
|
67
|
+
readonly type: BooleanConstructor;
|
|
68
|
+
readonly default: false;
|
|
69
|
+
};
|
|
70
|
+
readonly draggable: {
|
|
71
|
+
readonly type: BooleanConstructor;
|
|
72
|
+
readonly default: false;
|
|
73
|
+
};
|
|
74
|
+
readonly lockScroll: {
|
|
75
|
+
readonly type: BooleanConstructor;
|
|
76
|
+
readonly default: true;
|
|
77
|
+
};
|
|
78
|
+
readonly modal: {
|
|
79
|
+
readonly type: BooleanConstructor;
|
|
80
|
+
readonly default: true;
|
|
81
|
+
};
|
|
82
|
+
readonly closeOnClickModal: {
|
|
83
|
+
readonly type: BooleanConstructor;
|
|
84
|
+
readonly default: true;
|
|
85
|
+
};
|
|
86
|
+
readonly closeOnPressEscape: {
|
|
87
|
+
readonly type: BooleanConstructor;
|
|
88
|
+
readonly default: true;
|
|
89
|
+
};
|
|
90
|
+
readonly showClose: {
|
|
91
|
+
readonly type: BooleanConstructor;
|
|
92
|
+
readonly default: true;
|
|
93
|
+
};
|
|
94
|
+
readonly closeIcon: {
|
|
95
|
+
readonly type: StringConstructor;
|
|
96
|
+
readonly default: "close";
|
|
97
|
+
};
|
|
98
|
+
readonly destroyOnClose: {
|
|
99
|
+
readonly type: BooleanConstructor;
|
|
100
|
+
readonly default: false;
|
|
101
|
+
};
|
|
102
|
+
readonly overflow: {
|
|
103
|
+
readonly type: BooleanConstructor;
|
|
104
|
+
readonly default: false;
|
|
105
|
+
};
|
|
106
|
+
readonly showFooter: {
|
|
107
|
+
readonly type: BooleanConstructor;
|
|
108
|
+
readonly default: true;
|
|
109
|
+
};
|
|
110
|
+
readonly cancelText: {
|
|
111
|
+
readonly type: StringConstructor;
|
|
112
|
+
readonly default: "";
|
|
113
|
+
};
|
|
114
|
+
readonly confirmText: {
|
|
115
|
+
readonly type: StringConstructor;
|
|
116
|
+
readonly default: "";
|
|
117
|
+
};
|
|
118
|
+
readonly modalClass: StringConstructor;
|
|
119
|
+
readonly customClass: StringConstructor;
|
|
120
|
+
readonly zIndex: {
|
|
121
|
+
readonly type: NumberConstructor;
|
|
122
|
+
readonly default: 2000;
|
|
123
|
+
};
|
|
124
|
+
readonly beforeClose: {
|
|
125
|
+
readonly type: import("vue").PropType<(done: () => void) => void>;
|
|
126
|
+
};
|
|
127
|
+
readonly teleportTo: {
|
|
128
|
+
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
129
|
+
readonly default: "body";
|
|
130
|
+
};
|
|
131
|
+
readonly headerAlignCenter: {
|
|
132
|
+
readonly type: BooleanConstructor;
|
|
133
|
+
readonly default: false;
|
|
134
|
+
};
|
|
135
|
+
readonly headerAlign: {
|
|
136
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
137
|
+
readonly default: "left";
|
|
138
|
+
};
|
|
139
|
+
readonly contentAlign: {
|
|
140
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
141
|
+
readonly default: "left";
|
|
142
|
+
};
|
|
143
|
+
readonly footerAlignCenter: {
|
|
144
|
+
readonly type: BooleanConstructor;
|
|
145
|
+
readonly default: false;
|
|
146
|
+
};
|
|
147
|
+
readonly footerAlign: {
|
|
148
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
149
|
+
readonly default: "right";
|
|
150
|
+
};
|
|
151
|
+
readonly swapFooterButtons: {
|
|
152
|
+
readonly type: BooleanConstructor;
|
|
153
|
+
readonly default: false;
|
|
154
|
+
};
|
|
155
|
+
readonly themeOverrides: {
|
|
156
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
157
|
+
readonly default: undefined;
|
|
158
|
+
};
|
|
159
|
+
}>> & Readonly<{
|
|
160
|
+
onConfirm?: (() => any) | undefined;
|
|
161
|
+
onCancel?: (() => any) | undefined;
|
|
162
|
+
onClose?: (() => any) | undefined;
|
|
163
|
+
onClosed?: (() => any) | undefined;
|
|
164
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
165
|
+
onOpen?: (() => any) | undefined;
|
|
166
|
+
onOpened?: (() => any) | undefined;
|
|
167
|
+
onDragStart?: ((evt: MouseEvent) => any) | undefined;
|
|
168
|
+
onDragMove?: ((evt: MouseEvent) => any) | undefined;
|
|
169
|
+
onDragEnd?: ((evt: MouseEvent) => any) | undefined;
|
|
170
|
+
}>, {
|
|
171
|
+
visible: import("vue").Ref<boolean, boolean>;
|
|
172
|
+
dialogRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
173
|
+
handleClose: () => void;
|
|
174
|
+
handleCancel: () => void;
|
|
175
|
+
handleConfirm: () => void;
|
|
176
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
177
|
+
confirm: () => void;
|
|
178
|
+
cancel: () => void;
|
|
179
|
+
close: () => void;
|
|
180
|
+
closed: () => void;
|
|
181
|
+
"update:modelValue": (value: boolean) => void;
|
|
182
|
+
open: () => void;
|
|
183
|
+
opened: () => void;
|
|
184
|
+
dragStart: (evt: MouseEvent) => void;
|
|
185
|
+
dragMove: (evt: MouseEvent) => void;
|
|
186
|
+
dragEnd: (evt: MouseEvent) => void;
|
|
187
|
+
}, import("vue").PublicProps, {
|
|
188
|
+
readonly overflow: boolean;
|
|
189
|
+
readonly loading: boolean;
|
|
190
|
+
readonly fullscreen: boolean;
|
|
191
|
+
readonly type: "default" | "error" | "success" | "warning" | "info";
|
|
192
|
+
readonly center: boolean;
|
|
193
|
+
readonly top: string;
|
|
194
|
+
readonly modal: boolean;
|
|
195
|
+
readonly width: string | number;
|
|
196
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
197
|
+
readonly modelValue: boolean;
|
|
198
|
+
readonly transformOrigin: "center" | "mouse";
|
|
199
|
+
readonly zIndex: number;
|
|
200
|
+
readonly draggable: boolean;
|
|
201
|
+
readonly confirmText: string;
|
|
202
|
+
readonly cancelText: string;
|
|
203
|
+
readonly showFooter: boolean;
|
|
204
|
+
readonly glass: boolean;
|
|
205
|
+
readonly closeIcon: string;
|
|
206
|
+
readonly showIcon: boolean;
|
|
207
|
+
readonly autoFocus: boolean;
|
|
208
|
+
readonly alignCenter: boolean;
|
|
209
|
+
readonly lockScroll: boolean;
|
|
210
|
+
readonly closeOnClickModal: boolean;
|
|
211
|
+
readonly closeOnPressEscape: boolean;
|
|
212
|
+
readonly showClose: boolean;
|
|
213
|
+
readonly destroyOnClose: boolean;
|
|
214
|
+
readonly teleportTo: string | HTMLElement;
|
|
215
|
+
readonly headerAlignCenter: boolean;
|
|
216
|
+
readonly headerAlign: "center" | "left" | "right";
|
|
217
|
+
readonly contentAlign: "center" | "left" | "right";
|
|
218
|
+
readonly footerAlignCenter: boolean;
|
|
219
|
+
readonly footerAlign: "center" | "left" | "right";
|
|
220
|
+
readonly swapFooterButtons: boolean;
|
|
221
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
222
|
+
P: {};
|
|
223
|
+
B: {};
|
|
224
|
+
D: {};
|
|
225
|
+
C: {};
|
|
226
|
+
M: {};
|
|
227
|
+
Defaults: {};
|
|
228
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
229
|
+
readonly modelValue: {
|
|
230
|
+
readonly type: BooleanConstructor;
|
|
231
|
+
readonly default: false;
|
|
232
|
+
};
|
|
233
|
+
readonly title: {
|
|
234
|
+
readonly type: import("vue").PropType<import("./index.js").RenderContent>;
|
|
235
|
+
};
|
|
236
|
+
readonly showIcon: {
|
|
237
|
+
readonly type: BooleanConstructor;
|
|
238
|
+
readonly default: true;
|
|
239
|
+
};
|
|
240
|
+
readonly style: {
|
|
241
|
+
readonly type: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
242
|
+
};
|
|
243
|
+
readonly titleClass: StringConstructor;
|
|
244
|
+
readonly titleStyle: import("vue").PropType<import("vue").CSSProperties | string>;
|
|
245
|
+
readonly transformOrigin: {
|
|
246
|
+
readonly type: import("vue").PropType<"mouse" | "center">;
|
|
247
|
+
readonly default: "mouse";
|
|
248
|
+
};
|
|
249
|
+
readonly type: {
|
|
250
|
+
readonly type: import("vue").PropType<"error" | "success" | "warning" | "info" | "default">;
|
|
251
|
+
readonly default: "default";
|
|
252
|
+
};
|
|
253
|
+
readonly loading: {
|
|
254
|
+
readonly type: BooleanConstructor;
|
|
255
|
+
readonly default: false;
|
|
256
|
+
};
|
|
257
|
+
readonly content: {
|
|
258
|
+
readonly type: import("vue").PropType<import("./index.js").RenderContent>;
|
|
259
|
+
};
|
|
260
|
+
readonly contentClass: StringConstructor;
|
|
261
|
+
readonly contentStyle: import("vue").PropType<import("vue").CSSProperties | string>;
|
|
262
|
+
readonly action: {
|
|
263
|
+
readonly type: import("vue").PropType<() => import("vue").VNode | import("vue").Component>;
|
|
264
|
+
};
|
|
265
|
+
readonly actionClass: StringConstructor;
|
|
266
|
+
readonly actionStyle: import("vue").PropType<import("vue").CSSProperties | string>;
|
|
267
|
+
readonly autoFocus: {
|
|
268
|
+
readonly type: BooleanConstructor;
|
|
269
|
+
readonly default: true;
|
|
270
|
+
};
|
|
271
|
+
readonly width: {
|
|
272
|
+
readonly type: import("vue").PropType<string | number>;
|
|
273
|
+
readonly default: "50%";
|
|
274
|
+
};
|
|
275
|
+
readonly top: {
|
|
276
|
+
readonly type: StringConstructor;
|
|
277
|
+
readonly default: "15vh";
|
|
278
|
+
};
|
|
279
|
+
readonly fullscreen: {
|
|
280
|
+
readonly type: BooleanConstructor;
|
|
281
|
+
readonly default: false;
|
|
282
|
+
};
|
|
283
|
+
readonly alignCenter: {
|
|
284
|
+
readonly type: BooleanConstructor;
|
|
285
|
+
readonly default: false;
|
|
286
|
+
};
|
|
287
|
+
readonly center: {
|
|
288
|
+
readonly type: BooleanConstructor;
|
|
289
|
+
readonly default: false;
|
|
290
|
+
};
|
|
291
|
+
readonly glass: {
|
|
292
|
+
readonly type: BooleanConstructor;
|
|
293
|
+
readonly default: false;
|
|
294
|
+
};
|
|
295
|
+
readonly draggable: {
|
|
296
|
+
readonly type: BooleanConstructor;
|
|
297
|
+
readonly default: false;
|
|
298
|
+
};
|
|
299
|
+
readonly lockScroll: {
|
|
300
|
+
readonly type: BooleanConstructor;
|
|
301
|
+
readonly default: true;
|
|
302
|
+
};
|
|
303
|
+
readonly modal: {
|
|
304
|
+
readonly type: BooleanConstructor;
|
|
305
|
+
readonly default: true;
|
|
306
|
+
};
|
|
307
|
+
readonly closeOnClickModal: {
|
|
308
|
+
readonly type: BooleanConstructor;
|
|
309
|
+
readonly default: true;
|
|
310
|
+
};
|
|
311
|
+
readonly closeOnPressEscape: {
|
|
312
|
+
readonly type: BooleanConstructor;
|
|
313
|
+
readonly default: true;
|
|
314
|
+
};
|
|
315
|
+
readonly showClose: {
|
|
316
|
+
readonly type: BooleanConstructor;
|
|
317
|
+
readonly default: true;
|
|
318
|
+
};
|
|
319
|
+
readonly closeIcon: {
|
|
320
|
+
readonly type: StringConstructor;
|
|
321
|
+
readonly default: "close";
|
|
322
|
+
};
|
|
323
|
+
readonly destroyOnClose: {
|
|
324
|
+
readonly type: BooleanConstructor;
|
|
325
|
+
readonly default: false;
|
|
326
|
+
};
|
|
327
|
+
readonly overflow: {
|
|
328
|
+
readonly type: BooleanConstructor;
|
|
329
|
+
readonly default: false;
|
|
330
|
+
};
|
|
331
|
+
readonly showFooter: {
|
|
332
|
+
readonly type: BooleanConstructor;
|
|
333
|
+
readonly default: true;
|
|
334
|
+
};
|
|
335
|
+
readonly cancelText: {
|
|
336
|
+
readonly type: StringConstructor;
|
|
337
|
+
readonly default: "";
|
|
338
|
+
};
|
|
339
|
+
readonly confirmText: {
|
|
340
|
+
readonly type: StringConstructor;
|
|
341
|
+
readonly default: "";
|
|
342
|
+
};
|
|
343
|
+
readonly modalClass: StringConstructor;
|
|
344
|
+
readonly customClass: StringConstructor;
|
|
345
|
+
readonly zIndex: {
|
|
346
|
+
readonly type: NumberConstructor;
|
|
347
|
+
readonly default: 2000;
|
|
348
|
+
};
|
|
349
|
+
readonly beforeClose: {
|
|
350
|
+
readonly type: import("vue").PropType<(done: () => void) => void>;
|
|
351
|
+
};
|
|
352
|
+
readonly teleportTo: {
|
|
353
|
+
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
354
|
+
readonly default: "body";
|
|
355
|
+
};
|
|
356
|
+
readonly headerAlignCenter: {
|
|
357
|
+
readonly type: BooleanConstructor;
|
|
358
|
+
readonly default: false;
|
|
359
|
+
};
|
|
360
|
+
readonly headerAlign: {
|
|
361
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
362
|
+
readonly default: "left";
|
|
363
|
+
};
|
|
364
|
+
readonly contentAlign: {
|
|
365
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
366
|
+
readonly default: "left";
|
|
367
|
+
};
|
|
368
|
+
readonly footerAlignCenter: {
|
|
369
|
+
readonly type: BooleanConstructor;
|
|
370
|
+
readonly default: false;
|
|
371
|
+
};
|
|
372
|
+
readonly footerAlign: {
|
|
373
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
374
|
+
readonly default: "right";
|
|
375
|
+
};
|
|
376
|
+
readonly swapFooterButtons: {
|
|
377
|
+
readonly type: BooleanConstructor;
|
|
378
|
+
readonly default: false;
|
|
379
|
+
};
|
|
380
|
+
readonly themeOverrides: {
|
|
381
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
382
|
+
readonly default: undefined;
|
|
383
|
+
};
|
|
384
|
+
}>> & Readonly<{
|
|
385
|
+
onConfirm?: (() => any) | undefined;
|
|
386
|
+
onCancel?: (() => any) | undefined;
|
|
387
|
+
onClose?: (() => any) | undefined;
|
|
388
|
+
onClosed?: (() => any) | undefined;
|
|
389
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
390
|
+
onOpen?: (() => any) | undefined;
|
|
391
|
+
onOpened?: (() => any) | undefined;
|
|
392
|
+
onDragStart?: ((evt: MouseEvent) => any) | undefined;
|
|
393
|
+
onDragMove?: ((evt: MouseEvent) => any) | undefined;
|
|
394
|
+
onDragEnd?: ((evt: MouseEvent) => any) | undefined;
|
|
395
|
+
}>, {
|
|
396
|
+
visible: import("vue").Ref<boolean, boolean>;
|
|
397
|
+
dialogRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
398
|
+
handleClose: () => void;
|
|
399
|
+
handleCancel: () => void;
|
|
400
|
+
handleConfirm: () => void;
|
|
401
|
+
}, {}, {}, {}, {
|
|
402
|
+
readonly overflow: boolean;
|
|
403
|
+
readonly loading: boolean;
|
|
404
|
+
readonly fullscreen: boolean;
|
|
405
|
+
readonly type: "default" | "error" | "success" | "warning" | "info";
|
|
406
|
+
readonly center: boolean;
|
|
407
|
+
readonly top: string;
|
|
408
|
+
readonly modal: boolean;
|
|
409
|
+
readonly width: string | number;
|
|
410
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
411
|
+
readonly modelValue: boolean;
|
|
412
|
+
readonly transformOrigin: "center" | "mouse";
|
|
413
|
+
readonly zIndex: number;
|
|
414
|
+
readonly draggable: boolean;
|
|
415
|
+
readonly confirmText: string;
|
|
416
|
+
readonly cancelText: string;
|
|
417
|
+
readonly showFooter: boolean;
|
|
418
|
+
readonly glass: boolean;
|
|
419
|
+
readonly closeIcon: string;
|
|
420
|
+
readonly showIcon: boolean;
|
|
421
|
+
readonly autoFocus: boolean;
|
|
422
|
+
readonly alignCenter: boolean;
|
|
423
|
+
readonly lockScroll: boolean;
|
|
424
|
+
readonly closeOnClickModal: boolean;
|
|
425
|
+
readonly closeOnPressEscape: boolean;
|
|
426
|
+
readonly showClose: boolean;
|
|
427
|
+
readonly destroyOnClose: boolean;
|
|
428
|
+
readonly teleportTo: string | HTMLElement;
|
|
429
|
+
readonly headerAlignCenter: boolean;
|
|
430
|
+
readonly headerAlign: "center" | "left" | "right";
|
|
431
|
+
readonly contentAlign: "center" | "left" | "right";
|
|
432
|
+
readonly footerAlignCenter: boolean;
|
|
433
|
+
readonly footerAlign: "center" | "left" | "right";
|
|
434
|
+
readonly swapFooterButtons: boolean;
|
|
435
|
+
}>;
|
|
436
|
+
__isFragment?: never;
|
|
437
|
+
__isTeleport?: never;
|
|
438
|
+
__isSuspense?: never;
|
|
439
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
440
|
+
readonly modelValue: {
|
|
441
|
+
readonly type: BooleanConstructor;
|
|
442
|
+
readonly default: false;
|
|
443
|
+
};
|
|
444
|
+
readonly title: {
|
|
445
|
+
readonly type: import("vue").PropType<import("./index.js").RenderContent>;
|
|
446
|
+
};
|
|
447
|
+
readonly showIcon: {
|
|
448
|
+
readonly type: BooleanConstructor;
|
|
449
|
+
readonly default: true;
|
|
450
|
+
};
|
|
451
|
+
readonly style: {
|
|
452
|
+
readonly type: import("vue").PropType<string | import("vue").CSSProperties>;
|
|
453
|
+
};
|
|
454
|
+
readonly titleClass: StringConstructor;
|
|
455
|
+
readonly titleStyle: import("vue").PropType<import("vue").CSSProperties | string>;
|
|
456
|
+
readonly transformOrigin: {
|
|
457
|
+
readonly type: import("vue").PropType<"mouse" | "center">;
|
|
458
|
+
readonly default: "mouse";
|
|
459
|
+
};
|
|
460
|
+
readonly type: {
|
|
461
|
+
readonly type: import("vue").PropType<"error" | "success" | "warning" | "info" | "default">;
|
|
462
|
+
readonly default: "default";
|
|
463
|
+
};
|
|
464
|
+
readonly loading: {
|
|
465
|
+
readonly type: BooleanConstructor;
|
|
466
|
+
readonly default: false;
|
|
467
|
+
};
|
|
468
|
+
readonly content: {
|
|
469
|
+
readonly type: import("vue").PropType<import("./index.js").RenderContent>;
|
|
470
|
+
};
|
|
471
|
+
readonly contentClass: StringConstructor;
|
|
472
|
+
readonly contentStyle: import("vue").PropType<import("vue").CSSProperties | string>;
|
|
473
|
+
readonly action: {
|
|
474
|
+
readonly type: import("vue").PropType<() => import("vue").VNode | import("vue").Component>;
|
|
475
|
+
};
|
|
476
|
+
readonly actionClass: StringConstructor;
|
|
477
|
+
readonly actionStyle: import("vue").PropType<import("vue").CSSProperties | string>;
|
|
478
|
+
readonly autoFocus: {
|
|
479
|
+
readonly type: BooleanConstructor;
|
|
480
|
+
readonly default: true;
|
|
481
|
+
};
|
|
482
|
+
readonly width: {
|
|
483
|
+
readonly type: import("vue").PropType<string | number>;
|
|
484
|
+
readonly default: "50%";
|
|
485
|
+
};
|
|
486
|
+
readonly top: {
|
|
487
|
+
readonly type: StringConstructor;
|
|
488
|
+
readonly default: "15vh";
|
|
489
|
+
};
|
|
490
|
+
readonly fullscreen: {
|
|
491
|
+
readonly type: BooleanConstructor;
|
|
492
|
+
readonly default: false;
|
|
493
|
+
};
|
|
494
|
+
readonly alignCenter: {
|
|
495
|
+
readonly type: BooleanConstructor;
|
|
496
|
+
readonly default: false;
|
|
497
|
+
};
|
|
498
|
+
readonly center: {
|
|
499
|
+
readonly type: BooleanConstructor;
|
|
500
|
+
readonly default: false;
|
|
501
|
+
};
|
|
502
|
+
readonly glass: {
|
|
503
|
+
readonly type: BooleanConstructor;
|
|
504
|
+
readonly default: false;
|
|
505
|
+
};
|
|
506
|
+
readonly draggable: {
|
|
507
|
+
readonly type: BooleanConstructor;
|
|
508
|
+
readonly default: false;
|
|
509
|
+
};
|
|
510
|
+
readonly lockScroll: {
|
|
511
|
+
readonly type: BooleanConstructor;
|
|
512
|
+
readonly default: true;
|
|
513
|
+
};
|
|
514
|
+
readonly modal: {
|
|
515
|
+
readonly type: BooleanConstructor;
|
|
516
|
+
readonly default: true;
|
|
517
|
+
};
|
|
518
|
+
readonly closeOnClickModal: {
|
|
519
|
+
readonly type: BooleanConstructor;
|
|
520
|
+
readonly default: true;
|
|
521
|
+
};
|
|
522
|
+
readonly closeOnPressEscape: {
|
|
523
|
+
readonly type: BooleanConstructor;
|
|
524
|
+
readonly default: true;
|
|
525
|
+
};
|
|
526
|
+
readonly showClose: {
|
|
527
|
+
readonly type: BooleanConstructor;
|
|
528
|
+
readonly default: true;
|
|
529
|
+
};
|
|
530
|
+
readonly closeIcon: {
|
|
531
|
+
readonly type: StringConstructor;
|
|
532
|
+
readonly default: "close";
|
|
533
|
+
};
|
|
534
|
+
readonly destroyOnClose: {
|
|
535
|
+
readonly type: BooleanConstructor;
|
|
536
|
+
readonly default: false;
|
|
537
|
+
};
|
|
538
|
+
readonly overflow: {
|
|
539
|
+
readonly type: BooleanConstructor;
|
|
540
|
+
readonly default: false;
|
|
541
|
+
};
|
|
542
|
+
readonly showFooter: {
|
|
543
|
+
readonly type: BooleanConstructor;
|
|
544
|
+
readonly default: true;
|
|
545
|
+
};
|
|
546
|
+
readonly cancelText: {
|
|
547
|
+
readonly type: StringConstructor;
|
|
548
|
+
readonly default: "";
|
|
549
|
+
};
|
|
550
|
+
readonly confirmText: {
|
|
551
|
+
readonly type: StringConstructor;
|
|
552
|
+
readonly default: "";
|
|
553
|
+
};
|
|
554
|
+
readonly modalClass: StringConstructor;
|
|
555
|
+
readonly customClass: StringConstructor;
|
|
556
|
+
readonly zIndex: {
|
|
557
|
+
readonly type: NumberConstructor;
|
|
558
|
+
readonly default: 2000;
|
|
559
|
+
};
|
|
560
|
+
readonly beforeClose: {
|
|
561
|
+
readonly type: import("vue").PropType<(done: () => void) => void>;
|
|
562
|
+
};
|
|
563
|
+
readonly teleportTo: {
|
|
564
|
+
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
565
|
+
readonly default: "body";
|
|
566
|
+
};
|
|
567
|
+
readonly headerAlignCenter: {
|
|
568
|
+
readonly type: BooleanConstructor;
|
|
569
|
+
readonly default: false;
|
|
570
|
+
};
|
|
571
|
+
readonly headerAlign: {
|
|
572
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
573
|
+
readonly default: "left";
|
|
574
|
+
};
|
|
575
|
+
readonly contentAlign: {
|
|
576
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
577
|
+
readonly default: "left";
|
|
578
|
+
};
|
|
579
|
+
readonly footerAlignCenter: {
|
|
580
|
+
readonly type: BooleanConstructor;
|
|
581
|
+
readonly default: false;
|
|
582
|
+
};
|
|
583
|
+
readonly footerAlign: {
|
|
584
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
585
|
+
readonly default: "right";
|
|
586
|
+
};
|
|
587
|
+
readonly swapFooterButtons: {
|
|
588
|
+
readonly type: BooleanConstructor;
|
|
589
|
+
readonly default: false;
|
|
590
|
+
};
|
|
591
|
+
readonly themeOverrides: {
|
|
592
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
593
|
+
readonly default: undefined;
|
|
594
|
+
};
|
|
595
|
+
}>> & Readonly<{
|
|
596
|
+
onConfirm?: (() => any) | undefined;
|
|
597
|
+
onCancel?: (() => any) | undefined;
|
|
598
|
+
onClose?: (() => any) | undefined;
|
|
599
|
+
onClosed?: (() => any) | undefined;
|
|
600
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
601
|
+
onOpen?: (() => any) | undefined;
|
|
602
|
+
onOpened?: (() => any) | undefined;
|
|
603
|
+
onDragStart?: ((evt: MouseEvent) => any) | undefined;
|
|
604
|
+
onDragMove?: ((evt: MouseEvent) => any) | undefined;
|
|
605
|
+
onDragEnd?: ((evt: MouseEvent) => any) | undefined;
|
|
606
|
+
}>, {
|
|
607
|
+
visible: import("vue").Ref<boolean, boolean>;
|
|
608
|
+
dialogRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
609
|
+
handleClose: () => void;
|
|
610
|
+
handleCancel: () => void;
|
|
611
|
+
handleConfirm: () => void;
|
|
612
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
613
|
+
confirm: () => void;
|
|
614
|
+
cancel: () => void;
|
|
615
|
+
close: () => void;
|
|
616
|
+
closed: () => void;
|
|
617
|
+
"update:modelValue": (value: boolean) => void;
|
|
618
|
+
open: () => void;
|
|
619
|
+
opened: () => void;
|
|
620
|
+
dragStart: (evt: MouseEvent) => void;
|
|
621
|
+
dragMove: (evt: MouseEvent) => void;
|
|
622
|
+
dragEnd: (evt: MouseEvent) => void;
|
|
623
|
+
}, string, {
|
|
624
|
+
readonly overflow: boolean;
|
|
625
|
+
readonly loading: boolean;
|
|
626
|
+
readonly fullscreen: boolean;
|
|
627
|
+
readonly type: "default" | "error" | "success" | "warning" | "info";
|
|
628
|
+
readonly center: boolean;
|
|
629
|
+
readonly top: string;
|
|
630
|
+
readonly modal: boolean;
|
|
631
|
+
readonly width: string | number;
|
|
632
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
633
|
+
readonly modelValue: boolean;
|
|
634
|
+
readonly transformOrigin: "center" | "mouse";
|
|
635
|
+
readonly zIndex: number;
|
|
636
|
+
readonly draggable: boolean;
|
|
637
|
+
readonly confirmText: string;
|
|
638
|
+
readonly cancelText: string;
|
|
639
|
+
readonly showFooter: boolean;
|
|
640
|
+
readonly glass: boolean;
|
|
641
|
+
readonly closeIcon: string;
|
|
642
|
+
readonly showIcon: boolean;
|
|
643
|
+
readonly autoFocus: boolean;
|
|
644
|
+
readonly alignCenter: boolean;
|
|
645
|
+
readonly lockScroll: boolean;
|
|
646
|
+
readonly closeOnClickModal: boolean;
|
|
647
|
+
readonly closeOnPressEscape: boolean;
|
|
648
|
+
readonly showClose: boolean;
|
|
649
|
+
readonly destroyOnClose: boolean;
|
|
650
|
+
readonly teleportTo: string | HTMLElement;
|
|
651
|
+
readonly headerAlignCenter: boolean;
|
|
652
|
+
readonly headerAlign: "center" | "left" | "right";
|
|
653
|
+
readonly contentAlign: "center" | "left" | "right";
|
|
654
|
+
readonly footerAlignCenter: boolean;
|
|
655
|
+
readonly footerAlign: "center" | "left" | "right";
|
|
656
|
+
readonly swapFooterButtons: boolean;
|
|
657
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
658
|
+
$slots: {
|
|
659
|
+
header?: (props: {}) => any;
|
|
660
|
+
} & {
|
|
661
|
+
default?: (props: {}) => any;
|
|
662
|
+
} & {
|
|
663
|
+
footer?: (props: {}) => any;
|
|
664
|
+
};
|
|
665
|
+
})> & Record<string, unknown>;
|
|
666
|
+
export declare const YhDialogMethod: import("@yh-ui/utils").SFCWithInstall<import("./index.js").DialogMethod>;
|
|
4
667
|
export default YhDialog;
|
|
5
668
|
export * from './src/dialog';
|
|
6
669
|
export * from './src/use-dialog';
|
|
@@ -261,11 +261,12 @@ useEventListener(
|
|
|
261
261
|
() => window,
|
|
262
262
|
"keydown",
|
|
263
263
|
(e) => {
|
|
264
|
+
const ke = e;
|
|
264
265
|
if (!props.modelValue) return;
|
|
265
|
-
if (props.closeOnPressEscape &&
|
|
266
|
+
if (props.closeOnPressEscape && ke.key === "Escape") {
|
|
266
267
|
handleClose();
|
|
267
268
|
}
|
|
268
|
-
trapFocus(
|
|
269
|
+
trapFocus(ke);
|
|
269
270
|
}
|
|
270
271
|
);
|
|
271
272
|
defineExpose({
|