@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
|
@@ -39,19 +39,19 @@ declare const __VLS_component: import("vue").DefineComponent<SelectProps, {
|
|
|
39
39
|
height: number;
|
|
40
40
|
size: import("./select").SelectSize;
|
|
41
41
|
multiple: boolean;
|
|
42
|
+
loading: boolean;
|
|
42
43
|
clearable: boolean;
|
|
44
|
+
loadingText: string;
|
|
45
|
+
noDataText: string;
|
|
46
|
+
validateEvent: boolean;
|
|
43
47
|
valueKey: string;
|
|
44
48
|
fitInputWidth: boolean;
|
|
45
|
-
validateEvent: boolean;
|
|
46
|
-
loading: boolean;
|
|
47
49
|
itemHeight: number;
|
|
48
50
|
filterable: boolean;
|
|
49
51
|
collapseTags: boolean;
|
|
50
52
|
collapseTagsTooltip: boolean;
|
|
51
53
|
maxCollapseTags: number;
|
|
52
54
|
tagType: import("./select").SelectTagType;
|
|
53
|
-
loadingText: string;
|
|
54
|
-
noDataText: string;
|
|
55
55
|
multipleLimit: number;
|
|
56
56
|
remote: boolean;
|
|
57
57
|
noMatchText: string;
|
|
@@ -129,9 +129,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
129
129
|
vertical: boolean;
|
|
130
130
|
range: boolean;
|
|
131
131
|
label: string;
|
|
132
|
+
placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
132
133
|
modelValue: SliderValueType;
|
|
133
134
|
debounce: number;
|
|
134
|
-
placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-end" | "left-start" | "right-end" | "right-start";
|
|
135
135
|
validateEvent: boolean;
|
|
136
136
|
max: number;
|
|
137
137
|
min: number;
|
|
@@ -129,9 +129,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
129
129
|
vertical: boolean;
|
|
130
130
|
range: boolean;
|
|
131
131
|
label: string;
|
|
132
|
+
placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
132
133
|
modelValue: SliderValueType;
|
|
133
134
|
debounce: number;
|
|
134
|
-
placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-end" | "left-start" | "right-end" | "right-start";
|
|
135
135
|
validateEvent: boolean;
|
|
136
136
|
max: number;
|
|
137
137
|
min: number;
|
|
@@ -93,8 +93,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
93
93
|
readonly time: string;
|
|
94
94
|
readonly title: string;
|
|
95
95
|
readonly description: string;
|
|
96
|
-
readonly lazy: boolean;
|
|
97
96
|
readonly status: "wait" | "error" | "success" | "finish" | "process";
|
|
97
|
+
readonly lazy: boolean;
|
|
98
98
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
99
99
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
100
100
|
export default _default;
|
|
@@ -93,8 +93,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
93
93
|
readonly time: string;
|
|
94
94
|
readonly title: string;
|
|
95
95
|
readonly description: string;
|
|
96
|
-
readonly lazy: boolean;
|
|
97
96
|
readonly status: "wait" | "error" | "success" | "finish" | "process";
|
|
97
|
+
readonly lazy: boolean;
|
|
98
98
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
99
99
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
100
100
|
export default _default;
|
|
@@ -107,10 +107,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
107
107
|
name: string;
|
|
108
108
|
width: string | number;
|
|
109
109
|
size: "" | "small" | "default" | "large";
|
|
110
|
-
modelValue: SwitchValueType;
|
|
111
|
-
validateEvent: boolean;
|
|
112
110
|
loading: boolean;
|
|
113
111
|
id: string;
|
|
112
|
+
modelValue: SwitchValueType;
|
|
113
|
+
validateEvent: boolean;
|
|
114
114
|
tabindex: string | number;
|
|
115
115
|
ariaLabel: string;
|
|
116
116
|
inlinePrompt: boolean;
|
|
@@ -107,10 +107,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
107
107
|
name: string;
|
|
108
108
|
width: string | number;
|
|
109
109
|
size: "" | "small" | "default" | "large";
|
|
110
|
-
modelValue: SwitchValueType;
|
|
111
|
-
validateEvent: boolean;
|
|
112
110
|
loading: boolean;
|
|
113
111
|
id: string;
|
|
112
|
+
modelValue: SwitchValueType;
|
|
113
|
+
validateEvent: boolean;
|
|
114
114
|
tabindex: string | number;
|
|
115
115
|
ariaLabel: string;
|
|
116
116
|
inlinePrompt: boolean;
|
|
@@ -102,7 +102,7 @@ let ROWS_100;
|
|
|
102
102
|
console.log(`[PERF] \u6302\u8F7D\u65F6\u95F4 - 100\u884C: ${t100.toFixed(2)}ms 500\u884C: ${t500.toFixed(2)}ms 2k\u884C: ${t2k.toFixed(2)}ms`);
|
|
103
103
|
const ratio = t2k / t100;
|
|
104
104
|
console.log(`[PERF] 2k/100 \u65F6\u95F4\u589E\u957F\u6BD4: ${ratio.toFixed(2)}x`);
|
|
105
|
-
(0, _vitest.expect)(ratio).toBeLessThan(
|
|
105
|
+
(0, _vitest.expect)(ratio).toBeLessThan(150);
|
|
106
106
|
(0, _vitest.expect)(t100).toBeLessThan(5e3);
|
|
107
107
|
(0, _vitest.expect)(t500).toBeLessThan(8e3);
|
|
108
108
|
(0, _vitest.expect)(t2k).toBeLessThan(1e4);
|
|
@@ -183,7 +183,7 @@ let ROWS_100;
|
|
|
183
183
|
const max = Math.max(...times);
|
|
184
184
|
console.log(`[PERF] \u91CD\u590D\u6302\u8F7D ${ROUNDS} \u6B21 - \u5E73\u5747: ${avg.toFixed(2)}ms \u6700\u5927: ${max.toFixed(2)}ms`);
|
|
185
185
|
console.log(`[PERF] \u5404\u8F6E\u8017\u65F6: ${times.map(t => t.toFixed(1)).join(" / ")} ms`);
|
|
186
|
-
(0, _vitest.expect)(max).toBeLessThan(
|
|
186
|
+
(0, _vitest.expect)(max).toBeLessThan(12e3);
|
|
187
187
|
const degradation = times[ROUNDS - 1] / times[0];
|
|
188
188
|
console.log(`[PERF] \u6027\u80FD\u964D\u7EA7\u6BD4\uFF08\u6700\u540E/\u7B2C\u4E00\uFF09: ${degradation.toFixed(2)}x`);
|
|
189
189
|
(0, _vitest.expect)(degradation).toBeLessThan(3);
|
|
@@ -82,7 +82,7 @@ describe("YhTable \u865A\u62DF\u6EDA\u52A8\u6027\u80FD\u57FA\u51C6\u6D4B\u8BD5",
|
|
|
82
82
|
);
|
|
83
83
|
const ratio = t2k / t100;
|
|
84
84
|
console.log(`[PERF] 2k/100 \u65F6\u95F4\u589E\u957F\u6BD4: ${ratio.toFixed(2)}x`);
|
|
85
|
-
expect(ratio).toBeLessThan(
|
|
85
|
+
expect(ratio).toBeLessThan(150);
|
|
86
86
|
expect(t100).toBeLessThan(5e3);
|
|
87
87
|
expect(t500).toBeLessThan(8e3);
|
|
88
88
|
expect(t2k).toBeLessThan(1e4);
|
|
@@ -175,7 +175,7 @@ describe("YhTable \u865A\u62DF\u6EDA\u52A8\u6027\u80FD\u57FA\u51C6\u6D4B\u8BD5",
|
|
|
175
175
|
`[PERF] \u91CD\u590D\u6302\u8F7D ${ROUNDS} \u6B21 - \u5E73\u5747: ${avg.toFixed(2)}ms \u6700\u5927: ${max.toFixed(2)}ms`
|
|
176
176
|
);
|
|
177
177
|
console.log(`[PERF] \u5404\u8F6E\u8017\u65F6: ${times.map((t) => t.toFixed(1)).join(" / ")} ms`);
|
|
178
|
-
expect(max).toBeLessThan(
|
|
178
|
+
expect(max).toBeLessThan(12e3);
|
|
179
179
|
const degradation = times[ROUNDS - 1] / times[0];
|
|
180
180
|
console.log(`[PERF] \u6027\u80FD\u964D\u7EA7\u6BD4\uFF08\u6700\u540E/\u7B2C\u4E00\uFF09: ${degradation.toFixed(2)}x`);
|
|
181
181
|
expect(degradation).toBeLessThan(3);
|
|
@@ -636,6 +636,15 @@ const mockColumns = [{
|
|
|
636
636
|
pageSize: 2,
|
|
637
637
|
total: mockData.length
|
|
638
638
|
}
|
|
639
|
+
},
|
|
640
|
+
global: {
|
|
641
|
+
stubs: {
|
|
642
|
+
YhPagination: true,
|
|
643
|
+
YhSelect: true,
|
|
644
|
+
YhOption: true,
|
|
645
|
+
YhInput: true,
|
|
646
|
+
YhTooltip: true
|
|
647
|
+
}
|
|
639
648
|
}
|
|
640
649
|
});
|
|
641
650
|
(0, _vitest.expect)(wrapper.find(".yh-table__pagination-wrapper").exists()).toBe(true);
|
|
@@ -651,6 +660,15 @@ const mockColumns = [{
|
|
|
651
660
|
pageSize: 2,
|
|
652
661
|
total: mockData.length
|
|
653
662
|
}
|
|
663
|
+
},
|
|
664
|
+
global: {
|
|
665
|
+
stubs: {
|
|
666
|
+
YhPagination: true,
|
|
667
|
+
YhSelect: true,
|
|
668
|
+
YhOption: true,
|
|
669
|
+
YhInput: true,
|
|
670
|
+
YhTooltip: true
|
|
671
|
+
}
|
|
654
672
|
}
|
|
655
673
|
});
|
|
656
674
|
const pagination = wrapper.findComponent({
|
|
@@ -573,6 +573,15 @@ describe("Table Complex Scenarios", () => {
|
|
|
573
573
|
pageSize: 2,
|
|
574
574
|
total: mockData.length
|
|
575
575
|
}
|
|
576
|
+
},
|
|
577
|
+
global: {
|
|
578
|
+
stubs: {
|
|
579
|
+
YhPagination: true,
|
|
580
|
+
YhSelect: true,
|
|
581
|
+
YhOption: true,
|
|
582
|
+
YhInput: true,
|
|
583
|
+
YhTooltip: true
|
|
584
|
+
}
|
|
576
585
|
}
|
|
577
586
|
});
|
|
578
587
|
expect(wrapper.find(".yh-table__pagination-wrapper").exists()).toBe(true);
|
|
@@ -588,6 +597,15 @@ describe("Table Complex Scenarios", () => {
|
|
|
588
597
|
pageSize: 2,
|
|
589
598
|
total: mockData.length
|
|
590
599
|
}
|
|
600
|
+
},
|
|
601
|
+
global: {
|
|
602
|
+
stubs: {
|
|
603
|
+
YhPagination: true,
|
|
604
|
+
YhSelect: true,
|
|
605
|
+
YhOption: true,
|
|
606
|
+
YhInput: true,
|
|
607
|
+
YhTooltip: true
|
|
608
|
+
}
|
|
591
609
|
}
|
|
592
610
|
});
|
|
593
611
|
const pagination = wrapper.findComponent({ name: "YhPagination" });
|
|
@@ -20,6 +20,12 @@ _vitest.vi.mock("@yh-ui/hooks", () => ({
|
|
|
20
20
|
prop: "age",
|
|
21
21
|
label: "Age"
|
|
22
22
|
}]);
|
|
23
|
+
(0, _vitest.beforeEach)(() => {
|
|
24
|
+
_vitest.vi.spyOn(console, "error").mockImplementation(() => {});
|
|
25
|
+
});
|
|
26
|
+
(0, _vitest.afterEach)(() => {
|
|
27
|
+
_vitest.vi.restoreAllMocks();
|
|
28
|
+
});
|
|
23
29
|
(0, _vitest.it)("parseCSV / parseTXT should map rows correctly", () => {
|
|
24
30
|
const {
|
|
25
31
|
parseCSV,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { describe, it, expect, vi } from "vitest";
|
|
1
|
+
import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
|
|
2
2
|
import { ref } from "vue";
|
|
3
3
|
import { useTableImport } from "../src/use-table-import.mjs";
|
|
4
4
|
vi.mock("@yh-ui/hooks", () => ({
|
|
@@ -11,6 +11,13 @@ describe("useTableImport hook", () => {
|
|
|
11
11
|
{ prop: "name", label: "Name" },
|
|
12
12
|
{ prop: "age", label: "Age" }
|
|
13
13
|
]);
|
|
14
|
+
beforeEach(() => {
|
|
15
|
+
vi.spyOn(console, "error").mockImplementation(() => {
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
afterEach(() => {
|
|
19
|
+
vi.restoreAllMocks();
|
|
20
|
+
});
|
|
14
21
|
it("parseCSV / parseTXT should map rows correctly", () => {
|
|
15
22
|
const { parseCSV, parseTXT } = useTableImport(mockData, mockColumns);
|
|
16
23
|
const csvContent = `ID,Name,Age
|
|
@@ -59,11 +59,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
59
59
|
maxWidth: number | string;
|
|
60
60
|
minWidth: number | string;
|
|
61
61
|
label: string;
|
|
62
|
+
className: string;
|
|
63
|
+
resizable: boolean;
|
|
62
64
|
filterable: boolean;
|
|
63
65
|
align: "left" | "center" | "right";
|
|
64
|
-
className: string;
|
|
65
66
|
headerAlign: "left" | "center" | "right";
|
|
66
|
-
resizable: boolean;
|
|
67
67
|
prop: string;
|
|
68
68
|
columnKey: string;
|
|
69
69
|
sortable: boolean | "custom";
|
|
@@ -59,11 +59,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
|
|
|
59
59
|
maxWidth: number | string;
|
|
60
60
|
minWidth: number | string;
|
|
61
61
|
label: string;
|
|
62
|
+
className: string;
|
|
63
|
+
resizable: boolean;
|
|
62
64
|
filterable: boolean;
|
|
63
65
|
align: "left" | "center" | "right";
|
|
64
|
-
className: string;
|
|
65
66
|
headerAlign: "left" | "center" | "right";
|
|
66
|
-
resizable: boolean;
|
|
67
67
|
prop: string;
|
|
68
68
|
columnKey: string;
|
|
69
69
|
sortable: boolean | "custom";
|
|
@@ -464,16 +464,16 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
464
464
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
465
465
|
readonly data: Record<string, unknown>[];
|
|
466
466
|
readonly size: import("./table").TableSize;
|
|
467
|
-
readonly border: boolean | "none" | "inner" | "
|
|
467
|
+
readonly border: boolean | "none" | "inner" | "full" | "outer";
|
|
468
468
|
readonly tableLayout: "fixed" | "auto";
|
|
469
469
|
readonly columns: TableColumn<Record<string, unknown>>[];
|
|
470
470
|
readonly loading: boolean | import("./table").TableLoadingConfig;
|
|
471
471
|
readonly fit: boolean;
|
|
472
472
|
readonly lazy: boolean;
|
|
473
|
-
readonly emptyText: string;
|
|
474
|
-
readonly pagination: boolean | TablePaginationConfig;
|
|
475
473
|
readonly showHeader: boolean;
|
|
476
474
|
readonly resizable: boolean;
|
|
475
|
+
readonly emptyText: string;
|
|
476
|
+
readonly pagination: boolean | TablePaginationConfig;
|
|
477
477
|
readonly rowKey: import("./table").RowKey;
|
|
478
478
|
readonly stripe: boolean;
|
|
479
479
|
readonly highlightCurrentRow: boolean;
|
|
@@ -464,16 +464,16 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
464
464
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
465
465
|
readonly data: Record<string, unknown>[];
|
|
466
466
|
readonly size: import("./table").TableSize;
|
|
467
|
-
readonly border: boolean | "none" | "inner" | "
|
|
467
|
+
readonly border: boolean | "none" | "inner" | "full" | "outer";
|
|
468
468
|
readonly tableLayout: "fixed" | "auto";
|
|
469
469
|
readonly columns: TableColumn<Record<string, unknown>>[];
|
|
470
470
|
readonly loading: boolean | import("./table").TableLoadingConfig;
|
|
471
471
|
readonly fit: boolean;
|
|
472
472
|
readonly lazy: boolean;
|
|
473
|
-
readonly emptyText: string;
|
|
474
|
-
readonly pagination: boolean | TablePaginationConfig;
|
|
475
473
|
readonly showHeader: boolean;
|
|
476
474
|
readonly resizable: boolean;
|
|
475
|
+
readonly emptyText: string;
|
|
476
|
+
readonly pagination: boolean | TablePaginationConfig;
|
|
477
477
|
readonly rowKey: import("./table").RowKey;
|
|
478
478
|
readonly stripe: boolean;
|
|
479
479
|
readonly highlightCurrentRow: boolean;
|
|
@@ -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 label: string;
|
|
68
|
-
readonly closable: boolean;
|
|
69
68
|
readonly lazy: boolean;
|
|
69
|
+
readonly closable: boolean;
|
|
70
70
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
71
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
72
72
|
export default _default;
|
|
@@ -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 label: string;
|
|
68
|
-
readonly closable: boolean;
|
|
69
68
|
readonly lazy: boolean;
|
|
69
|
+
readonly closable: boolean;
|
|
70
70
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
71
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
72
72
|
export default _default;
|
|
@@ -87,10 +87,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
87
87
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
88
88
|
readonly type: "line" | "card" | "border-card" | "segment";
|
|
89
89
|
readonly stretch: boolean;
|
|
90
|
-
readonly closable: boolean;
|
|
91
|
-
readonly modelValue: string | number;
|
|
92
90
|
readonly trigger: "click" | "hover";
|
|
93
91
|
readonly contentClass: string;
|
|
92
|
+
readonly modelValue: string | number;
|
|
93
|
+
readonly closable: boolean;
|
|
94
94
|
readonly draggable: boolean;
|
|
95
95
|
readonly activeColor: string;
|
|
96
96
|
readonly tabPosition: "top" | "bottom" | "left" | "right";
|
|
@@ -87,10 +87,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
87
87
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
88
88
|
readonly type: "line" | "card" | "border-card" | "segment";
|
|
89
89
|
readonly stretch: boolean;
|
|
90
|
-
readonly closable: boolean;
|
|
91
|
-
readonly modelValue: string | number;
|
|
92
90
|
readonly trigger: "click" | "hover";
|
|
93
91
|
readonly contentClass: string;
|
|
92
|
+
readonly modelValue: string | number;
|
|
93
|
+
readonly closable: boolean;
|
|
94
94
|
readonly draggable: boolean;
|
|
95
95
|
readonly activeColor: string;
|
|
96
96
|
readonly tabPosition: "top" | "bottom" | "left" | "right";
|
|
@@ -36,13 +36,13 @@ declare const __VLS_component: import("vue").DefineComponent<TimePickerProps, {
|
|
|
36
36
|
placeholder: string;
|
|
37
37
|
clearable: boolean;
|
|
38
38
|
validateEvent: boolean;
|
|
39
|
+
showFooter: boolean;
|
|
39
40
|
format: string;
|
|
40
41
|
tabindex: number | string;
|
|
41
42
|
showSeconds: boolean;
|
|
42
43
|
startPlaceholder: string;
|
|
43
44
|
endPlaceholder: string;
|
|
44
45
|
rangeSeparator: string;
|
|
45
|
-
showFooter: boolean;
|
|
46
46
|
orderOnConfirm: boolean;
|
|
47
47
|
isRange: boolean;
|
|
48
48
|
cancelText: string;
|
|
@@ -36,13 +36,13 @@ declare const __VLS_component: import("vue").DefineComponent<TimePickerProps, {
|
|
|
36
36
|
placeholder: string;
|
|
37
37
|
clearable: boolean;
|
|
38
38
|
validateEvent: boolean;
|
|
39
|
+
showFooter: boolean;
|
|
39
40
|
format: string;
|
|
40
41
|
tabindex: number | string;
|
|
41
42
|
showSeconds: boolean;
|
|
42
43
|
startPlaceholder: string;
|
|
43
44
|
endPlaceholder: string;
|
|
44
45
|
rangeSeparator: string;
|
|
45
|
-
showFooter: boolean;
|
|
46
46
|
orderOnConfirm: boolean;
|
|
47
47
|
isRange: boolean;
|
|
48
48
|
cancelText: string;
|
package/dist/tooltip/index.d.ts
CHANGED
|
@@ -20,23 +20,23 @@ export declare const YhTooltip: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
20
20
|
readonly content: string;
|
|
21
21
|
readonly maxHeight: string | number;
|
|
22
22
|
readonly transition: string;
|
|
23
|
-
readonly
|
|
24
|
-
readonly scrollable: boolean;
|
|
25
|
-
readonly placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-end" | "left-start" | "right-end" | "right-start";
|
|
26
|
-
readonly popperClass: string;
|
|
27
|
-
readonly popperStyle: Record<string, unknown>;
|
|
23
|
+
readonly placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
28
24
|
readonly trigger: "manual" | "click" | "contextmenu" | "focus" | "hover" | ("manual" | "click" | "contextmenu" | "focus" | "hover")[];
|
|
29
|
-
readonly contentStyle: string | Record<string, unknown>;
|
|
30
|
-
readonly contentClass: string;
|
|
31
25
|
readonly showAfter: number;
|
|
32
26
|
readonly hideAfter: number;
|
|
33
27
|
readonly showArrow: boolean;
|
|
34
28
|
readonly interactive: boolean;
|
|
29
|
+
readonly effect: string;
|
|
35
30
|
readonly followCursor: boolean;
|
|
31
|
+
readonly popperClass: string;
|
|
36
32
|
readonly persistent: boolean;
|
|
37
33
|
readonly rawContent: boolean;
|
|
34
|
+
readonly scrollable: boolean;
|
|
35
|
+
readonly contentClass: string;
|
|
36
|
+
readonly contentStyle: string | Record<string, unknown>;
|
|
38
37
|
readonly arrowClass: string;
|
|
39
38
|
readonly arrowStyle: Record<string, unknown>;
|
|
39
|
+
readonly popperStyle: Record<string, unknown>;
|
|
40
40
|
readonly arrowWrapperClass: string;
|
|
41
41
|
readonly arrowWrapperStyle: Record<string, unknown>;
|
|
42
42
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -138,23 +138,23 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
138
138
|
readonly content: string;
|
|
139
139
|
readonly maxHeight: string | number;
|
|
140
140
|
readonly transition: string;
|
|
141
|
-
readonly
|
|
142
|
-
readonly scrollable: boolean;
|
|
143
|
-
readonly placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-end" | "left-start" | "right-end" | "right-start";
|
|
144
|
-
readonly popperClass: string;
|
|
145
|
-
readonly popperStyle: Record<string, unknown>;
|
|
141
|
+
readonly placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
146
142
|
readonly trigger: "manual" | "click" | "contextmenu" | "focus" | "hover" | ("manual" | "click" | "contextmenu" | "focus" | "hover")[];
|
|
147
|
-
readonly contentStyle: string | Record<string, unknown>;
|
|
148
|
-
readonly contentClass: string;
|
|
149
143
|
readonly showAfter: number;
|
|
150
144
|
readonly hideAfter: number;
|
|
151
145
|
readonly showArrow: boolean;
|
|
152
146
|
readonly interactive: boolean;
|
|
147
|
+
readonly effect: string;
|
|
153
148
|
readonly followCursor: boolean;
|
|
149
|
+
readonly popperClass: string;
|
|
154
150
|
readonly persistent: boolean;
|
|
155
151
|
readonly rawContent: boolean;
|
|
152
|
+
readonly scrollable: boolean;
|
|
153
|
+
readonly contentClass: string;
|
|
154
|
+
readonly contentStyle: string | Record<string, unknown>;
|
|
156
155
|
readonly arrowClass: string;
|
|
157
156
|
readonly arrowStyle: Record<string, unknown>;
|
|
157
|
+
readonly popperStyle: Record<string, unknown>;
|
|
158
158
|
readonly arrowWrapperClass: string;
|
|
159
159
|
readonly arrowWrapperStyle: Record<string, unknown>;
|
|
160
160
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -138,23 +138,23 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
138
138
|
readonly content: string;
|
|
139
139
|
readonly maxHeight: string | number;
|
|
140
140
|
readonly transition: string;
|
|
141
|
-
readonly
|
|
142
|
-
readonly scrollable: boolean;
|
|
143
|
-
readonly placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-end" | "left-start" | "right-end" | "right-start";
|
|
144
|
-
readonly popperClass: string;
|
|
145
|
-
readonly popperStyle: Record<string, unknown>;
|
|
141
|
+
readonly placement: "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end";
|
|
146
142
|
readonly trigger: "manual" | "click" | "contextmenu" | "focus" | "hover" | ("manual" | "click" | "contextmenu" | "focus" | "hover")[];
|
|
147
|
-
readonly contentStyle: string | Record<string, unknown>;
|
|
148
|
-
readonly contentClass: string;
|
|
149
143
|
readonly showAfter: number;
|
|
150
144
|
readonly hideAfter: number;
|
|
151
145
|
readonly showArrow: boolean;
|
|
152
146
|
readonly interactive: boolean;
|
|
147
|
+
readonly effect: string;
|
|
153
148
|
readonly followCursor: boolean;
|
|
149
|
+
readonly popperClass: string;
|
|
154
150
|
readonly persistent: boolean;
|
|
155
151
|
readonly rawContent: boolean;
|
|
152
|
+
readonly scrollable: boolean;
|
|
153
|
+
readonly contentClass: string;
|
|
154
|
+
readonly contentStyle: string | Record<string, unknown>;
|
|
156
155
|
readonly arrowClass: string;
|
|
157
156
|
readonly arrowStyle: Record<string, unknown>;
|
|
157
|
+
readonly popperStyle: Record<string, unknown>;
|
|
158
158
|
readonly arrowWrapperClass: string;
|
|
159
159
|
readonly arrowWrapperStyle: Record<string, unknown>;
|
|
160
160
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -198,11 +198,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
198
198
|
disabled?: string;
|
|
199
199
|
};
|
|
200
200
|
readonly load: import("./tree").LoadMethod;
|
|
201
|
+
readonly lazy: boolean;
|
|
201
202
|
readonly virtual: boolean;
|
|
202
203
|
readonly itemHeight: number;
|
|
203
204
|
readonly filterMethod: import("./tree").FilterMethod;
|
|
204
205
|
readonly checkStrictly: boolean;
|
|
205
|
-
readonly lazy: boolean;
|
|
206
206
|
readonly emptyText: string;
|
|
207
207
|
readonly draggable: boolean;
|
|
208
208
|
readonly indent: number;
|
|
@@ -198,11 +198,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
198
198
|
disabled?: string;
|
|
199
199
|
};
|
|
200
200
|
readonly load: import("./tree").LoadMethod;
|
|
201
|
+
readonly lazy: boolean;
|
|
201
202
|
readonly virtual: boolean;
|
|
202
203
|
readonly itemHeight: number;
|
|
203
204
|
readonly filterMethod: import("./tree").FilterMethod;
|
|
204
205
|
readonly checkStrictly: boolean;
|
|
205
|
-
readonly lazy: boolean;
|
|
206
206
|
readonly emptyText: string;
|
|
207
207
|
readonly draggable: boolean;
|
|
208
208
|
readonly indent: number;
|
|
@@ -109,17 +109,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
109
109
|
readonly size: "small" | "default" | "large";
|
|
110
110
|
readonly multiple: boolean;
|
|
111
111
|
readonly props: import("./tree-select").TreePropsAlias;
|
|
112
|
-
readonly
|
|
112
|
+
readonly popperClass: string;
|
|
113
113
|
readonly placeholder: string;
|
|
114
|
+
readonly modelValue: TreeKey | TreeKey[];
|
|
114
115
|
readonly clearable: boolean;
|
|
115
|
-
readonly
|
|
116
|
+
readonly lazy: boolean;
|
|
116
117
|
readonly virtual: boolean;
|
|
117
118
|
readonly filterable: boolean;
|
|
118
119
|
readonly collapseTags: boolean;
|
|
119
120
|
readonly collapseTagsTooltip: boolean;
|
|
120
121
|
readonly maxCollapseTags: number;
|
|
121
122
|
readonly checkStrictly: boolean;
|
|
122
|
-
readonly lazy: boolean;
|
|
123
123
|
readonly emptyText: string;
|
|
124
124
|
readonly itemSize: number;
|
|
125
125
|
readonly indent: number;
|
|
@@ -109,17 +109,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
109
109
|
readonly size: "small" | "default" | "large";
|
|
110
110
|
readonly multiple: boolean;
|
|
111
111
|
readonly props: import("./tree-select").TreePropsAlias;
|
|
112
|
-
readonly
|
|
112
|
+
readonly popperClass: string;
|
|
113
113
|
readonly placeholder: string;
|
|
114
|
+
readonly modelValue: TreeKey | TreeKey[];
|
|
114
115
|
readonly clearable: boolean;
|
|
115
|
-
readonly
|
|
116
|
+
readonly lazy: boolean;
|
|
116
117
|
readonly virtual: boolean;
|
|
117
118
|
readonly filterable: boolean;
|
|
118
119
|
readonly collapseTags: boolean;
|
|
119
120
|
readonly collapseTagsTooltip: boolean;
|
|
120
121
|
readonly maxCollapseTags: number;
|
|
121
122
|
readonly checkStrictly: boolean;
|
|
122
|
-
readonly lazy: boolean;
|
|
123
123
|
readonly emptyText: string;
|
|
124
124
|
readonly itemSize: number;
|
|
125
125
|
readonly indent: number;
|
|
@@ -111,11 +111,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
111
111
|
readonly data: Record<string, unknown>;
|
|
112
112
|
readonly drag: boolean;
|
|
113
113
|
readonly multiple: boolean;
|
|
114
|
+
readonly headers: Record<string, string>;
|
|
114
115
|
readonly action: string;
|
|
115
116
|
readonly method: string;
|
|
116
117
|
readonly fileList: UploadFile[];
|
|
117
118
|
readonly accept: string;
|
|
118
|
-
readonly headers: Record<string, string>;
|
|
119
119
|
readonly showFileList: boolean;
|
|
120
120
|
readonly autoUpload: boolean;
|
|
121
121
|
readonly listType: "text" | "picture" | "picture-card";
|
|
@@ -111,11 +111,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
111
111
|
readonly data: Record<string, unknown>;
|
|
112
112
|
readonly drag: boolean;
|
|
113
113
|
readonly multiple: boolean;
|
|
114
|
+
readonly headers: Record<string, string>;
|
|
114
115
|
readonly action: string;
|
|
115
116
|
readonly method: string;
|
|
116
117
|
readonly fileList: UploadFile[];
|
|
117
118
|
readonly accept: string;
|
|
118
|
-
readonly headers: Record<string, string>;
|
|
119
119
|
readonly showFileList: boolean;
|
|
120
120
|
readonly autoUpload: boolean;
|
|
121
121
|
readonly listType: "text" | "picture" | "picture-card";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yh-ui/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"description": "YH-UI Vue 3 Components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -37,16 +37,19 @@
|
|
|
37
37
|
"@floating-ui/dom": "^1.7.4",
|
|
38
38
|
"async-validator": "^4.2.5",
|
|
39
39
|
"dayjs": "^1.11.19",
|
|
40
|
+
"highlight.js": "^11.11.1",
|
|
41
|
+
"markdown-it": "^14.1.1",
|
|
40
42
|
"viewerjs": "^1.11.7",
|
|
41
|
-
"@yh-ui/hooks": "0.1.
|
|
42
|
-
"@yh-ui/
|
|
43
|
-
"@yh-ui/
|
|
44
|
-
"@yh-ui/
|
|
43
|
+
"@yh-ui/hooks": "0.1.15",
|
|
44
|
+
"@yh-ui/theme": "0.1.15",
|
|
45
|
+
"@yh-ui/utils": "0.1.15",
|
|
46
|
+
"@yh-ui/locale": "0.1.15"
|
|
45
47
|
},
|
|
46
48
|
"peerDependencies": {
|
|
47
49
|
"vue": "^3.5.27"
|
|
48
50
|
},
|
|
49
51
|
"devDependencies": {
|
|
52
|
+
"@types/markdown-it": "^14.1.2",
|
|
50
53
|
"@vitejs/plugin-vue": "^6.0.0",
|
|
51
54
|
"sass": "^1.83.1",
|
|
52
55
|
"typescript": "^5.7.3",
|