@yh-ui/components 0.1.56 → 1.0.4
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/affix/index.d.ts +11 -6
- package/dist/affix/src/affix.d.ts +10 -0
- package/dist/affix/src/affix.vue.d.ts +2 -2
- package/dist/ai-action-group/index.d.ts +5 -0
- package/dist/ai-action-group/src/ai-action-group.d.ts +3 -0
- package/dist/ai-agent-card/index.d.ts +7 -0
- package/dist/ai-agent-card/src/ai-agent-card.d.ts +10 -0
- package/dist/ai-artifacts/index.d.ts +8 -0
- package/dist/ai-artifacts/src/ai-artifacts.d.ts +11 -1
- package/dist/ai-attachments/index.d.ts +5 -0
- package/dist/ai-attachments/src/ai-attachments.d.ts +12 -1
- package/dist/ai-bubble/index.d.ts +12 -0
- package/dist/ai-bubble/src/ai-bubble.d.ts +8 -1
- package/dist/ai-bubble/src/ai-bubble.vue +24 -20
- package/dist/ai-bubble-list/index.d.ts +3 -0
- package/dist/ai-bubble-list/src/ai-bubble-list.d.ts +14 -1
- package/dist/ai-chat/index.d.ts +5 -0
- package/dist/ai-chat/src/ai-chat.d.ts +9 -0
- package/dist/ai-code-block/index.d.ts +4 -0
- package/dist/ai-code-block/src/ai-code-block.d.ts +4 -0
- package/dist/ai-code-editor/index.d.ts +5 -0
- package/dist/ai-code-editor/src/ai-code-editor.d.ts +2 -0
- package/dist/ai-code-runner/index.d.ts +5 -0
- package/dist/ai-code-runner/src/ai-code-runner.d.ts +2 -0
- package/dist/ai-conversations/index.d.ts +5 -0
- package/dist/ai-conversations/src/ai-conversations.d.ts +16 -1
- package/dist/ai-editor-sender/index.d.ts +9 -0
- package/dist/ai-editor-sender/src/ai-editor-sender.d.ts +15 -0
- package/dist/ai-file-card/index.d.ts +8 -0
- package/dist/ai-file-card/src/ai-file-card.d.ts +5 -1
- package/dist/ai-mention/index.d.ts +9 -0
- package/dist/ai-mention/src/ai-mention.d.ts +3 -0
- package/dist/ai-mermaid/index.d.ts +5 -0
- package/dist/ai-mermaid/src/ai-mermaid.d.ts +6 -1
- package/dist/ai-mermaid/src/ai-mermaid.vue +6 -1
- package/dist/ai-prompts/index.d.ts +5 -0
- package/dist/ai-prompts/src/ai-prompts.d.ts +10 -0
- package/dist/ai-provider/index.d.ts +10 -0
- package/dist/ai-provider/src/ai-provider.d.ts +28 -0
- package/dist/ai-sender/index.d.ts +6 -0
- package/dist/ai-sender/src/ai-sender.d.ts +11 -1
- package/dist/ai-sources/index.d.ts +6 -0
- package/dist/ai-sources/src/ai-sources.d.ts +5 -1
- package/dist/ai-thinking/index.d.ts +5 -0
- package/dist/ai-thinking/src/ai-thinking.d.ts +3 -0
- package/dist/ai-thought-chain/index.d.ts +6 -0
- package/dist/ai-thought-chain/src/ai-thought-chain.d.ts +3 -0
- package/dist/ai-voice-trigger/index.d.ts +5 -0
- package/dist/ai-voice-trigger/src/ai-voice-trigger.d.ts +4 -0
- package/dist/ai-welcome/index.d.ts +5 -0
- package/dist/ai-welcome/src/ai-welcome.d.ts +6 -0
- package/dist/alert/index.d.ts +6 -0
- package/dist/alert/src/alert.d.ts +7 -0
- package/dist/alert/src/alert.vue +1 -1
- package/dist/autocomplete/index.d.ts +8 -0
- package/dist/avatar/index.cjs +15 -0
- package/dist/avatar/index.d.ts +19 -9
- package/dist/avatar/index.mjs +1 -0
- package/dist/back-top/index.d.ts +4 -0
- package/dist/back-top/src/back-top.d.ts +3 -0
- package/dist/badge/index.d.ts +4 -0
- package/dist/breadcrumb/index.d.ts +6 -0
- package/dist/breadcrumb/src/breadcrumb.d.ts +6 -0
- package/dist/button/index.d.ts +9 -0
- package/dist/calendar/index.d.ts +16 -1230
- package/dist/calendar/src/calendar.d.ts +16 -0
- package/dist/calendar/src/calendar.vue.d.ts +2 -415
- package/dist/card/index.d.ts +4 -0
- package/dist/carousel/index.d.ts +9 -0
- package/dist/carousel/src/carousel-item.d.ts +3 -0
- package/dist/carousel/src/carousel.d.ts +25 -0
- package/dist/cascader/index.d.ts +9 -7
- package/dist/cascader/src/cascader.d.ts +2 -2
- package/dist/cascader/src/cascader.vue +82 -30
- package/dist/cascader/src/cascader.vue.d.ts +1 -1
- package/dist/category-nav/index.d.ts +4 -0
- package/dist/category-nav/src/category-nav.d.ts +15 -0
- package/dist/checkbox/index.d.ts +10 -0
- package/dist/col/index.d.ts +34 -180
- package/dist/col/src/col.d.ts +14 -30
- package/dist/col/src/col.vue.d.ts +15 -90
- package/dist/color-picker/index.d.ts +11 -1
- package/dist/color-picker/src/color-picker.d.ts +8 -0
- package/dist/color-picker/src/color-picker.vue +6 -0
- package/dist/color-picker/src/color-picker.vue.d.ts +6 -1
- package/dist/config-provider/index.d.ts +3 -0
- package/dist/config-provider/src/config-provider.cjs +9 -0
- package/dist/config-provider/src/config-provider.d.ts +3 -0
- package/dist/config-provider/src/config-provider.mjs +9 -0
- package/dist/container/index.d.ts +15 -0
- package/dist/container/src/container.d.ts +12 -0
- package/dist/countdown/index.d.ts +9 -0
- package/dist/coupon-card/index.d.ts +3 -0
- package/dist/coupon-card/src/coupon-card.d.ts +10 -0
- package/dist/date-picker/index.d.ts +8 -0
- package/dist/date-picker/src/date-picker.d.ts +9 -0
- package/dist/descriptions/index.d.ts +6 -0
- package/dist/descriptions/src/descriptions.d.ts +9 -0
- package/dist/dialog/index.d.ts +12 -6
- package/dist/dialog/src/dialog.d.ts +13 -0
- package/dist/dialog/src/dialog.vue.d.ts +2 -2
- package/dist/divider/index.d.ts +2 -0
- package/dist/drawer/index.d.ts +8 -3
- package/dist/drawer/src/drawer.d.ts +11 -0
- package/dist/drawer/src/drawer.vue.d.ts +1 -1
- package/dist/dropdown/index.d.ts +11 -0
- package/dist/dropdown/src/dropdown.d.ts +10 -0
- package/dist/empty/index.cjs +15 -0
- package/dist/empty/index.d.ts +6 -0
- package/dist/empty/index.mjs +1 -0
- package/dist/filter-bar/index.d.ts +9 -0
- package/dist/filter-bar/src/filter-bar.d.ts +12 -0
- package/dist/form/index.d.ts +11 -0
- package/dist/gantt-chart/index.d.ts +8 -6
- package/dist/gantt-chart/src/gantt-chart.d.ts +1 -4
- package/dist/gantt-chart/src/gantt-chart.vue +43 -33
- package/dist/grid/index.d.ts +6 -0
- package/dist/grid/src/grid.d.ts +3 -0
- package/dist/icon/index.d.ts +5 -0
- package/dist/image/index.d.ts +18 -1
- package/dist/image/src/image-viewer.d.ts +11 -0
- package/dist/image/src/image-viewer.vue +56 -9
- package/dist/image/src/image-viewer.vue.d.ts +9 -1
- package/dist/image/src/image.d.ts +4 -0
- package/dist/image/src/image.vue +1 -1
- package/dist/image-magnifier/index.d.ts +6 -0
- package/dist/image-magnifier/src/image-magnifier.d.ts +15 -0
- package/dist/image-magnifier/src/image-magnifier.vue +9 -5
- package/dist/infinite-scroll/index.d.ts +5 -0
- package/dist/infinite-scroll/src/infinite-scroll.d.ts +10 -0
- package/dist/infinite-scroll/src/infinite-scroll.vue +37 -25
- package/dist/infinite-scroll/src/infinite-scroll.vue.d.ts +0 -2
- package/dist/input/index.d.ts +10 -0
- package/dist/input-number/index.d.ts +7 -0
- package/dist/input-tag/index.d.ts +7 -0
- package/dist/loading/index.d.ts +2 -0
- package/dist/loading/src/service.cjs +5 -1
- package/dist/loading/src/service.mjs +3 -1
- package/dist/lucky-draw/index.d.ts +4 -0
- package/dist/lucky-draw/src/lucky-draw.d.ts +6 -0
- package/dist/markdown-it.d.ts +2 -1
- package/dist/marquee/index.d.ts +12 -6
- package/dist/marquee/src/marquee.d.ts +8 -0
- package/dist/marquee/src/marquee.vue +16 -6
- package/dist/marquee/src/marquee.vue.d.ts +2 -5
- package/dist/mention/index.d.ts +9 -0
- package/dist/menu/index.d.ts +14 -0
- package/dist/menu/src/menu.d.ts +9 -0
- package/dist/message/index.d.ts +11 -0
- package/dist/message/src/message.d.ts +40 -32
- package/dist/message/src/message.vue.d.ts +1 -1
- package/dist/message-box/index.d.ts +7 -0
- package/dist/notification/index.d.ts +11 -0
- package/dist/notification/src/notification.d.ts +37 -33
- package/dist/notification/src/notification.vue.d.ts +1 -1
- package/dist/pagination/index.d.ts +6 -0
- package/dist/pagination/src/pagination.d.ts +3 -0
- package/dist/popconfirm/index.d.ts +5 -0
- package/dist/popconfirm/src/popconfirm.d.ts +11 -1
- package/dist/popover/index.d.ts +6 -0
- package/dist/popover/src/popover.d.ts +12 -1
- package/dist/price/index.d.ts +1 -0
- package/dist/price/src/price.d.ts +7 -0
- package/dist/product-card/index.d.ts +7 -3
- package/dist/product-card/src/product-card.cjs +1 -36
- package/dist/product-card/src/product-card.d.ts +5 -35
- package/dist/product-card/src/product-card.mjs +1 -36
- package/dist/product-card/src/product-card.vue +8 -14
- package/dist/product-card/src/product-card.vue.d.ts +1 -1
- package/dist/progress/index.d.ts +5 -0
- package/dist/progress/src/progress.d.ts +5 -0
- package/dist/radio/index.d.ts +14 -0
- package/dist/rate/index.d.ts +11 -6
- package/dist/rate/src/rate.d.ts +10 -1
- package/dist/rate/src/rate.vue.d.ts +3 -3
- package/dist/result/index.d.ts +4 -0
- package/dist/row/index.d.ts +18 -12
- package/dist/row/src/row.d.ts +13 -8
- package/dist/row/src/row.vue.d.ts +6 -6
- package/dist/scrollbar/index.d.ts +10 -20
- package/dist/scrollbar/src/scrollbar.d.ts +16 -4
- package/dist/scrollbar/src/scrollbar.vue.d.ts +2 -8
- package/dist/select/index.d.ts +15 -3
- package/dist/select/src/select.d.ts +4 -1
- package/dist/select/src/select.vue +1 -1
- package/dist/select/src/select.vue.d.ts +1 -1
- package/dist/skeleton/index.d.ts +6 -0
- package/dist/skeleton/src/skeleton.d.ts +4 -0
- package/dist/sku-selector/index.d.ts +5 -0
- package/dist/sku-selector/src/sku-selector.cjs +1 -14
- package/dist/sku-selector/src/sku-selector.d.ts +15 -17
- package/dist/sku-selector/src/sku-selector.mjs +1 -14
- package/dist/sku-selector/src/sku-selector.vue +6 -11
- package/dist/slider/index.d.ts +20 -3
- package/dist/slider/src/slider.d.ts +15 -0
- package/dist/slider/src/slider.vue +5 -0
- package/dist/slider/src/slider.vue.d.ts +5 -1
- package/dist/smart-address/index.d.ts +11 -6
- package/dist/smart-address/src/smart-address.cjs +0 -19
- package/dist/smart-address/src/smart-address.d.ts +13 -20
- package/dist/smart-address/src/smart-address.mjs +0 -19
- package/dist/smart-address/src/smart-address.vue.d.ts +3 -3
- package/dist/space/index.cjs +15 -0
- package/dist/space/index.d.ts +22 -12
- package/dist/space/index.mjs +1 -0
- package/dist/spin/index.d.ts +16 -10
- package/dist/spin/src/spin.cjs +5 -1
- package/dist/spin/src/spin.d.ts +13 -1
- package/dist/spin/src/spin.mjs +4 -0
- package/dist/spin/src/spin.vue +2 -2
- package/dist/spin/src/spin.vue.d.ts +4 -5
- package/dist/steps/index.d.ts +13 -0
- package/dist/steps/src/step.d.ts +6 -0
- package/dist/steps/src/steps.d.ts +3 -0
- package/dist/submit-bar/index.d.ts +3 -0
- package/dist/submit-bar/src/submit-bar.d.ts +7 -0
- package/dist/switch/index.d.ts +5 -0
- package/dist/switch/src/switch.d.ts +11 -1
- package/dist/table/index.d.ts +14 -4
- package/dist/tabs/index.d.ts +11 -0
- package/dist/tabs/src/tab-pane.d.ts +3 -0
- package/dist/tabs/src/tabs.d.ts +12 -0
- package/dist/tag/index.d.ts +7 -0
- package/dist/time-picker/index.d.ts +13 -3
- package/dist/time-picker/src/time-picker.d.ts +2 -2
- package/dist/time-picker/src/time-picker.vue +1 -1
- package/dist/time-picker/src/time-picker.vue.d.ts +1 -1
- package/dist/time-select/index.d.ts +10 -3
- package/dist/time-select/src/time-select.d.ts +2 -2
- package/dist/time-select/src/time-select.vue +79 -35
- package/dist/time-select/src/time-select.vue.d.ts +1 -1
- package/dist/tooltip/index.d.ts +7 -0
- package/dist/tooltip/src/tooltip.d.ts +11 -1
- package/dist/transfer/index.d.ts +6 -4
- package/dist/transfer/src/transfer-panel.vue +78 -27
- package/dist/transfer/src/transfer-panel.vue.d.ts +1 -1
- package/dist/transfer/src/transfer.d.ts +4 -4
- package/dist/transfer/src/transfer.vue +82 -26
- package/dist/transfer/src/transfer.vue.d.ts +2 -2
- package/dist/tree/index.d.ts +7 -0
- package/dist/tree-select/index.d.ts +8 -0
- package/dist/typography/index.d.ts +11 -0
- package/dist/upload/index.d.ts +10 -0
- package/dist/upload/src/upload.d.ts +19 -0
- package/dist/viewerjs.d.ts +2 -1
- package/dist/waterfall/index.d.ts +6 -0
- package/dist/waterfall/src/waterfall.d.ts +25 -7
- package/dist/watermark/index.d.ts +11 -54
- package/dist/watermark/src/watermark.d.ts +16 -9
- package/dist/watermark/src/watermark.vue +27 -5
- package/dist/watermark/src/watermark.vue.d.ts +3 -27
- package/package.json +6 -5
|
@@ -236,3 +236,9 @@ export declare const YhAiSender: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
236
236
|
export default YhAiSender;
|
|
237
237
|
export * from './src/ai-sender';
|
|
238
238
|
export type AiSenderInstance = InstanceType<typeof AiSender>;
|
|
239
|
+
export type YhAiSenderInstance = AiSenderInstance;
|
|
240
|
+
export type YhAiSenderProps = import('./src/ai-sender').AiSenderProps;
|
|
241
|
+
export type YhAiSenderEmits = import('./src/ai-sender').AiSenderEmits;
|
|
242
|
+
export type YhAiSenderSlots = import('./src/ai-sender').AiSenderSlots;
|
|
243
|
+
export type YhAiCommand = import('./src/ai-sender').AiCommand;
|
|
244
|
+
export type YhAiAttachment = import('./src/ai-sender').AiAttachment;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtractPropTypes, PropType } from 'vue';
|
|
1
|
+
import type { ExtractPropTypes, PropType, SlotsType } from 'vue';
|
|
2
2
|
export interface AiCommand {
|
|
3
3
|
/**
|
|
4
4
|
* 命令关键字,如 'summary'
|
|
@@ -149,3 +149,13 @@ export declare const aiSenderEmits: {
|
|
|
149
149
|
upload: (_files: File[]) => boolean;
|
|
150
150
|
};
|
|
151
151
|
export type AiSenderEmits = typeof aiSenderEmits;
|
|
152
|
+
export interface AiSenderSlots {
|
|
153
|
+
prefix?: () => unknown;
|
|
154
|
+
actions?: () => unknown;
|
|
155
|
+
submit?: (props: {
|
|
156
|
+
disabled: boolean;
|
|
157
|
+
loading: boolean;
|
|
158
|
+
submit: () => void;
|
|
159
|
+
}) => unknown;
|
|
160
|
+
}
|
|
161
|
+
export type AiSenderSlotTypes = SlotsType<AiSenderSlots>;
|
|
@@ -136,3 +136,9 @@ export declare const YhAiSources: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
136
136
|
export default YhAiSources;
|
|
137
137
|
export * from './src/ai-sources';
|
|
138
138
|
export type AiSourcesInstance = InstanceType<typeof AiSources>;
|
|
139
|
+
export type YhAiSourcesInstance = AiSourcesInstance;
|
|
140
|
+
export type YhAiSourcesProps = import('./src/ai-sources').AiSourcesProps;
|
|
141
|
+
export type YhAiSourcesEmits = import('./src/ai-sources').AiSourcesEmits;
|
|
142
|
+
export type YhAiSourcesSlots = import('./src/ai-sources').AiSourcesSlots;
|
|
143
|
+
export type YhAiSourcesExpose = import('./src/ai-sources').AiSourcesExpose;
|
|
144
|
+
export type YhAiSourceItem = import('./src/ai-sources').AiSourceItem;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExtractPropTypes, PropType } from 'vue';
|
|
1
|
+
import type { ExtractPropTypes, PropType, SlotsType } from 'vue';
|
|
2
2
|
/**
|
|
3
3
|
* 知识库引用来源项
|
|
4
4
|
*/
|
|
@@ -80,3 +80,7 @@ export type AiSourcesEmits = typeof aiSourcesEmits;
|
|
|
80
80
|
export interface AiSourcesExpose {
|
|
81
81
|
scrollToSource: (id: string | number) => void;
|
|
82
82
|
}
|
|
83
|
+
export interface AiSourcesSlots {
|
|
84
|
+
default?: () => unknown;
|
|
85
|
+
}
|
|
86
|
+
export type AiSourcesSlotTypes = SlotsType<AiSourcesSlots>;
|
|
@@ -152,3 +152,8 @@ export declare const YhAiThinking: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
152
152
|
export default YhAiThinking;
|
|
153
153
|
export * from './src/ai-thinking';
|
|
154
154
|
export type AiThinkingInstance = InstanceType<typeof AiThinking>;
|
|
155
|
+
export type YhAiThinkingInstance = AiThinkingInstance;
|
|
156
|
+
export type YhAiThinkingProps = import('./src/ai-thinking').AiThinkingProps;
|
|
157
|
+
export type YhAiThinkingEmits = import('./src/ai-thinking').AiThinkingEmits;
|
|
158
|
+
export type YhAiThinkingSlots = import('./src/ai-thinking').AiThinkingSlots;
|
|
159
|
+
export type YhAiThinkingStatus = import('./src/ai-thinking').AiThinkingStatus;
|
|
@@ -286,3 +286,9 @@ export declare const YhAiThoughtChain: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
286
286
|
export default YhAiThoughtChain;
|
|
287
287
|
export * from './src/ai-thought-chain';
|
|
288
288
|
export type AiThoughtChainInstance = InstanceType<typeof AiThoughtChain>;
|
|
289
|
+
export type YhAiThoughtChainInstance = AiThoughtChainInstance;
|
|
290
|
+
export type YhAiThoughtChainProps = import('./src/ai-thought-chain').AiThoughtChainProps;
|
|
291
|
+
export type YhAiThoughtChainEmits = import('./src/ai-thought-chain').AiThoughtChainEmits;
|
|
292
|
+
export type YhAiThoughtChainSlots = import('./src/ai-thought-chain').AiThoughtChainSlots;
|
|
293
|
+
export type YhAiThoughtStatus = import('./src/ai-thought-chain').AiThoughtStatus;
|
|
294
|
+
export type YhAiThoughtItem = import('./src/ai-thought-chain').AiThoughtItem;
|
|
@@ -155,3 +155,8 @@ export declare const YhAiVoiceTrigger: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
155
155
|
export default YhAiVoiceTrigger;
|
|
156
156
|
export * from './src/ai-voice-trigger';
|
|
157
157
|
export type AiVoiceTriggerInstance = InstanceType<typeof AiVoiceTrigger>;
|
|
158
|
+
export type YhAiVoiceTriggerInstance = AiVoiceTriggerInstance;
|
|
159
|
+
export type YhAiVoiceTriggerProps = import('./src/ai-voice-trigger').AiVoiceTriggerProps;
|
|
160
|
+
export type YhAiVoiceTriggerEmits = import('./src/ai-voice-trigger').AiVoiceTriggerEmits;
|
|
161
|
+
export type YhAiVoiceTriggerEmitMap = import('./src/ai-voice-trigger').AiVoiceTriggerEmitMap;
|
|
162
|
+
export type YhAiVoiceTriggerSlots = import('./src/ai-voice-trigger').AiVoiceTriggerSlots;
|
|
@@ -131,3 +131,8 @@ export declare const YhAiWelcome: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
131
131
|
export default YhAiWelcome;
|
|
132
132
|
export * from './src/ai-welcome';
|
|
133
133
|
export type AiWelcomeInstance = InstanceType<typeof AiWelcome>;
|
|
134
|
+
export type YhAiWelcomeInstance = AiWelcomeInstance;
|
|
135
|
+
export type YhAiWelcomeProps = import('./src/ai-welcome').AiWelcomeProps;
|
|
136
|
+
export type YhAiWelcomeEmits = import('./src/ai-welcome').AiWelcomeEmits;
|
|
137
|
+
export type YhAiWelcomeSlots = import('./src/ai-welcome').AiWelcomeSlots;
|
|
138
|
+
export type YhAiSuggestion = import('./src/ai-welcome').AiSuggestion;
|
|
@@ -57,3 +57,9 @@ export declare const aiWelcomeEmits: {
|
|
|
57
57
|
select: (suggestion: AiSuggestion) => boolean;
|
|
58
58
|
};
|
|
59
59
|
export type AiWelcomeEmits = typeof aiWelcomeEmits;
|
|
60
|
+
export interface AiWelcomeSlots {
|
|
61
|
+
icon?: () => unknown;
|
|
62
|
+
title?: () => unknown;
|
|
63
|
+
description?: () => unknown;
|
|
64
|
+
default?: () => unknown;
|
|
65
|
+
}
|
package/dist/alert/index.d.ts
CHANGED
|
@@ -291,3 +291,9 @@ export declare const YhAlert: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
291
291
|
export default YhAlert;
|
|
292
292
|
export * from './src/alert';
|
|
293
293
|
export type AlertInstance = InstanceType<typeof Alert>;
|
|
294
|
+
export type YhAlertInstance = AlertInstance;
|
|
295
|
+
export type YhAlertProps = import('./src/alert').AlertProps;
|
|
296
|
+
export type YhAlertEmits = import('./src/alert').AlertEmits;
|
|
297
|
+
export type YhAlertSlots = import('./src/alert').AlertSlots;
|
|
298
|
+
export type YhAlertType = import('./src/alert').AlertType;
|
|
299
|
+
export type YhAlertEffect = import('./src/alert').AlertEffect;
|
|
@@ -92,3 +92,10 @@ export declare const alertEmits: {
|
|
|
92
92
|
close: (evt: MouseEvent) => boolean;
|
|
93
93
|
};
|
|
94
94
|
export type AlertEmits = typeof alertEmits;
|
|
95
|
+
export interface AlertSlots {
|
|
96
|
+
title?: () => unknown;
|
|
97
|
+
default?: () => unknown;
|
|
98
|
+
icon?: () => unknown;
|
|
99
|
+
close?: () => unknown;
|
|
100
|
+
action?: () => unknown;
|
|
101
|
+
}
|
package/dist/alert/src/alert.vue
CHANGED
|
@@ -140,3 +140,11 @@ export declare const YhAutocomplete: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
140
140
|
export default YhAutocomplete;
|
|
141
141
|
export * from './src/autocomplete';
|
|
142
142
|
export type AutocompleteInstance = InstanceType<typeof Autocomplete>;
|
|
143
|
+
export type YhAutocompleteSize = import('./src/autocomplete').AutocompleteSize;
|
|
144
|
+
export type YhAutocompletePlacement = import('./src/autocomplete').AutocompletePlacement;
|
|
145
|
+
export type YhAutocompleteSuggestion = import('./src/autocomplete').AutocompleteSuggestion;
|
|
146
|
+
export type YhAutocompleteProps = import('./src/autocomplete').AutocompleteProps;
|
|
147
|
+
export type YhAutocompleteEmits = import('./src/autocomplete').AutocompleteEmits;
|
|
148
|
+
export type YhAutocompleteSlots = import('./src/autocomplete').AutocompleteSlots;
|
|
149
|
+
export type YhAutocompleteExpose = import('./src/autocomplete').AutocompleteExpose;
|
|
150
|
+
export type YhAutocompleteInstance = AutocompleteInstance;
|
package/dist/avatar/index.cjs
CHANGED
|
@@ -3,9 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _exportNames = {
|
|
7
|
+
YhAvatar: true
|
|
8
|
+
};
|
|
6
9
|
module.exports = exports.YhAvatar = void 0;
|
|
7
10
|
var _utils = require("@yh-ui/utils");
|
|
8
11
|
var _avatar = _interopRequireDefault(require("./src/avatar.vue"));
|
|
12
|
+
var _avatar2 = require("./src/avatar.cjs");
|
|
13
|
+
Object.keys(_avatar2).forEach(function (key) {
|
|
14
|
+
if (key === "default" || key === "__esModule") return;
|
|
15
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
16
|
+
if (key in exports && exports[key] === _avatar2[key]) return;
|
|
17
|
+
Object.defineProperty(exports, key, {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () {
|
|
20
|
+
return _avatar2[key];
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
});
|
|
9
24
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
25
|
const YhAvatar = exports.YhAvatar = (0, _utils.withInstall)(_avatar.default);
|
|
11
26
|
module.exports = YhAvatar;
|
package/dist/avatar/index.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import Avatar from './src/avatar.vue';
|
|
1
2
|
export declare const YhAvatar: import("@yh-ui/utils").SFCWithInstall<{
|
|
2
3
|
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("./index.js").AvatarProps> & Readonly<{
|
|
3
4
|
onError?: ((event: Event) => any) | undefined;
|
|
4
5
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
5
6
|
error: (event: Event) => any;
|
|
6
7
|
}, import("vue").PublicProps, {
|
|
7
|
-
size: import("./
|
|
8
|
+
size: import("./index.js").AvatarSize;
|
|
8
9
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
9
|
-
fit: import("./
|
|
10
|
-
shape: import("./
|
|
10
|
+
fit: import("./index.js").AvatarFit;
|
|
11
|
+
shape: import("./index.js").AvatarShape;
|
|
11
12
|
}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
12
13
|
P: {};
|
|
13
14
|
B: {};
|
|
@@ -18,10 +19,10 @@ export declare const YhAvatar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
18
19
|
}, Readonly<import("./index.js").AvatarProps> & Readonly<{
|
|
19
20
|
onError?: ((event: Event) => any) | undefined;
|
|
20
21
|
}>, {}, {}, {}, {}, {
|
|
21
|
-
size: import("./
|
|
22
|
+
size: import("./index.js").AvatarSize;
|
|
22
23
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
23
|
-
fit: import("./
|
|
24
|
-
shape: import("./
|
|
24
|
+
fit: import("./index.js").AvatarFit;
|
|
25
|
+
shape: import("./index.js").AvatarShape;
|
|
25
26
|
}>;
|
|
26
27
|
__isFragment?: never;
|
|
27
28
|
__isTeleport?: never;
|
|
@@ -31,14 +32,23 @@ export declare const YhAvatar: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
31
32
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
32
33
|
error: (event: Event) => any;
|
|
33
34
|
}, string, {
|
|
34
|
-
size: import("./
|
|
35
|
+
size: import("./index.js").AvatarSize;
|
|
35
36
|
crossorigin: "" | "anonymous" | "use-credentials";
|
|
36
|
-
fit: import("./
|
|
37
|
-
shape: import("./
|
|
37
|
+
fit: import("./index.js").AvatarFit;
|
|
38
|
+
shape: import("./index.js").AvatarShape;
|
|
38
39
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
39
40
|
$slots: {
|
|
40
41
|
default?: (props: {}) => any;
|
|
41
42
|
};
|
|
42
43
|
})> & Record<string, unknown>;
|
|
43
44
|
export default YhAvatar;
|
|
45
|
+
export * from './src/avatar';
|
|
44
46
|
export type { AvatarProps, AvatarEmits, AvatarSlots } from './src/avatar';
|
|
47
|
+
export type AvatarInstance = InstanceType<typeof Avatar>;
|
|
48
|
+
export type YhAvatarInstance = AvatarInstance;
|
|
49
|
+
export type YhAvatarProps = import('./src/avatar').AvatarProps;
|
|
50
|
+
export type YhAvatarEmits = import('./src/avatar').AvatarEmits;
|
|
51
|
+
export type YhAvatarSlots = import('./src/avatar').AvatarSlots;
|
|
52
|
+
export type YhAvatarShape = import('./src/avatar').AvatarShape;
|
|
53
|
+
export type YhAvatarSize = import('./src/avatar').AvatarSize;
|
|
54
|
+
export type YhAvatarFit = import('./src/avatar').AvatarFit;
|
package/dist/avatar/index.mjs
CHANGED
package/dist/back-top/index.d.ts
CHANGED
|
@@ -155,3 +155,7 @@ export declare const YhBackTop: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
155
155
|
export default YhBackTop;
|
|
156
156
|
export * from './src/back-top';
|
|
157
157
|
export type BackTopInstance = InstanceType<typeof BackTop>;
|
|
158
|
+
export type YhBackTopInstance = BackTopInstance;
|
|
159
|
+
export type YhBackTopProps = import('./src/back-top').BackTopProps;
|
|
160
|
+
export type YhBackTopEmits = import('./src/back-top').BackTopEmits;
|
|
161
|
+
export type YhBackTopSlots = import('./src/back-top').BackTopSlots;
|
package/dist/badge/index.d.ts
CHANGED
|
@@ -42,3 +42,7 @@ export declare const YhBadge: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
42
42
|
export default YhBadge;
|
|
43
43
|
export * from './src/badge';
|
|
44
44
|
export type BadgeInstance = InstanceType<typeof Badge>;
|
|
45
|
+
export type YhBadgeInstance = BadgeInstance;
|
|
46
|
+
export type YhBadgeProps = import('./src/badge').BadgeProps;
|
|
47
|
+
export type YhBadgeSlots = import('./src/badge').BadgeSlots;
|
|
48
|
+
export type YhBadgeType = import('./src/badge').BadgeType;
|
|
@@ -181,3 +181,9 @@ export default YhBreadcrumb;
|
|
|
181
181
|
export * from './src/breadcrumb';
|
|
182
182
|
export type BreadcrumbInstance = InstanceType<typeof Breadcrumb>;
|
|
183
183
|
export type BreadcrumbItemInstance = InstanceType<typeof BreadcrumbItem>;
|
|
184
|
+
export type YhBreadcrumbInstance = BreadcrumbInstance;
|
|
185
|
+
export type YhBreadcrumbItemInstance = BreadcrumbItemInstance;
|
|
186
|
+
export type YhBreadcrumbProps = import('./src/breadcrumb').BreadcrumbProps;
|
|
187
|
+
export type YhBreadcrumbSlots = import('./src/breadcrumb').BreadcrumbSlots;
|
|
188
|
+
export type YhBreadcrumbItemProps = import('./src/breadcrumb').BreadcrumbItemProps;
|
|
189
|
+
export type YhBreadcrumbItemSlots = import('./src/breadcrumb').BreadcrumbItemSlots;
|
|
@@ -40,3 +40,9 @@ export declare const breadcrumbItemProps: {
|
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
42
|
export type BreadcrumbItemProps = ExtractPropTypes<typeof breadcrumbItemProps>;
|
|
43
|
+
export interface BreadcrumbSlots {
|
|
44
|
+
default?: () => unknown;
|
|
45
|
+
}
|
|
46
|
+
export interface BreadcrumbItemSlots {
|
|
47
|
+
default?: () => unknown;
|
|
48
|
+
}
|
package/dist/button/index.d.ts
CHANGED
|
@@ -98,3 +98,12 @@ export declare const YhButton: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
98
98
|
export default YhButton;
|
|
99
99
|
export * from './src/button';
|
|
100
100
|
export type ButtonInstance = InstanceType<typeof Button>;
|
|
101
|
+
export type YhButtonInstance = ButtonInstance;
|
|
102
|
+
export type YhButtonProps = import('./src/button').ButtonProps;
|
|
103
|
+
export type YhButtonEmits = import('./src/button').ButtonEmits;
|
|
104
|
+
export type YhButtonSlots = import('./src/button').ButtonSlots;
|
|
105
|
+
export type YhButtonExpose = import('./src/button').ButtonExpose;
|
|
106
|
+
export type YhButtonType = import('./src/button').ButtonType;
|
|
107
|
+
export type YhButtonSize = import('./src/button').ButtonSize;
|
|
108
|
+
export type YhButtonNativeType = import('./src/button').ButtonNativeType;
|
|
109
|
+
export type YhButtonIconPosition = import('./src/button').IconPosition;
|