@mobileaction/action-kit 1.43.0 → 1.44.2

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/action-kit.mjs +5987 -5770
  3. package/dist/src/components/alert/index.vue.d.ts +20 -18
  4. package/dist/src/components/alert/stories/alert.stories.d.ts +19 -0
  5. package/dist/src/components/alert/types.d.ts +85 -4
  6. package/dist/src/components/app-icon/index.vue.d.ts +1 -1
  7. package/dist/src/components/badge/index.vue.d.ts +1 -1
  8. package/dist/src/components/cascader/stories/default.stories.d.ts +48 -48
  9. package/dist/src/components/collapse/index.vue.d.ts +1 -1
  10. package/dist/src/components/date-picker-2/index.vue.d.ts +4 -4
  11. package/dist/src/components/drawer/index.vue.d.ts +3 -3
  12. package/dist/src/components/icon/components/flagIcon.vue.d.ts +1 -1
  13. package/dist/src/components/icon/index.vue.d.ts +1 -1
  14. package/dist/src/components/icon-button/components/button.vue.d.ts +1 -1
  15. package/dist/src/components/icon-button/index.vue.d.ts +2 -2
  16. package/dist/src/components/image/group.vue.d.ts +2 -2
  17. package/dist/src/components/modal/index.vue.d.ts +2 -2
  18. package/dist/src/components/pagination/index.vue.d.ts +2 -2
  19. package/dist/src/components/popconfirm/index.vue.d.ts +1 -1
  20. package/dist/src/components/popconfirm-2/index.vue.d.ts +66 -0
  21. package/dist/src/components/popconfirm-2/popconfirm2.test.d.ts +1 -0
  22. package/dist/src/components/popconfirm-2/stories/default.stories.d.ts +13 -0
  23. package/dist/src/components/popconfirm-2/types.d.ts +2 -0
  24. package/dist/src/components/progress/index.vue.d.ts +1 -1
  25. package/dist/src/components/spin/index.vue.d.ts +1 -1
  26. package/dist/src/components/switch/index.vue.d.ts +1 -1
  27. package/dist/src/components/tree/index.vue.d.ts +2 -2
  28. package/dist/src/components/upload/index.vue.d.ts +2 -2
  29. package/dist/src/components/watchlist-button/components/button.vue.d.ts +1 -1
  30. package/dist/src/components/watchlist-button/index.vue.d.ts +1 -1
  31. package/dist/src/index.d.ts +5 -2
  32. package/dist/style.css +1 -1
  33. package/package.json +1 -1
  34. package/dist/src/components/alert/stories/blue.stories.d.ts +0 -9
  35. package/dist/src/components/alert/stories/constants.d.ts +0 -4
  36. package/dist/src/components/alert/stories/dark.stories.d.ts +0 -10
  37. package/dist/src/components/alert/stories/green.stories.d.ts +0 -8
  38. package/dist/src/components/alert/stories/orange.stories.d.ts +0 -8
  39. package/dist/src/components/alert/stories/red.stories.d.ts +0 -8
