@opentiny/vue-dropdown-item 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 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);
@@ -119,7 +118,7 @@ var DropdownItem = defineComponent({
119
118
  });
120
119
  }
121
120
  });
122
- var version = "3.20.0";
121
+ var version = "3.21.0";
123
122
  DropdownItem.model = {
124
123
  prop: "modelValue",
125
124
  event: "update:modelValue"
@@ -4,8 +4,7 @@ import { openBlock, createElementBlock, normalizeClass, withModifiers, createEle
4
4
 
5
5
  function _createForOfIteratorHelperLoose(r, e) {
6
6
  var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
7
- if (t)
8
- return (t = t.call(r)).next.bind(t);
7
+ if (t) return (t = t.call(r)).next.bind(t);
9
8
  if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
10
9
  t && (r = t);
11
10
  var o = 0;
@@ -17,16 +16,14 @@ function _createForOfIteratorHelperLoose(r, e) {
17
16
  }
18
17
  function _unsupportedIterableToArray(r, a) {
19
18
  if (r) {
20
- if ("string" == typeof r)
21
- return _arrayLikeToArray(r, a);
19
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
22
20
  var t = {}.toString.call(r).slice(8, -1);
23
21
  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
22
  }
25
23
  }
26
24
  function _arrayLikeToArray(r, a) {
27
25
  (null == a || a > r.length) && (a = r.length);
28
- for (var e = 0, n = Array(a); e < a; e++)
29
- n[e] = r[e];
26
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
30
27
  return n;
31
28
  }
32
29
  var _export_sfc = function _export_sfc2(sfc, props) {
package/lib/mobile.js CHANGED
@@ -9,8 +9,7 @@ import { resolveComponent, resolveDirective, withDirectives, openBlock, createEl
9
9
 
10
10
  function _createForOfIteratorHelperLoose(r, e) {
11
11
  var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
12
- if (t)
13
- return (t = t.call(r)).next.bind(t);
12
+ if (t) return (t = t.call(r)).next.bind(t);
14
13
  if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
15
14
  t && (r = t);
16
15
  var o = 0;
@@ -22,16 +21,14 @@ function _createForOfIteratorHelperLoose(r, e) {
22
21
  }
23
22
  function _unsupportedIterableToArray(r, a) {
24
23
  if (r) {
25
- if ("string" == typeof r)
26
- return _arrayLikeToArray(r, a);
24
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
27
25
  var t = {}.toString.call(r).slice(8, -1);
28
26
  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;
29
27
  }
30
28
  }
31
29
  function _arrayLikeToArray(r, a) {
32
30
  (null == a || a > r.length) && (a = r.length);
33
- for (var e = 0, n = Array(a); e < a; e++)
34
- n[e] = r[e];
31
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
35
32
  return n;
36
33
  }
37
34
  var _export_sfc = function _export_sfc2(sfc, props) {
package/lib/pc.js CHANGED
@@ -7,8 +7,7 @@ import { resolveComponent, resolveDirective, withDirectives, openBlock, createEl
7
7
 
8
8
  function _createForOfIteratorHelperLoose(r, e) {
9
9
  var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
10
- if (t)
11
- return (t = t.call(r)).next.bind(t);
10
+ if (t) return (t = t.call(r)).next.bind(t);
12
11
  if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
13
12
  t && (r = t);
14
13
  var o = 0;
@@ -20,16 +19,14 @@ function _createForOfIteratorHelperLoose(r, e) {
20
19
  }
21
20
  function _unsupportedIterableToArray(r, a) {
22
21
  if (r) {
23
- if ("string" == typeof r)
24
- return _arrayLikeToArray(r, a);
22
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
25
23
  var t = {}.toString.call(r).slice(8, -1);
26
24
  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;
27
25
  }
28
26
  }
29
27
  function _arrayLikeToArray(r, a) {
30
28
  (null == a || a > r.length) && (a = r.length);
31
- for (var e = 0, n = Array(a); e < a; e++)
32
- n[e] = r[e];
29
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
33
30
  return n;
34
31
  }
35
32
  var _export_sfc = function _export_sfc2(sfc, props) {
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@opentiny/vue-dropdown-item",
3
3
  "type": "module",
4
- "version": "3.20.0",
4
+ "version": "3.21.0",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "sideEffects": false,
8
8
  "main": "./lib/index.js",
9
9
  "module": "./lib/index.js",
10
10
  "dependencies": {
11
- "@opentiny/vue-button": "~3.20.0",
12
- "@opentiny/vue-common": "~3.20.0",
13
- "@opentiny/vue-directive": "~3.20.0",
14
- "@opentiny/vue-icon": "~3.20.0",
15
- "@opentiny/vue-popup": "~3.20.0",
16
- "@opentiny/vue-renderless": "~3.20.0",
17
- "@opentiny/vue-theme": "~3.20.0",
18
- "@opentiny/vue-theme-mobile": "~3.20.0"
11
+ "@opentiny/vue-button": "~3.21.0",
12
+ "@opentiny/vue-common": "~3.21.0",
13
+ "@opentiny/vue-directive": "~3.21.0",
14
+ "@opentiny/vue-icon": "~3.21.0",
15
+ "@opentiny/vue-popup": "~3.21.0",
16
+ "@opentiny/vue-renderless": "~3.21.0",
17
+ "@opentiny/vue-theme": "~3.21.0",
18
+ "@opentiny/vue-theme-mobile": "~3.21.0"
19
19
  },
20
20
  "types": "index.d.ts",
21
21
  "scripts": {