@mobileaction/action-kit 1.40.1-beta.2 → 1.40.1-beta.20

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.
Files changed (29) hide show
  1. package/dist/action-kit.mjs +8790 -8677
  2. package/dist/close-CFWde4ah.js +17 -0
  3. package/dist/{rotate-right-ChWRxbQX.js → rotate-right-CG20lBd1.js} +10 -10
  4. package/dist/src/components/popconfirm/index.vue.d.ts +2 -2
  5. package/dist/src/components/popconfirm/stories/constants.d.ts +5 -5
  6. package/dist/src/components/popover-2/index.vue.d.ts +1 -1
  7. package/dist/src/components/popover-2/stories/constants.d.ts +3 -3
  8. package/dist/src/components/select-2/components/selectOption.vue.d.ts +33 -0
  9. package/dist/src/components/{image-2/group.vue.d.ts → select-2/components/selectOptionGroup.vue.d.ts} +4 -10
  10. package/dist/src/components/select-2/composables/use-keyboard-navigation.d.ts +8 -0
  11. package/dist/src/components/select-2/composables/use-options-registry.d.ts +7 -0
  12. package/dist/src/components/select-2/index.vue.d.ts +112 -0
  13. package/dist/src/components/select-2/stories/borderless.stories.d.ts +8 -0
  14. package/dist/src/components/select-2/stories/constants.d.ts +12 -0
  15. package/dist/src/components/select-2/stories/inline.stories.d.ts +8 -0
  16. package/dist/src/components/select-2/stories/multiple.stories.d.ts +14 -0
  17. package/dist/src/components/select-2/stories/select-option-group.stories.d.ts +41 -0
  18. package/dist/src/components/select-2/stories/select-option.stories.d.ts +119 -0
  19. package/dist/src/components/select-2/stories/single.stories.d.ts +25 -0
  20. package/dist/src/components/select-2/types.d.ts +174 -0
  21. package/dist/src/index.d.ts +3 -3
  22. package/dist/style.css +1 -1
  23. package/package.json +2 -1
  24. package/dist/close-DuGn1Sq0.js +0 -27
  25. package/dist/src/components/image-2/index.vue.d.ts +0 -30
  26. package/dist/src/components/image-2/preview.vue.d.ts +0 -22
  27. package/dist/src/components/image-2/stories/constants.d.ts +0 -8
  28. package/dist/src/components/image-2/stories/default.stories.d.ts +0 -9
  29. /package/dist/src/components/{image-2/image2.test.d.ts → select-2/select.test.d.ts} +0 -0
