@opentinyvue/vue-drawer 3.21.0 → 3.22.1

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
@@ -7,7 +7,7 @@ function _extends() {
7
7
  return n;
8
8
  }, _extends.apply(null, arguments);
9
9
  }
10
- import { defineComponent, $prefix, $setup, $props, createComponent, appProperties, hooks, setupComponent } from "@opentinyvue/vue-common";
10
+ import { defineComponent, $props, $setup, $prefix, createComponent, appProperties, hooks, setupComponent } from "@opentinyvue/vue-common";
11
11
  import PcTemplate from "./pc.js";
12
12
  import MobileFirstTemplate from "./mobile-first.js";
13
13
  var template = function template2(mode) {
@@ -163,7 +163,7 @@ var service = function service2(configs) {
163
163
  });
164
164
  return instance;
165
165
  };
166
- var version = "3.21.0";
166
+ var version = "3.undefined";
167
167
  Drawer.model = {
168
168
  prop: "visible",
169
169
  event: "update:visible"
package/lib/pc.js CHANGED
@@ -248,7 +248,6 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
248
248
  key: 1
249
249
  },
250
250
  [createVNode(_component_tiny_button, {
251
- plain: "",
252
251
  class: "tiny-drawer__cancel-btn",
253
252
  onClick: _cache[2] || (_cache[2] = function($event) {
254
253
  return _ctx.handleClose("cancel");
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-drawer",
3
- "version": "3.21.0",
3
+ "version": "3.22.1",
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-button": "~3.21.0",
11
- "@opentinyvue/vue-tooltip": "~3.21.0",
12
- "@opentinyvue/vue-common": "~3.21.0",
13
- "@opentinyvue/vue-renderless": "~3.21.0",
14
- "@opentinyvue/vue-icon": "~3.21.0",
15
- "@opentinyvue/vue-theme": "~3.21.0"
10
+ "@opentinyvue/vue-button": "~3.22.0",
11
+ "@opentinyvue/vue-tooltip": "~3.22.0",
12
+ "@opentinyvue/vue-common": "~3.22.0",
13
+ "@opentinyvue/vue-renderless": "~3.22.0",
14
+ "@opentinyvue/vue-icon": "~3.22.0",
15
+ "@opentinyvue/vue-theme": "~3.22.0"
16
16
  },
17
17
  "license": "MIT",
18
18
  "types": "index.d.ts"
package/src/index.d.ts CHANGED
@@ -208,12 +208,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
208
208
  tiny_theme: StringConstructor;
209
209
  tiny_chart_theme: ObjectConstructor;
210
210
  }>>, {
211
+ zIndex: number;
212
+ visible: boolean;
211
213
  mask: boolean;
214
+ placement: string;
212
215
  tiny_mode_root: boolean;
213
216
  _constants: Record<string, any>;
214
- placement: string;
215
- zIndex: number;
216
- visible: boolean;
217
217
  showClose: boolean;
218
218
  showHeader: boolean;
219
219
  showFooter: boolean;
@@ -1,6 +1,10 @@
1
1
  declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
2
+ width?: any;
2
3
  title?: any;
4
+ visible?: any;
3
5
  mask?: any;
6
+ placement?: any;
7
+ customClass?: any;
4
8
  tiny_mode?: any;
5
9
  tiny_mode_root?: any;
6
10
  tiny_template?: any;
@@ -8,10 +12,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
8
12
  _constants?: any;
9
13
  tiny_theme?: any;
10
14
  tiny_chart_theme?: any;
11
- width?: any;
12
- placement?: any;
13
- visible?: any;
14
- customClass?: any;
15
15
  showHeader?: any;
16
16
  showFooter?: any;
17
17
  maskClosable?: any;
@@ -29,8 +29,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
29
29
  gcls: (key: any) => any;
30
30
  m: (...cssClasses: any[]) => string;
31
31
  }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "update:visible" | "confirm" | "open")[], "close" | "update:visible" | "confirm" | "open", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
32
+ width?: any;
32
33
  title?: any;
34
+ visible?: any;
33
35
  mask?: any;
36
+ placement?: any;
37
+ customClass?: any;
34
38
  tiny_mode?: any;
35
39
  tiny_mode_root?: any;
36
40
  tiny_template?: any;
@@ -38,10 +42,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
38
42
  _constants?: any;
39
43
  tiny_theme?: any;
40
44
  tiny_chart_theme?: any;
41
- width?: any;
42
- placement?: any;
43
- visible?: any;
44
- customClass?: any;
45
45
  showHeader?: any;
46
46
  showFooter?: any;
47
47
  maskClosable?: any;
@@ -55,8 +55,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
55
55
  onConfirm?: ((...args: any[]) => any) | undefined;
56
56
  onOpen?: ((...args: any[]) => any) | undefined;
57
57
  }, {
58
+ readonly width?: any;
58
59
  readonly title?: any;
60
+ readonly visible?: any;
59
61
  readonly mask?: any;
62
+ readonly placement?: any;
63
+ readonly customClass?: any;
60
64
  readonly tiny_mode?: any;
61
65
  readonly tiny_mode_root?: any;
62
66
  readonly tiny_template?: any;
@@ -64,10 +68,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
64
68
  readonly _constants?: any;
65
69
  readonly tiny_theme?: any;
66
70
  readonly tiny_chart_theme?: any;
67
- readonly width?: any;
68
- readonly placement?: any;
69
- readonly visible?: any;
70
- readonly customClass?: any;
71
71
  readonly showHeader?: any;
72
72
  readonly showFooter?: any;
73
73
  readonly maskClosable?: any;
package/src/pc.vue.d.ts CHANGED
@@ -1,6 +1,12 @@
1
1
  declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
2
+ width?: any;
3
+ height?: any;
2
4
  title?: any;
5
+ zIndex?: any;
6
+ visible?: any;
3
7
  mask?: any;
8
+ placement?: any;
9
+ customClass?: any;
4
10
  tiny_mode?: any;
5
11
  tiny_mode_root?: any;
6
12
  tiny_template?: any;
@@ -8,12 +14,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
8
14
  _constants?: any;
9
15
  tiny_theme?: any;
10
16
  tiny_chart_theme?: any;
11
- width?: any;
12
- height?: any;
13
- placement?: any;
14
- zIndex?: any;
15
- visible?: any;
16
- customClass?: any;
17
17
  showClose?: any;
18
18
  showHeader?: any;
19
19
  showFooter?: any;
@@ -34,8 +34,14 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
34
34
  gcls: (key: any) => any;
35
35
  m: (...cssClasses: any[]) => string;
36
36
  }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "drag" | "update:visible" | "confirm" | "open")[], "close" | "drag" | "update:visible" | "confirm" | "open", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
