@opentiny/vue-divider 3.13.0 → 3.15.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 +1 -1
- package/lib/pc.js +15 -15
- package/package.json +4 -3
- package/__test__/divider.test.d.ts +0 -1
package/lib/index.js
CHANGED
package/lib/pc.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { renderless, api } from
|
|
2
|
-
import { defineComponent, props, setup
|
|
3
|
-
import { openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createCommentVNode } from
|
|
4
|
-
|
|
1
|
+
import { renderless, api } from '@opentiny/vue-renderless/divider/vue';
|
|
2
|
+
import { defineComponent, props, setup } from '@opentiny/vue-common';
|
|
3
|
+
import { openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createCommentVNode } from 'vue';
|
|
4
|
+
|
|
5
|
+
function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
5
6
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
6
7
|
if (it)
|
|
7
8
|
return (it = it.call(o)).next.bind(it);
|
|
8
|
-
if (Array.isArray(o) || (it =
|
|
9
|
+
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
9
10
|
if (it)
|
|
10
11
|
o = it;
|
|
11
12
|
var i = 0;
|
|
@@ -17,20 +18,20 @@ function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
|
|
|
17
18
|
}
|
|
18
19
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
21
22
|
if (!o)
|
|
22
23
|
return;
|
|
23
24
|
if (typeof o === "string")
|
|
24
|
-
return
|
|
25
|
+
return _arrayLikeToArray(o, minLen);
|
|
25
26
|
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
26
27
|
if (n === "Object" && o.constructor)
|
|
27
28
|
n = o.constructor.name;
|
|
28
29
|
if (n === "Map" || n === "Set")
|
|
29
30
|
return Array.from(o);
|
|
30
31
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
31
|
-
return
|
|
32
|
+
return _arrayLikeToArray(o, minLen);
|
|
32
33
|
}
|
|
33
|
-
function
|
|
34
|
+
function _arrayLikeToArray(arr, len) {
|
|
34
35
|
if (len == null || len > arr.length)
|
|
35
36
|
len = arr.length;
|
|
36
37
|
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
@@ -39,7 +40,7 @@ function _arrayLikeToArray_tiny(arr, len) {
|
|
|
39
40
|
}
|
|
40
41
|
var _export_sfc = function _export_sfc2(sfc, props) {
|
|
41
42
|
var target = sfc.__vccOpts || sfc;
|
|
42
|
-
for (var _iterator =
|
|
43
|
+
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
|
|
43
44
|
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];
|
|
44
45
|
target[key] = val;
|
|
45
46
|
}
|
|
@@ -48,8 +49,8 @@ var _export_sfc = function _export_sfc2(sfc, props) {
|
|
|
48
49
|
|
|
49
50
|
var _sfc_main = defineComponent({
|
|
50
51
|
props: [].concat(props, ["direction", "color", "borderStyle", "contentPosition", "contentColor", "contentBackgroundColor"]),
|
|
51
|
-
setup: function setup(props2, context) {
|
|
52
|
-
return
|
|
52
|
+
setup: function setup$1(props2, context) {
|
|
53
|
+
return setup({
|
|
53
54
|
props: props2,
|
|
54
55
|
context,
|
|
55
56
|
renderless,
|
|
@@ -87,6 +88,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
87
88
|
);
|
|
88
89
|
}
|
|
89
90
|
var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
};
|
|
91
|
+
|
|
92
|
+
export { pc as default };
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-divider",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.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.
|
|
10
|
+
"@opentiny/vue-common": "~3.15.0",
|
|
11
|
+
"@opentiny/vue-renderless": "~3.15.0",
|
|
12
|
+
"@opentiny/vue-theme": "~3.15.0"
|
|
12
13
|
},
|
|
13
14
|
"license": "MIT",
|
|
14
15
|
"types": "index.d.ts"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|