@yh-ui/components 1.0.36 → 1.0.38
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/src/affix.d.vue.ts +4 -4
- package/dist/affix/src/affix.vue.d.ts +4 -4
- package/dist/ai-action-group/src/ai-action-group.d.vue.ts +3 -3
- package/dist/ai-action-group/src/ai-action-group.vue.d.ts +3 -3
- package/dist/ai-agent-card/src/ai-agent-card.d.vue.ts +1 -1
- package/dist/ai-agent-card/src/ai-agent-card.vue.d.ts +1 -1
- package/dist/ai-artifacts/src/ai-artifacts.d.ts +1 -1
- package/dist/ai-artifacts/src/ai-artifacts.d.vue.ts +3 -3
- package/dist/ai-artifacts/src/ai-artifacts.vue.d.ts +3 -3
- package/dist/ai-attachments/src/ai-attachments.d.vue.ts +1 -1
- package/dist/ai-attachments/src/ai-attachments.vue.d.ts +1 -1
- package/dist/ai-bubble/index.d.ts +6 -6
- package/dist/ai-bubble/src/ai-bubble.d.vue.ts +2 -2
- package/dist/ai-bubble/src/ai-bubble.vue.d.ts +2 -2
- package/dist/ai-bubble-list/src/ai-bubble-list.d.vue.ts +2 -2
- package/dist/ai-bubble-list/src/ai-bubble-list.vue.d.ts +2 -2
- package/dist/ai-chat/src/ai-chat.d.vue.ts +1 -1
- package/dist/ai-chat/src/ai-chat.vue.d.ts +1 -1
- package/dist/ai-code-editor/index.d.ts +1 -1
- package/dist/ai-code-editor/src/ai-code-editor.d.vue.ts +1 -1
- package/dist/ai-code-editor/src/ai-code-editor.vue.d.ts +1 -1
- package/dist/ai-code-runner/src/ai-code-runner.d.vue.ts +1 -1
- package/dist/ai-code-runner/src/ai-code-runner.vue.d.ts +1 -1
- package/dist/ai-editor-sender/src/ai-editor-sender.d.ts +1 -1
- package/dist/ai-editor-sender/src/ai-editor-sender.d.vue.ts +1 -1
- package/dist/ai-editor-sender/src/ai-editor-sender.vue.d.ts +1 -1
- package/dist/ai-file-card/index.d.ts +4 -4
- package/dist/ai-file-card/src/ai-file-card.d.vue.ts +4 -4
- package/dist/ai-file-card/src/ai-file-card.vue.d.ts +4 -4
- package/dist/ai-mention/index.d.ts +1 -1
- package/dist/ai-mention/src/ai-mention.d.vue.ts +1 -1
- package/dist/ai-mention/src/ai-mention.vue.d.ts +1 -1
- package/dist/ai-mermaid/src/ai-mermaid.d.vue.ts +1 -1
- package/dist/ai-mermaid/src/ai-mermaid.vue.d.ts +1 -1
- package/dist/ai-prompts/src/ai-prompts.d.vue.ts +1 -1
- package/dist/ai-prompts/src/ai-prompts.vue.d.ts +1 -1
- package/dist/ai-thought-chain/index.d.ts +2 -2
- package/dist/ai-thought-chain/src/ai-thought-chain.d.vue.ts +2 -2
- package/dist/ai-thought-chain/src/ai-thought-chain.vue.d.ts +2 -2
- package/dist/ai-voice-trigger/src/ai-voice-trigger.d.vue.ts +2 -2
- package/dist/ai-voice-trigger/src/ai-voice-trigger.vue.d.ts +2 -2
- package/dist/ai-welcome/src/ai-welcome.d.vue.ts +1 -1
- package/dist/ai-welcome/src/ai-welcome.vue.d.ts +1 -1
- package/dist/alert/src/alert.d.vue.ts +4 -4
- package/dist/alert/src/alert.vue.d.ts +4 -4
- package/dist/autocomplete/src/autocomplete.d.vue.ts +7 -7
- package/dist/autocomplete/src/autocomplete.vue.d.ts +7 -7
- package/dist/back-top/src/back-top.d.vue.ts +2 -2
- package/dist/back-top/src/back-top.vue.d.ts +2 -2
- package/dist/button/index.d.ts +6 -6
- package/dist/button/src/button.d.vue.ts +2 -2
- package/dist/button/src/button.vue.d.ts +2 -2
- package/dist/calendar/src/calendar.d.vue.ts +1 -1
- package/dist/calendar/src/calendar.vue.d.ts +1 -1
- package/dist/carousel/src/carousel.d.vue.ts +1 -1
- package/dist/carousel/src/carousel.vue.d.ts +1 -1
- package/dist/cascader/index.d.ts +16 -16
- package/dist/cascader/src/cascader.d.vue.ts +6 -6
- package/dist/cascader/src/cascader.vue.d.ts +6 -6
- package/dist/category-nav/src/category-nav.d.vue.ts +1 -1
- package/dist/category-nav/src/category-nav.vue.d.ts +1 -1
- package/dist/col/src/col.d.vue.ts +2 -2
- package/dist/col/src/col.vue.d.ts +2 -2
- 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/countdown/src/countdown.d.vue.ts +2 -2
- package/dist/countdown/src/countdown.vue.d.ts +2 -2
- package/dist/coupon-card/src/coupon-card.d.ts +2 -2
- package/dist/coupon-card/src/coupon-card.d.vue.ts +4 -4
- package/dist/coupon-card/src/coupon-card.vue.d.ts +4 -4
- package/dist/date-picker/src/date-picker.d.vue.ts +7 -7
- package/dist/date-picker/src/date-picker.vue.d.ts +7 -7
- package/dist/date-picker/src/date-table.d.vue.ts +2 -2
- package/dist/date-picker/src/date-table.vue.d.ts +2 -2
- package/dist/date-picker/src/month-table.d.vue.ts +2 -2
- package/dist/date-picker/src/month-table.vue.d.ts +2 -2
- package/dist/date-picker/src/quarter-table.d.vue.ts +2 -2
- package/dist/date-picker/src/quarter-table.vue.d.ts +2 -2
- package/dist/date-picker/src/year-table.d.vue.ts +2 -2
- package/dist/date-picker/src/year-table.vue.d.ts +2 -2
- package/dist/dayjs-plugins.cjs +43 -18
- package/dist/dayjs-plugins.d.ts +7 -7
- package/dist/dayjs-plugins.mjs +14 -15
- package/dist/descriptions/src/description-item.d.vue.ts +3 -3
- package/dist/descriptions/src/description-item.vue.d.ts +3 -3
- package/dist/descriptions/src/descriptions.d.vue.ts +3 -3
- package/dist/descriptions/src/descriptions.vue.d.ts +3 -3
- package/dist/dialog/src/dialog.d.vue.ts +7 -7
- package/dist/dialog/src/dialog.vue.d.ts +7 -7
- package/dist/divider/src/divider.d.vue.ts +2 -2
- package/dist/divider/src/divider.vue.d.ts +2 -2
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/src/drawer.d.vue.ts +3 -3
- package/dist/drawer/src/drawer.vue.d.ts +3 -3
- 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 +7 -7
- package/dist/dropdown/src/dropdown.vue.d.ts +7 -7
- package/dist/form/src/form-item.d.vue.ts +4 -4
- package/dist/form/src/form-item.vue.d.ts +4 -4
- package/dist/form/src/form.d.vue.ts +1 -1
- package/dist/form/src/form.vue.d.ts +1 -1
- package/dist/gantt-chart/src/gantt-chart.d.vue.ts +1 -1
- package/dist/gantt-chart/src/gantt-chart.vue.d.ts +1 -1
- package/dist/icon/index.d.ts +12 -12
- package/dist/icon/src/icon.d.vue.ts +4 -4
- package/dist/icon/src/icon.vue.d.ts +4 -4
- package/dist/image/index.d.ts +11 -11
- package/dist/image/src/image-viewer.d.vue.ts +1 -1
- package/dist/image/src/image-viewer.vue.d.ts +1 -1
- package/dist/image/src/image.d.vue.ts +4 -4
- package/dist/image/src/image.vue.d.ts +4 -4
- package/dist/image-magnifier/src/image-magnifier.d.ts +2 -2
- package/dist/image-magnifier/src/image-magnifier.d.vue.ts +6 -6
- package/dist/image-magnifier/src/image-magnifier.vue.d.ts +6 -6
- package/dist/infinite-scroll/src/infinite-scroll.d.vue.ts +4 -4
- package/dist/infinite-scroll/src/infinite-scroll.vue.d.ts +4 -4
- package/dist/input/index.d.ts +24 -24
- package/dist/input/src/input.d.vue.ts +9 -9
- package/dist/input/src/input.vue.d.ts +9 -9
- package/dist/input-number/index.d.ts +15 -15
- package/dist/input-number/src/input-number.d.vue.ts +6 -6
- package/dist/input-number/src/input-number.vue.d.ts +6 -6
- package/dist/input-tag/src/input-tag.d.vue.ts +11 -11
- package/dist/input-tag/src/input-tag.vue.d.ts +11 -11
- package/dist/lucky-draw/src/lucky-draw.d.ts +1 -1
- package/dist/lucky-draw/src/lucky-draw.d.vue.ts +2 -2
- package/dist/lucky-draw/src/lucky-draw.vue.d.ts +2 -2
- package/dist/marquee/src/marquee.d.vue.ts +1 -1
- package/dist/marquee/src/marquee.vue.d.ts +1 -1
- package/dist/mention/index.d.ts +36 -36
- package/dist/mention/src/mention.d.vue.ts +14 -14
- package/dist/mention/src/mention.vue.d.ts +14 -14
- package/dist/menu/src/menu-item.d.vue.ts +1 -1
- package/dist/menu/src/menu-item.vue.d.ts +1 -1
- package/dist/menu/src/menu.d.vue.ts +5 -5
- package/dist/menu/src/menu.vue.d.ts +5 -5
- package/dist/menu/src/sub-menu.d.vue.ts +1 -1
- package/dist/menu/src/sub-menu.vue.d.ts +1 -1
- package/dist/message/src/message.d.vue.ts +2 -2
- package/dist/message/src/message.vue.d.ts +2 -2
- package/dist/pagination/index.d.ts +6 -6
- package/dist/pagination/src/pagination.d.vue.ts +2 -2
- package/dist/pagination/src/pagination.vue.d.ts +2 -2
- package/dist/popconfirm/src/popconfirm.d.vue.ts +8 -8
- package/dist/popconfirm/src/popconfirm.vue.d.ts +8 -8
- package/dist/popover/src/popover.d.vue.ts +8 -8
- package/dist/popover/src/popover.vue.d.ts +8 -8
- package/dist/price/src/price.d.ts +3 -3
- package/dist/price/src/price.d.vue.ts +7 -7
- package/dist/price/src/price.vue.d.ts +7 -7
- package/dist/product-card/src/product-card.d.ts +3 -3
- package/dist/product-card/src/product-card.d.vue.ts +6 -6
- package/dist/product-card/src/product-card.vue.d.ts +6 -6
- package/dist/progress/src/progress.d.vue.ts +2 -2
- package/dist/progress/src/progress.vue.d.ts +2 -2
- package/dist/rate/src/rate.d.vue.ts +2 -2
- package/dist/rate/src/rate.vue.d.ts +2 -2
- package/dist/scrollbar/src/scrollbar.d.vue.ts +1 -1
- package/dist/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/dist/scrollbar/src/thumb.d.vue.ts +2 -2
- package/dist/scrollbar/src/thumb.vue.d.ts +2 -2
- package/dist/select/index.d.ts +25 -25
- package/dist/select/src/select.d.vue.ts +9 -9
- package/dist/select/src/select.vue.d.ts +9 -9
- package/dist/skeleton/src/skeleton-item.d.vue.ts +1 -1
- package/dist/skeleton/src/skeleton-item.vue.d.ts +1 -1
- package/dist/skeleton/src/skeleton.d.vue.ts +2 -2
- package/dist/skeleton/src/skeleton.vue.d.ts +2 -2
- package/dist/sku-selector/src/sku-selector.d.vue.ts +1 -1
- package/dist/sku-selector/src/sku-selector.vue.d.ts +1 -1
- package/dist/slider/src/slider.d.vue.ts +5 -5
- package/dist/slider/src/slider.vue.d.ts +5 -5
- package/dist/space/src/space.d.vue.ts +2 -2
- package/dist/space/src/space.vue.d.ts +2 -2
- package/dist/spin/index.d.ts +2 -2
- package/dist/spin/src/spin.d.vue.ts +2 -2
- package/dist/spin/src/spin.vue.d.ts +2 -2
- package/dist/steps/src/step.d.vue.ts +3 -3
- package/dist/steps/src/step.vue.d.ts +3 -3
- package/dist/steps/src/steps.d.vue.ts +4 -4
- package/dist/steps/src/steps.vue.d.ts +4 -4
- package/dist/submit-bar/src/submit-bar.d.vue.ts +1 -1
- package/dist/submit-bar/src/submit-bar.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/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 +2 -2
- package/dist/tabs/src/tab-pane.vue.d.ts +2 -2
- package/dist/tabs/src/tabs.d.vue.ts +2 -2
- package/dist/tabs/src/tabs.vue.d.ts +2 -2
- package/dist/tag/src/tag.d.vue.ts +6 -6
- package/dist/tag/src/tag.vue.d.ts +6 -6
- package/dist/time-picker/src/time-picker.d.vue.ts +5 -5
- package/dist/time-picker/src/time-picker.vue.d.ts +5 -5
- package/dist/time-select/src/time-select.d.vue.ts +7 -7
- package/dist/time-select/src/time-select.vue.d.ts +7 -7
- package/dist/tooltip/index.d.ts +9 -9
- package/dist/tooltip/src/tooltip.d.vue.ts +9 -9
- package/dist/tooltip/src/tooltip.vue.d.ts +9 -9
- package/dist/transfer/src/transfer-panel.d.vue.ts +1 -1
- package/dist/transfer/src/transfer-panel.vue.d.ts +1 -1
- package/dist/transfer/src/transfer.d.vue.ts +3 -3
- package/dist/transfer/src/transfer.vue.d.ts +3 -3
- package/dist/tree/src/tree.d.vue.ts +5 -5
- package/dist/tree/src/tree.vue.d.ts +5 -5
- package/dist/tree-select/src/tree-select.d.vue.ts +7 -7
- package/dist/tree-select/src/tree-select.vue.d.ts +7 -7
- package/dist/typography/src/link.d.vue.ts +1 -1
- package/dist/typography/src/link.vue.d.ts +1 -1
- package/dist/typography/src/paragraph.d.vue.ts +1 -1
- package/dist/typography/src/paragraph.vue.d.ts +1 -1
- package/dist/typography/src/text.d.vue.ts +3 -3
- package/dist/typography/src/text.vue.d.ts +3 -3
- package/dist/typography/src/title.d.vue.ts +2 -2
- package/dist/typography/src/title.vue.d.ts +2 -2
- package/dist/watermark/src/watermark.d.vue.ts +3 -3
- package/dist/watermark/src/watermark.vue.d.ts +3 -3
- package/package.json +5 -5
|
@@ -122,23 +122,23 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
122
122
|
/** 当前可见状态 */
|
|
123
123
|
visible: import("vue").WritableComputedRef<boolean, boolean>;
|
|
124
124
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
125
|
+
readonly offset: [number, number];
|
|
126
|
+
readonly zIndex: number;
|
|
127
|
+
readonly teleported: boolean;
|
|
125
128
|
readonly disabled: boolean;
|
|
126
|
-
readonly items: import("./dropdown").DropdownItemData[];
|
|
127
|
-
readonly size: "small" | "default" | "large";
|
|
128
129
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
129
130
|
readonly type: "" | "info" | "warning" | "success" | "primary" | "danger";
|
|
131
|
+
readonly visible: boolean | null;
|
|
132
|
+
readonly size: "small" | "default" | "large";
|
|
133
|
+
readonly maxHeight: string | number;
|
|
134
|
+
readonly items: import("./dropdown").DropdownItemData[];
|
|
130
135
|
readonly loading: boolean;
|
|
131
136
|
readonly placement: import("@floating-ui/utils").Placement;
|
|
132
137
|
readonly trigger: import("./dropdown").DropdownTrigger;
|
|
133
138
|
readonly showAfter: number;
|
|
134
139
|
readonly hideAfter: number;
|
|
135
|
-
readonly offset: [number, number];
|
|
136
140
|
readonly showArrow: boolean;
|
|
137
|
-
readonly visible: boolean | null;
|
|
138
141
|
readonly popperClass: string;
|
|
139
|
-
readonly teleported: boolean;
|
|
140
|
-
readonly zIndex: number;
|
|
141
|
-
readonly maxHeight: string | number;
|
|
142
142
|
readonly popperStyle: CSSProperties;
|
|
143
143
|
readonly plain: boolean;
|
|
144
144
|
readonly tabindex: string | number;
|
|
@@ -122,23 +122,23 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
122
122
|
/** 当前可见状态 */
|
|
123
123
|
visible: import("vue").WritableComputedRef<boolean, boolean>;
|
|
124
124
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
125
|
+
readonly offset: [number, number];
|
|
126
|
+
readonly zIndex: number;
|
|
127
|
+
readonly teleported: boolean;
|
|
125
128
|
readonly disabled: boolean;
|
|
126
|
-
readonly items: import("./dropdown").DropdownItemData[];
|
|
127
|
-
readonly size: "small" | "default" | "large";
|
|
128
129
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
129
130
|
readonly type: "" | "info" | "warning" | "success" | "primary" | "danger";
|
|
131
|
+
readonly visible: boolean | null;
|
|
132
|
+
readonly size: "small" | "default" | "large";
|
|
133
|
+
readonly maxHeight: string | number;
|
|
134
|
+
readonly items: import("./dropdown").DropdownItemData[];
|
|
130
135
|
readonly loading: boolean;
|
|
131
136
|
readonly placement: import("@floating-ui/utils").Placement;
|
|
132
137
|
readonly trigger: import("./dropdown").DropdownTrigger;
|
|
133
138
|
readonly showAfter: number;
|
|
134
139
|
readonly hideAfter: number;
|
|
135
|
-
readonly offset: [number, number];
|
|
136
140
|
readonly showArrow: boolean;
|
|
137
|
-
readonly visible: boolean | null;
|
|
138
141
|
readonly popperClass: string;
|
|
139
|
-
readonly teleported: boolean;
|
|
140
|
-
readonly zIndex: number;
|
|
141
|
-
readonly maxHeight: string | number;
|
|
142
142
|
readonly popperStyle: CSSProperties;
|
|
143
143
|
readonly plain: boolean;
|
|
144
144
|
readonly tabindex: string | number;
|
|
@@ -121,19 +121,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
121
121
|
readonly default: undefined;
|
|
122
122
|
};
|
|
123
123
|
}>> & Readonly<{}>, {
|
|
124
|
-
readonly label: string;
|
|
125
124
|
readonly disabled: boolean;
|
|
126
|
-
readonly size: "small" | "default" | "large";
|
|
127
125
|
readonly themeOverrides: ComponentThemeVars;
|
|
126
|
+
readonly size: "small" | "default" | "large";
|
|
127
|
+
readonly label: string;
|
|
128
128
|
readonly error: string;
|
|
129
129
|
readonly required: boolean;
|
|
130
130
|
readonly rules: FormRule | FormRule[];
|
|
131
|
+
readonly validateStatus: ValidateStatus;
|
|
131
132
|
readonly labelWidth: string | number;
|
|
132
133
|
readonly showMessage: boolean;
|
|
133
134
|
readonly prop: string;
|
|
134
135
|
readonly validateTrigger: string | string[];
|
|
135
|
-
readonly errorPosition: "left" | "
|
|
136
|
-
readonly validateStatus: ValidateStatus;
|
|
136
|
+
readonly errorPosition: "left" | "center" | "right";
|
|
137
137
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
138
138
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
139
139
|
export default _default;
|
|
@@ -121,19 +121,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
121
121
|
readonly default: undefined;
|
|
122
122
|
};
|
|
123
123
|
}>> & Readonly<{}>, {
|
|
124
|
-
readonly label: string;
|
|
125
124
|
readonly disabled: boolean;
|
|
126
|
-
readonly size: "small" | "default" | "large";
|
|
127
125
|
readonly themeOverrides: ComponentThemeVars;
|
|
126
|
+
readonly size: "small" | "default" | "large";
|
|
127
|
+
readonly label: string;
|
|
128
128
|
readonly error: string;
|
|
129
129
|
readonly required: boolean;
|
|
130
130
|
readonly rules: FormRule | FormRule[];
|
|
131
|
+
readonly validateStatus: ValidateStatus;
|
|
131
132
|
readonly labelWidth: string | number;
|
|
132
133
|
readonly showMessage: boolean;
|
|
133
134
|
readonly prop: string;
|
|
134
135
|
readonly validateTrigger: string | string[];
|
|
135
|
-
readonly errorPosition: "left" | "
|
|
136
|
-
readonly validateStatus: ValidateStatus;
|
|
136
|
+
readonly errorPosition: "left" | "center" | "right";
|
|
137
137
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
138
138
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
139
139
|
export default _default;
|
|
@@ -135,9 +135,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
135
135
|
onValidate?: ((isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any) | undefined;
|
|
136
136
|
}>, {
|
|
137
137
|
readonly disabled: boolean;
|
|
138
|
-
readonly size: import("./form").ComponentSize;
|
|
139
138
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
140
139
|
readonly layout: import("./form").FormLayout;
|
|
140
|
+
readonly size: import("./form").ComponentSize;
|
|
141
141
|
readonly statusIcon: boolean;
|
|
142
142
|
readonly rules: import("./form").FormRules;
|
|
143
143
|
readonly labelWidth: string | number;
|
|
@@ -135,9 +135,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
135
135
|
onValidate?: ((isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any) | undefined;
|
|
136
136
|
}>, {
|
|
137
137
|
readonly disabled: boolean;
|
|
138
|
-
readonly size: import("./form").ComponentSize;
|
|
139
138
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
140
139
|
readonly layout: import("./form").FormLayout;
|
|
140
|
+
readonly size: import("./form").ComponentSize;
|
|
141
141
|
readonly statusIcon: boolean;
|
|
142
142
|
readonly rules: import("./form").FormRules;
|
|
143
143
|
readonly labelWidth: string | number;
|
|
@@ -29,8 +29,8 @@ declare const __VLS_component: import("vue").DefineComponent<GanttChartProps, {}
|
|
|
29
29
|
"onDependency-click"?: ((from: GanttTask, to: GanttTask, event: MouseEvent) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
data: GanttTask[];
|
|
32
|
-
loading: boolean;
|
|
33
32
|
columns: import("./gantt-chart").GanttColumn[];
|
|
33
|
+
loading: boolean;
|
|
34
34
|
draggable: boolean;
|
|
35
35
|
virtual: boolean;
|
|
36
36
|
bordered: boolean;
|
|
@@ -29,8 +29,8 @@ declare const __VLS_component: import("vue").DefineComponent<GanttChartProps, {}
|
|
|
29
29
|
"onDependency-click"?: ((from: GanttTask, to: GanttTask, event: MouseEvent) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
data: GanttTask[];
|
|
32
|
-
loading: boolean;
|
|
33
32
|
columns: import("./gantt-chart").GanttColumn[];
|
|
33
|
+
loading: boolean;
|
|
34
34
|
draggable: boolean;
|
|
35
35
|
virtual: boolean;
|
|
36
36
|
bordered: boolean;
|
package/dist/icon/index.d.ts
CHANGED
|
@@ -37,14 +37,14 @@ export declare const YhIcon: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
37
37
|
readonly default: undefined;
|
|
38
38
|
};
|
|
39
39
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
40
|
-
readonly icon: import("vue").Component;
|
|
41
|
-
readonly size: string | number;
|
|
42
40
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
43
41
|
readonly name: string;
|
|
44
|
-
readonly svg: string;
|
|
45
42
|
readonly color: string;
|
|
46
|
-
readonly
|
|
43
|
+
readonly size: string | number;
|
|
44
|
+
readonly icon: import("vue").Component;
|
|
47
45
|
readonly rotate: number;
|
|
46
|
+
readonly svg: string;
|
|
47
|
+
readonly spin: boolean;
|
|
48
48
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
49
49
|
P: {};
|
|
50
50
|
B: {};
|
|
@@ -86,14 +86,14 @@ export declare const YhIcon: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
86
86
|
readonly default: undefined;
|
|
87
87
|
};
|
|
88
88
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
89
|
-
readonly icon: import("vue").Component;
|
|
90
|
-
readonly size: string | number;
|
|
91
89
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
92
90
|
readonly name: string;
|
|
93
|
-
readonly svg: string;
|
|
94
91
|
readonly color: string;
|
|
95
|
-
readonly
|
|
92
|
+
readonly size: string | number;
|
|
93
|
+
readonly icon: import("vue").Component;
|
|
96
94
|
readonly rotate: number;
|
|
95
|
+
readonly svg: string;
|
|
96
|
+
readonly spin: boolean;
|
|
97
97
|
}>;
|
|
98
98
|
__isFragment?: never;
|
|
99
99
|
__isTeleport?: never;
|
|
@@ -132,14 +132,14 @@ export declare const YhIcon: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
132
132
|
readonly default: undefined;
|
|
133
133
|
};
|
|
134
134
|
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
135
|
-
readonly icon: import("vue").Component;
|
|
136
|
-
readonly size: string | number;
|
|
137
135
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
138
136
|
readonly name: string;
|
|
139
|
-
readonly svg: string;
|
|
140
137
|
readonly color: string;
|
|
141
|
-
readonly
|
|
138
|
+
readonly size: string | number;
|
|
139
|
+
readonly icon: import("vue").Component;
|
|
142
140
|
readonly rotate: number;
|
|
141
|
+
readonly svg: string;
|
|
142
|
+
readonly spin: boolean;
|
|
143
143
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
144
144
|
$slots: {
|
|
145
145
|
default?: (props: {}) => any;
|
|
@@ -69,14 +69,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
69
69
|
readonly default: undefined;
|
|
70
70
|
};
|
|
71
71
|
}>> & Readonly<{}>, {
|
|
72
|
-
readonly icon: import("vue").Component;
|
|
73
|
-
readonly size: string | number;
|
|
74
72
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
75
73
|
readonly name: string;
|
|
76
|
-
readonly svg: string;
|
|
77
74
|
readonly color: string;
|
|
78
|
-
readonly
|
|
75
|
+
readonly size: string | number;
|
|
76
|
+
readonly icon: import("vue").Component;
|
|
79
77
|
readonly rotate: number;
|
|
78
|
+
readonly svg: string;
|
|
79
|
+
readonly spin: boolean;
|
|
80
80
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
81
81
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
82
82
|
export default _default;
|
|
@@ -69,14 +69,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
69
69
|
readonly default: undefined;
|
|
70
70
|
};
|
|
71
71
|
}>> & Readonly<{}>, {
|
|
72
|
-
readonly icon: import("vue").Component;
|
|
73
|
-
readonly size: string | number;
|
|
74
72
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
75
73
|
readonly name: string;
|
|
76
|
-
readonly svg: string;
|
|
77
74
|
readonly color: string;
|
|
78
|
-
readonly
|
|
75
|
+
readonly size: string | number;
|
|
76
|
+
readonly icon: import("vue").Component;
|
|
79
77
|
readonly rotate: number;
|
|
78
|
+
readonly svg: string;
|
|
79
|
+
readonly spin: boolean;
|
|
80
80
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
81
81
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
82
82
|
export default _default;
|
package/dist/image/index.d.ts
CHANGED
|
@@ -74,17 +74,17 @@ export declare const YhImage: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
74
74
|
readonly default: undefined;
|
|
75
75
|
};
|
|
76
76
|
}>> & Readonly<{
|
|
77
|
+
onShow?: (() => any) | undefined;
|
|
78
|
+
onSwitch?: ((index: number) => any) | undefined;
|
|
77
79
|
onClose?: (() => any) | undefined;
|
|
78
80
|
onError?: ((event: string | Event) => any) | undefined;
|
|
79
|
-
onShow?: (() => any) | undefined;
|
|
80
81
|
onLoad?: ((event: Event) => any) | undefined;
|
|
81
|
-
onSwitch?: ((index: number) => any) | undefined;
|
|
82
82
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
83
|
+
show: () => any;
|
|
84
|
+
switch: (index: number) => any;
|
|
83
85
|
close: () => any;
|
|
84
86
|
error: (event: string | Event) => any;
|
|
85
|
-
show: () => any;
|
|
86
87
|
load: (event: Event) => any;
|
|
87
|
-
switch: (index: number) => any;
|
|
88
88
|
}, import("vue").PublicProps, {
|
|
89
89
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
90
90
|
readonly infinite: boolean;
|
|
@@ -176,11 +176,11 @@ export declare const YhImage: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
176
176
|
readonly default: undefined;
|
|
177
177
|
};
|
|
178
178
|
}>> & Readonly<{
|
|
179
|
+
onShow?: (() => any) | undefined;
|
|
180
|
+
onSwitch?: ((index: number) => any) | undefined;
|
|
179
181
|
onClose?: (() => any) | undefined;
|
|
180
182
|
onError?: ((event: string | Event) => any) | undefined;
|
|
181
|
-
onShow?: (() => any) | undefined;
|
|
182
183
|
onLoad?: ((event: Event) => any) | undefined;
|
|
183
|
-
onSwitch?: ((index: number) => any) | undefined;
|
|
184
184
|
}>, {}, {}, {}, {}, {
|
|
185
185
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
186
186
|
readonly infinite: boolean;
|
|
@@ -269,17 +269,17 @@ export declare const YhImage: import("@yh-ui/utils").SFCWithInstall<{
|
|
|
269
269
|
readonly default: undefined;
|
|
270
270
|
};
|
|
271
271
|
}>> & Readonly<{
|
|
272
|
+
onShow?: (() => any) | undefined;
|
|
273
|
+
onSwitch?: ((index: number) => any) | undefined;
|
|
272
274
|
onClose?: (() => any) | undefined;
|
|
273
275
|
onError?: ((event: string | Event) => any) | undefined;
|
|
274
|
-
onShow?: (() => any) | undefined;
|
|
275
276
|
onLoad?: ((event: Event) => any) | undefined;
|
|
276
|
-
onSwitch?: ((index: number) => any) | undefined;
|
|
277
277
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
278
|
+
show: () => any;
|
|
279
|
+
switch: (index: number) => any;
|
|
278
280
|
close: () => any;
|
|
279
281
|
error: (event: string | Event) => any;
|
|
280
|
-
show: () => any;
|
|
281
282
|
load: (event: Event) => any;
|
|
282
|
-
switch: (index: number) => any;
|
|
283
283
|
}, string, {
|
|
284
284
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
285
285
|
readonly infinite: boolean;
|
|
@@ -356,8 +356,8 @@ export declare const YhImageViewer: import("@yh-ui/utils").SFCWithInstall<import
|
|
|
356
356
|
rotateRight: () => void;
|
|
357
357
|
reset: () => void;
|
|
358
358
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
359
|
-
readonly teleported: boolean;
|
|
360
359
|
readonly zIndex: number;
|
|
360
|
+
readonly teleported: boolean;
|
|
361
361
|
readonly infinite: boolean;
|
|
362
362
|
readonly initialIndex: number;
|
|
363
363
|
readonly closeOnPressEscape: boolean;
|
|
@@ -53,8 +53,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
53
53
|
rotateRight: () => void;
|
|
54
54
|
reset: () => void;
|
|
55
55
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
56
|
-
readonly teleported: boolean;
|
|
57
56
|
readonly zIndex: number;
|
|
57
|
+
readonly teleported: boolean;
|
|
58
58
|
readonly infinite: boolean;
|
|
59
59
|
readonly initialIndex: number;
|
|
60
60
|
readonly closeOnPressEscape: boolean;
|
|
@@ -53,8 +53,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
53
53
|
rotateRight: () => void;
|
|
54
54
|
reset: () => void;
|
|
55
55
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
56
|
-
readonly teleported: boolean;
|
|
57
56
|
readonly zIndex: number;
|
|
57
|
+
readonly teleported: boolean;
|
|
58
58
|
readonly infinite: boolean;
|
|
59
59
|
readonly initialIndex: number;
|
|
60
60
|
readonly closeOnPressEscape: boolean;
|
|
@@ -74,11 +74,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
74
74
|
readonly default: undefined;
|
|
75
75
|
};
|
|
76
76
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
77
|
+
show: () => any;
|
|
78
|
+
switch: (index: number) => any;
|
|
77
79
|
close: () => any;
|
|
78
80
|
error: (event: string | Event) => any;
|
|
79
|
-
show: () => any;
|
|
80
81
|
load: (event: Event) => any;
|
|
81
|
-
switch: (index: number) => any;
|
|
82
82
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
83
|
readonly src: {
|
|
84
84
|
readonly type: StringConstructor;
|
|
@@ -148,11 +148,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
148
148
|
readonly default: undefined;
|
|
149
149
|
};
|
|
150
150
|
}>> & Readonly<{
|
|
151
|
+
onShow?: (() => any) | undefined;
|
|
152
|
+
onSwitch?: ((index: number) => any) | undefined;
|
|
151
153
|
onClose?: (() => any) | undefined;
|
|
152
154
|
onError?: ((event: string | Event) => any) | undefined;
|
|
153
|
-
onShow?: (() => any) | undefined;
|
|
154
155
|
onLoad?: ((event: Event) => any) | undefined;
|
|
155
|
-
onSwitch?: ((index: number) => any) | undefined;
|
|
156
156
|
}>, {
|
|
157
157
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
158
158
|
readonly infinite: boolean;
|
|
@@ -74,11 +74,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
74
74
|
readonly default: undefined;
|
|
75
75
|
};
|
|
76
76
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
77
|
+
show: () => any;
|
|
78
|
+
switch: (index: number) => any;
|
|
77
79
|
close: () => any;
|
|
78
80
|
error: (event: string | Event) => any;
|
|
79
|
-
show: () => any;
|
|
80
81
|
load: (event: Event) => any;
|
|
81
|
-
switch: (index: number) => any;
|
|
82
82
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
83
|
readonly src: {
|
|
84
84
|
readonly type: StringConstructor;
|
|
@@ -148,11 +148,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
148
148
|
readonly default: undefined;
|
|
149
149
|
};
|
|
150
150
|
}>> & Readonly<{
|
|
151
|
+
onShow?: (() => any) | undefined;
|
|
152
|
+
onSwitch?: ((index: number) => any) | undefined;
|
|
151
153
|
onClose?: (() => any) | undefined;
|
|
152
154
|
onError?: ((event: string | Event) => any) | undefined;
|
|
153
|
-
onShow?: (() => any) | undefined;
|
|
154
155
|
onLoad?: ((event: Event) => any) | undefined;
|
|
155
|
-
onSwitch?: ((index: number) => any) | undefined;
|
|
156
156
|
}>, {
|
|
157
157
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
158
158
|
readonly infinite: boolean;
|
|
@@ -54,12 +54,12 @@ export declare const imageMagnifierProps: {
|
|
|
54
54
|
};
|
|
55
55
|
/** 整体显示宽度 */
|
|
56
56
|
width: {
|
|
57
|
-
type: (
|
|
57
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
58
58
|
default: string;
|
|
59
59
|
};
|
|
60
60
|
/** 整体显示高度 */
|
|
61
61
|
height: {
|
|
62
|
-
type: (
|
|
62
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
63
63
|
default: string;
|
|
64
64
|
};
|
|
65
65
|
/** 放大区域显示模式(自动检测视口空间时传 'auto') */
|
|
@@ -50,11 +50,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
50
50
|
default: number;
|
|
51
51
|
};
|
|
52
52
|
width: {
|
|
53
|
-
type: (
|
|
53
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
54
54
|
default: string;
|
|
55
55
|
};
|
|
56
56
|
height: {
|
|
57
|
-
type: (
|
|
57
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
58
58
|
default: string;
|
|
59
59
|
};
|
|
60
60
|
position: {
|
|
@@ -119,16 +119,16 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
119
119
|
currentIndex: import("vue").Ref<number, number>;
|
|
120
120
|
switchImage: (index: number) => void;
|
|
121
121
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
122
|
-
themeOverrides: Record<string, string>;
|
|
123
122
|
offset: number;
|
|
123
|
+
position: "auto" | ImageMagnifierPosition;
|
|
124
|
+
themeOverrides: Record<string, string>;
|
|
124
125
|
width: string | number;
|
|
125
126
|
height: string | number;
|
|
126
|
-
position: "auto" | ImageMagnifierPosition;
|
|
127
|
-
scale: number;
|
|
128
127
|
border: boolean;
|
|
128
|
+
scale: number;
|
|
129
|
+
title: string;
|
|
129
130
|
alt: string;
|
|
130
131
|
src: string;
|
|
131
|
-
title: string;
|
|
132
132
|
shadow: boolean;
|
|
133
133
|
modelValue: number;
|
|
134
134
|
images: import("./image-magnifier").ImageMagnifierImage[];
|
|
@@ -50,11 +50,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
50
50
|
default: number;
|
|
51
51
|
};
|
|
52
52
|
width: {
|
|
53
|
-
type: (
|
|
53
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
54
54
|
default: string;
|
|
55
55
|
};
|
|
56
56
|
height: {
|
|
57
|
-
type: (
|
|
57
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
58
58
|
default: string;
|
|
59
59
|
};
|
|
60
60
|
position: {
|
|
@@ -119,16 +119,16 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
119
119
|
currentIndex: import("vue").Ref<number, number>;
|
|
120
120
|
switchImage: (index: number) => void;
|
|
121
121
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
122
|
-
themeOverrides: Record<string, string>;
|
|
123
122
|
offset: number;
|
|
123
|
+
position: "auto" | ImageMagnifierPosition;
|
|
124
|
+
themeOverrides: Record<string, string>;
|
|
124
125
|
width: string | number;
|
|
125
126
|
height: string | number;
|
|
126
|
-
position: "auto" | ImageMagnifierPosition;
|
|
127
|
-
scale: number;
|
|
128
127
|
border: boolean;
|
|
128
|
+
scale: number;
|
|
129
|
+
title: string;
|
|
129
130
|
alt: string;
|
|
130
131
|
src: string;
|
|
131
|
-
title: string;
|
|
132
132
|
shadow: boolean;
|
|
133
133
|
modelValue: number;
|
|
134
134
|
images: import("./image-magnifier").ImageMagnifierImage[];
|
|
@@ -69,13 +69,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
69
69
|
check: () => void;
|
|
70
70
|
retry: () => void;
|
|
71
71
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
72
|
+
readonly target: string;
|
|
72
73
|
readonly disabled: boolean;
|
|
73
|
-
readonly direction: import("./infinite-scroll").InfiniteScrollDirection;
|
|
74
74
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
75
|
-
readonly
|
|
76
|
-
readonly error: boolean;
|
|
77
|
-
readonly target: string;
|
|
75
|
+
readonly direction: import("./infinite-scroll").InfiniteScrollDirection;
|
|
78
76
|
readonly rootMargin: string;
|
|
77
|
+
readonly error: boolean;
|
|
78
|
+
readonly loading: boolean;
|
|
79
79
|
readonly loadingText: string;
|
|
80
80
|
readonly finished: boolean;
|
|
81
81
|
readonly threshold: number;
|
|
@@ -69,13 +69,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
69
69
|
check: () => void;
|
|
70
70
|
retry: () => void;
|
|
71
71
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
72
|
+
readonly target: string;
|
|
72
73
|
readonly disabled: boolean;
|
|
73
|
-
readonly direction: import("./infinite-scroll").InfiniteScrollDirection;
|
|
74
74
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
75
|
-
readonly
|
|
76
|
-
readonly error: boolean;
|
|
77
|
-
readonly target: string;
|
|
75
|
+
readonly direction: import("./infinite-scroll").InfiniteScrollDirection;
|
|
78
76
|
readonly rootMargin: string;
|
|
77
|
+
readonly error: boolean;
|
|
78
|
+
readonly loading: boolean;
|
|
79
79
|
readonly loadingText: string;
|
|
80
80
|
readonly finished: boolean;
|
|
81
81
|
readonly threshold: number;
|