@opentiny/vue-drawer 3.13.0 → 3.14.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.
package/lib/index.js CHANGED
@@ -12,7 +12,7 @@ function _extends() {
12
12
  };
13
13
  return _extends.apply(this, arguments);
14
14
  }
15
- import { $prefix, $props, $setup } from "@opentiny/vue-common";
15
+ import { $prefix, $setup, $props } from "@opentiny/vue-common";
16
16
  import PcTemplate from "./pc.js";
17
17
  import MobileFirstTemplate from "./mobile-first.js";
18
18
  var template = function template2(mode) {
@@ -29,68 +29,72 @@ var template = function template2(mode) {
29
29
  var $constants = {
30
30
  SCROLL_LOCK_CLASS: function SCROLL_LOCK_CLASS(mode) {
31
31
  var scrollLockClasses = {
32
- "mobile-first": "overflow-hidden"
32
+ "mobile-first": "overflow-hidden",
33
+ "pc": "tiny-popup-parent--hidden tiny-dialog-box__scroll-lock"
33
34
  };
34
35
  return scrollLockClasses[mode] || "";
35
- }
36
+ },
37
+ DEFAULT_WIDTH: "500px"
36
38
  };
39
+ var drawerProps = _extends({}, $props, {
40
+ _constants: {
41
+ type: Object,
42
+ default: function _default() {
43
+ return $constants;
44
+ }
45
+ },
46
+ visible: {
47
+ type: Boolean,
48
+ default: false
49
+ },
50
+ customClass: [String, Object, Array],
51
+ placement: {
52
+ type: String,
53
+ default: "right"
54
+ },
55
+ width: {
56
+ type: String
57
+ },
58
+ title: String,
59
+ showClose: {
60
+ type: Boolean,
61
+ default: true
62
+ },
63
+ showHeader: {
64
+ type: Boolean,
65
+ default: true
66
+ },
67
+ showFooter: {
68
+ type: Boolean,
69
+ default: false
70
+ },
71
+ mask: {
72
+ type: Boolean,
73
+ default: true
74
+ },
75
+ maskClosable: {
76
+ type: Boolean,
77
+ default: true
78
+ },
79
+ dragable: Boolean,
80
+ lockScroll: {
81
+ type: Boolean,
82
+ default: true
83
+ },
84
+ flex: {
85
+ type: Boolean,
86
+ default: false
87
+ },
88
+ zIndex: {
89
+ type: Number,
90
+ default: 2e3
91
+ },
92
+ beforeClose: Function,
93
+ tipsProps: Object
94
+ });
37
95
  var Drawer = {
38
96
  name: $prefix + "Drawer",
39
- props: _extends({}, $props, {
40
- _constants: {
41
- type: Object,
42
- default: function _default() {
43
- return $constants;
44
- }
45
- },
46
- visible: {
47
- type: Boolean,
48
- default: false
49
- },
50
- customClass: [String, Object, Array],
51
- placement: {
52
- type: String,
53
- default: "right"
54
- },
55
- width: {
56
- type: String,
57
- default: "500px"
58
- },
59
- title: String,
60
- showClose: {
61
- type: Boolean,
62
- default: true
63
- },
64
- showHeader: {
65
- type: Boolean,
66
- default: true
67
- },
68
- showFooter: {
69
- type: Boolean,
70
- default: false
71
- },
72
- mask: {
73
- type: Boolean,
74
- default: true
75
- },
76
- maskClosable: {
77
- type: Boolean,
78
- default: true
79
- },
80
- dragable: Boolean,
81
- lockScroll: {
82
- type: Boolean,
83
- default: true
84
- },
85
- flex: {
86
- type: Boolean,
87
- default: false
88
- },
89
- zIndex: {
90
- type: Number,
91
- default: 2e3
92
- }
93
- }),
97
+ props: drawerProps,
94
98
  setup: function setup(props, context) {
95
99
  return $setup({
96
100
  props,
@@ -99,7 +103,7 @@ var Drawer = {
99
103
  });
100
104
  }
101
105
  };
102
- var version = "3.13.0";
106
+ var version = "3.14.0";
103
107
  Drawer.model = {
104
108
  prop: "modelValue",
105
109
  event: "update:modelValue"
@@ -53,7 +53,7 @@ var _sfc_main = {
53
53
  TinyButton: Button,
54
54
  IconClose: IconClose()
55
55
  },
56
- props: [].concat(props, ["visible", "title", "showHeader", "showFooter", "customClass", "placement", "width", "mask", "dragable", "maskClosable", "lockScroll", "flex"]),
56
+ props: [].concat(props, ["visible", "title", "showHeader", "showFooter", "customClass", "placement", "width", "mask", "dragable", "maskClosable", "lockScroll", "flex", "beforeClose"]),
57
57
  setup: function setup(props2, context) {
58
58
  return _setup({
59
59
  props: props2,
@@ -107,7 +107,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
107
107
  "bg-color-bg-7": _ctx.state.toggle
108
108
  })),
109
109
  onClick: _cache[0] || (_cache[0] = function($event) {
110
- return $props.maskClosable && _ctx.close();
110
+ return _ctx.handleClose("mask");
111
111
  })
112
112
  },
113
113
  null,
@@ -125,15 +125,15 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
125
125
  }, {
126
126
  "max-h-full": ["top", "bottom"].includes($props.placement)
127
127
  }, {
128
- "left-0 bottom-0 translate-y-full border-t-0.5": $props.placement === "bottom"
128
+ "left-0 bottom-0 translate-y-full border-t-0.5 rounded-t-lg": $props.placement === "bottom"
129
129
  }, {
130
- "left-0 top-0 -translate-y-full border-b-0.5": $props.placement === "top"
130
+ "left-0 top-0 -translate-y-full border-b-0.5 rounded-b-lg": $props.placement === "top"
131
131
  }, {
132
132
  "translate-y-0": ["top", "bottom"].includes($props.placement) && _ctx.state.toggle
133
133
  }, {
134
- "left-0 top-0 -translate-x-full border-r-0.5": $props.placement === "left"
134
+ "left-0 top-0 -translate-x-full border-r-0.5 rounded-r-lg": $props.placement === "left"
135
135
  }, {
136
- "right-0 top-0 translate-x-full border-l-0.5": $props.placement === "right"
136
+ "right-0 top-0 translate-x-full border-l-0.5 rounded-l-lg": $props.placement === "right"
137
137
  }, {
138
138
  "translate-x-0": ["left", "right"].includes($props.placement) && _ctx.state.toggle
139
139
  }, $props.customClass)),
