Version Description
Download this release
Release Info
Developer | tareq1988 |
Plugin | Dokan – Best WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy |
Version | 3.2.2 |
Comparing to | |
See all releases |
Code changes from version 3.2.1 to 3.2.2
- assets/js/dokan.js +9 -3
- assets/js/vue-admin.js +0 -1
- assets/js/vue-admin.min.js +1 -1
- assets/js/vue-bootstrap.js +13 -43
- assets/js/vue-bootstrap.min.js +1 -1
- dokan.php +2 -2
- includes/Admin/SetupWizard.php +2 -0
- includes/Ajax.php +1 -1
- includes/Dashboard/Templates/Settings.php +9 -0
- includes/Dashboard/Templates/Withdraw.php +1 -1
- includes/Emails/Manager.php +13 -6
- includes/Emails/VendorCompletedOrder.php +209 -0
- includes/Order/Manager.php +2 -0
- includes/Order/functions.php +4 -3
- includes/Privacy.php +0 -1
- includes/Product/Manager.php +1 -1
- includes/REST/ProductController.php +2 -2
- includes/REST/WithdrawController.php +1 -1
- includes/Registration.php +1 -2
- includes/Rewrites.php +3 -0
- includes/Upgrade/Manager.php +1 -1
- includes/Vendor/Vendor.php +7 -7
- includes/functions.php +34 -19
- includes/reports.php +2 -2
- includes/template-tags.php +5 -1
- includes/wc-functions.php +30 -23
- languages/dokan-lite.php +0 -1
- languages/dokan-lite.pot +317 -279
- readme.txt +52 -27
- templates/admin-setup-wizard/step-selling.php +1 -1
- templates/emails/plain/vendor-completed-order.php +24 -0
- templates/emails/vendor-completed-order.php +111 -0
- templates/orders/details.php +0 -2
- templates/orders/order-item-html.php +8 -5
- templates/products/inventory.php +8 -8
- templates/products/new-product-single.php +1 -1
- templates/products/products-listing-row.php +8 -5
- templates/widgets/widget-content-product.php +8 -5
- vendor/autoload.php +1 -1
- vendor/composer/autoload_classmap.php +1 -0
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +5 -4
assets/js/dokan.js
CHANGED
@@ -1825,7 +1825,7 @@ jQuery(function($) {
|
|
1825 |
$(window).on("beforeunload", function() {
|
1826 |
return dokan.dokan_banner_added_alert_msg;
|
1827 |
});
|
1828 |
-
|
1829 |
$(document).ready(function() {
|
1830 |
$("#store-form").on("submit", function(e) {
|
1831 |
$(window).off("beforeunload");
|
@@ -2604,15 +2604,18 @@ jQuery(function($) {
|
|
2604 |
|
2605 |
.on(
|
2606 |
'change',
|
2607 |
-
'#_sale_price.wc_input_price[type=text], .wc_input_price[name^=variable_sale_price]',
|
2608 |
function() {
|
2609 |
var sale_price_field = $(this),
|
|
|
2610 |
regular_price_field;
|
2611 |
|
2612 |
if (sale_price_field.attr('name').indexOf('variable') !== -1) {
|
2613 |
regular_price_field = sale_price_field
|
2614 |
.parents('.variable_pricing')
|
2615 |
.find('.wc_input_price[name^=variable_regular_price]');
|
|
|
|
|
2616 |
} else {
|
2617 |
regular_price_field = $('#_regular_price');
|
2618 |
}
|
@@ -2638,15 +2641,18 @@ jQuery(function($) {
|
|
2638 |
|
2639 |
.on(
|
2640 |
'keyup',
|
2641 |
-
'#_sale_price.wc_input_price[type=text], .wc_input_price[name^=variable_sale_price]',
|
2642 |
function() {
|
2643 |
var sale_price_field = $(this),
|
|
|
2644 |
regular_price_field;
|
2645 |
|
2646 |
if (sale_price_field.attr('name').indexOf('variable') !== -1) {
|
2647 |
regular_price_field = sale_price_field
|
2648 |
.parents('.variable_pricing')
|
2649 |
.find('.wc_input_price[name^=variable_regular_price]');
|
|
|
|
|
2650 |
} else {
|
2651 |
regular_price_field = $('#_regular_price');
|
2652 |
}
|
1825 |
$(window).on("beforeunload", function() {
|
1826 |
return dokan.dokan_banner_added_alert_msg;
|
1827 |
});
|
1828 |
+
|
1829 |
$(document).ready(function() {
|
1830 |
$("#store-form").on("submit", function(e) {
|
1831 |
$(window).off("beforeunload");
|
2604 |
|
2605 |
.on(
|
2606 |
'change',
|
2607 |
+
'#_sale_price.wc_input_price[type=text], .wc_input_price[name^=variable_sale_price], #_subscription_sale_price.wc_input_price[type=text]',
|
2608 |
function() {
|
2609 |
var sale_price_field = $(this),
|
2610 |
+
product_type_selector = $('#product_type'),
|
2611 |
regular_price_field;
|
2612 |
|
2613 |
if (sale_price_field.attr('name').indexOf('variable') !== -1) {
|
2614 |
regular_price_field = sale_price_field
|
2615 |
.parents('.variable_pricing')
|
2616 |
.find('.wc_input_price[name^=variable_regular_price]');
|
2617 |
+
} else if ( product_type_selector.length && 'subscription' === product_type_selector.find(':selected').val() ) {
|
2618 |
+
regular_price_field = $('#_subscription_price');
|
2619 |
} else {
|
2620 |
regular_price_field = $('#_regular_price');
|
2621 |
}
|
2641 |
|
2642 |
.on(
|
2643 |
'keyup',
|
2644 |
+
'#_sale_price.wc_input_price[type=text], .wc_input_price[name^=variable_sale_price], #_subscription_sale_price.wc_input_price[type=text]',
|
2645 |
function() {
|
2646 |
var sale_price_field = $(this),
|
2647 |
+
product_type_selector = $('#product_type'),
|
2648 |
regular_price_field;
|
2649 |
|
2650 |
if (sale_price_field.attr('name').indexOf('variable') !== -1) {
|
2651 |
regular_price_field = sale_price_field
|
2652 |
.parents('.variable_pricing')
|
2653 |
.find('.wc_input_price[name^=variable_regular_price]');
|
2654 |
+
} else if ( product_type_selector.length && 'subscription' === product_type_selector.find(':selected').val() ) {
|
2655 |
+
regular_price_field = $('#_subscription_price');
|
2656 |
} else {
|
2657 |
regular_price_field = $('#_regular_price');
|
2658 |
}
|
assets/js/vue-admin.js
CHANGED
@@ -6599,7 +6599,6 @@ var Loading = dokan_get_lib('Loading');
|
|
6599 |
gravatar_id: '',
|
6600 |
social: {
|
6601 |
fb: '',
|
6602 |
-
gplus: '',
|
6603 |
youtube: '',
|
6604 |
twitter: '',
|
6605 |
linkedin: '',
|
6599 |
gravatar_id: '',
|
6600 |
social: {
|
6601 |
fb: '',
|
|
|
6602 |
youtube: '',
|
6603 |
twitter: '',
|
6604 |
linkedin: '',
|
assets/js/vue-admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
dokanWebpack([0],[,,function(e,t,a){"use strict";var s=a(10),n=a(28),i=!1;var o=function(e){i||a(27)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Switches.vue",t.a=r.exports},,,,function(e,t,a){"use strict";var s=a(15);t.a={extends:s.Line,props:["data"],data:function(){return{options:{responsive:!0,maintainAspectRatio:!0,scales:{xAxes:[{type:"time",scaleLabel:{display:!1},gridLines:{display:!1},ticks:{fontColor:"#aaa",fontSize:11}}],yAxes:[{scaleLabel:{display:!1},ticks:{fontColor:"#aaa"}}]},legend:{position:"top",onClick:!1},elements:{line:{tension:0,borderWidth:4},point:{radius:5,borderWidth:3,backgroundColor:"#fff",borderColor:"#fff"}},tooltips:{displayColors:!1,callbacks:{label:function(e,t){var a=t.datasets[e.datasetIndex].label||"",s=t.datasets[e.datasetIndex].tooltipLabel||"",n=t.datasets[e.datasetIndex].tooltipPrefix||"",i=s?s+": ":a+": ";return i+=n+e.yLabel}}}}}},mounted:function(){this.renderChart(this.data,this.options)}}},function(e,t,a){"use strict";var s=a(47),n=a(118),i=!1;var o=function(e){i||a(117)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UpgradeBanner.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(55);t.a={components:{Sketch:s.a},props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:"hex",validator:function(e){return-1!==["hsl","hex","rgba","hsv"].indexOf(e)}},presetColors:{type:Array,required:!1,default:function(){return["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]}},disableAlpha:{type:Boolean,required:!1,default:!0},disableFields:{type:Boolean,required:!1,default:!0}},data:function(){return{showColorPicker:!1}},methods:{updateColor:function(e){var t="";e[this.format]&&(t=e[this.format]),this.$emit("input",t)},toggleColorPicker:function(){this.showColorPicker=!this.showColorPicker},setHexColor:function(e){this.updateColor({hex:e})}}}},function(e,t,a){"use strict";var s=a(1),n=(a.n(s),a(2)),i=a(16),o=a(17);t.a={name:"VendorAccountFields",components:{Switches:n.a,UploadImage:i.a,PasswordGenerator:o.a},props:{vendorInfo:{type:Object},errors:{type:Array,required:!1}},data:function(){return{showStoreUrl:!0,showPassword:!1,otherStoreUrl:null,banner:"",defaultUrl:dokan.urls.siteUrl+dokan.urls.storePrefix+"/",showButton:!0,placeholderData:"",delay:500,storeAvailable:null,userNameAvailable:null,emailAvailable:null,storeAvailabilityText:"",userNameAvailabilityText:"",emailAvailabilityText:"",getAccountFields:dokan.hooks.applyFilters("getVendorAccountFields",[])}},watch:{"vendorInfo.store_name":function(e){this.showStoreUrl=!0},"vendorInfo.user_nicename":function(e){void 0!==e&&(this.showStoreUrl=!1,this.otherStoreUrl=this.defaultUrl+e.trim().split(" ").join("-"),this.vendorInfo.user_nicename=e.split(" ").join("-"),this.checkStoreName())},"vendorInfo.user_login":function(e){this.checkUsername()},"vendorInfo.email":function(e){this.checkEmail()}},computed:{storeUrl:function(){var e=this.vendorInfo.store_name.trim().split(" ").join("-");return this.vendorInfo.user_nicename=e,this.otherStoreUrl=this.defaultUrl+e,this.defaultUrl+e}},created:function(){var e=this;this.checkStoreName=Object(s.debounce)(this.checkStore,this.delay),this.checkUsername=Object(s.debounce)(this.searchUsername,this.delay),this.checkEmail=Object(s.debounce)(this.searchEmail,this.delay),this.$root.$on("passwordCancelled",function(){e.showPassword=!1})},methods:{uploadBanner:function(e){this.vendorInfo.banner_id=e.id,this.showButton=!1},uploadGravatar:function(e){this.vendorInfo.gravatar_id=e.id},getId:function(){return this.$route.params.id},onSelectBanner:function(e){this.banner=e.url,this.vendorInfo.banner_id=e.id},getError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},checkStore:function(){var e=this,t=this.vendorInfo.user_nicename;t&&(this.storeAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{store_slug:t}).then(function(t){t.available?(e.storeAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Available","dokan-lite")):(e.storeAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchUsername:function(){var e=this,t=this.vendorInfo.user_login;t&&(this.userNameAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{username:t}).then(function(t){t.available?(e.userNameAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Available","dokan-lite")):(e.userNameAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchEmail:function(){var e=this,t=this.vendorInfo.email;t&&(this.emailAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{email:t}).then(function(t){t.available?(e.emailAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=e.__("Available","dokan-lite")):(e.emailAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=t.message?t.message:e.__("This email is already registered, please choose another one.","dokan-lite"))}))},setPassword:function(e){this.showPassword=!0,this.vendorInfo.user_pass=e},sendEmail:function(e,t){"notify_vendor"===t&&(this.vendorInfo.notify_vendor=e)},getUploadBannerText:function(){var e=dokan.store_banner_dimension.width,t=dokan.store_banner_dimension.height;return this.__("Upload banner for your store. Banner size is (".concat(e,"x").concat(t,") pixels."),"dokan-lite")}}}},function(e,t,a){"use strict";t.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:function(){return{}},methods:{trigger:function(e){this.$emit("input",e.target.checked,e.target.value)}}}},function(e,t,a){"use strict";t.a={name:"UploadImage",inheritAttrs:!1,props:{src:{default:dokan.urls.assetsUrl+"/images/store-pic.png"},showButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Upload Image"},croppingWidth:{type:Number},croppingHeight:{type:Number}},data:function(){return{image:{src:"",id:""}}},methods:{uploadImage:function(){this.openMediaManager(this.onSelectImage)},onSelectImage:function(e){this.image.src=e.url,this.image.id=e.id,this.$emit("uploadedImage",this.image)},openMediaManager:function(e){var t=this;if(t.fileFrame)t.fileFrame.open();else{var a={library:wp.media.query(),multiple:!1,title:this.__("Select & Crop Image","dokan-lite"),priority:20,filterable:"uploaded",autoSelect:!0,suggestedWidth:500,suggestedHeight:300},s={id:"control-id",params:{width:this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),height:this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),flex_width:!!parseInt(dokan.store_banner_dimension["flex-width"],10),flex_height:!!parseInt(dokan.store_banner_dimension["flex-height"],10)},mustBeCropped:function(e,t,a,s,n,i){return(!0!==e||!0!==t)&&((!0!==e||s!==i)&&((!0!==t||a!==n)&&((a!==n||s!==i)&&!(n<=a))))}},n=[new wp.media.controller.Library(a),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:t.calculateImageSelectOptions,control:s})],i={title:this.__("Select Image","dokan-lite"),button:{text:this.__("Select Image","dokan-lite"),close:!1},multiple:!1};i.states=n,t.fileFrame=wp.media(i),t.fileFrame.on("select",function(){t.fileFrame.setState("cropper")}),t.fileFrame.on("cropped",function(a){e(a),t.fileFrame=null}),t.fileFrame.on("skippedcrop",function(){var a=t.fileFrame.state().get("selection").map(function(e){return e.toJSON()}).pop();e(a),t.fileFrame=null}),t.fileFrame.on("close",function(){t.fileFrame=null}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-vendor-option-media"}}),t.fileFrame.open()}},calculateImageSelectOptions:function(e,t){var a,s,n,i,o,r,l=this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),d=this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),c=!!parseInt(dokan.store_banner_dimension["flex-width"],10),u=!!parseInt(dokan.store_banner_dimension["flex-height"],10);o=e.get("width"),i=e.get("height");var p=t.get("control");return t.set("canSkipCrop",!p.mustBeCropped(c,u,l,d,o,i)),(s=o)/(n=i)>(a=l/d)?l=(d=n)*a:d=(l=s)/a,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:o,imageHeight:i,x1:0,y1:0,x2:l,y2:d},!1===u&&!1===c&&(r.aspectRatio=l+":"+d),!1===u&&(r.maxHeight=d),!1===c&&(r.maxWidth=l),r}}}},function(e,t,a){"use strict";t.a={name:"PasswordGenerator",props:{title:{type:String,default:"Generate Password"},cancelTitle:{type:String,default:"Cancel"},regenrateTitle:{type:String,default:"Regenrate"},length:{type:Number,default:25}},data:function(){return{password:"",hideGenerateButton:!1,showCancelButton:!1}},methods:{generatePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password),this.hideGenerateButton=!0,this.showCancelButton=!0},makePassword:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25,t="",a=0;a<=e;a++){t+="abcdefghijklmnopqurstuvwxyz"[Math.floor(Math.random()*e)]+"ABCDEFGHIJKLMNOPQURSTUVWXYZ"[Math.floor(10*Math.random())]+"!@#$%^&*()"[Math.floor(Math.random()*"!@#$%^&*()".length)]}return t.slice(-e)},cancelButton:function(){this.hideGenerateButton=!1,this.showCancelButton=!1,this.$root.$emit("passwordCancelled")},regenratePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password)}}}},function(e,t,a){"use strict";var s=a(3);a.n(s);t.a={name:"VendorAddressFields",components:{Multiselect:s.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{countries:[],states:[],selectedCountry:{},selectedState:{},getAddressFields:dokan.hooks.applyFilters("getVendorAddressFields",[])}},computed:{selectedCode:function(){var e=this.vendorInfo.address.country;return""!==e?e:[]}},created:function(){this.countries=this.transformCountries(dokan.countries),this.states=dokan.states;var e=this.vendorInfo.address.country,t=this.vendorInfo.address.state;""!==e&&(this.selectedCountry={name:this.getCountryFromCountryCode(e),code:e},this.selectedState={name:this.getStateFromStateCode(t,e),code:t})},methods:{transformCountries:function(e){var t=[];for(var a in e)t.push({name:e[a],code:a});return t},getCountryFromCountryCode:function(e){if(""!==e)return dokan.countries[e]},getStateFromStateCode:function(e,t){if(""!==e){var a=dokan.states[t],s=a&&a[e];return void 0!==s?s:[]}},getStatesFromCountryCode:function(e){if(""!==e){var t=[],a=this.states;for(var s in a)if(s===e&&!(a[s]&&a[s].length<1))for(var n in a[s])t.push({name:a[s][n],code:n});return t}},saveCountry:function(e){e&&(this.vendorInfo.address.state=null,this.selectedState={},this.vendorInfo.address.country=e.code)},saveState:function(e){e&&(this.vendorInfo.address.state=e.code)}}}},function(e,t,a){"use strict";var s=a(2),n=a(3);a.n(n);t.a={name:"VendorPaymentFields",components:{Switches:s.a,Multiselect:n.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{enabled:!1,trusted:!1,featured:!1,commissionTypes:[{name:"flat",label:this.__("Flat","dokan-lite")},{name:"percentage",label:this.__("Percentage","dokan-lite")},{name:"combine",label:this.__("Combine","dokan-lite")}],selectedCommissionType:{name:"flat",label:this.__("Flat","dokan-lite")},getBankFields:dokan.hooks.applyFilters("getVendorBankFields",[]),getPyamentFields:dokan.hooks.applyFilters("AfterPyamentFields",[])}},created:function(){this.vendorInfo.enabled&&(this.enabled=!0,this.vendorInfo.enabled=!0),this.vendorInfo.trusted&&(this.trusted=!0,this.vendorInfo.trusted=!0),this.vendorInfo.featured&&(this.featured=!0,this.vendorInfo.featured=!0);var e=this.vendorInfo.admin_commission_type;if(e){var t=_.findWhere(this.commissionTypes,{name:e}),a=t.name,s=t.label;this.selectedCommissionType.name=a,this.selectedCommissionType.label=s}},methods:{setValue:function(e,t){"enabled"===t&&(this.vendorInfo.enabled=!!e),"trusted"===t&&(this.vendorInfo.trusted=!!e),"featured"===t&&(this.vendorInfo.featured=!!e)},getId:function(){return this.$route.params.id},saveCommissionType:function(e){var t=e.name;t||(this.vendorInfo.admin_commission_type="flat"),this.vendorInfo.admin_commission_type=t}}}},,function(e,t,a){"use strict";var s=a(11),n=a(30),i=!1;var o=function(e){i||a(29)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UploadImage.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(12),n=a(31),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/PasswordGenerator.vue",t.a=i.exports},,,function(e,t,a){"use strict";var s=a(6),n=a(0)(s.a,null,!1,null,null,null);n.options.__file="src/admin/components/Chart.vue",t.a=n.exports},,function(e,t){e.exports=jQuery},function(e,t,a){"use strict";var s=a(8),n=a(25),i=!1;var o=function(e){i||a(24)},r=a(0)(s.a,n.a,!1,o,"data-v-01dc0d51",null);r.options.__file="src/admin/components/ColorPicker.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",style:{backgroundColor:e.value},attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("span",[e._v(e._s(e.__("Select Color","dokan-lite")))])]),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){return e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:function(t){return e.updateColor({})}}},[e._v(e._s(e.__("Clear","dokan-lite")))]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[e._v(e._s(e.__("Close","dokan-lite")))])]):e._e(),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(9),n=a(32),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorAccountFields.vue",t.a=i.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("label",{staticClass:"switch tips"},[t("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),t("span",{staticClass:"slider round"})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-upload-image",on:{click:e.uploadImage}},[e.showButton?e._e():a("img",{attrs:{src:e.image.src?e.image.src:e.src}}),e._v(" "),e.showButton?a("button",{on:{click:function(t){return t.preventDefault(),e.uploadImage(t)}}},[e._v("\n "+e._s(e.buttonLabel)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"password-generator"},[e.hideGenerateButton?e._e():a("button",{staticClass:"button button-secondary",on:{click:function(t){return t.preventDefault(),e.generatePassword(t)}}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),e.showCancelButton?a("button",{staticClass:"button regen-button",on:{click:function(t){return t.preventDefault(),e.regenratePassword(t)}}},[a("span",{staticClass:"dashicons dashicons-controls-repeat"}),e._v("\n "+e._s(e.regenrateTitle)+"\n ")]):e._e(),e._v(" "),e.showCancelButton?a("button",{staticClass:"button cancel-button",on:{click:function(t){return t.preventDefault(),e.cancelButton(t)}}},[e._v("\n "+e._s(e.cancelTitle)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Account Info","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[e.getId()?e._e():a("div",{staticClass:"vendor-image"},[a("div",{staticClass:"picture"},[a("p",{staticClass:"picture-header"},[e._v(e._s(e.__("Vendor Picture","dokan-lite")))]),e._v(" "),a("div",{staticClass:"profile-image"},[a("upload-image",{attrs:{croppingWidth:150,croppingHeight:150},on:{uploadedImage:e.uploadGravatar}})],1),e._v(" "),a("p",{staticClass:"picture-footer",domProps:{innerHTML:e._s(e.sprintf(e.__("You can change your profile picutre on %s","dokan-lite"),"<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"))}})]),e._v(" "),a("div",{class:["picture banner",{"has-banner":e.vendorInfo.banner_id}]},[a("div",{staticClass:"banner-image"},[a("upload-image",{attrs:{showButton:e.showButton,buttonLabel:e.__("Upload Banner","dokan-lite")},on:{uploadedImage:e.uploadBanner}})],1),e._v(" "),e.showButton?a("p",{staticClass:"picture-footer"},[e._v(e._s(e.getUploadBannerText()))]):e._e()])]),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("First Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.first_name,expression:"vendorInfo.first_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("First Name","dokan-lite")},domProps:{value:e.vendorInfo.first_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"first_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Last Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.last_name,expression:"vendorInfo.last_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("Last Name","dokan-lite")},domProps:{value:e.vendorInfo.last_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"last_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-name"}},[e._v(e._s(e.__("Store Name","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.store_name,expression:"vendorInfo.store_name"}],class:{"dokan-form-input":!0,"has-error":e.getError("store_name")},attrs:{type:"text",placeholder:e.getError("store_name")?e.__("Store Name is required","dokan-lite"):e.__("Store Name","dokan-lite")},domProps:{value:e.vendorInfo.store_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"store_name",t.target.value)}}})]),e._v(" "),e.getId()?e._e():a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-url"}},[e._v(e._s(e.__("Store URL","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_nicename,expression:"vendorInfo.user_nicename"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Store Url","dokan-lite")},domProps:{value:e.vendorInfo.user_nicename},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_nicename",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[e.showStoreUrl?a("p",{staticClass:"store-url"},[e._v(e._s(e.storeUrl))]):a("p",{staticClass:"store-url"},[e._v(e._s(e.otherStoreUrl))]),e._v(" "),a("span",{class:{"is-available":e.storeAvailable,"not-available":!e.storeAvailable}},[e._v(e._s(e.storeAvailabilityText))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-phone"}},[e._v(e._s(e.__("Phone Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.phone,expression:"vendorInfo.phone"}],staticClass:"dokan-form-input",attrs:{type:"number",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.phone},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"phone",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Email","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.email,expression:"vendorInfo.email"}],class:{"dokan-form-input":!0,"has-error":e.getError("email")},attrs:{type:"email",placeholder:e.getError("email")?e.__("Email is required","dokan-lite"):e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"email",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.emailAvailable,"not-available":!e.emailAvailable}},[e._v(e._s(e.emailAvailabilityText))])])]),e._v(" "),e.getId()?e._e():[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-username"}},[e._v(e._s(e.__("Username","dokan-lite")))]),a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_login,expression:"vendorInfo.user_login"}],staticClass:"dokan-form-input",class:{"dokan-form-input":!0,"has-error":e.getError("user_login")},attrs:{type:"text",placeholder:e.getError("user_login")?e.__("Username is required","dokan-lite"):e.__("Username","dokan-lite")},domProps:{value:e.vendorInfo.user_login},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_login",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.userNameAvailable,"not-available":!e.userNameAvailable}},[e._v(e._s(e.userNameAvailabilityText))])]),e._v(" "),a("div",{staticClass:"checkbox-left notify-vendor"},[a("switches",{attrs:{enabled:!0,value:"notify_vendor"},on:{input:e.sendEmail}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Send the vendor an email about their account.","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-password"}},[e._v(e._s(e.__("Password","dokan-lite")))]),e._v(" "),e.showPassword?a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_pass,expression:"vendorInfo.user_pass"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:"********"},domProps:{value:e.vendorInfo.user_pass},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_pass",t.target.value)}}}):e._e(),e._v(" "),a("password-generator",{attrs:{title:e.__("Generate Password","dokan-lite")},on:{passwordGenerated:e.setPassword}})],1)],e._v(" "),e._l(e.getAccountFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(13),n=a(35),i=!1;var o=function(e){i||a(34)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorAddressFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-1"}},[e._v(e._s(e.__("Street 1","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_1,expression:"vendorInfo.address.street_1"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 1","dokan-lite")},domProps:{value:e.vendorInfo.address.street_1},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_1",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-2"}},[e._v(e._s(e.__("Street 2","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_2,expression:"vendorInfo.address.street_2"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 2","dokan-lite")},domProps:{value:e.vendorInfo.address.street_2},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_2",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"city"}},[e._v(e._s(e.__("City","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.city,expression:"vendorInfo.address.city"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("City","dokan-lite")},domProps:{value:e.vendorInfo.address.city},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"city",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"zip"}},[e._v(e._s(e.__("Zip","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.zip,expression:"vendorInfo.address.zip"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Zip","dokan-lite")},domProps:{value:e.vendorInfo.address.zip},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"zip",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"country"}},[e._v(e._s(e.__("Country","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.countries,multiselect:!1,label:"name","track-by":"name",showLabels:!1,placeholder:e.__("Select Country","dokan-lite")},on:{input:e.saveCountry},model:{value:e.selectedCountry,callback:function(t){e.selectedCountry=t},expression:"selectedCountry"}})],1),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"state"}},[e._v(e._s(e.__("State","dokan-lite")))]),e._v(" "),e.getStatesFromCountryCode(e.selectedCode).length<1?[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.state,expression:"vendorInfo.address.state"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("State","dokan-lite")},domProps:{value:e.vendorInfo.address.state},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"state",t.target.value)}}})]:[a("Multiselect",{attrs:{options:e.getStatesFromCountryCode(e.selectedCode),multiselect:!1,showLabels:!1,label:"name","track-by":"name",placeholder:e.__("Select State","dokan-lite")},on:{input:e.saveState},model:{value:e.selectedState,callback:function(t){e.selectedState=t},expression:"selectedState"}})]],2),e._v(" "),e._l(e.getAddressFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(14),n=a(38),i=!1;var o=function(e){i||a(37)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorPaymentFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"payment-info":!0,"edit-mode":e.getId()}},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Payment Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("Account Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_name,expression:"vendorInfo.payment.bank.ac_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Account Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-number"}},[e._v(e._s(e.__("Account Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_number,expression:"vendorInfo.payment.bank.ac_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("1233456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-name"}},[e._v(e._s(e.__("Bank Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_name,expression:"vendorInfo.payment.bank.bank_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-address"}},[e._v(e._s(e.__("Bank Address","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_addr,expression:"vendorInfo.payment.bank.bank_addr"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Address","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_addr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_addr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"routing-number"}},[e._v(e._s(e.__("Routing Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.routing_number,expression:"vendorInfo.payment.bank.routing_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.routing_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"routing_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"iban"}},[e._v(e._s(e.__("IBAN","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.iban,expression:"vendorInfo.payment.bank.iban"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.iban},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"iban",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"swift"}},[e._v(e._s(e.__("Swift","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.swift,expression:"vendorInfo.payment.bank.swift"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.swift},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"swift",t.target.value)}}})]),e._v(" "),e._l(e.getBankFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{class:{column:e.getId(),"checkbox-group":!e.getId()}},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("PayPal Email","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.paypal.email,expression:"vendorInfo.payment.paypal.email"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.payment.paypal.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.paypal,"email",t.target.value)}}})]),e._v(" "),e.getId()?[a("div",{staticClass:"column"},[a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.commissionTypes,"track-by":"name",label:"label","allow-empty":!1,multiselect:!1,searchable:!1,showLabels:!1},on:{input:e.saveCommissionType},model:{value:e.selectedCommissionType,callback:function(t){e.selectedCommissionType=t},expression:"selectedCommissionType"}})],1)]),e._v(" "),"combine"===e.selectedCommissionType.name?a("div",{staticClass:"column combine-commission"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("div",{staticClass:"combine-commission-field"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"wc_input_decimal dokan-form-input percent_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}}),e._v("\n "+e._s("% +")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_additional_fee,expression:"vendorInfo.admin_additional_fee"}],staticClass:"wc_input_price dokan-form-input fixed_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_additional_fee},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_additional_fee",t.target.value)}}})])]):a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"dokan-form-input",class:{wc_input_price:"flat"==e.selectedCommissionType.name,wc_input_decimal:"flat"!=e.selectedCommissionType.name},attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}})])]:e._e(),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.enabled,value:"enabled"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Enable Selling","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.trusted,value:"trusted"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Publish Product Directly","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.featured,value:"featured"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Make Vendor Featured","dokan-lite")))])],1)])],2),e._v(" "),e._l(e.getPyamentFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,,function(e,t,a){"use strict";t.a={name:"App"}},function(e,t,a){"use strict";var s=a(20),n=a(7),i=dokan_get_lib("Postbox"),o=dokan_get_lib("Loading"),r=dokan_get_lib("Currency");t.a={name:"Dashboard",components:{Postbox:i,Loading:o,Chart:s.a,Currency:r,UpgradeBanner:n.a},data:function(){return{overview:null,feed:null,report:null,subscribe:{success:!1,loading:!1,email:""},hasPro:!!dokan.hasPro}},created:function(){this.fetchOverview(),this.fetchFeed(),this.fetchReport()},methods:{fetchOverview:function(){var e=this;dokan.api.get("/admin/report/summary").done(function(t){e.overview=t})},fetchFeed:function(){var e=this;dokan.api.get("/admin/dashboard/feed").done(function(t){e.feed=t})},fetchReport:function(){var e=this;dokan.api.get("/admin/report/overview").done(function(t){e.report=t})},validEmail:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},emailSubscribe:function(){var e=this;this.validEmail(this.subscribe.email)&&(this.subscribe.loading=!0,jQuery.ajax({url:"https://wedevs.us16.list-manage.com/subscribe/post-json?u=66e606cfe0af264974258f030&id=0d176bb256&c=?",data:{EMAIL:this.subscribe.email,"group[3555][8]":"1"},type:"GET",dataType:"json",cache:!1,contentType:"application/json; charset=utf-8"}).always(function(t){e.subscribe.success=!0,e.subscribe.loading=!1}))}}}},function(e,t,a){"use strict";t.a={name:"UpgradeBanner",data:function(){return{show:!0,upgradeURL:dokan.urls.upgradeToPro}},computed:{showUpgrade:function(){return!dokan.hasPro&&"show"===dokan.proNag}},methods:{dismiss:function(){this.show=!1,wp.ajax.post("dokan-upgrade-dissmiss")}}}},function(e,t,a){"use strict";var s=a(7),n=dokan_get_lib("ListTable"),i=dokan_get_lib("Modal"),o=dokan_get_lib("Currency");t.a={name:"Withdraw",components:{ListTable:n,Modal:i,Currency:o,UpgradeBanner:s.a},data:function(){return{showModal:!1,editing:{id:null,note:null},totalPages:1,perPage:10,totalItems:0,counts:{pending:0,approved:0,cancelled:0},notFound:this.__("No requests found.","dokan-lite"),massPayment:this.__("Paypal Mass Payment File is Generated.","dokan-lite"),showCb:!0,loading:!1,columns:{seller:{label:this.__("Vendor","dokan-lite")},amount:{label:this.__("Amount","dokan-lite")},status:{label:this.__("Status","dokan-lite")},method_title:{label:this.__("Method","dokan-lite")},method_details:{label:this.__("Details","dokan-lite")},note:{label:this.__("Note","dokan-lite")},created:{label:this.__("Date","dokan-lite")},actions:{label:this.__("Actions","dokan-lite")}},requests:[],actionColumn:"seller",hasPro:!!dokan.hasPro}},watch:{"$route.query.status":function(){this.fetchRequests()},"$route.query.page":function(){this.fetchRequests()}},computed:{currentStatus:function(){return this.$route.query.status||"pending"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},actions:function(){return"pending"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"cancel",label:this.__("Cancel","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"pending",label:this.__("Pending","dokan-lite")}]:[]},bulkActions:function(){return"pending"==this.currentStatus?[{key:"approved",label:this.__("Approve","dokan-lite")},{key:"cancelled",label:this.__("Cancel","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"pending",label:this.__("Pending","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:[{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]}},created:function(){this.fetchRequests()},methods:{updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Completed")),this.counts.cancelled=parseInt(e.getResponseHeader("X-Status-Cancelled"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},vendorUrl:function(e){return"1"===window.dokan.hasPro?dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e:dokan.urls.adminRoot+"user-edit.php?user_id="+e},fetchRequests:function(){var e=this;this.loading=!0,dokan.api.get("/withdraw?per_page="+this.perPage+"&page="+this.currentPage+"&status="+this.currentStatus).done(function(t,a,s){e.requests=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},goToPage:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,page:e}})},updateItem:function(e,t){var a=this.requests.findIndex(function(t){return t.id==e});this.$set(this.requests,a,t)},changeStatus:function(e,t){var a=this;this.loading=!0,dokan.api.put("/withdraw/"+t,{status:e}).done(function(e){a.loading=!1,a.fetchRequests()})},onActionClick:function(e,t){var a=this;"cancel"===e&&this.changeStatus("cancelled",t.id),"pending"===e&&this.changeStatus("pending",t.id),"trash"===e&&confirm(this.__("Are you sure?","dokan-lite"))&&(this.loading=!0,dokan.api.delete("/withdraw/"+t.id).done(function(e){a.loading=!1,a.fetchRequests()}))},getPaymentDetails:function(e,t){var a="—";return void 0!==t[e]&&("paypal"===e||"skrill"===e?a=t[e].email||"":"bank"===e&&(t.bank.hasOwnProperty("ac_name")&&(a=this.sprintf(this.__("Account Name: %s","dokan-lite"),t.bank.ac_name)),t.bank.hasOwnProperty("ac_number")&&(a+=this.sprintf(this.__(", Account Number: %s","dokan-lite"),t.bank.ac_number)),t.bank.hasOwnProperty("bank_name")&&(a+=this.sprintf(this.__(", Bank Name: %s","dokan-lite"),t.bank.bank_name)),t.bank.hasOwnProperty("routing_number")&&(a+=this.sprintf(this.__(", Routing Number: %s","dokan-lite"),t.bank.routing_number)))),dokan.hooks.applyFilters("dokan_get_payment_details",a,e,t)},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),onBulkAction:function(e,t){var a=this,s=this;if(_.contains(["delete","approved","cancelled","pending"],e)){var n={};n[e]=t,this.loading=!0,dokan.api.put("/withdraw/batch",n).done(function(e){a.loading=!1,a.fetchRequests()})}if("paypal"===e){var i=t.join(",");jQuery.post(ajaxurl,{dokan_withdraw_bulk:"paypal",id:i,action:"withdraw_ajax_submission",nonce:dokan.nonce},function(e,t,a){if("html/csv"===a.getResponseHeader("Content-type")){var n="",i=a.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var o=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=o&&o[1]&&(n=o[1].replace(/['"]/g,""))}var r=a.getResponseHeader("Content-Type"),l="function"==typeof File?new File([e],n,{type:r}):new Blob([e],{type:r});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(l,n);else{var d=window.URL||window.webkitURL,c=d.createObjectURL(l);if(n){var u=document.createElement("a");void 0===u.download?window.location=c:(u.href=c,u.download=n,document.body.appendChild(u),u.click())}else window.location=c;setTimeout(function(){d.revokeObjectURL(c)},100)}}e&&alert(s.massPayment)})}},openNoteModal:function(e,t){this.showModal=!0,this.editing={id:t,note:e}},updateNote:function(){var e=this;this.showModal=!1,this.loading=!0,dokan.api.put("/withdraw/"+this.editing.id,{note:this.editing.note}).done(function(t){e.loading=!1,e.updateItem(e.editing.id,t),e.editing={id:null,note:null}})}}}},function(e,t,a){"use strict";var s=a(50),n=a(127),i=(a.n(n),a(130));t.a={name:"Premium",components:{Slick:i.a,ProCta:s.a},data:function(){return{asstesUrl:dokan.urls.assetsUrl,buyNowProUrl:"https://wedevs.com/account/",services:[{title:this.__("Premium modules to make everything easier & better","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-01@2x.png"},{title:this.__("Frontend dashboard for vendors with advanced controls","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-02@2x.png"},{title:this.__("Unlimited Product Variations and group product upload","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-03@2x.png"},{title:this.__("Zone wise shipping with multiple method for vendors","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-04@2x.png"},{title:this.__("Store support based on ticket system for your customers","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-05@2x.png"},{title:this.__("Vendors will be able to generate coupon codes","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-06@2x.png"},{title:this.__("Earning, Selling and Commission Reports & Statement","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-07@2x.png"},{title:this.__("24/7 super fast premium customer support for you","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-08@2x.png"},{title:this.__("Add Social profile to your vendor’s store and support for store SEO","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-09@2x.png"}],comparisons:[{title:this.__("Frontend order management","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Seller Statement Reports","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Making Announcements","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Customized Product Categories","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store SEO","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Back Ordering System","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store Contact Form","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Single Product Multiple Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Seller Verification","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Featured Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Multiple Commission Types","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Frontend Shipping Tracking","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Setup Wizard","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Google Maps","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Manage reviews","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Bookable Product","dokan-lite"),compare:{lite:"unavailable",pro:"available"}}],modules:[{title:"Domain",url:"https://wedevs.com/dokan/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"03"},business:{type:"numeric",value:"05"},enterprise:{type:"numeric",value:"20"}},{title:"Modules",url:"https://wedevs.com/dokan/modules/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"08"},business:{type:"numeric",value:"14"},enterprise:{type:"numeric",value:"14"}},{title:"Color Scheme",url:"https://wedevs.com/dokan/modules/color-scheme-customizer/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Review",url:"https://wedevs.com/dokan/modules/dokan-vendor-review/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Store Support",url:"https://wedevs.com/dokan/modules/store-support/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Auction",url:"https://wedevs.com/dokan/modules/dokan-simple-auctions/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Ajax Live Search",url:"https://wedevs.com/dokan/modules/ajax-live-search/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Stripe Connect",url:"https://wedevs.com/dokan/modules/stripe-connect/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Subscriptions",url:"https://wedevs.com/dokan/modules/subscription/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Single Product Multivendor",url:"https://wedevs.com/dokan/modules/single-product-multivendor/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Seller Verification",url:"https://wedevs.com/dokan/modules/seller-verification/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"WC Booking Integration",url:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Staff Manager",url:"https://wedevs.com/dokan/modules/vendor-staff-manager/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Export Import",url:"https://wedevs.com/dokan/modules/export-import/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Product Enquiry",url:"https://wedevs.com/dokan/modules/product-enquiry/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Vacation",url:"https://wedevs.com/dokan/modules/vendor-vacation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Return and Warranty Request",url:"https://wedevs.com/dokan/modules/rma/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Moip",url:"https://wedevs.com/dokan/modules/moip/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Follow Store",url:"https://wedevs.com/dokan/modules/follow-store/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Geolocation",url:"https://wedevs.com/dokan/modules/geolocation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Shipstation",url:"https://wedevs.com/dokan/modules/shipstation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Wholesale",url:"https://wedevs.com/dokan/modules/wholesale/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}}],payment:{thumbnail:dokan.urls.assetsUrl+"/images/premium/payment-options.png",guaranteeThumbnail:dokan.urls.assetsUrl+"/images/premium/gaurantee-thumb.png",viewIcon:dokan.urls.assetsUrl+"/images/premium/view-icon@2x.png",termsPolicyUrl:"https://wedevs.com/refund-policy/"},slickOptions:{slidesToShow:1,fade:!0,speed:500,cssEase:"linear",autoplay:!0,autoplaySpeed:2e3,infinite:!0,accessibility:!0,adaptiveHeight:!1,arrows:!1,dots:!0,draggable:!0,edgeFriction:.3,swipe:!0},testimonials:[{name:"Melissa McGovern",designation:"Director, Hawk And PeddleProjects",pic:dokan.urls.assetsUrl+"/images/premium/melissa.jpg",content:"We're still a new business and are continuing to build our platform. Dokan has halved the time it would take us to build our ecommerce platform by being feature rich and easy to install and configure."},{name:"Morten J. Christensen",designation:"Owner, Dincatering",pic:dokan.urls.assetsUrl+"/images/premium/Morten-J.-Christensen.jpg",content:"First and foremost it enables the possibility for actually creating the kind of marketplace i wanted. The plugin lets me create a local marketplace for local danish catering suppliers to showcase and sell their offers of the season."},{name:"Cédric Lefrancq",designation:"Webmaster, Unwebmaster.Be",pic:dokan.urls.assetsUrl+"/images/premium/cedric-lefrancq.jpeg",content:"The support is very good. The plugin is perfect. Bugs are fixed very quickly. That’s a very good plugin."},{name:"David Gaz",designation:"Founder, The Bureau Of Small Projects",pic:dokan.urls.assetsUrl+"/images/premium/david-gaz.jpeg",content:"It’s hands down an amazing plugin. But their support is even more amazing. They got back to me within hours on the weekend."}],cta:{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.buynowpro}}},methods:{next:function(){this.$refs.slick.next()},prev:function(){this.$refs.slick.prev()},reInit:function(){var e=this;this.$nextTick(function(){e.$refs.slick.reSlick()})}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(51),n=a(126),i=!1;var o=function(e){i||a(125)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ProCta.vue",t.a=r.exports},function(e,t,a){"use strict";t.a={name:"ProCta",data:function(){return{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.upgradeToPro}}}},function(e,t,a){"use strict";var s=a(7),n=dokan_get_lib("Postbox"),i=dokan_get_lib("Loading");t.a={name:"Help",components:{Postbox:n,Loading:i,UpgradeBanner:s.a},data:function(){return{docs:null,hasPro:!!dokan.hasPro}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;dokan.api.get("/admin/help").done(function(t){e.docs=t})}}}},function(e,t,a){"use strict";var s=a(137),n=a(167),i=a(7),o=dokan_get_lib("Loading");t.a={name:"Settings",components:{Fields:s.a,Loading:o,SettingsBanner:n.a,UpgradeBanner:i.a},data:function(){return{isSaved:!1,showLoading:!1,isUpdated:!1,isLoaded:!1,message:"",currentTab:null,settingSections:[],settingFields:{},settingValues:{},requiredFields:[],errors:[],hasPro:!!dokan.hasPro,searchText:"",awaitingSearch:!1}},computed:{refreshable_props:function(){var e,t={};for(e in this.settingFields){var a=this.settingFields[e],s=void 0;for(s in a)a[s].refresh_after_save&&(t["".concat(e,".").concat(s)]=!0)}return t}},methods:{changeTab:function(e){this.currentTab=e.id,this.requiredFields=[],"undefined"!=typeof localStorage&&localStorage.setItem("activetab",this.currentTab)},showSectionTitle:function(e){return!_.findWhere(e,{type:"sub_section"})},sectionTitle:function(e){return _.findWhere(this.settingSections,{id:e}).title},fetchSettingValues:function(){var e=this,t={action:"dokan_get_setting_values",nonce:dokan.nonce};e.showLoading=!0,jQuery.post(dokan.ajaxurl,t,function(t){t.success&&(Object.keys(e.settingFields).forEach(function(a,s){Object.keys(e.settingFields[a]).forEach(function(s,n){e.settingValues[a]||(e.settingValues[a]={}),void 0===t.data[a][s]?void 0===e.settingFields[a][s].default?e.settingValues[a][s]="":e.settingValues[a][s]=e.settingFields[a][s].default:e.settingValues[a][s]=t.data[a][s]})}),e.settingValues=jQuery.extend({},e.settingValues),e.showLoading=!1,e.isLoaded=!0)})},showMedia:function(e,t){var a=this,s=wp.media.frames.file_frame=wp.media({title:this.__("Choose your file","dokan-lite"),button:{text:this.__("Select","dokan-lite")},multiple:!1});s.on("select",function(){var t=s.state().get("selection").first().toJSON();a.settingValues[e.sectionId][e.name]=t.url}),s.open()},saveSettings:function(e,t){if(this.formIsValid(t)){var a=this,s={action:"dokan_save_settings",nonce:dokan.nonce,settingsData:e,section:t};a.showLoading=!0,jQuery.post(dokan.ajaxurl,s).done(function(s){var n,i=s.data.settings;for(n in a.isSaved=!0,a.isUpdated=!0,a.message=s.data.message,a.settingValues[i.name]=i.value,e){var o="".concat(t,".").concat(n);if(a.refreshable_props[o]){window.location.reload();break}}}).fail(function(e){var t=e.responseJSON.data.map(function(e){return e.message});alert(t.join(" "))}).always(function(){a.showLoading=!1})}},formIsValid:function(e){var t=this,a=Object.keys(this.settingFields),s=this.requiredFields;return!!a&&(a.forEach(function(a,n){if(e===a){var i=t.settingFields[a];Object.values(i).forEach(function(e){var t=e.fields;t&&Object.values(t).forEach(function(e){e&&e.required&&"yes"===e.required&&!s.includes(e.name)&&s.push(e.name)}),e&&e.required&&"yes"===e.required&&(s.includes(e.name)||s.push(e.name))})}}),this.errors=[],s.forEach(function(e){Object.values(t.settingValues).forEach(function(a){e in a&&a[e].length<1&&(t.errors.includes(e)||(t.errors.push(e),"flat"!==a.commission_type&&"percentage"!==a.commission_type||(t.errors=t.arrayRemove(t.errors,"admin_percentage"),t.errors=t.arrayRemove(t.errors,"additional_fee"))))})}),this.errors.length<1)},arrayRemove:function(e,t){return e.filter(function(e){return e!==t})},toggleLoadingState:function(){this.showLoading=!this.showLoading},clearSearch:function(){this.searchText="",this.validateBlankSearch()},validateBlankSearch:function(){return""!==this.searchText.toLowerCase()||(this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,!1)},searchInSettings:function(e){var t=this;this.validateBlankSearch()&&(this.awaitingSearch||setTimeout(function(){var e=t.$refs.searchInSettings.value.toLowerCase();t.doSearch(e),t.awaitingSearch=!1},1e3),this.awaitingSearch=!0)},doSearch:function(e){var t=this,a={},s=[],n=[],i=dokan.settings_fields;Object.keys(i).forEach(function(t,n){Object.keys(i[t]).forEach(function(n,o){if("sub_section"!==i[t][n].type){var r=i[t][n].label.toLowerCase();r&&r.includes(e)&&(a[t]||(a[t]={}),a[t][n]=i[t][n],-1===s.indexOf(t)&&s.push(t))}})});var o=0;Object.keys(dokan.settings_sections).forEach(function(e,a){-1!==s.indexOf(dokan.settings_sections[e].id)&&(o||(t.changeTab(dokan.settings_sections[e]),o=1),n.push(dokan.settings_sections[e]))}),this.settingFields=a,this.settingSections=n}},created:function(){this.fetchSettingValues(),this.currentTab="dokan_general","undefined"!=typeof localStorage&&(this.currentTab=localStorage.getItem("activetab")?localStorage.getItem("activetab"):"dokan_general"),this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields}}},function(e,t,a){"use strict";var s=a(139),n=a.n(s),i=a(140),o=a.n(i),r=a(23);function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var c=dokan_get_lib("TextEditor"),u=dokan_get_lib("GoogleMaps"),p=dokan_get_lib("Mapbox"),m=dokan_get_lib("RefreshSettingOptions");t.a={name:"Fields",components:{colorPicker:r.a,TextEditor:c,GoogleMaps:u,Mapbox:p,RefreshSettingOptions:m},props:["id","fieldData","sectionId","fieldValue","allSettingsValues","errors","toggleLoadingState"],data:function(){return{repeatableItem:{},hideMap:!1}},computed:{shoudShow:function(){var e=!0;if(this.fieldData.show_if){var t=this.fieldData.show_if,a=Object.keys(t),s=0;for(s=0;s<a.length;s++){var n=a[s],i=n.split(".").reverse(),r=o()(i,2),l=r[0],d=r[1],c=void 0===d?this.sectionId:d,u=this.allSettingsValues[c][l],p=_.chain(t[n]).pairs().first().value(),m=o()(p,2),v=m[0],f=m[1];switch(v){case"greater_than":u>f||(e=!1);break;case"greater_than_equal":u>=f||(e=!1);break;case"less_than":u<f||(e=!1);break;case"less_than":u<=f||(e=!1);break;case"equal":default:u!=f&&(e=!1)}if(!e)break}}return e},mapApiSource:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.map_api_source},mapLocation:function(){var e=d(d({},{latitude:23.709921,longitude:90.40714300000002,address:"Dhaka",zoom:10}),this.fieldValue[this.fieldData.name]);return e={latitude:parseFloat(e.latitude),longitude:parseFloat(e.longitude),address:"".concat(e.address),zoom:parseInt(e.zoom)}},googleMapApiKey:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.gmap_api_key},mapboxAccessToken:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.mapbox_access_token}},beforeMount:function(){"multicheck"!==this.fieldData.type||this.fieldValue[this.fieldData.name]||(this.fieldValue[this.fieldData.name]=this.fieldData.default)},methods:{containCommonFields:function(e){return _.contains([void 0,"text","email","url","phone","time"],e)},addItem:function(e,t){this.fieldValue[t]=this.fieldValue[t]||[],void 0!==this.repeatableItem[t]&&this.repeatableItem[t]&&(this.fieldValue[t].push({id:this.repeatableItem[t].trim().replace(/\s+/g,"_").toLowerCase(),value:this.repeatableItem[t]}),this.repeatableItem[t]="")},removeItem:function(e,t){this.fieldValue[t].splice(e,1)},haveCondition:function(e){return e.hasOwnProperty("condition")},checkConditionLogic:function(e,t){var a=e.condition.logic,s=!1;return _.each(a,function(e,a){_.contains(e,t[a])&&(s=!0)}),s},onHideMap:function(e){this.hideMap=e},onUpdateMap:function(e){this.fieldValue[this.fieldData.name]=d(d({},this.mapLocation),e)},hasError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},getError:function(e){return e+" "+this.__("is required.","dokan-lite")}}}},,,,,,,,,function(e,t,a){"use strict";t.a={name:"SettingsBanner",data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},computed:{bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(173),n=a(7),i=dokan_get_lib("ListTable"),o=dokan_get_lib("Switches"),r=dokan_get_lib("Search");t.a={name:"Vendors",components:{ListTable:i,Switches:o,Search:r,AddVendor:s.a,UpgradeBanner:n.a},data:function(){return{showCb:!0,hasPro:dokan.hasPro,counts:{pending:0,approved:0,all:0},vendorId:0,totalItems:0,perPage:20,totalPages:1,loading:!1,columns:{store_name:{label:this.__("Store","dokan-lite"),sortable:!0},email:{label:this.__("E-mail","dokan-lite")},phone:{label:this.__("Phone","dokan-lite")},registered:{label:this.__("Registered","dokan-lite"),sortable:!0},enabled:{label:this.__("Status","dokan-lite")}},actionColumn:"title",actions:[{key:"edit",label:this.__("Edit","dokan-lite")},{key:"products",label:this.__("Products","dokan-lite")},{key:"orders",label:this.__("Orders","dokan-lite")}],bulkActions:[{key:"approved",label:this.__("Approve Vendors","dokan-lite")},{key:"pending",label:this.__("Disable Selling","dokan-lite")}],vendors:[],loadAddVendor:!1,dokanVendorHeaderArea:dokan.hooks.applyFilters("getDokanVendorHeaderArea",[]),isVendorSwitchingEnabled:!1}},watch:{"$route.query.status":function(){this.fetchVendors()},"$route.query.page":function(){this.fetchVendors()},"$route.query.orderby":function(){this.fetchVendors()},"$route.query.order":function(){this.fetchVendors()}},computed:{currentStatus:function(){return this.$route.query.status||"all"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},sortBy:function(){return this.$route.query.orderby||"registered"},sortOrder:function(){return this.$route.query.order||"desc"},storeCategory:function(){return this.$route.query.store_category||null}},created:function(){var e=this;this.$root.$on("modalClosed",function(){e.loadAddVendor=!1,e.vendorId=0}),this.fetchVendors(),this.$root.$on("vendorAdded",function(t){e.vendors.unshift(t)}),this.$root.$on("addAnotherVendor",function(){e.loadAddVendor=!0}),this.$root.$on("categoryFetched",function(t){e.categories=t.categories,e.isCategoryMultiple=t.isCategoryMultiple,e.columns=t.columns}),this.isVendorSwitchingEnabled=!!dokan.is_vendor_switching_enabled,this.isVendorSwitchingEnabled&&this.actions.push({key:"switch_to",label:this.__("Switch To","dokan-lite")})},methods:{addNew:function(){this.loadAddVendor=!0},doSearch:function(e){var t=this,a=this;a.loading=!0,dokan.api.get("/stores?search=".concat(e),{page:this.currentPage,orderby:this.sortBy,order:this.sortOrder}).done(function(e,s,n){a.vendors=e,a.loading=!1,t.updatedCounts(n),t.updatePagination(n)})},updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Approved")),this.counts.all=parseInt(e.getResponseHeader("X-Status-All"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},fetchVendors:function(){var e=this;e.loading=!0;var t={per_page:e.perPage,page:e.currentPage,status:e.currentStatus,orderby:e.sortBy,order:e.sortOrder,store_category:e.storeCategory};dokan.api.get("/stores",t).done(function(t,a,s){e.vendors=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},onActionClick:function(e,t){"trash"===e&&confirm("Are you sure to delete?")&&alert("deleted: "+t.title)},onSwitch:function(e,t){var a=this,s=!1===e?this.__("The vendor has been disabled.","dokan-lite"):this.__("Selling has been enabled","dokan-lite");dokan.api.put("/stores/"+t+"/status",{status:!1===e?"inactive":"active"}).done(function(e){a.$notify({title:a.__("Success!","dokan-lite"),type:"success",text:s}),"all"!==a.currentStatus&&"pending"!==a.currentStatus&&"approved"!==a.currentStatus||a.fetchVendors()})},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),goToPage:function(e){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:e}})},onBulkAction:function(e,t){var a=this,s={};s[e]=t,this.loading=!0,dokan.api.put("/stores/batch",s).done(function(e){a.loading=!1,a.fetchVendors()})},sortCallback:function(e,t){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:1,orderby:e,order:t}})},productUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=product&author="+e},ordersUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=shop_order&vendor_id="+e},editUrl:function(e){return dokan.urls.adminRoot+"user-edit.php?user_id="+e},switchToUrl:function(e){return e.switch_url}}}},function(e,t,a){"use strict";var s=a(26),n=a(33),i=a(36),o=dokan_get_lib("Modal"),r=dokan_get_lib("Loading");t.a={name:"AddVendor",props:["vendorId"],components:{Modal:o,Loading:r,VendorAccountFields:s.a,VendorAddressFields:n.a,VendorPaymentFields:i.a},data:function(){return{isLoading:!1,storeId:"",nextBtn:this.__("Next","dokan-lite"),title:this.__("Add New Vendor","dokan-lite"),tabs:{VendorAccountFields:{label:this.__("Account Info","dokan-lite"),name:"VendorAccountFields",icon:"dashicons dashicons-admin-users"},VendorAddressFields:{label:this.__("Address","dokan-lite"),name:"VendorAddressFields",icon:"dashicons dashicons-admin-home"},VendorPaymentFields:{label:this.__("Payment Options","dokan-lite"),name:"VendorPaymentFields",icon:"dashicons dashicons-money"}},currentTab:"VendorAccountFields",store:{store_name:"",user_pass:"",store_url:"",user_login:"",email:"",user_nicename:"",notify_vendor:!0,phone:"",banner:"",banner_id:"",gravatar:"",gravatar_id:"",social:{fb:"",gplus:"",youtube:"",twitter:"",linkedin:"",pinterest:"",instagram:""},payment:{bank:{ac_name:"",ac_number:"",bank_name:"",bank_addr:"",routing_number:"",iban:"",swift:""},paypal:{email:""}},address:{street_1:"",street_2:"",city:"",zip:"",state:"",country:""}},requiredFields:["store_name","user_login","email"],errors:[],storeAvailable:!1,userNameAvailable:!1,emailAvailable:!1,hasPro:dokan.hasPro}},created:function(){var e=this;this.$root.$on("vendorInfoChecked",function(t){e.storeAvailable=t.storeAvailable,e.userNameAvailable=t.userNameAvailable,e.emailAvailable=t.emailAvailable})},methods:{getId:function(){return this.$route.params.id},showAlert:function(e,t,a){this.$swal(e,t,a)},createVendor:function(){var e=this;this.formIsValid()&&("VendorPaymentFields"===this.currentTab&&(this.isLoading=!0,dokan.api.post("/stores/",this.store).done(function(t){e.$root.$emit("vendorAdded",t),e.$swal({type:"success",title:e.__("Vendor Created","dokan-lite"),text:e.__("A vendor has been created successfully!","dokan-lite"),showCloseButton:!0,showCancelButton:!0,confirmButtonText:e.__("Add Another","dokan-lite"),cancelButtonText:e.__("Edit Vendor","dokan-lite"),focusConfirm:!1}).then(function(a){a.value?e.$root.$emit("addAnotherVendor"):a.dismiss===e.$swal.DismissReason.cancel&&(e.hasPro?e.$router.push({path:"vendors/"+t.id,query:{edit:"true"}}):window.location.replace("".concat(dokan.urls.adminRoot,"user-edit.php?user_id=").concat(t.id)))})}).fail(function(t){e.showAlert(e.__(t.responseJSON.message,"dokan-lite"),"","error")}).always(function(){e.$root.$emit("modalClosed")})),this.currentTab="VendorPaymentFields"===this.currentTab?"VendorPaymentFields":this.nextTab(this.tabs,this.currentTab))},nextTab:function(e,t){var a=Object.keys(e),s=a[a.indexOf(t)+1];return s},closeModal:function(){this.$root.$emit("modalClosed")},formIsValid:function(){var e=this,t=this.requiredFields,a=this.store;return this.errors=[],t.forEach(function(t){t in a&&a[t].length<1&&e.errors.push(t)}),!!(this.errors.length<1&&this.storeAvailable&&this.userNameAvailable&&this.emailAvailable)||(this.currentTab="VendorAccountFields",!1)}}}},function(e,t,a){"use strict";var s=a(50);t.a={name:"VendorCapabilities",components:{ProCta:s.a},data:function(){return{showPopup:!1,selectedCapabilityImage:"",capabilityCards:[{title:this.__("Coupons","dokan-lite"),content:this.__("Each vendor can create unlimited discount coupon codes for their products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-coupon.svg")},{title:this.__("Shipping","dokan-lite"),content:this.__("Vendors can configure their own shipping costs for each country, state & single products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-shipping.svg")},{title:this.__("Duplicate Product","dokan-lite"),content:this.__("Vendors can duplicate their own products for ease and time saving.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-duplicate-product.svg")},{title:this.__("Reporting","dokan-lite"),content:this.__("Earning, selling and commissions reports for vendors to improve sales & take major decisions.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-reports.svg")},{title:this.__("Create Tags","dokan-lite"),content:this.__("Vendors can create & attach tags to products to categorize & for better search engine optimization.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-create-tags.svg")},{title:this.__("Vendor Biography","dokan-lite"),content:this.__("Vendors can write about themselves & about their store in a text field which visitors can see from the store page","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-biography.svg")},{title:this.__("Vendor Product Upload","dokan-lite"),content:this.__("New vendors can start uploading products upon registration if admins allow.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-product-upload.svg")},{title:this.__("Order Status Change","dokan-lite"),content:this.__("Vendors will be able to mark products as draft & update the order status to inform customers about progress.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-order-status-change.svg")},{title:this.__("Social Share","dokan-lite"),content:this.__("Visitors and customers can share a store page with their friends and acquaintances on their social profiles.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-share.svg")},{title:this.__("Variable Product","dokan-lite"),content:this.__("Vendors can create variable products with predefined and custom attributes.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-variable-product.svg")},{title:this.__("Store Opening & Closing Time","dokan-lite"),content:this.__("Vendors can define the working hours of their online store for each day of the week for visitors to see.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-opening-closing-hours.svg")},{title:this.__("Woocommerce Booking Integration","dokan-lite"),content:this.__("Create hotel rooms, resorts, conference rooms, cars, bikes, etc for renting out.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-woocommerce-booking.svg")},{title:this.__("Announcement For Vendors","dokan-lite"),content:this.__("Admins can make announcements targeted to a single vendor, multiple or all vendors.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-announcement-vendors.svg")},{title:this.__("Woocommerce Simple Auctions Integration","dokan-lite"),content:this.__("Sell auction-able products in your store with Dokan’s integration.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-simple-auction.svg")},{title:this.__("Social Profiles","dokan-lite"),content:this.__("Vendors can upload & showcase their Facebook, Twitter and Linkedin profiles on their store page.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-profile.svg")},{title:this.__("Refund","dokan-lite"),content:this.__("Vendors can send refund requests for an order to the admins who can approve or deny it from the dashboard.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-refund.svg")},{title:this.__("Store Seo","dokan-lite"),content:this.__("The Yoast SEO integration lets vendors define Store Title, Description, Slug and Keyword to appear in search engine results.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-store-seo.svg")}]}},methods:{closePopup:function(){this.showPopup=!1},openPopup:function(e){this.showPopup=!0,this.selectedCapabilityImage=e}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner.svg")}}}},function(e,t,a){"use strict";var s=a(182);t.a={name:"ProModules",components:{ModuleUpgradePopup:s.a},data:function(){return{modules:[{name:this.__("WooCommerce Booking Integration","dokan-lite"),description:this.__("Integrates WooCommerce Booking with Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/booking.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-bookings/",modLink:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/"},{name:this.__("Color Scheme Customizer","dokan-lite"),description:this.__("A Dokan plugin Add-on to Customize Colors of Dokan Dashboard","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/color-scheme-customizer.png"),docLink:"https://wedevs.com/docs/dokan/modules/color-scheme/",modLink:"https://wedevs.com/dokan/modules/color-scheme-customizer/"},{name:this.__("Elementor","dokan-lite"),description:this.__("Elementor Page Builder widgets for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/elementor.png"),docLink:"https://wedevs.com/docs/dokan/modules/elementor-dokan/",modLink:"https://wedevs.com/dokan/modules/elementor/"},{name:this.__("Vendor Product Importer and Exporter","dokan-lite"),description:this.__("This is simple product import and export plugin for vendor","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/import-export.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-dokan-exportimport-add/",modLink:"https://wedevs.com/dokan/modules/export-import/"},{name:this.__("Follow Store","dokan-lite"),description:this.__("Send emails to customers when their favorite store updates.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/follow-store.png"),docLink:"https://wedevs.com/docs/dokan/modules/follow-store/",modLink:"https://wedevs.com/dokan/modules/follow-store/"},{name:this.__("Geolocation","dokan-lite"),description:this.__("Search Products and Vendors by geolocation.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/geolocation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-geolocation/",modLink:"https://wedevs.com/dokan/modules/geolocation/"},{name:this.__("Live Chat","dokan-lite"),description:this.__("Live Chat Between Vendor & Customer.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/live-chat.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-live-chat/",modLink:"https://wedevs.com/dokan/modules/live-chat/"},{name:this.__("Live Search","dokan-lite"),description:this.__("Live product search for WooCommerce store.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/ajax-live-search.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-live-search/",modLink:"https://wedevs.com/dokan/modules/ajax-live-search/"},{name:this.__("Wirecard","dokan-lite"),description:this.__("Wirecard payment gateway for Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wirecard-connect.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-moip-connect/",modLink:"https://wedevs.com/dokan/modules/moip/"},{name:this.__("PayPal Adaptive Payment","dokan-lite"),description:this.__("Allows to send split payments to vendor via PayPal Adaptive Payment gateway.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/paypal-adaptive.png"),docLink:"#",modLink:"#"},{name:this.__("Product Addon","dokan-lite"),description:this.__("WooCommerce Product Addon support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-addon.png"),docLink:"https://wedevs.com/docs/dokan/modules/product-addon/",modLink:"https://wedevs.com/dokan/modules/product-addons/"},{name:this.__("Product Enquiry","dokan-lite"),description:this.__("Enquiry for a specific product to a seller.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-enquiry.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-product-enquiry/",modLink:"https://wedevs.com/dokan/modules/product-enquiry/"},{name:this.__("Report Abuse","dokan-lite"),description:this.__("Let customers report fraudulent or fake products.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/"},{name:this.__("Return and Warranty Request","dokan-lite"),description:this.__("Manage return and warranty from vendor end.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-rma/",modLink:"https://wedevs.com/dokan/modules/rma/"},{name:this.__("Seller Vacation","dokan-lite"),description:this.__("Using this plugin seller can go to vacation by closing their stores.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/seller-vacation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-vacation/",modLink:"https://wedevs.com/dokan/modules/vendor-vacation/"},{name:this.__("ShipStation Integration","dokan-lite"),description:this.__("Adds ShipStation label printing support to Dokan. Requires server DomDocument support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/shipstation.png"),docLink:"https://wedevs.com/docs/dokan/modules/shipstation-dokan-wedevs/",modLink:"https://wedevs.com/dokan/modules/shipstation/"},{name:this.__("Auction Integration","dokan-lite"),description:this.__("A plugin that combined WooCommerce simple auction and Dokan plugin.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/auction.png"),docLink:"https://wedevs.com/docs/dokan/modules/woocommerce-auctions-frontend-multivendor-marketplace/",modLink:"https://wedevs.com/dokan/modules/dokan-simple-auctions/"},{name:this.__("Single Product Multiple Vendor","dokan-lite"),description:this.__("A module that offers multiple vendor to sell a single product.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/single-product-multivendor.png"),docLink:"https://wedevs.com/docs/dokan/modules/single-product-multiple-vendor/",modLink:"https://wedevs.com/dokan/modules/single-product-multivendor/"},{name:this.__("Store Reviews","dokan-lite"),description:this.__("A plugin that allows customers to rate the sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-review.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-review/",modLink:"https://wedevs.com/dokan/modules/dokan-vendor-review/"},{name:this.__("Store Support","dokan-lite"),description:this.__("Enable vendors to provide support to customers from store page.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/store-support.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-store-support/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Stripe Connect","dokan-lite"),description:this.__("Accept credit card payments and allow your sellers to get automatic split payment in Dokan via Stripe.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/stripe.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-configure-dokan-stripe-connect/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Vendor Subscription","dokan-lite"),description:this.__("Product subscription pack add-on for Dokan vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/subscription.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-use-dokan-subscription/",modLink:"https://wedevs.com/dokan/modules/subscription/"},{name:this.__("Vendor Analytics","dokan-lite"),description:this.__("A plugin for store and product analytics for vendor.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/analytics.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/"},{name:this.__("Vendor Staff Manager","dokan-lite"),description:this.__("A plugin for manage store via vendor staffs.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-staff.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-staff-manager/",modLink:"https://wedevs.com/dokan/modules/vendor-staff-manager/"},{name:this.__("Vendor Subscription Product","dokan-lite"),description:this.__("WooCommerce Subscription integration for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-subscription-product.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-subscription-product/",modLink:"https://wedevs.com/dokan/modules/vendor-subscription-product/"},{name:this.__("Vendor Verification","dokan-lite"),description:this.__("Dokan add-on to verify sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-verification.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-seller-verification-admin-settings/",modLink:"https://wedevs.com/dokan/modules/seller-verification/"},{name:this.__("Wholesale","dokan-lite"),description:this.__("Offer any customer to buy product as a wholesale price from any vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wholesale.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-wholesale/",modLink:"https://wedevs.com/dokan/modules/wholesale/"}],showPopup:!0}},methods:{togglePopup:function(e){this.showPopup=e}}}},function(e,t,a){"use strict";t.a={name:"ModuleUpgradePopup",props:{showPopup:{type:Boolean,required:!0,default:!0}},data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},methods:{closePopup:function(){this.$emit("toggle",!1)},openPopup:function(){this.$emit("toggle",!0)}},computed:{headerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-upgrade-popup-header.svg")},bonusImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-upgrade-popup-bonus.svg")}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(107),n=a(110),i=a(186);new(dokan_get_lib("Vue"))({el:"#dokan-vue-admin",router:n.a,render:function(e){return e(s.a)},created:function(){this.setLocaleData(dokan.i18n["dokan-lite"]),dokan.dokan_pro_i18n&&this.setLocaleData(dokan.dokan_pro_i18n.dokan)},methods:{listTableTexts:function(){return{loading:this.__("Loading","dokan-lite"),select_bulk_action:this.__("Select bulk action","dokan-lite"),bulk_actions:this.__("Bulk Actions","dokan-lite"),items:this.__("items","dokan-lite"),apply:this.__("Apply","dokan-lite")}}}}),Object(i.a)("dokan")},function(e,t,a){"use strict";var s=a(45),n=a(109),i=!1;var o=function(e){i||a(108)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/App.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"vue-backend-app"}},[t("router-view"),this._v(" "),t("notifications",{attrs:{position:"bottom right"}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(111),n=a.n(s),i=a(112),o=a(120),r=a(123),l=a(132),d=a(135),c=a(171),u=a(177),p=a(180),m=dokan_get_lib("Vue"),v=dokan_get_lib("Router"),_=dokan_get_lib("VersionCompare");m.use(v),dokan_add_route(i.a),dokan_add_route(o.a),dokan_add_route(r.a),dokan_add_route(l.a),dokan_add_route(d.a),dokan_add_route(u.a),dokan_add_route(p.a),dokan.hasPro&&!_(dokan.proVersion,"2.9.14",">")||dokan_add_route(c.a),function e(t){for(var a=0;a<t.length;a++)"object"===n()(t[a].children)?(e(t[a].children),void 0!==t[a].component&&(t[a].component=dokan.routeComponents[t[a].component])):t[a].component=dokan.routeComponents[t[a].component]}(dokan.routes),t.a=new v({routes:dokan.routes})},,function(e,t,a){"use strict";var s=a(46),n=a(119),i=!1;var o=function(e){i||a(113)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Dashboard.vue",t.a=r.exports},function(e,t){},,,,function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.show&&e.showUpgrade?a("div",{staticClass:"dokan-upgrade-bar"},[e._v("\n You're using "),a("span",[e._v("Dokan Lite")]),e._v(". To unlock more features, consider\n "),a("a",{attrs:{target:"_blank",rel:"noopener",href:e.upgradeURL}},[e._v("\n Upgrading to Pro")]),e._v(".\n\n "),a("div",{staticClass:"close-button",attrs:{title:"Dismiss the notice"},on:{click:function(t){return e.dismiss()}}},[e._v("\n ×\n ")])]):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-dashboard"},[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("h1",[e._v(e._s(e.__("Dashboard","dokan-lite")))]),e._v(" "),a("div",{staticClass:"widgets-wrapper"},[a("div",{staticClass:"left-side"},[a("postbox",{attrs:{title:e.__("At a Glance","dokan-lite"),extraClass:"dokan-status"}},[null!==e.overview?a("div",{staticClass:"dokan-status"},[a("ul",[a("li",{staticClass:"sale"},[a("div",{staticClass:"dashicons dashicons-chart-bar"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.sales.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("net sales this month","dokan-lite"))+" "),a("span",{class:e.overview.sales.class},[e._v(e._s(e.overview.sales.parcent))])])])],1),e._v(" "),a("li",{staticClass:"commission"},[a("div",{staticClass:"dashicons dashicons-chart-pie"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.earning.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("commission earned","dokan-lite"))+" "),a("span",{class:e.overview.earning.class},[e._v(e._s(e.overview.earning.parcent))])])])],1),e._v(" "),a("li",{staticClass:"vendor"},[a("div",{staticClass:"dashicons dashicons-id"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors"}:""}},[a("strong",[e._v(e._s(e.overview.vendors.this_month)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("signup this month","dokan-lite"))+" "),a("span",{class:e.overview.vendors.class},[e._v(e._s(e.overview.vendors.parcent))])])])],1),e._v(" "),a("li",{staticClass:"approval"},[a("div",{staticClass:"dashicons dashicons-businessman"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors",query:{status:"pending"}}:""}},[a("strong",[e._v(e._s(e.overview.vendors.inactive)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1),e._v(" "),a("li",{staticClass:"product"},[a("div",{staticClass:"dashicons dashicons-cart"}),e._v(" "),a("a",{attrs:{href:"#"}},[a("strong",[e._v(e._s(e.overview.products.this_month)+" "+e._s(e.__("Products","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("created this month","dokan-lite"))+" "),a("span",{class:e.overview.products.class},[e._v(e._s(e.overview.products.parcent))])])])]),e._v(" "),a("li",{staticClass:"withdraw"},[a("div",{staticClass:"dashicons dashicons-money"}),e._v(" "),a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[a("strong",[e._v(e._s(e.overview.withdraw.pending)+" "+e._s(e.__("Withdrawals","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1)])]):a("div",{staticClass:"loading"},[a("loading")],1)]),e._v(" "),a("postbox",{attrs:{title:e.__("Dokan News Updates","dokan-lite")}},[null!==e.feed?a("div",{staticClass:"rss-widget"},[a("ul",e._l(e.feed,function(t){return a("li",[a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_campaign=dokan-news",target:"_blank"}},[e._v(e._s(t.title))])])}),0),e._v(" "),a("div",{staticClass:"subscribe-box"},[e.subscribe.success?a("div",{staticClass:"thank-you"},[e._v(e._s(e.__("Thank you for subscribing!","dokan-lite")))]):[e.subscribe.loading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),a("h3",[e._v(e._s(e.__("Stay up-to-date","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("We're constantly developing new features, stay up-to-date by subscribing to our newsletter.","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"form-wrap"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.email,expression:"subscribe.email"}],attrs:{type:"email",required:"",placeholder:"Your Email Address"},domProps:{value:e.subscribe.email},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emailSubscribe()},input:function(t){t.target.composing||e.$set(e.subscribe,"email",t.target.value)}}}),e._v(" "),a("button",{staticClass:"button",on:{click:function(t){return e.emailSubscribe()}}},[e._v(e._s(e.__("Subscribe","dokan-lite")))])])]],2)]):a("div",{staticClass:"loading"},[a("loading")],1)])],1),e._v(" "),a("div",{staticClass:"right-side"},[a("postbox",{staticClass:"overview-chart",attrs:{title:e.__("Overview","dokan-lite")}},[null!==e.report?a("div",[a("chart",{attrs:{data:e.report}})],1):a("div",{staticClass:"loading"},[a("loading")],1)])],1)])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(48),n=a(122),i=!1;var o=function(e){i||a(121)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Withdraw.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"withdraw-requests"},[a("h1",[e._v(e._s(e.__("Withdraw Requests","dokan-lite")))]),e._v(" "),e.showModal?a("modal",{attrs:{title:e.__("Update Note","dokan-lite")},on:{close:function(t){e.showModal=!1}}},[a("template",{slot:"body"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.editing.note,expression:"editing.note"}],attrs:{rows:"3"},domProps:{value:e.editing.note},on:{input:function(t){t.target.composing||e.$set(e.editing,"note",t.target.value)}}})]),e._v(" "),a("template",{slot:"footer"},[a("button",{staticClass:"button button-primary button-large",on:{click:function(t){return e.updateNote()}}},[e._v(e._s(e.__("Update Note","dokan-lite")))])])],2):e._e(),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"cancelled"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Cancelled","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.cancelled))])]),e._v(" | ")],1)]),e._v(" "),a("list-table",{attrs:{columns:e.columns,rows:e.requests,loading:e.loading,"action-column":e.actionColumn,actions:e.actions,"show-cb":e.showCb,"bulk-actions":e.bulkActions,"not-found":e.notFound,"total-pages":e.totalPages,"total-items":e.totalItems,"per-page":e.perPage,"current-page":e.currentPage,text:e.$root.listTableTexts()},on:{pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction},scopedSlots:e._u([{key:"seller",fn:function(t){return[a("img",{attrs:{src:t.row.user.gravatar,alt:t.row.user.store_name,width:"50"}}),e._v(" "),a("strong",[a("a",{attrs:{href:e.vendorUrl(t.row.user.id)}},[e._v(e._s(t.row.user.store_name?t.row.user.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"amount",fn:function(e){return[a("currency",{attrs:{amount:e.row.amount}})]}},{key:"status",fn:function(t){return[a("span",{class:t.row.status},[e._v(e._s(e._f("capitalize")(t.row.status)))])]}},{key:"created",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.created).format("MMM D, YYYY"))+"\n ")]}},{key:"method_details",fn:function(t){return[e._v("\n "+e._s(e.getPaymentDetails(t.row.method,t.row.user.payment))+"\n ")]}},{key:"actions",fn:function(t){return["pending"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Approve Request","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("approved",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-yes"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:"approved"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Mark as Pending","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("pending",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-backup"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]]}}])})],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(49),n=a(131),i=!1;var o=function(e){i||a(124)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Premium.vue",t.a=r.exports},function(e,t){},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"cta-section",style:{"background-image":"url("+e.styles.bgPattern+"), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)"}},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.thumbnail,alt:"Dokan Lite"}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h2",[e._v(e._s(e.__("Convinced?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("With all the advance features you get it’s hard to resist buying Dokan Pro.","dokan-lite")))]),e._v(" "),a("a",{staticClass:"btn",attrs:{href:e.url,target:"_blank"}},[e._v("\n "+e._s(e.__("Upgrade to Pro","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-pro-features"},[a("div",{staticClass:"header-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/header-feature-thumb@2x.png",alt:e.__("Upgrade to Dokan Pro!","dokan-lite"),title:e.__("Upgrade to Dokan Pro!","dokan-lite")}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h1",[e._v(e._s(e.__("Upgrade to Dokan Pro!","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Seems To Be Convinced, You Need More Out Of Your Marketplace","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")]),e._v(" "),a("router-link",{staticClass:"button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)]),e._v(" "),a("div",{staticClass:"service-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Why Upgrade","dokan-lite")))]),e._v(" "),a("div",{staticClass:"service-list"},e._l(e.services,function(t){return a("div",{staticClass:"service-box"},[a("div",{staticClass:"service-thumb"},[a("img",{attrs:{src:t.thumbnail,alt:t.title,title:t.title}})]),e._v(" "),a("div",{staticClass:"service-detail"},[a("h3",{staticClass:"title"},[e._v(e._s(t.title))])])])}),0),e._v(" "),a("a",{staticClass:"btn",attrs:{href:"https://wedevs.com/dokan/features/",target:"_blank"}},[e._v("\n "+e._s(e.__("And Many More","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])]),e._v(" "),a("div",{staticClass:"comparison-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Comparison With Dokan PRO","dokan-lite")))]),e._v(" "),a("div",{staticClass:"comparison-area"},[a("div",{staticClass:"compare-box dokan-lite"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-lite-logo@2x.png",alt:"Dokan Lite"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.lite},["available"===t.compare.lite?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)]),e._v(" "),a("div",{staticClass:"compare-box dokan-pro"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-pro-logo@2x.png",alt:"Dokan Pro"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.pro},["available"===t.compare.pro?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)])])]),e._v(" "),a("div",{staticClass:"pricing-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("The Packages We Provide","dokan-lite")))]),e._v(" "),a("div",{staticClass:"pricing-wrapper"},[e._m(0),e._v(" "),e._l(e.modules,function(t){return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"},[a("a",{staticClass:"module-name",attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.title))])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.starter.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.starter.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.starter.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col popular"},["numeric"===t.professional.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.professional.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.professional.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.business.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.business.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.business.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.enterprise.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.enterprise.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.enterprise.value,alt:""}})])])])}),e._v(" "),a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn starter",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15316&attribute_pa_license=starter",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("a",{staticClass:"buy-btn professional",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15314&attribute_pa_license=professional",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn business",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15315&attribute_pa_license=business",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn enterprise",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=103829&attribute_pa_license=enterprise",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])])])],2)]),e._v(" "),a("div",{staticClass:"payment-section"},[a("div",{staticClass:"guarantee-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.payment.guaranteeThumbnail,alt:"Dokan"}})]),e._v(" "),a("div",{staticClass:"guarantee-detail"},[a("h2",[e._v(e._s(e.__("14 Days Money Back Guarantee","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("After successful purchase, you will be eligible for conditional refund","dokan-lite")))]),e._v(" "),a("a",{attrs:{href:e.payment.termsPolicyUrl,target:"_blank"}},[a("img",{attrs:{src:e.payment.viewIcon,alt:"Dokan"}}),e._v(" "+e._s(e.__("Terms & Condition Applied","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"payment-area"},[a("h3",[e._v(e._s(e.__("Payment Options:","dokan-lite")))]),e._v(" "),a("div",{staticClass:"option"},[a("img",{attrs:{src:e.payment.thumbnail,alt:"Credit Card"}})])])]),e._v(" "),a("div",{staticClass:"testimonial-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("People We Have Helped","dokan-lite")))]),e._v(" "),a("div",{staticClass:"testimonial-wrapper"},[a("slick",{ref:"slick",attrs:{options:e.slickOptions}},e._l(e.testimonials,function(t){return a("div",{staticClass:"testimonial-box"},[a("div",{staticClass:"profile-pic"},[a("img",{attrs:{src:t.pic,alt:""}})]),e._v(" "),a("div",{staticClass:"content-detail",style:{"background-image":"url("+e.asstesUrl+"/images/premium/quote-icon.png)"}},[a("h4",[e._v(e._s(t.name))]),e._v(" "),a("span",[e._v(e._s(t.designation))]),e._v(" "),a("p",[e._v(e._s(t.content))])])])}),0)],1),e._v(" "),a("p",{domProps:{innerHTML:e._s(e.sprintf("%s <a href='%s' target='_blank'>%s</a> %s",e.__("We are proud to say the official","dokan-lite"),"https://themes.getbootstrap.com/","Bootstrap theme marketplace",e.__("is built using Dokan","dokan-lite")))}})]),e._v(" "),a("ProCta")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name starter"},[e._v("Starter")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("149")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("div",{staticClass:"plan-name professional"},[e._v("Professional")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("249")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name business"},[e._v("Business")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("499")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name enterprise"},[e._v("Enterprise")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("999")]),e._v(" "),a("span",[e._v("/year")])])])])}]};t.a=n},function(e,t,a){"use strict";var s=a(52),n=a(134),i=!1;var o=function(e){i||a(133)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Help.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("h1",[e._v(e._s(e.__("Help","dokan-lite")))]),e._v(" "),null!==e.docs?a("div",{staticClass:"section-wrapper"},e._l(e.docs,function(t,s){return a("postbox",{key:s,attrs:{title:t.title}},[a("ul",e._l(t.questions,function(t){return a("li",[a("span",{staticClass:"dashicons dashicons-media-text"}),e._v(" "),a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_medium=dokan-help-page",target:"_blank"}},[e._v(e._s(t.title))])])}),0)])}),1):a("div",{staticClass:"loading"},[a("loading")],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(53),n=a(170),i=!1;var o=function(e){i||a(136)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Settings.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(54),n=a(166),i=!1;var o=function(e){i||a(138)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Fields.vue",t.a=r.exports},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.shoudShow?a("tr",{class:[e.id,"dokan-settings-field-type-"+e.fieldData.type]},["sub_section"===e.fieldData.type?[a("th",{staticClass:"dokan-settings-sub-section-title",attrs:{colspan:"2"}},[a("label",[e._v(e._s(e.fieldData.label))])])]:e._e(),e._v(" "),e.containCommonFields(e.fieldData.type)?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",["checkbox"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:e.fieldData.type||"text"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"number"===e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"number",min:e.fieldData.min,max:e.fieldData.max,step:e.fieldData.step,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"price"==e.fieldData.type&&e.allSettingsValues.dokan_selling&&"combine"!==e.allSettingsValues.dokan_selling.commission_type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:{wc_input_decimal:"percentage"==e.allSettingsValues.dokan_selling.commission_type,wc_input_price:"flat"==e.allSettingsValues.dokan_selling.commission_type},attrs:{type:"text",min:e.fieldData.min,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"combine"==e.fieldData.type&&e.haveCondition(e.fieldData)&&"show"==e.fieldData.condition.type&&e.checkConditionLogic(e.fieldData,e.fieldValue)?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{staticClass:"percent_fee"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.percent_fee.name],expression:"fieldValue[fieldData.fields.percent_fee.name]"}],staticClass:"wc_input_decimal regular-text",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][percent_fee]",name:e.sectionId+"["+e.fieldData.fields.percent_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.percent_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.percent_fee.name,t.target.value)}}}),e._v("\n "+e._s("%")+"\n ")]),e._v(" "),a("td",{staticClass:"fixed_fee"},[e._v("\n "+e._s("+")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.fixed_fee.name],expression:"fieldValue[fieldData.fields.fixed_fee.name]"}],staticClass:"wc_input_price regular-text",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][fixed_fee]",name:e.sectionId+"["+e.fieldData.fields.fixed_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.fixed_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.fixed_fee.name,t.target.value)}}})]),e._v(" "),e.hasError(e.fieldData.fields.percent_fee.name)&&e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.__("Both percentage and fixed fee is required.","dokan-lite"))+"\n ")]):e.hasError(e.fieldData.fields.percent_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.percent_fee.label))+"\n ")]):e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.fixed_fee.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})]:e._e(),e._v(" "),"textarea"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"textarea",rows:e.fieldData.rows,cols:e.fieldData.cols,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"checkbox"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]","true-value":"on","false-value":"off"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e._q(e.fieldValue[e.fieldData.name],"on")},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=s.checked?"on":"off";if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}),e._v("\n "+e._s(e.fieldData.desc)+"\n ")])])])]:e._e(),e._v(" "),"multicheck"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[e._l(e.fieldData.options,function(t,s){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name][s],expression:"fieldValue[fieldData.name][optionKey]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]["+s+"]",name:e.sectionId+"["+e.fieldData.name+"]["+s+"]","true-value":s,"false-value":""},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name][s])?e._i(e.fieldValue[e.fieldData.name][s],null)>-1:e._q(e.fieldValue[e.fieldData.name][s],s)},on:{change:function(t){var a=e.fieldValue[e.fieldData.name][s],n=t.target,i=n.checked?s:"";if(Array.isArray(a)){var o=e._i(a,null);n.checked?o<0&&e.$set(e.fieldValue[e.fieldData.name],s,a.concat([null])):o>-1&&e.$set(e.fieldValue[e.fieldData.name],s,a.slice(0,o).concat(a.slice(o+1)))}else e.$set(e.fieldValue[e.fieldData.name],s,i)}}}),e._v("\n "+e._s(t)+"\n ")]),e._v(" "),a("br")]})],2)])]:e._e(),e._v(" "),"select"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[e.fieldData.grouped?a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t){return a("optgroup",{attrs:{label:t.group_label}},e._l(t.group_values,function(t){return a("option",{domProps:{value:t.value,innerHTML:e._s(t.label)}})}),0)})],2):a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("option",{domProps:{value:s,innerHTML:e._s(t)}})})],2),e._v(" "),e.fieldData.refresh_options?a("RefreshSettingOptions",{attrs:{section:e.sectionId,field:e.fieldData,"toggle-loading-state":e.toggleLoadingState}}):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"file"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text wpsa-url",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("input",{staticClass:"button wpsa-browse",attrs:{type:"button",value:"Choose File"},on:{click:function(t){return t.preventDefault(),e.$emit("openMedia",{sectionId:e.sectionId,name:e.fieldData.name},t)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"color"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("color-picker",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"html"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"radio"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{staticClass:"dokan-settings-field-type-radio"},[a("fieldset",[e._l(e.fieldData.options,function(t,s){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",id:e.sectionId+"["+e.fieldData.name+"]["+s+"]",name:s},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "+e._s(t)+"\n ")])]})],2),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"wpeditor"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("text-editor",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"repeatable"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("ul",{staticClass:"dokan-settings-repeatable-list"},e._l(e.fieldValue[e.fieldData.name],function(t,s){return e.fieldValue[e.fieldData.name]?a("li",[e._v("\n "+e._s(t.value)+" "),a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){return t.preventDefault(),e.removeItem(s,e.fieldData.name)}}})]):e._e()}),0),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.repeatableItem[e.fieldData.name],expression:"repeatableItem[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"text"},domProps:{value:e.repeatableItem[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.repeatableItem,e.fieldData.name,t.target.value)}}}),e._v(" "),a("a",{staticClass:"button dokan-repetable-add-item-btn",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addItem(e.fieldData.type,e.fieldData.name)}}},[e._v("+")]),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"radio_image"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("div",{staticClass:"radio-image-container"},[e._l(e.fieldData.options,function(t,s){return[a("label",{staticClass:"radio-image",class:{active:e.fieldValue[e.fieldData.name]===s,"not-active":e.fieldValue[e.fieldData.name]!==s}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:e.fieldData.name},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "),a("span",{staticClass:"current-option-indicator"},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "+e._s(e.__("Active","dokan-lite")))]),e._v(" "),a("img",{attrs:{src:t}}),e._v(" "),a("span",{staticClass:"active-option"},[a("button",{staticClass:"button button-primary button-hero",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.fieldValue[e.fieldData.name]=s}}},[e._v("\n "+e._s(e.__("Select","dokan-lite"))+"\n ")])])])]})],2)])]:e._e(),e._v(" "),"gmap"!=e.fieldData.type||e.hideMap?e._e():[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{attrs:{type:"hidden",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.mapLocation}}),e._v(" "),"mapbox"===e.mapApiSource?a("Mapbox",{attrs:{accessToken:e.mapboxAccessToken,location:e.mapLocation,width:"100%",height:"300px"},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}):a("GoogleMaps",{attrs:{apiKey:e.googleMapApiKey,location:e.mapLocation},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]],2):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(63),n=a(169),i=!1;var o=function(e){i||a(168)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/SettingsBanner.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-settings-banner"}},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Settings Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("h1",[e._v(e._s(e.__("Looking for Coupons, Variable Products, SEO or Shipping?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Unlock these awesome frontend features with Dokan PRO","dokan-lite")))]),e._v(" "),a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("router-link",{staticClass:"button custom-button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"dokan-settings"},[a("h2",{staticStyle:{"margin-bottom":"15px"}},[e._v(e._s(e.__("Settings","dokan-lite")))]),e._v(" "),e.isSaved?a("div",{staticClass:"settings-error notice is-dismissible",class:{updated:e.isUpdated,error:!e.isUpdated},attrs:{id:"setting-message_updated"}},[a("p",[a("strong",{domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),a("button",{staticClass:"notice-dismiss",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isSaved=!1}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Dismiss this notice.","dokan-lite")))])])]):e._e(),e._v(" "),a("div",{staticClass:"dokan-settings-wrap"},[a("div",{staticClass:"nav-tab-wrapper"},[a("div",{staticClass:"search-box"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],ref:"searchInSettings",staticClass:"dokan-admin-search-settings",attrs:{type:"text",placeholder:"Search e.g. vendor"},domProps:{value:e.searchText},on:{input:[function(t){t.target.composing||(e.searchText=t.target.value)},e.searchInSettings]}}),e._v(" "),""!==e.searchText?a("span",{staticClass:"dashicons dashicons-no-alt",on:{click:function(t){return t.preventDefault(),e.clearSearch(t)}}}):e._e()]),e._v(" "),e._l(e.settingSections,function(t){return[a("a",{class:["nav-tab",e.currentTab===t.id?"nav-tab-active":""],attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),e.changeTab(t)}}},[a("span",{staticClass:"dashicons",class:t.icon}),e._v(" "+e._s(t.title)+"\n ")])]})],2),e._v(" "),a("div",{staticClass:"metabox-holder"},[e._l(e.settingFields,function(t,s){return e.isLoaded?[e.currentTab===s?a("div",{staticClass:"group",attrs:{id:s}},[a("form",{attrs:{method:"post",action:"options.php"}},[a("input",{attrs:{type:"hidden",name:"option_page"},domProps:{value:s}}),e._v(" "),a("input",{attrs:{type:"hidden",name:"action",value:"update"}}),e._v(" "),a("table",{staticClass:"form-table"},[e.showSectionTitle(t)?a("thead",[a("tr",{staticClass:"dokan-settings-field-type-sub_section"},[a("th",{staticClass:"dokan-settings-sub-section-title",attrs:{colspan:"2"}},[a("label",[e._v(e._s(e.sectionTitle(s)))])])])]):e._e(),e._v(" "),a("tbody",e._l(t,function(t,n){return a("Fields",{key:n,attrs:{"section-id":s,id:n,"field-data":t,"field-value":e.settingValues[s],"all-settings-values":e.settingValues,errors:e.errors,"toggle-loading-state":e.toggleLoadingState},on:{openMedia:e.showMedia}})}),1)]),e._v(" "),a("p",{staticClass:"submit"},[a("input",{staticClass:"button button-primary",attrs:{type:"submit",name:"submit",id:"submit",value:"Save Changes"},on:{click:function(t){return t.preventDefault(),e.saveSettings(e.settingValues[s],s)}}})])])]):e._e()]:e._e()})],2),e._v(" "),e.showLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e()])]),e._v(" "),e.hasPro?e._e():a("SettingsBanner")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(64),n=a(176),i=!1;var o=function(e){i||a(172)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Vendors.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(65),n=a(175),i=!1;var o=function(e){i||a(174)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/AddVendor.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-vendor-edit"},[a("modal",{attrs:{title:e.title,width:"800px"},on:{close:e.closeModal}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("div",{staticClass:"tab-header"},[a("ul",{staticClass:"tab-list"},e._l(e.tabs,function(t,s){return a("li",{key:s,class:{"tab-title":!0,active:e.currentTab===t.name,last:"VendorPaymentFields"===t.name}},[a("div",{staticClass:"tab-link"},[a("a",{class:{first:"VendorAccountFields"===t.name},attrs:{href:"#"},on:{click:function(a){a.preventDefault(),e.currentTab=t.name}}},[a("span",{class:[t.icon]}),e._v("\n "+e._s(t.label)+"\n ")])])])}),0)]),e._v(" "),e.currentTab?a("div",{staticClass:"tab-contents"},[e.isLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),e.isLoading?e._e():a("transition",{attrs:{name:"component-fade",mode:"out-in"}},[a(e.currentTab,{tag:"component",attrs:{vendorInfo:e.store,errors:e.errors}})],1)],1):e._e()]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("button",{staticClass:"button button-primary button-hero",on:{click:e.createVendor}},[e._v(e._s("VendorPaymentFields"===e.currentTab?e.__("Create Vendor","dokan-lite"):this.nextBtn))])])])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"vendor-list"},[a("h1",{staticClass:"wp-heading-inline"},[e._v(e._s(e.__("Vendors","dokan-lite")))]),e._v(" "),a("button",{staticClass:"page-title-action",on:{click:function(t){return e.addNew()}}},[e._v(e._s(e.__("Add New","dokan-lite")))]),e._v(" "),e._l(e.dokanVendorHeaderArea,function(e,t){return a(e,{key:t,tag:"component"})}),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("All","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.all))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1)]),e._v(" "),a("search",{attrs:{title:e.__("Search Vendors","dokan-lite")},on:{searched:e.doSearch}}),e._v(" "),a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.vendors,actions:e.actions,actionColumn:"store_name","show-cb":e.showCb,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.currentPage,"action-column":e.actionColumn,"not-found":"No vendors found.","sort-by":e.sortBy,"sort-order":e.sortOrder,text:e.$root.listTableTexts()},on:{sort:e.sortCallback,pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction,searched:e.doSearch},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("img",{attrs:{src:t.row.gravatar,alt:t.row.store_name,width:"50"}}),e._v(" "),a("strong",[e.hasPro?a("router-link",{attrs:{to:"/vendors/"+t.row.id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])],1)]}},{key:"email",fn:function(t){return[a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(e._s(t.row.email))])]}},{key:"categories",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.categories.map(function(e){return e.name}).join(", "))+"\n ")]}},{key:"registered",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.registered).format("MMM D, YYYY"))+"\n ")]}},{key:"enabled",fn:function(t){return[a("switches",{attrs:{enabled:t.row.enabled,value:t.row.id},on:{input:e.onSwitch}})]}},{key:"row-actions",fn:function(t){return e._l(e.actions,function(s,n){return a("span",{class:s.key},[e.hasPro&&"edit"==s.key?a("router-link",{attrs:{to:{path:"vendors/"+t.row.id,query:{edit:"true"}}}},[e._v(e._s(s.label))]):e.hasPro||"edit"!=s.key?"products"==s.key?a("a",{attrs:{href:e.productUrl(t.row.id)}},[e._v(e._s(s.label))]):"orders"==s.key?a("a",{attrs:{href:e.ordersUrl(t.row.id)}},[e._v(e._s(s.label))]):"switch_to"==s.key?a("a",{attrs:{href:e.switchToUrl(t.row)}},[e._v(e._s(s.label))]):a("a",{attrs:{href:"#"}},[e._v(e._s(s.label))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(s.label))]),e._v(" "),n!==e.actions.length-1?[e._v(" | ")]:e._e()],2)})}}])}),e._v(" "),e.loadAddVendor?a("add-vendor",{attrs:{"vendor-id":e.vendorId}}):e._e()],2)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(66),n=a(179),i=!1;var o=function(e){i||a(178)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorCapabilities.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-vendor-capabilities"}},[a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")])])]),e._v(" "),a("div",{staticClass:"grid"},e._l(e.capabilityCards,function(t){return a("div",{staticClass:"col-6"},[a("div",{staticClass:"capability-card"},[a("div",{staticClass:"capability-image"},[a("img",{staticClass:"image",attrs:{src:t.image,alt:e.__("Dokan Capability","dokan-lite")}}),e._v(" "),a("div",{staticClass:"middle"},[a("div",{staticClass:"zoom",on:{click:function(a){return e.openPopup(t.image)}}},[a("div",{staticClass:"dashicons dashicons-search"})])])]),e._v(" "),a("p",{staticClass:"title"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"content"},[e._v(e._s(t.content))])])])}),0),e._v(" "),a("ProCta"),e._v(" "),e.showPopup?a("div",{attrs:{id:"dokan-capability-image-popup"},on:{click:e.closePopup}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("img",{attrs:{src:this.selectedCapabilityImage,alt:e.__("Dokan Capability","dokan-lite")}})])])]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(67),n=a(185),i=!1;var o=function(e){i||a(181)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ProModules.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(68),n=a(184),i=!1;var o=function(e){i||a(183)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ModuleUpgradePopup.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-upgrade-to-pro-wrapper"}},[e.showPopup?a("div",{attrs:{id:"dokan-upgrade-popup"}},[a("div",{staticClass:"modal-content"},[a("span",{staticClass:"close",on:{click:e.closePopup}}),e._v(" "),a("div",{staticClass:"header"},[a("img",{attrs:{src:e.headerImage,alt:e.__("Dokan Upgrade Popup","dokan-lite")}}),e._v(" "),a("h1",[e._v(e._s(e.__("Unlock 20+ Modules","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-brand"},[e._v(e._s(e.__("with Dokan Premium Plans","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-disabled"},[e._v("\n "+e._s(e.__("We’re sorry, Dokan Modules are not available on Dokan Lite. Please upgrade to a PRO plan to unlock the modules of your choice.","dokan-lite"))+"\n ")])]),e._v(" "),a("div",{staticClass:"body"},[a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("div",{staticClass:"promo-card"},[a("img",{attrs:{src:e.bonusImage,alt:e.__("Dokan Upgrade Promo","dokan-lite")}}),e._v(" "),a("p",[e._v(e._s(e.__("Bonus: Dokan Lite users get 30% off regular price. Click on the link above to obtain the coupon & apply it during checkout.","dokan-lite")))])]),e._v(" "),a("span",[a("a",{attrs:{target:"_blank",rel:"noopener noreferrer",href:"https://wedevs.com/docs/dokan/getting-started/installation-2/"}},[e._v(e._s(e.__("Already upgraded?","dokan-lite")))])])])])]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"lite-modules"}},[a("div",{staticClass:"dokan-modules-wrap"},[a("h1",[e._v(e._s(e.__("Modules","dokan")))]),e._v(" "),a("div",{staticClass:"module-content"},[a("div",{staticClass:"wp-list-table widefat dokan-modules"},[e.modules.length>0?e._l(e.modules,function(t){return a("div",{staticClass:"plugin-card"},[a("div",{staticClass:"plugin-card-top"},[a("div",{staticClass:"name column-name"},[a("h3",[a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[e._v(e._s(t.name))]),e._v(" "),a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[a("img",{staticClass:"plugin-icon",attrs:{src:t.thumbnail,alt:t.name}})])])]),e._v(" "),a("div",{staticClass:"action-links"},[a("ul",{staticClass:"plugin-action-buttons"},[a("li",{on:{click:function(t){return e.togglePopup(!0)}}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"20"}},[a("rect",{attrs:{width:"42",height:"20",rx:"10",fill:"#c0c3c6"}}),a("circle",{attrs:{cx:"6",cy:"6",r:"6",transform:"translate(6 4)",fill:"#fff"}})])])])]),e._v(" "),a("div",{staticClass:"desc column-description"},[a("p",{domProps:{innerHTML:e._s(t.description)}})]),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{attrs:{href:t.docLink,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan")))])])])])}):[a("div",{staticClass:"notice notice-info",attrs:{id:"message"}},[a("p",[a("strong",[e._v(e._s(e.__("No modules found.","dokan")))])])])]],2)])]),e._v(" "),a("ModuleUpgradePopup",{attrs:{"show-popup":e.showPopup},on:{toggle:e.togglePopup}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";t.a=function(e){var t=jQuery,a=t("#toplevel_page_"+e),s=window.location.href,n=s.substr(s.indexOf("admin.php"));a.on("click","a",function(){var e=t(this);t("ul.wp-submenu li",a).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",a).addClass("current"):e.parents("li").addClass("current")}),t("ul.wp-submenu a",a).each(function(e,a){t(a).attr("href")!==n||t(a).parent().addClass("current")})}}],[106]);
|
1 |
+
dokanWebpack([0],[,,function(e,t,a){"use strict";var s=a(10),n=a(28),i=!1;var o=function(e){i||a(27)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Switches.vue",t.a=r.exports},,,,function(e,t,a){"use strict";var s=a(15);t.a={extends:s.Line,props:["data"],data:function(){return{options:{responsive:!0,maintainAspectRatio:!0,scales:{xAxes:[{type:"time",scaleLabel:{display:!1},gridLines:{display:!1},ticks:{fontColor:"#aaa",fontSize:11}}],yAxes:[{scaleLabel:{display:!1},ticks:{fontColor:"#aaa"}}]},legend:{position:"top",onClick:!1},elements:{line:{tension:0,borderWidth:4},point:{radius:5,borderWidth:3,backgroundColor:"#fff",borderColor:"#fff"}},tooltips:{displayColors:!1,callbacks:{label:function(e,t){var a=t.datasets[e.datasetIndex].label||"",s=t.datasets[e.datasetIndex].tooltipLabel||"",n=t.datasets[e.datasetIndex].tooltipPrefix||"",i=s?s+": ":a+": ";return i+=n+e.yLabel}}}}}},mounted:function(){this.renderChart(this.data,this.options)}}},function(e,t,a){"use strict";var s=a(47),n=a(118),i=!1;var o=function(e){i||a(117)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UpgradeBanner.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(55);t.a={components:{Sketch:s.a},props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:"hex",validator:function(e){return-1!==["hsl","hex","rgba","hsv"].indexOf(e)}},presetColors:{type:Array,required:!1,default:function(){return["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]}},disableAlpha:{type:Boolean,required:!1,default:!0},disableFields:{type:Boolean,required:!1,default:!0}},data:function(){return{showColorPicker:!1}},methods:{updateColor:function(e){var t="";e[this.format]&&(t=e[this.format]),this.$emit("input",t)},toggleColorPicker:function(){this.showColorPicker=!this.showColorPicker},setHexColor:function(e){this.updateColor({hex:e})}}}},function(e,t,a){"use strict";var s=a(1),n=(a.n(s),a(2)),i=a(16),o=a(17);t.a={name:"VendorAccountFields",components:{Switches:n.a,UploadImage:i.a,PasswordGenerator:o.a},props:{vendorInfo:{type:Object},errors:{type:Array,required:!1}},data:function(){return{showStoreUrl:!0,showPassword:!1,otherStoreUrl:null,banner:"",defaultUrl:dokan.urls.siteUrl+dokan.urls.storePrefix+"/",showButton:!0,placeholderData:"",delay:500,storeAvailable:null,userNameAvailable:null,emailAvailable:null,storeAvailabilityText:"",userNameAvailabilityText:"",emailAvailabilityText:"",getAccountFields:dokan.hooks.applyFilters("getVendorAccountFields",[])}},watch:{"vendorInfo.store_name":function(e){this.showStoreUrl=!0},"vendorInfo.user_nicename":function(e){void 0!==e&&(this.showStoreUrl=!1,this.otherStoreUrl=this.defaultUrl+e.trim().split(" ").join("-"),this.vendorInfo.user_nicename=e.split(" ").join("-"),this.checkStoreName())},"vendorInfo.user_login":function(e){this.checkUsername()},"vendorInfo.email":function(e){this.checkEmail()}},computed:{storeUrl:function(){var e=this.vendorInfo.store_name.trim().split(" ").join("-");return this.vendorInfo.user_nicename=e,this.otherStoreUrl=this.defaultUrl+e,this.defaultUrl+e}},created:function(){var e=this;this.checkStoreName=Object(s.debounce)(this.checkStore,this.delay),this.checkUsername=Object(s.debounce)(this.searchUsername,this.delay),this.checkEmail=Object(s.debounce)(this.searchEmail,this.delay),this.$root.$on("passwordCancelled",function(){e.showPassword=!1})},methods:{uploadBanner:function(e){this.vendorInfo.banner_id=e.id,this.showButton=!1},uploadGravatar:function(e){this.vendorInfo.gravatar_id=e.id},getId:function(){return this.$route.params.id},onSelectBanner:function(e){this.banner=e.url,this.vendorInfo.banner_id=e.id},getError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},checkStore:function(){var e=this,t=this.vendorInfo.user_nicename;t&&(this.storeAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{store_slug:t}).then(function(t){t.available?(e.storeAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Available","dokan-lite")):(e.storeAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchUsername:function(){var e=this,t=this.vendorInfo.user_login;t&&(this.userNameAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{username:t}).then(function(t){t.available?(e.userNameAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Available","dokan-lite")):(e.userNameAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchEmail:function(){var e=this,t=this.vendorInfo.email;t&&(this.emailAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{email:t}).then(function(t){t.available?(e.emailAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=e.__("Available","dokan-lite")):(e.emailAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=t.message?t.message:e.__("This email is already registered, please choose another one.","dokan-lite"))}))},setPassword:function(e){this.showPassword=!0,this.vendorInfo.user_pass=e},sendEmail:function(e,t){"notify_vendor"===t&&(this.vendorInfo.notify_vendor=e)},getUploadBannerText:function(){var e=dokan.store_banner_dimension.width,t=dokan.store_banner_dimension.height;return this.__("Upload banner for your store. Banner size is (".concat(e,"x").concat(t,") pixels."),"dokan-lite")}}}},function(e,t,a){"use strict";t.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:function(){return{}},methods:{trigger:function(e){this.$emit("input",e.target.checked,e.target.value)}}}},function(e,t,a){"use strict";t.a={name:"UploadImage",inheritAttrs:!1,props:{src:{default:dokan.urls.assetsUrl+"/images/store-pic.png"},showButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Upload Image"},croppingWidth:{type:Number},croppingHeight:{type:Number}},data:function(){return{image:{src:"",id:""}}},methods:{uploadImage:function(){this.openMediaManager(this.onSelectImage)},onSelectImage:function(e){this.image.src=e.url,this.image.id=e.id,this.$emit("uploadedImage",this.image)},openMediaManager:function(e){var t=this;if(t.fileFrame)t.fileFrame.open();else{var a={library:wp.media.query(),multiple:!1,title:this.__("Select & Crop Image","dokan-lite"),priority:20,filterable:"uploaded",autoSelect:!0,suggestedWidth:500,suggestedHeight:300},s={id:"control-id",params:{width:this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),height:this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),flex_width:!!parseInt(dokan.store_banner_dimension["flex-width"],10),flex_height:!!parseInt(dokan.store_banner_dimension["flex-height"],10)},mustBeCropped:function(e,t,a,s,n,i){return(!0!==e||!0!==t)&&((!0!==e||s!==i)&&((!0!==t||a!==n)&&((a!==n||s!==i)&&!(n<=a))))}},n=[new wp.media.controller.Library(a),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:t.calculateImageSelectOptions,control:s})],i={title:this.__("Select Image","dokan-lite"),button:{text:this.__("Select Image","dokan-lite"),close:!1},multiple:!1};i.states=n,t.fileFrame=wp.media(i),t.fileFrame.on("select",function(){t.fileFrame.setState("cropper")}),t.fileFrame.on("cropped",function(a){e(a),t.fileFrame=null}),t.fileFrame.on("skippedcrop",function(){var a=t.fileFrame.state().get("selection").map(function(e){return e.toJSON()}).pop();e(a),t.fileFrame=null}),t.fileFrame.on("close",function(){t.fileFrame=null}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-vendor-option-media"}}),t.fileFrame.open()}},calculateImageSelectOptions:function(e,t){var a,s,n,i,o,r,l=this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),d=this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),c=!!parseInt(dokan.store_banner_dimension["flex-width"],10),u=!!parseInt(dokan.store_banner_dimension["flex-height"],10);o=e.get("width"),i=e.get("height");var p=t.get("control");return t.set("canSkipCrop",!p.mustBeCropped(c,u,l,d,o,i)),(s=o)/(n=i)>(a=l/d)?l=(d=n)*a:d=(l=s)/a,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:o,imageHeight:i,x1:0,y1:0,x2:l,y2:d},!1===u&&!1===c&&(r.aspectRatio=l+":"+d),!1===u&&(r.maxHeight=d),!1===c&&(r.maxWidth=l),r}}}},function(e,t,a){"use strict";t.a={name:"PasswordGenerator",props:{title:{type:String,default:"Generate Password"},cancelTitle:{type:String,default:"Cancel"},regenrateTitle:{type:String,default:"Regenrate"},length:{type:Number,default:25}},data:function(){return{password:"",hideGenerateButton:!1,showCancelButton:!1}},methods:{generatePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password),this.hideGenerateButton=!0,this.showCancelButton=!0},makePassword:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25,t="",a=0;a<=e;a++){t+="abcdefghijklmnopqurstuvwxyz"[Math.floor(Math.random()*e)]+"ABCDEFGHIJKLMNOPQURSTUVWXYZ"[Math.floor(10*Math.random())]+"!@#$%^&*()"[Math.floor(Math.random()*"!@#$%^&*()".length)]}return t.slice(-e)},cancelButton:function(){this.hideGenerateButton=!1,this.showCancelButton=!1,this.$root.$emit("passwordCancelled")},regenratePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password)}}}},function(e,t,a){"use strict";var s=a(3);a.n(s);t.a={name:"VendorAddressFields",components:{Multiselect:s.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{countries:[],states:[],selectedCountry:{},selectedState:{},getAddressFields:dokan.hooks.applyFilters("getVendorAddressFields",[])}},computed:{selectedCode:function(){var e=this.vendorInfo.address.country;return""!==e?e:[]}},created:function(){this.countries=this.transformCountries(dokan.countries),this.states=dokan.states;var e=this.vendorInfo.address.country,t=this.vendorInfo.address.state;""!==e&&(this.selectedCountry={name:this.getCountryFromCountryCode(e),code:e},this.selectedState={name:this.getStateFromStateCode(t,e),code:t})},methods:{transformCountries:function(e){var t=[];for(var a in e)t.push({name:e[a],code:a});return t},getCountryFromCountryCode:function(e){if(""!==e)return dokan.countries[e]},getStateFromStateCode:function(e,t){if(""!==e){var a=dokan.states[t],s=a&&a[e];return void 0!==s?s:[]}},getStatesFromCountryCode:function(e){if(""!==e){var t=[],a=this.states;for(var s in a)if(s===e&&!(a[s]&&a[s].length<1))for(var n in a[s])t.push({name:a[s][n],code:n});return t}},saveCountry:function(e){e&&(this.vendorInfo.address.state=null,this.selectedState={},this.vendorInfo.address.country=e.code)},saveState:function(e){e&&(this.vendorInfo.address.state=e.code)}}}},function(e,t,a){"use strict";var s=a(2),n=a(3);a.n(n);t.a={name:"VendorPaymentFields",components:{Switches:s.a,Multiselect:n.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{enabled:!1,trusted:!1,featured:!1,commissionTypes:[{name:"flat",label:this.__("Flat","dokan-lite")},{name:"percentage",label:this.__("Percentage","dokan-lite")},{name:"combine",label:this.__("Combine","dokan-lite")}],selectedCommissionType:{name:"flat",label:this.__("Flat","dokan-lite")},getBankFields:dokan.hooks.applyFilters("getVendorBankFields",[]),getPyamentFields:dokan.hooks.applyFilters("AfterPyamentFields",[])}},created:function(){this.vendorInfo.enabled&&(this.enabled=!0,this.vendorInfo.enabled=!0),this.vendorInfo.trusted&&(this.trusted=!0,this.vendorInfo.trusted=!0),this.vendorInfo.featured&&(this.featured=!0,this.vendorInfo.featured=!0);var e=this.vendorInfo.admin_commission_type;if(e){var t=_.findWhere(this.commissionTypes,{name:e}),a=t.name,s=t.label;this.selectedCommissionType.name=a,this.selectedCommissionType.label=s}},methods:{setValue:function(e,t){"enabled"===t&&(this.vendorInfo.enabled=!!e),"trusted"===t&&(this.vendorInfo.trusted=!!e),"featured"===t&&(this.vendorInfo.featured=!!e)},getId:function(){return this.$route.params.id},saveCommissionType:function(e){var t=e.name;t||(this.vendorInfo.admin_commission_type="flat"),this.vendorInfo.admin_commission_type=t}}}},,function(e,t,a){"use strict";var s=a(11),n=a(30),i=!1;var o=function(e){i||a(29)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/UploadImage.vue",t.a=r.exports},function(e,t,a){"use strict";var s=a(12),n=a(31),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/components/PasswordGenerator.vue",t.a=i.exports},,,function(e,t,a){"use strict";var s=a(6),n=a(0)(s.a,null,!1,null,null,null);n.options.__file="src/admin/components/Chart.vue",t.a=n.exports},,function(e,t){e.exports=jQuery},function(e,t,a){"use strict";var s=a(8),n=a(25),i=!1;var o=function(e){i||a(24)},r=a(0)(s.a,n.a,!1,o,"data-v-01dc0d51",null);r.options.__file="src/admin/components/ColorPicker.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",style:{backgroundColor:e.value},attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("span",[e._v(e._s(e.__("Select Color","dokan-lite")))])]),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){return e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:function(t){return e.updateColor({})}}},[e._v(e._s(e.__("Clear","dokan-lite")))]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[e._v(e._s(e.__("Close","dokan-lite")))])]):e._e(),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(9),n=a(32),i=a(0)(s.a,n.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorAccountFields.vue",t.a=i.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("label",{staticClass:"switch tips"},[t("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),t("span",{staticClass:"slider round"})])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-upload-image",on:{click:e.uploadImage}},[e.showButton?e._e():a("img",{attrs:{src:e.image.src?e.image.src:e.src}}),e._v(" "),e.showButton?a("button",{on:{click:function(t){return t.preventDefault(),e.uploadImage(t)}}},[e._v("\n "+e._s(e.buttonLabel)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"password-generator"},[e.hideGenerateButton?e._e():a("button",{staticClass:"button button-secondary",on:{click:function(t){return t.preventDefault(),e.generatePassword(t)}}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),e.showCancelButton?a("button",{staticClass:"button regen-button",on:{click:function(t){return t.preventDefault(),e.regenratePassword(t)}}},[a("span",{staticClass:"dashicons dashicons-controls-repeat"}),e._v("\n "+e._s(e.regenrateTitle)+"\n ")]):e._e(),e._v(" "),e.showCancelButton?a("button",{staticClass:"button cancel-button",on:{click:function(t){return t.preventDefault(),e.cancelButton(t)}}},[e._v("\n "+e._s(e.cancelTitle)+"\n ")]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Account Info","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[e.getId()?e._e():a("div",{staticClass:"vendor-image"},[a("div",{staticClass:"picture"},[a("p",{staticClass:"picture-header"},[e._v(e._s(e.__("Vendor Picture","dokan-lite")))]),e._v(" "),a("div",{staticClass:"profile-image"},[a("upload-image",{attrs:{croppingWidth:150,croppingHeight:150},on:{uploadedImage:e.uploadGravatar}})],1),e._v(" "),a("p",{staticClass:"picture-footer",domProps:{innerHTML:e._s(e.sprintf(e.__("You can change your profile picutre on %s","dokan-lite"),"<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"))}})]),e._v(" "),a("div",{class:["picture banner",{"has-banner":e.vendorInfo.banner_id}]},[a("div",{staticClass:"banner-image"},[a("upload-image",{attrs:{showButton:e.showButton,buttonLabel:e.__("Upload Banner","dokan-lite")},on:{uploadedImage:e.uploadBanner}})],1),e._v(" "),e.showButton?a("p",{staticClass:"picture-footer"},[e._v(e._s(e.getUploadBannerText()))]):e._e()])]),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("First Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.first_name,expression:"vendorInfo.first_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("First Name","dokan-lite")},domProps:{value:e.vendorInfo.first_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"first_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Last Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.last_name,expression:"vendorInfo.last_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("Last Name","dokan-lite")},domProps:{value:e.vendorInfo.last_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"last_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-name"}},[e._v(e._s(e.__("Store Name","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.store_name,expression:"vendorInfo.store_name"}],class:{"dokan-form-input":!0,"has-error":e.getError("store_name")},attrs:{type:"text",placeholder:e.getError("store_name")?e.__("Store Name is required","dokan-lite"):e.__("Store Name","dokan-lite")},domProps:{value:e.vendorInfo.store_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"store_name",t.target.value)}}})]),e._v(" "),e.getId()?e._e():a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-url"}},[e._v(e._s(e.__("Store URL","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_nicename,expression:"vendorInfo.user_nicename"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Store Url","dokan-lite")},domProps:{value:e.vendorInfo.user_nicename},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_nicename",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[e.showStoreUrl?a("p",{staticClass:"store-url"},[e._v(e._s(e.storeUrl))]):a("p",{staticClass:"store-url"},[e._v(e._s(e.otherStoreUrl))]),e._v(" "),a("span",{class:{"is-available":e.storeAvailable,"not-available":!e.storeAvailable}},[e._v(e._s(e.storeAvailabilityText))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-phone"}},[e._v(e._s(e.__("Phone Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.phone,expression:"vendorInfo.phone"}],staticClass:"dokan-form-input",attrs:{type:"number",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.phone},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"phone",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Email","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.email,expression:"vendorInfo.email"}],class:{"dokan-form-input":!0,"has-error":e.getError("email")},attrs:{type:"email",placeholder:e.getError("email")?e.__("Email is required","dokan-lite"):e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"email",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.emailAvailable,"not-available":!e.emailAvailable}},[e._v(e._s(e.emailAvailabilityText))])])]),e._v(" "),e.getId()?e._e():[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-username"}},[e._v(e._s(e.__("Username","dokan-lite")))]),a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_login,expression:"vendorInfo.user_login"}],staticClass:"dokan-form-input",class:{"dokan-form-input":!0,"has-error":e.getError("user_login")},attrs:{type:"text",placeholder:e.getError("user_login")?e.__("Username is required","dokan-lite"):e.__("Username","dokan-lite")},domProps:{value:e.vendorInfo.user_login},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_login",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.userNameAvailable,"not-available":!e.userNameAvailable}},[e._v(e._s(e.userNameAvailabilityText))])]),e._v(" "),a("div",{staticClass:"checkbox-left notify-vendor"},[a("switches",{attrs:{enabled:!0,value:"notify_vendor"},on:{input:e.sendEmail}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Send the vendor an email about their account.","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-password"}},[e._v(e._s(e.__("Password","dokan-lite")))]),e._v(" "),e.showPassword?a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_pass,expression:"vendorInfo.user_pass"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:"********"},domProps:{value:e.vendorInfo.user_pass},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_pass",t.target.value)}}}):e._e(),e._v(" "),a("password-generator",{attrs:{title:e.__("Generate Password","dokan-lite")},on:{passwordGenerated:e.setPassword}})],1)],e._v(" "),e._l(e.getAccountFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(13),n=a(35),i=!1;var o=function(e){i||a(34)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorAddressFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-1"}},[e._v(e._s(e.__("Street 1","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_1,expression:"vendorInfo.address.street_1"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 1","dokan-lite")},domProps:{value:e.vendorInfo.address.street_1},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_1",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-2"}},[e._v(e._s(e.__("Street 2","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_2,expression:"vendorInfo.address.street_2"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 2","dokan-lite")},domProps:{value:e.vendorInfo.address.street_2},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_2",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"city"}},[e._v(e._s(e.__("City","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.city,expression:"vendorInfo.address.city"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("City","dokan-lite")},domProps:{value:e.vendorInfo.address.city},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"city",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"zip"}},[e._v(e._s(e.__("Zip","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.zip,expression:"vendorInfo.address.zip"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Zip","dokan-lite")},domProps:{value:e.vendorInfo.address.zip},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"zip",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"country"}},[e._v(e._s(e.__("Country","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.countries,multiselect:!1,label:"name","track-by":"name",showLabels:!1,placeholder:e.__("Select Country","dokan-lite")},on:{input:e.saveCountry},model:{value:e.selectedCountry,callback:function(t){e.selectedCountry=t},expression:"selectedCountry"}})],1),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"state"}},[e._v(e._s(e.__("State","dokan-lite")))]),e._v(" "),e.getStatesFromCountryCode(e.selectedCode).length<1?[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.state,expression:"vendorInfo.address.state"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("State","dokan-lite")},domProps:{value:e.vendorInfo.address.state},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"state",t.target.value)}}})]:[a("Multiselect",{attrs:{options:e.getStatesFromCountryCode(e.selectedCode),multiselect:!1,showLabels:!1,label:"name","track-by":"name",placeholder:e.__("Select State","dokan-lite")},on:{input:e.saveState},model:{value:e.selectedState,callback:function(t){e.selectedState=t},expression:"selectedState"}})]],2),e._v(" "),e._l(e.getAddressFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(14),n=a(38),i=!1;var o=function(e){i||a(37)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorPaymentFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"payment-info":!0,"edit-mode":e.getId()}},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Payment Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("Account Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_name,expression:"vendorInfo.payment.bank.ac_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Account Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-number"}},[e._v(e._s(e.__("Account Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_number,expression:"vendorInfo.payment.bank.ac_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("1233456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-name"}},[e._v(e._s(e.__("Bank Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_name,expression:"vendorInfo.payment.bank.bank_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-address"}},[e._v(e._s(e.__("Bank Address","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_addr,expression:"vendorInfo.payment.bank.bank_addr"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Address","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_addr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_addr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"routing-number"}},[e._v(e._s(e.__("Routing Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.routing_number,expression:"vendorInfo.payment.bank.routing_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.routing_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"routing_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"iban"}},[e._v(e._s(e.__("IBAN","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.iban,expression:"vendorInfo.payment.bank.iban"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.iban},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"iban",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"swift"}},[e._v(e._s(e.__("Swift","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.swift,expression:"vendorInfo.payment.bank.swift"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.swift},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"swift",t.target.value)}}})]),e._v(" "),e._l(e.getBankFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{class:{column:e.getId(),"checkbox-group":!e.getId()}},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("PayPal Email","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.paypal.email,expression:"vendorInfo.payment.paypal.email"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.payment.paypal.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.paypal,"email",t.target.value)}}})]),e._v(" "),e.getId()?[a("div",{staticClass:"column"},[a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.commissionTypes,"track-by":"name",label:"label","allow-empty":!1,multiselect:!1,searchable:!1,showLabels:!1},on:{input:e.saveCommissionType},model:{value:e.selectedCommissionType,callback:function(t){e.selectedCommissionType=t},expression:"selectedCommissionType"}})],1)]),e._v(" "),"combine"===e.selectedCommissionType.name?a("div",{staticClass:"column combine-commission"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("div",{staticClass:"combine-commission-field"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"wc_input_decimal dokan-form-input percent_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}}),e._v("\n "+e._s("% +")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_additional_fee,expression:"vendorInfo.admin_additional_fee"}],staticClass:"wc_input_price dokan-form-input fixed_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_additional_fee},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_additional_fee",t.target.value)}}})])]):a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"dokan-form-input",class:{wc_input_price:"flat"==e.selectedCommissionType.name,wc_input_decimal:"flat"!=e.selectedCommissionType.name},attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}})])]:e._e(),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.enabled,value:"enabled"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Enable Selling","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.trusted,value:"trusted"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Publish Product Directly","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.featured,value:"featured"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Make Vendor Featured","dokan-lite")))])],1)])],2),e._v(" "),e._l(e.getPyamentFields,function(t,s){return a(t,{key:s,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,,,function(e,t,a){"use strict";t.a={name:"App"}},function(e,t,a){"use strict";var s=a(20),n=a(7),i=dokan_get_lib("Postbox"),o=dokan_get_lib("Loading"),r=dokan_get_lib("Currency");t.a={name:"Dashboard",components:{Postbox:i,Loading:o,Chart:s.a,Currency:r,UpgradeBanner:n.a},data:function(){return{overview:null,feed:null,report:null,subscribe:{success:!1,loading:!1,email:""},hasPro:!!dokan.hasPro}},created:function(){this.fetchOverview(),this.fetchFeed(),this.fetchReport()},methods:{fetchOverview:function(){var e=this;dokan.api.get("/admin/report/summary").done(function(t){e.overview=t})},fetchFeed:function(){var e=this;dokan.api.get("/admin/dashboard/feed").done(function(t){e.feed=t})},fetchReport:function(){var e=this;dokan.api.get("/admin/report/overview").done(function(t){e.report=t})},validEmail:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},emailSubscribe:function(){var e=this;this.validEmail(this.subscribe.email)&&(this.subscribe.loading=!0,jQuery.ajax({url:"https://wedevs.us16.list-manage.com/subscribe/post-json?u=66e606cfe0af264974258f030&id=0d176bb256&c=?",data:{EMAIL:this.subscribe.email,"group[3555][8]":"1"},type:"GET",dataType:"json",cache:!1,contentType:"application/json; charset=utf-8"}).always(function(t){e.subscribe.success=!0,e.subscribe.loading=!1}))}}}},function(e,t,a){"use strict";t.a={name:"UpgradeBanner",data:function(){return{show:!0,upgradeURL:dokan.urls.upgradeToPro}},computed:{showUpgrade:function(){return!dokan.hasPro&&"show"===dokan.proNag}},methods:{dismiss:function(){this.show=!1,wp.ajax.post("dokan-upgrade-dissmiss")}}}},function(e,t,a){"use strict";var s=a(7),n=dokan_get_lib("ListTable"),i=dokan_get_lib("Modal"),o=dokan_get_lib("Currency");t.a={name:"Withdraw",components:{ListTable:n,Modal:i,Currency:o,UpgradeBanner:s.a},data:function(){return{showModal:!1,editing:{id:null,note:null},totalPages:1,perPage:10,totalItems:0,counts:{pending:0,approved:0,cancelled:0},notFound:this.__("No requests found.","dokan-lite"),massPayment:this.__("Paypal Mass Payment File is Generated.","dokan-lite"),showCb:!0,loading:!1,columns:{seller:{label:this.__("Vendor","dokan-lite")},amount:{label:this.__("Amount","dokan-lite")},status:{label:this.__("Status","dokan-lite")},method_title:{label:this.__("Method","dokan-lite")},method_details:{label:this.__("Details","dokan-lite")},note:{label:this.__("Note","dokan-lite")},created:{label:this.__("Date","dokan-lite")},actions:{label:this.__("Actions","dokan-lite")}},requests:[],actionColumn:"seller",hasPro:!!dokan.hasPro}},watch:{"$route.query.status":function(){this.fetchRequests()},"$route.query.page":function(){this.fetchRequests()}},computed:{currentStatus:function(){return this.$route.query.status||"pending"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},actions:function(){return"pending"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"cancel",label:this.__("Cancel","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"trash",label:this.__("Delete","dokan-lite")},{key:"pending",label:this.__("Pending","dokan-lite")}]:[]},bulkActions:function(){return"pending"==this.currentStatus?[{key:"approved",label:this.__("Approve","dokan-lite")},{key:"cancelled",label:this.__("Cancel","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:"cancelled"==this.currentStatus?[{key:"pending",label:this.__("Pending","dokan-lite")},{key:"delete",label:this.__("Delete","dokan-lite")},{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]:[{key:"paypal",label:this.__("Download PayPal mass payment file","dokan-lite")}]}},created:function(){this.fetchRequests()},methods:{updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Completed")),this.counts.cancelled=parseInt(e.getResponseHeader("X-Status-Cancelled"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},vendorUrl:function(e){return"1"===window.dokan.hasPro?dokan.urls.adminRoot+"admin.php?page=dokan#/vendors/"+e:dokan.urls.adminRoot+"user-edit.php?user_id="+e},fetchRequests:function(){var e=this;this.loading=!0,dokan.api.get("/withdraw?per_page="+this.perPage+"&page="+this.currentPage+"&status="+this.currentStatus).done(function(t,a,s){e.requests=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},goToPage:function(e){this.$router.push({name:"Withdraw",query:{status:this.currentStatus,page:e}})},updateItem:function(e,t){var a=this.requests.findIndex(function(t){return t.id==e});this.$set(this.requests,a,t)},changeStatus:function(e,t){var a=this;this.loading=!0,dokan.api.put("/withdraw/"+t,{status:e}).done(function(e){a.loading=!1,a.fetchRequests()})},onActionClick:function(e,t){var a=this;"cancel"===e&&this.changeStatus("cancelled",t.id),"pending"===e&&this.changeStatus("pending",t.id),"trash"===e&&confirm(this.__("Are you sure?","dokan-lite"))&&(this.loading=!0,dokan.api.delete("/withdraw/"+t.id).done(function(e){a.loading=!1,a.fetchRequests()}))},getPaymentDetails:function(e,t){var a="—";return void 0!==t[e]&&("paypal"===e||"skrill"===e?a=t[e].email||"":"bank"===e&&(t.bank.hasOwnProperty("ac_name")&&(a=this.sprintf(this.__("Account Name: %s","dokan-lite"),t.bank.ac_name)),t.bank.hasOwnProperty("ac_number")&&(a+=this.sprintf(this.__(", Account Number: %s","dokan-lite"),t.bank.ac_number)),t.bank.hasOwnProperty("bank_name")&&(a+=this.sprintf(this.__(", Bank Name: %s","dokan-lite"),t.bank.bank_name)),t.bank.hasOwnProperty("routing_number")&&(a+=this.sprintf(this.__(", Routing Number: %s","dokan-lite"),t.bank.routing_number)))),dokan.hooks.applyFilters("dokan_get_payment_details",a,e,t)},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),onBulkAction:function(e,t){var a=this,s=this;if(_.contains(["delete","approved","cancelled","pending"],e)){var n={};n[e]=t,this.loading=!0,dokan.api.put("/withdraw/batch",n).done(function(e){a.loading=!1,a.fetchRequests()})}if("paypal"===e){var i=t.join(",");jQuery.post(ajaxurl,{dokan_withdraw_bulk:"paypal",id:i,action:"withdraw_ajax_submission",nonce:dokan.nonce},function(e,t,a){if("html/csv"===a.getResponseHeader("Content-type")){var n="",i=a.getResponseHeader("Content-Disposition");if(i&&-1!==i.indexOf("attachment")){var o=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(i);null!=o&&o[1]&&(n=o[1].replace(/['"]/g,""))}var r=a.getResponseHeader("Content-Type"),l="function"==typeof File?new File([e],n,{type:r}):new Blob([e],{type:r});if(void 0!==window.navigator.msSaveBlob)window.navigator.msSaveBlob(l,n);else{var d=window.URL||window.webkitURL,c=d.createObjectURL(l);if(n){var u=document.createElement("a");void 0===u.download?window.location=c:(u.href=c,u.download=n,document.body.appendChild(u),u.click())}else window.location=c;setTimeout(function(){d.revokeObjectURL(c)},100)}}e&&alert(s.massPayment)})}},openNoteModal:function(e,t){this.showModal=!0,this.editing={id:t,note:e}},updateNote:function(){var e=this;this.showModal=!1,this.loading=!0,dokan.api.put("/withdraw/"+this.editing.id,{note:this.editing.note}).done(function(t){e.loading=!1,e.updateItem(e.editing.id,t),e.editing={id:null,note:null}})}}}},function(e,t,a){"use strict";var s=a(50),n=a(127),i=(a.n(n),a(130));t.a={name:"Premium",components:{Slick:i.a,ProCta:s.a},data:function(){return{asstesUrl:dokan.urls.assetsUrl,buyNowProUrl:"https://wedevs.com/account/",services:[{title:this.__("Premium modules to make everything easier & better","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-01@2x.png"},{title:this.__("Frontend dashboard for vendors with advanced controls","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-02@2x.png"},{title:this.__("Unlimited Product Variations and group product upload","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-03@2x.png"},{title:this.__("Zone wise shipping with multiple method for vendors","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-04@2x.png"},{title:this.__("Store support based on ticket system for your customers","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-05@2x.png"},{title:this.__("Vendors will be able to generate coupon codes","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-06@2x.png"},{title:this.__("Earning, Selling and Commission Reports & Statement","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-07@2x.png"},{title:this.__("24/7 super fast premium customer support for you","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-08@2x.png"},{title:this.__("Add Social profile to your vendor’s store and support for store SEO","dokan-lite"),thumbnail:dokan.urls.assetsUrl+"/images/premium/service-09@2x.png"}],comparisons:[{title:this.__("Frontend order management","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Seller Statement Reports","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Making Announcements","dokan-lite"),compare:{lite:"available",pro:"available"}},{title:this.__("Customized Product Categories","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store SEO","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Back Ordering System","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Store Contact Form","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Single Product Multiple Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Seller Verification","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Featured Seller","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Multiple Commission Types","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Frontend Shipping Tracking","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Setup Wizard","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Google Maps","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Manage reviews","dokan-lite"),compare:{lite:"unavailable",pro:"available"}},{title:this.__("Bookable Product","dokan-lite"),compare:{lite:"unavailable",pro:"available"}}],modules:[{title:"Domain",url:"https://wedevs.com/dokan/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"03"},business:{type:"numeric",value:"05"},enterprise:{type:"numeric",value:"20"}},{title:"Modules",url:"https://wedevs.com/dokan/modules/",starter:{type:"numeric",value:"01"},professional:{type:"numeric",value:"08"},business:{type:"numeric",value:"14"},enterprise:{type:"numeric",value:"14"}},{title:"Color Scheme",url:"https://wedevs.com/dokan/modules/color-scheme-customizer/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Review",url:"https://wedevs.com/dokan/modules/dokan-vendor-review/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Store Support",url:"https://wedevs.com/dokan/modules/store-support/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Auction",url:"https://wedevs.com/dokan/modules/dokan-simple-auctions/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Ajax Live Search",url:"https://wedevs.com/dokan/modules/ajax-live-search/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Stripe Connect",url:"https://wedevs.com/dokan/modules/stripe-connect/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Subscriptions",url:"https://wedevs.com/dokan/modules/subscription/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Single Product Multivendor",url:"https://wedevs.com/dokan/modules/single-product-multivendor/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Seller Verification",url:"https://wedevs.com/dokan/modules/seller-verification/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"WC Booking Integration",url:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Staff Manager",url:"https://wedevs.com/dokan/modules/vendor-staff-manager/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Export Import",url:"https://wedevs.com/dokan/modules/export-import/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Product Enquiry",url:"https://wedevs.com/dokan/modules/product-enquiry/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Vendor Vacation",url:"https://wedevs.com/dokan/modules/vendor-vacation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Return and Warranty Request",url:"https://wedevs.com/dokan/modules/rma/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Moip",url:"https://wedevs.com/dokan/modules/moip/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Follow Store",url:"https://wedevs.com/dokan/modules/follow-store/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Geolocation",url:"https://wedevs.com/dokan/modules/geolocation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Shipstation",url:"https://wedevs.com/dokan/modules/shipstation/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}},{title:"Wholesale",url:"https://wedevs.com/dokan/modules/wholesale/",starter:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},professional:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/unavailable@2x.png"},business:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"},enterprise:{type:"icon",value:dokan.urls.assetsUrl+"/images/premium/available@2x.png"}}],payment:{thumbnail:dokan.urls.assetsUrl+"/images/premium/payment-options.png",guaranteeThumbnail:dokan.urls.assetsUrl+"/images/premium/gaurantee-thumb.png",viewIcon:dokan.urls.assetsUrl+"/images/premium/view-icon@2x.png",termsPolicyUrl:"https://wedevs.com/refund-policy/"},slickOptions:{slidesToShow:1,fade:!0,speed:500,cssEase:"linear",autoplay:!0,autoplaySpeed:2e3,infinite:!0,accessibility:!0,adaptiveHeight:!1,arrows:!1,dots:!0,draggable:!0,edgeFriction:.3,swipe:!0},testimonials:[{name:"Melissa McGovern",designation:"Director, Hawk And PeddleProjects",pic:dokan.urls.assetsUrl+"/images/premium/melissa.jpg",content:"We're still a new business and are continuing to build our platform. Dokan has halved the time it would take us to build our ecommerce platform by being feature rich and easy to install and configure."},{name:"Morten J. Christensen",designation:"Owner, Dincatering",pic:dokan.urls.assetsUrl+"/images/premium/Morten-J.-Christensen.jpg",content:"First and foremost it enables the possibility for actually creating the kind of marketplace i wanted. The plugin lets me create a local marketplace for local danish catering suppliers to showcase and sell their offers of the season."},{name:"Cédric Lefrancq",designation:"Webmaster, Unwebmaster.Be",pic:dokan.urls.assetsUrl+"/images/premium/cedric-lefrancq.jpeg",content:"The support is very good. The plugin is perfect. Bugs are fixed very quickly. That’s a very good plugin."},{name:"David Gaz",designation:"Founder, The Bureau Of Small Projects",pic:dokan.urls.assetsUrl+"/images/premium/david-gaz.jpeg",content:"It’s hands down an amazing plugin. But their support is even more amazing. They got back to me within hours on the weekend."}],cta:{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.buynowpro}}},methods:{next:function(){this.$refs.slick.next()},prev:function(){this.$refs.slick.prev()},reInit:function(){var e=this;this.$nextTick(function(){e.$refs.slick.reSlick()})}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(51),n=a(126),i=!1;var o=function(e){i||a(125)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ProCta.vue",t.a=r.exports},function(e,t,a){"use strict";t.a={name:"ProCta",data:function(){return{styles:{bgPattern:dokan.urls.assetsUrl+"/images/premium/cta-pattern@2x.png"},thumbnail:dokan.urls.assetsUrl+"/images/premium/cta-dokan-logo.png",url:dokan.urls.upgradeToPro}}}},function(e,t,a){"use strict";var s=a(7),n=dokan_get_lib("Postbox"),i=dokan_get_lib("Loading");t.a={name:"Help",components:{Postbox:n,Loading:i,UpgradeBanner:s.a},data:function(){return{docs:null,hasPro:!!dokan.hasPro}},created:function(){this.fetch()},methods:{fetch:function(){var e=this;dokan.api.get("/admin/help").done(function(t){e.docs=t})}}}},function(e,t,a){"use strict";var s=a(137),n=a(167),i=a(7),o=dokan_get_lib("Loading");t.a={name:"Settings",components:{Fields:s.a,Loading:o,SettingsBanner:n.a,UpgradeBanner:i.a},data:function(){return{isSaved:!1,showLoading:!1,isUpdated:!1,isLoaded:!1,message:"",currentTab:null,settingSections:[],settingFields:{},settingValues:{},requiredFields:[],errors:[],hasPro:!!dokan.hasPro,searchText:"",awaitingSearch:!1}},computed:{refreshable_props:function(){var e,t={};for(e in this.settingFields){var a=this.settingFields[e],s=void 0;for(s in a)a[s].refresh_after_save&&(t["".concat(e,".").concat(s)]=!0)}return t}},methods:{changeTab:function(e){this.currentTab=e.id,this.requiredFields=[],"undefined"!=typeof localStorage&&localStorage.setItem("activetab",this.currentTab)},showSectionTitle:function(e){return!_.findWhere(e,{type:"sub_section"})},sectionTitle:function(e){return _.findWhere(this.settingSections,{id:e}).title},fetchSettingValues:function(){var e=this,t={action:"dokan_get_setting_values",nonce:dokan.nonce};e.showLoading=!0,jQuery.post(dokan.ajaxurl,t,function(t){t.success&&(Object.keys(e.settingFields).forEach(function(a,s){Object.keys(e.settingFields[a]).forEach(function(s,n){e.settingValues[a]||(e.settingValues[a]={}),void 0===t.data[a][s]?void 0===e.settingFields[a][s].default?e.settingValues[a][s]="":e.settingValues[a][s]=e.settingFields[a][s].default:e.settingValues[a][s]=t.data[a][s]})}),e.settingValues=jQuery.extend({},e.settingValues),e.showLoading=!1,e.isLoaded=!0)})},showMedia:function(e,t){var a=this,s=wp.media.frames.file_frame=wp.media({title:this.__("Choose your file","dokan-lite"),button:{text:this.__("Select","dokan-lite")},multiple:!1});s.on("select",function(){var t=s.state().get("selection").first().toJSON();a.settingValues[e.sectionId][e.name]=t.url}),s.open()},saveSettings:function(e,t){if(this.formIsValid(t)){var a=this,s={action:"dokan_save_settings",nonce:dokan.nonce,settingsData:e,section:t};a.showLoading=!0,jQuery.post(dokan.ajaxurl,s).done(function(s){var n,i=s.data.settings;for(n in a.isSaved=!0,a.isUpdated=!0,a.message=s.data.message,a.settingValues[i.name]=i.value,e){var o="".concat(t,".").concat(n);if(a.refreshable_props[o]){window.location.reload();break}}}).fail(function(e){var t=e.responseJSON.data.map(function(e){return e.message});alert(t.join(" "))}).always(function(){a.showLoading=!1})}},formIsValid:function(e){var t=this,a=Object.keys(this.settingFields),s=this.requiredFields;return!!a&&(a.forEach(function(a,n){if(e===a){var i=t.settingFields[a];Object.values(i).forEach(function(e){var t=e.fields;t&&Object.values(t).forEach(function(e){e&&e.required&&"yes"===e.required&&!s.includes(e.name)&&s.push(e.name)}),e&&e.required&&"yes"===e.required&&(s.includes(e.name)||s.push(e.name))})}}),this.errors=[],s.forEach(function(e){Object.values(t.settingValues).forEach(function(a){e in a&&a[e].length<1&&(t.errors.includes(e)||(t.errors.push(e),"flat"!==a.commission_type&&"percentage"!==a.commission_type||(t.errors=t.arrayRemove(t.errors,"admin_percentage"),t.errors=t.arrayRemove(t.errors,"additional_fee"))))})}),this.errors.length<1)},arrayRemove:function(e,t){return e.filter(function(e){return e!==t})},toggleLoadingState:function(){this.showLoading=!this.showLoading},clearSearch:function(){this.searchText="",this.validateBlankSearch()},validateBlankSearch:function(){return""!==this.searchText.toLowerCase()||(this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields,!1)},searchInSettings:function(e){var t=this;this.validateBlankSearch()&&(this.awaitingSearch||setTimeout(function(){var e=t.$refs.searchInSettings.value.toLowerCase();t.doSearch(e),t.awaitingSearch=!1},1e3),this.awaitingSearch=!0)},doSearch:function(e){var t=this,a={},s=[],n=[],i=dokan.settings_fields;Object.keys(i).forEach(function(t,n){Object.keys(i[t]).forEach(function(n,o){if("sub_section"!==i[t][n].type){var r=i[t][n].label.toLowerCase();r&&r.includes(e)&&(a[t]||(a[t]={}),a[t][n]=i[t][n],-1===s.indexOf(t)&&s.push(t))}})});var o=0;Object.keys(dokan.settings_sections).forEach(function(e,a){-1!==s.indexOf(dokan.settings_sections[e].id)&&(o||(t.changeTab(dokan.settings_sections[e]),o=1),n.push(dokan.settings_sections[e]))}),this.settingFields=a,this.settingSections=n}},created:function(){this.fetchSettingValues(),this.currentTab="dokan_general","undefined"!=typeof localStorage&&(this.currentTab=localStorage.getItem("activetab")?localStorage.getItem("activetab"):"dokan_general"),this.settingSections=dokan.settings_sections,this.settingFields=dokan.settings_fields}}},function(e,t,a){"use strict";var s=a(139),n=a.n(s),i=a(140),o=a.n(i),r=a(23);function l(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,s)}return a}function d(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?l(Object(a),!0).forEach(function(t){n()(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):l(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}var c=dokan_get_lib("TextEditor"),u=dokan_get_lib("GoogleMaps"),p=dokan_get_lib("Mapbox"),m=dokan_get_lib("RefreshSettingOptions");t.a={name:"Fields",components:{colorPicker:r.a,TextEditor:c,GoogleMaps:u,Mapbox:p,RefreshSettingOptions:m},props:["id","fieldData","sectionId","fieldValue","allSettingsValues","errors","toggleLoadingState"],data:function(){return{repeatableItem:{},hideMap:!1}},computed:{shoudShow:function(){var e=!0;if(this.fieldData.show_if){var t=this.fieldData.show_if,a=Object.keys(t),s=0;for(s=0;s<a.length;s++){var n=a[s],i=n.split(".").reverse(),r=o()(i,2),l=r[0],d=r[1],c=void 0===d?this.sectionId:d,u=this.allSettingsValues[c][l],p=_.chain(t[n]).pairs().first().value(),m=o()(p,2),v=m[0],f=m[1];switch(v){case"greater_than":u>f||(e=!1);break;case"greater_than_equal":u>=f||(e=!1);break;case"less_than":u<f||(e=!1);break;case"less_than":u<=f||(e=!1);break;case"equal":default:u!=f&&(e=!1)}if(!e)break}}return e},mapApiSource:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.map_api_source},mapLocation:function(){var e=d(d({},{latitude:23.709921,longitude:90.40714300000002,address:"Dhaka",zoom:10}),this.fieldValue[this.fieldData.name]);return e={latitude:parseFloat(e.latitude),longitude:parseFloat(e.longitude),address:"".concat(e.address),zoom:parseInt(e.zoom)}},googleMapApiKey:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.gmap_api_key},mapboxAccessToken:function(){var e,t;return null===(e=this.allSettingsValues)||void 0===e?void 0:null===(t=e.dokan_appearance)||void 0===t?void 0:t.mapbox_access_token}},beforeMount:function(){"multicheck"!==this.fieldData.type||this.fieldValue[this.fieldData.name]||(this.fieldValue[this.fieldData.name]=this.fieldData.default)},methods:{containCommonFields:function(e){return _.contains([void 0,"text","email","url","phone","time"],e)},addItem:function(e,t){this.fieldValue[t]=this.fieldValue[t]||[],void 0!==this.repeatableItem[t]&&this.repeatableItem[t]&&(this.fieldValue[t].push({id:this.repeatableItem[t].trim().replace(/\s+/g,"_").toLowerCase(),value:this.repeatableItem[t]}),this.repeatableItem[t]="")},removeItem:function(e,t){this.fieldValue[t].splice(e,1)},haveCondition:function(e){return e.hasOwnProperty("condition")},checkConditionLogic:function(e,t){var a=e.condition.logic,s=!1;return _.each(a,function(e,a){_.contains(e,t[a])&&(s=!0)}),s},onHideMap:function(e){this.hideMap=e},onUpdateMap:function(e){this.fieldValue[this.fieldData.name]=d(d({},this.mapLocation),e)},hasError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},getError:function(e){return e+" "+this.__("is required.","dokan-lite")}}}},,,,,,,,,function(e,t,a){"use strict";t.a={name:"SettingsBanner",data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},computed:{bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-settings-banner.svg")}}}},function(e,t,a){"use strict";var s=a(173),n=a(7),i=dokan_get_lib("ListTable"),o=dokan_get_lib("Switches"),r=dokan_get_lib("Search");t.a={name:"Vendors",components:{ListTable:i,Switches:o,Search:r,AddVendor:s.a,UpgradeBanner:n.a},data:function(){return{showCb:!0,hasPro:dokan.hasPro,counts:{pending:0,approved:0,all:0},vendorId:0,totalItems:0,perPage:20,totalPages:1,loading:!1,columns:{store_name:{label:this.__("Store","dokan-lite"),sortable:!0},email:{label:this.__("E-mail","dokan-lite")},phone:{label:this.__("Phone","dokan-lite")},registered:{label:this.__("Registered","dokan-lite"),sortable:!0},enabled:{label:this.__("Status","dokan-lite")}},actionColumn:"title",actions:[{key:"edit",label:this.__("Edit","dokan-lite")},{key:"products",label:this.__("Products","dokan-lite")},{key:"orders",label:this.__("Orders","dokan-lite")}],bulkActions:[{key:"approved",label:this.__("Approve Vendors","dokan-lite")},{key:"pending",label:this.__("Disable Selling","dokan-lite")}],vendors:[],loadAddVendor:!1,dokanVendorHeaderArea:dokan.hooks.applyFilters("getDokanVendorHeaderArea",[]),isVendorSwitchingEnabled:!1}},watch:{"$route.query.status":function(){this.fetchVendors()},"$route.query.page":function(){this.fetchVendors()},"$route.query.orderby":function(){this.fetchVendors()},"$route.query.order":function(){this.fetchVendors()}},computed:{currentStatus:function(){return this.$route.query.status||"all"},currentPage:function(){var e=this.$route.query.page||1;return parseInt(e)},sortBy:function(){return this.$route.query.orderby||"registered"},sortOrder:function(){return this.$route.query.order||"desc"},storeCategory:function(){return this.$route.query.store_category||null}},created:function(){var e=this;this.$root.$on("modalClosed",function(){e.loadAddVendor=!1,e.vendorId=0}),this.fetchVendors(),this.$root.$on("vendorAdded",function(t){e.vendors.unshift(t)}),this.$root.$on("addAnotherVendor",function(){e.loadAddVendor=!0}),this.$root.$on("categoryFetched",function(t){e.categories=t.categories,e.isCategoryMultiple=t.isCategoryMultiple,e.columns=t.columns}),this.isVendorSwitchingEnabled=!!dokan.is_vendor_switching_enabled,this.isVendorSwitchingEnabled&&this.actions.push({key:"switch_to",label:this.__("Switch To","dokan-lite")})},methods:{addNew:function(){this.loadAddVendor=!0},doSearch:function(e){var t=this,a=this;a.loading=!0,dokan.api.get("/stores?search=".concat(e),{page:this.currentPage,orderby:this.sortBy,order:this.sortOrder}).done(function(e,s,n){a.vendors=e,a.loading=!1,t.updatedCounts(n),t.updatePagination(n)})},updatedCounts:function(e){this.counts.pending=parseInt(e.getResponseHeader("X-Status-Pending")),this.counts.approved=parseInt(e.getResponseHeader("X-Status-Approved")),this.counts.all=parseInt(e.getResponseHeader("X-Status-All"))},updatePagination:function(e){this.totalPages=parseInt(e.getResponseHeader("X-WP-TotalPages")),this.totalItems=parseInt(e.getResponseHeader("X-WP-Total"))},fetchVendors:function(){var e=this;e.loading=!0;var t={per_page:e.perPage,page:e.currentPage,status:e.currentStatus,orderby:e.sortBy,order:e.sortOrder,store_category:e.storeCategory};dokan.api.get("/stores",t).done(function(t,a,s){e.vendors=t,e.loading=!1,e.updatedCounts(s),e.updatePagination(s)})},onActionClick:function(e,t){"trash"===e&&confirm("Are you sure to delete?")&&alert("deleted: "+t.title)},onSwitch:function(e,t){var a=this,s=!1===e?this.__("The vendor has been disabled.","dokan-lite"):this.__("Selling has been enabled","dokan-lite");dokan.api.put("/stores/"+t+"/status",{status:!1===e?"inactive":"active"}).done(function(e){a.$notify({title:a.__("Success!","dokan-lite"),type:"success",text:s}),"all"!==a.currentStatus&&"pending"!==a.currentStatus&&"approved"!==a.currentStatus||a.fetchVendors()})},moment:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return moment(e)}),goToPage:function(e){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:e}})},onBulkAction:function(e,t){var a=this,s={};s[e]=t,this.loading=!0,dokan.api.put("/stores/batch",s).done(function(e){a.loading=!1,a.fetchVendors()})},sortCallback:function(e,t){this.$router.push({name:"Vendors",query:{status:this.currentStatus,page:1,orderby:e,order:t}})},productUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=product&author="+e},ordersUrl:function(e){return dokan.urls.adminRoot+"edit.php?post_type=shop_order&vendor_id="+e},editUrl:function(e){return dokan.urls.adminRoot+"user-edit.php?user_id="+e},switchToUrl:function(e){return e.switch_url}}}},function(e,t,a){"use strict";var s=a(26),n=a(33),i=a(36),o=dokan_get_lib("Modal"),r=dokan_get_lib("Loading");t.a={name:"AddVendor",props:["vendorId"],components:{Modal:o,Loading:r,VendorAccountFields:s.a,VendorAddressFields:n.a,VendorPaymentFields:i.a},data:function(){return{isLoading:!1,storeId:"",nextBtn:this.__("Next","dokan-lite"),title:this.__("Add New Vendor","dokan-lite"),tabs:{VendorAccountFields:{label:this.__("Account Info","dokan-lite"),name:"VendorAccountFields",icon:"dashicons dashicons-admin-users"},VendorAddressFields:{label:this.__("Address","dokan-lite"),name:"VendorAddressFields",icon:"dashicons dashicons-admin-home"},VendorPaymentFields:{label:this.__("Payment Options","dokan-lite"),name:"VendorPaymentFields",icon:"dashicons dashicons-money"}},currentTab:"VendorAccountFields",store:{store_name:"",user_pass:"",store_url:"",user_login:"",email:"",user_nicename:"",notify_vendor:!0,phone:"",banner:"",banner_id:"",gravatar:"",gravatar_id:"",social:{fb:"",youtube:"",twitter:"",linkedin:"",pinterest:"",instagram:""},payment:{bank:{ac_name:"",ac_number:"",bank_name:"",bank_addr:"",routing_number:"",iban:"",swift:""},paypal:{email:""}},address:{street_1:"",street_2:"",city:"",zip:"",state:"",country:""}},requiredFields:["store_name","user_login","email"],errors:[],storeAvailable:!1,userNameAvailable:!1,emailAvailable:!1,hasPro:dokan.hasPro}},created:function(){var e=this;this.$root.$on("vendorInfoChecked",function(t){e.storeAvailable=t.storeAvailable,e.userNameAvailable=t.userNameAvailable,e.emailAvailable=t.emailAvailable})},methods:{getId:function(){return this.$route.params.id},showAlert:function(e,t,a){this.$swal(e,t,a)},createVendor:function(){var e=this;this.formIsValid()&&("VendorPaymentFields"===this.currentTab&&(this.isLoading=!0,dokan.api.post("/stores/",this.store).done(function(t){e.$root.$emit("vendorAdded",t),e.$swal({type:"success",title:e.__("Vendor Created","dokan-lite"),text:e.__("A vendor has been created successfully!","dokan-lite"),showCloseButton:!0,showCancelButton:!0,confirmButtonText:e.__("Add Another","dokan-lite"),cancelButtonText:e.__("Edit Vendor","dokan-lite"),focusConfirm:!1}).then(function(a){a.value?e.$root.$emit("addAnotherVendor"):a.dismiss===e.$swal.DismissReason.cancel&&(e.hasPro?e.$router.push({path:"vendors/"+t.id,query:{edit:"true"}}):window.location.replace("".concat(dokan.urls.adminRoot,"user-edit.php?user_id=").concat(t.id)))})}).fail(function(t){e.showAlert(e.__(t.responseJSON.message,"dokan-lite"),"","error")}).always(function(){e.$root.$emit("modalClosed")})),this.currentTab="VendorPaymentFields"===this.currentTab?"VendorPaymentFields":this.nextTab(this.tabs,this.currentTab))},nextTab:function(e,t){var a=Object.keys(e),s=a[a.indexOf(t)+1];return s},closeModal:function(){this.$root.$emit("modalClosed")},formIsValid:function(){var e=this,t=this.requiredFields,a=this.store;return this.errors=[],t.forEach(function(t){t in a&&a[t].length<1&&e.errors.push(t)}),!!(this.errors.length<1&&this.storeAvailable&&this.userNameAvailable&&this.emailAvailable)||(this.currentTab="VendorAccountFields",!1)}}}},function(e,t,a){"use strict";var s=a(50);t.a={name:"VendorCapabilities",components:{ProCta:s.a},data:function(){return{showPopup:!1,selectedCapabilityImage:"",capabilityCards:[{title:this.__("Coupons","dokan-lite"),content:this.__("Each vendor can create unlimited discount coupon codes for their products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-coupon.svg")},{title:this.__("Shipping","dokan-lite"),content:this.__("Vendors can configure their own shipping costs for each country, state & single products.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-shipping.svg")},{title:this.__("Duplicate Product","dokan-lite"),content:this.__("Vendors can duplicate their own products for ease and time saving.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-duplicate-product.svg")},{title:this.__("Reporting","dokan-lite"),content:this.__("Earning, selling and commissions reports for vendors to improve sales & take major decisions.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-reports.svg")},{title:this.__("Create Tags","dokan-lite"),content:this.__("Vendors can create & attach tags to products to categorize & for better search engine optimization.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-create-tags.svg")},{title:this.__("Vendor Biography","dokan-lite"),content:this.__("Vendors can write about themselves & about their store in a text field which visitors can see from the store page","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-biography.svg")},{title:this.__("Vendor Product Upload","dokan-lite"),content:this.__("New vendors can start uploading products upon registration if admins allow.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-vendor-product-upload.svg")},{title:this.__("Order Status Change","dokan-lite"),content:this.__("Vendors will be able to mark products as draft & update the order status to inform customers about progress.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-order-status-change.svg")},{title:this.__("Social Share","dokan-lite"),content:this.__("Visitors and customers can share a store page with their friends and acquaintances on their social profiles.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-share.svg")},{title:this.__("Variable Product","dokan-lite"),content:this.__("Vendors can create variable products with predefined and custom attributes.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-variable-product.svg")},{title:this.__("Store Opening & Closing Time","dokan-lite"),content:this.__("Vendors can define the working hours of their online store for each day of the week for visitors to see.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-opening-closing-hours.svg")},{title:this.__("Woocommerce Booking Integration","dokan-lite"),content:this.__("Create hotel rooms, resorts, conference rooms, cars, bikes, etc for renting out.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-woocommerce-booking.svg")},{title:this.__("Announcement For Vendors","dokan-lite"),content:this.__("Admins can make announcements targeted to a single vendor, multiple or all vendors.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-announcement-vendors.svg")},{title:this.__("Woocommerce Simple Auctions Integration","dokan-lite"),content:this.__("Sell auction-able products in your store with Dokan’s integration.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-simple-auction.svg")},{title:this.__("Social Profiles","dokan-lite"),content:this.__("Vendors can upload & showcase their Facebook, Twitter and Linkedin profiles on their store page.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-social-profile.svg")},{title:this.__("Refund","dokan-lite"),content:this.__("Vendors can send refund requests for an order to the admins who can approve or deny it from the dashboard.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-refund.svg")},{title:this.__("Store Seo","dokan-lite"),content:this.__("The Yoast SEO integration lets vendors define Store Title, Description, Slug and Keyword to appear in search engine results.","dokan-lite"),image:"".concat(dokan.urls.assetsUrl,"/images/vendor-capability/cap-store-seo.svg")}]}},methods:{closePopup:function(){this.showPopup=!1},openPopup:function(e){this.showPopup=!0,this.selectedCapabilityImage=e}},computed:{bannerBg:function(){return{backgroundImage:"url(".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner-bg.svg)")}},bannerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-vendor-capabilities-banner.svg")}}}},function(e,t,a){"use strict";var s=a(182);t.a={name:"ProModules",components:{ModuleUpgradePopup:s.a},data:function(){return{modules:[{name:this.__("WooCommerce Booking Integration","dokan-lite"),description:this.__("Integrates WooCommerce Booking with Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/booking.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-bookings/",modLink:"https://wedevs.com/dokan/extensions/woocommerce-booking-integration/"},{name:this.__("Color Scheme Customizer","dokan-lite"),description:this.__("A Dokan plugin Add-on to Customize Colors of Dokan Dashboard","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/color-scheme-customizer.png"),docLink:"https://wedevs.com/docs/dokan/modules/color-scheme/",modLink:"https://wedevs.com/dokan/modules/color-scheme-customizer/"},{name:this.__("Elementor","dokan-lite"),description:this.__("Elementor Page Builder widgets for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/elementor.png"),docLink:"https://wedevs.com/docs/dokan/modules/elementor-dokan/",modLink:"https://wedevs.com/dokan/modules/elementor/"},{name:this.__("Vendor Product Importer and Exporter","dokan-lite"),description:this.__("This is simple product import and export plugin for vendor","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/import-export.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-dokan-exportimport-add/",modLink:"https://wedevs.com/dokan/modules/export-import/"},{name:this.__("Follow Store","dokan-lite"),description:this.__("Send emails to customers when their favorite store updates.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/follow-store.png"),docLink:"https://wedevs.com/docs/dokan/modules/follow-store/",modLink:"https://wedevs.com/dokan/modules/follow-store/"},{name:this.__("Geolocation","dokan-lite"),description:this.__("Search Products and Vendors by geolocation.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/geolocation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-geolocation/",modLink:"https://wedevs.com/dokan/modules/geolocation/"},{name:this.__("Live Chat","dokan-lite"),description:this.__("Live Chat Between Vendor & Customer.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/live-chat.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-live-chat/",modLink:"https://wedevs.com/dokan/modules/live-chat/"},{name:this.__("Live Search","dokan-lite"),description:this.__("Live product search for WooCommerce store.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/ajax-live-search.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-live-search/",modLink:"https://wedevs.com/dokan/modules/ajax-live-search/"},{name:this.__("Wirecard","dokan-lite"),description:this.__("Wirecard payment gateway for Dokan.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wirecard-connect.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-moip-connect/",modLink:"https://wedevs.com/dokan/modules/moip/"},{name:this.__("PayPal Adaptive Payment","dokan-lite"),description:this.__("Allows to send split payments to vendor via PayPal Adaptive Payment gateway.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/paypal-adaptive.png"),docLink:"#",modLink:"#"},{name:this.__("Product Addon","dokan-lite"),description:this.__("WooCommerce Product Addon support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-addon.png"),docLink:"https://wedevs.com/docs/dokan/modules/product-addon/",modLink:"https://wedevs.com/dokan/modules/product-addons/"},{name:this.__("Product Enquiry","dokan-lite"),description:this.__("Enquiry for a specific product to a seller.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/product-enquiry.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-configure-use-dokan-product-enquiry/",modLink:"https://wedevs.com/dokan/modules/product-enquiry/"},{name:this.__("Report Abuse","dokan-lite"),description:this.__("Let customers report fraudulent or fake products.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-report-abuse/"},{name:this.__("Return and Warranty Request","dokan-lite"),description:this.__("Manage return and warranty from vendor end.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/report-abuse.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-rma/",modLink:"https://wedevs.com/dokan/modules/rma/"},{name:this.__("Seller Vacation","dokan-lite"),description:this.__("Using this plugin seller can go to vacation by closing their stores.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/seller-vacation.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-vacation/",modLink:"https://wedevs.com/dokan/modules/vendor-vacation/"},{name:this.__("ShipStation Integration","dokan-lite"),description:this.__("Adds ShipStation label printing support to Dokan. Requires server DomDocument support.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/shipstation.png"),docLink:"https://wedevs.com/docs/dokan/modules/shipstation-dokan-wedevs/",modLink:"https://wedevs.com/dokan/modules/shipstation/"},{name:this.__("Auction Integration","dokan-lite"),description:this.__("A plugin that combined WooCommerce simple auction and Dokan plugin.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/auction.png"),docLink:"https://wedevs.com/docs/dokan/modules/woocommerce-auctions-frontend-multivendor-marketplace/",modLink:"https://wedevs.com/dokan/modules/dokan-simple-auctions/"},{name:this.__("Single Product Multiple Vendor","dokan-lite"),description:this.__("A module that offers multiple vendor to sell a single product.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/single-product-multivendor.png"),docLink:"https://wedevs.com/docs/dokan/modules/single-product-multiple-vendor/",modLink:"https://wedevs.com/dokan/modules/single-product-multivendor/"},{name:this.__("Store Reviews","dokan-lite"),description:this.__("A plugin that allows customers to rate the sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-review.png"),docLink:"https://wedevs.com/docs/dokan/modules/vendor-review/",modLink:"https://wedevs.com/dokan/modules/dokan-vendor-review/"},{name:this.__("Store Support","dokan-lite"),description:this.__("Enable vendors to provide support to customers from store page.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/store-support.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-use-store-support/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Stripe Connect","dokan-lite"),description:this.__("Accept credit card payments and allow your sellers to get automatic split payment in Dokan via Stripe.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/stripe.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-and-configure-dokan-stripe-connect/",modLink:"https://wedevs.com/dokan/modules/store-support/"},{name:this.__("Vendor Subscription","dokan-lite"),description:this.__("Product subscription pack add-on for Dokan vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/subscription.png"),docLink:"https://wedevs.com/docs/dokan/modules/how-to-install-use-dokan-subscription/",modLink:"https://wedevs.com/dokan/modules/subscription/"},{name:this.__("Vendor Analytics","dokan-lite"),description:this.__("A plugin for store and product analytics for vendor.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/analytics.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/",modLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-analytics/"},{name:this.__("Vendor Staff Manager","dokan-lite"),description:this.__("A plugin for manage store via vendor staffs.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-staff.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-staff-manager/",modLink:"https://wedevs.com/dokan/modules/vendor-staff-manager/"},{name:this.__("Vendor Subscription Product","dokan-lite"),description:this.__("WooCommerce Subscription integration for Dokan","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-subscription-product.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-vendor-subscription-product/",modLink:"https://wedevs.com/dokan/modules/vendor-subscription-product/"},{name:this.__("Vendor Verification","dokan-lite"),description:this.__("Dokan add-on to verify sellers.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/vendor-verification.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-seller-verification-admin-settings/",modLink:"https://wedevs.com/dokan/modules/seller-verification/"},{name:this.__("Wholesale","dokan-lite"),description:this.__("Offer any customer to buy product as a wholesale price from any vendors.","dokan-lite"),thumbnail:"".concat(dokan.urls.assetsUrl,"/images/modules/wholesale.png"),docLink:"https://wedevs.com/docs/dokan/modules/dokan-wholesale/",modLink:"https://wedevs.com/dokan/modules/wholesale/"}],showPopup:!0}},methods:{togglePopup:function(e){this.showPopup=e}}}},function(e,t,a){"use strict";t.a={name:"ModuleUpgradePopup",props:{showPopup:{type:Boolean,required:!0,default:!0}},data:function(){return{upgradeURL:dokan.urls.upgradeToPro}},methods:{closePopup:function(){this.$emit("toggle",!1)},openPopup:function(){this.$emit("toggle",!0)}},computed:{headerImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-upgrade-popup-header.svg")},bonusImage:function(){return"".concat(dokan.urls.assetsUrl,"/images/dokan-upgrade-popup-bonus.svg")}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(107),n=a(110),i=a(186);new(dokan_get_lib("Vue"))({el:"#dokan-vue-admin",router:n.a,render:function(e){return e(s.a)},created:function(){this.setLocaleData(dokan.i18n["dokan-lite"]),dokan.dokan_pro_i18n&&this.setLocaleData(dokan.dokan_pro_i18n.dokan)},methods:{listTableTexts:function(){return{loading:this.__("Loading","dokan-lite"),select_bulk_action:this.__("Select bulk action","dokan-lite"),bulk_actions:this.__("Bulk Actions","dokan-lite"),items:this.__("items","dokan-lite"),apply:this.__("Apply","dokan-lite")}}}}),Object(i.a)("dokan")},function(e,t,a){"use strict";var s=a(45),n=a(109),i=!1;var o=function(e){i||a(108)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/App.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"vue-backend-app"}},[t("router-view"),this._v(" "),t("notifications",{attrs:{position:"bottom right"}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(111),n=a.n(s),i=a(112),o=a(120),r=a(123),l=a(132),d=a(135),c=a(171),u=a(177),p=a(180),m=dokan_get_lib("Vue"),v=dokan_get_lib("Router"),_=dokan_get_lib("VersionCompare");m.use(v),dokan_add_route(i.a),dokan_add_route(o.a),dokan_add_route(r.a),dokan_add_route(l.a),dokan_add_route(d.a),dokan_add_route(u.a),dokan_add_route(p.a),dokan.hasPro&&!_(dokan.proVersion,"2.9.14",">")||dokan_add_route(c.a),function e(t){for(var a=0;a<t.length;a++)"object"===n()(t[a].children)?(e(t[a].children),void 0!==t[a].component&&(t[a].component=dokan.routeComponents[t[a].component])):t[a].component=dokan.routeComponents[t[a].component]}(dokan.routes),t.a=new v({routes:dokan.routes})},,function(e,t,a){"use strict";var s=a(46),n=a(119),i=!1;var o=function(e){i||a(113)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Dashboard.vue",t.a=r.exports},function(e,t){},,,,function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.show&&e.showUpgrade?a("div",{staticClass:"dokan-upgrade-bar"},[e._v("\n You're using "),a("span",[e._v("Dokan Lite")]),e._v(". To unlock more features, consider\n "),a("a",{attrs:{target:"_blank",rel:"noopener",href:e.upgradeURL}},[e._v("\n Upgrading to Pro")]),e._v(".\n\n "),a("div",{staticClass:"close-button",attrs:{title:"Dismiss the notice"},on:{click:function(t){return e.dismiss()}}},[e._v("\n ×\n ")])]):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-dashboard"},[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("h1",[e._v(e._s(e.__("Dashboard","dokan-lite")))]),e._v(" "),a("div",{staticClass:"widgets-wrapper"},[a("div",{staticClass:"left-side"},[a("postbox",{attrs:{title:e.__("At a Glance","dokan-lite"),extraClass:"dokan-status"}},[null!==e.overview?a("div",{staticClass:"dokan-status"},[a("ul",[a("li",{staticClass:"sale"},[a("div",{staticClass:"dashicons dashicons-chart-bar"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.sales.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("net sales this month","dokan-lite"))+" "),a("span",{class:e.overview.sales.class},[e._v(e._s(e.overview.sales.parcent))])])])],1),e._v(" "),a("li",{staticClass:"commission"},[a("div",{staticClass:"dashicons dashicons-chart-pie"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Reports"}:""}},[a("strong",[a("currency",{attrs:{amount:e.overview.earning.this_month}})],1),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("commission earned","dokan-lite"))+" "),a("span",{class:e.overview.earning.class},[e._v(e._s(e.overview.earning.parcent))])])])],1),e._v(" "),a("li",{staticClass:"vendor"},[a("div",{staticClass:"dashicons dashicons-id"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors"}:""}},[a("strong",[e._v(e._s(e.overview.vendors.this_month)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("signup this month","dokan-lite"))+" "),a("span",{class:e.overview.vendors.class},[e._v(e._s(e.overview.vendors.parcent))])])])],1),e._v(" "),a("li",{staticClass:"approval"},[a("div",{staticClass:"dashicons dashicons-businessman"}),e._v(" "),a("router-link",{attrs:{to:e.hasPro?{name:"Vendors",query:{status:"pending"}}:""}},[a("strong",[e._v(e._s(e.overview.vendors.inactive)+" "+e._s(e.__("Vendor","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1),e._v(" "),a("li",{staticClass:"product"},[a("div",{staticClass:"dashicons dashicons-cart"}),e._v(" "),a("a",{attrs:{href:"#"}},[a("strong",[e._v(e._s(e.overview.products.this_month)+" "+e._s(e.__("Products","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v("\n "+e._s(e.__("created this month","dokan-lite"))+" "),a("span",{class:e.overview.products.class},[e._v(e._s(e.overview.products.parcent))])])])]),e._v(" "),a("li",{staticClass:"withdraw"},[a("div",{staticClass:"dashicons dashicons-money"}),e._v(" "),a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}}}},[a("strong",[e._v(e._s(e.overview.withdraw.pending)+" "+e._s(e.__("Withdrawals","dokan-lite")))]),e._v(" "),a("div",{staticClass:"details"},[e._v(e._s(e.__("awaiting approval","dokan-lite")))])])],1)])]):a("div",{staticClass:"loading"},[a("loading")],1)]),e._v(" "),a("postbox",{attrs:{title:e.__("Dokan News Updates","dokan-lite")}},[null!==e.feed?a("div",{staticClass:"rss-widget"},[a("ul",e._l(e.feed,function(t){return a("li",[a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_campaign=dokan-news",target:"_blank"}},[e._v(e._s(t.title))])])}),0),e._v(" "),a("div",{staticClass:"subscribe-box"},[e.subscribe.success?a("div",{staticClass:"thank-you"},[e._v(e._s(e.__("Thank you for subscribing!","dokan-lite")))]):[e.subscribe.loading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),a("h3",[e._v(e._s(e.__("Stay up-to-date","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("We're constantly developing new features, stay up-to-date by subscribing to our newsletter.","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"form-wrap"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.subscribe.email,expression:"subscribe.email"}],attrs:{type:"email",required:"",placeholder:"Your Email Address"},domProps:{value:e.subscribe.email},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.emailSubscribe()},input:function(t){t.target.composing||e.$set(e.subscribe,"email",t.target.value)}}}),e._v(" "),a("button",{staticClass:"button",on:{click:function(t){return e.emailSubscribe()}}},[e._v(e._s(e.__("Subscribe","dokan-lite")))])])]],2)]):a("div",{staticClass:"loading"},[a("loading")],1)])],1),e._v(" "),a("div",{staticClass:"right-side"},[a("postbox",{staticClass:"overview-chart",attrs:{title:e.__("Overview","dokan-lite")}},[null!==e.report?a("div",[a("chart",{attrs:{data:e.report}})],1):a("div",{staticClass:"loading"},[a("loading")],1)])],1)])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(48),n=a(122),i=!1;var o=function(e){i||a(121)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Withdraw.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"withdraw-requests"},[a("h1",[e._v(e._s(e.__("Withdraw Requests","dokan-lite")))]),e._v(" "),e.showModal?a("modal",{attrs:{title:e.__("Update Note","dokan-lite")},on:{close:function(t){e.showModal=!1}}},[a("template",{slot:"body"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.editing.note,expression:"editing.note"}],attrs:{rows:"3"},domProps:{value:e.editing.note},on:{input:function(t){t.target.composing||e.$set(e.editing,"note",t.target.value)}}})]),e._v(" "),a("template",{slot:"footer"},[a("button",{staticClass:"button button-primary button-large",on:{click:function(t){return e.updateNote()}}},[e._v(e._s(e.__("Update Note","dokan-lite")))])])],2):e._e(),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Withdraw",query:{status:"cancelled"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Cancelled","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.cancelled))])]),e._v(" | ")],1)]),e._v(" "),a("list-table",{attrs:{columns:e.columns,rows:e.requests,loading:e.loading,"action-column":e.actionColumn,actions:e.actions,"show-cb":e.showCb,"bulk-actions":e.bulkActions,"not-found":e.notFound,"total-pages":e.totalPages,"total-items":e.totalItems,"per-page":e.perPage,"current-page":e.currentPage,text:e.$root.listTableTexts()},on:{pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction},scopedSlots:e._u([{key:"seller",fn:function(t){return[a("img",{attrs:{src:t.row.user.gravatar,alt:t.row.user.store_name,width:"50"}}),e._v(" "),a("strong",[a("a",{attrs:{href:e.vendorUrl(t.row.user.id)}},[e._v(e._s(t.row.user.store_name?t.row.user.store_name:e.__("(no name)","dokan-lite")))])])]}},{key:"amount",fn:function(e){return[a("currency",{attrs:{amount:e.row.amount}})]}},{key:"status",fn:function(t){return[a("span",{class:t.row.status},[e._v(e._s(e._f("capitalize")(t.row.status)))])]}},{key:"created",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.created).format("MMM D, YYYY"))+"\n ")]}},{key:"method_details",fn:function(t){return[e._v("\n "+e._s(e.getPaymentDetails(t.row.method,t.row.user.payment))+"\n ")]}},{key:"actions",fn:function(t){return["pending"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Approve Request","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("approved",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-yes"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:"approved"===t.row.status?[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]:[a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{title:e.__("Mark as Pending","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.changeStatus("pending",t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-backup"})]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{title:e.__("Add Note","dokan-lite")},on:{click:function(a){return a.preventDefault(),e.openNoteModal(t.row.note,t.row.id)}}},[a("span",{staticClass:"dashicons dashicons-testimonial"})])])]]}}])})],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(49),n=a(131),i=!1;var o=function(e){i||a(124)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Premium.vue",t.a=r.exports},function(e,t){},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"cta-section",style:{"background-image":"url("+e.styles.bgPattern+"), linear-gradient( 45deg, rgb(255,125,144) 33%, rgb(255,173,111) 100%)"}},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.thumbnail,alt:"Dokan Lite"}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h2",[e._v(e._s(e.__("Convinced?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("With all the advance features you get it’s hard to resist buying Dokan Pro.","dokan-lite")))]),e._v(" "),a("a",{staticClass:"btn",attrs:{href:e.url,target:"_blank"}},[e._v("\n "+e._s(e.__("Upgrade to Pro","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])])])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-pro-features"},[a("div",{staticClass:"header-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/header-feature-thumb@2x.png",alt:e.__("Upgrade to Dokan Pro!","dokan-lite"),title:e.__("Upgrade to Dokan Pro!","dokan-lite")}})]),e._v(" "),a("div",{staticClass:"content-area"},[a("h1",[e._v(e._s(e.__("Upgrade to Dokan Pro!","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Seems To Be Convinced, You Need More Out Of Your Marketplace","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")]),e._v(" "),a("router-link",{staticClass:"button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)]),e._v(" "),a("div",{staticClass:"service-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Why Upgrade","dokan-lite")))]),e._v(" "),a("div",{staticClass:"service-list"},e._l(e.services,function(t){return a("div",{staticClass:"service-box"},[a("div",{staticClass:"service-thumb"},[a("img",{attrs:{src:t.thumbnail,alt:t.title,title:t.title}})]),e._v(" "),a("div",{staticClass:"service-detail"},[a("h3",{staticClass:"title"},[e._v(e._s(t.title))])])])}),0),e._v(" "),a("a",{staticClass:"btn",attrs:{href:"https://wedevs.com/dokan/features/",target:"_blank"}},[e._v("\n "+e._s(e.__("And Many More","dokan-lite"))+"\n "),a("svg",{staticStyle:{"enable-background":"new 0 0 17.5 12.5"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 17.5 12.5","xml:space":"preserve"}},[a("path",{staticClass:"st0",attrs:{d:"M10.6,1.5c-0.4-0.4-0.4-0.9,0-1.3c0.4-0.3,0.9-0.3,1.3,0l5.3,5.3c0.2,0.2,0.3,0.4,0.3,0.7s-0.1,0.5-0.3,0.7\n l-5.3,5.3c-0.4,0.4-0.9,0.4-1.3,0c-0.4-0.4-0.4-0.9,0-1.3l3.8-3.8H0.9C0.4,7.1,0,6.7,0,6.2s0.4-0.9,0.9-0.9h13.5L10.6,1.5z\n M10.6,1.5"}})])])]),e._v(" "),a("div",{staticClass:"comparison-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("Comparison With Dokan PRO","dokan-lite")))]),e._v(" "),a("div",{staticClass:"comparison-area"},[a("div",{staticClass:"compare-box dokan-lite"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-lite-logo@2x.png",alt:"Dokan Lite"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.lite},["available"===t.compare.lite?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)]),e._v(" "),a("div",{staticClass:"compare-box dokan-pro"},[a("div",{staticClass:"logo-section"},[a("img",{attrs:{src:e.asstesUrl+"/images/premium/dokan-pro-logo@2x.png",alt:"Dokan Pro"}})]),e._v(" "),a("ul",{staticClass:"compare-list"},e._l(e.comparisons,function(t){return a("li",{class:t.compare.pro},["available"===t.compare.pro?a("img",{attrs:{src:e.asstesUrl+"/images/premium/available@2x.png",alt:""}}):a("img",{attrs:{src:e.asstesUrl+"/images/premium/unavailable@2x.png",alt:""}}),e._v(" "),a("span",[e._v(e._s(t.title))])])}),0)])])]),e._v(" "),a("div",{staticClass:"pricing-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("The Packages We Provide","dokan-lite")))]),e._v(" "),a("div",{staticClass:"pricing-wrapper"},[e._m(0),e._v(" "),e._l(e.modules,function(t){return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"},[a("a",{staticClass:"module-name",attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.title))])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.starter.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.starter.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.starter.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col popular"},["numeric"===t.professional.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.professional.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.professional.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.business.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.business.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.business.value,alt:""}})])]),e._v(" "),a("div",{staticClass:"table-col"},["numeric"===t.enterprise.type?a("div",{staticClass:"plan-data"},[e._v(e._s(t.enterprise.value))]):a("div",{staticClass:"plan-data"},[a("img",{attrs:{src:t.enterprise.value,alt:""}})])])])}),e._v(" "),a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn starter",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15316&attribute_pa_license=starter",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("a",{staticClass:"buy-btn professional",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15314&attribute_pa_license=professional",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn business",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=15315&attribute_pa_license=business",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])]),e._v(" "),a("div",{staticClass:"table-col"},[a("a",{staticClass:"buy-btn enterprise",attrs:{href:e.buyNowProUrl+"?add-to-cart=15310&variation_id=103829&attribute_pa_license=enterprise",target:"_blank"}},[e._v(e._s(e.__("Buy Now","dokan-lite")))])])])],2)]),e._v(" "),a("div",{staticClass:"payment-section"},[a("div",{staticClass:"guarantee-section"},[a("div",{staticClass:"feature-thumb"},[a("img",{attrs:{src:e.payment.guaranteeThumbnail,alt:"Dokan"}})]),e._v(" "),a("div",{staticClass:"guarantee-detail"},[a("h2",[e._v(e._s(e.__("14 Days Money Back Guarantee","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("After successful purchase, you will be eligible for conditional refund","dokan-lite")))]),e._v(" "),a("a",{attrs:{href:e.payment.termsPolicyUrl,target:"_blank"}},[a("img",{attrs:{src:e.payment.viewIcon,alt:"Dokan"}}),e._v(" "+e._s(e.__("Terms & Condition Applied","dokan-lite")))])])]),e._v(" "),a("div",{staticClass:"payment-area"},[a("h3",[e._v(e._s(e.__("Payment Options:","dokan-lite")))]),e._v(" "),a("div",{staticClass:"option"},[a("img",{attrs:{src:e.payment.thumbnail,alt:"Credit Card"}})])])]),e._v(" "),a("div",{staticClass:"testimonial-section"},[a("h2",{staticClass:"section-title"},[e._v(e._s(e.__("People We Have Helped","dokan-lite")))]),e._v(" "),a("div",{staticClass:"testimonial-wrapper"},[a("slick",{ref:"slick",attrs:{options:e.slickOptions}},e._l(e.testimonials,function(t){return a("div",{staticClass:"testimonial-box"},[a("div",{staticClass:"profile-pic"},[a("img",{attrs:{src:t.pic,alt:""}})]),e._v(" "),a("div",{staticClass:"content-detail",style:{"background-image":"url("+e.asstesUrl+"/images/premium/quote-icon.png)"}},[a("h4",[e._v(e._s(t.name))]),e._v(" "),a("span",[e._v(e._s(t.designation))]),e._v(" "),a("p",[e._v(e._s(t.content))])])])}),0)],1),e._v(" "),a("p",{domProps:{innerHTML:e._s(e.sprintf("%s <a href='%s' target='_blank'>%s</a> %s",e.__("We are proud to say the official","dokan-lite"),"https://themes.getbootstrap.com/","Bootstrap theme marketplace",e.__("is built using Dokan","dokan-lite")))}})]),e._v(" "),a("ProCta")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"table-row"},[a("div",{staticClass:"table-col"}),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name starter"},[e._v("Starter")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("149")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col popular"},[a("div",{staticClass:"plan-name professional"},[e._v("Professional")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("249")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name business"},[e._v("Business")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("499")]),e._v(" "),a("span",[e._v("/year")])])]),e._v(" "),a("div",{staticClass:"table-col"},[a("div",{staticClass:"plan-name enterprise"},[e._v("Enterprise")]),e._v(" "),a("div",{staticClass:"price"},[a("span",[a("sup",[e._v("$")]),e._v("999")]),e._v(" "),a("span",[e._v("/year")])])])])}]};t.a=n},function(e,t,a){"use strict";var s=a(52),n=a(134),i=!1;var o=function(e){i||a(133)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Help.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-help-page"},[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("h1",[e._v(e._s(e.__("Help","dokan-lite")))]),e._v(" "),null!==e.docs?a("div",{staticClass:"section-wrapper"},e._l(e.docs,function(t,s){return a("postbox",{key:s,attrs:{title:t.title}},[a("ul",e._l(t.questions,function(t){return a("li",[a("span",{staticClass:"dashicons dashicons-media-text"}),e._v(" "),a("a",{attrs:{href:t.link+"?utm_source=wp-admin&utm_medium=dokan-help-page",target:"_blank"}},[e._v(e._s(t.title))])])}),0)])}),1):a("div",{staticClass:"loading"},[a("loading")],1)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(53),n=a(170),i=!1;var o=function(e){i||a(136)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Settings.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(54),n=a(166),i=!1;var o=function(e){i||a(138)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/Fields.vue",t.a=r.exports},function(e,t){},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.shoudShow?a("tr",{class:[e.id,"dokan-settings-field-type-"+e.fieldData.type]},["sub_section"===e.fieldData.type?[a("th",{staticClass:"dokan-settings-sub-section-title",attrs:{colspan:"2"}},[a("label",[e._v(e._s(e.fieldData.label))])])]:e._e(),e._v(" "),e.containCommonFields(e.fieldData.type)?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",["checkbox"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"checkbox"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e.fieldValue[e.fieldData.name]},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=!!s.checked;if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}):"radio"===(e.fieldData.type||"text")?a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:"radio"},domProps:{checked:e._q(e.fieldValue[e.fieldData.name],null)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,null)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:e.fieldData.class,attrs:{id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]",type:e.fieldData.type||"text"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"number"===e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"number",min:e.fieldData.min,max:e.fieldData.max,step:e.fieldData.step,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"price"==e.fieldData.type&&e.allSettingsValues.dokan_selling&&"combine"!==e.allSettingsValues.dokan_selling.commission_type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",class:{wc_input_decimal:"percentage"==e.allSettingsValues.dokan_selling.commission_type,wc_input_price:"flat"==e.allSettingsValues.dokan_selling.commission_type},attrs:{type:"text",min:e.fieldData.min,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"combine"==e.fieldData.type&&e.haveCondition(e.fieldData)&&"show"==e.fieldData.condition.type&&e.checkConditionLogic(e.fieldData,e.fieldValue)?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{staticClass:"percent_fee"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.percent_fee.name],expression:"fieldValue[fieldData.fields.percent_fee.name]"}],staticClass:"wc_input_decimal regular-text",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][percent_fee]",name:e.sectionId+"["+e.fieldData.fields.percent_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.percent_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.percent_fee.name,t.target.value)}}}),e._v("\n "+e._s("%")+"\n ")]),e._v(" "),a("td",{staticClass:"fixed_fee"},[e._v("\n "+e._s("+")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.fields.fixed_fee.name],expression:"fieldValue[fieldData.fields.fixed_fee.name]"}],staticClass:"wc_input_price regular-text",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"][fixed_fee]",name:e.sectionId+"["+e.fieldData.fields.fixed_fee.name+"]"},domProps:{value:e.fieldValue[e.fieldData.fields.fixed_fee.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.fields.fixed_fee.name,t.target.value)}}})]),e._v(" "),e.hasError(e.fieldData.fields.percent_fee.name)&&e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.__("Both percentage and fixed fee is required.","dokan-lite"))+"\n ")]):e.hasError(e.fieldData.fields.percent_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.percent_fee.label))+"\n ")]):e.hasError(e.fieldData.fields.fixed_fee.name)?a("p",{staticClass:"dokan-error combine-commission"},[e._v("\n "+e._s(e.getError(e.fieldData.fields.fixed_fee.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})]:e._e(),e._v(" "),"textarea"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"textarea",rows:e.fieldData.rows,cols:e.fieldData.cols,id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"checkbox"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]","true-value":"on","false-value":"off"},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name])?e._i(e.fieldValue[e.fieldData.name],null)>-1:e._q(e.fieldValue[e.fieldData.name],"on")},on:{change:function(t){var a=e.fieldValue[e.fieldData.name],s=t.target,n=s.checked?"on":"off";if(Array.isArray(a)){var i=e._i(a,null);s.checked?i<0&&e.$set(e.fieldValue,e.fieldData.name,a.concat([null])):i>-1&&e.$set(e.fieldValue,e.fieldData.name,a.slice(0,i).concat(a.slice(i+1)))}else e.$set(e.fieldValue,e.fieldData.name,n)}}}),e._v("\n "+e._s(e.fieldData.desc)+"\n ")])])])]:e._e(),e._v(" "),"multicheck"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("fieldset",[e._l(e.fieldData.options,function(t,s){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name][s],expression:"fieldValue[fieldData.name][optionKey]"}],staticClass:"checkbox",attrs:{type:"checkbox",id:e.sectionId+"["+e.fieldData.name+"]["+s+"]",name:e.sectionId+"["+e.fieldData.name+"]["+s+"]","true-value":s,"false-value":""},domProps:{checked:Array.isArray(e.fieldValue[e.fieldData.name][s])?e._i(e.fieldValue[e.fieldData.name][s],null)>-1:e._q(e.fieldValue[e.fieldData.name][s],s)},on:{change:function(t){var a=e.fieldValue[e.fieldData.name][s],n=t.target,i=n.checked?s:"";if(Array.isArray(a)){var o=e._i(a,null);n.checked?o<0&&e.$set(e.fieldValue[e.fieldData.name],s,a.concat([null])):o>-1&&e.$set(e.fieldValue[e.fieldData.name],s,a.slice(0,o).concat(a.slice(o+1)))}else e.$set(e.fieldValue[e.fieldData.name],s,i)}}}),e._v("\n "+e._s(t)+"\n ")]),e._v(" "),a("br")]})],2)])]:e._e(),e._v(" "),"select"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[e.fieldData.grouped?a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t){return a("optgroup",{attrs:{label:t.group_label}},e._l(t.group_values,function(t){return a("option",{domProps:{value:t.value,innerHTML:e._s(t.label)}})}),0)})],2):a("select",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular",attrs:{name:e.sectionId+"["+e.fieldData.name+"]",id:e.sectionId+"["+e.fieldData.name+"]"},on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){return"_value"in e?e._value:e.value});e.$set(e.fieldValue,e.fieldData.name,t.target.multiple?a:a[0])}}},[e.fieldData.placeholder?a("option",{attrs:{value:""},domProps:{innerHTML:e._s(e.fieldData.placeholder)}}):e._e(),e._v(" "),e._l(e.fieldData.options,function(t,s){return a("option",{domProps:{value:s,innerHTML:e._s(t)}})})],2),e._v(" "),e.fieldData.refresh_options?a("RefreshSettingOptions",{attrs:{section:e.sectionId,field:e.fieldData,"toggle-loading-state":e.toggleLoadingState}}):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"file"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"regular-text wpsa-url",attrs:{type:"text",id:e.sectionId+"["+e.fieldData.name+"]",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.fieldValue[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.fieldValue,e.fieldData.name,t.target.value)}}}),e._v(" "),a("input",{staticClass:"button wpsa-browse",attrs:{type:"button",value:"Choose File"},on:{click:function(t){return t.preventDefault(),e.$emit("openMedia",{sectionId:e.sectionId,name:e.fieldData.name},t)}}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"color"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("color-picker",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"html"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"radio"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{staticClass:"dokan-settings-field-type-radio"},[a("fieldset",[e._l(e.fieldData.options,function(t,s){return[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]["+s+"]"}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",id:e.sectionId+"["+e.fieldData.name+"]["+s+"]",name:s},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "+e._s(t)+"\n ")])]})],2),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"wpeditor"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("text-editor",{model:{value:e.fieldValue[e.fieldData.name],callback:function(t){e.$set(e.fieldValue,e.fieldData.name,t)},expression:"fieldValue[fieldData.name]"}}),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]:e._e(),e._v(" "),"repeatable"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",{attrs:{width:"72%"}},[a("ul",{staticClass:"dokan-settings-repeatable-list"},e._l(e.fieldValue[e.fieldData.name],function(t,s){return e.fieldValue[e.fieldData.name]?a("li",[e._v("\n "+e._s(t.value)+" "),a("span",{staticClass:"dashicons dashicons-no-alt remove-item",on:{click:function(t){return t.preventDefault(),e.removeItem(s,e.fieldData.name)}}})]):e._e()}),0),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.repeatableItem[e.fieldData.name],expression:"repeatableItem[fieldData.name]"}],staticClass:"regular-text",attrs:{type:"text"},domProps:{value:e.repeatableItem[e.fieldData.name]},on:{input:function(t){t.target.composing||e.$set(e.repeatableItem,e.fieldData.name,t.target.value)}}}),e._v(" "),a("a",{staticClass:"button dokan-repetable-add-item-btn",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.addItem(e.fieldData.type,e.fieldData.name)}}},[e._v("+")]),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})])]:e._e(),e._v(" "),"radio_image"==e.fieldData.type?[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("div",{staticClass:"radio-image-container"},[e._l(e.fieldData.options,function(t,s){return[a("label",{staticClass:"radio-image",class:{active:e.fieldValue[e.fieldData.name]===s,"not-active":e.fieldValue[e.fieldData.name]!==s}},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.fieldValue[e.fieldData.name],expression:"fieldValue[fieldData.name]"}],staticClass:"radio",attrs:{type:"radio",name:e.fieldData.name},domProps:{value:s,checked:e._q(e.fieldValue[e.fieldData.name],s)},on:{change:function(t){return e.$set(e.fieldValue,e.fieldData.name,s)}}}),e._v(" "),a("span",{staticClass:"current-option-indicator"},[a("span",{staticClass:"dashicons dashicons-yes"}),e._v(" "+e._s(e.__("Active","dokan-lite")))]),e._v(" "),a("img",{attrs:{src:t}}),e._v(" "),a("span",{staticClass:"active-option"},[a("button",{staticClass:"button button-primary button-hero",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.fieldValue[e.fieldData.name]=s}}},[e._v("\n "+e._s(e.__("Select","dokan-lite"))+"\n ")])])])]})],2)])]:e._e(),e._v(" "),"gmap"!=e.fieldData.type||e.hideMap?e._e():[a("th",{attrs:{scope:"row"}},[a("label",{attrs:{for:e.sectionId+"["+e.fieldData.name+"]"}},[e._v(e._s(e.fieldData.label))])]),e._v(" "),a("td",[a("input",{attrs:{type:"hidden",name:e.sectionId+"["+e.fieldData.name+"]"},domProps:{value:e.mapLocation}}),e._v(" "),"mapbox"===e.mapApiSource?a("Mapbox",{attrs:{accessToken:e.mapboxAccessToken,location:e.mapLocation,width:"100%",height:"300px"},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}):a("GoogleMaps",{attrs:{apiKey:e.googleMapApiKey,location:e.mapLocation},on:{hideMap:e.onHideMap,updateMap:e.onUpdateMap}}),e._v(" "),e.hasError(e.fieldData.name)?a("p",{staticClass:"dokan-error"},[e._v("\n "+e._s(e.getError(e.fieldData.label))+"\n ")]):e._e(),e._v(" "),a("p",{staticClass:"description",domProps:{innerHTML:e._s(e.fieldData.desc)}})],1)]],2):e._e()};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(63),n=a(169),i=!1;var o=function(e){i||a(168)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/SettingsBanner.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-settings-banner"}},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Settings Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("h1",[e._v(e._s(e.__("Looking for Coupons, Variable Products, SEO or Shipping?","dokan-lite")))]),e._v(" "),a("p",[e._v(e._s(e.__("Unlock these awesome frontend features with Dokan PRO","dokan-lite")))]),e._v(" "),a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("router-link",{staticClass:"button custom-button",attrs:{to:{name:"VendorCapabilities"}}},[e._v("\n "+e._s(e.__("Check Out All Vendor Functionalities","dokan-lite"))+"\n ")])],1)])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"dokan-settings"},[a("h2",{staticStyle:{"margin-bottom":"15px"}},[e._v(e._s(e.__("Settings","dokan-lite")))]),e._v(" "),e.isSaved?a("div",{staticClass:"settings-error notice is-dismissible",class:{updated:e.isUpdated,error:!e.isUpdated},attrs:{id:"setting-message_updated"}},[a("p",[a("strong",{domProps:{innerHTML:e._s(e.message)}})]),e._v(" "),a("button",{staticClass:"notice-dismiss",attrs:{type:"button"},on:{click:function(t){t.preventDefault(),e.isSaved=!1}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Dismiss this notice.","dokan-lite")))])])]):e._e(),e._v(" "),a("div",{staticClass:"dokan-settings-wrap"},[a("div",{staticClass:"nav-tab-wrapper"},[a("div",{staticClass:"search-box"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchText,expression:"searchText"}],ref:"searchInSettings",staticClass:"dokan-admin-search-settings",attrs:{type:"text",placeholder:"Search e.g. vendor"},domProps:{value:e.searchText},on:{input:[function(t){t.target.composing||(e.searchText=t.target.value)},e.searchInSettings]}}),e._v(" "),""!==e.searchText?a("span",{staticClass:"dashicons dashicons-no-alt",on:{click:function(t){return t.preventDefault(),e.clearSearch(t)}}}):e._e()]),e._v(" "),e._l(e.settingSections,function(t){return[a("a",{class:["nav-tab",e.currentTab===t.id?"nav-tab-active":""],attrs:{href:"#"},on:{click:function(a){return a.preventDefault(),e.changeTab(t)}}},[a("span",{staticClass:"dashicons",class:t.icon}),e._v(" "+e._s(t.title)+"\n ")])]})],2),e._v(" "),a("div",{staticClass:"metabox-holder"},[e._l(e.settingFields,function(t,s){return e.isLoaded?[e.currentTab===s?a("div",{staticClass:"group",attrs:{id:s}},[a("form",{attrs:{method:"post",action:"options.php"}},[a("input",{attrs:{type:"hidden",name:"option_page"},domProps:{value:s}}),e._v(" "),a("input",{attrs:{type:"hidden",name:"action",value:"update"}}),e._v(" "),a("table",{staticClass:"form-table"},[e.showSectionTitle(t)?a("thead",[a("tr",{staticClass:"dokan-settings-field-type-sub_section"},[a("th",{staticClass:"dokan-settings-sub-section-title",attrs:{colspan:"2"}},[a("label",[e._v(e._s(e.sectionTitle(s)))])])])]):e._e(),e._v(" "),a("tbody",e._l(t,function(t,n){return a("Fields",{key:n,attrs:{"section-id":s,id:n,"field-data":t,"field-value":e.settingValues[s],"all-settings-values":e.settingValues,errors:e.errors,"toggle-loading-state":e.toggleLoadingState},on:{openMedia:e.showMedia}})}),1)]),e._v(" "),a("p",{staticClass:"submit"},[a("input",{staticClass:"button button-primary",attrs:{type:"submit",name:"submit",id:"submit",value:"Save Changes"},on:{click:function(t){return t.preventDefault(),e.saveSettings(e.settingValues[s],s)}}})])])]):e._e()]:e._e()})],2),e._v(" "),e.showLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e()])]),e._v(" "),e.hasPro?e._e():a("SettingsBanner")],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(64),n=a(176),i=!1;var o=function(e){i||a(172)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/Vendors.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(65),n=a(175),i=!1;var o=function(e){i||a(174)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/AddVendor.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-vendor-edit"},[a("modal",{attrs:{title:e.title,width:"800px"},on:{close:e.closeModal}},[a("div",{attrs:{slot:"body"},slot:"body"},[a("div",{staticClass:"tab-header"},[a("ul",{staticClass:"tab-list"},e._l(e.tabs,function(t,s){return a("li",{key:s,class:{"tab-title":!0,active:e.currentTab===t.name,last:"VendorPaymentFields"===t.name}},[a("div",{staticClass:"tab-link"},[a("a",{class:{first:"VendorAccountFields"===t.name},attrs:{href:"#"},on:{click:function(a){a.preventDefault(),e.currentTab=t.name}}},[a("span",{class:[t.icon]}),e._v("\n "+e._s(t.label)+"\n ")])])])}),0)]),e._v(" "),e.currentTab?a("div",{staticClass:"tab-contents"},[e.isLoading?a("div",{staticClass:"loading"},[a("loading")],1):e._e(),e._v(" "),e.isLoading?e._e():a("transition",{attrs:{name:"component-fade",mode:"out-in"}},[a(e.currentTab,{tag:"component",attrs:{vendorInfo:e.store,errors:e.errors}})],1)],1):e._e()]),e._v(" "),a("div",{attrs:{slot:"footer"},slot:"footer"},[a("button",{staticClass:"button button-primary button-hero",on:{click:e.createVendor}},[e._v(e._s("VendorPaymentFields"===e.currentTab?e.__("Create Vendor","dokan-lite"):this.nextBtn))])])])],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.hasPro?e._e():a("UpgradeBanner"),e._v(" "),a("div",{staticClass:"vendor-list"},[a("h1",{staticClass:"wp-heading-inline"},[e._v(e._s(e.__("Vendors","dokan-lite")))]),e._v(" "),a("button",{staticClass:"page-title-action",on:{click:function(t){return e.addNew()}}},[e._v(e._s(e.__("Add New","dokan-lite")))]),e._v(" "),e._l(e.dokanVendorHeaderArea,function(e,t){return a(e,{key:t,tag:"component"})}),e._v(" "),a("hr",{staticClass:"wp-header-end"}),e._v(" "),a("ul",{staticClass:"subsubsub"},[a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"all"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("All","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.all))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"approved"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Approved","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.approved))])]),e._v(" | ")],1),e._v(" "),a("li",[a("router-link",{attrs:{to:{name:"Vendors",query:{status:"pending"}},"active-class":"current",exact:""}},[e._v(e._s(e.__("Pending","dokan-lite"))+" "),a("span",{staticClass:"count"},[e._v(e._s(e.counts.pending))])]),e._v(" | ")],1)]),e._v(" "),a("search",{attrs:{title:e.__("Search Vendors","dokan-lite")},on:{searched:e.doSearch}}),e._v(" "),a("list-table",{attrs:{columns:e.columns,loading:e.loading,rows:e.vendors,actions:e.actions,actionColumn:"store_name","show-cb":e.showCb,"total-items":e.totalItems,"bulk-actions":e.bulkActions,"total-pages":e.totalPages,"per-page":e.perPage,"current-page":e.currentPage,"action-column":e.actionColumn,"not-found":"No vendors found.","sort-by":e.sortBy,"sort-order":e.sortOrder,text:e.$root.listTableTexts()},on:{sort:e.sortCallback,pagination:e.goToPage,"action:click":e.onActionClick,"bulk:click":e.onBulkAction,searched:e.doSearch},scopedSlots:e._u([{key:"store_name",fn:function(t){return[a("img",{attrs:{src:t.row.gravatar,alt:t.row.store_name,width:"50"}}),e._v(" "),a("strong",[e.hasPro?a("router-link",{attrs:{to:"/vendors/"+t.row.id}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(t.row.store_name?t.row.store_name:e.__("(no name)","dokan-lite")))])],1)]}},{key:"email",fn:function(t){return[a("a",{attrs:{href:"mailto:"+t.row.email}},[e._v(e._s(t.row.email))])]}},{key:"categories",fn:function(t){var a=t.row;return[e._v("\n "+e._s(a.categories.map(function(e){return e.name}).join(", "))+"\n ")]}},{key:"registered",fn:function(t){return[e._v("\n "+e._s(e.moment(t.row.registered).format("MMM D, YYYY"))+"\n ")]}},{key:"enabled",fn:function(t){return[a("switches",{attrs:{enabled:t.row.enabled,value:t.row.id},on:{input:e.onSwitch}})]}},{key:"row-actions",fn:function(t){return e._l(e.actions,function(s,n){return a("span",{class:s.key},[e.hasPro&&"edit"==s.key?a("router-link",{attrs:{to:{path:"vendors/"+t.row.id,query:{edit:"true"}}}},[e._v(e._s(s.label))]):e.hasPro||"edit"!=s.key?"products"==s.key?a("a",{attrs:{href:e.productUrl(t.row.id)}},[e._v(e._s(s.label))]):"orders"==s.key?a("a",{attrs:{href:e.ordersUrl(t.row.id)}},[e._v(e._s(s.label))]):"switch_to"==s.key?a("a",{attrs:{href:e.switchToUrl(t.row)}},[e._v(e._s(s.label))]):a("a",{attrs:{href:"#"}},[e._v(e._s(s.label))]):a("a",{attrs:{href:e.editUrl(t.row.id)}},[e._v(e._s(s.label))]),e._v(" "),n!==e.actions.length-1?[e._v(" | ")]:e._e()],2)})}}])}),e._v(" "),e.loadAddVendor?a("add-vendor",{attrs:{"vendor-id":e.vendorId}}):e._e()],2)],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(66),n=a(179),i=!1;var o=function(e){i||a(178)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/VendorCapabilities.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-vendor-capabilities"}},[a("div",{staticClass:"vendor-capabilities-banner",style:e.bannerBg},[a("img",{attrs:{src:e.bannerImage,alt:e.__("Dokan Vendor Capabilities Banner","dokan-lite")}}),e._v(" "),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[e._v(e._s(e.__("Vendor Capabilities","dokan-lite")))]),e._v(" "),a("p",[e._v("\n "+e._s(e.__("One of the finest attractions of Dokan PRO is the vast array of powerful vendor controls & functions it provides so sellers can enjoy ownership, automation & freedom to run their stores. To use these awesome vendor features listed below, consider Upgrading to PRO.","dokan-lite"))+"\n ")])])]),e._v(" "),a("div",{staticClass:"grid"},e._l(e.capabilityCards,function(t){return a("div",{staticClass:"col-6"},[a("div",{staticClass:"capability-card"},[a("div",{staticClass:"capability-image"},[a("img",{staticClass:"image",attrs:{src:t.image,alt:e.__("Dokan Capability","dokan-lite")}}),e._v(" "),a("div",{staticClass:"middle"},[a("div",{staticClass:"zoom",on:{click:function(a){return e.openPopup(t.image)}}},[a("div",{staticClass:"dashicons dashicons-search"})])])]),e._v(" "),a("p",{staticClass:"title"},[e._v(e._s(t.title))]),e._v(" "),a("p",{staticClass:"content"},[e._v(e._s(t.content))])])])}),0),e._v(" "),a("ProCta"),e._v(" "),e.showPopup?a("div",{attrs:{id:"dokan-capability-image-popup"},on:{click:e.closePopup}},[a("div",{staticClass:"modal-content"},[a("div",{staticClass:"body"},[a("img",{attrs:{src:this.selectedCapabilityImage,alt:e.__("Dokan Capability","dokan-lite")}})])])]):e._e()],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=a(67),n=a(185),i=!1;var o=function(e){i||a(181)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/pages/ProModules.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=a(68),n=a(184),i=!1;var o=function(e){i||a(183)},r=a(0)(s.a,n.a,!1,o,null,null);r.options.__file="src/admin/components/ModuleUpgradePopup.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"dokan-upgrade-to-pro-wrapper"}},[e.showPopup?a("div",{attrs:{id:"dokan-upgrade-popup"}},[a("div",{staticClass:"modal-content"},[a("span",{staticClass:"close",on:{click:e.closePopup}}),e._v(" "),a("div",{staticClass:"header"},[a("img",{attrs:{src:e.headerImage,alt:e.__("Dokan Upgrade Popup","dokan-lite")}}),e._v(" "),a("h1",[e._v(e._s(e.__("Unlock 20+ Modules","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-brand"},[e._v(e._s(e.__("with Dokan Premium Plans","dokan-lite")))]),e._v(" "),a("p",{staticClass:"text-disabled"},[e._v("\n "+e._s(e.__("We’re sorry, Dokan Modules are not available on Dokan Lite. Please upgrade to a PRO plan to unlock the modules of your choice.","dokan-lite"))+"\n ")])]),e._v(" "),a("div",{staticClass:"body"},[a("a",{staticClass:"button",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.upgradeURL}},[e._v(e._s(e.__("Upgrade to Pro","dokan-lite")))]),e._v(" "),a("div",{staticClass:"promo-card"},[a("img",{attrs:{src:e.bonusImage,alt:e.__("Dokan Upgrade Promo","dokan-lite")}}),e._v(" "),a("p",[e._v(e._s(e.__("Bonus: Dokan Lite users get 30% off regular price. Click on the link above to obtain the coupon & apply it during checkout.","dokan-lite")))])]),e._v(" "),a("span",[a("a",{attrs:{target:"_blank",rel:"noopener noreferrer",href:"https://wedevs.com/docs/dokan/getting-started/installation-2/"}},[e._v(e._s(e.__("Already upgraded?","dokan-lite")))])])])])]):e._e()])};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";var s=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{attrs:{id:"lite-modules"}},[a("div",{staticClass:"dokan-modules-wrap"},[a("h1",[e._v(e._s(e.__("Modules","dokan")))]),e._v(" "),a("div",{staticClass:"module-content"},[a("div",{staticClass:"wp-list-table widefat dokan-modules"},[e.modules.length>0?e._l(e.modules,function(t){return a("div",{staticClass:"plugin-card"},[a("div",{staticClass:"plugin-card-top"},[a("div",{staticClass:"name column-name"},[a("h3",[a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[e._v(e._s(t.name))]),e._v(" "),a("a",{staticClass:"plugin-name",attrs:{href:t.modLink,target:"_blank"}},[a("img",{staticClass:"plugin-icon",attrs:{src:t.thumbnail,alt:t.name}})])])]),e._v(" "),a("div",{staticClass:"action-links"},[a("ul",{staticClass:"plugin-action-buttons"},[a("li",{on:{click:function(t){return e.togglePopup(!0)}}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"42",height:"20"}},[a("rect",{attrs:{width:"42",height:"20",rx:"10",fill:"#c0c3c6"}}),a("circle",{attrs:{cx:"6",cy:"6",r:"6",transform:"translate(6 4)",fill:"#fff"}})])])])]),e._v(" "),a("div",{staticClass:"desc column-description"},[a("p",{domProps:{innerHTML:e._s(t.description)}})]),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{attrs:{href:t.docLink,target:"_blank"}},[e._v(e._s(e.__("Documentation","dokan")))])])])])}):[a("div",{staticClass:"notice notice-info",attrs:{id:"message"}},[a("p",[a("strong",[e._v(e._s(e.__("No modules found.","dokan")))])])])]],2)])]),e._v(" "),a("ModuleUpgradePopup",{attrs:{"show-popup":e.showPopup},on:{toggle:e.togglePopup}})],1)};s._withStripped=!0;var n={render:s,staticRenderFns:[]};t.a=n},function(e,t,a){"use strict";t.a=function(e){var t=jQuery,a=t("#toplevel_page_"+e),s=window.location.href,n=s.substr(s.indexOf("admin.php"));a.on("click","a",function(){var e=t(this);t("ul.wp-submenu li",a).removeClass("current"),e.hasClass("wp-has-submenu")?t("li.wp-first-item",a).addClass("current"):e.parents("li").addClass("current")}),t("ul.wp-submenu a",a).each(function(e,a){t(a).attr("href")!==n||t(a).parent().addClass("current")})}}],[106]);
|
assets/js/vue-bootstrap.js
CHANGED
@@ -4538,11 +4538,6 @@ var SearchButtonControl = /*#__PURE__*/function () {
|
|
4538 |
//
|
4539 |
//
|
4540 |
//
|
4541 |
-
//
|
4542 |
-
//
|
4543 |
-
//
|
4544 |
-
//
|
4545 |
-
//
|
4546 |
/* harmony default export */ __webpack_exports__["a"] = ({
|
4547 |
name: 'VendorSocialFields',
|
4548 |
props: {
|
@@ -6359,7 +6354,7 @@ var render = function() {
|
|
6359 |
{ staticClass: "dokan-form-group" },
|
6360 |
[
|
6361 |
_c("div", { staticClass: "column" }, [
|
6362 |
-
_c("label", { attrs: { for: "" } }, [
|
6363 |
_vm._v(_vm._s(_vm.__("Facebook", "dokan-lite")))
|
6364 |
]),
|
6365 |
_vm._v(" "),
|
@@ -6374,6 +6369,7 @@ var render = function() {
|
|
6374 |
],
|
6375 |
staticClass: "dokan-form-input",
|
6376 |
attrs: {
|
|
|
6377 |
type: "text",
|
6378 |
placeholder: _vm.__("https://example.com")
|
6379 |
},
|
@@ -6390,7 +6386,7 @@ var render = function() {
|
|
6390 |
]),
|
6391 |
_vm._v(" "),
|
6392 |
_c("div", { staticClass: "column" }, [
|
6393 |
-
_c("label", { attrs: { for: "" } }, [
|
6394 |
_vm._v(_vm._s(_vm.__("Flickr", "dokan-lite")))
|
6395 |
]),
|
6396 |
_vm._v(" "),
|
@@ -6405,6 +6401,7 @@ var render = function() {
|
|
6405 |
],
|
6406 |
staticClass: "dokan-form-input",
|
6407 |
attrs: {
|
|
|
6408 |
type: "text",
|
6409 |
placeholder: _vm.__("https://example.com")
|
6410 |
},
|
@@ -6421,38 +6418,7 @@ var render = function() {
|
|
6421 |
]),
|
6422 |
_vm._v(" "),
|
6423 |
_c("div", { staticClass: "column" }, [
|
6424 |
-
_c("label", { attrs: { for: "" } }, [
|
6425 |
-
_vm._v(_vm._s(_vm.__("Google Plus", "dokan-lite")))
|
6426 |
-
]),
|
6427 |
-
_vm._v(" "),
|
6428 |
-
_c("input", {
|
6429 |
-
directives: [
|
6430 |
-
{
|
6431 |
-
name: "model",
|
6432 |
-
rawName: "v-model",
|
6433 |
-
value: _vm.vendorInfo.social.gplus,
|
6434 |
-
expression: "vendorInfo.social.gplus"
|
6435 |
-
}
|
6436 |
-
],
|
6437 |
-
staticClass: "dokan-form-input",
|
6438 |
-
attrs: {
|
6439 |
-
type: "text",
|
6440 |
-
placeholder: _vm.__("https://example.com")
|
6441 |
-
},
|
6442 |
-
domProps: { value: _vm.vendorInfo.social.gplus },
|
6443 |
-
on: {
|
6444 |
-
input: function($event) {
|
6445 |
-
if ($event.target.composing) {
|
6446 |
-
return
|
6447 |
-
}
|
6448 |
-
_vm.$set(_vm.vendorInfo.social, "gplus", $event.target.value)
|
6449 |
-
}
|
6450 |
-
}
|
6451 |
-
})
|
6452 |
-
]),
|
6453 |
-
_vm._v(" "),
|
6454 |
-
_c("div", { staticClass: "column" }, [
|
6455 |
-
_c("label", { attrs: { for: "" } }, [
|
6456 |
_vm._v(_vm._s(_vm.__("Twitter", "dokan-lite")))
|
6457 |
]),
|
6458 |
_vm._v(" "),
|
@@ -6467,6 +6433,7 @@ var render = function() {
|
|
6467 |
],
|
6468 |
staticClass: "dokan-form-input",
|
6469 |
attrs: {
|
|
|
6470 |
type: "text",
|
6471 |
placeholder: _vm.__("https://example.com")
|
6472 |
},
|
@@ -6487,7 +6454,7 @@ var render = function() {
|
|
6487 |
]),
|
6488 |
_vm._v(" "),
|
6489 |
_c("div", { staticClass: "column" }, [
|
6490 |
-
_c("label", { attrs: { for: "" } }, [
|
6491 |
_vm._v(_vm._s(_vm.__("Youtube", "dokan-lite")))
|
6492 |
]),
|
6493 |
_vm._v(" "),
|
@@ -6502,6 +6469,7 @@ var render = function() {
|
|
6502 |
],
|
6503 |
staticClass: "dokan-form-input",
|
6504 |
attrs: {
|
|
|
6505 |
type: "text",
|
6506 |
placeholder: _vm.__("https://example.com")
|
6507 |
},
|
@@ -6522,7 +6490,7 @@ var render = function() {
|
|
6522 |
]),
|
6523 |
_vm._v(" "),
|
6524 |
_c("div", { staticClass: "column" }, [
|
6525 |
-
_c("label", { attrs: { for: "" } }, [
|
6526 |
_vm._v(_vm._s(_vm.__("Linkedin", "dokan-lite")))
|
6527 |
]),
|
6528 |
_vm._v(" "),
|
@@ -6537,6 +6505,7 @@ var render = function() {
|
|
6537 |
],
|
6538 |
staticClass: "dokan-form-input",
|
6539 |
attrs: {
|
|
|
6540 |
type: "text",
|
6541 |
placeholder: _vm.__("https://example.com")
|
6542 |
},
|
@@ -6557,7 +6526,7 @@ var render = function() {
|
|
6557 |
]),
|
6558 |
_vm._v(" "),
|
6559 |
_c("div", { staticClass: "column" }, [
|
6560 |
-
_c("label", { attrs: { for: "" } }, [
|
6561 |
_vm._v(_vm._s(_vm.__("Pinterest", "dokan-lite")))
|
6562 |
]),
|
6563 |
_vm._v(" "),
|
@@ -6592,7 +6561,7 @@ var render = function() {
|
|
6592 |
]),
|
6593 |
_vm._v(" "),
|
6594 |
_c("div", { staticClass: "column" }, [
|
6595 |
-
_c("label", { attrs: { for: "" } }, [
|
6596 |
_vm._v(_vm._s(_vm.__("Instagram", "dokan-lite")))
|
6597 |
]),
|
6598 |
_vm._v(" "),
|
@@ -6607,6 +6576,7 @@ var render = function() {
|
|
6607 |
],
|
6608 |
staticClass: "dokan-form-input",
|
6609 |
attrs: {
|
|
|
6610 |
type: "text",
|
6611 |
placeholder: _vm.__("https://example.com")
|
6612 |
},
|
4538 |
//
|
4539 |
//
|
4540 |
//
|
|
|
|
|
|
|
|
|
|
|
4541 |
/* harmony default export */ __webpack_exports__["a"] = ({
|
4542 |
name: 'VendorSocialFields',
|
4543 |
props: {
|
6354 |
{ staticClass: "dokan-form-group" },
|
6355 |
[
|
6356 |
_c("div", { staticClass: "column" }, [
|
6357 |
+
_c("label", { attrs: { for: "facebook" } }, [
|
6358 |
_vm._v(_vm._s(_vm.__("Facebook", "dokan-lite")))
|
6359 |
]),
|
6360 |
_vm._v(" "),
|
6369 |
],
|
6370 |
staticClass: "dokan-form-input",
|
6371 |
attrs: {
|
6372 |
+
id: "facebook",
|
6373 |
type: "text",
|
6374 |
placeholder: _vm.__("https://example.com")
|
6375 |
},
|
6386 |
]),
|
6387 |
_vm._v(" "),
|
6388 |
_c("div", { staticClass: "column" }, [
|
6389 |
+
_c("label", { attrs: { for: "flickr" } }, [
|
6390 |
_vm._v(_vm._s(_vm.__("Flickr", "dokan-lite")))
|
6391 |
]),
|
6392 |
_vm._v(" "),
|
6401 |
],
|
6402 |
staticClass: "dokan-form-input",
|
6403 |
attrs: {
|
6404 |
+
id: "flickr",
|
6405 |
type: "text",
|
6406 |
placeholder: _vm.__("https://example.com")
|
6407 |
},
|
6418 |
]),
|
6419 |
_vm._v(" "),
|
6420 |
_c("div", { staticClass: "column" }, [
|
6421 |
+
_c("label", { attrs: { for: "twitter" } }, [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6422 |
_vm._v(_vm._s(_vm.__("Twitter", "dokan-lite")))
|
6423 |
]),
|
6424 |
_vm._v(" "),
|
6433 |
],
|
6434 |
staticClass: "dokan-form-input",
|
6435 |
attrs: {
|
6436 |
+
id: "twitter",
|
6437 |
type: "text",
|
6438 |
placeholder: _vm.__("https://example.com")
|
6439 |
},
|
6454 |
]),
|
6455 |
_vm._v(" "),
|
6456 |
_c("div", { staticClass: "column" }, [
|
6457 |
+
_c("label", { attrs: { for: "youtube" } }, [
|
6458 |
_vm._v(_vm._s(_vm.__("Youtube", "dokan-lite")))
|
6459 |
]),
|
6460 |
_vm._v(" "),
|
6469 |
],
|
6470 |
staticClass: "dokan-form-input",
|
6471 |
attrs: {
|
6472 |
+
id: "youtube",
|
6473 |
type: "text",
|
6474 |
placeholder: _vm.__("https://example.com")
|
6475 |
},
|
6490 |
]),
|
6491 |
_vm._v(" "),
|
6492 |
_c("div", { staticClass: "column" }, [
|
6493 |
+
_c("label", { attrs: { for: "linkedin" } }, [
|
6494 |
_vm._v(_vm._s(_vm.__("Linkedin", "dokan-lite")))
|
6495 |
]),
|
6496 |
_vm._v(" "),
|
6505 |
],
|
6506 |
staticClass: "dokan-form-input",
|
6507 |
attrs: {
|
6508 |
+
id: "linkedin",
|
6509 |
type: "text",
|
6510 |
placeholder: _vm.__("https://example.com")
|
6511 |
},
|
6526 |
]),
|
6527 |
_vm._v(" "),
|
6528 |
_c("div", { staticClass: "column" }, [
|
6529 |
+
_c("label", { attrs: { id: "pinterest", for: "pinterest" } }, [
|
6530 |
_vm._v(_vm._s(_vm.__("Pinterest", "dokan-lite")))
|
6531 |
]),
|
6532 |
_vm._v(" "),
|
6561 |
]),
|
6562 |
_vm._v(" "),
|
6563 |
_c("div", { staticClass: "column" }, [
|
6564 |
+
_c("label", { attrs: { for: "instagram" } }, [
|
6565 |
_vm._v(_vm._s(_vm.__("Instagram", "dokan-lite")))
|
6566 |
]),
|
6567 |
_vm._v(" "),
|
6576 |
],
|
6577 |
staticClass: "dokan-form-input",
|
6578 |
attrs: {
|
6579 |
+
id: "instagram",
|
6580 |
type: "text",
|
6581 |
placeholder: _vm.__("https://example.com")
|
6582 |
},
|
assets/js/vue-bootstrap.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
dokanWebpack([1],[,,function(e,t,a){"use strict";var n=a(10),o=a(28),i=!1;var s=function(e){i||a(27)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Switches.vue",t.a=r.exports},,,,function(e,t,a){"use strict";var n=a(15);t.a={extends:n.Line,props:["data"],data:function(){return{options:{responsive:!0,maintainAspectRatio:!0,scales:{xAxes:[{type:"time",scaleLabel:{display:!1},gridLines:{display:!1},ticks:{fontColor:"#aaa",fontSize:11}}],yAxes:[{scaleLabel:{display:!1},ticks:{fontColor:"#aaa"}}]},legend:{position:"top",onClick:!1},elements:{line:{tension:0,borderWidth:4},point:{radius:5,borderWidth:3,backgroundColor:"#fff",borderColor:"#fff"}},tooltips:{displayColors:!1,callbacks:{label:function(e,t){var a=t.datasets[e.datasetIndex].label||"",n=t.datasets[e.datasetIndex].tooltipLabel||"",o=t.datasets[e.datasetIndex].tooltipPrefix||"",i=n?n+": ":a+": ";return i+=o+e.yLabel}}}}}},mounted:function(){this.renderChart(this.data,this.options)}}},,function(e,t,a){"use strict";var n=a(55);t.a={components:{Sketch:n.a},props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:"hex",validator:function(e){return-1!==["hsl","hex","rgba","hsv"].indexOf(e)}},presetColors:{type:Array,required:!1,default:function(){return["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]}},disableAlpha:{type:Boolean,required:!1,default:!0},disableFields:{type:Boolean,required:!1,default:!0}},data:function(){return{showColorPicker:!1}},methods:{updateColor:function(e){var t="";e[this.format]&&(t=e[this.format]),this.$emit("input",t)},toggleColorPicker:function(){this.showColorPicker=!this.showColorPicker},setHexColor:function(e){this.updateColor({hex:e})}}}},function(e,t,a){"use strict";var n=a(1),o=(a.n(n),a(2)),i=a(16),s=a(17);t.a={name:"VendorAccountFields",components:{Switches:o.a,UploadImage:i.a,PasswordGenerator:s.a},props:{vendorInfo:{type:Object},errors:{type:Array,required:!1}},data:function(){return{showStoreUrl:!0,showPassword:!1,otherStoreUrl:null,banner:"",defaultUrl:dokan.urls.siteUrl+dokan.urls.storePrefix+"/",showButton:!0,placeholderData:"",delay:500,storeAvailable:null,userNameAvailable:null,emailAvailable:null,storeAvailabilityText:"",userNameAvailabilityText:"",emailAvailabilityText:"",getAccountFields:dokan.hooks.applyFilters("getVendorAccountFields",[])}},watch:{"vendorInfo.store_name":function(e){this.showStoreUrl=!0},"vendorInfo.user_nicename":function(e){void 0!==e&&(this.showStoreUrl=!1,this.otherStoreUrl=this.defaultUrl+e.trim().split(" ").join("-"),this.vendorInfo.user_nicename=e.split(" ").join("-"),this.checkStoreName())},"vendorInfo.user_login":function(e){this.checkUsername()},"vendorInfo.email":function(e){this.checkEmail()}},computed:{storeUrl:function(){var e=this.vendorInfo.store_name.trim().split(" ").join("-");return this.vendorInfo.user_nicename=e,this.otherStoreUrl=this.defaultUrl+e,this.defaultUrl+e}},created:function(){var e=this;this.checkStoreName=Object(n.debounce)(this.checkStore,this.delay),this.checkUsername=Object(n.debounce)(this.searchUsername,this.delay),this.checkEmail=Object(n.debounce)(this.searchEmail,this.delay),this.$root.$on("passwordCancelled",function(){e.showPassword=!1})},methods:{uploadBanner:function(e){this.vendorInfo.banner_id=e.id,this.showButton=!1},uploadGravatar:function(e){this.vendorInfo.gravatar_id=e.id},getId:function(){return this.$route.params.id},onSelectBanner:function(e){this.banner=e.url,this.vendorInfo.banner_id=e.id},getError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},checkStore:function(){var e=this,t=this.vendorInfo.user_nicename;t&&(this.storeAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{store_slug:t}).then(function(t){t.available?(e.storeAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Available","dokan-lite")):(e.storeAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchUsername:function(){var e=this,t=this.vendorInfo.user_login;t&&(this.userNameAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{username:t}).then(function(t){t.available?(e.userNameAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Available","dokan-lite")):(e.userNameAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchEmail:function(){var e=this,t=this.vendorInfo.email;t&&(this.emailAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{email:t}).then(function(t){t.available?(e.emailAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=e.__("Available","dokan-lite")):(e.emailAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=t.message?t.message:e.__("This email is already registered, please choose another one.","dokan-lite"))}))},setPassword:function(e){this.showPassword=!0,this.vendorInfo.user_pass=e},sendEmail:function(e,t){"notify_vendor"===t&&(this.vendorInfo.notify_vendor=e)},getUploadBannerText:function(){var e=dokan.store_banner_dimension.width,t=dokan.store_banner_dimension.height;return this.__("Upload banner for your store. Banner size is (".concat(e,"x").concat(t,") pixels."),"dokan-lite")}}}},function(e,t,a){"use strict";t.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:function(){return{}},methods:{trigger:function(e){this.$emit("input",e.target.checked,e.target.value)}}}},function(e,t,a){"use strict";t.a={name:"UploadImage",inheritAttrs:!1,props:{src:{default:dokan.urls.assetsUrl+"/images/store-pic.png"},showButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Upload Image"},croppingWidth:{type:Number},croppingHeight:{type:Number}},data:function(){return{image:{src:"",id:""}}},methods:{uploadImage:function(){this.openMediaManager(this.onSelectImage)},onSelectImage:function(e){this.image.src=e.url,this.image.id=e.id,this.$emit("uploadedImage",this.image)},openMediaManager:function(e){var t=this;if(t.fileFrame)t.fileFrame.open();else{var a={library:wp.media.query(),multiple:!1,title:this.__("Select & Crop Image","dokan-lite"),priority:20,filterable:"uploaded",autoSelect:!0,suggestedWidth:500,suggestedHeight:300},n={id:"control-id",params:{width:this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),height:this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),flex_width:!!parseInt(dokan.store_banner_dimension["flex-width"],10),flex_height:!!parseInt(dokan.store_banner_dimension["flex-height"],10)},mustBeCropped:function(e,t,a,n,o,i){return(!0!==e||!0!==t)&&((!0!==e||n!==i)&&((!0!==t||a!==o)&&((a!==o||n!==i)&&!(o<=a))))}},o=[new wp.media.controller.Library(a),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:t.calculateImageSelectOptions,control:n})],i={title:this.__("Select Image","dokan-lite"),button:{text:this.__("Select Image","dokan-lite"),close:!1},multiple:!1};i.states=o,t.fileFrame=wp.media(i),t.fileFrame.on("select",function(){t.fileFrame.setState("cropper")}),t.fileFrame.on("cropped",function(a){e(a),t.fileFrame=null}),t.fileFrame.on("skippedcrop",function(){var a=t.fileFrame.state().get("selection").map(function(e){return e.toJSON()}).pop();e(a),t.fileFrame=null}),t.fileFrame.on("close",function(){t.fileFrame=null}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-vendor-option-media"}}),t.fileFrame.open()}},calculateImageSelectOptions:function(e,t){var a,n,o,i,s,r,l=this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),d=this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),c=!!parseInt(dokan.store_banner_dimension["flex-width"],10),u=!!parseInt(dokan.store_banner_dimension["flex-height"],10);s=e.get("width"),i=e.get("height");var p=t.get("control");return t.set("canSkipCrop",!p.mustBeCropped(c,u,l,d,s,i)),(n=s)/(o=i)>(a=l/d)?l=(d=o)*a:d=(l=n)/a,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:s,imageHeight:i,x1:0,y1:0,x2:l,y2:d},!1===u&&!1===c&&(r.aspectRatio=l+":"+d),!1===u&&(r.maxHeight=d),!1===c&&(r.maxWidth=l),r}}}},function(e,t,a){"use strict";t.a={name:"PasswordGenerator",props:{title:{type:String,default:"Generate Password"},cancelTitle:{type:String,default:"Cancel"},regenrateTitle:{type:String,default:"Regenrate"},length:{type:Number,default:25}},data:function(){return{password:"",hideGenerateButton:!1,showCancelButton:!1}},methods:{generatePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password),this.hideGenerateButton=!0,this.showCancelButton=!0},makePassword:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25,t="",a=0;a<=e;a++){t+="abcdefghijklmnopqurstuvwxyz"[Math.floor(Math.random()*e)]+"ABCDEFGHIJKLMNOPQURSTUVWXYZ"[Math.floor(10*Math.random())]+"!@#$%^&*()"[Math.floor(Math.random()*"!@#$%^&*()".length)]}return t.slice(-e)},cancelButton:function(){this.hideGenerateButton=!1,this.showCancelButton=!1,this.$root.$emit("passwordCancelled")},regenratePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password)}}}},function(e,t,a){"use strict";var n=a(3);a.n(n);t.a={name:"VendorAddressFields",components:{Multiselect:n.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{countries:[],states:[],selectedCountry:{},selectedState:{},getAddressFields:dokan.hooks.applyFilters("getVendorAddressFields",[])}},computed:{selectedCode:function(){var e=this.vendorInfo.address.country;return""!==e?e:[]}},created:function(){this.countries=this.transformCountries(dokan.countries),this.states=dokan.states;var e=this.vendorInfo.address.country,t=this.vendorInfo.address.state;""!==e&&(this.selectedCountry={name:this.getCountryFromCountryCode(e),code:e},this.selectedState={name:this.getStateFromStateCode(t,e),code:t})},methods:{transformCountries:function(e){var t=[];for(var a in e)t.push({name:e[a],code:a});return t},getCountryFromCountryCode:function(e){if(""!==e)return dokan.countries[e]},getStateFromStateCode:function(e,t){if(""!==e){var a=dokan.states[t],n=a&&a[e];return void 0!==n?n:[]}},getStatesFromCountryCode:function(e){if(""!==e){var t=[],a=this.states;for(var n in a)if(n===e&&!(a[n]&&a[n].length<1))for(var o in a[n])t.push({name:a[n][o],code:o});return t}},saveCountry:function(e){e&&(this.vendorInfo.address.state=null,this.selectedState={},this.vendorInfo.address.country=e.code)},saveState:function(e){e&&(this.vendorInfo.address.state=e.code)}}}},function(e,t,a){"use strict";var n=a(2),o=a(3);a.n(o);t.a={name:"VendorPaymentFields",components:{Switches:n.a,Multiselect:o.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{enabled:!1,trusted:!1,featured:!1,commissionTypes:[{name:"flat",label:this.__("Flat","dokan-lite")},{name:"percentage",label:this.__("Percentage","dokan-lite")},{name:"combine",label:this.__("Combine","dokan-lite")}],selectedCommissionType:{name:"flat",label:this.__("Flat","dokan-lite")},getBankFields:dokan.hooks.applyFilters("getVendorBankFields",[]),getPyamentFields:dokan.hooks.applyFilters("AfterPyamentFields",[])}},created:function(){this.vendorInfo.enabled&&(this.enabled=!0,this.vendorInfo.enabled=!0),this.vendorInfo.trusted&&(this.trusted=!0,this.vendorInfo.trusted=!0),this.vendorInfo.featured&&(this.featured=!0,this.vendorInfo.featured=!0);var e=this.vendorInfo.admin_commission_type;if(e){var t=_.findWhere(this.commissionTypes,{name:e}),a=t.name,n=t.label;this.selectedCommissionType.name=a,this.selectedCommissionType.label=n}},methods:{setValue:function(e,t){"enabled"===t&&(this.vendorInfo.enabled=!!e),"trusted"===t&&(this.vendorInfo.trusted=!!e),"featured"===t&&(this.vendorInfo.featured=!!e)},getId:function(){return this.$route.params.id},saveCommissionType:function(e){var t=e.name;t||(this.vendorInfo.admin_commission_type="flat"),this.vendorInfo.admin_commission_type=t}}}},,function(e,t,a){"use strict";var n=a(11),o=a(30),i=!1;var s=function(e){i||a(29)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/UploadImage.vue",t.a=r.exports},function(e,t,a){"use strict";var n=a(12),o=a(31),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/PasswordGenerator.vue",t.a=i.exports},,,function(e,t,a){"use strict";var n=a(6),o=a(0)(n.a,null,!1,null,null,null);o.options.__file="src/admin/components/Chart.vue",t.a=o.exports},,,function(e,t,a){"use strict";var n=a(8),o=a(25),i=!1;var s=function(e){i||a(24)},r=a(0)(n.a,o.a,!1,s,"data-v-01dc0d51",null);r.options.__file="src/admin/components/ColorPicker.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",style:{backgroundColor:e.value},attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("span",[e._v(e._s(e.__("Select Color","dokan-lite")))])]),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){return e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:function(t){return e.updateColor({})}}},[e._v(e._s(e.__("Clear","dokan-lite")))]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[e._v(e._s(e.__("Close","dokan-lite")))])]):e._e(),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e()],1)};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(9),o=a(32),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorAccountFields.vue",t.a=i.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this.$createElement,t=this._self._c||e;return t("label",{staticClass:"switch tips"},[t("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),t("span",{staticClass:"slider round"})])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-upload-image",on:{click:e.uploadImage}},[e.showButton?e._e():a("img",{attrs:{src:e.image.src?e.image.src:e.src}}),e._v(" "),e.showButton?a("button",{on:{click:function(t){return t.preventDefault(),e.uploadImage(t)}}},[e._v("\n "+e._s(e.buttonLabel)+"\n ")]):e._e()])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"password-generator"},[e.hideGenerateButton?e._e():a("button",{staticClass:"button button-secondary",on:{click:function(t){return t.preventDefault(),e.generatePassword(t)}}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),e.showCancelButton?a("button",{staticClass:"button regen-button",on:{click:function(t){return t.preventDefault(),e.regenratePassword(t)}}},[a("span",{staticClass:"dashicons dashicons-controls-repeat"}),e._v("\n "+e._s(e.regenrateTitle)+"\n ")]):e._e(),e._v(" "),e.showCancelButton?a("button",{staticClass:"button cancel-button",on:{click:function(t){return t.preventDefault(),e.cancelButton(t)}}},[e._v("\n "+e._s(e.cancelTitle)+"\n ")]):e._e()])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Account Info","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[e.getId()?e._e():a("div",{staticClass:"vendor-image"},[a("div",{staticClass:"picture"},[a("p",{staticClass:"picture-header"},[e._v(e._s(e.__("Vendor Picture","dokan-lite")))]),e._v(" "),a("div",{staticClass:"profile-image"},[a("upload-image",{attrs:{croppingWidth:150,croppingHeight:150},on:{uploadedImage:e.uploadGravatar}})],1),e._v(" "),a("p",{staticClass:"picture-footer",domProps:{innerHTML:e._s(e.sprintf(e.__("You can change your profile picutre on %s","dokan-lite"),"<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"))}})]),e._v(" "),a("div",{class:["picture banner",{"has-banner":e.vendorInfo.banner_id}]},[a("div",{staticClass:"banner-image"},[a("upload-image",{attrs:{showButton:e.showButton,buttonLabel:e.__("Upload Banner","dokan-lite")},on:{uploadedImage:e.uploadBanner}})],1),e._v(" "),e.showButton?a("p",{staticClass:"picture-footer"},[e._v(e._s(e.getUploadBannerText()))]):e._e()])]),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("First Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.first_name,expression:"vendorInfo.first_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("First Name","dokan-lite")},domProps:{value:e.vendorInfo.first_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"first_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Last Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.last_name,expression:"vendorInfo.last_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("Last Name","dokan-lite")},domProps:{value:e.vendorInfo.last_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"last_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-name"}},[e._v(e._s(e.__("Store Name","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.store_name,expression:"vendorInfo.store_name"}],class:{"dokan-form-input":!0,"has-error":e.getError("store_name")},attrs:{type:"text",placeholder:e.getError("store_name")?e.__("Store Name is required","dokan-lite"):e.__("Store Name","dokan-lite")},domProps:{value:e.vendorInfo.store_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"store_name",t.target.value)}}})]),e._v(" "),e.getId()?e._e():a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-url"}},[e._v(e._s(e.__("Store URL","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_nicename,expression:"vendorInfo.user_nicename"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Store Url","dokan-lite")},domProps:{value:e.vendorInfo.user_nicename},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_nicename",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[e.showStoreUrl?a("p",{staticClass:"store-url"},[e._v(e._s(e.storeUrl))]):a("p",{staticClass:"store-url"},[e._v(e._s(e.otherStoreUrl))]),e._v(" "),a("span",{class:{"is-available":e.storeAvailable,"not-available":!e.storeAvailable}},[e._v(e._s(e.storeAvailabilityText))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-phone"}},[e._v(e._s(e.__("Phone Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.phone,expression:"vendorInfo.phone"}],staticClass:"dokan-form-input",attrs:{type:"number",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.phone},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"phone",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Email","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.email,expression:"vendorInfo.email"}],class:{"dokan-form-input":!0,"has-error":e.getError("email")},attrs:{type:"email",placeholder:e.getError("email")?e.__("Email is required","dokan-lite"):e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"email",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.emailAvailable,"not-available":!e.emailAvailable}},[e._v(e._s(e.emailAvailabilityText))])])]),e._v(" "),e.getId()?e._e():[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-username"}},[e._v(e._s(e.__("Username","dokan-lite")))]),a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_login,expression:"vendorInfo.user_login"}],staticClass:"dokan-form-input",class:{"dokan-form-input":!0,"has-error":e.getError("user_login")},attrs:{type:"text",placeholder:e.getError("user_login")?e.__("Username is required","dokan-lite"):e.__("Username","dokan-lite")},domProps:{value:e.vendorInfo.user_login},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_login",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.userNameAvailable,"not-available":!e.userNameAvailable}},[e._v(e._s(e.userNameAvailabilityText))])]),e._v(" "),a("div",{staticClass:"checkbox-left notify-vendor"},[a("switches",{attrs:{enabled:!0,value:"notify_vendor"},on:{input:e.sendEmail}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Send the vendor an email about their account.","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-password"}},[e._v(e._s(e.__("Password","dokan-lite")))]),e._v(" "),e.showPassword?a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_pass,expression:"vendorInfo.user_pass"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:"********"},domProps:{value:e.vendorInfo.user_pass},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_pass",t.target.value)}}}):e._e(),e._v(" "),a("password-generator",{attrs:{title:e.__("Generate Password","dokan-lite")},on:{passwordGenerated:e.setPassword}})],1)],e._v(" "),e._l(e.getAccountFields,function(t,n){return a(t,{key:n,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(13),o=a(35),i=!1;var s=function(e){i||a(34)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/pages/VendorAddressFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-1"}},[e._v(e._s(e.__("Street 1","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_1,expression:"vendorInfo.address.street_1"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 1","dokan-lite")},domProps:{value:e.vendorInfo.address.street_1},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_1",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-2"}},[e._v(e._s(e.__("Street 2","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_2,expression:"vendorInfo.address.street_2"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 2","dokan-lite")},domProps:{value:e.vendorInfo.address.street_2},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_2",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"city"}},[e._v(e._s(e.__("City","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.city,expression:"vendorInfo.address.city"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("City","dokan-lite")},domProps:{value:e.vendorInfo.address.city},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"city",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"zip"}},[e._v(e._s(e.__("Zip","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.zip,expression:"vendorInfo.address.zip"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Zip","dokan-lite")},domProps:{value:e.vendorInfo.address.zip},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"zip",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"country"}},[e._v(e._s(e.__("Country","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.countries,multiselect:!1,label:"name","track-by":"name",showLabels:!1,placeholder:e.__("Select Country","dokan-lite")},on:{input:e.saveCountry},model:{value:e.selectedCountry,callback:function(t){e.selectedCountry=t},expression:"selectedCountry"}})],1),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"state"}},[e._v(e._s(e.__("State","dokan-lite")))]),e._v(" "),e.getStatesFromCountryCode(e.selectedCode).length<1?[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.state,expression:"vendorInfo.address.state"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("State","dokan-lite")},domProps:{value:e.vendorInfo.address.state},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"state",t.target.value)}}})]:[a("Multiselect",{attrs:{options:e.getStatesFromCountryCode(e.selectedCode),multiselect:!1,showLabels:!1,label:"name","track-by":"name",placeholder:e.__("Select State","dokan-lite")},on:{input:e.saveState},model:{value:e.selectedState,callback:function(t){e.selectedState=t},expression:"selectedState"}})]],2),e._v(" "),e._l(e.getAddressFields,function(t,n){return a(t,{key:n,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(14),o=a(38),i=!1;var s=function(e){i||a(37)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/pages/VendorPaymentFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"payment-info":!0,"edit-mode":e.getId()}},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Payment Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("Account Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_name,expression:"vendorInfo.payment.bank.ac_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Account Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-number"}},[e._v(e._s(e.__("Account Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_number,expression:"vendorInfo.payment.bank.ac_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("1233456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-name"}},[e._v(e._s(e.__("Bank Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_name,expression:"vendorInfo.payment.bank.bank_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-address"}},[e._v(e._s(e.__("Bank Address","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_addr,expression:"vendorInfo.payment.bank.bank_addr"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Address","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_addr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_addr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"routing-number"}},[e._v(e._s(e.__("Routing Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.routing_number,expression:"vendorInfo.payment.bank.routing_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.routing_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"routing_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"iban"}},[e._v(e._s(e.__("IBAN","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.iban,expression:"vendorInfo.payment.bank.iban"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.iban},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"iban",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"swift"}},[e._v(e._s(e.__("Swift","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.swift,expression:"vendorInfo.payment.bank.swift"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.swift},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"swift",t.target.value)}}})]),e._v(" "),e._l(e.getBankFields,function(t,n){return a(t,{key:n,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{class:{column:e.getId(),"checkbox-group":!e.getId()}},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("PayPal Email","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.paypal.email,expression:"vendorInfo.payment.paypal.email"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.payment.paypal.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.paypal,"email",t.target.value)}}})]),e._v(" "),e.getId()?[a("div",{staticClass:"column"},[a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.commissionTypes,"track-by":"name",label:"label","allow-empty":!1,multiselect:!1,searchable:!1,showLabels:!1},on:{input:e.saveCommissionType},model:{value:e.selectedCommissionType,callback:function(t){e.selectedCommissionType=t},expression:"selectedCommissionType"}})],1)]),e._v(" "),"combine"===e.selectedCommissionType.name?a("div",{staticClass:"column combine-commission"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("div",{staticClass:"combine-commission-field"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"wc_input_decimal dokan-form-input percent_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}}),e._v("\n "+e._s("% +")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_additional_fee,expression:"vendorInfo.admin_additional_fee"}],staticClass:"wc_input_price dokan-form-input fixed_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_additional_fee},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_additional_fee",t.target.value)}}})])]):a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"dokan-form-input",class:{wc_input_price:"flat"==e.selectedCommissionType.name,wc_input_decimal:"flat"!=e.selectedCommissionType.name},attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}})])]:e._e(),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.enabled,value:"enabled"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Enable Selling","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.trusted,value:"trusted"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Publish Product Directly","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.featured,value:"featured"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Make Vendor Featured","dokan-lite")))])],1)])],2),e._v(" "),e._l(e.getPyamentFields,function(t,n){return a(t,{key:n,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";t.c=o,t.a=function(e,t){return i(t)?i(t).dgettext(t,e):e},t.b=function(e,t,a,n,o){return i(o).dnpgettext(o,n,e,t,a)},a.d(t,"d",function(){return s});var n={};function o(e){var t=new Jed(e);n[t._textdomain]=t}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n[e]||o({"":{}}),n[e]}var s=Jed.sprintf},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";t.a={name:"Postbox",props:{title:{type:String,required:!0,default:""},extraClass:{type:String,default:null}},data:function(){return{showing:!0}}}},function(e,t,a){"use strict";t.a={name:"Loading",data:function(){return{}}}},function(e,t,a){"use strict";t.a={name:"Modal",props:{footer:{type:Boolean,required:!1,default:!0},width:{type:String,required:!1,default:"500px"},height:{type:String,required:!1,default:"auto"},title:{type:String,required:!0,default:""}},data:function(){return{}}}},function(e,t,a){"use strict";t.a={props:{value:{type:String,required:!0},shortcodes:{type:Object,required:!1}},data:function(){return{editorId:this._uid,fileFrame:null}},mounted:function(){var e=this;window.tinymce.init({selector:"#dokan-tinymce-".concat(this.editorId),branding:!1,height:200,menubar:!1,convert_urls:!1,theme:"modern",skin:"lightgray",fontsize_formats:"10px 11px 13px 14px 16px 18px 22px 25px 30px 36px 40px 45px 50px 60px 65px 70px 75px 80px",font_formats:"Arial=arial,helvetica,sans-serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Lucida=Lucida Sans Unicode, Lucida Grande, sans-serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;",plugins:"textcolor colorpicker wplink wordpress code hr wpeditimage",toolbar:["shortcodes bold italic underline bullist numlist alignleft aligncenter alignjustify alignright link image wp_adv","formatselect forecolor backcolor blockquote hr code fontselect fontsizeselect removeformat undo redo"],setup:function(t){var a=[];_.forEach(e.shortcodes,function(e,n){a.push({text:e.title,classes:"menu-section-title"}),_.forEach(e.codes,function(e,o){a.push({text:e.title,onclick:function(){var a="[".concat(n,":").concat(o,"]");e.default&&(a="[".concat(n,":").concat(o,' default="').concat(e.default,'"]')),e.text&&(a="[".concat(n,":").concat(o,' text="').concat(e.text,'"]')),e.plainText&&(a=e.text),t.insertContent(a)}})})}),t.addButton("image",{icon:"image",onclick:function(){e.browseImage(t)}}),t.on("change keyup NodeChange",function(){e.$emit("input",t.getContent())})}})},methods:{browseImage:function(e){var t=this,a={id:0,url:"",type:""};if(t.fileFrame)t.fileFrame.open();else{var n=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:this.__("Select an image","dokan-lite"),priority:20,filterable:"uploaded"})];t.fileFrame=wp.media({title:this.__("Select an image","dokan-lite"),library:{type:""},button:{text:this.__("Select an image","dokan-lite")},multiple:!1,states:n}),t.fileFrame.on("select",function(){t.fileFrame.state().get("selection").map(function(n){return(n=n.toJSON()).id&&(a.id=n.id),n.url&&(a.url=n.url),n.type&&(a.type=n.type),t.insertImage(e,a),null})}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-image-uploader"}}),t.fileFrame.open()}},insertImage:function(e,t){if(t.id&&"image"===t.type){var a='<img src="'.concat(t.url,'" alt="').concat(t.alt,'" title="').concat(t.title,'" style="max-width: 100%; height: auto;">');e.insertContent(a)}else this.alert({type:"error",text:this.__("Please select an image,","dokan-lite")})}}}},function(e,t,a){"use strict";t.a={props:["amount"],methods:{formattedPrice:function(e){return accounting.formatMoney(e,dokan.currency)}}}},function(e,t,a){"use strict";var n=a(1);a.n(n);t.a={name:"LazyInput",props:{value:{type:String,required:!0,default:""},type:{type:String,required:!1,default:"text"},placeholder:{type:String,required:!1,default:""}},data:function(){return{delay:500,debouncer:null}},methods:{updateValue:function(e){var t=this;t.debouncer&&t.debouncer.clear(),t.debouncer=Object(n.debounce)(function(){t.triggerInput(e)},t.delay),t.debouncer()},focus:function(){this.$emit("focus")},blur:function(){this.$emit("blur")},triggerInput:function(e){this.$emit("input",e)}}}},function(e,t,a){"use strict";t.a={props:{value:{type:Number,default:0},hidden:{type:Boolean,default:!1},bgColor:{type:String,default:"defaultBg"},fgColor:{type:String,default:"defaultFg"}}}},function(e,t,a){"use strict";var n=a(1);a.n(n);t.a={name:"Search",props:{title:{type:String,default:"Search"}},data:function(){return{delay:500,searchItems:""}},watch:{searchItems:function(){this.makeDelay()}},created:function(){this.makeDelay=Object(n.debounce)(this.doSearch,this.delay)},methods:{doSearch:function(){this.$emit("searched",this.searchItems)}}}},function(e,t,a){"use strict";t.a={props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:""},placeholder:{type:String,required:!1,default:""},changeMonthYear:{type:Boolean,required:!1,default:!1}},mounted:function(){var e=this;jQuery(e.$el).datepicker({dateFormat:e.format,changeMonth:e.changeMonthYear,changeYear:e.changeMonthYear,beforeShow:function(){jQuery(this).datepicker("widget").addClass("dokan-datepicker")},onSelect:function(t){e.updateValue(t)}})},methods:{updateValue:function(e){e||(e=moment().format("YYYY-MM-DD")),this.$emit("input",e)}}}},,function(e,t,a){"use strict";t.a={name:"GoogleMaps",props:{apiKey:{type:String,default:null},location:{type:Object,default:function(){return{latitude:23.709921,longitude:90.40714300000002,address:"dhaka",zoom:10}}}},data:function(){return{dokanGoogleMap:null,marker:null,loadMap:this.apiKey.length>1}},mounted:function(){this.apiKey&&window.google&&this.renderMap()||this.$emit("hideMap",!0)},beforeDestroy:function(){this.dokanGoogleMap&&(this.dokanGoogleMap=null),this.marker&&(this.marker=null)},methods:{setMap:function(){this.dokanGoogleMap=new google.maps.Map(this.getMapArea(),{center:this.getCenter(),zoom:this.location.zoom,mapTypeId:google.maps.MapTypeId.ROADMAP})},setMarker:function(){this.marker=new google.maps.Marker({position:this.getCenter(),map:this.dokanGoogleMap})},GetGeocoder:function(){return new google.maps.Geocoder},getSearchAddress:function(){return this.location.address&&(this.$refs.searchAddress.value=this.location.address),this.$refs.searchAddress},setAutoComplete:function(){var e=this,t=new google.maps.places.Autocomplete(this.getSearchAddress());t.addListener("place_changed",function(){var a=t.getPlace(),n=a.geometry.location;e.updateMap(n.lat(),n.lng(),a.formatted_address)})},updateMap:function(e,t,a){var n=new google.maps.LatLng(e,t);this.$emit("updateMap",{latitude:n.lat(),longitude:n.lng(),address:a}),this.dokanGoogleMap.setCenter(n),this.marker.setPosition(n),a||this.GetGeocoder.geocode({location:{lat:e,lng:t}},function(e,t){"OK"===t&&address.val(e[0].formatted_address)})},renderMap:function(){return this.setMap(),this.setMarker(),this.setAutoComplete(),!0},getCenter:function(){return new google.maps.LatLng(this.location.latitude,this.location.longitude)},getMapArea:function(){return this.$refs.gmapArea}}}},function(e,t,a){"use strict";var n=a(72),o=a.n(n),i=a(73),s=a.n(i),r=function(){function e(t){o()(this,e),this._mapId=t}return s()(e,[{key:"onAdd",value:function(e){var t=this;this._map=e;var a=document.createElement("span");a.className="dashicons dashicons-search";var n=document.createTextNode("Search Map"),o=document.createElement("button");o.type="button",o.className="button",o.appendChild(a),o.appendChild(n),o.addEventListener("click",function(e){e.preventDefault();var a=document.getElementById(t._mapId).getElementsByClassName("mapboxgl-ctrl-top-left")[0];a.className=a.className+" show-geocoder"});var i=document.createElement("div");return i.className="mapboxgl-ctrl dokan-mapboxgl-ctrl",i.appendChild(o),this._container=i,this._container}},{key:"onRemove",value:function(){this._container.parentNode.removeChild(this._container),this._map=void 0}}]),e}();t.a={name:"Mapbox",props:{accessToken:{type:String,default:null},location:{type:Object,required:!0},width:{type:String,required:!1,default:"100%"},height:{type:String,required:!1,default:"300px"}},data:function(){return{dokanMapbox:null,dokanGeocoder:null,dokanMarker:null}},computed:{mapboxId:function(){return"dokan-mapbox-".concat(this._uid)},address:function(){return this.location.address}},mounted:function(){this.accessToken&&window.mapboxgl&&this.initializeMapbox()||this.$emit("hideMap",!0),window.mapboxgl=mapboxgl},beforeDestroy:function(){this.dokanMapbox&&(this.dokanMarker.remove(),this.dokanMapbox.remove())},methods:{initializeMapbox:function(){var e=this;return mapboxgl.accessToken=this.accessToken,this.dokanMapbox=new mapboxgl.Map({container:this.mapboxId,style:"mapbox://styles/mapbox/streets-v10",center:[this.location.longitude,this.location.latitude],zoom:this.location.zoom}),this.dokanMapbox.addControl(new mapboxgl.NavigationControl),this.dokanMapbox.addControl(new r(this.mapboxId),"top-left"),this.dokanMapbox.on("zoomend",function(t){e.setLocation({zoom:t.target.getZoom()})}),this.dokanMapbox.on("load",function(){e.dokanGeocoder=new MapboxGeocoder({accessToken:mapboxgl.accessToken,mapboxgl:mapboxgl,zoom:e.dokanMapbox.getZoom(),placeholder:e.__("Search Address","dokan-lite"),marker:!1,reverseGeocode:!0}),e.dokanMapbox.addControl(e.dokanGeocoder,"top-left"),e.dokanGeocoder.setInput(e.location.address),e.dokanGeocoder.on("result",function(t){var a=t.result,n=a.center;a.place_name;e.dokanMarker.setLngLat(n),e.dokanMapbox.setCenter([n[0],n[1]]),e.setLocation({address:a.place_name,latitude:n[1],longitude:n[0],zoom:e.dokanMapbox.getZoom()})})}),this.dokanMarker=new mapboxgl.Marker({draggable:!0}).setLngLat([this.location.longitude,this.location.latitude]).addTo(this.dokanMapbox).on("dragend",this.onMarkerDragEnd),!0},onMarkerDragEnd:function(){var e=this,t=this.dokanGeocoder.geocoderService.client.origin,a=this.dokanGeocoder.geocoderService.client.accessToken,n=this.dokanMarker.getLngLat().wrap(),o=n.lng,i=n.lat;this.dokanMapbox.setCenter([o,i]),this.setLocation({latitude:i,longitude:o});var s="".concat(t,"/geocoding/v5/mapbox.places/").concat(o,"%2C").concat(i,".json?access_token=").concat(a,"&cachebuster=").concat(+new Date,"&autocomplete=true");this.dokanGeocoder._inputEl.disabled=!0,this.dokanGeocoder._loadingEl.style.display="block",jQuery.ajax({url:s,method:"get"}).done(function(t){e.dokanGeocoder._typeahead.update(t.features)}).fail(function(){}).always(function(){e.dokanGeocoder._inputEl.disabled=!1,e.dokanGeocoder._loadingEl.style.display=""})},setLocation:function(e){this.$emit("updateMap",e)},onChangeAddress:function(e){this.setLocation({address:e.target.value})}}}},function(e,t,a){"use strict";t.a={props:{section:{type:String,required:!0},field:{type:Object,required:!0},toggleLoadingState:{type:Function,required:!0}},data:function(){return{isRefreshing:!1,showRefreshedMsg:!1}},computed:{messages:function(){var e,t,a,n;return{refreshing:(null===(e=this.field.refresh_options)||void 0===e?void 0:null===(t=e.messages)||void 0===t?void 0:t.refreshing)||this.__("Refreshing options","dokan-lite"),refreshed:(null===(a=this.field.refresh_options)||void 0===a?void 0:null===(n=a.messages)||void 0===n?void 0:n.refreshed)||this.__("Option refreshed!","dokan-lite")}}},methods:{refreshSettings:function(){var e=this;this.toggleLoadingState(),this.isRefreshing=!0,jQuery.ajax({url:dokan.ajaxurl,method:"post",dataType:"json",data:{action:"dokan_refresh_admin_settings_field_options",_wpnonce:dokan.admin_settings_nonce,section:this.section,field:this.field.name}}).done(function(t){var a;(null===t||void 0===t?void 0:null===(a=t.data)||void 0===a?void 0:a[0])&&e.setSettingOptions(t.data)}).always(function(){e.toggleLoadingState(),e.isRefreshing=!1}).fail(function(e){var t;(null===e||void 0===e?void 0:null===(t=e.responseJSON)||void 0===t?void 0:t.data)&&alert(e.responseJSON.data)})},setSettingOptions:function(e){var t=this;this.field.options=e,this.showRefreshedMsg=!0,setTimeout(function(){return t.showRefreshedMsg=!1},3e3)}}}},function(e,t,a){"use strict";t.a={name:"VendorSocialFields",props:{vendorInfo:{type:Object}},data:function(){return{getSocialFields:dokan.hooks.applyFilters("getVendorSocialFields",[])}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(4),o=a(19),i=a(188),s=a.n(i),r=a(69),l=a.n(r),d=a(70),c=a(3),u=a.n(c),p=a(192),m=a(15),v=a(193),f=a(1),_=a.n(f),h=a(194),g=a.n(h),b=a(74),k=(a.n(b),a(195)),y=a(198),w=a(20),C=a(201),x=a(2),I=a(204),S=a(206),A=a(208),P=a(210),M=a(213),F=a(215),N=a(84),$=a(23),T=a(220),E=a(223),L=a(16),B=a(17),G=a(226),R=a(26),V=a(33),j=a(229),q=a(36),U=a(231);a.n(U);window.__=function(e,t){return __(e,t)},n.default.use(l.a),n.default.use(N.default),n.default.mixin(v.a),n.default.filter("currency",function(e){return accounting.formatMoney(e,dokan.currency)}),n.default.filter("capitalize",function(e){return e?(e=e.toString()).charAt(0).toUpperCase()+e.slice(1):""}),n.default.directive("tooltip",{bind:function(e,t,a){jQuery(e).tooltip("show")},unbind:function(e,t,a){jQuery(e).tooltip("destroy")}}),window.dokan_get_lib=function(e){return window.dokan.libs[e]},window.dokan_add_route=function(e){window.dokan.routeComponents[e.name]=e},window.dokan.api=new p.a,window.dokan.libs.Vue=n.default,window.dokan.libs.Router=o.default,window.dokan.libs.moment=s.a,window.dokan.libs.ListTable=d.default,window.dokan.libs.Currency=S.a,window.dokan.libs.Postbox=k.a,window.dokan.libs.Loading=y.a,window.dokan.libs.ChartJS=m.default,window.dokan.libs.Chart=w.a,window.dokan.libs.Modal=C.a,window.dokan.libs.Switches=x.a,window.dokan.libs.TextEditor=I.a,window.dokan.libs.LazyInput=A.a,window.dokan.libs.Progressbar=P.a,window.dokan.libs.Search=M.a,window.dokan.libs.Datepicker=F.a,window.dokan.libs.Multiselect=u.a,window.dokan.libs.ColorPicker=$.a,window.dokan.libs.debounce=_.a,window.dokan.libs.VersionCompare=g.a,window.dokan.libs.GoogleMaps=T.a,window.dokan.libs.Mapbox=E.a,window.dokan.libs.UploadImage=L.a,window.dokan.libs.PasswordGenerator=B.a,window.dokan.libs.VendorAccountFields=R.a,window.dokan.libs.VendorAddressFields=V.a,window.dokan.libs.VendorSocialFields=j.a,window.dokan.libs.VendorPaymentFields=q.a,window.dokan.libs.RefreshSettingOptions=G.a,window.dokan.libs.ContentLoading={VclCode:b.VclCode,VclList:b.VclList,VclTwitch:b.VclTwitch,VclFacebook:b.VclFacebook,VclInstagram:b.VclInstagram,VclBulletList:b.VclBulletList,VueContentLoading:b.VueContentLoading},dokan.hooks=wp&&wp.hooks?wp.hooks:dokan.wpPackages.hooks,dokan.hooks&&(dokan.addFilterComponent=function(e,t,a){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;dokan.hooks.addFilter(e,t,function(e){return e.push(a),e},n)})},function(e,t){e.exports=moment},,,,function(e,t,a){"use strict";var n=a(72),o=a.n(n),i=a(73),s=a.n(i),r=function(){function e(){o()(this,e)}return s()(e,[{key:"endpoint",value:function(){return window.dokan.rest.root+window.dokan.rest.version}},{key:"headers",value:function(){return{}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"GET",this.headers(),t)}},{key:"post",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"POST",this.headers(),t)}},{key:"put",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"PUT",this.headers(),t)}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"DELETE",this.headers(),t)}},{key:"ajax",value:function(e,t,a,n){var o=null;return"PUT"!==t&&"DELETE"!==t||(o=t,t="POST"),jQuery.ajax({url:this.endpoint()+e,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",window.dokan.rest.nonce),o&&e.setRequestHeader("X-HTTP-Method-Override",o)},type:t,data:n})}}]),e}();t.a=r},function(e,t,a){"use strict";var n=a(39);t.a={methods:{setLocaleData:function(e){return Object(n.c)(e)},__:function(e,t){return Object(n.a)(e,t)},_nx:function(e,t,a,o,i){return Object(n.b)(e,t,a,o,i)},__n:function(e,t,a,n){return _n(e,t,a,n)},sprintf:function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];return n.d.apply(void 0,[e].concat(a))}}}},function(e,t){e.exports=function(e,t,a){var n,o,i=0,s={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},r=function(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]},l=function(e){return e?isNaN(e)?s[e]||-7:parseInt(e,10):0};for(e=r(e),t=r(t),o=Math.max(e.length,t.length),n=0;n<o;n++)if(e[n]!==t[n]){if(e[n]=l(e[n]),t[n]=l(t[n]),e[n]<t[n]){i=-1;break}if(e[n]>t[n]){i=1;break}}if(!a)return i;switch(a){case">":case"gt":return i>0;case">=":case"ge":return i>=0;case"<=":case"le":return i<=0;case"===":case"=":case"eq":return 0===i;case"<>":case"!==":case"ne":return 0!==i;case"":case"<":case"lt":return i<0;default:return null}}},function(e,t,a){"use strict";var n=a(75),o=a(197),i=!1;var s=function(e){i||a(196)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Postbox.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["postbox","dokan-postbox",{closed:!e.showing},e.extraClass]},[a("div",{staticClass:"postbox-header"},[a("h2",{staticClass:"hndle"},[a("span",[e._v(e._s(e.title))])]),e._v(" "),a("div",{staticClass:"handle-actions hide-if-no-js"},[a("button",{staticClass:"handlediv",attrs:{type:"button","aria-expanded":"false"},on:{click:function(t){e.showing=!e.showing}}},[a("span",{staticClass:"toggle-indicator",attrs:{"aria-hidden":"true"}})])])]),e._v(" "),a("div",{staticClass:"inside"},[a("div",{staticClass:"main"},[e._t("default")],2)])])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(76),o=a(200),i=!1;var s=function(e){i||a(199)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Loading.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this.$createElement;this._self._c;return this._m(0)};n._withStripped=!0;var o={render:n,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"dokan-loader"},[t("div"),t("div")])}]};t.a=o},function(e,t,a){"use strict";var n=a(77),o=a(203),i=!1;var s=function(e){i||a(202)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Modal.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-modal-dialog"},[a("div",{staticClass:"dokan-modal"},[a("div",{staticClass:"dokan-modal-content",style:{width:e.width,height:e.height}},[a("section",{class:["dokan-modal-main",{"has-footer":e.footer}]},[a("header",{staticClass:"modal-header"},[e._t("header",[a("h1",[e._v(e._s(e.title))])]),e._v(" "),a("button",{staticClass:"modal-close modal-close-link dashicons dashicons-no-alt",on:{click:function(t){return e.$emit("close")}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Close modal panel","dokan-lite")))])])],2),e._v(" "),a("div",{staticClass:"modal-body"},[e._t("body")],2),e._v(" "),e.footer?a("footer",{staticClass:"modal-footer"},[a("div",{staticClass:"inner"},[e._t("footer")],2)]):e._e()])])]),e._v(" "),a("div",{staticClass:"dokan-modal-backdrop"})])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(78),o=a(205),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/TextEditor.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this.$createElement;return(this._self._c||e)("textarea",{attrs:{id:"dokan-tinymce-"+this.editorId},domProps:{value:this.value}})};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(79),o=a(207),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/Currency.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this.$createElement;return(this._self._c||e)("div",{domProps:{innerHTML:this._s(this.formattedPrice(this.amount))}})};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(80),o=a(209),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/LazyInput.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{attrs:{type:e.type,placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){return e.updateValue(t.target.value)},focus:e.focus,blur:e.blur}})};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(81),o=a(212),i=!1;var s=function(e){i||a(211)},r=a(0)(n.a,o.a,!1,s,"data-v-356fabc6",null);r.options.__file="src/admin/components/Progressbar.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.bgColor,attrs:{id:"progressbar"}},[a("div",{class:e.fgColor,style:{width:e.value+"%"},attrs:{id:"value"}},[e.hidden?e._e():[e._v(e._s(e.value+"%"))]],2)])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(82),o=a(214),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/Search.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"search-box"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchItems,expression:"searchItems"}],attrs:{type:"search",id:"post-search-input",name:"s",placeholder:e.title},domProps:{value:e.searchItems},on:{input:function(t){t.target.composing||(e.searchItems=t.target.value)}}})])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(83),o=a(216),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/Datepicker.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{attrs:{type:"text",placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){return e.updateValue(t.target.value)}}})};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},,,,function(e,t,a){"use strict";var n=a(85),o=a(222),i=!1;var s=function(e){i||a(221)},r=a(0)(n.a,o.a,!1,s,"data-v-4f45e4a0",null);r.options.__file="src/admin/components/GoogleMaps.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this.$createElement,t=this._self._c||e;return this.apiKey?t("div",{staticClass:"gmap-wrap regular-text"},[t("input",{ref:"searchAddress",staticClass:"search-address regular-text",attrs:{type:"text",placeholder:this.__("Search Address","dokan-lite")}}),this._v(" "),t("div",{ref:"gmapArea",attrs:{id:"gmap"}})]):t("p",[this._v("\n "+this._s(this.__("Please enter google map API key","dokan-lite"))+"\n")])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(86),o=a(225),i=!1;var s=function(e){i||a(224)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Mapbox.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.accessToken?a("div",{staticClass:"mapbox-wrapper"},[a("div",{staticClass:"address-input"},[a("label",[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n "),a("input",{attrs:{type:"text"},domProps:{value:e.address},on:{input:e.onChangeAddress}})])]),e._v(" "),a("div",{style:{width:e.width,height:e.height},attrs:{id:e.mapboxId}})]):a("p",[e._v("\n "+e._s(e.__("Please enter Mapbox access token in `Appearance > Mapbox Access Token` settings.","dokan-lite"))+"\n")])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(87),o=a(228),i=!1;var s=function(e){i||a(227)},r=a(0)(n.a,o.a,!1,s,"data-v-e724292e",null);r.options.__file="src/admin/components/RefreshSettingOptions.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("button",{staticClass:"button button-link",attrs:{type:"button",disabled:e.isRefreshing||e.showRefreshedMsg},on:{click:function(t){return t.preventDefault(),e.refreshSettings(t)}}},[e.isRefreshing||e.showRefreshedMsg?e._e():a("span",{staticClass:"dashicons dashicons-image-rotate"}),e._v(" "),e.isRefreshing?a("span",{staticClass:"refreshing-message"},[e._v(e._s(e.messages.refreshing)+"...")]):e._e(),e._v(" "),e.showRefreshedMsg?a("span",{staticClass:"refresh-message-success"},[e._v("✓ "+e._s(e.messages.refreshed))]):e._e()])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(88),o=a(230),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorSocialFields.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"social-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Social Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:""}},[e._v(e._s(e.__("Facebook","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.fb,expression:"vendorInfo.social.fb"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.fb},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"fb",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:""}},[e._v(e._s(e.__("Flickr","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.flickr,expression:"vendorInfo.social.flickr"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.flickr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"flickr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:""}},[e._v(e._s(e.__("Google Plus","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.gplus,expression:"vendorInfo.social.gplus"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.gplus},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"gplus",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:""}},[e._v(e._s(e.__("Twitter","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.twitter,expression:"vendorInfo.social.twitter"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.twitter},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"twitter",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:""}},[e._v(e._s(e.__("Youtube","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.youtube,expression:"vendorInfo.social.youtube"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.youtube},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"youtube",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:""}},[e._v(e._s(e.__("Linkedin","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.linkedin,expression:"vendorInfo.social.linkedin"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.linkedin},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"linkedin",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:""}},[e._v(e._s(e.__("Pinterest","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.pinterest,expression:"vendorInfo.social.pinterest"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.pinterest},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"pinterest",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:""}},[e._v(e._s(e.__("Instagram","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.instagram,expression:"vendorInfo.social.instagram"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.instagram},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"instagram",t.target.value)}}})]),e._v(" "),e._l(e.getSocialFields,function(t,n){return a(t,{key:n,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o}],[187]);
|
1 |
+
dokanWebpack([1],[,,function(e,t,a){"use strict";var n=a(10),o=a(28),i=!1;var s=function(e){i||a(27)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Switches.vue",t.a=r.exports},,,,function(e,t,a){"use strict";var n=a(15);t.a={extends:n.Line,props:["data"],data:function(){return{options:{responsive:!0,maintainAspectRatio:!0,scales:{xAxes:[{type:"time",scaleLabel:{display:!1},gridLines:{display:!1},ticks:{fontColor:"#aaa",fontSize:11}}],yAxes:[{scaleLabel:{display:!1},ticks:{fontColor:"#aaa"}}]},legend:{position:"top",onClick:!1},elements:{line:{tension:0,borderWidth:4},point:{radius:5,borderWidth:3,backgroundColor:"#fff",borderColor:"#fff"}},tooltips:{displayColors:!1,callbacks:{label:function(e,t){var a=t.datasets[e.datasetIndex].label||"",n=t.datasets[e.datasetIndex].tooltipLabel||"",o=t.datasets[e.datasetIndex].tooltipPrefix||"",i=n?n+": ":a+": ";return i+=o+e.yLabel}}}}}},mounted:function(){this.renderChart(this.data,this.options)}}},,function(e,t,a){"use strict";var n=a(55);t.a={components:{Sketch:n.a},props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:"hex",validator:function(e){return-1!==["hsl","hex","rgba","hsv"].indexOf(e)}},presetColors:{type:Array,required:!1,default:function(){return["#000","#fff","#d33","#d93","#ee2","#81d742","#1e73be","#8224e3"]}},disableAlpha:{type:Boolean,required:!1,default:!0},disableFields:{type:Boolean,required:!1,default:!0}},data:function(){return{showColorPicker:!1}},methods:{updateColor:function(e){var t="";e[this.format]&&(t=e[this.format]),this.$emit("input",t)},toggleColorPicker:function(){this.showColorPicker=!this.showColorPicker},setHexColor:function(e){this.updateColor({hex:e})}}}},function(e,t,a){"use strict";var n=a(1),o=(a.n(n),a(2)),i=a(16),s=a(17);t.a={name:"VendorAccountFields",components:{Switches:o.a,UploadImage:i.a,PasswordGenerator:s.a},props:{vendorInfo:{type:Object},errors:{type:Array,required:!1}},data:function(){return{showStoreUrl:!0,showPassword:!1,otherStoreUrl:null,banner:"",defaultUrl:dokan.urls.siteUrl+dokan.urls.storePrefix+"/",showButton:!0,placeholderData:"",delay:500,storeAvailable:null,userNameAvailable:null,emailAvailable:null,storeAvailabilityText:"",userNameAvailabilityText:"",emailAvailabilityText:"",getAccountFields:dokan.hooks.applyFilters("getVendorAccountFields",[])}},watch:{"vendorInfo.store_name":function(e){this.showStoreUrl=!0},"vendorInfo.user_nicename":function(e){void 0!==e&&(this.showStoreUrl=!1,this.otherStoreUrl=this.defaultUrl+e.trim().split(" ").join("-"),this.vendorInfo.user_nicename=e.split(" ").join("-"),this.checkStoreName())},"vendorInfo.user_login":function(e){this.checkUsername()},"vendorInfo.email":function(e){this.checkEmail()}},computed:{storeUrl:function(){var e=this.vendorInfo.store_name.trim().split(" ").join("-");return this.vendorInfo.user_nicename=e,this.otherStoreUrl=this.defaultUrl+e,this.defaultUrl+e}},created:function(){var e=this;this.checkStoreName=Object(n.debounce)(this.checkStore,this.delay),this.checkUsername=Object(n.debounce)(this.searchUsername,this.delay),this.checkEmail=Object(n.debounce)(this.searchEmail,this.delay),this.$root.$on("passwordCancelled",function(){e.showPassword=!1})},methods:{uploadBanner:function(e){this.vendorInfo.banner_id=e.id,this.showButton=!1},uploadGravatar:function(e){this.vendorInfo.gravatar_id=e.id},getId:function(){return this.$route.params.id},onSelectBanner:function(e){this.banner=e.url,this.vendorInfo.banner_id=e.id},getError:function(e){var t=this.errors;return!(!t||void 0===t)&&(!(t.length<1)&&(t.includes(e)?e:void 0))},checkStore:function(){var e=this,t=this.vendorInfo.user_nicename;t&&(this.storeAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{store_slug:t}).then(function(t){t.available?(e.storeAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Available","dokan-lite")):(e.storeAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.storeAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchUsername:function(){var e=this,t=this.vendorInfo.user_login;t&&(this.userNameAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{username:t}).then(function(t){t.available?(e.userNameAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Available","dokan-lite")):(e.userNameAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.userNameAvailabilityText=e.__("Not Available","dokan-lite"))}))},searchEmail:function(){var e=this,t=this.vendorInfo.email;t&&(this.emailAvailabilityText=this.__("Searching...","dokan-lite"),dokan.api.get("/stores/check",{email:t}).then(function(t){t.available?(e.emailAvailable=!0,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=e.__("Available","dokan-lite")):(e.emailAvailable=!1,e.$root.$emit("vendorInfoChecked",{userNameAvailable:e.userNameAvailable,storeAvailable:e.storeAvailable,emailAvailable:e.emailAvailable}),e.emailAvailabilityText=t.message?t.message:e.__("This email is already registered, please choose another one.","dokan-lite"))}))},setPassword:function(e){this.showPassword=!0,this.vendorInfo.user_pass=e},sendEmail:function(e,t){"notify_vendor"===t&&(this.vendorInfo.notify_vendor=e)},getUploadBannerText:function(){var e=dokan.store_banner_dimension.width,t=dokan.store_banner_dimension.height;return this.__("Upload banner for your store. Banner size is (".concat(e,"x").concat(t,") pixels."),"dokan-lite")}}}},function(e,t,a){"use strict";t.a={name:"Switches",props:{enabled:{type:Boolean,required:!0,default:!1},value:{type:[String,Number]}},data:function(){return{}},methods:{trigger:function(e){this.$emit("input",e.target.checked,e.target.value)}}}},function(e,t,a){"use strict";t.a={name:"UploadImage",inheritAttrs:!1,props:{src:{default:dokan.urls.assetsUrl+"/images/store-pic.png"},showButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Upload Image"},croppingWidth:{type:Number},croppingHeight:{type:Number}},data:function(){return{image:{src:"",id:""}}},methods:{uploadImage:function(){this.openMediaManager(this.onSelectImage)},onSelectImage:function(e){this.image.src=e.url,this.image.id=e.id,this.$emit("uploadedImage",this.image)},openMediaManager:function(e){var t=this;if(t.fileFrame)t.fileFrame.open();else{var a={library:wp.media.query(),multiple:!1,title:this.__("Select & Crop Image","dokan-lite"),priority:20,filterable:"uploaded",autoSelect:!0,suggestedWidth:500,suggestedHeight:300},n={id:"control-id",params:{width:this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),height:this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),flex_width:!!parseInt(dokan.store_banner_dimension["flex-width"],10),flex_height:!!parseInt(dokan.store_banner_dimension["flex-height"],10)},mustBeCropped:function(e,t,a,n,o,i){return(!0!==e||!0!==t)&&((!0!==e||n!==i)&&((!0!==t||a!==o)&&((a!==o||n!==i)&&!(o<=a))))}},o=[new wp.media.controller.Library(a),new wp.media.controller.CustomizeImageCropper({imgSelectOptions:t.calculateImageSelectOptions,control:n})],i={title:this.__("Select Image","dokan-lite"),button:{text:this.__("Select Image","dokan-lite"),close:!1},multiple:!1};i.states=o,t.fileFrame=wp.media(i),t.fileFrame.on("select",function(){t.fileFrame.setState("cropper")}),t.fileFrame.on("cropped",function(a){e(a),t.fileFrame=null}),t.fileFrame.on("skippedcrop",function(){var a=t.fileFrame.state().get("selection").map(function(e){return e.toJSON()}).pop();e(a),t.fileFrame=null}),t.fileFrame.on("close",function(){t.fileFrame=null}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-vendor-option-media"}}),t.fileFrame.open()}},calculateImageSelectOptions:function(e,t){var a,n,o,i,s,r,l=this.croppingWidth?parseInt(this.croppingWidth,10):parseInt(dokan.store_banner_dimension.width,10),d=this.croppingHeight?parseInt(this.croppingHeight,10):parseInt(dokan.store_banner_dimension.height,10),c=!!parseInt(dokan.store_banner_dimension["flex-width"],10),u=!!parseInt(dokan.store_banner_dimension["flex-height"],10);s=e.get("width"),i=e.get("height");var p=t.get("control");return t.set("canSkipCrop",!p.mustBeCropped(c,u,l,d,s,i)),(n=s)/(o=i)>(a=l/d)?l=(d=o)*a:d=(l=n)/a,r={handles:!0,keys:!0,instance:!0,persistent:!0,imageWidth:s,imageHeight:i,x1:0,y1:0,x2:l,y2:d},!1===u&&!1===c&&(r.aspectRatio=l+":"+d),!1===u&&(r.maxHeight=d),!1===c&&(r.maxWidth=l),r}}}},function(e,t,a){"use strict";t.a={name:"PasswordGenerator",props:{title:{type:String,default:"Generate Password"},cancelTitle:{type:String,default:"Cancel"},regenrateTitle:{type:String,default:"Regenrate"},length:{type:Number,default:25}},data:function(){return{password:"",hideGenerateButton:!1,showCancelButton:!1}},methods:{generatePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password),this.hideGenerateButton=!0,this.showCancelButton=!0},makePassword:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:25,t="",a=0;a<=e;a++){t+="abcdefghijklmnopqurstuvwxyz"[Math.floor(Math.random()*e)]+"ABCDEFGHIJKLMNOPQURSTUVWXYZ"[Math.floor(10*Math.random())]+"!@#$%^&*()"[Math.floor(Math.random()*"!@#$%^&*()".length)]}return t.slice(-e)},cancelButton:function(){this.hideGenerateButton=!1,this.showCancelButton=!1,this.$root.$emit("passwordCancelled")},regenratePassword:function(){this.password=this.makePassword(this.length),this.$emit("passwordGenerated",this.password)}}}},function(e,t,a){"use strict";var n=a(3);a.n(n);t.a={name:"VendorAddressFields",components:{Multiselect:n.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{countries:[],states:[],selectedCountry:{},selectedState:{},getAddressFields:dokan.hooks.applyFilters("getVendorAddressFields",[])}},computed:{selectedCode:function(){var e=this.vendorInfo.address.country;return""!==e?e:[]}},created:function(){this.countries=this.transformCountries(dokan.countries),this.states=dokan.states;var e=this.vendorInfo.address.country,t=this.vendorInfo.address.state;""!==e&&(this.selectedCountry={name:this.getCountryFromCountryCode(e),code:e},this.selectedState={name:this.getStateFromStateCode(t,e),code:t})},methods:{transformCountries:function(e){var t=[];for(var a in e)t.push({name:e[a],code:a});return t},getCountryFromCountryCode:function(e){if(""!==e)return dokan.countries[e]},getStateFromStateCode:function(e,t){if(""!==e){var a=dokan.states[t],n=a&&a[e];return void 0!==n?n:[]}},getStatesFromCountryCode:function(e){if(""!==e){var t=[],a=this.states;for(var n in a)if(n===e&&!(a[n]&&a[n].length<1))for(var o in a[n])t.push({name:a[n][o],code:o});return t}},saveCountry:function(e){e&&(this.vendorInfo.address.state=null,this.selectedState={},this.vendorInfo.address.country=e.code)},saveState:function(e){e&&(this.vendorInfo.address.state=e.code)}}}},function(e,t,a){"use strict";var n=a(2),o=a(3);a.n(o);t.a={name:"VendorPaymentFields",components:{Switches:n.a,Multiselect:o.Multiselect},props:{vendorInfo:{type:Object}},data:function(){return{enabled:!1,trusted:!1,featured:!1,commissionTypes:[{name:"flat",label:this.__("Flat","dokan-lite")},{name:"percentage",label:this.__("Percentage","dokan-lite")},{name:"combine",label:this.__("Combine","dokan-lite")}],selectedCommissionType:{name:"flat",label:this.__("Flat","dokan-lite")},getBankFields:dokan.hooks.applyFilters("getVendorBankFields",[]),getPyamentFields:dokan.hooks.applyFilters("AfterPyamentFields",[])}},created:function(){this.vendorInfo.enabled&&(this.enabled=!0,this.vendorInfo.enabled=!0),this.vendorInfo.trusted&&(this.trusted=!0,this.vendorInfo.trusted=!0),this.vendorInfo.featured&&(this.featured=!0,this.vendorInfo.featured=!0);var e=this.vendorInfo.admin_commission_type;if(e){var t=_.findWhere(this.commissionTypes,{name:e}),a=t.name,n=t.label;this.selectedCommissionType.name=a,this.selectedCommissionType.label=n}},methods:{setValue:function(e,t){"enabled"===t&&(this.vendorInfo.enabled=!!e),"trusted"===t&&(this.vendorInfo.trusted=!!e),"featured"===t&&(this.vendorInfo.featured=!!e)},getId:function(){return this.$route.params.id},saveCommissionType:function(e){var t=e.name;t||(this.vendorInfo.admin_commission_type="flat"),this.vendorInfo.admin_commission_type=t}}}},,function(e,t,a){"use strict";var n=a(11),o=a(30),i=!1;var s=function(e){i||a(29)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/UploadImage.vue",t.a=r.exports},function(e,t,a){"use strict";var n=a(12),o=a(31),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/PasswordGenerator.vue",t.a=i.exports},,,function(e,t,a){"use strict";var n=a(6),o=a(0)(n.a,null,!1,null,null,null);o.options.__file="src/admin/components/Chart.vue",t.a=o.exports},,,function(e,t,a){"use strict";var n=a(8),o=a(25),i=!1;var s=function(e){i||a(24)},r=a(0)(n.a,o.a,!1,s,"data-v-01dc0d51",null);r.options.__file="src/admin/components/ColorPicker.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"color-picker-container"},[a("button",{staticClass:"button color-picker-button",style:{backgroundColor:e.value},attrs:{type:"button"},on:{click:e.toggleColorPicker}},[a("span",[e._v(e._s(e.__("Select Color","dokan-lite")))])]),e._v(" "),e.showColorPicker&&"hex"===e.format?a("input",{staticClass:"hex-input",attrs:{type:"text"},domProps:{value:e.value},on:{input:function(t){return e.setHexColor(t.target.value)}}}):e._e(),e._v(" "),e.showColorPicker?a("div",{staticClass:"button-group"},[a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:function(t){return e.updateColor({})}}},[e._v(e._s(e.__("Clear","dokan-lite")))]),e._v(" "),a("button",{staticClass:"button button-small",attrs:{type:"button"},on:{click:e.toggleColorPicker}},[e._v(e._s(e.__("Close","dokan-lite")))])]):e._e(),e._v(" "),e.showColorPicker?a("sketch",{attrs:{value:e.value,"preset-colors":e.presetColors,"disable-alpha":e.disableAlpha,"disable-fields":e.disableFields},on:{input:e.updateColor}}):e._e()],1)};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(9),o=a(32),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorAccountFields.vue",t.a=i.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this.$createElement,t=this._self._c||e;return t("label",{staticClass:"switch tips"},[t("input",{staticClass:"toogle-checkbox",attrs:{type:"checkbox"},domProps:{checked:this.enabled,value:this.value},on:{change:this.trigger}}),this._v(" "),t("span",{staticClass:"slider round"})])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-upload-image",on:{click:e.uploadImage}},[e.showButton?e._e():a("img",{attrs:{src:e.image.src?e.image.src:e.src}}),e._v(" "),e.showButton?a("button",{on:{click:function(t){return t.preventDefault(),e.uploadImage(t)}}},[e._v("\n "+e._s(e.buttonLabel)+"\n ")]):e._e()])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"password-generator"},[e.hideGenerateButton?e._e():a("button",{staticClass:"button button-secondary",on:{click:function(t){return t.preventDefault(),e.generatePassword(t)}}},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),e.showCancelButton?a("button",{staticClass:"button regen-button",on:{click:function(t){return t.preventDefault(),e.regenratePassword(t)}}},[a("span",{staticClass:"dashicons dashicons-controls-repeat"}),e._v("\n "+e._s(e.regenrateTitle)+"\n ")]):e._e(),e._v(" "),e.showCancelButton?a("button",{staticClass:"button cancel-button",on:{click:function(t){return t.preventDefault(),e.cancelButton(t)}}},[e._v("\n "+e._s(e.cancelTitle)+"\n ")]):e._e()])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("form",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Account Info","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[e.getId()?e._e():a("div",{staticClass:"vendor-image"},[a("div",{staticClass:"picture"},[a("p",{staticClass:"picture-header"},[e._v(e._s(e.__("Vendor Picture","dokan-lite")))]),e._v(" "),a("div",{staticClass:"profile-image"},[a("upload-image",{attrs:{croppingWidth:150,croppingHeight:150},on:{uploadedImage:e.uploadGravatar}})],1),e._v(" "),a("p",{staticClass:"picture-footer",domProps:{innerHTML:e._s(e.sprintf(e.__("You can change your profile picutre on %s","dokan-lite"),"<a href='https://gravatar.com/' target='_blank'>Gravatar</a>"))}})]),e._v(" "),a("div",{class:["picture banner",{"has-banner":e.vendorInfo.banner_id}]},[a("div",{staticClass:"banner-image"},[a("upload-image",{attrs:{showButton:e.showButton,buttonLabel:e.__("Upload Banner","dokan-lite")},on:{uploadedImage:e.uploadBanner}})],1),e._v(" "),e.showButton?a("p",{staticClass:"picture-footer"},[e._v(e._s(e.getUploadBannerText()))]):e._e()])]),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("First Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.first_name,expression:"vendorInfo.first_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("First Name","dokan-lite")},domProps:{value:e.vendorInfo.first_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"first_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Last Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.last_name,expression:"vendorInfo.last_name"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("Last Name","dokan-lite")},domProps:{value:e.vendorInfo.last_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"last_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-name"}},[e._v(e._s(e.__("Store Name","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.store_name,expression:"vendorInfo.store_name"}],class:{"dokan-form-input":!0,"has-error":e.getError("store_name")},attrs:{type:"text",placeholder:e.getError("store_name")?e.__("Store Name is required","dokan-lite"):e.__("Store Name","dokan-lite")},domProps:{value:e.vendorInfo.store_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"store_name",t.target.value)}}})]),e._v(" "),e.getId()?e._e():a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-url"}},[e._v(e._s(e.__("Store URL","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_nicename,expression:"vendorInfo.user_nicename"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Store Url","dokan-lite")},domProps:{value:e.vendorInfo.user_nicename},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_nicename",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[e.showStoreUrl?a("p",{staticClass:"store-url"},[e._v(e._s(e.storeUrl))]):a("p",{staticClass:"store-url"},[e._v(e._s(e.otherStoreUrl))]),e._v(" "),a("span",{class:{"is-available":e.storeAvailable,"not-available":!e.storeAvailable}},[e._v(e._s(e.storeAvailabilityText))])])]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-phone"}},[e._v(e._s(e.__("Phone Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.phone,expression:"vendorInfo.phone"}],staticClass:"dokan-form-input",attrs:{type:"number",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.phone},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"phone",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-email"}},[e._v(e._s(e.__("Email","dokan-lite")))]),e._v(" "),e.getId()?e._e():a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.email,expression:"vendorInfo.email"}],class:{"dokan-form-input":!0,"has-error":e.getError("email")},attrs:{type:"email",placeholder:e.getError("email")?e.__("Email is required","dokan-lite"):e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"email",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.emailAvailable,"not-available":!e.emailAvailable}},[e._v(e._s(e.emailAvailabilityText))])])]),e._v(" "),e.getId()?e._e():[a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-username"}},[e._v(e._s(e.__("Username","dokan-lite")))]),a("span",{staticClass:"required-field"},[e._v("*")]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_login,expression:"vendorInfo.user_login"}],staticClass:"dokan-form-input",class:{"dokan-form-input":!0,"has-error":e.getError("user_login")},attrs:{type:"text",placeholder:e.getError("user_login")?e.__("Username is required","dokan-lite"):e.__("Username","dokan-lite")},domProps:{value:e.vendorInfo.user_login},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_login",t.target.value)}}}),e._v(" "),a("div",{staticClass:"store-avaibility-info"},[a("span",{class:{"is-available":e.userNameAvailable,"not-available":!e.userNameAvailable}},[e._v(e._s(e.userNameAvailabilityText))])]),e._v(" "),a("div",{staticClass:"checkbox-left notify-vendor"},[a("switches",{attrs:{enabled:!0,value:"notify_vendor"},on:{input:e.sendEmail}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Send the vendor an email about their account.","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"store-password"}},[e._v(e._s(e.__("Password","dokan-lite")))]),e._v(" "),e.showPassword?a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.user_pass,expression:"vendorInfo.user_pass"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:"********"},domProps:{value:e.vendorInfo.user_pass},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"user_pass",t.target.value)}}}):e._e(),e._v(" "),a("password-generator",{attrs:{title:e.__("Generate Password","dokan-lite")},on:{passwordGenerated:e.setPassword}})],1)],e._v(" "),e._l(e.getAccountFields,function(t,n){return a(t,{key:n,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(13),o=a(35),i=!1;var s=function(e){i||a(34)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/pages/VendorAddressFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"account-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-1"}},[e._v(e._s(e.__("Street 1","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_1,expression:"vendorInfo.address.street_1"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 1","dokan-lite")},domProps:{value:e.vendorInfo.address.street_1},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_1",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"street-2"}},[e._v(e._s(e.__("Street 2","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.street_2,expression:"vendorInfo.address.street_2"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Street 2","dokan-lite")},domProps:{value:e.vendorInfo.address.street_2},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"street_2",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"city"}},[e._v(e._s(e.__("City","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.city,expression:"vendorInfo.address.city"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("City","dokan-lite")},domProps:{value:e.vendorInfo.address.city},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"city",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"zip"}},[e._v(e._s(e.__("Zip","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.zip,expression:"vendorInfo.address.zip"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Zip","dokan-lite")},domProps:{value:e.vendorInfo.address.zip},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"zip",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"country"}},[e._v(e._s(e.__("Country","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.countries,multiselect:!1,label:"name","track-by":"name",showLabels:!1,placeholder:e.__("Select Country","dokan-lite")},on:{input:e.saveCountry},model:{value:e.selectedCountry,callback:function(t){e.selectedCountry=t},expression:"selectedCountry"}})],1),e._v(" "),a("div",{staticClass:"address-multiselect"},[a("label",{attrs:{for:"state"}},[e._v(e._s(e.__("State","dokan-lite")))]),e._v(" "),e.getStatesFromCountryCode(e.selectedCode).length<1?[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.address.state,expression:"vendorInfo.address.state"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("State","dokan-lite")},domProps:{value:e.vendorInfo.address.state},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.address,"state",t.target.value)}}})]:[a("Multiselect",{attrs:{options:e.getStatesFromCountryCode(e.selectedCode),multiselect:!1,showLabels:!1,label:"name","track-by":"name",placeholder:e.__("Select State","dokan-lite")},on:{input:e.saveState},model:{value:e.selectedState,callback:function(t){e.selectedState=t},expression:"selectedState"}})]],2),e._v(" "),e._l(e.getAddressFields,function(t,n){return a(t,{key:n,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(14),o=a(38),i=!1;var s=function(e){i||a(37)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/pages/VendorPaymentFields.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:{"payment-info":!0,"edit-mode":e.getId()}},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Payment Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("Account Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_name,expression:"vendorInfo.payment.bank.ac_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Account Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"account-number"}},[e._v(e._s(e.__("Account Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.ac_number,expression:"vendorInfo.payment.bank.ac_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("1233456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.ac_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"ac_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-name"}},[e._v(e._s(e.__("Bank Name","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_name,expression:"vendorInfo.payment.bank.bank_name"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Name","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_name},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_name",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"bank-address"}},[e._v(e._s(e.__("Bank Address","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.bank_addr,expression:"vendorInfo.payment.bank.bank_addr"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("Bank Address","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.bank_addr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"bank_addr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"routing-number"}},[e._v(e._s(e.__("Routing Number","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.routing_number,expression:"vendorInfo.payment.bank.routing_number"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.routing_number},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"routing_number",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"iban"}},[e._v(e._s(e.__("IBAN","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.iban,expression:"vendorInfo.payment.bank.iban"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.iban},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"iban",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"swift"}},[e._v(e._s(e.__("Swift","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.bank.swift,expression:"vendorInfo.payment.bank.swift"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("123456789","dokan-lite")},domProps:{value:e.vendorInfo.payment.bank.swift},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.bank,"swift",t.target.value)}}})]),e._v(" "),e._l(e.getBankFields,function(t,n){return a(t,{key:n,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2),e._v(" "),a("div",{staticClass:"dokan-form-group"},[a("div",{class:{column:e.getId(),"checkbox-group":!e.getId()}},[a("label",{attrs:{for:"account-name"}},[e._v(e._s(e.__("PayPal Email","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.payment.paypal.email,expression:"vendorInfo.payment.paypal.email"}],staticClass:"dokan-form-input",attrs:{type:"email",placeholder:e.__("store@email.com","dokan-lite")},domProps:{value:e.vendorInfo.payment.paypal.email},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.payment.paypal,"email",t.target.value)}}})]),e._v(" "),e.getId()?[a("div",{staticClass:"column"},[a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission Type","dokan-lite")))]),e._v(" "),a("Multiselect",{attrs:{options:e.commissionTypes,"track-by":"name",label:"label","allow-empty":!1,multiselect:!1,searchable:!1,showLabels:!1},on:{input:e.saveCommissionType},model:{value:e.selectedCommissionType,callback:function(t){e.selectedCommissionType=t},expression:"selectedCommissionType"}})],1)]),e._v(" "),"combine"===e.selectedCommissionType.name?a("div",{staticClass:"column combine-commission"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("div",{staticClass:"combine-commission-field"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"wc_input_decimal dokan-form-input percent_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}}),e._v("\n "+e._s("% +")+"\n "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_additional_fee,expression:"vendorInfo.admin_additional_fee"}],staticClass:"wc_input_price dokan-form-input fixed_fee",attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_additional_fee},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_additional_fee",t.target.value)}}})])]):a("div",{staticClass:"column"},[a("label",[e._v(e._s(e.__("Admin Commission","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.admin_commission,expression:"vendorInfo.admin_commission"}],staticClass:"dokan-form-input",class:{wc_input_price:"flat"==e.selectedCommissionType.name,wc_input_decimal:"flat"!=e.selectedCommissionType.name},attrs:{type:"text"},domProps:{value:e.vendorInfo.admin_commission},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo,"admin_commission",t.target.value)}}})])]:e._e(),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.enabled,value:"enabled"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Enable Selling","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.trusted,value:"trusted"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Publish Product Directly","dokan-lite")))])],1)]),e._v(" "),a("div",{staticClass:"checkbox-group"},[a("div",{staticClass:"checkbox-left"},[a("switches",{attrs:{enabled:e.featured,value:"featured"},on:{input:e.setValue}}),e._v(" "),a("span",{staticClass:"desc"},[e._v(e._s(e.__("Make Vendor Featured","dokan-lite")))])],1)])],2),e._v(" "),e._l(e.getPyamentFields,function(t,n){return a(t,{key:n,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";t.c=o,t.a=function(e,t){return i(t)?i(t).dgettext(t,e):e},t.b=function(e,t,a,n,o){return i(o).dnpgettext(o,n,e,t,a)},a.d(t,"d",function(){return s});var n={};function o(e){var t=new Jed(e);n[t._textdomain]=t}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return n[e]||o({"":{}}),n[e]}var s=Jed.sprintf},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";t.a={name:"Postbox",props:{title:{type:String,required:!0,default:""},extraClass:{type:String,default:null}},data:function(){return{showing:!0}}}},function(e,t,a){"use strict";t.a={name:"Loading",data:function(){return{}}}},function(e,t,a){"use strict";t.a={name:"Modal",props:{footer:{type:Boolean,required:!1,default:!0},width:{type:String,required:!1,default:"500px"},height:{type:String,required:!1,default:"auto"},title:{type:String,required:!0,default:""}},data:function(){return{}}}},function(e,t,a){"use strict";t.a={props:{value:{type:String,required:!0},shortcodes:{type:Object,required:!1}},data:function(){return{editorId:this._uid,fileFrame:null}},mounted:function(){var e=this;window.tinymce.init({selector:"#dokan-tinymce-".concat(this.editorId),branding:!1,height:200,menubar:!1,convert_urls:!1,theme:"modern",skin:"lightgray",fontsize_formats:"10px 11px 13px 14px 16px 18px 22px 25px 30px 36px 40px 45px 50px 60px 65px 70px 75px 80px",font_formats:"Arial=arial,helvetica,sans-serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Lucida=Lucida Sans Unicode, Lucida Grande, sans-serif;Tahoma=tahoma,arial,helvetica,sans-serif;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;",plugins:"textcolor colorpicker wplink wordpress code hr wpeditimage",toolbar:["shortcodes bold italic underline bullist numlist alignleft aligncenter alignjustify alignright link image wp_adv","formatselect forecolor backcolor blockquote hr code fontselect fontsizeselect removeformat undo redo"],setup:function(t){var a=[];_.forEach(e.shortcodes,function(e,n){a.push({text:e.title,classes:"menu-section-title"}),_.forEach(e.codes,function(e,o){a.push({text:e.title,onclick:function(){var a="[".concat(n,":").concat(o,"]");e.default&&(a="[".concat(n,":").concat(o,' default="').concat(e.default,'"]')),e.text&&(a="[".concat(n,":").concat(o,' text="').concat(e.text,'"]')),e.plainText&&(a=e.text),t.insertContent(a)}})})}),t.addButton("image",{icon:"image",onclick:function(){e.browseImage(t)}}),t.on("change keyup NodeChange",function(){e.$emit("input",t.getContent())})}})},methods:{browseImage:function(e){var t=this,a={id:0,url:"",type:""};if(t.fileFrame)t.fileFrame.open();else{var n=[new wp.media.controller.Library({library:wp.media.query(),multiple:!1,title:this.__("Select an image","dokan-lite"),priority:20,filterable:"uploaded"})];t.fileFrame=wp.media({title:this.__("Select an image","dokan-lite"),library:{type:""},button:{text:this.__("Select an image","dokan-lite")},multiple:!1,states:n}),t.fileFrame.on("select",function(){t.fileFrame.state().get("selection").map(function(n){return(n=n.toJSON()).id&&(a.id=n.id),n.url&&(a.url=n.url),n.type&&(a.type=n.type),t.insertImage(e,a),null})}),t.fileFrame.on("ready",function(){t.fileFrame.uploader.options.uploader.params={type:"dokan-image-uploader"}}),t.fileFrame.open()}},insertImage:function(e,t){if(t.id&&"image"===t.type){var a='<img src="'.concat(t.url,'" alt="').concat(t.alt,'" title="').concat(t.title,'" style="max-width: 100%; height: auto;">');e.insertContent(a)}else this.alert({type:"error",text:this.__("Please select an image,","dokan-lite")})}}}},function(e,t,a){"use strict";t.a={props:["amount"],methods:{formattedPrice:function(e){return accounting.formatMoney(e,dokan.currency)}}}},function(e,t,a){"use strict";var n=a(1);a.n(n);t.a={name:"LazyInput",props:{value:{type:String,required:!0,default:""},type:{type:String,required:!1,default:"text"},placeholder:{type:String,required:!1,default:""}},data:function(){return{delay:500,debouncer:null}},methods:{updateValue:function(e){var t=this;t.debouncer&&t.debouncer.clear(),t.debouncer=Object(n.debounce)(function(){t.triggerInput(e)},t.delay),t.debouncer()},focus:function(){this.$emit("focus")},blur:function(){this.$emit("blur")},triggerInput:function(e){this.$emit("input",e)}}}},function(e,t,a){"use strict";t.a={props:{value:{type:Number,default:0},hidden:{type:Boolean,default:!1},bgColor:{type:String,default:"defaultBg"},fgColor:{type:String,default:"defaultFg"}}}},function(e,t,a){"use strict";var n=a(1);a.n(n);t.a={name:"Search",props:{title:{type:String,default:"Search"}},data:function(){return{delay:500,searchItems:""}},watch:{searchItems:function(){this.makeDelay()}},created:function(){this.makeDelay=Object(n.debounce)(this.doSearch,this.delay)},methods:{doSearch:function(){this.$emit("searched",this.searchItems)}}}},function(e,t,a){"use strict";t.a={props:{value:{type:String,required:!0,default:""},format:{type:String,required:!1,default:""},placeholder:{type:String,required:!1,default:""},changeMonthYear:{type:Boolean,required:!1,default:!1}},mounted:function(){var e=this;jQuery(e.$el).datepicker({dateFormat:e.format,changeMonth:e.changeMonthYear,changeYear:e.changeMonthYear,beforeShow:function(){jQuery(this).datepicker("widget").addClass("dokan-datepicker")},onSelect:function(t){e.updateValue(t)}})},methods:{updateValue:function(e){e||(e=moment().format("YYYY-MM-DD")),this.$emit("input",e)}}}},,function(e,t,a){"use strict";t.a={name:"GoogleMaps",props:{apiKey:{type:String,default:null},location:{type:Object,default:function(){return{latitude:23.709921,longitude:90.40714300000002,address:"dhaka",zoom:10}}}},data:function(){return{dokanGoogleMap:null,marker:null,loadMap:this.apiKey.length>1}},mounted:function(){this.apiKey&&window.google&&this.renderMap()||this.$emit("hideMap",!0)},beforeDestroy:function(){this.dokanGoogleMap&&(this.dokanGoogleMap=null),this.marker&&(this.marker=null)},methods:{setMap:function(){this.dokanGoogleMap=new google.maps.Map(this.getMapArea(),{center:this.getCenter(),zoom:this.location.zoom,mapTypeId:google.maps.MapTypeId.ROADMAP})},setMarker:function(){this.marker=new google.maps.Marker({position:this.getCenter(),map:this.dokanGoogleMap})},GetGeocoder:function(){return new google.maps.Geocoder},getSearchAddress:function(){return this.location.address&&(this.$refs.searchAddress.value=this.location.address),this.$refs.searchAddress},setAutoComplete:function(){var e=this,t=new google.maps.places.Autocomplete(this.getSearchAddress());t.addListener("place_changed",function(){var a=t.getPlace(),n=a.geometry.location;e.updateMap(n.lat(),n.lng(),a.formatted_address)})},updateMap:function(e,t,a){var n=new google.maps.LatLng(e,t);this.$emit("updateMap",{latitude:n.lat(),longitude:n.lng(),address:a}),this.dokanGoogleMap.setCenter(n),this.marker.setPosition(n),a||this.GetGeocoder.geocode({location:{lat:e,lng:t}},function(e,t){"OK"===t&&address.val(e[0].formatted_address)})},renderMap:function(){return this.setMap(),this.setMarker(),this.setAutoComplete(),!0},getCenter:function(){return new google.maps.LatLng(this.location.latitude,this.location.longitude)},getMapArea:function(){return this.$refs.gmapArea}}}},function(e,t,a){"use strict";var n=a(72),o=a.n(n),i=a(73),s=a.n(i),r=function(){function e(t){o()(this,e),this._mapId=t}return s()(e,[{key:"onAdd",value:function(e){var t=this;this._map=e;var a=document.createElement("span");a.className="dashicons dashicons-search";var n=document.createTextNode("Search Map"),o=document.createElement("button");o.type="button",o.className="button",o.appendChild(a),o.appendChild(n),o.addEventListener("click",function(e){e.preventDefault();var a=document.getElementById(t._mapId).getElementsByClassName("mapboxgl-ctrl-top-left")[0];a.className=a.className+" show-geocoder"});var i=document.createElement("div");return i.className="mapboxgl-ctrl dokan-mapboxgl-ctrl",i.appendChild(o),this._container=i,this._container}},{key:"onRemove",value:function(){this._container.parentNode.removeChild(this._container),this._map=void 0}}]),e}();t.a={name:"Mapbox",props:{accessToken:{type:String,default:null},location:{type:Object,required:!0},width:{type:String,required:!1,default:"100%"},height:{type:String,required:!1,default:"300px"}},data:function(){return{dokanMapbox:null,dokanGeocoder:null,dokanMarker:null}},computed:{mapboxId:function(){return"dokan-mapbox-".concat(this._uid)},address:function(){return this.location.address}},mounted:function(){this.accessToken&&window.mapboxgl&&this.initializeMapbox()||this.$emit("hideMap",!0),window.mapboxgl=mapboxgl},beforeDestroy:function(){this.dokanMapbox&&(this.dokanMarker.remove(),this.dokanMapbox.remove())},methods:{initializeMapbox:function(){var e=this;return mapboxgl.accessToken=this.accessToken,this.dokanMapbox=new mapboxgl.Map({container:this.mapboxId,style:"mapbox://styles/mapbox/streets-v10",center:[this.location.longitude,this.location.latitude],zoom:this.location.zoom}),this.dokanMapbox.addControl(new mapboxgl.NavigationControl),this.dokanMapbox.addControl(new r(this.mapboxId),"top-left"),this.dokanMapbox.on("zoomend",function(t){e.setLocation({zoom:t.target.getZoom()})}),this.dokanMapbox.on("load",function(){e.dokanGeocoder=new MapboxGeocoder({accessToken:mapboxgl.accessToken,mapboxgl:mapboxgl,zoom:e.dokanMapbox.getZoom(),placeholder:e.__("Search Address","dokan-lite"),marker:!1,reverseGeocode:!0}),e.dokanMapbox.addControl(e.dokanGeocoder,"top-left"),e.dokanGeocoder.setInput(e.location.address),e.dokanGeocoder.on("result",function(t){var a=t.result,n=a.center;a.place_name;e.dokanMarker.setLngLat(n),e.dokanMapbox.setCenter([n[0],n[1]]),e.setLocation({address:a.place_name,latitude:n[1],longitude:n[0],zoom:e.dokanMapbox.getZoom()})})}),this.dokanMarker=new mapboxgl.Marker({draggable:!0}).setLngLat([this.location.longitude,this.location.latitude]).addTo(this.dokanMapbox).on("dragend",this.onMarkerDragEnd),!0},onMarkerDragEnd:function(){var e=this,t=this.dokanGeocoder.geocoderService.client.origin,a=this.dokanGeocoder.geocoderService.client.accessToken,n=this.dokanMarker.getLngLat().wrap(),o=n.lng,i=n.lat;this.dokanMapbox.setCenter([o,i]),this.setLocation({latitude:i,longitude:o});var s="".concat(t,"/geocoding/v5/mapbox.places/").concat(o,"%2C").concat(i,".json?access_token=").concat(a,"&cachebuster=").concat(+new Date,"&autocomplete=true");this.dokanGeocoder._inputEl.disabled=!0,this.dokanGeocoder._loadingEl.style.display="block",jQuery.ajax({url:s,method:"get"}).done(function(t){e.dokanGeocoder._typeahead.update(t.features)}).fail(function(){}).always(function(){e.dokanGeocoder._inputEl.disabled=!1,e.dokanGeocoder._loadingEl.style.display=""})},setLocation:function(e){this.$emit("updateMap",e)},onChangeAddress:function(e){this.setLocation({address:e.target.value})}}}},function(e,t,a){"use strict";t.a={props:{section:{type:String,required:!0},field:{type:Object,required:!0},toggleLoadingState:{type:Function,required:!0}},data:function(){return{isRefreshing:!1,showRefreshedMsg:!1}},computed:{messages:function(){var e,t,a,n;return{refreshing:(null===(e=this.field.refresh_options)||void 0===e?void 0:null===(t=e.messages)||void 0===t?void 0:t.refreshing)||this.__("Refreshing options","dokan-lite"),refreshed:(null===(a=this.field.refresh_options)||void 0===a?void 0:null===(n=a.messages)||void 0===n?void 0:n.refreshed)||this.__("Option refreshed!","dokan-lite")}}},methods:{refreshSettings:function(){var e=this;this.toggleLoadingState(),this.isRefreshing=!0,jQuery.ajax({url:dokan.ajaxurl,method:"post",dataType:"json",data:{action:"dokan_refresh_admin_settings_field_options",_wpnonce:dokan.admin_settings_nonce,section:this.section,field:this.field.name}}).done(function(t){var a;(null===t||void 0===t?void 0:null===(a=t.data)||void 0===a?void 0:a[0])&&e.setSettingOptions(t.data)}).always(function(){e.toggleLoadingState(),e.isRefreshing=!1}).fail(function(e){var t;(null===e||void 0===e?void 0:null===(t=e.responseJSON)||void 0===t?void 0:t.data)&&alert(e.responseJSON.data)})},setSettingOptions:function(e){var t=this;this.field.options=e,this.showRefreshedMsg=!0,setTimeout(function(){return t.showRefreshedMsg=!1},3e3)}}}},function(e,t,a){"use strict";t.a={name:"VendorSocialFields",props:{vendorInfo:{type:Object}},data:function(){return{getSocialFields:dokan.hooks.applyFilters("getVendorSocialFields",[])}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=a(4),o=a(19),i=a(188),s=a.n(i),r=a(69),l=a.n(r),d=a(70),c=a(3),u=a.n(c),p=a(192),m=a(15),v=a(193),f=a(1),_=a.n(f),h=a(194),g=a.n(h),b=a(74),k=(a.n(b),a(195)),y=a(198),w=a(20),C=a(201),x=a(2),I=a(204),S=a(206),A=a(208),P=a(210),M=a(213),F=a(215),N=a(84),$=a(23),T=a(220),E=a(223),L=a(16),B=a(17),G=a(226),R=a(26),V=a(33),j=a(229),q=a(36),U=a(231);a.n(U);window.__=function(e,t){return __(e,t)},n.default.use(l.a),n.default.use(N.default),n.default.mixin(v.a),n.default.filter("currency",function(e){return accounting.formatMoney(e,dokan.currency)}),n.default.filter("capitalize",function(e){return e?(e=e.toString()).charAt(0).toUpperCase()+e.slice(1):""}),n.default.directive("tooltip",{bind:function(e,t,a){jQuery(e).tooltip("show")},unbind:function(e,t,a){jQuery(e).tooltip("destroy")}}),window.dokan_get_lib=function(e){return window.dokan.libs[e]},window.dokan_add_route=function(e){window.dokan.routeComponents[e.name]=e},window.dokan.api=new p.a,window.dokan.libs.Vue=n.default,window.dokan.libs.Router=o.default,window.dokan.libs.moment=s.a,window.dokan.libs.ListTable=d.default,window.dokan.libs.Currency=S.a,window.dokan.libs.Postbox=k.a,window.dokan.libs.Loading=y.a,window.dokan.libs.ChartJS=m.default,window.dokan.libs.Chart=w.a,window.dokan.libs.Modal=C.a,window.dokan.libs.Switches=x.a,window.dokan.libs.TextEditor=I.a,window.dokan.libs.LazyInput=A.a,window.dokan.libs.Progressbar=P.a,window.dokan.libs.Search=M.a,window.dokan.libs.Datepicker=F.a,window.dokan.libs.Multiselect=u.a,window.dokan.libs.ColorPicker=$.a,window.dokan.libs.debounce=_.a,window.dokan.libs.VersionCompare=g.a,window.dokan.libs.GoogleMaps=T.a,window.dokan.libs.Mapbox=E.a,window.dokan.libs.UploadImage=L.a,window.dokan.libs.PasswordGenerator=B.a,window.dokan.libs.VendorAccountFields=R.a,window.dokan.libs.VendorAddressFields=V.a,window.dokan.libs.VendorSocialFields=j.a,window.dokan.libs.VendorPaymentFields=q.a,window.dokan.libs.RefreshSettingOptions=G.a,window.dokan.libs.ContentLoading={VclCode:b.VclCode,VclList:b.VclList,VclTwitch:b.VclTwitch,VclFacebook:b.VclFacebook,VclInstagram:b.VclInstagram,VclBulletList:b.VclBulletList,VueContentLoading:b.VueContentLoading},dokan.hooks=wp&&wp.hooks?wp.hooks:dokan.wpPackages.hooks,dokan.hooks&&(dokan.addFilterComponent=function(e,t,a){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;dokan.hooks.addFilter(e,t,function(e){return e.push(a),e},n)})},function(e,t){e.exports=moment},,,,function(e,t,a){"use strict";var n=a(72),o=a.n(n),i=a(73),s=a.n(i),r=function(){function e(){o()(this,e)}return s()(e,[{key:"endpoint",value:function(){return window.dokan.rest.root+window.dokan.rest.version}},{key:"headers",value:function(){return{}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"GET",this.headers(),t)}},{key:"post",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"POST",this.headers(),t)}},{key:"put",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"PUT",this.headers(),t)}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.ajax(e,"DELETE",this.headers(),t)}},{key:"ajax",value:function(e,t,a,n){var o=null;return"PUT"!==t&&"DELETE"!==t||(o=t,t="POST"),jQuery.ajax({url:this.endpoint()+e,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",window.dokan.rest.nonce),o&&e.setRequestHeader("X-HTTP-Method-Override",o)},type:t,data:n})}}]),e}();t.a=r},function(e,t,a){"use strict";var n=a(39);t.a={methods:{setLocaleData:function(e){return Object(n.c)(e)},__:function(e,t){return Object(n.a)(e,t)},_nx:function(e,t,a,o,i){return Object(n.b)(e,t,a,o,i)},__n:function(e,t,a,n){return _n(e,t,a,n)},sprintf:function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),o=1;o<t;o++)a[o-1]=arguments[o];return n.d.apply(void 0,[e].concat(a))}}}},function(e,t){e.exports=function(e,t,a){var n,o,i=0,s={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},r=function(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]},l=function(e){return e?isNaN(e)?s[e]||-7:parseInt(e,10):0};for(e=r(e),t=r(t),o=Math.max(e.length,t.length),n=0;n<o;n++)if(e[n]!==t[n]){if(e[n]=l(e[n]),t[n]=l(t[n]),e[n]<t[n]){i=-1;break}if(e[n]>t[n]){i=1;break}}if(!a)return i;switch(a){case">":case"gt":return i>0;case">=":case"ge":return i>=0;case"<=":case"le":return i<=0;case"===":case"=":case"eq":return 0===i;case"<>":case"!==":case"ne":return 0!==i;case"":case"<":case"lt":return i<0;default:return null}}},function(e,t,a){"use strict";var n=a(75),o=a(197),i=!1;var s=function(e){i||a(196)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Postbox.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:["postbox","dokan-postbox",{closed:!e.showing},e.extraClass]},[a("div",{staticClass:"postbox-header"},[a("h2",{staticClass:"hndle"},[a("span",[e._v(e._s(e.title))])]),e._v(" "),a("div",{staticClass:"handle-actions hide-if-no-js"},[a("button",{staticClass:"handlediv",attrs:{type:"button","aria-expanded":"false"},on:{click:function(t){e.showing=!e.showing}}},[a("span",{staticClass:"toggle-indicator",attrs:{"aria-hidden":"true"}})])])]),e._v(" "),a("div",{staticClass:"inside"},[a("div",{staticClass:"main"},[e._t("default")],2)])])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(76),o=a(200),i=!1;var s=function(e){i||a(199)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Loading.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this.$createElement;this._self._c;return this._m(0)};n._withStripped=!0;var o={render:n,staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"dokan-loader"},[t("div"),t("div")])}]};t.a=o},function(e,t,a){"use strict";var n=a(77),o=a(203),i=!1;var s=function(e){i||a(202)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Modal.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"dokan-modal-dialog"},[a("div",{staticClass:"dokan-modal"},[a("div",{staticClass:"dokan-modal-content",style:{width:e.width,height:e.height}},[a("section",{class:["dokan-modal-main",{"has-footer":e.footer}]},[a("header",{staticClass:"modal-header"},[e._t("header",[a("h1",[e._v(e._s(e.title))])]),e._v(" "),a("button",{staticClass:"modal-close modal-close-link dashicons dashicons-no-alt",on:{click:function(t){return e.$emit("close")}}},[a("span",{staticClass:"screen-reader-text"},[e._v(e._s(e.__("Close modal panel","dokan-lite")))])])],2),e._v(" "),a("div",{staticClass:"modal-body"},[e._t("body")],2),e._v(" "),e.footer?a("footer",{staticClass:"modal-footer"},[a("div",{staticClass:"inner"},[e._t("footer")],2)]):e._e()])])]),e._v(" "),a("div",{staticClass:"dokan-modal-backdrop"})])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(78),o=a(205),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/TextEditor.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this.$createElement;return(this._self._c||e)("textarea",{attrs:{id:"dokan-tinymce-"+this.editorId},domProps:{value:this.value}})};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(79),o=a(207),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/Currency.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this.$createElement;return(this._self._c||e)("div",{domProps:{innerHTML:this._s(this.formattedPrice(this.amount))}})};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(80),o=a(209),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/LazyInput.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{attrs:{type:e.type,placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){return e.updateValue(t.target.value)},focus:e.focus,blur:e.blur}})};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(81),o=a(212),i=!1;var s=function(e){i||a(211)},r=a(0)(n.a,o.a,!1,s,"data-v-356fabc6",null);r.options.__file="src/admin/components/Progressbar.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{class:e.bgColor,attrs:{id:"progressbar"}},[a("div",{class:e.fgColor,style:{width:e.value+"%"},attrs:{id:"value"}},[e.hidden?e._e():[e._v(e._s(e.value+"%"))]],2)])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(82),o=a(214),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/Search.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("p",{staticClass:"search-box"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.searchItems,expression:"searchItems"}],attrs:{type:"search",id:"post-search-input",name:"s",placeholder:e.title},domProps:{value:e.searchItems},on:{input:function(t){t.target.composing||(e.searchItems=t.target.value)}}})])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(83),o=a(216),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/components/Datepicker.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("input",{attrs:{type:"text",placeholder:e.placeholder},domProps:{value:e.value},on:{input:function(t){return e.updateValue(t.target.value)}}})};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},,,,function(e,t,a){"use strict";var n=a(85),o=a(222),i=!1;var s=function(e){i||a(221)},r=a(0)(n.a,o.a,!1,s,"data-v-4f45e4a0",null);r.options.__file="src/admin/components/GoogleMaps.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this.$createElement,t=this._self._c||e;return this.apiKey?t("div",{staticClass:"gmap-wrap regular-text"},[t("input",{ref:"searchAddress",staticClass:"search-address regular-text",attrs:{type:"text",placeholder:this.__("Search Address","dokan-lite")}}),this._v(" "),t("div",{ref:"gmapArea",attrs:{id:"gmap"}})]):t("p",[this._v("\n "+this._s(this.__("Please enter google map API key","dokan-lite"))+"\n")])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(86),o=a(225),i=!1;var s=function(e){i||a(224)},r=a(0)(n.a,o.a,!1,s,null,null);r.options.__file="src/admin/components/Mapbox.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return e.accessToken?a("div",{staticClass:"mapbox-wrapper"},[a("div",{staticClass:"address-input"},[a("label",[e._v("\n "+e._s(e.__("Address","dokan-lite"))+"\n "),a("input",{attrs:{type:"text"},domProps:{value:e.address},on:{input:e.onChangeAddress}})])]),e._v(" "),a("div",{style:{width:e.width,height:e.height},attrs:{id:e.mapboxId}})]):a("p",[e._v("\n "+e._s(e.__("Please enter Mapbox access token in `Appearance > Mapbox Access Token` settings.","dokan-lite"))+"\n")])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(87),o=a(228),i=!1;var s=function(e){i||a(227)},r=a(0)(n.a,o.a,!1,s,"data-v-e724292e",null);r.options.__file="src/admin/components/RefreshSettingOptions.vue",t.a=r.exports},function(e,t){},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("button",{staticClass:"button button-link",attrs:{type:"button",disabled:e.isRefreshing||e.showRefreshedMsg},on:{click:function(t){return t.preventDefault(),e.refreshSettings(t)}}},[e.isRefreshing||e.showRefreshedMsg?e._e():a("span",{staticClass:"dashicons dashicons-image-rotate"}),e._v(" "),e.isRefreshing?a("span",{staticClass:"refreshing-message"},[e._v(e._s(e.messages.refreshing)+"...")]):e._e(),e._v(" "),e.showRefreshedMsg?a("span",{staticClass:"refresh-message-success"},[e._v("✓ "+e._s(e.messages.refreshed))]):e._e()])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o},function(e,t,a){"use strict";var n=a(88),o=a(230),i=a(0)(n.a,o.a,!1,null,null,null);i.options.__file="src/admin/pages/VendorSocialFields.vue",t.a=i.exports},function(e,t,a){"use strict";var n=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"social-info"},[a("div",{staticClass:"content-header"},[e._v("\n "+e._s(e.__("Social Options","dokan-lite"))+"\n ")]),e._v(" "),a("div",{staticClass:"content-body"},[a("div",{staticClass:"dokan-form-group"},[a("div",{staticClass:"column"},[a("label",{attrs:{for:"facebook"}},[e._v(e._s(e.__("Facebook","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.fb,expression:"vendorInfo.social.fb"}],staticClass:"dokan-form-input",attrs:{id:"facebook",type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.fb},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"fb",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"flickr"}},[e._v(e._s(e.__("Flickr","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.flickr,expression:"vendorInfo.social.flickr"}],staticClass:"dokan-form-input",attrs:{id:"flickr",type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.flickr},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"flickr",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"twitter"}},[e._v(e._s(e.__("Twitter","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.twitter,expression:"vendorInfo.social.twitter"}],staticClass:"dokan-form-input",attrs:{id:"twitter",type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.twitter},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"twitter",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"youtube"}},[e._v(e._s(e.__("Youtube","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.youtube,expression:"vendorInfo.social.youtube"}],staticClass:"dokan-form-input",attrs:{id:"youtube",type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.youtube},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"youtube",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"linkedin"}},[e._v(e._s(e.__("Linkedin","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.linkedin,expression:"vendorInfo.social.linkedin"}],staticClass:"dokan-form-input",attrs:{id:"linkedin",type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.linkedin},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"linkedin",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{id:"pinterest",for:"pinterest"}},[e._v(e._s(e.__("Pinterest","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.pinterest,expression:"vendorInfo.social.pinterest"}],staticClass:"dokan-form-input",attrs:{type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.pinterest},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"pinterest",t.target.value)}}})]),e._v(" "),a("div",{staticClass:"column"},[a("label",{attrs:{for:"instagram"}},[e._v(e._s(e.__("Instagram","dokan-lite")))]),e._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:e.vendorInfo.social.instagram,expression:"vendorInfo.social.instagram"}],staticClass:"dokan-form-input",attrs:{id:"instagram",type:"text",placeholder:e.__("https://example.com")},domProps:{value:e.vendorInfo.social.instagram},on:{input:function(t){t.target.composing||e.$set(e.vendorInfo.social,"instagram",t.target.value)}}})]),e._v(" "),e._l(e.getSocialFields,function(t,n){return a(t,{key:n,tag:"component",attrs:{vendorInfo:e.vendorInfo}})})],2)])])};n._withStripped=!0;var o={render:n,staticRenderFns:[]};t.a=o}],[187]);
|
dokan.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Dokan
|
4 |
* Plugin URI: https://wordpress.org/plugins/dokan-lite/
|
5 |
* Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
|
6 |
-
* Version: 3.2.
|
7 |
* Author: weDevs
|
8 |
* Author URI: https://wedevs.com/
|
9 |
* Text Domain: dokan-lite
|
@@ -56,7 +56,7 @@ final class WeDevs_Dokan {
|
|
56 |
*
|
57 |
* @var string
|
58 |
*/
|
59 |
-
public $version = '3.2.
|
60 |
|
61 |
/**
|
62 |
* Instance of self
|
3 |
* Plugin Name: Dokan
|
4 |
* Plugin URI: https://wordpress.org/plugins/dokan-lite/
|
5 |
* Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
|
6 |
+
* Version: 3.2.2
|
7 |
* Author: weDevs
|
8 |
* Author URI: https://wedevs.com/
|
9 |
* Text Domain: dokan-lite
|
56 |
*
|
57 |
* @var string
|
58 |
*/
|
59 |
+
public $version = '3.2.2';
|
60 |
|
61 |
/**
|
62 |
* Instance of self
|
includes/Admin/SetupWizard.php
CHANGED
@@ -444,6 +444,8 @@ class SetupWizard {
|
|
444 |
|
445 |
update_option( 'dokan_selling', $options );
|
446 |
|
|
|
|
|
447 |
wp_safe_redirect( esc_url_raw( $this->get_next_step_link() ) );
|
448 |
exit;
|
449 |
}
|
444 |
|
445 |
update_option( 'dokan_selling', $options );
|
446 |
|
447 |
+
do_action( 'dokan_admin_setup_wizard_save_step_setup_selling', $options, $_post_data );
|
448 |
+
|
449 |
wp_safe_redirect( esc_url_raw( $this->get_next_step_link() ) );
|
450 |
exit;
|
451 |
}
|
includes/Ajax.php
CHANGED
@@ -416,7 +416,7 @@ class Ajax {
|
|
416 |
* Add shipping tracking info via ajax
|
417 |
*/
|
418 |
public function add_shipping_tracking_info() {
|
419 |
-
if ( ! isset( $
|
420 |
die( -1 );
|
421 |
}
|
422 |
|
416 |
* Add shipping tracking info via ajax
|
417 |
*/
|
418 |
public function add_shipping_tracking_info() {
|
419 |
+
if ( ! isset( $_REQUEST['security'] ) || ! wp_verify_nonce( sanitize_key( $_REQUEST['security'] ), 'add-shipping-tracking-info' ) ) {
|
420 |
die( -1 );
|
421 |
}
|
422 |
|
includes/Dashboard/Templates/Settings.php
CHANGED
@@ -500,6 +500,15 @@ class Settings {
|
|
500 |
} elseif ( wp_verify_nonce( sanitize_key( $post_data['_wpnonce'] ), 'dokan_store_settings_nonce' ) ) {
|
501 |
|
502 |
$default_locations = dokan_get_option( 'location', 'dokan_geolocation' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
503 |
$find_address = ! empty( $post_data['find_address'] ) ? sanitize_text_field( $post_data['find_address'] ) : $default_locations['address'];
|
504 |
$default_location = $default_locations['latitude'] . ',' . $default_locations['longitude'];
|
505 |
$location = ! empty( $post_data['find_address'] ) ? sanitize_text_field( $post_data['location'] ) : $default_location;
|
500 |
} elseif ( wp_verify_nonce( sanitize_key( $post_data['_wpnonce'] ), 'dokan_store_settings_nonce' ) ) {
|
501 |
|
502 |
$default_locations = dokan_get_option( 'location', 'dokan_geolocation' );
|
503 |
+
|
504 |
+
if ( ! is_array( $default_locations ) || empty( $default_locations ) ) {
|
505 |
+
$default_locations = array(
|
506 |
+
'latitude' => '',
|
507 |
+
'longitude' => '',
|
508 |
+
'address' => '',
|
509 |
+
);
|
510 |
+
}
|
511 |
+
|
512 |
$find_address = ! empty( $post_data['find_address'] ) ? sanitize_text_field( $post_data['find_address'] ) : $default_locations['address'];
|
513 |
$default_location = $default_locations['latitude'] . ',' . $default_locations['longitude'];
|
514 |
$location = ! empty( $post_data['find_address'] ) ? sanitize_text_field( $post_data['location'] ) : $default_location;
|
includes/Dashboard/Templates/Withdraw.php
CHANGED
@@ -314,7 +314,7 @@ class Withdraw {
|
|
314 |
public function show_seller_balance() {
|
315 |
$balance = dokan_get_seller_balance( dokan_get_current_user_id(), true );
|
316 |
$withdraw_limit = dokan_get_option( 'withdraw_limit', 'dokan_withdraw', -1 );
|
317 |
-
$threshold =
|
318 |
|
319 |
$message = sprintf( __( 'Current Balance: %s ', 'dokan-lite' ), $balance );
|
320 |
|
314 |
public function show_seller_balance() {
|
315 |
$balance = dokan_get_seller_balance( dokan_get_current_user_id(), true );
|
316 |
$withdraw_limit = dokan_get_option( 'withdraw_limit', 'dokan_withdraw', -1 );
|
317 |
+
$threshold = dokan_get_withdraw_threshold( dokan_get_current_user_id() );
|
318 |
|
319 |
$message = sprintf( __( 'Current Balance: %s ', 'dokan-lite' ), $balance );
|
320 |
|
includes/Emails/Manager.php
CHANGED
@@ -90,6 +90,7 @@ class Manager {
|
|
90 |
$wc_emails['Dokan_Email_Withdraw_Cancelled'] = new WithdrawCancelled();
|
91 |
$wc_emails['Dokan_Email_Contact_Seller'] = new ContactSeller();
|
92 |
$wc_emails['Dokan_Email_New_Order'] = new VendorNewOrder();
|
|
|
93 |
|
94 |
return apply_filters( 'dokan_email_classes', $wc_emails );
|
95 |
}
|
@@ -123,7 +124,7 @@ class Manager {
|
|
123 |
|
124 |
$template_name = basename( $template );
|
125 |
|
126 |
-
if ( in_array( $template_name, $dokan_emails ) ) {
|
127 |
return 'dokan';
|
128 |
}
|
129 |
|
@@ -194,7 +195,7 @@ class Manager {
|
|
194 |
$this->get_from_name(),
|
195 |
home_url(),
|
196 |
);
|
197 |
-
|
198 |
$subject = sprintf( __( '"%1$s" sent you a message from your "%2$s" store', 'dokan-lite' ), $from_name, $this->get_from_name() );
|
199 |
$body = str_replace( $find, $replace, $body );
|
200 |
$headers = array( "Reply-To: {$from_name}<{$from_email}>" );
|
@@ -246,6 +247,7 @@ class Manager {
|
|
246 |
home_url(),
|
247 |
);
|
248 |
|
|
|
249 |
$subject = sprintf( __( '[%1$s] Refund Request %2$s', 'dokan-lite' ), $this->get_from_name(), $status );
|
250 |
$body = str_replace( $find, $replace, $body );
|
251 |
|
@@ -279,7 +281,7 @@ class Manager {
|
|
279 |
$this->get_from_name(),
|
280 |
home_url(),
|
281 |
);
|
282 |
-
|
283 |
$subject = sprintf( __( '[%s] New Refund Request', 'dokan-lite' ), $this->get_from_name() );
|
284 |
$body = str_replace( $find, $replace, $body );
|
285 |
$this->send( $this->admin_email(), $subject, $body );
|
@@ -336,7 +338,7 @@ class Manager {
|
|
336 |
ob_start();
|
337 |
dokan_get_template_part( 'emails/withdraw-new' );
|
338 |
$body = ob_get_clean();
|
339 |
-
|
340 |
$subject = sprintf( __( '[%s] New Withdraw Request', 'dokan-lite' ), $this->get_from_name() );
|
341 |
$body = $this->prepare_withdraw( $body, $user, $amount, $method );
|
342 |
|
@@ -359,6 +361,7 @@ class Manager {
|
|
359 |
$body = ob_get_clean();
|
360 |
|
361 |
$user = get_user_by( 'id', $user_id );
|
|
|
362 |
$subject = sprintf( __( '[%s] Your Withdraw Request has been approved', 'dokan-lite' ), $this->get_from_name() );
|
363 |
$body = $this->prepare_withdraw( $body, $user, $amount, $method );
|
364 |
|
@@ -382,6 +385,7 @@ class Manager {
|
|
382 |
$body = ob_get_clean();
|
383 |
|
384 |
$user = get_user_by( 'id', $user_id );
|
|
|
385 |
$subject = sprintf( __( '[%s] Your Withdraw Request has been cancelled', 'dokan-lite' ), $this->get_from_name() );
|
386 |
$body = $this->prepare_withdraw( $body, $user, $amount, $method, $note );
|
387 |
|
@@ -418,8 +422,9 @@ class Manager {
|
|
418 |
$this->get_from_name(),
|
419 |
home_url(),
|
420 |
);
|
421 |
-
|
422 |
$body = str_replace( $find, $replace, $body );
|
|
|
423 |
$subject = sprintf( __( '[%s] New Vendor Registered', 'dokan-lite' ), $this->get_from_name() );
|
424 |
|
425 |
$this->send( $this->admin_email(), $subject, $body );
|
@@ -437,7 +442,7 @@ class Manager {
|
|
437 |
public function new_product_added( $product_id, $status = 'pending' ) {
|
438 |
$template = 'emails/new-product-pending';
|
439 |
|
440 |
-
if (
|
441 |
$template = 'emails/new-product';
|
442 |
}
|
443 |
ob_start();
|
@@ -473,6 +478,7 @@ class Manager {
|
|
473 |
);
|
474 |
|
475 |
$body = str_replace( $find, $replace, $body );
|
|
|
476 |
$subject = sprintf( __( '[%s] New Product Added', 'dokan-lite' ), $this->get_from_name() );
|
477 |
|
478 |
$this->send( $this->admin_email(), $subject, $body );
|
@@ -513,6 +519,7 @@ class Manager {
|
|
513 |
);
|
514 |
|
515 |
$body = str_replace( $find, $replace, $body );
|
|
|
516 |
$subject = sprintf( __( '[%s] Your product has been approved!', 'dokan-lite' ), $this->get_from_name() );
|
517 |
|
518 |
$this->send( $seller->user_email, $subject, $body );
|
90 |
$wc_emails['Dokan_Email_Withdraw_Cancelled'] = new WithdrawCancelled();
|
91 |
$wc_emails['Dokan_Email_Contact_Seller'] = new ContactSeller();
|
92 |
$wc_emails['Dokan_Email_New_Order'] = new VendorNewOrder();
|
93 |
+
$wc_emails['Dokan_Email_Completed_Order'] = new VendorCompletedOrder();
|
94 |
|
95 |
return apply_filters( 'dokan_email_classes', $wc_emails );
|
96 |
}
|
124 |
|
125 |
$template_name = basename( $template );
|
126 |
|
127 |
+
if ( in_array( $template_name, $dokan_emails, true ) ) {
|
128 |
return 'dokan';
|
129 |
}
|
130 |
|
195 |
$this->get_from_name(),
|
196 |
home_url(),
|
197 |
);
|
198 |
+
// translators: %1: from name, %2: from name
|
199 |
$subject = sprintf( __( '"%1$s" sent you a message from your "%2$s" store', 'dokan-lite' ), $from_name, $this->get_from_name() );
|
200 |
$body = str_replace( $find, $replace, $body );
|
201 |
$headers = array( "Reply-To: {$from_name}<{$from_email}>" );
|
247 |
home_url(),
|
248 |
);
|
249 |
|
250 |
+
// translators: %1: from name, %2: status
|
251 |
$subject = sprintf( __( '[%1$s] Refund Request %2$s', 'dokan-lite' ), $this->get_from_name(), $status );
|
252 |
$body = str_replace( $find, $replace, $body );
|
253 |
|
281 |
$this->get_from_name(),
|
282 |
home_url(),
|
283 |
);
|
284 |
+
// translators: %s: from name
|
285 |
$subject = sprintf( __( '[%s] New Refund Request', 'dokan-lite' ), $this->get_from_name() );
|
286 |
$body = str_replace( $find, $replace, $body );
|
287 |
$this->send( $this->admin_email(), $subject, $body );
|
338 |
ob_start();
|
339 |
dokan_get_template_part( 'emails/withdraw-new' );
|
340 |
$body = ob_get_clean();
|
341 |
+
// translators: %s: from name
|
342 |
$subject = sprintf( __( '[%s] New Withdraw Request', 'dokan-lite' ), $this->get_from_name() );
|
343 |
$body = $this->prepare_withdraw( $body, $user, $amount, $method );
|
344 |
|
361 |
$body = ob_get_clean();
|
362 |
|
363 |
$user = get_user_by( 'id', $user_id );
|
364 |
+
// translators: %s: from name
|
365 |
$subject = sprintf( __( '[%s] Your Withdraw Request has been approved', 'dokan-lite' ), $this->get_from_name() );
|
366 |
$body = $this->prepare_withdraw( $body, $user, $amount, $method );
|
367 |
|
385 |
$body = ob_get_clean();
|
386 |
|
387 |
$user = get_user_by( 'id', $user_id );
|
388 |
+
// translators: %s: from name
|
389 |
$subject = sprintf( __( '[%s] Your Withdraw Request has been cancelled', 'dokan-lite' ), $this->get_from_name() );
|
390 |
$body = $this->prepare_withdraw( $body, $user, $amount, $method, $note );
|
391 |
|
422 |
$this->get_from_name(),
|
423 |
home_url(),
|
424 |
);
|
425 |
+
// translators: %s: from name
|
426 |
$body = str_replace( $find, $replace, $body );
|
427 |
+
// translators: %s: from name
|
428 |
$subject = sprintf( __( '[%s] New Vendor Registered', 'dokan-lite' ), $this->get_from_name() );
|
429 |
|
430 |
$this->send( $this->admin_email(), $subject, $body );
|
442 |
public function new_product_added( $product_id, $status = 'pending' ) {
|
443 |
$template = 'emails/new-product-pending';
|
444 |
|
445 |
+
if ( 'publish' === $status ) {
|
446 |
$template = 'emails/new-product';
|
447 |
}
|
448 |
ob_start();
|
478 |
);
|
479 |
|
480 |
$body = str_replace( $find, $replace, $body );
|
481 |
+
// translators: %s: from name
|
482 |
$subject = sprintf( __( '[%s] New Product Added', 'dokan-lite' ), $this->get_from_name() );
|
483 |
|
484 |
$this->send( $this->admin_email(), $subject, $body );
|
519 |
);
|
520 |
|
521 |
$body = str_replace( $find, $replace, $body );
|
522 |
+
// translators: %s: from name
|
523 |
$subject = sprintf( __( '[%s] Your product has been approved!', 'dokan-lite' ), $this->get_from_name() );
|
524 |
|
525 |
$this->send( $seller->user_email, $subject, $body );
|
includes/Emails/VendorCompletedOrder.php
ADDED
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
namespace WeDevs\Dokan\Emails;
|
4 |
+
|
5 |
+
use WC_Email;
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Completed Order Email.
|
9 |
+
*
|
10 |
+
* An email sent to the admin when a order is completed for.
|
11 |
+
*
|
12 |
+
* @class VendorCompletedOrder
|
13 |
+
* @version DOKAN_LITE_SINCE
|
14 |
+
* @package Dokan/Classes/Emails
|
15 |
+
* @author weDevs
|
16 |
+
* @extends WC_Email
|
17 |
+
*/
|
18 |
+
class VendorCompletedOrder extends WC_Email {
|
19 |
+
|
20 |
+
/**
|
21 |
+
* Constructor.
|
22 |
+
*/
|
23 |
+
public function __construct() {
|
24 |
+
$this->id = 'dokan_vendor_completed_order';
|
25 |
+
$this->title = __( 'Dokan Vendor Completed Order', 'dokan-lite' );
|
26 |
+
$this->description = __( 'Completed order emails are sent to chosen recipient(s) when a order is completed.', 'dokan-lite' );
|
27 |
+
$this->template_html = 'emails/vendor-completed-order.php';
|
28 |
+
$this->template_plain = 'emails/plain/vendor-completed-order.php';
|
29 |
+
$this->template_base = DOKAN_DIR . '/templates/';
|
30 |
+
$this->placeholders = array(
|
31 |
+
'{site_title}' => $this->get_blogname(),
|
32 |
+
'{order_date}' => '',
|
33 |
+
'{order_number}' => '',
|
34 |
+
);
|
35 |
+
|
36 |
+
// Triggers for this email.
|
37 |
+
add_action( 'woocommerce_order_status_completed_notification', array( $this, 'trigger' ), 10, 2 );
|
38 |
+
//Prevent admin email for sub-order
|
39 |
+
add_filter( 'woocommerce_email_enabled_new_order', [ $this, 'prevent_sub_order_admin_email' ], 10, 2 );
|
40 |
+
// Call parent constructor.
|
41 |
+
parent::__construct();
|
42 |
+
|
43 |
+
// Other settings.
|
44 |
+
$this->recipient = 'vendor@ofthe.product';
|
45 |
+
}
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Get email subject.
|
49 |
+
*
|
50 |
+
* @since DOKAN_LITE_SINCE
|
51 |
+
* @return string
|
52 |
+
*/
|
53 |
+
public function get_default_subject() {
|
54 |
+
return __( '[{site_title}] Your customer order is now complete ({order_number}) - {order_date}', 'dokan-lite' );
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Get email heading.
|
59 |
+
*
|
60 |
+
* @since DOKAN_LITE_SINCE
|
61 |
+
* @return string
|
62 |
+
*/
|
63 |
+
public function get_default_heading() {
|
64 |
+
return __( 'Complete Customer Order: #{order_number}', 'dokan-lite' );
|
65 |
+
}
|
66 |
+
|
67 |
+
/**
|
68 |
+
* Trigger the sending of this email.
|
69 |
+
*
|
70 |
+
* @param int $order_id The Order ID.
|
71 |
+
* @param array $order.
|
72 |
+
*/
|
73 |
+
public function trigger( $order_id, $order = false ) {
|
74 |
+
if ( ! $this->is_enabled() ) {
|
75 |
+
return;
|
76 |
+
}
|
77 |
+
|
78 |
+
$this->setup_locale();
|
79 |
+
if ( $order_id && ! is_a( $order, 'WC_Order' ) ) {
|
80 |
+
$order = wc_get_order( $order_id );
|
81 |
+
}
|
82 |
+
|
83 |
+
if ( is_a( $order, 'WC_Order' ) ) {
|
84 |
+
$this->object = $order;
|
85 |
+
$this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
|
86 |
+
$this->placeholders['{order_number}'] = $this->object->get_order_number();
|
87 |
+
}
|
88 |
+
|
89 |
+
$sellers = dokan_get_seller_id_by_order( $order_id );
|
90 |
+
if ( empty( $sellers ) ) {
|
91 |
+
return;
|
92 |
+
}
|
93 |
+
|
94 |
+
// check has sub order
|
95 |
+
if ( $order->get_meta( 'has_sub_order' ) ) {
|
96 |
+
foreach ( $sellers as $seller ) {
|
97 |
+
$seller_info = get_userdata( $seller );
|
98 |
+
$seller_email = $seller_info->user_email;
|
99 |
+
$this->order_info = dokan_get_vendor_order_details( $order_id, $seller );
|
100 |
+
$this->send( $seller_email, $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
|
101 |
+
}
|
102 |
+
} else {
|
103 |
+
$seller_info = get_userdata( $sellers );
|
104 |
+
$seller_email = $seller_info->user_email;
|
105 |
+
$this->order_info = dokan_get_vendor_order_details( $order_id, $sellers );
|
106 |
+
$this->send( $seller_email, $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
|
107 |
+
}
|
108 |
+
$this->restore_locale();
|
109 |
+
}
|
110 |
+
|
111 |
+
/**
|
112 |
+
* Get content html.
|
113 |
+
*
|
114 |
+
* @access public
|
115 |
+
* @return string
|
116 |
+
*/
|
117 |
+
public function get_content_html() {
|
118 |
+
return wc_get_template_html(
|
119 |
+
$this->template_html, array(
|
120 |
+
'order' => $this->object,
|
121 |
+
'email_heading' => $this->get_heading(),
|
122 |
+
'sent_to_admin' => true,
|
123 |
+
'plain_text' => false,
|
124 |
+
'email' => $this,
|
125 |
+
'order_info' => $this->order_info,
|
126 |
+
), 'dokan', $this->template_base
|
127 |
+
);
|
128 |
+
}
|
129 |
+
|
130 |
+
/**
|
131 |
+
* Get content plain.
|
132 |
+
*
|
133 |
+
* @access public
|
134 |
+
* @return string
|
135 |
+
*/
|
136 |
+
public function get_content_plain() {
|
137 |
+
return wc_get_template_html(
|
138 |
+
$this->template_plain, array(
|
139 |
+
'order' => $this->object,
|
140 |
+
'email_heading' => $this->get_heading(),
|
141 |
+
'sent_to_admin' => true,
|
142 |
+
'plain_text' => true,
|
143 |
+
'email' => $this,
|
144 |
+
'order_info' => $this->order_info,
|
145 |
+
), 'dokan/', $this->template_base
|
146 |
+
);
|
147 |
+
}
|
148 |
+
|
149 |
+
/**
|
150 |
+
* Initialise settings form fields.
|
151 |
+
*/
|
152 |
+
public function init_form_fields() {
|
153 |
+
$this->form_fields = array(
|
154 |
+
'enabled' => array(
|
155 |
+
'title' => __( 'Enable/Disable', 'dokan-lite' ),
|
156 |
+
'type' => 'checkbox',
|
157 |
+
'label' => __( 'Enable this email notification', 'dokan-lite' ),
|
158 |
+
'default' => 'yes',
|
159 |
+
),
|
160 |
+
'subject' => array(
|
161 |
+
'title' => __( 'Subject', 'dokan-lite' ),
|
162 |
+
'type' => 'text',
|
163 |
+
'desc_tip' => true,
|
164 |
+
/* translators: %s: list of placeholders */
|
165 |
+
'description' => sprintf( __( 'Available placeholders: %s', 'dokan-lite' ), '<code>{site_title}, {order_date}, {order_number}</code>' ),
|
166 |
+
'placeholder' => $this->get_default_subject(),
|
167 |
+
'default' => '',
|
168 |
+
),
|
169 |
+
'heading' => array(
|
170 |
+
'title' => __( 'Email heading', 'dokan-lite' ),
|
171 |
+
'type' => 'text',
|
172 |
+
'desc_tip' => true,
|
173 |
+
/* translators: %s: list of placeholders */
|
174 |
+
'description' => sprintf( __( 'Available placeholders: %s', 'dokan-lite' ), '<code>{site_title}, {order_date}, {order_number}</code>' ),
|
175 |
+
'placeholder' => $this->get_default_heading(),
|
176 |
+
'default' => '',
|
177 |
+
),
|
178 |
+
'email_type' => array(
|
179 |
+
'title' => __( 'Email type', 'dokan-lite' ),
|
180 |
+
'type' => 'select',
|
181 |
+
'description' => __( 'Choose which format of email to send.', 'dokan-lite' ),
|
182 |
+
'default' => 'html',
|
183 |
+
'class' => 'email_type wc-enhanced-select',
|
184 |
+
'options' => $this->get_email_type_options(),
|
185 |
+
'desc_tip' => true,
|
186 |
+
),
|
187 |
+
);
|
188 |
+
}
|
189 |
+
|
190 |
+
/**
|
191 |
+
* Prevent sub-order email for admin
|
192 |
+
*
|
193 |
+
* @param $bool
|
194 |
+
* @param $order
|
195 |
+
*
|
196 |
+
* @return bool
|
197 |
+
*/
|
198 |
+
public function prevent_sub_order_admin_email( $bool, $order ) {
|
199 |
+
if ( ! $order ) {
|
200 |
+
return $bool;
|
201 |
+
}
|
202 |
+
|
203 |
+
if ( $order->get_parent_id() ) {
|
204 |
+
return false;
|
205 |
+
}
|
206 |
+
|
207 |
+
return true;
|
208 |
+
}
|
209 |
+
}
|
includes/Order/Manager.php
CHANGED
@@ -157,6 +157,8 @@ class Manager {
|
|
157 |
$order->set_payment_method_title( $parent_order->get_payment_method_title() );
|
158 |
$order->update_meta_data( '_dokan_vendor_id', $seller_id );
|
159 |
|
|
|
|
|
160 |
// finally, let the order re-calculate itself and save
|
161 |
$order->calculate_totals();
|
162 |
|
157 |
$order->set_payment_method_title( $parent_order->get_payment_method_title() );
|
158 |
$order->update_meta_data( '_dokan_vendor_id', $seller_id );
|
159 |
|
160 |
+
do_action( 'dokan_create_sub_order_before_calculate_totals', $order, $parent_order, $seller_products );
|
161 |
+
|
162 |
// finally, let the order re-calculate itself and save
|
163 |
$order->calculate_totals();
|
164 |
|
includes/Order/functions.php
CHANGED
@@ -70,7 +70,7 @@ function dokan_get_seller_orders( $seller_id, $status = 'all', $order_date = nul
|
|
70 |
$where = $customer_id ? sprintf( "pm.meta_key = '_customer_user' AND pm.meta_value = %d AND", $customer_id ) : '';
|
71 |
|
72 |
if ( $orders === false ) {
|
73 |
-
$status_where = ( $status === 'all' ) ? '' : $wpdb->prepare( ' AND order_status = %s',
|
74 |
$date_query = ( $order_date ) ? $wpdb->prepare( ' AND DATE( p.post_date ) = %s', $order_date ) : '';
|
75 |
|
76 |
$orders = $wpdb->get_results(
|
@@ -269,6 +269,8 @@ function dokan_count_orders( $user_id ) {
|
|
269 |
'total' => 0,
|
270 |
];
|
271 |
|
|
|
|
|
272 |
$results = $wpdb->get_results(
|
273 |
$wpdb->prepare(
|
274 |
"SELECT do.order_status
|
@@ -353,8 +355,7 @@ function dokan_sync_insert_order( $order_id ) {
|
|
353 |
$admin_commission = dokan()->commission->get_earning_by_order( $order, 'admin' );
|
354 |
$net_amount = $order_total - $admin_commission;
|
355 |
$net_amount = apply_filters( 'dokan_order_net_amount', $net_amount, $order );
|
356 |
-
$threshold_day =
|
357 |
-
$threshold_day = $threshold_day ? $threshold_day : 0;
|
358 |
|
359 |
dokan_delete_sync_duplicate_order( $order_id, $seller_id );
|
360 |
|
70 |
$where = $customer_id ? sprintf( "pm.meta_key = '_customer_user' AND pm.meta_value = %d AND", $customer_id ) : '';
|
71 |
|
72 |
if ( $orders === false ) {
|
73 |
+
$status_where = ( $status === 'all' ) ? '' : $wpdb->prepare( ' AND order_status = %s', $status );
|
74 |
$date_query = ( $order_date ) ? $wpdb->prepare( ' AND DATE( p.post_date ) = %s', $order_date ) : '';
|
75 |
|
76 |
$orders = $wpdb->get_results(
|
269 |
'total' => 0,
|
270 |
];
|
271 |
|
272 |
+
$counts = apply_filters( 'dokan_order_status_count', $counts );
|
273 |
+
|
274 |
$results = $wpdb->get_results(
|
275 |
$wpdb->prepare(
|
276 |
"SELECT do.order_status
|
355 |
$admin_commission = dokan()->commission->get_earning_by_order( $order, 'admin' );
|
356 |
$net_amount = $order_total - $admin_commission;
|
357 |
$net_amount = apply_filters( 'dokan_order_net_amount', $net_amount, $order );
|
358 |
+
$threshold_day = dokan_get_withdraw_threshold( $seller_id );
|
|
|
359 |
|
360 |
dokan_delete_sync_duplicate_order( $order_id, $seller_id );
|
361 |
|
includes/Privacy.php
CHANGED
@@ -199,7 +199,6 @@ class Privacy extends WC_Abstract_Privacy {
|
|
199 |
$social_data = [];
|
200 |
$social_field = [
|
201 |
'fb' => __( 'Facebook', 'dokan-lite' ),
|
202 |
-
'gplus' => __( 'Google', 'dokan-lite' ),
|
203 |
'twitter' => __( 'Twitter', 'dokan-lite' ),
|
204 |
'pinterest' => __( 'Pinterest', 'dokan-lite' ),
|
205 |
'linkedin' => __( 'Linkedin', 'dokan-lite' ),
|
199 |
$social_data = [];
|
200 |
$social_field = [
|
201 |
'fb' => __( 'Facebook', 'dokan-lite' ),
|
|
|
202 |
'twitter' => __( 'Twitter', 'dokan-lite' ),
|
203 |
'pinterest' => __( 'Pinterest', 'dokan-lite' ),
|
204 |
'linkedin' => __( 'Linkedin', 'dokan-lite' ),
|
includes/Product/Manager.php
CHANGED
@@ -26,7 +26,7 @@ class Manager {
|
|
26 |
'post_type' => 'product',
|
27 |
'post_status' => $post_statuses,
|
28 |
'posts_per_page' => -1,
|
29 |
-
'orderby' => 'post_date',
|
30 |
'order' => 'DESC',
|
31 |
'paged' => 1,
|
32 |
];
|
26 |
'post_type' => 'product',
|
27 |
'post_status' => $post_statuses,
|
28 |
'posts_per_page' => -1,
|
29 |
+
'orderby' => 'post_date ID',
|
30 |
'order' => 'DESC',
|
31 |
'paged' => 1,
|
32 |
];
|
includes/REST/ProductController.php
CHANGED
@@ -321,7 +321,7 @@ class ProductController extends DokanRESTController {
|
|
321 |
return new WP_Error( "dokan_rest_{$this->post_type}_invalid_id", __( 'Invalid ID.', 'dokan-lite' ), [ 'status' => 400 ] );
|
322 |
}
|
323 |
|
324 |
-
$product_author = get_post_field( 'post_author', $object->get_id() );
|
325 |
|
326 |
if ( $store_id !== $product_author ) {
|
327 |
return new WP_Error( "dokan_rest_{$this->post_type}_invalid_id", __( 'Sorry, you have no permission to do this. Since it\'s not your product.', 'dokan-lite' ), [ 'status' => 400 ] );
|
@@ -346,7 +346,7 @@ class ProductController extends DokanRESTController {
|
|
346 |
return new WP_Error( "dokan_rest_{$this->post_type}_invalid_id", __( 'Invalid ID.', 'dokan-lite' ), [ 'status' => 404 ] );
|
347 |
}
|
348 |
|
349 |
-
$product_author = get_post_field( 'post_author', $object->get_id() );
|
350 |
|
351 |
if ( $store_id !== $product_author ) {
|
352 |
return new WP_Error( "dokan_rest_{$this->post_type}_invalid_id", __( 'Sorry, you have no permission to do this. Since it\'s not your product.', 'dokan-lite' ), [ 'status' => 400 ] );
|
321 |
return new WP_Error( "dokan_rest_{$this->post_type}_invalid_id", __( 'Invalid ID.', 'dokan-lite' ), [ 'status' => 400 ] );
|
322 |
}
|
323 |
|
324 |
+
$product_author = (int) get_post_field( 'post_author', $object->get_id() );
|
325 |
|
326 |
if ( $store_id !== $product_author ) {
|
327 |
return new WP_Error( "dokan_rest_{$this->post_type}_invalid_id", __( 'Sorry, you have no permission to do this. Since it\'s not your product.', 'dokan-lite' ), [ 'status' => 400 ] );
|
346 |
return new WP_Error( "dokan_rest_{$this->post_type}_invalid_id", __( 'Invalid ID.', 'dokan-lite' ), [ 'status' => 404 ] );
|
347 |
}
|
348 |
|
349 |
+
$product_author = (int) get_post_field( 'post_author', $object->get_id() );
|
350 |
|
351 |
if ( $store_id !== $product_author ) {
|
352 |
return new WP_Error( "dokan_rest_{$this->post_type}_invalid_id", __( 'Sorry, you have no permission to do this. Since it\'s not your product.', 'dokan-lite' ), [ 'status' => 400 ] );
|
includes/REST/WithdrawController.php
CHANGED
@@ -291,7 +291,7 @@ class WithdrawController extends WP_REST_Controller {
|
|
291 |
|
292 |
$data ['current_balance'] = dokan_get_seller_balance( dokan_get_current_user_id(), false );
|
293 |
$data['withdraw_limit'] = dokan_get_option( 'withdraw_limit', 'dokan_withdraw', - 1 );
|
294 |
-
$data['withdraw_threshold'] =
|
295 |
|
296 |
return rest_ensure_response( $data );
|
297 |
}
|
291 |
|
292 |
$data ['current_balance'] = dokan_get_seller_balance( dokan_get_current_user_id(), false );
|
293 |
$data['withdraw_limit'] = dokan_get_option( 'withdraw_limit', 'dokan_withdraw', - 1 );
|
294 |
+
$data['withdraw_threshold'] = dokan_get_withdraw_threshold( dokan_get_current_user_id() );
|
295 |
|
296 |
return rest_ensure_response( $data );
|
297 |
}
|
includes/Registration.php
CHANGED
@@ -150,8 +150,7 @@ class Registration {
|
|
150 |
'map_val' => 15,
|
151 |
'payment_method_val' => 15,
|
152 |
'social_val' => array(
|
153 |
-
'fb' =>
|
154 |
-
'gplus' => 2,
|
155 |
'twitter' => 2,
|
156 |
'youtube' => 2,
|
157 |
'linkedin' => 2,
|
150 |
'map_val' => 15,
|
151 |
'payment_method_val' => 15,
|
152 |
'social_val' => array(
|
153 |
+
'fb' => 4,
|
|
|
154 |
'twitter' => 2,
|
155 |
'youtube' => 2,
|
156 |
'linkedin' => 2,
|
includes/Rewrites.php
CHANGED
@@ -324,6 +324,9 @@ class Rewrites {
|
|
324 |
}
|
325 |
|
326 |
$query->set( 'tax_query', apply_filters( 'dokan_store_tax_query', $tax_query ) );
|
|
|
|
|
|
|
327 |
}
|
328 |
}
|
329 |
}
|
324 |
}
|
325 |
|
326 |
$query->set( 'tax_query', apply_filters( 'dokan_store_tax_query', $tax_query ) );
|
327 |
+
|
328 |
+
// set orderby param
|
329 |
+
$query->set( 'orderby', 'post_date ID' );
|
330 |
}
|
331 |
}
|
332 |
}
|
includes/Upgrade/Manager.php
CHANGED
@@ -60,7 +60,7 @@ class Manager {
|
|
60 |
|
61 |
uksort(
|
62 |
$upgrades, function ( $a, $b ) {
|
63 |
-
return version_compare( $
|
64 |
}
|
65 |
);
|
66 |
|
60 |
|
61 |
uksort(
|
62 |
$upgrades, function ( $a, $b ) {
|
63 |
+
return version_compare( $a, $b );
|
64 |
}
|
65 |
);
|
66 |
|
includes/Vendor/Vendor.php
CHANGED
@@ -632,7 +632,7 @@ class Vendor {
|
|
632 |
$cache_group = 'dokan_seller_data_'.$this->id;
|
633 |
$cache_key = $on_date ? "dokan_seller_balance_on_{$on_date}_$this->id" : 'dokan_seller_balance_' . $this->id;
|
634 |
$earning = wp_cache_get( $cache_key, $cache_group );
|
635 |
-
$threshold_day =
|
636 |
$on_date = $on_date ? date( 'Y-m-d', strtotime( $on_date ) ) : current_time( 'mysql' );
|
637 |
$date = date( 'Y-m-d', strtotime( $on_date . ' -'.$threshold_day.' days' ) );
|
638 |
|
@@ -662,9 +662,9 @@ class Vendor {
|
|
662 |
|
663 |
if ( $formatted ) {
|
664 |
$decimal = ( 0 === wc_get_price_decimals() ) ? 2 : wc_get_price_decimals();
|
665 |
-
return apply_filters(
|
666 |
-
'dokan_get_formatted_seller_balance',
|
667 |
-
wc_price( $earning, [ 'decimals' => $decimal ]
|
668 |
), $this->id );
|
669 |
}
|
670 |
|
@@ -1216,7 +1216,7 @@ class Vendor {
|
|
1216 |
* @param string $social Name of social settings to set, fb, twitter
|
1217 |
* @param string $value
|
1218 |
*/
|
1219 |
-
protected function set_social_prop( $prop, $social = 'social', $value ) {
|
1220 |
if ( ! $this->shop_data ) {
|
1221 |
$this->popluate_store_data();
|
1222 |
}
|
@@ -1237,7 +1237,7 @@ class Vendor {
|
|
1237 |
* @param string $address
|
1238 |
* @param string value
|
1239 |
*/
|
1240 |
-
protected function set_address_prop( $prop, $address = 'address', $value ) {
|
1241 |
$this->set_social_prop( $prop, $address, $value );
|
1242 |
}
|
1243 |
|
@@ -1248,7 +1248,7 @@ class Vendor {
|
|
1248 |
* @param string $paypal
|
1249 |
* @param mix value
|
1250 |
*/
|
1251 |
-
protected function set_payment_prop( $prop, $paypal = 'paypal', $value ) {
|
1252 |
if ( ! $this->shop_data ) {
|
1253 |
$this->popluate_store_data();
|
1254 |
}
|
632 |
$cache_group = 'dokan_seller_data_'.$this->id;
|
633 |
$cache_key = $on_date ? "dokan_seller_balance_on_{$on_date}_$this->id" : 'dokan_seller_balance_' . $this->id;
|
634 |
$earning = wp_cache_get( $cache_key, $cache_group );
|
635 |
+
$threshold_day = dokan_get_withdraw_threshold( dokan_get_current_user_id() );
|
636 |
$on_date = $on_date ? date( 'Y-m-d', strtotime( $on_date ) ) : current_time( 'mysql' );
|
637 |
$date = date( 'Y-m-d', strtotime( $on_date . ' -'.$threshold_day.' days' ) );
|
638 |
|
662 |
|
663 |
if ( $formatted ) {
|
664 |
$decimal = ( 0 === wc_get_price_decimals() ) ? 2 : wc_get_price_decimals();
|
665 |
+
return apply_filters(
|
666 |
+
'dokan_get_formatted_seller_balance',
|
667 |
+
wc_price( $earning, [ 'decimals' => $decimal ]
|
668 |
), $this->id );
|
669 |
}
|
670 |
|
1216 |
* @param string $social Name of social settings to set, fb, twitter
|
1217 |
* @param string $value
|
1218 |
*/
|
1219 |
+
protected function set_social_prop( $prop, $social = 'social', $value = '' ) {
|
1220 |
if ( ! $this->shop_data ) {
|
1221 |
$this->popluate_store_data();
|
1222 |
}
|
1237 |
* @param string $address
|
1238 |
* @param string value
|
1239 |
*/
|
1240 |
+
protected function set_address_prop( $prop, $address = 'address', $value = '' ) {
|
1241 |
$this->set_social_prop( $prop, $address, $value );
|
1242 |
}
|
1243 |
|
1248 |
* @param string $paypal
|
1249 |
* @param mix value
|
1250 |
*/
|
1251 |
+
protected function set_payment_prop( $prop, $paypal = 'paypal', $value = '' ) {
|
1252 |
if ( ! $this->shop_data ) {
|
1253 |
$this->popluate_store_data();
|
1254 |
}
|
includes/functions.php
CHANGED
@@ -983,17 +983,15 @@ function dokan_edit_product_url( $product ) {
|
|
983 |
return false;
|
984 |
}
|
985 |
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
);
|
996 |
-
}
|
997 |
|
998 |
return apply_filters( 'dokan_get_edit_product_url', $url, $product );
|
999 |
}
|
@@ -2322,10 +2320,6 @@ function dokan_get_social_profile_fields() {
|
|
2322 |
'icon' => 'facebook-square',
|
2323 |
'title' => __( 'Facebook', 'dokan-lite' ),
|
2324 |
],
|
2325 |
-
'gplus' => [
|
2326 |
-
'icon' => 'google',
|
2327 |
-
'title' => __( 'Google', 'dokan-lite' ),
|
2328 |
-
],
|
2329 |
'twitter' => [
|
2330 |
'icon' => 'twitter-square',
|
2331 |
'title' => __( 'Twitter', 'dokan-lite' ),
|
@@ -3171,6 +3165,7 @@ function dokan_get_translated_days( $day ) {
|
|
3171 |
* @param int user_id
|
3172 |
*
|
3173 |
* @since 2.8.2
|
|
|
3174 |
*
|
3175 |
* @return bool
|
3176 |
*/
|
@@ -3178,7 +3173,9 @@ function dokan_is_store_open( $user_id ) {
|
|
3178 |
$store_user = dokan()->vendor->get( $user_id );
|
3179 |
$store_info = $store_user->get_shop_info();
|
3180 |
$open_days = isset( $store_info['dokan_store_time'] ) ? $store_info['dokan_store_time'] : '';
|
3181 |
-
|
|
|
|
|
3182 |
|
3183 |
if ( ! isset( $open_days[ $today ] ) ) {
|
3184 |
return false;
|
@@ -3192,9 +3189,8 @@ function dokan_is_store_open( $user_id ) {
|
|
3192 |
return true;
|
3193 |
}
|
3194 |
|
3195 |
-
$
|
3196 |
-
$
|
3197 |
-
$close = strtotime( $schedule['closing_time'] );
|
3198 |
|
3199 |
if ( $open <= $current_time && $close >= $current_time ) {
|
3200 |
return true;
|
@@ -3992,3 +3988,22 @@ function dokan_format_date( $date = '', $format = false ) {
|
|
3992 |
|
3993 |
return date_i18n( $format, $date );
|
3994 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
983 |
return false;
|
984 |
}
|
985 |
|
986 |
+
|
987 |
+
$url = add_query_arg(
|
988 |
+
[
|
989 |
+
'product_id' => $product->get_id(),
|
990 |
+
'action' => 'edit',
|
991 |
+
],
|
992 |
+
dokan_get_navigation_url( 'products' )
|
993 |
+
);
|
994 |
+
|
|
|
|
|
995 |
|
996 |
return apply_filters( 'dokan_get_edit_product_url', $url, $product );
|
997 |
}
|
2320 |
'icon' => 'facebook-square',
|
2321 |
'title' => __( 'Facebook', 'dokan-lite' ),
|
2322 |
],
|
|
|
|
|
|
|
|
|
2323 |
'twitter' => [
|
2324 |
'icon' => 'twitter-square',
|
2325 |
'title' => __( 'Twitter', 'dokan-lite' ),
|
3165 |
* @param int user_id
|
3166 |
*
|
3167 |
* @since 2.8.2
|
3168 |
+
* @since 3.2.1 replaced time related functions with dokan_current_datetime()
|
3169 |
*
|
3170 |
* @return bool
|
3171 |
*/
|
3173 |
$store_user = dokan()->vendor->get( $user_id );
|
3174 |
$store_info = $store_user->get_shop_info();
|
3175 |
$open_days = isset( $store_info['dokan_store_time'] ) ? $store_info['dokan_store_time'] : '';
|
3176 |
+
|
3177 |
+
$current_time = dokan_current_datetime();
|
3178 |
+
$today = strtolower( $current_time->format( 'l' ) );
|
3179 |
|
3180 |
if ( ! isset( $open_days[ $today ] ) ) {
|
3181 |
return false;
|
3189 |
return true;
|
3190 |
}
|
3191 |
|
3192 |
+
$open = $current_time->modify( $schedule['opening_time'] );
|
3193 |
+
$close = $current_time->modify( $schedule['closing_time'] );
|
|
|
3194 |
|
3195 |
if ( $open <= $current_time && $close >= $current_time ) {
|
3196 |
return true;
|
3988 |
|
3989 |
return date_i18n( $format, $date );
|
3990 |
}
|
3991 |
+
|
3992 |
+
/**
|
3993 |
+
* Get threshold day for a user
|
3994 |
+
*
|
3995 |
+
* @param $user_id
|
3996 |
+
*
|
3997 |
+
* @since DOKAN_LITE_SINCE
|
3998 |
+
*
|
3999 |
+
* @return integer threshold day
|
4000 |
+
*/
|
4001 |
+
function dokan_get_withdraw_threshold( $user_id ) {
|
4002 |
+
if ( get_user_meta( $user_id, 'withdraw_date_limit', true ) !== '' ) {
|
4003 |
+
$threshold_day = get_user_meta( $user_id, 'withdraw_date_limit', true );
|
4004 |
+
} else {
|
4005 |
+
$threshold_day = dokan_get_option( 'withdraw_date_limit', 'dokan_withdraw', 0 );
|
4006 |
+
}
|
4007 |
+
|
4008 |
+
return ( $threshold_day ) ? absint( $threshold_day ) : 0;
|
4009 |
+
}
|
includes/reports.php
CHANGED
@@ -15,7 +15,7 @@ if ( ! function_exists( 'dokan_get_order_report_data' ) ) :
|
|
15 |
* @param string $end_date
|
16 |
* @return obj
|
17 |
*/
|
18 |
-
function dokan_get_order_report_data( $args
|
19 |
global $wpdb;
|
20 |
|
21 |
$current_user = dokan_get_current_user_id();
|
@@ -114,7 +114,7 @@ if ( ! function_exists( 'dokan_get_order_report_data' ) ) :
|
|
114 |
AND do.order_status IN ('" . implode( "','", apply_filters( 'woocommerce_reports_order_statuses', array( 'wc-completed', 'wc-processing', 'wc-on-hold' ) ) ) . "')
|
115 |
";
|
116 |
|
117 |
-
if ( $filter_range ) {
|
118 |
$query['where'] .= "
|
119 |
AND DATE(post_date) >= '" . $start_date . "'
|
120 |
AND DATE(post_date) <= '" . $end_date . "'
|
15 |
* @param string $end_date
|
16 |
* @return obj
|
17 |
*/
|
18 |
+
function dokan_get_order_report_data( $args, $start_date, $end_date ) {
|
19 |
global $wpdb;
|
20 |
|
21 |
$current_user = dokan_get_current_user_id();
|
114 |
AND do.order_status IN ('" . implode( "','", apply_filters( 'woocommerce_reports_order_statuses', array( 'wc-completed', 'wc-processing', 'wc-on-hold' ) ) ) . "')
|
115 |
";
|
116 |
|
117 |
+
if ( $filter_range && ! empty( $start_date ) && ! empty( $end_date ) ) {
|
118 |
$query['where'] .= "
|
119 |
AND DATE(post_date) >= '" . $start_date . "'
|
120 |
AND DATE(post_date) <= '" . $end_date . "'
|
includes/template-tags.php
CHANGED
@@ -67,7 +67,11 @@ endif;
|
|
67 |
|
68 |
if ( ! function_exists( 'dokan_page_navi' ) ) :
|
69 |
|
70 |
-
function dokan_page_navi( $before
|
|
|
|
|
|
|
|
|
71 |
$posts_per_page = intval( get_query_var( 'posts_per_page' ) );
|
72 |
$paged = intval( get_query_var( 'paged' ) );
|
73 |
$numposts = $wp_query->found_posts;
|
67 |
|
68 |
if ( ! function_exists( 'dokan_page_navi' ) ) :
|
69 |
|
70 |
+
function dokan_page_navi( $before, $after, $wp_query ) {
|
71 |
+
if ( ! ( $wp_query instanceof WP_Query ) ) {
|
72 |
+
return;
|
73 |
+
}
|
74 |
+
|
75 |
$posts_per_page = intval( get_query_var( 'posts_per_page' ) );
|
76 |
$paged = intval( get_query_var( 'paged' ) );
|
77 |
$numposts = $wp_query->found_posts;
|
includes/wc-functions.php
CHANGED
@@ -74,6 +74,11 @@ function dokan_process_product_meta( $post_id, $data = [] ) {
|
|
74 |
}
|
75 |
|
76 |
if ( isset( $data['_sale_price'] ) ) {
|
|
|
|
|
|
|
|
|
|
|
77 |
update_post_meta( $post_id, '_sale_price', ( $data['_sale_price'] === '' ? '' : wc_format_decimal( $data['_sale_price'] ) ) );
|
78 |
}
|
79 |
|
@@ -90,26 +95,6 @@ function dokan_process_product_meta( $post_id, $data = [] ) {
|
|
90 |
update_post_meta( $post_id, '_purchase_note', wp_kses_post( $data['_purchase_note'] ) );
|
91 |
}
|
92 |
|
93 |
-
// Unique SKU
|
94 |
-
$sku = get_post_meta( $post_id, '_sku', true );
|
95 |
-
$new_sku = (string) wc_clean( $data['_sku'] );
|
96 |
-
|
97 |
-
if ( '' === $new_sku ) {
|
98 |
-
update_post_meta( $post_id, '_sku', '' );
|
99 |
-
} elseif ( $new_sku !== $sku ) {
|
100 |
-
if ( ! empty( $new_sku ) ) {
|
101 |
-
$unique_sku = wc_product_has_unique_sku( $post_id, $new_sku );
|
102 |
-
|
103 |
-
if ( ! $unique_sku ) {
|
104 |
-
$woocommerce_errors[] = __( 'Product SKU must be unique', 'dokan-lite' );
|
105 |
-
} else {
|
106 |
-
update_post_meta( $post_id, '_sku', $new_sku );
|
107 |
-
}
|
108 |
-
} else {
|
109 |
-
update_post_meta( $post_id, '_sku', '' );
|
110 |
-
}
|
111 |
-
}
|
112 |
-
|
113 |
// Save Attributes
|
114 |
$attributes = [];
|
115 |
|
@@ -394,6 +379,22 @@ function dokan_process_product_meta( $post_id, $data = [] ) {
|
|
394 |
}
|
395 |
}
|
396 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
397 |
// Do action for product type
|
398 |
do_action( 'woocommerce_process_product_meta_' . $product_type, $post_id );
|
399 |
do_action( 'dokan_process_product_meta', $post_id );
|
@@ -1034,6 +1035,8 @@ add_action( 'woocommerce_product_tabs', 'dokan_set_more_from_seller_tab', 10 );
|
|
1034 |
* @param int $posts_per_page
|
1035 |
*
|
1036 |
* @since 2.5
|
|
|
|
|
1037 |
* @global object $product
|
1038 |
* @global object $post
|
1039 |
*/
|
@@ -1044,8 +1047,8 @@ function dokan_get_more_products_from_seller( $seller_id = 0, $posts_per_page =
|
|
1044 |
$seller_id = $post->post_author;
|
1045 |
}
|
1046 |
|
1047 |
-
if ( !
|
1048 |
-
$posts_per_page =
|
1049 |
}
|
1050 |
|
1051 |
$args = [
|
@@ -1154,7 +1157,11 @@ add_action( 'save_post', 'dokan_store_category_delete_transient' );
|
|
1154 |
*
|
1155 |
* @return string $headers
|
1156 |
*/
|
1157 |
-
function dokan_add_reply_to_vendor_email_on_wc_customer_note_mail( $headers
|
|
|
|
|
|
|
|
|
1158 |
if ( 'customer_note' === $id ) {
|
1159 |
foreach ( $order->get_items( 'line_item' ) as $item ) {
|
1160 |
$product_id = $item['product_id'];
|
74 |
}
|
75 |
|
76 |
if ( isset( $data['_sale_price'] ) ) {
|
77 |
+
//if regular price is lower than sale price then we are setting it to empty
|
78 |
+
if ( $data['_regular_price'] <= $data['_sale_price'] ) {
|
79 |
+
$data['_sale_price'] = '';
|
80 |
+
}
|
81 |
+
|
82 |
update_post_meta( $post_id, '_sale_price', ( $data['_sale_price'] === '' ? '' : wc_format_decimal( $data['_sale_price'] ) ) );
|
83 |
}
|
84 |
|
95 |
update_post_meta( $post_id, '_purchase_note', wp_kses_post( $data['_purchase_note'] ) );
|
96 |
}
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
// Save Attributes
|
99 |
$attributes = [];
|
100 |
|
379 |
}
|
380 |
}
|
381 |
|
382 |
+
// Update SKU
|
383 |
+
$old_sku = get_post_meta( $post_id, '_sku', true );
|
384 |
+
delete_post_meta( $post_id, '_sku' );
|
385 |
+
|
386 |
+
$product = wc_get_product( $post_id );
|
387 |
+
|
388 |
+
$sku = trim( wp_unslash( $data['_sku'] ) ) !== '' ? sanitize_text_field( wp_unslash( $data['_sku'] ) ) : '';
|
389 |
+
try {
|
390 |
+
$product->set_sku( $sku );
|
391 |
+
} catch ( \WC_Data_Exception $e ) {
|
392 |
+
$product->set_sku( $old_sku );
|
393 |
+
$woocommerce_errors[] = __( 'Product SKU must be unique', 'dokan-lite' );
|
394 |
+
}
|
395 |
+
|
396 |
+
$product->save();
|
397 |
+
|
398 |
// Do action for product type
|
399 |
do_action( 'woocommerce_process_product_meta_' . $product_type, $post_id );
|
400 |
do_action( 'dokan_process_product_meta', $post_id );
|
1035 |
* @param int $posts_per_page
|
1036 |
*
|
1037 |
* @since 2.5
|
1038 |
+
* @since DOKAN_LITE_SINCE added filter 'dokan_get_more_products_per_page'
|
1039 |
+
*
|
1040 |
* @global object $product
|
1041 |
* @global object $post
|
1042 |
*/
|
1047 |
$seller_id = $post->post_author;
|
1048 |
}
|
1049 |
|
1050 |
+
if ( ! is_int( $posts_per_page ) ) {
|
1051 |
+
$posts_per_page = apply_filters( 'dokan_get_more_products_per_page', 6 );
|
1052 |
}
|
1053 |
|
1054 |
$args = [
|
1157 |
*
|
1158 |
* @return string $headers
|
1159 |
*/
|
1160 |
+
function dokan_add_reply_to_vendor_email_on_wc_customer_note_mail( $headers, $id, $order ) {
|
1161 |
+
if ( ! ( $order instanceof WC_Order ) ) {
|
1162 |
+
return $headers;
|
1163 |
+
}
|
1164 |
+
|
1165 |
if ( 'customer_note' === $id ) {
|
1166 |
foreach ( $order->get_items( 'line_item' ) as $item ) {
|
1167 |
$product_id = $item['product_id'];
|
languages/dokan-lite.php
CHANGED
@@ -250,7 +250,6 @@ return [
|
|
250 |
__( 'Facebook', 'dokan-lite' ),
|
251 |
__( 'https://example.com' ),
|
252 |
__( 'Flickr', 'dokan-lite' ),
|
253 |
-
__( 'Google Plus', 'dokan-lite' ),
|
254 |
__( 'Twitter', 'dokan-lite' ),
|
255 |
__( 'Youtube', 'dokan-lite' ),
|
256 |
__( 'Linkedin', 'dokan-lite' ),
|
250 |
__( 'Facebook', 'dokan-lite' ),
|
251 |
__( 'https://example.com' ),
|
252 |
__( 'Flickr', 'dokan-lite' ),
|
|
|
253 |
__( 'Twitter', 'dokan-lite' ),
|
254 |
__( 'Youtube', 'dokan-lite' ),
|
255 |
__( 'Linkedin', 'dokan-lite' ),
|
languages/dokan-lite.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the GPL2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Dokan 3.2.
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -52,7 +52,7 @@ msgstr ""
|
|
52 |
|
53 |
#: dokan.php:444 includes/Admin/AdminBar.php:81 includes/Admin/Menu.php:64
|
54 |
#: includes/Dashboard/Templates/Settings.php:59
|
55 |
-
#: includes/Dashboard/Templates/Settings.php:64 includes/template-tags.php:
|
56 |
#: src/admin/pages/Settings.vue:6
|
57 |
msgid "Settings"
|
58 |
msgstr ""
|
@@ -122,13 +122,13 @@ msgstr ""
|
|
122 |
|
123 |
#: includes/Admin/AdminBar.php:54 includes/Admin/Menu.php:43
|
124 |
#: includes/Admin/Settings.php:491 includes/Install/Installer.php:157
|
125 |
-
#: includes/template-tags.php:
|
126 |
msgid "Dashboard"
|
127 |
msgstr ""
|
128 |
|
129 |
#: includes/Admin/AdminBar.php:63 includes/Admin/Menu.php:32
|
130 |
#: includes/Admin/Menu.php:44 includes/Admin/SetupWizard.php:160
|
131 |
-
#: includes/functions.php:
|
132 |
#: templates/withdraw/header.php:11
|
133 |
msgid "Withdraw"
|
134 |
msgstr ""
|
@@ -502,7 +502,7 @@ msgstr ""
|
|
502 |
msgid "Allow vendor to update order status"
|
503 |
msgstr ""
|
504 |
|
505 |
-
#: includes/Admin/Settings.php:464 includes/Admin/SetupWizard.php:
|
506 |
msgid "Withdraw Methods"
|
507 |
msgstr ""
|
508 |
|
@@ -510,7 +510,7 @@ msgstr ""
|
|
510 |
msgid "Select suitable Withdraw methods for Vendors"
|
511 |
msgstr ""
|
512 |
|
513 |
-
#: includes/Admin/Settings.php:472 includes/Admin/SetupWizard.php:
|
514 |
msgid "Minimum Withdraw Limit"
|
515 |
msgstr ""
|
516 |
|
@@ -683,7 +683,7 @@ msgstr ""
|
|
683 |
msgid "Select a page to show your privacy policy"
|
684 |
msgstr ""
|
685 |
|
686 |
-
#: includes/Admin/Settings.php:635 includes/functions.php:
|
687 |
msgid ""
|
688 |
"Your personal data will be used to support your experience throughout this "
|
689 |
"website, to manage access to your account, and for other purposes described "
|
@@ -703,7 +703,7 @@ msgid "Introduction"
|
|
703 |
msgstr ""
|
704 |
|
705 |
#: includes/Admin/SetupWizard.php:150 includes/Vendor/SetupWizard.php:75
|
706 |
-
#: includes/template-tags.php:
|
707 |
msgid "Store"
|
708 |
msgstr ""
|
709 |
|
@@ -755,47 +755,47 @@ msgstr ""
|
|
755 |
msgid "Not right now"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: includes/Admin/SetupWizard.php:
|
759 |
msgid "Withdraw Setup"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: includes/Admin/SetupWizard.php:
|
763 |
#. translators: %s: withdraw method name
|
764 |
msgid "Enable %s for your vendor as a withdraw method"
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: includes/Admin/SetupWizard.php:
|
768 |
msgid ""
|
769 |
"Minimum balance required to make a withdraw request ( Leave it blank to set "
|
770 |
"no limits )"
|
771 |
msgstr ""
|
772 |
|
773 |
-
#: includes/Admin/SetupWizard.php:
|
774 |
msgid "Order Status for Withdraw"
|
775 |
msgstr ""
|
776 |
|
777 |
-
#: includes/Admin/SetupWizard.php:
|
778 |
#: includes/Dashboard/Templates/Dashboard.php:101
|
779 |
-
#: includes/Order/functions.php:
|
780 |
msgid "Completed"
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: includes/Admin/SetupWizard.php:
|
784 |
#: includes/Dashboard/Templates/Dashboard.php:111
|
785 |
-
#: includes/Order/functions.php:
|
786 |
#: templates/orders/listing.php:140
|
787 |
msgid "Processing"
|
788 |
msgstr ""
|
789 |
|
790 |
-
#: includes/Admin/SetupWizard.php:
|
791 |
msgid "On-hold"
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: includes/Admin/SetupWizard.php:
|
795 |
msgid "Order status for which vendor can make a withdraw request."
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: includes/Admin/SetupWizard.php:
|
799 |
#: includes/Admin/SetupWizardWCAdmin.php:232
|
800 |
#: includes/Vendor/SetupWizard.php:243 includes/Vendor/SetupWizard.php:390
|
801 |
#: templates/admin-setup-wizard/step-selling.php:53
|
@@ -803,60 +803,60 @@ msgstr ""
|
|
803 |
msgid "Continue"
|
804 |
msgstr ""
|
805 |
|
806 |
-
#: includes/Admin/SetupWizard.php:
|
807 |
#: includes/Vendor/SetupWizard.php:391
|
808 |
#: templates/admin-setup-wizard/step-selling.php:54
|
809 |
#: templates/admin-setup-wizard/step-store.php:101
|
810 |
msgid "Skip this step"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#: includes/Admin/SetupWizard.php:
|
814 |
msgid "Recommended for All Dokan Marketplaces"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#: includes/Admin/SetupWizard.php:
|
818 |
msgid "Enhance your store with these recommended features."
|
819 |
msgstr ""
|
820 |
|
821 |
-
#: includes/Admin/SetupWizard.php:
|
822 |
-
#: includes/Admin/SetupWizard.php:
|
823 |
msgid "WooCommerce Conversion Tracking"
|
824 |
msgstr ""
|
825 |
|
826 |
-
#: includes/Admin/SetupWizard.php:
|
827 |
msgid "Track conversions on your WooCommerce store like a pro!"
|
828 |
msgstr ""
|
829 |
|
830 |
-
#: includes/Admin/SetupWizard.php:
|
831 |
msgid "WooCommerce Conversion Tracking logo"
|
832 |
msgstr ""
|
833 |
|
834 |
-
#: includes/Admin/SetupWizard.php:
|
835 |
-
#: includes/Admin/SetupWizard.php:
|
836 |
msgid "weMail"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: includes/Admin/SetupWizard.php:
|
840 |
msgid "Simplified Email Marketing Solution for WordPress!"
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: includes/Admin/SetupWizard.php:
|
844 |
msgid "weMail logo"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: includes/Admin/SetupWizard.php:
|
848 |
msgid "Your Marketplace is Ready!"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: includes/Admin/SetupWizard.php:
|
852 |
msgid "Visit Dokan Dashboard"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: includes/Admin/SetupWizard.php:
|
856 |
msgid "More Settings"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: includes/Admin/SetupWizard.php:
|
860 |
msgid "The following plugins will be installed and activated for you:"
|
861 |
msgstr ""
|
862 |
|
@@ -869,7 +869,7 @@ msgid "Error installing WooCommerce plugin"
|
|
869 |
msgstr ""
|
870 |
|
871 |
#: includes/Admin/SetupWizardNoWC.php:176 includes/Vendor/SetupWizard.php:80
|
872 |
-
#: includes/template-tags.php:
|
873 |
msgid "Payment"
|
874 |
msgstr ""
|
875 |
|
@@ -961,7 +961,7 @@ msgstr ""
|
|
961 |
msgid "Not Available"
|
962 |
msgstr ""
|
963 |
|
964 |
-
#: includes/Admin/UserProfile.php:88 includes/Privacy.php:
|
965 |
#: includes/Vendor/SetupWizard.php:213
|
966 |
#: src/admin/pages/VendorAddressFields.vue:31
|
967 |
#: templates/admin-setup-wizard/step-store-wc-fields.php:24
|
@@ -1006,11 +1006,11 @@ msgstr ""
|
|
1006 |
msgid "Store URL"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: includes/Admin/UserProfile.php:150 includes/Privacy.php:
|
1010 |
msgid "Address 1"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: includes/Admin/UserProfile.php:157 includes/Privacy.php:
|
1014 |
msgid "Address 2"
|
1015 |
msgstr ""
|
1016 |
|
@@ -1050,7 +1050,7 @@ msgstr ""
|
|
1050 |
msgid "Bank Address "
|
1051 |
msgstr ""
|
1052 |
|
1053 |
-
#: includes/Admin/UserProfile.php:276 includes/Privacy.php:
|
1054 |
#: src/admin/pages/VendorPaymentFields.vue:30
|
1055 |
msgid "Routing Number"
|
1056 |
msgstr ""
|
@@ -1187,7 +1187,7 @@ msgstr ""
|
|
1187 |
msgid "Please provide your name."
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: includes/Ajax.php:342 includes/template-tags.php:
|
1191 |
msgid "Something went wrong!"
|
1192 |
msgstr ""
|
1193 |
|
@@ -1639,13 +1639,13 @@ msgid "Pending"
|
|
1639 |
msgstr ""
|
1640 |
|
1641 |
#: includes/Dashboard/Templates/Dashboard.php:116
|
1642 |
-
#: includes/Order/functions.php:
|
1643 |
#: templates/dashboard/orders-widget.php:41
|
1644 |
msgid "Cancelled"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
#: includes/Dashboard/Templates/Dashboard.php:121
|
1648 |
-
#: includes/Order/functions.php:
|
1649 |
msgid "Refunded"
|
1650 |
msgstr ""
|
1651 |
|
@@ -1751,15 +1751,15 @@ msgstr ""
|
|
1751 |
msgid "Address field for %s is required"
|
1752 |
msgstr ""
|
1753 |
|
1754 |
-
#: includes/Dashboard/Templates/Settings.php:
|
1755 |
msgid "Book"
|
1756 |
msgstr ""
|
1757 |
|
1758 |
-
#: includes/Dashboard/Templates/Settings.php:
|
1759 |
msgid "Dress"
|
1760 |
msgstr ""
|
1761 |
|
1762 |
-
#: includes/Dashboard/Templates/Settings.php:
|
1763 |
msgid "Electronic"
|
1764 |
msgstr ""
|
1765 |
|
@@ -1850,6 +1850,7 @@ msgstr ""
|
|
1850 |
#: includes/Emails/ContactSeller.php:133 includes/Emails/NewProduct.php:161
|
1851 |
#: includes/Emails/NewProductPending.php:153 includes/Emails/NewSeller.php:138
|
1852 |
#: includes/Emails/ProductPublished.php:146
|
|
|
1853 |
#: includes/Emails/VendorNewOrder.php:160
|
1854 |
#: includes/Emails/VendorWithdrawRequest.php:147
|
1855 |
#: includes/Emails/WithdrawApproved.php:143
|
@@ -1860,6 +1861,7 @@ msgstr ""
|
|
1860 |
#: includes/Emails/ContactSeller.php:135 includes/Emails/NewProduct.php:163
|
1861 |
#: includes/Emails/NewProductPending.php:155 includes/Emails/NewSeller.php:140
|
1862 |
#: includes/Emails/ProductPublished.php:148
|
|
|
1863 |
#: includes/Emails/VendorNewOrder.php:162
|
1864 |
#: includes/Emails/VendorWithdrawRequest.php:149
|
1865 |
#: includes/Emails/WithdrawApproved.php:145
|
@@ -1870,6 +1872,7 @@ msgstr ""
|
|
1870 |
#: includes/Emails/ContactSeller.php:140 includes/Emails/NewProduct.php:175
|
1871 |
#: includes/Emails/NewProductPending.php:167 includes/Emails/NewSeller.php:152
|
1872 |
#: includes/Emails/ProductPublished.php:153
|
|
|
1873 |
#: includes/Emails/VendorNewOrder.php:166
|
1874 |
#: includes/Emails/VendorWithdrawRequest.php:161
|
1875 |
#: includes/Emails/WithdrawApproved.php:149
|
@@ -1883,6 +1886,8 @@ msgstr ""
|
|
1883 |
#: includes/Emails/NewProductPending.php:180 includes/Emails/NewSeller.php:156
|
1884 |
#: includes/Emails/NewSeller.php:165 includes/Emails/ProductPublished.php:157
|
1885 |
#: includes/Emails/ProductPublished.php:166
|
|
|
|
|
1886 |
#: includes/Emails/VendorNewOrder.php:170
|
1887 |
#: includes/Emails/VendorNewOrder.php:179
|
1888 |
#: includes/Emails/VendorWithdrawRequest.php:165
|
@@ -1898,6 +1903,7 @@ msgstr ""
|
|
1898 |
#: includes/Emails/ContactSeller.php:149 includes/Emails/NewProduct.php:184
|
1899 |
#: includes/Emails/NewProductPending.php:176 includes/Emails/NewSeller.php:161
|
1900 |
#: includes/Emails/ProductPublished.php:162
|
|
|
1901 |
#: includes/Emails/VendorNewOrder.php:175
|
1902 |
#: includes/Emails/VendorWithdrawRequest.php:170
|
1903 |
#: includes/Emails/WithdrawApproved.php:158
|
@@ -1908,6 +1914,7 @@ msgstr ""
|
|
1908 |
#: includes/Emails/ContactSeller.php:158 includes/Emails/NewProduct.php:193
|
1909 |
#: includes/Emails/NewProductPending.php:185 includes/Emails/NewSeller.php:170
|
1910 |
#: includes/Emails/ProductPublished.php:171
|
|
|
1911 |
#: includes/Emails/VendorNewOrder.php:184
|
1912 |
#: includes/Emails/VendorWithdrawRequest.php:179
|
1913 |
#: includes/Emails/WithdrawApproved.php:167
|
@@ -1918,6 +1925,7 @@ msgstr ""
|
|
1918 |
#: includes/Emails/ContactSeller.php:160 includes/Emails/NewProduct.php:195
|
1919 |
#: includes/Emails/NewProductPending.php:187 includes/Emails/NewSeller.php:172
|
1920 |
#: includes/Emails/ProductPublished.php:173
|
|
|
1921 |
#: includes/Emails/VendorNewOrder.php:186
|
1922 |
#: includes/Emails/VendorWithdrawRequest.php:181
|
1923 |
#: includes/Emails/WithdrawApproved.php:169
|
@@ -1925,39 +1933,48 @@ msgstr ""
|
|
1925 |
msgid "Choose which format of email to send."
|
1926 |
msgstr ""
|
1927 |
|
1928 |
-
#: includes/Emails/Manager.php:
|
|
|
1929 |
msgid "\"%1$s\" sent you a message from your \"%2$s\" store"
|
1930 |
msgstr ""
|
1931 |
|
1932 |
-
#: includes/Emails/Manager.php:
|
|
|
1933 |
msgid "[%1$s] Refund Request %2$s"
|
1934 |
msgstr ""
|
1935 |
|
1936 |
-
#: includes/Emails/Manager.php:
|
|
|
1937 |
msgid "[%s] New Refund Request"
|
1938 |
msgstr ""
|
1939 |
|
1940 |
-
#: includes/Emails/Manager.php:
|
|
|
1941 |
msgid "[%s] New Withdraw Request"
|
1942 |
msgstr ""
|
1943 |
|
1944 |
-
#: includes/Emails/Manager.php:
|
|
|
1945 |
msgid "[%s] Your Withdraw Request has been approved"
|
1946 |
msgstr ""
|
1947 |
|
1948 |
-
#: includes/Emails/Manager.php:
|
|
|
1949 |
msgid "[%s] Your Withdraw Request has been cancelled"
|
1950 |
msgstr ""
|
1951 |
|
1952 |
-
#: includes/Emails/Manager.php:
|
|
|
1953 |
msgid "[%s] New Vendor Registered"
|
1954 |
msgstr ""
|
1955 |
|
1956 |
-
#: includes/Emails/Manager.php:
|
|
|
1957 |
msgid "[%s] New Product Added"
|
1958 |
msgstr ""
|
1959 |
|
1960 |
-
#: includes/Emails/Manager.php:
|
|
|
1961 |
msgid "[%s] Your product has been approved!"
|
1962 |
msgstr ""
|
1963 |
|
@@ -2047,6 +2064,26 @@ msgstr ""
|
|
2047 |
msgid "{product_title} - is published"
|
2048 |
msgstr ""
|
2049 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2050 |
#: includes/Emails/VendorNewOrder.php:25
|
2051 |
msgid "Dokan Vendor New Order"
|
2052 |
msgstr ""
|
@@ -2136,140 +2173,140 @@ msgstr ""
|
|
2136 |
msgid "Stock levels reduced:"
|
2137 |
msgstr ""
|
2138 |
|
2139 |
-
#: includes/Order/functions.php:
|
2140 |
msgid "Pending Payment"
|
2141 |
msgstr ""
|
2142 |
|
2143 |
-
#: includes/Order/functions.php:
|
2144 |
msgid "Failed"
|
2145 |
msgstr ""
|
2146 |
|
2147 |
-
#: includes/Order/functions.php:
|
2148 |
msgid "Order No"
|
2149 |
msgstr ""
|
2150 |
|
2151 |
-
#: includes/Order/functions.php:
|
2152 |
msgid "Order Items"
|
2153 |
msgstr ""
|
2154 |
|
2155 |
-
#: includes/Order/functions.php:
|
2156 |
msgid "Shipping method"
|
2157 |
msgstr ""
|
2158 |
|
2159 |
-
#: includes/Order/functions.php:
|
2160 |
msgid "Shipping Cost"
|
2161 |
msgstr ""
|
2162 |
|
2163 |
-
#: includes/Order/functions.php:
|
2164 |
msgid "Payment method"
|
2165 |
msgstr ""
|
2166 |
|
2167 |
-
#: includes/Order/functions.php:
|
2168 |
#: templates/orders/listing.php:80
|
2169 |
msgid "Order Total"
|
2170 |
msgstr ""
|
2171 |
|
2172 |
-
#: includes/Order/functions.php:
|
2173 |
msgid "Order Status"
|
2174 |
msgstr ""
|
2175 |
|
2176 |
-
#: includes/Order/functions.php:
|
2177 |
msgid "Order Date"
|
2178 |
msgstr ""
|
2179 |
|
2180 |
-
#: includes/Order/functions.php:
|
2181 |
msgid "Billing Company"
|
2182 |
msgstr ""
|
2183 |
|
2184 |
-
#: includes/Order/functions.php:
|
2185 |
msgid "Billing First Name"
|
2186 |
msgstr ""
|
2187 |
|
2188 |
-
#: includes/Order/functions.php:
|
2189 |
msgid "Billing Last Name"
|
2190 |
msgstr ""
|
2191 |
|
2192 |
-
#: includes/Order/functions.php:
|
2193 |
msgid "Billing Full Name"
|
2194 |
msgstr ""
|
2195 |
|
2196 |
-
#: includes/Order/functions.php:
|
2197 |
msgid "Billing Email"
|
2198 |
msgstr ""
|
2199 |
|
2200 |
-
#: includes/Order/functions.php:
|
2201 |
msgid "Billing Phone"
|
2202 |
msgstr ""
|
2203 |
|
2204 |
-
#: includes/Order/functions.php:
|
2205 |
msgid "Billing Address 1"
|
2206 |
msgstr ""
|
2207 |
|
2208 |
-
#: includes/Order/functions.php:
|
2209 |
msgid "Billing Address 2"
|
2210 |
msgstr ""
|
2211 |
|
2212 |
-
#: includes/Order/functions.php:
|
2213 |
msgid "Billing City"
|
2214 |
msgstr ""
|
2215 |
|
2216 |
-
#: includes/Order/functions.php:
|
2217 |
msgid "Billing State"
|
2218 |
msgstr ""
|
2219 |
|
2220 |
-
#: includes/Order/functions.php:
|
2221 |
msgid "Billing Postcode"
|
2222 |
msgstr ""
|
2223 |
|
2224 |
-
#: includes/Order/functions.php:
|
2225 |
msgid "Billing Country"
|
2226 |
msgstr ""
|
2227 |
|
2228 |
-
#: includes/Order/functions.php:
|
2229 |
msgid "Shipping Company"
|
2230 |
msgstr ""
|
2231 |
|
2232 |
-
#: includes/Order/functions.php:
|
2233 |
msgid "Shipping First Name"
|
2234 |
msgstr ""
|
2235 |
|
2236 |
-
#: includes/Order/functions.php:
|
2237 |
msgid "Shipping Last Name"
|
2238 |
msgstr ""
|
2239 |
|
2240 |
-
#: includes/Order/functions.php:
|
2241 |
msgid "Shipping Full Name"
|
2242 |
msgstr ""
|
2243 |
|
2244 |
-
#: includes/Order/functions.php:
|
2245 |
msgid "Shipping Address 1"
|
2246 |
msgstr ""
|
2247 |
|
2248 |
-
#: includes/Order/functions.php:
|
2249 |
msgid "Shipping Address 2"
|
2250 |
msgstr ""
|
2251 |
|
2252 |
-
#: includes/Order/functions.php:
|
2253 |
msgid "Shipping City"
|
2254 |
msgstr ""
|
2255 |
|
2256 |
-
#: includes/Order/functions.php:
|
2257 |
msgid "Shipping State"
|
2258 |
msgstr ""
|
2259 |
|
2260 |
-
#: includes/Order/functions.php:
|
2261 |
msgid "Shipping Postcode"
|
2262 |
msgstr ""
|
2263 |
|
2264 |
-
#: includes/Order/functions.php:
|
2265 |
msgid "Shipping Country"
|
2266 |
msgstr ""
|
2267 |
|
2268 |
-
#: includes/Order/functions.php:
|
2269 |
msgid "Customer IP"
|
2270 |
msgstr ""
|
2271 |
|
2272 |
-
#: includes/Order/functions.php:
|
2273 |
msgid "Customer Note"
|
2274 |
msgstr ""
|
2275 |
|
@@ -2507,45 +2544,41 @@ msgstr ""
|
|
2507 |
msgid "Gravatar Url"
|
2508 |
msgstr ""
|
2509 |
|
2510 |
-
#: includes/Privacy.php:201 includes/functions.php:
|
2511 |
#: src/admin/pages/VendorSocialFields.vue:11
|
2512 |
msgid "Facebook"
|
2513 |
msgstr ""
|
2514 |
|
2515 |
-
#: includes/Privacy.php:202 includes/functions.php:
|
2516 |
-
|
2517 |
-
msgstr ""
|
2518 |
-
|
2519 |
-
#: includes/Privacy.php:203 includes/functions.php:2331
|
2520 |
-
#: src/admin/pages/VendorSocialFields.vue:26
|
2521 |
msgid "Twitter"
|
2522 |
msgstr ""
|
2523 |
|
2524 |
-
#: includes/Privacy.php:
|
2525 |
-
#: src/admin/pages/VendorSocialFields.vue:
|
2526 |
msgid "Pinterest"
|
2527 |
msgstr ""
|
2528 |
|
2529 |
-
#: includes/Privacy.php:
|
2530 |
msgid "Linkedin"
|
2531 |
msgstr ""
|
2532 |
|
2533 |
-
#: includes/Privacy.php:
|
2534 |
-
#: src/admin/pages/VendorSocialFields.vue:
|
2535 |
msgid "Youtube"
|
2536 |
msgstr ""
|
2537 |
|
2538 |
-
#: includes/Privacy.php:
|
2539 |
-
#: src/admin/pages/VendorSocialFields.vue:
|
2540 |
msgid "Instagram"
|
2541 |
msgstr ""
|
2542 |
|
2543 |
-
#: includes/Privacy.php:
|
2544 |
#: src/admin/pages/VendorSocialFields.vue:16
|
2545 |
msgid "Flickr"
|
2546 |
msgstr ""
|
2547 |
|
2548 |
-
#: includes/Privacy.php:
|
2549 |
#: src/admin/pages/VendorAddressFields.vue:21
|
2550 |
#: src/admin/pages/VendorAddressFields.vue:22
|
2551 |
#: templates/admin-setup-wizard/step-store-wc-fields.php:51
|
@@ -2553,11 +2586,11 @@ msgstr ""
|
|
2553 |
msgid "City"
|
2554 |
msgstr ""
|
2555 |
|
2556 |
-
#: includes/Privacy.php:
|
2557 |
msgid "Postal Code"
|
2558 |
msgstr ""
|
2559 |
|
2560 |
-
#: includes/Privacy.php:
|
2561 |
#: src/admin/pages/VendorAddressFields.vue:36
|
2562 |
#: src/admin/pages/VendorAddressFields.vue:38
|
2563 |
#: templates/admin-setup-wizard/step-store-wc-fields.php:58
|
@@ -2565,47 +2598,47 @@ msgstr ""
|
|
2565 |
msgid "State"
|
2566 |
msgstr ""
|
2567 |
|
2568 |
-
#: includes/Privacy.php:
|
2569 |
msgid "Bank Details"
|
2570 |
msgstr ""
|
2571 |
|
2572 |
-
#: includes/Privacy.php:
|
2573 |
#: src/admin/pages/VendorPaymentFields.vue:11
|
2574 |
msgid "Account Name"
|
2575 |
msgstr ""
|
2576 |
|
2577 |
-
#: includes/Privacy.php:
|
2578 |
msgid "Account Number"
|
2579 |
msgstr ""
|
2580 |
|
2581 |
-
#: includes/Privacy.php:
|
2582 |
#: src/admin/pages/VendorPaymentFields.vue:21
|
2583 |
msgid "Bank Name"
|
2584 |
msgstr ""
|
2585 |
|
2586 |
-
#: includes/Privacy.php:
|
2587 |
#: src/admin/pages/VendorPaymentFields.vue:26
|
2588 |
msgid "Bank Address"
|
2589 |
msgstr ""
|
2590 |
|
2591 |
-
#: includes/Privacy.php:
|
2592 |
#: src/admin/pages/VendorPaymentFields.vue:35
|
2593 |
msgid "IBAN"
|
2594 |
msgstr ""
|
2595 |
|
2596 |
-
#: includes/Privacy.php:
|
2597 |
msgid "Swift Code"
|
2598 |
msgstr ""
|
2599 |
|
2600 |
-
#: includes/Privacy.php:
|
2601 |
msgid "PayPal Email"
|
2602 |
msgstr ""
|
2603 |
|
2604 |
-
#: includes/Privacy.php:
|
2605 |
msgid "Skrill Email"
|
2606 |
msgstr ""
|
2607 |
|
2608 |
-
#: includes/Privacy.php:
|
2609 |
#. translators: vendor name.
|
2610 |
msgid "Vendor %s data is removed."
|
2611 |
msgstr ""
|
@@ -2634,7 +2667,7 @@ msgstr ""
|
|
2634 |
|
2635 |
#: includes/Product/functions.php:163 templates/my-orders.php:29
|
2636 |
#: templates/orders/listing.php:54 templates/orders/listing.php:86
|
2637 |
-
#: templates/products/products-listing-row.php:
|
2638 |
#: templates/products/products-listing.php:95 templates/sub-orders.php:27
|
2639 |
#: templates/withdraw/pending-request-listing.php:18
|
2640 |
msgid "Status"
|
@@ -2693,7 +2726,7 @@ msgid "Toggle "Manage stock""
|
|
2693 |
msgstr ""
|
2694 |
|
2695 |
#: includes/Product/functions.php:179
|
2696 |
-
#: templates/products/products-listing-row.php:
|
2697 |
#: templates/products/products-listing.php:100
|
2698 |
msgid "Stock"
|
2699 |
msgstr ""
|
@@ -2767,7 +2800,7 @@ msgid "Expand"
|
|
2767 |
msgstr ""
|
2768 |
|
2769 |
#: includes/Product/functions.php:269 src/admin/components/ColorPicker.vue:31
|
2770 |
-
#: src/upgrade/App.vue:49 templates/orders/details.php:
|
2771 |
#: templates/settings/store-form.php:258
|
2772 |
msgid "Close"
|
2773 |
msgstr ""
|
@@ -2855,7 +2888,7 @@ msgstr ""
|
|
2855 |
msgid "Total"
|
2856 |
msgstr ""
|
2857 |
|
2858 |
-
#: includes/REST/AdminReportController.php:150 includes/template-tags.php:
|
2859 |
#: templates/dashboard/orders-widget.php:15
|
2860 |
msgid "Orders"
|
2861 |
msgstr ""
|
@@ -4159,7 +4192,7 @@ msgid "Dokan: Store Category Menu"
|
|
4159 |
msgstr ""
|
4160 |
|
4161 |
#: includes/Widgets/StoreCategoryMenu.php:36
|
4162 |
-
#: includes/Widgets/StoreCategoryMenu.php:80 includes/template-tags.php:
|
4163 |
msgid "Store Product Category"
|
4164 |
msgstr ""
|
4165 |
|
@@ -4172,7 +4205,7 @@ msgid "Dokan: Store Contact Form"
|
|
4172 |
msgstr ""
|
4173 |
|
4174 |
#: includes/Widgets/StoreContactForm.php:42
|
4175 |
-
#: includes/Widgets/StoreContactForm.php:119 includes/template-tags.php:
|
4176 |
msgid "Contact Vendor"
|
4177 |
msgstr ""
|
4178 |
|
@@ -4185,7 +4218,7 @@ msgid "Dokan: Store Location"
|
|
4185 |
msgstr ""
|
4186 |
|
4187 |
#: includes/Widgets/StoreLocation.php:42 includes/Widgets/StoreLocation.php:103
|
4188 |
-
#: includes/template-tags.php:
|
4189 |
msgid "Store Location"
|
4190 |
msgstr ""
|
4191 |
|
@@ -4198,7 +4231,7 @@ msgid "Dokan: Store Opening Closing Time Widget"
|
|
4198 |
msgstr ""
|
4199 |
|
4200 |
#: includes/Widgets/StoreOpenClose.php:41
|
4201 |
-
#: includes/Widgets/StoreOpenClose.php:111 includes/template-tags.php:
|
4202 |
msgid "Store Time"
|
4203 |
msgstr ""
|
4204 |
|
@@ -4316,7 +4349,7 @@ msgstr ""
|
|
4316 |
msgid "Pending Review"
|
4317 |
msgstr ""
|
4318 |
|
4319 |
-
#: includes/functions.php:744 templates/products/products-listing-row.php:
|
4320 |
msgid "Scheduled"
|
4321 |
msgstr ""
|
4322 |
|
@@ -4336,365 +4369,366 @@ msgstr ""
|
|
4336 |
msgid "External/Affiliate Product"
|
4337 |
msgstr ""
|
4338 |
|
4339 |
-
#: includes/functions.php:
|
4340 |
msgid "Author"
|
4341 |
msgstr ""
|
4342 |
|
4343 |
-
#: includes/functions.php:
|
4344 |
#: src/admin/pages/Dashboard.vue:54 templates/dashboard/products-widget.php:16
|
4345 |
msgid "Products"
|
4346 |
msgstr ""
|
4347 |
|
4348 |
-
#: includes/functions.php:
|
4349 |
msgid "Terms and Conditions"
|
4350 |
msgstr ""
|
4351 |
|
4352 |
-
#: includes/functions.php:
|
4353 |
msgid "Account Name: %s"
|
4354 |
msgstr ""
|
4355 |
|
4356 |
-
#: includes/functions.php:
|
4357 |
msgid "Account Number: %s"
|
4358 |
msgstr ""
|
4359 |
|
4360 |
-
#: includes/functions.php:
|
4361 |
msgid "Bank Name: %s"
|
4362 |
msgstr ""
|
4363 |
|
4364 |
-
#: includes/functions.php:
|
4365 |
msgid "Address: %s"
|
4366 |
msgstr ""
|
4367 |
|
4368 |
-
#: includes/functions.php:
|
4369 |
msgid "Routing Number: %s"
|
4370 |
msgstr ""
|
4371 |
|
4372 |
-
#: includes/functions.php:
|
4373 |
msgid "IBAN: %s"
|
4374 |
msgstr ""
|
4375 |
|
4376 |
-
#: includes/functions.php:
|
4377 |
msgid "SWIFT: %s"
|
4378 |
msgstr ""
|
4379 |
|
4380 |
-
#: includes/functions.php:
|
4381 |
msgid "Date is not valid"
|
4382 |
msgstr ""
|
4383 |
|
4384 |
-
#: includes/functions.php:
|
4385 |
msgid "- Select a location -"
|
4386 |
msgstr ""
|
4387 |
|
4388 |
-
#: includes/functions.php:
|
4389 |
msgid "Everywhere Else"
|
4390 |
msgstr ""
|
4391 |
|
4392 |
-
#: includes/functions.php:
|
4393 |
msgid "- Select a State -"
|
4394 |
msgstr ""
|
4395 |
|
4396 |
-
#: includes/functions.php:
|
4397 |
msgid "Ready to ship in..."
|
4398 |
msgstr ""
|
4399 |
|
4400 |
-
#: includes/functions.php:
|
4401 |
msgid "1 business day"
|
4402 |
msgstr ""
|
4403 |
|
4404 |
-
#: includes/functions.php:
|
4405 |
msgid "1-2 business days"
|
4406 |
msgstr ""
|
4407 |
|
4408 |
-
#: includes/functions.php:
|
4409 |
msgid "1-3 business days"
|
4410 |
msgstr ""
|
4411 |
|
4412 |
-
#: includes/functions.php:
|
4413 |
msgid "3-5 business days"
|
4414 |
msgstr ""
|
4415 |
|
4416 |
-
#: includes/functions.php:
|
4417 |
msgid "1-2 weeks"
|
4418 |
msgstr ""
|
4419 |
|
4420 |
-
#: includes/functions.php:
|
4421 |
msgid "2-3 weeks"
|
4422 |
msgstr ""
|
4423 |
|
4424 |
-
#: includes/functions.php:
|
4425 |
msgid "3-4 weeks"
|
4426 |
msgstr ""
|
4427 |
|
4428 |
-
#: includes/functions.php:
|
4429 |
msgid "4-6 weeks"
|
4430 |
msgstr ""
|
4431 |
|
4432 |
-
#: includes/functions.php:
|
4433 |
msgid "6-8 weeks"
|
4434 |
msgstr ""
|
4435 |
|
4436 |
-
#: includes/functions.php:
|
4437 |
msgid "All dates"
|
4438 |
msgstr ""
|
4439 |
|
4440 |
-
#: includes/functions.php:
|
4441 |
#. translators: 1: month name, 2: 4-digit year
|
4442 |
msgid "%1$s %2$d"
|
4443 |
msgstr ""
|
4444 |
|
4445 |
-
#: includes/functions.php:
|
4446 |
msgid "LinkedIn"
|
4447 |
msgstr ""
|
4448 |
|
4449 |
-
#: includes/functions.php:
|
4450 |
msgid "Dokan Store Sidebar"
|
4451 |
msgstr ""
|
4452 |
|
4453 |
-
#: includes/functions.php:
|
4454 |
msgid "View sales overview"
|
4455 |
msgstr ""
|
4456 |
|
4457 |
-
#: includes/functions.php:
|
4458 |
msgid "View sales report chart"
|
4459 |
msgstr ""
|
4460 |
|
4461 |
-
#: includes/functions.php:
|
4462 |
msgid "View announcement"
|
4463 |
msgstr ""
|
4464 |
|
4465 |
-
#: includes/functions.php:
|
4466 |
msgid "View order report"
|
4467 |
msgstr ""
|
4468 |
|
4469 |
-
#: includes/functions.php:
|
4470 |
msgid "View review report"
|
4471 |
msgstr ""
|
4472 |
|
4473 |
-
#: includes/functions.php:
|
4474 |
msgid "View product status report"
|
4475 |
msgstr ""
|
4476 |
|
4477 |
-
#: includes/functions.php:
|
4478 |
msgid "View overview report"
|
4479 |
msgstr ""
|
4480 |
|
4481 |
-
#: includes/functions.php:
|
4482 |
msgid "View daily sales report"
|
4483 |
msgstr ""
|
4484 |
|
4485 |
-
#: includes/functions.php:
|
4486 |
msgid "View top selling report"
|
4487 |
msgstr ""
|
4488 |
|
4489 |
-
#: includes/functions.php:
|
4490 |
msgid "View top earning report"
|
4491 |
msgstr ""
|
4492 |
|
4493 |
-
#: includes/functions.php:
|
4494 |
msgid "View statement report"
|
4495 |
msgstr ""
|
4496 |
|
4497 |
-
#: includes/functions.php:
|
4498 |
msgid "View order"
|
4499 |
msgstr ""
|
4500 |
|
4501 |
-
#: includes/functions.php:
|
4502 |
msgid "Manage order"
|
4503 |
msgstr ""
|
4504 |
|
4505 |
-
#: includes/functions.php:
|
4506 |
msgid "Manage order note"
|
4507 |
msgstr ""
|
4508 |
|
4509 |
-
#: includes/functions.php:
|
4510 |
msgid "Manage refund"
|
4511 |
msgstr ""
|
4512 |
|
4513 |
-
#: includes/functions.php:
|
4514 |
msgid "Add coupon"
|
4515 |
msgstr ""
|
4516 |
|
4517 |
-
#: includes/functions.php:
|
4518 |
msgid "Edit coupon"
|
4519 |
msgstr ""
|
4520 |
|
4521 |
-
#: includes/functions.php:
|
4522 |
msgid "Delete coupon"
|
4523 |
msgstr ""
|
4524 |
|
4525 |
-
#: includes/functions.php:
|
4526 |
msgid "View reviews"
|
4527 |
msgstr ""
|
4528 |
|
4529 |
-
#: includes/functions.php:
|
4530 |
msgid "Manage reviews"
|
4531 |
msgstr ""
|
4532 |
|
4533 |
-
#: includes/functions.php:
|
4534 |
msgid "Manage withdraw"
|
4535 |
msgstr ""
|
4536 |
|
4537 |
-
#: includes/functions.php:
|
4538 |
msgid "Add product"
|
4539 |
msgstr ""
|
4540 |
|
4541 |
-
#: includes/functions.php:
|
4542 |
msgid "Edit product"
|
4543 |
msgstr ""
|
4544 |
|
4545 |
-
#: includes/functions.php:
|
4546 |
msgid "Delete product"
|
4547 |
msgstr ""
|
4548 |
|
4549 |
-
#: includes/functions.php:
|
4550 |
msgid "View product"
|
4551 |
msgstr ""
|
4552 |
|
4553 |
-
#: includes/functions.php:
|
4554 |
msgid "Duplicate product"
|
4555 |
msgstr ""
|
4556 |
|
4557 |
-
#: includes/functions.php:
|
4558 |
msgid "Import product"
|
4559 |
msgstr ""
|
4560 |
|
4561 |
-
#: includes/functions.php:
|
4562 |
msgid "Export product"
|
4563 |
msgstr ""
|
4564 |
|
4565 |
-
#: includes/functions.php:
|
4566 |
msgid "View overview menu"
|
4567 |
msgstr ""
|
4568 |
|
4569 |
-
#: includes/functions.php:
|
4570 |
msgid "View product menu"
|
4571 |
msgstr ""
|
4572 |
|
4573 |
-
#: includes/functions.php:
|
4574 |
msgid "View order menu"
|
4575 |
msgstr ""
|
4576 |
|
4577 |
-
#: includes/functions.php:
|
4578 |
msgid "View coupon menu"
|
4579 |
msgstr ""
|
4580 |
|
4581 |
-
#: includes/functions.php:
|
4582 |
msgid "View report menu"
|
4583 |
msgstr ""
|
4584 |
|
4585 |
-
#: includes/functions.php:
|
4586 |
msgid "Vuew review menu"
|
4587 |
msgstr ""
|
4588 |
|
4589 |
-
#: includes/functions.php:
|
4590 |
msgid "View withdraw menu"
|
4591 |
msgstr ""
|
4592 |
|
4593 |
-
#: includes/functions.php:
|
4594 |
msgid "View store settings menu"
|
4595 |
msgstr ""
|
4596 |
|
4597 |
-
#: includes/functions.php:
|
4598 |
msgid "View payment settings menu"
|
4599 |
msgstr ""
|
4600 |
|
4601 |
-
#: includes/functions.php:
|
4602 |
msgid "View shipping settings menu"
|
4603 |
msgstr ""
|
4604 |
|
4605 |
-
#: includes/functions.php:
|
4606 |
msgid "View social settings menu"
|
4607 |
msgstr ""
|
4608 |
|
4609 |
-
#: includes/functions.php:
|
4610 |
msgid "View seo settings menu"
|
4611 |
msgstr ""
|
4612 |
|
4613 |
-
#: includes/functions.php:
|
4614 |
msgid "Overview"
|
4615 |
msgstr ""
|
4616 |
|
4617 |
-
#: includes/functions.php:
|
4618 |
msgid "Report"
|
4619 |
msgstr ""
|
4620 |
|
4621 |
-
#: includes/functions.php:
|
4622 |
#: templates/my-orders.php:27 templates/orders/details.php:21
|
4623 |
#: templates/orders/listing.php:51 templates/orders/listing.php:71
|
4624 |
#: templates/sub-orders.php:25
|
4625 |
msgid "Order"
|
4626 |
msgstr ""
|
4627 |
|
4628 |
-
#: includes/functions.php:
|
4629 |
msgid "Coupon"
|
4630 |
msgstr ""
|
4631 |
|
4632 |
-
#: includes/functions.php:
|
4633 |
msgid "Review"
|
4634 |
msgstr ""
|
4635 |
|
4636 |
-
#: includes/functions.php:
|
|
|
4637 |
msgid "Product"
|
4638 |
msgstr ""
|
4639 |
|
4640 |
-
#: includes/functions.php:
|
4641 |
msgid "Menu"
|
4642 |
msgstr ""
|
4643 |
|
4644 |
-
#: includes/functions.php:
|
4645 |
msgid "Saturday"
|
4646 |
msgstr ""
|
4647 |
|
4648 |
-
#: includes/functions.php:
|
4649 |
msgid "Sunday"
|
4650 |
msgstr ""
|
4651 |
|
4652 |
-
#: includes/functions.php:
|
4653 |
msgid "Monday"
|
4654 |
msgstr ""
|
4655 |
|
4656 |
-
#: includes/functions.php:
|
4657 |
msgid "Tuesday"
|
4658 |
msgstr ""
|
4659 |
|
4660 |
-
#: includes/functions.php:
|
4661 |
msgid "Wednesday"
|
4662 |
msgstr ""
|
4663 |
|
4664 |
-
#: includes/functions.php:
|
4665 |
msgid "Thursday"
|
4666 |
msgstr ""
|
4667 |
|
4668 |
-
#: includes/functions.php:
|
4669 |
msgid "Friday"
|
4670 |
msgstr ""
|
4671 |
|
4672 |
-
#: includes/functions.php:
|
4673 |
msgid "Off Day"
|
4674 |
msgstr ""
|
4675 |
|
4676 |
-
#: includes/functions.php:
|
4677 |
msgid "privacy policy"
|
4678 |
msgstr ""
|
4679 |
|
4680 |
-
#: includes/functions.php:
|
4681 |
#: src/admin/pages/VendorPaymentFields.vue:155
|
4682 |
msgid "Flat"
|
4683 |
msgstr ""
|
4684 |
|
4685 |
-
#: includes/functions.php:
|
4686 |
msgid "Percentage"
|
4687 |
msgstr ""
|
4688 |
|
4689 |
-
#: includes/functions.php:
|
4690 |
msgid "Please Login to Continue"
|
4691 |
msgstr ""
|
4692 |
|
4693 |
-
#: includes/functions.php:
|
4694 |
msgid "Unable to fetch plugin information from wordpress.org for %s."
|
4695 |
msgstr ""
|
4696 |
|
4697 |
-
#: includes/functions.php:
|
4698 |
msgid "Unable to install %s from wordpress.org"
|
4699 |
msgstr ""
|
4700 |
|
@@ -4706,149 +4740,149 @@ msgstr ""
|
|
4706 |
msgid "Sales"
|
4707 |
msgstr ""
|
4708 |
|
4709 |
-
#: includes/template-tags.php:
|
4710 |
#: templates/store-lists-loop.php:116
|
4711 |
msgid "← Previous"
|
4712 |
msgstr ""
|
4713 |
|
4714 |
-
#: includes/template-tags.php:
|
4715 |
msgid "Next →"
|
4716 |
msgstr ""
|
4717 |
|
4718 |
-
#: includes/template-tags.php:
|
4719 |
msgid "Product succesfully deleted"
|
4720 |
msgstr ""
|
4721 |
|
4722 |
-
#: includes/template-tags.php:
|
4723 |
#: templates/products/listing-status-filter.php:13
|
4724 |
#. translators: %d : order count total
|
4725 |
msgid "All (%d)"
|
4726 |
msgstr ""
|
4727 |
|
4728 |
-
#: includes/template-tags.php:
|
4729 |
#. translators: %d : order count completed status
|
4730 |
msgid "Completed (%d)"
|
4731 |
msgstr ""
|
4732 |
|
4733 |
-
#: includes/template-tags.php:
|
4734 |
#. translators: %d : order count processing status
|
4735 |
msgid "Processing (%d)"
|
4736 |
msgstr ""
|
4737 |
|
4738 |
-
#: includes/template-tags.php:
|
4739 |
#. translators: %d : order count on hold status
|
4740 |
msgid "On-hold (%d)"
|
4741 |
msgstr ""
|
4742 |
|
4743 |
-
#: includes/template-tags.php:
|
4744 |
#. translators: %d : order count pending status
|
4745 |
msgid "Pending (%d)"
|
4746 |
msgstr ""
|
4747 |
|
4748 |
-
#: includes/template-tags.php:
|
4749 |
#. translators: %d : order count cancelled status
|
4750 |
msgid "Cancelled (%d)"
|
4751 |
msgstr ""
|
4752 |
|
4753 |
-
#: includes/template-tags.php:
|
4754 |
#. translators: %d : order count refunded status
|
4755 |
msgid "Refunded (%d)"
|
4756 |
msgstr ""
|
4757 |
|
4758 |
-
#: includes/template-tags.php:
|
4759 |
#. translators: %d : order count failed status
|
4760 |
msgid "Failed (%d)"
|
4761 |
msgstr ""
|
4762 |
|
4763 |
-
#: includes/template-tags.php:
|
4764 |
msgid "Back to Dashboard"
|
4765 |
msgstr ""
|
4766 |
|
4767 |
-
#: includes/template-tags.php:
|
4768 |
#: templates/store-lists-loop.php:92
|
4769 |
msgid "Visit Store"
|
4770 |
msgstr ""
|
4771 |
|
4772 |
-
#: includes/template-tags.php:
|
4773 |
msgid "Edit Account"
|
4774 |
msgstr ""
|
4775 |
|
4776 |
-
#: includes/template-tags.php:
|
4777 |
msgid "Log out"
|
4778 |
msgstr ""
|
4779 |
|
4780 |
-
#: includes/wc-functions.php:
|
4781 |
msgid "Product SKU must be unique"
|
4782 |
msgstr ""
|
4783 |
|
4784 |
-
#: includes/wc-functions.php:
|
4785 |
msgid "Your {site_title} order receipt from {order_date}"
|
4786 |
msgstr ""
|
4787 |
|
4788 |
-
#: includes/wc-functions.php:
|
4789 |
msgid "Your {site_title} order from {order_date} is complete"
|
4790 |
msgstr ""
|
4791 |
|
4792 |
-
#: includes/wc-functions.php:
|
4793 |
#: src/admin/pages/VendorAccountFields.vue:34
|
4794 |
#: templates/account/vendor-registration.php:9
|
4795 |
#: templates/global/seller-registration-form.php:13
|
4796 |
msgid "First Name"
|
4797 |
msgstr ""
|
4798 |
|
4799 |
-
#: includes/wc-functions.php:
|
4800 |
#: src/admin/pages/VendorAccountFields.vue:39
|
4801 |
#: templates/account/vendor-registration.php:14
|
4802 |
#: templates/global/seller-registration-form.php:18
|
4803 |
msgid "Last Name"
|
4804 |
msgstr ""
|
4805 |
|
4806 |
-
#: includes/wc-functions.php:
|
4807 |
#: templates/dashboard/edit-account.php:65
|
4808 |
msgid "Email address"
|
4809 |
msgstr ""
|
4810 |
|
4811 |
-
#: includes/wc-functions.php:
|
4812 |
msgid "is a required field."
|
4813 |
msgstr ""
|
4814 |
|
4815 |
-
#: includes/wc-functions.php:
|
4816 |
msgid "Please provide a valid email address."
|
4817 |
msgstr ""
|
4818 |
|
4819 |
-
#: includes/wc-functions.php:
|
4820 |
msgid "This email address is already registered."
|
4821 |
msgstr ""
|
4822 |
|
4823 |
-
#: includes/wc-functions.php:
|
4824 |
msgid "Your current password is incorrect."
|
4825 |
msgstr ""
|
4826 |
|
4827 |
-
#: includes/wc-functions.php:
|
4828 |
msgid "Please fill out all password fields."
|
4829 |
msgstr ""
|
4830 |
|
4831 |
-
#: includes/wc-functions.php:
|
4832 |
msgid "Please enter your current password."
|
4833 |
msgstr ""
|
4834 |
|
4835 |
-
#: includes/wc-functions.php:
|
4836 |
msgid "Please re-enter your password."
|
4837 |
msgstr ""
|
4838 |
|
4839 |
-
#: includes/wc-functions.php:
|
4840 |
msgid "New passwords do not match."
|
4841 |
msgstr ""
|
4842 |
|
4843 |
-
#: includes/wc-functions.php:
|
4844 |
msgid "Account details changed successfully."
|
4845 |
msgstr ""
|
4846 |
|
4847 |
-
#: includes/wc-functions.php:
|
4848 |
msgid "More Products"
|
4849 |
msgstr ""
|
4850 |
|
4851 |
-
#: includes/wc-functions.php:
|
4852 |
msgid "No product has been found!"
|
4853 |
msgstr ""
|
4854 |
|
@@ -5034,19 +5068,19 @@ msgstr ""
|
|
5034 |
msgid "Payment Options"
|
5035 |
msgstr ""
|
5036 |
|
5037 |
-
#: src/admin/pages/AddVendor.vue:
|
5038 |
msgid "Vendor Created"
|
5039 |
msgstr ""
|
5040 |
|
5041 |
-
#: src/admin/pages/AddVendor.vue:
|
5042 |
msgid "A vendor has been created successfully!"
|
5043 |
msgstr ""
|
5044 |
|
5045 |
-
#: src/admin/pages/AddVendor.vue:
|
5046 |
msgid "Add Another"
|
5047 |
msgstr ""
|
5048 |
|
5049 |
-
#: src/admin/pages/AddVendor.vue:
|
5050 |
msgid "Edit Vendor"
|
5051 |
msgstr ""
|
5052 |
|
@@ -5771,14 +5805,9 @@ msgstr ""
|
|
5771 |
#: src/admin/pages/VendorSocialFields.vue:32
|
5772 |
#: src/admin/pages/VendorSocialFields.vue:37
|
5773 |
#: src/admin/pages/VendorSocialFields.vue:42
|
5774 |
-
#: src/admin/pages/VendorSocialFields.vue:47
|
5775 |
msgid "https://example.com"
|
5776 |
msgstr ""
|
5777 |
|
5778 |
-
#: src/admin/pages/VendorSocialFields.vue:21
|
5779 |
-
msgid "Google Plus"
|
5780 |
-
msgstr ""
|
5781 |
-
|
5782 |
#: src/admin/pages/Vendors.vue:7
|
5783 |
msgid "Add New"
|
5784 |
msgstr ""
|
@@ -6077,7 +6106,7 @@ msgstr ""
|
|
6077 |
|
6078 |
#: templates/dashboard/big-counter-widget.php:21
|
6079 |
#: templates/orders/listing.php:53 templates/orders/listing.php:83
|
6080 |
-
#: templates/products/products-listing-row.php:
|
6081 |
#: templates/products/products-listing.php:102
|
6082 |
msgid "Earning"
|
6083 |
msgstr ""
|
@@ -6248,6 +6277,11 @@ msgstr ""
|
|
6248 |
msgid "has been approved by one of our admin, congrats!"
|
6249 |
msgstr ""
|
6250 |
|
|
|
|
|
|
|
|
|
|
|
6251 |
#: templates/emails/plain/vendor-new-order.php:16
|
6252 |
#: templates/emails/vendor-new-order.php:31
|
6253 |
msgid "You have received an order from %s."
|
@@ -6296,24 +6330,28 @@ msgstr ""
|
|
6296 |
msgid "To Edit product click : <a href=\"%s\">here</a>"
|
6297 |
msgstr ""
|
6298 |
|
|
|
6299 |
#: templates/emails/vendor-new-order.php:38
|
6300 |
#. translators: %s: Order ID.
|
6301 |
msgid "[Order #%s]"
|
6302 |
msgstr ""
|
6303 |
|
|
|
6304 |
#: templates/emails/vendor-new-order.php:47
|
6305 |
msgid "Quantity"
|
6306 |
msgstr ""
|
6307 |
|
|
|
6308 |
#: templates/emails/vendor-new-order.php:48
|
6309 |
#: templates/products/new-product-single.php:195
|
6310 |
#: templates/products/new-product.php:156
|
6311 |
-
#: templates/products/products-listing-row.php:
|
6312 |
#: templates/products/products-listing.php:101
|
6313 |
#: templates/products/tmpl-add-product-popup.php:55
|
6314 |
msgid "Price"
|
6315 |
msgstr ""
|
6316 |
|
|
|
6317 |
#: templates/emails/vendor-new-order.php:84 templates/sub-orders.php:16
|
6318 |
msgid "Note:"
|
6319 |
msgstr ""
|
@@ -6441,7 +6479,7 @@ msgstr ""
|
|
6441 |
|
6442 |
#: templates/my-orders.php:28 templates/orders/listing.php:56
|
6443 |
#: templates/orders/listing.php:111
|
6444 |
-
#: templates/products/products-listing-row.php:
|
6445 |
#: templates/products/products-listing.php:105 templates/sub-orders.php:26
|
6446 |
#: templates/withdraw/approved-request-listing.php:16
|
6447 |
#: templates/withdraw/cancelled-request-listing.php:16
|
@@ -6601,7 +6639,7 @@ msgstr ""
|
|
6601 |
msgid "Date Shipped"
|
6602 |
msgstr ""
|
6603 |
|
6604 |
-
#: templates/orders/details.php:
|
6605 |
msgid "Add Tracking Details"
|
6606 |
msgstr ""
|
6607 |
|
@@ -6639,12 +6677,12 @@ msgid "Order %s"
|
|
6639 |
msgstr ""
|
6640 |
|
6641 |
#: templates/orders/listing.php:114
|
6642 |
-
#: templates/products/products-listing-row.php:
|
6643 |
msgid "Unpublished"
|
6644 |
msgstr ""
|
6645 |
|
6646 |
#: templates/orders/listing.php:121
|
6647 |
-
#: templates/products/products-listing-row.php:
|
6648 |
msgid "%s ago"
|
6649 |
msgstr ""
|
6650 |
|
@@ -6715,7 +6753,7 @@ msgid "← Orders"
|
|
6715 |
msgstr ""
|
6716 |
|
6717 |
#: templates/products/download-virtual.php:4
|
6718 |
-
#: templates/products/products-listing-row.php:
|
6719 |
msgid "Downloadable"
|
6720 |
msgstr ""
|
6721 |
|
@@ -6724,7 +6762,7 @@ msgid "Downloadable products give access to a file upon purchase."
|
|
6724 |
msgstr ""
|
6725 |
|
6726 |
#: templates/products/download-virtual.php:9
|
6727 |
-
#: templates/products/products-listing-row.php:
|
6728 |
msgid "Virtual"
|
6729 |
msgstr ""
|
6730 |
|
@@ -6745,7 +6783,7 @@ msgid "Add File"
|
|
6745 |
msgstr ""
|
6746 |
|
6747 |
#: templates/products/downloadable.php:35
|
6748 |
-
#: templates/products/products-listing-row.php:
|
6749 |
#: templates/products/products-listing.php:94
|
6750 |
msgid "Name"
|
6751 |
msgstr ""
|
@@ -6785,7 +6823,7 @@ msgid "Manage inventory for this product."
|
|
6785 |
msgstr ""
|
6786 |
|
6787 |
#: templates/products/inventory.php:14
|
6788 |
-
#: templates/products/products-listing-row.php:
|
6789 |
#: templates/products/products-listing.php:99
|
6790 |
msgid "SKU"
|
6791 |
msgstr ""
|
@@ -7070,54 +7108,54 @@ msgstr ""
|
|
7070 |
msgid "Enable product reviews"
|
7071 |
msgstr ""
|
7072 |
|
7073 |
-
#: templates/products/products-listing-row.php:
|
7074 |
#: templates/products/products-listing.php:93
|
7075 |
msgid "Image"
|
7076 |
msgstr ""
|
7077 |
|
7078 |
-
#: templates/products/products-listing-row.php:
|
7079 |
#: templates/products/products-listing.php:103
|
7080 |
msgid "Type"
|
7081 |
msgstr ""
|
7082 |
|
7083 |
-
#: templates/products/products-listing-row.php:
|
7084 |
msgid "Grouped"
|
7085 |
msgstr ""
|
7086 |
|
7087 |
-
#: templates/products/products-listing-row.php:
|
7088 |
msgid "External/Affiliate"
|
7089 |
msgstr ""
|
7090 |
|
7091 |
-
#: templates/products/products-listing-row.php:
|
7092 |
msgid "Simple"
|
7093 |
msgstr ""
|
7094 |
|
7095 |
-
#: templates/products/products-listing-row.php:
|
7096 |
msgid "Variable"
|
7097 |
msgstr ""
|
7098 |
|
7099 |
-
#: templates/products/products-listing-row.php:
|
7100 |
#: templates/products/products-listing.php:104
|
7101 |
msgid "Views"
|
7102 |
msgstr ""
|
7103 |
|
7104 |
-
#: templates/products/products-listing-row.php:
|
7105 |
msgid "Y/m/d g:i:s A"
|
7106 |
msgstr ""
|
7107 |
|
7108 |
-
#: templates/products/products-listing-row.php:
|
7109 |
msgid "Y/m/d"
|
7110 |
msgstr ""
|
7111 |
|
7112 |
-
#: templates/products/products-listing-row.php:
|
7113 |
msgid "Published"
|
7114 |
msgstr ""
|
7115 |
|
7116 |
-
#: templates/products/products-listing-row.php:
|
7117 |
msgid "Missed schedule"
|
7118 |
msgstr ""
|
7119 |
|
7120 |
-
#: templates/products/products-listing-row.php:
|
7121 |
msgid "Last Modified"
|
7122 |
msgstr ""
|
7123 |
|
@@ -7356,7 +7394,7 @@ msgstr ""
|
|
7356 |
msgid "<span> %s %s %s </span>"
|
7357 |
msgstr ""
|
7358 |
|
7359 |
-
#: templates/widgets/widget-content-product.php:
|
7360 |
msgid "No products found"
|
7361 |
msgstr ""
|
7362 |
|
2 |
# This file is distributed under the GPL2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Dokan 3.2.2\n"
|
6 |
"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
|
7 |
+
"POT-Creation-Date: 2021-03-05 09:02:34+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=utf-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
52 |
|
53 |
#: dokan.php:444 includes/Admin/AdminBar.php:81 includes/Admin/Menu.php:64
|
54 |
#: includes/Dashboard/Templates/Settings.php:59
|
55 |
+
#: includes/Dashboard/Templates/Settings.php:64 includes/template-tags.php:413
|
56 |
#: src/admin/pages/Settings.vue:6
|
57 |
msgid "Settings"
|
58 |
msgstr ""
|
122 |
|
123 |
#: includes/Admin/AdminBar.php:54 includes/Admin/Menu.php:43
|
124 |
#: includes/Admin/Settings.php:491 includes/Install/Installer.php:157
|
125 |
+
#: includes/template-tags.php:382 src/admin/pages/Dashboard.vue:5
|
126 |
msgid "Dashboard"
|
127 |
msgstr ""
|
128 |
|
129 |
#: includes/Admin/AdminBar.php:63 includes/Admin/Menu.php:32
|
130 |
#: includes/Admin/Menu.php:44 includes/Admin/SetupWizard.php:160
|
131 |
+
#: includes/functions.php:2954 includes/template-tags.php:404
|
132 |
#: templates/withdraw/header.php:11
|
133 |
msgid "Withdraw"
|
134 |
msgstr ""
|
502 |
msgid "Allow vendor to update order status"
|
503 |
msgstr ""
|
504 |
|
505 |
+
#: includes/Admin/Settings.php:464 includes/Admin/SetupWizard.php:467
|
506 |
msgid "Withdraw Methods"
|
507 |
msgstr ""
|
508 |
|
510 |
msgid "Select suitable Withdraw methods for Vendors"
|
511 |
msgstr ""
|
512 |
|
513 |
+
#: includes/Admin/Settings.php:472 includes/Admin/SetupWizard.php:504
|
514 |
msgid "Minimum Withdraw Limit"
|
515 |
msgstr ""
|
516 |
|
683 |
msgid "Select a page to show your privacy policy"
|
684 |
msgstr ""
|
685 |
|
686 |
+
#: includes/Admin/Settings.php:635 includes/functions.php:3526
|
687 |
msgid ""
|
688 |
"Your personal data will be used to support your experience throughout this "
|
689 |
"website, to manage access to your account, and for other purposes described "
|
703 |
msgstr ""
|
704 |
|
705 |
#: includes/Admin/SetupWizard.php:150 includes/Vendor/SetupWizard.php:75
|
706 |
+
#: includes/template-tags.php:427
|
707 |
msgid "Store"
|
708 |
msgstr ""
|
709 |
|
755 |
msgid "Not right now"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: includes/Admin/SetupWizard.php:463
|
759 |
msgid "Withdraw Setup"
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: includes/Admin/SetupWizard.php:480
|
763 |
#. translators: %s: withdraw method name
|
764 |
msgid "Enable %s for your vendor as a withdraw method"
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: includes/Admin/SetupWizard.php:507
|
768 |
msgid ""
|
769 |
"Minimum balance required to make a withdraw request ( Leave it blank to set "
|
770 |
"no limits )"
|
771 |
msgstr ""
|
772 |
|
773 |
+
#: includes/Admin/SetupWizard.php:511
|
774 |
msgid "Order Status for Withdraw"
|
775 |
msgstr ""
|
776 |
|
777 |
+
#: includes/Admin/SetupWizard.php:517
|
778 |
#: includes/Dashboard/Templates/Dashboard.php:101
|
779 |
+
#: includes/Order/functions.php:527 templates/dashboard/orders-widget.php:26
|
780 |
msgid "Completed"
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: includes/Admin/SetupWizard.php:523
|
784 |
#: includes/Dashboard/Templates/Dashboard.php:111
|
785 |
+
#: includes/Order/functions.php:542 templates/dashboard/orders-widget.php:36
|
786 |
#: templates/orders/listing.php:140
|
787 |
msgid "Processing"
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: includes/Admin/SetupWizard.php:529 includes/Order/functions.php:537
|
791 |
msgid "On-hold"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: includes/Admin/SetupWizard.php:534
|
795 |
msgid "Order status for which vendor can make a withdraw request."
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: includes/Admin/SetupWizard.php:539 includes/Admin/SetupWizard.php:602
|
799 |
#: includes/Admin/SetupWizardWCAdmin.php:232
|
800 |
#: includes/Vendor/SetupWizard.php:243 includes/Vendor/SetupWizard.php:390
|
801 |
#: templates/admin-setup-wizard/step-selling.php:53
|
803 |
msgid "Continue"
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: includes/Admin/SetupWizard.php:540 includes/Vendor/SetupWizard.php:244
|
807 |
#: includes/Vendor/SetupWizard.php:391
|
808 |
#: templates/admin-setup-wizard/step-selling.php:54
|
809 |
#: templates/admin-setup-wizard/step-store.php:101
|
810 |
msgid "Skip this step"
|
811 |
msgstr ""
|
812 |
|
813 |
+
#: includes/Admin/SetupWizard.php:556
|
814 |
msgid "Recommended for All Dokan Marketplaces"
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: includes/Admin/SetupWizard.php:558
|
818 |
msgid "Enhance your store with these recommended features."
|
819 |
msgstr ""
|
820 |
|
821 |
+
#: includes/Admin/SetupWizard.php:568 includes/Admin/SetupWizard.php:574
|
822 |
+
#: includes/Admin/SetupWizard.php:626
|
823 |
msgid "WooCommerce Conversion Tracking"
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: includes/Admin/SetupWizard.php:569
|
827 |
msgid "Track conversions on your WooCommerce store like a pro!"
|
828 |
msgstr ""
|
829 |
|
830 |
+
#: includes/Admin/SetupWizard.php:571
|
831 |
msgid "WooCommerce Conversion Tracking logo"
|
832 |
msgstr ""
|
833 |
|
834 |
+
#: includes/Admin/SetupWizard.php:584 includes/Admin/SetupWizard.php:590
|
835 |
+
#: includes/Admin/SetupWizard.php:637
|
836 |
msgid "weMail"
|
837 |
msgstr ""
|
838 |
|
839 |
+
#: includes/Admin/SetupWizard.php:585
|
840 |
msgid "Simplified Email Marketing Solution for WordPress!"
|
841 |
msgstr ""
|
842 |
|
843 |
+
#: includes/Admin/SetupWizard.php:587
|
844 |
msgid "weMail logo"
|
845 |
msgstr ""
|
846 |
|
847 |
+
#: includes/Admin/SetupWizard.php:697
|
848 |
msgid "Your Marketplace is Ready!"
|
849 |
msgstr ""
|
850 |
|
851 |
+
#: includes/Admin/SetupWizard.php:702
|
852 |
msgid "Visit Dokan Dashboard"
|
853 |
msgstr ""
|
854 |
|
855 |
+
#: includes/Admin/SetupWizard.php:703
|
856 |
msgid "More Settings"
|
857 |
msgstr ""
|
858 |
|
859 |
+
#: includes/Admin/SetupWizard.php:814
|
860 |
msgid "The following plugins will be installed and activated for you:"
|
861 |
msgstr ""
|
862 |
|
869 |
msgstr ""
|
870 |
|
871 |
#: includes/Admin/SetupWizardNoWC.php:176 includes/Vendor/SetupWizard.php:80
|
872 |
+
#: includes/template-tags.php:434
|
873 |
msgid "Payment"
|
874 |
msgstr ""
|
875 |
|
961 |
msgid "Not Available"
|
962 |
msgstr ""
|
963 |
|
964 |
+
#: includes/Admin/UserProfile.php:88 includes/Privacy.php:226
|
965 |
#: includes/Vendor/SetupWizard.php:213
|
966 |
#: src/admin/pages/VendorAddressFields.vue:31
|
967 |
#: templates/admin-setup-wizard/step-store-wc-fields.php:24
|
1006 |
msgid "Store URL"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
+
#: includes/Admin/UserProfile.php:150 includes/Privacy.php:222
|
1010 |
msgid "Address 1"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
+
#: includes/Admin/UserProfile.php:157 includes/Privacy.php:223
|
1014 |
msgid "Address 2"
|
1015 |
msgstr ""
|
1016 |
|
1050 |
msgid "Bank Address "
|
1051 |
msgstr ""
|
1052 |
|
1053 |
+
#: includes/Admin/UserProfile.php:276 includes/Privacy.php:278
|
1054 |
#: src/admin/pages/VendorPaymentFields.vue:30
|
1055 |
msgid "Routing Number"
|
1056 |
msgstr ""
|
1187 |
msgid "Please provide your name."
|
1188 |
msgstr ""
|
1189 |
|
1190 |
+
#: includes/Ajax.php:342 includes/template-tags.php:165
|
1191 |
msgid "Something went wrong!"
|
1192 |
msgstr ""
|
1193 |
|
1639 |
msgstr ""
|
1640 |
|
1641 |
#: includes/Dashboard/Templates/Dashboard.php:116
|
1642 |
+
#: includes/Order/functions.php:552 src/admin/pages/Withdraw.vue:25
|
1643 |
#: templates/dashboard/orders-widget.php:41
|
1644 |
msgid "Cancelled"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
#: includes/Dashboard/Templates/Dashboard.php:121
|
1648 |
+
#: includes/Order/functions.php:547 templates/dashboard/orders-widget.php:46
|
1649 |
msgid "Refunded"
|
1650 |
msgstr ""
|
1651 |
|
1751 |
msgid "Address field for %s is required"
|
1752 |
msgstr ""
|
1753 |
|
1754 |
+
#: includes/Dashboard/Templates/Settings.php:628
|
1755 |
msgid "Book"
|
1756 |
msgstr ""
|
1757 |
|
1758 |
+
#: includes/Dashboard/Templates/Settings.php:629
|
1759 |
msgid "Dress"
|
1760 |
msgstr ""
|
1761 |
|
1762 |
+
#: includes/Dashboard/Templates/Settings.php:630
|
1763 |
msgid "Electronic"
|
1764 |
msgstr ""
|
1765 |
|
1850 |
#: includes/Emails/ContactSeller.php:133 includes/Emails/NewProduct.php:161
|
1851 |
#: includes/Emails/NewProductPending.php:153 includes/Emails/NewSeller.php:138
|
1852 |
#: includes/Emails/ProductPublished.php:146
|
1853 |
+
#: includes/Emails/VendorCompletedOrder.php:155
|
1854 |
#: includes/Emails/VendorNewOrder.php:160
|
1855 |
#: includes/Emails/VendorWithdrawRequest.php:147
|
1856 |
#: includes/Emails/WithdrawApproved.php:143
|
1861 |
#: includes/Emails/ContactSeller.php:135 includes/Emails/NewProduct.php:163
|
1862 |
#: includes/Emails/NewProductPending.php:155 includes/Emails/NewSeller.php:140
|
1863 |
#: includes/Emails/ProductPublished.php:148
|
1864 |
+
#: includes/Emails/VendorCompletedOrder.php:157
|
1865 |
#: includes/Emails/VendorNewOrder.php:162
|
1866 |
#: includes/Emails/VendorWithdrawRequest.php:149
|
1867 |
#: includes/Emails/WithdrawApproved.php:145
|
1872 |
#: includes/Emails/ContactSeller.php:140 includes/Emails/NewProduct.php:175
|
1873 |
#: includes/Emails/NewProductPending.php:167 includes/Emails/NewSeller.php:152
|
1874 |
#: includes/Emails/ProductPublished.php:153
|
1875 |
+
#: includes/Emails/VendorCompletedOrder.php:161
|
1876 |
#: includes/Emails/VendorNewOrder.php:166
|
1877 |
#: includes/Emails/VendorWithdrawRequest.php:161
|
1878 |
#: includes/Emails/WithdrawApproved.php:149
|
1886 |
#: includes/Emails/NewProductPending.php:180 includes/Emails/NewSeller.php:156
|
1887 |
#: includes/Emails/NewSeller.php:165 includes/Emails/ProductPublished.php:157
|
1888 |
#: includes/Emails/ProductPublished.php:166
|
1889 |
+
#: includes/Emails/VendorCompletedOrder.php:165
|
1890 |
+
#: includes/Emails/VendorCompletedOrder.php:174
|
1891 |
#: includes/Emails/VendorNewOrder.php:170
|
1892 |
#: includes/Emails/VendorNewOrder.php:179
|
1893 |
#: includes/Emails/VendorWithdrawRequest.php:165
|
1903 |
#: includes/Emails/ContactSeller.php:149 includes/Emails/NewProduct.php:184
|
1904 |
#: includes/Emails/NewProductPending.php:176 includes/Emails/NewSeller.php:161
|
1905 |
#: includes/Emails/ProductPublished.php:162
|
1906 |
+
#: includes/Emails/VendorCompletedOrder.php:170
|
1907 |
#: includes/Emails/VendorNewOrder.php:175
|
1908 |
#: includes/Emails/VendorWithdrawRequest.php:170
|
1909 |
#: includes/Emails/WithdrawApproved.php:158
|
1914 |
#: includes/Emails/ContactSeller.php:158 includes/Emails/NewProduct.php:193
|
1915 |
#: includes/Emails/NewProductPending.php:185 includes/Emails/NewSeller.php:170
|
1916 |
#: includes/Emails/ProductPublished.php:171
|
1917 |
+
#: includes/Emails/VendorCompletedOrder.php:179
|
1918 |
#: includes/Emails/VendorNewOrder.php:184
|
1919 |
#: includes/Emails/VendorWithdrawRequest.php:179
|
1920 |
#: includes/Emails/WithdrawApproved.php:167
|
1925 |
#: includes/Emails/ContactSeller.php:160 includes/Emails/NewProduct.php:195
|
1926 |
#: includes/Emails/NewProductPending.php:187 includes/Emails/NewSeller.php:172
|
1927 |
#: includes/Emails/ProductPublished.php:173
|
1928 |
+
#: includes/Emails/VendorCompletedOrder.php:181
|
1929 |
#: includes/Emails/VendorNewOrder.php:186
|
1930 |
#: includes/Emails/VendorWithdrawRequest.php:181
|
1931 |
#: includes/Emails/WithdrawApproved.php:169
|
1933 |
msgid "Choose which format of email to send."
|
1934 |
msgstr ""
|
1935 |
|
1936 |
+
#: includes/Emails/Manager.php:199
|
1937 |
+
#. translators: %1: from name, %2: from name
|
1938 |
msgid "\"%1$s\" sent you a message from your \"%2$s\" store"
|
1939 |
msgstr ""
|
1940 |
|
1941 |
+
#: includes/Emails/Manager.php:251
|
1942 |
+
#. translators: %1: from name, %2: status
|
1943 |
msgid "[%1$s] Refund Request %2$s"
|
1944 |
msgstr ""
|
1945 |
|
1946 |
+
#: includes/Emails/Manager.php:285
|
1947 |
+
#. translators: %s: from name
|
1948 |
msgid "[%s] New Refund Request"
|
1949 |
msgstr ""
|
1950 |
|
1951 |
+
#: includes/Emails/Manager.php:342
|
1952 |
+
#. translators: %s: from name
|
1953 |
msgid "[%s] New Withdraw Request"
|
1954 |
msgstr ""
|
1955 |
|
1956 |
+
#: includes/Emails/Manager.php:365
|
1957 |
+
#. translators: %s: from name
|
1958 |
msgid "[%s] Your Withdraw Request has been approved"
|
1959 |
msgstr ""
|
1960 |
|
1961 |
+
#: includes/Emails/Manager.php:389
|
1962 |
+
#. translators: %s: from name
|
1963 |
msgid "[%s] Your Withdraw Request has been cancelled"
|
1964 |
msgstr ""
|
1965 |
|
1966 |
+
#: includes/Emails/Manager.php:428
|
1967 |
+
#. translators: %s: from name
|
1968 |
msgid "[%s] New Vendor Registered"
|
1969 |
msgstr ""
|
1970 |
|
1971 |
+
#: includes/Emails/Manager.php:482
|
1972 |
+
#. translators: %s: from name
|
1973 |
msgid "[%s] New Product Added"
|
1974 |
msgstr ""
|
1975 |
|
1976 |
+
#: includes/Emails/Manager.php:523
|
1977 |
+
#. translators: %s: from name
|
1978 |
msgid "[%s] Your product has been approved!"
|
1979 |
msgstr ""
|
1980 |
|
2064 |
msgid "{product_title} - is published"
|
2065 |
msgstr ""
|
2066 |
|
2067 |
+
#: includes/Emails/VendorCompletedOrder.php:25
|
2068 |
+
msgid "Dokan Vendor Completed Order"
|
2069 |
+
msgstr ""
|
2070 |
+
|
2071 |
+
#: includes/Emails/VendorCompletedOrder.php:26
|
2072 |
+
msgid ""
|
2073 |
+
"Completed order emails are sent to chosen recipient(s) when a order is "
|
2074 |
+
"completed."
|
2075 |
+
msgstr ""
|
2076 |
+
|
2077 |
+
#: includes/Emails/VendorCompletedOrder.php:54
|
2078 |
+
msgid ""
|
2079 |
+
"[{site_title}] Your customer order is now complete ({order_number}) - "
|
2080 |
+
"{order_date}"
|
2081 |
+
msgstr ""
|
2082 |
+
|
2083 |
+
#: includes/Emails/VendorCompletedOrder.php:64
|
2084 |
+
msgid "Complete Customer Order: #{order_number}"
|
2085 |
+
msgstr ""
|
2086 |
+
|
2087 |
#: includes/Emails/VendorNewOrder.php:25
|
2088 |
msgid "Dokan Vendor New Order"
|
2089 |
msgstr ""
|
2173 |
msgid "Stock levels reduced:"
|
2174 |
msgstr ""
|
2175 |
|
2176 |
+
#: includes/Order/functions.php:532
|
2177 |
msgid "Pending Payment"
|
2178 |
msgstr ""
|
2179 |
|
2180 |
+
#: includes/Order/functions.php:557
|
2181 |
msgid "Failed"
|
2182 |
msgstr ""
|
2183 |
|
2184 |
+
#: includes/Order/functions.php:809
|
2185 |
msgid "Order No"
|
2186 |
msgstr ""
|
2187 |
|
2188 |
+
#: includes/Order/functions.php:810 templates/orders/details.php:21
|
2189 |
msgid "Order Items"
|
2190 |
msgstr ""
|
2191 |
|
2192 |
+
#: includes/Order/functions.php:811
|
2193 |
msgid "Shipping method"
|
2194 |
msgstr ""
|
2195 |
|
2196 |
+
#: includes/Order/functions.php:812
|
2197 |
msgid "Shipping Cost"
|
2198 |
msgstr ""
|
2199 |
|
2200 |
+
#: includes/Order/functions.php:813
|
2201 |
msgid "Payment method"
|
2202 |
msgstr ""
|
2203 |
|
2204 |
+
#: includes/Order/functions.php:814 templates/orders/listing.php:52
|
2205 |
#: templates/orders/listing.php:80
|
2206 |
msgid "Order Total"
|
2207 |
msgstr ""
|
2208 |
|
2209 |
+
#: includes/Order/functions.php:815 includes/REST/OrderController.php:102
|
2210 |
msgid "Order Status"
|
2211 |
msgstr ""
|
2212 |
|
2213 |
+
#: includes/Order/functions.php:816
|
2214 |
msgid "Order Date"
|
2215 |
msgstr ""
|
2216 |
|
2217 |
+
#: includes/Order/functions.php:817
|
2218 |
msgid "Billing Company"
|
2219 |
msgstr ""
|
2220 |
|
2221 |
+
#: includes/Order/functions.php:818
|
2222 |
msgid "Billing First Name"
|
2223 |
msgstr ""
|
2224 |
|
2225 |
+
#: includes/Order/functions.php:819
|
2226 |
msgid "Billing Last Name"
|
2227 |
msgstr ""
|
2228 |
|
2229 |
+
#: includes/Order/functions.php:820
|
2230 |
msgid "Billing Full Name"
|
2231 |
msgstr ""
|
2232 |
|
2233 |
+
#: includes/Order/functions.php:821
|
2234 |
msgid "Billing Email"
|
2235 |
msgstr ""
|
2236 |
|
2237 |
+
#: includes/Order/functions.php:822
|
2238 |
msgid "Billing Phone"
|
2239 |
msgstr ""
|
2240 |
|
2241 |
+
#: includes/Order/functions.php:823
|
2242 |
msgid "Billing Address 1"
|
2243 |
msgstr ""
|
2244 |
|
2245 |
+
#: includes/Order/functions.php:824
|
2246 |
msgid "Billing Address 2"
|
2247 |
msgstr ""
|
2248 |
|
2249 |
+
#: includes/Order/functions.php:825
|
2250 |
msgid "Billing City"
|
2251 |
msgstr ""
|
2252 |
|
2253 |
+
#: includes/Order/functions.php:826
|
2254 |
msgid "Billing State"
|
2255 |
msgstr ""
|
2256 |
|
2257 |
+
#: includes/Order/functions.php:827
|
2258 |
msgid "Billing Postcode"
|
2259 |
msgstr ""
|
2260 |
|
2261 |
+
#: includes/Order/functions.php:828
|
2262 |
msgid "Billing Country"
|
2263 |
msgstr ""
|
2264 |
|
2265 |
+
#: includes/Order/functions.php:829
|
2266 |
msgid "Shipping Company"
|
2267 |
msgstr ""
|
2268 |
|
2269 |
+
#: includes/Order/functions.php:830
|
2270 |
msgid "Shipping First Name"
|
2271 |
msgstr ""
|
2272 |
|
2273 |
+
#: includes/Order/functions.php:831
|
2274 |
msgid "Shipping Last Name"
|
2275 |
msgstr ""
|
2276 |
|
2277 |
+
#: includes/Order/functions.php:832
|
2278 |
msgid "Shipping Full Name"
|
2279 |
msgstr ""
|
2280 |
|
2281 |
+
#: includes/Order/functions.php:833
|
2282 |
msgid "Shipping Address 1"
|
2283 |
msgstr ""
|
2284 |
|
2285 |
+
#: includes/Order/functions.php:834
|
2286 |
msgid "Shipping Address 2"
|
2287 |
msgstr ""
|
2288 |
|
2289 |
+
#: includes/Order/functions.php:835
|
2290 |
msgid "Shipping City"
|
2291 |
msgstr ""
|
2292 |
|
2293 |
+
#: includes/Order/functions.php:836
|
2294 |
msgid "Shipping State"
|
2295 |
msgstr ""
|
2296 |
|
2297 |
+
#: includes/Order/functions.php:837
|
2298 |
msgid "Shipping Postcode"
|
2299 |
msgstr ""
|
2300 |
|
2301 |
+
#: includes/Order/functions.php:838
|
2302 |
msgid "Shipping Country"
|
2303 |
msgstr ""
|
2304 |
|
2305 |
+
#: includes/Order/functions.php:839
|
2306 |
msgid "Customer IP"
|
2307 |
msgstr ""
|
2308 |
|
2309 |
+
#: includes/Order/functions.php:840
|
2310 |
msgid "Customer Note"
|
2311 |
msgstr ""
|
2312 |
|
2544 |
msgid "Gravatar Url"
|
2545 |
msgstr ""
|
2546 |
|
2547 |
+
#: includes/Privacy.php:201 includes/functions.php:2321
|
2548 |
#: src/admin/pages/VendorSocialFields.vue:11
|
2549 |
msgid "Facebook"
|
2550 |
msgstr ""
|
2551 |
|
2552 |
+
#: includes/Privacy.php:202 includes/functions.php:2325
|
2553 |
+
#: src/admin/pages/VendorSocialFields.vue:21
|
|
|
|
|
|
|
|
|
2554 |
msgid "Twitter"
|
2555 |
msgstr ""
|
2556 |
|
2557 |
+
#: includes/Privacy.php:203 includes/functions.php:2329
|
2558 |
+
#: src/admin/pages/VendorSocialFields.vue:36
|
2559 |
msgid "Pinterest"
|
2560 |
msgstr ""
|
2561 |
|
2562 |
+
#: includes/Privacy.php:204 src/admin/pages/VendorSocialFields.vue:31
|
2563 |
msgid "Linkedin"
|
2564 |
msgstr ""
|
2565 |
|
2566 |
+
#: includes/Privacy.php:205 includes/functions.php:2337
|
2567 |
+
#: src/admin/pages/VendorSocialFields.vue:26
|
2568 |
msgid "Youtube"
|
2569 |
msgstr ""
|
2570 |
|
2571 |
+
#: includes/Privacy.php:206 includes/functions.php:2341
|
2572 |
+
#: src/admin/pages/VendorSocialFields.vue:41
|
2573 |
msgid "Instagram"
|
2574 |
msgstr ""
|
2575 |
|
2576 |
+
#: includes/Privacy.php:207 includes/functions.php:2345
|
2577 |
#: src/admin/pages/VendorSocialFields.vue:16
|
2578 |
msgid "Flickr"
|
2579 |
msgstr ""
|
2580 |
|
2581 |
+
#: includes/Privacy.php:224 includes/Vendor/SetupWizard.php:203
|
2582 |
#: src/admin/pages/VendorAddressFields.vue:21
|
2583 |
#: src/admin/pages/VendorAddressFields.vue:22
|
2584 |
#: templates/admin-setup-wizard/step-store-wc-fields.php:51
|
2586 |
msgid "City"
|
2587 |
msgstr ""
|
2588 |
|
2589 |
+
#: includes/Privacy.php:225
|
2590 |
msgid "Postal Code"
|
2591 |
msgstr ""
|
2592 |
|
2593 |
+
#: includes/Privacy.php:227 includes/Vendor/SetupWizard.php:221
|
2594 |
#: src/admin/pages/VendorAddressFields.vue:36
|
2595 |
#: src/admin/pages/VendorAddressFields.vue:38
|
2596 |
#: templates/admin-setup-wizard/step-store-wc-fields.php:58
|
2598 |
msgid "State"
|
2599 |
msgstr ""
|
2600 |
|
2601 |
+
#: includes/Privacy.php:272
|
2602 |
msgid "Bank Details"
|
2603 |
msgstr ""
|
2604 |
|
2605 |
+
#: includes/Privacy.php:274 src/admin/pages/VendorPaymentFields.vue:10
|
2606 |
#: src/admin/pages/VendorPaymentFields.vue:11
|
2607 |
msgid "Account Name"
|
2608 |
msgstr ""
|
2609 |
|
2610 |
+
#: includes/Privacy.php:275 src/admin/pages/VendorPaymentFields.vue:15
|
2611 |
msgid "Account Number"
|
2612 |
msgstr ""
|
2613 |
|
2614 |
+
#: includes/Privacy.php:276 src/admin/pages/VendorPaymentFields.vue:20
|
2615 |
#: src/admin/pages/VendorPaymentFields.vue:21
|
2616 |
msgid "Bank Name"
|
2617 |
msgstr ""
|
2618 |
|
2619 |
+
#: includes/Privacy.php:277 src/admin/pages/VendorPaymentFields.vue:25
|
2620 |
#: src/admin/pages/VendorPaymentFields.vue:26
|
2621 |
msgid "Bank Address"
|
2622 |
msgstr ""
|
2623 |
|
2624 |
+
#: includes/Privacy.php:279 includes/Withdraw/functions.php:207
|
2625 |
#: src/admin/pages/VendorPaymentFields.vue:35
|
2626 |
msgid "IBAN"
|
2627 |
msgstr ""
|
2628 |
|
2629 |
+
#: includes/Privacy.php:280
|
2630 |
msgid "Swift Code"
|
2631 |
msgstr ""
|
2632 |
|
2633 |
+
#: includes/Privacy.php:291 src/admin/pages/VendorPaymentFields.vue:55
|
2634 |
msgid "PayPal Email"
|
2635 |
msgstr ""
|
2636 |
|
2637 |
+
#: includes/Privacy.php:296
|
2638 |
msgid "Skrill Email"
|
2639 |
msgstr ""
|
2640 |
|
2641 |
+
#: includes/Privacy.php:369
|
2642 |
#. translators: vendor name.
|
2643 |
msgid "Vendor %s data is removed."
|
2644 |
msgstr ""
|
2667 |
|
2668 |
#: includes/Product/functions.php:163 templates/my-orders.php:29
|
2669 |
#: templates/orders/listing.php:54 templates/orders/listing.php:86
|
2670 |
+
#: templates/products/products-listing-row.php:58
|
2671 |
#: templates/products/products-listing.php:95 templates/sub-orders.php:27
|
2672 |
#: templates/withdraw/pending-request-listing.php:18
|
2673 |
msgid "Status"
|
2726 |
msgstr ""
|
2727 |
|
2728 |
#: includes/Product/functions.php:179
|
2729 |
+
#: templates/products/products-listing-row.php:73
|
2730 |
#: templates/products/products-listing.php:100
|
2731 |
msgid "Stock"
|
2732 |
msgstr ""
|
2800 |
msgstr ""
|
2801 |
|
2802 |
#: includes/Product/functions.php:269 src/admin/components/ColorPicker.vue:31
|
2803 |
+
#: src/upgrade/App.vue:49 templates/orders/details.php:356
|
2804 |
#: templates/settings/store-form.php:258
|
2805 |
msgid "Close"
|
2806 |
msgstr ""
|
2888 |
msgid "Total"
|
2889 |
msgstr ""
|
2890 |
|
2891 |
+
#: includes/REST/AdminReportController.php:150 includes/template-tags.php:396
|
2892 |
#: templates/dashboard/orders-widget.php:15
|
2893 |
msgid "Orders"
|
2894 |
msgstr ""
|
4192 |
msgstr ""
|
4193 |
|
4194 |
#: includes/Widgets/StoreCategoryMenu.php:36
|
4195 |
+
#: includes/Widgets/StoreCategoryMenu.php:80 includes/template-tags.php:716
|
4196 |
msgid "Store Product Category"
|
4197 |
msgstr ""
|
4198 |
|
4205 |
msgstr ""
|
4206 |
|
4207 |
#: includes/Widgets/StoreContactForm.php:42
|
4208 |
+
#: includes/Widgets/StoreContactForm.php:119 includes/template-tags.php:755
|
4209 |
msgid "Contact Vendor"
|
4210 |
msgstr ""
|
4211 |
|
4218 |
msgstr ""
|
4219 |
|
4220 |
#: includes/Widgets/StoreLocation.php:42 includes/Widgets/StoreLocation.php:103
|
4221 |
+
#: includes/template-tags.php:729
|
4222 |
msgid "Store Location"
|
4223 |
msgstr ""
|
4224 |
|
4231 |
msgstr ""
|
4232 |
|
4233 |
#: includes/Widgets/StoreOpenClose.php:41
|
4234 |
+
#: includes/Widgets/StoreOpenClose.php:111 includes/template-tags.php:742
|
4235 |
msgid "Store Time"
|
4236 |
msgstr ""
|
4237 |
|
4349 |
msgid "Pending Review"
|
4350 |
msgstr ""
|
4351 |
|
4352 |
+
#: includes/functions.php:744 templates/products/products-listing-row.php:157
|
4353 |
msgid "Scheduled"
|
4354 |
msgstr ""
|
4355 |
|
4369 |
msgid "External/Affiliate Product"
|
4370 |
msgstr ""
|
4371 |
|
4372 |
+
#: includes/functions.php:1007
|
4373 |
msgid "Author"
|
4374 |
msgstr ""
|
4375 |
|
4376 |
+
#: includes/functions.php:1192 includes/template-tags.php:389
|
4377 |
#: src/admin/pages/Dashboard.vue:54 templates/dashboard/products-widget.php:16
|
4378 |
msgid "Products"
|
4379 |
msgstr ""
|
4380 |
|
4381 |
+
#: includes/functions.php:1196 templates/settings/store-form.php:200
|
4382 |
msgid "Terms and Conditions"
|
4383 |
msgstr ""
|
4384 |
|
4385 |
+
#: includes/functions.php:1235
|
4386 |
msgid "Account Name: %s"
|
4387 |
msgstr ""
|
4388 |
|
4389 |
+
#: includes/functions.php:1239
|
4390 |
msgid "Account Number: %s"
|
4391 |
msgstr ""
|
4392 |
|
4393 |
+
#: includes/functions.php:1243
|
4394 |
msgid "Bank Name: %s"
|
4395 |
msgstr ""
|
4396 |
|
4397 |
+
#: includes/functions.php:1247
|
4398 |
msgid "Address: %s"
|
4399 |
msgstr ""
|
4400 |
|
4401 |
+
#: includes/functions.php:1251
|
4402 |
msgid "Routing Number: %s"
|
4403 |
msgstr ""
|
4404 |
|
4405 |
+
#: includes/functions.php:1255
|
4406 |
msgid "IBAN: %s"
|
4407 |
msgstr ""
|
4408 |
|
4409 |
+
#: includes/functions.php:1259
|
4410 |
msgid "SWIFT: %s"
|
4411 |
msgstr ""
|
4412 |
|
4413 |
+
#: includes/functions.php:1620
|
4414 |
msgid "Date is not valid"
|
4415 |
msgstr ""
|
4416 |
|
4417 |
+
#: includes/functions.php:2069
|
4418 |
msgid "- Select a location -"
|
4419 |
msgstr ""
|
4420 |
|
4421 |
+
#: includes/functions.php:2073 includes/functions.php:2097
|
4422 |
msgid "Everywhere Else"
|
4423 |
msgstr ""
|
4424 |
|
4425 |
+
#: includes/functions.php:2093
|
4426 |
msgid "- Select a State -"
|
4427 |
msgstr ""
|
4428 |
|
4429 |
+
#: includes/functions.php:2116
|
4430 |
msgid "Ready to ship in..."
|
4431 |
msgstr ""
|
4432 |
|
4433 |
+
#: includes/functions.php:2117
|
4434 |
msgid "1 business day"
|
4435 |
msgstr ""
|
4436 |
|
4437 |
+
#: includes/functions.php:2118
|
4438 |
msgid "1-2 business days"
|
4439 |
msgstr ""
|
4440 |
|
4441 |
+
#: includes/functions.php:2119
|
4442 |
msgid "1-3 business days"
|
4443 |
msgstr ""
|
4444 |
|
4445 |
+
#: includes/functions.php:2120
|
4446 |
msgid "3-5 business days"
|
4447 |
msgstr ""
|
4448 |
|
4449 |
+
#: includes/functions.php:2121
|
4450 |
msgid "1-2 weeks"
|
4451 |
msgstr ""
|
4452 |
|
4453 |
+
#: includes/functions.php:2122
|
4454 |
msgid "2-3 weeks"
|
4455 |
msgstr ""
|
4456 |
|
4457 |
+
#: includes/functions.php:2123
|
4458 |
msgid "3-4 weeks"
|
4459 |
msgstr ""
|
4460 |
|
4461 |
+
#: includes/functions.php:2124
|
4462 |
msgid "4-6 weeks"
|
4463 |
msgstr ""
|
4464 |
|
4465 |
+
#: includes/functions.php:2125
|
4466 |
msgid "6-8 weeks"
|
4467 |
msgstr ""
|
4468 |
|
4469 |
+
#: includes/functions.php:2232
|
4470 |
msgid "All dates"
|
4471 |
msgstr ""
|
4472 |
|
4473 |
+
#: includes/functions.php:2247
|
4474 |
#. translators: 1: month name, 2: 4-digit year
|
4475 |
msgid "%1$s %2$d"
|
4476 |
msgstr ""
|
4477 |
|
4478 |
+
#: includes/functions.php:2333
|
4479 |
msgid "LinkedIn"
|
4480 |
msgstr ""
|
4481 |
|
4482 |
+
#: includes/functions.php:2614
|
4483 |
msgid "Dokan Store Sidebar"
|
4484 |
msgstr ""
|
4485 |
|
4486 |
+
#: includes/functions.php:2875
|
4487 |
msgid "View sales overview"
|
4488 |
msgstr ""
|
4489 |
|
4490 |
+
#: includes/functions.php:2876
|
4491 |
msgid "View sales report chart"
|
4492 |
msgstr ""
|
4493 |
|
4494 |
+
#: includes/functions.php:2877
|
4495 |
msgid "View announcement"
|
4496 |
msgstr ""
|
4497 |
|
4498 |
+
#: includes/functions.php:2878
|
4499 |
msgid "View order report"
|
4500 |
msgstr ""
|
4501 |
|
4502 |
+
#: includes/functions.php:2879
|
4503 |
msgid "View review report"
|
4504 |
msgstr ""
|
4505 |
|
4506 |
+
#: includes/functions.php:2880
|
4507 |
msgid "View product status report"
|
4508 |
msgstr ""
|
4509 |
|
4510 |
+
#: includes/functions.php:2883
|
4511 |
msgid "View overview report"
|
4512 |
msgstr ""
|
4513 |
|
4514 |
+
#: includes/functions.php:2884
|
4515 |
msgid "View daily sales report"
|
4516 |
msgstr ""
|
4517 |
|
4518 |
+
#: includes/functions.php:2885
|
4519 |
msgid "View top selling report"
|
4520 |
msgstr ""
|
4521 |
|
4522 |
+
#: includes/functions.php:2886
|
4523 |
msgid "View top earning report"
|
4524 |
msgstr ""
|
4525 |
|
4526 |
+
#: includes/functions.php:2887
|
4527 |
msgid "View statement report"
|
4528 |
msgstr ""
|
4529 |
|
4530 |
+
#: includes/functions.php:2890
|
4531 |
msgid "View order"
|
4532 |
msgstr ""
|
4533 |
|
4534 |
+
#: includes/functions.php:2891
|
4535 |
msgid "Manage order"
|
4536 |
msgstr ""
|
4537 |
|
4538 |
+
#: includes/functions.php:2892
|
4539 |
msgid "Manage order note"
|
4540 |
msgstr ""
|
4541 |
|
4542 |
+
#: includes/functions.php:2893
|
4543 |
msgid "Manage refund"
|
4544 |
msgstr ""
|
4545 |
|
4546 |
+
#: includes/functions.php:2897
|
4547 |
msgid "Add coupon"
|
4548 |
msgstr ""
|
4549 |
|
4550 |
+
#: includes/functions.php:2898
|
4551 |
msgid "Edit coupon"
|
4552 |
msgstr ""
|
4553 |
|
4554 |
+
#: includes/functions.php:2899
|
4555 |
msgid "Delete coupon"
|
4556 |
msgstr ""
|
4557 |
|
4558 |
+
#: includes/functions.php:2902
|
4559 |
msgid "View reviews"
|
4560 |
msgstr ""
|
4561 |
|
4562 |
+
#: includes/functions.php:2903 src/admin/pages/Premium.vue:395
|
4563 |
msgid "Manage reviews"
|
4564 |
msgstr ""
|
4565 |
|
4566 |
+
#: includes/functions.php:2907
|
4567 |
msgid "Manage withdraw"
|
4568 |
msgstr ""
|
4569 |
|
4570 |
+
#: includes/functions.php:2910
|
4571 |
msgid "Add product"
|
4572 |
msgstr ""
|
4573 |
|
4574 |
+
#: includes/functions.php:2911
|
4575 |
msgid "Edit product"
|
4576 |
msgstr ""
|
4577 |
|
4578 |
+
#: includes/functions.php:2912
|
4579 |
msgid "Delete product"
|
4580 |
msgstr ""
|
4581 |
|
4582 |
+
#: includes/functions.php:2913
|
4583 |
msgid "View product"
|
4584 |
msgstr ""
|
4585 |
|
4586 |
+
#: includes/functions.php:2914
|
4587 |
msgid "Duplicate product"
|
4588 |
msgstr ""
|
4589 |
|
4590 |
+
#: includes/functions.php:2915
|
4591 |
msgid "Import product"
|
4592 |
msgstr ""
|
4593 |
|
4594 |
+
#: includes/functions.php:2916
|
4595 |
msgid "Export product"
|
4596 |
msgstr ""
|
4597 |
|
4598 |
+
#: includes/functions.php:2919
|
4599 |
msgid "View overview menu"
|
4600 |
msgstr ""
|
4601 |
|
4602 |
+
#: includes/functions.php:2920
|
4603 |
msgid "View product menu"
|
4604 |
msgstr ""
|
4605 |
|
4606 |
+
#: includes/functions.php:2921
|
4607 |
msgid "View order menu"
|
4608 |
msgstr ""
|
4609 |
|
4610 |
+
#: includes/functions.php:2922
|
4611 |
msgid "View coupon menu"
|
4612 |
msgstr ""
|
4613 |
|
4614 |
+
#: includes/functions.php:2923
|
4615 |
msgid "View report menu"
|
4616 |
msgstr ""
|
4617 |
|
4618 |
+
#: includes/functions.php:2924
|
4619 |
msgid "Vuew review menu"
|
4620 |
msgstr ""
|
4621 |
|
4622 |
+
#: includes/functions.php:2925
|
4623 |
msgid "View withdraw menu"
|
4624 |
msgstr ""
|
4625 |
|
4626 |
+
#: includes/functions.php:2926
|
4627 |
msgid "View store settings menu"
|
4628 |
msgstr ""
|
4629 |
|
4630 |
+
#: includes/functions.php:2927
|
4631 |
msgid "View payment settings menu"
|
4632 |
msgstr ""
|
4633 |
|
4634 |
+
#: includes/functions.php:2928
|
4635 |
msgid "View shipping settings menu"
|
4636 |
msgstr ""
|
4637 |
|
4638 |
+
#: includes/functions.php:2929
|
4639 |
msgid "View social settings menu"
|
4640 |
msgstr ""
|
4641 |
|
4642 |
+
#: includes/functions.php:2930
|
4643 |
msgid "View seo settings menu"
|
4644 |
msgstr ""
|
4645 |
|
4646 |
+
#: includes/functions.php:2949 src/admin/pages/Dashboard.vue:106
|
4647 |
msgid "Overview"
|
4648 |
msgstr ""
|
4649 |
|
4650 |
+
#: includes/functions.php:2950
|
4651 |
msgid "Report"
|
4652 |
msgstr ""
|
4653 |
|
4654 |
+
#: includes/functions.php:2951 templates/dashboard/big-counter-widget.php:29
|
4655 |
#: templates/my-orders.php:27 templates/orders/details.php:21
|
4656 |
#: templates/orders/listing.php:51 templates/orders/listing.php:71
|
4657 |
#: templates/sub-orders.php:25
|
4658 |
msgid "Order"
|
4659 |
msgstr ""
|
4660 |
|
4661 |
+
#: includes/functions.php:2952
|
4662 |
msgid "Coupon"
|
4663 |
msgstr ""
|
4664 |
|
4665 |
+
#: includes/functions.php:2953
|
4666 |
msgid "Review"
|
4667 |
msgstr ""
|
4668 |
|
4669 |
+
#: includes/functions.php:2955 templates/emails/vendor-completed-order.php:46
|
4670 |
+
#: templates/emails/vendor-new-order.php:46
|
4671 |
msgid "Product"
|
4672 |
msgstr ""
|
4673 |
|
4674 |
+
#: includes/functions.php:2956
|
4675 |
msgid "Menu"
|
4676 |
msgstr ""
|
4677 |
|
4678 |
+
#: includes/functions.php:3133
|
4679 |
msgid "Saturday"
|
4680 |
msgstr ""
|
4681 |
|
4682 |
+
#: includes/functions.php:3136
|
4683 |
msgid "Sunday"
|
4684 |
msgstr ""
|
4685 |
|
4686 |
+
#: includes/functions.php:3139
|
4687 |
msgid "Monday"
|
4688 |
msgstr ""
|
4689 |
|
4690 |
+
#: includes/functions.php:3142
|
4691 |
msgid "Tuesday"
|
4692 |
msgstr ""
|
4693 |
|
4694 |
+
#: includes/functions.php:3145
|
4695 |
msgid "Wednesday"
|
4696 |
msgstr ""
|
4697 |
|
4698 |
+
#: includes/functions.php:3148
|
4699 |
msgid "Thursday"
|
4700 |
msgstr ""
|
4701 |
|
4702 |
+
#: includes/functions.php:3151
|
4703 |
msgid "Friday"
|
4704 |
msgstr ""
|
4705 |
|
4706 |
+
#: includes/functions.php:3154
|
4707 |
msgid "Off Day"
|
4708 |
msgstr ""
|
4709 |
|
4710 |
+
#: includes/functions.php:3506
|
4711 |
msgid "privacy policy"
|
4712 |
msgstr ""
|
4713 |
|
4714 |
+
#: includes/functions.php:3551 src/admin/pages/VendorPaymentFields.vue:142
|
4715 |
#: src/admin/pages/VendorPaymentFields.vue:155
|
4716 |
msgid "Flat"
|
4717 |
msgstr ""
|
4718 |
|
4719 |
+
#: includes/functions.php:3552 src/admin/pages/VendorPaymentFields.vue:146
|
4720 |
msgid "Percentage"
|
4721 |
msgstr ""
|
4722 |
|
4723 |
+
#: includes/functions.php:3569
|
4724 |
msgid "Please Login to Continue"
|
4725 |
msgstr ""
|
4726 |
|
4727 |
+
#: includes/functions.php:3751
|
4728 |
msgid "Unable to fetch plugin information from wordpress.org for %s."
|
4729 |
msgstr ""
|
4730 |
|
4731 |
+
#: includes/functions.php:3763
|
4732 |
msgid "Unable to install %s from wordpress.org"
|
4733 |
msgstr ""
|
4734 |
|
4740 |
msgid "Sales"
|
4741 |
msgstr ""
|
4742 |
|
4743 |
+
#: includes/template-tags.php:119 includes/template-tags.php:123
|
4744 |
#: templates/store-lists-loop.php:116
|
4745 |
msgid "← Previous"
|
4746 |
msgstr ""
|
4747 |
|
4748 |
+
#: includes/template-tags.php:135 templates/store-lists-loop.php:117
|
4749 |
msgid "Next →"
|
4750 |
msgstr ""
|
4751 |
|
4752 |
+
#: includes/template-tags.php:156
|
4753 |
msgid "Product succesfully deleted"
|
4754 |
msgstr ""
|
4755 |
|
4756 |
+
#: includes/template-tags.php:228
|
4757 |
#: templates/products/listing-status-filter.php:13
|
4758 |
#. translators: %d : order count total
|
4759 |
msgid "All (%d)"
|
4760 |
msgstr ""
|
4761 |
|
4762 |
+
#: includes/template-tags.php:246
|
4763 |
#. translators: %d : order count completed status
|
4764 |
msgid "Completed (%d)"
|
4765 |
msgstr ""
|
4766 |
|
4767 |
+
#: includes/template-tags.php:264
|
4768 |
#. translators: %d : order count processing status
|
4769 |
msgid "Processing (%d)"
|
4770 |
msgstr ""
|
4771 |
|
4772 |
+
#: includes/template-tags.php:282
|
4773 |
#. translators: %d : order count on hold status
|
4774 |
msgid "On-hold (%d)"
|
4775 |
msgstr ""
|
4776 |
|
4777 |
+
#: includes/template-tags.php:300
|
4778 |
#. translators: %d : order count pending status
|
4779 |
msgid "Pending (%d)"
|
4780 |
msgstr ""
|
4781 |
|
4782 |
+
#: includes/template-tags.php:318
|
4783 |
#. translators: %d : order count cancelled status
|
4784 |
msgid "Cancelled (%d)"
|
4785 |
msgstr ""
|
4786 |
|
4787 |
+
#: includes/template-tags.php:336
|
4788 |
#. translators: %d : order count refunded status
|
4789 |
msgid "Refunded (%d)"
|
4790 |
msgstr ""
|
4791 |
|
4792 |
+
#: includes/template-tags.php:355
|
4793 |
#. translators: %d : order count failed status
|
4794 |
msgid "Failed (%d)"
|
4795 |
msgstr ""
|
4796 |
|
4797 |
+
#: includes/template-tags.php:421
|
4798 |
msgid "Back to Dashboard"
|
4799 |
msgstr ""
|
4800 |
|
4801 |
+
#: includes/template-tags.php:551 templates/settings/header.php:14
|
4802 |
#: templates/store-lists-loop.php:92
|
4803 |
msgid "Visit Store"
|
4804 |
msgstr ""
|
4805 |
|
4806 |
+
#: includes/template-tags.php:552 templates/global/header-menu.php:48
|
4807 |
msgid "Edit Account"
|
4808 |
msgstr ""
|
4809 |
|
4810 |
+
#: includes/template-tags.php:553
|
4811 |
msgid "Log out"
|
4812 |
msgstr ""
|
4813 |
|
4814 |
+
#: includes/wc-functions.php:393
|
4815 |
msgid "Product SKU must be unique"
|
4816 |
msgstr ""
|
4817 |
|
4818 |
+
#: includes/wc-functions.php:764
|
4819 |
msgid "Your {site_title} order receipt from {order_date}"
|
4820 |
msgstr ""
|
4821 |
|
4822 |
+
#: includes/wc-functions.php:765
|
4823 |
msgid "Your {site_title} order from {order_date} is complete"
|
4824 |
msgstr ""
|
4825 |
|
4826 |
+
#: includes/wc-functions.php:877 src/admin/pages/VendorAccountFields.vue:33
|
4827 |
#: src/admin/pages/VendorAccountFields.vue:34
|
4828 |
#: templates/account/vendor-registration.php:9
|
4829 |
#: templates/global/seller-registration-form.php:13
|
4830 |
msgid "First Name"
|
4831 |
msgstr ""
|
4832 |
|
4833 |
+
#: includes/wc-functions.php:878 src/admin/pages/VendorAccountFields.vue:38
|
4834 |
#: src/admin/pages/VendorAccountFields.vue:39
|
4835 |
#: templates/account/vendor-registration.php:14
|
4836 |
#: templates/global/seller-registration-form.php:18
|
4837 |
msgid "Last Name"
|
4838 |
msgstr ""
|
4839 |
|
4840 |
+
#: includes/wc-functions.php:879 templates/account/vendor-registration.php:27
|
4841 |
#: templates/dashboard/edit-account.php:65
|
4842 |
msgid "Email address"
|
4843 |
msgstr ""
|
4844 |
|
4845 |
+
#: includes/wc-functions.php:885
|
4846 |
msgid "is a required field."
|
4847 |
msgstr ""
|
4848 |
|
4849 |
+
#: includes/wc-functions.php:891
|
4850 |
msgid "Please provide a valid email address."
|
4851 |
msgstr ""
|
4852 |
|
4853 |
+
#: includes/wc-functions.php:893
|
4854 |
msgid "This email address is already registered."
|
4855 |
msgstr ""
|
4856 |
|
4857 |
+
#: includes/wc-functions.php:899
|
4858 |
msgid "Your current password is incorrect."
|
4859 |
msgstr ""
|
4860 |
|
4861 |
+
#: includes/wc-functions.php:904
|
4862 |
msgid "Please fill out all password fields."
|
4863 |
msgstr ""
|
4864 |
|
4865 |
+
#: includes/wc-functions.php:907
|
4866 |
msgid "Please enter your current password."
|
4867 |
msgstr ""
|
4868 |
|
4869 |
+
#: includes/wc-functions.php:910
|
4870 |
msgid "Please re-enter your password."
|
4871 |
msgstr ""
|
4872 |
|
4873 |
+
#: includes/wc-functions.php:913
|
4874 |
msgid "New passwords do not match."
|
4875 |
msgstr ""
|
4876 |
|
4877 |
+
#: includes/wc-functions.php:933
|
4878 |
msgid "Account details changed successfully."
|
4879 |
msgstr ""
|
4880 |
|
4881 |
+
#: includes/wc-functions.php:1020
|
4882 |
msgid "More Products"
|
4883 |
msgstr ""
|
4884 |
|
4885 |
+
#: includes/wc-functions.php:1074
|
4886 |
msgid "No product has been found!"
|
4887 |
msgstr ""
|
4888 |
|
5068 |
msgid "Payment Options"
|
5069 |
msgstr ""
|
5070 |
|
5071 |
+
#: src/admin/pages/AddVendor.vue:173
|
5072 |
msgid "Vendor Created"
|
5073 |
msgstr ""
|
5074 |
|
5075 |
+
#: src/admin/pages/AddVendor.vue:174
|
5076 |
msgid "A vendor has been created successfully!"
|
5077 |
msgstr ""
|
5078 |
|
5079 |
+
#: src/admin/pages/AddVendor.vue:177
|
5080 |
msgid "Add Another"
|
5081 |
msgstr ""
|
5082 |
|
5083 |
+
#: src/admin/pages/AddVendor.vue:178
|
5084 |
msgid "Edit Vendor"
|
5085 |
msgstr ""
|
5086 |
|
5805 |
#: src/admin/pages/VendorSocialFields.vue:32
|
5806 |
#: src/admin/pages/VendorSocialFields.vue:37
|
5807 |
#: src/admin/pages/VendorSocialFields.vue:42
|
|
|
5808 |
msgid "https://example.com"
|
5809 |
msgstr ""
|
5810 |
|
|
|
|
|
|
|
|
|
5811 |
#: src/admin/pages/Vendors.vue:7
|
5812 |
msgid "Add New"
|
5813 |
msgstr ""
|
6106 |
|
6107 |
#: templates/dashboard/big-counter-widget.php:21
|
6108 |
#: templates/orders/listing.php:53 templates/orders/listing.php:83
|
6109 |
+
#: templates/products/products-listing-row.php:91
|
6110 |
#: templates/products/products-listing.php:102
|
6111 |
msgid "Earning"
|
6112 |
msgstr ""
|
6277 |
msgid "has been approved by one of our admin, congrats!"
|
6278 |
msgstr ""
|
6279 |
|
6280 |
+
#: templates/emails/plain/vendor-completed-order.php:16
|
6281 |
+
#: templates/emails/vendor-completed-order.php:31
|
6282 |
+
msgid "You have received complete order from %s."
|
6283 |
+
msgstr ""
|
6284 |
+
|
6285 |
#: templates/emails/plain/vendor-new-order.php:16
|
6286 |
#: templates/emails/vendor-new-order.php:31
|
6287 |
msgid "You have received an order from %s."
|
6330 |
msgid "To Edit product click : <a href=\"%s\">here</a>"
|
6331 |
msgstr ""
|
6332 |
|
6333 |
+
#: templates/emails/vendor-completed-order.php:38
|
6334 |
#: templates/emails/vendor-new-order.php:38
|
6335 |
#. translators: %s: Order ID.
|
6336 |
msgid "[Order #%s]"
|
6337 |
msgstr ""
|
6338 |
|
6339 |
+
#: templates/emails/vendor-completed-order.php:47
|
6340 |
#: templates/emails/vendor-new-order.php:47
|
6341 |
msgid "Quantity"
|
6342 |
msgstr ""
|
6343 |
|
6344 |
+
#: templates/emails/vendor-completed-order.php:48
|
6345 |
#: templates/emails/vendor-new-order.php:48
|
6346 |
#: templates/products/new-product-single.php:195
|
6347 |
#: templates/products/new-product.php:156
|
6348 |
+
#: templates/products/products-listing-row.php:82
|
6349 |
#: templates/products/products-listing.php:101
|
6350 |
#: templates/products/tmpl-add-product-popup.php:55
|
6351 |
msgid "Price"
|
6352 |
msgstr ""
|
6353 |
|
6354 |
+
#: templates/emails/vendor-completed-order.php:84
|
6355 |
#: templates/emails/vendor-new-order.php:84 templates/sub-orders.php:16
|
6356 |
msgid "Note:"
|
6357 |
msgstr ""
|
6479 |
|
6480 |
#: templates/my-orders.php:28 templates/orders/listing.php:56
|
6481 |
#: templates/orders/listing.php:111
|
6482 |
+
#: templates/products/products-listing-row.php:127
|
6483 |
#: templates/products/products-listing.php:105 templates/sub-orders.php:26
|
6484 |
#: templates/withdraw/approved-request-listing.php:16
|
6485 |
#: templates/withdraw/cancelled-request-listing.php:16
|
6639 |
msgid "Date Shipped"
|
6640 |
msgstr ""
|
6641 |
|
6642 |
+
#: templates/orders/details.php:355
|
6643 |
msgid "Add Tracking Details"
|
6644 |
msgstr ""
|
6645 |
|
6677 |
msgstr ""
|
6678 |
|
6679 |
#: templates/orders/listing.php:114
|
6680 |
+
#: templates/products/products-listing-row.php:130
|
6681 |
msgid "Unpublished"
|
6682 |
msgstr ""
|
6683 |
|
6684 |
#: templates/orders/listing.php:121
|
6685 |
+
#: templates/products/products-listing-row.php:140
|
6686 |
msgid "%s ago"
|
6687 |
msgstr ""
|
6688 |
|
6753 |
msgstr ""
|
6754 |
|
6755 |
#: templates/products/download-virtual.php:4
|
6756 |
+
#: templates/products/products-listing-row.php:112
|
6757 |
msgid "Downloadable"
|
6758 |
msgstr ""
|
6759 |
|
6762 |
msgstr ""
|
6763 |
|
6764 |
#: templates/products/download-virtual.php:9
|
6765 |
+
#: templates/products/products-listing-row.php:110
|
6766 |
msgid "Virtual"
|
6767 |
msgstr ""
|
6768 |
|
6783 |
msgstr ""
|
6784 |
|
6785 |
#: templates/products/downloadable.php:35
|
6786 |
+
#: templates/products/products-listing-row.php:43
|
6787 |
#: templates/products/products-listing.php:94
|
6788 |
msgid "Name"
|
6789 |
msgstr ""
|
6823 |
msgstr ""
|
6824 |
|
6825 |
#: templates/products/inventory.php:14
|
6826 |
+
#: templates/products/products-listing-row.php:64
|
6827 |
#: templates/products/products-listing.php:99
|
6828 |
msgid "SKU"
|
6829 |
msgstr ""
|
7108 |
msgid "Enable product reviews"
|
7109 |
msgstr ""
|
7110 |
|
7111 |
+
#: templates/products/products-listing-row.php:36
|
7112 |
#: templates/products/products-listing.php:93
|
7113 |
msgid "Image"
|
7114 |
msgstr ""
|
7115 |
|
7116 |
+
#: templates/products/products-listing-row.php:102
|
7117 |
#: templates/products/products-listing.php:103
|
7118 |
msgid "Type"
|
7119 |
msgstr ""
|
7120 |
|
7121 |
+
#: templates/products/products-listing-row.php:105
|
7122 |
msgid "Grouped"
|
7123 |
msgstr ""
|
7124 |
|
7125 |
+
#: templates/products/products-listing-row.php:107
|
7126 |
msgid "External/Affiliate"
|
7127 |
msgstr ""
|
7128 |
|
7129 |
+
#: templates/products/products-listing-row.php:114
|
7130 |
msgid "Simple"
|
7131 |
msgstr ""
|
7132 |
|
7133 |
+
#: templates/products/products-listing-row.php:117
|
7134 |
msgid "Variable"
|
7135 |
msgstr ""
|
7136 |
|
7137 |
+
#: templates/products/products-listing-row.php:124
|
7138 |
#: templates/products/products-listing.php:104
|
7139 |
msgid "Views"
|
7140 |
msgstr ""
|
7141 |
|
7142 |
+
#: templates/products/products-listing-row.php:133
|
7143 |
msgid "Y/m/d g:i:s A"
|
7144 |
msgstr ""
|
7145 |
|
7146 |
+
#: templates/products/products-listing-row.php:142
|
7147 |
msgid "Y/m/d"
|
7148 |
msgstr ""
|
7149 |
|
7150 |
+
#: templates/products/products-listing-row.php:152
|
7151 |
msgid "Published"
|
7152 |
msgstr ""
|
7153 |
|
7154 |
+
#: templates/products/products-listing-row.php:155
|
7155 |
msgid "Missed schedule"
|
7156 |
msgstr ""
|
7157 |
|
7158 |
+
#: templates/products/products-listing-row.php:160
|
7159 |
msgid "Last Modified"
|
7160 |
msgstr ""
|
7161 |
|
7394 |
msgid "<span> %s %s %s </span>"
|
7395 |
msgstr ""
|
7396 |
|
7397 |
+
#: templates/widgets/widget-content-product.php:47
|
7398 |
msgid "No products found"
|
7399 |
msgstr ""
|
7400 |
|
readme.txt
CHANGED
@@ -3,11 +3,11 @@ Contributors: tareq1988, wedevs, nizamuddinbabu
|
|
3 |
Donate Link: http://tareq.co/donate/
|
4 |
Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi seller store, multi-vendor, multi seller, commissions, multivendor, marketplace, product vendors, woocommerce vendor, commission rate, e-commerce, woocommerce, ebay, ecommerce, yith, yithemes
|
5 |
Requires at least: 4.4
|
6 |
-
Tested up to: 5.6.
|
7 |
WC requires at least: 3.0
|
8 |
WC tested up to: 5.0.0
|
9 |
Requires PHP: 5.6
|
10 |
-
Stable tag: 3.2.
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
@@ -292,36 +292,61 @@ A. Just install and activate the PRO version without deleting the free plugin. A
|
|
292 |
|
293 |
== Changelog ==
|
294 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
295 |
= v3.2.1 ( February 12, 2021 ) =
|
296 |
|
297 |
-
**fix:** Optimized code for better security
|
298 |
-
**update:** performance improvements on vendor dashboard end
|
299 |
-
**fix:** fixed conflict with user frontend menu position with Dokan
|
300 |
|
301 |
= v3.2.0 ( January 29, 2021 ) =
|
302 |
|
303 |
-
**new
|
304 |
-
**new
|
305 |
-
**new
|
306 |
-
**new
|
307 |
-
**new
|
308 |
-
**new
|
309 |
-
**update
|
310 |
-
**fix
|
311 |
-
**fix
|
312 |
-
**fix
|
313 |
-
**fix
|
314 |
-
**fix
|
315 |
-
**fix
|
316 |
-
**fix
|
317 |
-
**fix
|
318 |
-
**fix
|
319 |
-
**fix
|
320 |
-
**fix
|
321 |
-
**fix
|
322 |
-
**fix
|
323 |
-
**fix
|
324 |
-
**fix
|
325 |
|
326 |
= v3.1.2 ( January 12, 2021 ) =
|
327 |
|
3 |
Donate Link: http://tareq.co/donate/
|
4 |
Tags: WooCommerce multivendor marketplace, multi vendor marketplace, multi seller store, multi-vendor, multi seller, commissions, multivendor, marketplace, product vendors, woocommerce vendor, commission rate, e-commerce, woocommerce, ebay, ecommerce, yith, yithemes
|
5 |
Requires at least: 4.4
|
6 |
+
Tested up to: 5.6.2
|
7 |
WC requires at least: 3.0
|
8 |
WC tested up to: 5.0.0
|
9 |
Requires PHP: 5.6
|
10 |
+
Stable tag: 3.2.2
|
11 |
License: GPLv2 or later
|
12 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
13 |
|
292 |
|
293 |
== Changelog ==
|
294 |
|
295 |
+
= v3.2.2 ( March 5, 2021 ) =
|
296 |
+
|
297 |
+
- **new:** Added order completed email notification for vendors
|
298 |
+
- **new:** Added Vendor individual withdraw threshold option
|
299 |
+
- **new:** Added a new hook (dokan_admin_setup_wizard_save_step_setup_selling) after admin setup wizard save setup selling step
|
300 |
+
- **new:** Added a new action hook (dokan_create_sub_order_before_calculate_totals) when creating a suborder
|
301 |
+
- **update:** Added sales price validation check for subscription product
|
302 |
+
- **update:** Added a new filter hook (dokan_order_status_count) in order status to support custom order status
|
303 |
+
- **update:** WP kses added new allowed arguments for image tag
|
304 |
+
- **fix:** Product update and delete permission error via REST API
|
305 |
+
- **fix:** Fixed some PHP 8 warnings
|
306 |
+
- **fix:** Store settings error on save in vendor dashboard area
|
307 |
+
- **fix:** Order delivery tracking number wasn't saving as order notes
|
308 |
+
- **fix:** Export order by status on vendor dashboard issue fixed
|
309 |
+
- **fix:** Product discount price is set empty if regular price is lower than discount price
|
310 |
+
- **fix:** Fatal error on product tab's post per page in more products section
|
311 |
+
- **fix:** Store/products orderby query parameter
|
312 |
+
- **fix:** Dokan store open time timezone mismatch
|
313 |
+
- **fix:** Prices fields showing for external product
|
314 |
+
- **fix:** Unable to save stock value for variation product
|
315 |
+
- **fix:** Deprecated Gplus cleanup
|
316 |
+
- **fix:** Unable to save stock value for variation product
|
317 |
+
- **fix:** Different edit url for publish products in vendor dashbboard
|
318 |
+
- **fix:** SKU wasn't saving from vendor dashboard
|
319 |
+
|
320 |
= v3.2.1 ( February 12, 2021 ) =
|
321 |
|
322 |
+
- **fix:** Optimized code for better security
|
323 |
+
- **update:** performance improvements on vendor dashboard end
|
324 |
+
- **fix:** fixed conflict with user frontend menu position with Dokan
|
325 |
|
326 |
= v3.2.0 ( January 29, 2021 ) =
|
327 |
|
328 |
+
- **new:** Added blank product page new UI on vendor dashboard
|
329 |
+
- **new:** Added Store open and closed status on dokan store listing page
|
330 |
+
- **new:** Added a setting where admin can set how many products to display on vendor single store page
|
331 |
+
- **new:** Added a new validation message after upload a banner/profile picture, show a browser alert if user tries to leave the current page without saving the changes.
|
332 |
+
- **new:** Added a new update setting button on top of the vendor setting form
|
333 |
+
- **new:** Added downloadable and virtual product type support for subscription products
|
334 |
+
- **update:** Dokan withdrawal request promotion
|
335 |
+
- **fix:** While registering as a vendor, radio button should work only when user click mouse cursor on the top of the radio button.
|
336 |
+
- **fix:** Product add pop-up validation error message style
|
337 |
+
- **fix:** Vendor pending tab keeps loading issue fixed
|
338 |
+
- **fix:** Improved the mapbox address search input field and make it same as google map search box
|
339 |
+
- **fix:** Keep old vendor as product author while duplicating product from the admin area
|
340 |
+
- **fix:** Fixed rounded vendor balance can not be withdrawn
|
341 |
+
- **fix:** Fixed resetting geolocation address is not selecting default location address
|
342 |
+
- **fix:** Fixed featured attribute of the store list shortcode doesn't work
|
343 |
+
- **fix:** Fixed vendors count not working on autoload in admin vendor listing page
|
344 |
+
- **fix:** Fixed downloadable product "Grant Access" JS error
|
345 |
+
- **fix:** Added filter for $allowed_roles in vendor registration which was missing
|
346 |
+
- **fix:** If the vendor has a rounded value in their balance then vendors are unable to request a withdrawal of the full amount
|
347 |
+
- **fix:** When order data is retrieved via API, the "total" order value is gets rounded
|
348 |
+
- **fix:** Elementor conflict with Dokan best and top selling product shortcodes issue fixed
|
349 |
+
- **fix:** More product tab showing other vendors product issue fixed
|
350 |
|
351 |
= v3.1.2 ( January 12, 2021 ) =
|
352 |
|
templates/admin-setup-wizard/step-selling.php
CHANGED
@@ -32,7 +32,7 @@
|
|
32 |
<td>
|
33 |
<input type="text" class="location-input" id="admin_percentage" name="admin_percentage" value="<?php echo esc_attr( $admin_percentage ); ?>" />
|
34 |
<?php do_action( 'dokan_admin_setup_wizard_after_admin_commission' ); ?>
|
35 |
-
<p class="description"><?php esc_html_e( 'How much amount (%) you will get from each order', 'dokan-lite' ); ?></p>
|
36 |
</td>
|
37 |
</tr>
|
38 |
<tr>
|
32 |
<td>
|
33 |
<input type="text" class="location-input" id="admin_percentage" name="admin_percentage" value="<?php echo esc_attr( $admin_percentage ); ?>" />
|
34 |
<?php do_action( 'dokan_admin_setup_wizard_after_admin_commission' ); ?>
|
35 |
+
<p class="description combine-commission-description"><?php esc_html_e( 'How much amount (%) you will get from each order', 'dokan-lite' ); ?></p>
|
36 |
</td>
|
37 |
</tr>
|
38 |
<tr>
|
templates/emails/plain/vendor-completed-order.php
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Completed Order Email ( plain text )
|
4 |
+
*
|
5 |
+
* An email sent to the vendor when a order is completed.
|
6 |
+
*
|
7 |
+
* @class VendorCompletedOrder
|
8 |
+
* @version DOKAN_LITE_SINCE
|
9 |
+
*
|
10 |
+
*/
|
11 |
+
|
12 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
+
exit;
|
14 |
+
}
|
15 |
+
echo "= " . $email_heading . " =\n\n";
|
16 |
+
echo sprintf( __( 'You have received complete order from %s.', 'dokan-lite' ), $order->get_formatted_billing_full_name() ) . "\n\n";
|
17 |
+
echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
|
18 |
+
/**
|
19 |
+
* @hooked WC_Emails::customer_details() Shows customer details
|
20 |
+
* @hooked WC_Emails::email_address() Shows email address
|
21 |
+
*/
|
22 |
+
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
|
23 |
+
echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
|
24 |
+
echo apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) );
|
templates/emails/vendor-completed-order.php
ADDED
@@ -0,0 +1,111 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Completed Order Email.
|
4 |
+
*
|
5 |
+
* An email sent to the vendor when a order is completed.
|
6 |
+
*
|
7 |
+
* @class VendorCompletedOrder
|
8 |
+
* @version DOKAN_LITE_SINCE
|
9 |
+
*
|
10 |
+
*/
|
11 |
+
|
12 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
+
exit;
|
14 |
+
}
|
15 |
+
|
16 |
+
$text_align = is_rtl() ? 'right' : 'left';
|
17 |
+
|
18 |
+
/**
|
19 |
+
* @hooked WC_Emails::email_header() Output the email header
|
20 |
+
*/
|
21 |
+
do_action( 'woocommerce_email_header', $email_heading, $email );
|
22 |
+
|
23 |
+
$order_url = esc_url( add_query_arg( array(
|
24 |
+
'order_id' => $order->get_order_number(),
|
25 |
+
'_view_mode' => 'email',
|
26 |
+
'permission' => '1',
|
27 |
+
), dokan_get_navigation_url( 'orders' ) ) );
|
28 |
+
|
29 |
+
?>
|
30 |
+
|
31 |
+
<p><?php printf( __( 'You have received complete order from %s.', 'dokan-lite' ), $order->get_formatted_billing_full_name() ); ?></p>
|
32 |
+
|
33 |
+
<h2>
|
34 |
+
<?php
|
35 |
+
$before = '<a class="link" href="' . esc_url( $order_url ) . '">';
|
36 |
+
$after = '</a>';
|
37 |
+
/* translators: %s: Order ID. */
|
38 |
+
echo wp_kses_post( $before . sprintf( __( '[Order #%s]', 'dokan-lite' ) . $after . ' (<time datetime="%s">%s</time>)', $order->get_order_number(), $order->get_date_created()->format( 'c' ), wc_format_datetime( $order->get_date_created() ) ) );
|
39 |
+
?>
|
40 |
+
</h2>
|
41 |
+
|
42 |
+
<div style="margin-bottom: 40px;">
|
43 |
+
<table class="td" cellspacing="0" cellpadding="6" style="width: 100%; font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;" border="1">
|
44 |
+
<thead>
|
45 |
+
<tr>
|
46 |
+
<th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Product', 'dokan-lite' ); ?></th>
|
47 |
+
<th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Quantity', 'dokan-lite' ); ?></th>
|
48 |
+
<th class="td" scope="col" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Price', 'dokan-lite' ); ?></th>
|
49 |
+
</tr>
|
50 |
+
</thead>
|
51 |
+
<tbody>
|
52 |
+
<?php
|
53 |
+
echo wc_get_email_order_items( // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
54 |
+
$order,
|
55 |
+
array(
|
56 |
+
'show_sku' => $sent_to_admin,
|
57 |
+
'show_image' => false,
|
58 |
+
'image_size' => array( 32, 32 ),
|
59 |
+
'plain_text' => $plain_text,
|
60 |
+
'sent_to_admin' => $sent_to_admin,
|
61 |
+
)
|
62 |
+
);
|
63 |
+
?>
|
64 |
+
</tbody>
|
65 |
+
<tfoot>
|
66 |
+
<?php
|
67 |
+
$item_totals = $order->get_order_item_totals();
|
68 |
+
|
69 |
+
if ( $item_totals ) {
|
70 |
+
$i = 0;
|
71 |
+
foreach ( $item_totals as $total ) {
|
72 |
+
$i++;
|
73 |
+
?>
|
74 |
+
<tr>
|
75 |
+
<th class="td" scope="row" colspan="2" style="text-align:<?php echo esc_attr( $text_align ); ?>; <?php echo ( 1 === $i ) ? 'border-top-width: 4px;' : ''; ?>"><?php echo wp_kses_post( $total['label'] ); ?></th>
|
76 |
+
<td class="td" style="text-align:<?php echo esc_attr( $text_align ); ?>; <?php echo ( 1 === $i ) ? 'border-top-width: 4px;' : ''; ?>"><?php echo wp_kses_post( $total['value'] ); ?></td>
|
77 |
+
</tr>
|
78 |
+
<?php
|
79 |
+
}
|
80 |
+
}
|
81 |
+
if ( $order->get_customer_note() ) {
|
82 |
+
?>
|
83 |
+
<tr>
|
84 |
+
<th class="td" scope="row" colspan="2" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php esc_html_e( 'Note:', 'dokan-lite' ); ?></th>
|
85 |
+
<td class="td" style="text-align:<?php echo esc_attr( $text_align ); ?>;"><?php echo wp_kses_post( nl2br( wptexturize( $order->get_customer_note() ) ) ); ?></td>
|
86 |
+
</tr>
|
87 |
+
<?php
|
88 |
+
}
|
89 |
+
?>
|
90 |
+
</tfoot>
|
91 |
+
</table>
|
92 |
+
</div>
|
93 |
+
|
94 |
+
<?php
|
95 |
+
do_action( 'woocommerce_email_after_order_table', $order, $sent_to_admin, $plain_text, $email );
|
96 |
+
|
97 |
+
/*
|
98 |
+
* @hooked WC_Emails::order_meta() Shows order meta data.
|
99 |
+
*/
|
100 |
+
do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
|
101 |
+
|
102 |
+
/**
|
103 |
+
* @hooked WC_Emails::customer_details() Shows customer details
|
104 |
+
* @hooked WC_Emails::email_address() Shows email address
|
105 |
+
*/
|
106 |
+
do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
|
107 |
+
|
108 |
+
/**
|
109 |
+
* @hooked WC_Emails::email_footer() Output the email footer
|
110 |
+
*/
|
111 |
+
do_action( 'woocommerce_email_footer', $email );
|
templates/orders/details.php
CHANGED
@@ -347,9 +347,7 @@ $hide_customer_info = dokan_get_option( 'hide_customer_info', 'dokan_selling', '
|
|
347 |
<label class="dokan-control-label"><?php esc_html_e( 'Date Shipped', 'dokan-lite' ); ?></label>
|
348 |
<input type="text" name="shipped_date" id="shipped-date" class="dokan-form-control" value="" placeholder="<?php esc_attr_e( get_option( 'date_format' ), 'dokan-lite' ); ?>">
|
349 |
</div>
|
350 |
-
|
351 |
<input type="hidden" name="security" id="security" value="<?php echo esc_attr( wp_create_nonce('add-shipping-tracking-info' ) ); ?>">
|
352 |
-
<?php wp_nonce_field( 'dokan_security_action', 'dokan_security_nonce' ); ?>
|
353 |
<input type="hidden" name="post_id" id="post-id" value="<?php echo esc_attr( dokan_get_prop( $order, 'id' ) ); ?>">
|
354 |
<input type="hidden" name="action" id="action" value="dokan_add_shipping_tracking_info">
|
355 |
|
347 |
<label class="dokan-control-label"><?php esc_html_e( 'Date Shipped', 'dokan-lite' ); ?></label>
|
348 |
<input type="text" name="shipped_date" id="shipped-date" class="dokan-form-control" value="" placeholder="<?php esc_attr_e( get_option( 'date_format' ), 'dokan-lite' ); ?>">
|
349 |
</div>
|
|
|
350 |
<input type="hidden" name="security" id="security" value="<?php echo esc_attr( wp_create_nonce('add-shipping-tracking-info' ) ); ?>">
|
|
|
351 |
<input type="hidden" name="post_id" id="post-id" value="<?php echo esc_attr( dokan_get_prop( $order, 'id' ) ); ?>">
|
352 |
<input type="hidden" name="action" id="action" value="dokan_add_shipping_tracking_info">
|
353 |
|
templates/orders/order-item-html.php
CHANGED
@@ -3,11 +3,14 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|
3 |
|
4 |
$img_kses = apply_filters( 'dokan_product_image_attributes', array(
|
5 |
'img' => array(
|
6 |
-
'alt'
|
7 |
-
'class'
|
8 |
-
'height'
|
9 |
-
'src'
|
10 |
-
'width'
|
|
|
|
|
|
|
11 |
),
|
12 |
) );
|
13 |
|
3 |
|
4 |
$img_kses = apply_filters( 'dokan_product_image_attributes', array(
|
5 |
'img' => array(
|
6 |
+
'alt' => array(),
|
7 |
+
'class' => array(),
|
8 |
+
'height' => array(),
|
9 |
+
'src' => array(),
|
10 |
+
'width' => array(),
|
11 |
+
'srcset' => array(),
|
12 |
+
'data-srcset' => array(),
|
13 |
+
'data-src' => array(),
|
14 |
),
|
15 |
) );
|
16 |
|
templates/products/inventory.php
CHANGED
@@ -10,12 +10,12 @@
|
|
10 |
|
11 |
<div class="dokan-section-content">
|
12 |
|
13 |
-
<div class="content-half-part dokan-form-group
|
14 |
<label for="_sku" class="form-label"><?php esc_html_e( 'SKU', 'dokan-lite' ); ?> <span><?php esc_html_e( '(Stock Keeping Unit)', 'dokan-lite' ); ?></span></label>
|
15 |
<?php dokan_post_input_box( $post_id, '_sku' ); ?>
|
16 |
</div>
|
17 |
|
18 |
-
<div class="content-half-part hide_if_variable">
|
19 |
<label for="_stock_status" class="form-label"><?php esc_html_e( 'Stock Status', 'dokan-lite' ); ?></label>
|
20 |
|
21 |
<?php dokan_post_input_box( $post_id, '_stock_status', array( 'options' => array(
|
@@ -28,25 +28,25 @@
|
|
28 |
<div class="dokan-clearfix"></div>
|
29 |
|
30 |
<?php if ( 'yes' === get_option( 'woocommerce_manage_stock' ) ) : ?>
|
31 |
-
<div class="dokan-form-group
|
32 |
<?php dokan_post_input_box( $post_id, '_manage_stock', array( 'label' => __( 'Enable product stock management', 'dokan-lite' ) ), 'checkbox' ); ?>
|
33 |
</div>
|
34 |
|
35 |
<div class="show_if_stock dokan-stock-management-wrapper dokan-form-group dokan-clearfix">
|
36 |
|
37 |
-
<div class="content-half-part
|
38 |
<label for="_stock" class="form-label"><?php esc_html_e( 'Stock quantity', 'dokan-lite' ); ?></label>
|
39 |
<input type="number" class="dokan-form-control" name="_stock" placeholder="<?php esc_attr__( '1', 'dokan-lite' ); ?>" value="<?php echo esc_attr( wc_stock_amount( $_stock ) ); ?>" min="0" step="1">
|
40 |
</div>
|
41 |
|
42 |
<?php if ( version_compare( WC_VERSION, '3.4.7', '>' ) ) : ?>
|
43 |
-
<div class="content-half-part
|
44 |
<label for="_low_stock_amount" class="form-label"><?php esc_html_e( 'Low stock threshold', 'dokan-lite' ); ?></label>
|
45 |
<input type="number" class="dokan-form-control" name="_low_stock_amount" placeholder="<?php esc_attr__( '1', 'dokan-lite' ); ?>" value="<?php echo esc_attr( wc_stock_amount( $_low_stock_amount ) ); ?>" min="0" step="1">
|
46 |
</div>
|
47 |
<?php endif; ?>
|
48 |
|
49 |
-
<div class="content-half-part
|
50 |
<label for="_backorders" class="form-label"><?php esc_html_e( 'Allow Backorders', 'dokan-lite' ); ?></label>
|
51 |
|
52 |
<?php dokan_post_input_box( $post_id, '_backorders', array( 'options' => array(
|
@@ -59,7 +59,7 @@
|
|
59 |
</div><!-- .show_if_stock -->
|
60 |
<?php endif; ?>
|
61 |
|
62 |
-
<div class="dokan-form-group hide_if_grouped">
|
63 |
<label class="" for="_sold_individually">
|
64 |
<input name="_sold_individually" id="_sold_individually" value="yes" type="checkbox" <?php checked( $_sold_individually, 'yes' ); ?>>
|
65 |
<?php esc_html_e( 'Allow only one quantity of this product to be bought in a single order', 'dokan-lite' ) ?>
|
@@ -75,4 +75,4 @@
|
|
75 |
<?php do_action( 'dokan_single_product_edit_after_sidebar', $post, $post_id ); ?>
|
76 |
|
77 |
</div><!-- .dokan-side-right -->
|
78 |
-
</div><!-- .dokan-product-inventory -->
|
10 |
|
11 |
<div class="dokan-section-content">
|
12 |
|
13 |
+
<div class="content-half-part dokan-form-group">
|
14 |
<label for="_sku" class="form-label"><?php esc_html_e( 'SKU', 'dokan-lite' ); ?> <span><?php esc_html_e( '(Stock Keeping Unit)', 'dokan-lite' ); ?></span></label>
|
15 |
<?php dokan_post_input_box( $post_id, '_sku' ); ?>
|
16 |
</div>
|
17 |
|
18 |
+
<div class="content-half-part hide_if_variable hide_if_external">
|
19 |
<label for="_stock_status" class="form-label"><?php esc_html_e( 'Stock Status', 'dokan-lite' ); ?></label>
|
20 |
|
21 |
<?php dokan_post_input_box( $post_id, '_stock_status', array( 'options' => array(
|
28 |
<div class="dokan-clearfix"></div>
|
29 |
|
30 |
<?php if ( 'yes' === get_option( 'woocommerce_manage_stock' ) ) : ?>
|
31 |
+
<div class="dokan-form-group hide_if_grouped hide_if_external">
|
32 |
<?php dokan_post_input_box( $post_id, '_manage_stock', array( 'label' => __( 'Enable product stock management', 'dokan-lite' ) ), 'checkbox' ); ?>
|
33 |
</div>
|
34 |
|
35 |
<div class="show_if_stock dokan-stock-management-wrapper dokan-form-group dokan-clearfix">
|
36 |
|
37 |
+
<div class="content-half-part">
|
38 |
<label for="_stock" class="form-label"><?php esc_html_e( 'Stock quantity', 'dokan-lite' ); ?></label>
|
39 |
<input type="number" class="dokan-form-control" name="_stock" placeholder="<?php esc_attr__( '1', 'dokan-lite' ); ?>" value="<?php echo esc_attr( wc_stock_amount( $_stock ) ); ?>" min="0" step="1">
|
40 |
</div>
|
41 |
|
42 |
<?php if ( version_compare( WC_VERSION, '3.4.7', '>' ) ) : ?>
|
43 |
+
<div class="content-half-part">
|
44 |
<label for="_low_stock_amount" class="form-label"><?php esc_html_e( 'Low stock threshold', 'dokan-lite' ); ?></label>
|
45 |
<input type="number" class="dokan-form-control" name="_low_stock_amount" placeholder="<?php esc_attr__( '1', 'dokan-lite' ); ?>" value="<?php echo esc_attr( wc_stock_amount( $_low_stock_amount ) ); ?>" min="0" step="1">
|
46 |
</div>
|
47 |
<?php endif; ?>
|
48 |
|
49 |
+
<div class="content-half-part last-child">
|
50 |
<label for="_backorders" class="form-label"><?php esc_html_e( 'Allow Backorders', 'dokan-lite' ); ?></label>
|
51 |
|
52 |
<?php dokan_post_input_box( $post_id, '_backorders', array( 'options' => array(
|
59 |
</div><!-- .show_if_stock -->
|
60 |
<?php endif; ?>
|
61 |
|
62 |
+
<div class="dokan-form-group hide_if_grouped hide_if_external">
|
63 |
<label class="" for="_sold_individually">
|
64 |
<input name="_sold_individually" id="_sold_individually" value="yes" type="checkbox" <?php checked( $_sold_individually, 'yes' ); ?>>
|
65 |
<?php esc_html_e( 'Allow only one quantity of this product to be bought in a single order', 'dokan-lite' ) ?>
|
75 |
<?php do_action( 'dokan_single_product_edit_after_sidebar', $post, $post_id ); ?>
|
76 |
|
77 |
</div><!-- .dokan-side-right -->
|
78 |
+
</div><!-- .dokan-product-inventory -->
|
templates/products/new-product-single.php
CHANGED
@@ -187,7 +187,7 @@ do_action( 'dokan_dashboard_wrap_before', $post, $post_id );
|
|
187 |
|
188 |
<?php do_action( 'dokan_product_edit_after_title', $post, $post_id ); ?>
|
189 |
|
190 |
-
<div class="show_if_simple dokan-clearfix">
|
191 |
|
192 |
<div class="dokan-form-group dokan-clearfix dokan-price-container">
|
193 |
|
187 |
|
188 |
<?php do_action( 'dokan_product_edit_after_title', $post, $post_id ); ?>
|
189 |
|
190 |
+
<div class="show_if_simple dokan-clearfix show_if_external">
|
191 |
|
192 |
<div class="dokan-form-group dokan-clearfix dokan-price-container">
|
193 |
|
templates/products/products-listing-row.php
CHANGED
@@ -1,11 +1,14 @@
|
|
1 |
<?php
|
2 |
$img_kses = apply_filters( 'dokan_product_image_attributes', [
|
3 |
'img' => [
|
4 |
-
'alt'
|
5 |
-
'class'
|
6 |
-
'height'
|
7 |
-
'src'
|
8 |
-
'width'
|
|
|
|
|
|
|
9 |
],
|
10 |
] );
|
11 |
|
1 |
<?php
|
2 |
$img_kses = apply_filters( 'dokan_product_image_attributes', [
|
3 |
'img' => [
|
4 |
+
'alt' => [],
|
5 |
+
'class' => [],
|
6 |
+
'height' => [],
|
7 |
+
'src' => [],
|
8 |
+
'width' => [],
|
9 |
+
'srcset' => [],
|
10 |
+
'data-srcset' => [],
|
11 |
+
'data-src' => [],
|
12 |
],
|
13 |
] );
|
14 |
|
templates/widgets/widget-content-product.php
CHANGED
@@ -9,11 +9,14 @@
|
|
9 |
|
10 |
$img_kses = apply_filters( 'dokan_product_image_attributes', array(
|
11 |
'img' => array(
|
12 |
-
'alt'
|
13 |
-
'class'
|
14 |
-
'height'
|
15 |
-
'src'
|
16 |
-
'width'
|
|
|
|
|
|
|
17 |
),
|
18 |
) );
|
19 |
|
9 |
|
10 |
$img_kses = apply_filters( 'dokan_product_image_attributes', array(
|
11 |
'img' => array(
|
12 |
+
'alt' => array(),
|
13 |
+
'class' => array(),
|
14 |
+
'height' => array(),
|
15 |
+
'src' => array(),
|
16 |
+
'width' => array(),
|
17 |
+
'srcset' => array(),
|
18 |
+
'data-srcset' => array(),
|
19 |
+
'data-src' => array(),
|
20 |
),
|
21 |
) );
|
22 |
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitd266d3dd719d1da851343c025b8af068::getLoader();
|
vendor/composer/autoload_classmap.php
CHANGED
@@ -49,6 +49,7 @@ return array(
|
|
49 |
'WeDevs\\Dokan\\Emails\\NewProductPending' => $baseDir . '/includes/Emails/NewProductPending.php',
|
50 |
'WeDevs\\Dokan\\Emails\\NewSeller' => $baseDir . '/includes/Emails/NewSeller.php',
|
51 |
'WeDevs\\Dokan\\Emails\\ProductPublished' => $baseDir . '/includes/Emails/ProductPublished.php',
|
|
|
52 |
'WeDevs\\Dokan\\Emails\\VendorNewOrder' => $baseDir . '/includes/Emails/VendorNewOrder.php',
|
53 |
'WeDevs\\Dokan\\Emails\\VendorWithdrawRequest' => $baseDir . '/includes/Emails/VendorWithdrawRequest.php',
|
54 |
'WeDevs\\Dokan\\Emails\\WithdrawApproved' => $baseDir . '/includes/Emails/WithdrawApproved.php',
|
49 |
'WeDevs\\Dokan\\Emails\\NewProductPending' => $baseDir . '/includes/Emails/NewProductPending.php',
|
50 |
'WeDevs\\Dokan\\Emails\\NewSeller' => $baseDir . '/includes/Emails/NewSeller.php',
|
51 |
'WeDevs\\Dokan\\Emails\\ProductPublished' => $baseDir . '/includes/Emails/ProductPublished.php',
|
52 |
+
'WeDevs\\Dokan\\Emails\\VendorCompletedOrder' => $baseDir . '/includes/Emails/VendorCompletedOrder.php',
|
53 |
'WeDevs\\Dokan\\Emails\\VendorNewOrder' => $baseDir . '/includes/Emails/VendorNewOrder.php',
|
54 |
'WeDevs\\Dokan\\Emails\\VendorWithdrawRequest' => $baseDir . '/includes/Emails/VendorWithdrawRequest.php',
|
55 |
'WeDevs\\Dokan\\Emails\\WithdrawApproved' => $baseDir . '/includes/Emails/WithdrawApproved.php',
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit82f7e385b23360c9340decd913dd4d9d
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitd266d3dd719d1da851343c025b8af068
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInitd266d3dd719d1da851343c025b8af068', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitd266d3dd719d1da851343c025b8af068', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitd266d3dd719d1da851343c025b8af068::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
@@ -72,6 +72,7 @@ class ComposerStaticInit82f7e385b23360c9340decd913dd4d9d
|
|
72 |
'WeDevs\\Dokan\\Emails\\NewProductPending' => __DIR__ . '/../..' . '/includes/Emails/NewProductPending.php',
|
73 |
'WeDevs\\Dokan\\Emails\\NewSeller' => __DIR__ . '/../..' . '/includes/Emails/NewSeller.php',
|
74 |
'WeDevs\\Dokan\\Emails\\ProductPublished' => __DIR__ . '/../..' . '/includes/Emails/ProductPublished.php',
|
|
|
75 |
'WeDevs\\Dokan\\Emails\\VendorNewOrder' => __DIR__ . '/../..' . '/includes/Emails/VendorNewOrder.php',
|
76 |
'WeDevs\\Dokan\\Emails\\VendorWithdrawRequest' => __DIR__ . '/../..' . '/includes/Emails/VendorWithdrawRequest.php',
|
77 |
'WeDevs\\Dokan\\Emails\\WithdrawApproved' => __DIR__ . '/../..' . '/includes/Emails/WithdrawApproved.php',
|
@@ -177,9 +178,9 @@ class ComposerStaticInit82f7e385b23360c9340decd913dd4d9d
|
|
177 |
public static function getInitializer(ClassLoader $loader)
|
178 |
{
|
179 |
return \Closure::bind(function () use ($loader) {
|
180 |
-
$loader->prefixLengthsPsr4 =
|
181 |
-
$loader->prefixDirsPsr4 =
|
182 |
-
$loader->classMap =
|
183 |
|
184 |
}, null, ClassLoader::class);
|
185 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInitd266d3dd719d1da851343c025b8af068
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'W' =>
|
72 |
'WeDevs\\Dokan\\Emails\\NewProductPending' => __DIR__ . '/../..' . '/includes/Emails/NewProductPending.php',
|
73 |
'WeDevs\\Dokan\\Emails\\NewSeller' => __DIR__ . '/../..' . '/includes/Emails/NewSeller.php',
|
74 |
'WeDevs\\Dokan\\Emails\\ProductPublished' => __DIR__ . '/../..' . '/includes/Emails/ProductPublished.php',
|
75 |
+
'WeDevs\\Dokan\\Emails\\VendorCompletedOrder' => __DIR__ . '/../..' . '/includes/Emails/VendorCompletedOrder.php',
|
76 |
'WeDevs\\Dokan\\Emails\\VendorNewOrder' => __DIR__ . '/../..' . '/includes/Emails/VendorNewOrder.php',
|
77 |
'WeDevs\\Dokan\\Emails\\VendorWithdrawRequest' => __DIR__ . '/../..' . '/includes/Emails/VendorWithdrawRequest.php',
|
78 |
'WeDevs\\Dokan\\Emails\\WithdrawApproved' => __DIR__ . '/../..' . '/includes/Emails/WithdrawApproved.php',
|
178 |
public static function getInitializer(ClassLoader $loader)
|
179 |
{
|
180 |
return \Closure::bind(function () use ($loader) {
|
181 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitd266d3dd719d1da851343c025b8af068::$prefixLengthsPsr4;
|
182 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitd266d3dd719d1da851343c025b8af068::$prefixDirsPsr4;
|
183 |
+
$loader->classMap = ComposerStaticInitd266d3dd719d1da851343c025b8af068::$classMap;
|
184 |
|
185 |
}, null, ClassLoader::class);
|
186 |
}
|