@mobileaction/action-kit 1.55.9-beta.1 → 1.55.9-beta.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 (47) hide show
  1. package/dist/action-kit.mjs +1 -1
  2. package/dist/{annotations-DzwRKOiX.js → annotations-CJvReGEj.js} +1 -1
  3. package/dist/components/alert/index.vue.d.ts +1 -1
  4. package/dist/components/badge/index.vue.d.ts +2 -2
  5. package/dist/components/badge/stories/basic.stories.d.ts +121 -121
  6. package/dist/components/badge/stories/blue.stories.d.ts +121 -121
  7. package/dist/components/badge/stories/constants.d.ts +54 -54
  8. package/dist/components/badge/stories/dark.stories.d.ts +121 -121
  9. package/dist/components/badge/stories/green.stories.d.ts +121 -121
  10. package/dist/components/badge/stories/orange.stories.d.ts +121 -121
  11. package/dist/components/badge/stories/pink.stories.d.ts +121 -121
  12. package/dist/components/badge/stories/purple.stories.d.ts +121 -121
  13. package/dist/components/badge/stories/red.stories.d.ts +121 -121
  14. package/dist/components/badge/stories/teal.stories.d.ts +121 -121
  15. package/dist/components/badge/stories/yellow.stories.d.ts +121 -121
  16. package/dist/components/button/index.vue.d.ts +6 -20
  17. package/dist/components/button/link-button/index.vue.d.ts +4 -16
  18. package/dist/components/button/social-button/index.vue.d.ts +3 -13
  19. package/dist/components/button/types.d.ts +43 -0
  20. package/dist/components/cascader/index.vue.d.ts +1 -1
  21. package/dist/components/cascader/stories/default.stories.d.ts +320 -320
  22. package/dist/components/date-picker-2/index.vue.d.ts +1 -1
  23. package/dist/components/empty/index.vue.d.ts +1 -1
  24. package/dist/components/modal/types.d.ts +1 -1
  25. package/dist/components/modal-2/MaConfirmModal.vue.d.ts +3 -1
  26. package/dist/components/modal-2/types.d.ts +4 -9
  27. package/dist/components/numeric-input/index.vue.d.ts +1 -1
  28. package/dist/components/popconfirm/index.vue.d.ts +1 -1
  29. package/dist/components/popconfirm-2/index.vue.d.ts +2 -2
  30. package/dist/components/result/stories/constants.d.ts +9 -9
  31. package/dist/components/select/index.vue.d.ts +1 -1
  32. package/dist/components/select-2/index.vue.d.ts +1 -1
  33. package/dist/components/tree/index.vue.d.ts +1 -1
  34. package/dist/components/upload/index.vue.d.ts +1 -1
  35. package/dist/{export-data-CogMIKLw.js → export-data-Bc66-x65.js} +1 -1
  36. package/dist/{exporting-BC5gPbRD.js → exporting-BtRF11xJ.js} +1 -1
  37. package/dist/{funnel-DCKPuShR.js → funnel-D5wllcfK.js} +1 -1
  38. package/dist/{index-B3BnsEOn.js → index-BeRY2xCE.js} +2840 -2847
  39. package/dist/index.d.ts +0 -2
  40. package/dist/{map-BuUu2S2x.js → map-DCQ-fAeN.js} +1 -1
  41. package/dist/{offline-exporting-Dl3qVzLd.js → offline-exporting-De8jDkav.js} +1 -1
  42. package/dist/{stock-CgmqjadN.js → stock-CC5igHH2.js} +1 -1
  43. package/dist/{venn-DAfzV8Ud.js → venn-CN4OD4vD.js} +1 -1
  44. package/dist/{wordcloud-Dpd1_4HN.js → wordcloud-DMFxV2pu.js} +1 -1
  45. package/package.json +1 -1
  46. package/dist/components/button/link-button/types.d.ts +0 -4
  47. package/dist/components/button/social-button/types.d.ts +0 -4
@@ -56,8 +56,8 @@ declare const __VLS_component: import("vue").DefineComponent<MaDatePickerProps,
56
56
  onRangeStart?: (...args: any[]) => any;
57
57
  onRangeEnd?: (...args: any[]) => any;
