Socket
Socket
Sign inDemoInstall

@opentiny/vue-button

Package Overview
Dependencies
Maintainers
1
Versions
59
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.14.0 to 3.15.0

2

lib/index.js

@@ -101,3 +101,3 @@ function _extends() {

});
var version = "3.14.0";
var version = "3.15.0";
Button.install = function(Vue) {

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

@@ -1,10 +0,11 @@

import { renderless, api } from "@opentiny/vue-renderless/button/vue";
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
import { iconLoading } from "@opentiny/vue-icon";
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, normalizeClass, createCommentVNode, resolveDynamicComponent, renderSlot, createElementVNode, toDisplayString } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
import { renderless, api } from '@opentiny/vue-renderless/button/vue';
import { defineComponent, props, setup } from '@opentiny/vue-common';
import { iconLoading } from '@opentiny/vue-icon';
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, normalizeClass, createCommentVNode, resolveDynamicComponent, renderSlot, createElementVNode, toDisplayString } from '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_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it)

@@ -21,7 +22,7 @@ o = it;

}
function _unsupportedIterableToArray_tiny(o, minLen) {
function _unsupportedIterableToArray(o, minLen) {
if (!o)
return;
if (typeof o === "string")
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);

@@ -33,5 +34,5 @@ if (n === "Object" && o.constructor)

if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
}
function _arrayLikeToArray_tiny(arr, len) {
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length)

@@ -45,3 +46,3 @@ len = arr.length;

var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];

@@ -106,4 +107,4 @@ target[key] = val;

},
setup: function setup(props2, context) {
return _setup({
setup: function setup$1(props2, context) {
return setup({
props: props2,

@@ -134,3 +135,3 @@ context,

tabindex: _ctx.tabindex
}, _ctx.a(_ctx.$attrs, ["class", "style"], true)), [_ctx.loading ? (openBlock(), createBlock(_component_icon_loading, {
}, _ctx.a(_ctx.$attrs, ["class", "style", "id"], true)), [_ctx.loading ? (openBlock(), createBlock(_component_icon_loading, {
key: 0,

@@ -152,4 +153,3 @@ class: normalizeClass(_ctx.gcls("loading-svg"))

var mobileFirst = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
mobileFirst as default
};
export { mobileFirst as default };

@@ -1,10 +0,11 @@

import { renderless, api } from "@opentiny/vue-renderless/button/vue";
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
import "@opentiny/vue-theme-mobile/button/index.css";
import { openBlock, createElementBlock, mergeProps, normalizeClass, createCommentVNode, createBlock, resolveDynamicComponent, renderSlot, createElementVNode, normalizeStyle, toDisplayString } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
import { renderless, api } from '@opentiny/vue-renderless/button/vue';
import { defineComponent, props, setup } from '@opentiny/vue-common';
import '@opentiny/vue-theme-mobile/button/index.css';
import { openBlock, createElementBlock, mergeProps, normalizeClass, createCommentVNode, createBlock, resolveDynamicComponent, renderSlot, createElementVNode, normalizeStyle, toDisplayString } from '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_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it)

@@ -21,7 +22,7 @@ o = it;

}
function _unsupportedIterableToArray_tiny(o, minLen) {
function _unsupportedIterableToArray(o, minLen) {
if (!o)
return;
if (typeof o === "string")
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);

@@ -33,5 +34,5 @@ if (n === "Object" && o.constructor)

if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
}
function _arrayLikeToArray_tiny(arr, len) {
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length)

@@ -45,3 +46,3 @@ len = arr.length;

var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];

@@ -57,4 +58,4 @@ target[key] = val;

components: {},
setup: function setup(props2, context) {
return _setup({
setup: function setup$1(props2, context) {
return setup({
props: props2,

@@ -116,4 +117,3 @@ context,

var mobile = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
mobile as default
};
export { mobile as default };

@@ -1,11 +0,12 @@

import { renderless, api } from "@opentiny/vue-renderless/button/vue";
import { defineComponent, props, setup as _setup } from "@opentiny/vue-common";
import { iconLoading } from "@opentiny/vue-icon";
import "@opentiny/vue-theme/button/index.css";
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, createCommentVNode, resolveDynamicComponent, normalizeClass, renderSlot, createElementVNode, toDisplayString } from "vue";
function _createForOfIteratorHelperLoose_tiny(o, allowArrayLike) {
import { renderless, api } from '@opentiny/vue-renderless/button/vue';
import { defineComponent, props, setup } from '@opentiny/vue-common';
import { iconLoading } from '@opentiny/vue-icon';
import '@opentiny/vue-theme/button/index.css';
import { resolveComponent, openBlock, createElementBlock, mergeProps, createBlock, createCommentVNode, resolveDynamicComponent, normalizeClass, renderSlot, createElementVNode, toDisplayString } from '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_tiny(o)) || allowArrayLike && o && typeof o.length === "number") {
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it)

@@ -22,7 +23,7 @@ o = it;

}
function _unsupportedIterableToArray_tiny(o, minLen) {
function _unsupportedIterableToArray(o, minLen) {
if (!o)
return;
if (typeof o === "string")
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);

@@ -34,5 +35,5 @@ if (n === "Object" && o.constructor)

if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
return _arrayLikeToArray_tiny(o, minLen);
return _arrayLikeToArray(o, minLen);
}
function _arrayLikeToArray_tiny(arr, len) {
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length)

@@ -46,3 +47,3 @@ len = arr.length;

var target = sfc.__vccOpts || sfc;
for (var _iterator = _createForOfIteratorHelperLoose_tiny(props), _step; !(_step = _iterator()).done; ) {
for (var _iterator = _createForOfIteratorHelperLoose(props), _step; !(_step = _iterator()).done; ) {
var _step$value = _step.value, key = _step$value[0], val = _step$value[1];

@@ -60,4 +61,4 @@ target[key] = val;

},
setup: function setup(props2, context) {
return _setup({
setup: function setup$1(props2, context) {
return setup({
props: props2,

@@ -91,3 +92,3 @@ context,

tabindex: _ctx.tabindex
}, _ctx.a(_ctx.$attrs, ["class", "style"], true)), [_ctx.loading ? (openBlock(), createBlock(_component_icon_loading, {
}, _ctx.a(_ctx.$attrs, ["class", "style", "title", "id"], true)), [_ctx.loading ? (openBlock(), createBlock(_component_icon_loading, {
key: 0,

@@ -111,4 +112,3 @@ class: "tiny-icon-loading tiny-svg-size"

var pc = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
pc as default
};
export { pc as default };
{
"name": "@opentiny/vue-button",
"version": "3.14.0",
"version": "3.15.0",
"description": "",

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

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

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

@@ -11,3 +11,3 @@ export declare const buttonProps: {

icon: {
type: (ObjectConstructor | StringConstructor)[];
type: (StringConstructor | ObjectConstructor)[];
default: string;

@@ -68,3 +68,3 @@ };

icon: {
type: (ObjectConstructor | StringConstructor)[];
type: (StringConstructor | ObjectConstructor)[];
default: string;

@@ -126,3 +126,3 @@ };

icon: {
type: (ObjectConstructor | StringConstructor)[];
type: (StringConstructor | ObjectConstructor)[];
default: string;

@@ -129,0 +129,0 @@ };

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