@opentiny/vue-switch
Advanced tools
Comparing version 3.16.0 to 3.17.0
function _extends() { | ||
_extends = Object.assign ? Object.assign.bind() : function(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
return _extends = Object.assign ? Object.assign.bind() : function(n) { | ||
for (var e = 1; e < arguments.length; e++) { | ||
var t = arguments[e]; | ||
for (var r in t) | ||
({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
return n; | ||
}, _extends.apply(null, arguments); | ||
} | ||
@@ -103,3 +99,3 @@ import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common"; | ||
}); | ||
var version = "3.16.0"; | ||
var version = "3.17.0"; | ||
Switch.model = { | ||
@@ -106,0 +102,0 @@ prop: "modelValue", |
@@ -5,14 +5,11 @@ import { renderless, api } from '@opentiny/vue-renderless/switch/vue'; | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) | ||
return (it = it.call(o)).next.bind(it); | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
o = it; | ||
var i = 0; | ||
function _createForOfIteratorHelperLoose(r, e) { | ||
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | ||
if (t) | ||
return (t = t.call(r)).next.bind(t); | ||
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { | ||
t && (r = t); | ||
var o = 0; | ||
return function() { | ||
if (i >= o.length) | ||
return { done: true }; | ||
return { done: false, value: o[i++] }; | ||
return o >= r.length ? { done: true } : { done: false, value: r[o++] }; | ||
}; | ||
@@ -22,21 +19,15 @@ } | ||
} | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) | ||
return; | ||
if (typeof o === "string") | ||
return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
if (n === "Object" && o.constructor) | ||
n = o.constructor.name; | ||
if (n === "Map" || n === "Set") | ||
return Array.from(o); | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) | ||
return _arrayLikeToArray(o, minLen); | ||
function _unsupportedIterableToArray(r, a) { | ||
if (r) { | ||
if ("string" == typeof r) | ||
return _arrayLikeToArray(r, a); | ||
var t = {}.toString.call(r).slice(8, -1); | ||
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; | ||
} | ||
} | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) | ||
len = arr.length; | ||
for (var i = 0, arr2 = new Array(len); i < len; i++) | ||
arr2[i] = arr[i]; | ||
return arr2; | ||
function _arrayLikeToArray(r, a) { | ||
(null == a || a > r.length) && (a = r.length); | ||
for (var e = 0, n = Array(a); e < a; e++) | ||
n[e] = r[e]; | ||
return n; | ||
} | ||
@@ -43,0 +34,0 @@ var _export_sfc = function _export_sfc2(sfc, props) { |
@@ -6,14 +6,11 @@ import { renderless, api } from '@opentiny/vue-renderless/switch/vue'; | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) | ||
return (it = it.call(o)).next.bind(it); | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
o = it; | ||
var i = 0; | ||
function _createForOfIteratorHelperLoose(r, e) { | ||
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | ||
if (t) | ||
return (t = t.call(r)).next.bind(t); | ||
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { | ||
t && (r = t); | ||
var o = 0; | ||
return function() { | ||
if (i >= o.length) | ||
return { done: true }; | ||
return { done: false, value: o[i++] }; | ||
return o >= r.length ? { done: true } : { done: false, value: r[o++] }; | ||
}; | ||
@@ -23,21 +20,15 @@ } | ||
} | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) | ||
return; | ||
if (typeof o === "string") | ||
return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
if (n === "Object" && o.constructor) | ||
n = o.constructor.name; | ||
if (n === "Map" || n === "Set") | ||
return Array.from(o); | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) | ||
return _arrayLikeToArray(o, minLen); | ||
function _unsupportedIterableToArray(r, a) { | ||
if (r) { | ||
if ("string" == typeof r) | ||
return _arrayLikeToArray(r, a); | ||
var t = {}.toString.call(r).slice(8, -1); | ||
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; | ||
} | ||
} | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) | ||
len = arr.length; | ||
for (var i = 0, arr2 = new Array(len); i < len; i++) | ||
arr2[i] = arr[i]; | ||
return arr2; | ||
function _arrayLikeToArray(r, a) { | ||
(null == a || a > r.length) && (a = r.length); | ||
for (var e = 0, n = Array(a); e < a; e++) | ||
n[e] = r[e]; | ||
return n; | ||
} | ||
@@ -44,0 +35,0 @@ var _export_sfc = function _export_sfc2(sfc, props) { |
@@ -6,14 +6,11 @@ import { renderless, api } from '@opentiny/vue-renderless/switch/vue'; | ||
function _createForOfIteratorHelperLoose(o, allowArrayLike) { | ||
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; | ||
if (it) | ||
return (it = it.call(o)).next.bind(it); | ||
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { | ||
if (it) | ||
o = it; | ||
var i = 0; | ||
function _createForOfIteratorHelperLoose(r, e) { | ||
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; | ||
if (t) | ||
return (t = t.call(r)).next.bind(t); | ||
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { | ||
t && (r = t); | ||
var o = 0; | ||
return function() { | ||
if (i >= o.length) | ||
return { done: true }; | ||
return { done: false, value: o[i++] }; | ||
return o >= r.length ? { done: true } : { done: false, value: r[o++] }; | ||
}; | ||
@@ -23,21 +20,15 @@ } | ||
} | ||
function _unsupportedIterableToArray(o, minLen) { | ||
if (!o) | ||
return; | ||
if (typeof o === "string") | ||
return _arrayLikeToArray(o, minLen); | ||
var n = Object.prototype.toString.call(o).slice(8, -1); | ||
if (n === "Object" && o.constructor) | ||
n = o.constructor.name; | ||
if (n === "Map" || n === "Set") | ||
return Array.from(o); | ||
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) | ||
return _arrayLikeToArray(o, minLen); | ||
function _unsupportedIterableToArray(r, a) { | ||
if (r) { | ||
if ("string" == typeof r) | ||
return _arrayLikeToArray(r, a); | ||
var t = {}.toString.call(r).slice(8, -1); | ||
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; | ||
} | ||
} | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) | ||
len = arr.length; | ||
for (var i = 0, arr2 = new Array(len); i < len; i++) | ||
arr2[i] = arr[i]; | ||
return arr2; | ||
function _arrayLikeToArray(r, a) { | ||
(null == a || a > r.length) && (a = r.length); | ||
for (var e = 0, n = Array(a); e < a; e++) | ||
n[e] = r[e]; | ||
return n; | ||
} | ||
@@ -44,0 +35,0 @@ var _export_sfc = function _export_sfc2(sfc, props) { |
{ | ||
"name": "@opentiny/vue-switch", | ||
"version": "3.16.0", | ||
"version": "3.17.0", | ||
"description": "", | ||
@@ -10,6 +10,6 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-renderless": "~3.16.0", | ||
"@opentiny/vue-common": "~3.16.0", | ||
"@opentiny/vue-theme-mobile": "~3.16.0", | ||
"@opentiny/vue-theme": "~3.16.0" | ||
"@opentiny/vue-renderless": "~3.17.0", | ||
"@opentiny/vue-common": "~3.17.0", | ||
"@opentiny/vue-theme-mobile": "~3.17.0", | ||
"@opentiny/vue-theme": "~3.17.0" | ||
}, | ||
@@ -16,0 +16,0 @@ "license": "MIT", |
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
disabled?: any; | ||
size?: any; | ||
disabled?: any; | ||
tiny_mode?: any; | ||
@@ -25,4 +25,4 @@ tiny_mode_root?: any; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
disabled?: any; | ||
size?: any; | ||
disabled?: any; | ||
tiny_mode?: any; | ||
@@ -44,4 +44,4 @@ tiny_mode_root?: any; | ||
}, { | ||
readonly disabled?: any; | ||
readonly size?: any; | ||
readonly disabled?: any; | ||
readonly tiny_mode?: any; | ||
@@ -48,0 +48,0 @@ readonly tiny_mode_root?: any; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36916
1003
+ Added@opentiny/vue-common@3.17.0(transitive)
+ Added@opentiny/vue-locale@3.17.0(transitive)
+ Added@opentiny/vue-renderless@3.17.6(transitive)
+ Added@opentiny/vue-theme@3.17.5(transitive)
+ Added@opentiny/vue-theme-mobile@3.17.0(transitive)
- Removed@opentiny/vue-common@3.16.0(transitive)
- Removed@opentiny/vue-locale@3.16.0(transitive)
- Removed@opentiny/vue-renderless@3.16.2(transitive)
- Removed@opentiny/vue-theme@3.16.4(transitive)
- Removed@opentiny/vue-theme-mobile@3.16.0(transitive)
Updated@opentiny/vue-common@~3.17.0
Updated@opentiny/vue-theme@~3.17.0