@opentiny/vue-drawer 3.17.2 → 3.18.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
@@ -159,7 +159,7 @@ var service = function service2(configs) {
159
159
  });
160
160
  return instance;
161
161
  };
162
- var version = "3.undefined";
162
+ var version = "3.18.0";
163
163
  Drawer.model = {
164
164
  prop: "visible",
165
165
  event: "update:visible"
@@ -34,7 +34,7 @@ function _arrayLikeToArray(r, a) {
34
34
  var _export_sfc = function _export_sfc2(sfc, props) {
35
35
  var target = sfc.__vccOpts || sfc;
36
36
  for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
37
- var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
37
+ var _step$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
38
38
  target[key] = val;
39
39
  }
40
40
  return target;
package/lib/pc.js CHANGED
@@ -36,7 +36,7 @@ function _arrayLikeToArray(r, a) {
36
36
  var _export_sfc = function _export_sfc2(sfc, props) {
37
37
  var target = sfc.__vccOpts || sfc;
38
38
  for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
39
- var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
39
+ var _step$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
40
40
  target[key] = val;
41
41
  }
42
42
  return target;
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@opentiny/vue-drawer",
3
- "version": "3.17.2",
3
+ "version": "3.18.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.17.0",
11
- "@opentiny/vue-tooltip": "~3.17.0",
12
- "@opentiny/vue-common": "~3.17.0",
13
- "@opentiny/vue-renderless": "~3.17.0",
14
- "@opentiny/vue-icon": "~3.17.0",
15
- "@opentiny/vue-theme": "~3.17.0"
10
+ "@opentiny/vue-button": "~3.18.0",
11
+ "@opentiny/vue-tooltip": "~3.18.0",
12
+ "@opentiny/vue-common": "~3.18.0",
13
+ "@opentiny/vue-renderless": "~3.18.0",
14
+ "@opentiny/vue-icon": "~3.18.0",
15
+ "@opentiny/vue-theme": "~3.18.0"
16
16
  },
17
17
  "license": "MIT",
18
18
  "types": "index.d.ts"
package/src/index.d.ts CHANGED
@@ -14,7 +14,7 @@ export declare const drawerProps: {
14
14
  type: BooleanConstructor;
15
15
  default: boolean;
16
16
  };
17
- customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
17
+ customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
18
18
  placement: {
19
19
  type: StringConstructor;
20
20
  default: string;
@@ -78,7 +78,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
78
78
  type: BooleanConstructor;
79
79
  default: boolean;
80
80
  };
81
- customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
81
+ customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
82
82
  placement: {
83
83
  type: StringConstructor;
84
84
  default: string;
@@ -143,7 +143,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
143
143
  type: BooleanConstructor;
144
144
  default: boolean;
145
145
  };
146
- customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
146
+ customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
147
147
  placement: {
148
148
  type: StringConstructor;
149
149
  default: string;
@@ -195,18 +195,18 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
195
195
  tiny_theme: StringConstructor;
196
196
  tiny_chart_theme: ObjectConstructor;
197
197
  }>>, {
198
- mask: boolean;
199
- placement: string;
200
198
  tiny_mode_root: boolean;
201
199
  _constants: Record<string, any>;
200
+ placement: string;
201
+ zIndex: number;
202
+ mask: boolean;
202
203
  visible: boolean;
204
+ showClose: boolean;
203
205
  showHeader: boolean;
204
206
  showFooter: boolean;
205
- dragable: boolean;
206
207
  maskClosable: boolean;
208
+ dragable: boolean;
207
209
  lockScroll: boolean;
208
210
  flex: boolean;
209
- zIndex: number;
210
- showClose: boolean;
211
211
  }, {}>;
212
212
  export default _default;
@@ -1,6 +1,4 @@
1
1
  declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
2
- mask?: any;
3
- placement?: any;
4
2
  title?: any;
5
3
  tiny_mode?: any;
6
4
  tiny_mode_root?: any;
@@ -10,12 +8,14 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
10
8
  tiny_theme?: any;
11
9
  tiny_chart_theme?: any;
12
10
  width?: any;
13
- customClass?: any;
11
+ placement?: any;
12
+ mask?: any;
14
13
  visible?: any;
14
+ customClass?: any;
15
15
  showHeader?: any;
16
16
  showFooter?: any;
17
- dragable?: any;
18
17
  maskClosable?: any;
18
+ dragable?: any;
19
19
  lockScroll?: any;
20
20
  flex?: any;
21
21
  beforeClose?: any;
@@ -27,9 +27,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
27
27
  d: (props: any) => void;
28
28
  dp: (props: any) => void;
29
29
  gcls: (key: any) => any;
30
- }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "confirm" | "open" | "update:visible")[], "close" | "confirm" | "open" | "update:visible", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
31
- mask?: any;
32
- placement?: any;
30
+ }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "confirm" | "update:visible" | "open")[], "close" | "confirm" | "update:visible" | "open", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
33
31
  title?: any;
34
32
  tiny_mode?: any;
35
33
  tiny_mode_root?: any;
@@ -39,23 +37,23 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
39
37
  tiny_theme?: any;
40
38
  tiny_chart_theme?: any;
41
39
  width?: any;
42
- customClass?: any;
40
+ placement?: any;
41
+ mask?: any;
43
42
  visible?: any;
43
+ customClass?: any;
44
44
  showHeader?: any;
