@mobileaction/action-kit 1.42.12-beta.5 → 1.43.0
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 +7 -0
- package/dist/3square-bold-Dx1--kR9.js +27 -0
- package/dist/action-kit.mjs +3450 -3580
- package/dist/src/index.d.ts +0 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/src/components/popconfirm-2/index.vue.d.ts +0 -62
- package/dist/src/components/popconfirm-2/stories/default.stories.d.ts +0 -10
- package/dist/src/components/popconfirm-2/types.d.ts +0 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobileaction/action-kit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/action-kit.mjs",
|
|
6
6
|
"module": "dist/action-kit.mjs",
|
|
@@ -123,4 +123,4 @@
|
|
|
123
123
|
"url": "https://github.com/mobileaction/action-kit/issues"
|
|
124
124
|
},
|
|
125
125
|
"homepage": "https://mobileaction.github.io/action-kit"
|
|
126
|
-
}
|
|
126
|
+
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { Popconfirm2Variants, Popconfirm2Placements, Popconfirm2ButtonVariants } 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
|
-
confirmButtonDisabled?: boolean;
|
|
18
|
-
cancelButtonDisabled?: boolean;
|
|
19
|
-
showIcon?: boolean;
|
|
20
|
-
popoverProps?: MaPopover2Props;
|
|
21
|
-
buttonsType?: Popconfirm2ButtonVariants;
|
|
22
|
-
}
|
|
23
|
-
declare function __VLS_template(): {
|
|
24
|
-
attrs: Partial<{}>;
|
|
25
|
-
slots: {
|
|
26
|
-
default?(_: {}): any;
|
|
27
|
-
icon?(_: {}): any;
|
|
28
|
-
cancelButton?(_: {}): any;
|
|
29
|
-
confirmButton?(_: {}): any;
|
|
30
|
-
};
|
|
31
|
-
refs: {};
|
|
32
|
-
rootEl: any;
|
|
33
|
-
};
|
|
34
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
35
|
-
declare const __VLS_component: import("vue").DefineComponent<Popconfirm2Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
-
cancel: (...args: any[]) => void;
|
|
37
|
-
"update:visible": (...args: any[]) => void;
|
|
38
|
-
visibleChange: (...args: any[]) => void;
|
|
39
|
-
confirm: (...args: any[]) => void;
|
|
40
|
-
}, string, import("vue").PublicProps, Readonly<Popconfirm2Props> & Readonly<{
|
|
41
|
-
onCancel?: (...args: any[]) => any;
|
|
42
|
-
"onUpdate:visible"?: (...args: any[]) => any;
|
|
43
|
-
onVisibleChange?: (...args: any[]) => any;
|
|
44
|
-
onConfirm?: (...args: any[]) => any;
|
|
45
|
-
}>, {
|
|
46
|
-
title: string;
|
|
47
|
-
placement: Popconfirm2Placements;
|
|
48
|
-
description: string;
|
|
49
|
-
visible: boolean;
|
|
50
|
-
showArrow: boolean;
|
|
51
|
-
showIcon: boolean;
|
|
52
|
-
confirmButtonText: string;
|
|
53
|
-
cancelButtonText: string;
|
|
54
|
-
buttonsType: Popconfirm2ButtonVariants;
|
|
55
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
56
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
57
|
-
export default _default;
|
|
58
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
|
-
new (): {
|
|
60
|
-
$slots: S;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import { MaPopconfirm2 } from '@/index';
|
|
3
|
-
declare const meta: Meta<typeof MaPopconfirm2>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof MaPopconfirm2>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const FullWidthButtons: Story;
|
|
8
|
-
export declare const SingleButton: Story;
|
|
9
|
-
export declare const WithCustomIcon: Story;
|
|
10
|
-
export declare const WithNoIconAndTitle: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
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 declare const Popconfirm2ButtonVariants: readonly ["defaultButtons", "fullWidthButtons", "singleButton"];
|
|
4
|
-
export type Popconfirm2Variants = (typeof Popconfirm2Variants)[number];
|
|
5
|
-
export type Popconfirm2Placements = (typeof Popconfirm2Placements)[number];
|
|
6
|
-
export type Popconfirm2ButtonVariants = (typeof Popconfirm2ButtonVariants)[number];
|