first commit
This commit is contained in:
1
dist/assets/CalcPreviewList-DA8bWgJp.js
vendored
Normal file
1
dist/assets/CalcPreviewList-DA8bWgJp.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
import{S as n}from"./StatInput-BU1s-zba.js";import{n as r}from"./index-DDNMzpZj.js";const s={components:{StatInput:n},props:{tag:{type:String,required:!0},name:{type:String,required:!0},quantity:{type:Number,required:!0},max:{type:Number,required:!0},animated:{type:Boolean,required:!0}},computed:{localQuantity:{get(){return this.quantity},set(a){this.$emit("update:quantity",a)}}}};var o=function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-row items-center"},[e("a",{staticClass:"mr-2",attrs:{href:"https://gbf.wiki/"+t.name,target:"_blank",title:"Go to gbf.wiki"}},[e("img",{staticStyle:{"max-height":"25px","max-width":"25px"},attrs:{src:"/img/item/"+t.tag+(t.animated?".gif":".jpg")}}),t._v(" "+t._s(t.name)+" ")]),e("div",[e("stat-input",{attrs:{longName:"Quantity",prop:t.localQuantity,length:t.max.toString().length+1,max:t.max,alignRight:!0},on:{"update:prop":function(i){t.localQuantity=i}}}),t._v(" / "+t._s(t.max)+" "),t.localQuantity<t.max?e("fa-icon",{staticClass:"ml-1 cursor-pointer",attrs:{icon:["fas","check"],title:"Max quantity"},on:{click:function(i){t.localQuantity=t.max}}}):t._e()],1)])},u=[],m=r(s,o,u,!1,null,null);const p=m.exports;export{p as C};
|
||||
Reference in New Issue
Block a user