@@ -1,21 +1,23 @@
1
- import { AlertProps } from 'ant-design-vue';
2
- import { MaAlertPropVariant, MaAlertPropType } from './types';
3
- export interface MaAlertProps extends Omit<AlertProps, 'type' | 'message' | 'closable'> {
4
- variant?: MaAlertPropVariant;
5
- type?: MaAlertPropType;
6
- message?: string;
7
- closable?: boolean;
8
- description?: string;
9
- icon?: string;
10
- }
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaAlertProps> & Readonly<{}>, {
12
- variant: MaAlertPropVariant;
13
- type: MaAlertPropType;
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
15
- icon?(_: {}): any;
16
- message?(_: {}): any;
17
- description?(_: {}): any;
18
- }>;
1
+ import type { MaAlertProps, MaAlertSlots } from './types';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: Readonly<MaAlertSlots> & MaAlertSlots;
5
+ refs: {};
6
+ rootEl: any;
7
+ };
8
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
+ declare const __VLS_component: import("vue").DefineComponent<MaAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
10
+ close: (event: MouseEvent) => any;
11
+ }, string, import("vue").PublicProps, Readonly<MaAlertProps> & Readonly<{
12
+ onClose?: (event: MouseEvent) => any;
13
+ }>, {
14
+ size: import("./types").MaAlertSize;
15
+ type: import("./types").MaAlertType;
16
+ variant: import("./types").MaAlertVariant;
17
+ showIcon: boolean;
18
+ closable: boolean;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
19
21
  export default _default;
20
22
  type __VLS_WithTemplateSlots<T, S> = T & {
21
23
  new (): {
@@ -0,0 +1,19 @@
1
+ import { Meta, StoryObj } from '@storybook/vue3';
2
+ import { MaAlert } from '@/index';
3
+ declare const meta: Meta<typeof MaAlert>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof MaAlert>;
6
+ export declare const Default: Story;
7
+ export declare const WithTitle: Story;
8
+ export declare const NoIcon: Story;
9
+ export declare const CustomIcon: Story;
10
+ export declare const Undismissible: Story;
11
+ export declare const OnlyMessage: Story;
12
+ export declare const MessageSlot: Story;
13
+ export declare const WithActions: Story;
14
+ export declare const CustomActions: Story;
15
+ export declare const Status: Story;
16
+ export declare const Info: Story;
17
+ export declare const Success: Story;
18
+ export declare const Warning: Story;
19
+ export declare const Danger: Story;
@@ -1,4 +1,85 @@
1
- export declare const MaAlertPropVariants: readonly ["dark", "blue", "green", "orange", "red"];
2
- export declare const MaAlertPropTypes: readonly ["primary", "secondary"];
3
- export type MaAlertPropVariant = (typeof MaAlertPropVariants)[number];
4
- export type MaAlertPropType = (typeof MaAlertPropTypes)[number];
1
+ export declare const MaAlertTypeList: string[];
2
+ export type MaAlertType = (typeof MaAlertTypeList)[number];
3
+ export declare const MaAlertVariantList: string[];
4
+ export type MaAlertVariant = (typeof MaAlertVariantList)[number];
5
+ export declare const MaAlertSizeList: string[];
6
+ export type MaAlertSize = (typeof MaAlertSizeList)[number];
7
+ export interface MaAlertActionButton {
8
+ /**
9
+ * The text label to display on the action button.
10
+ */
11
+ text: string;
12
+ /**
13
+ * Optional URL that the button should navigate to when clicked.
14
+ */
15
+ href?: string;
16
+ /**
17
+ * Optional event handler that is invoked when the button is clicked.
18
+ */
19
+ onClick?: (e: MouseEvent) => void;
20
+ }
21
+ export interface MaAlertProps {
22
+ /**
23
+ * Specifies the alert's type, determining its icon and color scheme.
24
+ */
25
+ type?: MaAlertType;
26
+ /**
27
+ * Determines the visual style of the alert.
28
+ */
29
+ variant?: MaAlertVariant;
30
+ /**
31
+ * Defines the size of the alert, affecting its padding.
32
+ */
33
+ size?: MaAlertSize;
34
+ /**
35
+ * The primary header text for the alert, typically a concise title.
36
+ */
37
+ title?: string;
38
+ /**
39
+ * Provides additional descriptive text or details about the alert.
40
+ */
41
+ message?: string;
42
+ /**
43
+ * Indicates whether an icon should be displayed alongside the alert content.
44
+ * When true, an icon matching the alert type or custom icon will be shown.
45
+ */
46
+ showIcon?: boolean;
47
+ /**
48
+ * Specifies a custom icon name to use when `showIcon` is enabled.
49
+ * This overrides the default icon associated with the alert type.
50
+ */
51
+ icon?: string;
52
+ /**
53
+ * Determines if the alert can be dismissed by the user.
54
+ * When true, a close button will be visible.
55
+ */
56
+ closable?: boolean;
57
+ /**
58
+ * A callback function that is executed after the alert's close animation completes.
59
+ * Useful for triggering cleanup actions or additional logic post-dismissal.
60
+ */
61
+ afterClose?: () => void;
62
+ /**
63
+ * An array of action button objects to render within the alert.
64
+ * Each button can include text, an optional hyperlink, and an optional click handler.
65
+ */
66
+ buttons?: MaAlertActionButton[];
67
+ }
68
+ export interface MaAlertEvents {
69
+ /**
70
+ * Emitted when the user clicks the close button on the alert.
71
+ */
72
+ (e: 'close', event: MouseEvent): void;
73
+ }
74
+ export interface MaAlertSlots {
75
+ /**
76
+ * Slot for the main alert content.
77
+ * Typically used to display the alert's detailed message.
78
+ */
79
+ default: () => void;
80
+ /**
81
+ * Slot for custom action content.
82
+ * Use this slot to insert arbitrary elements if the provided action buttons do not suffice.
83
+ */
84
+ actions: () => void;
85
+ }
@@ -22,9 +22,9 @@ declare const _default: import("vue").DefineComponent<MaAppIconProps, {}, {}, {}
22
22
  onClose?: (...args: any[]) => any;
23
23
  onError?: (...args: any[]) => any;
24
24
  }>, {
25
- rounded: boolean;
26
25
  size: AppIconSize;
27
26
  closable: boolean;
27
+ rounded: boolean;
28
28
  showTooltip: boolean;
29
29
  shadow: boolean;
30
30
  fallback: string;
@@ -9,10 +9,10 @@ export interface MaBadgeProps {
9
9
  }
10
10
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaBadgeProps> & Readonly<{}>, {
11
11
  size: MaBadgePropSize;
12
+ type: MaBadgePropType;
12
13
  variant: MaBadgePropVariant;
13
14
  shape: string;
14
15
  iconAlignment: string;
15
- type: MaBadgePropType;
16
16
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>, {
17
17
  default?(_: {}): any;
18
18
  }>;
@@ -34,8 +34,7 @@ export declare const Default: {
34
34
  size?: import("../types").CascaderSize;
35
35
  value?: import("../types").CascaderValue;
36
36
  itemsText?: string;
37
- readonly onChange?: (...args: any[]) => any;
38
- readonly disabled?: boolean;
37
+ style?: unknown;
39
38
  key?: PropertyKey;
40
39
  ref?: import("vue").VNodeRef;
41
40
  ref_for?: boolean;
@@ -47,7 +46,8 @@ export declare const Default: {
47
46
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
48
47
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
49
48
  class?: unknown;
50
- style?: unknown;
49
+ readonly onChange?: (...args: any[]) => any;
50
+ readonly disabled?: boolean;
51
51
  readonly placeholder?: string;
52
52
  readonly options?: import("../types").CascaderOptionType[];
53
53
  readonly multiple?: boolean;
@@ -66,8 +66,7 @@ export declare const Default: {
66
66
  size?: import("../types").CascaderSize;
67
67
  value?: import("../types").CascaderValue;
68
68
  itemsText?: string;
69
- readonly onChange?: (...args: any[]) => any;
70
- readonly disabled?: boolean;
69
+ style?: unknown;
71
70
  key?: PropertyKey;
72
71
  ref?: import("vue").VNodeRef;
73
72
  ref_for?: boolean;
@@ -79,7 +78,8 @@ export declare const Default: {
79
78
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
80
79
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
81
80
  class?: unknown;
82
- style?: unknown;
81
+ readonly onChange?: (...args: any[]) => any;
82
+ readonly disabled?: boolean;
83
83
  readonly placeholder?: string;
84
84
  readonly options?: import("../types").CascaderOptionType[];
85
85
  readonly multiple?: boolean;
@@ -632,8 +632,7 @@ export declare const Multiple: {
632
632
  size?: import("../types").CascaderSize;
633
633
  value?: import("../types").CascaderValue;
634
634
  itemsText?: string;
635
- readonly onChange?: (...args: any[]) => any;
636
- readonly disabled?: boolean;
635
+ style?: unknown;
637
636
  key?: PropertyKey;
638
637
  ref?: import("vue").VNodeRef;
639
638
  ref_for?: boolean;
@@ -645,7 +644,8 @@ export declare const Multiple: {
645
644
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
646
645
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
647
646
  class?: unknown;
648
- style?: unknown;
647
+ readonly onChange?: (...args: any[]) => any;
648
+ readonly disabled?: boolean;
649
649
  readonly placeholder?: string;
650
650
  readonly options?: import("../types").CascaderOptionType[];
651
651
  readonly multiple?: boolean;
@@ -664,8 +664,7 @@ export declare const Multiple: {
664
664
  size?: import("../types").CascaderSize;
665
665
  value?: import("../types").CascaderValue;
666
666
  itemsText?: string;
667
- readonly onChange?: (...args: any[]) => any;
668
- readonly disabled?: boolean;
667
+ style?: unknown;
669
668
  key?: PropertyKey;
670
669
  ref?: import("vue").VNodeRef;
671
670
  ref_for?: boolean;
@@ -677,7 +676,8 @@ export declare const Multiple: {
677
676
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
678
677
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
679
678
  class?: unknown;
680
- style?: unknown;
679
+ readonly onChange?: (...args: any[]) => any;
680
+ readonly disabled?: boolean;
681
681
  readonly placeholder?: string;
682
682
  readonly options?: import("../types").CascaderOptionType[];
683
683
  readonly multiple?: boolean;
@@ -1229,8 +1229,7 @@ export declare const Medium: {
1229
1229
  size?: import("../types").CascaderSize;
1230
1230
  value?: import("../types").CascaderValue;
1231
1231
  itemsText?: string;
1232
- readonly onChange?: (...args: any[]) => any;
1233
- readonly disabled?: boolean;
1232
+ style?: unknown;
1234
1233
  key?: PropertyKey;
1235
1234
  ref?: import("vue").VNodeRef;
1236
1235
  ref_for?: boolean;
@@ -1242,7 +1241,8 @@ export declare const Medium: {
1242
1241
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
1243
1242
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
1244
1243
  class?: unknown;
1245
- style?: unknown;
1244
+ readonly onChange?: (...args: any[]) => any;
1245
+ readonly disabled?: boolean;
1246
1246
  readonly placeholder?: string;
1247
1247
  readonly options?: import("../types").CascaderOptionType[];
1248
1248
  readonly multiple?: boolean;
@@ -1261,8 +1261,7 @@ export declare const Medium: {
1261
1261
  size?: import("../types").CascaderSize;
1262
1262
  value?: import("../types").CascaderValue;
1263
1263
  itemsText?: string;
1264
- readonly onChange?: (...args: any[]) => any;
1265
- readonly disabled?: boolean;
1264
+ style?: unknown;
1266
1265
  key?: PropertyKey;
1267
1266
  ref?: import("vue").VNodeRef;
1268
1267
  ref_for?: boolean;
@@ -1274,7 +1273,8 @@ export declare const Medium: {
1274
1273
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
1275
1274
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
1276
1275
  class?: unknown;
1277
- style?: unknown;
1276
+ readonly onChange?: (...args: any[]) => any;
1277
+ readonly disabled?: boolean;
1278
1278
  readonly placeholder?: string;
1279
1279
  readonly options?: import("../types").CascaderOptionType[];
1280
1280
  readonly multiple?: boolean;
@@ -1826,8 +1826,7 @@ export declare const Large: {
1826
1826
  size?: import("../types").CascaderSize;
1827
1827
  value?: import("../types").CascaderValue;
1828
1828
  itemsText?: string;
1829
- readonly onChange?: (...args: any[]) => any;
1830
- readonly disabled?: boolean;
1829
+ style?: unknown;
1831
1830
  key?: PropertyKey;
1832
1831
  ref?: import("vue").VNodeRef;
1833
1832
  ref_for?: boolean;
@@ -1839,7 +1838,8 @@ export declare const Large: {
1839
1838
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
1840
1839
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
1841
1840
  class?: unknown;
1842
- style?: unknown;
1841
+ readonly onChange?: (...args: any[]) => any;
1842
+ readonly disabled?: boolean;
1843
1843
  readonly placeholder?: string;
1844
1844
  readonly options?: import("../types").CascaderOptionType[];
1845
1845
  readonly multiple?: boolean;
@@ -1858,8 +1858,7 @@ export declare const Large: {
1858
1858
  size?: import("../types").CascaderSize;
1859
1859
  value?: import("../types").CascaderValue;
1860
1860
  itemsText?: string;
1861
- readonly onChange?: (...args: any[]) => any;
1862
- readonly disabled?: boolean;
1861
+ style?: unknown;
1863
1862
  key?: PropertyKey;
1864
1863
  ref?: import("vue").VNodeRef;
1865
1864
  ref_for?: boolean;
@@ -1871,7 +1870,8 @@ export declare const Large: {
1871
1870
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
1872
1871
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
1873
1872
  class?: unknown;
1874
- style?: unknown;
1873
+ readonly onChange?: (...args: any[]) => any;
1874
+ readonly disabled?: boolean;
1875
1875
  readonly placeholder?: string;
1876
1876
  readonly options?: import("../types").CascaderOptionType[];
1877
1877
  readonly multiple?: boolean;
@@ -2423,8 +2423,7 @@ export declare const Disabled: {
2423
2423
  size?: import("../types").CascaderSize;
2424
2424
  value?: import("../types").CascaderValue;
2425
2425
  itemsText?: string;
2426
- readonly onChange?: (...args: any[]) => any;
2427
- readonly disabled?: boolean;
2426
+ style?: unknown;
2428
2427
  key?: PropertyKey;
2429
2428
  ref?: import("vue").VNodeRef;
2430
2429
  ref_for?: boolean;
@@ -2436,7 +2435,8 @@ export declare const Disabled: {
2436
2435
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
2437
2436
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
2438
2437
  class?: unknown;
2439
- style?: unknown;
2438
+ readonly onChange?: (...args: any[]) => any;
2439
+ readonly disabled?: boolean;
2440
2440
  readonly placeholder?: string;
2441
2441
  readonly options?: import("../types").CascaderOptionType[];
2442
2442
  readonly multiple?: boolean;
@@ -2455,8 +2455,7 @@ export declare const Disabled: {
2455
2455
  size?: import("../types").CascaderSize;
2456
2456
  value?: import("../types").CascaderValue;
2457
2457
  itemsText?: string;
2458
- readonly onChange?: (...args: any[]) => any;
2459
- readonly disabled?: boolean;
2458
+ style?: unknown;
2460
2459
  key?: PropertyKey;
2461
2460
  ref?: import("vue").VNodeRef;
2462
2461
  ref_for?: boolean;
@@ -2468,7 +2467,8 @@ export declare const Disabled: {
2468
2467
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
2469
2468
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
2470
2469
  class?: unknown;
2471
- style?: unknown;
2470
+ readonly onChange?: (...args: any[]) => any;
2471
+ readonly disabled?: boolean;
2472
2472
  readonly placeholder?: string;
2473
2473
  readonly options?: import("../types").CascaderOptionType[];
2474
2474
  readonly multiple?: boolean;
@@ -3020,8 +3020,7 @@ export declare const HasError: {
3020
3020
  size?: import("../types").CascaderSize;
3021
3021
  value?: import("../types").CascaderValue;
3022
3022
  itemsText?: string;
3023
- readonly onChange?: (...args: any[]) => any;
3024
- readonly disabled?: boolean;
3023
+ style?: unknown;
3025
3024
  key?: PropertyKey;
3026
3025
  ref?: import("vue").VNodeRef;
3027
3026
  ref_for?: boolean;
@@ -3033,7 +3032,8 @@ export declare const HasError: {
3033
3032
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
3034
3033
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
3035
3034
  class?: unknown;
3036
- style?: unknown;
3035
+ readonly onChange?: (...args: any[]) => any;
3036
+ readonly disabled?: boolean;
3037
3037
  readonly placeholder?: string;
3038
3038
  readonly options?: import("../types").CascaderOptionType[];
3039
3039
  readonly multiple?: boolean;
@@ -3052,8 +3052,7 @@ export declare const HasError: {
3052
3052
  size?: import("../types").CascaderSize;
3053
3053
  value?: import("../types").CascaderValue;
3054
3054
  itemsText?: string;
3055
- readonly onChange?: (...args: any[]) => any;
3056
- readonly disabled?: boolean;
3055
+ style?: unknown;
3057
3056
  key?: PropertyKey;
3058
3057
  ref?: import("vue").VNodeRef;
3059
3058
  ref_for?: boolean;
@@ -3065,7 +3064,8 @@ export declare const HasError: {
3065
3064
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
3066
3065
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
3067
3066
  class?: unknown;
3068
- style?: unknown;
3067
+ readonly onChange?: (...args: any[]) => any;
3068
+ readonly disabled?: boolean;
3069
3069
  readonly placeholder?: string;
3070
3070
  readonly options?: import("../types").CascaderOptionType[];
3071
3071
  readonly multiple?: boolean;
@@ -3618,8 +3618,7 @@ export declare const AllowClear: {
3618
3618
  size?: import("../types").CascaderSize;
3619
3619
  value?: import("../types").CascaderValue;
3620
3620
  itemsText?: string;
3621
- readonly onChange?: (...args: any[]) => any;
3622
- readonly disabled?: boolean;
3621
+ style?: unknown;
3623
3622
  key?: PropertyKey;
3624
3623
  ref?: import("vue").VNodeRef;
3625
3624
  ref_for?: boolean;
@@ -3631,7 +3630,8 @@ export declare const AllowClear: {
3631
3630
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
3632
3631
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
3633
3632
  class?: unknown;
3634
- style?: unknown;
3633
+ readonly onChange?: (...args: any[]) => any;
3634
+ readonly disabled?: boolean;
3635
3635
  readonly placeholder?: string;
3636
3636
  readonly options?: import("../types").CascaderOptionType[];
3637
3637
  readonly multiple?: boolean;
@@ -3650,8 +3650,7 @@ export declare const AllowClear: {
3650
3650
  size?: import("../types").CascaderSize;
3651
3651
  value?: import("../types").CascaderValue;
3652
3652
  itemsText?: string;
3653
- readonly onChange?: (...args: any[]) => any;
3654
- readonly disabled?: boolean;
3653
+ style?: unknown;
3655
3654
  key?: PropertyKey;
3656
3655
  ref?: import("vue").VNodeRef;
3657
3656
  ref_for?: boolean;
@@ -3663,7 +3662,8 @@ export declare const AllowClear: {
3663
3662
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
3664
3663
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
3665
3664
  class?: unknown;
3666
- style?: unknown;
3665
+ readonly onChange?: (...args: any[]) => any;
3666
+ readonly disabled?: boolean;
3667
3667
  readonly placeholder?: string;
3668
3668
  readonly options?: import("../types").CascaderOptionType[];
3669
3669
  readonly multiple?: boolean;
@@ -4219,8 +4219,7 @@ export declare const WithOptionIcon: {
4219
4219
  size?: import("../types").CascaderSize;
4220
4220
  value?: import("../types").CascaderValue;
4221
4221
  itemsText?: string;
4222
- readonly onChange?: (...args: any[]) => any;
4223
- readonly disabled?: boolean;
4222
+ style?: unknown;
4224
4223
  key?: PropertyKey;
4225
4224
  ref?: import("vue").VNodeRef;
4226
4225
  ref_for?: boolean;
@@ -4232,7 +4231,8 @@ export declare const WithOptionIcon: {
4232
4231
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
4233
4232
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
4234
4233
  class?: unknown;
4235
- style?: unknown;
4234
+ readonly onChange?: (...args: any[]) => any;
4235
+ readonly disabled?: boolean;
4236
4236
  readonly placeholder?: string;
4237
4237
  readonly options?: import("../types").CascaderOptionType[];
4238
4238
  readonly multiple?: boolean;
@@ -4251,8 +4251,7 @@ export declare const WithOptionIcon: {
4251
4251
  size?: import("../types").CascaderSize;
4252
4252
  value?: import("../types").CascaderValue;
4253
4253
  itemsText?: string;
4254
- readonly onChange?: (...args: any[]) => any;
4255
- readonly disabled?: boolean;
4254
+ style?: unknown;
4256
4255
  key?: PropertyKey;
4257
4256
  ref?: import("vue").VNodeRef;
4258
4257
  ref_for?: boolean;
@@ -4264,7 +4263,8 @@ export declare const WithOptionIcon: {
4264
4263
  onVnodeBeforeUnmount?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
4265
4264
  onVnodeUnmounted?: ((vnode: import("vue").VNode) => void) | ((vnode: import("vue").VNode) => void)[];
4266
4265
  class?: unknown;
4267
- style?: unknown;
4266
+ readonly onChange?: (...args: any[]) => any;
4267
+ readonly disabled?: boolean;
4268
4268
  readonly placeholder?: string;
4269
4269
  readonly options?: import("../types").CascaderOptionType[];
4270
4270
  readonly multiple?: boolean;
@@ -53,8 +53,8 @@ declare const __VLS_component: import("vue").DefineComponent<MaCollapseProps, {
53
53
  onChange?: (expandedValues: CollapseItemValue[]) => any;
54
54
  "onUpdate:expandedValues"?: (expandedValues: CollapseItemValue[]) => any;
55
55
  }>, {
56
- mode: CollapseMode;
57
56
  size: MaCollapseSize;
57
+ mode: CollapseMode;
58
58
  expandedValues: CollapseItemValue[];
59
59
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
60
60
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -19,8 +19,8 @@ declare function __VLS_template(): {
19
19
  };
20
20
  refs: {
21
21
  datepickerInput: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<string[]> | import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<import("@vuepic/vue-datepicker").VueDatePickerProps>>> & {
22
- onFocus?: (...args: any[]) => any;
23
22
  onBlur?: (...args: any[]) => any;
23
+ onFocus?: (...args: any[]) => any;
24
24
  onCleared?: (...args: any[]) => any;
25
25
  onClosed?: (...args: any[]) => any;
26
26
  onOpen?: (...args: any[]) => any;
@@ -54,8 +54,8 @@ declare function __VLS_template(): {
54
54
  M: {};
55
55
  Defaults: {};
56
56
  }, {} & (Readonly<import("vue").ExtractPropTypes<string[]> | import("vue").ExtractPropTypes<import("vue").ComponentObjectPropsOptions<import("@vuepic/vue-datepicker").VueDatePickerProps>>> & {
57
- onFocus?: (...args: any[]) => any;
58
57
  onBlur?: (...args: any[]) => any;
58
+ onFocus?: (...args: any[]) => any;
59
59
  onCleared?: (...args: any[]) => any;
60
60
  onClosed?: (...args: any[]) => any;
61
61
  onOpen?: (...args: any[]) => any;
@@ -98,9 +98,9 @@ declare const __VLS_component: import("vue").DefineComponent<MaDatePickerProps,
98
98
  blur: (...args: any[]) => void;
99
99
  change: (...args: any[]) => void;
100
100
  focus: (...args: any[]) => void;
101
+ closed: (...args: any[]) => void;
101
102
  "update:value": (...args: any[]) => void;
102
103
  cleared: (...args: any[]) => void;
103
- closed: (...args: any[]) => void;
104
104
  opened: (...args: any[]) => void;
105
105
  openChange: (...args: any[]) => void;
106
106
  rangeStart: (...args: any[]) => void;
@@ -109,9 +109,9 @@ declare const __VLS_component: import("vue").DefineComponent<MaDatePickerProps,
109
109
  onBlur?: (...args: any[]) => any;
110
110
  onChange?: (...args: any[]) => any;
111
111
  onFocus?: (...args: any[]) => any;
112
+ onClosed?: (...args: any[]) => any;
112
113
  "onUpdate:value"?: (...args: any[]) => any;
113
114
  onCleared?: (...args: any[]) => any;
114
- onClosed?: (...args: any[]) => any;
115
115
  onOpened?: (...args: any[]) => any;
116
116
  onOpenChange?: (...args: any[]) => any;
117
117
  onRangeStart?: (...args: any[]) => any;
@@ -122,16 +122,16 @@ declare function __VLS_template(): {
122
122
  };
123
123
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
124
124
  declare const __VLS_component: import("vue").DefineComponent<MaDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
125
- "update:visible": (open: boolean) => any;
126
125
  closed: () => any;
126
+ "update:visible": (open: boolean) => any;
127
127
  opened: () => any;
128
128
  }, string, import("vue").PublicProps, Readonly<MaDrawerProps> & Readonly<{
129
- "onUpdate:visible"?: (open: boolean) => any;
130
129
  onClosed?: () => any;
130
+ "onUpdate:visible"?: (open: boolean) => any;
131
131
  onOpened?: () => any;
132
132
  }>, {
133
- placement: MaDrawerPlacement;
134
133
  closable: boolean;
134
+ placement: MaDrawerPlacement;
135
135
  visible: boolean;
136
136
  maskClosable: boolean;
137
137
  zIndex: number;
@@ -16,7 +16,7 @@ declare const _default: import("vue").DefineComponent<{
16
16
  size?: IconSize;
17
17
  ratio?: MaFlagIconRatio;
18
18
  }> & Readonly<{}>, {
19
- size: "md" | "xs" | "sm" | "lg" | "xl";
19
+ size: "xs" | "sm" | "md" | "lg" | "xl";
20
20
  ratio: "1x1" | "4x3";
21
21
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
22
  export default _default;
@@ -8,7 +8,7 @@ export interface MaIconProps {
8
8
  }
9
9
  declare const _default: import("vue").DefineComponent<MaIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaIconProps> & Readonly<{}>, {
10
10
  size: IconSize;
11
- round: boolean;
12
11
  ratio: MaFlagIconRatio;
12
+ round: boolean;
13
13
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -23,9 +23,9 @@ declare function __VLS_template(): {
23
23
  };
24
24
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
25
  declare const __VLS_component: import("vue").DefineComponent<MaIconButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaIconButtonProps> & Readonly<{}>, {
26
+ type: MaIconButtonType;
26
27
  disabled: boolean;
27
28
  loading: boolean;
28
- type: MaIconButtonType;
29
29
  active: boolean;
30
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
31
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -17,11 +17,11 @@ export interface MaIconButtonProps {
17
17
  loading?: boolean;
18
18
  }
19
19
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaIconButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaIconButtonProps> & Readonly<{}>, {
20
- rounded: boolean;
21
20
  size: MaIconButtonSize;
21
+ type: MaIconButtonType;
22
+ rounded: boolean;
22
23
  disabled: boolean;
23
24
  loading: boolean;
24
- type: MaIconButtonType;
25
25
  active: boolean;
26
26
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
27
27
  tooltip?(_: {}): any;
@@ -2,8 +2,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pa
2
2
  wrapperStyle: import("vue").CSSProperties;
3
3
  preview: boolean | import("ant-design-vue/lib/vc-image").ImagePreviewType;
4
4
  } & {
5
- onError?: OnErrorEventHandlerNonNull;
6
5
  onClick?: import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler;
6
+ onError?: OnErrorEventHandlerNonNull;
7
7
  placeholder?: any;
8
8
  prefixCls?: string;
9
9
  src?: string;
@@ -16,8 +16,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Pa
16
16
  wrapperStyle: import("vue").CSSProperties;
17
17
  preview: boolean | import("ant-design-vue/lib/vc-image").ImagePreviewType;
18
18
  } & {
19
- onError?: OnErrorEventHandlerNonNull;
20
19
  onClick?: import("ant-design-vue/lib/_util/EventInterface").MouseEventHandler;
20
+ onError?: OnErrorEventHandlerNonNull;
21
21
  placeholder?: any;
22
22
  prefixCls?: string;
23
23
  src?: string;
@@ -1,14 +1,14 @@
1
1
  import { MaModalProps } from '@/components/modal/types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  cancel: (...args: any[]) => void;
4
+ closed: (...args: any[]) => void;
4
5
  "update:visible": (...args: any[]) => void;
5
6
  ok: (...args: any[]) => void;
6
- closed: (...args: any[]) => void;
7
7
  }, string, import("vue").PublicProps, Readonly<MaModalProps> & Readonly<{
8
8
  onCancel?: (...args: any[]) => any;
9
+ onClosed?: (...args: any[]) => any;
9
10
  "onUpdate:visible"?: (...args: any[]) => any;
10
11
  onOk?: (...args: any[]) => any;
11
- onClosed?: (...args: any[]) => any;
12
12
  }>, {
13
13
  mask: boolean;
14
14
  closable: boolean;