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

@opentiny/vue-button

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-button - 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);
}

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

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

@@ -104,0 +100,0 @@ Vue.component(Button.name, Button);

49

lib/mobile-first.js

@@ -6,14 +6,11 @@ import { renderless, api } from '@opentiny/vue-renderless/button/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/button/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) {

@@ -7,14 +7,11 @@ import { renderless, api } from '@opentiny/vue-renderless/button/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++] };
};

@@ -24,21 +21,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;
}

@@ -45,0 +36,0 @@ var _export_sfc = function _export_sfc2(sfc, props) {

{
"name": "@opentiny/vue-button",
"version": "3.16.0",
"version": "3.17.0",
"description": "",

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

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

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

@@ -170,10 +170,10 @@ export declare const buttonProps: {

}>>, {
disabled: boolean;
icon: string | Record<string, any>;
text: string;
type: string;
size: string;
disabled: boolean;
tiny_mode_root: boolean;
tabindex: string;
round: boolean;
icon: string | Record<string, any>;
circle: boolean;

@@ -180,0 +180,0 @@ resetTime: number;

declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
disabled?: any;
icon?: any;
text?: any;
type?: any;
size?: any;
disabled?: any;
tiny_mode?: any;

@@ -15,3 +16,2 @@ tiny_mode_root?: any;

round?: any;
icon?: any;
circle?: any;

@@ -27,6 +27,7 @@ resetTime?: any;

}>, any, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("click" | "hook-updated")[], "click" | "hook-updated", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
disabled?: any;
icon?: any;
text?: any;
type?: any;
size?: any;
disabled?: any;
tiny_mode?: any;

@@ -41,3 +42,2 @@ tiny_mode_root?: any;

round?: any;
icon?: any;
circle?: any;

@@ -56,6 +56,7 @@ resetTime?: any;

}, {
readonly disabled?: any;
readonly icon?: any;
readonly text?: any;
readonly type?: any;
readonly size?: any;
readonly disabled?: any;
readonly tiny_mode?: any;

@@ -70,3 +71,2 @@ readonly tiny_mode_root?: any;

readonly round?: any;
readonly icon?: any;
readonly circle?: any;

@@ -73,0 +73,0 @@ readonly resetTime?: any;

declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
disabled?: any;
icon?: any;
text?: any;
type?: any;
size?: any;
disabled?: any;
tiny_mode?: any;

@@ -13,3 +14,2 @@ tiny_mode_root?: any;

tiny_chart_theme?: any;
icon?: any;
resetTime?: any;

@@ -28,6 +28,7 @@ nativeType?: any;

}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("click" | "hook-updated")[], "click" | "hook-updated", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
disabled?: any;
icon?: any;
text?: any;
type?: any;
size?: any;
disabled?: any;
tiny_mode?: any;

@@ -40,3 +41,2 @@ tiny_mode_root?: any;

tiny_chart_theme?: any;
icon?: any;
resetTime?: any;

@@ -50,6 +50,7 @@ nativeType?: any;

}, {
readonly disabled?: any;
readonly icon?: any;
readonly text?: any;
readonly type?: any;
readonly size?: any;
readonly disabled?: any;
readonly tiny_mode?: any;

@@ -62,3 +63,2 @@ readonly tiny_mode_root?: any;

readonly tiny_chart_theme?: any;
readonly icon?: any;
readonly resetTime?: any;

@@ -65,0 +65,0 @@ readonly nativeType?: any;

import type { IButtonApi } from '@opentiny/vue-renderless/types/button.type';
declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{
disabled?: any;
icon?: any;
text?: any;
type?: any;
size?: any;
disabled?: any;
tiny_mode?: any;

@@ -16,3 +17,2 @@ tiny_mode_root?: any;

round?: any;
icon?: any;
circle?: any;

@@ -27,6 +27,7 @@ resetTime?: any;

}>, IButtonApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("click" | "hook-updated")[], "click" | "hook-updated", import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{
disabled?: any;
icon?: any;
text?: any;
type?: any;
size?: any;
disabled?: any;
tiny_mode?: any;

@@ -41,3 +42,2 @@ tiny_mode_root?: any;

round?: any;
icon?: any;
circle?: any;

@@ -55,6 +55,7 @@ resetTime?: any;

}, {
readonly disabled?: any;
readonly icon?: any;
readonly text?: any;
readonly type?: any;
readonly size?: any;
readonly disabled?: any;
readonly tiny_mode?: any;

@@ -69,3 +70,2 @@ readonly tiny_mode_root?: any;

readonly round?: any;
readonly icon?: any;
readonly circle?: any;

@@ -72,0 +72,0 @@ readonly resetTime?: 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