!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("@xysfe/actui/es/assets/mixins/visible.js")):"function"==typeof define&&define.amd?define(["@xysfe/actui/es/assets/mixins/visible.js"],e):"object"==typeof exports?exports["assets/common/button.js"]=e(require("@xysfe/actui/es/assets/mixins/visible.js")):t["assets/common/button.js"]=e(t["@xysfe/actui/es/assets/mixins/visible.js"])}("undefined"!=typeof self?self:this,function(t){return function(t){function e(o){if(n[o])return n[o].exports;var s=n[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,e),s.l=!0,s.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="../es",e(e.s=896)}({131:function(e,n){e.exports=t},671:function(t,e,n){"use strict";var o=n(131),s=n.n(o);e.a={name:"ActButton",mixins:[s.a],data:function(){return{}},props:{buttondata:{type:Object,default:function(){return{}}},type:{type:String,default:"default"},round:{type:[Boolean,String],default:"2em"}},watch:{buttondata:{deep:!0,immediate:!0,handler:function(t){this.setBtnBgColor(t)}}},methods:{btnClick:function(t){this.$emit("button-click",t)},setBtnBgColor:function(t){if(this.$refs.actbtn)if(t.btnbg){if(t.btnbg.match(/^#/)||t.btnbg.match(/^rgb/i))this.$refs.actbtn.style.background=t.btnbg;else if(t.btnbg.match(/linear-gradient/)){var e=t.btnbg.match(/(linear-gradient)\((.*)\)/);e&&e.length>=3&&(this.$refs.actbtn.style.background=e[1]+"("+e[2]+")",this.$refs.actbtn.style.background="-webkit-"+e[1]+"("+e[2]+")")}}else this.$refs.actbtn.background=""}}}},8:function(t,e,n){"use strict";function o(t,e,n,o,s,r,i,a){t=t||{};var c=typeof t.default;"object"!==c&&"function"!==c||(t=t.default);var u="function"==typeof t?t.options:t;e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),o&&(u.functional=!0),r&&(u._scopeId=r);var f;if(i?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),s&&s.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(i)},u._ssrRegister=f):s&&(f=a?function(){s.call(this,this.$root.$options.shadowRoot)}:s),f)if(u.functional){u._injectStyles=f;var d=u.render;u.render=function(t,e){return f.call(e),d(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,f):[f]}return{exports:t,options:u}}e.a=o},896:function(t,e,n){"use strict";function o(t){a||n(897)}Object.defineProperty(e,"__esModule",{value:!0});var s=n(671),r=n(898),i=n(8),a=!1,c=o,u=Object(i.a)(s.a,r.a,r.b,!1,c,"data-v-44b52f03",null);u.options.__file="src\\components\\common\\button.vue",e.default=u.exports},897:function(t,e){},898:function(t,e,n){"use strict";n.d(e,"a",function(){return o}),n.d(e,"b",function(){return s});var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"actbtn",staticClass:"act-button",class:[t.type?"act-button--"+t.type:""],style:{border:t.buttondata.btnborder,borderRadius:!0===t.round?"2em":t.round},on:{click:t.btnClick}},[t.$slots.default?n("span",{style:{color:t.buttondata.btncolor}},[t._t("default")],2):t._e()])},s=[];o._withStripped=!0}})});