@mobileaction/action-kit 1.42.11 → 1.42.12-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/CHANGELOG.md +8 -0
- package/dist/action-kit.mjs +8271 -8598
- package/dist/src/components/avatar/stories/default.stories.d.ts +1 -2
- package/dist/src/components/button/link-button/stories/link.stories.d.ts +1 -1
- package/dist/src/components/button/social-button/stories/social.stories.d.ts +3 -3
- package/dist/src/components/button/stories/constants.d.ts +2 -3
- package/dist/src/components/cascader/stories/default.stories.d.ts +4789 -13
- package/dist/src/components/content-scroller/stories/default.stories.d.ts +1 -1
- package/dist/src/components/country-radio/stories/default.stories.d.ts +1 -1
- package/dist/src/components/ellipsis/stories/default.stories.d.ts +1 -1
- package/dist/src/components/image-2/stories/default.stories.d.ts +7 -6
- package/dist/src/components/input/stories/amount.stories.d.ts +2 -2
- package/dist/src/components/input/stories/credit-card.stories.d.ts +2 -2
- package/dist/src/components/input/stories/default.stories.d.ts +2 -2
- package/dist/src/components/input/stories/email.stories.d.ts +2 -2
- package/dist/src/components/input/stories/password.stories.d.ts +2 -2
- package/dist/src/components/input/stories/textarea.stories.d.ts +2 -2
- package/dist/src/components/input/stories/url.stories.d.ts +2 -2
- package/dist/src/components/input/stories/user-info.stories.d.ts +6 -6
- package/dist/src/components/input-number/stories/default.stories.d.ts +609 -10
- package/dist/src/components/modal/stories/default.stories.d.ts +1 -1
- package/dist/src/components/modal/stories/functions.stories.d.ts +1 -1
- package/dist/src/components/numeric-input/stories/default.stories.d.ts +1 -1
- package/dist/src/components/pagination/stories/default.stories.d.ts +1 -1
- package/dist/src/components/popconfirm/stories/default.stories.d.ts +5 -2
- package/dist/src/components/popconfirm-2/index.vue.d.ts +56 -0
- package/dist/src/components/popconfirm-2/stories/default.stories.d.ts +6 -0
- package/dist/src/components/popconfirm-2/types.d.ts +4 -0
- package/dist/src/components/popover-2/stories/default.stories.d.ts +3 -3
- package/dist/src/components/radio/stories/default.stories.d.ts +1 -1
- package/dist/src/components/radio-card/stories/default.stories.d.ts +1 -1
- package/dist/src/components/rate/stories/default.stories.d.ts +2 -1
- package/dist/src/components/side-menu-2/menu-button/stories/default.stories.d.ts +2 -2
- package/dist/src/components/slider/stories/default.stories.d.ts +3 -1
- package/dist/src/components/spin/stories/container.stories.d.ts +1 -1
- package/dist/src/components/spin/stories/default.stories.d.ts +1 -1
- package/dist/src/components/step-items/stories/default.stories.d.ts +3 -3
- package/dist/src/components/step-items/stories/step-item.stories.d.ts +2 -1
- package/dist/src/components/toggle/stories/default.stories.d.ts +5 -3
- package/dist/src/index.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/src/components/avatar/stories/constants.d.ts +0 -10
- package/dist/src/components/button/link-button/stories/constants.d.ts +0 -4
- package/dist/src/components/button/social-button/stories/constants.d.ts +0 -5
- package/dist/src/components/cascader/stories/constants.d.ts +0 -7
- package/dist/src/components/collapse/stories/constants.d.ts +0 -74
- package/dist/src/components/content-scroller/stories/constants.d.ts +0 -53
- package/dist/src/components/country-radio/stories/constants.d.ts +0 -5
- package/dist/src/components/country-select/stories/constants.d.ts +0 -4
- package/dist/src/components/image-2/stories/constants.d.ts +0 -8
- package/dist/src/components/input/stories/constants.d.ts +0 -5
- package/dist/src/components/input-number/stories/constants.d.ts +0 -8
- package/dist/src/components/input-number/stories/with-select.stories.d.ts +0 -8
- package/dist/src/components/keyword-group-selection/components/kwGroupForm.vue.d.ts +0 -11
- package/dist/src/components/keyword-group-selection/components/kwGroupItem.vue.d.ts +0 -20
- package/dist/src/components/keyword-group-selection/composables/index.d.ts +0 -10
- package/dist/src/components/keyword-group-selection/index.vue.d.ts +0 -58
- package/dist/src/components/keyword-group-selection/stories/constants.d.ts +0 -5
- package/dist/src/components/keyword-group-selection/stories/default.stories.d.ts +0 -8
- package/dist/src/components/keyword-group-selection/types.d.ts +0 -19
- package/dist/src/components/pagination/stories/constants.d.ts +0 -263
- package/dist/src/components/popconfirm/stories/constants.d.ts +0 -79
- package/dist/src/components/popover-2/stories/constants.d.ts +0 -84
- package/dist/src/components/radio/stories/constants.d.ts +0 -5
- package/dist/src/components/radio-card/stories/constants.d.ts +0 -4
- package/dist/src/components/rate/stories/constants.d.ts +0 -4
- package/dist/src/components/side-menu-2/menu-button/stories/constants.d.ts +0 -4
- package/dist/src/components/slider/stories/constants.d.ts +0 -71
- package/dist/src/components/step-items/stories/constants.d.ts +0 -6
- package/dist/src/components/toggle/stories/constants.d.ts +0 -4
- /package/dist/src/components/menu/stories/{default.stories1.d.ts → default.stories.d.ts} +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Popconfirm2Variants, Popconfirm2Placements } from './types';
|
|
2
|
+
import { MaPopover2Props } from '../popover-2/index.vue';
|
|
3
|
+
import { MaButtonProps } from '@/components/button/index.vue';
|
|
4
|
+
export interface Popconfirm2Props {
|
|
5
|
+
title?: string;
|
|
6
|
+
description: string;
|
|
7
|
+
variant?: Popconfirm2Variants;
|
|
8
|
+
visible?: boolean;
|
|
9
|
+
placement?: Popconfirm2Placements;
|
|
10
|
+
showArrow?: boolean;
|
|
11
|
+
confirmButtonText?: string;
|
|
12
|
+
cancelButtonText?: string;
|
|
13
|
+
confirmButtonProps?: MaButtonProps;
|
|
14
|
+
cancelButtonProps?: MaButtonProps;
|
|
15
|
+
confirmButtonLoading?: boolean;
|
|
16
|
+
cancelButtonLoading?: boolean;
|
|
17
|
+
showIcon?: boolean;
|
|
18
|
+
popoverProps?: MaPopover2Props;
|
|
19
|
+
}
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
attrs: Partial<{}>;
|
|
22
|
+
slots: {
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
icon?(_: {}): any;
|
|
25
|
+
};
|
|
26
|
+
refs: {};
|
|
27
|
+
rootEl: any;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import("vue").DefineComponent<Popconfirm2Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
+
cancel: (...args: any[]) => void;
|
|
32
|
+
"update:visible": (...args: any[]) => void;
|
|
33
|
+
visibleChange: (...args: any[]) => void;
|
|
34
|
+
confirm: (...args: any[]) => void;
|
|
35
|
+
}, string, import("vue").PublicProps, Readonly<Popconfirm2Props> & Readonly<{
|
|
36
|
+
onCancel?: (...args: any[]) => any;
|
|
37
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
38
|
+
onVisibleChange?: (...args: any[]) => any;
|
|
39
|
+
onConfirm?: (...args: any[]) => any;
|
|
40
|
+
}>, {
|
|
41
|
+
title: string;
|
|
42
|
+
placement: Popconfirm2Placements;
|
|
43
|
+
description: string;
|
|
44
|
+
visible: boolean;
|
|
45
|
+
showArrow: boolean;
|
|
46
|
+
showIcon: boolean;
|
|
47
|
+
confirmButtonText: string;
|
|
48
|
+
cancelButtonText: string;
|
|
49
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
50
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const Popconfirm2Variants: readonly ["success", "error", "info", "warning"];
|
|
2
|
+
export declare const Popconfirm2Placements: readonly ["auto", "auto-start", "auto-end", "top", "top-start", "top-end", "right", "right-start", "right-end", "bottom", "bottom-start", "bottom-end", "left", "left-start", "left-end"];
|
|
3
|
+
export type Popconfirm2Variants = (typeof Popconfirm2Variants)[number];
|
|
4
|
+
export type Popconfirm2Placements = (typeof Popconfirm2Placements)[number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Meta,
|
|
2
|
-
import
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import MaPopover2 from '../index.vue';
|
|
3
3
|
declare const meta: Meta<typeof MaPopover2>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof MaPopover2>;
|
|
@@ -8,4 +8,4 @@ export declare const WithArrow: Story;
|
|
|
8
8
|
export declare const Placements: Story;
|
|
9
9
|
export declare const Mobile: Story;
|
|
10
10
|
export declare const FooterExample: Story;
|
|
11
|
-
export declare const NestedUsage:
|
|
11
|
+
export declare const NestedUsage: Story;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import
|
|
2
|
+
import MaRate from '../index.vue';
|
|
3
3
|
declare const meta: Meta<typeof MaRate>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof MaRate>;
|
|
@@ -7,3 +7,4 @@ export declare const Default: Story;
|
|
|
7
7
|
export declare const AllowHalf: Story;
|
|
8
8
|
export declare const AllowClear: Story;
|
|
9
9
|
export declare const ReadOnly: Story;
|
|
10
|
+
export declare const CustomColor: Story;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Meta,
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
2
|
import MaSideMenuButton2 from '../index.vue';
|
|
3
3
|
declare const meta: Meta<typeof MaSideMenuButton2>;
|
|
4
4
|
export default meta;
|
|
@@ -6,4 +6,4 @@ type Story = StoryObj<typeof MaSideMenuButton2>;
|
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Active: Story;
|
|
8
8
|
export declare const BrandIcon: Story;
|
|
9
|
-
export declare const SideMenu:
|
|
9
|
+
export declare const SideMenu: Story;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import
|
|
2
|
+
import { MaSlider } from '@/index';
|
|
3
3
|
declare const meta: Meta<typeof MaSlider>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof MaSlider>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Range: Story;
|
|
8
8
|
export declare const Slots: Story;
|
|
9
|
+
export declare const Disabled: Story;
|
|
10
|
+
export declare const Steps: Story;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import
|
|
3
|
-
declare const meta: Meta<typeof
|
|
2
|
+
import { MaStepItems } from '@/index';
|
|
3
|
+
declare const meta: Meta<typeof MaStepItems>;
|
|
4
4
|
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof
|
|
5
|
+
type Story = StoryObj<typeof MaStepItems>;
|
|
6
6
|
export declare const Default: Story;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import
|
|
2
|
+
import { MaStepItem } from '@/index';
|
|
3
3
|
declare const meta: Meta<typeof MaStepItem>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof MaStepItem>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
|
+
export declare const Disabled: Story;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import
|
|
3
|
-
declare const meta: Meta<typeof
|
|
2
|
+
import MaToggle from '../index.vue';
|
|
3
|
+
declare const meta: Meta<typeof MaToggle>;
|
|
4
4
|
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof
|
|
5
|
+
type Story = StoryObj<typeof MaToggle>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const WithText: Story;
|
|
8
8
|
export declare const WithTitle: Story;
|
|
9
|
+
export declare const Disabled: Story;
|
|
10
|
+
export declare const Loading: Story;
|
package/dist/src/index.d.ts
CHANGED
|
@@ -80,7 +80,6 @@ export { default as MaCard } from './components/card/index.vue';
|
|
|
80
80
|
export * from './components/card/types';
|
|
81
81
|
export { default as MaInputNumber } from './components/input-number/index.vue';
|
|
82
82
|
export { default as MaDrawer } from './components/drawer/index.vue';
|
|
83
|
-
export { default as MaKeywordGroupSelection } from './components/keyword-group-selection/index.vue';
|
|
84
83
|
export { default as MaIconButton } from './components/icon-button/index.vue';
|
|
85
84
|
export { default as MaSlider } from './components/slider/index.vue';
|
|
86
85
|
export { default as MaCountryRadio } from './components/country-radio/index.vue';
|
|
@@ -101,6 +100,7 @@ export { default as MaImageGroup2 } from './components/image-2/group.vue';
|
|
|
101
100
|
export { default as MaImagePreview } from './components/image-2/preview.vue';
|
|
102
101
|
export { default as MaResult } from './components/result/index.vue';
|
|
103
102
|
export { default as MaPopconfirm } from './components/popconfirm/index.vue';
|
|
103
|
+
export { default as MaPopconfirm2 } from './components/popconfirm-2/index.vue';
|
|
104
104
|
export { default as MaStepItems } from './components/step-items/index.vue';
|
|
105
105
|
export { default as MaStepItem } from './components/step-items/components/index.vue';
|
|
106
106
|
export { default as MaRadioCard } from './components/radio-card/index.vue';
|