@mobileaction/action-kit 1.55.9 → 1.55.10

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 (26) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/action-kit.mjs +1 -1
  3. package/dist/{annotations-DzwRKOiX.js → annotations-CJvReGEj.js} +1 -1
  4. package/dist/components/button/index.vue.d.ts +6 -20
  5. package/dist/components/button/link-button/index.vue.d.ts +4 -16
  6. package/dist/components/button/social-button/index.vue.d.ts +3 -13
  7. package/dist/components/button/types.d.ts +42 -0
  8. package/dist/components/modal/types.d.ts +1 -1
  9. package/dist/components/modal-2/MaConfirmModal.vue.d.ts +3 -1
  10. package/dist/components/modal-2/types.d.ts +5 -9
  11. package/dist/components/popconfirm/index.vue.d.ts +1 -1
  12. package/dist/components/popconfirm-2/index.vue.d.ts +1 -1
  13. package/dist/components/result/stories/constants.d.ts +3 -3
  14. package/dist/{export-data-CogMIKLw.js → export-data-Bc66-x65.js} +1 -1
  15. package/dist/{exporting-BC5gPbRD.js → exporting-BtRF11xJ.js} +1 -1
  16. package/dist/{funnel-DCKPuShR.js → funnel-D5wllcfK.js} +1 -1
  17. package/dist/{index-B3BnsEOn.js → index-BeRY2xCE.js} +2840 -2847
  18. package/dist/index.d.ts +0 -2
  19. package/dist/{map-BuUu2S2x.js → map-DCQ-fAeN.js} +1 -1
  20. package/dist/{offline-exporting-Dl3qVzLd.js → offline-exporting-De8jDkav.js} +1 -1
  21. package/dist/{stock-CgmqjadN.js → stock-CC5igHH2.js} +1 -1
  22. package/dist/{venn-DAfzV8Ud.js → venn-CN4OD4vD.js} +1 -1
  23. package/dist/{wordcloud-Dpd1_4HN.js → wordcloud-DMFxV2pu.js} +1 -1
  24. package/package.json +1 -1
  25. package/dist/components/button/link-button/types.d.ts +0 -4
  26. package/dist/components/button/social-button/types.d.ts +0 -4
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.55.10](https://github.com/mobileaction/action-kit/compare/v1.55.9...v1.55.10) (2025-11-05)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **RVP-54:** fix confirm modal button props ([41420d2](https://github.com/mobileaction/action-kit/commit/41420d2a5b2f3adbc9f25b729854f321fcd93b59))
11
+
5
12
  ## [1.55.9](https://github.com/mobileaction/action-kit/compare/v1.55.8...v1.55.9) (2025-10-22)
6
13
 
7
14
 
@@ -1,4 +1,4 @@
1
- import { c6 as e, c5 as o, aG as t, aI as M, aH as n, aT as i, aX as p, aY as r, aV as l, aU as b, aW as c, aS as u, bE as S, bD as T, b2 as d, b0 as m, bl as g, aO as y, aP as I, _ as C, aF as B, aD as P, aE as h, a as A, b as z, c as k, d as R, e as O, aM as f, aL as x, aK as w, aJ as G, aN as D, f as L, j as v, aZ as N, a$ as V, a_ as E, k as F, l as U, r as K, p as W, n as j, o as H, q, t as J, s as Q, b1 as X, bh as Y, u as Z, v as _, w as $, y as aa, x as sa, z as ea, A as oa, b3 as ta, b4 as Ma, B as na, C as ia, b7 as pa, b5 as ra, b6 as la, ba, E as ca, D as ua, b8 as Sa, G as Ta, F as da, bb as ma, b9 as ga, M as ya, J as Ia, L as Ca, I as Ba, K as Pa, O as ha, be as Aa, N as za, bd as ka, bc as Ra, h as Oa, Q as fa, bJ as xa, P as wa, R as Ga, bi as Da, bp as La, bo as va, S as Na, T as Va, U as Ea, W as Fa, V as Ua, Y as Ka, X as Wa, Z as ja, bw as Ha, bv as qa, bx as Ja, bu as Qa, a1 as Xa, $ as Ya, a0 as Za, by as _a, a2 as $a, bA as as, bz as ss, a3 as es, a8 as os, a6 as ts, a4 as Ms, a5 as ns, a7 as is, ab as ps, ac as rs, ad as ls, a9 as bs, ae as cs, af as us, aa as Ss, bK as Ts, ag as ds, ah as ms, i as gs, ai as ys, bM as Is, bL as Cs, al as Bs, aj as Ps, ak as hs, am as As, an as zs, ao as ks, bT as Rs, ar as Os, ap as fs, bQ as xs, bR as ws, bS as Gs, as as Ds, aq as Ls, bP as vs, bO as Ns, at as Vs, au as Es, aw as Fs, av as Us, ax as Ks, ay as Ws, az as js, aA as Hs, c4 as qs, c3 as Js, c2 as Qs, aB as Xs, bm as Ys, bk as Zs, bG as _s, bF as $s, bq as ae, br as se, bt as ee, bs as oe, bC as te, bI as Me, bH as ne, bB as ie, aQ as pe, aR as re, bN as le, bU as be, bV as ce, bW as ue, bY as Se, bX as Te, bZ as de, b_ as me, c0 as ge, b$ as ye, c1 as Ie, bg as Ce, bf as Be, c8 as Pe, c9 as he, ca as Ae, H as ze, m as ke, aC as Re, bn as Oe, c7 as fe, bj as xe, cb as we } from "./index-B3BnsEOn.js";
1
+ import { c6 as e, c5 as o, aG as t, aI as M, aH as n, aP as i, aT as p, aU as r, aR as l, aQ as b, aS as c, aO as u, bE as S, bD as T, b2 as d, b0 as m, bl as g, aV as y, aW as I, _ as C, aF as B, aD as P, aE as h, a as A, b as z, c as k, d as R, e as O, aM as f, aL as x, aK as w, aJ as G, aN as D, f as L, j as v, aZ as N, a$ as V, a_ as E, k as F, l as U, r as K, p as W, n as j, o as H, q, t as J, s as Q, b1 as X, bh as Y, u as Z, v as _, w as $, y as aa, x as sa, z as ea, A as oa, b3 as ta, b4 as Ma, B as na, C as ia, b7 as pa, b5 as ra, b6 as la, ba, E as ca, D as ua, b8 as Sa, G as Ta, F as da, bb as ma, b9 as ga, M as ya, J as Ia, L as Ca, I as Ba, K as Pa, O as ha, be as Aa, N as za, bd as ka, bc as Ra, h as Oa, Q as fa, bJ as xa, P as wa, R as Ga, bi as Da, bp as La, bo as va, S as Na, T as Va, U as Ea, W as Fa, V as Ua, Y as Ka, X as Wa, Z as ja, bw as Ha, bv as qa, bx as Ja, bu as Qa, a1 as Xa, $ as Ya, a0 as Za, by as _a, a2 as $a, bA as as, bz as ss, a3 as es, a8 as os, a6 as ts, a4 as Ms, a5 as ns, a7 as is, ab as ps, ac as rs, ad as ls, a9 as bs, ae as cs, af as us, aa as Ss, bK as Ts, ag as ds, ah as ms, i as gs, ai as ys, bM as Is, bL as Cs, al as Bs, aj as Ps, ak as hs, am as As, an as zs, ao as ks, bT as Rs, ar as Os, ap as fs, bQ as xs, bR as ws, bS as Gs, as as Ds, aq as Ls, bP as vs, bO as Ns, at as Vs, au as Es, aw as Fs, av as Us, ax as Ks, ay as Ws, az as js, aA as Hs, c4 as qs, c3 as Js, c2 as Qs, aB as Xs, bm as Ys, bk as Zs, bG as _s, bF as $s, bq as ae, br as se, bt as ee, bs as oe, bC as te, bI as Me, bH as ne, bB as ie, aX as pe, aY as re, bN as le, bU as be, bV as ce, bW as ue, bY as Se, bX as Te, bZ as de, b_ as me, c0 as ge, b$ as ye, c1 as Ie, bg as Ce, bf as Be, c8 as Pe, c9 as he, ca as Ae, H as ze, m as ke, aC as Re, bn as Oe, c7 as fe, bj as xe, cb as we } from "./index-BeRY2xCE.js";
2
2
  import { SelectOptGroup as De } from "ant-design-vue";
3
3
  export {
4
4
  e as ActionKit,
@@ -1,4 +1,4 @@
1
- import { g as ts } from "./index-B3BnsEOn.js";
1
+ import { g as ts } from "./index-BeRY2xCE.js";
2
2
  function is(W, Z) {
3
3
  for (var C = 0; C < Z.length; C++) {
4
4
  const B = Z[C];
@@ -1,30 +1,16 @@
1
- import type { ButtonColor, ButtonHtmlType, ButtonShape, ButtonSize, ButtonTarget, ButtonVariant } from './types';
2
- export interface MaButtonProps {
3
- variant?: ButtonVariant;
4
- size?: ButtonSize;
5
- shape?: ButtonShape;
6
- href?: string;
7
- target?: ButtonTarget;
8
- disabled?: boolean;
9
- loading?: boolean;
10
- icon?: string;
11
- iconAlignment?: string;
12
- highlight?: boolean;
13
- htmlType?: ButtonHtmlType;
14
- color?: ButtonColor;
15
- }
1
+ import type { MaButtonProps } from './types';
16
2
  declare var __VLS_10: {};
17
3
  type __VLS_Slots = {} & {
18
4
  default?: (props: typeof __VLS_10) => any;
19
5
  };
20
6
  declare const __VLS_component: import("vue").DefineComponent<MaButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaButtonProps> & Readonly<{}>, {
21
- size: ButtonSize;
22
- variant: ButtonVariant;
7
+ size: import("@/index").ButtonSize;
8
+ variant: import("@/index").ButtonVariant;
23
9
  disabled: boolean;
24
10
  loading: boolean;
25
- color: ButtonColor;
26
- shape: ButtonShape;
27
- htmlType: ButtonHtmlType;
11
+ color: import("@/index").ButtonColor;
12
+ shape: import("@/index").ButtonShape;
13
+ htmlType: import("@/index").ButtonHtmlType;
28
14
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
29
15
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
30
16
  export default _default;
@@ -1,26 +1,14 @@
1
- import type { LinkButtonColor, LinkButtonSize } from './types';
2
- import type { ButtonHtmlType, ButtonTarget } from '../types';
3
- export interface MaLinkButtonProps {
4
- href?: string;
5
- target?: ButtonTarget;
6
- disabled?: boolean;
7
- loading?: boolean;
8
- icon?: string;
9
- iconAlignment?: string;
10
- htmlType?: ButtonHtmlType;
11
- color?: LinkButtonColor;
12
- size?: LinkButtonSize;
13
- }
1
+ import type { MaLinkButtonProps } from '../types';
14
2
  declare var __VLS_10: {};
15
3
  type __VLS_Slots = {} & {
16
4
  default?: (props: typeof __VLS_10) => any;
17
5
  };
18
6
  declare const __VLS_component: import("vue").DefineComponent<MaLinkButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaLinkButtonProps> & Readonly<{}>, {
19
- size: LinkButtonSize;
7
+ size: import("@/index").LinkButtonSize;
20
8
  disabled: boolean;
21
9
  loading: boolean;
22
- color: LinkButtonColor;
23
- htmlType: ButtonHtmlType;
10
+ color: import("@/index").LinkButtonColor;
11
+ htmlType: import("@/index").ButtonHtmlType;
24
12
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
26
14
  export default _default;
@@ -1,23 +1,13 @@
1
- import type { SocialButtonBrand, SocialButtonVariant } from './types';
2
- import type { ButtonHtmlType, ButtonTarget } from '../types';
3
- export interface MaSocialButtonProps {
4
- href?: string;
5
- target?: ButtonTarget;
6
- disabled?: boolean;
7
- loading?: boolean;
8
- htmlType?: ButtonHtmlType;
9
- brand?: SocialButtonBrand;
10
- variant?: SocialButtonVariant;
11
- }
1
+ import type { MaSocialButtonProps } from '../types';
12
2
  declare var __VLS_10: {};
13
3
  type __VLS_Slots = {} & {
14
4
  default?: (props: typeof __VLS_10) => any;
15
5
  };
16
6
  declare const __VLS_component: import("vue").DefineComponent<MaSocialButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaSocialButtonProps> & Readonly<{}>, {
17
- variant: SocialButtonVariant;
7
+ variant: import("@/index").SocialButtonVariant;
18
8
  disabled: boolean;
19
9
  loading: boolean;
20
- htmlType: ButtonHtmlType;
10
+ htmlType: import("@/index").ButtonHtmlType;
21
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
22
12
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
13
  export default _default;
@@ -12,3 +12,45 @@ export type ButtonShape = (typeof ButtonShapes)[number];
12
12
  export type ButtonTarget = (typeof ButtonTargets)[number];
13
13
  export type ButtonHtmlType = (typeof ButtonHtmlTypes)[number];
14
14
  export type ButtonIconAlignMent = (typeof ButtonIconAlignMents)[number];
15
+ export declare const LinkButtonColors: readonly ["dark", "blue", "red", "gray"];
16
+ export declare const LinkButtonSizes: readonly ["small", "medium"];
17
+ export type LinkButtonColor = (typeof LinkButtonColors)[number];
18
+ export type LinkButtonSize = (typeof LinkButtonSizes)[number];
19
+ export declare const SocialButtonBrands: readonly ["google", "x", "linkedin", "facebook", "apple"];
20
+ export declare const SocialButtonVariants: readonly ["filled", "stroke"];
21
+ export type SocialButtonBrand = (typeof SocialButtonBrands)[number];
22
+ export type SocialButtonVariant = (typeof SocialButtonVariants)[number];
23
+ export interface MaButtonProps {
24
+ variant?: ButtonVariant;
25
+ size?: ButtonSize;
26
+ shape?: ButtonShape;
27
+ href?: string;
28
+ target?: ButtonTarget;
29
+ disabled?: boolean;
30
+ loading?: boolean;
31
+ icon?: string;
32
+ iconAlignment?: string;
33
+ highlight?: boolean;
34
+ htmlType?: ButtonHtmlType;
35
+ color?: ButtonColor;
36
+ }
37
+ export interface MaLinkButtonProps {
38
+ href?: string;
39
+ target?: ButtonTarget;
40
+ disabled?: boolean;
41
+ loading?: boolean;
42
+ icon?: string;
43
+ iconAlignment?: string;
44
+ htmlType?: ButtonHtmlType;
45
+ color?: LinkButtonColor;
46
+ size?: LinkButtonSize;
47
+ }
48
+ export interface MaSocialButtonProps {
49
+ href?: string;
50
+ target?: ButtonTarget;
51
+ disabled?: boolean;
52
+ loading?: boolean;
53
+ htmlType?: ButtonHtmlType;
54
+ brand?: SocialButtonBrand;
55
+ variant?: SocialButtonVariant;
56
+ }
@@ -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,12 @@
1
1
  import type { VNode } from 'vue';
2
- import type { ButtonColor, ButtonSize, ButtonVariant } from '@/components/button/types';
2
+ import type { MaButtonProps } from '../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;
9
+ onClick?: (event: MouseEvent) => void;
14
10
  }
15
11
  export interface Modal2Props {
16
12
  /**
@@ -74,8 +70,8 @@ export interface ConfirmModal2Props extends Omit<Modal2Props, 'title' | 'maximiz
74
70
  description?: string | VNode;
75
71
  showCancelButton?: boolean;
76
72
  showOkButton?: boolean;
77
- cancelButtonProps?: ConfirmModal2Button;
78
- okButtonProps?: ConfirmModal2Button;
73
+ cancelButtonProps?: Partial<ConfirmModal2Button>;
74
+ okButtonProps?: Partial<ConfirmModal2Button>;
79
75
  }
80
76
  export interface Modal2Emits {
81
77
  /**
@@ -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;
@@ -2,7 +2,7 @@ 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, {
5
+ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../..").MaButtonProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
6
6
  size: import("../../..").ButtonSize;
7
7
  variant: import("../../..").ButtonVariant;
8
8
  disabled: boolean;
@@ -17,7 +17,7 @@ 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<{}>, {}, {}, {}, {}, {
20
+ }, Readonly<import("../../..").MaButtonProps> & Readonly<{}>, {}, {}, {}, {}, {
21
21
  size: import("../../..").ButtonSize;
22
22
  variant: import("../../..").ButtonVariant;
23
23
  disabled: boolean;
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
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, {
32
+ } & import("vue").ComponentOptionsBase<Readonly<import("../../..").MaButtonProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
33
33
  size: import("../../..").ButtonSize;
34
34
  variant: import("../../..").ButtonVariant;
35
35
  disabled: 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];