58
58
  }>, {
59
- value: import("@vuepic/vue-datepicker").ModelValue;
60
59
  size: typeof import("./types").MaDatePickerSizes[number];
60
+ value: import("@vuepic/vue-datepicker").ModelValue;
61
61
  disabled: boolean;
62
62
  overlayClassName: string;
63
63
  position: typeof import("./types").MaDatePickerPositions[number];
@@ -20,8 +20,8 @@ type __VLS_Slots = {} & {
20
20
  default?: (props: typeof __VLS_13) => any;
21
21
  };
22
22
  declare const __VLS_component: import("vue").DefineComponent<MaRateProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaRateProps> & Readonly<{}>, {
23
- size: MaEmptySize;
24
23
  variant: MaEmptyVariant;
24
+ size: MaEmptySize;
25
25
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
26
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
27
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import type { VNode } from 'vue';
2
2
  import type { ModalProps } from 'ant-design-vue';
3
- import type { MaButtonProps } from '../button/index.vue';
3
+ import type { MaButtonProps } from '@/components/button/types';
4
4
  export declare const MaModalTypes: readonly ["info", "success", "confirm", "warning", "error", "blank"];
5
5
  export declare const MaModalTypeIcon: {
6
6
  [K in MaModalPropType]: string;
@@ -1,4 +1,4 @@
1
- import type { ConfirmModal2Props, ConfirmModal2Type } from './types';
1
+ import type { ConfirmModal2Button, ConfirmModal2Props, ConfirmModal2Type } from './types';
2
2
  declare var __VLS_5: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_5) => any;
@@ -18,6 +18,8 @@ declare const __VLS_component: import("vue").DefineComponent<ConfirmModal2Props,
18
18
  showMaskOverlay: boolean;
19
19
  showCancelButton: boolean;
20
20
  showOkButton: boolean;
21
+ cancelButtonProps: Partial<ConfirmModal2Button>;
22
+ okButtonProps: Partial<ConfirmModal2Button>;
21
23
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
24
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
25
  export default _default;
@@ -1,16 +1,11 @@
1
1
  import type { VNode } from 'vue';
2
- import type { ButtonColor, ButtonSize, ButtonVariant } from '@/components/button/types';
2
+ import type { MaButtonProps } from '@/components/button/types';
3
3
  export declare const ModalPositions: readonly ["top", "right", "bottom", "left", "center", "topleft", "topright", "bottomleft", "bottomright"];
4
4
  export type ModalPosition = (typeof ModalPositions)[number];
5
5
  export declare const ConfirmModal2Types: readonly ["info", "success", "warning", "error"];
6
6
  export type ConfirmModal2Type = (typeof ConfirmModal2Types)[number];
7
- export interface ConfirmModal2Button {
7
+ export interface ConfirmModal2Button extends Omit<MaButtonProps, 'href' | 'target' | 'htmlType'> {
8
8
  label?: string;
9
- loading?: boolean;
10
- variant?: ButtonVariant;
11
- color?: ButtonColor;
12
- size?: ButtonSize;
13
- onClick: () => void;
14
9
  }
15
10
  export interface Modal2Props {
16
11
  /**
@@ -74,8 +69,8 @@ export interface ConfirmModal2Props extends Omit<Modal2Props, 'title' | 'maximiz
74
69
  description?: string | VNode;
75
70
  showCancelButton?: boolean;
76
71
  showOkButton?: boolean;
77
- cancelButtonProps?: ConfirmModal2Button;
78
- okButtonProps?: ConfirmModal2Button;
72
+ cancelButtonProps?: Partial<ConfirmModal2Button>;
73
+ okButtonProps?: Partial<ConfirmModal2Button>;
79
74
  }
80
75
  export interface Modal2Emits {
81
76
  /**
@@ -12,9 +12,9 @@ declare const _default: import("vue").DefineComponent<MaNumericInputProps, {}, {
12
12
  }, string, import("vue").PublicProps, Readonly<MaNumericInputProps> & Readonly<{
13
13
  "onUpdate:value"?: (...args: any[]) => any;
14
14
  }>, {
15
+ size: NumericInputSize;
15
16
  value: string;
16
17
  length: number;
17
- size: NumericInputSize;
18
18
  placeholderStatus: boolean;
19
19
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
20
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { PopconfirmPlacement } from '@/components/popconfirm/types';
2
- import type { MaButtonProps } from '@/components/button/index.vue';
2
+ import type { MaButtonProps } from '@/components/button/types';
3
3
  import type { MaPopoverProps } from '../popover/index.vue';
4
4
  export interface MaPopconfirmProps {
5
5
  placement?: PopconfirmPlacement;
@@ -1,5 +1,5 @@
1
1
  import type { Popconfirm2Variant, Popover2Placement } from '@/index';
2
- import type { MaButtonProps } from '@/components/button/index.vue';
2
+ import type { MaButtonProps } from '@/components/button/types';
3
3
  import type { MaPopover2Props } from '../popover-2/index.vue';
4
4
  export interface Popconfirm2Props {
5
5
  title?: string;
@@ -43,8 +43,8 @@ declare const __VLS_component: import("vue").DefineComponent<Popconfirm2Props, {
43
43
  onVisibleChange?: (...args: any[]) => any;
44
44
  onConfirm?: (...args: any[]) => any;
45
45
  }>, {
46
- title: string;
47
46
  variant: Popconfirm2Variant;
47
+ title: string;
48
48
  showIcon: boolean;
49
49
  description: string;
50
50
  visible: boolean;
@@ -2,13 +2,13 @@ import type { Meta, StoryFn } from '@storybook/vue3';
2
2
  import MaResult from '@/components/result/index.vue';
3
3
  declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
4
4
  MaButton: {
5
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("@/components/button/index.vue").MaButtonProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
6
- size: import("../../..").ButtonSize;
5
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../..").MaButtonProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
7
6
  variant: import("../../..").ButtonVariant;
7
+ size: import("../../..").ButtonSize;
8
+ shape: import("../../..").ButtonShape;
8
9
  disabled: boolean;
9
10
  loading: boolean;
10
11
  color: import("../../..").ButtonColor;
11
- shape: import("../../..").ButtonShape;
12
12
  htmlType: import("../../..").ButtonHtmlType;
13
13
  }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
14
14
  P: {};
@@ -17,25 +17,25 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
17
17
  C: {};
18
18
  M: {};
19
19
  Defaults: {};
20
- }, Readonly<import("@/components/button/index.vue").MaButtonProps> & Readonly<{}>, {}, {}, {}, {}, {
21
- size: import("../../..").ButtonSize;
20
+ }, Readonly<import("../../..").MaButtonProps> & Readonly<{}>, {}, {}, {}, {}, {
22
21
  variant: import("../../..").ButtonVariant;
22
+ size: import("../../..").ButtonSize;
23
+ shape: import("../../..").ButtonShape;
23
24
  disabled: boolean;
24
25
  loading: boolean;
25
26
  color: import("../../..").ButtonColor;
26
- shape: import("../../..").ButtonShape;
27
27
  htmlType: import("../../..").ButtonHtmlType;
28
28
  }>;
29
29
  __isFragment?: never;
30
30
  __isTeleport?: never;
31
31
  __isSuspense?: never;
32
- } & import("vue").ComponentOptionsBase<Readonly<import("@/components/button/index.vue").MaButtonProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
33
- size: import("../../..").ButtonSize;
32
+ } & import("vue").ComponentOptionsBase<Readonly<import("../../..").MaButtonProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
34
33
  variant: import("../../..").ButtonVariant;
34
+ size: import("../../..").ButtonSize;
35
+ shape: import("../../..").ButtonShape;
35
36
  disabled: boolean;
36
37
  loading: boolean;
37
38
  color: import("../../..").ButtonColor;
38
- shape: import("../../..").ButtonShape;
39
39
  htmlType: import("../../..").ButtonHtmlType;
40
40
  }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
41
41
  $slots: {
@@ -68,8 +68,8 @@ declare const __VLS_component: import("vue").DefineComponent<MaSelectProps, {},
68
68
  "onUpdate:value"?: (...args: any[]) => any;
69
69
  onDropdownVisibleChange?: (...args: any[]) => any;
70
70
  }>, {
71
- value: string | number | string[] | number[];
72
71
  size: SelectSize;
72
+ value: string | number | string[] | number[];
73
73
  showArrow: boolean;
74
74
  open: boolean;
75
75
  listHeight: number;
@@ -50,8 +50,8 @@ declare const __VLS_component: import("vue").DefineComponent<MaSelectProps, {
50
50
  onSearchValueChange?: (...args: any[]) => any;
51
51
  onCleared?: (...args: any[]) => any;
52
52
  }>, {
53
- value: MaSelectValue;
54
53
  size: import("./types").MaSelectSize;
54
+ value: MaSelectValue;
55
55
  disabled: boolean;
56
56
  loading: boolean;
57
57
  multiple: boolean;
@@ -67,8 +67,8 @@ declare const __VLS_component: import("vue").DefineComponent<MaTreeProps, {
67
67
  onExpand?: (...args: any[]) => any;
68
68
  "onUpdate:selectedValues"?: (...args: any[]) => any;
69
69
  }>, {
70
- search: MaSearchType;
71
70
  size: MaEmptySize;
71
+ search: MaSearchType;
72
72
  mode: TreeMode;
73
73
  emptySize: MaEmptySize;
74
74
  emptyTitle: string;
@@ -42,8 +42,8 @@ declare const __VLS_component: import("vue").DefineComponent<MaUploadProps, {},
42
42
  onRemove?: (...args: any[]) => any;
43
43
  "onUpdate:fileList"?: (...args: any[]) => any;
44
44
  }>, {
45
- name: string;
46
45
  size: MaUploadSize;
46
+ name: string;
47
47
  type: MaUploadType;
48
48
  disabled: boolean;
49
49
  multiple: boolean;
@@ -1,4 +1,4 @@
1
- import { g as Ge } from "./index-B3BnsEOn.js";
1
+ import { g as Ge } from "./index-BeRY2xCE.js";
2
2
  function ze(G, le) {
3
3
  for (var R = 0; R < le.length; R++) {
4
4
  const k = le[R];
@@ -1,4 +1,4 @@
1
- import { g as Bt } from "./index-B3BnsEOn.js";
1
+ import { g as Bt } from "./index-BeRY2xCE.js";
2
2
  function Gt(U, $) {
3
3
  for (var k = 0; k < $.length; k++) {
4
4
  const F = $[k];
@@ -1,4 +1,4 @@
1
- import { g as De } from "./index-B3BnsEOn.js";
1
+ import { g as De } from "./index-BeRY2xCE.js";
2
2
  function He(q, J) {
3
3
  for (var W = 0; W < J.length; W++) {
4
4
  const m = J[W];