@mobileaction/action-kit 1.40.0 → 1.40.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobileaction/action-kit",
3
- "version": "1.40.0",
3
+ "version": "1.40.1",
4
4
  "type": "module",
5
5
  "main": "dist/action-kit.mjs",
6
6
  "module": "dist/action-kit.mjs",
@@ -1,52 +0,0 @@
1
- import { Ref } from "vue";
2
- import { DefaultOptionType as OptionType } from "ant-design-vue/lib/select";
3
- import { AutoCompleteSize } from "./types";
4
- export interface MaAutocompleteProps {
5
- value?: string | undefined;
6
- options?: OptionType[] | undefined;
7
- label?: string;
8
- filterFn?: Function;
9
- placeholder?: string;
10
- prefixIcon?: string;
11
- avatarUrl?: string;
12
- open?: boolean;
13
- size?: AutoCompleteSize;
14
- autofocus?: boolean;
15
- noOverlay?: boolean;
16
- allowClear?: boolean;
17
- getPopupContainer?: () => void;
18
- dropdownMatchSelectWidth?: boolean;
19
- }
20
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaAutocompleteProps, {
21
- openOverlay: () => Promise<NodeJS.Timeout>;
22
- closeOverlay: () => void;
23
- searchInput: Ref<HTMLInputElement, HTMLInputElement>;
24
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
25
- search: (...args: any[]) => void;
26
- "update:value": (...args: any[]) => void;
27
- }, string, import("vue").PublicProps, Readonly<MaAutocompleteProps> & Readonly<{
28
- onSearch?: (...args: any[]) => any;
29
- "onUpdate:value"?: (...args: any[]) => any;
30
- }>, {
31
- size: AutoCompleteSize;
32
- autofocus: boolean;
33
- options: OptionType[] | undefined;
34
- open: boolean;
35
- dropdownMatchSelectWidth: boolean;
36
- allowClear: boolean;
37
- filterFn: Function;
38
- noOverlay: boolean;
39
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>, {
40
- default?(_: {}): any;
41
- option?(_: {
42
- label: any;
43
- value: string | number;
44
- }): any;
45
- overlay?(_: {}): any;
46
- }>;
47
- export default _default;
48
- type __VLS_WithTemplateSlots<T, S> = T & {
49
- new (): {
50
- $slots: S;
51
- };
52
- };
@@ -1,8 +0,0 @@
1
- import type { Meta, StoryFn } from '@storybook/vue3';
2
- import MaAutocomplete from '../index.vue';
3
- export declare const baseConfig: Meta<typeof MaAutocomplete>;
4
- export declare const Template: StoryFn;
5
- export declare const TemplateUserAvatar: StoryFn;
6
- export declare const TemplateIcon: StoryFn;
7
- export declare const TemplateCustomInput: StoryFn;
8
- export declare const TemplateCustomAppInput: StoryFn;
@@ -1,14 +0,0 @@
1
- import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
2
- import { MaAutoComplete } from '@/index';
3
- declare const meta: Meta<typeof MaAutoComplete>;
4
- export default meta;
5
- type Story = StoryObj<typeof MaAutoComplete>;
6
- export declare const Default: Story;
7
- export declare const WithIcons: Story;
8
- export declare const WithAvatar: Story;
9
- export declare const Small: Story;
10
- export declare const Medium: Story;
11
- export declare const CustomInput: Story;
12
- export declare const CustomAppInput: Story;
13
- export declare const WithTabs: StoryFn;
14
- export declare const WithTabsInsidePopover: StoryFn;
@@ -1,2 +0,0 @@
1
- export declare const AutoCompleteSizes: readonly ["large", "medium", "small"];
2
- export type AutoCompleteSize = (typeof AutoCompleteSizes)[number];