text: (function(t){function e(e){for(var o,i,l=e[0],s=e[1],c=e[2],p=0,m=[];p<l.length;p++)i=l[p],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&m.push(r[i][0]),r[i]=0;for(o in s)Object.prototype.hasOwnProperty.call(s,o)&&(t[o]=s[o]);u&&u(e);while(m.length)m.shift()();return a.push.apply(a,c||[]),n()}function n(){for(var t,e=0;e<a.length;e++){for(var n=a[e],o=!0,l=1;l<n.length;l++){var s=n[l];0!==r[s]&&(o=!1)}o&&(a.splice(e--,1),t=i(i.s=n[0]))}return t}var o={},r={app:0},a=[];function i(e){if(o[e])return o[e].exports;var n=o[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=o,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)i.d(n,o,function(e){return t[e]}.bind(null,o));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/vue-simple-alert/";var l=window["webpackJsonp"]=window["webpackJsonp"]||[],s=l.push.bind(l);l.push=e,l=l.slice();for(var c=0;c<l.length;c++)e(l[c]);var u=s;a.push([0,"chunk-vendors"]),n()})({0:function(t,e,n){t.exports=n("cd49")},"034f":function(t,e,n){"use strict";var o=n("64a9"),r=n.n(o);r.a},2710:function(t,e,n){"use strict";var o=n("85ce"),r=n.n(o);r.a},"64a9":function(t,e,n){},"85ce":function(t,e,n){},cd49:function(t,e,n){"use strict";n.r(e);n("cadf"),n("551c"),n("f751"),n("097d");var o=n("2b0e"),r=n("683f"),a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"app"}},[n("GithubRibbon",{attrs:{url:"https://github.com/constkhi/vue-simple-alert"}}),n("header",{attrs:{id:"header"}},[t._m(0),n("div",{attrs:{id:"title"}},[n("h1",[t._v("\n        vue-simple-alert examples\n        "),n("small",[t._v("("+t._s(t.v)+")")]),n("h3",[t._v("("+t._s(t.des)+")")])])])]),n("h2",[t._v("Alert examples")]),n("div",{attrs:{id:"examples"}},[n("div",{attrs:{id:"alert-example"}},[n("button",{attrs:{type:"button"},on:{click:t.alertExample0}},[t._v("Normal Alert")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.alertExample1}},[t._v("\n        Simple\n      ")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.alertExample2}},[t._v("\n        With title\n      ")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.alertExample3}},[t._v("\n        Success icon\n      ")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.alertExample4}},[t._v("\n        Warning icon\n      ")])]),n("br"),n("h2",[t._v("Confirm examples")]),n("div",{attrs:{id:"confirm-example"}},[n("button",{attrs:{type:"button"},on:{click:t.confirmExample0}},[t._v("Normal Confirm")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.confirmExample1}},[t._v("\n        Simple\n      ")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.confirmExample2}},[t._v("\n        Question icon\n      ")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.confirmExample3}},[t._v("\n        Error icon\n      ")])]),n("br"),n("h2",[t._v("Prompt examples")]),n("div",{attrs:{id:"prompt-example"}},[n("button",{attrs:{type:"button"},on:{click:t.promptExample0}},[t._v("Normal Prompt")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.promptExample1}},[t._v("\n        Simple Prompt\n      ")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.promptExample2}},[t._v("\n        Question icon\n      ")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.promptExample3}},[t._v("\n        Prompt email\n      ")])]),n("br"),n("h2",[t._v("Advanced examples")]),n("div",{attrs:{id:"advanced-example"}},[n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.advancedExample1}},[t._v("\n        Animation\n      ")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.advancedExample2}},[t._v("\n        Custom button text\n      ")]),n("button",{staticClass:"swal2-confirm swal2-styled",attrs:{type:"button"},on:{click:t.advancedExample3}},[t._v("\n        Reverse buttons\n      ")])])])],1)},i=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{attrs:{id:"logo"}},[o("img",{attrs:{id:"logo-image",alt:"Vue logo",src:n("cf05")}})])}],l=n("9ab4"),s=n("60a3"),c=n("0cab"),u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("a",{staticClass:"github-corner",attrs:{href:t.url,"aria-label":"View source on GitHub"}},[n("svg",{staticStyle:{fill:"#151513",color:"#fff",position:"absolute",top:"0",border:"0",right:"0"},attrs:{width:"80",height:"80",viewBox:"0 0 250 250","aria-hidden":"true"}},[n("path",{attrs:{d:"M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"}}),n("path",{staticClass:"octo-arm",staticStyle:{"transform-origin":"130px 106px"},attrs:{d:"M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2",fill:"currentColor"}}),n("path",{staticClass:"octo-body",attrs:{d:"M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z",fill:"currentColor"}})])])},p=[],m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return l["b"](e,t),l["a"]([Object(s["b"])({type:String,required:!0})],e.prototype,"url",void 0),e=l["a"]([s["a"]],e),e}(s["c"]),f=m,d=f,h=(n("2710"),n("2877")),b=Object(h["a"])(d,u,p,!1,null,null,null),v=b.exports,y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.v=c["b"],e.des=c["a"],e}return l["b"](e,t),e.prototype.alertExample0=function(){window.alert("This is normal alert.")},e.prototype.alertExample1=function(){this.$alert("This is simple but cool alert.").then((function(){return console.log("Closed")}))},e.prototype.alertExample2=function(){this.$alert("This is simple but cool alert with title.","Example").then((function(){return console.log("Closed")}))},e.prototype.alertExample3=function(){this.$alert("This is simple but cool alert with icon.","Success","success").then((function(){return console.log("Closed")}))},e.prototype.alertExample4=function(){this.$alert("This is simple but cool alert with icon.","Warning","warning").then((function(){return console.log("Closed")}))},e.prototype.confirmExample0=function(){window.confirm("This is normal confirm.")},e.prototype.confirmExample1=function(){this.$confirm("This is cool confirm.","Confirm")},e.prototype.confirmExample2=function(){this.$confirm("This is cool confirm with question icon.","Question","question").then((function(t){console.log(t)})).catch((function(){console.log("OK not selected.")}))},e.prototype.confirmExample3=function(){var t=this;this.$confirm("This is cool confirm with error icon.","Error","error").then((function(e){console.log(e),t.$alert("OK selected.")})).catch((function(){console.log("OK not selected.")}))},e.prototype.promptExample0=function(){window.alert(window.prompt("Input your name","John Doe"))},e.prototype.promptExample1=function(){var t=this;this.$prompt("Input your name","John Doe").then((function(e){e&&t.$alert(e,"Your name is:","success")}))},e.prototype.promptExample2=function(){var t=this;this.$prompt("Input your name","John Doe","Example","question").then((function(e){t.$alert(e,"Your name is:","success")})).catch((function(){return console.log("canceled")}))},e.prototype.promptExample3=function(){var t=this;this.$prompt("Input your email","someone@example.com","Example","question",{input:"email"}).then((function(e){t.$alert(e,"Your email is:","success")})).catch((function(){return console.log("canceled")}))},e.prototype.advancedExample1=function(){var t=this,e={title:"<strong>Advanced</strong> &nbsp; example",text:"This dialog will be closed after 3 seconds.",footer:"<a href=''>Check out sweetalert2 documentation.</a>",type:"success",showCancelButton:!0,confirmButtonText:"<i class='fa fa-thumbs-up'></i> Great!",cancelButtonText:"No, cancel!",reverseButtons:!0,timer:3e3,width:500,animation:!1,customClass:{popup:"animated tada"},padding:"3em",background:"#fff",backdrop:"\n        rgba(0,0,123,0.4)\n        center left\n        no-repeat\n      "};this.$fireAlert(e).then((function(e){e.value&&t.$alert(e.value,"Result")}))},e.prototype.advancedExample2=function(){this.$alert("This is advanced alert with custom button text","Example","success",{confirmButtonText:"Got it!"})},e.prototype.advancedExample3=function(){this.$confirm("This is dialog has reversed buttons.","Error","error",{reverseButtons:!0}).then((function(t){console.log(t)})).catch((function(){console.log("OK not selected.")}))},e=l["a"]([Object(s["a"])({components:{GithubRibbon:v}})],e),e}(s["c"]),x=y,w=x,g=(n("034f"),Object(h["a"])(w,a,i,!1,null,null,null)),C=g.exports;o["a"].config.productionTip=!1,o["a"].use(r["a"],{title:"Vue Simple Alert",width:"420px"}),new o["a"]({render:function(t){return t(C)}}).$mount("#app")},cf05:function(t,e,n){t.exports=n.p+"img/logo.png"}});
  //# sourceMappingURL=app.js.map