@mobileaction/action-kit 1.14.1 → 1.14.12
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 +1 -30
- package/dist/action-kit.mjs +121 -5061
- package/dist/components/autocomplete/index.vue.d.ts +12 -0
- package/dist/components/checkbox/group.vue.d.ts +15 -1
- package/dist/components/checkbox/index.vue.d.ts +13 -0
- package/dist/components/checkbox/types.d.ts +2 -0
- package/dist/components/select/index.vue.d.ts +12 -0
- package/dist/index-16f326da.mjs +8760 -0
- package/dist/index-322724db.js +56 -0
- package/dist/{lottie_light-09d9aa0d.js → lottie_light-9897541e.js} +2 -2
- package/dist/{lottie_light-b08f9446.mjs → lottie_light-ef37677e.mjs} +6 -5
- package/dist/src/components/autocomplete/index.vue.d.ts +4 -0
- package/dist/src/components/checkbox/group.vue.d.ts +14 -1
- package/dist/src/components/checkbox/index.vue.d.ts +5 -0
- package/dist/src/components/checkbox/stories/default.stories.d.ts +1 -0
- package/dist/src/components/checkbox/stories/group.stories.d.ts +2 -1
- package/dist/src/components/checkbox/stories/indeterminate.stories.d.ts +1 -0
- package/dist/src/components/checkbox/types.d.ts +2 -0
- package/dist/src/components/select/index.vue.d.ts +4 -0
- package/dist/src/components/select/stories/default.stories.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { c as pr } from "./index-16f326da.mjs";
|
|
2
|
+
function ur(Zt, Me) {
|
|
2
3
|
for (var se = 0; se < Me.length; se++) {
|
|
3
4
|
const Pt = Me[se];
|
|
4
5
|
if (typeof Pt != "string" && !Array.isArray(Pt)) {
|
|
@@ -14,7 +15,7 @@ function pr(Zt, Me) {
|
|
|
14
15
|
}
|
|
15
16
|
return Object.freeze(Object.defineProperty(Zt, Symbol.toStringTag, { value: "Module" }));
|
|
16
17
|
}
|
|
17
|
-
var
|
|
18
|
+
var Te = {}, cr = {
|
|
18
19
|
get exports() {
|
|
19
20
|
return Te;
|
|
20
21
|
},
|
|
@@ -25,7 +26,7 @@ var ur = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
25
26
|
(function(Zt, Me) {
|
|
26
27
|
typeof navigator < "u" && function(se, Pt) {
|
|
27
28
|
Zt.exports = Pt();
|
|
28
|
-
}(
|
|
29
|
+
}(pr, function() {
|
|
29
30
|
var se = "http://www.w3.org/2000/svg", Pt = "", Rt = !1, Kt = -999999, rs = function(e) {
|
|
30
31
|
Rt = !!e;
|
|
31
32
|
}, ns = function() {
|
|
@@ -4823,10 +4824,10 @@ var ur = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
4823
4824
|
}, bs("svg", oi), Nt.registerModifier("tm", _t), Nt.registerModifier("pb", de), Nt.registerModifier("rp", wt), Nt.registerModifier("rd", me), Nt.registerModifier("zz", ye), Nt.registerModifier("op", _e), Z;
|
|
4824
4825
|
});
|
|
4825
4826
|
})(cr, Te);
|
|
4826
|
-
const vr = Te,
|
|
4827
|
+
const vr = Te, mr = /* @__PURE__ */ ur({
|
|
4827
4828
|
__proto__: null,
|
|
4828
4829
|
default: vr
|
|
4829
4830
|
}, [Te]);
|
|
4830
4831
|
export {
|
|
4831
|
-
|
|
4832
|
+
mr as l
|
|
4832
4833
|
};
|
|
@@ -11,6 +11,7 @@ export interface MaAutocompleteProps {
|
|
|
11
11
|
open?: boolean;
|
|
12
12
|
size?: AutoCompleteSize;
|
|
13
13
|
autofocus?: boolean;
|
|
14
|
+
noOverlay?: boolean;
|
|
14
15
|
}
|
|
15
16
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAutocompleteProps>, {
|
|
16
17
|
options: () => OptionType[];
|
|
@@ -18,12 +19,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
18
19
|
open: boolean;
|
|
19
20
|
size: string;
|
|
20
21
|
autofocus: boolean;
|
|
22
|
+
noOverlay: boolean;
|
|
21
23
|
}>, {}, 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>, {
|
|
22
24
|
options: () => OptionType[];
|
|
23
25
|
filterFn: (value: string, option: OptionType) => boolean;
|
|
24
26
|
open: boolean;
|
|
25
27
|
size: string;
|
|
26
28
|
autofocus: boolean;
|
|
29
|
+
noOverlay: boolean;
|
|
27
30
|
}>>> & {
|
|
28
31
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
29
32
|
onSearch?: (...args: any[]) => any;
|
|
@@ -33,6 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
36
|
options: OptionType[];
|
|
34
37
|
open: boolean;
|
|
35
38
|
filterFn: Function;
|
|
39
|
+
noOverlay: boolean;
|
|
36
40
|
}>, {
|
|
37
41
|
default: (_: {}) => any;
|
|
38
42
|
option: (_: {
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { type CheckboxGroupProps } from 'ant-design-vue';
|
|
2
|
+
import { MaCheckboxSize } from "./types";
|
|
2
3
|
export interface MaCheckboxGroupProps extends CheckboxGroupProps {
|
|
3
4
|
hint?: string;
|
|
4
5
|
disabled?: boolean;
|
|
6
|
+
size?: MaCheckboxSize;
|
|
5
7
|
}
|
|
6
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaCheckboxGroupProps>, {
|
|
9
|
+
size: string;
|
|
10
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaCheckboxGroupProps>, {
|
|
11
|
+
size: string;
|
|
12
|
+
}>>>, {
|
|
13
|
+
size: "md" | "lg";
|
|
14
|
+
}>, Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
7
15
|
export default _default;
|
|
8
16
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
17
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -14,6 +22,11 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
14
22
|
required: true;
|
|
15
23
|
};
|
|
16
24
|
};
|
|
25
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
27
|
+
default: D[K];
|
|
28
|
+
} : P[K];
|
|
29
|
+
};
|
|
17
30
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
31
|
new (): {
|
|
19
32
|
$slots: S;
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import { type CheckboxProps } from 'ant-design-vue';
|
|
2
|
+
import { MaCheckboxSize } from "./types";
|
|
2
3
|
export interface MaCheckboxProps extends CheckboxProps {
|
|
3
4
|
hint?: string;
|
|
4
5
|
indeterminate?: boolean;
|
|
5
6
|
disabled?: boolean;
|
|
7
|
+
size?: MaCheckboxSize;
|
|
6
8
|
}
|
|
7
9
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaCheckboxProps>, {
|
|
8
10
|
indeterminate: any;
|
|
11
|
+
size: string;
|
|
9
12
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaCheckboxProps>, {
|
|
10
13
|
indeterminate: any;
|
|
14
|
+
size: string;
|
|
11
15
|
}>>>, {
|
|
16
|
+
size: "md" | "lg";
|
|
12
17
|
indeterminate: boolean;
|
|
13
18
|
}>, Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
14
19
|
export default _default;
|
|
@@ -3,4 +3,5 @@ import MaCheckbox from '../index.vue';
|
|
|
3
3
|
declare const meta: Meta<typeof MaCheckbox>;
|
|
4
4
|
export default meta;
|
|
5
5
|
declare type Story = StoryObj<typeof MaCheckbox>;
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Large: Story;
|
|
@@ -25,6 +25,7 @@ export interface MaSelectProps {
|
|
|
25
25
|
open?: boolean;
|
|
26
26
|
value?: string | number | string[] | number[];
|
|
27
27
|
listHeight?: number;
|
|
28
|
+
dropdownMatchSelectWidth?: boolean | number;
|
|
28
29
|
}
|
|
29
30
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaSelectProps>, {
|
|
30
31
|
autoClearSearchValue: boolean;
|
|
@@ -33,6 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
34
|
value: string;
|
|
34
35
|
menuItemSelectedIcon: string;
|
|
35
36
|
listHeight: number;
|
|
37
|
+
dropdownMatchSelectWidth: boolean;
|
|
36
38
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaSelectProps>, {
|
|
37
39
|
autoClearSearchValue: boolean;
|
|
38
40
|
open: boolean;
|
|
@@ -40,12 +42,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
42
|
value: string;
|
|
41
43
|
menuItemSelectedIcon: string;
|
|
42
44
|
listHeight: number;
|
|
45
|
+
dropdownMatchSelectWidth: boolean;
|
|
43
46
|
}>>> & {
|
|
44
47
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
45
48
|
}, {
|
|
46
49
|
size: "default" | "small" | "large";
|
|
47
50
|
value: string | number | string[] | number[];
|
|
48
51
|
open: boolean;
|
|
52
|
+
dropdownMatchSelectWidth: number | boolean;
|
|
49
53
|
menuItemSelectedIcon: string;
|
|
50
54
|
listHeight: number;
|
|
51
55
|
autoClearSearchValue: boolean;
|