@opentiny/vue-drawer 3.19.1 → 3.20.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
@@ -164,7 +164,7 @@ var service = function service2(configs) {
164
164
  });
165
165
  return instance;
166
166
  };
167
- var version = "3.undefined";
167
+ var version = "3.20.0";
168
168
  Drawer.model = {
169
169
  prop: "visible",
170
170
  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$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
37
+ var _step$value = _step.value, key = _step$value[0], val = _step$value[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$value2 = _step.value, key = _step$value2[0], val = _step$value2[1];
39
+ var _step$value = _step.value, key = _step$value[0], val = _step$value[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.19.1",
3
+ "version": "3.20.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.19.0",
11
- "@opentiny/vue-tooltip": "~3.19.0",
12
- "@opentiny/vue-common": "~3.19.0",
13
- "@opentiny/vue-renderless": "~3.19.0",
14
- "@opentiny/vue-icon": "~3.19.0",
15
- "@opentiny/vue-theme": "~3.19.0"
10
+ "@opentiny/vue-button": "~3.20.0",
11
+ "@opentiny/vue-tooltip": "~3.20.0",
12
+ "@opentiny/vue-common": "~3.20.0",
13
+ "@opentiny/vue-renderless": "~3.20.0",
14
+ "@opentiny/vue-icon": "~3.20.0",
15
+ "@opentiny/vue-theme": "~3.20.0"
16
16
  },
17
17
  "license": "MIT",
18
18
  "types": "index.d.ts"
package/src/index.d.ts CHANGED
@@ -16,7 +16,7 @@ export declare const drawerProps: {
16
16
  type: BooleanConstructor;
17
17
  default: boolean;
18
18
  };
19
- customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
19
+ customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
20
20
  placement: {
21
21
  type: StringConstructor;
22
22
  default: string;
@@ -84,7 +84,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
84
84
  type: BooleanConstructor;
85
85
  default: boolean;
86
86
  };
87
- customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
87
+ customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
88
88
  placement: {
89
89
  type: StringConstructor;
90
90
  default: string;
@@ -153,7 +153,7 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
153
153
  type: BooleanConstructor;
154
154
  default: boolean;
155
155
  };
156
- customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
156
+ customClass: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
157
157
  placement: {
158
158
  type: StringConstructor;
159
159
  default: string;
@@ -208,18 +208,18 @@ declare const _default: import("@vue/runtime-core").DefineComponent<{
208
208
  tiny_theme: StringConstructor;
209
209
  tiny_chart_theme: ObjectConstructor;
210
210
  }>>, {
211
- visible: boolean;
212
211
  mask: boolean;
213
212
  tiny_mode_root: boolean;
214
213
  _constants: Record<string, any>;
215
214
  placement: string;
216
215
  zIndex: number;
216
+ visible: boolean;
217
+ showClose: boolean;
217
218
  showHeader: boolean;
218
219
  showFooter: boolean;
219
- dragable: boolean;
220
220
  maskClosable: boolean;
221
+ dragable: boolean;
221
222
  lockScroll: boolean;
222
223
  flex: boolean;
223
- showClose: boolean;
224
224
  }, {}>;
225
225
  export default _default;
@@ -1,5 +1,4 @@
1
1
  declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
2
- visible?: any;
3
2
  title?: any;
4
3
  mask?: any;
5
4
  tiny_mode?: any;
@@ -11,11 +10,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
11
10
  tiny_chart_theme?: any;
12
11
  width?: any;
13
12
  placement?: any;
13
+ visible?: any;
14
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,8 +27,8 @@ 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
- visible?: any;
30
+ m: (...cssClasses: any[]) => string;
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
32
  title?: any;
33
33
  mask?: any;
34
34
  tiny_mode?: any;
@@ -40,21 +40,21 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
40
40
  tiny_chart_theme?: any;
41
41
  width?: any;
42
42
  placement?: any;
43
+ visible?: any;
43
44
  customClass?: any;
44
45
  showHeader?: any;
45
46
  showFooter?: any;
46
- dragable?: any;
47
47
  maskClosable?: any;
48
+ dragable?: any;
48
49
  lockScroll?: any;
49
50
  flex?: any;
50
51
  beforeClose?: any;
51
52
  }>>> & {
52
53
  onClose?: ((...args: any[]) => any) | undefined;
54
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
53
55
  onConfirm?: ((...args: any[]) => any) | undefined;
54
56
  onOpen?: ((...args: any[]) => any) | undefined;
55
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
56
57
  }, {
57
- readonly visible?: any;
58
58
  readonly title?: any;
59
59
  readonly mask?: any;
60
60
  readonly tiny_mode?: any;
@@ -66,11 +66,12 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
66
66
  readonly tiny_chart_theme?: any;
67
67
  readonly width?: any;
68
68
  readonly placement?: any;
69
+ readonly visible?: any;
69
70
  readonly customClass?: any;
70
71
  readonly showHeader?: any;
71
72
  readonly showFooter?: any;
72
- readonly dragable?: any;
73
73
  readonly maskClosable?: any;
74
+ readonly dragable?: any;
74
75
  readonly lockScroll?: any;
75
76
  readonly flex?: any;
76
77
  readonly beforeClose?: any;
package/src/pc.vue.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
2
- visible?: any;
3
2
  title?: any;
4
3
  mask?: any;
5
4
  tiny_mode?: any;
@@ -12,16 +11,17 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
12
11
  width?: any;
13
12
  height?: any;
14
13
  placement?: any;
15
- customClass?: any;
16
14
  zIndex?: any;
15
+ visible?: any;
16
+ customClass?: any;
17
+ showClose?: any;
17
18
  showHeader?: any;
18
19
  showFooter?: any;
19
- dragable?: any;
20
20
  maskClosable?: any;
21
+ dragable?: any;
21
22
  lockScroll?: any;
22
23
  flex?: any;
23
24
  beforeClose?: any;
24
- showClose?: any;
25
25
  tipsProps?: any;
26
26
  customSlots?: any;
27
27
  }>, {
@@ -32,8 +32,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
32
32
  d: (props: any) => void;
33
33
  dp: (props: any) => void;
34
34
  gcls: (key: any) => any;
35
- }, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("close" | "drag" | "confirm" | "open" | "update:visible")[], "close" | "drag" | "confirm" | "open" | "update:visible", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
36
- visible?: any;
35
+ m: (...cssClasses: any[]) => string;
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
37
  title?: any;
38
38
  mask?: any;
39
39
  tiny_mode?: any;
@@ -46,26 +46,26 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
46
46
  width?: any;
47
47
  height?: any;
48
48
  placement?: any;
49
- customClass?: any;
50
49
  zIndex?: any;
50
+ visible?: any;
51
+ customClass?: any;
52
+ showClose?: any;
51
53
  showHeader?: any;
52
54
  showFooter?: any;
53
- dragable?: any;
54
55
  maskClosable?: any;
56
+ dragable?: any;
55
57
  lockScroll?: any;
56
58
  flex?: any;
57
59
  beforeClose?: any;
58
- showClose?: any;
59
60
  tipsProps?: any;
60
61
  customSlots?: any;
61
62
  }>>> & {
62
63
  onClose?: ((...args: any[]) => any) | undefined;
63
64
  onDrag?: ((...args: any[]) => any) | undefined;
65
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
64
66
  onConfirm?: ((...args: any[]) => any) | undefined;
65
67
  onOpen?: ((...args: any[]) => any) | undefined;
66
- "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
67
68
  }, {
68
- readonly visible?: any;
69
69
  readonly title?: any;
70
70
  readonly mask?: any;
71
71
  readonly tiny_mode?: any;
@@ -78,16 +78,17 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
78
78
  readonly width?: any;
79
79
  readonly height?: any;
80
80
  readonly placement?: any;
81
- readonly customClass?: any;
82
81
  readonly zIndex?: any;
82
+ readonly visible?: any;
83
+ readonly customClass?: any;
84
+ readonly showClose?: any;
83
85
  readonly showHeader?: any;
84
86
  readonly showFooter?: any;
85
- readonly dragable?: any;
86
87
  readonly maskClosable?: any;
88
+ readonly dragable?: any;
87
89
  readonly lockScroll?: any;
88
90
  readonly flex?: any;
89
91
  readonly beforeClose?: any;
90
- readonly showClose?: any;
91
92
  readonly tipsProps?: any;
92
93
  readonly customSlots?: any;
93
94
  }, {}>;