@opentiny/vue-divider 3.16.0 → 3.17.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 +8 -12
- package/lib/pc.js +20 -29
- package/package.json +4 -4
package/lib/index.js
CHANGED
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
function _extends() {
|
|
2
|
-
_extends = Object.assign ? Object.assign.bind() : function(
|
|
3
|
-
for (var
|
|
4
|
-
var
|
|
5
|
-
for (var
|
|
6
|
-
|
|
7
|
-
target[key] = source[key];
|
|
8
|
-
}
|
|
9
|
-
}
|
|
2
|
+
return _extends = Object.assign ? Object.assign.bind() : function(n) {
|
|
3
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
4
|
+
var t = arguments[e];
|
|
5
|
+
for (var r in t)
|
|
6
|
+
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
10
7
|
}
|
|
11
|
-
return
|
|
12
|
-
};
|
|
13
|
-
return _extends.apply(this, arguments);
|
|
8
|
+
return n;
|
|
9
|
+
}, _extends.apply(null, arguments);
|
|
14
10
|
}
|
|
15
11
|
import { defineComponent, $prefix, $props, $setup } from "@opentiny/vue-common";
|
|
16
12
|
import PcTemplate from "./pc.js";
|
|
@@ -63,7 +59,7 @@ var Divider = defineComponent({
|
|
|
63
59
|
});
|
|
64
60
|
}
|
|
65
61
|
});
|
|
66
|
-
var version = "3.
|
|
62
|
+
var version = "3.17.0";
|
|
67
63
|
Divider.install = function(Vue) {
|
|
68
64
|
Vue.component(Divider.name, Divider);
|
|
69
65
|
};
|
package/lib/pc.js
CHANGED
|
@@ -2,41 +2,32 @@ import { renderless, api } from '@opentiny/vue-renderless/divider/vue';
|
|
|
2
2
|
import { defineComponent, props, setup } from '@opentiny/vue-common';
|
|
3
3
|
import { openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createCommentVNode } from 'vue';
|
|
4
4
|
|
|
5
|
-
function _createForOfIteratorHelperLoose(
|
|
6
|
-
var
|
|
7
|
-
if (
|
|
8
|
-
return (
|
|
9
|
-
if (Array.isArray(
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var i = 0;
|
|
5
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
6
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
7
|
+
if (t)
|
|
8
|
+
return (t = t.call(r)).next.bind(t);
|
|
9
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
10
|
+
t && (r = t);
|
|
11
|
+
var o = 0;
|
|
13
12
|
return function() {
|
|
14
|
-
|
|
15
|
-
return { done: true };
|
|
16
|
-
return { done: false, value: o[i++] };
|
|
13
|
+
return o >= r.length ? { done: true } : { done: false, value: r[o++] };
|
|
17
14
|
};
|
|
18
15
|
}
|
|
19
16
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
20
17
|
}
|
|
21
|
-
function _unsupportedIterableToArray(
|
|
22
|
-
if (
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
n = o.constructor.name;
|
|
29
|
-
if (n === "Map" || n === "Set")
|
|
30
|
-
return Array.from(o);
|
|
31
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
32
|
-
return _arrayLikeToArray(o, minLen);
|
|
18
|
+
function _unsupportedIterableToArray(r, a) {
|
|
19
|
+
if (r) {
|
|
20
|
+
if ("string" == typeof r)
|
|
21
|
+
return _arrayLikeToArray(r, a);
|
|
22
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
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;
|
|
24
|
+
}
|
|
33
25
|
}
|
|
34
|
-
function _arrayLikeToArray(
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
return arr2;
|
|
26
|
+
function _arrayLikeToArray(r, a) {
|
|
27
|
+
(null == a || a > r.length) && (a = r.length);
|
|
28
|
+
for (var e = 0, n = Array(a); e < a; e++)
|
|
29
|
+
n[e] = r[e];
|
|
30
|
+
return n;
|
|
40
31
|
}
|
|
41
32
|
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
42
33
|
var target = sfc.__vccOpts || sfc;
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-divider",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.17.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-common": "~3.
|
|
11
|
-
"@opentiny/vue-renderless": "~3.
|
|
12
|
-
"@opentiny/vue-theme": "~3.
|
|
10
|
+
"@opentiny/vue-common": "~3.17.0",
|
|
11
|
+
"@opentiny/vue-renderless": "~3.17.0",
|
|
12
|
+
"@opentiny/vue-theme": "~3.17.0"
|
|
13
13
|
},
|
|
14
14
|
"license": "MIT",
|
|
15
15
|
"types": "index.d.ts"
|