@mobileaction/action-kit 1.48.1 → 1.49.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.
@@ -1,4 +1,4 @@
1
- import { g as tr } from "./index-BxRqc15d.js";
1
+ import { g as tr } from "./index-Cs3rzqcs.js";
2
2
  function ir(ne, Ze) {
3
3
  for (var S = 0; S < Ze.length; S++) {
4
4
  const Y = Ze[S];
@@ -1,4 +1,4 @@
1
- import { g as st } from "./index-BxRqc15d.js";
1
+ import { g as st } from "./index-Cs3rzqcs.js";
2
2
  function at(te, pe) {
3
3
  for (var K = 0; K < pe.length; K++) {
4
4
  const _ = pe[K];
@@ -1,13 +1,19 @@
1
1
  import { MaModalProps } from '@/components/modal/types';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MaModalProps, {
3
+ expandModal: () => void;
4
+ collapseModal: () => void;
5
+ isFullscreen: import("vue").WritableComputedRef<boolean, boolean>;
6
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
7
  cancel: (...args: any[]) => void;
4
8
  closed: (...args: any[]) => void;
5
9
  "update:visible": (...args: any[]) => void;
10
+ "update:fullscreen": (...args: any[]) => void;
6
11
  ok: (...args: any[]) => void;
7
12
  }, string, import("vue").PublicProps, Readonly<MaModalProps> & Readonly<{
8
13
  onCancel?: (...args: any[]) => any;
9
14
  onClosed?: (...args: any[]) => any;
10
15
  "onUpdate:visible"?: (...args: any[]) => any;
16
+ "onUpdate:fullscreen"?: (...args: any[]) => any;
11
17
  onOk?: (...args: any[]) => any;
12
18
  }>, {
13
19
  mask: boolean;
@@ -16,6 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Ma
16
22
  width: number;
17
23
  maskClosable: boolean;
18
24
  bodyTitle: string;
25
+ showExpandButton: boolean;
26
+ fullscreen: boolean;
19
27
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
20
28
  title?(_: {}): any;
21
29
  "body-title"?(_: {}): any;
@@ -8,3 +8,4 @@ export declare const Template2: StoryFn;
8
8
  export declare const CustomTemplate: StoryFn;
9
9
  export declare const WithTabTemplate: StoryFn;
10
10
  export declare const FunctionsTemplate: StoryFn;
11
+ export declare const ExpandableTemplate: StoryFn;
@@ -13,3 +13,4 @@ export declare const Warning: Story;
13
13
  export declare const Info: Story;
14
14
  export declare const NoSpace: Story;
15
15
  export declare const OnlyClosable: Story;
16
+ export declare const Expandable: Story;
@@ -14,6 +14,8 @@ export interface MaModalProps extends Omit<ModalProps, 'okButtonProps' | 'cancel
14
14
  content?: string | VNode;
15
15
  confirmLoading?: boolean;
16
16
  closable?: boolean;
17
+ showExpandButton?: boolean;
18
+ fullscreen?: boolean;
17
19
  okText?: string;
18
20
  okButtonProps?: MaButtonProps;
19
21
  cancelText?: string;
@@ -1,4 +1,4 @@
1
- import { g as ua } from "./index-BxRqc15d.js";
1
+ import { g as ua } from "./index-Cs3rzqcs.js";
2
2
  function ca(Dt, te) {
3
3
  for (var H = 0; H < te.length; H++) {
4
4
  const et = te[H];