Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@opentiny/vue-tag

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-tag - npm Package Compare versions

Comparing version 3.16.0 to 3.17.0

20

lib/index.js
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);
}

@@ -82,3 +78,3 @@ import { defineComponent, $prefix, $setup, $props } from "@opentiny/vue-common";

});
var version = "3.16.0";
var version = "3.17.0";
Tag.install = function(Vue) {

@@ -85,0 +81,0 @@ Vue.component(Tag.name, Tag);

49

lib/mobile.js

@@ -6,14 +6,11 @@ import { renderless, api } from '@opentiny/vue-renderless/tag/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-tag",
"version": "3.16.0",
"version": "3.17.0",
"description": "",

@@ -10,7 +10,7 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-renderless": "~3.16.0",
"@opentiny/vue-common": "~3.16.0",
"@opentiny/vue-icon": "~3.16.0",
"@opentiny/vue-theme": "~3.16.0",
"@opentiny/vue-theme-mobile": "~3.16.0"
"@opentiny/vue-renderless": "~3.17.0",
"@opentiny/vue-common": "~3.17.0",
"@opentiny/vue-icon": "~3.17.0",
"@opentiny/vue-theme": "~3.17.0",
"@opentiny/vue-theme-mobile": "~3.17.0"
},

@@ -17,0 +17,0 @@ "license": "MIT",

@@ -122,4 +122,4 @@ export declare const tagProps: {

}>>, {
disabled: boolean;
color: string | unknown[];
disabled: boolean;
tiny_mode_root: boolean;

@@ -126,0 +126,0 @@ effect: string;

import type { ITagApi } from '@opentiny/vue-renderless/types/tag.type';
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
value?: any;
disabled?: any;
text?: any;

@@ -8,3 +9,2 @@ type?: any;

color?: any;
disabled?: any;
tiny_mode?: any;

@@ -26,2 +26,3 @@ tiny_mode_root?: any;

value?: any;
disabled?: any;
text?: any;

@@ -31,3 +32,2 @@ type?: any;

color?: any;
disabled?: any;
tiny_mode?: any;

@@ -52,2 +52,3 @@ tiny_mode_root?: any;

readonly value?: any;
readonly disabled?: any;
readonly text?: any;

@@ -57,3 +58,2 @@ readonly type?: any;

readonly color?: any;
readonly disabled?: any;
readonly tiny_mode?: any;

@@ -60,0 +60,0 @@ readonly tiny_mode_root?: any;

import type { ITagApi } from '@opentiny/vue-renderless/types/tag.type';
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
value?: any;
disabled?: any;
text?: any;

@@ -8,3 +9,2 @@ type?: any;

color?: any;
disabled?: any;
tiny_mode?: any;

@@ -23,2 +23,3 @@ tiny_mode_root?: any;

value?: any;
disabled?: any;
text?: any;

@@ -28,3 +29,2 @@ type?: any;

color?: any;
disabled?: any;
tiny_mode?: any;

@@ -46,2 +46,3 @@ tiny_mode_root?: any;

readonly value?: any;
readonly disabled?: any;
readonly text?: any;

@@ -51,3 +52,2 @@ readonly type?: any;

readonly color?: any;
readonly disabled?: any;
readonly tiny_mode?: any;

@@ -54,0 +54,0 @@ readonly tiny_mode_root?: any;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc