import{t as e}from"./_plugin-vue2_normalizer-BHc2Ljhs.js";import{t}from"./i18n-D3_gXOVe.js";var n=[{title:`#`,key:`index`,width:60},{title:t.t(`KEYWORD_COLUM.KEYWORD`),key:`keyword`,slot:`keyword`,width:220},{title:t.t(`KEYWORD_COLUM.TYPE`),slot:`type`,width:120,key:`type`},{title:t.t(`KEYWORD_COLUM.PRICE`),key:`price`,slot:`price`,width:120},{title:t.t(`KEYWORD_COLUM.PRICE_CURRENT`),key:`priceCurrent`,width:100},{title:t.t(`KEYWORD_COLUM.PRICE_MIN`),key:`priceMin`,width:100},{title:t.t(`KEYWORD_COLUM.PRICE_MAX`),key:`priceMax`,width:100},{title:t.t(`KEYWORD_COLUM.STATUS`),key:`active`,slot:`active`,width:120},{title:t.t(`KEYWORD_COLUM.NOTE`),key:`note`,slot:`note`},{title:t.t(`TABLE_COLUM_ACTION`),slot:`action`,width:120}],r=[{value:`exact`,id:0,label:t.t(`ADS_KEYWORD_TYPE.exact`)},{value:`extend`,id:1,label:t.t(`ADS_KEYWORD_TYPE.extend`)}],i=e=>r.find(t=>t.id===e).value,a=e=>r.find(t=>t.value===e).id,o=e=>r.find(t=>t.value===e).label,s=e({name:`ShopeeKeywordSelectType`,props:{value:{type:String,require:!0}},model:{prop:`value`,event:`change`},data(){return{select:this.value,listOption:r}},methods:{onChange(){this.$emit(`change`,this.select)}}},function(){var e=this,t=e._self._c;return t(`Select`,{attrs:{size:`small`},on:{"on-change":e.onChange},model:{value:e.select,callback:function(t){e.select=t},expression:`select`}},e._l(e.listOption,function(n){return t(`Option`,{key:n.value,attrs:{value:n.value}},[e._v(` `+e._s(n.label)+` `)])}),1)},[],!1,null,null,null,null).exports;export{n as a,i,a as n,o as r,s as t};