Comparing version 1.0.5 to 1.0.6
@@ -1,1 +0,1 @@ | ||
import{defineComponent as t,computed as n,openBlock as e,createBlock as l,Fragment as i,createVNode as a,createCommentVNode as o,createTextVNode as u}from"vue";var r=t({name:"CxBtn",props:{size:{type:String,default:"medium"},level:{type:[String,Number],default:"2"},type:{type:String,default:"primary"},content:{type:String,default:""},icon:{type:String,default:""},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup:function(t,r){var c=r.slots,s=n((function(){var n=["cx-btn_wrapper"];return t.disabled&&n.push("cx-btn_disabled"),n.push("cx-btn_"+t.size),n.push("cx-btn_level_"+t.level),n.push("cx-btn_"+t.type),t.loading&&n.push("cx-btn_loading"),n}));return function(n,r){return e(),l("button",{type:"button",class:s.value,onClick:r[0]?r[0]:r[0]=function(n){if(n.preventDefault(),t.disabled)return!1}},{default:function(){return[(e(),l(i,null,[t.loading?a("i",{class:"el-icon-loading"}):o("v-if_loading",!0),t.icon?(n=t.icon,a("i",{class:"iconfont icon-"+n},null,2)):o("v-if_icon",!0),c.default?c.default():u(t.content),t.disabled?a("i",{onClick:function(t){return t.stopPropagation()},class:"cx_mask"}):o("v-if_disabled",!0)]))];var n}},2)}}});r.install=function(t){t.component(r.name,r)};var c=r,s=Object.freeze({__proto__:null,CxBtn:c}),d={install:function(t){Object.values(s).forEach((function(n){t.use(n)}))}},f=s;export default d;export{f as comps}; | ||
import{defineComponent as n,computed as t,openBlock as e,createBlock as l,Fragment as i,createVNode as a,createCommentVNode as o,createTextVNode as u}from"vue";var r=n({name:"CxBtn",props:{size:{type:String,default:"medium"},level:{type:[String,Number],default:"2"},type:{type:String,default:"primary"},content:{type:String,default:""},icon:{type:String,default:""},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup:function(n,r){var c=r.slots,s=t((function(){var t=["cx-btn_wrapper"];return n.disabled&&t.push("cx-btn_disabled"),t.push("cx-btn_"+n.size),t.push("cx-btn_level_"+n.level),t.push("cx-btn_"+n.type),n.loading&&t.push("cx-btn_loading"),t}));return function(t,r){return e(),l("button",{type:"button",class:s.value,onClick:r[0]?r[0]:r[0]=function(t){if(t.preventDefault(),n.disabled)return!1}},[(e(),l(i,null,[n.loading?a("i",{class:"el-icon-loading"}):o("v-if_loading",!0),n.icon?(d=n.icon,a("i",{class:"iconfont icon-"+d},null,2)):o("v-if_icon",!0),c.default?a(c.default,null,null,512):u(n.content,1),n.disabled?a("i",{onClick:function(n){return n.stopPropagation()},class:"cx_mask"}):o("v-if_disabled",!0)],256))],2);var d}}});r.install=function(n){n.component(r.name,r)};var c=r,s=Object.freeze({__proto__:null,CxBtn:c}),d={install:function(n){Object.values(s).forEach((function(t){n.use(t)}))}},p=s;export default d;export{p as comps}; |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["well-bricks"]={},e.Vue)}(this,(function(e,t){"use strict";var n=t.defineComponent({name:"CxBtn",props:{size:{type:String,default:"medium"},level:{type:[String,Number],default:"2"},type:{type:String,default:"primary"},content:{type:String,default:""},icon:{type:String,default:""},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup:function(e,n){var o=n.slots,l=t.computed((function(){var t=["cx-btn_wrapper"];return e.disabled&&t.push("cx-btn_disabled"),t.push("cx-btn_"+e.size),t.push("cx-btn_level_"+e.level),t.push("cx-btn_"+e.type),e.loading&&t.push("cx-btn_loading"),t}));return function(n,i){return t.openBlock(),t.createBlock("button",{type:"button",class:l.value,onClick:i[0]?i[0]:i[0]=function(t){if(t.preventDefault(),e.disabled)return!1}},{default:function(){return[(t.openBlock(),t.createBlock(t.Fragment,null,[e.loading?t.createVNode("i",{class:"el-icon-loading"}):t.createCommentVNode("v-if_loading",!0),e.icon?(n=e.icon,t.createVNode("i",{class:"iconfont icon-"+n},null,2)):t.createCommentVNode("v-if_icon",!0),o.default?o.default():t.createTextVNode(e.content),e.disabled?t.createVNode("i",{onClick:function(e){return e.stopPropagation()},class:"cx_mask"}):t.createCommentVNode("v-if_disabled",!0)]))];var n}},2)}}});n.install=function(e){e.component(n.name,n)};var o=n,l=Object.freeze({__proto__:null,CxBtn:o}),i={install:function(e){Object.values(l).forEach((function(t){e.use(t)}))}},a=l;e.comps=a,e.default=i,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self)["well-bricks"]={},e.Vue)}(this,(function(e,t){"use strict";var n=t.defineComponent({name:"CxBtn",props:{size:{type:String,default:"medium"},level:{type:[String,Number],default:"2"},type:{type:String,default:"primary"},content:{type:String,default:""},icon:{type:String,default:""},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup:function(e,n){var o=n.slots,l=t.computed((function(){var t=["cx-btn_wrapper"];return e.disabled&&t.push("cx-btn_disabled"),t.push("cx-btn_"+e.size),t.push("cx-btn_level_"+e.level),t.push("cx-btn_"+e.type),e.loading&&t.push("cx-btn_loading"),t}));return function(n,i){return t.openBlock(),t.createBlock("button",{type:"button",class:l.value,onClick:i[0]?i[0]:i[0]=function(t){if(t.preventDefault(),e.disabled)return!1}},[(t.openBlock(),t.createBlock(t.Fragment,null,[e.loading?t.createVNode("i",{class:"el-icon-loading"}):t.createCommentVNode("v-if_loading",!0),e.icon?(a=e.icon,t.createVNode("i",{class:"iconfont icon-"+a},null,2)):t.createCommentVNode("v-if_icon",!0),o.default?t.createVNode(o.default,null,null,512):t.createTextVNode(e.content,1),e.disabled?t.createVNode("i",{onClick:function(e){return e.stopPropagation()},class:"cx_mask"}):t.createCommentVNode("v-if_disabled",!0)],256))],2);var a}}});n.install=function(e){e.component(n.name,n)};var o=n,l=Object.freeze({__proto__:null,CxBtn:o}),i={install:function(e){Object.values(l).forEach((function(t){e.use(t)}))}},a=l;e.comps=a,e.default=i,Object.defineProperty(e,"__esModule",{value:!0})})); |
{ | ||
"name": "chxian-ui", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "xiexuan", |
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
122546