@mobileaction/action-kit 1.40.7-beta.0 → 1.40.7-beta.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/dist/action-kit.mjs +9132 -9558
- package/dist/{chevron-down-Crl-9ZCo.js → chevron-down-C2QrbBk7.js} +3 -3
- package/dist/chevron-left-Do1nR84c.js +21 -0
- package/dist/chevron-right-DSAfvAlZ.js +21 -0
- package/dist/{chevron-up-gGvSq6tg.js → chevron-up-BN5TUeRs.js} +3 -3
- package/dist/src/components/date-picker-2/index.vue.d.ts +4 -4
- package/dist/src/components/modal/stories/constants.d.ts +1 -0
- package/dist/src/components/modal/stories/default.stories.d.ts +1 -0
- package/dist/src/components/popconfirm/index.vue.d.ts +2 -2
- package/dist/src/components/popconfirm/stories/constants.d.ts +5 -5
- package/dist/src/components/popover-2/index.vue.d.ts +1 -3
- package/dist/src/components/popover-2/stories/constants.d.ts +3 -6
- package/dist/src/index.d.ts +0 -3
- package/dist/style.css +1 -1
- package/package.json +1 -2
- package/dist/chevron-left-dQluou6f.js +0 -22
- package/dist/chevron-right-eujt5l7O.js +0 -22
- package/dist/src/components/select-2/components/selectOption.vue.d.ts +0 -33
- package/dist/src/components/select-2/components/selectOptionGroup.vue.d.ts +0 -19
- package/dist/src/components/select-2/composables/use-keyboard-navigation.d.ts +0 -8
- package/dist/src/components/select-2/composables/use-options-registry.d.ts +0 -7
- package/dist/src/components/select-2/index.vue.d.ts +0 -328
- package/dist/src/components/select-2/select.test.d.ts +0 -1
- package/dist/src/components/select-2/stories/borderless.stories.d.ts +0 -8
- package/dist/src/components/select-2/stories/constants.d.ts +0 -12
- package/dist/src/components/select-2/stories/inline.stories.d.ts +0 -8
- package/dist/src/components/select-2/stories/multiple.stories.d.ts +0 -14
- package/dist/src/components/select-2/stories/select-option-group.stories.d.ts +0 -41
- package/dist/src/components/select-2/stories/select-option.stories.d.ts +0 -81
- package/dist/src/components/select-2/stories/single.stories.d.ts +0 -25
- package/dist/src/components/select-2/types.d.ts +0 -180
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobileaction/action-kit",
|
|
3
|
-
"version": "1.40.7-beta.
|
|
3
|
+
"version": "1.40.7-beta.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/action-kit.mjs",
|
|
6
6
|
"module": "dist/action-kit.mjs",
|
|
@@ -105,7 +105,6 @@
|
|
|
105
105
|
"floating-vue": "^5.2.2",
|
|
106
106
|
"lottie-web": "^5.12.2",
|
|
107
107
|
"vue": "^3.5.12",
|
|
108
|
-
"vue-virtual-scroller": "^2.0.0-beta.8",
|
|
109
108
|
"vuedraggable": "^4.1.0"
|
|
110
109
|
},
|
|
111
110
|
"description": "UI Component library for Mobile Action.",
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { openBlock as o, createElementBlock as t, createElementVNode as r } from "vue";
|
|
2
|
-
const n = {
|
|
3
|
-
viewBox: "0 0 24 24",
|
|
4
|
-
fill: "none",
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
6
|
-
};
|
|
7
|
-
function l(s, e) {
|
|
8
|
-
return o(), t("svg", n, e[0] || (e[0] = [
|
|
9
|
-
r("path", {
|
|
10
|
-
d: "M15 18L9 12L15 6",
|
|
11
|
-
stroke: "currentColor",
|
|
12
|
-
"stroke-width": "1.5",
|
|
13
|
-
"stroke-linecap": "round",
|
|
14
|
-
"stroke-linejoin": "round"
|
|
15
|
-
}, null, -1)
|
|
16
|
-
]));
|
|
17
|
-
}
|
|
18
|
-
const d = { render: l };
|
|
19
|
-
export {
|
|
20
|
-
d as default,
|
|
21
|
-
l as render
|
|
22
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { openBlock as o, createElementBlock as t, createElementVNode as r } from "vue";
|
|
2
|
-
const n = {
|
|
3
|
-
viewBox: "0 0 24 24",
|
|
4
|
-
fill: "none",
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
6
|
-
};
|
|
7
|
-
function l(s, e) {
|
|
8
|
-
return o(), t("svg", n, e[0] || (e[0] = [
|
|
9
|
-
r("path", {
|
|
10
|
-
d: "M9 18L15 12L9 6",
|
|
11
|
-
stroke: "currentColor",
|
|
12
|
-
"stroke-width": "1.5",
|
|
13
|
-
"stroke-linecap": "round",
|
|
14
|
-
"stroke-linejoin": "round"
|
|
15
|
-
}, null, -1)
|
|
16
|
-
]));
|
|
17
|
-
}
|
|
18
|
-
const c = { render: l };
|
|
19
|
-
export {
|
|
20
|
-
c as default,
|
|
21
|
-
l as render
|
|
22
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
|
|
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,19 +0,0 @@
|
|
|
1
|
-
import { MaSelectGroupProps } from '../types';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
attrs: Partial<{}>;
|
|
4
|
-
slots: {
|
|
5
|
-
label?(_: {}): any;
|
|
6
|
-
default?(_: {}): any;
|
|
7
|
-
};
|
|
8
|
-
refs: {};
|
|
9
|
-
rootEl: HTMLDivElement;
|
|
10
|
-
};
|
|
11
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
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>;
|
|
13
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
|
-
export default _default;
|
|
15
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
-
new (): {
|
|
17
|
-
$slots: S;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
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, isDisabled: ComputedRef<boolean>): {
|
|
5
|
-
getOptionClass: (index: number) => {
|
|
6
|
-
'ma-select-option--highlighted': boolean;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,328 +0,0 @@
|
|
|
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
|
-
overlay: HTMLDivElement;
|
|
75
|
-
searchInput: {
|
|
76
|
-
$: import("vue").ComponentInternalInstance;
|
|
77
|
-
$data: {};
|
|
78
|
-
$props: Partial<{
|
|
79
|
-
size: import("@/index").MaInputSize;
|
|
80
|
-
type: import("@/index").MaInputType;
|
|
81
|
-
}> & Omit<{
|
|
82
|
-
readonly allowClear?: boolean;
|
|
83
|
-
readonly type?: import("@/index").MaInputType;
|
|
84
|
-
readonly size?: import("@/index").MaInputSize;
|
|
85
|
-
readonly title?: string;
|
|
86
|
-
readonly hintText?: string;
|
|
87
|
-
readonly hasError?: boolean;
|
|
88
|
-
readonly placeholder?: string;
|
|
89
|
-
readonly disabled?: boolean;
|
|
90
|
-
readonly addonBefore?: string;
|
|
91
|
-
readonly addonAfter?: string;
|
|
92
|
-
readonly avatarUrl?: string;
|
|
93
|
-
readonly value?: string;
|
|
94
|
-
readonly amountCurrency?: import("@/index").MaInputCurrency;
|
|
95
|
-
readonly hint?: string;
|
|
96
|
-
readonly prefixIcon?: string;
|
|
97
|
-
readonly suffixIcon?: string;
|
|
98
|
-
readonly inputClass?: string;
|
|
99
|
-
readonly onChange?: (...args: any[]) => any;
|
|
100
|
-
readonly onFocus?: (...args: any[]) => any;
|
|
101
|
-
readonly onFocusout?: (...args: any[]) => any;
|
|
102
|
-
readonly "onCurrency-change"?: (...args: any[]) => any;
|
|
103
|
-
readonly "onUpdate:value"?: (...args: any[]) => any;
|
|
104
|
-
readonly "onUpdate:amountCurrency"?: (...args: any[]) => any;
|
|
105
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "type">;
|
|
106
|
-
$attrs: {
|
|
107
|
-
[x: string]: unknown;
|
|
108
|
-
};
|
|
109
|
-
$refs: {
|
|
110
|
-
[x: string]: unknown;
|
|
111
|
-
};
|
|
112
|
-
$slots: Readonly<{
|
|
113
|
-
[name: string]: import("vue").Slot<any>;
|
|
114
|
-
}>;
|
|
115
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
116
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
117
|
-
$host: Element | null;
|
|
118
|
-
$emit: ((event: "change", ...args: any[]) => void) & ((event: "focus", ...args: any[]) => void) & ((event: "focusout", ...args: any[]) => void) & ((event: "currency-change", ...args: any[]) => void) & ((event: "update:value", ...args: any[]) => void) & ((event: "update:amountCurrency", ...args: any[]) => void);
|
|
119
|
-
$el: any;
|
|
120
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("../input/index.vue").MaInputProps> & Readonly<{
|
|
121
|
-
onChange?: (...args: any[]) => any;
|
|
122
|
-
onFocus?: (...args: any[]) => any;
|
|
123
|
-
onFocusout?: (...args: any[]) => any;
|
|
124
|
-
"onCurrency-change"?: (...args: any[]) => any;
|
|
125
|
-
"onUpdate:value"?: (...args: any[]) => any;
|
|
126
|
-
"onUpdate:amountCurrency"?: (...args: any[]) => any;
|
|
127
|
-
}>, {
|
|
128
|
-
focus: () => void;
|
|
129
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
130
|
-
change: (...args: any[]) => void;
|
|
131
|
-
focus: (...args: any[]) => void;
|
|
132
|
-
focusout: (...args: any[]) => void;
|
|
133
|
-
"currency-change": (...args: any[]) => void;
|
|
134
|
-
"update:value": (...args: any[]) => void;
|
|
135
|
-
"update:amountCurrency": (...args: any[]) => void;
|
|
136
|
-
}, string, {
|
|
137
|
-
size: import("@/index").MaInputSize;
|
|
138
|
-
type: import("@/index").MaInputType;
|
|
139
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
140
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
141
|
-
created?: (() => void) | (() => void)[];
|
|
142
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
143
|
-
mounted?: (() => void) | (() => void)[];
|
|
144
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
145
|
-
updated?: (() => void) | (() => void)[];
|
|
146
|
-
activated?: (() => void) | (() => void)[];
|
|
147
|
-
deactivated?: (() => void) | (() => void)[];
|
|
148
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
149
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
150
|
-
destroyed?: (() => void) | (() => void)[];
|
|
151
|
-
unmounted?: (() => void) | (() => void)[];
|
|
152
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
153
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
154
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
155
|
-
};
|
|
156
|
-
$forceUpdate: () => void;
|
|
157
|
-
$nextTick: typeof import("vue").nextTick;
|
|
158
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
159
|
-
} & Readonly<{
|
|
160
|
-
size: import("@/index").MaInputSize;
|
|
161
|
-
type: import("@/index").MaInputType;
|
|
162
|
-
}> & Omit<Readonly<import("../input/index.vue").MaInputProps> & Readonly<{
|
|
163
|
-
onChange?: (...args: any[]) => any;
|
|
164
|
-
onFocus?: (...args: any[]) => any;
|
|
165
|
-
onFocusout?: (...args: any[]) => any;
|
|
166
|
-
"onCurrency-change"?: (...args: any[]) => any;
|
|
167
|
-
"onUpdate:value"?: (...args: any[]) => any;
|
|
168
|
-
"onUpdate:amountCurrency"?: (...args: any[]) => any;
|
|
169
|
-
}>, "focus" | ("size" | "type")> & import("vue").ShallowUnwrapRef<{
|
|
170
|
-
focus: () => void;
|
|
171
|
-
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
172
|
-
$slots: Partial<Record<NonNullable<string | number>, (_: {}) => any>> & Partial<Record<NonNullable<string | number>, (_: {}) => any>> & {
|
|
173
|
-
title?(_: {}): any;
|
|
174
|
-
hint?(_: {}): any;
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
dynamicScrollerRef: DynamicScroller;
|
|
178
|
-
};
|
|
179
|
-
rootEl: HTMLDivElement;
|
|
180
|
-
};
|
|
181
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
182
|
-
declare const __VLS_component: import("vue").DefineComponent<MaSelectProps, {
|
|
183
|
-
setSearchValue: (value?: string) => string;
|
|
184
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
185
|
-
change: (...args: any[]) => void;
|
|
186
|
-
"update:value": (...args: any[]) => void;
|
|
187
|
-
dropdownVisibleChange: (...args: any[]) => void;
|
|
188
|
-
searchValueChange: (...args: any[]) => void;
|
|
189
|
-
cleared: (...args: any[]) => void;
|
|
190
|
-
}, string, import("vue").PublicProps, Readonly<MaSelectProps> & Readonly<{
|
|
191
|
-
onChange?: (...args: any[]) => any;
|
|
192
|
-
"onUpdate:value"?: (...args: any[]) => any;
|
|
193
|
-
onDropdownVisibleChange?: (...args: any[]) => any;
|
|
194
|
-
onSearchValueChange?: (...args: any[]) => any;
|
|
195
|
-
onCleared?: (...args: any[]) => any;
|
|
196
|
-
}>, {
|
|
197
|
-
size: import("./types").MaSelectSize;
|
|
198
|
-
disabled: boolean;
|
|
199
|
-
loading: boolean;
|
|
200
|
-
value: MaSelectValue;
|
|
201
|
-
options: MaSelectOptionType[];
|
|
202
|
-
dropdownMatchSelectWidth: boolean;
|
|
203
|
-
showSearch: boolean;
|
|
204
|
-
allowClear: boolean;
|
|
205
|
-
listHeight: number;
|
|
206
|
-
multiple: boolean;
|
|
207
|
-
compact: boolean;
|
|
208
|
-
searchPlaceholder: string;
|
|
209
|
-
dropdownProps: import("../popover-2/index.vue").MaPopover2Props;
|
|
210
|
-
checkboxPosition: import("./types").MaSelectOptionCheckboxPosition;
|
|
211
|
-
multiSelectionInput: import("./types").MaSelectMultiSelectionInput;
|
|
212
|
-
hideCheckIcon: boolean;
|
|
213
|
-
hideSuffix: boolean;
|
|
214
|
-
disableKeywordActions: boolean;
|
|
215
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {
|
|
216
|
-
selectInput: HTMLButtonElement;
|
|
217
|
-
overlay: HTMLDivElement;
|
|
218
|
-
searchInput: {
|
|
219
|
-
$: import("vue").ComponentInternalInstance;
|
|
220
|
-
$data: {};
|
|
221
|
-
$props: Partial<{
|
|
222
|
-
size: import("@/index").MaInputSize;
|
|
223
|
-
type: import("@/index").MaInputType;
|
|
224
|
-
}> & Omit<{
|
|
225
|
-
readonly allowClear?: boolean;
|
|
226
|
-
readonly type?: import("@/index").MaInputType;
|
|
227
|
-
readonly size?: import("@/index").MaInputSize;
|
|
228
|
-
readonly title?: string;
|
|
229
|
-
readonly hintText?: string;
|
|
230
|
-
readonly hasError?: boolean;
|
|
231
|
-
readonly placeholder?: string;
|
|
232
|
-
readonly disabled?: boolean;
|
|
233
|
-
readonly addonBefore?: string;
|
|
234
|
-
readonly addonAfter?: string;
|
|
235
|
-
readonly avatarUrl?: string;
|
|
236
|
-
readonly value?: string;
|
|
237
|
-
readonly amountCurrency?: import("@/index").MaInputCurrency;
|
|
238
|
-
readonly hint?: string;
|
|
239
|
-
readonly prefixIcon?: string;
|
|
240
|
-
readonly suffixIcon?: string;
|
|
241
|
-
readonly inputClass?: string;
|
|
242
|
-
readonly onChange?: (...args: any[]) => any;
|
|
243
|
-
readonly onFocus?: (...args: any[]) => any;
|
|
244
|
-
readonly onFocusout?: (...args: any[]) => any;
|
|
245
|
-
readonly "onCurrency-change"?: (...args: any[]) => any;
|
|
246
|
-
readonly "onUpdate:value"?: (...args: any[]) => any;
|
|
247
|
-
readonly "onUpdate:amountCurrency"?: (...args: any[]) => any;
|
|
248
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "type">;
|
|
249
|
-
$attrs: {
|
|
250
|
-
[x: string]: unknown;
|
|
251
|
-
};
|
|
252
|
-
$refs: {
|
|
253
|
-
[x: string]: unknown;
|
|
254
|
-
};
|
|
255
|
-
$slots: Readonly<{
|
|
256
|
-
[name: string]: import("vue").Slot<any>;
|
|
257
|
-
}>;
|
|
258
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
259
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
260
|
-
$host: Element | null;
|
|
261
|
-
$emit: ((event: "change", ...args: any[]) => void) & ((event: "focus", ...args: any[]) => void) & ((event: "focusout", ...args: any[]) => void) & ((event: "currency-change", ...args: any[]) => void) & ((event: "update:value", ...args: any[]) => void) & ((event: "update:amountCurrency", ...args: any[]) => void);
|
|
262
|
-
$el: any;
|
|
263
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("../input/index.vue").MaInputProps> & Readonly<{
|
|
264
|
-
onChange?: (...args: any[]) => any;
|
|
265
|
-
onFocus?: (...args: any[]) => any;
|
|
266
|
-
onFocusout?: (...args: any[]) => any;
|
|
267
|
-
"onCurrency-change"?: (...args: any[]) => any;
|
|
268
|
-
"onUpdate:value"?: (...args: any[]) => any;
|
|
269
|
-
"onUpdate:amountCurrency"?: (...args: any[]) => any;
|
|
270
|
-
}>, {
|
|
271
|
-
focus: () => void;
|
|
272
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
273
|
-
change: (...args: any[]) => void;
|
|
274
|
-
focus: (...args: any[]) => void;
|
|
275
|
-
focusout: (...args: any[]) => void;
|
|
276
|
-
"currency-change": (...args: any[]) => void;
|
|
277
|
-
"update:value": (...args: any[]) => void;
|
|
278
|
-
"update:amountCurrency": (...args: any[]) => void;
|
|
279
|
-
}, string, {
|
|
280
|
-
size: import("@/index").MaInputSize;
|
|
281
|
-
type: import("@/index").MaInputType;
|
|
282
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
283
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
284
|
-
created?: (() => void) | (() => void)[];
|
|
285
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
286
|
-
mounted?: (() => void) | (() => void)[];
|
|
287
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
288
|
-
updated?: (() => void) | (() => void)[];
|
|
289
|
-
activated?: (() => void) | (() => void)[];
|
|
290
|
-
deactivated?: (() => void) | (() => void)[];
|
|
291
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
292
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
293
|
-
destroyed?: (() => void) | (() => void)[];
|
|
294
|
-
unmounted?: (() => void) | (() => void)[];
|
|
295
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
296
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
297
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
298
|
-
};
|
|
299
|
-
$forceUpdate: () => void;
|
|
300
|
-
$nextTick: typeof import("vue").nextTick;
|
|
301
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
302
|
-
} & Readonly<{
|
|
303
|
-
size: import("@/index").MaInputSize;
|
|
304
|
-
type: import("@/index").MaInputType;
|
|
305
|
-
}> & Omit<Readonly<import("../input/index.vue").MaInputProps> & Readonly<{
|
|
306
|
-
onChange?: (...args: any[]) => any;
|
|
307
|
-
onFocus?: (...args: any[]) => any;
|
|
308
|
-
onFocusout?: (...args: any[]) => any;
|
|
309
|
-
"onCurrency-change"?: (...args: any[]) => any;
|
|
310
|
-
"onUpdate:value"?: (...args: any[]) => any;
|
|
311
|
-
"onUpdate:amountCurrency"?: (...args: any[]) => any;
|
|
312
|
-
}>, "focus" | ("size" | "type")> & import("vue").ShallowUnwrapRef<{
|
|
313
|
-
focus: () => void;
|
|
314
|
-
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
315
|
-
$slots: Partial<Record<NonNullable<string | number>, (_: {}) => any>> & Partial<Record<NonNullable<string | number>, (_: {}) => any>> & {
|
|
316
|
-
title?(_: {}): any;
|
|
317
|
-
hint?(_: {}): any;
|
|
318
|
-
};
|
|
319
|
-
};
|
|
320
|
-
dynamicScrollerRef: DynamicScroller;
|
|
321
|
-
}, HTMLDivElement>;
|
|
322
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
323
|
-
export default _default;
|
|
324
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
325
|
-
new (): {
|
|
326
|
-
$slots: S;
|
|
327
|
-
};
|
|
328
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,12 +0,0 @@
|
|
|
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;
|
|
@@ -1,8 +0,0 @@
|
|
|
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;
|
|
@@ -1,14 +0,0 @@
|
|
|
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;
|
|
@@ -1,41 +0,0 @@
|
|
|
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
|
-
})>>;
|
|
@@ -1,81 +0,0 @@
|
|
|
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
|
-
checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
|
|
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
|
-
checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
|
|
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
|
-
checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
|
|
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
|
-
checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
|
|
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
|
-
checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
|
|
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
|
-
checkboxPosition: import("../types").MaSelectOptionCheckboxPosition;
|
|
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
|
-
})>>;
|