@mobileaction/action-kit 1.1.48 → 1.1.49
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/action-kit.js +4 -4
- package/dist/action-kit.mjs +788 -783
- package/dist/components/autocomplete/index.vue.d.ts +13 -0
- package/dist/components/autocomplete/types.d.ts +2 -0
- package/dist/src/components/autocomplete/index.vue.d.ts +5 -0
- package/dist/src/components/autocomplete/stories/default.stories.d.ts +2 -0
- package/dist/src/components/autocomplete/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
2
|
import { DefaultOptionType as OptionType } from "ant-design-vue/lib/select";
|
|
3
|
+
import { AutoCompleteSize } from "./types";
|
|
3
4
|
export interface MaAutocompleteProps {
|
|
4
5
|
value?: string | undefined;
|
|
5
6
|
options?: OptionType[] | undefined;
|
|
@@ -9,6 +10,7 @@ export interface MaAutocompleteProps {
|
|
|
9
10
|
prefixIcon?: string;
|
|
10
11
|
avatarUrl?: string;
|
|
11
12
|
open?: boolean;
|
|
13
|
+
size?: AutoCompleteSize;
|
|
12
14
|
}
|
|
13
15
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
14
16
|
value: {
|
|
@@ -46,6 +48,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
46
48
|
required: false;
|
|
47
49
|
default: boolean;
|
|
48
50
|
};
|
|
51
|
+
size: {
|
|
52
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
53
|
+
required: false;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
49
56
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "update:value")[], "search" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
50
57
|
value: {
|
|
51
58
|
type: __PropType<string>;
|
|
@@ -82,10 +89,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
82
89
|
required: false;
|
|
83
90
|
default: boolean;
|
|
84
91
|
};
|
|
92
|
+
size: {
|
|
93
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
94
|
+
required: false;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
85
97
|
}>> & {
|
|
86
98
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
87
99
|
onSearch?: (...args: any[]) => any;
|
|
88
100
|
}, {
|
|
101
|
+
size: "small" | "medium" | "large";
|
|
89
102
|
options: OptionType[];
|
|
90
103
|
filterFn: Function;
|
|
91
104
|
open: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DefaultOptionType as OptionType } from "ant-design-vue/lib/select";
|
|
2
|
+
import { AutoCompleteSize } from "./types";
|
|
2
3
|
export interface MaAutocompleteProps {
|
|
3
4
|
value?: string | undefined;
|
|
4
5
|
options?: OptionType[] | undefined;
|
|
@@ -8,19 +9,23 @@ export interface MaAutocompleteProps {
|
|
|
8
9
|
prefixIcon?: string;
|
|
9
10
|
avatarUrl?: string;
|
|
10
11
|
open?: boolean;
|
|
12
|
+
size?: AutoCompleteSize;
|
|
11
13
|
}
|
|
12
14
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAutocompleteProps>, {
|
|
13
15
|
options: () => OptionType[];
|
|
14
16
|
filterFn: (value: string, option: OptionType) => boolean;
|
|
15
17
|
open: boolean;
|
|
18
|
+
size: string;
|
|
16
19
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "search")[], "search" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAutocompleteProps>, {
|
|
17
20
|
options: () => OptionType[];
|
|
18
21
|
filterFn: (value: string, option: OptionType) => boolean;
|
|
19
22
|
open: boolean;
|
|
23
|
+
size: string;
|
|
20
24
|
}>>> & {
|
|
21
25
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
22
26
|
onSearch?: (...args: any[]) => any;
|
|
23
27
|
}, {
|
|
28
|
+
size: "small" | "medium" | "large";
|
|
24
29
|
options: OptionType[];
|
|
25
30
|
open: boolean;
|
|
26
31
|
filterFn: Function;
|
|
@@ -6,5 +6,7 @@ declare type Story = StoryObj<typeof MaAutoComplete>;
|
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const WithIcons: Story;
|
|
8
8
|
export declare const WithAvatar: Story;
|
|
9
|
+
export declare const Small: Story;
|
|
10
|
+
export declare const Medium: Story;
|
|
9
11
|
export declare const CustomInput: Story;
|
|
10
12
|
export declare const CustomAppInput: Story;
|