@opentinyvue/vue-dialog-box 2.25.0 → 2.26.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
@@ -183,6 +183,9 @@ var dialogBoxProps = _extends({}, $props, {
183
183
  default: function _default23() {
184
184
  return {};
185
185
  }
186
+ },
187
+ onClose: {
188
+ type: Function
186
189
  }
187
190
  });
188
191
  var DialogBox = defineComponent({
@@ -214,8 +214,8 @@ function __vue2_injectStyles(context) {
214
214
  this[o] = __cssModules[o];
215
215
  }
216
216
  }
217
- var mobileFirst = /* @__PURE__ */ function() {
217
+ var mobileFirst = /* @__PURE__ */ (function() {
218
218
  return __component__.exports;
219
- }();
219
+ })();
220
220
 
221
221
  export { mobileFirst as default };
package/lib/pc.js CHANGED
@@ -195,8 +195,8 @@ function __vue2_injectStyles(context) {
195
195
  this[o] = __cssModules[o];
196
196
  }
197
197
  }
198
- var pc = /* @__PURE__ */ function() {
198
+ var pc = /* @__PURE__ */ (function() {
199
199
  return __component__.exports;
200
- }();
200
+ })();
201
201
 
202
202
  export { pc as default };
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-dialog-box",
3
- "version": "2.25.0",
3
+ "version": "2.26.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
- "@opentinyvue/vue-common": "~2.25.0",
11
- "@opentinyvue/vue-icon": "~2.25.0",
12
- "@opentinyvue/vue-action-sheet": "~2.25.0",
13
- "@opentinyvue/vue-renderless": "~3.25.0",
14
- "@opentinyvue/vue-theme": "~3.25.0"
10
+ "@opentinyvue/vue-common": "~2.26.0",
11
+ "@opentinyvue/vue-icon": "~2.26.0",
12
+ "@opentinyvue/vue-action-sheet": "~2.26.0",
13
+ "@opentinyvue/vue-renderless": "~3.26.0",
14
+ "@opentinyvue/vue-theme": "~3.26.0"
15
15
  },
16
16
  "license": "MIT",
17
17
  "types": "index.d.ts",
package/src/index.d.ts CHANGED
@@ -9,6 +9,7 @@
9
9
  * A PARTICULAR PURPOSE. SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
10
10
  *
11
11
  */
12
+ import { type PropType } from '@opentinyvue/vue-common';
12
13
  export declare const $constants: {
13
14
  DIALOG_SLIDER_RIGHT: string;
14
15
  DIALOG_FADE: string;
@@ -135,6 +136,9 @@ export declare const dialogBoxProps: {
135
136
  type: ObjectConstructor;
136
137
  default: () => {};
137
138
  };
139
+ onClose: {
140
+ type: PropType<() => void>;
141
+ };
138
142
  tiny_mode: StringConstructor;
139
143
  tiny_mode_root: BooleanConstructor;
140
144
  tiny_template: (ObjectConstructor | FunctionConstructor)[];