@@ -165,8 +165,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
165
165
  )) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_5, [renderSlot(_ctx.$slots, "header-right", {}, function() {
166
166
  return [createVNode(_component_IconClose, {
167
167
  "custom-class": "h-5 w-5 cursor-pointer",
168
- onClick: _ctx.close
169
- }, null, 8, ["onClick"])];
168
+ onClick: _cache[1] || (_cache[1] = function($event) {
169
+ return _ctx.handleClose("close");
170
+ })
171
+ })];
170
172
  })])];
171
173
  })],
172
174
  512
@@ -189,7 +191,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
189
191
  [createElementVNode("div", _hoisted_7, [renderSlot(_ctx.$slots, "footer", {}, function() {
190
192
  return [createVNode(_component_tiny_button, {
191
193
  tiny_mode: "mobile-first",
192
- onClick: _ctx.close
194
+ onClick: _cache[2] || (_cache[2] = function($event) {
195
+ return _ctx.handleClose("cancel");
196
+ })
193
197
  }, {
194
198
  default: withCtx(function() {
195
199
  return [createTextVNode(
@@ -200,11 +204,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
200
204
  }),
201
205
  _: 1
202
206
  /* STABLE */
203
- }, 8, ["onClick"]), createVNode(_component_tiny_button, {
207
+ }), createVNode(_component_tiny_button, {
204
208
  tiny_mode: "mobile-first",
205
209
  class: "ml-2",
206
210
  type: "primary",
207
- onClick: _ctx.confirm
211
+ onClick: _cache[3] || (_cache[3] = function($event) {
212
+ return _ctx.handleClose("confirm");
213
+ })
208
214
  }, {
209
215
  default: withCtx(function() {
210
216
  return [createTextVNode(
@@ -215,7 +221,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
215
221
  }),
216
222
  _: 1
217
223
  /* STABLE */
218
- }, 8, ["onClick"])];
224
+ })];
219
225
  })])],
220
226
  512
221
227
  /* NEED_PATCH */
package/lib/pc.js CHANGED
@@ -1,9 +1,10 @@
1
1
  import { renderless, api } from "@opentiny/vue-renderless/drawer/vue";
2
2
  import { props, setup as _setup } from "@opentiny/vue-common";
3
3
  import "@opentiny/vue-theme/drawer/index.css";
4
- import { IconClose } from "@opentiny/vue-icon";
4
+ import { iconClose, iconHelpCircle } from "@opentiny/vue-icon";
5
5
  import Button from "@opentiny/vue-button";
6
- import { resolveComponent, openBlock, createElementBlock, createVNode, Transition, withCtx, normalizeClass, normalizeStyle, createCommentVNode, withDirectives, createElementVNode, renderSlot, toDisplayString, createTextVNode, vShow } from "vue";
6
+ import Tooltip from "@opentiny/vue-tooltip";
7
+ import { resolveComponent, openBlock, createElementBlock, createVNode, Transition, withCtx, normalizeClass, normalizeStyle, createCommentVNode, withDirectives, createElementVNode, renderSlot, toDisplayString, createBlock, normalizeProps, mergeProps, createTextVNode, vShow } from "vue";
7
8
  function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
8
9
  var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
9
10
  if (it)
@@ -52,9 +53,11 @@ var _export_sfc = function _export_sfc2(sfc, props) {
52
53
  var _sfc_main = {
53
54
  components: {
54
55
  TinyButton: Button,
55
- IconClose: IconClose()
56
+ TinyTooltip: Tooltip,
57
+ IconClose: iconClose(),
58
+ IconHelpCircle: iconHelpCircle()
56
59
  },
57
- props: [].concat(props, ["visible", "title", "showHeader", "showFooter", "customClass", "placement", "width", "mask", "dragable", "maskClosable", "lockScroll", "flex", "showClose", "zIndex"]),
60
+ props: [].concat(props, ["visible", "title", "showHeader", "showFooter", "customClass", "placement", "width", "mask", "dragable", "maskClosable", "lockScroll", "flex", "showClose", "zIndex", "beforeClose", "tipsProps"]),
58
61
  setup: function setup(props2, context) {
59
62
  return _setup({
60
63
  props: props2,
@@ -87,19 +90,24 @@ var _hoisted_5 = {
87
90
  class: "tiny-drawer__header"
88
91
  };
89
92
  var _hoisted_6 = {
93
+ class: "tiny-drawer__header-left"
94
+ };
95
+ var _hoisted_7 = {
90
96
  key: 0,
91
97
  class: "tiny-drawer__title"
92
98
  };
93
- var _hoisted_7 = {
99
+ var _hoisted_8 = {
94
100
  class: "tiny-drawer__header-right"
95
101
  };
96
- var _hoisted_8 = {
102
+ var _hoisted_9 = {
97
103
  key: 1,
98
104
  "data-tag": "drawer-footer",
99
105
  ref: "footer",
100
106
  class: "tiny-drawer__footer"
101
107
  };
102
108
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
109
+ var _component_icon_help_circle = resolveComponent("icon-help-circle");
110
+ var _component_tiny_tooltip = resolveComponent("tiny-tooltip");
103
111
  var _component_icon_close = resolveComponent("icon-close");
104
112
  var _component_tiny_button = resolveComponent("tiny-button");
105
113
  return openBlock(), createElementBlock("div", _hoisted_1, [createVNode(Transition, {
@@ -118,7 +126,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
118
126
  zIndex: $props.zIndex
119
127
  }),
120
128
  onClick: _cache[0] || (_cache[0] = function($event) {
121
- return $props.maskClosable && _ctx.close();
129
+ return _ctx.handleClose("mask");
122
130
  })
123
131
  },
124
132
  null,
@@ -145,7 +153,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
145
153
  "is-bottom": $props.placement === "bottom",
146
154
  "drag-effects": !_ctx.state.dragEvent.isDrag,
147
155
  "toggle": _ctx.state.toggle
148
- }, $props.customClass]),
156
+ }, "tiny-drawer-main", $props.customClass]),
149
157
  style: normalizeStyle({
150
158
  width: ["left", "right"].includes($props.placement) ? _ctx.state.computedWidth : null,
151
159
  zIndex: $props.zIndex
@@ -161,20 +169,36 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
161
169
  "div",
162
170
  _hoisted_4,
163
171
  [renderSlot(_ctx.$slots, "header", {}, function() {
164
- return [createElementVNode("div", _hoisted_5, [$props.title ? (openBlock(), createElementBlock(
172
+ return [createElementVNode("div", _hoisted_5, [createElementVNode("div", _hoisted_6, [$props.title ? (openBlock(), createElementBlock(
165
173
  "div",
166
- _hoisted_6,
174
+ _hoisted_7,
167
175
  toDisplayString($props.title),
168
176
  1
169
177
  /* TEXT */
170
- )) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_7, [renderSlot(_ctx.$slots, "header-right")])])];
178
+ )) : createCommentVNode("v-if", true), $props.tipsProps ? (openBlock(), createBlock(
179
+ _component_tiny_tooltip,
180
+ normalizeProps(mergeProps({
181
+ key: 1
182
+ }, $props.tipsProps)),
183
+ {
184
+ default: withCtx(function() {
185
+ return [createVNode(_component_icon_help_circle, {
186
+ class: "tiny-drawer__help-icon"
187
+ })];
188
+ }),
189
+ _: 1
190
+ /* STABLE */
191
+ },
192
+ 16
193
+ /* FULL_PROPS */
194
+ )) : createCommentVNode("v-if", true)]), createElementVNode("div", _hoisted_8, [renderSlot(_ctx.$slots, "header-right")])])];
171
195
  }), $props.showClose ? (openBlock(), createElementBlock("button", {
172
196
  key: 0,
173
197
  type: "button",
174
198
  class: "tiny-drawer__headerbtn",
175
199
  "aria-label": "Close",
176
- onClick: _cache[1] || (_cache[1] = function() {
177
- return _ctx.close && _ctx.close.apply(_ctx, arguments);
200
+ onClick: _cache[1] || (_cache[1] = function($event) {
201
+ return _ctx.handleClose("close");
178
202
  })
179
203
  }, [createVNode(_component_icon_close, {
180
204
  class: "tiny-svg-size tiny-drawer__close"
@@ -188,18 +212,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
188
212
  ref: "body",
189
213
  class: normalizeClass(["tiny-drawer__body", {
190
214
  "flex flex-col": $props.flex
191
- }])
215
+ }, "drawer-body"])
192
216
  },
193
217
  [renderSlot(_ctx.$slots, "default")],
194
218
  2
195
219
  /* CLASS */
196
220
  ), $props.showFooter ? (openBlock(), createElementBlock(
197
221
  "div",
198
- _hoisted_8,
222
+ _hoisted_9,
199
223
  [renderSlot(_ctx.$slots, "footer", {}, function() {
200
224
  return [createVNode(_component_tiny_button, {
201
225
  type: "primary",
202
- onClick: _ctx.confirm
226
+ class: normalizeClass(["tiny-drawer__confirm-btn", {
227
+ reverse: _ctx.state.btnOrderReversed
228
+ }]),
229
+ onClick: _cache[2] || (_cache[2] = function($event) {
230
+ return _ctx.handleClose("confirm");
231
+ })
203
232
  }, {
204
233
  default: withCtx(function() {
205
234
  return [createTextVNode(
@@ -210,9 +239,14 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
210
239
  }),
211
240
  _: 1
212
241
  /* STABLE */
213
- }, 8, ["onClick"]), createVNode(_component_tiny_button, {
242
+ }, 8, ["class"]), createVNode(_component_tiny_button, {
214
243
  plain: "",
215
- onClick: _ctx.close
244
+ class: normalizeClass(["tiny-drawer__cancel-btn", {
245
+ reverse: _ctx.state.btnOrderReversed
246
+ }]),
247
+ onClick: _cache[3] || (_cache[3] = function($event) {
248
+ return _ctx.handleClose("cancel");
249
+ })
216
250
  }, {
217
251
  default: withCtx(function() {
218
252
  return [createTextVNode(
@@ -223,7 +257,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
223
257
  }),
224
258
  _: 1
225
259
  /* STABLE */
226
- }, 8, ["onClick"])];
260
+ }, 8, ["class"])];
227
261
  })],
228
262
  512
229
263
  /* NEED_PATCH */
package/package.json CHANGED
@@ -1,15 +1,18 @@
1
1
  {
2
2
  "name": "@opentiny/vue-drawer",
3
- "version": "3.13.0",
3
+ "version": "3.14.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
7
7
  "sideEffects": false,
8
8
  "type": "module",
9
9
  "dependencies": {
10
- "@opentiny/vue-button": "~3.13.0",
11
- "@opentiny/vue-common": "~3.13.0",
12
- "@opentiny/vue-renderless": "~3.13.0"
10
+ "@opentiny/vue-button": "~3.14.0",
11
+ "@opentiny/vue-tooltip": "~3.14.0",
12
+ "@opentiny/vue-common": "~3.14.0",
13
+ "@opentiny/vue-renderless": "~3.14.0",
14
+ "@opentiny/vue-icon": "~3.14.0",
15
+ "@opentiny/vue-theme": "~3.14.0"
13
16
  },
14
17
  "license": "MIT",
15
18
  "types": "index.d.ts"
package/src/index.d.ts CHANGED
@@ -1,10 +1,74 @@
1
+ export declare const drawerProps: {
2
+ _constants: {
3
+ type: ObjectConstructor;
4
+ default: () => {
5
+ SCROLL_LOCK_CLASS(mode: string): string;
6
+ DEFAULT_WIDTH: string;
7
+ };
8
+ };
9
+ visible: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
14
+ placement: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ width: {
19
+ type: StringConstructor;
20
+ };
21
+ title: StringConstructor;
22
+ showClose: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ showHeader: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ showFooter: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
34
+ mask: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ maskClosable: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
42
+ dragable: BooleanConstructor;
43
+ lockScroll: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ flex: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ zIndex: {
52
+ type: NumberConstructor;
53
+ default: number;
54
+ };
55
+ beforeClose: FunctionConstructor;
56
+ tipsProps: ObjectConstructor;
57
+ tiny_mode: StringConstructor;
58
+ tiny_mode_root: BooleanConstructor;
59
+ tiny_template: (ObjectConstructor | FunctionConstructor)[];
60
+ tiny_renderless: FunctionConstructor;
61
+ tiny_theme: StringConstructor;
62
+ tiny_chart_theme: ObjectConstructor;
63
+ };
1
64
  declare const _default: {
2
65
  name: string;
3
66
  props: {
4
67
  _constants: {
5
68
  type: ObjectConstructor;
6
69
  default: () => {
7
- SCROLL_LOCK_CLASS(mode: any): any;
70
+ SCROLL_LOCK_CLASS(mode: string): string;
71
+ DEFAULT_WIDTH: string;
8
72
  };
9
73
  };
10
74
  visible: {
@@ -18,7 +82,6 @@ declare const _default: {
18
82
  };
19
83
  width: {
20
84
  type: StringConstructor;
21
- default: string;
22
85
  };
23
86
  title: StringConstructor;
24
87
  showClose: {
@@ -54,6 +117,8 @@ declare const _default: {
54
117
  type: NumberConstructor;
55
118
  default: number;
56
119
  };
120
+ beforeClose: FunctionConstructor;
121
+ tipsProps: ObjectConstructor;
57
122
  tiny_mode: StringConstructor;
58
123
  tiny_mode_root: BooleanConstructor;
59
124
  tiny_template: (ObjectConstructor | FunctionConstructor)[];
@@ -15,8 +15,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
15
15
  showHeader?: any;
16
16
  showFooter?: any;
17
17
  maskClosable?: any;
18
- flex?: any;
19
18
  lockScroll?: any;
19
+ flex?: any;
20
+ beforeClose?: any;
20
21
  dragable?: any;
21
22
  }>, {
22
23
  t: (this: any, path: any, options?: any) => any;
@@ -43,8 +44,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
43
44
  showHeader?: any;
44
45
  showFooter?: any;
45
46
  maskClosable?: any;
46
- flex?: any;
47
47
  lockScroll?: any;
48
+ flex?: any;
49
+ beforeClose?: any;
48
50
  dragable?: any;
49
51
  }>>>, {
50
52
  readonly title?: any;
@@ -63,8 +65,9 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
63
65
  readonly showHeader?: any;
64
66
  readonly showFooter?: any;
65
67
  readonly maskClosable?: any;
66
- readonly flex?: any;
67
68
  readonly lockScroll?: any;
69
+ readonly flex?: any;
70
+ readonly beforeClose?: any;
68
71
  readonly dragable?: any;
69
72
  }, {}>;
70
73
  export default _default;
package/src/pc.vue.d.ts CHANGED
@@ -15,11 +15,13 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
15
15
  customClass?: any;
16
16
  showHeader?: any;
17
17
  showFooter?: any;
18
- maskClosable?: any;
19
- flex?: any;
20
18
  showClose?: any;
19
+ maskClosable?: any;
21
20
  lockScroll?: any;
21
+ flex?: any;
22
+ beforeClose?: any;
22
23
  dragable?: any;
24
+ tipsProps?: any;
23
25
  }>, {
24
26
  t: (this: any, path: any, options?: any) => any;
25
27
  vm: any;
@@ -45,11 +47,13 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
45
47
  customClass?: any;
46
48
  showHeader?: any;
47
49
  showFooter?: any;
48
- maskClosable?: any;
49
- flex?: any;
50
50
  showClose?: any;
51
+ maskClosable?: any;
51
52
  lockScroll?: any;
53
+ flex?: any;
54
+ beforeClose?: any;
52
55
  dragable?: any;
56
+ tipsProps?: any;
53
57
  }>>>, {
54
58
  readonly title?: any;
55
59
  readonly tiny_mode?: any;
@@ -67,10 +71,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
67
71
  readonly customClass?: any;
68
72
  readonly showHeader?: any;
69
73
  readonly showFooter?: any;
70
- readonly maskClosable?: any;
71
- readonly flex?: any;
72
74
  readonly showClose?: any;
75
+ readonly maskClosable?: any;
73
76
  readonly lockScroll?: any;
77
+ readonly flex?: any;
78
+ readonly beforeClose?: any;
74
79
  readonly dragable?: any;
80
+ readonly tipsProps?: any;
75
81
  }, {}>;
76
82
  export default _default;