45
45
  showFooter?: any;
46
- dragable?: any;
47
46
  maskClosable?: any;
47
+ dragable?: any;
48
48
  lockScroll?: any;
49
49
  flex?: any;
50
50
  beforeClose?: any;
51
51
  }>>> & {
52
52
  onClose?: ((...args: any[]) => any) | undefined;
53
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
53
54
  onConfirm?: ((...args: any[]) => any) | undefined;
54
55
  onOpen?: ((...args: any[]) => any) | undefined;
55
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
56
56
  }, {
57
- readonly mask?: any;
58
- readonly placement?: any;
59
57
  readonly title?: any;
60
58
  readonly tiny_mode?: any;
61
59
  readonly tiny_mode_root?: any;
@@ -65,12 +63,14 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
65
63
  readonly tiny_theme?: any;
66
64
  readonly tiny_chart_theme?: any;
67
65
  readonly width?: any;
68
- readonly customClass?: any;
66
+ readonly placement?: any;
67
+ readonly mask?: any;
69
68
  readonly visible?: any;
69
+ readonly customClass?: any;
70
70
  readonly showHeader?: any;
71
71
  readonly showFooter?: any;
72
- readonly dragable?: any;
73
72
  readonly maskClosable?: any;
73
+ readonly dragable?: any;
74
74
  readonly lockScroll?: any;
75
75
  readonly flex?: any;
76
76
  readonly beforeClose?: any;
package/src/pc.vue.d.ts CHANGED
@@ -1,6 +1,4 @@
1
1
  declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
2
- mask?: any;
3
- placement?: any;
4
2
  title?: any;
5
3
  tiny_mode?: any;
6
4
  tiny_mode_root?: any;
@@ -10,17 +8,19 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
10
8
  tiny_theme?: any;
11
9
  tiny_chart_theme?: any;
12
10
  width?: any;
13
- customClass?: any;
11
+ placement?: any;
12
+ zIndex?: any;
13
+ mask?: any;
14
14
  visible?: any;
15
+ customClass?: any;
16
+ showClose?: any;
15
17
  showHeader?: any;
16
18
  showFooter?: any;
17
- dragable?: any;
18
19
  maskClosable?: any;
20
+ dragable?: any;
19
21
  lockScroll?: any;
20
22
  flex?: any;
21
23
  beforeClose?: any;
22
- zIndex?: any;
23
- showClose?: any;
24
24
  tipsProps?: any;
25
25
  customSlots?: any;
26
26
  }>, {
@@ -31,9 +31,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
31
31
  d: (props: any) => void;
32
32
  dp: (props: any) => void;
33
33
  gcls: (key: any) => any;
34
- }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "confirm" | "drag" | "open" | "update:visible")[], "close" | "confirm" | "drag" | "open" | "update:visible", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
35
- mask?: any;
36
- placement?: any;
34
+ }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "drag" | "confirm" | "update:visible" | "open")[], "close" | "drag" | "confirm" | "update:visible" | "open", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
37
35
  title?: any;
38
36
  tiny_mode?: any;
39
37
  tiny_mode_root?: any;
@@ -43,28 +41,28 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
43
41
  tiny_theme?: any;
44
42
  tiny_chart_theme?: any;
45
43
  width?: any;
46
- customClass?: any;
44
+ placement?: any;
45
+ zIndex?: any;
46
+ mask?: any;
47
47
  visible?: any;
48
+ customClass?: any;
49
+ showClose?: any;
48
50
  showHeader?: any;
49
51
  showFooter?: any;
50
- dragable?: any;
51
52
  maskClosable?: any;
53
+ dragable?: any;
52
54
  lockScroll?: any;
53
55
  flex?: any;
54
56
  beforeClose?: any;
55
- zIndex?: any;
56
- showClose?: any;
57
57
  tipsProps?: any;
58
58
  customSlots?: any;
59
59
  }>>> & {
60
60
  onClose?: ((...args: any[]) => any) | undefined;
61
61
  onDrag?: ((...args: any[]) => any) | undefined;
62
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
62
63
  onConfirm?: ((...args: any[]) => any) | undefined;
63
64
  onOpen?: ((...args: any[]) => any) | undefined;
64
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
65
65
  }, {
66
- readonly mask?: any;
67
- readonly placement?: any;
68
66
  readonly title?: any;
69
67
  readonly tiny_mode?: any;
70
68
  readonly tiny_mode_root?: any;
@@ -74,17 +72,19 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
74
72
  readonly tiny_theme?: any;
75
73
  readonly tiny_chart_theme?: any;
76
74
  readonly width?: any;
77
- readonly customClass?: any;
75
+ readonly placement?: any;
76
+ readonly zIndex?: any;
77
+ readonly mask?: any;
78
78
  readonly visible?: any;
79
+ readonly customClass?: any;
80
+ readonly showClose?: any;
79
81
  readonly showHeader?: any;
80
82
  readonly showFooter?: any;
81
- readonly dragable?: any;
82
83
  readonly maskClosable?: any;
84
+ readonly dragable?: any;
83
85
  readonly lockScroll?: any;
84
86
  readonly flex?: any;
85
87
  readonly beforeClose?: any;
86
- readonly zIndex?: any;
87
- readonly showClose?: any;
88
88
  readonly tipsProps?: any;
89
89
  readonly customSlots?: any;
90
90
  }, {}>;