37
+ width?: any;
38
+ height?: any;
37
39
  title?: any;
40
+ zIndex?: any;
41
+ visible?: any;
38
42
  mask?: any;
43
+ placement?: any;
44
+ customClass?: any;
39
45
  tiny_mode?: any;
40
46
  tiny_mode_root?: any;
41
47
  tiny_template?: any;
@@ -43,12 +49,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
43
49
  _constants?: any;
44
50
  tiny_theme?: any;
45
51
  tiny_chart_theme?: any;
46
- width?: any;
47
- height?: any;
48
- placement?: any;
49
- zIndex?: any;
50
- visible?: any;
51
- customClass?: any;
52
52
  showClose?: any;
53
53
  showHeader?: any;
54
54
  showFooter?: any;
@@ -66,8 +66,14 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
66
66
  onConfirm?: ((...args: any[]) => any) | undefined;
67
67
  onOpen?: ((...args: any[]) => any) | undefined;
68
68
  }, {
69
+ readonly width?: any;
70
+ readonly height?: any;
69
71
  readonly title?: any;
72
+ readonly zIndex?: any;
73
+ readonly visible?: any;
70
74
  readonly mask?: any;
75
+ readonly placement?: any;
76
+ readonly customClass?: any;
71
77
  readonly tiny_mode?: any;
72
78
  readonly tiny_mode_root?: any;
73
79
  readonly tiny_template?: any;
@@ -75,12 +81,6 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
75
81
  readonly _constants?: any;
76
82
  readonly tiny_theme?: any;
77
83
  readonly tiny_chart_theme?: any;
78
- readonly width?: any;
79
- readonly height?: any;
80
- readonly placement?: any;
81
- readonly zIndex?: any;
82
- readonly visible?: any;
83
- readonly customClass?: any;
84
84
  readonly showClose?: any;
85
85
  readonly showHeader?: any;
86
86
  readonly showFooter?: any;