@yh-ui/components 0.1.10 → 0.1.15
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/dist/ai-action-group/__tests__/ai-action-group.ssr.test.cjs +55 -0
- package/dist/ai-action-group/__tests__/ai-action-group.ssr.test.d.ts +1 -0
- package/dist/ai-action-group/__tests__/ai-action-group.ssr.test.mjs +39 -0
- package/dist/ai-action-group/__tests__/ai-action-group.test.cjs +149 -0
- package/dist/ai-action-group/__tests__/ai-action-group.test.d.ts +1 -0
- package/dist/ai-action-group/__tests__/ai-action-group.test.mjs +104 -0
- package/dist/ai-action-group/index.cjs +26 -0
- package/dist/ai-action-group/index.d.ts +3 -0
- package/dist/ai-action-group/index.mjs +5 -0
- package/dist/ai-action-group/src/ai-action-group.cjs +50 -0
- package/dist/ai-action-group/src/ai-action-group.css +517 -0
- package/dist/ai-action-group/src/ai-action-group.d.ts +55 -0
- package/dist/ai-action-group/src/ai-action-group.d.vue.ts +40 -0
- package/dist/ai-action-group/src/ai-action-group.mjs +44 -0
- package/dist/ai-action-group/src/ai-action-group.vue +602 -0
- package/dist/ai-action-group/src/ai-action-group.vue.d.ts +40 -0
- package/dist/ai-agent-card/__tests__/ai-agent-card.ssr.test.cjs +61 -0
- package/dist/ai-agent-card/__tests__/ai-agent-card.ssr.test.d.ts +1 -0
- package/dist/ai-agent-card/__tests__/ai-agent-card.ssr.test.mjs +65 -0
- package/dist/ai-agent-card/__tests__/ai-agent-card.test.cjs +70 -0
- package/dist/ai-agent-card/__tests__/ai-agent-card.test.d.ts +1 -0
- package/dist/ai-agent-card/__tests__/ai-agent-card.test.mjs +64 -0
- package/dist/ai-agent-card/index.cjs +26 -0
- package/dist/ai-agent-card/index.d.ts +3 -0
- package/dist/ai-agent-card/index.mjs +5 -0
- package/dist/ai-agent-card/src/ai-agent-card.cjs +74 -0
- package/dist/ai-agent-card/src/ai-agent-card.css +859 -0
- package/dist/ai-agent-card/src/ai-agent-card.d.ts +122 -0
- package/dist/ai-agent-card/src/ai-agent-card.d.vue.ts +62 -0
- package/dist/ai-agent-card/src/ai-agent-card.mjs +68 -0
- package/dist/ai-agent-card/src/ai-agent-card.vue +1029 -0
- package/dist/ai-agent-card/src/ai-agent-card.vue.d.ts +62 -0
- package/dist/ai-artifacts/__tests__/ai-artifacts.ssr.test.cjs +73 -0
- package/dist/ai-artifacts/__tests__/ai-artifacts.ssr.test.d.ts +1 -0
- package/dist/ai-artifacts/__tests__/ai-artifacts.ssr.test.mjs +68 -0
- package/dist/ai-artifacts/__tests__/ai-artifacts.test.cjs +128 -0
- package/dist/ai-artifacts/__tests__/ai-artifacts.test.d.ts +1 -0
- package/dist/ai-artifacts/__tests__/ai-artifacts.test.mjs +109 -0
- package/dist/ai-artifacts/index.cjs +26 -0
- package/dist/ai-artifacts/index.d.ts +3 -0
- package/dist/ai-artifacts/index.mjs +5 -0
- package/dist/ai-artifacts/src/ai-artifacts.cjs +55 -0
- package/dist/ai-artifacts/src/ai-artifacts.css +633 -0
- package/dist/ai-artifacts/src/ai-artifacts.d.ts +93 -0
- package/dist/ai-artifacts/src/ai-artifacts.d.vue.ts +50 -0
- package/dist/ai-artifacts/src/ai-artifacts.mjs +49 -0
- package/dist/ai-artifacts/src/ai-artifacts.vue +831 -0
- package/dist/ai-artifacts/src/ai-artifacts.vue.d.ts +50 -0
- package/dist/ai-bubble/__tests__/ai-bubble.ssr.test.cjs +87 -0
- package/dist/ai-bubble/__tests__/ai-bubble.ssr.test.d.ts +1 -0
- package/dist/ai-bubble/__tests__/ai-bubble.ssr.test.mjs +58 -0
- package/dist/ai-bubble/__tests__/ai-bubble.test.cjs +227 -0
- package/dist/ai-bubble/__tests__/ai-bubble.test.d.ts +1 -0
- package/dist/ai-bubble/__tests__/ai-bubble.test.mjs +123 -0
- package/dist/ai-bubble/index.cjs +26 -0
- package/dist/ai-bubble/index.d.ts +3 -0
- package/dist/ai-bubble/index.mjs +5 -0
- package/dist/ai-bubble/src/ai-bubble.cjs +86 -0
- package/dist/ai-bubble/src/ai-bubble.css +932 -0
- package/dist/ai-bubble/src/ai-bubble.d.ts +126 -0
- package/dist/ai-bubble/src/ai-bubble.d.vue.ts +110 -0
- package/dist/ai-bubble/src/ai-bubble.mjs +80 -0
- package/dist/ai-bubble/src/ai-bubble.vue +1300 -0
- package/dist/ai-bubble/src/ai-bubble.vue.d.ts +110 -0
- package/dist/ai-chat/__tests__/ai-chat.ssr.test.cjs +82 -0
- package/dist/ai-chat/__tests__/ai-chat.ssr.test.d.ts +1 -0
- package/dist/ai-chat/__tests__/ai-chat.ssr.test.mjs +69 -0
- package/dist/ai-chat/__tests__/ai-chat.test.cjs +169 -0
- package/dist/ai-chat/__tests__/ai-chat.test.d.ts +1 -0
- package/dist/ai-chat/__tests__/ai-chat.test.mjs +121 -0
- package/dist/ai-chat/index.cjs +26 -0
- package/dist/ai-chat/index.d.ts +3 -0
- package/dist/ai-chat/index.mjs +5 -0
- package/dist/ai-chat/src/ai-chat.cjs +41 -0
- package/dist/ai-chat/src/ai-chat.css +503 -0
- package/dist/ai-chat/src/ai-chat.d.ts +57 -0
- package/dist/ai-chat/src/ai-chat.d.vue.ts +43 -0
- package/dist/ai-chat/src/ai-chat.mjs +35 -0
- package/dist/ai-chat/src/ai-chat.vue +606 -0
- package/dist/ai-chat/src/ai-chat.vue.d.ts +43 -0
- package/dist/ai-code-block/__tests__/ai-code-block.ssr.test.cjs +66 -0
- package/dist/ai-code-block/__tests__/ai-code-block.ssr.test.d.ts +1 -0
- package/dist/ai-code-block/__tests__/ai-code-block.ssr.test.mjs +48 -0
- package/dist/ai-code-block/__tests__/ai-code-block.test.cjs +174 -0
- package/dist/ai-code-block/__tests__/ai-code-block.test.d.ts +1 -0
- package/dist/ai-code-block/__tests__/ai-code-block.test.mjs +108 -0
- package/dist/ai-code-block/index.cjs +26 -0
- package/dist/ai-code-block/index.d.ts +3 -0
- package/dist/ai-code-block/index.mjs +5 -0
- package/dist/ai-code-block/src/ai-code-block.cjs +79 -0
- package/dist/ai-code-block/src/ai-code-block.css +589 -0
- package/dist/ai-code-block/src/ai-code-block.d.ts +76 -0
- package/dist/ai-code-block/src/ai-code-block.d.vue.ts +63 -0
- package/dist/ai-code-block/src/ai-code-block.mjs +73 -0
- package/dist/ai-code-block/src/ai-code-block.vue +706 -0
- package/dist/ai-code-block/src/ai-code-block.vue.d.ts +63 -0
- package/dist/ai-conversations/__tests__/ai-conversations.ssr.test.cjs +50 -0
- package/dist/ai-conversations/__tests__/ai-conversations.ssr.test.d.ts +1 -0
- package/dist/ai-conversations/__tests__/ai-conversations.ssr.test.mjs +42 -0
- package/dist/ai-conversations/__tests__/ai-conversations.test.cjs +67 -0
- package/dist/ai-conversations/__tests__/ai-conversations.test.d.ts +1 -0
- package/dist/ai-conversations/__tests__/ai-conversations.test.mjs +51 -0
- package/dist/ai-conversations/index.cjs +26 -0
- package/dist/ai-conversations/index.d.ts +3 -0
- package/dist/ai-conversations/index.mjs +5 -0
- package/dist/ai-conversations/src/ai-conversations.cjs +69 -0
- package/dist/ai-conversations/src/ai-conversations.css +679 -0
- package/dist/ai-conversations/src/ai-conversations.d.ts +67 -0
- package/dist/ai-conversations/src/ai-conversations.d.vue.ts +52 -0
- package/dist/ai-conversations/src/ai-conversations.mjs +63 -0
- package/dist/ai-conversations/src/ai-conversations.vue +949 -0
- package/dist/ai-conversations/src/ai-conversations.vue.d.ts +52 -0
- package/dist/ai-editor-sender/__tests__/ai-editor-sender.ssr.test.cjs +62 -0
- package/dist/ai-editor-sender/__tests__/ai-editor-sender.ssr.test.d.ts +1 -0
- package/dist/ai-editor-sender/__tests__/ai-editor-sender.ssr.test.mjs +50 -0
- package/dist/ai-editor-sender/__tests__/ai-editor-sender.test.cjs +315 -0
- package/dist/ai-editor-sender/__tests__/ai-editor-sender.test.d.ts +1 -0
- package/dist/ai-editor-sender/__tests__/ai-editor-sender.test.mjs +226 -0
- package/dist/ai-editor-sender/index.cjs +26 -0
- package/dist/ai-editor-sender/index.d.ts +3 -0
- package/dist/ai-editor-sender/index.mjs +5 -0
- package/dist/ai-editor-sender/src/ai-editor-sender.cjs +66 -0
- package/dist/ai-editor-sender/src/ai-editor-sender.css +566 -0
- package/dist/ai-editor-sender/src/ai-editor-sender.d.ts +70 -0
- package/dist/ai-editor-sender/src/ai-editor-sender.d.vue.ts +70 -0
- package/dist/ai-editor-sender/src/ai-editor-sender.mjs +60 -0
- package/dist/ai-editor-sender/src/ai-editor-sender.vue +713 -0
- package/dist/ai-editor-sender/src/ai-editor-sender.vue.d.ts +70 -0
- package/dist/ai-mention/__tests__/ai-mention.ssr.test.cjs +38 -0
- package/dist/ai-mention/__tests__/ai-mention.ssr.test.d.ts +1 -0
- package/dist/ai-mention/__tests__/ai-mention.ssr.test.mjs +37 -0
- package/dist/ai-mention/__tests__/ai-mention.test.cjs +113 -0
- package/dist/ai-mention/__tests__/ai-mention.test.d.ts +1 -0
- package/dist/ai-mention/__tests__/ai-mention.test.mjs +84 -0
- package/dist/ai-mention/index.cjs +26 -0
- package/dist/ai-mention/index.d.ts +29 -0
- package/dist/ai-mention/index.mjs +5 -0
- package/dist/ai-mention/src/ai-mention.cjs +95 -0
- package/dist/ai-mention/src/ai-mention.css +545 -0
- package/dist/ai-mention/src/ai-mention.d.ts +99 -0
- package/dist/ai-mention/src/ai-mention.d.vue.ts +68 -0
- package/dist/ai-mention/src/ai-mention.mjs +89 -0
- package/dist/ai-mention/src/ai-mention.vue +650 -0
- package/dist/ai-mention/src/ai-mention.vue.d.ts +68 -0
- package/dist/ai-prompts/__tests__/ai-prompts.ssr.test.cjs +49 -0
- package/dist/ai-prompts/__tests__/ai-prompts.ssr.test.d.ts +1 -0
- package/dist/ai-prompts/__tests__/ai-prompts.ssr.test.mjs +41 -0
- package/dist/ai-prompts/__tests__/ai-prompts.test.cjs +54 -0
- package/dist/ai-prompts/__tests__/ai-prompts.test.d.ts +1 -0
- package/dist/ai-prompts/__tests__/ai-prompts.test.mjs +38 -0
- package/dist/ai-prompts/index.cjs +26 -0
- package/dist/ai-prompts/index.d.ts +3 -0
- package/dist/ai-prompts/index.mjs +5 -0
- package/dist/ai-prompts/src/ai-prompts.cjs +42 -0
- package/dist/ai-prompts/src/ai-prompts.css +572 -0
- package/dist/ai-prompts/src/ai-prompts.d.ts +45 -0
- package/dist/ai-prompts/src/ai-prompts.d.vue.ts +44 -0
- package/dist/ai-prompts/src/ai-prompts.mjs +36 -0
- package/dist/ai-prompts/src/ai-prompts.vue +646 -0
- package/dist/ai-prompts/src/ai-prompts.vue.d.ts +44 -0
- package/dist/ai-provider/__tests__/ai-provider.ssr.test.cjs +33 -0
- package/dist/ai-provider/__tests__/ai-provider.ssr.test.d.ts +1 -0
- package/dist/ai-provider/__tests__/ai-provider.ssr.test.mjs +34 -0
- package/dist/ai-provider/__tests__/ai-provider.test.cjs +38 -0
- package/dist/ai-provider/__tests__/ai-provider.test.d.ts +1 -0
- package/dist/ai-provider/__tests__/ai-provider.test.mjs +33 -0
- package/dist/ai-provider/index.cjs +38 -0
- package/dist/ai-provider/index.d.ts +4 -0
- package/dist/ai-provider/index.mjs +6 -0
- package/dist/ai-provider/src/ai-provider.cjs +7 -0
- package/dist/ai-provider/src/ai-provider.d.ts +88 -0
- package/dist/ai-provider/src/ai-provider.d.vue.ts +48 -0
- package/dist/ai-provider/src/ai-provider.mjs +1 -0
- package/dist/ai-provider/src/ai-provider.vue +24 -0
- package/dist/ai-provider/src/ai-provider.vue.d.ts +48 -0
- package/dist/ai-provider/src/use-ai-provider.cjs +11 -0
- package/dist/ai-provider/src/use-ai-provider.d.ts +10 -0
- package/dist/ai-provider/src/use-ai-provider.mjs +5 -0
- package/dist/ai-sender/__tests__/ai-sender.ssr.test.cjs +46 -0
- package/dist/ai-sender/__tests__/ai-sender.ssr.test.d.ts +1 -0
- package/dist/ai-sender/__tests__/ai-sender.ssr.test.mjs +37 -0
- package/dist/ai-sender/__tests__/ai-sender.test.cjs +395 -0
- package/dist/ai-sender/__tests__/ai-sender.test.d.ts +1 -0
- package/dist/ai-sender/__tests__/ai-sender.test.mjs +255 -0
- package/dist/ai-sender/index.cjs +26 -0
- package/dist/ai-sender/index.d.ts +3 -0
- package/dist/ai-sender/index.mjs +5 -0
- package/dist/ai-sender/src/ai-sender.cjs +98 -0
- package/dist/ai-sender/src/ai-sender.css +754 -0
- package/dist/ai-sender/src/ai-sender.d.ts +147 -0
- package/dist/ai-sender/src/ai-sender.d.vue.ts +74 -0
- package/dist/ai-sender/src/ai-sender.mjs +92 -0
- package/dist/ai-sender/src/ai-sender.vue +1039 -0
- package/dist/ai-sender/src/ai-sender.vue.d.ts +74 -0
- package/dist/ai-sources/__tests__/ai-sources.ssr.test.cjs +72 -0
- package/dist/ai-sources/__tests__/ai-sources.ssr.test.d.ts +1 -0
- package/dist/ai-sources/__tests__/ai-sources.ssr.test.mjs +82 -0
- package/dist/ai-sources/__tests__/ai-sources.test.cjs +93 -0
- package/dist/ai-sources/__tests__/ai-sources.test.d.ts +1 -0
- package/dist/ai-sources/__tests__/ai-sources.test.mjs +89 -0
- package/dist/ai-sources/index.cjs +26 -0
- package/dist/ai-sources/index.d.ts +3 -0
- package/dist/ai-sources/index.mjs +5 -0
- package/dist/ai-sources/src/ai-sources.cjs +59 -0
- package/dist/ai-sources/src/ai-sources.css +830 -0
- package/dist/ai-sources/src/ai-sources.d.ts +79 -0
- package/dist/ai-sources/src/ai-sources.d.vue.ts +45 -0
- package/dist/ai-sources/src/ai-sources.mjs +53 -0
- package/dist/ai-sources/src/ai-sources.vue +1093 -0
- package/dist/ai-sources/src/ai-sources.vue.d.ts +45 -0
- package/dist/ai-thinking/__tests__/ai-thinking.ssr.test.cjs +56 -0
- package/dist/ai-thinking/__tests__/ai-thinking.ssr.test.d.ts +1 -0
- package/dist/ai-thinking/__tests__/ai-thinking.ssr.test.mjs +42 -0
- package/dist/ai-thinking/__tests__/ai-thinking.test.cjs +151 -0
- package/dist/ai-thinking/__tests__/ai-thinking.test.d.ts +1 -0
- package/dist/ai-thinking/__tests__/ai-thinking.test.mjs +96 -0
- package/dist/ai-thinking/index.cjs +26 -0
- package/dist/ai-thinking/index.d.ts +3 -0
- package/dist/ai-thinking/index.mjs +5 -0
- package/dist/ai-thinking/src/ai-thinking.cjs +44 -0
- package/dist/ai-thinking/src/ai-thinking.css +543 -0
- package/dist/ai-thinking/src/ai-thinking.d.ts +42 -0
- package/dist/ai-thinking/src/ai-thinking.d.vue.ts +33 -0
- package/dist/ai-thinking/src/ai-thinking.mjs +38 -0
- package/dist/ai-thinking/src/ai-thinking.vue +631 -0
- package/dist/ai-thinking/src/ai-thinking.vue.d.ts +33 -0
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.ssr.test.cjs +83 -0
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.ssr.test.d.ts +1 -0
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.ssr.test.mjs +52 -0
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.test.cjs +204 -0
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.test.d.ts +1 -0
- package/dist/ai-thought-chain/__tests__/ai-thought-chain.test.mjs +134 -0
- package/dist/ai-thought-chain/index.cjs +26 -0
- package/dist/ai-thought-chain/index.d.ts +3 -0
- package/dist/ai-thought-chain/index.mjs +5 -0
- package/dist/ai-thought-chain/src/ai-thought-chain.cjs +68 -0
- package/dist/ai-thought-chain/src/ai-thought-chain.css +668 -0
- package/dist/ai-thought-chain/src/ai-thought-chain.d.ts +82 -0
- package/dist/ai-thought-chain/src/ai-thought-chain.d.vue.ts +83 -0
- package/dist/ai-thought-chain/src/ai-thought-chain.mjs +62 -0
- package/dist/ai-thought-chain/src/ai-thought-chain.vue +813 -0
- package/dist/ai-thought-chain/src/ai-thought-chain.vue.d.ts +83 -0
- package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.ssr.test.cjs +32 -0
- package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.ssr.test.d.ts +1 -0
- package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.ssr.test.mjs +25 -0
- package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.test.cjs +130 -0
- package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.test.d.ts +1 -0
- package/dist/ai-voice-trigger/__tests__/ai-voice-trigger.test.mjs +103 -0
- package/dist/ai-voice-trigger/index.cjs +26 -0
- package/dist/ai-voice-trigger/index.d.ts +3 -0
- package/dist/ai-voice-trigger/index.mjs +5 -0
- package/dist/ai-voice-trigger/src/ai-voice-trigger.cjs +67 -0
- package/dist/ai-voice-trigger/src/ai-voice-trigger.css +702 -0
- package/dist/ai-voice-trigger/src/ai-voice-trigger.d.ts +69 -0
- package/dist/ai-voice-trigger/src/ai-voice-trigger.d.vue.ts +49 -0
- package/dist/ai-voice-trigger/src/ai-voice-trigger.mjs +61 -0
- package/dist/ai-voice-trigger/src/ai-voice-trigger.vue +859 -0
- package/dist/ai-voice-trigger/src/ai-voice-trigger.vue.d.ts +49 -0
- package/dist/ai-welcome/__tests__/ai-welcome.ssr.test.cjs +57 -0
- package/dist/ai-welcome/__tests__/ai-welcome.ssr.test.d.ts +1 -0
- package/dist/ai-welcome/__tests__/ai-welcome.ssr.test.mjs +39 -0
- package/dist/ai-welcome/__tests__/ai-welcome.test.cjs +169 -0
- package/dist/ai-welcome/__tests__/ai-welcome.test.d.ts +1 -0
- package/dist/ai-welcome/__tests__/ai-welcome.test.mjs +113 -0
- package/dist/ai-welcome/index.cjs +26 -0
- package/dist/ai-welcome/index.d.ts +3 -0
- package/dist/ai-welcome/index.mjs +5 -0
- package/dist/ai-welcome/src/ai-welcome.cjs +56 -0
- package/dist/ai-welcome/src/ai-welcome.css +591 -0
- package/dist/ai-welcome/src/ai-welcome.d.ts +59 -0
- package/dist/ai-welcome/src/ai-welcome.d.vue.ts +51 -0
- package/dist/ai-welcome/src/ai-welcome.mjs +50 -0
- package/dist/ai-welcome/src/ai-welcome.vue +655 -0
- package/dist/ai-welcome/src/ai-welcome.vue.d.ts +51 -0
- package/dist/alert/src/alert.d.vue.ts +6 -6
- package/dist/alert/src/alert.vue.d.ts +6 -6
- package/dist/autocomplete/src/autocomplete.d.vue.ts +4 -4
- package/dist/autocomplete/src/autocomplete.vue.d.ts +4 -4
- package/dist/avatar/index.d.ts +39 -1
- package/dist/back-top/src/back-top.d.vue.ts +1 -1
- package/dist/back-top/src/back-top.vue.d.ts +1 -1
- package/dist/button/index.d.ts +3 -3
- package/dist/button/src/button.css +3 -3
- package/dist/button/src/button.d.vue.ts +1 -1
- package/dist/button/src/button.vue +3 -3
- package/dist/button/src/button.vue.d.ts +1 -1
- package/dist/calendar/src/calendar.d.vue.ts +3 -3
- package/dist/calendar/src/calendar.vue.d.ts +3 -3
- package/dist/cascader/src/cascader-panel.d.vue.ts +2 -2
- package/dist/cascader/src/cascader-panel.vue.d.ts +2 -2
- package/dist/checkbox/index.d.ts +3 -3
- package/dist/checkbox/src/checkbox-group.d.vue.ts +1 -1
- package/dist/checkbox/src/checkbox-group.vue +13 -1
- package/dist/checkbox/src/checkbox-group.vue.d.ts +1 -1
- package/dist/checkbox/src/checkbox.d.ts +12 -0
- package/dist/col/src/col.d.vue.ts +4 -4
- package/dist/col/src/col.vue.d.ts +4 -4
- package/dist/color-picker/src/color-picker.d.vue.ts +1 -1
- package/dist/color-picker/src/color-picker.vue.d.ts +1 -1
- package/dist/component.d.ts +63 -0
- package/dist/date-picker/src/date-picker.d.vue.ts +6 -6
- package/dist/date-picker/src/date-picker.vue.d.ts +6 -6
- package/dist/descriptions/src/description-item.d.vue.ts +1 -1
- package/dist/descriptions/src/description-item.vue.d.ts +1 -1
- package/dist/dialog/src/dialog.d.vue.ts +12 -12
- package/dist/dialog/src/dialog.vue.d.ts +12 -12
- package/dist/drawer/index.d.ts +42 -1
- package/dist/drawer/src/drawer.d.vue.ts +6 -6
- package/dist/drawer/src/drawer.vue.d.ts +6 -6
- package/dist/dropdown/src/dropdown-item.d.vue.ts +1 -1
- package/dist/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/dist/dropdown/src/dropdown.d.vue.ts +8 -8
- package/dist/dropdown/src/dropdown.vue.d.ts +8 -8
- package/dist/form/__tests__/form-schema.test.cjs +477 -24
- package/dist/form/__tests__/form-schema.test.mjs +277 -57
- package/dist/form/index.cjs +12 -0
- package/dist/form/index.d.ts +1 -2
- package/dist/form/index.mjs +1 -0
- package/dist/form/src/form-item.d.vue.ts +2 -1
- package/dist/form/src/form-item.vue +3 -1
- package/dist/form/src/form-item.vue.d.ts +2 -1
- package/dist/form/src/form-schema.cjs +2 -1
- package/dist/form/src/form-schema.d.ts +124 -19
- package/dist/form/src/form-schema.d.vue.ts +69 -19
- package/dist/form/src/form-schema.mjs +2 -1
- package/dist/form/src/form-schema.vue +522 -160
- package/dist/form/src/form-schema.vue.d.ts +69 -19
- package/dist/form/src/form.cjs +7 -0
- package/dist/form/src/form.d.ts +20 -0
- package/dist/form/src/form.d.vue.ts +10 -1
- package/dist/form/src/form.mjs +7 -0
- package/dist/form/src/form.vue +22 -10
- package/dist/form/src/form.vue.d.ts +10 -1
- package/dist/grid/src/grid.d.vue.ts +1 -1
- package/dist/grid/src/grid.vue.d.ts +1 -1
- package/dist/icon/src/icons/index.cjs +127 -2
- package/dist/icon/src/icons/index.d.ts +25 -0
- package/dist/icon/src/icons/index.mjs +151 -1
- package/dist/image/index.d.ts +356 -2
- package/dist/image/src/image-viewer.d.vue.ts +3 -3
- package/dist/image/src/image-viewer.vue.d.ts +3 -3
- package/dist/image/src/image.d.vue.ts +4 -4
- package/dist/image/src/image.vue.d.ts +4 -4
- package/dist/index.cjs +205 -1
- package/dist/index.d.ts +17 -0
- package/dist/index.mjs +52 -1
- package/dist/infinite-scroll/src/infinite-scroll.d.vue.ts +1 -1
- package/dist/infinite-scroll/src/infinite-scroll.vue.d.ts +1 -1
- package/dist/input/index.d.ts +21 -21
- package/dist/input/src/input.d.vue.ts +7 -7
- package/dist/input/src/input.vue.d.ts +7 -7
- package/dist/input-number/index.d.ts +3 -3
- package/dist/input-number/src/input-number.d.vue.ts +1 -1
- package/dist/input-number/src/input-number.vue.d.ts +1 -1
- package/dist/input-tag/src/input-tag.d.vue.ts +3 -3
- package/dist/input-tag/src/input-tag.vue.d.ts +3 -3
- package/dist/mention/index.d.ts +181 -1
- package/dist/mention/src/mention.d.vue.ts +9 -9
- package/dist/mention/src/mention.vue +6 -2
- package/dist/mention/src/mention.vue.d.ts +9 -9
- package/dist/menu/src/menu.d.vue.ts +4 -4
- package/dist/menu/src/menu.vue.d.ts +4 -4
- package/dist/message/src/message.d.vue.ts +1 -1
- package/dist/message/src/message.vue.d.ts +1 -1
- package/dist/notification/src/notification.d.vue.ts +1 -1
- package/dist/notification/src/notification.vue.d.ts +1 -1
- package/dist/popconfirm/src/popconfirm.d.vue.ts +5 -5
- package/dist/popconfirm/src/popconfirm.vue.d.ts +5 -5
- package/dist/popover/src/popover.d.vue.ts +4 -4
- package/dist/popover/src/popover.vue.d.ts +4 -4
- package/dist/progress/src/progress.d.vue.ts +1 -1
- package/dist/progress/src/progress.vue.d.ts +1 -1
- package/dist/radio/src/radio-group.d.vue.ts +1 -1
- package/dist/radio/src/radio-group.vue +25 -4
- package/dist/radio/src/radio-group.vue.d.ts +1 -1
- package/dist/radio/src/radio.d.ts +12 -0
- package/dist/rate/src/rate.d.vue.ts +1 -1
- package/dist/rate/src/rate.vue.d.ts +1 -1
- package/dist/select/src/select.d.vue.ts +4 -4
- package/dist/select/src/select.vue.d.ts +4 -4
- package/dist/slider/src/slider.d.vue.ts +1 -1
- package/dist/slider/src/slider.vue.d.ts +1 -1
- package/dist/steps/src/step.d.vue.ts +1 -1
- package/dist/steps/src/step.vue.d.ts +1 -1
- package/dist/switch/src/switch.d.vue.ts +2 -2
- package/dist/switch/src/switch.vue.d.ts +2 -2
- package/dist/table/__tests__/table.perf.test.cjs +2 -2
- package/dist/table/__tests__/table.perf.test.mjs +2 -2
- package/dist/table/__tests__/table.test.cjs +18 -0
- package/dist/table/__tests__/table.test.mjs +18 -0
- package/dist/table/__tests__/use-table-import.test.cjs +6 -0
- package/dist/table/__tests__/use-table-import.test.mjs +8 -1
- package/dist/table/src/table-column.d.vue.ts +2 -2
- package/dist/table/src/table-column.vue.d.ts +2 -2
- package/dist/table/src/table.d.vue.ts +3 -3
- package/dist/table/src/table.vue.d.ts +3 -3
- package/dist/tabs/src/tab-pane.d.vue.ts +1 -1
- package/dist/tabs/src/tab-pane.vue.d.ts +1 -1
- package/dist/tabs/src/tabs.d.vue.ts +2 -2
- package/dist/tabs/src/tabs.vue.d.ts +2 -2
- package/dist/time-picker/src/time-picker.d.vue.ts +1 -1
- package/dist/time-picker/src/time-picker.vue.d.ts +1 -1
- package/dist/tooltip/index.d.ts +7 -7
- package/dist/tooltip/src/tooltip.d.vue.ts +7 -7
- package/dist/tooltip/src/tooltip.vue.d.ts +7 -7
- package/dist/tree/src/tree.d.vue.ts +1 -1
- package/dist/tree/src/tree.vue.d.ts +1 -1
- package/dist/tree-select/src/tree-select.d.vue.ts +3 -3
- package/dist/tree-select/src/tree-select.vue.d.ts +3 -3
- package/dist/upload/src/upload.d.vue.ts +1 -1
- package/dist/upload/src/upload.vue.d.ts +1 -1
- package/package.json +8 -5
package/dist/component.d.ts
CHANGED
|
@@ -60,6 +60,35 @@ import type { YhTree, YhTreeNode } from './tree'
|
|
|
60
60
|
import type { YhCountdown } from './countdown'
|
|
61
61
|
import type { YhTable, YhTableColumn } from './table'
|
|
62
62
|
import type { YhLoading } from './loading'
|
|
63
|
+
import type { YhSpace } from './space'
|
|
64
|
+
import type { YhAvatar } from './avatar'
|
|
65
|
+
import type { YhEmpty } from './empty'
|
|
66
|
+
import type {
|
|
67
|
+
YhTypographyTitle,
|
|
68
|
+
YhTypographyText,
|
|
69
|
+
YhTypographyParagraph,
|
|
70
|
+
YhTypographyLink
|
|
71
|
+
} from './typography'
|
|
72
|
+
import type { YhContainer, YhHeader, YhAside, YhMain, YhFooter } from './container'
|
|
73
|
+
import type { YhResult } from './result'
|
|
74
|
+
import type { YhGrid, YhGridItem } from './grid'
|
|
75
|
+
import type { YhMention } from './mention'
|
|
76
|
+
import type { YhAiChat } from './ai-chat'
|
|
77
|
+
import type { YhAiBubble } from './ai-bubble'
|
|
78
|
+
import type { YhAiSender } from './ai-sender'
|
|
79
|
+
import type { YhAiThoughtChain } from './ai-thought-chain'
|
|
80
|
+
import type { YhAiCodeBlock } from './ai-code-block'
|
|
81
|
+
import type { YhAiThinking } from './ai-thinking'
|
|
82
|
+
import type { YhAiWelcome } from './ai-welcome'
|
|
83
|
+
import type { YhAiActionGroup } from './ai-action-group'
|
|
84
|
+
import type { YhAiEditorSender } from './ai-editor-sender'
|
|
85
|
+
import type { YhAiArtifacts } from './ai-artifacts'
|
|
86
|
+
import type { YhAiVoiceTrigger } from './ai-voice-trigger'
|
|
87
|
+
import type { YhAiConversations } from './ai-conversations'
|
|
88
|
+
import type { YhAiPrompts } from './ai-prompts'
|
|
89
|
+
import type { YhAiAgentCard } from './ai-agent-card'
|
|
90
|
+
import type { YhAiSources } from './ai-sources'
|
|
91
|
+
import type { YhAiProvider } from './ai-provider'
|
|
63
92
|
|
|
64
93
|
declare module 'vue' {
|
|
65
94
|
export interface GlobalComponents {
|
|
@@ -67,10 +96,24 @@ declare module 'vue' {
|
|
|
67
96
|
YhButton: typeof YhButton
|
|
68
97
|
YhIcon: typeof YhIcon
|
|
69
98
|
YhDivider: typeof YhDivider
|
|
99
|
+
YhSpace: typeof YhSpace
|
|
100
|
+
YhAvatar: typeof YhAvatar
|
|
101
|
+
YhEmpty: typeof YhEmpty
|
|
102
|
+
YhTypographyTitle: typeof YhTypographyTitle
|
|
103
|
+
YhTypographyText: typeof YhTypographyText
|
|
104
|
+
YhTypographyParagraph: typeof YhTypographyParagraph
|
|
105
|
+
YhTypographyLink: typeof YhTypographyLink
|
|
70
106
|
|
|
71
107
|
// =================== 布局组件 ===================
|
|
72
108
|
YhRow: typeof YhRow
|
|
73
109
|
YhCol: typeof YhCol
|
|
110
|
+
YhContainer: typeof YhContainer
|
|
111
|
+
YhHeader: typeof YhHeader
|
|
112
|
+
YhAside: typeof YhAside
|
|
113
|
+
YhMain: typeof YhMain
|
|
114
|
+
YhFooter: typeof YhFooter
|
|
115
|
+
YhGrid: typeof YhGrid
|
|
116
|
+
YhGridItem: typeof YhGridItem
|
|
74
117
|
|
|
75
118
|
// =================== 表单组件 ===================
|
|
76
119
|
YhInput: typeof YhInput
|
|
@@ -100,6 +143,7 @@ declare module 'vue' {
|
|
|
100
143
|
YhForm: typeof YhForm
|
|
101
144
|
YhFormItem: typeof YhFormItem
|
|
102
145
|
YhFormSchema: typeof YhFormSchema
|
|
146
|
+
YhMention: typeof YhMention
|
|
103
147
|
|
|
104
148
|
// =================== 数据展示 ===================
|
|
105
149
|
YhTag: typeof YhTag
|
|
@@ -131,6 +175,7 @@ declare module 'vue' {
|
|
|
131
175
|
YhPopconfirm: typeof YhPopconfirm
|
|
132
176
|
YhSpin: typeof YhSpin
|
|
133
177
|
YhLoading: typeof YhLoading
|
|
178
|
+
YhResult: typeof YhResult
|
|
134
179
|
|
|
135
180
|
// =================== 导航组件 ===================
|
|
136
181
|
YhBreadcrumb: typeof YhBreadcrumb
|
|
@@ -153,6 +198,24 @@ declare module 'vue' {
|
|
|
153
198
|
YhInfiniteScroll: typeof YhInfiniteScroll
|
|
154
199
|
YhMarquee: typeof YhMarquee
|
|
155
200
|
YhConfigProvider: typeof YhConfigProvider
|
|
201
|
+
|
|
202
|
+
// =================== AI 组件 ===================
|
|
203
|
+
YhAiChat: typeof YhAiChat
|
|
204
|
+
YhAiBubble: typeof YhAiBubble
|
|
205
|
+
YhAiSender: typeof YhAiSender
|
|
206
|
+
YhAiThoughtChain: typeof YhAiThoughtChain
|
|
207
|
+
YhAiCodeBlock: typeof YhAiCodeBlock
|
|
208
|
+
YhAiThinking: typeof YhAiThinking
|
|
209
|
+
YhAiWelcome: typeof YhAiWelcome
|
|
210
|
+
YhAiActionGroup: typeof YhAiActionGroup
|
|
211
|
+
YhAiEditorSender: typeof YhAiEditorSender
|
|
212
|
+
YhAiArtifacts: typeof YhAiArtifacts
|
|
213
|
+
YhAiVoiceTrigger: typeof YhAiVoiceTrigger
|
|
214
|
+
YhAiConversations: typeof YhAiConversations
|
|
215
|
+
YhAiPrompts: typeof YhAiPrompts
|
|
216
|
+
YhAiAgentCard: typeof YhAiAgentCard
|
|
217
|
+
YhAiSources: typeof YhAiSources
|
|
218
|
+
YhAiProvider: typeof YhAiProvider
|
|
156
219
|
}
|
|
157
220
|
|
|
158
221
|
export interface GlobalDirectives {
|
|
@@ -326,19 +326,20 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
326
326
|
readonly name: string;
|
|
327
327
|
readonly type: DatePickerType;
|
|
328
328
|
readonly size: import("./date-picker").DatePickerSize;
|
|
329
|
-
readonly
|
|
329
|
+
readonly popperClass: string;
|
|
330
|
+
readonly id: string;
|
|
331
|
+
readonly status: import("./date-picker").DatePickerStatus;
|
|
330
332
|
readonly placeholder: string;
|
|
333
|
+
readonly modelValue: string | number | Date | [DateValue, DateValue] | null;
|
|
334
|
+
readonly readonly: boolean;
|
|
331
335
|
readonly clearable: boolean;
|
|
332
|
-
readonly popperClass: string;
|
|
333
336
|
readonly prefixIcon: string | import("vue").Component;
|
|
334
337
|
readonly validateEvent: boolean;
|
|
338
|
+
readonly showFooter: boolean;
|
|
335
339
|
readonly defaultValue: Date | Date[];
|
|
336
340
|
readonly firstDayOfWeek: number;
|
|
337
|
-
readonly readonly: boolean;
|
|
338
341
|
readonly disabledDate: (date: Date) => boolean;
|
|
339
342
|
readonly format: string;
|
|
340
|
-
readonly id: string;
|
|
341
|
-
readonly status: import("./date-picker").DatePickerStatus;
|
|
342
343
|
readonly cellShape: "round" | "square";
|
|
343
344
|
readonly cellRender: (date: Date) => string | {
|
|
344
345
|
text: string;
|
|
@@ -357,7 +358,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
357
358
|
readonly rangeSeparator: string;
|
|
358
359
|
readonly presets: import("./date-picker").DatePickerPreset[];
|
|
359
360
|
readonly presetPosition: "top" | "bottom" | "left" | "right";
|
|
360
|
-
readonly showFooter: boolean;
|
|
361
361
|
readonly orderOnConfirm: boolean;
|
|
362
362
|
readonly clearIcon: string | import("vue").Component;
|
|
363
363
|
readonly panelOnly: boolean;
|
|
@@ -326,19 +326,20 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
326
326
|
readonly name: string;
|
|
327
327
|
readonly type: DatePickerType;
|
|
328
328
|
readonly size: import("./date-picker").DatePickerSize;
|
|
329
|
-
readonly
|
|
329
|
+
readonly popperClass: string;
|
|
330
|
+
readonly id: string;
|
|
331
|
+
readonly status: import("./date-picker").DatePickerStatus;
|
|
330
332
|
readonly placeholder: string;
|
|
333
|
+
readonly modelValue: string | number | Date | [DateValue, DateValue] | null;
|
|
334
|
+
readonly readonly: boolean;
|
|
331
335
|
readonly clearable: boolean;
|
|
332
|
-
readonly popperClass: string;
|
|
333
336
|
readonly prefixIcon: string | import("vue").Component;
|
|
334
337
|
readonly validateEvent: boolean;
|
|
338
|
+
readonly showFooter: boolean;
|
|
335
339
|
readonly defaultValue: Date | Date[];
|
|
336
340
|
readonly firstDayOfWeek: number;
|
|
337
|
-
readonly readonly: boolean;
|
|
338
341
|
readonly disabledDate: (date: Date) => boolean;
|
|
339
342
|
readonly format: string;
|
|
340
|
-
readonly id: string;
|
|
341
|
-
readonly status: import("./date-picker").DatePickerStatus;
|
|
342
343
|
readonly cellShape: "round" | "square";
|
|
343
344
|
readonly cellRender: (date: Date) => string | {
|
|
344
345
|
text: string;
|
|
@@ -357,7 +358,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
357
358
|
readonly rangeSeparator: string;
|
|
358
359
|
readonly presets: import("./date-picker").DatePickerPreset[];
|
|
359
360
|
readonly presetPosition: "top" | "bottom" | "left" | "right";
|
|
360
|
-
readonly showFooter: boolean;
|
|
361
361
|
readonly orderOnConfirm: boolean;
|
|
362
362
|
readonly clearIcon: string | import("vue").Component;
|
|
363
363
|
readonly panelOnly: boolean;
|
|
@@ -85,10 +85,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
85
85
|
readonly minWidth: string | number;
|
|
86
86
|
readonly label: string;
|
|
87
87
|
readonly span: number;
|
|
88
|
+
readonly className: string;
|
|
88
89
|
readonly align: "left" | "center" | "right";
|
|
89
90
|
readonly labelClassName: string;
|
|
90
91
|
readonly labelAlign: "left" | "center" | "right";
|
|
91
|
-
readonly className: string;
|
|
92
92
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
93
93
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
94
94
|
export default _default;
|
|
@@ -85,10 +85,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
85
85
|
readonly minWidth: string | number;
|
|
86
86
|
readonly label: string;
|
|
87
87
|
readonly span: number;
|
|
88
|
+
readonly className: string;
|
|
88
89
|
readonly align: "left" | "center" | "right";
|
|
89
90
|
readonly labelClassName: string;
|
|
90
91
|
readonly labelAlign: "left" | "center" | "right";
|
|
91
|
-
readonly className: string;
|
|
92
92
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
93
93
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
94
94
|
export default _default;
|
|
@@ -177,30 +177,30 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
177
177
|
readonly top: string;
|
|
178
178
|
readonly zIndex: number;
|
|
179
179
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
180
|
-
readonly type: "default" | "error" | "
|
|
180
|
+
readonly type: "default" | "error" | "info" | "warning" | "success";
|
|
181
181
|
readonly width: string | number;
|
|
182
182
|
readonly center: boolean;
|
|
183
183
|
readonly transformOrigin: "center" | "mouse";
|
|
184
184
|
readonly overflow: boolean;
|
|
185
|
-
readonly glass: boolean;
|
|
186
|
-
readonly closeIcon: string;
|
|
187
|
-
readonly showIcon: boolean;
|
|
188
|
-
readonly modelValue: boolean;
|
|
189
185
|
readonly loading: boolean;
|
|
190
186
|
readonly fullscreen: boolean;
|
|
191
|
-
readonly
|
|
192
|
-
readonly
|
|
193
|
-
readonly alignCenter: boolean;
|
|
194
|
-
readonly draggable: boolean;
|
|
195
|
-
readonly lockScroll: boolean;
|
|
187
|
+
readonly modelValue: boolean;
|
|
188
|
+
readonly closeOnPressEscape: boolean;
|
|
196
189
|
readonly modal: boolean;
|
|
197
190
|
readonly closeOnClickModal: boolean;
|
|
198
|
-
readonly closeOnPressEscape: boolean;
|
|
199
191
|
readonly showClose: boolean;
|
|
192
|
+
readonly closeIcon: string;
|
|
200
193
|
readonly destroyOnClose: boolean;
|
|
194
|
+
readonly teleportTo: string | HTMLElement;
|
|
195
|
+
readonly showFooter: boolean;
|
|
196
|
+
readonly lockScroll: boolean;
|
|
197
|
+
readonly glass: boolean;
|
|
198
|
+
readonly showIcon: boolean;
|
|
199
|
+
readonly autoFocus: boolean;
|
|
200
|
+
readonly alignCenter: boolean;
|
|
201
|
+
readonly draggable: boolean;
|
|
201
202
|
readonly cancelText: string;
|
|
202
203
|
readonly confirmText: string;
|
|
203
|
-
readonly teleportTo: string | HTMLElement;
|
|
204
204
|
readonly headerAlignCenter: boolean;
|
|
205
205
|
readonly headerAlign: "left" | "center" | "right";
|
|
206
206
|
readonly contentAlign: "left" | "center" | "right";
|
|
@@ -177,30 +177,30 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
177
177
|
readonly top: string;
|
|
178
178
|
readonly zIndex: number;
|
|
179
179
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
180
|
-
readonly type: "default" | "error" | "
|
|
180
|
+
readonly type: "default" | "error" | "info" | "warning" | "success";
|
|
181
181
|
readonly width: string | number;
|
|
182
182
|
readonly center: boolean;
|
|
183
183
|
readonly transformOrigin: "center" | "mouse";
|
|
184
184
|
readonly overflow: boolean;
|
|
185
|
-
readonly glass: boolean;
|
|
186
|
-
readonly closeIcon: string;
|
|
187
|
-
readonly showIcon: boolean;
|
|
188
|
-
readonly modelValue: boolean;
|
|
189
185
|
readonly loading: boolean;
|
|
190
186
|
readonly fullscreen: boolean;
|
|
191
|
-
readonly
|
|
192
|
-
readonly
|
|
193
|
-
readonly alignCenter: boolean;
|
|
194
|
-
readonly draggable: boolean;
|
|
195
|
-
readonly lockScroll: boolean;
|
|
187
|
+
readonly modelValue: boolean;
|
|
188
|
+
readonly closeOnPressEscape: boolean;
|
|
196
189
|
readonly modal: boolean;
|
|
197
190
|
readonly closeOnClickModal: boolean;
|
|
198
|
-
readonly closeOnPressEscape: boolean;
|
|
199
191
|
readonly showClose: boolean;
|
|
192
|
+
readonly closeIcon: string;
|
|
200
193
|
readonly destroyOnClose: boolean;
|
|
194
|
+
readonly teleportTo: string | HTMLElement;
|
|
195
|
+
readonly showFooter: boolean;
|
|
196
|
+
readonly lockScroll: boolean;
|
|
197
|
+
readonly glass: boolean;
|
|
198
|
+
readonly showIcon: boolean;
|
|
199
|
+
readonly autoFocus: boolean;
|
|
200
|
+
readonly alignCenter: boolean;
|
|
201
|
+
readonly draggable: boolean;
|
|
201
202
|
readonly cancelText: string;
|
|
202
203
|
readonly confirmText: string;
|
|
203
|
-
readonly teleportTo: string | HTMLElement;
|
|
204
204
|
readonly headerAlignCenter: boolean;
|
|
205
205
|
readonly headerAlign: "left" | "center" | "right";
|
|
206
206
|
readonly contentAlign: "left" | "center" | "right";
|
package/dist/drawer/index.d.ts
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
import Drawer from './src/drawer.vue';
|
|
2
|
-
export declare const YhDrawer:
|
|
2
|
+
export declare const YhDrawer: import("@yh-ui/utils").SFCWithInstall<{
|
|
3
|
+
new (...args: any[]): any;
|
|
4
|
+
__isFragment?: never;
|
|
5
|
+
__isTeleport?: never;
|
|
6
|
+
__isSuspense?: never;
|
|
7
|
+
} & import("vue").ComponentOptionsBase<any, {
|
|
8
|
+
drawerRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
9
|
+
handleClose: (isClickModal?: boolean) => void;
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, {
|
|
11
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
12
|
+
readonly round: boolean;
|
|
13
|
+
readonly size: string | number;
|
|
14
|
+
readonly inner: boolean;
|
|
15
|
+
readonly placement: import("./src/drawer").DrawerPlacement;
|
|
16
|
+
readonly modelValue: boolean;
|
|
17
|
+
readonly closeOnPressEscape: boolean;
|
|
18
|
+
readonly modal: boolean;
|
|
19
|
+
readonly closeOnClickModal: boolean;
|
|
20
|
+
readonly showClose: boolean;
|
|
21
|
+
readonly closeIcon: string;
|
|
22
|
+
readonly destroyOnClose: boolean;
|
|
23
|
+
readonly teleportTo: string | HTMLElement;
|
|
24
|
+
readonly showHeader: boolean;
|
|
25
|
+
readonly showFooter: boolean;
|
|
26
|
+
readonly lockScroll: boolean;
|
|
27
|
+
readonly glass: boolean;
|
|
28
|
+
readonly resizable: boolean;
|
|
29
|
+
readonly minSize: number;
|
|
30
|
+
readonly maxSize: number;
|
|
31
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
32
|
+
$slots: {
|
|
33
|
+
header?: (props: {}) => any;
|
|
34
|
+
} & {
|
|
35
|
+
title?: (props: {}) => any;
|
|
36
|
+
} & {
|
|
37
|
+
'close-icon'?: (props: {}) => any;
|
|
38
|
+
} & {
|
|
39
|
+
default?: (props: {}) => any;
|
|
40
|
+
} & {
|
|
41
|
+
footer?: (props: {}) => any;
|
|
42
|
+
};
|
|
43
|
+
})> & Record<string, unknown>;
|
|
3
44
|
export default YhDrawer;
|
|
4
45
|
export * from './src/drawer';
|
|
5
46
|
export type DrawerInstance = InstanceType<typeof Drawer>;
|
|
@@ -115,19 +115,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
115
115
|
readonly round: boolean;
|
|
116
116
|
readonly size: string | number;
|
|
117
117
|
readonly inner: boolean;
|
|
118
|
-
readonly glass: boolean;
|
|
119
|
-
readonly closeIcon: string;
|
|
120
|
-
readonly modelValue: boolean;
|
|
121
118
|
readonly placement: import("./drawer").DrawerPlacement;
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
119
|
+
readonly modelValue: boolean;
|
|
120
|
+
readonly closeOnPressEscape: boolean;
|
|
124
121
|
readonly modal: boolean;
|
|
125
122
|
readonly closeOnClickModal: boolean;
|
|
126
|
-
readonly closeOnPressEscape: boolean;
|
|
127
123
|
readonly showClose: boolean;
|
|
124
|
+
readonly closeIcon: string;
|
|
128
125
|
readonly destroyOnClose: boolean;
|
|
129
126
|
readonly teleportTo: string | HTMLElement;
|
|
130
127
|
readonly showHeader: boolean;
|
|
128
|
+
readonly showFooter: boolean;
|
|
129
|
+
readonly lockScroll: boolean;
|
|
130
|
+
readonly glass: boolean;
|
|
131
131
|
readonly resizable: boolean;
|
|
132
132
|
readonly minSize: number;
|
|
133
133
|
readonly maxSize: number;
|
|
@@ -115,19 +115,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
115
115
|
readonly round: boolean;
|
|
116
116
|
readonly size: string | number;
|
|
117
117
|
readonly inner: boolean;
|
|
118
|
-
readonly glass: boolean;
|
|
119
|
-
readonly closeIcon: string;
|
|
120
|
-
readonly modelValue: boolean;
|
|
121
118
|
readonly placement: import("./drawer").DrawerPlacement;
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
119
|
+
readonly modelValue: boolean;
|
|
120
|
+
readonly closeOnPressEscape: boolean;
|
|
124
121
|
readonly modal: boolean;
|
|
125
122
|
readonly closeOnClickModal: boolean;
|
|
126
|
-
readonly closeOnPressEscape: boolean;
|
|
127
123
|
readonly showClose: boolean;
|
|
124
|
+
readonly closeIcon: string;
|
|
128
125
|
readonly destroyOnClose: boolean;
|
|
129
126
|
readonly teleportTo: string | HTMLElement;
|
|
130
127
|
readonly showHeader: boolean;
|
|
128
|
+
readonly showFooter: boolean;
|
|
129
|
+
readonly lockScroll: boolean;
|
|
130
|
+
readonly glass: boolean;
|
|
131
131
|
readonly resizable: boolean;
|
|
132
132
|
readonly minSize: number;
|
|
133
133
|
readonly maxSize: number;
|
|
@@ -65,8 +65,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
65
65
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
66
66
|
readonly icon: string;
|
|
67
67
|
readonly danger: boolean;
|
|
68
|
-
readonly checked: boolean;
|
|
69
68
|
readonly command: string | number | object;
|
|
69
|
+
readonly checked: boolean;
|
|
70
70
|
readonly divided: boolean;
|
|
71
71
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
72
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -65,8 +65,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
65
65
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
66
66
|
readonly icon: string;
|
|
67
67
|
readonly danger: boolean;
|
|
68
|
-
readonly checked: boolean;
|
|
69
68
|
readonly command: string | number | object;
|
|
69
|
+
readonly checked: boolean;
|
|
70
70
|
readonly divided: boolean;
|
|
71
71
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
72
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -127,25 +127,25 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
127
127
|
readonly teleported: boolean;
|
|
128
128
|
readonly disabled: boolean;
|
|
129
129
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
130
|
-
readonly type: "" | "
|
|
130
|
+
readonly type: "" | "info" | "warning" | "success" | "primary" | "danger";
|
|
131
131
|
readonly visible: boolean | null;
|
|
132
132
|
readonly size: "small" | "default" | "large";
|
|
133
133
|
readonly maxHeight: string | number;
|
|
134
|
+
readonly items: import("./dropdown").DropdownItemData[];
|
|
135
|
+
readonly loading: boolean;
|
|
134
136
|
readonly placement: import("@floating-ui/dom").Placement;
|
|
137
|
+
readonly trigger: import("./dropdown").DropdownTrigger;
|
|
138
|
+
readonly showAfter: number;
|
|
139
|
+
readonly hideAfter: number;
|
|
140
|
+
readonly showArrow: boolean;
|
|
135
141
|
readonly popperClass: string;
|
|
136
|
-
readonly
|
|
142
|
+
readonly popperStyle: CSSProperties;
|
|
137
143
|
readonly plain: boolean;
|
|
138
144
|
readonly tabindex: string | number;
|
|
139
|
-
readonly popperStyle: CSSProperties;
|
|
140
|
-
readonly trigger: import("./dropdown").DropdownTrigger;
|
|
141
145
|
readonly emptyText: string;
|
|
142
|
-
readonly showAfter: number;
|
|
143
|
-
readonly hideAfter: number;
|
|
144
146
|
readonly hideOnClick: boolean;
|
|
145
|
-
readonly items: import("./dropdown").DropdownItemData[];
|
|
146
147
|
readonly checkable: boolean;
|
|
147
148
|
readonly splitButton: boolean;
|
|
148
|
-
readonly showArrow: boolean;
|
|
149
149
|
readonly popperArrow: boolean;
|
|
150
150
|
readonly loop: boolean;
|
|
151
151
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -127,25 +127,25 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
127
127
|
readonly teleported: boolean;
|
|
128
128
|
readonly disabled: boolean;
|
|
129
129
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
130
|
-
readonly type: "" | "
|
|
130
|
+
readonly type: "" | "info" | "warning" | "success" | "primary" | "danger";
|
|
131
131
|
readonly visible: boolean | null;
|
|
132
132
|
readonly size: "small" | "default" | "large";
|
|
133
133
|
readonly maxHeight: string | number;
|
|
134
|
+
readonly items: import("./dropdown").DropdownItemData[];
|
|
135
|
+
readonly loading: boolean;
|
|
134
136
|
readonly placement: import("@floating-ui/dom").Placement;
|
|
137
|
+
readonly trigger: import("./dropdown").DropdownTrigger;
|
|
138
|
+
readonly showAfter: number;
|
|
139
|
+
readonly hideAfter: number;
|
|
140
|
+
readonly showArrow: boolean;
|
|
135
141
|
readonly popperClass: string;
|
|
136
|
-
readonly
|
|
142
|
+
readonly popperStyle: CSSProperties;
|
|
137
143
|
readonly plain: boolean;
|
|
138
144
|
readonly tabindex: string | number;
|
|
139
|
-
readonly popperStyle: CSSProperties;
|
|
140
|
-
readonly trigger: import("./dropdown").DropdownTrigger;
|
|
141
145
|
readonly emptyText: string;
|
|
142
|
-
readonly showAfter: number;
|
|
143
|
-
readonly hideAfter: number;
|
|
144
146
|
readonly hideOnClick: boolean;
|
|
145
|
-
readonly items: import("./dropdown").DropdownItemData[];
|
|
146
147
|
readonly checkable: boolean;
|
|
147
148
|
readonly splitButton: boolean;
|
|
148
|
-
readonly showArrow: boolean;
|
|
149
149
|
readonly popperArrow: boolean;
|
|
150
150
|
readonly loop: boolean;
|
|
151
151
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|