@mobileaction/action-kit 1.1.62 → 1.1.63
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 +7 -7
- package/dist/action-kit.mjs +494 -463
- package/dist/components/app-checkbox/index.vue.d.ts +32 -0
- package/dist/components/dropdown/index.vue.d.ts +1 -1
- package/dist/components/input/index.vue.d.ts +1 -1
- package/dist/components/switch/index.vue.d.ts +1 -1
- package/dist/components/toggle/index.vue.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/src/components/app-checkbox/index.vue.d.ts +29 -0
- package/dist/src/components/app-checkbox/stories/constants.d.ts +6 -0
- package/dist/src/components/app-checkbox/stories/default.stories.d.ts +6 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
export interface MaAppCheckboxProps {
|
|
3
|
+
appIcon: string;
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
7
|
+
appIcon: {
|
|
8
|
+
type: __PropType<string>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
checked: {
|
|
12
|
+
type: __PropType<boolean>;
|
|
13
|
+
required: false;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:checked" | "change")[], "update:checked" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
appIcon: {
|
|
18
|
+
type: __PropType<string>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
checked: {
|
|
22
|
+
type: __PropType<boolean>;
|
|
23
|
+
required: false;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
}>> & {
|
|
27
|
+
"onUpdate:checked"?: (...args: any[]) => any;
|
|
28
|
+
onChange?: (...args: any[]) => any;
|
|
29
|
+
}, {
|
|
30
|
+
checked: boolean;
|
|
31
|
+
}>;
|
|
32
|
+
export default _sfc_main;
|
|
@@ -72,9 +72,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
72
72
|
"onUpdate:visible"?: (...args: any[]) => any;
|
|
73
73
|
onVisibleChange?: (...args: any[]) => any;
|
|
74
74
|
}, {
|
|
75
|
+
disabled: boolean;
|
|
75
76
|
placement: "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
76
77
|
trigger: ("hover" | "click" | "contextmenu")[];
|
|
77
|
-
disabled: boolean;
|
|
78
78
|
destroyPopupOnHide: boolean;
|
|
79
79
|
visible: boolean;
|
|
80
80
|
}>;
|
|
@@ -90,7 +90,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
90
90
|
type: __PropType<string>;
|
|
91
91
|
required: false;
|
|
92
92
|
};
|
|
93
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
93
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "focus" | "update:value" | "currency-change" | "update:amountCurrency" | "focusout")[], "change" | "focus" | "update:value" | "currency-change" | "update:amountCurrency" | "focusout", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
94
|
allowClear: {
|
|
95
95
|
type: __PropType<boolean>;
|
|
96
96
|
required: false;
|
|
@@ -39,7 +39,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
39
39
|
required: false;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
42
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "click")[], "change" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
43
|
active: {
|
|
44
44
|
type: __PropType<string>;
|
|
45
45
|
required: true;
|
|
@@ -44,7 +44,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
44
44
|
type: __PropType<string>;
|
|
45
45
|
required: false;
|
|
46
46
|
};
|
|
47
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
47
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "click")[], "change" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
48
|
size: {
|
|
49
49
|
type: __PropType<"default" | "small" | "large">;
|
|
50
50
|
required: false;
|
package/dist/index.d.ts
CHANGED
|
@@ -68,5 +68,6 @@ export { default as MaKeywordGroupSelection } from './components/keyword-group-s
|
|
|
68
68
|
export { default as MaIconButton } from './components/icon-button/index.vue';
|
|
69
69
|
export { default as MaSlider } from './components/slider/index.vue';
|
|
70
70
|
export { default as MaPopover } from './components/popover/index.vue';
|
|
71
|
+
export { default as MaAppCheckbox } from './components/app-checkbox/index.vue';
|
|
71
72
|
export { ActionKitConfig } from './services/config';
|
|
72
73
|
export { useActionKitConfig } from './composables/config';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export interface MaAppCheckboxProps {
|
|
2
|
+
appIcon: string;
|
|
3
|
+
checked?: boolean;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAppCheckboxProps>, {
|
|
6
|
+
checked: boolean;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:checked" | "change")[], "update:checked" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAppCheckboxProps>, {
|
|
8
|
+
checked: boolean;
|
|
9
|
+
}>>> & {
|
|
10
|
+
onChange?: (...args: any[]) => any;
|
|
11
|
+
"onUpdate:checked"?: (...args: any[]) => any;
|
|
12
|
+
}, {
|
|
13
|
+
checked: boolean;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
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
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Meta, StoryFn } from "@storybook/vue3";
|
|
2
|
+
import MaAppCheckbox from "../index.vue";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
export declare const baseConfig: Meta<typeof MaAppCheckbox>;
|
|
6
|
+
export declare const Template: StoryFn;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -69,5 +69,6 @@ export { default as MaKeywordGroupSelection } from './components/keyword-group-s
|
|
|
69
69
|
export { default as MaIconButton } from './components/icon-button/index.vue';
|
|
70
70
|
export { default as MaSlider } from './components/slider/index.vue';
|
|
71
71
|
export { default as MaPopover } from './components/popover/index.vue';
|
|
72
|
+
export { default as MaAppCheckbox } from './components/app-checkbox/index.vue';
|
|
72
73
|
export { ActionKitConfig } from './services/config';
|
|
73
74
|
export { useActionKitConfig } from './composables/config';
|