@mobileaction/action-kit 1.14.1 → 1.14.12

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.
@@ -1,4 +1,5 @@
1
- function pr(Zt, Me) {
1
+ import { c as pr } from "./index-16f326da.mjs";
2
+ function ur(Zt, Me) {
2
3
  for (var se = 0; se < Me.length; se++) {
3
4
  const Pt = Me[se];
4
5
  if (typeof Pt != "string" && !Array.isArray(Pt)) {
@@ -14,7 +15,7 @@ function pr(Zt, Me) {
14
15
  }
15
16
  return Object.freeze(Object.defineProperty(Zt, Symbol.toStringTag, { value: "Module" }));
16
17
  }
17
- var ur = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Te = {}, cr = {
18
+ var Te = {}, cr = {
18
19
  get exports() {
19
20
  return Te;
20
21
  },
@@ -25,7 +26,7 @@ var ur = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
25
26
  (function(Zt, Me) {
26
27
  typeof navigator < "u" && function(se, Pt) {
27
28
  Zt.exports = Pt();
28
- }(ur, function() {
29
+ }(pr, function() {
29
30
  var se = "http://www.w3.org/2000/svg", Pt = "", Rt = !1, Kt = -999999, rs = function(e) {
30
31
  Rt = !!e;
31
32
  }, ns = function() {
@@ -4823,10 +4824,10 @@ var ur = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
4823
4824
  }, bs("svg", oi), Nt.registerModifier("tm", _t), Nt.registerModifier("pb", de), Nt.registerModifier("rp", wt), Nt.registerModifier("rd", me), Nt.registerModifier("zz", ye), Nt.registerModifier("op", _e), Z;
4824
4825
  });
4825
4826
  })(cr, Te);
4826
- const vr = Te, dr = /* @__PURE__ */ pr({
4827
+ const vr = Te, mr = /* @__PURE__ */ ur({
4827
4828
  __proto__: null,
4828
4829
  default: vr
4829
4830
  }, [Te]);
4830
4831
  export {
4831
- dr as l
4832
+ mr as l
4832
4833
  };
@@ -11,6 +11,7 @@ export interface MaAutocompleteProps {
11
11
  open?: boolean;
12
12
  size?: AutoCompleteSize;
13
13
  autofocus?: boolean;
14
+ noOverlay?: boolean;
14
15
  }
15
16
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAutocompleteProps>, {
16
17
  options: () => OptionType[];
@@ -18,12 +19,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
18
19
  open: boolean;
19
20
  size: string;
20
21
  autofocus: boolean;
22
+ noOverlay: boolean;
21
23
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "search")[], "search" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAutocompleteProps>, {
22
24
  options: () => OptionType[];
23
25
  filterFn: (value: string, option: OptionType) => boolean;
24
26
  open: boolean;
25
27
  size: string;
26
28
  autofocus: boolean;
29
+ noOverlay: boolean;
27
30
  }>>> & {
28
31
  "onUpdate:value"?: (...args: any[]) => any;
29
32
  onSearch?: (...args: any[]) => any;
@@ -33,6 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
33
36
  options: OptionType[];
34
37
  open: boolean;
35
38
  filterFn: Function;
39
+ noOverlay: boolean;
36
40
  }>, {
37
41
  default: (_: {}) => any;
38
42
  option: (_: {
@@ -1,9 +1,17 @@
1
1
  import { type CheckboxGroupProps } from 'ant-design-vue';
2
+ import { MaCheckboxSize } from "./types";
2
3
  export interface MaCheckboxGroupProps extends CheckboxGroupProps {
3
4
  hint?: string;
4
5
  disabled?: boolean;
6
+ size?: MaCheckboxSize;
5
7
  }
6
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<MaCheckboxGroupProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MaCheckboxGroupProps>>>, {}>, Record<NonNullable<string | number>, (_: {}) => any>>;
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaCheckboxGroupProps>, {
9
+ size: string;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaCheckboxGroupProps>, {
11
+ size: string;
12
+ }>>>, {
13
+ size: "md" | "lg";
14
+ }>, Record<NonNullable<string | number>, (_: {}) => any>>;
7
15
  export default _default;
8
16
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
17
  declare type __VLS_TypePropsToRuntimeProps<T> = {
@@ -14,6 +22,11 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
14
22
  required: true;
15
23
  };
16
24
  };
25
+ declare type __VLS_WithDefaults<P, D> = {
26
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
27
+ default: D[K];
28
+ } : P[K];
29
+ };
17
30
  declare type __VLS_WithTemplateSlots<T, S> = T & {
18
31
  new (): {
19
32
  $slots: S;
@@ -1,14 +1,19 @@
1
1
  import { type CheckboxProps } from 'ant-design-vue';
2
+ import { MaCheckboxSize } from "./types";
2
3
  export interface MaCheckboxProps extends CheckboxProps {
3
4
  hint?: string;
4
5
  indeterminate?: boolean;
5
6
  disabled?: boolean;
7
+ size?: MaCheckboxSize;
6
8
  }
7
9
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaCheckboxProps>, {
8
10
  indeterminate: any;
11
+ size: string;
9
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaCheckboxProps>, {
10
13
  indeterminate: any;
14
+ size: string;
11
15
  }>>>, {
16
+ size: "md" | "lg";
12
17
  indeterminate: boolean;
13
18
  }>, Record<NonNullable<string | number>, (_: {}) => any>>;
14
19
  export default _default;
@@ -4,4 +4,5 @@ declare const meta: Meta<typeof MaCheckbox>;
4
4
  export default meta;
5
5
  declare type Story = StoryObj<typeof MaCheckbox>;
6
6
  export declare const Default: Story;
7
+ export declare const Large: Story;
7
8
  export declare const Disabled: Story;
@@ -3,4 +3,5 @@ import MaCheckbox from '../index.vue';
3
3
  declare const meta: Meta<typeof MaCheckbox>;
4
4
  export default meta;
5
5
  declare type Story = StoryObj<typeof MaCheckbox>;
6
- export declare const ChekboxGroup: Story;
6
+ export declare const Default: Story;
7
+ export declare const Large: Story;
@@ -4,4 +4,5 @@ declare const meta: Meta<typeof MaCheckbox>;
4
4
  export default meta;
5
5
  declare type Story = StoryObj<typeof MaCheckbox>;
6
6
  export declare const Indeterminate: Story;
7
+ export declare const Large: Story;
7
8
  export declare const Disabled: Story;
@@ -0,0 +1,2 @@
1
+ export declare const MaCheckboxSizes: readonly ["md", "lg"];
2
+ export declare type MaCheckboxSize = (typeof MaCheckboxSizes)[number];
@@ -25,6 +25,7 @@ export interface MaSelectProps {
25
25
  open?: boolean;
26
26
  value?: string | number | string[] | number[];
27
27
  listHeight?: number;
28
+ dropdownMatchSelectWidth?: boolean | number;
28
29
  }
29
30
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaSelectProps>, {
30
31
  autoClearSearchValue: boolean;
@@ -33,6 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
33
34
  value: string;
34
35
  menuItemSelectedIcon: string;
35
36
  listHeight: number;
37
+ dropdownMatchSelectWidth: boolean;
36
38
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:value"[], "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaSelectProps>, {
37
39
  autoClearSearchValue: boolean;
38
40
  open: boolean;
@@ -40,12 +42,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
40
42
  value: string;
41
43
  menuItemSelectedIcon: string;
42
44
  listHeight: number;
45
+ dropdownMatchSelectWidth: boolean;
43
46
  }>>> & {
44
47
  "onUpdate:value"?: (...args: any[]) => any;
45
48
  }, {
46
49
  size: "default" | "small" | "large";
47
50
  value: string | number | string[] | number[];
48
51
  open: boolean;
52
+ dropdownMatchSelectWidth: number | boolean;
49
53
  menuItemSelectedIcon: string;
50
54
  listHeight: number;
51
55
  autoClearSearchValue: boolean;
@@ -7,3 +7,4 @@ export declare const Default: Story;
7
7
  export declare const WithImage: StoryFn;
8
8
  export declare const Disabled: Story;
9
9
  export declare const Loading: Story;
10
+ export declare const SmallWidth: StoryFn;