@@ -0,0 +1,17 @@
1
+ import { openBlock as l, createElementBlock as o, createElementVNode as t } from "vue";
2
+ const r = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "currentColor",
5
+ viewBox: "0 0 24 24"
6
+ };
7
+ function n(c, e) {
8
+ return l(), o("svg", r, e[0] || (e[0] = [
9
+ t("path", { d: "M15.712 16.773 7.227 8.288a.755.755 0 0 1 0-1.061c.29-.29.77-.29 1.06 0l8.486 8.485c.29.29.29.771 0 1.06-.29.29-.77.29-1.06 0Z" }, null, -1),
10
+ t("path", { d: "M7.227 16.773a.755.755 0 0 1 0-1.06l8.485-8.486a.756.756 0 0 1 1.061 0c.29.29.29.77 0 1.06l-8.485 8.486a.754.754 0 0 1-1.06 0Z" }, null, -1)
11
+ ]));
12
+ }
13
+ const s = { render: n };
14
+ export {
15
+ s as default,
16
+ n as render
17
+ };
@@ -1,28 +1,28 @@
1
- import { openBlock as r, createElementBlock as t, createElementVNode as o } from "vue";
2
- const n = {
1
+ import { openBlock as t, createElementBlock as n, createElementVNode as e } from "vue";
2
+ const r = {
3
3
  viewBox: "0 0 24 24",
4
4
  fill: "none",
5
5
  xmlns: "http://www.w3.org/2000/svg"
6
6
  };
7
- function l(s, e) {
8
- return r(), t("svg", n, e[0] || (e[0] = [
9
- o("path", {
7
+ function l(s, o) {
8
+ return t(), n("svg", r, o[0] || (o[0] = [
9
+ e("path", {
10
10
  d: "M14.8901 5.08002C14.0201 4.82002 13.0601 4.65002 12.0001 4.65002C7.21008 4.65002 3.33008 8.53002 3.33008 13.32C3.33008 18.12 7.21008 22 12.0001 22C16.7901 22 20.6701 18.12 20.6701 13.33C20.6701 11.55 20.1301 9.89002 19.2101 8.51002",
11
- stroke: "currentColor",
11
+ stroke: "#292D32",
12
12
  "stroke-width": "1.5",
13
13
  "stroke-linecap": "round",
14
14
  "stroke-linejoin": "round"
15
15
  }, null, -1),
16
- o("path", {
16
+ e("path", {
17
17
  d: "M16.13 5.32L13.24 2",
18
- stroke: "currentColor",
18
+ stroke: "#292D32",
19
19
  "stroke-width": "1.5",
20
20
  "stroke-linecap": "round",
21
21
  "stroke-linejoin": "round"
22
22
  }, null, -1),
23
- o("path", {
23
+ e("path", {
24
24
  d: "M16.13 5.31995L12.76 7.77995",
25
- stroke: "currentColor",
25
+ stroke: "#292D32",
26
26
  "stroke-width": "1.5",
27
27
  "stroke-linecap": "round",
28
28
  "stroke-linejoin": "round"
@@ -20,14 +20,14 @@ export interface MaPopconfirmProps {
20
20
  }
21
21
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaPopconfirmProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
22
  cancel: (...args: any[]) => void;
23
- confirm: (...args: any[]) => void;
24
23
  "update:visible": (...args: any[]) => void;
25
24
  visibleChange: (...args: any[]) => void;
25
+ confirm: (...args: any[]) => void;
26
26
  }, string, import("vue").PublicProps, Readonly<MaPopconfirmProps> & Readonly<{
27
27
  onCancel?: (...args: any[]) => any;
28
- onConfirm?: (...args: any[]) => any;
29
28
  "onUpdate:visible"?: (...args: any[]) => any;
30
29
  onVisibleChange?: (...args: any[]) => any;
30
+ onConfirm?: (...args: any[]) => any;
31
31
  }>, {
32
32
  icon: string;
33
33
  placement: PopconfirmPlacement;
@@ -4,14 +4,14 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
4
4
  MaPopconfirm: {
5
5
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("@/components/popconfirm/index.vue").MaPopconfirmProps> & Readonly<{
6
6
  onCancel?: (...args: any[]) => any;
7
- onConfirm?: (...args: any[]) => any;
8
7
  "onUpdate:visible"?: (...args: any[]) => any;
9
8
  onVisibleChange?: (...args: any[]) => any;
9
+ onConfirm?: (...args: any[]) => any;
10
10
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  cancel: (...args: any[]) => void;
12
- confirm: (...args: any[]) => void;
13
12
  "update:visible": (...args: any[]) => void;
14
13
  visibleChange: (...args: any[]) => void;
14
+ confirm: (...args: any[]) => void;
15
15
  }, import("vue").PublicProps, {
16
16
  icon: string;
17
17
  placement: import("@/components/popconfirm/types").PopconfirmPlacement;
@@ -30,9 +30,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
30
30
  Defaults: {};
31
31
  }, Readonly<import("@/components/popconfirm/index.vue").MaPopconfirmProps> & Readonly<{
32
32
  onCancel?: (...args: any[]) => any;
33
- onConfirm?: (...args: any[]) => any;
34
33
  "onUpdate:visible"?: (...args: any[]) => any;
35
34
  onVisibleChange?: (...args: any[]) => any;
35
+ onConfirm?: (...args: any[]) => any;
36
36
  }>, {}, {}, {}, {}, {
37
37
  icon: string;
38
38
  placement: import("@/components/popconfirm/types").PopconfirmPlacement;
@@ -48,14 +48,14 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
48
48
  __isSuspense?: never;
49
49
  } & import("vue").ComponentOptionsBase<Readonly<import("@/components/popconfirm/index.vue").MaPopconfirmProps> & Readonly<{
50
50
  onCancel?: (...args: any[]) => any;
51
- onConfirm?: (...args: any[]) => any;
52
51
  "onUpdate:visible"?: (...args: any[]) => any;
53
52
  onVisibleChange?: (...args: any[]) => any;
53
+ onConfirm?: (...args: any[]) => any;
54
54
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
55
  cancel: (...args: any[]) => void;
56
- confirm: (...args: any[]) => void;
57
56
  "update:visible": (...args: any[]) => void;
58
57
  visibleChange: (...args: any[]) => void;
58
+ confirm: (...args: any[]) => void;
59
59
  }, string, {
60
60
  icon: string;
61
61
  placement: import("@/components/popconfirm/types").PopconfirmPlacement;
@@ -34,9 +34,9 @@ declare const __VLS_component: import("vue").DefineComponent<MaPopover2Props, {}
34
34
  overlayClassName: string;
35
35
  visible: boolean | undefined;
36
36
  showArrow: boolean;
37
- noPadding: boolean;
38
37
  autoHide: boolean;
39
38
  isMobile: boolean;
39
+ noPadding: boolean;
40
40
  popupContainer: HTMLElement | null | string;
41
41
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
42
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -15,9 +15,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
15
15
  overlayClassName: string;
16
16
  visible: boolean | undefined;
17
17
  showArrow: boolean;
18
- noPadding: boolean;
19
18
  autoHide: boolean;
20
19
  isMobile: boolean;
20
+ noPadding: boolean;
21
21
  popupContainer: HTMLElement | null | string;
22
22
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
23
23
  P: {};
@@ -36,9 +36,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
36
36
  overlayClassName: string;
37
37
  visible: boolean | undefined;
38
38
  showArrow: boolean;
39
- noPadding: boolean;
40
39
  autoHide: boolean;
41
40
  isMobile: boolean;
41
+ noPadding: boolean;
42
42
  popupContainer: HTMLElement | null | string;
43
43
  }>;
44
44
  __isFragment?: never;
@@ -57,9 +57,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
57
57
  overlayClassName: string;
58
58
  visible: boolean | undefined;
59
59
  showArrow: boolean;
60
- noPadding: boolean;
61
60
  autoHide: boolean;
62
61
  isMobile: boolean;
62
+ noPadding: boolean;
63
63
  popupContainer: HTMLElement | null | string;
64
64
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
65
65
  $slots: {
@@ -0,0 +1,33 @@
1
+ import { MaSelectOptionProps } from '../types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: Readonly<{
5
+ /**
6
+ * Customized label area
7
+ */
8
+ default(): unknown;
9
+ }> & {
10
+ /**
11
+ * Customized label area
12
+ */
13
+ default(): unknown;
14
+ };
15
+ refs: {};
16
+ rootEl: HTMLDivElement;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: import("vue").DefineComponent<MaSelectOptionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ selected: (...args: any[]) => void;
21
+ }, string, import("vue").PublicProps, Readonly<MaSelectOptionProps> & Readonly<{
22
+ onSelected?: (...args: any[]) => any;
23
+ }>, {
24
+ checkboxDisplay: import("../types").MaSelectOptionCheckboxDisplay;
25
+ multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ export default _default;
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -1,21 +1,15 @@
1
- import { MaImage2Props } from './index.vue';
2
- interface MaImageGroup2Props {
3
- images?: MaImage2Props[];
4
- }
1
+ import { MaSelectGroupProps } from '../types';
5
2
  declare function __VLS_template(): {
6
3
  attrs: Partial<{}>;
7
4
  slots: {
5
+ label?(_: {}): any;
8
6
  default?(_: {}): any;
9
7
  };
10
- refs: {
11
- "image-ref": HTMLDivElement;
12
- };
8
+ refs: {};
13
9
  rootEl: HTMLDivElement;
14
10
  };
15
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
- declare const __VLS_component: import("vue").DefineComponent<MaImageGroup2Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaImageGroup2Props> & Readonly<{}>, {
17
- images: MaImage2Props[];
18
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
12
+ declare const __VLS_component: import("vue").DefineComponent<MaSelectGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaSelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
19
13
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
20
14
  export default _default;
21
15
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,8 @@
1
+ import { Ref, ComputedRef } from 'vue';
2
+ import { MaSelectOption } from '../types';
3
+ import { DynamicScroller } from 'vue-virtual-scroller';
4
+ export declare function useArrowNavigation(isOpen: Ref<boolean>, optionList: ComputedRef<MaSelectOption[]>, dynamicScrollerRef: Ref<InstanceType<typeof DynamicScroller> | null>, select: (i: number) => void): {
5
+ getOptionClass: (index: number) => {
6
+ 'ma-select-option--highlighted': boolean;
7
+ };
8
+ };
@@ -0,0 +1,7 @@
1
+ import { MaSelectOptionValue } from '../types';
2
+ export declare const useOptionsRegistry: () => {
3
+ optionsMap: import("vue").Ref<Map<string, string> & Omit<Map<string, string>, keyof Map<any, any>>, Map<string, string> | (Map<string, string> & Omit<Map<string, string>, keyof Map<any, any>>)>;
4
+ registerOption: (value: MaSelectOptionValue, label: string) => void;
5
+ unregisterOption: (value: MaSelectOptionValue) => void;
6
+ getOptionLabel: (value: MaSelectOptionValue) => string;
7
+ };
@@ -0,0 +1,112 @@
1
+ import { MaSelectProps, MaSelectValue, MaSelectOption as MaSelectOptionType } from './types';
2
+ import { DynamicScroller } from 'vue-virtual-scroller';
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: Readonly<{
6
+ /**
7
+ * Slot for the prefix icon for the select component
8
+ */
9
+ 'prefix-icon'(): unknown;
10
+ /**
11
+ * The input area for the select component.
12
+ */
13
+ input(): unknown;
14
+ /**
15
+ * Suffix icon slot for the select component.
16
+ */
17
+ 'suffix-icon'(): unknown;
18
+ /**
19
+ * The hint area slot for the bottom of the select input.
20
+ */
21
+ hint(): unknown;
22
+ /**
23
+ * Customize dropdown content, virtual scroll does not work with this mode
24
+ */
25
+ default(): unknown;
26
+ /**
27
+ * Slot for each option in the dropdown
28
+ */
29
+ option(option: MaSelectOptionType): unknown;
30
+ /**
31
+ * Customize dropdown header area
32
+ */
33
+ header(): unknown;
34
+ /**
35
+ * Customize dropdown footer area
36
+ */
37
+ footer(): unknown;
38
+ }> & {
39
+ /**
40
+ * Slot for the prefix icon for the select component
41
+ */
42
+ 'prefix-icon'(): unknown;
43
+ /**
44
+ * The input area for the select component.
45
+ */
46
+ input(): unknown;
47
+ /**
48
+ * Suffix icon slot for the select component.
49
+ */
50
+ 'suffix-icon'(): unknown;
51
+ /**
52
+ * The hint area slot for the bottom of the select input.
53
+ */
54
+ hint(): unknown;
55
+ /**
56
+ * Customize dropdown content, virtual scroll does not work with this mode
57
+ */
58
+ default(): unknown;
59
+ /**
60
+ * Slot for each option in the dropdown
61
+ */
62
+ option(option: MaSelectOptionType): unknown;
63
+ /**
64
+ * Customize dropdown header area
65
+ */
66
+ header(): unknown;
67
+ /**
68
+ * Customize dropdown footer area
69
+ */
70
+ footer(): unknown;
71
+ };
72
+ refs: {
73
+ selectInput: HTMLButtonElement;
74
+ dynamicScrollerRef: DynamicScroller;
75
+ };
76
+ rootEl: HTMLDivElement;
77
+ };
78
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
79
+ declare const __VLS_component: import("vue").DefineComponent<MaSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
80
+ change: (...args: any[]) => void;
81
+ "update:value": (...args: any[]) => void;
82
+ dropdownVisibleChange: (...args: any[]) => void;
83
+ }, string, import("vue").PublicProps, Readonly<MaSelectProps> & Readonly<{
84
+ onChange?: (...args: any[]) => any;
85
+ "onUpdate:value"?: (...args: any[]) => any;
86
+ onDropdownVisibleChange?: (...args: any[]) => any;
87
+ }>, {
88
+ size: import("./types").MaSelectSize;
89
+ disabled: boolean;
90
+ loading: boolean;
91
+ value: MaSelectValue;
92
+ options: MaSelectOptionType[];
93
+ dropdownMatchSelectWidth: boolean;
94
+ showSearch: boolean;
95
+ searchValue: string;
96
+ allowClear: boolean;
97
+ listHeight: number;
98
+ multiple: boolean;
99
+ compact: boolean;
100
+ searchPlaceholder: string;
101
+ dropdownProps: import("../popover-2/index.vue").MaPopover2Props;
102
+ checkboxDisplay: import("./types").MaSelectOptionCheckboxDisplay;
103
+ multiSelectionInput: import("./types").MaSelectMultiSelectionInput;
104
+ hideCheckIcon: boolean;
105
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
106
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
107
+ export default _default;
108
+ type __VLS_WithTemplateSlots<T, S> = T & {
109
+ new (): {
110
+ $slots: S;
111
+ };
112
+ };
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import { MaSelect2 as MaSelect } from '@/index';
3
+ declare const meta: Meta<typeof MaSelect>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof MaSelect>;
6
+ export declare const Default: Story;
7
+ export declare const Disabled: Story;
8
+ export declare const ErrorState: Story;
@@ -0,0 +1,12 @@
1
+ import type { Meta, StoryFn } from '@storybook/vue3';
2
+ import { MaSelect2 as MaSelect } from '@/index';
3
+ export declare const baseConfig: Meta<typeof MaSelect>;
4
+ export declare const Template: StoryFn;
5
+ export declare const TemplateDropdownRender: StoryFn;
6
+ export declare const TemplateOptionSlot: StoryFn;
7
+ export declare const TemplateAppIcon: StoryFn;
8
+ export declare const TemplateBadge: StoryFn;
9
+ export declare const TemplateIcon: StoryFn;
10
+ export declare const TemplateHeaderFooter: StoryFn;
11
+ export declare const TemplateCustomInput: StoryFn;
12
+ export declare const TemplateCompact: StoryFn;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import { MaSelect2 as MaSelect } from '@/index';
3
+ declare const meta: Meta<typeof MaSelect>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof MaSelect>;
6
+ export declare const Default: Story;
7
+ export declare const Disabled: Story;
8
+ export declare const ErrorState: Story;
@@ -0,0 +1,14 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import { MaSelect2 as MaSelect } from '@/index';
3
+ declare const meta: Meta<typeof MaSelect>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof MaSelect>;
6
+ export declare const Default: Story;
7
+ export declare const WithSearch: Story;
8
+ export declare const CustomDropdownRender: Story;
9
+ export declare const WithOptionSlot: Story;
10
+ export declare const WithAppIcon: Story;
11
+ export declare const WithBadge: Story;
12
+ export declare const WithIcon: Story;
13
+ export declare const WithToggle: Story;
14
+ export declare const CustomInputSlot: Story;
@@ -0,0 +1,41 @@
1
+ import type { Meta } from '@storybook/vue3';
2
+ import { MaSelectGroupProps } from '../types';
3
+ import { MaSelect2OptionGroup as MaSelectOptionGroup } from '@/index';
4
+ declare const meta: Meta<typeof MaSelectOptionGroup>;
5
+ export default meta;
6
+ export declare const Single: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
7
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaSelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
8
+ P: {};
9
+ B: {};
10
+ D: {};
11
+ C: {};
12
+ M: {};
13
+ Defaults: {};
14
+ }, Readonly<MaSelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
15
+ __isFragment?: never;
16
+ __isTeleport?: never;
17
+ __isSuspense?: never;
18
+ } & import("vue").ComponentOptionsBase<Readonly<MaSelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
19
+ $slots: {
20
+ label?(_: {}): any;
21
+ default?(_: {}): any;
22
+ };
23
+ })>>;
24
+ export declare const Multiple: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
25
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaSelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
26
+ P: {};
27
+ B: {};
28
+ D: {};
29
+ C: {};
30
+ M: {};
31
+ Defaults: {};
32
+ }, Readonly<MaSelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, {}>;
33
+ __isFragment?: never;
34
+ __isTeleport?: never;
35
+ __isSuspense?: never;
36
+ } & import("vue").ComponentOptionsBase<Readonly<MaSelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
37
+ $slots: {
38
+ label?(_: {}): any;
39
+ default?(_: {}): any;
40
+ };
41
+ })>>;
@@ -0,0 +1,119 @@
1
+ import type { Meta } from '@storybook/vue3';
2
+ import { MaSelectOptionProps } from '../types';
3
+ import { MaSelect2Option as MaSelectOption } from '@/index';
4
+ declare const meta: Meta<typeof MaSelectOption>;
5
+ export default meta;
6
+ export declare const Single: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
7
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaSelectOptionProps> & Readonly<{
8
+ onSelected?: (...args: any[]) => any;
9
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ selected: (...args: any[]) => void;
11
+ }, import("vue").PublicProps, {
12
+ checkboxDisplay: import("../types").MaSelectOptionCheckboxDisplay;
13
+ multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
14
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
15
+ P: {};
16
+ B: {};
17
+ D: {};
18
+ C: {};
19
+ M: {};
20
+ Defaults: {};
21
+ }, Readonly<MaSelectOptionProps> & Readonly<{
22
+ onSelected?: (...args: any[]) => any;
23
+ }>, {}, {}, {}, {}, {
24
+ checkboxDisplay: import("../types").MaSelectOptionCheckboxDisplay;
25
+ multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
26
+ }>;
27
+ __isFragment?: never;
28
+ __isTeleport?: never;
29
+ __isSuspense?: never;
30
+ } & import("vue").ComponentOptionsBase<Readonly<MaSelectOptionProps> & Readonly<{
31
+ onSelected?: (...args: any[]) => any;
32
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
33
+ selected: (...args: any[]) => void;
34
+ }, string, {
35
+ checkboxDisplay: import("../types").MaSelectOptionCheckboxDisplay;
36
+ multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
37
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
38
+ $slots: Readonly<{
39
+ default(): unknown;
40
+ }> & {
41
+ default(): unknown;
42
+ };
43
+ })>>;
44
+ export declare const Multiple: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
45
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaSelectOptionProps> & Readonly<{
46
+ onSelected?: (...args: any[]) => any;
47
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
+ selected: (...args: any[]) => void;
49
+ }, import("vue").PublicProps, {
50
+ checkboxDisplay: import("../types").MaSelectOptionCheckboxDisplay;
51
+ multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
52
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
53
+ P: {};
54
+ B: {};
55
+ D: {};
56
+ C: {};
57
+ M: {};
58
+ Defaults: {};
59
+ }, Readonly<MaSelectOptionProps> & Readonly<{
60
+ onSelected?: (...args: any[]) => any;
61
+ }>, {}, {}, {}, {}, {
62
+ checkboxDisplay: import("../types").MaSelectOptionCheckboxDisplay;
63
+ multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
64
+ }>;
65
+ __isFragment?: never;
66
+ __isTeleport?: never;
67
+ __isSuspense?: never;
68
+ } & import("vue").ComponentOptionsBase<Readonly<MaSelectOptionProps> & Readonly<{
69
+ onSelected?: (...args: any[]) => any;
70
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
71
+ selected: (...args: any[]) => void;
72
+ }, string, {
73
+ checkboxDisplay: import("../types").MaSelectOptionCheckboxDisplay;
74
+ multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
75
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
76
+ $slots: Readonly<{
77
+ default(): unknown;
78
+ }> & {
79
+ default(): unknown;
80
+ };
81
+ })>>;
82
+ export declare const Test: import("@storybook/csf").StoryAnnotations<import("@storybook/vue3").VueRenderer, import("@storybook/vue3").ComponentPropsAndSlots<{
83
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<MaSelectOptionProps> & Readonly<{
84
+ onSelected?: (...args: any[]) => any;
85
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
86
+ selected: (...args: any[]) => void;
87
+ }, import("vue").PublicProps, {
88
+ checkboxDisplay: import("../types").MaSelectOptionCheckboxDisplay;
89
+ multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
90
+ }, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, HTMLDivElement, import("vue").ComponentProvideOptions, {
91
+ P: {};
92
+ B: {};
93
+ D: {};
94
+ C: {};
95
+ M: {};
96
+ Defaults: {};
97
+ }, Readonly<MaSelectOptionProps> & Readonly<{
98
+ onSelected?: (...args: any[]) => any;
99
+ }>, {}, {}, {}, {}, {
100
+ checkboxDisplay: import("../types").MaSelectOptionCheckboxDisplay;
101
+ multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
102
+ }>;
103
+ __isFragment?: never;
104
+ __isTeleport?: never;
105
+ __isSuspense?: never;
106
+ } & import("vue").ComponentOptionsBase<Readonly<MaSelectOptionProps> & Readonly<{
107
+ onSelected?: (...args: any[]) => any;
108
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
109
+ selected: (...args: any[]) => void;
110
+ }, string, {
111
+ checkboxDisplay: import("../types").MaSelectOptionCheckboxDisplay;
112
+ multiSelectionInput: import("../types").MaSelectMultiSelectionInput;
113
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
114
+ $slots: Readonly<{
115
+ default(): unknown;
116
+ }> & {
117
+ default(): unknown;
118
+ };
119
+ })>>;
@@ -0,0 +1,25 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import { MaSelect2 as MaSelect } from '@/index';
3
+ declare const meta: Meta<typeof MaSelect>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof MaSelect>;
6
+ export declare const Default: Story;
7
+ export declare const WithHintText: Story;
8
+ export declare const Disabled: Story;
9
+ export declare const Loading: Story;
10
+ export declare const ErrorState: Story;
11
+ export declare const ErrorWithHintText: Story;
12
+ export declare const WithSearch: Story;
13
+ export declare const CustomDropdownRender: Story;
14
+ export declare const WithOptionSlot: Story;
15
+ export declare const CustomListHeight: Story;
16
+ export declare const CustomListWidth: Story;
17
+ export declare const Overflow: Story;
18
+ export declare const WithAppIcon: Story;
19
+ export declare const WithBadge: Story;
20
+ export declare const WithIcon: Story;
21
+ export declare const CustomFooterAndHeader: Story;
22
+ export declare const CustomInputSlot: Story;
23
+ export declare const CompactSelectFlag: Story;
24
+ export declare const CompactSelectNumber: Story;
25
+ export declare const AllowClear: Story;