@mobileaction/action-kit 1.23.26 → 1.24.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.
@@ -26,25 +26,31 @@ export interface MaSelectProps {
26
26
  value?: string | number | string[] | number[];
27
27
  listHeight?: number;
28
28
  dropdownMatchSelectWidth?: boolean | number;
29
+ hintText?: string;
30
+ borderless?: boolean;
31
+ error?: boolean;
32
+ optionItemRounded?: boolean;
29
33
  }
30
34
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaSelectProps>, {
31
35
  autoClearSearchValue: boolean;
32
36
  open: boolean;
33
37
  size: string;
34
38
  value: string;
35
- menuItemSelectedIcon: string;
36
39
  listHeight: number;
37
40
  dropdownMatchSelectWidth: boolean;
38
41
  showArrow: boolean;
42
+ borderless: boolean;
43
+ menuItemSelectedIcon: string;
39
44
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "dropdownVisibleChange")[], "update:value" | "dropdownVisibleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaSelectProps>, {
40
45
  autoClearSearchValue: boolean;
41
46
  open: boolean;
42
47
  size: string;
43
48
  value: string;
44
- menuItemSelectedIcon: string;
45
49
  listHeight: number;
46
50
  dropdownMatchSelectWidth: boolean;
47
51
  showArrow: boolean;
52
+ borderless: boolean;
53
+ menuItemSelectedIcon: string;
48
54
  }>>> & {
49
55
  "onUpdate:value"?: (...args: any[]) => any;
50
56
  onDropdownVisibleChange?: (...args: any[]) => any;
@@ -57,9 +63,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
57
63
  menuItemSelectedIcon: string;
58
64
  listHeight: number;
59
65
  autoClearSearchValue: boolean;
66
+ borderless: boolean;
60
67
  }>, Record<string, (_: {}) => any> & {
68
+ label: (_: {
69
+ class: string;
70
+ }) => any;
61
71
  option: (_: any) => any;
62
72
  prefixIcon: (_: {}) => any;
73
+ multiSelectionDisplayText: (_: {}) => any;
63
74
  }>;
64
75
  export default _default;
65
76
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,4 +1,5 @@
1
1
  import type { Meta, StoryFn } from '@storybook/vue3';
2
- import MaSelect from '../index.vue';
2
+ import { MaSelect } from '@/index';
3
3
  export declare const baseConfig: Meta<typeof MaSelect>;
4
4
  export declare const Template: StoryFn;
5
+ export declare const TemplateOption: StoryFn;
@@ -1,10 +1,18 @@
1
1
  import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
2
- import MaSelect from '../index.vue';
2
+ import { MaSelect } from "@/index";
3
3
  declare const meta: Meta<typeof MaSelect>;
4
4
  export default meta;
5
5
  declare type Story = StoryObj<typeof MaSelect>;
6
6
  export declare const Default: Story;
7
7
  export declare const WithImage: StoryFn;
8
8
  export declare const Disabled: Story;
9
+ export declare const WithHintText: Story;
10
+ export declare const WithItemIcon: Story;
11
+ export declare const WithItemImage: Story;
12
+ export declare const Borderless: Story;
13
+ export declare const WithError: Story;
14
+ export declare const ErrorBorderless: Story;
9
15
  export declare const Loading: Story;
16
+ export declare const CountryFlags: Story;
17
+ export declare const WithDescription: Story;
10
18
  export declare const SmallWidth: StoryFn;
@@ -0,0 +1,12 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import { MaSelect } from "@/index";
3
+ declare const meta: Meta<typeof MaSelect>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaSelect>;
6
+ export declare const Default: Story;
7
+ export declare const WithItemImage: Story;
8
+ export declare const WithItemIcon: Story;
9
+ export declare const CountryFlags: Story;
10
+ export declare const WithDescription: Story;
11
+ export declare const SelectUser: Story;
12
+ export declare const Option: Story;
@@ -1,4 +1,4 @@
1
1
  export declare const SelectSizes: readonly ["default", "large", "small"];
2
- export declare const SelectModes: readonly ["multiple", "tags"];
2
+ export declare const SelectModes: readonly ["multiple", "multiselect"];
3
3
  export declare type SelectSize = (typeof SelectSizes)[number];
4
4
  export declare type SelectMode = (typeof SelectModes)[number];