@opentiny/vue-drawer 3.20.0 → 3.21.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 +2 -3
- package/lib/mobile-first.js +3 -6
- package/lib/pc.js +3 -6
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -2,8 +2,7 @@ function _extends() {
|
|
|
2
2
|
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
3
3
|
for (var e = 1; e < arguments.length; e++) {
|
|
4
4
|
var t = arguments[e];
|
|
5
|
-
for (var r in t)
|
|
6
|
-
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
5
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
7
6
|
}
|
|
8
7
|
return n;
|
|
9
8
|
}, _extends.apply(null, arguments);
|
|
@@ -164,7 +163,7 @@ var service = function service2(configs) {
|
|
|
164
163
|
});
|
|
165
164
|
return instance;
|
|
166
165
|
};
|
|
167
|
-
var version = "3.
|
|
166
|
+
var version = "3.21.0";
|
|
168
167
|
Drawer.model = {
|
|
169
168
|
prop: "visible",
|
|
170
169
|
event: "update:visible"
|
package/lib/mobile-first.js
CHANGED
|
@@ -6,8 +6,7 @@ import { resolveComponent, withDirectives, openBlock, createElementBlock, normal
|
|
|
6
6
|
|
|
7
7
|
function _createForOfIteratorHelperLoose(r, e) {
|
|
8
8
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
9
|
-
if (t)
|
|
10
|
-
return (t = t.call(r)).next.bind(t);
|
|
9
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
11
10
|
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
12
11
|
t && (r = t);
|
|
13
12
|
var o = 0;
|
|
@@ -19,16 +18,14 @@ function _createForOfIteratorHelperLoose(r, e) {
|
|
|
19
18
|
}
|
|
20
19
|
function _unsupportedIterableToArray(r, a) {
|
|
21
20
|
if (r) {
|
|
22
|
-
if ("string" == typeof r)
|
|
23
|
-
return _arrayLikeToArray(r, a);
|
|
21
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
24
22
|
var t = {}.toString.call(r).slice(8, -1);
|
|
25
23
|
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
26
24
|
}
|
|
27
25
|
}
|
|
28
26
|
function _arrayLikeToArray(r, a) {
|
|
29
27
|
(null == a || a > r.length) && (a = r.length);
|
|
30
|
-
for (var e = 0, n = Array(a); e < a; e++)
|
|
31
|
-
n[e] = r[e];
|
|
28
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
32
29
|
return n;
|
|
33
30
|
}
|
|
34
31
|
var _export_sfc = function _export_sfc2(sfc, props) {
|
package/lib/pc.js
CHANGED
|
@@ -8,8 +8,7 @@ import { resolveComponent, openBlock, createElementBlock, createVNode, Transitio
|
|
|
8
8
|
|
|
9
9
|
function _createForOfIteratorHelperLoose(r, e) {
|
|
10
10
|
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
11
|
-
if (t)
|
|
12
|
-
return (t = t.call(r)).next.bind(t);
|
|
11
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
13
12
|
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
14
13
|
t && (r = t);
|
|
15
14
|
var o = 0;
|
|
@@ -21,16 +20,14 @@ function _createForOfIteratorHelperLoose(r, e) {
|
|
|
21
20
|
}
|
|
22
21
|
function _unsupportedIterableToArray(r, a) {
|
|
23
22
|
if (r) {
|
|
24
|
-
if ("string" == typeof r)
|
|
25
|
-
return _arrayLikeToArray(r, a);
|
|
23
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
26
24
|
var t = {}.toString.call(r).slice(8, -1);
|
|
27
25
|
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
28
26
|
}
|
|
29
27
|
}
|
|
30
28
|
function _arrayLikeToArray(r, a) {
|
|
31
29
|
(null == a || a > r.length) && (a = r.length);
|
|
32
|
-
for (var e = 0, n = Array(a); e < a; e++)
|
|
33
|
-
n[e] = r[e];
|
|
30
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
34
31
|
return n;
|
|
35
32
|
}
|
|
36
33
|
var _export_sfc = function _export_sfc2(sfc, props) {
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-drawer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.21.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.
|
|
11
|
-
"@opentiny/vue-tooltip": "~3.
|
|
12
|
-
"@opentiny/vue-common": "~3.
|
|
13
|
-
"@opentiny/vue-renderless": "~3.
|
|
14
|
-
"@opentiny/vue-icon": "~3.
|
|
15
|
-
"@opentiny/vue-theme": "~3.
|
|
10
|
+
"@opentiny/vue-button": "~3.21.0",
|
|
11
|
+
"@opentiny/vue-tooltip": "~3.21.0",
|
|
12
|
+
"@opentiny/vue-common": "~3.21.0",
|
|
13
|
+
"@opentiny/vue-renderless": "~3.21.0",
|
|
14
|
+
"@opentiny/vue-icon": "~3.21.0",
|
|
15
|
+
"@opentiny/vue-theme": "~3.21.0"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"types": "index.d.ts"
|