@chewel611/naive-ui-plus 0.0.5 → 0.0.7

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.
@@ -4,9 +4,9 @@ declare const _default: {
4
4
  close: () => void;
5
5
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
6
6
  width: number;
7
+ height: number;
7
8
  title: string;
8
9
  closable: boolean;
9
- preset: "dialog" | "card";
10
10
  saveBtnText: string;
11
11
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
12
12
  $modal: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
@@ -2093,9 +2093,9 @@ declare const _default: {
2093
2093
  close: () => void;
2094
2094
  }, {}, {}, {}, {
2095
2095
  width: number;
2096
+ height: number;
2096
2097
  title: string;
2097
2098
  closable: boolean;
2098
- preset: "dialog" | "card";
2099
2099
  saveBtnText: string;
2100
2100
  }>;
2101
2101
  __isFragment?: never;
@@ -2106,14 +2106,17 @@ declare const _default: {
2106
2106
  close: () => void;
2107
2107
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
2108
2108
  width: number;
2109
+ height: number;
2109
2110
  title: string;
2110
2111
  closable: boolean;
2111
- preset: "dialog" | "card";
2112
2112
  saveBtnText: string;
2113
2113
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
2114
2114
  $slots: {
2115
+ header?(_: {}): any;
2116
+ 'header-extra'?(_: {}): any;
2115
2117
  default?(_: {}): any;
2116
- action?(_: {}): any;
2118
+ footer?(_: {}): any;
2119
+ 'action-extra'?(_: {}): any;
2117
2120
  };
2118
2121
  }) & import('vue').Plugin;
2119
2122
  export default _default;
@@ -1,9 +1,9 @@
1
1
  export type PModalProps = {
2
2
  saveBtnText?: string;
3
3
  closable?: boolean;
4
- preset?: "dialog" | "card";
5
4
  title?: string;
6
5
  width?: number;
6
+ height?: number;
7
7
  onSave?: () => Promise<boolean> | boolean;
8
8
  onClose?: () => Promise<boolean> | boolean;
9
9
  };