hys-ui 0.1.1 → 0.2.0
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/CHANGELOG.md +111 -0
- package/README.md +3 -1
- package/dist/components/HysAccordion/HysAccordion.vue.js +1 -1
- package/dist/components/HysAccordion/HysAccordion2.vue.js +181 -47
- package/dist/components/HysAutocomplete/HysAutocomplete.vue.js +7 -0
- package/dist/components/HysAutocomplete/HysAutocomplete2.vue.js +627 -0
- package/dist/components/HysAvatar/HysAvatar.vue.js +5 -35
- package/dist/components/HysAvatar/HysAvatar2.vue.js +221 -2
- package/dist/components/HysAvatarGroup/HysAvatarGroup.vue.js +7 -0
- package/dist/components/HysAvatarGroup/HysAvatarGroup2.vue.js +252 -0
- package/dist/components/HysBadge/HysBadge.vue.js +2 -2
- package/dist/components/HysBadge/HysBadge2.vue.js +154 -27
- package/dist/components/HysBreadcrumb/HysBreadcrumb.vue.js +5 -38
- package/dist/components/HysBreadcrumb/HysBreadcrumb2.vue.js +74 -2
- package/dist/components/HysButton/HysButton.vue.js +2 -2
- package/dist/components/HysButton/HysButton2.vue.js +29 -28
- package/dist/components/HysCalendar/HysCalendar.vue.js +5 -92
- package/dist/components/HysCalendar/HysCalendar2.vue.js +803 -2
- package/dist/components/HysCard/HysCard.vue.js +2 -2
- package/dist/components/HysCard/HysCard2.vue.js +175 -42
- package/dist/components/HysCascader/HysCascader.vue.js +5 -194
- package/dist/components/HysCascader/HysCascader2.vue.js +760 -2
- package/dist/components/HysCascader/HysCascaderColumn.vue.js +7 -0
- package/dist/components/HysCascader/HysCascaderColumn2.vue.js +232 -0
- package/dist/components/HysCheckbox/HysCheckbox.vue.js +3 -3
- package/dist/components/HysCheckbox/HysCheckbox2.vue.js +180 -65
- package/dist/components/HysCheckboxGroup/HysCheckboxGroup.vue.js +7 -0
- package/dist/components/HysCheckboxGroup/HysCheckboxGroup2.vue.js +237 -0
- package/dist/components/HysColorPicker/HysColorPicker.vue.js +2 -2
- package/dist/components/HysColorPicker/HysColorPicker2.vue.js +107 -106
- package/dist/components/HysDataGrid/HysDataGrid.vue.js +1 -1
- package/dist/components/HysDataGrid/HysDataGrid2.vue.js +399 -392
- package/dist/components/HysDatePicker/HysDatePicker.vue.js +268 -139
- package/dist/components/HysDatePicker/HysDatePickerControl.vue.js +7 -0
- package/dist/components/HysDatePicker/HysDatePickerControl2.vue.js +807 -0
- package/dist/components/HysDatePicker/HysDatePickerPanel.vue.js +7 -0
- package/dist/components/HysDatePicker/HysDatePickerPanel2.vue.js +357 -0
- package/dist/components/HysDateRangePicker/HysDateRangePicker.vue.js +268 -158
- package/dist/components/HysDivider/HysDivider.vue.js +2 -2
- package/dist/components/HysDivider/HysDivider2.vue.js +33 -13
- package/dist/components/HysFileManager/HysFileManager.vue.js +3 -3
- package/dist/components/HysFileManager/HysFileManager2.vue.js +43 -42
- package/dist/components/HysForm/HysForm.vue.js +3 -3
- package/dist/components/HysForm/HysForm2.vue.js +578 -92
- package/dist/components/HysFormItem/HysFormItem.vue.js +5 -85
- package/dist/components/HysFormItem/HysFormItem2.vue.js +521 -2
- package/dist/components/HysGantt/HysGantt.vue.js +1 -1
- package/dist/components/HysGantt/HysGantt2.vue.js +1369 -272
- package/dist/components/HysInput/HysInput.vue.js +2 -2
- package/dist/components/HysInput/HysInput2.vue.js +467 -120
- package/dist/components/HysMention/HysMention.vue.js +2 -2
- package/dist/components/HysMention/HysMention2.vue.js +89 -88
- package/dist/components/HysNumberInput/HysNumberInput.vue.js +2 -2
- package/dist/components/HysNumberInput/HysNumberInput2.vue.js +561 -79
- package/dist/components/HysOrgTree/HysOrgTree.vue.js +29 -26
- package/dist/components/HysPagination/HysPagination.vue.js +1 -1
- package/dist/components/HysPagination/HysPagination2.vue.js +2 -0
- package/dist/components/HysPermissionMatrix/HysPermissionMatrix.vue.js +2 -2
- package/dist/components/HysPermissionMatrix/HysPermissionMatrix2.vue.js +52 -51
- package/dist/components/HysRadio/HysRadio.vue.js +7 -0
- package/dist/components/HysRadio/HysRadio2.vue.js +180 -0
- package/dist/components/HysRadioGroup/HysRadioGroup.vue.js +2 -2
- package/dist/components/HysRadioGroup/HysRadioGroup2.vue.js +190 -65
- package/dist/components/HysRating/HysRating.vue.js +1 -1
- package/dist/components/HysRating/HysRating2.vue.js +288 -68
- package/dist/components/HysRichTextEditor/HysRichTextEditor.vue.js +1 -1
- package/dist/components/HysRichTextEditor/HysRichTextEditor2.vue.js +70 -69
- package/dist/components/HysSearch/HysSearch.vue.js +37 -36
- package/dist/components/HysSegmented/HysSegmented.vue.js +5 -63
- package/dist/components/HysSegmented/HysSegmented2.vue.js +273 -2
- package/dist/components/HysSelect/HysSelect.vue.js +3 -2
- package/dist/components/HysSelect/HysSelect2.vue.js +859 -185
- package/dist/components/HysSkeleton/HysSkeleton.vue.js +2 -2
- package/dist/components/HysSkeleton/HysSkeleton2.vue.js +126 -29
- package/dist/components/HysSlider/HysSlider.vue.js +2 -2
- package/dist/components/HysSlider/HysSlider2.vue.js +532 -59
- package/dist/components/HysSlider/SliderTooltip.vue.js +7 -0
- package/dist/components/HysSlider/SliderTooltip2.vue.js +156 -0
- package/dist/components/HysSteps/HysSteps.vue.js +1 -1
- package/dist/components/HysSteps/HysSteps2.vue.js +110 -36
- package/dist/components/HysSwitch/HysSwitch.vue.js +2 -2
- package/dist/components/HysSwitch/HysSwitch2.vue.js +232 -50
- package/dist/components/HysTable/HysTable.vue.js +2 -2
- package/dist/components/HysTable/HysTable2.vue.js +1473 -88
- package/dist/components/HysTable/HysTableFilterOptions.vue.js +7 -0
- package/dist/components/HysTable/HysTableFilterOptions2.vue.js +133 -0
- package/dist/components/HysTabs/HysTabs.vue.js +2 -2
- package/dist/components/HysTabs/HysTabs2.vue.js +262 -68
- package/dist/components/HysTagInput/HysTagInput.vue.js +43 -42
- package/dist/components/HysTextarea/HysTextarea.vue.js +138 -77
- package/dist/components/HysTransfer/HysTransfer.vue.js +5 -223
- package/dist/components/HysTransfer/HysTransfer2.vue.js +416 -2
- package/dist/components/HysTransfer/HysTransferPanel.vue.js +7 -0
- package/dist/components/HysTransfer/HysTransferPanel2.vue.js +454 -0
- package/dist/components/HysTree/HysTree.vue.js +2 -3
- package/dist/components/HysTree/HysTree2.vue.js +641 -302
- package/dist/components/HysTreeSelect/HysTreeSelect.vue.js +5 -136
- package/dist/components/HysTreeSelect/HysTreeSelect2.vue.js +558 -2
- package/dist/components/HysTreeSelect/HysTreeSelectPanel.vue.js +7 -0
- package/dist/components/HysTreeSelect/HysTreeSelectPanel2.vue.js +323 -0
- package/dist/components/HysUpload/HysUpload.vue.js +2 -2
- package/dist/components/HysUpload/HysUpload2.vue.js +77 -76
- package/dist/composables/autocomplete.js +50 -0
- package/dist/composables/avatar.js +57 -0
- package/dist/composables/calendar.js +96 -0
- package/dist/composables/cascader.js +79 -0
- package/dist/composables/choice.js +38 -0
- package/dist/composables/choiceModel.js +67 -0
- package/dist/composables/datePicker.js +227 -0
- package/dist/composables/formContext.js +92 -7
- package/dist/composables/formLayout.js +57 -0
- package/dist/composables/formValidation.js +240 -0
- package/dist/composables/ganttConflicts.js +143 -0
- package/dist/composables/numberInput.js +91 -0
- package/dist/composables/rating.js +16 -0
- package/dist/composables/selectOptions.js +54 -0
- package/dist/composables/table.js +150 -0
- package/dist/composables/textInput.js +34 -0
- package/dist/composables/transfer.js +63 -0
- package/dist/composables/tree.js +118 -0
- package/dist/composables/treeSelect.js +71 -0
- package/dist/composables/useCascader.js +438 -0
- package/dist/composables/useDatePicker.js +425 -0
- package/dist/composables/useFloating.js +97 -51
- package/dist/composables/useGanttDependencies.js +306 -0
- package/dist/composables/useGanttHistory.js +157 -0
- package/dist/composables/useGanttLabelResize.js +100 -0
- package/dist/composables/useTable.js +474 -0
- package/dist/composables/useTextareaSize.js +72 -0
- package/dist/composables/useTransfer.js +257 -0
- package/dist/composables/useTree.js +439 -0
- package/dist/composables/useTreeSelect.js +361 -0
- package/dist/index.js +149 -139
- package/dist/style.css +1 -1
- package/dist/types/components/HysAccordion/HysAccordion.vue.d.ts +61 -22
- package/dist/types/components/HysAutocomplete/HysAutocomplete.vue.d.ts +201 -0
- package/dist/types/components/HysAvatar/HysAvatar.vue.d.ts +28 -15
- package/dist/types/components/HysAvatarGroup/HysAvatarGroup.vue.d.ts +99 -0
- package/dist/types/components/HysBadge/HysBadge.vue.d.ts +41 -4
- package/dist/types/components/HysBreadcrumb/HysBreadcrumb.vue.d.ts +38 -10
- package/dist/types/components/HysButton/HysButton.vue.d.ts +0 -1
- package/dist/types/components/HysCalendar/HysCalendar.vue.d.ts +119 -31
- package/dist/types/components/HysCard/HysCard.vue.d.ts +55 -7
- package/dist/types/components/HysCascader/HysCascader.vue.d.ts +129 -41
- package/dist/types/components/HysCascader/HysCascaderColumn.vue.d.ts +55 -0
- package/dist/types/components/HysCheckbox/HysCheckbox.vue.d.ts +50 -39
- package/dist/types/components/HysCheckboxGroup/HysCheckboxGroup.vue.d.ts +73 -0
- package/dist/types/components/HysDataGrid/HysDataGrid.vue.d.ts +1 -1
- package/dist/types/components/HysDatePicker/HysDatePicker.vue.d.ts +66 -14
- package/dist/types/components/HysDatePicker/HysDatePickerControl.vue.d.ts +90 -0
- package/dist/types/components/HysDatePicker/HysDatePickerPanel.vue.d.ts +93 -0
- package/dist/types/components/HysDateRangePicker/HysDateRangePicker.vue.d.ts +66 -14
- package/dist/types/components/HysDivider/HysDivider.vue.d.ts +8 -3
- package/dist/types/components/HysFileManager/HysFileManager.vue.d.ts +2 -2
- package/dist/types/components/HysForm/HysForm.vue.d.ts +110 -18
- package/dist/types/components/HysFormItem/HysFormItem.vue.d.ts +108 -2
- package/dist/types/components/HysGantt/HysGantt.vue.d.ts +82 -4
- package/dist/types/components/HysInput/HysInput.vue.d.ts +52 -29
- package/dist/types/components/HysMention/HysMention.vue.d.ts +2 -2
- package/dist/types/components/HysNumberInput/HysNumberInput.vue.d.ts +93 -35
- package/dist/types/components/HysOrgTree/HysOrgTree.vue.d.ts +1 -0
- package/dist/types/components/HysPagination/HysPagination.vue.d.ts +1 -1
- package/dist/types/components/HysPermissionMatrix/HysPermissionMatrix.vue.d.ts +2 -2
- package/dist/types/components/HysPopover/HysPopover.vue.d.ts +3 -3
- package/dist/types/components/HysProgress/HysProgress.vue.d.ts +1 -1
- package/dist/types/components/HysRadio/HysRadio.vue.d.ts +56 -0
- package/dist/types/components/HysRadioGroup/HysRadioGroup.vue.d.ts +34 -12
- package/dist/types/components/HysRating/HysRating.vue.d.ts +85 -5
- package/dist/types/components/HysRichTextEditor/HysRichTextEditor.vue.d.ts +4 -4
- package/dist/types/components/HysSearch/HysSearch.vue.d.ts +2 -2
- package/dist/types/components/HysSegmented/HysSegmented.vue.d.ts +64 -32
- package/dist/types/components/HysSelect/HysSelect.vue.d.ts +120 -20
- package/dist/types/components/HysSkeleton/HysSkeleton.vue.d.ts +30 -2
- package/dist/types/components/HysSlider/HysSlider.vue.d.ts +66 -9
- package/dist/types/components/HysSlider/SliderTooltip.vue.d.ts +22 -0
- package/dist/types/components/HysSplitPane/HysSplitPane.vue.d.ts +1 -1
- package/dist/types/components/HysSteps/HysSteps.vue.d.ts +64 -9
- package/dist/types/components/HysSwitch/HysSwitch.vue.d.ts +76 -17
- package/dist/types/components/HysTable/HysTable.vue.d.ts +206 -32
- package/dist/types/components/HysTable/HysTableFilterOptions.vue.d.ts +18 -0
- package/dist/types/components/HysTabs/HysTabs.vue.d.ts +76 -23
- package/dist/types/components/HysTagInput/HysTagInput.vue.d.ts +5 -5
- package/dist/types/components/HysTextarea/HysTextarea.vue.d.ts +44 -27
- package/dist/types/components/HysToast/HysToast.vue.d.ts +3 -3
- package/dist/types/components/HysTour/HysTour.vue.d.ts +2 -2
- package/dist/types/components/HysTransfer/HysTransfer.vue.d.ts +55 -40
- package/dist/types/components/HysTransfer/HysTransferPanel.vue.d.ts +105 -0
- package/dist/types/components/HysTree/HysTree.vue.d.ts +140 -73
- package/dist/types/components/HysTreeSelect/HysTreeSelect.vue.d.ts +102 -23
- package/dist/types/components/HysTreeSelect/HysTreeSelectPanel.vue.d.ts +56 -0
- package/dist/types/composables/autocomplete.d.ts +106 -0
- package/dist/types/composables/avatar.d.ts +70 -0
- package/dist/types/composables/calendar.d.ts +66 -0
- package/dist/types/composables/cascader.d.ts +192 -0
- package/dist/types/composables/choice.d.ts +110 -0
- package/dist/types/composables/choiceModel.d.ts +11 -0
- package/dist/types/composables/datePicker.d.ts +247 -0
- package/dist/types/composables/formContext.d.ts +133 -8
- package/dist/types/composables/formLayout.d.ts +11 -0
- package/dist/types/composables/formValidation.d.ts +13 -0
- package/dist/types/composables/gantt.d.ts +68 -0
- package/dist/types/composables/ganttConflicts.d.ts +30 -0
- package/dist/types/composables/numberInput.d.ts +45 -0
- package/dist/types/composables/rating.d.ts +18 -0
- package/dist/types/composables/segmented.d.ts +15 -0
- package/dist/types/composables/selectOptions.d.ts +44 -0
- package/dist/types/composables/slider.d.ts +21 -0
- package/dist/types/composables/table.d.ts +309 -0
- package/dist/types/composables/textInput.d.ts +76 -0
- package/dist/types/composables/transfer.d.ts +180 -0
- package/dist/types/composables/tree.d.ts +237 -0
- package/dist/types/composables/treeSelect.d.ts +167 -0
- package/dist/types/composables/useCascader.d.ts +162 -0
- package/dist/types/composables/useDatePicker.d.ts +79 -0
- package/dist/types/composables/useFloating.d.ts +8 -5
- package/dist/types/composables/useGanttDependencies.d.ts +83 -0
- package/dist/types/composables/useGanttHistory.d.ts +42 -0
- package/dist/types/composables/useGanttLabelResize.d.ts +23 -0
- package/dist/types/composables/useTable.d.ts +60 -0
- package/dist/types/composables/useTextareaSize.d.ts +3 -0
- package/dist/types/composables/useTransfer.d.ts +58 -0
- package/dist/types/composables/useTree.d.ts +77 -0
- package/dist/types/composables/useTreeSelect.d.ts +117 -0
- package/dist/types/index.d.ts +33 -7
- package/package.json +2 -1
|
@@ -1,43 +1,82 @@
|
|
|
1
|
+
export type HysAccordionKey = string | number;
|
|
2
|
+
export interface HysAccordionItem {
|
|
3
|
+
id?: HysAccordionKey;
|
|
4
|
+
title: string;
|
|
5
|
+
content?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
forceRender?: boolean;
|
|
8
|
+
showArrow?: boolean;
|
|
9
|
+
}
|
|
1
10
|
type __VLS_Props = {
|
|
2
|
-
items:
|
|
3
|
-
title: string;
|
|
4
|
-
content?: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
}[];
|
|
11
|
+
items: HysAccordionItem[];
|
|
7
12
|
multiple?: boolean;
|
|
8
|
-
modelValue?:
|
|
9
|
-
defaultActive?:
|
|
13
|
+
modelValue?: HysAccordionKey[];
|
|
14
|
+
defaultActive?: HysAccordionKey[];
|
|
10
15
|
disabled?: boolean;
|
|
16
|
+
bordered?: boolean;
|
|
17
|
+
ghost?: boolean;
|
|
18
|
+
size?: 'sm' | 'md' | 'lg';
|
|
19
|
+
arrowPlacement?: 'left' | 'right';
|
|
20
|
+
showArrow?: boolean;
|
|
21
|
+
trigger?: 'header' | 'icon';
|
|
22
|
+
lazy?: boolean;
|
|
23
|
+
/** 收起时销毁内容;设为 false 可保留已访问面板的局部状态。 */
|
|
24
|
+
destroyOnHide?: boolean;
|
|
25
|
+
beforeToggle?: (key: HysAccordionKey, expanded: boolean) => boolean | void | Promise<boolean | void>;
|
|
11
26
|
};
|
|
12
27
|
declare const __VLS_template: () => {
|
|
13
28
|
__VLS_Slots: {
|
|
14
29
|
title?: (props: {
|
|
15
|
-
item:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
30
|
+
item: HysAccordionItem;
|
|
31
|
+
index: number;
|
|
32
|
+
expanded: boolean;
|
|
33
|
+
}) => any;
|
|
34
|
+
} & {
|
|
35
|
+
icon?: (props: {
|
|
36
|
+
item: HysAccordionItem;
|
|
37
|
+
index: number;
|
|
38
|
+
expanded: boolean;
|
|
39
|
+
}) => any;
|
|
40
|
+
} & {
|
|
41
|
+
icon?: (props: {
|
|
42
|
+
item: HysAccordionItem;
|
|
43
|
+
index: number;
|
|
44
|
+
expanded: boolean;
|
|
45
|
+
}) => any;
|
|
46
|
+
} & {
|
|
47
|
+
extra?: (props: {
|
|
48
|
+
item: HysAccordionItem;
|
|
20
49
|
index: number;
|
|
50
|
+
expanded: boolean;
|
|
21
51
|
}) => any;
|
|
22
52
|
} & {
|
|
23
53
|
content?: (props: {
|
|
24
|
-
item:
|
|
25
|
-
title: string;
|
|
26
|
-
content?: string;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
};
|
|
54
|
+
item: HysAccordionItem;
|
|
29
55
|
index: number;
|
|
56
|
+
expanded: boolean;
|
|
30
57
|
}) => any;
|
|
31
58
|
};
|
|
32
59
|
};
|
|
33
60
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
34
61
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
35
|
-
|
|
36
|
-
|
|
62
|
+
change: (value: HysAccordionKey[]) => any;
|
|
63
|
+
"update:modelValue": (value: HysAccordionKey[]) => any;
|
|
64
|
+
itemClick: (key: HysAccordionKey, expanded: boolean) => any;
|
|
65
|
+
guardError: (error: unknown) => any;
|
|
37
66
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
67
|
+
onChange?: ((value: HysAccordionKey[]) => any) | undefined;
|
|
68
|
+
"onUpdate:modelValue"?: ((value: HysAccordionKey[]) => any) | undefined;
|
|
69
|
+
onItemClick?: ((key: HysAccordionKey, expanded: boolean) => any) | undefined;
|
|
70
|
+
onGuardError?: ((error: unknown) => any) | undefined;
|
|
71
|
+
}>, {
|
|
72
|
+
bordered: boolean;
|
|
73
|
+
size: "sm" | "md" | "lg";
|
|
74
|
+
arrowPlacement: "left" | "right";
|
|
75
|
+
showArrow: boolean;
|
|
76
|
+
trigger: "header" | "icon";
|
|
77
|
+
lazy: boolean;
|
|
78
|
+
destroyOnHide: boolean;
|
|
79
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
41
80
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
42
81
|
declare const _default: typeof __VLS_export;
|
|
43
82
|
export default _default;
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { type HysAutocompleteProps, type HysAutocompleteDataOption, type HysAutocompleteItem, type HysAutocompleteRow } from "../../composables/autocomplete";
|
|
2
|
+
declare function focus(options?: FocusOptions): void;
|
|
3
|
+
declare function blur(): void;
|
|
4
|
+
declare function open(): Promise<void>;
|
|
5
|
+
declare function getData(): Promise<void>;
|
|
6
|
+
declare function setValue(value: string | number | null): void;
|
|
7
|
+
declare function clear(): void;
|
|
8
|
+
declare function select(item: HysAutocompleteItem): Promise<void>;
|
|
9
|
+
declare function highlight(index: number): void;
|
|
10
|
+
declare const __VLS_template: () => {
|
|
11
|
+
__VLS_Slots: {
|
|
12
|
+
input?: (props: {
|
|
13
|
+
value: string;
|
|
14
|
+
setValue: typeof setValue;
|
|
15
|
+
inputProps: {
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
readonly: boolean;
|
|
18
|
+
size: "sm" | "md" | "lg";
|
|
19
|
+
clearable: boolean | undefined;
|
|
20
|
+
clearIcon: import("vue").Component | undefined;
|
|
21
|
+
placeholder: string | undefined;
|
|
22
|
+
label: string | undefined;
|
|
23
|
+
name: string | undefined;
|
|
24
|
+
status: "success" | "warning" | "error" | undefined;
|
|
25
|
+
error: string | undefined;
|
|
26
|
+
bordered: boolean;
|
|
27
|
+
id: string | undefined;
|
|
28
|
+
role: string;
|
|
29
|
+
autocomplete: string;
|
|
30
|
+
ariaLabel: string;
|
|
31
|
+
"aria-autocomplete": string;
|
|
32
|
+
"aria-expanded": boolean;
|
|
33
|
+
"aria-controls": string | undefined;
|
|
34
|
+
"aria-activedescendant": string | undefined;
|
|
35
|
+
"aria-busy": true | undefined;
|
|
36
|
+
type?: string;
|
|
37
|
+
autofocus?: boolean;
|
|
38
|
+
resize?: "none" | "both" | "horizontal" | "vertical";
|
|
39
|
+
showPassword?: boolean;
|
|
40
|
+
showPasswordOn?: "click" | "mousedown";
|
|
41
|
+
passwordVisible?: boolean;
|
|
42
|
+
defaultPasswordVisible?: boolean;
|
|
43
|
+
prefixIcon?: import("vue").Component;
|
|
44
|
+
suffixIcon?: import("vue").Component;
|
|
45
|
+
showCount?: boolean | {
|
|
46
|
+
formatter: (info: import("../../index.js").HysInputCountInfo) => string;
|
|
47
|
+
};
|
|
48
|
+
showWordLimit?: boolean;
|
|
49
|
+
countPosition?: "inside" | "outside";
|
|
50
|
+
wordLimitPosition?: "inside" | "outside";
|
|
51
|
+
countGraphemes?: import("../../index.js").HysInputCountStrategy;
|
|
52
|
+
maxlength?: number | string;
|
|
53
|
+
minlength?: number | string;
|
|
54
|
+
formatter?: (value: string, info: import("../../index.js").HysInputFormatInfo) => string;
|
|
55
|
+
parser?: (value: string) => string | number;
|
|
56
|
+
allowInput?: (value: string) => boolean;
|
|
57
|
+
rows?: number;
|
|
58
|
+
autosize?: boolean | {
|
|
59
|
+
minRows?: number;
|
|
60
|
+
maxRows?: number;
|
|
61
|
+
};
|
|
62
|
+
inputProps?: import("vue").InputHTMLAttributes | import("vue").TextareaHTMLAttributes;
|
|
63
|
+
selectOnFocus?: boolean;
|
|
64
|
+
round?: boolean;
|
|
65
|
+
};
|
|
66
|
+
loading: boolean;
|
|
67
|
+
clear: typeof clear;
|
|
68
|
+
}) => any;
|
|
69
|
+
} & {
|
|
70
|
+
prefix?: (props: {}) => any;
|
|
71
|
+
} & {
|
|
72
|
+
suffix?: (props: {
|
|
73
|
+
loading: boolean;
|
|
74
|
+
}) => any;
|
|
75
|
+
} & {
|
|
76
|
+
prepend?: (props: {}) => any;
|
|
77
|
+
} & {
|
|
78
|
+
append?: (props: {}) => any;
|
|
79
|
+
} & {
|
|
80
|
+
'clear-icon'?: (props: {}) => any;
|
|
81
|
+
} & {
|
|
82
|
+
header?: (props: {
|
|
83
|
+
query: string;
|
|
84
|
+
loading: boolean;
|
|
85
|
+
options: HysAutocompleteItem[];
|
|
86
|
+
close: () => void;
|
|
87
|
+
}) => any;
|
|
88
|
+
} & {
|
|
89
|
+
loading?: (props: {
|
|
90
|
+
query: string;
|
|
91
|
+
}) => any;
|
|
92
|
+
} & {
|
|
93
|
+
error?: (props: {
|
|
94
|
+
error: unknown;
|
|
95
|
+
query: string;
|
|
96
|
+
retry: typeof getData;
|
|
97
|
+
}) => any;
|
|
98
|
+
} & {
|
|
99
|
+
group?: (props: {
|
|
100
|
+
label: string;
|
|
101
|
+
group: import("../../index.js").HysAutocompleteGroup | undefined;
|
|
102
|
+
}) => any;
|
|
103
|
+
} & {
|
|
104
|
+
option?: (props: {
|
|
105
|
+
item: HysAutocompleteItem;
|
|
106
|
+
option: HysAutocompleteRow;
|
|
107
|
+
query: string;
|
|
108
|
+
active: boolean;
|
|
109
|
+
}) => any;
|
|
110
|
+
} & {
|
|
111
|
+
default?: (props: {
|
|
112
|
+
item: HysAutocompleteItem;
|
|
113
|
+
option: HysAutocompleteRow;
|
|
114
|
+
query: string;
|
|
115
|
+
active: boolean;
|
|
116
|
+
}) => any;
|
|
117
|
+
} & {
|
|
118
|
+
empty?: (props: {
|
|
119
|
+
query: string;
|
|
120
|
+
}) => any;
|
|
121
|
+
} & {
|
|
122
|
+
footer?: (props: {
|
|
123
|
+
query: string;
|
|
124
|
+
loading: boolean;
|
|
125
|
+
options: HysAutocompleteItem[];
|
|
126
|
+
close: () => void;
|
|
127
|
+
clear: typeof clear;
|
|
128
|
+
}) => any;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
132
|
+
declare const __VLS_base: import("vue").DefineComponent<HysAutocompleteProps, {
|
|
133
|
+
input: import("vue").Ref<HTMLInputElement | HTMLTextAreaElement | undefined, HTMLInputElement | HTMLTextAreaElement | undefined>;
|
|
134
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
135
|
+
loading: import("vue").ComputedRef<boolean>;
|
|
136
|
+
highlightedIndex: import("vue").ComputedRef<number>;
|
|
137
|
+
suggestions: import("vue").ComputedRef<HysAutocompleteItem[]>;
|
|
138
|
+
focus: typeof focus;
|
|
139
|
+
blur: typeof blur;
|
|
140
|
+
open: typeof open;
|
|
141
|
+
close: () => void;
|
|
142
|
+
clear: typeof clear;
|
|
143
|
+
getData: typeof getData;
|
|
144
|
+
retry: typeof getData;
|
|
145
|
+
highlight: typeof highlight;
|
|
146
|
+
select: typeof select;
|
|
147
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
148
|
+
change: (value: string) => any;
|
|
149
|
+
"update:modelValue": (value: string) => any;
|
|
150
|
+
search: (query: string) => any;
|
|
151
|
+
clear: () => any;
|
|
152
|
+
input: (value: string) => any;
|
|
153
|
+
select: (item: HysAutocompleteItem, value: string) => any;
|
|
154
|
+
blur: (event: FocusEvent) => any;
|
|
155
|
+
focus: (event: FocusEvent) => any;
|
|
156
|
+
pressEnter: (event: KeyboardEvent) => any;
|
|
157
|
+
"update:open": (open: boolean) => any;
|
|
158
|
+
visibleChange: (open: boolean) => any;
|
|
159
|
+
searchError: (error: unknown, query: string) => any;
|
|
160
|
+
}, string, import("vue").PublicProps, Readonly<HysAutocompleteProps> & Readonly<{
|
|
161
|
+
onChange?: ((value: string) => any) | undefined;
|
|
162
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
163
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
164
|
+
onClear?: (() => any) | undefined;
|
|
165
|
+
onInput?: ((value: string) => any) | undefined;
|
|
166
|
+
onSelect?: ((item: HysAutocompleteItem, value: string) => any) | undefined;
|
|
167
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
168
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
169
|
+
onPressEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
170
|
+
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
171
|
+
onVisibleChange?: ((open: boolean) => any) | undefined;
|
|
172
|
+
onSearchError?: ((error: unknown, query: string) => any) | undefined;
|
|
173
|
+
}>, {
|
|
174
|
+
bordered: boolean;
|
|
175
|
+
defaultValue: string;
|
|
176
|
+
open: boolean;
|
|
177
|
+
options: readonly HysAutocompleteDataOption[];
|
|
178
|
+
valueKey: string;
|
|
179
|
+
labelKey: string;
|
|
180
|
+
filterOption: boolean | ((query: string, item: HysAutocompleteItem) => boolean);
|
|
181
|
+
caseSensitive: boolean;
|
|
182
|
+
debounce: number;
|
|
183
|
+
minQueryLength: number;
|
|
184
|
+
triggerOnFocus: boolean;
|
|
185
|
+
loopNavigation: boolean;
|
|
186
|
+
placement: import("../../index.js").Placement;
|
|
187
|
+
popupMatchWidth: boolean;
|
|
188
|
+
appendTo: string | false | HTMLElement;
|
|
189
|
+
listHeight: number;
|
|
190
|
+
emptyText: string;
|
|
191
|
+
loadingText: string;
|
|
192
|
+
errorText: string;
|
|
193
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
194
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
195
|
+
declare const _default: typeof __VLS_export;
|
|
196
|
+
export default _default;
|
|
197
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
198
|
+
new (): {
|
|
199
|
+
$slots: S;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
@@ -1,26 +1,39 @@
|
|
|
1
|
-
type
|
|
2
|
-
|
|
3
|
-
src?: string;
|
|
4
|
-
size?: number;
|
|
5
|
-
shape?: 'circle' | 'square';
|
|
6
|
-
fit?: 'cover' | 'contain' | 'fill';
|
|
7
|
-
alt?: string;
|
|
8
|
-
};
|
|
1
|
+
import { type HysAvatarProps, type HysAvatarLoadInfo } from "../../composables/avatar";
|
|
2
|
+
declare function reload(): void;
|
|
9
3
|
declare const __VLS_template: () => {
|
|
10
4
|
__VLS_Slots: {
|
|
5
|
+
placeholder?: (props: {}) => any;
|
|
6
|
+
} & {
|
|
7
|
+
fallback?: (props: {
|
|
8
|
+
error: Event | undefined;
|
|
9
|
+
reload: typeof reload;
|
|
10
|
+
}) => any;
|
|
11
|
+
} & {
|
|
12
|
+
icon?: (props: {}) => any;
|
|
13
|
+
} & {
|
|
11
14
|
default?: (props: {}) => any;
|
|
12
15
|
};
|
|
13
16
|
};
|
|
14
17
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
15
|
-
declare const __VLS_base: import("vue").DefineComponent<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
declare const __VLS_base: import("vue").DefineComponent<HysAvatarProps, {
|
|
19
|
+
element: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
20
|
+
image: import("vue").Ref<HTMLImageElement | undefined, HTMLImageElement | undefined>;
|
|
21
|
+
loaded: import("vue").Ref<boolean, boolean>;
|
|
22
|
+
failed: import("vue").Ref<boolean, boolean>;
|
|
23
|
+
reload: typeof reload;
|
|
24
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
25
|
+
error: (event: Event, info: HysAvatarLoadInfo) => any;
|
|
26
|
+
load: (event: Event, info: HysAvatarLoadInfo) => any;
|
|
27
|
+
}, string, import("vue").PublicProps, Readonly<HysAvatarProps> & Readonly<{
|
|
28
|
+
onError?: ((event: Event, info: HysAvatarLoadInfo) => any) | undefined;
|
|
29
|
+
onLoad?: ((event: Event, info: HysAvatarLoadInfo) => any) | undefined;
|
|
19
30
|
}>, {
|
|
31
|
+
bordered: boolean;
|
|
20
32
|
name: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
fit: "
|
|
33
|
+
draggable: boolean;
|
|
34
|
+
gap: number;
|
|
35
|
+
fit: import("../..").HysAvatarFit;
|
|
36
|
+
autoFit: boolean;
|
|
24
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
39
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { type CSSProperties, type PropType, type SlotsType, type VNode } from "vue";
|
|
2
|
+
import { type HysAvatarOption, type HysAvatarSize } from "../../composables/avatar";
|
|
3
|
+
import { type Placement } from "../../composables/useFloating";
|
|
4
|
+
declare const _default: typeof __VLS_export;
|
|
5
|
+
export default _default;
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
|
+
options: PropType<readonly HysAvatarOption[]>;
|
|
8
|
+
size: PropType<HysAvatarSize>;
|
|
9
|
+
shape: PropType<"circle" | "square">;
|
|
10
|
+
gap: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
maxCount: NumberConstructor;
|
|
15
|
+
vertical: BooleanConstructor;
|
|
16
|
+
bordered: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
maxStyle: PropType<CSSProperties>;
|
|
21
|
+
maxClass: StringConstructor;
|
|
22
|
+
placement: {
|
|
23
|
+
type: PropType<Placement>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
trigger: {
|
|
27
|
+
type: PropType<"hover" | "focus" | "click">;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
showOverflow: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
expandOnHover: BooleanConstructor;
|
|
35
|
+
}>, {
|
|
36
|
+
open: () => Promise<void>;
|
|
37
|
+
close: () => void;
|
|
38
|
+
renderGroup: () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}>;
|
|
41
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
+
visibleChange: (_open: boolean) => true;
|
|
43
|
+
overflowClick: (_count: number, _event: MouseEvent) => true;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
options: PropType<readonly HysAvatarOption[]>;
|
|
46
|
+
size: PropType<HysAvatarSize>;
|
|
47
|
+
shape: PropType<"circle" | "square">;
|
|
48
|
+
gap: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
default: number;
|
|
51
|
+
};
|
|
52
|
+
maxCount: NumberConstructor;
|
|
53
|
+
vertical: BooleanConstructor;
|
|
54
|
+
bordered: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
maxStyle: PropType<CSSProperties>;
|
|
59
|
+
maxClass: StringConstructor;
|
|
60
|
+
placement: {
|
|
61
|
+
type: PropType<Placement>;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
trigger: {
|
|
65
|
+
type: PropType<"hover" | "focus" | "click">;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
showOverflow: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
expandOnHover: BooleanConstructor;
|
|
73
|
+
}>> & Readonly<{
|
|
74
|
+
onVisibleChange?: ((_open: boolean) => any) | undefined;
|
|
75
|
+
onOverflowClick?: ((_count: number, _event: MouseEvent) => any) | undefined;
|
|
76
|
+
}>, {
|
|
77
|
+
bordered: boolean;
|
|
78
|
+
trigger: "click" | "focus" | "hover";
|
|
79
|
+
vertical: boolean;
|
|
80
|
+
placement: Placement;
|
|
81
|
+
gap: number;
|
|
82
|
+
expandOnHover: boolean;
|
|
83
|
+
showOverflow: boolean;
|
|
84
|
+
}, SlotsType<{
|
|
85
|
+
default?: () => VNode[];
|
|
86
|
+
avatar?: (props: {
|
|
87
|
+
option: HysAvatarOption;
|
|
88
|
+
index: number;
|
|
89
|
+
}) => VNode[];
|
|
90
|
+
overflow?: (props: {
|
|
91
|
+
count: number;
|
|
92
|
+
options: HysAvatarOption[];
|
|
93
|
+
}) => VNode[];
|
|
94
|
+
content?: (props: {
|
|
95
|
+
options: HysAvatarOption[];
|
|
96
|
+
close: () => void;
|
|
97
|
+
}) => VNode[];
|
|
98
|
+
empty?: () => VNode[];
|
|
99
|
+
}>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,27 +1,64 @@
|
|
|
1
|
+
import { type CSSProperties } from "vue";
|
|
1
2
|
type __VLS_Props = {
|
|
2
|
-
tone?:
|
|
3
|
-
size?:
|
|
3
|
+
tone?: "blue" | "green" | "orange" | "red" | "purple" | "gray";
|
|
4
|
+
size?: "sm" | "md" | "lg";
|
|
4
5
|
round?: boolean;
|
|
5
6
|
closable?: boolean;
|
|
7
|
+
closeText?: string;
|
|
8
|
+
closeLabel?: string;
|
|
6
9
|
dot?: boolean;
|
|
7
10
|
value?: number | string;
|
|
8
11
|
max?: number;
|
|
9
12
|
showZero?: boolean;
|
|
13
|
+
hidden?: boolean;
|
|
14
|
+
color?: string;
|
|
15
|
+
offset?: readonly [number | string, number | string];
|
|
16
|
+
placement?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
17
|
+
badgeStyle?: CSSProperties;
|
|
18
|
+
badgeClass?: string;
|
|
19
|
+
status?: "success" | "processing" | "default" | "error" | "warning";
|
|
20
|
+
text?: string;
|
|
21
|
+
title?: string;
|
|
22
|
+
effect?: "light" | "dark" | "plain";
|
|
23
|
+
checkable?: boolean;
|
|
24
|
+
checked?: boolean;
|
|
25
|
+
defaultChecked?: boolean;
|
|
26
|
+
disabled?: boolean;
|
|
10
27
|
};
|
|
11
28
|
declare const __VLS_template: () => {
|
|
12
29
|
__VLS_Slots: {
|
|
13
30
|
default?: (props: {}) => any;
|
|
31
|
+
} & {
|
|
32
|
+
default?: (props: {}) => any;
|
|
33
|
+
} & {
|
|
34
|
+
default?: (props: {}) => any;
|
|
35
|
+
} & {
|
|
36
|
+
'close-icon'?: (props: {}) => any;
|
|
37
|
+
} & {
|
|
38
|
+
content?: (props: {
|
|
39
|
+
value: string | number | undefined;
|
|
40
|
+
displayValue: string | number | undefined;
|
|
41
|
+
}) => any;
|
|
14
42
|
};
|
|
15
43
|
};
|
|
16
44
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
17
45
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
46
|
+
change: (checked: boolean, event: MouseEvent) => any;
|
|
18
47
|
close: (event: MouseEvent) => any;
|
|
48
|
+
"update:checked": (checked: boolean) => any;
|
|
19
49
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
50
|
+
onChange?: ((checked: boolean, event: MouseEvent) => any) | undefined;
|
|
20
51
|
onClose?: ((event: MouseEvent) => any) | undefined;
|
|
52
|
+
"onUpdate:checked"?: ((checked: boolean) => any) | undefined;
|
|
21
53
|
}>, {
|
|
54
|
+
size: "sm" | "md" | "lg";
|
|
22
55
|
max: number;
|
|
23
|
-
tone: "blue" | "green" | "purple" | "orange" | "
|
|
24
|
-
|
|
56
|
+
tone: "blue" | "green" | "purple" | "orange" | "gray" | "red";
|
|
57
|
+
checked: boolean;
|
|
58
|
+
placement: "top-right" | "top-left" | "bottom-right" | "bottom-left";
|
|
59
|
+
closeLabel: string;
|
|
60
|
+
effect: "dark" | "light" | "plain";
|
|
61
|
+
defaultChecked: boolean;
|
|
25
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
63
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
64
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,25 +1,53 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
2
|
+
export interface HysBreadcrumbItem {
|
|
3
|
+
label: string;
|
|
4
|
+
href?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
target?: string;
|
|
7
|
+
rel?: string;
|
|
8
|
+
separator?: string;
|
|
9
|
+
showSeparator?: boolean;
|
|
10
|
+
}
|
|
1
11
|
type __VLS_Props = {
|
|
2
12
|
separator?: string;
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}[];
|
|
13
|
+
separatorIcon?: Component;
|
|
14
|
+
items: HysBreadcrumbItem[];
|
|
15
|
+
ariaLabel?: string;
|
|
7
16
|
};
|
|
8
17
|
declare const __VLS_template: () => {
|
|
9
18
|
__VLS_Slots: {
|
|
10
|
-
separator?: (props: {
|
|
19
|
+
separator?: (props: {
|
|
20
|
+
item: HysBreadcrumbItem;
|
|
21
|
+
index: number;
|
|
22
|
+
}) => any;
|
|
11
23
|
} & {
|
|
12
24
|
link?: (props: {
|
|
13
|
-
item:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
25
|
+
item: HysBreadcrumbItem;
|
|
26
|
+
index: number;
|
|
27
|
+
}) => any;
|
|
28
|
+
} & {
|
|
29
|
+
item?: (props: {
|
|
30
|
+
item: HysBreadcrumbItem;
|
|
31
|
+
index: number;
|
|
32
|
+
current: boolean;
|
|
33
|
+
}) => any;
|
|
34
|
+
} & {
|
|
35
|
+
item?: (props: {
|
|
36
|
+
item: HysBreadcrumbItem;
|
|
17
37
|
index: number;
|
|
38
|
+
current: boolean;
|
|
18
39
|
}) => any;
|
|
19
40
|
};
|
|
20
41
|
};
|
|
21
42
|
type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
|
|
22
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
|
+
select: (item: HysBreadcrumbItem, index: number, event: MouseEvent) => any;
|
|
45
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
46
|
+
onSelect?: ((item: HysBreadcrumbItem, index: number, event: MouseEvent) => any) | undefined;
|
|
47
|
+
}>, {
|
|
48
|
+
ariaLabel: string;
|
|
49
|
+
separator: string;
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
51
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
24
52
|
declare const _default: typeof __VLS_export;
|
|
25
53
|
export default _default;
|
|
@@ -47,7 +47,6 @@ declare const __VLS_base: import("vue").DefineComponent<HysButtonProps, {
|
|
|
47
47
|
}>, {
|
|
48
48
|
type: "button" | "submit" | "reset";
|
|
49
49
|
focusable: boolean;
|
|
50
|
-
size: "sm" | "md" | "lg";
|
|
51
50
|
variant: HysButtonVariant;
|
|
52
51
|
iconPosition: "left" | "right";
|
|
53
52
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|